diff --git a/builder/Dockerfile b/builder/Dockerfile index 2ac2f4c3c563..6f7bf98a9d9e 100644 --- a/builder/Dockerfile +++ b/builder/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.18.1 +FROM golang:1.19 LABEL maintainer="Marcin Wielgus " ENV GOPATH /gopath/ diff --git a/cluster-autoscaler/cloudprovider/alicloud/alicloud_auto_scaling.go b/cluster-autoscaler/cloudprovider/alicloud/alicloud_auto_scaling.go index 7ca40574ab8b..8ccadf572478 100644 --- a/cluster-autoscaler/cloudprovider/alicloud/alicloud_auto_scaling.go +++ b/cluster-autoscaler/cloudprovider/alicloud/alicloud_auto_scaling.go @@ -30,7 +30,7 @@ const ( defaultAdjustmentType = "TotalCapacity" ) -//autoScaling define the interface usage in alibaba-cloud-sdk-go. +// autoScaling define the interface usage in alibaba-cloud-sdk-go. type autoScaling interface { DescribeScalingGroups(req *ess.DescribeScalingGroupsRequest) (*ess.DescribeScalingGroupsResponse, error) DescribeScalingConfigurations(req *ess.DescribeScalingConfigurationsRequest) (*ess.DescribeScalingConfigurationsResponse, error) @@ -95,7 +95,7 @@ func getEssClient(cfg *cloudConfig) (client *ess.Client, err error) { return } -//autoScalingWrapper will serve as the +// autoScalingWrapper will serve as the type autoScalingWrapper struct { autoScaling cfg *cloudConfig diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/awserr/error.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/awserr/error.go index 99849c0e19c0..1e876ffe8f2c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/awserr/error.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/awserr/error.go @@ -10,24 +10,23 @@ package awserr // // Example: // -// output, err := s3manage.Upload(svc, input, opts) -// if err != nil { -// if awsErr, ok := err.(awserr.Error); ok { -// // Get error details -// log.Println("Error:", awsErr.Code(), awsErr.Message()) -// -// // Prints out full error message, including original error if there was one. -// log.Println("Error:", awsErr.Error()) -// -// // Get original error -// if origErr := awsErr.OrigErr(); origErr != nil { -// // operate on original error. -// } -// } else { -// fmt.Println(err.Error()) -// } -// } -// +// output, err := s3manage.Upload(svc, input, opts) +// if err != nil { +// if awsErr, ok := err.(awserr.Error); ok { +// // Get error details +// log.Println("Error:", awsErr.Code(), awsErr.Message()) +// +// // Prints out full error message, including original error if there was one. +// log.Println("Error:", awsErr.Error()) +// +// // Get original error +// if origErr := awsErr.OrigErr(); origErr != nil { +// // operate on original error. +// } +// } else { +// fmt.Println(err.Error()) +// } +// } type Error interface { // Satisfy the generic error interface. error @@ -100,32 +99,31 @@ func NewBatchError(code, message string, errs []error) BatchedErrors { // // Example: // -// output, err := s3manage.Upload(svc, input, opts) -// if err != nil { -// if reqerr, ok := err.(RequestFailure); ok { -// log.Println("Request failed", reqerr.Code(), reqerr.Message(), reqerr.RequestID()) -// } else { -// log.Println("Error:", err.Error()) -// } -// } +// output, err := s3manage.Upload(svc, input, opts) +// if err != nil { +// if reqerr, ok := err.(RequestFailure); ok { +// log.Println("Request failed", reqerr.Code(), reqerr.Message(), reqerr.RequestID()) +// } else { +// log.Println("Error:", err.Error()) +// } +// } // // Combined with awserr.Error: // -// output, err := s3manage.Upload(svc, input, opts) -// if err != nil { -// if awsErr, ok := err.(awserr.Error); ok { -// // Generic AWS Error with Code, Message, and original error (if any) -// fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr()) -// -// if reqErr, ok := err.(awserr.RequestFailure); ok { -// // A service error occurred -// fmt.Println(reqErr.StatusCode(), reqErr.RequestID()) -// } -// } else { -// fmt.Println(err.Error()) -// } -// } -// +// output, err := s3manage.Upload(svc, input, opts) +// if err != nil { +// if awsErr, ok := err.(awserr.Error); ok { +// // Generic AWS Error with Code, Message, and original error (if any) +// fmt.Println(awsErr.Code(), awsErr.Message(), awsErr.OrigErr()) +// +// if reqErr, ok := err.(awserr.RequestFailure); ok { +// // A service error occurred +// fmt.Println(reqErr.StatusCode(), reqErr.RequestID()) +// } +// } else { +// fmt.Println(err.Error()) +// } +// } type RequestFailure interface { Error diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/client/default_retryer.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/client/default_retryer.go index 4d2f7d7b100d..784a0144f0d9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/client/default_retryer.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/client/default_retryer.go @@ -12,7 +12,6 @@ import ( // DefaultRetryer implements basic retry logic using exponential backoff for // most services. If you want to implement custom retry logic, you can implement the // request.Retryer interface. -// type DefaultRetryer struct { // Num max Retries is the number of max retries that will be performed. // By default, this is zero. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/config.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/config.go index 026ec4c06912..b32a18aae1a1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/config.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/config.go @@ -20,16 +20,16 @@ type RequestRetryer interface{} // A Config provides service configuration for service clients. By default, // all clients will use the defaults.DefaultConfig structure. // -// // Create Session with MaxRetries configuration to be shared by multiple -// // service clients. -// sess := session.Must(session.NewSession(&aws.Config{ -// MaxRetries: aws.Int(3), -// })) +// // Create Session with MaxRetries configuration to be shared by multiple +// // service clients. +// sess := session.Must(session.NewSession(&aws.Config{ +// MaxRetries: aws.Int(3), +// })) // -// // Create S3 service client with a specific Region. -// svc := s3.New(sess, &aws.Config{ -// Region: aws.String("us-west-2"), -// }) +// // Create S3 service client with a specific Region. +// svc := s3.New(sess, &aws.Config{ +// Region: aws.String("us-west-2"), +// }) type Config struct { // Enables verbose error printing of all credential chain errors. // Should be used when wanting to see all errors while attempting to @@ -283,16 +283,16 @@ type Config struct { // NewConfig returns a new Config pointer that can be chained with builder // methods to set multiple configuration values inline without using pointers. // -// // Create Session with MaxRetries configuration to be shared by multiple -// // service clients. -// sess := session.Must(session.NewSession(aws.NewConfig(). -// WithMaxRetries(3), -// )) +// // Create Session with MaxRetries configuration to be shared by multiple +// // service clients. +// sess := session.Must(session.NewSession(aws.NewConfig(). +// WithMaxRetries(3), +// )) // -// // Create S3 service client with a specific Region. -// svc := s3.New(sess, aws.NewConfig(). -// WithRegion("us-west-2"), -// ) +// // Create S3 service client with a specific Region. +// svc := s3.New(sess, aws.NewConfig(). +// WithRegion("us-west-2"), +// ) func NewConfig() *Config { return &Config{} } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/chain_provider.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/chain_provider.go index 3348aed28124..28bad8364a97 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/chain_provider.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/chain_provider.go @@ -37,19 +37,18 @@ var ( // does not return any credentials ChainProvider will return the error // ErrNoValidProvidersFoundInChain // -// creds := credentials.NewChainCredentials( -// []credentials.Provider{ -// &credentials.EnvProvider{}, -// &ec2rolecreds.EC2RoleProvider{ -// Client: ec2metadata.New(sess), -// }, -// }) -// -// // Usage of ChainCredentials with aws.Config -// svc := ec2.New(session.Must(session.NewSession(&aws.Config{ -// Credentials: creds, -// }))) +// creds := credentials.NewChainCredentials( +// []credentials.Provider{ +// &credentials.EnvProvider{}, +// &ec2rolecreds.EC2RoleProvider{ +// Client: ec2metadata.New(sess), +// }, +// }) // +// // Usage of ChainCredentials with aws.Config +// svc := ec2.New(session.Must(session.NewSession(&aws.Config{ +// Credentials: creds, +// }))) type ChainProvider struct { Providers []Provider curr Provider diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/credentials.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/credentials.go index 89a733428b88..74f204d27a0a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/credentials.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/credentials.go @@ -14,38 +14,36 @@ // // Example of using the environment variable credentials. // -// creds := credentials.NewEnvCredentials() +// creds := credentials.NewEnvCredentials() // -// // Retrieve the credentials value -// credValue, err := creds.Get() -// if err != nil { -// // handle error -// } +// // Retrieve the credentials value +// credValue, err := creds.Get() +// if err != nil { +// // handle error +// } // // Example of forcing credentials to expire and be refreshed on the next Get(). // This may be helpful to proactively expire credentials and refresh them sooner // than they would naturally expire on their own. // -// creds := credentials.NewCredentials(&ec2rolecreds.EC2RoleProvider{}) -// creds.Expire() -// credsValue, err := creds.Get() -// // New credentials will be retrieved instead of from cache. +// creds := credentials.NewCredentials(&ec2rolecreds.EC2RoleProvider{}) +// creds.Expire() +// credsValue, err := creds.Get() +// // New credentials will be retrieved instead of from cache. // -// -// Custom Provider +// # Custom Provider // // Each Provider built into this package also provides a helper method to generate // a Credentials pointer setup with the provider. To use a custom Provider just // create a type which satisfies the Provider interface and pass it to the // NewCredentials method. // -// type MyProvider struct{} -// func (m *MyProvider) Retrieve() (Value, error) {...} -// func (m *MyProvider) IsExpired() bool {...} -// -// creds := credentials.NewCredentials(&MyProvider{}) -// credValue, err := creds.Get() +// type MyProvider struct{} +// func (m *MyProvider) Retrieve() (Value, error) {...} +// func (m *MyProvider) IsExpired() bool {...} // +// creds := credentials.NewCredentials(&MyProvider{}) +// credValue, err := creds.Get() package credentials import ( @@ -64,10 +62,10 @@ import ( // when making service API calls. For example, when accessing public // s3 buckets. // -// svc := s3.New(session.Must(session.NewSession(&aws.Config{ -// Credentials: credentials.AnonymousCredentials, -// }))) -// // Access public S3 buckets. +// svc := s3.New(session.Must(session.NewSession(&aws.Config{ +// Credentials: credentials.AnonymousCredentials, +// }))) +// // Access public S3 buckets. var AnonymousCredentials = NewStaticCredentials("", "", "") // A Value is the AWS credentials value for individual credential fields. @@ -150,10 +148,11 @@ func (p ErrorProvider) IsExpired() bool { // provider's struct. // // Example: -// type EC2RoleProvider struct { -// Expiry -// ... -// } +// +// type EC2RoleProvider struct { +// Expiry +// ... +// } type Expiry struct { // The date/time when to expire on expiration time.Time diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/ec2rolecreds/ec2_role_provider.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/ec2rolecreds/ec2_role_provider.go index ff60f4c28acd..fcb327f9959f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/ec2rolecreds/ec2_role_provider.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/ec2rolecreds/ec2_role_provider.go @@ -25,17 +25,17 @@ const ProviderName = "EC2RoleProvider" // Example how to configure the EC2RoleProvider with custom http Client, Endpoint // or ExpiryWindow // -// p := &ec2rolecreds.EC2RoleProvider{ -// // Pass in a custom timeout to be used when requesting -// // IAM EC2 Role credentials. -// Client: ec2metadata.New(sess, aws.Config{ -// HTTPClient: &http.Client{Timeout: 10 * time.Second}, -// }), +// p := &ec2rolecreds.EC2RoleProvider{ +// // Pass in a custom timeout to be used when requesting +// // IAM EC2 Role credentials. +// Client: ec2metadata.New(sess, aws.Config{ +// HTTPClient: &http.Client{Timeout: 10 * time.Second}, +// }), // -// // Do not use early expiry of credentials. If a non zero value is -// // specified the credentials will be expired early -// ExpiryWindow: 0, -// } +// // Do not use early expiry of credentials. If a non zero value is +// // specified the credentials will be expired early +// ExpiryWindow: 0, +// } type EC2RoleProvider struct { credentials.Expiry diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/endpointcreds/provider.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/endpointcreds/provider.go index 5aecb75cf7ef..b63e451f0eb7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/endpointcreds/provider.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/endpointcreds/provider.go @@ -7,26 +7,29 @@ // // Static credentials will never expire once they have been retrieved. The format // of the static credentials response: -// { -// "AccessKeyId" : "MUA...", -// "SecretAccessKey" : "/7PC5om....", -// } +// +// { +// "AccessKeyId" : "MUA...", +// "SecretAccessKey" : "/7PC5om....", +// } // // Refreshable credentials will expire within the "ExpiryWindow" of the Expiration // value in the response. The format of the refreshable credentials response: -// { -// "AccessKeyId" : "MUA...", -// "SecretAccessKey" : "/7PC5om....", -// "Token" : "AQoDY....=", -// "Expiration" : "2016-02-25T06:03:31Z" -// } +// +// { +// "AccessKeyId" : "MUA...", +// "SecretAccessKey" : "/7PC5om....", +// "Token" : "AQoDY....=", +// "Expiration" : "2016-02-25T06:03:31Z" +// } // // Errors should be returned in the following format and only returned with 400 // or 500 HTTP status codes. -// { -// "code": "ErrorCode", -// "message": "Helpful error message." -// } +// +// { +// "code": "ErrorCode", +// "message": "Helpful error message." +// } package endpointcreds import ( diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/plugincreds/provider.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/plugincreds/provider.go index 714c13ef5e76..ebc70fb52eb3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/plugincreds/provider.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/plugincreds/provider.go @@ -7,7 +7,7 @@ // // As of Go 1.8 plugins are only supported on the Linux platform. // -// Plugin Symbol Name +// # Plugin Symbol Name // // The "GetAWSSDKCredentialProvider" is the symbol name that will be used to // lookup the credentials provider getter from the plugin. If you want to use a @@ -18,52 +18,52 @@ // retrieve the credentials, and another to determine if the credentials have // expired. // -// Plugin Symbol Signature +// # Plugin Symbol Signature // // The plugin credential provider requires the symbol to match the // following signature. // -// func() (RetrieveFn func() (key, secret, token string, err error), IsExpiredFn func() bool) +// func() (RetrieveFn func() (key, secret, token string, err error), IsExpiredFn func() bool) // -// Plugin Implementation Example +// # Plugin Implementation Example // // The following is an example implementation of a SDK credential provider using // the plugin provider in this package. See the SDK's example/aws/credential/plugincreds/plugin // folder for a runnable example of this. // -// package main +// package main // -// func main() {} +// func main() {} // -// var myCredProvider provider +// var myCredProvider provider // -// // Build: go build -o plugin.so -buildmode=plugin plugin.go -// func init() { -// // Initialize a mock credential provider with stubs -// myCredProvider = provider{"a","b","c"} -// } +// // Build: go build -o plugin.so -buildmode=plugin plugin.go +// func init() { +// // Initialize a mock credential provider with stubs +// myCredProvider = provider{"a","b","c"} +// } // -// // GetAWSSDKCredentialProvider is the symbol SDK will lookup and use to -// // get the credential provider's retrieve and isExpired functions. -// func GetAWSSDKCredentialProvider() (func() (key, secret, token string, err error), func() bool) { -// return myCredProvider.Retrieve, myCredProvider.IsExpired -// } +// // GetAWSSDKCredentialProvider is the symbol SDK will lookup and use to +// // get the credential provider's retrieve and isExpired functions. +// func GetAWSSDKCredentialProvider() (func() (key, secret, token string, err error), func() bool) { +// return myCredProvider.Retrieve, myCredProvider.IsExpired +// } // -// // mock implementation of a type that returns retrieves credentials and -// // returns if they have expired. -// type provider struct { -// key, secret, token string -// } +// // mock implementation of a type that returns retrieves credentials and +// // returns if they have expired. +// type provider struct { +// key, secret, token string +// } // -// func (p provider) Retrieve() (key, secret, token string, err error) { -// return p.key, p.secret, p.token, nil -// } +// func (p provider) Retrieve() (key, secret, token string, err error) { +// return p.key, p.secret, p.token, nil +// } // -// func (p *provider) IsExpired() bool { -// return false; -// } +// func (p *provider) IsExpired() bool { +// return false; +// } // -// Configuring SDK for Plugin Credentials +// # Configuring SDK for Plugin Credentials // // To configure the SDK to use a plugin's credential provider you'll need to first // open the plugin file using the plugin standard library package. Once you have @@ -72,24 +72,24 @@ // credentials loader of a Session or Config. See the SDK's example/aws/credential/plugincreds // folder for a runnable example of this. // -// // Open plugin, and load it into the process. -// p, err := plugin.Open("somefile.so") -// if err != nil { -// return nil, err -// } -// -// // Create a new Credentials value which will source the provider's Retrieve -// // and IsExpired functions from the plugin. -// creds, err := plugincreds.NewCredentials(p) -// if err != nil { -// return nil, err -// } -// -// // Example to configure a Session with the newly created credentials that -// // will be sourced using the plugin's functionality. -// sess := session.Must(session.NewSession(&aws.Config{ -// Credentials: creds, -// })) +// // Open plugin, and load it into the process. +// p, err := plugin.Open("somefile.so") +// if err != nil { +// return nil, err +// } +// +// // Create a new Credentials value which will source the provider's Retrieve +// // and IsExpired functions from the plugin. +// creds, err := plugincreds.NewCredentials(p) +// if err != nil { +// return nil, err +// } +// +// // Example to configure a Session with the newly created credentials that +// // will be sourced using the plugin's functionality. +// sess := session.Must(session.NewSession(&aws.Config{ +// Credentials: creds, +// })) package plugincreds import ( diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/processcreds/provider.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/processcreds/provider.go index 397e62f6f687..ed38db934e01 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/processcreds/provider.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/processcreds/provider.go @@ -15,52 +15,52 @@ location, with the `credential_process` key and the command you want to be called. You also need to set the AWS_SDK_LOAD_CONFIG environment variable (e.g., `export AWS_SDK_LOAD_CONFIG=1`) to use the shared config file. - [default] - credential_process = /command/to/call + [default] + credential_process = /command/to/call Creating a new session will use the credential process to retrieve credentials. NOTE: If there are credentials in the profile you are using, the credential process will not be used. - // Initialize a session to load credentials. - sess, _ := session.NewSession(&aws.Config{ - Region: aws.String("us-east-1")}, - ) + // Initialize a session to load credentials. + sess, _ := session.NewSession(&aws.Config{ + Region: aws.String("us-east-1")}, + ) - // Create S3 service client to use the credentials. - svc := s3.New(sess) + // Create S3 service client to use the credentials. + svc := s3.New(sess) Another way to use the `credential_process` method is by using `credentials.NewCredentials()` and providing a command to be executed to retrieve credentials: - // Create credentials using the ProcessProvider. - creds := processcreds.NewCredentials("/path/to/command") + // Create credentials using the ProcessProvider. + creds := processcreds.NewCredentials("/path/to/command") - // Create service client value configured for credentials. - svc := s3.New(sess, &aws.Config{Credentials: creds}) + // Create service client value configured for credentials. + svc := s3.New(sess, &aws.Config{Credentials: creds}) You can set a non-default timeout for the `credential_process` with another constructor, `credentials.NewCredentialsTimeout()`, providing the timeout. To set a one minute timeout: - // Create credentials using the ProcessProvider. - creds := processcreds.NewCredentialsTimeout( - "/path/to/command", - time.Duration(500) * time.Millisecond) + // Create credentials using the ProcessProvider. + creds := processcreds.NewCredentialsTimeout( + "/path/to/command", + time.Duration(500) * time.Millisecond) If you need more control, you can set any configurable options in the credentials using one or more option functions. For example, you can set a two minute timeout, a credential duration of 60 minutes, and a maximum stdout buffer size of 2k. - creds := processcreds.NewCredentials( - "/path/to/command", - func(opt *ProcessProvider) { - opt.Timeout = time.Duration(2) * time.Minute - opt.Duration = time.Duration(60) * time.Minute - opt.MaxBufSize = 2048 - }) + creds := processcreds.NewCredentials( + "/path/to/command", + func(opt *ProcessProvider) { + opt.Timeout = time.Duration(2) * time.Minute + opt.Duration = time.Duration(60) * time.Minute + opt.MaxBufSize = 2048 + }) You can also use your own `exec.Cmd`: diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/ssocreds/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/ssocreds/doc.go index 18c940ab3c36..e531c45533d8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/ssocreds/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/ssocreds/doc.go @@ -5,54 +5,54 @@ // some other mechanism. The provider must find a valid non-expired access token for the AWS SSO user portal URL in // ~/.aws/sso/cache. If a cached token is not found, it is expired, or the file is malformed an error will be returned. // -// Loading AWS SSO credentials with the AWS shared configuration file +// # Loading AWS SSO credentials with the AWS shared configuration file // // You can use configure AWS SSO credentials from the AWS shared configuration file by // providing the specifying the required keys in the profile: // -// sso_account_id -// sso_region -// sso_role_name -// sso_start_url +// sso_account_id +// sso_region +// sso_role_name +// sso_start_url // // For example, the following defines a profile "devsso" and specifies the AWS SSO parameters that defines the target // account, role, sign-on portal, and the region where the user portal is located. Note: all SSO arguments must be // provided, or an error will be returned. // -// [profile devsso] -// sso_start_url = https://my-sso-portal.awsapps.com/start -// sso_role_name = SSOReadOnlyRole -// sso_region = us-east-1 -// sso_account_id = 123456789012 +// [profile devsso] +// sso_start_url = https://my-sso-portal.awsapps.com/start +// sso_role_name = SSOReadOnlyRole +// sso_region = us-east-1 +// sso_account_id = 123456789012 // // Using the config module, you can load the AWS SDK shared configuration, and specify that this profile be used to // retrieve credentials. For example: // -// sess, err := session.NewSessionWithOptions(session.Options{ -// SharedConfigState: session.SharedConfigEnable, -// Profile: "devsso", -// }) -// if err != nil { -// return err -// } +// sess, err := session.NewSessionWithOptions(session.Options{ +// SharedConfigState: session.SharedConfigEnable, +// Profile: "devsso", +// }) +// if err != nil { +// return err +// } // -// Programmatically loading AWS SSO credentials directly +// # Programmatically loading AWS SSO credentials directly // // You can programmatically construct the AWS SSO Provider in your application, and provide the necessary information // to load and retrieve temporary credentials using an access token from ~/.aws/sso/cache. // -// svc := sso.New(sess, &aws.Config{ -// Region: aws.String("us-west-2"), // Client Region must correspond to the AWS SSO user portal region -// }) +// svc := sso.New(sess, &aws.Config{ +// Region: aws.String("us-west-2"), // Client Region must correspond to the AWS SSO user portal region +// }) // -// provider := ssocreds.NewCredentialsWithClient(svc, "123456789012", "SSOReadOnlyRole", "https://my-sso-portal.awsapps.com/start") +// provider := ssocreds.NewCredentialsWithClient(svc, "123456789012", "SSOReadOnlyRole", "https://my-sso-portal.awsapps.com/start") // -// credentials, err := provider.Get() -// if err != nil { -// return err -// } +// credentials, err := provider.Get() +// if err != nil { +// return err +// } // -// Additional Resources +// # Additional Resources // // Configuring the AWS CLI to use AWS Single Sign-On: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html // diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/stscreds/assume_role_provider.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/stscreds/assume_role_provider.go index d48beb77f008..f2c93cd02603 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/stscreds/assume_role_provider.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/credentials/stscreds/assume_role_provider.go @@ -9,7 +9,7 @@ to refresh the credentials will be synchronized. But, the SDK is unable to ensure synchronous usage of the AssumeRoleProvider if the value is shared between multiple Credentials, Sessions or service clients. -Assume Role +# Assume Role To assume an IAM role using STS with the SDK you can create a new Credentials with the SDKs's stscreds package. @@ -27,7 +27,7 @@ with the SDKs's stscreds package. // from assumed role. svc := s3.New(sess, &aws.Config{Credentials: creds}) -Assume Role with static MFA Token +# Assume Role with static MFA Token To assume an IAM role with a MFA token you can either specify a MFA token code directly or provide a function to prompt the user each time the credentials @@ -49,7 +49,7 @@ credentials. // from assumed role. svc := s3.New(sess, &aws.Config{Credentials: creds}) -Assume Role with MFA Token Provider +# Assume Role with MFA Token Provider To assume an IAM role with MFA for longer running tasks where the credentials may need to be refreshed setting the TokenProvider field of AssumeRoleProvider @@ -74,7 +74,6 @@ single Credentials with an AssumeRoleProvider can be shared safely. // Create service client value configured for credentials // from assumed role. svc := s3.New(sess, &aws.Config{Credentials: creds}) - */ package stscreds diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/csm/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/csm/doc.go index 25a66d1dda22..7c7780f0616b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/csm/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/csm/doc.go @@ -3,7 +3,7 @@ // control options, and configuration for the CSM client. The client can be // controlled manually, or automatically via the SDK's Session configuration. // -// Enabling CSM client via SDK's Session configuration +// # Enabling CSM client via SDK's Session configuration // // The CSM client can be enabled automatically via SDK's Session configuration. // The SDK's session configuration enables the CSM client if the AWS_CSM_PORT @@ -12,39 +12,39 @@ // The configuration options for the CSM client via the SDK's session // configuration are: // -// * AWS_CSM_PORT= -// The port number the CSM agent will receive metrics on. +// - AWS_CSM_PORT= +// The port number the CSM agent will receive metrics on. // -// * AWS_CSM_HOST= -// The hostname, or IP address the CSM agent will receive metrics on. -// Without port number. +// - AWS_CSM_HOST= +// The hostname, or IP address the CSM agent will receive metrics on. +// Without port number. // -// Manually enabling the CSM client +// # Manually enabling the CSM client // // The CSM client can be started, paused, and resumed manually. The Start // function will enable the CSM client to publish metrics to the CSM agent. It // is safe to call Start concurrently, but if Start is called additional times // with different ClientID or address it will panic. // -// r, err := csm.Start("clientID", ":31000") -// if err != nil { -// panic(fmt.Errorf("failed starting CSM: %v", err)) -// } +// r, err := csm.Start("clientID", ":31000") +// if err != nil { +// panic(fmt.Errorf("failed starting CSM: %v", err)) +// } // // When controlling the CSM client manually, you must also inject its request // handlers into the SDK's Session configuration for the SDK's API clients to // publish metrics. // -// sess, err := session.NewSession(&aws.Config{}) -// if err != nil { -// panic(fmt.Errorf("failed loading session: %v", err)) -// } +// sess, err := session.NewSession(&aws.Config{}) +// if err != nil { +// panic(fmt.Errorf("failed loading session: %v", err)) +// } // -// // Add CSM client's metric publishing request handlers to the SDK's -// // Session Configuration. -// r.InjectHandlers(&sess.Handlers) +// // Add CSM client's metric publishing request handlers to the SDK's +// // Session Configuration. +// r.InjectHandlers(&sess.Handlers) // -// Controlling CSM client +// # Controlling CSM client // // Once the CSM client has been enabled the Get function will return a Reporter // value that you can use to pause and resume the metrics published to the CSM @@ -54,16 +54,16 @@ // The Pause method can be called to stop the CSM client publishing metrics to // the CSM agent. The Continue method will resume metric publishing. // -// // Get the CSM client Reporter. -// r := csm.Get() +// // Get the CSM client Reporter. +// r := csm.Get() // -// // Will pause monitoring -// r.Pause() -// resp, err = client.GetObject(&s3.GetObjectInput{ -// Bucket: aws.String("bucket"), -// Key: aws.String("key"), -// }) +// // Will pause monitoring +// r.Pause() +// resp, err = client.GetObject(&s3.GetObjectInput{ +// Bucket: aws.String("bucket"), +// Key: aws.String("key"), +// }) // -// // Resume monitoring -// r.Continue() +// // Resume monitoring +// r.Continue() package csm diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/csm/enable.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/csm/enable.go index 4b19e2800e3c..6f3222d43cad 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/csm/enable.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/csm/enable.go @@ -43,18 +43,18 @@ func AddressWithDefaults(host, port string) string { // start the metric listener once and will panic if a different // client ID or port is passed in. // -// r, err := csm.Start("clientID", "127.0.0.1:31000") -// if err != nil { -// panic(fmt.Errorf("expected no error, but received %v", err)) -// } -// sess := session.NewSession() -// r.InjectHandlers(sess.Handlers) +// r, err := csm.Start("clientID", "127.0.0.1:31000") +// if err != nil { +// panic(fmt.Errorf("expected no error, but received %v", err)) +// } +// sess := session.NewSession() +// r.InjectHandlers(sess.Handlers) // -// svc := s3.New(sess) -// out, err := svc.GetObject(&s3.GetObjectInput{ -// Bucket: aws.String("bucket"), -// Key: aws.String("key"), -// }) +// svc := s3.New(sess) +// out, err := svc.GetObject(&s3.GetObjectInput{ +// Bucket: aws.String("bucket"), +// Key: aws.String("key"), +// }) func Start(clientID string, url string) (*Reporter, error) { lock.Lock() defer lock.Unlock() diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/csm/reporter.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/csm/reporter.go index a5ad5999d5d7..3a1ec0f8954d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/csm/reporter.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/csm/reporter.go @@ -227,17 +227,17 @@ const ( // InjectHandlers is NOT safe to call concurrently. Calling InjectHandlers // multiple times may lead to unexpected behavior, (e.g. duplicate metrics). // -// // Start must be called in order to inject the correct handlers -// r, err := csm.Start("clientID", "127.0.0.1:8094") -// if err != nil { -// panic(fmt.Errorf("expected no error, but received %v", err)) -// } +// // Start must be called in order to inject the correct handlers +// r, err := csm.Start("clientID", "127.0.0.1:8094") +// if err != nil { +// panic(fmt.Errorf("expected no error, but received %v", err)) +// } // -// sess := session.NewSession() -// r.InjectHandlers(&sess.Handlers) +// sess := session.NewSession() +// r.InjectHandlers(&sess.Handlers) // -// // create a new service client with our client side metric session -// svc := s3.New(sess) +// // create a new service client with our client side metric session +// svc := s3.New(sess) func (rep *Reporter) InjectHandlers(handlers *request.Handlers) { if rep == nil { return diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/doc.go index 4fcb6161848e..917618c75fb6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/doc.go @@ -1,7 +1,7 @@ // Package aws provides the core SDK's utilities and shared types. Use this package's // utilities to simplify setting and reading API operations parameters. // -// Value and Pointer Conversion Utilities +// # Value and Pointer Conversion Utilities // // This package includes a helper conversion utility for each scalar type the SDK's // API use. These utilities make getting a pointer of the scalar, and dereferencing @@ -16,33 +16,33 @@ // to get pointer of a literal string value, because getting the address of a // literal requires assigning the value to a variable first. // -// var strPtr *string +// var strPtr *string // -// // Without the SDK's conversion functions -// str := "my string" -// strPtr = &str +// // Without the SDK's conversion functions +// str := "my string" +// strPtr = &str // -// // With the SDK's conversion functions -// strPtr = aws.String("my string") +// // With the SDK's conversion functions +// strPtr = aws.String("my string") // -// // Convert *string to string value -// str = aws.StringValue(strPtr) +// // Convert *string to string value +// str = aws.StringValue(strPtr) // // In addition to scalars the aws package also includes conversion utilities for // map and slice for commonly types used in API parameters. The map and slice // conversion functions use similar naming pattern as the scalar conversion // functions. // -// var strPtrs []*string -// var strs []string = []string{"Go", "Gophers", "Go"} +// var strPtrs []*string +// var strs []string = []string{"Go", "Gophers", "Go"} // -// // Convert []string to []*string -// strPtrs = aws.StringSlice(strs) +// // Convert []string to []*string +// strPtrs = aws.StringSlice(strs) // -// // Convert []*string to []string -// strs = aws.StringValueSlice(strPtrs) +// // Convert []*string to []string +// strs = aws.StringValueSlice(strPtrs) // -// SDK Default HTTP Client +// # SDK Default HTTP Client // // The SDK will use the http.DefaultClient if a HTTP client is not provided to // the SDK's Session, or service client constructor. This means that if the diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/ec2metadata/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/ec2metadata/service.go index 8ea8752402ac..10a942ebcc58 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/ec2metadata/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/ec2metadata/service.go @@ -57,13 +57,13 @@ type EC2Metadata struct { // New creates a new instance of the EC2Metadata client with a session. // This client is safe to use across multiple goroutines. // -// // Example: -// // Create a EC2Metadata client from just a session. -// svc := ec2metadata.New(mySession) // -// // Create a EC2Metadata client with additional configuration -// svc := ec2metadata.New(mySession, aws.NewConfig().WithLogLevel(aws.LogDebugHTTPBody)) +// // Create a EC2Metadata client from just a session. +// svc := ec2metadata.New(mySession) +// +// // Create a EC2Metadata client with additional configuration +// svc := ec2metadata.New(mySession, aws.NewConfig().WithLogLevel(aws.LogDebugHTTPBody)) func New(p client.ConfigProvider, cfgs ...*aws.Config) *EC2Metadata { c := p.ClientConfig(ServiceName, cfgs...) return NewClient(*c.Config, c.Handlers, c.Endpoint, c.SigningRegion) diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/decode.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/decode.go index 16595fbc68f3..4107ecc801cf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/decode.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/decode.go @@ -31,12 +31,12 @@ func (d *DecodeModelOptions) Set(optFns ...func(*DecodeModelOptions)) { // allow you to get a list of the partitions in the order the endpoints // will be resolved in. // -// resolver, err := endpoints.DecodeModel(reader) +// resolver, err := endpoints.DecodeModel(reader) // -// partitions := resolver.(endpoints.EnumPartitions).Partitions() -// for _, p := range partitions { -// // ... inspect partitions -// } +// partitions := resolver.(endpoints.EnumPartitions).Partitions() +// for _, p := range partitions { +// // ... inspect partitions +// } func DecodeModel(r io.Reader, optFns ...func(*DecodeModelOptions)) (Resolver, error) { var opts DecodeModelOptions opts.Set(optFns...) diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/defaults.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/defaults.go index 40db8fd32fda..f341449db71b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/defaults.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/defaults.go @@ -75,10 +75,10 @@ func DefaultResolver() Resolver { // DefaultPartitions returns a list of the partitions the SDK is bundled // with. The available partitions are: AWS Standard, AWS China, AWS GovCloud (US), AWS ISO (US), and AWS ISOB (US). // -// partitions := endpoints.DefaultPartitions -// for _, p := range partitions { -// // ... inspect partitions -// } +// partitions := endpoints.DefaultPartitions +// for _, p := range partitions { +// // ... inspect partitions +// } func DefaultPartitions() []Partition { return defaultPartitions.Partitions() } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/doc.go index 84316b92c053..66dec6bebf02 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/doc.go @@ -9,7 +9,7 @@ // AWS GovCloud (US) (aws-us-gov). // . // -// Enumerating Regions and Endpoint Metadata +// # Enumerating Regions and Endpoint Metadata // // Casting the Resolver returned by DefaultResolver to a EnumPartitions interface // will allow you to get access to the list of underlying Partitions with the @@ -17,22 +17,22 @@ // resolving to a single partition, or enumerate regions, services, and endpoints // in the partition. // -// resolver := endpoints.DefaultResolver() -// partitions := resolver.(endpoints.EnumPartitions).Partitions() +// resolver := endpoints.DefaultResolver() +// partitions := resolver.(endpoints.EnumPartitions).Partitions() // -// for _, p := range partitions { -// fmt.Println("Regions for", p.ID()) -// for id, _ := range p.Regions() { -// fmt.Println("*", id) -// } +// for _, p := range partitions { +// fmt.Println("Regions for", p.ID()) +// for id, _ := range p.Regions() { +// fmt.Println("*", id) +// } // -// fmt.Println("Services for", p.ID()) -// for id, _ := range p.Services() { -// fmt.Println("*", id) -// } -// } +// fmt.Println("Services for", p.ID()) +// for id, _ := range p.Services() { +// fmt.Println("*", id) +// } +// } // -// Using Custom Endpoints +// # Using Custom Endpoints // // The endpoints package also gives you the ability to use your own logic how // endpoints are resolved. This is a great way to define a custom endpoint @@ -47,20 +47,19 @@ // of Resolver.EndpointFor, converting it to a type that satisfies the // Resolver interface. // +// myCustomResolver := func(service, region string, optFns ...func(*endpoints.Options)) (endpoints.ResolvedEndpoint, error) { +// if service == endpoints.S3ServiceID { +// return endpoints.ResolvedEndpoint{ +// URL: "s3.custom.endpoint.com", +// SigningRegion: "custom-signing-region", +// }, nil +// } // -// myCustomResolver := func(service, region string, optFns ...func(*endpoints.Options)) (endpoints.ResolvedEndpoint, error) { -// if service == endpoints.S3ServiceID { -// return endpoints.ResolvedEndpoint{ -// URL: "s3.custom.endpoint.com", -// SigningRegion: "custom-signing-region", -// }, nil -// } +// return endpoints.DefaultResolver().EndpointFor(service, region, optFns...) +// } // -// return endpoints.DefaultResolver().EndpointFor(service, region, optFns...) -// } -// -// sess := session.Must(session.NewSession(&aws.Config{ -// Region: aws.String("us-west-2"), -// EndpointResolver: endpoints.ResolverFunc(myCustomResolver), -// })) +// sess := session.Must(session.NewSession(&aws.Config{ +// Region: aws.String("us-west-2"), +// EndpointResolver: endpoints.ResolverFunc(myCustomResolver), +// })) package endpoints diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/endpoints.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/endpoints.go index 8227b9a97314..06194e33fb1c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/endpoints.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/endpoints/endpoints.go @@ -353,10 +353,12 @@ type EnumPartitions interface { // as the second parameter. // // This example shows how to get the regions for DynamoDB in the AWS partition. -// rs, exists := endpoints.RegionsForService(endpoints.DefaultPartitions(), endpoints.AwsPartitionID, endpoints.DynamodbServiceID) +// +// rs, exists := endpoints.RegionsForService(endpoints.DefaultPartitions(), endpoints.AwsPartitionID, endpoints.DynamodbServiceID) // // This is equivalent to using the partition directly. -// rs := endpoints.AwsPartition().Services()[endpoints.DynamodbServiceID].Regions() +// +// rs := endpoints.AwsPartition().Services()[endpoints.DynamodbServiceID].Regions() func RegionsForService(ps []Partition, partitionID, serviceID string) (map[string]Region, bool) { for _, p := range ps { if p.ID() != partitionID { @@ -423,8 +425,8 @@ func (p Partition) ID() string { return p.id } // of new regions and services expansions. // // Errors that can be returned. -// * UnknownServiceError -// * UnknownEndpointError +// - UnknownServiceError +// - UnknownEndpointError func (p Partition) EndpointFor(service, region string, opts ...func(*Options)) (ResolvedEndpoint, error) { return p.p.EndpointFor(service, region, opts...) } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/logger.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/logger.go index 49674cc79ebd..c8b8203e0cdc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/logger.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/logger.go @@ -92,9 +92,10 @@ type Logger interface { // list of arguments and wrap it so the Logger interface can be used. // // Example: -// s3.New(sess, &aws.Config{Logger: aws.LoggerFunc(func(args ...interface{}) { -// fmt.Fprintln(os.Stdout, args...) -// })}) +// +// s3.New(sess, &aws.Config{Logger: aws.LoggerFunc(func(args ...interface{}) { +// fmt.Fprintln(os.Stdout, args...) +// })}) type LoggerFunc func(...interface{}) // Log calls the wrapped function with the arguments provided diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/request/request.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/request/request.go index 5ab5fddd0121..b7532f35fa3f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/request/request.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/request/request.go @@ -182,11 +182,11 @@ type Option func(*Request) // // This Option can be used multiple times with a single API operation. // -// var id2, versionID string -// svc.PutObjectWithContext(ctx, params, -// request.WithGetResponseHeader("x-amz-id-2", &id2), -// request.WithGetResponseHeader("x-amz-version-id", &versionID), -// ) +// var id2, versionID string +// svc.PutObjectWithContext(ctx, params, +// request.WithGetResponseHeader("x-amz-id-2", &id2), +// request.WithGetResponseHeader("x-amz-version-id", &versionID), +// ) func WithGetResponseHeader(key string, val *string) Option { return func(r *Request) { r.Handlers.Complete.PushBack(func(req *Request) { @@ -199,8 +199,8 @@ func WithGetResponseHeader(key string, val *string) Option { // headers from the HTTP response and assign them to the passed in headers // variable. The passed in headers pointer must be non-nil. // -// var headers http.Header -// svc.PutObjectWithContext(ctx, params, request.WithGetResponseHeaders(&headers)) +// var headers http.Header +// svc.PutObjectWithContext(ctx, params, request.WithGetResponseHeaders(&headers)) func WithGetResponseHeaders(headers *http.Header) Option { return func(r *Request) { r.Handlers.Complete.PushBack(func(req *Request) { @@ -212,7 +212,7 @@ func WithGetResponseHeaders(headers *http.Header) Option { // WithLogLevel is a request option that will set the request to use a specific // log level when the request is made. // -// svc.PutObjectWithContext(ctx, params, request.WithLogLevel(aws.LogDebugWithHTTPBody) +// svc.PutObjectWithContext(ctx, params, request.WithLogLevel(aws.LogDebugWithHTTPBody) func WithLogLevel(l aws.LogLevelType) Option { return func(r *Request) { r.Config.LogLevel = aws.LogLevel(l) diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/request/request_pagination.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/request/request_pagination.go index 3a043a962002..ef1d71f1ed2f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/request/request_pagination.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/request/request_pagination.go @@ -17,14 +17,14 @@ import ( // does the pagination between API operations, and Paginator defines the // configuration that will be used per page request. // -// for p.Next() { -// data := p.Page().(*s3.ListObjectsOutput) -// // process the page's data -// // ... -// // break out of loop to stop fetching additional pages -// } +// for p.Next() { +// data := p.Page().(*s3.ListObjectsOutput) +// // process the page's data +// // ... +// // break out of loop to stop fetching additional pages +// } // -// return p.Err() +// return p.Err() // // See service client API operation Pages methods for examples how the SDK will // use the Pagination type. @@ -237,9 +237,9 @@ func (r *Request) NextPage() *Request { // EachPage iterates over each page of a paginated request object. The fn // parameter should be a function with the following sample signature: // -// func(page *T, lastPage bool) bool { -// return true // return false to stop iterating -// } +// func(page *T, lastPage bool) bool { +// return true // return false to stop iterating +// } // // Where "T" is the structure type matching the output structure of the given // operation. For example, a request object generated by diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/request/timeout_read_closer.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/request/timeout_read_closer.go index 694d154b1dfe..a04a20374bf8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/request/timeout_read_closer.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/request/timeout_read_closer.go @@ -71,7 +71,7 @@ func adaptToResponseTimeoutError(req *Request) { // This will allow for per read timeouts. If a timeout occurred, we will return the // ErrCodeResponseTimeout. // -// svc.PutObjectWithContext(ctx, params, request.WithTimeoutReadCloser(30 * time.Second) +// svc.PutObjectWithContext(ctx, params, request.WithTimeoutReadCloser(30 * time.Second) func WithResponseReadTimeout(duration time.Duration) Option { return func(r *Request) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/session/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/session/doc.go index ff3cc012ae37..3e53a8746113 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/session/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/session/doc.go @@ -9,7 +9,7 @@ files each time the Session is created. Sharing the Session value across all of your service clients will ensure the configuration is loaded the fewest number of times possible. -Sessions options from Shared Config +# Sessions options from Shared Config By default NewSession will only load credentials from the shared credentials file (~/.aws/credentials). If the AWS_SDK_LOAD_CONFIG environment variable is @@ -19,27 +19,27 @@ values from the shared config (~/.aws/config) and shared credentials SharedConfigState set to SharedConfigEnable will create the session as if the AWS_SDK_LOAD_CONFIG environment variable was set. -Credential and config loading order +# Credential and config loading order The Session will attempt to load configuration and credentials from the environment, configuration files, and other credential sources. The order configuration is loaded in is: - * Environment Variables - * Shared Credentials file - * Shared Configuration file (if SharedConfig is enabled) - * EC2 Instance Metadata (credentials only) + - Environment Variables + - Shared Credentials file + - Shared Configuration file (if SharedConfig is enabled) + - EC2 Instance Metadata (credentials only) The Environment variables for credentials will have precedence over shared config even if SharedConfig is enabled. To override this behavior, and use shared config credentials instead specify the session.Options.Profile, (e.g. when using credential_source=Environment to assume a role). - sess, err := session.NewSessionWithOptions(session.Options{ - Profile: "myProfile", - }) + sess, err := session.NewSessionWithOptions(session.Options{ + Profile: "myProfile", + }) -Creating Sessions +# Creating Sessions Creating a Session without additional options will load credentials region, and profile loaded from the environment and shared config automatically. See, @@ -49,7 +49,6 @@ by Session. // Create Session sess, err := session.NewSession() - When creating Sessions optional aws.Config values can be passed in that will override the default, or loaded, config values the Session is being created with. This allows you to provide additional, or case based, configuration @@ -82,7 +81,7 @@ profile, or override the shared config state, (AWS_SDK_LOAD_CONFIG). SharedConfigState: session.SharedConfigEnable, }) -Adding Handlers +# Adding Handlers You can add handlers to a session to decorate API operation, (e.g. adding HTTP headers). All clients that use the Session receive a copy of the Session's @@ -99,7 +98,7 @@ every requests made. r.ClientInfo.ServiceName, r.Operation, r.Params) }) -Shared Config Fields +# Shared Config Fields By default the SDK will only load the shared credentials file's (~/.aws/credentials) credentials values, and all other config is provided by @@ -131,7 +130,7 @@ other two fields. ; region only supported if SharedConfigEnabled. region = us-east-1 -Assume Role configuration +# Assume Role configuration The role_arn field allows you to configure the SDK to assume an IAM role using a set of credentials from another source. Such as when paired with static @@ -146,19 +145,18 @@ specified, such as "source_profile", "credential_source", or mfa_serial = role_session_name = session_name - The SDK supports assuming a role with MFA token. If "mfa_serial" is set, you must also set the Session Option.AssumeRoleTokenProvider. The Session will fail to load if the AssumeRoleTokenProvider is not specified. - sess := session.Must(session.NewSessionWithOptions(session.Options{ - AssumeRoleTokenProvider: stscreds.StdinTokenProvider, - })) + sess := session.Must(session.NewSessionWithOptions(session.Options{ + AssumeRoleTokenProvider: stscreds.StdinTokenProvider, + })) To setup Assume Role outside of a session see the stscreds.AssumeRoleProvider documentation. -Environment Variables +# Environment Variables When a Session is created several environment variables can be set to adjust how the SDK functions, and what configuration data it loads when creating @@ -208,7 +206,7 @@ env values as well. AWS_SDK_LOAD_CONFIG=1 -Custom Shared Config and Credential Files +# Custom Shared Config and Credential Files Shared credentials file path can be set to instruct the SDK to use an alternative file for the shared credentials. If not set the file will be loaded from @@ -224,7 +222,7 @@ $HOME/.aws/config on Linux/Unix based systems, and AWS_CONFIG_FILE=$HOME/my_shared_config -Custom CA Bundle +# Custom CA Bundle Path to a custom Credentials Authority (CA) bundle PEM file that the SDK will use instead of the default system's root CA bundle. Use this only @@ -246,7 +244,7 @@ Setting a custom HTTPClient in the aws.Config options will override this setting To use this option and custom HTTP client, the HTTP client needs to be provided when creating the session. Not the service client. -Custom Client TLS Certificate +# Custom Client TLS Certificate The SDK supports the environment and session option being configured with Client TLS certificates that are sent as a part of the client's TLS handshake @@ -267,26 +265,26 @@ This can also be configured via the session.Options ClientTLSCert and ClientTLSK ClientTLSKey: myKeyFile, }) -Custom EC2 IMDS Endpoint +# Custom EC2 IMDS Endpoint The endpoint of the EC2 IMDS client can be configured via the environment variable, AWS_EC2_METADATA_SERVICE_ENDPOINT when creating the client with a Session. See Options.EC2IMDSEndpoint for more details. - AWS_EC2_METADATA_SERVICE_ENDPOINT=http://169.254.169.254 + AWS_EC2_METADATA_SERVICE_ENDPOINT=http://169.254.169.254 If using an URL with an IPv6 address literal, the IPv6 address component must be enclosed in square brackets. - AWS_EC2_METADATA_SERVICE_ENDPOINT=http://[::1] + AWS_EC2_METADATA_SERVICE_ENDPOINT=http://[::1] The custom EC2 IMDS endpoint can also be specified via the Session options. - sess, err := session.NewSessionWithOptions(session.Options{ - EC2MetadataEndpoint: "http://[::1]", - }) + sess, err := session.NewSessionWithOptions(session.Options{ + EC2MetadataEndpoint: "http://[::1]", + }) -FIPS and DualStack Endpoints +# FIPS and DualStack Endpoints The SDK can be configured to resolve an endpoint with certain capabilities such as FIPS and DualStack. @@ -296,36 +294,36 @@ or programmatically. To configure a FIPS endpoint set the environment variable set the AWS_USE_FIPS_ENDPOINT to true or false to enable or disable FIPS endpoint resolution. - AWS_USE_FIPS_ENDPOINT=true + AWS_USE_FIPS_ENDPOINT=true To configure a FIPS endpoint using shared config, set use_fips_endpoint to true or false to enable or disable FIPS endpoint resolution. - [profile myprofile] - region=us-west-2 - use_fips_endpoint=true + [profile myprofile] + region=us-west-2 + use_fips_endpoint=true To configure a FIPS endpoint programmatically - // Option 1: Configure it on a session for all clients - sess, err := session.NewSessionWithOptions(session.Options{ - UseFIPSEndpoint: endpoints.FIPSEndpointStateEnabled, - }) - if err != nil { - // handle error - } + // Option 1: Configure it on a session for all clients + sess, err := session.NewSessionWithOptions(session.Options{ + UseFIPSEndpoint: endpoints.FIPSEndpointStateEnabled, + }) + if err != nil { + // handle error + } - client := s3.New(sess) + client := s3.New(sess) - // Option 2: Configure it per client - sess, err := session.NewSession() - if err != nil { - // handle error - } + // Option 2: Configure it per client + sess, err := session.NewSession() + if err != nil { + // handle error + } - client := s3.New(sess, &aws.Config{ - UseFIPSEndpoint: endpoints.FIPSEndpointStateEnabled, - }) + client := s3.New(sess, &aws.Config{ + UseFIPSEndpoint: endpoints.FIPSEndpointStateEnabled, + }) You can configure a DualStack endpoint using an environment variable, shared config ($HOME/.aws/config), or programmatically. @@ -333,35 +331,35 @@ or programmatically. To configure a DualStack endpoint set the environment variable set the AWS_USE_DUALSTACK_ENDPOINT to true or false to enable or disable DualStack endpoint resolution. - AWS_USE_DUALSTACK_ENDPOINT=true + AWS_USE_DUALSTACK_ENDPOINT=true To configure a DualStack endpoint using shared config, set use_dualstack_endpoint to true or false to enable or disable DualStack endpoint resolution. - [profile myprofile] - region=us-west-2 - use_dualstack_endpoint=true + [profile myprofile] + region=us-west-2 + use_dualstack_endpoint=true To configure a DualStack endpoint programmatically - // Option 1: Configure it on a session for all clients - sess, err := session.NewSessionWithOptions(session.Options{ - UseDualStackEndpoint: endpoints.DualStackEndpointStateEnabled, - }) - if err != nil { - // handle error - } - - client := s3.New(sess) - - // Option 2: Configure it per client - sess, err := session.NewSession() - if err != nil { - // handle error - } - - client := s3.New(sess, &aws.Config{ - UseDualStackEndpoint: endpoints.DualStackEndpointStateEnabled, - }) + // Option 1: Configure it on a session for all clients + sess, err := session.NewSessionWithOptions(session.Options{ + UseDualStackEndpoint: endpoints.DualStackEndpointStateEnabled, + }) + if err != nil { + // handle error + } + + client := s3.New(sess) + + // Option 2: Configure it per client + sess, err := session.NewSession() + if err != nil { + // handle error + } + + client := s3.New(sess, &aws.Config{ + UseDualStackEndpoint: endpoints.DualStackEndpointStateEnabled, + }) */ package session diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/session/session.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/session/session.go index 1ff820a0d303..4359d2c878d3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/session/session.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/session/session.go @@ -174,7 +174,6 @@ const ( // Options provides the means to control how a Session is created and what // configuration values will be loaded. -// type Options struct { // Provides config values for the SDK to use when creating service clients // and making API requests to services. Any value set in with this field @@ -322,24 +321,24 @@ type Options struct { // credentials file. Enabling the Shared Config will also allow the Session // to be built with retrieving credentials with AssumeRole set in the config. // -// // Equivalent to session.New -// sess := session.Must(session.NewSessionWithOptions(session.Options{})) +// // Equivalent to session.New +// sess := session.Must(session.NewSessionWithOptions(session.Options{})) // -// // Specify profile to load for the session's config -// sess := session.Must(session.NewSessionWithOptions(session.Options{ -// Profile: "profile_name", -// })) +// // Specify profile to load for the session's config +// sess := session.Must(session.NewSessionWithOptions(session.Options{ +// Profile: "profile_name", +// })) // -// // Specify profile for config and region for requests -// sess := session.Must(session.NewSessionWithOptions(session.Options{ -// Config: aws.Config{Region: aws.String("us-east-1")}, -// Profile: "profile_name", -// })) +// // Specify profile for config and region for requests +// sess := session.Must(session.NewSessionWithOptions(session.Options{ +// Config: aws.Config{Region: aws.String("us-east-1")}, +// Profile: "profile_name", +// })) // -// // Force enable Shared Config support -// sess := session.Must(session.NewSessionWithOptions(session.Options{ -// SharedConfigState: session.SharedConfigEnable, -// })) +// // Force enable Shared Config support +// sess := session.Must(session.NewSessionWithOptions(session.Options{ +// SharedConfigState: session.SharedConfigEnable, +// })) func NewSessionWithOptions(opts Options) (*Session, error) { var envCfg envConfig var err error @@ -375,7 +374,7 @@ func NewSessionWithOptions(opts Options) (*Session, error) { // This helper is intended to be used in variable initialization to load the // Session and configuration at startup. Such as: // -// var sess = session.Must(session.NewSession()) +// var sess = session.Must(session.NewSession()) func Must(sess *Session, err error) *Session { if err != nil { panic(err) @@ -845,8 +844,8 @@ func initHandlers(s *Session) { // and handlers. If any additional configs are provided they will be merged // on top of the Session's copied config. // -// // Create a copy of the current Session, configured for the us-west-2 region. -// sess.Copy(&aws.Config{Region: aws.String("us-west-2")}) +// // Create a copy of the current Session, configured for the us-west-2 region. +// sess.Copy(&aws.Config{Region: aws.String("us-west-2")}) func (s *Session) Copy(cfgs ...*aws.Config) *Session { newSession := &Session{ Config: s.Config.Copy(cfgs...), diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/signer/v4/v4.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/signer/v4/v4.go index 385e4cd3aab2..59a01c68cceb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/signer/v4/v4.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/signer/v4/v4.go @@ -3,7 +3,7 @@ // Provides request signing for request that need to be signed with // AWS V4 Signatures. // -// Standalone Signer +// # Standalone Signer // // Generally using the signer outside of the SDK should not require any additional // logic when using Go v1.5 or higher. The signer does this by taking advantage @@ -14,10 +14,10 @@ // The signer will first check the URL.Opaque field, and use its value if set. // The signer does require the URL.Opaque field to be set in the form of: // -// "///" +// "///" // -// // e.g. -// "//example.com/some/path" +// // e.g. +// "//example.com/some/path" // // The leading "//" and hostname are required or the URL.Opaque escaping will // not work correctly. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/awstesting/assert.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/awstesting/assert.go index cc7e22a9aa95..0bd7c0c4a635 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/awstesting/assert.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/awstesting/assert.go @@ -154,7 +154,7 @@ func objectsAreEqual(expected, actual interface{}) bool { // Equal asserts that two objects are equal. // -// assert.Equal(t, 123, 123, "123 and 123 should be equal") +// assert.Equal(t, 123, 123, "123 and 123 should be equal") // // Returns whether the assertion was successful (true) or not (false). // diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/awstesting/cmd/bucket_cleanup/main.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/awstesting/cmd/bucket_cleanup/main.go index 8771ee330311..2af49f1287ea 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/awstesting/cmd/bucket_cleanup/main.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/awstesting/cmd/bucket_cleanup/main.go @@ -18,7 +18,8 @@ import ( // to confirm bucket should be deleted. Positive confirmation is required. // // Usage: -// go run deleteBuckets.go +// +// go run deleteBuckets.go func main() { sess := session.Must(session.NewSession()) diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/ini/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/ini/doc.go index 1e55bbd07b91..fdd5321b4c64 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/ini/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/ini/doc.go @@ -13,30 +13,31 @@ // } // // Below is the BNF that describes this parser -// Grammar: -// stmt -> section | stmt' -// stmt' -> epsilon | expr -// expr -> value (stmt)* | equal_expr (stmt)* -// equal_expr -> value ( ':' | '=' ) equal_expr' -// equal_expr' -> number | string | quoted_string -// quoted_string -> " quoted_string' -// quoted_string' -> string quoted_string_end -// quoted_string_end -> " -// -// section -> [ section' -// section' -> section_value section_close -// section_value -> number | string_subset | boolean | quoted_string_subset -// quoted_string_subset -> " quoted_string_subset' -// quoted_string_subset' -> string_subset quoted_string_end -// quoted_string_subset -> " -// section_close -> ] -// -// value -> number | string_subset | boolean -// string -> ? UTF-8 Code-Points except '\n' (U+000A) and '\r\n' (U+000D U+000A) ? -// string_subset -> ? Code-points excepted by grammar except ':' (U+003A), '=' (U+003D), '[' (U+005B), and ']' (U+005D) ? -// -// SkipState will skip (NL WS)+ -// -// comment -> # comment' | ; comment' -// comment' -> epsilon | value +// +// Grammar: +// stmt -> section | stmt' +// stmt' -> epsilon | expr +// expr -> value (stmt)* | equal_expr (stmt)* +// equal_expr -> value ( ':' | '=' ) equal_expr' +// equal_expr' -> number | string | quoted_string +// quoted_string -> " quoted_string' +// quoted_string' -> string quoted_string_end +// quoted_string_end -> " +// +// section -> [ section' +// section' -> section_value section_close +// section_value -> number | string_subset | boolean | quoted_string_subset +// quoted_string_subset -> " quoted_string_subset' +// quoted_string_subset' -> string_subset quoted_string_end +// quoted_string_subset -> " +// section_close -> ] +// +// value -> number | string_subset | boolean +// string -> ? UTF-8 Code-Points except '\n' (U+000A) and '\r\n' (U+000D U+000A) ? +// string_subset -> ? Code-points excepted by grammar except ':' (U+003A), '=' (U+003D), '[' (U+005B), and ']' (U+005D) ? +// +// SkipState will skip (NL WS)+ +// +// comment -> # comment' | ; comment' +// comment' -> epsilon | value package ini diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/ini/literal_tokens_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/ini/literal_tokens_test.go index cbbdfd69c3a0..16beefa7f2f8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/ini/literal_tokens_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/ini/literal_tokens_test.go @@ -162,8 +162,8 @@ func TestNewLiteralToken(t *testing.T) { ), }, { - name: "utf8 whitespace", - b: []rune("0 0"), + name: "utf8 whitespace", + b: []rune("0 0"), expectedRead: 1, expectedToken: newToken(TokenLit, []rune("0"), @@ -171,8 +171,8 @@ func TestNewLiteralToken(t *testing.T) { ), }, { - name: "utf8 whitespace expr", - b: []rune("0=0 0"), + name: "utf8 whitespace expr", + b: []rune("0=0 0"), expectedRead: 1, expectedToken: newToken(TokenLit, []rune("0"), diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/s3shared/arn/accesspoint_arn.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/s3shared/arn/accesspoint_arn.go index 24648493d4ba..7b6778e0bd67 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/s3shared/arn/accesspoint_arn.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/s3shared/arn/accesspoint_arn.go @@ -21,9 +21,8 @@ func (a AccessPointARN) GetARN() arn.ARN { // AccessPoint resource. // // Supported Access point resource format: -// - Access point format: arn:{partition}:s3:{region}:{accountId}:accesspoint/{accesspointName} -// - example: arn.aws.s3.us-west-2.012345678901:accesspoint/myaccesspoint -// +// - Access point format: arn:{partition}:s3:{region}:{accountId}:accesspoint/{accesspointName} +// - example: arn.aws.s3.us-west-2.012345678901:accesspoint/myaccesspoint func ParseAccessPointResource(a arn.ARN, resParts []string) (AccessPointARN, error) { if len(a.Region) == 0 { return AccessPointARN{}, InvalidARNError{ARN: a, Reason: "region not set"} diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/s3shared/arn/outpost_arn.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/s3shared/arn/outpost_arn.go index e2fafd1a8f9f..d06f1f18d994 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/s3shared/arn/outpost_arn.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/s3shared/arn/outpost_arn.go @@ -17,15 +17,14 @@ type OutpostARN interface { // // Currently supported outpost ARN formats: // * Outpost AccessPoint ARN format: -// - ARN format: arn:{partition}:s3-outposts:{region}:{accountId}:outpost/{outpostId}/accesspoint/{accesspointName} -// - example: arn:aws:s3-outposts:us-west-2:012345678901:outpost/op-1234567890123456/accesspoint/myaccesspoint +// - ARN format: arn:{partition}:s3-outposts:{region}:{accountId}:outpost/{outpostId}/accesspoint/{accesspointName} +// - example: arn:aws:s3-outposts:us-west-2:012345678901:outpost/op-1234567890123456/accesspoint/myaccesspoint // // * Outpost Bucket ARN format: -// - ARN format: arn:{partition}:s3-outposts:{region}:{accountId}:outpost/{outpostId}/bucket/{bucketName} -// - example: arn:aws:s3-outposts:us-west-2:012345678901:outpost/op-1234567890123456/bucket/mybucket +// - ARN format: arn:{partition}:s3-outposts:{region}:{accountId}:outpost/{outpostId}/bucket/{bucketName} +// - example: arn:aws:s3-outposts:us-west-2:012345678901:outpost/op-1234567890123456/bucket/mybucket // // Other outpost ARN formats may be supported and added in the future. -// func ParseOutpostARNResource(a arn.ARN, resParts []string) (OutpostARN, error) { if len(a.Region) == 0 { return nil, InvalidARNError{ARN: a, Reason: "region not set"} @@ -109,7 +108,6 @@ func (o OutpostBucketARN) GetARN() arn.ARN { // bucket resource id. // // parseBucketResource only parses the bucket resource id. -// func parseBucketResource(a arn.ARN, resParts []string) (bucketName string, err error) { if len(resParts) == 0 { return bucketName, InvalidARNError{ARN: a, Reason: "bucket resource-id not set"} diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/sdkmath/floor.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/sdkmath/floor.go index a8452878324d..326efc9eca31 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/sdkmath/floor.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/sdkmath/floor.go @@ -8,6 +8,7 @@ import "math" // Round returns the nearest integer, rounding half away from zero. // // Special cases are: +// // Round(±0) = ±0 // Round(±Inf) = ±Inf // Round(NaN) = NaN diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/sdkmath/floor_go1.9.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/sdkmath/floor_go1.9.go index a3ae3e5dba8c..24232660dd2c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/sdkmath/floor_go1.9.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/internal/sdkmath/floor_go1.9.go @@ -19,6 +19,7 @@ const ( // Round returns the nearest integer, rounding half away from zero. // // Special cases are: +// // Round(±0) = ±0 // Round(±Inf) = ±Inf // Round(NaN) = NaN diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/api.go index 653c3b435dd5..73d7ff5ee1e1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/api.go @@ -30,14 +30,13 @@ const opDescribeEndpoints = "DescribeEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointsRequest method. +// req, resp := client.DescribeEndpointsRequest(params) // -// // Example sending a request using the DescribeEndpointsRequest method. -// req, resp := client.DescribeEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *AwsEndpointDiscoveryTest) DescribeEndpointsRequest(input *DescribeEndpointsInput) (req *request.Request, output *DescribeEndpointsOutput) { op := &request.Operation{ Name: opDescribeEndpoints, @@ -173,14 +172,13 @@ const opTestDiscoveryIdentifiersRequired = "TestDiscoveryIdentifiersRequired" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestDiscoveryIdentifiersRequiredRequest method. +// req, resp := client.TestDiscoveryIdentifiersRequiredRequest(params) // -// // Example sending a request using the TestDiscoveryIdentifiersRequiredRequest method. -// req, resp := client.TestDiscoveryIdentifiersRequiredRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *AwsEndpointDiscoveryTest) TestDiscoveryIdentifiersRequiredRequest(input *TestDiscoveryIdentifiersRequiredInput) (req *request.Request, output *TestDiscoveryIdentifiersRequiredOutput) { op := &request.Operation{ Name: opTestDiscoveryIdentifiersRequired, @@ -266,14 +264,13 @@ const opTestDiscoveryOptional = "TestDiscoveryOptional" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestDiscoveryOptionalRequest method. +// req, resp := client.TestDiscoveryOptionalRequest(params) // -// // Example sending a request using the TestDiscoveryOptionalRequest method. -// req, resp := client.TestDiscoveryOptionalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *AwsEndpointDiscoveryTest) TestDiscoveryOptionalRequest(input *TestDiscoveryOptionalInput) (req *request.Request, output *TestDiscoveryOptionalOutput) { op := &request.Operation{ Name: opTestDiscoveryOptional, @@ -360,14 +357,13 @@ const opTestDiscoveryRequired = "TestDiscoveryRequired" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestDiscoveryRequiredRequest method. +// req, resp := client.TestDiscoveryRequiredRequest(params) // -// // Example sending a request using the TestDiscoveryRequiredRequest method. -// req, resp := client.TestDiscoveryRequiredRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *AwsEndpointDiscoveryTest) TestDiscoveryRequiredRequest(input *TestDiscoveryRequiredInput) (req *request.Request, output *TestDiscoveryRequiredOutput) { op := &request.Operation{ Name: opTestDiscoveryRequired, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/awsendpointdiscoverytestiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/awsendpointdiscoverytestiface/interface.go index 350fb3223c91..287e3453f155 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/awsendpointdiscoverytestiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/awsendpointdiscoverytestiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AwsEndpointDiscoveryTest. -// func myFunc(svc awsendpointdiscoverytestiface.AwsEndpointDiscoveryTestAPI) bool { -// // Make svc.DescribeEndpoints request -// } +// // myFunc uses an SDK service client to make a request to +// // AwsEndpointDiscoveryTest. +// func myFunc(svc awsendpointdiscoverytestiface.AwsEndpointDiscoveryTestAPI) bool { +// // Make svc.DescribeEndpoints request +// } // -// func main() { -// sess := session.New() -// svc := awsendpointdiscoverytest.New(sess) +// func main() { +// sess := session.New() +// svc := awsendpointdiscoverytest.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAwsEndpointDiscoveryTestClient struct { -// awsendpointdiscoverytestiface.AwsEndpointDiscoveryTestAPI -// } -// func (m *mockAwsEndpointDiscoveryTestClient) DescribeEndpoints(input *awsendpointdiscoverytest.DescribeEndpointsInput) (*awsendpointdiscoverytest.DescribeEndpointsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAwsEndpointDiscoveryTestClient struct { +// awsendpointdiscoverytestiface.AwsEndpointDiscoveryTestAPI +// } +// func (m *mockAwsEndpointDiscoveryTestClient) DescribeEndpoints(input *awsendpointdiscoverytest.DescribeEndpointsInput) (*awsendpointdiscoverytest.DescribeEndpointsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAwsEndpointDiscoveryTestClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAwsEndpointDiscoveryTestClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/doc.go index d309db0bb72e..f78d9b67b831 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/doc.go @@ -6,7 +6,7 @@ // See awsendpointdiscoverytest package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/awsendpointdiscoverytest/ // -// Using the Client +// # Using the Client // // To contact AwsEndpointDiscoveryTest with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/service.go index 0933f5f351a4..2b4905bad4f5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/awsendpointdiscoverytest/service.go @@ -41,13 +41,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AwsEndpointDiscoveryTest client from just a session. -// svc := awsendpointdiscoverytest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AwsEndpointDiscoveryTest client with additional configuration -// svc := awsendpointdiscoverytest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AwsEndpointDiscoveryTest client from just a session. +// svc := awsendpointdiscoverytest.New(mySession) +// +// // Create a AwsEndpointDiscoveryTest client with additional configuration +// svc := awsendpointdiscoverytest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AwsEndpointDiscoveryTest { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/api.go index 43c72eaa7b0c..19500ce67d32 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/api.go @@ -37,14 +37,13 @@ const opEmptyStream = "EmptyStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EmptyStreamRequest method. +// req, resp := client.EmptyStreamRequest(params) // -// // Example sending a request using the EmptyStreamRequest method. -// req, resp := client.EmptyStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/RESTJSONService-0000-00-00/EmptyStream func (c *RESTJSONService) EmptyStreamRequest(input *EmptyStreamInput) (req *request.Request, output *EmptyStreamOutput) { @@ -131,9 +130,9 @@ type EmptyStreamEventStream struct { // // The Reader member must be set before reading events from the stream. // -// es := NewEmptyStreamEventStream(func(o *EmptyStreamEventStream){ -// es.Reader = myMockStreamReader -// }) +// es := NewEmptyStreamEventStream(func(o *EmptyStreamEventStream){ +// es.Reader = myMockStreamReader +// }) func NewEmptyStreamEventStream(opts ...func(*EmptyStreamEventStream)) *EmptyStreamEventStream { es := &EmptyStreamEventStream{ done: make(chan struct{}), @@ -182,7 +181,7 @@ func (es *EmptyStreamEventStream) waitStreamPartClose() { // // These events are: // -// * EmptyEventStreamUnknownEvent +// - EmptyEventStreamUnknownEvent func (es *EmptyStreamEventStream) Events() <-chan EmptyEventStreamEvent { return es.Reader.Events() } @@ -218,7 +217,6 @@ func (es *EmptyStreamEventStream) runOutputStream(r *request.Request) { // // You can use the closing of the Reader's Events channel to terminate your // application's read from the API's stream. -// func (es *EmptyStreamEventStream) Close() (err error) { es.closeOnce.Do(es.safeClose) return es.Err() @@ -264,14 +262,13 @@ const opGetEventStream = "GetEventStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEventStreamRequest method. +// req, resp := client.GetEventStreamRequest(params) // -// // Example sending a request using the GetEventStreamRequest method. -// req, resp := client.GetEventStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/RESTJSONService-0000-00-00/GetEventStream func (c *RESTJSONService) GetEventStreamRequest(input *GetEventStreamInput) (req *request.Request, output *GetEventStreamOutput) { @@ -358,9 +355,9 @@ type GetEventStreamEventStream struct { // // The Reader member must be set before reading events from the stream. // -// es := NewGetEventStreamEventStream(func(o *GetEventStreamEventStream){ -// es.Reader = myMockStreamReader -// }) +// es := NewGetEventStreamEventStream(func(o *GetEventStreamEventStream){ +// es.Reader = myMockStreamReader +// }) func NewGetEventStreamEventStream(opts ...func(*GetEventStreamEventStream)) *GetEventStreamEventStream { es := &GetEventStreamEventStream{ done: make(chan struct{}), @@ -409,14 +406,14 @@ func (es *GetEventStreamEventStream) waitStreamPartClose() { // // These events are: // -// * EmptyEvent -// * ExplicitPayloadEvent -// * HeaderOnlyEvent -// * ImplicitPayloadEvent -// * PayloadOnlyEvent -// * PayloadOnlyBlobEvent -// * PayloadOnlyStringEvent -// * EventStreamUnknownEvent +// - EmptyEvent +// - ExplicitPayloadEvent +// - HeaderOnlyEvent +// - ImplicitPayloadEvent +// - PayloadOnlyEvent +// - PayloadOnlyBlobEvent +// - PayloadOnlyStringEvent +// - EventStreamUnknownEvent func (es *GetEventStreamEventStream) Events() <-chan EventStreamEvent { return es.Reader.Events() } @@ -452,7 +449,6 @@ func (es *GetEventStreamEventStream) runOutputStream(r *request.Request) { // // You can use the closing of the Reader's Events channel to terminate your // application's read from the API's stream. -// func (es *GetEventStreamEventStream) Close() (err error) { es.closeOnce.Do(es.safeClose) return es.Err() @@ -498,14 +494,13 @@ const opOtherOperation = "OtherOperation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OtherOperationRequest method. +// req, resp := client.OtherOperationRequest(params) // -// // Example sending a request using the OtherOperationRequest method. -// req, resp := client.OtherOperationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/RESTJSONService-0000-00-00/OtherOperation func (c *RESTJSONService) OtherOperationRequest(input *OtherOperationInput) (req *request.Request, output *OtherOperationOutput) { @@ -535,7 +530,7 @@ func (c *RESTJSONService) OtherOperationRequest(input *OtherOperationInput) (req // API operation OtherOperation for usage and error information. // // Returned Error Types: -// * ExceptionEvent2 +// - ExceptionEvent2 // // See also, https://docs.aws.amazon.com/goto/WebAPI/RESTJSONService-0000-00-00/OtherOperation func (c *RESTJSONService) OtherOperation(input *OtherOperationInput) (*OtherOperationOutput, error) { @@ -604,7 +599,6 @@ func (s *EmptyEvent) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream // events writes for EmptyEventStream. // // These events are: -// type EmptyEventStreamEvent interface { eventEmptyEventStream() eventstreamapi.Marshaler @@ -618,7 +612,7 @@ type EmptyEventStreamEvent interface { // // These events are: // -// * EmptyEventStreamUnknownEvent +// - EmptyEventStreamUnknownEvent type EmptyEventStreamReader interface { // Returns a channel of events as they are read from the event stream. Events() <-chan EmptyEventStreamEvent @@ -804,13 +798,13 @@ func (s *EmptyStreamOutput) GetStream() *EmptyStreamEventStream { // // These events are: // -// * EmptyEvent -// * ExplicitPayloadEvent -// * HeaderOnlyEvent -// * ImplicitPayloadEvent -// * PayloadOnlyEvent -// * PayloadOnlyBlobEvent -// * PayloadOnlyStringEvent +// - EmptyEvent +// - ExplicitPayloadEvent +// - HeaderOnlyEvent +// - ImplicitPayloadEvent +// - PayloadOnlyEvent +// - PayloadOnlyBlobEvent +// - PayloadOnlyStringEvent type EventStreamEvent interface { eventEventStream() eventstreamapi.Marshaler @@ -824,14 +818,14 @@ type EventStreamEvent interface { // // These events are: // -// * EmptyEvent -// * ExplicitPayloadEvent -// * HeaderOnlyEvent -// * ImplicitPayloadEvent -// * PayloadOnlyEvent -// * PayloadOnlyBlobEvent -// * PayloadOnlyStringEvent -// * EventStreamUnknownEvent +// - EmptyEvent +// - ExplicitPayloadEvent +// - HeaderOnlyEvent +// - ImplicitPayloadEvent +// - PayloadOnlyEvent +// - PayloadOnlyBlobEvent +// - PayloadOnlyStringEvent +// - EventStreamUnknownEvent type EventStreamReader interface { // Returns a channel of events as they are read from the event stream. Events() <-chan EventStreamEvent diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/doc.go index d73e40c0349e..1776fa3f561f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/doc.go @@ -8,7 +8,7 @@ // See restjsonservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/restjsonservice/ // -// Using the Client +// # Using the Client // // To contact REST JSON Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/restjsonserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/restjsonserviceiface/interface.go index 6e83b20394ad..493343c82595 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/restjsonserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/restjsonserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // REST JSON Service. -// func myFunc(svc restjsonserviceiface.RESTJSONServiceAPI) bool { -// // Make svc.EmptyStream request -// } +// // myFunc uses an SDK service client to make a request to +// // REST JSON Service. +// func myFunc(svc restjsonserviceiface.RESTJSONServiceAPI) bool { +// // Make svc.EmptyStream request +// } // -// func main() { -// sess := session.New() -// svc := restjsonservice.New(sess) +// func main() { +// sess := session.New() +// svc := restjsonservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRESTJSONServiceClient struct { -// restjsonserviceiface.RESTJSONServiceAPI -// } -// func (m *mockRESTJSONServiceClient) EmptyStream(input *restjsonservice.EmptyStreamInput) (*restjsonservice.EmptyStreamOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRESTJSONServiceClient struct { +// restjsonserviceiface.RESTJSONServiceAPI +// } +// func (m *mockRESTJSONServiceClient) EmptyStream(input *restjsonservice.EmptyStreamInput) (*restjsonservice.EmptyStreamOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRESTJSONServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRESTJSONServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/service.go index d0e4b78ff507..e7911def3990 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restjsonservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a RESTJSONService client from just a session. -// svc := restjsonservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a RESTJSONService client with additional configuration -// svc := restjsonservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a RESTJSONService client from just a session. +// svc := restjsonservice.New(mySession) +// +// // Create a RESTJSONService client with additional configuration +// svc := restjsonservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *RESTJSONService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/api.go index de92119ddb63..9394580c1441 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/api.go @@ -37,14 +37,13 @@ const opEmptyStream = "EmptyStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EmptyStreamRequest method. +// req, resp := client.EmptyStreamRequest(params) // -// // Example sending a request using the EmptyStreamRequest method. -// req, resp := client.EmptyStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/RESTXMLService-0000-00-00/EmptyStream func (c *RESTXMLService) EmptyStreamRequest(input *EmptyStreamInput) (req *request.Request, output *EmptyStreamOutput) { @@ -131,9 +130,9 @@ type EmptyStreamEventStream struct { // // The Reader member must be set before reading events from the stream. // -// es := NewEmptyStreamEventStream(func(o *EmptyStreamEventStream){ -// es.Reader = myMockStreamReader -// }) +// es := NewEmptyStreamEventStream(func(o *EmptyStreamEventStream){ +// es.Reader = myMockStreamReader +// }) func NewEmptyStreamEventStream(opts ...func(*EmptyStreamEventStream)) *EmptyStreamEventStream { es := &EmptyStreamEventStream{ done: make(chan struct{}), @@ -182,7 +181,7 @@ func (es *EmptyStreamEventStream) waitStreamPartClose() { // // These events are: // -// * EmptyEventStreamUnknownEvent +// - EmptyEventStreamUnknownEvent func (es *EmptyStreamEventStream) Events() <-chan EmptyEventStreamEvent { return es.Reader.Events() } @@ -218,7 +217,6 @@ func (es *EmptyStreamEventStream) runOutputStream(r *request.Request) { // // You can use the closing of the Reader's Events channel to terminate your // application's read from the API's stream. -// func (es *EmptyStreamEventStream) Close() (err error) { es.closeOnce.Do(es.safeClose) return es.Err() @@ -264,14 +262,13 @@ const opGetEventStream = "GetEventStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEventStreamRequest method. +// req, resp := client.GetEventStreamRequest(params) // -// // Example sending a request using the GetEventStreamRequest method. -// req, resp := client.GetEventStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/RESTXMLService-0000-00-00/GetEventStream func (c *RESTXMLService) GetEventStreamRequest(input *GetEventStreamInput) (req *request.Request, output *GetEventStreamOutput) { @@ -358,9 +355,9 @@ type GetEventStreamEventStream struct { // // The Reader member must be set before reading events from the stream. // -// es := NewGetEventStreamEventStream(func(o *GetEventStreamEventStream){ -// es.Reader = myMockStreamReader -// }) +// es := NewGetEventStreamEventStream(func(o *GetEventStreamEventStream){ +// es.Reader = myMockStreamReader +// }) func NewGetEventStreamEventStream(opts ...func(*GetEventStreamEventStream)) *GetEventStreamEventStream { es := &GetEventStreamEventStream{ done: make(chan struct{}), @@ -409,14 +406,14 @@ func (es *GetEventStreamEventStream) waitStreamPartClose() { // // These events are: // -// * EmptyEvent -// * ExplicitPayloadEvent -// * HeaderOnlyEvent -// * ImplicitPayloadEvent -// * PayloadOnlyEvent -// * PayloadOnlyBlobEvent -// * PayloadOnlyStringEvent -// * EventStreamUnknownEvent +// - EmptyEvent +// - ExplicitPayloadEvent +// - HeaderOnlyEvent +// - ImplicitPayloadEvent +// - PayloadOnlyEvent +// - PayloadOnlyBlobEvent +// - PayloadOnlyStringEvent +// - EventStreamUnknownEvent func (es *GetEventStreamEventStream) Events() <-chan EventStreamEvent { return es.Reader.Events() } @@ -452,7 +449,6 @@ func (es *GetEventStreamEventStream) runOutputStream(r *request.Request) { // // You can use the closing of the Reader's Events channel to terminate your // application's read from the API's stream. -// func (es *GetEventStreamEventStream) Close() (err error) { es.closeOnce.Do(es.safeClose) return es.Err() @@ -498,14 +494,13 @@ const opOtherOperation = "OtherOperation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OtherOperationRequest method. +// req, resp := client.OtherOperationRequest(params) // -// // Example sending a request using the OtherOperationRequest method. -// req, resp := client.OtherOperationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/RESTXMLService-0000-00-00/OtherOperation func (c *RESTXMLService) OtherOperationRequest(input *OtherOperationInput) (req *request.Request, output *OtherOperationOutput) { @@ -535,7 +530,7 @@ func (c *RESTXMLService) OtherOperationRequest(input *OtherOperationInput) (req // API operation OtherOperation for usage and error information. // // Returned Error Codes: -// * ErrCodeExceptionEvent2 "ExceptionEvent2" +// - ErrCodeExceptionEvent2 "ExceptionEvent2" // // See also, https://docs.aws.amazon.com/goto/WebAPI/RESTXMLService-0000-00-00/OtherOperation func (c *RESTXMLService) OtherOperation(input *OtherOperationInput) (*OtherOperationOutput, error) { @@ -604,7 +599,6 @@ func (s *EmptyEvent) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream // events writes for EmptyEventStream. // // These events are: -// type EmptyEventStreamEvent interface { eventEmptyEventStream() eventstreamapi.Marshaler @@ -618,7 +612,7 @@ type EmptyEventStreamEvent interface { // // These events are: // -// * EmptyEventStreamUnknownEvent +// - EmptyEventStreamUnknownEvent type EmptyEventStreamReader interface { // Returns a channel of events as they are read from the event stream. Events() <-chan EmptyEventStreamEvent @@ -804,13 +798,13 @@ func (s *EmptyStreamOutput) GetStream() *EmptyStreamEventStream { // // These events are: // -// * EmptyEvent -// * ExplicitPayloadEvent -// * HeaderOnlyEvent -// * ImplicitPayloadEvent -// * PayloadOnlyEvent -// * PayloadOnlyBlobEvent -// * PayloadOnlyStringEvent +// - EmptyEvent +// - ExplicitPayloadEvent +// - HeaderOnlyEvent +// - ImplicitPayloadEvent +// - PayloadOnlyEvent +// - PayloadOnlyBlobEvent +// - PayloadOnlyStringEvent type EventStreamEvent interface { eventEventStream() eventstreamapi.Marshaler @@ -824,14 +818,14 @@ type EventStreamEvent interface { // // These events are: // -// * EmptyEvent -// * ExplicitPayloadEvent -// * HeaderOnlyEvent -// * ImplicitPayloadEvent -// * PayloadOnlyEvent -// * PayloadOnlyBlobEvent -// * PayloadOnlyStringEvent -// * EventStreamUnknownEvent +// - EmptyEvent +// - ExplicitPayloadEvent +// - HeaderOnlyEvent +// - ImplicitPayloadEvent +// - PayloadOnlyEvent +// - PayloadOnlyBlobEvent +// - PayloadOnlyStringEvent +// - EventStreamUnknownEvent type EventStreamReader interface { // Returns a channel of events as they are read from the event stream. Events() <-chan EventStreamEvent diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/doc.go index 3cf47d170f3a..260d5ea79685 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/doc.go @@ -8,7 +8,7 @@ // See restxmlservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/restxmlservice/ // -// Using the Client +// # Using the Client // // To contact REST XML Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/restxmlserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/restxmlserviceiface/interface.go index 384295d64e05..e7e5674d252b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/restxmlserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/restxmlserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // REST XML Service. -// func myFunc(svc restxmlserviceiface.RESTXMLServiceAPI) bool { -// // Make svc.EmptyStream request -// } +// // myFunc uses an SDK service client to make a request to +// // REST XML Service. +// func myFunc(svc restxmlserviceiface.RESTXMLServiceAPI) bool { +// // Make svc.EmptyStream request +// } // -// func main() { -// sess := session.New() -// svc := restxmlservice.New(sess) +// func main() { +// sess := session.New() +// svc := restxmlservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRESTXMLServiceClient struct { -// restxmlserviceiface.RESTXMLServiceAPI -// } -// func (m *mockRESTXMLServiceClient) EmptyStream(input *restxmlservice.EmptyStreamInput) (*restxmlservice.EmptyStreamOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRESTXMLServiceClient struct { +// restxmlserviceiface.RESTXMLServiceAPI +// } +// func (m *mockRESTXMLServiceClient) EmptyStream(input *restxmlservice.EmptyStreamInput) (*restxmlservice.EmptyStreamOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRESTXMLServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRESTXMLServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/service.go index 80e8b4a70c72..fa7e03b56d89 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/restxmlservice/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a RESTXMLService client from just a session. -// svc := restxmlservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a RESTXMLService client with additional configuration -// svc := restxmlservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a RESTXMLService client from just a session. +// svc := restxmlservice.New(mySession) +// +// // Create a RESTXMLService client with additional configuration +// svc := restxmlservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *RESTXMLService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/api.go index 006a15ab4828..f659c7362cfb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/api.go @@ -37,14 +37,13 @@ const opEmptyStream = "EmptyStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EmptyStreamRequest method. +// req, resp := client.EmptyStreamRequest(params) // -// // Example sending a request using the EmptyStreamRequest method. -// req, resp := client.EmptyStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/RPCService-0000-00-00/EmptyStream func (c *RPCService) EmptyStreamRequest(input *EmptyStreamInput) (req *request.Request, output *EmptyStreamOutput) { @@ -134,9 +133,9 @@ type EmptyStreamEventStream struct { // // The Reader member must be set before reading events from the stream. // -// es := NewEmptyStreamEventStream(func(o *EmptyStreamEventStream){ -// es.Reader = myMockStreamReader -// }) +// es := NewEmptyStreamEventStream(func(o *EmptyStreamEventStream){ +// es.Reader = myMockStreamReader +// }) func NewEmptyStreamEventStream(opts ...func(*EmptyStreamEventStream)) *EmptyStreamEventStream { es := &EmptyStreamEventStream{ done: make(chan struct{}), @@ -197,7 +196,7 @@ func (e eventTypeForEmptyStreamEventStreamOutputEvent) UnmarshalerForEventName(e // // These events are: // -// * EmptyEventStreamUnknownEvent +// - EmptyEventStreamUnknownEvent func (es *EmptyStreamEventStream) Events() <-chan EmptyEventStreamEvent { return es.Reader.Events() } @@ -261,7 +260,6 @@ func (es *EmptyStreamEventStream) recvInitialEvent(r *request.Request) { // // You can use the closing of the Reader's Events channel to terminate your // application's read from the API's stream. -// func (es *EmptyStreamEventStream) Close() (err error) { es.closeOnce.Do(es.safeClose) return es.Err() @@ -307,14 +305,13 @@ const opGetEventStream = "GetEventStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEventStreamRequest method. +// req, resp := client.GetEventStreamRequest(params) // -// // Example sending a request using the GetEventStreamRequest method. -// req, resp := client.GetEventStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/RPCService-0000-00-00/GetEventStream func (c *RPCService) GetEventStreamRequest(input *GetEventStreamInput) (req *request.Request, output *GetEventStreamOutput) { @@ -404,9 +401,9 @@ type GetEventStreamEventStream struct { // // The Reader member must be set before reading events from the stream. // -// es := NewGetEventStreamEventStream(func(o *GetEventStreamEventStream){ -// es.Reader = myMockStreamReader -// }) +// es := NewGetEventStreamEventStream(func(o *GetEventStreamEventStream){ +// es.Reader = myMockStreamReader +// }) func NewGetEventStreamEventStream(opts ...func(*GetEventStreamEventStream)) *GetEventStreamEventStream { es := &GetEventStreamEventStream{ done: make(chan struct{}), @@ -467,14 +464,14 @@ func (e eventTypeForGetEventStreamEventStreamOutputEvent) UnmarshalerForEventNam // // These events are: // -// * EmptyEvent -// * ExplicitPayloadEvent -// * HeaderOnlyEvent -// * ImplicitPayloadEvent -// * PayloadOnlyEvent -// * PayloadOnlyBlobEvent -// * PayloadOnlyStringEvent -// * EventStreamUnknownEvent +// - EmptyEvent +// - ExplicitPayloadEvent +// - HeaderOnlyEvent +// - ImplicitPayloadEvent +// - PayloadOnlyEvent +// - PayloadOnlyBlobEvent +// - PayloadOnlyStringEvent +// - EventStreamUnknownEvent func (es *GetEventStreamEventStream) Events() <-chan EventStreamEvent { return es.Reader.Events() } @@ -538,7 +535,6 @@ func (es *GetEventStreamEventStream) recvInitialEvent(r *request.Request) { // // You can use the closing of the Reader's Events channel to terminate your // application's read from the API's stream. -// func (es *GetEventStreamEventStream) Close() (err error) { es.closeOnce.Do(es.safeClose) return es.Err() @@ -584,14 +580,13 @@ const opOtherOperation = "OtherOperation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OtherOperationRequest method. +// req, resp := client.OtherOperationRequest(params) // -// // Example sending a request using the OtherOperationRequest method. -// req, resp := client.OtherOperationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/RPCService-0000-00-00/OtherOperation func (c *RPCService) OtherOperationRequest(input *OtherOperationInput) (req *request.Request, output *OtherOperationOutput) { @@ -621,7 +616,7 @@ func (c *RPCService) OtherOperationRequest(input *OtherOperationInput) (req *req // API operation OtherOperation for usage and error information. // // Returned Error Types: -// * ExceptionEvent2 +// - ExceptionEvent2 // // See also, https://docs.aws.amazon.com/goto/WebAPI/RPCService-0000-00-00/OtherOperation func (c *RPCService) OtherOperation(input *OtherOperationInput) (*OtherOperationOutput, error) { @@ -690,7 +685,6 @@ func (s *EmptyEvent) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream // events writes for EmptyEventStream. // // These events are: -// type EmptyEventStreamEvent interface { eventEmptyEventStream() eventstreamapi.Marshaler @@ -704,7 +698,7 @@ type EmptyEventStreamEvent interface { // // These events are: // -// * EmptyEventStreamUnknownEvent +// - EmptyEventStreamUnknownEvent type EmptyEventStreamReader interface { // Returns a channel of events as they are read from the event stream. Events() <-chan EmptyEventStreamEvent @@ -919,13 +913,13 @@ func (s *EmptyStreamOutput) MarshalEvent(pm protocol.PayloadMarshaler) (msg even // // These events are: // -// * EmptyEvent -// * ExplicitPayloadEvent -// * HeaderOnlyEvent -// * ImplicitPayloadEvent -// * PayloadOnlyEvent -// * PayloadOnlyBlobEvent -// * PayloadOnlyStringEvent +// - EmptyEvent +// - ExplicitPayloadEvent +// - HeaderOnlyEvent +// - ImplicitPayloadEvent +// - PayloadOnlyEvent +// - PayloadOnlyBlobEvent +// - PayloadOnlyStringEvent type EventStreamEvent interface { eventEventStream() eventstreamapi.Marshaler @@ -939,14 +933,14 @@ type EventStreamEvent interface { // // These events are: // -// * EmptyEvent -// * ExplicitPayloadEvent -// * HeaderOnlyEvent -// * ImplicitPayloadEvent -// * PayloadOnlyEvent -// * PayloadOnlyBlobEvent -// * PayloadOnlyStringEvent -// * EventStreamUnknownEvent +// - EmptyEvent +// - ExplicitPayloadEvent +// - HeaderOnlyEvent +// - ImplicitPayloadEvent +// - PayloadOnlyEvent +// - PayloadOnlyBlobEvent +// - PayloadOnlyStringEvent +// - EventStreamUnknownEvent type EventStreamReader interface { // Returns a channel of events as they are read from the event stream. Events() <-chan EventStreamEvent diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/doc.go index c415abb0e119..ee5e9db0431e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/doc.go @@ -8,7 +8,7 @@ // See rpcservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/rpcservice/ // -// Using the Client +// # Using the Client // // To contact RPC Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/rpcserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/rpcserviceiface/interface.go index 98f454ad810b..decf1f721719 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/rpcserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/rpcserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // RPC Service. -// func myFunc(svc rpcserviceiface.RPCServiceAPI) bool { -// // Make svc.EmptyStream request -// } +// // myFunc uses an SDK service client to make a request to +// // RPC Service. +// func myFunc(svc rpcserviceiface.RPCServiceAPI) bool { +// // Make svc.EmptyStream request +// } // -// func main() { -// sess := session.New() -// svc := rpcservice.New(sess) +// func main() { +// sess := session.New() +// svc := rpcservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRPCServiceClient struct { -// rpcserviceiface.RPCServiceAPI -// } -// func (m *mockRPCServiceClient) EmptyStream(input *rpcservice.EmptyStreamInput) (*rpcservice.EmptyStreamOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRPCServiceClient struct { +// rpcserviceiface.RPCServiceAPI +// } +// func (m *mockRPCServiceClient) EmptyStream(input *rpcservice.EmptyStreamInput) (*rpcservice.EmptyStreamOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRPCServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRPCServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/service.go index d1acee9bcc13..fcf1c17c0dea 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/codegentest/service/rpcservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a RPCService client from just a session. -// svc := rpcservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a RPCService client with additional configuration -// svc := rpcservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a RPCService client from just a session. +// svc := rpcservice.New(mySession) +// +// // Create a RPCService client with additional configuration +// svc := rpcservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *RPCService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/legacy_jsonvalue.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/legacy_jsonvalue.go index f5174eeb4372..1ab3e0eb411c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/legacy_jsonvalue.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/legacy_jsonvalue.go @@ -11,196 +11,196 @@ type legacyJSONValues struct { } var legacyJSONValueShapes = map[string]map[string]legacyJSONValues{ - "braket": map[string]legacyJSONValues{ - "CreateQuantumTaskRequest": legacyJSONValues{ + "braket": { + "CreateQuantumTaskRequest": { Type: "structure", StructMembers: map[string]struct{}{ - "action": struct{}{}, - "deviceParameters": struct{}{}, + "action": {}, + "deviceParameters": {}, }, }, - "GetDeviceResponse": legacyJSONValues{ + "GetDeviceResponse": { Type: "structure", StructMembers: map[string]struct{}{ - "deviceCapabilities": struct{}{}, + "deviceCapabilities": {}, }, }, - "GetQuantumTaskResponse": legacyJSONValues{ + "GetQuantumTaskResponse": { Type: "structure", StructMembers: map[string]struct{}{ - "deviceParameters": struct{}{}, + "deviceParameters": {}, }, }, }, - "cloudwatchrum": map[string]legacyJSONValues{ - "RumEvent": legacyJSONValues{ + "cloudwatchrum": { + "RumEvent": { Type: "structure", StructMembers: map[string]struct{}{ - "details": struct{}{}, - "metadata": struct{}{}, + "details": {}, + "metadata": {}, }, }, }, - "lexruntimeservice": map[string]legacyJSONValues{ - "PostContentRequest": legacyJSONValues{ + "lexruntimeservice": { + "PostContentRequest": { Type: "structure", StructMembers: map[string]struct{}{ - "requestAttributes": struct{}{}, + "requestAttributes": {}, //"ActiveContexts": struct{}{}, - Disabled because JSON List - "sessionAttributes": struct{}{}, + "sessionAttributes": {}, }, }, - "PostContentResponse": legacyJSONValues{ + "PostContentResponse": { Type: "structure", StructMembers: map[string]struct{}{ // "alternativeIntents": struct{}{}, - Disabled because JSON List - "sessionAttributes": struct{}{}, - "nluIntentConfidence": struct{}{}, - "slots": struct{}{}, + "sessionAttributes": {}, + "nluIntentConfidence": {}, + "slots": {}, //"activeContexts": struct{}{}, - Disabled because JSON List }, }, - "PutSessionResponse": legacyJSONValues{ + "PutSessionResponse": { Type: "structure", StructMembers: map[string]struct{}{ // "activeContexts": struct{}{}, - Disabled because JSON List - "slots": struct{}{}, - "sessionAttributes": struct{}{}, + "slots": {}, + "sessionAttributes": {}, }, }, }, - "lookoutequipment": map[string]legacyJSONValues{ - "DatasetSchema": legacyJSONValues{ + "lookoutequipment": { + "DatasetSchema": { Type: "structure", StructMembers: map[string]struct{}{ - "InlineDataSchema": struct{}{}, + "InlineDataSchema": {}, }, }, - "DescribeDatasetResponse": legacyJSONValues{ + "DescribeDatasetResponse": { Type: "structure", StructMembers: map[string]struct{}{ - "Schema": struct{}{}, + "Schema": {}, }, }, - "DescribeModelResponse": legacyJSONValues{ + "DescribeModelResponse": { Type: "structure", StructMembers: map[string]struct{}{ - "Schema": struct{}{}, - "ModelMetrics": struct{}{}, + "Schema": {}, + "ModelMetrics": {}, }, }, }, - "networkmanager": map[string]legacyJSONValues{ - "CoreNetworkPolicy": legacyJSONValues{ + "networkmanager": { + "CoreNetworkPolicy": { Type: "structure", StructMembers: map[string]struct{}{ - "PolicyDocument": struct{}{}, + "PolicyDocument": {}, }, }, - "GetResourcePolicyResponse": legacyJSONValues{ + "GetResourcePolicyResponse": { Type: "structure", StructMembers: map[string]struct{}{ - "PolicyDocument": struct{}{}, + "PolicyDocument": {}, }, }, - "PutCoreNetworkPolicyRequest": legacyJSONValues{ + "PutCoreNetworkPolicyRequest": { Type: "structure", StructMembers: map[string]struct{}{ - "PolicyDocument": struct{}{}, + "PolicyDocument": {}, }, }, - "PutResourcePolicyRequest": legacyJSONValues{ + "PutResourcePolicyRequest": { Type: "structure", StructMembers: map[string]struct{}{ - "PolicyDocument": struct{}{}, + "PolicyDocument": {}, }, }, }, - "personalizeevents": map[string]legacyJSONValues{ - "Event": legacyJSONValues{ + "personalizeevents": { + "Event": { Type: "structure", StructMembers: map[string]struct{}{ - "properties": struct{}{}, + "properties": {}, }, }, - "Item": legacyJSONValues{ + "Item": { Type: "structure", StructMembers: map[string]struct{}{ - "properties": struct{}{}, + "properties": {}, }, }, - "User": legacyJSONValues{ + "User": { Type: "structure", StructMembers: map[string]struct{}{ - "properties": struct{}{}, + "properties": {}, }, }, }, - "pricing": map[string]legacyJSONValues{ - "PriceList": legacyJSONValues{ + "pricing": { + "PriceList": { Type: "list", ListMemberRef: true, }, }, - "rekognition": map[string]legacyJSONValues{ - "HumanLoopActivationOutput": legacyJSONValues{ + "rekognition": { + "HumanLoopActivationOutput": { Type: "structure", StructMembers: map[string]struct{}{ - "HumanLoopActivationConditionsEvaluationResults": struct{}{}, + "HumanLoopActivationConditionsEvaluationResults": {}, }, }, }, - "sagemaker": map[string]legacyJSONValues{ - "HumanLoopActivationConditionsConfig": legacyJSONValues{ + "sagemaker": { + "HumanLoopActivationConditionsConfig": { Type: "structure", StructMembers: map[string]struct{}{ - "HumanLoopActivationConditions": struct{}{}, + "HumanLoopActivationConditions": {}, }, }, }, - "schemas": map[string]legacyJSONValues{ - "GetResourcePolicyResponse": legacyJSONValues{ + "schemas": { + "GetResourcePolicyResponse": { Type: "structure", StructMembers: map[string]struct{}{ - "Policy": struct{}{}, + "Policy": {}, }, }, - "PutResourcePolicyRequest": legacyJSONValues{ + "PutResourcePolicyRequest": { Type: "structure", StructMembers: map[string]struct{}{ - "Policy": struct{}{}, + "Policy": {}, }, }, - "PutResourcePolicyResponse": legacyJSONValues{ + "PutResourcePolicyResponse": { Type: "structure", StructMembers: map[string]struct{}{ - "Policy": struct{}{}, + "Policy": {}, }, }, - "GetResourcePolicyOutput": legacyJSONValues{ + "GetResourcePolicyOutput": { Type: "structure", StructMembers: map[string]struct{}{ - "Policy": struct{}{}, + "Policy": {}, }, }, - "PutResourcePolicyInput": legacyJSONValues{ + "PutResourcePolicyInput": { Type: "structure", StructMembers: map[string]struct{}{ - "Policy": struct{}{}, + "Policy": {}, }, }, - "PutResourcePolicyOutput": legacyJSONValues{ + "PutResourcePolicyOutput": { Type: "structure", StructMembers: map[string]struct{}{ - "Policy": struct{}{}, + "Policy": {}, }, }, }, - "textract": map[string]legacyJSONValues{ - "HumanLoopActivationOutput": legacyJSONValues{ + "textract": { + "HumanLoopActivationOutput": { Type: "structure", StructMembers: map[string]struct{}{ - "HumanLoopActivationConditionsEvaluationResults": struct{}{}, + "HumanLoopActivationConditionsEvaluationResults": {}, }, }, }, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/load.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/load.go index dca116bf5cb2..e42c65f43294 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/load.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/api/load.go @@ -119,11 +119,11 @@ func attachModelFiles(modelPath string, modelFiles ...modelLoader) error { // pattern passed in. Returns the path of the model file to be loaded. Includes // all versions of a service model. // -// e.g: -// models/apis/*/*/api-2.json +// e.g: +// models/apis/*/*/api-2.json // -// Or with specific model file: -// models/apis/service/version/api-2.json +// Or with specific model file: +// models/apis/service/version/api-2.json func ExpandModelGlobPath(globs ...string) ([]string, error) { modelPaths := []string{} @@ -146,7 +146,7 @@ func ExpandModelGlobPath(globs ...string) ([]string, error) { // Uses the third from last path element to determine unique service. Only one // service version will be included. // -// models/apis/service/version/api-2.json +// models/apis/service/version/api-2.json func TrimModelServiceVersions(modelPaths []string) (include, exclude []string) { sort.Strings(modelPaths) diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/cli/gen-api/main.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/cli/gen-api/main.go index 298a46972147..3c95dc483cbc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/cli/gen-api/main.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/cli/gen-api/main.go @@ -4,7 +4,7 @@ // Command aws-gen-gocli parses a JSON description of an AWS API and generates a // Go file containing a client for the API. // -// aws-gen-gocli apis/s3/2006-03-03/api-2.json +// aws-gen-gocli apis/s3/2006-03-03/api-2.json package main import ( @@ -44,7 +44,8 @@ Flags:`) // -path alternative service path to write generated files to for each service. // // Env: -// SERVICES comma separated list of services to generate. +// +// SERVICES comma separated list of services to generate. func main() { var svcPath, svcImportPath string flag.StringVar(&svcPath, "path", "service", diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/cli/gen-endpoints/main.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/cli/gen-endpoints/main.go index f686c03231df..ed33fbce3656 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/cli/gen-endpoints/main.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/model/cli/gen-endpoints/main.go @@ -4,7 +4,7 @@ // Command gen-endpoints parses a JSON description of the AWS endpoint // discovery logic and generates a Go file which returns an endpoint. // -// aws-gen-goendpoints apis/_endpoints.json aws/endpoints_map.go +// aws-gen-goendpoints apis/_endpoints.json aws/endpoints_map.go package main import ( @@ -18,8 +18,9 @@ import ( // Generates the endpoints from json description // // Args: -// -model The definition file to use -// -out The output file to generate +// +// -model The definition file to use +// -out The output file to generate func main() { var modelName, outName string flag.StringVar(&modelName, "model", "", "Endpoints definition model") diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/ec2query/build_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/ec2query/build_test.go index 2c818b84d981..90c76a629735 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/ec2query/build_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/ec2query/build_test.go @@ -61,13 +61,14 @@ type InputService1ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService1ProtocolTest client from just a session. -// svc := inputservice1protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService1ProtocolTest client with additional configuration -// svc := inputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService1ProtocolTest client from just a session. +// svc := inputservice1protocoltest.New(mySession) +// +// // Create a InputService1ProtocolTest client with additional configuration +// svc := inputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService1ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService1ProtocolTest { c := p.ClientConfig("inputservice1protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -128,14 +129,13 @@ const opInputService1TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService1TestCaseOperation1Request method. +// req, resp := client.InputService1TestCaseOperation1Request(params) // -// // Example sending a request using the InputService1TestCaseOperation1Request method. -// req, resp := client.InputService1TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService1ProtocolTest) InputService1TestCaseOperation1Request(input *InputService1TestShapeInputService1TestCaseOperation1Input) (req *request.Request, output *InputService1TestShapeInputService1TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService1TestCaseOperation1, @@ -220,13 +220,14 @@ type InputService2ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService2ProtocolTest client from just a session. -// svc := inputservice2protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService2ProtocolTest client with additional configuration -// svc := inputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService2ProtocolTest client from just a session. +// svc := inputservice2protocoltest.New(mySession) +// +// // Create a InputService2ProtocolTest client with additional configuration +// svc := inputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService2ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService2ProtocolTest { c := p.ClientConfig("inputservice2protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -287,14 +288,13 @@ const opInputService2TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService2TestCaseOperation1Request method. +// req, resp := client.InputService2TestCaseOperation1Request(params) // -// // Example sending a request using the InputService2TestCaseOperation1Request method. -// req, resp := client.InputService2TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService2ProtocolTest) InputService2TestCaseOperation1Request(input *InputService2TestShapeInputService2TestCaseOperation1Input) (req *request.Request, output *InputService2TestShapeInputService2TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService2TestCaseOperation1, @@ -387,13 +387,14 @@ type InputService3ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService3ProtocolTest client from just a session. -// svc := inputservice3protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService3ProtocolTest client with additional configuration -// svc := inputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService3ProtocolTest client from just a session. +// svc := inputservice3protocoltest.New(mySession) +// +// // Create a InputService3ProtocolTest client with additional configuration +// svc := inputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService3ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService3ProtocolTest { c := p.ClientConfig("inputservice3protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -454,14 +455,13 @@ const opInputService3TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService3TestCaseOperation1Request method. +// req, resp := client.InputService3TestCaseOperation1Request(params) // -// // Example sending a request using the InputService3TestCaseOperation1Request method. -// req, resp := client.InputService3TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService3ProtocolTest) InputService3TestCaseOperation1Request(input *InputService3TestShapeInputService3TestCaseOperation1Input) (req *request.Request, output *InputService3TestShapeInputService3TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService3TestCaseOperation1, @@ -550,13 +550,14 @@ type InputService4ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService4ProtocolTest client from just a session. -// svc := inputservice4protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService4ProtocolTest client from just a session. +// svc := inputservice4protocoltest.New(mySession) // -// // Create a InputService4ProtocolTest client with additional configuration -// svc := inputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService4ProtocolTest client with additional configuration +// svc := inputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService4ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService4ProtocolTest { c := p.ClientConfig("inputservice4protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -617,14 +618,13 @@ const opInputService4TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService4TestCaseOperation1Request method. +// req, resp := client.InputService4TestCaseOperation1Request(params) // -// // Example sending a request using the InputService4TestCaseOperation1Request method. -// req, resp := client.InputService4TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService4ProtocolTest) InputService4TestCaseOperation1Request(input *InputService4TestShapeInputService4TestCaseOperation1Input) (req *request.Request, output *InputService4TestShapeInputService4TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService4TestCaseOperation1, @@ -725,13 +725,14 @@ type InputService5ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService5ProtocolTest client from just a session. -// svc := inputservice5protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService5ProtocolTest client from just a session. +// svc := inputservice5protocoltest.New(mySession) // -// // Create a InputService5ProtocolTest client with additional configuration -// svc := inputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService5ProtocolTest client with additional configuration +// svc := inputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService5ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService5ProtocolTest { c := p.ClientConfig("inputservice5protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -792,14 +793,13 @@ const opInputService5TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService5TestCaseOperation1Request method. +// req, resp := client.InputService5TestCaseOperation1Request(params) // -// // Example sending a request using the InputService5TestCaseOperation1Request method. -// req, resp := client.InputService5TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService5ProtocolTest) InputService5TestCaseOperation1Request(input *InputService5TestShapeInputService5TestCaseOperation1Input) (req *request.Request, output *InputService5TestShapeInputService5TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService5TestCaseOperation1, @@ -876,13 +876,14 @@ type InputService6ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService6ProtocolTest client from just a session. -// svc := inputservice6protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService6ProtocolTest client with additional configuration -// svc := inputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService6ProtocolTest client from just a session. +// svc := inputservice6protocoltest.New(mySession) +// +// // Create a InputService6ProtocolTest client with additional configuration +// svc := inputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService6ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService6ProtocolTest { c := p.ClientConfig("inputservice6protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -943,14 +944,13 @@ const opInputService6TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService6TestCaseOperation1Request method. +// req, resp := client.InputService6TestCaseOperation1Request(params) // -// // Example sending a request using the InputService6TestCaseOperation1Request method. -// req, resp := client.InputService6TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService6ProtocolTest) InputService6TestCaseOperation1Request(input *InputService6TestShapeInputService6TestCaseOperation1Input) (req *request.Request, output *InputService6TestShapeInputService6TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService6TestCaseOperation1, @@ -1027,13 +1027,14 @@ type InputService7ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService7ProtocolTest client from just a session. -// svc := inputservice7protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService7ProtocolTest client from just a session. +// svc := inputservice7protocoltest.New(mySession) // -// // Create a InputService7ProtocolTest client with additional configuration -// svc := inputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService7ProtocolTest client with additional configuration +// svc := inputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService7ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService7ProtocolTest { c := p.ClientConfig("inputservice7protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1094,14 +1095,13 @@ const opInputService7TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService7TestCaseOperation1Request method. +// req, resp := client.InputService7TestCaseOperation1Request(params) // -// // Example sending a request using the InputService7TestCaseOperation1Request method. -// req, resp := client.InputService7TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService7ProtocolTest) InputService7TestCaseOperation1Request(input *InputService7TestShapeInputService7TestCaseOperation1Input) (req *request.Request, output *InputService7TestShapeInputService7TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService7TestCaseOperation1, @@ -1179,13 +1179,14 @@ type InputService8ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService8ProtocolTest client from just a session. -// svc := inputservice8protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService8ProtocolTest client from just a session. +// svc := inputservice8protocoltest.New(mySession) // -// // Create a InputService8ProtocolTest client with additional configuration -// svc := inputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService8ProtocolTest client with additional configuration +// svc := inputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService8ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService8ProtocolTest { c := p.ClientConfig("inputservice8protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1246,14 +1247,13 @@ const opInputService8TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService8TestCaseOperation1Request method. +// req, resp := client.InputService8TestCaseOperation1Request(params) // -// // Example sending a request using the InputService8TestCaseOperation1Request method. -// req, resp := client.InputService8TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService8ProtocolTest) InputService8TestCaseOperation1Request(input *InputService8TestShapeInputService8TestCaseOperation1Input) (req *request.Request, output *InputService8TestShapeInputService8TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService8TestCaseOperation1, @@ -1346,13 +1346,14 @@ type InputService9ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService9ProtocolTest client from just a session. -// svc := inputservice9protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService9ProtocolTest client with additional configuration -// svc := inputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService9ProtocolTest client from just a session. +// svc := inputservice9protocoltest.New(mySession) +// +// // Create a InputService9ProtocolTest client with additional configuration +// svc := inputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService9ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService9ProtocolTest { c := p.ClientConfig("inputservice9protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1413,14 +1414,13 @@ const opInputService9TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService9TestCaseOperation1Request method. +// req, resp := client.InputService9TestCaseOperation1Request(params) // -// // Example sending a request using the InputService9TestCaseOperation1Request method. -// req, resp := client.InputService9TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService9ProtocolTest) InputService9TestCaseOperation1Request(input *InputService9TestShapeInputService9TestCaseOperation1Input) (req *request.Request, output *InputService9TestShapeInputService9TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService9TestCaseOperation1, @@ -1482,14 +1482,13 @@ const opInputService9TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService9TestCaseOperation2Request method. +// req, resp := client.InputService9TestCaseOperation2Request(params) // -// // Example sending a request using the InputService9TestCaseOperation2Request method. -// req, resp := client.InputService9TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService9ProtocolTest) InputService9TestCaseOperation2Request(input *InputService9TestShapeInputService9TestCaseOperation2Input) (req *request.Request, output *InputService9TestShapeInputService9TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService9TestCaseOperation2, @@ -1582,13 +1581,14 @@ type InputService10ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService10ProtocolTest client from just a session. -// svc := inputservice10protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService10ProtocolTest client with additional configuration -// svc := inputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService10ProtocolTest client from just a session. +// svc := inputservice10protocoltest.New(mySession) +// +// // Create a InputService10ProtocolTest client with additional configuration +// svc := inputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService10ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService10ProtocolTest { c := p.ClientConfig("inputservice10protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1649,14 +1649,13 @@ const opInputService10TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService10TestCaseOperation1Request method. +// req, resp := client.InputService10TestCaseOperation1Request(params) // -// // Example sending a request using the InputService10TestCaseOperation1Request method. -// req, resp := client.InputService10TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService10ProtocolTest) InputService10TestCaseOperation1Request(input *InputService10TestShapeInputService10TestCaseOperation1Input) (req *request.Request, output *InputService10TestShapeInputService10TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService10TestCaseOperation1, @@ -1718,14 +1717,13 @@ const opInputService10TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService10TestCaseOperation2Request method. +// req, resp := client.InputService10TestCaseOperation2Request(params) // -// // Example sending a request using the InputService10TestCaseOperation2Request method. -// req, resp := client.InputService10TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService10ProtocolTest) InputService10TestCaseOperation2Request(input *InputService10TestShapeInputService10TestCaseOperation2Input) (req *request.Request, output *InputService10TestShapeInputService10TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService10TestCaseOperation2, @@ -1850,13 +1848,14 @@ type InputService11ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService11ProtocolTest client from just a session. -// svc := inputservice11protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService11ProtocolTest client with additional configuration -// svc := inputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService11ProtocolTest client from just a session. +// svc := inputservice11protocoltest.New(mySession) +// +// // Create a InputService11ProtocolTest client with additional configuration +// svc := inputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService11ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService11ProtocolTest { c := p.ClientConfig("inputservice11protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1917,14 +1916,13 @@ const opInputService11TestCaseOperation1 = "StaticOp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService11TestCaseOperation1Request method. +// req, resp := client.InputService11TestCaseOperation1Request(params) // -// // Example sending a request using the InputService11TestCaseOperation1Request method. -// req, resp := client.InputService11TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService11ProtocolTest) InputService11TestCaseOperation1Request(input *InputService11TestShapeInputService11TestCaseOperation1Input) (req *request.Request, output *InputService11TestShapeInputService11TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService11TestCaseOperation1, @@ -1988,14 +1986,13 @@ const opInputService11TestCaseOperation2 = "MemberRefOp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService11TestCaseOperation2Request method. +// req, resp := client.InputService11TestCaseOperation2Request(params) // -// // Example sending a request using the InputService11TestCaseOperation2Request method. -// req, resp := client.InputService11TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService11ProtocolTest) InputService11TestCaseOperation2Request(input *InputService11TestShapeInputService11TestCaseOperation2Input) (req *request.Request, output *InputService11TestShapeInputService11TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService11TestCaseOperation2, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/ec2query/unmarshal_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/ec2query/unmarshal_test.go index b7f4a573bc68..a66f2dbcfb09 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/ec2query/unmarshal_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/ec2query/unmarshal_test.go @@ -61,13 +61,14 @@ type OutputService1ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService1ProtocolTest client from just a session. -// svc := outputservice1protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService1ProtocolTest client with additional configuration -// svc := outputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService1ProtocolTest client from just a session. +// svc := outputservice1protocoltest.New(mySession) +// +// // Create a OutputService1ProtocolTest client with additional configuration +// svc := outputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService1ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService1ProtocolTest { c := p.ClientConfig("outputservice1protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -128,14 +129,13 @@ const opOutputService1TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService1TestCaseOperation1Request method. +// req, resp := client.OutputService1TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService1TestCaseOperation1Request method. -// req, resp := client.OutputService1TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService1ProtocolTest) OutputService1TestCaseOperation1Request(input *OutputService1TestShapeOutputService1TestCaseOperation1Input) (req *request.Request, output *OutputService1TestShapeOutputService1TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService1TestCaseOperation1, @@ -267,13 +267,14 @@ type OutputService2ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService2ProtocolTest client from just a session. -// svc := outputservice2protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService2ProtocolTest client from just a session. +// svc := outputservice2protocoltest.New(mySession) // -// // Create a OutputService2ProtocolTest client with additional configuration -// svc := outputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService2ProtocolTest client with additional configuration +// svc := outputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService2ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService2ProtocolTest { c := p.ClientConfig("outputservice2protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -334,14 +335,13 @@ const opOutputService2TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService2TestCaseOperation1Request method. +// req, resp := client.OutputService2TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService2TestCaseOperation1Request method. -// req, resp := client.OutputService2TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService2ProtocolTest) OutputService2TestCaseOperation1Request(input *OutputService2TestShapeOutputService2TestCaseOperation1Input) (req *request.Request, output *OutputService2TestShapeOutputService2TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService2TestCaseOperation1, @@ -418,13 +418,14 @@ type OutputService3ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService3ProtocolTest client from just a session. -// svc := outputservice3protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService3ProtocolTest client from just a session. +// svc := outputservice3protocoltest.New(mySession) // -// // Create a OutputService3ProtocolTest client with additional configuration -// svc := outputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService3ProtocolTest client with additional configuration +// svc := outputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService3ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService3ProtocolTest { c := p.ClientConfig("outputservice3protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -485,14 +486,13 @@ const opOutputService3TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService3TestCaseOperation1Request method. +// req, resp := client.OutputService3TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService3TestCaseOperation1Request method. -// req, resp := client.OutputService3TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService3ProtocolTest) OutputService3TestCaseOperation1Request(input *OutputService3TestShapeOutputService3TestCaseOperation1Input) (req *request.Request, output *OutputService3TestShapeOutputService3TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService3TestCaseOperation1, @@ -568,13 +568,14 @@ type OutputService4ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService4ProtocolTest client from just a session. -// svc := outputservice4protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService4ProtocolTest client with additional configuration -// svc := outputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService4ProtocolTest client from just a session. +// svc := outputservice4protocoltest.New(mySession) +// +// // Create a OutputService4ProtocolTest client with additional configuration +// svc := outputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService4ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService4ProtocolTest { c := p.ClientConfig("outputservice4protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -635,14 +636,13 @@ const opOutputService4TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService4TestCaseOperation1Request method. +// req, resp := client.OutputService4TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService4TestCaseOperation1Request method. -// req, resp := client.OutputService4TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService4ProtocolTest) OutputService4TestCaseOperation1Request(input *OutputService4TestShapeOutputService4TestCaseOperation1Input) (req *request.Request, output *OutputService4TestShapeOutputService4TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService4TestCaseOperation1, @@ -718,13 +718,14 @@ type OutputService5ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService5ProtocolTest client from just a session. -// svc := outputservice5protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService5ProtocolTest client from just a session. +// svc := outputservice5protocoltest.New(mySession) // -// // Create a OutputService5ProtocolTest client with additional configuration -// svc := outputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService5ProtocolTest client with additional configuration +// svc := outputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService5ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService5ProtocolTest { c := p.ClientConfig("outputservice5protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -785,14 +786,13 @@ const opOutputService5TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService5TestCaseOperation1Request method. +// req, resp := client.OutputService5TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService5TestCaseOperation1Request method. -// req, resp := client.OutputService5TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService5ProtocolTest) OutputService5TestCaseOperation1Request(input *OutputService5TestShapeOutputService5TestCaseOperation1Input) (req *request.Request, output *OutputService5TestShapeOutputService5TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService5TestCaseOperation1, @@ -868,13 +868,14 @@ type OutputService6ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService6ProtocolTest client from just a session. -// svc := outputservice6protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService6ProtocolTest client from just a session. +// svc := outputservice6protocoltest.New(mySession) // -// // Create a OutputService6ProtocolTest client with additional configuration -// svc := outputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService6ProtocolTest client with additional configuration +// svc := outputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService6ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService6ProtocolTest { c := p.ClientConfig("outputservice6protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -935,14 +936,13 @@ const opOutputService6TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService6TestCaseOperation1Request method. +// req, resp := client.OutputService6TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService6TestCaseOperation1Request method. -// req, resp := client.OutputService6TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService6ProtocolTest) OutputService6TestCaseOperation1Request(input *OutputService6TestShapeOutputService6TestCaseOperation1Input) (req *request.Request, output *OutputService6TestShapeOutputService6TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService6TestCaseOperation1, @@ -1030,13 +1030,14 @@ type OutputService7ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService7ProtocolTest client from just a session. -// svc := outputservice7protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService7ProtocolTest client from just a session. +// svc := outputservice7protocoltest.New(mySession) // -// // Create a OutputService7ProtocolTest client with additional configuration -// svc := outputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService7ProtocolTest client with additional configuration +// svc := outputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService7ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService7ProtocolTest { c := p.ClientConfig("outputservice7protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1097,14 +1098,13 @@ const opOutputService7TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService7TestCaseOperation1Request method. +// req, resp := client.OutputService7TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService7TestCaseOperation1Request method. -// req, resp := client.OutputService7TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService7ProtocolTest) OutputService7TestCaseOperation1Request(input *OutputService7TestShapeOutputService7TestCaseOperation1Input) (req *request.Request, output *OutputService7TestShapeOutputService7TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService7TestCaseOperation1, @@ -1180,13 +1180,14 @@ type OutputService8ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService8ProtocolTest client from just a session. -// svc := outputservice8protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService8ProtocolTest client with additional configuration -// svc := outputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService8ProtocolTest client from just a session. +// svc := outputservice8protocoltest.New(mySession) +// +// // Create a OutputService8ProtocolTest client with additional configuration +// svc := outputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService8ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService8ProtocolTest { c := p.ClientConfig("outputservice8protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1247,14 +1248,13 @@ const opOutputService8TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService8TestCaseOperation1Request method. +// req, resp := client.OutputService8TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService8TestCaseOperation1Request method. -// req, resp := client.OutputService8TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService8ProtocolTest) OutputService8TestCaseOperation1Request(input *OutputService8TestShapeOutputService8TestCaseOperation1Input) (req *request.Request, output *OutputService8TestShapeOutputService8TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService8TestCaseOperation1, @@ -1330,13 +1330,14 @@ type OutputService9ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService9ProtocolTest client from just a session. -// svc := outputservice9protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService9ProtocolTest client from just a session. +// svc := outputservice9protocoltest.New(mySession) // -// // Create a OutputService9ProtocolTest client with additional configuration -// svc := outputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService9ProtocolTest client with additional configuration +// svc := outputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService9ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService9ProtocolTest { c := p.ClientConfig("outputservice9protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1397,14 +1398,13 @@ const opOutputService9TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService9TestCaseOperation1Request method. +// req, resp := client.OutputService9TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService9TestCaseOperation1Request method. -// req, resp := client.OutputService9TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService9ProtocolTest) OutputService9TestCaseOperation1Request(input *OutputService9TestShapeOutputService9TestCaseOperation1Input) (req *request.Request, output *OutputService9TestShapeOutputService9TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService9TestCaseOperation1, @@ -1480,13 +1480,14 @@ type OutputService10ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService10ProtocolTest client from just a session. -// svc := outputservice10protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService10ProtocolTest client from just a session. +// svc := outputservice10protocoltest.New(mySession) // -// // Create a OutputService10ProtocolTest client with additional configuration -// svc := outputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService10ProtocolTest client with additional configuration +// svc := outputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService10ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService10ProtocolTest { c := p.ClientConfig("outputservice10protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1547,14 +1548,13 @@ const opOutputService10TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService10TestCaseOperation1Request method. +// req, resp := client.OutputService10TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService10TestCaseOperation1Request method. -// req, resp := client.OutputService10TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService10ProtocolTest) OutputService10TestCaseOperation1Request(input *OutputService10TestShapeOutputService10TestCaseOperation1Input) (req *request.Request, output *OutputService10TestShapeOutputService10TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService10TestCaseOperation1, @@ -1674,13 +1674,14 @@ type OutputService11ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService11ProtocolTest client from just a session. -// svc := outputservice11protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService11ProtocolTest client with additional configuration -// svc := outputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService11ProtocolTest client from just a session. +// svc := outputservice11protocoltest.New(mySession) +// +// // Create a OutputService11ProtocolTest client with additional configuration +// svc := outputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService11ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService11ProtocolTest { c := p.ClientConfig("outputservice11protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1741,14 +1742,13 @@ const opOutputService11TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService11TestCaseOperation1Request method. +// req, resp := client.OutputService11TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService11TestCaseOperation1Request method. -// req, resp := client.OutputService11TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService11ProtocolTest) OutputService11TestCaseOperation1Request(input *OutputService11TestShapeOutputService11TestCaseOperation1Input) (req *request.Request, output *OutputService11TestShapeOutputService11TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService11TestCaseOperation1, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/eventstream/eventstreamtest/testing.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/eventstream/eventstreamtest/testing.go index 74d6bb420ba3..aeff141263ce 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/eventstream/eventstreamtest/testing.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/eventstream/eventstreamtest/testing.go @@ -16,12 +16,12 @@ import ( "testing" "time" + "golang.org/x/net/http2" "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws" "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/session" "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/awstesting/unit" "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol" "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/eventstream" - "golang.org/x/net/http2" ) const ( diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/jsonrpc/build_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/jsonrpc/build_test.go index f81d65dbc047..86b851deb406 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/jsonrpc/build_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/jsonrpc/build_test.go @@ -61,13 +61,14 @@ type InputService1ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService1ProtocolTest client from just a session. -// svc := inputservice1protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService1ProtocolTest client with additional configuration -// svc := inputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService1ProtocolTest client from just a session. +// svc := inputservice1protocoltest.New(mySession) +// +// // Create a InputService1ProtocolTest client with additional configuration +// svc := inputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService1ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService1ProtocolTest { c := p.ClientConfig("inputservice1protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -130,14 +131,13 @@ const opInputService1TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService1TestCaseOperation1Request method. +// req, resp := client.InputService1TestCaseOperation1Request(params) // -// // Example sending a request using the InputService1TestCaseOperation1Request method. -// req, resp := client.InputService1TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService1ProtocolTest) InputService1TestCaseOperation1Request(input *InputService1TestShapeInputService1TestCaseOperation1Input) (req *request.Request, output *InputService1TestShapeInputService1TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService1TestCaseOperation1, @@ -215,13 +215,14 @@ type InputService2ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService2ProtocolTest client from just a session. -// svc := inputservice2protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService2ProtocolTest client with additional configuration -// svc := inputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService2ProtocolTest client from just a session. +// svc := inputservice2protocoltest.New(mySession) +// +// // Create a InputService2ProtocolTest client with additional configuration +// svc := inputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService2ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService2ProtocolTest { c := p.ClientConfig("inputservice2protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -284,14 +285,13 @@ const opInputService2TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService2TestCaseOperation1Request method. +// req, resp := client.InputService2TestCaseOperation1Request(params) // -// // Example sending a request using the InputService2TestCaseOperation1Request method. -// req, resp := client.InputService2TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService2ProtocolTest) InputService2TestCaseOperation1Request(input *InputService2TestShapeInputService2TestCaseOperation1Input) (req *request.Request, output *InputService2TestShapeInputService2TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService2TestCaseOperation1, @@ -384,13 +384,14 @@ type InputService3ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService3ProtocolTest client from just a session. -// svc := inputservice3protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService3ProtocolTest client with additional configuration -// svc := inputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService3ProtocolTest client from just a session. +// svc := inputservice3protocoltest.New(mySession) +// +// // Create a InputService3ProtocolTest client with additional configuration +// svc := inputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService3ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService3ProtocolTest { c := p.ClientConfig("inputservice3protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -453,14 +454,13 @@ const opInputService3TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService3TestCaseOperation1Request method. +// req, resp := client.InputService3TestCaseOperation1Request(params) // -// // Example sending a request using the InputService3TestCaseOperation1Request method. -// req, resp := client.InputService3TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService3ProtocolTest) InputService3TestCaseOperation1Request(input *InputService3TestShapeInputService3TestCaseOperation1Input) (req *request.Request, output *InputService3TestShapeInputService3TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService3TestCaseOperation1, @@ -522,14 +522,13 @@ const opInputService3TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService3TestCaseOperation2Request method. +// req, resp := client.InputService3TestCaseOperation2Request(params) // -// // Example sending a request using the InputService3TestCaseOperation2Request method. -// req, resp := client.InputService3TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService3ProtocolTest) InputService3TestCaseOperation2Request(input *InputService3TestShapeInputService3TestCaseOperation2Input) (req *request.Request, output *InputService3TestShapeInputService3TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService3TestCaseOperation2, @@ -640,13 +639,14 @@ type InputService4ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService4ProtocolTest client from just a session. -// svc := inputservice4protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService4ProtocolTest client with additional configuration -// svc := inputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService4ProtocolTest client from just a session. +// svc := inputservice4protocoltest.New(mySession) +// +// // Create a InputService4ProtocolTest client with additional configuration +// svc := inputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService4ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService4ProtocolTest { c := p.ClientConfig("inputservice4protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -709,14 +709,13 @@ const opInputService4TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService4TestCaseOperation1Request method. +// req, resp := client.InputService4TestCaseOperation1Request(params) // -// // Example sending a request using the InputService4TestCaseOperation1Request method. -// req, resp := client.InputService4TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService4ProtocolTest) InputService4TestCaseOperation1Request(input *InputService4TestShapeInputService4TestCaseOperation1Input) (req *request.Request, output *InputService4TestShapeInputService4TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService4TestCaseOperation1, @@ -794,13 +793,14 @@ type InputService5ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService5ProtocolTest client from just a session. -// svc := inputservice5protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService5ProtocolTest client with additional configuration -// svc := inputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService5ProtocolTest client from just a session. +// svc := inputservice5protocoltest.New(mySession) +// +// // Create a InputService5ProtocolTest client with additional configuration +// svc := inputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService5ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService5ProtocolTest { c := p.ClientConfig("inputservice5protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -863,14 +863,13 @@ const opInputService5TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService5TestCaseOperation1Request method. +// req, resp := client.InputService5TestCaseOperation1Request(params) // -// // Example sending a request using the InputService5TestCaseOperation1Request method. -// req, resp := client.InputService5TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService5ProtocolTest) InputService5TestCaseOperation1Request(input *InputService5TestShapeInputService5TestCaseOperation1Input) (req *request.Request, output *InputService5TestShapeInputService5TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService5TestCaseOperation1, @@ -932,14 +931,13 @@ const opInputService5TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService5TestCaseOperation2Request method. +// req, resp := client.InputService5TestCaseOperation2Request(params) // -// // Example sending a request using the InputService5TestCaseOperation2Request method. -// req, resp := client.InputService5TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService5ProtocolTest) InputService5TestCaseOperation2Request(input *InputService5TestShapeInputService5TestCaseOperation2Input) (req *request.Request, output *InputService5TestShapeInputService5TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService5TestCaseOperation2, @@ -1001,14 +999,13 @@ const opInputService5TestCaseOperation3 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService5TestCaseOperation3Request method. +// req, resp := client.InputService5TestCaseOperation3Request(params) // -// // Example sending a request using the InputService5TestCaseOperation3Request method. -// req, resp := client.InputService5TestCaseOperation3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService5ProtocolTest) InputService5TestCaseOperation3Request(input *InputService5TestShapeInputService5TestCaseOperation3Input) (req *request.Request, output *InputService5TestShapeInputService5TestCaseOperation3Output) { op := &request.Operation{ Name: opInputService5TestCaseOperation3, @@ -1070,14 +1067,13 @@ const opInputService5TestCaseOperation4 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService5TestCaseOperation4Request method. +// req, resp := client.InputService5TestCaseOperation4Request(params) // -// // Example sending a request using the InputService5TestCaseOperation4Request method. -// req, resp := client.InputService5TestCaseOperation4Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService5ProtocolTest) InputService5TestCaseOperation4Request(input *InputService5TestShapeInputService5TestCaseOperation4Input) (req *request.Request, output *InputService5TestShapeInputService5TestCaseOperation4Output) { op := &request.Operation{ Name: opInputService5TestCaseOperation4, @@ -1139,14 +1135,13 @@ const opInputService5TestCaseOperation5 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService5TestCaseOperation5Request method. +// req, resp := client.InputService5TestCaseOperation5Request(params) // -// // Example sending a request using the InputService5TestCaseOperation5Request method. -// req, resp := client.InputService5TestCaseOperation5Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService5ProtocolTest) InputService5TestCaseOperation5Request(input *InputService5TestShapeInputService5TestCaseOperation5Input) (req *request.Request, output *InputService5TestShapeInputService5TestCaseOperation5Output) { op := &request.Operation{ Name: opInputService5TestCaseOperation5, @@ -1208,14 +1203,13 @@ const opInputService5TestCaseOperation6 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService5TestCaseOperation6Request method. +// req, resp := client.InputService5TestCaseOperation6Request(params) // -// // Example sending a request using the InputService5TestCaseOperation6Request method. -// req, resp := client.InputService5TestCaseOperation6Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService5ProtocolTest) InputService5TestCaseOperation6Request(input *InputService5TestShapeInputService5TestCaseOperation6Input) (req *request.Request, output *InputService5TestShapeInputService5TestCaseOperation6Output) { op := &request.Operation{ Name: opInputService5TestCaseOperation6, @@ -1408,13 +1402,14 @@ type InputService6ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService6ProtocolTest client from just a session. -// svc := inputservice6protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService6ProtocolTest client with additional configuration -// svc := inputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService6ProtocolTest client from just a session. +// svc := inputservice6protocoltest.New(mySession) +// +// // Create a InputService6ProtocolTest client with additional configuration +// svc := inputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService6ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService6ProtocolTest { c := p.ClientConfig("inputservice6protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1477,14 +1472,13 @@ const opInputService6TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService6TestCaseOperation1Request method. +// req, resp := client.InputService6TestCaseOperation1Request(params) // -// // Example sending a request using the InputService6TestCaseOperation1Request method. -// req, resp := client.InputService6TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService6ProtocolTest) InputService6TestCaseOperation1Request(input *InputService6TestShapeInputService6TestCaseOperation1Input) (req *request.Request, output *InputService6TestShapeInputService6TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService6TestCaseOperation1, @@ -1562,13 +1556,14 @@ type InputService7ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService7ProtocolTest client from just a session. -// svc := inputservice7protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService7ProtocolTest client with additional configuration -// svc := inputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService7ProtocolTest client from just a session. +// svc := inputservice7protocoltest.New(mySession) +// +// // Create a InputService7ProtocolTest client with additional configuration +// svc := inputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService7ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService7ProtocolTest { c := p.ClientConfig("inputservice7protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1629,14 +1624,13 @@ const opInputService7TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService7TestCaseOperation1Request method. +// req, resp := client.InputService7TestCaseOperation1Request(params) // -// // Example sending a request using the InputService7TestCaseOperation1Request method. -// req, resp := client.InputService7TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService7ProtocolTest) InputService7TestCaseOperation1Request(input *InputService7TestShapeInputService7TestCaseOperation1Input) (req *request.Request, output *InputService7TestShapeInputService7TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService7TestCaseOperation1, @@ -1699,14 +1693,13 @@ const opInputService7TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService7TestCaseOperation2Request method. +// req, resp := client.InputService7TestCaseOperation2Request(params) // -// // Example sending a request using the InputService7TestCaseOperation2Request method. -// req, resp := client.InputService7TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService7ProtocolTest) InputService7TestCaseOperation2Request(input *InputService7TestShapeInputService7TestCaseOperation2Input) (req *request.Request, output *InputService7TestShapeInputService7TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService7TestCaseOperation2, @@ -1800,13 +1793,14 @@ type InputService8ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService8ProtocolTest client from just a session. -// svc := inputservice8protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService8ProtocolTest client with additional configuration -// svc := inputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService8ProtocolTest client from just a session. +// svc := inputservice8protocoltest.New(mySession) +// +// // Create a InputService8ProtocolTest client with additional configuration +// svc := inputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService8ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService8ProtocolTest { c := p.ClientConfig("inputservice8protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1867,14 +1861,13 @@ const opInputService8TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService8TestCaseOperation1Request method. +// req, resp := client.InputService8TestCaseOperation1Request(params) // -// // Example sending a request using the InputService8TestCaseOperation1Request method. -// req, resp := client.InputService8TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService8ProtocolTest) InputService8TestCaseOperation1Request(input *InputService8TestShapeInputService8TestCaseOperation1Input) (req *request.Request, output *InputService8TestShapeInputService8TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService8TestCaseOperation1, @@ -1937,14 +1930,13 @@ const opInputService8TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService8TestCaseOperation2Request method. +// req, resp := client.InputService8TestCaseOperation2Request(params) // -// // Example sending a request using the InputService8TestCaseOperation2Request method. -// req, resp := client.InputService8TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService8ProtocolTest) InputService8TestCaseOperation2Request(input *InputService8TestShapeInputService8TestCaseOperation2Input) (req *request.Request, output *InputService8TestShapeInputService8TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService8TestCaseOperation2, @@ -2070,13 +2062,14 @@ type InputService9ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService9ProtocolTest client from just a session. -// svc := inputservice9protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService9ProtocolTest client with additional configuration -// svc := inputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService9ProtocolTest client from just a session. +// svc := inputservice9protocoltest.New(mySession) +// +// // Create a InputService9ProtocolTest client with additional configuration +// svc := inputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService9ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService9ProtocolTest { c := p.ClientConfig("inputservice9protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2139,14 +2132,13 @@ const opInputService9TestCaseOperation1 = "StaticOp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService9TestCaseOperation1Request method. +// req, resp := client.InputService9TestCaseOperation1Request(params) // -// // Example sending a request using the InputService9TestCaseOperation1Request method. -// req, resp := client.InputService9TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService9ProtocolTest) InputService9TestCaseOperation1Request(input *InputService9TestShapeInputService9TestCaseOperation1Input) (req *request.Request, output *InputService9TestShapeInputService9TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService9TestCaseOperation1, @@ -2211,14 +2203,13 @@ const opInputService9TestCaseOperation2 = "MemberRefOp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService9TestCaseOperation2Request method. +// req, resp := client.InputService9TestCaseOperation2Request(params) // -// // Example sending a request using the InputService9TestCaseOperation2Request method. -// req, resp := client.InputService9TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService9ProtocolTest) InputService9TestCaseOperation2Request(input *InputService9TestShapeInputService9TestCaseOperation2Input) (req *request.Request, output *InputService9TestShapeInputService9TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService9TestCaseOperation2, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_test.go index b9b98c126364..d9654c6332f3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/jsonrpc/unmarshal_test.go @@ -61,13 +61,14 @@ type OutputService1ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService1ProtocolTest client from just a session. -// svc := outputservice1protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService1ProtocolTest client with additional configuration -// svc := outputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService1ProtocolTest client from just a session. +// svc := outputservice1protocoltest.New(mySession) +// +// // Create a OutputService1ProtocolTest client with additional configuration +// svc := outputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService1ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService1ProtocolTest { c := p.ClientConfig("outputservice1protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -128,14 +129,13 @@ const opOutputService1TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService1TestCaseOperation1Request method. +// req, resp := client.OutputService1TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService1TestCaseOperation1Request method. -// req, resp := client.OutputService1TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService1ProtocolTest) OutputService1TestCaseOperation1Request(input *OutputService1TestShapeOutputService1TestCaseOperation1Input) (req *request.Request, output *OutputService1TestShapeOutputService1TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService1TestCaseOperation1, @@ -267,13 +267,14 @@ type OutputService2ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService2ProtocolTest client from just a session. -// svc := outputservice2protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService2ProtocolTest client from just a session. +// svc := outputservice2protocoltest.New(mySession) // -// // Create a OutputService2ProtocolTest client with additional configuration -// svc := outputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService2ProtocolTest client with additional configuration +// svc := outputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService2ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService2ProtocolTest { c := p.ClientConfig("outputservice2protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -334,14 +335,13 @@ const opOutputService2TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService2TestCaseOperation1Request method. +// req, resp := client.OutputService2TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService2TestCaseOperation1Request method. -// req, resp := client.OutputService2TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService2ProtocolTest) OutputService2TestCaseOperation1Request(input *OutputService2TestShapeOutputService2TestCaseOperation1Input) (req *request.Request, output *OutputService2TestShapeOutputService2TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService2TestCaseOperation1, @@ -439,13 +439,14 @@ type OutputService3ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService3ProtocolTest client from just a session. -// svc := outputservice3protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService3ProtocolTest client from just a session. +// svc := outputservice3protocoltest.New(mySession) // -// // Create a OutputService3ProtocolTest client with additional configuration -// svc := outputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService3ProtocolTest client with additional configuration +// svc := outputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService3ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService3ProtocolTest { c := p.ClientConfig("outputservice3protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -506,14 +507,13 @@ const opOutputService3TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService3TestCaseOperation1Request method. +// req, resp := client.OutputService3TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService3TestCaseOperation1Request method. -// req, resp := client.OutputService3TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService3ProtocolTest) OutputService3TestCaseOperation1Request(input *OutputService3TestShapeOutputService3TestCaseOperation1Input) (req *request.Request, output *OutputService3TestShapeOutputService3TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService3TestCaseOperation1, @@ -633,13 +633,14 @@ type OutputService4ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService4ProtocolTest client from just a session. -// svc := outputservice4protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService4ProtocolTest client from just a session. +// svc := outputservice4protocoltest.New(mySession) // -// // Create a OutputService4ProtocolTest client with additional configuration -// svc := outputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService4ProtocolTest client with additional configuration +// svc := outputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService4ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService4ProtocolTest { c := p.ClientConfig("outputservice4protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -700,14 +701,13 @@ const opOutputService4TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService4TestCaseOperation1Request method. +// req, resp := client.OutputService4TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService4TestCaseOperation1Request method. -// req, resp := client.OutputService4TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService4ProtocolTest) OutputService4TestCaseOperation1Request(input *OutputService4TestShapeOutputService4TestCaseOperation1Input) (req *request.Request, output *OutputService4TestShapeOutputService4TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService4TestCaseOperation1, @@ -768,14 +768,13 @@ const opOutputService4TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService4TestCaseOperation2Request method. +// req, resp := client.OutputService4TestCaseOperation2Request(params) // -// // Example sending a request using the OutputService4TestCaseOperation2Request method. -// req, resp := client.OutputService4TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService4ProtocolTest) OutputService4TestCaseOperation2Request(input *OutputService4TestShapeOutputService4TestCaseOperation2Input) (req *request.Request, output *OutputService4TestShapeOutputService4TestCaseOperation2Output) { op := &request.Operation{ Name: opOutputService4TestCaseOperation2, @@ -903,13 +902,14 @@ type OutputService5ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService5ProtocolTest client from just a session. -// svc := outputservice5protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService5ProtocolTest client from just a session. +// svc := outputservice5protocoltest.New(mySession) // -// // Create a OutputService5ProtocolTest client with additional configuration -// svc := outputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService5ProtocolTest client with additional configuration +// svc := outputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService5ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService5ProtocolTest { c := p.ClientConfig("outputservice5protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -970,14 +970,13 @@ const opOutputService5TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService5TestCaseOperation1Request method. +// req, resp := client.OutputService5TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService5TestCaseOperation1Request method. -// req, resp := client.OutputService5TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService5ProtocolTest) OutputService5TestCaseOperation1Request(input *OutputService5TestShapeOutputService5TestCaseOperation1Input) (req *request.Request, output *OutputService5TestShapeOutputService5TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService5TestCaseOperation1, @@ -1053,13 +1052,14 @@ type OutputService6ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService6ProtocolTest client from just a session. -// svc := outputservice6protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService6ProtocolTest client from just a session. +// svc := outputservice6protocoltest.New(mySession) // -// // Create a OutputService6ProtocolTest client with additional configuration -// svc := outputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService6ProtocolTest client with additional configuration +// svc := outputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService6ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService6ProtocolTest { c := p.ClientConfig("outputservice6protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1120,14 +1120,13 @@ const opOutputService6TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService6TestCaseOperation1Request method. +// req, resp := client.OutputService6TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService6TestCaseOperation1Request method. -// req, resp := client.OutputService6TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService6ProtocolTest) OutputService6TestCaseOperation1Request(input *OutputService6TestShapeOutputService6TestCaseOperation1Input) (req *request.Request, output *OutputService6TestShapeOutputService6TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService6TestCaseOperation1, @@ -1203,13 +1202,14 @@ type OutputService7ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService7ProtocolTest client from just a session. -// svc := outputservice7protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService7ProtocolTest client with additional configuration -// svc := outputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService7ProtocolTest client from just a session. +// svc := outputservice7protocoltest.New(mySession) +// +// // Create a OutputService7ProtocolTest client with additional configuration +// svc := outputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService7ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService7ProtocolTest { c := p.ClientConfig("outputservice7protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1270,14 +1270,13 @@ const opOutputService7TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService7TestCaseOperation1Request method. +// req, resp := client.OutputService7TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService7TestCaseOperation1Request method. -// req, resp := client.OutputService7TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService7ProtocolTest) OutputService7TestCaseOperation1Request(input *OutputService7TestShapeOutputService7TestCaseOperation1Input) (req *request.Request, output *OutputService7TestShapeOutputService7TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService7TestCaseOperation1, @@ -1377,13 +1376,14 @@ type OutputService8ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService8ProtocolTest client from just a session. -// svc := outputservice8protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService8ProtocolTest client with additional configuration -// svc := outputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService8ProtocolTest client from just a session. +// svc := outputservice8protocoltest.New(mySession) +// +// // Create a OutputService8ProtocolTest client with additional configuration +// svc := outputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService8ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService8ProtocolTest { c := p.ClientConfig("outputservice8protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1444,14 +1444,13 @@ const opOutputService8TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService8TestCaseOperation1Request method. +// req, resp := client.OutputService8TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService8TestCaseOperation1Request method. -// req, resp := client.OutputService8TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService8ProtocolTest) OutputService8TestCaseOperation1Request(input *OutputService8TestShapeOutputService8TestCaseOperation1Input) (req *request.Request, output *OutputService8TestShapeOutputService8TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService8TestCaseOperation1, @@ -1513,14 +1512,13 @@ const opOutputService8TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService8TestCaseOperation2Request method. +// req, resp := client.OutputService8TestCaseOperation2Request(params) // -// // Example sending a request using the OutputService8TestCaseOperation2Request method. -// req, resp := client.OutputService8TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService8ProtocolTest) OutputService8TestCaseOperation2Request(input *OutputService8TestShapeOutputService8TestCaseOperation2Input) (req *request.Request, output *OutputService8TestShapeOutputService8TestCaseOperation2Output) { op := &request.Operation{ Name: opOutputService8TestCaseOperation2, @@ -1582,14 +1580,13 @@ const opOutputService8TestCaseOperation3 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService8TestCaseOperation3Request method. +// req, resp := client.OutputService8TestCaseOperation3Request(params) // -// // Example sending a request using the OutputService8TestCaseOperation3Request method. -// req, resp := client.OutputService8TestCaseOperation3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService8ProtocolTest) OutputService8TestCaseOperation3Request(input *OutputService8TestShapeOutputService8TestCaseOperation3Input) (req *request.Request, output *OutputService8TestShapeOutputService8TestCaseOperation3Output) { op := &request.Operation{ Name: opOutputService8TestCaseOperation3, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/query/build_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/query/build_test.go index e9bd3c92a160..85575ab09062 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/query/build_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/query/build_test.go @@ -61,13 +61,14 @@ type InputService1ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService1ProtocolTest client from just a session. -// svc := inputservice1protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService1ProtocolTest client with additional configuration -// svc := inputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService1ProtocolTest client from just a session. +// svc := inputservice1protocoltest.New(mySession) +// +// // Create a InputService1ProtocolTest client with additional configuration +// svc := inputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService1ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService1ProtocolTest { c := p.ClientConfig("inputservice1protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -128,14 +129,13 @@ const opInputService1TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService1TestCaseOperation1Request method. +// req, resp := client.InputService1TestCaseOperation1Request(params) // -// // Example sending a request using the InputService1TestCaseOperation1Request method. -// req, resp := client.InputService1TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService1ProtocolTest) InputService1TestCaseOperation1Request(input *InputService1TestShapeInputService1TestCaseOperation1Input) (req *request.Request, output *InputService1TestShapeInputService1TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService1TestCaseOperation1, @@ -197,14 +197,13 @@ const opInputService1TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService1TestCaseOperation2Request method. +// req, resp := client.InputService1TestCaseOperation2Request(params) // -// // Example sending a request using the InputService1TestCaseOperation2Request method. -// req, resp := client.InputService1TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService1ProtocolTest) InputService1TestCaseOperation2Request(input *InputService1TestShapeInputService1TestCaseOperation2Input) (req *request.Request, output *InputService1TestShapeInputService1TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService1TestCaseOperation2, @@ -266,14 +265,13 @@ const opInputService1TestCaseOperation3 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService1TestCaseOperation3Request method. +// req, resp := client.InputService1TestCaseOperation3Request(params) // -// // Example sending a request using the InputService1TestCaseOperation3Request method. -// req, resp := client.InputService1TestCaseOperation3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService1ProtocolTest) InputService1TestCaseOperation3Request(input *InputService1TestShapeInputService1TestCaseOperation3Input) (req *request.Request, output *InputService1TestShapeInputService1TestCaseOperation3Output) { op := &request.Operation{ Name: opInputService1TestCaseOperation3, @@ -430,13 +428,14 @@ type InputService2ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService2ProtocolTest client from just a session. -// svc := inputservice2protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService2ProtocolTest client from just a session. +// svc := inputservice2protocoltest.New(mySession) // -// // Create a InputService2ProtocolTest client with additional configuration -// svc := inputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService2ProtocolTest client with additional configuration +// svc := inputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService2ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService2ProtocolTest { c := p.ClientConfig("inputservice2protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -497,14 +496,13 @@ const opInputService2TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService2TestCaseOperation1Request method. +// req, resp := client.InputService2TestCaseOperation1Request(params) // -// // Example sending a request using the InputService2TestCaseOperation1Request method. -// req, resp := client.InputService2TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService2ProtocolTest) InputService2TestCaseOperation1Request(input *InputService2TestShapeInputService2TestCaseOperation1Input) (req *request.Request, output *InputService2TestShapeInputService2TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService2TestCaseOperation1, @@ -593,13 +591,14 @@ type InputService3ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService3ProtocolTest client from just a session. -// svc := inputservice3protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService3ProtocolTest client with additional configuration -// svc := inputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService3ProtocolTest client from just a session. +// svc := inputservice3protocoltest.New(mySession) +// +// // Create a InputService3ProtocolTest client with additional configuration +// svc := inputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService3ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService3ProtocolTest { c := p.ClientConfig("inputservice3protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -660,14 +659,13 @@ const opInputService3TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService3TestCaseOperation1Request method. +// req, resp := client.InputService3TestCaseOperation1Request(params) // -// // Example sending a request using the InputService3TestCaseOperation1Request method. -// req, resp := client.InputService3TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService3ProtocolTest) InputService3TestCaseOperation1Request(input *InputService3TestShapeInputService3TestCaseOperation1Input) (req *request.Request, output *InputService3TestShapeInputService3TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService3TestCaseOperation1, @@ -729,14 +727,13 @@ const opInputService3TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService3TestCaseOperation2Request method. +// req, resp := client.InputService3TestCaseOperation2Request(params) // -// // Example sending a request using the InputService3TestCaseOperation2Request method. -// req, resp := client.InputService3TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService3ProtocolTest) InputService3TestCaseOperation2Request(input *InputService3TestShapeInputService3TestCaseOperation2Input) (req *request.Request, output *InputService3TestShapeInputService3TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService3TestCaseOperation2, @@ -829,13 +826,14 @@ type InputService4ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService4ProtocolTest client from just a session. -// svc := inputservice4protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService4ProtocolTest client with additional configuration -// svc := inputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService4ProtocolTest client from just a session. +// svc := inputservice4protocoltest.New(mySession) +// +// // Create a InputService4ProtocolTest client with additional configuration +// svc := inputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService4ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService4ProtocolTest { c := p.ClientConfig("inputservice4protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -896,14 +894,13 @@ const opInputService4TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService4TestCaseOperation1Request method. +// req, resp := client.InputService4TestCaseOperation1Request(params) // -// // Example sending a request using the InputService4TestCaseOperation1Request method. -// req, resp := client.InputService4TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService4ProtocolTest) InputService4TestCaseOperation1Request(input *InputService4TestShapeInputService4TestCaseOperation1Input) (req *request.Request, output *InputService4TestShapeInputService4TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService4TestCaseOperation1, @@ -965,14 +962,13 @@ const opInputService4TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService4TestCaseOperation2Request method. +// req, resp := client.InputService4TestCaseOperation2Request(params) // -// // Example sending a request using the InputService4TestCaseOperation2Request method. -// req, resp := client.InputService4TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService4ProtocolTest) InputService4TestCaseOperation2Request(input *InputService4TestShapeInputService4TestCaseOperation2Input) (req *request.Request, output *InputService4TestShapeInputService4TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService4TestCaseOperation2, @@ -1097,13 +1093,14 @@ type InputService5ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService5ProtocolTest client from just a session. -// svc := inputservice5protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService5ProtocolTest client with additional configuration -// svc := inputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService5ProtocolTest client from just a session. +// svc := inputservice5protocoltest.New(mySession) +// +// // Create a InputService5ProtocolTest client with additional configuration +// svc := inputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService5ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService5ProtocolTest { c := p.ClientConfig("inputservice5protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1164,14 +1161,13 @@ const opInputService5TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService5TestCaseOperation1Request method. +// req, resp := client.InputService5TestCaseOperation1Request(params) // -// // Example sending a request using the InputService5TestCaseOperation1Request method. -// req, resp := client.InputService5TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService5ProtocolTest) InputService5TestCaseOperation1Request(input *InputService5TestShapeInputService5TestCaseOperation1Input) (req *request.Request, output *InputService5TestShapeInputService5TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService5TestCaseOperation1, @@ -1248,13 +1244,14 @@ type InputService6ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService6ProtocolTest client from just a session. -// svc := inputservice6protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService6ProtocolTest client from just a session. +// svc := inputservice6protocoltest.New(mySession) // -// // Create a InputService6ProtocolTest client with additional configuration -// svc := inputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService6ProtocolTest client with additional configuration +// svc := inputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService6ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService6ProtocolTest { c := p.ClientConfig("inputservice6protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1315,14 +1312,13 @@ const opInputService6TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService6TestCaseOperation1Request method. +// req, resp := client.InputService6TestCaseOperation1Request(params) // -// // Example sending a request using the InputService6TestCaseOperation1Request method. -// req, resp := client.InputService6TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService6ProtocolTest) InputService6TestCaseOperation1Request(input *InputService6TestShapeInputService6TestCaseOperation1Input) (req *request.Request, output *InputService6TestShapeInputService6TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService6TestCaseOperation1, @@ -1399,13 +1395,14 @@ type InputService7ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService7ProtocolTest client from just a session. -// svc := inputservice7protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService7ProtocolTest client from just a session. +// svc := inputservice7protocoltest.New(mySession) // -// // Create a InputService7ProtocolTest client with additional configuration -// svc := inputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService7ProtocolTest client with additional configuration +// svc := inputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService7ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService7ProtocolTest { c := p.ClientConfig("inputservice7protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1466,14 +1463,13 @@ const opInputService7TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService7TestCaseOperation1Request method. +// req, resp := client.InputService7TestCaseOperation1Request(params) // -// // Example sending a request using the InputService7TestCaseOperation1Request method. -// req, resp := client.InputService7TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService7ProtocolTest) InputService7TestCaseOperation1Request(input *InputService7TestShapeInputService7TestCaseOperation1Input) (req *request.Request, output *InputService7TestShapeInputService7TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService7TestCaseOperation1, @@ -1558,13 +1554,14 @@ type InputService8ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService8ProtocolTest client from just a session. -// svc := inputservice8protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService8ProtocolTest client with additional configuration -// svc := inputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService8ProtocolTest client from just a session. +// svc := inputservice8protocoltest.New(mySession) +// +// // Create a InputService8ProtocolTest client with additional configuration +// svc := inputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService8ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService8ProtocolTest { c := p.ClientConfig("inputservice8protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1625,14 +1622,13 @@ const opInputService8TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService8TestCaseOperation1Request method. +// req, resp := client.InputService8TestCaseOperation1Request(params) // -// // Example sending a request using the InputService8TestCaseOperation1Request method. -// req, resp := client.InputService8TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService8ProtocolTest) InputService8TestCaseOperation1Request(input *InputService8TestShapeInputService8TestCaseOperation1Input) (req *request.Request, output *InputService8TestShapeInputService8TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService8TestCaseOperation1, @@ -1709,13 +1705,14 @@ type InputService9ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService9ProtocolTest client from just a session. -// svc := inputservice9protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService9ProtocolTest client from just a session. +// svc := inputservice9protocoltest.New(mySession) // -// // Create a InputService9ProtocolTest client with additional configuration -// svc := inputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService9ProtocolTest client with additional configuration +// svc := inputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService9ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService9ProtocolTest { c := p.ClientConfig("inputservice9protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1776,14 +1773,13 @@ const opInputService9TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService9TestCaseOperation1Request method. +// req, resp := client.InputService9TestCaseOperation1Request(params) // -// // Example sending a request using the InputService9TestCaseOperation1Request method. -// req, resp := client.InputService9TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService9ProtocolTest) InputService9TestCaseOperation1Request(input *InputService9TestShapeInputService9TestCaseOperation1Input) (req *request.Request, output *InputService9TestShapeInputService9TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService9TestCaseOperation1, @@ -1860,13 +1856,14 @@ type InputService10ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService10ProtocolTest client from just a session. -// svc := inputservice10protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService10ProtocolTest client from just a session. +// svc := inputservice10protocoltest.New(mySession) // -// // Create a InputService10ProtocolTest client with additional configuration -// svc := inputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService10ProtocolTest client with additional configuration +// svc := inputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService10ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService10ProtocolTest { c := p.ClientConfig("inputservice10protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1927,14 +1924,13 @@ const opInputService10TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService10TestCaseOperation1Request method. +// req, resp := client.InputService10TestCaseOperation1Request(params) // -// // Example sending a request using the InputService10TestCaseOperation1Request method. -// req, resp := client.InputService10TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService10ProtocolTest) InputService10TestCaseOperation1Request(input *InputService10TestShapeInputService10TestCaseOperation1Input) (req *request.Request, output *InputService10TestShapeInputService10TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService10TestCaseOperation1, @@ -2012,13 +2008,14 @@ type InputService11ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService11ProtocolTest client from just a session. -// svc := inputservice11protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService11ProtocolTest client from just a session. +// svc := inputservice11protocoltest.New(mySession) // -// // Create a InputService11ProtocolTest client with additional configuration -// svc := inputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService11ProtocolTest client with additional configuration +// svc := inputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService11ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService11ProtocolTest { c := p.ClientConfig("inputservice11protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2079,14 +2076,13 @@ const opInputService11TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService11TestCaseOperation1Request method. +// req, resp := client.InputService11TestCaseOperation1Request(params) // -// // Example sending a request using the InputService11TestCaseOperation1Request method. -// req, resp := client.InputService11TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService11ProtocolTest) InputService11TestCaseOperation1Request(input *InputService11TestShapeInputService11TestCaseOperation1Input) (req *request.Request, output *InputService11TestShapeInputService11TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService11TestCaseOperation1, @@ -2163,13 +2159,14 @@ type InputService12ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService12ProtocolTest client from just a session. -// svc := inputservice12protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService12ProtocolTest client with additional configuration -// svc := inputservice12protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService12ProtocolTest client from just a session. +// svc := inputservice12protocoltest.New(mySession) +// +// // Create a InputService12ProtocolTest client with additional configuration +// svc := inputservice12protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService12ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService12ProtocolTest { c := p.ClientConfig("inputservice12protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2230,14 +2227,13 @@ const opInputService12TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService12TestCaseOperation1Request method. +// req, resp := client.InputService12TestCaseOperation1Request(params) // -// // Example sending a request using the InputService12TestCaseOperation1Request method. -// req, resp := client.InputService12TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService12ProtocolTest) InputService12TestCaseOperation1Request(input *InputService12TestShapeInputService12TestCaseOperation1Input) (req *request.Request, output *InputService12TestShapeInputService12TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService12TestCaseOperation1, @@ -2330,13 +2326,14 @@ type InputService13ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService13ProtocolTest client from just a session. -// svc := inputservice13protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService13ProtocolTest client from just a session. +// svc := inputservice13protocoltest.New(mySession) // -// // Create a InputService13ProtocolTest client with additional configuration -// svc := inputservice13protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService13ProtocolTest client with additional configuration +// svc := inputservice13protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService13ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService13ProtocolTest { c := p.ClientConfig("inputservice13protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2397,14 +2394,13 @@ const opInputService13TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService13TestCaseOperation1Request method. +// req, resp := client.InputService13TestCaseOperation1Request(params) // -// // Example sending a request using the InputService13TestCaseOperation1Request method. -// req, resp := client.InputService13TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService13ProtocolTest) InputService13TestCaseOperation1Request(input *InputService13TestShapeInputService13TestCaseOperation1Input) (req *request.Request, output *InputService13TestShapeInputService13TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService13TestCaseOperation1, @@ -2466,14 +2462,13 @@ const opInputService13TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService13TestCaseOperation2Request method. +// req, resp := client.InputService13TestCaseOperation2Request(params) // -// // Example sending a request using the InputService13TestCaseOperation2Request method. -// req, resp := client.InputService13TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService13ProtocolTest) InputService13TestCaseOperation2Request(input *InputService13TestShapeInputService13TestCaseOperation2Input) (req *request.Request, output *InputService13TestShapeInputService13TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService13TestCaseOperation2, @@ -2535,14 +2530,13 @@ const opInputService13TestCaseOperation3 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService13TestCaseOperation3Request method. +// req, resp := client.InputService13TestCaseOperation3Request(params) // -// // Example sending a request using the InputService13TestCaseOperation3Request method. -// req, resp := client.InputService13TestCaseOperation3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService13ProtocolTest) InputService13TestCaseOperation3Request(input *InputService13TestShapeInputService13TestCaseOperation3Input) (req *request.Request, output *InputService13TestShapeInputService13TestCaseOperation3Output) { op := &request.Operation{ Name: opInputService13TestCaseOperation3, @@ -2604,14 +2598,13 @@ const opInputService13TestCaseOperation4 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService13TestCaseOperation4Request method. +// req, resp := client.InputService13TestCaseOperation4Request(params) // -// // Example sending a request using the InputService13TestCaseOperation4Request method. -// req, resp := client.InputService13TestCaseOperation4Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService13ProtocolTest) InputService13TestCaseOperation4Request(input *InputService13TestShapeInputService13TestCaseOperation4Input) (req *request.Request, output *InputService13TestShapeInputService13TestCaseOperation4Output) { op := &request.Operation{ Name: opInputService13TestCaseOperation4, @@ -2673,14 +2666,13 @@ const opInputService13TestCaseOperation5 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService13TestCaseOperation5Request method. +// req, resp := client.InputService13TestCaseOperation5Request(params) // -// // Example sending a request using the InputService13TestCaseOperation5Request method. -// req, resp := client.InputService13TestCaseOperation5Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService13ProtocolTest) InputService13TestCaseOperation5Request(input *InputService13TestShapeInputService13TestCaseOperation5Input) (req *request.Request, output *InputService13TestShapeInputService13TestCaseOperation5Output) { op := &request.Operation{ Name: opInputService13TestCaseOperation5, @@ -2742,14 +2734,13 @@ const opInputService13TestCaseOperation6 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService13TestCaseOperation6Request method. +// req, resp := client.InputService13TestCaseOperation6Request(params) // -// // Example sending a request using the InputService13TestCaseOperation6Request method. -// req, resp := client.InputService13TestCaseOperation6Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService13ProtocolTest) InputService13TestCaseOperation6Request(input *InputService13TestShapeInputService13TestCaseOperation6Input) (req *request.Request, output *InputService13TestShapeInputService13TestCaseOperation6Output) { op := &request.Operation{ Name: opInputService13TestCaseOperation6, @@ -2942,13 +2933,14 @@ type InputService14ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService14ProtocolTest client from just a session. -// svc := inputservice14protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService14ProtocolTest client from just a session. +// svc := inputservice14protocoltest.New(mySession) // -// // Create a InputService14ProtocolTest client with additional configuration -// svc := inputservice14protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService14ProtocolTest client with additional configuration +// svc := inputservice14protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService14ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService14ProtocolTest { c := p.ClientConfig("inputservice14protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -3009,14 +3001,13 @@ const opInputService14TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService14TestCaseOperation1Request method. +// req, resp := client.InputService14TestCaseOperation1Request(params) // -// // Example sending a request using the InputService14TestCaseOperation1Request method. -// req, resp := client.InputService14TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService14ProtocolTest) InputService14TestCaseOperation1Request(input *InputService14TestShapeInputService14TestCaseOperation1Input) (req *request.Request, output *InputService14TestShapeInputService14TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService14TestCaseOperation1, @@ -3079,14 +3070,13 @@ const opInputService14TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService14TestCaseOperation2Request method. +// req, resp := client.InputService14TestCaseOperation2Request(params) // -// // Example sending a request using the InputService14TestCaseOperation2Request method. -// req, resp := client.InputService14TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService14ProtocolTest) InputService14TestCaseOperation2Request(input *InputService14TestShapeInputService14TestCaseOperation2Input) (req *request.Request, output *InputService14TestShapeInputService14TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService14TestCaseOperation2, @@ -3180,13 +3170,14 @@ type InputService15ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService15ProtocolTest client from just a session. -// svc := inputservice15protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService15ProtocolTest client from just a session. +// svc := inputservice15protocoltest.New(mySession) // -// // Create a InputService15ProtocolTest client with additional configuration -// svc := inputservice15protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService15ProtocolTest client with additional configuration +// svc := inputservice15protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService15ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService15ProtocolTest { c := p.ClientConfig("inputservice15protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -3247,14 +3238,13 @@ const opInputService15TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService15TestCaseOperation1Request method. +// req, resp := client.InputService15TestCaseOperation1Request(params) // -// // Example sending a request using the InputService15TestCaseOperation1Request method. -// req, resp := client.InputService15TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService15ProtocolTest) InputService15TestCaseOperation1Request(input *InputService15TestShapeInputService15TestCaseOperation1Input) (req *request.Request, output *InputService15TestShapeInputService15TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService15TestCaseOperation1, @@ -3317,14 +3307,13 @@ const opInputService15TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService15TestCaseOperation2Request method. +// req, resp := client.InputService15TestCaseOperation2Request(params) // -// // Example sending a request using the InputService15TestCaseOperation2Request method. -// req, resp := client.InputService15TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService15ProtocolTest) InputService15TestCaseOperation2Request(input *InputService15TestShapeInputService15TestCaseOperation2Input) (req *request.Request, output *InputService15TestShapeInputService15TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService15TestCaseOperation2, @@ -3387,14 +3376,13 @@ const opInputService15TestCaseOperation3 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService15TestCaseOperation3Request method. +// req, resp := client.InputService15TestCaseOperation3Request(params) // -// // Example sending a request using the InputService15TestCaseOperation3Request method. -// req, resp := client.InputService15TestCaseOperation3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService15ProtocolTest) InputService15TestCaseOperation3Request(input *InputService15TestShapeInputService15TestCaseOperation3Input) (req *request.Request, output *InputService15TestShapeInputService15TestCaseOperation3Output) { op := &request.Operation{ Name: opInputService15TestCaseOperation3, @@ -3544,13 +3532,14 @@ type InputService16ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService16ProtocolTest client from just a session. -// svc := inputservice16protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService16ProtocolTest client from just a session. +// svc := inputservice16protocoltest.New(mySession) // -// // Create a InputService16ProtocolTest client with additional configuration -// svc := inputservice16protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService16ProtocolTest client with additional configuration +// svc := inputservice16protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService16ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService16ProtocolTest { c := p.ClientConfig("inputservice16protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -3611,14 +3600,13 @@ const opInputService16TestCaseOperation1 = "StaticOp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService16TestCaseOperation1Request method. +// req, resp := client.InputService16TestCaseOperation1Request(params) // -// // Example sending a request using the InputService16TestCaseOperation1Request method. -// req, resp := client.InputService16TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService16ProtocolTest) InputService16TestCaseOperation1Request(input *InputService16TestShapeInputService16TestCaseOperation1Input) (req *request.Request, output *InputService16TestShapeInputService16TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService16TestCaseOperation1, @@ -3683,14 +3671,13 @@ const opInputService16TestCaseOperation2 = "MemberRefOp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService16TestCaseOperation2Request method. +// req, resp := client.InputService16TestCaseOperation2Request(params) // -// // Example sending a request using the InputService16TestCaseOperation2Request method. -// req, resp := client.InputService16TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService16ProtocolTest) InputService16TestCaseOperation2Request(input *InputService16TestShapeInputService16TestCaseOperation2Input) (req *request.Request, output *InputService16TestShapeInputService16TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService16TestCaseOperation2, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/query/unmarshal_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/query/unmarshal_test.go index 50803a64b688..f99d1ded3a1c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/query/unmarshal_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/query/unmarshal_test.go @@ -61,13 +61,14 @@ type OutputService1ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService1ProtocolTest client from just a session. -// svc := outputservice1protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService1ProtocolTest client with additional configuration -// svc := outputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService1ProtocolTest client from just a session. +// svc := outputservice1protocoltest.New(mySession) +// +// // Create a OutputService1ProtocolTest client with additional configuration +// svc := outputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService1ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService1ProtocolTest { c := p.ClientConfig("outputservice1protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -128,14 +129,13 @@ const opOutputService1TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService1TestCaseOperation1Request method. +// req, resp := client.OutputService1TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService1TestCaseOperation1Request method. -// req, resp := client.OutputService1TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService1ProtocolTest) OutputService1TestCaseOperation1Request(input *OutputService1TestShapeOutputService1TestCaseOperation1Input) (req *request.Request, output *OutputService1TestShapeOutputService1TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService1TestCaseOperation1, @@ -275,13 +275,14 @@ type OutputService2ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService2ProtocolTest client from just a session. -// svc := outputservice2protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService2ProtocolTest client from just a session. +// svc := outputservice2protocoltest.New(mySession) // -// // Create a OutputService2ProtocolTest client with additional configuration -// svc := outputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService2ProtocolTest client with additional configuration +// svc := outputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService2ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService2ProtocolTest { c := p.ClientConfig("outputservice2protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -342,14 +343,13 @@ const opOutputService2TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService2TestCaseOperation1Request method. +// req, resp := client.OutputService2TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService2TestCaseOperation1Request method. -// req, resp := client.OutputService2TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService2ProtocolTest) OutputService2TestCaseOperation1Request(input *OutputService2TestShapeOutputService2TestCaseOperation1Input) (req *request.Request, output *OutputService2TestShapeOutputService2TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService2TestCaseOperation1, @@ -433,13 +433,14 @@ type OutputService3ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService3ProtocolTest client from just a session. -// svc := outputservice3protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService3ProtocolTest client from just a session. +// svc := outputservice3protocoltest.New(mySession) // -// // Create a OutputService3ProtocolTest client with additional configuration -// svc := outputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService3ProtocolTest client with additional configuration +// svc := outputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService3ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService3ProtocolTest { c := p.ClientConfig("outputservice3protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -500,14 +501,13 @@ const opOutputService3TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService3TestCaseOperation1Request method. +// req, resp := client.OutputService3TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService3TestCaseOperation1Request method. -// req, resp := client.OutputService3TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService3ProtocolTest) OutputService3TestCaseOperation1Request(input *OutputService3TestShapeOutputService3TestCaseOperation1Input) (req *request.Request, output *OutputService3TestShapeOutputService3TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService3TestCaseOperation1, @@ -584,13 +584,14 @@ type OutputService4ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService4ProtocolTest client from just a session. -// svc := outputservice4protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService4ProtocolTest client from just a session. +// svc := outputservice4protocoltest.New(mySession) // -// // Create a OutputService4ProtocolTest client with additional configuration -// svc := outputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService4ProtocolTest client with additional configuration +// svc := outputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService4ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService4ProtocolTest { c := p.ClientConfig("outputservice4protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -651,14 +652,13 @@ const opOutputService4TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService4TestCaseOperation1Request method. +// req, resp := client.OutputService4TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService4TestCaseOperation1Request method. -// req, resp := client.OutputService4TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService4ProtocolTest) OutputService4TestCaseOperation1Request(input *OutputService4TestShapeOutputService4TestCaseOperation1Input) (req *request.Request, output *OutputService4TestShapeOutputService4TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService4TestCaseOperation1, @@ -734,13 +734,14 @@ type OutputService5ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService5ProtocolTest client from just a session. -// svc := outputservice5protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService5ProtocolTest client from just a session. +// svc := outputservice5protocoltest.New(mySession) // -// // Create a OutputService5ProtocolTest client with additional configuration -// svc := outputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService5ProtocolTest client with additional configuration +// svc := outputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService5ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService5ProtocolTest { c := p.ClientConfig("outputservice5protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -801,14 +802,13 @@ const opOutputService5TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService5TestCaseOperation1Request method. +// req, resp := client.OutputService5TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService5TestCaseOperation1Request method. -// req, resp := client.OutputService5TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService5ProtocolTest) OutputService5TestCaseOperation1Request(input *OutputService5TestShapeOutputService5TestCaseOperation1Input) (req *request.Request, output *OutputService5TestShapeOutputService5TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService5TestCaseOperation1, @@ -884,13 +884,14 @@ type OutputService6ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService6ProtocolTest client from just a session. -// svc := outputservice6protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService6ProtocolTest client from just a session. +// svc := outputservice6protocoltest.New(mySession) // -// // Create a OutputService6ProtocolTest client with additional configuration -// svc := outputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService6ProtocolTest client with additional configuration +// svc := outputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService6ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService6ProtocolTest { c := p.ClientConfig("outputservice6protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -951,14 +952,13 @@ const opOutputService6TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService6TestCaseOperation1Request method. +// req, resp := client.OutputService6TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService6TestCaseOperation1Request method. -// req, resp := client.OutputService6TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService6ProtocolTest) OutputService6TestCaseOperation1Request(input *OutputService6TestShapeOutputService6TestCaseOperation1Input) (req *request.Request, output *OutputService6TestShapeOutputService6TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService6TestCaseOperation1, @@ -1034,13 +1034,14 @@ type OutputService7ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService7ProtocolTest client from just a session. -// svc := outputservice7protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService7ProtocolTest client from just a session. +// svc := outputservice7protocoltest.New(mySession) // -// // Create a OutputService7ProtocolTest client with additional configuration -// svc := outputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService7ProtocolTest client with additional configuration +// svc := outputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService7ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService7ProtocolTest { c := p.ClientConfig("outputservice7protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1101,14 +1102,13 @@ const opOutputService7TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService7TestCaseOperation1Request method. +// req, resp := client.OutputService7TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService7TestCaseOperation1Request method. -// req, resp := client.OutputService7TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService7ProtocolTest) OutputService7TestCaseOperation1Request(input *OutputService7TestShapeOutputService7TestCaseOperation1Input) (req *request.Request, output *OutputService7TestShapeOutputService7TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService7TestCaseOperation1, @@ -1184,13 +1184,14 @@ type OutputService8ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService8ProtocolTest client from just a session. -// svc := outputservice8protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService8ProtocolTest client from just a session. +// svc := outputservice8protocoltest.New(mySession) // -// // Create a OutputService8ProtocolTest client with additional configuration -// svc := outputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService8ProtocolTest client with additional configuration +// svc := outputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService8ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService8ProtocolTest { c := p.ClientConfig("outputservice8protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1251,14 +1252,13 @@ const opOutputService8TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService8TestCaseOperation1Request method. +// req, resp := client.OutputService8TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService8TestCaseOperation1Request method. -// req, resp := client.OutputService8TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService8ProtocolTest) OutputService8TestCaseOperation1Request(input *OutputService8TestShapeOutputService8TestCaseOperation1Input) (req *request.Request, output *OutputService8TestShapeOutputService8TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService8TestCaseOperation1, @@ -1362,13 +1362,14 @@ type OutputService9ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService9ProtocolTest client from just a session. -// svc := outputservice9protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService9ProtocolTest client from just a session. +// svc := outputservice9protocoltest.New(mySession) // -// // Create a OutputService9ProtocolTest client with additional configuration -// svc := outputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService9ProtocolTest client with additional configuration +// svc := outputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService9ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService9ProtocolTest { c := p.ClientConfig("outputservice9protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1429,14 +1430,13 @@ const opOutputService9TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService9TestCaseOperation1Request method. +// req, resp := client.OutputService9TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService9TestCaseOperation1Request method. -// req, resp := client.OutputService9TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService9ProtocolTest) OutputService9TestCaseOperation1Request(input *OutputService9TestShapeOutputService9TestCaseOperation1Input) (req *request.Request, output *OutputService9TestShapeOutputService9TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService9TestCaseOperation1, @@ -1540,13 +1540,14 @@ type OutputService10ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService10ProtocolTest client from just a session. -// svc := outputservice10protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService10ProtocolTest client from just a session. +// svc := outputservice10protocoltest.New(mySession) // -// // Create a OutputService10ProtocolTest client with additional configuration -// svc := outputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService10ProtocolTest client with additional configuration +// svc := outputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService10ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService10ProtocolTest { c := p.ClientConfig("outputservice10protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1607,14 +1608,13 @@ const opOutputService10TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService10TestCaseOperation1Request method. +// req, resp := client.OutputService10TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService10TestCaseOperation1Request method. -// req, resp := client.OutputService10TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService10ProtocolTest) OutputService10TestCaseOperation1Request(input *OutputService10TestShapeOutputService10TestCaseOperation1Input) (req *request.Request, output *OutputService10TestShapeOutputService10TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService10TestCaseOperation1, @@ -1690,13 +1690,14 @@ type OutputService11ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService11ProtocolTest client from just a session. -// svc := outputservice11protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService11ProtocolTest client with additional configuration -// svc := outputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService11ProtocolTest client from just a session. +// svc := outputservice11protocoltest.New(mySession) +// +// // Create a OutputService11ProtocolTest client with additional configuration +// svc := outputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService11ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService11ProtocolTest { c := p.ClientConfig("outputservice11protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1757,14 +1758,13 @@ const opOutputService11TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService11TestCaseOperation1Request method. +// req, resp := client.OutputService11TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService11TestCaseOperation1Request method. -// req, resp := client.OutputService11TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService11ProtocolTest) OutputService11TestCaseOperation1Request(input *OutputService11TestShapeOutputService11TestCaseOperation1Input) (req *request.Request, output *OutputService11TestShapeOutputService11TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService11TestCaseOperation1, @@ -1852,13 +1852,14 @@ type OutputService12ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService12ProtocolTest client from just a session. -// svc := outputservice12protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService12ProtocolTest client with additional configuration -// svc := outputservice12protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService12ProtocolTest client from just a session. +// svc := outputservice12protocoltest.New(mySession) +// +// // Create a OutputService12ProtocolTest client with additional configuration +// svc := outputservice12protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService12ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService12ProtocolTest { c := p.ClientConfig("outputservice12protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1919,14 +1920,13 @@ const opOutputService12TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService12TestCaseOperation1Request method. +// req, resp := client.OutputService12TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService12TestCaseOperation1Request method. -// req, resp := client.OutputService12TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService12ProtocolTest) OutputService12TestCaseOperation1Request(input *OutputService12TestShapeOutputService12TestCaseOperation1Input) (req *request.Request, output *OutputService12TestShapeOutputService12TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService12TestCaseOperation1, @@ -2002,13 +2002,14 @@ type OutputService13ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService13ProtocolTest client from just a session. -// svc := outputservice13protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService13ProtocolTest client with additional configuration -// svc := outputservice13protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService13ProtocolTest client from just a session. +// svc := outputservice13protocoltest.New(mySession) +// +// // Create a OutputService13ProtocolTest client with additional configuration +// svc := outputservice13protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService13ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService13ProtocolTest { c := p.ClientConfig("outputservice13protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2069,14 +2070,13 @@ const opOutputService13TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService13TestCaseOperation1Request method. +// req, resp := client.OutputService13TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService13TestCaseOperation1Request method. -// req, resp := client.OutputService13TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService13ProtocolTest) OutputService13TestCaseOperation1Request(input *OutputService13TestShapeOutputService13TestCaseOperation1Input) (req *request.Request, output *OutputService13TestShapeOutputService13TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService13TestCaseOperation1, @@ -2152,13 +2152,14 @@ type OutputService14ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService14ProtocolTest client from just a session. -// svc := outputservice14protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService14ProtocolTest client with additional configuration -// svc := outputservice14protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService14ProtocolTest client from just a session. +// svc := outputservice14protocoltest.New(mySession) +// +// // Create a OutputService14ProtocolTest client with additional configuration +// svc := outputservice14protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService14ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService14ProtocolTest { c := p.ClientConfig("outputservice14protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2219,14 +2220,13 @@ const opOutputService14TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService14TestCaseOperation1Request method. +// req, resp := client.OutputService14TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService14TestCaseOperation1Request method. -// req, resp := client.OutputService14TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService14ProtocolTest) OutputService14TestCaseOperation1Request(input *OutputService14TestShapeOutputService14TestCaseOperation1Input) (req *request.Request, output *OutputService14TestShapeOutputService14TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService14TestCaseOperation1, @@ -2302,13 +2302,14 @@ type OutputService15ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService15ProtocolTest client from just a session. -// svc := outputservice15protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService15ProtocolTest client with additional configuration -// svc := outputservice15protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService15ProtocolTest client from just a session. +// svc := outputservice15protocoltest.New(mySession) +// +// // Create a OutputService15ProtocolTest client with additional configuration +// svc := outputservice15protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService15ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService15ProtocolTest { c := p.ClientConfig("outputservice15protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2369,14 +2370,13 @@ const opOutputService15TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService15TestCaseOperation1Request method. +// req, resp := client.OutputService15TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService15TestCaseOperation1Request method. -// req, resp := client.OutputService15TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService15ProtocolTest) OutputService15TestCaseOperation1Request(input *OutputService15TestShapeOutputService15TestCaseOperation1Input) (req *request.Request, output *OutputService15TestShapeOutputService15TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService15TestCaseOperation1, @@ -2452,13 +2452,14 @@ type OutputService16ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService16ProtocolTest client from just a session. -// svc := outputservice16protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService16ProtocolTest client with additional configuration -// svc := outputservice16protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService16ProtocolTest client from just a session. +// svc := outputservice16protocoltest.New(mySession) +// +// // Create a OutputService16ProtocolTest client with additional configuration +// svc := outputservice16protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService16ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService16ProtocolTest { c := p.ClientConfig("outputservice16protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2519,14 +2520,13 @@ const opOutputService16TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService16TestCaseOperation1Request method. +// req, resp := client.OutputService16TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService16TestCaseOperation1Request method. -// req, resp := client.OutputService16TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService16ProtocolTest) OutputService16TestCaseOperation1Request(input *OutputService16TestShapeOutputService16TestCaseOperation1Input) (req *request.Request, output *OutputService16TestShapeOutputService16TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService16TestCaseOperation1, @@ -2646,13 +2646,14 @@ type OutputService17ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService17ProtocolTest client from just a session. -// svc := outputservice17protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService17ProtocolTest client with additional configuration -// svc := outputservice17protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService17ProtocolTest client from just a session. +// svc := outputservice17protocoltest.New(mySession) +// +// // Create a OutputService17ProtocolTest client with additional configuration +// svc := outputservice17protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService17ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService17ProtocolTest { c := p.ClientConfig("outputservice17protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2713,14 +2714,13 @@ const opOutputService17TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService17TestCaseOperation1Request method. +// req, resp := client.OutputService17TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService17TestCaseOperation1Request method. -// req, resp := client.OutputService17TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService17ProtocolTest) OutputService17TestCaseOperation1Request(input *OutputService17TestShapeOutputService17TestCaseOperation1Input) (req *request.Request, output *OutputService17TestShapeOutputService17TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService17TestCaseOperation1, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restjson/build_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restjson/build_test.go index 2fa959934f2f..c251558befd6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restjson/build_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restjson/build_test.go @@ -61,13 +61,14 @@ type InputService1ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService1ProtocolTest client from just a session. -// svc := inputservice1protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService1ProtocolTest client with additional configuration -// svc := inputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService1ProtocolTest client from just a session. +// svc := inputservice1protocoltest.New(mySession) +// +// // Create a InputService1ProtocolTest client with additional configuration +// svc := inputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService1ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService1ProtocolTest { c := p.ClientConfig("inputservice1protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -128,14 +129,13 @@ const opInputService1TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService1TestCaseOperation1Request method. +// req, resp := client.InputService1TestCaseOperation1Request(params) // -// // Example sending a request using the InputService1TestCaseOperation1Request method. -// req, resp := client.InputService1TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService1ProtocolTest) InputService1TestCaseOperation1Request(input *InputService1TestShapeInputService1TestCaseOperation1Input) (req *request.Request, output *InputService1TestShapeInputService1TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService1TestCaseOperation1, @@ -205,13 +205,14 @@ type InputService2ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService2ProtocolTest client from just a session. -// svc := inputservice2protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService2ProtocolTest client from just a session. +// svc := inputservice2protocoltest.New(mySession) // -// // Create a InputService2ProtocolTest client with additional configuration -// svc := inputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService2ProtocolTest client with additional configuration +// svc := inputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService2ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService2ProtocolTest { c := p.ClientConfig("inputservice2protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -272,14 +273,13 @@ const opInputService2TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService2TestCaseOperation1Request method. +// req, resp := client.InputService2TestCaseOperation1Request(params) // -// // Example sending a request using the InputService2TestCaseOperation1Request method. -// req, resp := client.InputService2TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService2ProtocolTest) InputService2TestCaseOperation1Request(input *InputService2TestShapeInputService2TestCaseOperation1Input) (req *request.Request, output *InputService2TestShapeInputService2TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService2TestCaseOperation1, @@ -374,13 +374,14 @@ type InputService3ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService3ProtocolTest client from just a session. -// svc := inputservice3protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService3ProtocolTest client from just a session. +// svc := inputservice3protocoltest.New(mySession) // -// // Create a InputService3ProtocolTest client with additional configuration -// svc := inputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService3ProtocolTest client with additional configuration +// svc := inputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService3ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService3ProtocolTest { c := p.ClientConfig("inputservice3protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -441,14 +442,13 @@ const opInputService3TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService3TestCaseOperation1Request method. +// req, resp := client.InputService3TestCaseOperation1Request(params) // -// // Example sending a request using the InputService3TestCaseOperation1Request method. -// req, resp := client.InputService3TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService3ProtocolTest) InputService3TestCaseOperation1Request(input *InputService3TestShapeInputService3TestCaseOperation1Input) (req *request.Request, output *InputService3TestShapeInputService3TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService3TestCaseOperation1, @@ -543,13 +543,14 @@ type InputService4ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService4ProtocolTest client from just a session. -// svc := inputservice4protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService4ProtocolTest client from just a session. +// svc := inputservice4protocoltest.New(mySession) // -// // Create a InputService4ProtocolTest client with additional configuration -// svc := inputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService4ProtocolTest client with additional configuration +// svc := inputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService4ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService4ProtocolTest { c := p.ClientConfig("inputservice4protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -610,14 +611,13 @@ const opInputService4TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService4TestCaseOperation1Request method. +// req, resp := client.InputService4TestCaseOperation1Request(params) // -// // Example sending a request using the InputService4TestCaseOperation1Request method. -// req, resp := client.InputService4TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService4ProtocolTest) InputService4TestCaseOperation1Request(input *InputService4TestShapeInputService4TestCaseOperation1Input) (req *request.Request, output *InputService4TestShapeInputService4TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService4TestCaseOperation1, @@ -695,13 +695,14 @@ type InputService5ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService5ProtocolTest client from just a session. -// svc := inputservice5protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService5ProtocolTest client with additional configuration -// svc := inputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService5ProtocolTest client from just a session. +// svc := inputservice5protocoltest.New(mySession) +// +// // Create a InputService5ProtocolTest client with additional configuration +// svc := inputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService5ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService5ProtocolTest { c := p.ClientConfig("inputservice5protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -762,14 +763,13 @@ const opInputService5TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService5TestCaseOperation1Request method. +// req, resp := client.InputService5TestCaseOperation1Request(params) // -// // Example sending a request using the InputService5TestCaseOperation1Request method. -// req, resp := client.InputService5TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService5ProtocolTest) InputService5TestCaseOperation1Request(input *InputService5TestShapeInputService5TestCaseOperation1Input) (req *request.Request, output *InputService5TestShapeInputService5TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService5TestCaseOperation1, @@ -872,13 +872,14 @@ type InputService6ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService6ProtocolTest client from just a session. -// svc := inputservice6protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService6ProtocolTest client with additional configuration -// svc := inputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService6ProtocolTest client from just a session. +// svc := inputservice6protocoltest.New(mySession) +// +// // Create a InputService6ProtocolTest client with additional configuration +// svc := inputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService6ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService6ProtocolTest { c := p.ClientConfig("inputservice6protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -939,14 +940,13 @@ const opInputService6TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService6TestCaseOperation1Request method. +// req, resp := client.InputService6TestCaseOperation1Request(params) // -// // Example sending a request using the InputService6TestCaseOperation1Request method. -// req, resp := client.InputService6TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService6ProtocolTest) InputService6TestCaseOperation1Request(input *InputService6TestShapeInputService6TestCaseOperation1Input) (req *request.Request, output *InputService6TestShapeInputService6TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService6TestCaseOperation1, @@ -1049,13 +1049,14 @@ type InputService7ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService7ProtocolTest client from just a session. -// svc := inputservice7protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService7ProtocolTest client from just a session. +// svc := inputservice7protocoltest.New(mySession) // -// // Create a InputService7ProtocolTest client with additional configuration -// svc := inputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService7ProtocolTest client with additional configuration +// svc := inputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService7ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService7ProtocolTest { c := p.ClientConfig("inputservice7protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1116,14 +1117,13 @@ const opInputService7TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService7TestCaseOperation1Request method. +// req, resp := client.InputService7TestCaseOperation1Request(params) // -// // Example sending a request using the InputService7TestCaseOperation1Request method. -// req, resp := client.InputService7TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService7ProtocolTest) InputService7TestCaseOperation1Request(input *InputService7TestShapeInputService7TestCaseOperation1Input) (req *request.Request, output *InputService7TestShapeInputService7TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService7TestCaseOperation1, @@ -1186,14 +1186,13 @@ const opInputService7TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService7TestCaseOperation2Request method. +// req, resp := client.InputService7TestCaseOperation2Request(params) // -// // Example sending a request using the InputService7TestCaseOperation2Request method. -// req, resp := client.InputService7TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService7ProtocolTest) InputService7TestCaseOperation2Request(input *InputService7TestShapeInputService7TestCaseOperation2Input) (req *request.Request, output *InputService7TestShapeInputService7TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService7TestCaseOperation2, @@ -1287,13 +1286,14 @@ type InputService8ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService8ProtocolTest client from just a session. -// svc := inputservice8protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService8ProtocolTest client with additional configuration -// svc := inputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService8ProtocolTest client from just a session. +// svc := inputservice8protocoltest.New(mySession) +// +// // Create a InputService8ProtocolTest client with additional configuration +// svc := inputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService8ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService8ProtocolTest { c := p.ClientConfig("inputservice8protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1354,14 +1354,13 @@ const opInputService8TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService8TestCaseOperation1Request method. +// req, resp := client.InputService8TestCaseOperation1Request(params) // -// // Example sending a request using the InputService8TestCaseOperation1Request method. -// req, resp := client.InputService8TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService8ProtocolTest) InputService8TestCaseOperation1Request(input *InputService8TestShapeInputService8TestCaseOperation1Input) (req *request.Request, output *InputService8TestShapeInputService8TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService8TestCaseOperation1, @@ -1472,13 +1471,14 @@ type InputService9ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService9ProtocolTest client from just a session. -// svc := inputservice9protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService9ProtocolTest client with additional configuration -// svc := inputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService9ProtocolTest client from just a session. +// svc := inputservice9protocoltest.New(mySession) +// +// // Create a InputService9ProtocolTest client with additional configuration +// svc := inputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService9ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService9ProtocolTest { c := p.ClientConfig("inputservice9protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1539,14 +1539,13 @@ const opInputService9TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService9TestCaseOperation1Request method. +// req, resp := client.InputService9TestCaseOperation1Request(params) // -// // Example sending a request using the InputService9TestCaseOperation1Request method. -// req, resp := client.InputService9TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService9ProtocolTest) InputService9TestCaseOperation1Request(input *InputService9TestShapeInputService9TestCaseOperation1Input) (req *request.Request, output *InputService9TestShapeInputService9TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService9TestCaseOperation1, @@ -1685,13 +1684,14 @@ type InputService10ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService10ProtocolTest client from just a session. -// svc := inputservice10protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService10ProtocolTest client with additional configuration -// svc := inputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService10ProtocolTest client from just a session. +// svc := inputservice10protocoltest.New(mySession) +// +// // Create a InputService10ProtocolTest client with additional configuration +// svc := inputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService10ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService10ProtocolTest { c := p.ClientConfig("inputservice10protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1752,14 +1752,13 @@ const opInputService10TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService10TestCaseOperation1Request method. +// req, resp := client.InputService10TestCaseOperation1Request(params) // -// // Example sending a request using the InputService10TestCaseOperation1Request method. -// req, resp := client.InputService10TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService10ProtocolTest) InputService10TestCaseOperation1Request(input *InputService10TestShapeInputService10TestCaseOperation1Input) (req *request.Request, output *InputService10TestShapeInputService10TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService10TestCaseOperation1, @@ -1906,13 +1905,14 @@ type InputService11ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService11ProtocolTest client from just a session. -// svc := inputservice11protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService11ProtocolTest client from just a session. +// svc := inputservice11protocoltest.New(mySession) // -// // Create a InputService11ProtocolTest client with additional configuration -// svc := inputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService11ProtocolTest client with additional configuration +// svc := inputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService11ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService11ProtocolTest { c := p.ClientConfig("inputservice11protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1973,14 +1973,13 @@ const opInputService11TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService11TestCaseOperation1Request method. +// req, resp := client.InputService11TestCaseOperation1Request(params) // -// // Example sending a request using the InputService11TestCaseOperation1Request method. -// req, resp := client.InputService11TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService11ProtocolTest) InputService11TestCaseOperation1Request(input *InputService11TestShapeInputService11TestCaseOperation1Input) (req *request.Request, output *InputService11TestShapeInputService11TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService11TestCaseOperation1, @@ -2091,13 +2090,14 @@ type InputService12ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService12ProtocolTest client from just a session. -// svc := inputservice12protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService12ProtocolTest client from just a session. +// svc := inputservice12protocoltest.New(mySession) // -// // Create a InputService12ProtocolTest client with additional configuration -// svc := inputservice12protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService12ProtocolTest client with additional configuration +// svc := inputservice12protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService12ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService12ProtocolTest { c := p.ClientConfig("inputservice12protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2158,14 +2158,13 @@ const opInputService12TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService12TestCaseOperation1Request method. +// req, resp := client.InputService12TestCaseOperation1Request(params) // -// // Example sending a request using the InputService12TestCaseOperation1Request method. -// req, resp := client.InputService12TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService12ProtocolTest) InputService12TestCaseOperation1Request(input *InputService12TestShapeInputService12TestCaseOperation1Input) (req *request.Request, output *InputService12TestShapeInputService12TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService12TestCaseOperation1, @@ -2269,13 +2268,14 @@ type InputService13ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService13ProtocolTest client from just a session. -// svc := inputservice13protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService13ProtocolTest client from just a session. +// svc := inputservice13protocoltest.New(mySession) // -// // Create a InputService13ProtocolTest client with additional configuration -// svc := inputservice13protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService13ProtocolTest client with additional configuration +// svc := inputservice13protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService13ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService13ProtocolTest { c := p.ClientConfig("inputservice13protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2336,14 +2336,13 @@ const opInputService13TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService13TestCaseOperation1Request method. +// req, resp := client.InputService13TestCaseOperation1Request(params) // -// // Example sending a request using the InputService13TestCaseOperation1Request method. -// req, resp := client.InputService13TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService13ProtocolTest) InputService13TestCaseOperation1Request(input *InputService13TestShapeInputService13TestCaseOperation1Input) (req *request.Request, output *InputService13TestShapeInputService13TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService13TestCaseOperation1, @@ -2406,14 +2405,13 @@ const opInputService13TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService13TestCaseOperation2Request method. +// req, resp := client.InputService13TestCaseOperation2Request(params) // -// // Example sending a request using the InputService13TestCaseOperation2Request method. -// req, resp := client.InputService13TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService13ProtocolTest) InputService13TestCaseOperation2Request(input *InputService13TestShapeInputService13TestCaseOperation2Input) (req *request.Request, output *InputService13TestShapeInputService13TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService13TestCaseOperation2, @@ -2507,13 +2505,14 @@ type InputService14ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService14ProtocolTest client from just a session. -// svc := inputservice14protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService14ProtocolTest client from just a session. +// svc := inputservice14protocoltest.New(mySession) // -// // Create a InputService14ProtocolTest client with additional configuration -// svc := inputservice14protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService14ProtocolTest client with additional configuration +// svc := inputservice14protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService14ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService14ProtocolTest { c := p.ClientConfig("inputservice14protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2574,14 +2573,13 @@ const opInputService14TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService14TestCaseOperation1Request method. +// req, resp := client.InputService14TestCaseOperation1Request(params) // -// // Example sending a request using the InputService14TestCaseOperation1Request method. -// req, resp := client.InputService14TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService14ProtocolTest) InputService14TestCaseOperation1Request(input *InputService14TestShapeInputService14TestCaseOperation1Input) (req *request.Request, output *InputService14TestShapeInputService14TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService14TestCaseOperation1, @@ -2644,14 +2642,13 @@ const opInputService14TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService14TestCaseOperation2Request method. +// req, resp := client.InputService14TestCaseOperation2Request(params) // -// // Example sending a request using the InputService14TestCaseOperation2Request method. -// req, resp := client.InputService14TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService14ProtocolTest) InputService14TestCaseOperation2Request(input *InputService14TestShapeInputService14TestCaseOperation2Input) (req *request.Request, output *InputService14TestShapeInputService14TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService14TestCaseOperation2, @@ -2757,13 +2754,14 @@ type InputService15ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService15ProtocolTest client from just a session. -// svc := inputservice15protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService15ProtocolTest client from just a session. +// svc := inputservice15protocoltest.New(mySession) // -// // Create a InputService15ProtocolTest client with additional configuration -// svc := inputservice15protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService15ProtocolTest client with additional configuration +// svc := inputservice15protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService15ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService15ProtocolTest { c := p.ClientConfig("inputservice15protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2824,14 +2822,13 @@ const opInputService15TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService15TestCaseOperation1Request method. +// req, resp := client.InputService15TestCaseOperation1Request(params) // -// // Example sending a request using the InputService15TestCaseOperation1Request method. -// req, resp := client.InputService15TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService15ProtocolTest) InputService15TestCaseOperation1Request(input *InputService15TestShapeInputService15TestCaseOperation1Input) (req *request.Request, output *InputService15TestShapeInputService15TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService15TestCaseOperation1, @@ -2894,14 +2891,13 @@ const opInputService15TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService15TestCaseOperation2Request method. +// req, resp := client.InputService15TestCaseOperation2Request(params) // -// // Example sending a request using the InputService15TestCaseOperation2Request method. -// req, resp := client.InputService15TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService15ProtocolTest) InputService15TestCaseOperation2Request(input *InputService15TestShapeInputService15TestCaseOperation2Input) (req *request.Request, output *InputService15TestShapeInputService15TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService15TestCaseOperation2, @@ -2995,13 +2991,14 @@ type InputService16ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService16ProtocolTest client from just a session. -// svc := inputservice16protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService16ProtocolTest client with additional configuration -// svc := inputservice16protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService16ProtocolTest client from just a session. +// svc := inputservice16protocoltest.New(mySession) +// +// // Create a InputService16ProtocolTest client with additional configuration +// svc := inputservice16protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService16ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService16ProtocolTest { c := p.ClientConfig("inputservice16protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -3062,14 +3059,13 @@ const opInputService16TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService16TestCaseOperation1Request method. +// req, resp := client.InputService16TestCaseOperation1Request(params) // -// // Example sending a request using the InputService16TestCaseOperation1Request method. -// req, resp := client.InputService16TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService16ProtocolTest) InputService16TestCaseOperation1Request(input *InputService16TestShapeInputService16TestCaseOperation1Input) (req *request.Request, output *InputService16TestShapeInputService16TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService16TestCaseOperation1, @@ -3132,14 +3128,13 @@ const opInputService16TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService16TestCaseOperation2Request method. +// req, resp := client.InputService16TestCaseOperation2Request(params) // -// // Example sending a request using the InputService16TestCaseOperation2Request method. -// req, resp := client.InputService16TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService16ProtocolTest) InputService16TestCaseOperation2Request(input *InputService16TestShapeInputService16TestCaseOperation2Input) (req *request.Request, output *InputService16TestShapeInputService16TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService16TestCaseOperation2, @@ -3202,14 +3197,13 @@ const opInputService16TestCaseOperation3 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService16TestCaseOperation3Request method. +// req, resp := client.InputService16TestCaseOperation3Request(params) // -// // Example sending a request using the InputService16TestCaseOperation3Request method. -// req, resp := client.InputService16TestCaseOperation3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService16ProtocolTest) InputService16TestCaseOperation3Request(input *InputService16TestShapeInputService16TestCaseOperation3Input) (req *request.Request, output *InputService16TestShapeInputService16TestCaseOperation3Output) { op := &request.Operation{ Name: opInputService16TestCaseOperation3, @@ -3272,14 +3266,13 @@ const opInputService16TestCaseOperation4 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService16TestCaseOperation4Request method. +// req, resp := client.InputService16TestCaseOperation4Request(params) // -// // Example sending a request using the InputService16TestCaseOperation4Request method. -// req, resp := client.InputService16TestCaseOperation4Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService16ProtocolTest) InputService16TestCaseOperation4Request(input *InputService16TestShapeInputService16TestCaseOperation4Input) (req *request.Request, output *InputService16TestShapeInputService16TestCaseOperation4Output) { op := &request.Operation{ Name: opInputService16TestCaseOperation4, @@ -3342,14 +3335,13 @@ const opInputService16TestCaseOperation5 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService16TestCaseOperation5Request method. +// req, resp := client.InputService16TestCaseOperation5Request(params) // -// // Example sending a request using the InputService16TestCaseOperation5Request method. -// req, resp := client.InputService16TestCaseOperation5Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService16ProtocolTest) InputService16TestCaseOperation5Request(input *InputService16TestShapeInputService16TestCaseOperation5Input) (req *request.Request, output *InputService16TestShapeInputService16TestCaseOperation5Output) { op := &request.Operation{ Name: opInputService16TestCaseOperation5, @@ -3412,14 +3404,13 @@ const opInputService16TestCaseOperation6 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService16TestCaseOperation6Request method. +// req, resp := client.InputService16TestCaseOperation6Request(params) // -// // Example sending a request using the InputService16TestCaseOperation6Request method. -// req, resp := client.InputService16TestCaseOperation6Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService16ProtocolTest) InputService16TestCaseOperation6Request(input *InputService16TestShapeInputService16TestCaseOperation6Input) (req *request.Request, output *InputService16TestShapeInputService16TestCaseOperation6Output) { op := &request.Operation{ Name: opInputService16TestCaseOperation6, @@ -3613,13 +3604,14 @@ type InputService17ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService17ProtocolTest client from just a session. -// svc := inputservice17protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService17ProtocolTest client with additional configuration -// svc := inputservice17protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService17ProtocolTest client from just a session. +// svc := inputservice17protocoltest.New(mySession) +// +// // Create a InputService17ProtocolTest client with additional configuration +// svc := inputservice17protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService17ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService17ProtocolTest { c := p.ClientConfig("inputservice17protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -3680,14 +3672,13 @@ const opInputService17TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService17TestCaseOperation1Request method. +// req, resp := client.InputService17TestCaseOperation1Request(params) // -// // Example sending a request using the InputService17TestCaseOperation1Request method. -// req, resp := client.InputService17TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService17ProtocolTest) InputService17TestCaseOperation1Request(input *InputService17TestShapeInputService17TestCaseOperation1Input) (req *request.Request, output *InputService17TestShapeInputService17TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService17TestCaseOperation1, @@ -3829,13 +3820,14 @@ type InputService18ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService18ProtocolTest client from just a session. -// svc := inputservice18protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService18ProtocolTest client with additional configuration -// svc := inputservice18protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService18ProtocolTest client from just a session. +// svc := inputservice18protocoltest.New(mySession) +// +// // Create a InputService18ProtocolTest client with additional configuration +// svc := inputservice18protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService18ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService18ProtocolTest { c := p.ClientConfig("inputservice18protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -3896,14 +3888,13 @@ const opInputService18TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService18TestCaseOperation1Request method. +// req, resp := client.InputService18TestCaseOperation1Request(params) // -// // Example sending a request using the InputService18TestCaseOperation1Request method. -// req, resp := client.InputService18TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService18ProtocolTest) InputService18TestCaseOperation1Request(input *InputService18TestShapeInputService18TestCaseOperation1Input) (req *request.Request, output *InputService18TestShapeInputService18TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService18TestCaseOperation1, @@ -3981,13 +3972,14 @@ type InputService19ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService19ProtocolTest client from just a session. -// svc := inputservice19protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService19ProtocolTest client from just a session. +// svc := inputservice19protocoltest.New(mySession) // -// // Create a InputService19ProtocolTest client with additional configuration -// svc := inputservice19protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService19ProtocolTest client with additional configuration +// svc := inputservice19protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService19ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService19ProtocolTest { c := p.ClientConfig("inputservice19protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -4048,14 +4040,13 @@ const opInputService19TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService19TestCaseOperation1Request method. +// req, resp := client.InputService19TestCaseOperation1Request(params) // -// // Example sending a request using the InputService19TestCaseOperation1Request method. -// req, resp := client.InputService19TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService19ProtocolTest) InputService19TestCaseOperation1Request(input *InputService19TestShapeInputService19TestCaseOperation1Input) (req *request.Request, output *InputService19TestShapeInputService19TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService19TestCaseOperation1, @@ -4133,13 +4124,14 @@ type InputService20ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService20ProtocolTest client from just a session. -// svc := inputservice20protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService20ProtocolTest client from just a session. +// svc := inputservice20protocoltest.New(mySession) // -// // Create a InputService20ProtocolTest client with additional configuration -// svc := inputservice20protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService20ProtocolTest client with additional configuration +// svc := inputservice20protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService20ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService20ProtocolTest { c := p.ClientConfig("inputservice20protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -4200,14 +4192,13 @@ const opInputService20TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService20TestCaseOperation1Request method. +// req, resp := client.InputService20TestCaseOperation1Request(params) // -// // Example sending a request using the InputService20TestCaseOperation1Request method. -// req, resp := client.InputService20TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService20ProtocolTest) InputService20TestCaseOperation1Request(input *InputService20TestShapeInputService20TestCaseOperation1Input) (req *request.Request, output *InputService20TestShapeInputService20TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService20TestCaseOperation1, @@ -4270,14 +4261,13 @@ const opInputService20TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService20TestCaseOperation2Request method. +// req, resp := client.InputService20TestCaseOperation2Request(params) // -// // Example sending a request using the InputService20TestCaseOperation2Request method. -// req, resp := client.InputService20TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService20ProtocolTest) InputService20TestCaseOperation2Request(input *InputService20TestShapeInputService20TestCaseOperation2Input) (req *request.Request, output *InputService20TestShapeInputService20TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService20TestCaseOperation2, @@ -4371,13 +4361,14 @@ type InputService21ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService21ProtocolTest client from just a session. -// svc := inputservice21protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService21ProtocolTest client from just a session. +// svc := inputservice21protocoltest.New(mySession) // -// // Create a InputService21ProtocolTest client with additional configuration -// svc := inputservice21protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService21ProtocolTest client with additional configuration +// svc := inputservice21protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService21ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService21ProtocolTest { c := p.ClientConfig("inputservice21protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -4438,14 +4429,13 @@ const opInputService21TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService21TestCaseOperation1Request method. +// req, resp := client.InputService21TestCaseOperation1Request(params) // -// // Example sending a request using the InputService21TestCaseOperation1Request method. -// req, resp := client.InputService21TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService21ProtocolTest) InputService21TestCaseOperation1Request(input *InputService21TestShapeInputService21TestCaseOperation1Input) (req *request.Request, output *InputService21TestShapeInputService21TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService21TestCaseOperation1, @@ -4508,14 +4498,13 @@ const opInputService21TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService21TestCaseOperation2Request method. +// req, resp := client.InputService21TestCaseOperation2Request(params) // -// // Example sending a request using the InputService21TestCaseOperation2Request method. -// req, resp := client.InputService21TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService21ProtocolTest) InputService21TestCaseOperation2Request(input *InputService21TestShapeInputService21TestCaseOperation2Input) (req *request.Request, output *InputService21TestShapeInputService21TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService21TestCaseOperation2, @@ -4578,14 +4567,13 @@ const opInputService21TestCaseOperation3 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService21TestCaseOperation3Request method. +// req, resp := client.InputService21TestCaseOperation3Request(params) // -// // Example sending a request using the InputService21TestCaseOperation3Request method. -// req, resp := client.InputService21TestCaseOperation3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService21ProtocolTest) InputService21TestCaseOperation3Request(input *InputService21TestShapeInputService21TestCaseOperation3Input) (req *request.Request, output *InputService21TestShapeInputService21TestCaseOperation3Output) { op := &request.Operation{ Name: opInputService21TestCaseOperation3, @@ -4763,13 +4751,14 @@ type InputService22ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService22ProtocolTest client from just a session. -// svc := inputservice22protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService22ProtocolTest client from just a session. +// svc := inputservice22protocoltest.New(mySession) // -// // Create a InputService22ProtocolTest client with additional configuration -// svc := inputservice22protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService22ProtocolTest client with additional configuration +// svc := inputservice22protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService22ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService22ProtocolTest { c := p.ClientConfig("inputservice22protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -4830,14 +4819,13 @@ const opInputService22TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService22TestCaseOperation1Request method. +// req, resp := client.InputService22TestCaseOperation1Request(params) // -// // Example sending a request using the InputService22TestCaseOperation1Request method. -// req, resp := client.InputService22TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService22ProtocolTest) InputService22TestCaseOperation1Request(input *InputService22TestShapeInputService22TestCaseOperation1Input) (req *request.Request, output *InputService22TestShapeInputService22TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService22TestCaseOperation1, @@ -4900,14 +4888,13 @@ const opInputService22TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService22TestCaseOperation2Request method. +// req, resp := client.InputService22TestCaseOperation2Request(params) // -// // Example sending a request using the InputService22TestCaseOperation2Request method. -// req, resp := client.InputService22TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService22ProtocolTest) InputService22TestCaseOperation2Request(input *InputService22TestShapeInputService22TestCaseOperation2Input) (req *request.Request, output *InputService22TestShapeInputService22TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService22TestCaseOperation2, @@ -5089,13 +5076,14 @@ type InputService23ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService23ProtocolTest client from just a session. -// svc := inputservice23protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService23ProtocolTest client with additional configuration -// svc := inputservice23protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService23ProtocolTest client from just a session. +// svc := inputservice23protocoltest.New(mySession) +// +// // Create a InputService23ProtocolTest client with additional configuration +// svc := inputservice23protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService23ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService23ProtocolTest { c := p.ClientConfig("inputservice23protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -5156,14 +5144,13 @@ const opInputService23TestCaseOperation1 = "StaticOp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService23TestCaseOperation1Request method. +// req, resp := client.InputService23TestCaseOperation1Request(params) // -// // Example sending a request using the InputService23TestCaseOperation1Request method. -// req, resp := client.InputService23TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService23ProtocolTest) InputService23TestCaseOperation1Request(input *InputService23TestShapeInputService23TestCaseOperation1Input) (req *request.Request, output *InputService23TestShapeInputService23TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService23TestCaseOperation1, @@ -5228,14 +5215,13 @@ const opInputService23TestCaseOperation2 = "MemberRefOp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService23TestCaseOperation2Request method. +// req, resp := client.InputService23TestCaseOperation2Request(params) // -// // Example sending a request using the InputService23TestCaseOperation2Request method. -// req, resp := client.InputService23TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService23ProtocolTest) InputService23TestCaseOperation2Request(input *InputService23TestShapeInputService23TestCaseOperation2Input) (req *request.Request, output *InputService23TestShapeInputService23TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService23TestCaseOperation2, @@ -5354,13 +5340,14 @@ type InputService24ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService24ProtocolTest client from just a session. -// svc := inputservice24protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService24ProtocolTest client with additional configuration -// svc := inputservice24protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService24ProtocolTest client from just a session. +// svc := inputservice24protocoltest.New(mySession) +// +// // Create a InputService24ProtocolTest client with additional configuration +// svc := inputservice24protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService24ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService24ProtocolTest { c := p.ClientConfig("inputservice24protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -5421,14 +5408,13 @@ const opInputService24TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService24TestCaseOperation1Request method. +// req, resp := client.InputService24TestCaseOperation1Request(params) // -// // Example sending a request using the InputService24TestCaseOperation1Request method. -// req, resp := client.InputService24TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService24ProtocolTest) InputService24TestCaseOperation1Request(input *InputService24TestShapeInputService24TestCaseOperation1Input) (req *request.Request, output *InputService24TestShapeInputService24TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService24TestCaseOperation1, @@ -5491,14 +5477,13 @@ const opInputService24TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService24TestCaseOperation2Request method. +// req, resp := client.InputService24TestCaseOperation2Request(params) // -// // Example sending a request using the InputService24TestCaseOperation2Request method. -// req, resp := client.InputService24TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService24ProtocolTest) InputService24TestCaseOperation2Request(input *InputService24TestShapeInputService24TestCaseOperation2Input) (req *request.Request, output *InputService24TestShapeInputService24TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService24TestCaseOperation2, @@ -5561,14 +5546,13 @@ const opInputService24TestCaseOperation3 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService24TestCaseOperation3Request method. +// req, resp := client.InputService24TestCaseOperation3Request(params) // -// // Example sending a request using the InputService24TestCaseOperation3Request method. -// req, resp := client.InputService24TestCaseOperation3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService24ProtocolTest) InputService24TestCaseOperation3Request(input *InputService24TestShapeInputService24TestCaseOperation3Input) (req *request.Request, output *InputService24TestShapeInputService24TestCaseOperation3Output) { op := &request.Operation{ Name: opInputService24TestCaseOperation3, @@ -5631,14 +5615,13 @@ const opInputService24TestCaseOperation4 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService24TestCaseOperation4Request method. +// req, resp := client.InputService24TestCaseOperation4Request(params) // -// // Example sending a request using the InputService24TestCaseOperation4Request method. -// req, resp := client.InputService24TestCaseOperation4Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService24ProtocolTest) InputService24TestCaseOperation4Request(input *InputService24TestShapeInputService24TestCaseOperation4Input) (req *request.Request, output *InputService24TestShapeInputService24TestCaseOperation4Output) { op := &request.Operation{ Name: opInputService24TestCaseOperation4, @@ -5701,14 +5684,13 @@ const opInputService24TestCaseOperation5 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService24TestCaseOperation5Request method. +// req, resp := client.InputService24TestCaseOperation5Request(params) // -// // Example sending a request using the InputService24TestCaseOperation5Request method. -// req, resp := client.InputService24TestCaseOperation5Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService24ProtocolTest) InputService24TestCaseOperation5Request(input *InputService24TestShapeInputService24TestCaseOperation5Input) (req *request.Request, output *InputService24TestShapeInputService24TestCaseOperation5Output) { op := &request.Operation{ Name: opInputService24TestCaseOperation5, @@ -5906,13 +5888,14 @@ type InputService25ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService25ProtocolTest client from just a session. -// svc := inputservice25protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService25ProtocolTest client from just a session. +// svc := inputservice25protocoltest.New(mySession) // -// // Create a InputService25ProtocolTest client with additional configuration -// svc := inputservice25protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService25ProtocolTest client with additional configuration +// svc := inputservice25protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService25ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService25ProtocolTest { c := p.ClientConfig("inputservice25protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -5973,14 +5956,13 @@ const opInputService25TestCaseOperation1 = "TestBody" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService25TestCaseOperation1Request method. +// req, resp := client.InputService25TestCaseOperation1Request(params) // -// // Example sending a request using the InputService25TestCaseOperation1Request method. -// req, resp := client.InputService25TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService25ProtocolTest) InputService25TestCaseOperation1Request(input *InputService25TestShapeInputService25TestCaseOperation1Input) (req *request.Request, output *InputService25TestShapeInputService25TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService25TestCaseOperation1, @@ -6043,14 +6025,13 @@ const opInputService25TestCaseOperation2 = "TestBodyNoParams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService25TestCaseOperation2Request method. +// req, resp := client.InputService25TestCaseOperation2Request(params) // -// // Example sending a request using the InputService25TestCaseOperation2Request method. -// req, resp := client.InputService25TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService25ProtocolTest) InputService25TestCaseOperation2Request(input *InputService25TestShapeInputService25TestCaseOperation2Input) (req *request.Request, output *InputService25TestShapeInputService25TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService25TestCaseOperation2, @@ -6113,14 +6094,13 @@ const opInputService25TestCaseOperation3 = "TestPayloadNoParams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService25TestCaseOperation3Request method. +// req, resp := client.InputService25TestCaseOperation3Request(params) // -// // Example sending a request using the InputService25TestCaseOperation3Request method. -// req, resp := client.InputService25TestCaseOperation3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService25ProtocolTest) InputService25TestCaseOperation3Request(input *InputService25TestShapeInputService25TestCaseOperation3Input) (req *request.Request, output *InputService25TestShapeInputService25TestCaseOperation3Output) { op := &request.Operation{ Name: opInputService25TestCaseOperation3, @@ -6183,14 +6163,13 @@ const opInputService25TestCaseOperation4 = "TestPayload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService25TestCaseOperation4Request method. +// req, resp := client.InputService25TestCaseOperation4Request(params) // -// // Example sending a request using the InputService25TestCaseOperation4Request method. -// req, resp := client.InputService25TestCaseOperation4Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService25ProtocolTest) InputService25TestCaseOperation4Request(input *InputService25TestShapeInputService25TestCaseOperation4Input) (req *request.Request, output *InputService25TestShapeInputService25TestCaseOperation4Output) { op := &request.Operation{ Name: opInputService25TestCaseOperation4, @@ -6253,14 +6232,13 @@ const opInputService25TestCaseOperation5 = "TestPayloadNoBody" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService25TestCaseOperation5Request method. +// req, resp := client.InputService25TestCaseOperation5Request(params) // -// // Example sending a request using the InputService25TestCaseOperation5Request method. -// req, resp := client.InputService25TestCaseOperation5Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService25ProtocolTest) InputService25TestCaseOperation5Request(input *InputService25TestShapeInputService25TestCaseOperation5Input) (req *request.Request, output *InputService25TestShapeInputService25TestCaseOperation5Output) { op := &request.Operation{ Name: opInputService25TestCaseOperation5, @@ -6323,14 +6301,13 @@ const opInputService25TestCaseOperation6 = "TestBlobPayload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService25TestCaseOperation6Request method. +// req, resp := client.InputService25TestCaseOperation6Request(params) // -// // Example sending a request using the InputService25TestCaseOperation6Request method. -// req, resp := client.InputService25TestCaseOperation6Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService25ProtocolTest) InputService25TestCaseOperation6Request(input *InputService25TestShapeInputService25TestCaseOperation6Input) (req *request.Request, output *InputService25TestShapeInputService25TestCaseOperation6Output) { op := &request.Operation{ Name: opInputService25TestCaseOperation6, @@ -6393,14 +6370,13 @@ const opInputService25TestCaseOperation7 = "TestBlobPayloadNoParams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService25TestCaseOperation7Request method. +// req, resp := client.InputService25TestCaseOperation7Request(params) // -// // Example sending a request using the InputService25TestCaseOperation7Request method. -// req, resp := client.InputService25TestCaseOperation7Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService25ProtocolTest) InputService25TestCaseOperation7Request(input *InputService25TestShapeInputService25TestCaseOperation7Input) (req *request.Request, output *InputService25TestShapeInputService25TestCaseOperation7Output) { op := &request.Operation{ Name: opInputService25TestCaseOperation7, @@ -6463,14 +6439,13 @@ const opInputService25TestCaseOperation8 = "NoPayload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService25TestCaseOperation8Request method. +// req, resp := client.InputService25TestCaseOperation8Request(params) // -// // Example sending a request using the InputService25TestCaseOperation8Request method. -// req, resp := client.InputService25TestCaseOperation8Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService25ProtocolTest) InputService25TestCaseOperation8Request(input *InputService25TestShapeInputService25TestCaseOperation8Input) (req *request.Request, output *InputService25TestShapeInputService25TestCaseOperation8Output) { op := &request.Operation{ Name: opInputService25TestCaseOperation8, @@ -6533,14 +6508,13 @@ const opInputService25TestCaseOperation9 = "NoPayloadWithHeader" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService25TestCaseOperation9Request method. +// req, resp := client.InputService25TestCaseOperation9Request(params) // -// // Example sending a request using the InputService25TestCaseOperation9Request method. -// req, resp := client.InputService25TestCaseOperation9Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService25ProtocolTest) InputService25TestCaseOperation9Request(input *InputService25TestShapeInputService25TestCaseOperation9Input) (req *request.Request, output *InputService25TestShapeInputService25TestCaseOperation9Output) { op := &request.Operation{ Name: opInputService25TestCaseOperation9, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restjson/unmarshal_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restjson/unmarshal_test.go index 7644edbde4e5..1330d93964c0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restjson/unmarshal_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restjson/unmarshal_test.go @@ -61,13 +61,14 @@ type OutputService1ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService1ProtocolTest client from just a session. -// svc := outputservice1protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService1ProtocolTest client with additional configuration -// svc := outputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService1ProtocolTest client from just a session. +// svc := outputservice1protocoltest.New(mySession) +// +// // Create a OutputService1ProtocolTest client with additional configuration +// svc := outputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService1ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService1ProtocolTest { c := p.ClientConfig("outputservice1protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -128,14 +129,13 @@ const opOutputService1TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService1TestCaseOperation1Request method. +// req, resp := client.OutputService1TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService1TestCaseOperation1Request method. -// req, resp := client.OutputService1TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService1ProtocolTest) OutputService1TestCaseOperation1Request(input *OutputService1TestShapeOutputService1TestCaseOperation1Input) (req *request.Request, output *OutputService1TestShapeOutputService1TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService1TestCaseOperation1, @@ -317,13 +317,14 @@ type OutputService2ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService2ProtocolTest client from just a session. -// svc := outputservice2protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService2ProtocolTest client with additional configuration -// svc := outputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService2ProtocolTest client from just a session. +// svc := outputservice2protocoltest.New(mySession) +// +// // Create a OutputService2ProtocolTest client with additional configuration +// svc := outputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService2ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService2ProtocolTest { c := p.ClientConfig("outputservice2protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -384,14 +385,13 @@ const opOutputService2TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService2TestCaseOperation1Request method. +// req, resp := client.OutputService2TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService2TestCaseOperation1Request method. -// req, resp := client.OutputService2TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService2ProtocolTest) OutputService2TestCaseOperation1Request(input *OutputService2TestShapeOutputService2TestCaseOperation1Input) (req *request.Request, output *OutputService2TestShapeOutputService2TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService2TestCaseOperation1, @@ -489,13 +489,14 @@ type OutputService3ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService3ProtocolTest client from just a session. -// svc := outputservice3protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService3ProtocolTest client with additional configuration -// svc := outputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService3ProtocolTest client from just a session. +// svc := outputservice3protocoltest.New(mySession) +// +// // Create a OutputService3ProtocolTest client with additional configuration +// svc := outputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService3ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService3ProtocolTest { c := p.ClientConfig("outputservice3protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -556,14 +557,13 @@ const opOutputService3TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService3TestCaseOperation1Request method. +// req, resp := client.OutputService3TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService3TestCaseOperation1Request method. -// req, resp := client.OutputService3TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService3ProtocolTest) OutputService3TestCaseOperation1Request(input *OutputService3TestShapeOutputService3TestCaseOperation1Input) (req *request.Request, output *OutputService3TestShapeOutputService3TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService3TestCaseOperation1, @@ -707,13 +707,14 @@ type OutputService4ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService4ProtocolTest client from just a session. -// svc := outputservice4protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService4ProtocolTest client with additional configuration -// svc := outputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService4ProtocolTest client from just a session. +// svc := outputservice4protocoltest.New(mySession) +// +// // Create a OutputService4ProtocolTest client with additional configuration +// svc := outputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService4ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService4ProtocolTest { c := p.ClientConfig("outputservice4protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -774,14 +775,13 @@ const opOutputService4TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService4TestCaseOperation1Request method. +// req, resp := client.OutputService4TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService4TestCaseOperation1Request method. -// req, resp := client.OutputService4TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService4ProtocolTest) OutputService4TestCaseOperation1Request(input *OutputService4TestShapeOutputService4TestCaseOperation1Input) (req *request.Request, output *OutputService4TestShapeOutputService4TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService4TestCaseOperation1, @@ -857,13 +857,14 @@ type OutputService5ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService5ProtocolTest client from just a session. -// svc := outputservice5protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService5ProtocolTest client with additional configuration -// svc := outputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService5ProtocolTest client from just a session. +// svc := outputservice5protocoltest.New(mySession) +// +// // Create a OutputService5ProtocolTest client with additional configuration +// svc := outputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService5ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService5ProtocolTest { c := p.ClientConfig("outputservice5protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -924,14 +925,13 @@ const opOutputService5TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService5TestCaseOperation1Request method. +// req, resp := client.OutputService5TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService5TestCaseOperation1Request method. -// req, resp := client.OutputService5TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService5ProtocolTest) OutputService5TestCaseOperation1Request(input *OutputService5TestShapeOutputService5TestCaseOperation1Input) (req *request.Request, output *OutputService5TestShapeOutputService5TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService5TestCaseOperation1, @@ -1019,13 +1019,14 @@ type OutputService6ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService6ProtocolTest client from just a session. -// svc := outputservice6protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService6ProtocolTest client with additional configuration -// svc := outputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService6ProtocolTest client from just a session. +// svc := outputservice6protocoltest.New(mySession) +// +// // Create a OutputService6ProtocolTest client with additional configuration +// svc := outputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService6ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService6ProtocolTest { c := p.ClientConfig("outputservice6protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1086,14 +1087,13 @@ const opOutputService6TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService6TestCaseOperation1Request method. +// req, resp := client.OutputService6TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService6TestCaseOperation1Request method. -// req, resp := client.OutputService6TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService6ProtocolTest) OutputService6TestCaseOperation1Request(input *OutputService6TestShapeOutputService6TestCaseOperation1Input) (req *request.Request, output *OutputService6TestShapeOutputService6TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService6TestCaseOperation1, @@ -1169,13 +1169,14 @@ type OutputService7ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService7ProtocolTest client from just a session. -// svc := outputservice7protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService7ProtocolTest client with additional configuration -// svc := outputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService7ProtocolTest client from just a session. +// svc := outputservice7protocoltest.New(mySession) +// +// // Create a OutputService7ProtocolTest client with additional configuration +// svc := outputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService7ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService7ProtocolTest { c := p.ClientConfig("outputservice7protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1236,14 +1237,13 @@ const opOutputService7TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService7TestCaseOperation1Request method. +// req, resp := client.OutputService7TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService7TestCaseOperation1Request method. -// req, resp := client.OutputService7TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService7ProtocolTest) OutputService7TestCaseOperation1Request(input *OutputService7TestShapeOutputService7TestCaseOperation1Input) (req *request.Request, output *OutputService7TestShapeOutputService7TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService7TestCaseOperation1, @@ -1319,13 +1319,14 @@ type OutputService8ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService8ProtocolTest client from just a session. -// svc := outputservice8protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService8ProtocolTest client from just a session. +// svc := outputservice8protocoltest.New(mySession) // -// // Create a OutputService8ProtocolTest client with additional configuration -// svc := outputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService8ProtocolTest client with additional configuration +// svc := outputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService8ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService8ProtocolTest { c := p.ClientConfig("outputservice8protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1386,14 +1387,13 @@ const opOutputService8TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService8TestCaseOperation1Request method. +// req, resp := client.OutputService8TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService8TestCaseOperation1Request method. -// req, resp := client.OutputService8TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService8ProtocolTest) OutputService8TestCaseOperation1Request(input *OutputService8TestShapeOutputService8TestCaseOperation1Input) (req *request.Request, output *OutputService8TestShapeOutputService8TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService8TestCaseOperation1, @@ -1469,13 +1469,14 @@ type OutputService9ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService9ProtocolTest client from just a session. -// svc := outputservice9protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService9ProtocolTest client from just a session. +// svc := outputservice9protocoltest.New(mySession) // -// // Create a OutputService9ProtocolTest client with additional configuration -// svc := outputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService9ProtocolTest client with additional configuration +// svc := outputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService9ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService9ProtocolTest { c := p.ClientConfig("outputservice9protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1536,14 +1537,13 @@ const opOutputService9TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService9TestCaseOperation1Request method. +// req, resp := client.OutputService9TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService9TestCaseOperation1Request method. -// req, resp := client.OutputService9TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService9ProtocolTest) OutputService9TestCaseOperation1Request(input *OutputService9TestShapeOutputService9TestCaseOperation1Input) (req *request.Request, output *OutputService9TestShapeOutputService9TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService9TestCaseOperation1, @@ -1612,13 +1612,14 @@ type OutputService10ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService10ProtocolTest client from just a session. -// svc := outputservice10protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService10ProtocolTest client from just a session. +// svc := outputservice10protocoltest.New(mySession) // -// // Create a OutputService10ProtocolTest client with additional configuration -// svc := outputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService10ProtocolTest client with additional configuration +// svc := outputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService10ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService10ProtocolTest { c := p.ClientConfig("outputservice10protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1679,14 +1680,13 @@ const opOutputService10TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService10TestCaseOperation1Request method. +// req, resp := client.OutputService10TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService10TestCaseOperation1Request method. -// req, resp := client.OutputService10TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService10ProtocolTest) OutputService10TestCaseOperation1Request(input *OutputService10TestShapeOutputService10TestCaseOperation1Input) (req *request.Request, output *OutputService10TestShapeOutputService10TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService10TestCaseOperation1, @@ -1776,13 +1776,14 @@ type OutputService11ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService11ProtocolTest client from just a session. -// svc := outputservice11protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService11ProtocolTest client from just a session. +// svc := outputservice11protocoltest.New(mySession) // -// // Create a OutputService11ProtocolTest client with additional configuration -// svc := outputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService11ProtocolTest client with additional configuration +// svc := outputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService11ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService11ProtocolTest { c := p.ClientConfig("outputservice11protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1843,14 +1844,13 @@ const opOutputService11TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService11TestCaseOperation1Request method. +// req, resp := client.OutputService11TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService11TestCaseOperation1Request method. -// req, resp := client.OutputService11TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService11ProtocolTest) OutputService11TestCaseOperation1Request(input *OutputService11TestShapeOutputService11TestCaseOperation1Input) (req *request.Request, output *OutputService11TestShapeOutputService11TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService11TestCaseOperation1, @@ -1946,13 +1946,14 @@ type OutputService12ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService12ProtocolTest client from just a session. -// svc := outputservice12protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService12ProtocolTest client from just a session. +// svc := outputservice12protocoltest.New(mySession) // -// // Create a OutputService12ProtocolTest client with additional configuration -// svc := outputservice12protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService12ProtocolTest client with additional configuration +// svc := outputservice12protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService12ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService12ProtocolTest { c := p.ClientConfig("outputservice12protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2013,14 +2014,13 @@ const opOutputService12TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService12TestCaseOperation1Request method. +// req, resp := client.OutputService12TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService12TestCaseOperation1Request method. -// req, resp := client.OutputService12TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService12ProtocolTest) OutputService12TestCaseOperation1Request(input *OutputService12TestShapeOutputService12TestCaseOperation1Input) (req *request.Request, output *OutputService12TestShapeOutputService12TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService12TestCaseOperation1, @@ -2096,13 +2096,14 @@ type OutputService13ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService13ProtocolTest client from just a session. -// svc := outputservice13protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService13ProtocolTest client from just a session. +// svc := outputservice13protocoltest.New(mySession) // -// // Create a OutputService13ProtocolTest client with additional configuration -// svc := outputservice13protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService13ProtocolTest client with additional configuration +// svc := outputservice13protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService13ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService13ProtocolTest { c := p.ClientConfig("outputservice13protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2163,14 +2164,13 @@ const opOutputService13TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService13TestCaseOperation1Request method. +// req, resp := client.OutputService13TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService13TestCaseOperation1Request method. -// req, resp := client.OutputService13TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService13ProtocolTest) OutputService13TestCaseOperation1Request(input *OutputService13TestShapeOutputService13TestCaseOperation1Input) (req *request.Request, output *OutputService13TestShapeOutputService13TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService13TestCaseOperation1, @@ -2231,14 +2231,13 @@ const opOutputService13TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService13TestCaseOperation2Request method. +// req, resp := client.OutputService13TestCaseOperation2Request(params) // -// // Example sending a request using the OutputService13TestCaseOperation2Request method. -// req, resp := client.OutputService13TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService13ProtocolTest) OutputService13TestCaseOperation2Request(input *OutputService13TestShapeOutputService13TestCaseOperation2Input) (req *request.Request, output *OutputService13TestShapeOutputService13TestCaseOperation2Output) { op := &request.Operation{ Name: opOutputService13TestCaseOperation2, @@ -2362,13 +2361,14 @@ type OutputService14ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService14ProtocolTest client from just a session. -// svc := outputservice14protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService14ProtocolTest client with additional configuration -// svc := outputservice14protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService14ProtocolTest client from just a session. +// svc := outputservice14protocoltest.New(mySession) +// +// // Create a OutputService14ProtocolTest client with additional configuration +// svc := outputservice14protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService14ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService14ProtocolTest { c := p.ClientConfig("outputservice14protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2429,14 +2429,13 @@ const opOutputService14TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService14TestCaseOperation1Request method. +// req, resp := client.OutputService14TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService14TestCaseOperation1Request method. -// req, resp := client.OutputService14TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService14ProtocolTest) OutputService14TestCaseOperation1Request(input *OutputService14TestShapeOutputService14TestCaseOperation1Input) (req *request.Request, output *OutputService14TestShapeOutputService14TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService14TestCaseOperation1, @@ -2498,14 +2497,13 @@ const opOutputService14TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService14TestCaseOperation2Request method. +// req, resp := client.OutputService14TestCaseOperation2Request(params) // -// // Example sending a request using the OutputService14TestCaseOperation2Request method. -// req, resp := client.OutputService14TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService14ProtocolTest) OutputService14TestCaseOperation2Request(input *OutputService14TestShapeOutputService14TestCaseOperation2Input) (req *request.Request, output *OutputService14TestShapeOutputService14TestCaseOperation2Output) { op := &request.Operation{ Name: opOutputService14TestCaseOperation2, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restxml/build_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restxml/build_test.go index d05f891e9fc6..4e005f628f10 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restxml/build_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restxml/build_test.go @@ -61,13 +61,14 @@ type InputService1ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService1ProtocolTest client from just a session. -// svc := inputservice1protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService1ProtocolTest client with additional configuration -// svc := inputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService1ProtocolTest client from just a session. +// svc := inputservice1protocoltest.New(mySession) +// +// // Create a InputService1ProtocolTest client with additional configuration +// svc := inputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService1ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService1ProtocolTest { c := p.ClientConfig("inputservice1protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -128,14 +129,13 @@ const opInputService1TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService1TestCaseOperation1Request method. +// req, resp := client.InputService1TestCaseOperation1Request(params) // -// // Example sending a request using the InputService1TestCaseOperation1Request method. -// req, resp := client.InputService1TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService1ProtocolTest) InputService1TestCaseOperation1Request(input *InputService1TestShapeInputService1TestCaseOperation1Input) (req *request.Request, output *InputService1TestShapeInputService1TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService1TestCaseOperation1, @@ -198,14 +198,13 @@ const opInputService1TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService1TestCaseOperation2Request method. +// req, resp := client.InputService1TestCaseOperation2Request(params) // -// // Example sending a request using the InputService1TestCaseOperation2Request method. -// req, resp := client.InputService1TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService1ProtocolTest) InputService1TestCaseOperation2Request(input *InputService1TestShapeInputService1TestCaseOperation2Input) (req *request.Request, output *InputService1TestShapeInputService1TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService1TestCaseOperation2, @@ -268,14 +267,13 @@ const opInputService1TestCaseOperation3 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService1TestCaseOperation3Request method. +// req, resp := client.InputService1TestCaseOperation3Request(params) // -// // Example sending a request using the InputService1TestCaseOperation3Request method. -// req, resp := client.InputService1TestCaseOperation3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService1ProtocolTest) InputService1TestCaseOperation3Request(input *InputService1TestShapeInputService1TestCaseOperation3Input) (req *request.Request, output *InputService1TestShapeInputService1TestCaseOperation3Output) { op := &request.Operation{ Name: opInputService1TestCaseOperation3, @@ -393,13 +391,14 @@ type InputService2ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService2ProtocolTest client from just a session. -// svc := inputservice2protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService2ProtocolTest client from just a session. +// svc := inputservice2protocoltest.New(mySession) // -// // Create a InputService2ProtocolTest client with additional configuration -// svc := inputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService2ProtocolTest client with additional configuration +// svc := inputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService2ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService2ProtocolTest { c := p.ClientConfig("inputservice2protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -460,14 +459,13 @@ const opInputService2TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService2TestCaseOperation1Request method. +// req, resp := client.InputService2TestCaseOperation1Request(params) // -// // Example sending a request using the InputService2TestCaseOperation1Request method. -// req, resp := client.InputService2TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService2ProtocolTest) InputService2TestCaseOperation1Request(input *InputService2TestShapeInputService2TestCaseOperation1Input) (req *request.Request, output *InputService2TestShapeInputService2TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService2TestCaseOperation1, @@ -569,13 +567,14 @@ type InputService3ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService3ProtocolTest client from just a session. -// svc := inputservice3protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService3ProtocolTest client from just a session. +// svc := inputservice3protocoltest.New(mySession) // -// // Create a InputService3ProtocolTest client with additional configuration -// svc := inputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService3ProtocolTest client with additional configuration +// svc := inputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService3ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService3ProtocolTest { c := p.ClientConfig("inputservice3protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -636,14 +635,13 @@ const opInputService3TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService3TestCaseOperation1Request method. +// req, resp := client.InputService3TestCaseOperation1Request(params) // -// // Example sending a request using the InputService3TestCaseOperation1Request method. -// req, resp := client.InputService3TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService3ProtocolTest) InputService3TestCaseOperation1Request(input *InputService3TestShapeInputService3TestCaseOperation1Input) (req *request.Request, output *InputService3TestShapeInputService3TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService3TestCaseOperation1, @@ -706,14 +704,13 @@ const opInputService3TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService3TestCaseOperation2Request method. +// req, resp := client.InputService3TestCaseOperation2Request(params) // -// // Example sending a request using the InputService3TestCaseOperation2Request method. -// req, resp := client.InputService3TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService3ProtocolTest) InputService3TestCaseOperation2Request(input *InputService3TestShapeInputService3TestCaseOperation2Input) (req *request.Request, output *InputService3TestShapeInputService3TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService3TestCaseOperation2, @@ -843,13 +840,14 @@ type InputService4ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService4ProtocolTest client from just a session. -// svc := inputservice4protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService4ProtocolTest client with additional configuration -// svc := inputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService4ProtocolTest client from just a session. +// svc := inputservice4protocoltest.New(mySession) +// +// // Create a InputService4ProtocolTest client with additional configuration +// svc := inputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService4ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService4ProtocolTest { c := p.ClientConfig("inputservice4protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -910,14 +908,13 @@ const opInputService4TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService4TestCaseOperation1Request method. +// req, resp := client.InputService4TestCaseOperation1Request(params) // -// // Example sending a request using the InputService4TestCaseOperation1Request method. -// req, resp := client.InputService4TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService4ProtocolTest) InputService4TestCaseOperation1Request(input *InputService4TestShapeInputService4TestCaseOperation1Input) (req *request.Request, output *InputService4TestShapeInputService4TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService4TestCaseOperation1, @@ -1023,13 +1020,14 @@ type InputService5ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService5ProtocolTest client from just a session. -// svc := inputservice5protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService5ProtocolTest client from just a session. +// svc := inputservice5protocoltest.New(mySession) // -// // Create a InputService5ProtocolTest client with additional configuration -// svc := inputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService5ProtocolTest client with additional configuration +// svc := inputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService5ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService5ProtocolTest { c := p.ClientConfig("inputservice5protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1090,14 +1088,13 @@ const opInputService5TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService5TestCaseOperation1Request method. +// req, resp := client.InputService5TestCaseOperation1Request(params) // -// // Example sending a request using the InputService5TestCaseOperation1Request method. -// req, resp := client.InputService5TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService5ProtocolTest) InputService5TestCaseOperation1Request(input *InputService5TestShapeInputService5TestCaseOperation1Input) (req *request.Request, output *InputService5TestShapeInputService5TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService5TestCaseOperation1, @@ -1175,13 +1172,14 @@ type InputService6ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService6ProtocolTest client from just a session. -// svc := inputservice6protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService6ProtocolTest client from just a session. +// svc := inputservice6protocoltest.New(mySession) // -// // Create a InputService6ProtocolTest client with additional configuration -// svc := inputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService6ProtocolTest client with additional configuration +// svc := inputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService6ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService6ProtocolTest { c := p.ClientConfig("inputservice6protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1242,14 +1240,13 @@ const opInputService6TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService6TestCaseOperation1Request method. +// req, resp := client.InputService6TestCaseOperation1Request(params) // -// // Example sending a request using the InputService6TestCaseOperation1Request method. -// req, resp := client.InputService6TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService6ProtocolTest) InputService6TestCaseOperation1Request(input *InputService6TestShapeInputService6TestCaseOperation1Input) (req *request.Request, output *InputService6TestShapeInputService6TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService6TestCaseOperation1, @@ -1327,13 +1324,14 @@ type InputService7ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService7ProtocolTest client from just a session. -// svc := inputservice7protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService7ProtocolTest client from just a session. +// svc := inputservice7protocoltest.New(mySession) // -// // Create a InputService7ProtocolTest client with additional configuration -// svc := inputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService7ProtocolTest client with additional configuration +// svc := inputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService7ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService7ProtocolTest { c := p.ClientConfig("inputservice7protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1394,14 +1392,13 @@ const opInputService7TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService7TestCaseOperation1Request method. +// req, resp := client.InputService7TestCaseOperation1Request(params) // -// // Example sending a request using the InputService7TestCaseOperation1Request method. -// req, resp := client.InputService7TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService7ProtocolTest) InputService7TestCaseOperation1Request(input *InputService7TestShapeInputService7TestCaseOperation1Input) (req *request.Request, output *InputService7TestShapeInputService7TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService7TestCaseOperation1, @@ -1479,13 +1476,14 @@ type InputService8ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService8ProtocolTest client from just a session. -// svc := inputservice8protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService8ProtocolTest client from just a session. +// svc := inputservice8protocoltest.New(mySession) // -// // Create a InputService8ProtocolTest client with additional configuration -// svc := inputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService8ProtocolTest client with additional configuration +// svc := inputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService8ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService8ProtocolTest { c := p.ClientConfig("inputservice8protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1546,14 +1544,13 @@ const opInputService8TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService8TestCaseOperation1Request method. +// req, resp := client.InputService8TestCaseOperation1Request(params) // -// // Example sending a request using the InputService8TestCaseOperation1Request method. -// req, resp := client.InputService8TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService8ProtocolTest) InputService8TestCaseOperation1Request(input *InputService8TestShapeInputService8TestCaseOperation1Input) (req *request.Request, output *InputService8TestShapeInputService8TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService8TestCaseOperation1, @@ -1631,13 +1628,14 @@ type InputService9ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService9ProtocolTest client from just a session. -// svc := inputservice9protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService9ProtocolTest client from just a session. +// svc := inputservice9protocoltest.New(mySession) // -// // Create a InputService9ProtocolTest client with additional configuration -// svc := inputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService9ProtocolTest client with additional configuration +// svc := inputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService9ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService9ProtocolTest { c := p.ClientConfig("inputservice9protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1698,14 +1696,13 @@ const opInputService9TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService9TestCaseOperation1Request method. +// req, resp := client.InputService9TestCaseOperation1Request(params) // -// // Example sending a request using the InputService9TestCaseOperation1Request method. -// req, resp := client.InputService9TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService9ProtocolTest) InputService9TestCaseOperation1Request(input *InputService9TestShapeInputService9TestCaseOperation1Input) (req *request.Request, output *InputService9TestShapeInputService9TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService9TestCaseOperation1, @@ -1795,13 +1792,14 @@ type InputService10ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService10ProtocolTest client from just a session. -// svc := inputservice10protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService10ProtocolTest client with additional configuration -// svc := inputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService10ProtocolTest client from just a session. +// svc := inputservice10protocoltest.New(mySession) +// +// // Create a InputService10ProtocolTest client with additional configuration +// svc := inputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService10ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService10ProtocolTest { c := p.ClientConfig("inputservice10protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1862,14 +1860,13 @@ const opInputService10TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService10TestCaseOperation1Request method. +// req, resp := client.InputService10TestCaseOperation1Request(params) // -// // Example sending a request using the InputService10TestCaseOperation1Request method. -// req, resp := client.InputService10TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService10ProtocolTest) InputService10TestCaseOperation1Request(input *InputService10TestShapeInputService10TestCaseOperation1Input) (req *request.Request, output *InputService10TestShapeInputService10TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService10TestCaseOperation1, @@ -1960,13 +1957,14 @@ type InputService11ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService11ProtocolTest client from just a session. -// svc := inputservice11protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService11ProtocolTest client with additional configuration -// svc := inputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService11ProtocolTest client from just a session. +// svc := inputservice11protocoltest.New(mySession) +// +// // Create a InputService11ProtocolTest client with additional configuration +// svc := inputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService11ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService11ProtocolTest { c := p.ClientConfig("inputservice11protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2027,14 +2025,13 @@ const opInputService11TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService11TestCaseOperation1Request method. +// req, resp := client.InputService11TestCaseOperation1Request(params) // -// // Example sending a request using the InputService11TestCaseOperation1Request method. -// req, resp := client.InputService11TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService11ProtocolTest) InputService11TestCaseOperation1Request(input *InputService11TestShapeInputService11TestCaseOperation1Input) (req *request.Request, output *InputService11TestShapeInputService11TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService11TestCaseOperation1, @@ -2176,13 +2173,14 @@ type InputService12ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService12ProtocolTest client from just a session. -// svc := inputservice12protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService12ProtocolTest client with additional configuration -// svc := inputservice12protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService12ProtocolTest client from just a session. +// svc := inputservice12protocoltest.New(mySession) +// +// // Create a InputService12ProtocolTest client with additional configuration +// svc := inputservice12protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService12ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService12ProtocolTest { c := p.ClientConfig("inputservice12protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2243,14 +2241,13 @@ const opInputService12TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService12TestCaseOperation1Request method. +// req, resp := client.InputService12TestCaseOperation1Request(params) // -// // Example sending a request using the InputService12TestCaseOperation1Request method. -// req, resp := client.InputService12TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService12ProtocolTest) InputService12TestCaseOperation1Request(input *InputService12TestShapeInputService12TestCaseOperation1Input) (req *request.Request, output *InputService12TestShapeInputService12TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService12TestCaseOperation1, @@ -2328,13 +2325,14 @@ type InputService13ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService13ProtocolTest client from just a session. -// svc := inputservice13protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService13ProtocolTest client with additional configuration -// svc := inputservice13protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService13ProtocolTest client from just a session. +// svc := inputservice13protocoltest.New(mySession) +// +// // Create a InputService13ProtocolTest client with additional configuration +// svc := inputservice13protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService13ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService13ProtocolTest { c := p.ClientConfig("inputservice13protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2395,14 +2393,13 @@ const opInputService13TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService13TestCaseOperation1Request method. +// req, resp := client.InputService13TestCaseOperation1Request(params) // -// // Example sending a request using the InputService13TestCaseOperation1Request method. -// req, resp := client.InputService13TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService13ProtocolTest) InputService13TestCaseOperation1Request(input *InputService13TestShapeInputService13TestCaseOperation1Input) (req *request.Request, output *InputService13TestShapeInputService13TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService13TestCaseOperation1, @@ -2480,13 +2477,14 @@ type InputService14ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService14ProtocolTest client from just a session. -// svc := inputservice14protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService14ProtocolTest client from just a session. +// svc := inputservice14protocoltest.New(mySession) // -// // Create a InputService14ProtocolTest client with additional configuration -// svc := inputservice14protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService14ProtocolTest client with additional configuration +// svc := inputservice14protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService14ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService14ProtocolTest { c := p.ClientConfig("inputservice14protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2547,14 +2545,13 @@ const opInputService14TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService14TestCaseOperation1Request method. +// req, resp := client.InputService14TestCaseOperation1Request(params) // -// // Example sending a request using the InputService14TestCaseOperation1Request method. -// req, resp := client.InputService14TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService14ProtocolTest) InputService14TestCaseOperation1Request(input *InputService14TestShapeInputService14TestCaseOperation1Input) (req *request.Request, output *InputService14TestShapeInputService14TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService14TestCaseOperation1, @@ -2657,13 +2654,14 @@ type InputService15ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService15ProtocolTest client from just a session. -// svc := inputservice15protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService15ProtocolTest client from just a session. +// svc := inputservice15protocoltest.New(mySession) // -// // Create a InputService15ProtocolTest client with additional configuration -// svc := inputservice15protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService15ProtocolTest client with additional configuration +// svc := inputservice15protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService15ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService15ProtocolTest { c := p.ClientConfig("inputservice15protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2724,14 +2722,13 @@ const opInputService15TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService15TestCaseOperation1Request method. +// req, resp := client.InputService15TestCaseOperation1Request(params) // -// // Example sending a request using the InputService15TestCaseOperation1Request method. -// req, resp := client.InputService15TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService15ProtocolTest) InputService15TestCaseOperation1Request(input *InputService15TestShapeInputService15TestCaseOperation1Input) (req *request.Request, output *InputService15TestShapeInputService15TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService15TestCaseOperation1, @@ -2834,13 +2831,14 @@ type InputService16ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService16ProtocolTest client from just a session. -// svc := inputservice16protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService16ProtocolTest client from just a session. +// svc := inputservice16protocoltest.New(mySession) // -// // Create a InputService16ProtocolTest client with additional configuration -// svc := inputservice16protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService16ProtocolTest client with additional configuration +// svc := inputservice16protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService16ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService16ProtocolTest { c := p.ClientConfig("inputservice16protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2901,14 +2899,13 @@ const opInputService16TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService16TestCaseOperation1Request method. +// req, resp := client.InputService16TestCaseOperation1Request(params) // -// // Example sending a request using the InputService16TestCaseOperation1Request method. -// req, resp := client.InputService16TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService16ProtocolTest) InputService16TestCaseOperation1Request(input *InputService16TestShapeInputService16TestCaseOperation1Input) (req *request.Request, output *InputService16TestShapeInputService16TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService16TestCaseOperation1, @@ -2971,14 +2968,13 @@ const opInputService16TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService16TestCaseOperation2Request method. +// req, resp := client.InputService16TestCaseOperation2Request(params) // -// // Example sending a request using the InputService16TestCaseOperation2Request method. -// req, resp := client.InputService16TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService16ProtocolTest) InputService16TestCaseOperation2Request(input *InputService16TestShapeInputService16TestCaseOperation2Input) (req *request.Request, output *InputService16TestShapeInputService16TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService16TestCaseOperation2, @@ -3072,13 +3068,14 @@ type InputService17ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService17ProtocolTest client from just a session. -// svc := inputservice17protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService17ProtocolTest client with additional configuration -// svc := inputservice17protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService17ProtocolTest client from just a session. +// svc := inputservice17protocoltest.New(mySession) +// +// // Create a InputService17ProtocolTest client with additional configuration +// svc := inputservice17protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService17ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService17ProtocolTest { c := p.ClientConfig("inputservice17protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -3139,14 +3136,13 @@ const opInputService17TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService17TestCaseOperation1Request method. +// req, resp := client.InputService17TestCaseOperation1Request(params) // -// // Example sending a request using the InputService17TestCaseOperation1Request method. -// req, resp := client.InputService17TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService17ProtocolTest) InputService17TestCaseOperation1Request(input *InputService17TestShapeInputService17TestCaseOperation1Input) (req *request.Request, output *InputService17TestShapeInputService17TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService17TestCaseOperation1, @@ -3224,13 +3220,14 @@ type InputService18ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService18ProtocolTest client from just a session. -// svc := inputservice18protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService18ProtocolTest client from just a session. +// svc := inputservice18protocoltest.New(mySession) // -// // Create a InputService18ProtocolTest client with additional configuration -// svc := inputservice18protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService18ProtocolTest client with additional configuration +// svc := inputservice18protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService18ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService18ProtocolTest { c := p.ClientConfig("inputservice18protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -3291,14 +3288,13 @@ const opInputService18TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService18TestCaseOperation1Request method. +// req, resp := client.InputService18TestCaseOperation1Request(params) // -// // Example sending a request using the InputService18TestCaseOperation1Request method. -// req, resp := client.InputService18TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService18ProtocolTest) InputService18TestCaseOperation1Request(input *InputService18TestShapeInputService18TestCaseOperation1Input) (req *request.Request, output *InputService18TestShapeInputService18TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService18TestCaseOperation1, @@ -3361,14 +3357,13 @@ const opInputService18TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService18TestCaseOperation2Request method. +// req, resp := client.InputService18TestCaseOperation2Request(params) // -// // Example sending a request using the InputService18TestCaseOperation2Request method. -// req, resp := client.InputService18TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService18ProtocolTest) InputService18TestCaseOperation2Request(input *InputService18TestShapeInputService18TestCaseOperation2Input) (req *request.Request, output *InputService18TestShapeInputService18TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService18TestCaseOperation2, @@ -3462,13 +3457,14 @@ type InputService19ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService19ProtocolTest client from just a session. -// svc := inputservice19protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService19ProtocolTest client with additional configuration -// svc := inputservice19protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService19ProtocolTest client from just a session. +// svc := inputservice19protocoltest.New(mySession) +// +// // Create a InputService19ProtocolTest client with additional configuration +// svc := inputservice19protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService19ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService19ProtocolTest { c := p.ClientConfig("inputservice19protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -3529,14 +3525,13 @@ const opInputService19TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService19TestCaseOperation1Request method. +// req, resp := client.InputService19TestCaseOperation1Request(params) // -// // Example sending a request using the InputService19TestCaseOperation1Request method. -// req, resp := client.InputService19TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService19ProtocolTest) InputService19TestCaseOperation1Request(input *InputService19TestShapeInputService19TestCaseOperation1Input) (req *request.Request, output *InputService19TestShapeInputService19TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService19TestCaseOperation1, @@ -3599,14 +3594,13 @@ const opInputService19TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService19TestCaseOperation2Request method. +// req, resp := client.InputService19TestCaseOperation2Request(params) // -// // Example sending a request using the InputService19TestCaseOperation2Request method. -// req, resp := client.InputService19TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService19ProtocolTest) InputService19TestCaseOperation2Request(input *InputService19TestShapeInputService19TestCaseOperation2Input) (req *request.Request, output *InputService19TestShapeInputService19TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService19TestCaseOperation2, @@ -3669,14 +3663,13 @@ const opInputService19TestCaseOperation3 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService19TestCaseOperation3Request method. +// req, resp := client.InputService19TestCaseOperation3Request(params) // -// // Example sending a request using the InputService19TestCaseOperation3Request method. -// req, resp := client.InputService19TestCaseOperation3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService19ProtocolTest) InputService19TestCaseOperation3Request(input *InputService19TestShapeInputService19TestCaseOperation3Input) (req *request.Request, output *InputService19TestShapeInputService19TestCaseOperation3Output) { op := &request.Operation{ Name: opInputService19TestCaseOperation3, @@ -3739,14 +3732,13 @@ const opInputService19TestCaseOperation4 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService19TestCaseOperation4Request method. +// req, resp := client.InputService19TestCaseOperation4Request(params) // -// // Example sending a request using the InputService19TestCaseOperation4Request method. -// req, resp := client.InputService19TestCaseOperation4Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService19ProtocolTest) InputService19TestCaseOperation4Request(input *InputService19TestShapeInputService19TestCaseOperation4Input) (req *request.Request, output *InputService19TestShapeInputService19TestCaseOperation4Output) { op := &request.Operation{ Name: opInputService19TestCaseOperation4, @@ -3884,13 +3876,14 @@ type InputService20ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService20ProtocolTest client from just a session. -// svc := inputservice20protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService20ProtocolTest client from just a session. +// svc := inputservice20protocoltest.New(mySession) // -// // Create a InputService20ProtocolTest client with additional configuration -// svc := inputservice20protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService20ProtocolTest client with additional configuration +// svc := inputservice20protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService20ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService20ProtocolTest { c := p.ClientConfig("inputservice20protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -3951,14 +3944,13 @@ const opInputService20TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService20TestCaseOperation1Request method. +// req, resp := client.InputService20TestCaseOperation1Request(params) // -// // Example sending a request using the InputService20TestCaseOperation1Request method. -// req, resp := client.InputService20TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService20ProtocolTest) InputService20TestCaseOperation1Request(input *InputService20TestShapeInputService20TestCaseOperation1Input) (req *request.Request, output *InputService20TestShapeInputService20TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService20TestCaseOperation1, @@ -4068,13 +4060,14 @@ type InputService21ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService21ProtocolTest client from just a session. -// svc := inputservice21protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService21ProtocolTest client with additional configuration -// svc := inputservice21protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService21ProtocolTest client from just a session. +// svc := inputservice21protocoltest.New(mySession) +// +// // Create a InputService21ProtocolTest client with additional configuration +// svc := inputservice21protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService21ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService21ProtocolTest { c := p.ClientConfig("inputservice21protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -4135,14 +4128,13 @@ const opInputService21TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService21TestCaseOperation1Request method. +// req, resp := client.InputService21TestCaseOperation1Request(params) // -// // Example sending a request using the InputService21TestCaseOperation1Request method. -// req, resp := client.InputService21TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService21ProtocolTest) InputService21TestCaseOperation1Request(input *InputService21TestShapeInputService21TestCaseOperation1Input) (req *request.Request, output *InputService21TestShapeInputService21TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService21TestCaseOperation1, @@ -4252,13 +4244,14 @@ type InputService22ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService22ProtocolTest client from just a session. -// svc := inputservice22protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService22ProtocolTest client with additional configuration -// svc := inputservice22protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService22ProtocolTest client from just a session. +// svc := inputservice22protocoltest.New(mySession) +// +// // Create a InputService22ProtocolTest client with additional configuration +// svc := inputservice22protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService22ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService22ProtocolTest { c := p.ClientConfig("inputservice22protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -4319,14 +4312,13 @@ const opInputService22TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService22TestCaseOperation1Request method. +// req, resp := client.InputService22TestCaseOperation1Request(params) // -// // Example sending a request using the InputService22TestCaseOperation1Request method. -// req, resp := client.InputService22TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService22ProtocolTest) InputService22TestCaseOperation1Request(input *InputService22TestShapeInputService22TestCaseOperation1Input) (req *request.Request, output *InputService22TestShapeInputService22TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService22TestCaseOperation1, @@ -4389,14 +4381,13 @@ const opInputService22TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService22TestCaseOperation2Request method. +// req, resp := client.InputService22TestCaseOperation2Request(params) // -// // Example sending a request using the InputService22TestCaseOperation2Request method. -// req, resp := client.InputService22TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService22ProtocolTest) InputService22TestCaseOperation2Request(input *InputService22TestShapeInputService22TestCaseOperation2Input) (req *request.Request, output *InputService22TestShapeInputService22TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService22TestCaseOperation2, @@ -4490,13 +4481,14 @@ type InputService23ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService23ProtocolTest client from just a session. -// svc := inputservice23protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService23ProtocolTest client from just a session. +// svc := inputservice23protocoltest.New(mySession) // -// // Create a InputService23ProtocolTest client with additional configuration -// svc := inputservice23protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService23ProtocolTest client with additional configuration +// svc := inputservice23protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService23ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService23ProtocolTest { c := p.ClientConfig("inputservice23protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -4557,14 +4549,13 @@ const opInputService23TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService23TestCaseOperation1Request method. +// req, resp := client.InputService23TestCaseOperation1Request(params) // -// // Example sending a request using the InputService23TestCaseOperation1Request method. -// req, resp := client.InputService23TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService23ProtocolTest) InputService23TestCaseOperation1Request(input *InputService23TestShapeInputService23TestCaseOperation1Input) (req *request.Request, output *InputService23TestShapeInputService23TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService23TestCaseOperation1, @@ -4627,14 +4618,13 @@ const opInputService23TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService23TestCaseOperation2Request method. +// req, resp := client.InputService23TestCaseOperation2Request(params) // -// // Example sending a request using the InputService23TestCaseOperation2Request method. -// req, resp := client.InputService23TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService23ProtocolTest) InputService23TestCaseOperation2Request(input *InputService23TestShapeInputService23TestCaseOperation2Input) (req *request.Request, output *InputService23TestShapeInputService23TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService23TestCaseOperation2, @@ -4697,14 +4687,13 @@ const opInputService23TestCaseOperation3 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService23TestCaseOperation3Request method. +// req, resp := client.InputService23TestCaseOperation3Request(params) // -// // Example sending a request using the InputService23TestCaseOperation3Request method. -// req, resp := client.InputService23TestCaseOperation3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService23ProtocolTest) InputService23TestCaseOperation3Request(input *InputService23TestShapeInputService23TestCaseOperation3Input) (req *request.Request, output *InputService23TestShapeInputService23TestCaseOperation3Output) { op := &request.Operation{ Name: opInputService23TestCaseOperation3, @@ -4767,14 +4756,13 @@ const opInputService23TestCaseOperation4 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService23TestCaseOperation4Request method. +// req, resp := client.InputService23TestCaseOperation4Request(params) // -// // Example sending a request using the InputService23TestCaseOperation4Request method. -// req, resp := client.InputService23TestCaseOperation4Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService23ProtocolTest) InputService23TestCaseOperation4Request(input *InputService23TestShapeInputService23TestCaseOperation4Input) (req *request.Request, output *InputService23TestShapeInputService23TestCaseOperation4Output) { op := &request.Operation{ Name: opInputService23TestCaseOperation4, @@ -4837,14 +4825,13 @@ const opInputService23TestCaseOperation5 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService23TestCaseOperation5Request method. +// req, resp := client.InputService23TestCaseOperation5Request(params) // -// // Example sending a request using the InputService23TestCaseOperation5Request method. -// req, resp := client.InputService23TestCaseOperation5Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService23ProtocolTest) InputService23TestCaseOperation5Request(input *InputService23TestShapeInputService23TestCaseOperation5Input) (req *request.Request, output *InputService23TestShapeInputService23TestCaseOperation5Output) { op := &request.Operation{ Name: opInputService23TestCaseOperation5, @@ -4907,14 +4894,13 @@ const opInputService23TestCaseOperation6 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService23TestCaseOperation6Request method. +// req, resp := client.InputService23TestCaseOperation6Request(params) // -// // Example sending a request using the InputService23TestCaseOperation6Request method. -// req, resp := client.InputService23TestCaseOperation6Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService23ProtocolTest) InputService23TestCaseOperation6Request(input *InputService23TestShapeInputService23TestCaseOperation6Input) (req *request.Request, output *InputService23TestShapeInputService23TestCaseOperation6Output) { op := &request.Operation{ Name: opInputService23TestCaseOperation6, @@ -5108,13 +5094,14 @@ type InputService24ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService24ProtocolTest client from just a session. -// svc := inputservice24protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService24ProtocolTest client from just a session. +// svc := inputservice24protocoltest.New(mySession) // -// // Create a InputService24ProtocolTest client with additional configuration -// svc := inputservice24protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService24ProtocolTest client with additional configuration +// svc := inputservice24protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService24ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService24ProtocolTest { c := p.ClientConfig("inputservice24protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -5175,14 +5162,13 @@ const opInputService24TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService24TestCaseOperation1Request method. +// req, resp := client.InputService24TestCaseOperation1Request(params) // -// // Example sending a request using the InputService24TestCaseOperation1Request method. -// req, resp := client.InputService24TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService24ProtocolTest) InputService24TestCaseOperation1Request(input *InputService24TestShapeInputService24TestCaseOperation1Input) (req *request.Request, output *InputService24TestShapeInputService24TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService24TestCaseOperation1, @@ -5245,14 +5231,13 @@ const opInputService24TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService24TestCaseOperation2Request method. +// req, resp := client.InputService24TestCaseOperation2Request(params) // -// // Example sending a request using the InputService24TestCaseOperation2Request method. -// req, resp := client.InputService24TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService24ProtocolTest) InputService24TestCaseOperation2Request(input *InputService24TestShapeInputService24TestCaseOperation2Input) (req *request.Request, output *InputService24TestShapeInputService24TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService24TestCaseOperation2, @@ -5346,13 +5331,14 @@ type InputService25ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService25ProtocolTest client from just a session. -// svc := inputservice25protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService25ProtocolTest client with additional configuration -// svc := inputservice25protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService25ProtocolTest client from just a session. +// svc := inputservice25protocoltest.New(mySession) +// +// // Create a InputService25ProtocolTest client with additional configuration +// svc := inputservice25protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService25ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService25ProtocolTest { c := p.ClientConfig("inputservice25protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -5413,14 +5399,13 @@ const opInputService25TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService25TestCaseOperation1Request method. +// req, resp := client.InputService25TestCaseOperation1Request(params) // -// // Example sending a request using the InputService25TestCaseOperation1Request method. -// req, resp := client.InputService25TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService25ProtocolTest) InputService25TestCaseOperation1Request(input *InputService25TestShapeInputService25TestCaseOperation1Input) (req *request.Request, output *InputService25TestShapeInputService25TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService25TestCaseOperation1, @@ -5483,14 +5468,13 @@ const opInputService25TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService25TestCaseOperation2Request method. +// req, resp := client.InputService25TestCaseOperation2Request(params) // -// // Example sending a request using the InputService25TestCaseOperation2Request method. -// req, resp := client.InputService25TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService25ProtocolTest) InputService25TestCaseOperation2Request(input *InputService25TestShapeInputService25TestCaseOperation2Input) (req *request.Request, output *InputService25TestShapeInputService25TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService25TestCaseOperation2, @@ -5706,13 +5690,14 @@ type InputService26ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService26ProtocolTest client from just a session. -// svc := inputservice26protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a InputService26ProtocolTest client from just a session. +// svc := inputservice26protocoltest.New(mySession) // -// // Create a InputService26ProtocolTest client with additional configuration -// svc := inputservice26protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService26ProtocolTest client with additional configuration +// svc := inputservice26protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService26ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService26ProtocolTest { c := p.ClientConfig("inputservice26protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -5773,14 +5758,13 @@ const opInputService26TestCaseOperation1 = "StaticOp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService26TestCaseOperation1Request method. +// req, resp := client.InputService26TestCaseOperation1Request(params) // -// // Example sending a request using the InputService26TestCaseOperation1Request method. -// req, resp := client.InputService26TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService26ProtocolTest) InputService26TestCaseOperation1Request(input *InputService26TestShapeInputService26TestCaseOperation1Input) (req *request.Request, output *InputService26TestShapeInputService26TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService26TestCaseOperation1, @@ -5845,14 +5829,13 @@ const opInputService26TestCaseOperation2 = "MemberRefOp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService26TestCaseOperation2Request method. +// req, resp := client.InputService26TestCaseOperation2Request(params) // -// // Example sending a request using the InputService26TestCaseOperation2Request method. -// req, resp := client.InputService26TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService26ProtocolTest) InputService26TestCaseOperation2Request(input *InputService26TestShapeInputService26TestCaseOperation2Input) (req *request.Request, output *InputService26TestShapeInputService26TestCaseOperation2Output) { op := &request.Operation{ Name: opInputService26TestCaseOperation2, @@ -5971,13 +5954,14 @@ type InputService27ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a InputService27ProtocolTest client from just a session. -// svc := inputservice27protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a InputService27ProtocolTest client with additional configuration -// svc := inputservice27protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a InputService27ProtocolTest client from just a session. +// svc := inputservice27protocoltest.New(mySession) +// +// // Create a InputService27ProtocolTest client with additional configuration +// svc := inputservice27protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewInputService27ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *InputService27ProtocolTest { c := p.ClientConfig("inputservice27protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -6038,14 +6022,13 @@ const opInputService27TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InputService27TestCaseOperation1Request method. +// req, resp := client.InputService27TestCaseOperation1Request(params) // -// // Example sending a request using the InputService27TestCaseOperation1Request method. -// req, resp := client.InputService27TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *InputService27ProtocolTest) InputService27TestCaseOperation1Request(input *InputService27TestShapeInputService27TestCaseOperation1Input) (req *request.Request, output *InputService27TestShapeInputService27TestCaseOperation1Output) { op := &request.Operation{ Name: opInputService27TestCaseOperation1, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restxml/unmarshal_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restxml/unmarshal_test.go index 97a1e9aadc6e..bf75e4a815f0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restxml/unmarshal_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/private/protocol/restxml/unmarshal_test.go @@ -61,13 +61,14 @@ type OutputService1ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService1ProtocolTest client from just a session. -// svc := outputservice1protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService1ProtocolTest client with additional configuration -// svc := outputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService1ProtocolTest client from just a session. +// svc := outputservice1protocoltest.New(mySession) +// +// // Create a OutputService1ProtocolTest client with additional configuration +// svc := outputservice1protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService1ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService1ProtocolTest { c := p.ClientConfig("outputservice1protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -128,14 +129,13 @@ const opOutputService1TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService1TestCaseOperation1Request method. +// req, resp := client.OutputService1TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService1TestCaseOperation1Request method. -// req, resp := client.OutputService1TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService1ProtocolTest) OutputService1TestCaseOperation1Request(input *OutputService1TestShapeOutputService1TestCaseOperation1Input) (req *request.Request, output *OutputService1TestShapeOutputService1TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService1TestCaseOperation1, @@ -196,14 +196,13 @@ const opOutputService1TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService1TestCaseOperation2Request method. +// req, resp := client.OutputService1TestCaseOperation2Request(params) // -// // Example sending a request using the OutputService1TestCaseOperation2Request method. -// req, resp := client.OutputService1TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService1ProtocolTest) OutputService1TestCaseOperation2Request(input *OutputService1TestShapeOutputService1TestCaseOperation2Input) (req *request.Request, output *OutputService1TestShapeOutputService1TestCaseOperation2Output) { op := &request.Operation{ Name: opOutputService1TestCaseOperation2, @@ -491,13 +490,14 @@ type OutputService2ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService2ProtocolTest client from just a session. -// svc := outputservice2protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService2ProtocolTest client from just a session. +// svc := outputservice2protocoltest.New(mySession) // -// // Create a OutputService2ProtocolTest client with additional configuration -// svc := outputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService2ProtocolTest client with additional configuration +// svc := outputservice2protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService2ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService2ProtocolTest { c := p.ClientConfig("outputservice2protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -558,14 +558,13 @@ const opOutputService2TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService2TestCaseOperation1Request method. +// req, resp := client.OutputService2TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService2TestCaseOperation1Request method. -// req, resp := client.OutputService2TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService2ProtocolTest) OutputService2TestCaseOperation1Request(input *OutputService2TestShapeOutputService2TestCaseOperation1Input) (req *request.Request, output *OutputService2TestShapeOutputService2TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService2TestCaseOperation1, @@ -642,13 +641,14 @@ type OutputService3ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService3ProtocolTest client from just a session. -// svc := outputservice3protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService3ProtocolTest client from just a session. +// svc := outputservice3protocoltest.New(mySession) // -// // Create a OutputService3ProtocolTest client with additional configuration -// svc := outputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService3ProtocolTest client with additional configuration +// svc := outputservice3protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService3ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService3ProtocolTest { c := p.ClientConfig("outputservice3protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -709,14 +709,13 @@ const opOutputService3TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService3TestCaseOperation1Request method. +// req, resp := client.OutputService3TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService3TestCaseOperation1Request method. -// req, resp := client.OutputService3TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService3ProtocolTest) OutputService3TestCaseOperation1Request(input *OutputService3TestShapeOutputService3TestCaseOperation1Input) (req *request.Request, output *OutputService3TestShapeOutputService3TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService3TestCaseOperation1, @@ -792,13 +791,14 @@ type OutputService4ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService4ProtocolTest client from just a session. -// svc := outputservice4protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService4ProtocolTest client from just a session. +// svc := outputservice4protocoltest.New(mySession) // -// // Create a OutputService4ProtocolTest client with additional configuration -// svc := outputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService4ProtocolTest client with additional configuration +// svc := outputservice4protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService4ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService4ProtocolTest { c := p.ClientConfig("outputservice4protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -859,14 +859,13 @@ const opOutputService4TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService4TestCaseOperation1Request method. +// req, resp := client.OutputService4TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService4TestCaseOperation1Request method. -// req, resp := client.OutputService4TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService4ProtocolTest) OutputService4TestCaseOperation1Request(input *OutputService4TestShapeOutputService4TestCaseOperation1Input) (req *request.Request, output *OutputService4TestShapeOutputService4TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService4TestCaseOperation1, @@ -942,13 +941,14 @@ type OutputService5ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService5ProtocolTest client from just a session. -// svc := outputservice5protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService5ProtocolTest client from just a session. +// svc := outputservice5protocoltest.New(mySession) // -// // Create a OutputService5ProtocolTest client with additional configuration -// svc := outputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService5ProtocolTest client with additional configuration +// svc := outputservice5protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService5ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService5ProtocolTest { c := p.ClientConfig("outputservice5protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1009,14 +1009,13 @@ const opOutputService5TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService5TestCaseOperation1Request method. +// req, resp := client.OutputService5TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService5TestCaseOperation1Request method. -// req, resp := client.OutputService5TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService5ProtocolTest) OutputService5TestCaseOperation1Request(input *OutputService5TestShapeOutputService5TestCaseOperation1Input) (req *request.Request, output *OutputService5TestShapeOutputService5TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService5TestCaseOperation1, @@ -1092,13 +1091,14 @@ type OutputService6ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService6ProtocolTest client from just a session. -// svc := outputservice6protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService6ProtocolTest client from just a session. +// svc := outputservice6protocoltest.New(mySession) // -// // Create a OutputService6ProtocolTest client with additional configuration -// svc := outputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService6ProtocolTest client with additional configuration +// svc := outputservice6protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService6ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService6ProtocolTest { c := p.ClientConfig("outputservice6protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1159,14 +1159,13 @@ const opOutputService6TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService6TestCaseOperation1Request method. +// req, resp := client.OutputService6TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService6TestCaseOperation1Request method. -// req, resp := client.OutputService6TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService6ProtocolTest) OutputService6TestCaseOperation1Request(input *OutputService6TestShapeOutputService6TestCaseOperation1Input) (req *request.Request, output *OutputService6TestShapeOutputService6TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService6TestCaseOperation1, @@ -1254,13 +1253,14 @@ type OutputService7ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService7ProtocolTest client from just a session. -// svc := outputservice7protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService7ProtocolTest client from just a session. +// svc := outputservice7protocoltest.New(mySession) // -// // Create a OutputService7ProtocolTest client with additional configuration -// svc := outputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService7ProtocolTest client with additional configuration +// svc := outputservice7protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService7ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService7ProtocolTest { c := p.ClientConfig("outputservice7protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1321,14 +1321,13 @@ const opOutputService7TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService7TestCaseOperation1Request method. +// req, resp := client.OutputService7TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService7TestCaseOperation1Request method. -// req, resp := client.OutputService7TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService7ProtocolTest) OutputService7TestCaseOperation1Request(input *OutputService7TestShapeOutputService7TestCaseOperation1Input) (req *request.Request, output *OutputService7TestShapeOutputService7TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService7TestCaseOperation1, @@ -1404,13 +1403,14 @@ type OutputService8ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService8ProtocolTest client from just a session. -// svc := outputservice8protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService8ProtocolTest client from just a session. +// svc := outputservice8protocoltest.New(mySession) // -// // Create a OutputService8ProtocolTest client with additional configuration -// svc := outputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService8ProtocolTest client with additional configuration +// svc := outputservice8protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService8ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService8ProtocolTest { c := p.ClientConfig("outputservice8protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1471,14 +1471,13 @@ const opOutputService8TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService8TestCaseOperation1Request method. +// req, resp := client.OutputService8TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService8TestCaseOperation1Request method. -// req, resp := client.OutputService8TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService8ProtocolTest) OutputService8TestCaseOperation1Request(input *OutputService8TestShapeOutputService8TestCaseOperation1Input) (req *request.Request, output *OutputService8TestShapeOutputService8TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService8TestCaseOperation1, @@ -1554,13 +1553,14 @@ type OutputService9ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService9ProtocolTest client from just a session. -// svc := outputservice9protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService9ProtocolTest client from just a session. +// svc := outputservice9protocoltest.New(mySession) // -// // Create a OutputService9ProtocolTest client with additional configuration -// svc := outputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService9ProtocolTest client with additional configuration +// svc := outputservice9protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService9ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService9ProtocolTest { c := p.ClientConfig("outputservice9protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1621,14 +1621,13 @@ const opOutputService9TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService9TestCaseOperation1Request method. +// req, resp := client.OutputService9TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService9TestCaseOperation1Request method. -// req, resp := client.OutputService9TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService9ProtocolTest) OutputService9TestCaseOperation1Request(input *OutputService9TestShapeOutputService9TestCaseOperation1Input) (req *request.Request, output *OutputService9TestShapeOutputService9TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService9TestCaseOperation1, @@ -1724,13 +1723,14 @@ type OutputService10ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService10ProtocolTest client from just a session. -// svc := outputservice10protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService10ProtocolTest client from just a session. +// svc := outputservice10protocoltest.New(mySession) // -// // Create a OutputService10ProtocolTest client with additional configuration -// svc := outputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService10ProtocolTest client with additional configuration +// svc := outputservice10protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService10ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService10ProtocolTest { c := p.ClientConfig("outputservice10protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1791,14 +1791,13 @@ const opOutputService10TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService10TestCaseOperation1Request method. +// req, resp := client.OutputService10TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService10TestCaseOperation1Request method. -// req, resp := client.OutputService10TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService10ProtocolTest) OutputService10TestCaseOperation1Request(input *OutputService10TestShapeOutputService10TestCaseOperation1Input) (req *request.Request, output *OutputService10TestShapeOutputService10TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService10TestCaseOperation1, @@ -1874,13 +1873,14 @@ type OutputService11ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService11ProtocolTest client from just a session. -// svc := outputservice11protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService11ProtocolTest client from just a session. +// svc := outputservice11protocoltest.New(mySession) // -// // Create a OutputService11ProtocolTest client with additional configuration -// svc := outputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService11ProtocolTest client with additional configuration +// svc := outputservice11protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService11ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService11ProtocolTest { c := p.ClientConfig("outputservice11protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -1941,14 +1941,13 @@ const opOutputService11TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService11TestCaseOperation1Request method. +// req, resp := client.OutputService11TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService11TestCaseOperation1Request method. -// req, resp := client.OutputService11TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService11ProtocolTest) OutputService11TestCaseOperation1Request(input *OutputService11TestShapeOutputService11TestCaseOperation1Input) (req *request.Request, output *OutputService11TestShapeOutputService11TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService11TestCaseOperation1, @@ -2088,13 +2087,14 @@ type OutputService12ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService12ProtocolTest client from just a session. -// svc := outputservice12protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService12ProtocolTest client from just a session. +// svc := outputservice12protocoltest.New(mySession) // -// // Create a OutputService12ProtocolTest client with additional configuration -// svc := outputservice12protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService12ProtocolTest client with additional configuration +// svc := outputservice12protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService12ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService12ProtocolTest { c := p.ClientConfig("outputservice12protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2155,14 +2155,13 @@ const opOutputService12TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService12TestCaseOperation1Request method. +// req, resp := client.OutputService12TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService12TestCaseOperation1Request method. -// req, resp := client.OutputService12TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService12ProtocolTest) OutputService12TestCaseOperation1Request(input *OutputService12TestShapeOutputService12TestCaseOperation1Input) (req *request.Request, output *OutputService12TestShapeOutputService12TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService12TestCaseOperation1, @@ -2238,13 +2237,14 @@ type OutputService13ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService13ProtocolTest client from just a session. -// svc := outputservice13protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService13ProtocolTest client from just a session. +// svc := outputservice13protocoltest.New(mySession) // -// // Create a OutputService13ProtocolTest client with additional configuration -// svc := outputservice13protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService13ProtocolTest client with additional configuration +// svc := outputservice13protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService13ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService13ProtocolTest { c := p.ClientConfig("outputservice13protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2305,14 +2305,13 @@ const opOutputService13TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService13TestCaseOperation1Request method. +// req, resp := client.OutputService13TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService13TestCaseOperation1Request method. -// req, resp := client.OutputService13TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService13ProtocolTest) OutputService13TestCaseOperation1Request(input *OutputService13TestShapeOutputService13TestCaseOperation1Input) (req *request.Request, output *OutputService13TestShapeOutputService13TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService13TestCaseOperation1, @@ -2456,13 +2455,14 @@ type OutputService14ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService14ProtocolTest client from just a session. -// svc := outputservice14protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) +// +// // Create a OutputService14ProtocolTest client from just a session. +// svc := outputservice14protocoltest.New(mySession) // -// // Create a OutputService14ProtocolTest client with additional configuration -// svc := outputservice14protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService14ProtocolTest client with additional configuration +// svc := outputservice14protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService14ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService14ProtocolTest { c := p.ClientConfig("outputservice14protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2523,14 +2523,13 @@ const opOutputService14TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService14TestCaseOperation1Request method. +// req, resp := client.OutputService14TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService14TestCaseOperation1Request method. -// req, resp := client.OutputService14TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService14ProtocolTest) OutputService14TestCaseOperation1Request(input *OutputService14TestShapeOutputService14TestCaseOperation1Input) (req *request.Request, output *OutputService14TestShapeOutputService14TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService14TestCaseOperation1, @@ -2592,14 +2591,13 @@ const opOutputService14TestCaseOperation2 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService14TestCaseOperation2Request method. +// req, resp := client.OutputService14TestCaseOperation2Request(params) // -// // Example sending a request using the OutputService14TestCaseOperation2Request method. -// req, resp := client.OutputService14TestCaseOperation2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService14ProtocolTest) OutputService14TestCaseOperation2Request(input *OutputService14TestShapeOutputService14TestCaseOperation2Input) (req *request.Request, output *OutputService14TestShapeOutputService14TestCaseOperation2Output) { op := &request.Operation{ Name: opOutputService14TestCaseOperation2, @@ -2749,13 +2747,14 @@ type OutputService15ProtocolTest struct { // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OutputService15ProtocolTest client from just a session. -// svc := outputservice15protocoltest.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OutputService15ProtocolTest client with additional configuration -// svc := outputservice15protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OutputService15ProtocolTest client from just a session. +// svc := outputservice15protocoltest.New(mySession) +// +// // Create a OutputService15ProtocolTest client with additional configuration +// svc := outputservice15protocoltest.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func NewOutputService15ProtocolTest(p client.ConfigProvider, cfgs ...*aws.Config) *OutputService15ProtocolTest { c := p.ClientConfig("outputservice15protocoltest", cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { @@ -2816,14 +2815,13 @@ const opOutputService15TestCaseOperation1 = "OperationName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OutputService15TestCaseOperation1Request method. +// req, resp := client.OutputService15TestCaseOperation1Request(params) // -// // Example sending a request using the OutputService15TestCaseOperation1Request method. -// req, resp := client.OutputService15TestCaseOperation1Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *OutputService15ProtocolTest) OutputService15TestCaseOperation1Request(input *OutputService15TestShapeOutputService15TestCaseOperation1Input) (req *request.Request, output *OutputService15TestShapeOutputService15TestCaseOperation1Output) { op := &request.Operation{ Name: opOutputService15TestCaseOperation1, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/accessanalyzeriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/accessanalyzeriface/interface.go index 0b647bd4ffea..ec72737c77fb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/accessanalyzeriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/accessanalyzeriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Access Analyzer. -// func myFunc(svc accessanalyzeriface.AccessAnalyzerAPI) bool { -// // Make svc.ApplyArchiveRule request -// } +// // myFunc uses an SDK service client to make a request to +// // Access Analyzer. +// func myFunc(svc accessanalyzeriface.AccessAnalyzerAPI) bool { +// // Make svc.ApplyArchiveRule request +// } // -// func main() { -// sess := session.New() -// svc := accessanalyzer.New(sess) +// func main() { +// sess := session.New() +// svc := accessanalyzer.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAccessAnalyzerClient struct { -// accessanalyzeriface.AccessAnalyzerAPI -// } -// func (m *mockAccessAnalyzerClient) ApplyArchiveRule(input *accessanalyzer.ApplyArchiveRuleInput) (*accessanalyzer.ApplyArchiveRuleOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAccessAnalyzerClient struct { +// accessanalyzeriface.AccessAnalyzerAPI +// } +// func (m *mockAccessAnalyzerClient) ApplyArchiveRule(input *accessanalyzer.ApplyArchiveRuleInput) (*accessanalyzer.ApplyArchiveRuleOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAccessAnalyzerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAccessAnalyzerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/api.go index a87aa5f5e43f..adc3a6ef422e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/api.go @@ -29,14 +29,13 @@ const opApplyArchiveRule = "ApplyArchiveRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ApplyArchiveRuleRequest method. +// req, resp := client.ApplyArchiveRuleRequest(params) // -// // Example sending a request using the ApplyArchiveRuleRequest method. -// req, resp := client.ApplyArchiveRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ApplyArchiveRule func (c *AccessAnalyzer) ApplyArchiveRuleRequest(input *ApplyArchiveRuleInput) (req *request.Request, output *ApplyArchiveRuleOutput) { @@ -69,20 +68,21 @@ func (c *AccessAnalyzer) ApplyArchiveRuleRequest(input *ApplyArchiveRuleInput) ( // API operation ApplyArchiveRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ValidationException +// Validation exception error. // -// * InternalServerException -// Internal server error. +// - InternalServerException +// Internal server error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ApplyArchiveRule func (c *AccessAnalyzer) ApplyArchiveRule(input *ApplyArchiveRuleInput) (*ApplyArchiveRuleOutput, error) { @@ -122,14 +122,13 @@ const opCancelPolicyGeneration = "CancelPolicyGeneration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelPolicyGenerationRequest method. +// req, resp := client.CancelPolicyGenerationRequest(params) // -// // Example sending a request using the CancelPolicyGenerationRequest method. -// req, resp := client.CancelPolicyGenerationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CancelPolicyGeneration func (c *AccessAnalyzer) CancelPolicyGenerationRequest(input *CancelPolicyGenerationInput) (req *request.Request, output *CancelPolicyGenerationOutput) { @@ -161,17 +160,18 @@ func (c *AccessAnalyzer) CancelPolicyGenerationRequest(input *CancelPolicyGenera // API operation CancelPolicyGeneration for usage and error information. // // Returned Error Types: -// * ValidationException -// Validation exception error. // -// * InternalServerException -// Internal server error. +// - ValidationException +// Validation exception error. +// +// - InternalServerException +// Internal server error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CancelPolicyGeneration func (c *AccessAnalyzer) CancelPolicyGeneration(input *CancelPolicyGenerationInput) (*CancelPolicyGenerationOutput, error) { @@ -211,14 +211,13 @@ const opCreateAccessPreview = "CreateAccessPreview" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAccessPreviewRequest method. +// req, resp := client.CreateAccessPreviewRequest(params) // -// // Example sending a request using the CreateAccessPreviewRequest method. -// req, resp := client.CreateAccessPreviewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CreateAccessPreview func (c *AccessAnalyzer) CreateAccessPreviewRequest(input *CreateAccessPreviewInput) (req *request.Request, output *CreateAccessPreviewOutput) { @@ -250,26 +249,27 @@ func (c *AccessAnalyzer) CreateAccessPreviewRequest(input *CreateAccessPreviewIn // API operation CreateAccessPreview for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// A conflict exception error. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// A conflict exception error. // -// * ValidationException -// Validation exception error. +// - ValidationException +// Validation exception error. // -// * InternalServerException -// Internal server error. +// - InternalServerException +// Internal server error. // -// * ServiceQuotaExceededException -// Service quote met error. +// - ServiceQuotaExceededException +// Service quote met error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CreateAccessPreview func (c *AccessAnalyzer) CreateAccessPreview(input *CreateAccessPreviewInput) (*CreateAccessPreviewOutput, error) { @@ -309,14 +309,13 @@ const opCreateAnalyzer = "CreateAnalyzer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAnalyzerRequest method. +// req, resp := client.CreateAnalyzerRequest(params) // -// // Example sending a request using the CreateAnalyzerRequest method. -// req, resp := client.CreateAnalyzerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CreateAnalyzer func (c *AccessAnalyzer) CreateAnalyzerRequest(input *CreateAnalyzerInput) (req *request.Request, output *CreateAnalyzerOutput) { @@ -347,23 +346,24 @@ func (c *AccessAnalyzer) CreateAnalyzerRequest(input *CreateAnalyzerInput) (req // API operation CreateAnalyzer for usage and error information. // // Returned Error Types: -// * ConflictException -// A conflict exception error. // -// * ValidationException -// Validation exception error. +// - ConflictException +// A conflict exception error. +// +// - ValidationException +// Validation exception error. // -// * InternalServerException -// Internal server error. +// - InternalServerException +// Internal server error. // -// * ServiceQuotaExceededException -// Service quote met error. +// - ServiceQuotaExceededException +// Service quote met error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CreateAnalyzer func (c *AccessAnalyzer) CreateAnalyzer(input *CreateAnalyzerInput) (*CreateAnalyzerOutput, error) { @@ -403,14 +403,13 @@ const opCreateArchiveRule = "CreateArchiveRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateArchiveRuleRequest method. +// req, resp := client.CreateArchiveRuleRequest(params) // -// // Example sending a request using the CreateArchiveRuleRequest method. -// req, resp := client.CreateArchiveRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CreateArchiveRule func (c *AccessAnalyzer) CreateArchiveRuleRequest(input *CreateArchiveRuleInput) (req *request.Request, output *CreateArchiveRuleOutput) { @@ -448,26 +447,27 @@ func (c *AccessAnalyzer) CreateArchiveRuleRequest(input *CreateArchiveRuleInput) // API operation CreateArchiveRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// A conflict exception error. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// A conflict exception error. // -// * ValidationException -// Validation exception error. +// - ValidationException +// Validation exception error. // -// * InternalServerException -// Internal server error. +// - InternalServerException +// Internal server error. // -// * ServiceQuotaExceededException -// Service quote met error. +// - ServiceQuotaExceededException +// Service quote met error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/CreateArchiveRule func (c *AccessAnalyzer) CreateArchiveRule(input *CreateArchiveRuleInput) (*CreateArchiveRuleOutput, error) { @@ -507,14 +507,13 @@ const opDeleteAnalyzer = "DeleteAnalyzer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAnalyzerRequest method. +// req, resp := client.DeleteAnalyzerRequest(params) // -// // Example sending a request using the DeleteAnalyzerRequest method. -// req, resp := client.DeleteAnalyzerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/DeleteAnalyzer func (c *AccessAnalyzer) DeleteAnalyzerRequest(input *DeleteAnalyzerInput) (req *request.Request, output *DeleteAnalyzerOutput) { @@ -549,20 +548,21 @@ func (c *AccessAnalyzer) DeleteAnalyzerRequest(input *DeleteAnalyzerInput) (req // API operation DeleteAnalyzer for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ValidationException +// Validation exception error. // -// * InternalServerException -// Internal server error. +// - InternalServerException +// Internal server error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/DeleteAnalyzer func (c *AccessAnalyzer) DeleteAnalyzer(input *DeleteAnalyzerInput) (*DeleteAnalyzerOutput, error) { @@ -602,14 +602,13 @@ const opDeleteArchiveRule = "DeleteArchiveRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteArchiveRuleRequest method. +// req, resp := client.DeleteArchiveRuleRequest(params) // -// // Example sending a request using the DeleteArchiveRuleRequest method. -// req, resp := client.DeleteArchiveRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/DeleteArchiveRule func (c *AccessAnalyzer) DeleteArchiveRuleRequest(input *DeleteArchiveRuleInput) (req *request.Request, output *DeleteArchiveRuleOutput) { @@ -641,20 +640,21 @@ func (c *AccessAnalyzer) DeleteArchiveRuleRequest(input *DeleteArchiveRuleInput) // API operation DeleteArchiveRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ValidationException +// Validation exception error. // -// * InternalServerException -// Internal server error. +// - InternalServerException +// Internal server error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/DeleteArchiveRule func (c *AccessAnalyzer) DeleteArchiveRule(input *DeleteArchiveRuleInput) (*DeleteArchiveRuleOutput, error) { @@ -694,14 +694,13 @@ const opGetAccessPreview = "GetAccessPreview" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccessPreviewRequest method. +// req, resp := client.GetAccessPreviewRequest(params) // -// // Example sending a request using the GetAccessPreviewRequest method. -// req, resp := client.GetAccessPreviewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetAccessPreview func (c *AccessAnalyzer) GetAccessPreviewRequest(input *GetAccessPreviewInput) (req *request.Request, output *GetAccessPreviewOutput) { @@ -732,20 +731,21 @@ func (c *AccessAnalyzer) GetAccessPreviewRequest(input *GetAccessPreviewInput) ( // API operation GetAccessPreview for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ValidationException +// Validation exception error. // -// * InternalServerException -// Internal server error. +// - InternalServerException +// Internal server error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetAccessPreview func (c *AccessAnalyzer) GetAccessPreview(input *GetAccessPreviewInput) (*GetAccessPreviewOutput, error) { @@ -785,14 +785,13 @@ const opGetAnalyzedResource = "GetAnalyzedResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAnalyzedResourceRequest method. +// req, resp := client.GetAnalyzedResourceRequest(params) // -// // Example sending a request using the GetAnalyzedResourceRequest method. -// req, resp := client.GetAnalyzedResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetAnalyzedResource func (c *AccessAnalyzer) GetAnalyzedResourceRequest(input *GetAnalyzedResourceInput) (req *request.Request, output *GetAnalyzedResourceOutput) { @@ -823,20 +822,21 @@ func (c *AccessAnalyzer) GetAnalyzedResourceRequest(input *GetAnalyzedResourceIn // API operation GetAnalyzedResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ValidationException +// Validation exception error. // -// * InternalServerException -// Internal server error. +// - InternalServerException +// Internal server error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetAnalyzedResource func (c *AccessAnalyzer) GetAnalyzedResource(input *GetAnalyzedResourceInput) (*GetAnalyzedResourceOutput, error) { @@ -876,14 +876,13 @@ const opGetAnalyzer = "GetAnalyzer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAnalyzerRequest method. +// req, resp := client.GetAnalyzerRequest(params) // -// // Example sending a request using the GetAnalyzerRequest method. -// req, resp := client.GetAnalyzerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetAnalyzer func (c *AccessAnalyzer) GetAnalyzerRequest(input *GetAnalyzerInput) (req *request.Request, output *GetAnalyzerOutput) { @@ -914,20 +913,21 @@ func (c *AccessAnalyzer) GetAnalyzerRequest(input *GetAnalyzerInput) (req *reque // API operation GetAnalyzer for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ValidationException +// Validation exception error. // -// * InternalServerException -// Internal server error. +// - InternalServerException +// Internal server error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetAnalyzer func (c *AccessAnalyzer) GetAnalyzer(input *GetAnalyzerInput) (*GetAnalyzerOutput, error) { @@ -967,14 +967,13 @@ const opGetArchiveRule = "GetArchiveRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetArchiveRuleRequest method. +// req, resp := client.GetArchiveRuleRequest(params) // -// // Example sending a request using the GetArchiveRuleRequest method. -// req, resp := client.GetArchiveRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetArchiveRule func (c *AccessAnalyzer) GetArchiveRuleRequest(input *GetArchiveRuleInput) (req *request.Request, output *GetArchiveRuleOutput) { @@ -1009,20 +1008,21 @@ func (c *AccessAnalyzer) GetArchiveRuleRequest(input *GetArchiveRuleInput) (req // API operation GetArchiveRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ValidationException +// Validation exception error. // -// * InternalServerException -// Internal server error. +// - InternalServerException +// Internal server error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetArchiveRule func (c *AccessAnalyzer) GetArchiveRule(input *GetArchiveRuleInput) (*GetArchiveRuleOutput, error) { @@ -1062,14 +1062,13 @@ const opGetFinding = "GetFinding" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFindingRequest method. +// req, resp := client.GetFindingRequest(params) // -// // Example sending a request using the GetFindingRequest method. -// req, resp := client.GetFindingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetFinding func (c *AccessAnalyzer) GetFindingRequest(input *GetFindingInput) (req *request.Request, output *GetFindingOutput) { @@ -1100,20 +1099,21 @@ func (c *AccessAnalyzer) GetFindingRequest(input *GetFindingInput) (req *request // API operation GetFinding for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ValidationException +// Validation exception error. // -// * InternalServerException -// Internal server error. +// - InternalServerException +// Internal server error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetFinding func (c *AccessAnalyzer) GetFinding(input *GetFindingInput) (*GetFindingOutput, error) { @@ -1153,14 +1153,13 @@ const opGetGeneratedPolicy = "GetGeneratedPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGeneratedPolicyRequest method. +// req, resp := client.GetGeneratedPolicyRequest(params) // -// // Example sending a request using the GetGeneratedPolicyRequest method. -// req, resp := client.GetGeneratedPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetGeneratedPolicy func (c *AccessAnalyzer) GetGeneratedPolicyRequest(input *GetGeneratedPolicyInput) (req *request.Request, output *GetGeneratedPolicyOutput) { @@ -1191,17 +1190,18 @@ func (c *AccessAnalyzer) GetGeneratedPolicyRequest(input *GetGeneratedPolicyInpu // API operation GetGeneratedPolicy for usage and error information. // // Returned Error Types: -// * ValidationException -// Validation exception error. // -// * InternalServerException -// Internal server error. +// - ValidationException +// Validation exception error. +// +// - InternalServerException +// Internal server error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/GetGeneratedPolicy func (c *AccessAnalyzer) GetGeneratedPolicy(input *GetGeneratedPolicyInput) (*GetGeneratedPolicyOutput, error) { @@ -1241,14 +1241,13 @@ const opListAccessPreviewFindings = "ListAccessPreviewFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccessPreviewFindingsRequest method. +// req, resp := client.ListAccessPreviewFindingsRequest(params) // -// // Example sending a request using the ListAccessPreviewFindingsRequest method. -// req, resp := client.ListAccessPreviewFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListAccessPreviewFindings func (c *AccessAnalyzer) ListAccessPreviewFindingsRequest(input *ListAccessPreviewFindingsInput) (req *request.Request, output *ListAccessPreviewFindingsOutput) { @@ -1286,23 +1285,24 @@ func (c *AccessAnalyzer) ListAccessPreviewFindingsRequest(input *ListAccessPrevi // API operation ListAccessPreviewFindings for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// A conflict exception error. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// A conflict exception error. // -// * ValidationException -// Validation exception error. +// - ValidationException +// Validation exception error. // -// * InternalServerException -// Internal server error. +// - InternalServerException +// Internal server error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListAccessPreviewFindings func (c *AccessAnalyzer) ListAccessPreviewFindings(input *ListAccessPreviewFindingsInput) (*ListAccessPreviewFindingsOutput, error) { @@ -1334,15 +1334,14 @@ func (c *AccessAnalyzer) ListAccessPreviewFindingsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccessPreviewFindings operation. -// pageNum := 0 -// err := client.ListAccessPreviewFindingsPages(params, -// func(page *accessanalyzer.ListAccessPreviewFindingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccessPreviewFindings operation. +// pageNum := 0 +// err := client.ListAccessPreviewFindingsPages(params, +// func(page *accessanalyzer.ListAccessPreviewFindingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AccessAnalyzer) ListAccessPreviewFindingsPages(input *ListAccessPreviewFindingsInput, fn func(*ListAccessPreviewFindingsOutput, bool) bool) error { return c.ListAccessPreviewFindingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1394,14 +1393,13 @@ const opListAccessPreviews = "ListAccessPreviews" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccessPreviewsRequest method. +// req, resp := client.ListAccessPreviewsRequest(params) // -// // Example sending a request using the ListAccessPreviewsRequest method. -// req, resp := client.ListAccessPreviewsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListAccessPreviews func (c *AccessAnalyzer) ListAccessPreviewsRequest(input *ListAccessPreviewsInput) (req *request.Request, output *ListAccessPreviewsOutput) { @@ -1438,20 +1436,21 @@ func (c *AccessAnalyzer) ListAccessPreviewsRequest(input *ListAccessPreviewsInpu // API operation ListAccessPreviews for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// Internal server error. +// - ValidationException +// Validation exception error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - InternalServerException +// Internal server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// Throttling limit exceeded error. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListAccessPreviews func (c *AccessAnalyzer) ListAccessPreviews(input *ListAccessPreviewsInput) (*ListAccessPreviewsOutput, error) { @@ -1483,15 +1482,14 @@ func (c *AccessAnalyzer) ListAccessPreviewsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccessPreviews operation. -// pageNum := 0 -// err := client.ListAccessPreviewsPages(params, -// func(page *accessanalyzer.ListAccessPreviewsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccessPreviews operation. +// pageNum := 0 +// err := client.ListAccessPreviewsPages(params, +// func(page *accessanalyzer.ListAccessPreviewsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AccessAnalyzer) ListAccessPreviewsPages(input *ListAccessPreviewsInput, fn func(*ListAccessPreviewsOutput, bool) bool) error { return c.ListAccessPreviewsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1543,14 +1541,13 @@ const opListAnalyzedResources = "ListAnalyzedResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAnalyzedResourcesRequest method. +// req, resp := client.ListAnalyzedResourcesRequest(params) // -// // Example sending a request using the ListAnalyzedResourcesRequest method. -// req, resp := client.ListAnalyzedResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListAnalyzedResources func (c *AccessAnalyzer) ListAnalyzedResourcesRequest(input *ListAnalyzedResourcesInput) (req *request.Request, output *ListAnalyzedResourcesOutput) { @@ -1588,20 +1585,21 @@ func (c *AccessAnalyzer) ListAnalyzedResourcesRequest(input *ListAnalyzedResourc // API operation ListAnalyzedResources for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ValidationException +// Validation exception error. // -// * InternalServerException -// Internal server error. +// - InternalServerException +// Internal server error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListAnalyzedResources func (c *AccessAnalyzer) ListAnalyzedResources(input *ListAnalyzedResourcesInput) (*ListAnalyzedResourcesOutput, error) { @@ -1633,15 +1631,14 @@ func (c *AccessAnalyzer) ListAnalyzedResourcesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAnalyzedResources operation. -// pageNum := 0 -// err := client.ListAnalyzedResourcesPages(params, -// func(page *accessanalyzer.ListAnalyzedResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAnalyzedResources operation. +// pageNum := 0 +// err := client.ListAnalyzedResourcesPages(params, +// func(page *accessanalyzer.ListAnalyzedResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AccessAnalyzer) ListAnalyzedResourcesPages(input *ListAnalyzedResourcesInput, fn func(*ListAnalyzedResourcesOutput, bool) bool) error { return c.ListAnalyzedResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1693,14 +1690,13 @@ const opListAnalyzers = "ListAnalyzers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAnalyzersRequest method. +// req, resp := client.ListAnalyzersRequest(params) // -// // Example sending a request using the ListAnalyzersRequest method. -// req, resp := client.ListAnalyzersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListAnalyzers func (c *AccessAnalyzer) ListAnalyzersRequest(input *ListAnalyzersInput) (req *request.Request, output *ListAnalyzersOutput) { @@ -1737,17 +1733,18 @@ func (c *AccessAnalyzer) ListAnalyzersRequest(input *ListAnalyzersInput) (req *r // API operation ListAnalyzers for usage and error information. // // Returned Error Types: -// * ValidationException -// Validation exception error. // -// * InternalServerException -// Internal server error. +// - ValidationException +// Validation exception error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - InternalServerException +// Internal server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// Throttling limit exceeded error. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListAnalyzers func (c *AccessAnalyzer) ListAnalyzers(input *ListAnalyzersInput) (*ListAnalyzersOutput, error) { @@ -1779,15 +1776,14 @@ func (c *AccessAnalyzer) ListAnalyzersWithContext(ctx aws.Context, input *ListAn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAnalyzers operation. -// pageNum := 0 -// err := client.ListAnalyzersPages(params, -// func(page *accessanalyzer.ListAnalyzersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAnalyzers operation. +// pageNum := 0 +// err := client.ListAnalyzersPages(params, +// func(page *accessanalyzer.ListAnalyzersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AccessAnalyzer) ListAnalyzersPages(input *ListAnalyzersInput, fn func(*ListAnalyzersOutput, bool) bool) error { return c.ListAnalyzersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1839,14 +1835,13 @@ const opListArchiveRules = "ListArchiveRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListArchiveRulesRequest method. +// req, resp := client.ListArchiveRulesRequest(params) // -// // Example sending a request using the ListArchiveRulesRequest method. -// req, resp := client.ListArchiveRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListArchiveRules func (c *AccessAnalyzer) ListArchiveRulesRequest(input *ListArchiveRulesInput) (req *request.Request, output *ListArchiveRulesOutput) { @@ -1883,17 +1878,18 @@ func (c *AccessAnalyzer) ListArchiveRulesRequest(input *ListArchiveRulesInput) ( // API operation ListArchiveRules for usage and error information. // // Returned Error Types: -// * ValidationException -// Validation exception error. // -// * InternalServerException -// Internal server error. +// - ValidationException +// Validation exception error. +// +// - InternalServerException +// Internal server error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListArchiveRules func (c *AccessAnalyzer) ListArchiveRules(input *ListArchiveRulesInput) (*ListArchiveRulesOutput, error) { @@ -1925,15 +1921,14 @@ func (c *AccessAnalyzer) ListArchiveRulesWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListArchiveRules operation. -// pageNum := 0 -// err := client.ListArchiveRulesPages(params, -// func(page *accessanalyzer.ListArchiveRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListArchiveRules operation. +// pageNum := 0 +// err := client.ListArchiveRulesPages(params, +// func(page *accessanalyzer.ListArchiveRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AccessAnalyzer) ListArchiveRulesPages(input *ListArchiveRulesInput, fn func(*ListArchiveRulesOutput, bool) bool) error { return c.ListArchiveRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1985,14 +1980,13 @@ const opListFindings = "ListFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFindingsRequest method. +// req, resp := client.ListFindingsRequest(params) // -// // Example sending a request using the ListFindingsRequest method. -// req, resp := client.ListFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListFindings func (c *AccessAnalyzer) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput) { @@ -2033,20 +2027,21 @@ func (c *AccessAnalyzer) ListFindingsRequest(input *ListFindingsInput) (req *req // API operation ListFindings for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// Internal server error. +// - ValidationException +// Validation exception error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - InternalServerException +// Internal server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// Throttling limit exceeded error. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListFindings func (c *AccessAnalyzer) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error) { @@ -2078,15 +2073,14 @@ func (c *AccessAnalyzer) ListFindingsWithContext(ctx aws.Context, input *ListFin // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFindings operation. -// pageNum := 0 -// err := client.ListFindingsPages(params, -// func(page *accessanalyzer.ListFindingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFindings operation. +// pageNum := 0 +// err := client.ListFindingsPages(params, +// func(page *accessanalyzer.ListFindingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AccessAnalyzer) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error { return c.ListFindingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2138,14 +2132,13 @@ const opListPolicyGenerations = "ListPolicyGenerations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPolicyGenerationsRequest method. +// req, resp := client.ListPolicyGenerationsRequest(params) // -// // Example sending a request using the ListPolicyGenerationsRequest method. -// req, resp := client.ListPolicyGenerationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListPolicyGenerations func (c *AccessAnalyzer) ListPolicyGenerationsRequest(input *ListPolicyGenerationsInput) (req *request.Request, output *ListPolicyGenerationsOutput) { @@ -2182,17 +2175,18 @@ func (c *AccessAnalyzer) ListPolicyGenerationsRequest(input *ListPolicyGeneratio // API operation ListPolicyGenerations for usage and error information. // // Returned Error Types: -// * ValidationException -// Validation exception error. // -// * InternalServerException -// Internal server error. +// - ValidationException +// Validation exception error. +// +// - InternalServerException +// Internal server error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ThrottlingException +// Throttling limit exceeded error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListPolicyGenerations func (c *AccessAnalyzer) ListPolicyGenerations(input *ListPolicyGenerationsInput) (*ListPolicyGenerationsOutput, error) { @@ -2224,15 +2218,14 @@ func (c *AccessAnalyzer) ListPolicyGenerationsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPolicyGenerations operation. -// pageNum := 0 -// err := client.ListPolicyGenerationsPages(params, -// func(page *accessanalyzer.ListPolicyGenerationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPolicyGenerations operation. +// pageNum := 0 +// err := client.ListPolicyGenerationsPages(params, +// func(page *accessanalyzer.ListPolicyGenerationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AccessAnalyzer) ListPolicyGenerationsPages(input *ListPolicyGenerationsInput, fn func(*ListPolicyGenerationsOutput, bool) bool) error { return c.ListPolicyGenerationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2284,14 +2277,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListTagsForResource func (c *AccessAnalyzer) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2322,20 +2314,21 @@ func (c *AccessAnalyzer) ListTagsForResourceRequest(input *ListTagsForResourceIn // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// Internal server error. +// - ValidationException +// Validation exception error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - InternalServerException +// Internal server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// Throttling limit exceeded error. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ListTagsForResource func (c *AccessAnalyzer) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2375,14 +2368,13 @@ const opStartPolicyGeneration = "StartPolicyGeneration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartPolicyGenerationRequest method. +// req, resp := client.StartPolicyGenerationRequest(params) // -// // Example sending a request using the StartPolicyGenerationRequest method. -// req, resp := client.StartPolicyGenerationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/StartPolicyGeneration func (c *AccessAnalyzer) StartPolicyGenerationRequest(input *StartPolicyGenerationInput) (req *request.Request, output *StartPolicyGenerationOutput) { @@ -2413,23 +2405,24 @@ func (c *AccessAnalyzer) StartPolicyGenerationRequest(input *StartPolicyGenerati // API operation StartPolicyGeneration for usage and error information. // // Returned Error Types: -// * ConflictException -// A conflict exception error. // -// * ValidationException -// Validation exception error. +// - ConflictException +// A conflict exception error. // -// * InternalServerException -// Internal server error. +// - ValidationException +// Validation exception error. // -// * ServiceQuotaExceededException -// Service quote met error. +// - InternalServerException +// Internal server error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - ServiceQuotaExceededException +// Service quote met error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// Throttling limit exceeded error. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/StartPolicyGeneration func (c *AccessAnalyzer) StartPolicyGeneration(input *StartPolicyGenerationInput) (*StartPolicyGenerationOutput, error) { @@ -2469,14 +2462,13 @@ const opStartResourceScan = "StartResourceScan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartResourceScanRequest method. +// req, resp := client.StartResourceScanRequest(params) // -// // Example sending a request using the StartResourceScanRequest method. -// req, resp := client.StartResourceScanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/StartResourceScan func (c *AccessAnalyzer) StartResourceScanRequest(input *StartResourceScanInput) (req *request.Request, output *StartResourceScanOutput) { @@ -2508,20 +2500,21 @@ func (c *AccessAnalyzer) StartResourceScanRequest(input *StartResourceScanInput) // API operation StartResourceScan for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// Internal server error. +// - ValidationException +// Validation exception error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - InternalServerException +// Internal server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// Throttling limit exceeded error. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/StartResourceScan func (c *AccessAnalyzer) StartResourceScan(input *StartResourceScanInput) (*StartResourceScanOutput, error) { @@ -2561,14 +2554,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/TagResource func (c *AccessAnalyzer) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2600,20 +2592,21 @@ func (c *AccessAnalyzer) TagResourceRequest(input *TagResourceInput) (req *reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// Internal server error. +// - ValidationException +// Validation exception error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - InternalServerException +// Internal server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// Throttling limit exceeded error. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/TagResource func (c *AccessAnalyzer) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2653,14 +2646,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/UntagResource func (c *AccessAnalyzer) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2692,20 +2684,21 @@ func (c *AccessAnalyzer) UntagResourceRequest(input *UntagResourceInput) (req *r // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// Internal server error. +// - ValidationException +// Validation exception error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - InternalServerException +// Internal server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// Throttling limit exceeded error. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/UntagResource func (c *AccessAnalyzer) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2745,14 +2738,13 @@ const opUpdateArchiveRule = "UpdateArchiveRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateArchiveRuleRequest method. +// req, resp := client.UpdateArchiveRuleRequest(params) // -// // Example sending a request using the UpdateArchiveRuleRequest method. -// req, resp := client.UpdateArchiveRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/UpdateArchiveRule func (c *AccessAnalyzer) UpdateArchiveRuleRequest(input *UpdateArchiveRuleInput) (req *request.Request, output *UpdateArchiveRuleOutput) { @@ -2784,20 +2776,21 @@ func (c *AccessAnalyzer) UpdateArchiveRuleRequest(input *UpdateArchiveRuleInput) // API operation UpdateArchiveRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// Internal server error. +// - ValidationException +// Validation exception error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - InternalServerException +// Internal server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// Throttling limit exceeded error. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/UpdateArchiveRule func (c *AccessAnalyzer) UpdateArchiveRule(input *UpdateArchiveRuleInput) (*UpdateArchiveRuleOutput, error) { @@ -2837,14 +2830,13 @@ const opUpdateFindings = "UpdateFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFindingsRequest method. +// req, resp := client.UpdateFindingsRequest(params) // -// // Example sending a request using the UpdateFindingsRequest method. -// req, resp := client.UpdateFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/UpdateFindings func (c *AccessAnalyzer) UpdateFindingsRequest(input *UpdateFindingsInput) (req *request.Request, output *UpdateFindingsOutput) { @@ -2876,20 +2868,21 @@ func (c *AccessAnalyzer) UpdateFindingsRequest(input *UpdateFindingsInput) (req // API operation UpdateFindings for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ValidationException -// Validation exception error. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// Internal server error. +// - ValidationException +// Validation exception error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - InternalServerException +// Internal server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// Throttling limit exceeded error. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/UpdateFindings func (c *AccessAnalyzer) UpdateFindings(input *UpdateFindingsInput) (*UpdateFindingsOutput, error) { @@ -2929,14 +2922,13 @@ const opValidatePolicy = "ValidatePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ValidatePolicyRequest method. +// req, resp := client.ValidatePolicyRequest(params) // -// // Example sending a request using the ValidatePolicyRequest method. -// req, resp := client.ValidatePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ValidatePolicy func (c *AccessAnalyzer) ValidatePolicyRequest(input *ValidatePolicyInput) (req *request.Request, output *ValidatePolicyOutput) { @@ -2976,17 +2968,18 @@ func (c *AccessAnalyzer) ValidatePolicyRequest(input *ValidatePolicyInput) (req // API operation ValidatePolicy for usage and error information. // // Returned Error Types: -// * ValidationException -// Validation exception error. // -// * InternalServerException -// Internal server error. +// - ValidationException +// Validation exception error. // -// * ThrottlingException -// Throttling limit exceeded error. +// - InternalServerException +// Internal server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// Throttling limit exceeded error. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/ValidatePolicy func (c *AccessAnalyzer) ValidatePolicy(input *ValidatePolicyInput) (*ValidatePolicyOutput, error) { @@ -3018,15 +3011,14 @@ func (c *AccessAnalyzer) ValidatePolicyWithContext(ctx aws.Context, input *Valid // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ValidatePolicy operation. -// pageNum := 0 -// err := client.ValidatePolicyPages(params, -// func(page *accessanalyzer.ValidatePolicyOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ValidatePolicy operation. +// pageNum := 0 +// err := client.ValidatePolicyPages(params, +// func(page *accessanalyzer.ValidatePolicyOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AccessAnalyzer) ValidatePolicyPages(input *ValidatePolicyInput, fn func(*ValidatePolicyOutput, bool) bool) error { return c.ValidatePolicyPagesWithContext(aws.BackgroundContext(), input, fn) } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/doc.go index d38117ef8322..97374fe026f4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/doc.go @@ -23,7 +23,7 @@ // See accessanalyzer package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/accessanalyzer/ // -// Using the Client +// # Using the Client // // To contact Access Analyzer with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/service.go index 1f3665ee82d9..92420ebaa789 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/accessanalyzer/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AccessAnalyzer client from just a session. -// svc := accessanalyzer.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AccessAnalyzer client with additional configuration -// svc := accessanalyzer.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AccessAnalyzer client from just a session. +// svc := accessanalyzer.New(mySession) +// +// // Create a AccessAnalyzer client with additional configuration +// svc := accessanalyzer.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AccessAnalyzer { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/accountiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/accountiface/interface.go index b9a2d87374cd..fa3a53378414 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/accountiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/accountiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Account. -// func myFunc(svc accountiface.AccountAPI) bool { -// // Make svc.DeleteAlternateContact request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Account. +// func myFunc(svc accountiface.AccountAPI) bool { +// // Make svc.DeleteAlternateContact request +// } // -// func main() { -// sess := session.New() -// svc := account.New(sess) +// func main() { +// sess := session.New() +// svc := account.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAccountClient struct { -// accountiface.AccountAPI -// } -// func (m *mockAccountClient) DeleteAlternateContact(input *account.DeleteAlternateContactInput) (*account.DeleteAlternateContactOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAccountClient struct { +// accountiface.AccountAPI +// } +// func (m *mockAccountClient) DeleteAlternateContact(input *account.DeleteAlternateContactInput) (*account.DeleteAlternateContactOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAccountClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAccountClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/api.go index f1d6b75b7d9f..58cd6ccabd20 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/api.go @@ -28,14 +28,13 @@ const opDeleteAlternateContact = "DeleteAlternateContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAlternateContactRequest method. +// req, resp := client.DeleteAlternateContactRequest(params) // -// // Example sending a request using the DeleteAlternateContactRequest method. -// req, resp := client.DeleteAlternateContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/DeleteAlternateContact func (c *Account) DeleteAlternateContactRequest(input *DeleteAlternateContactInput) (req *request.Request, output *DeleteAlternateContactOutput) { @@ -70,23 +69,24 @@ func (c *Account) DeleteAlternateContactRequest(input *DeleteAlternateContactInp // API operation DeleteAlternateContact for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation failed because it specified a resource that can't be found. // -// * ValidationException -// The operation failed because one of the input parameters was invalid. +// - ResourceNotFoundException +// The operation failed because it specified a resource that can't be found. +// +// - ValidationException +// The operation failed because one of the input parameters was invalid. // -// * AccessDeniedException -// The operation failed because the calling identity doesn't have the minimum -// required permissions. +// - AccessDeniedException +// The operation failed because the calling identity doesn't have the minimum +// required permissions. // -// * TooManyRequestsException -// The operation failed because it was called too frequently and exceeded a -// throttle limit. +// - TooManyRequestsException +// The operation failed because it was called too frequently and exceeded a +// throttle limit. // -// * InternalServerException -// The operation failed because of an error internal to Amazon Web Services. -// Try your operation again later. +// - InternalServerException +// The operation failed because of an error internal to Amazon Web Services. +// Try your operation again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/DeleteAlternateContact func (c *Account) DeleteAlternateContact(input *DeleteAlternateContactInput) (*DeleteAlternateContactOutput, error) { @@ -126,14 +126,13 @@ const opGetAlternateContact = "GetAlternateContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAlternateContactRequest method. +// req, resp := client.GetAlternateContactRequest(params) // -// // Example sending a request using the GetAlternateContactRequest method. -// req, resp := client.GetAlternateContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/GetAlternateContact func (c *Account) GetAlternateContactRequest(input *GetAlternateContactInput) (req *request.Request, output *GetAlternateContactOutput) { @@ -168,23 +167,24 @@ func (c *Account) GetAlternateContactRequest(input *GetAlternateContactInput) (r // API operation GetAlternateContact for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation failed because it specified a resource that can't be found. // -// * ValidationException -// The operation failed because one of the input parameters was invalid. +// - ResourceNotFoundException +// The operation failed because it specified a resource that can't be found. // -// * AccessDeniedException -// The operation failed because the calling identity doesn't have the minimum -// required permissions. +// - ValidationException +// The operation failed because one of the input parameters was invalid. // -// * TooManyRequestsException -// The operation failed because it was called too frequently and exceeded a -// throttle limit. +// - AccessDeniedException +// The operation failed because the calling identity doesn't have the minimum +// required permissions. // -// * InternalServerException -// The operation failed because of an error internal to Amazon Web Services. -// Try your operation again later. +// - TooManyRequestsException +// The operation failed because it was called too frequently and exceeded a +// throttle limit. +// +// - InternalServerException +// The operation failed because of an error internal to Amazon Web Services. +// Try your operation again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/GetAlternateContact func (c *Account) GetAlternateContact(input *GetAlternateContactInput) (*GetAlternateContactOutput, error) { @@ -224,14 +224,13 @@ const opPutAlternateContact = "PutAlternateContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAlternateContactRequest method. +// req, resp := client.PutAlternateContactRequest(params) // -// // Example sending a request using the PutAlternateContactRequest method. -// req, resp := client.PutAlternateContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/PutAlternateContact func (c *Account) PutAlternateContactRequest(input *PutAlternateContactInput) (req *request.Request, output *PutAlternateContactOutput) { @@ -267,20 +266,21 @@ func (c *Account) PutAlternateContactRequest(input *PutAlternateContactInput) (r // API operation PutAlternateContact for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation failed because one of the input parameters was invalid. // -// * AccessDeniedException -// The operation failed because the calling identity doesn't have the minimum -// required permissions. +// - ValidationException +// The operation failed because one of the input parameters was invalid. +// +// - AccessDeniedException +// The operation failed because the calling identity doesn't have the minimum +// required permissions. // -// * TooManyRequestsException -// The operation failed because it was called too frequently and exceeded a -// throttle limit. +// - TooManyRequestsException +// The operation failed because it was called too frequently and exceeded a +// throttle limit. // -// * InternalServerException -// The operation failed because of an error internal to Amazon Web Services. -// Try your operation again later. +// - InternalServerException +// The operation failed because of an error internal to Amazon Web Services. +// Try your operation again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01/PutAlternateContact func (c *Account) PutAlternateContact(input *PutAlternateContactInput) (*PutAlternateContactOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/doc.go index dc16d5eb15e0..079b2c2b6229 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/doc.go @@ -3,14 +3,14 @@ // Package account provides the client and types for making API // requests to AWS Account. // -// Operations for Amazon Web Services Account Management +// # Operations for Amazon Web Services Account Management // // See https://docs.aws.amazon.com/goto/WebAPI/account-2021-02-01 for more information on this service. // // See account package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/account/ // -// Using the Client +// # Using the Client // // To contact AWS Account with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/service.go index 4c30e5d2d12d..54f1a738453e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/account/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Account client from just a session. -// svc := account.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Account client with additional configuration -// svc := account.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Account client from just a session. +// svc := account.New(mySession) +// +// // Create a Account client with additional configuration +// svc := account.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Account { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/acmiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/acmiface/interface.go index 96bb7a292a97..3ce60618ac6e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/acmiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/acmiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Certificate Manager. -// func myFunc(svc acmiface.ACMAPI) bool { -// // Make svc.AddTagsToCertificate request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Certificate Manager. +// func myFunc(svc acmiface.ACMAPI) bool { +// // Make svc.AddTagsToCertificate request +// } // -// func main() { -// sess := session.New() -// svc := acm.New(sess) +// func main() { +// sess := session.New() +// svc := acm.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockACMClient struct { -// acmiface.ACMAPI -// } -// func (m *mockACMClient) AddTagsToCertificate(input *acm.AddTagsToCertificateInput) (*acm.AddTagsToCertificateOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockACMClient struct { +// acmiface.ACMAPI +// } +// func (m *mockACMClient) AddTagsToCertificate(input *acm.AddTagsToCertificateInput) (*acm.AddTagsToCertificateOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockACMClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockACMClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/api.go index 825ee2cef667..341434152727 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/api.go @@ -29,14 +29,13 @@ const opAddTagsToCertificate = "AddTagsToCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsToCertificateRequest method. +// req, resp := client.AddTagsToCertificateRequest(params) // -// // Example sending a request using the AddTagsToCertificateRequest method. -// req, resp := client.AddTagsToCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificate func (c *ACM) AddTagsToCertificateRequest(input *AddTagsToCertificateInput) (req *request.Request, output *AddTagsToCertificateOutput) { @@ -85,28 +84,29 @@ func (c *ACM) AddTagsToCertificateRequest(input *AddTagsToCertificateInput) (req // API operation AddTagsToCertificate for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified certificate cannot be found in the caller's account or the -// caller's account cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ResourceNotFoundException +// The specified certificate cannot be found in the caller's account or the +// caller's account cannot be found. +// +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * InvalidTagException -// One or both of the values that make up the key-value pair is not valid. For -// example, you cannot specify a tag value that begins with aws:. +// - InvalidTagException +// One or both of the values that make up the key-value pair is not valid. For +// example, you cannot specify a tag value that begins with aws:. // -// * TooManyTagsException -// The request contains too many tags. Try the request again with fewer tags. +// - TooManyTagsException +// The request contains too many tags. Try the request again with fewer tags. // -// * TagPolicyException -// A specified tag did not comply with an existing tag policy and was rejected. +// - TagPolicyException +// A specified tag did not comply with an existing tag policy and was rejected. // -// * InvalidParameterException -// An input parameter was invalid. +// - InvalidParameterException +// An input parameter was invalid. // -// * ThrottlingException -// The request was denied because it exceeded a quota. +// - ThrottlingException +// The request was denied because it exceeded a quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/AddTagsToCertificate func (c *ACM) AddTagsToCertificate(input *AddTagsToCertificateInput) (*AddTagsToCertificateOutput, error) { @@ -146,14 +146,13 @@ const opDeleteCertificate = "DeleteCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCertificateRequest method. +// req, resp := client.DeleteCertificateRequest(params) // -// // Example sending a request using the DeleteCertificateRequest method. -// req, resp := client.DeleteCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificate func (c *ACM) DeleteCertificateRequest(input *DeleteCertificateInput) (req *request.Request, output *DeleteCertificateOutput) { @@ -193,16 +192,17 @@ func (c *ACM) DeleteCertificateRequest(input *DeleteCertificateInput) (req *requ // API operation DeleteCertificate for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified certificate cannot be found in the caller's account or the -// caller's account cannot be found. // -// * ResourceInUseException -// The certificate is in use by another Amazon Web Services service in the caller's -// account. Remove the association and try again. +// - ResourceNotFoundException +// The specified certificate cannot be found in the caller's account or the +// caller's account cannot be found. +// +// - ResourceInUseException +// The certificate is in use by another Amazon Web Services service in the caller's +// account. Remove the association and try again. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DeleteCertificate func (c *ACM) DeleteCertificate(input *DeleteCertificateInput) (*DeleteCertificateOutput, error) { @@ -242,14 +242,13 @@ const opDescribeCertificate = "DescribeCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCertificateRequest method. +// req, resp := client.DescribeCertificateRequest(params) // -// // Example sending a request using the DescribeCertificateRequest method. -// req, resp := client.DescribeCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificate func (c *ACM) DescribeCertificateRequest(input *DescribeCertificateInput) (req *request.Request, output *DescribeCertificateOutput) { @@ -280,12 +279,13 @@ func (c *ACM) DescribeCertificateRequest(input *DescribeCertificateInput) (req * // API operation DescribeCertificate for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified certificate cannot be found in the caller's account or the -// caller's account cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ResourceNotFoundException +// The specified certificate cannot be found in the caller's account or the +// caller's account cannot be found. +// +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/DescribeCertificate func (c *ACM) DescribeCertificate(input *DescribeCertificateInput) (*DescribeCertificateOutput, error) { @@ -325,14 +325,13 @@ const opExportCertificate = "ExportCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportCertificateRequest method. +// req, resp := client.ExportCertificateRequest(params) // -// // Example sending a request using the ExportCertificateRequest method. -// req, resp := client.ExportCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ExportCertificate func (c *ACM) ExportCertificateRequest(input *ExportCertificateInput) (req *request.Request, output *ExportCertificateOutput) { @@ -370,16 +369,17 @@ func (c *ACM) ExportCertificateRequest(input *ExportCertificateInput) (req *requ // API operation ExportCertificate for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified certificate cannot be found in the caller's account or the -// caller's account cannot be found. // -// * RequestInProgressException -// The certificate request is in process and the certificate in your account -// has not yet been issued. +// - ResourceNotFoundException +// The specified certificate cannot be found in the caller's account or the +// caller's account cannot be found. +// +// - RequestInProgressException +// The certificate request is in process and the certificate in your account +// has not yet been issued. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ExportCertificate func (c *ACM) ExportCertificate(input *ExportCertificateInput) (*ExportCertificateOutput, error) { @@ -419,14 +419,13 @@ const opGetAccountConfiguration = "GetAccountConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountConfigurationRequest method. +// req, resp := client.GetAccountConfigurationRequest(params) // -// // Example sending a request using the GetAccountConfigurationRequest method. -// req, resp := client.GetAccountConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetAccountConfiguration func (c *ACM) GetAccountConfigurationRequest(input *GetAccountConfigurationInput) (req *request.Request, output *GetAccountConfigurationOutput) { @@ -458,11 +457,12 @@ func (c *ACM) GetAccountConfigurationRequest(input *GetAccountConfigurationInput // API operation GetAccountConfiguration for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have access required to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded a quota. +// - AccessDeniedException +// You do not have access required to perform this action. +// +// - ThrottlingException +// The request was denied because it exceeded a quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetAccountConfiguration func (c *ACM) GetAccountConfiguration(input *GetAccountConfigurationInput) (*GetAccountConfigurationOutput, error) { @@ -502,14 +502,13 @@ const opGetCertificate = "GetCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCertificateRequest method. +// req, resp := client.GetCertificateRequest(params) // -// // Example sending a request using the GetCertificateRequest method. -// req, resp := client.GetCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificate func (c *ACM) GetCertificateRequest(input *GetCertificateInput) (req *request.Request, output *GetCertificateOutput) { @@ -544,16 +543,17 @@ func (c *ACM) GetCertificateRequest(input *GetCertificateInput) (req *request.Re // API operation GetCertificate for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified certificate cannot be found in the caller's account or the -// caller's account cannot be found. // -// * RequestInProgressException -// The certificate request is in process and the certificate in your account -// has not yet been issued. +// - ResourceNotFoundException +// The specified certificate cannot be found in the caller's account or the +// caller's account cannot be found. +// +// - RequestInProgressException +// The certificate request is in process and the certificate in your account +// has not yet been issued. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/GetCertificate func (c *ACM) GetCertificate(input *GetCertificateInput) (*GetCertificateOutput, error) { @@ -593,14 +593,13 @@ const opImportCertificate = "ImportCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportCertificateRequest method. +// req, resp := client.ImportCertificateRequest(params) // -// // Example sending a request using the ImportCertificateRequest method. -// req, resp := client.ImportCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificate func (c *ACM) ImportCertificateRequest(input *ImportCertificateInput) (req *request.Request, output *ImportCertificateOutput) { @@ -636,46 +635,46 @@ func (c *ACM) ImportCertificateRequest(input *ImportCertificateInput) (req *requ // // Note the following guidelines when importing third party certificates: // -// * You must enter the private key that matches the certificate you are -// importing. +// - You must enter the private key that matches the certificate you are +// importing. // -// * The private key must be unencrypted. You cannot import a private key -// that is protected by a password or a passphrase. +// - The private key must be unencrypted. You cannot import a private key +// that is protected by a password or a passphrase. // -// * The private key must be no larger than 5 KB (5,120 bytes). +// - The private key must be no larger than 5 KB (5,120 bytes). // -// * If the certificate you are importing is not self-signed, you must enter -// its certificate chain. +// - If the certificate you are importing is not self-signed, you must enter +// its certificate chain. // -// * If a certificate chain is included, the issuer must be the subject of -// one of the certificates in the chain. +// - If a certificate chain is included, the issuer must be the subject of +// one of the certificates in the chain. // -// * The certificate, private key, and certificate chain must be PEM-encoded. +// - The certificate, private key, and certificate chain must be PEM-encoded. // -// * The current time must be between the Not Before and Not After certificate -// fields. +// - The current time must be between the Not Before and Not After certificate +// fields. // -// * The Issuer field must not be empty. +// - The Issuer field must not be empty. // -// * The OCSP authority URL, if present, must not exceed 1000 characters. +// - The OCSP authority URL, if present, must not exceed 1000 characters. // -// * To import a new certificate, omit the CertificateArn argument. Include -// this argument only when you want to replace a previously imported certificate. +// - To import a new certificate, omit the CertificateArn argument. Include +// this argument only when you want to replace a previously imported certificate. // -// * When you import a certificate by using the CLI, you must specify the -// certificate, the certificate chain, and the private key by their file -// names preceded by fileb://. For example, you can specify a certificate -// saved in the C:\temp folder as fileb://C:\temp\certificate_to_import.pem. -// If you are making an HTTP or HTTPS Query request, include these arguments -// as BLOBs. +// - When you import a certificate by using the CLI, you must specify the +// certificate, the certificate chain, and the private key by their file +// names preceded by fileb://. For example, you can specify a certificate +// saved in the C:\temp folder as fileb://C:\temp\certificate_to_import.pem. +// If you are making an HTTP or HTTPS Query request, include these arguments +// as BLOBs. // -// * When you import a certificate by using an SDK, you must specify the -// certificate, the certificate chain, and the private key files in the manner -// required by the programming language you're using. +// - When you import a certificate by using an SDK, you must specify the +// certificate, the certificate chain, and the private key files in the manner +// required by the programming language you're using. // -// * The cryptographic algorithm of an imported certificate must match the -// algorithm of the signing CA. For example, if the signing CA key type is -// RSA, then the certificate key type must also be RSA. +// - The cryptographic algorithm of an imported certificate must match the +// algorithm of the signing CA. For example, if the signing CA key type is +// RSA, then the certificate key type must also be RSA. // // This operation returns the Amazon Resource Name (ARN) (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // of the imported certificate. @@ -688,28 +687,29 @@ func (c *ACM) ImportCertificateRequest(input *ImportCertificateInput) (req *requ // API operation ImportCertificate for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified certificate cannot be found in the caller's account or the -// caller's account cannot be found. // -// * LimitExceededException -// An ACM quota has been exceeded. +// - ResourceNotFoundException +// The specified certificate cannot be found in the caller's account or the +// caller's account cannot be found. +// +// - LimitExceededException +// An ACM quota has been exceeded. // -// * InvalidTagException -// One or both of the values that make up the key-value pair is not valid. For -// example, you cannot specify a tag value that begins with aws:. +// - InvalidTagException +// One or both of the values that make up the key-value pair is not valid. For +// example, you cannot specify a tag value that begins with aws:. // -// * TooManyTagsException -// The request contains too many tags. Try the request again with fewer tags. +// - TooManyTagsException +// The request contains too many tags. Try the request again with fewer tags. // -// * TagPolicyException -// A specified tag did not comply with an existing tag policy and was rejected. +// - TagPolicyException +// A specified tag did not comply with an existing tag policy and was rejected. // -// * InvalidParameterException -// An input parameter was invalid. +// - InvalidParameterException +// An input parameter was invalid. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ImportCertificate func (c *ACM) ImportCertificate(input *ImportCertificateInput) (*ImportCertificateOutput, error) { @@ -749,14 +749,13 @@ const opListCertificates = "ListCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCertificatesRequest method. +// req, resp := client.ListCertificatesRequest(params) // -// // Example sending a request using the ListCertificatesRequest method. -// req, resp := client.ListCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificates func (c *ACM) ListCertificatesRequest(input *ListCertificatesInput) (req *request.Request, output *ListCertificatesOutput) { @@ -796,8 +795,8 @@ func (c *ACM) ListCertificatesRequest(input *ListCertificatesInput) (req *reques // API operation ListCertificates for usage and error information. // // Returned Error Types: -// * InvalidArgsException -// One or more of of request parameters specified is not valid. +// - InvalidArgsException +// One or more of of request parameters specified is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListCertificates func (c *ACM) ListCertificates(input *ListCertificatesInput) (*ListCertificatesOutput, error) { @@ -829,15 +828,14 @@ func (c *ACM) ListCertificatesWithContext(ctx aws.Context, input *ListCertificat // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCertificates operation. -// pageNum := 0 -// err := client.ListCertificatesPages(params, -// func(page *acm.ListCertificatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCertificates operation. +// pageNum := 0 +// err := client.ListCertificatesPages(params, +// func(page *acm.ListCertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ACM) ListCertificatesPages(input *ListCertificatesInput, fn func(*ListCertificatesOutput, bool) bool) error { return c.ListCertificatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -889,14 +887,13 @@ const opListTagsForCertificate = "ListTagsForCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForCertificateRequest method. +// req, resp := client.ListTagsForCertificateRequest(params) // -// // Example sending a request using the ListTagsForCertificateRequest method. -// req, resp := client.ListTagsForCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificate func (c *ACM) ListTagsForCertificateRequest(input *ListTagsForCertificateInput) (req *request.Request, output *ListTagsForCertificateOutput) { @@ -930,12 +927,13 @@ func (c *ACM) ListTagsForCertificateRequest(input *ListTagsForCertificateInput) // API operation ListTagsForCertificate for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified certificate cannot be found in the caller's account or the -// caller's account cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ResourceNotFoundException +// The specified certificate cannot be found in the caller's account or the +// caller's account cannot be found. +// +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ListTagsForCertificate func (c *ACM) ListTagsForCertificate(input *ListTagsForCertificateInput) (*ListTagsForCertificateOutput, error) { @@ -975,14 +973,13 @@ const opPutAccountConfiguration = "PutAccountConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAccountConfigurationRequest method. +// req, resp := client.PutAccountConfigurationRequest(params) // -// // Example sending a request using the PutAccountConfigurationRequest method. -// req, resp := client.PutAccountConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PutAccountConfiguration func (c *ACM) PutAccountConfigurationRequest(input *PutAccountConfigurationInput) (req *request.Request, output *PutAccountConfigurationOutput) { @@ -1020,19 +1017,20 @@ func (c *ACM) PutAccountConfigurationRequest(input *PutAccountConfigurationInput // API operation PutAccountConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// The supplied input failed to satisfy constraints of an Amazon Web Services -// service. // -// * ThrottlingException -// The request was denied because it exceeded a quota. +// - ValidationException +// The supplied input failed to satisfy constraints of an Amazon Web Services +// service. // -// * AccessDeniedException -// You do not have access required to perform this action. +// - ThrottlingException +// The request was denied because it exceeded a quota. // -// * ConflictException -// You are trying to update a resource or configuration that is already being -// created or updated. Wait for the previous operation to finish and try again. +// - AccessDeniedException +// You do not have access required to perform this action. +// +// - ConflictException +// You are trying to update a resource or configuration that is already being +// created or updated. Wait for the previous operation to finish and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/PutAccountConfiguration func (c *ACM) PutAccountConfiguration(input *PutAccountConfigurationInput) (*PutAccountConfigurationOutput, error) { @@ -1072,14 +1070,13 @@ const opRemoveTagsFromCertificate = "RemoveTagsFromCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsFromCertificateRequest method. +// req, resp := client.RemoveTagsFromCertificateRequest(params) // -// // Example sending a request using the RemoveTagsFromCertificateRequest method. -// req, resp := client.RemoveTagsFromCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificate func (c *ACM) RemoveTagsFromCertificateRequest(input *RemoveTagsFromCertificateInput) (req *request.Request, output *RemoveTagsFromCertificateOutput) { @@ -1118,25 +1115,26 @@ func (c *ACM) RemoveTagsFromCertificateRequest(input *RemoveTagsFromCertificateI // API operation RemoveTagsFromCertificate for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified certificate cannot be found in the caller's account or the -// caller's account cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ResourceNotFoundException +// The specified certificate cannot be found in the caller's account or the +// caller's account cannot be found. // -// * InvalidTagException -// One or both of the values that make up the key-value pair is not valid. For -// example, you cannot specify a tag value that begins with aws:. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * TagPolicyException -// A specified tag did not comply with an existing tag policy and was rejected. +// - InvalidTagException +// One or both of the values that make up the key-value pair is not valid. For +// example, you cannot specify a tag value that begins with aws:. // -// * InvalidParameterException -// An input parameter was invalid. +// - TagPolicyException +// A specified tag did not comply with an existing tag policy and was rejected. // -// * ThrottlingException -// The request was denied because it exceeded a quota. +// - InvalidParameterException +// An input parameter was invalid. +// +// - ThrottlingException +// The request was denied because it exceeded a quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RemoveTagsFromCertificate func (c *ACM) RemoveTagsFromCertificate(input *RemoveTagsFromCertificateInput) (*RemoveTagsFromCertificateOutput, error) { @@ -1176,14 +1174,13 @@ const opRenewCertificate = "RenewCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RenewCertificateRequest method. +// req, resp := client.RenewCertificateRequest(params) // -// // Example sending a request using the RenewCertificateRequest method. -// req, resp := client.RenewCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RenewCertificate func (c *ACM) RenewCertificateRequest(input *RenewCertificateInput) (req *request.Request, output *RenewCertificateOutput) { @@ -1220,12 +1217,13 @@ func (c *ACM) RenewCertificateRequest(input *RenewCertificateInput) (req *reques // API operation RenewCertificate for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified certificate cannot be found in the caller's account or the -// caller's account cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ResourceNotFoundException +// The specified certificate cannot be found in the caller's account or the +// caller's account cannot be found. +// +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RenewCertificate func (c *ACM) RenewCertificate(input *RenewCertificateInput) (*RenewCertificateOutput, error) { @@ -1265,14 +1263,13 @@ const opRequestCertificate = "RequestCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RequestCertificateRequest method. +// req, resp := client.RequestCertificateRequest(params) // -// // Example sending a request using the RequestCertificateRequest method. -// req, resp := client.RequestCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificate func (c *ACM) RequestCertificateRequest(input *RequestCertificateInput) (req *request.Request, output *RequestCertificateOutput) { @@ -1319,27 +1316,28 @@ func (c *ACM) RequestCertificateRequest(input *RequestCertificateInput) (req *re // API operation RequestCertificate for usage and error information. // // Returned Error Types: -// * LimitExceededException -// An ACM quota has been exceeded. // -// * InvalidDomainValidationOptionsException -// One or more values in the DomainValidationOption structure is incorrect. +// - LimitExceededException +// An ACM quota has been exceeded. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - InvalidDomainValidationOptionsException +// One or more values in the DomainValidationOption structure is incorrect. // -// * InvalidTagException -// One or both of the values that make up the key-value pair is not valid. For -// example, you cannot specify a tag value that begins with aws:. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * TooManyTagsException -// The request contains too many tags. Try the request again with fewer tags. +// - InvalidTagException +// One or both of the values that make up the key-value pair is not valid. For +// example, you cannot specify a tag value that begins with aws:. // -// * TagPolicyException -// A specified tag did not comply with an existing tag policy and was rejected. +// - TooManyTagsException +// The request contains too many tags. Try the request again with fewer tags. // -// * InvalidParameterException -// An input parameter was invalid. +// - TagPolicyException +// A specified tag did not comply with an existing tag policy and was rejected. +// +// - InvalidParameterException +// An input parameter was invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/RequestCertificate func (c *ACM) RequestCertificate(input *RequestCertificateInput) (*RequestCertificateOutput, error) { @@ -1379,14 +1377,13 @@ const opResendValidationEmail = "ResendValidationEmail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResendValidationEmailRequest method. +// req, resp := client.ResendValidationEmailRequest(params) // -// // Example sending a request using the ResendValidationEmailRequest method. -// req, resp := client.ResendValidationEmailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmail func (c *ACM) ResendValidationEmailRequest(input *ResendValidationEmailInput) (req *request.Request, output *ResendValidationEmailOutput) { @@ -1428,18 +1425,19 @@ func (c *ACM) ResendValidationEmailRequest(input *ResendValidationEmailInput) (r // API operation ResendValidationEmail for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified certificate cannot be found in the caller's account or the -// caller's account cannot be found. // -// * InvalidStateException -// Processing has reached an invalid state. +// - ResourceNotFoundException +// The specified certificate cannot be found in the caller's account or the +// caller's account cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - InvalidStateException +// Processing has reached an invalid state. // -// * InvalidDomainValidationOptionsException -// One or more values in the DomainValidationOption structure is incorrect. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// +// - InvalidDomainValidationOptionsException +// One or more values in the DomainValidationOption structure is incorrect. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/ResendValidationEmail func (c *ACM) ResendValidationEmail(input *ResendValidationEmailInput) (*ResendValidationEmailOutput, error) { @@ -1479,14 +1477,13 @@ const opUpdateCertificateOptions = "UpdateCertificateOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCertificateOptionsRequest method. +// req, resp := client.UpdateCertificateOptionsRequest(params) // -// // Example sending a request using the UpdateCertificateOptionsRequest method. -// req, resp := client.UpdateCertificateOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/UpdateCertificateOptions func (c *ACM) UpdateCertificateOptionsRequest(input *UpdateCertificateOptionsInput) (req *request.Request, output *UpdateCertificateOptionsOutput) { @@ -1521,18 +1518,19 @@ func (c *ACM) UpdateCertificateOptionsRequest(input *UpdateCertificateOptionsInp // API operation UpdateCertificateOptions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified certificate cannot be found in the caller's account or the -// caller's account cannot be found. // -// * LimitExceededException -// An ACM quota has been exceeded. +// - ResourceNotFoundException +// The specified certificate cannot be found in the caller's account or the +// caller's account cannot be found. +// +// - LimitExceededException +// An ACM quota has been exceeded. // -// * InvalidStateException -// Processing has reached an invalid state. +// - InvalidStateException +// Processing has reached an invalid state. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-2015-12-08/UpdateCertificateOptions func (c *ACM) UpdateCertificateOptions(input *UpdateCertificateOptionsInput) (*UpdateCertificateOptionsOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/doc.go index c53bf06d6349..5a915b2db796 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/doc.go @@ -13,7 +13,7 @@ // See acm package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/acm/ // -// Using the Client +// # Using the Client // // To contact AWS Certificate Manager with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/service.go index 2e98c9233916..90182dc21c7d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acm/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ACM client from just a session. -// svc := acm.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ACM client with additional configuration -// svc := acm.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ACM client from just a session. +// svc := acm.New(mySession) +// +// // Create a ACM client with additional configuration +// svc := acm.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ACM { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/acmpcaiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/acmpcaiface/interface.go index 4e9ef1003aa7..b309313acc92 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/acmpcaiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/acmpcaiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Certificate Manager Private Certificate Authority. -// func myFunc(svc acmpcaiface.ACMPCAAPI) bool { -// // Make svc.CreateCertificateAuthority request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Certificate Manager Private Certificate Authority. +// func myFunc(svc acmpcaiface.ACMPCAAPI) bool { +// // Make svc.CreateCertificateAuthority request +// } // -// func main() { -// sess := session.New() -// svc := acmpca.New(sess) +// func main() { +// sess := session.New() +// svc := acmpca.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockACMPCAClient struct { -// acmpcaiface.ACMPCAAPI -// } -// func (m *mockACMPCAClient) CreateCertificateAuthority(input *acmpca.CreateCertificateAuthorityInput) (*acmpca.CreateCertificateAuthorityOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockACMPCAClient struct { +// acmpcaiface.ACMPCAAPI +// } +// func (m *mockACMPCAClient) CreateCertificateAuthority(input *acmpca.CreateCertificateAuthorityInput) (*acmpca.CreateCertificateAuthorityOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockACMPCAClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockACMPCAClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/api.go index a3ee7745f3ae..55f01a5384bf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/api.go @@ -29,14 +29,13 @@ const opCreateCertificateAuthority = "CreateCertificateAuthority" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCertificateAuthorityRequest method. +// req, resp := client.CreateCertificateAuthorityRequest(params) // -// // Example sending a request using the CreateCertificateAuthorityRequest method. -// req, resp := client.CreateCertificateAuthorityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/CreateCertificateAuthority func (c *ACMPCA) CreateCertificateAuthorityRequest(input *CreateCertificateAuthorityInput) (req *request.Request, output *CreateCertificateAuthorityOutput) { @@ -86,21 +85,22 @@ func (c *ACMPCA) CreateCertificateAuthorityRequest(input *CreateCertificateAutho // API operation CreateCertificateAuthority for usage and error information. // // Returned Error Types: -// * InvalidArgsException -// One or more of the specified arguments was not valid. // -// * InvalidPolicyException -// The resource policy is invalid or is missing a required statement. For general -// information about IAM policy and statement structure, see Overview of JSON -// Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json). +// - InvalidArgsException +// One or more of the specified arguments was not valid. +// +// - InvalidPolicyException +// The resource policy is invalid or is missing a required statement. For general +// information about IAM policy and statement structure, see Overview of JSON +// Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json). // -// * InvalidTagException -// The tag associated with the CA is not valid. The invalid argument is contained -// in the message field. +// - InvalidTagException +// The tag associated with the CA is not valid. The invalid argument is contained +// in the message field. // -// * LimitExceededException -// An ACM Private CA quota has been exceeded. See the exception message returned -// to determine the quota that was exceeded. +// - LimitExceededException +// An ACM Private CA quota has been exceeded. See the exception message returned +// to determine the quota that was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/CreateCertificateAuthority func (c *ACMPCA) CreateCertificateAuthority(input *CreateCertificateAuthorityInput) (*CreateCertificateAuthorityOutput, error) { @@ -140,14 +140,13 @@ const opCreateCertificateAuthorityAuditReport = "CreateCertificateAuthorityAudit // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCertificateAuthorityAuditReportRequest method. +// req, resp := client.CreateCertificateAuthorityAuditReportRequest(params) // -// // Example sending a request using the CreateCertificateAuthorityAuditReportRequest method. -// req, resp := client.CreateCertificateAuthorityAuditReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/CreateCertificateAuthorityAuditReport func (c *ACMPCA) CreateCertificateAuthorityAuditReportRequest(input *CreateCertificateAuthorityAuditReportInput) (req *request.Request, output *CreateCertificateAuthorityAuditReportOutput) { @@ -192,24 +191,25 @@ func (c *ACMPCA) CreateCertificateAuthorityAuditReportRequest(input *CreateCerti // API operation CreateCertificateAuthorityAuditReport for usage and error information. // // Returned Error Types: -// * RequestInProgressException -// Your request is already in progress. // -// * RequestFailedException -// The request has failed for an unspecified reason. +// - RequestInProgressException +// Your request is already in progress. // -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. +// - RequestFailedException +// The request has failed for an unspecified reason. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // -// * InvalidArgsException -// One or more of the specified arguments was not valid. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidArgsException +// One or more of the specified arguments was not valid. +// +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/CreateCertificateAuthorityAuditReport func (c *ACMPCA) CreateCertificateAuthorityAuditReport(input *CreateCertificateAuthorityAuditReportInput) (*CreateCertificateAuthorityAuditReportOutput, error) { @@ -249,14 +249,13 @@ const opCreatePermission = "CreatePermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePermissionRequest method. +// req, resp := client.CreatePermissionRequest(params) // -// // Example sending a request using the CreatePermissionRequest method. -// req, resp := client.CreatePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/CreatePermission func (c *ACMPCA) CreatePermissionRequest(input *CreatePermissionInput) (req *request.Request, output *CreatePermissionOutput) { @@ -289,18 +288,18 @@ func (c *ACMPCA) CreatePermissionRequest(input *CreatePermissionInput) (req *req // // About Permissions // -// * If the private CA and the certificates it issues reside in the same -// account, you can use CreatePermission to grant permissions for ACM to -// carry out automatic certificate renewals. +// - If the private CA and the certificates it issues reside in the same +// account, you can use CreatePermission to grant permissions for ACM to +// carry out automatic certificate renewals. // -// * For automatic certificate renewal to succeed, the ACM service principal -// needs permissions to create, retrieve, and list certificates. +// - For automatic certificate renewal to succeed, the ACM service principal +// needs permissions to create, retrieve, and list certificates. // -// * If the private CA and the ACM certificates reside in different accounts, -// then permissions cannot be used to enable automatic renewals. Instead, -// the ACM certificate owner must set up a resource-based policy to enable -// cross-account issuance and renewals. For more information, see Using a -// Resource Based Policy with ACM Private CA (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html). +// - If the private CA and the ACM certificates reside in different accounts, +// then permissions cannot be used to enable automatic renewals. Instead, +// the ACM certificate owner must set up a resource-based policy to enable +// cross-account issuance and renewals. For more information, see Using a +// Resource Based Policy with ACM Private CA (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -310,25 +309,26 @@ func (c *ACMPCA) CreatePermissionRequest(input *CreatePermissionInput) (req *req // API operation CreatePermission for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. +// +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * PermissionAlreadyExistsException -// The designated permission has already been given to the user. +// - PermissionAlreadyExistsException +// The designated permission has already been given to the user. // -// * LimitExceededException -// An ACM Private CA quota has been exceeded. See the exception message returned -// to determine the quota that was exceeded. +// - LimitExceededException +// An ACM Private CA quota has been exceeded. See the exception message returned +// to determine the quota that was exceeded. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // -// * RequestFailedException -// The request has failed for an unspecified reason. +// - RequestFailedException +// The request has failed for an unspecified reason. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/CreatePermission func (c *ACMPCA) CreatePermission(input *CreatePermissionInput) (*CreatePermissionOutput, error) { @@ -368,14 +368,13 @@ const opDeleteCertificateAuthority = "DeleteCertificateAuthority" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCertificateAuthorityRequest method. +// req, resp := client.DeleteCertificateAuthorityRequest(params) // -// // Example sending a request using the DeleteCertificateAuthorityRequest method. -// req, resp := client.DeleteCertificateAuthorityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/DeleteCertificateAuthority func (c *ACMPCA) DeleteCertificateAuthorityRequest(input *DeleteCertificateAuthorityInput) (req *request.Request, output *DeleteCertificateAuthorityOutput) { @@ -433,18 +432,19 @@ func (c *ACMPCA) DeleteCertificateAuthorityRequest(input *DeleteCertificateAutho // API operation DeleteCertificateAuthority for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// A previous update to your private CA is still ongoing. // -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. +// - ConcurrentModificationException +// A previous update to your private CA is still ongoing. +// +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/DeleteCertificateAuthority func (c *ACMPCA) DeleteCertificateAuthority(input *DeleteCertificateAuthorityInput) (*DeleteCertificateAuthorityOutput, error) { @@ -484,14 +484,13 @@ const opDeletePermission = "DeletePermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePermissionRequest method. +// req, resp := client.DeletePermissionRequest(params) // -// // Example sending a request using the DeletePermissionRequest method. -// req, resp := client.DeletePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/DeletePermission func (c *ACMPCA) DeletePermissionRequest(input *DeletePermissionInput) (req *request.Request, output *DeletePermissionOutput) { @@ -526,18 +525,18 @@ func (c *ACMPCA) DeletePermissionRequest(input *DeletePermissionInput) (req *req // // About Permissions // -// * If the private CA and the certificates it issues reside in the same -// account, you can use CreatePermission to grant permissions for ACM to -// carry out automatic certificate renewals. +// - If the private CA and the certificates it issues reside in the same +// account, you can use CreatePermission to grant permissions for ACM to +// carry out automatic certificate renewals. // -// * For automatic certificate renewal to succeed, the ACM service principal -// needs permissions to create, retrieve, and list certificates. +// - For automatic certificate renewal to succeed, the ACM service principal +// needs permissions to create, retrieve, and list certificates. // -// * If the private CA and the ACM certificates reside in different accounts, -// then permissions cannot be used to enable automatic renewals. Instead, -// the ACM certificate owner must set up a resource-based policy to enable -// cross-account issuance and renewals. For more information, see Using a -// Resource Based Policy with ACM Private CA (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html). +// - If the private CA and the ACM certificates reside in different accounts, +// then permissions cannot be used to enable automatic renewals. Instead, +// the ACM certificate owner must set up a resource-based policy to enable +// cross-account issuance and renewals. For more information, see Using a +// Resource Based Policy with ACM Private CA (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -547,18 +546,19 @@ func (c *ACMPCA) DeletePermissionRequest(input *DeletePermissionInput) (req *req // API operation DeletePermission for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * RequestFailedException -// The request has failed for an unspecified reason. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. +// +// - RequestFailedException +// The request has failed for an unspecified reason. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/DeletePermission func (c *ACMPCA) DeletePermission(input *DeletePermissionInput) (*DeletePermissionOutput, error) { @@ -598,14 +598,13 @@ const opDeletePolicy = "DeletePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePolicyRequest method. +// req, resp := client.DeletePolicyRequest(params) // -// // Example sending a request using the DeletePolicyRequest method. -// req, resp := client.DeletePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/DeletePolicy func (c *ACMPCA) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Request, output *DeletePolicyOutput) { @@ -643,24 +642,24 @@ func (c *ACMPCA) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Req // // About Policies // -// * A policy grants access on a private CA to an Amazon Web Services customer -// account, to Amazon Web Services Organizations, or to an Amazon Web Services -// Organizations unit. Policies are under the control of a CA administrator. -// For more information, see Using a Resource Based Policy with ACM Private -// CA (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html). +// - A policy grants access on a private CA to an Amazon Web Services customer +// account, to Amazon Web Services Organizations, or to an Amazon Web Services +// Organizations unit. Policies are under the control of a CA administrator. +// For more information, see Using a Resource Based Policy with ACM Private +// CA (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html). // -// * A policy permits a user of Certificate Manager (ACM) to issue ACM certificates -// signed by a CA in another account. +// - A policy permits a user of Certificate Manager (ACM) to issue ACM certificates +// signed by a CA in another account. // -// * For ACM to manage automatic renewal of these certificates, the ACM user -// must configure a Service Linked Role (SLR). The SLR allows the ACM service -// to assume the identity of the user, subject to confirmation against the -// ACM Private CA policy. For more information, see Using a Service Linked -// Role with ACM (https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html). +// - For ACM to manage automatic renewal of these certificates, the ACM user +// must configure a Service Linked Role (SLR). The SLR allows the ACM service +// to assume the identity of the user, subject to confirmation against the +// ACM Private CA policy. For more information, see Using a Service Linked +// Role with ACM (https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html). // -// * Updates made in Amazon Web Services Resource Manager (RAM) are reflected -// in policies. For more information, see Attach a Policy for Cross-Account -// Access (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html). +// - Updates made in Amazon Web Services Resource Manager (RAM) are reflected +// in policies. For more information, see Attach a Policy for Cross-Account +// Access (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -670,26 +669,27 @@ func (c *ACMPCA) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Req // API operation DeletePolicy for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// A previous update to your private CA is still ongoing. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ConcurrentModificationException +// A previous update to your private CA is still ongoing. +// +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // -// * LockoutPreventedException -// The current action was prevented because it would lock the caller out from -// performing subsequent actions. Verify that the specified parameters would -// not result in the caller being denied access to the resource. +// - LockoutPreventedException +// The current action was prevented because it would lock the caller out from +// performing subsequent actions. Verify that the specified parameters would +// not result in the caller being denied access to the resource. // -// * RequestFailedException -// The request has failed for an unspecified reason. +// - RequestFailedException +// The request has failed for an unspecified reason. // -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/DeletePolicy func (c *ACMPCA) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error) { @@ -729,14 +729,13 @@ const opDescribeCertificateAuthority = "DescribeCertificateAuthority" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCertificateAuthorityRequest method. +// req, resp := client.DescribeCertificateAuthorityRequest(params) // -// // Example sending a request using the DescribeCertificateAuthorityRequest method. -// req, resp := client.DescribeCertificateAuthorityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/DescribeCertificateAuthority func (c *ACMPCA) DescribeCertificateAuthorityRequest(input *DescribeCertificateAuthorityInput) (req *request.Request, output *DescribeCertificateAuthorityOutput) { @@ -762,26 +761,26 @@ func (c *ACMPCA) DescribeCertificateAuthorityRequest(input *DescribeCertificateA // (Amazon Resource Name). The output contains the status of your CA. This can // be any of the following: // -// * CREATING - ACM Private CA is creating your private certificate authority. +// - CREATING - ACM Private CA is creating your private certificate authority. // -// * PENDING_CERTIFICATE - The certificate is pending. You must use your -// ACM Private CA-hosted or on-premises root or subordinate CA to sign your -// private CA CSR and then import it into PCA. +// - PENDING_CERTIFICATE - The certificate is pending. You must use your +// ACM Private CA-hosted or on-premises root or subordinate CA to sign your +// private CA CSR and then import it into PCA. // -// * ACTIVE - Your private CA is active. +// - ACTIVE - Your private CA is active. // -// * DISABLED - Your private CA has been disabled. +// - DISABLED - Your private CA has been disabled. // -// * EXPIRED - Your private CA certificate has expired. +// - EXPIRED - Your private CA certificate has expired. // -// * FAILED - Your private CA has failed. Your CA can fail because of problems -// such a network outage or back-end Amazon Web Services failure or other -// errors. A failed CA can never return to the pending state. You must create -// a new CA. +// - FAILED - Your private CA has failed. Your CA can fail because of problems +// such a network outage or back-end Amazon Web Services failure or other +// errors. A failed CA can never return to the pending state. You must create +// a new CA. // -// * DELETED - Your private CA is within the restoration period, after which -// it is permanently deleted. The length of time remaining in the CA's restoration -// period is also included in this action's output. +// - DELETED - Your private CA is within the restoration period, after which +// it is permanently deleted. The length of time remaining in the CA's restoration +// period is also included in this action's output. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -791,12 +790,13 @@ func (c *ACMPCA) DescribeCertificateAuthorityRequest(input *DescribeCertificateA // API operation DescribeCertificateAuthority for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. +// +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/DescribeCertificateAuthority func (c *ACMPCA) DescribeCertificateAuthority(input *DescribeCertificateAuthorityInput) (*DescribeCertificateAuthorityOutput, error) { @@ -836,14 +836,13 @@ const opDescribeCertificateAuthorityAuditReport = "DescribeCertificateAuthorityA // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCertificateAuthorityAuditReportRequest method. +// req, resp := client.DescribeCertificateAuthorityAuditReportRequest(params) // -// // Example sending a request using the DescribeCertificateAuthorityAuditReportRequest method. -// req, resp := client.DescribeCertificateAuthorityAuditReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/DescribeCertificateAuthorityAuditReport func (c *ACMPCA) DescribeCertificateAuthorityAuditReportRequest(input *DescribeCertificateAuthorityAuditReportInput) (req *request.Request, output *DescribeCertificateAuthorityAuditReportOutput) { @@ -880,15 +879,16 @@ func (c *ACMPCA) DescribeCertificateAuthorityAuditReportRequest(input *DescribeC // API operation DescribeCertificateAuthorityAuditReport for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // -// * InvalidArgsException -// One or more of the specified arguments was not valid. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// +// - InvalidArgsException +// One or more of the specified arguments was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/DescribeCertificateAuthorityAuditReport func (c *ACMPCA) DescribeCertificateAuthorityAuditReport(input *DescribeCertificateAuthorityAuditReportInput) (*DescribeCertificateAuthorityAuditReportOutput, error) { @@ -928,14 +928,13 @@ const opGetCertificate = "GetCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCertificateRequest method. +// req, resp := client.GetCertificateRequest(params) // -// // Example sending a request using the GetCertificateRequest method. -// req, resp := client.GetCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/GetCertificate func (c *ACMPCA) GetCertificateRequest(input *GetCertificateInput) (req *request.Request, output *GetCertificateOutput) { @@ -974,21 +973,22 @@ func (c *ACMPCA) GetCertificateRequest(input *GetCertificateInput) (req *request // API operation GetCertificate for usage and error information. // // Returned Error Types: -// * RequestInProgressException -// Your request is already in progress. // -// * RequestFailedException -// The request has failed for an unspecified reason. +// - RequestInProgressException +// Your request is already in progress. +// +// - RequestFailedException +// The request has failed for an unspecified reason. // -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/GetCertificate func (c *ACMPCA) GetCertificate(input *GetCertificateInput) (*GetCertificateOutput, error) { @@ -1028,14 +1028,13 @@ const opGetCertificateAuthorityCertificate = "GetCertificateAuthorityCertificate // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCertificateAuthorityCertificateRequest method. +// req, resp := client.GetCertificateAuthorityCertificateRequest(params) // -// // Example sending a request using the GetCertificateAuthorityCertificateRequest method. -// req, resp := client.GetCertificateAuthorityCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/GetCertificateAuthorityCertificate func (c *ACMPCA) GetCertificateAuthorityCertificateRequest(input *GetCertificateAuthorityCertificateInput) (req *request.Request, output *GetCertificateAuthorityCertificateOutput) { @@ -1069,15 +1068,16 @@ func (c *ACMPCA) GetCertificateAuthorityCertificateRequest(input *GetCertificate // API operation GetCertificateAuthorityCertificate for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. +// +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/GetCertificateAuthorityCertificate func (c *ACMPCA) GetCertificateAuthorityCertificate(input *GetCertificateAuthorityCertificateInput) (*GetCertificateAuthorityCertificateOutput, error) { @@ -1117,14 +1117,13 @@ const opGetCertificateAuthorityCsr = "GetCertificateAuthorityCsr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCertificateAuthorityCsrRequest method. +// req, resp := client.GetCertificateAuthorityCsrRequest(params) // -// // Example sending a request using the GetCertificateAuthorityCsrRequest method. -// req, resp := client.GetCertificateAuthorityCsrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/GetCertificateAuthorityCsr func (c *ACMPCA) GetCertificateAuthorityCsrRequest(input *GetCertificateAuthorityCsrInput) (req *request.Request, output *GetCertificateAuthorityCsrOutput) { @@ -1161,21 +1160,22 @@ func (c *ACMPCA) GetCertificateAuthorityCsrRequest(input *GetCertificateAuthorit // API operation GetCertificateAuthorityCsr for usage and error information. // // Returned Error Types: -// * RequestInProgressException -// Your request is already in progress. // -// * RequestFailedException -// The request has failed for an unspecified reason. +// - RequestInProgressException +// Your request is already in progress. // -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. +// - RequestFailedException +// The request has failed for an unspecified reason. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/GetCertificateAuthorityCsr func (c *ACMPCA) GetCertificateAuthorityCsr(input *GetCertificateAuthorityCsrInput) (*GetCertificateAuthorityCsrOutput, error) { @@ -1215,14 +1215,13 @@ const opGetPolicy = "GetPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPolicyRequest method. +// req, resp := client.GetPolicyRequest(params) // -// // Example sending a request using the GetPolicyRequest method. -// req, resp := client.GetPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/GetPolicy func (c *ACMPCA) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput) { @@ -1252,24 +1251,24 @@ func (c *ACMPCA) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, // // About Policies // -// * A policy grants access on a private CA to an Amazon Web Services customer -// account, to Amazon Web Services Organizations, or to an Amazon Web Services -// Organizations unit. Policies are under the control of a CA administrator. -// For more information, see Using a Resource Based Policy with ACM Private -// CA (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html). +// - A policy grants access on a private CA to an Amazon Web Services customer +// account, to Amazon Web Services Organizations, or to an Amazon Web Services +// Organizations unit. Policies are under the control of a CA administrator. +// For more information, see Using a Resource Based Policy with ACM Private +// CA (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html). // -// * A policy permits a user of Certificate Manager (ACM) to issue ACM certificates -// signed by a CA in another account. +// - A policy permits a user of Certificate Manager (ACM) to issue ACM certificates +// signed by a CA in another account. // -// * For ACM to manage automatic renewal of these certificates, the ACM user -// must configure a Service Linked Role (SLR). The SLR allows the ACM service -// to assume the identity of the user, subject to confirmation against the -// ACM Private CA policy. For more information, see Using a Service Linked -// Role with ACM (https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html). +// - For ACM to manage automatic renewal of these certificates, the ACM user +// must configure a Service Linked Role (SLR). The SLR allows the ACM service +// to assume the identity of the user, subject to confirmation against the +// ACM Private CA policy. For more information, see Using a Service Linked +// Role with ACM (https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html). // -// * Updates made in Amazon Web Services Resource Manager (RAM) are reflected -// in policies. For more information, see Attach a Policy for Cross-Account -// Access (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html). +// - Updates made in Amazon Web Services Resource Manager (RAM) are reflected +// in policies. For more information, see Attach a Policy for Cross-Account +// Access (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1279,18 +1278,19 @@ func (c *ACMPCA) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, // API operation GetPolicy for usage and error information. // // Returned Error Types: -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // -// * RequestFailedException -// The request has failed for an unspecified reason. +// - RequestFailedException +// The request has failed for an unspecified reason. // -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/GetPolicy func (c *ACMPCA) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error) { @@ -1330,14 +1330,13 @@ const opImportCertificateAuthorityCertificate = "ImportCertificateAuthorityCerti // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportCertificateAuthorityCertificateRequest method. +// req, resp := client.ImportCertificateAuthorityCertificateRequest(params) // -// // Example sending a request using the ImportCertificateAuthorityCertificateRequest method. -// req, resp := client.ImportCertificateAuthorityCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ImportCertificateAuthorityCertificate func (c *ACMPCA) ImportCertificateAuthorityCertificateRequest(input *ImportCertificateAuthorityCertificateInput) (req *request.Request, output *ImportCertificateAuthorityCertificateOutput) { @@ -1378,77 +1377,77 @@ func (c *ACMPCA) ImportCertificateAuthorityCertificateRequest(input *ImportCerti // // ACM Private CA supports three scenarios for installing a CA certificate: // -// * Installing a certificate for a root CA hosted by ACM Private CA. +// - Installing a certificate for a root CA hosted by ACM Private CA. // -// * Installing a subordinate CA certificate whose parent authority is hosted -// by ACM Private CA. +// - Installing a subordinate CA certificate whose parent authority is hosted +// by ACM Private CA. // -// * Installing a subordinate CA certificate whose parent authority is externally -// hosted. +// - Installing a subordinate CA certificate whose parent authority is externally +// hosted. // // The following additional requirements apply when you import a CA certificate. // -// * Only a self-signed certificate can be imported as a root CA. +// - Only a self-signed certificate can be imported as a root CA. // -// * A self-signed certificate cannot be imported as a subordinate CA. +// - A self-signed certificate cannot be imported as a subordinate CA. // -// * Your certificate chain must not include the private CA certificate that -// you are importing. +// - Your certificate chain must not include the private CA certificate that +// you are importing. // -// * Your root CA must be the last certificate in your chain. The subordinate -// certificate, if any, that your root CA signed must be next to last. The -// subordinate certificate signed by the preceding subordinate CA must come -// next, and so on until your chain is built. +// - Your root CA must be the last certificate in your chain. The subordinate +// certificate, if any, that your root CA signed must be next to last. The +// subordinate certificate signed by the preceding subordinate CA must come +// next, and so on until your chain is built. // -// * The chain must be PEM-encoded. +// - The chain must be PEM-encoded. // -// * The maximum allowed size of a certificate is 32 KB. +// - The maximum allowed size of a certificate is 32 KB. // -// * The maximum allowed size of a certificate chain is 2 MB. +// - The maximum allowed size of a certificate chain is 2 MB. // -// Enforcement of Critical Constraints +// # Enforcement of Critical Constraints // // ACM Private CA allows the following extensions to be marked critical in the // imported CA certificate or chain. // -// * Basic constraints (must be marked critical) +// - Basic constraints (must be marked critical) // -// * Subject alternative names +// - Subject alternative names // -// * Key usage +// - Key usage // -// * Extended key usage +// - Extended key usage // -// * Authority key identifier +// - Authority key identifier // -// * Subject key identifier +// - Subject key identifier // -// * Issuer alternative name +// - Issuer alternative name // -// * Subject directory attributes +// - Subject directory attributes // -// * Subject information access +// - Subject information access // -// * Certificate policies +// - Certificate policies // -// * Policy mappings +// - Policy mappings // -// * Inhibit anyPolicy +// - Inhibit anyPolicy // // ACM Private CA rejects the following extensions when they are marked critical // in an imported CA certificate or chain. // -// * Name constraints +// - Name constraints // -// * Policy constraints +// - Policy constraints // -// * CRL distribution points +// - CRL distribution points // -// * Authority information access +// - Authority information access // -// * Freshest CRL +// - Freshest CRL // -// * Any other extension +// - Any other extension // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1458,34 +1457,35 @@ func (c *ACMPCA) ImportCertificateAuthorityCertificateRequest(input *ImportCerti // API operation ImportCertificateAuthorityCertificate for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// A previous update to your private CA is still ongoing. // -// * RequestInProgressException -// Your request is already in progress. +// - ConcurrentModificationException +// A previous update to your private CA is still ongoing. +// +// - RequestInProgressException +// Your request is already in progress. // -// * RequestFailedException -// The request has failed for an unspecified reason. +// - RequestFailedException +// The request has failed for an unspecified reason. // -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * InvalidRequestException -// The request action cannot be performed or is prohibited. +// - InvalidRequestException +// The request action cannot be performed or is prohibited. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // -// * MalformedCertificateException -// One or more fields in the certificate are invalid. +// - MalformedCertificateException +// One or more fields in the certificate are invalid. // -// * CertificateMismatchException -// The certificate authority certificate you are importing does not comply with -// conditions specified in the certificate that signed it. +// - CertificateMismatchException +// The certificate authority certificate you are importing does not comply with +// conditions specified in the certificate that signed it. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ImportCertificateAuthorityCertificate func (c *ACMPCA) ImportCertificateAuthorityCertificate(input *ImportCertificateAuthorityCertificateInput) (*ImportCertificateAuthorityCertificateOutput, error) { @@ -1525,14 +1525,13 @@ const opIssueCertificate = "IssueCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the IssueCertificateRequest method. +// req, resp := client.IssueCertificateRequest(params) // -// // Example sending a request using the IssueCertificateRequest method. -// req, resp := client.IssueCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/IssueCertificate func (c *ACMPCA) IssueCertificateRequest(input *IssueCertificateInput) (req *request.Request, output *IssueCertificateOutput) { @@ -1570,25 +1569,26 @@ func (c *ACMPCA) IssueCertificateRequest(input *IssueCertificateInput) (req *req // API operation IssueCertificate for usage and error information. // // Returned Error Types: -// * LimitExceededException -// An ACM Private CA quota has been exceeded. See the exception message returned -// to determine the quota that was exceeded. // -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. +// - LimitExceededException +// An ACM Private CA quota has been exceeded. See the exception message returned +// to determine the quota that was exceeded. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // -// * InvalidArgsException -// One or more of the specified arguments was not valid. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * MalformedCSRException -// The certificate signing request is invalid. +// - InvalidArgsException +// One or more of the specified arguments was not valid. +// +// - MalformedCSRException +// The certificate signing request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/IssueCertificate func (c *ACMPCA) IssueCertificate(input *IssueCertificateInput) (*IssueCertificateOutput, error) { @@ -1628,14 +1628,13 @@ const opListCertificateAuthorities = "ListCertificateAuthorities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCertificateAuthoritiesRequest method. +// req, resp := client.ListCertificateAuthoritiesRequest(params) // -// // Example sending a request using the ListCertificateAuthoritiesRequest method. -// req, resp := client.ListCertificateAuthoritiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListCertificateAuthorities func (c *ACMPCA) ListCertificateAuthoritiesRequest(input *ListCertificateAuthoritiesInput) (req *request.Request, output *ListCertificateAuthoritiesOutput) { @@ -1674,9 +1673,9 @@ func (c *ACMPCA) ListCertificateAuthoritiesRequest(input *ListCertificateAuthori // API operation ListCertificateAuthorities for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The token specified in the NextToken argument is not valid. Use the token -// returned from your previous call to ListCertificateAuthorities (https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListCertificateAuthorities.html). +// - InvalidNextTokenException +// The token specified in the NextToken argument is not valid. Use the token +// returned from your previous call to ListCertificateAuthorities (https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListCertificateAuthorities.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListCertificateAuthorities func (c *ACMPCA) ListCertificateAuthorities(input *ListCertificateAuthoritiesInput) (*ListCertificateAuthoritiesOutput, error) { @@ -1708,15 +1707,14 @@ func (c *ACMPCA) ListCertificateAuthoritiesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCertificateAuthorities operation. -// pageNum := 0 -// err := client.ListCertificateAuthoritiesPages(params, -// func(page *acmpca.ListCertificateAuthoritiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCertificateAuthorities operation. +// pageNum := 0 +// err := client.ListCertificateAuthoritiesPages(params, +// func(page *acmpca.ListCertificateAuthoritiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ACMPCA) ListCertificateAuthoritiesPages(input *ListCertificateAuthoritiesInput, fn func(*ListCertificateAuthoritiesOutput, bool) bool) error { return c.ListCertificateAuthoritiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1768,14 +1766,13 @@ const opListPermissions = "ListPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPermissionsRequest method. +// req, resp := client.ListPermissionsRequest(params) // -// // Example sending a request using the ListPermissionsRequest method. -// req, resp := client.ListPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListPermissions func (c *ACMPCA) ListPermissionsRequest(input *ListPermissionsInput) (req *request.Request, output *ListPermissionsOutput) { @@ -1814,18 +1811,18 @@ func (c *ACMPCA) ListPermissionsRequest(input *ListPermissionsInput) (req *reque // // About Permissions // -// * If the private CA and the certificates it issues reside in the same -// account, you can use CreatePermission to grant permissions for ACM to -// carry out automatic certificate renewals. +// - If the private CA and the certificates it issues reside in the same +// account, you can use CreatePermission to grant permissions for ACM to +// carry out automatic certificate renewals. // -// * For automatic certificate renewal to succeed, the ACM service principal -// needs permissions to create, retrieve, and list certificates. +// - For automatic certificate renewal to succeed, the ACM service principal +// needs permissions to create, retrieve, and list certificates. // -// * If the private CA and the ACM certificates reside in different accounts, -// then permissions cannot be used to enable automatic renewals. Instead, -// the ACM certificate owner must set up a resource-based policy to enable -// cross-account issuance and renewals. For more information, see Using a -// Resource Based Policy with ACM Private CA (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html). +// - If the private CA and the ACM certificates reside in different accounts, +// then permissions cannot be used to enable automatic renewals. Instead, +// the ACM certificate owner must set up a resource-based policy to enable +// cross-account issuance and renewals. For more information, see Using a +// Resource Based Policy with ACM Private CA (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1835,22 +1832,23 @@ func (c *ACMPCA) ListPermissionsRequest(input *ListPermissionsInput) (req *reque // API operation ListPermissions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. +// +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * InvalidNextTokenException -// The token specified in the NextToken argument is not valid. Use the token -// returned from your previous call to ListCertificateAuthorities (https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListCertificateAuthorities.html). +// - InvalidNextTokenException +// The token specified in the NextToken argument is not valid. Use the token +// returned from your previous call to ListCertificateAuthorities (https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListCertificateAuthorities.html). // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // -// * RequestFailedException -// The request has failed for an unspecified reason. +// - RequestFailedException +// The request has failed for an unspecified reason. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListPermissions func (c *ACMPCA) ListPermissions(input *ListPermissionsInput) (*ListPermissionsOutput, error) { @@ -1882,15 +1880,14 @@ func (c *ACMPCA) ListPermissionsWithContext(ctx aws.Context, input *ListPermissi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPermissions operation. -// pageNum := 0 -// err := client.ListPermissionsPages(params, -// func(page *acmpca.ListPermissionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPermissions operation. +// pageNum := 0 +// err := client.ListPermissionsPages(params, +// func(page *acmpca.ListPermissionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ACMPCA) ListPermissionsPages(input *ListPermissionsInput, fn func(*ListPermissionsOutput, bool) bool) error { return c.ListPermissionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1942,14 +1939,13 @@ const opListTags = "ListTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsRequest method. +// req, resp := client.ListTagsRequest(params) // -// // Example sending a request using the ListTagsRequest method. -// req, resp := client.ListTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListTags func (c *ACMPCA) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { @@ -1992,15 +1988,16 @@ func (c *ACMPCA) ListTagsRequest(input *ListTagsInput) (req *request.Request, ou // API operation ListTags for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. +// +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListTags func (c *ACMPCA) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { @@ -2032,15 +2029,14 @@ func (c *ACMPCA) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTags operation. -// pageNum := 0 -// err := client.ListTagsPages(params, -// func(page *acmpca.ListTagsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTags operation. +// pageNum := 0 +// err := client.ListTagsPages(params, +// func(page *acmpca.ListTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ACMPCA) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error { return c.ListTagsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2092,14 +2088,13 @@ const opPutPolicy = "PutPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPolicyRequest method. +// req, resp := client.PutPolicyRequest(params) // -// // Example sending a request using the PutPolicyRequest method. -// req, resp := client.PutPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/PutPolicy func (c *ACMPCA) PutPolicyRequest(input *PutPolicyInput) (req *request.Request, output *PutPolicyOutput) { @@ -2132,24 +2127,24 @@ func (c *ACMPCA) PutPolicyRequest(input *PutPolicyInput) (req *request.Request, // // About Policies // -// * A policy grants access on a private CA to an Amazon Web Services customer -// account, to Amazon Web Services Organizations, or to an Amazon Web Services -// Organizations unit. Policies are under the control of a CA administrator. -// For more information, see Using a Resource Based Policy with ACM Private -// CA (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html). +// - A policy grants access on a private CA to an Amazon Web Services customer +// account, to Amazon Web Services Organizations, or to an Amazon Web Services +// Organizations unit. Policies are under the control of a CA administrator. +// For more information, see Using a Resource Based Policy with ACM Private +// CA (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-rbp.html). // -// * A policy permits a user of Certificate Manager (ACM) to issue ACM certificates -// signed by a CA in another account. +// - A policy permits a user of Certificate Manager (ACM) to issue ACM certificates +// signed by a CA in another account. // -// * For ACM to manage automatic renewal of these certificates, the ACM user -// must configure a Service Linked Role (SLR). The SLR allows the ACM service -// to assume the identity of the user, subject to confirmation against the -// ACM Private CA policy. For more information, see Using a Service Linked -// Role with ACM (https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html). +// - For ACM to manage automatic renewal of these certificates, the ACM user +// must configure a Service Linked Role (SLR). The SLR allows the ACM service +// to assume the identity of the user, subject to confirmation against the +// ACM Private CA policy. For more information, see Using a Service Linked +// Role with ACM (https://docs.aws.amazon.com/acm/latest/userguide/acm-slr.html). // -// * Updates made in Amazon Web Services Resource Manager (RAM) are reflected -// in policies. For more information, see Attach a Policy for Cross-Account -// Access (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html). +// - Updates made in Amazon Web Services Resource Manager (RAM) are reflected +// in policies. For more information, see Attach a Policy for Cross-Account +// Access (https://docs.aws.amazon.com/acm-pca/latest/userguide/pca-ram.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2159,31 +2154,32 @@ func (c *ACMPCA) PutPolicyRequest(input *PutPolicyInput) (req *request.Request, // API operation PutPolicy for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// A previous update to your private CA is still ongoing. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ConcurrentModificationException +// A previous update to your private CA is still ongoing. +// +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // -// * InvalidPolicyException -// The resource policy is invalid or is missing a required statement. For general -// information about IAM policy and statement structure, see Overview of JSON -// Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json). +// - InvalidPolicyException +// The resource policy is invalid or is missing a required statement. For general +// information about IAM policy and statement structure, see Overview of JSON +// Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json). // -// * LockoutPreventedException -// The current action was prevented because it would lock the caller out from -// performing subsequent actions. Verify that the specified parameters would -// not result in the caller being denied access to the resource. +// - LockoutPreventedException +// The current action was prevented because it would lock the caller out from +// performing subsequent actions. Verify that the specified parameters would +// not result in the caller being denied access to the resource. // -// * RequestFailedException -// The request has failed for an unspecified reason. +// - RequestFailedException +// The request has failed for an unspecified reason. // -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/PutPolicy func (c *ACMPCA) PutPolicy(input *PutPolicyInput) (*PutPolicyOutput, error) { @@ -2223,14 +2219,13 @@ const opRestoreCertificateAuthority = "RestoreCertificateAuthority" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreCertificateAuthorityRequest method. +// req, resp := client.RestoreCertificateAuthorityRequest(params) // -// // Example sending a request using the RestoreCertificateAuthorityRequest method. -// req, resp := client.RestoreCertificateAuthorityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/RestoreCertificateAuthority func (c *ACMPCA) RestoreCertificateAuthorityRequest(input *RestoreCertificateAuthorityInput) (req *request.Request, output *RestoreCertificateAuthorityOutput) { @@ -2277,15 +2272,16 @@ func (c *ACMPCA) RestoreCertificateAuthorityRequest(input *RestoreCertificateAut // API operation RestoreCertificateAuthority for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. +// +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/RestoreCertificateAuthority func (c *ACMPCA) RestoreCertificateAuthority(input *RestoreCertificateAuthorityInput) (*RestoreCertificateAuthorityOutput, error) { @@ -2325,14 +2321,13 @@ const opRevokeCertificate = "RevokeCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeCertificateRequest method. +// req, resp := client.RevokeCertificateRequest(params) // -// // Example sending a request using the RevokeCertificateRequest method. -// req, resp := client.RevokeCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/RevokeCertificate func (c *ACMPCA) RevokeCertificateRequest(input *RevokeCertificateInput) (req *request.Request, output *RevokeCertificateOutput) { @@ -2382,34 +2377,35 @@ func (c *ACMPCA) RevokeCertificateRequest(input *RevokeCertificateInput) (req *r // API operation RevokeCertificate for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// A previous update to your private CA is still ongoing. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ConcurrentModificationException +// A previous update to your private CA is still ongoing. +// +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * InvalidRequestException -// The request action cannot be performed or is prohibited. +// - InvalidRequestException +// The request action cannot be performed or is prohibited. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // -// * LimitExceededException -// An ACM Private CA quota has been exceeded. See the exception message returned -// to determine the quota that was exceeded. +// - LimitExceededException +// An ACM Private CA quota has been exceeded. See the exception message returned +// to determine the quota that was exceeded. // -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // -// * RequestAlreadyProcessedException -// Your request has already been completed. +// - RequestAlreadyProcessedException +// Your request has already been completed. // -// * RequestInProgressException -// Your request is already in progress. +// - RequestInProgressException +// Your request is already in progress. // -// * RequestFailedException -// The request has failed for an unspecified reason. +// - RequestFailedException +// The request has failed for an unspecified reason. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/RevokeCertificate func (c *ACMPCA) RevokeCertificate(input *RevokeCertificateInput) (*RevokeCertificateOutput, error) { @@ -2449,14 +2445,13 @@ const opTagCertificateAuthority = "TagCertificateAuthority" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagCertificateAuthorityRequest method. +// req, resp := client.TagCertificateAuthorityRequest(params) // -// // Example sending a request using the TagCertificateAuthorityRequest method. -// req, resp := client.TagCertificateAuthorityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/TagCertificateAuthority func (c *ACMPCA) TagCertificateAuthorityRequest(input *TagCertificateAuthorityInput) (req *request.Request, output *TagCertificateAuthorityOutput) { @@ -2497,23 +2492,24 @@ func (c *ACMPCA) TagCertificateAuthorityRequest(input *TagCertificateAuthorityIn // API operation TagCertificateAuthority for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. +// +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // -// * InvalidTagException -// The tag associated with the CA is not valid. The invalid argument is contained -// in the message field. +// - InvalidTagException +// The tag associated with the CA is not valid. The invalid argument is contained +// in the message field. // -// * TooManyTagsException -// You can associate up to 50 tags with a private CA. Exception information -// is contained in the exception message field. +// - TooManyTagsException +// You can associate up to 50 tags with a private CA. Exception information +// is contained in the exception message field. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/TagCertificateAuthority func (c *ACMPCA) TagCertificateAuthority(input *TagCertificateAuthorityInput) (*TagCertificateAuthorityOutput, error) { @@ -2553,14 +2549,13 @@ const opUntagCertificateAuthority = "UntagCertificateAuthority" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagCertificateAuthorityRequest method. +// req, resp := client.UntagCertificateAuthorityRequest(params) // -// // Example sending a request using the UntagCertificateAuthorityRequest method. -// req, resp := client.UntagCertificateAuthorityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/UntagCertificateAuthority func (c *ACMPCA) UntagCertificateAuthorityRequest(input *UntagCertificateAuthorityInput) (req *request.Request, output *UntagCertificateAuthorityOutput) { @@ -2598,19 +2593,20 @@ func (c *ACMPCA) UntagCertificateAuthorityRequest(input *UntagCertificateAuthori // API operation UntagCertificateAuthority for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * InvalidTagException -// The tag associated with the CA is not valid. The invalid argument is contained -// in the message field. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. +// +// - InvalidTagException +// The tag associated with the CA is not valid. The invalid argument is contained +// in the message field. // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/UntagCertificateAuthority func (c *ACMPCA) UntagCertificateAuthority(input *UntagCertificateAuthorityInput) (*UntagCertificateAuthorityOutput, error) { @@ -2650,14 +2646,13 @@ const opUpdateCertificateAuthority = "UpdateCertificateAuthority" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCertificateAuthorityRequest method. +// req, resp := client.UpdateCertificateAuthorityRequest(params) // -// // Example sending a request using the UpdateCertificateAuthorityRequest method. -// req, resp := client.UpdateCertificateAuthorityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/UpdateCertificateAuthority func (c *ACMPCA) UpdateCertificateAuthorityRequest(input *UpdateCertificateAuthorityInput) (req *request.Request, output *UpdateCertificateAuthorityOutput) { @@ -2697,26 +2692,27 @@ func (c *ACMPCA) UpdateCertificateAuthorityRequest(input *UpdateCertificateAutho // API operation UpdateCertificateAuthority for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// A previous update to your private CA is still ongoing. // -// * ResourceNotFoundException -// A resource such as a private CA, S3 bucket, certificate, audit report, or -// policy cannot be found. +// - ConcurrentModificationException +// A previous update to your private CA is still ongoing. +// +// - ResourceNotFoundException +// A resource such as a private CA, S3 bucket, certificate, audit report, or +// policy cannot be found. // -// * InvalidArgsException -// One or more of the specified arguments was not valid. +// - InvalidArgsException +// One or more of the specified arguments was not valid. // -// * InvalidArnException -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - InvalidArnException +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // -// * InvalidStateException -// The state of the private CA does not allow this action to occur. +// - InvalidStateException +// The state of the private CA does not allow this action to occur. // -// * InvalidPolicyException -// The resource policy is invalid or is missing a required statement. For general -// information about IAM policy and statement structure, see Overview of JSON -// Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json). +// - InvalidPolicyException +// The resource policy is invalid or is missing a required statement. For general +// information about IAM policy and statement structure, see Overview of JSON +// Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json). // // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/UpdateCertificateAuthority func (c *ACMPCA) UpdateCertificateAuthority(input *UpdateCertificateAuthorityInput) (*UpdateCertificateAuthorityOutput, error) { @@ -3986,32 +3982,32 @@ func (s CreatePermissionOutput) GoString() string { // // CRLs contain the following fields: // -// * Version: The current version number defined in RFC 5280 is V2. The integer -// value is 0x1. +// - Version: The current version number defined in RFC 5280 is V2. The integer +// value is 0x1. // -// * Signature Algorithm: The name of the algorithm used to sign the CRL. +// - Signature Algorithm: The name of the algorithm used to sign the CRL. // -// * Issuer: The X.500 distinguished name of your private CA that issued -// the CRL. +// - Issuer: The X.500 distinguished name of your private CA that issued +// the CRL. // -// * Last Update: The issue date and time of this CRL. +// - Last Update: The issue date and time of this CRL. // -// * Next Update: The day and time by which the next CRL will be issued. +// - Next Update: The day and time by which the next CRL will be issued. // -// * Revoked Certificates: List of revoked certificates. Each list item contains -// the following information. Serial Number: The serial number, in hexadecimal -// format, of the revoked certificate. Revocation Date: Date and time the -// certificate was revoked. CRL Entry Extensions: Optional extensions for -// the CRL entry. X509v3 CRL Reason Code: Reason the certificate was revoked. +// - Revoked Certificates: List of revoked certificates. Each list item contains +// the following information. Serial Number: The serial number, in hexadecimal +// format, of the revoked certificate. Revocation Date: Date and time the +// certificate was revoked. CRL Entry Extensions: Optional extensions for +// the CRL entry. X509v3 CRL Reason Code: Reason the certificate was revoked. // -// * CRL Extensions: Optional extensions for the CRL. X509v3 Authority Key -// Identifier: Identifies the public key associated with the private key -// used to sign the certificate. X509v3 CRL Number:: Decimal sequence number -// for the CRL. +// - CRL Extensions: Optional extensions for the CRL. X509v3 Authority Key +// Identifier: Identifies the public key associated with the private key +// used to sign the certificate. X509v3 CRL Number:: Decimal sequence number +// for the CRL. // -// * Signature Algorithm: Algorithm used by your private CA to sign the CRL. +// - Signature Algorithm: Algorithm used by your private CA to sign the CRL. // -// * Signature Value: Signature computed over the CRL. +// - Signature Value: Signature computed over the CRL. // // Certificate revocation lists created by ACM Private CA are DER-encoded. You // can use the following OpenSSL command to list a CRL. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/doc.go index 90fc09218805..261e71a2b857 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/doc.go @@ -30,7 +30,7 @@ // See acmpca package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/acmpca/ // -// Using the Client +// # Using the Client // // To contact AWS Certificate Manager Private Certificate Authority with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/service.go index 7a944f673c99..181bd366a314 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/acmpca/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ACMPCA client from just a session. -// svc := acmpca.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ACMPCA client with additional configuration -// svc := acmpca.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ACMPCA client from just a session. +// svc := acmpca.New(mySession) +// +// // Create a ACMPCA client with additional configuration +// svc := acmpca.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ACMPCA { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/alexaforbusinessiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/alexaforbusinessiface/interface.go index b6fa263476c3..914213335d36 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/alexaforbusinessiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/alexaforbusinessiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Alexa For Business. -// func myFunc(svc alexaforbusinessiface.AlexaForBusinessAPI) bool { -// // Make svc.ApproveSkill request -// } +// // myFunc uses an SDK service client to make a request to +// // Alexa For Business. +// func myFunc(svc alexaforbusinessiface.AlexaForBusinessAPI) bool { +// // Make svc.ApproveSkill request +// } // -// func main() { -// sess := session.New() -// svc := alexaforbusiness.New(sess) +// func main() { +// sess := session.New() +// svc := alexaforbusiness.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAlexaForBusinessClient struct { -// alexaforbusinessiface.AlexaForBusinessAPI -// } -// func (m *mockAlexaForBusinessClient) ApproveSkill(input *alexaforbusiness.ApproveSkillInput) (*alexaforbusiness.ApproveSkillOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAlexaForBusinessClient struct { +// alexaforbusinessiface.AlexaForBusinessAPI +// } +// func (m *mockAlexaForBusinessClient) ApproveSkill(input *alexaforbusiness.ApproveSkillInput) (*alexaforbusiness.ApproveSkillOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAlexaForBusinessClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAlexaForBusinessClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/api.go index a7b55ed2e036..a0c50c8cf25a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/api.go @@ -29,14 +29,13 @@ const opApproveSkill = "ApproveSkill" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ApproveSkillRequest method. +// req, resp := client.ApproveSkillRequest(params) // -// // Example sending a request using the ApproveSkillRequest method. -// req, resp := client.ApproveSkillRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ApproveSkill func (c *AlexaForBusiness) ApproveSkillRequest(input *ApproveSkillInput) (req *request.Request, output *ApproveSkillOutput) { @@ -70,14 +69,15 @@ func (c *AlexaForBusiness) ApproveSkillRequest(input *ApproveSkillInput) (req *r // API operation ApproveSkill for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You are performing an action that would put you beyond your account's limits. // -// * NotFoundException -// The resource is not found. +// - LimitExceededException +// You are performing an action that would put you beyond your account's limits. +// +// - NotFoundException +// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ApproveSkill func (c *AlexaForBusiness) ApproveSkill(input *ApproveSkillInput) (*ApproveSkillOutput, error) { @@ -117,14 +117,13 @@ const opAssociateContactWithAddressBook = "AssociateContactWithAddressBook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateContactWithAddressBookRequest method. +// req, resp := client.AssociateContactWithAddressBookRequest(params) // -// // Example sending a request using the AssociateContactWithAddressBookRequest method. -// req, resp := client.AssociateContactWithAddressBookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateContactWithAddressBook func (c *AlexaForBusiness) AssociateContactWithAddressBookRequest(input *AssociateContactWithAddressBookInput) (req *request.Request, output *AssociateContactWithAddressBookOutput) { @@ -156,8 +155,8 @@ func (c *AlexaForBusiness) AssociateContactWithAddressBookRequest(input *Associa // API operation AssociateContactWithAddressBook for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You are performing an action that would put you beyond your account's limits. +// - LimitExceededException +// You are performing an action that would put you beyond your account's limits. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateContactWithAddressBook func (c *AlexaForBusiness) AssociateContactWithAddressBook(input *AssociateContactWithAddressBookInput) (*AssociateContactWithAddressBookOutput, error) { @@ -197,14 +196,13 @@ const opAssociateDeviceWithNetworkProfile = "AssociateDeviceWithNetworkProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateDeviceWithNetworkProfileRequest method. +// req, resp := client.AssociateDeviceWithNetworkProfileRequest(params) // -// // Example sending a request using the AssociateDeviceWithNetworkProfileRequest method. -// req, resp := client.AssociateDeviceWithNetworkProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateDeviceWithNetworkProfile func (c *AlexaForBusiness) AssociateDeviceWithNetworkProfileRequest(input *AssociateDeviceWithNetworkProfileInput) (req *request.Request, output *AssociateDeviceWithNetworkProfileOutput) { @@ -236,15 +234,16 @@ func (c *AlexaForBusiness) AssociateDeviceWithNetworkProfileRequest(input *Assoc // API operation AssociateDeviceWithNetworkProfile for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - NotFoundException +// The resource is not found. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // -// * DeviceNotRegisteredException -// The request failed because this device is no longer registered and therefore -// no longer managed by this account. +// - DeviceNotRegisteredException +// The request failed because this device is no longer registered and therefore +// no longer managed by this account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateDeviceWithNetworkProfile func (c *AlexaForBusiness) AssociateDeviceWithNetworkProfile(input *AssociateDeviceWithNetworkProfileInput) (*AssociateDeviceWithNetworkProfileOutput, error) { @@ -284,14 +283,13 @@ const opAssociateDeviceWithRoom = "AssociateDeviceWithRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateDeviceWithRoomRequest method. +// req, resp := client.AssociateDeviceWithRoomRequest(params) // -// // Example sending a request using the AssociateDeviceWithRoomRequest method. -// req, resp := client.AssociateDeviceWithRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateDeviceWithRoom func (c *AlexaForBusiness) AssociateDeviceWithRoomRequest(input *AssociateDeviceWithRoomInput) (req *request.Request, output *AssociateDeviceWithRoomOutput) { @@ -326,15 +324,16 @@ func (c *AlexaForBusiness) AssociateDeviceWithRoomRequest(input *AssociateDevice // API operation AssociateDeviceWithRoom for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You are performing an action that would put you beyond your account's limits. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - LimitExceededException +// You are performing an action that would put you beyond your account's limits. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // -// * DeviceNotRegisteredException -// The request failed because this device is no longer registered and therefore -// no longer managed by this account. +// - DeviceNotRegisteredException +// The request failed because this device is no longer registered and therefore +// no longer managed by this account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateDeviceWithRoom func (c *AlexaForBusiness) AssociateDeviceWithRoom(input *AssociateDeviceWithRoomInput) (*AssociateDeviceWithRoomOutput, error) { @@ -374,14 +373,13 @@ const opAssociateSkillGroupWithRoom = "AssociateSkillGroupWithRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateSkillGroupWithRoomRequest method. +// req, resp := client.AssociateSkillGroupWithRoomRequest(params) // -// // Example sending a request using the AssociateSkillGroupWithRoomRequest method. -// req, resp := client.AssociateSkillGroupWithRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillGroupWithRoom func (c *AlexaForBusiness) AssociateSkillGroupWithRoomRequest(input *AssociateSkillGroupWithRoomInput) (req *request.Request, output *AssociateSkillGroupWithRoomOutput) { @@ -414,8 +412,8 @@ func (c *AlexaForBusiness) AssociateSkillGroupWithRoomRequest(input *AssociateSk // API operation AssociateSkillGroupWithRoom for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillGroupWithRoom func (c *AlexaForBusiness) AssociateSkillGroupWithRoom(input *AssociateSkillGroupWithRoomInput) (*AssociateSkillGroupWithRoomOutput, error) { @@ -455,14 +453,13 @@ const opAssociateSkillWithSkillGroup = "AssociateSkillWithSkillGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateSkillWithSkillGroupRequest method. +// req, resp := client.AssociateSkillWithSkillGroupRequest(params) // -// // Example sending a request using the AssociateSkillWithSkillGroupRequest method. -// req, resp := client.AssociateSkillWithSkillGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillWithSkillGroup func (c *AlexaForBusiness) AssociateSkillWithSkillGroupRequest(input *AssociateSkillWithSkillGroupInput) (req *request.Request, output *AssociateSkillWithSkillGroupOutput) { @@ -494,14 +491,15 @@ func (c *AlexaForBusiness) AssociateSkillWithSkillGroupRequest(input *AssociateS // API operation AssociateSkillWithSkillGroup for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is a concurrent modification of resources. // -// * NotFoundException -// The resource is not found. +// - ConcurrentModificationException +// There is a concurrent modification of resources. +// +// - NotFoundException +// The resource is not found. // -// * SkillNotLinkedException -// The skill must be linked to a third-party account. +// - SkillNotLinkedException +// The skill must be linked to a third-party account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillWithSkillGroup func (c *AlexaForBusiness) AssociateSkillWithSkillGroup(input *AssociateSkillWithSkillGroupInput) (*AssociateSkillWithSkillGroupOutput, error) { @@ -541,14 +539,13 @@ const opAssociateSkillWithUsers = "AssociateSkillWithUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateSkillWithUsersRequest method. +// req, resp := client.AssociateSkillWithUsersRequest(params) // -// // Example sending a request using the AssociateSkillWithUsersRequest method. -// req, resp := client.AssociateSkillWithUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillWithUsers func (c *AlexaForBusiness) AssociateSkillWithUsersRequest(input *AssociateSkillWithUsersInput) (req *request.Request, output *AssociateSkillWithUsersOutput) { @@ -580,11 +577,12 @@ func (c *AlexaForBusiness) AssociateSkillWithUsersRequest(input *AssociateSkillW // API operation AssociateSkillWithUsers for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is a concurrent modification of resources. // -// * NotFoundException -// The resource is not found. +// - ConcurrentModificationException +// There is a concurrent modification of resources. +// +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/AssociateSkillWithUsers func (c *AlexaForBusiness) AssociateSkillWithUsers(input *AssociateSkillWithUsersInput) (*AssociateSkillWithUsersOutput, error) { @@ -624,14 +622,13 @@ const opCreateAddressBook = "CreateAddressBook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAddressBookRequest method. +// req, resp := client.CreateAddressBookRequest(params) // -// // Example sending a request using the CreateAddressBookRequest method. -// req, resp := client.CreateAddressBookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateAddressBook func (c *AlexaForBusiness) CreateAddressBookRequest(input *CreateAddressBookInput) (req *request.Request, output *CreateAddressBookOutput) { @@ -662,11 +659,12 @@ func (c *AlexaForBusiness) CreateAddressBookRequest(input *CreateAddressBookInpu // API operation CreateAddressBook for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource being created already exists. // -// * LimitExceededException -// You are performing an action that would put you beyond your account's limits. +// - AlreadyExistsException +// The resource being created already exists. +// +// - LimitExceededException +// You are performing an action that would put you beyond your account's limits. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateAddressBook func (c *AlexaForBusiness) CreateAddressBook(input *CreateAddressBookInput) (*CreateAddressBookOutput, error) { @@ -706,14 +704,13 @@ const opCreateBusinessReportSchedule = "CreateBusinessReportSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBusinessReportScheduleRequest method. +// req, resp := client.CreateBusinessReportScheduleRequest(params) // -// // Example sending a request using the CreateBusinessReportScheduleRequest method. -// req, resp := client.CreateBusinessReportScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateBusinessReportSchedule func (c *AlexaForBusiness) CreateBusinessReportScheduleRequest(input *CreateBusinessReportScheduleInput) (req *request.Request, output *CreateBusinessReportScheduleOutput) { @@ -745,8 +742,8 @@ func (c *AlexaForBusiness) CreateBusinessReportScheduleRequest(input *CreateBusi // API operation CreateBusinessReportSchedule for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource being created already exists. +// - AlreadyExistsException +// The resource being created already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateBusinessReportSchedule func (c *AlexaForBusiness) CreateBusinessReportSchedule(input *CreateBusinessReportScheduleInput) (*CreateBusinessReportScheduleOutput, error) { @@ -786,14 +783,13 @@ const opCreateConferenceProvider = "CreateConferenceProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConferenceProviderRequest method. +// req, resp := client.CreateConferenceProviderRequest(params) // -// // Example sending a request using the CreateConferenceProviderRequest method. -// req, resp := client.CreateConferenceProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateConferenceProvider func (c *AlexaForBusiness) CreateConferenceProviderRequest(input *CreateConferenceProviderInput) (req *request.Request, output *CreateConferenceProviderOutput) { @@ -824,8 +820,8 @@ func (c *AlexaForBusiness) CreateConferenceProviderRequest(input *CreateConferen // API operation CreateConferenceProvider for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource being created already exists. +// - AlreadyExistsException +// The resource being created already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateConferenceProvider func (c *AlexaForBusiness) CreateConferenceProvider(input *CreateConferenceProviderInput) (*CreateConferenceProviderOutput, error) { @@ -865,14 +861,13 @@ const opCreateContact = "CreateContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateContactRequest method. +// req, resp := client.CreateContactRequest(params) // -// // Example sending a request using the CreateContactRequest method. -// req, resp := client.CreateContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateContact func (c *AlexaForBusiness) CreateContactRequest(input *CreateContactInput) (req *request.Request, output *CreateContactOutput) { @@ -903,11 +898,12 @@ func (c *AlexaForBusiness) CreateContactRequest(input *CreateContactInput) (req // API operation CreateContact for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource being created already exists. // -// * LimitExceededException -// You are performing an action that would put you beyond your account's limits. +// - AlreadyExistsException +// The resource being created already exists. +// +// - LimitExceededException +// You are performing an action that would put you beyond your account's limits. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateContact func (c *AlexaForBusiness) CreateContact(input *CreateContactInput) (*CreateContactOutput, error) { @@ -947,14 +943,13 @@ const opCreateGatewayGroup = "CreateGatewayGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGatewayGroupRequest method. +// req, resp := client.CreateGatewayGroupRequest(params) // -// // Example sending a request using the CreateGatewayGroupRequest method. -// req, resp := client.CreateGatewayGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateGatewayGroup func (c *AlexaForBusiness) CreateGatewayGroupRequest(input *CreateGatewayGroupInput) (req *request.Request, output *CreateGatewayGroupOutput) { @@ -985,11 +980,12 @@ func (c *AlexaForBusiness) CreateGatewayGroupRequest(input *CreateGatewayGroupIn // API operation CreateGatewayGroup for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource being created already exists. // -// * LimitExceededException -// You are performing an action that would put you beyond your account's limits. +// - AlreadyExistsException +// The resource being created already exists. +// +// - LimitExceededException +// You are performing an action that would put you beyond your account's limits. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateGatewayGroup func (c *AlexaForBusiness) CreateGatewayGroup(input *CreateGatewayGroupInput) (*CreateGatewayGroupOutput, error) { @@ -1029,14 +1025,13 @@ const opCreateNetworkProfile = "CreateNetworkProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNetworkProfileRequest method. +// req, resp := client.CreateNetworkProfileRequest(params) // -// // Example sending a request using the CreateNetworkProfileRequest method. -// req, resp := client.CreateNetworkProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateNetworkProfile func (c *AlexaForBusiness) CreateNetworkProfileRequest(input *CreateNetworkProfileInput) (req *request.Request, output *CreateNetworkProfileOutput) { @@ -1067,20 +1062,21 @@ func (c *AlexaForBusiness) CreateNetworkProfileRequest(input *CreateNetworkProfi // API operation CreateNetworkProfile for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource being created already exists. // -// * LimitExceededException -// You are performing an action that would put you beyond your account's limits. +// - AlreadyExistsException +// The resource being created already exists. +// +// - LimitExceededException +// You are performing an action that would put you beyond your account's limits. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - ConcurrentModificationException +// There is a concurrent modification of resources. // -// * InvalidCertificateAuthorityException -// The Certificate Authority can't issue or revoke a certificate. +// - InvalidCertificateAuthorityException +// The Certificate Authority can't issue or revoke a certificate. // -// * InvalidServiceLinkedRoleStateException -// The service linked role is locked for deletion. +// - InvalidServiceLinkedRoleStateException +// The service linked role is locked for deletion. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateNetworkProfile func (c *AlexaForBusiness) CreateNetworkProfile(input *CreateNetworkProfileInput) (*CreateNetworkProfileOutput, error) { @@ -1120,14 +1116,13 @@ const opCreateProfile = "CreateProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProfileRequest method. +// req, resp := client.CreateProfileRequest(params) // -// // Example sending a request using the CreateProfileRequest method. -// req, resp := client.CreateProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateProfile func (c *AlexaForBusiness) CreateProfileRequest(input *CreateProfileInput) (req *request.Request, output *CreateProfileOutput) { @@ -1158,14 +1153,15 @@ func (c *AlexaForBusiness) CreateProfileRequest(input *CreateProfileInput) (req // API operation CreateProfile for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You are performing an action that would put you beyond your account's limits. // -// * AlreadyExistsException -// The resource being created already exists. +// - LimitExceededException +// You are performing an action that would put you beyond your account's limits. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - AlreadyExistsException +// The resource being created already exists. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateProfile func (c *AlexaForBusiness) CreateProfile(input *CreateProfileInput) (*CreateProfileOutput, error) { @@ -1205,14 +1201,13 @@ const opCreateRoom = "CreateRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRoomRequest method. +// req, resp := client.CreateRoomRequest(params) // -// // Example sending a request using the CreateRoomRequest method. -// req, resp := client.CreateRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateRoom func (c *AlexaForBusiness) CreateRoomRequest(input *CreateRoomInput) (req *request.Request, output *CreateRoomOutput) { @@ -1243,11 +1238,12 @@ func (c *AlexaForBusiness) CreateRoomRequest(input *CreateRoomInput) (req *reque // API operation CreateRoom for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource being created already exists. // -// * LimitExceededException -// You are performing an action that would put you beyond your account's limits. +// - AlreadyExistsException +// The resource being created already exists. +// +// - LimitExceededException +// You are performing an action that would put you beyond your account's limits. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateRoom func (c *AlexaForBusiness) CreateRoom(input *CreateRoomInput) (*CreateRoomOutput, error) { @@ -1287,14 +1283,13 @@ const opCreateSkillGroup = "CreateSkillGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSkillGroupRequest method. +// req, resp := client.CreateSkillGroupRequest(params) // -// // Example sending a request using the CreateSkillGroupRequest method. -// req, resp := client.CreateSkillGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateSkillGroup func (c *AlexaForBusiness) CreateSkillGroupRequest(input *CreateSkillGroupInput) (req *request.Request, output *CreateSkillGroupOutput) { @@ -1325,14 +1320,15 @@ func (c *AlexaForBusiness) CreateSkillGroupRequest(input *CreateSkillGroupInput) // API operation CreateSkillGroup for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource being created already exists. // -// * LimitExceededException -// You are performing an action that would put you beyond your account's limits. +// - AlreadyExistsException +// The resource being created already exists. +// +// - LimitExceededException +// You are performing an action that would put you beyond your account's limits. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateSkillGroup func (c *AlexaForBusiness) CreateSkillGroup(input *CreateSkillGroupInput) (*CreateSkillGroupOutput, error) { @@ -1372,14 +1368,13 @@ const opCreateUser = "CreateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserRequest method. +// req, resp := client.CreateUserRequest(params) // -// // Example sending a request using the CreateUserRequest method. -// req, resp := client.CreateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateUser func (c *AlexaForBusiness) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) { @@ -1410,14 +1405,15 @@ func (c *AlexaForBusiness) CreateUserRequest(input *CreateUserInput) (req *reque // API operation CreateUser for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The resource in the request is already in use. // -// * LimitExceededException -// You are performing an action that would put you beyond your account's limits. +// - ResourceInUseException +// The resource in the request is already in use. +// +// - LimitExceededException +// You are performing an action that would put you beyond your account's limits. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/CreateUser func (c *AlexaForBusiness) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) { @@ -1457,14 +1453,13 @@ const opDeleteAddressBook = "DeleteAddressBook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAddressBookRequest method. +// req, resp := client.DeleteAddressBookRequest(params) // -// // Example sending a request using the DeleteAddressBookRequest method. -// req, resp := client.DeleteAddressBookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteAddressBook func (c *AlexaForBusiness) DeleteAddressBookRequest(input *DeleteAddressBookInput) (req *request.Request, output *DeleteAddressBookOutput) { @@ -1496,11 +1491,12 @@ func (c *AlexaForBusiness) DeleteAddressBookRequest(input *DeleteAddressBookInpu // API operation DeleteAddressBook for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - NotFoundException +// The resource is not found. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteAddressBook func (c *AlexaForBusiness) DeleteAddressBook(input *DeleteAddressBookInput) (*DeleteAddressBookOutput, error) { @@ -1540,14 +1536,13 @@ const opDeleteBusinessReportSchedule = "DeleteBusinessReportSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBusinessReportScheduleRequest method. +// req, resp := client.DeleteBusinessReportScheduleRequest(params) // -// // Example sending a request using the DeleteBusinessReportScheduleRequest method. -// req, resp := client.DeleteBusinessReportScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteBusinessReportSchedule func (c *AlexaForBusiness) DeleteBusinessReportScheduleRequest(input *DeleteBusinessReportScheduleInput) (req *request.Request, output *DeleteBusinessReportScheduleOutput) { @@ -1580,11 +1575,12 @@ func (c *AlexaForBusiness) DeleteBusinessReportScheduleRequest(input *DeleteBusi // API operation DeleteBusinessReportSchedule for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - NotFoundException +// The resource is not found. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteBusinessReportSchedule func (c *AlexaForBusiness) DeleteBusinessReportSchedule(input *DeleteBusinessReportScheduleInput) (*DeleteBusinessReportScheduleOutput, error) { @@ -1624,14 +1620,13 @@ const opDeleteConferenceProvider = "DeleteConferenceProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConferenceProviderRequest method. +// req, resp := client.DeleteConferenceProviderRequest(params) // -// // Example sending a request using the DeleteConferenceProviderRequest method. -// req, resp := client.DeleteConferenceProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteConferenceProvider func (c *AlexaForBusiness) DeleteConferenceProviderRequest(input *DeleteConferenceProviderInput) (req *request.Request, output *DeleteConferenceProviderOutput) { @@ -1663,8 +1658,8 @@ func (c *AlexaForBusiness) DeleteConferenceProviderRequest(input *DeleteConferen // API operation DeleteConferenceProvider for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteConferenceProvider func (c *AlexaForBusiness) DeleteConferenceProvider(input *DeleteConferenceProviderInput) (*DeleteConferenceProviderOutput, error) { @@ -1704,14 +1699,13 @@ const opDeleteContact = "DeleteContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteContactRequest method. +// req, resp := client.DeleteContactRequest(params) // -// // Example sending a request using the DeleteContactRequest method. -// req, resp := client.DeleteContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteContact func (c *AlexaForBusiness) DeleteContactRequest(input *DeleteContactInput) (req *request.Request, output *DeleteContactOutput) { @@ -1743,11 +1737,12 @@ func (c *AlexaForBusiness) DeleteContactRequest(input *DeleteContactInput) (req // API operation DeleteContact for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - NotFoundException +// The resource is not found. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteContact func (c *AlexaForBusiness) DeleteContact(input *DeleteContactInput) (*DeleteContactOutput, error) { @@ -1787,14 +1782,13 @@ const opDeleteDevice = "DeleteDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDeviceRequest method. +// req, resp := client.DeleteDeviceRequest(params) // -// // Example sending a request using the DeleteDeviceRequest method. -// req, resp := client.DeleteDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteDevice func (c *AlexaForBusiness) DeleteDeviceRequest(input *DeleteDeviceInput) (req *request.Request, output *DeleteDeviceOutput) { @@ -1826,14 +1820,15 @@ func (c *AlexaForBusiness) DeleteDeviceRequest(input *DeleteDeviceInput) (req *r // API operation DeleteDevice for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - NotFoundException +// The resource is not found. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // -// * InvalidCertificateAuthorityException -// The Certificate Authority can't issue or revoke a certificate. +// - InvalidCertificateAuthorityException +// The Certificate Authority can't issue or revoke a certificate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteDevice func (c *AlexaForBusiness) DeleteDevice(input *DeleteDeviceInput) (*DeleteDeviceOutput, error) { @@ -1873,14 +1868,13 @@ const opDeleteDeviceUsageData = "DeleteDeviceUsageData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDeviceUsageDataRequest method. +// req, resp := client.DeleteDeviceUsageDataRequest(params) // -// // Example sending a request using the DeleteDeviceUsageDataRequest method. -// req, resp := client.DeleteDeviceUsageDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteDeviceUsageData func (c *AlexaForBusiness) DeleteDeviceUsageDataRequest(input *DeleteDeviceUsageDataInput) (req *request.Request, output *DeleteDeviceUsageDataOutput) { @@ -1915,15 +1909,16 @@ func (c *AlexaForBusiness) DeleteDeviceUsageDataRequest(input *DeleteDeviceUsage // API operation DeleteDeviceUsageData for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * DeviceNotRegisteredException -// The request failed because this device is no longer registered and therefore -// no longer managed by this account. +// - NotFoundException +// The resource is not found. +// +// - DeviceNotRegisteredException +// The request failed because this device is no longer registered and therefore +// no longer managed by this account. // -// * LimitExceededException -// You are performing an action that would put you beyond your account's limits. +// - LimitExceededException +// You are performing an action that would put you beyond your account's limits. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteDeviceUsageData func (c *AlexaForBusiness) DeleteDeviceUsageData(input *DeleteDeviceUsageDataInput) (*DeleteDeviceUsageDataOutput, error) { @@ -1963,14 +1958,13 @@ const opDeleteGatewayGroup = "DeleteGatewayGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGatewayGroupRequest method. +// req, resp := client.DeleteGatewayGroupRequest(params) // -// // Example sending a request using the DeleteGatewayGroupRequest method. -// req, resp := client.DeleteGatewayGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteGatewayGroup func (c *AlexaForBusiness) DeleteGatewayGroupRequest(input *DeleteGatewayGroupInput) (req *request.Request, output *DeleteGatewayGroupOutput) { @@ -2002,8 +1996,8 @@ func (c *AlexaForBusiness) DeleteGatewayGroupRequest(input *DeleteGatewayGroupIn // API operation DeleteGatewayGroup for usage and error information. // // Returned Error Types: -// * ResourceAssociatedException -// Another resource is associated with the resource in the request. +// - ResourceAssociatedException +// Another resource is associated with the resource in the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteGatewayGroup func (c *AlexaForBusiness) DeleteGatewayGroup(input *DeleteGatewayGroupInput) (*DeleteGatewayGroupOutput, error) { @@ -2043,14 +2037,13 @@ const opDeleteNetworkProfile = "DeleteNetworkProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNetworkProfileRequest method. +// req, resp := client.DeleteNetworkProfileRequest(params) // -// // Example sending a request using the DeleteNetworkProfileRequest method. -// req, resp := client.DeleteNetworkProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteNetworkProfile func (c *AlexaForBusiness) DeleteNetworkProfileRequest(input *DeleteNetworkProfileInput) (req *request.Request, output *DeleteNetworkProfileOutput) { @@ -2082,14 +2075,15 @@ func (c *AlexaForBusiness) DeleteNetworkProfileRequest(input *DeleteNetworkProfi // API operation DeleteNetworkProfile for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The resource in the request is already in use. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - ResourceInUseException +// The resource in the request is already in use. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteNetworkProfile func (c *AlexaForBusiness) DeleteNetworkProfile(input *DeleteNetworkProfileInput) (*DeleteNetworkProfileOutput, error) { @@ -2129,14 +2123,13 @@ const opDeleteProfile = "DeleteProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProfileRequest method. +// req, resp := client.DeleteProfileRequest(params) // -// // Example sending a request using the DeleteProfileRequest method. -// req, resp := client.DeleteProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteProfile func (c *AlexaForBusiness) DeleteProfileRequest(input *DeleteProfileInput) (req *request.Request, output *DeleteProfileOutput) { @@ -2168,11 +2161,12 @@ func (c *AlexaForBusiness) DeleteProfileRequest(input *DeleteProfileInput) (req // API operation DeleteProfile for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - NotFoundException +// The resource is not found. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteProfile func (c *AlexaForBusiness) DeleteProfile(input *DeleteProfileInput) (*DeleteProfileOutput, error) { @@ -2212,14 +2206,13 @@ const opDeleteRoom = "DeleteRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRoomRequest method. +// req, resp := client.DeleteRoomRequest(params) // -// // Example sending a request using the DeleteRoomRequest method. -// req, resp := client.DeleteRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteRoom func (c *AlexaForBusiness) DeleteRoomRequest(input *DeleteRoomInput) (req *request.Request, output *DeleteRoomOutput) { @@ -2251,11 +2244,12 @@ func (c *AlexaForBusiness) DeleteRoomRequest(input *DeleteRoomInput) (req *reque // API operation DeleteRoom for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - NotFoundException +// The resource is not found. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteRoom func (c *AlexaForBusiness) DeleteRoom(input *DeleteRoomInput) (*DeleteRoomOutput, error) { @@ -2295,14 +2289,13 @@ const opDeleteRoomSkillParameter = "DeleteRoomSkillParameter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRoomSkillParameterRequest method. +// req, resp := client.DeleteRoomSkillParameterRequest(params) // -// // Example sending a request using the DeleteRoomSkillParameterRequest method. -// req, resp := client.DeleteRoomSkillParameterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteRoomSkillParameter func (c *AlexaForBusiness) DeleteRoomSkillParameterRequest(input *DeleteRoomSkillParameterInput) (req *request.Request, output *DeleteRoomSkillParameterOutput) { @@ -2334,8 +2327,8 @@ func (c *AlexaForBusiness) DeleteRoomSkillParameterRequest(input *DeleteRoomSkil // API operation DeleteRoomSkillParameter for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteRoomSkillParameter func (c *AlexaForBusiness) DeleteRoomSkillParameter(input *DeleteRoomSkillParameterInput) (*DeleteRoomSkillParameterOutput, error) { @@ -2375,14 +2368,13 @@ const opDeleteSkillAuthorization = "DeleteSkillAuthorization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSkillAuthorizationRequest method. +// req, resp := client.DeleteSkillAuthorizationRequest(params) // -// // Example sending a request using the DeleteSkillAuthorizationRequest method. -// req, resp := client.DeleteSkillAuthorizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteSkillAuthorization func (c *AlexaForBusiness) DeleteSkillAuthorizationRequest(input *DeleteSkillAuthorizationInput) (req *request.Request, output *DeleteSkillAuthorizationOutput) { @@ -2414,11 +2406,12 @@ func (c *AlexaForBusiness) DeleteSkillAuthorizationRequest(input *DeleteSkillAut // API operation DeleteSkillAuthorization for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - NotFoundException +// The resource is not found. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteSkillAuthorization func (c *AlexaForBusiness) DeleteSkillAuthorization(input *DeleteSkillAuthorizationInput) (*DeleteSkillAuthorizationOutput, error) { @@ -2458,14 +2451,13 @@ const opDeleteSkillGroup = "DeleteSkillGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSkillGroupRequest method. +// req, resp := client.DeleteSkillGroupRequest(params) // -// // Example sending a request using the DeleteSkillGroupRequest method. -// req, resp := client.DeleteSkillGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteSkillGroup func (c *AlexaForBusiness) DeleteSkillGroupRequest(input *DeleteSkillGroupInput) (req *request.Request, output *DeleteSkillGroupOutput) { @@ -2497,11 +2489,12 @@ func (c *AlexaForBusiness) DeleteSkillGroupRequest(input *DeleteSkillGroupInput) // API operation DeleteSkillGroup for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - NotFoundException +// The resource is not found. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteSkillGroup func (c *AlexaForBusiness) DeleteSkillGroup(input *DeleteSkillGroupInput) (*DeleteSkillGroupOutput, error) { @@ -2541,14 +2534,13 @@ const opDeleteUser = "DeleteUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserRequest method. +// req, resp := client.DeleteUserRequest(params) // -// // Example sending a request using the DeleteUserRequest method. -// req, resp := client.DeleteUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteUser func (c *AlexaForBusiness) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { @@ -2580,11 +2572,12 @@ func (c *AlexaForBusiness) DeleteUserRequest(input *DeleteUserInput) (req *reque // API operation DeleteUser for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - NotFoundException +// The resource is not found. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DeleteUser func (c *AlexaForBusiness) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { @@ -2624,14 +2617,13 @@ const opDisassociateContactFromAddressBook = "DisassociateContactFromAddressBook // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateContactFromAddressBookRequest method. +// req, resp := client.DisassociateContactFromAddressBookRequest(params) // -// // Example sending a request using the DisassociateContactFromAddressBookRequest method. -// req, resp := client.DisassociateContactFromAddressBookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateContactFromAddressBook func (c *AlexaForBusiness) DisassociateContactFromAddressBookRequest(input *DisassociateContactFromAddressBookInput) (req *request.Request, output *DisassociateContactFromAddressBookOutput) { @@ -2699,14 +2691,13 @@ const opDisassociateDeviceFromRoom = "DisassociateDeviceFromRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateDeviceFromRoomRequest method. +// req, resp := client.DisassociateDeviceFromRoomRequest(params) // -// // Example sending a request using the DisassociateDeviceFromRoomRequest method. -// req, resp := client.DisassociateDeviceFromRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateDeviceFromRoom func (c *AlexaForBusiness) DisassociateDeviceFromRoomRequest(input *DisassociateDeviceFromRoomInput) (req *request.Request, output *DisassociateDeviceFromRoomOutput) { @@ -2740,12 +2731,13 @@ func (c *AlexaForBusiness) DisassociateDeviceFromRoomRequest(input *Disassociate // API operation DisassociateDeviceFromRoom for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is a concurrent modification of resources. // -// * DeviceNotRegisteredException -// The request failed because this device is no longer registered and therefore -// no longer managed by this account. +// - ConcurrentModificationException +// There is a concurrent modification of resources. +// +// - DeviceNotRegisteredException +// The request failed because this device is no longer registered and therefore +// no longer managed by this account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateDeviceFromRoom func (c *AlexaForBusiness) DisassociateDeviceFromRoom(input *DisassociateDeviceFromRoomInput) (*DisassociateDeviceFromRoomOutput, error) { @@ -2785,14 +2777,13 @@ const opDisassociateSkillFromSkillGroup = "DisassociateSkillFromSkillGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateSkillFromSkillGroupRequest method. +// req, resp := client.DisassociateSkillFromSkillGroupRequest(params) // -// // Example sending a request using the DisassociateSkillFromSkillGroupRequest method. -// req, resp := client.DisassociateSkillFromSkillGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillFromSkillGroup func (c *AlexaForBusiness) DisassociateSkillFromSkillGroupRequest(input *DisassociateSkillFromSkillGroupInput) (req *request.Request, output *DisassociateSkillFromSkillGroupOutput) { @@ -2824,11 +2815,12 @@ func (c *AlexaForBusiness) DisassociateSkillFromSkillGroupRequest(input *Disasso // API operation DisassociateSkillFromSkillGroup for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is a concurrent modification of resources. // -// * NotFoundException -// The resource is not found. +// - ConcurrentModificationException +// There is a concurrent modification of resources. +// +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillFromSkillGroup func (c *AlexaForBusiness) DisassociateSkillFromSkillGroup(input *DisassociateSkillFromSkillGroupInput) (*DisassociateSkillFromSkillGroupOutput, error) { @@ -2868,14 +2860,13 @@ const opDisassociateSkillFromUsers = "DisassociateSkillFromUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateSkillFromUsersRequest method. +// req, resp := client.DisassociateSkillFromUsersRequest(params) // -// // Example sending a request using the DisassociateSkillFromUsersRequest method. -// req, resp := client.DisassociateSkillFromUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillFromUsers func (c *AlexaForBusiness) DisassociateSkillFromUsersRequest(input *DisassociateSkillFromUsersInput) (req *request.Request, output *DisassociateSkillFromUsersOutput) { @@ -2908,11 +2899,12 @@ func (c *AlexaForBusiness) DisassociateSkillFromUsersRequest(input *Disassociate // API operation DisassociateSkillFromUsers for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is a concurrent modification of resources. // -// * NotFoundException -// The resource is not found. +// - ConcurrentModificationException +// There is a concurrent modification of resources. +// +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillFromUsers func (c *AlexaForBusiness) DisassociateSkillFromUsers(input *DisassociateSkillFromUsersInput) (*DisassociateSkillFromUsersOutput, error) { @@ -2952,14 +2944,13 @@ const opDisassociateSkillGroupFromRoom = "DisassociateSkillGroupFromRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateSkillGroupFromRoomRequest method. +// req, resp := client.DisassociateSkillGroupFromRoomRequest(params) // -// // Example sending a request using the DisassociateSkillGroupFromRoomRequest method. -// req, resp := client.DisassociateSkillGroupFromRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillGroupFromRoom func (c *AlexaForBusiness) DisassociateSkillGroupFromRoomRequest(input *DisassociateSkillGroupFromRoomInput) (req *request.Request, output *DisassociateSkillGroupFromRoomOutput) { @@ -2992,8 +2983,8 @@ func (c *AlexaForBusiness) DisassociateSkillGroupFromRoomRequest(input *Disassoc // API operation DisassociateSkillGroupFromRoom for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/DisassociateSkillGroupFromRoom func (c *AlexaForBusiness) DisassociateSkillGroupFromRoom(input *DisassociateSkillGroupFromRoomInput) (*DisassociateSkillGroupFromRoomOutput, error) { @@ -3033,14 +3024,13 @@ const opForgetSmartHomeAppliances = "ForgetSmartHomeAppliances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ForgetSmartHomeAppliancesRequest method. +// req, resp := client.ForgetSmartHomeAppliancesRequest(params) // -// // Example sending a request using the ForgetSmartHomeAppliancesRequest method. -// req, resp := client.ForgetSmartHomeAppliancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ForgetSmartHomeAppliances func (c *AlexaForBusiness) ForgetSmartHomeAppliancesRequest(input *ForgetSmartHomeAppliancesInput) (req *request.Request, output *ForgetSmartHomeAppliancesOutput) { @@ -3072,8 +3062,8 @@ func (c *AlexaForBusiness) ForgetSmartHomeAppliancesRequest(input *ForgetSmartHo // API operation ForgetSmartHomeAppliances for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ForgetSmartHomeAppliances func (c *AlexaForBusiness) ForgetSmartHomeAppliances(input *ForgetSmartHomeAppliancesInput) (*ForgetSmartHomeAppliancesOutput, error) { @@ -3113,14 +3103,13 @@ const opGetAddressBook = "GetAddressBook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAddressBookRequest method. +// req, resp := client.GetAddressBookRequest(params) // -// // Example sending a request using the GetAddressBookRequest method. -// req, resp := client.GetAddressBookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetAddressBook func (c *AlexaForBusiness) GetAddressBookRequest(input *GetAddressBookInput) (req *request.Request, output *GetAddressBookOutput) { @@ -3151,8 +3140,8 @@ func (c *AlexaForBusiness) GetAddressBookRequest(input *GetAddressBookInput) (re // API operation GetAddressBook for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetAddressBook func (c *AlexaForBusiness) GetAddressBook(input *GetAddressBookInput) (*GetAddressBookOutput, error) { @@ -3192,14 +3181,13 @@ const opGetConferencePreference = "GetConferencePreference" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConferencePreferenceRequest method. +// req, resp := client.GetConferencePreferenceRequest(params) // -// // Example sending a request using the GetConferencePreferenceRequest method. -// req, resp := client.GetConferencePreferenceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetConferencePreference func (c *AlexaForBusiness) GetConferencePreferenceRequest(input *GetConferencePreferenceInput) (req *request.Request, output *GetConferencePreferenceOutput) { @@ -3230,8 +3218,8 @@ func (c *AlexaForBusiness) GetConferencePreferenceRequest(input *GetConferencePr // API operation GetConferencePreference for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetConferencePreference func (c *AlexaForBusiness) GetConferencePreference(input *GetConferencePreferenceInput) (*GetConferencePreferenceOutput, error) { @@ -3271,14 +3259,13 @@ const opGetConferenceProvider = "GetConferenceProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConferenceProviderRequest method. +// req, resp := client.GetConferenceProviderRequest(params) // -// // Example sending a request using the GetConferenceProviderRequest method. -// req, resp := client.GetConferenceProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetConferenceProvider func (c *AlexaForBusiness) GetConferenceProviderRequest(input *GetConferenceProviderInput) (req *request.Request, output *GetConferenceProviderOutput) { @@ -3309,8 +3296,8 @@ func (c *AlexaForBusiness) GetConferenceProviderRequest(input *GetConferenceProv // API operation GetConferenceProvider for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetConferenceProvider func (c *AlexaForBusiness) GetConferenceProvider(input *GetConferenceProviderInput) (*GetConferenceProviderOutput, error) { @@ -3350,14 +3337,13 @@ const opGetContact = "GetContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContactRequest method. +// req, resp := client.GetContactRequest(params) // -// // Example sending a request using the GetContactRequest method. -// req, resp := client.GetContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetContact func (c *AlexaForBusiness) GetContactRequest(input *GetContactInput) (req *request.Request, output *GetContactOutput) { @@ -3388,8 +3374,8 @@ func (c *AlexaForBusiness) GetContactRequest(input *GetContactInput) (req *reque // API operation GetContact for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetContact func (c *AlexaForBusiness) GetContact(input *GetContactInput) (*GetContactOutput, error) { @@ -3429,14 +3415,13 @@ const opGetDevice = "GetDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeviceRequest method. +// req, resp := client.GetDeviceRequest(params) // -// // Example sending a request using the GetDeviceRequest method. -// req, resp := client.GetDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetDevice func (c *AlexaForBusiness) GetDeviceRequest(input *GetDeviceInput) (req *request.Request, output *GetDeviceOutput) { @@ -3467,8 +3452,8 @@ func (c *AlexaForBusiness) GetDeviceRequest(input *GetDeviceInput) (req *request // API operation GetDevice for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetDevice func (c *AlexaForBusiness) GetDevice(input *GetDeviceInput) (*GetDeviceOutput, error) { @@ -3508,14 +3493,13 @@ const opGetGateway = "GetGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGatewayRequest method. +// req, resp := client.GetGatewayRequest(params) // -// // Example sending a request using the GetGatewayRequest method. -// req, resp := client.GetGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetGateway func (c *AlexaForBusiness) GetGatewayRequest(input *GetGatewayInput) (req *request.Request, output *GetGatewayOutput) { @@ -3546,8 +3530,8 @@ func (c *AlexaForBusiness) GetGatewayRequest(input *GetGatewayInput) (req *reque // API operation GetGateway for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetGateway func (c *AlexaForBusiness) GetGateway(input *GetGatewayInput) (*GetGatewayOutput, error) { @@ -3587,14 +3571,13 @@ const opGetGatewayGroup = "GetGatewayGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGatewayGroupRequest method. +// req, resp := client.GetGatewayGroupRequest(params) // -// // Example sending a request using the GetGatewayGroupRequest method. -// req, resp := client.GetGatewayGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetGatewayGroup func (c *AlexaForBusiness) GetGatewayGroupRequest(input *GetGatewayGroupInput) (req *request.Request, output *GetGatewayGroupOutput) { @@ -3625,8 +3608,8 @@ func (c *AlexaForBusiness) GetGatewayGroupRequest(input *GetGatewayGroupInput) ( // API operation GetGatewayGroup for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetGatewayGroup func (c *AlexaForBusiness) GetGatewayGroup(input *GetGatewayGroupInput) (*GetGatewayGroupOutput, error) { @@ -3666,14 +3649,13 @@ const opGetInvitationConfiguration = "GetInvitationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInvitationConfigurationRequest method. +// req, resp := client.GetInvitationConfigurationRequest(params) // -// // Example sending a request using the GetInvitationConfigurationRequest method. -// req, resp := client.GetInvitationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetInvitationConfiguration func (c *AlexaForBusiness) GetInvitationConfigurationRequest(input *GetInvitationConfigurationInput) (req *request.Request, output *GetInvitationConfigurationOutput) { @@ -3705,8 +3687,8 @@ func (c *AlexaForBusiness) GetInvitationConfigurationRequest(input *GetInvitatio // API operation GetInvitationConfiguration for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetInvitationConfiguration func (c *AlexaForBusiness) GetInvitationConfiguration(input *GetInvitationConfigurationInput) (*GetInvitationConfigurationOutput, error) { @@ -3746,14 +3728,13 @@ const opGetNetworkProfile = "GetNetworkProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNetworkProfileRequest method. +// req, resp := client.GetNetworkProfileRequest(params) // -// // Example sending a request using the GetNetworkProfileRequest method. -// req, resp := client.GetNetworkProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetNetworkProfile func (c *AlexaForBusiness) GetNetworkProfileRequest(input *GetNetworkProfileInput) (req *request.Request, output *GetNetworkProfileOutput) { @@ -3784,11 +3765,12 @@ func (c *AlexaForBusiness) GetNetworkProfileRequest(input *GetNetworkProfileInpu // API operation GetNetworkProfile for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * InvalidSecretsManagerResourceException -// A password in SecretsManager is in an invalid state. +// - NotFoundException +// The resource is not found. +// +// - InvalidSecretsManagerResourceException +// A password in SecretsManager is in an invalid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetNetworkProfile func (c *AlexaForBusiness) GetNetworkProfile(input *GetNetworkProfileInput) (*GetNetworkProfileOutput, error) { @@ -3828,14 +3810,13 @@ const opGetProfile = "GetProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetProfileRequest method. +// req, resp := client.GetProfileRequest(params) // -// // Example sending a request using the GetProfileRequest method. -// req, resp := client.GetProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetProfile func (c *AlexaForBusiness) GetProfileRequest(input *GetProfileInput) (req *request.Request, output *GetProfileOutput) { @@ -3866,8 +3847,8 @@ func (c *AlexaForBusiness) GetProfileRequest(input *GetProfileInput) (req *reque // API operation GetProfile for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetProfile func (c *AlexaForBusiness) GetProfile(input *GetProfileInput) (*GetProfileOutput, error) { @@ -3907,14 +3888,13 @@ const opGetRoom = "GetRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRoomRequest method. +// req, resp := client.GetRoomRequest(params) // -// // Example sending a request using the GetRoomRequest method. -// req, resp := client.GetRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetRoom func (c *AlexaForBusiness) GetRoomRequest(input *GetRoomInput) (req *request.Request, output *GetRoomOutput) { @@ -3945,8 +3925,8 @@ func (c *AlexaForBusiness) GetRoomRequest(input *GetRoomInput) (req *request.Req // API operation GetRoom for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetRoom func (c *AlexaForBusiness) GetRoom(input *GetRoomInput) (*GetRoomOutput, error) { @@ -3986,14 +3966,13 @@ const opGetRoomSkillParameter = "GetRoomSkillParameter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRoomSkillParameterRequest method. +// req, resp := client.GetRoomSkillParameterRequest(params) // -// // Example sending a request using the GetRoomSkillParameterRequest method. -// req, resp := client.GetRoomSkillParameterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetRoomSkillParameter func (c *AlexaForBusiness) GetRoomSkillParameterRequest(input *GetRoomSkillParameterInput) (req *request.Request, output *GetRoomSkillParameterOutput) { @@ -4024,8 +4003,8 @@ func (c *AlexaForBusiness) GetRoomSkillParameterRequest(input *GetRoomSkillParam // API operation GetRoomSkillParameter for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetRoomSkillParameter func (c *AlexaForBusiness) GetRoomSkillParameter(input *GetRoomSkillParameterInput) (*GetRoomSkillParameterOutput, error) { @@ -4065,14 +4044,13 @@ const opGetSkillGroup = "GetSkillGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSkillGroupRequest method. +// req, resp := client.GetSkillGroupRequest(params) // -// // Example sending a request using the GetSkillGroupRequest method. -// req, resp := client.GetSkillGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetSkillGroup func (c *AlexaForBusiness) GetSkillGroupRequest(input *GetSkillGroupInput) (req *request.Request, output *GetSkillGroupOutput) { @@ -4103,8 +4081,8 @@ func (c *AlexaForBusiness) GetSkillGroupRequest(input *GetSkillGroupInput) (req // API operation GetSkillGroup for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/GetSkillGroup func (c *AlexaForBusiness) GetSkillGroup(input *GetSkillGroupInput) (*GetSkillGroupOutput, error) { @@ -4144,14 +4122,13 @@ const opListBusinessReportSchedules = "ListBusinessReportSchedules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBusinessReportSchedulesRequest method. +// req, resp := client.ListBusinessReportSchedulesRequest(params) // -// // Example sending a request using the ListBusinessReportSchedulesRequest method. -// req, resp := client.ListBusinessReportSchedulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListBusinessReportSchedules func (c *AlexaForBusiness) ListBusinessReportSchedulesRequest(input *ListBusinessReportSchedulesInput) (req *request.Request, output *ListBusinessReportSchedulesOutput) { @@ -4219,15 +4196,14 @@ func (c *AlexaForBusiness) ListBusinessReportSchedulesWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBusinessReportSchedules operation. -// pageNum := 0 -// err := client.ListBusinessReportSchedulesPages(params, -// func(page *alexaforbusiness.ListBusinessReportSchedulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBusinessReportSchedules operation. +// pageNum := 0 +// err := client.ListBusinessReportSchedulesPages(params, +// func(page *alexaforbusiness.ListBusinessReportSchedulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) ListBusinessReportSchedulesPages(input *ListBusinessReportSchedulesInput, fn func(*ListBusinessReportSchedulesOutput, bool) bool) error { return c.ListBusinessReportSchedulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4279,14 +4255,13 @@ const opListConferenceProviders = "ListConferenceProviders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConferenceProvidersRequest method. +// req, resp := client.ListConferenceProvidersRequest(params) // -// // Example sending a request using the ListConferenceProvidersRequest method. -// req, resp := client.ListConferenceProvidersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListConferenceProviders func (c *AlexaForBusiness) ListConferenceProvidersRequest(input *ListConferenceProvidersInput) (req *request.Request, output *ListConferenceProvidersOutput) { @@ -4351,15 +4326,14 @@ func (c *AlexaForBusiness) ListConferenceProvidersWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListConferenceProviders operation. -// pageNum := 0 -// err := client.ListConferenceProvidersPages(params, -// func(page *alexaforbusiness.ListConferenceProvidersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListConferenceProviders operation. +// pageNum := 0 +// err := client.ListConferenceProvidersPages(params, +// func(page *alexaforbusiness.ListConferenceProvidersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) ListConferenceProvidersPages(input *ListConferenceProvidersInput, fn func(*ListConferenceProvidersOutput, bool) bool) error { return c.ListConferenceProvidersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4411,14 +4385,13 @@ const opListDeviceEvents = "ListDeviceEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeviceEventsRequest method. +// req, resp := client.ListDeviceEventsRequest(params) // -// // Example sending a request using the ListDeviceEventsRequest method. -// req, resp := client.ListDeviceEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListDeviceEvents func (c *AlexaForBusiness) ListDeviceEventsRequest(input *ListDeviceEventsInput) (req *request.Request, output *ListDeviceEventsOutput) { @@ -4456,8 +4429,8 @@ func (c *AlexaForBusiness) ListDeviceEventsRequest(input *ListDeviceEventsInput) // API operation ListDeviceEvents for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListDeviceEvents func (c *AlexaForBusiness) ListDeviceEvents(input *ListDeviceEventsInput) (*ListDeviceEventsOutput, error) { @@ -4489,15 +4462,14 @@ func (c *AlexaForBusiness) ListDeviceEventsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDeviceEvents operation. -// pageNum := 0 -// err := client.ListDeviceEventsPages(params, -// func(page *alexaforbusiness.ListDeviceEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDeviceEvents operation. +// pageNum := 0 +// err := client.ListDeviceEventsPages(params, +// func(page *alexaforbusiness.ListDeviceEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) ListDeviceEventsPages(input *ListDeviceEventsInput, fn func(*ListDeviceEventsOutput, bool) bool) error { return c.ListDeviceEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4549,14 +4521,13 @@ const opListGatewayGroups = "ListGatewayGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGatewayGroupsRequest method. +// req, resp := client.ListGatewayGroupsRequest(params) // -// // Example sending a request using the ListGatewayGroupsRequest method. -// req, resp := client.ListGatewayGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListGatewayGroups func (c *AlexaForBusiness) ListGatewayGroupsRequest(input *ListGatewayGroupsInput) (req *request.Request, output *ListGatewayGroupsOutput) { @@ -4622,15 +4593,14 @@ func (c *AlexaForBusiness) ListGatewayGroupsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGatewayGroups operation. -// pageNum := 0 -// err := client.ListGatewayGroupsPages(params, -// func(page *alexaforbusiness.ListGatewayGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGatewayGroups operation. +// pageNum := 0 +// err := client.ListGatewayGroupsPages(params, +// func(page *alexaforbusiness.ListGatewayGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) ListGatewayGroupsPages(input *ListGatewayGroupsInput, fn func(*ListGatewayGroupsOutput, bool) bool) error { return c.ListGatewayGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4682,14 +4652,13 @@ const opListGateways = "ListGateways" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGatewaysRequest method. +// req, resp := client.ListGatewaysRequest(params) // -// // Example sending a request using the ListGatewaysRequest method. -// req, resp := client.ListGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListGateways func (c *AlexaForBusiness) ListGatewaysRequest(input *ListGatewaysInput) (req *request.Request, output *ListGatewaysOutput) { @@ -4757,15 +4726,14 @@ func (c *AlexaForBusiness) ListGatewaysWithContext(ctx aws.Context, input *ListG // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGateways operation. -// pageNum := 0 -// err := client.ListGatewaysPages(params, -// func(page *alexaforbusiness.ListGatewaysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGateways operation. +// pageNum := 0 +// err := client.ListGatewaysPages(params, +// func(page *alexaforbusiness.ListGatewaysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) ListGatewaysPages(input *ListGatewaysInput, fn func(*ListGatewaysOutput, bool) bool) error { return c.ListGatewaysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4817,14 +4785,13 @@ const opListSkills = "ListSkills" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSkillsRequest method. +// req, resp := client.ListSkillsRequest(params) // -// // Example sending a request using the ListSkillsRequest method. -// req, resp := client.ListSkillsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSkills func (c *AlexaForBusiness) ListSkillsRequest(input *ListSkillsInput) (req *request.Request, output *ListSkillsOutput) { @@ -4889,15 +4856,14 @@ func (c *AlexaForBusiness) ListSkillsWithContext(ctx aws.Context, input *ListSki // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSkills operation. -// pageNum := 0 -// err := client.ListSkillsPages(params, -// func(page *alexaforbusiness.ListSkillsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSkills operation. +// pageNum := 0 +// err := client.ListSkillsPages(params, +// func(page *alexaforbusiness.ListSkillsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) ListSkillsPages(input *ListSkillsInput, fn func(*ListSkillsOutput, bool) bool) error { return c.ListSkillsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4949,14 +4915,13 @@ const opListSkillsStoreCategories = "ListSkillsStoreCategories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSkillsStoreCategoriesRequest method. +// req, resp := client.ListSkillsStoreCategoriesRequest(params) // -// // Example sending a request using the ListSkillsStoreCategoriesRequest method. -// req, resp := client.ListSkillsStoreCategoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSkillsStoreCategories func (c *AlexaForBusiness) ListSkillsStoreCategoriesRequest(input *ListSkillsStoreCategoriesInput) (req *request.Request, output *ListSkillsStoreCategoriesOutput) { @@ -5021,15 +4986,14 @@ func (c *AlexaForBusiness) ListSkillsStoreCategoriesWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSkillsStoreCategories operation. -// pageNum := 0 -// err := client.ListSkillsStoreCategoriesPages(params, -// func(page *alexaforbusiness.ListSkillsStoreCategoriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSkillsStoreCategories operation. +// pageNum := 0 +// err := client.ListSkillsStoreCategoriesPages(params, +// func(page *alexaforbusiness.ListSkillsStoreCategoriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) ListSkillsStoreCategoriesPages(input *ListSkillsStoreCategoriesInput, fn func(*ListSkillsStoreCategoriesOutput, bool) bool) error { return c.ListSkillsStoreCategoriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5081,14 +5045,13 @@ const opListSkillsStoreSkillsByCategory = "ListSkillsStoreSkillsByCategory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSkillsStoreSkillsByCategoryRequest method. +// req, resp := client.ListSkillsStoreSkillsByCategoryRequest(params) // -// // Example sending a request using the ListSkillsStoreSkillsByCategoryRequest method. -// req, resp := client.ListSkillsStoreSkillsByCategoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSkillsStoreSkillsByCategory func (c *AlexaForBusiness) ListSkillsStoreSkillsByCategoryRequest(input *ListSkillsStoreSkillsByCategoryInput) (req *request.Request, output *ListSkillsStoreSkillsByCategoryOutput) { @@ -5153,15 +5116,14 @@ func (c *AlexaForBusiness) ListSkillsStoreSkillsByCategoryWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSkillsStoreSkillsByCategory operation. -// pageNum := 0 -// err := client.ListSkillsStoreSkillsByCategoryPages(params, -// func(page *alexaforbusiness.ListSkillsStoreSkillsByCategoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSkillsStoreSkillsByCategory operation. +// pageNum := 0 +// err := client.ListSkillsStoreSkillsByCategoryPages(params, +// func(page *alexaforbusiness.ListSkillsStoreSkillsByCategoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) ListSkillsStoreSkillsByCategoryPages(input *ListSkillsStoreSkillsByCategoryInput, fn func(*ListSkillsStoreSkillsByCategoryOutput, bool) bool) error { return c.ListSkillsStoreSkillsByCategoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5213,14 +5175,13 @@ const opListSmartHomeAppliances = "ListSmartHomeAppliances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSmartHomeAppliancesRequest method. +// req, resp := client.ListSmartHomeAppliancesRequest(params) // -// // Example sending a request using the ListSmartHomeAppliancesRequest method. -// req, resp := client.ListSmartHomeAppliancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSmartHomeAppliances func (c *AlexaForBusiness) ListSmartHomeAppliancesRequest(input *ListSmartHomeAppliancesInput) (req *request.Request, output *ListSmartHomeAppliancesOutput) { @@ -5257,8 +5218,8 @@ func (c *AlexaForBusiness) ListSmartHomeAppliancesRequest(input *ListSmartHomeAp // API operation ListSmartHomeAppliances for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListSmartHomeAppliances func (c *AlexaForBusiness) ListSmartHomeAppliances(input *ListSmartHomeAppliancesInput) (*ListSmartHomeAppliancesOutput, error) { @@ -5290,15 +5251,14 @@ func (c *AlexaForBusiness) ListSmartHomeAppliancesWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSmartHomeAppliances operation. -// pageNum := 0 -// err := client.ListSmartHomeAppliancesPages(params, -// func(page *alexaforbusiness.ListSmartHomeAppliancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSmartHomeAppliances operation. +// pageNum := 0 +// err := client.ListSmartHomeAppliancesPages(params, +// func(page *alexaforbusiness.ListSmartHomeAppliancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) ListSmartHomeAppliancesPages(input *ListSmartHomeAppliancesInput, fn func(*ListSmartHomeAppliancesOutput, bool) bool) error { return c.ListSmartHomeAppliancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5350,14 +5310,13 @@ const opListTags = "ListTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsRequest method. +// req, resp := client.ListTagsRequest(params) // -// // Example sending a request using the ListTagsRequest method. -// req, resp := client.ListTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListTags func (c *AlexaForBusiness) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { @@ -5394,8 +5353,8 @@ func (c *AlexaForBusiness) ListTagsRequest(input *ListTagsInput) (req *request.R // API operation ListTags for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ListTags func (c *AlexaForBusiness) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { @@ -5427,15 +5386,14 @@ func (c *AlexaForBusiness) ListTagsWithContext(ctx aws.Context, input *ListTagsI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTags operation. -// pageNum := 0 -// err := client.ListTagsPages(params, -// func(page *alexaforbusiness.ListTagsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTags operation. +// pageNum := 0 +// err := client.ListTagsPages(params, +// func(page *alexaforbusiness.ListTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error { return c.ListTagsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5487,14 +5445,13 @@ const opPutConferencePreference = "PutConferencePreference" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutConferencePreferenceRequest method. +// req, resp := client.PutConferencePreferenceRequest(params) // -// // Example sending a request using the PutConferencePreferenceRequest method. -// req, resp := client.PutConferencePreferenceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutConferencePreference func (c *AlexaForBusiness) PutConferencePreferenceRequest(input *PutConferencePreferenceInput) (req *request.Request, output *PutConferencePreferenceOutput) { @@ -5527,8 +5484,8 @@ func (c *AlexaForBusiness) PutConferencePreferenceRequest(input *PutConferencePr // API operation PutConferencePreference for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutConferencePreference func (c *AlexaForBusiness) PutConferencePreference(input *PutConferencePreferenceInput) (*PutConferencePreferenceOutput, error) { @@ -5568,14 +5525,13 @@ const opPutInvitationConfiguration = "PutInvitationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutInvitationConfigurationRequest method. +// req, resp := client.PutInvitationConfigurationRequest(params) // -// // Example sending a request using the PutInvitationConfigurationRequest method. -// req, resp := client.PutInvitationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutInvitationConfiguration func (c *AlexaForBusiness) PutInvitationConfigurationRequest(input *PutInvitationConfigurationInput) (req *request.Request, output *PutInvitationConfigurationOutput) { @@ -5608,11 +5564,12 @@ func (c *AlexaForBusiness) PutInvitationConfigurationRequest(input *PutInvitatio // API operation PutInvitationConfiguration for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - NotFoundException +// The resource is not found. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutInvitationConfiguration func (c *AlexaForBusiness) PutInvitationConfiguration(input *PutInvitationConfigurationInput) (*PutInvitationConfigurationOutput, error) { @@ -5652,14 +5609,13 @@ const opPutRoomSkillParameter = "PutRoomSkillParameter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRoomSkillParameterRequest method. +// req, resp := client.PutRoomSkillParameterRequest(params) // -// // Example sending a request using the PutRoomSkillParameterRequest method. -// req, resp := client.PutRoomSkillParameterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutRoomSkillParameter func (c *AlexaForBusiness) PutRoomSkillParameterRequest(input *PutRoomSkillParameterInput) (req *request.Request, output *PutRoomSkillParameterOutput) { @@ -5692,8 +5648,8 @@ func (c *AlexaForBusiness) PutRoomSkillParameterRequest(input *PutRoomSkillParam // API operation PutRoomSkillParameter for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutRoomSkillParameter func (c *AlexaForBusiness) PutRoomSkillParameter(input *PutRoomSkillParameterInput) (*PutRoomSkillParameterOutput, error) { @@ -5733,14 +5689,13 @@ const opPutSkillAuthorization = "PutSkillAuthorization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutSkillAuthorizationRequest method. +// req, resp := client.PutSkillAuthorizationRequest(params) // -// // Example sending a request using the PutSkillAuthorizationRequest method. -// req, resp := client.PutSkillAuthorizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutSkillAuthorization func (c *AlexaForBusiness) PutSkillAuthorizationRequest(input *PutSkillAuthorizationInput) (req *request.Request, output *PutSkillAuthorizationOutput) { @@ -5775,12 +5730,13 @@ func (c *AlexaForBusiness) PutSkillAuthorizationRequest(input *PutSkillAuthoriza // API operation PutSkillAuthorization for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The caller has no permissions to operate on the resource involved in the -// API call. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - UnauthorizedException +// The caller has no permissions to operate on the resource involved in the +// API call. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/PutSkillAuthorization func (c *AlexaForBusiness) PutSkillAuthorization(input *PutSkillAuthorizationInput) (*PutSkillAuthorizationOutput, error) { @@ -5820,14 +5776,13 @@ const opRegisterAVSDevice = "RegisterAVSDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterAVSDeviceRequest method. +// req, resp := client.RegisterAVSDeviceRequest(params) // -// // Example sending a request using the RegisterAVSDeviceRequest method. -// req, resp := client.RegisterAVSDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RegisterAVSDevice func (c *AlexaForBusiness) RegisterAVSDeviceRequest(input *RegisterAVSDeviceInput) (req *request.Request, output *RegisterAVSDeviceOutput) { @@ -5859,17 +5814,18 @@ func (c *AlexaForBusiness) RegisterAVSDeviceRequest(input *RegisterAVSDeviceInpu // API operation RegisterAVSDevice for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You are performing an action that would put you beyond your account's limits. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - LimitExceededException +// You are performing an action that would put you beyond your account's limits. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // -// * InvalidDeviceException -// The device is in an invalid state. +// - InvalidDeviceException +// The device is in an invalid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RegisterAVSDevice func (c *AlexaForBusiness) RegisterAVSDevice(input *RegisterAVSDeviceInput) (*RegisterAVSDeviceOutput, error) { @@ -5909,14 +5865,13 @@ const opRejectSkill = "RejectSkill" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectSkillRequest method. +// req, resp := client.RejectSkillRequest(params) // -// // Example sending a request using the RejectSkillRequest method. -// req, resp := client.RejectSkillRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RejectSkill func (c *AlexaForBusiness) RejectSkillRequest(input *RejectSkillInput) (req *request.Request, output *RejectSkillOutput) { @@ -5951,11 +5906,12 @@ func (c *AlexaForBusiness) RejectSkillRequest(input *RejectSkillInput) (req *req // API operation RejectSkill for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is a concurrent modification of resources. // -// * NotFoundException -// The resource is not found. +// - ConcurrentModificationException +// There is a concurrent modification of resources. +// +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RejectSkill func (c *AlexaForBusiness) RejectSkill(input *RejectSkillInput) (*RejectSkillOutput, error) { @@ -5995,14 +5951,13 @@ const opResolveRoom = "ResolveRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResolveRoomRequest method. +// req, resp := client.ResolveRoomRequest(params) // -// // Example sending a request using the ResolveRoomRequest method. -// req, resp := client.ResolveRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ResolveRoom func (c *AlexaForBusiness) ResolveRoomRequest(input *ResolveRoomInput) (req *request.Request, output *ResolveRoomOutput) { @@ -6041,8 +5996,8 @@ func (c *AlexaForBusiness) ResolveRoomRequest(input *ResolveRoomInput) (req *req // API operation ResolveRoom for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/ResolveRoom func (c *AlexaForBusiness) ResolveRoom(input *ResolveRoomInput) (*ResolveRoomOutput, error) { @@ -6082,14 +6037,13 @@ const opRevokeInvitation = "RevokeInvitation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeInvitationRequest method. +// req, resp := client.RevokeInvitationRequest(params) // -// // Example sending a request using the RevokeInvitationRequest method. -// req, resp := client.RevokeInvitationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RevokeInvitation func (c *AlexaForBusiness) RevokeInvitationRequest(input *RevokeInvitationInput) (req *request.Request, output *RevokeInvitationOutput) { @@ -6121,11 +6075,12 @@ func (c *AlexaForBusiness) RevokeInvitationRequest(input *RevokeInvitationInput) // API operation RevokeInvitation for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - NotFoundException +// The resource is not found. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/RevokeInvitation func (c *AlexaForBusiness) RevokeInvitation(input *RevokeInvitationInput) (*RevokeInvitationOutput, error) { @@ -6165,14 +6120,13 @@ const opSearchAddressBooks = "SearchAddressBooks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchAddressBooksRequest method. +// req, resp := client.SearchAddressBooksRequest(params) // -// // Example sending a request using the SearchAddressBooksRequest method. -// req, resp := client.SearchAddressBooksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchAddressBooks func (c *AlexaForBusiness) SearchAddressBooksRequest(input *SearchAddressBooksInput) (req *request.Request, output *SearchAddressBooksOutput) { @@ -6238,15 +6192,14 @@ func (c *AlexaForBusiness) SearchAddressBooksWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchAddressBooks operation. -// pageNum := 0 -// err := client.SearchAddressBooksPages(params, -// func(page *alexaforbusiness.SearchAddressBooksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchAddressBooks operation. +// pageNum := 0 +// err := client.SearchAddressBooksPages(params, +// func(page *alexaforbusiness.SearchAddressBooksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) SearchAddressBooksPages(input *SearchAddressBooksInput, fn func(*SearchAddressBooksOutput, bool) bool) error { return c.SearchAddressBooksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6298,14 +6251,13 @@ const opSearchContacts = "SearchContacts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchContactsRequest method. +// req, resp := client.SearchContactsRequest(params) // -// // Example sending a request using the SearchContactsRequest method. -// req, resp := client.SearchContactsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchContacts func (c *AlexaForBusiness) SearchContactsRequest(input *SearchContactsInput) (req *request.Request, output *SearchContactsOutput) { @@ -6370,15 +6322,14 @@ func (c *AlexaForBusiness) SearchContactsWithContext(ctx aws.Context, input *Sea // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchContacts operation. -// pageNum := 0 -// err := client.SearchContactsPages(params, -// func(page *alexaforbusiness.SearchContactsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchContacts operation. +// pageNum := 0 +// err := client.SearchContactsPages(params, +// func(page *alexaforbusiness.SearchContactsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) SearchContactsPages(input *SearchContactsInput, fn func(*SearchContactsOutput, bool) bool) error { return c.SearchContactsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6430,14 +6381,13 @@ const opSearchDevices = "SearchDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchDevicesRequest method. +// req, resp := client.SearchDevicesRequest(params) // -// // Example sending a request using the SearchDevicesRequest method. -// req, resp := client.SearchDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchDevices func (c *AlexaForBusiness) SearchDevicesRequest(input *SearchDevicesInput) (req *request.Request, output *SearchDevicesOutput) { @@ -6502,15 +6452,14 @@ func (c *AlexaForBusiness) SearchDevicesWithContext(ctx aws.Context, input *Sear // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchDevices operation. -// pageNum := 0 -// err := client.SearchDevicesPages(params, -// func(page *alexaforbusiness.SearchDevicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchDevices operation. +// pageNum := 0 +// err := client.SearchDevicesPages(params, +// func(page *alexaforbusiness.SearchDevicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) SearchDevicesPages(input *SearchDevicesInput, fn func(*SearchDevicesOutput, bool) bool) error { return c.SearchDevicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6562,14 +6511,13 @@ const opSearchNetworkProfiles = "SearchNetworkProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchNetworkProfilesRequest method. +// req, resp := client.SearchNetworkProfilesRequest(params) // -// // Example sending a request using the SearchNetworkProfilesRequest method. -// req, resp := client.SearchNetworkProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchNetworkProfiles func (c *AlexaForBusiness) SearchNetworkProfilesRequest(input *SearchNetworkProfilesInput) (req *request.Request, output *SearchNetworkProfilesOutput) { @@ -6635,15 +6583,14 @@ func (c *AlexaForBusiness) SearchNetworkProfilesWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchNetworkProfiles operation. -// pageNum := 0 -// err := client.SearchNetworkProfilesPages(params, -// func(page *alexaforbusiness.SearchNetworkProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchNetworkProfiles operation. +// pageNum := 0 +// err := client.SearchNetworkProfilesPages(params, +// func(page *alexaforbusiness.SearchNetworkProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) SearchNetworkProfilesPages(input *SearchNetworkProfilesInput, fn func(*SearchNetworkProfilesOutput, bool) bool) error { return c.SearchNetworkProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6695,14 +6642,13 @@ const opSearchProfiles = "SearchProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchProfilesRequest method. +// req, resp := client.SearchProfilesRequest(params) // -// // Example sending a request using the SearchProfilesRequest method. -// req, resp := client.SearchProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchProfiles func (c *AlexaForBusiness) SearchProfilesRequest(input *SearchProfilesInput) (req *request.Request, output *SearchProfilesOutput) { @@ -6767,15 +6713,14 @@ func (c *AlexaForBusiness) SearchProfilesWithContext(ctx aws.Context, input *Sea // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchProfiles operation. -// pageNum := 0 -// err := client.SearchProfilesPages(params, -// func(page *alexaforbusiness.SearchProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchProfiles operation. +// pageNum := 0 +// err := client.SearchProfilesPages(params, +// func(page *alexaforbusiness.SearchProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) SearchProfilesPages(input *SearchProfilesInput, fn func(*SearchProfilesOutput, bool) bool) error { return c.SearchProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6827,14 +6772,13 @@ const opSearchRooms = "SearchRooms" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchRoomsRequest method. +// req, resp := client.SearchRoomsRequest(params) // -// // Example sending a request using the SearchRoomsRequest method. -// req, resp := client.SearchRoomsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchRooms func (c *AlexaForBusiness) SearchRoomsRequest(input *SearchRoomsInput) (req *request.Request, output *SearchRoomsOutput) { @@ -6899,15 +6843,14 @@ func (c *AlexaForBusiness) SearchRoomsWithContext(ctx aws.Context, input *Search // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchRooms operation. -// pageNum := 0 -// err := client.SearchRoomsPages(params, -// func(page *alexaforbusiness.SearchRoomsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchRooms operation. +// pageNum := 0 +// err := client.SearchRoomsPages(params, +// func(page *alexaforbusiness.SearchRoomsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) SearchRoomsPages(input *SearchRoomsInput, fn func(*SearchRoomsOutput, bool) bool) error { return c.SearchRoomsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6959,14 +6902,13 @@ const opSearchSkillGroups = "SearchSkillGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchSkillGroupsRequest method. +// req, resp := client.SearchSkillGroupsRequest(params) // -// // Example sending a request using the SearchSkillGroupsRequest method. -// req, resp := client.SearchSkillGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchSkillGroups func (c *AlexaForBusiness) SearchSkillGroupsRequest(input *SearchSkillGroupsInput) (req *request.Request, output *SearchSkillGroupsOutput) { @@ -7032,15 +6974,14 @@ func (c *AlexaForBusiness) SearchSkillGroupsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchSkillGroups operation. -// pageNum := 0 -// err := client.SearchSkillGroupsPages(params, -// func(page *alexaforbusiness.SearchSkillGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchSkillGroups operation. +// pageNum := 0 +// err := client.SearchSkillGroupsPages(params, +// func(page *alexaforbusiness.SearchSkillGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) SearchSkillGroupsPages(input *SearchSkillGroupsInput, fn func(*SearchSkillGroupsOutput, bool) bool) error { return c.SearchSkillGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7092,14 +7033,13 @@ const opSearchUsers = "SearchUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchUsersRequest method. +// req, resp := client.SearchUsersRequest(params) // -// // Example sending a request using the SearchUsersRequest method. -// req, resp := client.SearchUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SearchUsers func (c *AlexaForBusiness) SearchUsersRequest(input *SearchUsersInput) (req *request.Request, output *SearchUsersOutput) { @@ -7164,15 +7104,14 @@ func (c *AlexaForBusiness) SearchUsersWithContext(ctx aws.Context, input *Search // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchUsers operation. -// pageNum := 0 -// err := client.SearchUsersPages(params, -// func(page *alexaforbusiness.SearchUsersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchUsers operation. +// pageNum := 0 +// err := client.SearchUsersPages(params, +// func(page *alexaforbusiness.SearchUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AlexaForBusiness) SearchUsersPages(input *SearchUsersInput, fn func(*SearchUsersOutput, bool) bool) error { return c.SearchUsersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7224,14 +7163,13 @@ const opSendAnnouncement = "SendAnnouncement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendAnnouncementRequest method. +// req, resp := client.SendAnnouncementRequest(params) // -// // Example sending a request using the SendAnnouncementRequest method. -// req, resp := client.SendAnnouncementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SendAnnouncement func (c *AlexaForBusiness) SendAnnouncementRequest(input *SendAnnouncementInput) (req *request.Request, output *SendAnnouncementOutput) { @@ -7263,11 +7201,12 @@ func (c *AlexaForBusiness) SendAnnouncementRequest(input *SendAnnouncementInput) // API operation SendAnnouncement for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You are performing an action that would put you beyond your account's limits. // -// * AlreadyExistsException -// The resource being created already exists. +// - LimitExceededException +// You are performing an action that would put you beyond your account's limits. +// +// - AlreadyExistsException +// The resource being created already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SendAnnouncement func (c *AlexaForBusiness) SendAnnouncement(input *SendAnnouncementInput) (*SendAnnouncementOutput, error) { @@ -7307,14 +7246,13 @@ const opSendInvitation = "SendInvitation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendInvitationRequest method. +// req, resp := client.SendInvitationRequest(params) // -// // Example sending a request using the SendInvitationRequest method. -// req, resp := client.SendInvitationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SendInvitation func (c *AlexaForBusiness) SendInvitationRequest(input *SendInvitationInput) (req *request.Request, output *SendInvitationOutput) { @@ -7347,14 +7285,15 @@ func (c *AlexaForBusiness) SendInvitationRequest(input *SendInvitationInput) (re // API operation SendInvitation for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * InvalidUserStatusException -// The attempt to update a user is invalid due to the user's current status. +// - NotFoundException +// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - InvalidUserStatusException +// The attempt to update a user is invalid due to the user's current status. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/SendInvitation func (c *AlexaForBusiness) SendInvitation(input *SendInvitationInput) (*SendInvitationOutput, error) { @@ -7394,14 +7333,13 @@ const opStartDeviceSync = "StartDeviceSync" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDeviceSyncRequest method. +// req, resp := client.StartDeviceSyncRequest(params) // -// // Example sending a request using the StartDeviceSyncRequest method. -// req, resp := client.StartDeviceSyncRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/StartDeviceSync func (c *AlexaForBusiness) StartDeviceSyncRequest(input *StartDeviceSyncInput) (req *request.Request, output *StartDeviceSyncOutput) { @@ -7426,18 +7364,18 @@ func (c *AlexaForBusiness) StartDeviceSyncRequest(input *StartDeviceSyncInput) ( // Resets a device and its account to the known default settings. This clears // all information and settings set by previous users in the following ways: // -// * Bluetooth - This unpairs all bluetooth devices paired with your echo -// device. +// - Bluetooth - This unpairs all bluetooth devices paired with your echo +// device. // -// * Volume - This resets the echo device's volume to the default value. +// - Volume - This resets the echo device's volume to the default value. // -// * Notifications - This clears all notifications from your echo device. +// - Notifications - This clears all notifications from your echo device. // -// * Lists - This clears all to-do items from your echo device. +// - Lists - This clears all to-do items from your echo device. // -// * Settings - This internally syncs the room's profile (if the device is -// assigned to a room), contacts, address books, delegation access for account -// linking, and communications (if enabled on the room profile). +// - Settings - This internally syncs the room's profile (if the device is +// assigned to a room), contacts, address books, delegation access for account +// linking, and communications (if enabled on the room profile). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7447,9 +7385,9 @@ func (c *AlexaForBusiness) StartDeviceSyncRequest(input *StartDeviceSyncInput) ( // API operation StartDeviceSync for usage and error information. // // Returned Error Types: -// * DeviceNotRegisteredException -// The request failed because this device is no longer registered and therefore -// no longer managed by this account. +// - DeviceNotRegisteredException +// The request failed because this device is no longer registered and therefore +// no longer managed by this account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/StartDeviceSync func (c *AlexaForBusiness) StartDeviceSync(input *StartDeviceSyncInput) (*StartDeviceSyncOutput, error) { @@ -7489,14 +7427,13 @@ const opStartSmartHomeApplianceDiscovery = "StartSmartHomeApplianceDiscovery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartSmartHomeApplianceDiscoveryRequest method. +// req, resp := client.StartSmartHomeApplianceDiscoveryRequest(params) // -// // Example sending a request using the StartSmartHomeApplianceDiscoveryRequest method. -// req, resp := client.StartSmartHomeApplianceDiscoveryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/StartSmartHomeApplianceDiscovery func (c *AlexaForBusiness) StartSmartHomeApplianceDiscoveryRequest(input *StartSmartHomeApplianceDiscoveryInput) (req *request.Request, output *StartSmartHomeApplianceDiscoveryOutput) { @@ -7529,8 +7466,8 @@ func (c *AlexaForBusiness) StartSmartHomeApplianceDiscoveryRequest(input *StartS // API operation StartSmartHomeApplianceDiscovery for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/StartSmartHomeApplianceDiscovery func (c *AlexaForBusiness) StartSmartHomeApplianceDiscovery(input *StartSmartHomeApplianceDiscoveryInput) (*StartSmartHomeApplianceDiscoveryOutput, error) { @@ -7570,14 +7507,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/TagResource func (c *AlexaForBusiness) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -7609,8 +7545,8 @@ func (c *AlexaForBusiness) TagResourceRequest(input *TagResourceInput) (req *req // API operation TagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/TagResource func (c *AlexaForBusiness) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -7650,14 +7586,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UntagResource func (c *AlexaForBusiness) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -7689,8 +7624,8 @@ func (c *AlexaForBusiness) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UntagResource func (c *AlexaForBusiness) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -7730,14 +7665,13 @@ const opUpdateAddressBook = "UpdateAddressBook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAddressBookRequest method. +// req, resp := client.UpdateAddressBookRequest(params) // -// // Example sending a request using the UpdateAddressBookRequest method. -// req, resp := client.UpdateAddressBookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateAddressBook func (c *AlexaForBusiness) UpdateAddressBookRequest(input *UpdateAddressBookInput) (req *request.Request, output *UpdateAddressBookOutput) { @@ -7769,14 +7703,15 @@ func (c *AlexaForBusiness) UpdateAddressBookRequest(input *UpdateAddressBookInpu // API operation UpdateAddressBook for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * NameInUseException -// The name sent in the request is already in use. +// - NotFoundException +// The resource is not found. +// +// - NameInUseException +// The name sent in the request is already in use. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateAddressBook func (c *AlexaForBusiness) UpdateAddressBook(input *UpdateAddressBookInput) (*UpdateAddressBookOutput, error) { @@ -7816,14 +7751,13 @@ const opUpdateBusinessReportSchedule = "UpdateBusinessReportSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBusinessReportScheduleRequest method. +// req, resp := client.UpdateBusinessReportScheduleRequest(params) // -// // Example sending a request using the UpdateBusinessReportScheduleRequest method. -// req, resp := client.UpdateBusinessReportScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateBusinessReportSchedule func (c *AlexaForBusiness) UpdateBusinessReportScheduleRequest(input *UpdateBusinessReportScheduleInput) (req *request.Request, output *UpdateBusinessReportScheduleOutput) { @@ -7856,11 +7790,12 @@ func (c *AlexaForBusiness) UpdateBusinessReportScheduleRequest(input *UpdateBusi // API operation UpdateBusinessReportSchedule for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - NotFoundException +// The resource is not found. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateBusinessReportSchedule func (c *AlexaForBusiness) UpdateBusinessReportSchedule(input *UpdateBusinessReportScheduleInput) (*UpdateBusinessReportScheduleOutput, error) { @@ -7900,14 +7835,13 @@ const opUpdateConferenceProvider = "UpdateConferenceProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConferenceProviderRequest method. +// req, resp := client.UpdateConferenceProviderRequest(params) // -// // Example sending a request using the UpdateConferenceProviderRequest method. -// req, resp := client.UpdateConferenceProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateConferenceProvider func (c *AlexaForBusiness) UpdateConferenceProviderRequest(input *UpdateConferenceProviderInput) (req *request.Request, output *UpdateConferenceProviderOutput) { @@ -7939,8 +7873,8 @@ func (c *AlexaForBusiness) UpdateConferenceProviderRequest(input *UpdateConferen // API operation UpdateConferenceProvider for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. +// - NotFoundException +// The resource is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateConferenceProvider func (c *AlexaForBusiness) UpdateConferenceProvider(input *UpdateConferenceProviderInput) (*UpdateConferenceProviderOutput, error) { @@ -7980,14 +7914,13 @@ const opUpdateContact = "UpdateContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContactRequest method. +// req, resp := client.UpdateContactRequest(params) // -// // Example sending a request using the UpdateContactRequest method. -// req, resp := client.UpdateContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateContact func (c *AlexaForBusiness) UpdateContactRequest(input *UpdateContactInput) (req *request.Request, output *UpdateContactOutput) { @@ -8019,11 +7952,12 @@ func (c *AlexaForBusiness) UpdateContactRequest(input *UpdateContactInput) (req // API operation UpdateContact for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - NotFoundException +// The resource is not found. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateContact func (c *AlexaForBusiness) UpdateContact(input *UpdateContactInput) (*UpdateContactOutput, error) { @@ -8063,14 +7997,13 @@ const opUpdateDevice = "UpdateDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDeviceRequest method. +// req, resp := client.UpdateDeviceRequest(params) // -// // Example sending a request using the UpdateDeviceRequest method. -// req, resp := client.UpdateDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateDevice func (c *AlexaForBusiness) UpdateDeviceRequest(input *UpdateDeviceInput) (req *request.Request, output *UpdateDeviceOutput) { @@ -8102,15 +8035,16 @@ func (c *AlexaForBusiness) UpdateDeviceRequest(input *UpdateDeviceInput) (req *r // API operation UpdateDevice for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - NotFoundException +// The resource is not found. +// +// - ConcurrentModificationException +// There is a concurrent modification of resources. // -// * DeviceNotRegisteredException -// The request failed because this device is no longer registered and therefore -// no longer managed by this account. +// - DeviceNotRegisteredException +// The request failed because this device is no longer registered and therefore +// no longer managed by this account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateDevice func (c *AlexaForBusiness) UpdateDevice(input *UpdateDeviceInput) (*UpdateDeviceOutput, error) { @@ -8150,14 +8084,13 @@ const opUpdateGateway = "UpdateGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGatewayRequest method. +// req, resp := client.UpdateGatewayRequest(params) // -// // Example sending a request using the UpdateGatewayRequest method. -// req, resp := client.UpdateGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateGateway func (c *AlexaForBusiness) UpdateGatewayRequest(input *UpdateGatewayInput) (req *request.Request, output *UpdateGatewayOutput) { @@ -8190,11 +8123,12 @@ func (c *AlexaForBusiness) UpdateGatewayRequest(input *UpdateGatewayInput) (req // API operation UpdateGateway for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * NameInUseException -// The name sent in the request is already in use. +// - NotFoundException +// The resource is not found. +// +// - NameInUseException +// The name sent in the request is already in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateGateway func (c *AlexaForBusiness) UpdateGateway(input *UpdateGatewayInput) (*UpdateGatewayOutput, error) { @@ -8234,14 +8168,13 @@ const opUpdateGatewayGroup = "UpdateGatewayGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGatewayGroupRequest method. +// req, resp := client.UpdateGatewayGroupRequest(params) // -// // Example sending a request using the UpdateGatewayGroupRequest method. -// req, resp := client.UpdateGatewayGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateGatewayGroup func (c *AlexaForBusiness) UpdateGatewayGroupRequest(input *UpdateGatewayGroupInput) (req *request.Request, output *UpdateGatewayGroupOutput) { @@ -8274,11 +8207,12 @@ func (c *AlexaForBusiness) UpdateGatewayGroupRequest(input *UpdateGatewayGroupIn // API operation UpdateGatewayGroup for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * NameInUseException -// The name sent in the request is already in use. +// - NotFoundException +// The resource is not found. +// +// - NameInUseException +// The name sent in the request is already in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateGatewayGroup func (c *AlexaForBusiness) UpdateGatewayGroup(input *UpdateGatewayGroupInput) (*UpdateGatewayGroupOutput, error) { @@ -8318,14 +8252,13 @@ const opUpdateNetworkProfile = "UpdateNetworkProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNetworkProfileRequest method. +// req, resp := client.UpdateNetworkProfileRequest(params) // -// // Example sending a request using the UpdateNetworkProfileRequest method. -// req, resp := client.UpdateNetworkProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateNetworkProfile func (c *AlexaForBusiness) UpdateNetworkProfileRequest(input *UpdateNetworkProfileInput) (req *request.Request, output *UpdateNetworkProfileOutput) { @@ -8357,20 +8290,21 @@ func (c *AlexaForBusiness) UpdateNetworkProfileRequest(input *UpdateNetworkProfi // API operation UpdateNetworkProfile for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * NameInUseException -// The name sent in the request is already in use. +// - NotFoundException +// The resource is not found. +// +// - NameInUseException +// The name sent in the request is already in use. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - ConcurrentModificationException +// There is a concurrent modification of resources. // -// * InvalidCertificateAuthorityException -// The Certificate Authority can't issue or revoke a certificate. +// - InvalidCertificateAuthorityException +// The Certificate Authority can't issue or revoke a certificate. // -// * InvalidSecretsManagerResourceException -// A password in SecretsManager is in an invalid state. +// - InvalidSecretsManagerResourceException +// A password in SecretsManager is in an invalid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateNetworkProfile func (c *AlexaForBusiness) UpdateNetworkProfile(input *UpdateNetworkProfileInput) (*UpdateNetworkProfileOutput, error) { @@ -8410,14 +8344,13 @@ const opUpdateProfile = "UpdateProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProfileRequest method. +// req, resp := client.UpdateProfileRequest(params) // -// // Example sending a request using the UpdateProfileRequest method. -// req, resp := client.UpdateProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateProfile func (c *AlexaForBusiness) UpdateProfileRequest(input *UpdateProfileInput) (req *request.Request, output *UpdateProfileOutput) { @@ -8449,14 +8382,15 @@ func (c *AlexaForBusiness) UpdateProfileRequest(input *UpdateProfileInput) (req // API operation UpdateProfile for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * NameInUseException -// The name sent in the request is already in use. +// - NotFoundException +// The resource is not found. +// +// - NameInUseException +// The name sent in the request is already in use. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateProfile func (c *AlexaForBusiness) UpdateProfile(input *UpdateProfileInput) (*UpdateProfileOutput, error) { @@ -8496,14 +8430,13 @@ const opUpdateRoom = "UpdateRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRoomRequest method. +// req, resp := client.UpdateRoomRequest(params) // -// // Example sending a request using the UpdateRoomRequest method. -// req, resp := client.UpdateRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateRoom func (c *AlexaForBusiness) UpdateRoomRequest(input *UpdateRoomInput) (req *request.Request, output *UpdateRoomOutput) { @@ -8535,11 +8468,12 @@ func (c *AlexaForBusiness) UpdateRoomRequest(input *UpdateRoomInput) (req *reque // API operation UpdateRoom for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * NameInUseException -// The name sent in the request is already in use. +// - NotFoundException +// The resource is not found. +// +// - NameInUseException +// The name sent in the request is already in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateRoom func (c *AlexaForBusiness) UpdateRoom(input *UpdateRoomInput) (*UpdateRoomOutput, error) { @@ -8579,14 +8513,13 @@ const opUpdateSkillGroup = "UpdateSkillGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSkillGroupRequest method. +// req, resp := client.UpdateSkillGroupRequest(params) // -// // Example sending a request using the UpdateSkillGroupRequest method. -// req, resp := client.UpdateSkillGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateSkillGroup func (c *AlexaForBusiness) UpdateSkillGroupRequest(input *UpdateSkillGroupInput) (req *request.Request, output *UpdateSkillGroupOutput) { @@ -8618,14 +8551,15 @@ func (c *AlexaForBusiness) UpdateSkillGroupRequest(input *UpdateSkillGroupInput) // API operation UpdateSkillGroup for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource is not found. // -// * NameInUseException -// The name sent in the request is already in use. +// - NotFoundException +// The resource is not found. +// +// - NameInUseException +// The name sent in the request is already in use. // -// * ConcurrentModificationException -// There is a concurrent modification of resources. +// - ConcurrentModificationException +// There is a concurrent modification of resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/alexaforbusiness-2017-11-09/UpdateSkillGroup func (c *AlexaForBusiness) UpdateSkillGroup(input *UpdateSkillGroupInput) (*UpdateSkillGroupOutput, error) { @@ -16984,12 +16918,12 @@ func (s *MeetingRoomConfiguration) SetRoomUtilizationMetricsEnabled(v bool) *Mee // The values that indicate whether a pin is always required (YES), never required // (NO), or OPTIONAL. // -// * If YES, Alexa will always ask for a meeting pin. +// - If YES, Alexa will always ask for a meeting pin. // -// * If NO, Alexa will never ask for a meeting pin. +// - If NO, Alexa will never ask for a meeting pin. // -// * If OPTIONAL, Alexa will ask if you have a meeting pin and if the customer -// responds with yes, it will ask for the meeting pin. +// - If OPTIONAL, Alexa will ask if you have a meeting pin and if the customer +// responds with yes, it will ask for the meeting pin. type MeetingSetting struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/doc.go index 1ac093c449aa..1ec6e3f4f7a2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/doc.go @@ -19,7 +19,7 @@ // See alexaforbusiness package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/alexaforbusiness/ // -// Using the Client +// # Using the Client // // To contact Alexa For Business with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/service.go index 6bc24d533e54..0608e1b8d0c3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/alexaforbusiness/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AlexaForBusiness client from just a session. -// svc := alexaforbusiness.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AlexaForBusiness client with additional configuration -// svc := alexaforbusiness.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AlexaForBusiness client from just a session. +// svc := alexaforbusiness.New(mySession) +// +// // Create a AlexaForBusiness client with additional configuration +// svc := alexaforbusiness.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AlexaForBusiness { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/amplifyiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/amplifyiface/interface.go index fbd3eeb104ef..6fdd83caeb67 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/amplifyiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/amplifyiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Amplify. -// func myFunc(svc amplifyiface.AmplifyAPI) bool { -// // Make svc.CreateApp request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Amplify. +// func myFunc(svc amplifyiface.AmplifyAPI) bool { +// // Make svc.CreateApp request +// } // -// func main() { -// sess := session.New() -// svc := amplify.New(sess) +// func main() { +// sess := session.New() +// svc := amplify.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAmplifyClient struct { -// amplifyiface.AmplifyAPI -// } -// func (m *mockAmplifyClient) CreateApp(input *amplify.CreateAppInput) (*amplify.CreateAppOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAmplifyClient struct { +// amplifyiface.AmplifyAPI +// } +// func (m *mockAmplifyClient) CreateApp(input *amplify.CreateAppInput) (*amplify.CreateAppOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAmplifyClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAmplifyClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/api.go index ee9e870a8b0f..0a84750a1155 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/api.go @@ -29,14 +29,13 @@ const opCreateApp = "CreateApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppRequest method. +// req, resp := client.CreateAppRequest(params) // -// // Example sending a request using the CreateAppRequest method. -// req, resp := client.CreateAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp func (c *Amplify) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput) { @@ -67,20 +66,21 @@ func (c *Amplify) CreateAppRequest(input *CreateAppInput) (req *request.Request, // API operation CreateApp for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // -// * DependentServiceFailureException -// An operation failed because a dependent service threw an exception. +// - DependentServiceFailureException +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateApp func (c *Amplify) CreateApp(input *CreateAppInput) (*CreateAppOutput, error) { @@ -120,14 +120,13 @@ const opCreateBackendEnvironment = "CreateBackendEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBackendEnvironmentRequest method. +// req, resp := client.CreateBackendEnvironmentRequest(params) // -// // Example sending a request using the CreateBackendEnvironmentRequest method. -// req, resp := client.CreateBackendEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment func (c *Amplify) CreateBackendEnvironmentRequest(input *CreateBackendEnvironmentInput) (req *request.Request, output *CreateBackendEnvironmentOutput) { @@ -158,20 +157,21 @@ func (c *Amplify) CreateBackendEnvironmentRequest(input *CreateBackendEnvironmen // API operation CreateBackendEnvironment for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. // -// * NotFoundException -// An entity was not found during an operation. +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - NotFoundException +// An entity was not found during an operation. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. +// +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBackendEnvironment func (c *Amplify) CreateBackendEnvironment(input *CreateBackendEnvironmentInput) (*CreateBackendEnvironmentOutput, error) { @@ -211,14 +211,13 @@ const opCreateBranch = "CreateBranch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBranchRequest method. +// req, resp := client.CreateBranchRequest(params) // -// // Example sending a request using the CreateBranchRequest method. -// req, resp := client.CreateBranchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch func (c *Amplify) CreateBranchRequest(input *CreateBranchInput) (req *request.Request, output *CreateBranchOutput) { @@ -249,23 +248,24 @@ func (c *Amplify) CreateBranchRequest(input *CreateBranchInput) (req *request.Re // API operation CreateBranch for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. // -// * NotFoundException -// An entity was not found during an operation. +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - NotFoundException +// An entity was not found during an operation. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * DependentServiceFailureException -// An operation failed because a dependent service threw an exception. +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. +// +// - DependentServiceFailureException +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateBranch func (c *Amplify) CreateBranch(input *CreateBranchInput) (*CreateBranchOutput, error) { @@ -305,14 +305,13 @@ const opCreateDeployment = "CreateDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeploymentRequest method. +// req, resp := client.CreateDeploymentRequest(params) // -// // Example sending a request using the CreateDeploymentRequest method. -// req, resp := client.CreateDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment func (c *Amplify) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *CreateDeploymentOutput) { @@ -344,17 +343,18 @@ func (c *Amplify) CreateDeploymentRequest(input *CreateDeploymentInput) (req *re // API operation CreateDeployment for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDeployment func (c *Amplify) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error) { @@ -394,14 +394,13 @@ const opCreateDomainAssociation = "CreateDomainAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDomainAssociationRequest method. +// req, resp := client.CreateDomainAssociationRequest(params) // -// // Example sending a request using the CreateDomainAssociationRequest method. -// req, resp := client.CreateDomainAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation func (c *Amplify) CreateDomainAssociationRequest(input *CreateDomainAssociationInput) (req *request.Request, output *CreateDomainAssociationOutput) { @@ -433,23 +432,24 @@ func (c *Amplify) CreateDomainAssociationRequest(input *CreateDomainAssociationI // API operation CreateDomainAssociation for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * NotFoundException -// An entity was not found during an operation. +// - NotFoundException +// An entity was not found during an operation. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // -// * DependentServiceFailureException -// An operation failed because a dependent service threw an exception. +// - DependentServiceFailureException +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateDomainAssociation func (c *Amplify) CreateDomainAssociation(input *CreateDomainAssociationInput) (*CreateDomainAssociationOutput, error) { @@ -489,14 +489,13 @@ const opCreateWebhook = "CreateWebhook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWebhookRequest method. +// req, resp := client.CreateWebhookRequest(params) // -// // Example sending a request using the CreateWebhookRequest method. -// req, resp := client.CreateWebhookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook func (c *Amplify) CreateWebhookRequest(input *CreateWebhookInput) (req *request.Request, output *CreateWebhookOutput) { @@ -527,23 +526,24 @@ func (c *Amplify) CreateWebhookRequest(input *CreateWebhookInput) (req *request. // API operation CreateWebhook for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * NotFoundException -// An entity was not found during an operation. +// - NotFoundException +// An entity was not found during an operation. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // -// * DependentServiceFailureException -// An operation failed because a dependent service threw an exception. +// - DependentServiceFailureException +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/CreateWebhook func (c *Amplify) CreateWebhook(input *CreateWebhookInput) (*CreateWebhookOutput, error) { @@ -583,14 +583,13 @@ const opDeleteApp = "DeleteApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppRequest method. +// req, resp := client.DeleteAppRequest(params) // -// // Example sending a request using the DeleteAppRequest method. -// req, resp := client.DeleteAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp func (c *Amplify) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput) { @@ -621,20 +620,21 @@ func (c *Amplify) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, // API operation DeleteApp for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * NotFoundException -// An entity was not found during an operation. +// - BadRequestException +// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - NotFoundException +// An entity was not found during an operation. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * DependentServiceFailureException -// An operation failed because a dependent service threw an exception. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. +// +// - DependentServiceFailureException +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteApp func (c *Amplify) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error) { @@ -674,14 +674,13 @@ const opDeleteBackendEnvironment = "DeleteBackendEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBackendEnvironmentRequest method. +// req, resp := client.DeleteBackendEnvironmentRequest(params) // -// // Example sending a request using the DeleteBackendEnvironmentRequest method. -// req, resp := client.DeleteBackendEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment func (c *Amplify) DeleteBackendEnvironmentRequest(input *DeleteBackendEnvironmentInput) (req *request.Request, output *DeleteBackendEnvironmentOutput) { @@ -712,20 +711,21 @@ func (c *Amplify) DeleteBackendEnvironmentRequest(input *DeleteBackendEnvironmen // API operation DeleteBackendEnvironment for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. // -// * NotFoundException -// An entity was not found during an operation. +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - NotFoundException +// An entity was not found during an operation. // -// * DependentServiceFailureException -// An operation failed because a dependent service threw an exception. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. +// +// - DependentServiceFailureException +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBackendEnvironment func (c *Amplify) DeleteBackendEnvironment(input *DeleteBackendEnvironmentInput) (*DeleteBackendEnvironmentOutput, error) { @@ -765,14 +765,13 @@ const opDeleteBranch = "DeleteBranch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBranchRequest method. +// req, resp := client.DeleteBranchRequest(params) // -// // Example sending a request using the DeleteBranchRequest method. -// req, resp := client.DeleteBranchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch func (c *Amplify) DeleteBranchRequest(input *DeleteBranchInput) (req *request.Request, output *DeleteBranchOutput) { @@ -803,20 +802,21 @@ func (c *Amplify) DeleteBranchRequest(input *DeleteBranchInput) (req *request.Re // API operation DeleteBranch for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. // -// * NotFoundException -// An entity was not found during an operation. +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - NotFoundException +// An entity was not found during an operation. // -// * DependentServiceFailureException -// An operation failed because a dependent service threw an exception. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. +// +// - DependentServiceFailureException +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteBranch func (c *Amplify) DeleteBranch(input *DeleteBranchInput) (*DeleteBranchOutput, error) { @@ -856,14 +856,13 @@ const opDeleteDomainAssociation = "DeleteDomainAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainAssociationRequest method. +// req, resp := client.DeleteDomainAssociationRequest(params) // -// // Example sending a request using the DeleteDomainAssociationRequest method. -// req, resp := client.DeleteDomainAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation func (c *Amplify) DeleteDomainAssociationRequest(input *DeleteDomainAssociationInput) (req *request.Request, output *DeleteDomainAssociationOutput) { @@ -894,20 +893,21 @@ func (c *Amplify) DeleteDomainAssociationRequest(input *DeleteDomainAssociationI // API operation DeleteDomainAssociation for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. // -// * NotFoundException -// An entity was not found during an operation. +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - NotFoundException +// An entity was not found during an operation. // -// * DependentServiceFailureException -// An operation failed because a dependent service threw an exception. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. +// +// - DependentServiceFailureException +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteDomainAssociation func (c *Amplify) DeleteDomainAssociation(input *DeleteDomainAssociationInput) (*DeleteDomainAssociationOutput, error) { @@ -947,14 +947,13 @@ const opDeleteJob = "DeleteJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteJobRequest method. +// req, resp := client.DeleteJobRequest(params) // -// // Example sending a request using the DeleteJobRequest method. -// req, resp := client.DeleteJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob func (c *Amplify) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, output *DeleteJobOutput) { @@ -985,20 +984,21 @@ func (c *Amplify) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, // API operation DeleteJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * NotFoundException -// An entity was not found during an operation. +// - NotFoundException +// An entity was not found during an operation. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteJob func (c *Amplify) DeleteJob(input *DeleteJobInput) (*DeleteJobOutput, error) { @@ -1038,14 +1038,13 @@ const opDeleteWebhook = "DeleteWebhook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWebhookRequest method. +// req, resp := client.DeleteWebhookRequest(params) // -// // Example sending a request using the DeleteWebhookRequest method. -// req, resp := client.DeleteWebhookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook func (c *Amplify) DeleteWebhookRequest(input *DeleteWebhookInput) (req *request.Request, output *DeleteWebhookOutput) { @@ -1076,20 +1075,21 @@ func (c *Amplify) DeleteWebhookRequest(input *DeleteWebhookInput) (req *request. // API operation DeleteWebhook for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * NotFoundException -// An entity was not found during an operation. +// - NotFoundException +// An entity was not found during an operation. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/DeleteWebhook func (c *Amplify) DeleteWebhook(input *DeleteWebhookInput) (*DeleteWebhookOutput, error) { @@ -1129,14 +1129,13 @@ const opGenerateAccessLogs = "GenerateAccessLogs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateAccessLogsRequest method. +// req, resp := client.GenerateAccessLogsRequest(params) // -// // Example sending a request using the GenerateAccessLogsRequest method. -// req, resp := client.GenerateAccessLogsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs func (c *Amplify) GenerateAccessLogsRequest(input *GenerateAccessLogsInput) (req *request.Request, output *GenerateAccessLogsOutput) { @@ -1168,17 +1167,18 @@ func (c *Amplify) GenerateAccessLogsRequest(input *GenerateAccessLogsInput) (req // API operation GenerateAccessLogs for usage and error information. // // Returned Error Types: -// * NotFoundException -// An entity was not found during an operation. // -// * BadRequestException -// A request contains unexpected data. +// - NotFoundException +// An entity was not found during an operation. +// +// - BadRequestException +// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GenerateAccessLogs func (c *Amplify) GenerateAccessLogs(input *GenerateAccessLogsInput) (*GenerateAccessLogsOutput, error) { @@ -1218,14 +1218,13 @@ const opGetApp = "GetApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAppRequest method. +// req, resp := client.GetAppRequest(params) // -// // Example sending a request using the GetAppRequest method. -// req, resp := client.GetAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp func (c *Amplify) GetAppRequest(input *GetAppInput) (req *request.Request, output *GetAppOutput) { @@ -1256,17 +1255,18 @@ func (c *Amplify) GetAppRequest(input *GetAppInput) (req *request.Request, outpu // API operation GetApp for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * NotFoundException -// An entity was not found during an operation. +// - BadRequestException +// A request contains unexpected data. +// +// - NotFoundException +// An entity was not found during an operation. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetApp func (c *Amplify) GetApp(input *GetAppInput) (*GetAppOutput, error) { @@ -1306,14 +1306,13 @@ const opGetArtifactUrl = "GetArtifactUrl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetArtifactUrlRequest method. +// req, resp := client.GetArtifactUrlRequest(params) // -// // Example sending a request using the GetArtifactUrlRequest method. -// req, resp := client.GetArtifactUrlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl func (c *Amplify) GetArtifactUrlRequest(input *GetArtifactUrlInput) (req *request.Request, output *GetArtifactUrlOutput) { @@ -1344,20 +1343,21 @@ func (c *Amplify) GetArtifactUrlRequest(input *GetArtifactUrlInput) (req *reques // API operation GetArtifactUrl for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * NotFoundException -// An entity was not found during an operation. +// - NotFoundException +// An entity was not found during an operation. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetArtifactUrl func (c *Amplify) GetArtifactUrl(input *GetArtifactUrlInput) (*GetArtifactUrlOutput, error) { @@ -1397,14 +1397,13 @@ const opGetBackendEnvironment = "GetBackendEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBackendEnvironmentRequest method. +// req, resp := client.GetBackendEnvironmentRequest(params) // -// // Example sending a request using the GetBackendEnvironmentRequest method. -// req, resp := client.GetBackendEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment func (c *Amplify) GetBackendEnvironmentRequest(input *GetBackendEnvironmentInput) (req *request.Request, output *GetBackendEnvironmentOutput) { @@ -1435,17 +1434,18 @@ func (c *Amplify) GetBackendEnvironmentRequest(input *GetBackendEnvironmentInput // API operation GetBackendEnvironment for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. // -// * NotFoundException -// An entity was not found during an operation. +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - NotFoundException +// An entity was not found during an operation. +// +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBackendEnvironment func (c *Amplify) GetBackendEnvironment(input *GetBackendEnvironmentInput) (*GetBackendEnvironmentOutput, error) { @@ -1485,14 +1485,13 @@ const opGetBranch = "GetBranch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBranchRequest method. +// req, resp := client.GetBranchRequest(params) // -// // Example sending a request using the GetBranchRequest method. -// req, resp := client.GetBranchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch func (c *Amplify) GetBranchRequest(input *GetBranchInput) (req *request.Request, output *GetBranchOutput) { @@ -1523,17 +1522,18 @@ func (c *Amplify) GetBranchRequest(input *GetBranchInput) (req *request.Request, // API operation GetBranch for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. // -// * NotFoundException -// An entity was not found during an operation. +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - NotFoundException +// An entity was not found during an operation. +// +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetBranch func (c *Amplify) GetBranch(input *GetBranchInput) (*GetBranchOutput, error) { @@ -1573,14 +1573,13 @@ const opGetDomainAssociation = "GetDomainAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainAssociationRequest method. +// req, resp := client.GetDomainAssociationRequest(params) // -// // Example sending a request using the GetDomainAssociationRequest method. -// req, resp := client.GetDomainAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation func (c *Amplify) GetDomainAssociationRequest(input *GetDomainAssociationInput) (req *request.Request, output *GetDomainAssociationOutput) { @@ -1611,17 +1610,18 @@ func (c *Amplify) GetDomainAssociationRequest(input *GetDomainAssociationInput) // API operation GetDomainAssociation for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. // -// * NotFoundException -// An entity was not found during an operation. +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - NotFoundException +// An entity was not found during an operation. +// +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetDomainAssociation func (c *Amplify) GetDomainAssociation(input *GetDomainAssociationInput) (*GetDomainAssociationOutput, error) { @@ -1661,14 +1661,13 @@ const opGetJob = "GetJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobRequest method. +// req, resp := client.GetJobRequest(params) // -// // Example sending a request using the GetJobRequest method. -// req, resp := client.GetJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob func (c *Amplify) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput) { @@ -1699,20 +1698,21 @@ func (c *Amplify) GetJobRequest(input *GetJobInput) (req *request.Request, outpu // API operation GetJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * NotFoundException -// An entity was not found during an operation. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - NotFoundException +// An entity was not found during an operation. +// +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetJob func (c *Amplify) GetJob(input *GetJobInput) (*GetJobOutput, error) { @@ -1752,14 +1752,13 @@ const opGetWebhook = "GetWebhook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWebhookRequest method. +// req, resp := client.GetWebhookRequest(params) // -// // Example sending a request using the GetWebhookRequest method. -// req, resp := client.GetWebhookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook func (c *Amplify) GetWebhookRequest(input *GetWebhookInput) (req *request.Request, output *GetWebhookOutput) { @@ -1790,20 +1789,21 @@ func (c *Amplify) GetWebhookRequest(input *GetWebhookInput) (req *request.Reques // API operation GetWebhook for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * NotFoundException -// An entity was not found during an operation. +// - NotFoundException +// An entity was not found during an operation. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/GetWebhook func (c *Amplify) GetWebhook(input *GetWebhookInput) (*GetWebhookOutput, error) { @@ -1843,14 +1843,13 @@ const opListApps = "ListApps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppsRequest method. +// req, resp := client.ListAppsRequest(params) // -// // Example sending a request using the ListAppsRequest method. -// req, resp := client.ListAppsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps func (c *Amplify) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput) { @@ -1881,14 +1880,15 @@ func (c *Amplify) ListAppsRequest(input *ListAppsInput) (req *request.Request, o // API operation ListApps for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListApps func (c *Amplify) ListApps(input *ListAppsInput) (*ListAppsOutput, error) { @@ -1928,14 +1928,13 @@ const opListArtifacts = "ListArtifacts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListArtifactsRequest method. +// req, resp := client.ListArtifactsRequest(params) // -// // Example sending a request using the ListArtifactsRequest method. -// req, resp := client.ListArtifactsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts func (c *Amplify) ListArtifactsRequest(input *ListArtifactsInput) (req *request.Request, output *ListArtifactsOutput) { @@ -1966,17 +1965,18 @@ func (c *Amplify) ListArtifactsRequest(input *ListArtifactsInput) (req *request. // API operation ListArtifacts for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListArtifacts func (c *Amplify) ListArtifacts(input *ListArtifactsInput) (*ListArtifactsOutput, error) { @@ -2016,14 +2016,13 @@ const opListBackendEnvironments = "ListBackendEnvironments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBackendEnvironmentsRequest method. +// req, resp := client.ListBackendEnvironmentsRequest(params) // -// // Example sending a request using the ListBackendEnvironmentsRequest method. -// req, resp := client.ListBackendEnvironmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments func (c *Amplify) ListBackendEnvironmentsRequest(input *ListBackendEnvironmentsInput) (req *request.Request, output *ListBackendEnvironmentsOutput) { @@ -2054,14 +2053,15 @@ func (c *Amplify) ListBackendEnvironmentsRequest(input *ListBackendEnvironmentsI // API operation ListBackendEnvironments for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - UnauthorizedException +// An operation failed due to a lack of access. +// +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBackendEnvironments func (c *Amplify) ListBackendEnvironments(input *ListBackendEnvironmentsInput) (*ListBackendEnvironmentsOutput, error) { @@ -2101,14 +2101,13 @@ const opListBranches = "ListBranches" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBranchesRequest method. +// req, resp := client.ListBranchesRequest(params) // -// // Example sending a request using the ListBranchesRequest method. -// req, resp := client.ListBranchesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches func (c *Amplify) ListBranchesRequest(input *ListBranchesInput) (req *request.Request, output *ListBranchesOutput) { @@ -2139,14 +2138,15 @@ func (c *Amplify) ListBranchesRequest(input *ListBranchesInput) (req *request.Re // API operation ListBranches for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - UnauthorizedException +// An operation failed due to a lack of access. +// +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListBranches func (c *Amplify) ListBranches(input *ListBranchesInput) (*ListBranchesOutput, error) { @@ -2186,14 +2186,13 @@ const opListDomainAssociations = "ListDomainAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainAssociationsRequest method. +// req, resp := client.ListDomainAssociationsRequest(params) // -// // Example sending a request using the ListDomainAssociationsRequest method. -// req, resp := client.ListDomainAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations func (c *Amplify) ListDomainAssociationsRequest(input *ListDomainAssociationsInput) (req *request.Request, output *ListDomainAssociationsOutput) { @@ -2224,14 +2223,15 @@ func (c *Amplify) ListDomainAssociationsRequest(input *ListDomainAssociationsInp // API operation ListDomainAssociations for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListDomainAssociations func (c *Amplify) ListDomainAssociations(input *ListDomainAssociationsInput) (*ListDomainAssociationsOutput, error) { @@ -2271,14 +2271,13 @@ const opListJobs = "ListJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobsRequest method. +// req, resp := client.ListJobsRequest(params) // -// // Example sending a request using the ListJobsRequest method. -// req, resp := client.ListJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs func (c *Amplify) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { @@ -2309,17 +2308,18 @@ func (c *Amplify) ListJobsRequest(input *ListJobsInput) (req *request.Request, o // API operation ListJobs for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListJobs func (c *Amplify) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { @@ -2359,14 +2359,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource func (c *Amplify) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2397,14 +2396,15 @@ func (c *Amplify) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. // -// * BadRequestException -// A request contains unexpected data. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. +// +// - BadRequestException +// A request contains unexpected data. // -// * ResourceNotFoundException -// An operation failed due to a non-existent resource. +// - ResourceNotFoundException +// An operation failed due to a non-existent resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListTagsForResource func (c *Amplify) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2444,14 +2444,13 @@ const opListWebhooks = "ListWebhooks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWebhooksRequest method. +// req, resp := client.ListWebhooksRequest(params) // -// // Example sending a request using the ListWebhooksRequest method. -// req, resp := client.ListWebhooksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks func (c *Amplify) ListWebhooksRequest(input *ListWebhooksInput) (req *request.Request, output *ListWebhooksOutput) { @@ -2482,17 +2481,18 @@ func (c *Amplify) ListWebhooksRequest(input *ListWebhooksInput) (req *request.Re // API operation ListWebhooks for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/ListWebhooks func (c *Amplify) ListWebhooks(input *ListWebhooksInput) (*ListWebhooksOutput, error) { @@ -2532,14 +2532,13 @@ const opStartDeployment = "StartDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDeploymentRequest method. +// req, resp := client.StartDeploymentRequest(params) // -// // Example sending a request using the StartDeploymentRequest method. -// req, resp := client.StartDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment func (c *Amplify) StartDeploymentRequest(input *StartDeploymentInput) (req *request.Request, output *StartDeploymentOutput) { @@ -2571,20 +2570,21 @@ func (c *Amplify) StartDeploymentRequest(input *StartDeploymentInput) (req *requ // API operation StartDeployment for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * NotFoundException -// An entity was not found during an operation. +// - NotFoundException +// An entity was not found during an operation. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartDeployment func (c *Amplify) StartDeployment(input *StartDeploymentInput) (*StartDeploymentOutput, error) { @@ -2624,14 +2624,13 @@ const opStartJob = "StartJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartJobRequest method. +// req, resp := client.StartJobRequest(params) // -// // Example sending a request using the StartJobRequest method. -// req, resp := client.StartJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob func (c *Amplify) StartJobRequest(input *StartJobInput) (req *request.Request, output *StartJobOutput) { @@ -2662,20 +2661,21 @@ func (c *Amplify) StartJobRequest(input *StartJobInput) (req *request.Request, o // API operation StartJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * NotFoundException -// An entity was not found during an operation. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - NotFoundException +// An entity was not found during an operation. +// +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StartJob func (c *Amplify) StartJob(input *StartJobInput) (*StartJobOutput, error) { @@ -2715,14 +2715,13 @@ const opStopJob = "StopJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopJobRequest method. +// req, resp := client.StopJobRequest(params) // -// // Example sending a request using the StopJobRequest method. -// req, resp := client.StopJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob func (c *Amplify) StopJobRequest(input *StopJobInput) (req *request.Request, output *StopJobOutput) { @@ -2753,20 +2752,21 @@ func (c *Amplify) StopJobRequest(input *StopJobInput) (req *request.Request, out // API operation StopJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * NotFoundException -// An entity was not found during an operation. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * LimitExceededException -// A resource could not be created because service quotas were exceeded. +// - NotFoundException +// An entity was not found during an operation. +// +// - LimitExceededException +// A resource could not be created because service quotas were exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/StopJob func (c *Amplify) StopJob(input *StopJobInput) (*StopJobOutput, error) { @@ -2806,14 +2806,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource func (c *Amplify) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2845,14 +2844,15 @@ func (c *Amplify) TagResourceRequest(input *TagResourceInput) (req *request.Requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. // -// * BadRequestException -// A request contains unexpected data. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * ResourceNotFoundException -// An operation failed due to a non-existent resource. +// - BadRequestException +// A request contains unexpected data. +// +// - ResourceNotFoundException +// An operation failed due to a non-existent resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/TagResource func (c *Amplify) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2892,14 +2892,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource func (c *Amplify) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2931,14 +2930,15 @@ func (c *Amplify) UntagResourceRequest(input *UntagResourceInput) (req *request. // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. // -// * BadRequestException -// A request contains unexpected data. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * ResourceNotFoundException -// An operation failed due to a non-existent resource. +// - BadRequestException +// A request contains unexpected data. +// +// - ResourceNotFoundException +// An operation failed due to a non-existent resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UntagResource func (c *Amplify) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2978,14 +2978,13 @@ const opUpdateApp = "UpdateApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAppRequest method. +// req, resp := client.UpdateAppRequest(params) // -// // Example sending a request using the UpdateAppRequest method. -// req, resp := client.UpdateAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp func (c *Amplify) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, output *UpdateAppOutput) { @@ -3016,17 +3015,18 @@ func (c *Amplify) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, // API operation UpdateApp for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * NotFoundException -// An entity was not found during an operation. +// - BadRequestException +// A request contains unexpected data. +// +// - NotFoundException +// An entity was not found during an operation. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateApp func (c *Amplify) UpdateApp(input *UpdateAppInput) (*UpdateAppOutput, error) { @@ -3066,14 +3066,13 @@ const opUpdateBranch = "UpdateBranch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBranchRequest method. +// req, resp := client.UpdateBranchRequest(params) // -// // Example sending a request using the UpdateBranchRequest method. -// req, resp := client.UpdateBranchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch func (c *Amplify) UpdateBranchRequest(input *UpdateBranchInput) (req *request.Request, output *UpdateBranchOutput) { @@ -3104,20 +3103,21 @@ func (c *Amplify) UpdateBranchRequest(input *UpdateBranchInput) (req *request.Re // API operation UpdateBranch for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * NotFoundException -// An entity was not found during an operation. +// - NotFoundException +// An entity was not found during an operation. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * DependentServiceFailureException -// An operation failed because a dependent service threw an exception. +// - DependentServiceFailureException +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateBranch func (c *Amplify) UpdateBranch(input *UpdateBranchInput) (*UpdateBranchOutput, error) { @@ -3157,14 +3157,13 @@ const opUpdateDomainAssociation = "UpdateDomainAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDomainAssociationRequest method. +// req, resp := client.UpdateDomainAssociationRequest(params) // -// // Example sending a request using the UpdateDomainAssociationRequest method. -// req, resp := client.UpdateDomainAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation func (c *Amplify) UpdateDomainAssociationRequest(input *UpdateDomainAssociationInput) (req *request.Request, output *UpdateDomainAssociationOutput) { @@ -3195,20 +3194,21 @@ func (c *Amplify) UpdateDomainAssociationRequest(input *UpdateDomainAssociationI // API operation UpdateDomainAssociation for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * NotFoundException -// An entity was not found during an operation. +// - NotFoundException +// An entity was not found during an operation. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * DependentServiceFailureException -// An operation failed because a dependent service threw an exception. +// - DependentServiceFailureException +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateDomainAssociation func (c *Amplify) UpdateDomainAssociation(input *UpdateDomainAssociationInput) (*UpdateDomainAssociationOutput, error) { @@ -3248,14 +3248,13 @@ const opUpdateWebhook = "UpdateWebhook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWebhookRequest method. +// req, resp := client.UpdateWebhookRequest(params) // -// // Example sending a request using the UpdateWebhookRequest method. -// req, resp := client.UpdateWebhookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook func (c *Amplify) UpdateWebhookRequest(input *UpdateWebhookInput) (req *request.Request, output *UpdateWebhookOutput) { @@ -3286,20 +3285,21 @@ func (c *Amplify) UpdateWebhookRequest(input *UpdateWebhookInput) (req *request. // API operation UpdateWebhook for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. // -// * UnauthorizedException -// An operation failed due to a lack of access. +// - BadRequestException +// A request contains unexpected data. +// +// - UnauthorizedException +// An operation failed due to a lack of access. // -// * NotFoundException -// An entity was not found during an operation. +// - NotFoundException +// An entity was not found during an operation. // -// * InternalFailureException -// The service failed to perform an operation due to an internal issue. +// - InternalFailureException +// The service failed to perform an operation due to an internal issue. // -// * DependentServiceFailureException -// An operation failed because a dependent service threw an exception. +// - DependentServiceFailureException +// An operation failed because a dependent service threw an exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/UpdateWebhook func (c *Amplify) UpdateWebhook(input *UpdateWebhookInput) (*UpdateWebhookOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/doc.go index e1395d3fd2f0..c80f7e45755b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/doc.go @@ -16,7 +16,7 @@ // See amplify package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/amplify/ // -// Using the Client +// # Using the Client // // To contact AWS Amplify with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/service.go index 307b78668ca1..b24e2a3b890f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplify/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Amplify client from just a session. -// svc := amplify.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Amplify client with additional configuration -// svc := amplify.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Amplify client from just a session. +// svc := amplify.New(mySession) +// +// // Create a Amplify client with additional configuration +// svc := amplify.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Amplify { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/amplifybackendiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/amplifybackendiface/interface.go index 0f2a5f3bbbdd..47942b1b6676 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/amplifybackendiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/amplifybackendiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AmplifyBackend. -// func myFunc(svc amplifybackendiface.AmplifyBackendAPI) bool { -// // Make svc.CloneBackend request -// } +// // myFunc uses an SDK service client to make a request to +// // AmplifyBackend. +// func myFunc(svc amplifybackendiface.AmplifyBackendAPI) bool { +// // Make svc.CloneBackend request +// } // -// func main() { -// sess := session.New() -// svc := amplifybackend.New(sess) +// func main() { +// sess := session.New() +// svc := amplifybackend.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAmplifyBackendClient struct { -// amplifybackendiface.AmplifyBackendAPI -// } -// func (m *mockAmplifyBackendClient) CloneBackend(input *amplifybackend.CloneBackendInput) (*amplifybackend.CloneBackendOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAmplifyBackendClient struct { +// amplifybackendiface.AmplifyBackendAPI +// } +// func (m *mockAmplifyBackendClient) CloneBackend(input *amplifybackend.CloneBackendInput) (*amplifybackend.CloneBackendOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAmplifyBackendClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAmplifyBackendClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/api.go index 6989f188d37a..9d2f8a7d5cba 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/api.go @@ -27,14 +27,13 @@ const opCloneBackend = "CloneBackend" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CloneBackendRequest method. +// req, resp := client.CloneBackendRequest(params) // -// // Example sending a request using the CloneBackendRequest method. -// req, resp := client.CloneBackendRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend func (c *AmplifyBackend) CloneBackendRequest(input *CloneBackendInput) (req *request.Request, output *CloneBackendOutput) { @@ -65,17 +64,18 @@ func (c *AmplifyBackend) CloneBackendRequest(input *CloneBackendInput) (req *req // API operation CloneBackend for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend func (c *AmplifyBackend) CloneBackend(input *CloneBackendInput) (*CloneBackendOutput, error) { @@ -115,14 +115,13 @@ const opCreateBackend = "CreateBackend" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBackendRequest method. +// req, resp := client.CreateBackendRequest(params) // -// // Example sending a request using the CreateBackendRequest method. -// req, resp := client.CreateBackendRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend func (c *AmplifyBackend) CreateBackendRequest(input *CreateBackendInput) (req *request.Request, output *CreateBackendOutput) { @@ -154,17 +153,18 @@ func (c *AmplifyBackend) CreateBackendRequest(input *CreateBackendInput) (req *r // API operation CreateBackend for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend func (c *AmplifyBackend) CreateBackend(input *CreateBackendInput) (*CreateBackendOutput, error) { @@ -204,14 +204,13 @@ const opCreateBackendAPI = "CreateBackendAPI" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBackendAPIRequest method. +// req, resp := client.CreateBackendAPIRequest(params) // -// // Example sending a request using the CreateBackendAPIRequest method. -// req, resp := client.CreateBackendAPIRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI func (c *AmplifyBackend) CreateBackendAPIRequest(input *CreateBackendAPIInput) (req *request.Request, output *CreateBackendAPIOutput) { @@ -242,17 +241,18 @@ func (c *AmplifyBackend) CreateBackendAPIRequest(input *CreateBackendAPIInput) ( // API operation CreateBackendAPI for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI func (c *AmplifyBackend) CreateBackendAPI(input *CreateBackendAPIInput) (*CreateBackendAPIOutput, error) { @@ -292,14 +292,13 @@ const opCreateBackendAuth = "CreateBackendAuth" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBackendAuthRequest method. +// req, resp := client.CreateBackendAuthRequest(params) // -// // Example sending a request using the CreateBackendAuthRequest method. -// req, resp := client.CreateBackendAuthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth func (c *AmplifyBackend) CreateBackendAuthRequest(input *CreateBackendAuthInput) (req *request.Request, output *CreateBackendAuthOutput) { @@ -330,17 +329,18 @@ func (c *AmplifyBackend) CreateBackendAuthRequest(input *CreateBackendAuthInput) // API operation CreateBackendAuth for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth func (c *AmplifyBackend) CreateBackendAuth(input *CreateBackendAuthInput) (*CreateBackendAuthOutput, error) { @@ -380,14 +380,13 @@ const opCreateBackendConfig = "CreateBackendConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBackendConfigRequest method. +// req, resp := client.CreateBackendConfigRequest(params) // -// // Example sending a request using the CreateBackendConfigRequest method. -// req, resp := client.CreateBackendConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig func (c *AmplifyBackend) CreateBackendConfigRequest(input *CreateBackendConfigInput) (req *request.Request, output *CreateBackendConfigOutput) { @@ -418,17 +417,18 @@ func (c *AmplifyBackend) CreateBackendConfigRequest(input *CreateBackendConfigIn // API operation CreateBackendConfig for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig func (c *AmplifyBackend) CreateBackendConfig(input *CreateBackendConfigInput) (*CreateBackendConfigOutput, error) { @@ -468,14 +468,13 @@ const opCreateBackendStorage = "CreateBackendStorage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBackendStorageRequest method. +// req, resp := client.CreateBackendStorageRequest(params) // -// // Example sending a request using the CreateBackendStorageRequest method. -// req, resp := client.CreateBackendStorageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorage func (c *AmplifyBackend) CreateBackendStorageRequest(input *CreateBackendStorageInput) (req *request.Request, output *CreateBackendStorageOutput) { @@ -506,17 +505,18 @@ func (c *AmplifyBackend) CreateBackendStorageRequest(input *CreateBackendStorage // API operation CreateBackendStorage for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorage func (c *AmplifyBackend) CreateBackendStorage(input *CreateBackendStorageInput) (*CreateBackendStorageOutput, error) { @@ -556,14 +556,13 @@ const opCreateToken = "CreateToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTokenRequest method. +// req, resp := client.CreateTokenRequest(params) // -// // Example sending a request using the CreateTokenRequest method. -// req, resp := client.CreateTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken func (c *AmplifyBackend) CreateTokenRequest(input *CreateTokenInput) (req *request.Request, output *CreateTokenOutput) { @@ -595,17 +594,18 @@ func (c *AmplifyBackend) CreateTokenRequest(input *CreateTokenInput) (req *reque // API operation CreateToken for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken func (c *AmplifyBackend) CreateToken(input *CreateTokenInput) (*CreateTokenOutput, error) { @@ -645,14 +645,13 @@ const opDeleteBackend = "DeleteBackend" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBackendRequest method. +// req, resp := client.DeleteBackendRequest(params) // -// // Example sending a request using the DeleteBackendRequest method. -// req, resp := client.DeleteBackendRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend func (c *AmplifyBackend) DeleteBackendRequest(input *DeleteBackendInput) (req *request.Request, output *DeleteBackendOutput) { @@ -683,17 +682,18 @@ func (c *AmplifyBackend) DeleteBackendRequest(input *DeleteBackendInput) (req *r // API operation DeleteBackend for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend func (c *AmplifyBackend) DeleteBackend(input *DeleteBackendInput) (*DeleteBackendOutput, error) { @@ -733,14 +733,13 @@ const opDeleteBackendAPI = "DeleteBackendAPI" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBackendAPIRequest method. +// req, resp := client.DeleteBackendAPIRequest(params) // -// // Example sending a request using the DeleteBackendAPIRequest method. -// req, resp := client.DeleteBackendAPIRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI func (c *AmplifyBackend) DeleteBackendAPIRequest(input *DeleteBackendAPIInput) (req *request.Request, output *DeleteBackendAPIOutput) { @@ -771,17 +770,18 @@ func (c *AmplifyBackend) DeleteBackendAPIRequest(input *DeleteBackendAPIInput) ( // API operation DeleteBackendAPI for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI func (c *AmplifyBackend) DeleteBackendAPI(input *DeleteBackendAPIInput) (*DeleteBackendAPIOutput, error) { @@ -821,14 +821,13 @@ const opDeleteBackendAuth = "DeleteBackendAuth" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBackendAuthRequest method. +// req, resp := client.DeleteBackendAuthRequest(params) // -// // Example sending a request using the DeleteBackendAuthRequest method. -// req, resp := client.DeleteBackendAuthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth func (c *AmplifyBackend) DeleteBackendAuthRequest(input *DeleteBackendAuthInput) (req *request.Request, output *DeleteBackendAuthOutput) { @@ -859,17 +858,18 @@ func (c *AmplifyBackend) DeleteBackendAuthRequest(input *DeleteBackendAuthInput) // API operation DeleteBackendAuth for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth func (c *AmplifyBackend) DeleteBackendAuth(input *DeleteBackendAuthInput) (*DeleteBackendAuthOutput, error) { @@ -909,14 +909,13 @@ const opDeleteBackendStorage = "DeleteBackendStorage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBackendStorageRequest method. +// req, resp := client.DeleteBackendStorageRequest(params) // -// // Example sending a request using the DeleteBackendStorageRequest method. -// req, resp := client.DeleteBackendStorageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorage func (c *AmplifyBackend) DeleteBackendStorageRequest(input *DeleteBackendStorageInput) (req *request.Request, output *DeleteBackendStorageOutput) { @@ -947,17 +946,18 @@ func (c *AmplifyBackend) DeleteBackendStorageRequest(input *DeleteBackendStorage // API operation DeleteBackendStorage for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorage func (c *AmplifyBackend) DeleteBackendStorage(input *DeleteBackendStorageInput) (*DeleteBackendStorageOutput, error) { @@ -997,14 +997,13 @@ const opDeleteToken = "DeleteToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTokenRequest method. +// req, resp := client.DeleteTokenRequest(params) // -// // Example sending a request using the DeleteTokenRequest method. -// req, resp := client.DeleteTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken func (c *AmplifyBackend) DeleteTokenRequest(input *DeleteTokenInput) (req *request.Request, output *DeleteTokenOutput) { @@ -1035,17 +1034,18 @@ func (c *AmplifyBackend) DeleteTokenRequest(input *DeleteTokenInput) (req *reque // API operation DeleteToken for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken func (c *AmplifyBackend) DeleteToken(input *DeleteTokenInput) (*DeleteTokenOutput, error) { @@ -1085,14 +1085,13 @@ const opGenerateBackendAPIModels = "GenerateBackendAPIModels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateBackendAPIModelsRequest method. +// req, resp := client.GenerateBackendAPIModelsRequest(params) // -// // Example sending a request using the GenerateBackendAPIModelsRequest method. -// req, resp := client.GenerateBackendAPIModelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels func (c *AmplifyBackend) GenerateBackendAPIModelsRequest(input *GenerateBackendAPIModelsInput) (req *request.Request, output *GenerateBackendAPIModelsOutput) { @@ -1123,17 +1122,18 @@ func (c *AmplifyBackend) GenerateBackendAPIModelsRequest(input *GenerateBackendA // API operation GenerateBackendAPIModels for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels func (c *AmplifyBackend) GenerateBackendAPIModels(input *GenerateBackendAPIModelsInput) (*GenerateBackendAPIModelsOutput, error) { @@ -1173,14 +1173,13 @@ const opGetBackend = "GetBackend" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBackendRequest method. +// req, resp := client.GetBackendRequest(params) // -// // Example sending a request using the GetBackendRequest method. -// req, resp := client.GetBackendRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend func (c *AmplifyBackend) GetBackendRequest(input *GetBackendInput) (req *request.Request, output *GetBackendOutput) { @@ -1211,17 +1210,18 @@ func (c *AmplifyBackend) GetBackendRequest(input *GetBackendInput) (req *request // API operation GetBackend for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend func (c *AmplifyBackend) GetBackend(input *GetBackendInput) (*GetBackendOutput, error) { @@ -1261,14 +1261,13 @@ const opGetBackendAPI = "GetBackendAPI" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBackendAPIRequest method. +// req, resp := client.GetBackendAPIRequest(params) // -// // Example sending a request using the GetBackendAPIRequest method. -// req, resp := client.GetBackendAPIRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI func (c *AmplifyBackend) GetBackendAPIRequest(input *GetBackendAPIInput) (req *request.Request, output *GetBackendAPIOutput) { @@ -1299,17 +1298,18 @@ func (c *AmplifyBackend) GetBackendAPIRequest(input *GetBackendAPIInput) (req *r // API operation GetBackendAPI for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI func (c *AmplifyBackend) GetBackendAPI(input *GetBackendAPIInput) (*GetBackendAPIOutput, error) { @@ -1349,14 +1349,13 @@ const opGetBackendAPIModels = "GetBackendAPIModels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBackendAPIModelsRequest method. +// req, resp := client.GetBackendAPIModelsRequest(params) // -// // Example sending a request using the GetBackendAPIModelsRequest method. -// req, resp := client.GetBackendAPIModelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels func (c *AmplifyBackend) GetBackendAPIModelsRequest(input *GetBackendAPIModelsInput) (req *request.Request, output *GetBackendAPIModelsOutput) { @@ -1387,17 +1386,18 @@ func (c *AmplifyBackend) GetBackendAPIModelsRequest(input *GetBackendAPIModelsIn // API operation GetBackendAPIModels for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels func (c *AmplifyBackend) GetBackendAPIModels(input *GetBackendAPIModelsInput) (*GetBackendAPIModelsOutput, error) { @@ -1437,14 +1437,13 @@ const opGetBackendAuth = "GetBackendAuth" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBackendAuthRequest method. +// req, resp := client.GetBackendAuthRequest(params) // -// // Example sending a request using the GetBackendAuthRequest method. -// req, resp := client.GetBackendAuthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth func (c *AmplifyBackend) GetBackendAuthRequest(input *GetBackendAuthInput) (req *request.Request, output *GetBackendAuthOutput) { @@ -1475,17 +1474,18 @@ func (c *AmplifyBackend) GetBackendAuthRequest(input *GetBackendAuthInput) (req // API operation GetBackendAuth for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth func (c *AmplifyBackend) GetBackendAuth(input *GetBackendAuthInput) (*GetBackendAuthOutput, error) { @@ -1525,14 +1525,13 @@ const opGetBackendJob = "GetBackendJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBackendJobRequest method. +// req, resp := client.GetBackendJobRequest(params) // -// // Example sending a request using the GetBackendJobRequest method. -// req, resp := client.GetBackendJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob func (c *AmplifyBackend) GetBackendJobRequest(input *GetBackendJobInput) (req *request.Request, output *GetBackendJobOutput) { @@ -1563,17 +1562,18 @@ func (c *AmplifyBackend) GetBackendJobRequest(input *GetBackendJobInput) (req *r // API operation GetBackendJob for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob func (c *AmplifyBackend) GetBackendJob(input *GetBackendJobInput) (*GetBackendJobOutput, error) { @@ -1613,14 +1613,13 @@ const opGetBackendStorage = "GetBackendStorage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBackendStorageRequest method. +// req, resp := client.GetBackendStorageRequest(params) // -// // Example sending a request using the GetBackendStorageRequest method. -// req, resp := client.GetBackendStorageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorage func (c *AmplifyBackend) GetBackendStorageRequest(input *GetBackendStorageInput) (req *request.Request, output *GetBackendStorageOutput) { @@ -1651,17 +1650,18 @@ func (c *AmplifyBackend) GetBackendStorageRequest(input *GetBackendStorageInput) // API operation GetBackendStorage for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorage func (c *AmplifyBackend) GetBackendStorage(input *GetBackendStorageInput) (*GetBackendStorageOutput, error) { @@ -1701,14 +1701,13 @@ const opGetToken = "GetToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTokenRequest method. +// req, resp := client.GetTokenRequest(params) // -// // Example sending a request using the GetTokenRequest method. -// req, resp := client.GetTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken func (c *AmplifyBackend) GetTokenRequest(input *GetTokenInput) (req *request.Request, output *GetTokenOutput) { @@ -1739,17 +1738,18 @@ func (c *AmplifyBackend) GetTokenRequest(input *GetTokenInput) (req *request.Req // API operation GetToken for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken func (c *AmplifyBackend) GetToken(input *GetTokenInput) (*GetTokenOutput, error) { @@ -1789,14 +1789,13 @@ const opImportBackendAuth = "ImportBackendAuth" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportBackendAuthRequest method. +// req, resp := client.ImportBackendAuthRequest(params) // -// // Example sending a request using the ImportBackendAuthRequest method. -// req, resp := client.ImportBackendAuthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth func (c *AmplifyBackend) ImportBackendAuthRequest(input *ImportBackendAuthInput) (req *request.Request, output *ImportBackendAuthOutput) { @@ -1827,17 +1826,18 @@ func (c *AmplifyBackend) ImportBackendAuthRequest(input *ImportBackendAuthInput) // API operation ImportBackendAuth for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth func (c *AmplifyBackend) ImportBackendAuth(input *ImportBackendAuthInput) (*ImportBackendAuthOutput, error) { @@ -1877,14 +1877,13 @@ const opImportBackendStorage = "ImportBackendStorage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportBackendStorageRequest method. +// req, resp := client.ImportBackendStorageRequest(params) // -// // Example sending a request using the ImportBackendStorageRequest method. -// req, resp := client.ImportBackendStorageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorage func (c *AmplifyBackend) ImportBackendStorageRequest(input *ImportBackendStorageInput) (req *request.Request, output *ImportBackendStorageOutput) { @@ -1915,17 +1914,18 @@ func (c *AmplifyBackend) ImportBackendStorageRequest(input *ImportBackendStorage // API operation ImportBackendStorage for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorage func (c *AmplifyBackend) ImportBackendStorage(input *ImportBackendStorageInput) (*ImportBackendStorageOutput, error) { @@ -1965,14 +1965,13 @@ const opListBackendJobs = "ListBackendJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBackendJobsRequest method. +// req, resp := client.ListBackendJobsRequest(params) // -// // Example sending a request using the ListBackendJobsRequest method. -// req, resp := client.ListBackendJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs func (c *AmplifyBackend) ListBackendJobsRequest(input *ListBackendJobsInput) (req *request.Request, output *ListBackendJobsOutput) { @@ -2009,17 +2008,18 @@ func (c *AmplifyBackend) ListBackendJobsRequest(input *ListBackendJobsInput) (re // API operation ListBackendJobs for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs func (c *AmplifyBackend) ListBackendJobs(input *ListBackendJobsInput) (*ListBackendJobsOutput, error) { @@ -2051,15 +2051,14 @@ func (c *AmplifyBackend) ListBackendJobsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBackendJobs operation. -// pageNum := 0 -// err := client.ListBackendJobsPages(params, -// func(page *amplifybackend.ListBackendJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBackendJobs operation. +// pageNum := 0 +// err := client.ListBackendJobsPages(params, +// func(page *amplifybackend.ListBackendJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AmplifyBackend) ListBackendJobsPages(input *ListBackendJobsInput, fn func(*ListBackendJobsOutput, bool) bool) error { return c.ListBackendJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2111,14 +2110,13 @@ const opListS3Buckets = "ListS3Buckets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListS3BucketsRequest method. +// req, resp := client.ListS3BucketsRequest(params) // -// // Example sending a request using the ListS3BucketsRequest method. -// req, resp := client.ListS3BucketsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3Buckets func (c *AmplifyBackend) ListS3BucketsRequest(input *ListS3BucketsInput) (req *request.Request, output *ListS3BucketsOutput) { @@ -2149,17 +2147,18 @@ func (c *AmplifyBackend) ListS3BucketsRequest(input *ListS3BucketsInput) (req *r // API operation ListS3Buckets for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. +// +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3Buckets func (c *AmplifyBackend) ListS3Buckets(input *ListS3BucketsInput) (*ListS3BucketsOutput, error) { @@ -2199,14 +2198,13 @@ const opRemoveAllBackends = "RemoveAllBackends" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveAllBackendsRequest method. +// req, resp := client.RemoveAllBackendsRequest(params) // -// // Example sending a request using the RemoveAllBackendsRequest method. -// req, resp := client.RemoveAllBackendsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends func (c *AmplifyBackend) RemoveAllBackendsRequest(input *RemoveAllBackendsInput) (req *request.Request, output *RemoveAllBackendsOutput) { @@ -2237,17 +2235,18 @@ func (c *AmplifyBackend) RemoveAllBackendsRequest(input *RemoveAllBackendsInput) // API operation RemoveAllBackends for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. +// +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends func (c *AmplifyBackend) RemoveAllBackends(input *RemoveAllBackendsInput) (*RemoveAllBackendsOutput, error) { @@ -2287,14 +2286,13 @@ const opRemoveBackendConfig = "RemoveBackendConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveBackendConfigRequest method. +// req, resp := client.RemoveBackendConfigRequest(params) // -// // Example sending a request using the RemoveBackendConfigRequest method. -// req, resp := client.RemoveBackendConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig func (c *AmplifyBackend) RemoveBackendConfigRequest(input *RemoveBackendConfigInput) (req *request.Request, output *RemoveBackendConfigOutput) { @@ -2325,17 +2323,18 @@ func (c *AmplifyBackend) RemoveBackendConfigRequest(input *RemoveBackendConfigIn // API operation RemoveBackendConfig for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. +// +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig func (c *AmplifyBackend) RemoveBackendConfig(input *RemoveBackendConfigInput) (*RemoveBackendConfigOutput, error) { @@ -2375,14 +2374,13 @@ const opUpdateBackendAPI = "UpdateBackendAPI" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBackendAPIRequest method. +// req, resp := client.UpdateBackendAPIRequest(params) // -// // Example sending a request using the UpdateBackendAPIRequest method. -// req, resp := client.UpdateBackendAPIRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI func (c *AmplifyBackend) UpdateBackendAPIRequest(input *UpdateBackendAPIInput) (req *request.Request, output *UpdateBackendAPIOutput) { @@ -2413,17 +2411,18 @@ func (c *AmplifyBackend) UpdateBackendAPIRequest(input *UpdateBackendAPIInput) ( // API operation UpdateBackendAPI for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. +// +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI func (c *AmplifyBackend) UpdateBackendAPI(input *UpdateBackendAPIInput) (*UpdateBackendAPIOutput, error) { @@ -2463,14 +2462,13 @@ const opUpdateBackendAuth = "UpdateBackendAuth" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBackendAuthRequest method. +// req, resp := client.UpdateBackendAuthRequest(params) // -// // Example sending a request using the UpdateBackendAuthRequest method. -// req, resp := client.UpdateBackendAuthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth func (c *AmplifyBackend) UpdateBackendAuthRequest(input *UpdateBackendAuthInput) (req *request.Request, output *UpdateBackendAuthOutput) { @@ -2501,17 +2499,18 @@ func (c *AmplifyBackend) UpdateBackendAuthRequest(input *UpdateBackendAuthInput) // API operation UpdateBackendAuth for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. +// +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth func (c *AmplifyBackend) UpdateBackendAuth(input *UpdateBackendAuthInput) (*UpdateBackendAuthOutput, error) { @@ -2551,14 +2550,13 @@ const opUpdateBackendConfig = "UpdateBackendConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBackendConfigRequest method. +// req, resp := client.UpdateBackendConfigRequest(params) // -// // Example sending a request using the UpdateBackendConfigRequest method. -// req, resp := client.UpdateBackendConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig func (c *AmplifyBackend) UpdateBackendConfigRequest(input *UpdateBackendConfigInput) (req *request.Request, output *UpdateBackendConfigOutput) { @@ -2589,17 +2587,18 @@ func (c *AmplifyBackend) UpdateBackendConfigRequest(input *UpdateBackendConfigIn // API operation UpdateBackendConfig for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. +// +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig func (c *AmplifyBackend) UpdateBackendConfig(input *UpdateBackendConfigInput) (*UpdateBackendConfigOutput, error) { @@ -2639,14 +2638,13 @@ const opUpdateBackendJob = "UpdateBackendJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBackendJobRequest method. +// req, resp := client.UpdateBackendJobRequest(params) // -// // Example sending a request using the UpdateBackendJobRequest method. -// req, resp := client.UpdateBackendJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob func (c *AmplifyBackend) UpdateBackendJobRequest(input *UpdateBackendJobInput) (req *request.Request, output *UpdateBackendJobOutput) { @@ -2677,17 +2675,18 @@ func (c *AmplifyBackend) UpdateBackendJobRequest(input *UpdateBackendJobInput) ( // API operation UpdateBackendJob for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. +// +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob func (c *AmplifyBackend) UpdateBackendJob(input *UpdateBackendJobInput) (*UpdateBackendJobOutput, error) { @@ -2727,14 +2726,13 @@ const opUpdateBackendStorage = "UpdateBackendStorage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBackendStorageRequest method. +// req, resp := client.UpdateBackendStorageRequest(params) // -// // Example sending a request using the UpdateBackendStorageRequest method. -// req, resp := client.UpdateBackendStorageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorage func (c *AmplifyBackend) UpdateBackendStorageRequest(input *UpdateBackendStorageInput) (req *request.Request, output *UpdateBackendStorageOutput) { @@ -2765,17 +2763,18 @@ func (c *AmplifyBackend) UpdateBackendStorageRequest(input *UpdateBackendStorage // API operation UpdateBackendStorage for usage and error information. // // Returned Error Types: -// * NotFoundException -// An error returned when a specific resource type is not found. // -// * GatewayTimeoutException -// An error returned if there's a temporary issue with the service. +// - NotFoundException +// An error returned when a specific resource type is not found. +// +// - GatewayTimeoutException +// An error returned if there's a temporary issue with the service. // -// * TooManyRequestsException -// An error that is returned when a limit of a specific type has been exceeded. +// - TooManyRequestsException +// An error that is returned when a limit of a specific type has been exceeded. // -// * BadRequestException -// An error returned if a request is not formed properly. +// - BadRequestException +// An error returned if a request is not formed properly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorage func (c *AmplifyBackend) UpdateBackendStorage(input *UpdateBackendStorageInput) (*UpdateBackendStorageOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/doc.go index 122d956e4c5e..784534be8594 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/doc.go @@ -3,14 +3,14 @@ // Package amplifybackend provides the client and types for making API // requests to AmplifyBackend. // -// AWS Amplify Admin API +// # AWS Amplify Admin API // // See https://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11 for more information on this service. // // See amplifybackend package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/amplifybackend/ // -// Using the Client +// # Using the Client // // To contact AmplifyBackend with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/service.go index 6d613816673d..caed6b4134d2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifybackend/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AmplifyBackend client from just a session. -// svc := amplifybackend.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AmplifyBackend client with additional configuration -// svc := amplifybackend.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AmplifyBackend client from just a session. +// svc := amplifybackend.New(mySession) +// +// // Create a AmplifyBackend client with additional configuration +// svc := amplifybackend.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AmplifyBackend { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/amplifyuibuilderiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/amplifyuibuilderiface/interface.go index 30320f8dcac5..07d095104a28 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/amplifyuibuilderiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/amplifyuibuilderiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Amplify UI Builder. -// func myFunc(svc amplifyuibuilderiface.AmplifyUIBuilderAPI) bool { -// // Make svc.CreateComponent request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Amplify UI Builder. +// func myFunc(svc amplifyuibuilderiface.AmplifyUIBuilderAPI) bool { +// // Make svc.CreateComponent request +// } // -// func main() { -// sess := session.New() -// svc := amplifyuibuilder.New(sess) +// func main() { +// sess := session.New() +// svc := amplifyuibuilder.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAmplifyUIBuilderClient struct { -// amplifyuibuilderiface.AmplifyUIBuilderAPI -// } -// func (m *mockAmplifyUIBuilderClient) CreateComponent(input *amplifyuibuilder.CreateComponentInput) (*amplifyuibuilder.CreateComponentOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAmplifyUIBuilderClient struct { +// amplifyuibuilderiface.AmplifyUIBuilderAPI +// } +// func (m *mockAmplifyUIBuilderClient) CreateComponent(input *amplifyuibuilder.CreateComponentInput) (*amplifyuibuilder.CreateComponentOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAmplifyUIBuilderClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAmplifyUIBuilderClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/api.go index 18302ffcf0a3..07dd25fe9375 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/api.go @@ -29,14 +29,13 @@ const opCreateComponent = "CreateComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateComponentRequest method. +// req, resp := client.CreateComponentRequest(params) // -// // Example sending a request using the CreateComponentRequest method. -// req, resp := client.CreateComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/CreateComponent func (c *AmplifyUIBuilder) CreateComponentRequest(input *CreateComponentInput) (req *request.Request, output *CreateComponentOutput) { @@ -67,19 +66,20 @@ func (c *AmplifyUIBuilder) CreateComponentRequest(input *CreateComponentInput) ( // API operation CreateComponent for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// You exceeded your service quota. Service quotas, also referred to as limits, -// are the maximum number of service resources or operations for your Amazon -// Web Services account. // -// * ResourceConflictException -// The resource specified in the request conflicts with an existing resource. +// - ServiceQuotaExceededException +// You exceeded your service quota. Service quotas, also referred to as limits, +// are the maximum number of service resources or operations for your Amazon +// Web Services account. +// +// - ResourceConflictException +// The resource specified in the request conflicts with an existing resource. // -// * InternalServerException -// An internal error has occurred. Please retry your request. +// - InternalServerException +// An internal error has occurred. Please retry your request. // -// * InvalidParameterException -// An invalid or out-of-range value was supplied for the input parameter. +// - InvalidParameterException +// An invalid or out-of-range value was supplied for the input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/CreateComponent func (c *AmplifyUIBuilder) CreateComponent(input *CreateComponentInput) (*CreateComponentOutput, error) { @@ -119,14 +119,13 @@ const opCreateTheme = "CreateTheme" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateThemeRequest method. +// req, resp := client.CreateThemeRequest(params) // -// // Example sending a request using the CreateThemeRequest method. -// req, resp := client.CreateThemeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/CreateTheme func (c *AmplifyUIBuilder) CreateThemeRequest(input *CreateThemeInput) (req *request.Request, output *CreateThemeOutput) { @@ -157,19 +156,20 @@ func (c *AmplifyUIBuilder) CreateThemeRequest(input *CreateThemeInput) (req *req // API operation CreateTheme for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// You exceeded your service quota. Service quotas, also referred to as limits, -// are the maximum number of service resources or operations for your Amazon -// Web Services account. // -// * ResourceConflictException -// The resource specified in the request conflicts with an existing resource. +// - ServiceQuotaExceededException +// You exceeded your service quota. Service quotas, also referred to as limits, +// are the maximum number of service resources or operations for your Amazon +// Web Services account. +// +// - ResourceConflictException +// The resource specified in the request conflicts with an existing resource. // -// * InternalServerException -// An internal error has occurred. Please retry your request. +// - InternalServerException +// An internal error has occurred. Please retry your request. // -// * InvalidParameterException -// An invalid or out-of-range value was supplied for the input parameter. +// - InvalidParameterException +// An invalid or out-of-range value was supplied for the input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/CreateTheme func (c *AmplifyUIBuilder) CreateTheme(input *CreateThemeInput) (*CreateThemeOutput, error) { @@ -209,14 +209,13 @@ const opDeleteComponent = "DeleteComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteComponentRequest method. +// req, resp := client.DeleteComponentRequest(params) // -// // Example sending a request using the DeleteComponentRequest method. -// req, resp := client.DeleteComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/DeleteComponent func (c *AmplifyUIBuilder) DeleteComponentRequest(input *DeleteComponentInput) (req *request.Request, output *DeleteComponentOutput) { @@ -248,14 +247,15 @@ func (c *AmplifyUIBuilder) DeleteComponentRequest(input *DeleteComponentInput) ( // API operation DeleteComponent for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal error has occurred. Please retry your request. // -// * InvalidParameterException -// An invalid or out-of-range value was supplied for the input parameter. +// - InternalServerException +// An internal error has occurred. Please retry your request. +// +// - InvalidParameterException +// An invalid or out-of-range value was supplied for the input parameter. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/DeleteComponent func (c *AmplifyUIBuilder) DeleteComponent(input *DeleteComponentInput) (*DeleteComponentOutput, error) { @@ -295,14 +295,13 @@ const opDeleteTheme = "DeleteTheme" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteThemeRequest method. +// req, resp := client.DeleteThemeRequest(params) // -// // Example sending a request using the DeleteThemeRequest method. -// req, resp := client.DeleteThemeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/DeleteTheme func (c *AmplifyUIBuilder) DeleteThemeRequest(input *DeleteThemeInput) (req *request.Request, output *DeleteThemeOutput) { @@ -334,14 +333,15 @@ func (c *AmplifyUIBuilder) DeleteThemeRequest(input *DeleteThemeInput) (req *req // API operation DeleteTheme for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal error has occurred. Please retry your request. // -// * InvalidParameterException -// An invalid or out-of-range value was supplied for the input parameter. +// - InternalServerException +// An internal error has occurred. Please retry your request. +// +// - InvalidParameterException +// An invalid or out-of-range value was supplied for the input parameter. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/DeleteTheme func (c *AmplifyUIBuilder) DeleteTheme(input *DeleteThemeInput) (*DeleteThemeOutput, error) { @@ -381,14 +381,13 @@ const opExchangeCodeForToken = "ExchangeCodeForToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExchangeCodeForTokenRequest method. +// req, resp := client.ExchangeCodeForTokenRequest(params) // -// // Example sending a request using the ExchangeCodeForTokenRequest method. -// req, resp := client.ExchangeCodeForTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ExchangeCodeForToken func (c *AmplifyUIBuilder) ExchangeCodeForTokenRequest(input *ExchangeCodeForTokenInput) (req *request.Request, output *ExchangeCodeForTokenOutput) { @@ -419,8 +418,8 @@ func (c *AmplifyUIBuilder) ExchangeCodeForTokenRequest(input *ExchangeCodeForTok // API operation ExchangeCodeForToken for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// An invalid or out-of-range value was supplied for the input parameter. +// - InvalidParameterException +// An invalid or out-of-range value was supplied for the input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ExchangeCodeForToken func (c *AmplifyUIBuilder) ExchangeCodeForToken(input *ExchangeCodeForTokenInput) (*ExchangeCodeForTokenOutput, error) { @@ -460,14 +459,13 @@ const opExportComponents = "ExportComponents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportComponentsRequest method. +// req, resp := client.ExportComponentsRequest(params) // -// // Example sending a request using the ExportComponentsRequest method. -// req, resp := client.ExportComponentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ExportComponents func (c *AmplifyUIBuilder) ExportComponentsRequest(input *ExportComponentsInput) (req *request.Request, output *ExportComponentsOutput) { @@ -505,11 +503,12 @@ func (c *AmplifyUIBuilder) ExportComponentsRequest(input *ExportComponentsInput) // API operation ExportComponents for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal error has occurred. Please retry your request. // -// * InvalidParameterException -// An invalid or out-of-range value was supplied for the input parameter. +// - InternalServerException +// An internal error has occurred. Please retry your request. +// +// - InvalidParameterException +// An invalid or out-of-range value was supplied for the input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ExportComponents func (c *AmplifyUIBuilder) ExportComponents(input *ExportComponentsInput) (*ExportComponentsOutput, error) { @@ -541,15 +540,14 @@ func (c *AmplifyUIBuilder) ExportComponentsWithContext(ctx aws.Context, input *E // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ExportComponents operation. -// pageNum := 0 -// err := client.ExportComponentsPages(params, -// func(page *amplifyuibuilder.ExportComponentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ExportComponents operation. +// pageNum := 0 +// err := client.ExportComponentsPages(params, +// func(page *amplifyuibuilder.ExportComponentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AmplifyUIBuilder) ExportComponentsPages(input *ExportComponentsInput, fn func(*ExportComponentsOutput, bool) bool) error { return c.ExportComponentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -601,14 +599,13 @@ const opExportThemes = "ExportThemes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportThemesRequest method. +// req, resp := client.ExportThemesRequest(params) // -// // Example sending a request using the ExportThemesRequest method. -// req, resp := client.ExportThemesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ExportThemes func (c *AmplifyUIBuilder) ExportThemesRequest(input *ExportThemesInput) (req *request.Request, output *ExportThemesOutput) { @@ -646,11 +643,12 @@ func (c *AmplifyUIBuilder) ExportThemesRequest(input *ExportThemesInput) (req *r // API operation ExportThemes for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal error has occurred. Please retry your request. // -// * InvalidParameterException -// An invalid or out-of-range value was supplied for the input parameter. +// - InternalServerException +// An internal error has occurred. Please retry your request. +// +// - InvalidParameterException +// An invalid or out-of-range value was supplied for the input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ExportThemes func (c *AmplifyUIBuilder) ExportThemes(input *ExportThemesInput) (*ExportThemesOutput, error) { @@ -682,15 +680,14 @@ func (c *AmplifyUIBuilder) ExportThemesWithContext(ctx aws.Context, input *Expor // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ExportThemes operation. -// pageNum := 0 -// err := client.ExportThemesPages(params, -// func(page *amplifyuibuilder.ExportThemesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ExportThemes operation. +// pageNum := 0 +// err := client.ExportThemesPages(params, +// func(page *amplifyuibuilder.ExportThemesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AmplifyUIBuilder) ExportThemesPages(input *ExportThemesInput, fn func(*ExportThemesOutput, bool) bool) error { return c.ExportThemesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -742,14 +739,13 @@ const opGetComponent = "GetComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetComponentRequest method. +// req, resp := client.GetComponentRequest(params) // -// // Example sending a request using the GetComponentRequest method. -// req, resp := client.GetComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/GetComponent func (c *AmplifyUIBuilder) GetComponentRequest(input *GetComponentInput) (req *request.Request, output *GetComponentOutput) { @@ -780,14 +776,15 @@ func (c *AmplifyUIBuilder) GetComponentRequest(input *GetComponentInput) (req *r // API operation GetComponent for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal error has occurred. Please retry your request. // -// * InvalidParameterException -// An invalid or out-of-range value was supplied for the input parameter. +// - InternalServerException +// An internal error has occurred. Please retry your request. +// +// - InvalidParameterException +// An invalid or out-of-range value was supplied for the input parameter. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/GetComponent func (c *AmplifyUIBuilder) GetComponent(input *GetComponentInput) (*GetComponentOutput, error) { @@ -827,14 +824,13 @@ const opGetTheme = "GetTheme" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetThemeRequest method. +// req, resp := client.GetThemeRequest(params) // -// // Example sending a request using the GetThemeRequest method. -// req, resp := client.GetThemeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/GetTheme func (c *AmplifyUIBuilder) GetThemeRequest(input *GetThemeInput) (req *request.Request, output *GetThemeOutput) { @@ -865,14 +861,15 @@ func (c *AmplifyUIBuilder) GetThemeRequest(input *GetThemeInput) (req *request.R // API operation GetTheme for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal error has occurred. Please retry your request. // -// * InvalidParameterException -// An invalid or out-of-range value was supplied for the input parameter. +// - InternalServerException +// An internal error has occurred. Please retry your request. +// +// - InvalidParameterException +// An invalid or out-of-range value was supplied for the input parameter. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/GetTheme func (c *AmplifyUIBuilder) GetTheme(input *GetThemeInput) (*GetThemeOutput, error) { @@ -912,14 +909,13 @@ const opListComponents = "ListComponents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListComponentsRequest method. +// req, resp := client.ListComponentsRequest(params) // -// // Example sending a request using the ListComponentsRequest method. -// req, resp := client.ListComponentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ListComponents func (c *AmplifyUIBuilder) ListComponentsRequest(input *ListComponentsInput) (req *request.Request, output *ListComponentsOutput) { @@ -956,11 +952,12 @@ func (c *AmplifyUIBuilder) ListComponentsRequest(input *ListComponentsInput) (re // API operation ListComponents for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal error has occurred. Please retry your request. // -// * InvalidParameterException -// An invalid or out-of-range value was supplied for the input parameter. +// - InternalServerException +// An internal error has occurred. Please retry your request. +// +// - InvalidParameterException +// An invalid or out-of-range value was supplied for the input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ListComponents func (c *AmplifyUIBuilder) ListComponents(input *ListComponentsInput) (*ListComponentsOutput, error) { @@ -992,15 +989,14 @@ func (c *AmplifyUIBuilder) ListComponentsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListComponents operation. -// pageNum := 0 -// err := client.ListComponentsPages(params, -// func(page *amplifyuibuilder.ListComponentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListComponents operation. +// pageNum := 0 +// err := client.ListComponentsPages(params, +// func(page *amplifyuibuilder.ListComponentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AmplifyUIBuilder) ListComponentsPages(input *ListComponentsInput, fn func(*ListComponentsOutput, bool) bool) error { return c.ListComponentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1052,14 +1048,13 @@ const opListThemes = "ListThemes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThemesRequest method. +// req, resp := client.ListThemesRequest(params) // -// // Example sending a request using the ListThemesRequest method. -// req, resp := client.ListThemesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ListThemes func (c *AmplifyUIBuilder) ListThemesRequest(input *ListThemesInput) (req *request.Request, output *ListThemesOutput) { @@ -1096,11 +1091,12 @@ func (c *AmplifyUIBuilder) ListThemesRequest(input *ListThemesInput) (req *reque // API operation ListThemes for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal error has occurred. Please retry your request. // -// * InvalidParameterException -// An invalid or out-of-range value was supplied for the input parameter. +// - InternalServerException +// An internal error has occurred. Please retry your request. +// +// - InvalidParameterException +// An invalid or out-of-range value was supplied for the input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/ListThemes func (c *AmplifyUIBuilder) ListThemes(input *ListThemesInput) (*ListThemesOutput, error) { @@ -1132,15 +1128,14 @@ func (c *AmplifyUIBuilder) ListThemesWithContext(ctx aws.Context, input *ListThe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListThemes operation. -// pageNum := 0 -// err := client.ListThemesPages(params, -// func(page *amplifyuibuilder.ListThemesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListThemes operation. +// pageNum := 0 +// err := client.ListThemesPages(params, +// func(page *amplifyuibuilder.ListThemesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AmplifyUIBuilder) ListThemesPages(input *ListThemesInput, fn func(*ListThemesOutput, bool) bool) error { return c.ListThemesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1192,14 +1187,13 @@ const opRefreshToken = "RefreshToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RefreshTokenRequest method. +// req, resp := client.RefreshTokenRequest(params) // -// // Example sending a request using the RefreshTokenRequest method. -// req, resp := client.RefreshTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/RefreshToken func (c *AmplifyUIBuilder) RefreshTokenRequest(input *RefreshTokenInput) (req *request.Request, output *RefreshTokenOutput) { @@ -1230,8 +1224,8 @@ func (c *AmplifyUIBuilder) RefreshTokenRequest(input *RefreshTokenInput) (req *r // API operation RefreshToken for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// An invalid or out-of-range value was supplied for the input parameter. +// - InvalidParameterException +// An invalid or out-of-range value was supplied for the input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/RefreshToken func (c *AmplifyUIBuilder) RefreshToken(input *RefreshTokenInput) (*RefreshTokenOutput, error) { @@ -1271,14 +1265,13 @@ const opUpdateComponent = "UpdateComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateComponentRequest method. +// req, resp := client.UpdateComponentRequest(params) // -// // Example sending a request using the UpdateComponentRequest method. -// req, resp := client.UpdateComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/UpdateComponent func (c *AmplifyUIBuilder) UpdateComponentRequest(input *UpdateComponentInput) (req *request.Request, output *UpdateComponentOutput) { @@ -1309,14 +1302,15 @@ func (c *AmplifyUIBuilder) UpdateComponentRequest(input *UpdateComponentInput) ( // API operation UpdateComponent for usage and error information. // // Returned Error Types: -// * ResourceConflictException -// The resource specified in the request conflicts with an existing resource. // -// * InternalServerException -// An internal error has occurred. Please retry your request. +// - ResourceConflictException +// The resource specified in the request conflicts with an existing resource. // -// * InvalidParameterException -// An invalid or out-of-range value was supplied for the input parameter. +// - InternalServerException +// An internal error has occurred. Please retry your request. +// +// - InvalidParameterException +// An invalid or out-of-range value was supplied for the input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/UpdateComponent func (c *AmplifyUIBuilder) UpdateComponent(input *UpdateComponentInput) (*UpdateComponentOutput, error) { @@ -1356,14 +1350,13 @@ const opUpdateTheme = "UpdateTheme" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateThemeRequest method. +// req, resp := client.UpdateThemeRequest(params) // -// // Example sending a request using the UpdateThemeRequest method. -// req, resp := client.UpdateThemeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/UpdateTheme func (c *AmplifyUIBuilder) UpdateThemeRequest(input *UpdateThemeInput) (req *request.Request, output *UpdateThemeOutput) { @@ -1394,14 +1387,15 @@ func (c *AmplifyUIBuilder) UpdateThemeRequest(input *UpdateThemeInput) (req *req // API operation UpdateTheme for usage and error information. // // Returned Error Types: -// * ResourceConflictException -// The resource specified in the request conflicts with an existing resource. // -// * InternalServerException -// An internal error has occurred. Please retry your request. +// - ResourceConflictException +// The resource specified in the request conflicts with an existing resource. +// +// - InternalServerException +// An internal error has occurred. Please retry your request. // -// * InvalidParameterException -// An invalid or out-of-range value was supplied for the input parameter. +// - InvalidParameterException +// An invalid or out-of-range value was supplied for the input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/UpdateTheme func (c *AmplifyUIBuilder) UpdateTheme(input *UpdateThemeInput) (*UpdateThemeOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/doc.go index 5958a11f072d..878b7b245e97 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/doc.go @@ -23,7 +23,7 @@ // See amplifyuibuilder package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/amplifyuibuilder/ // -// Using the Client +// # Using the Client // // To contact AWS Amplify UI Builder with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/service.go index 3a32a68ae229..8d65ea846c64 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/amplifyuibuilder/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AmplifyUIBuilder client from just a session. -// svc := amplifyuibuilder.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AmplifyUIBuilder client with additional configuration -// svc := amplifyuibuilder.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AmplifyUIBuilder client from just a session. +// svc := amplifyuibuilder.New(mySession) +// +// // Create a AmplifyUIBuilder client with additional configuration +// svc := amplifyuibuilder.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AmplifyUIBuilder { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/api.go index 74d133356b09..ebf651fe3fbf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/api.go @@ -29,14 +29,13 @@ const opCreateApiKey = "CreateApiKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApiKeyRequest method. +// req, resp := client.CreateApiKeyRequest(params) // -// // Example sending a request using the CreateApiKeyRequest method. -// req, resp := client.CreateApiKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) CreateApiKeyRequest(input *CreateApiKeyInput) (req *request.Request, output *ApiKey) { op := &request.Operation{ Name: opCreateApiKey, @@ -65,27 +64,27 @@ func (c *APIGateway) CreateApiKeyRequest(input *CreateApiKeyInput) (req *request // API operation CreateApiKey for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) CreateApiKey(input *CreateApiKeyInput) (*ApiKey, error) { req, out := c.CreateApiKeyRequest(input) return out, req.Send() @@ -123,14 +122,13 @@ const opCreateAuthorizer = "CreateAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAuthorizerRequest method. +// req, resp := client.CreateAuthorizerRequest(params) // -// // Example sending a request using the CreateAuthorizerRequest method. -// req, resp := client.CreateAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) CreateAuthorizerRequest(input *CreateAuthorizerInput) (req *request.Request, output *Authorizer) { op := &request.Operation{ Name: opCreateAuthorizer, @@ -159,27 +157,27 @@ func (c *APIGateway) CreateAuthorizerRequest(input *CreateAuthorizerInput) (req // API operation CreateAuthorizer for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) CreateAuthorizer(input *CreateAuthorizerInput) (*Authorizer, error) { req, out := c.CreateAuthorizerRequest(input) return out, req.Send() @@ -217,14 +215,13 @@ const opCreateBasePathMapping = "CreateBasePathMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBasePathMappingRequest method. +// req, resp := client.CreateBasePathMappingRequest(params) // -// // Example sending a request using the CreateBasePathMappingRequest method. -// req, resp := client.CreateBasePathMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) CreateBasePathMappingRequest(input *CreateBasePathMappingInput) (req *request.Request, output *BasePathMapping) { op := &request.Operation{ Name: opCreateBasePathMapping, @@ -253,27 +250,27 @@ func (c *APIGateway) CreateBasePathMappingRequest(input *CreateBasePathMappingIn // API operation CreateBasePathMapping for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) CreateBasePathMapping(input *CreateBasePathMappingInput) (*BasePathMapping, error) { req, out := c.CreateBasePathMappingRequest(input) return out, req.Send() @@ -311,14 +308,13 @@ const opCreateDeployment = "CreateDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeploymentRequest method. +// req, resp := client.CreateDeploymentRequest(params) // -// // Example sending a request using the CreateDeploymentRequest method. -// req, resp := client.CreateDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *Deployment) { op := &request.Operation{ Name: opCreateDeployment, @@ -348,31 +344,31 @@ func (c *APIGateway) CreateDeploymentRequest(input *CreateDeploymentInput) (req // API operation CreateDeployment for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * ServiceUnavailableException -// The requested service is not available. For details see the accompanying -// error message. Retry after the specified time period. +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. // +// - ServiceUnavailableException +// The requested service is not available. For details see the accompanying +// error message. Retry after the specified time period. func (c *APIGateway) CreateDeployment(input *CreateDeploymentInput) (*Deployment, error) { req, out := c.CreateDeploymentRequest(input) return out, req.Send() @@ -410,14 +406,13 @@ const opCreateDocumentationPart = "CreateDocumentationPart" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDocumentationPartRequest method. +// req, resp := client.CreateDocumentationPartRequest(params) // -// // Example sending a request using the CreateDocumentationPartRequest method. -// req, resp := client.CreateDocumentationPartRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) CreateDocumentationPartRequest(input *CreateDocumentationPartInput) (req *request.Request, output *DocumentationPart) { op := &request.Operation{ Name: opCreateDocumentationPart, @@ -446,27 +441,27 @@ func (c *APIGateway) CreateDocumentationPartRequest(input *CreateDocumentationPa // API operation CreateDocumentationPart for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) CreateDocumentationPart(input *CreateDocumentationPartInput) (*DocumentationPart, error) { req, out := c.CreateDocumentationPartRequest(input) return out, req.Send() @@ -504,14 +499,13 @@ const opCreateDocumentationVersion = "CreateDocumentationVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDocumentationVersionRequest method. +// req, resp := client.CreateDocumentationVersionRequest(params) // -// // Example sending a request using the CreateDocumentationVersionRequest method. -// req, resp := client.CreateDocumentationVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) CreateDocumentationVersionRequest(input *CreateDocumentationVersionInput) (req *request.Request, output *DocumentationVersion) { op := &request.Operation{ Name: opCreateDocumentationVersion, @@ -530,7 +524,7 @@ func (c *APIGateway) CreateDocumentationVersionRequest(input *CreateDocumentatio // CreateDocumentationVersion API operation for Amazon API Gateway. // -// Creates a documentation version +// # Creates a documentation version // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -540,27 +534,27 @@ func (c *APIGateway) CreateDocumentationVersionRequest(input *CreateDocumentatio // API operation CreateDocumentationVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) CreateDocumentationVersion(input *CreateDocumentationVersionInput) (*DocumentationVersion, error) { req, out := c.CreateDocumentationVersionRequest(input) return out, req.Send() @@ -598,14 +592,13 @@ const opCreateDomainName = "CreateDomainName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDomainNameRequest method. +// req, resp := client.CreateDomainNameRequest(params) // -// // Example sending a request using the CreateDomainNameRequest method. -// req, resp := client.CreateDomainNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) CreateDomainNameRequest(input *CreateDomainNameInput) (req *request.Request, output *DomainName) { op := &request.Operation{ Name: opCreateDomainName, @@ -634,24 +627,24 @@ func (c *APIGateway) CreateDomainNameRequest(input *CreateDomainNameInput) (req // API operation CreateDomainName for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) CreateDomainName(input *CreateDomainNameInput) (*DomainName, error) { req, out := c.CreateDomainNameRequest(input) return out, req.Send() @@ -689,14 +682,13 @@ const opCreateModel = "CreateModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateModelRequest method. +// req, resp := client.CreateModelRequest(params) // -// // Example sending a request using the CreateModelRequest method. -// req, resp := client.CreateModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *Model) { op := &request.Operation{ Name: opCreateModel, @@ -725,27 +717,27 @@ func (c *APIGateway) CreateModelRequest(input *CreateModelInput) (req *request.R // API operation CreateModel for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) CreateModel(input *CreateModelInput) (*Model, error) { req, out := c.CreateModelRequest(input) return out, req.Send() @@ -783,14 +775,13 @@ const opCreateRequestValidator = "CreateRequestValidator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRequestValidatorRequest method. +// req, resp := client.CreateRequestValidatorRequest(params) // -// // Example sending a request using the CreateRequestValidatorRequest method. -// req, resp := client.CreateRequestValidatorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) CreateRequestValidatorRequest(input *CreateRequestValidatorInput) (req *request.Request, output *UpdateRequestValidatorOutput) { op := &request.Operation{ Name: opCreateRequestValidator, @@ -819,27 +810,27 @@ func (c *APIGateway) CreateRequestValidatorRequest(input *CreateRequestValidator // API operation CreateRequestValidator for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) CreateRequestValidator(input *CreateRequestValidatorInput) (*UpdateRequestValidatorOutput, error) { req, out := c.CreateRequestValidatorRequest(input) return out, req.Send() @@ -877,14 +868,13 @@ const opCreateResource = "CreateResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResourceRequest method. +// req, resp := client.CreateResourceRequest(params) // -// // Example sending a request using the CreateResourceRequest method. -// req, resp := client.CreateResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) CreateResourceRequest(input *CreateResourceInput) (req *request.Request, output *Resource) { op := &request.Operation{ Name: opCreateResource, @@ -913,27 +903,27 @@ func (c *APIGateway) CreateResourceRequest(input *CreateResourceInput) (req *req // API operation CreateResource for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) CreateResource(input *CreateResourceInput) (*Resource, error) { req, out := c.CreateResourceRequest(input) return out, req.Send() @@ -971,14 +961,13 @@ const opCreateRestApi = "CreateRestApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRestApiRequest method. +// req, resp := client.CreateRestApiRequest(params) // -// // Example sending a request using the CreateRestApiRequest method. -// req, resp := client.CreateRestApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) CreateRestApiRequest(input *CreateRestApiInput) (req *request.Request, output *RestApi) { op := &request.Operation{ Name: opCreateRestApi, @@ -1007,24 +996,24 @@ func (c *APIGateway) CreateRestApiRequest(input *CreateRestApiInput) (req *reque // API operation CreateRestApi for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) CreateRestApi(input *CreateRestApiInput) (*RestApi, error) { req, out := c.CreateRestApiRequest(input) return out, req.Send() @@ -1062,14 +1051,13 @@ const opCreateStage = "CreateStage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStageRequest method. +// req, resp := client.CreateStageRequest(params) // -// // Example sending a request using the CreateStageRequest method. -// req, resp := client.CreateStageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) CreateStageRequest(input *CreateStageInput) (req *request.Request, output *Stage) { op := &request.Operation{ Name: opCreateStage, @@ -1099,27 +1087,27 @@ func (c *APIGateway) CreateStageRequest(input *CreateStageInput) (req *request.R // API operation CreateStage for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. // -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) CreateStage(input *CreateStageInput) (*Stage, error) { req, out := c.CreateStageRequest(input) return out, req.Send() @@ -1157,14 +1145,13 @@ const opCreateUsagePlan = "CreateUsagePlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUsagePlanRequest method. +// req, resp := client.CreateUsagePlanRequest(params) // -// // Example sending a request using the CreateUsagePlanRequest method. -// req, resp := client.CreateUsagePlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) CreateUsagePlanRequest(input *CreateUsagePlanInput) (req *request.Request, output *UsagePlan) { op := &request.Operation{ Name: opCreateUsagePlan, @@ -1194,27 +1181,27 @@ func (c *APIGateway) CreateUsagePlanRequest(input *CreateUsagePlanInput) (req *r // API operation CreateUsagePlan for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) CreateUsagePlan(input *CreateUsagePlanInput) (*UsagePlan, error) { req, out := c.CreateUsagePlanRequest(input) return out, req.Send() @@ -1252,14 +1239,13 @@ const opCreateUsagePlanKey = "CreateUsagePlanKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUsagePlanKeyRequest method. +// req, resp := client.CreateUsagePlanKeyRequest(params) // -// // Example sending a request using the CreateUsagePlanKeyRequest method. -// req, resp := client.CreateUsagePlanKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) CreateUsagePlanKeyRequest(input *CreateUsagePlanKeyInput) (req *request.Request, output *UsagePlanKey) { op := &request.Operation{ Name: opCreateUsagePlanKey, @@ -1288,27 +1274,27 @@ func (c *APIGateway) CreateUsagePlanKeyRequest(input *CreateUsagePlanKeyInput) ( // API operation CreateUsagePlanKey for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) CreateUsagePlanKey(input *CreateUsagePlanKeyInput) (*UsagePlanKey, error) { req, out := c.CreateUsagePlanKeyRequest(input) return out, req.Send() @@ -1346,14 +1332,13 @@ const opCreateVpcLink = "CreateVpcLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVpcLinkRequest method. +// req, resp := client.CreateVpcLinkRequest(params) // -// // Example sending a request using the CreateVpcLinkRequest method. -// req, resp := client.CreateVpcLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) CreateVpcLinkRequest(input *CreateVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput) { op := &request.Operation{ Name: opCreateVpcLink, @@ -1385,24 +1370,24 @@ func (c *APIGateway) CreateVpcLinkRequest(input *CreateVpcLinkInput) (req *reque // API operation CreateVpcLink for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) CreateVpcLink(input *CreateVpcLinkInput) (*UpdateVpcLinkOutput, error) { req, out := c.CreateVpcLinkRequest(input) return out, req.Send() @@ -1440,14 +1425,13 @@ const opDeleteApiKey = "DeleteApiKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApiKeyRequest method. +// req, resp := client.DeleteApiKeyRequest(params) // -// // Example sending a request using the DeleteApiKeyRequest method. -// req, resp := client.DeleteApiKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteApiKeyRequest(input *DeleteApiKeyInput) (req *request.Request, output *DeleteApiKeyOutput) { op := &request.Operation{ Name: opDeleteApiKey, @@ -1477,24 +1461,24 @@ func (c *APIGateway) DeleteApiKeyRequest(input *DeleteApiKeyInput) (req *request // API operation DeleteApiKey for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteApiKey(input *DeleteApiKeyInput) (*DeleteApiKeyOutput, error) { req, out := c.DeleteApiKeyRequest(input) return out, req.Send() @@ -1532,14 +1516,13 @@ const opDeleteAuthorizer = "DeleteAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAuthorizerRequest method. +// req, resp := client.DeleteAuthorizerRequest(params) // -// // Example sending a request using the DeleteAuthorizerRequest method. -// req, resp := client.DeleteAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) (req *request.Request, output *DeleteAuthorizerOutput) { op := &request.Operation{ Name: opDeleteAuthorizer, @@ -1569,24 +1552,24 @@ func (c *APIGateway) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) (req // API operation DeleteAuthorizer for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteAuthorizer(input *DeleteAuthorizerInput) (*DeleteAuthorizerOutput, error) { req, out := c.DeleteAuthorizerRequest(input) return out, req.Send() @@ -1624,14 +1607,13 @@ const opDeleteBasePathMapping = "DeleteBasePathMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBasePathMappingRequest method. +// req, resp := client.DeleteBasePathMappingRequest(params) // -// // Example sending a request using the DeleteBasePathMappingRequest method. -// req, resp := client.DeleteBasePathMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteBasePathMappingRequest(input *DeleteBasePathMappingInput) (req *request.Request, output *DeleteBasePathMappingOutput) { op := &request.Operation{ Name: opDeleteBasePathMapping, @@ -1661,24 +1643,24 @@ func (c *APIGateway) DeleteBasePathMappingRequest(input *DeleteBasePathMappingIn // API operation DeleteBasePathMapping for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteBasePathMapping(input *DeleteBasePathMappingInput) (*DeleteBasePathMappingOutput, error) { req, out := c.DeleteBasePathMappingRequest(input) return out, req.Send() @@ -1716,14 +1698,13 @@ const opDeleteClientCertificate = "DeleteClientCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClientCertificateRequest method. +// req, resp := client.DeleteClientCertificateRequest(params) // -// // Example sending a request using the DeleteClientCertificateRequest method. -// req, resp := client.DeleteClientCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteClientCertificateRequest(input *DeleteClientCertificateInput) (req *request.Request, output *DeleteClientCertificateOutput) { op := &request.Operation{ Name: opDeleteClientCertificate, @@ -1753,24 +1734,24 @@ func (c *APIGateway) DeleteClientCertificateRequest(input *DeleteClientCertifica // API operation DeleteClientCertificate for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteClientCertificate(input *DeleteClientCertificateInput) (*DeleteClientCertificateOutput, error) { req, out := c.DeleteClientCertificateRequest(input) return out, req.Send() @@ -1808,14 +1789,13 @@ const opDeleteDeployment = "DeleteDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDeploymentRequest method. +// req, resp := client.DeleteDeploymentRequest(params) // -// // Example sending a request using the DeleteDeploymentRequest method. -// req, resp := client.DeleteDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteDeploymentRequest(input *DeleteDeploymentInput) (req *request.Request, output *DeleteDeploymentOutput) { op := &request.Operation{ Name: opDeleteDeployment, @@ -1846,27 +1826,27 @@ func (c *APIGateway) DeleteDeploymentRequest(input *DeleteDeploymentInput) (req // API operation DeleteDeployment for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteDeployment(input *DeleteDeploymentInput) (*DeleteDeploymentOutput, error) { req, out := c.DeleteDeploymentRequest(input) return out, req.Send() @@ -1904,14 +1884,13 @@ const opDeleteDocumentationPart = "DeleteDocumentationPart" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDocumentationPartRequest method. +// req, resp := client.DeleteDocumentationPartRequest(params) // -// // Example sending a request using the DeleteDocumentationPartRequest method. -// req, resp := client.DeleteDocumentationPartRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteDocumentationPartRequest(input *DeleteDocumentationPartInput) (req *request.Request, output *DeleteDocumentationPartOutput) { op := &request.Operation{ Name: opDeleteDocumentationPart, @@ -1931,7 +1910,7 @@ func (c *APIGateway) DeleteDocumentationPartRequest(input *DeleteDocumentationPa // DeleteDocumentationPart API operation for Amazon API Gateway. // -// Deletes a documentation part +// # Deletes a documentation part // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1941,24 +1920,24 @@ func (c *APIGateway) DeleteDocumentationPartRequest(input *DeleteDocumentationPa // API operation DeleteDocumentationPart for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteDocumentationPart(input *DeleteDocumentationPartInput) (*DeleteDocumentationPartOutput, error) { req, out := c.DeleteDocumentationPartRequest(input) return out, req.Send() @@ -1996,14 +1975,13 @@ const opDeleteDocumentationVersion = "DeleteDocumentationVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDocumentationVersionRequest method. +// req, resp := client.DeleteDocumentationVersionRequest(params) // -// // Example sending a request using the DeleteDocumentationVersionRequest method. -// req, resp := client.DeleteDocumentationVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteDocumentationVersionRequest(input *DeleteDocumentationVersionInput) (req *request.Request, output *DeleteDocumentationVersionOutput) { op := &request.Operation{ Name: opDeleteDocumentationVersion, @@ -2033,24 +2011,24 @@ func (c *APIGateway) DeleteDocumentationVersionRequest(input *DeleteDocumentatio // API operation DeleteDocumentationVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteDocumentationVersion(input *DeleteDocumentationVersionInput) (*DeleteDocumentationVersionOutput, error) { req, out := c.DeleteDocumentationVersionRequest(input) return out, req.Send() @@ -2088,14 +2066,13 @@ const opDeleteDomainName = "DeleteDomainName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainNameRequest method. +// req, resp := client.DeleteDomainNameRequest(params) // -// // Example sending a request using the DeleteDomainNameRequest method. -// req, resp := client.DeleteDomainNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteDomainNameRequest(input *DeleteDomainNameInput) (req *request.Request, output *DeleteDomainNameOutput) { op := &request.Operation{ Name: opDeleteDomainName, @@ -2125,24 +2102,24 @@ func (c *APIGateway) DeleteDomainNameRequest(input *DeleteDomainNameInput) (req // API operation DeleteDomainName for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteDomainName(input *DeleteDomainNameInput) (*DeleteDomainNameOutput, error) { req, out := c.DeleteDomainNameRequest(input) return out, req.Send() @@ -2180,14 +2157,13 @@ const opDeleteGatewayResponse = "DeleteGatewayResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGatewayResponseRequest method. +// req, resp := client.DeleteGatewayResponseRequest(params) // -// // Example sending a request using the DeleteGatewayResponseRequest method. -// req, resp := client.DeleteGatewayResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteGatewayResponseRequest(input *DeleteGatewayResponseInput) (req *request.Request, output *DeleteGatewayResponseOutput) { op := &request.Operation{ Name: opDeleteGatewayResponse, @@ -2218,24 +2194,24 @@ func (c *APIGateway) DeleteGatewayResponseRequest(input *DeleteGatewayResponseIn // API operation DeleteGatewayResponse for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteGatewayResponse(input *DeleteGatewayResponseInput) (*DeleteGatewayResponseOutput, error) { req, out := c.DeleteGatewayResponseRequest(input) return out, req.Send() @@ -2273,14 +2249,13 @@ const opDeleteIntegration = "DeleteIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIntegrationRequest method. +// req, resp := client.DeleteIntegrationRequest(params) // -// // Example sending a request using the DeleteIntegrationRequest method. -// req, resp := client.DeleteIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteIntegrationRequest(input *DeleteIntegrationInput) (req *request.Request, output *DeleteIntegrationOutput) { op := &request.Operation{ Name: opDeleteIntegration, @@ -2310,24 +2285,24 @@ func (c *APIGateway) DeleteIntegrationRequest(input *DeleteIntegrationInput) (re // API operation DeleteIntegration for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteIntegration(input *DeleteIntegrationInput) (*DeleteIntegrationOutput, error) { req, out := c.DeleteIntegrationRequest(input) return out, req.Send() @@ -2365,14 +2340,13 @@ const opDeleteIntegrationResponse = "DeleteIntegrationResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIntegrationResponseRequest method. +// req, resp := client.DeleteIntegrationResponseRequest(params) // -// // Example sending a request using the DeleteIntegrationResponseRequest method. -// req, resp := client.DeleteIntegrationResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteIntegrationResponseRequest(input *DeleteIntegrationResponseInput) (req *request.Request, output *DeleteIntegrationResponseOutput) { op := &request.Operation{ Name: opDeleteIntegrationResponse, @@ -2402,24 +2376,24 @@ func (c *APIGateway) DeleteIntegrationResponseRequest(input *DeleteIntegrationRe // API operation DeleteIntegrationResponse for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteIntegrationResponse(input *DeleteIntegrationResponseInput) (*DeleteIntegrationResponseOutput, error) { req, out := c.DeleteIntegrationResponseRequest(input) return out, req.Send() @@ -2457,14 +2431,13 @@ const opDeleteMethod = "DeleteMethod" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMethodRequest method. +// req, resp := client.DeleteMethodRequest(params) // -// // Example sending a request using the DeleteMethodRequest method. -// req, resp := client.DeleteMethodRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteMethodRequest(input *DeleteMethodInput) (req *request.Request, output *DeleteMethodOutput) { op := &request.Operation{ Name: opDeleteMethod, @@ -2494,20 +2467,20 @@ func (c *APIGateway) DeleteMethodRequest(input *DeleteMethodInput) (req *request // API operation DeleteMethod for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. // +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. func (c *APIGateway) DeleteMethod(input *DeleteMethodInput) (*DeleteMethodOutput, error) { req, out := c.DeleteMethodRequest(input) return out, req.Send() @@ -2545,14 +2518,13 @@ const opDeleteMethodResponse = "DeleteMethodResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMethodResponseRequest method. +// req, resp := client.DeleteMethodResponseRequest(params) // -// // Example sending a request using the DeleteMethodResponseRequest method. -// req, resp := client.DeleteMethodResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteMethodResponseRequest(input *DeleteMethodResponseInput) (req *request.Request, output *DeleteMethodResponseOutput) { op := &request.Operation{ Name: opDeleteMethodResponse, @@ -2582,24 +2554,24 @@ func (c *APIGateway) DeleteMethodResponseRequest(input *DeleteMethodResponseInpu // API operation DeleteMethodResponse for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. func (c *APIGateway) DeleteMethodResponse(input *DeleteMethodResponseInput) (*DeleteMethodResponseOutput, error) { req, out := c.DeleteMethodResponseRequest(input) return out, req.Send() @@ -2637,14 +2609,13 @@ const opDeleteModel = "DeleteModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteModelRequest method. +// req, resp := client.DeleteModelRequest(params) // -// // Example sending a request using the DeleteModelRequest method. -// req, resp := client.DeleteModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput) { op := &request.Operation{ Name: opDeleteModel, @@ -2674,24 +2645,24 @@ func (c *APIGateway) DeleteModelRequest(input *DeleteModelInput) (req *request.R // API operation DeleteModel for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error) { req, out := c.DeleteModelRequest(input) return out, req.Send() @@ -2729,14 +2700,13 @@ const opDeleteRequestValidator = "DeleteRequestValidator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRequestValidatorRequest method. +// req, resp := client.DeleteRequestValidatorRequest(params) // -// // Example sending a request using the DeleteRequestValidatorRequest method. -// req, resp := client.DeleteRequestValidatorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteRequestValidatorRequest(input *DeleteRequestValidatorInput) (req *request.Request, output *DeleteRequestValidatorOutput) { op := &request.Operation{ Name: opDeleteRequestValidator, @@ -2766,24 +2736,24 @@ func (c *APIGateway) DeleteRequestValidatorRequest(input *DeleteRequestValidator // API operation DeleteRequestValidator for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteRequestValidator(input *DeleteRequestValidatorInput) (*DeleteRequestValidatorOutput, error) { req, out := c.DeleteRequestValidatorRequest(input) return out, req.Send() @@ -2821,14 +2791,13 @@ const opDeleteResource = "DeleteResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourceRequest method. +// req, resp := client.DeleteResourceRequest(params) // -// // Example sending a request using the DeleteResourceRequest method. -// req, resp := client.DeleteResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteResourceRequest(input *DeleteResourceInput) (req *request.Request, output *DeleteResourceOutput) { op := &request.Operation{ Name: opDeleteResource, @@ -2858,24 +2827,24 @@ func (c *APIGateway) DeleteResourceRequest(input *DeleteResourceInput) (req *req // API operation DeleteResource for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteResource(input *DeleteResourceInput) (*DeleteResourceOutput, error) { req, out := c.DeleteResourceRequest(input) return out, req.Send() @@ -2913,14 +2882,13 @@ const opDeleteRestApi = "DeleteRestApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRestApiRequest method. +// req, resp := client.DeleteRestApiRequest(params) // -// // Example sending a request using the DeleteRestApiRequest method. -// req, resp := client.DeleteRestApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteRestApiRequest(input *DeleteRestApiInput) (req *request.Request, output *DeleteRestApiOutput) { op := &request.Operation{ Name: opDeleteRestApi, @@ -2950,24 +2918,24 @@ func (c *APIGateway) DeleteRestApiRequest(input *DeleteRestApiInput) (req *reque // API operation DeleteRestApi for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteRestApi(input *DeleteRestApiInput) (*DeleteRestApiOutput, error) { req, out := c.DeleteRestApiRequest(input) return out, req.Send() @@ -3005,14 +2973,13 @@ const opDeleteStage = "DeleteStage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStageRequest method. +// req, resp := client.DeleteStageRequest(params) // -// // Example sending a request using the DeleteStageRequest method. -// req, resp := client.DeleteStageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteStageRequest(input *DeleteStageInput) (req *request.Request, output *DeleteStageOutput) { op := &request.Operation{ Name: opDeleteStage, @@ -3042,27 +3009,27 @@ func (c *APIGateway) DeleteStageRequest(input *DeleteStageInput) (req *request.R // API operation DeleteStage for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteStage(input *DeleteStageInput) (*DeleteStageOutput, error) { req, out := c.DeleteStageRequest(input) return out, req.Send() @@ -3100,14 +3067,13 @@ const opDeleteUsagePlan = "DeleteUsagePlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUsagePlanRequest method. +// req, resp := client.DeleteUsagePlanRequest(params) // -// // Example sending a request using the DeleteUsagePlanRequest method. -// req, resp := client.DeleteUsagePlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteUsagePlanRequest(input *DeleteUsagePlanInput) (req *request.Request, output *DeleteUsagePlanOutput) { op := &request.Operation{ Name: opDeleteUsagePlan, @@ -3137,24 +3103,24 @@ func (c *APIGateway) DeleteUsagePlanRequest(input *DeleteUsagePlanInput) (req *r // API operation DeleteUsagePlan for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteUsagePlan(input *DeleteUsagePlanInput) (*DeleteUsagePlanOutput, error) { req, out := c.DeleteUsagePlanRequest(input) return out, req.Send() @@ -3192,14 +3158,13 @@ const opDeleteUsagePlanKey = "DeleteUsagePlanKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUsagePlanKeyRequest method. +// req, resp := client.DeleteUsagePlanKeyRequest(params) // -// // Example sending a request using the DeleteUsagePlanKeyRequest method. -// req, resp := client.DeleteUsagePlanKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteUsagePlanKeyRequest(input *DeleteUsagePlanKeyInput) (req *request.Request, output *DeleteUsagePlanKeyOutput) { op := &request.Operation{ Name: opDeleteUsagePlanKey, @@ -3230,24 +3195,24 @@ func (c *APIGateway) DeleteUsagePlanKeyRequest(input *DeleteUsagePlanKeyInput) ( // API operation DeleteUsagePlanKey for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteUsagePlanKey(input *DeleteUsagePlanKeyInput) (*DeleteUsagePlanKeyOutput, error) { req, out := c.DeleteUsagePlanKeyRequest(input) return out, req.Send() @@ -3285,14 +3250,13 @@ const opDeleteVpcLink = "DeleteVpcLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVpcLinkRequest method. +// req, resp := client.DeleteVpcLinkRequest(params) // -// // Example sending a request using the DeleteVpcLinkRequest method. -// req, resp := client.DeleteVpcLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) DeleteVpcLinkRequest(input *DeleteVpcLinkInput) (req *request.Request, output *DeleteVpcLinkOutput) { op := &request.Operation{ Name: opDeleteVpcLink, @@ -3322,24 +3286,24 @@ func (c *APIGateway) DeleteVpcLinkRequest(input *DeleteVpcLinkInput) (req *reque // API operation DeleteVpcLink for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) DeleteVpcLink(input *DeleteVpcLinkInput) (*DeleteVpcLinkOutput, error) { req, out := c.DeleteVpcLinkRequest(input) return out, req.Send() @@ -3377,14 +3341,13 @@ const opFlushStageAuthorizersCache = "FlushStageAuthorizersCache" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the FlushStageAuthorizersCacheRequest method. +// req, resp := client.FlushStageAuthorizersCacheRequest(params) // -// // Example sending a request using the FlushStageAuthorizersCacheRequest method. -// req, resp := client.FlushStageAuthorizersCacheRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) FlushStageAuthorizersCacheRequest(input *FlushStageAuthorizersCacheInput) (req *request.Request, output *FlushStageAuthorizersCacheOutput) { op := &request.Operation{ Name: opFlushStageAuthorizersCache, @@ -3414,27 +3377,27 @@ func (c *APIGateway) FlushStageAuthorizersCacheRequest(input *FlushStageAuthoriz // API operation FlushStageAuthorizersCache for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) FlushStageAuthorizersCache(input *FlushStageAuthorizersCacheInput) (*FlushStageAuthorizersCacheOutput, error) { req, out := c.FlushStageAuthorizersCacheRequest(input) return out, req.Send() @@ -3472,14 +3435,13 @@ const opFlushStageCache = "FlushStageCache" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the FlushStageCacheRequest method. +// req, resp := client.FlushStageCacheRequest(params) // -// // Example sending a request using the FlushStageCacheRequest method. -// req, resp := client.FlushStageCacheRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) FlushStageCacheRequest(input *FlushStageCacheInput) (req *request.Request, output *FlushStageCacheOutput) { op := &request.Operation{ Name: opFlushStageCache, @@ -3509,27 +3471,27 @@ func (c *APIGateway) FlushStageCacheRequest(input *FlushStageCacheInput) (req *r // API operation FlushStageCache for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) FlushStageCache(input *FlushStageCacheInput) (*FlushStageCacheOutput, error) { req, out := c.FlushStageCacheRequest(input) return out, req.Send() @@ -3567,14 +3529,13 @@ const opGenerateClientCertificate = "GenerateClientCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateClientCertificateRequest method. +// req, resp := client.GenerateClientCertificateRequest(params) // -// // Example sending a request using the GenerateClientCertificateRequest method. -// req, resp := client.GenerateClientCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GenerateClientCertificateRequest(input *GenerateClientCertificateInput) (req *request.Request, output *ClientCertificate) { op := &request.Operation{ Name: opGenerateClientCertificate, @@ -3603,24 +3564,24 @@ func (c *APIGateway) GenerateClientCertificateRequest(input *GenerateClientCerti // API operation GenerateClientCertificate for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GenerateClientCertificate(input *GenerateClientCertificateInput) (*ClientCertificate, error) { req, out := c.GenerateClientCertificateRequest(input) return out, req.Send() @@ -3658,14 +3619,13 @@ const opGetAccount = "GetAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountRequest method. +// req, resp := client.GetAccountRequest(params) // -// // Example sending a request using the GetAccountRequest method. -// req, resp := client.GetAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetAccountRequest(input *GetAccountInput) (req *request.Request, output *Account) { op := &request.Operation{ Name: opGetAccount, @@ -3694,20 +3654,20 @@ func (c *APIGateway) GetAccountRequest(input *GetAccountInput) (req *request.Req // API operation GetAccount for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetAccount(input *GetAccountInput) (*Account, error) { req, out := c.GetAccountRequest(input) return out, req.Send() @@ -3745,14 +3705,13 @@ const opGetApiKey = "GetApiKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApiKeyRequest method. +// req, resp := client.GetApiKeyRequest(params) // -// // Example sending a request using the GetApiKeyRequest method. -// req, resp := client.GetApiKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetApiKeyRequest(input *GetApiKeyInput) (req *request.Request, output *ApiKey) { op := &request.Operation{ Name: opGetApiKey, @@ -3781,20 +3740,20 @@ func (c *APIGateway) GetApiKeyRequest(input *GetApiKeyInput) (req *request.Reque // API operation GetApiKey for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetApiKey(input *GetApiKeyInput) (*ApiKey, error) { req, out := c.GetApiKeyRequest(input) return out, req.Send() @@ -3832,14 +3791,13 @@ const opGetApiKeys = "GetApiKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApiKeysRequest method. +// req, resp := client.GetApiKeysRequest(params) // -// // Example sending a request using the GetApiKeysRequest method. -// req, resp := client.GetApiKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetApiKeysRequest(input *GetApiKeysInput) (req *request.Request, output *GetApiKeysOutput) { op := &request.Operation{ Name: opGetApiKeys, @@ -3874,20 +3832,20 @@ func (c *APIGateway) GetApiKeysRequest(input *GetApiKeysInput) (req *request.Req // API operation GetApiKeys for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetApiKeys(input *GetApiKeysInput) (*GetApiKeysOutput, error) { req, out := c.GetApiKeysRequest(input) return out, req.Send() @@ -3917,15 +3875,14 @@ func (c *APIGateway) GetApiKeysWithContext(ctx aws.Context, input *GetApiKeysInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetApiKeys operation. -// pageNum := 0 -// err := client.GetApiKeysPages(params, -// func(page *apigateway.GetApiKeysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetApiKeys operation. +// pageNum := 0 +// err := client.GetApiKeysPages(params, +// func(page *apigateway.GetApiKeysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *APIGateway) GetApiKeysPages(input *GetApiKeysInput, fn func(*GetApiKeysOutput, bool) bool) error { return c.GetApiKeysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3977,14 +3934,13 @@ const opGetAuthorizer = "GetAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAuthorizerRequest method. +// req, resp := client.GetAuthorizerRequest(params) // -// // Example sending a request using the GetAuthorizerRequest method. -// req, resp := client.GetAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetAuthorizerRequest(input *GetAuthorizerInput) (req *request.Request, output *Authorizer) { op := &request.Operation{ Name: opGetAuthorizer, @@ -4013,20 +3969,20 @@ func (c *APIGateway) GetAuthorizerRequest(input *GetAuthorizerInput) (req *reque // API operation GetAuthorizer for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetAuthorizer(input *GetAuthorizerInput) (*Authorizer, error) { req, out := c.GetAuthorizerRequest(input) return out, req.Send() @@ -4064,14 +4020,13 @@ const opGetAuthorizers = "GetAuthorizers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAuthorizersRequest method. +// req, resp := client.GetAuthorizersRequest(params) // -// // Example sending a request using the GetAuthorizersRequest method. -// req, resp := client.GetAuthorizersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetAuthorizersRequest(input *GetAuthorizersInput) (req *request.Request, output *GetAuthorizersOutput) { op := &request.Operation{ Name: opGetAuthorizers, @@ -4100,20 +4055,20 @@ func (c *APIGateway) GetAuthorizersRequest(input *GetAuthorizersInput) (req *req // API operation GetAuthorizers for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetAuthorizers(input *GetAuthorizersInput) (*GetAuthorizersOutput, error) { req, out := c.GetAuthorizersRequest(input) return out, req.Send() @@ -4151,14 +4106,13 @@ const opGetBasePathMapping = "GetBasePathMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBasePathMappingRequest method. +// req, resp := client.GetBasePathMappingRequest(params) // -// // Example sending a request using the GetBasePathMappingRequest method. -// req, resp := client.GetBasePathMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetBasePathMappingRequest(input *GetBasePathMappingInput) (req *request.Request, output *BasePathMapping) { op := &request.Operation{ Name: opGetBasePathMapping, @@ -4187,20 +4141,20 @@ func (c *APIGateway) GetBasePathMappingRequest(input *GetBasePathMappingInput) ( // API operation GetBasePathMapping for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetBasePathMapping(input *GetBasePathMappingInput) (*BasePathMapping, error) { req, out := c.GetBasePathMappingRequest(input) return out, req.Send() @@ -4238,14 +4192,13 @@ const opGetBasePathMappings = "GetBasePathMappings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBasePathMappingsRequest method. +// req, resp := client.GetBasePathMappingsRequest(params) // -// // Example sending a request using the GetBasePathMappingsRequest method. -// req, resp := client.GetBasePathMappingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetBasePathMappingsRequest(input *GetBasePathMappingsInput) (req *request.Request, output *GetBasePathMappingsOutput) { op := &request.Operation{ Name: opGetBasePathMappings, @@ -4280,20 +4233,20 @@ func (c *APIGateway) GetBasePathMappingsRequest(input *GetBasePathMappingsInput) // API operation GetBasePathMappings for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetBasePathMappings(input *GetBasePathMappingsInput) (*GetBasePathMappingsOutput, error) { req, out := c.GetBasePathMappingsRequest(input) return out, req.Send() @@ -4323,15 +4276,14 @@ func (c *APIGateway) GetBasePathMappingsWithContext(ctx aws.Context, input *GetB // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetBasePathMappings operation. -// pageNum := 0 -// err := client.GetBasePathMappingsPages(params, -// func(page *apigateway.GetBasePathMappingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetBasePathMappings operation. +// pageNum := 0 +// err := client.GetBasePathMappingsPages(params, +// func(page *apigateway.GetBasePathMappingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *APIGateway) GetBasePathMappingsPages(input *GetBasePathMappingsInput, fn func(*GetBasePathMappingsOutput, bool) bool) error { return c.GetBasePathMappingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4383,14 +4335,13 @@ const opGetClientCertificate = "GetClientCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetClientCertificateRequest method. +// req, resp := client.GetClientCertificateRequest(params) // -// // Example sending a request using the GetClientCertificateRequest method. -// req, resp := client.GetClientCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetClientCertificateRequest(input *GetClientCertificateInput) (req *request.Request, output *ClientCertificate) { op := &request.Operation{ Name: opGetClientCertificate, @@ -4419,20 +4370,20 @@ func (c *APIGateway) GetClientCertificateRequest(input *GetClientCertificateInpu // API operation GetClientCertificate for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetClientCertificate(input *GetClientCertificateInput) (*ClientCertificate, error) { req, out := c.GetClientCertificateRequest(input) return out, req.Send() @@ -4470,14 +4421,13 @@ const opGetClientCertificates = "GetClientCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetClientCertificatesRequest method. +// req, resp := client.GetClientCertificatesRequest(params) // -// // Example sending a request using the GetClientCertificatesRequest method. -// req, resp := client.GetClientCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetClientCertificatesRequest(input *GetClientCertificatesInput) (req *request.Request, output *GetClientCertificatesOutput) { op := &request.Operation{ Name: opGetClientCertificates, @@ -4512,20 +4462,20 @@ func (c *APIGateway) GetClientCertificatesRequest(input *GetClientCertificatesIn // API operation GetClientCertificates for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetClientCertificates(input *GetClientCertificatesInput) (*GetClientCertificatesOutput, error) { req, out := c.GetClientCertificatesRequest(input) return out, req.Send() @@ -4555,15 +4505,14 @@ func (c *APIGateway) GetClientCertificatesWithContext(ctx aws.Context, input *Ge // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetClientCertificates operation. -// pageNum := 0 -// err := client.GetClientCertificatesPages(params, -// func(page *apigateway.GetClientCertificatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetClientCertificates operation. +// pageNum := 0 +// err := client.GetClientCertificatesPages(params, +// func(page *apigateway.GetClientCertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *APIGateway) GetClientCertificatesPages(input *GetClientCertificatesInput, fn func(*GetClientCertificatesOutput, bool) bool) error { return c.GetClientCertificatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4615,14 +4564,13 @@ const opGetDeployment = "GetDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeploymentRequest method. +// req, resp := client.GetDeploymentRequest(params) // -// // Example sending a request using the GetDeploymentRequest method. -// req, resp := client.GetDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetDeploymentRequest(input *GetDeploymentInput) (req *request.Request, output *Deployment) { op := &request.Operation{ Name: opGetDeployment, @@ -4651,24 +4599,24 @@ func (c *APIGateway) GetDeploymentRequest(input *GetDeploymentInput) (req *reque // API operation GetDeployment for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * ServiceUnavailableException -// The requested service is not available. For details see the accompanying -// error message. Retry after the specified time period. +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. // +// - ServiceUnavailableException +// The requested service is not available. For details see the accompanying +// error message. Retry after the specified time period. func (c *APIGateway) GetDeployment(input *GetDeploymentInput) (*Deployment, error) { req, out := c.GetDeploymentRequest(input) return out, req.Send() @@ -4706,14 +4654,13 @@ const opGetDeployments = "GetDeployments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeploymentsRequest method. +// req, resp := client.GetDeploymentsRequest(params) // -// // Example sending a request using the GetDeploymentsRequest method. -// req, resp := client.GetDeploymentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetDeploymentsRequest(input *GetDeploymentsInput) (req *request.Request, output *GetDeploymentsOutput) { op := &request.Operation{ Name: opGetDeployments, @@ -4748,24 +4695,24 @@ func (c *APIGateway) GetDeploymentsRequest(input *GetDeploymentsInput) (req *req // API operation GetDeployments for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * ServiceUnavailableException -// The requested service is not available. For details see the accompanying -// error message. Retry after the specified time period. +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. // +// - ServiceUnavailableException +// The requested service is not available. For details see the accompanying +// error message. Retry after the specified time period. func (c *APIGateway) GetDeployments(input *GetDeploymentsInput) (*GetDeploymentsOutput, error) { req, out := c.GetDeploymentsRequest(input) return out, req.Send() @@ -4795,15 +4742,14 @@ func (c *APIGateway) GetDeploymentsWithContext(ctx aws.Context, input *GetDeploy // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetDeployments operation. -// pageNum := 0 -// err := client.GetDeploymentsPages(params, -// func(page *apigateway.GetDeploymentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetDeployments operation. +// pageNum := 0 +// err := client.GetDeploymentsPages(params, +// func(page *apigateway.GetDeploymentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *APIGateway) GetDeploymentsPages(input *GetDeploymentsInput, fn func(*GetDeploymentsOutput, bool) bool) error { return c.GetDeploymentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4855,14 +4801,13 @@ const opGetDocumentationPart = "GetDocumentationPart" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDocumentationPartRequest method. +// req, resp := client.GetDocumentationPartRequest(params) // -// // Example sending a request using the GetDocumentationPartRequest method. -// req, resp := client.GetDocumentationPartRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetDocumentationPartRequest(input *GetDocumentationPartInput) (req *request.Request, output *DocumentationPart) { op := &request.Operation{ Name: opGetDocumentationPart, @@ -4891,20 +4836,20 @@ func (c *APIGateway) GetDocumentationPartRequest(input *GetDocumentationPartInpu // API operation GetDocumentationPart for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetDocumentationPart(input *GetDocumentationPartInput) (*DocumentationPart, error) { req, out := c.GetDocumentationPartRequest(input) return out, req.Send() @@ -4942,14 +4887,13 @@ const opGetDocumentationParts = "GetDocumentationParts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDocumentationPartsRequest method. +// req, resp := client.GetDocumentationPartsRequest(params) // -// // Example sending a request using the GetDocumentationPartsRequest method. -// req, resp := client.GetDocumentationPartsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetDocumentationPartsRequest(input *GetDocumentationPartsInput) (req *request.Request, output *GetDocumentationPartsOutput) { op := &request.Operation{ Name: opGetDocumentationParts, @@ -4978,20 +4922,20 @@ func (c *APIGateway) GetDocumentationPartsRequest(input *GetDocumentationPartsIn // API operation GetDocumentationParts for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetDocumentationParts(input *GetDocumentationPartsInput) (*GetDocumentationPartsOutput, error) { req, out := c.GetDocumentationPartsRequest(input) return out, req.Send() @@ -5029,14 +4973,13 @@ const opGetDocumentationVersion = "GetDocumentationVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDocumentationVersionRequest method. +// req, resp := client.GetDocumentationVersionRequest(params) // -// // Example sending a request using the GetDocumentationVersionRequest method. -// req, resp := client.GetDocumentationVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetDocumentationVersionRequest(input *GetDocumentationVersionInput) (req *request.Request, output *DocumentationVersion) { op := &request.Operation{ Name: opGetDocumentationVersion, @@ -5065,16 +5008,16 @@ func (c *APIGateway) GetDocumentationVersionRequest(input *GetDocumentationVersi // API operation GetDocumentationVersion for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetDocumentationVersion(input *GetDocumentationVersionInput) (*DocumentationVersion, error) { req, out := c.GetDocumentationVersionRequest(input) return out, req.Send() @@ -5112,14 +5055,13 @@ const opGetDocumentationVersions = "GetDocumentationVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDocumentationVersionsRequest method. +// req, resp := client.GetDocumentationVersionsRequest(params) // -// // Example sending a request using the GetDocumentationVersionsRequest method. -// req, resp := client.GetDocumentationVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetDocumentationVersionsRequest(input *GetDocumentationVersionsInput) (req *request.Request, output *GetDocumentationVersionsOutput) { op := &request.Operation{ Name: opGetDocumentationVersions, @@ -5148,20 +5090,20 @@ func (c *APIGateway) GetDocumentationVersionsRequest(input *GetDocumentationVers // API operation GetDocumentationVersions for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetDocumentationVersions(input *GetDocumentationVersionsInput) (*GetDocumentationVersionsOutput, error) { req, out := c.GetDocumentationVersionsRequest(input) return out, req.Send() @@ -5199,14 +5141,13 @@ const opGetDomainName = "GetDomainName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainNameRequest method. +// req, resp := client.GetDomainNameRequest(params) // -// // Example sending a request using the GetDomainNameRequest method. -// req, resp := client.GetDomainNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetDomainNameRequest(input *GetDomainNameInput) (req *request.Request, output *DomainName) { op := &request.Operation{ Name: opGetDomainName, @@ -5236,20 +5177,20 @@ func (c *APIGateway) GetDomainNameRequest(input *GetDomainNameInput) (req *reque // API operation GetDomainName for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetDomainName(input *GetDomainNameInput) (*DomainName, error) { req, out := c.GetDomainNameRequest(input) return out, req.Send() @@ -5287,14 +5228,13 @@ const opGetDomainNames = "GetDomainNames" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainNamesRequest method. +// req, resp := client.GetDomainNamesRequest(params) // -// // Example sending a request using the GetDomainNamesRequest method. -// req, resp := client.GetDomainNamesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetDomainNamesRequest(input *GetDomainNamesInput) (req *request.Request, output *GetDomainNamesOutput) { op := &request.Operation{ Name: opGetDomainNames, @@ -5329,20 +5269,20 @@ func (c *APIGateway) GetDomainNamesRequest(input *GetDomainNamesInput) (req *req // API operation GetDomainNames for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetDomainNames(input *GetDomainNamesInput) (*GetDomainNamesOutput, error) { req, out := c.GetDomainNamesRequest(input) return out, req.Send() @@ -5372,15 +5312,14 @@ func (c *APIGateway) GetDomainNamesWithContext(ctx aws.Context, input *GetDomain // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetDomainNames operation. -// pageNum := 0 -// err := client.GetDomainNamesPages(params, -// func(page *apigateway.GetDomainNamesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetDomainNames operation. +// pageNum := 0 +// err := client.GetDomainNamesPages(params, +// func(page *apigateway.GetDomainNamesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *APIGateway) GetDomainNamesPages(input *GetDomainNamesInput, fn func(*GetDomainNamesOutput, bool) bool) error { return c.GetDomainNamesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5432,14 +5371,13 @@ const opGetExport = "GetExport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetExportRequest method. +// req, resp := client.GetExportRequest(params) // -// // Example sending a request using the GetExportRequest method. -// req, resp := client.GetExportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetExportRequest(input *GetExportInput) (req *request.Request, output *GetExportOutput) { op := &request.Operation{ Name: opGetExport, @@ -5468,27 +5406,27 @@ func (c *APIGateway) GetExportRequest(input *GetExportInput) (req *request.Reque // API operation GetExport for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetExport(input *GetExportInput) (*GetExportOutput, error) { req, out := c.GetExportRequest(input) return out, req.Send() @@ -5526,14 +5464,13 @@ const opGetGatewayResponse = "GetGatewayResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGatewayResponseRequest method. +// req, resp := client.GetGatewayResponseRequest(params) // -// // Example sending a request using the GetGatewayResponseRequest method. -// req, resp := client.GetGatewayResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetGatewayResponseRequest(input *GetGatewayResponseInput) (req *request.Request, output *UpdateGatewayResponseOutput) { op := &request.Operation{ Name: opGetGatewayResponse, @@ -5562,20 +5499,20 @@ func (c *APIGateway) GetGatewayResponseRequest(input *GetGatewayResponseInput) ( // API operation GetGatewayResponse for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetGatewayResponse(input *GetGatewayResponseInput) (*UpdateGatewayResponseOutput, error) { req, out := c.GetGatewayResponseRequest(input) return out, req.Send() @@ -5613,14 +5550,13 @@ const opGetGatewayResponses = "GetGatewayResponses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGatewayResponsesRequest method. +// req, resp := client.GetGatewayResponsesRequest(params) // -// // Example sending a request using the GetGatewayResponsesRequest method. -// req, resp := client.GetGatewayResponsesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetGatewayResponsesRequest(input *GetGatewayResponsesInput) (req *request.Request, output *GetGatewayResponsesOutput) { op := &request.Operation{ Name: opGetGatewayResponses, @@ -5652,20 +5588,20 @@ func (c *APIGateway) GetGatewayResponsesRequest(input *GetGatewayResponsesInput) // API operation GetGatewayResponses for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetGatewayResponses(input *GetGatewayResponsesInput) (*GetGatewayResponsesOutput, error) { req, out := c.GetGatewayResponsesRequest(input) return out, req.Send() @@ -5703,14 +5639,13 @@ const opGetIntegration = "GetIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIntegrationRequest method. +// req, resp := client.GetIntegrationRequest(params) // -// // Example sending a request using the GetIntegrationRequest method. -// req, resp := client.GetIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetIntegrationRequest(input *GetIntegrationInput) (req *request.Request, output *Integration) { op := &request.Operation{ Name: opGetIntegration, @@ -5739,20 +5674,20 @@ func (c *APIGateway) GetIntegrationRequest(input *GetIntegrationInput) (req *req // API operation GetIntegration for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetIntegration(input *GetIntegrationInput) (*Integration, error) { req, out := c.GetIntegrationRequest(input) return out, req.Send() @@ -5790,14 +5725,13 @@ const opGetIntegrationResponse = "GetIntegrationResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIntegrationResponseRequest method. +// req, resp := client.GetIntegrationResponseRequest(params) // -// // Example sending a request using the GetIntegrationResponseRequest method. -// req, resp := client.GetIntegrationResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetIntegrationResponseRequest(input *GetIntegrationResponseInput) (req *request.Request, output *IntegrationResponse) { op := &request.Operation{ Name: opGetIntegrationResponse, @@ -5826,20 +5760,20 @@ func (c *APIGateway) GetIntegrationResponseRequest(input *GetIntegrationResponse // API operation GetIntegrationResponse for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetIntegrationResponse(input *GetIntegrationResponseInput) (*IntegrationResponse, error) { req, out := c.GetIntegrationResponseRequest(input) return out, req.Send() @@ -5877,14 +5811,13 @@ const opGetMethod = "GetMethod" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMethodRequest method. +// req, resp := client.GetMethodRequest(params) // -// // Example sending a request using the GetMethodRequest method. -// req, resp := client.GetMethodRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetMethodRequest(input *GetMethodInput) (req *request.Request, output *Method) { op := &request.Operation{ Name: opGetMethod, @@ -5913,16 +5846,16 @@ func (c *APIGateway) GetMethodRequest(input *GetMethodInput) (req *request.Reque // API operation GetMethod for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetMethod(input *GetMethodInput) (*Method, error) { req, out := c.GetMethodRequest(input) return out, req.Send() @@ -5960,14 +5893,13 @@ const opGetMethodResponse = "GetMethodResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMethodResponseRequest method. +// req, resp := client.GetMethodResponseRequest(params) // -// // Example sending a request using the GetMethodResponseRequest method. -// req, resp := client.GetMethodResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetMethodResponseRequest(input *GetMethodResponseInput) (req *request.Request, output *MethodResponse) { op := &request.Operation{ Name: opGetMethodResponse, @@ -5996,16 +5928,16 @@ func (c *APIGateway) GetMethodResponseRequest(input *GetMethodResponseInput) (re // API operation GetMethodResponse for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetMethodResponse(input *GetMethodResponseInput) (*MethodResponse, error) { req, out := c.GetMethodResponseRequest(input) return out, req.Send() @@ -6043,14 +5975,13 @@ const opGetModel = "GetModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetModelRequest method. +// req, resp := client.GetModelRequest(params) // -// // Example sending a request using the GetModelRequest method. -// req, resp := client.GetModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetModelRequest(input *GetModelInput) (req *request.Request, output *Model) { op := &request.Operation{ Name: opGetModel, @@ -6079,20 +6010,20 @@ func (c *APIGateway) GetModelRequest(input *GetModelInput) (req *request.Request // API operation GetModel for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetModel(input *GetModelInput) (*Model, error) { req, out := c.GetModelRequest(input) return out, req.Send() @@ -6130,14 +6061,13 @@ const opGetModelTemplate = "GetModelTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetModelTemplateRequest method. +// req, resp := client.GetModelTemplateRequest(params) // -// // Example sending a request using the GetModelTemplateRequest method. -// req, resp := client.GetModelTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetModelTemplateRequest(input *GetModelTemplateInput) (req *request.Request, output *GetModelTemplateOutput) { op := &request.Operation{ Name: opGetModelTemplate, @@ -6167,20 +6097,20 @@ func (c *APIGateway) GetModelTemplateRequest(input *GetModelTemplateInput) (req // API operation GetModelTemplate for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetModelTemplate(input *GetModelTemplateInput) (*GetModelTemplateOutput, error) { req, out := c.GetModelTemplateRequest(input) return out, req.Send() @@ -6218,14 +6148,13 @@ const opGetModels = "GetModels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetModelsRequest method. +// req, resp := client.GetModelsRequest(params) // -// // Example sending a request using the GetModelsRequest method. -// req, resp := client.GetModelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetModelsRequest(input *GetModelsInput) (req *request.Request, output *GetModelsOutput) { op := &request.Operation{ Name: opGetModels, @@ -6260,20 +6189,20 @@ func (c *APIGateway) GetModelsRequest(input *GetModelsInput) (req *request.Reque // API operation GetModels for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetModels(input *GetModelsInput) (*GetModelsOutput, error) { req, out := c.GetModelsRequest(input) return out, req.Send() @@ -6303,15 +6232,14 @@ func (c *APIGateway) GetModelsWithContext(ctx aws.Context, input *GetModelsInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetModels operation. -// pageNum := 0 -// err := client.GetModelsPages(params, -// func(page *apigateway.GetModelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetModels operation. +// pageNum := 0 +// err := client.GetModelsPages(params, +// func(page *apigateway.GetModelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *APIGateway) GetModelsPages(input *GetModelsInput, fn func(*GetModelsOutput, bool) bool) error { return c.GetModelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6363,14 +6291,13 @@ const opGetRequestValidator = "GetRequestValidator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRequestValidatorRequest method. +// req, resp := client.GetRequestValidatorRequest(params) // -// // Example sending a request using the GetRequestValidatorRequest method. -// req, resp := client.GetRequestValidatorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetRequestValidatorRequest(input *GetRequestValidatorInput) (req *request.Request, output *UpdateRequestValidatorOutput) { op := &request.Operation{ Name: opGetRequestValidator, @@ -6399,20 +6326,20 @@ func (c *APIGateway) GetRequestValidatorRequest(input *GetRequestValidatorInput) // API operation GetRequestValidator for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetRequestValidator(input *GetRequestValidatorInput) (*UpdateRequestValidatorOutput, error) { req, out := c.GetRequestValidatorRequest(input) return out, req.Send() @@ -6450,14 +6377,13 @@ const opGetRequestValidators = "GetRequestValidators" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRequestValidatorsRequest method. +// req, resp := client.GetRequestValidatorsRequest(params) // -// // Example sending a request using the GetRequestValidatorsRequest method. -// req, resp := client.GetRequestValidatorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetRequestValidatorsRequest(input *GetRequestValidatorsInput) (req *request.Request, output *GetRequestValidatorsOutput) { op := &request.Operation{ Name: opGetRequestValidators, @@ -6486,20 +6412,20 @@ func (c *APIGateway) GetRequestValidatorsRequest(input *GetRequestValidatorsInpu // API operation GetRequestValidators for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetRequestValidators(input *GetRequestValidatorsInput) (*GetRequestValidatorsOutput, error) { req, out := c.GetRequestValidatorsRequest(input) return out, req.Send() @@ -6537,14 +6463,13 @@ const opGetResource = "GetResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceRequest method. +// req, resp := client.GetResourceRequest(params) // -// // Example sending a request using the GetResourceRequest method. -// req, resp := client.GetResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetResourceRequest(input *GetResourceInput) (req *request.Request, output *Resource) { op := &request.Operation{ Name: opGetResource, @@ -6573,16 +6498,16 @@ func (c *APIGateway) GetResourceRequest(input *GetResourceInput) (req *request.R // API operation GetResource for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetResource(input *GetResourceInput) (*Resource, error) { req, out := c.GetResourceRequest(input) return out, req.Send() @@ -6620,14 +6545,13 @@ const opGetResources = "GetResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourcesRequest method. +// req, resp := client.GetResourcesRequest(params) // -// // Example sending a request using the GetResourcesRequest method. -// req, resp := client.GetResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetResourcesRequest(input *GetResourcesInput) (req *request.Request, output *GetResourcesOutput) { op := &request.Operation{ Name: opGetResources, @@ -6662,20 +6586,20 @@ func (c *APIGateway) GetResourcesRequest(input *GetResourcesInput) (req *request // API operation GetResources for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetResources(input *GetResourcesInput) (*GetResourcesOutput, error) { req, out := c.GetResourcesRequest(input) return out, req.Send() @@ -6705,15 +6629,14 @@ func (c *APIGateway) GetResourcesWithContext(ctx aws.Context, input *GetResource // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetResources operation. -// pageNum := 0 -// err := client.GetResourcesPages(params, -// func(page *apigateway.GetResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetResources operation. +// pageNum := 0 +// err := client.GetResourcesPages(params, +// func(page *apigateway.GetResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *APIGateway) GetResourcesPages(input *GetResourcesInput, fn func(*GetResourcesOutput, bool) bool) error { return c.GetResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6765,14 +6688,13 @@ const opGetRestApi = "GetRestApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRestApiRequest method. +// req, resp := client.GetRestApiRequest(params) // -// // Example sending a request using the GetRestApiRequest method. -// req, resp := client.GetRestApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetRestApiRequest(input *GetRestApiInput) (req *request.Request, output *RestApi) { op := &request.Operation{ Name: opGetRestApi, @@ -6801,20 +6723,20 @@ func (c *APIGateway) GetRestApiRequest(input *GetRestApiInput) (req *request.Req // API operation GetRestApi for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetRestApi(input *GetRestApiInput) (*RestApi, error) { req, out := c.GetRestApiRequest(input) return out, req.Send() @@ -6852,14 +6774,13 @@ const opGetRestApis = "GetRestApis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRestApisRequest method. +// req, resp := client.GetRestApisRequest(params) // -// // Example sending a request using the GetRestApisRequest method. -// req, resp := client.GetRestApisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetRestApisRequest(input *GetRestApisInput) (req *request.Request, output *GetRestApisOutput) { op := &request.Operation{ Name: opGetRestApis, @@ -6894,20 +6815,20 @@ func (c *APIGateway) GetRestApisRequest(input *GetRestApisInput) (req *request.R // API operation GetRestApis for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetRestApis(input *GetRestApisInput) (*GetRestApisOutput, error) { req, out := c.GetRestApisRequest(input) return out, req.Send() @@ -6937,15 +6858,14 @@ func (c *APIGateway) GetRestApisWithContext(ctx aws.Context, input *GetRestApisI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetRestApis operation. -// pageNum := 0 -// err := client.GetRestApisPages(params, -// func(page *apigateway.GetRestApisOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetRestApis operation. +// pageNum := 0 +// err := client.GetRestApisPages(params, +// func(page *apigateway.GetRestApisOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *APIGateway) GetRestApisPages(input *GetRestApisInput, fn func(*GetRestApisOutput, bool) bool) error { return c.GetRestApisPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6997,14 +6917,13 @@ const opGetSdk = "GetSdk" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSdkRequest method. +// req, resp := client.GetSdkRequest(params) // -// // Example sending a request using the GetSdkRequest method. -// req, resp := client.GetSdkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetSdkRequest(input *GetSdkInput) (req *request.Request, output *GetSdkOutput) { op := &request.Operation{ Name: opGetSdk, @@ -7033,27 +6952,27 @@ func (c *APIGateway) GetSdkRequest(input *GetSdkInput) (req *request.Request, ou // API operation GetSdk for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetSdk(input *GetSdkInput) (*GetSdkOutput, error) { req, out := c.GetSdkRequest(input) return out, req.Send() @@ -7091,14 +7010,13 @@ const opGetSdkType = "GetSdkType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSdkTypeRequest method. +// req, resp := client.GetSdkTypeRequest(params) // -// // Example sending a request using the GetSdkTypeRequest method. -// req, resp := client.GetSdkTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetSdkTypeRequest(input *GetSdkTypeInput) (req *request.Request, output *SdkType) { op := &request.Operation{ Name: opGetSdkType, @@ -7127,20 +7045,20 @@ func (c *APIGateway) GetSdkTypeRequest(input *GetSdkTypeInput) (req *request.Req // API operation GetSdkType for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetSdkType(input *GetSdkTypeInput) (*SdkType, error) { req, out := c.GetSdkTypeRequest(input) return out, req.Send() @@ -7178,14 +7096,13 @@ const opGetSdkTypes = "GetSdkTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSdkTypesRequest method. +// req, resp := client.GetSdkTypesRequest(params) // -// // Example sending a request using the GetSdkTypesRequest method. -// req, resp := client.GetSdkTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetSdkTypesRequest(input *GetSdkTypesInput) (req *request.Request, output *GetSdkTypesOutput) { op := &request.Operation{ Name: opGetSdkTypes, @@ -7204,7 +7121,7 @@ func (c *APIGateway) GetSdkTypesRequest(input *GetSdkTypesInput) (req *request.R // GetSdkTypes API operation for Amazon API Gateway. // -// Gets SDK types +// # Gets SDK types // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7214,20 +7131,20 @@ func (c *APIGateway) GetSdkTypesRequest(input *GetSdkTypesInput) (req *request.R // API operation GetSdkTypes for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetSdkTypes(input *GetSdkTypesInput) (*GetSdkTypesOutput, error) { req, out := c.GetSdkTypesRequest(input) return out, req.Send() @@ -7265,14 +7182,13 @@ const opGetStage = "GetStage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStageRequest method. +// req, resp := client.GetStageRequest(params) // -// // Example sending a request using the GetStageRequest method. -// req, resp := client.GetStageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetStageRequest(input *GetStageInput) (req *request.Request, output *Stage) { op := &request.Operation{ Name: opGetStage, @@ -7301,27 +7217,27 @@ func (c *APIGateway) GetStageRequest(input *GetStageInput) (req *request.Request // API operation GetStage for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetStage(input *GetStageInput) (*Stage, error) { req, out := c.GetStageRequest(input) return out, req.Send() @@ -7359,14 +7275,13 @@ const opGetStages = "GetStages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStagesRequest method. +// req, resp := client.GetStagesRequest(params) // -// // Example sending a request using the GetStagesRequest method. -// req, resp := client.GetStagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetStagesRequest(input *GetStagesInput) (req *request.Request, output *GetStagesOutput) { op := &request.Operation{ Name: opGetStages, @@ -7395,27 +7310,27 @@ func (c *APIGateway) GetStagesRequest(input *GetStagesInput) (req *request.Reque // API operation GetStages for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetStages(input *GetStagesInput) (*GetStagesOutput, error) { req, out := c.GetStagesRequest(input) return out, req.Send() @@ -7453,14 +7368,13 @@ const opGetTags = "GetTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTagsRequest method. +// req, resp := client.GetTagsRequest(params) // -// // Example sending a request using the GetTagsRequest method. -// req, resp := client.GetTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput) { op := &request.Operation{ Name: opGetTags, @@ -7489,20 +7403,20 @@ func (c *APIGateway) GetTagsRequest(input *GetTagsInput) (req *request.Request, // API operation GetTags for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetTags(input *GetTagsInput) (*GetTagsOutput, error) { req, out := c.GetTagsRequest(input) return out, req.Send() @@ -7540,14 +7454,13 @@ const opGetUsage = "GetUsage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUsageRequest method. +// req, resp := client.GetUsageRequest(params) // -// // Example sending a request using the GetUsageRequest method. -// req, resp := client.GetUsageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetUsageRequest(input *GetUsageInput) (req *request.Request, output *Usage) { op := &request.Operation{ Name: opGetUsage, @@ -7582,20 +7495,20 @@ func (c *APIGateway) GetUsageRequest(input *GetUsageInput) (req *request.Request // API operation GetUsage for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetUsage(input *GetUsageInput) (*Usage, error) { req, out := c.GetUsageRequest(input) return out, req.Send() @@ -7625,15 +7538,14 @@ func (c *APIGateway) GetUsageWithContext(ctx aws.Context, input *GetUsageInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetUsage operation. -// pageNum := 0 -// err := client.GetUsagePages(params, -// func(page *apigateway.Usage, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetUsage operation. +// pageNum := 0 +// err := client.GetUsagePages(params, +// func(page *apigateway.Usage, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *APIGateway) GetUsagePages(input *GetUsageInput, fn func(*Usage, bool) bool) error { return c.GetUsagePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7685,14 +7597,13 @@ const opGetUsagePlan = "GetUsagePlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUsagePlanRequest method. +// req, resp := client.GetUsagePlanRequest(params) // -// // Example sending a request using the GetUsagePlanRequest method. -// req, resp := client.GetUsagePlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetUsagePlanRequest(input *GetUsagePlanInput) (req *request.Request, output *UsagePlan) { op := &request.Operation{ Name: opGetUsagePlan, @@ -7721,20 +7632,20 @@ func (c *APIGateway) GetUsagePlanRequest(input *GetUsagePlanInput) (req *request // API operation GetUsagePlan for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetUsagePlan(input *GetUsagePlanInput) (*UsagePlan, error) { req, out := c.GetUsagePlanRequest(input) return out, req.Send() @@ -7772,14 +7683,13 @@ const opGetUsagePlanKey = "GetUsagePlanKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUsagePlanKeyRequest method. +// req, resp := client.GetUsagePlanKeyRequest(params) // -// // Example sending a request using the GetUsagePlanKeyRequest method. -// req, resp := client.GetUsagePlanKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetUsagePlanKeyRequest(input *GetUsagePlanKeyInput) (req *request.Request, output *UsagePlanKey) { op := &request.Operation{ Name: opGetUsagePlanKey, @@ -7808,20 +7718,20 @@ func (c *APIGateway) GetUsagePlanKeyRequest(input *GetUsagePlanKeyInput) (req *r // API operation GetUsagePlanKey for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetUsagePlanKey(input *GetUsagePlanKeyInput) (*UsagePlanKey, error) { req, out := c.GetUsagePlanKeyRequest(input) return out, req.Send() @@ -7859,14 +7769,13 @@ const opGetUsagePlanKeys = "GetUsagePlanKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUsagePlanKeysRequest method. +// req, resp := client.GetUsagePlanKeysRequest(params) // -// // Example sending a request using the GetUsagePlanKeysRequest method. -// req, resp := client.GetUsagePlanKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetUsagePlanKeysRequest(input *GetUsagePlanKeysInput) (req *request.Request, output *GetUsagePlanKeysOutput) { op := &request.Operation{ Name: opGetUsagePlanKeys, @@ -7902,20 +7811,20 @@ func (c *APIGateway) GetUsagePlanKeysRequest(input *GetUsagePlanKeysInput) (req // API operation GetUsagePlanKeys for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetUsagePlanKeys(input *GetUsagePlanKeysInput) (*GetUsagePlanKeysOutput, error) { req, out := c.GetUsagePlanKeysRequest(input) return out, req.Send() @@ -7945,15 +7854,14 @@ func (c *APIGateway) GetUsagePlanKeysWithContext(ctx aws.Context, input *GetUsag // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetUsagePlanKeys operation. -// pageNum := 0 -// err := client.GetUsagePlanKeysPages(params, -// func(page *apigateway.GetUsagePlanKeysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetUsagePlanKeys operation. +// pageNum := 0 +// err := client.GetUsagePlanKeysPages(params, +// func(page *apigateway.GetUsagePlanKeysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *APIGateway) GetUsagePlanKeysPages(input *GetUsagePlanKeysInput, fn func(*GetUsagePlanKeysOutput, bool) bool) error { return c.GetUsagePlanKeysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8005,14 +7913,13 @@ const opGetUsagePlans = "GetUsagePlans" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUsagePlansRequest method. +// req, resp := client.GetUsagePlansRequest(params) // -// // Example sending a request using the GetUsagePlansRequest method. -// req, resp := client.GetUsagePlansRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetUsagePlansRequest(input *GetUsagePlansInput) (req *request.Request, output *GetUsagePlansOutput) { op := &request.Operation{ Name: opGetUsagePlans, @@ -8047,20 +7954,20 @@ func (c *APIGateway) GetUsagePlansRequest(input *GetUsagePlansInput) (req *reque // API operation GetUsagePlans for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetUsagePlans(input *GetUsagePlansInput) (*GetUsagePlansOutput, error) { req, out := c.GetUsagePlansRequest(input) return out, req.Send() @@ -8090,15 +7997,14 @@ func (c *APIGateway) GetUsagePlansWithContext(ctx aws.Context, input *GetUsagePl // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetUsagePlans operation. -// pageNum := 0 -// err := client.GetUsagePlansPages(params, -// func(page *apigateway.GetUsagePlansOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetUsagePlans operation. +// pageNum := 0 +// err := client.GetUsagePlansPages(params, +// func(page *apigateway.GetUsagePlansOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *APIGateway) GetUsagePlansPages(input *GetUsagePlansInput, fn func(*GetUsagePlansOutput, bool) bool) error { return c.GetUsagePlansPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8150,14 +8056,13 @@ const opGetVpcLink = "GetVpcLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVpcLinkRequest method. +// req, resp := client.GetVpcLinkRequest(params) // -// // Example sending a request using the GetVpcLinkRequest method. -// req, resp := client.GetVpcLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetVpcLinkRequest(input *GetVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput) { op := &request.Operation{ Name: opGetVpcLink, @@ -8186,20 +8091,20 @@ func (c *APIGateway) GetVpcLinkRequest(input *GetVpcLinkInput) (req *request.Req // API operation GetVpcLink for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetVpcLink(input *GetVpcLinkInput) (*UpdateVpcLinkOutput, error) { req, out := c.GetVpcLinkRequest(input) return out, req.Send() @@ -8237,14 +8142,13 @@ const opGetVpcLinks = "GetVpcLinks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVpcLinksRequest method. +// req, resp := client.GetVpcLinksRequest(params) // -// // Example sending a request using the GetVpcLinksRequest method. -// req, resp := client.GetVpcLinksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) GetVpcLinksRequest(input *GetVpcLinksInput) (req *request.Request, output *GetVpcLinksOutput) { op := &request.Operation{ Name: opGetVpcLinks, @@ -8279,20 +8183,20 @@ func (c *APIGateway) GetVpcLinksRequest(input *GetVpcLinksInput) (req *request.R // API operation GetVpcLinks for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) GetVpcLinks(input *GetVpcLinksInput) (*GetVpcLinksOutput, error) { req, out := c.GetVpcLinksRequest(input) return out, req.Send() @@ -8322,15 +8226,14 @@ func (c *APIGateway) GetVpcLinksWithContext(ctx aws.Context, input *GetVpcLinksI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetVpcLinks operation. -// pageNum := 0 -// err := client.GetVpcLinksPages(params, -// func(page *apigateway.GetVpcLinksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetVpcLinks operation. +// pageNum := 0 +// err := client.GetVpcLinksPages(params, +// func(page *apigateway.GetVpcLinksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *APIGateway) GetVpcLinksPages(input *GetVpcLinksInput, fn func(*GetVpcLinksOutput, bool) bool) error { return c.GetVpcLinksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8382,14 +8285,13 @@ const opImportApiKeys = "ImportApiKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportApiKeysRequest method. +// req, resp := client.ImportApiKeysRequest(params) // -// // Example sending a request using the ImportApiKeysRequest method. -// req, resp := client.ImportApiKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) ImportApiKeysRequest(input *ImportApiKeysInput) (req *request.Request, output *ImportApiKeysOutput) { op := &request.Operation{ Name: opImportApiKeys, @@ -8418,27 +8320,27 @@ func (c *APIGateway) ImportApiKeysRequest(input *ImportApiKeysInput) (req *reque // API operation ImportApiKeys for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) ImportApiKeys(input *ImportApiKeysInput) (*ImportApiKeysOutput, error) { req, out := c.ImportApiKeysRequest(input) return out, req.Send() @@ -8476,14 +8378,13 @@ const opImportDocumentationParts = "ImportDocumentationParts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportDocumentationPartsRequest method. +// req, resp := client.ImportDocumentationPartsRequest(params) // -// // Example sending a request using the ImportDocumentationPartsRequest method. -// req, resp := client.ImportDocumentationPartsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) ImportDocumentationPartsRequest(input *ImportDocumentationPartsInput) (req *request.Request, output *ImportDocumentationPartsOutput) { op := &request.Operation{ Name: opImportDocumentationParts, @@ -8502,7 +8403,7 @@ func (c *APIGateway) ImportDocumentationPartsRequest(input *ImportDocumentationP // ImportDocumentationParts API operation for Amazon API Gateway. // -// Imports documentation parts +// # Imports documentation parts // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8512,27 +8413,27 @@ func (c *APIGateway) ImportDocumentationPartsRequest(input *ImportDocumentationP // API operation ImportDocumentationParts for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) ImportDocumentationParts(input *ImportDocumentationPartsInput) (*ImportDocumentationPartsOutput, error) { req, out := c.ImportDocumentationPartsRequest(input) return out, req.Send() @@ -8570,14 +8471,13 @@ const opImportRestApi = "ImportRestApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportRestApiRequest method. +// req, resp := client.ImportRestApiRequest(params) // -// // Example sending a request using the ImportRestApiRequest method. -// req, resp := client.ImportRestApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) ImportRestApiRequest(input *ImportRestApiInput) (req *request.Request, output *RestApi) { op := &request.Operation{ Name: opImportRestApi, @@ -8607,27 +8507,27 @@ func (c *APIGateway) ImportRestApiRequest(input *ImportRestApiInput) (req *reque // API operation ImportRestApi for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) ImportRestApi(input *ImportRestApiInput) (*RestApi, error) { req, out := c.ImportRestApiRequest(input) return out, req.Send() @@ -8665,14 +8565,13 @@ const opPutGatewayResponse = "PutGatewayResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutGatewayResponseRequest method. +// req, resp := client.PutGatewayResponseRequest(params) // -// // Example sending a request using the PutGatewayResponseRequest method. -// req, resp := client.PutGatewayResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) PutGatewayResponseRequest(input *PutGatewayResponseInput) (req *request.Request, output *UpdateGatewayResponseOutput) { op := &request.Operation{ Name: opPutGatewayResponse, @@ -8702,27 +8601,27 @@ func (c *APIGateway) PutGatewayResponseRequest(input *PutGatewayResponseInput) ( // API operation PutGatewayResponse for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) PutGatewayResponse(input *PutGatewayResponseInput) (*UpdateGatewayResponseOutput, error) { req, out := c.PutGatewayResponseRequest(input) return out, req.Send() @@ -8760,14 +8659,13 @@ const opPutIntegration = "PutIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutIntegrationRequest method. +// req, resp := client.PutIntegrationRequest(params) // -// // Example sending a request using the PutIntegrationRequest method. -// req, resp := client.PutIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) PutIntegrationRequest(input *PutIntegrationInput) (req *request.Request, output *Integration) { op := &request.Operation{ Name: opPutIntegration, @@ -8796,27 +8694,27 @@ func (c *APIGateway) PutIntegrationRequest(input *PutIntegrationInput) (req *req // API operation PutIntegration for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) PutIntegration(input *PutIntegrationInput) (*Integration, error) { req, out := c.PutIntegrationRequest(input) return out, req.Send() @@ -8854,14 +8752,13 @@ const opPutIntegrationResponse = "PutIntegrationResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutIntegrationResponseRequest method. +// req, resp := client.PutIntegrationResponseRequest(params) // -// // Example sending a request using the PutIntegrationResponseRequest method. -// req, resp := client.PutIntegrationResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) PutIntegrationResponseRequest(input *PutIntegrationResponseInput) (req *request.Request, output *IntegrationResponse) { op := &request.Operation{ Name: opPutIntegrationResponse, @@ -8890,27 +8787,27 @@ func (c *APIGateway) PutIntegrationResponseRequest(input *PutIntegrationResponse // API operation PutIntegrationResponse for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) PutIntegrationResponse(input *PutIntegrationResponseInput) (*IntegrationResponse, error) { req, out := c.PutIntegrationResponseRequest(input) return out, req.Send() @@ -8948,14 +8845,13 @@ const opPutMethod = "PutMethod" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutMethodRequest method. +// req, resp := client.PutMethodRequest(params) // -// // Example sending a request using the PutMethodRequest method. -// req, resp := client.PutMethodRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) PutMethodRequest(input *PutMethodInput) (req *request.Request, output *Method) { op := &request.Operation{ Name: opPutMethod, @@ -8984,27 +8880,27 @@ func (c *APIGateway) PutMethodRequest(input *PutMethodInput) (req *request.Reque // API operation PutMethod for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) PutMethod(input *PutMethodInput) (*Method, error) { req, out := c.PutMethodRequest(input) return out, req.Send() @@ -9042,14 +8938,13 @@ const opPutMethodResponse = "PutMethodResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutMethodResponseRequest method. +// req, resp := client.PutMethodResponseRequest(params) // -// // Example sending a request using the PutMethodResponseRequest method. -// req, resp := client.PutMethodResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) PutMethodResponseRequest(input *PutMethodResponseInput) (req *request.Request, output *MethodResponse) { op := &request.Operation{ Name: opPutMethodResponse, @@ -9078,27 +8973,27 @@ func (c *APIGateway) PutMethodResponseRequest(input *PutMethodResponseInput) (re // API operation PutMethodResponse for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) PutMethodResponse(input *PutMethodResponseInput) (*MethodResponse, error) { req, out := c.PutMethodResponseRequest(input) return out, req.Send() @@ -9136,14 +9031,13 @@ const opPutRestApi = "PutRestApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRestApiRequest method. +// req, resp := client.PutRestApiRequest(params) // -// // Example sending a request using the PutRestApiRequest method. -// req, resp := client.PutRestApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) PutRestApiRequest(input *PutRestApiInput) (req *request.Request, output *RestApi) { op := &request.Operation{ Name: opPutRestApi, @@ -9175,27 +9069,27 @@ func (c *APIGateway) PutRestApiRequest(input *PutRestApiInput) (req *request.Req // API operation PutRestApi for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) PutRestApi(input *PutRestApiInput) (*RestApi, error) { req, out := c.PutRestApiRequest(input) return out, req.Send() @@ -9233,14 +9127,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { op := &request.Operation{ Name: opTagResource, @@ -9270,27 +9163,27 @@ func (c *APIGateway) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) return out, req.Send() @@ -9328,14 +9221,13 @@ const opTestInvokeAuthorizer = "TestInvokeAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestInvokeAuthorizerRequest method. +// req, resp := client.TestInvokeAuthorizerRequest(params) // -// // Example sending a request using the TestInvokeAuthorizerRequest method. -// req, resp := client.TestInvokeAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) TestInvokeAuthorizerRequest(input *TestInvokeAuthorizerInput) (req *request.Request, output *TestInvokeAuthorizerOutput) { op := &request.Operation{ Name: opTestInvokeAuthorizer, @@ -9365,20 +9257,20 @@ func (c *APIGateway) TestInvokeAuthorizerRequest(input *TestInvokeAuthorizerInpu // API operation TestInvokeAuthorizer for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) TestInvokeAuthorizer(input *TestInvokeAuthorizerInput) (*TestInvokeAuthorizerOutput, error) { req, out := c.TestInvokeAuthorizerRequest(input) return out, req.Send() @@ -9416,14 +9308,13 @@ const opTestInvokeMethod = "TestInvokeMethod" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestInvokeMethodRequest method. +// req, resp := client.TestInvokeMethodRequest(params) // -// // Example sending a request using the TestInvokeMethodRequest method. -// req, resp := client.TestInvokeMethodRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) TestInvokeMethodRequest(input *TestInvokeMethodInput) (req *request.Request, output *TestInvokeMethodOutput) { op := &request.Operation{ Name: opTestInvokeMethod, @@ -9453,20 +9344,20 @@ func (c *APIGateway) TestInvokeMethodRequest(input *TestInvokeMethodInput) (req // API operation TestInvokeMethod for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) TestInvokeMethod(input *TestInvokeMethodInput) (*TestInvokeMethodOutput, error) { req, out := c.TestInvokeMethodRequest(input) return out, req.Send() @@ -9504,14 +9395,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { op := &request.Operation{ Name: opUntagResource, @@ -9541,27 +9431,27 @@ func (c *APIGateway) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { req, out := c.UntagResourceRequest(input) return out, req.Send() @@ -9599,14 +9489,13 @@ const opUpdateAccount = "UpdateAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAccountRequest method. +// req, resp := client.UpdateAccountRequest(params) // -// // Example sending a request using the UpdateAccountRequest method. -// req, resp := client.UpdateAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateAccountRequest(input *UpdateAccountInput) (req *request.Request, output *Account) { op := &request.Operation{ Name: opUpdateAccount, @@ -9635,27 +9524,27 @@ func (c *APIGateway) UpdateAccountRequest(input *UpdateAccountInput) (req *reque // API operation UpdateAccount for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateAccount(input *UpdateAccountInput) (*Account, error) { req, out := c.UpdateAccountRequest(input) return out, req.Send() @@ -9693,14 +9582,13 @@ const opUpdateApiKey = "UpdateApiKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApiKeyRequest method. +// req, resp := client.UpdateApiKeyRequest(params) // -// // Example sending a request using the UpdateApiKeyRequest method. -// req, resp := client.UpdateApiKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateApiKeyRequest(input *UpdateApiKeyInput) (req *request.Request, output *ApiKey) { op := &request.Operation{ Name: opUpdateApiKey, @@ -9729,27 +9617,27 @@ func (c *APIGateway) UpdateApiKeyRequest(input *UpdateApiKeyInput) (req *request // API operation UpdateApiKey for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateApiKey(input *UpdateApiKeyInput) (*ApiKey, error) { req, out := c.UpdateApiKeyRequest(input) return out, req.Send() @@ -9787,14 +9675,13 @@ const opUpdateAuthorizer = "UpdateAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAuthorizerRequest method. +// req, resp := client.UpdateAuthorizerRequest(params) // -// // Example sending a request using the UpdateAuthorizerRequest method. -// req, resp := client.UpdateAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) (req *request.Request, output *Authorizer) { op := &request.Operation{ Name: opUpdateAuthorizer, @@ -9823,27 +9710,27 @@ func (c *APIGateway) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) (req // API operation UpdateAuthorizer for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateAuthorizer(input *UpdateAuthorizerInput) (*Authorizer, error) { req, out := c.UpdateAuthorizerRequest(input) return out, req.Send() @@ -9881,14 +9768,13 @@ const opUpdateBasePathMapping = "UpdateBasePathMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBasePathMappingRequest method. +// req, resp := client.UpdateBasePathMappingRequest(params) // -// // Example sending a request using the UpdateBasePathMappingRequest method. -// req, resp := client.UpdateBasePathMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateBasePathMappingRequest(input *UpdateBasePathMappingInput) (req *request.Request, output *BasePathMapping) { op := &request.Operation{ Name: opUpdateBasePathMapping, @@ -9917,27 +9803,27 @@ func (c *APIGateway) UpdateBasePathMappingRequest(input *UpdateBasePathMappingIn // API operation UpdateBasePathMapping for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateBasePathMapping(input *UpdateBasePathMappingInput) (*BasePathMapping, error) { req, out := c.UpdateBasePathMappingRequest(input) return out, req.Send() @@ -9975,14 +9861,13 @@ const opUpdateClientCertificate = "UpdateClientCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateClientCertificateRequest method. +// req, resp := client.UpdateClientCertificateRequest(params) // -// // Example sending a request using the UpdateClientCertificateRequest method. -// req, resp := client.UpdateClientCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateClientCertificateRequest(input *UpdateClientCertificateInput) (req *request.Request, output *ClientCertificate) { op := &request.Operation{ Name: opUpdateClientCertificate, @@ -10011,27 +9896,27 @@ func (c *APIGateway) UpdateClientCertificateRequest(input *UpdateClientCertifica // API operation UpdateClientCertificate for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateClientCertificate(input *UpdateClientCertificateInput) (*ClientCertificate, error) { req, out := c.UpdateClientCertificateRequest(input) return out, req.Send() @@ -10069,14 +9954,13 @@ const opUpdateDeployment = "UpdateDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDeploymentRequest method. +// req, resp := client.UpdateDeploymentRequest(params) // -// // Example sending a request using the UpdateDeploymentRequest method. -// req, resp := client.UpdateDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateDeploymentRequest(input *UpdateDeploymentInput) (req *request.Request, output *Deployment) { op := &request.Operation{ Name: opUpdateDeployment, @@ -10105,31 +9989,31 @@ func (c *APIGateway) UpdateDeploymentRequest(input *UpdateDeploymentInput) (req // API operation UpdateDeployment for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * ServiceUnavailableException -// The requested service is not available. For details see the accompanying -// error message. Retry after the specified time period. +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. // +// - ServiceUnavailableException +// The requested service is not available. For details see the accompanying +// error message. Retry after the specified time period. func (c *APIGateway) UpdateDeployment(input *UpdateDeploymentInput) (*Deployment, error) { req, out := c.UpdateDeploymentRequest(input) return out, req.Send() @@ -10167,14 +10051,13 @@ const opUpdateDocumentationPart = "UpdateDocumentationPart" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDocumentationPartRequest method. +// req, resp := client.UpdateDocumentationPartRequest(params) // -// // Example sending a request using the UpdateDocumentationPartRequest method. -// req, resp := client.UpdateDocumentationPartRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateDocumentationPartRequest(input *UpdateDocumentationPartInput) (req *request.Request, output *DocumentationPart) { op := &request.Operation{ Name: opUpdateDocumentationPart, @@ -10203,27 +10086,27 @@ func (c *APIGateway) UpdateDocumentationPartRequest(input *UpdateDocumentationPa // API operation UpdateDocumentationPart for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateDocumentationPart(input *UpdateDocumentationPartInput) (*DocumentationPart, error) { req, out := c.UpdateDocumentationPartRequest(input) return out, req.Send() @@ -10261,14 +10144,13 @@ const opUpdateDocumentationVersion = "UpdateDocumentationVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDocumentationVersionRequest method. +// req, resp := client.UpdateDocumentationVersionRequest(params) // -// // Example sending a request using the UpdateDocumentationVersionRequest method. -// req, resp := client.UpdateDocumentationVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateDocumentationVersionRequest(input *UpdateDocumentationVersionInput) (req *request.Request, output *DocumentationVersion) { op := &request.Operation{ Name: opUpdateDocumentationVersion, @@ -10297,27 +10179,27 @@ func (c *APIGateway) UpdateDocumentationVersionRequest(input *UpdateDocumentatio // API operation UpdateDocumentationVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateDocumentationVersion(input *UpdateDocumentationVersionInput) (*DocumentationVersion, error) { req, out := c.UpdateDocumentationVersionRequest(input) return out, req.Send() @@ -10355,14 +10237,13 @@ const opUpdateDomainName = "UpdateDomainName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDomainNameRequest method. +// req, resp := client.UpdateDomainNameRequest(params) // -// // Example sending a request using the UpdateDomainNameRequest method. -// req, resp := client.UpdateDomainNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateDomainNameRequest(input *UpdateDomainNameInput) (req *request.Request, output *DomainName) { op := &request.Operation{ Name: opUpdateDomainName, @@ -10391,27 +10272,27 @@ func (c *APIGateway) UpdateDomainNameRequest(input *UpdateDomainNameInput) (req // API operation UpdateDomainName for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateDomainName(input *UpdateDomainNameInput) (*DomainName, error) { req, out := c.UpdateDomainNameRequest(input) return out, req.Send() @@ -10449,14 +10330,13 @@ const opUpdateGatewayResponse = "UpdateGatewayResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGatewayResponseRequest method. +// req, resp := client.UpdateGatewayResponseRequest(params) // -// // Example sending a request using the UpdateGatewayResponseRequest method. -// req, resp := client.UpdateGatewayResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateGatewayResponseRequest(input *UpdateGatewayResponseInput) (req *request.Request, output *UpdateGatewayResponseOutput) { op := &request.Operation{ Name: opUpdateGatewayResponse, @@ -10485,27 +10365,27 @@ func (c *APIGateway) UpdateGatewayResponseRequest(input *UpdateGatewayResponseIn // API operation UpdateGatewayResponse for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateGatewayResponse(input *UpdateGatewayResponseInput) (*UpdateGatewayResponseOutput, error) { req, out := c.UpdateGatewayResponseRequest(input) return out, req.Send() @@ -10543,14 +10423,13 @@ const opUpdateIntegration = "UpdateIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIntegrationRequest method. +// req, resp := client.UpdateIntegrationRequest(params) // -// // Example sending a request using the UpdateIntegrationRequest method. -// req, resp := client.UpdateIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateIntegrationRequest(input *UpdateIntegrationInput) (req *request.Request, output *Integration) { op := &request.Operation{ Name: opUpdateIntegration, @@ -10579,27 +10458,27 @@ func (c *APIGateway) UpdateIntegrationRequest(input *UpdateIntegrationInput) (re // API operation UpdateIntegration for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateIntegration(input *UpdateIntegrationInput) (*Integration, error) { req, out := c.UpdateIntegrationRequest(input) return out, req.Send() @@ -10637,14 +10516,13 @@ const opUpdateIntegrationResponse = "UpdateIntegrationResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIntegrationResponseRequest method. +// req, resp := client.UpdateIntegrationResponseRequest(params) // -// // Example sending a request using the UpdateIntegrationResponseRequest method. -// req, resp := client.UpdateIntegrationResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateIntegrationResponseRequest(input *UpdateIntegrationResponseInput) (req *request.Request, output *IntegrationResponse) { op := &request.Operation{ Name: opUpdateIntegrationResponse, @@ -10673,27 +10551,27 @@ func (c *APIGateway) UpdateIntegrationResponseRequest(input *UpdateIntegrationRe // API operation UpdateIntegrationResponse for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateIntegrationResponse(input *UpdateIntegrationResponseInput) (*IntegrationResponse, error) { req, out := c.UpdateIntegrationResponseRequest(input) return out, req.Send() @@ -10731,14 +10609,13 @@ const opUpdateMethod = "UpdateMethod" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMethodRequest method. +// req, resp := client.UpdateMethodRequest(params) // -// // Example sending a request using the UpdateMethodRequest method. -// req, resp := client.UpdateMethodRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateMethodRequest(input *UpdateMethodInput) (req *request.Request, output *Method) { op := &request.Operation{ Name: opUpdateMethod, @@ -10767,24 +10644,24 @@ func (c *APIGateway) UpdateMethodRequest(input *UpdateMethodInput) (req *request // API operation UpdateMethod for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateMethod(input *UpdateMethodInput) (*Method, error) { req, out := c.UpdateMethodRequest(input) return out, req.Send() @@ -10822,14 +10699,13 @@ const opUpdateMethodResponse = "UpdateMethodResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMethodResponseRequest method. +// req, resp := client.UpdateMethodResponseRequest(params) // -// // Example sending a request using the UpdateMethodResponseRequest method. -// req, resp := client.UpdateMethodResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateMethodResponseRequest(input *UpdateMethodResponseInput) (req *request.Request, output *MethodResponse) { op := &request.Operation{ Name: opUpdateMethodResponse, @@ -10858,27 +10734,27 @@ func (c *APIGateway) UpdateMethodResponseRequest(input *UpdateMethodResponseInpu // API operation UpdateMethodResponse for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateMethodResponse(input *UpdateMethodResponseInput) (*MethodResponse, error) { req, out := c.UpdateMethodResponseRequest(input) return out, req.Send() @@ -10916,14 +10792,13 @@ const opUpdateModel = "UpdateModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateModelRequest method. +// req, resp := client.UpdateModelRequest(params) // -// // Example sending a request using the UpdateModelRequest method. -// req, resp := client.UpdateModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateModelRequest(input *UpdateModelInput) (req *request.Request, output *Model) { op := &request.Operation{ Name: opUpdateModel, @@ -10952,27 +10827,27 @@ func (c *APIGateway) UpdateModelRequest(input *UpdateModelInput) (req *request.R // API operation UpdateModel for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateModel(input *UpdateModelInput) (*Model, error) { req, out := c.UpdateModelRequest(input) return out, req.Send() @@ -11010,14 +10885,13 @@ const opUpdateRequestValidator = "UpdateRequestValidator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRequestValidatorRequest method. +// req, resp := client.UpdateRequestValidatorRequest(params) // -// // Example sending a request using the UpdateRequestValidatorRequest method. -// req, resp := client.UpdateRequestValidatorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateRequestValidatorRequest(input *UpdateRequestValidatorInput) (req *request.Request, output *UpdateRequestValidatorOutput) { op := &request.Operation{ Name: opUpdateRequestValidator, @@ -11046,27 +10920,27 @@ func (c *APIGateway) UpdateRequestValidatorRequest(input *UpdateRequestValidator // API operation UpdateRequestValidator for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateRequestValidator(input *UpdateRequestValidatorInput) (*UpdateRequestValidatorOutput, error) { req, out := c.UpdateRequestValidatorRequest(input) return out, req.Send() @@ -11104,14 +10978,13 @@ const opUpdateResource = "UpdateResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResourceRequest method. +// req, resp := client.UpdateResourceRequest(params) // -// // Example sending a request using the UpdateResourceRequest method. -// req, resp := client.UpdateResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateResourceRequest(input *UpdateResourceInput) (req *request.Request, output *Resource) { op := &request.Operation{ Name: opUpdateResource, @@ -11140,24 +11013,24 @@ func (c *APIGateway) UpdateResourceRequest(input *UpdateResourceInput) (req *req // API operation UpdateResource for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateResource(input *UpdateResourceInput) (*Resource, error) { req, out := c.UpdateResourceRequest(input) return out, req.Send() @@ -11195,14 +11068,13 @@ const opUpdateRestApi = "UpdateRestApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRestApiRequest method. +// req, resp := client.UpdateRestApiRequest(params) // -// // Example sending a request using the UpdateRestApiRequest method. -// req, resp := client.UpdateRestApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateRestApiRequest(input *UpdateRestApiInput) (req *request.Request, output *RestApi) { op := &request.Operation{ Name: opUpdateRestApi, @@ -11231,27 +11103,27 @@ func (c *APIGateway) UpdateRestApiRequest(input *UpdateRestApiInput) (req *reque // API operation UpdateRestApi for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateRestApi(input *UpdateRestApiInput) (*RestApi, error) { req, out := c.UpdateRestApiRequest(input) return out, req.Send() @@ -11289,14 +11161,13 @@ const opUpdateStage = "UpdateStage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStageRequest method. +// req, resp := client.UpdateStageRequest(params) // -// // Example sending a request using the UpdateStageRequest method. -// req, resp := client.UpdateStageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateStageRequest(input *UpdateStageInput) (req *request.Request, output *Stage) { op := &request.Operation{ Name: opUpdateStage, @@ -11325,27 +11196,27 @@ func (c *APIGateway) UpdateStageRequest(input *UpdateStageInput) (req *request.R // API operation UpdateStage for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateStage(input *UpdateStageInput) (*Stage, error) { req, out := c.UpdateStageRequest(input) return out, req.Send() @@ -11383,14 +11254,13 @@ const opUpdateUsage = "UpdateUsage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUsageRequest method. +// req, resp := client.UpdateUsageRequest(params) // -// // Example sending a request using the UpdateUsageRequest method. -// req, resp := client.UpdateUsageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateUsageRequest(input *UpdateUsageInput) (req *request.Request, output *Usage) { op := &request.Operation{ Name: opUpdateUsage, @@ -11420,27 +11290,27 @@ func (c *APIGateway) UpdateUsageRequest(input *UpdateUsageInput) (req *request.R // API operation UpdateUsage for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateUsage(input *UpdateUsageInput) (*Usage, error) { req, out := c.UpdateUsageRequest(input) return out, req.Send() @@ -11478,14 +11348,13 @@ const opUpdateUsagePlan = "UpdateUsagePlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUsagePlanRequest method. +// req, resp := client.UpdateUsagePlanRequest(params) // -// // Example sending a request using the UpdateUsagePlanRequest method. -// req, resp := client.UpdateUsagePlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateUsagePlanRequest(input *UpdateUsagePlanInput) (req *request.Request, output *UsagePlan) { op := &request.Operation{ Name: opUpdateUsagePlan, @@ -11514,27 +11383,27 @@ func (c *APIGateway) UpdateUsagePlanRequest(input *UpdateUsagePlanInput) (req *r // API operation UpdateUsagePlan for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateUsagePlan(input *UpdateUsagePlanInput) (*UsagePlan, error) { req, out := c.UpdateUsagePlanRequest(input) return out, req.Send() @@ -11572,14 +11441,13 @@ const opUpdateVpcLink = "UpdateVpcLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVpcLinkRequest method. +// req, resp := client.UpdateVpcLinkRequest(params) // -// // Example sending a request using the UpdateVpcLinkRequest method. -// req, resp := client.UpdateVpcLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *APIGateway) UpdateVpcLinkRequest(input *UpdateVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput) { op := &request.Operation{ Name: opUpdateVpcLink, @@ -11608,27 +11476,27 @@ func (c *APIGateway) UpdateVpcLinkRequest(input *UpdateVpcLinkInput) (req *reque // API operation UpdateVpcLink for usage and error information. // // Returned Error Types: -// * BadRequestException -// The submitted request is not valid, for example, the input is incomplete -// or incorrect. See the accompanying error message for details. // -// * ConflictException -// The request configuration has conflicts. For details, see the accompanying -// error message. +// - BadRequestException +// The submitted request is not valid, for example, the input is incomplete +// or incorrect. See the accompanying error message for details. // -// * LimitExceededException -// The request exceeded the rate limit. Retry after the specified time period. +// - ConflictException +// The request configuration has conflicts. For details, see the accompanying +// error message. // -// * NotFoundException -// The requested resource is not found. Make sure that the request URI is correct. +// - LimitExceededException +// The request exceeded the rate limit. Retry after the specified time period. // -// * UnauthorizedException -// The request is denied because the caller has insufficient permissions. +// - NotFoundException +// The requested resource is not found. Make sure that the request URI is correct. // -// * TooManyRequestsException -// The request has reached its throttling limit. Retry after the specified time -// period. +// - UnauthorizedException +// The request is denied because the caller has insufficient permissions. // +// - TooManyRequestsException +// The request has reached its throttling limit. Retry after the specified time +// period. func (c *APIGateway) UpdateVpcLink(input *UpdateVpcLinkInput) (*UpdateVpcLinkOutput, error) { req, out := c.UpdateVpcLinkRequest(input) return out, req.Send() diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/apigatewayiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/apigatewayiface/interface.go index 2c9fef1a8930..c61953b773cd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/apigatewayiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/apigatewayiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon API Gateway. -// func myFunc(svc apigatewayiface.APIGatewayAPI) bool { -// // Make svc.CreateApiKey request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon API Gateway. +// func myFunc(svc apigatewayiface.APIGatewayAPI) bool { +// // Make svc.CreateApiKey request +// } // -// func main() { -// sess := session.New() -// svc := apigateway.New(sess) +// func main() { +// sess := session.New() +// svc := apigateway.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAPIGatewayClient struct { -// apigatewayiface.APIGatewayAPI -// } -// func (m *mockAPIGatewayClient) CreateApiKey(input *apigateway.CreateApiKeyInput) (*apigateway.ApiKey, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAPIGatewayClient struct { +// apigatewayiface.APIGatewayAPI +// } +// func (m *mockAPIGatewayClient) CreateApiKey(input *apigateway.CreateApiKeyInput) (*apigateway.ApiKey, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAPIGatewayClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAPIGatewayClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/doc.go index 7a343e30a7e6..f5238cfd9d22 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/doc.go @@ -12,7 +12,7 @@ // See apigateway package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/apigateway/ // -// Using the Client +// # Using the Client // // To contact Amazon API Gateway with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/service.go index 659bbcbee5d7..1e32dd6669d6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigateway/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a APIGateway client from just a session. -// svc := apigateway.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a APIGateway client with additional configuration -// svc := apigateway.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a APIGateway client from just a session. +// svc := apigateway.New(mySession) +// +// // Create a APIGateway client with additional configuration +// svc := apigateway.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *APIGateway { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/api.go index d4d66265242d..49aa1098a025 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/api.go @@ -29,14 +29,13 @@ const opDeleteConnection = "DeleteConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConnectionRequest method. +// req, resp := client.DeleteConnectionRequest(params) // -// // Example sending a request using the DeleteConnectionRequest method. -// req, resp := client.DeleteConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection func (c *ApiGatewayManagementApi) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput) { @@ -68,15 +67,16 @@ func (c *ApiGatewayManagementApi) DeleteConnectionRequest(input *DeleteConnectio // API operation DeleteConnection for usage and error information. // // Returned Error Types: -// * GoneException -// The connection with the provided id no longer exists. // -// * LimitExceededException -// The client is sending more than the allowed number of requests per unit of -// time or the WebSocket client side buffer is full. +// - GoneException +// The connection with the provided id no longer exists. +// +// - LimitExceededException +// The client is sending more than the allowed number of requests per unit of +// time or the WebSocket client side buffer is full. // -// * ForbiddenException -// The caller is not authorized to invoke this operation. +// - ForbiddenException +// The caller is not authorized to invoke this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/DeleteConnection func (c *ApiGatewayManagementApi) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error) { @@ -116,14 +116,13 @@ const opGetConnection = "GetConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConnectionRequest method. +// req, resp := client.GetConnectionRequest(params) // -// // Example sending a request using the GetConnectionRequest method. -// req, resp := client.GetConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection func (c *ApiGatewayManagementApi) GetConnectionRequest(input *GetConnectionInput) (req *request.Request, output *GetConnectionOutput) { @@ -154,15 +153,16 @@ func (c *ApiGatewayManagementApi) GetConnectionRequest(input *GetConnectionInput // API operation GetConnection for usage and error information. // // Returned Error Types: -// * GoneException -// The connection with the provided id no longer exists. // -// * LimitExceededException -// The client is sending more than the allowed number of requests per unit of -// time or the WebSocket client side buffer is full. +// - GoneException +// The connection with the provided id no longer exists. // -// * ForbiddenException -// The caller is not authorized to invoke this operation. +// - LimitExceededException +// The client is sending more than the allowed number of requests per unit of +// time or the WebSocket client side buffer is full. +// +// - ForbiddenException +// The caller is not authorized to invoke this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/GetConnection func (c *ApiGatewayManagementApi) GetConnection(input *GetConnectionInput) (*GetConnectionOutput, error) { @@ -202,14 +202,13 @@ const opPostToConnection = "PostToConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PostToConnectionRequest method. +// req, resp := client.PostToConnectionRequest(params) // -// // Example sending a request using the PostToConnectionRequest method. -// req, resp := client.PostToConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/PostToConnection func (c *ApiGatewayManagementApi) PostToConnectionRequest(input *PostToConnectionInput) (req *request.Request, output *PostToConnectionOutput) { @@ -241,18 +240,19 @@ func (c *ApiGatewayManagementApi) PostToConnectionRequest(input *PostToConnectio // API operation PostToConnection for usage and error information. // // Returned Error Types: -// * GoneException -// The connection with the provided id no longer exists. // -// * LimitExceededException -// The client is sending more than the allowed number of requests per unit of -// time or the WebSocket client side buffer is full. +// - GoneException +// The connection with the provided id no longer exists. +// +// - LimitExceededException +// The client is sending more than the allowed number of requests per unit of +// time or the WebSocket client side buffer is full. // -// * PayloadTooLargeException -// The data has exceeded the maximum size allowed. +// - PayloadTooLargeException +// The data has exceeded the maximum size allowed. // -// * ForbiddenException -// The caller is not authorized to invoke this operation. +// - ForbiddenException +// The caller is not authorized to invoke this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewaymanagementapi-2018-11-29/PostToConnection func (c *ApiGatewayManagementApi) PostToConnection(input *PostToConnectionInput) (*PostToConnectionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/apigatewaymanagementapiiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/apigatewaymanagementapiiface/interface.go index 9cf0a8a92c50..f678072860be 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/apigatewaymanagementapiiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/apigatewaymanagementapiiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AmazonApiGatewayManagementApi. -// func myFunc(svc apigatewaymanagementapiiface.ApiGatewayManagementApiAPI) bool { -// // Make svc.DeleteConnection request -// } +// // myFunc uses an SDK service client to make a request to +// // AmazonApiGatewayManagementApi. +// func myFunc(svc apigatewaymanagementapiiface.ApiGatewayManagementApiAPI) bool { +// // Make svc.DeleteConnection request +// } // -// func main() { -// sess := session.New() -// svc := apigatewaymanagementapi.New(sess) +// func main() { +// sess := session.New() +// svc := apigatewaymanagementapi.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockApiGatewayManagementApiClient struct { -// apigatewaymanagementapiiface.ApiGatewayManagementApiAPI -// } -// func (m *mockApiGatewayManagementApiClient) DeleteConnection(input *apigatewaymanagementapi.DeleteConnectionInput) (*apigatewaymanagementapi.DeleteConnectionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockApiGatewayManagementApiClient struct { +// apigatewaymanagementapiiface.ApiGatewayManagementApiAPI +// } +// func (m *mockApiGatewayManagementApiClient) DeleteConnection(input *apigatewaymanagementapi.DeleteConnectionInput) (*apigatewaymanagementapi.DeleteConnectionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockApiGatewayManagementApiClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockApiGatewayManagementApiClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/doc.go index 230d3259e749..ad978d226d61 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/doc.go @@ -15,7 +15,7 @@ // See apigatewaymanagementapi package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/apigatewaymanagementapi/ // -// Using the Client +// # Using the Client // // To contact AmazonApiGatewayManagementApi with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/service.go index 83b042c20e2e..59f4009ae385 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewaymanagementapi/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ApiGatewayManagementApi client from just a session. -// svc := apigatewaymanagementapi.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ApiGatewayManagementApi client with additional configuration -// svc := apigatewaymanagementapi.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ApiGatewayManagementApi client from just a session. +// svc := apigatewaymanagementapi.New(mySession) +// +// // Create a ApiGatewayManagementApi client with additional configuration +// svc := apigatewaymanagementapi.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ApiGatewayManagementApi { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/api.go index 90c6decf80f8..d8323defac75 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/api.go @@ -29,14 +29,13 @@ const opCreateApi = "CreateApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApiRequest method. +// req, resp := client.CreateApiRequest(params) // -// // Example sending a request using the CreateApiRequest method. -// req, resp := client.CreateApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi func (c *ApiGatewayV2) CreateApiRequest(input *CreateApiInput) (req *request.Request, output *CreateApiOutput) { @@ -67,21 +66,22 @@ func (c *ApiGatewayV2) CreateApiRequest(input *CreateApiInput) (req *request.Req // API operation CreateApi for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApi func (c *ApiGatewayV2) CreateApi(input *CreateApiInput) (*CreateApiOutput, error) { @@ -121,14 +121,13 @@ const opCreateApiMapping = "CreateApiMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApiMappingRequest method. +// req, resp := client.CreateApiMappingRequest(params) // -// // Example sending a request using the CreateApiMappingRequest method. -// req, resp := client.CreateApiMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping func (c *ApiGatewayV2) CreateApiMappingRequest(input *CreateApiMappingInput) (req *request.Request, output *CreateApiMappingOutput) { @@ -159,21 +158,22 @@ func (c *ApiGatewayV2) CreateApiMappingRequest(input *CreateApiMappingInput) (re // API operation CreateApiMapping for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateApiMapping func (c *ApiGatewayV2) CreateApiMapping(input *CreateApiMappingInput) (*CreateApiMappingOutput, error) { @@ -213,14 +213,13 @@ const opCreateAuthorizer = "CreateAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAuthorizerRequest method. +// req, resp := client.CreateAuthorizerRequest(params) // -// // Example sending a request using the CreateAuthorizerRequest method. -// req, resp := client.CreateAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateAuthorizer func (c *ApiGatewayV2) CreateAuthorizerRequest(input *CreateAuthorizerInput) (req *request.Request, output *CreateAuthorizerOutput) { @@ -251,21 +250,22 @@ func (c *ApiGatewayV2) CreateAuthorizerRequest(input *CreateAuthorizerInput) (re // API operation CreateAuthorizer for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateAuthorizer func (c *ApiGatewayV2) CreateAuthorizer(input *CreateAuthorizerInput) (*CreateAuthorizerOutput, error) { @@ -305,14 +305,13 @@ const opCreateDeployment = "CreateDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeploymentRequest method. +// req, resp := client.CreateDeploymentRequest(params) // -// // Example sending a request using the CreateDeploymentRequest method. -// req, resp := client.CreateDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDeployment func (c *ApiGatewayV2) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *CreateDeploymentOutput) { @@ -343,21 +342,22 @@ func (c *ApiGatewayV2) CreateDeploymentRequest(input *CreateDeploymentInput) (re // API operation CreateDeployment for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDeployment func (c *ApiGatewayV2) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error) { @@ -397,14 +397,13 @@ const opCreateDomainName = "CreateDomainName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDomainNameRequest method. +// req, resp := client.CreateDomainNameRequest(params) // -// // Example sending a request using the CreateDomainNameRequest method. -// req, resp := client.CreateDomainNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDomainName func (c *ApiGatewayV2) CreateDomainNameRequest(input *CreateDomainNameInput) (req *request.Request, output *CreateDomainNameOutput) { @@ -435,23 +434,24 @@ func (c *ApiGatewayV2) CreateDomainNameRequest(input *CreateDomainNameInput) (re // API operation CreateDomainName for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * AccessDeniedException +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. +// +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateDomainName func (c *ApiGatewayV2) CreateDomainName(input *CreateDomainNameInput) (*CreateDomainNameOutput, error) { @@ -491,14 +491,13 @@ const opCreateIntegration = "CreateIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIntegrationRequest method. +// req, resp := client.CreateIntegrationRequest(params) // -// // Example sending a request using the CreateIntegrationRequest method. -// req, resp := client.CreateIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration func (c *ApiGatewayV2) CreateIntegrationRequest(input *CreateIntegrationInput) (req *request.Request, output *CreateIntegrationOutput) { @@ -529,21 +528,22 @@ func (c *ApiGatewayV2) CreateIntegrationRequest(input *CreateIntegrationInput) ( // API operation CreateIntegration for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegration func (c *ApiGatewayV2) CreateIntegration(input *CreateIntegrationInput) (*CreateIntegrationOutput, error) { @@ -583,14 +583,13 @@ const opCreateIntegrationResponse = "CreateIntegrationResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIntegrationResponseRequest method. +// req, resp := client.CreateIntegrationResponseRequest(params) // -// // Example sending a request using the CreateIntegrationResponseRequest method. -// req, resp := client.CreateIntegrationResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse func (c *ApiGatewayV2) CreateIntegrationResponseRequest(input *CreateIntegrationResponseInput) (req *request.Request, output *CreateIntegrationResponseOutput) { @@ -621,21 +620,22 @@ func (c *ApiGatewayV2) CreateIntegrationResponseRequest(input *CreateIntegration // API operation CreateIntegrationResponse for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateIntegrationResponse func (c *ApiGatewayV2) CreateIntegrationResponse(input *CreateIntegrationResponseInput) (*CreateIntegrationResponseOutput, error) { @@ -675,14 +675,13 @@ const opCreateModel = "CreateModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateModelRequest method. +// req, resp := client.CreateModelRequest(params) // -// // Example sending a request using the CreateModelRequest method. -// req, resp := client.CreateModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateModel func (c *ApiGatewayV2) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput) { @@ -713,21 +712,22 @@ func (c *ApiGatewayV2) CreateModelRequest(input *CreateModelInput) (req *request // API operation CreateModel for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateModel func (c *ApiGatewayV2) CreateModel(input *CreateModelInput) (*CreateModelOutput, error) { @@ -767,14 +767,13 @@ const opCreateRoute = "CreateRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRouteRequest method. +// req, resp := client.CreateRouteRequest(params) // -// // Example sending a request using the CreateRouteRequest method. -// req, resp := client.CreateRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute func (c *ApiGatewayV2) CreateRouteRequest(input *CreateRouteInput) (req *request.Request, output *CreateRouteOutput) { @@ -805,21 +804,22 @@ func (c *ApiGatewayV2) CreateRouteRequest(input *CreateRouteInput) (req *request // API operation CreateRoute for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRoute func (c *ApiGatewayV2) CreateRoute(input *CreateRouteInput) (*CreateRouteOutput, error) { @@ -859,14 +859,13 @@ const opCreateRouteResponse = "CreateRouteResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRouteResponseRequest method. +// req, resp := client.CreateRouteResponseRequest(params) // -// // Example sending a request using the CreateRouteResponseRequest method. -// req, resp := client.CreateRouteResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse func (c *ApiGatewayV2) CreateRouteResponseRequest(input *CreateRouteResponseInput) (req *request.Request, output *CreateRouteResponseOutput) { @@ -897,21 +896,22 @@ func (c *ApiGatewayV2) CreateRouteResponseRequest(input *CreateRouteResponseInpu // API operation CreateRouteResponse for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateRouteResponse func (c *ApiGatewayV2) CreateRouteResponse(input *CreateRouteResponseInput) (*CreateRouteResponseOutput, error) { @@ -951,14 +951,13 @@ const opCreateStage = "CreateStage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStageRequest method. +// req, resp := client.CreateStageRequest(params) // -// // Example sending a request using the CreateStageRequest method. -// req, resp := client.CreateStageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateStage func (c *ApiGatewayV2) CreateStageRequest(input *CreateStageInput) (req *request.Request, output *CreateStageOutput) { @@ -989,21 +988,22 @@ func (c *ApiGatewayV2) CreateStageRequest(input *CreateStageInput) (req *request // API operation CreateStage for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateStage func (c *ApiGatewayV2) CreateStage(input *CreateStageInput) (*CreateStageOutput, error) { @@ -1043,14 +1043,13 @@ const opCreateVpcLink = "CreateVpcLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVpcLinkRequest method. +// req, resp := client.CreateVpcLinkRequest(params) // -// // Example sending a request using the CreateVpcLinkRequest method. -// req, resp := client.CreateVpcLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateVpcLink func (c *ApiGatewayV2) CreateVpcLinkRequest(input *CreateVpcLinkInput) (req *request.Request, output *CreateVpcLinkOutput) { @@ -1081,12 +1080,13 @@ func (c *ApiGatewayV2) CreateVpcLinkRequest(input *CreateVpcLinkInput) (req *req // API operation CreateVpcLink for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/CreateVpcLink func (c *ApiGatewayV2) CreateVpcLink(input *CreateVpcLinkInput) (*CreateVpcLinkOutput, error) { @@ -1126,14 +1126,13 @@ const opDeleteAccessLogSettings = "DeleteAccessLogSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccessLogSettingsRequest method. +// req, resp := client.DeleteAccessLogSettingsRequest(params) // -// // Example sending a request using the DeleteAccessLogSettingsRequest method. -// req, resp := client.DeleteAccessLogSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings func (c *ApiGatewayV2) DeleteAccessLogSettingsRequest(input *DeleteAccessLogSettingsInput) (req *request.Request, output *DeleteAccessLogSettingsOutput) { @@ -1166,12 +1165,13 @@ func (c *ApiGatewayV2) DeleteAccessLogSettingsRequest(input *DeleteAccessLogSett // API operation DeleteAccessLogSettings for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAccessLogSettings func (c *ApiGatewayV2) DeleteAccessLogSettings(input *DeleteAccessLogSettingsInput) (*DeleteAccessLogSettingsOutput, error) { @@ -1211,14 +1211,13 @@ const opDeleteApi = "DeleteApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApiRequest method. +// req, resp := client.DeleteApiRequest(params) // -// // Example sending a request using the DeleteApiRequest method. -// req, resp := client.DeleteApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi func (c *ApiGatewayV2) DeleteApiRequest(input *DeleteApiInput) (req *request.Request, output *DeleteApiOutput) { @@ -1250,12 +1249,13 @@ func (c *ApiGatewayV2) DeleteApiRequest(input *DeleteApiInput) (req *request.Req // API operation DeleteApi for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApi func (c *ApiGatewayV2) DeleteApi(input *DeleteApiInput) (*DeleteApiOutput, error) { @@ -1295,14 +1295,13 @@ const opDeleteApiMapping = "DeleteApiMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApiMappingRequest method. +// req, resp := client.DeleteApiMappingRequest(params) // -// // Example sending a request using the DeleteApiMappingRequest method. -// req, resp := client.DeleteApiMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping func (c *ApiGatewayV2) DeleteApiMappingRequest(input *DeleteApiMappingInput) (req *request.Request, output *DeleteApiMappingOutput) { @@ -1334,16 +1333,17 @@ func (c *ApiGatewayV2) DeleteApiMappingRequest(input *DeleteApiMappingInput) (re // API operation DeleteApiMapping for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteApiMapping func (c *ApiGatewayV2) DeleteApiMapping(input *DeleteApiMappingInput) (*DeleteApiMappingOutput, error) { @@ -1383,14 +1383,13 @@ const opDeleteAuthorizer = "DeleteAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAuthorizerRequest method. +// req, resp := client.DeleteAuthorizerRequest(params) // -// // Example sending a request using the DeleteAuthorizerRequest method. -// req, resp := client.DeleteAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAuthorizer func (c *ApiGatewayV2) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) (req *request.Request, output *DeleteAuthorizerOutput) { @@ -1422,12 +1421,13 @@ func (c *ApiGatewayV2) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) (re // API operation DeleteAuthorizer for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteAuthorizer func (c *ApiGatewayV2) DeleteAuthorizer(input *DeleteAuthorizerInput) (*DeleteAuthorizerOutput, error) { @@ -1467,14 +1467,13 @@ const opDeleteCorsConfiguration = "DeleteCorsConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCorsConfigurationRequest method. +// req, resp := client.DeleteCorsConfigurationRequest(params) // -// // Example sending a request using the DeleteCorsConfigurationRequest method. -// req, resp := client.DeleteCorsConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration func (c *ApiGatewayV2) DeleteCorsConfigurationRequest(input *DeleteCorsConfigurationInput) (req *request.Request, output *DeleteCorsConfigurationOutput) { @@ -1506,12 +1505,13 @@ func (c *ApiGatewayV2) DeleteCorsConfigurationRequest(input *DeleteCorsConfigura // API operation DeleteCorsConfiguration for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteCorsConfiguration func (c *ApiGatewayV2) DeleteCorsConfiguration(input *DeleteCorsConfigurationInput) (*DeleteCorsConfigurationOutput, error) { @@ -1551,14 +1551,13 @@ const opDeleteDeployment = "DeleteDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDeploymentRequest method. +// req, resp := client.DeleteDeploymentRequest(params) // -// // Example sending a request using the DeleteDeploymentRequest method. -// req, resp := client.DeleteDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDeployment func (c *ApiGatewayV2) DeleteDeploymentRequest(input *DeleteDeploymentInput) (req *request.Request, output *DeleteDeploymentOutput) { @@ -1590,12 +1589,13 @@ func (c *ApiGatewayV2) DeleteDeploymentRequest(input *DeleteDeploymentInput) (re // API operation DeleteDeployment for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDeployment func (c *ApiGatewayV2) DeleteDeployment(input *DeleteDeploymentInput) (*DeleteDeploymentOutput, error) { @@ -1635,14 +1635,13 @@ const opDeleteDomainName = "DeleteDomainName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainNameRequest method. +// req, resp := client.DeleteDomainNameRequest(params) // -// // Example sending a request using the DeleteDomainNameRequest method. -// req, resp := client.DeleteDomainNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDomainName func (c *ApiGatewayV2) DeleteDomainNameRequest(input *DeleteDomainNameInput) (req *request.Request, output *DeleteDomainNameOutput) { @@ -1674,12 +1673,13 @@ func (c *ApiGatewayV2) DeleteDomainNameRequest(input *DeleteDomainNameInput) (re // API operation DeleteDomainName for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteDomainName func (c *ApiGatewayV2) DeleteDomainName(input *DeleteDomainNameInput) (*DeleteDomainNameOutput, error) { @@ -1719,14 +1719,13 @@ const opDeleteIntegration = "DeleteIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIntegrationRequest method. +// req, resp := client.DeleteIntegrationRequest(params) // -// // Example sending a request using the DeleteIntegrationRequest method. -// req, resp := client.DeleteIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegration func (c *ApiGatewayV2) DeleteIntegrationRequest(input *DeleteIntegrationInput) (req *request.Request, output *DeleteIntegrationOutput) { @@ -1758,12 +1757,13 @@ func (c *ApiGatewayV2) DeleteIntegrationRequest(input *DeleteIntegrationInput) ( // API operation DeleteIntegration for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegration func (c *ApiGatewayV2) DeleteIntegration(input *DeleteIntegrationInput) (*DeleteIntegrationOutput, error) { @@ -1803,14 +1803,13 @@ const opDeleteIntegrationResponse = "DeleteIntegrationResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIntegrationResponseRequest method. +// req, resp := client.DeleteIntegrationResponseRequest(params) // -// // Example sending a request using the DeleteIntegrationResponseRequest method. -// req, resp := client.DeleteIntegrationResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationResponse func (c *ApiGatewayV2) DeleteIntegrationResponseRequest(input *DeleteIntegrationResponseInput) (req *request.Request, output *DeleteIntegrationResponseOutput) { @@ -1842,12 +1841,13 @@ func (c *ApiGatewayV2) DeleteIntegrationResponseRequest(input *DeleteIntegration // API operation DeleteIntegrationResponse for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteIntegrationResponse func (c *ApiGatewayV2) DeleteIntegrationResponse(input *DeleteIntegrationResponseInput) (*DeleteIntegrationResponseOutput, error) { @@ -1887,14 +1887,13 @@ const opDeleteModel = "DeleteModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteModelRequest method. +// req, resp := client.DeleteModelRequest(params) // -// // Example sending a request using the DeleteModelRequest method. -// req, resp := client.DeleteModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteModel func (c *ApiGatewayV2) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput) { @@ -1926,12 +1925,13 @@ func (c *ApiGatewayV2) DeleteModelRequest(input *DeleteModelInput) (req *request // API operation DeleteModel for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteModel func (c *ApiGatewayV2) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error) { @@ -1971,14 +1971,13 @@ const opDeleteRoute = "DeleteRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRouteRequest method. +// req, resp := client.DeleteRouteRequest(params) // -// // Example sending a request using the DeleteRouteRequest method. -// req, resp := client.DeleteRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute func (c *ApiGatewayV2) DeleteRouteRequest(input *DeleteRouteInput) (req *request.Request, output *DeleteRouteOutput) { @@ -2010,12 +2009,13 @@ func (c *ApiGatewayV2) DeleteRouteRequest(input *DeleteRouteInput) (req *request // API operation DeleteRoute for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRoute func (c *ApiGatewayV2) DeleteRoute(input *DeleteRouteInput) (*DeleteRouteOutput, error) { @@ -2055,14 +2055,13 @@ const opDeleteRouteRequestParameter = "DeleteRouteRequestParameter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRouteRequestParameterRequest method. +// req, resp := client.DeleteRouteRequestParameterRequest(params) // -// // Example sending a request using the DeleteRouteRequestParameterRequest method. -// req, resp := client.DeleteRouteRequestParameterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter func (c *ApiGatewayV2) DeleteRouteRequestParameterRequest(input *DeleteRouteRequestParameterInput) (req *request.Request, output *DeleteRouteRequestParameterOutput) { @@ -2094,12 +2093,13 @@ func (c *ApiGatewayV2) DeleteRouteRequestParameterRequest(input *DeleteRouteRequ // API operation DeleteRouteRequestParameter for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteRequestParameter func (c *ApiGatewayV2) DeleteRouteRequestParameter(input *DeleteRouteRequestParameterInput) (*DeleteRouteRequestParameterOutput, error) { @@ -2139,14 +2139,13 @@ const opDeleteRouteResponse = "DeleteRouteResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRouteResponseRequest method. +// req, resp := client.DeleteRouteResponseRequest(params) // -// // Example sending a request using the DeleteRouteResponseRequest method. -// req, resp := client.DeleteRouteResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse func (c *ApiGatewayV2) DeleteRouteResponseRequest(input *DeleteRouteResponseInput) (req *request.Request, output *DeleteRouteResponseOutput) { @@ -2178,12 +2177,13 @@ func (c *ApiGatewayV2) DeleteRouteResponseRequest(input *DeleteRouteResponseInpu // API operation DeleteRouteResponse for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteResponse func (c *ApiGatewayV2) DeleteRouteResponse(input *DeleteRouteResponseInput) (*DeleteRouteResponseOutput, error) { @@ -2223,14 +2223,13 @@ const opDeleteRouteSettings = "DeleteRouteSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRouteSettingsRequest method. +// req, resp := client.DeleteRouteSettingsRequest(params) // -// // Example sending a request using the DeleteRouteSettingsRequest method. -// req, resp := client.DeleteRouteSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings func (c *ApiGatewayV2) DeleteRouteSettingsRequest(input *DeleteRouteSettingsInput) (req *request.Request, output *DeleteRouteSettingsOutput) { @@ -2262,12 +2261,13 @@ func (c *ApiGatewayV2) DeleteRouteSettingsRequest(input *DeleteRouteSettingsInpu // API operation DeleteRouteSettings for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteRouteSettings func (c *ApiGatewayV2) DeleteRouteSettings(input *DeleteRouteSettingsInput) (*DeleteRouteSettingsOutput, error) { @@ -2307,14 +2307,13 @@ const opDeleteStage = "DeleteStage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStageRequest method. +// req, resp := client.DeleteStageRequest(params) // -// // Example sending a request using the DeleteStageRequest method. -// req, resp := client.DeleteStageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteStage func (c *ApiGatewayV2) DeleteStageRequest(input *DeleteStageInput) (req *request.Request, output *DeleteStageOutput) { @@ -2346,12 +2345,13 @@ func (c *ApiGatewayV2) DeleteStageRequest(input *DeleteStageInput) (req *request // API operation DeleteStage for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteStage func (c *ApiGatewayV2) DeleteStage(input *DeleteStageInput) (*DeleteStageOutput, error) { @@ -2391,14 +2391,13 @@ const opDeleteVpcLink = "DeleteVpcLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVpcLinkRequest method. +// req, resp := client.DeleteVpcLinkRequest(params) // -// // Example sending a request using the DeleteVpcLinkRequest method. -// req, resp := client.DeleteVpcLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteVpcLink func (c *ApiGatewayV2) DeleteVpcLinkRequest(input *DeleteVpcLinkInput) (req *request.Request, output *DeleteVpcLinkOutput) { @@ -2430,12 +2429,13 @@ func (c *ApiGatewayV2) DeleteVpcLinkRequest(input *DeleteVpcLinkInput) (req *req // API operation DeleteVpcLink for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/DeleteVpcLink func (c *ApiGatewayV2) DeleteVpcLink(input *DeleteVpcLinkInput) (*DeleteVpcLinkOutput, error) { @@ -2475,14 +2475,13 @@ const opExportApi = "ExportApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportApiRequest method. +// req, resp := client.ExportApiRequest(params) // -// // Example sending a request using the ExportApiRequest method. -// req, resp := client.ExportApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi func (c *ApiGatewayV2) ExportApiRequest(input *ExportApiInput) (req *request.Request, output *ExportApiOutput) { @@ -2513,16 +2512,17 @@ func (c *ApiGatewayV2) ExportApiRequest(input *ExportApiInput) (req *request.Req // API operation ExportApi for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. +// +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ExportApi func (c *ApiGatewayV2) ExportApi(input *ExportApiInput) (*ExportApiOutput, error) { @@ -2562,14 +2562,13 @@ const opGetApi = "GetApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApiRequest method. +// req, resp := client.GetApiRequest(params) // -// // Example sending a request using the GetApiRequest method. -// req, resp := client.GetApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi func (c *ApiGatewayV2) GetApiRequest(input *GetApiInput) (req *request.Request, output *GetApiOutput) { @@ -2600,12 +2599,13 @@ func (c *ApiGatewayV2) GetApiRequest(input *GetApiInput) (req *request.Request, // API operation GetApi for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApi func (c *ApiGatewayV2) GetApi(input *GetApiInput) (*GetApiOutput, error) { @@ -2645,14 +2645,13 @@ const opGetApiMapping = "GetApiMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApiMappingRequest method. +// req, resp := client.GetApiMappingRequest(params) // -// // Example sending a request using the GetApiMappingRequest method. -// req, resp := client.GetApiMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping func (c *ApiGatewayV2) GetApiMappingRequest(input *GetApiMappingInput) (req *request.Request, output *GetApiMappingOutput) { @@ -2683,16 +2682,17 @@ func (c *ApiGatewayV2) GetApiMappingRequest(input *GetApiMappingInput) (req *req // API operation GetApiMapping for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. +// +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMapping func (c *ApiGatewayV2) GetApiMapping(input *GetApiMappingInput) (*GetApiMappingOutput, error) { @@ -2732,14 +2732,13 @@ const opGetApiMappings = "GetApiMappings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApiMappingsRequest method. +// req, resp := client.GetApiMappingsRequest(params) // -// // Example sending a request using the GetApiMappingsRequest method. -// req, resp := client.GetApiMappingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings func (c *ApiGatewayV2) GetApiMappingsRequest(input *GetApiMappingsInput) (req *request.Request, output *GetApiMappingsOutput) { @@ -2770,16 +2769,17 @@ func (c *ApiGatewayV2) GetApiMappingsRequest(input *GetApiMappingsInput) (req *r // API operation GetApiMappings for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. +// +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApiMappings func (c *ApiGatewayV2) GetApiMappings(input *GetApiMappingsInput) (*GetApiMappingsOutput, error) { @@ -2819,14 +2819,13 @@ const opGetApis = "GetApis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApisRequest method. +// req, resp := client.GetApisRequest(params) // -// // Example sending a request using the GetApisRequest method. -// req, resp := client.GetApisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis func (c *ApiGatewayV2) GetApisRequest(input *GetApisInput) (req *request.Request, output *GetApisOutput) { @@ -2857,16 +2856,17 @@ func (c *ApiGatewayV2) GetApisRequest(input *GetApisInput) (req *request.Request // API operation GetApis for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetApis func (c *ApiGatewayV2) GetApis(input *GetApisInput) (*GetApisOutput, error) { @@ -2906,14 +2906,13 @@ const opGetAuthorizer = "GetAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAuthorizerRequest method. +// req, resp := client.GetAuthorizerRequest(params) // -// // Example sending a request using the GetAuthorizerRequest method. -// req, resp := client.GetAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizer func (c *ApiGatewayV2) GetAuthorizerRequest(input *GetAuthorizerInput) (req *request.Request, output *GetAuthorizerOutput) { @@ -2944,12 +2943,13 @@ func (c *ApiGatewayV2) GetAuthorizerRequest(input *GetAuthorizerInput) (req *req // API operation GetAuthorizer for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizer func (c *ApiGatewayV2) GetAuthorizer(input *GetAuthorizerInput) (*GetAuthorizerOutput, error) { @@ -2989,14 +2989,13 @@ const opGetAuthorizers = "GetAuthorizers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAuthorizersRequest method. +// req, resp := client.GetAuthorizersRequest(params) // -// // Example sending a request using the GetAuthorizersRequest method. -// req, resp := client.GetAuthorizersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizers func (c *ApiGatewayV2) GetAuthorizersRequest(input *GetAuthorizersInput) (req *request.Request, output *GetAuthorizersOutput) { @@ -3027,16 +3026,17 @@ func (c *ApiGatewayV2) GetAuthorizersRequest(input *GetAuthorizersInput) (req *r // API operation GetAuthorizers for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetAuthorizers func (c *ApiGatewayV2) GetAuthorizers(input *GetAuthorizersInput) (*GetAuthorizersOutput, error) { @@ -3076,14 +3076,13 @@ const opGetDeployment = "GetDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeploymentRequest method. +// req, resp := client.GetDeploymentRequest(params) // -// // Example sending a request using the GetDeploymentRequest method. -// req, resp := client.GetDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployment func (c *ApiGatewayV2) GetDeploymentRequest(input *GetDeploymentInput) (req *request.Request, output *GetDeploymentOutput) { @@ -3114,12 +3113,13 @@ func (c *ApiGatewayV2) GetDeploymentRequest(input *GetDeploymentInput) (req *req // API operation GetDeployment for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployment func (c *ApiGatewayV2) GetDeployment(input *GetDeploymentInput) (*GetDeploymentOutput, error) { @@ -3159,14 +3159,13 @@ const opGetDeployments = "GetDeployments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeploymentsRequest method. +// req, resp := client.GetDeploymentsRequest(params) // -// // Example sending a request using the GetDeploymentsRequest method. -// req, resp := client.GetDeploymentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployments func (c *ApiGatewayV2) GetDeploymentsRequest(input *GetDeploymentsInput) (req *request.Request, output *GetDeploymentsOutput) { @@ -3197,16 +3196,17 @@ func (c *ApiGatewayV2) GetDeploymentsRequest(input *GetDeploymentsInput) (req *r // API operation GetDeployments for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDeployments func (c *ApiGatewayV2) GetDeployments(input *GetDeploymentsInput) (*GetDeploymentsOutput, error) { @@ -3246,14 +3246,13 @@ const opGetDomainName = "GetDomainName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainNameRequest method. +// req, resp := client.GetDomainNameRequest(params) // -// // Example sending a request using the GetDomainNameRequest method. -// req, resp := client.GetDomainNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainName func (c *ApiGatewayV2) GetDomainNameRequest(input *GetDomainNameInput) (req *request.Request, output *GetDomainNameOutput) { @@ -3284,12 +3283,13 @@ func (c *ApiGatewayV2) GetDomainNameRequest(input *GetDomainNameInput) (req *req // API operation GetDomainName for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainName func (c *ApiGatewayV2) GetDomainName(input *GetDomainNameInput) (*GetDomainNameOutput, error) { @@ -3329,14 +3329,13 @@ const opGetDomainNames = "GetDomainNames" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainNamesRequest method. +// req, resp := client.GetDomainNamesRequest(params) // -// // Example sending a request using the GetDomainNamesRequest method. -// req, resp := client.GetDomainNamesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNames func (c *ApiGatewayV2) GetDomainNamesRequest(input *GetDomainNamesInput) (req *request.Request, output *GetDomainNamesOutput) { @@ -3367,16 +3366,17 @@ func (c *ApiGatewayV2) GetDomainNamesRequest(input *GetDomainNamesInput) (req *r // API operation GetDomainNames for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. +// +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetDomainNames func (c *ApiGatewayV2) GetDomainNames(input *GetDomainNamesInput) (*GetDomainNamesOutput, error) { @@ -3416,14 +3416,13 @@ const opGetIntegration = "GetIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIntegrationRequest method. +// req, resp := client.GetIntegrationRequest(params) // -// // Example sending a request using the GetIntegrationRequest method. -// req, resp := client.GetIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegration func (c *ApiGatewayV2) GetIntegrationRequest(input *GetIntegrationInput) (req *request.Request, output *GetIntegrationOutput) { @@ -3454,12 +3453,13 @@ func (c *ApiGatewayV2) GetIntegrationRequest(input *GetIntegrationInput) (req *r // API operation GetIntegration for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegration func (c *ApiGatewayV2) GetIntegration(input *GetIntegrationInput) (*GetIntegrationOutput, error) { @@ -3499,14 +3499,13 @@ const opGetIntegrationResponse = "GetIntegrationResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIntegrationResponseRequest method. +// req, resp := client.GetIntegrationResponseRequest(params) // -// // Example sending a request using the GetIntegrationResponseRequest method. -// req, resp := client.GetIntegrationResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponse func (c *ApiGatewayV2) GetIntegrationResponseRequest(input *GetIntegrationResponseInput) (req *request.Request, output *GetIntegrationResponseOutput) { @@ -3537,12 +3536,13 @@ func (c *ApiGatewayV2) GetIntegrationResponseRequest(input *GetIntegrationRespon // API operation GetIntegrationResponse for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponse func (c *ApiGatewayV2) GetIntegrationResponse(input *GetIntegrationResponseInput) (*GetIntegrationResponseOutput, error) { @@ -3582,14 +3582,13 @@ const opGetIntegrationResponses = "GetIntegrationResponses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIntegrationResponsesRequest method. +// req, resp := client.GetIntegrationResponsesRequest(params) // -// // Example sending a request using the GetIntegrationResponsesRequest method. -// req, resp := client.GetIntegrationResponsesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses func (c *ApiGatewayV2) GetIntegrationResponsesRequest(input *GetIntegrationResponsesInput) (req *request.Request, output *GetIntegrationResponsesOutput) { @@ -3620,16 +3619,17 @@ func (c *ApiGatewayV2) GetIntegrationResponsesRequest(input *GetIntegrationRespo // API operation GetIntegrationResponses for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrationResponses func (c *ApiGatewayV2) GetIntegrationResponses(input *GetIntegrationResponsesInput) (*GetIntegrationResponsesOutput, error) { @@ -3669,14 +3669,13 @@ const opGetIntegrations = "GetIntegrations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIntegrationsRequest method. +// req, resp := client.GetIntegrationsRequest(params) // -// // Example sending a request using the GetIntegrationsRequest method. -// req, resp := client.GetIntegrationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations func (c *ApiGatewayV2) GetIntegrationsRequest(input *GetIntegrationsInput) (req *request.Request, output *GetIntegrationsOutput) { @@ -3707,16 +3706,17 @@ func (c *ApiGatewayV2) GetIntegrationsRequest(input *GetIntegrationsInput) (req // API operation GetIntegrations for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetIntegrations func (c *ApiGatewayV2) GetIntegrations(input *GetIntegrationsInput) (*GetIntegrationsOutput, error) { @@ -3756,14 +3756,13 @@ const opGetModel = "GetModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetModelRequest method. +// req, resp := client.GetModelRequest(params) // -// // Example sending a request using the GetModelRequest method. -// req, resp := client.GetModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModel func (c *ApiGatewayV2) GetModelRequest(input *GetModelInput) (req *request.Request, output *GetModelOutput) { @@ -3794,12 +3793,13 @@ func (c *ApiGatewayV2) GetModelRequest(input *GetModelInput) (req *request.Reque // API operation GetModel for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModel func (c *ApiGatewayV2) GetModel(input *GetModelInput) (*GetModelOutput, error) { @@ -3839,14 +3839,13 @@ const opGetModelTemplate = "GetModelTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetModelTemplateRequest method. +// req, resp := client.GetModelTemplateRequest(params) // -// // Example sending a request using the GetModelTemplateRequest method. -// req, resp := client.GetModelTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplate func (c *ApiGatewayV2) GetModelTemplateRequest(input *GetModelTemplateInput) (req *request.Request, output *GetModelTemplateOutput) { @@ -3877,12 +3876,13 @@ func (c *ApiGatewayV2) GetModelTemplateRequest(input *GetModelTemplateInput) (re // API operation GetModelTemplate for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModelTemplate func (c *ApiGatewayV2) GetModelTemplate(input *GetModelTemplateInput) (*GetModelTemplateOutput, error) { @@ -3922,14 +3922,13 @@ const opGetModels = "GetModels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetModelsRequest method. +// req, resp := client.GetModelsRequest(params) // -// // Example sending a request using the GetModelsRequest method. -// req, resp := client.GetModelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModels func (c *ApiGatewayV2) GetModelsRequest(input *GetModelsInput) (req *request.Request, output *GetModelsOutput) { @@ -3960,16 +3959,17 @@ func (c *ApiGatewayV2) GetModelsRequest(input *GetModelsInput) (req *request.Req // API operation GetModels for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetModels func (c *ApiGatewayV2) GetModels(input *GetModelsInput) (*GetModelsOutput, error) { @@ -4009,14 +4009,13 @@ const opGetRoute = "GetRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRouteRequest method. +// req, resp := client.GetRouteRequest(params) // -// // Example sending a request using the GetRouteRequest method. -// req, resp := client.GetRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute func (c *ApiGatewayV2) GetRouteRequest(input *GetRouteInput) (req *request.Request, output *GetRouteOutput) { @@ -4047,12 +4046,13 @@ func (c *ApiGatewayV2) GetRouteRequest(input *GetRouteInput) (req *request.Reque // API operation GetRoute for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoute func (c *ApiGatewayV2) GetRoute(input *GetRouteInput) (*GetRouteOutput, error) { @@ -4092,14 +4092,13 @@ const opGetRouteResponse = "GetRouteResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRouteResponseRequest method. +// req, resp := client.GetRouteResponseRequest(params) // -// // Example sending a request using the GetRouteResponseRequest method. -// req, resp := client.GetRouteResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse func (c *ApiGatewayV2) GetRouteResponseRequest(input *GetRouteResponseInput) (req *request.Request, output *GetRouteResponseOutput) { @@ -4130,12 +4129,13 @@ func (c *ApiGatewayV2) GetRouteResponseRequest(input *GetRouteResponseInput) (re // API operation GetRouteResponse for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponse func (c *ApiGatewayV2) GetRouteResponse(input *GetRouteResponseInput) (*GetRouteResponseOutput, error) { @@ -4175,14 +4175,13 @@ const opGetRouteResponses = "GetRouteResponses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRouteResponsesRequest method. +// req, resp := client.GetRouteResponsesRequest(params) // -// // Example sending a request using the GetRouteResponsesRequest method. -// req, resp := client.GetRouteResponsesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses func (c *ApiGatewayV2) GetRouteResponsesRequest(input *GetRouteResponsesInput) (req *request.Request, output *GetRouteResponsesOutput) { @@ -4213,16 +4212,17 @@ func (c *ApiGatewayV2) GetRouteResponsesRequest(input *GetRouteResponsesInput) ( // API operation GetRouteResponses for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. +// +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRouteResponses func (c *ApiGatewayV2) GetRouteResponses(input *GetRouteResponsesInput) (*GetRouteResponsesOutput, error) { @@ -4262,14 +4262,13 @@ const opGetRoutes = "GetRoutes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRoutesRequest method. +// req, resp := client.GetRoutesRequest(params) // -// // Example sending a request using the GetRoutesRequest method. -// req, resp := client.GetRoutesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes func (c *ApiGatewayV2) GetRoutesRequest(input *GetRoutesInput) (req *request.Request, output *GetRoutesOutput) { @@ -4300,16 +4299,17 @@ func (c *ApiGatewayV2) GetRoutesRequest(input *GetRoutesInput) (req *request.Req // API operation GetRoutes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. +// +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetRoutes func (c *ApiGatewayV2) GetRoutes(input *GetRoutesInput) (*GetRoutesOutput, error) { @@ -4349,14 +4349,13 @@ const opGetStage = "GetStage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStageRequest method. +// req, resp := client.GetStageRequest(params) // -// // Example sending a request using the GetStageRequest method. -// req, resp := client.GetStageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStage func (c *ApiGatewayV2) GetStageRequest(input *GetStageInput) (req *request.Request, output *GetStageOutput) { @@ -4387,12 +4386,13 @@ func (c *ApiGatewayV2) GetStageRequest(input *GetStageInput) (req *request.Reque // API operation GetStage for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStage func (c *ApiGatewayV2) GetStage(input *GetStageInput) (*GetStageOutput, error) { @@ -4432,14 +4432,13 @@ const opGetStages = "GetStages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStagesRequest method. +// req, resp := client.GetStagesRequest(params) // -// // Example sending a request using the GetStagesRequest method. -// req, resp := client.GetStagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStages func (c *ApiGatewayV2) GetStagesRequest(input *GetStagesInput) (req *request.Request, output *GetStagesOutput) { @@ -4470,16 +4469,17 @@ func (c *ApiGatewayV2) GetStagesRequest(input *GetStagesInput) (req *request.Req // API operation GetStages for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetStages func (c *ApiGatewayV2) GetStages(input *GetStagesInput) (*GetStagesOutput, error) { @@ -4519,14 +4519,13 @@ const opGetTags = "GetTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTagsRequest method. +// req, resp := client.GetTagsRequest(params) // -// // Example sending a request using the GetTagsRequest method. -// req, resp := client.GetTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetTags func (c *ApiGatewayV2) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput) { @@ -4557,21 +4556,22 @@ func (c *ApiGatewayV2) GetTagsRequest(input *GetTagsInput) (req *request.Request // API operation GetTags for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetTags func (c *ApiGatewayV2) GetTags(input *GetTagsInput) (*GetTagsOutput, error) { @@ -4611,14 +4611,13 @@ const opGetVpcLink = "GetVpcLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVpcLinkRequest method. +// req, resp := client.GetVpcLinkRequest(params) // -// // Example sending a request using the GetVpcLinkRequest method. -// req, resp := client.GetVpcLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLink func (c *ApiGatewayV2) GetVpcLinkRequest(input *GetVpcLinkInput) (req *request.Request, output *GetVpcLinkOutput) { @@ -4649,12 +4648,13 @@ func (c *ApiGatewayV2) GetVpcLinkRequest(input *GetVpcLinkInput) (req *request.R // API operation GetVpcLink for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLink func (c *ApiGatewayV2) GetVpcLink(input *GetVpcLinkInput) (*GetVpcLinkOutput, error) { @@ -4694,14 +4694,13 @@ const opGetVpcLinks = "GetVpcLinks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVpcLinksRequest method. +// req, resp := client.GetVpcLinksRequest(params) // -// // Example sending a request using the GetVpcLinksRequest method. -// req, resp := client.GetVpcLinksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLinks func (c *ApiGatewayV2) GetVpcLinksRequest(input *GetVpcLinksInput) (req *request.Request, output *GetVpcLinksOutput) { @@ -4732,12 +4731,13 @@ func (c *ApiGatewayV2) GetVpcLinksRequest(input *GetVpcLinksInput) (req *request // API operation GetVpcLinks for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/GetVpcLinks func (c *ApiGatewayV2) GetVpcLinks(input *GetVpcLinksInput) (*GetVpcLinksOutput, error) { @@ -4777,14 +4777,13 @@ const opImportApi = "ImportApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportApiRequest method. +// req, resp := client.ImportApiRequest(params) // -// // Example sending a request using the ImportApiRequest method. -// req, resp := client.ImportApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi func (c *ApiGatewayV2) ImportApiRequest(input *ImportApiInput) (req *request.Request, output *ImportApiOutput) { @@ -4815,21 +4814,22 @@ func (c *ApiGatewayV2) ImportApiRequest(input *ImportApiInput) (req *request.Req // API operation ImportApi for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ImportApi func (c *ApiGatewayV2) ImportApi(input *ImportApiInput) (*ImportApiOutput, error) { @@ -4869,14 +4869,13 @@ const opReimportApi = "ReimportApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReimportApiRequest method. +// req, resp := client.ReimportApiRequest(params) // -// // Example sending a request using the ReimportApiRequest method. -// req, resp := client.ReimportApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi func (c *ApiGatewayV2) ReimportApiRequest(input *ReimportApiInput) (req *request.Request, output *ReimportApiOutput) { @@ -4907,21 +4906,22 @@ func (c *ApiGatewayV2) ReimportApiRequest(input *ReimportApiInput) (req *request // API operation ReimportApi for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ReimportApi func (c *ApiGatewayV2) ReimportApi(input *ReimportApiInput) (*ReimportApiOutput, error) { @@ -4961,14 +4961,13 @@ const opResetAuthorizersCache = "ResetAuthorizersCache" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetAuthorizersCacheRequest method. +// req, resp := client.ResetAuthorizersCacheRequest(params) // -// // Example sending a request using the ResetAuthorizersCacheRequest method. -// req, resp := client.ResetAuthorizersCacheRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache func (c *ApiGatewayV2) ResetAuthorizersCacheRequest(input *ResetAuthorizersCacheInput) (req *request.Request, output *ResetAuthorizersCacheOutput) { @@ -5001,12 +5000,13 @@ func (c *ApiGatewayV2) ResetAuthorizersCacheRequest(input *ResetAuthorizersCache // API operation ResetAuthorizersCache for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/ResetAuthorizersCache func (c *ApiGatewayV2) ResetAuthorizersCache(input *ResetAuthorizersCacheInput) (*ResetAuthorizersCacheOutput, error) { @@ -5046,14 +5046,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TagResource func (c *ApiGatewayV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -5085,21 +5084,22 @@ func (c *ApiGatewayV2) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/TagResource func (c *ApiGatewayV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -5139,14 +5139,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UntagResource func (c *ApiGatewayV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -5178,21 +5177,22 @@ func (c *ApiGatewayV2) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UntagResource func (c *ApiGatewayV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -5232,14 +5232,13 @@ const opUpdateApi = "UpdateApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApiRequest method. +// req, resp := client.UpdateApiRequest(params) // -// // Example sending a request using the UpdateApiRequest method. -// req, resp := client.UpdateApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi func (c *ApiGatewayV2) UpdateApiRequest(input *UpdateApiInput) (req *request.Request, output *UpdateApiOutput) { @@ -5270,21 +5269,22 @@ func (c *ApiGatewayV2) UpdateApiRequest(input *UpdateApiInput) (req *request.Req // API operation UpdateApi for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApi func (c *ApiGatewayV2) UpdateApi(input *UpdateApiInput) (*UpdateApiOutput, error) { @@ -5324,14 +5324,13 @@ const opUpdateApiMapping = "UpdateApiMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApiMappingRequest method. +// req, resp := client.UpdateApiMappingRequest(params) // -// // Example sending a request using the UpdateApiMappingRequest method. -// req, resp := client.UpdateApiMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping func (c *ApiGatewayV2) UpdateApiMappingRequest(input *UpdateApiMappingInput) (req *request.Request, output *UpdateApiMappingOutput) { @@ -5362,21 +5361,22 @@ func (c *ApiGatewayV2) UpdateApiMappingRequest(input *UpdateApiMappingInput) (re // API operation UpdateApiMapping for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateApiMapping func (c *ApiGatewayV2) UpdateApiMapping(input *UpdateApiMappingInput) (*UpdateApiMappingOutput, error) { @@ -5416,14 +5416,13 @@ const opUpdateAuthorizer = "UpdateAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAuthorizerRequest method. +// req, resp := client.UpdateAuthorizerRequest(params) // -// // Example sending a request using the UpdateAuthorizerRequest method. -// req, resp := client.UpdateAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizer func (c *ApiGatewayV2) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) (req *request.Request, output *UpdateAuthorizerOutput) { @@ -5454,21 +5453,22 @@ func (c *ApiGatewayV2) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) (re // API operation UpdateAuthorizer for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateAuthorizer func (c *ApiGatewayV2) UpdateAuthorizer(input *UpdateAuthorizerInput) (*UpdateAuthorizerOutput, error) { @@ -5508,14 +5508,13 @@ const opUpdateDeployment = "UpdateDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDeploymentRequest method. +// req, resp := client.UpdateDeploymentRequest(params) // -// // Example sending a request using the UpdateDeploymentRequest method. -// req, resp := client.UpdateDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeployment func (c *ApiGatewayV2) UpdateDeploymentRequest(input *UpdateDeploymentInput) (req *request.Request, output *UpdateDeploymentOutput) { @@ -5546,21 +5545,22 @@ func (c *ApiGatewayV2) UpdateDeploymentRequest(input *UpdateDeploymentInput) (re // API operation UpdateDeployment for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDeployment func (c *ApiGatewayV2) UpdateDeployment(input *UpdateDeploymentInput) (*UpdateDeploymentOutput, error) { @@ -5600,14 +5600,13 @@ const opUpdateDomainName = "UpdateDomainName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDomainNameRequest method. +// req, resp := client.UpdateDomainNameRequest(params) // -// // Example sending a request using the UpdateDomainNameRequest method. -// req, resp := client.UpdateDomainNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainName func (c *ApiGatewayV2) UpdateDomainNameRequest(input *UpdateDomainNameInput) (req *request.Request, output *UpdateDomainNameOutput) { @@ -5638,21 +5637,22 @@ func (c *ApiGatewayV2) UpdateDomainNameRequest(input *UpdateDomainNameInput) (re // API operation UpdateDomainName for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainName func (c *ApiGatewayV2) UpdateDomainName(input *UpdateDomainNameInput) (*UpdateDomainNameOutput, error) { @@ -5692,14 +5692,13 @@ const opUpdateIntegration = "UpdateIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIntegrationRequest method. +// req, resp := client.UpdateIntegrationRequest(params) // -// // Example sending a request using the UpdateIntegrationRequest method. -// req, resp := client.UpdateIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegration func (c *ApiGatewayV2) UpdateIntegrationRequest(input *UpdateIntegrationInput) (req *request.Request, output *UpdateIntegrationOutput) { @@ -5730,21 +5729,22 @@ func (c *ApiGatewayV2) UpdateIntegrationRequest(input *UpdateIntegrationInput) ( // API operation UpdateIntegration for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegration func (c *ApiGatewayV2) UpdateIntegration(input *UpdateIntegrationInput) (*UpdateIntegrationOutput, error) { @@ -5784,14 +5784,13 @@ const opUpdateIntegrationResponse = "UpdateIntegrationResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIntegrationResponseRequest method. +// req, resp := client.UpdateIntegrationResponseRequest(params) // -// // Example sending a request using the UpdateIntegrationResponseRequest method. -// req, resp := client.UpdateIntegrationResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponse func (c *ApiGatewayV2) UpdateIntegrationResponseRequest(input *UpdateIntegrationResponseInput) (req *request.Request, output *UpdateIntegrationResponseOutput) { @@ -5822,21 +5821,22 @@ func (c *ApiGatewayV2) UpdateIntegrationResponseRequest(input *UpdateIntegration // API operation UpdateIntegrationResponse for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateIntegrationResponse func (c *ApiGatewayV2) UpdateIntegrationResponse(input *UpdateIntegrationResponseInput) (*UpdateIntegrationResponseOutput, error) { @@ -5876,14 +5876,13 @@ const opUpdateModel = "UpdateModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateModelRequest method. +// req, resp := client.UpdateModelRequest(params) // -// // Example sending a request using the UpdateModelRequest method. -// req, resp := client.UpdateModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModel func (c *ApiGatewayV2) UpdateModelRequest(input *UpdateModelInput) (req *request.Request, output *UpdateModelOutput) { @@ -5914,21 +5913,22 @@ func (c *ApiGatewayV2) UpdateModelRequest(input *UpdateModelInput) (req *request // API operation UpdateModel for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateModel func (c *ApiGatewayV2) UpdateModel(input *UpdateModelInput) (*UpdateModelOutput, error) { @@ -5968,14 +5968,13 @@ const opUpdateRoute = "UpdateRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRouteRequest method. +// req, resp := client.UpdateRouteRequest(params) // -// // Example sending a request using the UpdateRouteRequest method. -// req, resp := client.UpdateRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute func (c *ApiGatewayV2) UpdateRouteRequest(input *UpdateRouteInput) (req *request.Request, output *UpdateRouteOutput) { @@ -6006,21 +6005,22 @@ func (c *ApiGatewayV2) UpdateRouteRequest(input *UpdateRouteInput) (req *request // API operation UpdateRoute for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRoute func (c *ApiGatewayV2) UpdateRoute(input *UpdateRouteInput) (*UpdateRouteOutput, error) { @@ -6060,14 +6060,13 @@ const opUpdateRouteResponse = "UpdateRouteResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRouteResponseRequest method. +// req, resp := client.UpdateRouteResponseRequest(params) // -// // Example sending a request using the UpdateRouteResponseRequest method. -// req, resp := client.UpdateRouteResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse func (c *ApiGatewayV2) UpdateRouteResponseRequest(input *UpdateRouteResponseInput) (req *request.Request, output *UpdateRouteResponseOutput) { @@ -6098,21 +6097,22 @@ func (c *ApiGatewayV2) UpdateRouteResponseRequest(input *UpdateRouteResponseInpu // API operation UpdateRouteResponse for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateRouteResponse func (c *ApiGatewayV2) UpdateRouteResponse(input *UpdateRouteResponseInput) (*UpdateRouteResponseOutput, error) { @@ -6152,14 +6152,13 @@ const opUpdateStage = "UpdateStage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStageRequest method. +// req, resp := client.UpdateStageRequest(params) // -// // Example sending a request using the UpdateStageRequest method. -// req, resp := client.UpdateStageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStage func (c *ApiGatewayV2) UpdateStageRequest(input *UpdateStageInput) (req *request.Request, output *UpdateStageOutput) { @@ -6190,21 +6189,22 @@ func (c *ApiGatewayV2) UpdateStageRequest(input *UpdateStageInput) (req *request // API operation UpdateStage for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. See the accompanying error message for details. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateStage func (c *ApiGatewayV2) UpdateStage(input *UpdateStageInput) (*UpdateStageOutput, error) { @@ -6244,14 +6244,13 @@ const opUpdateVpcLink = "UpdateVpcLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVpcLinkRequest method. +// req, resp := client.UpdateVpcLinkRequest(params) // -// // Example sending a request using the UpdateVpcLinkRequest method. -// req, resp := client.UpdateVpcLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateVpcLink func (c *ApiGatewayV2) UpdateVpcLinkRequest(input *UpdateVpcLinkInput) (req *request.Request, output *UpdateVpcLinkOutput) { @@ -6282,16 +6281,17 @@ func (c *ApiGatewayV2) UpdateVpcLinkRequest(input *UpdateVpcLinkInput) (req *req // API operation UpdateVpcLink for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. See the message field -// for more information. // -// * TooManyRequestsException -// A limit has been exceeded. See the accompanying error message for details. +// - NotFoundException +// The resource specified in the request was not found. See the message field +// for more information. +// +// - TooManyRequestsException +// A limit has been exceeded. See the accompanying error message for details. // -// * BadRequestException -// The request is not valid, for example, the input is incomplete or incorrect. -// See the accompanying error message for details. +// - BadRequestException +// The request is not valid, for example, the input is incomplete or incorrect. +// See the accompanying error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateVpcLink func (c *ApiGatewayV2) UpdateVpcLink(input *UpdateVpcLinkInput) (*UpdateVpcLinkOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/apigatewayv2iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/apigatewayv2iface/interface.go index 68e06d92e70b..d12b4bb1f8b1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/apigatewayv2iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/apigatewayv2iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AmazonApiGatewayV2. -// func myFunc(svc apigatewayv2iface.ApiGatewayV2API) bool { -// // Make svc.CreateApi request -// } +// // myFunc uses an SDK service client to make a request to +// // AmazonApiGatewayV2. +// func myFunc(svc apigatewayv2iface.ApiGatewayV2API) bool { +// // Make svc.CreateApi request +// } // -// func main() { -// sess := session.New() -// svc := apigatewayv2.New(sess) +// func main() { +// sess := session.New() +// svc := apigatewayv2.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockApiGatewayV2Client struct { -// apigatewayv2iface.ApiGatewayV2API -// } -// func (m *mockApiGatewayV2Client) CreateApi(input *apigatewayv2.CreateApiInput) (*apigatewayv2.CreateApiOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockApiGatewayV2Client struct { +// apigatewayv2iface.ApiGatewayV2API +// } +// func (m *mockApiGatewayV2Client) CreateApi(input *apigatewayv2.CreateApiInput) (*apigatewayv2.CreateApiOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockApiGatewayV2Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockApiGatewayV2Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/doc.go index 009cd801c2d4..151c9c813984 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/doc.go @@ -3,14 +3,14 @@ // Package apigatewayv2 provides the client and types for making API // requests to AmazonApiGatewayV2. // -// Amazon API Gateway V2 +// # Amazon API Gateway V2 // // See https://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29 for more information on this service. // // See apigatewayv2 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/apigatewayv2/ // -// Using the Client +// # Using the Client // // To contact AmazonApiGatewayV2 with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/service.go index c81bcdcca12a..2e1bafbd1478 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apigatewayv2/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ApiGatewayV2 client from just a session. -// svc := apigatewayv2.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ApiGatewayV2 client with additional configuration -// svc := apigatewayv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ApiGatewayV2 client from just a session. +// svc := apigatewayv2.New(mySession) +// +// // Create a ApiGatewayV2 client with additional configuration +// svc := apigatewayv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ApiGatewayV2 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/api.go index 299d323856e9..b0e90177bde3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/api.go @@ -29,14 +29,13 @@ const opCreateApplication = "CreateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationRequest method. +// req, resp := client.CreateApplicationRequest(params) // -// // Example sending a request using the CreateApplicationRequest method. -// req, resp := client.CreateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication func (c *AppConfig) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput) { @@ -71,12 +70,13 @@ func (c *AppConfig) CreateApplicationRequest(input *CreateApplicationInput) (req // API operation CreateApplication for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - InternalServerException +// There was an internal failure in the AppConfig service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateApplication func (c *AppConfig) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error) { @@ -116,14 +116,13 @@ const opCreateConfigurationProfile = "CreateConfigurationProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConfigurationProfileRequest method. +// req, resp := client.CreateConfigurationProfileRequest(params) // -// // Example sending a request using the CreateConfigurationProfileRequest method. -// req, resp := client.CreateConfigurationProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile func (c *AppConfig) CreateConfigurationProfileRequest(input *CreateConfigurationProfileInput) (req *request.Request, output *CreateConfigurationProfileOutput) { @@ -152,13 +151,13 @@ func (c *AppConfig) CreateConfigurationProfileRequest(input *CreateConfiguration // supported by CodePipeline. A configuration profile includes the following // information: // -// * The URI location of the configuration data. +// - The URI location of the configuration data. // -// * The Identity and Access Management (IAM) role that provides access to -// the configuration data. +// - The Identity and Access Management (IAM) role that provides access to +// the configuration data. // -// * A validator for the configuration data. Available validators include -// either a JSON Schema or an Amazon Web Services Lambda function. +// - A validator for the configuration data. Available validators include +// either a JSON Schema or an Amazon Web Services Lambda function. // // For more information, see Create a Configuration and a Configuration Profile // (http://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-configuration-and-profile.html) @@ -172,15 +171,16 @@ func (c *AppConfig) CreateConfigurationProfileRequest(input *CreateConfiguration // API operation CreateConfigurationProfile for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - InternalServerException +// There was an internal failure in the AppConfig service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateConfigurationProfile func (c *AppConfig) CreateConfigurationProfile(input *CreateConfigurationProfileInput) (*CreateConfigurationProfileOutput, error) { @@ -220,14 +220,13 @@ const opCreateDeploymentStrategy = "CreateDeploymentStrategy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeploymentStrategyRequest method. +// req, resp := client.CreateDeploymentStrategyRequest(params) // -// // Example sending a request using the CreateDeploymentStrategyRequest method. -// req, resp := client.CreateDeploymentStrategyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy func (c *AppConfig) CreateDeploymentStrategyRequest(input *CreateDeploymentStrategyInput) (req *request.Request, output *CreateDeploymentStrategyOutput) { @@ -262,12 +261,13 @@ func (c *AppConfig) CreateDeploymentStrategyRequest(input *CreateDeploymentStrat // API operation CreateDeploymentStrategy for usage and error information. // // Returned Error Types: -// * InternalServerException -// There was an internal failure in the AppConfig service. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - InternalServerException +// There was an internal failure in the AppConfig service. +// +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateDeploymentStrategy func (c *AppConfig) CreateDeploymentStrategy(input *CreateDeploymentStrategyInput) (*CreateDeploymentStrategyOutput, error) { @@ -307,14 +307,13 @@ const opCreateEnvironment = "CreateEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEnvironmentRequest method. +// req, resp := client.CreateEnvironmentRequest(params) // -// // Example sending a request using the CreateEnvironmentRequest method. -// req, resp := client.CreateEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment func (c *AppConfig) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req *request.Request, output *CreateEnvironmentOutput) { @@ -351,15 +350,16 @@ func (c *AppConfig) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req // API operation CreateEnvironment for usage and error information. // // Returned Error Types: -// * InternalServerException -// There was an internal failure in the AppConfig service. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - InternalServerException +// There was an internal failure in the AppConfig service. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateEnvironment func (c *AppConfig) CreateEnvironment(input *CreateEnvironmentInput) (*CreateEnvironmentOutput, error) { @@ -399,14 +399,13 @@ const opCreateHostedConfigurationVersion = "CreateHostedConfigurationVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHostedConfigurationVersionRequest method. +// req, resp := client.CreateHostedConfigurationVersionRequest(params) // -// // Example sending a request using the CreateHostedConfigurationVersionRequest method. -// req, resp := client.CreateHostedConfigurationVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion func (c *AppConfig) CreateHostedConfigurationVersionRequest(input *CreateHostedConfigurationVersionInput) (req *request.Request, output *CreateHostedConfigurationVersionOutput) { @@ -437,26 +436,27 @@ func (c *AppConfig) CreateHostedConfigurationVersionRequest(input *CreateHostedC // API operation CreateHostedConfigurationVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. // -// * ServiceQuotaExceededException -// The number of hosted configuration versions exceeds the limit for the AppConfig -// hosted configuration store. Delete one or more versions and try again. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - ServiceQuotaExceededException +// The number of hosted configuration versions exceeds the limit for the AppConfig +// hosted configuration store. Delete one or more versions and try again. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ResourceNotFoundException +// The requested resource could not be found. // -// * PayloadTooLargeException -// The configuration size is too large. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - PayloadTooLargeException +// The configuration size is too large. +// +// - InternalServerException +// There was an internal failure in the AppConfig service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/CreateHostedConfigurationVersion func (c *AppConfig) CreateHostedConfigurationVersion(input *CreateHostedConfigurationVersionInput) (*CreateHostedConfigurationVersionOutput, error) { @@ -496,14 +496,13 @@ const opDeleteApplication = "DeleteApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationRequest method. +// req, resp := client.DeleteApplicationRequest(params) // -// // Example sending a request using the DeleteApplicationRequest method. -// req, resp := client.DeleteApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication func (c *AppConfig) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) { @@ -536,15 +535,16 @@ func (c *AppConfig) DeleteApplicationRequest(input *DeleteApplicationInput) (req // API operation DeleteApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - InternalServerException +// There was an internal failure in the AppConfig service. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteApplication func (c *AppConfig) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) { @@ -584,14 +584,13 @@ const opDeleteConfigurationProfile = "DeleteConfigurationProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigurationProfileRequest method. +// req, resp := client.DeleteConfigurationProfileRequest(params) // -// // Example sending a request using the DeleteConfigurationProfileRequest method. -// req, resp := client.DeleteConfigurationProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile func (c *AppConfig) DeleteConfigurationProfileRequest(input *DeleteConfigurationProfileInput) (req *request.Request, output *DeleteConfigurationProfileOutput) { @@ -624,19 +623,20 @@ func (c *AppConfig) DeleteConfigurationProfileRequest(input *DeleteConfiguration // API operation DeleteConfigurationProfile for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - InternalServerException +// There was an internal failure in the AppConfig service. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteConfigurationProfile func (c *AppConfig) DeleteConfigurationProfile(input *DeleteConfigurationProfileInput) (*DeleteConfigurationProfileOutput, error) { @@ -676,14 +676,13 @@ const opDeleteDeploymentStrategy = "DeleteDeploymentStrategy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDeploymentStrategyRequest method. +// req, resp := client.DeleteDeploymentStrategyRequest(params) // -// // Example sending a request using the DeleteDeploymentStrategyRequest method. -// req, resp := client.DeleteDeploymentStrategyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy func (c *AppConfig) DeleteDeploymentStrategyRequest(input *DeleteDeploymentStrategyInput) (req *request.Request, output *DeleteDeploymentStrategyOutput) { @@ -716,15 +715,16 @@ func (c *AppConfig) DeleteDeploymentStrategyRequest(input *DeleteDeploymentStrat // API operation DeleteDeploymentStrategy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - InternalServerException +// There was an internal failure in the AppConfig service. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteDeploymentStrategy func (c *AppConfig) DeleteDeploymentStrategy(input *DeleteDeploymentStrategyInput) (*DeleteDeploymentStrategyOutput, error) { @@ -764,14 +764,13 @@ const opDeleteEnvironment = "DeleteEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEnvironmentRequest method. +// req, resp := client.DeleteEnvironmentRequest(params) // -// // Example sending a request using the DeleteEnvironmentRequest method. -// req, resp := client.DeleteEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment func (c *AppConfig) DeleteEnvironmentRequest(input *DeleteEnvironmentInput) (req *request.Request, output *DeleteEnvironmentOutput) { @@ -804,19 +803,20 @@ func (c *AppConfig) DeleteEnvironmentRequest(input *DeleteEnvironmentInput) (req // API operation DeleteEnvironment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - InternalServerException +// There was an internal failure in the AppConfig service. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteEnvironment func (c *AppConfig) DeleteEnvironment(input *DeleteEnvironmentInput) (*DeleteEnvironmentOutput, error) { @@ -856,14 +856,13 @@ const opDeleteHostedConfigurationVersion = "DeleteHostedConfigurationVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteHostedConfigurationVersionRequest method. +// req, resp := client.DeleteHostedConfigurationVersionRequest(params) // -// // Example sending a request using the DeleteHostedConfigurationVersionRequest method. -// req, resp := client.DeleteHostedConfigurationVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion func (c *AppConfig) DeleteHostedConfigurationVersionRequest(input *DeleteHostedConfigurationVersionInput) (req *request.Request, output *DeleteHostedConfigurationVersionOutput) { @@ -896,15 +895,16 @@ func (c *AppConfig) DeleteHostedConfigurationVersionRequest(input *DeleteHostedC // API operation DeleteHostedConfigurationVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - ResourceNotFoundException +// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - InternalServerException +// There was an internal failure in the AppConfig service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/DeleteHostedConfigurationVersion func (c *AppConfig) DeleteHostedConfigurationVersion(input *DeleteHostedConfigurationVersionInput) (*DeleteHostedConfigurationVersionOutput, error) { @@ -944,14 +944,13 @@ const opGetApplication = "GetApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApplicationRequest method. +// req, resp := client.GetApplicationRequest(params) // -// // Example sending a request using the GetApplicationRequest method. -// req, resp := client.GetApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication func (c *AppConfig) GetApplicationRequest(input *GetApplicationInput) (req *request.Request, output *GetApplicationOutput) { @@ -982,15 +981,16 @@ func (c *AppConfig) GetApplicationRequest(input *GetApplicationInput) (req *requ // API operation GetApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - ResourceNotFoundException +// The requested resource could not be found. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - InternalServerException +// There was an internal failure in the AppConfig service. +// +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetApplication func (c *AppConfig) GetApplication(input *GetApplicationInput) (*GetApplicationOutput, error) { @@ -1030,14 +1030,13 @@ const opGetConfiguration = "GetConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConfigurationRequest method. +// req, resp := client.GetConfigurationRequest(params) // -// // Example sending a request using the GetConfigurationRequest method. -// req, resp := client.GetConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration // @@ -1067,27 +1066,27 @@ func (c *AppConfig) GetConfigurationRequest(input *GetConfigurationInput) (req * // // Note the following important information. // -// * This API action has been deprecated. Calls to receive configuration -// data should use the StartConfigurationSession (https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html) -// and GetLatestConfiguration (https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html) -// APIs instead. -// -// * GetConfiguration is a priced call. For more information, see Pricing -// (https://aws.amazon.com/systems-manager/pricing/). -// -// * AppConfig uses the value of the ClientConfigurationVersion parameter -// to identify the configuration version on your clients. If you don’t -// send ClientConfigurationVersion with each call to GetConfiguration, your -// clients receive the current configuration. You are charged each time your -// clients receive a configuration. To avoid excess charges, we recommend -// you use the StartConfigurationSession (https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html) -// and GetLatestConfiguration (https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html) -// APIs, which track the client configuration version on your behalf. If -// you choose to continue using GetConfiguration, we recommend that you include -// the ClientConfigurationVersion value with every call to GetConfiguration. -// The value to use for ClientConfigurationVersion comes from the ConfigurationVersion -// attribute returned by GetConfiguration when there is new or updated data, -// and should be saved for subsequent calls to GetConfiguration. +// - This API action has been deprecated. Calls to receive configuration +// data should use the StartConfigurationSession (https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_StartConfigurationSession.html) +// and GetLatestConfiguration (https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/API_appconfigdata_GetLatestConfiguration.html) +// APIs instead. +// +// - GetConfiguration is a priced call. For more information, see Pricing +// (https://aws.amazon.com/systems-manager/pricing/). +// +// - AppConfig uses the value of the ClientConfigurationVersion parameter +// to identify the configuration version on your clients. If you don’t +// send ClientConfigurationVersion with each call to GetConfiguration, your +// clients receive the current configuration. You are charged each time your +// clients receive a configuration. To avoid excess charges, we recommend +// you use the StartConfigurationSession (https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/StartConfigurationSession.html) +// and GetLatestConfiguration (https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/GetLatestConfiguration.html) +// APIs, which track the client configuration version on your behalf. If +// you choose to continue using GetConfiguration, we recommend that you include +// the ClientConfigurationVersion value with every call to GetConfiguration. +// The value to use for ClientConfigurationVersion comes from the ConfigurationVersion +// attribute returned by GetConfiguration when there is new or updated data, +// and should be saved for subsequent calls to GetConfiguration. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1097,15 +1096,16 @@ func (c *AppConfig) GetConfigurationRequest(input *GetConfigurationInput) (req * // API operation GetConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - ResourceNotFoundException +// The requested resource could not be found. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - InternalServerException +// There was an internal failure in the AppConfig service. +// +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfiguration // @@ -1149,14 +1149,13 @@ const opGetConfigurationProfile = "GetConfigurationProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConfigurationProfileRequest method. +// req, resp := client.GetConfigurationProfileRequest(params) // -// // Example sending a request using the GetConfigurationProfileRequest method. -// req, resp := client.GetConfigurationProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile func (c *AppConfig) GetConfigurationProfileRequest(input *GetConfigurationProfileInput) (req *request.Request, output *GetConfigurationProfileOutput) { @@ -1187,15 +1186,16 @@ func (c *AppConfig) GetConfigurationProfileRequest(input *GetConfigurationProfil // API operation GetConfigurationProfile for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - ResourceNotFoundException +// The requested resource could not be found. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - InternalServerException +// There was an internal failure in the AppConfig service. +// +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetConfigurationProfile func (c *AppConfig) GetConfigurationProfile(input *GetConfigurationProfileInput) (*GetConfigurationProfileOutput, error) { @@ -1235,14 +1235,13 @@ const opGetDeployment = "GetDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeploymentRequest method. +// req, resp := client.GetDeploymentRequest(params) // -// // Example sending a request using the GetDeploymentRequest method. -// req, resp := client.GetDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment func (c *AppConfig) GetDeploymentRequest(input *GetDeploymentInput) (req *request.Request, output *GetDeploymentOutput) { @@ -1273,15 +1272,16 @@ func (c *AppConfig) GetDeploymentRequest(input *GetDeploymentInput) (req *reques // API operation GetDeployment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - ResourceNotFoundException +// The requested resource could not be found. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - InternalServerException +// There was an internal failure in the AppConfig service. +// +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeployment func (c *AppConfig) GetDeployment(input *GetDeploymentInput) (*GetDeploymentOutput, error) { @@ -1321,14 +1321,13 @@ const opGetDeploymentStrategy = "GetDeploymentStrategy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeploymentStrategyRequest method. +// req, resp := client.GetDeploymentStrategyRequest(params) // -// // Example sending a request using the GetDeploymentStrategyRequest method. -// req, resp := client.GetDeploymentStrategyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy func (c *AppConfig) GetDeploymentStrategyRequest(input *GetDeploymentStrategyInput) (req *request.Request, output *GetDeploymentStrategyOutput) { @@ -1363,15 +1362,16 @@ func (c *AppConfig) GetDeploymentStrategyRequest(input *GetDeploymentStrategyInp // API operation GetDeploymentStrategy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - InternalServerException +// There was an internal failure in the AppConfig service. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetDeploymentStrategy func (c *AppConfig) GetDeploymentStrategy(input *GetDeploymentStrategyInput) (*GetDeploymentStrategyOutput, error) { @@ -1411,14 +1411,13 @@ const opGetEnvironment = "GetEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEnvironmentRequest method. +// req, resp := client.GetEnvironmentRequest(params) // -// // Example sending a request using the GetEnvironmentRequest method. -// req, resp := client.GetEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment func (c *AppConfig) GetEnvironmentRequest(input *GetEnvironmentInput) (req *request.Request, output *GetEnvironmentOutput) { @@ -1453,15 +1452,16 @@ func (c *AppConfig) GetEnvironmentRequest(input *GetEnvironmentInput) (req *requ // API operation GetEnvironment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - InternalServerException +// There was an internal failure in the AppConfig service. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetEnvironment func (c *AppConfig) GetEnvironment(input *GetEnvironmentInput) (*GetEnvironmentOutput, error) { @@ -1501,14 +1501,13 @@ const opGetHostedConfigurationVersion = "GetHostedConfigurationVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetHostedConfigurationVersionRequest method. +// req, resp := client.GetHostedConfigurationVersionRequest(params) // -// // Example sending a request using the GetHostedConfigurationVersionRequest method. -// req, resp := client.GetHostedConfigurationVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion func (c *AppConfig) GetHostedConfigurationVersionRequest(input *GetHostedConfigurationVersionInput) (req *request.Request, output *GetHostedConfigurationVersionOutput) { @@ -1539,15 +1538,16 @@ func (c *AppConfig) GetHostedConfigurationVersionRequest(input *GetHostedConfigu // API operation GetHostedConfigurationVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - ResourceNotFoundException +// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - InternalServerException +// There was an internal failure in the AppConfig service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/GetHostedConfigurationVersion func (c *AppConfig) GetHostedConfigurationVersion(input *GetHostedConfigurationVersionInput) (*GetHostedConfigurationVersionOutput, error) { @@ -1587,14 +1587,13 @@ const opListApplications = "ListApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationsRequest method. +// req, resp := client.ListApplicationsRequest(params) // -// // Example sending a request using the ListApplicationsRequest method. -// req, resp := client.ListApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications func (c *AppConfig) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput) { @@ -1631,12 +1630,13 @@ func (c *AppConfig) ListApplicationsRequest(input *ListApplicationsInput) (req * // API operation ListApplications for usage and error information. // // Returned Error Types: -// * InternalServerException -// There was an internal failure in the AppConfig service. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - InternalServerException +// There was an internal failure in the AppConfig service. +// +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListApplications func (c *AppConfig) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error) { @@ -1668,15 +1668,14 @@ func (c *AppConfig) ListApplicationsWithContext(ctx aws.Context, input *ListAppl // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplications operation. -// pageNum := 0 -// err := client.ListApplicationsPages(params, -// func(page *appconfig.ListApplicationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplications operation. +// pageNum := 0 +// err := client.ListApplicationsPages(params, +// func(page *appconfig.ListApplicationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppConfig) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error { return c.ListApplicationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1728,14 +1727,13 @@ const opListConfigurationProfiles = "ListConfigurationProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConfigurationProfilesRequest method. +// req, resp := client.ListConfigurationProfilesRequest(params) // -// // Example sending a request using the ListConfigurationProfilesRequest method. -// req, resp := client.ListConfigurationProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles func (c *AppConfig) ListConfigurationProfilesRequest(input *ListConfigurationProfilesInput) (req *request.Request, output *ListConfigurationProfilesOutput) { @@ -1772,15 +1770,16 @@ func (c *AppConfig) ListConfigurationProfilesRequest(input *ListConfigurationPro // API operation ListConfigurationProfiles for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - InternalServerException +// There was an internal failure in the AppConfig service. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListConfigurationProfiles func (c *AppConfig) ListConfigurationProfiles(input *ListConfigurationProfilesInput) (*ListConfigurationProfilesOutput, error) { @@ -1812,15 +1811,14 @@ func (c *AppConfig) ListConfigurationProfilesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListConfigurationProfiles operation. -// pageNum := 0 -// err := client.ListConfigurationProfilesPages(params, -// func(page *appconfig.ListConfigurationProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListConfigurationProfiles operation. +// pageNum := 0 +// err := client.ListConfigurationProfilesPages(params, +// func(page *appconfig.ListConfigurationProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppConfig) ListConfigurationProfilesPages(input *ListConfigurationProfilesInput, fn func(*ListConfigurationProfilesOutput, bool) bool) error { return c.ListConfigurationProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1872,14 +1870,13 @@ const opListDeploymentStrategies = "ListDeploymentStrategies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeploymentStrategiesRequest method. +// req, resp := client.ListDeploymentStrategiesRequest(params) // -// // Example sending a request using the ListDeploymentStrategiesRequest method. -// req, resp := client.ListDeploymentStrategiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies func (c *AppConfig) ListDeploymentStrategiesRequest(input *ListDeploymentStrategiesInput) (req *request.Request, output *ListDeploymentStrategiesOutput) { @@ -1916,12 +1913,13 @@ func (c *AppConfig) ListDeploymentStrategiesRequest(input *ListDeploymentStrateg // API operation ListDeploymentStrategies for usage and error information. // // Returned Error Types: -// * InternalServerException -// There was an internal failure in the AppConfig service. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - InternalServerException +// There was an internal failure in the AppConfig service. +// +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeploymentStrategies func (c *AppConfig) ListDeploymentStrategies(input *ListDeploymentStrategiesInput) (*ListDeploymentStrategiesOutput, error) { @@ -1953,15 +1951,14 @@ func (c *AppConfig) ListDeploymentStrategiesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDeploymentStrategies operation. -// pageNum := 0 -// err := client.ListDeploymentStrategiesPages(params, -// func(page *appconfig.ListDeploymentStrategiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDeploymentStrategies operation. +// pageNum := 0 +// err := client.ListDeploymentStrategiesPages(params, +// func(page *appconfig.ListDeploymentStrategiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppConfig) ListDeploymentStrategiesPages(input *ListDeploymentStrategiesInput, fn func(*ListDeploymentStrategiesOutput, bool) bool) error { return c.ListDeploymentStrategiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2013,14 +2010,13 @@ const opListDeployments = "ListDeployments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeploymentsRequest method. +// req, resp := client.ListDeploymentsRequest(params) // -// // Example sending a request using the ListDeploymentsRequest method. -// req, resp := client.ListDeploymentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments func (c *AppConfig) ListDeploymentsRequest(input *ListDeploymentsInput) (req *request.Request, output *ListDeploymentsOutput) { @@ -2058,15 +2054,16 @@ func (c *AppConfig) ListDeploymentsRequest(input *ListDeploymentsInput) (req *re // API operation ListDeployments for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - InternalServerException +// There was an internal failure in the AppConfig service. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListDeployments func (c *AppConfig) ListDeployments(input *ListDeploymentsInput) (*ListDeploymentsOutput, error) { @@ -2098,15 +2095,14 @@ func (c *AppConfig) ListDeploymentsWithContext(ctx aws.Context, input *ListDeplo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDeployments operation. -// pageNum := 0 -// err := client.ListDeploymentsPages(params, -// func(page *appconfig.ListDeploymentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDeployments operation. +// pageNum := 0 +// err := client.ListDeploymentsPages(params, +// func(page *appconfig.ListDeploymentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppConfig) ListDeploymentsPages(input *ListDeploymentsInput, fn func(*ListDeploymentsOutput, bool) bool) error { return c.ListDeploymentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2158,14 +2154,13 @@ const opListEnvironments = "ListEnvironments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEnvironmentsRequest method. +// req, resp := client.ListEnvironmentsRequest(params) // -// // Example sending a request using the ListEnvironmentsRequest method. -// req, resp := client.ListEnvironmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments func (c *AppConfig) ListEnvironmentsRequest(input *ListEnvironmentsInput) (req *request.Request, output *ListEnvironmentsOutput) { @@ -2202,15 +2197,16 @@ func (c *AppConfig) ListEnvironmentsRequest(input *ListEnvironmentsInput) (req * // API operation ListEnvironments for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - InternalServerException +// There was an internal failure in the AppConfig service. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListEnvironments func (c *AppConfig) ListEnvironments(input *ListEnvironmentsInput) (*ListEnvironmentsOutput, error) { @@ -2242,15 +2238,14 @@ func (c *AppConfig) ListEnvironmentsWithContext(ctx aws.Context, input *ListEnvi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEnvironments operation. -// pageNum := 0 -// err := client.ListEnvironmentsPages(params, -// func(page *appconfig.ListEnvironmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEnvironments operation. +// pageNum := 0 +// err := client.ListEnvironmentsPages(params, +// func(page *appconfig.ListEnvironmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppConfig) ListEnvironmentsPages(input *ListEnvironmentsInput, fn func(*ListEnvironmentsOutput, bool) bool) error { return c.ListEnvironmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2302,14 +2297,13 @@ const opListHostedConfigurationVersions = "ListHostedConfigurationVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHostedConfigurationVersionsRequest method. +// req, resp := client.ListHostedConfigurationVersionsRequest(params) // -// // Example sending a request using the ListHostedConfigurationVersionsRequest method. -// req, resp := client.ListHostedConfigurationVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions func (c *AppConfig) ListHostedConfigurationVersionsRequest(input *ListHostedConfigurationVersionsInput) (req *request.Request, output *ListHostedConfigurationVersionsOutput) { @@ -2347,15 +2341,16 @@ func (c *AppConfig) ListHostedConfigurationVersionsRequest(input *ListHostedConf // API operation ListHostedConfigurationVersions for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - InternalServerException +// There was an internal failure in the AppConfig service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListHostedConfigurationVersions func (c *AppConfig) ListHostedConfigurationVersions(input *ListHostedConfigurationVersionsInput) (*ListHostedConfigurationVersionsOutput, error) { @@ -2387,15 +2382,14 @@ func (c *AppConfig) ListHostedConfigurationVersionsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListHostedConfigurationVersions operation. -// pageNum := 0 -// err := client.ListHostedConfigurationVersionsPages(params, -// func(page *appconfig.ListHostedConfigurationVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListHostedConfigurationVersions operation. +// pageNum := 0 +// err := client.ListHostedConfigurationVersionsPages(params, +// func(page *appconfig.ListHostedConfigurationVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppConfig) ListHostedConfigurationVersionsPages(input *ListHostedConfigurationVersionsInput, fn func(*ListHostedConfigurationVersionsOutput, bool) bool) error { return c.ListHostedConfigurationVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2447,14 +2441,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource func (c *AppConfig) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2485,15 +2478,16 @@ func (c *AppConfig) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - InternalServerException +// There was an internal failure in the AppConfig service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ListTagsForResource func (c *AppConfig) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2533,14 +2527,13 @@ const opStartDeployment = "StartDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDeploymentRequest method. +// req, resp := client.StartDeploymentRequest(params) // -// // Example sending a request using the StartDeploymentRequest method. -// req, resp := client.StartDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment func (c *AppConfig) StartDeploymentRequest(input *StartDeploymentInput) (req *request.Request, output *StartDeploymentOutput) { @@ -2571,19 +2564,20 @@ func (c *AppConfig) StartDeploymentRequest(input *StartDeploymentInput) (req *re // API operation StartDeployment for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - ResourceNotFoundException +// The requested resource could not be found. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - InternalServerException +// There was an internal failure in the AppConfig service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StartDeployment func (c *AppConfig) StartDeployment(input *StartDeploymentInput) (*StartDeploymentOutput, error) { @@ -2623,14 +2617,13 @@ const opStopDeployment = "StopDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopDeploymentRequest method. +// req, resp := client.StopDeploymentRequest(params) // -// // Example sending a request using the StopDeploymentRequest method. -// req, resp := client.StopDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment func (c *AppConfig) StopDeploymentRequest(input *StopDeploymentInput) (req *request.Request, output *StopDeploymentOutput) { @@ -2662,15 +2655,16 @@ func (c *AppConfig) StopDeploymentRequest(input *StopDeploymentInput) (req *requ // API operation StopDeployment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - ResourceNotFoundException +// The requested resource could not be found. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - InternalServerException +// There was an internal failure in the AppConfig service. +// +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/StopDeployment func (c *AppConfig) StopDeployment(input *StopDeploymentInput) (*StopDeploymentOutput, error) { @@ -2710,14 +2704,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource func (c *AppConfig) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2751,15 +2744,16 @@ func (c *AppConfig) TagResourceRequest(input *TagResourceInput) (req *request.Re // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ResourceNotFoundException +// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - InternalServerException +// There was an internal failure in the AppConfig service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/TagResource func (c *AppConfig) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2799,14 +2793,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource func (c *AppConfig) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2838,15 +2831,16 @@ func (c *AppConfig) UntagResourceRequest(input *UntagResourceInput) (req *reques // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ResourceNotFoundException +// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - InternalServerException +// There was an internal failure in the AppConfig service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UntagResource func (c *AppConfig) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2886,14 +2880,13 @@ const opUpdateApplication = "UpdateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationRequest method. +// req, resp := client.UpdateApplicationRequest(params) // -// // Example sending a request using the UpdateApplicationRequest method. -// req, resp := client.UpdateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication func (c *AppConfig) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) { @@ -2924,15 +2917,16 @@ func (c *AppConfig) UpdateApplicationRequest(input *UpdateApplicationInput) (req // API operation UpdateApplication for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - InternalServerException +// There was an internal failure in the AppConfig service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication func (c *AppConfig) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) { @@ -2972,14 +2966,13 @@ const opUpdateConfigurationProfile = "UpdateConfigurationProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConfigurationProfileRequest method. +// req, resp := client.UpdateConfigurationProfileRequest(params) // -// // Example sending a request using the UpdateConfigurationProfileRequest method. -// req, resp := client.UpdateConfigurationProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile func (c *AppConfig) UpdateConfigurationProfileRequest(input *UpdateConfigurationProfileInput) (req *request.Request, output *UpdateConfigurationProfileOutput) { @@ -3010,15 +3003,16 @@ func (c *AppConfig) UpdateConfigurationProfileRequest(input *UpdateConfiguration // API operation UpdateConfigurationProfile for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - ResourceNotFoundException +// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - InternalServerException +// There was an internal failure in the AppConfig service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateConfigurationProfile func (c *AppConfig) UpdateConfigurationProfile(input *UpdateConfigurationProfileInput) (*UpdateConfigurationProfileOutput, error) { @@ -3058,14 +3052,13 @@ const opUpdateDeploymentStrategy = "UpdateDeploymentStrategy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDeploymentStrategyRequest method. +// req, resp := client.UpdateDeploymentStrategyRequest(params) // -// // Example sending a request using the UpdateDeploymentStrategyRequest method. -// req, resp := client.UpdateDeploymentStrategyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy func (c *AppConfig) UpdateDeploymentStrategyRequest(input *UpdateDeploymentStrategyInput) (req *request.Request, output *UpdateDeploymentStrategyOutput) { @@ -3096,15 +3089,16 @@ func (c *AppConfig) UpdateDeploymentStrategyRequest(input *UpdateDeploymentStrat // API operation UpdateDeploymentStrategy for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - ResourceNotFoundException +// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - InternalServerException +// There was an internal failure in the AppConfig service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateDeploymentStrategy func (c *AppConfig) UpdateDeploymentStrategy(input *UpdateDeploymentStrategyInput) (*UpdateDeploymentStrategyOutput, error) { @@ -3144,14 +3138,13 @@ const opUpdateEnvironment = "UpdateEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEnvironmentRequest method. +// req, resp := client.UpdateEnvironmentRequest(params) // -// // Example sending a request using the UpdateEnvironmentRequest method. -// req, resp := client.UpdateEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment func (c *AppConfig) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *request.Request, output *UpdateEnvironmentOutput) { @@ -3182,15 +3175,16 @@ func (c *AppConfig) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req // API operation UpdateEnvironment for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - ResourceNotFoundException +// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - InternalServerException +// There was an internal failure in the AppConfig service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateEnvironment func (c *AppConfig) UpdateEnvironment(input *UpdateEnvironmentInput) (*UpdateEnvironmentOutput, error) { @@ -3230,14 +3224,13 @@ const opValidateConfiguration = "ValidateConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ValidateConfigurationRequest method. +// req, resp := client.ValidateConfigurationRequest(params) // -// // Example sending a request using the ValidateConfigurationRequest method. -// req, resp := client.ValidateConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration func (c *AppConfig) ValidateConfigurationRequest(input *ValidateConfigurationInput) (req *request.Request, output *ValidateConfigurationOutput) { @@ -3269,15 +3262,16 @@ func (c *AppConfig) ValidateConfigurationRequest(input *ValidateConfigurationInp // API operation ValidateConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - BadRequestException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - ResourceNotFoundException +// The requested resource could not be found. // -// * InternalServerException -// There was an internal failure in the AppConfig service. +// - InternalServerException +// There was an internal failure in the AppConfig service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/ValidateConfiguration func (c *AppConfig) ValidateConfiguration(input *ValidateConfigurationInput) (*ValidateConfigurationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/appconfigiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/appconfigiface/interface.go index 74c64fc7c094..38e41df2cbfb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/appconfigiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/appconfigiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon AppConfig. -// func myFunc(svc appconfigiface.AppConfigAPI) bool { -// // Make svc.CreateApplication request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon AppConfig. +// func myFunc(svc appconfigiface.AppConfigAPI) bool { +// // Make svc.CreateApplication request +// } // -// func main() { -// sess := session.New() -// svc := appconfig.New(sess) +// func main() { +// sess := session.New() +// svc := appconfig.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAppConfigClient struct { -// appconfigiface.AppConfigAPI -// } -// func (m *mockAppConfigClient) CreateApplication(input *appconfig.CreateApplicationInput) (*appconfig.CreateApplicationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAppConfigClient struct { +// appconfigiface.AppConfigAPI +// } +// func (m *mockAppConfigClient) CreateApplication(input *appconfig.CreateApplicationInput) (*appconfig.CreateApplicationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAppConfigClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAppConfigClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/doc.go index de87fc9ed198..0f2755e7bc66 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/doc.go @@ -29,17 +29,17 @@ // // AppConfig supports multiple use cases. Here are some examples: // -// * Feature flags: Use AppConfig to turn on new features that require a -// timely deployment, such as a product launch or announcement. +// - Feature flags: Use AppConfig to turn on new features that require a +// timely deployment, such as a product launch or announcement. // -// * Application tuning: Use AppConfig to carefully introduce changes to -// your application that can only be tested with production traffic. +// - Application tuning: Use AppConfig to carefully introduce changes to +// your application that can only be tested with production traffic. // -// * Allow list: Use AppConfig to allow premium subscribers to access paid -// content. +// - Allow list: Use AppConfig to allow premium subscribers to access paid +// content. // -// * Operational issues: Use AppConfig to reduce stress on your application -// when a dependency or other external factor impacts the system. +// - Operational issues: Use AppConfig to reduce stress on your application +// when a dependency or other external factor impacts the system. // // This reference is intended to be used with the AppConfig User Guide (http://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html). // @@ -48,7 +48,7 @@ // See appconfig package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/appconfig/ // -// Using the Client +// # Using the Client // // To contact Amazon AppConfig with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/service.go index c3faff4ad97d..a31fcf2028ba 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfig/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AppConfig client from just a session. -// svc := appconfig.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AppConfig client with additional configuration -// svc := appconfig.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AppConfig client from just a session. +// svc := appconfig.New(mySession) +// +// // Create a AppConfig client with additional configuration +// svc := appconfig.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AppConfig { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/api.go index ac1c87dd1302..2f0d44cdffec 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/api.go @@ -27,14 +27,13 @@ const opGetLatestConfiguration = "GetLatestConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLatestConfigurationRequest method. +// req, resp := client.GetLatestConfigurationRequest(params) // -// // Example sending a request using the GetLatestConfigurationRequest method. -// req, resp := client.GetLatestConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration func (c *AppConfigData) GetLatestConfigurationRequest(input *GetLatestConfigurationInput) (req *request.Request, output *GetLatestConfigurationOutput) { @@ -64,13 +63,13 @@ func (c *AppConfigData) GetLatestConfigurationRequest(input *GetLatestConfigurat // // Note the following important information. // -// * Each configuration token is only valid for one call to GetLatestConfiguration. -// The GetLatestConfiguration response includes a NextPollConfigurationToken -// that should always replace the token used for the just-completed call -// in preparation for the next one. +// - Each configuration token is only valid for one call to GetLatestConfiguration. +// The GetLatestConfiguration response includes a NextPollConfigurationToken +// that should always replace the token used for the just-completed call +// in preparation for the next one. // -// * GetLatestConfiguration is a priced call. For more information, see Pricing -// (https://aws.amazon.com/systems-manager/pricing/). +// - GetLatestConfiguration is a priced call. For more information, see Pricing +// (https://aws.amazon.com/systems-manager/pricing/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -80,17 +79,18 @@ func (c *AppConfigData) GetLatestConfigurationRequest(input *GetLatestConfigurat // API operation GetLatestConfiguration for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// The requested resource could not be found. // -// * BadRequestException -// The input fails to satisfy the constraints specified by the service. +// - BadRequestException +// The input fails to satisfy the constraints specified by the service. // -// * InternalServerException -// There was an internal failure in the service. +// - InternalServerException +// There was an internal failure in the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/GetLatestConfiguration func (c *AppConfigData) GetLatestConfiguration(input *GetLatestConfigurationInput) (*GetLatestConfigurationOutput, error) { @@ -130,14 +130,13 @@ const opStartConfigurationSession = "StartConfigurationSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartConfigurationSessionRequest method. +// req, resp := client.StartConfigurationSessionRequest(params) // -// // Example sending a request using the StartConfigurationSessionRequest method. -// req, resp := client.StartConfigurationSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSession func (c *AppConfigData) StartConfigurationSessionRequest(input *StartConfigurationSessionInput) (req *request.Request, output *StartConfigurationSessionOutput) { @@ -172,17 +171,18 @@ func (c *AppConfigData) StartConfigurationSessionRequest(input *StartConfigurati // API operation StartConfigurationSession for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// The requested resource could not be found. // -// * BadRequestException -// The input fails to satisfy the constraints specified by the service. +// - BadRequestException +// The input fails to satisfy the constraints specified by the service. // -// * InternalServerException -// There was an internal failure in the service. +// - InternalServerException +// There was an internal failure in the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appconfigdata-2021-11-11/StartConfigurationSession func (c *AppConfigData) StartConfigurationSession(input *StartConfigurationSessionInput) (*StartConfigurationSessionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/appconfigdataiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/appconfigdataiface/interface.go index 1cafa53427b3..4f73b24ad89f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/appconfigdataiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/appconfigdataiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS AppConfig Data. -// func myFunc(svc appconfigdataiface.AppConfigDataAPI) bool { -// // Make svc.GetLatestConfiguration request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS AppConfig Data. +// func myFunc(svc appconfigdataiface.AppConfigDataAPI) bool { +// // Make svc.GetLatestConfiguration request +// } // -// func main() { -// sess := session.New() -// svc := appconfigdata.New(sess) +// func main() { +// sess := session.New() +// svc := appconfigdata.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAppConfigDataClient struct { -// appconfigdataiface.AppConfigDataAPI -// } -// func (m *mockAppConfigDataClient) GetLatestConfiguration(input *appconfigdata.GetLatestConfigurationInput) (*appconfigdata.GetLatestConfigurationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAppConfigDataClient struct { +// appconfigdataiface.AppConfigDataAPI +// } +// func (m *mockAppConfigDataClient) GetLatestConfiguration(input *appconfigdata.GetLatestConfigurationInput) (*appconfigdata.GetLatestConfigurationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAppConfigDataClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAppConfigDataClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/doc.go index 36061e44027e..c127c55bbfbb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/doc.go @@ -13,11 +13,11 @@ // // When calling StartConfigurationSession, your code sends the following information: // -// * Identifiers (ID or name) of an AppConfig application, environment, and -// configuration profile that the session tracks. +// - Identifiers (ID or name) of an AppConfig application, environment, and +// configuration profile that the session tracks. // -// * (Optional) The minimum amount of time the session's client must wait -// between calls to GetLatestConfiguration. +// - (Optional) The minimum amount of time the session's client must wait +// between calls to GetLatestConfiguration. // // In response, AppConfig provides an InitialConfigurationToken to be given // to the session's client and used the first time it calls GetLatestConfiguration @@ -26,16 +26,16 @@ // When calling GetLatestConfiguration, your client code sends the most recent // ConfigurationToken value it has and receives in response: // -// * NextPollConfigurationToken: the ConfigurationToken value to use on the -// next call to GetLatestConfiguration. +// - NextPollConfigurationToken: the ConfigurationToken value to use on the +// next call to GetLatestConfiguration. // -// * NextPollIntervalInSeconds: the duration the client should wait before -// making its next call to GetLatestConfiguration. This duration may vary -// over the course of the session, so it should be used instead of the value -// sent on the StartConfigurationSession call. +// - NextPollIntervalInSeconds: the duration the client should wait before +// making its next call to GetLatestConfiguration. This duration may vary +// over the course of the session, so it should be used instead of the value +// sent on the StartConfigurationSession call. // -// * The configuration: the latest data intended for the session. This may -// be empty if the client already has the latest version of the configuration. +// - The configuration: the latest data intended for the session. This may +// be empty if the client already has the latest version of the configuration. // // For more information and to view example CLI commands that show how to retrieve // a configuration using the AppConfig Data StartConfigurationSession and GetLatestConfiguration @@ -47,7 +47,7 @@ // See appconfigdata package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/appconfigdata/ // -// Using the Client +// # Using the Client // // To contact AWS AppConfig Data with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/service.go index 2a2684aa3135..5e0c89459f8c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appconfigdata/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AppConfigData client from just a session. -// svc := appconfigdata.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AppConfigData client with additional configuration -// svc := appconfigdata.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AppConfigData client from just a session. +// svc := appconfigdata.New(mySession) +// +// // Create a AppConfigData client with additional configuration +// svc := appconfigdata.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AppConfigData { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/api.go index a80f1fdac533..b1741e5884a8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/api.go @@ -29,14 +29,13 @@ const opCreateConnectorProfile = "CreateConnectorProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConnectorProfileRequest method. +// req, resp := client.CreateConnectorProfileRequest(params) // -// // Example sending a request using the CreateConnectorProfileRequest method. -// req, resp := client.CreateConnectorProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/CreateConnectorProfile func (c *Appflow) CreateConnectorProfileRequest(input *CreateConnectorProfileInput) (req *request.Request, output *CreateConnectorProfileOutput) { @@ -72,24 +71,25 @@ func (c *Appflow) CreateConnectorProfileRequest(input *CreateConnectorProfileInp // API operation CreateConnectorProfile for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * ConflictException -// There was a conflict when processing the request (for example, a flow with -// the given name already exists within the account. Check for conflicting resource -// names and try again. +// - ValidationException +// The request has invalid or missing parameters. +// +// - ConflictException +// There was a conflict when processing the request (for example, a flow with +// the given name already exists within the account. Check for conflicting resource +// names and try again. // -// * ServiceQuotaExceededException -// The request would cause a service quota (such as the number of flows) to -// be exceeded. +// - ServiceQuotaExceededException +// The request would cause a service quota (such as the number of flows) to +// be exceeded. // -// * ConnectorAuthenticationException -// An error occurred when authenticating with the connector endpoint. +// - ConnectorAuthenticationException +// An error occurred when authenticating with the connector endpoint. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/CreateConnectorProfile func (c *Appflow) CreateConnectorProfile(input *CreateConnectorProfileInput) (*CreateConnectorProfileOutput, error) { @@ -129,14 +129,13 @@ const opCreateFlow = "CreateFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFlowRequest method. +// req, resp := client.CreateFlowRequest(params) // -// // Example sending a request using the CreateFlowRequest method. -// req, resp := client.CreateFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/CreateFlow func (c *Appflow) CreateFlowRequest(input *CreateFlowInput) (req *request.Request, output *CreateFlowOutput) { @@ -171,31 +170,32 @@ func (c *Appflow) CreateFlowRequest(input *CreateFlowInput) (req *request.Reques // API operation CreateFlow for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. // -// * ServiceQuotaExceededException -// The request would cause a service quota (such as the number of flows) to -// be exceeded. +// - ServiceQuotaExceededException +// The request would cause a service quota (such as the number of flows) to +// be exceeded. // -// * ConflictException -// There was a conflict when processing the request (for example, a flow with -// the given name already exists within the account. Check for conflicting resource -// names and try again. +// - ConflictException +// There was a conflict when processing the request (for example, a flow with +// the given name already exists within the account. Check for conflicting resource +// names and try again. // -// * ConnectorAuthenticationException -// An error occurred when authenticating with the connector endpoint. +// - ConnectorAuthenticationException +// An error occurred when authenticating with the connector endpoint. // -// * ConnectorServerException -// An error occurred when retrieving data from the connector endpoint. +// - ConnectorServerException +// An error occurred when retrieving data from the connector endpoint. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/CreateFlow func (c *Appflow) CreateFlow(input *CreateFlowInput) (*CreateFlowOutput, error) { @@ -235,14 +235,13 @@ const opDeleteConnectorProfile = "DeleteConnectorProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConnectorProfileRequest method. +// req, resp := client.DeleteConnectorProfileRequest(params) // -// // Example sending a request using the DeleteConnectorProfileRequest method. -// req, resp := client.DeleteConnectorProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DeleteConnectorProfile func (c *Appflow) DeleteConnectorProfileRequest(input *DeleteConnectorProfileInput) (req *request.Request, output *DeleteConnectorProfileOutput) { @@ -274,18 +273,19 @@ func (c *Appflow) DeleteConnectorProfileRequest(input *DeleteConnectorProfileInp // API operation DeleteConnectorProfile for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. // -// * ConflictException -// There was a conflict when processing the request (for example, a flow with -// the given name already exists within the account. Check for conflicting resource -// names and try again. +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. +// +// - ConflictException +// There was a conflict when processing the request (for example, a flow with +// the given name already exists within the account. Check for conflicting resource +// names and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DeleteConnectorProfile func (c *Appflow) DeleteConnectorProfile(input *DeleteConnectorProfileInput) (*DeleteConnectorProfileOutput, error) { @@ -325,14 +325,13 @@ const opDeleteFlow = "DeleteFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFlowRequest method. +// req, resp := client.DeleteFlowRequest(params) // -// // Example sending a request using the DeleteFlowRequest method. -// req, resp := client.DeleteFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DeleteFlow func (c *Appflow) DeleteFlowRequest(input *DeleteFlowInput) (req *request.Request, output *DeleteFlowOutput) { @@ -366,18 +365,19 @@ func (c *Appflow) DeleteFlowRequest(input *DeleteFlowInput) (req *request.Reques // API operation DeleteFlow for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. // -// * ConflictException -// There was a conflict when processing the request (for example, a flow with -// the given name already exists within the account. Check for conflicting resource -// names and try again. +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ConflictException +// There was a conflict when processing the request (for example, a flow with +// the given name already exists within the account. Check for conflicting resource +// names and try again. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DeleteFlow func (c *Appflow) DeleteFlow(input *DeleteFlowInput) (*DeleteFlowOutput, error) { @@ -417,14 +417,13 @@ const opDescribeConnector = "DescribeConnector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConnectorRequest method. +// req, resp := client.DescribeConnectorRequest(params) // -// // Example sending a request using the DescribeConnectorRequest method. -// req, resp := client.DescribeConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeConnector func (c *Appflow) DescribeConnectorRequest(input *DescribeConnectorInput) (req *request.Request, output *DescribeConnectorOutput) { @@ -457,16 +456,17 @@ func (c *Appflow) DescribeConnectorRequest(input *DescribeConnectorInput) (req * // API operation DescribeConnector for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeConnector func (c *Appflow) DescribeConnector(input *DescribeConnectorInput) (*DescribeConnectorOutput, error) { @@ -506,14 +506,13 @@ const opDescribeConnectorEntity = "DescribeConnectorEntity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConnectorEntityRequest method. +// req, resp := client.DescribeConnectorEntityRequest(params) // -// // Example sending a request using the DescribeConnectorEntityRequest method. -// req, resp := client.DescribeConnectorEntityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeConnectorEntity func (c *Appflow) DescribeConnectorEntityRequest(input *DescribeConnectorEntityInput) (req *request.Request, output *DescribeConnectorEntityOutput) { @@ -545,22 +544,23 @@ func (c *Appflow) DescribeConnectorEntityRequest(input *DescribeConnectorEntityI // API operation DescribeConnectorEntity for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. +// - ValidationException +// The request has invalid or missing parameters. +// +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. // -// * ConnectorAuthenticationException -// An error occurred when authenticating with the connector endpoint. +// - ConnectorAuthenticationException +// An error occurred when authenticating with the connector endpoint. // -// * ConnectorServerException -// An error occurred when retrieving data from the connector endpoint. +// - ConnectorServerException +// An error occurred when retrieving data from the connector endpoint. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeConnectorEntity func (c *Appflow) DescribeConnectorEntity(input *DescribeConnectorEntityInput) (*DescribeConnectorEntityOutput, error) { @@ -600,14 +600,13 @@ const opDescribeConnectorProfiles = "DescribeConnectorProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConnectorProfilesRequest method. +// req, resp := client.DescribeConnectorProfilesRequest(params) // -// // Example sending a request using the DescribeConnectorProfilesRequest method. -// req, resp := client.DescribeConnectorProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeConnectorProfiles func (c *Appflow) DescribeConnectorProfilesRequest(input *DescribeConnectorProfilesInput) (req *request.Request, output *DescribeConnectorProfilesOutput) { @@ -650,12 +649,13 @@ func (c *Appflow) DescribeConnectorProfilesRequest(input *DescribeConnectorProfi // API operation DescribeConnectorProfiles for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeConnectorProfiles func (c *Appflow) DescribeConnectorProfiles(input *DescribeConnectorProfilesInput) (*DescribeConnectorProfilesOutput, error) { @@ -687,15 +687,14 @@ func (c *Appflow) DescribeConnectorProfilesWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeConnectorProfiles operation. -// pageNum := 0 -// err := client.DescribeConnectorProfilesPages(params, -// func(page *appflow.DescribeConnectorProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeConnectorProfiles operation. +// pageNum := 0 +// err := client.DescribeConnectorProfilesPages(params, +// func(page *appflow.DescribeConnectorProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Appflow) DescribeConnectorProfilesPages(input *DescribeConnectorProfilesInput, fn func(*DescribeConnectorProfilesOutput, bool) bool) error { return c.DescribeConnectorProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -747,14 +746,13 @@ const opDescribeConnectors = "DescribeConnectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConnectorsRequest method. +// req, resp := client.DescribeConnectorsRequest(params) // -// // Example sending a request using the DescribeConnectorsRequest method. -// req, resp := client.DescribeConnectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeConnectors func (c *Appflow) DescribeConnectorsRequest(input *DescribeConnectorsInput) (req *request.Request, output *DescribeConnectorsOutput) { @@ -796,12 +794,13 @@ func (c *Appflow) DescribeConnectorsRequest(input *DescribeConnectorsInput) (req // API operation DescribeConnectors for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeConnectors func (c *Appflow) DescribeConnectors(input *DescribeConnectorsInput) (*DescribeConnectorsOutput, error) { @@ -833,15 +832,14 @@ func (c *Appflow) DescribeConnectorsWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeConnectors operation. -// pageNum := 0 -// err := client.DescribeConnectorsPages(params, -// func(page *appflow.DescribeConnectorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeConnectors operation. +// pageNum := 0 +// err := client.DescribeConnectorsPages(params, +// func(page *appflow.DescribeConnectorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Appflow) DescribeConnectorsPages(input *DescribeConnectorsInput, fn func(*DescribeConnectorsOutput, bool) bool) error { return c.DescribeConnectorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -893,14 +891,13 @@ const opDescribeFlow = "DescribeFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFlowRequest method. +// req, resp := client.DescribeFlowRequest(params) // -// // Example sending a request using the DescribeFlowRequest method. -// req, resp := client.DescribeFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeFlow func (c *Appflow) DescribeFlowRequest(input *DescribeFlowInput) (req *request.Request, output *DescribeFlowOutput) { @@ -931,13 +928,14 @@ func (c *Appflow) DescribeFlowRequest(input *DescribeFlowInput) (req *request.Re // API operation DescribeFlow for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeFlow func (c *Appflow) DescribeFlow(input *DescribeFlowInput) (*DescribeFlowOutput, error) { @@ -977,14 +975,13 @@ const opDescribeFlowExecutionRecords = "DescribeFlowExecutionRecords" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFlowExecutionRecordsRequest method. +// req, resp := client.DescribeFlowExecutionRecordsRequest(params) // -// // Example sending a request using the DescribeFlowExecutionRecordsRequest method. -// req, resp := client.DescribeFlowExecutionRecordsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeFlowExecutionRecords func (c *Appflow) DescribeFlowExecutionRecordsRequest(input *DescribeFlowExecutionRecordsInput) (req *request.Request, output *DescribeFlowExecutionRecordsOutput) { @@ -1021,16 +1018,17 @@ func (c *Appflow) DescribeFlowExecutionRecordsRequest(input *DescribeFlowExecuti // API operation DescribeFlowExecutionRecords for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. +// - ValidationException +// The request has invalid or missing parameters. +// +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeFlowExecutionRecords func (c *Appflow) DescribeFlowExecutionRecords(input *DescribeFlowExecutionRecordsInput) (*DescribeFlowExecutionRecordsOutput, error) { @@ -1062,15 +1060,14 @@ func (c *Appflow) DescribeFlowExecutionRecordsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeFlowExecutionRecords operation. -// pageNum := 0 -// err := client.DescribeFlowExecutionRecordsPages(params, -// func(page *appflow.DescribeFlowExecutionRecordsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeFlowExecutionRecords operation. +// pageNum := 0 +// err := client.DescribeFlowExecutionRecordsPages(params, +// func(page *appflow.DescribeFlowExecutionRecordsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Appflow) DescribeFlowExecutionRecordsPages(input *DescribeFlowExecutionRecordsInput, fn func(*DescribeFlowExecutionRecordsOutput, bool) bool) error { return c.DescribeFlowExecutionRecordsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1122,14 +1119,13 @@ const opListConnectorEntities = "ListConnectorEntities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConnectorEntitiesRequest method. +// req, resp := client.ListConnectorEntitiesRequest(params) // -// // Example sending a request using the ListConnectorEntitiesRequest method. -// req, resp := client.ListConnectorEntitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ListConnectorEntities func (c *Appflow) ListConnectorEntitiesRequest(input *ListConnectorEntitiesInput) (req *request.Request, output *ListConnectorEntitiesOutput) { @@ -1162,22 +1158,23 @@ func (c *Appflow) ListConnectorEntitiesRequest(input *ListConnectorEntitiesInput // API operation ListConnectorEntities for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. +// - ValidationException +// The request has invalid or missing parameters. +// +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. // -// * ConnectorAuthenticationException -// An error occurred when authenticating with the connector endpoint. +// - ConnectorAuthenticationException +// An error occurred when authenticating with the connector endpoint. // -// * ConnectorServerException -// An error occurred when retrieving data from the connector endpoint. +// - ConnectorServerException +// An error occurred when retrieving data from the connector endpoint. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ListConnectorEntities func (c *Appflow) ListConnectorEntities(input *ListConnectorEntitiesInput) (*ListConnectorEntitiesOutput, error) { @@ -1217,14 +1214,13 @@ const opListConnectors = "ListConnectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConnectorsRequest method. +// req, resp := client.ListConnectorsRequest(params) // -// // Example sending a request using the ListConnectorsRequest method. -// req, resp := client.ListConnectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ListConnectors func (c *Appflow) ListConnectorsRequest(input *ListConnectorsInput) (req *request.Request, output *ListConnectorsOutput) { @@ -1263,12 +1259,13 @@ func (c *Appflow) ListConnectorsRequest(input *ListConnectorsInput) (req *reques // API operation ListConnectors for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ListConnectors func (c *Appflow) ListConnectors(input *ListConnectorsInput) (*ListConnectorsOutput, error) { @@ -1300,15 +1297,14 @@ func (c *Appflow) ListConnectorsWithContext(ctx aws.Context, input *ListConnecto // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListConnectors operation. -// pageNum := 0 -// err := client.ListConnectorsPages(params, -// func(page *appflow.ListConnectorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListConnectors operation. +// pageNum := 0 +// err := client.ListConnectorsPages(params, +// func(page *appflow.ListConnectorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Appflow) ListConnectorsPages(input *ListConnectorsInput, fn func(*ListConnectorsOutput, bool) bool) error { return c.ListConnectorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1360,14 +1356,13 @@ const opListFlows = "ListFlows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFlowsRequest method. +// req, resp := client.ListFlowsRequest(params) // -// // Example sending a request using the ListFlowsRequest method. -// req, resp := client.ListFlowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ListFlows func (c *Appflow) ListFlowsRequest(input *ListFlowsInput) (req *request.Request, output *ListFlowsOutput) { @@ -1404,12 +1399,13 @@ func (c *Appflow) ListFlowsRequest(input *ListFlowsInput) (req *request.Request, // API operation ListFlows for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ListFlows func (c *Appflow) ListFlows(input *ListFlowsInput) (*ListFlowsOutput, error) { @@ -1441,15 +1437,14 @@ func (c *Appflow) ListFlowsWithContext(ctx aws.Context, input *ListFlowsInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFlows operation. -// pageNum := 0 -// err := client.ListFlowsPages(params, -// func(page *appflow.ListFlowsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFlows operation. +// pageNum := 0 +// err := client.ListFlowsPages(params, +// func(page *appflow.ListFlowsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Appflow) ListFlowsPages(input *ListFlowsInput, fn func(*ListFlowsOutput, bool) bool) error { return c.ListFlowsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1501,14 +1496,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ListTagsForResource func (c *Appflow) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1539,16 +1533,17 @@ func (c *Appflow) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. // -// * ValidationException -// The request has invalid or missing parameters. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ListTagsForResource func (c *Appflow) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1588,14 +1583,13 @@ const opRegisterConnector = "RegisterConnector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterConnectorRequest method. +// req, resp := client.RegisterConnectorRequest(params) // -// // Example sending a request using the RegisterConnectorRequest method. -// req, resp := client.RegisterConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/RegisterConnector func (c *Appflow) RegisterConnectorRequest(input *RegisterConnectorInput) (req *request.Request, output *RegisterConnectorOutput) { @@ -1627,38 +1621,39 @@ func (c *Appflow) RegisterConnectorRequest(input *RegisterConnectorInput) (req * // API operation RegisterConnector for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * ConflictException -// There was a conflict when processing the request (for example, a flow with -// the given name already exists within the account. Check for conflicting resource -// names and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * AccessDeniedException -// AppFlow/Requester has invalid or missing permissions. +// - ConflictException +// There was a conflict when processing the request (for example, a flow with +// the given name already exists within the account. Check for conflicting resource +// names and try again. // -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. +// - AccessDeniedException +// AppFlow/Requester has invalid or missing permissions. // -// * ServiceQuotaExceededException -// The request would cause a service quota (such as the number of flows) to -// be exceeded. +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. // -// * ThrottlingException -// API calls have exceeded the maximum allowed API request rate per account -// and per Region. +// - ServiceQuotaExceededException +// The request would cause a service quota (such as the number of flows) to +// be exceeded. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ThrottlingException +// API calls have exceeded the maximum allowed API request rate per account +// and per Region. // -// * ConnectorServerException -// An error occurred when retrieving data from the connector endpoint. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // -// * ConnectorAuthenticationException -// An error occurred when authenticating with the connector endpoint. +// - ConnectorServerException +// An error occurred when retrieving data from the connector endpoint. +// +// - ConnectorAuthenticationException +// An error occurred when authenticating with the connector endpoint. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/RegisterConnector func (c *Appflow) RegisterConnector(input *RegisterConnectorInput) (*RegisterConnectorOutput, error) { @@ -1698,14 +1693,13 @@ const opStartFlow = "StartFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartFlowRequest method. +// req, resp := client.StartFlowRequest(params) // -// // Example sending a request using the StartFlowRequest method. -// req, resp := client.StartFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/StartFlow func (c *Appflow) StartFlowRequest(input *StartFlowInput) (req *request.Request, output *StartFlowOutput) { @@ -1738,22 +1732,23 @@ func (c *Appflow) StartFlowRequest(input *StartFlowInput) (req *request.Request, // API operation StartFlow for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // -// * ServiceQuotaExceededException -// The request would cause a service quota (such as the number of flows) to -// be exceeded. +// - ServiceQuotaExceededException +// The request would cause a service quota (such as the number of flows) to +// be exceeded. // -// * ConflictException -// There was a conflict when processing the request (for example, a flow with -// the given name already exists within the account. Check for conflicting resource -// names and try again. +// - ConflictException +// There was a conflict when processing the request (for example, a flow with +// the given name already exists within the account. Check for conflicting resource +// names and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/StartFlow func (c *Appflow) StartFlow(input *StartFlowInput) (*StartFlowOutput, error) { @@ -1793,14 +1788,13 @@ const opStopFlow = "StopFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopFlowRequest method. +// req, resp := client.StopFlowRequest(params) // -// // Example sending a request using the StopFlowRequest method. -// req, resp := client.StopFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/StopFlow func (c *Appflow) StopFlowRequest(input *StopFlowInput) (req *request.Request, output *StopFlowOutput) { @@ -1833,21 +1827,22 @@ func (c *Appflow) StopFlowRequest(input *StopFlowInput) (req *request.Request, o // API operation StopFlow for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict when processing the request (for example, a flow with -// the given name already exists within the account. Check for conflicting resource -// names and try again. // -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. +// - ConflictException +// There was a conflict when processing the request (for example, a flow with +// the given name already exists within the account. Check for conflicting resource +// names and try again. +// +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. // -// * UnsupportedOperationException -// The requested operation is not supported for the current flow. +// - UnsupportedOperationException +// The requested operation is not supported for the current flow. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/StopFlow func (c *Appflow) StopFlow(input *StopFlowInput) (*StopFlowOutput, error) { @@ -1887,14 +1882,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/TagResource func (c *Appflow) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1926,16 +1920,17 @@ func (c *Appflow) TagResourceRequest(input *TagResourceInput) (req *request.Requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. // -// * ValidationException -// The request has invalid or missing parameters. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. +// - ValidationException +// The request has invalid or missing parameters. +// +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/TagResource func (c *Appflow) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1975,14 +1970,13 @@ const opUnregisterConnector = "UnregisterConnector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnregisterConnectorRequest method. +// req, resp := client.UnregisterConnectorRequest(params) // -// // Example sending a request using the UnregisterConnectorRequest method. -// req, resp := client.UnregisterConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UnregisterConnector func (c *Appflow) UnregisterConnectorRequest(input *UnregisterConnectorInput) (req *request.Request, output *UnregisterConnectorOutput) { @@ -2015,18 +2009,19 @@ func (c *Appflow) UnregisterConnectorRequest(input *UnregisterConnectorInput) (r // API operation UnregisterConnector for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. // -// * ConflictException -// There was a conflict when processing the request (for example, a flow with -// the given name already exists within the account. Check for conflicting resource -// names and try again. +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. +// +// - ConflictException +// There was a conflict when processing the request (for example, a flow with +// the given name already exists within the account. Check for conflicting resource +// names and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UnregisterConnector func (c *Appflow) UnregisterConnector(input *UnregisterConnectorInput) (*UnregisterConnectorOutput, error) { @@ -2066,14 +2061,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UntagResource func (c *Appflow) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2105,16 +2099,17 @@ func (c *Appflow) UntagResourceRequest(input *UntagResourceInput) (req *request. // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. // -// * ValidationException -// The request has invalid or missing parameters. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UntagResource func (c *Appflow) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2154,14 +2149,13 @@ const opUpdateConnectorProfile = "UpdateConnectorProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConnectorProfileRequest method. +// req, resp := client.UpdateConnectorProfileRequest(params) // -// // Example sending a request using the UpdateConnectorProfileRequest method. -// req, resp := client.UpdateConnectorProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorProfile func (c *Appflow) UpdateConnectorProfileRequest(input *UpdateConnectorProfileInput) (req *request.Request, output *UpdateConnectorProfileOutput) { @@ -2192,24 +2186,25 @@ func (c *Appflow) UpdateConnectorProfileRequest(input *UpdateConnectorProfileInp // API operation UpdateConnectorProfile for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. +// - ValidationException +// The request has invalid or missing parameters. // -// * ConflictException -// There was a conflict when processing the request (for example, a flow with -// the given name already exists within the account. Check for conflicting resource -// names and try again. +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. // -// * ConnectorAuthenticationException -// An error occurred when authenticating with the connector endpoint. +// - ConflictException +// There was a conflict when processing the request (for example, a flow with +// the given name already exists within the account. Check for conflicting resource +// names and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ConnectorAuthenticationException +// An error occurred when authenticating with the connector endpoint. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorProfile func (c *Appflow) UpdateConnectorProfile(input *UpdateConnectorProfileInput) (*UpdateConnectorProfileOutput, error) { @@ -2249,14 +2244,13 @@ const opUpdateFlow = "UpdateFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFlowRequest method. +// req, resp := client.UpdateFlowRequest(params) // -// // Example sending a request using the UpdateFlowRequest method. -// req, resp := client.UpdateFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateFlow func (c *Appflow) UpdateFlowRequest(input *UpdateFlowInput) (req *request.Request, output *UpdateFlowOutput) { @@ -2287,31 +2281,32 @@ func (c *Appflow) UpdateFlowRequest(input *UpdateFlowInput) (req *request.Reques // API operation UpdateFlow for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * ResourceNotFoundException -// The resource specified in the request (such as the source or destination -// connector profile) is not found. +// - ValidationException +// The request has invalid or missing parameters. +// +// - ResourceNotFoundException +// The resource specified in the request (such as the source or destination +// connector profile) is not found. // -// * ServiceQuotaExceededException -// The request would cause a service quota (such as the number of flows) to -// be exceeded. +// - ServiceQuotaExceededException +// The request would cause a service quota (such as the number of flows) to +// be exceeded. // -// * ConflictException -// There was a conflict when processing the request (for example, a flow with -// the given name already exists within the account. Check for conflicting resource -// names and try again. +// - ConflictException +// There was a conflict when processing the request (for example, a flow with +// the given name already exists within the account. Check for conflicting resource +// names and try again. // -// * ConnectorAuthenticationException -// An error occurred when authenticating with the connector endpoint. +// - ConnectorAuthenticationException +// An error occurred when authenticating with the connector endpoint. // -// * ConnectorServerException -// An error occurred when retrieving data from the connector endpoint. +// - ConnectorServerException +// An error occurred when retrieving data from the connector endpoint. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateFlow func (c *Appflow) UpdateFlow(input *UpdateFlowInput) (*UpdateFlowOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/appflowiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/appflowiface/interface.go index 0f85ea548efe..2901af08119c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/appflowiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/appflowiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Appflow. -// func myFunc(svc appflowiface.AppflowAPI) bool { -// // Make svc.CreateConnectorProfile request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Appflow. +// func myFunc(svc appflowiface.AppflowAPI) bool { +// // Make svc.CreateConnectorProfile request +// } // -// func main() { -// sess := session.New() -// svc := appflow.New(sess) +// func main() { +// sess := session.New() +// svc := appflow.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAppflowClient struct { -// appflowiface.AppflowAPI -// } -// func (m *mockAppflowClient) CreateConnectorProfile(input *appflow.CreateConnectorProfileInput) (*appflow.CreateConnectorProfileOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAppflowClient struct { +// appflowiface.AppflowAPI +// } +// func (m *mockAppflowClient) CreateConnectorProfile(input *appflow.CreateConnectorProfileInput) (*appflow.CreateConnectorProfileOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAppflowClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAppflowClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/doc.go index 61dae8fb7a6c..3ab2b14c9ceb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/doc.go @@ -14,17 +14,17 @@ // // Use the following links to get started on the Amazon AppFlow API: // -// * Actions (https://docs.aws.amazon.com/appflow/1.0/APIReference/API_Operations.html): -// An alphabetical list of all Amazon AppFlow API operations. +// - Actions (https://docs.aws.amazon.com/appflow/1.0/APIReference/API_Operations.html): +// An alphabetical list of all Amazon AppFlow API operations. // -// * Data types (https://docs.aws.amazon.com/appflow/1.0/APIReference/API_Types.html): -// An alphabetical list of all Amazon AppFlow data types. +// - Data types (https://docs.aws.amazon.com/appflow/1.0/APIReference/API_Types.html): +// An alphabetical list of all Amazon AppFlow data types. // -// * Common parameters (https://docs.aws.amazon.com/appflow/1.0/APIReference/CommonParameters.html): -// Parameters that all Query operations can use. +// - Common parameters (https://docs.aws.amazon.com/appflow/1.0/APIReference/CommonParameters.html): +// Parameters that all Query operations can use. // -// * Common errors (https://docs.aws.amazon.com/appflow/1.0/APIReference/CommonErrors.html): -// Client and server errors that all operations can return. +// - Common errors (https://docs.aws.amazon.com/appflow/1.0/APIReference/CommonErrors.html): +// Client and server errors that all operations can return. // // If you're new to Amazon AppFlow, we recommend that you review the Amazon // AppFlow User Guide (https://docs.aws.amazon.com/appflow/latest/userguide/what-is-appflow.html). @@ -41,7 +41,7 @@ // See appflow package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/appflow/ // -// Using the Client +// # Using the Client // // To contact Amazon Appflow with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/service.go index 1e9181937aab..665e45a91756 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appflow/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Appflow client from just a session. -// svc := appflow.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Appflow client with additional configuration -// svc := appflow.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Appflow client from just a session. +// svc := appflow.New(mySession) +// +// // Create a Appflow client with additional configuration +// svc := appflow.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Appflow { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/api.go index 8f33479f67f7..f89f2c8e0eee 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/api.go @@ -28,14 +28,13 @@ const opCreateDataIntegration = "CreateDataIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataIntegrationRequest method. +// req, resp := client.CreateDataIntegrationRequest(params) // -// // Example sending a request using the CreateDataIntegrationRequest method. -// req, resp := client.CreateDataIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateDataIntegration func (c *AppIntegrationsService) CreateDataIntegrationRequest(input *CreateDataIntegrationInput) (req *request.Request, output *CreateDataIntegrationOutput) { @@ -70,23 +69,24 @@ func (c *AppIntegrationsService) CreateDataIntegrationRequest(input *CreateDataI // API operation CreateDataIntegration for usage and error information. // // Returned Error Types: -// * InternalServiceError -// Request processing failed due to an error or failure with the service. // -// * ResourceQuotaExceededException -// The allowed quota for the resource has been exceeded. +// - InternalServiceError +// Request processing failed due to an error or failure with the service. +// +// - ResourceQuotaExceededException +// The allowed quota for the resource has been exceeded. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateDataIntegration func (c *AppIntegrationsService) CreateDataIntegration(input *CreateDataIntegrationInput) (*CreateDataIntegrationOutput, error) { @@ -126,14 +126,13 @@ const opCreateEventIntegration = "CreateEventIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEventIntegrationRequest method. +// req, resp := client.CreateEventIntegrationRequest(params) // -// // Example sending a request using the CreateEventIntegrationRequest method. -// req, resp := client.CreateEventIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateEventIntegration func (c *AppIntegrationsService) CreateEventIntegrationRequest(input *CreateEventIntegrationInput) (req *request.Request, output *CreateEventIntegrationOutput) { @@ -167,23 +166,24 @@ func (c *AppIntegrationsService) CreateEventIntegrationRequest(input *CreateEven // API operation CreateEventIntegration for usage and error information. // // Returned Error Types: -// * InternalServiceError -// Request processing failed due to an error or failure with the service. // -// * ResourceQuotaExceededException -// The allowed quota for the resource has been exceeded. +// - InternalServiceError +// Request processing failed due to an error or failure with the service. +// +// - ResourceQuotaExceededException +// The allowed quota for the resource has been exceeded. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/CreateEventIntegration func (c *AppIntegrationsService) CreateEventIntegration(input *CreateEventIntegrationInput) (*CreateEventIntegrationOutput, error) { @@ -223,14 +223,13 @@ const opDeleteDataIntegration = "DeleteDataIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDataIntegrationRequest method. +// req, resp := client.DeleteDataIntegrationRequest(params) // -// // Example sending a request using the DeleteDataIntegrationRequest method. -// req, resp := client.DeleteDataIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/DeleteDataIntegration func (c *AppIntegrationsService) DeleteDataIntegrationRequest(input *DeleteDataIntegrationInput) (req *request.Request, output *DeleteDataIntegrationOutput) { @@ -269,20 +268,21 @@ func (c *AppIntegrationsService) DeleteDataIntegrationRequest(input *DeleteDataI // API operation DeleteDataIntegration for usage and error information. // // Returned Error Types: -// * InternalServiceError -// Request processing failed due to an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InternalServiceError +// Request processing failed due to an error or failure with the service. +// +// - ThrottlingException +// The throttling limit has been exceeded. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/DeleteDataIntegration func (c *AppIntegrationsService) DeleteDataIntegration(input *DeleteDataIntegrationInput) (*DeleteDataIntegrationOutput, error) { @@ -322,14 +322,13 @@ const opDeleteEventIntegration = "DeleteEventIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventIntegrationRequest method. +// req, resp := client.DeleteEventIntegrationRequest(params) // -// // Example sending a request using the DeleteEventIntegrationRequest method. -// req, resp := client.DeleteEventIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/DeleteEventIntegration func (c *AppIntegrationsService) DeleteEventIntegrationRequest(input *DeleteEventIntegrationInput) (req *request.Request, output *DeleteEventIntegrationOutput) { @@ -362,20 +361,21 @@ func (c *AppIntegrationsService) DeleteEventIntegrationRequest(input *DeleteEven // API operation DeleteEventIntegration for usage and error information. // // Returned Error Types: -// * InternalServiceError -// Request processing failed due to an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InternalServiceError +// Request processing failed due to an error or failure with the service. +// +// - ThrottlingException +// The throttling limit has been exceeded. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/DeleteEventIntegration func (c *AppIntegrationsService) DeleteEventIntegration(input *DeleteEventIntegrationInput) (*DeleteEventIntegrationOutput, error) { @@ -415,14 +415,13 @@ const opGetDataIntegration = "GetDataIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDataIntegrationRequest method. +// req, resp := client.GetDataIntegrationRequest(params) // -// // Example sending a request using the GetDataIntegrationRequest method. -// req, resp := client.GetDataIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/GetDataIntegration func (c *AppIntegrationsService) GetDataIntegrationRequest(input *GetDataIntegrationInput) (req *request.Request, output *GetDataIntegrationOutput) { @@ -458,20 +457,21 @@ func (c *AppIntegrationsService) GetDataIntegrationRequest(input *GetDataIntegra // API operation GetDataIntegration for usage and error information. // // Returned Error Types: -// * InternalServiceError -// Request processing failed due to an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InternalServiceError +// Request processing failed due to an error or failure with the service. +// +// - ThrottlingException +// The throttling limit has been exceeded. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/GetDataIntegration func (c *AppIntegrationsService) GetDataIntegration(input *GetDataIntegrationInput) (*GetDataIntegrationOutput, error) { @@ -511,14 +511,13 @@ const opGetEventIntegration = "GetEventIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEventIntegrationRequest method. +// req, resp := client.GetEventIntegrationRequest(params) // -// // Example sending a request using the GetEventIntegrationRequest method. -// req, resp := client.GetEventIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/GetEventIntegration func (c *AppIntegrationsService) GetEventIntegrationRequest(input *GetEventIntegrationInput) (req *request.Request, output *GetEventIntegrationOutput) { @@ -549,20 +548,21 @@ func (c *AppIntegrationsService) GetEventIntegrationRequest(input *GetEventInteg // API operation GetEventIntegration for usage and error information. // // Returned Error Types: -// * InternalServiceError -// Request processing failed due to an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InternalServiceError +// Request processing failed due to an error or failure with the service. +// +// - ThrottlingException +// The throttling limit has been exceeded. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/GetEventIntegration func (c *AppIntegrationsService) GetEventIntegration(input *GetEventIntegrationInput) (*GetEventIntegrationOutput, error) { @@ -602,14 +602,13 @@ const opListDataIntegrationAssociations = "ListDataIntegrationAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDataIntegrationAssociationsRequest method. +// req, resp := client.ListDataIntegrationAssociationsRequest(params) // -// // Example sending a request using the ListDataIntegrationAssociationsRequest method. -// req, resp := client.ListDataIntegrationAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListDataIntegrationAssociations func (c *AppIntegrationsService) ListDataIntegrationAssociationsRequest(input *ListDataIntegrationAssociationsInput) (req *request.Request, output *ListDataIntegrationAssociationsOutput) { @@ -645,20 +644,21 @@ func (c *AppIntegrationsService) ListDataIntegrationAssociationsRequest(input *L // API operation ListDataIntegrationAssociations for usage and error information. // // Returned Error Types: -// * InternalServiceError -// Request processing failed due to an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InternalServiceError +// Request processing failed due to an error or failure with the service. +// +// - ThrottlingException +// The throttling limit has been exceeded. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListDataIntegrationAssociations func (c *AppIntegrationsService) ListDataIntegrationAssociations(input *ListDataIntegrationAssociationsInput) (*ListDataIntegrationAssociationsOutput, error) { @@ -698,14 +698,13 @@ const opListDataIntegrations = "ListDataIntegrations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDataIntegrationsRequest method. +// req, resp := client.ListDataIntegrationsRequest(params) // -// // Example sending a request using the ListDataIntegrationsRequest method. -// req, resp := client.ListDataIntegrationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListDataIntegrations func (c *AppIntegrationsService) ListDataIntegrationsRequest(input *ListDataIntegrationsInput) (req *request.Request, output *ListDataIntegrationsOutput) { @@ -741,17 +740,18 @@ func (c *AppIntegrationsService) ListDataIntegrationsRequest(input *ListDataInte // API operation ListDataIntegrations for usage and error information. // // Returned Error Types: -// * InternalServiceError -// Request processing failed due to an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InternalServiceError +// Request processing failed due to an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The request is not valid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListDataIntegrations func (c *AppIntegrationsService) ListDataIntegrations(input *ListDataIntegrationsInput) (*ListDataIntegrationsOutput, error) { @@ -791,14 +791,13 @@ const opListEventIntegrationAssociations = "ListEventIntegrationAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventIntegrationAssociationsRequest method. +// req, resp := client.ListEventIntegrationAssociationsRequest(params) // -// // Example sending a request using the ListEventIntegrationAssociationsRequest method. -// req, resp := client.ListEventIntegrationAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListEventIntegrationAssociations func (c *AppIntegrationsService) ListEventIntegrationAssociationsRequest(input *ListEventIntegrationAssociationsInput) (req *request.Request, output *ListEventIntegrationAssociationsOutput) { @@ -829,20 +828,21 @@ func (c *AppIntegrationsService) ListEventIntegrationAssociationsRequest(input * // API operation ListEventIntegrationAssociations for usage and error information. // // Returned Error Types: -// * InternalServiceError -// Request processing failed due to an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InternalServiceError +// Request processing failed due to an error or failure with the service. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource was not found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The request is not valid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListEventIntegrationAssociations func (c *AppIntegrationsService) ListEventIntegrationAssociations(input *ListEventIntegrationAssociationsInput) (*ListEventIntegrationAssociationsOutput, error) { @@ -882,14 +882,13 @@ const opListEventIntegrations = "ListEventIntegrations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventIntegrationsRequest method. +// req, resp := client.ListEventIntegrationsRequest(params) // -// // Example sending a request using the ListEventIntegrationsRequest method. -// req, resp := client.ListEventIntegrationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListEventIntegrations func (c *AppIntegrationsService) ListEventIntegrationsRequest(input *ListEventIntegrationsInput) (req *request.Request, output *ListEventIntegrationsOutput) { @@ -920,17 +919,18 @@ func (c *AppIntegrationsService) ListEventIntegrationsRequest(input *ListEventIn // API operation ListEventIntegrations for usage and error information. // // Returned Error Types: -// * InternalServiceError -// Request processing failed due to an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InternalServiceError +// Request processing failed due to an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The request is not valid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListEventIntegrations func (c *AppIntegrationsService) ListEventIntegrations(input *ListEventIntegrationsInput) (*ListEventIntegrationsOutput, error) { @@ -970,14 +970,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListTagsForResource func (c *AppIntegrationsService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1008,17 +1007,18 @@ func (c *AppIntegrationsService) ListTagsForResourceRequest(input *ListTagsForRe // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalServiceError -// Request processing failed due to an error or failure with the service. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InternalServiceError +// Request processing failed due to an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/ListTagsForResource func (c *AppIntegrationsService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1058,14 +1058,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/TagResource func (c *AppIntegrationsService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1097,17 +1096,18 @@ func (c *AppIntegrationsService) TagResourceRequest(input *TagResourceInput) (re // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalServiceError -// Request processing failed due to an error or failure with the service. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InternalServiceError +// Request processing failed due to an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/TagResource func (c *AppIntegrationsService) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1147,14 +1147,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UntagResource func (c *AppIntegrationsService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1186,17 +1185,18 @@ func (c *AppIntegrationsService) UntagResourceRequest(input *UntagResourceInput) // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalServiceError -// Request processing failed due to an error or failure with the service. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InternalServiceError +// Request processing failed due to an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UntagResource func (c *AppIntegrationsService) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1236,14 +1236,13 @@ const opUpdateDataIntegration = "UpdateDataIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDataIntegrationRequest method. +// req, resp := client.UpdateDataIntegrationRequest(params) // -// // Example sending a request using the UpdateDataIntegrationRequest method. -// req, resp := client.UpdateDataIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UpdateDataIntegration func (c *AppIntegrationsService) UpdateDataIntegrationRequest(input *UpdateDataIntegrationInput) (req *request.Request, output *UpdateDataIntegrationOutput) { @@ -1280,20 +1279,21 @@ func (c *AppIntegrationsService) UpdateDataIntegrationRequest(input *UpdateDataI // API operation UpdateDataIntegration for usage and error information. // // Returned Error Types: -// * InternalServiceError -// Request processing failed due to an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InternalServiceError +// Request processing failed due to an error or failure with the service. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource was not found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The request is not valid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UpdateDataIntegration func (c *AppIntegrationsService) UpdateDataIntegration(input *UpdateDataIntegrationInput) (*UpdateDataIntegrationOutput, error) { @@ -1333,14 +1333,13 @@ const opUpdateEventIntegration = "UpdateEventIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEventIntegrationRequest method. +// req, resp := client.UpdateEventIntegrationRequest(params) // -// // Example sending a request using the UpdateEventIntegrationRequest method. -// req, resp := client.UpdateEventIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UpdateEventIntegration func (c *AppIntegrationsService) UpdateEventIntegrationRequest(input *UpdateEventIntegrationInput) (req *request.Request, output *UpdateEventIntegrationOutput) { @@ -1372,20 +1371,21 @@ func (c *AppIntegrationsService) UpdateEventIntegrationRequest(input *UpdateEven // API operation UpdateEventIntegration for usage and error information. // // Returned Error Types: -// * InternalServiceError -// Request processing failed due to an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InternalServiceError +// Request processing failed due to an error or failure with the service. +// +// - ThrottlingException +// The throttling limit has been exceeded. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appintegrations-2020-07-29/UpdateEventIntegration func (c *AppIntegrationsService) UpdateEventIntegration(input *UpdateEventIntegrationInput) (*UpdateEventIntegrationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/appintegrationsserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/appintegrationsserviceiface/interface.go index 7dab75302953..c0864419d03b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/appintegrationsserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/appintegrationsserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon AppIntegrations Service. -// func myFunc(svc appintegrationsserviceiface.AppIntegrationsServiceAPI) bool { -// // Make svc.CreateDataIntegration request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon AppIntegrations Service. +// func myFunc(svc appintegrationsserviceiface.AppIntegrationsServiceAPI) bool { +// // Make svc.CreateDataIntegration request +// } // -// func main() { -// sess := session.New() -// svc := appintegrationsservice.New(sess) +// func main() { +// sess := session.New() +// svc := appintegrationsservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAppIntegrationsServiceClient struct { -// appintegrationsserviceiface.AppIntegrationsServiceAPI -// } -// func (m *mockAppIntegrationsServiceClient) CreateDataIntegration(input *appintegrationsservice.CreateDataIntegrationInput) (*appintegrationsservice.CreateDataIntegrationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAppIntegrationsServiceClient struct { +// appintegrationsserviceiface.AppIntegrationsServiceAPI +// } +// func (m *mockAppIntegrationsServiceClient) CreateDataIntegration(input *appintegrationsservice.CreateDataIntegrationInput) (*appintegrationsservice.CreateDataIntegrationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAppIntegrationsServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAppIntegrationsServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/doc.go index 464412a3e2ba..db063a142ee1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/doc.go @@ -16,7 +16,7 @@ // See appintegrationsservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/appintegrationsservice/ // -// Using the Client +// # Using the Client // // To contact Amazon AppIntegrations Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/service.go index e5eec769f6d4..37c6803e55ac 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appintegrationsservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AppIntegrationsService client from just a session. -// svc := appintegrationsservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AppIntegrationsService client with additional configuration -// svc := appintegrationsservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AppIntegrationsService client from just a session. +// svc := appintegrationsservice.New(mySession) +// +// // Create a AppIntegrationsService client with additional configuration +// svc := appintegrationsservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AppIntegrationsService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/api.go index bb5a8300ab0b..44afca20ad5c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/api.go @@ -29,14 +29,13 @@ const opDeleteScalingPolicy = "DeleteScalingPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteScalingPolicyRequest method. +// req, resp := client.DeleteScalingPolicyRequest(params) // -// // Example sending a request using the DeleteScalingPolicyRequest method. -// req, resp := client.DeleteScalingPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy func (c *ApplicationAutoScaling) DeleteScalingPolicyRequest(input *DeleteScalingPolicyInput) (req *request.Request, output *DeleteScalingPolicyOutput) { @@ -77,23 +76,24 @@ func (c *ApplicationAutoScaling) DeleteScalingPolicyRequest(input *DeleteScaling // API operation DeleteScalingPolicy for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the available parameters -// for the API request. // -// * ObjectNotFoundException -// The specified object could not be found. For any operation that depends on -// the existence of a scalable target, this exception is thrown if the scalable -// target with the specified service namespace, resource ID, and scalable dimension -// does not exist. For any operation that deletes or deregisters a resource, -// this exception is thrown if the resource cannot be found. +// - ValidationException +// An exception was thrown for a validation issue. Review the available parameters +// for the API request. +// +// - ObjectNotFoundException +// The specified object could not be found. For any operation that depends on +// the existence of a scalable target, this exception is thrown if the scalable +// target with the specified service namespace, resource ID, and scalable dimension +// does not exist. For any operation that deletes or deregisters a resource, +// this exception is thrown if the resource cannot be found. // -// * ConcurrentUpdateException -// Concurrent updates caused an exception, for example, if you request an update -// to an Application Auto Scaling resource that already has a pending update. +// - ConcurrentUpdateException +// Concurrent updates caused an exception, for example, if you request an update +// to an Application Auto Scaling resource that already has a pending update. // -// * InternalServiceException -// The service encountered an internal error. +// - InternalServiceException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScalingPolicy func (c *ApplicationAutoScaling) DeleteScalingPolicy(input *DeleteScalingPolicyInput) (*DeleteScalingPolicyOutput, error) { @@ -133,14 +133,13 @@ const opDeleteScheduledAction = "DeleteScheduledAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteScheduledActionRequest method. +// req, resp := client.DeleteScheduledActionRequest(params) // -// // Example sending a request using the DeleteScheduledActionRequest method. -// req, resp := client.DeleteScheduledActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction func (c *ApplicationAutoScaling) DeleteScheduledActionRequest(input *DeleteScheduledActionInput) (req *request.Request, output *DeleteScheduledActionOutput) { @@ -176,23 +175,24 @@ func (c *ApplicationAutoScaling) DeleteScheduledActionRequest(input *DeleteSched // API operation DeleteScheduledAction for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the available parameters -// for the API request. // -// * ObjectNotFoundException -// The specified object could not be found. For any operation that depends on -// the existence of a scalable target, this exception is thrown if the scalable -// target with the specified service namespace, resource ID, and scalable dimension -// does not exist. For any operation that deletes or deregisters a resource, -// this exception is thrown if the resource cannot be found. +// - ValidationException +// An exception was thrown for a validation issue. Review the available parameters +// for the API request. +// +// - ObjectNotFoundException +// The specified object could not be found. For any operation that depends on +// the existence of a scalable target, this exception is thrown if the scalable +// target with the specified service namespace, resource ID, and scalable dimension +// does not exist. For any operation that deletes or deregisters a resource, +// this exception is thrown if the resource cannot be found. // -// * ConcurrentUpdateException -// Concurrent updates caused an exception, for example, if you request an update -// to an Application Auto Scaling resource that already has a pending update. +// - ConcurrentUpdateException +// Concurrent updates caused an exception, for example, if you request an update +// to an Application Auto Scaling resource that already has a pending update. // -// * InternalServiceException -// The service encountered an internal error. +// - InternalServiceException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction func (c *ApplicationAutoScaling) DeleteScheduledAction(input *DeleteScheduledActionInput) (*DeleteScheduledActionOutput, error) { @@ -232,14 +232,13 @@ const opDeregisterScalableTarget = "DeregisterScalableTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterScalableTargetRequest method. +// req, resp := client.DeregisterScalableTargetRequest(params) // -// // Example sending a request using the DeregisterScalableTargetRequest method. -// req, resp := client.DeregisterScalableTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget func (c *ApplicationAutoScaling) DeregisterScalableTargetRequest(input *DeregisterScalableTargetInput) (req *request.Request, output *DeregisterScalableTargetOutput) { @@ -276,23 +275,24 @@ func (c *ApplicationAutoScaling) DeregisterScalableTargetRequest(input *Deregist // API operation DeregisterScalableTarget for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the available parameters -// for the API request. // -// * ObjectNotFoundException -// The specified object could not be found. For any operation that depends on -// the existence of a scalable target, this exception is thrown if the scalable -// target with the specified service namespace, resource ID, and scalable dimension -// does not exist. For any operation that deletes or deregisters a resource, -// this exception is thrown if the resource cannot be found. +// - ValidationException +// An exception was thrown for a validation issue. Review the available parameters +// for the API request. +// +// - ObjectNotFoundException +// The specified object could not be found. For any operation that depends on +// the existence of a scalable target, this exception is thrown if the scalable +// target with the specified service namespace, resource ID, and scalable dimension +// does not exist. For any operation that deletes or deregisters a resource, +// this exception is thrown if the resource cannot be found. // -// * ConcurrentUpdateException -// Concurrent updates caused an exception, for example, if you request an update -// to an Application Auto Scaling resource that already has a pending update. +// - ConcurrentUpdateException +// Concurrent updates caused an exception, for example, if you request an update +// to an Application Auto Scaling resource that already has a pending update. // -// * InternalServiceException -// The service encountered an internal error. +// - InternalServiceException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeregisterScalableTarget func (c *ApplicationAutoScaling) DeregisterScalableTarget(input *DeregisterScalableTargetInput) (*DeregisterScalableTargetOutput, error) { @@ -332,14 +332,13 @@ const opDescribeScalableTargets = "DescribeScalableTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScalableTargetsRequest method. +// req, resp := client.DescribeScalableTargetsRequest(params) // -// // Example sending a request using the DescribeScalableTargetsRequest method. -// req, resp := client.DescribeScalableTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargets func (c *ApplicationAutoScaling) DescribeScalableTargetsRequest(input *DescribeScalableTargetsInput) (req *request.Request, output *DescribeScalableTargetsOutput) { @@ -378,19 +377,20 @@ func (c *ApplicationAutoScaling) DescribeScalableTargetsRequest(input *DescribeS // API operation DescribeScalableTargets for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the available parameters -// for the API request. // -// * InvalidNextTokenException -// The next token supplied was invalid. +// - ValidationException +// An exception was thrown for a validation issue. Review the available parameters +// for the API request. +// +// - InvalidNextTokenException +// The next token supplied was invalid. // -// * ConcurrentUpdateException -// Concurrent updates caused an exception, for example, if you request an update -// to an Application Auto Scaling resource that already has a pending update. +// - ConcurrentUpdateException +// Concurrent updates caused an exception, for example, if you request an update +// to an Application Auto Scaling resource that already has a pending update. // -// * InternalServiceException -// The service encountered an internal error. +// - InternalServiceException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalableTargets func (c *ApplicationAutoScaling) DescribeScalableTargets(input *DescribeScalableTargetsInput) (*DescribeScalableTargetsOutput, error) { @@ -422,15 +422,14 @@ func (c *ApplicationAutoScaling) DescribeScalableTargetsWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeScalableTargets operation. -// pageNum := 0 -// err := client.DescribeScalableTargetsPages(params, -// func(page *applicationautoscaling.DescribeScalableTargetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeScalableTargets operation. +// pageNum := 0 +// err := client.DescribeScalableTargetsPages(params, +// func(page *applicationautoscaling.DescribeScalableTargetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ApplicationAutoScaling) DescribeScalableTargetsPages(input *DescribeScalableTargetsInput, fn func(*DescribeScalableTargetsOutput, bool) bool) error { return c.DescribeScalableTargetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -482,14 +481,13 @@ const opDescribeScalingActivities = "DescribeScalingActivities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScalingActivitiesRequest method. +// req, resp := client.DescribeScalingActivitiesRequest(params) // -// // Example sending a request using the DescribeScalingActivitiesRequest method. -// req, resp := client.DescribeScalingActivitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivities func (c *ApplicationAutoScaling) DescribeScalingActivitiesRequest(input *DescribeScalingActivitiesInput) (req *request.Request, output *DescribeScalingActivitiesOutput) { @@ -529,19 +527,20 @@ func (c *ApplicationAutoScaling) DescribeScalingActivitiesRequest(input *Describ // API operation DescribeScalingActivities for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the available parameters -// for the API request. // -// * InvalidNextTokenException -// The next token supplied was invalid. +// - ValidationException +// An exception was thrown for a validation issue. Review the available parameters +// for the API request. // -// * ConcurrentUpdateException -// Concurrent updates caused an exception, for example, if you request an update -// to an Application Auto Scaling resource that already has a pending update. +// - InvalidNextTokenException +// The next token supplied was invalid. // -// * InternalServiceException -// The service encountered an internal error. +// - ConcurrentUpdateException +// Concurrent updates caused an exception, for example, if you request an update +// to an Application Auto Scaling resource that already has a pending update. +// +// - InternalServiceException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingActivities func (c *ApplicationAutoScaling) DescribeScalingActivities(input *DescribeScalingActivitiesInput) (*DescribeScalingActivitiesOutput, error) { @@ -573,15 +572,14 @@ func (c *ApplicationAutoScaling) DescribeScalingActivitiesWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeScalingActivities operation. -// pageNum := 0 -// err := client.DescribeScalingActivitiesPages(params, -// func(page *applicationautoscaling.DescribeScalingActivitiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeScalingActivities operation. +// pageNum := 0 +// err := client.DescribeScalingActivitiesPages(params, +// func(page *applicationautoscaling.DescribeScalingActivitiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ApplicationAutoScaling) DescribeScalingActivitiesPages(input *DescribeScalingActivitiesInput, fn func(*DescribeScalingActivitiesOutput, bool) bool) error { return c.DescribeScalingActivitiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -633,14 +631,13 @@ const opDescribeScalingPolicies = "DescribeScalingPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScalingPoliciesRequest method. +// req, resp := client.DescribeScalingPoliciesRequest(params) // -// // Example sending a request using the DescribeScalingPoliciesRequest method. -// req, resp := client.DescribeScalingPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPolicies func (c *ApplicationAutoScaling) DescribeScalingPoliciesRequest(input *DescribeScalingPoliciesInput) (req *request.Request, output *DescribeScalingPoliciesOutput) { @@ -684,27 +681,28 @@ func (c *ApplicationAutoScaling) DescribeScalingPoliciesRequest(input *DescribeS // API operation DescribeScalingPolicies for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the available parameters -// for the API request. // -// * FailedResourceAccessException -// Failed access to resources caused an exception. This exception is thrown -// when Application Auto Scaling is unable to retrieve the alarms associated -// with a scaling policy due to a client error, for example, if the role ARN -// specified for a scalable target does not have permission to call the CloudWatch -// DescribeAlarms (https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html) -// on your behalf. +// - ValidationException +// An exception was thrown for a validation issue. Review the available parameters +// for the API request. +// +// - FailedResourceAccessException +// Failed access to resources caused an exception. This exception is thrown +// when Application Auto Scaling is unable to retrieve the alarms associated +// with a scaling policy due to a client error, for example, if the role ARN +// specified for a scalable target does not have permission to call the CloudWatch +// DescribeAlarms (https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html) +// on your behalf. // -// * InvalidNextTokenException -// The next token supplied was invalid. +// - InvalidNextTokenException +// The next token supplied was invalid. // -// * ConcurrentUpdateException -// Concurrent updates caused an exception, for example, if you request an update -// to an Application Auto Scaling resource that already has a pending update. +// - ConcurrentUpdateException +// Concurrent updates caused an exception, for example, if you request an update +// to an Application Auto Scaling resource that already has a pending update. // -// * InternalServiceException -// The service encountered an internal error. +// - InternalServiceException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScalingPolicies func (c *ApplicationAutoScaling) DescribeScalingPolicies(input *DescribeScalingPoliciesInput) (*DescribeScalingPoliciesOutput, error) { @@ -736,15 +734,14 @@ func (c *ApplicationAutoScaling) DescribeScalingPoliciesWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeScalingPolicies operation. -// pageNum := 0 -// err := client.DescribeScalingPoliciesPages(params, -// func(page *applicationautoscaling.DescribeScalingPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeScalingPolicies operation. +// pageNum := 0 +// err := client.DescribeScalingPoliciesPages(params, +// func(page *applicationautoscaling.DescribeScalingPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ApplicationAutoScaling) DescribeScalingPoliciesPages(input *DescribeScalingPoliciesInput, fn func(*DescribeScalingPoliciesOutput, bool) bool) error { return c.DescribeScalingPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -796,14 +793,13 @@ const opDescribeScheduledActions = "DescribeScheduledActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScheduledActionsRequest method. +// req, resp := client.DescribeScheduledActionsRequest(params) // -// // Example sending a request using the DescribeScheduledActionsRequest method. -// req, resp := client.DescribeScheduledActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScheduledActions func (c *ApplicationAutoScaling) DescribeScheduledActionsRequest(input *DescribeScheduledActionsInput) (req *request.Request, output *DescribeScheduledActionsOutput) { @@ -848,19 +844,20 @@ func (c *ApplicationAutoScaling) DescribeScheduledActionsRequest(input *Describe // API operation DescribeScheduledActions for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the available parameters -// for the API request. // -// * InvalidNextTokenException -// The next token supplied was invalid. +// - ValidationException +// An exception was thrown for a validation issue. Review the available parameters +// for the API request. +// +// - InvalidNextTokenException +// The next token supplied was invalid. // -// * ConcurrentUpdateException -// Concurrent updates caused an exception, for example, if you request an update -// to an Application Auto Scaling resource that already has a pending update. +// - ConcurrentUpdateException +// Concurrent updates caused an exception, for example, if you request an update +// to an Application Auto Scaling resource that already has a pending update. // -// * InternalServiceException -// The service encountered an internal error. +// - InternalServiceException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DescribeScheduledActions func (c *ApplicationAutoScaling) DescribeScheduledActions(input *DescribeScheduledActionsInput) (*DescribeScheduledActionsOutput, error) { @@ -892,15 +889,14 @@ func (c *ApplicationAutoScaling) DescribeScheduledActionsWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeScheduledActions operation. -// pageNum := 0 -// err := client.DescribeScheduledActionsPages(params, -// func(page *applicationautoscaling.DescribeScheduledActionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeScheduledActions operation. +// pageNum := 0 +// err := client.DescribeScheduledActionsPages(params, +// func(page *applicationautoscaling.DescribeScheduledActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ApplicationAutoScaling) DescribeScheduledActionsPages(input *DescribeScheduledActionsInput, fn func(*DescribeScheduledActionsOutput, bool) bool) error { return c.DescribeScheduledActionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -952,14 +948,13 @@ const opPutScalingPolicy = "PutScalingPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutScalingPolicyRequest method. +// req, resp := client.PutScalingPolicyRequest(params) // -// // Example sending a request using the PutScalingPolicyRequest method. -// req, resp := client.PutScalingPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicy func (c *ApplicationAutoScaling) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req *request.Request, output *PutScalingPolicyOutput) { @@ -1023,35 +1018,36 @@ func (c *ApplicationAutoScaling) PutScalingPolicyRequest(input *PutScalingPolicy // API operation PutScalingPolicy for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the available parameters -// for the API request. -// -// * LimitExceededException -// A per-account resource limit is exceeded. For more information, see Application -// Auto Scaling service quotas (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-limits.html). -// -// * ObjectNotFoundException -// The specified object could not be found. For any operation that depends on -// the existence of a scalable target, this exception is thrown if the scalable -// target with the specified service namespace, resource ID, and scalable dimension -// does not exist. For any operation that deletes or deregisters a resource, -// this exception is thrown if the resource cannot be found. -// -// * ConcurrentUpdateException -// Concurrent updates caused an exception, for example, if you request an update -// to an Application Auto Scaling resource that already has a pending update. -// -// * FailedResourceAccessException -// Failed access to resources caused an exception. This exception is thrown -// when Application Auto Scaling is unable to retrieve the alarms associated -// with a scaling policy due to a client error, for example, if the role ARN -// specified for a scalable target does not have permission to call the CloudWatch -// DescribeAlarms (https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html) -// on your behalf. -// -// * InternalServiceException -// The service encountered an internal error. +// +// - ValidationException +// An exception was thrown for a validation issue. Review the available parameters +// for the API request. +// +// - LimitExceededException +// A per-account resource limit is exceeded. For more information, see Application +// Auto Scaling service quotas (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-limits.html). +// +// - ObjectNotFoundException +// The specified object could not be found. For any operation that depends on +// the existence of a scalable target, this exception is thrown if the scalable +// target with the specified service namespace, resource ID, and scalable dimension +// does not exist. For any operation that deletes or deregisters a resource, +// this exception is thrown if the resource cannot be found. +// +// - ConcurrentUpdateException +// Concurrent updates caused an exception, for example, if you request an update +// to an Application Auto Scaling resource that already has a pending update. +// +// - FailedResourceAccessException +// Failed access to resources caused an exception. This exception is thrown +// when Application Auto Scaling is unable to retrieve the alarms associated +// with a scaling policy due to a client error, for example, if the role ARN +// specified for a scalable target does not have permission to call the CloudWatch +// DescribeAlarms (https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html) +// on your behalf. +// +// - InternalServiceException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicy func (c *ApplicationAutoScaling) PutScalingPolicy(input *PutScalingPolicyInput) (*PutScalingPolicyOutput, error) { @@ -1091,14 +1087,13 @@ const opPutScheduledAction = "PutScheduledAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutScheduledActionRequest method. +// req, resp := client.PutScheduledActionRequest(params) // -// // Example sending a request using the PutScheduledActionRequest method. -// req, resp := client.PutScheduledActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScheduledAction func (c *ApplicationAutoScaling) PutScheduledActionRequest(input *PutScheduledActionInput) (req *request.Request, output *PutScheduledActionOutput) { @@ -1150,27 +1145,28 @@ func (c *ApplicationAutoScaling) PutScheduledActionRequest(input *PutScheduledAc // API operation PutScheduledAction for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the available parameters -// for the API request. // -// * LimitExceededException -// A per-account resource limit is exceeded. For more information, see Application -// Auto Scaling service quotas (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-limits.html). +// - ValidationException +// An exception was thrown for a validation issue. Review the available parameters +// for the API request. // -// * ObjectNotFoundException -// The specified object could not be found. For any operation that depends on -// the existence of a scalable target, this exception is thrown if the scalable -// target with the specified service namespace, resource ID, and scalable dimension -// does not exist. For any operation that deletes or deregisters a resource, -// this exception is thrown if the resource cannot be found. +// - LimitExceededException +// A per-account resource limit is exceeded. For more information, see Application +// Auto Scaling service quotas (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-limits.html). // -// * ConcurrentUpdateException -// Concurrent updates caused an exception, for example, if you request an update -// to an Application Auto Scaling resource that already has a pending update. +// - ObjectNotFoundException +// The specified object could not be found. For any operation that depends on +// the existence of a scalable target, this exception is thrown if the scalable +// target with the specified service namespace, resource ID, and scalable dimension +// does not exist. For any operation that deletes or deregisters a resource, +// this exception is thrown if the resource cannot be found. // -// * InternalServiceException -// The service encountered an internal error. +// - ConcurrentUpdateException +// Concurrent updates caused an exception, for example, if you request an update +// to an Application Auto Scaling resource that already has a pending update. +// +// - InternalServiceException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScheduledAction func (c *ApplicationAutoScaling) PutScheduledAction(input *PutScheduledActionInput) (*PutScheduledActionOutput, error) { @@ -1210,14 +1206,13 @@ const opRegisterScalableTarget = "RegisterScalableTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterScalableTargetRequest method. +// req, resp := client.RegisterScalableTargetRequest(params) // -// // Example sending a request using the RegisterScalableTargetRequest method. -// req, resp := client.RegisterScalableTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTarget func (c *ApplicationAutoScaling) RegisterScalableTargetRequest(input *RegisterScalableTargetInput) (req *request.Request, output *RegisterScalableTargetOutput) { @@ -1278,20 +1273,21 @@ func (c *ApplicationAutoScaling) RegisterScalableTargetRequest(input *RegisterSc // API operation RegisterScalableTarget for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the available parameters -// for the API request. // -// * LimitExceededException -// A per-account resource limit is exceeded. For more information, see Application -// Auto Scaling service quotas (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-limits.html). +// - ValidationException +// An exception was thrown for a validation issue. Review the available parameters +// for the API request. +// +// - LimitExceededException +// A per-account resource limit is exceeded. For more information, see Application +// Auto Scaling service quotas (https://docs.aws.amazon.com/autoscaling/application/userguide/application-auto-scaling-limits.html). // -// * ConcurrentUpdateException -// Concurrent updates caused an exception, for example, if you request an update -// to an Application Auto Scaling resource that already has a pending update. +// - ConcurrentUpdateException +// Concurrent updates caused an exception, for example, if you request an update +// to an Application Auto Scaling resource that already has a pending update. // -// * InternalServiceException -// The service encountered an internal error. +// - InternalServiceException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/RegisterScalableTarget func (c *ApplicationAutoScaling) RegisterScalableTarget(input *RegisterScalableTargetInput) (*RegisterScalableTargetOutput, error) { @@ -1434,16 +1430,16 @@ func (s *ConcurrentUpdateException) RequestID() string { // // To create your customized metric specification: // -// * Add values for each required parameter from CloudWatch. You can use -// an existing metric, or a new metric that you create. To use your own metric, -// you must first publish the metric to CloudWatch. For more information, -// see Publish Custom Metrics (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) -// in the Amazon CloudWatch User Guide. +// - Add values for each required parameter from CloudWatch. You can use +// an existing metric, or a new metric that you create. To use your own metric, +// you must first publish the metric to CloudWatch. For more information, +// see Publish Custom Metrics (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) +// in the Amazon CloudWatch User Guide. // -// * Choose a metric that changes proportionally with capacity. The value -// of the metric should increase or decrease in inverse proportion to the -// number of capacity units. That is, the value of the metric should decrease -// when capacity increases, and increase when capacity decreases. +// - Choose a metric that changes proportionally with capacity. The value +// of the metric should increase or decrease in inverse proportion to the +// number of capacity units. That is, the value of the metric should decrease +// when capacity increases, and increase when capacity decreases. // // For more information about CloudWatch, see Amazon CloudWatch Concepts (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html). type CustomizedMetricSpecification struct { @@ -5720,27 +5716,27 @@ func (s *ScheduledAction) SetTimezone(v string) *ScheduledAction { // For the following examples, suppose that you have an alarm with a breach // threshold of 50: // -// * To trigger the adjustment when the metric is greater than or equal to -// 50 and less than 60, specify a lower bound of 0 and an upper bound of -// 10. +// - To trigger the adjustment when the metric is greater than or equal to +// 50 and less than 60, specify a lower bound of 0 and an upper bound of +// 10. // -// * To trigger the adjustment when the metric is greater than 40 and less -// than or equal to 50, specify a lower bound of -10 and an upper bound of -// 0. +// - To trigger the adjustment when the metric is greater than 40 and less +// than or equal to 50, specify a lower bound of -10 and an upper bound of +// 0. // // There are a few rules for the step adjustments for your step policy: // -// * The ranges of your step adjustments can't overlap or have a gap. +// - The ranges of your step adjustments can't overlap or have a gap. // -// * At most one step adjustment can have a null lower bound. If one step -// adjustment has a negative lower bound, then there must be a step adjustment -// with a null lower bound. +// - At most one step adjustment can have a null lower bound. If one step +// adjustment has a negative lower bound, then there must be a step adjustment +// with a null lower bound. // -// * At most one step adjustment can have a null upper bound. If one step -// adjustment has a positive upper bound, then there must be a step adjustment -// with a null upper bound. +// - At most one step adjustment can have a null upper bound. If one step +// adjustment has a positive upper bound, then there must be a step adjustment +// with a null upper bound. // -// * The upper and lower bound can't be null in the same step adjustment. +// - The upper and lower bound can't be null in the same step adjustment. type StepAdjustment struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/applicationautoscalingiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/applicationautoscalingiface/interface.go index 90e582274e10..82f55b9892d1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/applicationautoscalingiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/applicationautoscalingiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Application Auto Scaling. -// func myFunc(svc applicationautoscalingiface.ApplicationAutoScalingAPI) bool { -// // Make svc.DeleteScalingPolicy request -// } +// // myFunc uses an SDK service client to make a request to +// // Application Auto Scaling. +// func myFunc(svc applicationautoscalingiface.ApplicationAutoScalingAPI) bool { +// // Make svc.DeleteScalingPolicy request +// } // -// func main() { -// sess := session.New() -// svc := applicationautoscaling.New(sess) +// func main() { +// sess := session.New() +// svc := applicationautoscaling.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockApplicationAutoScalingClient struct { -// applicationautoscalingiface.ApplicationAutoScalingAPI -// } -// func (m *mockApplicationAutoScalingClient) DeleteScalingPolicy(input *applicationautoscaling.DeleteScalingPolicyInput) (*applicationautoscaling.DeleteScalingPolicyOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockApplicationAutoScalingClient struct { +// applicationautoscalingiface.ApplicationAutoScalingAPI +// } +// func (m *mockApplicationAutoScalingClient) DeleteScalingPolicy(input *applicationautoscaling.DeleteScalingPolicyInput) (*applicationautoscaling.DeleteScalingPolicyOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockApplicationAutoScalingClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockApplicationAutoScalingClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/doc.go index 6b441f31cbfb..644d330d0058 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/doc.go @@ -6,54 +6,54 @@ // With Application Auto Scaling, you can configure automatic scaling for the // following resources: // -// * Amazon AppStream 2.0 fleets +// - Amazon AppStream 2.0 fleets // -// * Amazon Aurora Replicas +// - Amazon Aurora Replicas // -// * Amazon Comprehend document classification and entity recognizer endpoints +// - Amazon Comprehend document classification and entity recognizer endpoints // -// * Amazon DynamoDB tables and global secondary indexes throughput capacity +// - Amazon DynamoDB tables and global secondary indexes throughput capacity // -// * Amazon ECS services +// - Amazon ECS services // -// * Amazon ElastiCache for Redis clusters (replication groups) +// - Amazon ElastiCache for Redis clusters (replication groups) // -// * Amazon EMR clusters +// - Amazon EMR clusters // -// * Amazon Keyspaces (for Apache Cassandra) tables +// - Amazon Keyspaces (for Apache Cassandra) tables // -// * Lambda function provisioned concurrency +// - Lambda function provisioned concurrency // -// * Amazon Managed Streaming for Apache Kafka broker storage +// - Amazon Managed Streaming for Apache Kafka broker storage // -// * Amazon Neptune clusters +// - Amazon Neptune clusters // -// * Amazon SageMaker endpoint variants +// - Amazon SageMaker endpoint variants // -// * Spot Fleets (Amazon EC2) +// - Spot Fleets (Amazon EC2) // -// * Custom resources provided by your own applications or services +// - Custom resources provided by your own applications or services // -// API Summary +// # API Summary // // The Application Auto Scaling service API includes three key sets of actions: // -// * Register and manage scalable targets - Register Amazon Web Services -// or custom resources as scalable targets (a resource that Application Auto -// Scaling can scale), set minimum and maximum capacity limits, and retrieve -// information on existing scalable targets. +// - Register and manage scalable targets - Register Amazon Web Services +// or custom resources as scalable targets (a resource that Application Auto +// Scaling can scale), set minimum and maximum capacity limits, and retrieve +// information on existing scalable targets. // -// * Configure and manage automatic scaling - Define scaling policies to -// dynamically scale your resources in response to CloudWatch alarms, schedule -// one-time or recurring scaling actions, and retrieve your recent scaling -// activity history. +// - Configure and manage automatic scaling - Define scaling policies to +// dynamically scale your resources in response to CloudWatch alarms, schedule +// one-time or recurring scaling actions, and retrieve your recent scaling +// activity history. // -// * Suspend and resume scaling - Temporarily suspend and later resume automatic -// scaling by calling the RegisterScalableTarget (https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html) -// API action for any Application Auto Scaling scalable target. You can suspend -// and resume (individually or in combination) scale-out activities that -// are triggered by a scaling policy, scale-in activities that are triggered -// by a scaling policy, and scheduled scaling. +// - Suspend and resume scaling - Temporarily suspend and later resume automatic +// scaling by calling the RegisterScalableTarget (https://docs.aws.amazon.com/autoscaling/application/APIReference/API_RegisterScalableTarget.html) +// API action for any Application Auto Scaling scalable target. You can suspend +// and resume (individually or in combination) scale-out activities that +// are triggered by a scaling policy, scale-in activities that are triggered +// by a scaling policy, and scheduled scaling. // // To learn more about Application Auto Scaling, including information about // granting IAM users required permissions for Application Auto Scaling actions, @@ -64,7 +64,7 @@ // See applicationautoscaling package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/applicationautoscaling/ // -// Using the Client +// # Using the Client // // To contact Application Auto Scaling with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/service.go index c9732caccd29..5fc7940f4bd2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationautoscaling/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ApplicationAutoScaling client from just a session. -// svc := applicationautoscaling.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ApplicationAutoScaling client with additional configuration -// svc := applicationautoscaling.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ApplicationAutoScaling client from just a session. +// svc := applicationautoscaling.New(mySession) +// +// // Create a ApplicationAutoScaling client with additional configuration +// svc := applicationautoscaling.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ApplicationAutoScaling { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/api.go index 12b6cd081497..1757ce695f26 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/api.go @@ -28,14 +28,13 @@ const opDeleteReportDefinition = "DeleteReportDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReportDefinitionRequest method. +// req, resp := client.DeleteReportDefinitionRequest(params) // -// // Example sending a request using the DeleteReportDefinitionRequest method. -// req, resp := client.DeleteReportDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/DeleteReportDefinition func (c *ApplicationCostProfiler) DeleteReportDefinitionRequest(input *DeleteReportDefinitionInput) (req *request.Request, output *DeleteReportDefinitionOutput) { @@ -67,18 +66,19 @@ func (c *ApplicationCostProfiler) DeleteReportDefinitionRequest(input *DeleteRep // API operation DeleteReportDefinition for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal server error occurred. Retry your request. // -// * ThrottlingException -// The calls to AWS Application Cost Profiler API are throttled. The request -// was denied. +// - InternalServerException +// An internal server error occurred. Retry your request. +// +// - ThrottlingException +// The calls to AWS Application Cost Profiler API are throttled. The request +// was denied. // -// * ValidationException -// The input fails to satisfy the constraints for the API. +// - ValidationException +// The input fails to satisfy the constraints for the API. // -// * AccessDeniedException -// You do not have permission to perform this action. +// - AccessDeniedException +// You do not have permission to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/DeleteReportDefinition func (c *ApplicationCostProfiler) DeleteReportDefinition(input *DeleteReportDefinitionInput) (*DeleteReportDefinitionOutput, error) { @@ -118,14 +118,13 @@ const opGetReportDefinition = "GetReportDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReportDefinitionRequest method. +// req, resp := client.GetReportDefinitionRequest(params) // -// // Example sending a request using the GetReportDefinitionRequest method. -// req, resp := client.GetReportDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/GetReportDefinition func (c *ApplicationCostProfiler) GetReportDefinitionRequest(input *GetReportDefinitionInput) (req *request.Request, output *GetReportDefinitionOutput) { @@ -157,18 +156,19 @@ func (c *ApplicationCostProfiler) GetReportDefinitionRequest(input *GetReportDef // API operation GetReportDefinition for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal server error occurred. Retry your request. // -// * ThrottlingException -// The calls to AWS Application Cost Profiler API are throttled. The request -// was denied. +// - InternalServerException +// An internal server error occurred. Retry your request. +// +// - ThrottlingException +// The calls to AWS Application Cost Profiler API are throttled. The request +// was denied. // -// * ValidationException -// The input fails to satisfy the constraints for the API. +// - ValidationException +// The input fails to satisfy the constraints for the API. // -// * AccessDeniedException -// You do not have permission to perform this action. +// - AccessDeniedException +// You do not have permission to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/GetReportDefinition func (c *ApplicationCostProfiler) GetReportDefinition(input *GetReportDefinitionInput) (*GetReportDefinitionOutput, error) { @@ -208,14 +208,13 @@ const opImportApplicationUsage = "ImportApplicationUsage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportApplicationUsageRequest method. +// req, resp := client.ImportApplicationUsageRequest(params) // -// // Example sending a request using the ImportApplicationUsageRequest method. -// req, resp := client.ImportApplicationUsageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/ImportApplicationUsage func (c *ApplicationCostProfiler) ImportApplicationUsageRequest(input *ImportApplicationUsageInput) (req *request.Request, output *ImportApplicationUsageOutput) { @@ -251,18 +250,19 @@ func (c *ApplicationCostProfiler) ImportApplicationUsageRequest(input *ImportApp // API operation ImportApplicationUsage for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal server error occurred. Retry your request. // -// * ThrottlingException -// The calls to AWS Application Cost Profiler API are throttled. The request -// was denied. +// - InternalServerException +// An internal server error occurred. Retry your request. +// +// - ThrottlingException +// The calls to AWS Application Cost Profiler API are throttled. The request +// was denied. // -// * ValidationException -// The input fails to satisfy the constraints for the API. +// - ValidationException +// The input fails to satisfy the constraints for the API. // -// * AccessDeniedException -// You do not have permission to perform this action. +// - AccessDeniedException +// You do not have permission to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/ImportApplicationUsage func (c *ApplicationCostProfiler) ImportApplicationUsage(input *ImportApplicationUsageInput) (*ImportApplicationUsageOutput, error) { @@ -302,14 +302,13 @@ const opListReportDefinitions = "ListReportDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReportDefinitionsRequest method. +// req, resp := client.ListReportDefinitionsRequest(params) // -// // Example sending a request using the ListReportDefinitionsRequest method. -// req, resp := client.ListReportDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/ListReportDefinitions func (c *ApplicationCostProfiler) ListReportDefinitionsRequest(input *ListReportDefinitionsInput) (req *request.Request, output *ListReportDefinitionsOutput) { @@ -348,18 +347,19 @@ func (c *ApplicationCostProfiler) ListReportDefinitionsRequest(input *ListReport // API operation ListReportDefinitions for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal server error occurred. Retry your request. // -// * ThrottlingException -// The calls to AWS Application Cost Profiler API are throttled. The request -// was denied. +// - InternalServerException +// An internal server error occurred. Retry your request. // -// * ValidationException -// The input fails to satisfy the constraints for the API. +// - ThrottlingException +// The calls to AWS Application Cost Profiler API are throttled. The request +// was denied. // -// * AccessDeniedException -// You do not have permission to perform this action. +// - ValidationException +// The input fails to satisfy the constraints for the API. +// +// - AccessDeniedException +// You do not have permission to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/ListReportDefinitions func (c *ApplicationCostProfiler) ListReportDefinitions(input *ListReportDefinitionsInput) (*ListReportDefinitionsOutput, error) { @@ -391,15 +391,14 @@ func (c *ApplicationCostProfiler) ListReportDefinitionsWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListReportDefinitions operation. -// pageNum := 0 -// err := client.ListReportDefinitionsPages(params, -// func(page *applicationcostprofiler.ListReportDefinitionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListReportDefinitions operation. +// pageNum := 0 +// err := client.ListReportDefinitionsPages(params, +// func(page *applicationcostprofiler.ListReportDefinitionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ApplicationCostProfiler) ListReportDefinitionsPages(input *ListReportDefinitionsInput, fn func(*ListReportDefinitionsOutput, bool) bool) error { return c.ListReportDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -451,14 +450,13 @@ const opPutReportDefinition = "PutReportDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutReportDefinitionRequest method. +// req, resp := client.PutReportDefinitionRequest(params) // -// // Example sending a request using the PutReportDefinitionRequest method. -// req, resp := client.PutReportDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/PutReportDefinition func (c *ApplicationCostProfiler) PutReportDefinitionRequest(input *PutReportDefinitionInput) (req *request.Request, output *PutReportDefinitionOutput) { @@ -489,21 +487,22 @@ func (c *ApplicationCostProfiler) PutReportDefinitionRequest(input *PutReportDef // API operation PutReportDefinition for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal server error occurred. Retry your request. // -// * ThrottlingException -// The calls to AWS Application Cost Profiler API are throttled. The request -// was denied. +// - InternalServerException +// An internal server error occurred. Retry your request. // -// * ValidationException -// The input fails to satisfy the constraints for the API. +// - ThrottlingException +// The calls to AWS Application Cost Profiler API are throttled. The request +// was denied. // -// * AccessDeniedException -// You do not have permission to perform this action. +// - ValidationException +// The input fails to satisfy the constraints for the API. // -// * ServiceQuotaExceededException -// Your request exceeds one or more of the service quotas. +// - AccessDeniedException +// You do not have permission to perform this action. +// +// - ServiceQuotaExceededException +// Your request exceeds one or more of the service quotas. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/PutReportDefinition func (c *ApplicationCostProfiler) PutReportDefinition(input *PutReportDefinitionInput) (*PutReportDefinitionOutput, error) { @@ -543,14 +542,13 @@ const opUpdateReportDefinition = "UpdateReportDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateReportDefinitionRequest method. +// req, resp := client.UpdateReportDefinitionRequest(params) // -// // Example sending a request using the UpdateReportDefinitionRequest method. -// req, resp := client.UpdateReportDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/UpdateReportDefinition func (c *ApplicationCostProfiler) UpdateReportDefinitionRequest(input *UpdateReportDefinitionInput) (req *request.Request, output *UpdateReportDefinitionOutput) { @@ -581,18 +579,19 @@ func (c *ApplicationCostProfiler) UpdateReportDefinitionRequest(input *UpdateRep // API operation UpdateReportDefinition for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal server error occurred. Retry your request. // -// * ThrottlingException -// The calls to AWS Application Cost Profiler API are throttled. The request -// was denied. +// - InternalServerException +// An internal server error occurred. Retry your request. +// +// - ThrottlingException +// The calls to AWS Application Cost Profiler API are throttled. The request +// was denied. // -// * ValidationException -// The input fails to satisfy the constraints for the API. +// - ValidationException +// The input fails to satisfy the constraints for the API. // -// * AccessDeniedException -// You do not have permission to perform this action. +// - AccessDeniedException +// You do not have permission to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSApplicationCostProfiler-2020-09-10/UpdateReportDefinition func (c *ApplicationCostProfiler) UpdateReportDefinition(input *UpdateReportDefinitionInput) (*UpdateReportDefinitionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/applicationcostprofileriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/applicationcostprofileriface/interface.go index 99e91eefae55..e0933a6ab2b2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/applicationcostprofileriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/applicationcostprofileriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Application Cost Profiler. -// func myFunc(svc applicationcostprofileriface.ApplicationCostProfilerAPI) bool { -// // Make svc.DeleteReportDefinition request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Application Cost Profiler. +// func myFunc(svc applicationcostprofileriface.ApplicationCostProfilerAPI) bool { +// // Make svc.DeleteReportDefinition request +// } // -// func main() { -// sess := session.New() -// svc := applicationcostprofiler.New(sess) +// func main() { +// sess := session.New() +// svc := applicationcostprofiler.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockApplicationCostProfilerClient struct { -// applicationcostprofileriface.ApplicationCostProfilerAPI -// } -// func (m *mockApplicationCostProfilerClient) DeleteReportDefinition(input *applicationcostprofiler.DeleteReportDefinitionInput) (*applicationcostprofiler.DeleteReportDefinitionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockApplicationCostProfilerClient struct { +// applicationcostprofileriface.ApplicationCostProfilerAPI +// } +// func (m *mockApplicationCostProfilerClient) DeleteReportDefinition(input *applicationcostprofiler.DeleteReportDefinitionInput) (*applicationcostprofiler.DeleteReportDefinitionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockApplicationCostProfilerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockApplicationCostProfilerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/doc.go index ab5857f65883..92c1880d6951 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/doc.go @@ -18,7 +18,7 @@ // See applicationcostprofiler package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/applicationcostprofiler/ // -// Using the Client +// # Using the Client // // To contact AWS Application Cost Profiler with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/service.go index 608bef4f4480..c77d043e7304 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationcostprofiler/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ApplicationCostProfiler client from just a session. -// svc := applicationcostprofiler.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ApplicationCostProfiler client with additional configuration -// svc := applicationcostprofiler.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ApplicationCostProfiler client from just a session. +// svc := applicationcostprofiler.New(mySession) +// +// // Create a ApplicationCostProfiler client with additional configuration +// svc := applicationcostprofiler.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ApplicationCostProfiler { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/api.go index 971fd893ec3b..609ecadb6ba0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/api.go @@ -29,14 +29,13 @@ const opAssociateConfigurationItemsToApplication = "AssociateConfigurationItemsT // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateConfigurationItemsToApplicationRequest method. +// req, resp := client.AssociateConfigurationItemsToApplicationRequest(params) // -// // Example sending a request using the AssociateConfigurationItemsToApplicationRequest method. -// req, resp := client.AssociateConfigurationItemsToApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/AssociateConfigurationItemsToApplication func (c *ApplicationDiscoveryService) AssociateConfigurationItemsToApplicationRequest(input *AssociateConfigurationItemsToApplicationInput) (req *request.Request, output *AssociateConfigurationItemsToApplicationOutput) { @@ -68,22 +67,23 @@ func (c *ApplicationDiscoveryService) AssociateConfigurationItemsToApplicationRe // API operation AssociateConfigurationItemsToApplication for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. +// +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/AssociateConfigurationItemsToApplication func (c *ApplicationDiscoveryService) AssociateConfigurationItemsToApplication(input *AssociateConfigurationItemsToApplicationInput) (*AssociateConfigurationItemsToApplicationOutput, error) { @@ -123,14 +123,13 @@ const opBatchDeleteImportData = "BatchDeleteImportData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteImportDataRequest method. +// req, resp := client.BatchDeleteImportDataRequest(params) // -// // Example sending a request using the BatchDeleteImportDataRequest method. -// req, resp := client.BatchDeleteImportDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/BatchDeleteImportData func (c *ApplicationDiscoveryService) BatchDeleteImportDataRequest(input *BatchDeleteImportDataInput) (req *request.Request, output *BatchDeleteImportDataOutput) { @@ -169,22 +168,23 @@ func (c *ApplicationDiscoveryService) BatchDeleteImportDataRequest(input *BatchD // API operation BatchDeleteImportData for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. +// +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/BatchDeleteImportData func (c *ApplicationDiscoveryService) BatchDeleteImportData(input *BatchDeleteImportDataInput) (*BatchDeleteImportDataOutput, error) { @@ -224,14 +224,13 @@ const opCreateApplication = "CreateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationRequest method. +// req, resp := client.CreateApplicationRequest(params) // -// // Example sending a request using the CreateApplicationRequest method. -// req, resp := client.CreateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateApplication func (c *ApplicationDiscoveryService) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput) { @@ -262,22 +261,23 @@ func (c *ApplicationDiscoveryService) CreateApplicationRequest(input *CreateAppl // API operation CreateApplication for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. +// +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateApplication func (c *ApplicationDiscoveryService) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error) { @@ -317,14 +317,13 @@ const opCreateTags = "CreateTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTagsRequest method. +// req, resp := client.CreateTagsRequest(params) // -// // Example sending a request using the CreateTagsRequest method. -// req, resp := client.CreateTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateTags func (c *ApplicationDiscoveryService) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput) { @@ -360,26 +359,27 @@ func (c *ApplicationDiscoveryService) CreateTagsRequest(input *CreateTagsInput) // API operation CreateTags for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * ResourceNotFoundException -// The specified configuration ID was not located. Verify the configuration -// ID and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - ResourceNotFoundException +// The specified configuration ID was not located. Verify the configuration +// ID and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/CreateTags func (c *ApplicationDiscoveryService) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error) { @@ -419,14 +419,13 @@ const opDeleteApplications = "DeleteApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationsRequest method. +// req, resp := client.DeleteApplicationsRequest(params) // -// // Example sending a request using the DeleteApplicationsRequest method. -// req, resp := client.DeleteApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteApplications func (c *ApplicationDiscoveryService) DeleteApplicationsRequest(input *DeleteApplicationsInput) (req *request.Request, output *DeleteApplicationsOutput) { @@ -459,22 +458,23 @@ func (c *ApplicationDiscoveryService) DeleteApplicationsRequest(input *DeleteApp // API operation DeleteApplications for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. +// +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteApplications func (c *ApplicationDiscoveryService) DeleteApplications(input *DeleteApplicationsInput) (*DeleteApplicationsOutput, error) { @@ -514,14 +514,13 @@ const opDeleteTags = "DeleteTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTagsRequest method. +// req, resp := client.DeleteTagsRequest(params) // -// // Example sending a request using the DeleteTagsRequest method. -// req, resp := client.DeleteTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteTags func (c *ApplicationDiscoveryService) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { @@ -554,26 +553,27 @@ func (c *ApplicationDiscoveryService) DeleteTagsRequest(input *DeleteTagsInput) // API operation DeleteTags for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * ResourceNotFoundException -// The specified configuration ID was not located. Verify the configuration -// ID and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. +// +// - ResourceNotFoundException +// The specified configuration ID was not located. Verify the configuration +// ID and try again. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DeleteTags func (c *ApplicationDiscoveryService) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) { @@ -613,14 +613,13 @@ const opDescribeAgents = "DescribeAgents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAgentsRequest method. +// req, resp := client.DescribeAgentsRequest(params) // -// // Example sending a request using the DescribeAgentsRequest method. -// req, resp := client.DescribeAgentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeAgents func (c *ApplicationDiscoveryService) DescribeAgentsRequest(input *DescribeAgentsInput) (req *request.Request, output *DescribeAgentsOutput) { @@ -653,22 +652,23 @@ func (c *ApplicationDiscoveryService) DescribeAgentsRequest(input *DescribeAgent // API operation DescribeAgents for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeAgents func (c *ApplicationDiscoveryService) DescribeAgents(input *DescribeAgentsInput) (*DescribeAgentsOutput, error) { @@ -708,14 +708,13 @@ const opDescribeConfigurations = "DescribeConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConfigurationsRequest method. +// req, resp := client.DescribeConfigurationsRequest(params) // -// // Example sending a request using the DescribeConfigurationsRequest method. -// req, resp := client.DescribeConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeConfigurations func (c *ApplicationDiscoveryService) DescribeConfigurationsRequest(input *DescribeConfigurationsInput) (req *request.Request, output *DescribeConfigurationsOutput) { @@ -740,13 +739,13 @@ func (c *ApplicationDiscoveryService) DescribeConfigurationsRequest(input *Descr // // All of the supplied IDs must be for the same asset type from one of the following: // -// * server +// - server // -// * application +// - application // -// * process +// - process // -// * connection +// - connection // // Output fields are specific to the asset type specified. For example, the // output for a server configuration item includes a list of attributes about @@ -765,22 +764,23 @@ func (c *ApplicationDiscoveryService) DescribeConfigurationsRequest(input *Descr // API operation DescribeConfigurations for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeConfigurations func (c *ApplicationDiscoveryService) DescribeConfigurations(input *DescribeConfigurationsInput) (*DescribeConfigurationsOutput, error) { @@ -820,14 +820,13 @@ const opDescribeContinuousExports = "DescribeContinuousExports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeContinuousExportsRequest method. +// req, resp := client.DescribeContinuousExportsRequest(params) // -// // Example sending a request using the DescribeContinuousExportsRequest method. -// req, resp := client.DescribeContinuousExportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeContinuousExports func (c *ApplicationDiscoveryService) DescribeContinuousExportsRequest(input *DescribeContinuousExportsInput) (req *request.Request, output *DescribeContinuousExportsOutput) { @@ -866,29 +865,30 @@ func (c *ApplicationDiscoveryService) DescribeContinuousExportsRequest(input *De // API operation DescribeContinuousExports for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * OperationNotPermittedException -// This operation is not permitted. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * ResourceNotFoundException -// The specified configuration ID was not located. Verify the configuration -// ID and try again. +// - OperationNotPermittedException +// This operation is not permitted. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - ResourceNotFoundException +// The specified configuration ID was not located. Verify the configuration +// ID and try again. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeContinuousExports func (c *ApplicationDiscoveryService) DescribeContinuousExports(input *DescribeContinuousExportsInput) (*DescribeContinuousExportsOutput, error) { @@ -920,15 +920,14 @@ func (c *ApplicationDiscoveryService) DescribeContinuousExportsWithContext(ctx a // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeContinuousExports operation. -// pageNum := 0 -// err := client.DescribeContinuousExportsPages(params, -// func(page *applicationdiscoveryservice.DescribeContinuousExportsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeContinuousExports operation. +// pageNum := 0 +// err := client.DescribeContinuousExportsPages(params, +// func(page *applicationdiscoveryservice.DescribeContinuousExportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ApplicationDiscoveryService) DescribeContinuousExportsPages(input *DescribeContinuousExportsInput, fn func(*DescribeContinuousExportsOutput, bool) bool) error { return c.DescribeContinuousExportsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -980,14 +979,13 @@ const opDescribeExportConfigurations = "DescribeExportConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExportConfigurationsRequest method. +// req, resp := client.DescribeExportConfigurationsRequest(params) // -// // Example sending a request using the DescribeExportConfigurationsRequest method. -// req, resp := client.DescribeExportConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportConfigurations // @@ -1024,26 +1022,27 @@ func (c *ApplicationDiscoveryService) DescribeExportConfigurationsRequest(input // API operation DescribeExportConfigurations for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * ResourceNotFoundException -// The specified configuration ID was not located. Verify the configuration -// ID and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - ResourceNotFoundException +// The specified configuration ID was not located. Verify the configuration +// ID and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportConfigurations // @@ -1087,14 +1086,13 @@ const opDescribeExportTasks = "DescribeExportTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExportTasksRequest method. +// req, resp := client.DescribeExportTasksRequest(params) // -// // Example sending a request using the DescribeExportTasksRequest method. -// req, resp := client.DescribeExportTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportTasks func (c *ApplicationDiscoveryService) DescribeExportTasksRequest(input *DescribeExportTasksInput) (req *request.Request, output *DescribeExportTasksOutput) { @@ -1126,22 +1124,23 @@ func (c *ApplicationDiscoveryService) DescribeExportTasksRequest(input *Describe // API operation DescribeExportTasks for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. +// +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeExportTasks func (c *ApplicationDiscoveryService) DescribeExportTasks(input *DescribeExportTasksInput) (*DescribeExportTasksOutput, error) { @@ -1181,14 +1180,13 @@ const opDescribeImportTasks = "DescribeImportTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImportTasksRequest method. +// req, resp := client.DescribeImportTasksRequest(params) // -// // Example sending a request using the DescribeImportTasksRequest method. -// req, resp := client.DescribeImportTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeImportTasks func (c *ApplicationDiscoveryService) DescribeImportTasksRequest(input *DescribeImportTasksInput) (req *request.Request, output *DescribeImportTasksOutput) { @@ -1226,22 +1224,23 @@ func (c *ApplicationDiscoveryService) DescribeImportTasksRequest(input *Describe // API operation DescribeImportTasks for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. +// +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeImportTasks func (c *ApplicationDiscoveryService) DescribeImportTasks(input *DescribeImportTasksInput) (*DescribeImportTasksOutput, error) { @@ -1273,15 +1272,14 @@ func (c *ApplicationDiscoveryService) DescribeImportTasksWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeImportTasks operation. -// pageNum := 0 -// err := client.DescribeImportTasksPages(params, -// func(page *applicationdiscoveryservice.DescribeImportTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeImportTasks operation. +// pageNum := 0 +// err := client.DescribeImportTasksPages(params, +// func(page *applicationdiscoveryservice.DescribeImportTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ApplicationDiscoveryService) DescribeImportTasksPages(input *DescribeImportTasksInput, fn func(*DescribeImportTasksOutput, bool) bool) error { return c.DescribeImportTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1333,14 +1331,13 @@ const opDescribeTags = "DescribeTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTagsRequest method. +// req, resp := client.DescribeTagsRequest(params) // -// // Example sending a request using the DescribeTagsRequest method. -// req, resp := client.DescribeTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeTags func (c *ApplicationDiscoveryService) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { @@ -1366,11 +1363,11 @@ func (c *ApplicationDiscoveryService) DescribeTagsRequest(input *DescribeTagsInp // // There are three valid tag filter names: // -// * tagKey +// - tagKey // -// * tagValue +// - tagValue // -// * configurationId +// - configurationId // // Also, all configuration items associated with your user account that have // tags can be listed if you call DescribeTags as is without passing any parameters. @@ -1383,26 +1380,27 @@ func (c *ApplicationDiscoveryService) DescribeTagsRequest(input *DescribeTagsInp // API operation DescribeTags for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * ResourceNotFoundException -// The specified configuration ID was not located. Verify the configuration -// ID and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. +// +// - ResourceNotFoundException +// The specified configuration ID was not located. Verify the configuration +// ID and try again. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeTags func (c *ApplicationDiscoveryService) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { @@ -1442,14 +1440,13 @@ const opDisassociateConfigurationItemsFromApplication = "DisassociateConfigurati // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateConfigurationItemsFromApplicationRequest method. +// req, resp := client.DisassociateConfigurationItemsFromApplicationRequest(params) // -// // Example sending a request using the DisassociateConfigurationItemsFromApplicationRequest method. -// req, resp := client.DisassociateConfigurationItemsFromApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DisassociateConfigurationItemsFromApplication func (c *ApplicationDiscoveryService) DisassociateConfigurationItemsFromApplicationRequest(input *DisassociateConfigurationItemsFromApplicationInput) (req *request.Request, output *DisassociateConfigurationItemsFromApplicationOutput) { @@ -1481,22 +1478,23 @@ func (c *ApplicationDiscoveryService) DisassociateConfigurationItemsFromApplicat // API operation DisassociateConfigurationItemsFromApplication for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. +// +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DisassociateConfigurationItemsFromApplication func (c *ApplicationDiscoveryService) DisassociateConfigurationItemsFromApplication(input *DisassociateConfigurationItemsFromApplicationInput) (*DisassociateConfigurationItemsFromApplicationOutput, error) { @@ -1536,14 +1534,13 @@ const opExportConfigurations = "ExportConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportConfigurationsRequest method. +// req, resp := client.ExportConfigurationsRequest(params) // -// // Example sending a request using the ExportConfigurationsRequest method. -// req, resp := client.ExportConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ExportConfigurations // @@ -1585,25 +1582,26 @@ func (c *ApplicationDiscoveryService) ExportConfigurationsRequest(input *ExportC // API operation ExportConfigurations for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. +// +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * OperationNotPermittedException -// This operation is not permitted. +// - OperationNotPermittedException +// This operation is not permitted. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ExportConfigurations // @@ -1647,14 +1645,13 @@ const opGetDiscoverySummary = "GetDiscoverySummary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDiscoverySummaryRequest method. +// req, resp := client.GetDiscoverySummaryRequest(params) // -// // Example sending a request using the GetDiscoverySummaryRequest method. -// req, resp := client.GetDiscoverySummaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/GetDiscoverySummary func (c *ApplicationDiscoveryService) GetDiscoverySummaryRequest(input *GetDiscoverySummaryInput) (req *request.Request, output *GetDiscoverySummaryOutput) { @@ -1688,22 +1685,23 @@ func (c *ApplicationDiscoveryService) GetDiscoverySummaryRequest(input *GetDisco // API operation GetDiscoverySummary for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/GetDiscoverySummary func (c *ApplicationDiscoveryService) GetDiscoverySummary(input *GetDiscoverySummaryInput) (*GetDiscoverySummaryOutput, error) { @@ -1743,14 +1741,13 @@ const opListConfigurations = "ListConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConfigurationsRequest method. +// req, resp := client.ListConfigurationsRequest(params) // -// // Example sending a request using the ListConfigurationsRequest method. -// req, resp := client.ListConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListConfigurations func (c *ApplicationDiscoveryService) ListConfigurationsRequest(input *ListConfigurationsInput) (req *request.Request, output *ListConfigurationsOutput) { @@ -1783,26 +1780,27 @@ func (c *ApplicationDiscoveryService) ListConfigurationsRequest(input *ListConfi // API operation ListConfigurations for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * ResourceNotFoundException -// The specified configuration ID was not located. Verify the configuration -// ID and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. +// +// - ResourceNotFoundException +// The specified configuration ID was not located. Verify the configuration +// ID and try again. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListConfigurations func (c *ApplicationDiscoveryService) ListConfigurations(input *ListConfigurationsInput) (*ListConfigurationsOutput, error) { @@ -1842,14 +1840,13 @@ const opListServerNeighbors = "ListServerNeighbors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServerNeighborsRequest method. +// req, resp := client.ListServerNeighborsRequest(params) // -// // Example sending a request using the ListServerNeighborsRequest method. -// req, resp := client.ListServerNeighborsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListServerNeighbors func (c *ApplicationDiscoveryService) ListServerNeighborsRequest(input *ListServerNeighborsInput) (req *request.Request, output *ListServerNeighborsOutput) { @@ -1881,22 +1878,23 @@ func (c *ApplicationDiscoveryService) ListServerNeighborsRequest(input *ListServ // API operation ListServerNeighbors for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. +// +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListServerNeighbors func (c *ApplicationDiscoveryService) ListServerNeighbors(input *ListServerNeighborsInput) (*ListServerNeighborsOutput, error) { @@ -1936,14 +1934,13 @@ const opStartContinuousExport = "StartContinuousExport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartContinuousExportRequest method. +// req, resp := client.StartContinuousExportRequest(params) // -// // Example sending a request using the StartContinuousExportRequest method. -// req, resp := client.StartContinuousExportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartContinuousExport func (c *ApplicationDiscoveryService) StartContinuousExportRequest(input *StartContinuousExportInput) (req *request.Request, output *StartContinuousExportOutput) { @@ -1974,34 +1971,35 @@ func (c *ApplicationDiscoveryService) StartContinuousExportRequest(input *StartC // API operation StartContinuousExport for usage and error information. // // Returned Error Types: -// * ConflictErrorException // -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ConflictErrorException // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * OperationNotPermittedException -// This operation is not permitted. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * ResourceInUseException -// This issue occurs when the same clientRequestToken is used with the StartImportTask -// action, but with different parameters. For example, you use the same request -// token but have two different import URLs, you can encounter this issue. If -// the import tasks are meant to be different, use a different clientRequestToken, -// and try again. +// - OperationNotPermittedException +// This operation is not permitted. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - ResourceInUseException +// This issue occurs when the same clientRequestToken is used with the StartImportTask +// action, but with different parameters. For example, you use the same request +// token but have two different import URLs, you can encounter this issue. If +// the import tasks are meant to be different, use a different clientRequestToken, +// and try again. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartContinuousExport func (c *ApplicationDiscoveryService) StartContinuousExport(input *StartContinuousExportInput) (*StartContinuousExportOutput, error) { @@ -2041,14 +2039,13 @@ const opStartDataCollectionByAgentIds = "StartDataCollectionByAgentIds" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDataCollectionByAgentIdsRequest method. +// req, resp := client.StartDataCollectionByAgentIdsRequest(params) // -// // Example sending a request using the StartDataCollectionByAgentIdsRequest method. -// req, resp := client.StartDataCollectionByAgentIdsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartDataCollectionByAgentIds func (c *ApplicationDiscoveryService) StartDataCollectionByAgentIdsRequest(input *StartDataCollectionByAgentIdsInput) (req *request.Request, output *StartDataCollectionByAgentIdsOutput) { @@ -2079,22 +2076,23 @@ func (c *ApplicationDiscoveryService) StartDataCollectionByAgentIdsRequest(input // API operation StartDataCollectionByAgentIds for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartDataCollectionByAgentIds func (c *ApplicationDiscoveryService) StartDataCollectionByAgentIds(input *StartDataCollectionByAgentIdsInput) (*StartDataCollectionByAgentIdsOutput, error) { @@ -2134,14 +2132,13 @@ const opStartExportTask = "StartExportTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartExportTaskRequest method. +// req, resp := client.StartExportTaskRequest(params) // -// // Example sending a request using the StartExportTaskRequest method. -// req, resp := client.StartExportTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartExportTask func (c *ApplicationDiscoveryService) StartExportTaskRequest(input *StartExportTaskInput) (req *request.Request, output *StartExportTaskOutput) { @@ -2183,25 +2180,26 @@ func (c *ApplicationDiscoveryService) StartExportTaskRequest(input *StartExportT // API operation StartExportTask for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * OperationNotPermittedException -// This operation is not permitted. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - OperationNotPermittedException +// This operation is not permitted. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartExportTask func (c *ApplicationDiscoveryService) StartExportTask(input *StartExportTaskInput) (*StartExportTaskOutput, error) { @@ -2241,14 +2239,13 @@ const opStartImportTask = "StartImportTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartImportTaskRequest method. +// req, resp := client.StartImportTaskRequest(params) // -// // Example sending a request using the StartImportTaskRequest method. -// req, resp := client.StartImportTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartImportTask func (c *ApplicationDiscoveryService) StartImportTaskRequest(input *StartImportTaskInput) (req *request.Request, output *StartImportTaskOutput) { @@ -2308,29 +2305,30 @@ func (c *ApplicationDiscoveryService) StartImportTaskRequest(input *StartImportT // API operation StartImportTask for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// This issue occurs when the same clientRequestToken is used with the StartImportTask -// action, but with different parameters. For example, you use the same request -// token but have two different import URLs, you can encounter this issue. If -// the import tasks are meant to be different, use a different clientRequestToken, -// and try again. // -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ResourceInUseException +// This issue occurs when the same clientRequestToken is used with the StartImportTask +// action, but with different parameters. For example, you use the same request +// token but have two different import URLs, you can encounter this issue. If +// the import tasks are meant to be different, use a different clientRequestToken, +// and try again. +// +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartImportTask func (c *ApplicationDiscoveryService) StartImportTask(input *StartImportTaskInput) (*StartImportTaskOutput, error) { @@ -2370,14 +2368,13 @@ const opStopContinuousExport = "StopContinuousExport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopContinuousExportRequest method. +// req, resp := client.StopContinuousExportRequest(params) // -// // Example sending a request using the StopContinuousExportRequest method. -// req, resp := client.StopContinuousExportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopContinuousExport func (c *ApplicationDiscoveryService) StopContinuousExportRequest(input *StopContinuousExportInput) (req *request.Request, output *StopContinuousExportOutput) { @@ -2408,36 +2405,37 @@ func (c *ApplicationDiscoveryService) StopContinuousExportRequest(input *StopCon // API operation StopContinuousExport for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. +// +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * OperationNotPermittedException -// This operation is not permitted. +// - OperationNotPermittedException +// This operation is not permitted. // -// * ResourceNotFoundException -// The specified configuration ID was not located. Verify the configuration -// ID and try again. +// - ResourceNotFoundException +// The specified configuration ID was not located. Verify the configuration +// ID and try again. // -// * ResourceInUseException -// This issue occurs when the same clientRequestToken is used with the StartImportTask -// action, but with different parameters. For example, you use the same request -// token but have two different import URLs, you can encounter this issue. If -// the import tasks are meant to be different, use a different clientRequestToken, -// and try again. +// - ResourceInUseException +// This issue occurs when the same clientRequestToken is used with the StartImportTask +// action, but with different parameters. For example, you use the same request +// token but have two different import URLs, you can encounter this issue. If +// the import tasks are meant to be different, use a different clientRequestToken, +// and try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopContinuousExport func (c *ApplicationDiscoveryService) StopContinuousExport(input *StopContinuousExportInput) (*StopContinuousExportOutput, error) { @@ -2477,14 +2475,13 @@ const opStopDataCollectionByAgentIds = "StopDataCollectionByAgentIds" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopDataCollectionByAgentIdsRequest method. +// req, resp := client.StopDataCollectionByAgentIdsRequest(params) // -// // Example sending a request using the StopDataCollectionByAgentIdsRequest method. -// req, resp := client.StopDataCollectionByAgentIdsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopDataCollectionByAgentIds func (c *ApplicationDiscoveryService) StopDataCollectionByAgentIdsRequest(input *StopDataCollectionByAgentIdsInput) (req *request.Request, output *StopDataCollectionByAgentIdsOutput) { @@ -2515,22 +2512,23 @@ func (c *ApplicationDiscoveryService) StopDataCollectionByAgentIdsRequest(input // API operation StopDataCollectionByAgentIds for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StopDataCollectionByAgentIds func (c *ApplicationDiscoveryService) StopDataCollectionByAgentIds(input *StopDataCollectionByAgentIdsInput) (*StopDataCollectionByAgentIdsOutput, error) { @@ -2570,14 +2568,13 @@ const opUpdateApplication = "UpdateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationRequest method. +// req, resp := client.UpdateApplicationRequest(params) // -// // Example sending a request using the UpdateApplicationRequest method. -// req, resp := client.UpdateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/UpdateApplication func (c *ApplicationDiscoveryService) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) { @@ -2609,22 +2606,23 @@ func (c *ApplicationDiscoveryService) UpdateApplicationRequest(input *UpdateAppl // API operation UpdateApplication for usage and error information. // // Returned Error Types: -// * AuthorizationErrorException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. // -// * InvalidParameterException -// One or more parameters are not valid. Verify the parameters and try again. +// - AuthorizationErrorException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. +// +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. // -// * InvalidParameterValueException -// The value of one or more parameters are either invalid or out of range. Verify -// the parameter values and try again. +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. // -// * ServerInternalErrorException -// The server experienced an internal error. Try again. +// - ServerInternalErrorException +// The server experienced an internal error. Try again. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/UpdateApplication func (c *ApplicationDiscoveryService) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/applicationdiscoveryserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/applicationdiscoveryserviceiface/interface.go index 354b1c6384b5..67569aabbafe 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/applicationdiscoveryserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/applicationdiscoveryserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Application Discovery Service. -// func myFunc(svc applicationdiscoveryserviceiface.ApplicationDiscoveryServiceAPI) bool { -// // Make svc.AssociateConfigurationItemsToApplication request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Application Discovery Service. +// func myFunc(svc applicationdiscoveryserviceiface.ApplicationDiscoveryServiceAPI) bool { +// // Make svc.AssociateConfigurationItemsToApplication request +// } // -// func main() { -// sess := session.New() -// svc := applicationdiscoveryservice.New(sess) +// func main() { +// sess := session.New() +// svc := applicationdiscoveryservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockApplicationDiscoveryServiceClient struct { -// applicationdiscoveryserviceiface.ApplicationDiscoveryServiceAPI -// } -// func (m *mockApplicationDiscoveryServiceClient) AssociateConfigurationItemsToApplication(input *applicationdiscoveryservice.AssociateConfigurationItemsToApplicationInput) (*applicationdiscoveryservice.AssociateConfigurationItemsToApplicationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockApplicationDiscoveryServiceClient struct { +// applicationdiscoveryserviceiface.ApplicationDiscoveryServiceAPI +// } +// func (m *mockApplicationDiscoveryServiceClient) AssociateConfigurationItemsToApplication(input *applicationdiscoveryservice.AssociateConfigurationItemsToApplicationInput) (*applicationdiscoveryservice.AssociateConfigurationItemsToApplicationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockApplicationDiscoveryServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockApplicationDiscoveryServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/doc.go index e21ebbf33db4..c47c599e941b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/doc.go @@ -11,32 +11,32 @@ // Service offers three ways of performing discovery and collecting data about // your on-premises servers: // -// * Agentless discovery is recommended for environments that use VMware -// vCenter Server. This mode doesn't require you to install an agent on each -// host. It does not work in non-VMware environments. Agentless discovery -// gathers server information regardless of the operating systems, which -// minimizes the time required for initial on-premises infrastructure assessment. -// Agentless discovery doesn't collect information about network dependencies, -// only agent-based discovery collects that information. -// -// * Agent-based discovery collects a richer set of data than agentless discovery -// by using the Amazon Web Services Application Discovery Agent, which you -// install on one or more hosts in your data center. The agent captures infrastructure -// and application information, including an inventory of running processes, -// system performance information, resource utilization, and network dependencies. -// The information collected by agents is secured at rest and in transit -// to the Application Discovery Service database in the cloud. -// -// * Amazon Web Services Partner Network (APN) solutions integrate with Application -// Discovery Service, enabling you to import details of your on-premises -// environment directly into Migration Hub without using the discovery connector -// or discovery agent. Third-party application discovery tools can query -// Amazon Web Services Application Discovery Service, and they can write -// to the Application Discovery Service database using the public API. In -// this way, you can import data into Migration Hub and view it, so that -// you can associate applications with servers and track migrations. -// -// Recommendations +// - Agentless discovery is recommended for environments that use VMware +// vCenter Server. This mode doesn't require you to install an agent on each +// host. It does not work in non-VMware environments. Agentless discovery +// gathers server information regardless of the operating systems, which +// minimizes the time required for initial on-premises infrastructure assessment. +// Agentless discovery doesn't collect information about network dependencies, +// only agent-based discovery collects that information. +// +// - Agent-based discovery collects a richer set of data than agentless discovery +// by using the Amazon Web Services Application Discovery Agent, which you +// install on one or more hosts in your data center. The agent captures infrastructure +// and application information, including an inventory of running processes, +// system performance information, resource utilization, and network dependencies. +// The information collected by agents is secured at rest and in transit +// to the Application Discovery Service database in the cloud. +// +// - Amazon Web Services Partner Network (APN) solutions integrate with Application +// Discovery Service, enabling you to import details of your on-premises +// environment directly into Migration Hub without using the discovery connector +// or discovery agent. Third-party application discovery tools can query +// Amazon Web Services Application Discovery Service, and they can write +// to the Application Discovery Service database using the public API. In +// this way, you can import data into Migration Hub and view it, so that +// you can associate applications with servers and track migrations. +// +// # Recommendations // // We recommend that you use agent-based discovery for non-VMware environments, // and whenever you want to collect information about network dependencies. @@ -44,7 +44,7 @@ // discovery to complete the initial infrastructure assessment quickly, and // then install agents on select hosts to collect additional information. // -// Working With This Guide +// # Working With This Guide // // This API reference provides descriptions, syntax, and usage examples for // each of the actions and data types for Application Discovery Service. The @@ -53,22 +53,22 @@ // an API that is tailored to the programming language or platform that you're // using. For more information, see Amazon Web Services SDKs (http://aws.amazon.com/tools/#SDKs). // -// * Remember that you must set your Migration Hub home region before you -// call any of these APIs. +// - Remember that you must set your Migration Hub home region before you +// call any of these APIs. // -// * You must make API calls for write actions (create, notify, associate, -// disassociate, import, or put) while in your home region, or a HomeRegionNotSetException -// error is returned. +// - You must make API calls for write actions (create, notify, associate, +// disassociate, import, or put) while in your home region, or a HomeRegionNotSetException +// error is returned. // -// * API calls for read actions (list, describe, stop, and delete) are permitted -// outside of your home region. +// - API calls for read actions (list, describe, stop, and delete) are permitted +// outside of your home region. // -// * Although it is unlikely, the Migration Hub home region could change. -// If you call APIs outside the home region, an InvalidInputException is -// returned. +// - Although it is unlikely, the Migration Hub home region could change. +// If you call APIs outside the home region, an InvalidInputException is +// returned. // -// * You must call GetHomeRegion to obtain the latest Migration Hub home -// region. +// - You must call GetHomeRegion to obtain the latest Migration Hub home +// region. // // This guide is intended for use with the Amazon Web Services Application Discovery // Service User Guide (http://docs.aws.amazon.com/application-discovery/latest/userguide/). @@ -82,7 +82,7 @@ // See applicationdiscoveryservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/applicationdiscoveryservice/ // -// Using the Client +// # Using the Client // // To contact AWS Application Discovery Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/service.go index 5a0c8c714de1..e557e260e1c5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationdiscoveryservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ApplicationDiscoveryService client from just a session. -// svc := applicationdiscoveryservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ApplicationDiscoveryService client with additional configuration -// svc := applicationdiscoveryservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ApplicationDiscoveryService client from just a session. +// svc := applicationdiscoveryservice.New(mySession) +// +// // Create a ApplicationDiscoveryService client with additional configuration +// svc := applicationdiscoveryservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ApplicationDiscoveryService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/api.go index 264610691c78..5696f13eb58d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/api.go @@ -29,14 +29,13 @@ const opCreateApplication = "CreateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationRequest method. +// req, resp := client.CreateApplicationRequest(params) // -// // Example sending a request using the CreateApplicationRequest method. -// req, resp := client.CreateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplication func (c *ApplicationInsights) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput) { @@ -67,23 +66,24 @@ func (c *ApplicationInsights) CreateApplicationRequest(input *CreateApplicationI // API operation CreateApplication for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The resource is already created or in use. // -// * ResourceNotFoundException -// The resource does not exist in the customer account. +// - ResourceInUseException +// The resource is already created or in use. +// +// - ResourceNotFoundException +// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ValidationException +// The parameter is not valid. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * TagsAlreadyExistException -// Tags are already registered for the specified application ARN. +// - TagsAlreadyExistException +// Tags are already registered for the specified application ARN. // -// * AccessDeniedException -// User does not have permissions to perform this action. +// - AccessDeniedException +// User does not have permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateApplication func (c *ApplicationInsights) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error) { @@ -123,14 +123,13 @@ const opCreateComponent = "CreateComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateComponentRequest method. +// req, resp := client.CreateComponentRequest(params) // -// // Example sending a request using the CreateComponentRequest method. -// req, resp := client.CreateComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateComponent func (c *ApplicationInsights) CreateComponentRequest(input *CreateComponentInput) (req *request.Request, output *CreateComponentOutput) { @@ -162,17 +161,18 @@ func (c *ApplicationInsights) CreateComponentRequest(input *CreateComponentInput // API operation CreateComponent for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The resource is already created or in use. // -// * ResourceNotFoundException -// The resource does not exist in the customer account. +// - ResourceInUseException +// The resource is already created or in use. +// +// - ResourceNotFoundException +// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ValidationException +// The parameter is not valid. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateComponent func (c *ApplicationInsights) CreateComponent(input *CreateComponentInput) (*CreateComponentOutput, error) { @@ -212,14 +212,13 @@ const opCreateLogPattern = "CreateLogPattern" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLogPatternRequest method. +// req, resp := client.CreateLogPatternRequest(params) // -// // Example sending a request using the CreateLogPatternRequest method. -// req, resp := client.CreateLogPatternRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateLogPattern func (c *ApplicationInsights) CreateLogPatternRequest(input *CreateLogPatternInput) (req *request.Request, output *CreateLogPatternOutput) { @@ -250,17 +249,18 @@ func (c *ApplicationInsights) CreateLogPatternRequest(input *CreateLogPatternInp // API operation CreateLogPattern for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The resource is already created or in use. // -// * ResourceNotFoundException -// The resource does not exist in the customer account. +// - ResourceInUseException +// The resource is already created or in use. +// +// - ResourceNotFoundException +// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ValidationException +// The parameter is not valid. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/CreateLogPattern func (c *ApplicationInsights) CreateLogPattern(input *CreateLogPatternInput) (*CreateLogPatternOutput, error) { @@ -300,14 +300,13 @@ const opDeleteApplication = "DeleteApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationRequest method. +// req, resp := client.DeleteApplicationRequest(params) // -// // Example sending a request using the DeleteApplicationRequest method. -// req, resp := client.DeleteApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteApplication func (c *ApplicationInsights) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) { @@ -339,17 +338,18 @@ func (c *ApplicationInsights) DeleteApplicationRequest(input *DeleteApplicationI // API operation DeleteApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. +// +// - ValidationException +// The parameter is not valid. // -// * BadRequestException -// The request is not understood by the server. +// - BadRequestException +// The request is not understood by the server. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteApplication func (c *ApplicationInsights) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) { @@ -389,14 +389,13 @@ const opDeleteComponent = "DeleteComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteComponentRequest method. +// req, resp := client.DeleteComponentRequest(params) // -// // Example sending a request using the DeleteComponentRequest method. -// req, resp := client.DeleteComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteComponent func (c *ApplicationInsights) DeleteComponentRequest(input *DeleteComponentInput) (req *request.Request, output *DeleteComponentOutput) { @@ -430,14 +429,15 @@ func (c *ApplicationInsights) DeleteComponentRequest(input *DeleteComponentInput // API operation DeleteComponent for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. +// +// - ValidationException +// The parameter is not valid. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteComponent func (c *ApplicationInsights) DeleteComponent(input *DeleteComponentInput) (*DeleteComponentOutput, error) { @@ -477,14 +477,13 @@ const opDeleteLogPattern = "DeleteLogPattern" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLogPatternRequest method. +// req, resp := client.DeleteLogPatternRequest(params) // -// // Example sending a request using the DeleteLogPatternRequest method. -// req, resp := client.DeleteLogPatternRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteLogPattern func (c *ApplicationInsights) DeleteLogPatternRequest(input *DeleteLogPatternInput) (req *request.Request, output *DeleteLogPatternOutput) { @@ -516,17 +515,18 @@ func (c *ApplicationInsights) DeleteLogPatternRequest(input *DeleteLogPatternInp // API operation DeleteLogPattern for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. +// +// - ValidationException +// The parameter is not valid. // -// * BadRequestException -// The request is not understood by the server. +// - BadRequestException +// The request is not understood by the server. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DeleteLogPattern func (c *ApplicationInsights) DeleteLogPattern(input *DeleteLogPatternInput) (*DeleteLogPatternOutput, error) { @@ -566,14 +566,13 @@ const opDescribeApplication = "DescribeApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApplicationRequest method. +// req, resp := client.DescribeApplicationRequest(params) // -// // Example sending a request using the DescribeApplicationRequest method. -// req, resp := client.DescribeApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplication func (c *ApplicationInsights) DescribeApplicationRequest(input *DescribeApplicationInput) (req *request.Request, output *DescribeApplicationOutput) { @@ -604,14 +603,15 @@ func (c *ApplicationInsights) DescribeApplicationRequest(input *DescribeApplicat // API operation DescribeApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. +// +// - ValidationException +// The parameter is not valid. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeApplication func (c *ApplicationInsights) DescribeApplication(input *DescribeApplicationInput) (*DescribeApplicationOutput, error) { @@ -651,14 +651,13 @@ const opDescribeComponent = "DescribeComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeComponentRequest method. +// req, resp := client.DescribeComponentRequest(params) // -// // Example sending a request using the DescribeComponentRequest method. -// req, resp := client.DescribeComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponent func (c *ApplicationInsights) DescribeComponentRequest(input *DescribeComponentInput) (req *request.Request, output *DescribeComponentOutput) { @@ -690,14 +689,15 @@ func (c *ApplicationInsights) DescribeComponentRequest(input *DescribeComponentI // API operation DescribeComponent for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ValidationException +// The parameter is not valid. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponent func (c *ApplicationInsights) DescribeComponent(input *DescribeComponentInput) (*DescribeComponentOutput, error) { @@ -737,14 +737,13 @@ const opDescribeComponentConfiguration = "DescribeComponentConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeComponentConfigurationRequest method. +// req, resp := client.DescribeComponentConfigurationRequest(params) // -// // Example sending a request using the DescribeComponentConfigurationRequest method. -// req, resp := client.DescribeComponentConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfiguration func (c *ApplicationInsights) DescribeComponentConfigurationRequest(input *DescribeComponentConfigurationInput) (req *request.Request, output *DescribeComponentConfigurationOutput) { @@ -775,14 +774,15 @@ func (c *ApplicationInsights) DescribeComponentConfigurationRequest(input *Descr // API operation DescribeComponentConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ValidationException +// The parameter is not valid. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfiguration func (c *ApplicationInsights) DescribeComponentConfiguration(input *DescribeComponentConfigurationInput) (*DescribeComponentConfigurationOutput, error) { @@ -822,14 +822,13 @@ const opDescribeComponentConfigurationRecommendation = "DescribeComponentConfigu // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeComponentConfigurationRecommendationRequest method. +// req, resp := client.DescribeComponentConfigurationRecommendationRequest(params) // -// // Example sending a request using the DescribeComponentConfigurationRecommendationRequest method. -// req, resp := client.DescribeComponentConfigurationRecommendationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfigurationRecommendation func (c *ApplicationInsights) DescribeComponentConfigurationRecommendationRequest(input *DescribeComponentConfigurationRecommendationInput) (req *request.Request, output *DescribeComponentConfigurationRecommendationOutput) { @@ -860,14 +859,15 @@ func (c *ApplicationInsights) DescribeComponentConfigurationRecommendationReques // API operation DescribeComponentConfigurationRecommendation for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ValidationException +// The parameter is not valid. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeComponentConfigurationRecommendation func (c *ApplicationInsights) DescribeComponentConfigurationRecommendation(input *DescribeComponentConfigurationRecommendationInput) (*DescribeComponentConfigurationRecommendationOutput, error) { @@ -907,14 +907,13 @@ const opDescribeLogPattern = "DescribeLogPattern" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLogPatternRequest method. +// req, resp := client.DescribeLogPatternRequest(params) // -// // Example sending a request using the DescribeLogPatternRequest method. -// req, resp := client.DescribeLogPatternRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeLogPattern func (c *ApplicationInsights) DescribeLogPatternRequest(input *DescribeLogPatternInput) (req *request.Request, output *DescribeLogPatternOutput) { @@ -945,14 +944,15 @@ func (c *ApplicationInsights) DescribeLogPatternRequest(input *DescribeLogPatter // API operation DescribeLogPattern for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ValidationException +// The parameter is not valid. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeLogPattern func (c *ApplicationInsights) DescribeLogPattern(input *DescribeLogPatternInput) (*DescribeLogPatternOutput, error) { @@ -992,14 +992,13 @@ const opDescribeObservation = "DescribeObservation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeObservationRequest method. +// req, resp := client.DescribeObservationRequest(params) // -// // Example sending a request using the DescribeObservationRequest method. -// req, resp := client.DescribeObservationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeObservation func (c *ApplicationInsights) DescribeObservationRequest(input *DescribeObservationInput) (req *request.Request, output *DescribeObservationOutput) { @@ -1030,14 +1029,15 @@ func (c *ApplicationInsights) DescribeObservationRequest(input *DescribeObservat // API operation DescribeObservation for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ResourceNotFoundException -// The resource does not exist in the customer account. +// - ValidationException +// The parameter is not valid. +// +// - ResourceNotFoundException +// The resource does not exist in the customer account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeObservation func (c *ApplicationInsights) DescribeObservation(input *DescribeObservationInput) (*DescribeObservationOutput, error) { @@ -1077,14 +1077,13 @@ const opDescribeProblem = "DescribeProblem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProblemRequest method. +// req, resp := client.DescribeProblemRequest(params) // -// // Example sending a request using the DescribeProblemRequest method. -// req, resp := client.DescribeProblemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblem func (c *ApplicationInsights) DescribeProblemRequest(input *DescribeProblemInput) (req *request.Request, output *DescribeProblemOutput) { @@ -1115,14 +1114,15 @@ func (c *ApplicationInsights) DescribeProblemRequest(input *DescribeProblemInput // API operation DescribeProblem for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ResourceNotFoundException -// The resource does not exist in the customer account. +// - ValidationException +// The parameter is not valid. +// +// - ResourceNotFoundException +// The resource does not exist in the customer account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblem func (c *ApplicationInsights) DescribeProblem(input *DescribeProblemInput) (*DescribeProblemOutput, error) { @@ -1162,14 +1162,13 @@ const opDescribeProblemObservations = "DescribeProblemObservations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProblemObservationsRequest method. +// req, resp := client.DescribeProblemObservationsRequest(params) // -// // Example sending a request using the DescribeProblemObservationsRequest method. -// req, resp := client.DescribeProblemObservationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemObservations func (c *ApplicationInsights) DescribeProblemObservationsRequest(input *DescribeProblemObservationsInput) (req *request.Request, output *DescribeProblemObservationsOutput) { @@ -1200,14 +1199,15 @@ func (c *ApplicationInsights) DescribeProblemObservationsRequest(input *Describe // API operation DescribeProblemObservations for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ResourceNotFoundException -// The resource does not exist in the customer account. +// - ValidationException +// The parameter is not valid. +// +// - ResourceNotFoundException +// The resource does not exist in the customer account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/DescribeProblemObservations func (c *ApplicationInsights) DescribeProblemObservations(input *DescribeProblemObservationsInput) (*DescribeProblemObservationsOutput, error) { @@ -1247,14 +1247,13 @@ const opListApplications = "ListApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationsRequest method. +// req, resp := client.ListApplicationsRequest(params) // -// // Example sending a request using the ListApplicationsRequest method. -// req, resp := client.ListApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListApplications func (c *ApplicationInsights) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput) { @@ -1291,11 +1290,12 @@ func (c *ApplicationInsights) ListApplicationsRequest(input *ListApplicationsInp // API operation ListApplications for usage and error information. // // Returned Error Types: -// * ValidationException -// The parameter is not valid. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ValidationException +// The parameter is not valid. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListApplications func (c *ApplicationInsights) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error) { @@ -1327,15 +1327,14 @@ func (c *ApplicationInsights) ListApplicationsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplications operation. -// pageNum := 0 -// err := client.ListApplicationsPages(params, -// func(page *applicationinsights.ListApplicationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplications operation. +// pageNum := 0 +// err := client.ListApplicationsPages(params, +// func(page *applicationinsights.ListApplicationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ApplicationInsights) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error { return c.ListApplicationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1387,14 +1386,13 @@ const opListComponents = "ListComponents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListComponentsRequest method. +// req, resp := client.ListComponentsRequest(params) // -// // Example sending a request using the ListComponentsRequest method. -// req, resp := client.ListComponentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListComponents func (c *ApplicationInsights) ListComponentsRequest(input *ListComponentsInput) (req *request.Request, output *ListComponentsOutput) { @@ -1431,14 +1429,15 @@ func (c *ApplicationInsights) ListComponentsRequest(input *ListComponentsInput) // API operation ListComponents for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ValidationException +// The parameter is not valid. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListComponents func (c *ApplicationInsights) ListComponents(input *ListComponentsInput) (*ListComponentsOutput, error) { @@ -1470,15 +1469,14 @@ func (c *ApplicationInsights) ListComponentsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListComponents operation. -// pageNum := 0 -// err := client.ListComponentsPages(params, -// func(page *applicationinsights.ListComponentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListComponents operation. +// pageNum := 0 +// err := client.ListComponentsPages(params, +// func(page *applicationinsights.ListComponentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ApplicationInsights) ListComponentsPages(input *ListComponentsInput, fn func(*ListComponentsOutput, bool) bool) error { return c.ListComponentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1530,14 +1528,13 @@ const opListConfigurationHistory = "ListConfigurationHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConfigurationHistoryRequest method. +// req, resp := client.ListConfigurationHistoryRequest(params) // -// // Example sending a request using the ListConfigurationHistoryRequest method. -// req, resp := client.ListConfigurationHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListConfigurationHistory func (c *ApplicationInsights) ListConfigurationHistoryRequest(input *ListConfigurationHistoryInput) (req *request.Request, output *ListConfigurationHistoryOutput) { @@ -1567,12 +1564,12 @@ func (c *ApplicationInsights) ListConfigurationHistoryRequest(input *ListConfigu // Lists the INFO, WARN, and ERROR events for periodic configuration updates // performed by Application Insights. Examples of events represented are: // -// * INFO: creating a new alarm or updating an alarm threshold. +// - INFO: creating a new alarm or updating an alarm threshold. // -// * WARN: alarm not created due to insufficient data points used to predict -// thresholds. +// - WARN: alarm not created due to insufficient data points used to predict +// thresholds. // -// * ERROR: alarm not created due to permission errors or exceeding quotas. +// - ERROR: alarm not created due to permission errors or exceeding quotas. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1582,14 +1579,15 @@ func (c *ApplicationInsights) ListConfigurationHistoryRequest(input *ListConfigu // API operation ListConfigurationHistory for usage and error information. // // Returned Error Types: -// * ValidationException -// The parameter is not valid. // -// * ResourceNotFoundException -// The resource does not exist in the customer account. +// - ValidationException +// The parameter is not valid. +// +// - ResourceNotFoundException +// The resource does not exist in the customer account. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListConfigurationHistory func (c *ApplicationInsights) ListConfigurationHistory(input *ListConfigurationHistoryInput) (*ListConfigurationHistoryOutput, error) { @@ -1621,15 +1619,14 @@ func (c *ApplicationInsights) ListConfigurationHistoryWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListConfigurationHistory operation. -// pageNum := 0 -// err := client.ListConfigurationHistoryPages(params, -// func(page *applicationinsights.ListConfigurationHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListConfigurationHistory operation. +// pageNum := 0 +// err := client.ListConfigurationHistoryPages(params, +// func(page *applicationinsights.ListConfigurationHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ApplicationInsights) ListConfigurationHistoryPages(input *ListConfigurationHistoryInput, fn func(*ListConfigurationHistoryOutput, bool) bool) error { return c.ListConfigurationHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1681,14 +1678,13 @@ const opListLogPatternSets = "ListLogPatternSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLogPatternSetsRequest method. +// req, resp := client.ListLogPatternSetsRequest(params) // -// // Example sending a request using the ListLogPatternSetsRequest method. -// req, resp := client.ListLogPatternSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatternSets func (c *ApplicationInsights) ListLogPatternSetsRequest(input *ListLogPatternSetsInput) (req *request.Request, output *ListLogPatternSetsOutput) { @@ -1725,14 +1721,15 @@ func (c *ApplicationInsights) ListLogPatternSetsRequest(input *ListLogPatternSet // API operation ListLogPatternSets for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ValidationException +// The parameter is not valid. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatternSets func (c *ApplicationInsights) ListLogPatternSets(input *ListLogPatternSetsInput) (*ListLogPatternSetsOutput, error) { @@ -1764,15 +1761,14 @@ func (c *ApplicationInsights) ListLogPatternSetsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLogPatternSets operation. -// pageNum := 0 -// err := client.ListLogPatternSetsPages(params, -// func(page *applicationinsights.ListLogPatternSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLogPatternSets operation. +// pageNum := 0 +// err := client.ListLogPatternSetsPages(params, +// func(page *applicationinsights.ListLogPatternSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ApplicationInsights) ListLogPatternSetsPages(input *ListLogPatternSetsInput, fn func(*ListLogPatternSetsOutput, bool) bool) error { return c.ListLogPatternSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1824,14 +1820,13 @@ const opListLogPatterns = "ListLogPatterns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLogPatternsRequest method. +// req, resp := client.ListLogPatternsRequest(params) // -// // Example sending a request using the ListLogPatternsRequest method. -// req, resp := client.ListLogPatternsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatterns func (c *ApplicationInsights) ListLogPatternsRequest(input *ListLogPatternsInput) (req *request.Request, output *ListLogPatternsOutput) { @@ -1868,14 +1863,15 @@ func (c *ApplicationInsights) ListLogPatternsRequest(input *ListLogPatternsInput // API operation ListLogPatterns for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. +// +// - ValidationException +// The parameter is not valid. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListLogPatterns func (c *ApplicationInsights) ListLogPatterns(input *ListLogPatternsInput) (*ListLogPatternsOutput, error) { @@ -1907,15 +1903,14 @@ func (c *ApplicationInsights) ListLogPatternsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLogPatterns operation. -// pageNum := 0 -// err := client.ListLogPatternsPages(params, -// func(page *applicationinsights.ListLogPatternsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLogPatterns operation. +// pageNum := 0 +// err := client.ListLogPatternsPages(params, +// func(page *applicationinsights.ListLogPatternsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ApplicationInsights) ListLogPatternsPages(input *ListLogPatternsInput, fn func(*ListLogPatternsOutput, bool) bool) error { return c.ListLogPatternsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1967,14 +1962,13 @@ const opListProblems = "ListProblems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProblemsRequest method. +// req, resp := client.ListProblemsRequest(params) // -// // Example sending a request using the ListProblemsRequest method. -// req, resp := client.ListProblemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListProblems func (c *ApplicationInsights) ListProblemsRequest(input *ListProblemsInput) (req *request.Request, output *ListProblemsOutput) { @@ -2011,14 +2005,15 @@ func (c *ApplicationInsights) ListProblemsRequest(input *ListProblemsInput) (req // API operation ListProblems for usage and error information. // // Returned Error Types: -// * ValidationException -// The parameter is not valid. // -// * ResourceNotFoundException -// The resource does not exist in the customer account. +// - ValidationException +// The parameter is not valid. +// +// - ResourceNotFoundException +// The resource does not exist in the customer account. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListProblems func (c *ApplicationInsights) ListProblems(input *ListProblemsInput) (*ListProblemsOutput, error) { @@ -2050,15 +2045,14 @@ func (c *ApplicationInsights) ListProblemsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProblems operation. -// pageNum := 0 -// err := client.ListProblemsPages(params, -// func(page *applicationinsights.ListProblemsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProblems operation. +// pageNum := 0 +// err := client.ListProblemsPages(params, +// func(page *applicationinsights.ListProblemsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ApplicationInsights) ListProblemsPages(input *ListProblemsInput, fn func(*ListProblemsOutput, bool) bool) error { return c.ListProblemsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2110,14 +2104,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListTagsForResource func (c *ApplicationInsights) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2153,11 +2146,12 @@ func (c *ApplicationInsights) ListTagsForResourceRequest(input *ListTagsForResou // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. +// +// - ValidationException +// The parameter is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/ListTagsForResource func (c *ApplicationInsights) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2197,14 +2191,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/TagResource func (c *ApplicationInsights) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2244,15 +2237,16 @@ func (c *ApplicationInsights) TagResourceRequest(input *TagResourceInput) (req * // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource does not exist in the customer account. // -// * TooManyTagsException -// The number of the provided tags is beyond the limit, or the number of total -// tags you are trying to attach to the specified resource exceeds the limit. +// - ResourceNotFoundException +// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - TooManyTagsException +// The number of the provided tags is beyond the limit, or the number of total +// tags you are trying to attach to the specified resource exceeds the limit. +// +// - ValidationException +// The parameter is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/TagResource func (c *ApplicationInsights) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2292,14 +2286,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UntagResource func (c *ApplicationInsights) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2331,11 +2324,12 @@ func (c *ApplicationInsights) UntagResourceRequest(input *UntagResourceInput) (r // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. +// +// - ValidationException +// The parameter is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UntagResource func (c *ApplicationInsights) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2375,14 +2369,13 @@ const opUpdateApplication = "UpdateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationRequest method. +// req, resp := client.UpdateApplicationRequest(params) // -// // Example sending a request using the UpdateApplicationRequest method. -// req, resp := client.UpdateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplication func (c *ApplicationInsights) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) { @@ -2413,14 +2406,15 @@ func (c *ApplicationInsights) UpdateApplicationRequest(input *UpdateApplicationI // API operation UpdateApplication for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ResourceNotFoundException -// The resource does not exist in the customer account. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. +// +// - ValidationException +// The parameter is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateApplication func (c *ApplicationInsights) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) { @@ -2460,14 +2454,13 @@ const opUpdateComponent = "UpdateComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateComponentRequest method. +// req, resp := client.UpdateComponentRequest(params) // -// // Example sending a request using the UpdateComponentRequest method. -// req, resp := client.UpdateComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponent func (c *ApplicationInsights) UpdateComponentRequest(input *UpdateComponentInput) (req *request.Request, output *UpdateComponentOutput) { @@ -2500,17 +2493,18 @@ func (c *ApplicationInsights) UpdateComponentRequest(input *UpdateComponentInput // API operation UpdateComponent for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The resource is already created or in use. // -// * ResourceNotFoundException -// The resource does not exist in the customer account. +// - ResourceInUseException +// The resource is already created or in use. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ValidationException +// The parameter is not valid. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponent func (c *ApplicationInsights) UpdateComponent(input *UpdateComponentInput) (*UpdateComponentOutput, error) { @@ -2550,14 +2544,13 @@ const opUpdateComponentConfiguration = "UpdateComponentConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateComponentConfigurationRequest method. +// req, resp := client.UpdateComponentConfigurationRequest(params) // -// // Example sending a request using the UpdateComponentConfigurationRequest method. -// req, resp := client.UpdateComponentConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponentConfiguration func (c *ApplicationInsights) UpdateComponentConfigurationRequest(input *UpdateComponentConfigurationInput) (req *request.Request, output *UpdateComponentConfigurationOutput) { @@ -2591,14 +2584,15 @@ func (c *ApplicationInsights) UpdateComponentConfigurationRequest(input *UpdateC // API operation UpdateComponentConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ResourceNotFoundException +// The resource does not exist in the customer account. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ValidationException +// The parameter is not valid. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateComponentConfiguration func (c *ApplicationInsights) UpdateComponentConfiguration(input *UpdateComponentConfigurationInput) (*UpdateComponentConfigurationOutput, error) { @@ -2638,14 +2632,13 @@ const opUpdateLogPattern = "UpdateLogPattern" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLogPatternRequest method. +// req, resp := client.UpdateLogPatternRequest(params) // -// // Example sending a request using the UpdateLogPatternRequest method. -// req, resp := client.UpdateLogPatternRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateLogPattern func (c *ApplicationInsights) UpdateLogPatternRequest(input *UpdateLogPatternInput) (req *request.Request, output *UpdateLogPatternOutput) { @@ -2676,17 +2669,18 @@ func (c *ApplicationInsights) UpdateLogPatternRequest(input *UpdateLogPatternInp // API operation UpdateLogPattern for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The resource is already created or in use. // -// * ResourceNotFoundException -// The resource does not exist in the customer account. +// - ResourceInUseException +// The resource is already created or in use. +// +// - ResourceNotFoundException +// The resource does not exist in the customer account. // -// * ValidationException -// The parameter is not valid. +// - ValidationException +// The parameter is not valid. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/application-insights-2018-11-25/UpdateLogPattern func (c *ApplicationInsights) UpdateLogPattern(input *UpdateLogPatternInput) (*UpdateLogPatternOutput, error) { @@ -6288,14 +6282,14 @@ func (s *ResourceNotFoundException) RequestID() string { // digits, white space, or one of the following symbols: _ . : / = + -. The // following additional restrictions apply to tags: // -// * Tag keys and values are case sensitive. +// - Tag keys and values are case sensitive. // -// * For each associated resource, each tag key must be unique and it can -// have only one value. +// - For each associated resource, each tag key must be unique and it can +// have only one value. // -// * The aws: prefix is reserved for use by AWS; you can’t use it in any -// tag keys or values that you define. In addition, you can't edit or remove -// tag keys or values that use this prefix. +// - The aws: prefix is reserved for use by AWS; you can’t use it in any +// tag keys or values that you define. In addition, you can't edit or remove +// tag keys or values that use this prefix. type Tag struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/applicationinsightsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/applicationinsightsiface/interface.go index 229d0c3887a4..eeb808867aae 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/applicationinsightsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/applicationinsightsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon CloudWatch Application Insights. -// func myFunc(svc applicationinsightsiface.ApplicationInsightsAPI) bool { -// // Make svc.CreateApplication request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon CloudWatch Application Insights. +// func myFunc(svc applicationinsightsiface.ApplicationInsightsAPI) bool { +// // Make svc.CreateApplication request +// } // -// func main() { -// sess := session.New() -// svc := applicationinsights.New(sess) +// func main() { +// sess := session.New() +// svc := applicationinsights.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockApplicationInsightsClient struct { -// applicationinsightsiface.ApplicationInsightsAPI -// } -// func (m *mockApplicationInsightsClient) CreateApplication(input *applicationinsights.CreateApplicationInput) (*applicationinsights.CreateApplicationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockApplicationInsightsClient struct { +// applicationinsightsiface.ApplicationInsightsAPI +// } +// func (m *mockApplicationInsightsClient) CreateApplication(input *applicationinsights.CreateApplicationInput) (*applicationinsights.CreateApplicationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockApplicationInsightsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockApplicationInsightsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/doc.go index 632888ca303d..005878081f43 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/doc.go @@ -23,7 +23,7 @@ // See applicationinsights package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/applicationinsights/ // -// Using the Client +// # Using the Client // // To contact Amazon CloudWatch Application Insights with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/service.go index ac0febae92f8..651e450cd6b4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/applicationinsights/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ApplicationInsights client from just a session. -// svc := applicationinsights.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ApplicationInsights client with additional configuration -// svc := applicationinsights.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ApplicationInsights client from just a session. +// svc := applicationinsights.New(mySession) +// +// // Create a ApplicationInsights client with additional configuration +// svc := applicationinsights.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ApplicationInsights { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/api.go index 2bd6a988ba10..7fdb41d669ba 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/api.go @@ -29,14 +29,13 @@ const opCreateGatewayRoute = "CreateGatewayRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGatewayRouteRequest method. +// req, resp := client.CreateGatewayRouteRequest(params) // -// // Example sending a request using the CreateGatewayRouteRequest method. -// req, resp := client.CreateGatewayRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateGatewayRoute func (c *AppMesh) CreateGatewayRouteRequest(input *CreateGatewayRouteInput) (req *request.Request, output *CreateGatewayRouteOutput) { @@ -73,36 +72,37 @@ func (c *AppMesh) CreateGatewayRouteRequest(input *CreateGatewayRouteInput) (req // API operation CreateGatewayRoute for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ConflictException -// The request contains a client token that was used for a previous update resource -// call with different specifications. Try the request again with a new client -// token. +// - ConflictException +// The request contains a client token that was used for a previous update resource +// call with different specifications. Try the request again with a new client +// token. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * LimitExceededException -// You have exceeded a service limit for your account. For more information, -// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) -// in the App Mesh User Guide. +// - LimitExceededException +// You have exceeded a service limit for your account. For more information, +// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) +// in the App Mesh User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateGatewayRoute func (c *AppMesh) CreateGatewayRoute(input *CreateGatewayRouteInput) (*CreateGatewayRouteOutput, error) { @@ -142,14 +142,13 @@ const opCreateMesh = "CreateMesh" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMeshRequest method. +// req, resp := client.CreateMeshRequest(params) // -// // Example sending a request using the CreateMeshRequest method. -// req, resp := client.CreateMeshRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh func (c *AppMesh) CreateMeshRequest(input *CreateMeshInput) (req *request.Request, output *CreateMeshOutput) { @@ -187,36 +186,37 @@ func (c *AppMesh) CreateMeshRequest(input *CreateMeshInput) (req *request.Reques // API operation CreateMesh for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. // -// * ConflictException -// The request contains a client token that was used for a previous update resource -// call with different specifications. Try the request again with a new client -// token. +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - ConflictException +// The request contains a client token that was used for a previous update resource +// call with different specifications. Try the request again with a new client +// token. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * LimitExceededException -// You have exceeded a service limit for your account. For more information, -// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) -// in the App Mesh User Guide. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. +// +// - LimitExceededException +// You have exceeded a service limit for your account. For more information, +// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) +// in the App Mesh User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh func (c *AppMesh) CreateMesh(input *CreateMeshInput) (*CreateMeshOutput, error) { @@ -256,14 +256,13 @@ const opCreateRoute = "CreateRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRouteRequest method. +// req, resp := client.CreateRouteRequest(params) // -// // Example sending a request using the CreateRouteRequest method. -// req, resp := client.CreateRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute func (c *AppMesh) CreateRouteRequest(input *CreateRouteInput) (req *request.Request, output *CreateRouteOutput) { @@ -299,36 +298,37 @@ func (c *AppMesh) CreateRouteRequest(input *CreateRouteInput) (req *request.Requ // API operation CreateRoute for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ConflictException -// The request contains a client token that was used for a previous update resource -// call with different specifications. Try the request again with a new client -// token. +// - ConflictException +// The request contains a client token that was used for a previous update resource +// call with different specifications. Try the request again with a new client +// token. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * LimitExceededException -// You have exceeded a service limit for your account. For more information, -// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) -// in the App Mesh User Guide. +// - LimitExceededException +// You have exceeded a service limit for your account. For more information, +// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) +// in the App Mesh User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute func (c *AppMesh) CreateRoute(input *CreateRouteInput) (*CreateRouteOutput, error) { @@ -368,14 +368,13 @@ const opCreateVirtualGateway = "CreateVirtualGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVirtualGatewayRequest method. +// req, resp := client.CreateVirtualGatewayRequest(params) // -// // Example sending a request using the CreateVirtualGatewayRequest method. -// req, resp := client.CreateVirtualGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualGateway func (c *AppMesh) CreateVirtualGatewayRequest(input *CreateVirtualGatewayInput) (req *request.Request, output *CreateVirtualGatewayOutput) { @@ -414,36 +413,37 @@ func (c *AppMesh) CreateVirtualGatewayRequest(input *CreateVirtualGatewayInput) // API operation CreateVirtualGateway for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ConflictException -// The request contains a client token that was used for a previous update resource -// call with different specifications. Try the request again with a new client -// token. +// - ConflictException +// The request contains a client token that was used for a previous update resource +// call with different specifications. Try the request again with a new client +// token. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * LimitExceededException -// You have exceeded a service limit for your account. For more information, -// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) -// in the App Mesh User Guide. +// - LimitExceededException +// You have exceeded a service limit for your account. For more information, +// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) +// in the App Mesh User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualGateway func (c *AppMesh) CreateVirtualGateway(input *CreateVirtualGatewayInput) (*CreateVirtualGatewayOutput, error) { @@ -483,14 +483,13 @@ const opCreateVirtualNode = "CreateVirtualNode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVirtualNodeRequest method. +// req, resp := client.CreateVirtualNodeRequest(params) // -// // Example sending a request using the CreateVirtualNodeRequest method. -// req, resp := client.CreateVirtualNodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode func (c *AppMesh) CreateVirtualNodeRequest(input *CreateVirtualNodeInput) (req *request.Request, output *CreateVirtualNodeOutput) { @@ -548,36 +547,37 @@ func (c *AppMesh) CreateVirtualNodeRequest(input *CreateVirtualNodeInput) (req * // API operation CreateVirtualNode for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. // -// * ConflictException -// The request contains a client token that was used for a previous update resource -// call with different specifications. Try the request again with a new client -// token. +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - ConflictException +// The request contains a client token that was used for a previous update resource +// call with different specifications. Try the request again with a new client +// token. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * LimitExceededException -// You have exceeded a service limit for your account. For more information, -// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) -// in the App Mesh User Guide. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. +// +// - LimitExceededException +// You have exceeded a service limit for your account. For more information, +// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) +// in the App Mesh User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode func (c *AppMesh) CreateVirtualNode(input *CreateVirtualNodeInput) (*CreateVirtualNodeOutput, error) { @@ -617,14 +617,13 @@ const opCreateVirtualRouter = "CreateVirtualRouter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVirtualRouterRequest method. +// req, resp := client.CreateVirtualRouterRequest(params) // -// // Example sending a request using the CreateVirtualRouterRequest method. -// req, resp := client.CreateVirtualRouterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter func (c *AppMesh) CreateVirtualRouterRequest(input *CreateVirtualRouterInput) (req *request.Request, output *CreateVirtualRouterOutput) { @@ -663,36 +662,37 @@ func (c *AppMesh) CreateVirtualRouterRequest(input *CreateVirtualRouterInput) (r // API operation CreateVirtualRouter for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. // -// * ConflictException -// The request contains a client token that was used for a previous update resource -// call with different specifications. Try the request again with a new client -// token. +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - ConflictException +// The request contains a client token that was used for a previous update resource +// call with different specifications. Try the request again with a new client +// token. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * LimitExceededException -// You have exceeded a service limit for your account. For more information, -// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) -// in the App Mesh User Guide. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. +// +// - LimitExceededException +// You have exceeded a service limit for your account. For more information, +// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) +// in the App Mesh User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter func (c *AppMesh) CreateVirtualRouter(input *CreateVirtualRouterInput) (*CreateVirtualRouterOutput, error) { @@ -732,14 +732,13 @@ const opCreateVirtualService = "CreateVirtualService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVirtualServiceRequest method. +// req, resp := client.CreateVirtualServiceRequest(params) // -// // Example sending a request using the CreateVirtualServiceRequest method. -// req, resp := client.CreateVirtualServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService func (c *AppMesh) CreateVirtualServiceRequest(input *CreateVirtualServiceInput) (req *request.Request, output *CreateVirtualServiceOutput) { @@ -778,36 +777,37 @@ func (c *AppMesh) CreateVirtualServiceRequest(input *CreateVirtualServiceInput) // API operation CreateVirtualService for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ConflictException -// The request contains a client token that was used for a previous update resource -// call with different specifications. Try the request again with a new client -// token. +// - ConflictException +// The request contains a client token that was used for a previous update resource +// call with different specifications. Try the request again with a new client +// token. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * LimitExceededException -// You have exceeded a service limit for your account. For more information, -// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) -// in the App Mesh User Guide. +// - LimitExceededException +// You have exceeded a service limit for your account. For more information, +// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) +// in the App Mesh User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService func (c *AppMesh) CreateVirtualService(input *CreateVirtualServiceInput) (*CreateVirtualServiceOutput, error) { @@ -847,14 +847,13 @@ const opDeleteGatewayRoute = "DeleteGatewayRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGatewayRouteRequest method. +// req, resp := client.DeleteGatewayRouteRequest(params) // -// // Example sending a request using the DeleteGatewayRouteRequest method. -// req, resp := client.DeleteGatewayRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteGatewayRoute func (c *AppMesh) DeleteGatewayRouteRequest(input *DeleteGatewayRouteInput) (req *request.Request, output *DeleteGatewayRouteOutput) { @@ -885,30 +884,31 @@ func (c *AppMesh) DeleteGatewayRouteRequest(input *DeleteGatewayRouteInput) (req // API operation DeleteGatewayRoute for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ResourceInUseException -// You can't delete the specified resource because it's in use or required by -// another resource. +// - ResourceInUseException +// You can't delete the specified resource because it's in use or required by +// another resource. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteGatewayRoute func (c *AppMesh) DeleteGatewayRoute(input *DeleteGatewayRouteInput) (*DeleteGatewayRouteOutput, error) { @@ -948,14 +948,13 @@ const opDeleteMesh = "DeleteMesh" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMeshRequest method. +// req, resp := client.DeleteMeshRequest(params) // -// // Example sending a request using the DeleteMeshRequest method. -// req, resp := client.DeleteMeshRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh func (c *AppMesh) DeleteMeshRequest(input *DeleteMeshInput) (req *request.Request, output *DeleteMeshOutput) { @@ -989,30 +988,31 @@ func (c *AppMesh) DeleteMeshRequest(input *DeleteMeshInput) (req *request.Reques // API operation DeleteMesh for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ResourceInUseException -// You can't delete the specified resource because it's in use or required by -// another resource. +// - ResourceInUseException +// You can't delete the specified resource because it's in use or required by +// another resource. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh func (c *AppMesh) DeleteMesh(input *DeleteMeshInput) (*DeleteMeshOutput, error) { @@ -1052,14 +1052,13 @@ const opDeleteRoute = "DeleteRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRouteRequest method. +// req, resp := client.DeleteRouteRequest(params) // -// // Example sending a request using the DeleteRouteRequest method. -// req, resp := client.DeleteRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute func (c *AppMesh) DeleteRouteRequest(input *DeleteRouteInput) (req *request.Request, output *DeleteRouteOutput) { @@ -1090,30 +1089,31 @@ func (c *AppMesh) DeleteRouteRequest(input *DeleteRouteInput) (req *request.Requ // API operation DeleteRoute for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ResourceInUseException -// You can't delete the specified resource because it's in use or required by -// another resource. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ResourceInUseException +// You can't delete the specified resource because it's in use or required by +// another resource. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. +// +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute func (c *AppMesh) DeleteRoute(input *DeleteRouteInput) (*DeleteRouteOutput, error) { @@ -1153,14 +1153,13 @@ const opDeleteVirtualGateway = "DeleteVirtualGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVirtualGatewayRequest method. +// req, resp := client.DeleteVirtualGatewayRequest(params) // -// // Example sending a request using the DeleteVirtualGatewayRequest method. -// req, resp := client.DeleteVirtualGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualGateway func (c *AppMesh) DeleteVirtualGatewayRequest(input *DeleteVirtualGatewayInput) (req *request.Request, output *DeleteVirtualGatewayOutput) { @@ -1192,30 +1191,31 @@ func (c *AppMesh) DeleteVirtualGatewayRequest(input *DeleteVirtualGatewayInput) // API operation DeleteVirtualGateway for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ResourceInUseException -// You can't delete the specified resource because it's in use or required by -// another resource. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ResourceInUseException +// You can't delete the specified resource because it's in use or required by +// another resource. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. +// +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualGateway func (c *AppMesh) DeleteVirtualGateway(input *DeleteVirtualGatewayInput) (*DeleteVirtualGatewayOutput, error) { @@ -1255,14 +1255,13 @@ const opDeleteVirtualNode = "DeleteVirtualNode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVirtualNodeRequest method. +// req, resp := client.DeleteVirtualNodeRequest(params) // -// // Example sending a request using the DeleteVirtualNodeRequest method. -// req, resp := client.DeleteVirtualNodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode func (c *AppMesh) DeleteVirtualNodeRequest(input *DeleteVirtualNodeInput) (req *request.Request, output *DeleteVirtualNodeOutput) { @@ -1296,30 +1295,31 @@ func (c *AppMesh) DeleteVirtualNodeRequest(input *DeleteVirtualNodeInput) (req * // API operation DeleteVirtualNode for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ResourceInUseException -// You can't delete the specified resource because it's in use or required by -// another resource. +// - ResourceInUseException +// You can't delete the specified resource because it's in use or required by +// another resource. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode func (c *AppMesh) DeleteVirtualNode(input *DeleteVirtualNodeInput) (*DeleteVirtualNodeOutput, error) { @@ -1359,14 +1359,13 @@ const opDeleteVirtualRouter = "DeleteVirtualRouter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVirtualRouterRequest method. +// req, resp := client.DeleteVirtualRouterRequest(params) // -// // Example sending a request using the DeleteVirtualRouterRequest method. -// req, resp := client.DeleteVirtualRouterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter func (c *AppMesh) DeleteVirtualRouterRequest(input *DeleteVirtualRouterInput) (req *request.Request, output *DeleteVirtualRouterOutput) { @@ -1400,30 +1399,31 @@ func (c *AppMesh) DeleteVirtualRouterRequest(input *DeleteVirtualRouterInput) (r // API operation DeleteVirtualRouter for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ResourceInUseException -// You can't delete the specified resource because it's in use or required by -// another resource. +// - ResourceInUseException +// You can't delete the specified resource because it's in use or required by +// another resource. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter func (c *AppMesh) DeleteVirtualRouter(input *DeleteVirtualRouterInput) (*DeleteVirtualRouterOutput, error) { @@ -1463,14 +1463,13 @@ const opDeleteVirtualService = "DeleteVirtualService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVirtualServiceRequest method. +// req, resp := client.DeleteVirtualServiceRequest(params) // -// // Example sending a request using the DeleteVirtualServiceRequest method. -// req, resp := client.DeleteVirtualServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService func (c *AppMesh) DeleteVirtualServiceRequest(input *DeleteVirtualServiceInput) (req *request.Request, output *DeleteVirtualServiceOutput) { @@ -1501,30 +1500,31 @@ func (c *AppMesh) DeleteVirtualServiceRequest(input *DeleteVirtualServiceInput) // API operation DeleteVirtualService for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ResourceInUseException -// You can't delete the specified resource because it's in use or required by -// another resource. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ResourceInUseException +// You can't delete the specified resource because it's in use or required by +// another resource. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. +// +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService func (c *AppMesh) DeleteVirtualService(input *DeleteVirtualServiceInput) (*DeleteVirtualServiceOutput, error) { @@ -1564,14 +1564,13 @@ const opDescribeGatewayRoute = "DescribeGatewayRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGatewayRouteRequest method. +// req, resp := client.DescribeGatewayRouteRequest(params) // -// // Example sending a request using the DescribeGatewayRouteRequest method. -// req, resp := client.DescribeGatewayRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeGatewayRoute func (c *AppMesh) DescribeGatewayRouteRequest(input *DescribeGatewayRouteInput) (req *request.Request, output *DescribeGatewayRouteOutput) { @@ -1602,26 +1601,27 @@ func (c *AppMesh) DescribeGatewayRouteRequest(input *DescribeGatewayRouteInput) // API operation DescribeGatewayRoute for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeGatewayRoute func (c *AppMesh) DescribeGatewayRoute(input *DescribeGatewayRouteInput) (*DescribeGatewayRouteOutput, error) { @@ -1661,14 +1661,13 @@ const opDescribeMesh = "DescribeMesh" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMeshRequest method. +// req, resp := client.DescribeMeshRequest(params) // -// // Example sending a request using the DescribeMeshRequest method. -// req, resp := client.DescribeMeshRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh func (c *AppMesh) DescribeMeshRequest(input *DescribeMeshInput) (req *request.Request, output *DescribeMeshOutput) { @@ -1699,26 +1698,27 @@ func (c *AppMesh) DescribeMeshRequest(input *DescribeMeshInput) (req *request.Re // API operation DescribeMesh for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh func (c *AppMesh) DescribeMesh(input *DescribeMeshInput) (*DescribeMeshOutput, error) { @@ -1758,14 +1758,13 @@ const opDescribeRoute = "DescribeRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRouteRequest method. +// req, resp := client.DescribeRouteRequest(params) // -// // Example sending a request using the DescribeRouteRequest method. -// req, resp := client.DescribeRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute func (c *AppMesh) DescribeRouteRequest(input *DescribeRouteInput) (req *request.Request, output *DescribeRouteOutput) { @@ -1796,26 +1795,27 @@ func (c *AppMesh) DescribeRouteRequest(input *DescribeRouteInput) (req *request. // API operation DescribeRoute for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute func (c *AppMesh) DescribeRoute(input *DescribeRouteInput) (*DescribeRouteOutput, error) { @@ -1855,14 +1855,13 @@ const opDescribeVirtualGateway = "DescribeVirtualGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVirtualGatewayRequest method. +// req, resp := client.DescribeVirtualGatewayRequest(params) // -// // Example sending a request using the DescribeVirtualGatewayRequest method. -// req, resp := client.DescribeVirtualGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualGateway func (c *AppMesh) DescribeVirtualGatewayRequest(input *DescribeVirtualGatewayInput) (req *request.Request, output *DescribeVirtualGatewayOutput) { @@ -1893,26 +1892,27 @@ func (c *AppMesh) DescribeVirtualGatewayRequest(input *DescribeVirtualGatewayInp // API operation DescribeVirtualGateway for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. +// +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualGateway func (c *AppMesh) DescribeVirtualGateway(input *DescribeVirtualGatewayInput) (*DescribeVirtualGatewayOutput, error) { @@ -1952,14 +1952,13 @@ const opDescribeVirtualNode = "DescribeVirtualNode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVirtualNodeRequest method. +// req, resp := client.DescribeVirtualNodeRequest(params) // -// // Example sending a request using the DescribeVirtualNodeRequest method. -// req, resp := client.DescribeVirtualNodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode func (c *AppMesh) DescribeVirtualNodeRequest(input *DescribeVirtualNodeInput) (req *request.Request, output *DescribeVirtualNodeOutput) { @@ -1990,26 +1989,27 @@ func (c *AppMesh) DescribeVirtualNodeRequest(input *DescribeVirtualNodeInput) (r // API operation DescribeVirtualNode for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. +// +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode func (c *AppMesh) DescribeVirtualNode(input *DescribeVirtualNodeInput) (*DescribeVirtualNodeOutput, error) { @@ -2049,14 +2049,13 @@ const opDescribeVirtualRouter = "DescribeVirtualRouter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVirtualRouterRequest method. +// req, resp := client.DescribeVirtualRouterRequest(params) // -// // Example sending a request using the DescribeVirtualRouterRequest method. -// req, resp := client.DescribeVirtualRouterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter func (c *AppMesh) DescribeVirtualRouterRequest(input *DescribeVirtualRouterInput) (req *request.Request, output *DescribeVirtualRouterOutput) { @@ -2087,26 +2086,27 @@ func (c *AppMesh) DescribeVirtualRouterRequest(input *DescribeVirtualRouterInput // API operation DescribeVirtualRouter for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter func (c *AppMesh) DescribeVirtualRouter(input *DescribeVirtualRouterInput) (*DescribeVirtualRouterOutput, error) { @@ -2146,14 +2146,13 @@ const opDescribeVirtualService = "DescribeVirtualService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVirtualServiceRequest method. +// req, resp := client.DescribeVirtualServiceRequest(params) // -// // Example sending a request using the DescribeVirtualServiceRequest method. -// req, resp := client.DescribeVirtualServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService func (c *AppMesh) DescribeVirtualServiceRequest(input *DescribeVirtualServiceInput) (req *request.Request, output *DescribeVirtualServiceOutput) { @@ -2184,26 +2183,27 @@ func (c *AppMesh) DescribeVirtualServiceRequest(input *DescribeVirtualServiceInp // API operation DescribeVirtualService for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService func (c *AppMesh) DescribeVirtualService(input *DescribeVirtualServiceInput) (*DescribeVirtualServiceOutput, error) { @@ -2243,14 +2243,13 @@ const opListGatewayRoutes = "ListGatewayRoutes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGatewayRoutesRequest method. +// req, resp := client.ListGatewayRoutesRequest(params) // -// // Example sending a request using the ListGatewayRoutesRequest method. -// req, resp := client.ListGatewayRoutesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListGatewayRoutes func (c *AppMesh) ListGatewayRoutesRequest(input *ListGatewayRoutesInput) (req *request.Request, output *ListGatewayRoutesOutput) { @@ -2288,26 +2287,27 @@ func (c *AppMesh) ListGatewayRoutesRequest(input *ListGatewayRoutesInput) (req * // API operation ListGatewayRoutes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListGatewayRoutes func (c *AppMesh) ListGatewayRoutes(input *ListGatewayRoutesInput) (*ListGatewayRoutesOutput, error) { @@ -2339,15 +2339,14 @@ func (c *AppMesh) ListGatewayRoutesWithContext(ctx aws.Context, input *ListGatew // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGatewayRoutes operation. -// pageNum := 0 -// err := client.ListGatewayRoutesPages(params, -// func(page *appmesh.ListGatewayRoutesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGatewayRoutes operation. +// pageNum := 0 +// err := client.ListGatewayRoutesPages(params, +// func(page *appmesh.ListGatewayRoutesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppMesh) ListGatewayRoutesPages(input *ListGatewayRoutesInput, fn func(*ListGatewayRoutesOutput, bool) bool) error { return c.ListGatewayRoutesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2399,14 +2398,13 @@ const opListMeshes = "ListMeshes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMeshesRequest method. +// req, resp := client.ListMeshesRequest(params) // -// // Example sending a request using the ListMeshesRequest method. -// req, resp := client.ListMeshesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes func (c *AppMesh) ListMeshesRequest(input *ListMeshesInput) (req *request.Request, output *ListMeshesOutput) { @@ -2443,26 +2441,27 @@ func (c *AppMesh) ListMeshesRequest(input *ListMeshesInput) (req *request.Reques // API operation ListMeshes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes func (c *AppMesh) ListMeshes(input *ListMeshesInput) (*ListMeshesOutput, error) { @@ -2494,15 +2493,14 @@ func (c *AppMesh) ListMeshesWithContext(ctx aws.Context, input *ListMeshesInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMeshes operation. -// pageNum := 0 -// err := client.ListMeshesPages(params, -// func(page *appmesh.ListMeshesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMeshes operation. +// pageNum := 0 +// err := client.ListMeshesPages(params, +// func(page *appmesh.ListMeshesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppMesh) ListMeshesPages(input *ListMeshesInput, fn func(*ListMeshesOutput, bool) bool) error { return c.ListMeshesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2554,14 +2552,13 @@ const opListRoutes = "ListRoutes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRoutesRequest method. +// req, resp := client.ListRoutesRequest(params) // -// // Example sending a request using the ListRoutesRequest method. -// req, resp := client.ListRoutesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes func (c *AppMesh) ListRoutesRequest(input *ListRoutesInput) (req *request.Request, output *ListRoutesOutput) { @@ -2598,26 +2595,27 @@ func (c *AppMesh) ListRoutesRequest(input *ListRoutesInput) (req *request.Reques // API operation ListRoutes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes func (c *AppMesh) ListRoutes(input *ListRoutesInput) (*ListRoutesOutput, error) { @@ -2649,15 +2647,14 @@ func (c *AppMesh) ListRoutesWithContext(ctx aws.Context, input *ListRoutesInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRoutes operation. -// pageNum := 0 -// err := client.ListRoutesPages(params, -// func(page *appmesh.ListRoutesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRoutes operation. +// pageNum := 0 +// err := client.ListRoutesPages(params, +// func(page *appmesh.ListRoutesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppMesh) ListRoutesPages(input *ListRoutesInput, fn func(*ListRoutesOutput, bool) bool) error { return c.ListRoutesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2709,14 +2706,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource func (c *AppMesh) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2753,26 +2749,27 @@ func (c *AppMesh) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource func (c *AppMesh) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2804,15 +2801,14 @@ func (c *AppMesh) ListTagsForResourceWithContext(ctx aws.Context, input *ListTag // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *appmesh.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *appmesh.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppMesh) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2864,14 +2860,13 @@ const opListVirtualGateways = "ListVirtualGateways" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVirtualGatewaysRequest method. +// req, resp := client.ListVirtualGatewaysRequest(params) // -// // Example sending a request using the ListVirtualGatewaysRequest method. -// req, resp := client.ListVirtualGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualGateways func (c *AppMesh) ListVirtualGatewaysRequest(input *ListVirtualGatewaysInput) (req *request.Request, output *ListVirtualGatewaysOutput) { @@ -2908,26 +2903,27 @@ func (c *AppMesh) ListVirtualGatewaysRequest(input *ListVirtualGatewaysInput) (r // API operation ListVirtualGateways for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualGateways func (c *AppMesh) ListVirtualGateways(input *ListVirtualGatewaysInput) (*ListVirtualGatewaysOutput, error) { @@ -2959,15 +2955,14 @@ func (c *AppMesh) ListVirtualGatewaysWithContext(ctx aws.Context, input *ListVir // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVirtualGateways operation. -// pageNum := 0 -// err := client.ListVirtualGatewaysPages(params, -// func(page *appmesh.ListVirtualGatewaysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVirtualGateways operation. +// pageNum := 0 +// err := client.ListVirtualGatewaysPages(params, +// func(page *appmesh.ListVirtualGatewaysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppMesh) ListVirtualGatewaysPages(input *ListVirtualGatewaysInput, fn func(*ListVirtualGatewaysOutput, bool) bool) error { return c.ListVirtualGatewaysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3019,14 +3014,13 @@ const opListVirtualNodes = "ListVirtualNodes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVirtualNodesRequest method. +// req, resp := client.ListVirtualNodesRequest(params) // -// // Example sending a request using the ListVirtualNodesRequest method. -// req, resp := client.ListVirtualNodesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes func (c *AppMesh) ListVirtualNodesRequest(input *ListVirtualNodesInput) (req *request.Request, output *ListVirtualNodesOutput) { @@ -3063,26 +3057,27 @@ func (c *AppMesh) ListVirtualNodesRequest(input *ListVirtualNodesInput) (req *re // API operation ListVirtualNodes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. +// +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes func (c *AppMesh) ListVirtualNodes(input *ListVirtualNodesInput) (*ListVirtualNodesOutput, error) { @@ -3114,15 +3109,14 @@ func (c *AppMesh) ListVirtualNodesWithContext(ctx aws.Context, input *ListVirtua // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVirtualNodes operation. -// pageNum := 0 -// err := client.ListVirtualNodesPages(params, -// func(page *appmesh.ListVirtualNodesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVirtualNodes operation. +// pageNum := 0 +// err := client.ListVirtualNodesPages(params, +// func(page *appmesh.ListVirtualNodesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppMesh) ListVirtualNodesPages(input *ListVirtualNodesInput, fn func(*ListVirtualNodesOutput, bool) bool) error { return c.ListVirtualNodesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3174,14 +3168,13 @@ const opListVirtualRouters = "ListVirtualRouters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVirtualRoutersRequest method. +// req, resp := client.ListVirtualRoutersRequest(params) // -// // Example sending a request using the ListVirtualRoutersRequest method. -// req, resp := client.ListVirtualRoutersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters func (c *AppMesh) ListVirtualRoutersRequest(input *ListVirtualRoutersInput) (req *request.Request, output *ListVirtualRoutersOutput) { @@ -3218,26 +3211,27 @@ func (c *AppMesh) ListVirtualRoutersRequest(input *ListVirtualRoutersInput) (req // API operation ListVirtualRouters for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. +// +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters func (c *AppMesh) ListVirtualRouters(input *ListVirtualRoutersInput) (*ListVirtualRoutersOutput, error) { @@ -3269,15 +3263,14 @@ func (c *AppMesh) ListVirtualRoutersWithContext(ctx aws.Context, input *ListVirt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVirtualRouters operation. -// pageNum := 0 -// err := client.ListVirtualRoutersPages(params, -// func(page *appmesh.ListVirtualRoutersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVirtualRouters operation. +// pageNum := 0 +// err := client.ListVirtualRoutersPages(params, +// func(page *appmesh.ListVirtualRoutersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppMesh) ListVirtualRoutersPages(input *ListVirtualRoutersInput, fn func(*ListVirtualRoutersOutput, bool) bool) error { return c.ListVirtualRoutersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3329,14 +3322,13 @@ const opListVirtualServices = "ListVirtualServices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVirtualServicesRequest method. +// req, resp := client.ListVirtualServicesRequest(params) // -// // Example sending a request using the ListVirtualServicesRequest method. -// req, resp := client.ListVirtualServicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices func (c *AppMesh) ListVirtualServicesRequest(input *ListVirtualServicesInput) (req *request.Request, output *ListVirtualServicesOutput) { @@ -3373,26 +3365,27 @@ func (c *AppMesh) ListVirtualServicesRequest(input *ListVirtualServicesInput) (r // API operation ListVirtualServices for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices func (c *AppMesh) ListVirtualServices(input *ListVirtualServicesInput) (*ListVirtualServicesOutput, error) { @@ -3424,15 +3417,14 @@ func (c *AppMesh) ListVirtualServicesWithContext(ctx aws.Context, input *ListVir // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVirtualServices operation. -// pageNum := 0 -// err := client.ListVirtualServicesPages(params, -// func(page *appmesh.ListVirtualServicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVirtualServices operation. +// pageNum := 0 +// err := client.ListVirtualServicesPages(params, +// func(page *appmesh.ListVirtualServicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppMesh) ListVirtualServicesPages(input *ListVirtualServicesInput, fn func(*ListVirtualServicesOutput, bool) bool) error { return c.ListVirtualServicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3484,14 +3476,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource func (c *AppMesh) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3526,31 +3517,32 @@ func (c *AppMesh) TagResourceRequest(input *TagResourceInput) (req *request.Requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyTagsException -// The request exceeds the maximum allowed number of tags allowed per resource. -// The current limit is 50 user tags per resource. You must reduce the number -// of tags in the request. None of the tags in this request were applied. +// - TooManyTagsException +// The request exceeds the maximum allowed number of tags allowed per resource. +// The current limit is 50 user tags per resource. You must reduce the number +// of tags in the request. None of the tags in this request were applied. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource func (c *AppMesh) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3590,14 +3582,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource func (c *AppMesh) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3629,26 +3620,27 @@ func (c *AppMesh) UntagResourceRequest(input *UntagResourceInput) (req *request. // API operation UntagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. +// +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource func (c *AppMesh) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3688,14 +3680,13 @@ const opUpdateGatewayRoute = "UpdateGatewayRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGatewayRouteRequest method. +// req, resp := client.UpdateGatewayRouteRequest(params) // -// // Example sending a request using the UpdateGatewayRouteRequest method. -// req, resp := client.UpdateGatewayRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateGatewayRoute func (c *AppMesh) UpdateGatewayRouteRequest(input *UpdateGatewayRouteInput) (req *request.Request, output *UpdateGatewayRouteOutput) { @@ -3727,36 +3718,37 @@ func (c *AppMesh) UpdateGatewayRouteRequest(input *UpdateGatewayRouteInput) (req // API operation UpdateGatewayRoute for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ConflictException -// The request contains a client token that was used for a previous update resource -// call with different specifications. Try the request again with a new client -// token. +// - ConflictException +// The request contains a client token that was used for a previous update resource +// call with different specifications. Try the request again with a new client +// token. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * LimitExceededException -// You have exceeded a service limit for your account. For more information, -// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) -// in the App Mesh User Guide. +// - LimitExceededException +// You have exceeded a service limit for your account. For more information, +// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) +// in the App Mesh User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateGatewayRoute func (c *AppMesh) UpdateGatewayRoute(input *UpdateGatewayRouteInput) (*UpdateGatewayRouteOutput, error) { @@ -3796,14 +3788,13 @@ const opUpdateMesh = "UpdateMesh" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMeshRequest method. +// req, resp := client.UpdateMeshRequest(params) // -// // Example sending a request using the UpdateMeshRequest method. -// req, resp := client.UpdateMeshRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh func (c *AppMesh) UpdateMeshRequest(input *UpdateMeshInput) (req *request.Request, output *UpdateMeshOutput) { @@ -3834,31 +3825,32 @@ func (c *AppMesh) UpdateMeshRequest(input *UpdateMeshInput) (req *request.Reques // API operation UpdateMesh for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ConflictException -// The request contains a client token that was used for a previous update resource -// call with different specifications. Try the request again with a new client -// token. +// - ConflictException +// The request contains a client token that was used for a previous update resource +// call with different specifications. Try the request again with a new client +// token. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh func (c *AppMesh) UpdateMesh(input *UpdateMeshInput) (*UpdateMeshOutput, error) { @@ -3898,14 +3890,13 @@ const opUpdateRoute = "UpdateRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRouteRequest method. +// req, resp := client.UpdateRouteRequest(params) // -// // Example sending a request using the UpdateRouteRequest method. -// req, resp := client.UpdateRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute func (c *AppMesh) UpdateRouteRequest(input *UpdateRouteInput) (req *request.Request, output *UpdateRouteOutput) { @@ -3936,36 +3927,37 @@ func (c *AppMesh) UpdateRouteRequest(input *UpdateRouteInput) (req *request.Requ // API operation UpdateRoute for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ConflictException -// The request contains a client token that was used for a previous update resource -// call with different specifications. Try the request again with a new client -// token. +// - ConflictException +// The request contains a client token that was used for a previous update resource +// call with different specifications. Try the request again with a new client +// token. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * LimitExceededException -// You have exceeded a service limit for your account. For more information, -// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) -// in the App Mesh User Guide. +// - LimitExceededException +// You have exceeded a service limit for your account. For more information, +// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) +// in the App Mesh User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute func (c *AppMesh) UpdateRoute(input *UpdateRouteInput) (*UpdateRouteOutput, error) { @@ -4005,14 +3997,13 @@ const opUpdateVirtualGateway = "UpdateVirtualGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVirtualGatewayRequest method. +// req, resp := client.UpdateVirtualGatewayRequest(params) // -// // Example sending a request using the UpdateVirtualGatewayRequest method. -// req, resp := client.UpdateVirtualGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualGateway func (c *AppMesh) UpdateVirtualGatewayRequest(input *UpdateVirtualGatewayInput) (req *request.Request, output *UpdateVirtualGatewayOutput) { @@ -4043,36 +4034,37 @@ func (c *AppMesh) UpdateVirtualGatewayRequest(input *UpdateVirtualGatewayInput) // API operation UpdateVirtualGateway for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. // -// * ConflictException -// The request contains a client token that was used for a previous update resource -// call with different specifications. Try the request again with a new client -// token. +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - ConflictException +// The request contains a client token that was used for a previous update resource +// call with different specifications. Try the request again with a new client +// token. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * LimitExceededException -// You have exceeded a service limit for your account. For more information, -// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) -// in the App Mesh User Guide. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. +// +// - LimitExceededException +// You have exceeded a service limit for your account. For more information, +// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) +// in the App Mesh User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualGateway func (c *AppMesh) UpdateVirtualGateway(input *UpdateVirtualGatewayInput) (*UpdateVirtualGatewayOutput, error) { @@ -4112,14 +4104,13 @@ const opUpdateVirtualNode = "UpdateVirtualNode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVirtualNodeRequest method. +// req, resp := client.UpdateVirtualNodeRequest(params) // -// // Example sending a request using the UpdateVirtualNodeRequest method. -// req, resp := client.UpdateVirtualNodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode func (c *AppMesh) UpdateVirtualNodeRequest(input *UpdateVirtualNodeInput) (req *request.Request, output *UpdateVirtualNodeOutput) { @@ -4150,36 +4141,37 @@ func (c *AppMesh) UpdateVirtualNodeRequest(input *UpdateVirtualNodeInput) (req * // API operation UpdateVirtualNode for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. // -// * ConflictException -// The request contains a client token that was used for a previous update resource -// call with different specifications. Try the request again with a new client -// token. +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - ConflictException +// The request contains a client token that was used for a previous update resource +// call with different specifications. Try the request again with a new client +// token. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * LimitExceededException -// You have exceeded a service limit for your account. For more information, -// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) -// in the App Mesh User Guide. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. +// +// - LimitExceededException +// You have exceeded a service limit for your account. For more information, +// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) +// in the App Mesh User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode func (c *AppMesh) UpdateVirtualNode(input *UpdateVirtualNodeInput) (*UpdateVirtualNodeOutput, error) { @@ -4219,14 +4211,13 @@ const opUpdateVirtualRouter = "UpdateVirtualRouter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVirtualRouterRequest method. +// req, resp := client.UpdateVirtualRouterRequest(params) // -// // Example sending a request using the UpdateVirtualRouterRequest method. -// req, resp := client.UpdateVirtualRouterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter func (c *AppMesh) UpdateVirtualRouterRequest(input *UpdateVirtualRouterInput) (req *request.Request, output *UpdateVirtualRouterOutput) { @@ -4257,36 +4248,37 @@ func (c *AppMesh) UpdateVirtualRouterRequest(input *UpdateVirtualRouterInput) (r // API operation UpdateVirtualRouter for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ConflictException -// The request contains a client token that was used for a previous update resource -// call with different specifications. Try the request again with a new client -// token. +// - ConflictException +// The request contains a client token that was used for a previous update resource +// call with different specifications. Try the request again with a new client +// token. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * LimitExceededException -// You have exceeded a service limit for your account. For more information, -// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) -// in the App Mesh User Guide. +// - LimitExceededException +// You have exceeded a service limit for your account. For more information, +// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) +// in the App Mesh User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter func (c *AppMesh) UpdateVirtualRouter(input *UpdateVirtualRouterInput) (*UpdateVirtualRouterOutput, error) { @@ -4326,14 +4318,13 @@ const opUpdateVirtualService = "UpdateVirtualService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVirtualServiceRequest method. +// req, resp := client.UpdateVirtualServiceRequest(params) // -// // Example sending a request using the UpdateVirtualServiceRequest method. -// req, resp := client.UpdateVirtualServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService func (c *AppMesh) UpdateVirtualServiceRequest(input *UpdateVirtualServiceInput) (req *request.Request, output *UpdateVirtualServiceOutput) { @@ -4364,36 +4355,37 @@ func (c *AppMesh) UpdateVirtualServiceRequest(input *UpdateVirtualServiceInput) // API operation UpdateVirtualService for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified resource doesn't exist. Check your request syntax and try again. // -// * BadRequestException -// The request syntax was malformed. Check your request syntax and try again. +// - NotFoundException +// The specified resource doesn't exist. Check your request syntax and try again. +// +// - BadRequestException +// The request syntax was malformed. Check your request syntax and try again. // -// * ConflictException -// The request contains a client token that was used for a previous update resource -// call with different specifications. Try the request again with a new client -// token. +// - ConflictException +// The request contains a client token that was used for a previous update resource +// call with different specifications. Try the request again with a new client +// token. // -// * TooManyRequestsException -// The maximum request rate permitted by the App Mesh APIs has been exceeded -// for your account. For best results, use an increasing or variable sleep interval -// between requests. +// - TooManyRequestsException +// The maximum request rate permitted by the App Mesh APIs has been exceeded +// for your account. For best results, use an increasing or variable sleep interval +// between requests. // -// * ForbiddenException -// You don't have permissions to perform this action. +// - ForbiddenException +// You don't have permissions to perform this action. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the service. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the service. // -// * InternalServerErrorException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerErrorException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * LimitExceededException -// You have exceeded a service limit for your account. For more information, -// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) -// in the App Mesh User Guide. +// - LimitExceededException +// You have exceeded a service limit for your account. For more information, +// see Service Limits (https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html) +// in the App Mesh User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService func (c *AppMesh) UpdateVirtualService(input *UpdateVirtualServiceInput) (*UpdateVirtualServiceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/appmeshiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/appmeshiface/interface.go index ec7aabf182e1..46d614698e3b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/appmeshiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/appmeshiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS App Mesh. -// func myFunc(svc appmeshiface.AppMeshAPI) bool { -// // Make svc.CreateGatewayRoute request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS App Mesh. +// func myFunc(svc appmeshiface.AppMeshAPI) bool { +// // Make svc.CreateGatewayRoute request +// } // -// func main() { -// sess := session.New() -// svc := appmesh.New(sess) +// func main() { +// sess := session.New() +// svc := appmesh.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAppMeshClient struct { -// appmeshiface.AppMeshAPI -// } -// func (m *mockAppMeshClient) CreateGatewayRoute(input *appmesh.CreateGatewayRouteInput) (*appmesh.CreateGatewayRouteOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAppMeshClient struct { +// appmeshiface.AppMeshAPI +// } +// func (m *mockAppMeshClient) CreateGatewayRoute(input *appmesh.CreateGatewayRouteInput) (*appmesh.CreateGatewayRouteOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAppMeshClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAppMeshClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/doc.go index c3c8ac78534c..4505376b8dc7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/doc.go @@ -26,7 +26,7 @@ // See appmesh package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/appmesh/ // -// Using the Client +// # Using the Client // // To contact AWS App Mesh with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/service.go index a5e62f287c6a..07ae4d913226 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appmesh/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AppMesh client from just a session. -// svc := appmesh.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AppMesh client with additional configuration -// svc := appmesh.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AppMesh client from just a session. +// svc := appmesh.New(mySession) +// +// // Create a AppMesh client with additional configuration +// svc := appmesh.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AppMesh { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/api.go index 9ae3b4700ae3..1f32f6e35e50 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/api.go @@ -29,14 +29,13 @@ const opAssociateAttributeGroup = "AssociateAttributeGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateAttributeGroupRequest method. +// req, resp := client.AssociateAttributeGroupRequest(params) // -// // Example sending a request using the AssociateAttributeGroupRequest method. -// req, resp := client.AssociateAttributeGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateAttributeGroup func (c *AppRegistry) AssociateAttributeGroupRequest(input *AssociateAttributeGroupInput) (req *request.Request, output *AssociateAttributeGroupOutput) { @@ -70,17 +69,18 @@ func (c *AppRegistry) AssociateAttributeGroupRequest(input *AssociateAttributeGr // API operation AssociateAttributeGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// The service is experiencing internal problems. +// - InternalServerException +// The service is experiencing internal problems. // -// * ServiceQuotaExceededException -// The maximum number of resources per account has been reached. +// - ServiceQuotaExceededException +// The maximum number of resources per account has been reached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateAttributeGroup func (c *AppRegistry) AssociateAttributeGroup(input *AssociateAttributeGroupInput) (*AssociateAttributeGroupOutput, error) { @@ -120,14 +120,13 @@ const opAssociateResource = "AssociateResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateResourceRequest method. +// req, resp := client.AssociateResourceRequest(params) // -// // Example sending a request using the AssociateResourceRequest method. -// req, resp := client.AssociateResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResource func (c *AppRegistry) AssociateResourceRequest(input *AssociateResourceInput) (req *request.Request, output *AssociateResourceOutput) { @@ -159,18 +158,19 @@ func (c *AppRegistry) AssociateResourceRequest(input *AssociateResourceInput) (r // API operation AssociateResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InternalServerException -// The service is experiencing internal problems. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceQuotaExceededException -// The maximum number of resources per account has been reached. +// - InternalServerException +// The service is experiencing internal problems. // -// * ConflictException -// There was a conflict when processing the request (for example, a resource -// with the given name already exists within the account). +// - ServiceQuotaExceededException +// The maximum number of resources per account has been reached. +// +// - ConflictException +// There was a conflict when processing the request (for example, a resource +// with the given name already exists within the account). // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResource func (c *AppRegistry) AssociateResource(input *AssociateResourceInput) (*AssociateResourceOutput, error) { @@ -210,14 +210,13 @@ const opCreateApplication = "CreateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationRequest method. +// req, resp := client.CreateApplicationRequest(params) // -// // Example sending a request using the CreateApplicationRequest method. -// req, resp := client.CreateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication func (c *AppRegistry) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput) { @@ -249,15 +248,16 @@ func (c *AppRegistry) CreateApplicationRequest(input *CreateApplicationInput) (r // API operation CreateApplication for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The maximum number of resources per account has been reached. // -// * ConflictException -// There was a conflict when processing the request (for example, a resource -// with the given name already exists within the account). +// - ServiceQuotaExceededException +// The maximum number of resources per account has been reached. +// +// - ConflictException +// There was a conflict when processing the request (for example, a resource +// with the given name already exists within the account). // -// * InternalServerException -// The service is experiencing internal problems. +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication func (c *AppRegistry) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error) { @@ -297,14 +297,13 @@ const opCreateAttributeGroup = "CreateAttributeGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAttributeGroupRequest method. +// req, resp := client.CreateAttributeGroupRequest(params) // -// // Example sending a request using the CreateAttributeGroupRequest method. -// req, resp := client.CreateAttributeGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateAttributeGroup func (c *AppRegistry) CreateAttributeGroupRequest(input *CreateAttributeGroupInput) (req *request.Request, output *CreateAttributeGroupOutput) { @@ -338,18 +337,19 @@ func (c *AppRegistry) CreateAttributeGroupRequest(input *CreateAttributeGroupInp // API operation CreateAttributeGroup for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The maximum number of resources per account has been reached. // -// * ConflictException -// There was a conflict when processing the request (for example, a resource -// with the given name already exists within the account). +// - ServiceQuotaExceededException +// The maximum number of resources per account has been reached. +// +// - ConflictException +// There was a conflict when processing the request (for example, a resource +// with the given name already exists within the account). // -// * ValidationException -// The request has invalid or missing parameters. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// The service is experiencing internal problems. +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateAttributeGroup func (c *AppRegistry) CreateAttributeGroup(input *CreateAttributeGroupInput) (*CreateAttributeGroupOutput, error) { @@ -389,14 +389,13 @@ const opDeleteApplication = "DeleteApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationRequest method. +// req, resp := client.DeleteApplicationRequest(params) // -// // Example sending a request using the DeleteApplicationRequest method. -// req, resp := client.DeleteApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteApplication func (c *AppRegistry) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) { @@ -429,14 +428,15 @@ func (c *AppRegistry) DeleteApplicationRequest(input *DeleteApplicationInput) (r // API operation DeleteApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalServerException -// The service is experiencing internal problems. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteApplication func (c *AppRegistry) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) { @@ -476,14 +476,13 @@ const opDeleteAttributeGroup = "DeleteAttributeGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAttributeGroupRequest method. +// req, resp := client.DeleteAttributeGroupRequest(params) // -// // Example sending a request using the DeleteAttributeGroupRequest method. -// req, resp := client.DeleteAttributeGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup func (c *AppRegistry) DeleteAttributeGroupRequest(input *DeleteAttributeGroupInput) (req *request.Request, output *DeleteAttributeGroupOutput) { @@ -515,14 +514,15 @@ func (c *AppRegistry) DeleteAttributeGroupRequest(input *DeleteAttributeGroupInp // API operation DeleteAttributeGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// The service is experiencing internal problems. +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup func (c *AppRegistry) DeleteAttributeGroup(input *DeleteAttributeGroupInput) (*DeleteAttributeGroupOutput, error) { @@ -562,14 +562,13 @@ const opDisassociateAttributeGroup = "DisassociateAttributeGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateAttributeGroupRequest method. +// req, resp := client.DisassociateAttributeGroupRequest(params) // -// // Example sending a request using the DisassociateAttributeGroupRequest method. -// req, resp := client.DisassociateAttributeGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateAttributeGroup func (c *AppRegistry) DisassociateAttributeGroupRequest(input *DisassociateAttributeGroupInput) (req *request.Request, output *DisassociateAttributeGroupOutput) { @@ -602,14 +601,15 @@ func (c *AppRegistry) DisassociateAttributeGroupRequest(input *DisassociateAttri // API operation DisassociateAttributeGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// The service is experiencing internal problems. +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateAttributeGroup func (c *AppRegistry) DisassociateAttributeGroup(input *DisassociateAttributeGroupInput) (*DisassociateAttributeGroupOutput, error) { @@ -649,14 +649,13 @@ const opDisassociateResource = "DisassociateResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateResourceRequest method. +// req, resp := client.DisassociateResourceRequest(params) // -// // Example sending a request using the DisassociateResourceRequest method. -// req, resp := client.DisassociateResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateResource func (c *AppRegistry) DisassociateResourceRequest(input *DisassociateResourceInput) (req *request.Request, output *DisassociateResourceOutput) { @@ -688,11 +687,12 @@ func (c *AppRegistry) DisassociateResourceRequest(input *DisassociateResourceInp // API operation DisassociateResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InternalServerException -// The service is experiencing internal problems. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateResource func (c *AppRegistry) DisassociateResource(input *DisassociateResourceInput) (*DisassociateResourceOutput, error) { @@ -732,14 +732,13 @@ const opGetApplication = "GetApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApplicationRequest method. +// req, resp := client.GetApplicationRequest(params) // -// // Example sending a request using the GetApplicationRequest method. -// req, resp := client.GetApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication func (c *AppRegistry) GetApplicationRequest(input *GetApplicationInput) (req *request.Request, output *GetApplicationOutput) { @@ -775,14 +774,15 @@ func (c *AppRegistry) GetApplicationRequest(input *GetApplicationInput) (req *re // API operation GetApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// The service is experiencing internal problems. +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication func (c *AppRegistry) GetApplication(input *GetApplicationInput) (*GetApplicationOutput, error) { @@ -822,14 +822,13 @@ const opGetAssociatedResource = "GetAssociatedResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssociatedResourceRequest method. +// req, resp := client.GetAssociatedResourceRequest(params) // -// // Example sending a request using the GetAssociatedResourceRequest method. -// req, resp := client.GetAssociatedResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource func (c *AppRegistry) GetAssociatedResourceRequest(input *GetAssociatedResourceInput) (req *request.Request, output *GetAssociatedResourceOutput) { @@ -860,14 +859,15 @@ func (c *AppRegistry) GetAssociatedResourceRequest(input *GetAssociatedResourceI // API operation GetAssociatedResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// The service is experiencing internal problems. +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource func (c *AppRegistry) GetAssociatedResource(input *GetAssociatedResourceInput) (*GetAssociatedResourceOutput, error) { @@ -907,14 +907,13 @@ const opGetAttributeGroup = "GetAttributeGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAttributeGroupRequest method. +// req, resp := client.GetAttributeGroupRequest(params) // -// // Example sending a request using the GetAttributeGroupRequest method. -// req, resp := client.GetAttributeGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup func (c *AppRegistry) GetAttributeGroupRequest(input *GetAttributeGroupInput) (req *request.Request, output *GetAttributeGroupOutput) { @@ -946,14 +945,15 @@ func (c *AppRegistry) GetAttributeGroupRequest(input *GetAttributeGroupInput) (r // API operation GetAttributeGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalServerException -// The service is experiencing internal problems. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup func (c *AppRegistry) GetAttributeGroup(input *GetAttributeGroupInput) (*GetAttributeGroupOutput, error) { @@ -993,14 +993,13 @@ const opListApplications = "ListApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationsRequest method. +// req, resp := client.ListApplicationsRequest(params) // -// // Example sending a request using the ListApplicationsRequest method. -// req, resp := client.ListApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListApplications func (c *AppRegistry) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput) { @@ -1037,11 +1036,12 @@ func (c *AppRegistry) ListApplicationsRequest(input *ListApplicationsInput) (req // API operation ListApplications for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * InternalServerException -// The service is experiencing internal problems. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListApplications func (c *AppRegistry) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error) { @@ -1073,15 +1073,14 @@ func (c *AppRegistry) ListApplicationsWithContext(ctx aws.Context, input *ListAp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplications operation. -// pageNum := 0 -// err := client.ListApplicationsPages(params, -// func(page *appregistry.ListApplicationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplications operation. +// pageNum := 0 +// err := client.ListApplicationsPages(params, +// func(page *appregistry.ListApplicationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppRegistry) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error { return c.ListApplicationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1133,14 +1132,13 @@ const opListAssociatedAttributeGroups = "ListAssociatedAttributeGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssociatedAttributeGroupsRequest method. +// req, resp := client.ListAssociatedAttributeGroupsRequest(params) // -// // Example sending a request using the ListAssociatedAttributeGroupsRequest method. -// req, resp := client.ListAssociatedAttributeGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedAttributeGroups func (c *AppRegistry) ListAssociatedAttributeGroupsRequest(input *ListAssociatedAttributeGroupsInput) (req *request.Request, output *ListAssociatedAttributeGroupsOutput) { @@ -1178,14 +1176,15 @@ func (c *AppRegistry) ListAssociatedAttributeGroupsRequest(input *ListAssociated // API operation ListAssociatedAttributeGroups for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalServerException -// The service is experiencing internal problems. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedAttributeGroups func (c *AppRegistry) ListAssociatedAttributeGroups(input *ListAssociatedAttributeGroupsInput) (*ListAssociatedAttributeGroupsOutput, error) { @@ -1217,15 +1216,14 @@ func (c *AppRegistry) ListAssociatedAttributeGroupsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssociatedAttributeGroups operation. -// pageNum := 0 -// err := client.ListAssociatedAttributeGroupsPages(params, -// func(page *appregistry.ListAssociatedAttributeGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssociatedAttributeGroups operation. +// pageNum := 0 +// err := client.ListAssociatedAttributeGroupsPages(params, +// func(page *appregistry.ListAssociatedAttributeGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppRegistry) ListAssociatedAttributeGroupsPages(input *ListAssociatedAttributeGroupsInput, fn func(*ListAssociatedAttributeGroupsOutput, bool) bool) error { return c.ListAssociatedAttributeGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1277,14 +1275,13 @@ const opListAssociatedResources = "ListAssociatedResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssociatedResourcesRequest method. +// req, resp := client.ListAssociatedResourcesRequest(params) // -// // Example sending a request using the ListAssociatedResourcesRequest method. -// req, resp := client.ListAssociatedResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources func (c *AppRegistry) ListAssociatedResourcesRequest(input *ListAssociatedResourcesInput) (req *request.Request, output *ListAssociatedResourcesOutput) { @@ -1322,14 +1319,15 @@ func (c *AppRegistry) ListAssociatedResourcesRequest(input *ListAssociatedResour // API operation ListAssociatedResources for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalServerException -// The service is experiencing internal problems. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources func (c *AppRegistry) ListAssociatedResources(input *ListAssociatedResourcesInput) (*ListAssociatedResourcesOutput, error) { @@ -1361,15 +1359,14 @@ func (c *AppRegistry) ListAssociatedResourcesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssociatedResources operation. -// pageNum := 0 -// err := client.ListAssociatedResourcesPages(params, -// func(page *appregistry.ListAssociatedResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssociatedResources operation. +// pageNum := 0 +// err := client.ListAssociatedResourcesPages(params, +// func(page *appregistry.ListAssociatedResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppRegistry) ListAssociatedResourcesPages(input *ListAssociatedResourcesInput, fn func(*ListAssociatedResourcesOutput, bool) bool) error { return c.ListAssociatedResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1421,14 +1418,13 @@ const opListAttributeGroups = "ListAttributeGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAttributeGroupsRequest method. +// req, resp := client.ListAttributeGroupsRequest(params) // -// // Example sending a request using the ListAttributeGroupsRequest method. -// req, resp := client.ListAttributeGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups func (c *AppRegistry) ListAttributeGroupsRequest(input *ListAttributeGroupsInput) (req *request.Request, output *ListAttributeGroupsOutput) { @@ -1465,11 +1461,12 @@ func (c *AppRegistry) ListAttributeGroupsRequest(input *ListAttributeGroupsInput // API operation ListAttributeGroups for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * InternalServerException -// The service is experiencing internal problems. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups func (c *AppRegistry) ListAttributeGroups(input *ListAttributeGroupsInput) (*ListAttributeGroupsOutput, error) { @@ -1501,15 +1498,14 @@ func (c *AppRegistry) ListAttributeGroupsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAttributeGroups operation. -// pageNum := 0 -// err := client.ListAttributeGroupsPages(params, -// func(page *appregistry.ListAttributeGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAttributeGroups operation. +// pageNum := 0 +// err := client.ListAttributeGroupsPages(params, +// func(page *appregistry.ListAttributeGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppRegistry) ListAttributeGroupsPages(input *ListAttributeGroupsInput, fn func(*ListAttributeGroupsOutput, bool) bool) error { return c.ListAttributeGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1561,14 +1557,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListTagsForResource func (c *AppRegistry) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1599,14 +1594,15 @@ func (c *AppRegistry) ListTagsForResourceRequest(input *ListTagsForResourceInput // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// The service is experiencing internal problems. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListTagsForResource func (c *AppRegistry) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1646,14 +1642,13 @@ const opSyncResource = "SyncResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SyncResourceRequest method. +// req, resp := client.SyncResourceRequest(params) // -// // Example sending a request using the SyncResourceRequest method. -// req, resp := client.SyncResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/SyncResource func (c *AppRegistry) SyncResourceRequest(input *SyncResourceInput) (req *request.Request, output *SyncResourceOutput) { @@ -1689,15 +1684,16 @@ func (c *AppRegistry) SyncResourceRequest(input *SyncResourceInput) (req *reques // API operation SyncResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InternalServerException -// The service is experiencing internal problems. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InternalServerException +// The service is experiencing internal problems. // -// * ConflictException -// There was a conflict when processing the request (for example, a resource -// with the given name already exists within the account). +// - ConflictException +// There was a conflict when processing the request (for example, a resource +// with the given name already exists within the account). // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/SyncResource func (c *AppRegistry) SyncResource(input *SyncResourceInput) (*SyncResourceOutput, error) { @@ -1737,14 +1733,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/TagResource func (c *AppRegistry) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1781,14 +1776,15 @@ func (c *AppRegistry) TagResourceRequest(input *TagResourceInput) (req *request. // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ValidationException +// The request has invalid or missing parameters. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalServerException -// The service is experiencing internal problems. +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/TagResource func (c *AppRegistry) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1828,14 +1824,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UntagResource func (c *AppRegistry) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1869,14 +1864,15 @@ func (c *AppRegistry) UntagResourceRequest(input *UntagResourceInput) (req *requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// The service is experiencing internal problems. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UntagResource func (c *AppRegistry) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1916,14 +1912,13 @@ const opUpdateApplication = "UpdateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationRequest method. +// req, resp := client.UpdateApplicationRequest(params) // -// // Example sending a request using the UpdateApplicationRequest method. -// req, resp := client.UpdateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateApplication func (c *AppRegistry) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) { @@ -1954,15 +1949,16 @@ func (c *AppRegistry) UpdateApplicationRequest(input *UpdateApplicationInput) (r // API operation UpdateApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * ConflictException -// There was a conflict when processing the request (for example, a resource -// with the given name already exists within the account). +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - ConflictException +// There was a conflict when processing the request (for example, a resource +// with the given name already exists within the account). // -// * InternalServerException -// The service is experiencing internal problems. +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateApplication func (c *AppRegistry) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) { @@ -2002,14 +1998,13 @@ const opUpdateAttributeGroup = "UpdateAttributeGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAttributeGroupRequest method. +// req, resp := client.UpdateAttributeGroupRequest(params) // -// // Example sending a request using the UpdateAttributeGroupRequest method. -// req, resp := client.UpdateAttributeGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateAttributeGroup func (c *AppRegistry) UpdateAttributeGroupRequest(input *UpdateAttributeGroupInput) (req *request.Request, output *UpdateAttributeGroupOutput) { @@ -2040,18 +2035,19 @@ func (c *AppRegistry) UpdateAttributeGroupRequest(input *UpdateAttributeGroupInp // API operation UpdateAttributeGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * ConflictException -// There was a conflict when processing the request (for example, a resource -// with the given name already exists within the account). +// - ConflictException +// There was a conflict when processing the request (for example, a resource +// with the given name already exists within the account). // -// * InternalServerException -// The service is experiencing internal problems. +// - InternalServerException +// The service is experiencing internal problems. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateAttributeGroup func (c *AppRegistry) UpdateAttributeGroup(input *UpdateAttributeGroupInput) (*UpdateAttributeGroupOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/appregistryiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/appregistryiface/interface.go index cb9e00ccae96..801b717e0997 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/appregistryiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/appregistryiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Service Catalog App Registry. -// func myFunc(svc appregistryiface.AppRegistryAPI) bool { -// // Make svc.AssociateAttributeGroup request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Service Catalog App Registry. +// func myFunc(svc appregistryiface.AppRegistryAPI) bool { +// // Make svc.AssociateAttributeGroup request +// } // -// func main() { -// sess := session.New() -// svc := appregistry.New(sess) +// func main() { +// sess := session.New() +// svc := appregistry.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAppRegistryClient struct { -// appregistryiface.AppRegistryAPI -// } -// func (m *mockAppRegistryClient) AssociateAttributeGroup(input *appregistry.AssociateAttributeGroupInput) (*appregistry.AssociateAttributeGroupOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAppRegistryClient struct { +// appregistryiface.AppRegistryAPI +// } +// func (m *mockAppRegistryClient) AssociateAttributeGroup(input *appregistry.AssociateAttributeGroupInput) (*appregistry.AssociateAttributeGroupOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAppRegistryClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAppRegistryClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/doc.go index a3bf0ad442b7..57a3e3b69652 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/doc.go @@ -13,7 +13,7 @@ // See appregistry package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/appregistry/ // -// Using the Client +// # Using the Client // // To contact AWS Service Catalog App Registry with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/service.go index bbc1d2137967..53a00ad3f4c0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appregistry/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AppRegistry client from just a session. -// svc := appregistry.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AppRegistry client with additional configuration -// svc := appregistry.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AppRegistry client from just a session. +// svc := appregistry.New(mySession) +// +// // Create a AppRegistry client with additional configuration +// svc := appregistry.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AppRegistry { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/api.go index cfba7f10f7b9..c8decd984531 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/api.go @@ -29,14 +29,13 @@ const opAssociateCustomDomain = "AssociateCustomDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateCustomDomainRequest method. +// req, resp := client.AssociateCustomDomainRequest(params) // -// // Example sending a request using the AssociateCustomDomainRequest method. -// req, resp := client.AssociateCustomDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/AssociateCustomDomain func (c *AppRunner) AssociateCustomDomainRequest(input *AssociateCustomDomainInput) (req *request.Request, output *AssociateCustomDomainOutput) { @@ -76,15 +75,16 @@ func (c *AppRunner) AssociateCustomDomainRequest(input *AssociateCustomDomainInp // API operation AssociateCustomDomain for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. +// +// - InternalServiceErrorException +// An unexpected service exception occurred. // -// * InvalidStateException -// You can't perform this action when the resource is in its current state. +// - InvalidStateException +// You can't perform this action when the resource is in its current state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/AssociateCustomDomain func (c *AppRunner) AssociateCustomDomain(input *AssociateCustomDomainInput) (*AssociateCustomDomainOutput, error) { @@ -124,14 +124,13 @@ const opCreateAutoScalingConfiguration = "CreateAutoScalingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAutoScalingConfigurationRequest method. +// req, resp := client.CreateAutoScalingConfigurationRequest(params) // -// // Example sending a request using the CreateAutoScalingConfigurationRequest method. -// req, resp := client.CreateAutoScalingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateAutoScalingConfiguration func (c *AppRunner) CreateAutoScalingConfigurationRequest(input *CreateAutoScalingConfigurationInput) (req *request.Request, output *CreateAutoScalingConfigurationOutput) { @@ -179,19 +178,20 @@ func (c *AppRunner) CreateAutoScalingConfigurationRequest(input *CreateAutoScali // API operation CreateAutoScalingConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. // -// * ServiceQuotaExceededException -// App Runner can't create this resource. You've reached your account quota -// for this resource type. +// - InternalServiceErrorException +// An unexpected service exception occurred. // -// For App Runner per-resource quotas, see App Runner endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/apprunner.html) -// in the Amazon Web Services General Reference. +// - ServiceQuotaExceededException +// App Runner can't create this resource. You've reached your account quota +// for this resource type. +// +// For App Runner per-resource quotas, see App Runner endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/apprunner.html) +// in the Amazon Web Services General Reference. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateAutoScalingConfiguration func (c *AppRunner) CreateAutoScalingConfiguration(input *CreateAutoScalingConfigurationInput) (*CreateAutoScalingConfigurationOutput, error) { @@ -231,14 +231,13 @@ const opCreateConnection = "CreateConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConnectionRequest method. +// req, resp := client.CreateConnectionRequest(params) // -// // Example sending a request using the CreateConnectionRequest method. -// req, resp := client.CreateConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateConnection func (c *AppRunner) CreateConnectionRequest(input *CreateConnectionInput) (req *request.Request, output *CreateConnectionOutput) { @@ -276,19 +275,20 @@ func (c *AppRunner) CreateConnectionRequest(input *CreateConnectionInput) (req * // API operation CreateConnection for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. // -// * ServiceQuotaExceededException -// App Runner can't create this resource. You've reached your account quota -// for this resource type. +// - InternalServiceErrorException +// An unexpected service exception occurred. // -// For App Runner per-resource quotas, see App Runner endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/apprunner.html) -// in the Amazon Web Services General Reference. +// - ServiceQuotaExceededException +// App Runner can't create this resource. You've reached your account quota +// for this resource type. +// +// For App Runner per-resource quotas, see App Runner endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/apprunner.html) +// in the Amazon Web Services General Reference. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateConnection func (c *AppRunner) CreateConnection(input *CreateConnectionInput) (*CreateConnectionOutput, error) { @@ -328,14 +328,13 @@ const opCreateObservabilityConfiguration = "CreateObservabilityConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateObservabilityConfigurationRequest method. +// req, resp := client.CreateObservabilityConfigurationRequest(params) // -// // Example sending a request using the CreateObservabilityConfigurationRequest method. -// req, resp := client.CreateObservabilityConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateObservabilityConfiguration func (c *AppRunner) CreateObservabilityConfigurationRequest(input *CreateObservabilityConfigurationInput) (req *request.Request, output *CreateObservabilityConfigurationOutput) { @@ -382,19 +381,20 @@ func (c *AppRunner) CreateObservabilityConfigurationRequest(input *CreateObserva // API operation CreateObservabilityConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. // -// * ServiceQuotaExceededException -// App Runner can't create this resource. You've reached your account quota -// for this resource type. +// - InternalServiceErrorException +// An unexpected service exception occurred. // -// For App Runner per-resource quotas, see App Runner endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/apprunner.html) -// in the Amazon Web Services General Reference. +// - ServiceQuotaExceededException +// App Runner can't create this resource. You've reached your account quota +// for this resource type. +// +// For App Runner per-resource quotas, see App Runner endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/apprunner.html) +// in the Amazon Web Services General Reference. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateObservabilityConfiguration func (c *AppRunner) CreateObservabilityConfiguration(input *CreateObservabilityConfigurationInput) (*CreateObservabilityConfigurationOutput, error) { @@ -434,14 +434,13 @@ const opCreateService = "CreateService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateServiceRequest method. +// req, resp := client.CreateServiceRequest(params) // -// // Example sending a request using the CreateServiceRequest method. -// req, resp := client.CreateServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateService func (c *AppRunner) CreateServiceRequest(input *CreateServiceInput) (req *request.Request, output *CreateServiceOutput) { @@ -477,19 +476,20 @@ func (c *AppRunner) CreateServiceRequest(input *CreateServiceInput) (req *reques // API operation CreateService for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. // -// * ServiceQuotaExceededException -// App Runner can't create this resource. You've reached your account quota -// for this resource type. +// - InternalServiceErrorException +// An unexpected service exception occurred. // -// For App Runner per-resource quotas, see App Runner endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/apprunner.html) -// in the Amazon Web Services General Reference. +// - ServiceQuotaExceededException +// App Runner can't create this resource. You've reached your account quota +// for this resource type. +// +// For App Runner per-resource quotas, see App Runner endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/apprunner.html) +// in the Amazon Web Services General Reference. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateService func (c *AppRunner) CreateService(input *CreateServiceInput) (*CreateServiceOutput, error) { @@ -529,14 +529,13 @@ const opCreateVpcConnector = "CreateVpcConnector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVpcConnectorRequest method. +// req, resp := client.CreateVpcConnectorRequest(params) // -// // Example sending a request using the CreateVpcConnectorRequest method. -// req, resp := client.CreateVpcConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateVpcConnector func (c *AppRunner) CreateVpcConnectorRequest(input *CreateVpcConnectorInput) (req *request.Request, output *CreateVpcConnectorOutput) { @@ -569,19 +568,20 @@ func (c *AppRunner) CreateVpcConnectorRequest(input *CreateVpcConnectorInput) (r // API operation CreateVpcConnector for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. // -// * ServiceQuotaExceededException -// App Runner can't create this resource. You've reached your account quota -// for this resource type. +// - InternalServiceErrorException +// An unexpected service exception occurred. // -// For App Runner per-resource quotas, see App Runner endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/apprunner.html) -// in the Amazon Web Services General Reference. +// - ServiceQuotaExceededException +// App Runner can't create this resource. You've reached your account quota +// for this resource type. +// +// For App Runner per-resource quotas, see App Runner endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/apprunner.html) +// in the Amazon Web Services General Reference. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateVpcConnector func (c *AppRunner) CreateVpcConnector(input *CreateVpcConnectorInput) (*CreateVpcConnectorOutput, error) { @@ -621,14 +621,13 @@ const opDeleteAutoScalingConfiguration = "DeleteAutoScalingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAutoScalingConfigurationRequest method. +// req, resp := client.DeleteAutoScalingConfigurationRequest(params) // -// // Example sending a request using the DeleteAutoScalingConfigurationRequest method. -// req, resp := client.DeleteAutoScalingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteAutoScalingConfiguration func (c *AppRunner) DeleteAutoScalingConfigurationRequest(input *DeleteAutoScalingConfigurationInput) (req *request.Request, output *DeleteAutoScalingConfigurationOutput) { @@ -661,16 +660,17 @@ func (c *AppRunner) DeleteAutoScalingConfigurationRequest(input *DeleteAutoScali // API operation DeleteAutoScalingConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - InternalServiceErrorException +// An unexpected service exception occurred. +// +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteAutoScalingConfiguration func (c *AppRunner) DeleteAutoScalingConfiguration(input *DeleteAutoScalingConfigurationInput) (*DeleteAutoScalingConfigurationOutput, error) { @@ -710,14 +710,13 @@ const opDeleteConnection = "DeleteConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConnectionRequest method. +// req, resp := client.DeleteConnectionRequest(params) // -// // Example sending a request using the DeleteConnectionRequest method. -// req, resp := client.DeleteConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteConnection func (c *AppRunner) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput) { @@ -750,16 +749,17 @@ func (c *AppRunner) DeleteConnectionRequest(input *DeleteConnectionInput) (req * // API operation DeleteConnection for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. +// +// - InternalServiceErrorException +// An unexpected service exception occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteConnection func (c *AppRunner) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error) { @@ -799,14 +799,13 @@ const opDeleteObservabilityConfiguration = "DeleteObservabilityConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteObservabilityConfigurationRequest method. +// req, resp := client.DeleteObservabilityConfigurationRequest(params) // -// // Example sending a request using the DeleteObservabilityConfigurationRequest method. -// req, resp := client.DeleteObservabilityConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteObservabilityConfiguration func (c *AppRunner) DeleteObservabilityConfigurationRequest(input *DeleteObservabilityConfigurationInput) (req *request.Request, output *DeleteObservabilityConfigurationOutput) { @@ -839,16 +838,17 @@ func (c *AppRunner) DeleteObservabilityConfigurationRequest(input *DeleteObserva // API operation DeleteObservabilityConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - InternalServiceErrorException +// An unexpected service exception occurred. +// +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteObservabilityConfiguration func (c *AppRunner) DeleteObservabilityConfiguration(input *DeleteObservabilityConfigurationInput) (*DeleteObservabilityConfigurationOutput, error) { @@ -888,14 +888,13 @@ const opDeleteService = "DeleteService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServiceRequest method. +// req, resp := client.DeleteServiceRequest(params) // -// // Example sending a request using the DeleteServiceRequest method. -// req, resp := client.DeleteServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteService func (c *AppRunner) DeleteServiceRequest(input *DeleteServiceInput) (req *request.Request, output *DeleteServiceOutput) { @@ -930,19 +929,20 @@ func (c *AppRunner) DeleteServiceRequest(input *DeleteServiceInput) (req *reques // API operation DeleteService for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. +// +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. // -// * InvalidStateException -// You can't perform this action when the resource is in its current state. +// - InvalidStateException +// You can't perform this action when the resource is in its current state. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InternalServiceErrorException +// An unexpected service exception occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteService func (c *AppRunner) DeleteService(input *DeleteServiceInput) (*DeleteServiceOutput, error) { @@ -982,14 +982,13 @@ const opDeleteVpcConnector = "DeleteVpcConnector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVpcConnectorRequest method. +// req, resp := client.DeleteVpcConnectorRequest(params) // -// // Example sending a request using the DeleteVpcConnectorRequest method. -// req, resp := client.DeleteVpcConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteVpcConnector func (c *AppRunner) DeleteVpcConnectorRequest(input *DeleteVpcConnectorInput) (req *request.Request, output *DeleteVpcConnectorOutput) { @@ -1021,16 +1020,17 @@ func (c *AppRunner) DeleteVpcConnectorRequest(input *DeleteVpcConnectorInput) (r // API operation DeleteVpcConnector for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. +// +// - InternalServiceErrorException +// An unexpected service exception occurred. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteVpcConnector func (c *AppRunner) DeleteVpcConnector(input *DeleteVpcConnectorInput) (*DeleteVpcConnectorOutput, error) { @@ -1070,14 +1070,13 @@ const opDescribeAutoScalingConfiguration = "DescribeAutoScalingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAutoScalingConfigurationRequest method. +// req, resp := client.DescribeAutoScalingConfigurationRequest(params) // -// // Example sending a request using the DescribeAutoScalingConfigurationRequest method. -// req, resp := client.DescribeAutoScalingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeAutoScalingConfiguration func (c *AppRunner) DescribeAutoScalingConfigurationRequest(input *DescribeAutoScalingConfigurationInput) (req *request.Request, output *DescribeAutoScalingConfigurationOutput) { @@ -1109,16 +1108,17 @@ func (c *AppRunner) DescribeAutoScalingConfigurationRequest(input *DescribeAutoS // API operation DescribeAutoScalingConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. +// +// - InternalServiceErrorException +// An unexpected service exception occurred. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeAutoScalingConfiguration func (c *AppRunner) DescribeAutoScalingConfiguration(input *DescribeAutoScalingConfigurationInput) (*DescribeAutoScalingConfigurationOutput, error) { @@ -1158,14 +1158,13 @@ const opDescribeCustomDomains = "DescribeCustomDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCustomDomainsRequest method. +// req, resp := client.DescribeCustomDomainsRequest(params) // -// // Example sending a request using the DescribeCustomDomainsRequest method. -// req, resp := client.DescribeCustomDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeCustomDomains func (c *AppRunner) DescribeCustomDomainsRequest(input *DescribeCustomDomainsInput) (req *request.Request, output *DescribeCustomDomainsOutput) { @@ -1203,16 +1202,17 @@ func (c *AppRunner) DescribeCustomDomainsRequest(input *DescribeCustomDomainsInp // API operation DescribeCustomDomains for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. +// +// - InternalServiceErrorException +// An unexpected service exception occurred. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeCustomDomains func (c *AppRunner) DescribeCustomDomains(input *DescribeCustomDomainsInput) (*DescribeCustomDomainsOutput, error) { @@ -1244,15 +1244,14 @@ func (c *AppRunner) DescribeCustomDomainsWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCustomDomains operation. -// pageNum := 0 -// err := client.DescribeCustomDomainsPages(params, -// func(page *apprunner.DescribeCustomDomainsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCustomDomains operation. +// pageNum := 0 +// err := client.DescribeCustomDomainsPages(params, +// func(page *apprunner.DescribeCustomDomainsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppRunner) DescribeCustomDomainsPages(input *DescribeCustomDomainsInput, fn func(*DescribeCustomDomainsOutput, bool) bool) error { return c.DescribeCustomDomainsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1304,14 +1303,13 @@ const opDescribeObservabilityConfiguration = "DescribeObservabilityConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeObservabilityConfigurationRequest method. +// req, resp := client.DescribeObservabilityConfigurationRequest(params) // -// // Example sending a request using the DescribeObservabilityConfigurationRequest method. -// req, resp := client.DescribeObservabilityConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeObservabilityConfiguration func (c *AppRunner) DescribeObservabilityConfigurationRequest(input *DescribeObservabilityConfigurationInput) (req *request.Request, output *DescribeObservabilityConfigurationOutput) { @@ -1342,16 +1340,17 @@ func (c *AppRunner) DescribeObservabilityConfigurationRequest(input *DescribeObs // API operation DescribeObservabilityConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - InternalServiceErrorException +// An unexpected service exception occurred. +// +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeObservabilityConfiguration func (c *AppRunner) DescribeObservabilityConfiguration(input *DescribeObservabilityConfigurationInput) (*DescribeObservabilityConfigurationOutput, error) { @@ -1391,14 +1390,13 @@ const opDescribeService = "DescribeService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeServiceRequest method. +// req, resp := client.DescribeServiceRequest(params) // -// // Example sending a request using the DescribeServiceRequest method. -// req, resp := client.DescribeServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeService func (c *AppRunner) DescribeServiceRequest(input *DescribeServiceInput) (req *request.Request, output *DescribeServiceOutput) { @@ -1429,16 +1427,17 @@ func (c *AppRunner) DescribeServiceRequest(input *DescribeServiceInput) (req *re // API operation DescribeService for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. +// +// - InternalServiceErrorException +// An unexpected service exception occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeService func (c *AppRunner) DescribeService(input *DescribeServiceInput) (*DescribeServiceOutput, error) { @@ -1478,14 +1477,13 @@ const opDescribeVpcConnector = "DescribeVpcConnector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpcConnectorRequest method. +// req, resp := client.DescribeVpcConnectorRequest(params) // -// // Example sending a request using the DescribeVpcConnectorRequest method. -// req, resp := client.DescribeVpcConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeVpcConnector func (c *AppRunner) DescribeVpcConnectorRequest(input *DescribeVpcConnectorInput) (req *request.Request, output *DescribeVpcConnectorOutput) { @@ -1516,16 +1514,17 @@ func (c *AppRunner) DescribeVpcConnectorRequest(input *DescribeVpcConnectorInput // API operation DescribeVpcConnector for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - InternalServiceErrorException +// An unexpected service exception occurred. +// +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeVpcConnector func (c *AppRunner) DescribeVpcConnector(input *DescribeVpcConnectorInput) (*DescribeVpcConnectorOutput, error) { @@ -1565,14 +1564,13 @@ const opDisassociateCustomDomain = "DisassociateCustomDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateCustomDomainRequest method. +// req, resp := client.DisassociateCustomDomainRequest(params) // -// // Example sending a request using the DisassociateCustomDomainRequest method. -// req, resp := client.DisassociateCustomDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DisassociateCustomDomain func (c *AppRunner) DisassociateCustomDomainRequest(input *DisassociateCustomDomainInput) (req *request.Request, output *DisassociateCustomDomainOutput) { @@ -1609,19 +1607,20 @@ func (c *AppRunner) DisassociateCustomDomainRequest(input *DisassociateCustomDom // API operation DisassociateCustomDomain for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - InternalServiceErrorException +// An unexpected service exception occurred. // -// * InvalidStateException -// You can't perform this action when the resource is in its current state. +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. +// +// - InvalidStateException +// You can't perform this action when the resource is in its current state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DisassociateCustomDomain func (c *AppRunner) DisassociateCustomDomain(input *DisassociateCustomDomainInput) (*DisassociateCustomDomainOutput, error) { @@ -1661,14 +1660,13 @@ const opListAutoScalingConfigurations = "ListAutoScalingConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAutoScalingConfigurationsRequest method. +// req, resp := client.ListAutoScalingConfigurationsRequest(params) // -// // Example sending a request using the ListAutoScalingConfigurationsRequest method. -// req, resp := client.ListAutoScalingConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListAutoScalingConfigurations func (c *AppRunner) ListAutoScalingConfigurationsRequest(input *ListAutoScalingConfigurationsInput) (req *request.Request, output *ListAutoScalingConfigurationsOutput) { @@ -1711,12 +1709,13 @@ func (c *AppRunner) ListAutoScalingConfigurationsRequest(input *ListAutoScalingC // API operation ListAutoScalingConfigurations for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. +// +// - InternalServiceErrorException +// An unexpected service exception occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListAutoScalingConfigurations func (c *AppRunner) ListAutoScalingConfigurations(input *ListAutoScalingConfigurationsInput) (*ListAutoScalingConfigurationsOutput, error) { @@ -1748,15 +1747,14 @@ func (c *AppRunner) ListAutoScalingConfigurationsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAutoScalingConfigurations operation. -// pageNum := 0 -// err := client.ListAutoScalingConfigurationsPages(params, -// func(page *apprunner.ListAutoScalingConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAutoScalingConfigurations operation. +// pageNum := 0 +// err := client.ListAutoScalingConfigurationsPages(params, +// func(page *apprunner.ListAutoScalingConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppRunner) ListAutoScalingConfigurationsPages(input *ListAutoScalingConfigurationsInput, fn func(*ListAutoScalingConfigurationsOutput, bool) bool) error { return c.ListAutoScalingConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1808,14 +1806,13 @@ const opListConnections = "ListConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConnectionsRequest method. +// req, resp := client.ListConnectionsRequest(params) // -// // Example sending a request using the ListConnectionsRequest method. -// req, resp := client.ListConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListConnections func (c *AppRunner) ListConnectionsRequest(input *ListConnectionsInput) (req *request.Request, output *ListConnectionsOutput) { @@ -1853,12 +1850,13 @@ func (c *AppRunner) ListConnectionsRequest(input *ListConnectionsInput) (req *re // API operation ListConnections for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. +// +// - InternalServiceErrorException +// An unexpected service exception occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListConnections func (c *AppRunner) ListConnections(input *ListConnectionsInput) (*ListConnectionsOutput, error) { @@ -1890,15 +1888,14 @@ func (c *AppRunner) ListConnectionsWithContext(ctx aws.Context, input *ListConne // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListConnections operation. -// pageNum := 0 -// err := client.ListConnectionsPages(params, -// func(page *apprunner.ListConnectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListConnections operation. +// pageNum := 0 +// err := client.ListConnectionsPages(params, +// func(page *apprunner.ListConnectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppRunner) ListConnectionsPages(input *ListConnectionsInput, fn func(*ListConnectionsOutput, bool) bool) error { return c.ListConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1950,14 +1947,13 @@ const opListObservabilityConfigurations = "ListObservabilityConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListObservabilityConfigurationsRequest method. +// req, resp := client.ListObservabilityConfigurationsRequest(params) // -// // Example sending a request using the ListObservabilityConfigurationsRequest method. -// req, resp := client.ListObservabilityConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListObservabilityConfigurations func (c *AppRunner) ListObservabilityConfigurationsRequest(input *ListObservabilityConfigurationsInput) (req *request.Request, output *ListObservabilityConfigurationsOutput) { @@ -2000,12 +1996,13 @@ func (c *AppRunner) ListObservabilityConfigurationsRequest(input *ListObservabil // API operation ListObservabilityConfigurations for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. +// +// - InternalServiceErrorException +// An unexpected service exception occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListObservabilityConfigurations func (c *AppRunner) ListObservabilityConfigurations(input *ListObservabilityConfigurationsInput) (*ListObservabilityConfigurationsOutput, error) { @@ -2037,15 +2034,14 @@ func (c *AppRunner) ListObservabilityConfigurationsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListObservabilityConfigurations operation. -// pageNum := 0 -// err := client.ListObservabilityConfigurationsPages(params, -// func(page *apprunner.ListObservabilityConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListObservabilityConfigurations operation. +// pageNum := 0 +// err := client.ListObservabilityConfigurationsPages(params, +// func(page *apprunner.ListObservabilityConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppRunner) ListObservabilityConfigurationsPages(input *ListObservabilityConfigurationsInput, fn func(*ListObservabilityConfigurationsOutput, bool) bool) error { return c.ListObservabilityConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2097,14 +2093,13 @@ const opListOperations = "ListOperations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOperationsRequest method. +// req, resp := client.ListOperationsRequest(params) // -// // Example sending a request using the ListOperationsRequest method. -// req, resp := client.ListOperationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListOperations func (c *AppRunner) ListOperationsRequest(input *ListOperationsInput) (req *request.Request, output *ListOperationsOutput) { @@ -2144,16 +2139,17 @@ func (c *AppRunner) ListOperationsRequest(input *ListOperationsInput) (req *requ // API operation ListOperations for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - InternalServiceErrorException +// An unexpected service exception occurred. +// +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListOperations func (c *AppRunner) ListOperations(input *ListOperationsInput) (*ListOperationsOutput, error) { @@ -2185,15 +2181,14 @@ func (c *AppRunner) ListOperationsWithContext(ctx aws.Context, input *ListOperat // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOperations operation. -// pageNum := 0 -// err := client.ListOperationsPages(params, -// func(page *apprunner.ListOperationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOperations operation. +// pageNum := 0 +// err := client.ListOperationsPages(params, +// func(page *apprunner.ListOperationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppRunner) ListOperationsPages(input *ListOperationsInput, fn func(*ListOperationsOutput, bool) bool) error { return c.ListOperationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2245,14 +2240,13 @@ const opListServices = "ListServices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServicesRequest method. +// req, resp := client.ListServicesRequest(params) // -// // Example sending a request using the ListServicesRequest method. -// req, resp := client.ListServicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListServices func (c *AppRunner) ListServicesRequest(input *ListServicesInput) (req *request.Request, output *ListServicesOutput) { @@ -2290,12 +2284,13 @@ func (c *AppRunner) ListServicesRequest(input *ListServicesInput) (req *request. // API operation ListServices for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. +// +// - InternalServiceErrorException +// An unexpected service exception occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListServices func (c *AppRunner) ListServices(input *ListServicesInput) (*ListServicesOutput, error) { @@ -2327,15 +2322,14 @@ func (c *AppRunner) ListServicesWithContext(ctx aws.Context, input *ListServices // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServices operation. -// pageNum := 0 -// err := client.ListServicesPages(params, -// func(page *apprunner.ListServicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServices operation. +// pageNum := 0 +// err := client.ListServicesPages(params, +// func(page *apprunner.ListServicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppRunner) ListServicesPages(input *ListServicesInput, fn func(*ListServicesOutput, bool) bool) error { return c.ListServicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2387,14 +2381,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListTagsForResource func (c *AppRunner) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2426,19 +2419,20 @@ func (c *AppRunner) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. // -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. +// - InternalServiceErrorException +// An unexpected service exception occurred. // -// * InvalidStateException -// You can't perform this action when the resource is in its current state. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. +// +// - InvalidStateException +// You can't perform this action when the resource is in its current state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListTagsForResource func (c *AppRunner) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2478,14 +2472,13 @@ const opListVpcConnectors = "ListVpcConnectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVpcConnectorsRequest method. +// req, resp := client.ListVpcConnectorsRequest(params) // -// // Example sending a request using the ListVpcConnectorsRequest method. -// req, resp := client.ListVpcConnectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListVpcConnectors func (c *AppRunner) ListVpcConnectorsRequest(input *ListVpcConnectorsInput) (req *request.Request, output *ListVpcConnectorsOutput) { @@ -2522,12 +2515,13 @@ func (c *AppRunner) ListVpcConnectorsRequest(input *ListVpcConnectorsInput) (req // API operation ListVpcConnectors for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. +// +// - InternalServiceErrorException +// An unexpected service exception occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListVpcConnectors func (c *AppRunner) ListVpcConnectors(input *ListVpcConnectorsInput) (*ListVpcConnectorsOutput, error) { @@ -2559,15 +2553,14 @@ func (c *AppRunner) ListVpcConnectorsWithContext(ctx aws.Context, input *ListVpc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVpcConnectors operation. -// pageNum := 0 -// err := client.ListVpcConnectorsPages(params, -// func(page *apprunner.ListVpcConnectorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVpcConnectors operation. +// pageNum := 0 +// err := client.ListVpcConnectorsPages(params, +// func(page *apprunner.ListVpcConnectorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppRunner) ListVpcConnectorsPages(input *ListVpcConnectorsInput, fn func(*ListVpcConnectorsOutput, bool) bool) error { return c.ListVpcConnectorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2619,14 +2612,13 @@ const opPauseService = "PauseService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PauseServiceRequest method. +// req, resp := client.PauseServiceRequest(params) // -// // Example sending a request using the PauseServiceRequest method. -// req, resp := client.PauseServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/PauseService func (c *AppRunner) PauseServiceRequest(input *PauseServiceInput) (req *request.Request, output *PauseServiceOutput) { @@ -2662,19 +2654,20 @@ func (c *AppRunner) PauseServiceRequest(input *PauseServiceInput) (req *request. // API operation PauseService for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. +// +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InternalServiceErrorException +// An unexpected service exception occurred. // -// * InvalidStateException -// You can't perform this action when the resource is in its current state. +// - InvalidStateException +// You can't perform this action when the resource is in its current state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/PauseService func (c *AppRunner) PauseService(input *PauseServiceInput) (*PauseServiceOutput, error) { @@ -2714,14 +2707,13 @@ const opResumeService = "ResumeService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResumeServiceRequest method. +// req, resp := client.ResumeServiceRequest(params) // -// // Example sending a request using the ResumeServiceRequest method. -// req, resp := client.ResumeServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ResumeService func (c *AppRunner) ResumeServiceRequest(input *ResumeServiceInput) (req *request.Request, output *ResumeServiceOutput) { @@ -2757,19 +2749,20 @@ func (c *AppRunner) ResumeServiceRequest(input *ResumeServiceInput) (req *reques // API operation ResumeService for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. +// +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InternalServiceErrorException +// An unexpected service exception occurred. // -// * InvalidStateException -// You can't perform this action when the resource is in its current state. +// - InvalidStateException +// You can't perform this action when the resource is in its current state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ResumeService func (c *AppRunner) ResumeService(input *ResumeServiceInput) (*ResumeServiceOutput, error) { @@ -2809,14 +2802,13 @@ const opStartDeployment = "StartDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDeploymentRequest method. +// req, resp := client.StartDeploymentRequest(params) // -// // Example sending a request using the StartDeploymentRequest method. -// req, resp := client.StartDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/StartDeployment func (c *AppRunner) StartDeploymentRequest(input *StartDeploymentInput) (req *request.Request, output *StartDeploymentOutput) { @@ -2857,16 +2849,17 @@ func (c *AppRunner) StartDeploymentRequest(input *StartDeploymentInput) (req *re // API operation StartDeployment for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. +// +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InternalServiceErrorException +// An unexpected service exception occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/StartDeployment func (c *AppRunner) StartDeployment(input *StartDeploymentInput) (*StartDeploymentOutput, error) { @@ -2906,14 +2899,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/TagResource func (c *AppRunner) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2946,19 +2938,20 @@ func (c *AppRunner) TagResourceRequest(input *TagResourceInput) (req *request.Re // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. +// +// - InternalServiceErrorException +// An unexpected service exception occurred. // -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. // -// * InvalidStateException -// You can't perform this action when the resource is in its current state. +// - InvalidStateException +// You can't perform this action when the resource is in its current state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/TagResource func (c *AppRunner) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2998,14 +2991,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UntagResource func (c *AppRunner) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3037,19 +3029,20 @@ func (c *AppRunner) UntagResourceRequest(input *UntagResourceInput) (req *reques // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. +// +// - InternalServiceErrorException +// An unexpected service exception occurred. // -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. // -// * InvalidStateException -// You can't perform this action when the resource is in its current state. +// - InvalidStateException +// You can't perform this action when the resource is in its current state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UntagResource func (c *AppRunner) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3089,14 +3082,13 @@ const opUpdateService = "UpdateService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServiceRequest method. +// req, resp := client.UpdateServiceRequest(params) // -// // Example sending a request using the UpdateServiceRequest method. -// req, resp := client.UpdateServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateService func (c *AppRunner) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Request, output *UpdateServiceOutput) { @@ -3138,19 +3130,20 @@ func (c *AppRunner) UpdateServiceRequest(input *UpdateServiceInput) (req *reques // API operation UpdateService for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more input parameters aren't valid. Refer to the API action's document -// page, correct the input parameters, and try the action again. // -// * ResourceNotFoundException -// A resource doesn't exist for the specified Amazon Resource Name (ARN) in -// your Amazon Web Services account. +// - InvalidRequestException +// One or more input parameters aren't valid. Refer to the API action's document +// page, correct the input parameters, and try the action again. +// +// - ResourceNotFoundException +// A resource doesn't exist for the specified Amazon Resource Name (ARN) in +// your Amazon Web Services account. // -// * InvalidStateException -// You can't perform this action when the resource is in its current state. +// - InvalidStateException +// You can't perform this action when the resource is in its current state. // -// * InternalServiceErrorException -// An unexpected service exception occurred. +// - InternalServiceErrorException +// An unexpected service exception occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateService func (c *AppRunner) UpdateService(input *UpdateServiceInput) (*UpdateServiceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/apprunneriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/apprunneriface/interface.go index 9dbd5ea39e43..d0e9588fd830 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/apprunneriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/apprunneriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS App Runner. -// func myFunc(svc apprunneriface.AppRunnerAPI) bool { -// // Make svc.AssociateCustomDomain request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS App Runner. +// func myFunc(svc apprunneriface.AppRunnerAPI) bool { +// // Make svc.AssociateCustomDomain request +// } // -// func main() { -// sess := session.New() -// svc := apprunner.New(sess) +// func main() { +// sess := session.New() +// svc := apprunner.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAppRunnerClient struct { -// apprunneriface.AppRunnerAPI -// } -// func (m *mockAppRunnerClient) AssociateCustomDomain(input *apprunner.AssociateCustomDomainInput) (*apprunner.AssociateCustomDomainOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAppRunnerClient struct { +// apprunneriface.AppRunnerAPI +// } +// func (m *mockAppRunnerClient) AssociateCustomDomain(input *apprunner.AssociateCustomDomainInput) (*apprunner.AssociateCustomDomainOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAppRunnerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAppRunnerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/doc.go index 7d8f7b2d1249..45516d00138d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/doc.go @@ -21,7 +21,7 @@ // (IDE) Toolkits, and command line tools that you can use to access the API, // see Tools for Amazon Web Services (http://aws.amazon.com/tools/). // -// Endpoints +// # Endpoints // // For a list of Region-specific endpoints that App Runner supports, see App // Runner endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/apprunner.html) @@ -32,7 +32,7 @@ // See apprunner package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/apprunner/ // -// Using the Client +// # Using the Client // // To contact AWS App Runner with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/service.go index 68516a01bcce..b6e5d214fecc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/apprunner/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AppRunner client from just a session. -// svc := apprunner.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AppRunner client with additional configuration -// svc := apprunner.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AppRunner client from just a session. +// svc := apprunner.New(mySession) +// +// // Create a AppRunner client with additional configuration +// svc := apprunner.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AppRunner { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/api.go index 878421a3bcac..2cb25f5e4ac6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/api.go @@ -29,14 +29,13 @@ const opAssociateApplicationFleet = "AssociateApplicationFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateApplicationFleetRequest method. +// req, resp := client.AssociateApplicationFleetRequest(params) // -// // Example sending a request using the AssociateApplicationFleetRequest method. -// req, resp := client.AssociateApplicationFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleet func (c *AppStream) AssociateApplicationFleetRequest(input *AssociateApplicationFleetInput) (req *request.Request, output *AssociateApplicationFleetOutput) { @@ -68,20 +67,21 @@ func (c *AppStream) AssociateApplicationFleetRequest(input *AssociateApplication // API operation AssociateApplicationFleet for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. // -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. +// +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - OperationNotPermittedException +// The attempted operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleet func (c *AppStream) AssociateApplicationFleet(input *AssociateApplicationFleetInput) (*AssociateApplicationFleetOutput, error) { @@ -121,14 +121,13 @@ const opAssociateApplicationToEntitlement = "AssociateApplicationToEntitlement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateApplicationToEntitlementRequest method. +// req, resp := client.AssociateApplicationToEntitlementRequest(params) // -// // Example sending a request using the AssociateApplicationToEntitlementRequest method. -// req, resp := client.AssociateApplicationToEntitlementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement func (c *AppStream) AssociateApplicationToEntitlementRequest(input *AssociateApplicationToEntitlementInput) (req *request.Request, output *AssociateApplicationToEntitlementOutput) { @@ -160,20 +159,21 @@ func (c *AppStream) AssociateApplicationToEntitlementRequest(input *AssociateApp // API operation AssociateApplicationToEntitlement for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The attempted operation is not permitted. // -// * ResourceNotFoundException -// The specified resource was not found. +// - OperationNotPermittedException +// The attempted operation is not permitted. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * EntitlementNotFoundException -// The entitlement can't be found. +// - EntitlementNotFoundException +// The entitlement can't be found. // -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - OperationNotPermittedException +// The attempted operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement func (c *AppStream) AssociateApplicationToEntitlement(input *AssociateApplicationToEntitlementInput) (*AssociateApplicationToEntitlementOutput, error) { @@ -213,14 +213,13 @@ const opAssociateFleet = "AssociateFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateFleetRequest method. +// req, resp := client.AssociateFleetRequest(params) // -// // Example sending a request using the AssociateFleetRequest method. -// req, resp := client.AssociateFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet func (c *AppStream) AssociateFleetRequest(input *AssociateFleetInput) (req *request.Request, output *AssociateFleetOutput) { @@ -252,24 +251,25 @@ func (c *AppStream) AssociateFleetRequest(input *AssociateFleetInput) (req *requ // API operation AssociateFleet for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. +// +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // -// * IncompatibleImageException -// The image can't be updated because it's not compatible for updates. +// - IncompatibleImageException +// The image can't be updated because it's not compatible for updates. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - OperationNotPermittedException +// The attempted operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet func (c *AppStream) AssociateFleet(input *AssociateFleetInput) (*AssociateFleetOutput, error) { @@ -309,14 +309,13 @@ const opBatchAssociateUserStack = "BatchAssociateUserStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchAssociateUserStackRequest method. +// req, resp := client.BatchAssociateUserStackRequest(params) // -// // Example sending a request using the BatchAssociateUserStackRequest method. -// req, resp := client.BatchAssociateUserStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack func (c *AppStream) BatchAssociateUserStackRequest(input *BatchAssociateUserStackInput) (req *request.Request, output *BatchAssociateUserStackOutput) { @@ -349,11 +348,12 @@ func (c *AppStream) BatchAssociateUserStackRequest(input *BatchAssociateUserStac // API operation BatchAssociateUserStack for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The attempted operation is not permitted. // -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. +// - OperationNotPermittedException +// The attempted operation is not permitted. +// +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack func (c *AppStream) BatchAssociateUserStack(input *BatchAssociateUserStackInput) (*BatchAssociateUserStackOutput, error) { @@ -393,14 +393,13 @@ const opBatchDisassociateUserStack = "BatchDisassociateUserStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDisassociateUserStackRequest method. +// req, resp := client.BatchDisassociateUserStackRequest(params) // -// // Example sending a request using the BatchDisassociateUserStackRequest method. -// req, resp := client.BatchDisassociateUserStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack func (c *AppStream) BatchDisassociateUserStackRequest(input *BatchDisassociateUserStackInput) (req *request.Request, output *BatchDisassociateUserStackOutput) { @@ -431,11 +430,12 @@ func (c *AppStream) BatchDisassociateUserStackRequest(input *BatchDisassociateUs // API operation BatchDisassociateUserStack for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The attempted operation is not permitted. // -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. +// - OperationNotPermittedException +// The attempted operation is not permitted. +// +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack func (c *AppStream) BatchDisassociateUserStack(input *BatchDisassociateUserStackInput) (*BatchDisassociateUserStackOutput, error) { @@ -475,14 +475,13 @@ const opCopyImage = "CopyImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyImageRequest method. +// req, resp := client.CopyImageRequest(params) // -// // Example sending a request using the CopyImageRequest method. -// req, resp := client.CopyImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage func (c *AppStream) CopyImageRequest(input *CopyImageInput) (req *request.Request, output *CopyImageOutput) { @@ -514,24 +513,25 @@ func (c *AppStream) CopyImageRequest(input *CopyImageInput) (req *request.Reques // API operation CopyImage for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The specified resource already exists. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceAlreadyExistsException +// The specified resource already exists. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * ResourceNotAvailableException -// The specified resource exists and is not in use, but isn't available. +// - ResourceNotAvailableException +// The specified resource exists and is not in use, but isn't available. // -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. // -// * IncompatibleImageException -// The image can't be updated because it's not compatible for updates. +// - IncompatibleImageException +// The image can't be updated because it's not compatible for updates. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage func (c *AppStream) CopyImage(input *CopyImageInput) (*CopyImageOutput, error) { @@ -571,14 +571,13 @@ const opCreateAppBlock = "CreateAppBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppBlockRequest method. +// req, resp := client.CreateAppBlockRequest(params) // -// // Example sending a request using the CreateAppBlockRequest method. -// req, resp := client.CreateAppBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock func (c *AppStream) CreateAppBlockRequest(input *CreateAppBlockInput) (req *request.Request, output *CreateAppBlockOutput) { @@ -617,17 +616,18 @@ func (c *AppStream) CreateAppBlockRequest(input *CreateAppBlockInput) (req *requ // API operation CreateAppBlock for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. // -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. +// +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - OperationNotPermittedException +// The attempted operation is not permitted. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - ResourceAlreadyExistsException +// The specified resource already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock func (c *AppStream) CreateAppBlock(input *CreateAppBlockInput) (*CreateAppBlockOutput, error) { @@ -667,14 +667,13 @@ const opCreateApplication = "CreateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationRequest method. +// req, resp := client.CreateApplicationRequest(params) // -// // Example sending a request using the CreateApplicationRequest method. -// req, resp := client.CreateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplication func (c *AppStream) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput) { @@ -714,20 +713,21 @@ func (c *AppStream) CreateApplicationRequest(input *CreateApplicationInput) (req // API operation CreateApplication for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The attempted operation is not permitted. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - OperationNotPermittedException +// The attempted operation is not permitted. // -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplication func (c *AppStream) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error) { @@ -767,14 +767,13 @@ const opCreateDirectoryConfig = "CreateDirectoryConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDirectoryConfigRequest method. +// req, resp := client.CreateDirectoryConfigRequest(params) // -// // Example sending a request using the CreateDirectoryConfigRequest method. -// req, resp := client.CreateDirectoryConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig func (c *AppStream) CreateDirectoryConfigRequest(input *CreateDirectoryConfigInput) (req *request.Request, output *CreateDirectoryConfigOutput) { @@ -807,24 +806,25 @@ func (c *AppStream) CreateDirectoryConfigRequest(input *CreateDirectoryConfigInp // API operation CreateDirectoryConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. // -// * InvalidRoleException -// The specified role is invalid. +// - OperationNotPermittedException +// The attempted operation is not permitted. +// +// - InvalidRoleException +// The specified role is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig func (c *AppStream) CreateDirectoryConfig(input *CreateDirectoryConfigInput) (*CreateDirectoryConfigOutput, error) { @@ -864,14 +864,13 @@ const opCreateEntitlement = "CreateEntitlement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEntitlementRequest method. +// req, resp := client.CreateEntitlementRequest(params) // -// // Example sending a request using the CreateEntitlementRequest method. -// req, resp := client.CreateEntitlementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement func (c *AppStream) CreateEntitlementRequest(input *CreateEntitlementInput) (req *request.Request, output *CreateEntitlementOutput) { @@ -907,17 +906,18 @@ func (c *AppStream) CreateEntitlementRequest(input *CreateEntitlementInput) (req // API operation CreateEntitlement for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The attempted operation is not permitted. // -// * ResourceNotFoundException -// The specified resource was not found. +// - OperationNotPermittedException +// The attempted operation is not permitted. // -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. +// - ResourceNotFoundException +// The specified resource was not found. // -// * EntitlementAlreadyExistsException -// The entitlement already exists. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. +// +// - EntitlementAlreadyExistsException +// The entitlement already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement func (c *AppStream) CreateEntitlement(input *CreateEntitlementInput) (*CreateEntitlementOutput, error) { @@ -957,14 +957,13 @@ const opCreateFleet = "CreateFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFleetRequest method. +// req, resp := client.CreateFleetRequest(params) // -// // Example sending a request using the CreateFleetRequest method. -// req, resp := client.CreateFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet func (c *AppStream) CreateFleetRequest(input *CreateFleetInput) (req *request.Request, output *CreateFleetOutput) { @@ -996,41 +995,42 @@ func (c *AppStream) CreateFleetRequest(input *CreateFleetInput) (req *request.Re // API operation CreateFleet for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The specified resource already exists. // -// * ResourceNotAvailableException -// The specified resource exists and is not in use, but isn't available. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotAvailableException +// The specified resource exists and is not in use, but isn't available. // -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. +// - ResourceNotFoundException +// The specified resource was not found. // -// * RequestLimitExceededException -// AppStream 2.0 can’t process the request right now because the Describe -// calls from your AWS account are being throttled by Amazon EC2. Try again -// later. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - RequestLimitExceededException +// AppStream 2.0 can’t process the request right now because the Describe +// calls from your AWS account are being throttled by Amazon EC2. Try again +// later. // -// * InvalidRoleException -// The specified role is invalid. +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - InvalidRoleException +// The specified role is invalid. // -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // -// * IncompatibleImageException -// The image can't be updated because it's not compatible for updates. +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - IncompatibleImageException +// The image can't be updated because it's not compatible for updates. +// +// - OperationNotPermittedException +// The attempted operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet func (c *AppStream) CreateFleet(input *CreateFleetInput) (*CreateFleetOutput, error) { @@ -1070,14 +1070,13 @@ const opCreateImageBuilder = "CreateImageBuilder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateImageBuilderRequest method. +// req, resp := client.CreateImageBuilderRequest(params) // -// // Example sending a request using the CreateImageBuilderRequest method. -// req, resp := client.CreateImageBuilderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder func (c *AppStream) CreateImageBuilderRequest(input *CreateImageBuilderInput) (req *request.Request, output *CreateImageBuilderOutput) { @@ -1112,41 +1111,42 @@ func (c *AppStream) CreateImageBuilderRequest(input *CreateImageBuilderInput) (r // API operation CreateImageBuilder for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. // -// * RequestLimitExceededException -// AppStream 2.0 can’t process the request right now because the Describe -// calls from your AWS account are being throttled by Amazon EC2. Try again -// later. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - RequestLimitExceededException +// AppStream 2.0 can’t process the request right now because the Describe +// calls from your AWS account are being throttled by Amazon EC2. Try again +// later. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. // -// * ResourceNotAvailableException -// The specified resource exists and is not in use, but isn't available. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotAvailableException +// The specified resource exists and is not in use, but isn't available. // -// * InvalidRoleException -// The specified role is invalid. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - InvalidRoleException +// The specified role is invalid. // -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // -// * IncompatibleImageException -// The image can't be updated because it's not compatible for updates. +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - IncompatibleImageException +// The image can't be updated because it's not compatible for updates. +// +// - OperationNotPermittedException +// The attempted operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder func (c *AppStream) CreateImageBuilder(input *CreateImageBuilderInput) (*CreateImageBuilderOutput, error) { @@ -1186,14 +1186,13 @@ const opCreateImageBuilderStreamingURL = "CreateImageBuilderStreamingURL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateImageBuilderStreamingURLRequest method. +// req, resp := client.CreateImageBuilderStreamingURLRequest(params) // -// // Example sending a request using the CreateImageBuilderStreamingURLRequest method. -// req, resp := client.CreateImageBuilderStreamingURLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL func (c *AppStream) CreateImageBuilderStreamingURLRequest(input *CreateImageBuilderStreamingURLInput) (req *request.Request, output *CreateImageBuilderStreamingURLOutput) { @@ -1224,11 +1223,12 @@ func (c *AppStream) CreateImageBuilderStreamingURLRequest(input *CreateImageBuil // API operation CreateImageBuilderStreamingURL for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The attempted operation is not permitted. // -// * ResourceNotFoundException -// The specified resource was not found. +// - OperationNotPermittedException +// The attempted operation is not permitted. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL func (c *AppStream) CreateImageBuilderStreamingURL(input *CreateImageBuilderStreamingURLInput) (*CreateImageBuilderStreamingURLOutput, error) { @@ -1268,14 +1268,13 @@ const opCreateStack = "CreateStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStackRequest method. +// req, resp := client.CreateStackRequest(params) // -// // Example sending a request using the CreateStackRequest method. -// req, resp := client.CreateStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack func (c *AppStream) CreateStackRequest(input *CreateStackInput) (req *request.Request, output *CreateStackOutput) { @@ -1307,27 +1306,28 @@ func (c *AppStream) CreateStackRequest(input *CreateStackInput) (req *request.Re // API operation CreateStack for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * InvalidRoleException -// The specified role is invalid. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidRoleException +// The specified role is invalid. // -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack func (c *AppStream) CreateStack(input *CreateStackInput) (*CreateStackOutput, error) { @@ -1367,14 +1367,13 @@ const opCreateStreamingURL = "CreateStreamingURL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStreamingURLRequest method. +// req, resp := client.CreateStreamingURLRequest(params) // -// // Example sending a request using the CreateStreamingURLRequest method. -// req, resp := client.CreateStreamingURLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL func (c *AppStream) CreateStreamingURLRequest(input *CreateStreamingURLInput) (req *request.Request, output *CreateStreamingURLOutput) { @@ -1407,17 +1406,18 @@ func (c *AppStream) CreateStreamingURLRequest(input *CreateStreamingURLInput) (r // API operation CreateStreamingURL for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ResourceNotAvailableException -// The specified resource exists and is not in use, but isn't available. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ResourceNotAvailableException +// The specified resource exists and is not in use, but isn't available. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - OperationNotPermittedException +// The attempted operation is not permitted. // -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL func (c *AppStream) CreateStreamingURL(input *CreateStreamingURLInput) (*CreateStreamingURLOutput, error) { @@ -1457,14 +1457,13 @@ const opCreateUpdatedImage = "CreateUpdatedImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUpdatedImageRequest method. +// req, resp := client.CreateUpdatedImageRequest(params) // -// // Example sending a request using the CreateUpdatedImageRequest method. -// req, resp := client.CreateUpdatedImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImage func (c *AppStream) CreateUpdatedImageRequest(input *CreateUpdatedImageInput) (req *request.Request, output *CreateUpdatedImageOutput) { @@ -1500,27 +1499,28 @@ func (c *AppStream) CreateUpdatedImageRequest(input *CreateUpdatedImageInput) (r // API operation CreateUpdatedImage for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. +// +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - OperationNotPermittedException +// The attempted operation is not permitted. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // -// * IncompatibleImageException -// The image can't be updated because it's not compatible for updates. +// - IncompatibleImageException +// The image can't be updated because it's not compatible for updates. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImage func (c *AppStream) CreateUpdatedImage(input *CreateUpdatedImageInput) (*CreateUpdatedImageOutput, error) { @@ -1560,14 +1560,13 @@ const opCreateUsageReportSubscription = "CreateUsageReportSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUsageReportSubscriptionRequest method. +// req, resp := client.CreateUsageReportSubscriptionRequest(params) // -// // Example sending a request using the CreateUsageReportSubscriptionRequest method. -// req, resp := client.CreateUsageReportSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUsageReportSubscription func (c *AppStream) CreateUsageReportSubscriptionRequest(input *CreateUsageReportSubscriptionInput) (req *request.Request, output *CreateUsageReportSubscriptionOutput) { @@ -1598,15 +1597,16 @@ func (c *AppStream) CreateUsageReportSubscriptionRequest(input *CreateUsageRepor // API operation CreateUsageReportSubscription for usage and error information. // // Returned Error Types: -// * InvalidRoleException -// The specified role is invalid. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - InvalidRoleException +// The specified role is invalid. +// +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. // -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUsageReportSubscription func (c *AppStream) CreateUsageReportSubscription(input *CreateUsageReportSubscriptionInput) (*CreateUsageReportSubscriptionOutput, error) { @@ -1646,14 +1646,13 @@ const opCreateUser = "CreateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserRequest method. +// req, resp := client.CreateUserRequest(params) // -// // Example sending a request using the CreateUserRequest method. -// req, resp := client.CreateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser func (c *AppStream) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) { @@ -1685,21 +1684,22 @@ func (c *AppStream) CreateUserRequest(input *CreateUserInput) (req *request.Requ // API operation CreateUser for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The specified resource already exists. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - ResourceAlreadyExistsException +// The specified resource already exists. +// +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. // -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. // -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - OperationNotPermittedException +// The attempted operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser func (c *AppStream) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) { @@ -1739,14 +1739,13 @@ const opDeleteAppBlock = "DeleteAppBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppBlockRequest method. +// req, resp := client.DeleteAppBlockRequest(params) // -// // Example sending a request using the DeleteAppBlockRequest method. -// req, resp := client.DeleteAppBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlock func (c *AppStream) DeleteAppBlockRequest(input *DeleteAppBlockInput) (req *request.Request, output *DeleteAppBlockOutput) { @@ -1778,14 +1777,15 @@ func (c *AppStream) DeleteAppBlockRequest(input *DeleteAppBlockInput) (req *requ // API operation DeleteAppBlock for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. +// +// - ResourceInUseException +// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlock func (c *AppStream) DeleteAppBlock(input *DeleteAppBlockInput) (*DeleteAppBlockOutput, error) { @@ -1825,14 +1825,13 @@ const opDeleteApplication = "DeleteApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationRequest method. +// req, resp := client.DeleteApplicationRequest(params) // -// // Example sending a request using the DeleteApplicationRequest method. -// req, resp := client.DeleteApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplication func (c *AppStream) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) { @@ -1864,17 +1863,18 @@ func (c *AppStream) DeleteApplicationRequest(input *DeleteApplicationInput) (req // API operation DeleteApplication for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The attempted operation is not permitted. // -// * ResourceInUseException -// The specified resource is in use. +// - OperationNotPermittedException +// The attempted operation is not permitted. +// +// - ResourceInUseException +// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplication func (c *AppStream) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) { @@ -1914,14 +1914,13 @@ const opDeleteDirectoryConfig = "DeleteDirectoryConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDirectoryConfigRequest method. +// req, resp := client.DeleteDirectoryConfigRequest(params) // -// // Example sending a request using the DeleteDirectoryConfigRequest method. -// req, resp := client.DeleteDirectoryConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig func (c *AppStream) DeleteDirectoryConfigRequest(input *DeleteDirectoryConfigInput) (req *request.Request, output *DeleteDirectoryConfigOutput) { @@ -1955,11 +1954,12 @@ func (c *AppStream) DeleteDirectoryConfigRequest(input *DeleteDirectoryConfigInp // API operation DeleteDirectoryConfig for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceInUseException +// The specified resource is in use. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig func (c *AppStream) DeleteDirectoryConfig(input *DeleteDirectoryConfigInput) (*DeleteDirectoryConfigOutput, error) { @@ -1999,14 +1999,13 @@ const opDeleteEntitlement = "DeleteEntitlement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEntitlementRequest method. +// req, resp := client.DeleteEntitlementRequest(params) // -// // Example sending a request using the DeleteEntitlementRequest method. -// req, resp := client.DeleteEntitlementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement func (c *AppStream) DeleteEntitlementRequest(input *DeleteEntitlementInput) (req *request.Request, output *DeleteEntitlementOutput) { @@ -2038,20 +2037,21 @@ func (c *AppStream) DeleteEntitlementRequest(input *DeleteEntitlementInput) (req // API operation DeleteEntitlement for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The attempted operation is not permitted. // -// * ResourceNotFoundException -// The specified resource was not found. +// - OperationNotPermittedException +// The attempted operation is not permitted. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * EntitlementNotFoundException -// The entitlement can't be found. +// - EntitlementNotFoundException +// The entitlement can't be found. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - OperationNotPermittedException +// The attempted operation is not permitted. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement func (c *AppStream) DeleteEntitlement(input *DeleteEntitlementInput) (*DeleteEntitlementOutput, error) { @@ -2091,14 +2091,13 @@ const opDeleteFleet = "DeleteFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFleetRequest method. +// req, resp := client.DeleteFleetRequest(params) // -// // Example sending a request using the DeleteFleetRequest method. -// req, resp := client.DeleteFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet func (c *AppStream) DeleteFleetRequest(input *DeleteFleetInput) (req *request.Request, output *DeleteFleetOutput) { @@ -2130,14 +2129,15 @@ func (c *AppStream) DeleteFleetRequest(input *DeleteFleetInput) (req *request.Re // API operation DeleteFleet for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceInUseException +// The specified resource is in use. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet func (c *AppStream) DeleteFleet(input *DeleteFleetInput) (*DeleteFleetOutput, error) { @@ -2177,14 +2177,13 @@ const opDeleteImage = "DeleteImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteImageRequest method. +// req, resp := client.DeleteImageRequest(params) // -// // Example sending a request using the DeleteImageRequest method. -// req, resp := client.DeleteImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage func (c *AppStream) DeleteImageRequest(input *DeleteImageInput) (req *request.Request, output *DeleteImageOutput) { @@ -2216,17 +2215,18 @@ func (c *AppStream) DeleteImageRequest(input *DeleteImageInput) (req *request.Re // API operation DeleteImage for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceInUseException +// The specified resource is in use. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - OperationNotPermittedException +// The attempted operation is not permitted. +// +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage func (c *AppStream) DeleteImage(input *DeleteImageInput) (*DeleteImageOutput, error) { @@ -2266,14 +2266,13 @@ const opDeleteImageBuilder = "DeleteImageBuilder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteImageBuilderRequest method. +// req, resp := client.DeleteImageBuilderRequest(params) // -// // Example sending a request using the DeleteImageBuilderRequest method. -// req, resp := client.DeleteImageBuilderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder func (c *AppStream) DeleteImageBuilderRequest(input *DeleteImageBuilderInput) (req *request.Request, output *DeleteImageBuilderOutput) { @@ -2304,14 +2303,15 @@ func (c *AppStream) DeleteImageBuilderRequest(input *DeleteImageBuilderInput) (r // API operation DeleteImageBuilder for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - OperationNotPermittedException +// The attempted operation is not permitted. +// +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder func (c *AppStream) DeleteImageBuilder(input *DeleteImageBuilderInput) (*DeleteImageBuilderOutput, error) { @@ -2351,14 +2351,13 @@ const opDeleteImagePermissions = "DeleteImagePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteImagePermissionsRequest method. +// req, resp := client.DeleteImagePermissionsRequest(params) // -// // Example sending a request using the DeleteImagePermissionsRequest method. -// req, resp := client.DeleteImagePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions func (c *AppStream) DeleteImagePermissionsRequest(input *DeleteImagePermissionsInput) (req *request.Request, output *DeleteImagePermissionsOutput) { @@ -2392,11 +2391,12 @@ func (c *AppStream) DeleteImagePermissionsRequest(input *DeleteImagePermissionsI // API operation DeleteImagePermissions for usage and error information. // // Returned Error Types: -// * ResourceNotAvailableException -// The specified resource exists and is not in use, but isn't available. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotAvailableException +// The specified resource exists and is not in use, but isn't available. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions func (c *AppStream) DeleteImagePermissions(input *DeleteImagePermissionsInput) (*DeleteImagePermissionsOutput, error) { @@ -2436,14 +2436,13 @@ const opDeleteStack = "DeleteStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStackRequest method. +// req, resp := client.DeleteStackRequest(params) // -// // Example sending a request using the DeleteStackRequest method. -// req, resp := client.DeleteStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack func (c *AppStream) DeleteStackRequest(input *DeleteStackInput) (req *request.Request, output *DeleteStackOutput) { @@ -2478,17 +2477,18 @@ func (c *AppStream) DeleteStackRequest(input *DeleteStackInput) (req *request.Re // API operation DeleteStack for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceInUseException +// The specified resource is in use. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - OperationNotPermittedException +// The attempted operation is not permitted. +// +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack func (c *AppStream) DeleteStack(input *DeleteStackInput) (*DeleteStackOutput, error) { @@ -2528,14 +2528,13 @@ const opDeleteUsageReportSubscription = "DeleteUsageReportSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUsageReportSubscriptionRequest method. +// req, resp := client.DeleteUsageReportSubscriptionRequest(params) // -// // Example sending a request using the DeleteUsageReportSubscriptionRequest method. -// req, resp := client.DeleteUsageReportSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUsageReportSubscription func (c *AppStream) DeleteUsageReportSubscriptionRequest(input *DeleteUsageReportSubscriptionInput) (req *request.Request, output *DeleteUsageReportSubscriptionOutput) { @@ -2567,12 +2566,13 @@ func (c *AppStream) DeleteUsageReportSubscriptionRequest(input *DeleteUsageRepor // API operation DeleteUsageReportSubscription for usage and error information. // // Returned Error Types: -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUsageReportSubscription func (c *AppStream) DeleteUsageReportSubscription(input *DeleteUsageReportSubscriptionInput) (*DeleteUsageReportSubscriptionOutput, error) { @@ -2612,14 +2612,13 @@ const opDeleteUser = "DeleteUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserRequest method. +// req, resp := client.DeleteUserRequest(params) // -// // Example sending a request using the DeleteUserRequest method. -// req, resp := client.DeleteUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser func (c *AppStream) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { @@ -2651,8 +2650,8 @@ func (c *AppStream) DeleteUserRequest(input *DeleteUserInput) (req *request.Requ // API operation DeleteUser for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser func (c *AppStream) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { @@ -2692,14 +2691,13 @@ const opDescribeAppBlocks = "DescribeAppBlocks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAppBlocksRequest method. +// req, resp := client.DescribeAppBlocksRequest(params) // -// // Example sending a request using the DescribeAppBlocksRequest method. -// req, resp := client.DescribeAppBlocksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks func (c *AppStream) DescribeAppBlocksRequest(input *DescribeAppBlocksInput) (req *request.Request, output *DescribeAppBlocksOutput) { @@ -2730,11 +2728,12 @@ func (c *AppStream) DescribeAppBlocksRequest(input *DescribeAppBlocksInput) (req // API operation DescribeAppBlocks for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The attempted operation is not permitted. // -// * ResourceNotFoundException -// The specified resource was not found. +// - OperationNotPermittedException +// The attempted operation is not permitted. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks func (c *AppStream) DescribeAppBlocks(input *DescribeAppBlocksInput) (*DescribeAppBlocksOutput, error) { @@ -2774,14 +2773,13 @@ const opDescribeApplicationFleetAssociations = "DescribeApplicationFleetAssociat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApplicationFleetAssociationsRequest method. +// req, resp := client.DescribeApplicationFleetAssociationsRequest(params) // -// // Example sending a request using the DescribeApplicationFleetAssociationsRequest method. -// req, resp := client.DescribeApplicationFleetAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociations func (c *AppStream) DescribeApplicationFleetAssociationsRequest(input *DescribeApplicationFleetAssociationsInput) (req *request.Request, output *DescribeApplicationFleetAssociationsOutput) { @@ -2813,11 +2811,12 @@ func (c *AppStream) DescribeApplicationFleetAssociationsRequest(input *DescribeA // API operation DescribeApplicationFleetAssociations for usage and error information. // // Returned Error Types: -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. +// +// - OperationNotPermittedException +// The attempted operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociations func (c *AppStream) DescribeApplicationFleetAssociations(input *DescribeApplicationFleetAssociationsInput) (*DescribeApplicationFleetAssociationsOutput, error) { @@ -2857,14 +2856,13 @@ const opDescribeApplications = "DescribeApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApplicationsRequest method. +// req, resp := client.DescribeApplicationsRequest(params) // -// // Example sending a request using the DescribeApplicationsRequest method. -// req, resp := client.DescribeApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplications func (c *AppStream) DescribeApplicationsRequest(input *DescribeApplicationsInput) (req *request.Request, output *DescribeApplicationsOutput) { @@ -2895,11 +2893,12 @@ func (c *AppStream) DescribeApplicationsRequest(input *DescribeApplicationsInput // API operation DescribeApplications for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The attempted operation is not permitted. // -// * ResourceNotFoundException -// The specified resource was not found. +// - OperationNotPermittedException +// The attempted operation is not permitted. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplications func (c *AppStream) DescribeApplications(input *DescribeApplicationsInput) (*DescribeApplicationsOutput, error) { @@ -2939,14 +2938,13 @@ const opDescribeDirectoryConfigs = "DescribeDirectoryConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDirectoryConfigsRequest method. +// req, resp := client.DescribeDirectoryConfigsRequest(params) // -// // Example sending a request using the DescribeDirectoryConfigsRequest method. -// req, resp := client.DescribeDirectoryConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs func (c *AppStream) DescribeDirectoryConfigsRequest(input *DescribeDirectoryConfigsInput) (req *request.Request, output *DescribeDirectoryConfigsOutput) { @@ -2984,8 +2982,8 @@ func (c *AppStream) DescribeDirectoryConfigsRequest(input *DescribeDirectoryConf // API operation DescribeDirectoryConfigs for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs func (c *AppStream) DescribeDirectoryConfigs(input *DescribeDirectoryConfigsInput) (*DescribeDirectoryConfigsOutput, error) { @@ -3025,14 +3023,13 @@ const opDescribeEntitlements = "DescribeEntitlements" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEntitlementsRequest method. +// req, resp := client.DescribeEntitlementsRequest(params) // -// // Example sending a request using the DescribeEntitlementsRequest method. -// req, resp := client.DescribeEntitlementsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements func (c *AppStream) DescribeEntitlementsRequest(input *DescribeEntitlementsInput) (req *request.Request, output *DescribeEntitlementsOutput) { @@ -3063,14 +3060,15 @@ func (c *AppStream) DescribeEntitlementsRequest(input *DescribeEntitlementsInput // API operation DescribeEntitlements for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The attempted operation is not permitted. // -// * ResourceNotFoundException -// The specified resource was not found. +// - OperationNotPermittedException +// The attempted operation is not permitted. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * EntitlementNotFoundException -// The entitlement can't be found. +// - EntitlementNotFoundException +// The entitlement can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements func (c *AppStream) DescribeEntitlements(input *DescribeEntitlementsInput) (*DescribeEntitlementsOutput, error) { @@ -3110,14 +3108,13 @@ const opDescribeFleets = "DescribeFleets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFleetsRequest method. +// req, resp := client.DescribeFleetsRequest(params) // -// // Example sending a request using the DescribeFleetsRequest method. -// req, resp := client.DescribeFleetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets func (c *AppStream) DescribeFleetsRequest(input *DescribeFleetsInput) (req *request.Request, output *DescribeFleetsOutput) { @@ -3149,8 +3146,8 @@ func (c *AppStream) DescribeFleetsRequest(input *DescribeFleetsInput) (req *requ // API operation DescribeFleets for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets func (c *AppStream) DescribeFleets(input *DescribeFleetsInput) (*DescribeFleetsOutput, error) { @@ -3190,14 +3187,13 @@ const opDescribeImageBuilders = "DescribeImageBuilders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImageBuildersRequest method. +// req, resp := client.DescribeImageBuildersRequest(params) // -// // Example sending a request using the DescribeImageBuildersRequest method. -// req, resp := client.DescribeImageBuildersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders func (c *AppStream) DescribeImageBuildersRequest(input *DescribeImageBuildersInput) (req *request.Request, output *DescribeImageBuildersOutput) { @@ -3230,8 +3226,8 @@ func (c *AppStream) DescribeImageBuildersRequest(input *DescribeImageBuildersInp // API operation DescribeImageBuilders for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders func (c *AppStream) DescribeImageBuilders(input *DescribeImageBuildersInput) (*DescribeImageBuildersOutput, error) { @@ -3271,14 +3267,13 @@ const opDescribeImagePermissions = "DescribeImagePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImagePermissionsRequest method. +// req, resp := client.DescribeImagePermissionsRequest(params) // -// // Example sending a request using the DescribeImagePermissionsRequest method. -// req, resp := client.DescribeImagePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions func (c *AppStream) DescribeImagePermissionsRequest(input *DescribeImagePermissionsInput) (req *request.Request, output *DescribeImagePermissionsOutput) { @@ -3316,8 +3311,8 @@ func (c *AppStream) DescribeImagePermissionsRequest(input *DescribeImagePermissi // API operation DescribeImagePermissions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions func (c *AppStream) DescribeImagePermissions(input *DescribeImagePermissionsInput) (*DescribeImagePermissionsOutput, error) { @@ -3349,15 +3344,14 @@ func (c *AppStream) DescribeImagePermissionsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeImagePermissions operation. -// pageNum := 0 -// err := client.DescribeImagePermissionsPages(params, -// func(page *appstream.DescribeImagePermissionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeImagePermissions operation. +// pageNum := 0 +// err := client.DescribeImagePermissionsPages(params, +// func(page *appstream.DescribeImagePermissionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppStream) DescribeImagePermissionsPages(input *DescribeImagePermissionsInput, fn func(*DescribeImagePermissionsOutput, bool) bool) error { return c.DescribeImagePermissionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3409,14 +3403,13 @@ const opDescribeImages = "DescribeImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImagesRequest method. +// req, resp := client.DescribeImagesRequest(params) // -// // Example sending a request using the DescribeImagesRequest method. -// req, resp := client.DescribeImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages func (c *AppStream) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Request, output *DescribeImagesOutput) { @@ -3455,11 +3448,12 @@ func (c *AppStream) DescribeImagesRequest(input *DescribeImagesInput) (req *requ // API operation DescribeImages for usage and error information. // // Returned Error Types: -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages func (c *AppStream) DescribeImages(input *DescribeImagesInput) (*DescribeImagesOutput, error) { @@ -3491,15 +3485,14 @@ func (c *AppStream) DescribeImagesWithContext(ctx aws.Context, input *DescribeIm // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeImages operation. -// pageNum := 0 -// err := client.DescribeImagesPages(params, -// func(page *appstream.DescribeImagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeImages operation. +// pageNum := 0 +// err := client.DescribeImagesPages(params, +// func(page *appstream.DescribeImagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AppStream) DescribeImagesPages(input *DescribeImagesInput, fn func(*DescribeImagesOutput, bool) bool) error { return c.DescribeImagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3551,14 +3544,13 @@ const opDescribeSessions = "DescribeSessions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSessionsRequest method. +// req, resp := client.DescribeSessionsRequest(params) // -// // Example sending a request using the DescribeSessionsRequest method. -// req, resp := client.DescribeSessionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions func (c *AppStream) DescribeSessionsRequest(input *DescribeSessionsInput) (req *request.Request, output *DescribeSessionsOutput) { @@ -3592,8 +3584,8 @@ func (c *AppStream) DescribeSessionsRequest(input *DescribeSessionsInput) (req * // API operation DescribeSessions for usage and error information. // // Returned Error Types: -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions func (c *AppStream) DescribeSessions(input *DescribeSessionsInput) (*DescribeSessionsOutput, error) { @@ -3633,14 +3625,13 @@ const opDescribeStacks = "DescribeStacks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStacksRequest method. +// req, resp := client.DescribeStacksRequest(params) // -// // Example sending a request using the DescribeStacksRequest method. -// req, resp := client.DescribeStacksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks func (c *AppStream) DescribeStacksRequest(input *DescribeStacksInput) (req *request.Request, output *DescribeStacksOutput) { @@ -3672,8 +3663,8 @@ func (c *AppStream) DescribeStacksRequest(input *DescribeStacksInput) (req *requ // API operation DescribeStacks for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks func (c *AppStream) DescribeStacks(input *DescribeStacksInput) (*DescribeStacksOutput, error) { @@ -3713,14 +3704,13 @@ const opDescribeUsageReportSubscriptions = "DescribeUsageReportSubscriptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUsageReportSubscriptionsRequest method. +// req, resp := client.DescribeUsageReportSubscriptionsRequest(params) // -// // Example sending a request using the DescribeUsageReportSubscriptionsRequest method. -// req, resp := client.DescribeUsageReportSubscriptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsageReportSubscriptions func (c *AppStream) DescribeUsageReportSubscriptionsRequest(input *DescribeUsageReportSubscriptionsInput) (req *request.Request, output *DescribeUsageReportSubscriptionsOutput) { @@ -3751,12 +3741,13 @@ func (c *AppStream) DescribeUsageReportSubscriptionsRequest(input *DescribeUsage // API operation DescribeUsageReportSubscriptions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsageReportSubscriptions func (c *AppStream) DescribeUsageReportSubscriptions(input *DescribeUsageReportSubscriptionsInput) (*DescribeUsageReportSubscriptionsOutput, error) { @@ -3796,14 +3787,13 @@ const opDescribeUserStackAssociations = "DescribeUserStackAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserStackAssociationsRequest method. +// req, resp := client.DescribeUserStackAssociationsRequest(params) // -// // Example sending a request using the DescribeUserStackAssociationsRequest method. -// req, resp := client.DescribeUserStackAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations func (c *AppStream) DescribeUserStackAssociationsRequest(input *DescribeUserStackAssociationsInput) (req *request.Request, output *DescribeUserStackAssociationsOutput) { @@ -3827,10 +3817,10 @@ func (c *AppStream) DescribeUserStackAssociationsRequest(input *DescribeUserStac // Retrieves a list that describes the UserStackAssociation objects. You must // specify either or both of the following: // -// * The stack name +// - The stack name // -// * The user name (email address of the user associated with the stack) -// and the authentication type for the user +// - The user name (email address of the user associated with the stack) +// and the authentication type for the user // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3840,11 +3830,12 @@ func (c *AppStream) DescribeUserStackAssociationsRequest(input *DescribeUserStac // API operation DescribeUserStackAssociations for usage and error information. // // Returned Error Types: -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. +// +// - OperationNotPermittedException +// The attempted operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations func (c *AppStream) DescribeUserStackAssociations(input *DescribeUserStackAssociationsInput) (*DescribeUserStackAssociationsOutput, error) { @@ -3884,14 +3875,13 @@ const opDescribeUsers = "DescribeUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUsersRequest method. +// req, resp := client.DescribeUsersRequest(params) // -// // Example sending a request using the DescribeUsersRequest method. -// req, resp := client.DescribeUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers func (c *AppStream) DescribeUsersRequest(input *DescribeUsersInput) (req *request.Request, output *DescribeUsersOutput) { @@ -3922,14 +3912,15 @@ func (c *AppStream) DescribeUsersRequest(input *DescribeUsersInput) (req *reques // API operation DescribeUsers for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - OperationNotPermittedException +// The attempted operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers func (c *AppStream) DescribeUsers(input *DescribeUsersInput) (*DescribeUsersOutput, error) { @@ -3969,14 +3960,13 @@ const opDisableUser = "DisableUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableUserRequest method. +// req, resp := client.DisableUserRequest(params) // -// // Example sending a request using the DisableUserRequest method. -// req, resp := client.DisableUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser func (c *AppStream) DisableUserRequest(input *DisableUserInput) (req *request.Request, output *DisableUserOutput) { @@ -4009,8 +3999,8 @@ func (c *AppStream) DisableUserRequest(input *DisableUserInput) (req *request.Re // API operation DisableUser for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser func (c *AppStream) DisableUser(input *DisableUserInput) (*DisableUserOutput, error) { @@ -4050,14 +4040,13 @@ const opDisassociateApplicationFleet = "DisassociateApplicationFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateApplicationFleetRequest method. +// req, resp := client.DisassociateApplicationFleetRequest(params) // -// // Example sending a request using the DisassociateApplicationFleetRequest method. -// req, resp := client.DisassociateApplicationFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleet func (c *AppStream) DisassociateApplicationFleetRequest(input *DisassociateApplicationFleetInput) (req *request.Request, output *DisassociateApplicationFleetOutput) { @@ -4089,14 +4078,15 @@ func (c *AppStream) DisassociateApplicationFleetRequest(input *DisassociateAppli // API operation DisassociateApplicationFleet for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. // -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. +// +// - OperationNotPermittedException +// The attempted operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleet func (c *AppStream) DisassociateApplicationFleet(input *DisassociateApplicationFleetInput) (*DisassociateApplicationFleetOutput, error) { @@ -4136,14 +4126,13 @@ const opDisassociateApplicationFromEntitlement = "DisassociateApplicationFromEnt // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateApplicationFromEntitlementRequest method. +// req, resp := client.DisassociateApplicationFromEntitlementRequest(params) // -// // Example sending a request using the DisassociateApplicationFromEntitlementRequest method. -// req, resp := client.DisassociateApplicationFromEntitlementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement func (c *AppStream) DisassociateApplicationFromEntitlementRequest(input *DisassociateApplicationFromEntitlementInput) (req *request.Request, output *DisassociateApplicationFromEntitlementOutput) { @@ -4175,17 +4164,18 @@ func (c *AppStream) DisassociateApplicationFromEntitlementRequest(input *Disasso // API operation DisassociateApplicationFromEntitlement for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The attempted operation is not permitted. // -// * ResourceNotFoundException -// The specified resource was not found. +// - OperationNotPermittedException +// The attempted operation is not permitted. // -// * EntitlementNotFoundException -// The entitlement can't be found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - EntitlementNotFoundException +// The entitlement can't be found. +// +// - OperationNotPermittedException +// The attempted operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement func (c *AppStream) DisassociateApplicationFromEntitlement(input *DisassociateApplicationFromEntitlementInput) (*DisassociateApplicationFromEntitlementOutput, error) { @@ -4225,14 +4215,13 @@ const opDisassociateFleet = "DisassociateFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateFleetRequest method. +// req, resp := client.DisassociateFleetRequest(params) // -// // Example sending a request using the DisassociateFleetRequest method. -// req, resp := client.DisassociateFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet func (c *AppStream) DisassociateFleetRequest(input *DisassociateFleetInput) (req *request.Request, output *DisassociateFleetOutput) { @@ -4264,17 +4253,18 @@ func (c *AppStream) DisassociateFleetRequest(input *DisassociateFleetInput) (req // API operation DisassociateFleet for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceInUseException +// The specified resource is in use. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - ResourceNotFoundException +// The specified resource was not found. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. +// +// - OperationNotPermittedException +// The attempted operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet func (c *AppStream) DisassociateFleet(input *DisassociateFleetInput) (*DisassociateFleetOutput, error) { @@ -4314,14 +4304,13 @@ const opEnableUser = "EnableUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableUserRequest method. +// req, resp := client.EnableUserRequest(params) // -// // Example sending a request using the EnableUserRequest method. -// req, resp := client.EnableUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser func (c *AppStream) EnableUserRequest(input *EnableUserInput) (req *request.Request, output *EnableUserOutput) { @@ -4354,12 +4343,13 @@ func (c *AppStream) EnableUserRequest(input *EnableUserInput) (req *request.Requ // API operation EnableUser for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser func (c *AppStream) EnableUser(input *EnableUserInput) (*EnableUserOutput, error) { @@ -4399,14 +4389,13 @@ const opExpireSession = "ExpireSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExpireSessionRequest method. +// req, resp := client.ExpireSessionRequest(params) // -// // Example sending a request using the ExpireSessionRequest method. -// req, resp := client.ExpireSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession func (c *AppStream) ExpireSessionRequest(input *ExpireSessionInput) (req *request.Request, output *ExpireSessionOutput) { @@ -4474,14 +4463,13 @@ const opListAssociatedFleets = "ListAssociatedFleets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssociatedFleetsRequest method. +// req, resp := client.ListAssociatedFleetsRequest(params) // -// // Example sending a request using the ListAssociatedFleetsRequest method. -// req, resp := client.ListAssociatedFleetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleets func (c *AppStream) ListAssociatedFleetsRequest(input *ListAssociatedFleetsInput) (req *request.Request, output *ListAssociatedFleetsOutput) { @@ -4548,14 +4536,13 @@ const opListAssociatedStacks = "ListAssociatedStacks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssociatedStacksRequest method. +// req, resp := client.ListAssociatedStacksRequest(params) // -// // Example sending a request using the ListAssociatedStacksRequest method. -// req, resp := client.ListAssociatedStacksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacks func (c *AppStream) ListAssociatedStacksRequest(input *ListAssociatedStacksInput) (req *request.Request, output *ListAssociatedStacksOutput) { @@ -4622,14 +4609,13 @@ const opListEntitledApplications = "ListEntitledApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEntitledApplicationsRequest method. +// req, resp := client.ListEntitledApplicationsRequest(params) // -// // Example sending a request using the ListEntitledApplicationsRequest method. -// req, resp := client.ListEntitledApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications func (c *AppStream) ListEntitledApplicationsRequest(input *ListEntitledApplicationsInput) (req *request.Request, output *ListEntitledApplicationsOutput) { @@ -4660,14 +4646,15 @@ func (c *AppStream) ListEntitledApplicationsRequest(input *ListEntitledApplicati // API operation ListEntitledApplications for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The attempted operation is not permitted. // -// * ResourceNotFoundException -// The specified resource was not found. +// - OperationNotPermittedException +// The attempted operation is not permitted. // -// * EntitlementNotFoundException -// The entitlement can't be found. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - EntitlementNotFoundException +// The entitlement can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications func (c *AppStream) ListEntitledApplications(input *ListEntitledApplicationsInput) (*ListEntitledApplicationsOutput, error) { @@ -4707,14 +4694,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource func (c *AppStream) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4749,8 +4735,8 @@ func (c *AppStream) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource func (c *AppStream) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4790,14 +4776,13 @@ const opStartFleet = "StartFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartFleetRequest method. +// req, resp := client.StartFleetRequest(params) // -// // Example sending a request using the StartFleetRequest method. -// req, resp := client.StartFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet func (c *AppStream) StartFleetRequest(input *StartFleetInput) (req *request.Request, output *StartFleetOutput) { @@ -4829,32 +4814,33 @@ func (c *AppStream) StartFleetRequest(input *StartFleetInput) (req *request.Requ // API operation StartFleet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - OperationNotPermittedException +// The attempted operation is not permitted. // -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // -// * RequestLimitExceededException -// AppStream 2.0 can’t process the request right now because the Describe -// calls from your AWS account are being throttled by Amazon EC2. Try again -// later. +// - RequestLimitExceededException +// AppStream 2.0 can’t process the request right now because the Describe +// calls from your AWS account are being throttled by Amazon EC2. Try again +// later. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // -// * ResourceNotAvailableException -// The specified resource exists and is not in use, but isn't available. +// - ResourceNotAvailableException +// The specified resource exists and is not in use, but isn't available. // -// * InvalidRoleException -// The specified role is invalid. +// - InvalidRoleException +// The specified role is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet func (c *AppStream) StartFleet(input *StartFleetInput) (*StartFleetOutput, error) { @@ -4894,14 +4880,13 @@ const opStartImageBuilder = "StartImageBuilder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartImageBuilderRequest method. +// req, resp := client.StartImageBuilderRequest(params) // -// // Example sending a request using the StartImageBuilderRequest method. -// req, resp := client.StartImageBuilderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder func (c *AppStream) StartImageBuilderRequest(input *StartImageBuilderInput) (req *request.Request, output *StartImageBuilderOutput) { @@ -4932,21 +4917,22 @@ func (c *AppStream) StartImageBuilderRequest(input *StartImageBuilderInput) (req // API operation StartImageBuilder for usage and error information. // // Returned Error Types: -// * ResourceNotAvailableException -// The specified resource exists and is not in use, but isn't available. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotAvailableException +// The specified resource exists and is not in use, but isn't available. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. // -// * IncompatibleImageException -// The image can't be updated because it's not compatible for updates. +// - IncompatibleImageException +// The image can't be updated because it's not compatible for updates. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder func (c *AppStream) StartImageBuilder(input *StartImageBuilderInput) (*StartImageBuilderOutput, error) { @@ -4986,14 +4972,13 @@ const opStopFleet = "StopFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopFleetRequest method. +// req, resp := client.StopFleetRequest(params) // -// // Example sending a request using the StopFleetRequest method. -// req, resp := client.StopFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet func (c *AppStream) StopFleetRequest(input *StopFleetInput) (req *request.Request, output *StopFleetOutput) { @@ -5025,11 +5010,12 @@ func (c *AppStream) StopFleetRequest(input *StopFleetInput) (req *request.Reques // API operation StopFleet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet func (c *AppStream) StopFleet(input *StopFleetInput) (*StopFleetOutput, error) { @@ -5069,14 +5055,13 @@ const opStopImageBuilder = "StopImageBuilder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopImageBuilderRequest method. +// req, resp := client.StopImageBuilderRequest(params) // -// // Example sending a request using the StopImageBuilderRequest method. -// req, resp := client.StopImageBuilderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder func (c *AppStream) StopImageBuilderRequest(input *StopImageBuilderInput) (req *request.Request, output *StopImageBuilderOutput) { @@ -5107,14 +5092,15 @@ func (c *AppStream) StopImageBuilderRequest(input *StopImageBuilderInput) (req * // API operation StopImageBuilder for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - OperationNotPermittedException +// The attempted operation is not permitted. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder func (c *AppStream) StopImageBuilder(input *StopImageBuilderInput) (*StopImageBuilderOutput, error) { @@ -5154,14 +5140,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource func (c *AppStream) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -5203,15 +5188,16 @@ func (c *AppStream) TagResourceRequest(input *TagResourceInput) (req *request.Re // API operation TagResource for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource func (c *AppStream) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -5251,14 +5237,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource func (c *AppStream) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -5296,8 +5281,8 @@ func (c *AppStream) UntagResourceRequest(input *UntagResourceInput) (req *reques // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource func (c *AppStream) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -5337,14 +5322,13 @@ const opUpdateApplication = "UpdateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationRequest method. +// req, resp := client.UpdateApplicationRequest(params) // -// // Example sending a request using the UpdateApplicationRequest method. -// req, resp := client.UpdateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplication func (c *AppStream) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) { @@ -5375,14 +5359,15 @@ func (c *AppStream) UpdateApplicationRequest(input *UpdateApplicationInput) (req // API operation UpdateApplication for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The attempted operation is not permitted. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - OperationNotPermittedException +// The attempted operation is not permitted. +// +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplication func (c *AppStream) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) { @@ -5422,14 +5407,13 @@ const opUpdateDirectoryConfig = "UpdateDirectoryConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDirectoryConfigRequest method. +// req, resp := client.UpdateDirectoryConfigRequest(params) // -// // Example sending a request using the UpdateDirectoryConfigRequest method. -// req, resp := client.UpdateDirectoryConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig func (c *AppStream) UpdateDirectoryConfigRequest(input *UpdateDirectoryConfigInput) (req *request.Request, output *UpdateDirectoryConfigOutput) { @@ -5462,20 +5446,21 @@ func (c *AppStream) UpdateDirectoryConfigRequest(input *UpdateDirectoryConfigInp // API operation UpdateDirectoryConfig for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceInUseException +// The specified resource is in use. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - OperationNotPermittedException +// The attempted operation is not permitted. // -// * InvalidRoleException -// The specified role is invalid. +// - InvalidRoleException +// The specified role is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig func (c *AppStream) UpdateDirectoryConfig(input *UpdateDirectoryConfigInput) (*UpdateDirectoryConfigOutput, error) { @@ -5515,14 +5500,13 @@ const opUpdateEntitlement = "UpdateEntitlement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEntitlementRequest method. +// req, resp := client.UpdateEntitlementRequest(params) // -// // Example sending a request using the UpdateEntitlementRequest method. -// req, resp := client.UpdateEntitlementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement func (c *AppStream) UpdateEntitlementRequest(input *UpdateEntitlementInput) (req *request.Request, output *UpdateEntitlementOutput) { @@ -5553,17 +5537,18 @@ func (c *AppStream) UpdateEntitlementRequest(input *UpdateEntitlementInput) (req // API operation UpdateEntitlement for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The attempted operation is not permitted. // -// * ResourceNotFoundException -// The specified resource was not found. +// - OperationNotPermittedException +// The attempted operation is not permitted. // -// * EntitlementNotFoundException -// The entitlement can't be found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - EntitlementNotFoundException +// The entitlement can't be found. +// +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement func (c *AppStream) UpdateEntitlement(input *UpdateEntitlementInput) (*UpdateEntitlementOutput, error) { @@ -5603,14 +5588,13 @@ const opUpdateFleet = "UpdateFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFleetRequest method. +// req, resp := client.UpdateFleetRequest(params) // -// // Example sending a request using the UpdateFleetRequest method. -// req, resp := client.UpdateFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet func (c *AppStream) UpdateFleetRequest(input *UpdateFleetInput) (req *request.Request, output *UpdateFleetOutput) { @@ -5639,13 +5623,13 @@ func (c *AppStream) UpdateFleetRequest(input *UpdateFleetInput) (req *request.Re // If the fleet is in the RUNNING state, you can update the following based // on the fleet type: // -// * Always-On and On-Demand fleet types You can update the DisplayName, -// ComputeCapacity, ImageARN, ImageName, IdleDisconnectTimeoutInSeconds, -// and DisconnectTimeoutInSeconds attributes. +// - Always-On and On-Demand fleet types You can update the DisplayName, +// ComputeCapacity, ImageARN, ImageName, IdleDisconnectTimeoutInSeconds, +// and DisconnectTimeoutInSeconds attributes. // -// * Elastic fleet type You can update the DisplayName, IdleDisconnectTimeoutInSeconds, -// DisconnectTimeoutInSeconds, MaxConcurrentSessions, and UsbDeviceFilterStrings -// attributes. +// - Elastic fleet type You can update the DisplayName, IdleDisconnectTimeoutInSeconds, +// DisconnectTimeoutInSeconds, MaxConcurrentSessions, and UsbDeviceFilterStrings +// attributes. // // If the fleet is in the STARTING or STOPPED state, you can't update it. // @@ -5657,41 +5641,42 @@ func (c *AppStream) UpdateFleetRequest(input *UpdateFleetInput) (req *request.Re // API operation UpdateFleet for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. // -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. +// - ResourceInUseException +// The specified resource is in use. // -// * RequestLimitExceededException -// AppStream 2.0 can’t process the request right now because the Describe -// calls from your AWS account are being throttled by Amazon EC2. Try again -// later. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - RequestLimitExceededException +// AppStream 2.0 can’t process the request right now because the Describe +// calls from your AWS account are being throttled by Amazon EC2. Try again +// later. // -// * InvalidRoleException -// The specified role is invalid. +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidRoleException +// The specified role is invalid. // -// * ResourceNotAvailableException -// The specified resource exists and is not in use, but isn't available. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. +// - ResourceNotAvailableException +// The specified resource exists and is not in use, but isn't available. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. // -// * IncompatibleImageException -// The image can't be updated because it's not compatible for updates. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - IncompatibleImageException +// The image can't be updated because it's not compatible for updates. +// +// - OperationNotPermittedException +// The attempted operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet func (c *AppStream) UpdateFleet(input *UpdateFleetInput) (*UpdateFleetOutput, error) { @@ -5731,14 +5716,13 @@ const opUpdateImagePermissions = "UpdateImagePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateImagePermissionsRequest method. +// req, resp := client.UpdateImagePermissionsRequest(params) // -// // Example sending a request using the UpdateImagePermissionsRequest method. -// req, resp := client.UpdateImagePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions func (c *AppStream) UpdateImagePermissionsRequest(input *UpdateImagePermissionsInput) (req *request.Request, output *UpdateImagePermissionsOutput) { @@ -5770,14 +5754,15 @@ func (c *AppStream) UpdateImagePermissionsRequest(input *UpdateImagePermissionsI // API operation UpdateImagePermissions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ResourceNotAvailableException -// The specified resource exists and is not in use, but isn't available. +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. +// - ResourceNotAvailableException +// The specified resource exists and is not in use, but isn't available. +// +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions func (c *AppStream) UpdateImagePermissions(input *UpdateImagePermissionsInput) (*UpdateImagePermissionsOutput, error) { @@ -5817,14 +5802,13 @@ const opUpdateStack = "UpdateStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStackRequest method. +// req, resp := client.UpdateStackRequest(params) // -// // Example sending a request using the UpdateStackRequest method. -// req, resp := client.UpdateStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack func (c *AppStream) UpdateStackRequest(input *UpdateStackInput) (req *request.Request, output *UpdateStackOutput) { @@ -5855,33 +5839,34 @@ func (c *AppStream) UpdateStackRequest(input *UpdateStackInput) (req *request.Re // API operation UpdateStack for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ResourceInUseException +// The specified resource is in use. // -// * InvalidRoleException -// The specified role is invalid. +// - InvalidRoleException +// The specified role is invalid. // -// * InvalidParameterCombinationException -// Indicates an incorrect combination of parameters, or a missing parameter. +// - InvalidParameterCombinationException +// Indicates an incorrect combination of parameters, or a missing parameter. // -// * LimitExceededException -// The requested limit exceeds the permitted limit for an account. +// - LimitExceededException +// The requested limit exceeds the permitted limit for an account. // -// * InvalidAccountStatusException -// The resource cannot be created because your AWS account is suspended. For -// assistance, contact AWS Support. +// - InvalidAccountStatusException +// The resource cannot be created because your AWS account is suspended. For +// assistance, contact AWS Support. // -// * IncompatibleImageException -// The image can't be updated because it's not compatible for updates. +// - IncompatibleImageException +// The image can't be updated because it's not compatible for updates. // -// * OperationNotPermittedException -// The attempted operation is not permitted. +// - OperationNotPermittedException +// The attempted operation is not permitted. // -// * ConcurrentModificationException -// An API error occurred. Wait a few minutes and try again. +// - ConcurrentModificationException +// An API error occurred. Wait a few minutes and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack func (c *AppStream) UpdateStack(input *UpdateStackInput) (*UpdateStackOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/appstreamiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/appstreamiface/interface.go index b82775dfba16..6a953d655eb9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/appstreamiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/appstreamiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon AppStream. -// func myFunc(svc appstreamiface.AppStreamAPI) bool { -// // Make svc.AssociateApplicationFleet request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon AppStream. +// func myFunc(svc appstreamiface.AppStreamAPI) bool { +// // Make svc.AssociateApplicationFleet request +// } // -// func main() { -// sess := session.New() -// svc := appstream.New(sess) +// func main() { +// sess := session.New() +// svc := appstream.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAppStreamClient struct { -// appstreamiface.AppStreamAPI -// } -// func (m *mockAppStreamClient) AssociateApplicationFleet(input *appstream.AssociateApplicationFleetInput) (*appstream.AssociateApplicationFleetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAppStreamClient struct { +// appstreamiface.AppStreamAPI +// } +// func (m *mockAppStreamClient) AssociateApplicationFleet(input *appstream.AssociateApplicationFleetInput) (*appstream.AssociateApplicationFleetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAppStreamClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAppStreamClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/doc.go index 5ac4b76bc172..0802363c7aed 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/doc.go @@ -18,16 +18,16 @@ // // To learn more about AppStream 2.0, see the following resources: // -// * Amazon AppStream 2.0 product page (http://aws.amazon.com/appstream2) +// - Amazon AppStream 2.0 product page (http://aws.amazon.com/appstream2) // -// * Amazon AppStream 2.0 documentation (http://aws.amazon.com/documentation/appstream2) +// - Amazon AppStream 2.0 documentation (http://aws.amazon.com/documentation/appstream2) // // See https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01 for more information on this service. // // See appstream package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/appstream/ // -// Using the Client +// # Using the Client // // To contact Amazon AppStream with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/service.go index d0a37d15b25f..cea3db55b28b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appstream/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AppStream client from just a session. -// svc := appstream.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AppStream client with additional configuration -// svc := appstream.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AppStream client from just a session. +// svc := appstream.New(mySession) +// +// // Create a AppStream client with additional configuration +// svc := appstream.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AppStream { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/api.go index b5dd7c50b1da..2f96359fc61f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/api.go @@ -28,14 +28,13 @@ const opAssociateApi = "AssociateApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateApiRequest method. +// req, resp := client.AssociateApiRequest(params) // -// // Example sending a request using the AssociateApiRequest method. -// req, resp := client.AssociateApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateApi func (c *AppSync) AssociateApiRequest(input *AssociateApiInput) (req *request.Request, output *AssociateApiOutput) { @@ -66,19 +65,20 @@ func (c *AppSync) AssociateApiRequest(input *AssociateApiInput) (req *request.Re // API operation AssociateApi for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to perform this operation on this resource. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. +// - AccessDeniedException +// You don't have access to perform this operation on this resource. +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AssociateApi func (c *AppSync) AssociateApi(input *AssociateApiInput) (*AssociateApiOutput, error) { @@ -118,14 +118,13 @@ const opCreateApiCache = "CreateApiCache" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApiCacheRequest method. +// req, resp := client.CreateApiCacheRequest(params) // -// // Example sending a request using the CreateApiCacheRequest method. -// req, resp := client.CreateApiCacheRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiCache func (c *AppSync) CreateApiCacheRequest(input *CreateApiCacheInput) (req *request.Request, output *CreateApiCacheOutput) { @@ -156,23 +155,24 @@ func (c *AppSync) CreateApiCacheRequest(input *CreateApiCacheInput) (req *reques // API operation CreateApiCache for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiCache func (c *AppSync) CreateApiCache(input *CreateApiCacheInput) (*CreateApiCacheOutput, error) { @@ -212,14 +212,13 @@ const opCreateApiKey = "CreateApiKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApiKeyRequest method. +// req, resp := client.CreateApiKeyRequest(params) // -// // Example sending a request using the CreateApiKeyRequest method. -// req, resp := client.CreateApiKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKey func (c *AppSync) CreateApiKeyRequest(input *CreateApiKeyInput) (req *request.Request, output *CreateApiKeyOutput) { @@ -250,32 +249,33 @@ func (c *AppSync) CreateApiKeyRequest(input *CreateApiKeyInput) (req *request.Re // API operation CreateApiKey for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // -// * ApiKeyLimitExceededException -// The API key exceeded a limit. Try your request again. +// - ApiKeyLimitExceededException +// The API key exceeded a limit. Try your request again. // -// * ApiKeyValidityOutOfBoundsException -// The API key expiration must be set to a value between 1 and 365 days from -// creation (for CreateApiKey) or from update (for UpdateApiKey). +// - ApiKeyValidityOutOfBoundsException +// The API key expiration must be set to a value between 1 and 365 days from +// creation (for CreateApiKey) or from update (for UpdateApiKey). // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKey func (c *AppSync) CreateApiKey(input *CreateApiKeyInput) (*CreateApiKeyOutput, error) { @@ -315,14 +315,13 @@ const opCreateDataSource = "CreateDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataSourceRequest method. +// req, resp := client.CreateDataSourceRequest(params) // -// // Example sending a request using the CreateDataSourceRequest method. -// req, resp := client.CreateDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSource func (c *AppSync) CreateDataSourceRequest(input *CreateDataSourceInput) (req *request.Request, output *CreateDataSourceOutput) { @@ -353,23 +352,24 @@ func (c *AppSync) CreateDataSourceRequest(input *CreateDataSourceInput) (req *re // API operation CreateDataSource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - UnauthorizedException +// You aren't authorized to perform this operation. +// +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSource func (c *AppSync) CreateDataSource(input *CreateDataSourceInput) (*CreateDataSourceOutput, error) { @@ -409,14 +409,13 @@ const opCreateDomainName = "CreateDomainName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDomainNameRequest method. +// req, resp := client.CreateDomainNameRequest(params) // -// // Example sending a request using the CreateDomainNameRequest method. -// req, resp := client.CreateDomainNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDomainName func (c *AppSync) CreateDomainNameRequest(input *CreateDomainNameInput) (req *request.Request, output *CreateDomainNameOutput) { @@ -447,15 +446,16 @@ func (c *AppSync) CreateDomainNameRequest(input *CreateDomainNameInput) (req *re // API operation CreateDomainName for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to perform this operation on this resource. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. +// - AccessDeniedException +// You don't have access to perform this operation on this resource. +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDomainName func (c *AppSync) CreateDomainName(input *CreateDomainNameInput) (*CreateDomainNameOutput, error) { @@ -495,14 +495,13 @@ const opCreateFunction = "CreateFunction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFunctionRequest method. +// req, resp := client.CreateFunctionRequest(params) // -// // Example sending a request using the CreateFunctionRequest method. -// req, resp := client.CreateFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunction func (c *AppSync) CreateFunctionRequest(input *CreateFunctionInput) (req *request.Request, output *CreateFunctionOutput) { @@ -536,19 +535,20 @@ func (c *AppSync) CreateFunctionRequest(input *CreateFunctionInput) (req *reques // API operation CreateFunction for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunction func (c *AppSync) CreateFunction(input *CreateFunctionInput) (*CreateFunctionOutput, error) { @@ -588,14 +588,13 @@ const opCreateGraphqlApi = "CreateGraphqlApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGraphqlApiRequest method. +// req, resp := client.CreateGraphqlApiRequest(params) // -// // Example sending a request using the CreateGraphqlApiRequest method. -// req, resp := client.CreateGraphqlApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi func (c *AppSync) CreateGraphqlApiRequest(input *CreateGraphqlApiInput) (req *request.Request, output *CreateGraphqlApiOutput) { @@ -626,25 +625,26 @@ func (c *AppSync) CreateGraphqlApiRequest(input *CreateGraphqlApiInput) (req *re // API operation CreateGraphqlApi for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * ApiLimitExceededException -// The GraphQL API exceeded a limit. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. +// +// - ApiLimitExceededException +// The GraphQL API exceeded a limit. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi func (c *AppSync) CreateGraphqlApi(input *CreateGraphqlApiInput) (*CreateGraphqlApiOutput, error) { @@ -684,14 +684,13 @@ const opCreateResolver = "CreateResolver" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResolverRequest method. +// req, resp := client.CreateResolverRequest(params) // -// // Example sending a request using the CreateResolverRequest method. -// req, resp := client.CreateResolverRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolver func (c *AppSync) CreateResolverRequest(input *CreateResolverInput) (req *request.Request, output *CreateResolverOutput) { @@ -725,19 +724,20 @@ func (c *AppSync) CreateResolverRequest(input *CreateResolverInput) (req *reques // API operation CreateResolver for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolver func (c *AppSync) CreateResolver(input *CreateResolverInput) (*CreateResolverOutput, error) { @@ -777,14 +777,13 @@ const opCreateType = "CreateType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTypeRequest method. +// req, resp := client.CreateTypeRequest(params) // -// // Example sending a request using the CreateTypeRequest method. -// req, resp := client.CreateTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateType func (c *AppSync) CreateTypeRequest(input *CreateTypeInput) (req *request.Request, output *CreateTypeOutput) { @@ -815,23 +814,24 @@ func (c *AppSync) CreateTypeRequest(input *CreateTypeInput) (req *request.Reques // API operation CreateType for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateType func (c *AppSync) CreateType(input *CreateTypeInput) (*CreateTypeOutput, error) { @@ -871,14 +871,13 @@ const opDeleteApiCache = "DeleteApiCache" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApiCacheRequest method. +// req, resp := client.DeleteApiCacheRequest(params) // -// // Example sending a request using the DeleteApiCacheRequest method. -// req, resp := client.DeleteApiCacheRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiCache func (c *AppSync) DeleteApiCacheRequest(input *DeleteApiCacheInput) (req *request.Request, output *DeleteApiCacheOutput) { @@ -910,23 +909,24 @@ func (c *AppSync) DeleteApiCacheRequest(input *DeleteApiCacheInput) (req *reques // API operation DeleteApiCache for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - UnauthorizedException +// You aren't authorized to perform this operation. +// +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiCache func (c *AppSync) DeleteApiCache(input *DeleteApiCacheInput) (*DeleteApiCacheOutput, error) { @@ -966,14 +966,13 @@ const opDeleteApiKey = "DeleteApiKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApiKeyRequest method. +// req, resp := client.DeleteApiKeyRequest(params) // -// // Example sending a request using the DeleteApiKeyRequest method. -// req, resp := client.DeleteApiKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKey func (c *AppSync) DeleteApiKeyRequest(input *DeleteApiKeyInput) (req *request.Request, output *DeleteApiKeyOutput) { @@ -1005,19 +1004,20 @@ func (c *AppSync) DeleteApiKeyRequest(input *DeleteApiKeyInput) (req *request.Re // API operation DeleteApiKey for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteApiKey func (c *AppSync) DeleteApiKey(input *DeleteApiKeyInput) (*DeleteApiKeyOutput, error) { @@ -1057,14 +1057,13 @@ const opDeleteDataSource = "DeleteDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDataSourceRequest method. +// req, resp := client.DeleteDataSourceRequest(params) // -// // Example sending a request using the DeleteDataSourceRequest method. -// req, resp := client.DeleteDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSource func (c *AppSync) DeleteDataSourceRequest(input *DeleteDataSourceInput) (req *request.Request, output *DeleteDataSourceOutput) { @@ -1096,23 +1095,24 @@ func (c *AppSync) DeleteDataSourceRequest(input *DeleteDataSourceInput) (req *re // API operation DeleteDataSource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDataSource func (c *AppSync) DeleteDataSource(input *DeleteDataSourceInput) (*DeleteDataSourceOutput, error) { @@ -1152,14 +1152,13 @@ const opDeleteDomainName = "DeleteDomainName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainNameRequest method. +// req, resp := client.DeleteDomainNameRequest(params) // -// // Example sending a request using the DeleteDomainNameRequest method. -// req, resp := client.DeleteDomainNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDomainName func (c *AppSync) DeleteDomainNameRequest(input *DeleteDomainNameInput) (req *request.Request, output *DeleteDomainNameOutput) { @@ -1191,23 +1190,24 @@ func (c *AppSync) DeleteDomainNameRequest(input *DeleteDomainNameInput) (req *re // API operation DeleteDomainName for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to perform this operation on this resource. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. +// - AccessDeniedException +// You don't have access to perform this operation on this resource. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteDomainName func (c *AppSync) DeleteDomainName(input *DeleteDomainNameInput) (*DeleteDomainNameOutput, error) { @@ -1247,14 +1247,13 @@ const opDeleteFunction = "DeleteFunction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFunctionRequest method. +// req, resp := client.DeleteFunctionRequest(params) // -// // Example sending a request using the DeleteFunctionRequest method. -// req, resp := client.DeleteFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteFunction func (c *AppSync) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request.Request, output *DeleteFunctionOutput) { @@ -1286,19 +1285,20 @@ func (c *AppSync) DeleteFunctionRequest(input *DeleteFunctionInput) (req *reques // API operation DeleteFunction for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteFunction func (c *AppSync) DeleteFunction(input *DeleteFunctionInput) (*DeleteFunctionOutput, error) { @@ -1338,14 +1338,13 @@ const opDeleteGraphqlApi = "DeleteGraphqlApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGraphqlApiRequest method. +// req, resp := client.DeleteGraphqlApiRequest(params) // -// // Example sending a request using the DeleteGraphqlApiRequest method. -// req, resp := client.DeleteGraphqlApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApi func (c *AppSync) DeleteGraphqlApiRequest(input *DeleteGraphqlApiInput) (req *request.Request, output *DeleteGraphqlApiOutput) { @@ -1377,26 +1376,27 @@ func (c *AppSync) DeleteGraphqlApiRequest(input *DeleteGraphqlApiInput) (req *re // API operation DeleteGraphqlApi for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // -// * AccessDeniedException -// You don't have access to perform this operation on this resource. +// - AccessDeniedException +// You don't have access to perform this operation on this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteGraphqlApi func (c *AppSync) DeleteGraphqlApi(input *DeleteGraphqlApiInput) (*DeleteGraphqlApiOutput, error) { @@ -1436,14 +1436,13 @@ const opDeleteResolver = "DeleteResolver" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResolverRequest method. +// req, resp := client.DeleteResolverRequest(params) // -// // Example sending a request using the DeleteResolverRequest method. -// req, resp := client.DeleteResolverRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolver func (c *AppSync) DeleteResolverRequest(input *DeleteResolverInput) (req *request.Request, output *DeleteResolverOutput) { @@ -1475,19 +1474,20 @@ func (c *AppSync) DeleteResolverRequest(input *DeleteResolverInput) (req *reques // API operation DeleteResolver for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - UnauthorizedException +// You aren't authorized to perform this operation. +// +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteResolver func (c *AppSync) DeleteResolver(input *DeleteResolverInput) (*DeleteResolverOutput, error) { @@ -1527,14 +1527,13 @@ const opDeleteType = "DeleteType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTypeRequest method. +// req, resp := client.DeleteTypeRequest(params) // -// // Example sending a request using the DeleteTypeRequest method. -// req, resp := client.DeleteTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteType func (c *AppSync) DeleteTypeRequest(input *DeleteTypeInput) (req *request.Request, output *DeleteTypeOutput) { @@ -1566,23 +1565,24 @@ func (c *AppSync) DeleteTypeRequest(input *DeleteTypeInput) (req *request.Reques // API operation DeleteType for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DeleteType func (c *AppSync) DeleteType(input *DeleteTypeInput) (*DeleteTypeOutput, error) { @@ -1622,14 +1622,13 @@ const opDisassociateApi = "DisassociateApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateApiRequest method. +// req, resp := client.DisassociateApiRequest(params) // -// // Example sending a request using the DisassociateApiRequest method. -// req, resp := client.DisassociateApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateApi func (c *AppSync) DisassociateApiRequest(input *DisassociateApiInput) (req *request.Request, output *DisassociateApiOutput) { @@ -1661,23 +1660,24 @@ func (c *AppSync) DisassociateApiRequest(input *DisassociateApiInput) (req *requ // API operation DisassociateApi for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to perform this operation on this resource. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. +// - AccessDeniedException +// You don't have access to perform this operation on this resource. +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DisassociateApi func (c *AppSync) DisassociateApi(input *DisassociateApiInput) (*DisassociateApiOutput, error) { @@ -1717,14 +1717,13 @@ const opFlushApiCache = "FlushApiCache" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the FlushApiCacheRequest method. +// req, resp := client.FlushApiCacheRequest(params) // -// // Example sending a request using the FlushApiCacheRequest method. -// req, resp := client.FlushApiCacheRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/FlushApiCache func (c *AppSync) FlushApiCacheRequest(input *FlushApiCacheInput) (req *request.Request, output *FlushApiCacheOutput) { @@ -1756,23 +1755,24 @@ func (c *AppSync) FlushApiCacheRequest(input *FlushApiCacheInput) (req *request. // API operation FlushApiCache for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - UnauthorizedException +// You aren't authorized to perform this operation. +// +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/FlushApiCache func (c *AppSync) FlushApiCache(input *FlushApiCacheInput) (*FlushApiCacheOutput, error) { @@ -1812,14 +1812,13 @@ const opGetApiAssociation = "GetApiAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApiAssociationRequest method. +// req, resp := client.GetApiAssociationRequest(params) // -// // Example sending a request using the GetApiAssociationRequest method. -// req, resp := client.GetApiAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiAssociation func (c *AppSync) GetApiAssociationRequest(input *GetApiAssociationInput) (req *request.Request, output *GetApiAssociationOutput) { @@ -1850,19 +1849,20 @@ func (c *AppSync) GetApiAssociationRequest(input *GetApiAssociationInput) (req * // API operation GetApiAssociation for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to perform this operation on this resource. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. +// - AccessDeniedException +// You don't have access to perform this operation on this resource. +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiAssociation func (c *AppSync) GetApiAssociation(input *GetApiAssociationInput) (*GetApiAssociationOutput, error) { @@ -1902,14 +1902,13 @@ const opGetApiCache = "GetApiCache" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApiCacheRequest method. +// req, resp := client.GetApiCacheRequest(params) // -// // Example sending a request using the GetApiCacheRequest method. -// req, resp := client.GetApiCacheRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiCache func (c *AppSync) GetApiCacheRequest(input *GetApiCacheInput) (req *request.Request, output *GetApiCacheOutput) { @@ -1940,23 +1939,24 @@ func (c *AppSync) GetApiCacheRequest(input *GetApiCacheInput) (req *request.Requ // API operation GetApiCache for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetApiCache func (c *AppSync) GetApiCache(input *GetApiCacheInput) (*GetApiCacheOutput, error) { @@ -1996,14 +1996,13 @@ const opGetDataSource = "GetDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDataSourceRequest method. +// req, resp := client.GetDataSourceRequest(params) // -// // Example sending a request using the GetDataSourceRequest method. -// req, resp := client.GetDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSource func (c *AppSync) GetDataSourceRequest(input *GetDataSourceInput) (req *request.Request, output *GetDataSourceOutput) { @@ -2034,23 +2033,24 @@ func (c *AppSync) GetDataSourceRequest(input *GetDataSourceInput) (req *request. // API operation GetDataSource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - UnauthorizedException +// You aren't authorized to perform this operation. +// +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSource func (c *AppSync) GetDataSource(input *GetDataSourceInput) (*GetDataSourceOutput, error) { @@ -2090,14 +2090,13 @@ const opGetDomainName = "GetDomainName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainNameRequest method. +// req, resp := client.GetDomainNameRequest(params) // -// // Example sending a request using the GetDomainNameRequest method. -// req, resp := client.GetDomainNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDomainName func (c *AppSync) GetDomainNameRequest(input *GetDomainNameInput) (req *request.Request, output *GetDomainNameOutput) { @@ -2128,19 +2127,20 @@ func (c *AppSync) GetDomainNameRequest(input *GetDomainNameInput) (req *request. // API operation GetDomainName for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to perform this operation on this resource. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. +// - AccessDeniedException +// You don't have access to perform this operation on this resource. +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDomainName func (c *AppSync) GetDomainName(input *GetDomainNameInput) (*GetDomainNameOutput, error) { @@ -2180,14 +2180,13 @@ const opGetFunction = "GetFunction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFunctionRequest method. +// req, resp := client.GetFunctionRequest(params) // -// // Example sending a request using the GetFunctionRequest method. -// req, resp := client.GetFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetFunction func (c *AppSync) GetFunctionRequest(input *GetFunctionInput) (req *request.Request, output *GetFunctionOutput) { @@ -2218,16 +2217,17 @@ func (c *AppSync) GetFunctionRequest(input *GetFunctionInput) (req *request.Requ // API operation GetFunction for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetFunction func (c *AppSync) GetFunction(input *GetFunctionInput) (*GetFunctionOutput, error) { @@ -2267,14 +2267,13 @@ const opGetGraphqlApi = "GetGraphqlApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGraphqlApiRequest method. +// req, resp := client.GetGraphqlApiRequest(params) // -// // Example sending a request using the GetGraphqlApiRequest method. -// req, resp := client.GetGraphqlApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi func (c *AppSync) GetGraphqlApiRequest(input *GetGraphqlApiInput) (req *request.Request, output *GetGraphqlApiOutput) { @@ -2305,22 +2304,23 @@ func (c *AppSync) GetGraphqlApiRequest(input *GetGraphqlApiInput) (req *request. // API operation GetGraphqlApi for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * AccessDeniedException -// You don't have access to perform this operation on this resource. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. +// +// - AccessDeniedException +// You don't have access to perform this operation on this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi func (c *AppSync) GetGraphqlApi(input *GetGraphqlApiInput) (*GetGraphqlApiOutput, error) { @@ -2360,14 +2360,13 @@ const opGetIntrospectionSchema = "GetIntrospectionSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIntrospectionSchemaRequest method. +// req, resp := client.GetIntrospectionSchemaRequest(params) // -// // Example sending a request using the GetIntrospectionSchemaRequest method. -// req, resp := client.GetIntrospectionSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchema func (c *AppSync) GetIntrospectionSchemaRequest(input *GetIntrospectionSchemaInput) (req *request.Request, output *GetIntrospectionSchemaOutput) { @@ -2398,18 +2397,19 @@ func (c *AppSync) GetIntrospectionSchemaRequest(input *GetIntrospectionSchemaInp // API operation GetIntrospectionSchema for usage and error information. // // Returned Error Types: -// * GraphQLSchemaException -// The GraphQL schema is not valid. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - GraphQLSchemaException +// The GraphQL schema is not valid. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - UnauthorizedException +// You aren't authorized to perform this operation. +// +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchema func (c *AppSync) GetIntrospectionSchema(input *GetIntrospectionSchemaInput) (*GetIntrospectionSchemaOutput, error) { @@ -2449,14 +2449,13 @@ const opGetResolver = "GetResolver" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResolverRequest method. +// req, resp := client.GetResolverRequest(params) // -// // Example sending a request using the GetResolverRequest method. -// req, resp := client.GetResolverRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolver func (c *AppSync) GetResolverRequest(input *GetResolverInput) (req *request.Request, output *GetResolverOutput) { @@ -2487,16 +2486,17 @@ func (c *AppSync) GetResolverRequest(input *GetResolverInput) (req *request.Requ // API operation GetResolver for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. +// +// - UnauthorizedException +// You aren't authorized to perform this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetResolver func (c *AppSync) GetResolver(input *GetResolverInput) (*GetResolverOutput, error) { @@ -2536,14 +2536,13 @@ const opGetSchemaCreationStatus = "GetSchemaCreationStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSchemaCreationStatusRequest method. +// req, resp := client.GetSchemaCreationStatusRequest(params) // -// // Example sending a request using the GetSchemaCreationStatusRequest method. -// req, resp := client.GetSchemaCreationStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatus func (c *AppSync) GetSchemaCreationStatusRequest(input *GetSchemaCreationStatusInput) (req *request.Request, output *GetSchemaCreationStatusOutput) { @@ -2574,19 +2573,20 @@ func (c *AppSync) GetSchemaCreationStatusRequest(input *GetSchemaCreationStatusI // API operation GetSchemaCreationStatus for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatus func (c *AppSync) GetSchemaCreationStatus(input *GetSchemaCreationStatusInput) (*GetSchemaCreationStatusOutput, error) { @@ -2626,14 +2626,13 @@ const opGetType = "GetType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTypeRequest method. +// req, resp := client.GetTypeRequest(params) // -// // Example sending a request using the GetTypeRequest method. -// req, resp := client.GetTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetType func (c *AppSync) GetTypeRequest(input *GetTypeInput) (req *request.Request, output *GetTypeOutput) { @@ -2664,23 +2663,24 @@ func (c *AppSync) GetTypeRequest(input *GetTypeInput) (req *request.Request, out // API operation GetType for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetType func (c *AppSync) GetType(input *GetTypeInput) (*GetTypeOutput, error) { @@ -2720,14 +2720,13 @@ const opListApiKeys = "ListApiKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApiKeysRequest method. +// req, resp := client.ListApiKeysRequest(params) // -// // Example sending a request using the ListApiKeysRequest method. -// req, resp := client.ListApiKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeys func (c *AppSync) ListApiKeysRequest(input *ListApiKeysInput) (req *request.Request, output *ListApiKeysOutput) { @@ -2763,19 +2762,20 @@ func (c *AppSync) ListApiKeysRequest(input *ListApiKeysInput) (req *request.Requ // API operation ListApiKeys for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - UnauthorizedException +// You aren't authorized to perform this operation. +// +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeys func (c *AppSync) ListApiKeys(input *ListApiKeysInput) (*ListApiKeysOutput, error) { @@ -2815,14 +2815,13 @@ const opListDataSources = "ListDataSources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDataSourcesRequest method. +// req, resp := client.ListDataSourcesRequest(params) // -// // Example sending a request using the ListDataSourcesRequest method. -// req, resp := client.ListDataSourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSources func (c *AppSync) ListDataSourcesRequest(input *ListDataSourcesInput) (req *request.Request, output *ListDataSourcesOutput) { @@ -2853,19 +2852,20 @@ func (c *AppSync) ListDataSourcesRequest(input *ListDataSourcesInput) (req *requ // API operation ListDataSources for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSources func (c *AppSync) ListDataSources(input *ListDataSourcesInput) (*ListDataSourcesOutput, error) { @@ -2905,14 +2905,13 @@ const opListDomainNames = "ListDomainNames" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainNamesRequest method. +// req, resp := client.ListDomainNamesRequest(params) // -// // Example sending a request using the ListDomainNamesRequest method. -// req, resp := client.ListDomainNamesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDomainNames func (c *AppSync) ListDomainNamesRequest(input *ListDomainNamesInput) (req *request.Request, output *ListDomainNamesOutput) { @@ -2943,15 +2942,16 @@ func (c *AppSync) ListDomainNamesRequest(input *ListDomainNamesInput) (req *requ // API operation ListDomainNames for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to perform this operation on this resource. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. +// - AccessDeniedException +// You don't have access to perform this operation on this resource. +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDomainNames func (c *AppSync) ListDomainNames(input *ListDomainNamesInput) (*ListDomainNamesOutput, error) { @@ -2991,14 +2991,13 @@ const opListFunctions = "ListFunctions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFunctionsRequest method. +// req, resp := client.ListFunctionsRequest(params) // -// // Example sending a request using the ListFunctionsRequest method. -// req, resp := client.ListFunctionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListFunctions func (c *AppSync) ListFunctionsRequest(input *ListFunctionsInput) (req *request.Request, output *ListFunctionsOutput) { @@ -3029,19 +3028,20 @@ func (c *AppSync) ListFunctionsRequest(input *ListFunctionsInput) (req *request. // API operation ListFunctions for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - UnauthorizedException +// You aren't authorized to perform this operation. +// +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListFunctions func (c *AppSync) ListFunctions(input *ListFunctionsInput) (*ListFunctionsOutput, error) { @@ -3081,14 +3081,13 @@ const opListGraphqlApis = "ListGraphqlApis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGraphqlApisRequest method. +// req, resp := client.ListGraphqlApisRequest(params) // -// // Example sending a request using the ListGraphqlApisRequest method. -// req, resp := client.ListGraphqlApisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis func (c *AppSync) ListGraphqlApisRequest(input *ListGraphqlApisInput) (req *request.Request, output *ListGraphqlApisOutput) { @@ -3119,15 +3118,16 @@ func (c *AppSync) ListGraphqlApisRequest(input *ListGraphqlApisInput) (req *requ // API operation ListGraphqlApis for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis func (c *AppSync) ListGraphqlApis(input *ListGraphqlApisInput) (*ListGraphqlApisOutput, error) { @@ -3167,14 +3167,13 @@ const opListResolvers = "ListResolvers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResolversRequest method. +// req, resp := client.ListResolversRequest(params) // -// // Example sending a request using the ListResolversRequest method. -// req, resp := client.ListResolversRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolvers func (c *AppSync) ListResolversRequest(input *ListResolversInput) (req *request.Request, output *ListResolversOutput) { @@ -3205,19 +3204,20 @@ func (c *AppSync) ListResolversRequest(input *ListResolversInput) (req *request. // API operation ListResolvers for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolvers func (c *AppSync) ListResolvers(input *ListResolversInput) (*ListResolversOutput, error) { @@ -3257,14 +3257,13 @@ const opListResolversByFunction = "ListResolversByFunction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResolversByFunctionRequest method. +// req, resp := client.ListResolversByFunctionRequest(params) // -// // Example sending a request using the ListResolversByFunctionRequest method. -// req, resp := client.ListResolversByFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversByFunction func (c *AppSync) ListResolversByFunctionRequest(input *ListResolversByFunctionInput) (req *request.Request, output *ListResolversByFunctionOutput) { @@ -3295,19 +3294,20 @@ func (c *AppSync) ListResolversByFunctionRequest(input *ListResolversByFunctionI // API operation ListResolversByFunction for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - UnauthorizedException +// You aren't authorized to perform this operation. +// +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListResolversByFunction func (c *AppSync) ListResolversByFunction(input *ListResolversByFunctionInput) (*ListResolversByFunctionOutput, error) { @@ -3347,14 +3347,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTagsForResource func (c *AppSync) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -3385,25 +3384,26 @@ func (c *AppSync) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // -// * AccessDeniedException -// You don't have access to perform this operation on this resource. +// - AccessDeniedException +// You don't have access to perform this operation on this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTagsForResource func (c *AppSync) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3443,14 +3443,13 @@ const opListTypes = "ListTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTypesRequest method. +// req, resp := client.ListTypesRequest(params) // -// // Example sending a request using the ListTypesRequest method. -// req, resp := client.ListTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypes func (c *AppSync) ListTypesRequest(input *ListTypesInput) (req *request.Request, output *ListTypesOutput) { @@ -3481,23 +3480,24 @@ func (c *AppSync) ListTypesRequest(input *ListTypesInput) (req *request.Request, // API operation ListTypes for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTypes func (c *AppSync) ListTypes(input *ListTypesInput) (*ListTypesOutput, error) { @@ -3537,14 +3537,13 @@ const opStartSchemaCreation = "StartSchemaCreation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartSchemaCreationRequest method. +// req, resp := client.StartSchemaCreationRequest(params) // -// // Example sending a request using the StartSchemaCreationRequest method. -// req, resp := client.StartSchemaCreationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreation func (c *AppSync) StartSchemaCreationRequest(input *StartSchemaCreationInput) (req *request.Request, output *StartSchemaCreationOutput) { @@ -3577,23 +3576,24 @@ func (c *AppSync) StartSchemaCreationRequest(input *StartSchemaCreationInput) (r // API operation StartSchemaCreation for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - UnauthorizedException +// You aren't authorized to perform this operation. +// +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreation func (c *AppSync) StartSchemaCreation(input *StartSchemaCreationInput) (*StartSchemaCreationOutput, error) { @@ -3633,14 +3633,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/TagResource func (c *AppSync) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3672,25 +3671,26 @@ func (c *AppSync) TagResourceRequest(input *TagResourceInput) (req *request.Requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // -// * AccessDeniedException -// You don't have access to perform this operation on this resource. +// - AccessDeniedException +// You don't have access to perform this operation on this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/TagResource func (c *AppSync) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3730,14 +3730,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UntagResource func (c *AppSync) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3769,25 +3768,26 @@ func (c *AppSync) UntagResourceRequest(input *UntagResourceInput) (req *request. // API operation UntagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // -// * AccessDeniedException -// You don't have access to perform this operation on this resource. +// - AccessDeniedException +// You don't have access to perform this operation on this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UntagResource func (c *AppSync) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3827,14 +3827,13 @@ const opUpdateApiCache = "UpdateApiCache" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApiCacheRequest method. +// req, resp := client.UpdateApiCacheRequest(params) // -// // Example sending a request using the UpdateApiCacheRequest method. -// req, resp := client.UpdateApiCacheRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiCache func (c *AppSync) UpdateApiCacheRequest(input *UpdateApiCacheInput) (req *request.Request, output *UpdateApiCacheOutput) { @@ -3865,23 +3864,24 @@ func (c *AppSync) UpdateApiCacheRequest(input *UpdateApiCacheInput) (req *reques // API operation UpdateApiCache for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - UnauthorizedException +// You aren't authorized to perform this operation. +// +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiCache func (c *AppSync) UpdateApiCache(input *UpdateApiCacheInput) (*UpdateApiCacheOutput, error) { @@ -3921,14 +3921,13 @@ const opUpdateApiKey = "UpdateApiKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApiKeyRequest method. +// req, resp := client.UpdateApiKeyRequest(params) // -// // Example sending a request using the UpdateApiKeyRequest method. -// req, resp := client.UpdateApiKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKey func (c *AppSync) UpdateApiKeyRequest(input *UpdateApiKeyInput) (req *request.Request, output *UpdateApiKeyOutput) { @@ -3959,26 +3958,27 @@ func (c *AppSync) UpdateApiKeyRequest(input *UpdateApiKeyInput) (req *request.Re // API operation UpdateApiKey for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // -// * ApiKeyValidityOutOfBoundsException -// The API key expiration must be set to a value between 1 and 365 days from -// creation (for CreateApiKey) or from update (for UpdateApiKey). +// - ApiKeyValidityOutOfBoundsException +// The API key expiration must be set to a value between 1 and 365 days from +// creation (for CreateApiKey) or from update (for UpdateApiKey). // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKey func (c *AppSync) UpdateApiKey(input *UpdateApiKeyInput) (*UpdateApiKeyOutput, error) { @@ -4018,14 +4018,13 @@ const opUpdateDataSource = "UpdateDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDataSourceRequest method. +// req, resp := client.UpdateDataSourceRequest(params) // -// // Example sending a request using the UpdateDataSourceRequest method. -// req, resp := client.UpdateDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSource func (c *AppSync) UpdateDataSourceRequest(input *UpdateDataSourceInput) (req *request.Request, output *UpdateDataSourceOutput) { @@ -4056,23 +4055,24 @@ func (c *AppSync) UpdateDataSourceRequest(input *UpdateDataSourceInput) (req *re // API operation UpdateDataSource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSource func (c *AppSync) UpdateDataSource(input *UpdateDataSourceInput) (*UpdateDataSourceOutput, error) { @@ -4112,14 +4112,13 @@ const opUpdateDomainName = "UpdateDomainName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDomainNameRequest method. +// req, resp := client.UpdateDomainNameRequest(params) // -// // Example sending a request using the UpdateDomainNameRequest method. -// req, resp := client.UpdateDomainNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDomainName func (c *AppSync) UpdateDomainNameRequest(input *UpdateDomainNameInput) (req *request.Request, output *UpdateDomainNameOutput) { @@ -4150,23 +4149,24 @@ func (c *AppSync) UpdateDomainNameRequest(input *UpdateDomainNameInput) (req *re // API operation UpdateDomainName for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to perform this operation on this resource. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. +// - AccessDeniedException +// You don't have access to perform this operation on this resource. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDomainName func (c *AppSync) UpdateDomainName(input *UpdateDomainNameInput) (*UpdateDomainNameOutput, error) { @@ -4206,14 +4206,13 @@ const opUpdateFunction = "UpdateFunction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFunctionRequest method. +// req, resp := client.UpdateFunctionRequest(params) // -// // Example sending a request using the UpdateFunctionRequest method. -// req, resp := client.UpdateFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunction func (c *AppSync) UpdateFunctionRequest(input *UpdateFunctionInput) (req *request.Request, output *UpdateFunctionOutput) { @@ -4244,19 +4243,20 @@ func (c *AppSync) UpdateFunctionRequest(input *UpdateFunctionInput) (req *reques // API operation UpdateFunction for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunction func (c *AppSync) UpdateFunction(input *UpdateFunctionInput) (*UpdateFunctionOutput, error) { @@ -4296,14 +4296,13 @@ const opUpdateGraphqlApi = "UpdateGraphqlApi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGraphqlApiRequest method. +// req, resp := client.UpdateGraphqlApiRequest(params) // -// // Example sending a request using the UpdateGraphqlApiRequest method. -// req, resp := client.UpdateGraphqlApiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi func (c *AppSync) UpdateGraphqlApiRequest(input *UpdateGraphqlApiInput) (req *request.Request, output *UpdateGraphqlApiOutput) { @@ -4334,26 +4333,27 @@ func (c *AppSync) UpdateGraphqlApiRequest(input *UpdateGraphqlApiInput) (req *re // API operation UpdateGraphqlApi for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // -// * AccessDeniedException -// You don't have access to perform this operation on this resource. +// - AccessDeniedException +// You don't have access to perform this operation on this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi func (c *AppSync) UpdateGraphqlApi(input *UpdateGraphqlApiInput) (*UpdateGraphqlApiOutput, error) { @@ -4393,14 +4393,13 @@ const opUpdateResolver = "UpdateResolver" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResolverRequest method. +// req, resp := client.UpdateResolverRequest(params) // -// // Example sending a request using the UpdateResolverRequest method. -// req, resp := client.UpdateResolverRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolver func (c *AppSync) UpdateResolverRequest(input *UpdateResolverInput) (req *request.Request, output *UpdateResolverOutput) { @@ -4431,19 +4430,20 @@ func (c *AppSync) UpdateResolverRequest(input *UpdateResolverInput) (req *reques // API operation UpdateResolver for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - UnauthorizedException +// You aren't authorized to perform this operation. +// +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolver func (c *AppSync) UpdateResolver(input *UpdateResolverInput) (*UpdateResolverOutput, error) { @@ -4483,14 +4483,13 @@ const opUpdateType = "UpdateType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTypeRequest method. +// req, resp := client.UpdateTypeRequest(params) // -// // Example sending a request using the UpdateTypeRequest method. -// req, resp := client.UpdateTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateType func (c *AppSync) UpdateTypeRequest(input *UpdateTypeInput) (req *request.Request, output *UpdateTypeOutput) { @@ -4521,23 +4520,24 @@ func (c *AppSync) UpdateTypeRequest(input *UpdateTypeInput) (req *request.Reques // API operation UpdateType for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and then try again. // -// * ConcurrentModificationException -// Another modification is in progress at this time and it must complete before -// you can make your change. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and then try again. +// +// - ConcurrentModificationException +// Another modification is in progress at this time and it must complete before +// you can make your change. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource, -// and then try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource, +// and then try again. // -// * UnauthorizedException -// You aren't authorized to perform this operation. +// - UnauthorizedException +// You aren't authorized to perform this operation. // -// * InternalFailureException -// An internal AppSync error occurred. Try your request again. +// - InternalFailureException +// An internal AppSync error occurred. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateType func (c *AppSync) UpdateType(input *UpdateTypeInput) (*UpdateTypeOutput, error) { @@ -4918,40 +4918,40 @@ func (s *ApiCache) SetType(v string) *ApiCache { // ceased to be valid after February 21, 2018, and they should no longer be // used. // -// * ListApiKeys returns the expiration time in milliseconds. +// - ListApiKeys returns the expiration time in milliseconds. // -// * CreateApiKey returns the expiration time in milliseconds. +// - CreateApiKey returns the expiration time in milliseconds. // -// * UpdateApiKey is not available for this key version. +// - UpdateApiKey is not available for this key version. // -// * DeleteApiKey deletes the item from the table. +// - DeleteApiKey deletes the item from the table. // -// * Expiration is stored in DynamoDB as milliseconds. This results in a -// bug where keys are not automatically deleted because DynamoDB expects -// the TTL to be stored in seconds. As a one-time action, we deleted these -// keys from the table on February 21, 2018. +// - Expiration is stored in DynamoDB as milliseconds. This results in a +// bug where keys are not automatically deleted because DynamoDB expects +// the TTL to be stored in seconds. As a one-time action, we deleted these +// keys from the table on February 21, 2018. // // da2: We introduced this version in February 2018 when AppSync added support // to extend key expiration. // -// * ListApiKeys returns the expiration time and deletion time in seconds. +// - ListApiKeys returns the expiration time and deletion time in seconds. // -// * CreateApiKey returns the expiration time and deletion time in seconds -// and accepts a user-provided expiration time in seconds. +// - CreateApiKey returns the expiration time and deletion time in seconds +// and accepts a user-provided expiration time in seconds. // -// * UpdateApiKey returns the expiration time and and deletion time in seconds -// and accepts a user-provided expiration time in seconds. Expired API keys -// are kept for 60 days after the expiration time. You can update the key -// expiration time as long as the key isn't deleted. +// - UpdateApiKey returns the expiration time and and deletion time in seconds +// and accepts a user-provided expiration time in seconds. Expired API keys +// are kept for 60 days after the expiration time. You can update the key +// expiration time as long as the key isn't deleted. // -// * DeleteApiKey deletes the item from the table. +// - DeleteApiKey deletes the item from the table. // -// * Expiration is stored in DynamoDB as seconds. After the expiration time, -// using the key to authenticate will fail. However, you can reinstate the -// key before deletion. +// - Expiration is stored in DynamoDB as seconds. After the expiration time, +// using the key to authenticate will fail. However, you can reinstate the +// key before deletion. // -// * Deletion is stored in DynamoDB as seconds. The key is deleted after -// deletion time. +// - Deletion is stored in DynamoDB as seconds. The key is deleted after +// deletion time. type ApiKey struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/appsynciface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/appsynciface/interface.go index 117e9db90e03..0feca5ecca30 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/appsynciface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/appsynciface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS AppSync. -// func myFunc(svc appsynciface.AppSyncAPI) bool { -// // Make svc.AssociateApi request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS AppSync. +// func myFunc(svc appsynciface.AppSyncAPI) bool { +// // Make svc.AssociateApi request +// } // -// func main() { -// sess := session.New() -// svc := appsync.New(sess) +// func main() { +// sess := session.New() +// svc := appsync.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAppSyncClient struct { -// appsynciface.AppSyncAPI -// } -// func (m *mockAppSyncClient) AssociateApi(input *appsync.AssociateApiInput) (*appsync.AssociateApiOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAppSyncClient struct { +// appsynciface.AppSyncAPI +// } +// func (m *mockAppSyncClient) AssociateApi(input *appsync.AssociateApiInput) (*appsync.AssociateApiOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAppSyncClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAppSyncClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/doc.go index ffff6f77dd65..0b8a6f957b0f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/doc.go @@ -11,7 +11,7 @@ // See appsync package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/appsync/ // -// Using the Client +// # Using the Client // // To contact AWS AppSync with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/service.go index df3b60806f42..218a45d8937c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/appsync/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AppSync client from just a session. -// svc := appsync.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AppSync client with additional configuration -// svc := appsync.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AppSync client from just a session. +// svc := appsync.New(mySession) +// +// // Create a AppSync client with additional configuration +// svc := appsync.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AppSync { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/api.go index 7f596bcd40c2..7e793616c3db 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/api.go @@ -29,14 +29,13 @@ const opBatchGetNamedQuery = "BatchGetNamedQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetNamedQueryRequest method. +// req, resp := client.BatchGetNamedQueryRequest(params) // -// // Example sending a request using the BatchGetNamedQueryRequest method. -// req, resp := client.BatchGetNamedQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetNamedQuery func (c *Athena) BatchGetNamedQueryRequest(input *BatchGetNamedQueryInput) (req *request.Request, output *BatchGetNamedQueryOutput) { @@ -75,13 +74,14 @@ func (c *Athena) BatchGetNamedQueryRequest(input *BatchGetNamedQueryInput) (req // API operation BatchGetNamedQuery for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetNamedQuery func (c *Athena) BatchGetNamedQuery(input *BatchGetNamedQueryInput) (*BatchGetNamedQueryOutput, error) { @@ -121,14 +121,13 @@ const opBatchGetQueryExecution = "BatchGetQueryExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetQueryExecutionRequest method. +// req, resp := client.BatchGetQueryExecutionRequest(params) // -// // Example sending a request using the BatchGetQueryExecutionRequest method. -// req, resp := client.BatchGetQueryExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetQueryExecution func (c *Athena) BatchGetQueryExecutionRequest(input *BatchGetQueryExecutionInput) (req *request.Request, output *BatchGetQueryExecutionOutput) { @@ -164,13 +163,14 @@ func (c *Athena) BatchGetQueryExecutionRequest(input *BatchGetQueryExecutionInpu // API operation BatchGetQueryExecution for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/BatchGetQueryExecution func (c *Athena) BatchGetQueryExecution(input *BatchGetQueryExecutionInput) (*BatchGetQueryExecutionOutput, error) { @@ -210,14 +210,13 @@ const opCreateDataCatalog = "CreateDataCatalog" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataCatalogRequest method. +// req, resp := client.CreateDataCatalogRequest(params) // -// // Example sending a request using the CreateDataCatalogRequest method. -// req, resp := client.CreateDataCatalogRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateDataCatalog func (c *Athena) CreateDataCatalogRequest(input *CreateDataCatalogInput) (req *request.Request, output *CreateDataCatalogOutput) { @@ -251,13 +250,14 @@ func (c *Athena) CreateDataCatalogRequest(input *CreateDataCatalogInput) (req *r // API operation CreateDataCatalog for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateDataCatalog func (c *Athena) CreateDataCatalog(input *CreateDataCatalogInput) (*CreateDataCatalogOutput, error) { @@ -297,14 +297,13 @@ const opCreateNamedQuery = "CreateNamedQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNamedQueryRequest method. +// req, resp := client.CreateNamedQueryRequest(params) // -// // Example sending a request using the CreateNamedQueryRequest method. -// req, resp := client.CreateNamedQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateNamedQuery func (c *Athena) CreateNamedQueryRequest(input *CreateNamedQueryInput) (req *request.Request, output *CreateNamedQueryOutput) { @@ -340,13 +339,14 @@ func (c *Athena) CreateNamedQueryRequest(input *CreateNamedQueryInput) (req *req // API operation CreateNamedQuery for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateNamedQuery func (c *Athena) CreateNamedQuery(input *CreateNamedQueryInput) (*CreateNamedQueryOutput, error) { @@ -386,14 +386,13 @@ const opCreatePreparedStatement = "CreatePreparedStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePreparedStatementRequest method. +// req, resp := client.CreatePreparedStatementRequest(params) // -// // Example sending a request using the CreatePreparedStatementRequest method. -// req, resp := client.CreatePreparedStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreatePreparedStatement func (c *Athena) CreatePreparedStatementRequest(input *CreatePreparedStatementInput) (req *request.Request, output *CreatePreparedStatementOutput) { @@ -425,13 +424,14 @@ func (c *Athena) CreatePreparedStatementRequest(input *CreatePreparedStatementIn // API operation CreatePreparedStatement for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreatePreparedStatement func (c *Athena) CreatePreparedStatement(input *CreatePreparedStatementInput) (*CreatePreparedStatementOutput, error) { @@ -471,14 +471,13 @@ const opCreateWorkGroup = "CreateWorkGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorkGroupRequest method. +// req, resp := client.CreateWorkGroupRequest(params) // -// // Example sending a request using the CreateWorkGroupRequest method. -// req, resp := client.CreateWorkGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateWorkGroup func (c *Athena) CreateWorkGroupRequest(input *CreateWorkGroupInput) (req *request.Request, output *CreateWorkGroupOutput) { @@ -510,13 +509,14 @@ func (c *Athena) CreateWorkGroupRequest(input *CreateWorkGroupInput) (req *reque // API operation CreateWorkGroup for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/CreateWorkGroup func (c *Athena) CreateWorkGroup(input *CreateWorkGroupInput) (*CreateWorkGroupOutput, error) { @@ -556,14 +556,13 @@ const opDeleteDataCatalog = "DeleteDataCatalog" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDataCatalogRequest method. +// req, resp := client.DeleteDataCatalogRequest(params) // -// // Example sending a request using the DeleteDataCatalogRequest method. -// req, resp := client.DeleteDataCatalogRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteDataCatalog func (c *Athena) DeleteDataCatalogRequest(input *DeleteDataCatalogInput) (req *request.Request, output *DeleteDataCatalogOutput) { @@ -595,13 +594,14 @@ func (c *Athena) DeleteDataCatalogRequest(input *DeleteDataCatalogInput) (req *r // API operation DeleteDataCatalog for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteDataCatalog func (c *Athena) DeleteDataCatalog(input *DeleteDataCatalogInput) (*DeleteDataCatalogOutput, error) { @@ -641,14 +641,13 @@ const opDeleteNamedQuery = "DeleteNamedQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNamedQueryRequest method. +// req, resp := client.DeleteNamedQueryRequest(params) // -// // Example sending a request using the DeleteNamedQueryRequest method. -// req, resp := client.DeleteNamedQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteNamedQuery func (c *Athena) DeleteNamedQueryRequest(input *DeleteNamedQueryInput) (req *request.Request, output *DeleteNamedQueryOutput) { @@ -685,13 +684,14 @@ func (c *Athena) DeleteNamedQueryRequest(input *DeleteNamedQueryInput) (req *req // API operation DeleteNamedQuery for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteNamedQuery func (c *Athena) DeleteNamedQuery(input *DeleteNamedQueryInput) (*DeleteNamedQueryOutput, error) { @@ -731,14 +731,13 @@ const opDeletePreparedStatement = "DeletePreparedStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePreparedStatementRequest method. +// req, resp := client.DeletePreparedStatementRequest(params) // -// // Example sending a request using the DeletePreparedStatementRequest method. -// req, resp := client.DeletePreparedStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeletePreparedStatement func (c *Athena) DeletePreparedStatementRequest(input *DeletePreparedStatementInput) (req *request.Request, output *DeletePreparedStatementOutput) { @@ -771,16 +770,17 @@ func (c *Athena) DeletePreparedStatementRequest(input *DeletePreparedStatementIn // API operation DeletePreparedStatement for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // -// * ResourceNotFoundException -// A resource, such as a workgroup, was not found. +// - ResourceNotFoundException +// A resource, such as a workgroup, was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeletePreparedStatement func (c *Athena) DeletePreparedStatement(input *DeletePreparedStatementInput) (*DeletePreparedStatementOutput, error) { @@ -820,14 +820,13 @@ const opDeleteWorkGroup = "DeleteWorkGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorkGroupRequest method. +// req, resp := client.DeleteWorkGroupRequest(params) // -// // Example sending a request using the DeleteWorkGroupRequest method. -// req, resp := client.DeleteWorkGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteWorkGroup func (c *Athena) DeleteWorkGroupRequest(input *DeleteWorkGroupInput) (req *request.Request, output *DeleteWorkGroupOutput) { @@ -860,13 +859,14 @@ func (c *Athena) DeleteWorkGroupRequest(input *DeleteWorkGroupInput) (req *reque // API operation DeleteWorkGroup for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/DeleteWorkGroup func (c *Athena) DeleteWorkGroup(input *DeleteWorkGroupInput) (*DeleteWorkGroupOutput, error) { @@ -906,14 +906,13 @@ const opGetDataCatalog = "GetDataCatalog" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDataCatalogRequest method. +// req, resp := client.GetDataCatalogRequest(params) // -// // Example sending a request using the GetDataCatalogRequest method. -// req, resp := client.GetDataCatalogRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetDataCatalog func (c *Athena) GetDataCatalogRequest(input *GetDataCatalogInput) (req *request.Request, output *GetDataCatalogOutput) { @@ -944,13 +943,14 @@ func (c *Athena) GetDataCatalogRequest(input *GetDataCatalogInput) (req *request // API operation GetDataCatalog for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetDataCatalog func (c *Athena) GetDataCatalog(input *GetDataCatalogInput) (*GetDataCatalogOutput, error) { @@ -990,14 +990,13 @@ const opGetDatabase = "GetDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDatabaseRequest method. +// req, resp := client.GetDatabaseRequest(params) // -// // Example sending a request using the GetDatabaseRequest method. -// req, resp := client.GetDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetDatabase func (c *Athena) GetDatabaseRequest(input *GetDatabaseInput) (req *request.Request, output *GetDatabaseOutput) { @@ -1028,20 +1027,21 @@ func (c *Athena) GetDatabaseRequest(input *GetDatabaseInput) (req *request.Reque // API operation GetDatabase for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. // -// * MetadataException -// An exception that Athena received when it called a custom metastore. Occurs -// if the error is not caused by user input (InvalidRequestException) or from -// the Athena platform (InternalServerException). For example, if a user-created -// Lambda function is missing permissions, the Lambda 4XX exception is returned -// in a MetadataException. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. +// +// - MetadataException +// An exception that Athena received when it called a custom metastore. Occurs +// if the error is not caused by user input (InvalidRequestException) or from +// the Athena platform (InternalServerException). For example, if a user-created +// Lambda function is missing permissions, the Lambda 4XX exception is returned +// in a MetadataException. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetDatabase func (c *Athena) GetDatabase(input *GetDatabaseInput) (*GetDatabaseOutput, error) { @@ -1081,14 +1081,13 @@ const opGetNamedQuery = "GetNamedQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNamedQueryRequest method. +// req, resp := client.GetNamedQueryRequest(params) // -// // Example sending a request using the GetNamedQueryRequest method. -// req, resp := client.GetNamedQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetNamedQuery func (c *Athena) GetNamedQueryRequest(input *GetNamedQueryInput) (req *request.Request, output *GetNamedQueryOutput) { @@ -1120,13 +1119,14 @@ func (c *Athena) GetNamedQueryRequest(input *GetNamedQueryInput) (req *request.R // API operation GetNamedQuery for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetNamedQuery func (c *Athena) GetNamedQuery(input *GetNamedQueryInput) (*GetNamedQueryOutput, error) { @@ -1166,14 +1166,13 @@ const opGetPreparedStatement = "GetPreparedStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPreparedStatementRequest method. +// req, resp := client.GetPreparedStatementRequest(params) // -// // Example sending a request using the GetPreparedStatementRequest method. -// req, resp := client.GetPreparedStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetPreparedStatement func (c *Athena) GetPreparedStatementRequest(input *GetPreparedStatementInput) (req *request.Request, output *GetPreparedStatementOutput) { @@ -1205,16 +1204,17 @@ func (c *Athena) GetPreparedStatementRequest(input *GetPreparedStatementInput) ( // API operation GetPreparedStatement for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // -// * ResourceNotFoundException -// A resource, such as a workgroup, was not found. +// - ResourceNotFoundException +// A resource, such as a workgroup, was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetPreparedStatement func (c *Athena) GetPreparedStatement(input *GetPreparedStatementInput) (*GetPreparedStatementOutput, error) { @@ -1254,14 +1254,13 @@ const opGetQueryExecution = "GetQueryExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetQueryExecutionRequest method. +// req, resp := client.GetQueryExecutionRequest(params) // -// // Example sending a request using the GetQueryExecutionRequest method. -// req, resp := client.GetQueryExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecution func (c *Athena) GetQueryExecutionRequest(input *GetQueryExecutionInput) (req *request.Request, output *GetQueryExecutionOutput) { @@ -1294,13 +1293,14 @@ func (c *Athena) GetQueryExecutionRequest(input *GetQueryExecutionInput) (req *r // API operation GetQueryExecution for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryExecution func (c *Athena) GetQueryExecution(input *GetQueryExecutionInput) (*GetQueryExecutionOutput, error) { @@ -1340,14 +1340,13 @@ const opGetQueryResults = "GetQueryResults" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetQueryResultsRequest method. +// req, resp := client.GetQueryResultsRequest(params) // -// // Example sending a request using the GetQueryResultsRequest method. -// req, resp := client.GetQueryResultsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryResults func (c *Athena) GetQueryResultsRequest(input *GetQueryResultsInput) (req *request.Request, output *GetQueryResultsOutput) { @@ -1398,13 +1397,14 @@ func (c *Athena) GetQueryResultsRequest(input *GetQueryResultsInput) (req *reque // API operation GetQueryResults for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetQueryResults func (c *Athena) GetQueryResults(input *GetQueryResultsInput) (*GetQueryResultsOutput, error) { @@ -1436,15 +1436,14 @@ func (c *Athena) GetQueryResultsWithContext(ctx aws.Context, input *GetQueryResu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetQueryResults operation. -// pageNum := 0 -// err := client.GetQueryResultsPages(params, -// func(page *athena.GetQueryResultsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetQueryResults operation. +// pageNum := 0 +// err := client.GetQueryResultsPages(params, +// func(page *athena.GetQueryResultsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Athena) GetQueryResultsPages(input *GetQueryResultsInput, fn func(*GetQueryResultsOutput, bool) bool) error { return c.GetQueryResultsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1496,14 +1495,13 @@ const opGetTableMetadata = "GetTableMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTableMetadataRequest method. +// req, resp := client.GetTableMetadataRequest(params) // -// // Example sending a request using the GetTableMetadataRequest method. -// req, resp := client.GetTableMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetTableMetadata func (c *Athena) GetTableMetadataRequest(input *GetTableMetadataInput) (req *request.Request, output *GetTableMetadataOutput) { @@ -1534,20 +1532,21 @@ func (c *Athena) GetTableMetadataRequest(input *GetTableMetadataInput) (req *req // API operation GetTableMetadata for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // -// * MetadataException -// An exception that Athena received when it called a custom metastore. Occurs -// if the error is not caused by user input (InvalidRequestException) or from -// the Athena platform (InternalServerException). For example, if a user-created -// Lambda function is missing permissions, the Lambda 4XX exception is returned -// in a MetadataException. +// - MetadataException +// An exception that Athena received when it called a custom metastore. Occurs +// if the error is not caused by user input (InvalidRequestException) or from +// the Athena platform (InternalServerException). For example, if a user-created +// Lambda function is missing permissions, the Lambda 4XX exception is returned +// in a MetadataException. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetTableMetadata func (c *Athena) GetTableMetadata(input *GetTableMetadataInput) (*GetTableMetadataOutput, error) { @@ -1587,14 +1586,13 @@ const opGetWorkGroup = "GetWorkGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWorkGroupRequest method. +// req, resp := client.GetWorkGroupRequest(params) // -// // Example sending a request using the GetWorkGroupRequest method. -// req, resp := client.GetWorkGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetWorkGroup func (c *Athena) GetWorkGroupRequest(input *GetWorkGroupInput) (req *request.Request, output *GetWorkGroupOutput) { @@ -1625,13 +1623,14 @@ func (c *Athena) GetWorkGroupRequest(input *GetWorkGroupInput) (req *request.Req // API operation GetWorkGroup for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/GetWorkGroup func (c *Athena) GetWorkGroup(input *GetWorkGroupInput) (*GetWorkGroupOutput, error) { @@ -1671,14 +1670,13 @@ const opListDataCatalogs = "ListDataCatalogs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDataCatalogsRequest method. +// req, resp := client.ListDataCatalogsRequest(params) // -// // Example sending a request using the ListDataCatalogsRequest method. -// req, resp := client.ListDataCatalogsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListDataCatalogs func (c *Athena) ListDataCatalogsRequest(input *ListDataCatalogsInput) (req *request.Request, output *ListDataCatalogsOutput) { @@ -1715,13 +1713,14 @@ func (c *Athena) ListDataCatalogsRequest(input *ListDataCatalogsInput) (req *req // API operation ListDataCatalogs for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListDataCatalogs func (c *Athena) ListDataCatalogs(input *ListDataCatalogsInput) (*ListDataCatalogsOutput, error) { @@ -1753,15 +1752,14 @@ func (c *Athena) ListDataCatalogsWithContext(ctx aws.Context, input *ListDataCat // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDataCatalogs operation. -// pageNum := 0 -// err := client.ListDataCatalogsPages(params, -// func(page *athena.ListDataCatalogsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDataCatalogs operation. +// pageNum := 0 +// err := client.ListDataCatalogsPages(params, +// func(page *athena.ListDataCatalogsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Athena) ListDataCatalogsPages(input *ListDataCatalogsInput, fn func(*ListDataCatalogsOutput, bool) bool) error { return c.ListDataCatalogsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1813,14 +1811,13 @@ const opListDatabases = "ListDatabases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatabasesRequest method. +// req, resp := client.ListDatabasesRequest(params) // -// // Example sending a request using the ListDatabasesRequest method. -// req, resp := client.ListDatabasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListDatabases func (c *Athena) ListDatabasesRequest(input *ListDatabasesInput) (req *request.Request, output *ListDatabasesOutput) { @@ -1857,20 +1854,21 @@ func (c *Athena) ListDatabasesRequest(input *ListDatabasesInput) (req *request.R // API operation ListDatabases for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // -// * MetadataException -// An exception that Athena received when it called a custom metastore. Occurs -// if the error is not caused by user input (InvalidRequestException) or from -// the Athena platform (InternalServerException). For example, if a user-created -// Lambda function is missing permissions, the Lambda 4XX exception is returned -// in a MetadataException. +// - MetadataException +// An exception that Athena received when it called a custom metastore. Occurs +// if the error is not caused by user input (InvalidRequestException) or from +// the Athena platform (InternalServerException). For example, if a user-created +// Lambda function is missing permissions, the Lambda 4XX exception is returned +// in a MetadataException. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListDatabases func (c *Athena) ListDatabases(input *ListDatabasesInput) (*ListDatabasesOutput, error) { @@ -1902,15 +1900,14 @@ func (c *Athena) ListDatabasesWithContext(ctx aws.Context, input *ListDatabasesI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatabases operation. -// pageNum := 0 -// err := client.ListDatabasesPages(params, -// func(page *athena.ListDatabasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatabases operation. +// pageNum := 0 +// err := client.ListDatabasesPages(params, +// func(page *athena.ListDatabasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Athena) ListDatabasesPages(input *ListDatabasesInput, fn func(*ListDatabasesOutput, bool) bool) error { return c.ListDatabasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1962,14 +1959,13 @@ const opListEngineVersions = "ListEngineVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEngineVersionsRequest method. +// req, resp := client.ListEngineVersionsRequest(params) // -// // Example sending a request using the ListEngineVersionsRequest method. -// req, resp := client.ListEngineVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListEngineVersions func (c *Athena) ListEngineVersionsRequest(input *ListEngineVersionsInput) (req *request.Request, output *ListEngineVersionsOutput) { @@ -2001,13 +1997,14 @@ func (c *Athena) ListEngineVersionsRequest(input *ListEngineVersionsInput) (req // API operation ListEngineVersions for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListEngineVersions func (c *Athena) ListEngineVersions(input *ListEngineVersionsInput) (*ListEngineVersionsOutput, error) { @@ -2047,14 +2044,13 @@ const opListNamedQueries = "ListNamedQueries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNamedQueriesRequest method. +// req, resp := client.ListNamedQueriesRequest(params) // -// // Example sending a request using the ListNamedQueriesRequest method. -// req, resp := client.ListNamedQueriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListNamedQueries func (c *Athena) ListNamedQueriesRequest(input *ListNamedQueriesInput) (req *request.Request, output *ListNamedQueriesOutput) { @@ -2097,13 +2093,14 @@ func (c *Athena) ListNamedQueriesRequest(input *ListNamedQueriesInput) (req *req // API operation ListNamedQueries for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListNamedQueries func (c *Athena) ListNamedQueries(input *ListNamedQueriesInput) (*ListNamedQueriesOutput, error) { @@ -2135,15 +2132,14 @@ func (c *Athena) ListNamedQueriesWithContext(ctx aws.Context, input *ListNamedQu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNamedQueries operation. -// pageNum := 0 -// err := client.ListNamedQueriesPages(params, -// func(page *athena.ListNamedQueriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNamedQueries operation. +// pageNum := 0 +// err := client.ListNamedQueriesPages(params, +// func(page *athena.ListNamedQueriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Athena) ListNamedQueriesPages(input *ListNamedQueriesInput, fn func(*ListNamedQueriesOutput, bool) bool) error { return c.ListNamedQueriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2195,14 +2191,13 @@ const opListPreparedStatements = "ListPreparedStatements" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPreparedStatementsRequest method. +// req, resp := client.ListPreparedStatementsRequest(params) // -// // Example sending a request using the ListPreparedStatementsRequest method. -// req, resp := client.ListPreparedStatementsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListPreparedStatements func (c *Athena) ListPreparedStatementsRequest(input *ListPreparedStatementsInput) (req *request.Request, output *ListPreparedStatementsOutput) { @@ -2239,13 +2234,14 @@ func (c *Athena) ListPreparedStatementsRequest(input *ListPreparedStatementsInpu // API operation ListPreparedStatements for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListPreparedStatements func (c *Athena) ListPreparedStatements(input *ListPreparedStatementsInput) (*ListPreparedStatementsOutput, error) { @@ -2277,15 +2273,14 @@ func (c *Athena) ListPreparedStatementsWithContext(ctx aws.Context, input *ListP // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPreparedStatements operation. -// pageNum := 0 -// err := client.ListPreparedStatementsPages(params, -// func(page *athena.ListPreparedStatementsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPreparedStatements operation. +// pageNum := 0 +// err := client.ListPreparedStatementsPages(params, +// func(page *athena.ListPreparedStatementsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Athena) ListPreparedStatementsPages(input *ListPreparedStatementsInput, fn func(*ListPreparedStatementsOutput, bool) bool) error { return c.ListPreparedStatementsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2337,14 +2332,13 @@ const opListQueryExecutions = "ListQueryExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListQueryExecutionsRequest method. +// req, resp := client.ListQueryExecutionsRequest(params) // -// // Example sending a request using the ListQueryExecutionsRequest method. -// req, resp := client.ListQueryExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListQueryExecutions func (c *Athena) ListQueryExecutionsRequest(input *ListQueryExecutionsInput) (req *request.Request, output *ListQueryExecutionsOutput) { @@ -2388,13 +2382,14 @@ func (c *Athena) ListQueryExecutionsRequest(input *ListQueryExecutionsInput) (re // API operation ListQueryExecutions for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListQueryExecutions func (c *Athena) ListQueryExecutions(input *ListQueryExecutionsInput) (*ListQueryExecutionsOutput, error) { @@ -2426,15 +2421,14 @@ func (c *Athena) ListQueryExecutionsWithContext(ctx aws.Context, input *ListQuer // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListQueryExecutions operation. -// pageNum := 0 -// err := client.ListQueryExecutionsPages(params, -// func(page *athena.ListQueryExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListQueryExecutions operation. +// pageNum := 0 +// err := client.ListQueryExecutionsPages(params, +// func(page *athena.ListQueryExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Athena) ListQueryExecutionsPages(input *ListQueryExecutionsInput, fn func(*ListQueryExecutionsOutput, bool) bool) error { return c.ListQueryExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2486,14 +2480,13 @@ const opListTableMetadata = "ListTableMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTableMetadataRequest method. +// req, resp := client.ListTableMetadataRequest(params) // -// // Example sending a request using the ListTableMetadataRequest method. -// req, resp := client.ListTableMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListTableMetadata func (c *Athena) ListTableMetadataRequest(input *ListTableMetadataInput) (req *request.Request, output *ListTableMetadataOutput) { @@ -2530,20 +2523,21 @@ func (c *Athena) ListTableMetadataRequest(input *ListTableMetadataInput) (req *r // API operation ListTableMetadata for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. // -// * MetadataException -// An exception that Athena received when it called a custom metastore. Occurs -// if the error is not caused by user input (InvalidRequestException) or from -// the Athena platform (InternalServerException). For example, if a user-created -// Lambda function is missing permissions, the Lambda 4XX exception is returned -// in a MetadataException. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. +// +// - MetadataException +// An exception that Athena received when it called a custom metastore. Occurs +// if the error is not caused by user input (InvalidRequestException) or from +// the Athena platform (InternalServerException). For example, if a user-created +// Lambda function is missing permissions, the Lambda 4XX exception is returned +// in a MetadataException. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListTableMetadata func (c *Athena) ListTableMetadata(input *ListTableMetadataInput) (*ListTableMetadataOutput, error) { @@ -2575,15 +2569,14 @@ func (c *Athena) ListTableMetadataWithContext(ctx aws.Context, input *ListTableM // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTableMetadata operation. -// pageNum := 0 -// err := client.ListTableMetadataPages(params, -// func(page *athena.ListTableMetadataOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTableMetadata operation. +// pageNum := 0 +// err := client.ListTableMetadataPages(params, +// func(page *athena.ListTableMetadataOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Athena) ListTableMetadataPages(input *ListTableMetadataInput, fn func(*ListTableMetadataOutput, bool) bool) error { return c.ListTableMetadataPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2635,14 +2628,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListTagsForResource func (c *Athena) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2679,16 +2671,17 @@ func (c *Athena) ListTagsForResourceRequest(input *ListTagsForResourceInput) (re // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. // -// * ResourceNotFoundException -// A resource, such as a workgroup, was not found. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. +// +// - ResourceNotFoundException +// A resource, such as a workgroup, was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListTagsForResource func (c *Athena) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2720,15 +2713,14 @@ func (c *Athena) ListTagsForResourceWithContext(ctx aws.Context, input *ListTags // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *athena.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *athena.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Athena) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2780,14 +2772,13 @@ const opListWorkGroups = "ListWorkGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorkGroupsRequest method. +// req, resp := client.ListWorkGroupsRequest(params) // -// // Example sending a request using the ListWorkGroupsRequest method. -// req, resp := client.ListWorkGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListWorkGroups func (c *Athena) ListWorkGroupsRequest(input *ListWorkGroupsInput) (req *request.Request, output *ListWorkGroupsOutput) { @@ -2824,13 +2815,14 @@ func (c *Athena) ListWorkGroupsRequest(input *ListWorkGroupsInput) (req *request // API operation ListWorkGroups for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/ListWorkGroups func (c *Athena) ListWorkGroups(input *ListWorkGroupsInput) (*ListWorkGroupsOutput, error) { @@ -2862,15 +2854,14 @@ func (c *Athena) ListWorkGroupsWithContext(ctx aws.Context, input *ListWorkGroup // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorkGroups operation. -// pageNum := 0 -// err := client.ListWorkGroupsPages(params, -// func(page *athena.ListWorkGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorkGroups operation. +// pageNum := 0 +// err := client.ListWorkGroupsPages(params, +// func(page *athena.ListWorkGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Athena) ListWorkGroupsPages(input *ListWorkGroupsInput, fn func(*ListWorkGroupsOutput, bool) bool) error { return c.ListWorkGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2922,14 +2913,13 @@ const opStartQueryExecution = "StartQueryExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartQueryExecutionRequest method. +// req, resp := client.StartQueryExecutionRequest(params) // -// // Example sending a request using the StartQueryExecutionRequest method. -// req, resp := client.StartQueryExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecution func (c *Athena) StartQueryExecutionRequest(input *StartQueryExecutionInput) (req *request.Request, output *StartQueryExecutionOutput) { @@ -2965,16 +2955,17 @@ func (c *Athena) StartQueryExecutionRequest(input *StartQueryExecutionInput) (re // API operation StartQueryExecution for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // -// * TooManyRequestsException -// Indicates that the request was throttled. +// - TooManyRequestsException +// Indicates that the request was throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StartQueryExecution func (c *Athena) StartQueryExecution(input *StartQueryExecutionInput) (*StartQueryExecutionOutput, error) { @@ -3014,14 +3005,13 @@ const opStopQueryExecution = "StopQueryExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopQueryExecutionRequest method. +// req, resp := client.StopQueryExecutionRequest(params) // -// // Example sending a request using the StopQueryExecutionRequest method. -// req, resp := client.StopQueryExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StopQueryExecution func (c *Athena) StopQueryExecutionRequest(input *StopQueryExecutionInput) (req *request.Request, output *StopQueryExecutionOutput) { @@ -3058,13 +3048,14 @@ func (c *Athena) StopQueryExecutionRequest(input *StopQueryExecutionInput) (req // API operation StopQueryExecution for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/StopQueryExecution func (c *Athena) StopQueryExecution(input *StopQueryExecutionInput) (*StopQueryExecutionOutput, error) { @@ -3104,14 +3095,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/TagResource func (c *Athena) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3154,16 +3144,17 @@ func (c *Athena) TagResourceRequest(input *TagResourceInput) (req *request.Reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. // -// * ResourceNotFoundException -// A resource, such as a workgroup, was not found. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. +// +// - ResourceNotFoundException +// A resource, such as a workgroup, was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/TagResource func (c *Athena) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3203,14 +3194,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UntagResource func (c *Athena) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3242,16 +3232,17 @@ func (c *Athena) UntagResourceRequest(input *UntagResourceInput) (req *request.R // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. // -// * ResourceNotFoundException -// A resource, such as a workgroup, was not found. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. +// +// - ResourceNotFoundException +// A resource, such as a workgroup, was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UntagResource func (c *Athena) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3291,14 +3282,13 @@ const opUpdateDataCatalog = "UpdateDataCatalog" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDataCatalogRequest method. +// req, resp := client.UpdateDataCatalogRequest(params) // -// // Example sending a request using the UpdateDataCatalogRequest method. -// req, resp := client.UpdateDataCatalogRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdateDataCatalog func (c *Athena) UpdateDataCatalogRequest(input *UpdateDataCatalogInput) (req *request.Request, output *UpdateDataCatalogOutput) { @@ -3330,13 +3320,14 @@ func (c *Athena) UpdateDataCatalogRequest(input *UpdateDataCatalogInput) (req *r // API operation UpdateDataCatalog for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdateDataCatalog func (c *Athena) UpdateDataCatalog(input *UpdateDataCatalogInput) (*UpdateDataCatalogOutput, error) { @@ -3376,14 +3367,13 @@ const opUpdateNamedQuery = "UpdateNamedQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNamedQueryRequest method. +// req, resp := client.UpdateNamedQueryRequest(params) // -// // Example sending a request using the UpdateNamedQueryRequest method. -// req, resp := client.UpdateNamedQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdateNamedQuery func (c *Athena) UpdateNamedQueryRequest(input *UpdateNamedQueryInput) (req *request.Request, output *UpdateNamedQueryOutput) { @@ -3415,13 +3405,14 @@ func (c *Athena) UpdateNamedQueryRequest(input *UpdateNamedQueryInput) (req *req // API operation UpdateNamedQuery for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdateNamedQuery func (c *Athena) UpdateNamedQuery(input *UpdateNamedQueryInput) (*UpdateNamedQueryOutput, error) { @@ -3461,14 +3452,13 @@ const opUpdatePreparedStatement = "UpdatePreparedStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePreparedStatementRequest method. +// req, resp := client.UpdatePreparedStatementRequest(params) // -// // Example sending a request using the UpdatePreparedStatementRequest method. -// req, resp := client.UpdatePreparedStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdatePreparedStatement func (c *Athena) UpdatePreparedStatementRequest(input *UpdatePreparedStatementInput) (req *request.Request, output *UpdatePreparedStatementOutput) { @@ -3500,16 +3490,17 @@ func (c *Athena) UpdatePreparedStatementRequest(input *UpdatePreparedStatementIn // API operation UpdatePreparedStatement for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // -// * ResourceNotFoundException -// A resource, such as a workgroup, was not found. +// - ResourceNotFoundException +// A resource, such as a workgroup, was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdatePreparedStatement func (c *Athena) UpdatePreparedStatement(input *UpdatePreparedStatementInput) (*UpdatePreparedStatementOutput, error) { @@ -3549,14 +3540,13 @@ const opUpdateWorkGroup = "UpdateWorkGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWorkGroupRequest method. +// req, resp := client.UpdateWorkGroupRequest(params) // -// // Example sending a request using the UpdateWorkGroupRequest method. -// req, resp := client.UpdateWorkGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdateWorkGroup func (c *Athena) UpdateWorkGroupRequest(input *UpdateWorkGroupInput) (req *request.Request, output *UpdateWorkGroupOutput) { @@ -3589,13 +3579,14 @@ func (c *Athena) UpdateWorkGroupRequest(input *UpdateWorkGroupInput) (req *reque // API operation UpdateWorkGroup for usage and error information. // // Returned Error Types: -// * InternalServerException -// Indicates a platform issue, which may be due to a transient condition or -// outage. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter may be missing or out of range. +// - InternalServerException +// Indicates a platform issue, which may be due to a transient condition or +// outage. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter may be missing or out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/athena-2017-05-18/UpdateWorkGroup func (c *Athena) UpdateWorkGroup(input *UpdateWorkGroupInput) (*UpdateWorkGroupOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/athenaiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/athenaiface/interface.go index 32651b28f1f3..4ebb7c122ebf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/athenaiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/athenaiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Athena. -// func myFunc(svc athenaiface.AthenaAPI) bool { -// // Make svc.BatchGetNamedQuery request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Athena. +// func myFunc(svc athenaiface.AthenaAPI) bool { +// // Make svc.BatchGetNamedQuery request +// } // -// func main() { -// sess := session.New() -// svc := athena.New(sess) +// func main() { +// sess := session.New() +// svc := athena.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAthenaClient struct { -// athenaiface.AthenaAPI -// } -// func (m *mockAthenaClient) BatchGetNamedQuery(input *athena.BatchGetNamedQueryInput) (*athena.BatchGetNamedQueryOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAthenaClient struct { +// athenaiface.AthenaAPI +// } +// func (m *mockAthenaClient) BatchGetNamedQuery(input *athena.BatchGetNamedQueryInput) (*athena.BatchGetNamedQueryOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAthenaClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAthenaClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/doc.go index c130729c1ba7..9240b5bf8fbb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/doc.go @@ -26,7 +26,7 @@ // See athena package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/athena/ // -// Using the Client +// # Using the Client // // To contact Amazon Athena with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/service.go index 1efff2244f83..cd402facdb9f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/athena/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Athena client from just a session. -// svc := athena.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Athena client with additional configuration -// svc := athena.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Athena client from just a session. +// svc := athena.New(mySession) +// +// // Create a Athena client with additional configuration +// svc := athena.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Athena { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/api.go index cae4428d6884..2b328c84dce6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/api.go @@ -29,14 +29,13 @@ const opAssociateAssessmentReportEvidenceFolder = "AssociateAssessmentReportEvid // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateAssessmentReportEvidenceFolderRequest method. +// req, resp := client.AssociateAssessmentReportEvidenceFolderRequest(params) // -// // Example sending a request using the AssociateAssessmentReportEvidenceFolderRequest method. -// req, resp := client.AssociateAssessmentReportEvidenceFolderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder func (c *AuditManager) AssociateAssessmentReportEvidenceFolderRequest(input *AssociateAssessmentReportEvidenceFolderInput) (req *request.Request, output *AssociateAssessmentReportEvidenceFolderOutput) { @@ -69,19 +68,20 @@ func (c *AuditManager) AssociateAssessmentReportEvidenceFolderRequest(input *Ass // API operation AssociateAssessmentReportEvidenceFolder for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. +// +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder func (c *AuditManager) AssociateAssessmentReportEvidenceFolder(input *AssociateAssessmentReportEvidenceFolderInput) (*AssociateAssessmentReportEvidenceFolderOutput, error) { @@ -121,14 +121,13 @@ const opBatchAssociateAssessmentReportEvidence = "BatchAssociateAssessmentReport // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchAssociateAssessmentReportEvidenceRequest method. +// req, resp := client.BatchAssociateAssessmentReportEvidenceRequest(params) // -// // Example sending a request using the BatchAssociateAssessmentReportEvidenceRequest method. -// req, resp := client.BatchAssociateAssessmentReportEvidenceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence func (c *AuditManager) BatchAssociateAssessmentReportEvidenceRequest(input *BatchAssociateAssessmentReportEvidenceInput) (req *request.Request, output *BatchAssociateAssessmentReportEvidenceOutput) { @@ -160,19 +159,20 @@ func (c *AuditManager) BatchAssociateAssessmentReportEvidenceRequest(input *Batc // API operation BatchAssociateAssessmentReportEvidence for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. +// +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence func (c *AuditManager) BatchAssociateAssessmentReportEvidence(input *BatchAssociateAssessmentReportEvidenceInput) (*BatchAssociateAssessmentReportEvidenceOutput, error) { @@ -212,14 +212,13 @@ const opBatchCreateDelegationByAssessment = "BatchCreateDelegationByAssessment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchCreateDelegationByAssessmentRequest method. +// req, resp := client.BatchCreateDelegationByAssessmentRequest(params) // -// // Example sending a request using the BatchCreateDelegationByAssessmentRequest method. -// req, resp := client.BatchCreateDelegationByAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment func (c *AuditManager) BatchCreateDelegationByAssessmentRequest(input *BatchCreateDelegationByAssessmentInput) (req *request.Request, output *BatchCreateDelegationByAssessmentOutput) { @@ -250,19 +249,20 @@ func (c *AuditManager) BatchCreateDelegationByAssessmentRequest(input *BatchCrea // API operation BatchCreateDelegationByAssessment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment func (c *AuditManager) BatchCreateDelegationByAssessment(input *BatchCreateDelegationByAssessmentInput) (*BatchCreateDelegationByAssessmentOutput, error) { @@ -302,14 +302,13 @@ const opBatchDeleteDelegationByAssessment = "BatchDeleteDelegationByAssessment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteDelegationByAssessmentRequest method. +// req, resp := client.BatchDeleteDelegationByAssessmentRequest(params) // -// // Example sending a request using the BatchDeleteDelegationByAssessmentRequest method. -// req, resp := client.BatchDeleteDelegationByAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment func (c *AuditManager) BatchDeleteDelegationByAssessmentRequest(input *BatchDeleteDelegationByAssessmentInput) (req *request.Request, output *BatchDeleteDelegationByAssessmentOutput) { @@ -340,19 +339,20 @@ func (c *AuditManager) BatchDeleteDelegationByAssessmentRequest(input *BatchDele // API operation BatchDeleteDelegationByAssessment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment func (c *AuditManager) BatchDeleteDelegationByAssessment(input *BatchDeleteDelegationByAssessmentInput) (*BatchDeleteDelegationByAssessmentOutput, error) { @@ -392,14 +392,13 @@ const opBatchDisassociateAssessmentReportEvidence = "BatchDisassociateAssessment // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDisassociateAssessmentReportEvidenceRequest method. +// req, resp := client.BatchDisassociateAssessmentReportEvidenceRequest(params) // -// // Example sending a request using the BatchDisassociateAssessmentReportEvidenceRequest method. -// req, resp := client.BatchDisassociateAssessmentReportEvidenceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence func (c *AuditManager) BatchDisassociateAssessmentReportEvidenceRequest(input *BatchDisassociateAssessmentReportEvidenceInput) (req *request.Request, output *BatchDisassociateAssessmentReportEvidenceOutput) { @@ -430,19 +429,20 @@ func (c *AuditManager) BatchDisassociateAssessmentReportEvidenceRequest(input *B // API operation BatchDisassociateAssessmentReportEvidence for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. +// +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence func (c *AuditManager) BatchDisassociateAssessmentReportEvidence(input *BatchDisassociateAssessmentReportEvidenceInput) (*BatchDisassociateAssessmentReportEvidenceOutput, error) { @@ -482,14 +482,13 @@ const opBatchImportEvidenceToAssessmentControl = "BatchImportEvidenceToAssessmen // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchImportEvidenceToAssessmentControlRequest method. +// req, resp := client.BatchImportEvidenceToAssessmentControlRequest(params) // -// // Example sending a request using the BatchImportEvidenceToAssessmentControlRequest method. -// req, resp := client.BatchImportEvidenceToAssessmentControlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl func (c *AuditManager) BatchImportEvidenceToAssessmentControlRequest(input *BatchImportEvidenceToAssessmentControlInput) (req *request.Request, output *BatchImportEvidenceToAssessmentControlOutput) { @@ -520,19 +519,20 @@ func (c *AuditManager) BatchImportEvidenceToAssessmentControlRequest(input *Batc // API operation BatchImportEvidenceToAssessmentControl for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. +// +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * ValidationException -// The request has invalid or missing parameters. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl func (c *AuditManager) BatchImportEvidenceToAssessmentControl(input *BatchImportEvidenceToAssessmentControlInput) (*BatchImportEvidenceToAssessmentControlOutput, error) { @@ -572,14 +572,13 @@ const opCreateAssessment = "CreateAssessment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAssessmentRequest method. +// req, resp := client.CreateAssessmentRequest(params) // -// // Example sending a request using the CreateAssessmentRequest method. -// req, resp := client.CreateAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment func (c *AuditManager) CreateAssessmentRequest(input *CreateAssessmentInput) (req *request.Request, output *CreateAssessmentOutput) { @@ -610,19 +609,20 @@ func (c *AuditManager) CreateAssessmentRequest(input *CreateAssessmentInput) (re // API operation CreateAssessment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment func (c *AuditManager) CreateAssessment(input *CreateAssessmentInput) (*CreateAssessmentOutput, error) { @@ -662,14 +662,13 @@ const opCreateAssessmentFramework = "CreateAssessmentFramework" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAssessmentFrameworkRequest method. +// req, resp := client.CreateAssessmentFrameworkRequest(params) // -// // Example sending a request using the CreateAssessmentFrameworkRequest method. -// req, resp := client.CreateAssessmentFrameworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework func (c *AuditManager) CreateAssessmentFrameworkRequest(input *CreateAssessmentFrameworkInput) (req *request.Request, output *CreateAssessmentFrameworkOutput) { @@ -700,19 +699,20 @@ func (c *AuditManager) CreateAssessmentFrameworkRequest(input *CreateAssessmentF // API operation CreateAssessmentFramework for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework func (c *AuditManager) CreateAssessmentFramework(input *CreateAssessmentFrameworkInput) (*CreateAssessmentFrameworkOutput, error) { @@ -752,14 +752,13 @@ const opCreateAssessmentReport = "CreateAssessmentReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAssessmentReportRequest method. +// req, resp := client.CreateAssessmentReportRequest(params) // -// // Example sending a request using the CreateAssessmentReportRequest method. -// req, resp := client.CreateAssessmentReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport func (c *AuditManager) CreateAssessmentReportRequest(input *CreateAssessmentReportInput) (req *request.Request, output *CreateAssessmentReportOutput) { @@ -790,19 +789,20 @@ func (c *AuditManager) CreateAssessmentReportRequest(input *CreateAssessmentRepo // API operation CreateAssessmentReport for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. +// +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport func (c *AuditManager) CreateAssessmentReport(input *CreateAssessmentReportInput) (*CreateAssessmentReportOutput, error) { @@ -842,14 +842,13 @@ const opCreateControl = "CreateControl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateControlRequest method. +// req, resp := client.CreateControlRequest(params) // -// // Example sending a request using the CreateControlRequest method. -// req, resp := client.CreateControlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl func (c *AuditManager) CreateControlRequest(input *CreateControlInput) (req *request.Request, output *CreateControlOutput) { @@ -880,19 +879,20 @@ func (c *AuditManager) CreateControlRequest(input *CreateControlInput) (req *req // API operation CreateControl for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl func (c *AuditManager) CreateControl(input *CreateControlInput) (*CreateControlOutput, error) { @@ -932,14 +932,13 @@ const opDeleteAssessment = "DeleteAssessment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAssessmentRequest method. +// req, resp := client.DeleteAssessmentRequest(params) // -// // Example sending a request using the DeleteAssessmentRequest method. -// req, resp := client.DeleteAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment func (c *AuditManager) DeleteAssessmentRequest(input *DeleteAssessmentInput) (req *request.Request, output *DeleteAssessmentOutput) { @@ -971,19 +970,20 @@ func (c *AuditManager) DeleteAssessmentRequest(input *DeleteAssessmentInput) (re // API operation DeleteAssessment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment func (c *AuditManager) DeleteAssessment(input *DeleteAssessmentInput) (*DeleteAssessmentOutput, error) { @@ -1023,14 +1023,13 @@ const opDeleteAssessmentFramework = "DeleteAssessmentFramework" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAssessmentFrameworkRequest method. +// req, resp := client.DeleteAssessmentFrameworkRequest(params) // -// // Example sending a request using the DeleteAssessmentFrameworkRequest method. -// req, resp := client.DeleteAssessmentFrameworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework func (c *AuditManager) DeleteAssessmentFrameworkRequest(input *DeleteAssessmentFrameworkInput) (req *request.Request, output *DeleteAssessmentFrameworkOutput) { @@ -1062,19 +1061,20 @@ func (c *AuditManager) DeleteAssessmentFrameworkRequest(input *DeleteAssessmentF // API operation DeleteAssessmentFramework for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework func (c *AuditManager) DeleteAssessmentFramework(input *DeleteAssessmentFrameworkInput) (*DeleteAssessmentFrameworkOutput, error) { @@ -1114,14 +1114,13 @@ const opDeleteAssessmentFrameworkShare = "DeleteAssessmentFrameworkShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAssessmentFrameworkShareRequest method. +// req, resp := client.DeleteAssessmentFrameworkShareRequest(params) // -// // Example sending a request using the DeleteAssessmentFrameworkShareRequest method. -// req, resp := client.DeleteAssessmentFrameworkShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFrameworkShare func (c *AuditManager) DeleteAssessmentFrameworkShareRequest(input *DeleteAssessmentFrameworkShareInput) (req *request.Request, output *DeleteAssessmentFrameworkShareOutput) { @@ -1153,19 +1152,20 @@ func (c *AuditManager) DeleteAssessmentFrameworkShareRequest(input *DeleteAssess // API operation DeleteAssessmentFrameworkShare for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFrameworkShare func (c *AuditManager) DeleteAssessmentFrameworkShare(input *DeleteAssessmentFrameworkShareInput) (*DeleteAssessmentFrameworkShareOutput, error) { @@ -1205,14 +1205,13 @@ const opDeleteAssessmentReport = "DeleteAssessmentReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAssessmentReportRequest method. +// req, resp := client.DeleteAssessmentReportRequest(params) // -// // Example sending a request using the DeleteAssessmentReportRequest method. -// req, resp := client.DeleteAssessmentReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport func (c *AuditManager) DeleteAssessmentReportRequest(input *DeleteAssessmentReportInput) (req *request.Request, output *DeleteAssessmentReportOutput) { @@ -1239,7 +1238,7 @@ func (c *AuditManager) DeleteAssessmentReportRequest(input *DeleteAssessmentRepo // When you run the DeleteAssessmentReport operation, Audit Manager attempts // to delete the following data: // -// The specified assessment report that’s stored in your S3 bucket +// # The specified assessment report that’s stored in your S3 bucket // // The associated metadata that’s stored in Audit Manager // @@ -1266,19 +1265,20 @@ func (c *AuditManager) DeleteAssessmentReportRequest(input *DeleteAssessmentRepo // API operation DeleteAssessmentReport for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. +// +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport func (c *AuditManager) DeleteAssessmentReport(input *DeleteAssessmentReportInput) (*DeleteAssessmentReportOutput, error) { @@ -1318,14 +1318,13 @@ const opDeleteControl = "DeleteControl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteControlRequest method. +// req, resp := client.DeleteControlRequest(params) // -// // Example sending a request using the DeleteControlRequest method. -// req, resp := client.DeleteControlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl func (c *AuditManager) DeleteControlRequest(input *DeleteControlInput) (req *request.Request, output *DeleteControlOutput) { @@ -1357,19 +1356,20 @@ func (c *AuditManager) DeleteControlRequest(input *DeleteControlInput) (req *req // API operation DeleteControl for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl func (c *AuditManager) DeleteControl(input *DeleteControlInput) (*DeleteControlOutput, error) { @@ -1409,14 +1409,13 @@ const opDeregisterAccount = "DeregisterAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterAccountRequest method. +// req, resp := client.DeregisterAccountRequest(params) // -// // Example sending a request using the DeregisterAccountRequest method. -// req, resp := client.DeregisterAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterAccount func (c *AuditManager) DeregisterAccountRequest(input *DeregisterAccountInput) (req *request.Request, output *DeregisterAccountOutput) { @@ -1447,25 +1446,25 @@ func (c *AuditManager) DeregisterAccountRequest(input *DeregisterAccountInput) ( // // To delete your Audit Manager resource data, see the following instructions: // -// * DeleteAssessment (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessment.html) -// (see also: Deleting an assessment (https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-assessment.html) -// in the Audit Manager User Guide) +// - DeleteAssessment (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessment.html) +// (see also: Deleting an assessment (https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-assessment.html) +// in the Audit Manager User Guide) // -// * DeleteAssessmentFramework (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html) -// (see also: Deleting a custom framework (https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html) -// in the Audit Manager User Guide) +// - DeleteAssessmentFramework (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html) +// (see also: Deleting a custom framework (https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html) +// in the Audit Manager User Guide) // -// * DeleteAssessmentFrameworkShare (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html) -// (see also: Deleting a share request (https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html) -// in the Audit Manager User Guide) +// - DeleteAssessmentFrameworkShare (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html) +// (see also: Deleting a share request (https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html) +// in the Audit Manager User Guide) // -// * DeleteAssessmentReport (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html) -// (see also: Deleting an assessment report (https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps) -// in the Audit Manager User Guide) +// - DeleteAssessmentReport (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html) +// (see also: Deleting an assessment report (https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps) +// in the Audit Manager User Guide) // -// * DeleteControl (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html) -// (see also: Deleting a custom control (https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html) -// in the Audit Manager User Guide) +// - DeleteControl (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html) +// (see also: Deleting a custom control (https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html) +// in the Audit Manager User Guide) // // At this time, Audit Manager doesn't provide an option to delete evidence. // All available delete operations are listed above. @@ -1478,19 +1477,20 @@ func (c *AuditManager) DeregisterAccountRequest(input *DeregisterAccountInput) ( // API operation DeregisterAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. +// +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterAccount func (c *AuditManager) DeregisterAccount(input *DeregisterAccountInput) (*DeregisterAccountOutput, error) { @@ -1530,14 +1530,13 @@ const opDeregisterOrganizationAdminAccount = "DeregisterOrganizationAdminAccount // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterOrganizationAdminAccountRequest method. +// req, resp := client.DeregisterOrganizationAdminAccountRequest(params) // -// // Example sending a request using the DeregisterOrganizationAdminAccountRequest method. -// req, resp := client.DeregisterOrganizationAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterOrganizationAdminAccount func (c *AuditManager) DeregisterOrganizationAdminAccountRequest(input *DeregisterOrganizationAdminAccountInput) (req *request.Request, output *DeregisterOrganizationAdminAccountOutput) { @@ -1577,25 +1576,25 @@ func (c *AuditManager) DeregisterOrganizationAdminAccountRequest(input *Deregist // // To delete your Audit Manager resource data, see the following instructions: // -// * DeleteAssessment (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessment.html) -// (see also: Deleting an assessment (https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-assessment.html) -// in the Audit Manager User Guide) +// - DeleteAssessment (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessment.html) +// (see also: Deleting an assessment (https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-assessment.html) +// in the Audit Manager User Guide) // -// * DeleteAssessmentFramework (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html) -// (see also: Deleting a custom framework (https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html) -// in the Audit Manager User Guide) +// - DeleteAssessmentFramework (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html) +// (see also: Deleting a custom framework (https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html) +// in the Audit Manager User Guide) // -// * DeleteAssessmentFrameworkShare (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html) -// (see also: Deleting a share request (https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html) -// in the Audit Manager User Guide) +// - DeleteAssessmentFrameworkShare (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html) +// (see also: Deleting a share request (https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html) +// in the Audit Manager User Guide) // -// * DeleteAssessmentReport (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html) -// (see also: Deleting an assessment report (https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps) -// in the Audit Manager User Guide) +// - DeleteAssessmentReport (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html) +// (see also: Deleting an assessment report (https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps) +// in the Audit Manager User Guide) // -// * DeleteControl (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html) -// (see also: Deleting a custom control (https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html) -// in the Audit Manager User Guide) +// - DeleteControl (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html) +// (see also: Deleting a custom control (https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html) +// in the Audit Manager User Guide) // // At this time, Audit Manager doesn't provide an option to delete evidence. // All available delete operations are listed above. @@ -1608,19 +1607,20 @@ func (c *AuditManager) DeregisterOrganizationAdminAccountRequest(input *Deregist // API operation DeregisterOrganizationAdminAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. +// +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterOrganizationAdminAccount func (c *AuditManager) DeregisterOrganizationAdminAccount(input *DeregisterOrganizationAdminAccountInput) (*DeregisterOrganizationAdminAccountOutput, error) { @@ -1660,14 +1660,13 @@ const opDisassociateAssessmentReportEvidenceFolder = "DisassociateAssessmentRepo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateAssessmentReportEvidenceFolderRequest method. +// req, resp := client.DisassociateAssessmentReportEvidenceFolderRequest(params) // -// // Example sending a request using the DisassociateAssessmentReportEvidenceFolderRequest method. -// req, resp := client.DisassociateAssessmentReportEvidenceFolderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DisassociateAssessmentReportEvidenceFolder func (c *AuditManager) DisassociateAssessmentReportEvidenceFolderRequest(input *DisassociateAssessmentReportEvidenceFolderInput) (req *request.Request, output *DisassociateAssessmentReportEvidenceFolderOutput) { @@ -1700,19 +1699,20 @@ func (c *AuditManager) DisassociateAssessmentReportEvidenceFolderRequest(input * // API operation DisassociateAssessmentReportEvidenceFolder for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. +// +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DisassociateAssessmentReportEvidenceFolder func (c *AuditManager) DisassociateAssessmentReportEvidenceFolder(input *DisassociateAssessmentReportEvidenceFolderInput) (*DisassociateAssessmentReportEvidenceFolderOutput, error) { @@ -1752,14 +1752,13 @@ const opGetAccountStatus = "GetAccountStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountStatusRequest method. +// req, resp := client.GetAccountStatusRequest(params) // -// // Example sending a request using the GetAccountStatusRequest method. -// req, resp := client.GetAccountStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAccountStatus func (c *AuditManager) GetAccountStatusRequest(input *GetAccountStatusInput) (req *request.Request, output *GetAccountStatusOutput) { @@ -1790,9 +1789,9 @@ func (c *AuditManager) GetAccountStatusRequest(input *GetAccountStatusInput) (re // API operation GetAccountStatus for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAccountStatus func (c *AuditManager) GetAccountStatus(input *GetAccountStatusInput) (*GetAccountStatusOutput, error) { @@ -1832,14 +1831,13 @@ const opGetAssessment = "GetAssessment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssessmentRequest method. +// req, resp := client.GetAssessmentRequest(params) // -// // Example sending a request using the GetAssessmentRequest method. -// req, resp := client.GetAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessment func (c *AuditManager) GetAssessmentRequest(input *GetAssessmentInput) (req *request.Request, output *GetAssessmentOutput) { @@ -1870,19 +1868,20 @@ func (c *AuditManager) GetAssessmentRequest(input *GetAssessmentInput) (req *req // API operation GetAssessment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessment func (c *AuditManager) GetAssessment(input *GetAssessmentInput) (*GetAssessmentOutput, error) { @@ -1922,14 +1921,13 @@ const opGetAssessmentFramework = "GetAssessmentFramework" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssessmentFrameworkRequest method. +// req, resp := client.GetAssessmentFrameworkRequest(params) // -// // Example sending a request using the GetAssessmentFrameworkRequest method. -// req, resp := client.GetAssessmentFrameworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentFramework func (c *AuditManager) GetAssessmentFrameworkRequest(input *GetAssessmentFrameworkInput) (req *request.Request, output *GetAssessmentFrameworkOutput) { @@ -1960,19 +1958,20 @@ func (c *AuditManager) GetAssessmentFrameworkRequest(input *GetAssessmentFramewo // API operation GetAssessmentFramework for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentFramework func (c *AuditManager) GetAssessmentFramework(input *GetAssessmentFrameworkInput) (*GetAssessmentFrameworkOutput, error) { @@ -2012,14 +2011,13 @@ const opGetAssessmentReportUrl = "GetAssessmentReportUrl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssessmentReportUrlRequest method. +// req, resp := client.GetAssessmentReportUrlRequest(params) // -// // Example sending a request using the GetAssessmentReportUrlRequest method. -// req, resp := client.GetAssessmentReportUrlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentReportUrl func (c *AuditManager) GetAssessmentReportUrlRequest(input *GetAssessmentReportUrlInput) (req *request.Request, output *GetAssessmentReportUrlOutput) { @@ -2050,19 +2048,20 @@ func (c *AuditManager) GetAssessmentReportUrlRequest(input *GetAssessmentReportU // API operation GetAssessmentReportUrl for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. +// +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentReportUrl func (c *AuditManager) GetAssessmentReportUrl(input *GetAssessmentReportUrlInput) (*GetAssessmentReportUrlOutput, error) { @@ -2102,14 +2101,13 @@ const opGetChangeLogs = "GetChangeLogs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetChangeLogsRequest method. +// req, resp := client.GetChangeLogsRequest(params) // -// // Example sending a request using the GetChangeLogsRequest method. -// req, resp := client.GetChangeLogsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetChangeLogs func (c *AuditManager) GetChangeLogsRequest(input *GetChangeLogsInput) (req *request.Request, output *GetChangeLogsOutput) { @@ -2146,19 +2144,20 @@ func (c *AuditManager) GetChangeLogsRequest(input *GetChangeLogsInput) (req *req // API operation GetChangeLogs for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetChangeLogs func (c *AuditManager) GetChangeLogs(input *GetChangeLogsInput) (*GetChangeLogsOutput, error) { @@ -2190,15 +2189,14 @@ func (c *AuditManager) GetChangeLogsWithContext(ctx aws.Context, input *GetChang // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetChangeLogs operation. -// pageNum := 0 -// err := client.GetChangeLogsPages(params, -// func(page *auditmanager.GetChangeLogsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetChangeLogs operation. +// pageNum := 0 +// err := client.GetChangeLogsPages(params, +// func(page *auditmanager.GetChangeLogsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) GetChangeLogsPages(input *GetChangeLogsInput, fn func(*GetChangeLogsOutput, bool) bool) error { return c.GetChangeLogsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2250,14 +2248,13 @@ const opGetControl = "GetControl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetControlRequest method. +// req, resp := client.GetControlRequest(params) // -// // Example sending a request using the GetControlRequest method. -// req, resp := client.GetControlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetControl func (c *AuditManager) GetControlRequest(input *GetControlInput) (req *request.Request, output *GetControlOutput) { @@ -2288,19 +2285,20 @@ func (c *AuditManager) GetControlRequest(input *GetControlInput) (req *request.R // API operation GetControl for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetControl func (c *AuditManager) GetControl(input *GetControlInput) (*GetControlOutput, error) { @@ -2340,14 +2338,13 @@ const opGetDelegations = "GetDelegations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDelegationsRequest method. +// req, resp := client.GetDelegationsRequest(params) // -// // Example sending a request using the GetDelegationsRequest method. -// req, resp := client.GetDelegationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetDelegations func (c *AuditManager) GetDelegationsRequest(input *GetDelegationsInput) (req *request.Request, output *GetDelegationsOutput) { @@ -2384,16 +2381,17 @@ func (c *AuditManager) GetDelegationsRequest(input *GetDelegationsInput) (req *r // API operation GetDelegations for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. +// +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetDelegations func (c *AuditManager) GetDelegations(input *GetDelegationsInput) (*GetDelegationsOutput, error) { @@ -2425,15 +2423,14 @@ func (c *AuditManager) GetDelegationsWithContext(ctx aws.Context, input *GetDele // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetDelegations operation. -// pageNum := 0 -// err := client.GetDelegationsPages(params, -// func(page *auditmanager.GetDelegationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetDelegations operation. +// pageNum := 0 +// err := client.GetDelegationsPages(params, +// func(page *auditmanager.GetDelegationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) GetDelegationsPages(input *GetDelegationsInput, fn func(*GetDelegationsOutput, bool) bool) error { return c.GetDelegationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2485,14 +2482,13 @@ const opGetEvidence = "GetEvidence" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEvidenceRequest method. +// req, resp := client.GetEvidenceRequest(params) // -// // Example sending a request using the GetEvidenceRequest method. -// req, resp := client.GetEvidenceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidence func (c *AuditManager) GetEvidenceRequest(input *GetEvidenceInput) (req *request.Request, output *GetEvidenceOutput) { @@ -2523,19 +2519,20 @@ func (c *AuditManager) GetEvidenceRequest(input *GetEvidenceInput) (req *request // API operation GetEvidence for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidence func (c *AuditManager) GetEvidence(input *GetEvidenceInput) (*GetEvidenceOutput, error) { @@ -2575,14 +2572,13 @@ const opGetEvidenceByEvidenceFolder = "GetEvidenceByEvidenceFolder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEvidenceByEvidenceFolderRequest method. +// req, resp := client.GetEvidenceByEvidenceFolderRequest(params) // -// // Example sending a request using the GetEvidenceByEvidenceFolderRequest method. -// req, resp := client.GetEvidenceByEvidenceFolderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceByEvidenceFolder func (c *AuditManager) GetEvidenceByEvidenceFolderRequest(input *GetEvidenceByEvidenceFolderInput) (req *request.Request, output *GetEvidenceByEvidenceFolderOutput) { @@ -2619,19 +2615,20 @@ func (c *AuditManager) GetEvidenceByEvidenceFolderRequest(input *GetEvidenceByEv // API operation GetEvidenceByEvidenceFolder for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceByEvidenceFolder func (c *AuditManager) GetEvidenceByEvidenceFolder(input *GetEvidenceByEvidenceFolderInput) (*GetEvidenceByEvidenceFolderOutput, error) { @@ -2663,15 +2660,14 @@ func (c *AuditManager) GetEvidenceByEvidenceFolderWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetEvidenceByEvidenceFolder operation. -// pageNum := 0 -// err := client.GetEvidenceByEvidenceFolderPages(params, -// func(page *auditmanager.GetEvidenceByEvidenceFolderOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetEvidenceByEvidenceFolder operation. +// pageNum := 0 +// err := client.GetEvidenceByEvidenceFolderPages(params, +// func(page *auditmanager.GetEvidenceByEvidenceFolderOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) GetEvidenceByEvidenceFolderPages(input *GetEvidenceByEvidenceFolderInput, fn func(*GetEvidenceByEvidenceFolderOutput, bool) bool) error { return c.GetEvidenceByEvidenceFolderPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2723,14 +2719,13 @@ const opGetEvidenceFolder = "GetEvidenceFolder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEvidenceFolderRequest method. +// req, resp := client.GetEvidenceFolderRequest(params) // -// // Example sending a request using the GetEvidenceFolderRequest method. -// req, resp := client.GetEvidenceFolderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFolder func (c *AuditManager) GetEvidenceFolderRequest(input *GetEvidenceFolderInput) (req *request.Request, output *GetEvidenceFolderOutput) { @@ -2761,19 +2756,20 @@ func (c *AuditManager) GetEvidenceFolderRequest(input *GetEvidenceFolderInput) ( // API operation GetEvidenceFolder for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFolder func (c *AuditManager) GetEvidenceFolder(input *GetEvidenceFolderInput) (*GetEvidenceFolderOutput, error) { @@ -2813,14 +2809,13 @@ const opGetEvidenceFoldersByAssessment = "GetEvidenceFoldersByAssessment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEvidenceFoldersByAssessmentRequest method. +// req, resp := client.GetEvidenceFoldersByAssessmentRequest(params) // -// // Example sending a request using the GetEvidenceFoldersByAssessmentRequest method. -// req, resp := client.GetEvidenceFoldersByAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessment func (c *AuditManager) GetEvidenceFoldersByAssessmentRequest(input *GetEvidenceFoldersByAssessmentInput) (req *request.Request, output *GetEvidenceFoldersByAssessmentOutput) { @@ -2857,19 +2852,20 @@ func (c *AuditManager) GetEvidenceFoldersByAssessmentRequest(input *GetEvidenceF // API operation GetEvidenceFoldersByAssessment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessment func (c *AuditManager) GetEvidenceFoldersByAssessment(input *GetEvidenceFoldersByAssessmentInput) (*GetEvidenceFoldersByAssessmentOutput, error) { @@ -2901,15 +2897,14 @@ func (c *AuditManager) GetEvidenceFoldersByAssessmentWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetEvidenceFoldersByAssessment operation. -// pageNum := 0 -// err := client.GetEvidenceFoldersByAssessmentPages(params, -// func(page *auditmanager.GetEvidenceFoldersByAssessmentOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetEvidenceFoldersByAssessment operation. +// pageNum := 0 +// err := client.GetEvidenceFoldersByAssessmentPages(params, +// func(page *auditmanager.GetEvidenceFoldersByAssessmentOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) GetEvidenceFoldersByAssessmentPages(input *GetEvidenceFoldersByAssessmentInput, fn func(*GetEvidenceFoldersByAssessmentOutput, bool) bool) error { return c.GetEvidenceFoldersByAssessmentPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2961,14 +2956,13 @@ const opGetEvidenceFoldersByAssessmentControl = "GetEvidenceFoldersByAssessmentC // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEvidenceFoldersByAssessmentControlRequest method. +// req, resp := client.GetEvidenceFoldersByAssessmentControlRequest(params) // -// // Example sending a request using the GetEvidenceFoldersByAssessmentControlRequest method. -// req, resp := client.GetEvidenceFoldersByAssessmentControlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessmentControl func (c *AuditManager) GetEvidenceFoldersByAssessmentControlRequest(input *GetEvidenceFoldersByAssessmentControlInput) (req *request.Request, output *GetEvidenceFoldersByAssessmentControlOutput) { @@ -3006,19 +3000,20 @@ func (c *AuditManager) GetEvidenceFoldersByAssessmentControlRequest(input *GetEv // API operation GetEvidenceFoldersByAssessmentControl for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessmentControl func (c *AuditManager) GetEvidenceFoldersByAssessmentControl(input *GetEvidenceFoldersByAssessmentControlInput) (*GetEvidenceFoldersByAssessmentControlOutput, error) { @@ -3050,15 +3045,14 @@ func (c *AuditManager) GetEvidenceFoldersByAssessmentControlWithContext(ctx aws. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetEvidenceFoldersByAssessmentControl operation. -// pageNum := 0 -// err := client.GetEvidenceFoldersByAssessmentControlPages(params, -// func(page *auditmanager.GetEvidenceFoldersByAssessmentControlOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetEvidenceFoldersByAssessmentControl operation. +// pageNum := 0 +// err := client.GetEvidenceFoldersByAssessmentControlPages(params, +// func(page *auditmanager.GetEvidenceFoldersByAssessmentControlOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) GetEvidenceFoldersByAssessmentControlPages(input *GetEvidenceFoldersByAssessmentControlInput, fn func(*GetEvidenceFoldersByAssessmentControlOutput, bool) bool) error { return c.GetEvidenceFoldersByAssessmentControlPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3110,14 +3104,13 @@ const opGetInsights = "GetInsights" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInsightsRequest method. +// req, resp := client.GetInsightsRequest(params) // -// // Example sending a request using the GetInsightsRequest method. -// req, resp := client.GetInsightsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsights func (c *AuditManager) GetInsightsRequest(input *GetInsightsInput) (req *request.Request, output *GetInsightsOutput) { @@ -3148,13 +3141,14 @@ func (c *AuditManager) GetInsightsRequest(input *GetInsightsInput) (req *request // API operation GetInsights for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsights func (c *AuditManager) GetInsights(input *GetInsightsInput) (*GetInsightsOutput, error) { @@ -3194,14 +3188,13 @@ const opGetInsightsByAssessment = "GetInsightsByAssessment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInsightsByAssessmentRequest method. +// req, resp := client.GetInsightsByAssessmentRequest(params) // -// // Example sending a request using the GetInsightsByAssessmentRequest method. -// req, resp := client.GetInsightsByAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsightsByAssessment func (c *AuditManager) GetInsightsByAssessmentRequest(input *GetInsightsByAssessmentInput) (req *request.Request, output *GetInsightsByAssessmentOutput) { @@ -3232,19 +3225,20 @@ func (c *AuditManager) GetInsightsByAssessmentRequest(input *GetInsightsByAssess // API operation GetInsightsByAssessment for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - ValidationException +// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsightsByAssessment func (c *AuditManager) GetInsightsByAssessment(input *GetInsightsByAssessmentInput) (*GetInsightsByAssessmentOutput, error) { @@ -3284,14 +3278,13 @@ const opGetOrganizationAdminAccount = "GetOrganizationAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOrganizationAdminAccountRequest method. +// req, resp := client.GetOrganizationAdminAccountRequest(params) // -// // Example sending a request using the GetOrganizationAdminAccountRequest method. -// req, resp := client.GetOrganizationAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetOrganizationAdminAccount func (c *AuditManager) GetOrganizationAdminAccountRequest(input *GetOrganizationAdminAccountInput) (req *request.Request, output *GetOrganizationAdminAccountOutput) { @@ -3323,19 +3316,20 @@ func (c *AuditManager) GetOrganizationAdminAccountRequest(input *GetOrganization // API operation GetOrganizationAdminAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. +// +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetOrganizationAdminAccount func (c *AuditManager) GetOrganizationAdminAccount(input *GetOrganizationAdminAccountInput) (*GetOrganizationAdminAccountOutput, error) { @@ -3375,14 +3369,13 @@ const opGetServicesInScope = "GetServicesInScope" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServicesInScopeRequest method. +// req, resp := client.GetServicesInScopeRequest(params) // -// // Example sending a request using the GetServicesInScopeRequest method. -// req, resp := client.GetServicesInScopeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetServicesInScope func (c *AuditManager) GetServicesInScopeRequest(input *GetServicesInScopeInput) (req *request.Request, output *GetServicesInScopeOutput) { @@ -3414,16 +3407,17 @@ func (c *AuditManager) GetServicesInScopeRequest(input *GetServicesInScopeInput) // API operation GetServicesInScope for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. // -// * ValidationException -// The request has invalid or missing parameters. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetServicesInScope func (c *AuditManager) GetServicesInScope(input *GetServicesInScopeInput) (*GetServicesInScopeOutput, error) { @@ -3463,14 +3457,13 @@ const opGetSettings = "GetSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSettingsRequest method. +// req, resp := client.GetSettingsRequest(params) // -// // Example sending a request using the GetSettingsRequest method. -// req, resp := client.GetSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetSettings func (c *AuditManager) GetSettingsRequest(input *GetSettingsInput) (req *request.Request, output *GetSettingsOutput) { @@ -3501,13 +3494,14 @@ func (c *AuditManager) GetSettingsRequest(input *GetSettingsInput) (req *request // API operation GetSettings for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetSettings func (c *AuditManager) GetSettings(input *GetSettingsInput) (*GetSettingsOutput, error) { @@ -3547,14 +3541,13 @@ const opListAssessmentControlInsightsByControlDomain = "ListAssessmentControlIns // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssessmentControlInsightsByControlDomainRequest method. +// req, resp := client.ListAssessmentControlInsightsByControlDomainRequest(params) // -// // Example sending a request using the ListAssessmentControlInsightsByControlDomainRequest method. -// req, resp := client.ListAssessmentControlInsightsByControlDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentControlInsightsByControlDomain func (c *AuditManager) ListAssessmentControlInsightsByControlDomainRequest(input *ListAssessmentControlInsightsByControlDomainInput) (req *request.Request, output *ListAssessmentControlInsightsByControlDomainOutput) { @@ -3597,19 +3590,20 @@ func (c *AuditManager) ListAssessmentControlInsightsByControlDomainRequest(input // API operation ListAssessmentControlInsightsByControlDomain for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - ValidationException +// The request has invalid or missing parameters. +// +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentControlInsightsByControlDomain func (c *AuditManager) ListAssessmentControlInsightsByControlDomain(input *ListAssessmentControlInsightsByControlDomainInput) (*ListAssessmentControlInsightsByControlDomainOutput, error) { @@ -3641,15 +3635,14 @@ func (c *AuditManager) ListAssessmentControlInsightsByControlDomainWithContext(c // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssessmentControlInsightsByControlDomain operation. -// pageNum := 0 -// err := client.ListAssessmentControlInsightsByControlDomainPages(params, -// func(page *auditmanager.ListAssessmentControlInsightsByControlDomainOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssessmentControlInsightsByControlDomain operation. +// pageNum := 0 +// err := client.ListAssessmentControlInsightsByControlDomainPages(params, +// func(page *auditmanager.ListAssessmentControlInsightsByControlDomainOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) ListAssessmentControlInsightsByControlDomainPages(input *ListAssessmentControlInsightsByControlDomainInput, fn func(*ListAssessmentControlInsightsByControlDomainOutput, bool) bool) error { return c.ListAssessmentControlInsightsByControlDomainPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3701,14 +3694,13 @@ const opListAssessmentFrameworkShareRequests = "ListAssessmentFrameworkShareRequ // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssessmentFrameworkShareRequestsRequest method. +// req, resp := client.ListAssessmentFrameworkShareRequestsRequest(params) // -// // Example sending a request using the ListAssessmentFrameworkShareRequestsRequest method. -// req, resp := client.ListAssessmentFrameworkShareRequestsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworkShareRequests func (c *AuditManager) ListAssessmentFrameworkShareRequestsRequest(input *ListAssessmentFrameworkShareRequestsInput) (req *request.Request, output *ListAssessmentFrameworkShareRequestsOutput) { @@ -3746,16 +3738,17 @@ func (c *AuditManager) ListAssessmentFrameworkShareRequestsRequest(input *ListAs // API operation ListAssessmentFrameworkShareRequests for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. // -// * ValidationException -// The request has invalid or missing parameters. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworkShareRequests func (c *AuditManager) ListAssessmentFrameworkShareRequests(input *ListAssessmentFrameworkShareRequestsInput) (*ListAssessmentFrameworkShareRequestsOutput, error) { @@ -3787,15 +3780,14 @@ func (c *AuditManager) ListAssessmentFrameworkShareRequestsWithContext(ctx aws.C // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssessmentFrameworkShareRequests operation. -// pageNum := 0 -// err := client.ListAssessmentFrameworkShareRequestsPages(params, -// func(page *auditmanager.ListAssessmentFrameworkShareRequestsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssessmentFrameworkShareRequests operation. +// pageNum := 0 +// err := client.ListAssessmentFrameworkShareRequestsPages(params, +// func(page *auditmanager.ListAssessmentFrameworkShareRequestsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) ListAssessmentFrameworkShareRequestsPages(input *ListAssessmentFrameworkShareRequestsInput, fn func(*ListAssessmentFrameworkShareRequestsOutput, bool) bool) error { return c.ListAssessmentFrameworkShareRequestsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3847,14 +3839,13 @@ const opListAssessmentFrameworks = "ListAssessmentFrameworks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssessmentFrameworksRequest method. +// req, resp := client.ListAssessmentFrameworksRequest(params) // -// // Example sending a request using the ListAssessmentFrameworksRequest method. -// req, resp := client.ListAssessmentFrameworksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworks func (c *AuditManager) ListAssessmentFrameworksRequest(input *ListAssessmentFrameworksInput) (req *request.Request, output *ListAssessmentFrameworksOutput) { @@ -3892,16 +3883,17 @@ func (c *AuditManager) ListAssessmentFrameworksRequest(input *ListAssessmentFram // API operation ListAssessmentFrameworks for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. +// +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworks func (c *AuditManager) ListAssessmentFrameworks(input *ListAssessmentFrameworksInput) (*ListAssessmentFrameworksOutput, error) { @@ -3933,15 +3925,14 @@ func (c *AuditManager) ListAssessmentFrameworksWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssessmentFrameworks operation. -// pageNum := 0 -// err := client.ListAssessmentFrameworksPages(params, -// func(page *auditmanager.ListAssessmentFrameworksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssessmentFrameworks operation. +// pageNum := 0 +// err := client.ListAssessmentFrameworksPages(params, +// func(page *auditmanager.ListAssessmentFrameworksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) ListAssessmentFrameworksPages(input *ListAssessmentFrameworksInput, fn func(*ListAssessmentFrameworksOutput, bool) bool) error { return c.ListAssessmentFrameworksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3993,14 +3984,13 @@ const opListAssessmentReports = "ListAssessmentReports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssessmentReportsRequest method. +// req, resp := client.ListAssessmentReportsRequest(params) // -// // Example sending a request using the ListAssessmentReportsRequest method. -// req, resp := client.ListAssessmentReportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentReports func (c *AuditManager) ListAssessmentReportsRequest(input *ListAssessmentReportsInput) (req *request.Request, output *ListAssessmentReportsOutput) { @@ -4037,16 +4027,17 @@ func (c *AuditManager) ListAssessmentReportsRequest(input *ListAssessmentReports // API operation ListAssessmentReports for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentReports func (c *AuditManager) ListAssessmentReports(input *ListAssessmentReportsInput) (*ListAssessmentReportsOutput, error) { @@ -4078,15 +4069,14 @@ func (c *AuditManager) ListAssessmentReportsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssessmentReports operation. -// pageNum := 0 -// err := client.ListAssessmentReportsPages(params, -// func(page *auditmanager.ListAssessmentReportsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssessmentReports operation. +// pageNum := 0 +// err := client.ListAssessmentReportsPages(params, +// func(page *auditmanager.ListAssessmentReportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) ListAssessmentReportsPages(input *ListAssessmentReportsInput, fn func(*ListAssessmentReportsOutput, bool) bool) error { return c.ListAssessmentReportsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4138,14 +4128,13 @@ const opListAssessments = "ListAssessments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssessmentsRequest method. +// req, resp := client.ListAssessmentsRequest(params) // -// // Example sending a request using the ListAssessmentsRequest method. -// req, resp := client.ListAssessmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessments func (c *AuditManager) ListAssessmentsRequest(input *ListAssessmentsInput) (req *request.Request, output *ListAssessmentsOutput) { @@ -4182,16 +4171,17 @@ func (c *AuditManager) ListAssessmentsRequest(input *ListAssessmentsInput) (req // API operation ListAssessments for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. // -// * ValidationException -// The request has invalid or missing parameters. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessments func (c *AuditManager) ListAssessments(input *ListAssessmentsInput) (*ListAssessmentsOutput, error) { @@ -4223,15 +4213,14 @@ func (c *AuditManager) ListAssessmentsWithContext(ctx aws.Context, input *ListAs // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssessments operation. -// pageNum := 0 -// err := client.ListAssessmentsPages(params, -// func(page *auditmanager.ListAssessmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssessments operation. +// pageNum := 0 +// err := client.ListAssessmentsPages(params, +// func(page *auditmanager.ListAssessmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) ListAssessmentsPages(input *ListAssessmentsInput, fn func(*ListAssessmentsOutput, bool) bool) error { return c.ListAssessmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4283,14 +4272,13 @@ const opListControlDomainInsights = "ListControlDomainInsights" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListControlDomainInsightsRequest method. +// req, resp := client.ListControlDomainInsightsRequest(params) // -// // Example sending a request using the ListControlDomainInsightsRequest method. -// req, resp := client.ListControlDomainInsightsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsights func (c *AuditManager) ListControlDomainInsightsRequest(input *ListControlDomainInsightsInput) (req *request.Request, output *ListControlDomainInsightsOutput) { @@ -4332,19 +4320,20 @@ func (c *AuditManager) ListControlDomainInsightsRequest(input *ListControlDomain // API operation ListControlDomainInsights for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. +// +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // -// * ValidationException -// The request has invalid or missing parameters. +// - ValidationException +// The request has invalid or missing parameters. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsights func (c *AuditManager) ListControlDomainInsights(input *ListControlDomainInsightsInput) (*ListControlDomainInsightsOutput, error) { @@ -4376,15 +4365,14 @@ func (c *AuditManager) ListControlDomainInsightsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListControlDomainInsights operation. -// pageNum := 0 -// err := client.ListControlDomainInsightsPages(params, -// func(page *auditmanager.ListControlDomainInsightsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListControlDomainInsights operation. +// pageNum := 0 +// err := client.ListControlDomainInsightsPages(params, +// func(page *auditmanager.ListControlDomainInsightsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) ListControlDomainInsightsPages(input *ListControlDomainInsightsInput, fn func(*ListControlDomainInsightsOutput, bool) bool) error { return c.ListControlDomainInsightsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4436,14 +4424,13 @@ const opListControlDomainInsightsByAssessment = "ListControlDomainInsightsByAsse // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListControlDomainInsightsByAssessmentRequest method. +// req, resp := client.ListControlDomainInsightsByAssessmentRequest(params) // -// // Example sending a request using the ListControlDomainInsightsByAssessmentRequest method. -// req, resp := client.ListControlDomainInsightsByAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsightsByAssessment func (c *AuditManager) ListControlDomainInsightsByAssessmentRequest(input *ListControlDomainInsightsByAssessmentInput) (req *request.Request, output *ListControlDomainInsightsByAssessmentOutput) { @@ -4484,19 +4471,20 @@ func (c *AuditManager) ListControlDomainInsightsByAssessmentRequest(input *ListC // API operation ListControlDomainInsightsByAssessment for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - ValidationException +// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsightsByAssessment func (c *AuditManager) ListControlDomainInsightsByAssessment(input *ListControlDomainInsightsByAssessmentInput) (*ListControlDomainInsightsByAssessmentOutput, error) { @@ -4528,15 +4516,14 @@ func (c *AuditManager) ListControlDomainInsightsByAssessmentWithContext(ctx aws. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListControlDomainInsightsByAssessment operation. -// pageNum := 0 -// err := client.ListControlDomainInsightsByAssessmentPages(params, -// func(page *auditmanager.ListControlDomainInsightsByAssessmentOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListControlDomainInsightsByAssessment operation. +// pageNum := 0 +// err := client.ListControlDomainInsightsByAssessmentPages(params, +// func(page *auditmanager.ListControlDomainInsightsByAssessmentOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) ListControlDomainInsightsByAssessmentPages(input *ListControlDomainInsightsByAssessmentInput, fn func(*ListControlDomainInsightsByAssessmentOutput, bool) bool) error { return c.ListControlDomainInsightsByAssessmentPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4588,14 +4575,13 @@ const opListControlInsightsByControlDomain = "ListControlInsightsByControlDomain // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListControlInsightsByControlDomainRequest method. +// req, resp := client.ListControlInsightsByControlDomainRequest(params) // -// // Example sending a request using the ListControlInsightsByControlDomainRequest method. -// req, resp := client.ListControlInsightsByControlDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlInsightsByControlDomain func (c *AuditManager) ListControlInsightsByControlDomainRequest(input *ListControlInsightsByControlDomainInput) (req *request.Request, output *ListControlInsightsByControlDomainOutput) { @@ -4638,19 +4624,20 @@ func (c *AuditManager) ListControlInsightsByControlDomainRequest(input *ListCont // API operation ListControlInsightsByControlDomain for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. +// +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // -// * ValidationException -// The request has invalid or missing parameters. +// - ValidationException +// The request has invalid or missing parameters. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlInsightsByControlDomain func (c *AuditManager) ListControlInsightsByControlDomain(input *ListControlInsightsByControlDomainInput) (*ListControlInsightsByControlDomainOutput, error) { @@ -4682,15 +4669,14 @@ func (c *AuditManager) ListControlInsightsByControlDomainWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListControlInsightsByControlDomain operation. -// pageNum := 0 -// err := client.ListControlInsightsByControlDomainPages(params, -// func(page *auditmanager.ListControlInsightsByControlDomainOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListControlInsightsByControlDomain operation. +// pageNum := 0 +// err := client.ListControlInsightsByControlDomainPages(params, +// func(page *auditmanager.ListControlInsightsByControlDomainOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) ListControlInsightsByControlDomainPages(input *ListControlInsightsByControlDomainInput, fn func(*ListControlInsightsByControlDomainOutput, bool) bool) error { return c.ListControlInsightsByControlDomainPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4742,14 +4728,13 @@ const opListControls = "ListControls" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListControlsRequest method. +// req, resp := client.ListControlsRequest(params) // -// // Example sending a request using the ListControlsRequest method. -// req, resp := client.ListControlsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControls func (c *AuditManager) ListControlsRequest(input *ListControlsInput) (req *request.Request, output *ListControlsOutput) { @@ -4786,16 +4771,17 @@ func (c *AuditManager) ListControlsRequest(input *ListControlsInput) (req *reque // API operation ListControls for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. // -// * ValidationException -// The request has invalid or missing parameters. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - ValidationException +// The request has invalid or missing parameters. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControls func (c *AuditManager) ListControls(input *ListControlsInput) (*ListControlsOutput, error) { @@ -4827,15 +4813,14 @@ func (c *AuditManager) ListControlsWithContext(ctx aws.Context, input *ListContr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListControls operation. -// pageNum := 0 -// err := client.ListControlsPages(params, -// func(page *auditmanager.ListControlsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListControls operation. +// pageNum := 0 +// err := client.ListControlsPages(params, +// func(page *auditmanager.ListControlsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) ListControlsPages(input *ListControlsInput, fn func(*ListControlsOutput, bool) bool) error { return c.ListControlsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4887,14 +4872,13 @@ const opListKeywordsForDataSource = "ListKeywordsForDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListKeywordsForDataSourceRequest method. +// req, resp := client.ListKeywordsForDataSourceRequest(params) // -// // Example sending a request using the ListKeywordsForDataSourceRequest method. -// req, resp := client.ListKeywordsForDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListKeywordsForDataSource func (c *AuditManager) ListKeywordsForDataSourceRequest(input *ListKeywordsForDataSourceInput) (req *request.Request, output *ListKeywordsForDataSourceOutput) { @@ -4932,16 +4916,17 @@ func (c *AuditManager) ListKeywordsForDataSourceRequest(input *ListKeywordsForDa // API operation ListKeywordsForDataSource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. // -// * ValidationException -// The request has invalid or missing parameters. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListKeywordsForDataSource func (c *AuditManager) ListKeywordsForDataSource(input *ListKeywordsForDataSourceInput) (*ListKeywordsForDataSourceOutput, error) { @@ -4973,15 +4958,14 @@ func (c *AuditManager) ListKeywordsForDataSourceWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListKeywordsForDataSource operation. -// pageNum := 0 -// err := client.ListKeywordsForDataSourcePages(params, -// func(page *auditmanager.ListKeywordsForDataSourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListKeywordsForDataSource operation. +// pageNum := 0 +// err := client.ListKeywordsForDataSourcePages(params, +// func(page *auditmanager.ListKeywordsForDataSourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) ListKeywordsForDataSourcePages(input *ListKeywordsForDataSourceInput, fn func(*ListKeywordsForDataSourceOutput, bool) bool) error { return c.ListKeywordsForDataSourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5033,14 +5017,13 @@ const opListNotifications = "ListNotifications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNotificationsRequest method. +// req, resp := client.ListNotificationsRequest(params) // -// // Example sending a request using the ListNotificationsRequest method. -// req, resp := client.ListNotificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListNotifications func (c *AuditManager) ListNotificationsRequest(input *ListNotificationsInput) (req *request.Request, output *ListNotificationsOutput) { @@ -5077,16 +5060,17 @@ func (c *AuditManager) ListNotificationsRequest(input *ListNotificationsInput) ( // API operation ListNotifications for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. // -// * ValidationException -// The request has invalid or missing parameters. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListNotifications func (c *AuditManager) ListNotifications(input *ListNotificationsInput) (*ListNotificationsOutput, error) { @@ -5118,15 +5102,14 @@ func (c *AuditManager) ListNotificationsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNotifications operation. -// pageNum := 0 -// err := client.ListNotificationsPages(params, -// func(page *auditmanager.ListNotificationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNotifications operation. +// pageNum := 0 +// err := client.ListNotificationsPages(params, +// func(page *auditmanager.ListNotificationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AuditManager) ListNotificationsPages(input *ListNotificationsInput, fn func(*ListNotificationsOutput, bool) bool) error { return c.ListNotificationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5178,14 +5161,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListTagsForResource func (c *AuditManager) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -5216,15 +5198,16 @@ func (c *AuditManager) ListTagsForResourceRequest(input *ListTagsForResourceInpu // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. // -// * ValidationException -// The request has invalid or missing parameters. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - ValidationException +// The request has invalid or missing parameters. +// +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListTagsForResource func (c *AuditManager) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -5264,14 +5247,13 @@ const opRegisterAccount = "RegisterAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterAccountRequest method. +// req, resp := client.RegisterAccountRequest(params) // -// // Example sending a request using the RegisterAccountRequest method. -// req, resp := client.RegisterAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterAccount func (c *AuditManager) RegisterAccountRequest(input *RegisterAccountInput) (req *request.Request, output *RegisterAccountOutput) { @@ -5302,19 +5284,20 @@ func (c *AuditManager) RegisterAccountRequest(input *RegisterAccountInput) (req // API operation RegisterAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. +// +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterAccount func (c *AuditManager) RegisterAccount(input *RegisterAccountInput) (*RegisterAccountOutput, error) { @@ -5354,14 +5337,13 @@ const opRegisterOrganizationAdminAccount = "RegisterOrganizationAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterOrganizationAdminAccountRequest method. +// req, resp := client.RegisterOrganizationAdminAccountRequest(params) // -// // Example sending a request using the RegisterOrganizationAdminAccountRequest method. -// req, resp := client.RegisterOrganizationAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterOrganizationAdminAccount func (c *AuditManager) RegisterOrganizationAdminAccountRequest(input *RegisterOrganizationAdminAccountInput) (req *request.Request, output *RegisterOrganizationAdminAccountOutput) { @@ -5393,19 +5375,20 @@ func (c *AuditManager) RegisterOrganizationAdminAccountRequest(input *RegisterOr // API operation RegisterOrganizationAdminAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. +// +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterOrganizationAdminAccount func (c *AuditManager) RegisterOrganizationAdminAccount(input *RegisterOrganizationAdminAccountInput) (*RegisterOrganizationAdminAccountOutput, error) { @@ -5445,14 +5428,13 @@ const opStartAssessmentFrameworkShare = "StartAssessmentFrameworkShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartAssessmentFrameworkShareRequest method. +// req, resp := client.StartAssessmentFrameworkShareRequest(params) // -// // Example sending a request using the StartAssessmentFrameworkShareRequest method. -// req, resp := client.StartAssessmentFrameworkShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/StartAssessmentFrameworkShare func (c *AuditManager) StartAssessmentFrameworkShareRequest(input *StartAssessmentFrameworkShareInput) (req *request.Request, output *StartAssessmentFrameworkShareOutput) { @@ -5496,19 +5478,20 @@ func (c *AuditManager) StartAssessmentFrameworkShareRequest(input *StartAssessme // API operation StartAssessmentFrameworkShare for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. +// +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/StartAssessmentFrameworkShare func (c *AuditManager) StartAssessmentFrameworkShare(input *StartAssessmentFrameworkShareInput) (*StartAssessmentFrameworkShareOutput, error) { @@ -5548,14 +5531,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/TagResource func (c *AuditManager) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -5587,15 +5569,16 @@ func (c *AuditManager) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. // -// * ValidationException -// The request has invalid or missing parameters. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - ValidationException +// The request has invalid or missing parameters. +// +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/TagResource func (c *AuditManager) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -5635,14 +5618,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UntagResource func (c *AuditManager) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -5674,15 +5656,16 @@ func (c *AuditManager) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. // -// * ValidationException -// The request has invalid or missing parameters. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - ValidationException +// The request has invalid or missing parameters. +// +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UntagResource func (c *AuditManager) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -5722,14 +5705,13 @@ const opUpdateAssessment = "UpdateAssessment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAssessmentRequest method. +// req, resp := client.UpdateAssessmentRequest(params) // -// // Example sending a request using the UpdateAssessmentRequest method. -// req, resp := client.UpdateAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessment func (c *AuditManager) UpdateAssessmentRequest(input *UpdateAssessmentInput) (req *request.Request, output *UpdateAssessmentOutput) { @@ -5760,19 +5742,20 @@ func (c *AuditManager) UpdateAssessmentRequest(input *UpdateAssessmentInput) (re // API operation UpdateAssessment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. +// +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessment func (c *AuditManager) UpdateAssessment(input *UpdateAssessmentInput) (*UpdateAssessmentOutput, error) { @@ -5812,14 +5795,13 @@ const opUpdateAssessmentControl = "UpdateAssessmentControl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAssessmentControlRequest method. +// req, resp := client.UpdateAssessmentControlRequest(params) // -// // Example sending a request using the UpdateAssessmentControlRequest method. -// req, resp := client.UpdateAssessmentControlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControl func (c *AuditManager) UpdateAssessmentControlRequest(input *UpdateAssessmentControlInput) (req *request.Request, output *UpdateAssessmentControlOutput) { @@ -5850,19 +5832,20 @@ func (c *AuditManager) UpdateAssessmentControlRequest(input *UpdateAssessmentCon // API operation UpdateAssessmentControl for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControl func (c *AuditManager) UpdateAssessmentControl(input *UpdateAssessmentControlInput) (*UpdateAssessmentControlOutput, error) { @@ -5902,14 +5885,13 @@ const opUpdateAssessmentControlSetStatus = "UpdateAssessmentControlSetStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAssessmentControlSetStatusRequest method. +// req, resp := client.UpdateAssessmentControlSetStatusRequest(params) // -// // Example sending a request using the UpdateAssessmentControlSetStatusRequest method. -// req, resp := client.UpdateAssessmentControlSetStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControlSetStatus func (c *AuditManager) UpdateAssessmentControlSetStatusRequest(input *UpdateAssessmentControlSetStatusInput) (req *request.Request, output *UpdateAssessmentControlSetStatusOutput) { @@ -5940,19 +5922,20 @@ func (c *AuditManager) UpdateAssessmentControlSetStatusRequest(input *UpdateAsse // API operation UpdateAssessmentControlSetStatus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControlSetStatus func (c *AuditManager) UpdateAssessmentControlSetStatus(input *UpdateAssessmentControlSetStatusInput) (*UpdateAssessmentControlSetStatusOutput, error) { @@ -5992,14 +5975,13 @@ const opUpdateAssessmentFramework = "UpdateAssessmentFramework" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAssessmentFrameworkRequest method. +// req, resp := client.UpdateAssessmentFrameworkRequest(params) // -// // Example sending a request using the UpdateAssessmentFrameworkRequest method. -// req, resp := client.UpdateAssessmentFrameworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFramework func (c *AuditManager) UpdateAssessmentFrameworkRequest(input *UpdateAssessmentFrameworkInput) (req *request.Request, output *UpdateAssessmentFrameworkOutput) { @@ -6030,19 +6012,20 @@ func (c *AuditManager) UpdateAssessmentFrameworkRequest(input *UpdateAssessmentF // API operation UpdateAssessmentFramework for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFramework func (c *AuditManager) UpdateAssessmentFramework(input *UpdateAssessmentFrameworkInput) (*UpdateAssessmentFrameworkOutput, error) { @@ -6082,14 +6065,13 @@ const opUpdateAssessmentFrameworkShare = "UpdateAssessmentFrameworkShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAssessmentFrameworkShareRequest method. +// req, resp := client.UpdateAssessmentFrameworkShareRequest(params) // -// // Example sending a request using the UpdateAssessmentFrameworkShareRequest method. -// req, resp := client.UpdateAssessmentFrameworkShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFrameworkShare func (c *AuditManager) UpdateAssessmentFrameworkShareRequest(input *UpdateAssessmentFrameworkShareInput) (req *request.Request, output *UpdateAssessmentFrameworkShareOutput) { @@ -6120,19 +6102,20 @@ func (c *AuditManager) UpdateAssessmentFrameworkShareRequest(input *UpdateAssess // API operation UpdateAssessmentFrameworkShare for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFrameworkShare func (c *AuditManager) UpdateAssessmentFrameworkShare(input *UpdateAssessmentFrameworkShareInput) (*UpdateAssessmentFrameworkShareOutput, error) { @@ -6172,14 +6155,13 @@ const opUpdateAssessmentStatus = "UpdateAssessmentStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAssessmentStatusRequest method. +// req, resp := client.UpdateAssessmentStatusRequest(params) // -// // Example sending a request using the UpdateAssessmentStatusRequest method. -// req, resp := client.UpdateAssessmentStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentStatus func (c *AuditManager) UpdateAssessmentStatusRequest(input *UpdateAssessmentStatusInput) (req *request.Request, output *UpdateAssessmentStatusOutput) { @@ -6210,19 +6192,20 @@ func (c *AuditManager) UpdateAssessmentStatusRequest(input *UpdateAssessmentStat // API operation UpdateAssessmentStatus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentStatus func (c *AuditManager) UpdateAssessmentStatus(input *UpdateAssessmentStatusInput) (*UpdateAssessmentStatusOutput, error) { @@ -6262,14 +6245,13 @@ const opUpdateControl = "UpdateControl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateControlRequest method. +// req, resp := client.UpdateControlRequest(params) // -// // Example sending a request using the UpdateControlRequest method. -// req, resp := client.UpdateControlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateControl func (c *AuditManager) UpdateControlRequest(input *UpdateControlInput) (req *request.Request, output *UpdateControlOutput) { @@ -6300,19 +6282,20 @@ func (c *AuditManager) UpdateControlRequest(input *UpdateControlInput) (req *req // API operation UpdateControl for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. // -// * ValidationException -// The request has invalid or missing parameters. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. +// +// - ValidationException +// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateControl func (c *AuditManager) UpdateControl(input *UpdateControlInput) (*UpdateControlOutput, error) { @@ -6352,14 +6335,13 @@ const opUpdateSettings = "UpdateSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSettingsRequest method. +// req, resp := client.UpdateSettingsRequest(params) // -// // Example sending a request using the UpdateSettingsRequest method. -// req, resp := client.UpdateSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateSettings func (c *AuditManager) UpdateSettingsRequest(input *UpdateSettingsInput) (req *request.Request, output *UpdateSettingsOutput) { @@ -6390,16 +6372,17 @@ func (c *AuditManager) UpdateSettingsRequest(input *UpdateSettingsInput) (req *r // API operation UpdateSettings for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. +// +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateSettings func (c *AuditManager) UpdateSettings(input *UpdateSettingsInput) (*UpdateSettingsOutput, error) { @@ -6439,14 +6422,13 @@ const opValidateAssessmentReportIntegrity = "ValidateAssessmentReportIntegrity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ValidateAssessmentReportIntegrityRequest method. +// req, resp := client.ValidateAssessmentReportIntegrityRequest(params) // -// // Example sending a request using the ValidateAssessmentReportIntegrityRequest method. -// req, resp := client.ValidateAssessmentReportIntegrityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ValidateAssessmentReportIntegrity func (c *AuditManager) ValidateAssessmentReportIntegrityRequest(input *ValidateAssessmentReportIntegrityInput) (req *request.Request, output *ValidateAssessmentReportIntegrityOutput) { @@ -6477,19 +6459,20 @@ func (c *AuditManager) ValidateAssessmentReportIntegrityRequest(input *ValidateA // API operation ValidateAssessmentReportIntegrity for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has invalid or missing parameters. // -// * AccessDeniedException -// Your account isn't registered with Audit Manager. Check the delegated administrator -// setup on the Audit Manager settings page, and try again. +// - ValidationException +// The request has invalid or missing parameters. +// +// - AccessDeniedException +// Your account isn't registered with Audit Manager. Check the delegated administrator +// setup on the Audit Manager settings page, and try again. // -// * InternalServerException -// An internal service error occurred during the processing of your request. -// Try again later. +// - InternalServerException +// An internal service error occurred during the processing of your request. +// Try again later. // -// * ResourceNotFoundException -// The resource that's specified in the request can't be found. +// - ResourceNotFoundException +// The resource that's specified in the request can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ValidateAssessmentReportIntegrity func (c *AuditManager) ValidateAssessmentReportIntegrity(input *ValidateAssessmentReportIntegrityInput) (*ValidateAssessmentReportIntegrityOutput, error) { @@ -13383,13 +13366,13 @@ func (s *GetSettingsOutput) SetSettings(v *Settings) *GetSettingsOutput { // If you delete an assessment or change its status to inactive, InsightsByAssessment // includes data for that assessment as follows. // -// * Inactive assessments - If Audit Manager collected evidence for your -// assessment before you changed it inactive, that evidence is included in -// the InsightsByAssessment counts for that day. +// - Inactive assessments - If Audit Manager collected evidence for your +// assessment before you changed it inactive, that evidence is included in +// the InsightsByAssessment counts for that day. // -// * Deleted assessments - If Audit Manager collected evidence for your assessment -// before you deleted it, that evidence isn't included in the InsightsByAssessment -// counts for that day. +// - Deleted assessments - If Audit Manager collected evidence for your assessment +// before you deleted it, that evidence isn't included in the InsightsByAssessment +// counts for that day. type Insights struct { _ struct{} `type:"structure"` @@ -13504,13 +13487,13 @@ func (s *Insights) SetTotalAssessmentControlsCount(v int64) *Insights { // If you delete an assessment or change its status to inactive, InsightsByAssessment // includes data for that assessment as follows. // -// * Inactive assessments - If Audit Manager collected evidence for your -// assessment before you changed it inactive, that evidence is included in -// the InsightsByAssessment counts for that day. +// - Inactive assessments - If Audit Manager collected evidence for your +// assessment before you changed it inactive, that evidence is included in +// the InsightsByAssessment counts for that day. // -// * Deleted assessments - If Audit Manager collected evidence for your assessment -// before you deleted it, that evidence isn't included in the InsightsByAssessment -// counts for that day. +// - Deleted assessments - If Audit Manager collected evidence for your assessment +// before you deleted it, that evidence isn't included in the InsightsByAssessment +// counts for that day. type InsightsByAssessment struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/auditmanageriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/auditmanageriface/interface.go index 220a1f99677f..85a36597786b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/auditmanageriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/auditmanageriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Audit Manager. -// func myFunc(svc auditmanageriface.AuditManagerAPI) bool { -// // Make svc.AssociateAssessmentReportEvidenceFolder request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Audit Manager. +// func myFunc(svc auditmanageriface.AuditManagerAPI) bool { +// // Make svc.AssociateAssessmentReportEvidenceFolder request +// } // -// func main() { -// sess := session.New() -// svc := auditmanager.New(sess) +// func main() { +// sess := session.New() +// svc := auditmanager.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAuditManagerClient struct { -// auditmanageriface.AuditManagerAPI -// } -// func (m *mockAuditManagerClient) AssociateAssessmentReportEvidenceFolder(input *auditmanager.AssociateAssessmentReportEvidenceFolderInput) (*auditmanager.AssociateAssessmentReportEvidenceFolderOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAuditManagerClient struct { +// auditmanageriface.AuditManagerAPI +// } +// func (m *mockAuditManagerClient) AssociateAssessmentReportEvidenceFolder(input *auditmanager.AssociateAssessmentReportEvidenceFolderInput) (*auditmanager.AssociateAssessmentReportEvidenceFolderOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAuditManagerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAuditManagerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/doc.go index 670615930df3..f86874b9ea30 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/doc.go @@ -21,17 +21,17 @@ // // Use the following links to get started with the Audit Manager API: // -// * Actions (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Operations.html): -// An alphabetical list of all Audit Manager API operations. +// - Actions (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Operations.html): +// An alphabetical list of all Audit Manager API operations. // -// * Data types (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Types.html): -// An alphabetical list of all Audit Manager data types. +// - Data types (https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Types.html): +// An alphabetical list of all Audit Manager data types. // -// * Common parameters (https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonParameters.html): -// Parameters that all Query operations can use. +// - Common parameters (https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonParameters.html): +// Parameters that all Query operations can use. // -// * Common errors (https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonErrors.html): -// Client and server errors that all operations can return. +// - Common errors (https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonErrors.html): +// Client and server errors that all operations can return. // // If you're new to Audit Manager, we recommend that you review the Audit Manager // User Guide (https://docs.aws.amazon.com/audit-manager/latest/userguide/what-is.html). @@ -41,7 +41,7 @@ // See auditmanager package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/auditmanager/ // -// Using the Client +// # Using the Client // // To contact AWS Audit Manager with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/service.go index 141048fec2a1..302a2d986a55 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/auditmanager/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AuditManager client from just a session. -// svc := auditmanager.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AuditManager client with additional configuration -// svc := auditmanager.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AuditManager client from just a session. +// svc := auditmanager.New(mySession) +// +// // Create a AuditManager client with additional configuration +// svc := auditmanager.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AuditManager { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/api.go index 615cfcabf5ac..fa7ce2b975d8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/api.go @@ -29,14 +29,13 @@ const opDeleteHumanLoop = "DeleteHumanLoop" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteHumanLoopRequest method. +// req, resp := client.DeleteHumanLoopRequest(params) // -// // Example sending a request using the DeleteHumanLoopRequest method. -// req, resp := client.DeleteHumanLoopRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/DeleteHumanLoop func (c *AugmentedAIRuntime) DeleteHumanLoopRequest(input *DeleteHumanLoopInput) (req *request.Request, output *DeleteHumanLoopOutput) { @@ -70,20 +69,21 @@ func (c *AugmentedAIRuntime) DeleteHumanLoopRequest(input *DeleteHumanLoopInput) // API operation DeleteHumanLoop for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. Check the syntax and try again. // -// * ResourceNotFoundException -// We couldn't find the requested resource. Check that your resources exists -// and were created in the same AWS Region as your request, and try your request -// again. +// - ValidationException +// The request isn't valid. Check the syntax and try again. +// +// - ResourceNotFoundException +// We couldn't find the requested resource. Check that your resources exists +// and were created in the same AWS Region as your request, and try your request +// again. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// We couldn't process your request because of an issue with the server. Try -// again later. +// - InternalServerException +// We couldn't process your request because of an issue with the server. Try +// again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/DeleteHumanLoop func (c *AugmentedAIRuntime) DeleteHumanLoop(input *DeleteHumanLoopInput) (*DeleteHumanLoopOutput, error) { @@ -123,14 +123,13 @@ const opDescribeHumanLoop = "DescribeHumanLoop" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHumanLoopRequest method. +// req, resp := client.DescribeHumanLoopRequest(params) // -// // Example sending a request using the DescribeHumanLoopRequest method. -// req, resp := client.DescribeHumanLoopRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/DescribeHumanLoop func (c *AugmentedAIRuntime) DescribeHumanLoopRequest(input *DescribeHumanLoopInput) (req *request.Request, output *DescribeHumanLoopOutput) { @@ -162,20 +161,21 @@ func (c *AugmentedAIRuntime) DescribeHumanLoopRequest(input *DescribeHumanLoopIn // API operation DescribeHumanLoop for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. Check the syntax and try again. // -// * ResourceNotFoundException -// We couldn't find the requested resource. Check that your resources exists -// and were created in the same AWS Region as your request, and try your request -// again. +// - ValidationException +// The request isn't valid. Check the syntax and try again. +// +// - ResourceNotFoundException +// We couldn't find the requested resource. Check that your resources exists +// and were created in the same AWS Region as your request, and try your request +// again. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// We couldn't process your request because of an issue with the server. Try -// again later. +// - InternalServerException +// We couldn't process your request because of an issue with the server. Try +// again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/DescribeHumanLoop func (c *AugmentedAIRuntime) DescribeHumanLoop(input *DescribeHumanLoopInput) (*DescribeHumanLoopOutput, error) { @@ -215,14 +215,13 @@ const opListHumanLoops = "ListHumanLoops" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHumanLoopsRequest method. +// req, resp := client.ListHumanLoopsRequest(params) // -// // Example sending a request using the ListHumanLoopsRequest method. -// req, resp := client.ListHumanLoopsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/ListHumanLoops func (c *AugmentedAIRuntime) ListHumanLoopsRequest(input *ListHumanLoopsInput) (req *request.Request, output *ListHumanLoopsOutput) { @@ -260,20 +259,21 @@ func (c *AugmentedAIRuntime) ListHumanLoopsRequest(input *ListHumanLoopsInput) ( // API operation ListHumanLoops for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. Check the syntax and try again. // -// * ResourceNotFoundException -// We couldn't find the requested resource. Check that your resources exists -// and were created in the same AWS Region as your request, and try your request -// again. +// - ValidationException +// The request isn't valid. Check the syntax and try again. +// +// - ResourceNotFoundException +// We couldn't find the requested resource. Check that your resources exists +// and were created in the same AWS Region as your request, and try your request +// again. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// We couldn't process your request because of an issue with the server. Try -// again later. +// - InternalServerException +// We couldn't process your request because of an issue with the server. Try +// again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/ListHumanLoops func (c *AugmentedAIRuntime) ListHumanLoops(input *ListHumanLoopsInput) (*ListHumanLoopsOutput, error) { @@ -305,15 +305,14 @@ func (c *AugmentedAIRuntime) ListHumanLoopsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListHumanLoops operation. -// pageNum := 0 -// err := client.ListHumanLoopsPages(params, -// func(page *augmentedairuntime.ListHumanLoopsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListHumanLoops operation. +// pageNum := 0 +// err := client.ListHumanLoopsPages(params, +// func(page *augmentedairuntime.ListHumanLoopsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AugmentedAIRuntime) ListHumanLoopsPages(input *ListHumanLoopsInput, fn func(*ListHumanLoopsOutput, bool) bool) error { return c.ListHumanLoopsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -365,14 +364,13 @@ const opStartHumanLoop = "StartHumanLoop" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartHumanLoopRequest method. +// req, resp := client.StartHumanLoopRequest(params) // -// // Example sending a request using the StartHumanLoopRequest method. -// req, resp := client.StartHumanLoopRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/StartHumanLoop func (c *AugmentedAIRuntime) StartHumanLoopRequest(input *StartHumanLoopInput) (req *request.Request, output *StartHumanLoopOutput) { @@ -403,30 +401,31 @@ func (c *AugmentedAIRuntime) StartHumanLoopRequest(input *StartHumanLoopInput) ( // API operation StartHumanLoop for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. Check the syntax and try again. -// -// * ThrottlingException -// You exceeded the maximum number of requests. -// -// * ServiceQuotaExceededException -// You exceeded your service quota. Service quotas, also referred to as limits, -// are the maximum number of service resources or operations for your AWS account. -// For a list of Amazon A2I service quotes, see Amazon Augmented AI Service -// Quotes (https://docs.aws.amazon.com/general/latest/gr/a2i.html). Delete some -// resources or request an increase in your service quota. You can request a -// quota increase using Service Quotas or the AWS Support Center. To request -// an increase, see AWS Service Quotas (https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) -// in the AWS General Reference. -// -// * InternalServerException -// We couldn't process your request because of an issue with the server. Try -// again later. -// -// * ConflictException -// Your request has the same name as another active human loop but has different -// input data. You cannot start two human loops with the same name and different -// input data. +// +// - ValidationException +// The request isn't valid. Check the syntax and try again. +// +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - ServiceQuotaExceededException +// You exceeded your service quota. Service quotas, also referred to as limits, +// are the maximum number of service resources or operations for your AWS account. +// For a list of Amazon A2I service quotes, see Amazon Augmented AI Service +// Quotes (https://docs.aws.amazon.com/general/latest/gr/a2i.html). Delete some +// resources or request an increase in your service quota. You can request a +// quota increase using Service Quotas or the AWS Support Center. To request +// an increase, see AWS Service Quotas (https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) +// in the AWS General Reference. +// +// - InternalServerException +// We couldn't process your request because of an issue with the server. Try +// again later. +// +// - ConflictException +// Your request has the same name as another active human loop but has different +// input data. You cannot start two human loops with the same name and different +// input data. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/StartHumanLoop func (c *AugmentedAIRuntime) StartHumanLoop(input *StartHumanLoopInput) (*StartHumanLoopOutput, error) { @@ -466,14 +465,13 @@ const opStopHumanLoop = "StopHumanLoop" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopHumanLoopRequest method. +// req, resp := client.StopHumanLoopRequest(params) // -// // Example sending a request using the StopHumanLoopRequest method. -// req, resp := client.StopHumanLoopRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/StopHumanLoop func (c *AugmentedAIRuntime) StopHumanLoopRequest(input *StopHumanLoopInput) (req *request.Request, output *StopHumanLoopOutput) { @@ -505,20 +503,21 @@ func (c *AugmentedAIRuntime) StopHumanLoopRequest(input *StopHumanLoopInput) (re // API operation StopHumanLoop for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. Check the syntax and try again. // -// * ResourceNotFoundException -// We couldn't find the requested resource. Check that your resources exists -// and were created in the same AWS Region as your request, and try your request -// again. +// - ValidationException +// The request isn't valid. Check the syntax and try again. +// +// - ResourceNotFoundException +// We couldn't find the requested resource. Check that your resources exists +// and were created in the same AWS Region as your request, and try your request +// again. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// We couldn't process your request because of an issue with the server. Try -// again later. +// - InternalServerException +// We couldn't process your request because of an issue with the server. Try +// again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/StopHumanLoop func (c *AugmentedAIRuntime) StopHumanLoop(input *StopHumanLoopInput) (*StopHumanLoopOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/augmentedairuntimeiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/augmentedairuntimeiface/interface.go index 88bb47305d4f..21926504ae71 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/augmentedairuntimeiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/augmentedairuntimeiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Augmented AI Runtime. -// func myFunc(svc augmentedairuntimeiface.AugmentedAIRuntimeAPI) bool { -// // Make svc.DeleteHumanLoop request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Augmented AI Runtime. +// func myFunc(svc augmentedairuntimeiface.AugmentedAIRuntimeAPI) bool { +// // Make svc.DeleteHumanLoop request +// } // -// func main() { -// sess := session.New() -// svc := augmentedairuntime.New(sess) +// func main() { +// sess := session.New() +// svc := augmentedairuntime.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAugmentedAIRuntimeClient struct { -// augmentedairuntimeiface.AugmentedAIRuntimeAPI -// } -// func (m *mockAugmentedAIRuntimeClient) DeleteHumanLoop(input *augmentedairuntime.DeleteHumanLoopInput) (*augmentedairuntime.DeleteHumanLoopOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAugmentedAIRuntimeClient struct { +// augmentedairuntimeiface.AugmentedAIRuntimeAPI +// } +// func (m *mockAugmentedAIRuntimeClient) DeleteHumanLoop(input *augmentedairuntime.DeleteHumanLoopInput) (*augmentedairuntime.DeleteHumanLoopOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAugmentedAIRuntimeClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAugmentedAIRuntimeClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/doc.go index aa4a553660d1..92e8da279292 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/doc.go @@ -18,17 +18,17 @@ // that you can use to interact with Amazon A2I programmatically. Use this guide // to: // -// * Start a human loop with the StartHumanLoop operation when using Amazon -// A2I with a custom task type. To learn more about the difference between -// custom and built-in task types, see Use Task Types (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-task-types-general.html). -// To learn how to start a human loop using this API, see Create and Start -// a Human Loop for a Custom Task Type (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-start-human-loop.html#a2i-instructions-starthumanloop) -// in the Amazon SageMaker Developer Guide. -// -// * Manage your human loops. You can list all human loops that you have -// created, describe individual human loops, and stop and delete human loops. -// To learn more, see Monitor and Manage Your Human Loop (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-monitor-humanloop-results.html) -// in the Amazon SageMaker Developer Guide. +// - Start a human loop with the StartHumanLoop operation when using Amazon +// A2I with a custom task type. To learn more about the difference between +// custom and built-in task types, see Use Task Types (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-task-types-general.html). +// To learn how to start a human loop using this API, see Create and Start +// a Human Loop for a Custom Task Type (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-start-human-loop.html#a2i-instructions-starthumanloop) +// in the Amazon SageMaker Developer Guide. +// +// - Manage your human loops. You can list all human loops that you have +// created, describe individual human loops, and stop and delete human loops. +// To learn more, see Monitor and Manage Your Human Loop (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-monitor-humanloop-results.html) +// in the Amazon SageMaker Developer Guide. // // Amazon A2I integrates APIs from various AWS services to create and start // human review workflows for those services. To learn how Amazon A2I uses these @@ -40,7 +40,7 @@ // See augmentedairuntime package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/augmentedairuntime/ // -// Using the Client +// # Using the Client // // To contact Amazon Augmented AI Runtime with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/service.go index 84307a465f4a..34810fc01f39 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/augmentedairuntime/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AugmentedAIRuntime client from just a session. -// svc := augmentedairuntime.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AugmentedAIRuntime client with additional configuration -// svc := augmentedairuntime.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AugmentedAIRuntime client from just a session. +// svc := augmentedairuntime.New(mySession) +// +// // Create a AugmentedAIRuntime client with additional configuration +// svc := augmentedairuntime.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AugmentedAIRuntime { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/api.go index 395ae27aab7d..508844112042 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/api.go @@ -29,14 +29,13 @@ const opAttachInstances = "AttachInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachInstancesRequest method. +// req, resp := client.AttachInstancesRequest(params) // -// // Example sending a request using the AttachInstancesRequest method. -// req, resp := client.AttachInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstances func (c *AutoScaling) AttachInstancesRequest(input *AttachInstancesInput) (req *request.Request, output *AttachInstancesOutput) { @@ -82,12 +81,13 @@ func (c *AutoScaling) AttachInstancesRequest(input *AttachInstancesInput) (req * // API operation AttachInstances for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). // -// * ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" -// The service-linked role is not yet ready for use. +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). +// +// - ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" +// The service-linked role is not yet ready for use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachInstances func (c *AutoScaling) AttachInstances(input *AttachInstancesInput) (*AttachInstancesOutput, error) { @@ -127,14 +127,13 @@ const opAttachLoadBalancerTargetGroups = "AttachLoadBalancerTargetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachLoadBalancerTargetGroupsRequest method. +// req, resp := client.AttachLoadBalancerTargetGroupsRequest(params) // -// // Example sending a request using the AttachLoadBalancerTargetGroupsRequest method. -// req, resp := client.AttachLoadBalancerTargetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroups func (c *AutoScaling) AttachLoadBalancerTargetGroupsRequest(input *AttachLoadBalancerTargetGroupsInput) (req *request.Request, output *AttachLoadBalancerTargetGroupsOutput) { @@ -160,13 +159,13 @@ func (c *AutoScaling) AttachLoadBalancerTargetGroupsRequest(input *AttachLoadBal // // This operation is used with the following load balancer types: // -// * Application Load Balancer - Operates at the application layer (layer -// 7) and supports HTTP and HTTPS. +// - Application Load Balancer - Operates at the application layer (layer +// 7) and supports HTTP and HTTPS. // -// * Network Load Balancer - Operates at the transport layer (layer 4) and -// supports TCP, TLS, and UDP. +// - Network Load Balancer - Operates at the transport layer (layer 4) and +// supports TCP, TLS, and UDP. // -// * Gateway Load Balancer - Operates at the network layer (layer 3). +// - Gateway Load Balancer - Operates at the network layer (layer 3). // // To describe the target groups for an Auto Scaling group, call the DescribeLoadBalancerTargetGroups // API. To detach the target group from the Auto Scaling group, call the DetachLoadBalancerTargetGroups @@ -187,12 +186,13 @@ func (c *AutoScaling) AttachLoadBalancerTargetGroupsRequest(input *AttachLoadBal // API operation AttachLoadBalancerTargetGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). // -// * ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" -// The service-linked role is not yet ready for use. +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). +// +// - ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" +// The service-linked role is not yet ready for use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancerTargetGroups func (c *AutoScaling) AttachLoadBalancerTargetGroups(input *AttachLoadBalancerTargetGroupsInput) (*AttachLoadBalancerTargetGroupsOutput, error) { @@ -232,14 +232,13 @@ const opAttachLoadBalancers = "AttachLoadBalancers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachLoadBalancersRequest method. +// req, resp := client.AttachLoadBalancersRequest(params) // -// // Example sending a request using the AttachLoadBalancersRequest method. -// req, resp := client.AttachLoadBalancersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancers func (c *AutoScaling) AttachLoadBalancersRequest(input *AttachLoadBalancersInput) (req *request.Request, output *AttachLoadBalancersOutput) { @@ -261,7 +260,6 @@ func (c *AutoScaling) AttachLoadBalancersRequest(input *AttachLoadBalancersInput // AttachLoadBalancers API operation for Auto Scaling. // -// // To attach an Application Load Balancer, Network Load Balancer, or Gateway // Load Balancer, use the AttachLoadBalancerTargetGroups API operation instead. // @@ -288,12 +286,13 @@ func (c *AutoScaling) AttachLoadBalancersRequest(input *AttachLoadBalancersInput // API operation AttachLoadBalancers for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). // -// * ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" -// The service-linked role is not yet ready for use. +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). +// +// - ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" +// The service-linked role is not yet ready for use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancers func (c *AutoScaling) AttachLoadBalancers(input *AttachLoadBalancersInput) (*AttachLoadBalancersOutput, error) { @@ -333,14 +332,13 @@ const opBatchDeleteScheduledAction = "BatchDeleteScheduledAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteScheduledActionRequest method. +// req, resp := client.BatchDeleteScheduledActionRequest(params) // -// // Example sending a request using the BatchDeleteScheduledActionRequest method. -// req, resp := client.BatchDeleteScheduledActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BatchDeleteScheduledAction func (c *AutoScaling) BatchDeleteScheduledActionRequest(input *BatchDeleteScheduledActionInput) (req *request.Request, output *BatchDeleteScheduledActionOutput) { @@ -371,9 +369,9 @@ func (c *AutoScaling) BatchDeleteScheduledActionRequest(input *BatchDeleteSchedu // API operation BatchDeleteScheduledAction for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BatchDeleteScheduledAction func (c *AutoScaling) BatchDeleteScheduledAction(input *BatchDeleteScheduledActionInput) (*BatchDeleteScheduledActionOutput, error) { @@ -413,14 +411,13 @@ const opBatchPutScheduledUpdateGroupAction = "BatchPutScheduledUpdateGroupAction // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchPutScheduledUpdateGroupActionRequest method. +// req, resp := client.BatchPutScheduledUpdateGroupActionRequest(params) // -// // Example sending a request using the BatchPutScheduledUpdateGroupActionRequest method. -// req, resp := client.BatchPutScheduledUpdateGroupActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BatchPutScheduledUpdateGroupAction func (c *AutoScaling) BatchPutScheduledUpdateGroupActionRequest(input *BatchPutScheduledUpdateGroupActionInput) (req *request.Request, output *BatchPutScheduledUpdateGroupActionOutput) { @@ -452,19 +449,20 @@ func (c *AutoScaling) BatchPutScheduledUpdateGroupActionRequest(input *BatchPutS // API operation BatchPutScheduledUpdateGroupAction for usage and error information. // // Returned Error Codes: -// * ErrCodeAlreadyExistsFault "AlreadyExists" -// You already have an Auto Scaling group or launch configuration with this -// name. // -// * ErrCodeLimitExceededFault "LimitExceeded" -// You have already reached a limit for your Amazon EC2 Auto Scaling resources -// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). -// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) -// in the Amazon EC2 Auto Scaling API Reference. +// - ErrCodeAlreadyExistsFault "AlreadyExists" +// You already have an Auto Scaling group or launch configuration with this +// name. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeLimitExceededFault "LimitExceeded" +// You have already reached a limit for your Amazon EC2 Auto Scaling resources +// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). +// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) +// in the Amazon EC2 Auto Scaling API Reference. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BatchPutScheduledUpdateGroupAction func (c *AutoScaling) BatchPutScheduledUpdateGroupAction(input *BatchPutScheduledUpdateGroupActionInput) (*BatchPutScheduledUpdateGroupActionOutput, error) { @@ -504,14 +502,13 @@ const opCancelInstanceRefresh = "CancelInstanceRefresh" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelInstanceRefreshRequest method. +// req, resp := client.CancelInstanceRefreshRequest(params) // -// // Example sending a request using the CancelInstanceRefreshRequest method. -// req, resp := client.CancelInstanceRefreshRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CancelInstanceRefresh func (c *AutoScaling) CancelInstanceRefreshRequest(input *CancelInstanceRefreshInput) (req *request.Request, output *CancelInstanceRefreshOutput) { @@ -548,19 +545,20 @@ func (c *AutoScaling) CancelInstanceRefreshRequest(input *CancelInstanceRefreshI // API operation CancelInstanceRefresh for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededFault "LimitExceeded" -// You have already reached a limit for your Amazon EC2 Auto Scaling resources -// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). -// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) -// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeLimitExceededFault "LimitExceeded" +// You have already reached a limit for your Amazon EC2 Auto Scaling resources +// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). +// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) +// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeActiveInstanceRefreshNotFoundFault "ActiveInstanceRefreshNotFound" -// The request failed because an active instance refresh for the specified Auto -// Scaling group was not found. +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). +// +// - ErrCodeActiveInstanceRefreshNotFoundFault "ActiveInstanceRefreshNotFound" +// The request failed because an active instance refresh for the specified Auto +// Scaling group was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CancelInstanceRefresh func (c *AutoScaling) CancelInstanceRefresh(input *CancelInstanceRefreshInput) (*CancelInstanceRefreshOutput, error) { @@ -600,14 +598,13 @@ const opCompleteLifecycleAction = "CompleteLifecycleAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CompleteLifecycleActionRequest method. +// req, resp := client.CompleteLifecycleActionRequest(params) // -// // Example sending a request using the CompleteLifecycleActionRequest method. -// req, resp := client.CompleteLifecycleActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleAction func (c *AutoScaling) CompleteLifecycleActionRequest(input *CompleteLifecycleActionInput) (req *request.Request, output *CompleteLifecycleActionOutput) { @@ -667,9 +664,9 @@ func (c *AutoScaling) CompleteLifecycleActionRequest(input *CompleteLifecycleAct // API operation CompleteLifecycleAction for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleAction func (c *AutoScaling) CompleteLifecycleAction(input *CompleteLifecycleActionInput) (*CompleteLifecycleActionOutput, error) { @@ -709,14 +706,13 @@ const opCreateAutoScalingGroup = "CreateAutoScalingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAutoScalingGroupRequest method. +// req, resp := client.CreateAutoScalingGroupRequest(params) // -// // Example sending a request using the CreateAutoScalingGroupRequest method. -// req, resp := client.CreateAutoScalingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup func (c *AutoScaling) CreateAutoScalingGroupRequest(input *CreateAutoScalingGroupInput) (req *request.Request, output *CreateAutoScalingGroupOutput) { @@ -769,22 +765,23 @@ func (c *AutoScaling) CreateAutoScalingGroupRequest(input *CreateAutoScalingGrou // API operation CreateAutoScalingGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeAlreadyExistsFault "AlreadyExists" -// You already have an Auto Scaling group or launch configuration with this -// name. // -// * ErrCodeLimitExceededFault "LimitExceeded" -// You have already reached a limit for your Amazon EC2 Auto Scaling resources -// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). -// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) -// in the Amazon EC2 Auto Scaling API Reference. +// - ErrCodeAlreadyExistsFault "AlreadyExists" +// You already have an Auto Scaling group or launch configuration with this +// name. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeLimitExceededFault "LimitExceeded" +// You have already reached a limit for your Amazon EC2 Auto Scaling resources +// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). +// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) +// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" -// The service-linked role is not yet ready for use. +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). +// +// - ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" +// The service-linked role is not yet ready for use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup func (c *AutoScaling) CreateAutoScalingGroup(input *CreateAutoScalingGroupInput) (*CreateAutoScalingGroupOutput, error) { @@ -824,14 +821,13 @@ const opCreateLaunchConfiguration = "CreateLaunchConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLaunchConfigurationRequest method. +// req, resp := client.CreateLaunchConfigurationRequest(params) // -// // Example sending a request using the CreateLaunchConfigurationRequest method. -// req, resp := client.CreateLaunchConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfiguration func (c *AutoScaling) CreateLaunchConfigurationRequest(input *CreateLaunchConfigurationInput) (req *request.Request, output *CreateLaunchConfigurationOutput) { @@ -871,19 +867,20 @@ func (c *AutoScaling) CreateLaunchConfigurationRequest(input *CreateLaunchConfig // API operation CreateLaunchConfiguration for usage and error information. // // Returned Error Codes: -// * ErrCodeAlreadyExistsFault "AlreadyExists" -// You already have an Auto Scaling group or launch configuration with this -// name. // -// * ErrCodeLimitExceededFault "LimitExceeded" -// You have already reached a limit for your Amazon EC2 Auto Scaling resources -// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). -// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) -// in the Amazon EC2 Auto Scaling API Reference. +// - ErrCodeAlreadyExistsFault "AlreadyExists" +// You already have an Auto Scaling group or launch configuration with this +// name. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeLimitExceededFault "LimitExceeded" +// You have already reached a limit for your Amazon EC2 Auto Scaling resources +// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). +// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) +// in the Amazon EC2 Auto Scaling API Reference. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfiguration func (c *AutoScaling) CreateLaunchConfiguration(input *CreateLaunchConfigurationInput) (*CreateLaunchConfigurationOutput, error) { @@ -923,14 +920,13 @@ const opCreateOrUpdateTags = "CreateOrUpdateTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOrUpdateTagsRequest method. +// req, resp := client.CreateOrUpdateTagsRequest(params) // -// // Example sending a request using the CreateOrUpdateTagsRequest method. -// req, resp := client.CreateOrUpdateTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateOrUpdateTags func (c *AutoScaling) CreateOrUpdateTagsRequest(input *CreateOrUpdateTagsInput) (req *request.Request, output *CreateOrUpdateTagsOutput) { @@ -968,22 +964,23 @@ func (c *AutoScaling) CreateOrUpdateTagsRequest(input *CreateOrUpdateTagsInput) // API operation CreateOrUpdateTags for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededFault "LimitExceeded" -// You have already reached a limit for your Amazon EC2 Auto Scaling resources -// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). -// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) -// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeAlreadyExistsFault "AlreadyExists" -// You already have an Auto Scaling group or launch configuration with this -// name. +// - ErrCodeLimitExceededFault "LimitExceeded" +// You have already reached a limit for your Amazon EC2 Auto Scaling resources +// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). +// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) +// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeAlreadyExistsFault "AlreadyExists" +// You already have an Auto Scaling group or launch configuration with this +// name. // -// * ErrCodeResourceInUseFault "ResourceInUse" -// The operation can't be performed because the resource is in use. +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). +// +// - ErrCodeResourceInUseFault "ResourceInUse" +// The operation can't be performed because the resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateOrUpdateTags func (c *AutoScaling) CreateOrUpdateTags(input *CreateOrUpdateTagsInput) (*CreateOrUpdateTagsOutput, error) { @@ -1023,14 +1020,13 @@ const opDeleteAutoScalingGroup = "DeleteAutoScalingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAutoScalingGroupRequest method. +// req, resp := client.DeleteAutoScalingGroupRequest(params) // -// // Example sending a request using the DeleteAutoScalingGroupRequest method. -// req, resp := client.DeleteAutoScalingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteAutoScalingGroup func (c *AutoScaling) DeleteAutoScalingGroupRequest(input *DeleteAutoScalingGroupInput) (req *request.Request, output *DeleteAutoScalingGroupOutput) { @@ -1077,16 +1073,17 @@ func (c *AutoScaling) DeleteAutoScalingGroupRequest(input *DeleteAutoScalingGrou // API operation DeleteAutoScalingGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress" -// The operation can't be performed because there are scaling activities in -// progress. // -// * ErrCodeResourceInUseFault "ResourceInUse" -// The operation can't be performed because the resource is in use. +// - ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress" +// The operation can't be performed because there are scaling activities in +// progress. +// +// - ErrCodeResourceInUseFault "ResourceInUse" +// The operation can't be performed because the resource is in use. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteAutoScalingGroup func (c *AutoScaling) DeleteAutoScalingGroup(input *DeleteAutoScalingGroupInput) (*DeleteAutoScalingGroupOutput, error) { @@ -1126,14 +1123,13 @@ const opDeleteLaunchConfiguration = "DeleteLaunchConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLaunchConfigurationRequest method. +// req, resp := client.DeleteLaunchConfigurationRequest(params) // -// // Example sending a request using the DeleteLaunchConfigurationRequest method. -// req, resp := client.DeleteLaunchConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLaunchConfiguration func (c *AutoScaling) DeleteLaunchConfigurationRequest(input *DeleteLaunchConfigurationInput) (req *request.Request, output *DeleteLaunchConfigurationOutput) { @@ -1169,12 +1165,13 @@ func (c *AutoScaling) DeleteLaunchConfigurationRequest(input *DeleteLaunchConfig // API operation DeleteLaunchConfiguration for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceInUseFault "ResourceInUse" -// The operation can't be performed because the resource is in use. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceInUseFault "ResourceInUse" +// The operation can't be performed because the resource is in use. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLaunchConfiguration func (c *AutoScaling) DeleteLaunchConfiguration(input *DeleteLaunchConfigurationInput) (*DeleteLaunchConfigurationOutput, error) { @@ -1214,14 +1211,13 @@ const opDeleteLifecycleHook = "DeleteLifecycleHook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLifecycleHookRequest method. +// req, resp := client.DeleteLifecycleHookRequest(params) // -// // Example sending a request using the DeleteLifecycleHookRequest method. -// req, resp := client.DeleteLifecycleHookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHook func (c *AutoScaling) DeleteLifecycleHookRequest(input *DeleteLifecycleHookInput) (req *request.Request, output *DeleteLifecycleHookOutput) { @@ -1256,9 +1252,9 @@ func (c *AutoScaling) DeleteLifecycleHookRequest(input *DeleteLifecycleHookInput // API operation DeleteLifecycleHook for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHook func (c *AutoScaling) DeleteLifecycleHook(input *DeleteLifecycleHookInput) (*DeleteLifecycleHookOutput, error) { @@ -1298,14 +1294,13 @@ const opDeleteNotificationConfiguration = "DeleteNotificationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNotificationConfigurationRequest method. +// req, resp := client.DeleteNotificationConfigurationRequest(params) // -// // Example sending a request using the DeleteNotificationConfigurationRequest method. -// req, resp := client.DeleteNotificationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfiguration func (c *AutoScaling) DeleteNotificationConfigurationRequest(input *DeleteNotificationConfigurationInput) (req *request.Request, output *DeleteNotificationConfigurationOutput) { @@ -1337,9 +1332,9 @@ func (c *AutoScaling) DeleteNotificationConfigurationRequest(input *DeleteNotifi // API operation DeleteNotificationConfiguration for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfiguration func (c *AutoScaling) DeleteNotificationConfiguration(input *DeleteNotificationConfigurationInput) (*DeleteNotificationConfigurationOutput, error) { @@ -1379,14 +1374,13 @@ const opDeletePolicy = "DeletePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePolicyRequest method. +// req, resp := client.DeletePolicyRequest(params) // -// // Example sending a request using the DeletePolicyRequest method. -// req, resp := client.DeletePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeletePolicy func (c *AutoScaling) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Request, output *DeletePolicyOutput) { @@ -1425,12 +1419,13 @@ func (c *AutoScaling) DeletePolicyRequest(input *DeletePolicyInput) (req *reques // API operation DeletePolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). // -// * ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" -// The service-linked role is not yet ready for use. +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). +// +// - ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" +// The service-linked role is not yet ready for use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeletePolicy func (c *AutoScaling) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error) { @@ -1470,14 +1465,13 @@ const opDeleteScheduledAction = "DeleteScheduledAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteScheduledActionRequest method. +// req, resp := client.DeleteScheduledActionRequest(params) // -// // Example sending a request using the DeleteScheduledActionRequest method. -// req, resp := client.DeleteScheduledActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteScheduledAction func (c *AutoScaling) DeleteScheduledActionRequest(input *DeleteScheduledActionInput) (req *request.Request, output *DeleteScheduledActionOutput) { @@ -1509,9 +1503,9 @@ func (c *AutoScaling) DeleteScheduledActionRequest(input *DeleteScheduledActionI // API operation DeleteScheduledAction for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteScheduledAction func (c *AutoScaling) DeleteScheduledAction(input *DeleteScheduledActionInput) (*DeleteScheduledActionOutput, error) { @@ -1551,14 +1545,13 @@ const opDeleteTags = "DeleteTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTagsRequest method. +// req, resp := client.DeleteTagsRequest(params) // -// // Example sending a request using the DeleteTagsRequest method. -// req, resp := client.DeleteTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteTags func (c *AutoScaling) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { @@ -1590,12 +1583,13 @@ func (c *AutoScaling) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Re // API operation DeleteTags for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). // -// * ErrCodeResourceInUseFault "ResourceInUse" -// The operation can't be performed because the resource is in use. +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). +// +// - ErrCodeResourceInUseFault "ResourceInUse" +// The operation can't be performed because the resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteTags func (c *AutoScaling) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) { @@ -1635,14 +1629,13 @@ const opDeleteWarmPool = "DeleteWarmPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWarmPoolRequest method. +// req, resp := client.DeleteWarmPoolRequest(params) // -// // Example sending a request using the DeleteWarmPoolRequest method. -// req, resp := client.DeleteWarmPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteWarmPool func (c *AutoScaling) DeleteWarmPoolRequest(input *DeleteWarmPoolInput) (req *request.Request, output *DeleteWarmPoolOutput) { @@ -1677,22 +1670,23 @@ func (c *AutoScaling) DeleteWarmPoolRequest(input *DeleteWarmPoolInput) (req *re // API operation DeleteWarmPool for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededFault "LimitExceeded" -// You have already reached a limit for your Amazon EC2 Auto Scaling resources -// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). -// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) -// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeLimitExceededFault "LimitExceeded" +// You have already reached a limit for your Amazon EC2 Auto Scaling resources +// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). +// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) +// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress" -// The operation can't be performed because there are scaling activities in -// progress. +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // -// * ErrCodeResourceInUseFault "ResourceInUse" -// The operation can't be performed because the resource is in use. +// - ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress" +// The operation can't be performed because there are scaling activities in +// progress. +// +// - ErrCodeResourceInUseFault "ResourceInUse" +// The operation can't be performed because the resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteWarmPool func (c *AutoScaling) DeleteWarmPool(input *DeleteWarmPoolInput) (*DeleteWarmPoolOutput, error) { @@ -1732,14 +1726,13 @@ const opDescribeAccountLimits = "DescribeAccountLimits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountLimitsRequest method. +// req, resp := client.DescribeAccountLimitsRequest(params) // -// // Example sending a request using the DescribeAccountLimitsRequest method. -// req, resp := client.DescribeAccountLimitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountLimits func (c *AutoScaling) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) (req *request.Request, output *DescribeAccountLimitsOutput) { @@ -1776,9 +1769,9 @@ func (c *AutoScaling) DescribeAccountLimitsRequest(input *DescribeAccountLimitsI // API operation DescribeAccountLimits for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountLimits func (c *AutoScaling) DescribeAccountLimits(input *DescribeAccountLimitsInput) (*DescribeAccountLimitsOutput, error) { @@ -1818,14 +1811,13 @@ const opDescribeAdjustmentTypes = "DescribeAdjustmentTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAdjustmentTypesRequest method. +// req, resp := client.DescribeAdjustmentTypesRequest(params) // -// // Example sending a request using the DescribeAdjustmentTypesRequest method. -// req, resp := client.DescribeAdjustmentTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAdjustmentTypes func (c *AutoScaling) DescribeAdjustmentTypesRequest(input *DescribeAdjustmentTypesInput) (req *request.Request, output *DescribeAdjustmentTypesOutput) { @@ -1851,11 +1843,11 @@ func (c *AutoScaling) DescribeAdjustmentTypesRequest(input *DescribeAdjustmentTy // // The following adjustment types are supported: // -// * ChangeInCapacity +// - ChangeInCapacity // -// * ExactCapacity +// - ExactCapacity // -// * PercentChangeInCapacity +// - PercentChangeInCapacity // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1865,9 +1857,9 @@ func (c *AutoScaling) DescribeAdjustmentTypesRequest(input *DescribeAdjustmentTy // API operation DescribeAdjustmentTypes for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAdjustmentTypes func (c *AutoScaling) DescribeAdjustmentTypes(input *DescribeAdjustmentTypesInput) (*DescribeAdjustmentTypesOutput, error) { @@ -1907,14 +1899,13 @@ const opDescribeAutoScalingGroups = "DescribeAutoScalingGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAutoScalingGroupsRequest method. +// req, resp := client.DescribeAutoScalingGroupsRequest(params) // -// // Example sending a request using the DescribeAutoScalingGroupsRequest method. -// req, resp := client.DescribeAutoScalingGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingGroups func (c *AutoScaling) DescribeAutoScalingGroupsRequest(input *DescribeAutoScalingGroupsInput) (req *request.Request, output *DescribeAutoScalingGroupsOutput) { @@ -1961,12 +1952,13 @@ func (c *AutoScaling) DescribeAutoScalingGroupsRequest(input *DescribeAutoScalin // API operation DescribeAutoScalingGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The NextToken value is not valid. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The NextToken value is not valid. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingGroups func (c *AutoScaling) DescribeAutoScalingGroups(input *DescribeAutoScalingGroupsInput) (*DescribeAutoScalingGroupsOutput, error) { @@ -1998,15 +1990,14 @@ func (c *AutoScaling) DescribeAutoScalingGroupsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAutoScalingGroups operation. -// pageNum := 0 -// err := client.DescribeAutoScalingGroupsPages(params, -// func(page *autoscaling.DescribeAutoScalingGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAutoScalingGroups operation. +// pageNum := 0 +// err := client.DescribeAutoScalingGroupsPages(params, +// func(page *autoscaling.DescribeAutoScalingGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AutoScaling) DescribeAutoScalingGroupsPages(input *DescribeAutoScalingGroupsInput, fn func(*DescribeAutoScalingGroupsOutput, bool) bool) error { return c.DescribeAutoScalingGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2058,14 +2049,13 @@ const opDescribeAutoScalingInstances = "DescribeAutoScalingInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAutoScalingInstancesRequest method. +// req, resp := client.DescribeAutoScalingInstancesRequest(params) // -// // Example sending a request using the DescribeAutoScalingInstancesRequest method. -// req, resp := client.DescribeAutoScalingInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingInstances func (c *AutoScaling) DescribeAutoScalingInstancesRequest(input *DescribeAutoScalingInstancesInput) (req *request.Request, output *DescribeAutoScalingInstancesOutput) { @@ -2102,12 +2092,13 @@ func (c *AutoScaling) DescribeAutoScalingInstancesRequest(input *DescribeAutoSca // API operation DescribeAutoScalingInstances for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The NextToken value is not valid. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The NextToken value is not valid. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingInstances func (c *AutoScaling) DescribeAutoScalingInstances(input *DescribeAutoScalingInstancesInput) (*DescribeAutoScalingInstancesOutput, error) { @@ -2139,15 +2130,14 @@ func (c *AutoScaling) DescribeAutoScalingInstancesWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAutoScalingInstances operation. -// pageNum := 0 -// err := client.DescribeAutoScalingInstancesPages(params, -// func(page *autoscaling.DescribeAutoScalingInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAutoScalingInstances operation. +// pageNum := 0 +// err := client.DescribeAutoScalingInstancesPages(params, +// func(page *autoscaling.DescribeAutoScalingInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AutoScaling) DescribeAutoScalingInstancesPages(input *DescribeAutoScalingInstancesInput, fn func(*DescribeAutoScalingInstancesOutput, bool) bool) error { return c.DescribeAutoScalingInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2199,14 +2189,13 @@ const opDescribeAutoScalingNotificationTypes = "DescribeAutoScalingNotificationT // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAutoScalingNotificationTypesRequest method. +// req, resp := client.DescribeAutoScalingNotificationTypesRequest(params) // -// // Example sending a request using the DescribeAutoScalingNotificationTypesRequest method. -// req, resp := client.DescribeAutoScalingNotificationTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingNotificationTypes func (c *AutoScaling) DescribeAutoScalingNotificationTypesRequest(input *DescribeAutoScalingNotificationTypesInput) (req *request.Request, output *DescribeAutoScalingNotificationTypesOutput) { @@ -2237,9 +2226,9 @@ func (c *AutoScaling) DescribeAutoScalingNotificationTypesRequest(input *Describ // API operation DescribeAutoScalingNotificationTypes for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAutoScalingNotificationTypes func (c *AutoScaling) DescribeAutoScalingNotificationTypes(input *DescribeAutoScalingNotificationTypesInput) (*DescribeAutoScalingNotificationTypesOutput, error) { @@ -2279,14 +2268,13 @@ const opDescribeInstanceRefreshes = "DescribeInstanceRefreshes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceRefreshesRequest method. +// req, resp := client.DescribeInstanceRefreshesRequest(params) // -// // Example sending a request using the DescribeInstanceRefreshesRequest method. -// req, resp := client.DescribeInstanceRefreshesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeInstanceRefreshes func (c *AutoScaling) DescribeInstanceRefreshesRequest(input *DescribeInstanceRefreshesInput) (req *request.Request, output *DescribeInstanceRefreshesOutput) { @@ -2322,20 +2310,20 @@ func (c *AutoScaling) DescribeInstanceRefreshesRequest(input *DescribeInstanceRe // // The following are the possible statuses: // -// * Pending - The request was created, but the operation has not started. +// - Pending - The request was created, but the operation has not started. // -// * InProgress - The operation is in progress. +// - InProgress - The operation is in progress. // -// * Successful - The operation completed successfully. +// - Successful - The operation completed successfully. // -// * Failed - The operation failed to complete. You can troubleshoot using -// the status reason and the scaling activities. +// - Failed - The operation failed to complete. You can troubleshoot using +// the status reason and the scaling activities. // -// * Cancelling - An ongoing operation is being cancelled. Cancellation does -// not roll back any replacements that have already been completed, but it -// prevents new replacements from being started. +// - Cancelling - An ongoing operation is being cancelled. Cancellation does +// not roll back any replacements that have already been completed, but it +// prevents new replacements from being started. // -// * Cancelled - The operation is cancelled. +// - Cancelled - The operation is cancelled. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2345,12 +2333,13 @@ func (c *AutoScaling) DescribeInstanceRefreshesRequest(input *DescribeInstanceRe // API operation DescribeInstanceRefreshes for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The NextToken value is not valid. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The NextToken value is not valid. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeInstanceRefreshes func (c *AutoScaling) DescribeInstanceRefreshes(input *DescribeInstanceRefreshesInput) (*DescribeInstanceRefreshesOutput, error) { @@ -2390,14 +2379,13 @@ const opDescribeLaunchConfigurations = "DescribeLaunchConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLaunchConfigurationsRequest method. +// req, resp := client.DescribeLaunchConfigurationsRequest(params) // -// // Example sending a request using the DescribeLaunchConfigurationsRequest method. -// req, resp := client.DescribeLaunchConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLaunchConfigurations func (c *AutoScaling) DescribeLaunchConfigurationsRequest(input *DescribeLaunchConfigurationsInput) (req *request.Request, output *DescribeLaunchConfigurationsOutput) { @@ -2434,12 +2422,13 @@ func (c *AutoScaling) DescribeLaunchConfigurationsRequest(input *DescribeLaunchC // API operation DescribeLaunchConfigurations for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The NextToken value is not valid. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The NextToken value is not valid. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLaunchConfigurations func (c *AutoScaling) DescribeLaunchConfigurations(input *DescribeLaunchConfigurationsInput) (*DescribeLaunchConfigurationsOutput, error) { @@ -2471,15 +2460,14 @@ func (c *AutoScaling) DescribeLaunchConfigurationsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeLaunchConfigurations operation. -// pageNum := 0 -// err := client.DescribeLaunchConfigurationsPages(params, -// func(page *autoscaling.DescribeLaunchConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeLaunchConfigurations operation. +// pageNum := 0 +// err := client.DescribeLaunchConfigurationsPages(params, +// func(page *autoscaling.DescribeLaunchConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AutoScaling) DescribeLaunchConfigurationsPages(input *DescribeLaunchConfigurationsInput, fn func(*DescribeLaunchConfigurationsOutput, bool) bool) error { return c.DescribeLaunchConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2531,14 +2519,13 @@ const opDescribeLifecycleHookTypes = "DescribeLifecycleHookTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLifecycleHookTypesRequest method. +// req, resp := client.DescribeLifecycleHookTypesRequest(params) // -// // Example sending a request using the DescribeLifecycleHookTypesRequest method. -// req, resp := client.DescribeLifecycleHookTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHookTypes func (c *AutoScaling) DescribeLifecycleHookTypesRequest(input *DescribeLifecycleHookTypesInput) (req *request.Request, output *DescribeLifecycleHookTypesOutput) { @@ -2563,9 +2550,9 @@ func (c *AutoScaling) DescribeLifecycleHookTypesRequest(input *DescribeLifecycle // // The following hook types are supported: // -// * autoscaling:EC2_INSTANCE_LAUNCHING +// - autoscaling:EC2_INSTANCE_LAUNCHING // -// * autoscaling:EC2_INSTANCE_TERMINATING +// - autoscaling:EC2_INSTANCE_TERMINATING // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2575,9 +2562,9 @@ func (c *AutoScaling) DescribeLifecycleHookTypesRequest(input *DescribeLifecycle // API operation DescribeLifecycleHookTypes for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHookTypes func (c *AutoScaling) DescribeLifecycleHookTypes(input *DescribeLifecycleHookTypesInput) (*DescribeLifecycleHookTypesOutput, error) { @@ -2617,14 +2604,13 @@ const opDescribeLifecycleHooks = "DescribeLifecycleHooks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLifecycleHooksRequest method. +// req, resp := client.DescribeLifecycleHooksRequest(params) // -// // Example sending a request using the DescribeLifecycleHooksRequest method. -// req, resp := client.DescribeLifecycleHooksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooks func (c *AutoScaling) DescribeLifecycleHooksRequest(input *DescribeLifecycleHooksInput) (req *request.Request, output *DescribeLifecycleHooksOutput) { @@ -2656,9 +2642,9 @@ func (c *AutoScaling) DescribeLifecycleHooksRequest(input *DescribeLifecycleHook // API operation DescribeLifecycleHooks for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLifecycleHooks func (c *AutoScaling) DescribeLifecycleHooks(input *DescribeLifecycleHooksInput) (*DescribeLifecycleHooksOutput, error) { @@ -2698,14 +2684,13 @@ const opDescribeLoadBalancerTargetGroups = "DescribeLoadBalancerTargetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLoadBalancerTargetGroupsRequest method. +// req, resp := client.DescribeLoadBalancerTargetGroupsRequest(params) // -// // Example sending a request using the DescribeLoadBalancerTargetGroupsRequest method. -// req, resp := client.DescribeLoadBalancerTargetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroups func (c *AutoScaling) DescribeLoadBalancerTargetGroupsRequest(input *DescribeLoadBalancerTargetGroupsInput) (req *request.Request, output *DescribeLoadBalancerTargetGroupsOutput) { @@ -2759,12 +2744,13 @@ func (c *AutoScaling) DescribeLoadBalancerTargetGroupsRequest(input *DescribeLoa // API operation DescribeLoadBalancerTargetGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). // -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The NextToken value is not valid. +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). +// +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The NextToken value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancerTargetGroups func (c *AutoScaling) DescribeLoadBalancerTargetGroups(input *DescribeLoadBalancerTargetGroupsInput) (*DescribeLoadBalancerTargetGroupsOutput, error) { @@ -2804,14 +2790,13 @@ const opDescribeLoadBalancers = "DescribeLoadBalancers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLoadBalancersRequest method. +// req, resp := client.DescribeLoadBalancersRequest(params) // -// // Example sending a request using the DescribeLoadBalancersRequest method. -// req, resp := client.DescribeLoadBalancersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancers func (c *AutoScaling) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) (req *request.Request, output *DescribeLoadBalancersOutput) { @@ -2869,12 +2854,13 @@ func (c *AutoScaling) DescribeLoadBalancersRequest(input *DescribeLoadBalancersI // API operation DescribeLoadBalancers for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). // -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The NextToken value is not valid. +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). +// +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The NextToken value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLoadBalancers func (c *AutoScaling) DescribeLoadBalancers(input *DescribeLoadBalancersInput) (*DescribeLoadBalancersOutput, error) { @@ -2914,14 +2900,13 @@ const opDescribeMetricCollectionTypes = "DescribeMetricCollectionTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMetricCollectionTypesRequest method. +// req, resp := client.DescribeMetricCollectionTypesRequest(params) // -// // Example sending a request using the DescribeMetricCollectionTypesRequest method. -// req, resp := client.DescribeMetricCollectionTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeMetricCollectionTypes func (c *AutoScaling) DescribeMetricCollectionTypesRequest(input *DescribeMetricCollectionTypesInput) (req *request.Request, output *DescribeMetricCollectionTypesOutput) { @@ -2955,9 +2940,9 @@ func (c *AutoScaling) DescribeMetricCollectionTypesRequest(input *DescribeMetric // API operation DescribeMetricCollectionTypes for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeMetricCollectionTypes func (c *AutoScaling) DescribeMetricCollectionTypes(input *DescribeMetricCollectionTypesInput) (*DescribeMetricCollectionTypesOutput, error) { @@ -2997,14 +2982,13 @@ const opDescribeNotificationConfigurations = "DescribeNotificationConfigurations // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNotificationConfigurationsRequest method. +// req, resp := client.DescribeNotificationConfigurationsRequest(params) // -// // Example sending a request using the DescribeNotificationConfigurationsRequest method. -// req, resp := client.DescribeNotificationConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurations func (c *AutoScaling) DescribeNotificationConfigurationsRequest(input *DescribeNotificationConfigurationsInput) (req *request.Request, output *DescribeNotificationConfigurationsOutput) { @@ -3042,12 +3026,13 @@ func (c *AutoScaling) DescribeNotificationConfigurationsRequest(input *DescribeN // API operation DescribeNotificationConfigurations for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The NextToken value is not valid. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The NextToken value is not valid. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeNotificationConfigurations func (c *AutoScaling) DescribeNotificationConfigurations(input *DescribeNotificationConfigurationsInput) (*DescribeNotificationConfigurationsOutput, error) { @@ -3079,15 +3064,14 @@ func (c *AutoScaling) DescribeNotificationConfigurationsWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeNotificationConfigurations operation. -// pageNum := 0 -// err := client.DescribeNotificationConfigurationsPages(params, -// func(page *autoscaling.DescribeNotificationConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeNotificationConfigurations operation. +// pageNum := 0 +// err := client.DescribeNotificationConfigurationsPages(params, +// func(page *autoscaling.DescribeNotificationConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AutoScaling) DescribeNotificationConfigurationsPages(input *DescribeNotificationConfigurationsInput, fn func(*DescribeNotificationConfigurationsOutput, bool) bool) error { return c.DescribeNotificationConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3139,14 +3123,13 @@ const opDescribePolicies = "DescribePolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePoliciesRequest method. +// req, resp := client.DescribePoliciesRequest(params) // -// // Example sending a request using the DescribePoliciesRequest method. -// req, resp := client.DescribePoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribePolicies func (c *AutoScaling) DescribePoliciesRequest(input *DescribePoliciesInput) (req *request.Request, output *DescribePoliciesOutput) { @@ -3183,15 +3166,16 @@ func (c *AutoScaling) DescribePoliciesRequest(input *DescribePoliciesInput) (req // API operation DescribePolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The NextToken value is not valid. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The NextToken value is not valid. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // -// * ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" -// The service-linked role is not yet ready for use. +// - ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" +// The service-linked role is not yet ready for use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribePolicies func (c *AutoScaling) DescribePolicies(input *DescribePoliciesInput) (*DescribePoliciesOutput, error) { @@ -3223,15 +3207,14 @@ func (c *AutoScaling) DescribePoliciesWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePolicies operation. -// pageNum := 0 -// err := client.DescribePoliciesPages(params, -// func(page *autoscaling.DescribePoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePolicies operation. +// pageNum := 0 +// err := client.DescribePoliciesPages(params, +// func(page *autoscaling.DescribePoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AutoScaling) DescribePoliciesPages(input *DescribePoliciesInput, fn func(*DescribePoliciesOutput, bool) bool) error { return c.DescribePoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3283,14 +3266,13 @@ const opDescribeScalingActivities = "DescribeScalingActivities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScalingActivitiesRequest method. +// req, resp := client.DescribeScalingActivitiesRequest(params) // -// // Example sending a request using the DescribeScalingActivitiesRequest method. -// req, resp := client.DescribeScalingActivitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingActivities func (c *AutoScaling) DescribeScalingActivitiesRequest(input *DescribeScalingActivitiesInput) (req *request.Request, output *DescribeScalingActivitiesOutput) { @@ -3339,12 +3321,13 @@ func (c *AutoScaling) DescribeScalingActivitiesRequest(input *DescribeScalingAct // API operation DescribeScalingActivities for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The NextToken value is not valid. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The NextToken value is not valid. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingActivities func (c *AutoScaling) DescribeScalingActivities(input *DescribeScalingActivitiesInput) (*DescribeScalingActivitiesOutput, error) { @@ -3376,15 +3359,14 @@ func (c *AutoScaling) DescribeScalingActivitiesWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeScalingActivities operation. -// pageNum := 0 -// err := client.DescribeScalingActivitiesPages(params, -// func(page *autoscaling.DescribeScalingActivitiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeScalingActivities operation. +// pageNum := 0 +// err := client.DescribeScalingActivitiesPages(params, +// func(page *autoscaling.DescribeScalingActivitiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AutoScaling) DescribeScalingActivitiesPages(input *DescribeScalingActivitiesInput, fn func(*DescribeScalingActivitiesOutput, bool) bool) error { return c.DescribeScalingActivitiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3436,14 +3418,13 @@ const opDescribeScalingProcessTypes = "DescribeScalingProcessTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScalingProcessTypesRequest method. +// req, resp := client.DescribeScalingProcessTypesRequest(params) // -// // Example sending a request using the DescribeScalingProcessTypesRequest method. -// req, resp := client.DescribeScalingProcessTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingProcessTypes func (c *AutoScaling) DescribeScalingProcessTypesRequest(input *DescribeScalingProcessTypesInput) (req *request.Request, output *DescribeScalingProcessTypesOutput) { @@ -3475,9 +3456,9 @@ func (c *AutoScaling) DescribeScalingProcessTypesRequest(input *DescribeScalingP // API operation DescribeScalingProcessTypes for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScalingProcessTypes func (c *AutoScaling) DescribeScalingProcessTypes(input *DescribeScalingProcessTypesInput) (*DescribeScalingProcessTypesOutput, error) { @@ -3517,14 +3498,13 @@ const opDescribeScheduledActions = "DescribeScheduledActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScheduledActionsRequest method. +// req, resp := client.DescribeScheduledActionsRequest(params) // -// // Example sending a request using the DescribeScheduledActionsRequest method. -// req, resp := client.DescribeScheduledActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScheduledActions func (c *AutoScaling) DescribeScheduledActionsRequest(input *DescribeScheduledActionsInput) (req *request.Request, output *DescribeScheduledActionsOutput) { @@ -3565,12 +3545,13 @@ func (c *AutoScaling) DescribeScheduledActionsRequest(input *DescribeScheduledAc // API operation DescribeScheduledActions for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The NextToken value is not valid. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The NextToken value is not valid. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeScheduledActions func (c *AutoScaling) DescribeScheduledActions(input *DescribeScheduledActionsInput) (*DescribeScheduledActionsOutput, error) { @@ -3602,15 +3583,14 @@ func (c *AutoScaling) DescribeScheduledActionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeScheduledActions operation. -// pageNum := 0 -// err := client.DescribeScheduledActionsPages(params, -// func(page *autoscaling.DescribeScheduledActionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeScheduledActions operation. +// pageNum := 0 +// err := client.DescribeScheduledActionsPages(params, +// func(page *autoscaling.DescribeScheduledActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AutoScaling) DescribeScheduledActionsPages(input *DescribeScheduledActionsInput, fn func(*DescribeScheduledActionsOutput, bool) bool) error { return c.DescribeScheduledActionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3662,14 +3642,13 @@ const opDescribeTags = "DescribeTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTagsRequest method. +// req, resp := client.DescribeTagsRequest(params) // -// // Example sending a request using the DescribeTagsRequest method. -// req, resp := client.DescribeTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTags func (c *AutoScaling) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { @@ -3718,12 +3697,13 @@ func (c *AutoScaling) DescribeTagsRequest(input *DescribeTagsInput) (req *reques // API operation DescribeTags for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The NextToken value is not valid. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The NextToken value is not valid. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTags func (c *AutoScaling) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { @@ -3755,15 +3735,14 @@ func (c *AutoScaling) DescribeTagsWithContext(ctx aws.Context, input *DescribeTa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTags operation. -// pageNum := 0 -// err := client.DescribeTagsPages(params, -// func(page *autoscaling.DescribeTagsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTags operation. +// pageNum := 0 +// err := client.DescribeTagsPages(params, +// func(page *autoscaling.DescribeTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *AutoScaling) DescribeTagsPages(input *DescribeTagsInput, fn func(*DescribeTagsOutput, bool) bool) error { return c.DescribeTagsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3815,14 +3794,13 @@ const opDescribeTerminationPolicyTypes = "DescribeTerminationPolicyTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTerminationPolicyTypesRequest method. +// req, resp := client.DescribeTerminationPolicyTypesRequest(params) // -// // Example sending a request using the DescribeTerminationPolicyTypesRequest method. -// req, resp := client.DescribeTerminationPolicyTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTerminationPolicyTypes func (c *AutoScaling) DescribeTerminationPolicyTypesRequest(input *DescribeTerminationPolicyTypesInput) (req *request.Request, output *DescribeTerminationPolicyTypesOutput) { @@ -3857,9 +3835,9 @@ func (c *AutoScaling) DescribeTerminationPolicyTypesRequest(input *DescribeTermi // API operation DescribeTerminationPolicyTypes for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeTerminationPolicyTypes func (c *AutoScaling) DescribeTerminationPolicyTypes(input *DescribeTerminationPolicyTypesInput) (*DescribeTerminationPolicyTypesOutput, error) { @@ -3899,14 +3877,13 @@ const opDescribeWarmPool = "DescribeWarmPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWarmPoolRequest method. +// req, resp := client.DescribeWarmPoolRequest(params) // -// // Example sending a request using the DescribeWarmPoolRequest method. -// req, resp := client.DescribeWarmPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeWarmPool func (c *AutoScaling) DescribeWarmPoolRequest(input *DescribeWarmPoolInput) (req *request.Request, output *DescribeWarmPoolOutput) { @@ -3940,18 +3917,19 @@ func (c *AutoScaling) DescribeWarmPoolRequest(input *DescribeWarmPoolInput) (req // API operation DescribeWarmPool for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The NextToken value is not valid. // -// * ErrCodeLimitExceededFault "LimitExceeded" -// You have already reached a limit for your Amazon EC2 Auto Scaling resources -// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). -// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) -// in the Amazon EC2 Auto Scaling API Reference. +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The NextToken value is not valid. +// +// - ErrCodeLimitExceededFault "LimitExceeded" +// You have already reached a limit for your Amazon EC2 Auto Scaling resources +// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). +// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) +// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeWarmPool func (c *AutoScaling) DescribeWarmPool(input *DescribeWarmPoolInput) (*DescribeWarmPoolOutput, error) { @@ -3991,14 +3969,13 @@ const opDetachInstances = "DetachInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachInstancesRequest method. +// req, resp := client.DetachInstancesRequest(params) // -// // Example sending a request using the DetachInstancesRequest method. -// req, resp := client.DetachInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstances func (c *AutoScaling) DetachInstancesRequest(input *DetachInstancesInput) (req *request.Request, output *DetachInstancesOutput) { @@ -4044,9 +4021,9 @@ func (c *AutoScaling) DetachInstancesRequest(input *DetachInstancesInput) (req * // API operation DetachInstances for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachInstances func (c *AutoScaling) DetachInstances(input *DetachInstancesInput) (*DetachInstancesOutput, error) { @@ -4086,14 +4063,13 @@ const opDetachLoadBalancerTargetGroups = "DetachLoadBalancerTargetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachLoadBalancerTargetGroupsRequest method. +// req, resp := client.DetachLoadBalancerTargetGroupsRequest(params) // -// // Example sending a request using the DetachLoadBalancerTargetGroupsRequest method. -// req, resp := client.DetachLoadBalancerTargetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancerTargetGroups func (c *AutoScaling) DetachLoadBalancerTargetGroupsRequest(input *DetachLoadBalancerTargetGroupsInput) (req *request.Request, output *DetachLoadBalancerTargetGroupsOutput) { @@ -4125,9 +4101,9 @@ func (c *AutoScaling) DetachLoadBalancerTargetGroupsRequest(input *DetachLoadBal // API operation DetachLoadBalancerTargetGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancerTargetGroups func (c *AutoScaling) DetachLoadBalancerTargetGroups(input *DetachLoadBalancerTargetGroupsInput) (*DetachLoadBalancerTargetGroupsOutput, error) { @@ -4167,14 +4143,13 @@ const opDetachLoadBalancers = "DetachLoadBalancers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachLoadBalancersRequest method. +// req, resp := client.DetachLoadBalancersRequest(params) // -// // Example sending a request using the DetachLoadBalancersRequest method. -// req, resp := client.DetachLoadBalancersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancers func (c *AutoScaling) DetachLoadBalancersRequest(input *DetachLoadBalancersInput) (req *request.Request, output *DetachLoadBalancersOutput) { @@ -4216,9 +4191,9 @@ func (c *AutoScaling) DetachLoadBalancersRequest(input *DetachLoadBalancersInput // API operation DetachLoadBalancers for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancers func (c *AutoScaling) DetachLoadBalancers(input *DetachLoadBalancersInput) (*DetachLoadBalancersOutput, error) { @@ -4258,14 +4233,13 @@ const opDisableMetricsCollection = "DisableMetricsCollection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableMetricsCollectionRequest method. +// req, resp := client.DisableMetricsCollectionRequest(params) // -// // Example sending a request using the DisableMetricsCollectionRequest method. -// req, resp := client.DisableMetricsCollectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollection func (c *AutoScaling) DisableMetricsCollectionRequest(input *DisableMetricsCollectionInput) (req *request.Request, output *DisableMetricsCollectionOutput) { @@ -4297,9 +4271,9 @@ func (c *AutoScaling) DisableMetricsCollectionRequest(input *DisableMetricsColle // API operation DisableMetricsCollection for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollection func (c *AutoScaling) DisableMetricsCollection(input *DisableMetricsCollectionInput) (*DisableMetricsCollectionOutput, error) { @@ -4339,14 +4313,13 @@ const opEnableMetricsCollection = "EnableMetricsCollection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableMetricsCollectionRequest method. +// req, resp := client.EnableMetricsCollectionRequest(params) // -// // Example sending a request using the EnableMetricsCollectionRequest method. -// req, resp := client.EnableMetricsCollectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollection func (c *AutoScaling) EnableMetricsCollectionRequest(input *EnableMetricsCollectionInput) (req *request.Request, output *EnableMetricsCollectionOutput) { @@ -4381,9 +4354,9 @@ func (c *AutoScaling) EnableMetricsCollectionRequest(input *EnableMetricsCollect // API operation EnableMetricsCollection for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnableMetricsCollection func (c *AutoScaling) EnableMetricsCollection(input *EnableMetricsCollectionInput) (*EnableMetricsCollectionOutput, error) { @@ -4423,14 +4396,13 @@ const opEnterStandby = "EnterStandby" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnterStandbyRequest method. +// req, resp := client.EnterStandbyRequest(params) // -// // Example sending a request using the EnterStandbyRequest method. -// req, resp := client.EnterStandbyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandby func (c *AutoScaling) EnterStandbyRequest(input *EnterStandbyInput) (req *request.Request, output *EnterStandbyOutput) { @@ -4474,9 +4446,9 @@ func (c *AutoScaling) EnterStandbyRequest(input *EnterStandbyInput) (req *reques // API operation EnterStandby for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/EnterStandby func (c *AutoScaling) EnterStandby(input *EnterStandbyInput) (*EnterStandbyOutput, error) { @@ -4516,14 +4488,13 @@ const opExecutePolicy = "ExecutePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExecutePolicyRequest method. +// req, resp := client.ExecutePolicyRequest(params) // -// // Example sending a request using the ExecutePolicyRequest method. -// req, resp := client.ExecutePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicy func (c *AutoScaling) ExecutePolicyRequest(input *ExecutePolicyInput) (req *request.Request, output *ExecutePolicyOutput) { @@ -4556,13 +4527,14 @@ func (c *AutoScaling) ExecutePolicyRequest(input *ExecutePolicyInput) (req *requ // API operation ExecutePolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress" -// The operation can't be performed because there are scaling activities in -// progress. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress" +// The operation can't be performed because there are scaling activities in +// progress. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExecutePolicy func (c *AutoScaling) ExecutePolicy(input *ExecutePolicyInput) (*ExecutePolicyOutput, error) { @@ -4602,14 +4574,13 @@ const opExitStandby = "ExitStandby" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExitStandbyRequest method. +// req, resp := client.ExitStandbyRequest(params) // -// // Example sending a request using the ExitStandbyRequest method. -// req, resp := client.ExitStandbyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandby func (c *AutoScaling) ExitStandbyRequest(input *ExitStandbyInput) (req *request.Request, output *ExitStandbyOutput) { @@ -4646,9 +4617,9 @@ func (c *AutoScaling) ExitStandbyRequest(input *ExitStandbyInput) (req *request. // API operation ExitStandby for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ExitStandby func (c *AutoScaling) ExitStandby(input *ExitStandbyInput) (*ExitStandbyOutput, error) { @@ -4688,14 +4659,13 @@ const opGetPredictiveScalingForecast = "GetPredictiveScalingForecast" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPredictiveScalingForecastRequest method. +// req, resp := client.GetPredictiveScalingForecastRequest(params) // -// // Example sending a request using the GetPredictiveScalingForecastRequest method. -// req, resp := client.GetPredictiveScalingForecastRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/GetPredictiveScalingForecast func (c *AutoScaling) GetPredictiveScalingForecastRequest(input *GetPredictiveScalingForecastInput) (req *request.Request, output *GetPredictiveScalingForecastOutput) { @@ -4739,9 +4709,9 @@ func (c *AutoScaling) GetPredictiveScalingForecastRequest(input *GetPredictiveSc // API operation GetPredictiveScalingForecast for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/GetPredictiveScalingForecast func (c *AutoScaling) GetPredictiveScalingForecast(input *GetPredictiveScalingForecastInput) (*GetPredictiveScalingForecastOutput, error) { @@ -4781,14 +4751,13 @@ const opPutLifecycleHook = "PutLifecycleHook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutLifecycleHookRequest method. +// req, resp := client.PutLifecycleHookRequest(params) // -// // Example sending a request using the PutLifecycleHookRequest method. -// req, resp := client.PutLifecycleHookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHook func (c *AutoScaling) PutLifecycleHookRequest(input *PutLifecycleHookInput) (req *request.Request, output *PutLifecycleHookOutput) { @@ -4858,15 +4827,16 @@ func (c *AutoScaling) PutLifecycleHookRequest(input *PutLifecycleHookInput) (req // API operation PutLifecycleHook for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededFault "LimitExceeded" -// You have already reached a limit for your Amazon EC2 Auto Scaling resources -// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). -// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) -// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeLimitExceededFault "LimitExceeded" +// You have already reached a limit for your Amazon EC2 Auto Scaling resources +// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). +// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) +// in the Amazon EC2 Auto Scaling API Reference. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHook func (c *AutoScaling) PutLifecycleHook(input *PutLifecycleHookInput) (*PutLifecycleHookOutput, error) { @@ -4906,14 +4876,13 @@ const opPutNotificationConfiguration = "PutNotificationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutNotificationConfigurationRequest method. +// req, resp := client.PutNotificationConfigurationRequest(params) // -// // Example sending a request using the PutNotificationConfigurationRequest method. -// req, resp := client.PutNotificationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfiguration func (c *AutoScaling) PutNotificationConfigurationRequest(input *PutNotificationConfigurationInput) (req *request.Request, output *PutNotificationConfigurationOutput) { @@ -4956,18 +4925,19 @@ func (c *AutoScaling) PutNotificationConfigurationRequest(input *PutNotification // API operation PutNotificationConfiguration for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededFault "LimitExceeded" -// You have already reached a limit for your Amazon EC2 Auto Scaling resources -// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). -// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) -// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeLimitExceededFault "LimitExceeded" +// You have already reached a limit for your Amazon EC2 Auto Scaling resources +// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). +// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) +// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" -// The service-linked role is not yet ready for use. +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). +// +// - ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" +// The service-linked role is not yet ready for use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfiguration func (c *AutoScaling) PutNotificationConfiguration(input *PutNotificationConfigurationInput) (*PutNotificationConfigurationOutput, error) { @@ -5007,14 +4977,13 @@ const opPutScalingPolicy = "PutScalingPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutScalingPolicyRequest method. +// req, resp := client.PutScalingPolicyRequest(params) // -// // Example sending a request using the PutScalingPolicyRequest method. -// req, resp := client.PutScalingPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScalingPolicy func (c *AutoScaling) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req *request.Request, output *PutScalingPolicyOutput) { @@ -5061,18 +5030,19 @@ func (c *AutoScaling) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req // API operation PutScalingPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededFault "LimitExceeded" -// You have already reached a limit for your Amazon EC2 Auto Scaling resources -// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). -// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) -// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeLimitExceededFault "LimitExceeded" +// You have already reached a limit for your Amazon EC2 Auto Scaling resources +// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). +// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) +// in the Amazon EC2 Auto Scaling API Reference. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // -// * ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" -// The service-linked role is not yet ready for use. +// - ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" +// The service-linked role is not yet ready for use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScalingPolicy func (c *AutoScaling) PutScalingPolicy(input *PutScalingPolicyInput) (*PutScalingPolicyOutput, error) { @@ -5112,14 +5082,13 @@ const opPutScheduledUpdateGroupAction = "PutScheduledUpdateGroupAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutScheduledUpdateGroupActionRequest method. +// req, resp := client.PutScheduledUpdateGroupActionRequest(params) // -// // Example sending a request using the PutScheduledUpdateGroupActionRequest method. -// req, resp := client.PutScheduledUpdateGroupActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupAction func (c *AutoScaling) PutScheduledUpdateGroupActionRequest(input *PutScheduledUpdateGroupActionInput) (req *request.Request, output *PutScheduledUpdateGroupActionOutput) { @@ -5158,19 +5127,20 @@ func (c *AutoScaling) PutScheduledUpdateGroupActionRequest(input *PutScheduledUp // API operation PutScheduledUpdateGroupAction for usage and error information. // // Returned Error Codes: -// * ErrCodeAlreadyExistsFault "AlreadyExists" -// You already have an Auto Scaling group or launch configuration with this -// name. // -// * ErrCodeLimitExceededFault "LimitExceeded" -// You have already reached a limit for your Amazon EC2 Auto Scaling resources -// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). -// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) -// in the Amazon EC2 Auto Scaling API Reference. +// - ErrCodeAlreadyExistsFault "AlreadyExists" +// You already have an Auto Scaling group or launch configuration with this +// name. +// +// - ErrCodeLimitExceededFault "LimitExceeded" +// You have already reached a limit for your Amazon EC2 Auto Scaling resources +// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). +// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) +// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupAction func (c *AutoScaling) PutScheduledUpdateGroupAction(input *PutScheduledUpdateGroupActionInput) (*PutScheduledUpdateGroupActionOutput, error) { @@ -5210,14 +5180,13 @@ const opPutWarmPool = "PutWarmPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutWarmPoolRequest method. +// req, resp := client.PutWarmPoolRequest(params) // -// // Example sending a request using the PutWarmPoolRequest method. -// req, resp := client.PutWarmPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutWarmPool func (c *AutoScaling) PutWarmPoolRequest(input *PutWarmPoolInput) (req *request.Request, output *PutWarmPoolOutput) { @@ -5264,15 +5233,16 @@ func (c *AutoScaling) PutWarmPoolRequest(input *PutWarmPoolInput) (req *request. // API operation PutWarmPool for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededFault "LimitExceeded" -// You have already reached a limit for your Amazon EC2 Auto Scaling resources -// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). -// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) -// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeLimitExceededFault "LimitExceeded" +// You have already reached a limit for your Amazon EC2 Auto Scaling resources +// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). +// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) +// in the Amazon EC2 Auto Scaling API Reference. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutWarmPool func (c *AutoScaling) PutWarmPool(input *PutWarmPoolInput) (*PutWarmPoolOutput, error) { @@ -5312,14 +5282,13 @@ const opRecordLifecycleActionHeartbeat = "RecordLifecycleActionHeartbeat" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RecordLifecycleActionHeartbeatRequest method. +// req, resp := client.RecordLifecycleActionHeartbeatRequest(params) // -// // Example sending a request using the RecordLifecycleActionHeartbeatRequest method. -// req, resp := client.RecordLifecycleActionHeartbeatRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeat func (c *AutoScaling) RecordLifecycleActionHeartbeatRequest(input *RecordLifecycleActionHeartbeatInput) (req *request.Request, output *RecordLifecycleActionHeartbeatOutput) { @@ -5380,9 +5349,9 @@ func (c *AutoScaling) RecordLifecycleActionHeartbeatRequest(input *RecordLifecyc // API operation RecordLifecycleActionHeartbeat for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeat func (c *AutoScaling) RecordLifecycleActionHeartbeat(input *RecordLifecycleActionHeartbeatInput) (*RecordLifecycleActionHeartbeatOutput, error) { @@ -5422,14 +5391,13 @@ const opResumeProcesses = "ResumeProcesses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResumeProcessesRequest method. +// req, resp := client.ResumeProcessesRequest(params) // -// // Example sending a request using the ResumeProcessesRequest method. -// req, resp := client.ResumeProcessesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ResumeProcesses func (c *AutoScaling) ResumeProcessesRequest(input *ScalingProcessQuery) (req *request.Request, output *ResumeProcessesOutput) { @@ -5465,12 +5433,13 @@ func (c *AutoScaling) ResumeProcessesRequest(input *ScalingProcessQuery) (req *r // API operation ResumeProcesses for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceInUseFault "ResourceInUse" -// The operation can't be performed because the resource is in use. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceInUseFault "ResourceInUse" +// The operation can't be performed because the resource is in use. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ResumeProcesses func (c *AutoScaling) ResumeProcesses(input *ScalingProcessQuery) (*ResumeProcessesOutput, error) { @@ -5510,14 +5479,13 @@ const opSetDesiredCapacity = "SetDesiredCapacity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetDesiredCapacityRequest method. +// req, resp := client.SetDesiredCapacityRequest(params) // -// // Example sending a request using the SetDesiredCapacityRequest method. -// req, resp := client.SetDesiredCapacityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacity func (c *AutoScaling) SetDesiredCapacityRequest(input *SetDesiredCapacityInput) (req *request.Request, output *SetDesiredCapacityOutput) { @@ -5556,13 +5524,14 @@ func (c *AutoScaling) SetDesiredCapacityRequest(input *SetDesiredCapacityInput) // API operation SetDesiredCapacity for usage and error information. // // Returned Error Codes: -// * ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress" -// The operation can't be performed because there are scaling activities in -// progress. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress" +// The operation can't be performed because there are scaling activities in +// progress. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacity func (c *AutoScaling) SetDesiredCapacity(input *SetDesiredCapacityInput) (*SetDesiredCapacityOutput, error) { @@ -5602,14 +5571,13 @@ const opSetInstanceHealth = "SetInstanceHealth" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetInstanceHealthRequest method. +// req, resp := client.SetInstanceHealthRequest(params) // -// // Example sending a request using the SetInstanceHealthRequest method. -// req, resp := client.SetInstanceHealthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealth func (c *AutoScaling) SetInstanceHealthRequest(input *SetInstanceHealthInput) (req *request.Request, output *SetInstanceHealthOutput) { @@ -5644,9 +5612,9 @@ func (c *AutoScaling) SetInstanceHealthRequest(input *SetInstanceHealthInput) (r // API operation SetInstanceHealth for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealth func (c *AutoScaling) SetInstanceHealth(input *SetInstanceHealthInput) (*SetInstanceHealthOutput, error) { @@ -5686,14 +5654,13 @@ const opSetInstanceProtection = "SetInstanceProtection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetInstanceProtectionRequest method. +// req, resp := client.SetInstanceProtectionRequest(params) // -// // Example sending a request using the SetInstanceProtectionRequest method. -// req, resp := client.SetInstanceProtectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtection func (c *AutoScaling) SetInstanceProtectionRequest(input *SetInstanceProtectionInput) (req *request.Request, output *SetInstanceProtectionOutput) { @@ -5734,15 +5701,16 @@ func (c *AutoScaling) SetInstanceProtectionRequest(input *SetInstanceProtectionI // API operation SetInstanceProtection for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededFault "LimitExceeded" -// You have already reached a limit for your Amazon EC2 Auto Scaling resources -// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). -// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) -// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeLimitExceededFault "LimitExceeded" +// You have already reached a limit for your Amazon EC2 Auto Scaling resources +// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). +// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) +// in the Amazon EC2 Auto Scaling API Reference. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtection func (c *AutoScaling) SetInstanceProtection(input *SetInstanceProtectionInput) (*SetInstanceProtectionOutput, error) { @@ -5782,14 +5750,13 @@ const opStartInstanceRefresh = "StartInstanceRefresh" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartInstanceRefreshRequest method. +// req, resp := client.StartInstanceRefreshRequest(params) // -// // Example sending a request using the StartInstanceRefreshRequest method. -// req, resp := client.StartInstanceRefreshRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/StartInstanceRefresh func (c *AutoScaling) StartInstanceRefreshRequest(input *StartInstanceRefreshInput) (req *request.Request, output *StartInstanceRefreshOutput) { @@ -5836,19 +5803,20 @@ func (c *AutoScaling) StartInstanceRefreshRequest(input *StartInstanceRefreshInp // API operation StartInstanceRefresh for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededFault "LimitExceeded" -// You have already reached a limit for your Amazon EC2 Auto Scaling resources -// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). -// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) -// in the Amazon EC2 Auto Scaling API Reference. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeLimitExceededFault "LimitExceeded" +// You have already reached a limit for your Amazon EC2 Auto Scaling resources +// (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). +// For more information, see DescribeAccountLimits (https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html) +// in the Amazon EC2 Auto Scaling API Reference. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // -// * ErrCodeInstanceRefreshInProgressFault "InstanceRefreshInProgress" -// The request failed because an active instance refresh operation already exists -// for the specified Auto Scaling group. +// - ErrCodeInstanceRefreshInProgressFault "InstanceRefreshInProgress" +// The request failed because an active instance refresh operation already exists +// for the specified Auto Scaling group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/StartInstanceRefresh func (c *AutoScaling) StartInstanceRefresh(input *StartInstanceRefreshInput) (*StartInstanceRefreshOutput, error) { @@ -5888,14 +5856,13 @@ const opSuspendProcesses = "SuspendProcesses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SuspendProcessesRequest method. +// req, resp := client.SuspendProcessesRequest(params) // -// // Example sending a request using the SuspendProcessesRequest method. -// req, resp := client.SuspendProcessesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SuspendProcesses func (c *AutoScaling) SuspendProcessesRequest(input *ScalingProcessQuery) (req *request.Request, output *SuspendProcessesOutput) { @@ -5935,12 +5902,13 @@ func (c *AutoScaling) SuspendProcessesRequest(input *ScalingProcessQuery) (req * // API operation SuspendProcesses for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceInUseFault "ResourceInUse" -// The operation can't be performed because the resource is in use. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeResourceInUseFault "ResourceInUse" +// The operation can't be performed because the resource is in use. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SuspendProcesses func (c *AutoScaling) SuspendProcesses(input *ScalingProcessQuery) (*SuspendProcessesOutput, error) { @@ -5980,14 +5948,13 @@ const opTerminateInstanceInAutoScalingGroup = "TerminateInstanceInAutoScalingGro // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TerminateInstanceInAutoScalingGroupRequest method. +// req, resp := client.TerminateInstanceInAutoScalingGroupRequest(params) // -// // Example sending a request using the TerminateInstanceInAutoScalingGroupRequest method. -// req, resp := client.TerminateInstanceInAutoScalingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TerminateInstanceInAutoScalingGroup func (c *AutoScaling) TerminateInstanceInAutoScalingGroupRequest(input *TerminateInstanceInAutoScalingGroupInput) (req *request.Request, output *TerminateInstanceInAutoScalingGroupOutput) { @@ -6034,13 +6001,14 @@ func (c *AutoScaling) TerminateInstanceInAutoScalingGroupRequest(input *Terminat // API operation TerminateInstanceInAutoScalingGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress" -// The operation can't be performed because there are scaling activities in -// progress. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress" +// The operation can't be performed because there are scaling activities in +// progress. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TerminateInstanceInAutoScalingGroup func (c *AutoScaling) TerminateInstanceInAutoScalingGroup(input *TerminateInstanceInAutoScalingGroupInput) (*TerminateInstanceInAutoScalingGroupOutput, error) { @@ -6080,14 +6048,13 @@ const opUpdateAutoScalingGroup = "UpdateAutoScalingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAutoScalingGroupRequest method. +// req, resp := client.UpdateAutoScalingGroupRequest(params) // -// // Example sending a request using the UpdateAutoScalingGroupRequest method. -// req, resp := client.UpdateAutoScalingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup func (c *AutoScaling) UpdateAutoScalingGroupRequest(input *UpdateAutoScalingGroupInput) (req *request.Request, output *UpdateAutoScalingGroupOutput) { @@ -6134,18 +6101,18 @@ func (c *AutoScaling) UpdateAutoScalingGroupRequest(input *UpdateAutoScalingGrou // // Note the following about changing DesiredCapacity, MaxSize, or MinSize: // -// * If a scale-in activity occurs as a result of a new DesiredCapacity value -// that is lower than the current size of the group, the Auto Scaling group -// uses its termination policy to determine which instances to terminate. +// - If a scale-in activity occurs as a result of a new DesiredCapacity value +// that is lower than the current size of the group, the Auto Scaling group +// uses its termination policy to determine which instances to terminate. // -// * If you specify a new value for MinSize without specifying a value for -// DesiredCapacity, and the new MinSize is larger than the current size of -// the group, this sets the group's DesiredCapacity to the new MinSize value. +// - If you specify a new value for MinSize without specifying a value for +// DesiredCapacity, and the new MinSize is larger than the current size of +// the group, this sets the group's DesiredCapacity to the new MinSize value. // -// * If you specify a new value for MaxSize without specifying a value for -// DesiredCapacity, and the new MaxSize is smaller than the current size -// of the group, this sets the group's DesiredCapacity to the new MaxSize -// value. +// - If you specify a new value for MaxSize without specifying a value for +// DesiredCapacity, and the new MaxSize is smaller than the current size +// of the group, this sets the group's DesiredCapacity to the new MaxSize +// value. // // To see which parameters have been set, call the DescribeAutoScalingGroups // API. To view the scaling policies for an Auto Scaling group, call the DescribePolicies @@ -6160,16 +6127,17 @@ func (c *AutoScaling) UpdateAutoScalingGroupRequest(input *UpdateAutoScalingGrou // API operation UpdateAutoScalingGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress" -// The operation can't be performed because there are scaling activities in -// progress. // -// * ErrCodeResourceContentionFault "ResourceContention" -// You already have a pending update to an Amazon EC2 Auto Scaling resource -// (for example, an Auto Scaling group, instance, or load balancer). +// - ErrCodeScalingActivityInProgressFault "ScalingActivityInProgress" +// The operation can't be performed because there are scaling activities in +// progress. +// +// - ErrCodeResourceContentionFault "ResourceContention" +// You already have a pending update to an Amazon EC2 Auto Scaling resource +// (for example, an Auto Scaling group, instance, or load balancer). // -// * ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" -// The service-linked role is not yet ready for use. +// - ErrCodeServiceLinkedRoleFailure "ServiceLinkedRoleFailure" +// The service-linked role is not yet ready for use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup func (c *AutoScaling) UpdateAutoScalingGroup(input *UpdateAutoScalingGroupInput) (*UpdateAutoScalingGroupOutput, error) { @@ -8314,16 +8282,16 @@ func (s CreateOrUpdateTagsOutput) GoString() string { // // To create your customized metric specification: // -// * Add values for each required parameter from CloudWatch. You can use -// an existing metric, or a new metric that you create. To use your own metric, -// you must first publish the metric to CloudWatch. For more information, -// see Publish custom metrics (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) -// in the Amazon CloudWatch User Guide. +// - Add values for each required parameter from CloudWatch. You can use +// an existing metric, or a new metric that you create. To use your own metric, +// you must first publish the metric to CloudWatch. For more information, +// see Publish custom metrics (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) +// in the Amazon CloudWatch User Guide. // -// * Choose a metric that changes proportionally with capacity. The value -// of the metric should increase or decrease in inverse proportion to the -// number of capacity units. That is, the value of the metric should decrease -// when capacity increases. +// - Choose a metric that changes proportionally with capacity. The value +// of the metric should increase or decrease in inverse proportion to the +// number of capacity units. That is, the value of the metric should decrease +// when capacity increases. // // For more information about the CloudWatch terminology below, see Amazon CloudWatch // concepts (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html). @@ -16106,31 +16074,31 @@ func (s *PredictiveScalingCustomizedScalingMetric) SetMetricDataQueries(v []*Met // // Example // -// * You create a predictive scaling policy and specify ALBRequestCount as -// the value for the metric pair and 1000.0 as the target value. For this -// type of metric, you must provide the metric dimension for the corresponding -// target group, so you also provide a resource label for the Application -// Load Balancer target group that is attached to your Auto Scaling group. +// - You create a predictive scaling policy and specify ALBRequestCount as +// the value for the metric pair and 1000.0 as the target value. For this +// type of metric, you must provide the metric dimension for the corresponding +// target group, so you also provide a resource label for the Application +// Load Balancer target group that is attached to your Auto Scaling group. // -// * The number of requests the target group receives per minute provides -// the load metric, and the request count averaged between the members of -// the target group provides the scaling metric. In CloudWatch, this refers -// to the RequestCount and RequestCountPerTarget metrics, respectively. +// - The number of requests the target group receives per minute provides +// the load metric, and the request count averaged between the members of +// the target group provides the scaling metric. In CloudWatch, this refers +// to the RequestCount and RequestCountPerTarget metrics, respectively. // -// * For optimal use of predictive scaling, you adhere to the best practice -// of using a dynamic scaling policy to automatically scale between the minimum -// capacity and maximum capacity in response to real-time changes in resource -// utilization. +// - For optimal use of predictive scaling, you adhere to the best practice +// of using a dynamic scaling policy to automatically scale between the minimum +// capacity and maximum capacity in response to real-time changes in resource +// utilization. // -// * Amazon EC2 Auto Scaling consumes data points for the load metric over -// the last 14 days and creates an hourly load forecast for predictive scaling. -// (A minimum of 24 hours of data is required.) +// - Amazon EC2 Auto Scaling consumes data points for the load metric over +// the last 14 days and creates an hourly load forecast for predictive scaling. +// (A minimum of 24 hours of data is required.) // -// * After creating the load forecast, Amazon EC2 Auto Scaling determines -// when to reduce or increase the capacity of your Auto Scaling group in -// each hour of the forecast period so that the average number of requests -// received by each instance is as close to 1000 requests per minute as possible -// at all times. +// - After creating the load forecast, Amazon EC2 Auto Scaling determines +// when to reduce or increase the capacity of your Auto Scaling group in +// each hour of the forecast period so that the average number of requests +// received by each instance is as close to 1000 requests per minute as possible +// at all times. // // For information about using custom metrics with predictive scaling, see Advanced // predictive scaling policy configurations using custom metrics (https://docs.aws.amazon.com/autoscaling/ec2/userguide/predictive-scaling-customized-metric-specification.html) @@ -18731,27 +18699,27 @@ func (s *StartInstanceRefreshOutput) SetInstanceRefreshId(v string) *StartInstan // For the following examples, suppose that you have an alarm with a breach // threshold of 50: // -// * To trigger the adjustment when the metric is greater than or equal to -// 50 and less than 60, specify a lower bound of 0 and an upper bound of -// 10. +// - To trigger the adjustment when the metric is greater than or equal to +// 50 and less than 60, specify a lower bound of 0 and an upper bound of +// 10. // -// * To trigger the adjustment when the metric is greater than 40 and less -// than or equal to 50, specify a lower bound of -10 and an upper bound of -// 0. +// - To trigger the adjustment when the metric is greater than 40 and less +// than or equal to 50, specify a lower bound of -10 and an upper bound of +// 0. // // There are a few rules for the step adjustments for your step policy: // -// * The ranges of your step adjustments can't overlap or have a gap. +// - The ranges of your step adjustments can't overlap or have a gap. // -// * At most, one step adjustment can have a null lower bound. If one step -// adjustment has a negative lower bound, then there must be a step adjustment -// with a null lower bound. +// - At most, one step adjustment can have a null lower bound. If one step +// adjustment has a negative lower bound, then there must be a step adjustment +// with a null lower bound. // -// * At most, one step adjustment can have a null upper bound. If one step -// adjustment has a positive upper bound, then there must be a step adjustment -// with a null upper bound. +// - At most, one step adjustment can have a null upper bound. If one step +// adjustment has a positive upper bound, then there must be a step adjustment +// with a null upper bound. // -// * The upper and lower bound can't be null in the same step adjustment. +// - The upper and lower bound can't be null in the same step adjustment. // // For more information, see Step adjustments (https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-steps) // in the Amazon EC2 Auto Scaling User Guide. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/autoscalingiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/autoscalingiface/interface.go index d9090ce84664..547936aebe00 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/autoscalingiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/autoscalingiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Auto Scaling. -// func myFunc(svc autoscalingiface.AutoScalingAPI) bool { -// // Make svc.AttachInstances request -// } +// // myFunc uses an SDK service client to make a request to +// // Auto Scaling. +// func myFunc(svc autoscalingiface.AutoScalingAPI) bool { +// // Make svc.AttachInstances request +// } // -// func main() { -// sess := session.New() -// svc := autoscaling.New(sess) +// func main() { +// sess := session.New() +// svc := autoscaling.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAutoScalingClient struct { -// autoscalingiface.AutoScalingAPI -// } -// func (m *mockAutoScalingClient) AttachInstances(input *autoscaling.AttachInstancesInput) (*autoscaling.AttachInstancesOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAutoScalingClient struct { +// autoscalingiface.AutoScalingAPI +// } +// func (m *mockAutoScalingClient) AttachInstances(input *autoscaling.AttachInstancesInput) (*autoscaling.AttachInstancesOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAutoScalingClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAutoScalingClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/doc.go index 27f32492ddf6..77447a9a7bfd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/doc.go @@ -19,7 +19,7 @@ // See autoscaling package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/autoscaling/ // -// Using the Client +// # Using the Client // // To contact Auto Scaling with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/service.go index b1a3c177da4e..9b0ae8301b79 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscaling/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AutoScaling client from just a session. -// svc := autoscaling.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AutoScaling client with additional configuration -// svc := autoscaling.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AutoScaling client from just a session. +// svc := autoscaling.New(mySession) +// +// // Create a AutoScaling client with additional configuration +// svc := autoscaling.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AutoScaling { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/api.go index ab6ea489eb99..89e630835fad 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/api.go @@ -29,14 +29,13 @@ const opCreateScalingPlan = "CreateScalingPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateScalingPlanRequest method. +// req, resp := client.CreateScalingPlanRequest(params) // -// // Example sending a request using the CreateScalingPlanRequest method. -// req, resp := client.CreateScalingPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/CreateScalingPlan func (c *AutoScalingPlans) CreateScalingPlanRequest(input *CreateScalingPlanInput) (req *request.Request, output *CreateScalingPlanOutput) { @@ -67,19 +66,20 @@ func (c *AutoScalingPlans) CreateScalingPlanRequest(input *CreateScalingPlanInpu // API operation CreateScalingPlan for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the parameters provided. // -// * LimitExceededException -// Your account exceeded a limit. This exception is thrown when a per-account -// resource limit is exceeded. +// - ValidationException +// An exception was thrown for a validation issue. Review the parameters provided. +// +// - LimitExceededException +// Your account exceeded a limit. This exception is thrown when a per-account +// resource limit is exceeded. // -// * ConcurrentUpdateException -// Concurrent updates caused an exception, for example, if you request an update -// to a scaling plan that already has a pending update. +// - ConcurrentUpdateException +// Concurrent updates caused an exception, for example, if you request an update +// to a scaling plan that already has a pending update. // -// * InternalServiceException -// The service encountered an internal error. +// - InternalServiceException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/CreateScalingPlan func (c *AutoScalingPlans) CreateScalingPlan(input *CreateScalingPlanInput) (*CreateScalingPlanOutput, error) { @@ -119,14 +119,13 @@ const opDeleteScalingPlan = "DeleteScalingPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteScalingPlanRequest method. +// req, resp := client.DeleteScalingPlanRequest(params) // -// // Example sending a request using the DeleteScalingPlanRequest method. -// req, resp := client.DeleteScalingPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/DeleteScalingPlan func (c *AutoScalingPlans) DeleteScalingPlanRequest(input *DeleteScalingPlanInput) (req *request.Request, output *DeleteScalingPlanOutput) { @@ -164,18 +163,19 @@ func (c *AutoScalingPlans) DeleteScalingPlanRequest(input *DeleteScalingPlanInpu // API operation DeleteScalingPlan for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the parameters provided. // -// * ObjectNotFoundException -// The specified object could not be found. +// - ValidationException +// An exception was thrown for a validation issue. Review the parameters provided. // -// * ConcurrentUpdateException -// Concurrent updates caused an exception, for example, if you request an update -// to a scaling plan that already has a pending update. +// - ObjectNotFoundException +// The specified object could not be found. // -// * InternalServiceException -// The service encountered an internal error. +// - ConcurrentUpdateException +// Concurrent updates caused an exception, for example, if you request an update +// to a scaling plan that already has a pending update. +// +// - InternalServiceException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/DeleteScalingPlan func (c *AutoScalingPlans) DeleteScalingPlan(input *DeleteScalingPlanInput) (*DeleteScalingPlanOutput, error) { @@ -215,14 +215,13 @@ const opDescribeScalingPlanResources = "DescribeScalingPlanResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScalingPlanResourcesRequest method. +// req, resp := client.DescribeScalingPlanResourcesRequest(params) // -// // Example sending a request using the DescribeScalingPlanResourcesRequest method. -// req, resp := client.DescribeScalingPlanResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/DescribeScalingPlanResources func (c *AutoScalingPlans) DescribeScalingPlanResourcesRequest(input *DescribeScalingPlanResourcesInput) (req *request.Request, output *DescribeScalingPlanResourcesOutput) { @@ -253,18 +252,19 @@ func (c *AutoScalingPlans) DescribeScalingPlanResourcesRequest(input *DescribeSc // API operation DescribeScalingPlanResources for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the parameters provided. // -// * InvalidNextTokenException -// The token provided is not valid. +// - ValidationException +// An exception was thrown for a validation issue. Review the parameters provided. +// +// - InvalidNextTokenException +// The token provided is not valid. // -// * ConcurrentUpdateException -// Concurrent updates caused an exception, for example, if you request an update -// to a scaling plan that already has a pending update. +// - ConcurrentUpdateException +// Concurrent updates caused an exception, for example, if you request an update +// to a scaling plan that already has a pending update. // -// * InternalServiceException -// The service encountered an internal error. +// - InternalServiceException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/DescribeScalingPlanResources func (c *AutoScalingPlans) DescribeScalingPlanResources(input *DescribeScalingPlanResourcesInput) (*DescribeScalingPlanResourcesOutput, error) { @@ -304,14 +304,13 @@ const opDescribeScalingPlans = "DescribeScalingPlans" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScalingPlansRequest method. +// req, resp := client.DescribeScalingPlansRequest(params) // -// // Example sending a request using the DescribeScalingPlansRequest method. -// req, resp := client.DescribeScalingPlansRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/DescribeScalingPlans func (c *AutoScalingPlans) DescribeScalingPlansRequest(input *DescribeScalingPlansInput) (req *request.Request, output *DescribeScalingPlansOutput) { @@ -342,18 +341,19 @@ func (c *AutoScalingPlans) DescribeScalingPlansRequest(input *DescribeScalingPla // API operation DescribeScalingPlans for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the parameters provided. // -// * InvalidNextTokenException -// The token provided is not valid. +// - ValidationException +// An exception was thrown for a validation issue. Review the parameters provided. +// +// - InvalidNextTokenException +// The token provided is not valid. // -// * ConcurrentUpdateException -// Concurrent updates caused an exception, for example, if you request an update -// to a scaling plan that already has a pending update. +// - ConcurrentUpdateException +// Concurrent updates caused an exception, for example, if you request an update +// to a scaling plan that already has a pending update. // -// * InternalServiceException -// The service encountered an internal error. +// - InternalServiceException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/DescribeScalingPlans func (c *AutoScalingPlans) DescribeScalingPlans(input *DescribeScalingPlansInput) (*DescribeScalingPlansOutput, error) { @@ -393,14 +393,13 @@ const opGetScalingPlanResourceForecastData = "GetScalingPlanResourceForecastData // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetScalingPlanResourceForecastDataRequest method. +// req, resp := client.GetScalingPlanResourceForecastDataRequest(params) // -// // Example sending a request using the GetScalingPlanResourceForecastDataRequest method. -// req, resp := client.GetScalingPlanResourceForecastDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/GetScalingPlanResourceForecastData func (c *AutoScalingPlans) GetScalingPlanResourceForecastDataRequest(input *GetScalingPlanResourceForecastDataInput) (req *request.Request, output *GetScalingPlanResourceForecastDataOutput) { @@ -435,11 +434,12 @@ func (c *AutoScalingPlans) GetScalingPlanResourceForecastDataRequest(input *GetS // API operation GetScalingPlanResourceForecastData for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the parameters provided. // -// * InternalServiceException -// The service encountered an internal error. +// - ValidationException +// An exception was thrown for a validation issue. Review the parameters provided. +// +// - InternalServiceException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/GetScalingPlanResourceForecastData func (c *AutoScalingPlans) GetScalingPlanResourceForecastData(input *GetScalingPlanResourceForecastDataInput) (*GetScalingPlanResourceForecastDataOutput, error) { @@ -479,14 +479,13 @@ const opUpdateScalingPlan = "UpdateScalingPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateScalingPlanRequest method. +// req, resp := client.UpdateScalingPlanRequest(params) // -// // Example sending a request using the UpdateScalingPlanRequest method. -// req, resp := client.UpdateScalingPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/UpdateScalingPlan func (c *AutoScalingPlans) UpdateScalingPlanRequest(input *UpdateScalingPlanInput) (req *request.Request, output *UpdateScalingPlanOutput) { @@ -521,18 +520,19 @@ func (c *AutoScalingPlans) UpdateScalingPlanRequest(input *UpdateScalingPlanInpu // API operation UpdateScalingPlan for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception was thrown for a validation issue. Review the parameters provided. // -// * ConcurrentUpdateException -// Concurrent updates caused an exception, for example, if you request an update -// to a scaling plan that already has a pending update. +// - ValidationException +// An exception was thrown for a validation issue. Review the parameters provided. +// +// - ConcurrentUpdateException +// Concurrent updates caused an exception, for example, if you request an update +// to a scaling plan that already has a pending update. // -// * InternalServiceException -// The service encountered an internal error. +// - InternalServiceException +// The service encountered an internal error. // -// * ObjectNotFoundException -// The specified object could not be found. +// - ObjectNotFoundException +// The specified object could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/UpdateScalingPlan func (c *AutoScalingPlans) UpdateScalingPlan(input *UpdateScalingPlanInput) (*UpdateScalingPlanOutput, error) { @@ -957,16 +957,16 @@ func (s *CustomizedLoadMetricSpecification) SetUnit(v string) *CustomizedLoadMet // // To create your customized scaling metric specification: // -// * Add values for each required parameter from CloudWatch. You can use -// an existing metric, or a new metric that you create. To use your own metric, -// you must first publish the metric to CloudWatch. For more information, -// see Publish Custom Metrics (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) -// in the Amazon CloudWatch User Guide. +// - Add values for each required parameter from CloudWatch. You can use +// an existing metric, or a new metric that you create. To use your own metric, +// you must first publish the metric to CloudWatch. For more information, +// see Publish Custom Metrics (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html) +// in the Amazon CloudWatch User Guide. // -// * Choose a metric that changes proportionally with capacity. The value -// of the metric should increase or decrease in inverse proportion to the -// number of capacity units. That is, the value of the metric should decrease -// when capacity increases. +// - Choose a metric that changes proportionally with capacity. The value +// of the metric should increase or decrease in inverse proportion to the +// number of capacity units. That is, the value of the metric should decrease +// when capacity increases. // // For information about terminology, available metrics, or how to publish new // metrics, see Amazon CloudWatch Concepts (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html) diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/autoscalingplansiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/autoscalingplansiface/interface.go index 5818ad925565..d21656456c7e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/autoscalingplansiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/autoscalingplansiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Auto Scaling Plans. -// func myFunc(svc autoscalingplansiface.AutoScalingPlansAPI) bool { -// // Make svc.CreateScalingPlan request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Auto Scaling Plans. +// func myFunc(svc autoscalingplansiface.AutoScalingPlansAPI) bool { +// // Make svc.CreateScalingPlan request +// } // -// func main() { -// sess := session.New() -// svc := autoscalingplans.New(sess) +// func main() { +// sess := session.New() +// svc := autoscalingplans.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockAutoScalingPlansClient struct { -// autoscalingplansiface.AutoScalingPlansAPI -// } -// func (m *mockAutoScalingPlansClient) CreateScalingPlan(input *autoscalingplans.CreateScalingPlanInput) (*autoscalingplans.CreateScalingPlanOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockAutoScalingPlansClient struct { +// autoscalingplansiface.AutoScalingPlansAPI +// } +// func (m *mockAutoScalingPlansClient) CreateScalingPlan(input *autoscalingplans.CreateScalingPlanInput) (*autoscalingplans.CreateScalingPlanOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockAutoScalingPlansClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockAutoScalingPlansClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/doc.go index 80e0c154ca0f..1552b2c8ef28 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/doc.go @@ -6,25 +6,25 @@ // Use AWS Auto Scaling to create scaling plans for your applications to automatically // scale your scalable AWS resources. // -// API Summary +// # API Summary // // You can use the AWS Auto Scaling service API to accomplish the following // tasks: // -// * Create and manage scaling plans +// - Create and manage scaling plans // -// * Define target tracking scaling policies to dynamically scale your resources -// based on utilization +// - Define target tracking scaling policies to dynamically scale your resources +// based on utilization // -// * Scale Amazon EC2 Auto Scaling groups using predictive scaling and dynamic -// scaling to scale your Amazon EC2 capacity faster +// - Scale Amazon EC2 Auto Scaling groups using predictive scaling and dynamic +// scaling to scale your Amazon EC2 capacity faster // -// * Set minimum and maximum capacity limits +// - Set minimum and maximum capacity limits // -// * Retrieve information on existing scaling plans +// - Retrieve information on existing scaling plans // -// * Access current forecast data and historical forecast data for up to -// 56 days previous +// - Access current forecast data and historical forecast data for up to +// 56 days previous // // To learn more about AWS Auto Scaling, including information about granting // IAM users required permissions for AWS Auto Scaling actions, see the AWS @@ -35,7 +35,7 @@ // See autoscalingplans package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/autoscalingplans/ // -// Using the Client +// # Using the Client // // To contact AWS Auto Scaling Plans with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/service.go index e1c98e344d93..97b1bcaa8043 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/autoscalingplans/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a AutoScalingPlans client from just a session. -// svc := autoscalingplans.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a AutoScalingPlans client with additional configuration -// svc := autoscalingplans.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a AutoScalingPlans client from just a session. +// svc := autoscalingplans.New(mySession) +// +// // Create a AutoScalingPlans client with additional configuration +// svc := autoscalingplans.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *AutoScalingPlans { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/api.go index 16a819704745..5a4e2ce48f2f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/api.go @@ -29,14 +29,13 @@ const opCreateBackupPlan = "CreateBackupPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBackupPlanRequest method. +// req, resp := client.CreateBackupPlanRequest(params) // -// // Example sending a request using the CreateBackupPlanRequest method. -// req, resp := client.CreateBackupPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupPlan func (c *Backup) CreateBackupPlanRequest(input *CreateBackupPlanInput) (req *request.Request, output *CreateBackupPlanOutput) { @@ -72,22 +71,23 @@ func (c *Backup) CreateBackupPlanRequest(input *CreateBackupPlanInput) (req *req // API operation CreateBackupPlan for usage and error information. // // Returned Error Types: -// * LimitExceededException -// A limit in the request has been exceeded; for example, a maximum number of -// items allowed in a request. // -// * AlreadyExistsException -// The required resource already exists. +// - LimitExceededException +// A limit in the request has been exceeded; for example, a maximum number of +// items allowed in a request. +// +// - AlreadyExistsException +// The required resource already exists. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupPlan func (c *Backup) CreateBackupPlan(input *CreateBackupPlanInput) (*CreateBackupPlanOutput, error) { @@ -127,14 +127,13 @@ const opCreateBackupSelection = "CreateBackupSelection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBackupSelectionRequest method. +// req, resp := client.CreateBackupSelectionRequest(params) // -// // Example sending a request using the CreateBackupSelectionRequest method. -// req, resp := client.CreateBackupSelectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupSelection func (c *Backup) CreateBackupSelectionRequest(input *CreateBackupSelectionInput) (req *request.Request, output *CreateBackupSelectionOutput) { @@ -166,22 +165,23 @@ func (c *Backup) CreateBackupSelectionRequest(input *CreateBackupSelectionInput) // API operation CreateBackupSelection for usage and error information. // // Returned Error Types: -// * LimitExceededException -// A limit in the request has been exceeded; for example, a maximum number of -// items allowed in a request. // -// * AlreadyExistsException -// The required resource already exists. +// - LimitExceededException +// A limit in the request has been exceeded; for example, a maximum number of +// items allowed in a request. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - AlreadyExistsException +// The required resource already exists. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupSelection func (c *Backup) CreateBackupSelection(input *CreateBackupSelectionInput) (*CreateBackupSelectionOutput, error) { @@ -221,14 +221,13 @@ const opCreateBackupVault = "CreateBackupVault" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBackupVaultRequest method. +// req, resp := client.CreateBackupVaultRequest(params) // -// // Example sending a request using the CreateBackupVaultRequest method. -// req, resp := client.CreateBackupVaultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupVault func (c *Backup) CreateBackupVaultRequest(input *CreateBackupVaultInput) (req *request.Request, output *CreateBackupVaultOutput) { @@ -264,22 +263,23 @@ func (c *Backup) CreateBackupVaultRequest(input *CreateBackupVaultInput) (req *r // API operation CreateBackupVault for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * LimitExceededException -// A limit in the request has been exceeded; for example, a maximum number of -// items allowed in a request. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * AlreadyExistsException -// The required resource already exists. +// - LimitExceededException +// A limit in the request has been exceeded; for example, a maximum number of +// items allowed in a request. +// +// - AlreadyExistsException +// The required resource already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupVault func (c *Backup) CreateBackupVault(input *CreateBackupVaultInput) (*CreateBackupVaultOutput, error) { @@ -319,14 +319,13 @@ const opCreateFramework = "CreateFramework" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFrameworkRequest method. +// req, resp := client.CreateFrameworkRequest(params) // -// // Example sending a request using the CreateFrameworkRequest method. -// req, resp := client.CreateFrameworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateFramework func (c *Backup) CreateFrameworkRequest(input *CreateFrameworkInput) (req *request.Request, output *CreateFrameworkOutput) { @@ -361,22 +360,23 @@ func (c *Backup) CreateFrameworkRequest(input *CreateFrameworkInput) (req *reque // API operation CreateFramework for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The required resource already exists. // -// * LimitExceededException -// A limit in the request has been exceeded; for example, a maximum number of -// items allowed in a request. +// - AlreadyExistsException +// The required resource already exists. +// +// - LimitExceededException +// A limit in the request has been exceeded; for example, a maximum number of +// items allowed in a request. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateFramework func (c *Backup) CreateFramework(input *CreateFrameworkInput) (*CreateFrameworkOutput, error) { @@ -416,14 +416,13 @@ const opCreateReportPlan = "CreateReportPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReportPlanRequest method. +// req, resp := client.CreateReportPlanRequest(params) // -// // Example sending a request using the CreateReportPlanRequest method. -// req, resp := client.CreateReportPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateReportPlan func (c *Backup) CreateReportPlanRequest(input *CreateReportPlanInput) (req *request.Request, output *CreateReportPlanOutput) { @@ -458,22 +457,23 @@ func (c *Backup) CreateReportPlanRequest(input *CreateReportPlanInput) (req *req // API operation CreateReportPlan for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The required resource already exists. // -// * LimitExceededException -// A limit in the request has been exceeded; for example, a maximum number of -// items allowed in a request. +// - AlreadyExistsException +// The required resource already exists. +// +// - LimitExceededException +// A limit in the request has been exceeded; for example, a maximum number of +// items allowed in a request. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateReportPlan func (c *Backup) CreateReportPlan(input *CreateReportPlanInput) (*CreateReportPlanOutput, error) { @@ -513,14 +513,13 @@ const opDeleteBackupPlan = "DeleteBackupPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBackupPlanRequest method. +// req, resp := client.DeleteBackupPlanRequest(params) // -// // Example sending a request using the DeleteBackupPlanRequest method. -// req, resp := client.DeleteBackupPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupPlan func (c *Backup) DeleteBackupPlanRequest(input *DeleteBackupPlanInput) (req *request.Request, output *DeleteBackupPlanOutput) { @@ -554,22 +553,23 @@ func (c *Backup) DeleteBackupPlanRequest(input *DeleteBackupPlanInput) (req *req // API operation DeleteBackupPlan for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a parameter is of the wrong type. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a parameter is of the wrong type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupPlan func (c *Backup) DeleteBackupPlan(input *DeleteBackupPlanInput) (*DeleteBackupPlanOutput, error) { @@ -609,14 +609,13 @@ const opDeleteBackupSelection = "DeleteBackupSelection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBackupSelectionRequest method. +// req, resp := client.DeleteBackupSelectionRequest(params) // -// // Example sending a request using the DeleteBackupSelectionRequest method. -// req, resp := client.DeleteBackupSelectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupSelection func (c *Backup) DeleteBackupSelectionRequest(input *DeleteBackupSelectionInput) (req *request.Request, output *DeleteBackupSelectionOutput) { @@ -649,18 +648,19 @@ func (c *Backup) DeleteBackupSelectionRequest(input *DeleteBackupSelectionInput) // API operation DeleteBackupSelection for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupSelection func (c *Backup) DeleteBackupSelection(input *DeleteBackupSelectionInput) (*DeleteBackupSelectionOutput, error) { @@ -700,14 +700,13 @@ const opDeleteBackupVault = "DeleteBackupVault" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBackupVaultRequest method. +// req, resp := client.DeleteBackupVaultRequest(params) // -// // Example sending a request using the DeleteBackupVaultRequest method. -// req, resp := client.DeleteBackupVaultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupVault func (c *Backup) DeleteBackupVaultRequest(input *DeleteBackupVaultInput) (req *request.Request, output *DeleteBackupVaultOutput) { @@ -740,22 +739,23 @@ func (c *Backup) DeleteBackupVaultRequest(input *DeleteBackupVaultInput) (req *r // API operation DeleteBackupVault for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a parameter is of the wrong type. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a parameter is of the wrong type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupVault func (c *Backup) DeleteBackupVault(input *DeleteBackupVaultInput) (*DeleteBackupVaultOutput, error) { @@ -795,14 +795,13 @@ const opDeleteBackupVaultAccessPolicy = "DeleteBackupVaultAccessPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBackupVaultAccessPolicyRequest method. +// req, resp := client.DeleteBackupVaultAccessPolicyRequest(params) // -// // Example sending a request using the DeleteBackupVaultAccessPolicyRequest method. -// req, resp := client.DeleteBackupVaultAccessPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupVaultAccessPolicy func (c *Backup) DeleteBackupVaultAccessPolicyRequest(input *DeleteBackupVaultAccessPolicyInput) (req *request.Request, output *DeleteBackupVaultAccessPolicyOutput) { @@ -834,18 +833,19 @@ func (c *Backup) DeleteBackupVaultAccessPolicyRequest(input *DeleteBackupVaultAc // API operation DeleteBackupVaultAccessPolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupVaultAccessPolicy func (c *Backup) DeleteBackupVaultAccessPolicy(input *DeleteBackupVaultAccessPolicyInput) (*DeleteBackupVaultAccessPolicyOutput, error) { @@ -885,14 +885,13 @@ const opDeleteBackupVaultLockConfiguration = "DeleteBackupVaultLockConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBackupVaultLockConfigurationRequest method. +// req, resp := client.DeleteBackupVaultLockConfigurationRequest(params) // -// // Example sending a request using the DeleteBackupVaultLockConfigurationRequest method. -// req, resp := client.DeleteBackupVaultLockConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupVaultLockConfiguration func (c *Backup) DeleteBackupVaultLockConfigurationRequest(input *DeleteBackupVaultLockConfigurationInput) (req *request.Request, output *DeleteBackupVaultLockConfigurationOutput) { @@ -930,22 +929,23 @@ func (c *Backup) DeleteBackupVaultLockConfigurationRequest(input *DeleteBackupVa // API operation DeleteBackupVaultLockConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a parameter is of the wrong type. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a parameter is of the wrong type. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupVaultLockConfiguration func (c *Backup) DeleteBackupVaultLockConfiguration(input *DeleteBackupVaultLockConfigurationInput) (*DeleteBackupVaultLockConfigurationOutput, error) { @@ -985,14 +985,13 @@ const opDeleteBackupVaultNotifications = "DeleteBackupVaultNotifications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBackupVaultNotificationsRequest method. +// req, resp := client.DeleteBackupVaultNotificationsRequest(params) // -// // Example sending a request using the DeleteBackupVaultNotificationsRequest method. -// req, resp := client.DeleteBackupVaultNotificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupVaultNotifications func (c *Backup) DeleteBackupVaultNotificationsRequest(input *DeleteBackupVaultNotificationsInput) (req *request.Request, output *DeleteBackupVaultNotificationsOutput) { @@ -1024,18 +1023,19 @@ func (c *Backup) DeleteBackupVaultNotificationsRequest(input *DeleteBackupVaultN // API operation DeleteBackupVaultNotifications for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteBackupVaultNotifications func (c *Backup) DeleteBackupVaultNotifications(input *DeleteBackupVaultNotificationsInput) (*DeleteBackupVaultNotificationsOutput, error) { @@ -1075,14 +1075,13 @@ const opDeleteFramework = "DeleteFramework" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFrameworkRequest method. +// req, resp := client.DeleteFrameworkRequest(params) // -// // Example sending a request using the DeleteFrameworkRequest method. -// req, resp := client.DeleteFrameworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteFramework func (c *Backup) DeleteFrameworkRequest(input *DeleteFrameworkInput) (req *request.Request, output *DeleteFrameworkOutput) { @@ -1114,22 +1113,23 @@ func (c *Backup) DeleteFrameworkRequest(input *DeleteFrameworkInput) (req *reque // API operation DeleteFramework for usage and error information. // // Returned Error Types: -// * MissingParameterValueException -// Indicates that a required parameter is missing. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * ConflictException -// Backup can't perform the action that you requested until it finishes performing -// a previous action. Try again later. +// - ConflictException +// Backup can't perform the action that you requested until it finishes performing +// a previous action. Try again later. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteFramework func (c *Backup) DeleteFramework(input *DeleteFrameworkInput) (*DeleteFrameworkOutput, error) { @@ -1169,14 +1169,13 @@ const opDeleteRecoveryPoint = "DeleteRecoveryPoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRecoveryPointRequest method. +// req, resp := client.DeleteRecoveryPointRequest(params) // -// // Example sending a request using the DeleteRecoveryPointRequest method. -// req, resp := client.DeleteRecoveryPointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteRecoveryPoint func (c *Backup) DeleteRecoveryPointRequest(input *DeleteRecoveryPointInput) (req *request.Request, output *DeleteRecoveryPointOutput) { @@ -1211,26 +1210,27 @@ func (c *Backup) DeleteRecoveryPointRequest(input *DeleteRecoveryPointInput) (re // API operation DeleteRecoveryPoint for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * InvalidResourceStateException -// Backup is already performing an action on this recovery point. It can't perform -// the action you requested until the first action finishes. Try again later. +// - InvalidResourceStateException +// Backup is already performing an action on this recovery point. It can't perform +// the action you requested until the first action finishes. Try again later. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a parameter is of the wrong type. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a parameter is of the wrong type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteRecoveryPoint func (c *Backup) DeleteRecoveryPoint(input *DeleteRecoveryPointInput) (*DeleteRecoveryPointOutput, error) { @@ -1270,14 +1270,13 @@ const opDeleteReportPlan = "DeleteReportPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReportPlanRequest method. +// req, resp := client.DeleteReportPlanRequest(params) // -// // Example sending a request using the DeleteReportPlanRequest method. -// req, resp := client.DeleteReportPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteReportPlan func (c *Backup) DeleteReportPlanRequest(input *DeleteReportPlanInput) (req *request.Request, output *DeleteReportPlanOutput) { @@ -1309,22 +1308,23 @@ func (c *Backup) DeleteReportPlanRequest(input *DeleteReportPlanInput) (req *req // API operation DeleteReportPlan for usage and error information. // // Returned Error Types: -// * MissingParameterValueException -// Indicates that a required parameter is missing. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ConflictException -// Backup can't perform the action that you requested until it finishes performing -// a previous action. Try again later. +// - ConflictException +// Backup can't perform the action that you requested until it finishes performing +// a previous action. Try again later. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteReportPlan func (c *Backup) DeleteReportPlan(input *DeleteReportPlanInput) (*DeleteReportPlanOutput, error) { @@ -1364,14 +1364,13 @@ const opDescribeBackupJob = "DescribeBackupJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBackupJobRequest method. +// req, resp := client.DescribeBackupJobRequest(params) // -// // Example sending a request using the DescribeBackupJobRequest method. -// req, resp := client.DescribeBackupJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupJob func (c *Backup) DescribeBackupJobRequest(input *DescribeBackupJobInput) (req *request.Request, output *DescribeBackupJobOutput) { @@ -1402,22 +1401,23 @@ func (c *Backup) DescribeBackupJobRequest(input *DescribeBackupJobInput) (req *r // API operation DescribeBackupJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * DependencyFailureException -// A dependent Amazon Web Services service or resource returned an error to -// the Backup service, and the action cannot be completed. +// - DependencyFailureException +// A dependent Amazon Web Services service or resource returned an error to +// the Backup service, and the action cannot be completed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupJob func (c *Backup) DescribeBackupJob(input *DescribeBackupJobInput) (*DescribeBackupJobOutput, error) { @@ -1457,14 +1457,13 @@ const opDescribeBackupVault = "DescribeBackupVault" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBackupVaultRequest method. +// req, resp := client.DescribeBackupVaultRequest(params) // -// // Example sending a request using the DescribeBackupVaultRequest method. -// req, resp := client.DescribeBackupVaultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupVault func (c *Backup) DescribeBackupVaultRequest(input *DescribeBackupVaultInput) (req *request.Request, output *DescribeBackupVaultOutput) { @@ -1495,18 +1494,19 @@ func (c *Backup) DescribeBackupVaultRequest(input *DescribeBackupVaultInput) (re // API operation DescribeBackupVault for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupVault func (c *Backup) DescribeBackupVault(input *DescribeBackupVaultInput) (*DescribeBackupVaultOutput, error) { @@ -1546,14 +1546,13 @@ const opDescribeCopyJob = "DescribeCopyJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCopyJobRequest method. +// req, resp := client.DescribeCopyJobRequest(params) // -// // Example sending a request using the DescribeCopyJobRequest method. -// req, resp := client.DescribeCopyJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeCopyJob func (c *Backup) DescribeCopyJobRequest(input *DescribeCopyJobInput) (req *request.Request, output *DescribeCopyJobOutput) { @@ -1584,18 +1583,19 @@ func (c *Backup) DescribeCopyJobRequest(input *DescribeCopyJobInput) (req *reque // API operation DescribeCopyJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeCopyJob func (c *Backup) DescribeCopyJob(input *DescribeCopyJobInput) (*DescribeCopyJobOutput, error) { @@ -1635,14 +1635,13 @@ const opDescribeFramework = "DescribeFramework" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFrameworkRequest method. +// req, resp := client.DescribeFrameworkRequest(params) // -// // Example sending a request using the DescribeFrameworkRequest method. -// req, resp := client.DescribeFrameworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeFramework func (c *Backup) DescribeFrameworkRequest(input *DescribeFrameworkInput) (req *request.Request, output *DescribeFrameworkOutput) { @@ -1673,18 +1672,19 @@ func (c *Backup) DescribeFrameworkRequest(input *DescribeFrameworkInput) (req *r // API operation DescribeFramework for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeFramework func (c *Backup) DescribeFramework(input *DescribeFrameworkInput) (*DescribeFrameworkOutput, error) { @@ -1724,14 +1724,13 @@ const opDescribeGlobalSettings = "DescribeGlobalSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGlobalSettingsRequest method. +// req, resp := client.DescribeGlobalSettingsRequest(params) // -// // Example sending a request using the DescribeGlobalSettingsRequest method. -// req, resp := client.DescribeGlobalSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeGlobalSettings func (c *Backup) DescribeGlobalSettingsRequest(input *DescribeGlobalSettingsInput) (req *request.Request, output *DescribeGlobalSettingsOutput) { @@ -1764,12 +1763,13 @@ func (c *Backup) DescribeGlobalSettingsRequest(input *DescribeGlobalSettingsInpu // API operation DescribeGlobalSettings for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a parameter is of the wrong type. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a parameter is of the wrong type. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeGlobalSettings func (c *Backup) DescribeGlobalSettings(input *DescribeGlobalSettingsInput) (*DescribeGlobalSettingsOutput, error) { @@ -1809,14 +1809,13 @@ const opDescribeProtectedResource = "DescribeProtectedResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProtectedResourceRequest method. +// req, resp := client.DescribeProtectedResourceRequest(params) // -// // Example sending a request using the DescribeProtectedResourceRequest method. -// req, resp := client.DescribeProtectedResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeProtectedResource func (c *Backup) DescribeProtectedResourceRequest(input *DescribeProtectedResourceInput) (req *request.Request, output *DescribeProtectedResourceOutput) { @@ -1849,18 +1848,19 @@ func (c *Backup) DescribeProtectedResourceRequest(input *DescribeProtectedResour // API operation DescribeProtectedResource for usage and error information. // // Returned Error Types: -// * MissingParameterValueException -// Indicates that a required parameter is missing. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeProtectedResource func (c *Backup) DescribeProtectedResource(input *DescribeProtectedResourceInput) (*DescribeProtectedResourceOutput, error) { @@ -1900,14 +1900,13 @@ const opDescribeRecoveryPoint = "DescribeRecoveryPoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRecoveryPointRequest method. +// req, resp := client.DescribeRecoveryPointRequest(params) // -// // Example sending a request using the DescribeRecoveryPointRequest method. -// req, resp := client.DescribeRecoveryPointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRecoveryPoint func (c *Backup) DescribeRecoveryPointRequest(input *DescribeRecoveryPointInput) (req *request.Request, output *DescribeRecoveryPointOutput) { @@ -1939,18 +1938,19 @@ func (c *Backup) DescribeRecoveryPointRequest(input *DescribeRecoveryPointInput) // API operation DescribeRecoveryPoint for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRecoveryPoint func (c *Backup) DescribeRecoveryPoint(input *DescribeRecoveryPointInput) (*DescribeRecoveryPointOutput, error) { @@ -1990,14 +1990,13 @@ const opDescribeRegionSettings = "DescribeRegionSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRegionSettingsRequest method. +// req, resp := client.DescribeRegionSettingsRequest(params) // -// // Example sending a request using the DescribeRegionSettingsRequest method. -// req, resp := client.DescribeRegionSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettings func (c *Backup) DescribeRegionSettingsRequest(input *DescribeRegionSettingsInput) (req *request.Request, output *DescribeRegionSettingsOutput) { @@ -2032,8 +2031,8 @@ func (c *Backup) DescribeRegionSettingsRequest(input *DescribeRegionSettingsInpu // API operation DescribeRegionSettings for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettings func (c *Backup) DescribeRegionSettings(input *DescribeRegionSettingsInput) (*DescribeRegionSettingsOutput, error) { @@ -2073,14 +2072,13 @@ const opDescribeReportJob = "DescribeReportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReportJobRequest method. +// req, resp := client.DescribeReportJobRequest(params) // -// // Example sending a request using the DescribeReportJobRequest method. -// req, resp := client.DescribeReportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeReportJob func (c *Backup) DescribeReportJobRequest(input *DescribeReportJobInput) (req *request.Request, output *DescribeReportJobOutput) { @@ -2112,14 +2110,15 @@ func (c *Backup) DescribeReportJobRequest(input *DescribeReportJobInput) (req *r // API operation DescribeReportJob for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeReportJob func (c *Backup) DescribeReportJob(input *DescribeReportJobInput) (*DescribeReportJobOutput, error) { @@ -2159,14 +2158,13 @@ const opDescribeReportPlan = "DescribeReportPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReportPlanRequest method. +// req, resp := client.DescribeReportPlanRequest(params) // -// // Example sending a request using the DescribeReportPlanRequest method. -// req, resp := client.DescribeReportPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeReportPlan func (c *Backup) DescribeReportPlanRequest(input *DescribeReportPlanInput) (req *request.Request, output *DescribeReportPlanOutput) { @@ -2198,18 +2196,19 @@ func (c *Backup) DescribeReportPlanRequest(input *DescribeReportPlanInput) (req // API operation DescribeReportPlan for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeReportPlan func (c *Backup) DescribeReportPlan(input *DescribeReportPlanInput) (*DescribeReportPlanOutput, error) { @@ -2249,14 +2248,13 @@ const opDescribeRestoreJob = "DescribeRestoreJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRestoreJobRequest method. +// req, resp := client.DescribeRestoreJobRequest(params) // -// // Example sending a request using the DescribeRestoreJobRequest method. -// req, resp := client.DescribeRestoreJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRestoreJob func (c *Backup) DescribeRestoreJobRequest(input *DescribeRestoreJobInput) (req *request.Request, output *DescribeRestoreJobOutput) { @@ -2288,22 +2286,23 @@ func (c *Backup) DescribeRestoreJobRequest(input *DescribeRestoreJobInput) (req // API operation DescribeRestoreJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * DependencyFailureException -// A dependent Amazon Web Services service or resource returned an error to -// the Backup service, and the action cannot be completed. +// - DependencyFailureException +// A dependent Amazon Web Services service or resource returned an error to +// the Backup service, and the action cannot be completed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRestoreJob func (c *Backup) DescribeRestoreJob(input *DescribeRestoreJobInput) (*DescribeRestoreJobOutput, error) { @@ -2343,14 +2342,13 @@ const opDisassociateRecoveryPoint = "DisassociateRecoveryPoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateRecoveryPointRequest method. +// req, resp := client.DisassociateRecoveryPointRequest(params) // -// // Example sending a request using the DisassociateRecoveryPointRequest method. -// req, resp := client.DisassociateRecoveryPointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DisassociateRecoveryPoint func (c *Backup) DisassociateRecoveryPointRequest(input *DisassociateRecoveryPointInput) (req *request.Request, output *DisassociateRecoveryPointOutput) { @@ -2387,26 +2385,27 @@ func (c *Backup) DisassociateRecoveryPointRequest(input *DisassociateRecoveryPoi // API operation DisassociateRecoveryPoint for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * InvalidResourceStateException -// Backup is already performing an action on this recovery point. It can't perform -// the action you requested until the first action finishes. Try again later. +// - InvalidResourceStateException +// Backup is already performing an action on this recovery point. It can't perform +// the action you requested until the first action finishes. Try again later. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a parameter is of the wrong type. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a parameter is of the wrong type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DisassociateRecoveryPoint func (c *Backup) DisassociateRecoveryPoint(input *DisassociateRecoveryPointInput) (*DisassociateRecoveryPointOutput, error) { @@ -2446,14 +2445,13 @@ const opExportBackupPlanTemplate = "ExportBackupPlanTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportBackupPlanTemplateRequest method. +// req, resp := client.ExportBackupPlanTemplateRequest(params) // -// // Example sending a request using the ExportBackupPlanTemplateRequest method. -// req, resp := client.ExportBackupPlanTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ExportBackupPlanTemplate func (c *Backup) ExportBackupPlanTemplateRequest(input *ExportBackupPlanTemplateInput) (req *request.Request, output *ExportBackupPlanTemplateOutput) { @@ -2484,18 +2482,19 @@ func (c *Backup) ExportBackupPlanTemplateRequest(input *ExportBackupPlanTemplate // API operation ExportBackupPlanTemplate for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. +// +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ExportBackupPlanTemplate func (c *Backup) ExportBackupPlanTemplate(input *ExportBackupPlanTemplateInput) (*ExportBackupPlanTemplateOutput, error) { @@ -2535,14 +2534,13 @@ const opGetBackupPlan = "GetBackupPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBackupPlanRequest method. +// req, resp := client.GetBackupPlanRequest(params) // -// // Example sending a request using the GetBackupPlanRequest method. -// req, resp := client.GetBackupPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupPlan func (c *Backup) GetBackupPlanRequest(input *GetBackupPlanInput) (req *request.Request, output *GetBackupPlanOutput) { @@ -2574,18 +2572,19 @@ func (c *Backup) GetBackupPlanRequest(input *GetBackupPlanInput) (req *request.R // API operation GetBackupPlan for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupPlan func (c *Backup) GetBackupPlan(input *GetBackupPlanInput) (*GetBackupPlanOutput, error) { @@ -2625,14 +2624,13 @@ const opGetBackupPlanFromJSON = "GetBackupPlanFromJSON" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBackupPlanFromJSONRequest method. +// req, resp := client.GetBackupPlanFromJSONRequest(params) // -// // Example sending a request using the GetBackupPlanFromJSONRequest method. -// req, resp := client.GetBackupPlanFromJSONRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupPlanFromJSON func (c *Backup) GetBackupPlanFromJSONRequest(input *GetBackupPlanFromJSONInput) (req *request.Request, output *GetBackupPlanFromJSONOutput) { @@ -2663,23 +2661,24 @@ func (c *Backup) GetBackupPlanFromJSONRequest(input *GetBackupPlanFromJSONInput) // API operation GetBackupPlanFromJSON for usage and error information. // // Returned Error Types: -// * LimitExceededException -// A limit in the request has been exceeded; for example, a maximum number of -// items allowed in a request. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - LimitExceededException +// A limit in the request has been exceeded; for example, a maximum number of +// items allowed in a request. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a parameter is of the wrong type. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a parameter is of the wrong type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupPlanFromJSON func (c *Backup) GetBackupPlanFromJSON(input *GetBackupPlanFromJSONInput) (*GetBackupPlanFromJSONOutput, error) { @@ -2719,14 +2718,13 @@ const opGetBackupPlanFromTemplate = "GetBackupPlanFromTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBackupPlanFromTemplateRequest method. +// req, resp := client.GetBackupPlanFromTemplateRequest(params) // -// // Example sending a request using the GetBackupPlanFromTemplateRequest method. -// req, resp := client.GetBackupPlanFromTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupPlanFromTemplate func (c *Backup) GetBackupPlanFromTemplateRequest(input *GetBackupPlanFromTemplateInput) (req *request.Request, output *GetBackupPlanFromTemplateOutput) { @@ -2757,18 +2755,19 @@ func (c *Backup) GetBackupPlanFromTemplateRequest(input *GetBackupPlanFromTempla // API operation GetBackupPlanFromTemplate for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. +// +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupPlanFromTemplate func (c *Backup) GetBackupPlanFromTemplate(input *GetBackupPlanFromTemplateInput) (*GetBackupPlanFromTemplateOutput, error) { @@ -2808,14 +2807,13 @@ const opGetBackupSelection = "GetBackupSelection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBackupSelectionRequest method. +// req, resp := client.GetBackupSelectionRequest(params) // -// // Example sending a request using the GetBackupSelectionRequest method. -// req, resp := client.GetBackupSelectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupSelection func (c *Backup) GetBackupSelectionRequest(input *GetBackupSelectionInput) (req *request.Request, output *GetBackupSelectionOutput) { @@ -2847,18 +2845,19 @@ func (c *Backup) GetBackupSelectionRequest(input *GetBackupSelectionInput) (req // API operation GetBackupSelection for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupSelection func (c *Backup) GetBackupSelection(input *GetBackupSelectionInput) (*GetBackupSelectionOutput, error) { @@ -2898,14 +2897,13 @@ const opGetBackupVaultAccessPolicy = "GetBackupVaultAccessPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBackupVaultAccessPolicyRequest method. +// req, resp := client.GetBackupVaultAccessPolicyRequest(params) // -// // Example sending a request using the GetBackupVaultAccessPolicyRequest method. -// req, resp := client.GetBackupVaultAccessPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupVaultAccessPolicy func (c *Backup) GetBackupVaultAccessPolicyRequest(input *GetBackupVaultAccessPolicyInput) (req *request.Request, output *GetBackupVaultAccessPolicyOutput) { @@ -2937,18 +2935,19 @@ func (c *Backup) GetBackupVaultAccessPolicyRequest(input *GetBackupVaultAccessPo // API operation GetBackupVaultAccessPolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupVaultAccessPolicy func (c *Backup) GetBackupVaultAccessPolicy(input *GetBackupVaultAccessPolicyInput) (*GetBackupVaultAccessPolicyOutput, error) { @@ -2988,14 +2987,13 @@ const opGetBackupVaultNotifications = "GetBackupVaultNotifications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBackupVaultNotificationsRequest method. +// req, resp := client.GetBackupVaultNotificationsRequest(params) // -// // Example sending a request using the GetBackupVaultNotificationsRequest method. -// req, resp := client.GetBackupVaultNotificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupVaultNotifications func (c *Backup) GetBackupVaultNotificationsRequest(input *GetBackupVaultNotificationsInput) (req *request.Request, output *GetBackupVaultNotificationsOutput) { @@ -3026,18 +3024,19 @@ func (c *Backup) GetBackupVaultNotificationsRequest(input *GetBackupVaultNotific // API operation GetBackupVaultNotifications for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupVaultNotifications func (c *Backup) GetBackupVaultNotifications(input *GetBackupVaultNotificationsInput) (*GetBackupVaultNotificationsOutput, error) { @@ -3077,14 +3076,13 @@ const opGetRecoveryPointRestoreMetadata = "GetRecoveryPointRestoreMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRecoveryPointRestoreMetadataRequest method. +// req, resp := client.GetRecoveryPointRestoreMetadataRequest(params) // -// // Example sending a request using the GetRecoveryPointRestoreMetadataRequest method. -// req, resp := client.GetRecoveryPointRestoreMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRecoveryPointRestoreMetadata func (c *Backup) GetRecoveryPointRestoreMetadataRequest(input *GetRecoveryPointRestoreMetadataInput) (req *request.Request, output *GetRecoveryPointRestoreMetadataOutput) { @@ -3115,18 +3113,19 @@ func (c *Backup) GetRecoveryPointRestoreMetadataRequest(input *GetRecoveryPointR // API operation GetRecoveryPointRestoreMetadata for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRecoveryPointRestoreMetadata func (c *Backup) GetRecoveryPointRestoreMetadata(input *GetRecoveryPointRestoreMetadataInput) (*GetRecoveryPointRestoreMetadataOutput, error) { @@ -3166,14 +3165,13 @@ const opGetSupportedResourceTypes = "GetSupportedResourceTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSupportedResourceTypesRequest method. +// req, resp := client.GetSupportedResourceTypesRequest(params) // -// // Example sending a request using the GetSupportedResourceTypesRequest method. -// req, resp := client.GetSupportedResourceTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetSupportedResourceTypes func (c *Backup) GetSupportedResourceTypesRequest(input *GetSupportedResourceTypesInput) (req *request.Request, output *GetSupportedResourceTypesOutput) { @@ -3204,8 +3202,8 @@ func (c *Backup) GetSupportedResourceTypesRequest(input *GetSupportedResourceTyp // API operation GetSupportedResourceTypes for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetSupportedResourceTypes func (c *Backup) GetSupportedResourceTypes(input *GetSupportedResourceTypesInput) (*GetSupportedResourceTypesOutput, error) { @@ -3245,14 +3243,13 @@ const opListBackupJobs = "ListBackupJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBackupJobsRequest method. +// req, resp := client.ListBackupJobsRequest(params) // -// // Example sending a request using the ListBackupJobsRequest method. -// req, resp := client.ListBackupJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupJobs func (c *Backup) ListBackupJobsRequest(input *ListBackupJobsInput) (req *request.Request, output *ListBackupJobsOutput) { @@ -3291,12 +3288,13 @@ func (c *Backup) ListBackupJobsRequest(input *ListBackupJobsInput) (req *request // API operation ListBackupJobs for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupJobs func (c *Backup) ListBackupJobs(input *ListBackupJobsInput) (*ListBackupJobsOutput, error) { @@ -3328,15 +3326,14 @@ func (c *Backup) ListBackupJobsWithContext(ctx aws.Context, input *ListBackupJob // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBackupJobs operation. -// pageNum := 0 -// err := client.ListBackupJobsPages(params, -// func(page *backup.ListBackupJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBackupJobs operation. +// pageNum := 0 +// err := client.ListBackupJobsPages(params, +// func(page *backup.ListBackupJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Backup) ListBackupJobsPages(input *ListBackupJobsInput, fn func(*ListBackupJobsOutput, bool) bool) error { return c.ListBackupJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3388,14 +3385,13 @@ const opListBackupPlanTemplates = "ListBackupPlanTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBackupPlanTemplatesRequest method. +// req, resp := client.ListBackupPlanTemplatesRequest(params) // -// // Example sending a request using the ListBackupPlanTemplatesRequest method. -// req, resp := client.ListBackupPlanTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupPlanTemplates func (c *Backup) ListBackupPlanTemplatesRequest(input *ListBackupPlanTemplatesInput) (req *request.Request, output *ListBackupPlanTemplatesOutput) { @@ -3433,18 +3429,19 @@ func (c *Backup) ListBackupPlanTemplatesRequest(input *ListBackupPlanTemplatesIn // API operation ListBackupPlanTemplates for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. +// +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupPlanTemplates func (c *Backup) ListBackupPlanTemplates(input *ListBackupPlanTemplatesInput) (*ListBackupPlanTemplatesOutput, error) { @@ -3476,15 +3473,14 @@ func (c *Backup) ListBackupPlanTemplatesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBackupPlanTemplates operation. -// pageNum := 0 -// err := client.ListBackupPlanTemplatesPages(params, -// func(page *backup.ListBackupPlanTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBackupPlanTemplates operation. +// pageNum := 0 +// err := client.ListBackupPlanTemplatesPages(params, +// func(page *backup.ListBackupPlanTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Backup) ListBackupPlanTemplatesPages(input *ListBackupPlanTemplatesInput, fn func(*ListBackupPlanTemplatesOutput, bool) bool) error { return c.ListBackupPlanTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3536,14 +3532,13 @@ const opListBackupPlanVersions = "ListBackupPlanVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBackupPlanVersionsRequest method. +// req, resp := client.ListBackupPlanVersionsRequest(params) // -// // Example sending a request using the ListBackupPlanVersionsRequest method. -// req, resp := client.ListBackupPlanVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupPlanVersions func (c *Backup) ListBackupPlanVersionsRequest(input *ListBackupPlanVersionsInput) (req *request.Request, output *ListBackupPlanVersionsOutput) { @@ -3582,18 +3577,19 @@ func (c *Backup) ListBackupPlanVersionsRequest(input *ListBackupPlanVersionsInpu // API operation ListBackupPlanVersions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupPlanVersions func (c *Backup) ListBackupPlanVersions(input *ListBackupPlanVersionsInput) (*ListBackupPlanVersionsOutput, error) { @@ -3625,15 +3621,14 @@ func (c *Backup) ListBackupPlanVersionsWithContext(ctx aws.Context, input *ListB // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBackupPlanVersions operation. -// pageNum := 0 -// err := client.ListBackupPlanVersionsPages(params, -// func(page *backup.ListBackupPlanVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBackupPlanVersions operation. +// pageNum := 0 +// err := client.ListBackupPlanVersionsPages(params, +// func(page *backup.ListBackupPlanVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Backup) ListBackupPlanVersionsPages(input *ListBackupPlanVersionsInput, fn func(*ListBackupPlanVersionsOutput, bool) bool) error { return c.ListBackupPlanVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3685,14 +3680,13 @@ const opListBackupPlans = "ListBackupPlans" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBackupPlansRequest method. +// req, resp := client.ListBackupPlansRequest(params) // -// // Example sending a request using the ListBackupPlansRequest method. -// req, resp := client.ListBackupPlansRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupPlans func (c *Backup) ListBackupPlansRequest(input *ListBackupPlansInput) (req *request.Request, output *ListBackupPlansOutput) { @@ -3732,18 +3726,19 @@ func (c *Backup) ListBackupPlansRequest(input *ListBackupPlansInput) (req *reque // API operation ListBackupPlans for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupPlans func (c *Backup) ListBackupPlans(input *ListBackupPlansInput) (*ListBackupPlansOutput, error) { @@ -3775,15 +3770,14 @@ func (c *Backup) ListBackupPlansWithContext(ctx aws.Context, input *ListBackupPl // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBackupPlans operation. -// pageNum := 0 -// err := client.ListBackupPlansPages(params, -// func(page *backup.ListBackupPlansOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBackupPlans operation. +// pageNum := 0 +// err := client.ListBackupPlansPages(params, +// func(page *backup.ListBackupPlansOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Backup) ListBackupPlansPages(input *ListBackupPlansInput, fn func(*ListBackupPlansOutput, bool) bool) error { return c.ListBackupPlansPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3835,14 +3829,13 @@ const opListBackupSelections = "ListBackupSelections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBackupSelectionsRequest method. +// req, resp := client.ListBackupSelectionsRequest(params) // -// // Example sending a request using the ListBackupSelectionsRequest method. -// req, resp := client.ListBackupSelectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupSelections func (c *Backup) ListBackupSelectionsRequest(input *ListBackupSelectionsInput) (req *request.Request, output *ListBackupSelectionsOutput) { @@ -3880,18 +3873,19 @@ func (c *Backup) ListBackupSelectionsRequest(input *ListBackupSelectionsInput) ( // API operation ListBackupSelections for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupSelections func (c *Backup) ListBackupSelections(input *ListBackupSelectionsInput) (*ListBackupSelectionsOutput, error) { @@ -3923,15 +3917,14 @@ func (c *Backup) ListBackupSelectionsWithContext(ctx aws.Context, input *ListBac // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBackupSelections operation. -// pageNum := 0 -// err := client.ListBackupSelectionsPages(params, -// func(page *backup.ListBackupSelectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBackupSelections operation. +// pageNum := 0 +// err := client.ListBackupSelectionsPages(params, +// func(page *backup.ListBackupSelectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Backup) ListBackupSelectionsPages(input *ListBackupSelectionsInput, fn func(*ListBackupSelectionsOutput, bool) bool) error { return c.ListBackupSelectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3983,14 +3976,13 @@ const opListBackupVaults = "ListBackupVaults" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBackupVaultsRequest method. +// req, resp := client.ListBackupVaultsRequest(params) // -// // Example sending a request using the ListBackupVaultsRequest method. -// req, resp := client.ListBackupVaultsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupVaults func (c *Backup) ListBackupVaultsRequest(input *ListBackupVaultsInput) (req *request.Request, output *ListBackupVaultsOutput) { @@ -4028,18 +4020,19 @@ func (c *Backup) ListBackupVaultsRequest(input *ListBackupVaultsInput) (req *req // API operation ListBackupVaults for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupVaults func (c *Backup) ListBackupVaults(input *ListBackupVaultsInput) (*ListBackupVaultsOutput, error) { @@ -4071,15 +4064,14 @@ func (c *Backup) ListBackupVaultsWithContext(ctx aws.Context, input *ListBackupV // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBackupVaults operation. -// pageNum := 0 -// err := client.ListBackupVaultsPages(params, -// func(page *backup.ListBackupVaultsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBackupVaults operation. +// pageNum := 0 +// err := client.ListBackupVaultsPages(params, +// func(page *backup.ListBackupVaultsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Backup) ListBackupVaultsPages(input *ListBackupVaultsInput, fn func(*ListBackupVaultsOutput, bool) bool) error { return c.ListBackupVaultsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4131,14 +4123,13 @@ const opListCopyJobs = "ListCopyJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCopyJobsRequest method. +// req, resp := client.ListCopyJobsRequest(params) // -// // Example sending a request using the ListCopyJobsRequest method. -// req, resp := client.ListCopyJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListCopyJobs func (c *Backup) ListCopyJobsRequest(input *ListCopyJobsInput) (req *request.Request, output *ListCopyJobsOutput) { @@ -4175,12 +4166,13 @@ func (c *Backup) ListCopyJobsRequest(input *ListCopyJobsInput) (req *request.Req // API operation ListCopyJobs for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListCopyJobs func (c *Backup) ListCopyJobs(input *ListCopyJobsInput) (*ListCopyJobsOutput, error) { @@ -4212,15 +4204,14 @@ func (c *Backup) ListCopyJobsWithContext(ctx aws.Context, input *ListCopyJobsInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCopyJobs operation. -// pageNum := 0 -// err := client.ListCopyJobsPages(params, -// func(page *backup.ListCopyJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCopyJobs operation. +// pageNum := 0 +// err := client.ListCopyJobsPages(params, +// func(page *backup.ListCopyJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Backup) ListCopyJobsPages(input *ListCopyJobsInput, fn func(*ListCopyJobsOutput, bool) bool) error { return c.ListCopyJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4272,14 +4263,13 @@ const opListFrameworks = "ListFrameworks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFrameworksRequest method. +// req, resp := client.ListFrameworksRequest(params) // -// // Example sending a request using the ListFrameworksRequest method. -// req, resp := client.ListFrameworksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListFrameworks func (c *Backup) ListFrameworksRequest(input *ListFrameworksInput) (req *request.Request, output *ListFrameworksOutput) { @@ -4317,12 +4307,13 @@ func (c *Backup) ListFrameworksRequest(input *ListFrameworksInput) (req *request // API operation ListFrameworks for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListFrameworks func (c *Backup) ListFrameworks(input *ListFrameworksInput) (*ListFrameworksOutput, error) { @@ -4354,15 +4345,14 @@ func (c *Backup) ListFrameworksWithContext(ctx aws.Context, input *ListFramework // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFrameworks operation. -// pageNum := 0 -// err := client.ListFrameworksPages(params, -// func(page *backup.ListFrameworksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFrameworks operation. +// pageNum := 0 +// err := client.ListFrameworksPages(params, +// func(page *backup.ListFrameworksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Backup) ListFrameworksPages(input *ListFrameworksInput, fn func(*ListFrameworksOutput, bool) bool) error { return c.ListFrameworksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4414,14 +4404,13 @@ const opListProtectedResources = "ListProtectedResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProtectedResourcesRequest method. +// req, resp := client.ListProtectedResourcesRequest(params) // -// // Example sending a request using the ListProtectedResourcesRequest method. -// req, resp := client.ListProtectedResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListProtectedResources func (c *Backup) ListProtectedResourcesRequest(input *ListProtectedResourcesInput) (req *request.Request, output *ListProtectedResourcesOutput) { @@ -4460,12 +4449,13 @@ func (c *Backup) ListProtectedResourcesRequest(input *ListProtectedResourcesInpu // API operation ListProtectedResources for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListProtectedResources func (c *Backup) ListProtectedResources(input *ListProtectedResourcesInput) (*ListProtectedResourcesOutput, error) { @@ -4497,15 +4487,14 @@ func (c *Backup) ListProtectedResourcesWithContext(ctx aws.Context, input *ListP // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProtectedResources operation. -// pageNum := 0 -// err := client.ListProtectedResourcesPages(params, -// func(page *backup.ListProtectedResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProtectedResources operation. +// pageNum := 0 +// err := client.ListProtectedResourcesPages(params, +// func(page *backup.ListProtectedResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Backup) ListProtectedResourcesPages(input *ListProtectedResourcesInput, fn func(*ListProtectedResourcesOutput, bool) bool) error { return c.ListProtectedResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4557,14 +4546,13 @@ const opListRecoveryPointsByBackupVault = "ListRecoveryPointsByBackupVault" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRecoveryPointsByBackupVaultRequest method. +// req, resp := client.ListRecoveryPointsByBackupVaultRequest(params) // -// // Example sending a request using the ListRecoveryPointsByBackupVaultRequest method. -// req, resp := client.ListRecoveryPointsByBackupVaultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByBackupVault func (c *Backup) ListRecoveryPointsByBackupVaultRequest(input *ListRecoveryPointsByBackupVaultInput) (req *request.Request, output *ListRecoveryPointsByBackupVaultOutput) { @@ -4602,18 +4590,19 @@ func (c *Backup) ListRecoveryPointsByBackupVaultRequest(input *ListRecoveryPoint // API operation ListRecoveryPointsByBackupVault for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByBackupVault func (c *Backup) ListRecoveryPointsByBackupVault(input *ListRecoveryPointsByBackupVaultInput) (*ListRecoveryPointsByBackupVaultOutput, error) { @@ -4645,15 +4634,14 @@ func (c *Backup) ListRecoveryPointsByBackupVaultWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRecoveryPointsByBackupVault operation. -// pageNum := 0 -// err := client.ListRecoveryPointsByBackupVaultPages(params, -// func(page *backup.ListRecoveryPointsByBackupVaultOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRecoveryPointsByBackupVault operation. +// pageNum := 0 +// err := client.ListRecoveryPointsByBackupVaultPages(params, +// func(page *backup.ListRecoveryPointsByBackupVaultOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Backup) ListRecoveryPointsByBackupVaultPages(input *ListRecoveryPointsByBackupVaultInput, fn func(*ListRecoveryPointsByBackupVaultOutput, bool) bool) error { return c.ListRecoveryPointsByBackupVaultPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4705,14 +4693,13 @@ const opListRecoveryPointsByResource = "ListRecoveryPointsByResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRecoveryPointsByResourceRequest method. +// req, resp := client.ListRecoveryPointsByResourceRequest(params) // -// // Example sending a request using the ListRecoveryPointsByResourceRequest method. -// req, resp := client.ListRecoveryPointsByResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByResource func (c *Backup) ListRecoveryPointsByResourceRequest(input *ListRecoveryPointsByResourceInput) (req *request.Request, output *ListRecoveryPointsByResourceOutput) { @@ -4753,18 +4740,19 @@ func (c *Backup) ListRecoveryPointsByResourceRequest(input *ListRecoveryPointsBy // API operation ListRecoveryPointsByResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByResource func (c *Backup) ListRecoveryPointsByResource(input *ListRecoveryPointsByResourceInput) (*ListRecoveryPointsByResourceOutput, error) { @@ -4796,15 +4784,14 @@ func (c *Backup) ListRecoveryPointsByResourceWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRecoveryPointsByResource operation. -// pageNum := 0 -// err := client.ListRecoveryPointsByResourcePages(params, -// func(page *backup.ListRecoveryPointsByResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRecoveryPointsByResource operation. +// pageNum := 0 +// err := client.ListRecoveryPointsByResourcePages(params, +// func(page *backup.ListRecoveryPointsByResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Backup) ListRecoveryPointsByResourcePages(input *ListRecoveryPointsByResourceInput, fn func(*ListRecoveryPointsByResourceOutput, bool) bool) error { return c.ListRecoveryPointsByResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4856,14 +4843,13 @@ const opListReportJobs = "ListReportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReportJobsRequest method. +// req, resp := client.ListReportJobsRequest(params) // -// // Example sending a request using the ListReportJobsRequest method. -// req, resp := client.ListReportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListReportJobs func (c *Backup) ListReportJobsRequest(input *ListReportJobsInput) (req *request.Request, output *ListReportJobsOutput) { @@ -4900,12 +4886,13 @@ func (c *Backup) ListReportJobsRequest(input *ListReportJobsInput) (req *request // API operation ListReportJobs for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListReportJobs func (c *Backup) ListReportJobs(input *ListReportJobsInput) (*ListReportJobsOutput, error) { @@ -4937,15 +4924,14 @@ func (c *Backup) ListReportJobsWithContext(ctx aws.Context, input *ListReportJob // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListReportJobs operation. -// pageNum := 0 -// err := client.ListReportJobsPages(params, -// func(page *backup.ListReportJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListReportJobs operation. +// pageNum := 0 +// err := client.ListReportJobsPages(params, +// func(page *backup.ListReportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Backup) ListReportJobsPages(input *ListReportJobsInput, fn func(*ListReportJobsOutput, bool) bool) error { return c.ListReportJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4997,14 +4983,13 @@ const opListReportPlans = "ListReportPlans" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReportPlansRequest method. +// req, resp := client.ListReportPlansRequest(params) // -// // Example sending a request using the ListReportPlansRequest method. -// req, resp := client.ListReportPlansRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListReportPlans func (c *Backup) ListReportPlansRequest(input *ListReportPlansInput) (req *request.Request, output *ListReportPlansOutput) { @@ -5042,12 +5027,13 @@ func (c *Backup) ListReportPlansRequest(input *ListReportPlansInput) (req *reque // API operation ListReportPlans for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListReportPlans func (c *Backup) ListReportPlans(input *ListReportPlansInput) (*ListReportPlansOutput, error) { @@ -5079,15 +5065,14 @@ func (c *Backup) ListReportPlansWithContext(ctx aws.Context, input *ListReportPl // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListReportPlans operation. -// pageNum := 0 -// err := client.ListReportPlansPages(params, -// func(page *backup.ListReportPlansOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListReportPlans operation. +// pageNum := 0 +// err := client.ListReportPlansPages(params, +// func(page *backup.ListReportPlansOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Backup) ListReportPlansPages(input *ListReportPlansInput, fn func(*ListReportPlansOutput, bool) bool) error { return c.ListReportPlansPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5139,14 +5124,13 @@ const opListRestoreJobs = "ListRestoreJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRestoreJobsRequest method. +// req, resp := client.ListRestoreJobsRequest(params) // -// // Example sending a request using the ListRestoreJobsRequest method. -// req, resp := client.ListRestoreJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreJobs func (c *Backup) ListRestoreJobsRequest(input *ListRestoreJobsInput) (req *request.Request, output *ListRestoreJobsOutput) { @@ -5184,18 +5168,19 @@ func (c *Backup) ListRestoreJobsRequest(input *ListRestoreJobsInput) (req *reque // API operation ListRestoreJobs for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreJobs func (c *Backup) ListRestoreJobs(input *ListRestoreJobsInput) (*ListRestoreJobsOutput, error) { @@ -5227,15 +5212,14 @@ func (c *Backup) ListRestoreJobsWithContext(ctx aws.Context, input *ListRestoreJ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRestoreJobs operation. -// pageNum := 0 -// err := client.ListRestoreJobsPages(params, -// func(page *backup.ListRestoreJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRestoreJobs operation. +// pageNum := 0 +// err := client.ListRestoreJobsPages(params, +// func(page *backup.ListRestoreJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Backup) ListRestoreJobsPages(input *ListRestoreJobsInput, fn func(*ListRestoreJobsOutput, bool) bool) error { return c.ListRestoreJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5287,14 +5271,13 @@ const opListTags = "ListTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsRequest method. +// req, resp := client.ListTagsRequest(params) // -// // Example sending a request using the ListTagsRequest method. -// req, resp := client.ListTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListTags func (c *Backup) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { @@ -5337,18 +5320,19 @@ func (c *Backup) ListTagsRequest(input *ListTagsInput) (req *request.Request, ou // API operation ListTags for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListTags func (c *Backup) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { @@ -5380,15 +5364,14 @@ func (c *Backup) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTags operation. -// pageNum := 0 -// err := client.ListTagsPages(params, -// func(page *backup.ListTagsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTags operation. +// pageNum := 0 +// err := client.ListTagsPages(params, +// func(page *backup.ListTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Backup) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error { return c.ListTagsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5440,14 +5423,13 @@ const opPutBackupVaultAccessPolicy = "PutBackupVaultAccessPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBackupVaultAccessPolicyRequest method. +// req, resp := client.PutBackupVaultAccessPolicyRequest(params) // -// // Example sending a request using the PutBackupVaultAccessPolicyRequest method. -// req, resp := client.PutBackupVaultAccessPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultAccessPolicy func (c *Backup) PutBackupVaultAccessPolicyRequest(input *PutBackupVaultAccessPolicyInput) (req *request.Request, output *PutBackupVaultAccessPolicyOutput) { @@ -5481,18 +5463,19 @@ func (c *Backup) PutBackupVaultAccessPolicyRequest(input *PutBackupVaultAccessPo // API operation PutBackupVaultAccessPolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultAccessPolicy func (c *Backup) PutBackupVaultAccessPolicy(input *PutBackupVaultAccessPolicyInput) (*PutBackupVaultAccessPolicyOutput, error) { @@ -5532,14 +5515,13 @@ const opPutBackupVaultLockConfiguration = "PutBackupVaultLockConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBackupVaultLockConfigurationRequest method. +// req, resp := client.PutBackupVaultLockConfigurationRequest(params) // -// // Example sending a request using the PutBackupVaultLockConfigurationRequest method. -// req, resp := client.PutBackupVaultLockConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultLockConfiguration func (c *Backup) PutBackupVaultLockConfigurationRequest(input *PutBackupVaultLockConfigurationInput) (req *request.Request, output *PutBackupVaultLockConfigurationOutput) { @@ -5579,22 +5561,23 @@ func (c *Backup) PutBackupVaultLockConfigurationRequest(input *PutBackupVaultLoc // API operation PutBackupVaultLockConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a parameter is of the wrong type. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a parameter is of the wrong type. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultLockConfiguration func (c *Backup) PutBackupVaultLockConfiguration(input *PutBackupVaultLockConfigurationInput) (*PutBackupVaultLockConfigurationOutput, error) { @@ -5634,14 +5617,13 @@ const opPutBackupVaultNotifications = "PutBackupVaultNotifications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBackupVaultNotificationsRequest method. +// req, resp := client.PutBackupVaultNotificationsRequest(params) // -// // Example sending a request using the PutBackupVaultNotificationsRequest method. -// req, resp := client.PutBackupVaultNotificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultNotifications func (c *Backup) PutBackupVaultNotificationsRequest(input *PutBackupVaultNotificationsInput) (req *request.Request, output *PutBackupVaultNotificationsOutput) { @@ -5673,18 +5655,19 @@ func (c *Backup) PutBackupVaultNotificationsRequest(input *PutBackupVaultNotific // API operation PutBackupVaultNotifications for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/PutBackupVaultNotifications func (c *Backup) PutBackupVaultNotifications(input *PutBackupVaultNotificationsInput) (*PutBackupVaultNotificationsOutput, error) { @@ -5724,14 +5707,13 @@ const opStartBackupJob = "StartBackupJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartBackupJobRequest method. +// req, resp := client.StartBackupJobRequest(params) // -// // Example sending a request using the StartBackupJobRequest method. -// req, resp := client.StartBackupJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartBackupJob func (c *Backup) StartBackupJobRequest(input *StartBackupJobInput) (req *request.Request, output *StartBackupJobOutput) { @@ -5762,26 +5744,27 @@ func (c *Backup) StartBackupJobRequest(input *StartBackupJobInput) (req *request // API operation StartBackupJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a parameter is of the wrong type. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a parameter is of the wrong type. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * LimitExceededException -// A limit in the request has been exceeded; for example, a maximum number of -// items allowed in a request. +// - LimitExceededException +// A limit in the request has been exceeded; for example, a maximum number of +// items allowed in a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartBackupJob func (c *Backup) StartBackupJob(input *StartBackupJobInput) (*StartBackupJobOutput, error) { @@ -5821,14 +5804,13 @@ const opStartCopyJob = "StartCopyJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartCopyJobRequest method. +// req, resp := client.StartCopyJobRequest(params) // -// // Example sending a request using the StartCopyJobRequest method. -// req, resp := client.StartCopyJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartCopyJob func (c *Backup) StartCopyJobRequest(input *StartCopyJobInput) (req *request.Request, output *StartCopyJobOutput) { @@ -5861,26 +5843,27 @@ func (c *Backup) StartCopyJobRequest(input *StartCopyJobInput) (req *request.Req // API operation StartCopyJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * LimitExceededException -// A limit in the request has been exceeded; for example, a maximum number of -// items allowed in a request. +// - LimitExceededException +// A limit in the request has been exceeded; for example, a maximum number of +// items allowed in a request. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a parameter is of the wrong type. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a parameter is of the wrong type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartCopyJob func (c *Backup) StartCopyJob(input *StartCopyJobInput) (*StartCopyJobOutput, error) { @@ -5920,14 +5903,13 @@ const opStartReportJob = "StartReportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartReportJobRequest method. +// req, resp := client.StartReportJobRequest(params) // -// // Example sending a request using the StartReportJobRequest method. -// req, resp := client.StartReportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartReportJob func (c *Backup) StartReportJobRequest(input *StartReportJobInput) (req *request.Request, output *StartReportJobOutput) { @@ -5958,18 +5940,19 @@ func (c *Backup) StartReportJobRequest(input *StartReportJobInput) (req *request // API operation StartReportJob for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartReportJob func (c *Backup) StartReportJob(input *StartReportJobInput) (*StartReportJobOutput, error) { @@ -6009,14 +5992,13 @@ const opStartRestoreJob = "StartRestoreJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartRestoreJobRequest method. +// req, resp := client.StartRestoreJobRequest(params) // -// // Example sending a request using the StartRestoreJobRequest method. -// req, resp := client.StartRestoreJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartRestoreJob func (c *Backup) StartRestoreJobRequest(input *StartRestoreJobInput) (req *request.Request, output *StartRestoreJobOutput) { @@ -6047,18 +6029,19 @@ func (c *Backup) StartRestoreJobRequest(input *StartRestoreJobInput) (req *reque // API operation StartRestoreJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartRestoreJob func (c *Backup) StartRestoreJob(input *StartRestoreJobInput) (*StartRestoreJobOutput, error) { @@ -6098,14 +6081,13 @@ const opStopBackupJob = "StopBackupJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopBackupJobRequest method. +// req, resp := client.StopBackupJobRequest(params) // -// // Example sending a request using the StopBackupJobRequest method. -// req, resp := client.StopBackupJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StopBackupJob func (c *Backup) StopBackupJobRequest(input *StopBackupJobInput) (req *request.Request, output *StopBackupJobOutput) { @@ -6137,22 +6119,23 @@ func (c *Backup) StopBackupJobRequest(input *StopBackupJobInput) (req *request.R // API operation StopBackupJob for usage and error information. // // Returned Error Types: -// * MissingParameterValueException -// Indicates that a required parameter is missing. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a parameter is of the wrong type. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a parameter is of the wrong type. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StopBackupJob func (c *Backup) StopBackupJob(input *StopBackupJobInput) (*StopBackupJobOutput, error) { @@ -6192,14 +6175,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/TagResource func (c *Backup) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -6232,22 +6214,23 @@ func (c *Backup) TagResourceRequest(input *TagResourceInput) (req *request.Reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * LimitExceededException -// A limit in the request has been exceeded; for example, a maximum number of -// items allowed in a request. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. +// +// - LimitExceededException +// A limit in the request has been exceeded; for example, a maximum number of +// items allowed in a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/TagResource func (c *Backup) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -6287,14 +6270,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UntagResource func (c *Backup) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -6327,18 +6309,19 @@ func (c *Backup) UntagResourceRequest(input *UntagResourceInput) (req *request.R // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UntagResource func (c *Backup) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -6378,14 +6361,13 @@ const opUpdateBackupPlan = "UpdateBackupPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBackupPlanRequest method. +// req, resp := client.UpdateBackupPlanRequest(params) // -// // Example sending a request using the UpdateBackupPlanRequest method. -// req, resp := client.UpdateBackupPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateBackupPlan func (c *Backup) UpdateBackupPlanRequest(input *UpdateBackupPlanInput) (req *request.Request, output *UpdateBackupPlanOutput) { @@ -6417,18 +6399,19 @@ func (c *Backup) UpdateBackupPlanRequest(input *UpdateBackupPlanInput) (req *req // API operation UpdateBackupPlan for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - MissingParameterValueException +// Indicates that a required parameter is missing. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateBackupPlan func (c *Backup) UpdateBackupPlan(input *UpdateBackupPlanInput) (*UpdateBackupPlanOutput, error) { @@ -6468,14 +6451,13 @@ const opUpdateFramework = "UpdateFramework" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFrameworkRequest method. +// req, resp := client.UpdateFrameworkRequest(params) // -// // Example sending a request using the UpdateFrameworkRequest method. -// req, resp := client.UpdateFrameworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateFramework func (c *Backup) UpdateFrameworkRequest(input *UpdateFrameworkInput) (req *request.Request, output *UpdateFrameworkOutput) { @@ -6507,29 +6489,30 @@ func (c *Backup) UpdateFrameworkRequest(input *UpdateFrameworkInput) (req *reque // API operation UpdateFramework for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The required resource already exists. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - AlreadyExistsException +// The required resource already exists. // -// * LimitExceededException -// A limit in the request has been exceeded; for example, a maximum number of -// items allowed in a request. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - LimitExceededException +// A limit in the request has been exceeded; for example, a maximum number of +// items allowed in a request. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ConflictException -// Backup can't perform the action that you requested until it finishes performing -// a previous action. Try again later. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ConflictException +// Backup can't perform the action that you requested until it finishes performing +// a previous action. Try again later. +// +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateFramework func (c *Backup) UpdateFramework(input *UpdateFrameworkInput) (*UpdateFrameworkOutput, error) { @@ -6569,14 +6552,13 @@ const opUpdateGlobalSettings = "UpdateGlobalSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGlobalSettingsRequest method. +// req, resp := client.UpdateGlobalSettingsRequest(params) // -// // Example sending a request using the UpdateGlobalSettingsRequest method. -// req, resp := client.UpdateGlobalSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateGlobalSettings func (c *Backup) UpdateGlobalSettingsRequest(input *UpdateGlobalSettingsInput) (req *request.Request, output *UpdateGlobalSettingsOutput) { @@ -6610,19 +6592,20 @@ func (c *Backup) UpdateGlobalSettingsRequest(input *UpdateGlobalSettingsInput) ( // API operation UpdateGlobalSettings for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. +// +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a parameter is of the wrong type. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a parameter is of the wrong type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateGlobalSettings func (c *Backup) UpdateGlobalSettings(input *UpdateGlobalSettingsInput) (*UpdateGlobalSettingsOutput, error) { @@ -6662,14 +6645,13 @@ const opUpdateRecoveryPointLifecycle = "UpdateRecoveryPointLifecycle" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRecoveryPointLifecycleRequest method. +// req, resp := client.UpdateRecoveryPointLifecycleRequest(params) // -// // Example sending a request using the UpdateRecoveryPointLifecycleRequest method. -// req, resp := client.UpdateRecoveryPointLifecycleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRecoveryPointLifecycle func (c *Backup) UpdateRecoveryPointLifecycleRequest(input *UpdateRecoveryPointLifecycleInput) (req *request.Request, output *UpdateRecoveryPointLifecycleOutput) { @@ -6717,22 +6699,23 @@ func (c *Backup) UpdateRecoveryPointLifecycleRequest(input *UpdateRecoveryPointL // API operation UpdateRecoveryPointLifecycle for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a parameter is of the wrong type. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a parameter is of the wrong type. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRecoveryPointLifecycle func (c *Backup) UpdateRecoveryPointLifecycle(input *UpdateRecoveryPointLifecycleInput) (*UpdateRecoveryPointLifecycleOutput, error) { @@ -6772,14 +6755,13 @@ const opUpdateRegionSettings = "UpdateRegionSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRegionSettingsRequest method. +// req, resp := client.UpdateRegionSettingsRequest(params) // -// // Example sending a request using the UpdateRegionSettingsRequest method. -// req, resp := client.UpdateRegionSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRegionSettings func (c *Backup) UpdateRegionSettingsRequest(input *UpdateRegionSettingsInput) (req *request.Request, output *UpdateRegionSettingsOutput) { @@ -6816,15 +6798,16 @@ func (c *Backup) UpdateRegionSettingsRequest(input *UpdateRegionSettingsInput) ( // API operation UpdateRegionSettings for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. +// +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRegionSettings func (c *Backup) UpdateRegionSettings(input *UpdateRegionSettingsInput) (*UpdateRegionSettingsOutput, error) { @@ -6864,14 +6847,13 @@ const opUpdateReportPlan = "UpdateReportPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateReportPlanRequest method. +// req, resp := client.UpdateReportPlanRequest(params) // -// // Example sending a request using the UpdateReportPlanRequest method. -// req, resp := client.UpdateReportPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateReportPlan func (c *Backup) UpdateReportPlanRequest(input *UpdateReportPlanInput) (req *request.Request, output *UpdateReportPlanOutput) { @@ -6903,22 +6885,23 @@ func (c *Backup) UpdateReportPlanRequest(input *UpdateReportPlanInput) (req *req // API operation UpdateReportPlan for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. // -// * InvalidParameterValueException -// Indicates that something is wrong with a parameter's value. For example, -// the value is out of range. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. +// +// - InvalidParameterValueException +// Indicates that something is wrong with a parameter's value. For example, +// the value is out of range. // -// * ServiceUnavailableException -// The request failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request failed due to a temporary failure of the server. // -// * MissingParameterValueException -// Indicates that a required parameter is missing. +// - MissingParameterValueException +// Indicates that a required parameter is missing. // -// * ConflictException -// Backup can't perform the action that you requested until it finishes performing -// a previous action. Try again later. +// - ConflictException +// Backup can't perform the action that you requested until it finishes performing +// a previous action. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateReportPlan func (c *Backup) UpdateReportPlan(input *UpdateReportPlanInput) (*UpdateReportPlanOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/backupiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/backupiface/interface.go index a17a6bf196e7..17484ad210d8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/backupiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/backupiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Backup. -// func myFunc(svc backupiface.BackupAPI) bool { -// // Make svc.CreateBackupPlan request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Backup. +// func myFunc(svc backupiface.BackupAPI) bool { +// // Make svc.CreateBackupPlan request +// } // -// func main() { -// sess := session.New() -// svc := backup.New(sess) +// func main() { +// sess := session.New() +// svc := backup.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockBackupClient struct { -// backupiface.BackupAPI -// } -// func (m *mockBackupClient) CreateBackupPlan(input *backup.CreateBackupPlanInput) (*backup.CreateBackupPlanOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockBackupClient struct { +// backupiface.BackupAPI +// } +// func (m *mockBackupClient) CreateBackupPlan(input *backup.CreateBackupPlanInput) (*backup.CreateBackupPlanOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockBackupClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockBackupClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/doc.go index 7cb5c7068675..eea937252401 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/doc.go @@ -13,7 +13,7 @@ // See backup package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/backup/ // -// Using the Client +// # Using the Client // // To contact AWS Backup with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/service.go index cdd41fc6f759..6736e564fc0a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backup/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Backup client from just a session. -// svc := backup.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Backup client with additional configuration -// svc := backup.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Backup client from just a session. +// svc := backup.New(mySession) +// +// // Create a Backup client with additional configuration +// svc := backup.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Backup { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/api.go index 32779ed4c936..d7316e289f5b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/api.go @@ -29,14 +29,13 @@ const opAssociateGatewayToServer = "AssociateGatewayToServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateGatewayToServerRequest method. +// req, resp := client.AssociateGatewayToServerRequest(params) // -// // Example sending a request using the AssociateGatewayToServerRequest method. -// req, resp := client.AssociateGatewayToServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/AssociateGatewayToServer func (c *BackupGateway) AssociateGatewayToServerRequest(input *AssociateGatewayToServerInput) (req *request.Request, output *AssociateGatewayToServerOutput) { @@ -68,15 +67,16 @@ func (c *BackupGateway) AssociateGatewayToServerRequest(input *AssociateGatewayT // API operation AssociateGatewayToServer for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * ConflictException -// The operation cannot proceed because it is not supported. +// - ValidationException +// The operation did not succeed because a validation error occurred. +// +// - ConflictException +// The operation cannot proceed because it is not supported. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/AssociateGatewayToServer func (c *BackupGateway) AssociateGatewayToServer(input *AssociateGatewayToServerInput) (*AssociateGatewayToServerOutput, error) { @@ -116,14 +116,13 @@ const opCreateGateway = "CreateGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGatewayRequest method. +// req, resp := client.CreateGatewayRequest(params) // -// // Example sending a request using the CreateGatewayRequest method. -// req, resp := client.CreateGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/CreateGateway func (c *BackupGateway) CreateGatewayRequest(input *CreateGatewayInput) (req *request.Request, output *CreateGatewayOutput) { @@ -155,12 +154,13 @@ func (c *BackupGateway) CreateGatewayRequest(input *CreateGatewayInput) (req *re // API operation CreateGateway for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - ValidationException +// The operation did not succeed because a validation error occurred. +// +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/CreateGateway func (c *BackupGateway) CreateGateway(input *CreateGatewayInput) (*CreateGatewayOutput, error) { @@ -200,14 +200,13 @@ const opDeleteGateway = "DeleteGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGatewayRequest method. +// req, resp := client.DeleteGatewayRequest(params) // -// // Example sending a request using the DeleteGatewayRequest method. -// req, resp := client.DeleteGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/DeleteGateway func (c *BackupGateway) DeleteGatewayRequest(input *DeleteGatewayInput) (req *request.Request, output *DeleteGatewayOutput) { @@ -238,15 +237,16 @@ func (c *BackupGateway) DeleteGatewayRequest(input *DeleteGatewayInput) (req *re // API operation DeleteGateway for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - ValidationException +// The operation did not succeed because a validation error occurred. // -// * ResourceNotFoundException -// A resource that is required for the action wasn't found. +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. +// +// - ResourceNotFoundException +// A resource that is required for the action wasn't found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/DeleteGateway func (c *BackupGateway) DeleteGateway(input *DeleteGatewayInput) (*DeleteGatewayOutput, error) { @@ -286,14 +286,13 @@ const opDeleteHypervisor = "DeleteHypervisor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteHypervisorRequest method. +// req, resp := client.DeleteHypervisorRequest(params) // -// // Example sending a request using the DeleteHypervisorRequest method. -// req, resp := client.DeleteHypervisorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/DeleteHypervisor func (c *BackupGateway) DeleteHypervisorRequest(input *DeleteHypervisorInput) (req *request.Request, output *DeleteHypervisorOutput) { @@ -324,18 +323,19 @@ func (c *BackupGateway) DeleteHypervisorRequest(input *DeleteHypervisorInput) (r // API operation DeleteHypervisor for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - ValidationException +// The operation did not succeed because a validation error occurred. // -// * AccessDeniedException -// The operation cannot proceed because you have insufficient permissions. +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. // -// * ResourceNotFoundException -// A resource that is required for the action wasn't found. +// - AccessDeniedException +// The operation cannot proceed because you have insufficient permissions. +// +// - ResourceNotFoundException +// A resource that is required for the action wasn't found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/DeleteHypervisor func (c *BackupGateway) DeleteHypervisor(input *DeleteHypervisorInput) (*DeleteHypervisorOutput, error) { @@ -375,14 +375,13 @@ const opDisassociateGatewayFromServer = "DisassociateGatewayFromServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateGatewayFromServerRequest method. +// req, resp := client.DisassociateGatewayFromServerRequest(params) // -// // Example sending a request using the DisassociateGatewayFromServerRequest method. -// req, resp := client.DisassociateGatewayFromServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/DisassociateGatewayFromServer func (c *BackupGateway) DisassociateGatewayFromServerRequest(input *DisassociateGatewayFromServerInput) (req *request.Request, output *DisassociateGatewayFromServerOutput) { @@ -415,18 +414,19 @@ func (c *BackupGateway) DisassociateGatewayFromServerRequest(input *Disassociate // API operation DisassociateGatewayFromServer for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * ConflictException -// The operation cannot proceed because it is not supported. +// - ValidationException +// The operation did not succeed because a validation error occurred. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - ConflictException +// The operation cannot proceed because it is not supported. // -// * ResourceNotFoundException -// A resource that is required for the action wasn't found. +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. +// +// - ResourceNotFoundException +// A resource that is required for the action wasn't found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/DisassociateGatewayFromServer func (c *BackupGateway) DisassociateGatewayFromServer(input *DisassociateGatewayFromServerInput) (*DisassociateGatewayFromServerOutput, error) { @@ -466,14 +466,13 @@ const opImportHypervisorConfiguration = "ImportHypervisorConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportHypervisorConfigurationRequest method. +// req, resp := client.ImportHypervisorConfigurationRequest(params) // -// // Example sending a request using the ImportHypervisorConfigurationRequest method. -// req, resp := client.ImportHypervisorConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ImportHypervisorConfiguration func (c *BackupGateway) ImportHypervisorConfigurationRequest(input *ImportHypervisorConfigurationInput) (req *request.Request, output *ImportHypervisorConfigurationOutput) { @@ -504,15 +503,16 @@ func (c *BackupGateway) ImportHypervisorConfigurationRequest(input *ImportHyperv // API operation ImportHypervisorConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - ValidationException +// The operation did not succeed because a validation error occurred. +// +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. // -// * AccessDeniedException -// The operation cannot proceed because you have insufficient permissions. +// - AccessDeniedException +// The operation cannot proceed because you have insufficient permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ImportHypervisorConfiguration func (c *BackupGateway) ImportHypervisorConfiguration(input *ImportHypervisorConfigurationInput) (*ImportHypervisorConfigurationOutput, error) { @@ -552,14 +552,13 @@ const opListGateways = "ListGateways" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGatewaysRequest method. +// req, resp := client.ListGatewaysRequest(params) // -// // Example sending a request using the ListGatewaysRequest method. -// req, resp := client.ListGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListGateways func (c *BackupGateway) ListGatewaysRequest(input *ListGatewaysInput) (req *request.Request, output *ListGatewaysOutput) { @@ -598,12 +597,13 @@ func (c *BackupGateway) ListGatewaysRequest(input *ListGatewaysInput) (req *requ // API operation ListGateways for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - ValidationException +// The operation did not succeed because a validation error occurred. +// +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListGateways func (c *BackupGateway) ListGateways(input *ListGatewaysInput) (*ListGatewaysOutput, error) { @@ -635,15 +635,14 @@ func (c *BackupGateway) ListGatewaysWithContext(ctx aws.Context, input *ListGate // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGateways operation. -// pageNum := 0 -// err := client.ListGatewaysPages(params, -// func(page *backupgateway.ListGatewaysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGateways operation. +// pageNum := 0 +// err := client.ListGatewaysPages(params, +// func(page *backupgateway.ListGatewaysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *BackupGateway) ListGatewaysPages(input *ListGatewaysInput, fn func(*ListGatewaysOutput, bool) bool) error { return c.ListGatewaysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -695,14 +694,13 @@ const opListHypervisors = "ListHypervisors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHypervisorsRequest method. +// req, resp := client.ListHypervisorsRequest(params) // -// // Example sending a request using the ListHypervisorsRequest method. -// req, resp := client.ListHypervisorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListHypervisors func (c *BackupGateway) ListHypervisorsRequest(input *ListHypervisorsInput) (req *request.Request, output *ListHypervisorsOutput) { @@ -739,12 +737,13 @@ func (c *BackupGateway) ListHypervisorsRequest(input *ListHypervisorsInput) (req // API operation ListHypervisors for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - ValidationException +// The operation did not succeed because a validation error occurred. +// +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListHypervisors func (c *BackupGateway) ListHypervisors(input *ListHypervisorsInput) (*ListHypervisorsOutput, error) { @@ -776,15 +775,14 @@ func (c *BackupGateway) ListHypervisorsWithContext(ctx aws.Context, input *ListH // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListHypervisors operation. -// pageNum := 0 -// err := client.ListHypervisorsPages(params, -// func(page *backupgateway.ListHypervisorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListHypervisors operation. +// pageNum := 0 +// err := client.ListHypervisorsPages(params, +// func(page *backupgateway.ListHypervisorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *BackupGateway) ListHypervisorsPages(input *ListHypervisorsInput, fn func(*ListHypervisorsOutput, bool) bool) error { return c.ListHypervisorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -836,14 +834,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListTagsForResource func (c *BackupGateway) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -875,15 +872,16 @@ func (c *BackupGateway) ListTagsForResourceRequest(input *ListTagsForResourceInp // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - ValidationException +// The operation did not succeed because a validation error occurred. +// +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. // -// * ResourceNotFoundException -// A resource that is required for the action wasn't found. +// - ResourceNotFoundException +// A resource that is required for the action wasn't found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListTagsForResource func (c *BackupGateway) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -923,14 +921,13 @@ const opListVirtualMachines = "ListVirtualMachines" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVirtualMachinesRequest method. +// req, resp := client.ListVirtualMachinesRequest(params) // -// // Example sending a request using the ListVirtualMachinesRequest method. -// req, resp := client.ListVirtualMachinesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListVirtualMachines func (c *BackupGateway) ListVirtualMachinesRequest(input *ListVirtualMachinesInput) (req *request.Request, output *ListVirtualMachinesOutput) { @@ -967,12 +964,13 @@ func (c *BackupGateway) ListVirtualMachinesRequest(input *ListVirtualMachinesInp // API operation ListVirtualMachines for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - ValidationException +// The operation did not succeed because a validation error occurred. +// +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/ListVirtualMachines func (c *BackupGateway) ListVirtualMachines(input *ListVirtualMachinesInput) (*ListVirtualMachinesOutput, error) { @@ -1004,15 +1002,14 @@ func (c *BackupGateway) ListVirtualMachinesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVirtualMachines operation. -// pageNum := 0 -// err := client.ListVirtualMachinesPages(params, -// func(page *backupgateway.ListVirtualMachinesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVirtualMachines operation. +// pageNum := 0 +// err := client.ListVirtualMachinesPages(params, +// func(page *backupgateway.ListVirtualMachinesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *BackupGateway) ListVirtualMachinesPages(input *ListVirtualMachinesInput, fn func(*ListVirtualMachinesOutput, bool) bool) error { return c.ListVirtualMachinesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1064,14 +1061,13 @@ const opPutMaintenanceStartTime = "PutMaintenanceStartTime" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutMaintenanceStartTimeRequest method. +// req, resp := client.PutMaintenanceStartTimeRequest(params) // -// // Example sending a request using the PutMaintenanceStartTimeRequest method. -// req, resp := client.PutMaintenanceStartTimeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/PutMaintenanceStartTime func (c *BackupGateway) PutMaintenanceStartTimeRequest(input *PutMaintenanceStartTimeInput) (req *request.Request, output *PutMaintenanceStartTimeOutput) { @@ -1102,18 +1098,19 @@ func (c *BackupGateway) PutMaintenanceStartTimeRequest(input *PutMaintenanceStar // API operation PutMaintenanceStartTime for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * ConflictException -// The operation cannot proceed because it is not supported. +// - ValidationException +// The operation did not succeed because a validation error occurred. +// +// - ConflictException +// The operation cannot proceed because it is not supported. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. // -// * ResourceNotFoundException -// A resource that is required for the action wasn't found. +// - ResourceNotFoundException +// A resource that is required for the action wasn't found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/PutMaintenanceStartTime func (c *BackupGateway) PutMaintenanceStartTime(input *PutMaintenanceStartTimeInput) (*PutMaintenanceStartTimeOutput, error) { @@ -1153,14 +1150,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/TagResource func (c *BackupGateway) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1191,15 +1187,16 @@ func (c *BackupGateway) TagResourceRequest(input *TagResourceInput) (req *reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - ValidationException +// The operation did not succeed because a validation error occurred. +// +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. // -// * ResourceNotFoundException -// A resource that is required for the action wasn't found. +// - ResourceNotFoundException +// A resource that is required for the action wasn't found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/TagResource func (c *BackupGateway) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1239,14 +1236,13 @@ const opTestHypervisorConfiguration = "TestHypervisorConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestHypervisorConfigurationRequest method. +// req, resp := client.TestHypervisorConfigurationRequest(params) // -// // Example sending a request using the TestHypervisorConfigurationRequest method. -// req, resp := client.TestHypervisorConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/TestHypervisorConfiguration func (c *BackupGateway) TestHypervisorConfigurationRequest(input *TestHypervisorConfigurationInput) (req *request.Request, output *TestHypervisorConfigurationOutput) { @@ -1279,18 +1275,19 @@ func (c *BackupGateway) TestHypervisorConfigurationRequest(input *TestHypervisor // API operation TestHypervisorConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * ConflictException -// The operation cannot proceed because it is not supported. +// - ValidationException +// The operation did not succeed because a validation error occurred. +// +// - ConflictException +// The operation cannot proceed because it is not supported. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. // -// * ResourceNotFoundException -// A resource that is required for the action wasn't found. +// - ResourceNotFoundException +// A resource that is required for the action wasn't found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/TestHypervisorConfiguration func (c *BackupGateway) TestHypervisorConfiguration(input *TestHypervisorConfigurationInput) (*TestHypervisorConfigurationOutput, error) { @@ -1330,14 +1327,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UntagResource func (c *BackupGateway) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1368,15 +1364,16 @@ func (c *BackupGateway) UntagResourceRequest(input *UntagResourceInput) (req *re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - ValidationException +// The operation did not succeed because a validation error occurred. +// +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. // -// * ResourceNotFoundException -// A resource that is required for the action wasn't found. +// - ResourceNotFoundException +// A resource that is required for the action wasn't found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UntagResource func (c *BackupGateway) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1416,14 +1413,13 @@ const opUpdateGatewayInformation = "UpdateGatewayInformation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGatewayInformationRequest method. +// req, resp := client.UpdateGatewayInformationRequest(params) // -// // Example sending a request using the UpdateGatewayInformationRequest method. -// req, resp := client.UpdateGatewayInformationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateGatewayInformation func (c *BackupGateway) UpdateGatewayInformationRequest(input *UpdateGatewayInformationInput) (req *request.Request, output *UpdateGatewayInformationOutput) { @@ -1455,18 +1451,19 @@ func (c *BackupGateway) UpdateGatewayInformationRequest(input *UpdateGatewayInfo // API operation UpdateGatewayInformation for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * ConflictException -// The operation cannot proceed because it is not supported. +// - ValidationException +// The operation did not succeed because a validation error occurred. +// +// - ConflictException +// The operation cannot proceed because it is not supported. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. // -// * ResourceNotFoundException -// A resource that is required for the action wasn't found. +// - ResourceNotFoundException +// A resource that is required for the action wasn't found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateGatewayInformation func (c *BackupGateway) UpdateGatewayInformation(input *UpdateGatewayInformationInput) (*UpdateGatewayInformationOutput, error) { @@ -1506,14 +1503,13 @@ const opUpdateHypervisor = "UpdateHypervisor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateHypervisorRequest method. +// req, resp := client.UpdateHypervisorRequest(params) // -// // Example sending a request using the UpdateHypervisorRequest method. -// req, resp := client.UpdateHypervisorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateHypervisor func (c *BackupGateway) UpdateHypervisorRequest(input *UpdateHypervisorInput) (req *request.Request, output *UpdateHypervisorOutput) { @@ -1546,18 +1542,19 @@ func (c *BackupGateway) UpdateHypervisorRequest(input *UpdateHypervisorInput) (r // API operation UpdateHypervisor for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation did not succeed because a validation error occurred. // -// * InternalServerException -// The operation did not succeed because an internal error occurred. Try again -// later. +// - ValidationException +// The operation did not succeed because a validation error occurred. +// +// - InternalServerException +// The operation did not succeed because an internal error occurred. Try again +// later. // -// * AccessDeniedException -// The operation cannot proceed because you have insufficient permissions. +// - AccessDeniedException +// The operation cannot proceed because you have insufficient permissions. // -// * ResourceNotFoundException -// A resource that is required for the action wasn't found. +// - ResourceNotFoundException +// A resource that is required for the action wasn't found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/backup-gateway-2021-01-01/UpdateHypervisor func (c *BackupGateway) UpdateHypervisor(input *UpdateHypervisorInput) (*UpdateHypervisorOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/backupgatewayiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/backupgatewayiface/interface.go index ddb2a36950c9..f41a7cfdf5cd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/backupgatewayiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/backupgatewayiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Backup Gateway. -// func myFunc(svc backupgatewayiface.BackupGatewayAPI) bool { -// // Make svc.AssociateGatewayToServer request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Backup Gateway. +// func myFunc(svc backupgatewayiface.BackupGatewayAPI) bool { +// // Make svc.AssociateGatewayToServer request +// } // -// func main() { -// sess := session.New() -// svc := backupgateway.New(sess) +// func main() { +// sess := session.New() +// svc := backupgateway.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockBackupGatewayClient struct { -// backupgatewayiface.BackupGatewayAPI -// } -// func (m *mockBackupGatewayClient) AssociateGatewayToServer(input *backupgateway.AssociateGatewayToServerInput) (*backupgateway.AssociateGatewayToServerOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockBackupGatewayClient struct { +// backupgatewayiface.BackupGatewayAPI +// } +// func (m *mockBackupGatewayClient) AssociateGatewayToServer(input *backupgateway.AssociateGatewayToServerInput) (*backupgateway.AssociateGatewayToServerOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockBackupGatewayClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockBackupGatewayClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/doc.go index e90ca1554c2d..6ea3128fec49 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/doc.go @@ -22,7 +22,7 @@ // See backupgateway package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/backupgateway/ // -// Using the Client +// # Using the Client // // To contact AWS Backup Gateway with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/service.go index 370dbc4b3e8d..4f7375217004 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/backupgateway/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a BackupGateway client from just a session. -// svc := backupgateway.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a BackupGateway client with additional configuration -// svc := backupgateway.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a BackupGateway client from just a session. +// svc := backupgateway.New(mySession) +// +// // Create a BackupGateway client with additional configuration +// svc := backupgateway.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *BackupGateway { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/api.go index 207425165be5..dedd6f46e03b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/api.go @@ -28,14 +28,13 @@ const opCancelJob = "CancelJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelJobRequest method. +// req, resp := client.CancelJobRequest(params) // -// // Example sending a request using the CancelJobRequest method. -// req, resp := client.CancelJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJob func (c *Batch) CancelJobRequest(input *CancelJobInput) (req *request.Request, output *CancelJobOutput) { @@ -70,13 +69,14 @@ func (c *Batch) CancelJobRequest(input *CancelJobInput) (req *request.Request, o // API operation CancelJob for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJob func (c *Batch) CancelJob(input *CancelJobInput) (*CancelJobOutput, error) { @@ -116,14 +116,13 @@ const opCreateComputeEnvironment = "CreateComputeEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateComputeEnvironmentRequest method. +// req, resp := client.CreateComputeEnvironmentRequest(params) // -// // Example sending a request using the CreateComputeEnvironmentRequest method. -// req, resp := client.CreateComputeEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironment func (c *Batch) CreateComputeEnvironmentRequest(input *CreateComputeEnvironmentInput) (req *request.Request, output *CreateComputeEnvironmentOutput) { @@ -194,29 +193,29 @@ func (c *Batch) CreateComputeEnvironmentRequest(input *CreateComputeEnvironmentI // To use the enhanced updating of compute environments to update AMIs, follow // these rules: // -// * Either do not set the service role (serviceRole) parameter or set it -// to the AWSBatchServiceRole service-linked role. -// -// * Set the allocation strategy (allocationStrategy) parameter to BEST_FIT_PROGRESSIVE -// or SPOT_CAPACITY_OPTIMIZED. -// -// * Set the update to latest image version (updateToLatestImageVersion) -// parameter to true. -// -// * Do not specify an AMI ID in imageId, imageIdOverride (in ec2Configuration -// (https://docs.aws.amazon.com/batch/latest/APIReference/API_Ec2Configuration.html)), -// or in the launch template (launchTemplate). In that case Batch will select -// the latest Amazon ECS optimized AMI supported by Batch at the time the -// infrastructure update is initiated. Alternatively you can specify the -// AMI ID in the imageId or imageIdOverride parameters, or the launch template -// identified by the LaunchTemplate properties. Changing any of these properties -// will trigger an infrastructure update. If the AMI ID is specified in the -// launch template, it can not be replaced by specifying an AMI ID in either -// the imageId or imageIdOverride parameters. It can only be replaced by -// specifying a different launch template, or if the launch template version -// is set to $Default or $Latest, by setting either a new default version -// for the launch template (if $Default)or by adding a new version to the -// launch template (if $Latest). +// - Either do not set the service role (serviceRole) parameter or set it +// to the AWSBatchServiceRole service-linked role. +// +// - Set the allocation strategy (allocationStrategy) parameter to BEST_FIT_PROGRESSIVE +// or SPOT_CAPACITY_OPTIMIZED. +// +// - Set the update to latest image version (updateToLatestImageVersion) +// parameter to true. +// +// - Do not specify an AMI ID in imageId, imageIdOverride (in ec2Configuration +// (https://docs.aws.amazon.com/batch/latest/APIReference/API_Ec2Configuration.html)), +// or in the launch template (launchTemplate). In that case Batch will select +// the latest Amazon ECS optimized AMI supported by Batch at the time the +// infrastructure update is initiated. Alternatively you can specify the +// AMI ID in the imageId or imageIdOverride parameters, or the launch template +// identified by the LaunchTemplate properties. Changing any of these properties +// will trigger an infrastructure update. If the AMI ID is specified in the +// launch template, it can not be replaced by specifying an AMI ID in either +// the imageId or imageIdOverride parameters. It can only be replaced by +// specifying a different launch template, or if the launch template version +// is set to $Default or $Latest, by setting either a new default version +// for the launch template (if $Default)or by adding a new version to the +// launch template (if $Latest). // // If these rules are followed, any update that triggers an infrastructure update // will cause the AMI ID to be re-selected. If the version setting in the launch @@ -232,13 +231,14 @@ func (c *Batch) CreateComputeEnvironmentRequest(input *CreateComputeEnvironmentI // API operation CreateComputeEnvironment for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironment func (c *Batch) CreateComputeEnvironment(input *CreateComputeEnvironmentInput) (*CreateComputeEnvironmentOutput, error) { @@ -278,14 +278,13 @@ const opCreateJobQueue = "CreateJobQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateJobQueueRequest method. +// req, resp := client.CreateJobQueueRequest(params) // -// // Example sending a request using the CreateJobQueueRequest method. -// req, resp := client.CreateJobQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueue func (c *Batch) CreateJobQueueRequest(input *CreateJobQueueInput) (req *request.Request, output *CreateJobQueueOutput) { @@ -324,13 +323,14 @@ func (c *Batch) CreateJobQueueRequest(input *CreateJobQueueInput) (req *request. // API operation CreateJobQueue for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueue func (c *Batch) CreateJobQueue(input *CreateJobQueueInput) (*CreateJobQueueOutput, error) { @@ -370,14 +370,13 @@ const opCreateSchedulingPolicy = "CreateSchedulingPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSchedulingPolicyRequest method. +// req, resp := client.CreateSchedulingPolicyRequest(params) // -// // Example sending a request using the CreateSchedulingPolicyRequest method. -// req, resp := client.CreateSchedulingPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateSchedulingPolicy func (c *Batch) CreateSchedulingPolicyRequest(input *CreateSchedulingPolicyInput) (req *request.Request, output *CreateSchedulingPolicyOutput) { @@ -408,13 +407,14 @@ func (c *Batch) CreateSchedulingPolicyRequest(input *CreateSchedulingPolicyInput // API operation CreateSchedulingPolicy for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateSchedulingPolicy func (c *Batch) CreateSchedulingPolicy(input *CreateSchedulingPolicyInput) (*CreateSchedulingPolicyOutput, error) { @@ -454,14 +454,13 @@ const opDeleteComputeEnvironment = "DeleteComputeEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteComputeEnvironmentRequest method. +// req, resp := client.DeleteComputeEnvironmentRequest(params) // -// // Example sending a request using the DeleteComputeEnvironmentRequest method. -// req, resp := client.DeleteComputeEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironment func (c *Batch) DeleteComputeEnvironmentRequest(input *DeleteComputeEnvironmentInput) (req *request.Request, output *DeleteComputeEnvironmentOutput) { @@ -500,13 +499,14 @@ func (c *Batch) DeleteComputeEnvironmentRequest(input *DeleteComputeEnvironmentI // API operation DeleteComputeEnvironment for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironment func (c *Batch) DeleteComputeEnvironment(input *DeleteComputeEnvironmentInput) (*DeleteComputeEnvironmentOutput, error) { @@ -546,14 +546,13 @@ const opDeleteJobQueue = "DeleteJobQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteJobQueueRequest method. +// req, resp := client.DeleteJobQueueRequest(params) // -// // Example sending a request using the DeleteJobQueueRequest method. -// req, resp := client.DeleteJobQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueue func (c *Batch) DeleteJobQueueRequest(input *DeleteJobQueueInput) (req *request.Request, output *DeleteJobQueueOutput) { @@ -591,13 +590,14 @@ func (c *Batch) DeleteJobQueueRequest(input *DeleteJobQueueInput) (req *request. // API operation DeleteJobQueue for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueue func (c *Batch) DeleteJobQueue(input *DeleteJobQueueInput) (*DeleteJobQueueOutput, error) { @@ -637,14 +637,13 @@ const opDeleteSchedulingPolicy = "DeleteSchedulingPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSchedulingPolicyRequest method. +// req, resp := client.DeleteSchedulingPolicyRequest(params) // -// // Example sending a request using the DeleteSchedulingPolicyRequest method. -// req, resp := client.DeleteSchedulingPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteSchedulingPolicy func (c *Batch) DeleteSchedulingPolicyRequest(input *DeleteSchedulingPolicyInput) (req *request.Request, output *DeleteSchedulingPolicyOutput) { @@ -678,13 +677,14 @@ func (c *Batch) DeleteSchedulingPolicyRequest(input *DeleteSchedulingPolicyInput // API operation DeleteSchedulingPolicy for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteSchedulingPolicy func (c *Batch) DeleteSchedulingPolicy(input *DeleteSchedulingPolicyInput) (*DeleteSchedulingPolicyOutput, error) { @@ -724,14 +724,13 @@ const opDeregisterJobDefinition = "DeregisterJobDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterJobDefinitionRequest method. +// req, resp := client.DeregisterJobDefinitionRequest(params) // -// // Example sending a request using the DeregisterJobDefinitionRequest method. -// req, resp := client.DeregisterJobDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinition func (c *Batch) DeregisterJobDefinitionRequest(input *DeregisterJobDefinitionInput) (req *request.Request, output *DeregisterJobDefinitionOutput) { @@ -764,13 +763,14 @@ func (c *Batch) DeregisterJobDefinitionRequest(input *DeregisterJobDefinitionInp // API operation DeregisterJobDefinition for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinition func (c *Batch) DeregisterJobDefinition(input *DeregisterJobDefinitionInput) (*DeregisterJobDefinitionOutput, error) { @@ -810,14 +810,13 @@ const opDescribeComputeEnvironments = "DescribeComputeEnvironments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeComputeEnvironmentsRequest method. +// req, resp := client.DescribeComputeEnvironmentsRequest(params) // -// // Example sending a request using the DescribeComputeEnvironmentsRequest method. -// req, resp := client.DescribeComputeEnvironmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironments func (c *Batch) DescribeComputeEnvironmentsRequest(input *DescribeComputeEnvironmentsInput) (req *request.Request, output *DescribeComputeEnvironmentsOutput) { @@ -858,13 +857,14 @@ func (c *Batch) DescribeComputeEnvironmentsRequest(input *DescribeComputeEnviron // API operation DescribeComputeEnvironments for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironments func (c *Batch) DescribeComputeEnvironments(input *DescribeComputeEnvironmentsInput) (*DescribeComputeEnvironmentsOutput, error) { @@ -896,15 +896,14 @@ func (c *Batch) DescribeComputeEnvironmentsWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeComputeEnvironments operation. -// pageNum := 0 -// err := client.DescribeComputeEnvironmentsPages(params, -// func(page *batch.DescribeComputeEnvironmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeComputeEnvironments operation. +// pageNum := 0 +// err := client.DescribeComputeEnvironmentsPages(params, +// func(page *batch.DescribeComputeEnvironmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Batch) DescribeComputeEnvironmentsPages(input *DescribeComputeEnvironmentsInput, fn func(*DescribeComputeEnvironmentsOutput, bool) bool) error { return c.DescribeComputeEnvironmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -956,14 +955,13 @@ const opDescribeJobDefinitions = "DescribeJobDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobDefinitionsRequest method. +// req, resp := client.DescribeJobDefinitionsRequest(params) // -// // Example sending a request using the DescribeJobDefinitionsRequest method. -// req, resp := client.DescribeJobDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitions func (c *Batch) DescribeJobDefinitionsRequest(input *DescribeJobDefinitionsInput) (req *request.Request, output *DescribeJobDefinitionsOutput) { @@ -1001,13 +999,14 @@ func (c *Batch) DescribeJobDefinitionsRequest(input *DescribeJobDefinitionsInput // API operation DescribeJobDefinitions for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitions func (c *Batch) DescribeJobDefinitions(input *DescribeJobDefinitionsInput) (*DescribeJobDefinitionsOutput, error) { @@ -1039,15 +1038,14 @@ func (c *Batch) DescribeJobDefinitionsWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeJobDefinitions operation. -// pageNum := 0 -// err := client.DescribeJobDefinitionsPages(params, -// func(page *batch.DescribeJobDefinitionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeJobDefinitions operation. +// pageNum := 0 +// err := client.DescribeJobDefinitionsPages(params, +// func(page *batch.DescribeJobDefinitionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Batch) DescribeJobDefinitionsPages(input *DescribeJobDefinitionsInput, fn func(*DescribeJobDefinitionsOutput, bool) bool) error { return c.DescribeJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1099,14 +1097,13 @@ const opDescribeJobQueues = "DescribeJobQueues" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobQueuesRequest method. +// req, resp := client.DescribeJobQueuesRequest(params) // -// // Example sending a request using the DescribeJobQueuesRequest method. -// req, resp := client.DescribeJobQueuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueues func (c *Batch) DescribeJobQueuesRequest(input *DescribeJobQueuesInput) (req *request.Request, output *DescribeJobQueuesOutput) { @@ -1143,13 +1140,14 @@ func (c *Batch) DescribeJobQueuesRequest(input *DescribeJobQueuesInput) (req *re // API operation DescribeJobQueues for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueues func (c *Batch) DescribeJobQueues(input *DescribeJobQueuesInput) (*DescribeJobQueuesOutput, error) { @@ -1181,15 +1179,14 @@ func (c *Batch) DescribeJobQueuesWithContext(ctx aws.Context, input *DescribeJob // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeJobQueues operation. -// pageNum := 0 -// err := client.DescribeJobQueuesPages(params, -// func(page *batch.DescribeJobQueuesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeJobQueues operation. +// pageNum := 0 +// err := client.DescribeJobQueuesPages(params, +// func(page *batch.DescribeJobQueuesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Batch) DescribeJobQueuesPages(input *DescribeJobQueuesInput, fn func(*DescribeJobQueuesOutput, bool) bool) error { return c.DescribeJobQueuesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1241,14 +1238,13 @@ const opDescribeJobs = "DescribeJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobsRequest method. +// req, resp := client.DescribeJobsRequest(params) // -// // Example sending a request using the DescribeJobsRequest method. -// req, resp := client.DescribeJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobs func (c *Batch) DescribeJobsRequest(input *DescribeJobsInput) (req *request.Request, output *DescribeJobsOutput) { @@ -1279,13 +1275,14 @@ func (c *Batch) DescribeJobsRequest(input *DescribeJobsInput) (req *request.Requ // API operation DescribeJobs for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobs func (c *Batch) DescribeJobs(input *DescribeJobsInput) (*DescribeJobsOutput, error) { @@ -1325,14 +1322,13 @@ const opDescribeSchedulingPolicies = "DescribeSchedulingPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSchedulingPoliciesRequest method. +// req, resp := client.DescribeSchedulingPoliciesRequest(params) // -// // Example sending a request using the DescribeSchedulingPoliciesRequest method. -// req, resp := client.DescribeSchedulingPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeSchedulingPolicies func (c *Batch) DescribeSchedulingPoliciesRequest(input *DescribeSchedulingPoliciesInput) (req *request.Request, output *DescribeSchedulingPoliciesOutput) { @@ -1363,13 +1359,14 @@ func (c *Batch) DescribeSchedulingPoliciesRequest(input *DescribeSchedulingPolic // API operation DescribeSchedulingPolicies for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeSchedulingPolicies func (c *Batch) DescribeSchedulingPolicies(input *DescribeSchedulingPoliciesInput) (*DescribeSchedulingPoliciesOutput, error) { @@ -1409,14 +1406,13 @@ const opListJobs = "ListJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobsRequest method. +// req, resp := client.ListJobsRequest(params) // -// // Example sending a request using the ListJobsRequest method. -// req, resp := client.ListJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobs func (c *Batch) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { @@ -1447,11 +1443,11 @@ func (c *Batch) ListJobsRequest(input *ListJobsInput) (req *request.Request, out // // You must specify only one of the following items: // -// * A job queue ID to return a list of jobs in that job queue +// - A job queue ID to return a list of jobs in that job queue // -// * A multi-node parallel job ID to return a list of nodes for that job +// - A multi-node parallel job ID to return a list of nodes for that job // -// * An array job ID to return a list of the children for that job +// - An array job ID to return a list of the children for that job // // You can filter the results by job status with the jobStatus parameter. If // you don't specify a status, only RUNNING jobs are returned. @@ -1464,13 +1460,14 @@ func (c *Batch) ListJobsRequest(input *ListJobsInput) (req *request.Request, out // API operation ListJobs for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobs func (c *Batch) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { @@ -1502,15 +1499,14 @@ func (c *Batch) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobs operation. -// pageNum := 0 -// err := client.ListJobsPages(params, -// func(page *batch.ListJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobs operation. +// pageNum := 0 +// err := client.ListJobsPages(params, +// func(page *batch.ListJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Batch) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error { return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1562,14 +1558,13 @@ const opListSchedulingPolicies = "ListSchedulingPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSchedulingPoliciesRequest method. +// req, resp := client.ListSchedulingPoliciesRequest(params) // -// // Example sending a request using the ListSchedulingPoliciesRequest method. -// req, resp := client.ListSchedulingPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListSchedulingPolicies func (c *Batch) ListSchedulingPoliciesRequest(input *ListSchedulingPoliciesInput) (req *request.Request, output *ListSchedulingPoliciesOutput) { @@ -1606,13 +1601,14 @@ func (c *Batch) ListSchedulingPoliciesRequest(input *ListSchedulingPoliciesInput // API operation ListSchedulingPolicies for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListSchedulingPolicies func (c *Batch) ListSchedulingPolicies(input *ListSchedulingPoliciesInput) (*ListSchedulingPoliciesOutput, error) { @@ -1644,15 +1640,14 @@ func (c *Batch) ListSchedulingPoliciesWithContext(ctx aws.Context, input *ListSc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSchedulingPolicies operation. -// pageNum := 0 -// err := client.ListSchedulingPoliciesPages(params, -// func(page *batch.ListSchedulingPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSchedulingPolicies operation. +// pageNum := 0 +// err := client.ListSchedulingPoliciesPages(params, +// func(page *batch.ListSchedulingPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Batch) ListSchedulingPoliciesPages(input *ListSchedulingPoliciesInput, fn func(*ListSchedulingPoliciesOutput, bool) bool) error { return c.ListSchedulingPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1704,14 +1699,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListTagsForResource func (c *Batch) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1744,13 +1738,14 @@ func (c *Batch) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListTagsForResource func (c *Batch) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1790,14 +1785,13 @@ const opRegisterJobDefinition = "RegisterJobDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterJobDefinitionRequest method. +// req, resp := client.RegisterJobDefinitionRequest(params) // -// // Example sending a request using the RegisterJobDefinitionRequest method. -// req, resp := client.RegisterJobDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinition func (c *Batch) RegisterJobDefinitionRequest(input *RegisterJobDefinitionInput) (req *request.Request, output *RegisterJobDefinitionOutput) { @@ -1828,13 +1822,14 @@ func (c *Batch) RegisterJobDefinitionRequest(input *RegisterJobDefinitionInput) // API operation RegisterJobDefinition for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinition func (c *Batch) RegisterJobDefinition(input *RegisterJobDefinitionInput) (*RegisterJobDefinitionOutput, error) { @@ -1874,14 +1869,13 @@ const opSubmitJob = "SubmitJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SubmitJobRequest method. +// req, resp := client.SubmitJobRequest(params) // -// // Example sending a request using the SubmitJobRequest method. -// req, resp := client.SubmitJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJob func (c *Batch) SubmitJobRequest(input *SubmitJobInput) (req *request.Request, output *SubmitJobOutput) { @@ -1925,13 +1919,14 @@ func (c *Batch) SubmitJobRequest(input *SubmitJobInput) (req *request.Request, o // API operation SubmitJob for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJob func (c *Batch) SubmitJob(input *SubmitJobInput) (*SubmitJobOutput, error) { @@ -1971,14 +1966,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TagResource func (c *Batch) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2016,13 +2010,14 @@ func (c *Batch) TagResourceRequest(input *TagResourceInput) (req *request.Reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TagResource func (c *Batch) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2062,14 +2057,13 @@ const opTerminateJob = "TerminateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TerminateJobRequest method. +// req, resp := client.TerminateJobRequest(params) // -// // Example sending a request using the TerminateJobRequest method. -// req, resp := client.TerminateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJob func (c *Batch) TerminateJobRequest(input *TerminateJobInput) (req *request.Request, output *TerminateJobOutput) { @@ -2103,13 +2097,14 @@ func (c *Batch) TerminateJobRequest(input *TerminateJobInput) (req *request.Requ // API operation TerminateJob for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJob func (c *Batch) TerminateJob(input *TerminateJobInput) (*TerminateJobOutput, error) { @@ -2149,14 +2144,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UntagResource func (c *Batch) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2188,13 +2182,14 @@ func (c *Batch) UntagResourceRequest(input *UntagResourceInput) (req *request.Re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UntagResource func (c *Batch) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2234,14 +2229,13 @@ const opUpdateComputeEnvironment = "UpdateComputeEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateComputeEnvironmentRequest method. +// req, resp := client.UpdateComputeEnvironmentRequest(params) // -// // Example sending a request using the UpdateComputeEnvironmentRequest method. -// req, resp := client.UpdateComputeEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironment func (c *Batch) UpdateComputeEnvironmentRequest(input *UpdateComputeEnvironmentInput) (req *request.Request, output *UpdateComputeEnvironmentOutput) { @@ -2272,13 +2266,14 @@ func (c *Batch) UpdateComputeEnvironmentRequest(input *UpdateComputeEnvironmentI // API operation UpdateComputeEnvironment for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironment func (c *Batch) UpdateComputeEnvironment(input *UpdateComputeEnvironmentInput) (*UpdateComputeEnvironmentOutput, error) { @@ -2318,14 +2313,13 @@ const opUpdateJobQueue = "UpdateJobQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateJobQueueRequest method. +// req, resp := client.UpdateJobQueueRequest(params) // -// // Example sending a request using the UpdateJobQueueRequest method. -// req, resp := client.UpdateJobQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueue func (c *Batch) UpdateJobQueueRequest(input *UpdateJobQueueInput) (req *request.Request, output *UpdateJobQueueOutput) { @@ -2356,13 +2350,14 @@ func (c *Batch) UpdateJobQueueRequest(input *UpdateJobQueueInput) (req *request. // API operation UpdateJobQueue for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueue func (c *Batch) UpdateJobQueue(input *UpdateJobQueueInput) (*UpdateJobQueueOutput, error) { @@ -2402,14 +2397,13 @@ const opUpdateSchedulingPolicy = "UpdateSchedulingPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSchedulingPolicyRequest method. +// req, resp := client.UpdateSchedulingPolicyRequest(params) // -// // Example sending a request using the UpdateSchedulingPolicyRequest method. -// req, resp := client.UpdateSchedulingPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateSchedulingPolicy func (c *Batch) UpdateSchedulingPolicyRequest(input *UpdateSchedulingPolicyInput) (req *request.Request, output *UpdateSchedulingPolicyOutput) { @@ -2441,13 +2435,14 @@ func (c *Batch) UpdateSchedulingPolicyRequest(input *UpdateSchedulingPolicyInput // API operation UpdateSchedulingPolicy for usage and error information. // // Returned Error Types: -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an identifier that's not valid. // -// * ServerException -// These errors are usually caused by a server issue. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an identifier that's not valid. +// +// - ServerException +// These errors are usually caused by a server issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateSchedulingPolicy func (c *Batch) UpdateSchedulingPolicy(input *UpdateSchedulingPolicyInput) (*UpdateSchedulingPolicyOutput, error) { @@ -9509,11 +9504,11 @@ func (s *SchedulingPolicyListingDetail) SetArn(v string) *SchedulingPolicyListin // An object representing the secret to expose to your container. Secrets can // be exposed to a container in the following ways: // -// * To inject sensitive data into your containers as environment variables, -// use the secrets container definition parameter. +// - To inject sensitive data into your containers as environment variables, +// use the secrets container definition parameter. // -// * To reference sensitive information in the log configuration of a container, -// use the secretOptions container definition parameter. +// - To reference sensitive information in the log configuration of a container, +// use the secretOptions container definition parameter. // // For more information, see Specifying sensitive data (https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html) // in the Batch User Guide. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/batchiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/batchiface/interface.go index 8f33be2d0ad5..84a34ca36f7b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/batchiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/batchiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Batch. -// func myFunc(svc batchiface.BatchAPI) bool { -// // Make svc.CancelJob request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Batch. +// func myFunc(svc batchiface.BatchAPI) bool { +// // Make svc.CancelJob request +// } // -// func main() { -// sess := session.New() -// svc := batch.New(sess) +// func main() { +// sess := session.New() +// svc := batch.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockBatchClient struct { -// batchiface.BatchAPI -// } -// func (m *mockBatchClient) CancelJob(input *batch.CancelJobInput) (*batch.CancelJobOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockBatchClient struct { +// batchiface.BatchAPI +// } +// func (m *mockBatchClient) CancelJob(input *batch.CancelJobInput) (*batch.CancelJobOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockBatchClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockBatchClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/doc.go index 95e74abaea67..6a5b0c179c92 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/doc.go @@ -25,7 +25,7 @@ // See batch package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/batch/ // -// Using the Client +// # Using the Client // // To contact AWS Batch with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/service.go index 361546cd0b8c..b0c523a30533 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/batch/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Batch client from just a session. -// svc := batch.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Batch client with additional configuration -// svc := batch.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Batch client from just a session. +// svc := batch.New(mySession) +// +// // Create a Batch client with additional configuration +// svc := batch.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Batch { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/api.go index d282aaa0e9cd..368446fe23dd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/api.go @@ -28,14 +28,13 @@ const opAssociateAccounts = "AssociateAccounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateAccountsRequest method. +// req, resp := client.AssociateAccountsRequest(params) // -// // Example sending a request using the AssociateAccountsRequest method. -// req, resp := client.AssociateAccountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/AssociateAccounts func (c *BillingConductor) AssociateAccountsRequest(input *AssociateAccountsInput) (req *request.Request, output *AssociateAccountsOutput) { @@ -70,27 +69,28 @@ func (c *BillingConductor) AssociateAccountsRequest(input *AssociateAccountsInpu // API operation AssociateAccounts for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * ServiceLimitExceededException -// The request would cause a service limit to exceed. +// - ServiceLimitExceededException +// The request would cause a service limit to exceed. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/AssociateAccounts func (c *BillingConductor) AssociateAccounts(input *AssociateAccountsInput) (*AssociateAccountsOutput, error) { @@ -130,14 +130,13 @@ const opAssociatePricingRules = "AssociatePricingRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociatePricingRulesRequest method. +// req, resp := client.AssociatePricingRulesRequest(params) // -// // Example sending a request using the AssociatePricingRulesRequest method. -// req, resp := client.AssociatePricingRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/AssociatePricingRules func (c *BillingConductor) AssociatePricingRulesRequest(input *AssociatePricingRulesInput) (req *request.Request, output *AssociatePricingRulesOutput) { @@ -169,27 +168,28 @@ func (c *BillingConductor) AssociatePricingRulesRequest(input *AssociatePricingR // API operation AssociatePricingRules for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ServiceLimitExceededException -// The request would cause a service limit to exceed. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ServiceLimitExceededException +// The request would cause a service limit to exceed. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/AssociatePricingRules func (c *BillingConductor) AssociatePricingRules(input *AssociatePricingRulesInput) (*AssociatePricingRulesOutput, error) { @@ -229,14 +229,13 @@ const opBatchAssociateResourcesToCustomLineItem = "BatchAssociateResourcesToCust // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchAssociateResourcesToCustomLineItemRequest method. +// req, resp := client.BatchAssociateResourcesToCustomLineItemRequest(params) // -// // Example sending a request using the BatchAssociateResourcesToCustomLineItemRequest method. -// req, resp := client.BatchAssociateResourcesToCustomLineItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/BatchAssociateResourcesToCustomLineItem func (c *BillingConductor) BatchAssociateResourcesToCustomLineItemRequest(input *BatchAssociateResourcesToCustomLineItemInput) (req *request.Request, output *BatchAssociateResourcesToCustomLineItemOutput) { @@ -267,27 +266,28 @@ func (c *BillingConductor) BatchAssociateResourcesToCustomLineItemRequest(input // API operation BatchAssociateResourcesToCustomLineItem for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ServiceLimitExceededException -// The request would cause a service limit to exceed. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ServiceLimitExceededException +// The request would cause a service limit to exceed. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/BatchAssociateResourcesToCustomLineItem func (c *BillingConductor) BatchAssociateResourcesToCustomLineItem(input *BatchAssociateResourcesToCustomLineItemInput) (*BatchAssociateResourcesToCustomLineItemOutput, error) { @@ -327,14 +327,13 @@ const opBatchDisassociateResourcesFromCustomLineItem = "BatchDisassociateResourc // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDisassociateResourcesFromCustomLineItemRequest method. +// req, resp := client.BatchDisassociateResourcesFromCustomLineItemRequest(params) // -// // Example sending a request using the BatchDisassociateResourcesFromCustomLineItemRequest method. -// req, resp := client.BatchDisassociateResourcesFromCustomLineItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/BatchDisassociateResourcesFromCustomLineItem func (c *BillingConductor) BatchDisassociateResourcesFromCustomLineItemRequest(input *BatchDisassociateResourcesFromCustomLineItemInput) (req *request.Request, output *BatchDisassociateResourcesFromCustomLineItemOutput) { @@ -365,24 +364,25 @@ func (c *BillingConductor) BatchDisassociateResourcesFromCustomLineItemRequest(i // API operation BatchDisassociateResourcesFromCustomLineItem for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/BatchDisassociateResourcesFromCustomLineItem func (c *BillingConductor) BatchDisassociateResourcesFromCustomLineItem(input *BatchDisassociateResourcesFromCustomLineItemInput) (*BatchDisassociateResourcesFromCustomLineItemOutput, error) { @@ -422,14 +422,13 @@ const opCreateBillingGroup = "CreateBillingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBillingGroupRequest method. +// req, resp := client.CreateBillingGroupRequest(params) // -// // Example sending a request using the CreateBillingGroupRequest method. -// req, resp := client.CreateBillingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreateBillingGroup func (c *BillingConductor) CreateBillingGroupRequest(input *CreateBillingGroupInput) (req *request.Request, output *CreateBillingGroupOutput) { @@ -461,24 +460,25 @@ func (c *BillingConductor) CreateBillingGroupRequest(input *CreateBillingGroupIn // API operation CreateBillingGroup for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ServiceLimitExceededException -// The request would cause a service limit to exceed. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ServiceLimitExceededException +// The request would cause a service limit to exceed. +// +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreateBillingGroup func (c *BillingConductor) CreateBillingGroup(input *CreateBillingGroupInput) (*CreateBillingGroupOutput, error) { @@ -518,14 +518,13 @@ const opCreateCustomLineItem = "CreateCustomLineItem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCustomLineItemRequest method. +// req, resp := client.CreateCustomLineItemRequest(params) // -// // Example sending a request using the CreateCustomLineItemRequest method. -// req, resp := client.CreateCustomLineItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreateCustomLineItem func (c *BillingConductor) CreateCustomLineItemRequest(input *CreateCustomLineItemInput) (req *request.Request, output *CreateCustomLineItemOutput) { @@ -558,24 +557,25 @@ func (c *BillingConductor) CreateCustomLineItemRequest(input *CreateCustomLineIt // API operation CreateCustomLineItem for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * ServiceLimitExceededException -// The request would cause a service limit to exceed. +// - ServiceLimitExceededException +// The request would cause a service limit to exceed. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreateCustomLineItem func (c *BillingConductor) CreateCustomLineItem(input *CreateCustomLineItemInput) (*CreateCustomLineItemOutput, error) { @@ -615,14 +615,13 @@ const opCreatePricingPlan = "CreatePricingPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePricingPlanRequest method. +// req, resp := client.CreatePricingPlanRequest(params) // -// // Example sending a request using the CreatePricingPlanRequest method. -// req, resp := client.CreatePricingPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreatePricingPlan func (c *BillingConductor) CreatePricingPlanRequest(input *CreatePricingPlanInput) (req *request.Request, output *CreatePricingPlanOutput) { @@ -654,27 +653,28 @@ func (c *BillingConductor) CreatePricingPlanRequest(input *CreatePricingPlanInpu // API operation CreatePricingPlan for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * ServiceLimitExceededException -// The request would cause a service limit to exceed. +// - ServiceLimitExceededException +// The request would cause a service limit to exceed. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreatePricingPlan func (c *BillingConductor) CreatePricingPlan(input *CreatePricingPlanInput) (*CreatePricingPlanOutput, error) { @@ -714,14 +714,13 @@ const opCreatePricingRule = "CreatePricingRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePricingRuleRequest method. +// req, resp := client.CreatePricingRuleRequest(params) // -// // Example sending a request using the CreatePricingRuleRequest method. -// req, resp := client.CreatePricingRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreatePricingRule func (c *BillingConductor) CreatePricingRuleRequest(input *CreatePricingRuleInput) (req *request.Request, output *CreatePricingRuleOutput) { @@ -753,24 +752,25 @@ func (c *BillingConductor) CreatePricingRuleRequest(input *CreatePricingRuleInpu // API operation CreatePricingRule for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * ServiceLimitExceededException -// The request would cause a service limit to exceed. +// - ServiceLimitExceededException +// The request would cause a service limit to exceed. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/CreatePricingRule func (c *BillingConductor) CreatePricingRule(input *CreatePricingRuleInput) (*CreatePricingRuleOutput, error) { @@ -810,14 +810,13 @@ const opDeleteBillingGroup = "DeleteBillingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBillingGroupRequest method. +// req, resp := client.DeleteBillingGroupRequest(params) // -// // Example sending a request using the DeleteBillingGroupRequest method. -// req, resp := client.DeleteBillingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeleteBillingGroup func (c *BillingConductor) DeleteBillingGroupRequest(input *DeleteBillingGroupInput) (req *request.Request, output *DeleteBillingGroupOutput) { @@ -848,18 +847,19 @@ func (c *BillingConductor) DeleteBillingGroupRequest(input *DeleteBillingGroupIn // API operation DeleteBillingGroup for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeleteBillingGroup func (c *BillingConductor) DeleteBillingGroup(input *DeleteBillingGroupInput) (*DeleteBillingGroupOutput, error) { @@ -899,14 +899,13 @@ const opDeleteCustomLineItem = "DeleteCustomLineItem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomLineItemRequest method. +// req, resp := client.DeleteCustomLineItemRequest(params) // -// // Example sending a request using the DeleteCustomLineItemRequest method. -// req, resp := client.DeleteCustomLineItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeleteCustomLineItem func (c *BillingConductor) DeleteCustomLineItemRequest(input *DeleteCustomLineItemInput) (req *request.Request, output *DeleteCustomLineItemOutput) { @@ -938,21 +937,22 @@ func (c *BillingConductor) DeleteCustomLineItemRequest(input *DeleteCustomLineIt // API operation DeleteCustomLineItem for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeleteCustomLineItem func (c *BillingConductor) DeleteCustomLineItem(input *DeleteCustomLineItemInput) (*DeleteCustomLineItemOutput, error) { @@ -992,14 +992,13 @@ const opDeletePricingPlan = "DeletePricingPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePricingPlanRequest method. +// req, resp := client.DeletePricingPlanRequest(params) // -// // Example sending a request using the DeletePricingPlanRequest method. -// req, resp := client.DeletePricingPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeletePricingPlan func (c *BillingConductor) DeletePricingPlanRequest(input *DeletePricingPlanInput) (req *request.Request, output *DeletePricingPlanOutput) { @@ -1031,21 +1030,22 @@ func (c *BillingConductor) DeletePricingPlanRequest(input *DeletePricingPlanInpu // API operation DeletePricingPlan for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. +// +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeletePricingPlan func (c *BillingConductor) DeletePricingPlan(input *DeletePricingPlanInput) (*DeletePricingPlanOutput, error) { @@ -1085,14 +1085,13 @@ const opDeletePricingRule = "DeletePricingRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePricingRuleRequest method. +// req, resp := client.DeletePricingRuleRequest(params) // -// // Example sending a request using the DeletePricingRuleRequest method. -// req, resp := client.DeletePricingRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeletePricingRule func (c *BillingConductor) DeletePricingRuleRequest(input *DeletePricingRuleInput) (req *request.Request, output *DeletePricingRuleOutput) { @@ -1123,21 +1122,22 @@ func (c *BillingConductor) DeletePricingRuleRequest(input *DeletePricingRuleInpu // API operation DeletePricingRule for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. +// +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DeletePricingRule func (c *BillingConductor) DeletePricingRule(input *DeletePricingRuleInput) (*DeletePricingRuleOutput, error) { @@ -1177,14 +1177,13 @@ const opDisassociateAccounts = "DisassociateAccounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateAccountsRequest method. +// req, resp := client.DisassociateAccountsRequest(params) // -// // Example sending a request using the DisassociateAccountsRequest method. -// req, resp := client.DisassociateAccountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DisassociateAccounts func (c *BillingConductor) DisassociateAccountsRequest(input *DisassociateAccountsInput) (req *request.Request, output *DisassociateAccountsOutput) { @@ -1215,24 +1214,25 @@ func (c *BillingConductor) DisassociateAccountsRequest(input *DisassociateAccoun // API operation DisassociateAccounts for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DisassociateAccounts func (c *BillingConductor) DisassociateAccounts(input *DisassociateAccountsInput) (*DisassociateAccountsOutput, error) { @@ -1272,14 +1272,13 @@ const opDisassociatePricingRules = "DisassociatePricingRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociatePricingRulesRequest method. +// req, resp := client.DisassociatePricingRulesRequest(params) // -// // Example sending a request using the DisassociatePricingRulesRequest method. -// req, resp := client.DisassociatePricingRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DisassociatePricingRules func (c *BillingConductor) DisassociatePricingRulesRequest(input *DisassociatePricingRulesInput) (req *request.Request, output *DisassociatePricingRulesOutput) { @@ -1310,24 +1309,25 @@ func (c *BillingConductor) DisassociatePricingRulesRequest(input *DisassociatePr // API operation DisassociatePricingRules for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/DisassociatePricingRules func (c *BillingConductor) DisassociatePricingRules(input *DisassociatePricingRulesInput) (*DisassociatePricingRulesOutput, error) { @@ -1367,14 +1367,13 @@ const opListAccountAssociations = "ListAccountAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccountAssociationsRequest method. +// req, resp := client.ListAccountAssociationsRequest(params) // -// // Example sending a request using the ListAccountAssociationsRequest method. -// req, resp := client.ListAccountAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListAccountAssociations func (c *BillingConductor) ListAccountAssociationsRequest(input *ListAccountAssociationsInput) (req *request.Request, output *ListAccountAssociationsOutput) { @@ -1401,10 +1400,10 @@ func (c *BillingConductor) ListAccountAssociationsRequest(input *ListAccountAsso // ListAccountAssociations API operation for AWSBillingConductor. // -// Amazon Web Services Billing Conductor is in beta release and is subject -// to change. Your use of Amazon Web Services Billing Conductor is subject -// to the Beta Service Participation terms of the Amazon Web Services Service -// Terms (https://aws.amazon.com/service-terms/) (Section 1.10). +// Amazon Web Services Billing Conductor is in beta release and is subject +// to change. Your use of Amazon Web Services Billing Conductor is subject +// to the Beta Service Participation terms of the Amazon Web Services Service +// Terms (https://aws.amazon.com/service-terms/) (Section 1.10). // // This is a paginated call to list linked accounts that are linked to the payer // account for the specified time period. If no information is provided, the @@ -1419,21 +1418,22 @@ func (c *BillingConductor) ListAccountAssociationsRequest(input *ListAccountAsso // API operation ListAccountAssociations for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListAccountAssociations func (c *BillingConductor) ListAccountAssociations(input *ListAccountAssociationsInput) (*ListAccountAssociationsOutput, error) { @@ -1465,15 +1465,14 @@ func (c *BillingConductor) ListAccountAssociationsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccountAssociations operation. -// pageNum := 0 -// err := client.ListAccountAssociationsPages(params, -// func(page *billingconductor.ListAccountAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccountAssociations operation. +// pageNum := 0 +// err := client.ListAccountAssociationsPages(params, +// func(page *billingconductor.ListAccountAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *BillingConductor) ListAccountAssociationsPages(input *ListAccountAssociationsInput, fn func(*ListAccountAssociationsOutput, bool) bool) error { return c.ListAccountAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1525,14 +1524,13 @@ const opListBillingGroupCostReports = "ListBillingGroupCostReports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBillingGroupCostReportsRequest method. +// req, resp := client.ListBillingGroupCostReportsRequest(params) // -// // Example sending a request using the ListBillingGroupCostReportsRequest method. -// req, resp := client.ListBillingGroupCostReportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListBillingGroupCostReports func (c *BillingConductor) ListBillingGroupCostReportsRequest(input *ListBillingGroupCostReportsInput) (req *request.Request, output *ListBillingGroupCostReportsOutput) { @@ -1571,21 +1569,22 @@ func (c *BillingConductor) ListBillingGroupCostReportsRequest(input *ListBilling // API operation ListBillingGroupCostReports for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListBillingGroupCostReports func (c *BillingConductor) ListBillingGroupCostReports(input *ListBillingGroupCostReportsInput) (*ListBillingGroupCostReportsOutput, error) { @@ -1617,15 +1616,14 @@ func (c *BillingConductor) ListBillingGroupCostReportsWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBillingGroupCostReports operation. -// pageNum := 0 -// err := client.ListBillingGroupCostReportsPages(params, -// func(page *billingconductor.ListBillingGroupCostReportsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBillingGroupCostReports operation. +// pageNum := 0 +// err := client.ListBillingGroupCostReportsPages(params, +// func(page *billingconductor.ListBillingGroupCostReportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *BillingConductor) ListBillingGroupCostReportsPages(input *ListBillingGroupCostReportsInput, fn func(*ListBillingGroupCostReportsOutput, bool) bool) error { return c.ListBillingGroupCostReportsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1677,14 +1675,13 @@ const opListBillingGroups = "ListBillingGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBillingGroupsRequest method. +// req, resp := client.ListBillingGroupsRequest(params) // -// // Example sending a request using the ListBillingGroupsRequest method. -// req, resp := client.ListBillingGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListBillingGroups func (c *BillingConductor) ListBillingGroupsRequest(input *ListBillingGroupsInput) (req *request.Request, output *ListBillingGroupsOutput) { @@ -1723,21 +1720,22 @@ func (c *BillingConductor) ListBillingGroupsRequest(input *ListBillingGroupsInpu // API operation ListBillingGroups for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListBillingGroups func (c *BillingConductor) ListBillingGroups(input *ListBillingGroupsInput) (*ListBillingGroupsOutput, error) { @@ -1769,15 +1767,14 @@ func (c *BillingConductor) ListBillingGroupsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBillingGroups operation. -// pageNum := 0 -// err := client.ListBillingGroupsPages(params, -// func(page *billingconductor.ListBillingGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBillingGroups operation. +// pageNum := 0 +// err := client.ListBillingGroupsPages(params, +// func(page *billingconductor.ListBillingGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *BillingConductor) ListBillingGroupsPages(input *ListBillingGroupsInput, fn func(*ListBillingGroupsOutput, bool) bool) error { return c.ListBillingGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1829,14 +1826,13 @@ const opListCustomLineItems = "ListCustomLineItems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCustomLineItemsRequest method. +// req, resp := client.ListCustomLineItemsRequest(params) // -// // Example sending a request using the ListCustomLineItemsRequest method. -// req, resp := client.ListCustomLineItemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListCustomLineItems func (c *BillingConductor) ListCustomLineItemsRequest(input *ListCustomLineItemsInput) (req *request.Request, output *ListCustomLineItemsOutput) { @@ -1875,21 +1871,22 @@ func (c *BillingConductor) ListCustomLineItemsRequest(input *ListCustomLineItems // API operation ListCustomLineItems for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListCustomLineItems func (c *BillingConductor) ListCustomLineItems(input *ListCustomLineItemsInput) (*ListCustomLineItemsOutput, error) { @@ -1921,15 +1918,14 @@ func (c *BillingConductor) ListCustomLineItemsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCustomLineItems operation. -// pageNum := 0 -// err := client.ListCustomLineItemsPages(params, -// func(page *billingconductor.ListCustomLineItemsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCustomLineItems operation. +// pageNum := 0 +// err := client.ListCustomLineItemsPages(params, +// func(page *billingconductor.ListCustomLineItemsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *BillingConductor) ListCustomLineItemsPages(input *ListCustomLineItemsInput, fn func(*ListCustomLineItemsOutput, bool) bool) error { return c.ListCustomLineItemsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1981,14 +1977,13 @@ const opListPricingPlans = "ListPricingPlans" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPricingPlansRequest method. +// req, resp := client.ListPricingPlansRequest(params) // -// // Example sending a request using the ListPricingPlansRequest method. -// req, resp := client.ListPricingPlansRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingPlans func (c *BillingConductor) ListPricingPlansRequest(input *ListPricingPlansInput) (req *request.Request, output *ListPricingPlansOutput) { @@ -2026,18 +2021,19 @@ func (c *BillingConductor) ListPricingPlansRequest(input *ListPricingPlansInput) // API operation ListPricingPlans for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingPlans func (c *BillingConductor) ListPricingPlans(input *ListPricingPlansInput) (*ListPricingPlansOutput, error) { @@ -2069,15 +2065,14 @@ func (c *BillingConductor) ListPricingPlansWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPricingPlans operation. -// pageNum := 0 -// err := client.ListPricingPlansPages(params, -// func(page *billingconductor.ListPricingPlansOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPricingPlans operation. +// pageNum := 0 +// err := client.ListPricingPlansPages(params, +// func(page *billingconductor.ListPricingPlansOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *BillingConductor) ListPricingPlansPages(input *ListPricingPlansInput, fn func(*ListPricingPlansOutput, bool) bool) error { return c.ListPricingPlansPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2129,14 +2124,13 @@ const opListPricingPlansAssociatedWithPricingRule = "ListPricingPlansAssociatedW // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPricingPlansAssociatedWithPricingRuleRequest method. +// req, resp := client.ListPricingPlansAssociatedWithPricingRuleRequest(params) // -// // Example sending a request using the ListPricingPlansAssociatedWithPricingRuleRequest method. -// req, resp := client.ListPricingPlansAssociatedWithPricingRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingPlansAssociatedWithPricingRule func (c *BillingConductor) ListPricingPlansAssociatedWithPricingRuleRequest(input *ListPricingPlansAssociatedWithPricingRuleInput) (req *request.Request, output *ListPricingPlansAssociatedWithPricingRuleOutput) { @@ -2173,21 +2167,22 @@ func (c *BillingConductor) ListPricingPlansAssociatedWithPricingRuleRequest(inpu // API operation ListPricingPlansAssociatedWithPricingRule for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingPlansAssociatedWithPricingRule func (c *BillingConductor) ListPricingPlansAssociatedWithPricingRule(input *ListPricingPlansAssociatedWithPricingRuleInput) (*ListPricingPlansAssociatedWithPricingRuleOutput, error) { @@ -2219,15 +2214,14 @@ func (c *BillingConductor) ListPricingPlansAssociatedWithPricingRuleWithContext( // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPricingPlansAssociatedWithPricingRule operation. -// pageNum := 0 -// err := client.ListPricingPlansAssociatedWithPricingRulePages(params, -// func(page *billingconductor.ListPricingPlansAssociatedWithPricingRuleOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPricingPlansAssociatedWithPricingRule operation. +// pageNum := 0 +// err := client.ListPricingPlansAssociatedWithPricingRulePages(params, +// func(page *billingconductor.ListPricingPlansAssociatedWithPricingRuleOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *BillingConductor) ListPricingPlansAssociatedWithPricingRulePages(input *ListPricingPlansAssociatedWithPricingRuleInput, fn func(*ListPricingPlansAssociatedWithPricingRuleOutput, bool) bool) error { return c.ListPricingPlansAssociatedWithPricingRulePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2279,14 +2273,13 @@ const opListPricingRules = "ListPricingRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPricingRulesRequest method. +// req, resp := client.ListPricingRulesRequest(params) // -// // Example sending a request using the ListPricingRulesRequest method. -// req, resp := client.ListPricingRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingRules func (c *BillingConductor) ListPricingRulesRequest(input *ListPricingRulesInput) (req *request.Request, output *ListPricingRulesOutput) { @@ -2324,18 +2317,19 @@ func (c *BillingConductor) ListPricingRulesRequest(input *ListPricingRulesInput) // API operation ListPricingRules for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingRules func (c *BillingConductor) ListPricingRules(input *ListPricingRulesInput) (*ListPricingRulesOutput, error) { @@ -2367,15 +2361,14 @@ func (c *BillingConductor) ListPricingRulesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPricingRules operation. -// pageNum := 0 -// err := client.ListPricingRulesPages(params, -// func(page *billingconductor.ListPricingRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPricingRules operation. +// pageNum := 0 +// err := client.ListPricingRulesPages(params, +// func(page *billingconductor.ListPricingRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *BillingConductor) ListPricingRulesPages(input *ListPricingRulesInput, fn func(*ListPricingRulesOutput, bool) bool) error { return c.ListPricingRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2427,14 +2420,13 @@ const opListPricingRulesAssociatedToPricingPlan = "ListPricingRulesAssociatedToP // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPricingRulesAssociatedToPricingPlanRequest method. +// req, resp := client.ListPricingRulesAssociatedToPricingPlanRequest(params) // -// // Example sending a request using the ListPricingRulesAssociatedToPricingPlanRequest method. -// req, resp := client.ListPricingRulesAssociatedToPricingPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingRulesAssociatedToPricingPlan func (c *BillingConductor) ListPricingRulesAssociatedToPricingPlanRequest(input *ListPricingRulesAssociatedToPricingPlanInput) (req *request.Request, output *ListPricingRulesAssociatedToPricingPlanOutput) { @@ -2471,21 +2463,22 @@ func (c *BillingConductor) ListPricingRulesAssociatedToPricingPlanRequest(input // API operation ListPricingRulesAssociatedToPricingPlan for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListPricingRulesAssociatedToPricingPlan func (c *BillingConductor) ListPricingRulesAssociatedToPricingPlan(input *ListPricingRulesAssociatedToPricingPlanInput) (*ListPricingRulesAssociatedToPricingPlanOutput, error) { @@ -2517,15 +2510,14 @@ func (c *BillingConductor) ListPricingRulesAssociatedToPricingPlanWithContext(ct // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPricingRulesAssociatedToPricingPlan operation. -// pageNum := 0 -// err := client.ListPricingRulesAssociatedToPricingPlanPages(params, -// func(page *billingconductor.ListPricingRulesAssociatedToPricingPlanOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPricingRulesAssociatedToPricingPlan operation. +// pageNum := 0 +// err := client.ListPricingRulesAssociatedToPricingPlanPages(params, +// func(page *billingconductor.ListPricingRulesAssociatedToPricingPlanOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *BillingConductor) ListPricingRulesAssociatedToPricingPlanPages(input *ListPricingRulesAssociatedToPricingPlanInput, fn func(*ListPricingRulesAssociatedToPricingPlanOutput, bool) bool) error { return c.ListPricingRulesAssociatedToPricingPlanPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2577,14 +2569,13 @@ const opListResourcesAssociatedToCustomLineItem = "ListResourcesAssociatedToCust // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourcesAssociatedToCustomLineItemRequest method. +// req, resp := client.ListResourcesAssociatedToCustomLineItemRequest(params) // -// // Example sending a request using the ListResourcesAssociatedToCustomLineItemRequest method. -// req, resp := client.ListResourcesAssociatedToCustomLineItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListResourcesAssociatedToCustomLineItem func (c *BillingConductor) ListResourcesAssociatedToCustomLineItemRequest(input *ListResourcesAssociatedToCustomLineItemInput) (req *request.Request, output *ListResourcesAssociatedToCustomLineItemOutput) { @@ -2621,21 +2612,22 @@ func (c *BillingConductor) ListResourcesAssociatedToCustomLineItemRequest(input // API operation ListResourcesAssociatedToCustomLineItem for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListResourcesAssociatedToCustomLineItem func (c *BillingConductor) ListResourcesAssociatedToCustomLineItem(input *ListResourcesAssociatedToCustomLineItemInput) (*ListResourcesAssociatedToCustomLineItemOutput, error) { @@ -2667,15 +2659,14 @@ func (c *BillingConductor) ListResourcesAssociatedToCustomLineItemWithContext(ct // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResourcesAssociatedToCustomLineItem operation. -// pageNum := 0 -// err := client.ListResourcesAssociatedToCustomLineItemPages(params, -// func(page *billingconductor.ListResourcesAssociatedToCustomLineItemOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResourcesAssociatedToCustomLineItem operation. +// pageNum := 0 +// err := client.ListResourcesAssociatedToCustomLineItemPages(params, +// func(page *billingconductor.ListResourcesAssociatedToCustomLineItemOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *BillingConductor) ListResourcesAssociatedToCustomLineItemPages(input *ListResourcesAssociatedToCustomLineItemInput, fn func(*ListResourcesAssociatedToCustomLineItemOutput, bool) bool) error { return c.ListResourcesAssociatedToCustomLineItemPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2727,14 +2718,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListTagsForResource func (c *BillingConductor) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2765,21 +2755,22 @@ func (c *BillingConductor) ListTagsForResourceRequest(input *ListTagsForResource // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/ListTagsForResource func (c *BillingConductor) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2819,14 +2810,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/TagResource func (c *BillingConductor) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2860,21 +2850,22 @@ func (c *BillingConductor) TagResourceRequest(input *TagResourceInput) (req *req // API operation TagResource for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/TagResource func (c *BillingConductor) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2914,14 +2905,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UntagResource func (c *BillingConductor) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2953,21 +2943,22 @@ func (c *BillingConductor) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UntagResource func (c *BillingConductor) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3007,14 +2998,13 @@ const opUpdateBillingGroup = "UpdateBillingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBillingGroupRequest method. +// req, resp := client.UpdateBillingGroupRequest(params) // -// // Example sending a request using the UpdateBillingGroupRequest method. -// req, resp := client.UpdateBillingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateBillingGroup func (c *BillingConductor) UpdateBillingGroupRequest(input *UpdateBillingGroupInput) (req *request.Request, output *UpdateBillingGroupOutput) { @@ -3045,24 +3035,25 @@ func (c *BillingConductor) UpdateBillingGroupRequest(input *UpdateBillingGroupIn // API operation UpdateBillingGroup for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateBillingGroup func (c *BillingConductor) UpdateBillingGroup(input *UpdateBillingGroupInput) (*UpdateBillingGroupOutput, error) { @@ -3102,14 +3093,13 @@ const opUpdateCustomLineItem = "UpdateCustomLineItem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCustomLineItemRequest method. +// req, resp := client.UpdateCustomLineItemRequest(params) // -// // Example sending a request using the UpdateCustomLineItemRequest method. -// req, resp := client.UpdateCustomLineItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateCustomLineItem func (c *BillingConductor) UpdateCustomLineItemRequest(input *UpdateCustomLineItemInput) (req *request.Request, output *UpdateCustomLineItemOutput) { @@ -3140,21 +3130,22 @@ func (c *BillingConductor) UpdateCustomLineItemRequest(input *UpdateCustomLineIt // API operation UpdateCustomLineItem for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdateCustomLineItem func (c *BillingConductor) UpdateCustomLineItem(input *UpdateCustomLineItemInput) (*UpdateCustomLineItemOutput, error) { @@ -3194,14 +3185,13 @@ const opUpdatePricingPlan = "UpdatePricingPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePricingPlanRequest method. +// req, resp := client.UpdatePricingPlanRequest(params) // -// // Example sending a request using the UpdatePricingPlanRequest method. -// req, resp := client.UpdatePricingPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdatePricingPlan func (c *BillingConductor) UpdatePricingPlanRequest(input *UpdatePricingPlanInput) (req *request.Request, output *UpdatePricingPlanOutput) { @@ -3232,24 +3222,25 @@ func (c *BillingConductor) UpdatePricingPlanRequest(input *UpdatePricingPlanInpu // API operation UpdatePricingPlan for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdatePricingPlan func (c *BillingConductor) UpdatePricingPlan(input *UpdatePricingPlanInput) (*UpdatePricingPlanOutput, error) { @@ -3289,14 +3280,13 @@ const opUpdatePricingRule = "UpdatePricingRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePricingRuleRequest method. +// req, resp := client.UpdatePricingRuleRequest(params) // -// // Example sending a request using the UpdatePricingRuleRequest method. -// req, resp := client.UpdatePricingRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdatePricingRule func (c *BillingConductor) UpdatePricingRuleRequest(input *UpdatePricingRuleInput) (req *request.Request, output *UpdatePricingRuleOutput) { @@ -3327,24 +3317,25 @@ func (c *BillingConductor) UpdatePricingRuleRequest(input *UpdatePricingRuleInpu // API operation UpdatePricingRule for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ConflictException -// You can cause an inconsistent state by updating or deleting a resource. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ConflictException +// You can cause an inconsistent state by updating or deleting a resource. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The input doesn't match with the constraints specified by Amazon Web Services -// services. +// - ValidationException +// The input doesn't match with the constraints specified by Amazon Web Services +// services. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/billingconductor-2021-07-30/UpdatePricingRule func (c *BillingConductor) UpdatePricingRule(input *UpdatePricingRuleInput) (*UpdatePricingRuleOutput, error) { @@ -3432,10 +3423,10 @@ func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } -// Amazon Web Services Billing Conductor is in beta release and is subject -// to change. Your use of Amazon Web Services Billing Conductor is subject -// to the Beta Service Participation terms of the Amazon Web Services Service -// Terms (https://aws.amazon.com/service-terms/) (Section 1.10). +// Amazon Web Services Billing Conductor is in beta release and is subject +// to change. Your use of Amazon Web Services Billing Conductor is subject +// to the Beta Service Participation terms of the Amazon Web Services Service +// Terms (https://aws.amazon.com/service-terms/) (Section 1.10). // // A representation of a linked account. type AccountAssociationsListElement struct { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/billingconductoriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/billingconductoriface/interface.go index 83053d5dcfd0..0049a851eb64 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/billingconductoriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/billingconductoriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWSBillingConductor. -// func myFunc(svc billingconductoriface.BillingConductorAPI) bool { -// // Make svc.AssociateAccounts request -// } +// // myFunc uses an SDK service client to make a request to +// // AWSBillingConductor. +// func myFunc(svc billingconductoriface.BillingConductorAPI) bool { +// // Make svc.AssociateAccounts request +// } // -// func main() { -// sess := session.New() -// svc := billingconductor.New(sess) +// func main() { +// sess := session.New() +// svc := billingconductor.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockBillingConductorClient struct { -// billingconductoriface.BillingConductorAPI -// } -// func (m *mockBillingConductorClient) AssociateAccounts(input *billingconductor.AssociateAccountsInput) (*billingconductor.AssociateAccountsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockBillingConductorClient struct { +// billingconductoriface.BillingConductorAPI +// } +// func (m *mockBillingConductorClient) AssociateAccounts(input *billingconductor.AssociateAccountsInput) (*billingconductor.AssociateAccountsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockBillingConductorClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockBillingConductorClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/doc.go index a0e30fa8e149..484c3f8688f7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/doc.go @@ -28,7 +28,7 @@ // See billingconductor package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/billingconductor/ // -// Using the Client +// # Using the Client // // To contact AWSBillingConductor with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/service.go index 3fe7f2573eeb..0d2f7c0edc1a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/billingconductor/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a BillingConductor client from just a session. -// svc := billingconductor.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a BillingConductor client with additional configuration -// svc := billingconductor.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a BillingConductor client from just a session. +// svc := billingconductor.New(mySession) +// +// // Create a BillingConductor client with additional configuration +// svc := billingconductor.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *BillingConductor { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/api.go index 697d29f5c9a3..c783d937135e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/api.go @@ -29,14 +29,13 @@ const opCancelJob = "CancelJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelJobRequest method. +// req, resp := client.CancelJobRequest(params) // -// // Example sending a request using the CancelJobRequest method. -// req, resp := client.CancelJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CancelJob func (c *Braket) CancelJobRequest(input *CancelJobInput) (req *request.Request, output *CancelJobOutput) { @@ -67,24 +66,25 @@ func (c *Braket) CancelJobRequest(input *CancelJobInput) (req *request.Request, // API operation CancelJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// An error occurred due to a conflict. +// - ConflictException +// An error occurred due to a conflict. // -// * ThrottlingException -// The throttling rate limit is met. +// - ThrottlingException +// The throttling rate limit is met. // -// * InternalServiceException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServiceException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CancelJob func (c *Braket) CancelJob(input *CancelJobInput) (*CancelJobOutput, error) { @@ -124,14 +124,13 @@ const opCancelQuantumTask = "CancelQuantumTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelQuantumTaskRequest method. +// req, resp := client.CancelQuantumTaskRequest(params) // -// // Example sending a request using the CancelQuantumTaskRequest method. -// req, resp := client.CancelQuantumTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CancelQuantumTask func (c *Braket) CancelQuantumTaskRequest(input *CancelQuantumTaskInput) (req *request.Request, output *CancelQuantumTaskOutput) { @@ -162,24 +161,25 @@ func (c *Braket) CancelQuantumTaskRequest(input *CancelQuantumTaskInput) (req *r // API operation CancelQuantumTask for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// An error occurred due to a conflict. +// - ConflictException +// An error occurred due to a conflict. // -// * ThrottlingException -// The throttling rate limit is met. +// - ThrottlingException +// The throttling rate limit is met. // -// * InternalServiceException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServiceException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CancelQuantumTask func (c *Braket) CancelQuantumTask(input *CancelQuantumTaskInput) (*CancelQuantumTaskOutput, error) { @@ -219,14 +219,13 @@ const opCreateJob = "CreateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateJobRequest method. +// req, resp := client.CreateJobRequest(params) // -// // Example sending a request using the CreateJobRequest method. -// req, resp := client.CreateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CreateJob func (c *Braket) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobOutput) { @@ -257,27 +256,28 @@ func (c *Braket) CreateJobRequest(input *CreateJobInput) (req *request.Request, // API operation CreateJob for usage and error information. // // Returned Error Types: -// * ConflictException -// An error occurred due to a conflict. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ConflictException +// An error occurred due to a conflict. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The throttling rate limit is met. +// - ThrottlingException +// The throttling rate limit is met. // -// * DeviceRetiredException -// The specified device has been retired. +// - DeviceRetiredException +// The specified device has been retired. // -// * InternalServiceException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServiceException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * ServiceQuotaExceededException -// The request failed because a service quota is exceeded. +// - ServiceQuotaExceededException +// The request failed because a service quota is exceeded. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CreateJob func (c *Braket) CreateJob(input *CreateJobInput) (*CreateJobOutput, error) { @@ -317,14 +317,13 @@ const opCreateQuantumTask = "CreateQuantumTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateQuantumTaskRequest method. +// req, resp := client.CreateQuantumTaskRequest(params) // -// // Example sending a request using the CreateQuantumTaskRequest method. -// req, resp := client.CreateQuantumTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CreateQuantumTask func (c *Braket) CreateQuantumTaskRequest(input *CreateQuantumTaskInput) (req *request.Request, output *CreateQuantumTaskOutput) { @@ -355,27 +354,28 @@ func (c *Braket) CreateQuantumTaskRequest(input *CreateQuantumTaskInput) (req *r // API operation CreateQuantumTask for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The throttling rate limit is met. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The throttling rate limit is met. // -// * DeviceOfflineException -// The specified device is currently offline. +// - DeviceOfflineException +// The specified device is currently offline. // -// * DeviceRetiredException -// The specified device has been retired. +// - DeviceRetiredException +// The specified device has been retired. // -// * InternalServiceException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServiceException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * ServiceQuotaExceededException -// The request failed because a service quota is exceeded. +// - ServiceQuotaExceededException +// The request failed because a service quota is exceeded. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/CreateQuantumTask func (c *Braket) CreateQuantumTask(input *CreateQuantumTaskInput) (*CreateQuantumTaskOutput, error) { @@ -415,14 +415,13 @@ const opGetDevice = "GetDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeviceRequest method. +// req, resp := client.GetDeviceRequest(params) // -// // Example sending a request using the GetDeviceRequest method. -// req, resp := client.GetDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetDevice func (c *Braket) GetDeviceRequest(input *GetDeviceInput) (req *request.Request, output *GetDeviceOutput) { @@ -462,21 +461,22 @@ func (c *Braket) GetDeviceRequest(input *GetDeviceInput) (req *request.Request, // API operation GetDevice for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The throttling rate limit is met. +// - ThrottlingException +// The throttling rate limit is met. // -// * InternalServiceException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServiceException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetDevice func (c *Braket) GetDevice(input *GetDeviceInput) (*GetDeviceOutput, error) { @@ -516,14 +516,13 @@ const opGetJob = "GetJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobRequest method. +// req, resp := client.GetJobRequest(params) // -// // Example sending a request using the GetJobRequest method. -// req, resp := client.GetJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetJob func (c *Braket) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput) { @@ -554,21 +553,22 @@ func (c *Braket) GetJobRequest(input *GetJobInput) (req *request.Request, output // API operation GetJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The throttling rate limit is met. +// - ThrottlingException +// The throttling rate limit is met. // -// * InternalServiceException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServiceException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetJob func (c *Braket) GetJob(input *GetJobInput) (*GetJobOutput, error) { @@ -608,14 +608,13 @@ const opGetQuantumTask = "GetQuantumTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetQuantumTaskRequest method. +// req, resp := client.GetQuantumTaskRequest(params) // -// // Example sending a request using the GetQuantumTaskRequest method. -// req, resp := client.GetQuantumTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTask func (c *Braket) GetQuantumTaskRequest(input *GetQuantumTaskInput) (req *request.Request, output *GetQuantumTaskOutput) { @@ -646,21 +645,22 @@ func (c *Braket) GetQuantumTaskRequest(input *GetQuantumTaskInput) (req *request // API operation GetQuantumTask for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The throttling rate limit is met. +// - ThrottlingException +// The throttling rate limit is met. // -// * InternalServiceException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServiceException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/GetQuantumTask func (c *Braket) GetQuantumTask(input *GetQuantumTaskInput) (*GetQuantumTaskOutput, error) { @@ -700,14 +700,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ListTagsForResource func (c *Braket) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -738,15 +737,16 @@ func (c *Braket) ListTagsForResourceRequest(input *ListTagsForResourceInput) (re // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServiceException +// The request processing has failed because of an unknown error, exception, +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/ListTagsForResource func (c *Braket) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -786,14 +786,13 @@ const opSearchDevices = "SearchDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchDevicesRequest method. +// req, resp := client.SearchDevicesRequest(params) // -// // Example sending a request using the SearchDevicesRequest method. -// req, resp := client.SearchDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchDevices func (c *Braket) SearchDevicesRequest(input *SearchDevicesInput) (req *request.Request, output *SearchDevicesOutput) { @@ -830,18 +829,19 @@ func (c *Braket) SearchDevicesRequest(input *SearchDevicesInput) (req *request.R // API operation SearchDevices for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The throttling rate limit is met. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServiceException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ThrottlingException +// The throttling rate limit is met. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServiceException +// The request processing has failed because of an unknown error, exception, +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchDevices func (c *Braket) SearchDevices(input *SearchDevicesInput) (*SearchDevicesOutput, error) { @@ -873,15 +873,14 @@ func (c *Braket) SearchDevicesWithContext(ctx aws.Context, input *SearchDevicesI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchDevices operation. -// pageNum := 0 -// err := client.SearchDevicesPages(params, -// func(page *braket.SearchDevicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchDevices operation. +// pageNum := 0 +// err := client.SearchDevicesPages(params, +// func(page *braket.SearchDevicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Braket) SearchDevicesPages(input *SearchDevicesInput, fn func(*SearchDevicesOutput, bool) bool) error { return c.SearchDevicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -933,14 +932,13 @@ const opSearchJobs = "SearchJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchJobsRequest method. +// req, resp := client.SearchJobsRequest(params) // -// // Example sending a request using the SearchJobsRequest method. -// req, resp := client.SearchJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchJobs func (c *Braket) SearchJobsRequest(input *SearchJobsInput) (req *request.Request, output *SearchJobsOutput) { @@ -977,18 +975,19 @@ func (c *Braket) SearchJobsRequest(input *SearchJobsInput) (req *request.Request // API operation SearchJobs for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The throttling rate limit is met. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The throttling rate limit is met. // -// * InternalServiceException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServiceException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchJobs func (c *Braket) SearchJobs(input *SearchJobsInput) (*SearchJobsOutput, error) { @@ -1020,15 +1019,14 @@ func (c *Braket) SearchJobsWithContext(ctx aws.Context, input *SearchJobsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchJobs operation. -// pageNum := 0 -// err := client.SearchJobsPages(params, -// func(page *braket.SearchJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchJobs operation. +// pageNum := 0 +// err := client.SearchJobsPages(params, +// func(page *braket.SearchJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Braket) SearchJobsPages(input *SearchJobsInput, fn func(*SearchJobsOutput, bool) bool) error { return c.SearchJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1080,14 +1078,13 @@ const opSearchQuantumTasks = "SearchQuantumTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchQuantumTasksRequest method. +// req, resp := client.SearchQuantumTasksRequest(params) // -// // Example sending a request using the SearchQuantumTasksRequest method. -// req, resp := client.SearchQuantumTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchQuantumTasks func (c *Braket) SearchQuantumTasksRequest(input *SearchQuantumTasksInput) (req *request.Request, output *SearchQuantumTasksOutput) { @@ -1124,18 +1121,19 @@ func (c *Braket) SearchQuantumTasksRequest(input *SearchQuantumTasksInput) (req // API operation SearchQuantumTasks for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The throttling rate limit is met. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The throttling rate limit is met. // -// * InternalServiceException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServiceException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/SearchQuantumTasks func (c *Braket) SearchQuantumTasks(input *SearchQuantumTasksInput) (*SearchQuantumTasksOutput, error) { @@ -1167,15 +1165,14 @@ func (c *Braket) SearchQuantumTasksWithContext(ctx aws.Context, input *SearchQua // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchQuantumTasks operation. -// pageNum := 0 -// err := client.SearchQuantumTasksPages(params, -// func(page *braket.SearchQuantumTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchQuantumTasks operation. +// pageNum := 0 +// err := client.SearchQuantumTasksPages(params, +// func(page *braket.SearchQuantumTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Braket) SearchQuantumTasksPages(input *SearchQuantumTasksInput, fn func(*SearchQuantumTasksOutput, bool) bool) error { return c.SearchQuantumTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1227,14 +1224,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/TagResource func (c *Braket) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1266,15 +1262,16 @@ func (c *Braket) TagResourceRequest(input *TagResourceInput) (req *request.Reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServiceException +// The request processing has failed because of an unknown error, exception, +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/TagResource func (c *Braket) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1314,14 +1311,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/UntagResource func (c *Braket) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1353,15 +1349,16 @@ func (c *Braket) UntagResourceRequest(input *UntagResourceInput) (req *request.R // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01/UntagResource func (c *Braket) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/braketiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/braketiface/interface.go index da2f451903f9..228f2f2e545d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/braketiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/braketiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Braket. -// func myFunc(svc braketiface.BraketAPI) bool { -// // Make svc.CancelJob request -// } +// // myFunc uses an SDK service client to make a request to +// // Braket. +// func myFunc(svc braketiface.BraketAPI) bool { +// // Make svc.CancelJob request +// } // -// func main() { -// sess := session.New() -// svc := braket.New(sess) +// func main() { +// sess := session.New() +// svc := braket.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockBraketClient struct { -// braketiface.BraketAPI -// } -// func (m *mockBraketClient) CancelJob(input *braket.CancelJobInput) (*braket.CancelJobOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockBraketClient struct { +// braketiface.BraketAPI +// } +// func (m *mockBraketClient) CancelJob(input *braket.CancelJobInput) (*braket.CancelJobOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockBraketClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockBraketClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/doc.go index bc13fb570b1e..855e8760f521 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/doc.go @@ -8,14 +8,14 @@ // // Additional Resources: // -// * Amazon Braket Developer Guide (https://docs.aws.amazon.com/braket/latest/developerguide/what-is-braket.html) +// - Amazon Braket Developer Guide (https://docs.aws.amazon.com/braket/latest/developerguide/what-is-braket.html) // // See https://docs.aws.amazon.com/goto/WebAPI/braket-2019-09-01 for more information on this service. // // See braket package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/braket/ // -// Using the Client +// # Using the Client // // To contact Braket with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/service.go index 9fce3566e493..b5434133c770 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/braket/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Braket client from just a session. -// svc := braket.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Braket client with additional configuration -// svc := braket.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Braket client from just a session. +// svc := braket.New(mySession) +// +// // Create a Braket client with additional configuration +// svc := braket.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Braket { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/api.go index c014ededa4d0..f5b9e38fe1a7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/api.go @@ -29,14 +29,13 @@ const opCreateBudget = "CreateBudget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBudgetRequest method. +// req, resp := client.CreateBudgetRequest(params) // -// // Example sending a request using the CreateBudgetRequest method. -// req, resp := client.CreateBudgetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) CreateBudgetRequest(input *CreateBudgetInput) (req *request.Request, output *CreateBudgetOutput) { op := &request.Operation{ Name: opCreateBudget, @@ -71,23 +70,23 @@ func (c *Budgets) CreateBudgetRequest(input *CreateBudgetInput) (req *request.Re // API operation CreateBudget for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * CreationLimitExceededException -// You've exceeded the notification or subscriber limit. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * DuplicateRecordException -// The budget name already exists. Budget names must be unique within an account. +// - CreationLimitExceededException +// You've exceeded the notification or subscriber limit. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - DuplicateRecordException +// The budget name already exists. Budget names must be unique within an account. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) CreateBudget(input *CreateBudgetInput) (*CreateBudgetOutput, error) { req, out := c.CreateBudgetRequest(input) return out, req.Send() @@ -125,14 +124,13 @@ const opCreateBudgetAction = "CreateBudgetAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBudgetActionRequest method. +// req, resp := client.CreateBudgetActionRequest(params) // -// // Example sending a request using the CreateBudgetActionRequest method. -// req, resp := client.CreateBudgetActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) CreateBudgetActionRequest(input *CreateBudgetActionInput) (req *request.Request, output *CreateBudgetActionOutput) { op := &request.Operation{ Name: opCreateBudgetAction, @@ -161,26 +159,26 @@ func (c *Budgets) CreateBudgetActionRequest(input *CreateBudgetActionInput) (req // API operation CreateBudgetAction for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * CreationLimitExceededException -// You've exceeded the notification or subscriber limit. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * DuplicateRecordException -// The budget name already exists. Budget names must be unique within an account. +// - CreationLimitExceededException +// You've exceeded the notification or subscriber limit. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - DuplicateRecordException +// The budget name already exists. Budget names must be unique within an account. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - NotFoundException +// We can’t locate the resource that you specified. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) CreateBudgetAction(input *CreateBudgetActionInput) (*CreateBudgetActionOutput, error) { req, out := c.CreateBudgetActionRequest(input) return out, req.Send() @@ -218,14 +216,13 @@ const opCreateNotification = "CreateNotification" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNotificationRequest method. +// req, resp := client.CreateNotificationRequest(params) // -// // Example sending a request using the CreateNotificationRequest method. -// req, resp := client.CreateNotificationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) CreateNotificationRequest(input *CreateNotificationInput) (req *request.Request, output *CreateNotificationOutput) { op := &request.Operation{ Name: opCreateNotification, @@ -256,26 +253,26 @@ func (c *Budgets) CreateNotificationRequest(input *CreateNotificationInput) (req // API operation CreateNotification for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * CreationLimitExceededException -// You've exceeded the notification or subscriber limit. +// - NotFoundException +// We can’t locate the resource that you specified. // -// * DuplicateRecordException -// The budget name already exists. Budget names must be unique within an account. +// - CreationLimitExceededException +// You've exceeded the notification or subscriber limit. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - DuplicateRecordException +// The budget name already exists. Budget names must be unique within an account. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) CreateNotification(input *CreateNotificationInput) (*CreateNotificationOutput, error) { req, out := c.CreateNotificationRequest(input) return out, req.Send() @@ -313,14 +310,13 @@ const opCreateSubscriber = "CreateSubscriber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSubscriberRequest method. +// req, resp := client.CreateSubscriberRequest(params) // -// // Example sending a request using the CreateSubscriberRequest method. -// req, resp := client.CreateSubscriberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) CreateSubscriberRequest(input *CreateSubscriberInput) (req *request.Request, output *CreateSubscriberOutput) { op := &request.Operation{ Name: opCreateSubscriber, @@ -351,26 +347,26 @@ func (c *Budgets) CreateSubscriberRequest(input *CreateSubscriberInput) (req *re // API operation CreateSubscriber for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * CreationLimitExceededException -// You've exceeded the notification or subscriber limit. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * DuplicateRecordException -// The budget name already exists. Budget names must be unique within an account. +// - CreationLimitExceededException +// You've exceeded the notification or subscriber limit. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - DuplicateRecordException +// The budget name already exists. Budget names must be unique within an account. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - NotFoundException +// We can’t locate the resource that you specified. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) CreateSubscriber(input *CreateSubscriberInput) (*CreateSubscriberOutput, error) { req, out := c.CreateSubscriberRequest(input) return out, req.Send() @@ -408,14 +404,13 @@ const opDeleteBudget = "DeleteBudget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBudgetRequest method. +// req, resp := client.DeleteBudgetRequest(params) // -// // Example sending a request using the DeleteBudgetRequest method. -// req, resp := client.DeleteBudgetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) DeleteBudgetRequest(input *DeleteBudgetInput) (req *request.Request, output *DeleteBudgetOutput) { op := &request.Operation{ Name: opDeleteBudget, @@ -448,20 +443,20 @@ func (c *Budgets) DeleteBudgetRequest(input *DeleteBudgetInput) (req *request.Re // API operation DeleteBudget for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - NotFoundException +// We can’t locate the resource that you specified. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) DeleteBudget(input *DeleteBudgetInput) (*DeleteBudgetOutput, error) { req, out := c.DeleteBudgetRequest(input) return out, req.Send() @@ -499,14 +494,13 @@ const opDeleteBudgetAction = "DeleteBudgetAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBudgetActionRequest method. +// req, resp := client.DeleteBudgetActionRequest(params) // -// // Example sending a request using the DeleteBudgetActionRequest method. -// req, resp := client.DeleteBudgetActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) DeleteBudgetActionRequest(input *DeleteBudgetActionInput) (req *request.Request, output *DeleteBudgetActionOutput) { op := &request.Operation{ Name: opDeleteBudgetAction, @@ -535,24 +529,24 @@ func (c *Budgets) DeleteBudgetActionRequest(input *DeleteBudgetActionInput) (req // API operation DeleteBudgetAction for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - NotFoundException +// We can’t locate the resource that you specified. // -// * ResourceLockedException -// The request was received and recognized by the server, but the server rejected -// that particular method for the requested resource. +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. // +// - ResourceLockedException +// The request was received and recognized by the server, but the server rejected +// that particular method for the requested resource. func (c *Budgets) DeleteBudgetAction(input *DeleteBudgetActionInput) (*DeleteBudgetActionOutput, error) { req, out := c.DeleteBudgetActionRequest(input) return out, req.Send() @@ -590,14 +584,13 @@ const opDeleteNotification = "DeleteNotification" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNotificationRequest method. +// req, resp := client.DeleteNotificationRequest(params) // -// // Example sending a request using the DeleteNotificationRequest method. -// req, resp := client.DeleteNotificationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) DeleteNotificationRequest(input *DeleteNotificationInput) (req *request.Request, output *DeleteNotificationOutput) { op := &request.Operation{ Name: opDeleteNotification, @@ -630,20 +623,20 @@ func (c *Budgets) DeleteNotificationRequest(input *DeleteNotificationInput) (req // API operation DeleteNotification for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - NotFoundException +// We can’t locate the resource that you specified. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) DeleteNotification(input *DeleteNotificationInput) (*DeleteNotificationOutput, error) { req, out := c.DeleteNotificationRequest(input) return out, req.Send() @@ -681,14 +674,13 @@ const opDeleteSubscriber = "DeleteSubscriber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSubscriberRequest method. +// req, resp := client.DeleteSubscriberRequest(params) // -// // Example sending a request using the DeleteSubscriberRequest method. -// req, resp := client.DeleteSubscriberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) DeleteSubscriberRequest(input *DeleteSubscriberInput) (req *request.Request, output *DeleteSubscriberOutput) { op := &request.Operation{ Name: opDeleteSubscriber, @@ -720,20 +712,20 @@ func (c *Budgets) DeleteSubscriberRequest(input *DeleteSubscriberInput) (req *re // API operation DeleteSubscriber for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - NotFoundException +// We can’t locate the resource that you specified. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) DeleteSubscriber(input *DeleteSubscriberInput) (*DeleteSubscriberOutput, error) { req, out := c.DeleteSubscriberRequest(input) return out, req.Send() @@ -771,14 +763,13 @@ const opDescribeBudget = "DescribeBudget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBudgetRequest method. +// req, resp := client.DescribeBudgetRequest(params) // -// // Example sending a request using the DescribeBudgetRequest method. -// req, resp := client.DescribeBudgetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) DescribeBudgetRequest(input *DescribeBudgetInput) (req *request.Request, output *DescribeBudgetOutput) { op := &request.Operation{ Name: opDescribeBudget, @@ -811,20 +802,20 @@ func (c *Budgets) DescribeBudgetRequest(input *DescribeBudgetInput) (req *reques // API operation DescribeBudget for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - NotFoundException +// We can’t locate the resource that you specified. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) DescribeBudget(input *DescribeBudgetInput) (*DescribeBudgetOutput, error) { req, out := c.DescribeBudgetRequest(input) return out, req.Send() @@ -862,14 +853,13 @@ const opDescribeBudgetAction = "DescribeBudgetAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBudgetActionRequest method. +// req, resp := client.DescribeBudgetActionRequest(params) // -// // Example sending a request using the DescribeBudgetActionRequest method. -// req, resp := client.DescribeBudgetActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) DescribeBudgetActionRequest(input *DescribeBudgetActionInput) (req *request.Request, output *DescribeBudgetActionOutput) { op := &request.Operation{ Name: opDescribeBudgetAction, @@ -898,20 +888,20 @@ func (c *Budgets) DescribeBudgetActionRequest(input *DescribeBudgetActionInput) // API operation DescribeBudgetAction for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - NotFoundException +// We can’t locate the resource that you specified. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) DescribeBudgetAction(input *DescribeBudgetActionInput) (*DescribeBudgetActionOutput, error) { req, out := c.DescribeBudgetActionRequest(input) return out, req.Send() @@ -949,14 +939,13 @@ const opDescribeBudgetActionHistories = "DescribeBudgetActionHistories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBudgetActionHistoriesRequest method. +// req, resp := client.DescribeBudgetActionHistoriesRequest(params) // -// // Example sending a request using the DescribeBudgetActionHistoriesRequest method. -// req, resp := client.DescribeBudgetActionHistoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) DescribeBudgetActionHistoriesRequest(input *DescribeBudgetActionHistoriesInput) (req *request.Request, output *DescribeBudgetActionHistoriesOutput) { op := &request.Operation{ Name: opDescribeBudgetActionHistories, @@ -991,23 +980,23 @@ func (c *Budgets) DescribeBudgetActionHistoriesRequest(input *DescribeBudgetActi // API operation DescribeBudgetActionHistories for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - NotFoundException +// We can’t locate the resource that you specified. // -// * InvalidNextTokenException -// The pagination token is invalid. +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. // +// - InvalidNextTokenException +// The pagination token is invalid. func (c *Budgets) DescribeBudgetActionHistories(input *DescribeBudgetActionHistoriesInput) (*DescribeBudgetActionHistoriesOutput, error) { req, out := c.DescribeBudgetActionHistoriesRequest(input) return out, req.Send() @@ -1037,15 +1026,14 @@ func (c *Budgets) DescribeBudgetActionHistoriesWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeBudgetActionHistories operation. -// pageNum := 0 -// err := client.DescribeBudgetActionHistoriesPages(params, -// func(page *budgets.DescribeBudgetActionHistoriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeBudgetActionHistories operation. +// pageNum := 0 +// err := client.DescribeBudgetActionHistoriesPages(params, +// func(page *budgets.DescribeBudgetActionHistoriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Budgets) DescribeBudgetActionHistoriesPages(input *DescribeBudgetActionHistoriesInput, fn func(*DescribeBudgetActionHistoriesOutput, bool) bool) error { return c.DescribeBudgetActionHistoriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1097,14 +1085,13 @@ const opDescribeBudgetActionsForAccount = "DescribeBudgetActionsForAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBudgetActionsForAccountRequest method. +// req, resp := client.DescribeBudgetActionsForAccountRequest(params) // -// // Example sending a request using the DescribeBudgetActionsForAccountRequest method. -// req, resp := client.DescribeBudgetActionsForAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) DescribeBudgetActionsForAccountRequest(input *DescribeBudgetActionsForAccountInput) (req *request.Request, output *DescribeBudgetActionsForAccountOutput) { op := &request.Operation{ Name: opDescribeBudgetActionsForAccount, @@ -1139,20 +1126,20 @@ func (c *Budgets) DescribeBudgetActionsForAccountRequest(input *DescribeBudgetAc // API operation DescribeBudgetActionsForAccount for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InvalidNextTokenException -// The pagination token is invalid. +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. // +// - InvalidNextTokenException +// The pagination token is invalid. func (c *Budgets) DescribeBudgetActionsForAccount(input *DescribeBudgetActionsForAccountInput) (*DescribeBudgetActionsForAccountOutput, error) { req, out := c.DescribeBudgetActionsForAccountRequest(input) return out, req.Send() @@ -1182,15 +1169,14 @@ func (c *Budgets) DescribeBudgetActionsForAccountWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeBudgetActionsForAccount operation. -// pageNum := 0 -// err := client.DescribeBudgetActionsForAccountPages(params, -// func(page *budgets.DescribeBudgetActionsForAccountOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeBudgetActionsForAccount operation. +// pageNum := 0 +// err := client.DescribeBudgetActionsForAccountPages(params, +// func(page *budgets.DescribeBudgetActionsForAccountOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Budgets) DescribeBudgetActionsForAccountPages(input *DescribeBudgetActionsForAccountInput, fn func(*DescribeBudgetActionsForAccountOutput, bool) bool) error { return c.DescribeBudgetActionsForAccountPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1242,14 +1228,13 @@ const opDescribeBudgetActionsForBudget = "DescribeBudgetActionsForBudget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBudgetActionsForBudgetRequest method. +// req, resp := client.DescribeBudgetActionsForBudgetRequest(params) // -// // Example sending a request using the DescribeBudgetActionsForBudgetRequest method. -// req, resp := client.DescribeBudgetActionsForBudgetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) DescribeBudgetActionsForBudgetRequest(input *DescribeBudgetActionsForBudgetInput) (req *request.Request, output *DescribeBudgetActionsForBudgetOutput) { op := &request.Operation{ Name: opDescribeBudgetActionsForBudget, @@ -1284,23 +1269,23 @@ func (c *Budgets) DescribeBudgetActionsForBudgetRequest(input *DescribeBudgetAct // API operation DescribeBudgetActionsForBudget for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - NotFoundException +// We can’t locate the resource that you specified. // -// * InvalidNextTokenException -// The pagination token is invalid. +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. // +// - InvalidNextTokenException +// The pagination token is invalid. func (c *Budgets) DescribeBudgetActionsForBudget(input *DescribeBudgetActionsForBudgetInput) (*DescribeBudgetActionsForBudgetOutput, error) { req, out := c.DescribeBudgetActionsForBudgetRequest(input) return out, req.Send() @@ -1330,15 +1315,14 @@ func (c *Budgets) DescribeBudgetActionsForBudgetWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeBudgetActionsForBudget operation. -// pageNum := 0 -// err := client.DescribeBudgetActionsForBudgetPages(params, -// func(page *budgets.DescribeBudgetActionsForBudgetOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeBudgetActionsForBudget operation. +// pageNum := 0 +// err := client.DescribeBudgetActionsForBudgetPages(params, +// func(page *budgets.DescribeBudgetActionsForBudgetOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Budgets) DescribeBudgetActionsForBudgetPages(input *DescribeBudgetActionsForBudgetInput, fn func(*DescribeBudgetActionsForBudgetOutput, bool) bool) error { return c.DescribeBudgetActionsForBudgetPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1390,14 +1374,13 @@ const opDescribeBudgetNotificationsForAccount = "DescribeBudgetNotificationsForA // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBudgetNotificationsForAccountRequest method. +// req, resp := client.DescribeBudgetNotificationsForAccountRequest(params) // -// // Example sending a request using the DescribeBudgetNotificationsForAccountRequest method. -// req, resp := client.DescribeBudgetNotificationsForAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) DescribeBudgetNotificationsForAccountRequest(input *DescribeBudgetNotificationsForAccountInput) (req *request.Request, output *DescribeBudgetNotificationsForAccountOutput) { op := &request.Operation{ Name: opDescribeBudgetNotificationsForAccount, @@ -1432,26 +1415,26 @@ func (c *Budgets) DescribeBudgetNotificationsForAccountRequest(input *DescribeBu // API operation DescribeBudgetNotificationsForAccount for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InvalidNextTokenException -// The pagination token is invalid. +// - NotFoundException +// We can’t locate the resource that you specified. // -// * ExpiredNextTokenException -// The pagination token expired. +// - InvalidNextTokenException +// The pagination token is invalid. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - ExpiredNextTokenException +// The pagination token expired. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) DescribeBudgetNotificationsForAccount(input *DescribeBudgetNotificationsForAccountInput) (*DescribeBudgetNotificationsForAccountOutput, error) { req, out := c.DescribeBudgetNotificationsForAccountRequest(input) return out, req.Send() @@ -1481,15 +1464,14 @@ func (c *Budgets) DescribeBudgetNotificationsForAccountWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeBudgetNotificationsForAccount operation. -// pageNum := 0 -// err := client.DescribeBudgetNotificationsForAccountPages(params, -// func(page *budgets.DescribeBudgetNotificationsForAccountOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeBudgetNotificationsForAccount operation. +// pageNum := 0 +// err := client.DescribeBudgetNotificationsForAccountPages(params, +// func(page *budgets.DescribeBudgetNotificationsForAccountOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Budgets) DescribeBudgetNotificationsForAccountPages(input *DescribeBudgetNotificationsForAccountInput, fn func(*DescribeBudgetNotificationsForAccountOutput, bool) bool) error { return c.DescribeBudgetNotificationsForAccountPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1541,14 +1523,13 @@ const opDescribeBudgetPerformanceHistory = "DescribeBudgetPerformanceHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBudgetPerformanceHistoryRequest method. +// req, resp := client.DescribeBudgetPerformanceHistoryRequest(params) // -// // Example sending a request using the DescribeBudgetPerformanceHistoryRequest method. -// req, resp := client.DescribeBudgetPerformanceHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) DescribeBudgetPerformanceHistoryRequest(input *DescribeBudgetPerformanceHistoryInput) (req *request.Request, output *DescribeBudgetPerformanceHistoryOutput) { op := &request.Operation{ Name: opDescribeBudgetPerformanceHistory, @@ -1584,26 +1565,26 @@ func (c *Budgets) DescribeBudgetPerformanceHistoryRequest(input *DescribeBudgetP // API operation DescribeBudgetPerformanceHistory for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InvalidNextTokenException -// The pagination token is invalid. +// - NotFoundException +// We can’t locate the resource that you specified. // -// * ExpiredNextTokenException -// The pagination token expired. +// - InvalidNextTokenException +// The pagination token is invalid. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - ExpiredNextTokenException +// The pagination token expired. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) DescribeBudgetPerformanceHistory(input *DescribeBudgetPerformanceHistoryInput) (*DescribeBudgetPerformanceHistoryOutput, error) { req, out := c.DescribeBudgetPerformanceHistoryRequest(input) return out, req.Send() @@ -1633,15 +1614,14 @@ func (c *Budgets) DescribeBudgetPerformanceHistoryWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeBudgetPerformanceHistory operation. -// pageNum := 0 -// err := client.DescribeBudgetPerformanceHistoryPages(params, -// func(page *budgets.DescribeBudgetPerformanceHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeBudgetPerformanceHistory operation. +// pageNum := 0 +// err := client.DescribeBudgetPerformanceHistoryPages(params, +// func(page *budgets.DescribeBudgetPerformanceHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Budgets) DescribeBudgetPerformanceHistoryPages(input *DescribeBudgetPerformanceHistoryInput, fn func(*DescribeBudgetPerformanceHistoryOutput, bool) bool) error { return c.DescribeBudgetPerformanceHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1693,14 +1673,13 @@ const opDescribeBudgets = "DescribeBudgets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBudgetsRequest method. +// req, resp := client.DescribeBudgetsRequest(params) // -// // Example sending a request using the DescribeBudgetsRequest method. -// req, resp := client.DescribeBudgetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) DescribeBudgetsRequest(input *DescribeBudgetsInput) (req *request.Request, output *DescribeBudgetsOutput) { op := &request.Operation{ Name: opDescribeBudgets, @@ -1739,26 +1718,26 @@ func (c *Budgets) DescribeBudgetsRequest(input *DescribeBudgetsInput) (req *requ // API operation DescribeBudgets for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InvalidNextTokenException -// The pagination token is invalid. +// - NotFoundException +// We can’t locate the resource that you specified. // -// * ExpiredNextTokenException -// The pagination token expired. +// - InvalidNextTokenException +// The pagination token is invalid. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - ExpiredNextTokenException +// The pagination token expired. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) DescribeBudgets(input *DescribeBudgetsInput) (*DescribeBudgetsOutput, error) { req, out := c.DescribeBudgetsRequest(input) return out, req.Send() @@ -1788,15 +1767,14 @@ func (c *Budgets) DescribeBudgetsWithContext(ctx aws.Context, input *DescribeBud // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeBudgets operation. -// pageNum := 0 -// err := client.DescribeBudgetsPages(params, -// func(page *budgets.DescribeBudgetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeBudgets operation. +// pageNum := 0 +// err := client.DescribeBudgetsPages(params, +// func(page *budgets.DescribeBudgetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Budgets) DescribeBudgetsPages(input *DescribeBudgetsInput, fn func(*DescribeBudgetsOutput, bool) bool) error { return c.DescribeBudgetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1848,14 +1826,13 @@ const opDescribeNotificationsForBudget = "DescribeNotificationsForBudget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNotificationsForBudgetRequest method. +// req, resp := client.DescribeNotificationsForBudgetRequest(params) // -// // Example sending a request using the DescribeNotificationsForBudgetRequest method. -// req, resp := client.DescribeNotificationsForBudgetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) DescribeNotificationsForBudgetRequest(input *DescribeNotificationsForBudgetInput) (req *request.Request, output *DescribeNotificationsForBudgetOutput) { op := &request.Operation{ Name: opDescribeNotificationsForBudget, @@ -1890,26 +1867,26 @@ func (c *Budgets) DescribeNotificationsForBudgetRequest(input *DescribeNotificat // API operation DescribeNotificationsForBudget for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InvalidNextTokenException -// The pagination token is invalid. +// - NotFoundException +// We can’t locate the resource that you specified. // -// * ExpiredNextTokenException -// The pagination token expired. +// - InvalidNextTokenException +// The pagination token is invalid. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - ExpiredNextTokenException +// The pagination token expired. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) DescribeNotificationsForBudget(input *DescribeNotificationsForBudgetInput) (*DescribeNotificationsForBudgetOutput, error) { req, out := c.DescribeNotificationsForBudgetRequest(input) return out, req.Send() @@ -1939,15 +1916,14 @@ func (c *Budgets) DescribeNotificationsForBudgetWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeNotificationsForBudget operation. -// pageNum := 0 -// err := client.DescribeNotificationsForBudgetPages(params, -// func(page *budgets.DescribeNotificationsForBudgetOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeNotificationsForBudget operation. +// pageNum := 0 +// err := client.DescribeNotificationsForBudgetPages(params, +// func(page *budgets.DescribeNotificationsForBudgetOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Budgets) DescribeNotificationsForBudgetPages(input *DescribeNotificationsForBudgetInput, fn func(*DescribeNotificationsForBudgetOutput, bool) bool) error { return c.DescribeNotificationsForBudgetPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1999,14 +1975,13 @@ const opDescribeSubscribersForNotification = "DescribeSubscribersForNotification // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSubscribersForNotificationRequest method. +// req, resp := client.DescribeSubscribersForNotificationRequest(params) // -// // Example sending a request using the DescribeSubscribersForNotificationRequest method. -// req, resp := client.DescribeSubscribersForNotificationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) DescribeSubscribersForNotificationRequest(input *DescribeSubscribersForNotificationInput) (req *request.Request, output *DescribeSubscribersForNotificationOutput) { op := &request.Operation{ Name: opDescribeSubscribersForNotification, @@ -2041,26 +2016,26 @@ func (c *Budgets) DescribeSubscribersForNotificationRequest(input *DescribeSubsc // API operation DescribeSubscribersForNotification for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - NotFoundException +// We can’t locate the resource that you specified. // -// * InvalidNextTokenException -// The pagination token is invalid. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * ExpiredNextTokenException -// The pagination token expired. +// - InvalidNextTokenException +// The pagination token is invalid. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - ExpiredNextTokenException +// The pagination token expired. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) DescribeSubscribersForNotification(input *DescribeSubscribersForNotificationInput) (*DescribeSubscribersForNotificationOutput, error) { req, out := c.DescribeSubscribersForNotificationRequest(input) return out, req.Send() @@ -2090,15 +2065,14 @@ func (c *Budgets) DescribeSubscribersForNotificationWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSubscribersForNotification operation. -// pageNum := 0 -// err := client.DescribeSubscribersForNotificationPages(params, -// func(page *budgets.DescribeSubscribersForNotificationOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSubscribersForNotification operation. +// pageNum := 0 +// err := client.DescribeSubscribersForNotificationPages(params, +// func(page *budgets.DescribeSubscribersForNotificationOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Budgets) DescribeSubscribersForNotificationPages(input *DescribeSubscribersForNotificationInput, fn func(*DescribeSubscribersForNotificationOutput, bool) bool) error { return c.DescribeSubscribersForNotificationPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2150,14 +2124,13 @@ const opExecuteBudgetAction = "ExecuteBudgetAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExecuteBudgetActionRequest method. +// req, resp := client.ExecuteBudgetActionRequest(params) // -// // Example sending a request using the ExecuteBudgetActionRequest method. -// req, resp := client.ExecuteBudgetActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) ExecuteBudgetActionRequest(input *ExecuteBudgetActionInput) (req *request.Request, output *ExecuteBudgetActionOutput) { op := &request.Operation{ Name: opExecuteBudgetAction, @@ -2186,24 +2159,24 @@ func (c *Budgets) ExecuteBudgetActionRequest(input *ExecuteBudgetActionInput) (r // API operation ExecuteBudgetAction for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - NotFoundException +// We can’t locate the resource that you specified. // -// * ResourceLockedException -// The request was received and recognized by the server, but the server rejected -// that particular method for the requested resource. +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. // +// - ResourceLockedException +// The request was received and recognized by the server, but the server rejected +// that particular method for the requested resource. func (c *Budgets) ExecuteBudgetAction(input *ExecuteBudgetActionInput) (*ExecuteBudgetActionOutput, error) { req, out := c.ExecuteBudgetActionRequest(input) return out, req.Send() @@ -2241,14 +2214,13 @@ const opUpdateBudget = "UpdateBudget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBudgetRequest method. +// req, resp := client.UpdateBudgetRequest(params) // -// // Example sending a request using the UpdateBudgetRequest method. -// req, resp := client.UpdateBudgetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) UpdateBudgetRequest(input *UpdateBudgetInput) (req *request.Request, output *UpdateBudgetOutput) { op := &request.Operation{ Name: opUpdateBudget, @@ -2285,20 +2257,20 @@ func (c *Budgets) UpdateBudgetRequest(input *UpdateBudgetInput) (req *request.Re // API operation UpdateBudget for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - NotFoundException +// We can’t locate the resource that you specified. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) UpdateBudget(input *UpdateBudgetInput) (*UpdateBudgetOutput, error) { req, out := c.UpdateBudgetRequest(input) return out, req.Send() @@ -2336,14 +2308,13 @@ const opUpdateBudgetAction = "UpdateBudgetAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBudgetActionRequest method. +// req, resp := client.UpdateBudgetActionRequest(params) // -// // Example sending a request using the UpdateBudgetActionRequest method. -// req, resp := client.UpdateBudgetActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) UpdateBudgetActionRequest(input *UpdateBudgetActionInput) (req *request.Request, output *UpdateBudgetActionOutput) { op := &request.Operation{ Name: opUpdateBudgetAction, @@ -2372,24 +2343,24 @@ func (c *Budgets) UpdateBudgetActionRequest(input *UpdateBudgetActionInput) (req // API operation UpdateBudgetAction for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - NotFoundException +// We can’t locate the resource that you specified. // -// * ResourceLockedException -// The request was received and recognized by the server, but the server rejected -// that particular method for the requested resource. +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. // +// - ResourceLockedException +// The request was received and recognized by the server, but the server rejected +// that particular method for the requested resource. func (c *Budgets) UpdateBudgetAction(input *UpdateBudgetActionInput) (*UpdateBudgetActionOutput, error) { req, out := c.UpdateBudgetActionRequest(input) return out, req.Send() @@ -2427,14 +2398,13 @@ const opUpdateNotification = "UpdateNotification" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNotificationRequest method. +// req, resp := client.UpdateNotificationRequest(params) // -// // Example sending a request using the UpdateNotificationRequest method. -// req, resp := client.UpdateNotificationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) UpdateNotificationRequest(input *UpdateNotificationInput) (req *request.Request, output *UpdateNotificationOutput) { op := &request.Operation{ Name: opUpdateNotification, @@ -2464,23 +2434,23 @@ func (c *Budgets) UpdateNotificationRequest(input *UpdateNotificationInput) (req // API operation UpdateNotification for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * DuplicateRecordException -// The budget name already exists. Budget names must be unique within an account. +// - NotFoundException +// We can’t locate the resource that you specified. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - DuplicateRecordException +// The budget name already exists. Budget names must be unique within an account. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) UpdateNotification(input *UpdateNotificationInput) (*UpdateNotificationOutput, error) { req, out := c.UpdateNotificationRequest(input) return out, req.Send() @@ -2518,14 +2488,13 @@ const opUpdateSubscriber = "UpdateSubscriber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSubscriberRequest method. +// req, resp := client.UpdateSubscriberRequest(params) // -// // Example sending a request using the UpdateSubscriberRequest method. -// req, resp := client.UpdateSubscriberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Budgets) UpdateSubscriberRequest(input *UpdateSubscriberInput) (req *request.Request, output *UpdateSubscriberOutput) { op := &request.Operation{ Name: opUpdateSubscriber, @@ -2555,23 +2524,23 @@ func (c *Budgets) UpdateSubscriberRequest(input *UpdateSubscriberInput) (req *re // API operation UpdateSubscriber for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// An error on the client occurred. Typically, the cause is an invalid input -// value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// We can’t locate the resource that you specified. +// - InvalidParameterException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * DuplicateRecordException -// The budget name already exists. Budget names must be unique within an account. +// - NotFoundException +// We can’t locate the resource that you specified. // -// * AccessDeniedException -// You are not authorized to use this operation with the given parameters. +// - DuplicateRecordException +// The budget name already exists. Budget names must be unique within an account. // +// - AccessDeniedException +// You are not authorized to use this operation with the given parameters. func (c *Budgets) UpdateSubscriber(input *UpdateSubscriberInput) (*UpdateSubscriberOutput, error) { req, out := c.UpdateSubscriberRequest(input) return out, req.Send() @@ -6965,13 +6934,13 @@ func (s *NotFoundException) RequestID() string { // For example, if you have a budget for 200 dollars and you want to be notified // when you go over 160 dollars, create a notification with the following parameters: // -// * A notificationType of ACTUAL +// - A notificationType of ACTUAL // -// * A thresholdType of PERCENTAGE +// - A thresholdType of PERCENTAGE // -// * A comparisonOperator of GREATER_THAN +// - A comparisonOperator of GREATER_THAN // -// * A notification threshold of 80 +// - A notification threshold of 80 type Notification struct { _ struct{} `type:"structure"` @@ -7292,9 +7261,9 @@ func (s *ScpActionDefinition) SetTargetIds(v []*string) *ScpActionDefinition { // // For example, a Spend for 3 GB of S3 usage has the following parameters: // -// * An Amount of 3 +// - An Amount of 3 // -// * A unit of GB +// - A unit of GB type Spend struct { _ struct{} `type:"structure"` @@ -7449,9 +7418,9 @@ func (s *SsmActionDefinition) SetRegion(v string) *SsmActionDefinition { // // For example, an email subscriber has the following parameters: // -// * A subscriptionType of EMAIL +// - A subscriptionType of EMAIL // -// * An address of example@example.com +// - An address of example@example.com type Subscriber struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/budgetsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/budgetsiface/interface.go index 27930570fcf9..01d691fd597c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/budgetsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/budgetsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Budgets. -// func myFunc(svc budgetsiface.BudgetsAPI) bool { -// // Make svc.CreateBudget request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Budgets. +// func myFunc(svc budgetsiface.BudgetsAPI) bool { +// // Make svc.CreateBudget request +// } // -// func main() { -// sess := session.New() -// svc := budgets.New(sess) +// func main() { +// sess := session.New() +// svc := budgets.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockBudgetsClient struct { -// budgetsiface.BudgetsAPI -// } -// func (m *mockBudgetsClient) CreateBudget(input *budgets.CreateBudgetInput) (*budgets.CreateBudgetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockBudgetsClient struct { +// budgetsiface.BudgetsAPI +// } +// func (m *mockBudgetsClient) CreateBudget(input *budgets.CreateBudgetInput) (*budgets.CreateBudgetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockBudgetsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockBudgetsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/doc.go index d35b568541bc..e5f250df5668 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/doc.go @@ -10,38 +10,38 @@ // // Budgets provide you with a way to see the following information: // -// * How close your plan is to your budgeted amount or to the free tier limits +// - How close your plan is to your budgeted amount or to the free tier limits // -// * Your usage-to-date, including how much you've used of your Reserved -// Instances (RIs) +// - Your usage-to-date, including how much you've used of your Reserved +// Instances (RIs) // -// * Your current estimated charges from Amazon Web Services, and how much -// your predicted usage will accrue in charges by the end of the month +// - Your current estimated charges from Amazon Web Services, and how much +// your predicted usage will accrue in charges by the end of the month // -// * How much of your budget has been used +// - How much of your budget has been used // // Amazon Web Services updates your budget status several times a day. Budgets // track your unblended costs, subscriptions, refunds, and RIs. You can create // the following types of budgets: // -// * Cost budgets - Plan how much you want to spend on a service. +// - Cost budgets - Plan how much you want to spend on a service. // -// * Usage budgets - Plan how much you want to use one or more services. +// - Usage budgets - Plan how much you want to use one or more services. // -// * RI utilization budgets - Define a utilization threshold, and receive -// alerts when your RI usage falls below that threshold. This lets you see -// if your RIs are unused or under-utilized. +// - RI utilization budgets - Define a utilization threshold, and receive +// alerts when your RI usage falls below that threshold. This lets you see +// if your RIs are unused or under-utilized. // -// * RI coverage budgets - Define a coverage threshold, and receive alerts -// when the number of your instance hours that are covered by RIs fall below -// that threshold. This lets you see how much of your instance usage is covered -// by a reservation. +// - RI coverage budgets - Define a coverage threshold, and receive alerts +// when the number of your instance hours that are covered by RIs fall below +// that threshold. This lets you see how much of your instance usage is covered +// by a reservation. // -// Service Endpoint +// # Service Endpoint // // The Amazon Web Services Budgets API provides the following endpoint: // -// * https://budgets.amazonaws.com +// - https://budgets.amazonaws.com // // For information about costs that are associated with the Amazon Web Services // Budgets API, see Amazon Web Services Cost Management Pricing (https://aws.amazon.com/aws-cost-management/pricing/). @@ -49,7 +49,7 @@ // See budgets package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/budgets/ // -// Using the Client +// # Using the Client // // To contact AWS Budgets with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/service.go index d3cb3be0fdd0..59bb56a757f3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/budgets/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Budgets client from just a session. -// svc := budgets.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Budgets client with additional configuration -// svc := budgets.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Budgets client from just a session. +// svc := budgets.New(mySession) +// +// // Create a Budgets client with additional configuration +// svc := budgets.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Budgets { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/api.go index 7fcdac51a031..276262936581 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/api.go @@ -29,14 +29,13 @@ const opAssociatePhoneNumberWithUser = "AssociatePhoneNumberWithUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociatePhoneNumberWithUserRequest method. +// req, resp := client.AssociatePhoneNumberWithUserRequest(params) // -// // Example sending a request using the AssociatePhoneNumberWithUserRequest method. -// req, resp := client.AssociatePhoneNumberWithUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumberWithUser func (c *Chime) AssociatePhoneNumberWithUserRequest(input *AssociatePhoneNumberWithUserInput) (req *request.Request, output *AssociatePhoneNumberWithUserOutput) { @@ -68,29 +67,30 @@ func (c *Chime) AssociatePhoneNumberWithUserRequest(input *AssociatePhoneNumberW // API operation AssociatePhoneNumberWithUser for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumberWithUser func (c *Chime) AssociatePhoneNumberWithUser(input *AssociatePhoneNumberWithUserInput) (*AssociatePhoneNumberWithUserOutput, error) { @@ -130,14 +130,13 @@ const opAssociatePhoneNumbersWithVoiceConnector = "AssociatePhoneNumbersWithVoic // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociatePhoneNumbersWithVoiceConnectorRequest method. +// req, resp := client.AssociatePhoneNumbersWithVoiceConnectorRequest(params) // -// // Example sending a request using the AssociatePhoneNumbersWithVoiceConnectorRequest method. -// req, resp := client.AssociatePhoneNumbersWithVoiceConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnector func (c *Chime) AssociatePhoneNumbersWithVoiceConnectorRequest(input *AssociatePhoneNumbersWithVoiceConnectorInput) (req *request.Request, output *AssociatePhoneNumbersWithVoiceConnectorOutput) { @@ -168,29 +167,30 @@ func (c *Chime) AssociatePhoneNumbersWithVoiceConnectorRequest(input *AssociateP // API operation AssociatePhoneNumbersWithVoiceConnector for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnector func (c *Chime) AssociatePhoneNumbersWithVoiceConnector(input *AssociatePhoneNumbersWithVoiceConnectorInput) (*AssociatePhoneNumbersWithVoiceConnectorOutput, error) { @@ -230,14 +230,13 @@ const opAssociatePhoneNumbersWithVoiceConnectorGroup = "AssociatePhoneNumbersWit // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociatePhoneNumbersWithVoiceConnectorGroupRequest method. +// req, resp := client.AssociatePhoneNumbersWithVoiceConnectorGroupRequest(params) // -// // Example sending a request using the AssociatePhoneNumbersWithVoiceConnectorGroupRequest method. -// req, resp := client.AssociatePhoneNumbersWithVoiceConnectorGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnectorGroup func (c *Chime) AssociatePhoneNumbersWithVoiceConnectorGroupRequest(input *AssociatePhoneNumbersWithVoiceConnectorGroupInput) (req *request.Request, output *AssociatePhoneNumbersWithVoiceConnectorGroupOutput) { @@ -269,29 +268,30 @@ func (c *Chime) AssociatePhoneNumbersWithVoiceConnectorGroupRequest(input *Assoc // API operation AssociatePhoneNumbersWithVoiceConnectorGroup for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociatePhoneNumbersWithVoiceConnectorGroup func (c *Chime) AssociatePhoneNumbersWithVoiceConnectorGroup(input *AssociatePhoneNumbersWithVoiceConnectorGroupInput) (*AssociatePhoneNumbersWithVoiceConnectorGroupOutput, error) { @@ -331,14 +331,13 @@ const opAssociateSigninDelegateGroupsWithAccount = "AssociateSigninDelegateGroup // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateSigninDelegateGroupsWithAccountRequest method. +// req, resp := client.AssociateSigninDelegateGroupsWithAccountRequest(params) // -// // Example sending a request using the AssociateSigninDelegateGroupsWithAccountRequest method. -// req, resp := client.AssociateSigninDelegateGroupsWithAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociateSigninDelegateGroupsWithAccount func (c *Chime) AssociateSigninDelegateGroupsWithAccountRequest(input *AssociateSigninDelegateGroupsWithAccountInput) (req *request.Request, output *AssociateSigninDelegateGroupsWithAccountOutput) { @@ -371,26 +370,27 @@ func (c *Chime) AssociateSigninDelegateGroupsWithAccountRequest(input *Associate // API operation AssociateSigninDelegateGroupsWithAccount for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AssociateSigninDelegateGroupsWithAccount func (c *Chime) AssociateSigninDelegateGroupsWithAccount(input *AssociateSigninDelegateGroupsWithAccountInput) (*AssociateSigninDelegateGroupsWithAccountOutput, error) { @@ -430,14 +430,13 @@ const opBatchCreateAttendee = "BatchCreateAttendee" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchCreateAttendeeRequest method. +// req, resp := client.BatchCreateAttendeeRequest(params) // -// // Example sending a request using the BatchCreateAttendeeRequest method. -// req, resp := client.BatchCreateAttendeeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateAttendee func (c *Chime) BatchCreateAttendeeRequest(input *BatchCreateAttendeeInput) (req *request.Request, output *BatchCreateAttendeeOutput) { @@ -471,29 +470,30 @@ func (c *Chime) BatchCreateAttendeeRequest(input *BatchCreateAttendeeInput) (req // API operation BatchCreateAttendee for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateAttendee func (c *Chime) BatchCreateAttendee(input *BatchCreateAttendeeInput) (*BatchCreateAttendeeOutput, error) { @@ -533,14 +533,13 @@ const opBatchCreateChannelMembership = "BatchCreateChannelMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchCreateChannelMembershipRequest method. +// req, resp := client.BatchCreateChannelMembershipRequest(params) // -// // Example sending a request using the BatchCreateChannelMembershipRequest method. -// req, resp := client.BatchCreateChannelMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateChannelMembership func (c *Chime) BatchCreateChannelMembershipRequest(input *BatchCreateChannelMembershipInput) (req *request.Request, output *BatchCreateChannelMembershipOutput) { @@ -573,23 +572,24 @@ func (c *Chime) BatchCreateChannelMembershipRequest(input *BatchCreateChannelMem // API operation BatchCreateChannelMembership for usage and error information. // // Returned Error Types: -// * ServiceFailureException -// The service encountered an unexpected error. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceFailureException +// The service encountered an unexpected error. +// +// - ServiceUnavailableException +// The service is currently unavailable. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateChannelMembership func (c *Chime) BatchCreateChannelMembership(input *BatchCreateChannelMembershipInput) (*BatchCreateChannelMembershipOutput, error) { @@ -629,14 +629,13 @@ const opBatchCreateRoomMembership = "BatchCreateRoomMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchCreateRoomMembershipRequest method. +// req, resp := client.BatchCreateRoomMembershipRequest(params) // -// // Example sending a request using the BatchCreateRoomMembershipRequest method. -// req, resp := client.BatchCreateRoomMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateRoomMembership func (c *Chime) BatchCreateRoomMembershipRequest(input *BatchCreateRoomMembershipInput) (req *request.Request, output *BatchCreateRoomMembershipOutput) { @@ -669,26 +668,27 @@ func (c *Chime) BatchCreateRoomMembershipRequest(input *BatchCreateRoomMembershi // API operation BatchCreateRoomMembership for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchCreateRoomMembership func (c *Chime) BatchCreateRoomMembership(input *BatchCreateRoomMembershipInput) (*BatchCreateRoomMembershipOutput, error) { @@ -728,14 +728,13 @@ const opBatchDeletePhoneNumber = "BatchDeletePhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeletePhoneNumberRequest method. +// req, resp := client.BatchDeletePhoneNumberRequest(params) // -// // Example sending a request using the BatchDeletePhoneNumberRequest method. -// req, resp := client.BatchDeletePhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchDeletePhoneNumber func (c *Chime) BatchDeletePhoneNumberRequest(input *BatchDeletePhoneNumberInput) (req *request.Request, output *BatchDeletePhoneNumberOutput) { @@ -770,26 +769,27 @@ func (c *Chime) BatchDeletePhoneNumberRequest(input *BatchDeletePhoneNumberInput // API operation BatchDeletePhoneNumber for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchDeletePhoneNumber func (c *Chime) BatchDeletePhoneNumber(input *BatchDeletePhoneNumberInput) (*BatchDeletePhoneNumberOutput, error) { @@ -829,14 +829,13 @@ const opBatchSuspendUser = "BatchSuspendUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchSuspendUserRequest method. +// req, resp := client.BatchSuspendUserRequest(params) // -// // Example sending a request using the BatchSuspendUserRequest method. -// req, resp := client.BatchSuspendUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchSuspendUser func (c *Chime) BatchSuspendUserRequest(input *BatchSuspendUserInput) (req *request.Request, output *BatchSuspendUserOutput) { @@ -881,26 +880,27 @@ func (c *Chime) BatchSuspendUserRequest(input *BatchSuspendUserInput) (req *requ // API operation BatchSuspendUser for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchSuspendUser func (c *Chime) BatchSuspendUser(input *BatchSuspendUserInput) (*BatchSuspendUserOutput, error) { @@ -940,14 +940,13 @@ const opBatchUnsuspendUser = "BatchUnsuspendUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchUnsuspendUserRequest method. +// req, resp := client.BatchUnsuspendUserRequest(params) // -// // Example sending a request using the BatchUnsuspendUserRequest method. -// req, resp := client.BatchUnsuspendUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUnsuspendUser func (c *Chime) BatchUnsuspendUserRequest(input *BatchUnsuspendUserInput) (req *request.Request, output *BatchUnsuspendUserOutput) { @@ -985,26 +984,27 @@ func (c *Chime) BatchUnsuspendUserRequest(input *BatchUnsuspendUserInput) (req * // API operation BatchUnsuspendUser for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUnsuspendUser func (c *Chime) BatchUnsuspendUser(input *BatchUnsuspendUserInput) (*BatchUnsuspendUserOutput, error) { @@ -1044,14 +1044,13 @@ const opBatchUpdatePhoneNumber = "BatchUpdatePhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchUpdatePhoneNumberRequest method. +// req, resp := client.BatchUpdatePhoneNumberRequest(params) // -// // Example sending a request using the BatchUpdatePhoneNumberRequest method. -// req, resp := client.BatchUpdatePhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdatePhoneNumber func (c *Chime) BatchUpdatePhoneNumberRequest(input *BatchUpdatePhoneNumberInput) (req *request.Request, output *BatchUpdatePhoneNumberOutput) { @@ -1092,26 +1091,27 @@ func (c *Chime) BatchUpdatePhoneNumberRequest(input *BatchUpdatePhoneNumberInput // API operation BatchUpdatePhoneNumber for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdatePhoneNumber func (c *Chime) BatchUpdatePhoneNumber(input *BatchUpdatePhoneNumberInput) (*BatchUpdatePhoneNumberOutput, error) { @@ -1151,14 +1151,13 @@ const opBatchUpdateUser = "BatchUpdateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchUpdateUserRequest method. +// req, resp := client.BatchUpdateUserRequest(params) // -// // Example sending a request using the BatchUpdateUserRequest method. -// req, resp := client.BatchUpdateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdateUser func (c *Chime) BatchUpdateUserRequest(input *BatchUpdateUserInput) (req *request.Request, output *BatchUpdateUserOutput) { @@ -1191,26 +1190,27 @@ func (c *Chime) BatchUpdateUserRequest(input *BatchUpdateUserInput) (req *reques // API operation BatchUpdateUser for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/BatchUpdateUser func (c *Chime) BatchUpdateUser(input *BatchUpdateUserInput) (*BatchUpdateUserOutput, error) { @@ -1250,14 +1250,13 @@ const opCreateAccount = "CreateAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAccountRequest method. +// req, resp := client.CreateAccountRequest(params) // -// // Example sending a request using the CreateAccountRequest method. -// req, resp := client.CreateAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAccount func (c *Chime) CreateAccountRequest(input *CreateAccountInput) (req *request.Request, output *CreateAccountOutput) { @@ -1291,26 +1290,27 @@ func (c *Chime) CreateAccountRequest(input *CreateAccountInput) (req *request.Re // API operation CreateAccount for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAccount func (c *Chime) CreateAccount(input *CreateAccountInput) (*CreateAccountOutput, error) { @@ -1350,14 +1350,13 @@ const opCreateAppInstance = "CreateAppInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppInstanceRequest method. +// req, resp := client.CreateAppInstanceRequest(params) // -// // Example sending a request using the CreateAppInstanceRequest method. -// req, resp := client.CreateAppInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAppInstance func (c *Chime) CreateAppInstanceRequest(input *CreateAppInstanceInput) (req *request.Request, output *CreateAppInstanceOutput) { @@ -1392,30 +1391,31 @@ func (c *Chime) CreateAppInstanceRequest(input *CreateAppInstanceInput) (req *re // API operation CreateAppInstance for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAppInstance func (c *Chime) CreateAppInstance(input *CreateAppInstanceInput) (*CreateAppInstanceOutput, error) { @@ -1455,14 +1455,13 @@ const opCreateAppInstanceAdmin = "CreateAppInstanceAdmin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppInstanceAdminRequest method. +// req, resp := client.CreateAppInstanceAdminRequest(params) // -// // Example sending a request using the CreateAppInstanceAdminRequest method. -// req, resp := client.CreateAppInstanceAdminRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAppInstanceAdmin func (c *Chime) CreateAppInstanceAdminRequest(input *CreateAppInstanceAdminInput) (req *request.Request, output *CreateAppInstanceAdminOutput) { @@ -1488,9 +1487,9 @@ func (c *Chime) CreateAppInstanceAdminRequest(input *CreateAppInstanceAdminInput // Promotes an AppInstanceUser to an AppInstanceAdmin. The promoted user can // perform the following actions. // -// * ChannelModerator actions across all channels in the AppInstance. +// - ChannelModerator actions across all channels in the AppInstance. // -// * DeleteChannelMessage actions. +// - DeleteChannelMessage actions. // // Only an AppInstanceUser can be promoted to an AppInstanceAdmin role. // @@ -1502,30 +1501,31 @@ func (c *Chime) CreateAppInstanceAdminRequest(input *CreateAppInstanceAdminInput // API operation CreateAppInstanceAdmin for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAppInstanceAdmin func (c *Chime) CreateAppInstanceAdmin(input *CreateAppInstanceAdminInput) (*CreateAppInstanceAdminOutput, error) { @@ -1565,14 +1565,13 @@ const opCreateAppInstanceUser = "CreateAppInstanceUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppInstanceUserRequest method. +// req, resp := client.CreateAppInstanceUserRequest(params) // -// // Example sending a request using the CreateAppInstanceUserRequest method. -// req, resp := client.CreateAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAppInstanceUser func (c *Chime) CreateAppInstanceUserRequest(input *CreateAppInstanceUserInput) (req *request.Request, output *CreateAppInstanceUserOutput) { @@ -1606,30 +1605,31 @@ func (c *Chime) CreateAppInstanceUserRequest(input *CreateAppInstanceUserInput) // API operation CreateAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAppInstanceUser func (c *Chime) CreateAppInstanceUser(input *CreateAppInstanceUserInput) (*CreateAppInstanceUserOutput, error) { @@ -1669,14 +1669,13 @@ const opCreateAttendee = "CreateAttendee" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAttendeeRequest method. +// req, resp := client.CreateAttendeeRequest(params) // -// // Example sending a request using the CreateAttendeeRequest method. -// req, resp := client.CreateAttendeeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAttendee func (c *Chime) CreateAttendeeRequest(input *CreateAttendeeInput) (req *request.Request, output *CreateAttendeeOutput) { @@ -1709,29 +1708,30 @@ func (c *Chime) CreateAttendeeRequest(input *CreateAttendeeInput) (req *request. // API operation CreateAttendee for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateAttendee func (c *Chime) CreateAttendee(input *CreateAttendeeInput) (*CreateAttendeeOutput, error) { @@ -1771,14 +1771,13 @@ const opCreateBot = "CreateBot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBotRequest method. +// req, resp := client.CreateBotRequest(params) // -// // Example sending a request using the CreateBotRequest method. -// req, resp := client.CreateBotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateBot func (c *Chime) CreateBotRequest(input *CreateBotInput) (req *request.Request, output *CreateBotOutput) { @@ -1809,29 +1808,30 @@ func (c *Chime) CreateBotRequest(input *CreateBotInput) (req *request.Request, o // API operation CreateBot for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateBot func (c *Chime) CreateBot(input *CreateBotInput) (*CreateBotOutput, error) { @@ -1871,14 +1871,13 @@ const opCreateChannel = "CreateChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChannelRequest method. +// req, resp := client.CreateChannelRequest(params) // -// // Example sending a request using the CreateChannelRequest method. -// req, resp := client.CreateChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannel func (c *Chime) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput) { @@ -1916,30 +1915,31 @@ func (c *Chime) CreateChannelRequest(input *CreateChannelInput) (req *request.Re // API operation CreateChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannel func (c *Chime) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error) { @@ -1979,14 +1979,13 @@ const opCreateChannelBan = "CreateChannelBan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChannelBanRequest method. +// req, resp := client.CreateChannelBanRequest(params) // -// // Example sending a request using the CreateChannelBanRequest method. -// req, resp := client.CreateChannelBanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannelBan func (c *Chime) CreateChannelBanRequest(input *CreateChannelBanInput) (req *request.Request, output *CreateChannelBanOutput) { @@ -2027,30 +2026,31 @@ func (c *Chime) CreateChannelBanRequest(input *CreateChannelBanInput) (req *requ // API operation CreateChannelBan for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannelBan func (c *Chime) CreateChannelBan(input *CreateChannelBanInput) (*CreateChannelBanOutput, error) { @@ -2090,14 +2090,13 @@ const opCreateChannelMembership = "CreateChannelMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChannelMembershipRequest method. +// req, resp := client.CreateChannelMembershipRequest(params) // -// // Example sending a request using the CreateChannelMembershipRequest method. -// req, resp := client.CreateChannelMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannelMembership func (c *Chime) CreateChannelMembershipRequest(input *CreateChannelMembershipInput) (req *request.Request, output *CreateChannelMembershipOutput) { @@ -2123,22 +2122,22 @@ func (c *Chime) CreateChannelMembershipRequest(input *CreateChannelMembershipInp // Adds a user to a channel. The InvitedBy response field is derived from the // request header. A channel member can: // -// * List messages +// - List messages // -// * Send messages +// - Send messages // -// * Receive messages +// - Receive messages // -// * Edit their own messages +// - Edit their own messages // -// * Leave the channel +// - Leave the channel // // Privacy settings impact this action as follows: // -// * Public Channels: You do not need to be a member to list messages, but -// you must be a member to send messages. +// - Public Channels: You do not need to be a member to list messages, but +// you must be a member to send messages. // -// * Private Channels: You must be a member to list or send messages. +// - Private Channels: You must be a member to list or send messages. // // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn // of the user that makes the API call as the value in the header. @@ -2151,30 +2150,31 @@ func (c *Chime) CreateChannelMembershipRequest(input *CreateChannelMembershipInp // API operation CreateChannelMembership for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannelMembership func (c *Chime) CreateChannelMembership(input *CreateChannelMembershipInput) (*CreateChannelMembershipOutput, error) { @@ -2214,14 +2214,13 @@ const opCreateChannelModerator = "CreateChannelModerator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChannelModeratorRequest method. +// req, resp := client.CreateChannelModeratorRequest(params) // -// // Example sending a request using the CreateChannelModeratorRequest method. -// req, resp := client.CreateChannelModeratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannelModerator func (c *Chime) CreateChannelModeratorRequest(input *CreateChannelModeratorInput) (req *request.Request, output *CreateChannelModeratorOutput) { @@ -2246,15 +2245,15 @@ func (c *Chime) CreateChannelModeratorRequest(input *CreateChannelModeratorInput // // Creates a new ChannelModerator. A channel moderator can: // -// * Add and remove other members of the channel. +// - Add and remove other members of the channel. // -// * Add and remove other moderators of the channel. +// - Add and remove other moderators of the channel. // -// * Add and remove user bans for the channel. +// - Add and remove user bans for the channel. // -// * Redact messages in the channel. +// - Redact messages in the channel. // -// * List messages in the channel. +// - List messages in the channel. // // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn // of the user that makes the API call as the value in the header. @@ -2267,30 +2266,31 @@ func (c *Chime) CreateChannelModeratorRequest(input *CreateChannelModeratorInput // API operation CreateChannelModerator for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateChannelModerator func (c *Chime) CreateChannelModerator(input *CreateChannelModeratorInput) (*CreateChannelModeratorOutput, error) { @@ -2330,14 +2330,13 @@ const opCreateMediaCapturePipeline = "CreateMediaCapturePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMediaCapturePipelineRequest method. +// req, resp := client.CreateMediaCapturePipelineRequest(params) // -// // Example sending a request using the CreateMediaCapturePipelineRequest method. -// req, resp := client.CreateMediaCapturePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMediaCapturePipeline func (c *Chime) CreateMediaCapturePipelineRequest(input *CreateMediaCapturePipelineInput) (req *request.Request, output *CreateMediaCapturePipelineOutput) { @@ -2368,26 +2367,27 @@ func (c *Chime) CreateMediaCapturePipelineRequest(input *CreateMediaCapturePipel // API operation CreateMediaCapturePipeline for usage and error information. // // Returned Error Types: -// * ResourceLimitExceededException -// The request exceeds the resource limit. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMediaCapturePipeline func (c *Chime) CreateMediaCapturePipeline(input *CreateMediaCapturePipelineInput) (*CreateMediaCapturePipelineOutput, error) { @@ -2427,14 +2427,13 @@ const opCreateMeeting = "CreateMeeting" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMeetingRequest method. +// req, resp := client.CreateMeetingRequest(params) // -// // Example sending a request using the CreateMeetingRequest method. -// req, resp := client.CreateMeetingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeeting func (c *Chime) CreateMeetingRequest(input *CreateMeetingInput) (req *request.Request, output *CreateMeetingOutput) { @@ -2470,26 +2469,27 @@ func (c *Chime) CreateMeetingRequest(input *CreateMeetingInput) (req *request.Re // API operation CreateMeeting for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeeting func (c *Chime) CreateMeeting(input *CreateMeetingInput) (*CreateMeetingOutput, error) { @@ -2529,14 +2529,13 @@ const opCreateMeetingDialOut = "CreateMeetingDialOut" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMeetingDialOutRequest method. +// req, resp := client.CreateMeetingDialOutRequest(params) // -// // Example sending a request using the CreateMeetingDialOutRequest method. -// req, resp := client.CreateMeetingDialOutRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingDialOut func (c *Chime) CreateMeetingDialOutRequest(input *CreateMeetingDialOutInput) (req *request.Request, output *CreateMeetingDialOutOutput) { @@ -2574,29 +2573,30 @@ func (c *Chime) CreateMeetingDialOutRequest(input *CreateMeetingDialOutInput) (r // API operation CreateMeetingDialOut for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingDialOut func (c *Chime) CreateMeetingDialOut(input *CreateMeetingDialOutInput) (*CreateMeetingDialOutOutput, error) { @@ -2636,14 +2636,13 @@ const opCreateMeetingWithAttendees = "CreateMeetingWithAttendees" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMeetingWithAttendeesRequest method. +// req, resp := client.CreateMeetingWithAttendeesRequest(params) // -// // Example sending a request using the CreateMeetingWithAttendeesRequest method. -// req, resp := client.CreateMeetingWithAttendeesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingWithAttendees func (c *Chime) CreateMeetingWithAttendeesRequest(input *CreateMeetingWithAttendeesInput) (req *request.Request, output *CreateMeetingWithAttendeesOutput) { @@ -2679,26 +2678,27 @@ func (c *Chime) CreateMeetingWithAttendeesRequest(input *CreateMeetingWithAttend // API operation CreateMeetingWithAttendees for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateMeetingWithAttendees func (c *Chime) CreateMeetingWithAttendees(input *CreateMeetingWithAttendeesInput) (*CreateMeetingWithAttendeesOutput, error) { @@ -2738,14 +2738,13 @@ const opCreatePhoneNumberOrder = "CreatePhoneNumberOrder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePhoneNumberOrderRequest method. +// req, resp := client.CreatePhoneNumberOrderRequest(params) // -// // Example sending a request using the CreatePhoneNumberOrderRequest method. -// req, resp := client.CreatePhoneNumberOrderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreatePhoneNumberOrder func (c *Chime) CreatePhoneNumberOrderRequest(input *CreatePhoneNumberOrderInput) (req *request.Request, output *CreatePhoneNumberOrderOutput) { @@ -2779,29 +2778,30 @@ func (c *Chime) CreatePhoneNumberOrderRequest(input *CreatePhoneNumberOrderInput // API operation CreatePhoneNumberOrder for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreatePhoneNumberOrder func (c *Chime) CreatePhoneNumberOrder(input *CreatePhoneNumberOrderInput) (*CreatePhoneNumberOrderOutput, error) { @@ -2841,14 +2841,13 @@ const opCreateProxySession = "CreateProxySession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProxySessionRequest method. +// req, resp := client.CreateProxySessionRequest(params) // -// // Example sending a request using the CreateProxySessionRequest method. -// req, resp := client.CreateProxySessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateProxySession func (c *Chime) CreateProxySessionRequest(input *CreateProxySessionInput) (req *request.Request, output *CreateProxySessionOutput) { @@ -2880,26 +2879,27 @@ func (c *Chime) CreateProxySessionRequest(input *CreateProxySessionInput) (req * // API operation CreateProxySession for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateProxySession func (c *Chime) CreateProxySession(input *CreateProxySessionInput) (*CreateProxySessionOutput, error) { @@ -2939,14 +2939,13 @@ const opCreateRoom = "CreateRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRoomRequest method. +// req, resp := client.CreateRoomRequest(params) // -// // Example sending a request using the CreateRoomRequest method. -// req, resp := client.CreateRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoom func (c *Chime) CreateRoomRequest(input *CreateRoomInput) (req *request.Request, output *CreateRoomOutput) { @@ -2977,29 +2976,30 @@ func (c *Chime) CreateRoomRequest(input *CreateRoomInput) (req *request.Request, // API operation CreateRoom for usage and error information. // // Returned Error Types: -// * NotFoundException -// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. +// +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoom func (c *Chime) CreateRoom(input *CreateRoomInput) (*CreateRoomOutput, error) { @@ -3039,14 +3039,13 @@ const opCreateRoomMembership = "CreateRoomMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRoomMembershipRequest method. +// req, resp := client.CreateRoomMembershipRequest(params) // -// // Example sending a request using the CreateRoomMembershipRequest method. -// req, resp := client.CreateRoomMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoomMembership func (c *Chime) CreateRoomMembershipRequest(input *CreateRoomMembershipInput) (req *request.Request, output *CreateRoomMembershipOutput) { @@ -3079,33 +3078,34 @@ func (c *Chime) CreateRoomMembershipRequest(input *CreateRoomMembershipInput) (r // API operation CreateRoomMembership for usage and error information. // // Returned Error Types: -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. +// +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateRoomMembership func (c *Chime) CreateRoomMembership(input *CreateRoomMembershipInput) (*CreateRoomMembershipOutput, error) { @@ -3145,14 +3145,13 @@ const opCreateSipMediaApplication = "CreateSipMediaApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSipMediaApplicationRequest method. +// req, resp := client.CreateSipMediaApplicationRequest(params) // -// // Example sending a request using the CreateSipMediaApplicationRequest method. -// req, resp := client.CreateSipMediaApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipMediaApplication func (c *Chime) CreateSipMediaApplicationRequest(input *CreateSipMediaApplicationInput) (req *request.Request, output *CreateSipMediaApplicationOutput) { @@ -3183,33 +3182,34 @@ func (c *Chime) CreateSipMediaApplicationRequest(input *CreateSipMediaApplicatio // API operation CreateSipMediaApplication for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipMediaApplication func (c *Chime) CreateSipMediaApplication(input *CreateSipMediaApplicationInput) (*CreateSipMediaApplicationOutput, error) { @@ -3249,14 +3249,13 @@ const opCreateSipMediaApplicationCall = "CreateSipMediaApplicationCall" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSipMediaApplicationCallRequest method. +// req, resp := client.CreateSipMediaApplicationCallRequest(params) // -// // Example sending a request using the CreateSipMediaApplicationCallRequest method. -// req, resp := client.CreateSipMediaApplicationCallRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipMediaApplicationCall func (c *Chime) CreateSipMediaApplicationCallRequest(input *CreateSipMediaApplicationCallInput) (req *request.Request, output *CreateSipMediaApplicationCallOutput) { @@ -3288,29 +3287,30 @@ func (c *Chime) CreateSipMediaApplicationCallRequest(input *CreateSipMediaApplic // API operation CreateSipMediaApplicationCall for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipMediaApplicationCall func (c *Chime) CreateSipMediaApplicationCall(input *CreateSipMediaApplicationCallInput) (*CreateSipMediaApplicationCallOutput, error) { @@ -3350,14 +3350,13 @@ const opCreateSipRule = "CreateSipRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSipRuleRequest method. +// req, resp := client.CreateSipRuleRequest(params) // -// // Example sending a request using the CreateSipRuleRequest method. -// req, resp := client.CreateSipRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipRule func (c *Chime) CreateSipRuleRequest(input *CreateSipRuleInput) (req *request.Request, output *CreateSipRuleOutput) { @@ -3389,33 +3388,34 @@ func (c *Chime) CreateSipRuleRequest(input *CreateSipRuleInput) (req *request.Re // API operation CreateSipRule for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateSipRule func (c *Chime) CreateSipRule(input *CreateSipRuleInput) (*CreateSipRuleOutput, error) { @@ -3455,14 +3455,13 @@ const opCreateUser = "CreateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserRequest method. +// req, resp := client.CreateUserRequest(params) // -// // Example sending a request using the CreateUserRequest method. -// req, resp := client.CreateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateUser func (c *Chime) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) { @@ -3493,30 +3492,31 @@ func (c *Chime) CreateUserRequest(input *CreateUserInput) (req *request.Request, // API operation CreateUser for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateUser func (c *Chime) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) { @@ -3556,14 +3556,13 @@ const opCreateVoiceConnector = "CreateVoiceConnector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVoiceConnectorRequest method. +// req, resp := client.CreateVoiceConnectorRequest(params) // -// // Example sending a request using the CreateVoiceConnectorRequest method. -// req, resp := client.CreateVoiceConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateVoiceConnector func (c *Chime) CreateVoiceConnectorRequest(input *CreateVoiceConnectorInput) (req *request.Request, output *CreateVoiceConnectorOutput) { @@ -3601,29 +3600,30 @@ func (c *Chime) CreateVoiceConnectorRequest(input *CreateVoiceConnectorInput) (r // API operation CreateVoiceConnector for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateVoiceConnector func (c *Chime) CreateVoiceConnector(input *CreateVoiceConnectorInput) (*CreateVoiceConnectorOutput, error) { @@ -3663,14 +3663,13 @@ const opCreateVoiceConnectorGroup = "CreateVoiceConnectorGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVoiceConnectorGroupRequest method. +// req, resp := client.CreateVoiceConnectorGroupRequest(params) // -// // Example sending a request using the CreateVoiceConnectorGroupRequest method. -// req, resp := client.CreateVoiceConnectorGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateVoiceConnectorGroup func (c *Chime) CreateVoiceConnectorGroupRequest(input *CreateVoiceConnectorGroupInput) (req *request.Request, output *CreateVoiceConnectorGroupOutput) { @@ -3707,29 +3706,30 @@ func (c *Chime) CreateVoiceConnectorGroupRequest(input *CreateVoiceConnectorGrou // API operation CreateVoiceConnectorGroup for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/CreateVoiceConnectorGroup func (c *Chime) CreateVoiceConnectorGroup(input *CreateVoiceConnectorGroupInput) (*CreateVoiceConnectorGroupOutput, error) { @@ -3769,14 +3769,13 @@ const opDeleteAccount = "DeleteAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccountRequest method. +// req, resp := client.DeleteAccountRequest(params) // -// // Example sending a request using the DeleteAccountRequest method. -// req, resp := client.DeleteAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAccount func (c *Chime) DeleteAccountRequest(input *DeleteAccountInput) (req *request.Request, output *DeleteAccountOutput) { @@ -3819,30 +3818,31 @@ func (c *Chime) DeleteAccountRequest(input *DeleteAccountInput) (req *request.Re // API operation DeleteAccount for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnprocessableEntityException -// The request was well-formed but was unable to be followed due to semantic -// errors. +// - UnprocessableEntityException +// The request was well-formed but was unable to be followed due to semantic +// errors. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAccount func (c *Chime) DeleteAccount(input *DeleteAccountInput) (*DeleteAccountOutput, error) { @@ -3882,14 +3882,13 @@ const opDeleteAppInstance = "DeleteAppInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppInstanceRequest method. +// req, resp := client.DeleteAppInstanceRequest(params) // -// // Example sending a request using the DeleteAppInstanceRequest method. -// req, resp := client.DeleteAppInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstance func (c *Chime) DeleteAppInstanceRequest(input *DeleteAppInstanceInput) (req *request.Request, output *DeleteAppInstanceOutput) { @@ -3923,23 +3922,24 @@ func (c *Chime) DeleteAppInstanceRequest(input *DeleteAppInstanceInput) (req *re // API operation DeleteAppInstance for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstance func (c *Chime) DeleteAppInstance(input *DeleteAppInstanceInput) (*DeleteAppInstanceOutput, error) { @@ -3979,14 +3979,13 @@ const opDeleteAppInstanceAdmin = "DeleteAppInstanceAdmin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppInstanceAdminRequest method. +// req, resp := client.DeleteAppInstanceAdminRequest(params) // -// // Example sending a request using the DeleteAppInstanceAdminRequest method. -// req, resp := client.DeleteAppInstanceAdminRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceAdmin func (c *Chime) DeleteAppInstanceAdminRequest(input *DeleteAppInstanceAdminInput) (req *request.Request, output *DeleteAppInstanceAdminOutput) { @@ -4021,27 +4020,28 @@ func (c *Chime) DeleteAppInstanceAdminRequest(input *DeleteAppInstanceAdminInput // API operation DeleteAppInstanceAdmin for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceAdmin func (c *Chime) DeleteAppInstanceAdmin(input *DeleteAppInstanceAdminInput) (*DeleteAppInstanceAdminOutput, error) { @@ -4081,14 +4081,13 @@ const opDeleteAppInstanceStreamingConfigurations = "DeleteAppInstanceStreamingCo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppInstanceStreamingConfigurationsRequest method. +// req, resp := client.DeleteAppInstanceStreamingConfigurationsRequest(params) // -// // Example sending a request using the DeleteAppInstanceStreamingConfigurationsRequest method. -// req, resp := client.DeleteAppInstanceStreamingConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceStreamingConfigurations func (c *Chime) DeleteAppInstanceStreamingConfigurationsRequest(input *DeleteAppInstanceStreamingConfigurationsInput) (req *request.Request, output *DeleteAppInstanceStreamingConfigurationsOutput) { @@ -4120,26 +4119,27 @@ func (c *Chime) DeleteAppInstanceStreamingConfigurationsRequest(input *DeleteApp // API operation DeleteAppInstanceStreamingConfigurations for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceStreamingConfigurations func (c *Chime) DeleteAppInstanceStreamingConfigurations(input *DeleteAppInstanceStreamingConfigurationsInput) (*DeleteAppInstanceStreamingConfigurationsOutput, error) { @@ -4179,14 +4179,13 @@ const opDeleteAppInstanceUser = "DeleteAppInstanceUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppInstanceUserRequest method. +// req, resp := client.DeleteAppInstanceUserRequest(params) // -// // Example sending a request using the DeleteAppInstanceUserRequest method. -// req, resp := client.DeleteAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceUser func (c *Chime) DeleteAppInstanceUserRequest(input *DeleteAppInstanceUserInput) (req *request.Request, output *DeleteAppInstanceUserOutput) { @@ -4220,23 +4219,24 @@ func (c *Chime) DeleteAppInstanceUserRequest(input *DeleteAppInstanceUserInput) // API operation DeleteAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAppInstanceUser func (c *Chime) DeleteAppInstanceUser(input *DeleteAppInstanceUserInput) (*DeleteAppInstanceUserOutput, error) { @@ -4276,14 +4276,13 @@ const opDeleteAttendee = "DeleteAttendee" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAttendeeRequest method. +// req, resp := client.DeleteAttendeeRequest(params) // -// // Example sending a request using the DeleteAttendeeRequest method. -// req, resp := client.DeleteAttendeeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAttendee func (c *Chime) DeleteAttendeeRequest(input *DeleteAttendeeInput) (req *request.Request, output *DeleteAttendeeOutput) { @@ -4319,26 +4318,27 @@ func (c *Chime) DeleteAttendeeRequest(input *DeleteAttendeeInput) (req *request. // API operation DeleteAttendee for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteAttendee func (c *Chime) DeleteAttendee(input *DeleteAttendeeInput) (*DeleteAttendeeOutput, error) { @@ -4378,14 +4378,13 @@ const opDeleteChannel = "DeleteChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelRequest method. +// req, resp := client.DeleteChannelRequest(params) // -// // Example sending a request using the DeleteChannelRequest method. -// req, resp := client.DeleteChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannel func (c *Chime) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput) { @@ -4423,23 +4422,24 @@ func (c *Chime) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Re // API operation DeleteChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannel func (c *Chime) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error) { @@ -4479,14 +4479,13 @@ const opDeleteChannelBan = "DeleteChannelBan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelBanRequest method. +// req, resp := client.DeleteChannelBanRequest(params) // -// // Example sending a request using the DeleteChannelBanRequest method. -// req, resp := client.DeleteChannelBanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelBan func (c *Chime) DeleteChannelBanRequest(input *DeleteChannelBanInput) (req *request.Request, output *DeleteChannelBanOutput) { @@ -4523,23 +4522,24 @@ func (c *Chime) DeleteChannelBanRequest(input *DeleteChannelBanInput) (req *requ // API operation DeleteChannelBan for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelBan func (c *Chime) DeleteChannelBan(input *DeleteChannelBanInput) (*DeleteChannelBanOutput, error) { @@ -4579,14 +4579,13 @@ const opDeleteChannelMembership = "DeleteChannelMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelMembershipRequest method. +// req, resp := client.DeleteChannelMembershipRequest(params) // -// // Example sending a request using the DeleteChannelMembershipRequest method. -// req, resp := client.DeleteChannelMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelMembership func (c *Chime) DeleteChannelMembershipRequest(input *DeleteChannelMembershipInput) (req *request.Request, output *DeleteChannelMembershipOutput) { @@ -4623,27 +4622,28 @@ func (c *Chime) DeleteChannelMembershipRequest(input *DeleteChannelMembershipInp // API operation DeleteChannelMembership for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelMembership func (c *Chime) DeleteChannelMembership(input *DeleteChannelMembershipInput) (*DeleteChannelMembershipOutput, error) { @@ -4683,14 +4683,13 @@ const opDeleteChannelMessage = "DeleteChannelMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelMessageRequest method. +// req, resp := client.DeleteChannelMessageRequest(params) // -// // Example sending a request using the DeleteChannelMessageRequest method. -// req, resp := client.DeleteChannelMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelMessage func (c *Chime) DeleteChannelMessageRequest(input *DeleteChannelMessageInput) (req *request.Request, output *DeleteChannelMessageOutput) { @@ -4729,23 +4728,24 @@ func (c *Chime) DeleteChannelMessageRequest(input *DeleteChannelMessageInput) (r // API operation DeleteChannelMessage for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelMessage func (c *Chime) DeleteChannelMessage(input *DeleteChannelMessageInput) (*DeleteChannelMessageOutput, error) { @@ -4785,14 +4785,13 @@ const opDeleteChannelModerator = "DeleteChannelModerator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelModeratorRequest method. +// req, resp := client.DeleteChannelModeratorRequest(params) // -// // Example sending a request using the DeleteChannelModeratorRequest method. -// req, resp := client.DeleteChannelModeratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelModerator func (c *Chime) DeleteChannelModeratorRequest(input *DeleteChannelModeratorInput) (req *request.Request, output *DeleteChannelModeratorOutput) { @@ -4829,23 +4828,24 @@ func (c *Chime) DeleteChannelModeratorRequest(input *DeleteChannelModeratorInput // API operation DeleteChannelModerator for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteChannelModerator func (c *Chime) DeleteChannelModerator(input *DeleteChannelModeratorInput) (*DeleteChannelModeratorOutput, error) { @@ -4885,14 +4885,13 @@ const opDeleteEventsConfiguration = "DeleteEventsConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventsConfigurationRequest method. +// req, resp := client.DeleteEventsConfigurationRequest(params) // -// // Example sending a request using the DeleteEventsConfigurationRequest method. -// req, resp := client.DeleteEventsConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteEventsConfiguration func (c *Chime) DeleteEventsConfigurationRequest(input *DeleteEventsConfigurationInput) (req *request.Request, output *DeleteEventsConfigurationOutput) { @@ -4924,23 +4923,24 @@ func (c *Chime) DeleteEventsConfigurationRequest(input *DeleteEventsConfiguratio // API operation DeleteEventsConfiguration for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteEventsConfiguration func (c *Chime) DeleteEventsConfiguration(input *DeleteEventsConfigurationInput) (*DeleteEventsConfigurationOutput, error) { @@ -4980,14 +4980,13 @@ const opDeleteMediaCapturePipeline = "DeleteMediaCapturePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMediaCapturePipelineRequest method. +// req, resp := client.DeleteMediaCapturePipelineRequest(params) // -// // Example sending a request using the DeleteMediaCapturePipelineRequest method. -// req, resp := client.DeleteMediaCapturePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteMediaCapturePipeline func (c *Chime) DeleteMediaCapturePipelineRequest(input *DeleteMediaCapturePipelineInput) (req *request.Request, output *DeleteMediaCapturePipelineOutput) { @@ -5019,26 +5018,27 @@ func (c *Chime) DeleteMediaCapturePipelineRequest(input *DeleteMediaCapturePipel // API operation DeleteMediaCapturePipeline for usage and error information. // // Returned Error Types: -// * ForbiddenException -// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteMediaCapturePipeline func (c *Chime) DeleteMediaCapturePipeline(input *DeleteMediaCapturePipelineInput) (*DeleteMediaCapturePipelineOutput, error) { @@ -5078,14 +5078,13 @@ const opDeleteMeeting = "DeleteMeeting" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMeetingRequest method. +// req, resp := client.DeleteMeetingRequest(params) // -// // Example sending a request using the DeleteMeetingRequest method. -// req, resp := client.DeleteMeetingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteMeeting func (c *Chime) DeleteMeetingRequest(input *DeleteMeetingInput) (req *request.Request, output *DeleteMeetingOutput) { @@ -5121,26 +5120,27 @@ func (c *Chime) DeleteMeetingRequest(input *DeleteMeetingInput) (req *request.Re // API operation DeleteMeeting for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteMeeting func (c *Chime) DeleteMeeting(input *DeleteMeetingInput) (*DeleteMeetingOutput, error) { @@ -5180,14 +5180,13 @@ const opDeletePhoneNumber = "DeletePhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePhoneNumberRequest method. +// req, resp := client.DeletePhoneNumberRequest(params) // -// // Example sending a request using the DeletePhoneNumberRequest method. -// req, resp := client.DeletePhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeletePhoneNumber func (c *Chime) DeletePhoneNumberRequest(input *DeletePhoneNumberInput) (req *request.Request, output *DeletePhoneNumberOutput) { @@ -5224,26 +5223,27 @@ func (c *Chime) DeletePhoneNumberRequest(input *DeletePhoneNumberInput) (req *re // API operation DeletePhoneNumber for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeletePhoneNumber func (c *Chime) DeletePhoneNumber(input *DeletePhoneNumberInput) (*DeletePhoneNumberOutput, error) { @@ -5283,14 +5283,13 @@ const opDeleteProxySession = "DeleteProxySession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProxySessionRequest method. +// req, resp := client.DeleteProxySessionRequest(params) // -// // Example sending a request using the DeleteProxySessionRequest method. -// req, resp := client.DeleteProxySessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteProxySession func (c *Chime) DeleteProxySessionRequest(input *DeleteProxySessionInput) (req *request.Request, output *DeleteProxySessionOutput) { @@ -5323,26 +5322,27 @@ func (c *Chime) DeleteProxySessionRequest(input *DeleteProxySessionInput) (req * // API operation DeleteProxySession for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteProxySession func (c *Chime) DeleteProxySession(input *DeleteProxySessionInput) (*DeleteProxySessionOutput, error) { @@ -5382,14 +5382,13 @@ const opDeleteRoom = "DeleteRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRoomRequest method. +// req, resp := client.DeleteRoomRequest(params) // -// // Example sending a request using the DeleteRoomRequest method. -// req, resp := client.DeleteRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoom func (c *Chime) DeleteRoomRequest(input *DeleteRoomInput) (req *request.Request, output *DeleteRoomOutput) { @@ -5421,26 +5420,27 @@ func (c *Chime) DeleteRoomRequest(input *DeleteRoomInput) (req *request.Request, // API operation DeleteRoom for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoom func (c *Chime) DeleteRoom(input *DeleteRoomInput) (*DeleteRoomOutput, error) { @@ -5480,14 +5480,13 @@ const opDeleteRoomMembership = "DeleteRoomMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRoomMembershipRequest method. +// req, resp := client.DeleteRoomMembershipRequest(params) // -// // Example sending a request using the DeleteRoomMembershipRequest method. -// req, resp := client.DeleteRoomMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoomMembership func (c *Chime) DeleteRoomMembershipRequest(input *DeleteRoomMembershipInput) (req *request.Request, output *DeleteRoomMembershipOutput) { @@ -5519,26 +5518,27 @@ func (c *Chime) DeleteRoomMembershipRequest(input *DeleteRoomMembershipInput) (r // API operation DeleteRoomMembership for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteRoomMembership func (c *Chime) DeleteRoomMembership(input *DeleteRoomMembershipInput) (*DeleteRoomMembershipOutput, error) { @@ -5578,14 +5578,13 @@ const opDeleteSipMediaApplication = "DeleteSipMediaApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSipMediaApplicationRequest method. +// req, resp := client.DeleteSipMediaApplicationRequest(params) // -// // Example sending a request using the DeleteSipMediaApplicationRequest method. -// req, resp := client.DeleteSipMediaApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteSipMediaApplication func (c *Chime) DeleteSipMediaApplicationRequest(input *DeleteSipMediaApplicationInput) (req *request.Request, output *DeleteSipMediaApplicationOutput) { @@ -5617,30 +5616,31 @@ func (c *Chime) DeleteSipMediaApplicationRequest(input *DeleteSipMediaApplicatio // API operation DeleteSipMediaApplication for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteSipMediaApplication func (c *Chime) DeleteSipMediaApplication(input *DeleteSipMediaApplicationInput) (*DeleteSipMediaApplicationOutput, error) { @@ -5680,14 +5680,13 @@ const opDeleteSipRule = "DeleteSipRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSipRuleRequest method. +// req, resp := client.DeleteSipRuleRequest(params) // -// // Example sending a request using the DeleteSipRuleRequest method. -// req, resp := client.DeleteSipRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteSipRule func (c *Chime) DeleteSipRuleRequest(input *DeleteSipRuleInput) (req *request.Request, output *DeleteSipRuleOutput) { @@ -5719,30 +5718,31 @@ func (c *Chime) DeleteSipRuleRequest(input *DeleteSipRuleInput) (req *request.Re // API operation DeleteSipRule for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteSipRule func (c *Chime) DeleteSipRule(input *DeleteSipRuleInput) (*DeleteSipRuleOutput, error) { @@ -5782,14 +5782,13 @@ const opDeleteVoiceConnector = "DeleteVoiceConnector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVoiceConnectorRequest method. +// req, resp := client.DeleteVoiceConnectorRequest(params) // -// // Example sending a request using the DeleteVoiceConnectorRequest method. -// req, resp := client.DeleteVoiceConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnector func (c *Chime) DeleteVoiceConnectorRequest(input *DeleteVoiceConnectorInput) (req *request.Request, output *DeleteVoiceConnectorOutput) { @@ -5823,30 +5822,31 @@ func (c *Chime) DeleteVoiceConnectorRequest(input *DeleteVoiceConnectorInput) (r // API operation DeleteVoiceConnector for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnector func (c *Chime) DeleteVoiceConnector(input *DeleteVoiceConnectorInput) (*DeleteVoiceConnectorOutput, error) { @@ -5886,14 +5886,13 @@ const opDeleteVoiceConnectorEmergencyCallingConfiguration = "DeleteVoiceConnecto // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVoiceConnectorEmergencyCallingConfigurationRequest method. +// req, resp := client.DeleteVoiceConnectorEmergencyCallingConfigurationRequest(params) // -// // Example sending a request using the DeleteVoiceConnectorEmergencyCallingConfigurationRequest method. -// req, resp := client.DeleteVoiceConnectorEmergencyCallingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorEmergencyCallingConfiguration func (c *Chime) DeleteVoiceConnectorEmergencyCallingConfigurationRequest(input *DeleteVoiceConnectorEmergencyCallingConfigurationInput) (req *request.Request, output *DeleteVoiceConnectorEmergencyCallingConfigurationOutput) { @@ -5926,26 +5925,27 @@ func (c *Chime) DeleteVoiceConnectorEmergencyCallingConfigurationRequest(input * // API operation DeleteVoiceConnectorEmergencyCallingConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorEmergencyCallingConfiguration func (c *Chime) DeleteVoiceConnectorEmergencyCallingConfiguration(input *DeleteVoiceConnectorEmergencyCallingConfigurationInput) (*DeleteVoiceConnectorEmergencyCallingConfigurationOutput, error) { @@ -5985,14 +5985,13 @@ const opDeleteVoiceConnectorGroup = "DeleteVoiceConnectorGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVoiceConnectorGroupRequest method. +// req, resp := client.DeleteVoiceConnectorGroupRequest(params) // -// // Example sending a request using the DeleteVoiceConnectorGroupRequest method. -// req, resp := client.DeleteVoiceConnectorGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorGroup func (c *Chime) DeleteVoiceConnectorGroupRequest(input *DeleteVoiceConnectorGroupInput) (req *request.Request, output *DeleteVoiceConnectorGroupOutput) { @@ -6026,30 +6025,31 @@ func (c *Chime) DeleteVoiceConnectorGroupRequest(input *DeleteVoiceConnectorGrou // API operation DeleteVoiceConnectorGroup for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorGroup func (c *Chime) DeleteVoiceConnectorGroup(input *DeleteVoiceConnectorGroupInput) (*DeleteVoiceConnectorGroupOutput, error) { @@ -6089,14 +6089,13 @@ const opDeleteVoiceConnectorOrigination = "DeleteVoiceConnectorOrigination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVoiceConnectorOriginationRequest method. +// req, resp := client.DeleteVoiceConnectorOriginationRequest(params) // -// // Example sending a request using the DeleteVoiceConnectorOriginationRequest method. -// req, resp := client.DeleteVoiceConnectorOriginationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorOrigination func (c *Chime) DeleteVoiceConnectorOriginationRequest(input *DeleteVoiceConnectorOriginationInput) (req *request.Request, output *DeleteVoiceConnectorOriginationOutput) { @@ -6131,26 +6130,27 @@ func (c *Chime) DeleteVoiceConnectorOriginationRequest(input *DeleteVoiceConnect // API operation DeleteVoiceConnectorOrigination for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorOrigination func (c *Chime) DeleteVoiceConnectorOrigination(input *DeleteVoiceConnectorOriginationInput) (*DeleteVoiceConnectorOriginationOutput, error) { @@ -6190,14 +6190,13 @@ const opDeleteVoiceConnectorProxy = "DeleteVoiceConnectorProxy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVoiceConnectorProxyRequest method. +// req, resp := client.DeleteVoiceConnectorProxyRequest(params) // -// // Example sending a request using the DeleteVoiceConnectorProxyRequest method. -// req, resp := client.DeleteVoiceConnectorProxyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorProxy func (c *Chime) DeleteVoiceConnectorProxyRequest(input *DeleteVoiceConnectorProxyInput) (req *request.Request, output *DeleteVoiceConnectorProxyOutput) { @@ -6229,26 +6228,27 @@ func (c *Chime) DeleteVoiceConnectorProxyRequest(input *DeleteVoiceConnectorProx // API operation DeleteVoiceConnectorProxy for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorProxy func (c *Chime) DeleteVoiceConnectorProxy(input *DeleteVoiceConnectorProxyInput) (*DeleteVoiceConnectorProxyOutput, error) { @@ -6288,14 +6288,13 @@ const opDeleteVoiceConnectorStreamingConfiguration = "DeleteVoiceConnectorStream // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVoiceConnectorStreamingConfigurationRequest method. +// req, resp := client.DeleteVoiceConnectorStreamingConfigurationRequest(params) // -// // Example sending a request using the DeleteVoiceConnectorStreamingConfigurationRequest method. -// req, resp := client.DeleteVoiceConnectorStreamingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorStreamingConfiguration func (c *Chime) DeleteVoiceConnectorStreamingConfigurationRequest(input *DeleteVoiceConnectorStreamingConfigurationInput) (req *request.Request, output *DeleteVoiceConnectorStreamingConfigurationOutput) { @@ -6328,26 +6327,27 @@ func (c *Chime) DeleteVoiceConnectorStreamingConfigurationRequest(input *DeleteV // API operation DeleteVoiceConnectorStreamingConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorStreamingConfiguration func (c *Chime) DeleteVoiceConnectorStreamingConfiguration(input *DeleteVoiceConnectorStreamingConfigurationInput) (*DeleteVoiceConnectorStreamingConfigurationOutput, error) { @@ -6387,14 +6387,13 @@ const opDeleteVoiceConnectorTermination = "DeleteVoiceConnectorTermination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVoiceConnectorTerminationRequest method. +// req, resp := client.DeleteVoiceConnectorTerminationRequest(params) // -// // Example sending a request using the DeleteVoiceConnectorTerminationRequest method. -// req, resp := client.DeleteVoiceConnectorTerminationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTermination func (c *Chime) DeleteVoiceConnectorTerminationRequest(input *DeleteVoiceConnectorTerminationInput) (req *request.Request, output *DeleteVoiceConnectorTerminationOutput) { @@ -6429,26 +6428,27 @@ func (c *Chime) DeleteVoiceConnectorTerminationRequest(input *DeleteVoiceConnect // API operation DeleteVoiceConnectorTermination for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTermination func (c *Chime) DeleteVoiceConnectorTermination(input *DeleteVoiceConnectorTerminationInput) (*DeleteVoiceConnectorTerminationOutput, error) { @@ -6488,14 +6488,13 @@ const opDeleteVoiceConnectorTerminationCredentials = "DeleteVoiceConnectorTermin // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVoiceConnectorTerminationCredentialsRequest method. +// req, resp := client.DeleteVoiceConnectorTerminationCredentialsRequest(params) // -// // Example sending a request using the DeleteVoiceConnectorTerminationCredentialsRequest method. -// req, resp := client.DeleteVoiceConnectorTerminationCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTerminationCredentials func (c *Chime) DeleteVoiceConnectorTerminationCredentialsRequest(input *DeleteVoiceConnectorTerminationCredentialsInput) (req *request.Request, output *DeleteVoiceConnectorTerminationCredentialsOutput) { @@ -6528,26 +6527,27 @@ func (c *Chime) DeleteVoiceConnectorTerminationCredentialsRequest(input *DeleteV // API operation DeleteVoiceConnectorTerminationCredentials for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DeleteVoiceConnectorTerminationCredentials func (c *Chime) DeleteVoiceConnectorTerminationCredentials(input *DeleteVoiceConnectorTerminationCredentialsInput) (*DeleteVoiceConnectorTerminationCredentialsOutput, error) { @@ -6587,14 +6587,13 @@ const opDescribeAppInstance = "DescribeAppInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAppInstanceRequest method. +// req, resp := client.DescribeAppInstanceRequest(params) // -// // Example sending a request using the DescribeAppInstanceRequest method. -// req, resp := client.DescribeAppInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstance func (c *Chime) DescribeAppInstanceRequest(input *DescribeAppInstanceInput) (req *request.Request, output *DescribeAppInstanceOutput) { @@ -6627,23 +6626,24 @@ func (c *Chime) DescribeAppInstanceRequest(input *DescribeAppInstanceInput) (req // API operation DescribeAppInstance for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstance func (c *Chime) DescribeAppInstance(input *DescribeAppInstanceInput) (*DescribeAppInstanceOutput, error) { @@ -6683,14 +6683,13 @@ const opDescribeAppInstanceAdmin = "DescribeAppInstanceAdmin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAppInstanceAdminRequest method. +// req, resp := client.DescribeAppInstanceAdminRequest(params) // -// // Example sending a request using the DescribeAppInstanceAdminRequest method. -// req, resp := client.DescribeAppInstanceAdminRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstanceAdmin func (c *Chime) DescribeAppInstanceAdminRequest(input *DescribeAppInstanceAdminInput) (req *request.Request, output *DescribeAppInstanceAdminOutput) { @@ -6723,23 +6722,24 @@ func (c *Chime) DescribeAppInstanceAdminRequest(input *DescribeAppInstanceAdminI // API operation DescribeAppInstanceAdmin for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstanceAdmin func (c *Chime) DescribeAppInstanceAdmin(input *DescribeAppInstanceAdminInput) (*DescribeAppInstanceAdminOutput, error) { @@ -6779,14 +6779,13 @@ const opDescribeAppInstanceUser = "DescribeAppInstanceUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAppInstanceUserRequest method. +// req, resp := client.DescribeAppInstanceUserRequest(params) // -// // Example sending a request using the DescribeAppInstanceUserRequest method. -// req, resp := client.DescribeAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstanceUser func (c *Chime) DescribeAppInstanceUserRequest(input *DescribeAppInstanceUserInput) (req *request.Request, output *DescribeAppInstanceUserOutput) { @@ -6819,23 +6818,24 @@ func (c *Chime) DescribeAppInstanceUserRequest(input *DescribeAppInstanceUserInp // API operation DescribeAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeAppInstanceUser func (c *Chime) DescribeAppInstanceUser(input *DescribeAppInstanceUserInput) (*DescribeAppInstanceUserOutput, error) { @@ -6875,14 +6875,13 @@ const opDescribeChannel = "DescribeChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelRequest method. +// req, resp := client.DescribeChannelRequest(params) // -// // Example sending a request using the DescribeChannelRequest method. -// req, resp := client.DescribeChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannel func (c *Chime) DescribeChannelRequest(input *DescribeChannelInput) (req *request.Request, output *DescribeChannelOutput) { @@ -6918,23 +6917,24 @@ func (c *Chime) DescribeChannelRequest(input *DescribeChannelInput) (req *reques // API operation DescribeChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannel func (c *Chime) DescribeChannel(input *DescribeChannelInput) (*DescribeChannelOutput, error) { @@ -6974,14 +6974,13 @@ const opDescribeChannelBan = "DescribeChannelBan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelBanRequest method. +// req, resp := client.DescribeChannelBanRequest(params) // -// // Example sending a request using the DescribeChannelBanRequest method. -// req, resp := client.DescribeChannelBanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelBan func (c *Chime) DescribeChannelBanRequest(input *DescribeChannelBanInput) (req *request.Request, output *DescribeChannelBanOutput) { @@ -7017,26 +7016,27 @@ func (c *Chime) DescribeChannelBanRequest(input *DescribeChannelBanInput) (req * // API operation DescribeChannelBan for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelBan func (c *Chime) DescribeChannelBan(input *DescribeChannelBanInput) (*DescribeChannelBanOutput, error) { @@ -7076,14 +7076,13 @@ const opDescribeChannelMembership = "DescribeChannelMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelMembershipRequest method. +// req, resp := client.DescribeChannelMembershipRequest(params) // -// // Example sending a request using the DescribeChannelMembershipRequest method. -// req, resp := client.DescribeChannelMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelMembership func (c *Chime) DescribeChannelMembershipRequest(input *DescribeChannelMembershipInput) (req *request.Request, output *DescribeChannelMembershipOutput) { @@ -7119,26 +7118,27 @@ func (c *Chime) DescribeChannelMembershipRequest(input *DescribeChannelMembershi // API operation DescribeChannelMembership for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelMembership func (c *Chime) DescribeChannelMembership(input *DescribeChannelMembershipInput) (*DescribeChannelMembershipOutput, error) { @@ -7178,14 +7178,13 @@ const opDescribeChannelMembershipForAppInstanceUser = "DescribeChannelMembership // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelMembershipForAppInstanceUserRequest method. +// req, resp := client.DescribeChannelMembershipForAppInstanceUserRequest(params) // -// // Example sending a request using the DescribeChannelMembershipForAppInstanceUserRequest method. -// req, resp := client.DescribeChannelMembershipForAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelMembershipForAppInstanceUser func (c *Chime) DescribeChannelMembershipForAppInstanceUserRequest(input *DescribeChannelMembershipForAppInstanceUserInput) (req *request.Request, output *DescribeChannelMembershipForAppInstanceUserOutput) { @@ -7222,23 +7221,24 @@ func (c *Chime) DescribeChannelMembershipForAppInstanceUserRequest(input *Descri // API operation DescribeChannelMembershipForAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelMembershipForAppInstanceUser func (c *Chime) DescribeChannelMembershipForAppInstanceUser(input *DescribeChannelMembershipForAppInstanceUserInput) (*DescribeChannelMembershipForAppInstanceUserOutput, error) { @@ -7278,14 +7278,13 @@ const opDescribeChannelModeratedByAppInstanceUser = "DescribeChannelModeratedByA // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelModeratedByAppInstanceUserRequest method. +// req, resp := client.DescribeChannelModeratedByAppInstanceUserRequest(params) // -// // Example sending a request using the DescribeChannelModeratedByAppInstanceUserRequest method. -// req, resp := client.DescribeChannelModeratedByAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelModeratedByAppInstanceUser func (c *Chime) DescribeChannelModeratedByAppInstanceUserRequest(input *DescribeChannelModeratedByAppInstanceUserInput) (req *request.Request, output *DescribeChannelModeratedByAppInstanceUserOutput) { @@ -7321,23 +7320,24 @@ func (c *Chime) DescribeChannelModeratedByAppInstanceUserRequest(input *Describe // API operation DescribeChannelModeratedByAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelModeratedByAppInstanceUser func (c *Chime) DescribeChannelModeratedByAppInstanceUser(input *DescribeChannelModeratedByAppInstanceUserInput) (*DescribeChannelModeratedByAppInstanceUserOutput, error) { @@ -7377,14 +7377,13 @@ const opDescribeChannelModerator = "DescribeChannelModerator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelModeratorRequest method. +// req, resp := client.DescribeChannelModeratorRequest(params) // -// // Example sending a request using the DescribeChannelModeratorRequest method. -// req, resp := client.DescribeChannelModeratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelModerator func (c *Chime) DescribeChannelModeratorRequest(input *DescribeChannelModeratorInput) (req *request.Request, output *DescribeChannelModeratorOutput) { @@ -7420,26 +7419,27 @@ func (c *Chime) DescribeChannelModeratorRequest(input *DescribeChannelModeratorI // API operation DescribeChannelModerator for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DescribeChannelModerator func (c *Chime) DescribeChannelModerator(input *DescribeChannelModeratorInput) (*DescribeChannelModeratorOutput, error) { @@ -7479,14 +7479,13 @@ const opDisassociatePhoneNumberFromUser = "DisassociatePhoneNumberFromUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociatePhoneNumberFromUserRequest method. +// req, resp := client.DisassociatePhoneNumberFromUserRequest(params) // -// // Example sending a request using the DisassociatePhoneNumberFromUserRequest method. -// req, resp := client.DisassociatePhoneNumberFromUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumberFromUser func (c *Chime) DisassociatePhoneNumberFromUserRequest(input *DisassociatePhoneNumberFromUserInput) (req *request.Request, output *DisassociatePhoneNumberFromUserOutput) { @@ -7519,26 +7518,27 @@ func (c *Chime) DisassociatePhoneNumberFromUserRequest(input *DisassociatePhoneN // API operation DisassociatePhoneNumberFromUser for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumberFromUser func (c *Chime) DisassociatePhoneNumberFromUser(input *DisassociatePhoneNumberFromUserInput) (*DisassociatePhoneNumberFromUserOutput, error) { @@ -7578,14 +7578,13 @@ const opDisassociatePhoneNumbersFromVoiceConnector = "DisassociatePhoneNumbersFr // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociatePhoneNumbersFromVoiceConnectorRequest method. +// req, resp := client.DisassociatePhoneNumbersFromVoiceConnectorRequest(params) // -// // Example sending a request using the DisassociatePhoneNumbersFromVoiceConnectorRequest method. -// req, resp := client.DisassociatePhoneNumbersFromVoiceConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnector func (c *Chime) DisassociatePhoneNumbersFromVoiceConnectorRequest(input *DisassociatePhoneNumbersFromVoiceConnectorInput) (req *request.Request, output *DisassociatePhoneNumbersFromVoiceConnectorOutput) { @@ -7617,26 +7616,27 @@ func (c *Chime) DisassociatePhoneNumbersFromVoiceConnectorRequest(input *Disasso // API operation DisassociatePhoneNumbersFromVoiceConnector for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnector func (c *Chime) DisassociatePhoneNumbersFromVoiceConnector(input *DisassociatePhoneNumbersFromVoiceConnectorInput) (*DisassociatePhoneNumbersFromVoiceConnectorOutput, error) { @@ -7676,14 +7676,13 @@ const opDisassociatePhoneNumbersFromVoiceConnectorGroup = "DisassociatePhoneNumb // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociatePhoneNumbersFromVoiceConnectorGroupRequest method. +// req, resp := client.DisassociatePhoneNumbersFromVoiceConnectorGroupRequest(params) // -// // Example sending a request using the DisassociatePhoneNumbersFromVoiceConnectorGroupRequest method. -// req, resp := client.DisassociatePhoneNumbersFromVoiceConnectorGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnectorGroup func (c *Chime) DisassociatePhoneNumbersFromVoiceConnectorGroupRequest(input *DisassociatePhoneNumbersFromVoiceConnectorGroupInput) (req *request.Request, output *DisassociatePhoneNumbersFromVoiceConnectorGroupOutput) { @@ -7715,26 +7714,27 @@ func (c *Chime) DisassociatePhoneNumbersFromVoiceConnectorGroupRequest(input *Di // API operation DisassociatePhoneNumbersFromVoiceConnectorGroup for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociatePhoneNumbersFromVoiceConnectorGroup func (c *Chime) DisassociatePhoneNumbersFromVoiceConnectorGroup(input *DisassociatePhoneNumbersFromVoiceConnectorGroupInput) (*DisassociatePhoneNumbersFromVoiceConnectorGroupOutput, error) { @@ -7774,14 +7774,13 @@ const opDisassociateSigninDelegateGroupsFromAccount = "DisassociateSigninDelegat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateSigninDelegateGroupsFromAccountRequest method. +// req, resp := client.DisassociateSigninDelegateGroupsFromAccountRequest(params) // -// // Example sending a request using the DisassociateSigninDelegateGroupsFromAccountRequest method. -// req, resp := client.DisassociateSigninDelegateGroupsFromAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociateSigninDelegateGroupsFromAccount func (c *Chime) DisassociateSigninDelegateGroupsFromAccountRequest(input *DisassociateSigninDelegateGroupsFromAccountInput) (req *request.Request, output *DisassociateSigninDelegateGroupsFromAccountOutput) { @@ -7814,26 +7813,27 @@ func (c *Chime) DisassociateSigninDelegateGroupsFromAccountRequest(input *Disass // API operation DisassociateSigninDelegateGroupsFromAccount for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/DisassociateSigninDelegateGroupsFromAccount func (c *Chime) DisassociateSigninDelegateGroupsFromAccount(input *DisassociateSigninDelegateGroupsFromAccountInput) (*DisassociateSigninDelegateGroupsFromAccountOutput, error) { @@ -7873,14 +7873,13 @@ const opGetAccount = "GetAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountRequest method. +// req, resp := client.GetAccountRequest(params) // -// // Example sending a request using the GetAccountRequest method. -// req, resp := client.GetAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccount func (c *Chime) GetAccountRequest(input *GetAccountInput) (req *request.Request, output *GetAccountOutput) { @@ -7912,26 +7911,27 @@ func (c *Chime) GetAccountRequest(input *GetAccountInput) (req *request.Request, // API operation GetAccount for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccount func (c *Chime) GetAccount(input *GetAccountInput) (*GetAccountOutput, error) { @@ -7971,14 +7971,13 @@ const opGetAccountSettings = "GetAccountSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountSettingsRequest method. +// req, resp := client.GetAccountSettingsRequest(params) // -// // Example sending a request using the GetAccountSettingsRequest method. -// req, resp := client.GetAccountSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccountSettings func (c *Chime) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req *request.Request, output *GetAccountSettingsOutput) { @@ -8012,26 +8011,27 @@ func (c *Chime) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req * // API operation GetAccountSettings for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAccountSettings func (c *Chime) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error) { @@ -8071,14 +8071,13 @@ const opGetAppInstanceRetentionSettings = "GetAppInstanceRetentionSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAppInstanceRetentionSettingsRequest method. +// req, resp := client.GetAppInstanceRetentionSettingsRequest(params) // -// // Example sending a request using the GetAppInstanceRetentionSettingsRequest method. -// req, resp := client.GetAppInstanceRetentionSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAppInstanceRetentionSettings func (c *Chime) GetAppInstanceRetentionSettingsRequest(input *GetAppInstanceRetentionSettingsInput) (req *request.Request, output *GetAppInstanceRetentionSettingsOutput) { @@ -8111,26 +8110,27 @@ func (c *Chime) GetAppInstanceRetentionSettingsRequest(input *GetAppInstanceRete // API operation GetAppInstanceRetentionSettings for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAppInstanceRetentionSettings func (c *Chime) GetAppInstanceRetentionSettings(input *GetAppInstanceRetentionSettingsInput) (*GetAppInstanceRetentionSettingsOutput, error) { @@ -8170,14 +8170,13 @@ const opGetAppInstanceStreamingConfigurations = "GetAppInstanceStreamingConfigur // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAppInstanceStreamingConfigurationsRequest method. +// req, resp := client.GetAppInstanceStreamingConfigurationsRequest(params) // -// // Example sending a request using the GetAppInstanceStreamingConfigurationsRequest method. -// req, resp := client.GetAppInstanceStreamingConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAppInstanceStreamingConfigurations func (c *Chime) GetAppInstanceStreamingConfigurationsRequest(input *GetAppInstanceStreamingConfigurationsInput) (req *request.Request, output *GetAppInstanceStreamingConfigurationsOutput) { @@ -8208,26 +8207,27 @@ func (c *Chime) GetAppInstanceStreamingConfigurationsRequest(input *GetAppInstan // API operation GetAppInstanceStreamingConfigurations for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAppInstanceStreamingConfigurations func (c *Chime) GetAppInstanceStreamingConfigurations(input *GetAppInstanceStreamingConfigurationsInput) (*GetAppInstanceStreamingConfigurationsOutput, error) { @@ -8267,14 +8267,13 @@ const opGetAttendee = "GetAttendee" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAttendeeRequest method. +// req, resp := client.GetAttendeeRequest(params) // -// // Example sending a request using the GetAttendeeRequest method. -// req, resp := client.GetAttendeeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAttendee func (c *Chime) GetAttendeeRequest(input *GetAttendeeInput) (req *request.Request, output *GetAttendeeOutput) { @@ -8308,26 +8307,27 @@ func (c *Chime) GetAttendeeRequest(input *GetAttendeeInput) (req *request.Reques // API operation GetAttendee for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetAttendee func (c *Chime) GetAttendee(input *GetAttendeeInput) (*GetAttendeeOutput, error) { @@ -8367,14 +8367,13 @@ const opGetBot = "GetBot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBotRequest method. +// req, resp := client.GetBotRequest(params) // -// // Example sending a request using the GetBotRequest method. -// req, resp := client.GetBotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetBot func (c *Chime) GetBotRequest(input *GetBotInput) (req *request.Request, output *GetBotOutput) { @@ -8406,26 +8405,27 @@ func (c *Chime) GetBotRequest(input *GetBotInput) (req *request.Request, output // API operation GetBot for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetBot func (c *Chime) GetBot(input *GetBotInput) (*GetBotOutput, error) { @@ -8465,14 +8465,13 @@ const opGetChannelMessage = "GetChannelMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetChannelMessageRequest method. +// req, resp := client.GetChannelMessageRequest(params) // -// // Example sending a request using the GetChannelMessageRequest method. -// req, resp := client.GetChannelMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetChannelMessage func (c *Chime) GetChannelMessageRequest(input *GetChannelMessageInput) (req *request.Request, output *GetChannelMessageOutput) { @@ -8508,26 +8507,27 @@ func (c *Chime) GetChannelMessageRequest(input *GetChannelMessageInput) (req *re // API operation GetChannelMessage for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetChannelMessage func (c *Chime) GetChannelMessage(input *GetChannelMessageInput) (*GetChannelMessageOutput, error) { @@ -8567,14 +8567,13 @@ const opGetEventsConfiguration = "GetEventsConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEventsConfigurationRequest method. +// req, resp := client.GetEventsConfigurationRequest(params) // -// // Example sending a request using the GetEventsConfigurationRequest method. -// req, resp := client.GetEventsConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetEventsConfiguration func (c *Chime) GetEventsConfigurationRequest(input *GetEventsConfigurationInput) (req *request.Request, output *GetEventsConfigurationOutput) { @@ -8606,26 +8605,27 @@ func (c *Chime) GetEventsConfigurationRequest(input *GetEventsConfigurationInput // API operation GetEventsConfiguration for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ServiceFailureException +// The service encountered an unexpected error. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ResourceLimitExceededException +// The request exceeds the resource limit. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetEventsConfiguration func (c *Chime) GetEventsConfiguration(input *GetEventsConfigurationInput) (*GetEventsConfigurationOutput, error) { @@ -8665,14 +8665,13 @@ const opGetGlobalSettings = "GetGlobalSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGlobalSettingsRequest method. +// req, resp := client.GetGlobalSettingsRequest(params) // -// // Example sending a request using the GetGlobalSettingsRequest method. -// req, resp := client.GetGlobalSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetGlobalSettings func (c *Chime) GetGlobalSettingsRequest(input *GetGlobalSettingsInput) (req *request.Request, output *GetGlobalSettingsOutput) { @@ -8704,23 +8703,24 @@ func (c *Chime) GetGlobalSettingsRequest(input *GetGlobalSettingsInput) (req *re // API operation GetGlobalSettings for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetGlobalSettings func (c *Chime) GetGlobalSettings(input *GetGlobalSettingsInput) (*GetGlobalSettingsOutput, error) { @@ -8760,14 +8760,13 @@ const opGetMediaCapturePipeline = "GetMediaCapturePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMediaCapturePipelineRequest method. +// req, resp := client.GetMediaCapturePipelineRequest(params) // -// // Example sending a request using the GetMediaCapturePipelineRequest method. -// req, resp := client.GetMediaCapturePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMediaCapturePipeline func (c *Chime) GetMediaCapturePipelineRequest(input *GetMediaCapturePipelineInput) (req *request.Request, output *GetMediaCapturePipelineOutput) { @@ -8798,26 +8797,27 @@ func (c *Chime) GetMediaCapturePipelineRequest(input *GetMediaCapturePipelineInp // API operation GetMediaCapturePipeline for usage and error information. // // Returned Error Types: -// * NotFoundException -// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMediaCapturePipeline func (c *Chime) GetMediaCapturePipeline(input *GetMediaCapturePipelineInput) (*GetMediaCapturePipelineOutput, error) { @@ -8857,14 +8857,13 @@ const opGetMeeting = "GetMeeting" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMeetingRequest method. +// req, resp := client.GetMeetingRequest(params) // -// // Example sending a request using the GetMeetingRequest method. -// req, resp := client.GetMeetingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMeeting func (c *Chime) GetMeetingRequest(input *GetMeetingInput) (req *request.Request, output *GetMeetingOutput) { @@ -8898,26 +8897,27 @@ func (c *Chime) GetMeetingRequest(input *GetMeetingInput) (req *request.Request, // API operation GetMeeting for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMeeting func (c *Chime) GetMeeting(input *GetMeetingInput) (*GetMeetingOutput, error) { @@ -8957,14 +8957,13 @@ const opGetMessagingSessionEndpoint = "GetMessagingSessionEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMessagingSessionEndpointRequest method. +// req, resp := client.GetMessagingSessionEndpointRequest(params) // -// // Example sending a request using the GetMessagingSessionEndpointRequest method. -// req, resp := client.GetMessagingSessionEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMessagingSessionEndpoint func (c *Chime) GetMessagingSessionEndpointRequest(input *GetMessagingSessionEndpointInput) (req *request.Request, output *GetMessagingSessionEndpointOutput) { @@ -8997,20 +8996,21 @@ func (c *Chime) GetMessagingSessionEndpointRequest(input *GetMessagingSessionEnd // API operation GetMessagingSessionEndpoint for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetMessagingSessionEndpoint func (c *Chime) GetMessagingSessionEndpoint(input *GetMessagingSessionEndpointInput) (*GetMessagingSessionEndpointOutput, error) { @@ -9050,14 +9050,13 @@ const opGetPhoneNumber = "GetPhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPhoneNumberRequest method. +// req, resp := client.GetPhoneNumberRequest(params) // -// // Example sending a request using the GetPhoneNumberRequest method. -// req, resp := client.GetPhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumber func (c *Chime) GetPhoneNumberRequest(input *GetPhoneNumberInput) (req *request.Request, output *GetPhoneNumberOutput) { @@ -9089,26 +9088,27 @@ func (c *Chime) GetPhoneNumberRequest(input *GetPhoneNumberInput) (req *request. // API operation GetPhoneNumber for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumber func (c *Chime) GetPhoneNumber(input *GetPhoneNumberInput) (*GetPhoneNumberOutput, error) { @@ -9148,14 +9148,13 @@ const opGetPhoneNumberOrder = "GetPhoneNumberOrder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPhoneNumberOrderRequest method. +// req, resp := client.GetPhoneNumberOrderRequest(params) // -// // Example sending a request using the GetPhoneNumberOrderRequest method. -// req, resp := client.GetPhoneNumberOrderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumberOrder func (c *Chime) GetPhoneNumberOrderRequest(input *GetPhoneNumberOrderInput) (req *request.Request, output *GetPhoneNumberOrderOutput) { @@ -9188,26 +9187,27 @@ func (c *Chime) GetPhoneNumberOrderRequest(input *GetPhoneNumberOrderInput) (req // API operation GetPhoneNumberOrder for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumberOrder func (c *Chime) GetPhoneNumberOrder(input *GetPhoneNumberOrderInput) (*GetPhoneNumberOrderOutput, error) { @@ -9247,14 +9247,13 @@ const opGetPhoneNumberSettings = "GetPhoneNumberSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPhoneNumberSettingsRequest method. +// req, resp := client.GetPhoneNumberSettingsRequest(params) // -// // Example sending a request using the GetPhoneNumberSettingsRequest method. -// req, resp := client.GetPhoneNumberSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumberSettings func (c *Chime) GetPhoneNumberSettingsRequest(input *GetPhoneNumberSettingsInput) (req *request.Request, output *GetPhoneNumberSettingsOutput) { @@ -9286,23 +9285,24 @@ func (c *Chime) GetPhoneNumberSettingsRequest(input *GetPhoneNumberSettingsInput // API operation GetPhoneNumberSettings for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetPhoneNumberSettings func (c *Chime) GetPhoneNumberSettings(input *GetPhoneNumberSettingsInput) (*GetPhoneNumberSettingsOutput, error) { @@ -9342,14 +9342,13 @@ const opGetProxySession = "GetProxySession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetProxySessionRequest method. +// req, resp := client.GetProxySessionRequest(params) // -// // Example sending a request using the GetProxySessionRequest method. -// req, resp := client.GetProxySessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetProxySession func (c *Chime) GetProxySessionRequest(input *GetProxySessionInput) (req *request.Request, output *GetProxySessionOutput) { @@ -9381,26 +9380,27 @@ func (c *Chime) GetProxySessionRequest(input *GetProxySessionInput) (req *reques // API operation GetProxySession for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetProxySession func (c *Chime) GetProxySession(input *GetProxySessionInput) (*GetProxySessionOutput, error) { @@ -9440,14 +9440,13 @@ const opGetRetentionSettings = "GetRetentionSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRetentionSettingsRequest method. +// req, resp := client.GetRetentionSettingsRequest(params) // -// // Example sending a request using the GetRetentionSettingsRequest method. -// req, resp := client.GetRetentionSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRetentionSettings func (c *Chime) GetRetentionSettingsRequest(input *GetRetentionSettingsInput) (req *request.Request, output *GetRetentionSettingsOutput) { @@ -9481,26 +9480,27 @@ func (c *Chime) GetRetentionSettingsRequest(input *GetRetentionSettingsInput) (r // API operation GetRetentionSettings for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRetentionSettings func (c *Chime) GetRetentionSettings(input *GetRetentionSettingsInput) (*GetRetentionSettingsOutput, error) { @@ -9540,14 +9540,13 @@ const opGetRoom = "GetRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRoomRequest method. +// req, resp := client.GetRoomRequest(params) // -// // Example sending a request using the GetRoomRequest method. -// req, resp := client.GetRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRoom func (c *Chime) GetRoomRequest(input *GetRoomInput) (req *request.Request, output *GetRoomOutput) { @@ -9579,26 +9578,27 @@ func (c *Chime) GetRoomRequest(input *GetRoomInput) (req *request.Request, outpu // API operation GetRoom for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetRoom func (c *Chime) GetRoom(input *GetRoomInput) (*GetRoomOutput, error) { @@ -9638,14 +9638,13 @@ const opGetSipMediaApplication = "GetSipMediaApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSipMediaApplicationRequest method. +// req, resp := client.GetSipMediaApplicationRequest(params) // -// // Example sending a request using the GetSipMediaApplicationRequest method. -// req, resp := client.GetSipMediaApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipMediaApplication func (c *Chime) GetSipMediaApplicationRequest(input *GetSipMediaApplicationInput) (req *request.Request, output *GetSipMediaApplicationOutput) { @@ -9677,26 +9676,27 @@ func (c *Chime) GetSipMediaApplicationRequest(input *GetSipMediaApplicationInput // API operation GetSipMediaApplication for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipMediaApplication func (c *Chime) GetSipMediaApplication(input *GetSipMediaApplicationInput) (*GetSipMediaApplicationOutput, error) { @@ -9736,14 +9736,13 @@ const opGetSipMediaApplicationLoggingConfiguration = "GetSipMediaApplicationLogg // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSipMediaApplicationLoggingConfigurationRequest method. +// req, resp := client.GetSipMediaApplicationLoggingConfigurationRequest(params) // -// // Example sending a request using the GetSipMediaApplicationLoggingConfigurationRequest method. -// req, resp := client.GetSipMediaApplicationLoggingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipMediaApplicationLoggingConfiguration func (c *Chime) GetSipMediaApplicationLoggingConfigurationRequest(input *GetSipMediaApplicationLoggingConfigurationInput) (req *request.Request, output *GetSipMediaApplicationLoggingConfigurationOutput) { @@ -9774,26 +9773,27 @@ func (c *Chime) GetSipMediaApplicationLoggingConfigurationRequest(input *GetSipM // API operation GetSipMediaApplicationLoggingConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipMediaApplicationLoggingConfiguration func (c *Chime) GetSipMediaApplicationLoggingConfiguration(input *GetSipMediaApplicationLoggingConfigurationInput) (*GetSipMediaApplicationLoggingConfigurationOutput, error) { @@ -9833,14 +9833,13 @@ const opGetSipRule = "GetSipRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSipRuleRequest method. +// req, resp := client.GetSipRuleRequest(params) // -// // Example sending a request using the GetSipRuleRequest method. -// req, resp := client.GetSipRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipRule func (c *Chime) GetSipRuleRequest(input *GetSipRuleInput) (req *request.Request, output *GetSipRuleOutput) { @@ -9872,26 +9871,27 @@ func (c *Chime) GetSipRuleRequest(input *GetSipRuleInput) (req *request.Request, // API operation GetSipRule for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetSipRule func (c *Chime) GetSipRule(input *GetSipRuleInput) (*GetSipRuleOutput, error) { @@ -9931,14 +9931,13 @@ const opGetUser = "GetUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUserRequest method. +// req, resp := client.GetUserRequest(params) // -// // Example sending a request using the GetUserRequest method. -// req, resp := client.GetUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetUser func (c *Chime) GetUserRequest(input *GetUserInput) (req *request.Request, output *GetUserOutput) { @@ -9973,26 +9972,27 @@ func (c *Chime) GetUserRequest(input *GetUserInput) (req *request.Request, outpu // API operation GetUser for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetUser func (c *Chime) GetUser(input *GetUserInput) (*GetUserOutput, error) { @@ -10032,14 +10032,13 @@ const opGetUserSettings = "GetUserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUserSettingsRequest method. +// req, resp := client.GetUserSettingsRequest(params) // -// // Example sending a request using the GetUserSettingsRequest method. -// req, resp := client.GetUserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetUserSettings func (c *Chime) GetUserSettingsRequest(input *GetUserSettingsInput) (req *request.Request, output *GetUserSettingsOutput) { @@ -10071,26 +10070,27 @@ func (c *Chime) GetUserSettingsRequest(input *GetUserSettingsInput) (req *reques // API operation GetUserSettings for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetUserSettings func (c *Chime) GetUserSettings(input *GetUserSettingsInput) (*GetUserSettingsOutput, error) { @@ -10130,14 +10130,13 @@ const opGetVoiceConnector = "GetVoiceConnector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVoiceConnectorRequest method. +// req, resp := client.GetVoiceConnectorRequest(params) // -// // Example sending a request using the GetVoiceConnectorRequest method. -// req, resp := client.GetVoiceConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnector func (c *Chime) GetVoiceConnectorRequest(input *GetVoiceConnectorInput) (req *request.Request, output *GetVoiceConnectorOutput) { @@ -10169,26 +10168,27 @@ func (c *Chime) GetVoiceConnectorRequest(input *GetVoiceConnectorInput) (req *re // API operation GetVoiceConnector for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnector func (c *Chime) GetVoiceConnector(input *GetVoiceConnectorInput) (*GetVoiceConnectorOutput, error) { @@ -10228,14 +10228,13 @@ const opGetVoiceConnectorEmergencyCallingConfiguration = "GetVoiceConnectorEmerg // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVoiceConnectorEmergencyCallingConfigurationRequest method. +// req, resp := client.GetVoiceConnectorEmergencyCallingConfigurationRequest(params) // -// // Example sending a request using the GetVoiceConnectorEmergencyCallingConfigurationRequest method. -// req, resp := client.GetVoiceConnectorEmergencyCallingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorEmergencyCallingConfiguration func (c *Chime) GetVoiceConnectorEmergencyCallingConfigurationRequest(input *GetVoiceConnectorEmergencyCallingConfigurationInput) (req *request.Request, output *GetVoiceConnectorEmergencyCallingConfigurationOutput) { @@ -10267,26 +10266,27 @@ func (c *Chime) GetVoiceConnectorEmergencyCallingConfigurationRequest(input *Get // API operation GetVoiceConnectorEmergencyCallingConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorEmergencyCallingConfiguration func (c *Chime) GetVoiceConnectorEmergencyCallingConfiguration(input *GetVoiceConnectorEmergencyCallingConfigurationInput) (*GetVoiceConnectorEmergencyCallingConfigurationOutput, error) { @@ -10326,14 +10326,13 @@ const opGetVoiceConnectorGroup = "GetVoiceConnectorGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVoiceConnectorGroupRequest method. +// req, resp := client.GetVoiceConnectorGroupRequest(params) // -// // Example sending a request using the GetVoiceConnectorGroupRequest method. -// req, resp := client.GetVoiceConnectorGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorGroup func (c *Chime) GetVoiceConnectorGroupRequest(input *GetVoiceConnectorGroupInput) (req *request.Request, output *GetVoiceConnectorGroupOutput) { @@ -10365,26 +10364,27 @@ func (c *Chime) GetVoiceConnectorGroupRequest(input *GetVoiceConnectorGroupInput // API operation GetVoiceConnectorGroup for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorGroup func (c *Chime) GetVoiceConnectorGroup(input *GetVoiceConnectorGroupInput) (*GetVoiceConnectorGroupOutput, error) { @@ -10424,14 +10424,13 @@ const opGetVoiceConnectorLoggingConfiguration = "GetVoiceConnectorLoggingConfigu // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVoiceConnectorLoggingConfigurationRequest method. +// req, resp := client.GetVoiceConnectorLoggingConfigurationRequest(params) // -// // Example sending a request using the GetVoiceConnectorLoggingConfigurationRequest method. -// req, resp := client.GetVoiceConnectorLoggingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorLoggingConfiguration func (c *Chime) GetVoiceConnectorLoggingConfigurationRequest(input *GetVoiceConnectorLoggingConfigurationInput) (req *request.Request, output *GetVoiceConnectorLoggingConfigurationOutput) { @@ -10464,26 +10463,27 @@ func (c *Chime) GetVoiceConnectorLoggingConfigurationRequest(input *GetVoiceConn // API operation GetVoiceConnectorLoggingConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorLoggingConfiguration func (c *Chime) GetVoiceConnectorLoggingConfiguration(input *GetVoiceConnectorLoggingConfigurationInput) (*GetVoiceConnectorLoggingConfigurationOutput, error) { @@ -10523,14 +10523,13 @@ const opGetVoiceConnectorOrigination = "GetVoiceConnectorOrigination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVoiceConnectorOriginationRequest method. +// req, resp := client.GetVoiceConnectorOriginationRequest(params) // -// // Example sending a request using the GetVoiceConnectorOriginationRequest method. -// req, resp := client.GetVoiceConnectorOriginationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorOrigination func (c *Chime) GetVoiceConnectorOriginationRequest(input *GetVoiceConnectorOriginationInput) (req *request.Request, output *GetVoiceConnectorOriginationOutput) { @@ -10562,26 +10561,27 @@ func (c *Chime) GetVoiceConnectorOriginationRequest(input *GetVoiceConnectorOrig // API operation GetVoiceConnectorOrigination for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorOrigination func (c *Chime) GetVoiceConnectorOrigination(input *GetVoiceConnectorOriginationInput) (*GetVoiceConnectorOriginationOutput, error) { @@ -10621,14 +10621,13 @@ const opGetVoiceConnectorProxy = "GetVoiceConnectorProxy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVoiceConnectorProxyRequest method. +// req, resp := client.GetVoiceConnectorProxyRequest(params) // -// // Example sending a request using the GetVoiceConnectorProxyRequest method. -// req, resp := client.GetVoiceConnectorProxyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorProxy func (c *Chime) GetVoiceConnectorProxyRequest(input *GetVoiceConnectorProxyInput) (req *request.Request, output *GetVoiceConnectorProxyOutput) { @@ -10660,26 +10659,27 @@ func (c *Chime) GetVoiceConnectorProxyRequest(input *GetVoiceConnectorProxyInput // API operation GetVoiceConnectorProxy for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorProxy func (c *Chime) GetVoiceConnectorProxy(input *GetVoiceConnectorProxyInput) (*GetVoiceConnectorProxyOutput, error) { @@ -10719,14 +10719,13 @@ const opGetVoiceConnectorStreamingConfiguration = "GetVoiceConnectorStreamingCon // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVoiceConnectorStreamingConfigurationRequest method. +// req, resp := client.GetVoiceConnectorStreamingConfigurationRequest(params) // -// // Example sending a request using the GetVoiceConnectorStreamingConfigurationRequest method. -// req, resp := client.GetVoiceConnectorStreamingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorStreamingConfiguration func (c *Chime) GetVoiceConnectorStreamingConfigurationRequest(input *GetVoiceConnectorStreamingConfigurationInput) (req *request.Request, output *GetVoiceConnectorStreamingConfigurationOutput) { @@ -10760,26 +10759,27 @@ func (c *Chime) GetVoiceConnectorStreamingConfigurationRequest(input *GetVoiceCo // API operation GetVoiceConnectorStreamingConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorStreamingConfiguration func (c *Chime) GetVoiceConnectorStreamingConfiguration(input *GetVoiceConnectorStreamingConfigurationInput) (*GetVoiceConnectorStreamingConfigurationOutput, error) { @@ -10819,14 +10819,13 @@ const opGetVoiceConnectorTermination = "GetVoiceConnectorTermination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVoiceConnectorTerminationRequest method. +// req, resp := client.GetVoiceConnectorTerminationRequest(params) // -// // Example sending a request using the GetVoiceConnectorTerminationRequest method. -// req, resp := client.GetVoiceConnectorTerminationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorTermination func (c *Chime) GetVoiceConnectorTerminationRequest(input *GetVoiceConnectorTerminationInput) (req *request.Request, output *GetVoiceConnectorTerminationOutput) { @@ -10858,26 +10857,27 @@ func (c *Chime) GetVoiceConnectorTerminationRequest(input *GetVoiceConnectorTerm // API operation GetVoiceConnectorTermination for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorTermination func (c *Chime) GetVoiceConnectorTermination(input *GetVoiceConnectorTerminationInput) (*GetVoiceConnectorTerminationOutput, error) { @@ -10917,14 +10917,13 @@ const opGetVoiceConnectorTerminationHealth = "GetVoiceConnectorTerminationHealth // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVoiceConnectorTerminationHealthRequest method. +// req, resp := client.GetVoiceConnectorTerminationHealthRequest(params) // -// // Example sending a request using the GetVoiceConnectorTerminationHealthRequest method. -// req, resp := client.GetVoiceConnectorTerminationHealthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorTerminationHealth func (c *Chime) GetVoiceConnectorTerminationHealthRequest(input *GetVoiceConnectorTerminationHealthInput) (req *request.Request, output *GetVoiceConnectorTerminationHealthOutput) { @@ -10956,26 +10955,27 @@ func (c *Chime) GetVoiceConnectorTerminationHealthRequest(input *GetVoiceConnect // API operation GetVoiceConnectorTerminationHealth for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/GetVoiceConnectorTerminationHealth func (c *Chime) GetVoiceConnectorTerminationHealth(input *GetVoiceConnectorTerminationHealthInput) (*GetVoiceConnectorTerminationHealthOutput, error) { @@ -11015,14 +11015,13 @@ const opInviteUsers = "InviteUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InviteUsersRequest method. +// req, resp := client.InviteUsersRequest(params) // -// // Example sending a request using the InviteUsersRequest method. -// req, resp := client.InviteUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/InviteUsers func (c *Chime) InviteUsersRequest(input *InviteUsersInput) (req *request.Request, output *InviteUsersOutput) { @@ -11055,26 +11054,27 @@ func (c *Chime) InviteUsersRequest(input *InviteUsersInput) (req *request.Reques // API operation InviteUsers for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/InviteUsers func (c *Chime) InviteUsers(input *InviteUsersInput) (*InviteUsersOutput, error) { @@ -11114,14 +11114,13 @@ const opListAccounts = "ListAccounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccountsRequest method. +// req, resp := client.ListAccountsRequest(params) // -// // Example sending a request using the ListAccountsRequest method. -// req, resp := client.ListAccountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAccounts func (c *Chime) ListAccountsRequest(input *ListAccountsInput) (req *request.Request, output *ListAccountsOutput) { @@ -11161,26 +11160,27 @@ func (c *Chime) ListAccountsRequest(input *ListAccountsInput) (req *request.Requ // API operation ListAccounts for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAccounts func (c *Chime) ListAccounts(input *ListAccountsInput) (*ListAccountsOutput, error) { @@ -11212,15 +11212,14 @@ func (c *Chime) ListAccountsWithContext(ctx aws.Context, input *ListAccountsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccounts operation. -// pageNum := 0 -// err := client.ListAccountsPages(params, -// func(page *chime.ListAccountsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccounts operation. +// pageNum := 0 +// err := client.ListAccountsPages(params, +// func(page *chime.ListAccountsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListAccountsPages(input *ListAccountsInput, fn func(*ListAccountsOutput, bool) bool) error { return c.ListAccountsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11272,14 +11271,13 @@ const opListAppInstanceAdmins = "ListAppInstanceAdmins" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppInstanceAdminsRequest method. +// req, resp := client.ListAppInstanceAdminsRequest(params) // -// // Example sending a request using the ListAppInstanceAdminsRequest method. -// req, resp := client.ListAppInstanceAdminsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstanceAdmins func (c *Chime) ListAppInstanceAdminsRequest(input *ListAppInstanceAdminsInput) (req *request.Request, output *ListAppInstanceAdminsOutput) { @@ -11318,23 +11316,24 @@ func (c *Chime) ListAppInstanceAdminsRequest(input *ListAppInstanceAdminsInput) // API operation ListAppInstanceAdmins for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstanceAdmins func (c *Chime) ListAppInstanceAdmins(input *ListAppInstanceAdminsInput) (*ListAppInstanceAdminsOutput, error) { @@ -11366,15 +11365,14 @@ func (c *Chime) ListAppInstanceAdminsWithContext(ctx aws.Context, input *ListApp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppInstanceAdmins operation. -// pageNum := 0 -// err := client.ListAppInstanceAdminsPages(params, -// func(page *chime.ListAppInstanceAdminsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppInstanceAdmins operation. +// pageNum := 0 +// err := client.ListAppInstanceAdminsPages(params, +// func(page *chime.ListAppInstanceAdminsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListAppInstanceAdminsPages(input *ListAppInstanceAdminsInput, fn func(*ListAppInstanceAdminsOutput, bool) bool) error { return c.ListAppInstanceAdminsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11426,14 +11424,13 @@ const opListAppInstanceUsers = "ListAppInstanceUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppInstanceUsersRequest method. +// req, resp := client.ListAppInstanceUsersRequest(params) // -// // Example sending a request using the ListAppInstanceUsersRequest method. -// req, resp := client.ListAppInstanceUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstanceUsers func (c *Chime) ListAppInstanceUsersRequest(input *ListAppInstanceUsersInput) (req *request.Request, output *ListAppInstanceUsersOutput) { @@ -11472,23 +11469,24 @@ func (c *Chime) ListAppInstanceUsersRequest(input *ListAppInstanceUsersInput) (r // API operation ListAppInstanceUsers for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstanceUsers func (c *Chime) ListAppInstanceUsers(input *ListAppInstanceUsersInput) (*ListAppInstanceUsersOutput, error) { @@ -11520,15 +11518,14 @@ func (c *Chime) ListAppInstanceUsersWithContext(ctx aws.Context, input *ListAppI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppInstanceUsers operation. -// pageNum := 0 -// err := client.ListAppInstanceUsersPages(params, -// func(page *chime.ListAppInstanceUsersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppInstanceUsers operation. +// pageNum := 0 +// err := client.ListAppInstanceUsersPages(params, +// func(page *chime.ListAppInstanceUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListAppInstanceUsersPages(input *ListAppInstanceUsersInput, fn func(*ListAppInstanceUsersOutput, bool) bool) error { return c.ListAppInstanceUsersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11580,14 +11577,13 @@ const opListAppInstances = "ListAppInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppInstancesRequest method. +// req, resp := client.ListAppInstancesRequest(params) // -// // Example sending a request using the ListAppInstancesRequest method. -// req, resp := client.ListAppInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstances func (c *Chime) ListAppInstancesRequest(input *ListAppInstancesInput) (req *request.Request, output *ListAppInstancesOutput) { @@ -11626,23 +11622,24 @@ func (c *Chime) ListAppInstancesRequest(input *ListAppInstancesInput) (req *requ // API operation ListAppInstances for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAppInstances func (c *Chime) ListAppInstances(input *ListAppInstancesInput) (*ListAppInstancesOutput, error) { @@ -11674,15 +11671,14 @@ func (c *Chime) ListAppInstancesWithContext(ctx aws.Context, input *ListAppInsta // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppInstances operation. -// pageNum := 0 -// err := client.ListAppInstancesPages(params, -// func(page *chime.ListAppInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppInstances operation. +// pageNum := 0 +// err := client.ListAppInstancesPages(params, +// func(page *chime.ListAppInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListAppInstancesPages(input *ListAppInstancesInput, fn func(*ListAppInstancesOutput, bool) bool) error { return c.ListAppInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11734,14 +11730,13 @@ const opListAttendeeTags = "ListAttendeeTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAttendeeTagsRequest method. +// req, resp := client.ListAttendeeTagsRequest(params) // -// // Example sending a request using the ListAttendeeTagsRequest method. -// req, resp := client.ListAttendeeTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAttendeeTags func (c *Chime) ListAttendeeTagsRequest(input *ListAttendeeTagsInput) (req *request.Request, output *ListAttendeeTagsOutput) { @@ -11772,26 +11767,27 @@ func (c *Chime) ListAttendeeTagsRequest(input *ListAttendeeTagsInput) (req *requ // API operation ListAttendeeTags for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAttendeeTags func (c *Chime) ListAttendeeTags(input *ListAttendeeTagsInput) (*ListAttendeeTagsOutput, error) { @@ -11831,14 +11827,13 @@ const opListAttendees = "ListAttendees" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAttendeesRequest method. +// req, resp := client.ListAttendeesRequest(params) // -// // Example sending a request using the ListAttendeesRequest method. -// req, resp := client.ListAttendeesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAttendees func (c *Chime) ListAttendeesRequest(input *ListAttendeesInput) (req *request.Request, output *ListAttendeesOutput) { @@ -11877,26 +11872,27 @@ func (c *Chime) ListAttendeesRequest(input *ListAttendeesInput) (req *request.Re // API operation ListAttendees for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListAttendees func (c *Chime) ListAttendees(input *ListAttendeesInput) (*ListAttendeesOutput, error) { @@ -11928,15 +11924,14 @@ func (c *Chime) ListAttendeesWithContext(ctx aws.Context, input *ListAttendeesIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAttendees operation. -// pageNum := 0 -// err := client.ListAttendeesPages(params, -// func(page *chime.ListAttendeesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAttendees operation. +// pageNum := 0 +// err := client.ListAttendeesPages(params, +// func(page *chime.ListAttendeesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListAttendeesPages(input *ListAttendeesInput, fn func(*ListAttendeesOutput, bool) bool) error { return c.ListAttendeesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11988,14 +11983,13 @@ const opListBots = "ListBots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBotsRequest method. +// req, resp := client.ListBotsRequest(params) // -// // Example sending a request using the ListBotsRequest method. -// req, resp := client.ListBotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListBots func (c *Chime) ListBotsRequest(input *ListBotsInput) (req *request.Request, output *ListBotsOutput) { @@ -12033,26 +12027,27 @@ func (c *Chime) ListBotsRequest(input *ListBotsInput) (req *request.Request, out // API operation ListBots for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListBots func (c *Chime) ListBots(input *ListBotsInput) (*ListBotsOutput, error) { @@ -12084,15 +12079,14 @@ func (c *Chime) ListBotsWithContext(ctx aws.Context, input *ListBotsInput, opts // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBots operation. -// pageNum := 0 -// err := client.ListBotsPages(params, -// func(page *chime.ListBotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBots operation. +// pageNum := 0 +// err := client.ListBotsPages(params, +// func(page *chime.ListBotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListBotsPages(input *ListBotsInput, fn func(*ListBotsOutput, bool) bool) error { return c.ListBotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12144,14 +12138,13 @@ const opListChannelBans = "ListChannelBans" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelBansRequest method. +// req, resp := client.ListChannelBansRequest(params) // -// // Example sending a request using the ListChannelBansRequest method. -// req, resp := client.ListChannelBansRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelBans func (c *Chime) ListChannelBansRequest(input *ListChannelBansInput) (req *request.Request, output *ListChannelBansOutput) { @@ -12193,23 +12186,24 @@ func (c *Chime) ListChannelBansRequest(input *ListChannelBansInput) (req *reques // API operation ListChannelBans for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelBans func (c *Chime) ListChannelBans(input *ListChannelBansInput) (*ListChannelBansOutput, error) { @@ -12241,15 +12235,14 @@ func (c *Chime) ListChannelBansWithContext(ctx aws.Context, input *ListChannelBa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannelBans operation. -// pageNum := 0 -// err := client.ListChannelBansPages(params, -// func(page *chime.ListChannelBansOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannelBans operation. +// pageNum := 0 +// err := client.ListChannelBansPages(params, +// func(page *chime.ListChannelBansOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListChannelBansPages(input *ListChannelBansInput, fn func(*ListChannelBansOutput, bool) bool) error { return c.ListChannelBansPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12301,14 +12294,13 @@ const opListChannelMemberships = "ListChannelMemberships" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelMembershipsRequest method. +// req, resp := client.ListChannelMembershipsRequest(params) // -// // Example sending a request using the ListChannelMembershipsRequest method. -// req, resp := client.ListChannelMembershipsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMemberships func (c *Chime) ListChannelMembershipsRequest(input *ListChannelMembershipsInput) (req *request.Request, output *ListChannelMembershipsOutput) { @@ -12350,23 +12342,24 @@ func (c *Chime) ListChannelMembershipsRequest(input *ListChannelMembershipsInput // API operation ListChannelMemberships for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMemberships func (c *Chime) ListChannelMemberships(input *ListChannelMembershipsInput) (*ListChannelMembershipsOutput, error) { @@ -12398,15 +12391,14 @@ func (c *Chime) ListChannelMembershipsWithContext(ctx aws.Context, input *ListCh // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannelMemberships operation. -// pageNum := 0 -// err := client.ListChannelMembershipsPages(params, -// func(page *chime.ListChannelMembershipsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannelMemberships operation. +// pageNum := 0 +// err := client.ListChannelMembershipsPages(params, +// func(page *chime.ListChannelMembershipsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListChannelMembershipsPages(input *ListChannelMembershipsInput, fn func(*ListChannelMembershipsOutput, bool) bool) error { return c.ListChannelMembershipsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12458,14 +12450,13 @@ const opListChannelMembershipsForAppInstanceUser = "ListChannelMembershipsForApp // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelMembershipsForAppInstanceUserRequest method. +// req, resp := client.ListChannelMembershipsForAppInstanceUserRequest(params) // -// // Example sending a request using the ListChannelMembershipsForAppInstanceUserRequest method. -// req, resp := client.ListChannelMembershipsForAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMembershipsForAppInstanceUser func (c *Chime) ListChannelMembershipsForAppInstanceUserRequest(input *ListChannelMembershipsForAppInstanceUserInput) (req *request.Request, output *ListChannelMembershipsForAppInstanceUserOutput) { @@ -12508,23 +12499,24 @@ func (c *Chime) ListChannelMembershipsForAppInstanceUserRequest(input *ListChann // API operation ListChannelMembershipsForAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMembershipsForAppInstanceUser func (c *Chime) ListChannelMembershipsForAppInstanceUser(input *ListChannelMembershipsForAppInstanceUserInput) (*ListChannelMembershipsForAppInstanceUserOutput, error) { @@ -12556,15 +12548,14 @@ func (c *Chime) ListChannelMembershipsForAppInstanceUserWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannelMembershipsForAppInstanceUser operation. -// pageNum := 0 -// err := client.ListChannelMembershipsForAppInstanceUserPages(params, -// func(page *chime.ListChannelMembershipsForAppInstanceUserOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannelMembershipsForAppInstanceUser operation. +// pageNum := 0 +// err := client.ListChannelMembershipsForAppInstanceUserPages(params, +// func(page *chime.ListChannelMembershipsForAppInstanceUserOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListChannelMembershipsForAppInstanceUserPages(input *ListChannelMembershipsForAppInstanceUserInput, fn func(*ListChannelMembershipsForAppInstanceUserOutput, bool) bool) error { return c.ListChannelMembershipsForAppInstanceUserPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12616,14 +12607,13 @@ const opListChannelMessages = "ListChannelMessages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelMessagesRequest method. +// req, resp := client.ListChannelMessagesRequest(params) // -// // Example sending a request using the ListChannelMessagesRequest method. -// req, resp := client.ListChannelMessagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMessages func (c *Chime) ListChannelMessagesRequest(input *ListChannelMessagesInput) (req *request.Request, output *ListChannelMessagesOutput) { @@ -12670,23 +12660,24 @@ func (c *Chime) ListChannelMessagesRequest(input *ListChannelMessagesInput) (req // API operation ListChannelMessages for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelMessages func (c *Chime) ListChannelMessages(input *ListChannelMessagesInput) (*ListChannelMessagesOutput, error) { @@ -12718,15 +12709,14 @@ func (c *Chime) ListChannelMessagesWithContext(ctx aws.Context, input *ListChann // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannelMessages operation. -// pageNum := 0 -// err := client.ListChannelMessagesPages(params, -// func(page *chime.ListChannelMessagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannelMessages operation. +// pageNum := 0 +// err := client.ListChannelMessagesPages(params, +// func(page *chime.ListChannelMessagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListChannelMessagesPages(input *ListChannelMessagesInput, fn func(*ListChannelMessagesOutput, bool) bool) error { return c.ListChannelMessagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12778,14 +12768,13 @@ const opListChannelModerators = "ListChannelModerators" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelModeratorsRequest method. +// req, resp := client.ListChannelModeratorsRequest(params) // -// // Example sending a request using the ListChannelModeratorsRequest method. -// req, resp := client.ListChannelModeratorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelModerators func (c *Chime) ListChannelModeratorsRequest(input *ListChannelModeratorsInput) (req *request.Request, output *ListChannelModeratorsOutput) { @@ -12827,23 +12816,24 @@ func (c *Chime) ListChannelModeratorsRequest(input *ListChannelModeratorsInput) // API operation ListChannelModerators for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelModerators func (c *Chime) ListChannelModerators(input *ListChannelModeratorsInput) (*ListChannelModeratorsOutput, error) { @@ -12875,15 +12865,14 @@ func (c *Chime) ListChannelModeratorsWithContext(ctx aws.Context, input *ListCha // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannelModerators operation. -// pageNum := 0 -// err := client.ListChannelModeratorsPages(params, -// func(page *chime.ListChannelModeratorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannelModerators operation. +// pageNum := 0 +// err := client.ListChannelModeratorsPages(params, +// func(page *chime.ListChannelModeratorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListChannelModeratorsPages(input *ListChannelModeratorsInput, fn func(*ListChannelModeratorsOutput, bool) bool) error { return c.ListChannelModeratorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12935,14 +12924,13 @@ const opListChannels = "ListChannels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelsRequest method. +// req, resp := client.ListChannelsRequest(params) // -// // Example sending a request using the ListChannelsRequest method. -// req, resp := client.ListChannelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannels func (c *Chime) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput) { @@ -12976,10 +12964,10 @@ func (c *Chime) ListChannelsRequest(input *ListChannelsInput) (req *request.Requ // // Functionality & restrictions // -// * Use privacy = PUBLIC to retrieve all public channels in the account. +// - Use privacy = PUBLIC to retrieve all public channels in the account. // -// * Only an AppInstanceAdmin can set privacy = PRIVATE to list the private -// channels in an account. +// - Only an AppInstanceAdmin can set privacy = PRIVATE to list the private +// channels in an account. // // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn // of the user that makes the API call as the value in the header. @@ -12992,23 +12980,24 @@ func (c *Chime) ListChannelsRequest(input *ListChannelsInput) (req *request.Requ // API operation ListChannels for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannels func (c *Chime) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error) { @@ -13040,15 +13029,14 @@ func (c *Chime) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannels operation. -// pageNum := 0 -// err := client.ListChannelsPages(params, -// func(page *chime.ListChannelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannels operation. +// pageNum := 0 +// err := client.ListChannelsPages(params, +// func(page *chime.ListChannelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error { return c.ListChannelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13100,14 +13088,13 @@ const opListChannelsModeratedByAppInstanceUser = "ListChannelsModeratedByAppInst // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelsModeratedByAppInstanceUserRequest method. +// req, resp := client.ListChannelsModeratedByAppInstanceUserRequest(params) // -// // Example sending a request using the ListChannelsModeratedByAppInstanceUserRequest method. -// req, resp := client.ListChannelsModeratedByAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelsModeratedByAppInstanceUser func (c *Chime) ListChannelsModeratedByAppInstanceUserRequest(input *ListChannelsModeratedByAppInstanceUserInput) (req *request.Request, output *ListChannelsModeratedByAppInstanceUserOutput) { @@ -13149,23 +13136,24 @@ func (c *Chime) ListChannelsModeratedByAppInstanceUserRequest(input *ListChannel // API operation ListChannelsModeratedByAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListChannelsModeratedByAppInstanceUser func (c *Chime) ListChannelsModeratedByAppInstanceUser(input *ListChannelsModeratedByAppInstanceUserInput) (*ListChannelsModeratedByAppInstanceUserOutput, error) { @@ -13197,15 +13185,14 @@ func (c *Chime) ListChannelsModeratedByAppInstanceUserWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannelsModeratedByAppInstanceUser operation. -// pageNum := 0 -// err := client.ListChannelsModeratedByAppInstanceUserPages(params, -// func(page *chime.ListChannelsModeratedByAppInstanceUserOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannelsModeratedByAppInstanceUser operation. +// pageNum := 0 +// err := client.ListChannelsModeratedByAppInstanceUserPages(params, +// func(page *chime.ListChannelsModeratedByAppInstanceUserOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListChannelsModeratedByAppInstanceUserPages(input *ListChannelsModeratedByAppInstanceUserInput, fn func(*ListChannelsModeratedByAppInstanceUserOutput, bool) bool) error { return c.ListChannelsModeratedByAppInstanceUserPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13257,14 +13244,13 @@ const opListMediaCapturePipelines = "ListMediaCapturePipelines" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMediaCapturePipelinesRequest method. +// req, resp := client.ListMediaCapturePipelinesRequest(params) // -// // Example sending a request using the ListMediaCapturePipelinesRequest method. -// req, resp := client.ListMediaCapturePipelinesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMediaCapturePipelines func (c *Chime) ListMediaCapturePipelinesRequest(input *ListMediaCapturePipelinesInput) (req *request.Request, output *ListMediaCapturePipelinesOutput) { @@ -13301,23 +13287,24 @@ func (c *Chime) ListMediaCapturePipelinesRequest(input *ListMediaCapturePipeline // API operation ListMediaCapturePipelines for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMediaCapturePipelines func (c *Chime) ListMediaCapturePipelines(input *ListMediaCapturePipelinesInput) (*ListMediaCapturePipelinesOutput, error) { @@ -13349,15 +13336,14 @@ func (c *Chime) ListMediaCapturePipelinesWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMediaCapturePipelines operation. -// pageNum := 0 -// err := client.ListMediaCapturePipelinesPages(params, -// func(page *chime.ListMediaCapturePipelinesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMediaCapturePipelines operation. +// pageNum := 0 +// err := client.ListMediaCapturePipelinesPages(params, +// func(page *chime.ListMediaCapturePipelinesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListMediaCapturePipelinesPages(input *ListMediaCapturePipelinesInput, fn func(*ListMediaCapturePipelinesOutput, bool) bool) error { return c.ListMediaCapturePipelinesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13409,14 +13395,13 @@ const opListMeetingTags = "ListMeetingTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMeetingTagsRequest method. +// req, resp := client.ListMeetingTagsRequest(params) // -// // Example sending a request using the ListMeetingTagsRequest method. -// req, resp := client.ListMeetingTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMeetingTags func (c *Chime) ListMeetingTagsRequest(input *ListMeetingTagsInput) (req *request.Request, output *ListMeetingTagsOutput) { @@ -13447,26 +13432,27 @@ func (c *Chime) ListMeetingTagsRequest(input *ListMeetingTagsInput) (req *reques // API operation ListMeetingTags for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMeetingTags func (c *Chime) ListMeetingTags(input *ListMeetingTagsInput) (*ListMeetingTagsOutput, error) { @@ -13506,14 +13492,13 @@ const opListMeetings = "ListMeetings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMeetingsRequest method. +// req, resp := client.ListMeetingsRequest(params) // -// // Example sending a request using the ListMeetingsRequest method. -// req, resp := client.ListMeetingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMeetings func (c *Chime) ListMeetingsRequest(input *ListMeetingsInput) (req *request.Request, output *ListMeetingsOutput) { @@ -13552,23 +13537,24 @@ func (c *Chime) ListMeetingsRequest(input *ListMeetingsInput) (req *request.Requ // API operation ListMeetings for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListMeetings func (c *Chime) ListMeetings(input *ListMeetingsInput) (*ListMeetingsOutput, error) { @@ -13600,15 +13586,14 @@ func (c *Chime) ListMeetingsWithContext(ctx aws.Context, input *ListMeetingsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMeetings operation. -// pageNum := 0 -// err := client.ListMeetingsPages(params, -// func(page *chime.ListMeetingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMeetings operation. +// pageNum := 0 +// err := client.ListMeetingsPages(params, +// func(page *chime.ListMeetingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListMeetingsPages(input *ListMeetingsInput, fn func(*ListMeetingsOutput, bool) bool) error { return c.ListMeetingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13660,14 +13645,13 @@ const opListPhoneNumberOrders = "ListPhoneNumberOrders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPhoneNumberOrdersRequest method. +// req, resp := client.ListPhoneNumberOrdersRequest(params) // -// // Example sending a request using the ListPhoneNumberOrdersRequest method. -// req, resp := client.ListPhoneNumberOrdersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListPhoneNumberOrders func (c *Chime) ListPhoneNumberOrdersRequest(input *ListPhoneNumberOrdersInput) (req *request.Request, output *ListPhoneNumberOrdersOutput) { @@ -13704,23 +13688,24 @@ func (c *Chime) ListPhoneNumberOrdersRequest(input *ListPhoneNumberOrdersInput) // API operation ListPhoneNumberOrders for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListPhoneNumberOrders func (c *Chime) ListPhoneNumberOrders(input *ListPhoneNumberOrdersInput) (*ListPhoneNumberOrdersOutput, error) { @@ -13752,15 +13737,14 @@ func (c *Chime) ListPhoneNumberOrdersWithContext(ctx aws.Context, input *ListPho // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPhoneNumberOrders operation. -// pageNum := 0 -// err := client.ListPhoneNumberOrdersPages(params, -// func(page *chime.ListPhoneNumberOrdersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPhoneNumberOrders operation. +// pageNum := 0 +// err := client.ListPhoneNumberOrdersPages(params, +// func(page *chime.ListPhoneNumberOrdersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListPhoneNumberOrdersPages(input *ListPhoneNumberOrdersInput, fn func(*ListPhoneNumberOrdersOutput, bool) bool) error { return c.ListPhoneNumberOrdersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13812,14 +13796,13 @@ const opListPhoneNumbers = "ListPhoneNumbers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPhoneNumbersRequest method. +// req, resp := client.ListPhoneNumbersRequest(params) // -// // Example sending a request using the ListPhoneNumbersRequest method. -// req, resp := client.ListPhoneNumbersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListPhoneNumbers func (c *Chime) ListPhoneNumbersRequest(input *ListPhoneNumbersInput) (req *request.Request, output *ListPhoneNumbersOutput) { @@ -13857,26 +13840,27 @@ func (c *Chime) ListPhoneNumbersRequest(input *ListPhoneNumbersInput) (req *requ // API operation ListPhoneNumbers for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListPhoneNumbers func (c *Chime) ListPhoneNumbers(input *ListPhoneNumbersInput) (*ListPhoneNumbersOutput, error) { @@ -13908,15 +13892,14 @@ func (c *Chime) ListPhoneNumbersWithContext(ctx aws.Context, input *ListPhoneNum // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPhoneNumbers operation. -// pageNum := 0 -// err := client.ListPhoneNumbersPages(params, -// func(page *chime.ListPhoneNumbersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPhoneNumbers operation. +// pageNum := 0 +// err := client.ListPhoneNumbersPages(params, +// func(page *chime.ListPhoneNumbersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListPhoneNumbersPages(input *ListPhoneNumbersInput, fn func(*ListPhoneNumbersOutput, bool) bool) error { return c.ListPhoneNumbersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13968,14 +13951,13 @@ const opListProxySessions = "ListProxySessions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProxySessionsRequest method. +// req, resp := client.ListProxySessionsRequest(params) // -// // Example sending a request using the ListProxySessionsRequest method. -// req, resp := client.ListProxySessionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListProxySessions func (c *Chime) ListProxySessionsRequest(input *ListProxySessionsInput) (req *request.Request, output *ListProxySessionsOutput) { @@ -14012,26 +13994,27 @@ func (c *Chime) ListProxySessionsRequest(input *ListProxySessionsInput) (req *re // API operation ListProxySessions for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListProxySessions func (c *Chime) ListProxySessions(input *ListProxySessionsInput) (*ListProxySessionsOutput, error) { @@ -14063,15 +14046,14 @@ func (c *Chime) ListProxySessionsWithContext(ctx aws.Context, input *ListProxySe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProxySessions operation. -// pageNum := 0 -// err := client.ListProxySessionsPages(params, -// func(page *chime.ListProxySessionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProxySessions operation. +// pageNum := 0 +// err := client.ListProxySessionsPages(params, +// func(page *chime.ListProxySessionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListProxySessionsPages(input *ListProxySessionsInput, fn func(*ListProxySessionsOutput, bool) bool) error { return c.ListProxySessionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14123,14 +14105,13 @@ const opListRoomMemberships = "ListRoomMemberships" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRoomMembershipsRequest method. +// req, resp := client.ListRoomMembershipsRequest(params) // -// // Example sending a request using the ListRoomMembershipsRequest method. -// req, resp := client.ListRoomMembershipsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRoomMemberships func (c *Chime) ListRoomMembershipsRequest(input *ListRoomMembershipsInput) (req *request.Request, output *ListRoomMembershipsOutput) { @@ -14168,26 +14149,27 @@ func (c *Chime) ListRoomMembershipsRequest(input *ListRoomMembershipsInput) (req // API operation ListRoomMemberships for usage and error information. // // Returned Error Types: -// * NotFoundException -// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. +// +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRoomMemberships func (c *Chime) ListRoomMemberships(input *ListRoomMembershipsInput) (*ListRoomMembershipsOutput, error) { @@ -14219,15 +14201,14 @@ func (c *Chime) ListRoomMembershipsWithContext(ctx aws.Context, input *ListRoomM // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRoomMemberships operation. -// pageNum := 0 -// err := client.ListRoomMembershipsPages(params, -// func(page *chime.ListRoomMembershipsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRoomMemberships operation. +// pageNum := 0 +// err := client.ListRoomMembershipsPages(params, +// func(page *chime.ListRoomMembershipsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListRoomMembershipsPages(input *ListRoomMembershipsInput, fn func(*ListRoomMembershipsOutput, bool) bool) error { return c.ListRoomMembershipsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14279,14 +14260,13 @@ const opListRooms = "ListRooms" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRoomsRequest method. +// req, resp := client.ListRoomsRequest(params) // -// // Example sending a request using the ListRoomsRequest method. -// req, resp := client.ListRoomsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRooms func (c *Chime) ListRoomsRequest(input *ListRoomsInput) (req *request.Request, output *ListRoomsOutput) { @@ -14325,26 +14305,27 @@ func (c *Chime) ListRoomsRequest(input *ListRoomsInput) (req *request.Request, o // API operation ListRooms for usage and error information. // // Returned Error Types: -// * NotFoundException -// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListRooms func (c *Chime) ListRooms(input *ListRoomsInput) (*ListRoomsOutput, error) { @@ -14376,15 +14357,14 @@ func (c *Chime) ListRoomsWithContext(ctx aws.Context, input *ListRoomsInput, opt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRooms operation. -// pageNum := 0 -// err := client.ListRoomsPages(params, -// func(page *chime.ListRoomsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRooms operation. +// pageNum := 0 +// err := client.ListRoomsPages(params, +// func(page *chime.ListRoomsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListRoomsPages(input *ListRoomsInput, fn func(*ListRoomsOutput, bool) bool) error { return c.ListRoomsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14436,14 +14416,13 @@ const opListSipMediaApplications = "ListSipMediaApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSipMediaApplicationsRequest method. +// req, resp := client.ListSipMediaApplicationsRequest(params) // -// // Example sending a request using the ListSipMediaApplicationsRequest method. -// req, resp := client.ListSipMediaApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSipMediaApplications func (c *Chime) ListSipMediaApplicationsRequest(input *ListSipMediaApplicationsInput) (req *request.Request, output *ListSipMediaApplicationsOutput) { @@ -14480,23 +14459,24 @@ func (c *Chime) ListSipMediaApplicationsRequest(input *ListSipMediaApplicationsI // API operation ListSipMediaApplications for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSipMediaApplications func (c *Chime) ListSipMediaApplications(input *ListSipMediaApplicationsInput) (*ListSipMediaApplicationsOutput, error) { @@ -14528,15 +14508,14 @@ func (c *Chime) ListSipMediaApplicationsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSipMediaApplications operation. -// pageNum := 0 -// err := client.ListSipMediaApplicationsPages(params, -// func(page *chime.ListSipMediaApplicationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSipMediaApplications operation. +// pageNum := 0 +// err := client.ListSipMediaApplicationsPages(params, +// func(page *chime.ListSipMediaApplicationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListSipMediaApplicationsPages(input *ListSipMediaApplicationsInput, fn func(*ListSipMediaApplicationsOutput, bool) bool) error { return c.ListSipMediaApplicationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14588,14 +14567,13 @@ const opListSipRules = "ListSipRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSipRulesRequest method. +// req, resp := client.ListSipRulesRequest(params) // -// // Example sending a request using the ListSipRulesRequest method. -// req, resp := client.ListSipRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSipRules func (c *Chime) ListSipRulesRequest(input *ListSipRulesInput) (req *request.Request, output *ListSipRulesOutput) { @@ -14632,23 +14610,24 @@ func (c *Chime) ListSipRulesRequest(input *ListSipRulesInput) (req *request.Requ // API operation ListSipRules for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSipRules func (c *Chime) ListSipRules(input *ListSipRulesInput) (*ListSipRulesOutput, error) { @@ -14680,15 +14659,14 @@ func (c *Chime) ListSipRulesWithContext(ctx aws.Context, input *ListSipRulesInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSipRules operation. -// pageNum := 0 -// err := client.ListSipRulesPages(params, -// func(page *chime.ListSipRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSipRules operation. +// pageNum := 0 +// err := client.ListSipRulesPages(params, +// func(page *chime.ListSipRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListSipRulesPages(input *ListSipRulesInput, fn func(*ListSipRulesOutput, bool) bool) error { return c.ListSipRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14740,14 +14718,13 @@ const opListSupportedPhoneNumberCountries = "ListSupportedPhoneNumberCountries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSupportedPhoneNumberCountriesRequest method. +// req, resp := client.ListSupportedPhoneNumberCountriesRequest(params) // -// // Example sending a request using the ListSupportedPhoneNumberCountriesRequest method. -// req, resp := client.ListSupportedPhoneNumberCountriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSupportedPhoneNumberCountries func (c *Chime) ListSupportedPhoneNumberCountriesRequest(input *ListSupportedPhoneNumberCountriesInput) (req *request.Request, output *ListSupportedPhoneNumberCountriesOutput) { @@ -14778,26 +14755,27 @@ func (c *Chime) ListSupportedPhoneNumberCountriesRequest(input *ListSupportedPho // API operation ListSupportedPhoneNumberCountries for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListSupportedPhoneNumberCountries func (c *Chime) ListSupportedPhoneNumberCountries(input *ListSupportedPhoneNumberCountriesInput) (*ListSupportedPhoneNumberCountriesOutput, error) { @@ -14837,14 +14815,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListTagsForResource func (c *Chime) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -14875,23 +14852,24 @@ func (c *Chime) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListTagsForResource func (c *Chime) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -14931,14 +14909,13 @@ const opListUsers = "ListUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUsersRequest method. +// req, resp := client.ListUsersRequest(params) // -// // Example sending a request using the ListUsersRequest method. -// req, resp := client.ListUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListUsers func (c *Chime) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) { @@ -14977,26 +14954,27 @@ func (c *Chime) ListUsersRequest(input *ListUsersInput) (req *request.Request, o // API operation ListUsers for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListUsers func (c *Chime) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) { @@ -15028,15 +15006,14 @@ func (c *Chime) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUsers operation. -// pageNum := 0 -// err := client.ListUsersPages(params, -// func(page *chime.ListUsersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUsers operation. +// pageNum := 0 +// err := client.ListUsersPages(params, +// func(page *chime.ListUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListUsersPages(input *ListUsersInput, fn func(*ListUsersOutput, bool) bool) error { return c.ListUsersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15088,14 +15065,13 @@ const opListVoiceConnectorGroups = "ListVoiceConnectorGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVoiceConnectorGroupsRequest method. +// req, resp := client.ListVoiceConnectorGroupsRequest(params) // -// // Example sending a request using the ListVoiceConnectorGroupsRequest method. -// req, resp := client.ListVoiceConnectorGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectorGroups func (c *Chime) ListVoiceConnectorGroupsRequest(input *ListVoiceConnectorGroupsInput) (req *request.Request, output *ListVoiceConnectorGroupsOutput) { @@ -15133,23 +15109,24 @@ func (c *Chime) ListVoiceConnectorGroupsRequest(input *ListVoiceConnectorGroupsI // API operation ListVoiceConnectorGroups for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectorGroups func (c *Chime) ListVoiceConnectorGroups(input *ListVoiceConnectorGroupsInput) (*ListVoiceConnectorGroupsOutput, error) { @@ -15181,15 +15158,14 @@ func (c *Chime) ListVoiceConnectorGroupsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVoiceConnectorGroups operation. -// pageNum := 0 -// err := client.ListVoiceConnectorGroupsPages(params, -// func(page *chime.ListVoiceConnectorGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVoiceConnectorGroups operation. +// pageNum := 0 +// err := client.ListVoiceConnectorGroupsPages(params, +// func(page *chime.ListVoiceConnectorGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListVoiceConnectorGroupsPages(input *ListVoiceConnectorGroupsInput, fn func(*ListVoiceConnectorGroupsOutput, bool) bool) error { return c.ListVoiceConnectorGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15241,14 +15217,13 @@ const opListVoiceConnectorTerminationCredentials = "ListVoiceConnectorTerminatio // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVoiceConnectorTerminationCredentialsRequest method. +// req, resp := client.ListVoiceConnectorTerminationCredentialsRequest(params) // -// // Example sending a request using the ListVoiceConnectorTerminationCredentialsRequest method. -// req, resp := client.ListVoiceConnectorTerminationCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectorTerminationCredentials func (c *Chime) ListVoiceConnectorTerminationCredentialsRequest(input *ListVoiceConnectorTerminationCredentialsInput) (req *request.Request, output *ListVoiceConnectorTerminationCredentialsOutput) { @@ -15279,26 +15254,27 @@ func (c *Chime) ListVoiceConnectorTerminationCredentialsRequest(input *ListVoice // API operation ListVoiceConnectorTerminationCredentials for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectorTerminationCredentials func (c *Chime) ListVoiceConnectorTerminationCredentials(input *ListVoiceConnectorTerminationCredentialsInput) (*ListVoiceConnectorTerminationCredentialsOutput, error) { @@ -15338,14 +15314,13 @@ const opListVoiceConnectors = "ListVoiceConnectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVoiceConnectorsRequest method. +// req, resp := client.ListVoiceConnectorsRequest(params) // -// // Example sending a request using the ListVoiceConnectorsRequest method. -// req, resp := client.ListVoiceConnectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectors func (c *Chime) ListVoiceConnectorsRequest(input *ListVoiceConnectorsInput) (req *request.Request, output *ListVoiceConnectorsOutput) { @@ -15382,23 +15357,24 @@ func (c *Chime) ListVoiceConnectorsRequest(input *ListVoiceConnectorsInput) (req // API operation ListVoiceConnectors for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ListVoiceConnectors func (c *Chime) ListVoiceConnectors(input *ListVoiceConnectorsInput) (*ListVoiceConnectorsOutput, error) { @@ -15430,15 +15406,14 @@ func (c *Chime) ListVoiceConnectorsWithContext(ctx aws.Context, input *ListVoice // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVoiceConnectors operation. -// pageNum := 0 -// err := client.ListVoiceConnectorsPages(params, -// func(page *chime.ListVoiceConnectorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVoiceConnectors operation. +// pageNum := 0 +// err := client.ListVoiceConnectorsPages(params, +// func(page *chime.ListVoiceConnectorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) ListVoiceConnectorsPages(input *ListVoiceConnectorsInput, fn func(*ListVoiceConnectorsOutput, bool) bool) error { return c.ListVoiceConnectorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15490,14 +15465,13 @@ const opLogoutUser = "LogoutUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the LogoutUserRequest method. +// req, resp := client.LogoutUserRequest(params) // -// // Example sending a request using the LogoutUserRequest method. -// req, resp := client.LogoutUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/LogoutUser func (c *Chime) LogoutUserRequest(input *LogoutUserInput) (req *request.Request, output *LogoutUserOutput) { @@ -15530,26 +15504,27 @@ func (c *Chime) LogoutUserRequest(input *LogoutUserInput) (req *request.Request, // API operation LogoutUser for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/LogoutUser func (c *Chime) LogoutUser(input *LogoutUserInput) (*LogoutUserOutput, error) { @@ -15589,14 +15564,13 @@ const opPutAppInstanceRetentionSettings = "PutAppInstanceRetentionSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAppInstanceRetentionSettingsRequest method. +// req, resp := client.PutAppInstanceRetentionSettingsRequest(params) // -// // Example sending a request using the PutAppInstanceRetentionSettingsRequest method. -// req, resp := client.PutAppInstanceRetentionSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutAppInstanceRetentionSettings func (c *Chime) PutAppInstanceRetentionSettingsRequest(input *PutAppInstanceRetentionSettingsInput) (req *request.Request, output *PutAppInstanceRetentionSettingsOutput) { @@ -15629,30 +15603,31 @@ func (c *Chime) PutAppInstanceRetentionSettingsRequest(input *PutAppInstanceRete // API operation PutAppInstanceRetentionSettings for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutAppInstanceRetentionSettings func (c *Chime) PutAppInstanceRetentionSettings(input *PutAppInstanceRetentionSettingsInput) (*PutAppInstanceRetentionSettingsOutput, error) { @@ -15692,14 +15667,13 @@ const opPutAppInstanceStreamingConfigurations = "PutAppInstanceStreamingConfigur // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAppInstanceStreamingConfigurationsRequest method. +// req, resp := client.PutAppInstanceStreamingConfigurationsRequest(params) // -// // Example sending a request using the PutAppInstanceStreamingConfigurationsRequest method. -// req, resp := client.PutAppInstanceStreamingConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutAppInstanceStreamingConfigurations func (c *Chime) PutAppInstanceStreamingConfigurationsRequest(input *PutAppInstanceStreamingConfigurationsInput) (req *request.Request, output *PutAppInstanceStreamingConfigurationsOutput) { @@ -15730,26 +15704,27 @@ func (c *Chime) PutAppInstanceStreamingConfigurationsRequest(input *PutAppInstan // API operation PutAppInstanceStreamingConfigurations for usage and error information. // // Returned Error Types: -// * NotFoundException -// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. +// +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutAppInstanceStreamingConfigurations func (c *Chime) PutAppInstanceStreamingConfigurations(input *PutAppInstanceStreamingConfigurationsInput) (*PutAppInstanceStreamingConfigurationsOutput, error) { @@ -15789,14 +15764,13 @@ const opPutEventsConfiguration = "PutEventsConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEventsConfigurationRequest method. +// req, resp := client.PutEventsConfigurationRequest(params) // -// // Example sending a request using the PutEventsConfigurationRequest method. -// req, resp := client.PutEventsConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutEventsConfiguration func (c *Chime) PutEventsConfigurationRequest(input *PutEventsConfigurationInput) (req *request.Request, output *PutEventsConfigurationOutput) { @@ -15829,26 +15803,27 @@ func (c *Chime) PutEventsConfigurationRequest(input *PutEventsConfigurationInput // API operation PutEventsConfiguration for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ServiceFailureException +// The service encountered an unexpected error. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ResourceLimitExceededException +// The request exceeds the resource limit. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutEventsConfiguration func (c *Chime) PutEventsConfiguration(input *PutEventsConfigurationInput) (*PutEventsConfigurationOutput, error) { @@ -15888,14 +15863,13 @@ const opPutRetentionSettings = "PutRetentionSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRetentionSettingsRequest method. +// req, resp := client.PutRetentionSettingsRequest(params) // -// // Example sending a request using the PutRetentionSettingsRequest method. -// req, resp := client.PutRetentionSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutRetentionSettings func (c *Chime) PutRetentionSettingsRequest(input *PutRetentionSettingsInput) (req *request.Request, output *PutRetentionSettingsOutput) { @@ -15936,30 +15910,31 @@ func (c *Chime) PutRetentionSettingsRequest(input *PutRetentionSettingsInput) (r // API operation PutRetentionSettings for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutRetentionSettings func (c *Chime) PutRetentionSettings(input *PutRetentionSettingsInput) (*PutRetentionSettingsOutput, error) { @@ -15999,14 +15974,13 @@ const opPutSipMediaApplicationLoggingConfiguration = "PutSipMediaApplicationLogg // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutSipMediaApplicationLoggingConfigurationRequest method. +// req, resp := client.PutSipMediaApplicationLoggingConfigurationRequest(params) // -// // Example sending a request using the PutSipMediaApplicationLoggingConfigurationRequest method. -// req, resp := client.PutSipMediaApplicationLoggingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutSipMediaApplicationLoggingConfiguration func (c *Chime) PutSipMediaApplicationLoggingConfigurationRequest(input *PutSipMediaApplicationLoggingConfigurationInput) (req *request.Request, output *PutSipMediaApplicationLoggingConfigurationOutput) { @@ -16037,26 +16011,27 @@ func (c *Chime) PutSipMediaApplicationLoggingConfigurationRequest(input *PutSipM // API operation PutSipMediaApplicationLoggingConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutSipMediaApplicationLoggingConfiguration func (c *Chime) PutSipMediaApplicationLoggingConfiguration(input *PutSipMediaApplicationLoggingConfigurationInput) (*PutSipMediaApplicationLoggingConfigurationOutput, error) { @@ -16096,14 +16071,13 @@ const opPutVoiceConnectorEmergencyCallingConfiguration = "PutVoiceConnectorEmerg // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutVoiceConnectorEmergencyCallingConfigurationRequest method. +// req, resp := client.PutVoiceConnectorEmergencyCallingConfigurationRequest(params) // -// // Example sending a request using the PutVoiceConnectorEmergencyCallingConfigurationRequest method. -// req, resp := client.PutVoiceConnectorEmergencyCallingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorEmergencyCallingConfiguration func (c *Chime) PutVoiceConnectorEmergencyCallingConfigurationRequest(input *PutVoiceConnectorEmergencyCallingConfigurationInput) (req *request.Request, output *PutVoiceConnectorEmergencyCallingConfigurationOutput) { @@ -16137,26 +16111,27 @@ func (c *Chime) PutVoiceConnectorEmergencyCallingConfigurationRequest(input *Put // API operation PutVoiceConnectorEmergencyCallingConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorEmergencyCallingConfiguration func (c *Chime) PutVoiceConnectorEmergencyCallingConfiguration(input *PutVoiceConnectorEmergencyCallingConfigurationInput) (*PutVoiceConnectorEmergencyCallingConfigurationOutput, error) { @@ -16196,14 +16171,13 @@ const opPutVoiceConnectorLoggingConfiguration = "PutVoiceConnectorLoggingConfigu // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutVoiceConnectorLoggingConfigurationRequest method. +// req, resp := client.PutVoiceConnectorLoggingConfigurationRequest(params) // -// // Example sending a request using the PutVoiceConnectorLoggingConfigurationRequest method. -// req, resp := client.PutVoiceConnectorLoggingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorLoggingConfiguration func (c *Chime) PutVoiceConnectorLoggingConfigurationRequest(input *PutVoiceConnectorLoggingConfigurationInput) (req *request.Request, output *PutVoiceConnectorLoggingConfigurationOutput) { @@ -16236,26 +16210,27 @@ func (c *Chime) PutVoiceConnectorLoggingConfigurationRequest(input *PutVoiceConn // API operation PutVoiceConnectorLoggingConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorLoggingConfiguration func (c *Chime) PutVoiceConnectorLoggingConfiguration(input *PutVoiceConnectorLoggingConfigurationInput) (*PutVoiceConnectorLoggingConfigurationOutput, error) { @@ -16295,14 +16270,13 @@ const opPutVoiceConnectorOrigination = "PutVoiceConnectorOrigination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutVoiceConnectorOriginationRequest method. +// req, resp := client.PutVoiceConnectorOriginationRequest(params) // -// // Example sending a request using the PutVoiceConnectorOriginationRequest method. -// req, resp := client.PutVoiceConnectorOriginationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorOrigination func (c *Chime) PutVoiceConnectorOriginationRequest(input *PutVoiceConnectorOriginationInput) (req *request.Request, output *PutVoiceConnectorOriginationOutput) { @@ -16336,26 +16310,27 @@ func (c *Chime) PutVoiceConnectorOriginationRequest(input *PutVoiceConnectorOrig // API operation PutVoiceConnectorOrigination for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorOrigination func (c *Chime) PutVoiceConnectorOrigination(input *PutVoiceConnectorOriginationInput) (*PutVoiceConnectorOriginationOutput, error) { @@ -16395,14 +16370,13 @@ const opPutVoiceConnectorProxy = "PutVoiceConnectorProxy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutVoiceConnectorProxyRequest method. +// req, resp := client.PutVoiceConnectorProxyRequest(params) // -// // Example sending a request using the PutVoiceConnectorProxyRequest method. -// req, resp := client.PutVoiceConnectorProxyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorProxy func (c *Chime) PutVoiceConnectorProxyRequest(input *PutVoiceConnectorProxyInput) (req *request.Request, output *PutVoiceConnectorProxyOutput) { @@ -16434,29 +16408,30 @@ func (c *Chime) PutVoiceConnectorProxyRequest(input *PutVoiceConnectorProxyInput // API operation PutVoiceConnectorProxy for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorProxy func (c *Chime) PutVoiceConnectorProxy(input *PutVoiceConnectorProxyInput) (*PutVoiceConnectorProxyOutput, error) { @@ -16496,14 +16471,13 @@ const opPutVoiceConnectorStreamingConfiguration = "PutVoiceConnectorStreamingCon // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutVoiceConnectorStreamingConfigurationRequest method. +// req, resp := client.PutVoiceConnectorStreamingConfigurationRequest(params) // -// // Example sending a request using the PutVoiceConnectorStreamingConfigurationRequest method. -// req, resp := client.PutVoiceConnectorStreamingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorStreamingConfiguration func (c *Chime) PutVoiceConnectorStreamingConfigurationRequest(input *PutVoiceConnectorStreamingConfigurationInput) (req *request.Request, output *PutVoiceConnectorStreamingConfigurationOutput) { @@ -16537,26 +16511,27 @@ func (c *Chime) PutVoiceConnectorStreamingConfigurationRequest(input *PutVoiceCo // API operation PutVoiceConnectorStreamingConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorStreamingConfiguration func (c *Chime) PutVoiceConnectorStreamingConfiguration(input *PutVoiceConnectorStreamingConfigurationInput) (*PutVoiceConnectorStreamingConfigurationOutput, error) { @@ -16596,14 +16571,13 @@ const opPutVoiceConnectorTermination = "PutVoiceConnectorTermination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutVoiceConnectorTerminationRequest method. +// req, resp := client.PutVoiceConnectorTerminationRequest(params) // -// // Example sending a request using the PutVoiceConnectorTerminationRequest method. -// req, resp := client.PutVoiceConnectorTerminationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorTermination func (c *Chime) PutVoiceConnectorTerminationRequest(input *PutVoiceConnectorTerminationInput) (req *request.Request, output *PutVoiceConnectorTerminationOutput) { @@ -16637,29 +16611,30 @@ func (c *Chime) PutVoiceConnectorTerminationRequest(input *PutVoiceConnectorTerm // API operation PutVoiceConnectorTermination for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorTermination func (c *Chime) PutVoiceConnectorTermination(input *PutVoiceConnectorTerminationInput) (*PutVoiceConnectorTerminationOutput, error) { @@ -16699,14 +16674,13 @@ const opPutVoiceConnectorTerminationCredentials = "PutVoiceConnectorTerminationC // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutVoiceConnectorTerminationCredentialsRequest method. +// req, resp := client.PutVoiceConnectorTerminationCredentialsRequest(params) // -// // Example sending a request using the PutVoiceConnectorTerminationCredentialsRequest method. -// req, resp := client.PutVoiceConnectorTerminationCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorTerminationCredentials func (c *Chime) PutVoiceConnectorTerminationCredentialsRequest(input *PutVoiceConnectorTerminationCredentialsInput) (req *request.Request, output *PutVoiceConnectorTerminationCredentialsOutput) { @@ -16738,26 +16712,27 @@ func (c *Chime) PutVoiceConnectorTerminationCredentialsRequest(input *PutVoiceCo // API operation PutVoiceConnectorTerminationCredentials for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/PutVoiceConnectorTerminationCredentials func (c *Chime) PutVoiceConnectorTerminationCredentials(input *PutVoiceConnectorTerminationCredentialsInput) (*PutVoiceConnectorTerminationCredentialsOutput, error) { @@ -16797,14 +16772,13 @@ const opRedactChannelMessage = "RedactChannelMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RedactChannelMessageRequest method. +// req, resp := client.RedactChannelMessageRequest(params) // -// // Example sending a request using the RedactChannelMessageRequest method. -// req, resp := client.RedactChannelMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactChannelMessage func (c *Chime) RedactChannelMessageRequest(input *RedactChannelMessageInput) (req *request.Request, output *RedactChannelMessageOutput) { @@ -16841,23 +16815,24 @@ func (c *Chime) RedactChannelMessageRequest(input *RedactChannelMessageInput) (r // API operation RedactChannelMessage for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactChannelMessage func (c *Chime) RedactChannelMessage(input *RedactChannelMessageInput) (*RedactChannelMessageOutput, error) { @@ -16897,14 +16872,13 @@ const opRedactConversationMessage = "RedactConversationMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RedactConversationMessageRequest method. +// req, resp := client.RedactConversationMessageRequest(params) // -// // Example sending a request using the RedactConversationMessageRequest method. -// req, resp := client.RedactConversationMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessage func (c *Chime) RedactConversationMessageRequest(input *RedactConversationMessageInput) (req *request.Request, output *RedactConversationMessageOutput) { @@ -16936,26 +16910,27 @@ func (c *Chime) RedactConversationMessageRequest(input *RedactConversationMessag // API operation RedactConversationMessage for usage and error information. // // Returned Error Types: -// * NotFoundException -// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactConversationMessage func (c *Chime) RedactConversationMessage(input *RedactConversationMessageInput) (*RedactConversationMessageOutput, error) { @@ -16995,14 +16970,13 @@ const opRedactRoomMessage = "RedactRoomMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RedactRoomMessageRequest method. +// req, resp := client.RedactRoomMessageRequest(params) // -// // Example sending a request using the RedactRoomMessageRequest method. -// req, resp := client.RedactRoomMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessage func (c *Chime) RedactRoomMessageRequest(input *RedactRoomMessageInput) (req *request.Request, output *RedactRoomMessageOutput) { @@ -17034,26 +17008,27 @@ func (c *Chime) RedactRoomMessageRequest(input *RedactRoomMessageInput) (req *re // API operation RedactRoomMessage for usage and error information. // // Returned Error Types: -// * NotFoundException -// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RedactRoomMessage func (c *Chime) RedactRoomMessage(input *RedactRoomMessageInput) (*RedactRoomMessageOutput, error) { @@ -17093,14 +17068,13 @@ const opRegenerateSecurityToken = "RegenerateSecurityToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegenerateSecurityTokenRequest method. +// req, resp := client.RegenerateSecurityTokenRequest(params) // -// // Example sending a request using the RegenerateSecurityTokenRequest method. -// req, resp := client.RegenerateSecurityTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RegenerateSecurityToken func (c *Chime) RegenerateSecurityTokenRequest(input *RegenerateSecurityTokenInput) (req *request.Request, output *RegenerateSecurityTokenOutput) { @@ -17131,26 +17105,27 @@ func (c *Chime) RegenerateSecurityTokenRequest(input *RegenerateSecurityTokenInp // API operation RegenerateSecurityToken for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ServiceFailureException +// The service encountered an unexpected error. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. +// +// - ThrottledClientException +// The client exceeded its request rate limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RegenerateSecurityToken func (c *Chime) RegenerateSecurityToken(input *RegenerateSecurityTokenInput) (*RegenerateSecurityTokenOutput, error) { @@ -17190,14 +17165,13 @@ const opResetPersonalPIN = "ResetPersonalPIN" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetPersonalPINRequest method. +// req, resp := client.ResetPersonalPINRequest(params) // -// // Example sending a request using the ResetPersonalPINRequest method. -// req, resp := client.ResetPersonalPINRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ResetPersonalPIN func (c *Chime) ResetPersonalPINRequest(input *ResetPersonalPINInput) (req *request.Request, output *ResetPersonalPINOutput) { @@ -17229,26 +17203,27 @@ func (c *Chime) ResetPersonalPINRequest(input *ResetPersonalPINInput) (req *requ // API operation ResetPersonalPIN for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/ResetPersonalPIN func (c *Chime) ResetPersonalPIN(input *ResetPersonalPINInput) (*ResetPersonalPINOutput, error) { @@ -17288,14 +17263,13 @@ const opRestorePhoneNumber = "RestorePhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestorePhoneNumberRequest method. +// req, resp := client.RestorePhoneNumberRequest(params) // -// // Example sending a request using the RestorePhoneNumberRequest method. -// req, resp := client.RestorePhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RestorePhoneNumber func (c *Chime) RestorePhoneNumberRequest(input *RestorePhoneNumberInput) (req *request.Request, output *RestorePhoneNumberOutput) { @@ -17326,29 +17300,30 @@ func (c *Chime) RestorePhoneNumberRequest(input *RestorePhoneNumberInput) (req * // API operation RestorePhoneNumber for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/RestorePhoneNumber func (c *Chime) RestorePhoneNumber(input *RestorePhoneNumberInput) (*RestorePhoneNumberOutput, error) { @@ -17388,14 +17363,13 @@ const opSearchAvailablePhoneNumbers = "SearchAvailablePhoneNumbers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchAvailablePhoneNumbersRequest method. +// req, resp := client.SearchAvailablePhoneNumbersRequest(params) // -// // Example sending a request using the SearchAvailablePhoneNumbersRequest method. -// req, resp := client.SearchAvailablePhoneNumbersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SearchAvailablePhoneNumbers func (c *Chime) SearchAvailablePhoneNumbersRequest(input *SearchAvailablePhoneNumbersInput) (req *request.Request, output *SearchAvailablePhoneNumbersOutput) { @@ -17435,26 +17409,27 @@ func (c *Chime) SearchAvailablePhoneNumbersRequest(input *SearchAvailablePhoneNu // API operation SearchAvailablePhoneNumbers for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SearchAvailablePhoneNumbers func (c *Chime) SearchAvailablePhoneNumbers(input *SearchAvailablePhoneNumbersInput) (*SearchAvailablePhoneNumbersOutput, error) { @@ -17486,15 +17461,14 @@ func (c *Chime) SearchAvailablePhoneNumbersWithContext(ctx aws.Context, input *S // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchAvailablePhoneNumbers operation. -// pageNum := 0 -// err := client.SearchAvailablePhoneNumbersPages(params, -// func(page *chime.SearchAvailablePhoneNumbersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchAvailablePhoneNumbers operation. +// pageNum := 0 +// err := client.SearchAvailablePhoneNumbersPages(params, +// func(page *chime.SearchAvailablePhoneNumbersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Chime) SearchAvailablePhoneNumbersPages(input *SearchAvailablePhoneNumbersInput, fn func(*SearchAvailablePhoneNumbersOutput, bool) bool) error { return c.SearchAvailablePhoneNumbersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17546,14 +17520,13 @@ const opSendChannelMessage = "SendChannelMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendChannelMessageRequest method. +// req, resp := client.SendChannelMessageRequest(params) // -// // Example sending a request using the SendChannelMessageRequest method. -// req, resp := client.SendChannelMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SendChannelMessage func (c *Chime) SendChannelMessageRequest(input *SendChannelMessageInput) (req *request.Request, output *SendChannelMessageOutput) { @@ -17592,27 +17565,28 @@ func (c *Chime) SendChannelMessageRequest(input *SendChannelMessageInput) (req * // API operation SendChannelMessage for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/SendChannelMessage func (c *Chime) SendChannelMessage(input *SendChannelMessageInput) (*SendChannelMessageOutput, error) { @@ -17652,14 +17626,13 @@ const opStartMeetingTranscription = "StartMeetingTranscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMeetingTranscriptionRequest method. +// req, resp := client.StartMeetingTranscriptionRequest(params) // -// // Example sending a request using the StartMeetingTranscriptionRequest method. -// req, resp := client.StartMeetingTranscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/StartMeetingTranscription func (c *Chime) StartMeetingTranscriptionRequest(input *StartMeetingTranscriptionInput) (req *request.Request, output *StartMeetingTranscriptionOutput) { @@ -17691,33 +17664,34 @@ func (c *Chime) StartMeetingTranscriptionRequest(input *StartMeetingTranscriptio // API operation StartMeetingTranscription for usage and error information. // // Returned Error Types: -// * NotFoundException -// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * UnprocessableEntityException -// The request was well-formed but was unable to be followed due to semantic -// errors. +// - UnprocessableEntityException +// The request was well-formed but was unable to be followed due to semantic +// errors. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/StartMeetingTranscription func (c *Chime) StartMeetingTranscription(input *StartMeetingTranscriptionInput) (*StartMeetingTranscriptionOutput, error) { @@ -17757,14 +17731,13 @@ const opStopMeetingTranscription = "StopMeetingTranscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopMeetingTranscriptionRequest method. +// req, resp := client.StopMeetingTranscriptionRequest(params) // -// // Example sending a request using the StopMeetingTranscriptionRequest method. -// req, resp := client.StopMeetingTranscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/StopMeetingTranscription func (c *Chime) StopMeetingTranscriptionRequest(input *StopMeetingTranscriptionInput) (req *request.Request, output *StopMeetingTranscriptionOutput) { @@ -17796,30 +17769,31 @@ func (c *Chime) StopMeetingTranscriptionRequest(input *StopMeetingTranscriptionI // API operation StopMeetingTranscription for usage and error information. // // Returned Error Types: -// * ForbiddenException -// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * UnprocessableEntityException -// The request was well-formed but was unable to be followed due to semantic -// errors. +// - UnprocessableEntityException +// The request was well-formed but was unable to be followed due to semantic +// errors. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/StopMeetingTranscription func (c *Chime) StopMeetingTranscription(input *StopMeetingTranscriptionInput) (*StopMeetingTranscriptionOutput, error) { @@ -17859,14 +17833,13 @@ const opTagAttendee = "TagAttendee" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagAttendeeRequest method. +// req, resp := client.TagAttendeeRequest(params) // -// // Example sending a request using the TagAttendeeRequest method. -// req, resp := client.TagAttendeeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagAttendee func (c *Chime) TagAttendeeRequest(input *TagAttendeeInput) (req *request.Request, output *TagAttendeeOutput) { @@ -17898,29 +17871,30 @@ func (c *Chime) TagAttendeeRequest(input *TagAttendeeInput) (req *request.Reques // API operation TagAttendee for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagAttendee func (c *Chime) TagAttendee(input *TagAttendeeInput) (*TagAttendeeOutput, error) { @@ -17960,14 +17934,13 @@ const opTagMeeting = "TagMeeting" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagMeetingRequest method. +// req, resp := client.TagMeetingRequest(params) // -// // Example sending a request using the TagMeetingRequest method. -// req, resp := client.TagMeetingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagMeeting func (c *Chime) TagMeetingRequest(input *TagMeetingInput) (req *request.Request, output *TagMeetingOutput) { @@ -17999,29 +17972,30 @@ func (c *Chime) TagMeetingRequest(input *TagMeetingInput) (req *request.Request, // API operation TagMeeting for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagMeeting func (c *Chime) TagMeeting(input *TagMeetingInput) (*TagMeetingOutput, error) { @@ -18061,14 +18035,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagResource func (c *Chime) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -18100,23 +18073,24 @@ func (c *Chime) TagResourceRequest(input *TagResourceInput) (req *request.Reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/TagResource func (c *Chime) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -18156,14 +18130,13 @@ const opUntagAttendee = "UntagAttendee" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagAttendeeRequest method. +// req, resp := client.UntagAttendeeRequest(params) // -// // Example sending a request using the UntagAttendeeRequest method. -// req, resp := client.UntagAttendeeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagAttendee func (c *Chime) UntagAttendeeRequest(input *UntagAttendeeInput) (req *request.Request, output *UntagAttendeeOutput) { @@ -18195,26 +18168,27 @@ func (c *Chime) UntagAttendeeRequest(input *UntagAttendeeInput) (req *request.Re // API operation UntagAttendee for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagAttendee func (c *Chime) UntagAttendee(input *UntagAttendeeInput) (*UntagAttendeeOutput, error) { @@ -18254,14 +18228,13 @@ const opUntagMeeting = "UntagMeeting" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagMeetingRequest method. +// req, resp := client.UntagMeetingRequest(params) // -// // Example sending a request using the UntagMeetingRequest method. -// req, resp := client.UntagMeetingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagMeeting func (c *Chime) UntagMeetingRequest(input *UntagMeetingInput) (req *request.Request, output *UntagMeetingOutput) { @@ -18293,26 +18266,27 @@ func (c *Chime) UntagMeetingRequest(input *UntagMeetingInput) (req *request.Requ // API operation UntagMeeting for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagMeeting func (c *Chime) UntagMeeting(input *UntagMeetingInput) (*UntagMeetingOutput, error) { @@ -18352,14 +18326,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagResource func (c *Chime) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -18391,23 +18364,24 @@ func (c *Chime) UntagResourceRequest(input *UntagResourceInput) (req *request.Re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UntagResource func (c *Chime) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -18447,14 +18421,13 @@ const opUpdateAccount = "UpdateAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAccountRequest method. +// req, resp := client.UpdateAccountRequest(params) // -// // Example sending a request using the UpdateAccountRequest method. -// req, resp := client.UpdateAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccount func (c *Chime) UpdateAccountRequest(input *UpdateAccountInput) (req *request.Request, output *UpdateAccountOutput) { @@ -18486,26 +18459,27 @@ func (c *Chime) UpdateAccountRequest(input *UpdateAccountInput) (req *request.Re // API operation UpdateAccount for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccount func (c *Chime) UpdateAccount(input *UpdateAccountInput) (*UpdateAccountOutput, error) { @@ -18545,14 +18519,13 @@ const opUpdateAccountSettings = "UpdateAccountSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAccountSettingsRequest method. +// req, resp := client.UpdateAccountSettingsRequest(params) // -// // Example sending a request using the UpdateAccountSettingsRequest method. -// req, resp := client.UpdateAccountSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccountSettings func (c *Chime) UpdateAccountSettingsRequest(input *UpdateAccountSettingsInput) (req *request.Request, output *UpdateAccountSettingsOutput) { @@ -18587,30 +18560,31 @@ func (c *Chime) UpdateAccountSettingsRequest(input *UpdateAccountSettingsInput) // API operation UpdateAccountSettings for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAccountSettings func (c *Chime) UpdateAccountSettings(input *UpdateAccountSettingsInput) (*UpdateAccountSettingsOutput, error) { @@ -18650,14 +18624,13 @@ const opUpdateAppInstance = "UpdateAppInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAppInstanceRequest method. +// req, resp := client.UpdateAppInstanceRequest(params) // -// // Example sending a request using the UpdateAppInstanceRequest method. -// req, resp := client.UpdateAppInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAppInstance func (c *Chime) UpdateAppInstanceRequest(input *UpdateAppInstanceInput) (req *request.Request, output *UpdateAppInstanceOutput) { @@ -18690,27 +18663,28 @@ func (c *Chime) UpdateAppInstanceRequest(input *UpdateAppInstanceInput) (req *re // API operation UpdateAppInstance for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAppInstance func (c *Chime) UpdateAppInstance(input *UpdateAppInstanceInput) (*UpdateAppInstanceOutput, error) { @@ -18750,14 +18724,13 @@ const opUpdateAppInstanceUser = "UpdateAppInstanceUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAppInstanceUserRequest method. +// req, resp := client.UpdateAppInstanceUserRequest(params) // -// // Example sending a request using the UpdateAppInstanceUserRequest method. -// req, resp := client.UpdateAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAppInstanceUser func (c *Chime) UpdateAppInstanceUserRequest(input *UpdateAppInstanceUserInput) (req *request.Request, output *UpdateAppInstanceUserOutput) { @@ -18790,27 +18763,28 @@ func (c *Chime) UpdateAppInstanceUserRequest(input *UpdateAppInstanceUserInput) // API operation UpdateAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateAppInstanceUser func (c *Chime) UpdateAppInstanceUser(input *UpdateAppInstanceUserInput) (*UpdateAppInstanceUserOutput, error) { @@ -18850,14 +18824,13 @@ const opUpdateBot = "UpdateBot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBotRequest method. +// req, resp := client.UpdateBotRequest(params) // -// // Example sending a request using the UpdateBotRequest method. -// req, resp := client.UpdateBotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateBot func (c *Chime) UpdateBotRequest(input *UpdateBotInput) (req *request.Request, output *UpdateBotOutput) { @@ -18889,26 +18862,27 @@ func (c *Chime) UpdateBotRequest(input *UpdateBotInput) (req *request.Request, o // API operation UpdateBot for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateBot func (c *Chime) UpdateBot(input *UpdateBotInput) (*UpdateBotOutput, error) { @@ -18948,14 +18922,13 @@ const opUpdateChannel = "UpdateChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateChannelRequest method. +// req, resp := client.UpdateChannelRequest(params) // -// // Example sending a request using the UpdateChannelRequest method. -// req, resp := client.UpdateChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannel func (c *Chime) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput) { @@ -18993,27 +18966,28 @@ func (c *Chime) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Re // API operation UpdateChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannel func (c *Chime) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error) { @@ -19053,14 +19027,13 @@ const opUpdateChannelMessage = "UpdateChannelMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateChannelMessageRequest method. +// req, resp := client.UpdateChannelMessageRequest(params) // -// // Example sending a request using the UpdateChannelMessageRequest method. -// req, resp := client.UpdateChannelMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannelMessage func (c *Chime) UpdateChannelMessageRequest(input *UpdateChannelMessageInput) (req *request.Request, output *UpdateChannelMessageOutput) { @@ -19096,27 +19069,28 @@ func (c *Chime) UpdateChannelMessageRequest(input *UpdateChannelMessageInput) (r // API operation UpdateChannelMessage for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannelMessage func (c *Chime) UpdateChannelMessage(input *UpdateChannelMessageInput) (*UpdateChannelMessageOutput, error) { @@ -19156,14 +19130,13 @@ const opUpdateChannelReadMarker = "UpdateChannelReadMarker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateChannelReadMarkerRequest method. +// req, resp := client.UpdateChannelReadMarkerRequest(params) // -// // Example sending a request using the UpdateChannelReadMarkerRequest method. -// req, resp := client.UpdateChannelReadMarkerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannelReadMarker func (c *Chime) UpdateChannelReadMarkerRequest(input *UpdateChannelReadMarkerInput) (req *request.Request, output *UpdateChannelReadMarkerOutput) { @@ -19199,27 +19172,28 @@ func (c *Chime) UpdateChannelReadMarkerRequest(input *UpdateChannelReadMarkerInp // API operation UpdateChannelReadMarker for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateChannelReadMarker func (c *Chime) UpdateChannelReadMarker(input *UpdateChannelReadMarkerInput) (*UpdateChannelReadMarkerOutput, error) { @@ -19259,14 +19233,13 @@ const opUpdateGlobalSettings = "UpdateGlobalSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGlobalSettingsRequest method. +// req, resp := client.UpdateGlobalSettingsRequest(params) // -// // Example sending a request using the UpdateGlobalSettingsRequest method. -// req, resp := client.UpdateGlobalSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateGlobalSettings func (c *Chime) UpdateGlobalSettingsRequest(input *UpdateGlobalSettingsInput) (req *request.Request, output *UpdateGlobalSettingsOutput) { @@ -19299,23 +19272,24 @@ func (c *Chime) UpdateGlobalSettingsRequest(input *UpdateGlobalSettingsInput) (r // API operation UpdateGlobalSettings for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateGlobalSettings func (c *Chime) UpdateGlobalSettings(input *UpdateGlobalSettingsInput) (*UpdateGlobalSettingsOutput, error) { @@ -19355,14 +19329,13 @@ const opUpdatePhoneNumber = "UpdatePhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePhoneNumberRequest method. +// req, resp := client.UpdatePhoneNumberRequest(params) // -// // Example sending a request using the UpdatePhoneNumberRequest method. -// req, resp := client.UpdatePhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumber func (c *Chime) UpdatePhoneNumberRequest(input *UpdatePhoneNumberInput) (req *request.Request, output *UpdatePhoneNumberOutput) { @@ -19404,30 +19377,31 @@ func (c *Chime) UpdatePhoneNumberRequest(input *UpdatePhoneNumberInput) (req *re // API operation UpdatePhoneNumber for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumber func (c *Chime) UpdatePhoneNumber(input *UpdatePhoneNumberInput) (*UpdatePhoneNumberOutput, error) { @@ -19467,14 +19441,13 @@ const opUpdatePhoneNumberSettings = "UpdatePhoneNumberSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePhoneNumberSettingsRequest method. +// req, resp := client.UpdatePhoneNumberSettingsRequest(params) // -// // Example sending a request using the UpdatePhoneNumberSettingsRequest method. -// req, resp := client.UpdatePhoneNumberSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumberSettings func (c *Chime) UpdatePhoneNumberSettingsRequest(input *UpdatePhoneNumberSettingsInput) (req *request.Request, output *UpdatePhoneNumberSettingsOutput) { @@ -19509,23 +19482,24 @@ func (c *Chime) UpdatePhoneNumberSettingsRequest(input *UpdatePhoneNumberSetting // API operation UpdatePhoneNumberSettings for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdatePhoneNumberSettings func (c *Chime) UpdatePhoneNumberSettings(input *UpdatePhoneNumberSettingsInput) (*UpdatePhoneNumberSettingsOutput, error) { @@ -19565,14 +19539,13 @@ const opUpdateProxySession = "UpdateProxySession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProxySessionRequest method. +// req, resp := client.UpdateProxySessionRequest(params) // -// // Example sending a request using the UpdateProxySessionRequest method. -// req, resp := client.UpdateProxySessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateProxySession func (c *Chime) UpdateProxySessionRequest(input *UpdateProxySessionInput) (req *request.Request, output *UpdateProxySessionOutput) { @@ -19603,26 +19576,27 @@ func (c *Chime) UpdateProxySessionRequest(input *UpdateProxySessionInput) (req * // API operation UpdateProxySession for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateProxySession func (c *Chime) UpdateProxySession(input *UpdateProxySessionInput) (*UpdateProxySessionOutput, error) { @@ -19662,14 +19636,13 @@ const opUpdateRoom = "UpdateRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRoomRequest method. +// req, resp := client.UpdateRoomRequest(params) // -// // Example sending a request using the UpdateRoomRequest method. -// req, resp := client.UpdateRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoom func (c *Chime) UpdateRoomRequest(input *UpdateRoomInput) (req *request.Request, output *UpdateRoomOutput) { @@ -19701,26 +19674,27 @@ func (c *Chime) UpdateRoomRequest(input *UpdateRoomInput) (req *request.Request, // API operation UpdateRoom for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoom func (c *Chime) UpdateRoom(input *UpdateRoomInput) (*UpdateRoomOutput, error) { @@ -19760,14 +19734,13 @@ const opUpdateRoomMembership = "UpdateRoomMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRoomMembershipRequest method. +// req, resp := client.UpdateRoomMembershipRequest(params) // -// // Example sending a request using the UpdateRoomMembershipRequest method. -// req, resp := client.UpdateRoomMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoomMembership func (c *Chime) UpdateRoomMembershipRequest(input *UpdateRoomMembershipInput) (req *request.Request, output *UpdateRoomMembershipOutput) { @@ -19801,26 +19774,27 @@ func (c *Chime) UpdateRoomMembershipRequest(input *UpdateRoomMembershipInput) (r // API operation UpdateRoomMembership for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateRoomMembership func (c *Chime) UpdateRoomMembership(input *UpdateRoomMembershipInput) (*UpdateRoomMembershipOutput, error) { @@ -19860,14 +19834,13 @@ const opUpdateSipMediaApplication = "UpdateSipMediaApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSipMediaApplicationRequest method. +// req, resp := client.UpdateSipMediaApplicationRequest(params) // -// // Example sending a request using the UpdateSipMediaApplicationRequest method. -// req, resp := client.UpdateSipMediaApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipMediaApplication func (c *Chime) UpdateSipMediaApplicationRequest(input *UpdateSipMediaApplicationInput) (req *request.Request, output *UpdateSipMediaApplicationOutput) { @@ -19898,30 +19871,31 @@ func (c *Chime) UpdateSipMediaApplicationRequest(input *UpdateSipMediaApplicatio // API operation UpdateSipMediaApplication for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipMediaApplication func (c *Chime) UpdateSipMediaApplication(input *UpdateSipMediaApplicationInput) (*UpdateSipMediaApplicationOutput, error) { @@ -19961,14 +19935,13 @@ const opUpdateSipMediaApplicationCall = "UpdateSipMediaApplicationCall" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSipMediaApplicationCallRequest method. +// req, resp := client.UpdateSipMediaApplicationCallRequest(params) // -// // Example sending a request using the UpdateSipMediaApplicationCallRequest method. -// req, resp := client.UpdateSipMediaApplicationCallRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipMediaApplicationCall func (c *Chime) UpdateSipMediaApplicationCallRequest(input *UpdateSipMediaApplicationCallInput) (req *request.Request, output *UpdateSipMediaApplicationCallOutput) { @@ -20001,29 +19974,30 @@ func (c *Chime) UpdateSipMediaApplicationCallRequest(input *UpdateSipMediaApplic // API operation UpdateSipMediaApplicationCall for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipMediaApplicationCall func (c *Chime) UpdateSipMediaApplicationCall(input *UpdateSipMediaApplicationCallInput) (*UpdateSipMediaApplicationCallOutput, error) { @@ -20063,14 +20037,13 @@ const opUpdateSipRule = "UpdateSipRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSipRuleRequest method. +// req, resp := client.UpdateSipRuleRequest(params) // -// // Example sending a request using the UpdateSipRuleRequest method. -// req, resp := client.UpdateSipRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipRule func (c *Chime) UpdateSipRuleRequest(input *UpdateSipRuleInput) (req *request.Request, output *UpdateSipRuleOutput) { @@ -20101,33 +20074,34 @@ func (c *Chime) UpdateSipRuleRequest(input *UpdateSipRuleInput) (req *request.Re // API operation UpdateSipRule for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateSipRule func (c *Chime) UpdateSipRule(input *UpdateSipRuleInput) (*UpdateSipRuleOutput, error) { @@ -20167,14 +20141,13 @@ const opUpdateUser = "UpdateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserRequest method. +// req, resp := client.UpdateUserRequest(params) // -// // Example sending a request using the UpdateUserRequest method. -// req, resp := client.UpdateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateUser func (c *Chime) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput) { @@ -20206,26 +20179,27 @@ func (c *Chime) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, // API operation UpdateUser for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateUser func (c *Chime) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) { @@ -20265,14 +20239,13 @@ const opUpdateUserSettings = "UpdateUserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserSettingsRequest method. +// req, resp := client.UpdateUserSettingsRequest(params) // -// // Example sending a request using the UpdateUserSettingsRequest method. -// req, resp := client.UpdateUserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateUserSettings func (c *Chime) UpdateUserSettingsRequest(input *UpdateUserSettingsInput) (req *request.Request, output *UpdateUserSettingsOutput) { @@ -20304,26 +20277,27 @@ func (c *Chime) UpdateUserSettingsRequest(input *UpdateUserSettingsInput) (req * // API operation UpdateUserSettings for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateUserSettings func (c *Chime) UpdateUserSettings(input *UpdateUserSettingsInput) (*UpdateUserSettingsOutput, error) { @@ -20363,14 +20337,13 @@ const opUpdateVoiceConnector = "UpdateVoiceConnector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVoiceConnectorRequest method. +// req, resp := client.UpdateVoiceConnectorRequest(params) // -// // Example sending a request using the UpdateVoiceConnectorRequest method. -// req, resp := client.UpdateVoiceConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnector func (c *Chime) UpdateVoiceConnectorRequest(input *UpdateVoiceConnectorInput) (req *request.Request, output *UpdateVoiceConnectorOutput) { @@ -20401,26 +20374,27 @@ func (c *Chime) UpdateVoiceConnectorRequest(input *UpdateVoiceConnectorInput) (r // API operation UpdateVoiceConnector for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnector func (c *Chime) UpdateVoiceConnector(input *UpdateVoiceConnectorInput) (*UpdateVoiceConnectorOutput, error) { @@ -20460,14 +20434,13 @@ const opUpdateVoiceConnectorGroup = "UpdateVoiceConnectorGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVoiceConnectorGroupRequest method. +// req, resp := client.UpdateVoiceConnectorGroupRequest(params) // -// // Example sending a request using the UpdateVoiceConnectorGroupRequest method. -// req, resp := client.UpdateVoiceConnectorGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnectorGroup func (c *Chime) UpdateVoiceConnectorGroupRequest(input *UpdateVoiceConnectorGroupInput) (req *request.Request, output *UpdateVoiceConnectorGroupOutput) { @@ -20499,30 +20472,31 @@ func (c *Chime) UpdateVoiceConnectorGroupRequest(input *UpdateVoiceConnectorGrou // API operation UpdateVoiceConnectorGroup for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/UpdateVoiceConnectorGroup func (c *Chime) UpdateVoiceConnectorGroup(input *UpdateVoiceConnectorGroupInput) (*UpdateVoiceConnectorGroupOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/chimeiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/chimeiface/interface.go index efc86248101b..3173368d12fb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/chimeiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/chimeiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Chime. -// func myFunc(svc chimeiface.ChimeAPI) bool { -// // Make svc.AssociatePhoneNumberWithUser request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Chime. +// func myFunc(svc chimeiface.ChimeAPI) bool { +// // Make svc.AssociatePhoneNumberWithUser request +// } // -// func main() { -// sess := session.New() -// svc := chime.New(sess) +// func main() { +// sess := session.New() +// svc := chime.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockChimeClient struct { -// chimeiface.ChimeAPI -// } -// func (m *mockChimeClient) AssociatePhoneNumberWithUser(input *chime.AssociatePhoneNumberWithUserInput) (*chime.AssociatePhoneNumberWithUserOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockChimeClient struct { +// chimeiface.ChimeAPI +// } +// func (m *mockChimeClient) AssociatePhoneNumberWithUser(input *chime.AssociatePhoneNumberWithUserInput) (*chime.AssociatePhoneNumberWithUserOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockChimeClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockChimeClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/doc.go index 1389c9ddfaad..8e7627c513fb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/doc.go @@ -18,14 +18,14 @@ // Each API operation includes links to information about using it with a language-specific // AWS SDK or the AWS CLI. // -// Using an AWS SDK +// # Using an AWS SDK // // You don't need to write code to calculate a signature for request authentication. // The SDK clients authenticate your requests by using access keys that you // provide. For more information about AWS SDKs, see the AWS Developer Center // (http://aws.amazon.com/developer/). // -// Using the AWS CLI +// # Using the AWS CLI // // Use your access keys with the AWS CLI to make API calls. For information // about setting up the AWS CLI, see Installing the AWS Command Line Interface @@ -34,7 +34,7 @@ // commands, see the Amazon Chime commands (https://docs.aws.amazon.com/cli/latest/reference/chime/index.html) // in the AWS CLI Command Reference. // -// Using REST APIs +// # Using REST APIs // // If you use REST to make API calls, you must authenticate your request by // providing a signature. Amazon Chime supports signature version 4. For more @@ -54,7 +54,7 @@ // See chime package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/chime/ // -// Using the Client +// # Using the Client // // To contact Amazon Chime with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/service.go index ca7ca923cd87..8ebefb549259 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chime/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Chime client from just a session. -// svc := chime.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Chime client with additional configuration -// svc := chime.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Chime client from just a session. +// svc := chime.New(mySession) +// +// // Create a Chime client with additional configuration +// svc := chime.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Chime { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/api.go index 10c2ac5819c9..8225f5241a25 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/api.go @@ -29,14 +29,13 @@ const opCreateAppInstance = "CreateAppInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppInstanceRequest method. +// req, resp := client.CreateAppInstanceRequest(params) // -// // Example sending a request using the CreateAppInstanceRequest method. -// req, resp := client.CreateAppInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstance func (c *ChimeSDKIdentity) CreateAppInstanceRequest(input *CreateAppInstanceInput) (req *request.Request, output *CreateAppInstanceOutput) { @@ -71,30 +70,31 @@ func (c *ChimeSDKIdentity) CreateAppInstanceRequest(input *CreateAppInstanceInpu // API operation CreateAppInstance for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstance func (c *ChimeSDKIdentity) CreateAppInstance(input *CreateAppInstanceInput) (*CreateAppInstanceOutput, error) { @@ -134,14 +134,13 @@ const opCreateAppInstanceAdmin = "CreateAppInstanceAdmin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppInstanceAdminRequest method. +// req, resp := client.CreateAppInstanceAdminRequest(params) // -// // Example sending a request using the CreateAppInstanceAdminRequest method. -// req, resp := client.CreateAppInstanceAdminRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdmin func (c *ChimeSDKIdentity) CreateAppInstanceAdminRequest(input *CreateAppInstanceAdminInput) (req *request.Request, output *CreateAppInstanceAdminOutput) { @@ -165,9 +164,9 @@ func (c *ChimeSDKIdentity) CreateAppInstanceAdminRequest(input *CreateAppInstanc // Promotes an AppInstanceUser to an AppInstanceAdmin. The promoted user can // perform the following actions. // -// * ChannelModerator actions across all channels in the AppInstance. +// - ChannelModerator actions across all channels in the AppInstance. // -// * DeleteChannelMessage actions. +// - DeleteChannelMessage actions. // // Only an AppInstanceUser can be promoted to an AppInstanceAdmin role. // @@ -179,30 +178,31 @@ func (c *ChimeSDKIdentity) CreateAppInstanceAdminRequest(input *CreateAppInstanc // API operation CreateAppInstanceAdmin for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdmin func (c *ChimeSDKIdentity) CreateAppInstanceAdmin(input *CreateAppInstanceAdminInput) (*CreateAppInstanceAdminOutput, error) { @@ -242,14 +242,13 @@ const opCreateAppInstanceUser = "CreateAppInstanceUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppInstanceUserRequest method. +// req, resp := client.CreateAppInstanceUserRequest(params) // -// // Example sending a request using the CreateAppInstanceUserRequest method. -// req, resp := client.CreateAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUser func (c *ChimeSDKIdentity) CreateAppInstanceUserRequest(input *CreateAppInstanceUserInput) (req *request.Request, output *CreateAppInstanceUserOutput) { @@ -281,30 +280,31 @@ func (c *ChimeSDKIdentity) CreateAppInstanceUserRequest(input *CreateAppInstance // API operation CreateAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUser func (c *ChimeSDKIdentity) CreateAppInstanceUser(input *CreateAppInstanceUserInput) (*CreateAppInstanceUserOutput, error) { @@ -344,14 +344,13 @@ const opDeleteAppInstance = "DeleteAppInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppInstanceRequest method. +// req, resp := client.DeleteAppInstanceRequest(params) // -// // Example sending a request using the DeleteAppInstanceRequest method. -// req, resp := client.DeleteAppInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstance func (c *ChimeSDKIdentity) DeleteAppInstanceRequest(input *DeleteAppInstanceInput) (req *request.Request, output *DeleteAppInstanceOutput) { @@ -383,26 +382,27 @@ func (c *ChimeSDKIdentity) DeleteAppInstanceRequest(input *DeleteAppInstanceInpu // API operation DeleteAppInstance for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstance func (c *ChimeSDKIdentity) DeleteAppInstance(input *DeleteAppInstanceInput) (*DeleteAppInstanceOutput, error) { @@ -442,14 +442,13 @@ const opDeleteAppInstanceAdmin = "DeleteAppInstanceAdmin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppInstanceAdminRequest method. +// req, resp := client.DeleteAppInstanceAdminRequest(params) // -// // Example sending a request using the DeleteAppInstanceAdminRequest method. -// req, resp := client.DeleteAppInstanceAdminRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceAdmin func (c *ChimeSDKIdentity) DeleteAppInstanceAdminRequest(input *DeleteAppInstanceAdminInput) (req *request.Request, output *DeleteAppInstanceAdminOutput) { @@ -482,30 +481,31 @@ func (c *ChimeSDKIdentity) DeleteAppInstanceAdminRequest(input *DeleteAppInstanc // API operation DeleteAppInstanceAdmin for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceAdmin func (c *ChimeSDKIdentity) DeleteAppInstanceAdmin(input *DeleteAppInstanceAdminInput) (*DeleteAppInstanceAdminOutput, error) { @@ -545,14 +545,13 @@ const opDeleteAppInstanceUser = "DeleteAppInstanceUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppInstanceUserRequest method. +// req, resp := client.DeleteAppInstanceUserRequest(params) // -// // Example sending a request using the DeleteAppInstanceUserRequest method. -// req, resp := client.DeleteAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceUser func (c *ChimeSDKIdentity) DeleteAppInstanceUserRequest(input *DeleteAppInstanceUserInput) (req *request.Request, output *DeleteAppInstanceUserOutput) { @@ -584,30 +583,31 @@ func (c *ChimeSDKIdentity) DeleteAppInstanceUserRequest(input *DeleteAppInstance // API operation DeleteAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceUser func (c *ChimeSDKIdentity) DeleteAppInstanceUser(input *DeleteAppInstanceUserInput) (*DeleteAppInstanceUserOutput, error) { @@ -647,14 +647,13 @@ const opDeregisterAppInstanceUserEndpoint = "DeregisterAppInstanceUserEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterAppInstanceUserEndpointRequest method. +// req, resp := client.DeregisterAppInstanceUserEndpointRequest(params) // -// // Example sending a request using the DeregisterAppInstanceUserEndpointRequest method. -// req, resp := client.DeregisterAppInstanceUserEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint func (c *ChimeSDKIdentity) DeregisterAppInstanceUserEndpointRequest(input *DeregisterAppInstanceUserEndpointInput) (req *request.Request, output *DeregisterAppInstanceUserEndpointOutput) { @@ -686,23 +685,24 @@ func (c *ChimeSDKIdentity) DeregisterAppInstanceUserEndpointRequest(input *Dereg // API operation DeregisterAppInstanceUserEndpoint for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint func (c *ChimeSDKIdentity) DeregisterAppInstanceUserEndpoint(input *DeregisterAppInstanceUserEndpointInput) (*DeregisterAppInstanceUserEndpointOutput, error) { @@ -742,14 +742,13 @@ const opDescribeAppInstance = "DescribeAppInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAppInstanceRequest method. +// req, resp := client.DescribeAppInstanceRequest(params) // -// // Example sending a request using the DescribeAppInstanceRequest method. -// req, resp := client.DescribeAppInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstance func (c *ChimeSDKIdentity) DescribeAppInstanceRequest(input *DescribeAppInstanceInput) (req *request.Request, output *DescribeAppInstanceOutput) { @@ -780,23 +779,24 @@ func (c *ChimeSDKIdentity) DescribeAppInstanceRequest(input *DescribeAppInstance // API operation DescribeAppInstance for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstance func (c *ChimeSDKIdentity) DescribeAppInstance(input *DescribeAppInstanceInput) (*DescribeAppInstanceOutput, error) { @@ -836,14 +836,13 @@ const opDescribeAppInstanceAdmin = "DescribeAppInstanceAdmin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAppInstanceAdminRequest method. +// req, resp := client.DescribeAppInstanceAdminRequest(params) // -// // Example sending a request using the DescribeAppInstanceAdminRequest method. -// req, resp := client.DescribeAppInstanceAdminRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdmin func (c *ChimeSDKIdentity) DescribeAppInstanceAdminRequest(input *DescribeAppInstanceAdminInput) (req *request.Request, output *DescribeAppInstanceAdminOutput) { @@ -874,23 +873,24 @@ func (c *ChimeSDKIdentity) DescribeAppInstanceAdminRequest(input *DescribeAppIns // API operation DescribeAppInstanceAdmin for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdmin func (c *ChimeSDKIdentity) DescribeAppInstanceAdmin(input *DescribeAppInstanceAdminInput) (*DescribeAppInstanceAdminOutput, error) { @@ -930,14 +930,13 @@ const opDescribeAppInstanceUser = "DescribeAppInstanceUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAppInstanceUserRequest method. +// req, resp := client.DescribeAppInstanceUserRequest(params) // -// // Example sending a request using the DescribeAppInstanceUserRequest method. -// req, resp := client.DescribeAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUser func (c *ChimeSDKIdentity) DescribeAppInstanceUserRequest(input *DescribeAppInstanceUserInput) (req *request.Request, output *DescribeAppInstanceUserOutput) { @@ -968,23 +967,24 @@ func (c *ChimeSDKIdentity) DescribeAppInstanceUserRequest(input *DescribeAppInst // API operation DescribeAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUser func (c *ChimeSDKIdentity) DescribeAppInstanceUser(input *DescribeAppInstanceUserInput) (*DescribeAppInstanceUserOutput, error) { @@ -1024,14 +1024,13 @@ const opDescribeAppInstanceUserEndpoint = "DescribeAppInstanceUserEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAppInstanceUserEndpointRequest method. +// req, resp := client.DescribeAppInstanceUserEndpointRequest(params) // -// // Example sending a request using the DescribeAppInstanceUserEndpointRequest method. -// req, resp := client.DescribeAppInstanceUserEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint func (c *ChimeSDKIdentity) DescribeAppInstanceUserEndpointRequest(input *DescribeAppInstanceUserEndpointInput) (req *request.Request, output *DescribeAppInstanceUserEndpointOutput) { @@ -1062,23 +1061,24 @@ func (c *ChimeSDKIdentity) DescribeAppInstanceUserEndpointRequest(input *Describ // API operation DescribeAppInstanceUserEndpoint for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint func (c *ChimeSDKIdentity) DescribeAppInstanceUserEndpoint(input *DescribeAppInstanceUserEndpointInput) (*DescribeAppInstanceUserEndpointOutput, error) { @@ -1118,14 +1118,13 @@ const opGetAppInstanceRetentionSettings = "GetAppInstanceRetentionSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAppInstanceRetentionSettingsRequest method. +// req, resp := client.GetAppInstanceRetentionSettingsRequest(params) // -// // Example sending a request using the GetAppInstanceRetentionSettingsRequest method. -// req, resp := client.GetAppInstanceRetentionSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettings func (c *ChimeSDKIdentity) GetAppInstanceRetentionSettingsRequest(input *GetAppInstanceRetentionSettingsInput) (req *request.Request, output *GetAppInstanceRetentionSettingsOutput) { @@ -1156,23 +1155,24 @@ func (c *ChimeSDKIdentity) GetAppInstanceRetentionSettingsRequest(input *GetAppI // API operation GetAppInstanceRetentionSettings for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettings func (c *ChimeSDKIdentity) GetAppInstanceRetentionSettings(input *GetAppInstanceRetentionSettingsInput) (*GetAppInstanceRetentionSettingsOutput, error) { @@ -1212,14 +1212,13 @@ const opListAppInstanceAdmins = "ListAppInstanceAdmins" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppInstanceAdminsRequest method. +// req, resp := client.ListAppInstanceAdminsRequest(params) // -// // Example sending a request using the ListAppInstanceAdminsRequest method. -// req, resp := client.ListAppInstanceAdminsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdmins func (c *ChimeSDKIdentity) ListAppInstanceAdminsRequest(input *ListAppInstanceAdminsInput) (req *request.Request, output *ListAppInstanceAdminsOutput) { @@ -1256,26 +1255,27 @@ func (c *ChimeSDKIdentity) ListAppInstanceAdminsRequest(input *ListAppInstanceAd // API operation ListAppInstanceAdmins for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdmins func (c *ChimeSDKIdentity) ListAppInstanceAdmins(input *ListAppInstanceAdminsInput) (*ListAppInstanceAdminsOutput, error) { @@ -1307,15 +1307,14 @@ func (c *ChimeSDKIdentity) ListAppInstanceAdminsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppInstanceAdmins operation. -// pageNum := 0 -// err := client.ListAppInstanceAdminsPages(params, -// func(page *chimesdkidentity.ListAppInstanceAdminsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppInstanceAdmins operation. +// pageNum := 0 +// err := client.ListAppInstanceAdminsPages(params, +// func(page *chimesdkidentity.ListAppInstanceAdminsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ChimeSDKIdentity) ListAppInstanceAdminsPages(input *ListAppInstanceAdminsInput, fn func(*ListAppInstanceAdminsOutput, bool) bool) error { return c.ListAppInstanceAdminsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1367,14 +1366,13 @@ const opListAppInstanceUserEndpoints = "ListAppInstanceUserEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppInstanceUserEndpointsRequest method. +// req, resp := client.ListAppInstanceUserEndpointsRequest(params) // -// // Example sending a request using the ListAppInstanceUserEndpointsRequest method. -// req, resp := client.ListAppInstanceUserEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints func (c *ChimeSDKIdentity) ListAppInstanceUserEndpointsRequest(input *ListAppInstanceUserEndpointsInput) (req *request.Request, output *ListAppInstanceUserEndpointsOutput) { @@ -1411,23 +1409,24 @@ func (c *ChimeSDKIdentity) ListAppInstanceUserEndpointsRequest(input *ListAppIns // API operation ListAppInstanceUserEndpoints for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints func (c *ChimeSDKIdentity) ListAppInstanceUserEndpoints(input *ListAppInstanceUserEndpointsInput) (*ListAppInstanceUserEndpointsOutput, error) { @@ -1459,15 +1458,14 @@ func (c *ChimeSDKIdentity) ListAppInstanceUserEndpointsWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppInstanceUserEndpoints operation. -// pageNum := 0 -// err := client.ListAppInstanceUserEndpointsPages(params, -// func(page *chimesdkidentity.ListAppInstanceUserEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppInstanceUserEndpoints operation. +// pageNum := 0 +// err := client.ListAppInstanceUserEndpointsPages(params, +// func(page *chimesdkidentity.ListAppInstanceUserEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ChimeSDKIdentity) ListAppInstanceUserEndpointsPages(input *ListAppInstanceUserEndpointsInput, fn func(*ListAppInstanceUserEndpointsOutput, bool) bool) error { return c.ListAppInstanceUserEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1519,14 +1517,13 @@ const opListAppInstanceUsers = "ListAppInstanceUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppInstanceUsersRequest method. +// req, resp := client.ListAppInstanceUsersRequest(params) // -// // Example sending a request using the ListAppInstanceUsersRequest method. -// req, resp := client.ListAppInstanceUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsers func (c *ChimeSDKIdentity) ListAppInstanceUsersRequest(input *ListAppInstanceUsersInput) (req *request.Request, output *ListAppInstanceUsersOutput) { @@ -1563,23 +1560,24 @@ func (c *ChimeSDKIdentity) ListAppInstanceUsersRequest(input *ListAppInstanceUse // API operation ListAppInstanceUsers for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsers func (c *ChimeSDKIdentity) ListAppInstanceUsers(input *ListAppInstanceUsersInput) (*ListAppInstanceUsersOutput, error) { @@ -1611,15 +1609,14 @@ func (c *ChimeSDKIdentity) ListAppInstanceUsersWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppInstanceUsers operation. -// pageNum := 0 -// err := client.ListAppInstanceUsersPages(params, -// func(page *chimesdkidentity.ListAppInstanceUsersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppInstanceUsers operation. +// pageNum := 0 +// err := client.ListAppInstanceUsersPages(params, +// func(page *chimesdkidentity.ListAppInstanceUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ChimeSDKIdentity) ListAppInstanceUsersPages(input *ListAppInstanceUsersInput, fn func(*ListAppInstanceUsersOutput, bool) bool) error { return c.ListAppInstanceUsersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1671,14 +1668,13 @@ const opListAppInstances = "ListAppInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppInstancesRequest method. +// req, resp := client.ListAppInstancesRequest(params) // -// // Example sending a request using the ListAppInstancesRequest method. -// req, resp := client.ListAppInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstances func (c *ChimeSDKIdentity) ListAppInstancesRequest(input *ListAppInstancesInput) (req *request.Request, output *ListAppInstancesOutput) { @@ -1715,23 +1711,24 @@ func (c *ChimeSDKIdentity) ListAppInstancesRequest(input *ListAppInstancesInput) // API operation ListAppInstances for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstances func (c *ChimeSDKIdentity) ListAppInstances(input *ListAppInstancesInput) (*ListAppInstancesOutput, error) { @@ -1763,15 +1760,14 @@ func (c *ChimeSDKIdentity) ListAppInstancesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppInstances operation. -// pageNum := 0 -// err := client.ListAppInstancesPages(params, -// func(page *chimesdkidentity.ListAppInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppInstances operation. +// pageNum := 0 +// err := client.ListAppInstancesPages(params, +// func(page *chimesdkidentity.ListAppInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ChimeSDKIdentity) ListAppInstancesPages(input *ListAppInstancesInput, fn func(*ListAppInstancesOutput, bool) bool) error { return c.ListAppInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1823,14 +1819,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListTagsForResource func (c *ChimeSDKIdentity) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1861,23 +1856,24 @@ func (c *ChimeSDKIdentity) ListTagsForResourceRequest(input *ListTagsForResource // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListTagsForResource func (c *ChimeSDKIdentity) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1917,14 +1913,13 @@ const opPutAppInstanceRetentionSettings = "PutAppInstanceRetentionSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAppInstanceRetentionSettingsRequest method. +// req, resp := client.PutAppInstanceRetentionSettingsRequest(params) // -// // Example sending a request using the PutAppInstanceRetentionSettingsRequest method. -// req, resp := client.PutAppInstanceRetentionSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettings func (c *ChimeSDKIdentity) PutAppInstanceRetentionSettingsRequest(input *PutAppInstanceRetentionSettingsInput) (req *request.Request, output *PutAppInstanceRetentionSettingsOutput) { @@ -1955,23 +1950,24 @@ func (c *ChimeSDKIdentity) PutAppInstanceRetentionSettingsRequest(input *PutAppI // API operation PutAppInstanceRetentionSettings for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettings func (c *ChimeSDKIdentity) PutAppInstanceRetentionSettings(input *PutAppInstanceRetentionSettingsInput) (*PutAppInstanceRetentionSettingsOutput, error) { @@ -2011,14 +2007,13 @@ const opRegisterAppInstanceUserEndpoint = "RegisterAppInstanceUserEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterAppInstanceUserEndpointRequest method. +// req, resp := client.RegisterAppInstanceUserEndpointRequest(params) // -// // Example sending a request using the RegisterAppInstanceUserEndpointRequest method. -// req, resp := client.RegisterAppInstanceUserEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint func (c *ChimeSDKIdentity) RegisterAppInstanceUserEndpointRequest(input *RegisterAppInstanceUserEndpointInput) (req *request.Request, output *RegisterAppInstanceUserEndpointOutput) { @@ -2051,30 +2046,31 @@ func (c *ChimeSDKIdentity) RegisterAppInstanceUserEndpointRequest(input *Registe // API operation RegisterAppInstanceUserEndpoint for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint func (c *ChimeSDKIdentity) RegisterAppInstanceUserEndpoint(input *RegisterAppInstanceUserEndpointInput) (*RegisterAppInstanceUserEndpointOutput, error) { @@ -2114,14 +2110,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/TagResource func (c *ChimeSDKIdentity) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2153,26 +2148,27 @@ func (c *ChimeSDKIdentity) TagResourceRequest(input *TagResourceInput) (req *req // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/TagResource func (c *ChimeSDKIdentity) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2212,14 +2208,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UntagResource func (c *ChimeSDKIdentity) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2251,23 +2246,24 @@ func (c *ChimeSDKIdentity) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UntagResource func (c *ChimeSDKIdentity) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2307,14 +2303,13 @@ const opUpdateAppInstance = "UpdateAppInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAppInstanceRequest method. +// req, resp := client.UpdateAppInstanceRequest(params) // -// // Example sending a request using the UpdateAppInstanceRequest method. -// req, resp := client.UpdateAppInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstance func (c *ChimeSDKIdentity) UpdateAppInstanceRequest(input *UpdateAppInstanceInput) (req *request.Request, output *UpdateAppInstanceOutput) { @@ -2345,27 +2340,28 @@ func (c *ChimeSDKIdentity) UpdateAppInstanceRequest(input *UpdateAppInstanceInpu // API operation UpdateAppInstance for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstance func (c *ChimeSDKIdentity) UpdateAppInstance(input *UpdateAppInstanceInput) (*UpdateAppInstanceOutput, error) { @@ -2405,14 +2401,13 @@ const opUpdateAppInstanceUser = "UpdateAppInstanceUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAppInstanceUserRequest method. +// req, resp := client.UpdateAppInstanceUserRequest(params) // -// // Example sending a request using the UpdateAppInstanceUserRequest method. -// req, resp := client.UpdateAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUser func (c *ChimeSDKIdentity) UpdateAppInstanceUserRequest(input *UpdateAppInstanceUserInput) (req *request.Request, output *UpdateAppInstanceUserOutput) { @@ -2443,30 +2438,31 @@ func (c *ChimeSDKIdentity) UpdateAppInstanceUserRequest(input *UpdateAppInstance // API operation UpdateAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUser func (c *ChimeSDKIdentity) UpdateAppInstanceUser(input *UpdateAppInstanceUserInput) (*UpdateAppInstanceUserOutput, error) { @@ -2506,14 +2502,13 @@ const opUpdateAppInstanceUserEndpoint = "UpdateAppInstanceUserEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAppInstanceUserEndpointRequest method. +// req, resp := client.UpdateAppInstanceUserEndpointRequest(params) // -// // Example sending a request using the UpdateAppInstanceUserEndpointRequest method. -// req, resp := client.UpdateAppInstanceUserEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint func (c *ChimeSDKIdentity) UpdateAppInstanceUserEndpointRequest(input *UpdateAppInstanceUserEndpointInput) (req *request.Request, output *UpdateAppInstanceUserEndpointOutput) { @@ -2545,27 +2540,28 @@ func (c *ChimeSDKIdentity) UpdateAppInstanceUserEndpointRequest(input *UpdateApp // API operation UpdateAppInstanceUserEndpoint for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint func (c *ChimeSDKIdentity) UpdateAppInstanceUserEndpoint(input *UpdateAppInstanceUserEndpointInput) (*UpdateAppInstanceUserEndpointOutput, error) { @@ -4583,19 +4579,19 @@ func (s *EndpointAttributes) SetVoipDeviceToken(v string) *EndpointAttributes { // A read-only field that represents the state of an AppInstanceUserEndpoint. // Supported values: // -// * ACTIVE: The AppInstanceUserEndpoint is active and able to receive messages. -// When ACTIVE, the EndpointStatusReason remains empty. +// - ACTIVE: The AppInstanceUserEndpoint is active and able to receive messages. +// When ACTIVE, the EndpointStatusReason remains empty. // -// * INACTIVE: The AppInstanceUserEndpoint is inactive and can't receive -// message. When INACTIVE, the corresponding reason will be conveyed through -// EndpointStatusReason. +// - INACTIVE: The AppInstanceUserEndpoint is inactive and can't receive +// message. When INACTIVE, the corresponding reason will be conveyed through +// EndpointStatusReason. // -// * INVALID_DEVICE_TOKEN indicates that an AppInstanceUserEndpoint is INACTIVE -// due to invalid device token +// - INVALID_DEVICE_TOKEN indicates that an AppInstanceUserEndpoint is INACTIVE +// due to invalid device token // -// * INVALID_PINPOINT_ARN indicates that an AppInstanceUserEndpoint is INACTIVE -// due to an invalid pinpoint ARN that was input through the ResourceArn -// field. +// - INVALID_PINPOINT_ARN indicates that an AppInstanceUserEndpoint is INACTIVE +// due to an invalid pinpoint ARN that was input through the ResourceArn +// field. type EndpointState struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/chimesdkidentityiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/chimesdkidentityiface/interface.go index b6233098386d..79b3b8e3aef3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/chimesdkidentityiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/chimesdkidentityiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Chime SDK Identity. -// func myFunc(svc chimesdkidentityiface.ChimeSDKIdentityAPI) bool { -// // Make svc.CreateAppInstance request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Chime SDK Identity. +// func myFunc(svc chimesdkidentityiface.ChimeSDKIdentityAPI) bool { +// // Make svc.CreateAppInstance request +// } // -// func main() { -// sess := session.New() -// svc := chimesdkidentity.New(sess) +// func main() { +// sess := session.New() +// svc := chimesdkidentity.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockChimeSDKIdentityClient struct { -// chimesdkidentityiface.ChimeSDKIdentityAPI -// } -// func (m *mockChimeSDKIdentityClient) CreateAppInstance(input *chimesdkidentity.CreateAppInstanceInput) (*chimesdkidentity.CreateAppInstanceOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockChimeSDKIdentityClient struct { +// chimesdkidentityiface.ChimeSDKIdentityAPI +// } +// func (m *mockChimeSDKIdentityClient) CreateAppInstance(input *chimesdkidentity.CreateAppInstanceInput) (*chimesdkidentity.CreateAppInstanceOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockChimeSDKIdentityClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockChimeSDKIdentityClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/doc.go index d467aa175afd..d9c47c025f5f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/doc.go @@ -14,7 +14,7 @@ // See chimesdkidentity package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/chimesdkidentity/ // -// Using the Client +// # Using the Client // // To contact Amazon Chime SDK Identity with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/service.go index 3e9b27db591d..31c12bb7cb79 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkidentity/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ChimeSDKIdentity client from just a session. -// svc := chimesdkidentity.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ChimeSDKIdentity client with additional configuration -// svc := chimesdkidentity.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ChimeSDKIdentity client from just a session. +// svc := chimesdkidentity.New(mySession) +// +// // Create a ChimeSDKIdentity client with additional configuration +// svc := chimesdkidentity.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ChimeSDKIdentity { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/api.go index 8fad1ea53c42..0ef413604708 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/api.go @@ -29,14 +29,13 @@ const opCreateMediaCapturePipeline = "CreateMediaCapturePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMediaCapturePipelineRequest method. +// req, resp := client.CreateMediaCapturePipelineRequest(params) // -// // Example sending a request using the CreateMediaCapturePipelineRequest method. -// req, resp := client.CreateMediaCapturePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-media-pipelines-2021-07-15/CreateMediaCapturePipeline func (c *ChimeSDKMediaPipelines) CreateMediaCapturePipelineRequest(input *CreateMediaCapturePipelineInput) (req *request.Request, output *CreateMediaCapturePipelineOutput) { @@ -67,26 +66,27 @@ func (c *ChimeSDKMediaPipelines) CreateMediaCapturePipelineRequest(input *Create // API operation CreateMediaCapturePipeline for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-media-pipelines-2021-07-15/CreateMediaCapturePipeline func (c *ChimeSDKMediaPipelines) CreateMediaCapturePipeline(input *CreateMediaCapturePipelineInput) (*CreateMediaCapturePipelineOutput, error) { @@ -126,14 +126,13 @@ const opDeleteMediaCapturePipeline = "DeleteMediaCapturePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMediaCapturePipelineRequest method. +// req, resp := client.DeleteMediaCapturePipelineRequest(params) // -// // Example sending a request using the DeleteMediaCapturePipelineRequest method. -// req, resp := client.DeleteMediaCapturePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-media-pipelines-2021-07-15/DeleteMediaCapturePipeline func (c *ChimeSDKMediaPipelines) DeleteMediaCapturePipelineRequest(input *DeleteMediaCapturePipelineInput) (req *request.Request, output *DeleteMediaCapturePipelineOutput) { @@ -165,26 +164,27 @@ func (c *ChimeSDKMediaPipelines) DeleteMediaCapturePipelineRequest(input *Delete // API operation DeleteMediaCapturePipeline for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-media-pipelines-2021-07-15/DeleteMediaCapturePipeline func (c *ChimeSDKMediaPipelines) DeleteMediaCapturePipeline(input *DeleteMediaCapturePipelineInput) (*DeleteMediaCapturePipelineOutput, error) { @@ -224,14 +224,13 @@ const opGetMediaCapturePipeline = "GetMediaCapturePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMediaCapturePipelineRequest method. +// req, resp := client.GetMediaCapturePipelineRequest(params) // -// // Example sending a request using the GetMediaCapturePipelineRequest method. -// req, resp := client.GetMediaCapturePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-media-pipelines-2021-07-15/GetMediaCapturePipeline func (c *ChimeSDKMediaPipelines) GetMediaCapturePipelineRequest(input *GetMediaCapturePipelineInput) (req *request.Request, output *GetMediaCapturePipelineOutput) { @@ -262,26 +261,27 @@ func (c *ChimeSDKMediaPipelines) GetMediaCapturePipelineRequest(input *GetMediaC // API operation GetMediaCapturePipeline for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-media-pipelines-2021-07-15/GetMediaCapturePipeline func (c *ChimeSDKMediaPipelines) GetMediaCapturePipeline(input *GetMediaCapturePipelineInput) (*GetMediaCapturePipelineOutput, error) { @@ -321,14 +321,13 @@ const opListMediaCapturePipelines = "ListMediaCapturePipelines" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMediaCapturePipelinesRequest method. +// req, resp := client.ListMediaCapturePipelinesRequest(params) // -// // Example sending a request using the ListMediaCapturePipelinesRequest method. -// req, resp := client.ListMediaCapturePipelinesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-media-pipelines-2021-07-15/ListMediaCapturePipelines func (c *ChimeSDKMediaPipelines) ListMediaCapturePipelinesRequest(input *ListMediaCapturePipelinesInput) (req *request.Request, output *ListMediaCapturePipelinesOutput) { @@ -365,26 +364,27 @@ func (c *ChimeSDKMediaPipelines) ListMediaCapturePipelinesRequest(input *ListMed // API operation ListMediaCapturePipelines for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-media-pipelines-2021-07-15/ListMediaCapturePipelines func (c *ChimeSDKMediaPipelines) ListMediaCapturePipelines(input *ListMediaCapturePipelinesInput) (*ListMediaCapturePipelinesOutput, error) { @@ -416,15 +416,14 @@ func (c *ChimeSDKMediaPipelines) ListMediaCapturePipelinesWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMediaCapturePipelines operation. -// pageNum := 0 -// err := client.ListMediaCapturePipelinesPages(params, -// func(page *chimesdkmediapipelines.ListMediaCapturePipelinesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMediaCapturePipelines operation. +// pageNum := 0 +// err := client.ListMediaCapturePipelinesPages(params, +// func(page *chimesdkmediapipelines.ListMediaCapturePipelinesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ChimeSDKMediaPipelines) ListMediaCapturePipelinesPages(input *ListMediaCapturePipelinesInput, fn func(*ListMediaCapturePipelinesOutput, bool) bool) error { return c.ListMediaCapturePipelinesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -476,14 +475,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-media-pipelines-2021-07-15/ListTagsForResource func (c *ChimeSDKMediaPipelines) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -514,26 +512,27 @@ func (c *ChimeSDKMediaPipelines) ListTagsForResourceRequest(input *ListTagsForRe // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-media-pipelines-2021-07-15/ListTagsForResource func (c *ChimeSDKMediaPipelines) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -573,14 +572,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-media-pipelines-2021-07-15/TagResource func (c *ChimeSDKMediaPipelines) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -613,26 +611,27 @@ func (c *ChimeSDKMediaPipelines) TagResourceRequest(input *TagResourceInput) (re // API operation TagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-media-pipelines-2021-07-15/TagResource func (c *ChimeSDKMediaPipelines) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -672,14 +671,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-media-pipelines-2021-07-15/UntagResource func (c *ChimeSDKMediaPipelines) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -712,26 +710,27 @@ func (c *ChimeSDKMediaPipelines) UntagResourceRequest(input *UntagResourceInput) // API operation UntagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. +// +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-media-pipelines-2021-07-15/UntagResource func (c *ChimeSDKMediaPipelines) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/chimesdkmediapipelinesiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/chimesdkmediapipelinesiface/interface.go index 776e4722a408..7bfd59308dff 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/chimesdkmediapipelinesiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/chimesdkmediapipelinesiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Chime SDK Media Pipelines. -// func myFunc(svc chimesdkmediapipelinesiface.ChimeSDKMediaPipelinesAPI) bool { -// // Make svc.CreateMediaCapturePipeline request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Chime SDK Media Pipelines. +// func myFunc(svc chimesdkmediapipelinesiface.ChimeSDKMediaPipelinesAPI) bool { +// // Make svc.CreateMediaCapturePipeline request +// } // -// func main() { -// sess := session.New() -// svc := chimesdkmediapipelines.New(sess) +// func main() { +// sess := session.New() +// svc := chimesdkmediapipelines.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockChimeSDKMediaPipelinesClient struct { -// chimesdkmediapipelinesiface.ChimeSDKMediaPipelinesAPI -// } -// func (m *mockChimeSDKMediaPipelinesClient) CreateMediaCapturePipeline(input *chimesdkmediapipelines.CreateMediaCapturePipelineInput) (*chimesdkmediapipelines.CreateMediaCapturePipelineOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockChimeSDKMediaPipelinesClient struct { +// chimesdkmediapipelinesiface.ChimeSDKMediaPipelinesAPI +// } +// func (m *mockChimeSDKMediaPipelinesClient) CreateMediaCapturePipeline(input *chimesdkmediapipelines.CreateMediaCapturePipelineInput) (*chimesdkmediapipelines.CreateMediaCapturePipelineOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockChimeSDKMediaPipelinesClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockChimeSDKMediaPipelinesClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/doc.go index 0262a3ef9baf..6e126597d6e0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/doc.go @@ -13,7 +13,7 @@ // See chimesdkmediapipelines package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/chimesdkmediapipelines/ // -// Using the Client +// # Using the Client // // To contact Amazon Chime SDK Media Pipelines with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/service.go index 564f13eb1f04..7f5a3860e5da 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmediapipelines/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ChimeSDKMediaPipelines client from just a session. -// svc := chimesdkmediapipelines.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ChimeSDKMediaPipelines client with additional configuration -// svc := chimesdkmediapipelines.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ChimeSDKMediaPipelines client from just a session. +// svc := chimesdkmediapipelines.New(mySession) +// +// // Create a ChimeSDKMediaPipelines client with additional configuration +// svc := chimesdkmediapipelines.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ChimeSDKMediaPipelines { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/api.go index e4cdaf28d5f6..7387b55cf86a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/api.go @@ -28,14 +28,13 @@ const opBatchCreateAttendee = "BatchCreateAttendee" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchCreateAttendeeRequest method. +// req, resp := client.BatchCreateAttendeeRequest(params) // -// // Example sending a request using the BatchCreateAttendeeRequest method. -// req, resp := client.BatchCreateAttendeeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/BatchCreateAttendee func (c *ChimeSDKMeetings) BatchCreateAttendeeRequest(input *BatchCreateAttendeeInput) (req *request.Request, output *BatchCreateAttendeeOutput) { @@ -68,33 +67,34 @@ func (c *ChimeSDKMeetings) BatchCreateAttendeeRequest(input *BatchCreateAttendee // API operation BatchCreateAttendee for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedException -// The user isn't authorized to request a resource. +// - UnauthorizedException +// The user isn't authorized to request a resource. // -// * UnprocessableEntityException -// The request was well-formed but was unable to be followed due to semantic -// errors. +// - UnprocessableEntityException +// The request was well-formed but was unable to be followed due to semantic +// errors. // -// * LimitExceededException -// The request exceeds the resource limit. +// - LimitExceededException +// The request exceeds the resource limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // -// * ThrottlingException -// The number of customer requests exceeds the request rate limit. +// - ThrottlingException +// The number of customer requests exceeds the request rate limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/BatchCreateAttendee func (c *ChimeSDKMeetings) BatchCreateAttendee(input *BatchCreateAttendeeInput) (*BatchCreateAttendeeOutput, error) { @@ -134,14 +134,13 @@ const opCreateAttendee = "CreateAttendee" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAttendeeRequest method. +// req, resp := client.CreateAttendeeRequest(params) // -// // Example sending a request using the CreateAttendeeRequest method. -// req, resp := client.CreateAttendeeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/CreateAttendee func (c *ChimeSDKMeetings) CreateAttendeeRequest(input *CreateAttendeeInput) (req *request.Request, output *CreateAttendeeOutput) { @@ -174,33 +173,34 @@ func (c *ChimeSDKMeetings) CreateAttendeeRequest(input *CreateAttendeeInput) (re // API operation CreateAttendee for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedException -// The user isn't authorized to request a resource. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnprocessableEntityException -// The request was well-formed but was unable to be followed due to semantic -// errors. +// - UnauthorizedException +// The user isn't authorized to request a resource. // -// * LimitExceededException -// The request exceeds the resource limit. +// - UnprocessableEntityException +// The request was well-formed but was unable to be followed due to semantic +// errors. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - LimitExceededException +// The request exceeds the resource limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ThrottlingException -// The number of customer requests exceeds the request rate limit. +// - ServiceFailureException +// The service encountered an unexpected error. +// +// - ThrottlingException +// The number of customer requests exceeds the request rate limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/CreateAttendee func (c *ChimeSDKMeetings) CreateAttendee(input *CreateAttendeeInput) (*CreateAttendeeOutput, error) { @@ -240,14 +240,13 @@ const opCreateMeeting = "CreateMeeting" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMeetingRequest method. +// req, resp := client.CreateMeetingRequest(params) // -// // Example sending a request using the CreateMeetingRequest method. -// req, resp := client.CreateMeetingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/CreateMeeting func (c *ChimeSDKMeetings) CreateMeetingRequest(input *CreateMeetingInput) (req *request.Request, output *CreateMeetingOutput) { @@ -283,26 +282,27 @@ func (c *ChimeSDKMeetings) CreateMeetingRequest(input *CreateMeetingInput) (req // API operation CreateMeeting for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedException -// The user isn't authorized to request a resource. +// - UnauthorizedException +// The user isn't authorized to request a resource. // -// * ThrottlingException -// The number of customer requests exceeds the request rate limit. +// - ThrottlingException +// The number of customer requests exceeds the request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * LimitExceededException -// The request exceeds the resource limit. +// - LimitExceededException +// The request exceeds the resource limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/CreateMeeting func (c *ChimeSDKMeetings) CreateMeeting(input *CreateMeetingInput) (*CreateMeetingOutput, error) { @@ -342,14 +342,13 @@ const opCreateMeetingWithAttendees = "CreateMeetingWithAttendees" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMeetingWithAttendeesRequest method. +// req, resp := client.CreateMeetingWithAttendeesRequest(params) // -// // Example sending a request using the CreateMeetingWithAttendeesRequest method. -// req, resp := client.CreateMeetingWithAttendeesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/CreateMeetingWithAttendees func (c *ChimeSDKMeetings) CreateMeetingWithAttendeesRequest(input *CreateMeetingWithAttendeesInput) (req *request.Request, output *CreateMeetingWithAttendeesOutput) { @@ -385,26 +384,27 @@ func (c *ChimeSDKMeetings) CreateMeetingWithAttendeesRequest(input *CreateMeetin // API operation CreateMeetingWithAttendees for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedException -// The user isn't authorized to request a resource. +// - UnauthorizedException +// The user isn't authorized to request a resource. // -// * ThrottlingException -// The number of customer requests exceeds the request rate limit. +// - ThrottlingException +// The number of customer requests exceeds the request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * LimitExceededException -// The request exceeds the resource limit. +// - LimitExceededException +// The request exceeds the resource limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/CreateMeetingWithAttendees func (c *ChimeSDKMeetings) CreateMeetingWithAttendees(input *CreateMeetingWithAttendeesInput) (*CreateMeetingWithAttendeesOutput, error) { @@ -444,14 +444,13 @@ const opDeleteAttendee = "DeleteAttendee" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAttendeeRequest method. +// req, resp := client.DeleteAttendeeRequest(params) // -// // Example sending a request using the DeleteAttendeeRequest method. -// req, resp := client.DeleteAttendeeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/DeleteAttendee func (c *ChimeSDKMeetings) DeleteAttendeeRequest(input *DeleteAttendeeInput) (req *request.Request, output *DeleteAttendeeOutput) { @@ -487,26 +486,27 @@ func (c *ChimeSDKMeetings) DeleteAttendeeRequest(input *DeleteAttendeeInput) (re // API operation DeleteAttendee for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedException -// The user isn't authorized to request a resource. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedException +// The user isn't authorized to request a resource. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ThrottlingException -// The number of customer requests exceeds the request rate limit. +// - ServiceFailureException +// The service encountered an unexpected error. +// +// - ThrottlingException +// The number of customer requests exceeds the request rate limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/DeleteAttendee func (c *ChimeSDKMeetings) DeleteAttendee(input *DeleteAttendeeInput) (*DeleteAttendeeOutput, error) { @@ -546,14 +546,13 @@ const opDeleteMeeting = "DeleteMeeting" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMeetingRequest method. +// req, resp := client.DeleteMeetingRequest(params) // -// // Example sending a request using the DeleteMeetingRequest method. -// req, resp := client.DeleteMeetingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/DeleteMeeting func (c *ChimeSDKMeetings) DeleteMeetingRequest(input *DeleteMeetingInput) (req *request.Request, output *DeleteMeetingOutput) { @@ -589,26 +588,27 @@ func (c *ChimeSDKMeetings) DeleteMeetingRequest(input *DeleteMeetingInput) (req // API operation DeleteMeeting for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedException -// The user isn't authorized to request a resource. +// - UnauthorizedException +// The user isn't authorized to request a resource. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // -// * ThrottlingException -// The number of customer requests exceeds the request rate limit. +// - ThrottlingException +// The number of customer requests exceeds the request rate limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/DeleteMeeting func (c *ChimeSDKMeetings) DeleteMeeting(input *DeleteMeetingInput) (*DeleteMeetingOutput, error) { @@ -648,14 +648,13 @@ const opGetAttendee = "GetAttendee" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAttendeeRequest method. +// req, resp := client.GetAttendeeRequest(params) // -// // Example sending a request using the GetAttendeeRequest method. -// req, resp := client.GetAttendeeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/GetAttendee func (c *ChimeSDKMeetings) GetAttendeeRequest(input *GetAttendeeInput) (req *request.Request, output *GetAttendeeOutput) { @@ -689,26 +688,27 @@ func (c *ChimeSDKMeetings) GetAttendeeRequest(input *GetAttendeeInput) (req *req // API operation GetAttendee for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedException -// The user isn't authorized to request a resource. +// - UnauthorizedException +// The user isn't authorized to request a resource. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // -// * ThrottlingException -// The number of customer requests exceeds the request rate limit. +// - ThrottlingException +// The number of customer requests exceeds the request rate limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/GetAttendee func (c *ChimeSDKMeetings) GetAttendee(input *GetAttendeeInput) (*GetAttendeeOutput, error) { @@ -748,14 +748,13 @@ const opGetMeeting = "GetMeeting" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMeetingRequest method. +// req, resp := client.GetMeetingRequest(params) // -// // Example sending a request using the GetMeetingRequest method. -// req, resp := client.GetMeetingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/GetMeeting func (c *ChimeSDKMeetings) GetMeetingRequest(input *GetMeetingInput) (req *request.Request, output *GetMeetingOutput) { @@ -789,26 +788,27 @@ func (c *ChimeSDKMeetings) GetMeetingRequest(input *GetMeetingInput) (req *reque // API operation GetMeeting for usage and error information. // // Returned Error Types: -// * NotFoundException -// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedException -// The user isn't authorized to request a resource. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - UnauthorizedException +// The user isn't authorized to request a resource. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ThrottlingException -// The number of customer requests exceeds the request rate limit. +// - ServiceFailureException +// The service encountered an unexpected error. +// +// - ThrottlingException +// The number of customer requests exceeds the request rate limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/GetMeeting func (c *ChimeSDKMeetings) GetMeeting(input *GetMeetingInput) (*GetMeetingOutput, error) { @@ -848,14 +848,13 @@ const opListAttendees = "ListAttendees" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAttendeesRequest method. +// req, resp := client.ListAttendeesRequest(params) // -// // Example sending a request using the ListAttendeesRequest method. -// req, resp := client.ListAttendeesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/ListAttendees func (c *ChimeSDKMeetings) ListAttendeesRequest(input *ListAttendeesInput) (req *request.Request, output *ListAttendeesOutput) { @@ -894,26 +893,27 @@ func (c *ChimeSDKMeetings) ListAttendeesRequest(input *ListAttendeesInput) (req // API operation ListAttendees for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedException -// The user isn't authorized to request a resource. +// - UnauthorizedException +// The user isn't authorized to request a resource. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // -// * ThrottlingException -// The number of customer requests exceeds the request rate limit. +// - ThrottlingException +// The number of customer requests exceeds the request rate limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/ListAttendees func (c *ChimeSDKMeetings) ListAttendees(input *ListAttendeesInput) (*ListAttendeesOutput, error) { @@ -945,15 +945,14 @@ func (c *ChimeSDKMeetings) ListAttendeesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAttendees operation. -// pageNum := 0 -// err := client.ListAttendeesPages(params, -// func(page *chimesdkmeetings.ListAttendeesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAttendees operation. +// pageNum := 0 +// err := client.ListAttendeesPages(params, +// func(page *chimesdkmeetings.ListAttendeesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ChimeSDKMeetings) ListAttendeesPages(input *ListAttendeesInput, fn func(*ListAttendeesOutput, bool) bool) error { return c.ListAttendeesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1005,14 +1004,13 @@ const opStartMeetingTranscription = "StartMeetingTranscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMeetingTranscriptionRequest method. +// req, resp := client.StartMeetingTranscriptionRequest(params) // -// // Example sending a request using the StartMeetingTranscriptionRequest method. -// req, resp := client.StartMeetingTranscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/StartMeetingTranscription func (c *ChimeSDKMeetings) StartMeetingTranscriptionRequest(input *StartMeetingTranscriptionInput) (req *request.Request, output *StartMeetingTranscriptionOutput) { @@ -1044,33 +1042,34 @@ func (c *ChimeSDKMeetings) StartMeetingTranscriptionRequest(input *StartMeetingT // API operation StartMeetingTranscription for usage and error information. // // Returned Error Types: -// * NotFoundException -// One or more of the resources in the request does not exist in the system. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedException -// The user isn't authorized to request a resource. +// - UnauthorizedException +// The user isn't authorized to request a resource. // -// * LimitExceededException -// The request exceeds the resource limit. +// - LimitExceededException +// The request exceeds the resource limit. // -// * UnprocessableEntityException -// The request was well-formed but was unable to be followed due to semantic -// errors. +// - UnprocessableEntityException +// The request was well-formed but was unable to be followed due to semantic +// errors. // -// * ThrottlingException -// The number of customer requests exceeds the request rate limit. +// - ThrottlingException +// The number of customer requests exceeds the request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/StartMeetingTranscription func (c *ChimeSDKMeetings) StartMeetingTranscription(input *StartMeetingTranscriptionInput) (*StartMeetingTranscriptionOutput, error) { @@ -1110,14 +1109,13 @@ const opStopMeetingTranscription = "StopMeetingTranscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopMeetingTranscriptionRequest method. +// req, resp := client.StopMeetingTranscriptionRequest(params) // -// // Example sending a request using the StopMeetingTranscriptionRequest method. -// req, resp := client.StopMeetingTranscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/StopMeetingTranscription func (c *ChimeSDKMeetings) StopMeetingTranscriptionRequest(input *StopMeetingTranscriptionInput) (req *request.Request, output *StopMeetingTranscriptionOutput) { @@ -1149,30 +1147,31 @@ func (c *ChimeSDKMeetings) StopMeetingTranscriptionRequest(input *StopMeetingTra // API operation StopMeetingTranscription for usage and error information. // // Returned Error Types: -// * ForbiddenException -// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. +// +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedException -// The user isn't authorized to request a resource. +// - UnauthorizedException +// The user isn't authorized to request a resource. // -// * UnprocessableEntityException -// The request was well-formed but was unable to be followed due to semantic -// errors. +// - UnprocessableEntityException +// The request was well-formed but was unable to be followed due to semantic +// errors. // -// * ThrottlingException -// The number of customer requests exceeds the request rate limit. +// - ThrottlingException +// The number of customer requests exceeds the request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/StopMeetingTranscription func (c *ChimeSDKMeetings) StopMeetingTranscription(input *StopMeetingTranscriptionInput) (*StopMeetingTranscriptionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/chimesdkmeetingsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/chimesdkmeetingsiface/interface.go index 8219be90c3d2..82c31b8dddc9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/chimesdkmeetingsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/chimesdkmeetingsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Chime SDK Meetings. -// func myFunc(svc chimesdkmeetingsiface.ChimeSDKMeetingsAPI) bool { -// // Make svc.BatchCreateAttendee request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Chime SDK Meetings. +// func myFunc(svc chimesdkmeetingsiface.ChimeSDKMeetingsAPI) bool { +// // Make svc.BatchCreateAttendee request +// } // -// func main() { -// sess := session.New() -// svc := chimesdkmeetings.New(sess) +// func main() { +// sess := session.New() +// svc := chimesdkmeetings.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockChimeSDKMeetingsClient struct { -// chimesdkmeetingsiface.ChimeSDKMeetingsAPI -// } -// func (m *mockChimeSDKMeetingsClient) BatchCreateAttendee(input *chimesdkmeetings.BatchCreateAttendeeInput) (*chimesdkmeetings.BatchCreateAttendeeOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockChimeSDKMeetingsClient struct { +// chimesdkmeetingsiface.ChimeSDKMeetingsAPI +// } +// func (m *mockChimeSDKMeetingsClient) BatchCreateAttendee(input *chimesdkmeetings.BatchCreateAttendeeInput) (*chimesdkmeetings.BatchCreateAttendeeOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockChimeSDKMeetingsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockChimeSDKMeetingsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/doc.go index dbbb5633df82..1afdf758f9f6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/doc.go @@ -13,7 +13,7 @@ // See chimesdkmeetings package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/chimesdkmeetings/ // -// Using the Client +// # Using the Client // // To contact Amazon Chime SDK Meetings with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/service.go index dbf4bd80053a..93c6f16bcd4b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmeetings/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ChimeSDKMeetings client from just a session. -// svc := chimesdkmeetings.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ChimeSDKMeetings client with additional configuration -// svc := chimesdkmeetings.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ChimeSDKMeetings client from just a session. +// svc := chimesdkmeetings.New(mySession) +// +// // Create a ChimeSDKMeetings client with additional configuration +// svc := chimesdkmeetings.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ChimeSDKMeetings { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/api.go index 2ddd735942d9..3db1210b9c3c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/api.go @@ -29,14 +29,13 @@ const opAssociateChannelFlow = "AssociateChannelFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateChannelFlowRequest method. +// req, resp := client.AssociateChannelFlowRequest(params) // -// // Example sending a request using the AssociateChannelFlowRequest method. -// req, resp := client.AssociateChannelFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/AssociateChannelFlow func (c *ChimeSDKMessaging) AssociateChannelFlowRequest(input *AssociateChannelFlowInput) (req *request.Request, output *AssociateChannelFlowOutput) { @@ -74,30 +73,31 @@ func (c *ChimeSDKMessaging) AssociateChannelFlowRequest(input *AssociateChannelF // API operation AssociateChannelFlow for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/AssociateChannelFlow func (c *ChimeSDKMessaging) AssociateChannelFlow(input *AssociateChannelFlowInput) (*AssociateChannelFlowOutput, error) { @@ -137,14 +137,13 @@ const opBatchCreateChannelMembership = "BatchCreateChannelMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchCreateChannelMembershipRequest method. +// req, resp := client.BatchCreateChannelMembershipRequest(params) // -// // Example sending a request using the BatchCreateChannelMembershipRequest method. -// req, resp := client.BatchCreateChannelMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership func (c *ChimeSDKMessaging) BatchCreateChannelMembershipRequest(input *BatchCreateChannelMembershipInput) (req *request.Request, output *BatchCreateChannelMembershipOutput) { @@ -175,23 +174,24 @@ func (c *ChimeSDKMessaging) BatchCreateChannelMembershipRequest(input *BatchCrea // API operation BatchCreateChannelMembership for usage and error information. // // Returned Error Types: -// * ServiceFailureException -// The service encountered an unexpected error. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceFailureException +// The service encountered an unexpected error. +// +// - ServiceUnavailableException +// The service is currently unavailable. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * BadRequestException -// The input parameters don't match the service's restrictions. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership func (c *ChimeSDKMessaging) BatchCreateChannelMembership(input *BatchCreateChannelMembershipInput) (*BatchCreateChannelMembershipOutput, error) { @@ -231,14 +231,13 @@ const opChannelFlowCallback = "ChannelFlowCallback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ChannelFlowCallbackRequest method. +// req, resp := client.ChannelFlowCallbackRequest(params) // -// // Example sending a request using the ChannelFlowCallbackRequest method. -// req, resp := client.ChannelFlowCallbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelFlowCallback func (c *ChimeSDKMessaging) ChannelFlowCallbackRequest(input *ChannelFlowCallbackInput) (req *request.Request, output *ChannelFlowCallbackOutput) { @@ -264,11 +263,11 @@ func (c *ChimeSDKMessaging) ChannelFlowCallbackRequest(input *ChannelFlowCallbac // // You can return one of the following processing responses: // -// * Update message content or metadata +// - Update message content or metadata // -// * Deny a message +// - Deny a message // -// * Make no changes to the message +// - Make no changes to the message // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -278,27 +277,28 @@ func (c *ChimeSDKMessaging) ChannelFlowCallbackRequest(input *ChannelFlowCallbac // API operation ChannelFlowCallback for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelFlowCallback func (c *ChimeSDKMessaging) ChannelFlowCallback(input *ChannelFlowCallbackInput) (*ChannelFlowCallbackOutput, error) { @@ -338,14 +338,13 @@ const opCreateChannel = "CreateChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChannelRequest method. +// req, resp := client.CreateChannelRequest(params) // -// // Example sending a request using the CreateChannelRequest method. -// req, resp := client.CreateChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel func (c *ChimeSDKMessaging) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput) { @@ -381,30 +380,31 @@ func (c *ChimeSDKMessaging) CreateChannelRequest(input *CreateChannelInput) (req // API operation CreateChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel func (c *ChimeSDKMessaging) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error) { @@ -444,14 +444,13 @@ const opCreateChannelBan = "CreateChannelBan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChannelBanRequest method. +// req, resp := client.CreateChannelBanRequest(params) // -// // Example sending a request using the CreateChannelBanRequest method. -// req, resp := client.CreateChannelBanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan func (c *ChimeSDKMessaging) CreateChannelBanRequest(input *CreateChannelBanInput) (req *request.Request, output *CreateChannelBanOutput) { @@ -490,30 +489,31 @@ func (c *ChimeSDKMessaging) CreateChannelBanRequest(input *CreateChannelBanInput // API operation CreateChannelBan for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan func (c *ChimeSDKMessaging) CreateChannelBan(input *CreateChannelBanInput) (*CreateChannelBanOutput, error) { @@ -553,14 +553,13 @@ const opCreateChannelFlow = "CreateChannelFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChannelFlowRequest method. +// req, resp := client.CreateChannelFlowRequest(params) // -// // Example sending a request using the CreateChannelFlowRequest method. -// req, resp := client.CreateChannelFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelFlow func (c *ChimeSDKMessaging) CreateChannelFlowRequest(input *CreateChannelFlowInput) (req *request.Request, output *CreateChannelFlowOutput) { @@ -589,11 +588,11 @@ func (c *ChimeSDKMessaging) CreateChannelFlowRequest(input *CreateChannelFlowInp // // Channel flows process the following items: // -// New and updated messages +// # New and updated messages // // Persistent and non-persistent messages // -// The Standard message type +// # The Standard message type // // Channel flows don't process Control or System messages. For more information // about the message types provided by Chime SDK Messaging, refer to Message @@ -608,30 +607,31 @@ func (c *ChimeSDKMessaging) CreateChannelFlowRequest(input *CreateChannelFlowInp // API operation CreateChannelFlow for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelFlow func (c *ChimeSDKMessaging) CreateChannelFlow(input *CreateChannelFlowInput) (*CreateChannelFlowOutput, error) { @@ -671,14 +671,13 @@ const opCreateChannelMembership = "CreateChannelMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChannelMembershipRequest method. +// req, resp := client.CreateChannelMembershipRequest(params) // -// // Example sending a request using the CreateChannelMembershipRequest method. -// req, resp := client.CreateChannelMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership func (c *ChimeSDKMessaging) CreateChannelMembershipRequest(input *CreateChannelMembershipInput) (req *request.Request, output *CreateChannelMembershipOutput) { @@ -702,22 +701,22 @@ func (c *ChimeSDKMessaging) CreateChannelMembershipRequest(input *CreateChannelM // Adds a user to a channel. The InvitedBy field in ChannelMembership is derived // from the request header. A channel member can: // -// * List messages +// - List messages // -// * Send messages +// - Send messages // -// * Receive messages +// - Receive messages // -// * Edit their own messages +// - Edit their own messages // -// * Leave the channel +// - Leave the channel // // Privacy settings impact this action as follows: // -// * Public Channels: You do not need to be a member to list messages, but -// you must be a member to send messages. +// - Public Channels: You do not need to be a member to list messages, but +// you must be a member to send messages. // -// * Private Channels: You must be a member to list or send messages. +// - Private Channels: You must be a member to list or send messages. // // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn // of the user that makes the API call as the value in the header. @@ -730,30 +729,31 @@ func (c *ChimeSDKMessaging) CreateChannelMembershipRequest(input *CreateChannelM // API operation CreateChannelMembership for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership func (c *ChimeSDKMessaging) CreateChannelMembership(input *CreateChannelMembershipInput) (*CreateChannelMembershipOutput, error) { @@ -793,14 +793,13 @@ const opCreateChannelModerator = "CreateChannelModerator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChannelModeratorRequest method. +// req, resp := client.CreateChannelModeratorRequest(params) // -// // Example sending a request using the CreateChannelModeratorRequest method. -// req, resp := client.CreateChannelModeratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator func (c *ChimeSDKMessaging) CreateChannelModeratorRequest(input *CreateChannelModeratorInput) (req *request.Request, output *CreateChannelModeratorOutput) { @@ -823,15 +822,15 @@ func (c *ChimeSDKMessaging) CreateChannelModeratorRequest(input *CreateChannelMo // // Creates a new ChannelModerator. A channel moderator can: // -// * Add and remove other members of the channel. +// - Add and remove other members of the channel. // -// * Add and remove other moderators of the channel. +// - Add and remove other moderators of the channel. // -// * Add and remove user bans for the channel. +// - Add and remove user bans for the channel. // -// * Redact messages in the channel. +// - Redact messages in the channel. // -// * List messages in the channel. +// - List messages in the channel. // // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn // of the user that makes the API call as the value in the header. @@ -844,30 +843,31 @@ func (c *ChimeSDKMessaging) CreateChannelModeratorRequest(input *CreateChannelMo // API operation CreateChannelModerator for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator func (c *ChimeSDKMessaging) CreateChannelModerator(input *CreateChannelModeratorInput) (*CreateChannelModeratorOutput, error) { @@ -907,14 +907,13 @@ const opDeleteChannel = "DeleteChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelRequest method. +// req, resp := client.DeleteChannelRequest(params) // -// // Example sending a request using the DeleteChannelRequest method. -// req, resp := client.DeleteChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel func (c *ChimeSDKMessaging) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput) { @@ -950,23 +949,24 @@ func (c *ChimeSDKMessaging) DeleteChannelRequest(input *DeleteChannelInput) (req // API operation DeleteChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel func (c *ChimeSDKMessaging) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error) { @@ -1006,14 +1006,13 @@ const opDeleteChannelBan = "DeleteChannelBan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelBanRequest method. +// req, resp := client.DeleteChannelBanRequest(params) // -// // Example sending a request using the DeleteChannelBanRequest method. -// req, resp := client.DeleteChannelBanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan func (c *ChimeSDKMessaging) DeleteChannelBanRequest(input *DeleteChannelBanInput) (req *request.Request, output *DeleteChannelBanOutput) { @@ -1048,23 +1047,24 @@ func (c *ChimeSDKMessaging) DeleteChannelBanRequest(input *DeleteChannelBanInput // API operation DeleteChannelBan for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan func (c *ChimeSDKMessaging) DeleteChannelBan(input *DeleteChannelBanInput) (*DeleteChannelBanOutput, error) { @@ -1104,14 +1104,13 @@ const opDeleteChannelFlow = "DeleteChannelFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelFlowRequest method. +// req, resp := client.DeleteChannelFlowRequest(params) // -// // Example sending a request using the DeleteChannelFlowRequest method. -// req, resp := client.DeleteChannelFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelFlow func (c *ChimeSDKMessaging) DeleteChannelFlowRequest(input *DeleteChannelFlowInput) (req *request.Request, output *DeleteChannelFlowOutput) { @@ -1148,27 +1147,28 @@ func (c *ChimeSDKMessaging) DeleteChannelFlowRequest(input *DeleteChannelFlowInp // API operation DeleteChannelFlow for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelFlow func (c *ChimeSDKMessaging) DeleteChannelFlow(input *DeleteChannelFlowInput) (*DeleteChannelFlowOutput, error) { @@ -1208,14 +1208,13 @@ const opDeleteChannelMembership = "DeleteChannelMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelMembershipRequest method. +// req, resp := client.DeleteChannelMembershipRequest(params) // -// // Example sending a request using the DeleteChannelMembershipRequest method. -// req, resp := client.DeleteChannelMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership func (c *ChimeSDKMessaging) DeleteChannelMembershipRequest(input *DeleteChannelMembershipInput) (req *request.Request, output *DeleteChannelMembershipOutput) { @@ -1250,27 +1249,28 @@ func (c *ChimeSDKMessaging) DeleteChannelMembershipRequest(input *DeleteChannelM // API operation DeleteChannelMembership for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership func (c *ChimeSDKMessaging) DeleteChannelMembership(input *DeleteChannelMembershipInput) (*DeleteChannelMembershipOutput, error) { @@ -1310,14 +1310,13 @@ const opDeleteChannelMessage = "DeleteChannelMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelMessageRequest method. +// req, resp := client.DeleteChannelMessageRequest(params) // -// // Example sending a request using the DeleteChannelMessageRequest method. -// req, resp := client.DeleteChannelMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage func (c *ChimeSDKMessaging) DeleteChannelMessageRequest(input *DeleteChannelMessageInput) (req *request.Request, output *DeleteChannelMessageOutput) { @@ -1354,23 +1353,24 @@ func (c *ChimeSDKMessaging) DeleteChannelMessageRequest(input *DeleteChannelMess // API operation DeleteChannelMessage for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage func (c *ChimeSDKMessaging) DeleteChannelMessage(input *DeleteChannelMessageInput) (*DeleteChannelMessageOutput, error) { @@ -1410,14 +1410,13 @@ const opDeleteChannelModerator = "DeleteChannelModerator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelModeratorRequest method. +// req, resp := client.DeleteChannelModeratorRequest(params) // -// // Example sending a request using the DeleteChannelModeratorRequest method. -// req, resp := client.DeleteChannelModeratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator func (c *ChimeSDKMessaging) DeleteChannelModeratorRequest(input *DeleteChannelModeratorInput) (req *request.Request, output *DeleteChannelModeratorOutput) { @@ -1452,23 +1451,24 @@ func (c *ChimeSDKMessaging) DeleteChannelModeratorRequest(input *DeleteChannelMo // API operation DeleteChannelModerator for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator func (c *ChimeSDKMessaging) DeleteChannelModerator(input *DeleteChannelModeratorInput) (*DeleteChannelModeratorOutput, error) { @@ -1508,14 +1508,13 @@ const opDescribeChannel = "DescribeChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelRequest method. +// req, resp := client.DescribeChannelRequest(params) // -// // Example sending a request using the DescribeChannelRequest method. -// req, resp := client.DescribeChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel func (c *ChimeSDKMessaging) DescribeChannelRequest(input *DescribeChannelInput) (req *request.Request, output *DescribeChannelOutput) { @@ -1549,23 +1548,24 @@ func (c *ChimeSDKMessaging) DescribeChannelRequest(input *DescribeChannelInput) // API operation DescribeChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel func (c *ChimeSDKMessaging) DescribeChannel(input *DescribeChannelInput) (*DescribeChannelOutput, error) { @@ -1605,14 +1605,13 @@ const opDescribeChannelBan = "DescribeChannelBan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelBanRequest method. +// req, resp := client.DescribeChannelBanRequest(params) // -// // Example sending a request using the DescribeChannelBanRequest method. -// req, resp := client.DescribeChannelBanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan func (c *ChimeSDKMessaging) DescribeChannelBanRequest(input *DescribeChannelBanInput) (req *request.Request, output *DescribeChannelBanOutput) { @@ -1646,26 +1645,27 @@ func (c *ChimeSDKMessaging) DescribeChannelBanRequest(input *DescribeChannelBanI // API operation DescribeChannelBan for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan func (c *ChimeSDKMessaging) DescribeChannelBan(input *DescribeChannelBanInput) (*DescribeChannelBanOutput, error) { @@ -1705,14 +1705,13 @@ const opDescribeChannelFlow = "DescribeChannelFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelFlowRequest method. +// req, resp := client.DescribeChannelFlowRequest(params) // -// // Example sending a request using the DescribeChannelFlowRequest method. -// req, resp := client.DescribeChannelFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelFlow func (c *ChimeSDKMessaging) DescribeChannelFlowRequest(input *DescribeChannelFlowInput) (req *request.Request, output *DescribeChannelFlowOutput) { @@ -1744,23 +1743,24 @@ func (c *ChimeSDKMessaging) DescribeChannelFlowRequest(input *DescribeChannelFlo // API operation DescribeChannelFlow for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelFlow func (c *ChimeSDKMessaging) DescribeChannelFlow(input *DescribeChannelFlowInput) (*DescribeChannelFlowOutput, error) { @@ -1800,14 +1800,13 @@ const opDescribeChannelMembership = "DescribeChannelMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelMembershipRequest method. +// req, resp := client.DescribeChannelMembershipRequest(params) // -// // Example sending a request using the DescribeChannelMembershipRequest method. -// req, resp := client.DescribeChannelMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership func (c *ChimeSDKMessaging) DescribeChannelMembershipRequest(input *DescribeChannelMembershipInput) (req *request.Request, output *DescribeChannelMembershipOutput) { @@ -1841,26 +1840,27 @@ func (c *ChimeSDKMessaging) DescribeChannelMembershipRequest(input *DescribeChan // API operation DescribeChannelMembership for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership func (c *ChimeSDKMessaging) DescribeChannelMembership(input *DescribeChannelMembershipInput) (*DescribeChannelMembershipOutput, error) { @@ -1900,14 +1900,13 @@ const opDescribeChannelMembershipForAppInstanceUser = "DescribeChannelMembership // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelMembershipForAppInstanceUserRequest method. +// req, resp := client.DescribeChannelMembershipForAppInstanceUserRequest(params) // -// // Example sending a request using the DescribeChannelMembershipForAppInstanceUserRequest method. -// req, resp := client.DescribeChannelMembershipForAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser func (c *ChimeSDKMessaging) DescribeChannelMembershipForAppInstanceUserRequest(input *DescribeChannelMembershipForAppInstanceUserInput) (req *request.Request, output *DescribeChannelMembershipForAppInstanceUserOutput) { @@ -1942,23 +1941,24 @@ func (c *ChimeSDKMessaging) DescribeChannelMembershipForAppInstanceUserRequest(i // API operation DescribeChannelMembershipForAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser func (c *ChimeSDKMessaging) DescribeChannelMembershipForAppInstanceUser(input *DescribeChannelMembershipForAppInstanceUserInput) (*DescribeChannelMembershipForAppInstanceUserOutput, error) { @@ -1998,14 +1998,13 @@ const opDescribeChannelModeratedByAppInstanceUser = "DescribeChannelModeratedByA // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelModeratedByAppInstanceUserRequest method. +// req, resp := client.DescribeChannelModeratedByAppInstanceUserRequest(params) // -// // Example sending a request using the DescribeChannelModeratedByAppInstanceUserRequest method. -// req, resp := client.DescribeChannelModeratedByAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser func (c *ChimeSDKMessaging) DescribeChannelModeratedByAppInstanceUserRequest(input *DescribeChannelModeratedByAppInstanceUserInput) (req *request.Request, output *DescribeChannelModeratedByAppInstanceUserOutput) { @@ -2039,23 +2038,24 @@ func (c *ChimeSDKMessaging) DescribeChannelModeratedByAppInstanceUserRequest(inp // API operation DescribeChannelModeratedByAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser func (c *ChimeSDKMessaging) DescribeChannelModeratedByAppInstanceUser(input *DescribeChannelModeratedByAppInstanceUserInput) (*DescribeChannelModeratedByAppInstanceUserOutput, error) { @@ -2095,14 +2095,13 @@ const opDescribeChannelModerator = "DescribeChannelModerator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelModeratorRequest method. +// req, resp := client.DescribeChannelModeratorRequest(params) // -// // Example sending a request using the DescribeChannelModeratorRequest method. -// req, resp := client.DescribeChannelModeratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator func (c *ChimeSDKMessaging) DescribeChannelModeratorRequest(input *DescribeChannelModeratorInput) (req *request.Request, output *DescribeChannelModeratorOutput) { @@ -2136,26 +2135,27 @@ func (c *ChimeSDKMessaging) DescribeChannelModeratorRequest(input *DescribeChann // API operation DescribeChannelModerator for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator func (c *ChimeSDKMessaging) DescribeChannelModerator(input *DescribeChannelModeratorInput) (*DescribeChannelModeratorOutput, error) { @@ -2195,14 +2195,13 @@ const opDisassociateChannelFlow = "DisassociateChannelFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateChannelFlowRequest method. +// req, resp := client.DisassociateChannelFlowRequest(params) // -// // Example sending a request using the DisassociateChannelFlowRequest method. -// req, resp := client.DisassociateChannelFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DisassociateChannelFlow func (c *ChimeSDKMessaging) DisassociateChannelFlowRequest(input *DisassociateChannelFlowInput) (req *request.Request, output *DisassociateChannelFlowOutput) { @@ -2239,30 +2238,31 @@ func (c *ChimeSDKMessaging) DisassociateChannelFlowRequest(input *DisassociateCh // API operation DisassociateChannelFlow for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DisassociateChannelFlow func (c *ChimeSDKMessaging) DisassociateChannelFlow(input *DisassociateChannelFlowInput) (*DisassociateChannelFlowOutput, error) { @@ -2302,14 +2302,13 @@ const opGetChannelMembershipPreferences = "GetChannelMembershipPreferences" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetChannelMembershipPreferencesRequest method. +// req, resp := client.GetChannelMembershipPreferencesRequest(params) // -// // Example sending a request using the GetChannelMembershipPreferencesRequest method. -// req, resp := client.GetChannelMembershipPreferencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferences func (c *ChimeSDKMessaging) GetChannelMembershipPreferencesRequest(input *GetChannelMembershipPreferencesInput) (req *request.Request, output *GetChannelMembershipPreferencesOutput) { @@ -2345,23 +2344,24 @@ func (c *ChimeSDKMessaging) GetChannelMembershipPreferencesRequest(input *GetCha // API operation GetChannelMembershipPreferences for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferences func (c *ChimeSDKMessaging) GetChannelMembershipPreferences(input *GetChannelMembershipPreferencesInput) (*GetChannelMembershipPreferencesOutput, error) { @@ -2401,14 +2401,13 @@ const opGetChannelMessage = "GetChannelMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetChannelMessageRequest method. +// req, resp := client.GetChannelMessageRequest(params) // -// // Example sending a request using the GetChannelMessageRequest method. -// req, resp := client.GetChannelMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage func (c *ChimeSDKMessaging) GetChannelMessageRequest(input *GetChannelMessageInput) (req *request.Request, output *GetChannelMessageOutput) { @@ -2442,26 +2441,27 @@ func (c *ChimeSDKMessaging) GetChannelMessageRequest(input *GetChannelMessageInp // API operation GetChannelMessage for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * NotFoundException -// One or more of the resources in the request does not exist in the system. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - NotFoundException +// One or more of the resources in the request does not exist in the system. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage func (c *ChimeSDKMessaging) GetChannelMessage(input *GetChannelMessageInput) (*GetChannelMessageOutput, error) { @@ -2501,14 +2501,13 @@ const opGetChannelMessageStatus = "GetChannelMessageStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetChannelMessageStatusRequest method. +// req, resp := client.GetChannelMessageStatusRequest(params) // -// // Example sending a request using the GetChannelMessageStatusRequest method. -// req, resp := client.GetChannelMessageStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessageStatus func (c *ChimeSDKMessaging) GetChannelMessageStatusRequest(input *GetChannelMessageStatusInput) (req *request.Request, output *GetChannelMessageStatusOutput) { @@ -2536,29 +2535,29 @@ func (c *ChimeSDKMessaging) GetChannelMessageStatusRequest(input *GetChannelMess // // Messages can have any one of these statuses. // -// SENT +// # SENT // // Message processed successfully // -// PENDING +// # PENDING // // Ongoing processing // -// FAILED +// # FAILED // // Processing failed // -// DENIED +// # DENIED // // Messasge denied by the processor // -// * This API does not return statuses for denied messages, because we don't -// store them once the processor denies them. +// - This API does not return statuses for denied messages, because we don't +// store them once the processor denies them. // -// * Only the message sender can invoke this API. +// - Only the message sender can invoke this API. // -// * The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn -// of the user that makes the API call as the value in the header +// - The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn +// of the user that makes the API call as the value in the header // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2568,23 +2567,24 @@ func (c *ChimeSDKMessaging) GetChannelMessageStatusRequest(input *GetChannelMess // API operation GetChannelMessageStatus for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessageStatus func (c *ChimeSDKMessaging) GetChannelMessageStatus(input *GetChannelMessageStatusInput) (*GetChannelMessageStatusOutput, error) { @@ -2624,14 +2624,13 @@ const opGetMessagingSessionEndpoint = "GetMessagingSessionEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMessagingSessionEndpointRequest method. +// req, resp := client.GetMessagingSessionEndpointRequest(params) // -// // Example sending a request using the GetMessagingSessionEndpointRequest method. -// req, resp := client.GetMessagingSessionEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint func (c *ChimeSDKMessaging) GetMessagingSessionEndpointRequest(input *GetMessagingSessionEndpointInput) (req *request.Request, output *GetMessagingSessionEndpointOutput) { @@ -2662,20 +2661,21 @@ func (c *ChimeSDKMessaging) GetMessagingSessionEndpointRequest(input *GetMessagi // API operation GetMessagingSessionEndpoint for usage and error information. // // Returned Error Types: -// * UnauthorizedClientException -// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint func (c *ChimeSDKMessaging) GetMessagingSessionEndpoint(input *GetMessagingSessionEndpointInput) (*GetMessagingSessionEndpointOutput, error) { @@ -2715,14 +2715,13 @@ const opListChannelBans = "ListChannelBans" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelBansRequest method. +// req, resp := client.ListChannelBansRequest(params) // -// // Example sending a request using the ListChannelBansRequest method. -// req, resp := client.ListChannelBansRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans func (c *ChimeSDKMessaging) ListChannelBansRequest(input *ListChannelBansInput) (req *request.Request, output *ListChannelBansOutput) { @@ -2762,23 +2761,24 @@ func (c *ChimeSDKMessaging) ListChannelBansRequest(input *ListChannelBansInput) // API operation ListChannelBans for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans func (c *ChimeSDKMessaging) ListChannelBans(input *ListChannelBansInput) (*ListChannelBansOutput, error) { @@ -2810,15 +2810,14 @@ func (c *ChimeSDKMessaging) ListChannelBansWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannelBans operation. -// pageNum := 0 -// err := client.ListChannelBansPages(params, -// func(page *chimesdkmessaging.ListChannelBansOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannelBans operation. +// pageNum := 0 +// err := client.ListChannelBansPages(params, +// func(page *chimesdkmessaging.ListChannelBansOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ChimeSDKMessaging) ListChannelBansPages(input *ListChannelBansInput, fn func(*ListChannelBansOutput, bool) bool) error { return c.ListChannelBansPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2870,14 +2869,13 @@ const opListChannelFlows = "ListChannelFlows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelFlowsRequest method. +// req, resp := client.ListChannelFlowsRequest(params) // -// // Example sending a request using the ListChannelFlowsRequest method. -// req, resp := client.ListChannelFlowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelFlows func (c *ChimeSDKMessaging) ListChannelFlowsRequest(input *ListChannelFlowsInput) (req *request.Request, output *ListChannelFlowsOutput) { @@ -2915,23 +2913,24 @@ func (c *ChimeSDKMessaging) ListChannelFlowsRequest(input *ListChannelFlowsInput // API operation ListChannelFlows for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelFlows func (c *ChimeSDKMessaging) ListChannelFlows(input *ListChannelFlowsInput) (*ListChannelFlowsOutput, error) { @@ -2963,15 +2962,14 @@ func (c *ChimeSDKMessaging) ListChannelFlowsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannelFlows operation. -// pageNum := 0 -// err := client.ListChannelFlowsPages(params, -// func(page *chimesdkmessaging.ListChannelFlowsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannelFlows operation. +// pageNum := 0 +// err := client.ListChannelFlowsPages(params, +// func(page *chimesdkmessaging.ListChannelFlowsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ChimeSDKMessaging) ListChannelFlowsPages(input *ListChannelFlowsInput, fn func(*ListChannelFlowsOutput, bool) bool) error { return c.ListChannelFlowsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3023,14 +3021,13 @@ const opListChannelMemberships = "ListChannelMemberships" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelMembershipsRequest method. +// req, resp := client.ListChannelMembershipsRequest(params) // -// // Example sending a request using the ListChannelMembershipsRequest method. -// req, resp := client.ListChannelMembershipsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships func (c *ChimeSDKMessaging) ListChannelMembershipsRequest(input *ListChannelMembershipsInput) (req *request.Request, output *ListChannelMembershipsOutput) { @@ -3074,23 +3071,24 @@ func (c *ChimeSDKMessaging) ListChannelMembershipsRequest(input *ListChannelMemb // API operation ListChannelMemberships for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships func (c *ChimeSDKMessaging) ListChannelMemberships(input *ListChannelMembershipsInput) (*ListChannelMembershipsOutput, error) { @@ -3122,15 +3120,14 @@ func (c *ChimeSDKMessaging) ListChannelMembershipsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannelMemberships operation. -// pageNum := 0 -// err := client.ListChannelMembershipsPages(params, -// func(page *chimesdkmessaging.ListChannelMembershipsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannelMemberships operation. +// pageNum := 0 +// err := client.ListChannelMembershipsPages(params, +// func(page *chimesdkmessaging.ListChannelMembershipsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ChimeSDKMessaging) ListChannelMembershipsPages(input *ListChannelMembershipsInput, fn func(*ListChannelMembershipsOutput, bool) bool) error { return c.ListChannelMembershipsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3182,14 +3179,13 @@ const opListChannelMembershipsForAppInstanceUser = "ListChannelMembershipsForApp // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelMembershipsForAppInstanceUserRequest method. +// req, resp := client.ListChannelMembershipsForAppInstanceUserRequest(params) // -// // Example sending a request using the ListChannelMembershipsForAppInstanceUserRequest method. -// req, resp := client.ListChannelMembershipsForAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser func (c *ChimeSDKMessaging) ListChannelMembershipsForAppInstanceUserRequest(input *ListChannelMembershipsForAppInstanceUserInput) (req *request.Request, output *ListChannelMembershipsForAppInstanceUserOutput) { @@ -3230,23 +3226,24 @@ func (c *ChimeSDKMessaging) ListChannelMembershipsForAppInstanceUserRequest(inpu // API operation ListChannelMembershipsForAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser func (c *ChimeSDKMessaging) ListChannelMembershipsForAppInstanceUser(input *ListChannelMembershipsForAppInstanceUserInput) (*ListChannelMembershipsForAppInstanceUserOutput, error) { @@ -3278,15 +3275,14 @@ func (c *ChimeSDKMessaging) ListChannelMembershipsForAppInstanceUserWithContext( // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannelMembershipsForAppInstanceUser operation. -// pageNum := 0 -// err := client.ListChannelMembershipsForAppInstanceUserPages(params, -// func(page *chimesdkmessaging.ListChannelMembershipsForAppInstanceUserOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannelMembershipsForAppInstanceUser operation. +// pageNum := 0 +// err := client.ListChannelMembershipsForAppInstanceUserPages(params, +// func(page *chimesdkmessaging.ListChannelMembershipsForAppInstanceUserOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ChimeSDKMessaging) ListChannelMembershipsForAppInstanceUserPages(input *ListChannelMembershipsForAppInstanceUserInput, fn func(*ListChannelMembershipsForAppInstanceUserOutput, bool) bool) error { return c.ListChannelMembershipsForAppInstanceUserPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3338,14 +3334,13 @@ const opListChannelMessages = "ListChannelMessages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelMessagesRequest method. +// req, resp := client.ListChannelMessagesRequest(params) // -// // Example sending a request using the ListChannelMessagesRequest method. -// req, resp := client.ListChannelMessagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages func (c *ChimeSDKMessaging) ListChannelMessagesRequest(input *ListChannelMessagesInput) (req *request.Request, output *ListChannelMessagesOutput) { @@ -3390,23 +3385,24 @@ func (c *ChimeSDKMessaging) ListChannelMessagesRequest(input *ListChannelMessage // API operation ListChannelMessages for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages func (c *ChimeSDKMessaging) ListChannelMessages(input *ListChannelMessagesInput) (*ListChannelMessagesOutput, error) { @@ -3438,15 +3434,14 @@ func (c *ChimeSDKMessaging) ListChannelMessagesWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannelMessages operation. -// pageNum := 0 -// err := client.ListChannelMessagesPages(params, -// func(page *chimesdkmessaging.ListChannelMessagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannelMessages operation. +// pageNum := 0 +// err := client.ListChannelMessagesPages(params, +// func(page *chimesdkmessaging.ListChannelMessagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ChimeSDKMessaging) ListChannelMessagesPages(input *ListChannelMessagesInput, fn func(*ListChannelMessagesOutput, bool) bool) error { return c.ListChannelMessagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3498,14 +3493,13 @@ const opListChannelModerators = "ListChannelModerators" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelModeratorsRequest method. +// req, resp := client.ListChannelModeratorsRequest(params) // -// // Example sending a request using the ListChannelModeratorsRequest method. -// req, resp := client.ListChannelModeratorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators func (c *ChimeSDKMessaging) ListChannelModeratorsRequest(input *ListChannelModeratorsInput) (req *request.Request, output *ListChannelModeratorsOutput) { @@ -3545,23 +3539,24 @@ func (c *ChimeSDKMessaging) ListChannelModeratorsRequest(input *ListChannelModer // API operation ListChannelModerators for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators func (c *ChimeSDKMessaging) ListChannelModerators(input *ListChannelModeratorsInput) (*ListChannelModeratorsOutput, error) { @@ -3593,15 +3588,14 @@ func (c *ChimeSDKMessaging) ListChannelModeratorsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannelModerators operation. -// pageNum := 0 -// err := client.ListChannelModeratorsPages(params, -// func(page *chimesdkmessaging.ListChannelModeratorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannelModerators operation. +// pageNum := 0 +// err := client.ListChannelModeratorsPages(params, +// func(page *chimesdkmessaging.ListChannelModeratorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ChimeSDKMessaging) ListChannelModeratorsPages(input *ListChannelModeratorsInput, fn func(*ListChannelModeratorsOutput, bool) bool) error { return c.ListChannelModeratorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3653,14 +3647,13 @@ const opListChannels = "ListChannels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelsRequest method. +// req, resp := client.ListChannelsRequest(params) // -// // Example sending a request using the ListChannelsRequest method. -// req, resp := client.ListChannelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels func (c *ChimeSDKMessaging) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput) { @@ -3692,10 +3685,10 @@ func (c *ChimeSDKMessaging) ListChannelsRequest(input *ListChannelsInput) (req * // // Functionality & restrictions // -// * Use privacy = PUBLIC to retrieve all public channels in the account. +// - Use privacy = PUBLIC to retrieve all public channels in the account. // -// * Only an AppInstanceAdmin can set privacy = PRIVATE to list the private -// channels in an account. +// - Only an AppInstanceAdmin can set privacy = PRIVATE to list the private +// channels in an account. // // The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn // of the user that makes the API call as the value in the header. @@ -3708,23 +3701,24 @@ func (c *ChimeSDKMessaging) ListChannelsRequest(input *ListChannelsInput) (req * // API operation ListChannels for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels func (c *ChimeSDKMessaging) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error) { @@ -3756,15 +3750,14 @@ func (c *ChimeSDKMessaging) ListChannelsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannels operation. -// pageNum := 0 -// err := client.ListChannelsPages(params, -// func(page *chimesdkmessaging.ListChannelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannels operation. +// pageNum := 0 +// err := client.ListChannelsPages(params, +// func(page *chimesdkmessaging.ListChannelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ChimeSDKMessaging) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error { return c.ListChannelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3816,14 +3809,13 @@ const opListChannelsAssociatedWithChannelFlow = "ListChannelsAssociatedWithChann // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelsAssociatedWithChannelFlowRequest method. +// req, resp := client.ListChannelsAssociatedWithChannelFlowRequest(params) // -// // Example sending a request using the ListChannelsAssociatedWithChannelFlowRequest method. -// req, resp := client.ListChannelsAssociatedWithChannelFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsAssociatedWithChannelFlow func (c *ChimeSDKMessaging) ListChannelsAssociatedWithChannelFlowRequest(input *ListChannelsAssociatedWithChannelFlowInput) (req *request.Request, output *ListChannelsAssociatedWithChannelFlowOutput) { @@ -3862,23 +3854,24 @@ func (c *ChimeSDKMessaging) ListChannelsAssociatedWithChannelFlowRequest(input * // API operation ListChannelsAssociatedWithChannelFlow for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsAssociatedWithChannelFlow func (c *ChimeSDKMessaging) ListChannelsAssociatedWithChannelFlow(input *ListChannelsAssociatedWithChannelFlowInput) (*ListChannelsAssociatedWithChannelFlowOutput, error) { @@ -3910,15 +3903,14 @@ func (c *ChimeSDKMessaging) ListChannelsAssociatedWithChannelFlowWithContext(ctx // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannelsAssociatedWithChannelFlow operation. -// pageNum := 0 -// err := client.ListChannelsAssociatedWithChannelFlowPages(params, -// func(page *chimesdkmessaging.ListChannelsAssociatedWithChannelFlowOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannelsAssociatedWithChannelFlow operation. +// pageNum := 0 +// err := client.ListChannelsAssociatedWithChannelFlowPages(params, +// func(page *chimesdkmessaging.ListChannelsAssociatedWithChannelFlowOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ChimeSDKMessaging) ListChannelsAssociatedWithChannelFlowPages(input *ListChannelsAssociatedWithChannelFlowInput, fn func(*ListChannelsAssociatedWithChannelFlowOutput, bool) bool) error { return c.ListChannelsAssociatedWithChannelFlowPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3970,14 +3962,13 @@ const opListChannelsModeratedByAppInstanceUser = "ListChannelsModeratedByAppInst // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelsModeratedByAppInstanceUserRequest method. +// req, resp := client.ListChannelsModeratedByAppInstanceUserRequest(params) // -// // Example sending a request using the ListChannelsModeratedByAppInstanceUserRequest method. -// req, resp := client.ListChannelsModeratedByAppInstanceUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser func (c *ChimeSDKMessaging) ListChannelsModeratedByAppInstanceUserRequest(input *ListChannelsModeratedByAppInstanceUserInput) (req *request.Request, output *ListChannelsModeratedByAppInstanceUserOutput) { @@ -4017,23 +4008,24 @@ func (c *ChimeSDKMessaging) ListChannelsModeratedByAppInstanceUserRequest(input // API operation ListChannelsModeratedByAppInstanceUser for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser func (c *ChimeSDKMessaging) ListChannelsModeratedByAppInstanceUser(input *ListChannelsModeratedByAppInstanceUserInput) (*ListChannelsModeratedByAppInstanceUserOutput, error) { @@ -4065,15 +4057,14 @@ func (c *ChimeSDKMessaging) ListChannelsModeratedByAppInstanceUserWithContext(ct // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannelsModeratedByAppInstanceUser operation. -// pageNum := 0 -// err := client.ListChannelsModeratedByAppInstanceUserPages(params, -// func(page *chimesdkmessaging.ListChannelsModeratedByAppInstanceUserOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannelsModeratedByAppInstanceUser operation. +// pageNum := 0 +// err := client.ListChannelsModeratedByAppInstanceUserPages(params, +// func(page *chimesdkmessaging.ListChannelsModeratedByAppInstanceUserOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ChimeSDKMessaging) ListChannelsModeratedByAppInstanceUserPages(input *ListChannelsModeratedByAppInstanceUserInput, fn func(*ListChannelsModeratedByAppInstanceUserOutput, bool) bool) error { return c.ListChannelsModeratedByAppInstanceUserPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4125,14 +4116,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListTagsForResource func (c *ChimeSDKMessaging) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4163,23 +4153,24 @@ func (c *ChimeSDKMessaging) ListTagsForResourceRequest(input *ListTagsForResourc // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListTagsForResource func (c *ChimeSDKMessaging) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4219,14 +4210,13 @@ const opPutChannelMembershipPreferences = "PutChannelMembershipPreferences" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutChannelMembershipPreferencesRequest method. +// req, resp := client.PutChannelMembershipPreferencesRequest(params) // -// // Example sending a request using the PutChannelMembershipPreferencesRequest method. -// req, resp := client.PutChannelMembershipPreferencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelMembershipPreferences func (c *ChimeSDKMessaging) PutChannelMembershipPreferencesRequest(input *PutChannelMembershipPreferencesInput) (req *request.Request, output *PutChannelMembershipPreferencesOutput) { @@ -4262,27 +4252,28 @@ func (c *ChimeSDKMessaging) PutChannelMembershipPreferencesRequest(input *PutCha // API operation PutChannelMembershipPreferences for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelMembershipPreferences func (c *ChimeSDKMessaging) PutChannelMembershipPreferences(input *PutChannelMembershipPreferencesInput) (*PutChannelMembershipPreferencesOutput, error) { @@ -4322,14 +4313,13 @@ const opRedactChannelMessage = "RedactChannelMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RedactChannelMessageRequest method. +// req, resp := client.RedactChannelMessageRequest(params) // -// // Example sending a request using the RedactChannelMessageRequest method. -// req, resp := client.RedactChannelMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage func (c *ChimeSDKMessaging) RedactChannelMessageRequest(input *RedactChannelMessageInput) (req *request.Request, output *RedactChannelMessageOutput) { @@ -4364,23 +4354,24 @@ func (c *ChimeSDKMessaging) RedactChannelMessageRequest(input *RedactChannelMess // API operation RedactChannelMessage for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage func (c *ChimeSDKMessaging) RedactChannelMessage(input *RedactChannelMessageInput) (*RedactChannelMessageOutput, error) { @@ -4420,14 +4411,13 @@ const opSendChannelMessage = "SendChannelMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendChannelMessageRequest method. +// req, resp := client.SendChannelMessageRequest(params) // -// // Example sending a request using the SendChannelMessageRequest method. -// req, resp := client.SendChannelMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage func (c *ChimeSDKMessaging) SendChannelMessageRequest(input *SendChannelMessageInput) (req *request.Request, output *SendChannelMessageOutput) { @@ -4464,27 +4454,28 @@ func (c *ChimeSDKMessaging) SendChannelMessageRequest(input *SendChannelMessageI // API operation SendChannelMessage for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage func (c *ChimeSDKMessaging) SendChannelMessage(input *SendChannelMessageInput) (*SendChannelMessageOutput, error) { @@ -4524,14 +4515,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/TagResource func (c *ChimeSDKMessaging) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -4563,26 +4553,27 @@ func (c *ChimeSDKMessaging) TagResourceRequest(input *TagResourceInput) (req *re // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ResourceLimitExceededException -// The request exceeds the resource limit. +// - ResourceLimitExceededException +// The request exceeds the resource limit. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/TagResource func (c *ChimeSDKMessaging) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4622,14 +4613,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UntagResource func (c *ChimeSDKMessaging) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4662,23 +4652,24 @@ func (c *ChimeSDKMessaging) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UntagResource func (c *ChimeSDKMessaging) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -4718,14 +4709,13 @@ const opUpdateChannel = "UpdateChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateChannelRequest method. +// req, resp := client.UpdateChannelRequest(params) // -// // Example sending a request using the UpdateChannelRequest method. -// req, resp := client.UpdateChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel func (c *ChimeSDKMessaging) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput) { @@ -4761,27 +4751,28 @@ func (c *ChimeSDKMessaging) UpdateChannelRequest(input *UpdateChannelInput) (req // API operation UpdateChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel func (c *ChimeSDKMessaging) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error) { @@ -4821,14 +4812,13 @@ const opUpdateChannelFlow = "UpdateChannelFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateChannelFlowRequest method. +// req, resp := client.UpdateChannelFlowRequest(params) // -// // Example sending a request using the UpdateChannelFlowRequest method. -// req, resp := client.UpdateChannelFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelFlow func (c *ChimeSDKMessaging) UpdateChannelFlowRequest(input *UpdateChannelFlowInput) (req *request.Request, output *UpdateChannelFlowOutput) { @@ -4859,27 +4849,28 @@ func (c *ChimeSDKMessaging) UpdateChannelFlowRequest(input *UpdateChannelFlowInp // API operation UpdateChannelFlow for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelFlow func (c *ChimeSDKMessaging) UpdateChannelFlow(input *UpdateChannelFlowInput) (*UpdateChannelFlowOutput, error) { @@ -4919,14 +4910,13 @@ const opUpdateChannelMessage = "UpdateChannelMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateChannelMessageRequest method. +// req, resp := client.UpdateChannelMessageRequest(params) // -// // Example sending a request using the UpdateChannelMessageRequest method. -// req, resp := client.UpdateChannelMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage func (c *ChimeSDKMessaging) UpdateChannelMessageRequest(input *UpdateChannelMessageInput) (req *request.Request, output *UpdateChannelMessageOutput) { @@ -4960,27 +4950,28 @@ func (c *ChimeSDKMessaging) UpdateChannelMessageRequest(input *UpdateChannelMess // API operation UpdateChannelMessage for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - BadRequestException +// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage func (c *ChimeSDKMessaging) UpdateChannelMessage(input *UpdateChannelMessageInput) (*UpdateChannelMessageOutput, error) { @@ -5020,14 +5011,13 @@ const opUpdateChannelReadMarker = "UpdateChannelReadMarker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateChannelReadMarkerRequest method. +// req, resp := client.UpdateChannelReadMarkerRequest(params) // -// // Example sending a request using the UpdateChannelReadMarkerRequest method. -// req, resp := client.UpdateChannelReadMarkerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker func (c *ChimeSDKMessaging) UpdateChannelReadMarkerRequest(input *UpdateChannelReadMarkerInput) (req *request.Request, output *UpdateChannelReadMarkerOutput) { @@ -5061,27 +5051,28 @@ func (c *ChimeSDKMessaging) UpdateChannelReadMarkerRequest(input *UpdateChannelR // API operation UpdateChannelReadMarker for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input parameters don't match the service's restrictions. // -// * ForbiddenException -// The client is permanently forbidden from making the request. +// - BadRequestException +// The input parameters don't match the service's restrictions. +// +// - ForbiddenException +// The client is permanently forbidden from making the request. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // -// * UnauthorizedClientException -// The client is not currently authorized to make the request. +// - UnauthorizedClientException +// The client is not currently authorized to make the request. // -// * ThrottledClientException -// The client exceeded its request rate limit. +// - ThrottledClientException +// The client exceeded its request rate limit. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ServiceFailureException -// The service encountered an unexpected error. +// - ServiceFailureException +// The service encountered an unexpected error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker func (c *ChimeSDKMessaging) UpdateChannelReadMarker(input *UpdateChannelReadMarkerInput) (*UpdateChannelReadMarkerOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/chimesdkmessagingiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/chimesdkmessagingiface/interface.go index 1bf8d56148fc..d74b4c7f5557 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/chimesdkmessagingiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/chimesdkmessagingiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Chime SDK Messaging. -// func myFunc(svc chimesdkmessagingiface.ChimeSDKMessagingAPI) bool { -// // Make svc.AssociateChannelFlow request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Chime SDK Messaging. +// func myFunc(svc chimesdkmessagingiface.ChimeSDKMessagingAPI) bool { +// // Make svc.AssociateChannelFlow request +// } // -// func main() { -// sess := session.New() -// svc := chimesdkmessaging.New(sess) +// func main() { +// sess := session.New() +// svc := chimesdkmessaging.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockChimeSDKMessagingClient struct { -// chimesdkmessagingiface.ChimeSDKMessagingAPI -// } -// func (m *mockChimeSDKMessagingClient) AssociateChannelFlow(input *chimesdkmessaging.AssociateChannelFlowInput) (*chimesdkmessaging.AssociateChannelFlowOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockChimeSDKMessagingClient struct { +// chimesdkmessagingiface.ChimeSDKMessagingAPI +// } +// func (m *mockChimeSDKMessagingClient) AssociateChannelFlow(input *chimesdkmessaging.AssociateChannelFlowInput) (*chimesdkmessaging.AssociateChannelFlowOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockChimeSDKMessagingClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockChimeSDKMessagingClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/doc.go index cdc7aa948116..9216d6547c71 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/doc.go @@ -14,7 +14,7 @@ // See chimesdkmessaging package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/chimesdkmessaging/ // -// Using the Client +// # Using the Client // // To contact Amazon Chime SDK Messaging with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/service.go index 9a40792b0138..631ffae01648 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/chimesdkmessaging/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ChimeSDKMessaging client from just a session. -// svc := chimesdkmessaging.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ChimeSDKMessaging client with additional configuration -// svc := chimesdkmessaging.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ChimeSDKMessaging client from just a session. +// svc := chimesdkmessaging.New(mySession) +// +// // Create a ChimeSDKMessaging client with additional configuration +// svc := chimesdkmessaging.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ChimeSDKMessaging { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/api.go index 6025f88b671b..023891e7af25 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/api.go @@ -29,14 +29,13 @@ const opCreateEnvironmentEC2 = "CreateEnvironmentEC2" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEnvironmentEC2Request method. +// req, resp := client.CreateEnvironmentEC2Request(params) // -// // Example sending a request using the CreateEnvironmentEC2Request method. -// req, resp := client.CreateEnvironmentEC2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentEC2 func (c *Cloud9) CreateEnvironmentEC2Request(input *CreateEnvironmentEC2Input) (req *request.Request, output *CreateEnvironmentEC2Output) { @@ -68,26 +67,27 @@ func (c *Cloud9) CreateEnvironmentEC2Request(input *CreateEnvironmentEC2Input) ( // API operation CreateEnvironmentEC2 for usage and error information. // // Returned Error Types: -// * BadRequestException -// The target request is invalid. // -// * ConflictException -// A conflict occurred. +// - BadRequestException +// The target request is invalid. +// +// - ConflictException +// A conflict occurred. // -// * NotFoundException -// The target resource cannot be found. +// - NotFoundException +// The target resource cannot be found. // -// * ForbiddenException -// An access permissions issue occurred. +// - ForbiddenException +// An access permissions issue occurred. // -// * TooManyRequestsException -// Too many service requests were made over the given time period. +// - TooManyRequestsException +// Too many service requests were made over the given time period. // -// * LimitExceededException -// A service limit was exceeded. +// - LimitExceededException +// A service limit was exceeded. // -// * InternalServerErrorException -// An internal server error occurred. +// - InternalServerErrorException +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentEC2 func (c *Cloud9) CreateEnvironmentEC2(input *CreateEnvironmentEC2Input) (*CreateEnvironmentEC2Output, error) { @@ -127,14 +127,13 @@ const opCreateEnvironmentMembership = "CreateEnvironmentMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEnvironmentMembershipRequest method. +// req, resp := client.CreateEnvironmentMembershipRequest(params) // -// // Example sending a request using the CreateEnvironmentMembershipRequest method. -// req, resp := client.CreateEnvironmentMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentMembership func (c *Cloud9) CreateEnvironmentMembershipRequest(input *CreateEnvironmentMembershipInput) (req *request.Request, output *CreateEnvironmentMembershipOutput) { @@ -165,26 +164,27 @@ func (c *Cloud9) CreateEnvironmentMembershipRequest(input *CreateEnvironmentMemb // API operation CreateEnvironmentMembership for usage and error information. // // Returned Error Types: -// * BadRequestException -// The target request is invalid. // -// * ConflictException -// A conflict occurred. +// - BadRequestException +// The target request is invalid. +// +// - ConflictException +// A conflict occurred. // -// * NotFoundException -// The target resource cannot be found. +// - NotFoundException +// The target resource cannot be found. // -// * ForbiddenException -// An access permissions issue occurred. +// - ForbiddenException +// An access permissions issue occurred. // -// * TooManyRequestsException -// Too many service requests were made over the given time period. +// - TooManyRequestsException +// Too many service requests were made over the given time period. // -// * LimitExceededException -// A service limit was exceeded. +// - LimitExceededException +// A service limit was exceeded. // -// * InternalServerErrorException -// An internal server error occurred. +// - InternalServerErrorException +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/CreateEnvironmentMembership func (c *Cloud9) CreateEnvironmentMembership(input *CreateEnvironmentMembershipInput) (*CreateEnvironmentMembershipOutput, error) { @@ -224,14 +224,13 @@ const opDeleteEnvironment = "DeleteEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEnvironmentRequest method. +// req, resp := client.DeleteEnvironmentRequest(params) // -// // Example sending a request using the DeleteEnvironmentRequest method. -// req, resp := client.DeleteEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DeleteEnvironment func (c *Cloud9) DeleteEnvironmentRequest(input *DeleteEnvironmentInput) (req *request.Request, output *DeleteEnvironmentOutput) { @@ -264,26 +263,27 @@ func (c *Cloud9) DeleteEnvironmentRequest(input *DeleteEnvironmentInput) (req *r // API operation DeleteEnvironment for usage and error information. // // Returned Error Types: -// * BadRequestException -// The target request is invalid. // -// * ConflictException -// A conflict occurred. +// - BadRequestException +// The target request is invalid. +// +// - ConflictException +// A conflict occurred. // -// * NotFoundException -// The target resource cannot be found. +// - NotFoundException +// The target resource cannot be found. // -// * ForbiddenException -// An access permissions issue occurred. +// - ForbiddenException +// An access permissions issue occurred. // -// * TooManyRequestsException -// Too many service requests were made over the given time period. +// - TooManyRequestsException +// Too many service requests were made over the given time period. // -// * LimitExceededException -// A service limit was exceeded. +// - LimitExceededException +// A service limit was exceeded. // -// * InternalServerErrorException -// An internal server error occurred. +// - InternalServerErrorException +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DeleteEnvironment func (c *Cloud9) DeleteEnvironment(input *DeleteEnvironmentInput) (*DeleteEnvironmentOutput, error) { @@ -323,14 +323,13 @@ const opDeleteEnvironmentMembership = "DeleteEnvironmentMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEnvironmentMembershipRequest method. +// req, resp := client.DeleteEnvironmentMembershipRequest(params) // -// // Example sending a request using the DeleteEnvironmentMembershipRequest method. -// req, resp := client.DeleteEnvironmentMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DeleteEnvironmentMembership func (c *Cloud9) DeleteEnvironmentMembershipRequest(input *DeleteEnvironmentMembershipInput) (req *request.Request, output *DeleteEnvironmentMembershipOutput) { @@ -362,26 +361,27 @@ func (c *Cloud9) DeleteEnvironmentMembershipRequest(input *DeleteEnvironmentMemb // API operation DeleteEnvironmentMembership for usage and error information. // // Returned Error Types: -// * BadRequestException -// The target request is invalid. // -// * ConflictException -// A conflict occurred. +// - BadRequestException +// The target request is invalid. // -// * NotFoundException -// The target resource cannot be found. +// - ConflictException +// A conflict occurred. // -// * ForbiddenException -// An access permissions issue occurred. +// - NotFoundException +// The target resource cannot be found. // -// * TooManyRequestsException -// Too many service requests were made over the given time period. +// - ForbiddenException +// An access permissions issue occurred. // -// * LimitExceededException -// A service limit was exceeded. +// - TooManyRequestsException +// Too many service requests were made over the given time period. // -// * InternalServerErrorException -// An internal server error occurred. +// - LimitExceededException +// A service limit was exceeded. +// +// - InternalServerErrorException +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DeleteEnvironmentMembership func (c *Cloud9) DeleteEnvironmentMembership(input *DeleteEnvironmentMembershipInput) (*DeleteEnvironmentMembershipOutput, error) { @@ -421,14 +421,13 @@ const opDescribeEnvironmentMemberships = "DescribeEnvironmentMemberships" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEnvironmentMembershipsRequest method. +// req, resp := client.DescribeEnvironmentMembershipsRequest(params) // -// // Example sending a request using the DescribeEnvironmentMembershipsRequest method. -// req, resp := client.DescribeEnvironmentMembershipsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironmentMemberships func (c *Cloud9) DescribeEnvironmentMembershipsRequest(input *DescribeEnvironmentMembershipsInput) (req *request.Request, output *DescribeEnvironmentMembershipsOutput) { @@ -465,26 +464,27 @@ func (c *Cloud9) DescribeEnvironmentMembershipsRequest(input *DescribeEnvironmen // API operation DescribeEnvironmentMemberships for usage and error information. // // Returned Error Types: -// * BadRequestException -// The target request is invalid. // -// * ConflictException -// A conflict occurred. +// - BadRequestException +// The target request is invalid. // -// * NotFoundException -// The target resource cannot be found. +// - ConflictException +// A conflict occurred. // -// * ForbiddenException -// An access permissions issue occurred. +// - NotFoundException +// The target resource cannot be found. // -// * TooManyRequestsException -// Too many service requests were made over the given time period. +// - ForbiddenException +// An access permissions issue occurred. // -// * LimitExceededException -// A service limit was exceeded. +// - TooManyRequestsException +// Too many service requests were made over the given time period. // -// * InternalServerErrorException -// An internal server error occurred. +// - LimitExceededException +// A service limit was exceeded. +// +// - InternalServerErrorException +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironmentMemberships func (c *Cloud9) DescribeEnvironmentMemberships(input *DescribeEnvironmentMembershipsInput) (*DescribeEnvironmentMembershipsOutput, error) { @@ -516,15 +516,14 @@ func (c *Cloud9) DescribeEnvironmentMembershipsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEnvironmentMemberships operation. -// pageNum := 0 -// err := client.DescribeEnvironmentMembershipsPages(params, -// func(page *cloud9.DescribeEnvironmentMembershipsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEnvironmentMemberships operation. +// pageNum := 0 +// err := client.DescribeEnvironmentMembershipsPages(params, +// func(page *cloud9.DescribeEnvironmentMembershipsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Cloud9) DescribeEnvironmentMembershipsPages(input *DescribeEnvironmentMembershipsInput, fn func(*DescribeEnvironmentMembershipsOutput, bool) bool) error { return c.DescribeEnvironmentMembershipsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -576,14 +575,13 @@ const opDescribeEnvironmentStatus = "DescribeEnvironmentStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEnvironmentStatusRequest method. +// req, resp := client.DescribeEnvironmentStatusRequest(params) // -// // Example sending a request using the DescribeEnvironmentStatusRequest method. -// req, resp := client.DescribeEnvironmentStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironmentStatus func (c *Cloud9) DescribeEnvironmentStatusRequest(input *DescribeEnvironmentStatusInput) (req *request.Request, output *DescribeEnvironmentStatusOutput) { @@ -614,26 +612,27 @@ func (c *Cloud9) DescribeEnvironmentStatusRequest(input *DescribeEnvironmentStat // API operation DescribeEnvironmentStatus for usage and error information. // // Returned Error Types: -// * BadRequestException -// The target request is invalid. // -// * ConflictException -// A conflict occurred. +// - BadRequestException +// The target request is invalid. +// +// - ConflictException +// A conflict occurred. // -// * NotFoundException -// The target resource cannot be found. +// - NotFoundException +// The target resource cannot be found. // -// * ForbiddenException -// An access permissions issue occurred. +// - ForbiddenException +// An access permissions issue occurred. // -// * TooManyRequestsException -// Too many service requests were made over the given time period. +// - TooManyRequestsException +// Too many service requests were made over the given time period. // -// * LimitExceededException -// A service limit was exceeded. +// - LimitExceededException +// A service limit was exceeded. // -// * InternalServerErrorException -// An internal server error occurred. +// - InternalServerErrorException +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironmentStatus func (c *Cloud9) DescribeEnvironmentStatus(input *DescribeEnvironmentStatusInput) (*DescribeEnvironmentStatusOutput, error) { @@ -673,14 +672,13 @@ const opDescribeEnvironments = "DescribeEnvironments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEnvironmentsRequest method. +// req, resp := client.DescribeEnvironmentsRequest(params) // -// // Example sending a request using the DescribeEnvironmentsRequest method. -// req, resp := client.DescribeEnvironmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironments func (c *Cloud9) DescribeEnvironmentsRequest(input *DescribeEnvironmentsInput) (req *request.Request, output *DescribeEnvironmentsOutput) { @@ -711,26 +709,27 @@ func (c *Cloud9) DescribeEnvironmentsRequest(input *DescribeEnvironmentsInput) ( // API operation DescribeEnvironments for usage and error information. // // Returned Error Types: -// * BadRequestException -// The target request is invalid. // -// * ConflictException -// A conflict occurred. +// - BadRequestException +// The target request is invalid. // -// * NotFoundException -// The target resource cannot be found. +// - ConflictException +// A conflict occurred. // -// * ForbiddenException -// An access permissions issue occurred. +// - NotFoundException +// The target resource cannot be found. // -// * TooManyRequestsException -// Too many service requests were made over the given time period. +// - ForbiddenException +// An access permissions issue occurred. // -// * LimitExceededException -// A service limit was exceeded. +// - TooManyRequestsException +// Too many service requests were made over the given time period. // -// * InternalServerErrorException -// An internal server error occurred. +// - LimitExceededException +// A service limit was exceeded. +// +// - InternalServerErrorException +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/DescribeEnvironments func (c *Cloud9) DescribeEnvironments(input *DescribeEnvironmentsInput) (*DescribeEnvironmentsOutput, error) { @@ -770,14 +769,13 @@ const opListEnvironments = "ListEnvironments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEnvironmentsRequest method. +// req, resp := client.ListEnvironmentsRequest(params) // -// // Example sending a request using the ListEnvironmentsRequest method. -// req, resp := client.ListEnvironmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/ListEnvironments func (c *Cloud9) ListEnvironmentsRequest(input *ListEnvironmentsInput) (req *request.Request, output *ListEnvironmentsOutput) { @@ -814,26 +812,27 @@ func (c *Cloud9) ListEnvironmentsRequest(input *ListEnvironmentsInput) (req *req // API operation ListEnvironments for usage and error information. // // Returned Error Types: -// * BadRequestException -// The target request is invalid. // -// * ConflictException -// A conflict occurred. +// - BadRequestException +// The target request is invalid. // -// * NotFoundException -// The target resource cannot be found. +// - ConflictException +// A conflict occurred. // -// * ForbiddenException -// An access permissions issue occurred. +// - NotFoundException +// The target resource cannot be found. // -// * TooManyRequestsException -// Too many service requests were made over the given time period. +// - ForbiddenException +// An access permissions issue occurred. // -// * LimitExceededException -// A service limit was exceeded. +// - TooManyRequestsException +// Too many service requests were made over the given time period. // -// * InternalServerErrorException -// An internal server error occurred. +// - LimitExceededException +// A service limit was exceeded. +// +// - InternalServerErrorException +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/ListEnvironments func (c *Cloud9) ListEnvironments(input *ListEnvironmentsInput) (*ListEnvironmentsOutput, error) { @@ -865,15 +864,14 @@ func (c *Cloud9) ListEnvironmentsWithContext(ctx aws.Context, input *ListEnviron // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEnvironments operation. -// pageNum := 0 -// err := client.ListEnvironmentsPages(params, -// func(page *cloud9.ListEnvironmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEnvironments operation. +// pageNum := 0 +// err := client.ListEnvironmentsPages(params, +// func(page *cloud9.ListEnvironmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Cloud9) ListEnvironmentsPages(input *ListEnvironmentsInput, fn func(*ListEnvironmentsOutput, bool) bool) error { return c.ListEnvironmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -925,14 +923,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/ListTagsForResource func (c *Cloud9) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -963,14 +960,15 @@ func (c *Cloud9) ListTagsForResourceRequest(input *ListTagsForResourceInput) (re // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// The target resource cannot be found. // -// * InternalServerErrorException -// An internal server error occurred. +// - NotFoundException +// The target resource cannot be found. +// +// - InternalServerErrorException +// An internal server error occurred. // -// * BadRequestException -// The target request is invalid. +// - BadRequestException +// The target request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/ListTagsForResource func (c *Cloud9) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1010,14 +1008,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/TagResource func (c *Cloud9) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1052,17 +1049,18 @@ func (c *Cloud9) TagResourceRequest(input *TagResourceInput) (req *request.Reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// The target resource cannot be found. // -// * InternalServerErrorException -// An internal server error occurred. +// - NotFoundException +// The target resource cannot be found. // -// * BadRequestException -// The target request is invalid. +// - InternalServerErrorException +// An internal server error occurred. // -// * ConcurrentAccessException -// A concurrent access issue occurred. +// - BadRequestException +// The target request is invalid. +// +// - ConcurrentAccessException +// A concurrent access issue occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/TagResource func (c *Cloud9) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1102,14 +1100,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UntagResource func (c *Cloud9) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1141,17 +1138,18 @@ func (c *Cloud9) UntagResourceRequest(input *UntagResourceInput) (req *request.R // API operation UntagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// The target resource cannot be found. // -// * InternalServerErrorException -// An internal server error occurred. +// - NotFoundException +// The target resource cannot be found. // -// * BadRequestException -// The target request is invalid. +// - InternalServerErrorException +// An internal server error occurred. // -// * ConcurrentAccessException -// A concurrent access issue occurred. +// - BadRequestException +// The target request is invalid. +// +// - ConcurrentAccessException +// A concurrent access issue occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UntagResource func (c *Cloud9) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1191,14 +1189,13 @@ const opUpdateEnvironment = "UpdateEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEnvironmentRequest method. +// req, resp := client.UpdateEnvironmentRequest(params) // -// // Example sending a request using the UpdateEnvironmentRequest method. -// req, resp := client.UpdateEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UpdateEnvironment func (c *Cloud9) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *request.Request, output *UpdateEnvironmentOutput) { @@ -1230,26 +1227,27 @@ func (c *Cloud9) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *r // API operation UpdateEnvironment for usage and error information. // // Returned Error Types: -// * BadRequestException -// The target request is invalid. // -// * ConflictException -// A conflict occurred. +// - BadRequestException +// The target request is invalid. // -// * NotFoundException -// The target resource cannot be found. +// - ConflictException +// A conflict occurred. // -// * ForbiddenException -// An access permissions issue occurred. +// - NotFoundException +// The target resource cannot be found. // -// * TooManyRequestsException -// Too many service requests were made over the given time period. +// - ForbiddenException +// An access permissions issue occurred. // -// * LimitExceededException -// A service limit was exceeded. +// - TooManyRequestsException +// Too many service requests were made over the given time period. // -// * InternalServerErrorException -// An internal server error occurred. +// - LimitExceededException +// A service limit was exceeded. +// +// - InternalServerErrorException +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UpdateEnvironment func (c *Cloud9) UpdateEnvironment(input *UpdateEnvironmentInput) (*UpdateEnvironmentOutput, error) { @@ -1289,14 +1287,13 @@ const opUpdateEnvironmentMembership = "UpdateEnvironmentMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEnvironmentMembershipRequest method. +// req, resp := client.UpdateEnvironmentMembershipRequest(params) // -// // Example sending a request using the UpdateEnvironmentMembershipRequest method. -// req, resp := client.UpdateEnvironmentMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UpdateEnvironmentMembership func (c *Cloud9) UpdateEnvironmentMembershipRequest(input *UpdateEnvironmentMembershipInput) (req *request.Request, output *UpdateEnvironmentMembershipOutput) { @@ -1328,26 +1325,27 @@ func (c *Cloud9) UpdateEnvironmentMembershipRequest(input *UpdateEnvironmentMemb // API operation UpdateEnvironmentMembership for usage and error information. // // Returned Error Types: -// * BadRequestException -// The target request is invalid. // -// * ConflictException -// A conflict occurred. +// - BadRequestException +// The target request is invalid. +// +// - ConflictException +// A conflict occurred. // -// * NotFoundException -// The target resource cannot be found. +// - NotFoundException +// The target resource cannot be found. // -// * ForbiddenException -// An access permissions issue occurred. +// - ForbiddenException +// An access permissions issue occurred. // -// * TooManyRequestsException -// Too many service requests were made over the given time period. +// - TooManyRequestsException +// Too many service requests were made over the given time period. // -// * LimitExceededException -// A service limit was exceeded. +// - LimitExceededException +// A service limit was exceeded. // -// * InternalServerErrorException -// An internal server error occurred. +// - InternalServerErrorException +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23/UpdateEnvironmentMembership func (c *Cloud9) UpdateEnvironmentMembership(input *UpdateEnvironmentMembershipInput) (*UpdateEnvironmentMembershipOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/cloud9iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/cloud9iface/interface.go index 3020e2af264c..4ff53164c9ee 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/cloud9iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/cloud9iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Cloud9. -// func myFunc(svc cloud9iface.Cloud9API) bool { -// // Make svc.CreateEnvironmentEC2 request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Cloud9. +// func myFunc(svc cloud9iface.Cloud9API) bool { +// // Make svc.CreateEnvironmentEC2 request +// } // -// func main() { -// sess := session.New() -// svc := cloud9.New(sess) +// func main() { +// sess := session.New() +// svc := cloud9.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCloud9Client struct { -// cloud9iface.Cloud9API -// } -// func (m *mockCloud9Client) CreateEnvironmentEC2(input *cloud9.CreateEnvironmentEC2Input) (*cloud9.CreateEnvironmentEC2Output, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCloud9Client struct { +// cloud9iface.Cloud9API +// } +// func (m *mockCloud9Client) CreateEnvironmentEC2(input *cloud9.CreateEnvironmentEC2Input) (*cloud9.CreateEnvironmentEC2Output, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCloud9Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCloud9Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/doc.go index b70038accf7d..5fba5fa118e7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/doc.go @@ -10,42 +10,42 @@ // // Cloud9 supports these operations: // -// * CreateEnvironmentEC2: Creates an Cloud9 development environment, launches -// an Amazon EC2 instance, and then connects from the instance to the environment. +// - CreateEnvironmentEC2: Creates an Cloud9 development environment, launches +// an Amazon EC2 instance, and then connects from the instance to the environment. // -// * CreateEnvironmentMembership: Adds an environment member to an environment. +// - CreateEnvironmentMembership: Adds an environment member to an environment. // -// * DeleteEnvironment: Deletes an environment. If an Amazon EC2 instance -// is connected to the environment, also terminates the instance. +// - DeleteEnvironment: Deletes an environment. If an Amazon EC2 instance +// is connected to the environment, also terminates the instance. // -// * DeleteEnvironmentMembership: Deletes an environment member from an environment. +// - DeleteEnvironmentMembership: Deletes an environment member from an environment. // -// * DescribeEnvironmentMemberships: Gets information about environment members -// for an environment. +// - DescribeEnvironmentMemberships: Gets information about environment members +// for an environment. // -// * DescribeEnvironments: Gets information about environments. +// - DescribeEnvironments: Gets information about environments. // -// * DescribeEnvironmentStatus: Gets status information for an environment. +// - DescribeEnvironmentStatus: Gets status information for an environment. // -// * ListEnvironments: Gets a list of environment identifiers. +// - ListEnvironments: Gets a list of environment identifiers. // -// * ListTagsForResource: Gets the tags for an environment. +// - ListTagsForResource: Gets the tags for an environment. // -// * TagResource: Adds tags to an environment. +// - TagResource: Adds tags to an environment. // -// * UntagResource: Removes tags from an environment. +// - UntagResource: Removes tags from an environment. // -// * UpdateEnvironment: Changes the settings of an existing environment. +// - UpdateEnvironment: Changes the settings of an existing environment. // -// * UpdateEnvironmentMembership: Changes the settings of an existing environment -// member for an environment. +// - UpdateEnvironmentMembership: Changes the settings of an existing environment +// member for an environment. // // See https://docs.aws.amazon.com/goto/WebAPI/cloud9-2017-09-23 for more information on this service. // // See cloud9 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cloud9/ // -// Using the Client +// # Using the Client // // To contact AWS Cloud9 with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/service.go index 8a8ebca58e48..dac596508c90 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloud9/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Cloud9 client from just a session. -// svc := cloud9.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Cloud9 client with additional configuration -// svc := cloud9.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Cloud9 client from just a session. +// svc := cloud9.New(mySession) +// +// // Create a Cloud9 client with additional configuration +// svc := cloud9.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Cloud9 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/api.go index ade67e9d4f8e..3be4c9ffc50c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/api.go @@ -28,14 +28,13 @@ const opCancelResourceRequest = "CancelResourceRequest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelResourceRequestRequest method. +// req, resp := client.CancelResourceRequestRequest(params) // -// // Example sending a request using the CancelResourceRequestRequest method. -// req, resp := client.CancelResourceRequestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/CancelResourceRequest func (c *CloudControlApi) CancelResourceRequestRequest(input *CancelResourceRequestInput) (req *request.Request, output *CancelResourceRequestOutput) { @@ -71,11 +70,12 @@ func (c *CloudControlApi) CancelResourceRequestRequest(input *CancelResourceRequ // API operation CancelResourceRequest for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// The resource is currently being modified by another operation. // -// * RequestTokenNotFoundException -// A resource operation with the specified request token can't be found. +// - ConcurrentModificationException +// The resource is currently being modified by another operation. +// +// - RequestTokenNotFoundException +// A resource operation with the specified request token can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/CancelResourceRequest func (c *CloudControlApi) CancelResourceRequest(input *CancelResourceRequestInput) (*CancelResourceRequestOutput, error) { @@ -115,14 +115,13 @@ const opCreateResource = "CreateResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResourceRequest method. +// req, resp := client.CreateResourceRequest(params) // -// // Example sending a request using the CreateResourceRequest method. -// req, resp := client.CreateResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/CreateResource func (c *CloudControlApi) CreateResourceRequest(input *CreateResourceInput) (req *request.Request, output *CreateResourceOutput) { @@ -159,80 +158,81 @@ func (c *CloudControlApi) CreateResourceRequest(input *CreateResourceInput) (req // API operation CreateResource for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource with the name requested already exists. // -// * HandlerInternalFailureException -// The resource handler has returned that an unexpected error occurred within -// the resource handler. +// - AlreadyExistsException +// The resource with the name requested already exists. +// +// - HandlerInternalFailureException +// The resource handler has returned that an unexpected error occurred within +// the resource handler. // -// * GeneralServiceException -// The resource handler has returned that the downstream service generated an -// error that doesn't map to any other handler error code. +// - GeneralServiceException +// The resource handler has returned that the downstream service generated an +// error that doesn't map to any other handler error code. // -// * NotUpdatableException -// One or more properties included in this resource operation are defined as -// create-only, and therefore can't be updated. +// - NotUpdatableException +// One or more properties included in this resource operation are defined as +// create-only, and therefore can't be updated. // -// * TypeNotFoundException -// The specified extension doesn't exist in the CloudFormation registry. +// - TypeNotFoundException +// The specified extension doesn't exist in the CloudFormation registry. // -// * ConcurrentOperationException -// Another resource operation is currently being performed on this resource. +// - ConcurrentOperationException +// Another resource operation is currently being performed on this resource. // -// * InvalidRequestException -// The resource handler has returned that invalid input from the user has generated -// a generic exception. +// - InvalidRequestException +// The resource handler has returned that invalid input from the user has generated +// a generic exception. // -// * PrivateTypeException -// Cloud Control API hasn't received a valid response from the resource handler, -// due to a configuration error. This includes issues such as the resource handler -// returning an invalid response, or timing out. +// - PrivateTypeException +// Cloud Control API hasn't received a valid response from the resource handler, +// due to a configuration error. This includes issues such as the resource handler +// returning an invalid response, or timing out. // -// * ResourceNotFoundException -// A resource with the specified identifier can't be found. +// - ResourceNotFoundException +// A resource with the specified identifier can't be found. // -// * NetworkFailureException -// The resource handler has returned that the request couldn't be completed -// due to networking issues, such as a failure to receive a response from the -// server. +// - NetworkFailureException +// The resource handler has returned that the request couldn't be completed +// due to networking issues, such as a failure to receive a response from the +// server. // -// * UnsupportedActionException -// The specified resource doesn't support this resource operation. +// - UnsupportedActionException +// The specified resource doesn't support this resource operation. // -// * NotStabilizedException -// The resource handler has returned that the downstream resource failed to -// complete all of its ready-state checks. +// - NotStabilizedException +// The resource handler has returned that the downstream resource failed to +// complete all of its ready-state checks. // -// * ServiceInternalErrorException -// The resource handler has returned that the downstream service returned an -// internal error, typically with a 5XX HTTP status code. +// - ServiceInternalErrorException +// The resource handler has returned that the downstream service returned an +// internal error, typically with a 5XX HTTP status code. // -// * HandlerFailureException -// The resource handler has failed without a returning a more specific error -// code. This can include timeouts. +// - HandlerFailureException +// The resource handler has failed without a returning a more specific error +// code. This can include timeouts. // -// * ServiceLimitExceededException -// The resource handler has returned that a non-transient resource limit was -// reached on the service side. +// - ServiceLimitExceededException +// The resource handler has returned that a non-transient resource limit was +// reached on the service side. // -// * InvalidCredentialsException -// The resource handler has returned that the credentials provided by the user -// are invalid. +// - InvalidCredentialsException +// The resource handler has returned that the credentials provided by the user +// are invalid. // -// * ResourceConflictException -// The resource is temporarily unavailable to be acted upon. For example, if -// the resource is currently undergoing an operation and can't be acted upon -// until that operation is finished. +// - ResourceConflictException +// The resource is temporarily unavailable to be acted upon. For example, if +// the resource is currently undergoing an operation and can't be acted upon +// until that operation is finished. // -// * ClientTokenConflictException -// The specified client token has already been used in another resource request. +// - ClientTokenConflictException +// The specified client token has already been used in another resource request. // -// It's best practice for client tokens to be unique for each resource operation -// request. However, client token expire after 36 hours. +// It's best practice for client tokens to be unique for each resource operation +// request. However, client token expire after 36 hours. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/CreateResource func (c *CloudControlApi) CreateResource(input *CreateResourceInput) (*CreateResourceOutput, error) { @@ -272,14 +272,13 @@ const opDeleteResource = "DeleteResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourceRequest method. +// req, resp := client.DeleteResourceRequest(params) // -// // Example sending a request using the DeleteResourceRequest method. -// req, resp := client.DeleteResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/DeleteResource func (c *CloudControlApi) DeleteResourceRequest(input *DeleteResourceInput) (req *request.Request, output *DeleteResourceOutput) { @@ -315,80 +314,81 @@ func (c *CloudControlApi) DeleteResourceRequest(input *DeleteResourceInput) (req // API operation DeleteResource for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource with the name requested already exists. // -// * HandlerInternalFailureException -// The resource handler has returned that an unexpected error occurred within -// the resource handler. +// - AlreadyExistsException +// The resource with the name requested already exists. +// +// - HandlerInternalFailureException +// The resource handler has returned that an unexpected error occurred within +// the resource handler. // -// * GeneralServiceException -// The resource handler has returned that the downstream service generated an -// error that doesn't map to any other handler error code. +// - GeneralServiceException +// The resource handler has returned that the downstream service generated an +// error that doesn't map to any other handler error code. // -// * NotUpdatableException -// One or more properties included in this resource operation are defined as -// create-only, and therefore can't be updated. +// - NotUpdatableException +// One or more properties included in this resource operation are defined as +// create-only, and therefore can't be updated. // -// * TypeNotFoundException -// The specified extension doesn't exist in the CloudFormation registry. +// - TypeNotFoundException +// The specified extension doesn't exist in the CloudFormation registry. // -// * ConcurrentOperationException -// Another resource operation is currently being performed on this resource. +// - ConcurrentOperationException +// Another resource operation is currently being performed on this resource. // -// * InvalidRequestException -// The resource handler has returned that invalid input from the user has generated -// a generic exception. +// - InvalidRequestException +// The resource handler has returned that invalid input from the user has generated +// a generic exception. // -// * PrivateTypeException -// Cloud Control API hasn't received a valid response from the resource handler, -// due to a configuration error. This includes issues such as the resource handler -// returning an invalid response, or timing out. +// - PrivateTypeException +// Cloud Control API hasn't received a valid response from the resource handler, +// due to a configuration error. This includes issues such as the resource handler +// returning an invalid response, or timing out. // -// * ResourceNotFoundException -// A resource with the specified identifier can't be found. +// - ResourceNotFoundException +// A resource with the specified identifier can't be found. // -// * NetworkFailureException -// The resource handler has returned that the request couldn't be completed -// due to networking issues, such as a failure to receive a response from the -// server. +// - NetworkFailureException +// The resource handler has returned that the request couldn't be completed +// due to networking issues, such as a failure to receive a response from the +// server. // -// * UnsupportedActionException -// The specified resource doesn't support this resource operation. +// - UnsupportedActionException +// The specified resource doesn't support this resource operation. // -// * NotStabilizedException -// The resource handler has returned that the downstream resource failed to -// complete all of its ready-state checks. +// - NotStabilizedException +// The resource handler has returned that the downstream resource failed to +// complete all of its ready-state checks. // -// * ServiceInternalErrorException -// The resource handler has returned that the downstream service returned an -// internal error, typically with a 5XX HTTP status code. +// - ServiceInternalErrorException +// The resource handler has returned that the downstream service returned an +// internal error, typically with a 5XX HTTP status code. // -// * HandlerFailureException -// The resource handler has failed without a returning a more specific error -// code. This can include timeouts. +// - HandlerFailureException +// The resource handler has failed without a returning a more specific error +// code. This can include timeouts. // -// * ServiceLimitExceededException -// The resource handler has returned that a non-transient resource limit was -// reached on the service side. +// - ServiceLimitExceededException +// The resource handler has returned that a non-transient resource limit was +// reached on the service side. // -// * InvalidCredentialsException -// The resource handler has returned that the credentials provided by the user -// are invalid. +// - InvalidCredentialsException +// The resource handler has returned that the credentials provided by the user +// are invalid. // -// * ResourceConflictException -// The resource is temporarily unavailable to be acted upon. For example, if -// the resource is currently undergoing an operation and can't be acted upon -// until that operation is finished. +// - ResourceConflictException +// The resource is temporarily unavailable to be acted upon. For example, if +// the resource is currently undergoing an operation and can't be acted upon +// until that operation is finished. // -// * ClientTokenConflictException -// The specified client token has already been used in another resource request. +// - ClientTokenConflictException +// The specified client token has already been used in another resource request. // -// It's best practice for client tokens to be unique for each resource operation -// request. However, client token expire after 36 hours. +// It's best practice for client tokens to be unique for each resource operation +// request. However, client token expire after 36 hours. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/DeleteResource func (c *CloudControlApi) DeleteResource(input *DeleteResourceInput) (*DeleteResourceOutput, error) { @@ -428,14 +428,13 @@ const opGetResource = "GetResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceRequest method. +// req, resp := client.GetResourceRequest(params) // -// // Example sending a request using the GetResourceRequest method. -// req, resp := client.GetResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/GetResource func (c *CloudControlApi) GetResourceRequest(input *GetResourceInput) (req *request.Request, output *GetResourceOutput) { @@ -471,71 +470,72 @@ func (c *CloudControlApi) GetResourceRequest(input *GetResourceInput) (req *requ // API operation GetResource for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource with the name requested already exists. // -// * HandlerInternalFailureException -// The resource handler has returned that an unexpected error occurred within -// the resource handler. +// - AlreadyExistsException +// The resource with the name requested already exists. +// +// - HandlerInternalFailureException +// The resource handler has returned that an unexpected error occurred within +// the resource handler. // -// * GeneralServiceException -// The resource handler has returned that the downstream service generated an -// error that doesn't map to any other handler error code. +// - GeneralServiceException +// The resource handler has returned that the downstream service generated an +// error that doesn't map to any other handler error code. // -// * NotUpdatableException -// One or more properties included in this resource operation are defined as -// create-only, and therefore can't be updated. +// - NotUpdatableException +// One or more properties included in this resource operation are defined as +// create-only, and therefore can't be updated. // -// * TypeNotFoundException -// The specified extension doesn't exist in the CloudFormation registry. +// - TypeNotFoundException +// The specified extension doesn't exist in the CloudFormation registry. // -// * InvalidRequestException -// The resource handler has returned that invalid input from the user has generated -// a generic exception. +// - InvalidRequestException +// The resource handler has returned that invalid input from the user has generated +// a generic exception. // -// * PrivateTypeException -// Cloud Control API hasn't received a valid response from the resource handler, -// due to a configuration error. This includes issues such as the resource handler -// returning an invalid response, or timing out. +// - PrivateTypeException +// Cloud Control API hasn't received a valid response from the resource handler, +// due to a configuration error. This includes issues such as the resource handler +// returning an invalid response, or timing out. // -// * ResourceNotFoundException -// A resource with the specified identifier can't be found. +// - ResourceNotFoundException +// A resource with the specified identifier can't be found. // -// * NetworkFailureException -// The resource handler has returned that the request couldn't be completed -// due to networking issues, such as a failure to receive a response from the -// server. +// - NetworkFailureException +// The resource handler has returned that the request couldn't be completed +// due to networking issues, such as a failure to receive a response from the +// server. // -// * UnsupportedActionException -// The specified resource doesn't support this resource operation. +// - UnsupportedActionException +// The specified resource doesn't support this resource operation. // -// * NotStabilizedException -// The resource handler has returned that the downstream resource failed to -// complete all of its ready-state checks. +// - NotStabilizedException +// The resource handler has returned that the downstream resource failed to +// complete all of its ready-state checks. // -// * ServiceInternalErrorException -// The resource handler has returned that the downstream service returned an -// internal error, typically with a 5XX HTTP status code. +// - ServiceInternalErrorException +// The resource handler has returned that the downstream service returned an +// internal error, typically with a 5XX HTTP status code. // -// * HandlerFailureException -// The resource handler has failed without a returning a more specific error -// code. This can include timeouts. +// - HandlerFailureException +// The resource handler has failed without a returning a more specific error +// code. This can include timeouts. // -// * ServiceLimitExceededException -// The resource handler has returned that a non-transient resource limit was -// reached on the service side. +// - ServiceLimitExceededException +// The resource handler has returned that a non-transient resource limit was +// reached on the service side. // -// * InvalidCredentialsException -// The resource handler has returned that the credentials provided by the user -// are invalid. +// - InvalidCredentialsException +// The resource handler has returned that the credentials provided by the user +// are invalid. // -// * ResourceConflictException -// The resource is temporarily unavailable to be acted upon. For example, if -// the resource is currently undergoing an operation and can't be acted upon -// until that operation is finished. +// - ResourceConflictException +// The resource is temporarily unavailable to be acted upon. For example, if +// the resource is currently undergoing an operation and can't be acted upon +// until that operation is finished. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/GetResource func (c *CloudControlApi) GetResource(input *GetResourceInput) (*GetResourceOutput, error) { @@ -575,14 +575,13 @@ const opGetResourceRequestStatus = "GetResourceRequestStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceRequestStatusRequest method. +// req, resp := client.GetResourceRequestStatusRequest(params) // -// // Example sending a request using the GetResourceRequestStatusRequest method. -// req, resp := client.GetResourceRequestStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/GetResourceRequestStatus func (c *CloudControlApi) GetResourceRequestStatusRequest(input *GetResourceRequestStatusInput) (req *request.Request, output *GetResourceRequestStatusOutput) { @@ -615,8 +614,8 @@ func (c *CloudControlApi) GetResourceRequestStatusRequest(input *GetResourceRequ // API operation GetResourceRequestStatus for usage and error information. // // Returned Error Types: -// * RequestTokenNotFoundException -// A resource operation with the specified request token can't be found. +// - RequestTokenNotFoundException +// A resource operation with the specified request token can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/GetResourceRequestStatus func (c *CloudControlApi) GetResourceRequestStatus(input *GetResourceRequestStatusInput) (*GetResourceRequestStatusOutput, error) { @@ -656,14 +655,13 @@ const opListResourceRequests = "ListResourceRequests" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourceRequestsRequest method. +// req, resp := client.ListResourceRequestsRequest(params) // -// // Example sending a request using the ListResourceRequestsRequest method. -// req, resp := client.ListResourceRequestsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/ListResourceRequests func (c *CloudControlApi) ListResourceRequestsRequest(input *ListResourceRequestsInput) (req *request.Request, output *ListResourceRequestsOutput) { @@ -733,15 +731,14 @@ func (c *CloudControlApi) ListResourceRequestsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResourceRequests operation. -// pageNum := 0 -// err := client.ListResourceRequestsPages(params, -// func(page *cloudcontrolapi.ListResourceRequestsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResourceRequests operation. +// pageNum := 0 +// err := client.ListResourceRequestsPages(params, +// func(page *cloudcontrolapi.ListResourceRequestsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudControlApi) ListResourceRequestsPages(input *ListResourceRequestsInput, fn func(*ListResourceRequestsOutput, bool) bool) error { return c.ListResourceRequestsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -793,14 +790,13 @@ const opListResources = "ListResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourcesRequest method. +// req, resp := client.ListResourcesRequest(params) // -// // Example sending a request using the ListResourcesRequest method. -// req, resp := client.ListResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/ListResources func (c *CloudControlApi) ListResourcesRequest(input *ListResourcesInput) (req *request.Request, output *ListResourcesOutput) { @@ -843,71 +839,72 @@ func (c *CloudControlApi) ListResourcesRequest(input *ListResourcesInput) (req * // API operation ListResources for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource with the name requested already exists. // -// * HandlerInternalFailureException -// The resource handler has returned that an unexpected error occurred within -// the resource handler. +// - AlreadyExistsException +// The resource with the name requested already exists. // -// * GeneralServiceException -// The resource handler has returned that the downstream service generated an -// error that doesn't map to any other handler error code. +// - HandlerInternalFailureException +// The resource handler has returned that an unexpected error occurred within +// the resource handler. // -// * NotUpdatableException -// One or more properties included in this resource operation are defined as -// create-only, and therefore can't be updated. +// - GeneralServiceException +// The resource handler has returned that the downstream service generated an +// error that doesn't map to any other handler error code. // -// * TypeNotFoundException -// The specified extension doesn't exist in the CloudFormation registry. +// - NotUpdatableException +// One or more properties included in this resource operation are defined as +// create-only, and therefore can't be updated. // -// * InvalidRequestException -// The resource handler has returned that invalid input from the user has generated -// a generic exception. +// - TypeNotFoundException +// The specified extension doesn't exist in the CloudFormation registry. // -// * PrivateTypeException -// Cloud Control API hasn't received a valid response from the resource handler, -// due to a configuration error. This includes issues such as the resource handler -// returning an invalid response, or timing out. +// - InvalidRequestException +// The resource handler has returned that invalid input from the user has generated +// a generic exception. // -// * ResourceNotFoundException -// A resource with the specified identifier can't be found. +// - PrivateTypeException +// Cloud Control API hasn't received a valid response from the resource handler, +// due to a configuration error. This includes issues such as the resource handler +// returning an invalid response, or timing out. // -// * NetworkFailureException -// The resource handler has returned that the request couldn't be completed -// due to networking issues, such as a failure to receive a response from the -// server. +// - ResourceNotFoundException +// A resource with the specified identifier can't be found. // -// * UnsupportedActionException -// The specified resource doesn't support this resource operation. +// - NetworkFailureException +// The resource handler has returned that the request couldn't be completed +// due to networking issues, such as a failure to receive a response from the +// server. // -// * NotStabilizedException -// The resource handler has returned that the downstream resource failed to -// complete all of its ready-state checks. +// - UnsupportedActionException +// The specified resource doesn't support this resource operation. // -// * ServiceInternalErrorException -// The resource handler has returned that the downstream service returned an -// internal error, typically with a 5XX HTTP status code. +// - NotStabilizedException +// The resource handler has returned that the downstream resource failed to +// complete all of its ready-state checks. // -// * HandlerFailureException -// The resource handler has failed without a returning a more specific error -// code. This can include timeouts. +// - ServiceInternalErrorException +// The resource handler has returned that the downstream service returned an +// internal error, typically with a 5XX HTTP status code. // -// * ServiceLimitExceededException -// The resource handler has returned that a non-transient resource limit was -// reached on the service side. +// - HandlerFailureException +// The resource handler has failed without a returning a more specific error +// code. This can include timeouts. // -// * InvalidCredentialsException -// The resource handler has returned that the credentials provided by the user -// are invalid. +// - ServiceLimitExceededException +// The resource handler has returned that a non-transient resource limit was +// reached on the service side. // -// * ResourceConflictException -// The resource is temporarily unavailable to be acted upon. For example, if -// the resource is currently undergoing an operation and can't be acted upon -// until that operation is finished. +// - InvalidCredentialsException +// The resource handler has returned that the credentials provided by the user +// are invalid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceConflictException +// The resource is temporarily unavailable to be acted upon. For example, if +// the resource is currently undergoing an operation and can't be acted upon +// until that operation is finished. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/ListResources func (c *CloudControlApi) ListResources(input *ListResourcesInput) (*ListResourcesOutput, error) { @@ -939,15 +936,14 @@ func (c *CloudControlApi) ListResourcesWithContext(ctx aws.Context, input *ListR // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResources operation. -// pageNum := 0 -// err := client.ListResourcesPages(params, -// func(page *cloudcontrolapi.ListResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResources operation. +// pageNum := 0 +// err := client.ListResourcesPages(params, +// func(page *cloudcontrolapi.ListResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudControlApi) ListResourcesPages(input *ListResourcesInput, fn func(*ListResourcesOutput, bool) bool) error { return c.ListResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -999,14 +995,13 @@ const opUpdateResource = "UpdateResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResourceRequest method. +// req, resp := client.UpdateResourceRequest(params) // -// // Example sending a request using the UpdateResourceRequest method. -// req, resp := client.UpdateResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/UpdateResource func (c *CloudControlApi) UpdateResourceRequest(input *UpdateResourceInput) (req *request.Request, output *UpdateResourceOutput) { @@ -1055,80 +1050,81 @@ func (c *CloudControlApi) UpdateResourceRequest(input *UpdateResourceInput) (req // API operation UpdateResource for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource with the name requested already exists. // -// * HandlerInternalFailureException -// The resource handler has returned that an unexpected error occurred within -// the resource handler. +// - AlreadyExistsException +// The resource with the name requested already exists. +// +// - HandlerInternalFailureException +// The resource handler has returned that an unexpected error occurred within +// the resource handler. // -// * GeneralServiceException -// The resource handler has returned that the downstream service generated an -// error that doesn't map to any other handler error code. +// - GeneralServiceException +// The resource handler has returned that the downstream service generated an +// error that doesn't map to any other handler error code. // -// * NotUpdatableException -// One or more properties included in this resource operation are defined as -// create-only, and therefore can't be updated. +// - NotUpdatableException +// One or more properties included in this resource operation are defined as +// create-only, and therefore can't be updated. // -// * TypeNotFoundException -// The specified extension doesn't exist in the CloudFormation registry. +// - TypeNotFoundException +// The specified extension doesn't exist in the CloudFormation registry. // -// * ConcurrentOperationException -// Another resource operation is currently being performed on this resource. +// - ConcurrentOperationException +// Another resource operation is currently being performed on this resource. // -// * InvalidRequestException -// The resource handler has returned that invalid input from the user has generated -// a generic exception. +// - InvalidRequestException +// The resource handler has returned that invalid input from the user has generated +// a generic exception. // -// * PrivateTypeException -// Cloud Control API hasn't received a valid response from the resource handler, -// due to a configuration error. This includes issues such as the resource handler -// returning an invalid response, or timing out. +// - PrivateTypeException +// Cloud Control API hasn't received a valid response from the resource handler, +// due to a configuration error. This includes issues such as the resource handler +// returning an invalid response, or timing out. // -// * ResourceNotFoundException -// A resource with the specified identifier can't be found. +// - ResourceNotFoundException +// A resource with the specified identifier can't be found. // -// * NetworkFailureException -// The resource handler has returned that the request couldn't be completed -// due to networking issues, such as a failure to receive a response from the -// server. +// - NetworkFailureException +// The resource handler has returned that the request couldn't be completed +// due to networking issues, such as a failure to receive a response from the +// server. // -// * UnsupportedActionException -// The specified resource doesn't support this resource operation. +// - UnsupportedActionException +// The specified resource doesn't support this resource operation. // -// * NotStabilizedException -// The resource handler has returned that the downstream resource failed to -// complete all of its ready-state checks. +// - NotStabilizedException +// The resource handler has returned that the downstream resource failed to +// complete all of its ready-state checks. // -// * ServiceInternalErrorException -// The resource handler has returned that the downstream service returned an -// internal error, typically with a 5XX HTTP status code. +// - ServiceInternalErrorException +// The resource handler has returned that the downstream service returned an +// internal error, typically with a 5XX HTTP status code. // -// * HandlerFailureException -// The resource handler has failed without a returning a more specific error -// code. This can include timeouts. +// - HandlerFailureException +// The resource handler has failed without a returning a more specific error +// code. This can include timeouts. // -// * ServiceLimitExceededException -// The resource handler has returned that a non-transient resource limit was -// reached on the service side. +// - ServiceLimitExceededException +// The resource handler has returned that a non-transient resource limit was +// reached on the service side. // -// * InvalidCredentialsException -// The resource handler has returned that the credentials provided by the user -// are invalid. +// - InvalidCredentialsException +// The resource handler has returned that the credentials provided by the user +// are invalid. // -// * ResourceConflictException -// The resource is temporarily unavailable to be acted upon. For example, if -// the resource is currently undergoing an operation and can't be acted upon -// until that operation is finished. +// - ResourceConflictException +// The resource is temporarily unavailable to be acted upon. For example, if +// the resource is currently undergoing an operation and can't be acted upon +// until that operation is finished. // -// * ClientTokenConflictException -// The specified client token has already been used in another resource request. +// - ClientTokenConflictException +// The specified client token has already been used in another resource request. // -// It's best practice for client tokens to be unique for each resource operation -// request. However, client token expire after 36 hours. +// It's best practice for client tokens to be unique for each resource operation +// request. However, client token expire after 36 hours. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/UpdateResource func (c *CloudControlApi) UpdateResource(input *UpdateResourceInput) (*UpdateResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/cloudcontrolapiiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/cloudcontrolapiiface/interface.go index 9267ba659dcd..e96012cd2652 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/cloudcontrolapiiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/cloudcontrolapiiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Cloud Control API. -// func myFunc(svc cloudcontrolapiiface.CloudControlApiAPI) bool { -// // Make svc.CancelResourceRequest request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Cloud Control API. +// func myFunc(svc cloudcontrolapiiface.CloudControlApiAPI) bool { +// // Make svc.CancelResourceRequest request +// } // -// func main() { -// sess := session.New() -// svc := cloudcontrolapi.New(sess) +// func main() { +// sess := session.New() +// svc := cloudcontrolapi.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCloudControlApiClient struct { -// cloudcontrolapiiface.CloudControlApiAPI -// } -// func (m *mockCloudControlApiClient) CancelResourceRequest(input *cloudcontrolapi.CancelResourceRequestInput) (*cloudcontrolapi.CancelResourceRequestOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCloudControlApiClient struct { +// cloudcontrolapiiface.CloudControlApiAPI +// } +// func (m *mockCloudControlApiClient) CancelResourceRequest(input *cloudcontrolapi.CancelResourceRequestInput) (*cloudcontrolapi.CancelResourceRequestOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCloudControlApiClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCloudControlApiClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/doc.go index e918b8cbde72..b6530e0a943c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/doc.go @@ -11,7 +11,7 @@ // See cloudcontrolapi package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cloudcontrolapi/ // -// Using the Client +// # Using the Client // // To contact AWS Cloud Control API with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/service.go index f1d82c1687c8..b3973863768d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudcontrolapi/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CloudControlApi client from just a session. -// svc := cloudcontrolapi.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CloudControlApi client with additional configuration -// svc := cloudcontrolapi.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CloudControlApi client from just a session. +// svc := cloudcontrolapi.New(mySession) +// +// // Create a CloudControlApi client with additional configuration +// svc := cloudcontrolapi.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudControlApi { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/api.go index b292972d38a1..0bd192e62bbb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/api.go @@ -29,14 +29,13 @@ const opAddFacetToObject = "AddFacetToObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddFacetToObjectRequest method. +// req, resp := client.AddFacetToObjectRequest(params) // -// // Example sending a request using the AddFacetToObjectRequest method. -// req, resp := client.AddFacetToObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AddFacetToObject func (c *CloudDirectory) AddFacetToObjectRequest(input *AddFacetToObjectInput) (req *request.Request, output *AddFacetToObjectOutput) { @@ -69,45 +68,46 @@ func (c *CloudDirectory) AddFacetToObjectRequest(input *AddFacetToObjectInput) ( // API operation AddFacetToObject for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AddFacetToObject func (c *CloudDirectory) AddFacetToObject(input *AddFacetToObjectInput) (*AddFacetToObjectOutput, error) { @@ -147,14 +147,13 @@ const opApplySchema = "ApplySchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ApplySchemaRequest method. +// req, resp := client.ApplySchemaRequest(params) // -// // Example sending a request using the ApplySchemaRequest method. -// req, resp := client.ApplySchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ApplySchema func (c *CloudDirectory) ApplySchemaRequest(input *ApplySchemaInput) (req *request.Request, output *ApplySchemaOutput) { @@ -186,47 +185,48 @@ func (c *CloudDirectory) ApplySchemaRequest(input *ApplySchemaInput) (req *reque // API operation ApplySchema for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * SchemaAlreadyExistsException -// Indicates that a schema could not be created due to a naming conflict. Please -// select a different name and then try again. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * InvalidAttachmentException -// Indicates that an attempt to make an attachment was invalid. For example, -// attaching two nodes with a link type that is not applicable to the nodes -// or attempting to apply a schema to a directory a second time. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - SchemaAlreadyExistsException +// Indicates that a schema could not be created due to a naming conflict. Please +// select a different name and then try again. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - InvalidAttachmentException +// Indicates that an attempt to make an attachment was invalid. For example, +// attaching two nodes with a link type that is not applicable to the nodes +// or attempting to apply a schema to a directory a second time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ApplySchema func (c *CloudDirectory) ApplySchema(input *ApplySchemaInput) (*ApplySchemaOutput, error) { @@ -266,14 +266,13 @@ const opAttachObject = "AttachObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachObjectRequest method. +// req, resp := client.AttachObjectRequest(params) // -// // Example sending a request using the AttachObjectRequest method. -// req, resp := client.AttachObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachObject func (c *CloudDirectory) AttachObjectRequest(input *AttachObjectInput) (req *request.Request, output *AttachObjectOutput) { @@ -297,7 +296,7 @@ func (c *CloudDirectory) AttachObjectRequest(input *AttachObjectInput) (req *req // Attaches an existing object to another object. An object can be accessed // in two ways: // -// Using the path +// # Using the path // // Using ObjectIdentifier // @@ -309,58 +308,59 @@ func (c *CloudDirectory) AttachObjectRequest(input *AttachObjectInput) (req *req // API operation AttachObject for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * LinkNameAlreadyInUseException -// Indicates that a link could not be created due to a naming conflict. Choose -// a different name and then try again. -// -// * InvalidAttachmentException -// Indicates that an attempt to make an attachment was invalid. For example, -// attaching two nodes with a link type that is not applicable to the nodes -// or attempting to apply a schema to a directory a second time. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - LinkNameAlreadyInUseException +// Indicates that a link could not be created due to a naming conflict. Choose +// a different name and then try again. +// +// - InvalidAttachmentException +// Indicates that an attempt to make an attachment was invalid. For example, +// attaching two nodes with a link type that is not applicable to the nodes +// or attempting to apply a schema to a directory a second time. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachObject func (c *CloudDirectory) AttachObject(input *AttachObjectInput) (*AttachObjectOutput, error) { @@ -400,14 +400,13 @@ const opAttachPolicy = "AttachPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachPolicyRequest method. +// req, resp := client.AttachPolicyRequest(params) // -// // Example sending a request using the AttachPolicyRequest method. -// req, resp := client.AttachPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachPolicy func (c *CloudDirectory) AttachPolicyRequest(input *AttachPolicyInput) (req *request.Request, output *AttachPolicyOutput) { @@ -440,44 +439,45 @@ func (c *CloudDirectory) AttachPolicyRequest(input *AttachPolicyInput) (req *req // API operation AttachPolicy for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * NotPolicyException -// Indicates that the requested operation can only operate on policy objects. +// - NotPolicyException +// Indicates that the requested operation can only operate on policy objects. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachPolicy func (c *CloudDirectory) AttachPolicy(input *AttachPolicyInput) (*AttachPolicyOutput, error) { @@ -517,14 +517,13 @@ const opAttachToIndex = "AttachToIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachToIndexRequest method. +// req, resp := client.AttachToIndexRequest(params) // -// // Example sending a request using the AttachToIndexRequest method. -// req, resp := client.AttachToIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachToIndex func (c *CloudDirectory) AttachToIndexRequest(input *AttachToIndexInput) (req *request.Request, output *AttachToIndexOutput) { @@ -555,57 +554,58 @@ func (c *CloudDirectory) AttachToIndexRequest(input *AttachToIndexInput) (req *r // API operation AttachToIndex for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. -// -// * InvalidAttachmentException -// Indicates that an attempt to make an attachment was invalid. For example, -// attaching two nodes with a link type that is not applicable to the nodes -// or attempting to apply a schema to a directory a second time. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * LinkNameAlreadyInUseException -// Indicates that a link could not be created due to a naming conflict. Choose -// a different name and then try again. -// -// * IndexedAttributeMissingException -// An object has been attempted to be attached to an object that does not have -// the appropriate attribute value. -// -// * NotIndexException -// Indicates that the requested operation can only operate on index objects. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. +// +// - InvalidAttachmentException +// Indicates that an attempt to make an attachment was invalid. For example, +// attaching two nodes with a link type that is not applicable to the nodes +// or attempting to apply a schema to a directory a second time. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - LinkNameAlreadyInUseException +// Indicates that a link could not be created due to a naming conflict. Choose +// a different name and then try again. +// +// - IndexedAttributeMissingException +// An object has been attempted to be attached to an object that does not have +// the appropriate attribute value. +// +// - NotIndexException +// Indicates that the requested operation can only operate on index objects. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachToIndex func (c *CloudDirectory) AttachToIndex(input *AttachToIndexInput) (*AttachToIndexOutput, error) { @@ -645,14 +645,13 @@ const opAttachTypedLink = "AttachTypedLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachTypedLinkRequest method. +// req, resp := client.AttachTypedLinkRequest(params) // -// // Example sending a request using the AttachTypedLinkRequest method. -// req, resp := client.AttachTypedLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachTypedLink func (c *CloudDirectory) AttachTypedLinkRequest(input *AttachTypedLinkInput) (req *request.Request, output *AttachTypedLinkOutput) { @@ -684,54 +683,55 @@ func (c *CloudDirectory) AttachTypedLinkRequest(input *AttachTypedLinkInput) (re // API operation AttachTypedLink for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * InvalidAttachmentException -// Indicates that an attempt to make an attachment was invalid. For example, -// attaching two nodes with a link type that is not applicable to the nodes -// or attempting to apply a schema to a directory a second time. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - InvalidAttachmentException +// Indicates that an attempt to make an attachment was invalid. For example, +// attaching two nodes with a link type that is not applicable to the nodes +// or attempting to apply a schema to a directory a second time. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/AttachTypedLink func (c *CloudDirectory) AttachTypedLink(input *AttachTypedLinkInput) (*AttachTypedLinkOutput, error) { @@ -771,14 +771,13 @@ const opBatchRead = "BatchRead" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchReadRequest method. +// req, resp := client.BatchReadRequest(params) // -// // Example sending a request using the BatchReadRequest method. -// req, resp := client.BatchReadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/BatchRead func (c *CloudDirectory) BatchReadRequest(input *BatchReadInput) (req *request.Request, output *BatchReadOutput) { @@ -809,38 +808,39 @@ func (c *CloudDirectory) BatchReadRequest(input *BatchReadInput) (req *request.R // API operation BatchRead for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/BatchRead func (c *CloudDirectory) BatchRead(input *BatchReadInput) (*BatchReadOutput, error) { @@ -880,14 +880,13 @@ const opBatchWrite = "BatchWrite" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchWriteRequest method. +// req, resp := client.BatchWriteRequest(params) // -// // Example sending a request using the BatchWriteRequest method. -// req, resp := client.BatchWriteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/BatchWrite func (c *CloudDirectory) BatchWriteRequest(input *BatchWriteInput) (req *request.Request, output *BatchWriteOutput) { @@ -919,41 +918,42 @@ func (c *CloudDirectory) BatchWriteRequest(input *BatchWriteInput) (req *request // API operation BatchWrite for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. -// -// * BatchWriteException -// A BatchWrite exception has occurred. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. +// +// - BatchWriteException +// A BatchWrite exception has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/BatchWrite func (c *CloudDirectory) BatchWrite(input *BatchWriteInput) (*BatchWriteOutput, error) { @@ -993,14 +993,13 @@ const opCreateDirectory = "CreateDirectory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDirectoryRequest method. +// req, resp := client.CreateDirectoryRequest(params) // -// // Example sending a request using the CreateDirectoryRequest method. -// req, resp := client.CreateDirectoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateDirectory func (c *CloudDirectory) CreateDirectoryRequest(input *CreateDirectoryInput) (req *request.Request, output *CreateDirectoryOutput) { @@ -1036,42 +1035,43 @@ func (c *CloudDirectory) CreateDirectoryRequest(input *CreateDirectoryInput) (re // API operation CreateDirectory for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryAlreadyExistsException -// Indicates that a Directory could not be created due to a naming conflict. -// Choose a different name and try again. -// -// * ResourceNotFoundException -// The specified resource could not be found. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryAlreadyExistsException +// Indicates that a Directory could not be created due to a naming conflict. +// Choose a different name and try again. +// +// - ResourceNotFoundException +// The specified resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateDirectory func (c *CloudDirectory) CreateDirectory(input *CreateDirectoryInput) (*CreateDirectoryOutput, error) { @@ -1111,14 +1111,13 @@ const opCreateFacet = "CreateFacet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFacetRequest method. +// req, resp := client.CreateFacetRequest(params) // -// // Example sending a request using the CreateFacetRequest method. -// req, resp := client.CreateFacetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateFacet func (c *CloudDirectory) CreateFacetRequest(input *CreateFacetInput) (req *request.Request, output *CreateFacetOutput) { @@ -1151,48 +1150,49 @@ func (c *CloudDirectory) CreateFacetRequest(input *CreateFacetInput) (req *reque // API operation CreateFacet for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * FacetAlreadyExistsException -// A facet with the same name already exists. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InvalidRuleException -// Occurs when any of the rule parameter keys or values are invalid. +// - FacetAlreadyExistsException +// A facet with the same name already exists. // -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// - InvalidRuleException +// Occurs when any of the rule parameter keys or values are invalid. +// +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateFacet func (c *CloudDirectory) CreateFacet(input *CreateFacetInput) (*CreateFacetOutput, error) { @@ -1232,14 +1232,13 @@ const opCreateIndex = "CreateIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIndexRequest method. +// req, resp := client.CreateIndexRequest(params) // -// // Example sending a request using the CreateIndexRequest method. -// req, resp := client.CreateIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateIndex func (c *CloudDirectory) CreateIndexRequest(input *CreateIndexInput) (req *request.Request, output *CreateIndexOutput) { @@ -1271,52 +1270,53 @@ func (c *CloudDirectory) CreateIndexRequest(input *CreateIndexInput) (req *reque // API operation CreateIndex for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * LinkNameAlreadyInUseException -// Indicates that a link could not be created due to a naming conflict. Choose -// a different name and then try again. +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // -// * UnsupportedIndexTypeException -// Indicates that the requested index type is not supported. +// - LinkNameAlreadyInUseException +// Indicates that a link could not be created due to a naming conflict. Choose +// a different name and then try again. +// +// - UnsupportedIndexTypeException +// Indicates that the requested index type is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateIndex func (c *CloudDirectory) CreateIndex(input *CreateIndexInput) (*CreateIndexOutput, error) { @@ -1356,14 +1356,13 @@ const opCreateObject = "CreateObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateObjectRequest method. +// req, resp := client.CreateObjectRequest(params) // -// // Example sending a request using the CreateObjectRequest method. -// req, resp := client.CreateObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateObject func (c *CloudDirectory) CreateObjectRequest(input *CreateObjectInput) (req *request.Request, output *CreateObjectOutput) { @@ -1397,52 +1396,53 @@ func (c *CloudDirectory) CreateObjectRequest(input *CreateObjectInput) (req *req // API operation CreateObject for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // -// * LinkNameAlreadyInUseException -// Indicates that a link could not be created due to a naming conflict. Choose -// a different name and then try again. +// - LinkNameAlreadyInUseException +// Indicates that a link could not be created due to a naming conflict. Choose +// a different name and then try again. // -// * UnsupportedIndexTypeException -// Indicates that the requested index type is not supported. +// - UnsupportedIndexTypeException +// Indicates that the requested index type is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateObject func (c *CloudDirectory) CreateObject(input *CreateObjectInput) (*CreateObjectOutput, error) { @@ -1482,14 +1482,13 @@ const opCreateSchema = "CreateSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSchemaRequest method. +// req, resp := client.CreateSchemaRequest(params) // -// // Example sending a request using the CreateSchemaRequest method. -// req, resp := client.CreateSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateSchema func (c *CloudDirectory) CreateSchemaRequest(input *CreateSchemaInput) (req *request.Request, output *CreateSchemaOutput) { @@ -1513,16 +1512,16 @@ func (c *CloudDirectory) CreateSchemaRequest(input *CreateSchemaInput) (req *req // Creates a new schema in a development state. A schema can exist in three // phases: // -// * Development: This is a mutable phase of the schema. All new schemas -// are in the development phase. Once the schema is finalized, it can be -// published. +// - Development: This is a mutable phase of the schema. All new schemas +// are in the development phase. Once the schema is finalized, it can be +// published. // -// * Published: Published schemas are immutable and have a version associated -// with them. +// - Published: Published schemas are immutable and have a version associated +// with them. // -// * Applied: Applied schemas are mutable in a way that allows you to add -// new schema facets. You can also add new, nonrequired attributes to existing -// schema facets. You can apply only published schemas to directories. +// - Applied: Applied schemas are mutable in a way that allows you to add +// new schema facets. You can also add new, nonrequired attributes to existing +// schema facets. You can apply only published schemas to directories. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1532,44 +1531,45 @@ func (c *CloudDirectory) CreateSchemaRequest(input *CreateSchemaInput) (req *req // API operation CreateSchema for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * SchemaAlreadyExistsException -// Indicates that a schema could not be created due to a naming conflict. Please -// select a different name and then try again. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - SchemaAlreadyExistsException +// Indicates that a schema could not be created due to a naming conflict. Please +// select a different name and then try again. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateSchema func (c *CloudDirectory) CreateSchema(input *CreateSchemaInput) (*CreateSchemaOutput, error) { @@ -1609,14 +1609,13 @@ const opCreateTypedLinkFacet = "CreateTypedLinkFacet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTypedLinkFacetRequest method. +// req, resp := client.CreateTypedLinkFacetRequest(params) // -// // Example sending a request using the CreateTypedLinkFacetRequest method. -// req, resp := client.CreateTypedLinkFacetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateTypedLinkFacet func (c *CloudDirectory) CreateTypedLinkFacetRequest(input *CreateTypedLinkFacetInput) (req *request.Request, output *CreateTypedLinkFacetOutput) { @@ -1648,48 +1647,49 @@ func (c *CloudDirectory) CreateTypedLinkFacetRequest(input *CreateTypedLinkFacet // API operation CreateTypedLinkFacet for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * FacetAlreadyExistsException -// A facet with the same name already exists. +// - FacetAlreadyExistsException +// A facet with the same name already exists. // -// * InvalidRuleException -// Occurs when any of the rule parameter keys or values are invalid. +// - InvalidRuleException +// Occurs when any of the rule parameter keys or values are invalid. // -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/CreateTypedLinkFacet func (c *CloudDirectory) CreateTypedLinkFacet(input *CreateTypedLinkFacetInput) (*CreateTypedLinkFacetOutput, error) { @@ -1729,14 +1729,13 @@ const opDeleteDirectory = "DeleteDirectory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDirectoryRequest method. +// req, resp := client.DeleteDirectoryRequest(params) // -// // Example sending a request using the DeleteDirectoryRequest method. -// req, resp := client.DeleteDirectoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteDirectory func (c *CloudDirectory) DeleteDirectoryRequest(input *DeleteDirectoryInput) (req *request.Request, output *DeleteDirectoryOutput) { @@ -1768,45 +1767,46 @@ func (c *CloudDirectory) DeleteDirectoryRequest(input *DeleteDirectoryInput) (re // API operation DeleteDirectory for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * DirectoryNotDisabledException -// An operation can only operate on a disabled directory. -// -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryDeletedException -// A directory that has been deleted and to which access has been attempted. -// Note: The requested resource will eventually cease to exist. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - DirectoryNotDisabledException +// An operation can only operate on a disabled directory. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryDeletedException +// A directory that has been deleted and to which access has been attempted. +// Note: The requested resource will eventually cease to exist. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteDirectory func (c *CloudDirectory) DeleteDirectory(input *DeleteDirectoryInput) (*DeleteDirectoryOutput, error) { @@ -1846,14 +1846,13 @@ const opDeleteFacet = "DeleteFacet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFacetRequest method. +// req, resp := client.DeleteFacetRequest(params) // -// // Example sending a request using the DeleteFacetRequest method. -// req, resp := client.DeleteFacetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteFacet func (c *CloudDirectory) DeleteFacetRequest(input *DeleteFacetInput) (req *request.Request, output *DeleteFacetOutput) { @@ -1886,45 +1885,46 @@ func (c *CloudDirectory) DeleteFacetRequest(input *DeleteFacetInput) (req *reque // API operation DeleteFacet for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * FacetNotFoundException -// The specified Facet could not be found. -// -// * FacetInUseException -// Occurs when deleting a facet that contains an attribute that is a target -// to an attribute reference in a different facet. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - FacetNotFoundException +// The specified Facet could not be found. +// +// - FacetInUseException +// Occurs when deleting a facet that contains an attribute that is a target +// to an attribute reference in a different facet. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteFacet func (c *CloudDirectory) DeleteFacet(input *DeleteFacetInput) (*DeleteFacetOutput, error) { @@ -1964,14 +1964,13 @@ const opDeleteObject = "DeleteObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteObjectRequest method. +// req, resp := client.DeleteObjectRequest(params) // -// // Example sending a request using the DeleteObjectRequest method. -// req, resp := client.DeleteObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteObject func (c *CloudDirectory) DeleteObjectRequest(input *DeleteObjectInput) (req *request.Request, output *DeleteObjectOutput) { @@ -2006,45 +2005,46 @@ func (c *CloudDirectory) DeleteObjectRequest(input *DeleteObjectInput) (req *req // API operation DeleteObject for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * ObjectNotDetachedException -// Indicates that the requested operation cannot be completed because the object -// has not been detached from the tree. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ObjectNotDetachedException +// Indicates that the requested operation cannot be completed because the object +// has not been detached from the tree. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteObject func (c *CloudDirectory) DeleteObject(input *DeleteObjectInput) (*DeleteObjectOutput, error) { @@ -2084,14 +2084,13 @@ const opDeleteSchema = "DeleteSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSchemaRequest method. +// req, resp := client.DeleteSchemaRequest(params) // -// // Example sending a request using the DeleteSchemaRequest method. -// req, resp := client.DeleteSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteSchema func (c *CloudDirectory) DeleteSchemaRequest(input *DeleteSchemaInput) (req *request.Request, output *DeleteSchemaOutput) { @@ -2123,42 +2122,43 @@ func (c *CloudDirectory) DeleteSchemaRequest(input *DeleteSchemaInput) (req *req // API operation DeleteSchema for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * StillContainsLinksException -// The object could not be deleted because links still exist. Remove the links -// and then try the operation again. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - StillContainsLinksException +// The object could not be deleted because links still exist. Remove the links +// and then try the operation again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteSchema func (c *CloudDirectory) DeleteSchema(input *DeleteSchemaInput) (*DeleteSchemaOutput, error) { @@ -2198,14 +2198,13 @@ const opDeleteTypedLinkFacet = "DeleteTypedLinkFacet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTypedLinkFacetRequest method. +// req, resp := client.DeleteTypedLinkFacetRequest(params) // -// // Example sending a request using the DeleteTypedLinkFacetRequest method. -// req, resp := client.DeleteTypedLinkFacetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteTypedLinkFacet func (c *CloudDirectory) DeleteTypedLinkFacetRequest(input *DeleteTypedLinkFacetInput) (req *request.Request, output *DeleteTypedLinkFacetOutput) { @@ -2237,41 +2236,42 @@ func (c *CloudDirectory) DeleteTypedLinkFacetRequest(input *DeleteTypedLinkFacet // API operation DeleteTypedLinkFacet for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * FacetNotFoundException -// The specified Facet could not be found. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - FacetNotFoundException +// The specified Facet could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DeleteTypedLinkFacet func (c *CloudDirectory) DeleteTypedLinkFacet(input *DeleteTypedLinkFacetInput) (*DeleteTypedLinkFacetOutput, error) { @@ -2311,14 +2311,13 @@ const opDetachFromIndex = "DetachFromIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachFromIndexRequest method. +// req, resp := client.DetachFromIndexRequest(params) // -// // Example sending a request using the DetachFromIndexRequest method. -// req, resp := client.DetachFromIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachFromIndex func (c *CloudDirectory) DetachFromIndexRequest(input *DetachFromIndexInput) (req *request.Request, output *DetachFromIndexOutput) { @@ -2349,47 +2348,48 @@ func (c *CloudDirectory) DetachFromIndexRequest(input *DetachFromIndexInput) (re // API operation DetachFromIndex for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // -// * ObjectAlreadyDetachedException -// Indicates that the object is not attached to the index. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * NotIndexException -// Indicates that the requested operation can only operate on index objects. +// - ObjectAlreadyDetachedException +// Indicates that the object is not attached to the index. +// +// - NotIndexException +// Indicates that the requested operation can only operate on index objects. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachFromIndex func (c *CloudDirectory) DetachFromIndex(input *DetachFromIndexInput) (*DetachFromIndexOutput, error) { @@ -2429,14 +2429,13 @@ const opDetachObject = "DetachObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachObjectRequest method. +// req, resp := client.DetachObjectRequest(params) // -// // Example sending a request using the DetachObjectRequest method. -// req, resp := client.DetachObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachObject func (c *CloudDirectory) DetachObjectRequest(input *DetachObjectInput) (req *request.Request, output *DetachObjectOutput) { @@ -2468,45 +2467,46 @@ func (c *CloudDirectory) DetachObjectRequest(input *DetachObjectInput) (req *req // API operation DetachObject for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * NotNodeException -// Occurs when any invalid operations are performed on an object that is not -// a node, such as calling ListObjectChildren for a leaf node object. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - NotNodeException +// Occurs when any invalid operations are performed on an object that is not +// a node, such as calling ListObjectChildren for a leaf node object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachObject func (c *CloudDirectory) DetachObject(input *DetachObjectInput) (*DetachObjectOutput, error) { @@ -2546,14 +2546,13 @@ const opDetachPolicy = "DetachPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachPolicyRequest method. +// req, resp := client.DetachPolicyRequest(params) // -// // Example sending a request using the DetachPolicyRequest method. -// req, resp := client.DetachPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachPolicy func (c *CloudDirectory) DetachPolicyRequest(input *DetachPolicyInput) (req *request.Request, output *DetachPolicyOutput) { @@ -2585,44 +2584,45 @@ func (c *CloudDirectory) DetachPolicyRequest(input *DetachPolicyInput) (req *req // API operation DetachPolicy for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // -// * NotPolicyException -// Indicates that the requested operation can only operate on policy objects. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - NotPolicyException +// Indicates that the requested operation can only operate on policy objects. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachPolicy func (c *CloudDirectory) DetachPolicy(input *DetachPolicyInput) (*DetachPolicyOutput, error) { @@ -2662,14 +2662,13 @@ const opDetachTypedLink = "DetachTypedLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachTypedLinkRequest method. +// req, resp := client.DetachTypedLinkRequest(params) // -// // Example sending a request using the DetachTypedLinkRequest method. -// req, resp := client.DetachTypedLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachTypedLink func (c *CloudDirectory) DetachTypedLinkRequest(input *DetachTypedLinkInput) (req *request.Request, output *DetachTypedLinkOutput) { @@ -2702,45 +2701,46 @@ func (c *CloudDirectory) DetachTypedLinkRequest(input *DetachTypedLinkInput) (re // API operation DetachTypedLink for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DetachTypedLink func (c *CloudDirectory) DetachTypedLink(input *DetachTypedLinkInput) (*DetachTypedLinkOutput, error) { @@ -2780,14 +2780,13 @@ const opDisableDirectory = "DisableDirectory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableDirectoryRequest method. +// req, resp := client.DisableDirectoryRequest(params) // -// // Example sending a request using the DisableDirectoryRequest method. -// req, resp := client.DisableDirectoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DisableDirectory func (c *CloudDirectory) DisableDirectoryRequest(input *DisableDirectoryInput) (req *request.Request, output *DisableDirectoryOutput) { @@ -2820,42 +2819,43 @@ func (c *CloudDirectory) DisableDirectoryRequest(input *DisableDirectoryInput) ( // API operation DisableDirectory for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * DirectoryDeletedException -// A directory that has been deleted and to which access has been attempted. -// Note: The requested resource will eventually cease to exist. -// -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - DirectoryDeletedException +// A directory that has been deleted and to which access has been attempted. +// Note: The requested resource will eventually cease to exist. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/DisableDirectory func (c *CloudDirectory) DisableDirectory(input *DisableDirectoryInput) (*DisableDirectoryOutput, error) { @@ -2895,14 +2895,13 @@ const opEnableDirectory = "EnableDirectory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableDirectoryRequest method. +// req, resp := client.EnableDirectoryRequest(params) // -// // Example sending a request using the EnableDirectoryRequest method. -// req, resp := client.EnableDirectoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/EnableDirectory func (c *CloudDirectory) EnableDirectoryRequest(input *EnableDirectoryInput) (req *request.Request, output *EnableDirectoryOutput) { @@ -2934,42 +2933,43 @@ func (c *CloudDirectory) EnableDirectoryRequest(input *EnableDirectoryInput) (re // API operation EnableDirectory for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * DirectoryDeletedException -// A directory that has been deleted and to which access has been attempted. -// Note: The requested resource will eventually cease to exist. -// -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - DirectoryDeletedException +// A directory that has been deleted and to which access has been attempted. +// Note: The requested resource will eventually cease to exist. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/EnableDirectory func (c *CloudDirectory) EnableDirectory(input *EnableDirectoryInput) (*EnableDirectoryOutput, error) { @@ -3009,14 +3009,13 @@ const opGetAppliedSchemaVersion = "GetAppliedSchemaVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAppliedSchemaVersionRequest method. +// req, resp := client.GetAppliedSchemaVersionRequest(params) // -// // Example sending a request using the GetAppliedSchemaVersionRequest method. -// req, resp := client.GetAppliedSchemaVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetAppliedSchemaVersion func (c *CloudDirectory) GetAppliedSchemaVersionRequest(input *GetAppliedSchemaVersionInput) (req *request.Request, output *GetAppliedSchemaVersionOutput) { @@ -3048,38 +3047,39 @@ func (c *CloudDirectory) GetAppliedSchemaVersionRequest(input *GetAppliedSchemaV // API operation GetAppliedSchemaVersion for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetAppliedSchemaVersion func (c *CloudDirectory) GetAppliedSchemaVersion(input *GetAppliedSchemaVersionInput) (*GetAppliedSchemaVersionOutput, error) { @@ -3119,14 +3119,13 @@ const opGetDirectory = "GetDirectory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDirectoryRequest method. +// req, resp := client.GetDirectoryRequest(params) // -// // Example sending a request using the GetDirectoryRequest method. -// req, resp := client.GetDirectoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetDirectory func (c *CloudDirectory) GetDirectoryRequest(input *GetDirectoryInput) (req *request.Request, output *GetDirectoryOutput) { @@ -3157,35 +3156,36 @@ func (c *CloudDirectory) GetDirectoryRequest(input *GetDirectoryInput) (req *req // API operation GetDirectory for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetDirectory func (c *CloudDirectory) GetDirectory(input *GetDirectoryInput) (*GetDirectoryOutput, error) { @@ -3225,14 +3225,13 @@ const opGetFacet = "GetFacet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFacetRequest method. +// req, resp := client.GetFacetRequest(params) // -// // Example sending a request using the GetFacetRequest method. -// req, resp := client.GetFacetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetFacet func (c *CloudDirectory) GetFacetRequest(input *GetFacetInput) (req *request.Request, output *GetFacetOutput) { @@ -3265,41 +3264,42 @@ func (c *CloudDirectory) GetFacetRequest(input *GetFacetInput) (req *request.Req // API operation GetFacet for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * FacetNotFoundException -// The specified Facet could not be found. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - FacetNotFoundException +// The specified Facet could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetFacet func (c *CloudDirectory) GetFacet(input *GetFacetInput) (*GetFacetOutput, error) { @@ -3339,14 +3339,13 @@ const opGetLinkAttributes = "GetLinkAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLinkAttributesRequest method. +// req, resp := client.GetLinkAttributesRequest(params) // -// // Example sending a request using the GetLinkAttributesRequest method. -// req, resp := client.GetLinkAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetLinkAttributes func (c *CloudDirectory) GetLinkAttributesRequest(input *GetLinkAttributesInput) (req *request.Request, output *GetLinkAttributesOutput) { @@ -3377,45 +3376,46 @@ func (c *CloudDirectory) GetLinkAttributesRequest(input *GetLinkAttributesInput) // API operation GetLinkAttributes for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetLinkAttributes func (c *CloudDirectory) GetLinkAttributes(input *GetLinkAttributesInput) (*GetLinkAttributesOutput, error) { @@ -3455,14 +3455,13 @@ const opGetObjectAttributes = "GetObjectAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetObjectAttributesRequest method. +// req, resp := client.GetObjectAttributesRequest(params) // -// // Example sending a request using the GetObjectAttributesRequest method. -// req, resp := client.GetObjectAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetObjectAttributes func (c *CloudDirectory) GetObjectAttributesRequest(input *GetObjectAttributesInput) (req *request.Request, output *GetObjectAttributesOutput) { @@ -3493,45 +3492,46 @@ func (c *CloudDirectory) GetObjectAttributesRequest(input *GetObjectAttributesIn // API operation GetObjectAttributes for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetObjectAttributes func (c *CloudDirectory) GetObjectAttributes(input *GetObjectAttributesInput) (*GetObjectAttributesOutput, error) { @@ -3571,14 +3571,13 @@ const opGetObjectInformation = "GetObjectInformation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetObjectInformationRequest method. +// req, resp := client.GetObjectInformationRequest(params) // -// // Example sending a request using the GetObjectInformationRequest method. -// req, resp := client.GetObjectInformationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetObjectInformation func (c *CloudDirectory) GetObjectInformationRequest(input *GetObjectInformationInput) (req *request.Request, output *GetObjectInformationOutput) { @@ -3609,41 +3608,42 @@ func (c *CloudDirectory) GetObjectInformationRequest(input *GetObjectInformation // API operation GetObjectInformation for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. -// -// * ResourceNotFoundException -// The specified resource could not be found. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. +// +// - ResourceNotFoundException +// The specified resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetObjectInformation func (c *CloudDirectory) GetObjectInformation(input *GetObjectInformationInput) (*GetObjectInformationOutput, error) { @@ -3683,14 +3683,13 @@ const opGetSchemaAsJson = "GetSchemaAsJson" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSchemaAsJsonRequest method. +// req, resp := client.GetSchemaAsJsonRequest(params) // -// // Example sending a request using the GetSchemaAsJsonRequest method. -// req, resp := client.GetSchemaAsJsonRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetSchemaAsJson func (c *CloudDirectory) GetSchemaAsJsonRequest(input *GetSchemaAsJsonInput) (req *request.Request, output *GetSchemaAsJsonOutput) { @@ -3722,42 +3721,43 @@ func (c *CloudDirectory) GetSchemaAsJsonRequest(input *GetSchemaAsJsonInput) (re // API operation GetSchemaAsJson for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetSchemaAsJson func (c *CloudDirectory) GetSchemaAsJson(input *GetSchemaAsJsonInput) (*GetSchemaAsJsonOutput, error) { @@ -3797,14 +3797,13 @@ const opGetTypedLinkFacetInformation = "GetTypedLinkFacetInformation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTypedLinkFacetInformationRequest method. +// req, resp := client.GetTypedLinkFacetInformationRequest(params) // -// // Example sending a request using the GetTypedLinkFacetInformationRequest method. -// req, resp := client.GetTypedLinkFacetInformationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetTypedLinkFacetInformation func (c *CloudDirectory) GetTypedLinkFacetInformationRequest(input *GetTypedLinkFacetInformationInput) (req *request.Request, output *GetTypedLinkFacetInformationOutput) { @@ -3836,44 +3835,45 @@ func (c *CloudDirectory) GetTypedLinkFacetInformationRequest(input *GetTypedLink // API operation GetTypedLinkFacetInformation for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // -// * FacetNotFoundException -// The specified Facet could not be found. +// - FacetNotFoundException +// The specified Facet could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/GetTypedLinkFacetInformation func (c *CloudDirectory) GetTypedLinkFacetInformation(input *GetTypedLinkFacetInformationInput) (*GetTypedLinkFacetInformationOutput, error) { @@ -3913,14 +3913,13 @@ const opListAppliedSchemaArns = "ListAppliedSchemaArns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppliedSchemaArnsRequest method. +// req, resp := client.ListAppliedSchemaArnsRequest(params) // -// // Example sending a request using the ListAppliedSchemaArnsRequest method. -// req, resp := client.ListAppliedSchemaArnsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListAppliedSchemaArns func (c *CloudDirectory) ListAppliedSchemaArnsRequest(input *ListAppliedSchemaArnsInput) (req *request.Request, output *ListAppliedSchemaArnsOutput) { @@ -3958,41 +3957,42 @@ func (c *CloudDirectory) ListAppliedSchemaArnsRequest(input *ListAppliedSchemaAr // API operation ListAppliedSchemaArns for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListAppliedSchemaArns func (c *CloudDirectory) ListAppliedSchemaArns(input *ListAppliedSchemaArnsInput) (*ListAppliedSchemaArnsOutput, error) { @@ -4024,15 +4024,14 @@ func (c *CloudDirectory) ListAppliedSchemaArnsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppliedSchemaArns operation. -// pageNum := 0 -// err := client.ListAppliedSchemaArnsPages(params, -// func(page *clouddirectory.ListAppliedSchemaArnsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppliedSchemaArns operation. +// pageNum := 0 +// err := client.ListAppliedSchemaArnsPages(params, +// func(page *clouddirectory.ListAppliedSchemaArnsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListAppliedSchemaArnsPages(input *ListAppliedSchemaArnsInput, fn func(*ListAppliedSchemaArnsOutput, bool) bool) error { return c.ListAppliedSchemaArnsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4084,14 +4083,13 @@ const opListAttachedIndices = "ListAttachedIndices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAttachedIndicesRequest method. +// req, resp := client.ListAttachedIndicesRequest(params) // -// // Example sending a request using the ListAttachedIndicesRequest method. -// req, resp := client.ListAttachedIndicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListAttachedIndices func (c *CloudDirectory) ListAttachedIndicesRequest(input *ListAttachedIndicesInput) (req *request.Request, output *ListAttachedIndicesOutput) { @@ -4128,41 +4126,42 @@ func (c *CloudDirectory) ListAttachedIndicesRequest(input *ListAttachedIndicesIn // API operation ListAttachedIndices for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. -// -// * ResourceNotFoundException -// The specified resource could not be found. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. +// +// - ResourceNotFoundException +// The specified resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListAttachedIndices func (c *CloudDirectory) ListAttachedIndices(input *ListAttachedIndicesInput) (*ListAttachedIndicesOutput, error) { @@ -4194,15 +4193,14 @@ func (c *CloudDirectory) ListAttachedIndicesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAttachedIndices operation. -// pageNum := 0 -// err := client.ListAttachedIndicesPages(params, -// func(page *clouddirectory.ListAttachedIndicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAttachedIndices operation. +// pageNum := 0 +// err := client.ListAttachedIndicesPages(params, +// func(page *clouddirectory.ListAttachedIndicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListAttachedIndicesPages(input *ListAttachedIndicesInput, fn func(*ListAttachedIndicesOutput, bool) bool) error { return c.ListAttachedIndicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4254,14 +4252,13 @@ const opListDevelopmentSchemaArns = "ListDevelopmentSchemaArns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDevelopmentSchemaArnsRequest method. +// req, resp := client.ListDevelopmentSchemaArnsRequest(params) // -// // Example sending a request using the ListDevelopmentSchemaArnsRequest method. -// req, resp := client.ListDevelopmentSchemaArnsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListDevelopmentSchemaArns func (c *CloudDirectory) ListDevelopmentSchemaArnsRequest(input *ListDevelopmentSchemaArnsInput) (req *request.Request, output *ListDevelopmentSchemaArnsOutput) { @@ -4298,41 +4295,42 @@ func (c *CloudDirectory) ListDevelopmentSchemaArnsRequest(input *ListDevelopment // API operation ListDevelopmentSchemaArns for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListDevelopmentSchemaArns func (c *CloudDirectory) ListDevelopmentSchemaArns(input *ListDevelopmentSchemaArnsInput) (*ListDevelopmentSchemaArnsOutput, error) { @@ -4364,15 +4362,14 @@ func (c *CloudDirectory) ListDevelopmentSchemaArnsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDevelopmentSchemaArns operation. -// pageNum := 0 -// err := client.ListDevelopmentSchemaArnsPages(params, -// func(page *clouddirectory.ListDevelopmentSchemaArnsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDevelopmentSchemaArns operation. +// pageNum := 0 +// err := client.ListDevelopmentSchemaArnsPages(params, +// func(page *clouddirectory.ListDevelopmentSchemaArnsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListDevelopmentSchemaArnsPages(input *ListDevelopmentSchemaArnsInput, fn func(*ListDevelopmentSchemaArnsOutput, bool) bool) error { return c.ListDevelopmentSchemaArnsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4424,14 +4421,13 @@ const opListDirectories = "ListDirectories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDirectoriesRequest method. +// req, resp := client.ListDirectoriesRequest(params) // -// // Example sending a request using the ListDirectoriesRequest method. -// req, resp := client.ListDirectoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListDirectories func (c *CloudDirectory) ListDirectoriesRequest(input *ListDirectoriesInput) (req *request.Request, output *ListDirectoriesOutput) { @@ -4468,38 +4464,39 @@ func (c *CloudDirectory) ListDirectoriesRequest(input *ListDirectoriesInput) (re // API operation ListDirectories for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListDirectories func (c *CloudDirectory) ListDirectories(input *ListDirectoriesInput) (*ListDirectoriesOutput, error) { @@ -4531,15 +4528,14 @@ func (c *CloudDirectory) ListDirectoriesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDirectories operation. -// pageNum := 0 -// err := client.ListDirectoriesPages(params, -// func(page *clouddirectory.ListDirectoriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDirectories operation. +// pageNum := 0 +// err := client.ListDirectoriesPages(params, +// func(page *clouddirectory.ListDirectoriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListDirectoriesPages(input *ListDirectoriesInput, fn func(*ListDirectoriesOutput, bool) bool) error { return c.ListDirectoriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4591,14 +4587,13 @@ const opListFacetAttributes = "ListFacetAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFacetAttributesRequest method. +// req, resp := client.ListFacetAttributesRequest(params) // -// // Example sending a request using the ListFacetAttributesRequest method. -// req, resp := client.ListFacetAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListFacetAttributes func (c *CloudDirectory) ListFacetAttributesRequest(input *ListFacetAttributesInput) (req *request.Request, output *ListFacetAttributesOutput) { @@ -4635,44 +4630,45 @@ func (c *CloudDirectory) ListFacetAttributesRequest(input *ListFacetAttributesIn // API operation ListFacetAttributes for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * FacetNotFoundException -// The specified Facet could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// - FacetNotFoundException +// The specified Facet could not be found. +// +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListFacetAttributes func (c *CloudDirectory) ListFacetAttributes(input *ListFacetAttributesInput) (*ListFacetAttributesOutput, error) { @@ -4704,15 +4700,14 @@ func (c *CloudDirectory) ListFacetAttributesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFacetAttributes operation. -// pageNum := 0 -// err := client.ListFacetAttributesPages(params, -// func(page *clouddirectory.ListFacetAttributesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFacetAttributes operation. +// pageNum := 0 +// err := client.ListFacetAttributesPages(params, +// func(page *clouddirectory.ListFacetAttributesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListFacetAttributesPages(input *ListFacetAttributesInput, fn func(*ListFacetAttributesOutput, bool) bool) error { return c.ListFacetAttributesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4764,14 +4759,13 @@ const opListFacetNames = "ListFacetNames" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFacetNamesRequest method. +// req, resp := client.ListFacetNamesRequest(params) // -// // Example sending a request using the ListFacetNamesRequest method. -// req, resp := client.ListFacetNamesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListFacetNames func (c *CloudDirectory) ListFacetNamesRequest(input *ListFacetNamesInput) (req *request.Request, output *ListFacetNamesOutput) { @@ -4808,41 +4802,42 @@ func (c *CloudDirectory) ListFacetNamesRequest(input *ListFacetNamesInput) (req // API operation ListFacetNames for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListFacetNames func (c *CloudDirectory) ListFacetNames(input *ListFacetNamesInput) (*ListFacetNamesOutput, error) { @@ -4874,15 +4869,14 @@ func (c *CloudDirectory) ListFacetNamesWithContext(ctx aws.Context, input *ListF // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFacetNames operation. -// pageNum := 0 -// err := client.ListFacetNamesPages(params, -// func(page *clouddirectory.ListFacetNamesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFacetNames operation. +// pageNum := 0 +// err := client.ListFacetNamesPages(params, +// func(page *clouddirectory.ListFacetNamesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListFacetNamesPages(input *ListFacetNamesInput, fn func(*ListFacetNamesOutput, bool) bool) error { return c.ListFacetNamesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4934,14 +4928,13 @@ const opListIncomingTypedLinks = "ListIncomingTypedLinks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIncomingTypedLinksRequest method. +// req, resp := client.ListIncomingTypedLinksRequest(params) // -// // Example sending a request using the ListIncomingTypedLinksRequest method. -// req, resp := client.ListIncomingTypedLinksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListIncomingTypedLinks func (c *CloudDirectory) ListIncomingTypedLinksRequest(input *ListIncomingTypedLinksInput) (req *request.Request, output *ListIncomingTypedLinksOutput) { @@ -4974,48 +4967,49 @@ func (c *CloudDirectory) ListIncomingTypedLinksRequest(input *ListIncomingTypedL // API operation ListIncomingTypedLinks for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListIncomingTypedLinks func (c *CloudDirectory) ListIncomingTypedLinks(input *ListIncomingTypedLinksInput) (*ListIncomingTypedLinksOutput, error) { @@ -5055,14 +5049,13 @@ const opListIndex = "ListIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIndexRequest method. +// req, resp := client.ListIndexRequest(params) // -// // Example sending a request using the ListIndexRequest method. -// req, resp := client.ListIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListIndex func (c *CloudDirectory) ListIndexRequest(input *ListIndexInput) (req *request.Request, output *ListIndexOutput) { @@ -5099,51 +5092,52 @@ func (c *CloudDirectory) ListIndexRequest(input *ListIndexInput) (req *request.R // API operation ListIndex for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * NotIndexException -// Indicates that the requested operation can only operate on index objects. +// - NotIndexException +// Indicates that the requested operation can only operate on index objects. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListIndex func (c *CloudDirectory) ListIndex(input *ListIndexInput) (*ListIndexOutput, error) { @@ -5175,15 +5169,14 @@ func (c *CloudDirectory) ListIndexWithContext(ctx aws.Context, input *ListIndexI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListIndex operation. -// pageNum := 0 -// err := client.ListIndexPages(params, -// func(page *clouddirectory.ListIndexOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListIndex operation. +// pageNum := 0 +// err := client.ListIndexPages(params, +// func(page *clouddirectory.ListIndexOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListIndexPages(input *ListIndexInput, fn func(*ListIndexOutput, bool) bool) error { return c.ListIndexPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5235,14 +5228,13 @@ const opListManagedSchemaArns = "ListManagedSchemaArns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListManagedSchemaArnsRequest method. +// req, resp := client.ListManagedSchemaArnsRequest(params) // -// // Example sending a request using the ListManagedSchemaArnsRequest method. -// req, resp := client.ListManagedSchemaArnsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListManagedSchemaArns func (c *CloudDirectory) ListManagedSchemaArnsRequest(input *ListManagedSchemaArnsInput) (req *request.Request, output *ListManagedSchemaArnsOutput) { @@ -5281,29 +5273,30 @@ func (c *CloudDirectory) ListManagedSchemaArnsRequest(input *ListManagedSchemaAr // API operation ListManagedSchemaArns for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListManagedSchemaArns func (c *CloudDirectory) ListManagedSchemaArns(input *ListManagedSchemaArnsInput) (*ListManagedSchemaArnsOutput, error) { @@ -5335,15 +5328,14 @@ func (c *CloudDirectory) ListManagedSchemaArnsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListManagedSchemaArns operation. -// pageNum := 0 -// err := client.ListManagedSchemaArnsPages(params, -// func(page *clouddirectory.ListManagedSchemaArnsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListManagedSchemaArns operation. +// pageNum := 0 +// err := client.ListManagedSchemaArnsPages(params, +// func(page *clouddirectory.ListManagedSchemaArnsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListManagedSchemaArnsPages(input *ListManagedSchemaArnsInput, fn func(*ListManagedSchemaArnsOutput, bool) bool) error { return c.ListManagedSchemaArnsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5395,14 +5387,13 @@ const opListObjectAttributes = "ListObjectAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListObjectAttributesRequest method. +// req, resp := client.ListObjectAttributesRequest(params) // -// // Example sending a request using the ListObjectAttributesRequest method. -// req, resp := client.ListObjectAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectAttributes func (c *CloudDirectory) ListObjectAttributesRequest(input *ListObjectAttributesInput) (req *request.Request, output *ListObjectAttributesOutput) { @@ -5439,48 +5430,49 @@ func (c *CloudDirectory) ListObjectAttributesRequest(input *ListObjectAttributes // API operation ListObjectAttributes for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. +// +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectAttributes func (c *CloudDirectory) ListObjectAttributes(input *ListObjectAttributesInput) (*ListObjectAttributesOutput, error) { @@ -5512,15 +5504,14 @@ func (c *CloudDirectory) ListObjectAttributesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListObjectAttributes operation. -// pageNum := 0 -// err := client.ListObjectAttributesPages(params, -// func(page *clouddirectory.ListObjectAttributesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListObjectAttributes operation. +// pageNum := 0 +// err := client.ListObjectAttributesPages(params, +// func(page *clouddirectory.ListObjectAttributesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListObjectAttributesPages(input *ListObjectAttributesInput, fn func(*ListObjectAttributesOutput, bool) bool) error { return c.ListObjectAttributesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5572,14 +5563,13 @@ const opListObjectChildren = "ListObjectChildren" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListObjectChildrenRequest method. +// req, resp := client.ListObjectChildrenRequest(params) // -// // Example sending a request using the ListObjectChildrenRequest method. -// req, resp := client.ListObjectChildrenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectChildren func (c *CloudDirectory) ListObjectChildrenRequest(input *ListObjectChildrenInput) (req *request.Request, output *ListObjectChildrenOutput) { @@ -5617,48 +5607,49 @@ func (c *CloudDirectory) ListObjectChildrenRequest(input *ListObjectChildrenInpu // API operation ListObjectChildren for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // -// * NotNodeException -// Occurs when any invalid operations are performed on an object that is not -// a node, such as calling ListObjectChildren for a leaf node object. +// - NotNodeException +// Occurs when any invalid operations are performed on an object that is not +// a node, such as calling ListObjectChildren for a leaf node object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectChildren func (c *CloudDirectory) ListObjectChildren(input *ListObjectChildrenInput) (*ListObjectChildrenOutput, error) { @@ -5690,15 +5681,14 @@ func (c *CloudDirectory) ListObjectChildrenWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListObjectChildren operation. -// pageNum := 0 -// err := client.ListObjectChildrenPages(params, -// func(page *clouddirectory.ListObjectChildrenOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListObjectChildren operation. +// pageNum := 0 +// err := client.ListObjectChildrenPages(params, +// func(page *clouddirectory.ListObjectChildrenOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListObjectChildrenPages(input *ListObjectChildrenInput, fn func(*ListObjectChildrenOutput, bool) bool) error { return c.ListObjectChildrenPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5750,14 +5740,13 @@ const opListObjectParentPaths = "ListObjectParentPaths" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListObjectParentPathsRequest method. +// req, resp := client.ListObjectParentPathsRequest(params) // -// // Example sending a request using the ListObjectParentPathsRequest method. -// req, resp := client.ListObjectParentPathsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectParentPaths func (c *CloudDirectory) ListObjectParentPathsRequest(input *ListObjectParentPathsInput) (req *request.Request, output *ListObjectParentPathsOutput) { @@ -5804,44 +5793,45 @@ func (c *CloudDirectory) ListObjectParentPathsRequest(input *ListObjectParentPat // API operation ListObjectParentPaths for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectParentPaths func (c *CloudDirectory) ListObjectParentPaths(input *ListObjectParentPathsInput) (*ListObjectParentPathsOutput, error) { @@ -5873,15 +5863,14 @@ func (c *CloudDirectory) ListObjectParentPathsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListObjectParentPaths operation. -// pageNum := 0 -// err := client.ListObjectParentPathsPages(params, -// func(page *clouddirectory.ListObjectParentPathsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListObjectParentPaths operation. +// pageNum := 0 +// err := client.ListObjectParentPathsPages(params, +// func(page *clouddirectory.ListObjectParentPathsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListObjectParentPathsPages(input *ListObjectParentPathsInput, fn func(*ListObjectParentPathsOutput, bool) bool) error { return c.ListObjectParentPathsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5933,14 +5922,13 @@ const opListObjectParents = "ListObjectParents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListObjectParentsRequest method. +// req, resp := client.ListObjectParentsRequest(params) // -// // Example sending a request using the ListObjectParentsRequest method. -// req, resp := client.ListObjectParentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectParents func (c *CloudDirectory) ListObjectParentsRequest(input *ListObjectParentsInput) (req *request.Request, output *ListObjectParentsOutput) { @@ -5978,47 +5966,48 @@ func (c *CloudDirectory) ListObjectParentsRequest(input *ListObjectParentsInput) // API operation ListObjectParents for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * CannotListParentOfRootException -// Cannot list the parents of a Directory root. +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. +// +// - CannotListParentOfRootException +// Cannot list the parents of a Directory root. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectParents func (c *CloudDirectory) ListObjectParents(input *ListObjectParentsInput) (*ListObjectParentsOutput, error) { @@ -6050,15 +6039,14 @@ func (c *CloudDirectory) ListObjectParentsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListObjectParents operation. -// pageNum := 0 -// err := client.ListObjectParentsPages(params, -// func(page *clouddirectory.ListObjectParentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListObjectParents operation. +// pageNum := 0 +// err := client.ListObjectParentsPages(params, +// func(page *clouddirectory.ListObjectParentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListObjectParentsPages(input *ListObjectParentsInput, fn func(*ListObjectParentsOutput, bool) bool) error { return c.ListObjectParentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6110,14 +6098,13 @@ const opListObjectPolicies = "ListObjectPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListObjectPoliciesRequest method. +// req, resp := client.ListObjectPoliciesRequest(params) // -// // Example sending a request using the ListObjectPoliciesRequest method. -// req, resp := client.ListObjectPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectPolicies func (c *CloudDirectory) ListObjectPoliciesRequest(input *ListObjectPoliciesInput) (req *request.Request, output *ListObjectPoliciesOutput) { @@ -6154,44 +6141,45 @@ func (c *CloudDirectory) ListObjectPoliciesRequest(input *ListObjectPoliciesInpu // API operation ListObjectPolicies for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListObjectPolicies func (c *CloudDirectory) ListObjectPolicies(input *ListObjectPoliciesInput) (*ListObjectPoliciesOutput, error) { @@ -6223,15 +6211,14 @@ func (c *CloudDirectory) ListObjectPoliciesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListObjectPolicies operation. -// pageNum := 0 -// err := client.ListObjectPoliciesPages(params, -// func(page *clouddirectory.ListObjectPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListObjectPolicies operation. +// pageNum := 0 +// err := client.ListObjectPoliciesPages(params, +// func(page *clouddirectory.ListObjectPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListObjectPoliciesPages(input *ListObjectPoliciesInput, fn func(*ListObjectPoliciesOutput, bool) bool) error { return c.ListObjectPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6283,14 +6270,13 @@ const opListOutgoingTypedLinks = "ListOutgoingTypedLinks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOutgoingTypedLinksRequest method. +// req, resp := client.ListOutgoingTypedLinksRequest(params) // -// // Example sending a request using the ListOutgoingTypedLinksRequest method. -// req, resp := client.ListOutgoingTypedLinksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListOutgoingTypedLinks func (c *CloudDirectory) ListOutgoingTypedLinksRequest(input *ListOutgoingTypedLinksInput) (req *request.Request, output *ListOutgoingTypedLinksOutput) { @@ -6323,48 +6309,49 @@ func (c *CloudDirectory) ListOutgoingTypedLinksRequest(input *ListOutgoingTypedL // API operation ListOutgoingTypedLinks for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListOutgoingTypedLinks func (c *CloudDirectory) ListOutgoingTypedLinks(input *ListOutgoingTypedLinksInput) (*ListOutgoingTypedLinksOutput, error) { @@ -6404,14 +6391,13 @@ const opListPolicyAttachments = "ListPolicyAttachments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPolicyAttachmentsRequest method. +// req, resp := client.ListPolicyAttachmentsRequest(params) // -// // Example sending a request using the ListPolicyAttachmentsRequest method. -// req, resp := client.ListPolicyAttachmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListPolicyAttachments func (c *CloudDirectory) ListPolicyAttachmentsRequest(input *ListPolicyAttachmentsInput) (req *request.Request, output *ListPolicyAttachmentsOutput) { @@ -6448,47 +6434,48 @@ func (c *CloudDirectory) ListPolicyAttachmentsRequest(input *ListPolicyAttachmen // API operation ListPolicyAttachments for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * NotPolicyException -// Indicates that the requested operation can only operate on policy objects. +// - NotPolicyException +// Indicates that the requested operation can only operate on policy objects. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListPolicyAttachments func (c *CloudDirectory) ListPolicyAttachments(input *ListPolicyAttachmentsInput) (*ListPolicyAttachmentsOutput, error) { @@ -6520,15 +6507,14 @@ func (c *CloudDirectory) ListPolicyAttachmentsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPolicyAttachments operation. -// pageNum := 0 -// err := client.ListPolicyAttachmentsPages(params, -// func(page *clouddirectory.ListPolicyAttachmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPolicyAttachments operation. +// pageNum := 0 +// err := client.ListPolicyAttachmentsPages(params, +// func(page *clouddirectory.ListPolicyAttachmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListPolicyAttachmentsPages(input *ListPolicyAttachmentsInput, fn func(*ListPolicyAttachmentsOutput, bool) bool) error { return c.ListPolicyAttachmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6580,14 +6566,13 @@ const opListPublishedSchemaArns = "ListPublishedSchemaArns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPublishedSchemaArnsRequest method. +// req, resp := client.ListPublishedSchemaArnsRequest(params) // -// // Example sending a request using the ListPublishedSchemaArnsRequest method. -// req, resp := client.ListPublishedSchemaArnsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListPublishedSchemaArns func (c *CloudDirectory) ListPublishedSchemaArnsRequest(input *ListPublishedSchemaArnsInput) (req *request.Request, output *ListPublishedSchemaArnsOutput) { @@ -6626,41 +6611,42 @@ func (c *CloudDirectory) ListPublishedSchemaArnsRequest(input *ListPublishedSche // API operation ListPublishedSchemaArns for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListPublishedSchemaArns func (c *CloudDirectory) ListPublishedSchemaArns(input *ListPublishedSchemaArnsInput) (*ListPublishedSchemaArnsOutput, error) { @@ -6692,15 +6678,14 @@ func (c *CloudDirectory) ListPublishedSchemaArnsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPublishedSchemaArns operation. -// pageNum := 0 -// err := client.ListPublishedSchemaArnsPages(params, -// func(page *clouddirectory.ListPublishedSchemaArnsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPublishedSchemaArns operation. +// pageNum := 0 +// err := client.ListPublishedSchemaArnsPages(params, +// func(page *clouddirectory.ListPublishedSchemaArnsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListPublishedSchemaArnsPages(input *ListPublishedSchemaArnsInput, fn func(*ListPublishedSchemaArnsOutput, bool) bool) error { return c.ListPublishedSchemaArnsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6752,14 +6737,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListTagsForResource func (c *CloudDirectory) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -6798,43 +6782,44 @@ func (c *CloudDirectory) ListTagsForResourceRequest(input *ListTagsForResourceIn // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * InvalidTaggingRequestException -// Can occur for multiple reasons such as when you tag a resource that doesn’t -// exist or if you specify a higher number of tags for a resource than the allowed -// limit. Allowed limit is 50 tags per resource. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - InvalidTaggingRequestException +// Can occur for multiple reasons such as when you tag a resource that doesn’t +// exist or if you specify a higher number of tags for a resource than the allowed +// limit. Allowed limit is 50 tags per resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListTagsForResource func (c *CloudDirectory) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -6866,15 +6851,14 @@ func (c *CloudDirectory) ListTagsForResourceWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *clouddirectory.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *clouddirectory.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6926,14 +6910,13 @@ const opListTypedLinkFacetAttributes = "ListTypedLinkFacetAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTypedLinkFacetAttributesRequest method. +// req, resp := client.ListTypedLinkFacetAttributesRequest(params) // -// // Example sending a request using the ListTypedLinkFacetAttributesRequest method. -// req, resp := client.ListTypedLinkFacetAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListTypedLinkFacetAttributes func (c *CloudDirectory) ListTypedLinkFacetAttributesRequest(input *ListTypedLinkFacetAttributesInput) (req *request.Request, output *ListTypedLinkFacetAttributesOutput) { @@ -6971,44 +6954,45 @@ func (c *CloudDirectory) ListTypedLinkFacetAttributesRequest(input *ListTypedLin // API operation ListTypedLinkFacetAttributes for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * FacetNotFoundException -// The specified Facet could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// - FacetNotFoundException +// The specified Facet could not be found. +// +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListTypedLinkFacetAttributes func (c *CloudDirectory) ListTypedLinkFacetAttributes(input *ListTypedLinkFacetAttributesInput) (*ListTypedLinkFacetAttributesOutput, error) { @@ -7040,15 +7024,14 @@ func (c *CloudDirectory) ListTypedLinkFacetAttributesWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTypedLinkFacetAttributes operation. -// pageNum := 0 -// err := client.ListTypedLinkFacetAttributesPages(params, -// func(page *clouddirectory.ListTypedLinkFacetAttributesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTypedLinkFacetAttributes operation. +// pageNum := 0 +// err := client.ListTypedLinkFacetAttributesPages(params, +// func(page *clouddirectory.ListTypedLinkFacetAttributesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListTypedLinkFacetAttributesPages(input *ListTypedLinkFacetAttributesInput, fn func(*ListTypedLinkFacetAttributesOutput, bool) bool) error { return c.ListTypedLinkFacetAttributesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7100,14 +7083,13 @@ const opListTypedLinkFacetNames = "ListTypedLinkFacetNames" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTypedLinkFacetNamesRequest method. +// req, resp := client.ListTypedLinkFacetNamesRequest(params) // -// // Example sending a request using the ListTypedLinkFacetNamesRequest method. -// req, resp := client.ListTypedLinkFacetNamesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListTypedLinkFacetNames func (c *CloudDirectory) ListTypedLinkFacetNamesRequest(input *ListTypedLinkFacetNamesInput) (req *request.Request, output *ListTypedLinkFacetNamesOutput) { @@ -7145,41 +7127,42 @@ func (c *CloudDirectory) ListTypedLinkFacetNamesRequest(input *ListTypedLinkFace // API operation ListTypedLinkFacetNames for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/ListTypedLinkFacetNames func (c *CloudDirectory) ListTypedLinkFacetNames(input *ListTypedLinkFacetNamesInput) (*ListTypedLinkFacetNamesOutput, error) { @@ -7211,15 +7194,14 @@ func (c *CloudDirectory) ListTypedLinkFacetNamesWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTypedLinkFacetNames operation. -// pageNum := 0 -// err := client.ListTypedLinkFacetNamesPages(params, -// func(page *clouddirectory.ListTypedLinkFacetNamesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTypedLinkFacetNames operation. +// pageNum := 0 +// err := client.ListTypedLinkFacetNamesPages(params, +// func(page *clouddirectory.ListTypedLinkFacetNamesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) ListTypedLinkFacetNamesPages(input *ListTypedLinkFacetNamesInput, fn func(*ListTypedLinkFacetNamesOutput, bool) bool) error { return c.ListTypedLinkFacetNamesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7271,14 +7253,13 @@ const opLookupPolicy = "LookupPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the LookupPolicyRequest method. +// req, resp := client.LookupPolicyRequest(params) // -// // Example sending a request using the LookupPolicyRequest method. -// req, resp := client.LookupPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/LookupPolicy func (c *CloudDirectory) LookupPolicyRequest(input *LookupPolicyInput) (req *request.Request, output *LookupPolicyOutput) { @@ -7321,44 +7302,45 @@ func (c *CloudDirectory) LookupPolicyRequest(input *LookupPolicyInput) (req *req // API operation LookupPolicy for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. // -// * InvalidNextTokenException -// Indicates that the NextToken value is not valid. +// - InvalidNextTokenException +// Indicates that the NextToken value is not valid. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/LookupPolicy func (c *CloudDirectory) LookupPolicy(input *LookupPolicyInput) (*LookupPolicyOutput, error) { @@ -7390,15 +7372,14 @@ func (c *CloudDirectory) LookupPolicyWithContext(ctx aws.Context, input *LookupP // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a LookupPolicy operation. -// pageNum := 0 -// err := client.LookupPolicyPages(params, -// func(page *clouddirectory.LookupPolicyOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a LookupPolicy operation. +// pageNum := 0 +// err := client.LookupPolicyPages(params, +// func(page *clouddirectory.LookupPolicyOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudDirectory) LookupPolicyPages(input *LookupPolicyInput, fn func(*LookupPolicyOutput, bool) bool) error { return c.LookupPolicyPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7450,14 +7431,13 @@ const opPublishSchema = "PublishSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PublishSchemaRequest method. +// req, resp := client.PublishSchemaRequest(params) // -// // Example sending a request using the PublishSchemaRequest method. -// req, resp := client.PublishSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/PublishSchema func (c *CloudDirectory) PublishSchemaRequest(input *PublishSchemaInput) (req *request.Request, output *PublishSchemaOutput) { @@ -7489,41 +7469,42 @@ func (c *CloudDirectory) PublishSchemaRequest(input *PublishSchemaInput) (req *r // API operation PublishSchema for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * SchemaAlreadyPublishedException -// Indicates that a schema is already published. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - SchemaAlreadyPublishedException +// Indicates that a schema is already published. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/PublishSchema func (c *CloudDirectory) PublishSchema(input *PublishSchemaInput) (*PublishSchemaOutput, error) { @@ -7563,14 +7544,13 @@ const opPutSchemaFromJson = "PutSchemaFromJson" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutSchemaFromJsonRequest method. +// req, resp := client.PutSchemaFromJsonRequest(params) // -// // Example sending a request using the PutSchemaFromJsonRequest method. -// req, resp := client.PutSchemaFromJsonRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/PutSchemaFromJson func (c *CloudDirectory) PutSchemaFromJsonRequest(input *PutSchemaFromJsonInput) (req *request.Request, output *PutSchemaFromJsonOutput) { @@ -7603,41 +7583,42 @@ func (c *CloudDirectory) PutSchemaFromJsonRequest(input *PutSchemaFromJsonInput) // API operation PutSchemaFromJson for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * InvalidSchemaDocException -// Indicates that the provided SchemaDoc value is not valid. -// -// * InvalidRuleException -// Occurs when any of the rule parameter keys or values are invalid. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - InvalidSchemaDocException +// Indicates that the provided SchemaDoc value is not valid. +// +// - InvalidRuleException +// Occurs when any of the rule parameter keys or values are invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/PutSchemaFromJson func (c *CloudDirectory) PutSchemaFromJson(input *PutSchemaFromJsonInput) (*PutSchemaFromJsonOutput, error) { @@ -7677,14 +7658,13 @@ const opRemoveFacetFromObject = "RemoveFacetFromObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveFacetFromObjectRequest method. +// req, resp := client.RemoveFacetFromObjectRequest(params) // -// // Example sending a request using the RemoveFacetFromObjectRequest method. -// req, resp := client.RemoveFacetFromObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/RemoveFacetFromObject func (c *CloudDirectory) RemoveFacetFromObjectRequest(input *RemoveFacetFromObjectInput) (req *request.Request, output *RemoveFacetFromObjectOutput) { @@ -7716,45 +7696,46 @@ func (c *CloudDirectory) RemoveFacetFromObjectRequest(input *RemoveFacetFromObje // API operation RemoveFacetFromObject for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/RemoveFacetFromObject func (c *CloudDirectory) RemoveFacetFromObject(input *RemoveFacetFromObjectInput) (*RemoveFacetFromObjectOutput, error) { @@ -7794,14 +7775,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/TagResource func (c *CloudDirectory) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -7833,43 +7813,44 @@ func (c *CloudDirectory) TagResourceRequest(input *TagResourceInput) (req *reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * InvalidTaggingRequestException -// Can occur for multiple reasons such as when you tag a resource that doesn’t -// exist or if you specify a higher number of tags for a resource than the allowed -// limit. Allowed limit is 50 tags per resource. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - InvalidTaggingRequestException +// Can occur for multiple reasons such as when you tag a resource that doesn’t +// exist or if you specify a higher number of tags for a resource than the allowed +// limit. Allowed limit is 50 tags per resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/TagResource func (c *CloudDirectory) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -7909,14 +7890,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UntagResource func (c *CloudDirectory) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -7948,43 +7928,44 @@ func (c *CloudDirectory) UntagResourceRequest(input *UntagResourceInput) (req *r // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * InvalidTaggingRequestException -// Can occur for multiple reasons such as when you tag a resource that doesn’t -// exist or if you specify a higher number of tags for a resource than the allowed -// limit. Allowed limit is 50 tags per resource. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - InvalidTaggingRequestException +// Can occur for multiple reasons such as when you tag a resource that doesn’t +// exist or if you specify a higher number of tags for a resource than the allowed +// limit. Allowed limit is 50 tags per resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UntagResource func (c *CloudDirectory) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -8024,14 +8005,13 @@ const opUpdateFacet = "UpdateFacet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFacetRequest method. +// req, resp := client.UpdateFacetRequest(params) // -// // Example sending a request using the UpdateFacetRequest method. -// req, resp := client.UpdateFacetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateFacet func (c *CloudDirectory) UpdateFacetRequest(input *UpdateFacetInput) (req *request.Request, output *UpdateFacetOutput) { @@ -8069,51 +8049,52 @@ func (c *CloudDirectory) UpdateFacetRequest(input *UpdateFacetInput) (req *reque // API operation UpdateFacet for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * InvalidFacetUpdateException -// An attempt to modify a Facet resulted in an invalid schema exception. +// - InvalidFacetUpdateException +// An attempt to modify a Facet resulted in an invalid schema exception. // -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * FacetNotFoundException -// The specified Facet could not be found. +// - FacetNotFoundException +// The specified Facet could not be found. // -// * InvalidRuleException -// Occurs when any of the rule parameter keys or values are invalid. +// - InvalidRuleException +// Occurs when any of the rule parameter keys or values are invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateFacet func (c *CloudDirectory) UpdateFacet(input *UpdateFacetInput) (*UpdateFacetOutput, error) { @@ -8153,14 +8134,13 @@ const opUpdateLinkAttributes = "UpdateLinkAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLinkAttributesRequest method. +// req, resp := client.UpdateLinkAttributesRequest(params) // -// // Example sending a request using the UpdateLinkAttributesRequest method. -// req, resp := client.UpdateLinkAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateLinkAttributes func (c *CloudDirectory) UpdateLinkAttributesRequest(input *UpdateLinkAttributesInput) (req *request.Request, output *UpdateLinkAttributesOutput) { @@ -8193,45 +8173,46 @@ func (c *CloudDirectory) UpdateLinkAttributesRequest(input *UpdateLinkAttributes // API operation UpdateLinkAttributes for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateLinkAttributes func (c *CloudDirectory) UpdateLinkAttributes(input *UpdateLinkAttributesInput) (*UpdateLinkAttributesOutput, error) { @@ -8271,14 +8252,13 @@ const opUpdateObjectAttributes = "UpdateObjectAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateObjectAttributesRequest method. +// req, resp := client.UpdateObjectAttributesRequest(params) // -// // Example sending a request using the UpdateObjectAttributesRequest method. -// req, resp := client.UpdateObjectAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateObjectAttributes func (c *CloudDirectory) UpdateObjectAttributesRequest(input *UpdateObjectAttributesInput) (req *request.Request, output *UpdateObjectAttributesOutput) { @@ -8309,49 +8289,50 @@ func (c *CloudDirectory) UpdateObjectAttributesRequest(input *UpdateObjectAttrib // API operation UpdateObjectAttributes for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * DirectoryNotEnabledException -// Operations are only permitted on enabled directories. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * LinkNameAlreadyInUseException -// Indicates that a link could not be created due to a naming conflict. Choose -// a different name and then try again. -// -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - DirectoryNotEnabledException +// Operations are only permitted on enabled directories. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - LinkNameAlreadyInUseException +// Indicates that a link could not be created due to a naming conflict. Choose +// a different name and then try again. +// +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateObjectAttributes func (c *CloudDirectory) UpdateObjectAttributes(input *UpdateObjectAttributesInput) (*UpdateObjectAttributesOutput, error) { @@ -8391,14 +8372,13 @@ const opUpdateSchema = "UpdateSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSchemaRequest method. +// req, resp := client.UpdateSchemaRequest(params) // -// // Example sending a request using the UpdateSchemaRequest method. -// req, resp := client.UpdateSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateSchema func (c *CloudDirectory) UpdateSchemaRequest(input *UpdateSchemaInput) (req *request.Request, output *UpdateSchemaOutput) { @@ -8430,38 +8410,39 @@ func (c *CloudDirectory) UpdateSchemaRequest(input *UpdateSchemaInput) (req *req // API operation UpdateSchema for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateSchema func (c *CloudDirectory) UpdateSchema(input *UpdateSchemaInput) (*UpdateSchemaOutput, error) { @@ -8501,14 +8482,13 @@ const opUpdateTypedLinkFacet = "UpdateTypedLinkFacet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTypedLinkFacetRequest method. +// req, resp := client.UpdateTypedLinkFacetRequest(params) // -// // Example sending a request using the UpdateTypedLinkFacetRequest method. -// req, resp := client.UpdateTypedLinkFacetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateTypedLinkFacet func (c *CloudDirectory) UpdateTypedLinkFacetRequest(input *UpdateTypedLinkFacetInput) (req *request.Request, output *UpdateTypedLinkFacetOutput) { @@ -8540,51 +8520,52 @@ func (c *CloudDirectory) UpdateTypedLinkFacetRequest(input *UpdateTypedLinkFacet // API operation UpdateTypedLinkFacet for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. // -// * InvalidArnException -// Indicates that the provided ARN value is not valid. +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. // -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. +// - InvalidArnException +// Indicates that the provided ARN value is not valid. // -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. // -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. // -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // -// * FacetValidationException -// The Facet that you provided was not well formed or could not be validated -// with the schema. +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. // -// * InvalidFacetUpdateException -// An attempt to modify a Facet resulted in an invalid schema exception. +// - FacetValidationException +// The Facet that you provided was not well formed or could not be validated +// with the schema. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InvalidFacetUpdateException +// An attempt to modify a Facet resulted in an invalid schema exception. // -// * FacetNotFoundException -// The specified Facet could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InvalidRuleException -// Occurs when any of the rule parameter keys or values are invalid. +// - FacetNotFoundException +// The specified Facet could not be found. +// +// - InvalidRuleException +// Occurs when any of the rule parameter keys or values are invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpdateTypedLinkFacet func (c *CloudDirectory) UpdateTypedLinkFacet(input *UpdateTypedLinkFacetInput) (*UpdateTypedLinkFacetOutput, error) { @@ -8624,14 +8605,13 @@ const opUpgradeAppliedSchema = "UpgradeAppliedSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpgradeAppliedSchemaRequest method. +// req, resp := client.UpgradeAppliedSchemaRequest(params) // -// // Example sending a request using the UpgradeAppliedSchemaRequest method. -// req, resp := client.UpgradeAppliedSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpgradeAppliedSchema func (c *CloudDirectory) UpgradeAppliedSchemaRequest(input *UpgradeAppliedSchemaInput) (req *request.Request, output *UpgradeAppliedSchemaOutput) { @@ -8667,48 +8647,49 @@ func (c *CloudDirectory) UpgradeAppliedSchemaRequest(input *UpgradeAppliedSchema // API operation UpgradeAppliedSchema for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * IncompatibleSchemaException -// Indicates a failure occurred while performing a check for backward compatibility -// between the specified schema and the schema that is currently applied to -// the directory. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * InvalidAttachmentException -// Indicates that an attempt to make an attachment was invalid. For example, -// attaching two nodes with a link type that is not applicable to the nodes -// or attempting to apply a schema to a directory a second time. -// -// * SchemaAlreadyExistsException -// Indicates that a schema could not be created due to a naming conflict. Please -// select a different name and then try again. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - IncompatibleSchemaException +// Indicates a failure occurred while performing a check for backward compatibility +// between the specified schema and the schema that is currently applied to +// the directory. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - InvalidAttachmentException +// Indicates that an attempt to make an attachment was invalid. For example, +// attaching two nodes with a link type that is not applicable to the nodes +// or attempting to apply a schema to a directory a second time. +// +// - SchemaAlreadyExistsException +// Indicates that a schema could not be created due to a naming conflict. Please +// select a different name and then try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpgradeAppliedSchema func (c *CloudDirectory) UpgradeAppliedSchema(input *UpgradeAppliedSchemaInput) (*UpgradeAppliedSchemaOutput, error) { @@ -8748,14 +8729,13 @@ const opUpgradePublishedSchema = "UpgradePublishedSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpgradePublishedSchemaRequest method. +// req, resp := client.UpgradePublishedSchemaRequest(params) // -// // Example sending a request using the UpgradePublishedSchemaRequest method. -// req, resp := client.UpgradePublishedSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpgradePublishedSchema func (c *CloudDirectory) UpgradePublishedSchemaRequest(input *UpgradePublishedSchemaInput) (req *request.Request, output *UpgradePublishedSchemaOutput) { @@ -8787,48 +8767,49 @@ func (c *CloudDirectory) UpgradePublishedSchemaRequest(input *UpgradePublishedSc // API operation UpgradePublishedSchema for usage and error information. // // Returned Error Types: -// * InternalServiceException -// Indicates a problem that must be resolved by Amazon Web Services. This might -// be a transient error in which case you can retry your request until it succeeds. -// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) -// site to see if there are any operational issues with the service. -// -// * InvalidArnException -// Indicates that the provided ARN value is not valid. -// -// * RetryableConflictException -// Occurs when a conflict with a previous successful write is detected. For -// example, if a write operation occurs on an object and then an attempt is -// made to read the object using “SERIALIZABLE” consistency, this exception -// may result. This generally occurs when the previous write did not have time -// to propagate to the host serving the current request. A retry (with appropriate -// backoff logic) is the recommended response to this exception. -// -// * ValidationException -// Indicates that your request is malformed in some manner. See the exception -// message. -// -// * IncompatibleSchemaException -// Indicates a failure occurred while performing a check for backward compatibility -// between the specified schema and the schema that is currently applied to -// the directory. -// -// * AccessDeniedException -// Access denied or directory not found. Either you don't have permissions for -// this directory or the directory does not exist. Try calling ListDirectories -// and check your permissions. -// -// * ResourceNotFoundException -// The specified resource could not be found. -// -// * InvalidAttachmentException -// Indicates that an attempt to make an attachment was invalid. For example, -// attaching two nodes with a link type that is not applicable to the nodes -// or attempting to apply a schema to a directory a second time. -// -// * LimitExceededException -// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) -// for more information. +// +// - InternalServiceException +// Indicates a problem that must be resolved by Amazon Web Services. This might +// be a transient error in which case you can retry your request until it succeeds. +// Otherwise, go to the AWS Service Health Dashboard (http://status.aws.amazon.com/) +// site to see if there are any operational issues with the service. +// +// - InvalidArnException +// Indicates that the provided ARN value is not valid. +// +// - RetryableConflictException +// Occurs when a conflict with a previous successful write is detected. For +// example, if a write operation occurs on an object and then an attempt is +// made to read the object using “SERIALIZABLE” consistency, this exception +// may result. This generally occurs when the previous write did not have time +// to propagate to the host serving the current request. A retry (with appropriate +// backoff logic) is the recommended response to this exception. +// +// - ValidationException +// Indicates that your request is malformed in some manner. See the exception +// message. +// +// - IncompatibleSchemaException +// Indicates a failure occurred while performing a check for backward compatibility +// between the specified schema and the schema that is currently applied to +// the directory. +// +// - AccessDeniedException +// Access denied or directory not found. Either you don't have permissions for +// this directory or the directory does not exist. Try calling ListDirectories +// and check your permissions. +// +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - InvalidAttachmentException +// Indicates that an attempt to make an attachment was invalid. For example, +// attaching two nodes with a link type that is not applicable to the nodes +// or attempting to apply a schema to a directory a second time. +// +// - LimitExceededException +// Indicates that limits are exceeded. See Limits (https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html) +// for more information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/clouddirectory-2017-01-11/UpgradePublishedSchema func (c *CloudDirectory) UpgradePublishedSchema(input *UpgradePublishedSchemaInput) (*UpgradePublishedSchemaOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/clouddirectoryiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/clouddirectoryiface/interface.go index 011fdd07af05..26f6c4baf5e9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/clouddirectoryiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/clouddirectoryiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon CloudDirectory. -// func myFunc(svc clouddirectoryiface.CloudDirectoryAPI) bool { -// // Make svc.AddFacetToObject request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon CloudDirectory. +// func myFunc(svc clouddirectoryiface.CloudDirectoryAPI) bool { +// // Make svc.AddFacetToObject request +// } // -// func main() { -// sess := session.New() -// svc := clouddirectory.New(sess) +// func main() { +// sess := session.New() +// svc := clouddirectory.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCloudDirectoryClient struct { -// clouddirectoryiface.CloudDirectoryAPI -// } -// func (m *mockCloudDirectoryClient) AddFacetToObject(input *clouddirectory.AddFacetToObjectInput) (*clouddirectory.AddFacetToObjectOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCloudDirectoryClient struct { +// clouddirectoryiface.CloudDirectoryAPI +// } +// func (m *mockCloudDirectoryClient) AddFacetToObject(input *clouddirectory.AddFacetToObjectInput) (*clouddirectory.AddFacetToObjectOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCloudDirectoryClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCloudDirectoryClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/doc.go index 33aec7a4b9c3..8feb214d63f8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/doc.go @@ -15,7 +15,7 @@ // See clouddirectory package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/clouddirectory/ // -// Using the Client +// # Using the Client // // To contact Amazon CloudDirectory with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/service.go index d9ceb37ea950..0e1f46723e36 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/clouddirectory/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CloudDirectory client from just a session. -// svc := clouddirectory.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CloudDirectory client with additional configuration -// svc := clouddirectory.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CloudDirectory client from just a session. +// svc := clouddirectory.New(mySession) +// +// // Create a CloudDirectory client with additional configuration +// svc := clouddirectory.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudDirectory { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/api.go index effa73c613ab..e24c7c8ccb6f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/api.go @@ -29,14 +29,13 @@ const opActivateType = "ActivateType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ActivateTypeRequest method. +// req, resp := client.ActivateTypeRequest(params) // -// // Example sending a request using the ActivateTypeRequest method. -// req, resp := client.ActivateTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ActivateType func (c *CloudFormation) ActivateTypeRequest(input *ActivateTypeInput) (req *request.Request, output *ActivateTypeOutput) { @@ -75,11 +74,12 @@ func (c *CloudFormation) ActivateTypeRequest(input *ActivateTypeInput) (req *req // API operation ActivateType for usage and error information. // // Returned Error Codes: -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. // -// * ErrCodeTypeNotFoundException "TypeNotFoundException" -// The specified extension doesn't exist in the CloudFormation registry. +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. +// +// - ErrCodeTypeNotFoundException "TypeNotFoundException" +// The specified extension doesn't exist in the CloudFormation registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ActivateType func (c *CloudFormation) ActivateType(input *ActivateTypeInput) (*ActivateTypeOutput, error) { @@ -119,14 +119,13 @@ const opBatchDescribeTypeConfigurations = "BatchDescribeTypeConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDescribeTypeConfigurationsRequest method. +// req, resp := client.BatchDescribeTypeConfigurationsRequest(params) // -// // Example sending a request using the BatchDescribeTypeConfigurationsRequest method. -// req, resp := client.BatchDescribeTypeConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/BatchDescribeTypeConfigurations func (c *CloudFormation) BatchDescribeTypeConfigurationsRequest(input *BatchDescribeTypeConfigurationsInput) (req *request.Request, output *BatchDescribeTypeConfigurationsOutput) { @@ -161,11 +160,12 @@ func (c *CloudFormation) BatchDescribeTypeConfigurationsRequest(input *BatchDesc // API operation BatchDescribeTypeConfigurations for usage and error information. // // Returned Error Codes: -// * ErrCodeTypeConfigurationNotFoundException "TypeConfigurationNotFoundException" -// The specified extension configuration can't be found. // -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. +// - ErrCodeTypeConfigurationNotFoundException "TypeConfigurationNotFoundException" +// The specified extension configuration can't be found. +// +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/BatchDescribeTypeConfigurations func (c *CloudFormation) BatchDescribeTypeConfigurations(input *BatchDescribeTypeConfigurationsInput) (*BatchDescribeTypeConfigurationsOutput, error) { @@ -205,14 +205,13 @@ const opCancelUpdateStack = "CancelUpdateStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelUpdateStackRequest method. +// req, resp := client.CancelUpdateStackRequest(params) // -// // Example sending a request using the CancelUpdateStackRequest method. -// req, resp := client.CancelUpdateStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStack func (c *CloudFormation) CancelUpdateStackRequest(input *CancelUpdateStackInput) (req *request.Request, output *CancelUpdateStackOutput) { @@ -247,8 +246,8 @@ func (c *CloudFormation) CancelUpdateStackRequest(input *CancelUpdateStackInput) // API operation CancelUpdateStack for usage and error information. // // Returned Error Codes: -// * ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" -// A client request token already exists. +// - ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" +// A client request token already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CancelUpdateStack func (c *CloudFormation) CancelUpdateStack(input *CancelUpdateStackInput) (*CancelUpdateStackOutput, error) { @@ -288,14 +287,13 @@ const opContinueUpdateRollback = "ContinueUpdateRollback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ContinueUpdateRollbackRequest method. +// req, resp := client.ContinueUpdateRollbackRequest(params) // -// // Example sending a request using the ContinueUpdateRollbackRequest method. -// req, resp := client.ContinueUpdateRollbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollback func (c *CloudFormation) ContinueUpdateRollbackRequest(input *ContinueUpdateRollbackInput) (req *request.Request, output *ContinueUpdateRollbackOutput) { @@ -339,8 +337,8 @@ func (c *CloudFormation) ContinueUpdateRollbackRequest(input *ContinueUpdateRoll // API operation ContinueUpdateRollback for usage and error information. // // Returned Error Codes: -// * ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" -// A client request token already exists. +// - ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" +// A client request token already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ContinueUpdateRollback func (c *CloudFormation) ContinueUpdateRollback(input *ContinueUpdateRollbackInput) (*ContinueUpdateRollbackOutput, error) { @@ -380,14 +378,13 @@ const opCreateChangeSet = "CreateChangeSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChangeSetRequest method. +// req, resp := client.CreateChangeSetRequest(params) // -// // Example sending a request using the CreateChangeSetRequest method. -// req, resp := client.CreateChangeSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet func (c *CloudFormation) CreateChangeSetRequest(input *CreateChangeSetInput) (req *request.Request, output *CreateChangeSetOutput) { @@ -442,19 +439,20 @@ func (c *CloudFormation) CreateChangeSetRequest(input *CreateChangeSetInput) (re // API operation CreateChangeSet for usage and error information. // // Returned Error Codes: -// * ErrCodeAlreadyExistsException "AlreadyExistsException" -// The resource with the name requested already exists. // -// * ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException" -// The template contains resources with capabilities that weren't specified -// in the Capabilities parameter. +// - ErrCodeAlreadyExistsException "AlreadyExistsException" +// The resource with the name requested already exists. // -// * ErrCodeLimitExceededException "LimitExceededException" -// The quota for the resource has already been reached. +// - ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException" +// The template contains resources with capabilities that weren't specified +// in the Capabilities parameter. // -// For information about resource and stack limitations, see CloudFormation -// quotas (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) -// in the CloudFormation User Guide. +// - ErrCodeLimitExceededException "LimitExceededException" +// The quota for the resource has already been reached. +// +// For information about resource and stack limitations, see CloudFormation +// quotas (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) +// in the CloudFormation User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateChangeSet func (c *CloudFormation) CreateChangeSet(input *CreateChangeSetInput) (*CreateChangeSetOutput, error) { @@ -494,14 +492,13 @@ const opCreateStack = "CreateStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStackRequest method. +// req, resp := client.CreateStackRequest(params) // -// // Example sending a request using the CreateStackRequest method. -// req, resp := client.CreateStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStack func (c *CloudFormation) CreateStackRequest(input *CreateStackInput) (req *request.Request, output *CreateStackOutput) { @@ -534,22 +531,23 @@ func (c *CloudFormation) CreateStackRequest(input *CreateStackInput) (req *reque // API operation CreateStack for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceededException" -// The quota for the resource has already been reached. // -// For information about resource and stack limitations, see CloudFormation -// quotas (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) -// in the CloudFormation User Guide. +// - ErrCodeLimitExceededException "LimitExceededException" +// The quota for the resource has already been reached. // -// * ErrCodeAlreadyExistsException "AlreadyExistsException" -// The resource with the name requested already exists. +// For information about resource and stack limitations, see CloudFormation +// quotas (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) +// in the CloudFormation User Guide. // -// * ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" -// A client request token already exists. +// - ErrCodeAlreadyExistsException "AlreadyExistsException" +// The resource with the name requested already exists. // -// * ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException" -// The template contains resources with capabilities that weren't specified -// in the Capabilities parameter. +// - ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" +// A client request token already exists. +// +// - ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException" +// The template contains resources with capabilities that weren't specified +// in the Capabilities parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStack func (c *CloudFormation) CreateStack(input *CreateStackInput) (*CreateStackOutput, error) { @@ -589,14 +587,13 @@ const opCreateStackInstances = "CreateStackInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStackInstancesRequest method. +// req, resp := client.CreateStackInstancesRequest(params) // -// // Example sending a request using the CreateStackInstancesRequest method. -// req, resp := client.CreateStackInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstances func (c *CloudFormation) CreateStackInstancesRequest(input *CreateStackInstancesInput) (req *request.Request, output *CreateStackInstancesOutput) { @@ -630,29 +627,30 @@ func (c *CloudFormation) CreateStackInstancesRequest(input *CreateStackInstances // API operation CreateStackInstances for usage and error information. // // Returned Error Codes: -// * ErrCodeStackSetNotFoundException "StackSetNotFoundException" -// The specified stack set doesn't exist. // -// * ErrCodeOperationInProgressException "OperationInProgressException" -// Another operation is currently in progress for this stack set. Only one operation -// can be performed for a stack set at a given time. +// - ErrCodeStackSetNotFoundException "StackSetNotFoundException" +// The specified stack set doesn't exist. // -// * ErrCodeOperationIdAlreadyExistsException "OperationIdAlreadyExistsException" -// The specified operation ID already exists. +// - ErrCodeOperationInProgressException "OperationInProgressException" +// Another operation is currently in progress for this stack set. Only one operation +// can be performed for a stack set at a given time. // -// * ErrCodeStaleRequestException "StaleRequestException" -// Another operation has been performed on this stack set since the specified -// operation was performed. +// - ErrCodeOperationIdAlreadyExistsException "OperationIdAlreadyExistsException" +// The specified operation ID already exists. // -// * ErrCodeInvalidOperationException "InvalidOperationException" -// The specified operation isn't valid. +// - ErrCodeStaleRequestException "StaleRequestException" +// Another operation has been performed on this stack set since the specified +// operation was performed. // -// * ErrCodeLimitExceededException "LimitExceededException" -// The quota for the resource has already been reached. +// - ErrCodeInvalidOperationException "InvalidOperationException" +// The specified operation isn't valid. // -// For information about resource and stack limitations, see CloudFormation -// quotas (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) -// in the CloudFormation User Guide. +// - ErrCodeLimitExceededException "LimitExceededException" +// The quota for the resource has already been reached. +// +// For information about resource and stack limitations, see CloudFormation +// quotas (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) +// in the CloudFormation User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackInstances func (c *CloudFormation) CreateStackInstances(input *CreateStackInstancesInput) (*CreateStackInstancesOutput, error) { @@ -692,14 +690,13 @@ const opCreateStackSet = "CreateStackSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStackSetRequest method. +// req, resp := client.CreateStackSetRequest(params) // -// // Example sending a request using the CreateStackSetRequest method. -// req, resp := client.CreateStackSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSet func (c *CloudFormation) CreateStackSetRequest(input *CreateStackSetInput) (req *request.Request, output *CreateStackSetOutput) { @@ -730,18 +727,19 @@ func (c *CloudFormation) CreateStackSetRequest(input *CreateStackSetInput) (req // API operation CreateStackSet for usage and error information. // // Returned Error Codes: -// * ErrCodeNameAlreadyExistsException "NameAlreadyExistsException" -// The specified name is already in use. // -// * ErrCodeCreatedButModifiedException "CreatedButModifiedException" -// The specified resource exists, but has been changed. +// - ErrCodeNameAlreadyExistsException "NameAlreadyExistsException" +// The specified name is already in use. +// +// - ErrCodeCreatedButModifiedException "CreatedButModifiedException" +// The specified resource exists, but has been changed. // -// * ErrCodeLimitExceededException "LimitExceededException" -// The quota for the resource has already been reached. +// - ErrCodeLimitExceededException "LimitExceededException" +// The quota for the resource has already been reached. // -// For information about resource and stack limitations, see CloudFormation -// quotas (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) -// in the CloudFormation User Guide. +// For information about resource and stack limitations, see CloudFormation +// quotas (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) +// in the CloudFormation User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/CreateStackSet func (c *CloudFormation) CreateStackSet(input *CreateStackSetInput) (*CreateStackSetOutput, error) { @@ -781,14 +779,13 @@ const opDeactivateType = "DeactivateType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeactivateTypeRequest method. +// req, resp := client.DeactivateTypeRequest(params) // -// // Example sending a request using the DeactivateTypeRequest method. -// req, resp := client.DeactivateTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeactivateType func (c *CloudFormation) DeactivateTypeRequest(input *DeactivateTypeInput) (req *request.Request, output *DeactivateTypeOutput) { @@ -827,11 +824,12 @@ func (c *CloudFormation) DeactivateTypeRequest(input *DeactivateTypeInput) (req // API operation DeactivateType for usage and error information. // // Returned Error Codes: -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. // -// * ErrCodeTypeNotFoundException "TypeNotFoundException" -// The specified extension doesn't exist in the CloudFormation registry. +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. +// +// - ErrCodeTypeNotFoundException "TypeNotFoundException" +// The specified extension doesn't exist in the CloudFormation registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeactivateType func (c *CloudFormation) DeactivateType(input *DeactivateTypeInput) (*DeactivateTypeOutput, error) { @@ -871,14 +869,13 @@ const opDeleteChangeSet = "DeleteChangeSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChangeSetRequest method. +// req, resp := client.DeleteChangeSetRequest(params) // -// // Example sending a request using the DeleteChangeSetRequest method. -// req, resp := client.DeleteChangeSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSet func (c *CloudFormation) DeleteChangeSetRequest(input *DeleteChangeSetInput) (req *request.Request, output *DeleteChangeSetOutput) { @@ -919,10 +916,10 @@ func (c *CloudFormation) DeleteChangeSetRequest(input *DeleteChangeSetInput) (re // API operation DeleteChangeSet for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidChangeSetStatusException "InvalidChangeSetStatus" -// The specified change set can't be used to update the stack. For example, -// the change set status might be CREATE_IN_PROGRESS, or the stack status might -// be UPDATE_IN_PROGRESS. +// - ErrCodeInvalidChangeSetStatusException "InvalidChangeSetStatus" +// The specified change set can't be used to update the stack. For example, +// the change set status might be CREATE_IN_PROGRESS, or the stack status might +// be UPDATE_IN_PROGRESS. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteChangeSet func (c *CloudFormation) DeleteChangeSet(input *DeleteChangeSetInput) (*DeleteChangeSetOutput, error) { @@ -962,14 +959,13 @@ const opDeleteStack = "DeleteStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStackRequest method. +// req, resp := client.DeleteStackRequest(params) // -// // Example sending a request using the DeleteStackRequest method. -// req, resp := client.DeleteStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStack func (c *CloudFormation) DeleteStackRequest(input *DeleteStackInput) (req *request.Request, output *DeleteStackOutput) { @@ -1003,8 +999,8 @@ func (c *CloudFormation) DeleteStackRequest(input *DeleteStackInput) (req *reque // API operation DeleteStack for usage and error information. // // Returned Error Codes: -// * ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" -// A client request token already exists. +// - ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" +// A client request token already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStack func (c *CloudFormation) DeleteStack(input *DeleteStackInput) (*DeleteStackOutput, error) { @@ -1044,14 +1040,13 @@ const opDeleteStackInstances = "DeleteStackInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStackInstancesRequest method. +// req, resp := client.DeleteStackInstancesRequest(params) // -// // Example sending a request using the DeleteStackInstancesRequest method. -// req, resp := client.DeleteStackInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstances func (c *CloudFormation) DeleteStackInstancesRequest(input *DeleteStackInstancesInput) (req *request.Request, output *DeleteStackInstancesOutput) { @@ -1083,22 +1078,23 @@ func (c *CloudFormation) DeleteStackInstancesRequest(input *DeleteStackInstances // API operation DeleteStackInstances for usage and error information. // // Returned Error Codes: -// * ErrCodeStackSetNotFoundException "StackSetNotFoundException" -// The specified stack set doesn't exist. // -// * ErrCodeOperationInProgressException "OperationInProgressException" -// Another operation is currently in progress for this stack set. Only one operation -// can be performed for a stack set at a given time. +// - ErrCodeStackSetNotFoundException "StackSetNotFoundException" +// The specified stack set doesn't exist. +// +// - ErrCodeOperationInProgressException "OperationInProgressException" +// Another operation is currently in progress for this stack set. Only one operation +// can be performed for a stack set at a given time. // -// * ErrCodeOperationIdAlreadyExistsException "OperationIdAlreadyExistsException" -// The specified operation ID already exists. +// - ErrCodeOperationIdAlreadyExistsException "OperationIdAlreadyExistsException" +// The specified operation ID already exists. // -// * ErrCodeStaleRequestException "StaleRequestException" -// Another operation has been performed on this stack set since the specified -// operation was performed. +// - ErrCodeStaleRequestException "StaleRequestException" +// Another operation has been performed on this stack set since the specified +// operation was performed. // -// * ErrCodeInvalidOperationException "InvalidOperationException" -// The specified operation isn't valid. +// - ErrCodeInvalidOperationException "InvalidOperationException" +// The specified operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackInstances func (c *CloudFormation) DeleteStackInstances(input *DeleteStackInstancesInput) (*DeleteStackInstancesOutput, error) { @@ -1138,14 +1134,13 @@ const opDeleteStackSet = "DeleteStackSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStackSetRequest method. +// req, resp := client.DeleteStackSetRequest(params) // -// // Example sending a request using the DeleteStackSetRequest method. -// req, resp := client.DeleteStackSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSet func (c *CloudFormation) DeleteStackSetRequest(input *DeleteStackSetInput) (req *request.Request, output *DeleteStackSetOutput) { @@ -1179,14 +1174,15 @@ func (c *CloudFormation) DeleteStackSetRequest(input *DeleteStackSetInput) (req // API operation DeleteStackSet for usage and error information. // // Returned Error Codes: -// * ErrCodeStackSetNotEmptyException "StackSetNotEmptyException" -// You can't yet delete this stack set, because it still contains one or more -// stack instances. Delete all stack instances from the stack set before deleting -// the stack set. // -// * ErrCodeOperationInProgressException "OperationInProgressException" -// Another operation is currently in progress for this stack set. Only one operation -// can be performed for a stack set at a given time. +// - ErrCodeStackSetNotEmptyException "StackSetNotEmptyException" +// You can't yet delete this stack set, because it still contains one or more +// stack instances. Delete all stack instances from the stack set before deleting +// the stack set. +// +// - ErrCodeOperationInProgressException "OperationInProgressException" +// Another operation is currently in progress for this stack set. Only one operation +// can be performed for a stack set at a given time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeleteStackSet func (c *CloudFormation) DeleteStackSet(input *DeleteStackSetInput) (*DeleteStackSetOutput, error) { @@ -1226,14 +1222,13 @@ const opDeregisterType = "DeregisterType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterTypeRequest method. +// req, resp := client.DeregisterTypeRequest(params) // -// // Example sending a request using the DeregisterTypeRequest method. -// req, resp := client.DeregisterTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeregisterType func (c *CloudFormation) DeregisterTypeRequest(input *DeregisterTypeInput) (req *request.Request, output *DeregisterTypeOutput) { @@ -1280,11 +1275,12 @@ func (c *CloudFormation) DeregisterTypeRequest(input *DeregisterTypeInput) (req // API operation DeregisterType for usage and error information. // // Returned Error Codes: -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. // -// * ErrCodeTypeNotFoundException "TypeNotFoundException" -// The specified extension doesn't exist in the CloudFormation registry. +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. +// +// - ErrCodeTypeNotFoundException "TypeNotFoundException" +// The specified extension doesn't exist in the CloudFormation registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DeregisterType func (c *CloudFormation) DeregisterType(input *DeregisterTypeInput) (*DeregisterTypeOutput, error) { @@ -1324,14 +1320,13 @@ const opDescribeAccountLimits = "DescribeAccountLimits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountLimitsRequest method. +// req, resp := client.DescribeAccountLimitsRequest(params) // -// // Example sending a request using the DescribeAccountLimitsRequest method. -// req, resp := client.DescribeAccountLimitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeAccountLimits func (c *CloudFormation) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) (req *request.Request, output *DescribeAccountLimitsOutput) { @@ -1399,15 +1394,14 @@ func (c *CloudFormation) DescribeAccountLimitsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAccountLimits operation. -// pageNum := 0 -// err := client.DescribeAccountLimitsPages(params, -// func(page *cloudformation.DescribeAccountLimitsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAccountLimits operation. +// pageNum := 0 +// err := client.DescribeAccountLimitsPages(params, +// func(page *cloudformation.DescribeAccountLimitsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) DescribeAccountLimitsPages(input *DescribeAccountLimitsInput, fn func(*DescribeAccountLimitsOutput, bool) bool) error { return c.DescribeAccountLimitsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1459,14 +1453,13 @@ const opDescribeChangeSet = "DescribeChangeSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChangeSetRequest method. +// req, resp := client.DescribeChangeSetRequest(params) // -// // Example sending a request using the DescribeChangeSetRequest method. -// req, resp := client.DescribeChangeSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSet func (c *CloudFormation) DescribeChangeSetRequest(input *DescribeChangeSetInput) (req *request.Request, output *DescribeChangeSetOutput) { @@ -1500,9 +1493,9 @@ func (c *CloudFormation) DescribeChangeSetRequest(input *DescribeChangeSetInput) // API operation DescribeChangeSet for usage and error information. // // Returned Error Codes: -// * ErrCodeChangeSetNotFoundException "ChangeSetNotFound" -// The specified change set name or ID doesn't exit. To view valid change sets -// for a stack, use the ListChangeSets operation. +// - ErrCodeChangeSetNotFoundException "ChangeSetNotFound" +// The specified change set name or ID doesn't exit. To view valid change sets +// for a stack, use the ListChangeSets operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSet func (c *CloudFormation) DescribeChangeSet(input *DescribeChangeSetInput) (*DescribeChangeSetOutput, error) { @@ -1542,14 +1535,13 @@ const opDescribeChangeSetHooks = "DescribeChangeSetHooks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChangeSetHooksRequest method. +// req, resp := client.DescribeChangeSetHooksRequest(params) // -// // Example sending a request using the DescribeChangeSetHooksRequest method. -// req, resp := client.DescribeChangeSetHooksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetHooks func (c *CloudFormation) DescribeChangeSetHooksRequest(input *DescribeChangeSetHooksInput) (req *request.Request, output *DescribeChangeSetHooksOutput) { @@ -1581,9 +1573,9 @@ func (c *CloudFormation) DescribeChangeSetHooksRequest(input *DescribeChangeSetH // API operation DescribeChangeSetHooks for usage and error information. // // Returned Error Codes: -// * ErrCodeChangeSetNotFoundException "ChangeSetNotFound" -// The specified change set name or ID doesn't exit. To view valid change sets -// for a stack, use the ListChangeSets operation. +// - ErrCodeChangeSetNotFoundException "ChangeSetNotFound" +// The specified change set name or ID doesn't exit. To view valid change sets +// for a stack, use the ListChangeSets operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeChangeSetHooks func (c *CloudFormation) DescribeChangeSetHooks(input *DescribeChangeSetHooksInput) (*DescribeChangeSetHooksOutput, error) { @@ -1623,14 +1615,13 @@ const opDescribePublisher = "DescribePublisher" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePublisherRequest method. +// req, resp := client.DescribePublisherRequest(params) // -// // Example sending a request using the DescribePublisherRequest method. -// req, resp := client.DescribePublisherRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribePublisher func (c *CloudFormation) DescribePublisherRequest(input *DescribePublisherInput) (req *request.Request, output *DescribePublisherOutput) { @@ -1659,10 +1650,10 @@ func (c *CloudFormation) DescribePublisherRequest(input *DescribePublisherInput) // // For more information about registering as a publisher, see: // -// * RegisterPublisher (https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterPublisher.html) +// - RegisterPublisher (https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_RegisterPublisher.html) // -// * Publishing extensions to make them available for public use (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html) -// in the CloudFormation CLI User Guide +// - Publishing extensions to make them available for public use (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html) +// in the CloudFormation CLI User Guide // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1672,8 +1663,8 @@ func (c *CloudFormation) DescribePublisherRequest(input *DescribePublisherInput) // API operation DescribePublisher for usage and error information. // // Returned Error Codes: -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribePublisher func (c *CloudFormation) DescribePublisher(input *DescribePublisherInput) (*DescribePublisherOutput, error) { @@ -1713,14 +1704,13 @@ const opDescribeStackDriftDetectionStatus = "DescribeStackDriftDetectionStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStackDriftDetectionStatusRequest method. +// req, resp := client.DescribeStackDriftDetectionStatusRequest(params) // -// // Example sending a request using the DescribeStackDriftDetectionStatusRequest method. -// req, resp := client.DescribeStackDriftDetectionStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackDriftDetectionStatus func (c *CloudFormation) DescribeStackDriftDetectionStatusRequest(input *DescribeStackDriftDetectionStatusInput) (req *request.Request, output *DescribeStackDriftDetectionStatusOutput) { @@ -1799,14 +1789,13 @@ const opDescribeStackEvents = "DescribeStackEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStackEventsRequest method. +// req, resp := client.DescribeStackEventsRequest(params) // -// // Example sending a request using the DescribeStackEventsRequest method. -// req, resp := client.DescribeStackEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackEvents func (c *CloudFormation) DescribeStackEventsRequest(input *DescribeStackEventsInput) (req *request.Request, output *DescribeStackEventsOutput) { @@ -1876,15 +1865,14 @@ func (c *CloudFormation) DescribeStackEventsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeStackEvents operation. -// pageNum := 0 -// err := client.DescribeStackEventsPages(params, -// func(page *cloudformation.DescribeStackEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeStackEvents operation. +// pageNum := 0 +// err := client.DescribeStackEventsPages(params, +// func(page *cloudformation.DescribeStackEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) DescribeStackEventsPages(input *DescribeStackEventsInput, fn func(*DescribeStackEventsOutput, bool) bool) error { return c.DescribeStackEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1936,14 +1924,13 @@ const opDescribeStackInstance = "DescribeStackInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStackInstanceRequest method. +// req, resp := client.DescribeStackInstanceRequest(params) // -// // Example sending a request using the DescribeStackInstanceRequest method. -// req, resp := client.DescribeStackInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstance func (c *CloudFormation) DescribeStackInstanceRequest(input *DescribeStackInstanceInput) (req *request.Request, output *DescribeStackInstanceOutput) { @@ -1978,11 +1965,12 @@ func (c *CloudFormation) DescribeStackInstanceRequest(input *DescribeStackInstan // API operation DescribeStackInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeStackSetNotFoundException "StackSetNotFoundException" -// The specified stack set doesn't exist. // -// * ErrCodeStackInstanceNotFoundException "StackInstanceNotFoundException" -// The specified stack instance doesn't exist. +// - ErrCodeStackSetNotFoundException "StackSetNotFoundException" +// The specified stack set doesn't exist. +// +// - ErrCodeStackInstanceNotFoundException "StackInstanceNotFoundException" +// The specified stack instance doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackInstance func (c *CloudFormation) DescribeStackInstance(input *DescribeStackInstanceInput) (*DescribeStackInstanceOutput, error) { @@ -2022,14 +2010,13 @@ const opDescribeStackResource = "DescribeStackResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStackResourceRequest method. +// req, resp := client.DescribeStackResourceRequest(params) // -// // Example sending a request using the DescribeStackResourceRequest method. -// req, resp := client.DescribeStackResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResource func (c *CloudFormation) DescribeStackResourceRequest(input *DescribeStackResourceInput) (req *request.Request, output *DescribeStackResourceOutput) { @@ -2099,14 +2086,13 @@ const opDescribeStackResourceDrifts = "DescribeStackResourceDrifts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStackResourceDriftsRequest method. +// req, resp := client.DescribeStackResourceDriftsRequest(params) // -// // Example sending a request using the DescribeStackResourceDriftsRequest method. -// req, resp := client.DescribeStackResourceDriftsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResourceDrifts func (c *CloudFormation) DescribeStackResourceDriftsRequest(input *DescribeStackResourceDriftsInput) (req *request.Request, output *DescribeStackResourceDriftsOutput) { @@ -2182,15 +2168,14 @@ func (c *CloudFormation) DescribeStackResourceDriftsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeStackResourceDrifts operation. -// pageNum := 0 -// err := client.DescribeStackResourceDriftsPages(params, -// func(page *cloudformation.DescribeStackResourceDriftsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeStackResourceDrifts operation. +// pageNum := 0 +// err := client.DescribeStackResourceDriftsPages(params, +// func(page *cloudformation.DescribeStackResourceDriftsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) DescribeStackResourceDriftsPages(input *DescribeStackResourceDriftsInput, fn func(*DescribeStackResourceDriftsOutput, bool) bool) error { return c.DescribeStackResourceDriftsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2242,14 +2227,13 @@ const opDescribeStackResources = "DescribeStackResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStackResourcesRequest method. +// req, resp := client.DescribeStackResourcesRequest(params) // -// // Example sending a request using the DescribeStackResourcesRequest method. -// req, resp := client.DescribeStackResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackResources func (c *CloudFormation) DescribeStackResourcesRequest(input *DescribeStackResourcesInput) (req *request.Request, output *DescribeStackResourcesOutput) { @@ -2333,14 +2317,13 @@ const opDescribeStackSet = "DescribeStackSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStackSetRequest method. +// req, resp := client.DescribeStackSetRequest(params) // -// // Example sending a request using the DescribeStackSetRequest method. -// req, resp := client.DescribeStackSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSet func (c *CloudFormation) DescribeStackSetRequest(input *DescribeStackSetInput) (req *request.Request, output *DescribeStackSetOutput) { @@ -2371,8 +2354,8 @@ func (c *CloudFormation) DescribeStackSetRequest(input *DescribeStackSetInput) ( // API operation DescribeStackSet for usage and error information. // // Returned Error Codes: -// * ErrCodeStackSetNotFoundException "StackSetNotFoundException" -// The specified stack set doesn't exist. +// - ErrCodeStackSetNotFoundException "StackSetNotFoundException" +// The specified stack set doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSet func (c *CloudFormation) DescribeStackSet(input *DescribeStackSetInput) (*DescribeStackSetOutput, error) { @@ -2412,14 +2395,13 @@ const opDescribeStackSetOperation = "DescribeStackSetOperation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStackSetOperationRequest method. +// req, resp := client.DescribeStackSetOperationRequest(params) // -// // Example sending a request using the DescribeStackSetOperationRequest method. -// req, resp := client.DescribeStackSetOperationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperation func (c *CloudFormation) DescribeStackSetOperationRequest(input *DescribeStackSetOperationInput) (req *request.Request, output *DescribeStackSetOperationOutput) { @@ -2450,11 +2432,12 @@ func (c *CloudFormation) DescribeStackSetOperationRequest(input *DescribeStackSe // API operation DescribeStackSetOperation for usage and error information. // // Returned Error Codes: -// * ErrCodeStackSetNotFoundException "StackSetNotFoundException" -// The specified stack set doesn't exist. // -// * ErrCodeOperationNotFoundException "OperationNotFoundException" -// The specified ID refers to an operation that doesn't exist. +// - ErrCodeStackSetNotFoundException "StackSetNotFoundException" +// The specified stack set doesn't exist. +// +// - ErrCodeOperationNotFoundException "OperationNotFoundException" +// The specified ID refers to an operation that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStackSetOperation func (c *CloudFormation) DescribeStackSetOperation(input *DescribeStackSetOperationInput) (*DescribeStackSetOperationOutput, error) { @@ -2494,14 +2477,13 @@ const opDescribeStacks = "DescribeStacks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStacksRequest method. +// req, resp := client.DescribeStacksRequest(params) // -// // Example sending a request using the DescribeStacksRequest method. -// req, resp := client.DescribeStacksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeStacks func (c *CloudFormation) DescribeStacksRequest(input *DescribeStacksInput) (req *request.Request, output *DescribeStacksOutput) { @@ -2569,15 +2551,14 @@ func (c *CloudFormation) DescribeStacksWithContext(ctx aws.Context, input *Descr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeStacks operation. -// pageNum := 0 -// err := client.DescribeStacksPages(params, -// func(page *cloudformation.DescribeStacksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeStacks operation. +// pageNum := 0 +// err := client.DescribeStacksPages(params, +// func(page *cloudformation.DescribeStacksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) DescribeStacksPages(input *DescribeStacksInput, fn func(*DescribeStacksOutput, bool) bool) error { return c.DescribeStacksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2629,14 +2610,13 @@ const opDescribeType = "DescribeType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTypeRequest method. +// req, resp := client.DescribeTypeRequest(params) // -// // Example sending a request using the DescribeTypeRequest method. -// req, resp := client.DescribeTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeType func (c *CloudFormation) DescribeTypeRequest(input *DescribeTypeInput) (req *request.Request, output *DescribeTypeOutput) { @@ -2671,11 +2651,12 @@ func (c *CloudFormation) DescribeTypeRequest(input *DescribeTypeInput) (req *req // API operation DescribeType for usage and error information. // // Returned Error Codes: -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. // -// * ErrCodeTypeNotFoundException "TypeNotFoundException" -// The specified extension doesn't exist in the CloudFormation registry. +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. +// +// - ErrCodeTypeNotFoundException "TypeNotFoundException" +// The specified extension doesn't exist in the CloudFormation registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeType func (c *CloudFormation) DescribeType(input *DescribeTypeInput) (*DescribeTypeOutput, error) { @@ -2715,14 +2696,13 @@ const opDescribeTypeRegistration = "DescribeTypeRegistration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTypeRegistrationRequest method. +// req, resp := client.DescribeTypeRegistrationRequest(params) // -// // Example sending a request using the DescribeTypeRegistrationRequest method. -// req, resp := client.DescribeTypeRegistrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeTypeRegistration func (c *CloudFormation) DescribeTypeRegistrationRequest(input *DescribeTypeRegistrationInput) (req *request.Request, output *DescribeTypeRegistrationOutput) { @@ -2761,8 +2741,8 @@ func (c *CloudFormation) DescribeTypeRegistrationRequest(input *DescribeTypeRegi // API operation DescribeTypeRegistration for usage and error information. // // Returned Error Codes: -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DescribeTypeRegistration func (c *CloudFormation) DescribeTypeRegistration(input *DescribeTypeRegistrationInput) (*DescribeTypeRegistrationOutput, error) { @@ -2802,14 +2782,13 @@ const opDetectStackDrift = "DetectStackDrift" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectStackDriftRequest method. +// req, resp := client.DetectStackDriftRequest(params) // -// // Example sending a request using the DetectStackDriftRequest method. -// req, resp := client.DetectStackDriftRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DetectStackDrift func (c *CloudFormation) DetectStackDriftRequest(input *DetectStackDriftInput) (req *request.Request, output *DetectStackDriftOutput) { @@ -2900,14 +2879,13 @@ const opDetectStackResourceDrift = "DetectStackResourceDrift" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectStackResourceDriftRequest method. +// req, resp := client.DetectStackResourceDriftRequest(params) // -// // Example sending a request using the DetectStackResourceDriftRequest method. -// req, resp := client.DetectStackResourceDriftRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DetectStackResourceDrift func (c *CloudFormation) DetectStackResourceDriftRequest(input *DetectStackResourceDriftInput) (req *request.Request, output *DetectStackResourceDriftOutput) { @@ -2988,14 +2966,13 @@ const opDetectStackSetDrift = "DetectStackSetDrift" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectStackSetDriftRequest method. +// req, resp := client.DetectStackSetDriftRequest(params) // -// // Example sending a request using the DetectStackSetDriftRequest method. -// req, resp := client.DetectStackSetDriftRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DetectStackSetDrift func (c *CloudFormation) DetectStackSetDriftRequest(input *DetectStackSetDriftInput) (req *request.Request, output *DetectStackSetDriftOutput) { @@ -3030,17 +3007,17 @@ func (c *CloudFormation) DetectStackSetDriftRequest(input *DetectStackSetDriftIn // Once the operation has completed, use the following actions to return drift // information: // -// * Use DescribeStackSet to return detailed information about the stack -// set, including detailed information about the last completed drift operation -// performed on the stack set. (Information about drift operations that are -// in progress isn't included.) +// - Use DescribeStackSet to return detailed information about the stack +// set, including detailed information about the last completed drift operation +// performed on the stack set. (Information about drift operations that are +// in progress isn't included.) // -// * Use ListStackInstances to return a list of stack instances belonging -// to the stack set, including the drift status and last drift time checked -// of each instance. +// - Use ListStackInstances to return a list of stack instances belonging +// to the stack set, including the drift status and last drift time checked +// of each instance. // -// * Use DescribeStackInstance to return detailed information about a specific -// stack instance, including its drift status and last drift time checked. +// - Use DescribeStackInstance to return detailed information about a specific +// stack instance, including its drift status and last drift time checked. // // For more information about performing a drift detection operation on a stack // set, see Detecting unmanaged changes in stack sets (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html). @@ -3058,15 +3035,16 @@ func (c *CloudFormation) DetectStackSetDriftRequest(input *DetectStackSetDriftIn // API operation DetectStackSetDrift for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidOperationException "InvalidOperationException" -// The specified operation isn't valid. // -// * ErrCodeOperationInProgressException "OperationInProgressException" -// Another operation is currently in progress for this stack set. Only one operation -// can be performed for a stack set at a given time. +// - ErrCodeInvalidOperationException "InvalidOperationException" +// The specified operation isn't valid. +// +// - ErrCodeOperationInProgressException "OperationInProgressException" +// Another operation is currently in progress for this stack set. Only one operation +// can be performed for a stack set at a given time. // -// * ErrCodeStackSetNotFoundException "StackSetNotFoundException" -// The specified stack set doesn't exist. +// - ErrCodeStackSetNotFoundException "StackSetNotFoundException" +// The specified stack set doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/DetectStackSetDrift func (c *CloudFormation) DetectStackSetDrift(input *DetectStackSetDriftInput) (*DetectStackSetDriftOutput, error) { @@ -3106,14 +3084,13 @@ const opEstimateTemplateCost = "EstimateTemplateCost" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EstimateTemplateCostRequest method. +// req, resp := client.EstimateTemplateCostRequest(params) // -// // Example sending a request using the EstimateTemplateCostRequest method. -// req, resp := client.EstimateTemplateCostRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/EstimateTemplateCost func (c *CloudFormation) EstimateTemplateCostRequest(input *EstimateTemplateCostInput) (req *request.Request, output *EstimateTemplateCostOutput) { @@ -3182,14 +3159,13 @@ const opExecuteChangeSet = "ExecuteChangeSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExecuteChangeSetRequest method. +// req, resp := client.ExecuteChangeSetRequest(params) // -// // Example sending a request using the ExecuteChangeSetRequest method. -// req, resp := client.ExecuteChangeSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSet func (c *CloudFormation) ExecuteChangeSetRequest(input *ExecuteChangeSetInput) (req *request.Request, output *ExecuteChangeSetOutput) { @@ -3234,21 +3210,22 @@ func (c *CloudFormation) ExecuteChangeSetRequest(input *ExecuteChangeSetInput) ( // API operation ExecuteChangeSet for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidChangeSetStatusException "InvalidChangeSetStatus" -// The specified change set can't be used to update the stack. For example, -// the change set status might be CREATE_IN_PROGRESS, or the stack status might -// be UPDATE_IN_PROGRESS. // -// * ErrCodeChangeSetNotFoundException "ChangeSetNotFound" -// The specified change set name or ID doesn't exit. To view valid change sets -// for a stack, use the ListChangeSets operation. +// - ErrCodeInvalidChangeSetStatusException "InvalidChangeSetStatus" +// The specified change set can't be used to update the stack. For example, +// the change set status might be CREATE_IN_PROGRESS, or the stack status might +// be UPDATE_IN_PROGRESS. +// +// - ErrCodeChangeSetNotFoundException "ChangeSetNotFound" +// The specified change set name or ID doesn't exit. To view valid change sets +// for a stack, use the ListChangeSets operation. // -// * ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException" -// The template contains resources with capabilities that weren't specified -// in the Capabilities parameter. +// - ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException" +// The template contains resources with capabilities that weren't specified +// in the Capabilities parameter. // -// * ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" -// A client request token already exists. +// - ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" +// A client request token already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ExecuteChangeSet func (c *CloudFormation) ExecuteChangeSet(input *ExecuteChangeSetInput) (*ExecuteChangeSetOutput, error) { @@ -3288,14 +3265,13 @@ const opGetStackPolicy = "GetStackPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStackPolicyRequest method. +// req, resp := client.GetStackPolicyRequest(params) // -// // Example sending a request using the GetStackPolicyRequest method. -// req, resp := client.GetStackPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetStackPolicy func (c *CloudFormation) GetStackPolicyRequest(input *GetStackPolicyInput) (req *request.Request, output *GetStackPolicyOutput) { @@ -3363,14 +3339,13 @@ const opGetTemplate = "GetTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTemplateRequest method. +// req, resp := client.GetTemplateRequest(params) // -// // Example sending a request using the GetTemplateRequest method. -// req, resp := client.GetTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplate func (c *CloudFormation) GetTemplateRequest(input *GetTemplateInput) (req *request.Request, output *GetTemplateOutput) { @@ -3407,9 +3382,9 @@ func (c *CloudFormation) GetTemplateRequest(input *GetTemplateInput) (req *reque // API operation GetTemplate for usage and error information. // // Returned Error Codes: -// * ErrCodeChangeSetNotFoundException "ChangeSetNotFound" -// The specified change set name or ID doesn't exit. To view valid change sets -// for a stack, use the ListChangeSets operation. +// - ErrCodeChangeSetNotFoundException "ChangeSetNotFound" +// The specified change set name or ID doesn't exit. To view valid change sets +// for a stack, use the ListChangeSets operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplate func (c *CloudFormation) GetTemplate(input *GetTemplateInput) (*GetTemplateOutput, error) { @@ -3449,14 +3424,13 @@ const opGetTemplateSummary = "GetTemplateSummary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTemplateSummaryRequest method. +// req, resp := client.GetTemplateSummaryRequest(params) // -// // Example sending a request using the GetTemplateSummaryRequest method. -// req, resp := client.GetTemplateSummaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummary func (c *CloudFormation) GetTemplateSummaryRequest(input *GetTemplateSummaryInput) (req *request.Request, output *GetTemplateSummaryOutput) { @@ -3498,8 +3472,8 @@ func (c *CloudFormation) GetTemplateSummaryRequest(input *GetTemplateSummaryInpu // API operation GetTemplateSummary for usage and error information. // // Returned Error Codes: -// * ErrCodeStackSetNotFoundException "StackSetNotFoundException" -// The specified stack set doesn't exist. +// - ErrCodeStackSetNotFoundException "StackSetNotFoundException" +// The specified stack set doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/GetTemplateSummary func (c *CloudFormation) GetTemplateSummary(input *GetTemplateSummaryInput) (*GetTemplateSummaryOutput, error) { @@ -3539,14 +3513,13 @@ const opImportStacksToStackSet = "ImportStacksToStackSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportStacksToStackSetRequest method. +// req, resp := client.ImportStacksToStackSetRequest(params) // -// // Example sending a request using the ImportStacksToStackSetRequest method. -// req, resp := client.ImportStacksToStackSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ImportStacksToStackSet func (c *CloudFormation) ImportStacksToStackSetRequest(input *ImportStacksToStackSetInput) (req *request.Request, output *ImportStacksToStackSetOutput) { @@ -3582,33 +3555,34 @@ func (c *CloudFormation) ImportStacksToStackSetRequest(input *ImportStacksToStac // API operation ImportStacksToStackSet for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceededException" -// The quota for the resource has already been reached. // -// For information about resource and stack limitations, see CloudFormation -// quotas (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) -// in the CloudFormation User Guide. +// - ErrCodeLimitExceededException "LimitExceededException" +// The quota for the resource has already been reached. +// +// For information about resource and stack limitations, see CloudFormation +// quotas (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) +// in the CloudFormation User Guide. // -// * ErrCodeStackSetNotFoundException "StackSetNotFoundException" -// The specified stack set doesn't exist. +// - ErrCodeStackSetNotFoundException "StackSetNotFoundException" +// The specified stack set doesn't exist. // -// * ErrCodeInvalidOperationException "InvalidOperationException" -// The specified operation isn't valid. +// - ErrCodeInvalidOperationException "InvalidOperationException" +// The specified operation isn't valid. // -// * ErrCodeOperationInProgressException "OperationInProgressException" -// Another operation is currently in progress for this stack set. Only one operation -// can be performed for a stack set at a given time. +// - ErrCodeOperationInProgressException "OperationInProgressException" +// Another operation is currently in progress for this stack set. Only one operation +// can be performed for a stack set at a given time. // -// * ErrCodeOperationIdAlreadyExistsException "OperationIdAlreadyExistsException" -// The specified operation ID already exists. +// - ErrCodeOperationIdAlreadyExistsException "OperationIdAlreadyExistsException" +// The specified operation ID already exists. // -// * ErrCodeStackNotFoundException "StackNotFoundException" -// The specified stack ARN doesn't exist or stack doesn't exist corresponding -// to the ARN in input. +// - ErrCodeStackNotFoundException "StackNotFoundException" +// The specified stack ARN doesn't exist or stack doesn't exist corresponding +// to the ARN in input. // -// * ErrCodeStaleRequestException "StaleRequestException" -// Another operation has been performed on this stack set since the specified -// operation was performed. +// - ErrCodeStaleRequestException "StaleRequestException" +// Another operation has been performed on this stack set since the specified +// operation was performed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ImportStacksToStackSet func (c *CloudFormation) ImportStacksToStackSet(input *ImportStacksToStackSetInput) (*ImportStacksToStackSetOutput, error) { @@ -3648,14 +3622,13 @@ const opListChangeSets = "ListChangeSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChangeSetsRequest method. +// req, resp := client.ListChangeSetsRequest(params) // -// // Example sending a request using the ListChangeSetsRequest method. -// req, resp := client.ListChangeSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListChangeSets func (c *CloudFormation) ListChangeSetsRequest(input *ListChangeSetsInput) (req *request.Request, output *ListChangeSetsOutput) { @@ -3722,15 +3695,14 @@ func (c *CloudFormation) ListChangeSetsWithContext(ctx aws.Context, input *ListC // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChangeSets operation. -// pageNum := 0 -// err := client.ListChangeSetsPages(params, -// func(page *cloudformation.ListChangeSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChangeSets operation. +// pageNum := 0 +// err := client.ListChangeSetsPages(params, +// func(page *cloudformation.ListChangeSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) ListChangeSetsPages(input *ListChangeSetsInput, fn func(*ListChangeSetsOutput, bool) bool) error { return c.ListChangeSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3782,14 +3754,13 @@ const opListExports = "ListExports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExportsRequest method. +// req, resp := client.ListExportsRequest(params) // -// // Example sending a request using the ListExportsRequest method. -// req, resp := client.ListExportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListExports func (c *CloudFormation) ListExportsRequest(input *ListExportsInput) (req *request.Request, output *ListExportsOutput) { @@ -3859,15 +3830,14 @@ func (c *CloudFormation) ListExportsWithContext(ctx aws.Context, input *ListExpo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExports operation. -// pageNum := 0 -// err := client.ListExportsPages(params, -// func(page *cloudformation.ListExportsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExports operation. +// pageNum := 0 +// err := client.ListExportsPages(params, +// func(page *cloudformation.ListExportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) ListExportsPages(input *ListExportsInput, fn func(*ListExportsOutput, bool) bool) error { return c.ListExportsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3919,14 +3889,13 @@ const opListImports = "ListImports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListImportsRequest method. +// req, resp := client.ListImportsRequest(params) // -// // Example sending a request using the ListImportsRequest method. -// req, resp := client.ListImportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListImports func (c *CloudFormation) ListImportsRequest(input *ListImportsInput) (req *request.Request, output *ListImportsOutput) { @@ -3997,15 +3966,14 @@ func (c *CloudFormation) ListImportsWithContext(ctx aws.Context, input *ListImpo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListImports operation. -// pageNum := 0 -// err := client.ListImportsPages(params, -// func(page *cloudformation.ListImportsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListImports operation. +// pageNum := 0 +// err := client.ListImportsPages(params, +// func(page *cloudformation.ListImportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) ListImportsPages(input *ListImportsInput, fn func(*ListImportsOutput, bool) bool) error { return c.ListImportsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4057,14 +4025,13 @@ const opListStackInstances = "ListStackInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStackInstancesRequest method. +// req, resp := client.ListStackInstancesRequest(params) // -// // Example sending a request using the ListStackInstancesRequest method. -// req, resp := client.ListStackInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstances func (c *CloudFormation) ListStackInstancesRequest(input *ListStackInstancesInput) (req *request.Request, output *ListStackInstancesOutput) { @@ -4104,8 +4071,8 @@ func (c *CloudFormation) ListStackInstancesRequest(input *ListStackInstancesInpu // API operation ListStackInstances for usage and error information. // // Returned Error Codes: -// * ErrCodeStackSetNotFoundException "StackSetNotFoundException" -// The specified stack set doesn't exist. +// - ErrCodeStackSetNotFoundException "StackSetNotFoundException" +// The specified stack set doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackInstances func (c *CloudFormation) ListStackInstances(input *ListStackInstancesInput) (*ListStackInstancesOutput, error) { @@ -4137,15 +4104,14 @@ func (c *CloudFormation) ListStackInstancesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStackInstances operation. -// pageNum := 0 -// err := client.ListStackInstancesPages(params, -// func(page *cloudformation.ListStackInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStackInstances operation. +// pageNum := 0 +// err := client.ListStackInstancesPages(params, +// func(page *cloudformation.ListStackInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) ListStackInstancesPages(input *ListStackInstancesInput, fn func(*ListStackInstancesOutput, bool) bool) error { return c.ListStackInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4197,14 +4163,13 @@ const opListStackResources = "ListStackResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStackResourcesRequest method. +// req, resp := client.ListStackResourcesRequest(params) // -// // Example sending a request using the ListStackResourcesRequest method. -// req, resp := client.ListStackResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackResources func (c *CloudFormation) ListStackResourcesRequest(input *ListStackResourcesInput) (req *request.Request, output *ListStackResourcesOutput) { @@ -4272,15 +4237,14 @@ func (c *CloudFormation) ListStackResourcesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStackResources operation. -// pageNum := 0 -// err := client.ListStackResourcesPages(params, -// func(page *cloudformation.ListStackResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStackResources operation. +// pageNum := 0 +// err := client.ListStackResourcesPages(params, +// func(page *cloudformation.ListStackResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) ListStackResourcesPages(input *ListStackResourcesInput, fn func(*ListStackResourcesOutput, bool) bool) error { return c.ListStackResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4332,14 +4296,13 @@ const opListStackSetOperationResults = "ListStackSetOperationResults" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStackSetOperationResultsRequest method. +// req, resp := client.ListStackSetOperationResultsRequest(params) // -// // Example sending a request using the ListStackSetOperationResultsRequest method. -// req, resp := client.ListStackSetOperationResultsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResults func (c *CloudFormation) ListStackSetOperationResultsRequest(input *ListStackSetOperationResultsInput) (req *request.Request, output *ListStackSetOperationResultsOutput) { @@ -4376,11 +4339,12 @@ func (c *CloudFormation) ListStackSetOperationResultsRequest(input *ListStackSet // API operation ListStackSetOperationResults for usage and error information. // // Returned Error Codes: -// * ErrCodeStackSetNotFoundException "StackSetNotFoundException" -// The specified stack set doesn't exist. // -// * ErrCodeOperationNotFoundException "OperationNotFoundException" -// The specified ID refers to an operation that doesn't exist. +// - ErrCodeStackSetNotFoundException "StackSetNotFoundException" +// The specified stack set doesn't exist. +// +// - ErrCodeOperationNotFoundException "OperationNotFoundException" +// The specified ID refers to an operation that doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperationResults func (c *CloudFormation) ListStackSetOperationResults(input *ListStackSetOperationResultsInput) (*ListStackSetOperationResultsOutput, error) { @@ -4412,15 +4376,14 @@ func (c *CloudFormation) ListStackSetOperationResultsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStackSetOperationResults operation. -// pageNum := 0 -// err := client.ListStackSetOperationResultsPages(params, -// func(page *cloudformation.ListStackSetOperationResultsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStackSetOperationResults operation. +// pageNum := 0 +// err := client.ListStackSetOperationResultsPages(params, +// func(page *cloudformation.ListStackSetOperationResultsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) ListStackSetOperationResultsPages(input *ListStackSetOperationResultsInput, fn func(*ListStackSetOperationResultsOutput, bool) bool) error { return c.ListStackSetOperationResultsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4472,14 +4435,13 @@ const opListStackSetOperations = "ListStackSetOperations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStackSetOperationsRequest method. +// req, resp := client.ListStackSetOperationsRequest(params) // -// // Example sending a request using the ListStackSetOperationsRequest method. -// req, resp := client.ListStackSetOperationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperations func (c *CloudFormation) ListStackSetOperationsRequest(input *ListStackSetOperationsInput) (req *request.Request, output *ListStackSetOperationsOutput) { @@ -4516,8 +4478,8 @@ func (c *CloudFormation) ListStackSetOperationsRequest(input *ListStackSetOperat // API operation ListStackSetOperations for usage and error information. // // Returned Error Codes: -// * ErrCodeStackSetNotFoundException "StackSetNotFoundException" -// The specified stack set doesn't exist. +// - ErrCodeStackSetNotFoundException "StackSetNotFoundException" +// The specified stack set doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSetOperations func (c *CloudFormation) ListStackSetOperations(input *ListStackSetOperationsInput) (*ListStackSetOperationsOutput, error) { @@ -4549,15 +4511,14 @@ func (c *CloudFormation) ListStackSetOperationsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStackSetOperations operation. -// pageNum := 0 -// err := client.ListStackSetOperationsPages(params, -// func(page *cloudformation.ListStackSetOperationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStackSetOperations operation. +// pageNum := 0 +// err := client.ListStackSetOperationsPages(params, +// func(page *cloudformation.ListStackSetOperationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) ListStackSetOperationsPages(input *ListStackSetOperationsInput, fn func(*ListStackSetOperationsOutput, bool) bool) error { return c.ListStackSetOperationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4609,14 +4570,13 @@ const opListStackSets = "ListStackSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStackSetsRequest method. +// req, resp := client.ListStackSetsRequest(params) // -// // Example sending a request using the ListStackSetsRequest method. -// req, resp := client.ListStackSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStackSets func (c *CloudFormation) ListStackSetsRequest(input *ListStackSetsInput) (req *request.Request, output *ListStackSetsOutput) { @@ -4646,17 +4606,17 @@ func (c *CloudFormation) ListStackSetsRequest(input *ListStackSetsInput) (req *r // Returns summary information about stack sets that are associated with the // user. // -// * [Self-managed permissions] If you set the CallAs parameter to SELF while -// signed in to your Amazon Web Services account, ListStackSets returns all -// self-managed stack sets in your Amazon Web Services account. +// - [Self-managed permissions] If you set the CallAs parameter to SELF while +// signed in to your Amazon Web Services account, ListStackSets returns all +// self-managed stack sets in your Amazon Web Services account. // -// * [Service-managed permissions] If you set the CallAs parameter to SELF -// while signed in to the organization's management account, ListStackSets -// returns all stack sets in the management account. +// - [Service-managed permissions] If you set the CallAs parameter to SELF +// while signed in to the organization's management account, ListStackSets +// returns all stack sets in the management account. // -// * [Service-managed permissions] If you set the CallAs parameter to DELEGATED_ADMIN -// while signed in to your member account, ListStackSets returns all stack -// sets with service-managed permissions in the management account. +// - [Service-managed permissions] If you set the CallAs parameter to DELEGATED_ADMIN +// while signed in to your member account, ListStackSets returns all stack +// sets with service-managed permissions in the management account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4694,15 +4654,14 @@ func (c *CloudFormation) ListStackSetsWithContext(ctx aws.Context, input *ListSt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStackSets operation. -// pageNum := 0 -// err := client.ListStackSetsPages(params, -// func(page *cloudformation.ListStackSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStackSets operation. +// pageNum := 0 +// err := client.ListStackSetsPages(params, +// func(page *cloudformation.ListStackSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) ListStackSetsPages(input *ListStackSetsInput, fn func(*ListStackSetsOutput, bool) bool) error { return c.ListStackSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4754,14 +4713,13 @@ const opListStacks = "ListStacks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStacksRequest method. +// req, resp := client.ListStacksRequest(params) // -// // Example sending a request using the ListStacksRequest method. -// req, resp := client.ListStacksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListStacks func (c *CloudFormation) ListStacksRequest(input *ListStacksInput) (req *request.Request, output *ListStacksOutput) { @@ -4830,15 +4788,14 @@ func (c *CloudFormation) ListStacksWithContext(ctx aws.Context, input *ListStack // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStacks operation. -// pageNum := 0 -// err := client.ListStacksPages(params, -// func(page *cloudformation.ListStacksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStacks operation. +// pageNum := 0 +// err := client.ListStacksPages(params, +// func(page *cloudformation.ListStacksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) ListStacksPages(input *ListStacksInput, fn func(*ListStacksOutput, bool) bool) error { return c.ListStacksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4890,14 +4847,13 @@ const opListTypeRegistrations = "ListTypeRegistrations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTypeRegistrationsRequest method. +// req, resp := client.ListTypeRegistrationsRequest(params) // -// // Example sending a request using the ListTypeRegistrationsRequest method. -// req, resp := client.ListTypeRegistrationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypeRegistrations func (c *CloudFormation) ListTypeRegistrationsRequest(input *ListTypeRegistrationsInput) (req *request.Request, output *ListTypeRegistrationsOutput) { @@ -4934,8 +4890,8 @@ func (c *CloudFormation) ListTypeRegistrationsRequest(input *ListTypeRegistratio // API operation ListTypeRegistrations for usage and error information. // // Returned Error Codes: -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypeRegistrations func (c *CloudFormation) ListTypeRegistrations(input *ListTypeRegistrationsInput) (*ListTypeRegistrationsOutput, error) { @@ -4967,15 +4923,14 @@ func (c *CloudFormation) ListTypeRegistrationsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTypeRegistrations operation. -// pageNum := 0 -// err := client.ListTypeRegistrationsPages(params, -// func(page *cloudformation.ListTypeRegistrationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTypeRegistrations operation. +// pageNum := 0 +// err := client.ListTypeRegistrationsPages(params, +// func(page *cloudformation.ListTypeRegistrationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) ListTypeRegistrationsPages(input *ListTypeRegistrationsInput, fn func(*ListTypeRegistrationsOutput, bool) bool) error { return c.ListTypeRegistrationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5027,14 +4982,13 @@ const opListTypeVersions = "ListTypeVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTypeVersionsRequest method. +// req, resp := client.ListTypeVersionsRequest(params) // -// // Example sending a request using the ListTypeVersionsRequest method. -// req, resp := client.ListTypeVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypeVersions func (c *CloudFormation) ListTypeVersionsRequest(input *ListTypeVersionsInput) (req *request.Request, output *ListTypeVersionsOutput) { @@ -5071,8 +5025,8 @@ func (c *CloudFormation) ListTypeVersionsRequest(input *ListTypeVersionsInput) ( // API operation ListTypeVersions for usage and error information. // // Returned Error Codes: -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypeVersions func (c *CloudFormation) ListTypeVersions(input *ListTypeVersionsInput) (*ListTypeVersionsOutput, error) { @@ -5104,15 +5058,14 @@ func (c *CloudFormation) ListTypeVersionsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTypeVersions operation. -// pageNum := 0 -// err := client.ListTypeVersionsPages(params, -// func(page *cloudformation.ListTypeVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTypeVersions operation. +// pageNum := 0 +// err := client.ListTypeVersionsPages(params, +// func(page *cloudformation.ListTypeVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) ListTypeVersionsPages(input *ListTypeVersionsInput, fn func(*ListTypeVersionsOutput, bool) bool) error { return c.ListTypeVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5164,14 +5117,13 @@ const opListTypes = "ListTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTypesRequest method. +// req, resp := client.ListTypesRequest(params) // -// // Example sending a request using the ListTypesRequest method. -// req, resp := client.ListTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypes func (c *CloudFormation) ListTypesRequest(input *ListTypesInput) (req *request.Request, output *ListTypesOutput) { @@ -5209,8 +5161,8 @@ func (c *CloudFormation) ListTypesRequest(input *ListTypesInput) (req *request.R // API operation ListTypes for usage and error information. // // Returned Error Codes: -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ListTypes func (c *CloudFormation) ListTypes(input *ListTypesInput) (*ListTypesOutput, error) { @@ -5242,15 +5194,14 @@ func (c *CloudFormation) ListTypesWithContext(ctx aws.Context, input *ListTypesI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTypes operation. -// pageNum := 0 -// err := client.ListTypesPages(params, -// func(page *cloudformation.ListTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTypes operation. +// pageNum := 0 +// err := client.ListTypesPages(params, +// func(page *cloudformation.ListTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFormation) ListTypesPages(input *ListTypesInput, fn func(*ListTypesOutput, bool) bool) error { return c.ListTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5302,14 +5253,13 @@ const opPublishType = "PublishType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PublishTypeRequest method. +// req, resp := client.PublishTypeRequest(params) // -// // Example sending a request using the PublishTypeRequest method. -// req, resp := client.PublishTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/PublishType func (c *CloudFormation) PublishTypeRequest(input *PublishTypeInput) (req *request.Request, output *PublishTypeOutput) { @@ -5347,11 +5297,12 @@ func (c *CloudFormation) PublishTypeRequest(input *PublishTypeInput) (req *reque // API operation PublishType for usage and error information. // // Returned Error Codes: -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. // -// * ErrCodeTypeNotFoundException "TypeNotFoundException" -// The specified extension doesn't exist in the CloudFormation registry. +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. +// +// - ErrCodeTypeNotFoundException "TypeNotFoundException" +// The specified extension doesn't exist in the CloudFormation registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/PublishType func (c *CloudFormation) PublishType(input *PublishTypeInput) (*PublishTypeOutput, error) { @@ -5391,14 +5342,13 @@ const opRecordHandlerProgress = "RecordHandlerProgress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RecordHandlerProgressRequest method. +// req, resp := client.RecordHandlerProgressRequest(params) // -// // Example sending a request using the RecordHandlerProgressRequest method. -// req, resp := client.RecordHandlerProgressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RecordHandlerProgress func (c *CloudFormation) RecordHandlerProgressRequest(input *RecordHandlerProgressInput) (req *request.Request, output *RecordHandlerProgressOutput) { @@ -5433,13 +5383,14 @@ func (c *CloudFormation) RecordHandlerProgressRequest(input *RecordHandlerProgre // API operation RecordHandlerProgress for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidStateTransitionException "InvalidStateTransition" -// Error reserved for use by the CloudFormation CLI (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). -// CloudFormation doesn't return this error to users. // -// * ErrCodeOperationStatusCheckFailedException "ConditionalCheckFailed" -// Error reserved for use by the CloudFormation CLI (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). -// CloudFormation doesn't return this error to users. +// - ErrCodeInvalidStateTransitionException "InvalidStateTransition" +// Error reserved for use by the CloudFormation CLI (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). +// CloudFormation doesn't return this error to users. +// +// - ErrCodeOperationStatusCheckFailedException "ConditionalCheckFailed" +// Error reserved for use by the CloudFormation CLI (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/what-is-cloudformation-cli.html). +// CloudFormation doesn't return this error to users. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RecordHandlerProgress func (c *CloudFormation) RecordHandlerProgress(input *RecordHandlerProgressInput) (*RecordHandlerProgressOutput, error) { @@ -5479,14 +5430,13 @@ const opRegisterPublisher = "RegisterPublisher" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterPublisherRequest method. +// req, resp := client.RegisterPublisherRequest(params) // -// // Example sending a request using the RegisterPublisherRequest method. -// req, resp := client.RegisterPublisherRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RegisterPublisher func (c *CloudFormation) RegisterPublisherRequest(input *RegisterPublisherInput) (req *request.Request, output *RegisterPublisherOutput) { @@ -5524,8 +5474,8 @@ func (c *CloudFormation) RegisterPublisherRequest(input *RegisterPublisherInput) // API operation RegisterPublisher for usage and error information. // // Returned Error Codes: -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RegisterPublisher func (c *CloudFormation) RegisterPublisher(input *RegisterPublisherInput) (*RegisterPublisherOutput, error) { @@ -5565,14 +5515,13 @@ const opRegisterType = "RegisterType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterTypeRequest method. +// req, resp := client.RegisterTypeRequest(params) // -// // Example sending a request using the RegisterTypeRequest method. -// req, resp := client.RegisterTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RegisterType func (c *CloudFormation) RegisterTypeRequest(input *RegisterTypeInput) (req *request.Request, output *RegisterTypeOutput) { @@ -5597,11 +5546,11 @@ func (c *CloudFormation) RegisterTypeRequest(input *RegisterTypeInput) (req *req // makes it available for use in CloudFormation templates in your Amazon Web // Services account, and includes: // -// * Validating the extension schema. +// - Validating the extension schema. // -// * Determining which handlers, if any, have been specified for the extension. +// - Determining which handlers, if any, have been specified for the extension. // -// * Making the extension available for use in your account. +// - Making the extension available for use in your account. // // For more information about how to develop extensions and ready them for registration, // see Creating Resource Providers (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-types.html) @@ -5629,8 +5578,8 @@ func (c *CloudFormation) RegisterTypeRequest(input *RegisterTypeInput) (req *req // API operation RegisterType for usage and error information. // // Returned Error Codes: -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RegisterType func (c *CloudFormation) RegisterType(input *RegisterTypeInput) (*RegisterTypeOutput, error) { @@ -5670,14 +5619,13 @@ const opRollbackStack = "RollbackStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RollbackStackRequest method. +// req, resp := client.RollbackStackRequest(params) // -// // Example sending a request using the RollbackStackRequest method. -// req, resp := client.RollbackStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackStack func (c *CloudFormation) RollbackStackRequest(input *RollbackStackInput) (req *request.Request, output *RollbackStackOutput) { @@ -5709,15 +5657,15 @@ func (c *CloudFormation) RollbackStackRequest(input *RollbackStackInput) (req *r // state. A last known stable state includes any status in a *_COMPLETE. This // includes the following stack statuses. // -// * CREATE_COMPLETE +// - CREATE_COMPLETE // -// * UPDATE_COMPLETE +// - UPDATE_COMPLETE // -// * UPDATE_ROLLBACK_COMPLETE +// - UPDATE_ROLLBACK_COMPLETE // -// * IMPORT_COMPLETE +// - IMPORT_COMPLETE // -// * IMPORT_ROLLBACK_COMPLETE +// - IMPORT_ROLLBACK_COMPLETE // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5727,8 +5675,8 @@ func (c *CloudFormation) RollbackStackRequest(input *RollbackStackInput) (req *r // API operation RollbackStack for usage and error information. // // Returned Error Codes: -// * ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" -// A client request token already exists. +// - ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" +// A client request token already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/RollbackStack func (c *CloudFormation) RollbackStack(input *RollbackStackInput) (*RollbackStackOutput, error) { @@ -5768,14 +5716,13 @@ const opSetStackPolicy = "SetStackPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetStackPolicyRequest method. +// req, resp := client.SetStackPolicyRequest(params) // -// // Example sending a request using the SetStackPolicyRequest method. -// req, resp := client.SetStackPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetStackPolicy func (c *CloudFormation) SetStackPolicyRequest(input *SetStackPolicyInput) (req *request.Request, output *SetStackPolicyOutput) { @@ -5843,14 +5790,13 @@ const opSetTypeConfiguration = "SetTypeConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetTypeConfigurationRequest method. +// req, resp := client.SetTypeConfigurationRequest(params) // -// // Example sending a request using the SetTypeConfigurationRequest method. -// req, resp := client.SetTypeConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetTypeConfiguration func (c *CloudFormation) SetTypeConfigurationRequest(input *SetTypeConfigurationInput) (req *request.Request, output *SetTypeConfigurationOutput) { @@ -5892,11 +5838,12 @@ func (c *CloudFormation) SetTypeConfigurationRequest(input *SetTypeConfiguration // API operation SetTypeConfiguration for usage and error information. // // Returned Error Codes: -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. // -// * ErrCodeTypeNotFoundException "TypeNotFoundException" -// The specified extension doesn't exist in the CloudFormation registry. +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. +// +// - ErrCodeTypeNotFoundException "TypeNotFoundException" +// The specified extension doesn't exist in the CloudFormation registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetTypeConfiguration func (c *CloudFormation) SetTypeConfiguration(input *SetTypeConfigurationInput) (*SetTypeConfigurationOutput, error) { @@ -5936,14 +5883,13 @@ const opSetTypeDefaultVersion = "SetTypeDefaultVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetTypeDefaultVersionRequest method. +// req, resp := client.SetTypeDefaultVersionRequest(params) // -// // Example sending a request using the SetTypeDefaultVersionRequest method. -// req, resp := client.SetTypeDefaultVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetTypeDefaultVersion func (c *CloudFormation) SetTypeDefaultVersionRequest(input *SetTypeDefaultVersionInput) (req *request.Request, output *SetTypeDefaultVersionOutput) { @@ -5976,11 +5922,12 @@ func (c *CloudFormation) SetTypeDefaultVersionRequest(input *SetTypeDefaultVersi // API operation SetTypeDefaultVersion for usage and error information. // // Returned Error Codes: -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. // -// * ErrCodeTypeNotFoundException "TypeNotFoundException" -// The specified extension doesn't exist in the CloudFormation registry. +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. +// +// - ErrCodeTypeNotFoundException "TypeNotFoundException" +// The specified extension doesn't exist in the CloudFormation registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SetTypeDefaultVersion func (c *CloudFormation) SetTypeDefaultVersion(input *SetTypeDefaultVersionInput) (*SetTypeDefaultVersionOutput, error) { @@ -6020,14 +5967,13 @@ const opSignalResource = "SignalResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SignalResourceRequest method. +// req, resp := client.SignalResourceRequest(params) // -// // Example sending a request using the SignalResourceRequest method. -// req, resp := client.SignalResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/SignalResource func (c *CloudFormation) SignalResourceRequest(input *SignalResourceInput) (req *request.Request, output *SignalResourceOutput) { @@ -6100,14 +6046,13 @@ const opStopStackSetOperation = "StopStackSetOperation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopStackSetOperationRequest method. +// req, resp := client.StopStackSetOperationRequest(params) // -// // Example sending a request using the StopStackSetOperationRequest method. -// req, resp := client.StopStackSetOperationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperation func (c *CloudFormation) StopStackSetOperationRequest(input *StopStackSetOperationInput) (req *request.Request, output *StopStackSetOperationOutput) { @@ -6141,14 +6086,15 @@ func (c *CloudFormation) StopStackSetOperationRequest(input *StopStackSetOperati // API operation StopStackSetOperation for usage and error information. // // Returned Error Codes: -// * ErrCodeStackSetNotFoundException "StackSetNotFoundException" -// The specified stack set doesn't exist. // -// * ErrCodeOperationNotFoundException "OperationNotFoundException" -// The specified ID refers to an operation that doesn't exist. +// - ErrCodeStackSetNotFoundException "StackSetNotFoundException" +// The specified stack set doesn't exist. // -// * ErrCodeInvalidOperationException "InvalidOperationException" -// The specified operation isn't valid. +// - ErrCodeOperationNotFoundException "OperationNotFoundException" +// The specified ID refers to an operation that doesn't exist. +// +// - ErrCodeInvalidOperationException "InvalidOperationException" +// The specified operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/StopStackSetOperation func (c *CloudFormation) StopStackSetOperation(input *StopStackSetOperationInput) (*StopStackSetOperationOutput, error) { @@ -6188,14 +6134,13 @@ const opTestType = "TestType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestTypeRequest method. +// req, resp := client.TestTypeRequest(params) // -// // Example sending a request using the TestTypeRequest method. -// req, resp := client.TestTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TestType func (c *CloudFormation) TestTypeRequest(input *TestTypeInput) (req *request.Request, output *TestTypeOutput) { @@ -6219,11 +6164,11 @@ func (c *CloudFormation) TestTypeRequest(input *TestTypeInput) (req *request.Req // Tests a registered extension to make sure it meets all necessary requirements // for being published in the CloudFormation registry. // -// * For resource types, this includes passing all contracts tests defined -// for the type. +// - For resource types, this includes passing all contracts tests defined +// for the type. // -// * For modules, this includes determining if the module's model meets all -// necessary requirements. +// - For modules, this includes determining if the module's model meets all +// necessary requirements. // // For more information, see Testing your public extension prior to publishing // (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/publish-extension.html#publish-extension-testing) @@ -6252,11 +6197,12 @@ func (c *CloudFormation) TestTypeRequest(input *TestTypeInput) (req *request.Req // API operation TestType for usage and error information. // // Returned Error Codes: -// * ErrCodeCFNRegistryException "CFNRegistryException" -// An error occurred during a CloudFormation registry operation. // -// * ErrCodeTypeNotFoundException "TypeNotFoundException" -// The specified extension doesn't exist in the CloudFormation registry. +// - ErrCodeCFNRegistryException "CFNRegistryException" +// An error occurred during a CloudFormation registry operation. +// +// - ErrCodeTypeNotFoundException "TypeNotFoundException" +// The specified extension doesn't exist in the CloudFormation registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/TestType func (c *CloudFormation) TestType(input *TestTypeInput) (*TestTypeOutput, error) { @@ -6296,14 +6242,13 @@ const opUpdateStack = "UpdateStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStackRequest method. +// req, resp := client.UpdateStackRequest(params) // -// // Example sending a request using the UpdateStackRequest method. -// req, resp := client.UpdateStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStack func (c *CloudFormation) UpdateStackRequest(input *UpdateStackInput) (req *request.Request, output *UpdateStackOutput) { @@ -6342,12 +6287,13 @@ func (c *CloudFormation) UpdateStackRequest(input *UpdateStackInput) (req *reque // API operation UpdateStack for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException" -// The template contains resources with capabilities that weren't specified -// in the Capabilities parameter. // -// * ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" -// A client request token already exists. +// - ErrCodeInsufficientCapabilitiesException "InsufficientCapabilitiesException" +// The template contains resources with capabilities that weren't specified +// in the Capabilities parameter. +// +// - ErrCodeTokenAlreadyExistsException "TokenAlreadyExistsException" +// A client request token already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStack func (c *CloudFormation) UpdateStack(input *UpdateStackInput) (*UpdateStackOutput, error) { @@ -6387,14 +6333,13 @@ const opUpdateStackInstances = "UpdateStackInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStackInstancesRequest method. +// req, resp := client.UpdateStackInstancesRequest(params) // -// // Example sending a request using the UpdateStackInstancesRequest method. -// req, resp := client.UpdateStackInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstances func (c *CloudFormation) UpdateStackInstancesRequest(input *UpdateStackInstancesInput) (req *request.Request, output *UpdateStackInstancesOutput) { @@ -6443,25 +6388,26 @@ func (c *CloudFormation) UpdateStackInstancesRequest(input *UpdateStackInstances // API operation UpdateStackInstances for usage and error information. // // Returned Error Codes: -// * ErrCodeStackSetNotFoundException "StackSetNotFoundException" -// The specified stack set doesn't exist. // -// * ErrCodeStackInstanceNotFoundException "StackInstanceNotFoundException" -// The specified stack instance doesn't exist. +// - ErrCodeStackSetNotFoundException "StackSetNotFoundException" +// The specified stack set doesn't exist. +// +// - ErrCodeStackInstanceNotFoundException "StackInstanceNotFoundException" +// The specified stack instance doesn't exist. // -// * ErrCodeOperationInProgressException "OperationInProgressException" -// Another operation is currently in progress for this stack set. Only one operation -// can be performed for a stack set at a given time. +// - ErrCodeOperationInProgressException "OperationInProgressException" +// Another operation is currently in progress for this stack set. Only one operation +// can be performed for a stack set at a given time. // -// * ErrCodeOperationIdAlreadyExistsException "OperationIdAlreadyExistsException" -// The specified operation ID already exists. +// - ErrCodeOperationIdAlreadyExistsException "OperationIdAlreadyExistsException" +// The specified operation ID already exists. // -// * ErrCodeStaleRequestException "StaleRequestException" -// Another operation has been performed on this stack set since the specified -// operation was performed. +// - ErrCodeStaleRequestException "StaleRequestException" +// Another operation has been performed on this stack set since the specified +// operation was performed. // -// * ErrCodeInvalidOperationException "InvalidOperationException" -// The specified operation isn't valid. +// - ErrCodeInvalidOperationException "InvalidOperationException" +// The specified operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackInstances func (c *CloudFormation) UpdateStackInstances(input *UpdateStackInstancesInput) (*UpdateStackInstancesOutput, error) { @@ -6501,14 +6447,13 @@ const opUpdateStackSet = "UpdateStackSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStackSetRequest method. +// req, resp := client.UpdateStackSetRequest(params) // -// // Example sending a request using the UpdateStackSetRequest method. -// req, resp := client.UpdateStackSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSet func (c *CloudFormation) UpdateStackSetRequest(input *UpdateStackSetInput) (req *request.Request, output *UpdateStackSetOutput) { @@ -6545,25 +6490,26 @@ func (c *CloudFormation) UpdateStackSetRequest(input *UpdateStackSetInput) (req // API operation UpdateStackSet for usage and error information. // // Returned Error Codes: -// * ErrCodeStackSetNotFoundException "StackSetNotFoundException" -// The specified stack set doesn't exist. // -// * ErrCodeOperationInProgressException "OperationInProgressException" -// Another operation is currently in progress for this stack set. Only one operation -// can be performed for a stack set at a given time. +// - ErrCodeStackSetNotFoundException "StackSetNotFoundException" +// The specified stack set doesn't exist. // -// * ErrCodeOperationIdAlreadyExistsException "OperationIdAlreadyExistsException" -// The specified operation ID already exists. +// - ErrCodeOperationInProgressException "OperationInProgressException" +// Another operation is currently in progress for this stack set. Only one operation +// can be performed for a stack set at a given time. // -// * ErrCodeStaleRequestException "StaleRequestException" -// Another operation has been performed on this stack set since the specified -// operation was performed. +// - ErrCodeOperationIdAlreadyExistsException "OperationIdAlreadyExistsException" +// The specified operation ID already exists. // -// * ErrCodeInvalidOperationException "InvalidOperationException" -// The specified operation isn't valid. +// - ErrCodeStaleRequestException "StaleRequestException" +// Another operation has been performed on this stack set since the specified +// operation was performed. // -// * ErrCodeStackInstanceNotFoundException "StackInstanceNotFoundException" -// The specified stack instance doesn't exist. +// - ErrCodeInvalidOperationException "InvalidOperationException" +// The specified operation isn't valid. +// +// - ErrCodeStackInstanceNotFoundException "StackInstanceNotFoundException" +// The specified stack instance doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateStackSet func (c *CloudFormation) UpdateStackSet(input *UpdateStackSetInput) (*UpdateStackSetOutput, error) { @@ -6603,14 +6549,13 @@ const opUpdateTerminationProtection = "UpdateTerminationProtection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTerminationProtectionRequest method. +// req, resp := client.UpdateTerminationProtectionRequest(params) // -// // Example sending a request using the UpdateTerminationProtectionRequest method. -// req, resp := client.UpdateTerminationProtectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/UpdateTerminationProtection func (c *CloudFormation) UpdateTerminationProtectionRequest(input *UpdateTerminationProtectionInput) (req *request.Request, output *UpdateTerminationProtectionOutput) { @@ -6685,14 +6630,13 @@ const opValidateTemplate = "ValidateTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ValidateTemplateRequest method. +// req, resp := client.ValidateTemplateRequest(params) // -// // Example sending a request using the ValidateTemplateRequest method. -// req, resp := client.ValidateTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudformation-2010-05-15/ValidateTemplate func (c *CloudFormation) ValidateTemplateRequest(input *ValidateTemplateInput) (req *request.Request, output *ValidateTemplateOutput) { @@ -6824,11 +6768,11 @@ func (s *AccountGateResult) SetStatusReason(v string) *AccountGateResult { // // CloudFormation has the following limits per account: // -// * Number of concurrent resources +// - Number of concurrent resources // -// * Number of stacks +// - Number of stacks // -// * Number of stack outputs +// - Number of stack outputs // // For more information about these account limits, and other CloudFormation // limits, see CloudFormation quotas (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-limits.html) diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/cloudformationiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/cloudformationiface/interface.go index 407baf1e1707..85c195ca9f62 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/cloudformationiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/cloudformationiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS CloudFormation. -// func myFunc(svc cloudformationiface.CloudFormationAPI) bool { -// // Make svc.ActivateType request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS CloudFormation. +// func myFunc(svc cloudformationiface.CloudFormationAPI) bool { +// // Make svc.ActivateType request +// } // -// func main() { -// sess := session.New() -// svc := cloudformation.New(sess) +// func main() { +// sess := session.New() +// svc := cloudformation.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCloudFormationClient struct { -// cloudformationiface.CloudFormationAPI -// } -// func (m *mockCloudFormationClient) ActivateType(input *cloudformation.ActivateTypeInput) (*cloudformation.ActivateTypeOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCloudFormationClient struct { +// cloudformationiface.CloudFormationAPI +// } +// func (m *mockCloudFormationClient) ActivateType(input *cloudformation.ActivateTypeInput) (*cloudformation.ActivateTypeOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCloudFormationClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCloudFormationClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/doc.go index 55850ab94a5b..890b4e90d108 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/doc.go @@ -30,7 +30,7 @@ // See cloudformation package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cloudformation/ // -// Using the Client +// # Using the Client // // To contact AWS CloudFormation with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/service.go index 2ef04aafb625..85e96804de71 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudformation/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CloudFormation client from just a session. -// svc := cloudformation.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CloudFormation client with additional configuration -// svc := cloudformation.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CloudFormation client from just a session. +// svc := cloudformation.New(mySession) +// +// // Create a CloudFormation client with additional configuration +// svc := cloudformation.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudFormation { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/api.go index 60c1fa20de3b..776fbaae2233 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/api.go @@ -29,14 +29,13 @@ const opAssociateAlias = "AssociateAlias2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateAliasRequest method. +// req, resp := client.AssociateAliasRequest(params) // -// // Example sending a request using the AssociateAliasRequest method. -// req, resp := client.AssociateAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/AssociateAlias func (c *CloudFront) AssociateAliasRequest(input *AssociateAliasInput) (req *request.Request, output *AssociateAliasOutput) { @@ -81,20 +80,21 @@ func (c *CloudFront) AssociateAliasRequest(input *AssociateAliasInput) (req *req // API operation AssociateAlias for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. // -// * ErrCodeNoSuchDistribution "NoSuchDistribution" -// The specified distribution does not exist. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. +// +// - ErrCodeNoSuchDistribution "NoSuchDistribution" +// The specified distribution does not exist. // -// * ErrCodeTooManyDistributionCNAMEs "TooManyDistributionCNAMEs" -// Your request contains more CNAMEs than are allowed per distribution. +// - ErrCodeTooManyDistributionCNAMEs "TooManyDistributionCNAMEs" +// Your request contains more CNAMEs than are allowed per distribution. // -// * ErrCodeIllegalUpdate "IllegalUpdate" -// The update contains modifications that are not allowed. +// - ErrCodeIllegalUpdate "IllegalUpdate" +// The update contains modifications that are not allowed. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/AssociateAlias func (c *CloudFront) AssociateAlias(input *AssociateAliasInput) (*AssociateAliasOutput, error) { @@ -134,14 +134,13 @@ const opCreateCachePolicy = "CreateCachePolicy2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCachePolicyRequest method. +// req, resp := client.CreateCachePolicyRequest(params) // -// // Example sending a request using the CreateCachePolicyRequest method. -// req, resp := client.CreateCachePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCachePolicy func (c *CloudFront) CreateCachePolicyRequest(input *CreateCachePolicyInput) (req *request.Request, output *CreateCachePolicyOutput) { @@ -168,13 +167,13 @@ func (c *CloudFront) CreateCachePolicyRequest(input *CreateCachePolicyInput) (re // When it’s attached to a cache behavior, the cache policy determines the // following: // -// * The values that CloudFront includes in the cache key. These values can -// include HTTP headers, cookies, and URL query strings. CloudFront uses -// the cache key to find an object in its cache that it can return to the -// viewer. +// - The values that CloudFront includes in the cache key. These values can +// include HTTP headers, cookies, and URL query strings. CloudFront uses +// the cache key to find an object in its cache that it can return to the +// viewer. // -// * The default, minimum, and maximum time to live (TTL) values that you -// want objects to stay in the CloudFront cache. +// - The default, minimum, and maximum time to live (TTL) values that you +// want objects to stay in the CloudFront cache. // // The headers, cookies, and query strings that are included in the cache key // are automatically included in requests that CloudFront sends to the origin. @@ -194,38 +193,39 @@ func (c *CloudFront) CreateCachePolicyRequest(input *CreateCachePolicyInput) (re // API operation CreateCachePolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // -// * ErrCodeCachePolicyAlreadyExists "CachePolicyAlreadyExists" -// A cache policy with this name already exists. You must provide a unique name. -// To modify an existing cache policy, use UpdateCachePolicy. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeTooManyCachePolicies "TooManyCachePolicies" -// You have reached the maximum number of cache policies for this Amazon Web -// Services account. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeCachePolicyAlreadyExists "CachePolicyAlreadyExists" +// A cache policy with this name already exists. You must provide a unique name. +// To modify an existing cache policy, use UpdateCachePolicy. // -// * ErrCodeTooManyHeadersInCachePolicy "TooManyHeadersInCachePolicy" -// The number of headers in the cache policy exceeds the maximum. For more information, -// see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyCachePolicies "TooManyCachePolicies" +// You have reached the maximum number of cache policies for this Amazon Web +// Services account. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyCookiesInCachePolicy "TooManyCookiesInCachePolicy" -// The number of cookies in the cache policy exceeds the maximum. For more information, -// see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyHeadersInCachePolicy "TooManyHeadersInCachePolicy" +// The number of headers in the cache policy exceeds the maximum. For more information, +// see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyQueryStringsInCachePolicy "TooManyQueryStringsInCachePolicy" -// The number of query strings in the cache policy exceeds the maximum. For -// more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyCookiesInCachePolicy "TooManyCookiesInCachePolicy" +// The number of cookies in the cache policy exceeds the maximum. For more information, +// see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// +// - ErrCodeTooManyQueryStringsInCachePolicy "TooManyQueryStringsInCachePolicy" +// The number of query strings in the cache policy exceeds the maximum. For +// more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCachePolicy func (c *CloudFront) CreateCachePolicy(input *CreateCachePolicyInput) (*CreateCachePolicyOutput, error) { @@ -265,14 +265,13 @@ const opCreateCloudFrontOriginAccessIdentity = "CreateCloudFrontOriginAccessIden // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCloudFrontOriginAccessIdentityRequest method. +// req, resp := client.CreateCloudFrontOriginAccessIdentityRequest(params) // -// // Example sending a request using the CreateCloudFrontOriginAccessIdentityRequest method. -// req, resp := client.CreateCloudFrontOriginAccessIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity func (c *CloudFront) CreateCloudFrontOriginAccessIdentityRequest(input *CreateCloudFrontOriginAccessIdentityInput) (req *request.Request, output *CreateCloudFrontOriginAccessIdentityOutput) { @@ -308,25 +307,26 @@ func (c *CloudFront) CreateCloudFrontOriginAccessIdentityRequest(input *CreateCl // API operation CreateCloudFrontOriginAccessIdentity for usage and error information. // // Returned Error Codes: -// * ErrCodeOriginAccessIdentityAlreadyExists "CloudFrontOriginAccessIdentityAlreadyExists" -// If the CallerReference is a value you already sent in a previous request -// to create an identity but the content of the CloudFrontOriginAccessIdentityConfig -// is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists -// error. // -// * ErrCodeMissingBody "MissingBody" -// This operation requires a body. Ensure that the body is present and the Content-Type -// header is set. +// - ErrCodeOriginAccessIdentityAlreadyExists "CloudFrontOriginAccessIdentityAlreadyExists" +// If the CallerReference is a value you already sent in a previous request +// to create an identity but the content of the CloudFrontOriginAccessIdentityConfig +// is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists +// error. +// +// - ErrCodeMissingBody "MissingBody" +// This operation requires a body. Ensure that the body is present and the Content-Type +// header is set. // -// * ErrCodeTooManyCloudFrontOriginAccessIdentities "TooManyCloudFrontOriginAccessIdentities" -// Processing your request would cause you to exceed the maximum number of origin -// access identities allowed. +// - ErrCodeTooManyCloudFrontOriginAccessIdentities "TooManyCloudFrontOriginAccessIdentities" +// Processing your request would cause you to exceed the maximum number of origin +// access identities allowed. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateCloudFrontOriginAccessIdentity func (c *CloudFront) CreateCloudFrontOriginAccessIdentity(input *CreateCloudFrontOriginAccessIdentityInput) (*CreateCloudFrontOriginAccessIdentityOutput, error) { @@ -366,14 +366,13 @@ const opCreateDistribution = "CreateDistribution2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDistributionRequest method. +// req, resp := client.CreateDistributionRequest(params) // -// // Example sending a request using the CreateDistributionRequest method. -// req, resp := client.CreateDistributionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistribution func (c *CloudFront) CreateDistributionRequest(input *CreateDistributionInput) (req *request.Request, output *CreateDistributionOutput) { @@ -416,220 +415,221 @@ func (c *CloudFront) CreateDistributionRequest(input *CreateDistributionInput) ( // API operation CreateDistribution for usage and error information. // // Returned Error Codes: -// * ErrCodeCNAMEAlreadyExists "CNAMEAlreadyExists" -// The CNAME specified is already defined for CloudFront. // -// * ErrCodeDistributionAlreadyExists "DistributionAlreadyExists" -// The caller reference you attempted to create the distribution with is associated -// with another distribution. +// - ErrCodeCNAMEAlreadyExists "CNAMEAlreadyExists" +// The CNAME specified is already defined for CloudFront. +// +// - ErrCodeDistributionAlreadyExists "DistributionAlreadyExists" +// The caller reference you attempted to create the distribution with is associated +// with another distribution. // -// * ErrCodeInvalidOrigin "InvalidOrigin" -// The Amazon S3 origin server specified does not refer to a valid Amazon S3 -// bucket. +// - ErrCodeInvalidOrigin "InvalidOrigin" +// The Amazon S3 origin server specified does not refer to a valid Amazon S3 +// bucket. // -// * ErrCodeInvalidOriginAccessIdentity "InvalidOriginAccessIdentity" -// The origin access identity is not valid or doesn't exist. +// - ErrCodeInvalidOriginAccessIdentity "InvalidOriginAccessIdentity" +// The origin access identity is not valid or doesn't exist. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeTooManyTrustedSigners "TooManyTrustedSigners" -// Your request contains more trusted signers than are allowed per distribution. +// - ErrCodeTooManyTrustedSigners "TooManyTrustedSigners" +// Your request contains more trusted signers than are allowed per distribution. // -// * ErrCodeTrustedSignerDoesNotExist "TrustedSignerDoesNotExist" -// One or more of your trusted signers don't exist. +// - ErrCodeTrustedSignerDoesNotExist "TrustedSignerDoesNotExist" +// One or more of your trusted signers don't exist. // -// * ErrCodeInvalidViewerCertificate "InvalidViewerCertificate" -// A viewer certificate specified is not valid. +// - ErrCodeInvalidViewerCertificate "InvalidViewerCertificate" +// A viewer certificate specified is not valid. // -// * ErrCodeInvalidMinimumProtocolVersion "InvalidMinimumProtocolVersion" -// The minimum protocol version specified is not valid. +// - ErrCodeInvalidMinimumProtocolVersion "InvalidMinimumProtocolVersion" +// The minimum protocol version specified is not valid. // -// * ErrCodeMissingBody "MissingBody" -// This operation requires a body. Ensure that the body is present and the Content-Type -// header is set. +// - ErrCodeMissingBody "MissingBody" +// This operation requires a body. Ensure that the body is present and the Content-Type +// header is set. // -// * ErrCodeTooManyDistributionCNAMEs "TooManyDistributionCNAMEs" -// Your request contains more CNAMEs than are allowed per distribution. +// - ErrCodeTooManyDistributionCNAMEs "TooManyDistributionCNAMEs" +// Your request contains more CNAMEs than are allowed per distribution. // -// * ErrCodeTooManyDistributions "TooManyDistributions" -// Processing your request would cause you to exceed the maximum number of distributions -// allowed. +// - ErrCodeTooManyDistributions "TooManyDistributions" +// Processing your request would cause you to exceed the maximum number of distributions +// allowed. // -// * ErrCodeInvalidDefaultRootObject "InvalidDefaultRootObject" -// The default root object file name is too big or contains an invalid character. +// - ErrCodeInvalidDefaultRootObject "InvalidDefaultRootObject" +// The default root object file name is too big or contains an invalid character. // -// * ErrCodeInvalidRelativePath "InvalidRelativePath" -// The relative path is too big, is not URL-encoded, or does not begin with -// a slash (/). +// - ErrCodeInvalidRelativePath "InvalidRelativePath" +// The relative path is too big, is not URL-encoded, or does not begin with +// a slash (/). // -// * ErrCodeInvalidErrorCode "InvalidErrorCode" -// An invalid error code was specified. +// - ErrCodeInvalidErrorCode "InvalidErrorCode" +// An invalid error code was specified. // -// * ErrCodeInvalidResponseCode "InvalidResponseCode" -// A response code is not valid. +// - ErrCodeInvalidResponseCode "InvalidResponseCode" +// A response code is not valid. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeInvalidRequiredProtocol "InvalidRequiredProtocol" -// This operation requires the HTTPS protocol. Ensure that you specify the HTTPS -// protocol in your request, or omit the RequiredProtocols element from your -// distribution configuration. +// - ErrCodeInvalidRequiredProtocol "InvalidRequiredProtocol" +// This operation requires the HTTPS protocol. Ensure that you specify the HTTPS +// protocol in your request, or omit the RequiredProtocols element from your +// distribution configuration. // -// * ErrCodeNoSuchOrigin "NoSuchOrigin" -// No origin exists with the specified Origin Id. +// - ErrCodeNoSuchOrigin "NoSuchOrigin" +// No origin exists with the specified Origin Id. // -// * ErrCodeTooManyOrigins "TooManyOrigins" -// You cannot create more origins for the distribution. +// - ErrCodeTooManyOrigins "TooManyOrigins" +// You cannot create more origins for the distribution. // -// * ErrCodeTooManyOriginGroupsPerDistribution "TooManyOriginGroupsPerDistribution" -// Processing your request would cause you to exceed the maximum number of origin -// groups allowed. +// - ErrCodeTooManyOriginGroupsPerDistribution "TooManyOriginGroupsPerDistribution" +// Processing your request would cause you to exceed the maximum number of origin +// groups allowed. // -// * ErrCodeTooManyCacheBehaviors "TooManyCacheBehaviors" -// You cannot create more cache behaviors for the distribution. +// - ErrCodeTooManyCacheBehaviors "TooManyCacheBehaviors" +// You cannot create more cache behaviors for the distribution. // -// * ErrCodeTooManyCookieNamesInWhiteList "TooManyCookieNamesInWhiteList" -// Your request contains more cookie names in the whitelist than are allowed -// per cache behavior. +// - ErrCodeTooManyCookieNamesInWhiteList "TooManyCookieNamesInWhiteList" +// Your request contains more cookie names in the whitelist than are allowed +// per cache behavior. // -// * ErrCodeInvalidForwardCookies "InvalidForwardCookies" -// Your request contains forward cookies option which doesn't match with the -// expectation for the whitelisted list of cookie names. Either list of cookie -// names has been specified when not allowed or list of cookie names is missing -// when expected. +// - ErrCodeInvalidForwardCookies "InvalidForwardCookies" +// Your request contains forward cookies option which doesn't match with the +// expectation for the whitelisted list of cookie names. Either list of cookie +// names has been specified when not allowed or list of cookie names is missing +// when expected. // -// * ErrCodeTooManyHeadersInForwardedValues "TooManyHeadersInForwardedValues" -// Your request contains too many headers in forwarded values. +// - ErrCodeTooManyHeadersInForwardedValues "TooManyHeadersInForwardedValues" +// Your request contains too many headers in forwarded values. // -// * ErrCodeInvalidHeadersForS3Origin "InvalidHeadersForS3Origin" -// The headers specified are not valid for an Amazon S3 origin. +// - ErrCodeInvalidHeadersForS3Origin "InvalidHeadersForS3Origin" +// The headers specified are not valid for an Amazon S3 origin. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // -// * ErrCodeTooManyCertificates "TooManyCertificates" -// You cannot create anymore custom SSL/TLS certificates. +// - ErrCodeTooManyCertificates "TooManyCertificates" +// You cannot create anymore custom SSL/TLS certificates. // -// * ErrCodeInvalidLocationCode "InvalidLocationCode" -// The location code specified is not valid. +// - ErrCodeInvalidLocationCode "InvalidLocationCode" +// The location code specified is not valid. // -// * ErrCodeInvalidGeoRestrictionParameter "InvalidGeoRestrictionParameter" -// The specified geo restriction parameter is not valid. +// - ErrCodeInvalidGeoRestrictionParameter "InvalidGeoRestrictionParameter" +// The specified geo restriction parameter is not valid. // -// * ErrCodeInvalidProtocolSettings "InvalidProtocolSettings" -// You cannot specify SSLv3 as the minimum protocol version if you only want -// to support only clients that support Server Name Indication (SNI). +// - ErrCodeInvalidProtocolSettings "InvalidProtocolSettings" +// You cannot specify SSLv3 as the minimum protocol version if you only want +// to support only clients that support Server Name Indication (SNI). // -// * ErrCodeInvalidTTLOrder "InvalidTTLOrder" -// The TTL order specified is not valid. +// - ErrCodeInvalidTTLOrder "InvalidTTLOrder" +// The TTL order specified is not valid. // -// * ErrCodeInvalidWebACLId "InvalidWebACLId" -// A web ACL ID specified is not valid. To specify a web ACL created using the -// latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. -// To specify a web ACL created using WAF Classic, use the ACL ID, for example -// 473e64fd-f30b-4765-81a0-62ad96dd167a. +// - ErrCodeInvalidWebACLId "InvalidWebACLId" +// A web ACL ID specified is not valid. To specify a web ACL created using the +// latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. +// To specify a web ACL created using WAF Classic, use the ACL ID, for example +// 473e64fd-f30b-4765-81a0-62ad96dd167a. // -// * ErrCodeTooManyOriginCustomHeaders "TooManyOriginCustomHeaders" -// Your request contains too many origin custom headers. +// - ErrCodeTooManyOriginCustomHeaders "TooManyOriginCustomHeaders" +// Your request contains too many origin custom headers. // -// * ErrCodeTooManyQueryStringParameters "TooManyQueryStringParameters" -// Your request contains too many query string parameters. +// - ErrCodeTooManyQueryStringParameters "TooManyQueryStringParameters" +// Your request contains too many query string parameters. // -// * ErrCodeInvalidQueryStringParameters "InvalidQueryStringParameters" -// The query string parameters specified are not valid. +// - ErrCodeInvalidQueryStringParameters "InvalidQueryStringParameters" +// The query string parameters specified are not valid. // -// * ErrCodeTooManyDistributionsWithLambdaAssociations "TooManyDistributionsWithLambdaAssociations" -// Processing your request would cause the maximum number of distributions with -// Lambda@Edge function associations per owner to be exceeded. +// - ErrCodeTooManyDistributionsWithLambdaAssociations "TooManyDistributionsWithLambdaAssociations" +// Processing your request would cause the maximum number of distributions with +// Lambda@Edge function associations per owner to be exceeded. // -// * ErrCodeTooManyDistributionsWithSingleFunctionARN "TooManyDistributionsWithSingleFunctionARN" -// The maximum number of distributions have been associated with the specified -// Lambda@Edge function. +// - ErrCodeTooManyDistributionsWithSingleFunctionARN "TooManyDistributionsWithSingleFunctionARN" +// The maximum number of distributions have been associated with the specified +// Lambda@Edge function. // -// * ErrCodeTooManyLambdaFunctionAssociations "TooManyLambdaFunctionAssociations" -// Your request contains more Lambda@Edge function associations than are allowed -// per distribution. +// - ErrCodeTooManyLambdaFunctionAssociations "TooManyLambdaFunctionAssociations" +// Your request contains more Lambda@Edge function associations than are allowed +// per distribution. // -// * ErrCodeInvalidLambdaFunctionAssociation "InvalidLambdaFunctionAssociation" -// The specified Lambda@Edge function association is invalid. +// - ErrCodeInvalidLambdaFunctionAssociation "InvalidLambdaFunctionAssociation" +// The specified Lambda@Edge function association is invalid. // -// * ErrCodeTooManyDistributionsWithFunctionAssociations "TooManyDistributionsWithFunctionAssociations" -// You have reached the maximum number of distributions that are associated -// with a CloudFront function. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyDistributionsWithFunctionAssociations "TooManyDistributionsWithFunctionAssociations" +// You have reached the maximum number of distributions that are associated +// with a CloudFront function. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyFunctionAssociations "TooManyFunctionAssociations" -// You have reached the maximum number of CloudFront function associations for -// this distribution. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyFunctionAssociations "TooManyFunctionAssociations" +// You have reached the maximum number of CloudFront function associations for +// this distribution. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeInvalidFunctionAssociation "InvalidFunctionAssociation" -// A CloudFront function association is invalid. +// - ErrCodeInvalidFunctionAssociation "InvalidFunctionAssociation" +// A CloudFront function association is invalid. // -// * ErrCodeInvalidOriginReadTimeout "InvalidOriginReadTimeout" -// The read timeout specified for the origin is not valid. +// - ErrCodeInvalidOriginReadTimeout "InvalidOriginReadTimeout" +// The read timeout specified for the origin is not valid. // -// * ErrCodeInvalidOriginKeepaliveTimeout "InvalidOriginKeepaliveTimeout" -// The keep alive timeout specified for the origin is not valid. +// - ErrCodeInvalidOriginKeepaliveTimeout "InvalidOriginKeepaliveTimeout" +// The keep alive timeout specified for the origin is not valid. // -// * ErrCodeNoSuchFieldLevelEncryptionConfig "NoSuchFieldLevelEncryptionConfig" -// The specified configuration for field-level encryption doesn't exist. +// - ErrCodeNoSuchFieldLevelEncryptionConfig "NoSuchFieldLevelEncryptionConfig" +// The specified configuration for field-level encryption doesn't exist. // -// * ErrCodeIllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" -// The specified configuration for field-level encryption can't be associated -// with the specified cache behavior. +// - ErrCodeIllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" +// The specified configuration for field-level encryption can't be associated +// with the specified cache behavior. // -// * ErrCodeTooManyDistributionsAssociatedToFieldLevelEncryptionConfig "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig" -// The maximum number of distributions have been associated with the specified -// configuration for field-level encryption. +// - ErrCodeTooManyDistributionsAssociatedToFieldLevelEncryptionConfig "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig" +// The maximum number of distributions have been associated with the specified +// configuration for field-level encryption. // -// * ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" -// The cache policy does not exist. +// - ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" +// The cache policy does not exist. // -// * ErrCodeTooManyDistributionsAssociatedToCachePolicy "TooManyDistributionsAssociatedToCachePolicy" -// The maximum number of distributions have been associated with the specified -// cache policy. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyDistributionsAssociatedToCachePolicy "TooManyDistributionsAssociatedToCachePolicy" +// The maximum number of distributions have been associated with the specified +// cache policy. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" -// The response headers policy does not exist. +// - ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" +// The response headers policy does not exist. // -// * ErrCodeTooManyDistributionsAssociatedToResponseHeadersPolicy "TooManyDistributionsAssociatedToResponseHeadersPolicy" -// The maximum number of distributions have been associated with the specified -// response headers policy. +// - ErrCodeTooManyDistributionsAssociatedToResponseHeadersPolicy "TooManyDistributionsAssociatedToResponseHeadersPolicy" +// The maximum number of distributions have been associated with the specified +// response headers policy. // -// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" -// The origin request policy does not exist. +// - ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" +// The origin request policy does not exist. // -// * ErrCodeTooManyDistributionsAssociatedToOriginRequestPolicy "TooManyDistributionsAssociatedToOriginRequestPolicy" -// The maximum number of distributions have been associated with the specified -// origin request policy. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyDistributionsAssociatedToOriginRequestPolicy "TooManyDistributionsAssociatedToOriginRequestPolicy" +// The maximum number of distributions have been associated with the specified +// origin request policy. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyDistributionsAssociatedToKeyGroup "TooManyDistributionsAssociatedToKeyGroup" -// The number of distributions that reference this key group is more than the -// maximum allowed. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyDistributionsAssociatedToKeyGroup "TooManyDistributionsAssociatedToKeyGroup" +// The number of distributions that reference this key group is more than the +// maximum allowed. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyKeyGroupsAssociatedToDistribution "TooManyKeyGroupsAssociatedToDistribution" -// The number of key groups referenced by this distribution is more than the -// maximum allowed. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyKeyGroupsAssociatedToDistribution "TooManyKeyGroupsAssociatedToDistribution" +// The number of key groups referenced by this distribution is more than the +// maximum allowed. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTrustedKeyGroupDoesNotExist "TrustedKeyGroupDoesNotExist" -// The specified key group does not exist. +// - ErrCodeTrustedKeyGroupDoesNotExist "TrustedKeyGroupDoesNotExist" +// The specified key group does not exist. // -// * ErrCodeNoSuchRealtimeLogConfig "NoSuchRealtimeLogConfig" -// The real-time log configuration does not exist. +// - ErrCodeNoSuchRealtimeLogConfig "NoSuchRealtimeLogConfig" +// The real-time log configuration does not exist. // -// * ErrCodeRealtimeLogConfigOwnerMismatch "RealtimeLogConfigOwnerMismatch" -// The specified real-time log configuration belongs to a different Amazon Web -// Services account. +// - ErrCodeRealtimeLogConfigOwnerMismatch "RealtimeLogConfigOwnerMismatch" +// The specified real-time log configuration belongs to a different Amazon Web +// Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistribution func (c *CloudFront) CreateDistribution(input *CreateDistributionInput) (*CreateDistributionOutput, error) { @@ -669,14 +669,13 @@ const opCreateDistributionWithTags = "CreateDistributionWithTags2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDistributionWithTagsRequest method. +// req, resp := client.CreateDistributionWithTagsRequest(params) // -// // Example sending a request using the CreateDistributionWithTagsRequest method. -// req, resp := client.CreateDistributionWithTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistributionWithTags func (c *CloudFront) CreateDistributionWithTagsRequest(input *CreateDistributionWithTagsInput) (req *request.Request, output *CreateDistributionWithTagsOutput) { @@ -707,223 +706,224 @@ func (c *CloudFront) CreateDistributionWithTagsRequest(input *CreateDistribution // API operation CreateDistributionWithTags for usage and error information. // // Returned Error Codes: -// * ErrCodeCNAMEAlreadyExists "CNAMEAlreadyExists" -// The CNAME specified is already defined for CloudFront. // -// * ErrCodeDistributionAlreadyExists "DistributionAlreadyExists" -// The caller reference you attempted to create the distribution with is associated -// with another distribution. +// - ErrCodeCNAMEAlreadyExists "CNAMEAlreadyExists" +// The CNAME specified is already defined for CloudFront. // -// * ErrCodeInvalidOrigin "InvalidOrigin" -// The Amazon S3 origin server specified does not refer to a valid Amazon S3 -// bucket. +// - ErrCodeDistributionAlreadyExists "DistributionAlreadyExists" +// The caller reference you attempted to create the distribution with is associated +// with another distribution. // -// * ErrCodeInvalidOriginAccessIdentity "InvalidOriginAccessIdentity" -// The origin access identity is not valid or doesn't exist. +// - ErrCodeInvalidOrigin "InvalidOrigin" +// The Amazon S3 origin server specified does not refer to a valid Amazon S3 +// bucket. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeInvalidOriginAccessIdentity "InvalidOriginAccessIdentity" +// The origin access identity is not valid or doesn't exist. // -// * ErrCodeTooManyTrustedSigners "TooManyTrustedSigners" -// Your request contains more trusted signers than are allowed per distribution. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeTrustedSignerDoesNotExist "TrustedSignerDoesNotExist" -// One or more of your trusted signers don't exist. +// - ErrCodeTooManyTrustedSigners "TooManyTrustedSigners" +// Your request contains more trusted signers than are allowed per distribution. // -// * ErrCodeInvalidViewerCertificate "InvalidViewerCertificate" -// A viewer certificate specified is not valid. +// - ErrCodeTrustedSignerDoesNotExist "TrustedSignerDoesNotExist" +// One or more of your trusted signers don't exist. // -// * ErrCodeInvalidMinimumProtocolVersion "InvalidMinimumProtocolVersion" -// The minimum protocol version specified is not valid. +// - ErrCodeInvalidViewerCertificate "InvalidViewerCertificate" +// A viewer certificate specified is not valid. // -// * ErrCodeMissingBody "MissingBody" -// This operation requires a body. Ensure that the body is present and the Content-Type -// header is set. +// - ErrCodeInvalidMinimumProtocolVersion "InvalidMinimumProtocolVersion" +// The minimum protocol version specified is not valid. // -// * ErrCodeTooManyDistributionCNAMEs "TooManyDistributionCNAMEs" -// Your request contains more CNAMEs than are allowed per distribution. +// - ErrCodeMissingBody "MissingBody" +// This operation requires a body. Ensure that the body is present and the Content-Type +// header is set. // -// * ErrCodeTooManyDistributions "TooManyDistributions" -// Processing your request would cause you to exceed the maximum number of distributions -// allowed. +// - ErrCodeTooManyDistributionCNAMEs "TooManyDistributionCNAMEs" +// Your request contains more CNAMEs than are allowed per distribution. // -// * ErrCodeInvalidDefaultRootObject "InvalidDefaultRootObject" -// The default root object file name is too big or contains an invalid character. +// - ErrCodeTooManyDistributions "TooManyDistributions" +// Processing your request would cause you to exceed the maximum number of distributions +// allowed. // -// * ErrCodeInvalidRelativePath "InvalidRelativePath" -// The relative path is too big, is not URL-encoded, or does not begin with -// a slash (/). +// - ErrCodeInvalidDefaultRootObject "InvalidDefaultRootObject" +// The default root object file name is too big or contains an invalid character. // -// * ErrCodeInvalidErrorCode "InvalidErrorCode" -// An invalid error code was specified. +// - ErrCodeInvalidRelativePath "InvalidRelativePath" +// The relative path is too big, is not URL-encoded, or does not begin with +// a slash (/). // -// * ErrCodeInvalidResponseCode "InvalidResponseCode" -// A response code is not valid. +// - ErrCodeInvalidErrorCode "InvalidErrorCode" +// An invalid error code was specified. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidResponseCode "InvalidResponseCode" +// A response code is not valid. // -// * ErrCodeInvalidRequiredProtocol "InvalidRequiredProtocol" -// This operation requires the HTTPS protocol. Ensure that you specify the HTTPS -// protocol in your request, or omit the RequiredProtocols element from your -// distribution configuration. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeNoSuchOrigin "NoSuchOrigin" -// No origin exists with the specified Origin Id. +// - ErrCodeInvalidRequiredProtocol "InvalidRequiredProtocol" +// This operation requires the HTTPS protocol. Ensure that you specify the HTTPS +// protocol in your request, or omit the RequiredProtocols element from your +// distribution configuration. // -// * ErrCodeTooManyOrigins "TooManyOrigins" -// You cannot create more origins for the distribution. +// - ErrCodeNoSuchOrigin "NoSuchOrigin" +// No origin exists with the specified Origin Id. // -// * ErrCodeTooManyOriginGroupsPerDistribution "TooManyOriginGroupsPerDistribution" -// Processing your request would cause you to exceed the maximum number of origin -// groups allowed. +// - ErrCodeTooManyOrigins "TooManyOrigins" +// You cannot create more origins for the distribution. // -// * ErrCodeTooManyCacheBehaviors "TooManyCacheBehaviors" -// You cannot create more cache behaviors for the distribution. +// - ErrCodeTooManyOriginGroupsPerDistribution "TooManyOriginGroupsPerDistribution" +// Processing your request would cause you to exceed the maximum number of origin +// groups allowed. // -// * ErrCodeTooManyCookieNamesInWhiteList "TooManyCookieNamesInWhiteList" -// Your request contains more cookie names in the whitelist than are allowed -// per cache behavior. +// - ErrCodeTooManyCacheBehaviors "TooManyCacheBehaviors" +// You cannot create more cache behaviors for the distribution. // -// * ErrCodeInvalidForwardCookies "InvalidForwardCookies" -// Your request contains forward cookies option which doesn't match with the -// expectation for the whitelisted list of cookie names. Either list of cookie -// names has been specified when not allowed or list of cookie names is missing -// when expected. +// - ErrCodeTooManyCookieNamesInWhiteList "TooManyCookieNamesInWhiteList" +// Your request contains more cookie names in the whitelist than are allowed +// per cache behavior. // -// * ErrCodeTooManyHeadersInForwardedValues "TooManyHeadersInForwardedValues" -// Your request contains too many headers in forwarded values. +// - ErrCodeInvalidForwardCookies "InvalidForwardCookies" +// Your request contains forward cookies option which doesn't match with the +// expectation for the whitelisted list of cookie names. Either list of cookie +// names has been specified when not allowed or list of cookie names is missing +// when expected. // -// * ErrCodeInvalidHeadersForS3Origin "InvalidHeadersForS3Origin" -// The headers specified are not valid for an Amazon S3 origin. +// - ErrCodeTooManyHeadersInForwardedValues "TooManyHeadersInForwardedValues" +// Your request contains too many headers in forwarded values. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeInvalidHeadersForS3Origin "InvalidHeadersForS3Origin" +// The headers specified are not valid for an Amazon S3 origin. // -// * ErrCodeTooManyCertificates "TooManyCertificates" -// You cannot create anymore custom SSL/TLS certificates. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // -// * ErrCodeInvalidLocationCode "InvalidLocationCode" -// The location code specified is not valid. +// - ErrCodeTooManyCertificates "TooManyCertificates" +// You cannot create anymore custom SSL/TLS certificates. // -// * ErrCodeInvalidGeoRestrictionParameter "InvalidGeoRestrictionParameter" -// The specified geo restriction parameter is not valid. +// - ErrCodeInvalidLocationCode "InvalidLocationCode" +// The location code specified is not valid. // -// * ErrCodeInvalidProtocolSettings "InvalidProtocolSettings" -// You cannot specify SSLv3 as the minimum protocol version if you only want -// to support only clients that support Server Name Indication (SNI). +// - ErrCodeInvalidGeoRestrictionParameter "InvalidGeoRestrictionParameter" +// The specified geo restriction parameter is not valid. // -// * ErrCodeInvalidTTLOrder "InvalidTTLOrder" -// The TTL order specified is not valid. +// - ErrCodeInvalidProtocolSettings "InvalidProtocolSettings" +// You cannot specify SSLv3 as the minimum protocol version if you only want +// to support only clients that support Server Name Indication (SNI). // -// * ErrCodeInvalidWebACLId "InvalidWebACLId" -// A web ACL ID specified is not valid. To specify a web ACL created using the -// latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. -// To specify a web ACL created using WAF Classic, use the ACL ID, for example -// 473e64fd-f30b-4765-81a0-62ad96dd167a. +// - ErrCodeInvalidTTLOrder "InvalidTTLOrder" +// The TTL order specified is not valid. // -// * ErrCodeTooManyOriginCustomHeaders "TooManyOriginCustomHeaders" -// Your request contains too many origin custom headers. +// - ErrCodeInvalidWebACLId "InvalidWebACLId" +// A web ACL ID specified is not valid. To specify a web ACL created using the +// latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. +// To specify a web ACL created using WAF Classic, use the ACL ID, for example +// 473e64fd-f30b-4765-81a0-62ad96dd167a. // -// * ErrCodeInvalidTagging "InvalidTagging" -// The tagging specified is not valid. +// - ErrCodeTooManyOriginCustomHeaders "TooManyOriginCustomHeaders" +// Your request contains too many origin custom headers. // -// * ErrCodeTooManyQueryStringParameters "TooManyQueryStringParameters" -// Your request contains too many query string parameters. +// - ErrCodeInvalidTagging "InvalidTagging" +// The tagging specified is not valid. // -// * ErrCodeInvalidQueryStringParameters "InvalidQueryStringParameters" -// The query string parameters specified are not valid. +// - ErrCodeTooManyQueryStringParameters "TooManyQueryStringParameters" +// Your request contains too many query string parameters. // -// * ErrCodeTooManyDistributionsWithLambdaAssociations "TooManyDistributionsWithLambdaAssociations" -// Processing your request would cause the maximum number of distributions with -// Lambda@Edge function associations per owner to be exceeded. +// - ErrCodeInvalidQueryStringParameters "InvalidQueryStringParameters" +// The query string parameters specified are not valid. // -// * ErrCodeTooManyDistributionsWithSingleFunctionARN "TooManyDistributionsWithSingleFunctionARN" -// The maximum number of distributions have been associated with the specified -// Lambda@Edge function. +// - ErrCodeTooManyDistributionsWithLambdaAssociations "TooManyDistributionsWithLambdaAssociations" +// Processing your request would cause the maximum number of distributions with +// Lambda@Edge function associations per owner to be exceeded. // -// * ErrCodeTooManyLambdaFunctionAssociations "TooManyLambdaFunctionAssociations" -// Your request contains more Lambda@Edge function associations than are allowed -// per distribution. +// - ErrCodeTooManyDistributionsWithSingleFunctionARN "TooManyDistributionsWithSingleFunctionARN" +// The maximum number of distributions have been associated with the specified +// Lambda@Edge function. // -// * ErrCodeInvalidLambdaFunctionAssociation "InvalidLambdaFunctionAssociation" -// The specified Lambda@Edge function association is invalid. +// - ErrCodeTooManyLambdaFunctionAssociations "TooManyLambdaFunctionAssociations" +// Your request contains more Lambda@Edge function associations than are allowed +// per distribution. // -// * ErrCodeTooManyDistributionsWithFunctionAssociations "TooManyDistributionsWithFunctionAssociations" -// You have reached the maximum number of distributions that are associated -// with a CloudFront function. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeInvalidLambdaFunctionAssociation "InvalidLambdaFunctionAssociation" +// The specified Lambda@Edge function association is invalid. // -// * ErrCodeTooManyFunctionAssociations "TooManyFunctionAssociations" -// You have reached the maximum number of CloudFront function associations for -// this distribution. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyDistributionsWithFunctionAssociations "TooManyDistributionsWithFunctionAssociations" +// You have reached the maximum number of distributions that are associated +// with a CloudFront function. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeInvalidFunctionAssociation "InvalidFunctionAssociation" -// A CloudFront function association is invalid. +// - ErrCodeTooManyFunctionAssociations "TooManyFunctionAssociations" +// You have reached the maximum number of CloudFront function associations for +// this distribution. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeInvalidOriginReadTimeout "InvalidOriginReadTimeout" -// The read timeout specified for the origin is not valid. +// - ErrCodeInvalidFunctionAssociation "InvalidFunctionAssociation" +// A CloudFront function association is invalid. // -// * ErrCodeInvalidOriginKeepaliveTimeout "InvalidOriginKeepaliveTimeout" -// The keep alive timeout specified for the origin is not valid. +// - ErrCodeInvalidOriginReadTimeout "InvalidOriginReadTimeout" +// The read timeout specified for the origin is not valid. // -// * ErrCodeNoSuchFieldLevelEncryptionConfig "NoSuchFieldLevelEncryptionConfig" -// The specified configuration for field-level encryption doesn't exist. +// - ErrCodeInvalidOriginKeepaliveTimeout "InvalidOriginKeepaliveTimeout" +// The keep alive timeout specified for the origin is not valid. // -// * ErrCodeIllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" -// The specified configuration for field-level encryption can't be associated -// with the specified cache behavior. +// - ErrCodeNoSuchFieldLevelEncryptionConfig "NoSuchFieldLevelEncryptionConfig" +// The specified configuration for field-level encryption doesn't exist. // -// * ErrCodeTooManyDistributionsAssociatedToFieldLevelEncryptionConfig "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig" -// The maximum number of distributions have been associated with the specified -// configuration for field-level encryption. +// - ErrCodeIllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" +// The specified configuration for field-level encryption can't be associated +// with the specified cache behavior. // -// * ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" -// The cache policy does not exist. +// - ErrCodeTooManyDistributionsAssociatedToFieldLevelEncryptionConfig "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig" +// The maximum number of distributions have been associated with the specified +// configuration for field-level encryption. // -// * ErrCodeTooManyDistributionsAssociatedToCachePolicy "TooManyDistributionsAssociatedToCachePolicy" -// The maximum number of distributions have been associated with the specified -// cache policy. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" +// The cache policy does not exist. // -// * ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" -// The response headers policy does not exist. +// - ErrCodeTooManyDistributionsAssociatedToCachePolicy "TooManyDistributionsAssociatedToCachePolicy" +// The maximum number of distributions have been associated with the specified +// cache policy. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyDistributionsAssociatedToResponseHeadersPolicy "TooManyDistributionsAssociatedToResponseHeadersPolicy" -// The maximum number of distributions have been associated with the specified -// response headers policy. +// - ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" +// The response headers policy does not exist. // -// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyDistributionsAssociatedToResponseHeadersPolicy "TooManyDistributionsAssociatedToResponseHeadersPolicy" +// The maximum number of distributions have been associated with the specified +// response headers policy. // -// * ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" -// The origin request policy does not exist. +// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyDistributionsAssociatedToOriginRequestPolicy "TooManyDistributionsAssociatedToOriginRequestPolicy" -// The maximum number of distributions have been associated with the specified -// origin request policy. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" +// The origin request policy does not exist. // -// * ErrCodeTooManyDistributionsAssociatedToKeyGroup "TooManyDistributionsAssociatedToKeyGroup" -// The number of distributions that reference this key group is more than the -// maximum allowed. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyDistributionsAssociatedToOriginRequestPolicy "TooManyDistributionsAssociatedToOriginRequestPolicy" +// The maximum number of distributions have been associated with the specified +// origin request policy. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyKeyGroupsAssociatedToDistribution "TooManyKeyGroupsAssociatedToDistribution" -// The number of key groups referenced by this distribution is more than the -// maximum allowed. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyDistributionsAssociatedToKeyGroup "TooManyDistributionsAssociatedToKeyGroup" +// The number of distributions that reference this key group is more than the +// maximum allowed. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTrustedKeyGroupDoesNotExist "TrustedKeyGroupDoesNotExist" -// The specified key group does not exist. +// - ErrCodeTooManyKeyGroupsAssociatedToDistribution "TooManyKeyGroupsAssociatedToDistribution" +// The number of key groups referenced by this distribution is more than the +// maximum allowed. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeNoSuchRealtimeLogConfig "NoSuchRealtimeLogConfig" -// The real-time log configuration does not exist. +// - ErrCodeTrustedKeyGroupDoesNotExist "TrustedKeyGroupDoesNotExist" +// The specified key group does not exist. // -// * ErrCodeRealtimeLogConfigOwnerMismatch "RealtimeLogConfigOwnerMismatch" -// The specified real-time log configuration belongs to a different Amazon Web -// Services account. +// - ErrCodeNoSuchRealtimeLogConfig "NoSuchRealtimeLogConfig" +// The real-time log configuration does not exist. +// +// - ErrCodeRealtimeLogConfigOwnerMismatch "RealtimeLogConfigOwnerMismatch" +// The specified real-time log configuration belongs to a different Amazon Web +// Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateDistributionWithTags func (c *CloudFront) CreateDistributionWithTags(input *CreateDistributionWithTagsInput) (*CreateDistributionWithTagsOutput, error) { @@ -963,14 +963,13 @@ const opCreateFieldLevelEncryptionConfig = "CreateFieldLevelEncryptionConfig2020 // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFieldLevelEncryptionConfigRequest method. +// req, resp := client.CreateFieldLevelEncryptionConfigRequest(params) // -// // Example sending a request using the CreateFieldLevelEncryptionConfigRequest method. -// req, resp := client.CreateFieldLevelEncryptionConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig func (c *CloudFront) CreateFieldLevelEncryptionConfigRequest(input *CreateFieldLevelEncryptionConfigInput) (req *request.Request, output *CreateFieldLevelEncryptionConfigOutput) { @@ -1001,32 +1000,33 @@ func (c *CloudFront) CreateFieldLevelEncryptionConfigRequest(input *CreateFieldL // API operation CreateFieldLevelEncryptionConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. +// +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeNoSuchFieldLevelEncryptionProfile "NoSuchFieldLevelEncryptionProfile" -// The specified profile for field-level encryption doesn't exist. +// - ErrCodeNoSuchFieldLevelEncryptionProfile "NoSuchFieldLevelEncryptionProfile" +// The specified profile for field-level encryption doesn't exist. // -// * ErrCodeFieldLevelEncryptionConfigAlreadyExists "FieldLevelEncryptionConfigAlreadyExists" -// The specified configuration for field-level encryption already exists. +// - ErrCodeFieldLevelEncryptionConfigAlreadyExists "FieldLevelEncryptionConfigAlreadyExists" +// The specified configuration for field-level encryption already exists. // -// * ErrCodeTooManyFieldLevelEncryptionConfigs "TooManyFieldLevelEncryptionConfigs" -// The maximum number of configurations for field-level encryption have been -// created. +// - ErrCodeTooManyFieldLevelEncryptionConfigs "TooManyFieldLevelEncryptionConfigs" +// The maximum number of configurations for field-level encryption have been +// created. // -// * ErrCodeTooManyFieldLevelEncryptionQueryArgProfiles "TooManyFieldLevelEncryptionQueryArgProfiles" -// The maximum number of query arg profiles for field-level encryption have -// been created. +// - ErrCodeTooManyFieldLevelEncryptionQueryArgProfiles "TooManyFieldLevelEncryptionQueryArgProfiles" +// The maximum number of query arg profiles for field-level encryption have +// been created. // -// * ErrCodeTooManyFieldLevelEncryptionContentTypeProfiles "TooManyFieldLevelEncryptionContentTypeProfiles" -// The maximum number of content type profiles for field-level encryption have -// been created. +// - ErrCodeTooManyFieldLevelEncryptionContentTypeProfiles "TooManyFieldLevelEncryptionContentTypeProfiles" +// The maximum number of content type profiles for field-level encryption have +// been created. // -// * ErrCodeQueryArgProfileEmpty "QueryArgProfileEmpty" -// No profile specified for the field-level encryption query argument. +// - ErrCodeQueryArgProfileEmpty "QueryArgProfileEmpty" +// No profile specified for the field-level encryption query argument. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionConfig func (c *CloudFront) CreateFieldLevelEncryptionConfig(input *CreateFieldLevelEncryptionConfigInput) (*CreateFieldLevelEncryptionConfigOutput, error) { @@ -1066,14 +1066,13 @@ const opCreateFieldLevelEncryptionProfile = "CreateFieldLevelEncryptionProfile20 // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFieldLevelEncryptionProfileRequest method. +// req, resp := client.CreateFieldLevelEncryptionProfileRequest(params) // -// // Example sending a request using the CreateFieldLevelEncryptionProfileRequest method. -// req, resp := client.CreateFieldLevelEncryptionProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile func (c *CloudFront) CreateFieldLevelEncryptionProfileRequest(input *CreateFieldLevelEncryptionProfileInput) (req *request.Request, output *CreateFieldLevelEncryptionProfileOutput) { @@ -1104,31 +1103,32 @@ func (c *CloudFront) CreateFieldLevelEncryptionProfileRequest(input *CreateField // API operation CreateFieldLevelEncryptionProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. +// +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeNoSuchPublicKey "NoSuchPublicKey" -// The specified public key doesn't exist. +// - ErrCodeNoSuchPublicKey "NoSuchPublicKey" +// The specified public key doesn't exist. // -// * ErrCodeFieldLevelEncryptionProfileAlreadyExists "FieldLevelEncryptionProfileAlreadyExists" -// The specified profile for field-level encryption already exists. +// - ErrCodeFieldLevelEncryptionProfileAlreadyExists "FieldLevelEncryptionProfileAlreadyExists" +// The specified profile for field-level encryption already exists. // -// * ErrCodeFieldLevelEncryptionProfileSizeExceeded "FieldLevelEncryptionProfileSizeExceeded" -// The maximum size of a profile for field-level encryption was exceeded. +// - ErrCodeFieldLevelEncryptionProfileSizeExceeded "FieldLevelEncryptionProfileSizeExceeded" +// The maximum size of a profile for field-level encryption was exceeded. // -// * ErrCodeTooManyFieldLevelEncryptionProfiles "TooManyFieldLevelEncryptionProfiles" -// The maximum number of profiles for field-level encryption have been created. +// - ErrCodeTooManyFieldLevelEncryptionProfiles "TooManyFieldLevelEncryptionProfiles" +// The maximum number of profiles for field-level encryption have been created. // -// * ErrCodeTooManyFieldLevelEncryptionEncryptionEntities "TooManyFieldLevelEncryptionEncryptionEntities" -// The maximum number of encryption entities for field-level encryption have -// been created. +// - ErrCodeTooManyFieldLevelEncryptionEncryptionEntities "TooManyFieldLevelEncryptionEncryptionEntities" +// The maximum number of encryption entities for field-level encryption have +// been created. // -// * ErrCodeTooManyFieldLevelEncryptionFieldPatterns "TooManyFieldLevelEncryptionFieldPatterns" -// The maximum number of field patterns for field-level encryption have been -// created. +// - ErrCodeTooManyFieldLevelEncryptionFieldPatterns "TooManyFieldLevelEncryptionFieldPatterns" +// The maximum number of field patterns for field-level encryption have been +// created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFieldLevelEncryptionProfile func (c *CloudFront) CreateFieldLevelEncryptionProfile(input *CreateFieldLevelEncryptionProfileInput) (*CreateFieldLevelEncryptionProfileOutput, error) { @@ -1168,14 +1168,13 @@ const opCreateFunction = "CreateFunction2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFunctionRequest method. +// req, resp := client.CreateFunctionRequest(params) // -// // Example sending a request using the CreateFunctionRequest method. -// req, resp := client.CreateFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFunction func (c *CloudFront) CreateFunctionRequest(input *CreateFunctionInput) (req *request.Request, output *CreateFunctionOutput) { @@ -1218,25 +1217,26 @@ func (c *CloudFront) CreateFunctionRequest(input *CreateFunctionInput) (req *req // API operation CreateFunction for usage and error information. // // Returned Error Codes: -// * ErrCodeTooManyFunctions "TooManyFunctions" -// You have reached the maximum number of CloudFront functions for this Amazon -// Web Services account. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeFunctionAlreadyExists "FunctionAlreadyExists" -// A function with the same name already exists in this Amazon Web Services -// account. To create a function, you must provide a unique name. To update -// an existing function, use UpdateFunction. +// - ErrCodeTooManyFunctions "TooManyFunctions" +// You have reached the maximum number of CloudFront functions for this Amazon +// Web Services account. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeFunctionSizeLimitExceeded "FunctionSizeLimitExceeded" -// The function is too large. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeFunctionAlreadyExists "FunctionAlreadyExists" +// A function with the same name already exists in this Amazon Web Services +// account. To create a function, you must provide a unique name. To update +// an existing function, use UpdateFunction. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeFunctionSizeLimitExceeded "FunctionSizeLimitExceeded" +// The function is too large. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeUnsupportedOperation "UnsupportedOperation" -// This operation is not supported in this region. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. +// +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateFunction func (c *CloudFront) CreateFunction(input *CreateFunctionInput) (*CreateFunctionOutput, error) { @@ -1276,14 +1276,13 @@ const opCreateInvalidation = "CreateInvalidation2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInvalidationRequest method. +// req, resp := client.CreateInvalidationRequest(params) // -// // Example sending a request using the CreateInvalidationRequest method. -// req, resp := client.CreateInvalidationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateInvalidation func (c *CloudFront) CreateInvalidationRequest(input *CreateInvalidationInput) (req *request.Request, output *CreateInvalidationOutput) { @@ -1314,28 +1313,29 @@ func (c *CloudFront) CreateInvalidationRequest(input *CreateInvalidationInput) ( // API operation CreateInvalidation for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeMissingBody "MissingBody" -// This operation requires a body. Ensure that the body is present and the Content-Type -// header is set. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeMissingBody "MissingBody" +// This operation requires a body. Ensure that the body is present and the Content-Type +// header is set. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeNoSuchDistribution "NoSuchDistribution" -// The specified distribution does not exist. +// - ErrCodeNoSuchDistribution "NoSuchDistribution" +// The specified distribution does not exist. // -// * ErrCodeBatchTooLarge "BatchTooLarge" -// Invalidation batch specified is too large. +// - ErrCodeBatchTooLarge "BatchTooLarge" +// Invalidation batch specified is too large. // -// * ErrCodeTooManyInvalidationsInProgress "TooManyInvalidationsInProgress" -// You have exceeded the maximum number of allowable InProgress invalidation -// batch requests, or invalidation objects. +// - ErrCodeTooManyInvalidationsInProgress "TooManyInvalidationsInProgress" +// You have exceeded the maximum number of allowable InProgress invalidation +// batch requests, or invalidation objects. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateInvalidation func (c *CloudFront) CreateInvalidation(input *CreateInvalidationInput) (*CreateInvalidationOutput, error) { @@ -1375,14 +1375,13 @@ const opCreateKeyGroup = "CreateKeyGroup2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateKeyGroupRequest method. +// req, resp := client.CreateKeyGroupRequest(params) // -// // Example sending a request using the CreateKeyGroupRequest method. -// req, resp := client.CreateKeyGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateKeyGroup func (c *CloudFront) CreateKeyGroupRequest(input *CreateKeyGroupInput) (req *request.Request, output *CreateKeyGroupOutput) { @@ -1424,22 +1423,23 @@ func (c *CloudFront) CreateKeyGroupRequest(input *CreateKeyGroupInput) (req *req // API operation CreateKeyGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. // -// * ErrCodeKeyGroupAlreadyExists "KeyGroupAlreadyExists" -// A key group with this name already exists. You must provide a unique name. -// To modify an existing key group, use UpdateKeyGroup. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. +// +// - ErrCodeKeyGroupAlreadyExists "KeyGroupAlreadyExists" +// A key group with this name already exists. You must provide a unique name. +// To modify an existing key group, use UpdateKeyGroup. // -// * ErrCodeTooManyKeyGroups "TooManyKeyGroups" -// You have reached the maximum number of key groups for this Amazon Web Services -// account. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyKeyGroups "TooManyKeyGroups" +// You have reached the maximum number of key groups for this Amazon Web Services +// account. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyPublicKeysInKeyGroup "TooManyPublicKeysInKeyGroup" -// The number of public keys in this key group is more than the maximum allowed. -// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyPublicKeysInKeyGroup "TooManyPublicKeysInKeyGroup" +// The number of public keys in this key group is more than the maximum allowed. +// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateKeyGroup func (c *CloudFront) CreateKeyGroup(input *CreateKeyGroupInput) (*CreateKeyGroupOutput, error) { @@ -1479,14 +1479,13 @@ const opCreateMonitoringSubscription = "CreateMonitoringSubscription2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMonitoringSubscriptionRequest method. +// req, resp := client.CreateMonitoringSubscriptionRequest(params) // -// // Example sending a request using the CreateMonitoringSubscriptionRequest method. -// req, resp := client.CreateMonitoringSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateMonitoringSubscription func (c *CloudFront) CreateMonitoringSubscriptionRequest(input *CreateMonitoringSubscriptionInput) (req *request.Request, output *CreateMonitoringSubscriptionOutput) { @@ -1522,14 +1521,15 @@ func (c *CloudFront) CreateMonitoringSubscriptionRequest(input *CreateMonitoring // API operation CreateMonitoringSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchDistribution "NoSuchDistribution" -// The specified distribution does not exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeUnsupportedOperation "UnsupportedOperation" -// This operation is not supported in this region. +// - ErrCodeNoSuchDistribution "NoSuchDistribution" +// The specified distribution does not exist. +// +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateMonitoringSubscription func (c *CloudFront) CreateMonitoringSubscription(input *CreateMonitoringSubscriptionInput) (*CreateMonitoringSubscriptionOutput, error) { @@ -1569,14 +1569,13 @@ const opCreateOriginRequestPolicy = "CreateOriginRequestPolicy2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOriginRequestPolicyRequest method. +// req, resp := client.CreateOriginRequestPolicyRequest(params) // -// // Example sending a request using the CreateOriginRequestPolicyRequest method. -// req, resp := client.CreateOriginRequestPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateOriginRequestPolicy func (c *CloudFront) CreateOriginRequestPolicyRequest(input *CreateOriginRequestPolicyInput) (req *request.Request, output *CreateOriginRequestPolicyOutput) { @@ -1605,16 +1604,16 @@ func (c *CloudFront) CreateOriginRequestPolicyRequest(input *CreateOriginRequest // sends to the origin. Each request that CloudFront sends to the origin includes // the following: // -// * The request body and the URL path (without the domain name) from the -// viewer request. +// - The request body and the URL path (without the domain name) from the +// viewer request. // -// * The headers that CloudFront automatically includes in every origin request, -// including Host, User-Agent, and X-Amz-Cf-Id. +// - The headers that CloudFront automatically includes in every origin request, +// including Host, User-Agent, and X-Amz-Cf-Id. // -// * All HTTP headers, cookies, and URL query strings that are specified -// in the cache policy or the origin request policy. These can include items -// from the viewer request and, in the case of headers, additional ones that -// are added by CloudFront. +// - All HTTP headers, cookies, and URL query strings that are specified +// in the cache policy or the origin request policy. These can include items +// from the viewer request and, in the case of headers, additional ones that +// are added by CloudFront. // // CloudFront sends a request when it can’t find a valid object in its cache // that matches the request. If you want to send values to the origin and also @@ -1632,38 +1631,39 @@ func (c *CloudFront) CreateOriginRequestPolicyRequest(input *CreateOriginRequest // API operation CreateOriginRequestPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // -// * ErrCodeOriginRequestPolicyAlreadyExists "OriginRequestPolicyAlreadyExists" -// An origin request policy with this name already exists. You must provide -// a unique name. To modify an existing origin request policy, use UpdateOriginRequestPolicy. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeTooManyOriginRequestPolicies "TooManyOriginRequestPolicies" -// You have reached the maximum number of origin request policies for this Amazon -// Web Services account. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeOriginRequestPolicyAlreadyExists "OriginRequestPolicyAlreadyExists" +// An origin request policy with this name already exists. You must provide +// a unique name. To modify an existing origin request policy, use UpdateOriginRequestPolicy. // -// * ErrCodeTooManyHeadersInOriginRequestPolicy "TooManyHeadersInOriginRequestPolicy" -// The number of headers in the origin request policy exceeds the maximum. For -// more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyOriginRequestPolicies "TooManyOriginRequestPolicies" +// You have reached the maximum number of origin request policies for this Amazon +// Web Services account. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyCookiesInOriginRequestPolicy "TooManyCookiesInOriginRequestPolicy" -// The number of cookies in the origin request policy exceeds the maximum. For -// more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyHeadersInOriginRequestPolicy "TooManyHeadersInOriginRequestPolicy" +// The number of headers in the origin request policy exceeds the maximum. For +// more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyQueryStringsInOriginRequestPolicy "TooManyQueryStringsInOriginRequestPolicy" -// The number of query strings in the origin request policy exceeds the maximum. -// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyCookiesInOriginRequestPolicy "TooManyCookiesInOriginRequestPolicy" +// The number of cookies in the origin request policy exceeds the maximum. For +// more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// +// - ErrCodeTooManyQueryStringsInOriginRequestPolicy "TooManyQueryStringsInOriginRequestPolicy" +// The number of query strings in the origin request policy exceeds the maximum. +// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateOriginRequestPolicy func (c *CloudFront) CreateOriginRequestPolicy(input *CreateOriginRequestPolicyInput) (*CreateOriginRequestPolicyOutput, error) { @@ -1703,14 +1703,13 @@ const opCreatePublicKey = "CreatePublicKey2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePublicKeyRequest method. +// req, resp := client.CreatePublicKeyRequest(params) // -// // Example sending a request using the CreatePublicKeyRequest method. -// req, resp := client.CreatePublicKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreatePublicKey func (c *CloudFront) CreatePublicKeyRequest(input *CreatePublicKeyInput) (req *request.Request, output *CreatePublicKeyOutput) { @@ -1743,15 +1742,16 @@ func (c *CloudFront) CreatePublicKeyRequest(input *CreatePublicKeyInput) (req *r // API operation CreatePublicKey for usage and error information. // // Returned Error Codes: -// * ErrCodePublicKeyAlreadyExists "PublicKeyAlreadyExists" -// The specified public key already exists. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodePublicKeyAlreadyExists "PublicKeyAlreadyExists" +// The specified public key already exists. +// +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeTooManyPublicKeys "TooManyPublicKeys" -// The maximum number of public keys for field-level encryption have been created. -// To create a new public key, delete one of the existing keys. +// - ErrCodeTooManyPublicKeys "TooManyPublicKeys" +// The maximum number of public keys for field-level encryption have been created. +// To create a new public key, delete one of the existing keys. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreatePublicKey func (c *CloudFront) CreatePublicKey(input *CreatePublicKeyInput) (*CreatePublicKeyOutput, error) { @@ -1791,14 +1791,13 @@ const opCreateRealtimeLogConfig = "CreateRealtimeLogConfig2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRealtimeLogConfigRequest method. +// req, resp := client.CreateRealtimeLogConfigRequest(params) // -// // Example sending a request using the CreateRealtimeLogConfigRequest method. -// req, resp := client.CreateRealtimeLogConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateRealtimeLogConfig func (c *CloudFront) CreateRealtimeLogConfigRequest(input *CreateRealtimeLogConfigInput) (req *request.Request, output *CreateRealtimeLogConfigOutput) { @@ -1837,20 +1836,21 @@ func (c *CloudFront) CreateRealtimeLogConfigRequest(input *CreateRealtimeLogConf // API operation CreateRealtimeLogConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeRealtimeLogConfigAlreadyExists "RealtimeLogConfigAlreadyExists" -// A real-time log configuration with this name already exists. You must provide -// a unique name. To modify an existing real-time log configuration, use UpdateRealtimeLogConfig. // -// * ErrCodeTooManyRealtimeLogConfigs "TooManyRealtimeLogConfigs" -// You have reached the maximum number of real-time log configurations for this -// Amazon Web Services account. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeRealtimeLogConfigAlreadyExists "RealtimeLogConfigAlreadyExists" +// A real-time log configuration with this name already exists. You must provide +// a unique name. To modify an existing real-time log configuration, use UpdateRealtimeLogConfig. +// +// - ErrCodeTooManyRealtimeLogConfigs "TooManyRealtimeLogConfigs" +// You have reached the maximum number of real-time log configurations for this +// Amazon Web Services account. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateRealtimeLogConfig func (c *CloudFront) CreateRealtimeLogConfig(input *CreateRealtimeLogConfigInput) (*CreateRealtimeLogConfigOutput, error) { @@ -1890,14 +1890,13 @@ const opCreateResponseHeadersPolicy = "CreateResponseHeadersPolicy2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResponseHeadersPolicyRequest method. +// req, resp := client.CreateResponseHeadersPolicyRequest(params) // -// // Example sending a request using the CreateResponseHeadersPolicyRequest method. -// req, resp := client.CreateResponseHeadersPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateResponseHeadersPolicy func (c *CloudFront) CreateResponseHeadersPolicyRequest(input *CreateResponseHeadersPolicyInput) (req *request.Request, output *CreateResponseHeadersPolicyOutput) { @@ -1938,38 +1937,39 @@ func (c *CloudFront) CreateResponseHeadersPolicyRequest(input *CreateResponseHea // API operation CreateResponseHeadersPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // -// * ErrCodeResponseHeadersPolicyAlreadyExists "ResponseHeadersPolicyAlreadyExists" -// A response headers policy with this name already exists. You must provide -// a unique name. To modify an existing response headers policy, use UpdateResponseHeadersPolicy. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeTooManyResponseHeadersPolicies "TooManyResponseHeadersPolicies" -// You have reached the maximum number of response headers policies for this -// Amazon Web Services account. +// - ErrCodeResponseHeadersPolicyAlreadyExists "ResponseHeadersPolicyAlreadyExists" +// A response headers policy with this name already exists. You must provide +// a unique name. To modify an existing response headers policy, use UpdateResponseHeadersPolicy. // -// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyResponseHeadersPolicies "TooManyResponseHeadersPolicies" +// You have reached the maximum number of response headers policies for this +// Amazon Web Services account. // -// * ErrCodeTooManyCustomHeadersInResponseHeadersPolicy "TooManyCustomHeadersInResponseHeadersPolicy" -// The number of custom headers in the response headers policy exceeds the maximum. +// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyCustomHeadersInResponseHeadersPolicy "TooManyCustomHeadersInResponseHeadersPolicy" +// The number of custom headers in the response headers policy exceeds the maximum. // -// * ErrCodeTooLongCSPInResponseHeadersPolicy "TooLongCSPInResponseHeadersPolicy" -// The length of the Content-Security-Policy header value in the response headers -// policy exceeds the maximum. +// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooLongCSPInResponseHeadersPolicy "TooLongCSPInResponseHeadersPolicy" +// The length of the Content-Security-Policy header value in the response headers +// policy exceeds the maximum. +// +// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateResponseHeadersPolicy func (c *CloudFront) CreateResponseHeadersPolicy(input *CreateResponseHeadersPolicyInput) (*CreateResponseHeadersPolicyOutput, error) { @@ -2009,14 +2009,13 @@ const opCreateStreamingDistribution = "CreateStreamingDistribution2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStreamingDistributionRequest method. +// req, resp := client.CreateStreamingDistributionRequest(params) // -// // Example sending a request using the CreateStreamingDistributionRequest method. -// req, resp := client.CreateStreamingDistributionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistribution func (c *CloudFront) CreateStreamingDistributionRequest(input *CreateStreamingDistributionInput) (req *request.Request, output *CreateStreamingDistributionOutput) { @@ -2050,45 +2049,46 @@ func (c *CloudFront) CreateStreamingDistributionRequest(input *CreateStreamingDi // API operation CreateStreamingDistribution for usage and error information. // // Returned Error Codes: -// * ErrCodeCNAMEAlreadyExists "CNAMEAlreadyExists" -// The CNAME specified is already defined for CloudFront. // -// * ErrCodeStreamingDistributionAlreadyExists "StreamingDistributionAlreadyExists" -// The caller reference you attempted to create the streaming distribution with -// is associated with another distribution +// - ErrCodeCNAMEAlreadyExists "CNAMEAlreadyExists" +// The CNAME specified is already defined for CloudFront. +// +// - ErrCodeStreamingDistributionAlreadyExists "StreamingDistributionAlreadyExists" +// The caller reference you attempted to create the streaming distribution with +// is associated with another distribution // -// * ErrCodeInvalidOrigin "InvalidOrigin" -// The Amazon S3 origin server specified does not refer to a valid Amazon S3 -// bucket. +// - ErrCodeInvalidOrigin "InvalidOrigin" +// The Amazon S3 origin server specified does not refer to a valid Amazon S3 +// bucket. // -// * ErrCodeInvalidOriginAccessIdentity "InvalidOriginAccessIdentity" -// The origin access identity is not valid or doesn't exist. +// - ErrCodeInvalidOriginAccessIdentity "InvalidOriginAccessIdentity" +// The origin access identity is not valid or doesn't exist. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeTooManyTrustedSigners "TooManyTrustedSigners" -// Your request contains more trusted signers than are allowed per distribution. +// - ErrCodeTooManyTrustedSigners "TooManyTrustedSigners" +// Your request contains more trusted signers than are allowed per distribution. // -// * ErrCodeTrustedSignerDoesNotExist "TrustedSignerDoesNotExist" -// One or more of your trusted signers don't exist. +// - ErrCodeTrustedSignerDoesNotExist "TrustedSignerDoesNotExist" +// One or more of your trusted signers don't exist. // -// * ErrCodeMissingBody "MissingBody" -// This operation requires a body. Ensure that the body is present and the Content-Type -// header is set. +// - ErrCodeMissingBody "MissingBody" +// This operation requires a body. Ensure that the body is present and the Content-Type +// header is set. // -// * ErrCodeTooManyStreamingDistributionCNAMEs "TooManyStreamingDistributionCNAMEs" -// Your request contains more CNAMEs than are allowed per distribution. +// - ErrCodeTooManyStreamingDistributionCNAMEs "TooManyStreamingDistributionCNAMEs" +// Your request contains more CNAMEs than are allowed per distribution. // -// * ErrCodeTooManyStreamingDistributions "TooManyStreamingDistributions" -// Processing your request would cause you to exceed the maximum number of streaming -// distributions allowed. +// - ErrCodeTooManyStreamingDistributions "TooManyStreamingDistributions" +// Processing your request would cause you to exceed the maximum number of streaming +// distributions allowed. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistribution func (c *CloudFront) CreateStreamingDistribution(input *CreateStreamingDistributionInput) (*CreateStreamingDistributionOutput, error) { @@ -2128,14 +2128,13 @@ const opCreateStreamingDistributionWithTags = "CreateStreamingDistributionWithTa // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStreamingDistributionWithTagsRequest method. +// req, resp := client.CreateStreamingDistributionWithTagsRequest(params) // -// // Example sending a request using the CreateStreamingDistributionWithTagsRequest method. -// req, resp := client.CreateStreamingDistributionWithTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistributionWithTags func (c *CloudFront) CreateStreamingDistributionWithTagsRequest(input *CreateStreamingDistributionWithTagsInput) (req *request.Request, output *CreateStreamingDistributionWithTagsOutput) { @@ -2169,48 +2168,49 @@ func (c *CloudFront) CreateStreamingDistributionWithTagsRequest(input *CreateStr // API operation CreateStreamingDistributionWithTags for usage and error information. // // Returned Error Codes: -// * ErrCodeCNAMEAlreadyExists "CNAMEAlreadyExists" -// The CNAME specified is already defined for CloudFront. // -// * ErrCodeStreamingDistributionAlreadyExists "StreamingDistributionAlreadyExists" -// The caller reference you attempted to create the streaming distribution with -// is associated with another distribution +// - ErrCodeCNAMEAlreadyExists "CNAMEAlreadyExists" +// The CNAME specified is already defined for CloudFront. +// +// - ErrCodeStreamingDistributionAlreadyExists "StreamingDistributionAlreadyExists" +// The caller reference you attempted to create the streaming distribution with +// is associated with another distribution // -// * ErrCodeInvalidOrigin "InvalidOrigin" -// The Amazon S3 origin server specified does not refer to a valid Amazon S3 -// bucket. +// - ErrCodeInvalidOrigin "InvalidOrigin" +// The Amazon S3 origin server specified does not refer to a valid Amazon S3 +// bucket. // -// * ErrCodeInvalidOriginAccessIdentity "InvalidOriginAccessIdentity" -// The origin access identity is not valid or doesn't exist. +// - ErrCodeInvalidOriginAccessIdentity "InvalidOriginAccessIdentity" +// The origin access identity is not valid or doesn't exist. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeTooManyTrustedSigners "TooManyTrustedSigners" -// Your request contains more trusted signers than are allowed per distribution. +// - ErrCodeTooManyTrustedSigners "TooManyTrustedSigners" +// Your request contains more trusted signers than are allowed per distribution. // -// * ErrCodeTrustedSignerDoesNotExist "TrustedSignerDoesNotExist" -// One or more of your trusted signers don't exist. +// - ErrCodeTrustedSignerDoesNotExist "TrustedSignerDoesNotExist" +// One or more of your trusted signers don't exist. // -// * ErrCodeMissingBody "MissingBody" -// This operation requires a body. Ensure that the body is present and the Content-Type -// header is set. +// - ErrCodeMissingBody "MissingBody" +// This operation requires a body. Ensure that the body is present and the Content-Type +// header is set. // -// * ErrCodeTooManyStreamingDistributionCNAMEs "TooManyStreamingDistributionCNAMEs" -// Your request contains more CNAMEs than are allowed per distribution. +// - ErrCodeTooManyStreamingDistributionCNAMEs "TooManyStreamingDistributionCNAMEs" +// Your request contains more CNAMEs than are allowed per distribution. // -// * ErrCodeTooManyStreamingDistributions "TooManyStreamingDistributions" -// Processing your request would cause you to exceed the maximum number of streaming -// distributions allowed. +// - ErrCodeTooManyStreamingDistributions "TooManyStreamingDistributions" +// Processing your request would cause you to exceed the maximum number of streaming +// distributions allowed. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // -// * ErrCodeInvalidTagging "InvalidTagging" -// The tagging specified is not valid. +// - ErrCodeInvalidTagging "InvalidTagging" +// The tagging specified is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateStreamingDistributionWithTags func (c *CloudFront) CreateStreamingDistributionWithTags(input *CreateStreamingDistributionWithTagsInput) (*CreateStreamingDistributionWithTagsOutput, error) { @@ -2250,14 +2250,13 @@ const opDeleteCachePolicy = "DeleteCachePolicy2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCachePolicyRequest method. +// req, resp := client.DeleteCachePolicyRequest(params) // -// // Example sending a request using the DeleteCachePolicyRequest method. -// req, resp := client.DeleteCachePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCachePolicy func (c *CloudFront) DeleteCachePolicyRequest(input *DeleteCachePolicyInput) (req *request.Request, output *DeleteCachePolicyOutput) { @@ -2296,24 +2295,25 @@ func (c *CloudFront) DeleteCachePolicyRequest(input *DeleteCachePolicyInput) (re // API operation DeleteCachePolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" -// The cache policy does not exist. +// - ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" +// The cache policy does not exist. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeIllegalDelete "IllegalDelete" -// You cannot delete a managed policy. +// - ErrCodeIllegalDelete "IllegalDelete" +// You cannot delete a managed policy. // -// * ErrCodeCachePolicyInUse "CachePolicyInUse" -// Cannot delete the cache policy because it is attached to one or more cache -// behaviors. +// - ErrCodeCachePolicyInUse "CachePolicyInUse" +// Cannot delete the cache policy because it is attached to one or more cache +// behaviors. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCachePolicy func (c *CloudFront) DeleteCachePolicy(input *DeleteCachePolicyInput) (*DeleteCachePolicyOutput, error) { @@ -2353,14 +2353,13 @@ const opDeleteCloudFrontOriginAccessIdentity = "DeleteCloudFrontOriginAccessIden // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCloudFrontOriginAccessIdentityRequest method. +// req, resp := client.DeleteCloudFrontOriginAccessIdentityRequest(params) // -// // Example sending a request using the DeleteCloudFrontOriginAccessIdentityRequest method. -// req, resp := client.DeleteCloudFrontOriginAccessIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity func (c *CloudFront) DeleteCloudFrontOriginAccessIdentityRequest(input *DeleteCloudFrontOriginAccessIdentityInput) (req *request.Request, output *DeleteCloudFrontOriginAccessIdentityOutput) { @@ -2392,20 +2391,21 @@ func (c *CloudFront) DeleteCloudFrontOriginAccessIdentityRequest(input *DeleteCl // API operation DeleteCloudFrontOriginAccessIdentity for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeNoSuchCloudFrontOriginAccessIdentity "NoSuchCloudFrontOriginAccessIdentity" -// The specified origin access identity does not exist. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodeNoSuchCloudFrontOriginAccessIdentity "NoSuchCloudFrontOriginAccessIdentity" +// The specified origin access identity does not exist. // -// * ErrCodeOriginAccessIdentityInUse "CloudFrontOriginAccessIdentityInUse" -// The Origin Access Identity specified is already in use. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. +// +// - ErrCodeOriginAccessIdentityInUse "CloudFrontOriginAccessIdentityInUse" +// The Origin Access Identity specified is already in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteCloudFrontOriginAccessIdentity func (c *CloudFront) DeleteCloudFrontOriginAccessIdentity(input *DeleteCloudFrontOriginAccessIdentityInput) (*DeleteCloudFrontOriginAccessIdentityOutput, error) { @@ -2445,14 +2445,13 @@ const opDeleteDistribution = "DeleteDistribution2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDistributionRequest method. +// req, resp := client.DeleteDistributionRequest(params) // -// // Example sending a request using the DeleteDistributionRequest method. -// req, resp := client.DeleteDistributionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteDistribution func (c *CloudFront) DeleteDistributionRequest(input *DeleteDistributionInput) (req *request.Request, output *DeleteDistributionOutput) { @@ -2484,21 +2483,22 @@ func (c *CloudFront) DeleteDistributionRequest(input *DeleteDistributionInput) ( // API operation DeleteDistribution for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeDistributionNotDisabled "DistributionNotDisabled" -// The specified CloudFront distribution is not disabled. You must disable the -// distribution before you can delete it. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeDistributionNotDisabled "DistributionNotDisabled" +// The specified CloudFront distribution is not disabled. You must disable the +// distribution before you can delete it. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeNoSuchDistribution "NoSuchDistribution" -// The specified distribution does not exist. +// - ErrCodeNoSuchDistribution "NoSuchDistribution" +// The specified distribution does not exist. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteDistribution func (c *CloudFront) DeleteDistribution(input *DeleteDistributionInput) (*DeleteDistributionOutput, error) { @@ -2538,14 +2538,13 @@ const opDeleteFieldLevelEncryptionConfig = "DeleteFieldLevelEncryptionConfig2020 // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFieldLevelEncryptionConfigRequest method. +// req, resp := client.DeleteFieldLevelEncryptionConfigRequest(params) // -// // Example sending a request using the DeleteFieldLevelEncryptionConfigRequest method. -// req, resp := client.DeleteFieldLevelEncryptionConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig func (c *CloudFront) DeleteFieldLevelEncryptionConfigRequest(input *DeleteFieldLevelEncryptionConfigInput) (req *request.Request, output *DeleteFieldLevelEncryptionConfigOutput) { @@ -2577,20 +2576,21 @@ func (c *CloudFront) DeleteFieldLevelEncryptionConfigRequest(input *DeleteFieldL // API operation DeleteFieldLevelEncryptionConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeNoSuchFieldLevelEncryptionConfig "NoSuchFieldLevelEncryptionConfig" -// The specified configuration for field-level encryption doesn't exist. +// - ErrCodeNoSuchFieldLevelEncryptionConfig "NoSuchFieldLevelEncryptionConfig" +// The specified configuration for field-level encryption doesn't exist. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeFieldLevelEncryptionConfigInUse "FieldLevelEncryptionConfigInUse" -// The specified configuration for field-level encryption is in use. +// - ErrCodeFieldLevelEncryptionConfigInUse "FieldLevelEncryptionConfigInUse" +// The specified configuration for field-level encryption is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionConfig func (c *CloudFront) DeleteFieldLevelEncryptionConfig(input *DeleteFieldLevelEncryptionConfigInput) (*DeleteFieldLevelEncryptionConfigOutput, error) { @@ -2630,14 +2630,13 @@ const opDeleteFieldLevelEncryptionProfile = "DeleteFieldLevelEncryptionProfile20 // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFieldLevelEncryptionProfileRequest method. +// req, resp := client.DeleteFieldLevelEncryptionProfileRequest(params) // -// // Example sending a request using the DeleteFieldLevelEncryptionProfileRequest method. -// req, resp := client.DeleteFieldLevelEncryptionProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile func (c *CloudFront) DeleteFieldLevelEncryptionProfileRequest(input *DeleteFieldLevelEncryptionProfileInput) (req *request.Request, output *DeleteFieldLevelEncryptionProfileOutput) { @@ -2669,20 +2668,21 @@ func (c *CloudFront) DeleteFieldLevelEncryptionProfileRequest(input *DeleteField // API operation DeleteFieldLevelEncryptionProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeNoSuchFieldLevelEncryptionProfile "NoSuchFieldLevelEncryptionProfile" -// The specified profile for field-level encryption doesn't exist. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodeNoSuchFieldLevelEncryptionProfile "NoSuchFieldLevelEncryptionProfile" +// The specified profile for field-level encryption doesn't exist. // -// * ErrCodeFieldLevelEncryptionProfileInUse "FieldLevelEncryptionProfileInUse" -// The specified profile for field-level encryption is in use. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. +// +// - ErrCodeFieldLevelEncryptionProfileInUse "FieldLevelEncryptionProfileInUse" +// The specified profile for field-level encryption is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFieldLevelEncryptionProfile func (c *CloudFront) DeleteFieldLevelEncryptionProfile(input *DeleteFieldLevelEncryptionProfileInput) (*DeleteFieldLevelEncryptionProfileOutput, error) { @@ -2722,14 +2722,13 @@ const opDeleteFunction = "DeleteFunction2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFunctionRequest method. +// req, resp := client.DeleteFunctionRequest(params) // -// // Example sending a request using the DeleteFunctionRequest method. -// req, resp := client.DeleteFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFunction func (c *CloudFront) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request.Request, output *DeleteFunctionOutput) { @@ -2768,20 +2767,21 @@ func (c *CloudFront) DeleteFunctionRequest(input *DeleteFunctionInput) (req *req // API operation DeleteFunction for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. // -// * ErrCodeNoSuchFunctionExists "NoSuchFunctionExists" -// The function does not exist. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeFunctionInUse "FunctionInUse" -// Cannot delete the function because it’s attached to one or more cache behaviors. +// - ErrCodeNoSuchFunctionExists "NoSuchFunctionExists" +// The function does not exist. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodeFunctionInUse "FunctionInUse" +// Cannot delete the function because it’s attached to one or more cache behaviors. // -// * ErrCodeUnsupportedOperation "UnsupportedOperation" -// This operation is not supported in this region. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. +// +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteFunction func (c *CloudFront) DeleteFunction(input *DeleteFunctionInput) (*DeleteFunctionOutput, error) { @@ -2821,14 +2821,13 @@ const opDeleteKeyGroup = "DeleteKeyGroup2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteKeyGroupRequest method. +// req, resp := client.DeleteKeyGroupRequest(params) // -// // Example sending a request using the DeleteKeyGroupRequest method. -// req, resp := client.DeleteKeyGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteKeyGroup func (c *CloudFront) DeleteKeyGroupRequest(input *DeleteKeyGroupInput) (req *request.Request, output *DeleteKeyGroupOutput) { @@ -2868,17 +2867,18 @@ func (c *CloudFront) DeleteKeyGroupRequest(input *DeleteKeyGroupInput) (req *req // API operation DeleteKeyGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. // -// * ErrCodeNoSuchResource "NoSuchResource" -// A resource that was specified is not valid. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. +// +// - ErrCodeNoSuchResource "NoSuchResource" +// A resource that was specified is not valid. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeResourceInUse "ResourceInUse" -// Cannot delete this resource because it is in use. +// - ErrCodeResourceInUse "ResourceInUse" +// Cannot delete this resource because it is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteKeyGroup func (c *CloudFront) DeleteKeyGroup(input *DeleteKeyGroupInput) (*DeleteKeyGroupOutput, error) { @@ -2918,14 +2918,13 @@ const opDeleteMonitoringSubscription = "DeleteMonitoringSubscription2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMonitoringSubscriptionRequest method. +// req, resp := client.DeleteMonitoringSubscriptionRequest(params) // -// // Example sending a request using the DeleteMonitoringSubscriptionRequest method. -// req, resp := client.DeleteMonitoringSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteMonitoringSubscription func (c *CloudFront) DeleteMonitoringSubscriptionRequest(input *DeleteMonitoringSubscriptionInput) (req *request.Request, output *DeleteMonitoringSubscriptionOutput) { @@ -2957,14 +2956,15 @@ func (c *CloudFront) DeleteMonitoringSubscriptionRequest(input *DeleteMonitoring // API operation DeleteMonitoringSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchDistribution "NoSuchDistribution" -// The specified distribution does not exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchDistribution "NoSuchDistribution" +// The specified distribution does not exist. // -// * ErrCodeUnsupportedOperation "UnsupportedOperation" -// This operation is not supported in this region. +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteMonitoringSubscription func (c *CloudFront) DeleteMonitoringSubscription(input *DeleteMonitoringSubscriptionInput) (*DeleteMonitoringSubscriptionOutput, error) { @@ -3004,14 +3004,13 @@ const opDeleteOriginRequestPolicy = "DeleteOriginRequestPolicy2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOriginRequestPolicyRequest method. +// req, resp := client.DeleteOriginRequestPolicyRequest(params) // -// // Example sending a request using the DeleteOriginRequestPolicyRequest method. -// req, resp := client.DeleteOriginRequestPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteOriginRequestPolicy func (c *CloudFront) DeleteOriginRequestPolicyRequest(input *DeleteOriginRequestPolicyInput) (req *request.Request, output *DeleteOriginRequestPolicyOutput) { @@ -3051,24 +3050,25 @@ func (c *CloudFront) DeleteOriginRequestPolicyRequest(input *DeleteOriginRequest // API operation DeleteOriginRequestPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" -// The origin request policy does not exist. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" +// The origin request policy does not exist. // -// * ErrCodeIllegalDelete "IllegalDelete" -// You cannot delete a managed policy. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeOriginRequestPolicyInUse "OriginRequestPolicyInUse" -// Cannot delete the origin request policy because it is attached to one or -// more cache behaviors. +// - ErrCodeIllegalDelete "IllegalDelete" +// You cannot delete a managed policy. +// +// - ErrCodeOriginRequestPolicyInUse "OriginRequestPolicyInUse" +// Cannot delete the origin request policy because it is attached to one or +// more cache behaviors. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteOriginRequestPolicy func (c *CloudFront) DeleteOriginRequestPolicy(input *DeleteOriginRequestPolicyInput) (*DeleteOriginRequestPolicyOutput, error) { @@ -3108,14 +3108,13 @@ const opDeletePublicKey = "DeletePublicKey2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePublicKeyRequest method. +// req, resp := client.DeletePublicKeyRequest(params) // -// // Example sending a request using the DeletePublicKeyRequest method. -// req, resp := client.DeletePublicKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeletePublicKey func (c *CloudFront) DeletePublicKeyRequest(input *DeletePublicKeyInput) (req *request.Request, output *DeletePublicKeyOutput) { @@ -3147,20 +3146,21 @@ func (c *CloudFront) DeletePublicKeyRequest(input *DeletePublicKeyInput) (req *r // API operation DeletePublicKey for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodePublicKeyInUse "PublicKeyInUse" -// The specified public key is in use. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodePublicKeyInUse "PublicKeyInUse" +// The specified public key is in use. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeNoSuchPublicKey "NoSuchPublicKey" -// The specified public key doesn't exist. +// - ErrCodeNoSuchPublicKey "NoSuchPublicKey" +// The specified public key doesn't exist. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeletePublicKey func (c *CloudFront) DeletePublicKey(input *DeletePublicKeyInput) (*DeletePublicKeyOutput, error) { @@ -3200,14 +3200,13 @@ const opDeleteRealtimeLogConfig = "DeleteRealtimeLogConfig2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRealtimeLogConfigRequest method. +// req, resp := client.DeleteRealtimeLogConfigRequest(params) // -// // Example sending a request using the DeleteRealtimeLogConfigRequest method. -// req, resp := client.DeleteRealtimeLogConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteRealtimeLogConfig func (c *CloudFront) DeleteRealtimeLogConfigRequest(input *DeleteRealtimeLogConfigInput) (req *request.Request, output *DeleteRealtimeLogConfigOutput) { @@ -3248,18 +3247,19 @@ func (c *CloudFront) DeleteRealtimeLogConfigRequest(input *DeleteRealtimeLogConf // API operation DeleteRealtimeLogConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchRealtimeLogConfig "NoSuchRealtimeLogConfig" -// The real-time log configuration does not exist. // -// * ErrCodeRealtimeLogConfigInUse "RealtimeLogConfigInUse" -// Cannot delete the real-time log configuration because it is attached to one -// or more cache behaviors. +// - ErrCodeNoSuchRealtimeLogConfig "NoSuchRealtimeLogConfig" +// The real-time log configuration does not exist. +// +// - ErrCodeRealtimeLogConfigInUse "RealtimeLogConfigInUse" +// Cannot delete the real-time log configuration because it is attached to one +// or more cache behaviors. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteRealtimeLogConfig func (c *CloudFront) DeleteRealtimeLogConfig(input *DeleteRealtimeLogConfigInput) (*DeleteRealtimeLogConfigOutput, error) { @@ -3299,14 +3299,13 @@ const opDeleteResponseHeadersPolicy = "DeleteResponseHeadersPolicy2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResponseHeadersPolicyRequest method. +// req, resp := client.DeleteResponseHeadersPolicyRequest(params) // -// // Example sending a request using the DeleteResponseHeadersPolicyRequest method. -// req, resp := client.DeleteResponseHeadersPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteResponseHeadersPolicy func (c *CloudFront) DeleteResponseHeadersPolicyRequest(input *DeleteResponseHeadersPolicyInput) (req *request.Request, output *DeleteResponseHeadersPolicyOutput) { @@ -3346,24 +3345,25 @@ func (c *CloudFront) DeleteResponseHeadersPolicyRequest(input *DeleteResponseHea // API operation DeleteResponseHeadersPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" -// The response headers policy does not exist. +// - ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" +// The response headers policy does not exist. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeIllegalDelete "IllegalDelete" -// You cannot delete a managed policy. +// - ErrCodeIllegalDelete "IllegalDelete" +// You cannot delete a managed policy. // -// * ErrCodeResponseHeadersPolicyInUse "ResponseHeadersPolicyInUse" -// Cannot delete the response headers policy because it is attached to one or -// more cache behaviors in a CloudFront distribution. +// - ErrCodeResponseHeadersPolicyInUse "ResponseHeadersPolicyInUse" +// Cannot delete the response headers policy because it is attached to one or +// more cache behaviors in a CloudFront distribution. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteResponseHeadersPolicy func (c *CloudFront) DeleteResponseHeadersPolicy(input *DeleteResponseHeadersPolicyInput) (*DeleteResponseHeadersPolicyOutput, error) { @@ -3403,14 +3403,13 @@ const opDeleteStreamingDistribution = "DeleteStreamingDistribution2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStreamingDistributionRequest method. +// req, resp := client.DeleteStreamingDistributionRequest(params) // -// // Example sending a request using the DeleteStreamingDistributionRequest method. -// req, resp := client.DeleteStreamingDistributionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteStreamingDistribution func (c *CloudFront) DeleteStreamingDistributionRequest(input *DeleteStreamingDistributionInput) (req *request.Request, output *DeleteStreamingDistributionOutput) { @@ -3477,21 +3476,22 @@ func (c *CloudFront) DeleteStreamingDistributionRequest(input *DeleteStreamingDi // API operation DeleteStreamingDistribution for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeStreamingDistributionNotDisabled "StreamingDistributionNotDisabled" -// The specified CloudFront distribution is not disabled. You must disable the -// distribution before you can delete it. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeStreamingDistributionNotDisabled "StreamingDistributionNotDisabled" +// The specified CloudFront distribution is not disabled. You must disable the +// distribution before you can delete it. // -// * ErrCodeNoSuchStreamingDistribution "NoSuchStreamingDistribution" -// The specified streaming distribution does not exist. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodeNoSuchStreamingDistribution "NoSuchStreamingDistribution" +// The specified streaming distribution does not exist. +// +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteStreamingDistribution func (c *CloudFront) DeleteStreamingDistribution(input *DeleteStreamingDistributionInput) (*DeleteStreamingDistributionOutput, error) { @@ -3531,14 +3531,13 @@ const opDescribeFunction = "DescribeFunction2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFunctionRequest method. +// req, resp := client.DescribeFunctionRequest(params) // -// // Example sending a request using the DescribeFunctionRequest method. -// req, resp := client.DescribeFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DescribeFunction func (c *CloudFront) DescribeFunctionRequest(input *DescribeFunctionInput) (req *request.Request, output *DescribeFunctionOutput) { @@ -3574,11 +3573,12 @@ func (c *CloudFront) DescribeFunctionRequest(input *DescribeFunctionInput) (req // API operation DescribeFunction for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchFunctionExists "NoSuchFunctionExists" -// The function does not exist. // -// * ErrCodeUnsupportedOperation "UnsupportedOperation" -// This operation is not supported in this region. +// - ErrCodeNoSuchFunctionExists "NoSuchFunctionExists" +// The function does not exist. +// +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DescribeFunction func (c *CloudFront) DescribeFunction(input *DescribeFunctionInput) (*DescribeFunctionOutput, error) { @@ -3618,14 +3618,13 @@ const opGetCachePolicy = "GetCachePolicy2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCachePolicyRequest method. +// req, resp := client.GetCachePolicyRequest(params) // -// // Example sending a request using the GetCachePolicyRequest method. -// req, resp := client.GetCachePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicy func (c *CloudFront) GetCachePolicyRequest(input *GetCachePolicyInput) (req *request.Request, output *GetCachePolicyOutput) { @@ -3648,9 +3647,9 @@ func (c *CloudFront) GetCachePolicyRequest(input *GetCachePolicyInput) (req *req // // Gets a cache policy, including the following metadata: // -// * The policy’s identifier. +// - The policy’s identifier. // -// * The date and time when the policy was last modified. +// - The date and time when the policy was last modified. // // To get a cache policy, you must provide the policy’s identifier. If the // cache policy is attached to a distribution’s cache behavior, you can get @@ -3666,11 +3665,12 @@ func (c *CloudFront) GetCachePolicyRequest(input *GetCachePolicyInput) (req *req // API operation GetCachePolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" -// The cache policy does not exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" +// The cache policy does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicy func (c *CloudFront) GetCachePolicy(input *GetCachePolicyInput) (*GetCachePolicyOutput, error) { @@ -3710,14 +3710,13 @@ const opGetCachePolicyConfig = "GetCachePolicyConfig2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCachePolicyConfigRequest method. +// req, resp := client.GetCachePolicyConfigRequest(params) // -// // Example sending a request using the GetCachePolicyConfigRequest method. -// req, resp := client.GetCachePolicyConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicyConfig func (c *CloudFront) GetCachePolicyConfigRequest(input *GetCachePolicyConfigInput) (req *request.Request, output *GetCachePolicyConfigOutput) { @@ -3754,11 +3753,12 @@ func (c *CloudFront) GetCachePolicyConfigRequest(input *GetCachePolicyConfigInpu // API operation GetCachePolicyConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" -// The cache policy does not exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" +// The cache policy does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCachePolicyConfig func (c *CloudFront) GetCachePolicyConfig(input *GetCachePolicyConfigInput) (*GetCachePolicyConfigOutput, error) { @@ -3798,14 +3798,13 @@ const opGetCloudFrontOriginAccessIdentity = "GetCloudFrontOriginAccessIdentity20 // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCloudFrontOriginAccessIdentityRequest method. +// req, resp := client.GetCloudFrontOriginAccessIdentityRequest(params) // -// // Example sending a request using the GetCloudFrontOriginAccessIdentityRequest method. -// req, resp := client.GetCloudFrontOriginAccessIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity func (c *CloudFront) GetCloudFrontOriginAccessIdentityRequest(input *GetCloudFrontOriginAccessIdentityInput) (req *request.Request, output *GetCloudFrontOriginAccessIdentityOutput) { @@ -3836,11 +3835,12 @@ func (c *CloudFront) GetCloudFrontOriginAccessIdentityRequest(input *GetCloudFro // API operation GetCloudFrontOriginAccessIdentity for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchCloudFrontOriginAccessIdentity "NoSuchCloudFrontOriginAccessIdentity" -// The specified origin access identity does not exist. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeNoSuchCloudFrontOriginAccessIdentity "NoSuchCloudFrontOriginAccessIdentity" +// The specified origin access identity does not exist. +// +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentity func (c *CloudFront) GetCloudFrontOriginAccessIdentity(input *GetCloudFrontOriginAccessIdentityInput) (*GetCloudFrontOriginAccessIdentityOutput, error) { @@ -3880,14 +3880,13 @@ const opGetCloudFrontOriginAccessIdentityConfig = "GetCloudFrontOriginAccessIden // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCloudFrontOriginAccessIdentityConfigRequest method. +// req, resp := client.GetCloudFrontOriginAccessIdentityConfigRequest(params) // -// // Example sending a request using the GetCloudFrontOriginAccessIdentityConfigRequest method. -// req, resp := client.GetCloudFrontOriginAccessIdentityConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig func (c *CloudFront) GetCloudFrontOriginAccessIdentityConfigRequest(input *GetCloudFrontOriginAccessIdentityConfigInput) (req *request.Request, output *GetCloudFrontOriginAccessIdentityConfigOutput) { @@ -3918,11 +3917,12 @@ func (c *CloudFront) GetCloudFrontOriginAccessIdentityConfigRequest(input *GetCl // API operation GetCloudFrontOriginAccessIdentityConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchCloudFrontOriginAccessIdentity "NoSuchCloudFrontOriginAccessIdentity" -// The specified origin access identity does not exist. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeNoSuchCloudFrontOriginAccessIdentity "NoSuchCloudFrontOriginAccessIdentity" +// The specified origin access identity does not exist. +// +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetCloudFrontOriginAccessIdentityConfig func (c *CloudFront) GetCloudFrontOriginAccessIdentityConfig(input *GetCloudFrontOriginAccessIdentityConfigInput) (*GetCloudFrontOriginAccessIdentityConfigOutput, error) { @@ -3962,14 +3962,13 @@ const opGetDistribution = "GetDistribution2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDistributionRequest method. +// req, resp := client.GetDistributionRequest(params) // -// // Example sending a request using the GetDistributionRequest method. -// req, resp := client.GetDistributionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistribution func (c *CloudFront) GetDistributionRequest(input *GetDistributionInput) (req *request.Request, output *GetDistributionOutput) { @@ -4000,11 +3999,12 @@ func (c *CloudFront) GetDistributionRequest(input *GetDistributionInput) (req *r // API operation GetDistribution for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchDistribution "NoSuchDistribution" -// The specified distribution does not exist. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeNoSuchDistribution "NoSuchDistribution" +// The specified distribution does not exist. +// +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistribution func (c *CloudFront) GetDistribution(input *GetDistributionInput) (*GetDistributionOutput, error) { @@ -4044,14 +4044,13 @@ const opGetDistributionConfig = "GetDistributionConfig2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDistributionConfigRequest method. +// req, resp := client.GetDistributionConfigRequest(params) // -// // Example sending a request using the GetDistributionConfigRequest method. -// req, resp := client.GetDistributionConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistributionConfig func (c *CloudFront) GetDistributionConfigRequest(input *GetDistributionConfigInput) (req *request.Request, output *GetDistributionConfigOutput) { @@ -4082,11 +4081,12 @@ func (c *CloudFront) GetDistributionConfigRequest(input *GetDistributionConfigIn // API operation GetDistributionConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchDistribution "NoSuchDistribution" -// The specified distribution does not exist. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeNoSuchDistribution "NoSuchDistribution" +// The specified distribution does not exist. +// +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetDistributionConfig func (c *CloudFront) GetDistributionConfig(input *GetDistributionConfigInput) (*GetDistributionConfigOutput, error) { @@ -4126,14 +4126,13 @@ const opGetFieldLevelEncryption = "GetFieldLevelEncryption2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFieldLevelEncryptionRequest method. +// req, resp := client.GetFieldLevelEncryptionRequest(params) // -// // Example sending a request using the GetFieldLevelEncryptionRequest method. -// req, resp := client.GetFieldLevelEncryptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryption func (c *CloudFront) GetFieldLevelEncryptionRequest(input *GetFieldLevelEncryptionInput) (req *request.Request, output *GetFieldLevelEncryptionOutput) { @@ -4164,11 +4163,12 @@ func (c *CloudFront) GetFieldLevelEncryptionRequest(input *GetFieldLevelEncrypti // API operation GetFieldLevelEncryption for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchFieldLevelEncryptionConfig "NoSuchFieldLevelEncryptionConfig" -// The specified configuration for field-level encryption doesn't exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchFieldLevelEncryptionConfig "NoSuchFieldLevelEncryptionConfig" +// The specified configuration for field-level encryption doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryption func (c *CloudFront) GetFieldLevelEncryption(input *GetFieldLevelEncryptionInput) (*GetFieldLevelEncryptionOutput, error) { @@ -4208,14 +4208,13 @@ const opGetFieldLevelEncryptionConfig = "GetFieldLevelEncryptionConfig2020_05_31 // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFieldLevelEncryptionConfigRequest method. +// req, resp := client.GetFieldLevelEncryptionConfigRequest(params) // -// // Example sending a request using the GetFieldLevelEncryptionConfigRequest method. -// req, resp := client.GetFieldLevelEncryptionConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig func (c *CloudFront) GetFieldLevelEncryptionConfigRequest(input *GetFieldLevelEncryptionConfigInput) (req *request.Request, output *GetFieldLevelEncryptionConfigOutput) { @@ -4246,11 +4245,12 @@ func (c *CloudFront) GetFieldLevelEncryptionConfigRequest(input *GetFieldLevelEn // API operation GetFieldLevelEncryptionConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchFieldLevelEncryptionConfig "NoSuchFieldLevelEncryptionConfig" -// The specified configuration for field-level encryption doesn't exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchFieldLevelEncryptionConfig "NoSuchFieldLevelEncryptionConfig" +// The specified configuration for field-level encryption doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionConfig func (c *CloudFront) GetFieldLevelEncryptionConfig(input *GetFieldLevelEncryptionConfigInput) (*GetFieldLevelEncryptionConfigOutput, error) { @@ -4290,14 +4290,13 @@ const opGetFieldLevelEncryptionProfile = "GetFieldLevelEncryptionProfile2020_05_ // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFieldLevelEncryptionProfileRequest method. +// req, resp := client.GetFieldLevelEncryptionProfileRequest(params) // -// // Example sending a request using the GetFieldLevelEncryptionProfileRequest method. -// req, resp := client.GetFieldLevelEncryptionProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile func (c *CloudFront) GetFieldLevelEncryptionProfileRequest(input *GetFieldLevelEncryptionProfileInput) (req *request.Request, output *GetFieldLevelEncryptionProfileOutput) { @@ -4328,11 +4327,12 @@ func (c *CloudFront) GetFieldLevelEncryptionProfileRequest(input *GetFieldLevelE // API operation GetFieldLevelEncryptionProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchFieldLevelEncryptionProfile "NoSuchFieldLevelEncryptionProfile" -// The specified profile for field-level encryption doesn't exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchFieldLevelEncryptionProfile "NoSuchFieldLevelEncryptionProfile" +// The specified profile for field-level encryption doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfile func (c *CloudFront) GetFieldLevelEncryptionProfile(input *GetFieldLevelEncryptionProfileInput) (*GetFieldLevelEncryptionProfileOutput, error) { @@ -4372,14 +4372,13 @@ const opGetFieldLevelEncryptionProfileConfig = "GetFieldLevelEncryptionProfileCo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFieldLevelEncryptionProfileConfigRequest method. +// req, resp := client.GetFieldLevelEncryptionProfileConfigRequest(params) // -// // Example sending a request using the GetFieldLevelEncryptionProfileConfigRequest method. -// req, resp := client.GetFieldLevelEncryptionProfileConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig func (c *CloudFront) GetFieldLevelEncryptionProfileConfigRequest(input *GetFieldLevelEncryptionProfileConfigInput) (req *request.Request, output *GetFieldLevelEncryptionProfileConfigOutput) { @@ -4410,11 +4409,12 @@ func (c *CloudFront) GetFieldLevelEncryptionProfileConfigRequest(input *GetField // API operation GetFieldLevelEncryptionProfileConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchFieldLevelEncryptionProfile "NoSuchFieldLevelEncryptionProfile" -// The specified profile for field-level encryption doesn't exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchFieldLevelEncryptionProfile "NoSuchFieldLevelEncryptionProfile" +// The specified profile for field-level encryption doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFieldLevelEncryptionProfileConfig func (c *CloudFront) GetFieldLevelEncryptionProfileConfig(input *GetFieldLevelEncryptionProfileConfigInput) (*GetFieldLevelEncryptionProfileConfigOutput, error) { @@ -4454,14 +4454,13 @@ const opGetFunction = "GetFunction2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFunctionRequest method. +// req, resp := client.GetFunctionRequest(params) // -// // Example sending a request using the GetFunctionRequest method. -// req, resp := client.GetFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFunction func (c *CloudFront) GetFunctionRequest(input *GetFunctionInput) (req *request.Request, output *GetFunctionOutput) { @@ -4496,11 +4495,12 @@ func (c *CloudFront) GetFunctionRequest(input *GetFunctionInput) (req *request.R // API operation GetFunction for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchFunctionExists "NoSuchFunctionExists" -// The function does not exist. // -// * ErrCodeUnsupportedOperation "UnsupportedOperation" -// This operation is not supported in this region. +// - ErrCodeNoSuchFunctionExists "NoSuchFunctionExists" +// The function does not exist. +// +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetFunction func (c *CloudFront) GetFunction(input *GetFunctionInput) (*GetFunctionOutput, error) { @@ -4540,14 +4540,13 @@ const opGetInvalidation = "GetInvalidation2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInvalidationRequest method. +// req, resp := client.GetInvalidationRequest(params) // -// // Example sending a request using the GetInvalidationRequest method. -// req, resp := client.GetInvalidationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetInvalidation func (c *CloudFront) GetInvalidationRequest(input *GetInvalidationInput) (req *request.Request, output *GetInvalidationOutput) { @@ -4578,14 +4577,15 @@ func (c *CloudFront) GetInvalidationRequest(input *GetInvalidationInput) (req *r // API operation GetInvalidation for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchInvalidation "NoSuchInvalidation" -// The specified invalidation does not exist. // -// * ErrCodeNoSuchDistribution "NoSuchDistribution" -// The specified distribution does not exist. +// - ErrCodeNoSuchInvalidation "NoSuchInvalidation" +// The specified invalidation does not exist. +// +// - ErrCodeNoSuchDistribution "NoSuchDistribution" +// The specified distribution does not exist. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetInvalidation func (c *CloudFront) GetInvalidation(input *GetInvalidationInput) (*GetInvalidationOutput, error) { @@ -4625,14 +4625,13 @@ const opGetKeyGroup = "GetKeyGroup2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetKeyGroupRequest method. +// req, resp := client.GetKeyGroupRequest(params) // -// // Example sending a request using the GetKeyGroupRequest method. -// req, resp := client.GetKeyGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetKeyGroup func (c *CloudFront) GetKeyGroupRequest(input *GetKeyGroupInput) (req *request.Request, output *GetKeyGroupOutput) { @@ -4670,8 +4669,8 @@ func (c *CloudFront) GetKeyGroupRequest(input *GetKeyGroupInput) (req *request.R // API operation GetKeyGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchResource "NoSuchResource" -// A resource that was specified is not valid. +// - ErrCodeNoSuchResource "NoSuchResource" +// A resource that was specified is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetKeyGroup func (c *CloudFront) GetKeyGroup(input *GetKeyGroupInput) (*GetKeyGroupOutput, error) { @@ -4711,14 +4710,13 @@ const opGetKeyGroupConfig = "GetKeyGroupConfig2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetKeyGroupConfigRequest method. +// req, resp := client.GetKeyGroupConfigRequest(params) // -// // Example sending a request using the GetKeyGroupConfigRequest method. -// req, resp := client.GetKeyGroupConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetKeyGroupConfig func (c *CloudFront) GetKeyGroupConfigRequest(input *GetKeyGroupConfigInput) (req *request.Request, output *GetKeyGroupConfigOutput) { @@ -4755,8 +4753,8 @@ func (c *CloudFront) GetKeyGroupConfigRequest(input *GetKeyGroupConfigInput) (re // API operation GetKeyGroupConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchResource "NoSuchResource" -// A resource that was specified is not valid. +// - ErrCodeNoSuchResource "NoSuchResource" +// A resource that was specified is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetKeyGroupConfig func (c *CloudFront) GetKeyGroupConfig(input *GetKeyGroupConfigInput) (*GetKeyGroupConfigOutput, error) { @@ -4796,14 +4794,13 @@ const opGetMonitoringSubscription = "GetMonitoringSubscription2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMonitoringSubscriptionRequest method. +// req, resp := client.GetMonitoringSubscriptionRequest(params) // -// // Example sending a request using the GetMonitoringSubscriptionRequest method. -// req, resp := client.GetMonitoringSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetMonitoringSubscription func (c *CloudFront) GetMonitoringSubscriptionRequest(input *GetMonitoringSubscriptionInput) (req *request.Request, output *GetMonitoringSubscriptionOutput) { @@ -4835,14 +4832,15 @@ func (c *CloudFront) GetMonitoringSubscriptionRequest(input *GetMonitoringSubscr // API operation GetMonitoringSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchDistribution "NoSuchDistribution" -// The specified distribution does not exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeUnsupportedOperation "UnsupportedOperation" -// This operation is not supported in this region. +// - ErrCodeNoSuchDistribution "NoSuchDistribution" +// The specified distribution does not exist. +// +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetMonitoringSubscription func (c *CloudFront) GetMonitoringSubscription(input *GetMonitoringSubscriptionInput) (*GetMonitoringSubscriptionOutput, error) { @@ -4882,14 +4880,13 @@ const opGetOriginRequestPolicy = "GetOriginRequestPolicy2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOriginRequestPolicyRequest method. +// req, resp := client.GetOriginRequestPolicyRequest(params) // -// // Example sending a request using the GetOriginRequestPolicyRequest method. -// req, resp := client.GetOriginRequestPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicy func (c *CloudFront) GetOriginRequestPolicyRequest(input *GetOriginRequestPolicyInput) (req *request.Request, output *GetOriginRequestPolicyOutput) { @@ -4912,9 +4909,9 @@ func (c *CloudFront) GetOriginRequestPolicyRequest(input *GetOriginRequestPolicy // // Gets an origin request policy, including the following metadata: // -// * The policy’s identifier. +// - The policy’s identifier. // -// * The date and time when the policy was last modified. +// - The date and time when the policy was last modified. // // To get an origin request policy, you must provide the policy’s identifier. // If the origin request policy is attached to a distribution’s cache behavior, @@ -4930,11 +4927,12 @@ func (c *CloudFront) GetOriginRequestPolicyRequest(input *GetOriginRequestPolicy // API operation GetOriginRequestPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" -// The origin request policy does not exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" +// The origin request policy does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicy func (c *CloudFront) GetOriginRequestPolicy(input *GetOriginRequestPolicyInput) (*GetOriginRequestPolicyOutput, error) { @@ -4974,14 +4972,13 @@ const opGetOriginRequestPolicyConfig = "GetOriginRequestPolicyConfig2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOriginRequestPolicyConfigRequest method. +// req, resp := client.GetOriginRequestPolicyConfigRequest(params) // -// // Example sending a request using the GetOriginRequestPolicyConfigRequest method. -// req, resp := client.GetOriginRequestPolicyConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicyConfig func (c *CloudFront) GetOriginRequestPolicyConfigRequest(input *GetOriginRequestPolicyConfigInput) (req *request.Request, output *GetOriginRequestPolicyConfigOutput) { @@ -5018,11 +5015,12 @@ func (c *CloudFront) GetOriginRequestPolicyConfigRequest(input *GetOriginRequest // API operation GetOriginRequestPolicyConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" -// The origin request policy does not exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" +// The origin request policy does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetOriginRequestPolicyConfig func (c *CloudFront) GetOriginRequestPolicyConfig(input *GetOriginRequestPolicyConfigInput) (*GetOriginRequestPolicyConfigOutput, error) { @@ -5062,14 +5060,13 @@ const opGetPublicKey = "GetPublicKey2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPublicKeyRequest method. +// req, resp := client.GetPublicKeyRequest(params) // -// // Example sending a request using the GetPublicKeyRequest method. -// req, resp := client.GetPublicKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKey func (c *CloudFront) GetPublicKeyRequest(input *GetPublicKeyInput) (req *request.Request, output *GetPublicKeyOutput) { @@ -5100,11 +5097,12 @@ func (c *CloudFront) GetPublicKeyRequest(input *GetPublicKeyInput) (req *request // API operation GetPublicKey for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchPublicKey "NoSuchPublicKey" -// The specified public key doesn't exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchPublicKey "NoSuchPublicKey" +// The specified public key doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKey func (c *CloudFront) GetPublicKey(input *GetPublicKeyInput) (*GetPublicKeyOutput, error) { @@ -5144,14 +5142,13 @@ const opGetPublicKeyConfig = "GetPublicKeyConfig2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPublicKeyConfigRequest method. +// req, resp := client.GetPublicKeyConfigRequest(params) // -// // Example sending a request using the GetPublicKeyConfigRequest method. -// req, resp := client.GetPublicKeyConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKeyConfig func (c *CloudFront) GetPublicKeyConfigRequest(input *GetPublicKeyConfigInput) (req *request.Request, output *GetPublicKeyConfigOutput) { @@ -5182,11 +5179,12 @@ func (c *CloudFront) GetPublicKeyConfigRequest(input *GetPublicKeyConfigInput) ( // API operation GetPublicKeyConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchPublicKey "NoSuchPublicKey" -// The specified public key doesn't exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchPublicKey "NoSuchPublicKey" +// The specified public key doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetPublicKeyConfig func (c *CloudFront) GetPublicKeyConfig(input *GetPublicKeyConfigInput) (*GetPublicKeyConfigOutput, error) { @@ -5226,14 +5224,13 @@ const opGetRealtimeLogConfig = "GetRealtimeLogConfig2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRealtimeLogConfigRequest method. +// req, resp := client.GetRealtimeLogConfigRequest(params) // -// // Example sending a request using the GetRealtimeLogConfigRequest method. -// req, resp := client.GetRealtimeLogConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetRealtimeLogConfig func (c *CloudFront) GetRealtimeLogConfigRequest(input *GetRealtimeLogConfigInput) (req *request.Request, output *GetRealtimeLogConfigOutput) { @@ -5269,14 +5266,15 @@ func (c *CloudFront) GetRealtimeLogConfigRequest(input *GetRealtimeLogConfigInpu // API operation GetRealtimeLogConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchRealtimeLogConfig "NoSuchRealtimeLogConfig" -// The real-time log configuration does not exist. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeNoSuchRealtimeLogConfig "NoSuchRealtimeLogConfig" +// The real-time log configuration does not exist. +// +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetRealtimeLogConfig func (c *CloudFront) GetRealtimeLogConfig(input *GetRealtimeLogConfigInput) (*GetRealtimeLogConfigOutput, error) { @@ -5316,14 +5314,13 @@ const opGetResponseHeadersPolicy = "GetResponseHeadersPolicy2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResponseHeadersPolicyRequest method. +// req, resp := client.GetResponseHeadersPolicyRequest(params) // -// // Example sending a request using the GetResponseHeadersPolicyRequest method. -// req, resp := client.GetResponseHeadersPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResponseHeadersPolicy func (c *CloudFront) GetResponseHeadersPolicyRequest(input *GetResponseHeadersPolicyInput) (req *request.Request, output *GetResponseHeadersPolicyOutput) { @@ -5361,11 +5358,12 @@ func (c *CloudFront) GetResponseHeadersPolicyRequest(input *GetResponseHeadersPo // API operation GetResponseHeadersPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" -// The response headers policy does not exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" +// The response headers policy does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResponseHeadersPolicy func (c *CloudFront) GetResponseHeadersPolicy(input *GetResponseHeadersPolicyInput) (*GetResponseHeadersPolicyOutput, error) { @@ -5405,14 +5403,13 @@ const opGetResponseHeadersPolicyConfig = "GetResponseHeadersPolicyConfig2020_05_ // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResponseHeadersPolicyConfigRequest method. +// req, resp := client.GetResponseHeadersPolicyConfigRequest(params) // -// // Example sending a request using the GetResponseHeadersPolicyConfigRequest method. -// req, resp := client.GetResponseHeadersPolicyConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResponseHeadersPolicyConfig func (c *CloudFront) GetResponseHeadersPolicyConfigRequest(input *GetResponseHeadersPolicyConfigInput) (req *request.Request, output *GetResponseHeadersPolicyConfigOutput) { @@ -5449,11 +5446,12 @@ func (c *CloudFront) GetResponseHeadersPolicyConfigRequest(input *GetResponseHea // API operation GetResponseHeadersPolicyConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" -// The response headers policy does not exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" +// The response headers policy does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResponseHeadersPolicyConfig func (c *CloudFront) GetResponseHeadersPolicyConfig(input *GetResponseHeadersPolicyConfigInput) (*GetResponseHeadersPolicyConfigOutput, error) { @@ -5493,14 +5491,13 @@ const opGetStreamingDistribution = "GetStreamingDistribution2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStreamingDistributionRequest method. +// req, resp := client.GetStreamingDistributionRequest(params) // -// // Example sending a request using the GetStreamingDistributionRequest method. -// req, resp := client.GetStreamingDistributionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistribution func (c *CloudFront) GetStreamingDistributionRequest(input *GetStreamingDistributionInput) (req *request.Request, output *GetStreamingDistributionOutput) { @@ -5532,11 +5529,12 @@ func (c *CloudFront) GetStreamingDistributionRequest(input *GetStreamingDistribu // API operation GetStreamingDistribution for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchStreamingDistribution "NoSuchStreamingDistribution" -// The specified streaming distribution does not exist. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeNoSuchStreamingDistribution "NoSuchStreamingDistribution" +// The specified streaming distribution does not exist. +// +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistribution func (c *CloudFront) GetStreamingDistribution(input *GetStreamingDistributionInput) (*GetStreamingDistributionOutput, error) { @@ -5576,14 +5574,13 @@ const opGetStreamingDistributionConfig = "GetStreamingDistributionConfig2020_05_ // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStreamingDistributionConfigRequest method. +// req, resp := client.GetStreamingDistributionConfigRequest(params) // -// // Example sending a request using the GetStreamingDistributionConfigRequest method. -// req, resp := client.GetStreamingDistributionConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistributionConfig func (c *CloudFront) GetStreamingDistributionConfigRequest(input *GetStreamingDistributionConfigInput) (req *request.Request, output *GetStreamingDistributionConfigOutput) { @@ -5614,11 +5611,12 @@ func (c *CloudFront) GetStreamingDistributionConfigRequest(input *GetStreamingDi // API operation GetStreamingDistributionConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchStreamingDistribution "NoSuchStreamingDistribution" -// The specified streaming distribution does not exist. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeNoSuchStreamingDistribution "NoSuchStreamingDistribution" +// The specified streaming distribution does not exist. +// +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetStreamingDistributionConfig func (c *CloudFront) GetStreamingDistributionConfig(input *GetStreamingDistributionConfigInput) (*GetStreamingDistributionConfigOutput, error) { @@ -5658,14 +5656,13 @@ const opListCachePolicies = "ListCachePolicies2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCachePoliciesRequest method. +// req, resp := client.ListCachePoliciesRequest(params) // -// // Example sending a request using the ListCachePoliciesRequest method. -// req, resp := client.ListCachePoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCachePolicies func (c *CloudFront) ListCachePoliciesRequest(input *ListCachePoliciesInput) (req *request.Request, output *ListCachePoliciesOutput) { @@ -5706,14 +5703,15 @@ func (c *CloudFront) ListCachePoliciesRequest(input *ListCachePoliciesInput) (re // API operation ListCachePolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" -// The cache policy does not exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" +// The cache policy does not exist. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCachePolicies func (c *CloudFront) ListCachePolicies(input *ListCachePoliciesInput) (*ListCachePoliciesOutput, error) { @@ -5753,14 +5751,13 @@ const opListCloudFrontOriginAccessIdentities = "ListCloudFrontOriginAccessIdenti // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCloudFrontOriginAccessIdentitiesRequest method. +// req, resp := client.ListCloudFrontOriginAccessIdentitiesRequest(params) // -// // Example sending a request using the ListCloudFrontOriginAccessIdentitiesRequest method. -// req, resp := client.ListCloudFrontOriginAccessIdentitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities func (c *CloudFront) ListCloudFrontOriginAccessIdentitiesRequest(input *ListCloudFrontOriginAccessIdentitiesInput) (req *request.Request, output *ListCloudFrontOriginAccessIdentitiesOutput) { @@ -5797,8 +5794,8 @@ func (c *CloudFront) ListCloudFrontOriginAccessIdentitiesRequest(input *ListClou // API operation ListCloudFrontOriginAccessIdentities for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListCloudFrontOriginAccessIdentities func (c *CloudFront) ListCloudFrontOriginAccessIdentities(input *ListCloudFrontOriginAccessIdentitiesInput) (*ListCloudFrontOriginAccessIdentitiesOutput, error) { @@ -5830,15 +5827,14 @@ func (c *CloudFront) ListCloudFrontOriginAccessIdentitiesWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCloudFrontOriginAccessIdentities operation. -// pageNum := 0 -// err := client.ListCloudFrontOriginAccessIdentitiesPages(params, -// func(page *cloudfront.ListCloudFrontOriginAccessIdentitiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCloudFrontOriginAccessIdentities operation. +// pageNum := 0 +// err := client.ListCloudFrontOriginAccessIdentitiesPages(params, +// func(page *cloudfront.ListCloudFrontOriginAccessIdentitiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFront) ListCloudFrontOriginAccessIdentitiesPages(input *ListCloudFrontOriginAccessIdentitiesInput, fn func(*ListCloudFrontOriginAccessIdentitiesOutput, bool) bool) error { return c.ListCloudFrontOriginAccessIdentitiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5890,14 +5886,13 @@ const opListConflictingAliases = "ListConflictingAliases2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConflictingAliasesRequest method. +// req, resp := client.ListConflictingAliasesRequest(params) // -// // Example sending a request using the ListConflictingAliasesRequest method. -// req, resp := client.ListConflictingAliasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListConflictingAliases func (c *CloudFront) ListConflictingAliasesRequest(input *ListConflictingAliasesInput) (req *request.Request, output *ListConflictingAliasesOutput) { @@ -5954,11 +5949,12 @@ func (c *CloudFront) ListConflictingAliasesRequest(input *ListConflictingAliases // API operation ListConflictingAliases for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. // -// * ErrCodeNoSuchDistribution "NoSuchDistribution" -// The specified distribution does not exist. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. +// +// - ErrCodeNoSuchDistribution "NoSuchDistribution" +// The specified distribution does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListConflictingAliases func (c *CloudFront) ListConflictingAliases(input *ListConflictingAliasesInput) (*ListConflictingAliasesOutput, error) { @@ -5998,14 +5994,13 @@ const opListDistributions = "ListDistributions2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDistributionsRequest method. +// req, resp := client.ListDistributionsRequest(params) // -// // Example sending a request using the ListDistributionsRequest method. -// req, resp := client.ListDistributionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributions func (c *CloudFront) ListDistributionsRequest(input *ListDistributionsInput) (req *request.Request, output *ListDistributionsOutput) { @@ -6042,8 +6037,8 @@ func (c *CloudFront) ListDistributionsRequest(input *ListDistributionsInput) (re // API operation ListDistributions for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributions func (c *CloudFront) ListDistributions(input *ListDistributionsInput) (*ListDistributionsOutput, error) { @@ -6075,15 +6070,14 @@ func (c *CloudFront) ListDistributionsWithContext(ctx aws.Context, input *ListDi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDistributions operation. -// pageNum := 0 -// err := client.ListDistributionsPages(params, -// func(page *cloudfront.ListDistributionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDistributions operation. +// pageNum := 0 +// err := client.ListDistributionsPages(params, +// func(page *cloudfront.ListDistributionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFront) ListDistributionsPages(input *ListDistributionsInput, fn func(*ListDistributionsOutput, bool) bool) error { return c.ListDistributionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6135,14 +6129,13 @@ const opListDistributionsByCachePolicyId = "ListDistributionsByCachePolicyId2020 // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDistributionsByCachePolicyIdRequest method. +// req, resp := client.ListDistributionsByCachePolicyIdRequest(params) // -// // Example sending a request using the ListDistributionsByCachePolicyIdRequest method. -// req, resp := client.ListDistributionsByCachePolicyIdRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByCachePolicyId func (c *CloudFront) ListDistributionsByCachePolicyIdRequest(input *ListDistributionsByCachePolicyIdInput) (req *request.Request, output *ListDistributionsByCachePolicyIdOutput) { @@ -6180,14 +6173,15 @@ func (c *CloudFront) ListDistributionsByCachePolicyIdRequest(input *ListDistribu // API operation ListDistributionsByCachePolicyId for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" -// The cache policy does not exist. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" +// The cache policy does not exist. +// +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByCachePolicyId func (c *CloudFront) ListDistributionsByCachePolicyId(input *ListDistributionsByCachePolicyIdInput) (*ListDistributionsByCachePolicyIdOutput, error) { @@ -6227,14 +6221,13 @@ const opListDistributionsByKeyGroup = "ListDistributionsByKeyGroup2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDistributionsByKeyGroupRequest method. +// req, resp := client.ListDistributionsByKeyGroupRequest(params) // -// // Example sending a request using the ListDistributionsByKeyGroupRequest method. -// req, resp := client.ListDistributionsByKeyGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByKeyGroup func (c *CloudFront) ListDistributionsByKeyGroupRequest(input *ListDistributionsByKeyGroupInput) (req *request.Request, output *ListDistributionsByKeyGroupOutput) { @@ -6272,11 +6265,12 @@ func (c *CloudFront) ListDistributionsByKeyGroupRequest(input *ListDistributions // API operation ListDistributionsByKeyGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchResource "NoSuchResource" -// A resource that was specified is not valid. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeNoSuchResource "NoSuchResource" +// A resource that was specified is not valid. +// +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByKeyGroup func (c *CloudFront) ListDistributionsByKeyGroup(input *ListDistributionsByKeyGroupInput) (*ListDistributionsByKeyGroupOutput, error) { @@ -6316,14 +6310,13 @@ const opListDistributionsByOriginRequestPolicyId = "ListDistributionsByOriginReq // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDistributionsByOriginRequestPolicyIdRequest method. +// req, resp := client.ListDistributionsByOriginRequestPolicyIdRequest(params) // -// // Example sending a request using the ListDistributionsByOriginRequestPolicyIdRequest method. -// req, resp := client.ListDistributionsByOriginRequestPolicyIdRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId func (c *CloudFront) ListDistributionsByOriginRequestPolicyIdRequest(input *ListDistributionsByOriginRequestPolicyIdInput) (req *request.Request, output *ListDistributionsByOriginRequestPolicyIdOutput) { @@ -6361,14 +6354,15 @@ func (c *CloudFront) ListDistributionsByOriginRequestPolicyIdRequest(input *List // API operation ListDistributionsByOriginRequestPolicyId for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" -// The origin request policy does not exist. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" +// The origin request policy does not exist. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. +// +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOriginRequestPolicyId func (c *CloudFront) ListDistributionsByOriginRequestPolicyId(input *ListDistributionsByOriginRequestPolicyIdInput) (*ListDistributionsByOriginRequestPolicyIdOutput, error) { @@ -6408,14 +6402,13 @@ const opListDistributionsByRealtimeLogConfig = "ListDistributionsByRealtimeLogCo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDistributionsByRealtimeLogConfigRequest method. +// req, resp := client.ListDistributionsByRealtimeLogConfigRequest(params) // -// // Example sending a request using the ListDistributionsByRealtimeLogConfigRequest method. -// req, resp := client.ListDistributionsByRealtimeLogConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig func (c *CloudFront) ListDistributionsByRealtimeLogConfigRequest(input *ListDistributionsByRealtimeLogConfigInput) (req *request.Request, output *ListDistributionsByRealtimeLogConfigOutput) { @@ -6458,8 +6451,8 @@ func (c *CloudFront) ListDistributionsByRealtimeLogConfigRequest(input *ListDist // API operation ListDistributionsByRealtimeLogConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByRealtimeLogConfig func (c *CloudFront) ListDistributionsByRealtimeLogConfig(input *ListDistributionsByRealtimeLogConfigInput) (*ListDistributionsByRealtimeLogConfigOutput, error) { @@ -6499,14 +6492,13 @@ const opListDistributionsByResponseHeadersPolicyId = "ListDistributionsByRespons // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDistributionsByResponseHeadersPolicyIdRequest method. +// req, resp := client.ListDistributionsByResponseHeadersPolicyIdRequest(params) // -// // Example sending a request using the ListDistributionsByResponseHeadersPolicyIdRequest method. -// req, resp := client.ListDistributionsByResponseHeadersPolicyIdRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId func (c *CloudFront) ListDistributionsByResponseHeadersPolicyIdRequest(input *ListDistributionsByResponseHeadersPolicyIdInput) (req *request.Request, output *ListDistributionsByResponseHeadersPolicyIdOutput) { @@ -6544,14 +6536,15 @@ func (c *CloudFront) ListDistributionsByResponseHeadersPolicyIdRequest(input *Li // API operation ListDistributionsByResponseHeadersPolicyId for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" -// The response headers policy does not exist. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" +// The response headers policy does not exist. +// +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByResponseHeadersPolicyId func (c *CloudFront) ListDistributionsByResponseHeadersPolicyId(input *ListDistributionsByResponseHeadersPolicyIdInput) (*ListDistributionsByResponseHeadersPolicyIdOutput, error) { @@ -6591,14 +6584,13 @@ const opListDistributionsByWebACLId = "ListDistributionsByWebACLId2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDistributionsByWebACLIdRequest method. +// req, resp := client.ListDistributionsByWebACLIdRequest(params) // -// // Example sending a request using the ListDistributionsByWebACLIdRequest method. -// req, resp := client.ListDistributionsByWebACLIdRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByWebACLId func (c *CloudFront) ListDistributionsByWebACLIdRequest(input *ListDistributionsByWebACLIdInput) (req *request.Request, output *ListDistributionsByWebACLIdOutput) { @@ -6629,14 +6621,15 @@ func (c *CloudFront) ListDistributionsByWebACLIdRequest(input *ListDistributions // API operation ListDistributionsByWebACLId for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. // -// * ErrCodeInvalidWebACLId "InvalidWebACLId" -// A web ACL ID specified is not valid. To specify a web ACL created using the -// latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. -// To specify a web ACL created using WAF Classic, use the ACL ID, for example -// 473e64fd-f30b-4765-81a0-62ad96dd167a. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. +// +// - ErrCodeInvalidWebACLId "InvalidWebACLId" +// A web ACL ID specified is not valid. To specify a web ACL created using the +// latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. +// To specify a web ACL created using WAF Classic, use the ACL ID, for example +// 473e64fd-f30b-4765-81a0-62ad96dd167a. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByWebACLId func (c *CloudFront) ListDistributionsByWebACLId(input *ListDistributionsByWebACLIdInput) (*ListDistributionsByWebACLIdOutput, error) { @@ -6676,14 +6669,13 @@ const opListFieldLevelEncryptionConfigs = "ListFieldLevelEncryptionConfigs2020_0 // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFieldLevelEncryptionConfigsRequest method. +// req, resp := client.ListFieldLevelEncryptionConfigsRequest(params) // -// // Example sending a request using the ListFieldLevelEncryptionConfigsRequest method. -// req, resp := client.ListFieldLevelEncryptionConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs func (c *CloudFront) ListFieldLevelEncryptionConfigsRequest(input *ListFieldLevelEncryptionConfigsInput) (req *request.Request, output *ListFieldLevelEncryptionConfigsOutput) { @@ -6715,8 +6707,8 @@ func (c *CloudFront) ListFieldLevelEncryptionConfigsRequest(input *ListFieldLeve // API operation ListFieldLevelEncryptionConfigs for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionConfigs func (c *CloudFront) ListFieldLevelEncryptionConfigs(input *ListFieldLevelEncryptionConfigsInput) (*ListFieldLevelEncryptionConfigsOutput, error) { @@ -6756,14 +6748,13 @@ const opListFieldLevelEncryptionProfiles = "ListFieldLevelEncryptionProfiles2020 // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFieldLevelEncryptionProfilesRequest method. +// req, resp := client.ListFieldLevelEncryptionProfilesRequest(params) // -// // Example sending a request using the ListFieldLevelEncryptionProfilesRequest method. -// req, resp := client.ListFieldLevelEncryptionProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles func (c *CloudFront) ListFieldLevelEncryptionProfilesRequest(input *ListFieldLevelEncryptionProfilesInput) (req *request.Request, output *ListFieldLevelEncryptionProfilesOutput) { @@ -6795,8 +6786,8 @@ func (c *CloudFront) ListFieldLevelEncryptionProfilesRequest(input *ListFieldLev // API operation ListFieldLevelEncryptionProfiles for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFieldLevelEncryptionProfiles func (c *CloudFront) ListFieldLevelEncryptionProfiles(input *ListFieldLevelEncryptionProfilesInput) (*ListFieldLevelEncryptionProfilesOutput, error) { @@ -6836,14 +6827,13 @@ const opListFunctions = "ListFunctions2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFunctionsRequest method. +// req, resp := client.ListFunctionsRequest(params) // -// // Example sending a request using the ListFunctionsRequest method. -// req, resp := client.ListFunctionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFunctions func (c *CloudFront) ListFunctionsRequest(input *ListFunctionsInput) (req *request.Request, output *ListFunctionsOutput) { @@ -6883,11 +6873,12 @@ func (c *CloudFront) ListFunctionsRequest(input *ListFunctionsInput) (req *reque // API operation ListFunctions for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. // -// * ErrCodeUnsupportedOperation "UnsupportedOperation" -// This operation is not supported in this region. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. +// +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListFunctions func (c *CloudFront) ListFunctions(input *ListFunctionsInput) (*ListFunctionsOutput, error) { @@ -6927,14 +6918,13 @@ const opListInvalidations = "ListInvalidations2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInvalidationsRequest method. +// req, resp := client.ListInvalidationsRequest(params) // -// // Example sending a request using the ListInvalidationsRequest method. -// req, resp := client.ListInvalidationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListInvalidations func (c *CloudFront) ListInvalidationsRequest(input *ListInvalidationsInput) (req *request.Request, output *ListInvalidationsOutput) { @@ -6971,14 +6961,15 @@ func (c *CloudFront) ListInvalidationsRequest(input *ListInvalidationsInput) (re // API operation ListInvalidations for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. // -// * ErrCodeNoSuchDistribution "NoSuchDistribution" -// The specified distribution does not exist. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeNoSuchDistribution "NoSuchDistribution" +// The specified distribution does not exist. +// +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListInvalidations func (c *CloudFront) ListInvalidations(input *ListInvalidationsInput) (*ListInvalidationsOutput, error) { @@ -7010,15 +7001,14 @@ func (c *CloudFront) ListInvalidationsWithContext(ctx aws.Context, input *ListIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInvalidations operation. -// pageNum := 0 -// err := client.ListInvalidationsPages(params, -// func(page *cloudfront.ListInvalidationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInvalidations operation. +// pageNum := 0 +// err := client.ListInvalidationsPages(params, +// func(page *cloudfront.ListInvalidationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFront) ListInvalidationsPages(input *ListInvalidationsInput, fn func(*ListInvalidationsOutput, bool) bool) error { return c.ListInvalidationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7070,14 +7060,13 @@ const opListKeyGroups = "ListKeyGroups2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListKeyGroupsRequest method. +// req, resp := client.ListKeyGroupsRequest(params) // -// // Example sending a request using the ListKeyGroupsRequest method. -// req, resp := client.ListKeyGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListKeyGroups func (c *CloudFront) ListKeyGroupsRequest(input *ListKeyGroupsInput) (req *request.Request, output *ListKeyGroupsOutput) { @@ -7114,8 +7103,8 @@ func (c *CloudFront) ListKeyGroupsRequest(input *ListKeyGroupsInput) (req *reque // API operation ListKeyGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListKeyGroups func (c *CloudFront) ListKeyGroups(input *ListKeyGroupsInput) (*ListKeyGroupsOutput, error) { @@ -7155,14 +7144,13 @@ const opListOriginRequestPolicies = "ListOriginRequestPolicies2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOriginRequestPoliciesRequest method. +// req, resp := client.ListOriginRequestPoliciesRequest(params) // -// // Example sending a request using the ListOriginRequestPoliciesRequest method. -// req, resp := client.ListOriginRequestPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListOriginRequestPolicies func (c *CloudFront) ListOriginRequestPoliciesRequest(input *ListOriginRequestPoliciesInput) (req *request.Request, output *ListOriginRequestPoliciesOutput) { @@ -7203,14 +7191,15 @@ func (c *CloudFront) ListOriginRequestPoliciesRequest(input *ListOriginRequestPo // API operation ListOriginRequestPolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" -// The origin request policy does not exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" +// The origin request policy does not exist. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListOriginRequestPolicies func (c *CloudFront) ListOriginRequestPolicies(input *ListOriginRequestPoliciesInput) (*ListOriginRequestPoliciesOutput, error) { @@ -7250,14 +7239,13 @@ const opListPublicKeys = "ListPublicKeys2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPublicKeysRequest method. +// req, resp := client.ListPublicKeysRequest(params) // -// // Example sending a request using the ListPublicKeysRequest method. -// req, resp := client.ListPublicKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListPublicKeys func (c *CloudFront) ListPublicKeysRequest(input *ListPublicKeysInput) (req *request.Request, output *ListPublicKeysOutput) { @@ -7288,8 +7276,8 @@ func (c *CloudFront) ListPublicKeysRequest(input *ListPublicKeysInput) (req *req // API operation ListPublicKeys for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListPublicKeys func (c *CloudFront) ListPublicKeys(input *ListPublicKeysInput) (*ListPublicKeysOutput, error) { @@ -7329,14 +7317,13 @@ const opListRealtimeLogConfigs = "ListRealtimeLogConfigs2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRealtimeLogConfigsRequest method. +// req, resp := client.ListRealtimeLogConfigsRequest(params) // -// // Example sending a request using the ListRealtimeLogConfigsRequest method. -// req, resp := client.ListRealtimeLogConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListRealtimeLogConfigs func (c *CloudFront) ListRealtimeLogConfigsRequest(input *ListRealtimeLogConfigsInput) (req *request.Request, output *ListRealtimeLogConfigsOutput) { @@ -7373,14 +7360,15 @@ func (c *CloudFront) ListRealtimeLogConfigsRequest(input *ListRealtimeLogConfigs // API operation ListRealtimeLogConfigs for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. +// +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeNoSuchRealtimeLogConfig "NoSuchRealtimeLogConfig" -// The real-time log configuration does not exist. +// - ErrCodeNoSuchRealtimeLogConfig "NoSuchRealtimeLogConfig" +// The real-time log configuration does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListRealtimeLogConfigs func (c *CloudFront) ListRealtimeLogConfigs(input *ListRealtimeLogConfigsInput) (*ListRealtimeLogConfigsOutput, error) { @@ -7420,14 +7408,13 @@ const opListResponseHeadersPolicies = "ListResponseHeadersPolicies2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResponseHeadersPoliciesRequest method. +// req, resp := client.ListResponseHeadersPoliciesRequest(params) // -// // Example sending a request using the ListResponseHeadersPoliciesRequest method. -// req, resp := client.ListResponseHeadersPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListResponseHeadersPolicies func (c *CloudFront) ListResponseHeadersPoliciesRequest(input *ListResponseHeadersPoliciesInput) (req *request.Request, output *ListResponseHeadersPoliciesOutput) { @@ -7468,14 +7455,15 @@ func (c *CloudFront) ListResponseHeadersPoliciesRequest(input *ListResponseHeade // API operation ListResponseHeadersPolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" -// The response headers policy does not exist. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" +// The response headers policy does not exist. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListResponseHeadersPolicies func (c *CloudFront) ListResponseHeadersPolicies(input *ListResponseHeadersPoliciesInput) (*ListResponseHeadersPoliciesOutput, error) { @@ -7515,14 +7503,13 @@ const opListStreamingDistributions = "ListStreamingDistributions2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStreamingDistributionsRequest method. +// req, resp := client.ListStreamingDistributionsRequest(params) // -// // Example sending a request using the ListStreamingDistributionsRequest method. -// req, resp := client.ListStreamingDistributionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListStreamingDistributions func (c *CloudFront) ListStreamingDistributionsRequest(input *ListStreamingDistributionsInput) (req *request.Request, output *ListStreamingDistributionsOutput) { @@ -7559,8 +7546,8 @@ func (c *CloudFront) ListStreamingDistributionsRequest(input *ListStreamingDistr // API operation ListStreamingDistributions for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListStreamingDistributions func (c *CloudFront) ListStreamingDistributions(input *ListStreamingDistributionsInput) (*ListStreamingDistributionsOutput, error) { @@ -7592,15 +7579,14 @@ func (c *CloudFront) ListStreamingDistributionsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStreamingDistributions operation. -// pageNum := 0 -// err := client.ListStreamingDistributionsPages(params, -// func(page *cloudfront.ListStreamingDistributionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStreamingDistributions operation. +// pageNum := 0 +// err := client.ListStreamingDistributionsPages(params, +// func(page *cloudfront.ListStreamingDistributionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudFront) ListStreamingDistributionsPages(input *ListStreamingDistributionsInput, fn func(*ListStreamingDistributionsOutput, bool) bool) error { return c.ListStreamingDistributionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7652,14 +7638,13 @@ const opListTagsForResource = "ListTagsForResource2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListTagsForResource func (c *CloudFront) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -7690,17 +7675,18 @@ func (c *CloudFront) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeInvalidTagging "InvalidTagging" -// The tagging specified is not valid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeNoSuchResource "NoSuchResource" -// A resource that was specified is not valid. +// - ErrCodeInvalidTagging "InvalidTagging" +// The tagging specified is not valid. +// +// - ErrCodeNoSuchResource "NoSuchResource" +// A resource that was specified is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListTagsForResource func (c *CloudFront) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -7740,14 +7726,13 @@ const opPublishFunction = "PublishFunction2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PublishFunctionRequest method. +// req, resp := client.PublishFunctionRequest(params) // -// // Example sending a request using the PublishFunctionRequest method. -// req, resp := client.PublishFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/PublishFunction func (c *CloudFront) PublishFunctionRequest(input *PublishFunctionInput) (req *request.Request, output *PublishFunctionOutput) { @@ -7787,20 +7772,21 @@ func (c *CloudFront) PublishFunctionRequest(input *PublishFunctionInput) (req *r // API operation PublishFunction for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. +// +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeNoSuchFunctionExists "NoSuchFunctionExists" -// The function does not exist. +// - ErrCodeNoSuchFunctionExists "NoSuchFunctionExists" +// The function does not exist. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeUnsupportedOperation "UnsupportedOperation" -// This operation is not supported in this region. +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/PublishFunction func (c *CloudFront) PublishFunction(input *PublishFunctionInput) (*PublishFunctionOutput, error) { @@ -7840,14 +7826,13 @@ const opTagResource = "TagResource2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TagResource func (c *CloudFront) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -7879,17 +7864,18 @@ func (c *CloudFront) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeInvalidTagging "InvalidTagging" -// The tagging specified is not valid. +// - ErrCodeInvalidTagging "InvalidTagging" +// The tagging specified is not valid. // -// * ErrCodeNoSuchResource "NoSuchResource" -// A resource that was specified is not valid. +// - ErrCodeNoSuchResource "NoSuchResource" +// A resource that was specified is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TagResource func (c *CloudFront) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -7929,14 +7915,13 @@ const opTestFunction = "TestFunction2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestFunctionRequest method. +// req, resp := client.TestFunctionRequest(params) // -// // Example sending a request using the TestFunctionRequest method. -// req, resp := client.TestFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TestFunction func (c *CloudFront) TestFunctionRequest(input *TestFunctionInput) (req *request.Request, output *TestFunctionOutput) { @@ -7979,20 +7964,21 @@ func (c *CloudFront) TestFunctionRequest(input *TestFunctionInput) (req *request // API operation TestFunction for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeNoSuchFunctionExists "NoSuchFunctionExists" -// The function does not exist. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeTestFunctionFailed "TestFunctionFailed" -// The CloudFront function failed. +// - ErrCodeNoSuchFunctionExists "NoSuchFunctionExists" +// The function does not exist. // -// * ErrCodeUnsupportedOperation "UnsupportedOperation" -// This operation is not supported in this region. +// - ErrCodeTestFunctionFailed "TestFunctionFailed" +// The CloudFront function failed. +// +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TestFunction func (c *CloudFront) TestFunction(input *TestFunctionInput) (*TestFunctionOutput, error) { @@ -8032,14 +8018,13 @@ const opUntagResource = "UntagResource2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UntagResource func (c *CloudFront) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -8071,17 +8056,18 @@ func (c *CloudFront) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeInvalidTagging "InvalidTagging" -// The tagging specified is not valid. +// - ErrCodeInvalidTagging "InvalidTagging" +// The tagging specified is not valid. // -// * ErrCodeNoSuchResource "NoSuchResource" -// A resource that was specified is not valid. +// - ErrCodeNoSuchResource "NoSuchResource" +// A resource that was specified is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UntagResource func (c *CloudFront) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -8121,14 +8107,13 @@ const opUpdateCachePolicy = "UpdateCachePolicy2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCachePolicyRequest method. +// req, resp := client.UpdateCachePolicyRequest(params) // -// // Example sending a request using the UpdateCachePolicyRequest method. -// req, resp := client.UpdateCachePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCachePolicy func (c *CloudFront) UpdateCachePolicyRequest(input *UpdateCachePolicyInput) (req *request.Request, output *UpdateCachePolicyOutput) { @@ -8171,45 +8156,46 @@ func (c *CloudFront) UpdateCachePolicyRequest(input *UpdateCachePolicyInput) (re // API operation UpdateCachePolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeIllegalUpdate "IllegalUpdate" -// The update contains modifications that are not allowed. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeIllegalUpdate "IllegalUpdate" +// The update contains modifications that are not allowed. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" -// The cache policy does not exist. +// - ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" +// The cache policy does not exist. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeCachePolicyAlreadyExists "CachePolicyAlreadyExists" -// A cache policy with this name already exists. You must provide a unique name. -// To modify an existing cache policy, use UpdateCachePolicy. +// - ErrCodeCachePolicyAlreadyExists "CachePolicyAlreadyExists" +// A cache policy with this name already exists. You must provide a unique name. +// To modify an existing cache policy, use UpdateCachePolicy. // -// * ErrCodeTooManyHeadersInCachePolicy "TooManyHeadersInCachePolicy" -// The number of headers in the cache policy exceeds the maximum. For more information, -// see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyHeadersInCachePolicy "TooManyHeadersInCachePolicy" +// The number of headers in the cache policy exceeds the maximum. For more information, +// see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyCookiesInCachePolicy "TooManyCookiesInCachePolicy" -// The number of cookies in the cache policy exceeds the maximum. For more information, -// see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyCookiesInCachePolicy "TooManyCookiesInCachePolicy" +// The number of cookies in the cache policy exceeds the maximum. For more information, +// see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyQueryStringsInCachePolicy "TooManyQueryStringsInCachePolicy" -// The number of query strings in the cache policy exceeds the maximum. For -// more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyQueryStringsInCachePolicy "TooManyQueryStringsInCachePolicy" +// The number of query strings in the cache policy exceeds the maximum. For +// more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCachePolicy func (c *CloudFront) UpdateCachePolicy(input *UpdateCachePolicyInput) (*UpdateCachePolicyOutput, error) { @@ -8249,14 +8235,13 @@ const opUpdateCloudFrontOriginAccessIdentity = "UpdateCloudFrontOriginAccessIden // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCloudFrontOriginAccessIdentityRequest method. +// req, resp := client.UpdateCloudFrontOriginAccessIdentityRequest(params) // -// // Example sending a request using the UpdateCloudFrontOriginAccessIdentityRequest method. -// req, resp := client.UpdateCloudFrontOriginAccessIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity func (c *CloudFront) UpdateCloudFrontOriginAccessIdentityRequest(input *UpdateCloudFrontOriginAccessIdentityInput) (req *request.Request, output *UpdateCloudFrontOriginAccessIdentityOutput) { @@ -8287,30 +8272,31 @@ func (c *CloudFront) UpdateCloudFrontOriginAccessIdentityRequest(input *UpdateCl // API operation UpdateCloudFrontOriginAccessIdentity for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeIllegalUpdate "IllegalUpdate" -// The update contains modifications that are not allowed. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeIllegalUpdate "IllegalUpdate" +// The update contains modifications that are not allowed. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeMissingBody "MissingBody" -// This operation requires a body. Ensure that the body is present and the Content-Type -// header is set. +// - ErrCodeMissingBody "MissingBody" +// This operation requires a body. Ensure that the body is present and the Content-Type +// header is set. // -// * ErrCodeNoSuchCloudFrontOriginAccessIdentity "NoSuchCloudFrontOriginAccessIdentity" -// The specified origin access identity does not exist. +// - ErrCodeNoSuchCloudFrontOriginAccessIdentity "NoSuchCloudFrontOriginAccessIdentity" +// The specified origin access identity does not exist. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateCloudFrontOriginAccessIdentity func (c *CloudFront) UpdateCloudFrontOriginAccessIdentity(input *UpdateCloudFrontOriginAccessIdentityInput) (*UpdateCloudFrontOriginAccessIdentityOutput, error) { @@ -8350,14 +8336,13 @@ const opUpdateDistribution = "UpdateDistribution2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDistributionRequest method. +// req, resp := client.UpdateDistributionRequest(params) // -// // Example sending a request using the UpdateDistributionRequest method. -// req, resp := client.UpdateDistributionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateDistribution func (c *CloudFront) UpdateDistributionRequest(input *UpdateDistributionInput) (req *request.Request, output *UpdateDistributionOutput) { @@ -8396,7 +8381,7 @@ func (c *CloudFront) UpdateDistributionRequest(input *UpdateDistributionInput) ( // instead, see Creating a Distribution (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-creating-console.html) // in the Amazon CloudFront Developer Guide. // -// To update a web distribution using the CloudFront API +// # To update a web distribution using the CloudFront API // // Submit a GetDistributionConfig (https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_GetDistributionConfig.html) // request to get the current configuration and an Etag header for the distribution. @@ -8408,33 +8393,33 @@ func (c *CloudFront) UpdateDistributionRequest(input *UpdateDistributionInput) ( // // When you edit the XML file, be aware of the following: // -// * You must strip out the ETag parameter that is returned. +// - You must strip out the ETag parameter that is returned. // -// * Additional fields are required when you update a distribution. There -// may be fields included in the XML file for features that you haven't configured -// for your distribution. This is expected and required to successfully update -// the distribution. +// - Additional fields are required when you update a distribution. There +// may be fields included in the XML file for features that you haven't configured +// for your distribution. This is expected and required to successfully update +// the distribution. // -// * You can't change the value of CallerReference. If you try to change -// this value, CloudFront returns an IllegalUpdate error. +// - You can't change the value of CallerReference. If you try to change +// this value, CloudFront returns an IllegalUpdate error. // -// * The new configuration replaces the existing configuration; the values -// that you specify in an UpdateDistribution request are not merged into -// your existing configuration. When you add, delete, or replace values in -// an element that allows multiple values (for example, CNAME), you must -// specify all of the values that you want to appear in the updated distribution. -// In addition, you must update the corresponding Quantity element. +// - The new configuration replaces the existing configuration; the values +// that you specify in an UpdateDistribution request are not merged into +// your existing configuration. When you add, delete, or replace values in +// an element that allows multiple values (for example, CNAME), you must +// specify all of the values that you want to appear in the updated distribution. +// In addition, you must update the corresponding Quantity element. // // Submit an UpdateDistribution request to update the configuration for your // distribution: // -// * In the request body, include the XML document that you updated in Step -// 2. The request body must include an XML document with a DistributionConfig -// element. +// - In the request body, include the XML document that you updated in Step +// 2. The request body must include an XML document with a DistributionConfig +// element. // -// * Set the value of the HTTP If-Match header to the value of the ETag header -// that CloudFront returned when you submitted the GetDistributionConfig -// request in Step 1. +// - Set the value of the HTTP If-Match header to the value of the ETag header +// that CloudFront returned when you submitted the GetDistributionConfig +// request in Step 1. // // Review the response to the UpdateDistribution request to confirm that the // configuration was successfully updated. @@ -8451,216 +8436,217 @@ func (c *CloudFront) UpdateDistributionRequest(input *UpdateDistributionInput) ( // API operation UpdateDistribution for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeCNAMEAlreadyExists "CNAMEAlreadyExists" -// The CNAME specified is already defined for CloudFront. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // -// * ErrCodeIllegalUpdate "IllegalUpdate" -// The update contains modifications that are not allowed. +// - ErrCodeCNAMEAlreadyExists "CNAMEAlreadyExists" +// The CNAME specified is already defined for CloudFront. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeIllegalUpdate "IllegalUpdate" +// The update contains modifications that are not allowed. // -// * ErrCodeMissingBody "MissingBody" -// This operation requires a body. Ensure that the body is present and the Content-Type -// header is set. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeNoSuchDistribution "NoSuchDistribution" -// The specified distribution does not exist. +// - ErrCodeMissingBody "MissingBody" +// This operation requires a body. Ensure that the body is present and the Content-Type +// header is set. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodeNoSuchDistribution "NoSuchDistribution" +// The specified distribution does not exist. // -// * ErrCodeTooManyDistributionCNAMEs "TooManyDistributionCNAMEs" -// Your request contains more CNAMEs than are allowed per distribution. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeInvalidDefaultRootObject "InvalidDefaultRootObject" -// The default root object file name is too big or contains an invalid character. +// - ErrCodeTooManyDistributionCNAMEs "TooManyDistributionCNAMEs" +// Your request contains more CNAMEs than are allowed per distribution. // -// * ErrCodeInvalidRelativePath "InvalidRelativePath" -// The relative path is too big, is not URL-encoded, or does not begin with -// a slash (/). +// - ErrCodeInvalidDefaultRootObject "InvalidDefaultRootObject" +// The default root object file name is too big or contains an invalid character. // -// * ErrCodeInvalidErrorCode "InvalidErrorCode" -// An invalid error code was specified. +// - ErrCodeInvalidRelativePath "InvalidRelativePath" +// The relative path is too big, is not URL-encoded, or does not begin with +// a slash (/). // -// * ErrCodeInvalidResponseCode "InvalidResponseCode" -// A response code is not valid. +// - ErrCodeInvalidErrorCode "InvalidErrorCode" +// An invalid error code was specified. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidResponseCode "InvalidResponseCode" +// A response code is not valid. // -// * ErrCodeInvalidOriginAccessIdentity "InvalidOriginAccessIdentity" -// The origin access identity is not valid or doesn't exist. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeTooManyTrustedSigners "TooManyTrustedSigners" -// Your request contains more trusted signers than are allowed per distribution. +// - ErrCodeInvalidOriginAccessIdentity "InvalidOriginAccessIdentity" +// The origin access identity is not valid or doesn't exist. // -// * ErrCodeTrustedSignerDoesNotExist "TrustedSignerDoesNotExist" -// One or more of your trusted signers don't exist. +// - ErrCodeTooManyTrustedSigners "TooManyTrustedSigners" +// Your request contains more trusted signers than are allowed per distribution. // -// * ErrCodeInvalidViewerCertificate "InvalidViewerCertificate" -// A viewer certificate specified is not valid. +// - ErrCodeTrustedSignerDoesNotExist "TrustedSignerDoesNotExist" +// One or more of your trusted signers don't exist. // -// * ErrCodeInvalidMinimumProtocolVersion "InvalidMinimumProtocolVersion" -// The minimum protocol version specified is not valid. +// - ErrCodeInvalidViewerCertificate "InvalidViewerCertificate" +// A viewer certificate specified is not valid. // -// * ErrCodeInvalidRequiredProtocol "InvalidRequiredProtocol" -// This operation requires the HTTPS protocol. Ensure that you specify the HTTPS -// protocol in your request, or omit the RequiredProtocols element from your -// distribution configuration. +// - ErrCodeInvalidMinimumProtocolVersion "InvalidMinimumProtocolVersion" +// The minimum protocol version specified is not valid. // -// * ErrCodeNoSuchOrigin "NoSuchOrigin" -// No origin exists with the specified Origin Id. +// - ErrCodeInvalidRequiredProtocol "InvalidRequiredProtocol" +// This operation requires the HTTPS protocol. Ensure that you specify the HTTPS +// protocol in your request, or omit the RequiredProtocols element from your +// distribution configuration. // -// * ErrCodeTooManyOrigins "TooManyOrigins" -// You cannot create more origins for the distribution. +// - ErrCodeNoSuchOrigin "NoSuchOrigin" +// No origin exists with the specified Origin Id. // -// * ErrCodeTooManyOriginGroupsPerDistribution "TooManyOriginGroupsPerDistribution" -// Processing your request would cause you to exceed the maximum number of origin -// groups allowed. +// - ErrCodeTooManyOrigins "TooManyOrigins" +// You cannot create more origins for the distribution. // -// * ErrCodeTooManyCacheBehaviors "TooManyCacheBehaviors" -// You cannot create more cache behaviors for the distribution. +// - ErrCodeTooManyOriginGroupsPerDistribution "TooManyOriginGroupsPerDistribution" +// Processing your request would cause you to exceed the maximum number of origin +// groups allowed. // -// * ErrCodeTooManyCookieNamesInWhiteList "TooManyCookieNamesInWhiteList" -// Your request contains more cookie names in the whitelist than are allowed -// per cache behavior. +// - ErrCodeTooManyCacheBehaviors "TooManyCacheBehaviors" +// You cannot create more cache behaviors for the distribution. // -// * ErrCodeInvalidForwardCookies "InvalidForwardCookies" -// Your request contains forward cookies option which doesn't match with the -// expectation for the whitelisted list of cookie names. Either list of cookie -// names has been specified when not allowed or list of cookie names is missing -// when expected. +// - ErrCodeTooManyCookieNamesInWhiteList "TooManyCookieNamesInWhiteList" +// Your request contains more cookie names in the whitelist than are allowed +// per cache behavior. // -// * ErrCodeTooManyHeadersInForwardedValues "TooManyHeadersInForwardedValues" -// Your request contains too many headers in forwarded values. +// - ErrCodeInvalidForwardCookies "InvalidForwardCookies" +// Your request contains forward cookies option which doesn't match with the +// expectation for the whitelisted list of cookie names. Either list of cookie +// names has been specified when not allowed or list of cookie names is missing +// when expected. // -// * ErrCodeInvalidHeadersForS3Origin "InvalidHeadersForS3Origin" -// The headers specified are not valid for an Amazon S3 origin. +// - ErrCodeTooManyHeadersInForwardedValues "TooManyHeadersInForwardedValues" +// Your request contains too many headers in forwarded values. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeInvalidHeadersForS3Origin "InvalidHeadersForS3Origin" +// The headers specified are not valid for an Amazon S3 origin. // -// * ErrCodeTooManyCertificates "TooManyCertificates" -// You cannot create anymore custom SSL/TLS certificates. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // -// * ErrCodeInvalidLocationCode "InvalidLocationCode" -// The location code specified is not valid. +// - ErrCodeTooManyCertificates "TooManyCertificates" +// You cannot create anymore custom SSL/TLS certificates. // -// * ErrCodeInvalidGeoRestrictionParameter "InvalidGeoRestrictionParameter" -// The specified geo restriction parameter is not valid. +// - ErrCodeInvalidLocationCode "InvalidLocationCode" +// The location code specified is not valid. // -// * ErrCodeInvalidTTLOrder "InvalidTTLOrder" -// The TTL order specified is not valid. +// - ErrCodeInvalidGeoRestrictionParameter "InvalidGeoRestrictionParameter" +// The specified geo restriction parameter is not valid. // -// * ErrCodeInvalidWebACLId "InvalidWebACLId" -// A web ACL ID specified is not valid. To specify a web ACL created using the -// latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. -// To specify a web ACL created using WAF Classic, use the ACL ID, for example -// 473e64fd-f30b-4765-81a0-62ad96dd167a. +// - ErrCodeInvalidTTLOrder "InvalidTTLOrder" +// The TTL order specified is not valid. // -// * ErrCodeTooManyOriginCustomHeaders "TooManyOriginCustomHeaders" -// Your request contains too many origin custom headers. +// - ErrCodeInvalidWebACLId "InvalidWebACLId" +// A web ACL ID specified is not valid. To specify a web ACL created using the +// latest version of WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. +// To specify a web ACL created using WAF Classic, use the ACL ID, for example +// 473e64fd-f30b-4765-81a0-62ad96dd167a. // -// * ErrCodeTooManyQueryStringParameters "TooManyQueryStringParameters" -// Your request contains too many query string parameters. +// - ErrCodeTooManyOriginCustomHeaders "TooManyOriginCustomHeaders" +// Your request contains too many origin custom headers. // -// * ErrCodeInvalidQueryStringParameters "InvalidQueryStringParameters" -// The query string parameters specified are not valid. +// - ErrCodeTooManyQueryStringParameters "TooManyQueryStringParameters" +// Your request contains too many query string parameters. // -// * ErrCodeTooManyDistributionsWithLambdaAssociations "TooManyDistributionsWithLambdaAssociations" -// Processing your request would cause the maximum number of distributions with -// Lambda@Edge function associations per owner to be exceeded. +// - ErrCodeInvalidQueryStringParameters "InvalidQueryStringParameters" +// The query string parameters specified are not valid. // -// * ErrCodeTooManyDistributionsWithSingleFunctionARN "TooManyDistributionsWithSingleFunctionARN" -// The maximum number of distributions have been associated with the specified -// Lambda@Edge function. +// - ErrCodeTooManyDistributionsWithLambdaAssociations "TooManyDistributionsWithLambdaAssociations" +// Processing your request would cause the maximum number of distributions with +// Lambda@Edge function associations per owner to be exceeded. // -// * ErrCodeTooManyLambdaFunctionAssociations "TooManyLambdaFunctionAssociations" -// Your request contains more Lambda@Edge function associations than are allowed -// per distribution. +// - ErrCodeTooManyDistributionsWithSingleFunctionARN "TooManyDistributionsWithSingleFunctionARN" +// The maximum number of distributions have been associated with the specified +// Lambda@Edge function. // -// * ErrCodeInvalidLambdaFunctionAssociation "InvalidLambdaFunctionAssociation" -// The specified Lambda@Edge function association is invalid. +// - ErrCodeTooManyLambdaFunctionAssociations "TooManyLambdaFunctionAssociations" +// Your request contains more Lambda@Edge function associations than are allowed +// per distribution. // -// * ErrCodeTooManyDistributionsWithFunctionAssociations "TooManyDistributionsWithFunctionAssociations" -// You have reached the maximum number of distributions that are associated -// with a CloudFront function. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeInvalidLambdaFunctionAssociation "InvalidLambdaFunctionAssociation" +// The specified Lambda@Edge function association is invalid. // -// * ErrCodeTooManyFunctionAssociations "TooManyFunctionAssociations" -// You have reached the maximum number of CloudFront function associations for -// this distribution. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyDistributionsWithFunctionAssociations "TooManyDistributionsWithFunctionAssociations" +// You have reached the maximum number of distributions that are associated +// with a CloudFront function. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeInvalidFunctionAssociation "InvalidFunctionAssociation" -// A CloudFront function association is invalid. +// - ErrCodeTooManyFunctionAssociations "TooManyFunctionAssociations" +// You have reached the maximum number of CloudFront function associations for +// this distribution. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeInvalidOriginReadTimeout "InvalidOriginReadTimeout" -// The read timeout specified for the origin is not valid. +// - ErrCodeInvalidFunctionAssociation "InvalidFunctionAssociation" +// A CloudFront function association is invalid. // -// * ErrCodeInvalidOriginKeepaliveTimeout "InvalidOriginKeepaliveTimeout" -// The keep alive timeout specified for the origin is not valid. +// - ErrCodeInvalidOriginReadTimeout "InvalidOriginReadTimeout" +// The read timeout specified for the origin is not valid. // -// * ErrCodeNoSuchFieldLevelEncryptionConfig "NoSuchFieldLevelEncryptionConfig" -// The specified configuration for field-level encryption doesn't exist. +// - ErrCodeInvalidOriginKeepaliveTimeout "InvalidOriginKeepaliveTimeout" +// The keep alive timeout specified for the origin is not valid. // -// * ErrCodeIllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" -// The specified configuration for field-level encryption can't be associated -// with the specified cache behavior. +// - ErrCodeNoSuchFieldLevelEncryptionConfig "NoSuchFieldLevelEncryptionConfig" +// The specified configuration for field-level encryption doesn't exist. // -// * ErrCodeTooManyDistributionsAssociatedToFieldLevelEncryptionConfig "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig" -// The maximum number of distributions have been associated with the specified -// configuration for field-level encryption. +// - ErrCodeIllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" +// The specified configuration for field-level encryption can't be associated +// with the specified cache behavior. // -// * ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" -// The cache policy does not exist. +// - ErrCodeTooManyDistributionsAssociatedToFieldLevelEncryptionConfig "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig" +// The maximum number of distributions have been associated with the specified +// configuration for field-level encryption. // -// * ErrCodeTooManyDistributionsAssociatedToCachePolicy "TooManyDistributionsAssociatedToCachePolicy" -// The maximum number of distributions have been associated with the specified -// cache policy. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeNoSuchCachePolicy "NoSuchCachePolicy" +// The cache policy does not exist. // -// * ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" -// The response headers policy does not exist. +// - ErrCodeTooManyDistributionsAssociatedToCachePolicy "TooManyDistributionsAssociatedToCachePolicy" +// The maximum number of distributions have been associated with the specified +// cache policy. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyDistributionsAssociatedToResponseHeadersPolicy "TooManyDistributionsAssociatedToResponseHeadersPolicy" -// The maximum number of distributions have been associated with the specified -// response headers policy. +// - ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" +// The response headers policy does not exist. // -// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyDistributionsAssociatedToResponseHeadersPolicy "TooManyDistributionsAssociatedToResponseHeadersPolicy" +// The maximum number of distributions have been associated with the specified +// response headers policy. // -// * ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" -// The origin request policy does not exist. +// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyDistributionsAssociatedToOriginRequestPolicy "TooManyDistributionsAssociatedToOriginRequestPolicy" -// The maximum number of distributions have been associated with the specified -// origin request policy. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" +// The origin request policy does not exist. // -// * ErrCodeTooManyDistributionsAssociatedToKeyGroup "TooManyDistributionsAssociatedToKeyGroup" -// The number of distributions that reference this key group is more than the -// maximum allowed. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyDistributionsAssociatedToOriginRequestPolicy "TooManyDistributionsAssociatedToOriginRequestPolicy" +// The maximum number of distributions have been associated with the specified +// origin request policy. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyKeyGroupsAssociatedToDistribution "TooManyKeyGroupsAssociatedToDistribution" -// The number of key groups referenced by this distribution is more than the -// maximum allowed. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyDistributionsAssociatedToKeyGroup "TooManyDistributionsAssociatedToKeyGroup" +// The number of distributions that reference this key group is more than the +// maximum allowed. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTrustedKeyGroupDoesNotExist "TrustedKeyGroupDoesNotExist" -// The specified key group does not exist. +// - ErrCodeTooManyKeyGroupsAssociatedToDistribution "TooManyKeyGroupsAssociatedToDistribution" +// The number of key groups referenced by this distribution is more than the +// maximum allowed. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeNoSuchRealtimeLogConfig "NoSuchRealtimeLogConfig" -// The real-time log configuration does not exist. +// - ErrCodeTrustedKeyGroupDoesNotExist "TrustedKeyGroupDoesNotExist" +// The specified key group does not exist. // -// * ErrCodeRealtimeLogConfigOwnerMismatch "RealtimeLogConfigOwnerMismatch" -// The specified real-time log configuration belongs to a different Amazon Web -// Services account. +// - ErrCodeNoSuchRealtimeLogConfig "NoSuchRealtimeLogConfig" +// The real-time log configuration does not exist. +// +// - ErrCodeRealtimeLogConfigOwnerMismatch "RealtimeLogConfigOwnerMismatch" +// The specified real-time log configuration belongs to a different Amazon Web +// Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateDistribution func (c *CloudFront) UpdateDistribution(input *UpdateDistributionInput) (*UpdateDistributionOutput, error) { @@ -8700,14 +8686,13 @@ const opUpdateFieldLevelEncryptionConfig = "UpdateFieldLevelEncryptionConfig2020 // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFieldLevelEncryptionConfigRequest method. +// req, resp := client.UpdateFieldLevelEncryptionConfigRequest(params) // -// // Example sending a request using the UpdateFieldLevelEncryptionConfigRequest method. -// req, resp := client.UpdateFieldLevelEncryptionConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig func (c *CloudFront) UpdateFieldLevelEncryptionConfigRequest(input *UpdateFieldLevelEncryptionConfigInput) (req *request.Request, output *UpdateFieldLevelEncryptionConfigOutput) { @@ -8738,40 +8723,41 @@ func (c *CloudFront) UpdateFieldLevelEncryptionConfigRequest(input *UpdateFieldL // API operation UpdateFieldLevelEncryptionConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeIllegalUpdate "IllegalUpdate" -// The update contains modifications that are not allowed. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeIllegalUpdate "IllegalUpdate" +// The update contains modifications that are not allowed. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeNoSuchFieldLevelEncryptionProfile "NoSuchFieldLevelEncryptionProfile" -// The specified profile for field-level encryption doesn't exist. +// - ErrCodeNoSuchFieldLevelEncryptionProfile "NoSuchFieldLevelEncryptionProfile" +// The specified profile for field-level encryption doesn't exist. // -// * ErrCodeNoSuchFieldLevelEncryptionConfig "NoSuchFieldLevelEncryptionConfig" -// The specified configuration for field-level encryption doesn't exist. +// - ErrCodeNoSuchFieldLevelEncryptionConfig "NoSuchFieldLevelEncryptionConfig" +// The specified configuration for field-level encryption doesn't exist. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeTooManyFieldLevelEncryptionQueryArgProfiles "TooManyFieldLevelEncryptionQueryArgProfiles" -// The maximum number of query arg profiles for field-level encryption have -// been created. +// - ErrCodeTooManyFieldLevelEncryptionQueryArgProfiles "TooManyFieldLevelEncryptionQueryArgProfiles" +// The maximum number of query arg profiles for field-level encryption have +// been created. // -// * ErrCodeTooManyFieldLevelEncryptionContentTypeProfiles "TooManyFieldLevelEncryptionContentTypeProfiles" -// The maximum number of content type profiles for field-level encryption have -// been created. +// - ErrCodeTooManyFieldLevelEncryptionContentTypeProfiles "TooManyFieldLevelEncryptionContentTypeProfiles" +// The maximum number of content type profiles for field-level encryption have +// been created. // -// * ErrCodeQueryArgProfileEmpty "QueryArgProfileEmpty" -// No profile specified for the field-level encryption query argument. +// - ErrCodeQueryArgProfileEmpty "QueryArgProfileEmpty" +// No profile specified for the field-level encryption query argument. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionConfig func (c *CloudFront) UpdateFieldLevelEncryptionConfig(input *UpdateFieldLevelEncryptionConfigInput) (*UpdateFieldLevelEncryptionConfigOutput, error) { @@ -8811,14 +8797,13 @@ const opUpdateFieldLevelEncryptionProfile = "UpdateFieldLevelEncryptionProfile20 // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFieldLevelEncryptionProfileRequest method. +// req, resp := client.UpdateFieldLevelEncryptionProfileRequest(params) // -// // Example sending a request using the UpdateFieldLevelEncryptionProfileRequest method. -// req, resp := client.UpdateFieldLevelEncryptionProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile func (c *CloudFront) UpdateFieldLevelEncryptionProfileRequest(input *UpdateFieldLevelEncryptionProfileInput) (req *request.Request, output *UpdateFieldLevelEncryptionProfileOutput) { @@ -8849,43 +8834,44 @@ func (c *CloudFront) UpdateFieldLevelEncryptionProfileRequest(input *UpdateField // API operation UpdateFieldLevelEncryptionProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeFieldLevelEncryptionProfileAlreadyExists "FieldLevelEncryptionProfileAlreadyExists" -// The specified profile for field-level encryption already exists. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeFieldLevelEncryptionProfileAlreadyExists "FieldLevelEncryptionProfileAlreadyExists" +// The specified profile for field-level encryption already exists. // -// * ErrCodeIllegalUpdate "IllegalUpdate" -// The update contains modifications that are not allowed. +// - ErrCodeIllegalUpdate "IllegalUpdate" +// The update contains modifications that are not allowed. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeNoSuchPublicKey "NoSuchPublicKey" -// The specified public key doesn't exist. +// - ErrCodeNoSuchPublicKey "NoSuchPublicKey" +// The specified public key doesn't exist. // -// * ErrCodeNoSuchFieldLevelEncryptionProfile "NoSuchFieldLevelEncryptionProfile" -// The specified profile for field-level encryption doesn't exist. +// - ErrCodeNoSuchFieldLevelEncryptionProfile "NoSuchFieldLevelEncryptionProfile" +// The specified profile for field-level encryption doesn't exist. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeFieldLevelEncryptionProfileSizeExceeded "FieldLevelEncryptionProfileSizeExceeded" -// The maximum size of a profile for field-level encryption was exceeded. +// - ErrCodeFieldLevelEncryptionProfileSizeExceeded "FieldLevelEncryptionProfileSizeExceeded" +// The maximum size of a profile for field-level encryption was exceeded. // -// * ErrCodeTooManyFieldLevelEncryptionEncryptionEntities "TooManyFieldLevelEncryptionEncryptionEntities" -// The maximum number of encryption entities for field-level encryption have -// been created. +// - ErrCodeTooManyFieldLevelEncryptionEncryptionEntities "TooManyFieldLevelEncryptionEncryptionEntities" +// The maximum number of encryption entities for field-level encryption have +// been created. // -// * ErrCodeTooManyFieldLevelEncryptionFieldPatterns "TooManyFieldLevelEncryptionFieldPatterns" -// The maximum number of field patterns for field-level encryption have been -// created. +// - ErrCodeTooManyFieldLevelEncryptionFieldPatterns "TooManyFieldLevelEncryptionFieldPatterns" +// The maximum number of field patterns for field-level encryption have been +// created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFieldLevelEncryptionProfile func (c *CloudFront) UpdateFieldLevelEncryptionProfile(input *UpdateFieldLevelEncryptionProfileInput) (*UpdateFieldLevelEncryptionProfileOutput, error) { @@ -8925,14 +8911,13 @@ const opUpdateFunction = "UpdateFunction2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFunctionRequest method. +// req, resp := client.UpdateFunctionRequest(params) // -// // Example sending a request using the UpdateFunctionRequest method. -// req, resp := client.UpdateFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFunction func (c *CloudFront) UpdateFunctionRequest(input *UpdateFunctionInput) (req *request.Request, output *UpdateFunctionOutput) { @@ -8970,24 +8955,25 @@ func (c *CloudFront) UpdateFunctionRequest(input *UpdateFunctionInput) (req *req // API operation UpdateFunction for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeNoSuchFunctionExists "NoSuchFunctionExists" -// The function does not exist. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodeNoSuchFunctionExists "NoSuchFunctionExists" +// The function does not exist. // -// * ErrCodeFunctionSizeLimitExceeded "FunctionSizeLimitExceeded" -// The function is too large. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeUnsupportedOperation "UnsupportedOperation" -// This operation is not supported in this region. +// - ErrCodeFunctionSizeLimitExceeded "FunctionSizeLimitExceeded" +// The function is too large. For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// +// - ErrCodeUnsupportedOperation "UnsupportedOperation" +// This operation is not supported in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateFunction func (c *CloudFront) UpdateFunction(input *UpdateFunctionInput) (*UpdateFunctionOutput, error) { @@ -9027,14 +9013,13 @@ const opUpdateKeyGroup = "UpdateKeyGroup2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateKeyGroupRequest method. +// req, resp := client.UpdateKeyGroupRequest(params) // -// // Example sending a request using the UpdateKeyGroupRequest method. -// req, resp := client.UpdateKeyGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateKeyGroup func (c *CloudFront) UpdateKeyGroupRequest(input *UpdateKeyGroupInput) (req *request.Request, output *UpdateKeyGroupOutput) { @@ -9077,26 +9062,27 @@ func (c *CloudFront) UpdateKeyGroupRequest(input *UpdateKeyGroupInput) (req *req // API operation UpdateKeyGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. // -// * ErrCodeNoSuchResource "NoSuchResource" -// A resource that was specified is not valid. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodeNoSuchResource "NoSuchResource" +// A resource that was specified is not valid. // -// * ErrCodeKeyGroupAlreadyExists "KeyGroupAlreadyExists" -// A key group with this name already exists. You must provide a unique name. -// To modify an existing key group, use UpdateKeyGroup. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeKeyGroupAlreadyExists "KeyGroupAlreadyExists" +// A key group with this name already exists. You must provide a unique name. +// To modify an existing key group, use UpdateKeyGroup. // -// * ErrCodeTooManyPublicKeysInKeyGroup "TooManyPublicKeysInKeyGroup" -// The number of public keys in this key group is more than the maximum allowed. -// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. +// +// - ErrCodeTooManyPublicKeysInKeyGroup "TooManyPublicKeysInKeyGroup" +// The number of public keys in this key group is more than the maximum allowed. +// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateKeyGroup func (c *CloudFront) UpdateKeyGroup(input *UpdateKeyGroupInput) (*UpdateKeyGroupOutput, error) { @@ -9136,14 +9122,13 @@ const opUpdateOriginRequestPolicy = "UpdateOriginRequestPolicy2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateOriginRequestPolicyRequest method. +// req, resp := client.UpdateOriginRequestPolicyRequest(params) // -// // Example sending a request using the UpdateOriginRequestPolicyRequest method. -// req, resp := client.UpdateOriginRequestPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateOriginRequestPolicy func (c *CloudFront) UpdateOriginRequestPolicyRequest(input *UpdateOriginRequestPolicyInput) (req *request.Request, output *UpdateOriginRequestPolicyOutput) { @@ -9187,45 +9172,46 @@ func (c *CloudFront) UpdateOriginRequestPolicyRequest(input *UpdateOriginRequest // API operation UpdateOriginRequestPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeIllegalUpdate "IllegalUpdate" -// The update contains modifications that are not allowed. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeIllegalUpdate "IllegalUpdate" +// The update contains modifications that are not allowed. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" -// The origin request policy does not exist. +// - ErrCodeNoSuchOriginRequestPolicy "NoSuchOriginRequestPolicy" +// The origin request policy does not exist. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeOriginRequestPolicyAlreadyExists "OriginRequestPolicyAlreadyExists" -// An origin request policy with this name already exists. You must provide -// a unique name. To modify an existing origin request policy, use UpdateOriginRequestPolicy. +// - ErrCodeOriginRequestPolicyAlreadyExists "OriginRequestPolicyAlreadyExists" +// An origin request policy with this name already exists. You must provide +// a unique name. To modify an existing origin request policy, use UpdateOriginRequestPolicy. // -// * ErrCodeTooManyHeadersInOriginRequestPolicy "TooManyHeadersInOriginRequestPolicy" -// The number of headers in the origin request policy exceeds the maximum. For -// more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyHeadersInOriginRequestPolicy "TooManyHeadersInOriginRequestPolicy" +// The number of headers in the origin request policy exceeds the maximum. For +// more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyCookiesInOriginRequestPolicy "TooManyCookiesInOriginRequestPolicy" -// The number of cookies in the origin request policy exceeds the maximum. For -// more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyCookiesInOriginRequestPolicy "TooManyCookiesInOriginRequestPolicy" +// The number of cookies in the origin request policy exceeds the maximum. For +// more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooManyQueryStringsInOriginRequestPolicy "TooManyQueryStringsInOriginRequestPolicy" -// The number of query strings in the origin request policy exceeds the maximum. -// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// - ErrCodeTooManyQueryStringsInOriginRequestPolicy "TooManyQueryStringsInOriginRequestPolicy" +// The number of query strings in the origin request policy exceeds the maximum. +// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateOriginRequestPolicy func (c *CloudFront) UpdateOriginRequestPolicy(input *UpdateOriginRequestPolicyInput) (*UpdateOriginRequestPolicyOutput, error) { @@ -9265,14 +9251,13 @@ const opUpdatePublicKey = "UpdatePublicKey2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePublicKeyRequest method. +// req, resp := client.UpdatePublicKeyRequest(params) // -// // Example sending a request using the UpdatePublicKeyRequest method. -// req, resp := client.UpdatePublicKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdatePublicKey func (c *CloudFront) UpdatePublicKeyRequest(input *UpdatePublicKeyInput) (req *request.Request, output *UpdatePublicKeyOutput) { @@ -9304,26 +9289,27 @@ func (c *CloudFront) UpdatePublicKeyRequest(input *UpdatePublicKeyInput) (req *r // API operation UpdatePublicKey for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeCannotChangeImmutablePublicKeyFields "CannotChangeImmutablePublicKeyFields" -// You can't change the value of a public key. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeCannotChangeImmutablePublicKeyFields "CannotChangeImmutablePublicKeyFields" +// You can't change the value of a public key. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeIllegalUpdate "IllegalUpdate" -// The update contains modifications that are not allowed. +// - ErrCodeIllegalUpdate "IllegalUpdate" +// The update contains modifications that are not allowed. // -// * ErrCodeNoSuchPublicKey "NoSuchPublicKey" -// The specified public key doesn't exist. +// - ErrCodeNoSuchPublicKey "NoSuchPublicKey" +// The specified public key doesn't exist. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdatePublicKey func (c *CloudFront) UpdatePublicKey(input *UpdatePublicKeyInput) (*UpdatePublicKeyOutput, error) { @@ -9363,14 +9349,13 @@ const opUpdateRealtimeLogConfig = "UpdateRealtimeLogConfig2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRealtimeLogConfigRequest method. +// req, resp := client.UpdateRealtimeLogConfigRequest(params) // -// // Example sending a request using the UpdateRealtimeLogConfigRequest method. -// req, resp := client.UpdateRealtimeLogConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateRealtimeLogConfig func (c *CloudFront) UpdateRealtimeLogConfigRequest(input *UpdateRealtimeLogConfigInput) (req *request.Request, output *UpdateRealtimeLogConfigOutput) { @@ -9416,14 +9401,15 @@ func (c *CloudFront) UpdateRealtimeLogConfigRequest(input *UpdateRealtimeLogConf // API operation UpdateRealtimeLogConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchRealtimeLogConfig "NoSuchRealtimeLogConfig" -// The real-time log configuration does not exist. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeNoSuchRealtimeLogConfig "NoSuchRealtimeLogConfig" +// The real-time log configuration does not exist. // -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. +// +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateRealtimeLogConfig func (c *CloudFront) UpdateRealtimeLogConfig(input *UpdateRealtimeLogConfigInput) (*UpdateRealtimeLogConfigOutput, error) { @@ -9463,14 +9449,13 @@ const opUpdateResponseHeadersPolicy = "UpdateResponseHeadersPolicy2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResponseHeadersPolicyRequest method. +// req, resp := client.UpdateResponseHeadersPolicyRequest(params) // -// // Example sending a request using the UpdateResponseHeadersPolicyRequest method. -// req, resp := client.UpdateResponseHeadersPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateResponseHeadersPolicy func (c *CloudFront) UpdateResponseHeadersPolicyRequest(input *UpdateResponseHeadersPolicyInput) (req *request.Request, output *UpdateResponseHeadersPolicyOutput) { @@ -9514,43 +9499,44 @@ func (c *CloudFront) UpdateResponseHeadersPolicyRequest(input *UpdateResponseHea // API operation UpdateResponseHeadersPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeIllegalUpdate "IllegalUpdate" -// The update contains modifications that are not allowed. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeIllegalUpdate "IllegalUpdate" +// The update contains modifications that are not allowed. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" -// The response headers policy does not exist. +// - ErrCodeNoSuchResponseHeadersPolicy "NoSuchResponseHeadersPolicy" +// The response headers policy does not exist. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeResponseHeadersPolicyAlreadyExists "ResponseHeadersPolicyAlreadyExists" -// A response headers policy with this name already exists. You must provide -// a unique name. To modify an existing response headers policy, use UpdateResponseHeadersPolicy. +// - ErrCodeResponseHeadersPolicyAlreadyExists "ResponseHeadersPolicyAlreadyExists" +// A response headers policy with this name already exists. You must provide +// a unique name. To modify an existing response headers policy, use UpdateResponseHeadersPolicy. // -// * ErrCodeTooManyCustomHeadersInResponseHeadersPolicy "TooManyCustomHeadersInResponseHeadersPolicy" -// The number of custom headers in the response headers policy exceeds the maximum. +// - ErrCodeTooManyCustomHeadersInResponseHeadersPolicy "TooManyCustomHeadersInResponseHeadersPolicy" +// The number of custom headers in the response headers policy exceeds the maximum. // -// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // -// * ErrCodeTooLongCSPInResponseHeadersPolicy "TooLongCSPInResponseHeadersPolicy" -// The length of the Content-Security-Policy header value in the response headers -// policy exceeds the maximum. +// - ErrCodeTooLongCSPInResponseHeadersPolicy "TooLongCSPInResponseHeadersPolicy" +// The length of the Content-Security-Policy header value in the response headers +// policy exceeds the maximum. // -// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) -// (formerly known as limits) in the Amazon CloudFront Developer Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) +// (formerly known as limits) in the Amazon CloudFront Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateResponseHeadersPolicy func (c *CloudFront) UpdateResponseHeadersPolicy(input *UpdateResponseHeadersPolicyInput) (*UpdateResponseHeadersPolicyOutput, error) { @@ -9590,14 +9576,13 @@ const opUpdateStreamingDistribution = "UpdateStreamingDistribution2020_05_31" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStreamingDistributionRequest method. +// req, resp := client.UpdateStreamingDistributionRequest(params) // -// // Example sending a request using the UpdateStreamingDistributionRequest method. -// req, resp := client.UpdateStreamingDistributionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateStreamingDistribution func (c *CloudFront) UpdateStreamingDistributionRequest(input *UpdateStreamingDistributionInput) (req *request.Request, output *UpdateStreamingDistributionOutput) { @@ -9628,45 +9613,46 @@ func (c *CloudFront) UpdateStreamingDistributionRequest(input *UpdateStreamingDi // API operation UpdateStreamingDistribution for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessDenied "AccessDenied" -// Access denied. // -// * ErrCodeCNAMEAlreadyExists "CNAMEAlreadyExists" -// The CNAME specified is already defined for CloudFront. +// - ErrCodeAccessDenied "AccessDenied" +// Access denied. +// +// - ErrCodeCNAMEAlreadyExists "CNAMEAlreadyExists" +// The CNAME specified is already defined for CloudFront. // -// * ErrCodeIllegalUpdate "IllegalUpdate" -// The update contains modifications that are not allowed. +// - ErrCodeIllegalUpdate "IllegalUpdate" +// The update contains modifications that are not allowed. // -// * ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" -// The If-Match version is missing or not valid. +// - ErrCodeInvalidIfMatchVersion "InvalidIfMatchVersion" +// The If-Match version is missing or not valid. // -// * ErrCodeMissingBody "MissingBody" -// This operation requires a body. Ensure that the body is present and the Content-Type -// header is set. +// - ErrCodeMissingBody "MissingBody" +// This operation requires a body. Ensure that the body is present and the Content-Type +// header is set. // -// * ErrCodeNoSuchStreamingDistribution "NoSuchStreamingDistribution" -// The specified streaming distribution does not exist. +// - ErrCodeNoSuchStreamingDistribution "NoSuchStreamingDistribution" +// The specified streaming distribution does not exist. // -// * ErrCodePreconditionFailed "PreconditionFailed" -// The precondition in one or more of the request fields evaluated to false. +// - ErrCodePreconditionFailed "PreconditionFailed" +// The precondition in one or more of the request fields evaluated to false. // -// * ErrCodeTooManyStreamingDistributionCNAMEs "TooManyStreamingDistributionCNAMEs" -// Your request contains more CNAMEs than are allowed per distribution. +// - ErrCodeTooManyStreamingDistributionCNAMEs "TooManyStreamingDistributionCNAMEs" +// Your request contains more CNAMEs than are allowed per distribution. // -// * ErrCodeInvalidArgument "InvalidArgument" -// An argument is invalid. +// - ErrCodeInvalidArgument "InvalidArgument" +// An argument is invalid. // -// * ErrCodeInvalidOriginAccessIdentity "InvalidOriginAccessIdentity" -// The origin access identity is not valid or doesn't exist. +// - ErrCodeInvalidOriginAccessIdentity "InvalidOriginAccessIdentity" +// The origin access identity is not valid or doesn't exist. // -// * ErrCodeTooManyTrustedSigners "TooManyTrustedSigners" -// Your request contains more trusted signers than are allowed per distribution. +// - ErrCodeTooManyTrustedSigners "TooManyTrustedSigners" +// Your request contains more trusted signers than are allowed per distribution. // -// * ErrCodeTrustedSignerDoesNotExist "TrustedSignerDoesNotExist" -// One or more of your trusted signers don't exist. +// - ErrCodeTrustedSignerDoesNotExist "TrustedSignerDoesNotExist" +// One or more of your trusted signers don't exist. // -// * ErrCodeInconsistentQuantities "InconsistentQuantities" -// The value of Quantity and the size of Items don't match. +// - ErrCodeInconsistentQuantities "InconsistentQuantities" +// The value of Quantity and the size of Items don't match. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateStreamingDistribution func (c *CloudFront) UpdateStreamingDistribution(input *UpdateStreamingDistributionInput) (*UpdateStreamingDistributionOutput, error) { @@ -9940,12 +9926,12 @@ func (s *Aliases) SetQuantity(v int64) *Aliases { // forwards to your Amazon S3 bucket or your custom origin. There are three // choices: // -// * CloudFront forwards only GET and HEAD requests. +// - CloudFront forwards only GET and HEAD requests. // -// * CloudFront forwards only GET, HEAD, and OPTIONS requests. +// - CloudFront forwards only GET, HEAD, and OPTIONS requests. // -// * CloudFront forwards GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE -// requests. +// - CloudFront forwards GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE +// requests. // // If you pick the third choice, you may need to restrict access to your Amazon // S3 bucket or to your custom origin so users can't perform operations that @@ -10633,13 +10619,13 @@ func (s *CacheBehaviors) SetQuantity(v int64) *CacheBehaviors { // When it’s attached to a cache behavior, the cache policy determines the // following: // -// * The values that CloudFront includes in the cache key. These values can -// include HTTP headers, cookies, and URL query strings. CloudFront uses -// the cache key to find an object in its cache that it can return to the -// viewer. +// - The values that CloudFront includes in the cache key. These values can +// include HTTP headers, cookies, and URL query strings. CloudFront uses +// the cache key to find an object in its cache that it can return to the +// viewer. // -// * The default, minimum, and maximum time to live (TTL) values that you -// want objects to stay in the CloudFront cache. +// - The default, minimum, and maximum time to live (TTL) values that you +// want objects to stay in the CloudFront cache. // // The headers, cookies, and query strings that are included in the cache key // are automatically included in requests that CloudFront sends to the origin. @@ -10705,13 +10691,13 @@ func (s *CachePolicy) SetLastModifiedTime(v time.Time) *CachePolicy { // // This configuration determines the following: // -// * The values that CloudFront includes in the cache key. These values can -// include HTTP headers, cookies, and URL query strings. CloudFront uses -// the cache key to find an object in its cache that it can return to the -// viewer. +// - The values that CloudFront includes in the cache key. These values can +// include HTTP headers, cookies, and URL query strings. CloudFront uses +// the cache key to find an object in its cache that it can return to the +// viewer. // -// * The default, minimum, and maximum time to live (TTL) values that you -// want objects to stay in the CloudFront cache. +// - The default, minimum, and maximum time to live (TTL) values that you +// want objects to stay in the CloudFront cache. // // The headers, cookies, and query strings that are included in the cache key // are automatically included in requests that CloudFront sends to the origin. @@ -11202,9 +11188,9 @@ func (s *CachePolicySummary) SetType(v string) *CachePolicySummary { // A complex type that controls whether CloudFront caches the response to requests // using the specified HTTP methods. There are two choices: // -// * CloudFront caches responses to GET and HEAD requests. +// - CloudFront caches responses to GET and HEAD requests. // -// * CloudFront caches responses to GET, HEAD, and OPTIONS requests. +// - CloudFront caches responses to GET, HEAD, and OPTIONS requests. // // If you pick the second choice for your Amazon S3 Origin, you may need to // forward Access-Control-Request-Method, Access-Control-Request-Headers, and @@ -13476,10 +13462,10 @@ func (s *CreateStreamingDistributionWithTagsOutput) SetStreamingDistribution(v * // A complex type that controls: // -// * Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range -// with custom error messages before returning the response to the viewer. +// - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range +// with custom error messages before returning the response to the viewer. // -// * How long CloudFront caches HTTP status codes in the 4xx and 5xx range. +// - How long CloudFront caches HTTP status codes in the 4xx and 5xx range. // // For more information about custom error pages, see Customizing Error Responses // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) @@ -13605,10 +13591,10 @@ func (s *CustomErrorResponse) SetResponsePagePath(v string) *CustomErrorResponse // A complex type that controls: // -// * Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range -// with custom error messages before returning the response to the viewer. +// - Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range +// with custom error messages before returning the response to the viewer. // -// * How long CloudFront caches HTTP status codes in the 4xx and 5xx range. +// - How long CloudFront caches HTTP status codes in the 4xx and 5xx range. // // For more information about custom error pages, see Customizing Error Responses // (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html) @@ -14444,7 +14430,7 @@ func (s DeleteCloudFrontOriginAccessIdentityOutput) GoString() string { // // To delete a web distribution using the CloudFront API: // -// Disable the web distribution +// # Disable the web distribution // // Submit a GET Distribution Config request to get the current configuration // and the Etag header for the distribution. @@ -23147,14 +23133,14 @@ func (s *MonitoringSubscription) SetRealtimeMetricsSubscriptionConfig(v *Realtim // An origin is the location where content is stored, and from which CloudFront // gets content to serve to viewers. To specify an origin: // -// * Use S3OriginConfig to specify an Amazon S3 bucket that is not configured -// with static website hosting. +// - Use S3OriginConfig to specify an Amazon S3 bucket that is not configured +// with static website hosting. // -// * Use CustomOriginConfig to specify all other kinds of origins, including: -// An Amazon S3 bucket that is configured with static website hosting An -// Elastic Load Balancing load balancer An AWS Elemental MediaPackage endpoint -// An AWS Elemental MediaStore container Any other HTTP server, running on -// an Amazon EC2 instance or any other kind of host +// - Use CustomOriginConfig to specify all other kinds of origins, including: +// An Amazon S3 bucket that is configured with static website hosting An +// Elastic Load Balancing load balancer An AWS Elemental MediaPackage endpoint +// An AWS Elemental MediaStore container Any other HTTP server, running on +// an Amazon EC2 instance or any other kind of host // // For the current maximum number of origins that you can specify per distribution, // see General Quotas on Web Distributions (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html#limits-web-distributions) @@ -24044,16 +24030,16 @@ func (s *OriginGroups) SetQuantity(v int64) *OriginGroups { // the values that CloudFront includes in requests that it sends to the origin. // Each request that CloudFront sends to the origin includes the following: // -// * The request body and the URL path (without the domain name) from the -// viewer request. +// - The request body and the URL path (without the domain name) from the +// viewer request. // -// * The headers that CloudFront automatically includes in every origin request, -// including Host, User-Agent, and X-Amz-Cf-Id. +// - The headers that CloudFront automatically includes in every origin request, +// including Host, User-Agent, and X-Amz-Cf-Id. // -// * All HTTP headers, cookies, and URL query strings that are specified -// in the cache policy or the origin request policy. These can include items -// from the viewer request and, in the case of headers, additional ones that -// are added by CloudFront. +// - All HTTP headers, cookies, and URL query strings that are specified +// in the cache policy or the origin request policy. These can include items +// from the viewer request and, in the case of headers, additional ones that +// are added by CloudFront. // // CloudFront sends a request when it can’t find an object in its cache that // matches the request. If you want to send values to the origin and also include @@ -24119,16 +24105,16 @@ func (s *OriginRequestPolicy) SetOriginRequestPolicyConfig(v *OriginRequestPolic // that it sends to the origin. Each request that CloudFront sends to the origin // includes the following: // -// * The request body and the URL path (without the domain name) from the -// viewer request. +// - The request body and the URL path (without the domain name) from the +// viewer request. // -// * The headers that CloudFront automatically includes in every origin request, -// including Host, User-Agent, and X-Amz-Cf-Id. +// - The headers that CloudFront automatically includes in every origin request, +// including Host, User-Agent, and X-Amz-Cf-Id. // -// * All HTTP headers, cookies, and URL query strings that are specified -// in the cache policy or the origin request policy. These can include items -// from the viewer request and, in the case of headers, additional ones that -// are added by CloudFront. +// - All HTTP headers, cookies, and URL query strings that are specified +// in the cache policy or the origin request policy. These can include items +// from the viewer request and, in the case of headers, additional ones that +// are added by CloudFront. // // CloudFront sends a request when it can’t find an object in its cache that // matches the request. If you want to send values to the origin and also include @@ -30739,25 +30725,25 @@ func (s *UpdateStreamingDistributionOutput) SetStreamingDistribution(v *Streamin // If the distribution uses Aliases (alternate domain names or CNAMEs), use // the fields in this type to specify the following settings: // -// * Which viewers the distribution accepts HTTPS connections from: only -// viewers that support server name indication (SNI) (https://en.wikipedia.org/wiki/Server_Name_Indication) -// (recommended), or all viewers including those that don’t support SNI. -// To accept HTTPS connections from only viewers that support SNI, set SSLSupportMethod -// to sni-only. This is recommended. Most browsers and clients support SNI. -// To accept HTTPS connections from all viewers, including those that don’t -// support SNI, set SSLSupportMethod to vip. This is not recommended, and -// results in additional monthly charges from CloudFront. -// -// * The minimum SSL/TLS protocol version that the distribution can use to -// communicate with viewers. To specify a minimum version, choose a value -// for MinimumProtocolVersion. For more information, see Security Policy -// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValues-security-policy) -// in the Amazon CloudFront Developer Guide. -// -// * The location of the SSL/TLS certificate, Certificate Manager (ACM) (https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html) -// (recommended) or Identity and Access Management (IAM) (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html). -// You specify the location by setting a value in one of the following fields -// (not both): ACMCertificateArn IAMCertificateId +// - Which viewers the distribution accepts HTTPS connections from: only +// viewers that support server name indication (SNI) (https://en.wikipedia.org/wiki/Server_Name_Indication) +// (recommended), or all viewers including those that don’t support SNI. +// To accept HTTPS connections from only viewers that support SNI, set SSLSupportMethod +// to sni-only. This is recommended. Most browsers and clients support SNI. +// To accept HTTPS connections from all viewers, including those that don’t +// support SNI, set SSLSupportMethod to vip. This is not recommended, and +// results in additional monthly charges from CloudFront. +// +// - The minimum SSL/TLS protocol version that the distribution can use to +// communicate with viewers. To specify a minimum version, choose a value +// for MinimumProtocolVersion. For more information, see Security Policy +// (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValues-security-policy) +// in the Amazon CloudFront Developer Guide. +// +// - The location of the SSL/TLS certificate, Certificate Manager (ACM) (https://docs.aws.amazon.com/acm/latest/userguide/acm-overview.html) +// (recommended) or Identity and Access Management (IAM) (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html). +// You specify the location by setting a value in one of the following fields +// (not both): ACMCertificateArn IAMCertificateId // // All distributions support HTTPS connections from viewers. To require viewers // to use HTTPS only, or to redirect them from HTTP to HTTPS, use ViewerProtocolPolicy diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/cloudfrontiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/cloudfrontiface/interface.go index a4f7f4104285..8f261b4c8911 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/cloudfrontiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/cloudfrontiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon CloudFront. -// func myFunc(svc cloudfrontiface.CloudFrontAPI) bool { -// // Make svc.AssociateAlias request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon CloudFront. +// func myFunc(svc cloudfrontiface.CloudFrontAPI) bool { +// // Make svc.AssociateAlias request +// } // -// func main() { -// sess := session.New() -// svc := cloudfront.New(sess) +// func main() { +// sess := session.New() +// svc := cloudfront.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCloudFrontClient struct { -// cloudfrontiface.CloudFrontAPI -// } -// func (m *mockCloudFrontClient) AssociateAlias(input *cloudfront.AssociateAliasInput) (*cloudfront.AssociateAliasOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCloudFrontClient struct { +// cloudfrontiface.CloudFrontAPI +// } +// func (m *mockCloudFrontClient) AssociateAlias(input *cloudfront.AssociateAliasInput) (*cloudfront.AssociateAliasOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCloudFrontClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCloudFrontClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/doc.go index c9f335dd4daa..24c748575526 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/doc.go @@ -13,7 +13,7 @@ // See cloudfront package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cloudfront/ // -// Using the Client +// # Using the Client // // To contact Amazon CloudFront with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/service.go index 6089fe189e49..8b6f19832b17 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CloudFront client from just a session. -// svc := cloudfront.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CloudFront client with additional configuration -// svc := cloudfront.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CloudFront client from just a session. +// svc := cloudfront.New(mySession) +// +// // Create a CloudFront client with additional configuration +// svc := cloudfront.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudFront { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/sign/sign_cookie.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/sign/sign_cookie.go index 5ff497622f8f..3c0cf3ac6d3f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/sign/sign_cookie.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/sign/sign_cookie.go @@ -81,37 +81,38 @@ func NewCookieSigner(keyID string, privKey *rsa.PrivateKey, opts ...func(*Cookie // server's response. // // Example: -// s := sign.NewCookieSigner(keyID, privKey) -// -// // Get Signed cookies for a resource that will expire in 1 hour -// cookies, err := s.Sign("*", time.Now().Add(1 * time.Hour)) -// if err != nil { -// fmt.Println("failed to create signed cookies", err) -// return -// } -// -// // Or get Signed cookies for a resource that will expire in 1 hour -// // and set path and domain of cookies -// cookies, err := s.Sign("*", time.Now().Add(1 * time.Hour), func(o *sign.CookieOptions) { -// o.Path = "/" -// o.Domain = ".example.com" -// }) -// if err != nil { -// fmt.Println("failed to create signed cookies", err) -// return -// } -// -// // Server Response via http.ResponseWriter -// for _, c := range cookies { -// http.SetCookie(w, c) -// } -// -// // Client request via the cookie jar -// if client.CookieJar != nil { -// for _, c := range cookies { -// client.Cookie(w, c) -// } -// } +// +// s := sign.NewCookieSigner(keyID, privKey) +// +// // Get Signed cookies for a resource that will expire in 1 hour +// cookies, err := s.Sign("*", time.Now().Add(1 * time.Hour)) +// if err != nil { +// fmt.Println("failed to create signed cookies", err) +// return +// } +// +// // Or get Signed cookies for a resource that will expire in 1 hour +// // and set path and domain of cookies +// cookies, err := s.Sign("*", time.Now().Add(1 * time.Hour), func(o *sign.CookieOptions) { +// o.Path = "/" +// o.Domain = ".example.com" +// }) +// if err != nil { +// fmt.Println("failed to create signed cookies", err) +// return +// } +// +// // Server Response via http.ResponseWriter +// for _, c := range cookies { +// http.SetCookie(w, c) +// } +// +// // Client request via the cookie jar +// if client.CookieJar != nil { +// for _, c := range cookies { +// client.Cookie(w, c) +// } +// } func (s CookieSigner) Sign(u string, expires time.Time, opts ...func(*CookieOptions)) ([]*http.Cookie, error) { scheme, err := cookieURLScheme(u) if err != nil { @@ -150,55 +151,56 @@ func cookieURLScheme(u string) (string, error) { // server's response. // // Example: -// s := sign.NewCookieSigner(keyID, privKey) -// -// policy := &sign.Policy{ -// Statements: []sign.Statement{ -// { -// // Read the provided documentation on how to set this -// // correctly, you'll probably want to use wildcards. -// Resource: rawCloudFrontURL, -// Condition: sign.Condition{ -// // Optional IP source address range -// IPAddress: &sign.IPAddress{SourceIP: "192.0.2.0/24"}, -// // Optional date URL is not valid until -// DateGreaterThan: &sign.AWSEpochTime{time.Now().Add(30 * time.Minute)}, -// // Required date the URL will expire after -// DateLessThan: &sign.AWSEpochTime{time.Now().Add(1 * time.Hour)}, -// }, -// }, -// }, -// } -// -// // Get Signed cookies for a resource that will expire in 1 hour -// cookies, err := s.SignWithPolicy(policy) -// if err != nil { -// fmt.Println("failed to create signed cookies", err) -// return -// } -// -// // Or get Signed cookies for a resource that will expire in 1 hour -// // and set path and domain of cookies -// cookies, err := s.SignWithPolicy(policy, func(o *sign.CookieOptions) { -// o.Path = "/" -// o.Domain = ".example.com" -// }) -// if err != nil { -// fmt.Println("failed to create signed cookies", err) -// return -// } -// -// // Server Response via http.ResponseWriter -// for _, c := range cookies { -// http.SetCookie(w, c) -// } -// -// // Client request via the cookie jar -// if client.CookieJar != nil { -// for _, c := range cookies { -// client.Cookie(w, c) -// } -// } +// +// s := sign.NewCookieSigner(keyID, privKey) +// +// policy := &sign.Policy{ +// Statements: []sign.Statement{ +// { +// // Read the provided documentation on how to set this +// // correctly, you'll probably want to use wildcards. +// Resource: rawCloudFrontURL, +// Condition: sign.Condition{ +// // Optional IP source address range +// IPAddress: &sign.IPAddress{SourceIP: "192.0.2.0/24"}, +// // Optional date URL is not valid until +// DateGreaterThan: &sign.AWSEpochTime{time.Now().Add(30 * time.Minute)}, +// // Required date the URL will expire after +// DateLessThan: &sign.AWSEpochTime{time.Now().Add(1 * time.Hour)}, +// }, +// }, +// }, +// } +// +// // Get Signed cookies for a resource that will expire in 1 hour +// cookies, err := s.SignWithPolicy(policy) +// if err != nil { +// fmt.Println("failed to create signed cookies", err) +// return +// } +// +// // Or get Signed cookies for a resource that will expire in 1 hour +// // and set path and domain of cookies +// cookies, err := s.SignWithPolicy(policy, func(o *sign.CookieOptions) { +// o.Path = "/" +// o.Domain = ".example.com" +// }) +// if err != nil { +// fmt.Println("failed to create signed cookies", err) +// return +// } +// +// // Server Response via http.ResponseWriter +// for _, c := range cookies { +// http.SetCookie(w, c) +// } +// +// // Client request via the cookie jar +// if client.CookieJar != nil { +// for _, c := range cookies { +// client.Cookie(w, c) +// } +// } func (s CookieSigner) SignWithPolicy(p *Policy, opts ...func(*CookieOptions)) ([]*http.Cookie, error) { return createCookies(p, s.keyID, s.privKey, s.Opts.apply(opts...)) } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/sign/sign_url.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/sign/sign_url.go index ba56b4a78dd5..80c427e76e8c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/sign/sign_url.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudfront/sign/sign_url.go @@ -9,13 +9,12 @@ // // Example: // -// // Sign URL to be valid for 1 hour from now. -// signer := sign.NewURLSigner(keyID, privKey) -// signedURL, err := signer.Sign(rawURL, time.Now().Add(1*time.Hour)) -// if err != nil { -// log.Fatalf("Failed to sign url, err: %s\n", err.Error()) -// } -// +// // Sign URL to be valid for 1 hour from now. +// signer := sign.NewURLSigner(keyID, privKey) +// signedURL, err := signer.Sign(rawURL, time.Now().Add(1*time.Hour)) +// if err != nil { +// log.Fatalf("Failed to sign url, err: %s\n", err.Error()) +// } package sign import ( @@ -54,13 +53,12 @@ func NewURLSigner(keyID string, privKey *rsa.PrivateKey) *URLSigner { // // Example: // -// // Sign URL to be valid for 1 hour from now. -// signer := sign.NewURLSigner(keyID, privKey) -// signedURL, err := signer.Sign(rawURL, time.Now().Add(1*time.Hour)) -// if err != nil { -// log.Fatalf("Failed to sign url, err: %s\n", err.Error()) -// } -// +// // Sign URL to be valid for 1 hour from now. +// signer := sign.NewURLSigner(keyID, privKey) +// signedURL, err := signer.Sign(rawURL, time.Now().Add(1*time.Hour)) +// if err != nil { +// log.Fatalf("Failed to sign url, err: %s\n", err.Error()) +// } func (s URLSigner) Sign(url string, expires time.Time) (string, error) { scheme, cleanedURL, err := cleanURLScheme(url) if err != nil { @@ -87,30 +85,29 @@ func (s URLSigner) Sign(url string, expires time.Time) (string, error) { // // Example: // -// // Sign URL to be valid for 30 minutes from now, expires one hour from now, and -// // restricted to the 192.0.2.0/24 IP address range. -// policy := &sign.Policy{ -// Statements: []sign.Statement{ -// { -// Resource: rawURL, -// Condition: sign.Condition{ -// // Optional IP source address range -// IPAddress: &sign.IPAddress{SourceIP: "192.0.2.0/24"}, -// // Optional date URL is not valid until -// DateGreaterThan: &sign.AWSEpochTime{time.Now().Add(30 * time.Minute)}, -// // Required date the URL will expire after -// DateLessThan: &sign.AWSEpochTime{time.Now().Add(1 * time.Hour)}, -// }, -// }, -// }, -// } -// -// signer := sign.NewURLSigner(keyID, privKey) -// signedURL, err := signer.SignWithPolicy(rawURL, policy) -// if err != nil { -// log.Fatalf("Failed to sign url, err: %s\n", err.Error()) -// } -// +// // Sign URL to be valid for 30 minutes from now, expires one hour from now, and +// // restricted to the 192.0.2.0/24 IP address range. +// policy := &sign.Policy{ +// Statements: []sign.Statement{ +// { +// Resource: rawURL, +// Condition: sign.Condition{ +// // Optional IP source address range +// IPAddress: &sign.IPAddress{SourceIP: "192.0.2.0/24"}, +// // Optional date URL is not valid until +// DateGreaterThan: &sign.AWSEpochTime{time.Now().Add(30 * time.Minute)}, +// // Required date the URL will expire after +// DateLessThan: &sign.AWSEpochTime{time.Now().Add(1 * time.Hour)}, +// }, +// }, +// }, +// } +// +// signer := sign.NewURLSigner(keyID, privKey) +// signedURL, err := signer.SignWithPolicy(rawURL, policy) +// if err != nil { +// log.Fatalf("Failed to sign url, err: %s\n", err.Error()) +// } func (s URLSigner) SignWithPolicy(url string, p *Policy) (string, error) { scheme, cleanedURL, err := cleanURLScheme(url) if err != nil { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/api.go index 4f55909eb115..e6b47b04a184 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/api.go @@ -27,14 +27,13 @@ const opAddTagsToResource = "AddTagsToResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsToResourceRequest method. +// req, resp := client.AddTagsToResourceRequest(params) // -// // Example sending a request using the AddTagsToResourceRequest method. -// req, resp := client.AddTagsToResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/AddTagsToResource func (c *CloudHSM) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput) { @@ -76,14 +75,15 @@ func (c *CloudHSM) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req // API operation AddTagsToResource for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. +// +// - CloudHsmInternalException +// Indicates that an internal error occurred. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/AddTagsToResource func (c *CloudHSM) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error) { @@ -123,14 +123,13 @@ const opCreateHapg = "CreateHapg" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHapgRequest method. +// req, resp := client.CreateHapgRequest(params) // -// // Example sending a request using the CreateHapgRequest method. -// req, resp := client.CreateHapgRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHapg func (c *CloudHSM) CreateHapgRequest(input *CreateHapgInput) (req *request.Request, output *CreateHapgOutput) { @@ -171,14 +170,15 @@ func (c *CloudHSM) CreateHapgRequest(input *CreateHapgInput) (req *request.Reque // API operation CreateHapg for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - CloudHsmInternalException +// Indicates that an internal error occurred. +// +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHapg func (c *CloudHSM) CreateHapg(input *CreateHapgInput) (*CreateHapgOutput, error) { @@ -218,14 +218,13 @@ const opCreateHsm = "CreateHsm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHsmRequest method. +// req, resp := client.CreateHsmRequest(params) // -// // Example sending a request using the CreateHsmRequest method. -// req, resp := client.CreateHsmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHsm func (c *CloudHSM) CreateHsmRequest(input *CreateHsmInput) (req *request.Request, output *CreateHsmOutput) { @@ -275,14 +274,15 @@ func (c *CloudHSM) CreateHsmRequest(input *CreateHsmInput) (req *request.Request // API operation CreateHsm for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - CloudHsmInternalException +// Indicates that an internal error occurred. +// +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateHsm func (c *CloudHSM) CreateHsm(input *CreateHsmInput) (*CreateHsmOutput, error) { @@ -322,14 +322,13 @@ const opCreateLunaClient = "CreateLunaClient" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLunaClientRequest method. +// req, resp := client.CreateLunaClientRequest(params) // -// // Example sending a request using the CreateLunaClientRequest method. -// req, resp := client.CreateLunaClientRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateLunaClient func (c *CloudHSM) CreateLunaClientRequest(input *CreateLunaClientInput) (req *request.Request, output *CreateLunaClientOutput) { @@ -369,14 +368,15 @@ func (c *CloudHSM) CreateLunaClientRequest(input *CreateLunaClientInput) (req *r // API operation CreateLunaClient for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. +// +// - CloudHsmInternalException +// Indicates that an internal error occurred. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/CreateLunaClient func (c *CloudHSM) CreateLunaClient(input *CreateLunaClientInput) (*CreateLunaClientOutput, error) { @@ -416,14 +416,13 @@ const opDeleteHapg = "DeleteHapg" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteHapgRequest method. +// req, resp := client.DeleteHapgRequest(params) // -// // Example sending a request using the DeleteHapgRequest method. -// req, resp := client.DeleteHapgRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHapg func (c *CloudHSM) DeleteHapgRequest(input *DeleteHapgInput) (req *request.Request, output *DeleteHapgOutput) { @@ -463,14 +462,15 @@ func (c *CloudHSM) DeleteHapgRequest(input *DeleteHapgInput) (req *request.Reque // API operation DeleteHapg for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. +// +// - CloudHsmInternalException +// Indicates that an internal error occurred. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHapg func (c *CloudHSM) DeleteHapg(input *DeleteHapgInput) (*DeleteHapgOutput, error) { @@ -510,14 +510,13 @@ const opDeleteHsm = "DeleteHsm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteHsmRequest method. +// req, resp := client.DeleteHsmRequest(params) // -// // Example sending a request using the DeleteHsmRequest method. -// req, resp := client.DeleteHsmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHsm func (c *CloudHSM) DeleteHsmRequest(input *DeleteHsmInput) (req *request.Request, output *DeleteHsmOutput) { @@ -558,14 +557,15 @@ func (c *CloudHSM) DeleteHsmRequest(input *DeleteHsmInput) (req *request.Request // API operation DeleteHsm for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. +// +// - CloudHsmInternalException +// Indicates that an internal error occurred. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteHsm func (c *CloudHSM) DeleteHsm(input *DeleteHsmInput) (*DeleteHsmOutput, error) { @@ -605,14 +605,13 @@ const opDeleteLunaClient = "DeleteLunaClient" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLunaClientRequest method. +// req, resp := client.DeleteLunaClientRequest(params) // -// // Example sending a request using the DeleteLunaClientRequest method. -// req, resp := client.DeleteLunaClientRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteLunaClient func (c *CloudHSM) DeleteLunaClientRequest(input *DeleteLunaClientInput) (req *request.Request, output *DeleteLunaClientOutput) { @@ -652,14 +651,15 @@ func (c *CloudHSM) DeleteLunaClientRequest(input *DeleteLunaClientInput) (req *r // API operation DeleteLunaClient for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - CloudHsmInternalException +// Indicates that an internal error occurred. +// +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DeleteLunaClient func (c *CloudHSM) DeleteLunaClient(input *DeleteLunaClientInput) (*DeleteLunaClientOutput, error) { @@ -699,14 +699,13 @@ const opDescribeHapg = "DescribeHapg" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHapgRequest method. +// req, resp := client.DescribeHapgRequest(params) // -// // Example sending a request using the DescribeHapgRequest method. -// req, resp := client.DescribeHapgRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHapg func (c *CloudHSM) DescribeHapgRequest(input *DescribeHapgInput) (req *request.Request, output *DescribeHapgOutput) { @@ -746,14 +745,15 @@ func (c *CloudHSM) DescribeHapgRequest(input *DescribeHapgInput) (req *request.R // API operation DescribeHapg for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - CloudHsmInternalException +// Indicates that an internal error occurred. +// +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHapg func (c *CloudHSM) DescribeHapg(input *DescribeHapgInput) (*DescribeHapgOutput, error) { @@ -793,14 +793,13 @@ const opDescribeHsm = "DescribeHsm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHsmRequest method. +// req, resp := client.DescribeHsmRequest(params) // -// // Example sending a request using the DescribeHsmRequest method. -// req, resp := client.DescribeHsmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHsm func (c *CloudHSM) DescribeHsmRequest(input *DescribeHsmInput) (req *request.Request, output *DescribeHsmOutput) { @@ -841,14 +840,15 @@ func (c *CloudHSM) DescribeHsmRequest(input *DescribeHsmInput) (req *request.Req // API operation DescribeHsm for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. +// +// - CloudHsmInternalException +// Indicates that an internal error occurred. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeHsm func (c *CloudHSM) DescribeHsm(input *DescribeHsmInput) (*DescribeHsmOutput, error) { @@ -888,14 +888,13 @@ const opDescribeLunaClient = "DescribeLunaClient" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLunaClientRequest method. +// req, resp := client.DescribeLunaClientRequest(params) // -// // Example sending a request using the DescribeLunaClientRequest method. -// req, resp := client.DescribeLunaClientRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeLunaClient func (c *CloudHSM) DescribeLunaClientRequest(input *DescribeLunaClientInput) (req *request.Request, output *DescribeLunaClientOutput) { @@ -935,14 +934,15 @@ func (c *CloudHSM) DescribeLunaClientRequest(input *DescribeLunaClientInput) (re // API operation DescribeLunaClient for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. +// +// - CloudHsmInternalException +// Indicates that an internal error occurred. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/DescribeLunaClient func (c *CloudHSM) DescribeLunaClient(input *DescribeLunaClientInput) (*DescribeLunaClientOutput, error) { @@ -982,14 +982,13 @@ const opGetConfig = "GetConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConfigRequest method. +// req, resp := client.GetConfigRequest(params) // -// // Example sending a request using the GetConfigRequest method. -// req, resp := client.GetConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/GetConfig func (c *CloudHSM) GetConfigRequest(input *GetConfigInput) (req *request.Request, output *GetConfigOutput) { @@ -1030,14 +1029,15 @@ func (c *CloudHSM) GetConfigRequest(input *GetConfigInput) (req *request.Request // API operation GetConfig for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. +// +// - CloudHsmInternalException +// Indicates that an internal error occurred. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/GetConfig func (c *CloudHSM) GetConfig(input *GetConfigInput) (*GetConfigOutput, error) { @@ -1077,14 +1077,13 @@ const opListAvailableZones = "ListAvailableZones" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAvailableZonesRequest method. +// req, resp := client.ListAvailableZonesRequest(params) // -// // Example sending a request using the ListAvailableZonesRequest method. -// req, resp := client.ListAvailableZonesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListAvailableZones func (c *CloudHSM) ListAvailableZonesRequest(input *ListAvailableZonesInput) (req *request.Request, output *ListAvailableZonesOutput) { @@ -1124,14 +1123,15 @@ func (c *CloudHSM) ListAvailableZonesRequest(input *ListAvailableZonesInput) (re // API operation ListAvailableZones for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - CloudHsmInternalException +// Indicates that an internal error occurred. +// +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListAvailableZones func (c *CloudHSM) ListAvailableZones(input *ListAvailableZonesInput) (*ListAvailableZonesOutput, error) { @@ -1171,14 +1171,13 @@ const opListHapgs = "ListHapgs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHapgsRequest method. +// req, resp := client.ListHapgsRequest(params) // -// // Example sending a request using the ListHapgsRequest method. -// req, resp := client.ListHapgsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHapgs func (c *CloudHSM) ListHapgsRequest(input *ListHapgsInput) (req *request.Request, output *ListHapgsOutput) { @@ -1223,14 +1222,15 @@ func (c *CloudHSM) ListHapgsRequest(input *ListHapgsInput) (req *request.Request // API operation ListHapgs for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - CloudHsmInternalException +// Indicates that an internal error occurred. +// +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHapgs func (c *CloudHSM) ListHapgs(input *ListHapgsInput) (*ListHapgsOutput, error) { @@ -1270,14 +1270,13 @@ const opListHsms = "ListHsms" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHsmsRequest method. +// req, resp := client.ListHsmsRequest(params) // -// // Example sending a request using the ListHsmsRequest method. -// req, resp := client.ListHsmsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHsms func (c *CloudHSM) ListHsmsRequest(input *ListHsmsInput) (req *request.Request, output *ListHsmsOutput) { @@ -1323,14 +1322,15 @@ func (c *CloudHSM) ListHsmsRequest(input *ListHsmsInput) (req *request.Request, // API operation ListHsms for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. +// +// - CloudHsmInternalException +// Indicates that an internal error occurred. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListHsms func (c *CloudHSM) ListHsms(input *ListHsmsInput) (*ListHsmsOutput, error) { @@ -1370,14 +1370,13 @@ const opListLunaClients = "ListLunaClients" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLunaClientsRequest method. +// req, resp := client.ListLunaClientsRequest(params) // -// // Example sending a request using the ListLunaClientsRequest method. -// req, resp := client.ListLunaClientsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListLunaClients func (c *CloudHSM) ListLunaClientsRequest(input *ListLunaClientsInput) (req *request.Request, output *ListLunaClientsOutput) { @@ -1422,14 +1421,15 @@ func (c *CloudHSM) ListLunaClientsRequest(input *ListLunaClientsInput) (req *req // API operation ListLunaClients for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. +// +// - CloudHsmInternalException +// Indicates that an internal error occurred. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListLunaClients func (c *CloudHSM) ListLunaClients(input *ListLunaClientsInput) (*ListLunaClientsOutput, error) { @@ -1469,14 +1469,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListTagsForResource func (c *CloudHSM) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1516,14 +1515,15 @@ func (c *CloudHSM) ListTagsForResourceRequest(input *ListTagsForResourceInput) ( // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. +// +// - CloudHsmInternalException +// Indicates that an internal error occurred. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ListTagsForResource func (c *CloudHSM) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1563,14 +1563,13 @@ const opModifyHapg = "ModifyHapg" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyHapgRequest method. +// req, resp := client.ModifyHapgRequest(params) // -// // Example sending a request using the ModifyHapgRequest method. -// req, resp := client.ModifyHapgRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHapg func (c *CloudHSM) ModifyHapgRequest(input *ModifyHapgInput) (req *request.Request, output *ModifyHapgOutput) { @@ -1610,14 +1609,15 @@ func (c *CloudHSM) ModifyHapgRequest(input *ModifyHapgInput) (req *request.Reque // API operation ModifyHapg for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - CloudHsmInternalException +// Indicates that an internal error occurred. +// +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHapg func (c *CloudHSM) ModifyHapg(input *ModifyHapgInput) (*ModifyHapgOutput, error) { @@ -1657,14 +1657,13 @@ const opModifyHsm = "ModifyHsm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyHsmRequest method. +// req, resp := client.ModifyHsmRequest(params) // -// // Example sending a request using the ModifyHsmRequest method. -// req, resp := client.ModifyHsmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHsm func (c *CloudHSM) ModifyHsmRequest(input *ModifyHsmInput) (req *request.Request, output *ModifyHsmOutput) { @@ -1710,14 +1709,15 @@ func (c *CloudHSM) ModifyHsmRequest(input *ModifyHsmInput) (req *request.Request // API operation ModifyHsm for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - CloudHsmInternalException +// Indicates that an internal error occurred. +// +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyHsm func (c *CloudHSM) ModifyHsm(input *ModifyHsmInput) (*ModifyHsmOutput, error) { @@ -1757,14 +1757,13 @@ const opModifyLunaClient = "ModifyLunaClient" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyLunaClientRequest method. +// req, resp := client.ModifyLunaClientRequest(params) // -// // Example sending a request using the ModifyLunaClientRequest method. -// req, resp := client.ModifyLunaClientRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyLunaClient func (c *CloudHSM) ModifyLunaClientRequest(input *ModifyLunaClientInput) (req *request.Request, output *ModifyLunaClientOutput) { @@ -1807,8 +1806,8 @@ func (c *CloudHSM) ModifyLunaClientRequest(input *ModifyLunaClientInput) (req *r // API operation ModifyLunaClient for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/ModifyLunaClient func (c *CloudHSM) ModifyLunaClient(input *ModifyLunaClientInput) (*ModifyLunaClientOutput, error) { @@ -1848,14 +1847,13 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsFromResourceRequest method. +// req, resp := client.RemoveTagsFromResourceRequest(params) // -// // Example sending a request using the RemoveTagsFromResourceRequest method. -// req, resp := client.RemoveTagsFromResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/RemoveTagsFromResource func (c *CloudHSM) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput) { @@ -1898,14 +1896,15 @@ func (c *CloudHSM) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceIn // API operation RemoveTagsFromResource for usage and error information. // // Returned Error Types: -// * CloudHsmServiceException -// Indicates that an exception occurred in the AWS CloudHSM service. // -// * CloudHsmInternalException -// Indicates that an internal error occurred. +// - CloudHsmServiceException +// Indicates that an exception occurred in the AWS CloudHSM service. +// +// - CloudHsmInternalException +// Indicates that an internal error occurred. // -// * InvalidRequestException -// Indicates that one or more of the request parameters are not valid. +// - InvalidRequestException +// Indicates that one or more of the request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30/RemoveTagsFromResource func (c *CloudHSM) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error) { @@ -4361,9 +4360,9 @@ func HsmStatus_Values() []string { // Specifies the type of subscription for the HSM. // -// * PRODUCTION - The HSM is being used in a production environment. +// - PRODUCTION - The HSM is being used in a production environment. // -// * TRIAL - The HSM is being used in a product trial. +// - TRIAL - The HSM is being used in a product trial. const ( // SubscriptionTypeProduction is a SubscriptionType enum value SubscriptionTypeProduction = "PRODUCTION" diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/cloudhsmiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/cloudhsmiface/interface.go index e7c67f9ce067..d33fc6c6bfaa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/cloudhsmiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/cloudhsmiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon CloudHSM. -// func myFunc(svc cloudhsmiface.CloudHSMAPI) bool { -// // Make svc.AddTagsToResource request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon CloudHSM. +// func myFunc(svc cloudhsmiface.CloudHSMAPI) bool { +// // Make svc.AddTagsToResource request +// } // -// func main() { -// sess := session.New() -// svc := cloudhsm.New(sess) +// func main() { +// sess := session.New() +// svc := cloudhsm.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCloudHSMClient struct { -// cloudhsmiface.CloudHSMAPI -// } -// func (m *mockCloudHSMClient) AddTagsToResource(input *cloudhsm.AddTagsToResourceInput) (*cloudhsm.AddTagsToResourceOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCloudHSMClient struct { +// cloudhsmiface.CloudHSMAPI +// } +// func (m *mockCloudHSMClient) AddTagsToResource(input *cloudhsm.AddTagsToResourceInput) (*cloudhsm.AddTagsToResourceOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCloudHSMClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCloudHSMClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/doc.go index cc13a38eb037..bdd7c1f87c1f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/doc.go @@ -17,7 +17,7 @@ // See cloudhsm package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cloudhsm/ // -// Using the Client +// # Using the Client // // To contact Amazon CloudHSM with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/service.go index 8623aa7dc457..d683247bbb57 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsm/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CloudHSM client from just a session. -// svc := cloudhsm.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CloudHSM client with additional configuration -// svc := cloudhsm.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CloudHSM client from just a session. +// svc := cloudhsm.New(mySession) +// +// // Create a CloudHSM client with additional configuration +// svc := cloudhsm.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudHSM { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/api.go index 4ed146caf2c4..64423f141d4d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/api.go @@ -29,14 +29,13 @@ const opCopyBackupToRegion = "CopyBackupToRegion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyBackupToRegionRequest method. +// req, resp := client.CopyBackupToRegionRequest(params) // -// // Example sending a request using the CopyBackupToRegionRequest method. -// req, resp := client.CopyBackupToRegionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CopyBackupToRegion func (c *CloudHSMV2) CopyBackupToRegionRequest(input *CopyBackupToRegionInput) (req *request.Request, output *CopyBackupToRegionOutput) { @@ -67,26 +66,27 @@ func (c *CloudHSMV2) CopyBackupToRegionRequest(input *CopyBackupToRegionInput) ( // API operation CopyBackupToRegion for usage and error information. // // Returned Error Types: -// * CloudHsmAccessDeniedException -// The request was rejected because the requester does not have permission to -// perform the requested operation. // -// * CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. +// +// - CloudHsmInternalFailureException +// The request was rejected because of an AWS CloudHSM internal failure. The +// request can be retried. // -// * CloudHsmInvalidRequestException -// The request was rejected because it is not a valid request. +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. // -// * CloudHsmResourceNotFoundException -// The request was rejected because it refers to a resource that cannot be found. +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. // -// * CloudHsmServiceException -// The request was rejected because an error occurred. +// - CloudHsmServiceException +// The request was rejected because an error occurred. // -// * CloudHsmTagException -// The request was rejected because of a tagging failure. Verify the tag conditions -// in all applicable policies, and then retry the request. +// - CloudHsmTagException +// The request was rejected because of a tagging failure. Verify the tag conditions +// in all applicable policies, and then retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CopyBackupToRegion func (c *CloudHSMV2) CopyBackupToRegion(input *CopyBackupToRegionInput) (*CopyBackupToRegionOutput, error) { @@ -126,14 +126,13 @@ const opCreateCluster = "CreateCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClusterRequest method. +// req, resp := client.CreateClusterRequest(params) // -// // Example sending a request using the CreateClusterRequest method. -// req, resp := client.CreateClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CreateCluster func (c *CloudHSMV2) CreateClusterRequest(input *CreateClusterInput) (req *request.Request, output *CreateClusterOutput) { @@ -164,26 +163,27 @@ func (c *CloudHSMV2) CreateClusterRequest(input *CreateClusterInput) (req *reque // API operation CreateCluster for usage and error information. // // Returned Error Types: -// * CloudHsmAccessDeniedException -// The request was rejected because the requester does not have permission to -// perform the requested operation. // -// * CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. // -// * CloudHsmInvalidRequestException -// The request was rejected because it is not a valid request. +// - CloudHsmInternalFailureException +// The request was rejected because of an AWS CloudHSM internal failure. The +// request can be retried. // -// * CloudHsmResourceNotFoundException -// The request was rejected because it refers to a resource that cannot be found. +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. // -// * CloudHsmServiceException -// The request was rejected because an error occurred. +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. // -// * CloudHsmTagException -// The request was rejected because of a tagging failure. Verify the tag conditions -// in all applicable policies, and then retry the request. +// - CloudHsmServiceException +// The request was rejected because an error occurred. +// +// - CloudHsmTagException +// The request was rejected because of a tagging failure. Verify the tag conditions +// in all applicable policies, and then retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CreateCluster func (c *CloudHSMV2) CreateCluster(input *CreateClusterInput) (*CreateClusterOutput, error) { @@ -223,14 +223,13 @@ const opCreateHsm = "CreateHsm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHsmRequest method. +// req, resp := client.CreateHsmRequest(params) // -// // Example sending a request using the CreateHsmRequest method. -// req, resp := client.CreateHsmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CreateHsm func (c *CloudHSMV2) CreateHsmRequest(input *CreateHsmInput) (req *request.Request, output *CreateHsmOutput) { @@ -262,22 +261,23 @@ func (c *CloudHSMV2) CreateHsmRequest(input *CreateHsmInput) (req *request.Reque // API operation CreateHsm for usage and error information. // // Returned Error Types: -// * CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. // -// * CloudHsmServiceException -// The request was rejected because an error occurred. +// - CloudHsmInternalFailureException +// The request was rejected because of an AWS CloudHSM internal failure. The +// request can be retried. // -// * CloudHsmInvalidRequestException -// The request was rejected because it is not a valid request. +// - CloudHsmServiceException +// The request was rejected because an error occurred. // -// * CloudHsmResourceNotFoundException -// The request was rejected because it refers to a resource that cannot be found. +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. // -// * CloudHsmAccessDeniedException -// The request was rejected because the requester does not have permission to -// perform the requested operation. +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. +// +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/CreateHsm func (c *CloudHSMV2) CreateHsm(input *CreateHsmInput) (*CreateHsmOutput, error) { @@ -317,14 +317,13 @@ const opDeleteBackup = "DeleteBackup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBackupRequest method. +// req, resp := client.DeleteBackupRequest(params) // -// // Example sending a request using the DeleteBackupRequest method. -// req, resp := client.DeleteBackupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DeleteBackup func (c *CloudHSMV2) DeleteBackupRequest(input *DeleteBackupInput) (req *request.Request, output *DeleteBackupOutput) { @@ -357,22 +356,23 @@ func (c *CloudHSMV2) DeleteBackupRequest(input *DeleteBackupInput) (req *request // API operation DeleteBackup for usage and error information. // // Returned Error Types: -// * CloudHsmAccessDeniedException -// The request was rejected because the requester does not have permission to -// perform the requested operation. // -// * CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. // -// * CloudHsmInvalidRequestException -// The request was rejected because it is not a valid request. +// - CloudHsmInternalFailureException +// The request was rejected because of an AWS CloudHSM internal failure. The +// request can be retried. // -// * CloudHsmResourceNotFoundException -// The request was rejected because it refers to a resource that cannot be found. +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. // -// * CloudHsmServiceException -// The request was rejected because an error occurred. +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. +// +// - CloudHsmServiceException +// The request was rejected because an error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DeleteBackup func (c *CloudHSMV2) DeleteBackup(input *DeleteBackupInput) (*DeleteBackupOutput, error) { @@ -412,14 +412,13 @@ const opDeleteCluster = "DeleteCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClusterRequest method. +// req, resp := client.DeleteClusterRequest(params) // -// // Example sending a request using the DeleteClusterRequest method. -// req, resp := client.DeleteClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DeleteCluster func (c *CloudHSMV2) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Request, output *DeleteClusterOutput) { @@ -452,26 +451,27 @@ func (c *CloudHSMV2) DeleteClusterRequest(input *DeleteClusterInput) (req *reque // API operation DeleteCluster for usage and error information. // // Returned Error Types: -// * CloudHsmAccessDeniedException -// The request was rejected because the requester does not have permission to -// perform the requested operation. // -// * CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. // -// * CloudHsmInvalidRequestException -// The request was rejected because it is not a valid request. +// - CloudHsmInternalFailureException +// The request was rejected because of an AWS CloudHSM internal failure. The +// request can be retried. // -// * CloudHsmResourceNotFoundException -// The request was rejected because it refers to a resource that cannot be found. +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. // -// * CloudHsmServiceException -// The request was rejected because an error occurred. +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. // -// * CloudHsmTagException -// The request was rejected because of a tagging failure. Verify the tag conditions -// in all applicable policies, and then retry the request. +// - CloudHsmServiceException +// The request was rejected because an error occurred. +// +// - CloudHsmTagException +// The request was rejected because of a tagging failure. Verify the tag conditions +// in all applicable policies, and then retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DeleteCluster func (c *CloudHSMV2) DeleteCluster(input *DeleteClusterInput) (*DeleteClusterOutput, error) { @@ -511,14 +511,13 @@ const opDeleteHsm = "DeleteHsm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteHsmRequest method. +// req, resp := client.DeleteHsmRequest(params) // -// // Example sending a request using the DeleteHsmRequest method. -// req, resp := client.DeleteHsmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DeleteHsm func (c *CloudHSMV2) DeleteHsmRequest(input *DeleteHsmInput) (req *request.Request, output *DeleteHsmOutput) { @@ -552,22 +551,23 @@ func (c *CloudHSMV2) DeleteHsmRequest(input *DeleteHsmInput) (req *request.Reque // API operation DeleteHsm for usage and error information. // // Returned Error Types: -// * CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. // -// * CloudHsmServiceException -// The request was rejected because an error occurred. +// - CloudHsmInternalFailureException +// The request was rejected because of an AWS CloudHSM internal failure. The +// request can be retried. // -// * CloudHsmResourceNotFoundException -// The request was rejected because it refers to a resource that cannot be found. +// - CloudHsmServiceException +// The request was rejected because an error occurred. // -// * CloudHsmInvalidRequestException -// The request was rejected because it is not a valid request. +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. // -// * CloudHsmAccessDeniedException -// The request was rejected because the requester does not have permission to -// perform the requested operation. +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. +// +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DeleteHsm func (c *CloudHSMV2) DeleteHsm(input *DeleteHsmInput) (*DeleteHsmOutput, error) { @@ -607,14 +607,13 @@ const opDescribeBackups = "DescribeBackups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBackupsRequest method. +// req, resp := client.DescribeBackupsRequest(params) // -// // Example sending a request using the DescribeBackupsRequest method. -// req, resp := client.DescribeBackupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DescribeBackups func (c *CloudHSMV2) DescribeBackupsRequest(input *DescribeBackupsInput) (req *request.Request, output *DescribeBackupsOutput) { @@ -658,26 +657,27 @@ func (c *CloudHSMV2) DescribeBackupsRequest(input *DescribeBackupsInput) (req *r // API operation DescribeBackups for usage and error information. // // Returned Error Types: -// * CloudHsmAccessDeniedException -// The request was rejected because the requester does not have permission to -// perform the requested operation. // -// * CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. // -// * CloudHsmInvalidRequestException -// The request was rejected because it is not a valid request. +// - CloudHsmInternalFailureException +// The request was rejected because of an AWS CloudHSM internal failure. The +// request can be retried. // -// * CloudHsmResourceNotFoundException -// The request was rejected because it refers to a resource that cannot be found. +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. // -// * CloudHsmServiceException -// The request was rejected because an error occurred. +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. // -// * CloudHsmTagException -// The request was rejected because of a tagging failure. Verify the tag conditions -// in all applicable policies, and then retry the request. +// - CloudHsmServiceException +// The request was rejected because an error occurred. +// +// - CloudHsmTagException +// The request was rejected because of a tagging failure. Verify the tag conditions +// in all applicable policies, and then retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DescribeBackups func (c *CloudHSMV2) DescribeBackups(input *DescribeBackupsInput) (*DescribeBackupsOutput, error) { @@ -709,15 +709,14 @@ func (c *CloudHSMV2) DescribeBackupsWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeBackups operation. -// pageNum := 0 -// err := client.DescribeBackupsPages(params, -// func(page *cloudhsmv2.DescribeBackupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeBackups operation. +// pageNum := 0 +// err := client.DescribeBackupsPages(params, +// func(page *cloudhsmv2.DescribeBackupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudHSMV2) DescribeBackupsPages(input *DescribeBackupsInput, fn func(*DescribeBackupsOutput, bool) bool) error { return c.DescribeBackupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -769,14 +768,13 @@ const opDescribeClusters = "DescribeClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClustersRequest method. +// req, resp := client.DescribeClustersRequest(params) // -// // Example sending a request using the DescribeClustersRequest method. -// req, resp := client.DescribeClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DescribeClusters func (c *CloudHSMV2) DescribeClustersRequest(input *DescribeClustersInput) (req *request.Request, output *DescribeClustersOutput) { @@ -820,23 +818,24 @@ func (c *CloudHSMV2) DescribeClustersRequest(input *DescribeClustersInput) (req // API operation DescribeClusters for usage and error information. // // Returned Error Types: -// * CloudHsmAccessDeniedException -// The request was rejected because the requester does not have permission to -// perform the requested operation. // -// * CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. +// +// - CloudHsmInternalFailureException +// The request was rejected because of an AWS CloudHSM internal failure. The +// request can be retried. // -// * CloudHsmInvalidRequestException -// The request was rejected because it is not a valid request. +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. // -// * CloudHsmServiceException -// The request was rejected because an error occurred. +// - CloudHsmServiceException +// The request was rejected because an error occurred. // -// * CloudHsmTagException -// The request was rejected because of a tagging failure. Verify the tag conditions -// in all applicable policies, and then retry the request. +// - CloudHsmTagException +// The request was rejected because of a tagging failure. Verify the tag conditions +// in all applicable policies, and then retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DescribeClusters func (c *CloudHSMV2) DescribeClusters(input *DescribeClustersInput) (*DescribeClustersOutput, error) { @@ -868,15 +867,14 @@ func (c *CloudHSMV2) DescribeClustersWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClusters operation. -// pageNum := 0 -// err := client.DescribeClustersPages(params, -// func(page *cloudhsmv2.DescribeClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClusters operation. +// pageNum := 0 +// err := client.DescribeClustersPages(params, +// func(page *cloudhsmv2.DescribeClustersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudHSMV2) DescribeClustersPages(input *DescribeClustersInput, fn func(*DescribeClustersOutput, bool) bool) error { return c.DescribeClustersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -928,14 +926,13 @@ const opInitializeCluster = "InitializeCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InitializeClusterRequest method. +// req, resp := client.InitializeClusterRequest(params) // -// // Example sending a request using the InitializeClusterRequest method. -// req, resp := client.InitializeClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/InitializeCluster func (c *CloudHSMV2) InitializeClusterRequest(input *InitializeClusterInput) (req *request.Request, output *InitializeClusterOutput) { @@ -969,22 +966,23 @@ func (c *CloudHSMV2) InitializeClusterRequest(input *InitializeClusterInput) (re // API operation InitializeCluster for usage and error information. // // Returned Error Types: -// * CloudHsmAccessDeniedException -// The request was rejected because the requester does not have permission to -// perform the requested operation. // -// * CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. // -// * CloudHsmInvalidRequestException -// The request was rejected because it is not a valid request. +// - CloudHsmInternalFailureException +// The request was rejected because of an AWS CloudHSM internal failure. The +// request can be retried. // -// * CloudHsmResourceNotFoundException -// The request was rejected because it refers to a resource that cannot be found. +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. // -// * CloudHsmServiceException -// The request was rejected because an error occurred. +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. +// +// - CloudHsmServiceException +// The request was rejected because an error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/InitializeCluster func (c *CloudHSMV2) InitializeCluster(input *InitializeClusterInput) (*InitializeClusterOutput, error) { @@ -1024,14 +1022,13 @@ const opListTags = "ListTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsRequest method. +// req, resp := client.ListTagsRequest(params) // -// // Example sending a request using the ListTagsRequest method. -// req, resp := client.ListTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/ListTags func (c *CloudHSMV2) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { @@ -1074,26 +1071,27 @@ func (c *CloudHSMV2) ListTagsRequest(input *ListTagsInput) (req *request.Request // API operation ListTags for usage and error information. // // Returned Error Types: -// * CloudHsmAccessDeniedException -// The request was rejected because the requester does not have permission to -// perform the requested operation. // -// * CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. // -// * CloudHsmInvalidRequestException -// The request was rejected because it is not a valid request. +// - CloudHsmInternalFailureException +// The request was rejected because of an AWS CloudHSM internal failure. The +// request can be retried. // -// * CloudHsmResourceNotFoundException -// The request was rejected because it refers to a resource that cannot be found. +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. // -// * CloudHsmServiceException -// The request was rejected because an error occurred. +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. // -// * CloudHsmTagException -// The request was rejected because of a tagging failure. Verify the tag conditions -// in all applicable policies, and then retry the request. +// - CloudHsmServiceException +// The request was rejected because an error occurred. +// +// - CloudHsmTagException +// The request was rejected because of a tagging failure. Verify the tag conditions +// in all applicable policies, and then retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/ListTags func (c *CloudHSMV2) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { @@ -1125,15 +1123,14 @@ func (c *CloudHSMV2) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTags operation. -// pageNum := 0 -// err := client.ListTagsPages(params, -// func(page *cloudhsmv2.ListTagsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTags operation. +// pageNum := 0 +// err := client.ListTagsPages(params, +// func(page *cloudhsmv2.ListTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudHSMV2) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error { return c.ListTagsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1185,14 +1182,13 @@ const opModifyBackupAttributes = "ModifyBackupAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyBackupAttributesRequest method. +// req, resp := client.ModifyBackupAttributesRequest(params) // -// // Example sending a request using the ModifyBackupAttributesRequest method. -// req, resp := client.ModifyBackupAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/ModifyBackupAttributes func (c *CloudHSMV2) ModifyBackupAttributesRequest(input *ModifyBackupAttributesInput) (req *request.Request, output *ModifyBackupAttributesOutput) { @@ -1223,22 +1219,23 @@ func (c *CloudHSMV2) ModifyBackupAttributesRequest(input *ModifyBackupAttributes // API operation ModifyBackupAttributes for usage and error information. // // Returned Error Types: -// * CloudHsmAccessDeniedException -// The request was rejected because the requester does not have permission to -// perform the requested operation. // -// * CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. +// +// - CloudHsmInternalFailureException +// The request was rejected because of an AWS CloudHSM internal failure. The +// request can be retried. // -// * CloudHsmInvalidRequestException -// The request was rejected because it is not a valid request. +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. // -// * CloudHsmResourceNotFoundException -// The request was rejected because it refers to a resource that cannot be found. +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. // -// * CloudHsmServiceException -// The request was rejected because an error occurred. +// - CloudHsmServiceException +// The request was rejected because an error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/ModifyBackupAttributes func (c *CloudHSMV2) ModifyBackupAttributes(input *ModifyBackupAttributesInput) (*ModifyBackupAttributesOutput, error) { @@ -1278,14 +1275,13 @@ const opModifyCluster = "ModifyCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyClusterRequest method. +// req, resp := client.ModifyClusterRequest(params) // -// // Example sending a request using the ModifyClusterRequest method. -// req, resp := client.ModifyClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/ModifyCluster func (c *CloudHSMV2) ModifyClusterRequest(input *ModifyClusterInput) (req *request.Request, output *ModifyClusterOutput) { @@ -1316,22 +1312,23 @@ func (c *CloudHSMV2) ModifyClusterRequest(input *ModifyClusterInput) (req *reque // API operation ModifyCluster for usage and error information. // // Returned Error Types: -// * CloudHsmAccessDeniedException -// The request was rejected because the requester does not have permission to -// perform the requested operation. // -// * CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. +// +// - CloudHsmInternalFailureException +// The request was rejected because of an AWS CloudHSM internal failure. The +// request can be retried. // -// * CloudHsmInvalidRequestException -// The request was rejected because it is not a valid request. +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. // -// * CloudHsmResourceNotFoundException -// The request was rejected because it refers to a resource that cannot be found. +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. // -// * CloudHsmServiceException -// The request was rejected because an error occurred. +// - CloudHsmServiceException +// The request was rejected because an error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/ModifyCluster func (c *CloudHSMV2) ModifyCluster(input *ModifyClusterInput) (*ModifyClusterOutput, error) { @@ -1371,14 +1368,13 @@ const opRestoreBackup = "RestoreBackup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreBackupRequest method. +// req, resp := client.RestoreBackupRequest(params) // -// // Example sending a request using the RestoreBackupRequest method. -// req, resp := client.RestoreBackupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/RestoreBackup func (c *CloudHSMV2) RestoreBackupRequest(input *RestoreBackupInput) (req *request.Request, output *RestoreBackupOutput) { @@ -1410,22 +1406,23 @@ func (c *CloudHSMV2) RestoreBackupRequest(input *RestoreBackupInput) (req *reque // API operation RestoreBackup for usage and error information. // // Returned Error Types: -// * CloudHsmAccessDeniedException -// The request was rejected because the requester does not have permission to -// perform the requested operation. // -// * CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. +// +// - CloudHsmInternalFailureException +// The request was rejected because of an AWS CloudHSM internal failure. The +// request can be retried. // -// * CloudHsmInvalidRequestException -// The request was rejected because it is not a valid request. +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. // -// * CloudHsmResourceNotFoundException -// The request was rejected because it refers to a resource that cannot be found. +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. // -// * CloudHsmServiceException -// The request was rejected because an error occurred. +// - CloudHsmServiceException +// The request was rejected because an error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/RestoreBackup func (c *CloudHSMV2) RestoreBackup(input *RestoreBackupInput) (*RestoreBackupOutput, error) { @@ -1465,14 +1462,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/TagResource func (c *CloudHSMV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1504,26 +1500,27 @@ func (c *CloudHSMV2) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Types: -// * CloudHsmAccessDeniedException -// The request was rejected because the requester does not have permission to -// perform the requested operation. // -// * CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. +// +// - CloudHsmInternalFailureException +// The request was rejected because of an AWS CloudHSM internal failure. The +// request can be retried. // -// * CloudHsmInvalidRequestException -// The request was rejected because it is not a valid request. +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. // -// * CloudHsmResourceNotFoundException -// The request was rejected because it refers to a resource that cannot be found. +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. // -// * CloudHsmServiceException -// The request was rejected because an error occurred. +// - CloudHsmServiceException +// The request was rejected because an error occurred. // -// * CloudHsmTagException -// The request was rejected because of a tagging failure. Verify the tag conditions -// in all applicable policies, and then retry the request. +// - CloudHsmTagException +// The request was rejected because of a tagging failure. Verify the tag conditions +// in all applicable policies, and then retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/TagResource func (c *CloudHSMV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1563,14 +1560,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/UntagResource func (c *CloudHSMV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1602,26 +1598,27 @@ func (c *CloudHSMV2) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Types: -// * CloudHsmAccessDeniedException -// The request was rejected because the requester does not have permission to -// perform the requested operation. // -// * CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. +// +// - CloudHsmInternalFailureException +// The request was rejected because of an AWS CloudHSM internal failure. The +// request can be retried. // -// * CloudHsmInvalidRequestException -// The request was rejected because it is not a valid request. +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. // -// * CloudHsmResourceNotFoundException -// The request was rejected because it refers to a resource that cannot be found. +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. // -// * CloudHsmServiceException -// The request was rejected because an error occurred. +// - CloudHsmServiceException +// The request was rejected because an error occurred. // -// * CloudHsmTagException -// The request was rejected because of a tagging failure. Verify the tag conditions -// in all applicable policies, and then retry the request. +// - CloudHsmTagException +// The request was rejected because of a tagging failure. Verify the tag conditions +// in all applicable policies, and then retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/UntagResource func (c *CloudHSMV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/cloudhsmv2iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/cloudhsmv2iface/interface.go index ff102243f95f..37f0d32cb5fa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/cloudhsmv2iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/cloudhsmv2iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS CloudHSM V2. -// func myFunc(svc cloudhsmv2iface.CloudHSMV2API) bool { -// // Make svc.CopyBackupToRegion request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS CloudHSM V2. +// func myFunc(svc cloudhsmv2iface.CloudHSMV2API) bool { +// // Make svc.CopyBackupToRegion request +// } // -// func main() { -// sess := session.New() -// svc := cloudhsmv2.New(sess) +// func main() { +// sess := session.New() +// svc := cloudhsmv2.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCloudHSMV2Client struct { -// cloudhsmv2iface.CloudHSMV2API -// } -// func (m *mockCloudHSMV2Client) CopyBackupToRegion(input *cloudhsmv2.CopyBackupToRegionInput) (*cloudhsmv2.CopyBackupToRegionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCloudHSMV2Client struct { +// cloudhsmv2iface.CloudHSMV2API +// } +// func (m *mockCloudHSMV2Client) CopyBackupToRegion(input *cloudhsmv2.CopyBackupToRegionInput) (*cloudhsmv2.CopyBackupToRegionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCloudHSMV2Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCloudHSMV2Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/doc.go index b1a174109503..36fac4c0cce6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/doc.go @@ -11,7 +11,7 @@ // See cloudhsmv2 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cloudhsmv2/ // -// Using the Client +// # Using the Client // // To contact AWS CloudHSM V2 with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/service.go index b7a3c540bfbb..e96625959617 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudhsmv2/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CloudHSMV2 client from just a session. -// svc := cloudhsmv2.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CloudHSMV2 client with additional configuration -// svc := cloudhsmv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CloudHSMV2 client from just a session. +// svc := cloudhsmv2.New(mySession) +// +// // Create a CloudHSMV2 client with additional configuration +// svc := cloudhsmv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudHSMV2 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/api.go index 29939235c5c9..6c830210c792 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/api.go @@ -26,14 +26,13 @@ const opBuildSuggesters = "BuildSuggesters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BuildSuggestersRequest method. +// req, resp := client.BuildSuggestersRequest(params) // -// // Example sending a request using the BuildSuggestersRequest method. -// req, resp := client.BuildSuggestersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) BuildSuggestersRequest(input *BuildSuggestersInput) (req *request.Request, output *BuildSuggestersOutput) { op := &request.Operation{ Name: opBuildSuggesters, @@ -64,20 +63,20 @@ func (c *CloudSearch) BuildSuggestersRequest(input *BuildSuggestersInput) (req * // API operation BuildSuggesters for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeValidationException "ValidationException" -// The request was rejected because it has invalid parameters. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // +// - ErrCodeValidationException "ValidationException" +// The request was rejected because it has invalid parameters. func (c *CloudSearch) BuildSuggesters(input *BuildSuggestersInput) (*BuildSuggestersOutput, error) { req, out := c.BuildSuggestersRequest(input) return out, req.Send() @@ -115,14 +114,13 @@ const opCreateDomain = "CreateDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDomainRequest method. +// req, resp := client.CreateDomainRequest(params) // -// // Example sending a request using the CreateDomainRequest method. -// req, resp := client.CreateDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) { op := &request.Operation{ Name: opCreateDomain, @@ -153,23 +151,23 @@ func (c *CloudSearch) CreateDomainRequest(input *CreateDomainInput) (req *reques // API operation CreateDomain for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because a resource limit has already been met. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeResourceAlreadyExistsException "ResourceAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because a resource limit has already been met. // -// * ErrCodeValidationException "ValidationException" -// The request was rejected because it has invalid parameters. +// - ErrCodeResourceAlreadyExistsException "ResourceAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. // +// - ErrCodeValidationException "ValidationException" +// The request was rejected because it has invalid parameters. func (c *CloudSearch) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) { req, out := c.CreateDomainRequest(input) return out, req.Send() @@ -207,14 +205,13 @@ const opDefineAnalysisScheme = "DefineAnalysisScheme" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DefineAnalysisSchemeRequest method. +// req, resp := client.DefineAnalysisSchemeRequest(params) // -// // Example sending a request using the DefineAnalysisSchemeRequest method. -// req, resp := client.DefineAnalysisSchemeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DefineAnalysisSchemeRequest(input *DefineAnalysisSchemeInput) (req *request.Request, output *DefineAnalysisSchemeOutput) { op := &request.Operation{ Name: opDefineAnalysisScheme, @@ -246,26 +243,26 @@ func (c *CloudSearch) DefineAnalysisSchemeRequest(input *DefineAnalysisSchemeInp // API operation DefineAnalysisScheme for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because a resource limit has already been met. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeInvalidTypeException "InvalidType" -// The request was rejected because it specified an invalid type definition. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because a resource limit has already been met. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInvalidTypeException "InvalidType" +// The request was rejected because it specified an invalid type definition. // -// * ErrCodeValidationException "ValidationException" -// The request was rejected because it has invalid parameters. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // +// - ErrCodeValidationException "ValidationException" +// The request was rejected because it has invalid parameters. func (c *CloudSearch) DefineAnalysisScheme(input *DefineAnalysisSchemeInput) (*DefineAnalysisSchemeOutput, error) { req, out := c.DefineAnalysisSchemeRequest(input) return out, req.Send() @@ -303,14 +300,13 @@ const opDefineExpression = "DefineExpression" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DefineExpressionRequest method. +// req, resp := client.DefineExpressionRequest(params) // -// // Example sending a request using the DefineExpressionRequest method. -// req, resp := client.DefineExpressionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DefineExpressionRequest(input *DefineExpressionInput) (req *request.Request, output *DefineExpressionOutput) { op := &request.Operation{ Name: opDefineExpression, @@ -342,26 +338,26 @@ func (c *CloudSearch) DefineExpressionRequest(input *DefineExpressionInput) (req // API operation DefineExpression for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because a resource limit has already been met. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeInvalidTypeException "InvalidType" -// The request was rejected because it specified an invalid type definition. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because a resource limit has already been met. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInvalidTypeException "InvalidType" +// The request was rejected because it specified an invalid type definition. // -// * ErrCodeValidationException "ValidationException" -// The request was rejected because it has invalid parameters. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // +// - ErrCodeValidationException "ValidationException" +// The request was rejected because it has invalid parameters. func (c *CloudSearch) DefineExpression(input *DefineExpressionInput) (*DefineExpressionOutput, error) { req, out := c.DefineExpressionRequest(input) return out, req.Send() @@ -399,14 +395,13 @@ const opDefineIndexField = "DefineIndexField" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DefineIndexFieldRequest method. +// req, resp := client.DefineIndexFieldRequest(params) // -// // Example sending a request using the DefineIndexFieldRequest method. -// req, resp := client.DefineIndexFieldRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DefineIndexFieldRequest(input *DefineIndexFieldInput) (req *request.Request, output *DefineIndexFieldOutput) { op := &request.Operation{ Name: opDefineIndexField, @@ -442,26 +437,26 @@ func (c *CloudSearch) DefineIndexFieldRequest(input *DefineIndexFieldInput) (req // API operation DefineIndexField for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because a resource limit has already been met. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeInvalidTypeException "InvalidType" -// The request was rejected because it specified an invalid type definition. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because a resource limit has already been met. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInvalidTypeException "InvalidType" +// The request was rejected because it specified an invalid type definition. // -// * ErrCodeValidationException "ValidationException" -// The request was rejected because it has invalid parameters. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // +// - ErrCodeValidationException "ValidationException" +// The request was rejected because it has invalid parameters. func (c *CloudSearch) DefineIndexField(input *DefineIndexFieldInput) (*DefineIndexFieldOutput, error) { req, out := c.DefineIndexFieldRequest(input) return out, req.Send() @@ -499,14 +494,13 @@ const opDefineSuggester = "DefineSuggester" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DefineSuggesterRequest method. +// req, resp := client.DefineSuggesterRequest(params) // -// // Example sending a request using the DefineSuggesterRequest method. -// req, resp := client.DefineSuggesterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DefineSuggesterRequest(input *DefineSuggesterInput) (req *request.Request, output *DefineSuggesterOutput) { op := &request.Operation{ Name: opDefineSuggester, @@ -540,26 +534,26 @@ func (c *CloudSearch) DefineSuggesterRequest(input *DefineSuggesterInput) (req * // API operation DefineSuggester for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because a resource limit has already been met. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeInvalidTypeException "InvalidType" -// The request was rejected because it specified an invalid type definition. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because a resource limit has already been met. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInvalidTypeException "InvalidType" +// The request was rejected because it specified an invalid type definition. // -// * ErrCodeValidationException "ValidationException" -// The request was rejected because it has invalid parameters. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // +// - ErrCodeValidationException "ValidationException" +// The request was rejected because it has invalid parameters. func (c *CloudSearch) DefineSuggester(input *DefineSuggesterInput) (*DefineSuggesterOutput, error) { req, out := c.DefineSuggesterRequest(input) return out, req.Send() @@ -597,14 +591,13 @@ const opDeleteAnalysisScheme = "DeleteAnalysisScheme" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAnalysisSchemeRequest method. +// req, resp := client.DeleteAnalysisSchemeRequest(params) // -// // Example sending a request using the DeleteAnalysisSchemeRequest method. -// req, resp := client.DeleteAnalysisSchemeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DeleteAnalysisSchemeRequest(input *DeleteAnalysisSchemeInput) (req *request.Request, output *DeleteAnalysisSchemeOutput) { op := &request.Operation{ Name: opDeleteAnalysisScheme, @@ -635,23 +628,23 @@ func (c *CloudSearch) DeleteAnalysisSchemeRequest(input *DeleteAnalysisSchemeInp // API operation DeleteAnalysisScheme for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeInvalidTypeException "InvalidType" -// The request was rejected because it specified an invalid type definition. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInvalidTypeException "InvalidType" +// The request was rejected because it specified an invalid type definition. // -// * ErrCodeValidationException "ValidationException" -// The request was rejected because it has invalid parameters. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // +// - ErrCodeValidationException "ValidationException" +// The request was rejected because it has invalid parameters. func (c *CloudSearch) DeleteAnalysisScheme(input *DeleteAnalysisSchemeInput) (*DeleteAnalysisSchemeOutput, error) { req, out := c.DeleteAnalysisSchemeRequest(input) return out, req.Send() @@ -689,14 +682,13 @@ const opDeleteDomain = "DeleteDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainRequest method. +// req, resp := client.DeleteDomainRequest(params) // -// // Example sending a request using the DeleteDomainRequest method. -// req, resp := client.DeleteDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) { op := &request.Operation{ Name: opDeleteDomain, @@ -728,13 +720,13 @@ func (c *CloudSearch) DeleteDomainRequest(input *DeleteDomainInput) (req *reques // API operation DeleteDomain for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). func (c *CloudSearch) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) { req, out := c.DeleteDomainRequest(input) return out, req.Send() @@ -772,14 +764,13 @@ const opDeleteExpression = "DeleteExpression" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteExpressionRequest method. +// req, resp := client.DeleteExpressionRequest(params) // -// // Example sending a request using the DeleteExpressionRequest method. -// req, resp := client.DeleteExpressionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DeleteExpressionRequest(input *DeleteExpressionInput) (req *request.Request, output *DeleteExpressionOutput) { op := &request.Operation{ Name: opDeleteExpression, @@ -810,23 +801,23 @@ func (c *CloudSearch) DeleteExpressionRequest(input *DeleteExpressionInput) (req // API operation DeleteExpression for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeInvalidTypeException "InvalidType" -// The request was rejected because it specified an invalid type definition. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInvalidTypeException "InvalidType" +// The request was rejected because it specified an invalid type definition. // -// * ErrCodeValidationException "ValidationException" -// The request was rejected because it has invalid parameters. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // +// - ErrCodeValidationException "ValidationException" +// The request was rejected because it has invalid parameters. func (c *CloudSearch) DeleteExpression(input *DeleteExpressionInput) (*DeleteExpressionOutput, error) { req, out := c.DeleteExpressionRequest(input) return out, req.Send() @@ -864,14 +855,13 @@ const opDeleteIndexField = "DeleteIndexField" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIndexFieldRequest method. +// req, resp := client.DeleteIndexFieldRequest(params) // -// // Example sending a request using the DeleteIndexFieldRequest method. -// req, resp := client.DeleteIndexFieldRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DeleteIndexFieldRequest(input *DeleteIndexFieldInput) (req *request.Request, output *DeleteIndexFieldOutput) { op := &request.Operation{ Name: opDeleteIndexField, @@ -902,23 +892,23 @@ func (c *CloudSearch) DeleteIndexFieldRequest(input *DeleteIndexFieldInput) (req // API operation DeleteIndexField for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeInvalidTypeException "InvalidType" -// The request was rejected because it specified an invalid type definition. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInvalidTypeException "InvalidType" +// The request was rejected because it specified an invalid type definition. // -// * ErrCodeValidationException "ValidationException" -// The request was rejected because it has invalid parameters. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // +// - ErrCodeValidationException "ValidationException" +// The request was rejected because it has invalid parameters. func (c *CloudSearch) DeleteIndexField(input *DeleteIndexFieldInput) (*DeleteIndexFieldOutput, error) { req, out := c.DeleteIndexFieldRequest(input) return out, req.Send() @@ -956,14 +946,13 @@ const opDeleteSuggester = "DeleteSuggester" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSuggesterRequest method. +// req, resp := client.DeleteSuggesterRequest(params) // -// // Example sending a request using the DeleteSuggesterRequest method. -// req, resp := client.DeleteSuggesterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DeleteSuggesterRequest(input *DeleteSuggesterInput) (req *request.Request, output *DeleteSuggesterOutput) { op := &request.Operation{ Name: opDeleteSuggester, @@ -994,23 +983,23 @@ func (c *CloudSearch) DeleteSuggesterRequest(input *DeleteSuggesterInput) (req * // API operation DeleteSuggester for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeInvalidTypeException "InvalidType" -// The request was rejected because it specified an invalid type definition. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInvalidTypeException "InvalidType" +// The request was rejected because it specified an invalid type definition. // -// * ErrCodeValidationException "ValidationException" -// The request was rejected because it has invalid parameters. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // +// - ErrCodeValidationException "ValidationException" +// The request was rejected because it has invalid parameters. func (c *CloudSearch) DeleteSuggester(input *DeleteSuggesterInput) (*DeleteSuggesterOutput, error) { req, out := c.DeleteSuggesterRequest(input) return out, req.Send() @@ -1048,14 +1037,13 @@ const opDescribeAnalysisSchemes = "DescribeAnalysisSchemes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAnalysisSchemesRequest method. +// req, resp := client.DescribeAnalysisSchemesRequest(params) // -// // Example sending a request using the DescribeAnalysisSchemesRequest method. -// req, resp := client.DescribeAnalysisSchemesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DescribeAnalysisSchemesRequest(input *DescribeAnalysisSchemesInput) (req *request.Request, output *DescribeAnalysisSchemesOutput) { op := &request.Operation{ Name: opDescribeAnalysisSchemes, @@ -1090,17 +1078,17 @@ func (c *CloudSearch) DescribeAnalysisSchemesRequest(input *DescribeAnalysisSche // API operation DescribeAnalysisSchemes for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. func (c *CloudSearch) DescribeAnalysisSchemes(input *DescribeAnalysisSchemesInput) (*DescribeAnalysisSchemesOutput, error) { req, out := c.DescribeAnalysisSchemesRequest(input) return out, req.Send() @@ -1138,14 +1126,13 @@ const opDescribeAvailabilityOptions = "DescribeAvailabilityOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAvailabilityOptionsRequest method. +// req, resp := client.DescribeAvailabilityOptionsRequest(params) // -// // Example sending a request using the DescribeAvailabilityOptionsRequest method. -// req, resp := client.DescribeAvailabilityOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DescribeAvailabilityOptionsRequest(input *DescribeAvailabilityOptionsInput) (req *request.Request, output *DescribeAvailabilityOptionsOutput) { op := &request.Operation{ Name: opDescribeAvailabilityOptions, @@ -1178,26 +1165,26 @@ func (c *CloudSearch) DescribeAvailabilityOptionsRequest(input *DescribeAvailabi // API operation DescribeAvailabilityOptions for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeInvalidTypeException "InvalidType" -// The request was rejected because it specified an invalid type definition. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because a resource limit has already been met. +// - ErrCodeInvalidTypeException "InvalidType" +// The request was rejected because it specified an invalid type definition. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because a resource limit has already been met. // -// * ErrCodeDisabledOperationException "DisabledAction" -// The request was rejected because it attempted an operation which is not enabled. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // +// - ErrCodeDisabledOperationException "DisabledAction" +// The request was rejected because it attempted an operation which is not enabled. func (c *CloudSearch) DescribeAvailabilityOptions(input *DescribeAvailabilityOptionsInput) (*DescribeAvailabilityOptionsOutput, error) { req, out := c.DescribeAvailabilityOptionsRequest(input) return out, req.Send() @@ -1235,14 +1222,13 @@ const opDescribeDomainEndpointOptions = "DescribeDomainEndpointOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainEndpointOptionsRequest method. +// req, resp := client.DescribeDomainEndpointOptionsRequest(params) // -// // Example sending a request using the DescribeDomainEndpointOptionsRequest method. -// req, resp := client.DescribeDomainEndpointOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DescribeDomainEndpointOptionsRequest(input *DescribeDomainEndpointOptionsInput) (req *request.Request, output *DescribeDomainEndpointOptionsOutput) { op := &request.Operation{ Name: opDescribeDomainEndpointOptions, @@ -1274,23 +1260,23 @@ func (c *CloudSearch) DescribeDomainEndpointOptionsRequest(input *DescribeDomain // API operation DescribeDomainEndpointOptions for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because a resource limit has already been met. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because a resource limit has already been met. // -// * ErrCodeDisabledOperationException "DisabledAction" -// The request was rejected because it attempted an operation which is not enabled. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // +// - ErrCodeDisabledOperationException "DisabledAction" +// The request was rejected because it attempted an operation which is not enabled. func (c *CloudSearch) DescribeDomainEndpointOptions(input *DescribeDomainEndpointOptionsInput) (*DescribeDomainEndpointOptionsOutput, error) { req, out := c.DescribeDomainEndpointOptionsRequest(input) return out, req.Send() @@ -1328,14 +1314,13 @@ const opDescribeDomains = "DescribeDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainsRequest method. +// req, resp := client.DescribeDomainsRequest(params) // -// // Example sending a request using the DescribeDomainsRequest method. -// req, resp := client.DescribeDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DescribeDomainsRequest(input *DescribeDomainsInput) (req *request.Request, output *DescribeDomainsOutput) { op := &request.Operation{ Name: opDescribeDomains, @@ -1369,13 +1354,13 @@ func (c *CloudSearch) DescribeDomainsRequest(input *DescribeDomainsInput) (req * // API operation DescribeDomains for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). func (c *CloudSearch) DescribeDomains(input *DescribeDomainsInput) (*DescribeDomainsOutput, error) { req, out := c.DescribeDomainsRequest(input) return out, req.Send() @@ -1413,14 +1398,13 @@ const opDescribeExpressions = "DescribeExpressions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExpressionsRequest method. +// req, resp := client.DescribeExpressionsRequest(params) // -// // Example sending a request using the DescribeExpressionsRequest method. -// req, resp := client.DescribeExpressionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DescribeExpressionsRequest(input *DescribeExpressionsInput) (req *request.Request, output *DescribeExpressionsOutput) { op := &request.Operation{ Name: opDescribeExpressions, @@ -1454,17 +1438,17 @@ func (c *CloudSearch) DescribeExpressionsRequest(input *DescribeExpressionsInput // API operation DescribeExpressions for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. func (c *CloudSearch) DescribeExpressions(input *DescribeExpressionsInput) (*DescribeExpressionsOutput, error) { req, out := c.DescribeExpressionsRequest(input) return out, req.Send() @@ -1502,14 +1486,13 @@ const opDescribeIndexFields = "DescribeIndexFields" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIndexFieldsRequest method. +// req, resp := client.DescribeIndexFieldsRequest(params) // -// // Example sending a request using the DescribeIndexFieldsRequest method. -// req, resp := client.DescribeIndexFieldsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DescribeIndexFieldsRequest(input *DescribeIndexFieldsInput) (req *request.Request, output *DescribeIndexFieldsOutput) { op := &request.Operation{ Name: opDescribeIndexFields, @@ -1543,17 +1526,17 @@ func (c *CloudSearch) DescribeIndexFieldsRequest(input *DescribeIndexFieldsInput // API operation DescribeIndexFields for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. func (c *CloudSearch) DescribeIndexFields(input *DescribeIndexFieldsInput) (*DescribeIndexFieldsOutput, error) { req, out := c.DescribeIndexFieldsRequest(input) return out, req.Send() @@ -1591,14 +1574,13 @@ const opDescribeScalingParameters = "DescribeScalingParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScalingParametersRequest method. +// req, resp := client.DescribeScalingParametersRequest(params) // -// // Example sending a request using the DescribeScalingParametersRequest method. -// req, resp := client.DescribeScalingParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DescribeScalingParametersRequest(input *DescribeScalingParametersInput) (req *request.Request, output *DescribeScalingParametersOutput) { op := &request.Operation{ Name: opDescribeScalingParameters, @@ -1630,17 +1612,17 @@ func (c *CloudSearch) DescribeScalingParametersRequest(input *DescribeScalingPar // API operation DescribeScalingParameters for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. func (c *CloudSearch) DescribeScalingParameters(input *DescribeScalingParametersInput) (*DescribeScalingParametersOutput, error) { req, out := c.DescribeScalingParametersRequest(input) return out, req.Send() @@ -1678,14 +1660,13 @@ const opDescribeServiceAccessPolicies = "DescribeServiceAccessPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeServiceAccessPoliciesRequest method. +// req, resp := client.DescribeServiceAccessPoliciesRequest(params) // -// // Example sending a request using the DescribeServiceAccessPoliciesRequest method. -// req, resp := client.DescribeServiceAccessPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DescribeServiceAccessPoliciesRequest(input *DescribeServiceAccessPoliciesInput) (req *request.Request, output *DescribeServiceAccessPoliciesOutput) { op := &request.Operation{ Name: opDescribeServiceAccessPolicies, @@ -1719,17 +1700,17 @@ func (c *CloudSearch) DescribeServiceAccessPoliciesRequest(input *DescribeServic // API operation DescribeServiceAccessPolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. func (c *CloudSearch) DescribeServiceAccessPolicies(input *DescribeServiceAccessPoliciesInput) (*DescribeServiceAccessPoliciesOutput, error) { req, out := c.DescribeServiceAccessPoliciesRequest(input) return out, req.Send() @@ -1767,14 +1748,13 @@ const opDescribeSuggesters = "DescribeSuggesters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSuggestersRequest method. +// req, resp := client.DescribeSuggestersRequest(params) // -// // Example sending a request using the DescribeSuggestersRequest method. -// req, resp := client.DescribeSuggestersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) DescribeSuggestersRequest(input *DescribeSuggestersInput) (req *request.Request, output *DescribeSuggestersOutput) { op := &request.Operation{ Name: opDescribeSuggesters, @@ -1809,17 +1789,17 @@ func (c *CloudSearch) DescribeSuggestersRequest(input *DescribeSuggestersInput) // API operation DescribeSuggesters for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. func (c *CloudSearch) DescribeSuggesters(input *DescribeSuggestersInput) (*DescribeSuggestersOutput, error) { req, out := c.DescribeSuggestersRequest(input) return out, req.Send() @@ -1857,14 +1837,13 @@ const opIndexDocuments = "IndexDocuments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the IndexDocumentsRequest method. +// req, resp := client.IndexDocumentsRequest(params) // -// // Example sending a request using the IndexDocumentsRequest method. -// req, resp := client.IndexDocumentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) IndexDocumentsRequest(input *IndexDocumentsInput) (req *request.Request, output *IndexDocumentsOutput) { op := &request.Operation{ Name: opIndexDocuments, @@ -1895,20 +1874,20 @@ func (c *CloudSearch) IndexDocumentsRequest(input *IndexDocumentsInput) (req *re // API operation IndexDocuments for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeValidationException "ValidationException" -// The request was rejected because it has invalid parameters. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // +// - ErrCodeValidationException "ValidationException" +// The request was rejected because it has invalid parameters. func (c *CloudSearch) IndexDocuments(input *IndexDocumentsInput) (*IndexDocumentsOutput, error) { req, out := c.IndexDocumentsRequest(input) return out, req.Send() @@ -1946,14 +1925,13 @@ const opListDomainNames = "ListDomainNames" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainNamesRequest method. +// req, resp := client.ListDomainNamesRequest(params) // -// // Example sending a request using the ListDomainNamesRequest method. -// req, resp := client.ListDomainNamesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) ListDomainNamesRequest(input *ListDomainNamesInput) (req *request.Request, output *ListDomainNamesOutput) { op := &request.Operation{ Name: opListDomainNames, @@ -1982,9 +1960,8 @@ func (c *CloudSearch) ListDomainNamesRequest(input *ListDomainNamesInput) (req * // API operation ListDomainNames for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. -// +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. func (c *CloudSearch) ListDomainNames(input *ListDomainNamesInput) (*ListDomainNamesOutput, error) { req, out := c.ListDomainNamesRequest(input) return out, req.Send() @@ -2022,14 +1999,13 @@ const opUpdateAvailabilityOptions = "UpdateAvailabilityOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAvailabilityOptionsRequest method. +// req, resp := client.UpdateAvailabilityOptionsRequest(params) // -// // Example sending a request using the UpdateAvailabilityOptionsRequest method. -// req, resp := client.UpdateAvailabilityOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) UpdateAvailabilityOptionsRequest(input *UpdateAvailabilityOptionsInput) (req *request.Request, output *UpdateAvailabilityOptionsOutput) { op := &request.Operation{ Name: opUpdateAvailabilityOptions, @@ -2063,29 +2039,29 @@ func (c *CloudSearch) UpdateAvailabilityOptionsRequest(input *UpdateAvailability // API operation UpdateAvailabilityOptions for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeInvalidTypeException "InvalidType" -// The request was rejected because it specified an invalid type definition. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because a resource limit has already been met. +// - ErrCodeInvalidTypeException "InvalidType" +// The request was rejected because it specified an invalid type definition. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because a resource limit has already been met. // -// * ErrCodeDisabledOperationException "DisabledAction" -// The request was rejected because it attempted an operation which is not enabled. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // -// * ErrCodeValidationException "ValidationException" -// The request was rejected because it has invalid parameters. +// - ErrCodeDisabledOperationException "DisabledAction" +// The request was rejected because it attempted an operation which is not enabled. // +// - ErrCodeValidationException "ValidationException" +// The request was rejected because it has invalid parameters. func (c *CloudSearch) UpdateAvailabilityOptions(input *UpdateAvailabilityOptionsInput) (*UpdateAvailabilityOptionsOutput, error) { req, out := c.UpdateAvailabilityOptionsRequest(input) return out, req.Send() @@ -2123,14 +2099,13 @@ const opUpdateDomainEndpointOptions = "UpdateDomainEndpointOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDomainEndpointOptionsRequest method. +// req, resp := client.UpdateDomainEndpointOptionsRequest(params) // -// // Example sending a request using the UpdateDomainEndpointOptionsRequest method. -// req, resp := client.UpdateDomainEndpointOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) UpdateDomainEndpointOptionsRequest(input *UpdateDomainEndpointOptionsInput) (req *request.Request, output *UpdateDomainEndpointOptionsOutput) { op := &request.Operation{ Name: opUpdateDomainEndpointOptions, @@ -2162,29 +2137,29 @@ func (c *CloudSearch) UpdateDomainEndpointOptionsRequest(input *UpdateDomainEndp // API operation UpdateDomainEndpointOptions for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeInvalidTypeException "InvalidType" -// The request was rejected because it specified an invalid type definition. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because a resource limit has already been met. +// - ErrCodeInvalidTypeException "InvalidType" +// The request was rejected because it specified an invalid type definition. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because a resource limit has already been met. // -// * ErrCodeDisabledOperationException "DisabledAction" -// The request was rejected because it attempted an operation which is not enabled. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // -// * ErrCodeValidationException "ValidationException" -// The request was rejected because it has invalid parameters. +// - ErrCodeDisabledOperationException "DisabledAction" +// The request was rejected because it attempted an operation which is not enabled. // +// - ErrCodeValidationException "ValidationException" +// The request was rejected because it has invalid parameters. func (c *CloudSearch) UpdateDomainEndpointOptions(input *UpdateDomainEndpointOptionsInput) (*UpdateDomainEndpointOptionsOutput, error) { req, out := c.UpdateDomainEndpointOptionsRequest(input) return out, req.Send() @@ -2222,14 +2197,13 @@ const opUpdateScalingParameters = "UpdateScalingParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateScalingParametersRequest method. +// req, resp := client.UpdateScalingParametersRequest(params) // -// // Example sending a request using the UpdateScalingParametersRequest method. -// req, resp := client.UpdateScalingParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) UpdateScalingParametersRequest(input *UpdateScalingParametersInput) (req *request.Request, output *UpdateScalingParametersOutput) { op := &request.Operation{ Name: opUpdateScalingParameters, @@ -2265,26 +2239,26 @@ func (c *CloudSearch) UpdateScalingParametersRequest(input *UpdateScalingParamet // API operation UpdateScalingParameters for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because a resource limit has already been met. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because a resource limit has already been met. // -// * ErrCodeInvalidTypeException "InvalidType" -// The request was rejected because it specified an invalid type definition. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // -// * ErrCodeValidationException "ValidationException" -// The request was rejected because it has invalid parameters. +// - ErrCodeInvalidTypeException "InvalidType" +// The request was rejected because it specified an invalid type definition. // +// - ErrCodeValidationException "ValidationException" +// The request was rejected because it has invalid parameters. func (c *CloudSearch) UpdateScalingParameters(input *UpdateScalingParametersInput) (*UpdateScalingParametersOutput, error) { req, out := c.UpdateScalingParametersRequest(input) return out, req.Send() @@ -2322,14 +2296,13 @@ const opUpdateServiceAccessPolicies = "UpdateServiceAccessPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServiceAccessPoliciesRequest method. +// req, resp := client.UpdateServiceAccessPoliciesRequest(params) // -// // Example sending a request using the UpdateServiceAccessPoliciesRequest method. -// req, resp := client.UpdateServiceAccessPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearch) UpdateServiceAccessPoliciesRequest(input *UpdateServiceAccessPoliciesInput) (req *request.Request, output *UpdateServiceAccessPoliciesOutput) { op := &request.Operation{ Name: opUpdateServiceAccessPolicies, @@ -2360,26 +2333,26 @@ func (c *CloudSearch) UpdateServiceAccessPoliciesRequest(input *UpdateServiceAcc // API operation UpdateServiceAccessPolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeBaseException "BaseException" -// An error occurred while processing the request. // -// * ErrCodeInternalException "InternalException" -// An internal error occurred while processing the request. If this problem -// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). +// - ErrCodeBaseException "BaseException" +// An error occurred while processing the request. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because a resource limit has already been met. +// - ErrCodeInternalException "InternalException" +// An internal error occurred while processing the request. If this problem +// persists, report an issue from the Service Health Dashboard (http://status.aws.amazon.com/). // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// The request was rejected because it attempted to reference a resource that -// does not exist. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because a resource limit has already been met. // -// * ErrCodeInvalidTypeException "InvalidType" -// The request was rejected because it specified an invalid type definition. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// The request was rejected because it attempted to reference a resource that +// does not exist. // -// * ErrCodeValidationException "ValidationException" -// The request was rejected because it has invalid parameters. +// - ErrCodeInvalidTypeException "InvalidType" +// The request was rejected because it specified an invalid type definition. // +// - ErrCodeValidationException "ValidationException" +// The request was rejected because it has invalid parameters. func (c *CloudSearch) UpdateServiceAccessPolicies(input *UpdateServiceAccessPoliciesInput) (*UpdateServiceAccessPoliciesOutput, error) { req, out := c.UpdateServiceAccessPoliciesRequest(input) return out, req.Send() @@ -7550,16 +7523,16 @@ func IndexFieldType_Values() []string { // The state of processing a change to an option. One of: // -// * RequiresIndexDocuments: The option's latest value will not be deployed -// until IndexDocuments has been called and indexing is complete. +// - RequiresIndexDocuments: The option's latest value will not be deployed +// until IndexDocuments has been called and indexing is complete. // -// * Processing: The option's latest value is in the process of being activated. +// - Processing: The option's latest value is in the process of being activated. // -// * Active: The option's latest value is fully deployed. +// - Active: The option's latest value is fully deployed. // -// * FailedToValidate: The option value is not compatible with the domain's -// data and cannot be used to index the data. You must either modify the -// option value or update or remove the incompatible documents. +// - FailedToValidate: The option value is not compatible with the domain's +// data and cannot be used to index the data. You must either modify the +// option value or update or remove the incompatible documents. const ( // OptionStateRequiresIndexDocuments is a OptionState enum value OptionStateRequiresIndexDocuments = "RequiresIndexDocuments" diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/cloudsearchiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/cloudsearchiface/interface.go index 0a44ca220024..32a5fa2a5140 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/cloudsearchiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/cloudsearchiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon CloudSearch. -// func myFunc(svc cloudsearchiface.CloudSearchAPI) bool { -// // Make svc.BuildSuggesters request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon CloudSearch. +// func myFunc(svc cloudsearchiface.CloudSearchAPI) bool { +// // Make svc.BuildSuggesters request +// } // -// func main() { -// sess := session.New() -// svc := cloudsearch.New(sess) +// func main() { +// sess := session.New() +// svc := cloudsearch.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCloudSearchClient struct { -// cloudsearchiface.CloudSearchAPI -// } -// func (m *mockCloudSearchClient) BuildSuggesters(input *cloudsearch.BuildSuggestersInput) (*cloudsearch.BuildSuggestersOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCloudSearchClient struct { +// cloudsearchiface.CloudSearchAPI +// } +// func (m *mockCloudSearchClient) BuildSuggesters(input *cloudsearch.BuildSuggestersInput) (*cloudsearch.BuildSuggestersOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCloudSearchClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCloudSearchClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/doc.go index cdcf458a946c..acc0e2b82642 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/doc.go @@ -15,7 +15,7 @@ // See cloudsearch package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cloudsearch/ // -// Using the Client +// # Using the Client // // To contact Amazon CloudSearch with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/service.go index b4678d6f43ae..8dc25bccf40e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearch/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CloudSearch client from just a session. -// svc := cloudsearch.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CloudSearch client with additional configuration -// svc := cloudsearch.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CloudSearch client from just a session. +// svc := cloudsearch.New(mySession) +// +// // Create a CloudSearch client with additional configuration +// svc := cloudsearch.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudSearch { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/api.go index bc7fb49fae65..86c0cd3c18a9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/api.go @@ -28,14 +28,13 @@ const opSearch = "Search" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchRequest method. +// req, resp := client.SearchRequest(params) // -// // Example sending a request using the SearchRequest method. -// req, resp := client.SearchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearchDomain) SearchRequest(input *SearchInput) (req *request.Request, output *SearchOutput) { op := &request.Operation{ Name: opSearch, @@ -58,18 +57,18 @@ func (c *CloudSearchDomain) SearchRequest(input *SearchInput) (req *request.Requ // you specify the search criteria depends on which query parser you use. Amazon // CloudSearch supports four query parsers: // -// * simple: search all text and text-array fields for the specified string. -// Search for phrases, individual terms, and prefixes. +// - simple: search all text and text-array fields for the specified string. +// Search for phrases, individual terms, and prefixes. // -// * structured: search specific fields, construct compound queries using -// Boolean operators, and use advanced features such as term boosting and -// proximity searching. +// - structured: search specific fields, construct compound queries using +// Boolean operators, and use advanced features such as term boosting and +// proximity searching. // -// * lucene: specify search criteria using the Apache Lucene query parser -// syntax. +// - lucene: specify search criteria using the Apache Lucene query parser +// syntax. // -// * dismax: specify search criteria using the simplified subset of the Apache -// Lucene query parser syntax defined by the DisMax query parser. +// - dismax: specify search criteria using the simplified subset of the Apache +// Lucene query parser syntax defined by the DisMax query parser. // // For more information, see Searching Your Data (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/searching.html) // in the Amazon CloudSearch Developer Guide. @@ -88,9 +87,8 @@ func (c *CloudSearchDomain) SearchRequest(input *SearchInput) (req *request.Requ // API operation Search for usage and error information. // // Returned Error Types: -// * SearchException -// Information about any problems encountered while processing a search request. -// +// - SearchException +// Information about any problems encountered while processing a search request. func (c *CloudSearchDomain) Search(input *SearchInput) (*SearchOutput, error) { req, out := c.SearchRequest(input) return out, req.Send() @@ -128,14 +126,13 @@ const opSuggest = "Suggest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SuggestRequest method. +// req, resp := client.SuggestRequest(params) // -// // Example sending a request using the SuggestRequest method. -// req, resp := client.SuggestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearchDomain) SuggestRequest(input *SuggestInput) (req *request.Request, output *SuggestOutput) { op := &request.Operation{ Name: opSuggest, @@ -180,9 +177,8 @@ func (c *CloudSearchDomain) SuggestRequest(input *SuggestInput) (req *request.Re // API operation Suggest for usage and error information. // // Returned Error Types: -// * SearchException -// Information about any problems encountered while processing a search request. -// +// - SearchException +// Information about any problems encountered while processing a search request. func (c *CloudSearchDomain) Suggest(input *SuggestInput) (*SuggestOutput, error) { req, out := c.SuggestRequest(input) return out, req.Send() @@ -220,14 +216,13 @@ const opUploadDocuments = "UploadDocuments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UploadDocumentsRequest method. +// req, resp := client.UploadDocumentsRequest(params) // -// // Example sending a request using the UploadDocumentsRequest method. -// req, resp := client.UploadDocumentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *CloudSearchDomain) UploadDocumentsRequest(input *UploadDocumentsInput) (req *request.Request, output *UploadDocumentsOutput) { op := &request.Operation{ Name: opUploadDocuments, @@ -277,9 +272,8 @@ func (c *CloudSearchDomain) UploadDocumentsRequest(input *UploadDocumentsInput) // API operation UploadDocuments for usage and error information. // // Returned Error Types: -// * DocumentServiceException -// Information about any problems encountered while processing an upload request. -// +// - DocumentServiceException +// Information about any problems encountered while processing an upload request. func (c *CloudSearchDomain) UploadDocuments(input *UploadDocumentsInput) (*UploadDocumentsOutput, error) { req, out := c.UploadDocumentsRequest(input) return out, req.Send() diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/cloudsearchdomainiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/cloudsearchdomainiface/interface.go index 2d175916a963..dce911d6c975 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/cloudsearchdomainiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/cloudsearchdomainiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon CloudSearch Domain. -// func myFunc(svc cloudsearchdomainiface.CloudSearchDomainAPI) bool { -// // Make svc.Search request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon CloudSearch Domain. +// func myFunc(svc cloudsearchdomainiface.CloudSearchDomainAPI) bool { +// // Make svc.Search request +// } // -// func main() { -// sess := session.New() -// svc := cloudsearchdomain.New(sess) +// func main() { +// sess := session.New() +// svc := cloudsearchdomain.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCloudSearchDomainClient struct { -// cloudsearchdomainiface.CloudSearchDomainAPI -// } -// func (m *mockCloudSearchDomainClient) Search(input *cloudsearchdomain.SearchInput) (*cloudsearchdomain.SearchOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCloudSearchDomainClient struct { +// cloudsearchdomainiface.CloudSearchDomainAPI +// } +// func (m *mockCloudSearchDomainClient) Search(input *cloudsearchdomain.SearchInput) (*cloudsearchdomain.SearchOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCloudSearchDomainClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCloudSearchDomainClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/doc.go index eb4bfc946ff7..c5b083d4232b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/doc.go @@ -17,7 +17,7 @@ // See cloudsearchdomain package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cloudsearchdomain/ // -// Using the Client +// # Using the Client // // To contact Amazon CloudSearch Domain with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/service.go index 39ebe9a2e045..668924e92053 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudsearchdomain/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CloudSearchDomain client from just a session. -// svc := cloudsearchdomain.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CloudSearchDomain client with additional configuration -// svc := cloudsearchdomain.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CloudSearchDomain client from just a session. +// svc := cloudsearchdomain.New(mySession) +// +// // Create a CloudSearchDomain client with additional configuration +// svc := cloudsearchdomain.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudSearchDomain { var c client.Config if v, ok := p.(client.ConfigNoResolveEndpointProvider); ok { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/api.go index 40b97e6d5f91..d4d933b992c9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/api.go @@ -29,14 +29,13 @@ const opAddTags = "AddTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsRequest method. +// req, resp := client.AddTagsRequest(params) // -// // Example sending a request using the AddTagsRequest method. -// req, resp := client.AddTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTags func (c *CloudTrail) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) { @@ -75,67 +74,68 @@ func (c *CloudTrail) AddTagsRequest(input *AddTagsInput) (req *request.Request, // API operation AddTags for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the specified resource is not found. // -// * ARNInvalidException -// This exception is thrown when an operation is called with a trail ARN that -// is not valid. The following is the format of a trail ARN. +// - ResourceNotFoundException +// This exception is thrown when the specified resource is not found. +// +// - ARNInvalidException +// This exception is thrown when an operation is called with a trail ARN that +// is not valid. The following is the format of a trail ARN. // -// arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail +// arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // -// * ResourceTypeNotSupportedException -// This exception is thrown when the specified resource type is not supported -// by CloudTrail. +// - ResourceTypeNotSupportedException +// This exception is thrown when the specified resource type is not supported +// by CloudTrail. // -// * TagsLimitExceededException -// The number of tags per trail has exceeded the permitted amount. Currently, -// the limit is 50. +// - TagsLimitExceededException +// The number of tags per trail has exceeded the permitted amount. Currently, +// the limit is 50. // -// * InvalidTrailNameException -// This exception is thrown when the provided trail name is not valid. Trail -// names must meet the following requirements: +// - InvalidTrailNameException +// This exception is thrown when the provided trail name is not valid. Trail +// names must meet the following requirements: // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Start with a letter or number, and end with a letter or number +// - Start with a letter or number, and end with a letter or number // -// * Be between 3 and 128 characters +// - Be between 3 and 128 characters // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * Not be in IP address format (for example, 192.168.5.4) +// - Not be in IP address format (for example, 192.168.5.4) // -// * InvalidTagParameterException -// This exception is thrown when the specified tag key or values are not valid. -// It can also occur if there are duplicate tags or too many tags on the resource. +// - InvalidTagParameterException +// This exception is thrown when the specified tag key or values are not valid. +// It can also occur if there are duplicate tags or too many tags on the resource. // -// * InactiveEventDataStoreException -// The event data store is inactive. +// - InactiveEventDataStoreException +// The event data store is inactive. // -// * EventDataStoreNotFoundException -// The specified event data store was not found. +// - EventDataStoreNotFoundException +// The specified event data store was not found. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * NotOrganizationMasterAccountException -// This exception is thrown when the Amazon Web Services account making the -// request to create or update an organization trail or event data store is -// not the management account for an organization in Organizations. For more -// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) -// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). +// - NotOrganizationMasterAccountException +// This exception is thrown when the Amazon Web Services account making the +// request to create or update an organization trail or event data store is +// not the management account for an organization in Organizations. For more +// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) +// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). // -// * ConflictException -// This exception is thrown when the specified resource is not ready for an -// operation. This can occur when you try to run an operation on a resource -// before CloudTrail has time to fully load the resource. If this exception -// occurs, wait a few minutes, and then try the operation again. +// - ConflictException +// This exception is thrown when the specified resource is not ready for an +// operation. This can occur when you try to run an operation on a resource +// before CloudTrail has time to fully load the resource. If this exception +// occurs, wait a few minutes, and then try the operation again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/AddTags func (c *CloudTrail) AddTags(input *AddTagsInput) (*AddTagsOutput, error) { @@ -175,14 +175,13 @@ const opCancelQuery = "CancelQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelQueryRequest method. +// req, resp := client.CancelQueryRequest(params) // -// // Example sending a request using the CancelQueryRequest method. -// req, resp := client.CancelQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CancelQuery func (c *CloudTrail) CancelQueryRequest(input *CancelQueryInput) (req *request.Request, output *CancelQueryOutput) { @@ -217,37 +216,38 @@ func (c *CloudTrail) CancelQueryRequest(input *CancelQueryInput) (req *request.R // API operation CancelQuery for usage and error information. // // Returned Error Types: -// * EventDataStoreARNInvalidException -// The specified event data store ARN is not valid or does not map to an event -// data store in your account. // -// * EventDataStoreNotFoundException -// The specified event data store was not found. +// - EventDataStoreARNInvalidException +// The specified event data store ARN is not valid or does not map to an event +// data store in your account. // -// * InactiveEventDataStoreException -// The event data store is inactive. +// - EventDataStoreNotFoundException +// The specified event data store was not found. // -// * InactiveQueryException -// The specified query cannot be canceled because it is in the FINISHED, FAILED, -// TIMED_OUT, or CANCELLED state. +// - InactiveEventDataStoreException +// The event data store is inactive. // -// * InvalidParameterException -// The request includes a parameter that is not valid. +// - InactiveQueryException +// The specified query cannot be canceled because it is in the FINISHED, FAILED, +// TIMED_OUT, or CANCELLED state. // -// * QueryIdNotFoundException -// The query ID does not exist or does not map to a query. +// - InvalidParameterException +// The request includes a parameter that is not valid. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - QueryIdNotFoundException +// The query ID does not exist or does not map to a query. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * ConflictException -// This exception is thrown when the specified resource is not ready for an -// operation. This can occur when you try to run an operation on a resource -// before CloudTrail has time to fully load the resource. If this exception -// occurs, wait a few minutes, and then try the operation again. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. +// +// - ConflictException +// This exception is thrown when the specified resource is not ready for an +// operation. This can occur when you try to run an operation on a resource +// before CloudTrail has time to fully load the resource. If this exception +// occurs, wait a few minutes, and then try the operation again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CancelQuery func (c *CloudTrail) CancelQuery(input *CancelQueryInput) (*CancelQueryOutput, error) { @@ -287,14 +287,13 @@ const opCreateEventDataStore = "CreateEventDataStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEventDataStoreRequest method. +// req, resp := client.CreateEventDataStoreRequest(params) // -// // Example sending a request using the CreateEventDataStoreRequest method. -// req, resp := client.CreateEventDataStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateEventDataStore func (c *CloudTrail) CreateEventDataStoreRequest(input *CreateEventDataStoreInput) (req *request.Request, output *CreateEventDataStoreOutput) { @@ -325,58 +324,59 @@ func (c *CloudTrail) CreateEventDataStoreRequest(input *CreateEventDataStoreInpu // API operation CreateEventDataStore for usage and error information. // // Returned Error Types: -// * EventDataStoreAlreadyExistsException -// An event data store with that name already exists. -// -// * EventDataStoreMaxLimitExceededException -// Your account has used the maximum number of event data stores. -// -// * InvalidParameterException -// The request includes a parameter that is not valid. -// -// * InvalidTagParameterException -// This exception is thrown when the specified tag key or values are not valid. -// It can also occur if there are duplicate tags or too many tags on the resource. -// -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. -// -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. -// -// * ConflictException -// This exception is thrown when the specified resource is not ready for an -// operation. This can occur when you try to run an operation on a resource -// before CloudTrail has time to fully load the resource. If this exception -// occurs, wait a few minutes, and then try the operation again. -// -// * AccessNotEnabledException -// This exception is thrown when trusted access has not been enabled between -// CloudTrail and Organizations. For more information, see Enabling Trusted -// Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) -// and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html). -// -// * InsufficientDependencyServiceAccessPermissionException -// This exception is thrown when the IAM user or role that is used to create -// the organization resource lacks one or more required permissions for creating -// an organization resource in a required service. -// -// * NotOrganizationMasterAccountException -// This exception is thrown when the Amazon Web Services account making the -// request to create or update an organization trail or event data store is -// not the management account for an organization in Organizations. For more -// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) -// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). -// -// * OrganizationsNotInUseException -// This exception is thrown when the request is made from an Amazon Web Services -// account that is not a member of an organization. To make this request, sign -// in using the credentials of an account that belongs to an organization. -// -// * OrganizationNotInAllFeaturesModeException -// This exception is thrown when Organizations is not configured to support -// all features. All features must be enabled in Organizations to support creating -// an organization trail or event data store. +// +// - EventDataStoreAlreadyExistsException +// An event data store with that name already exists. +// +// - EventDataStoreMaxLimitExceededException +// Your account has used the maximum number of event data stores. +// +// - InvalidParameterException +// The request includes a parameter that is not valid. +// +// - InvalidTagParameterException +// This exception is thrown when the specified tag key or values are not valid. +// It can also occur if there are duplicate tags or too many tags on the resource. +// +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. +// +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. +// +// - ConflictException +// This exception is thrown when the specified resource is not ready for an +// operation. This can occur when you try to run an operation on a resource +// before CloudTrail has time to fully load the resource. If this exception +// occurs, wait a few minutes, and then try the operation again. +// +// - AccessNotEnabledException +// This exception is thrown when trusted access has not been enabled between +// CloudTrail and Organizations. For more information, see Enabling Trusted +// Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) +// and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html). +// +// - InsufficientDependencyServiceAccessPermissionException +// This exception is thrown when the IAM user or role that is used to create +// the organization resource lacks one or more required permissions for creating +// an organization resource in a required service. +// +// - NotOrganizationMasterAccountException +// This exception is thrown when the Amazon Web Services account making the +// request to create or update an organization trail or event data store is +// not the management account for an organization in Organizations. For more +// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) +// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). +// +// - OrganizationsNotInUseException +// This exception is thrown when the request is made from an Amazon Web Services +// account that is not a member of an organization. To make this request, sign +// in using the credentials of an account that belongs to an organization. +// +// - OrganizationNotInAllFeaturesModeException +// This exception is thrown when Organizations is not configured to support +// all features. All features must be enabled in Organizations to support creating +// an organization trail or event data store. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateEventDataStore func (c *CloudTrail) CreateEventDataStore(input *CreateEventDataStoreInput) (*CreateEventDataStoreOutput, error) { @@ -416,14 +416,13 @@ const opCreateTrail = "CreateTrail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTrailRequest method. +// req, resp := client.CreateTrailRequest(params) // -// // Example sending a request using the CreateTrailRequest method. -// req, resp := client.CreateTrailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrail func (c *CloudTrail) CreateTrailRequest(input *CreateTrailInput) (req *request.Request, output *CreateTrailOutput) { @@ -455,131 +454,132 @@ func (c *CloudTrail) CreateTrailRequest(input *CreateTrailInput) (req *request.R // API operation CreateTrail for usage and error information. // // Returned Error Types: -// * MaximumNumberOfTrailsExceededException -// This exception is thrown when the maximum number of trails is reached. // -// * TrailAlreadyExistsException -// This exception is thrown when the specified trail already exists. +// - MaximumNumberOfTrailsExceededException +// This exception is thrown when the maximum number of trails is reached. +// +// - TrailAlreadyExistsException +// This exception is thrown when the specified trail already exists. // -// * S3BucketDoesNotExistException -// This exception is thrown when the specified S3 bucket does not exist. +// - S3BucketDoesNotExistException +// This exception is thrown when the specified S3 bucket does not exist. // -// * InsufficientS3BucketPolicyException -// This exception is thrown when the policy on the S3 bucket is not sufficient. +// - InsufficientS3BucketPolicyException +// This exception is thrown when the policy on the S3 bucket is not sufficient. // -// * InsufficientSnsTopicPolicyException -// This exception is thrown when the policy on the Amazon SNS topic is not sufficient. +// - InsufficientSnsTopicPolicyException +// This exception is thrown when the policy on the Amazon SNS topic is not sufficient. // -// * InsufficientEncryptionPolicyException -// This exception is thrown when the policy on the S3 bucket or KMS key is not -// sufficient. +// - InsufficientEncryptionPolicyException +// This exception is thrown when the policy on the S3 bucket or KMS key is not +// sufficient. // -// * InvalidS3BucketNameException -// This exception is thrown when the provided S3 bucket name is not valid. +// - InvalidS3BucketNameException +// This exception is thrown when the provided S3 bucket name is not valid. // -// * InvalidS3PrefixException -// This exception is thrown when the provided S3 prefix is not valid. +// - InvalidS3PrefixException +// This exception is thrown when the provided S3 prefix is not valid. // -// * InvalidSnsTopicNameException -// This exception is thrown when the provided SNS topic name is not valid. +// - InvalidSnsTopicNameException +// This exception is thrown when the provided SNS topic name is not valid. // -// * InvalidKmsKeyIdException -// This exception is thrown when the KMS key ARN is not valid. +// - InvalidKmsKeyIdException +// This exception is thrown when the KMS key ARN is not valid. // -// * InvalidTrailNameException -// This exception is thrown when the provided trail name is not valid. Trail -// names must meet the following requirements: +// - InvalidTrailNameException +// This exception is thrown when the provided trail name is not valid. Trail +// names must meet the following requirements: // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Start with a letter or number, and end with a letter or number +// - Start with a letter or number, and end with a letter or number // -// * Be between 3 and 128 characters +// - Be between 3 and 128 characters // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * Not be in IP address format (for example, 192.168.5.4) +// - Not be in IP address format (for example, 192.168.5.4) // -// * TrailNotProvidedException -// This exception is no longer in use. +// - TrailNotProvidedException +// This exception is no longer in use. // -// * InvalidParameterCombinationException -// This exception is thrown when the combination of parameters provided is not -// valid. +// - InvalidParameterCombinationException +// This exception is thrown when the combination of parameters provided is not +// valid. // -// * KmsKeyNotFoundException -// This exception is thrown when the KMS key does not exist, when the S3 bucket -// and the KMS key are not in the same region, or when the KMS key associated -// with the Amazon SNS topic either does not exist or is not in the same region. +// - KmsKeyNotFoundException +// This exception is thrown when the KMS key does not exist, when the S3 bucket +// and the KMS key are not in the same region, or when the KMS key associated +// with the Amazon SNS topic either does not exist or is not in the same region. // -// * KmsKeyDisabledException -// This exception is no longer in use. +// - KmsKeyDisabledException +// This exception is no longer in use. // -// * KmsException -// This exception is thrown when there is an issue with the specified KMS key -// and the trail can’t be updated. +// - KmsException +// This exception is thrown when there is an issue with the specified KMS key +// and the trail can’t be updated. // -// * InvalidCloudWatchLogsLogGroupArnException -// This exception is thrown when the provided CloudWatch Logs log group is not -// valid. +// - InvalidCloudWatchLogsLogGroupArnException +// This exception is thrown when the provided CloudWatch Logs log group is not +// valid. // -// * InvalidCloudWatchLogsRoleArnException -// This exception is thrown when the provided role is not valid. +// - InvalidCloudWatchLogsRoleArnException +// This exception is thrown when the provided role is not valid. // -// * CloudWatchLogsDeliveryUnavailableException -// Cannot set a CloudWatch Logs delivery for this region. +// - CloudWatchLogsDeliveryUnavailableException +// Cannot set a CloudWatch Logs delivery for this region. // -// * InvalidTagParameterException -// This exception is thrown when the specified tag key or values are not valid. -// It can also occur if there are duplicate tags or too many tags on the resource. +// - InvalidTagParameterException +// This exception is thrown when the specified tag key or values are not valid. +// It can also occur if there are duplicate tags or too many tags on the resource. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * AccessNotEnabledException -// This exception is thrown when trusted access has not been enabled between -// CloudTrail and Organizations. For more information, see Enabling Trusted -// Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) -// and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html). +// - AccessNotEnabledException +// This exception is thrown when trusted access has not been enabled between +// CloudTrail and Organizations. For more information, see Enabling Trusted +// Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) +// and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html). // -// * InsufficientDependencyServiceAccessPermissionException -// This exception is thrown when the IAM user or role that is used to create -// the organization resource lacks one or more required permissions for creating -// an organization resource in a required service. +// - InsufficientDependencyServiceAccessPermissionException +// This exception is thrown when the IAM user or role that is used to create +// the organization resource lacks one or more required permissions for creating +// an organization resource in a required service. // -// * NotOrganizationMasterAccountException -// This exception is thrown when the Amazon Web Services account making the -// request to create or update an organization trail or event data store is -// not the management account for an organization in Organizations. For more -// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) -// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). +// - NotOrganizationMasterAccountException +// This exception is thrown when the Amazon Web Services account making the +// request to create or update an organization trail or event data store is +// not the management account for an organization in Organizations. For more +// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) +// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). // -// * OrganizationsNotInUseException -// This exception is thrown when the request is made from an Amazon Web Services -// account that is not a member of an organization. To make this request, sign -// in using the credentials of an account that belongs to an organization. +// - OrganizationsNotInUseException +// This exception is thrown when the request is made from an Amazon Web Services +// account that is not a member of an organization. To make this request, sign +// in using the credentials of an account that belongs to an organization. // -// * OrganizationNotInAllFeaturesModeException -// This exception is thrown when Organizations is not configured to support -// all features. All features must be enabled in Organizations to support creating -// an organization trail or event data store. +// - OrganizationNotInAllFeaturesModeException +// This exception is thrown when Organizations is not configured to support +// all features. All features must be enabled in Organizations to support creating +// an organization trail or event data store. // -// * CloudTrailInvalidClientTokenIdException -// This exception is thrown when a call results in the InvalidClientTokenId -// error code. This can occur when you are creating or updating a trail to send -// notifications to an Amazon SNS topic that is in a suspended Amazon Web Services -// account. +// - CloudTrailInvalidClientTokenIdException +// This exception is thrown when a call results in the InvalidClientTokenId +// error code. This can occur when you are creating or updating a trail to send +// notifications to an Amazon SNS topic that is in a suspended Amazon Web Services +// account. // -// * ConflictException -// This exception is thrown when the specified resource is not ready for an -// operation. This can occur when you try to run an operation on a resource -// before CloudTrail has time to fully load the resource. If this exception -// occurs, wait a few minutes, and then try the operation again. +// - ConflictException +// This exception is thrown when the specified resource is not ready for an +// operation. This can occur when you try to run an operation on a resource +// before CloudTrail has time to fully load the resource. If this exception +// occurs, wait a few minutes, and then try the operation again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/CreateTrail func (c *CloudTrail) CreateTrail(input *CreateTrailInput) (*CreateTrailOutput, error) { @@ -619,14 +619,13 @@ const opDeleteEventDataStore = "DeleteEventDataStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventDataStoreRequest method. +// req, resp := client.DeleteEventDataStoreRequest(params) // -// // Example sending a request using the DeleteEventDataStoreRequest method. -// req, resp := client.DeleteEventDataStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteEventDataStore func (c *CloudTrail) DeleteEventDataStoreRequest(input *DeleteEventDataStoreInput) (req *request.Request, output *DeleteEventDataStoreOutput) { @@ -668,37 +667,38 @@ func (c *CloudTrail) DeleteEventDataStoreRequest(input *DeleteEventDataStoreInpu // API operation DeleteEventDataStore for usage and error information. // // Returned Error Types: -// * EventDataStoreARNInvalidException -// The specified event data store ARN is not valid or does not map to an event -// data store in your account. // -// * EventDataStoreNotFoundException -// The specified event data store was not found. +// - EventDataStoreARNInvalidException +// The specified event data store ARN is not valid or does not map to an event +// data store in your account. +// +// - EventDataStoreNotFoundException +// The specified event data store was not found. // -// * EventDataStoreTerminationProtectedException -// The event data store cannot be deleted because termination protection is -// enabled for it. +// - EventDataStoreTerminationProtectedException +// The event data store cannot be deleted because termination protection is +// enabled for it. // -// * InvalidParameterException -// The request includes a parameter that is not valid. +// - InvalidParameterException +// The request includes a parameter that is not valid. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * NotOrganizationMasterAccountException -// This exception is thrown when the Amazon Web Services account making the -// request to create or update an organization trail or event data store is -// not the management account for an organization in Organizations. For more -// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) -// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). +// - NotOrganizationMasterAccountException +// This exception is thrown when the Amazon Web Services account making the +// request to create or update an organization trail or event data store is +// not the management account for an organization in Organizations. For more +// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) +// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). // -// * InsufficientDependencyServiceAccessPermissionException -// This exception is thrown when the IAM user or role that is used to create -// the organization resource lacks one or more required permissions for creating -// an organization resource in a required service. +// - InsufficientDependencyServiceAccessPermissionException +// This exception is thrown when the IAM user or role that is used to create +// the organization resource lacks one or more required permissions for creating +// an organization resource in a required service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteEventDataStore func (c *CloudTrail) DeleteEventDataStore(input *DeleteEventDataStoreInput) (*DeleteEventDataStoreOutput, error) { @@ -738,14 +738,13 @@ const opDeleteTrail = "DeleteTrail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTrailRequest method. +// req, resp := client.DeleteTrailRequest(params) // -// // Example sending a request using the DeleteTrailRequest method. -// req, resp := client.DeleteTrailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrail func (c *CloudTrail) DeleteTrailRequest(input *DeleteTrailInput) (req *request.Request, output *DeleteTrailOutput) { @@ -779,52 +778,53 @@ func (c *CloudTrail) DeleteTrailRequest(input *DeleteTrailInput) (req *request.R // API operation DeleteTrail for usage and error information. // // Returned Error Types: -// * TrailNotFoundException -// This exception is thrown when the trail with the given name is not found. // -// * InvalidTrailNameException -// This exception is thrown when the provided trail name is not valid. Trail -// names must meet the following requirements: +// - TrailNotFoundException +// This exception is thrown when the trail with the given name is not found. // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - InvalidTrailNameException +// This exception is thrown when the provided trail name is not valid. Trail +// names must meet the following requirements: // -// * Start with a letter or number, and end with a letter or number +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Be between 3 and 128 characters +// - Start with a letter or number, and end with a letter or number // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Be between 3 and 128 characters // -// * Not be in IP address format (for example, 192.168.5.4) +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * InvalidHomeRegionException -// This exception is thrown when an operation is called on a trail from a region -// other than the region in which the trail was created. +// - Not be in IP address format (for example, 192.168.5.4) // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - InvalidHomeRegionException +// This exception is thrown when an operation is called on a trail from a region +// other than the region in which the trail was created. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * NotOrganizationMasterAccountException -// This exception is thrown when the Amazon Web Services account making the -// request to create or update an organization trail or event data store is -// not the management account for an organization in Organizations. For more -// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) -// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * InsufficientDependencyServiceAccessPermissionException -// This exception is thrown when the IAM user or role that is used to create -// the organization resource lacks one or more required permissions for creating -// an organization resource in a required service. +// - NotOrganizationMasterAccountException +// This exception is thrown when the Amazon Web Services account making the +// request to create or update an organization trail or event data store is +// not the management account for an organization in Organizations. For more +// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) +// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). // -// * ConflictException -// This exception is thrown when the specified resource is not ready for an -// operation. This can occur when you try to run an operation on a resource -// before CloudTrail has time to fully load the resource. If this exception -// occurs, wait a few minutes, and then try the operation again. +// - InsufficientDependencyServiceAccessPermissionException +// This exception is thrown when the IAM user or role that is used to create +// the organization resource lacks one or more required permissions for creating +// an organization resource in a required service. +// +// - ConflictException +// This exception is thrown when the specified resource is not ready for an +// operation. This can occur when you try to run an operation on a resource +// before CloudTrail has time to fully load the resource. If this exception +// occurs, wait a few minutes, and then try the operation again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DeleteTrail func (c *CloudTrail) DeleteTrail(input *DeleteTrailInput) (*DeleteTrailOutput, error) { @@ -864,14 +864,13 @@ const opDescribeQuery = "DescribeQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeQueryRequest method. +// req, resp := client.DescribeQueryRequest(params) // -// // Example sending a request using the DescribeQueryRequest method. -// req, resp := client.DescribeQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeQuery func (c *CloudTrail) DescribeQueryRequest(input *DescribeQueryInput) (req *request.Request, output *DescribeQueryOutput) { @@ -904,27 +903,28 @@ func (c *CloudTrail) DescribeQueryRequest(input *DescribeQueryInput) (req *reque // API operation DescribeQuery for usage and error information. // // Returned Error Types: -// * EventDataStoreARNInvalidException -// The specified event data store ARN is not valid or does not map to an event -// data store in your account. // -// * EventDataStoreNotFoundException -// The specified event data store was not found. +// - EventDataStoreARNInvalidException +// The specified event data store ARN is not valid or does not map to an event +// data store in your account. // -// * InactiveEventDataStoreException -// The event data store is inactive. +// - EventDataStoreNotFoundException +// The specified event data store was not found. // -// * InvalidParameterException -// The request includes a parameter that is not valid. +// - InactiveEventDataStoreException +// The event data store is inactive. // -// * QueryIdNotFoundException -// The query ID does not exist or does not map to a query. +// - InvalidParameterException +// The request includes a parameter that is not valid. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - QueryIdNotFoundException +// The query ID does not exist or does not map to a query. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. +// +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeQuery func (c *CloudTrail) DescribeQuery(input *DescribeQueryInput) (*DescribeQueryOutput, error) { @@ -964,14 +964,13 @@ const opDescribeTrails = "DescribeTrails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTrailsRequest method. +// req, resp := client.DescribeTrailsRequest(params) // -// // Example sending a request using the DescribeTrailsRequest method. -// req, resp := client.DescribeTrailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrails func (c *CloudTrail) DescribeTrailsRequest(input *DescribeTrailsInput) (req *request.Request, output *DescribeTrailsOutput) { @@ -1003,27 +1002,28 @@ func (c *CloudTrail) DescribeTrailsRequest(input *DescribeTrailsInput) (req *req // API operation DescribeTrails for usage and error information. // // Returned Error Types: -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. +// +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * InvalidTrailNameException -// This exception is thrown when the provided trail name is not valid. Trail -// names must meet the following requirements: +// - InvalidTrailNameException +// This exception is thrown when the provided trail name is not valid. Trail +// names must meet the following requirements: // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Start with a letter or number, and end with a letter or number +// - Start with a letter or number, and end with a letter or number // -// * Be between 3 and 128 characters +// - Be between 3 and 128 characters // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * Not be in IP address format (for example, 192.168.5.4) +// - Not be in IP address format (for example, 192.168.5.4) // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/DescribeTrails func (c *CloudTrail) DescribeTrails(input *DescribeTrailsInput) (*DescribeTrailsOutput, error) { @@ -1063,14 +1063,13 @@ const opGetEventDataStore = "GetEventDataStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEventDataStoreRequest method. +// req, resp := client.GetEventDataStoreRequest(params) // -// // Example sending a request using the GetEventDataStoreRequest method. -// req, resp := client.GetEventDataStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventDataStore func (c *CloudTrail) GetEventDataStoreRequest(input *GetEventDataStoreInput) (req *request.Request, output *GetEventDataStoreOutput) { @@ -1102,21 +1101,22 @@ func (c *CloudTrail) GetEventDataStoreRequest(input *GetEventDataStoreInput) (re // API operation GetEventDataStore for usage and error information. // // Returned Error Types: -// * EventDataStoreARNInvalidException -// The specified event data store ARN is not valid or does not map to an event -// data store in your account. // -// * EventDataStoreNotFoundException -// The specified event data store was not found. +// - EventDataStoreARNInvalidException +// The specified event data store ARN is not valid or does not map to an event +// data store in your account. +// +// - EventDataStoreNotFoundException +// The specified event data store was not found. // -// * InvalidParameterException -// The request includes a parameter that is not valid. +// - InvalidParameterException +// The request includes a parameter that is not valid. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventDataStore func (c *CloudTrail) GetEventDataStore(input *GetEventDataStoreInput) (*GetEventDataStoreOutput, error) { @@ -1156,14 +1156,13 @@ const opGetEventSelectors = "GetEventSelectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEventSelectorsRequest method. +// req, resp := client.GetEventSelectorsRequest(params) // -// // Example sending a request using the GetEventSelectorsRequest method. -// req, resp := client.GetEventSelectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectors func (c *CloudTrail) GetEventSelectorsRequest(input *GetEventSelectorsInput) (req *request.Request, output *GetEventSelectorsOutput) { @@ -1187,13 +1186,13 @@ func (c *CloudTrail) GetEventSelectorsRequest(input *GetEventSelectorsInput) (re // Describes the settings for the event selectors that you configured for your // trail. The information returned for your event selectors includes the following: // -// * If your event selector includes read-only events, write-only events, -// or all events. This applies to both management events and data events. +// - If your event selector includes read-only events, write-only events, +// or all events. This applies to both management events and data events. // -// * If your event selector includes management events. +// - If your event selector includes management events. // -// * If your event selector includes data events, the resources on which -// you are logging data events. +// - If your event selector includes data events, the resources on which +// you are logging data events. // // For more information, see Logging Data and Management Events for Trails (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-and-data-events-with-cloudtrail.html) // in the CloudTrail User Guide. @@ -1206,30 +1205,31 @@ func (c *CloudTrail) GetEventSelectorsRequest(input *GetEventSelectorsInput) (re // API operation GetEventSelectors for usage and error information. // // Returned Error Types: -// * TrailNotFoundException -// This exception is thrown when the trail with the given name is not found. // -// * InvalidTrailNameException -// This exception is thrown when the provided trail name is not valid. Trail -// names must meet the following requirements: +// - TrailNotFoundException +// This exception is thrown when the trail with the given name is not found. +// +// - InvalidTrailNameException +// This exception is thrown when the provided trail name is not valid. Trail +// names must meet the following requirements: // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Start with a letter or number, and end with a letter or number +// - Start with a letter or number, and end with a letter or number // -// * Be between 3 and 128 characters +// - Be between 3 and 128 characters // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * Not be in IP address format (for example, 192.168.5.4) +// - Not be in IP address format (for example, 192.168.5.4) // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetEventSelectors func (c *CloudTrail) GetEventSelectors(input *GetEventSelectorsInput) (*GetEventSelectorsOutput, error) { @@ -1269,14 +1269,13 @@ const opGetInsightSelectors = "GetInsightSelectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInsightSelectorsRequest method. +// req, resp := client.GetInsightSelectorsRequest(params) // -// // Example sending a request using the GetInsightSelectorsRequest method. -// req, resp := client.GetInsightSelectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetInsightSelectors func (c *CloudTrail) GetInsightSelectorsRequest(input *GetInsightSelectorsInput) (req *request.Request, output *GetInsightSelectorsOutput) { @@ -1314,34 +1313,35 @@ func (c *CloudTrail) GetInsightSelectorsRequest(input *GetInsightSelectorsInput) // API operation GetInsightSelectors for usage and error information. // // Returned Error Types: -// * TrailNotFoundException -// This exception is thrown when the trail with the given name is not found. // -// * InvalidTrailNameException -// This exception is thrown when the provided trail name is not valid. Trail -// names must meet the following requirements: +// - TrailNotFoundException +// This exception is thrown when the trail with the given name is not found. // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - InvalidTrailNameException +// This exception is thrown when the provided trail name is not valid. Trail +// names must meet the following requirements: // -// * Start with a letter or number, and end with a letter or number +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Be between 3 and 128 characters +// - Start with a letter or number, and end with a letter or number // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Be between 3 and 128 characters // -// * Not be in IP address format (for example, 192.168.5.4) +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - Not be in IP address format (for example, 192.168.5.4) // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * InsightNotEnabledException -// If you run GetInsightSelectors on a trail that does not have Insights events -// enabled, the operation throws the exception InsightNotEnabledException. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. +// +// - InsightNotEnabledException +// If you run GetInsightSelectors on a trail that does not have Insights events +// enabled, the operation throws the exception InsightNotEnabledException. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetInsightSelectors func (c *CloudTrail) GetInsightSelectors(input *GetInsightSelectorsInput) (*GetInsightSelectorsOutput, error) { @@ -1381,14 +1381,13 @@ const opGetQueryResults = "GetQueryResults" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetQueryResultsRequest method. +// req, resp := client.GetQueryResultsRequest(params) // -// // Example sending a request using the GetQueryResultsRequest method. -// req, resp := client.GetQueryResultsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetQueryResults func (c *CloudTrail) GetQueryResultsRequest(input *GetQueryResultsInput) (req *request.Request, output *GetQueryResultsOutput) { @@ -1426,34 +1425,35 @@ func (c *CloudTrail) GetQueryResultsRequest(input *GetQueryResultsInput) (req *r // API operation GetQueryResults for usage and error information. // // Returned Error Types: -// * EventDataStoreARNInvalidException -// The specified event data store ARN is not valid or does not map to an event -// data store in your account. // -// * EventDataStoreNotFoundException -// The specified event data store was not found. +// - EventDataStoreARNInvalidException +// The specified event data store ARN is not valid or does not map to an event +// data store in your account. // -// * InactiveEventDataStoreException -// The event data store is inactive. +// - EventDataStoreNotFoundException +// The specified event data store was not found. // -// * InvalidMaxResultsException -// This exception is thrown if the limit specified is not valid. +// - InactiveEventDataStoreException +// The event data store is inactive. // -// * InvalidNextTokenException -// A token that is not valid, or a token that was previously used in a request -// with different parameters. This exception is thrown if the token is not valid. +// - InvalidMaxResultsException +// This exception is thrown if the limit specified is not valid. // -// * InvalidParameterException -// The request includes a parameter that is not valid. +// - InvalidNextTokenException +// A token that is not valid, or a token that was previously used in a request +// with different parameters. This exception is thrown if the token is not valid. // -// * QueryIdNotFoundException -// The query ID does not exist or does not map to a query. +// - InvalidParameterException +// The request includes a parameter that is not valid. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - QueryIdNotFoundException +// The query ID does not exist or does not map to a query. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. +// +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetQueryResults func (c *CloudTrail) GetQueryResults(input *GetQueryResultsInput) (*GetQueryResultsOutput, error) { @@ -1485,15 +1485,14 @@ func (c *CloudTrail) GetQueryResultsWithContext(ctx aws.Context, input *GetQuery // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetQueryResults operation. -// pageNum := 0 -// err := client.GetQueryResultsPages(params, -// func(page *cloudtrail.GetQueryResultsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetQueryResults operation. +// pageNum := 0 +// err := client.GetQueryResultsPages(params, +// func(page *cloudtrail.GetQueryResultsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudTrail) GetQueryResultsPages(input *GetQueryResultsInput, fn func(*GetQueryResultsOutput, bool) bool) error { return c.GetQueryResultsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1545,14 +1544,13 @@ const opGetTrail = "GetTrail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTrailRequest method. +// req, resp := client.GetTrailRequest(params) // -// // Example sending a request using the GetTrailRequest method. -// req, resp := client.GetTrailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrail func (c *CloudTrail) GetTrailRequest(input *GetTrailInput) (req *request.Request, output *GetTrailOutput) { @@ -1583,30 +1581,31 @@ func (c *CloudTrail) GetTrailRequest(input *GetTrailInput) (req *request.Request // API operation GetTrail for usage and error information. // // Returned Error Types: -// * TrailNotFoundException -// This exception is thrown when the trail with the given name is not found. // -// * InvalidTrailNameException -// This exception is thrown when the provided trail name is not valid. Trail -// names must meet the following requirements: +// - TrailNotFoundException +// This exception is thrown when the trail with the given name is not found. +// +// - InvalidTrailNameException +// This exception is thrown when the provided trail name is not valid. Trail +// names must meet the following requirements: // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Start with a letter or number, and end with a letter or number +// - Start with a letter or number, and end with a letter or number // -// * Be between 3 and 128 characters +// - Be between 3 and 128 characters // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * Not be in IP address format (for example, 192.168.5.4) +// - Not be in IP address format (for example, 192.168.5.4) // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrail func (c *CloudTrail) GetTrail(input *GetTrailInput) (*GetTrailOutput, error) { @@ -1646,14 +1645,13 @@ const opGetTrailStatus = "GetTrailStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTrailStatusRequest method. +// req, resp := client.GetTrailStatusRequest(params) // -// // Example sending a request using the GetTrailStatusRequest method. -// req, resp := client.GetTrailStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatus func (c *CloudTrail) GetTrailStatusRequest(input *GetTrailStatusInput) (req *request.Request, output *GetTrailStatusOutput) { @@ -1688,30 +1686,31 @@ func (c *CloudTrail) GetTrailStatusRequest(input *GetTrailStatusInput) (req *req // API operation GetTrailStatus for usage and error information. // // Returned Error Types: -// * TrailNotFoundException -// This exception is thrown when the trail with the given name is not found. // -// * InvalidTrailNameException -// This exception is thrown when the provided trail name is not valid. Trail -// names must meet the following requirements: +// - TrailNotFoundException +// This exception is thrown when the trail with the given name is not found. +// +// - InvalidTrailNameException +// This exception is thrown when the provided trail name is not valid. Trail +// names must meet the following requirements: // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Start with a letter or number, and end with a letter or number +// - Start with a letter or number, and end with a letter or number // -// * Be between 3 and 128 characters +// - Be between 3 and 128 characters // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * Not be in IP address format (for example, 192.168.5.4) +// - Not be in IP address format (for example, 192.168.5.4) // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/GetTrailStatus func (c *CloudTrail) GetTrailStatus(input *GetTrailStatusInput) (*GetTrailStatusOutput, error) { @@ -1751,14 +1750,13 @@ const opListEventDataStores = "ListEventDataStores" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventDataStoresRequest method. +// req, resp := client.ListEventDataStoresRequest(params) // -// // Example sending a request using the ListEventDataStoresRequest method. -// req, resp := client.ListEventDataStoresRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListEventDataStores func (c *CloudTrail) ListEventDataStoresRequest(input *ListEventDataStoresInput) (req *request.Request, output *ListEventDataStoresOutput) { @@ -1796,18 +1794,19 @@ func (c *CloudTrail) ListEventDataStoresRequest(input *ListEventDataStoresInput) // API operation ListEventDataStores for usage and error information. // // Returned Error Types: -// * InvalidMaxResultsException -// This exception is thrown if the limit specified is not valid. // -// * InvalidNextTokenException -// A token that is not valid, or a token that was previously used in a request -// with different parameters. This exception is thrown if the token is not valid. +// - InvalidMaxResultsException +// This exception is thrown if the limit specified is not valid. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - InvalidNextTokenException +// A token that is not valid, or a token that was previously used in a request +// with different parameters. This exception is thrown if the token is not valid. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. +// +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListEventDataStores func (c *CloudTrail) ListEventDataStores(input *ListEventDataStoresInput) (*ListEventDataStoresOutput, error) { @@ -1839,15 +1838,14 @@ func (c *CloudTrail) ListEventDataStoresWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEventDataStores operation. -// pageNum := 0 -// err := client.ListEventDataStoresPages(params, -// func(page *cloudtrail.ListEventDataStoresOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEventDataStores operation. +// pageNum := 0 +// err := client.ListEventDataStoresPages(params, +// func(page *cloudtrail.ListEventDataStoresOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudTrail) ListEventDataStoresPages(input *ListEventDataStoresInput, fn func(*ListEventDataStoresOutput, bool) bool) error { return c.ListEventDataStoresPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1899,14 +1897,13 @@ const opListPublicKeys = "ListPublicKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPublicKeysRequest method. +// req, resp := client.ListPublicKeysRequest(params) // -// // Example sending a request using the ListPublicKeysRequest method. -// req, resp := client.ListPublicKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeys func (c *CloudTrail) ListPublicKeysRequest(input *ListPublicKeysInput) (req *request.Request, output *ListPublicKeysOutput) { @@ -1950,18 +1947,19 @@ func (c *CloudTrail) ListPublicKeysRequest(input *ListPublicKeysInput) (req *req // API operation ListPublicKeys for usage and error information. // // Returned Error Types: -// * InvalidTimeRangeException -// Occurs if the timestamp values are not valid. Either the start time occurs -// after the end time, or the time range is outside the range of possible values. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - InvalidTimeRangeException +// Occurs if the timestamp values are not valid. Either the start time occurs +// after the end time, or the time range is outside the range of possible values. +// +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * InvalidTokenException -// Reserved for future use. +// - InvalidTokenException +// Reserved for future use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListPublicKeys func (c *CloudTrail) ListPublicKeys(input *ListPublicKeysInput) (*ListPublicKeysOutput, error) { @@ -1993,15 +1991,14 @@ func (c *CloudTrail) ListPublicKeysWithContext(ctx aws.Context, input *ListPubli // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPublicKeys operation. -// pageNum := 0 -// err := client.ListPublicKeysPages(params, -// func(page *cloudtrail.ListPublicKeysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPublicKeys operation. +// pageNum := 0 +// err := client.ListPublicKeysPages(params, +// func(page *cloudtrail.ListPublicKeysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudTrail) ListPublicKeysPages(input *ListPublicKeysInput, fn func(*ListPublicKeysOutput, bool) bool) error { return c.ListPublicKeysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2053,14 +2050,13 @@ const opListQueries = "ListQueries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListQueriesRequest method. +// req, resp := client.ListQueriesRequest(params) // -// // Example sending a request using the ListQueriesRequest method. -// req, resp := client.ListQueriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListQueries func (c *CloudTrail) ListQueriesRequest(input *ListQueriesInput) (req *request.Request, output *ListQueriesOutput) { @@ -2102,40 +2098,41 @@ func (c *CloudTrail) ListQueriesRequest(input *ListQueriesInput) (req *request.R // API operation ListQueries for usage and error information. // // Returned Error Types: -// * EventDataStoreARNInvalidException -// The specified event data store ARN is not valid or does not map to an event -// data store in your account. // -// * EventDataStoreNotFoundException -// The specified event data store was not found. +// - EventDataStoreARNInvalidException +// The specified event data store ARN is not valid or does not map to an event +// data store in your account. +// +// - EventDataStoreNotFoundException +// The specified event data store was not found. // -// * InactiveEventDataStoreException -// The event data store is inactive. +// - InactiveEventDataStoreException +// The event data store is inactive. // -// * InvalidDateRangeException -// A date range for the query was specified that is not valid. Be sure that -// the start time is chronologically before the end time. For more information -// about writing a query, see Create or edit a query (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html) -// in the CloudTrail User Guide. +// - InvalidDateRangeException +// A date range for the query was specified that is not valid. Be sure that +// the start time is chronologically before the end time. For more information +// about writing a query, see Create or edit a query (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html) +// in the CloudTrail User Guide. // -// * InvalidMaxResultsException -// This exception is thrown if the limit specified is not valid. +// - InvalidMaxResultsException +// This exception is thrown if the limit specified is not valid. // -// * InvalidNextTokenException -// A token that is not valid, or a token that was previously used in a request -// with different parameters. This exception is thrown if the token is not valid. +// - InvalidNextTokenException +// A token that is not valid, or a token that was previously used in a request +// with different parameters. This exception is thrown if the token is not valid. // -// * InvalidParameterException -// The request includes a parameter that is not valid. +// - InvalidParameterException +// The request includes a parameter that is not valid. // -// * InvalidQueryStatusException -// The query status is not valid for the operation. +// - InvalidQueryStatusException +// The query status is not valid for the operation. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListQueries func (c *CloudTrail) ListQueries(input *ListQueriesInput) (*ListQueriesOutput, error) { @@ -2167,15 +2164,14 @@ func (c *CloudTrail) ListQueriesWithContext(ctx aws.Context, input *ListQueriesI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListQueries operation. -// pageNum := 0 -// err := client.ListQueriesPages(params, -// func(page *cloudtrail.ListQueriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListQueries operation. +// pageNum := 0 +// err := client.ListQueriesPages(params, +// func(page *cloudtrail.ListQueriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudTrail) ListQueriesPages(input *ListQueriesInput, fn func(*ListQueriesOutput, bool) bool) error { return c.ListQueriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2227,14 +2223,13 @@ const opListTags = "ListTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsRequest method. +// req, resp := client.ListTagsRequest(params) // -// // Example sending a request using the ListTagsRequest method. -// req, resp := client.ListTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTags func (c *CloudTrail) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { @@ -2271,49 +2266,50 @@ func (c *CloudTrail) ListTagsRequest(input *ListTagsInput) (req *request.Request // API operation ListTags for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the specified resource is not found. // -// * ARNInvalidException -// This exception is thrown when an operation is called with a trail ARN that -// is not valid. The following is the format of a trail ARN. +// - ResourceNotFoundException +// This exception is thrown when the specified resource is not found. +// +// - ARNInvalidException +// This exception is thrown when an operation is called with a trail ARN that +// is not valid. The following is the format of a trail ARN. // -// arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail +// arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // -// * ResourceTypeNotSupportedException -// This exception is thrown when the specified resource type is not supported -// by CloudTrail. +// - ResourceTypeNotSupportedException +// This exception is thrown when the specified resource type is not supported +// by CloudTrail. // -// * InvalidTrailNameException -// This exception is thrown when the provided trail name is not valid. Trail -// names must meet the following requirements: +// - InvalidTrailNameException +// This exception is thrown when the provided trail name is not valid. Trail +// names must meet the following requirements: // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Start with a letter or number, and end with a letter or number +// - Start with a letter or number, and end with a letter or number // -// * Be between 3 and 128 characters +// - Be between 3 and 128 characters // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * Not be in IP address format (for example, 192.168.5.4) +// - Not be in IP address format (for example, 192.168.5.4) // -// * InactiveEventDataStoreException -// The event data store is inactive. +// - InactiveEventDataStoreException +// The event data store is inactive. // -// * EventDataStoreNotFoundException -// The specified event data store was not found. +// - EventDataStoreNotFoundException +// The specified event data store was not found. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * InvalidTokenException -// Reserved for future use. +// - InvalidTokenException +// Reserved for future use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTags func (c *CloudTrail) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { @@ -2345,15 +2341,14 @@ func (c *CloudTrail) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTags operation. -// pageNum := 0 -// err := client.ListTagsPages(params, -// func(page *cloudtrail.ListTagsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTags operation. +// pageNum := 0 +// err := client.ListTagsPages(params, +// func(page *cloudtrail.ListTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudTrail) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error { return c.ListTagsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2405,14 +2400,13 @@ const opListTrails = "ListTrails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTrailsRequest method. +// req, resp := client.ListTrailsRequest(params) // -// // Example sending a request using the ListTrailsRequest method. -// req, resp := client.ListTrailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTrails func (c *CloudTrail) ListTrailsRequest(input *ListTrailsInput) (req *request.Request, output *ListTrailsOutput) { @@ -2449,11 +2443,12 @@ func (c *CloudTrail) ListTrailsRequest(input *ListTrailsInput) (req *request.Req // API operation ListTrails for usage and error information. // // Returned Error Types: -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. +// +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/ListTrails func (c *CloudTrail) ListTrails(input *ListTrailsInput) (*ListTrailsOutput, error) { @@ -2485,15 +2480,14 @@ func (c *CloudTrail) ListTrailsWithContext(ctx aws.Context, input *ListTrailsInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTrails operation. -// pageNum := 0 -// err := client.ListTrailsPages(params, -// func(page *cloudtrail.ListTrailsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTrails operation. +// pageNum := 0 +// err := client.ListTrailsPages(params, +// func(page *cloudtrail.ListTrailsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudTrail) ListTrailsPages(input *ListTrailsInput, fn func(*ListTrailsOutput, bool) bool) error { return c.ListTrailsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2545,14 +2539,13 @@ const opLookupEvents = "LookupEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the LookupEventsRequest method. +// req, resp := client.LookupEventsRequest(params) // -// // Example sending a request using the LookupEventsRequest method. -// req, resp := client.LookupEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEvents func (c *CloudTrail) LookupEventsRequest(input *LookupEventsInput) (req *request.Request, output *LookupEventsOutput) { @@ -2585,29 +2578,29 @@ func (c *CloudTrail) LookupEventsRequest(input *LookupEventsInput) (req *request // a region within the last 90 days. Lookup supports the following attributes // for management events: // -// * Amazon Web Services access key +// - Amazon Web Services access key // -// * Event ID +// - Event ID // -// * Event name +// - Event name // -// * Event source +// - Event source // -// * Read only +// - Read only // -// * Resource name +// - Resource name // -// * Resource type +// - Resource type // -// * User name +// - User name // // Lookup supports the following attributes for Insights events: // -// * Event ID +// - Event ID // -// * Event name +// - Event name // -// * Event source +// - Event source // // All attributes are optional. The default number of results returned is 50, // with a maximum of 50 possible. The response includes a token that you can @@ -2624,29 +2617,30 @@ func (c *CloudTrail) LookupEventsRequest(input *LookupEventsInput) (req *request // API operation LookupEvents for usage and error information. // // Returned Error Types: -// * InvalidLookupAttributesException -// Occurs when a lookup attribute is specified that is not valid. // -// * InvalidTimeRangeException -// Occurs if the timestamp values are not valid. Either the start time occurs -// after the end time, or the time range is outside the range of possible values. +// - InvalidLookupAttributesException +// Occurs when a lookup attribute is specified that is not valid. +// +// - InvalidTimeRangeException +// Occurs if the timestamp values are not valid. Either the start time occurs +// after the end time, or the time range is outside the range of possible values. // -// * InvalidMaxResultsException -// This exception is thrown if the limit specified is not valid. +// - InvalidMaxResultsException +// This exception is thrown if the limit specified is not valid. // -// * InvalidNextTokenException -// A token that is not valid, or a token that was previously used in a request -// with different parameters. This exception is thrown if the token is not valid. +// - InvalidNextTokenException +// A token that is not valid, or a token that was previously used in a request +// with different parameters. This exception is thrown if the token is not valid. // -// * InvalidEventCategoryException -// Occurs if an event category that is not valid is specified as a value of -// EventCategory. +// - InvalidEventCategoryException +// Occurs if an event category that is not valid is specified as a value of +// EventCategory. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/LookupEvents func (c *CloudTrail) LookupEvents(input *LookupEventsInput) (*LookupEventsOutput, error) { @@ -2678,15 +2672,14 @@ func (c *CloudTrail) LookupEventsWithContext(ctx aws.Context, input *LookupEvent // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a LookupEvents operation. -// pageNum := 0 -// err := client.LookupEventsPages(params, -// func(page *cloudtrail.LookupEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a LookupEvents operation. +// pageNum := 0 +// err := client.LookupEventsPages(params, +// func(page *cloudtrail.LookupEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudTrail) LookupEventsPages(input *LookupEventsInput, fn func(*LookupEventsOutput, bool) bool) error { return c.LookupEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2738,14 +2731,13 @@ const opPutEventSelectors = "PutEventSelectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEventSelectorsRequest method. +// req, resp := client.PutEventSelectorsRequest(params) // -// // Example sending a request using the PutEventSelectorsRequest method. -// req, resp := client.PutEventSelectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectors func (c *CloudTrail) PutEventSelectorsRequest(input *PutEventSelectorsInput) (req *request.Request, output *PutEventSelectorsOutput) { @@ -2777,7 +2769,7 @@ func (c *CloudTrail) PutEventSelectorsRequest(input *PutEventSelectorsInput) (re // any event selector, the trail processes and logs the event. If the event // doesn't match any event selector, the trail doesn't log the event. // -// Example +// # Example // // You create an event selector for a trail and specify that you want write-only // events. @@ -2817,72 +2809,73 @@ func (c *CloudTrail) PutEventSelectorsRequest(input *PutEventSelectorsInput) (re // API operation PutEventSelectors for usage and error information. // // Returned Error Types: -// * TrailNotFoundException -// This exception is thrown when the trail with the given name is not found. // -// * InvalidTrailNameException -// This exception is thrown when the provided trail name is not valid. Trail -// names must meet the following requirements: +// - TrailNotFoundException +// This exception is thrown when the trail with the given name is not found. +// +// - InvalidTrailNameException +// This exception is thrown when the provided trail name is not valid. Trail +// names must meet the following requirements: // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Start with a letter or number, and end with a letter or number +// - Start with a letter or number, and end with a letter or number // -// * Be between 3 and 128 characters +// - Be between 3 and 128 characters // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * Not be in IP address format (for example, 192.168.5.4) +// - Not be in IP address format (for example, 192.168.5.4) // -// * InvalidHomeRegionException -// This exception is thrown when an operation is called on a trail from a region -// other than the region in which the trail was created. +// - InvalidHomeRegionException +// This exception is thrown when an operation is called on a trail from a region +// other than the region in which the trail was created. // -// * InvalidEventSelectorsException -// This exception is thrown when the PutEventSelectors operation is called with -// a number of event selectors, advanced event selectors, or data resources -// that is not valid. The combination of event selectors or advanced event selectors -// and data resources is not valid. A trail can have up to 5 event selectors. -// If a trail uses advanced event selectors, a maximum of 500 total values for -// all conditions in all advanced event selectors is allowed. A trail is limited -// to 250 data resources. These data resources can be distributed across event -// selectors, but the overall total cannot exceed 250. +// - InvalidEventSelectorsException +// This exception is thrown when the PutEventSelectors operation is called with +// a number of event selectors, advanced event selectors, or data resources +// that is not valid. The combination of event selectors or advanced event selectors +// and data resources is not valid. A trail can have up to 5 event selectors. +// If a trail uses advanced event selectors, a maximum of 500 total values for +// all conditions in all advanced event selectors is allowed. A trail is limited +// to 250 data resources. These data resources can be distributed across event +// selectors, but the overall total cannot exceed 250. // -// You can: +// You can: // -// * Specify a valid number of event selectors (1 to 5) for a trail. +// - Specify a valid number of event selectors (1 to 5) for a trail. // -// * Specify a valid number of data resources (1 to 250) for an event selector. -// The limit of number of resources on an individual event selector is configurable -// up to 250. However, this upper limit is allowed only if the total number -// of data resources does not exceed 250 across all event selectors for a -// trail. +// - Specify a valid number of data resources (1 to 250) for an event selector. +// The limit of number of resources on an individual event selector is configurable +// up to 250. However, this upper limit is allowed only if the total number +// of data resources does not exceed 250 across all event selectors for a +// trail. // -// * Specify up to 500 values for all conditions in all advanced event selectors -// for a trail. +// - Specify up to 500 values for all conditions in all advanced event selectors +// for a trail. // -// * Specify a valid value for a parameter. For example, specifying the ReadWriteType -// parameter with a value of read-only is not valid. +// - Specify a valid value for a parameter. For example, specifying the ReadWriteType +// parameter with a value of read-only is not valid. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * NotOrganizationMasterAccountException -// This exception is thrown when the Amazon Web Services account making the -// request to create or update an organization trail or event data store is -// not the management account for an organization in Organizations. For more -// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) -// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). +// - NotOrganizationMasterAccountException +// This exception is thrown when the Amazon Web Services account making the +// request to create or update an organization trail or event data store is +// not the management account for an organization in Organizations. For more +// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) +// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). // -// * InsufficientDependencyServiceAccessPermissionException -// This exception is thrown when the IAM user or role that is used to create -// the organization resource lacks one or more required permissions for creating -// an organization resource in a required service. +// - InsufficientDependencyServiceAccessPermissionException +// This exception is thrown when the IAM user or role that is used to create +// the organization resource lacks one or more required permissions for creating +// an organization resource in a required service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutEventSelectors func (c *CloudTrail) PutEventSelectors(input *PutEventSelectorsInput) (*PutEventSelectorsOutput, error) { @@ -2922,14 +2915,13 @@ const opPutInsightSelectors = "PutInsightSelectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutInsightSelectorsRequest method. +// req, resp := client.PutInsightSelectorsRequest(params) // -// // Example sending a request using the PutInsightSelectorsRequest method. -// req, resp := client.PutInsightSelectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutInsightSelectors func (c *CloudTrail) PutInsightSelectorsRequest(input *PutInsightSelectorsInput) (req *request.Request, output *PutInsightSelectorsOutput) { @@ -2964,60 +2956,61 @@ func (c *CloudTrail) PutInsightSelectorsRequest(input *PutInsightSelectorsInput) // API operation PutInsightSelectors for usage and error information. // // Returned Error Types: -// * TrailNotFoundException -// This exception is thrown when the trail with the given name is not found. // -// * InvalidTrailNameException -// This exception is thrown when the provided trail name is not valid. Trail -// names must meet the following requirements: +// - TrailNotFoundException +// This exception is thrown when the trail with the given name is not found. +// +// - InvalidTrailNameException +// This exception is thrown when the provided trail name is not valid. Trail +// names must meet the following requirements: // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Start with a letter or number, and end with a letter or number +// - Start with a letter or number, and end with a letter or number // -// * Be between 3 and 128 characters +// - Be between 3 and 128 characters // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * Not be in IP address format (for example, 192.168.5.4) +// - Not be in IP address format (for example, 192.168.5.4) // -// * InvalidHomeRegionException -// This exception is thrown when an operation is called on a trail from a region -// other than the region in which the trail was created. +// - InvalidHomeRegionException +// This exception is thrown when an operation is called on a trail from a region +// other than the region in which the trail was created. // -// * InvalidInsightSelectorsException -// The formatting or syntax of the InsightSelectors JSON statement in your PutInsightSelectors -// or GetInsightSelectors request is not valid, or the specified insight type -// in the InsightSelectors statement is not a valid insight type. +// - InvalidInsightSelectorsException +// The formatting or syntax of the InsightSelectors JSON statement in your PutInsightSelectors +// or GetInsightSelectors request is not valid, or the specified insight type +// in the InsightSelectors statement is not a valid insight type. // -// * InsufficientS3BucketPolicyException -// This exception is thrown when the policy on the S3 bucket is not sufficient. +// - InsufficientS3BucketPolicyException +// This exception is thrown when the policy on the S3 bucket is not sufficient. // -// * InsufficientEncryptionPolicyException -// This exception is thrown when the policy on the S3 bucket or KMS key is not -// sufficient. +// - InsufficientEncryptionPolicyException +// This exception is thrown when the policy on the S3 bucket or KMS key is not +// sufficient. // -// * S3BucketDoesNotExistException -// This exception is thrown when the specified S3 bucket does not exist. +// - S3BucketDoesNotExistException +// This exception is thrown when the specified S3 bucket does not exist. // -// * KmsException -// This exception is thrown when there is an issue with the specified KMS key -// and the trail can’t be updated. +// - KmsException +// This exception is thrown when there is an issue with the specified KMS key +// and the trail can’t be updated. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * NotOrganizationMasterAccountException -// This exception is thrown when the Amazon Web Services account making the -// request to create or update an organization trail or event data store is -// not the management account for an organization in Organizations. For more -// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) -// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). +// - NotOrganizationMasterAccountException +// This exception is thrown when the Amazon Web Services account making the +// request to create or update an organization trail or event data store is +// not the management account for an organization in Organizations. For more +// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) +// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/PutInsightSelectors func (c *CloudTrail) PutInsightSelectors(input *PutInsightSelectorsInput) (*PutInsightSelectorsOutput, error) { @@ -3057,14 +3050,13 @@ const opRemoveTags = "RemoveTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsRequest method. +// req, resp := client.RemoveTagsRequest(params) // -// // Example sending a request using the RemoveTagsRequest method. -// req, resp := client.RemoveTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTags func (c *CloudTrail) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) { @@ -3096,57 +3088,58 @@ func (c *CloudTrail) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Req // API operation RemoveTags for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the specified resource is not found. // -// * ARNInvalidException -// This exception is thrown when an operation is called with a trail ARN that -// is not valid. The following is the format of a trail ARN. +// - ResourceNotFoundException +// This exception is thrown when the specified resource is not found. +// +// - ARNInvalidException +// This exception is thrown when an operation is called with a trail ARN that +// is not valid. The following is the format of a trail ARN. // -// arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail +// arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail // -// * ResourceTypeNotSupportedException -// This exception is thrown when the specified resource type is not supported -// by CloudTrail. +// - ResourceTypeNotSupportedException +// This exception is thrown when the specified resource type is not supported +// by CloudTrail. // -// * InvalidTrailNameException -// This exception is thrown when the provided trail name is not valid. Trail -// names must meet the following requirements: +// - InvalidTrailNameException +// This exception is thrown when the provided trail name is not valid. Trail +// names must meet the following requirements: // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Start with a letter or number, and end with a letter or number +// - Start with a letter or number, and end with a letter or number // -// * Be between 3 and 128 characters +// - Be between 3 and 128 characters // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * Not be in IP address format (for example, 192.168.5.4) +// - Not be in IP address format (for example, 192.168.5.4) // -// * InvalidTagParameterException -// This exception is thrown when the specified tag key or values are not valid. -// It can also occur if there are duplicate tags or too many tags on the resource. +// - InvalidTagParameterException +// This exception is thrown when the specified tag key or values are not valid. +// It can also occur if there are duplicate tags or too many tags on the resource. // -// * InactiveEventDataStoreException -// The event data store is inactive. +// - InactiveEventDataStoreException +// The event data store is inactive. // -// * EventDataStoreNotFoundException -// The specified event data store was not found. +// - EventDataStoreNotFoundException +// The specified event data store was not found. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * NotOrganizationMasterAccountException -// This exception is thrown when the Amazon Web Services account making the -// request to create or update an organization trail or event data store is -// not the management account for an organization in Organizations. For more -// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) -// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). +// - NotOrganizationMasterAccountException +// This exception is thrown when the Amazon Web Services account making the +// request to create or update an organization trail or event data store is +// not the management account for an organization in Organizations. For more +// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) +// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RemoveTags func (c *CloudTrail) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) { @@ -3186,14 +3179,13 @@ const opRestoreEventDataStore = "RestoreEventDataStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreEventDataStoreRequest method. +// req, resp := client.RestoreEventDataStoreRequest(params) // -// // Example sending a request using the RestoreEventDataStoreRequest method. -// req, resp := client.RestoreEventDataStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RestoreEventDataStore func (c *CloudTrail) RestoreEventDataStoreRequest(input *RestoreEventDataStoreInput) (req *request.Request, output *RestoreEventDataStoreOutput) { @@ -3227,55 +3219,56 @@ func (c *CloudTrail) RestoreEventDataStoreRequest(input *RestoreEventDataStoreIn // API operation RestoreEventDataStore for usage and error information. // // Returned Error Types: -// * EventDataStoreARNInvalidException -// The specified event data store ARN is not valid or does not map to an event -// data store in your account. // -// * EventDataStoreNotFoundException -// The specified event data store was not found. +// - EventDataStoreARNInvalidException +// The specified event data store ARN is not valid or does not map to an event +// data store in your account. // -// * EventDataStoreMaxLimitExceededException -// Your account has used the maximum number of event data stores. +// - EventDataStoreNotFoundException +// The specified event data store was not found. // -// * InvalidEventDataStoreStatusException -// The event data store is not in a status that supports the operation. +// - EventDataStoreMaxLimitExceededException +// Your account has used the maximum number of event data stores. // -// * InvalidParameterException -// The request includes a parameter that is not valid. +// - InvalidEventDataStoreStatusException +// The event data store is not in a status that supports the operation. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - InvalidParameterException +// The request includes a parameter that is not valid. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * AccessNotEnabledException -// This exception is thrown when trusted access has not been enabled between -// CloudTrail and Organizations. For more information, see Enabling Trusted -// Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) -// and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html). +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * InsufficientDependencyServiceAccessPermissionException -// This exception is thrown when the IAM user or role that is used to create -// the organization resource lacks one or more required permissions for creating -// an organization resource in a required service. +// - AccessNotEnabledException +// This exception is thrown when trusted access has not been enabled between +// CloudTrail and Organizations. For more information, see Enabling Trusted +// Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) +// and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html). // -// * OrganizationsNotInUseException -// This exception is thrown when the request is made from an Amazon Web Services -// account that is not a member of an organization. To make this request, sign -// in using the credentials of an account that belongs to an organization. +// - InsufficientDependencyServiceAccessPermissionException +// This exception is thrown when the IAM user or role that is used to create +// the organization resource lacks one or more required permissions for creating +// an organization resource in a required service. // -// * NotOrganizationMasterAccountException -// This exception is thrown when the Amazon Web Services account making the -// request to create or update an organization trail or event data store is -// not the management account for an organization in Organizations. For more -// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) -// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). +// - OrganizationsNotInUseException +// This exception is thrown when the request is made from an Amazon Web Services +// account that is not a member of an organization. To make this request, sign +// in using the credentials of an account that belongs to an organization. // -// * OrganizationNotInAllFeaturesModeException -// This exception is thrown when Organizations is not configured to support -// all features. All features must be enabled in Organizations to support creating -// an organization trail or event data store. +// - NotOrganizationMasterAccountException +// This exception is thrown when the Amazon Web Services account making the +// request to create or update an organization trail or event data store is +// not the management account for an organization in Organizations. For more +// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) +// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). +// +// - OrganizationNotInAllFeaturesModeException +// This exception is thrown when Organizations is not configured to support +// all features. All features must be enabled in Organizations to support creating +// an organization trail or event data store. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/RestoreEventDataStore func (c *CloudTrail) RestoreEventDataStore(input *RestoreEventDataStoreInput) (*RestoreEventDataStoreOutput, error) { @@ -3315,14 +3308,13 @@ const opStartLogging = "StartLogging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartLoggingRequest method. +// req, resp := client.StartLoggingRequest(params) // -// // Example sending a request using the StartLoggingRequest method. -// req, resp := client.StartLoggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLogging func (c *CloudTrail) StartLoggingRequest(input *StartLoggingInput) (req *request.Request, output *StartLoggingOutput) { @@ -3358,46 +3350,47 @@ func (c *CloudTrail) StartLoggingRequest(input *StartLoggingInput) (req *request // API operation StartLogging for usage and error information. // // Returned Error Types: -// * TrailNotFoundException -// This exception is thrown when the trail with the given name is not found. // -// * InvalidTrailNameException -// This exception is thrown when the provided trail name is not valid. Trail -// names must meet the following requirements: +// - TrailNotFoundException +// This exception is thrown when the trail with the given name is not found. // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - InvalidTrailNameException +// This exception is thrown when the provided trail name is not valid. Trail +// names must meet the following requirements: // -// * Start with a letter or number, and end with a letter or number +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Be between 3 and 128 characters +// - Start with a letter or number, and end with a letter or number // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Be between 3 and 128 characters // -// * Not be in IP address format (for example, 192.168.5.4) +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * InvalidHomeRegionException -// This exception is thrown when an operation is called on a trail from a region -// other than the region in which the trail was created. +// - Not be in IP address format (for example, 192.168.5.4) // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - InvalidHomeRegionException +// This exception is thrown when an operation is called on a trail from a region +// other than the region in which the trail was created. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * NotOrganizationMasterAccountException -// This exception is thrown when the Amazon Web Services account making the -// request to create or update an organization trail or event data store is -// not the management account for an organization in Organizations. For more -// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) -// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * InsufficientDependencyServiceAccessPermissionException -// This exception is thrown when the IAM user or role that is used to create -// the organization resource lacks one or more required permissions for creating -// an organization resource in a required service. +// - NotOrganizationMasterAccountException +// This exception is thrown when the Amazon Web Services account making the +// request to create or update an organization trail or event data store is +// not the management account for an organization in Organizations. For more +// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) +// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). +// +// - InsufficientDependencyServiceAccessPermissionException +// This exception is thrown when the IAM user or role that is used to create +// the organization resource lacks one or more required permissions for creating +// an organization resource in a required service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartLogging func (c *CloudTrail) StartLogging(input *StartLoggingInput) (*StartLoggingOutput, error) { @@ -3437,14 +3430,13 @@ const opStartQuery = "StartQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartQueryRequest method. +// req, resp := client.StartQueryRequest(params) // -// // Example sending a request using the StartQueryRequest method. -// req, resp := client.StartQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartQuery func (c *CloudTrail) StartQueryRequest(input *StartQueryInput) (req *request.Request, output *StartQueryOutput) { @@ -3476,34 +3468,35 @@ func (c *CloudTrail) StartQueryRequest(input *StartQueryInput) (req *request.Req // API operation StartQuery for usage and error information. // // Returned Error Types: -// * EventDataStoreARNInvalidException -// The specified event data store ARN is not valid or does not map to an event -// data store in your account. // -// * EventDataStoreNotFoundException -// The specified event data store was not found. +// - EventDataStoreARNInvalidException +// The specified event data store ARN is not valid or does not map to an event +// data store in your account. +// +// - EventDataStoreNotFoundException +// The specified event data store was not found. // -// * InactiveEventDataStoreException -// The event data store is inactive. +// - InactiveEventDataStoreException +// The event data store is inactive. // -// * InvalidParameterException -// The request includes a parameter that is not valid. +// - InvalidParameterException +// The request includes a parameter that is not valid. // -// * InvalidQueryStatementException -// The query that was submitted has validation errors, or uses incorrect syntax -// or unsupported keywords. For more information about writing a query, see -// Create or edit a query (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html) -// in the CloudTrail User Guide. +// - InvalidQueryStatementException +// The query that was submitted has validation errors, or uses incorrect syntax +// or unsupported keywords. For more information about writing a query, see +// Create or edit a query (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-create-edit-query.html) +// in the CloudTrail User Guide. // -// * MaxConcurrentQueriesException -// You are already running the maximum number of concurrent queries. Wait a -// minute for some queries to finish, and then run the query again. +// - MaxConcurrentQueriesException +// You are already running the maximum number of concurrent queries. Wait a +// minute for some queries to finish, and then run the query again. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StartQuery func (c *CloudTrail) StartQuery(input *StartQueryInput) (*StartQueryOutput, error) { @@ -3543,14 +3536,13 @@ const opStopLogging = "StopLogging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopLoggingRequest method. +// req, resp := client.StopLoggingRequest(params) // -// // Example sending a request using the StopLoggingRequest method. -// req, resp := client.StopLoggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLogging func (c *CloudTrail) StopLoggingRequest(input *StopLoggingInput) (req *request.Request, output *StopLoggingOutput) { @@ -3589,46 +3581,47 @@ func (c *CloudTrail) StopLoggingRequest(input *StopLoggingInput) (req *request.R // API operation StopLogging for usage and error information. // // Returned Error Types: -// * TrailNotFoundException -// This exception is thrown when the trail with the given name is not found. // -// * InvalidTrailNameException -// This exception is thrown when the provided trail name is not valid. Trail -// names must meet the following requirements: +// - TrailNotFoundException +// This exception is thrown when the trail with the given name is not found. +// +// - InvalidTrailNameException +// This exception is thrown when the provided trail name is not valid. Trail +// names must meet the following requirements: // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Start with a letter or number, and end with a letter or number +// - Start with a letter or number, and end with a letter or number // -// * Be between 3 and 128 characters +// - Be between 3 and 128 characters // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * Not be in IP address format (for example, 192.168.5.4) +// - Not be in IP address format (for example, 192.168.5.4) // -// * InvalidHomeRegionException -// This exception is thrown when an operation is called on a trail from a region -// other than the region in which the trail was created. +// - InvalidHomeRegionException +// This exception is thrown when an operation is called on a trail from a region +// other than the region in which the trail was created. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * NotOrganizationMasterAccountException -// This exception is thrown when the Amazon Web Services account making the -// request to create or update an organization trail or event data store is -// not the management account for an organization in Organizations. For more -// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) -// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). +// - NotOrganizationMasterAccountException +// This exception is thrown when the Amazon Web Services account making the +// request to create or update an organization trail or event data store is +// not the management account for an organization in Organizations. For more +// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) +// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). // -// * InsufficientDependencyServiceAccessPermissionException -// This exception is thrown when the IAM user or role that is used to create -// the organization resource lacks one or more required permissions for creating -// an organization resource in a required service. +// - InsufficientDependencyServiceAccessPermissionException +// This exception is thrown when the IAM user or role that is used to create +// the organization resource lacks one or more required permissions for creating +// an organization resource in a required service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/StopLogging func (c *CloudTrail) StopLogging(input *StopLoggingInput) (*StopLoggingOutput, error) { @@ -3668,14 +3661,13 @@ const opUpdateEventDataStore = "UpdateEventDataStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEventDataStoreRequest method. +// req, resp := client.UpdateEventDataStoreRequest(params) // -// // Example sending a request using the UpdateEventDataStoreRequest method. -// req, resp := client.UpdateEventDataStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateEventDataStore func (c *CloudTrail) UpdateEventDataStoreRequest(input *UpdateEventDataStoreInput) (req *request.Request, output *UpdateEventDataStoreOutput) { @@ -3712,52 +3704,53 @@ func (c *CloudTrail) UpdateEventDataStoreRequest(input *UpdateEventDataStoreInpu // API operation UpdateEventDataStore for usage and error information. // // Returned Error Types: -// * EventDataStoreARNInvalidException -// The specified event data store ARN is not valid or does not map to an event -// data store in your account. // -// * EventDataStoreNotFoundException -// The specified event data store was not found. +// - EventDataStoreARNInvalidException +// The specified event data store ARN is not valid or does not map to an event +// data store in your account. +// +// - EventDataStoreNotFoundException +// The specified event data store was not found. // -// * InactiveEventDataStoreException -// The event data store is inactive. +// - InactiveEventDataStoreException +// The event data store is inactive. // -// * InvalidParameterException -// The request includes a parameter that is not valid. +// - InvalidParameterException +// The request includes a parameter that is not valid. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * AccessNotEnabledException -// This exception is thrown when trusted access has not been enabled between -// CloudTrail and Organizations. For more information, see Enabling Trusted -// Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) -// and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html). +// - AccessNotEnabledException +// This exception is thrown when trusted access has not been enabled between +// CloudTrail and Organizations. For more information, see Enabling Trusted +// Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) +// and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html). // -// * InsufficientDependencyServiceAccessPermissionException -// This exception is thrown when the IAM user or role that is used to create -// the organization resource lacks one or more required permissions for creating -// an organization resource in a required service. +// - InsufficientDependencyServiceAccessPermissionException +// This exception is thrown when the IAM user or role that is used to create +// the organization resource lacks one or more required permissions for creating +// an organization resource in a required service. // -// * OrganizationsNotInUseException -// This exception is thrown when the request is made from an Amazon Web Services -// account that is not a member of an organization. To make this request, sign -// in using the credentials of an account that belongs to an organization. +// - OrganizationsNotInUseException +// This exception is thrown when the request is made from an Amazon Web Services +// account that is not a member of an organization. To make this request, sign +// in using the credentials of an account that belongs to an organization. // -// * NotOrganizationMasterAccountException -// This exception is thrown when the Amazon Web Services account making the -// request to create or update an organization trail or event data store is -// not the management account for an organization in Organizations. For more -// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) -// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). +// - NotOrganizationMasterAccountException +// This exception is thrown when the Amazon Web Services account making the +// request to create or update an organization trail or event data store is +// not the management account for an organization in Organizations. For more +// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) +// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). // -// * OrganizationNotInAllFeaturesModeException -// This exception is thrown when Organizations is not configured to support -// all features. All features must be enabled in Organizations to support creating -// an organization trail or event data store. +// - OrganizationNotInAllFeaturesModeException +// This exception is thrown when Organizations is not configured to support +// all features. All features must be enabled in Organizations to support creating +// an organization trail or event data store. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateEventDataStore func (c *CloudTrail) UpdateEventDataStore(input *UpdateEventDataStoreInput) (*UpdateEventDataStoreOutput, error) { @@ -3797,14 +3790,13 @@ const opUpdateTrail = "UpdateTrail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTrailRequest method. +// req, resp := client.UpdateTrailRequest(params) // -// // Example sending a request using the UpdateTrailRequest method. -// req, resp := client.UpdateTrailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrail func (c *CloudTrail) UpdateTrailRequest(input *UpdateTrailInput) (req *request.Request, output *UpdateTrailOutput) { @@ -3841,148 +3833,149 @@ func (c *CloudTrail) UpdateTrailRequest(input *UpdateTrailInput) (req *request.R // API operation UpdateTrail for usage and error information. // // Returned Error Types: -// * S3BucketDoesNotExistException -// This exception is thrown when the specified S3 bucket does not exist. // -// * InsufficientS3BucketPolicyException -// This exception is thrown when the policy on the S3 bucket is not sufficient. +// - S3BucketDoesNotExistException +// This exception is thrown when the specified S3 bucket does not exist. +// +// - InsufficientS3BucketPolicyException +// This exception is thrown when the policy on the S3 bucket is not sufficient. // -// * InsufficientSnsTopicPolicyException -// This exception is thrown when the policy on the Amazon SNS topic is not sufficient. +// - InsufficientSnsTopicPolicyException +// This exception is thrown when the policy on the Amazon SNS topic is not sufficient. // -// * InsufficientEncryptionPolicyException -// This exception is thrown when the policy on the S3 bucket or KMS key is not -// sufficient. +// - InsufficientEncryptionPolicyException +// This exception is thrown when the policy on the S3 bucket or KMS key is not +// sufficient. // -// * TrailNotFoundException -// This exception is thrown when the trail with the given name is not found. +// - TrailNotFoundException +// This exception is thrown when the trail with the given name is not found. // -// * InvalidS3BucketNameException -// This exception is thrown when the provided S3 bucket name is not valid. +// - InvalidS3BucketNameException +// This exception is thrown when the provided S3 bucket name is not valid. // -// * InvalidS3PrefixException -// This exception is thrown when the provided S3 prefix is not valid. +// - InvalidS3PrefixException +// This exception is thrown when the provided S3 prefix is not valid. // -// * InvalidSnsTopicNameException -// This exception is thrown when the provided SNS topic name is not valid. +// - InvalidSnsTopicNameException +// This exception is thrown when the provided SNS topic name is not valid. // -// * InvalidKmsKeyIdException -// This exception is thrown when the KMS key ARN is not valid. +// - InvalidKmsKeyIdException +// This exception is thrown when the KMS key ARN is not valid. // -// * InvalidTrailNameException -// This exception is thrown when the provided trail name is not valid. Trail -// names must meet the following requirements: +// - InvalidTrailNameException +// This exception is thrown when the provided trail name is not valid. Trail +// names must meet the following requirements: // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Start with a letter or number, and end with a letter or number +// - Start with a letter or number, and end with a letter or number // -// * Be between 3 and 128 characters +// - Be between 3 and 128 characters // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * Not be in IP address format (for example, 192.168.5.4) +// - Not be in IP address format (for example, 192.168.5.4) // -// * TrailNotProvidedException -// This exception is no longer in use. +// - TrailNotProvidedException +// This exception is no longer in use. // -// * InvalidEventSelectorsException -// This exception is thrown when the PutEventSelectors operation is called with -// a number of event selectors, advanced event selectors, or data resources -// that is not valid. The combination of event selectors or advanced event selectors -// and data resources is not valid. A trail can have up to 5 event selectors. -// If a trail uses advanced event selectors, a maximum of 500 total values for -// all conditions in all advanced event selectors is allowed. A trail is limited -// to 250 data resources. These data resources can be distributed across event -// selectors, but the overall total cannot exceed 250. +// - InvalidEventSelectorsException +// This exception is thrown when the PutEventSelectors operation is called with +// a number of event selectors, advanced event selectors, or data resources +// that is not valid. The combination of event selectors or advanced event selectors +// and data resources is not valid. A trail can have up to 5 event selectors. +// If a trail uses advanced event selectors, a maximum of 500 total values for +// all conditions in all advanced event selectors is allowed. A trail is limited +// to 250 data resources. These data resources can be distributed across event +// selectors, but the overall total cannot exceed 250. // -// You can: +// You can: // -// * Specify a valid number of event selectors (1 to 5) for a trail. +// - Specify a valid number of event selectors (1 to 5) for a trail. // -// * Specify a valid number of data resources (1 to 250) for an event selector. -// The limit of number of resources on an individual event selector is configurable -// up to 250. However, this upper limit is allowed only if the total number -// of data resources does not exceed 250 across all event selectors for a -// trail. +// - Specify a valid number of data resources (1 to 250) for an event selector. +// The limit of number of resources on an individual event selector is configurable +// up to 250. However, this upper limit is allowed only if the total number +// of data resources does not exceed 250 across all event selectors for a +// trail. // -// * Specify up to 500 values for all conditions in all advanced event selectors -// for a trail. +// - Specify up to 500 values for all conditions in all advanced event selectors +// for a trail. // -// * Specify a valid value for a parameter. For example, specifying the ReadWriteType -// parameter with a value of read-only is not valid. +// - Specify a valid value for a parameter. For example, specifying the ReadWriteType +// parameter with a value of read-only is not valid. // -// * InvalidParameterCombinationException -// This exception is thrown when the combination of parameters provided is not -// valid. +// - InvalidParameterCombinationException +// This exception is thrown when the combination of parameters provided is not +// valid. // -// * InvalidHomeRegionException -// This exception is thrown when an operation is called on a trail from a region -// other than the region in which the trail was created. +// - InvalidHomeRegionException +// This exception is thrown when an operation is called on a trail from a region +// other than the region in which the trail was created. // -// * KmsKeyNotFoundException -// This exception is thrown when the KMS key does not exist, when the S3 bucket -// and the KMS key are not in the same region, or when the KMS key associated -// with the Amazon SNS topic either does not exist or is not in the same region. +// - KmsKeyNotFoundException +// This exception is thrown when the KMS key does not exist, when the S3 bucket +// and the KMS key are not in the same region, or when the KMS key associated +// with the Amazon SNS topic either does not exist or is not in the same region. // -// * KmsKeyDisabledException -// This exception is no longer in use. +// - KmsKeyDisabledException +// This exception is no longer in use. // -// * KmsException -// This exception is thrown when there is an issue with the specified KMS key -// and the trail can’t be updated. +// - KmsException +// This exception is thrown when there is an issue with the specified KMS key +// and the trail can’t be updated. // -// * InvalidCloudWatchLogsLogGroupArnException -// This exception is thrown when the provided CloudWatch Logs log group is not -// valid. +// - InvalidCloudWatchLogsLogGroupArnException +// This exception is thrown when the provided CloudWatch Logs log group is not +// valid. // -// * InvalidCloudWatchLogsRoleArnException -// This exception is thrown when the provided role is not valid. +// - InvalidCloudWatchLogsRoleArnException +// This exception is thrown when the provided role is not valid. // -// * CloudWatchLogsDeliveryUnavailableException -// Cannot set a CloudWatch Logs delivery for this region. +// - CloudWatchLogsDeliveryUnavailableException +// Cannot set a CloudWatch Logs delivery for this region. // -// * UnsupportedOperationException -// This exception is thrown when the requested operation is not supported. +// - UnsupportedOperationException +// This exception is thrown when the requested operation is not supported. // -// * OperationNotPermittedException -// This exception is thrown when the requested operation is not permitted. +// - OperationNotPermittedException +// This exception is thrown when the requested operation is not permitted. // -// * AccessNotEnabledException -// This exception is thrown when trusted access has not been enabled between -// CloudTrail and Organizations. For more information, see Enabling Trusted -// Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) -// and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html). +// - AccessNotEnabledException +// This exception is thrown when trusted access has not been enabled between +// CloudTrail and Organizations. For more information, see Enabling Trusted +// Access with Other Amazon Web Services Services (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html) +// and Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html). // -// * InsufficientDependencyServiceAccessPermissionException -// This exception is thrown when the IAM user or role that is used to create -// the organization resource lacks one or more required permissions for creating -// an organization resource in a required service. +// - InsufficientDependencyServiceAccessPermissionException +// This exception is thrown when the IAM user or role that is used to create +// the organization resource lacks one or more required permissions for creating +// an organization resource in a required service. // -// * OrganizationsNotInUseException -// This exception is thrown when the request is made from an Amazon Web Services -// account that is not a member of an organization. To make this request, sign -// in using the credentials of an account that belongs to an organization. +// - OrganizationsNotInUseException +// This exception is thrown when the request is made from an Amazon Web Services +// account that is not a member of an organization. To make this request, sign +// in using the credentials of an account that belongs to an organization. // -// * NotOrganizationMasterAccountException -// This exception is thrown when the Amazon Web Services account making the -// request to create or update an organization trail or event data store is -// not the management account for an organization in Organizations. For more -// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) -// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). +// - NotOrganizationMasterAccountException +// This exception is thrown when the Amazon Web Services account making the +// request to create or update an organization trail or event data store is +// not the management account for an organization in Organizations. For more +// information, see Prepare For Creating a Trail For Your Organization (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html) +// or Create an event data store (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html). // -// * OrganizationNotInAllFeaturesModeException -// This exception is thrown when Organizations is not configured to support -// all features. All features must be enabled in Organizations to support creating -// an organization trail or event data store. +// - OrganizationNotInAllFeaturesModeException +// This exception is thrown when Organizations is not configured to support +// all features. All features must be enabled in Organizations to support creating +// an organization trail or event data store. // -// * CloudTrailInvalidClientTokenIdException -// This exception is thrown when a call results in the InvalidClientTokenId -// error code. This can occur when you are creating or updating a trail to send -// notifications to an Amazon SNS topic that is in a suspended Amazon Web Services -// account. +// - CloudTrailInvalidClientTokenIdException +// This exception is thrown when a call results in the InvalidClientTokenId +// error code. This can occur when you are creating or updating a trail to send +// notifications to an Amazon SNS topic that is in a suspended Amazon Web Services +// account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cloudtrail-2013-11-01/UpdateTrail func (c *CloudTrail) UpdateTrail(input *UpdateTrailInput) (*UpdateTrailOutput, error) { @@ -4243,17 +4236,17 @@ func (s AddTagsOutput) GoString() string { // event selectors, see Logging data events for trails (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html) // in the CloudTrail User Guide. // -// * readOnly +// - readOnly // -// * eventSource +// - eventSource // -// * eventName +// - eventName // -// * eventCategory +// - eventCategory // -// * resources.type +// - resources.type // -// * resources.ARN +// - resources.ARN // // You cannot apply both event selectors and advanced event selectors to a trail. type AdvancedEventSelector struct { @@ -8349,19 +8342,19 @@ func (s *InvalidEventDataStoreStatusException) RequestID() string { // // You can: // -// * Specify a valid number of event selectors (1 to 5) for a trail. +// - Specify a valid number of event selectors (1 to 5) for a trail. // -// * Specify a valid number of data resources (1 to 250) for an event selector. -// The limit of number of resources on an individual event selector is configurable -// up to 250. However, this upper limit is allowed only if the total number -// of data resources does not exceed 250 across all event selectors for a -// trail. +// - Specify a valid number of data resources (1 to 250) for an event selector. +// The limit of number of resources on an individual event selector is configurable +// up to 250. However, this upper limit is allowed only if the total number +// of data resources does not exceed 250 across all event selectors for a +// trail. // -// * Specify up to 500 values for all conditions in all advanced event selectors -// for a trail. +// - Specify up to 500 values for all conditions in all advanced event selectors +// for a trail. // -// * Specify a valid value for a parameter. For example, specifying the ReadWriteType -// parameter with a value of read-only is not valid. +// - Specify a valid value for a parameter. For example, specifying the ReadWriteType +// parameter with a value of read-only is not valid. type InvalidEventSelectorsException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -9462,17 +9455,17 @@ func (s *InvalidTokenException) RequestID() string { // This exception is thrown when the provided trail name is not valid. Trail // names must meet the following requirements: // -// * Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores -// (_), or dashes (-) +// - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores +// (_), or dashes (-) // -// * Start with a letter or number, and end with a letter or number +// - Start with a letter or number, and end with a letter or number // -// * Be between 3 and 128 characters +// - Be between 3 and 128 characters // -// * Have no adjacent periods, underscores or dashes. Names like my-_namespace -// and my--namespace are not valid. +// - Have no adjacent periods, underscores or dashes. Names like my-_namespace +// and my--namespace are not valid. // -// * Not be in IP address format (for example, 192.168.5.4) +// - Not be in IP address format (for example, 192.168.5.4) type InvalidTrailNameException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/cloudtrailiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/cloudtrailiface/interface.go index 45201be0afba..8cb114e28e89 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/cloudtrailiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/cloudtrailiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS CloudTrail. -// func myFunc(svc cloudtrailiface.CloudTrailAPI) bool { -// // Make svc.AddTags request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS CloudTrail. +// func myFunc(svc cloudtrailiface.CloudTrailAPI) bool { +// // Make svc.AddTags request +// } // -// func main() { -// sess := session.New() -// svc := cloudtrail.New(sess) +// func main() { +// sess := session.New() +// svc := cloudtrail.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCloudTrailClient struct { -// cloudtrailiface.CloudTrailAPI -// } -// func (m *mockCloudTrailClient) AddTags(input *cloudtrail.AddTagsInput) (*cloudtrail.AddTagsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCloudTrailClient struct { +// cloudtrailiface.CloudTrailAPI +// } +// func (m *mockCloudTrailClient) AddTags(input *cloudtrail.AddTagsInput) (*cloudtrail.AddTagsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCloudTrailClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCloudTrailClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/doc.go index b374df0c7aa9..18f38341d6cc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/doc.go @@ -29,7 +29,7 @@ // See cloudtrail package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cloudtrail/ // -// Using the Client +// # Using the Client // // To contact AWS CloudTrail with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/service.go index 9d041e621e05..7e916344a093 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudtrail/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CloudTrail client from just a session. -// svc := cloudtrail.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CloudTrail client with additional configuration -// svc := cloudtrail.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CloudTrail client from just a session. +// svc := cloudtrail.New(mySession) +// +// // Create a CloudTrail client with additional configuration +// svc := cloudtrail.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudTrail { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/api.go index 8bf99336223d..ea26163183ce 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/api.go @@ -29,14 +29,13 @@ const opDeleteAlarms = "DeleteAlarms" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAlarmsRequest method. +// req, resp := client.DeleteAlarmsRequest(params) // -// // Example sending a request using the DeleteAlarmsRequest method. -// req, resp := client.DeleteAlarmsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarms func (c *CloudWatch) DeleteAlarmsRequest(input *DeleteAlarmsInput) (req *request.Request, output *DeleteAlarmsOutput) { @@ -87,8 +86,8 @@ func (c *CloudWatch) DeleteAlarmsRequest(input *DeleteAlarmsInput) (req *request // API operation DeleteAlarms for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFound "ResourceNotFound" -// The named resource does not exist. +// - ErrCodeResourceNotFound "ResourceNotFound" +// The named resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarms func (c *CloudWatch) DeleteAlarms(input *DeleteAlarmsInput) (*DeleteAlarmsOutput, error) { @@ -128,14 +127,13 @@ const opDeleteAnomalyDetector = "DeleteAnomalyDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAnomalyDetectorRequest method. +// req, resp := client.DeleteAnomalyDetectorRequest(params) // -// // Example sending a request using the DeleteAnomalyDetectorRequest method. -// req, resp := client.DeleteAnomalyDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAnomalyDetector func (c *CloudWatch) DeleteAnomalyDetectorRequest(input *DeleteAnomalyDetectorInput) (req *request.Request, output *DeleteAnomalyDetectorOutput) { @@ -167,20 +165,21 @@ func (c *CloudWatch) DeleteAnomalyDetectorRequest(input *DeleteAnomalyDetectorIn // API operation DeleteAnomalyDetector for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The named resource does not exist. // -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. +// - ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The named resource does not exist. +// +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. // -// * ErrCodeMissingRequiredParameterException "MissingParameter" -// An input parameter that is required is missing. +// - ErrCodeMissingRequiredParameterException "MissingParameter" +// An input parameter that is required is missing. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Parameters were used together that cannot be used together. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Parameters were used together that cannot be used together. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAnomalyDetector func (c *CloudWatch) DeleteAnomalyDetector(input *DeleteAnomalyDetectorInput) (*DeleteAnomalyDetectorOutput, error) { @@ -220,14 +219,13 @@ const opDeleteDashboards = "DeleteDashboards" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDashboardsRequest method. +// req, resp := client.DeleteDashboardsRequest(params) // -// // Example sending a request using the DeleteDashboardsRequest method. -// req, resp := client.DeleteDashboardsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteDashboards func (c *CloudWatch) DeleteDashboardsRequest(input *DeleteDashboardsInput) (req *request.Request, output *DeleteDashboardsOutput) { @@ -260,14 +258,15 @@ func (c *CloudWatch) DeleteDashboardsRequest(input *DeleteDashboardsInput) (req // API operation DeleteDashboards for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. // -// * ErrCodeDashboardNotFoundError "ResourceNotFound" -// The specified dashboard does not exist. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. +// +// - ErrCodeDashboardNotFoundError "ResourceNotFound" +// The specified dashboard does not exist. // -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteDashboards func (c *CloudWatch) DeleteDashboards(input *DeleteDashboardsInput) (*DeleteDashboardsOutput, error) { @@ -307,14 +306,13 @@ const opDeleteInsightRules = "DeleteInsightRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInsightRulesRequest method. +// req, resp := client.DeleteInsightRulesRequest(params) // -// // Example sending a request using the DeleteInsightRulesRequest method. -// req, resp := client.DeleteInsightRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteInsightRules func (c *CloudWatch) DeleteInsightRulesRequest(input *DeleteInsightRulesInput) (req *request.Request, output *DeleteInsightRulesOutput) { @@ -348,11 +346,12 @@ func (c *CloudWatch) DeleteInsightRulesRequest(input *DeleteInsightRulesInput) ( // API operation DeleteInsightRules for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. // -// * ErrCodeMissingRequiredParameterException "MissingParameter" -// An input parameter that is required is missing. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. +// +// - ErrCodeMissingRequiredParameterException "MissingParameter" +// An input parameter that is required is missing. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteInsightRules func (c *CloudWatch) DeleteInsightRules(input *DeleteInsightRulesInput) (*DeleteInsightRulesOutput, error) { @@ -392,14 +391,13 @@ const opDeleteMetricStream = "DeleteMetricStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMetricStreamRequest method. +// req, resp := client.DeleteMetricStreamRequest(params) // -// // Example sending a request using the DeleteMetricStreamRequest method. -// req, resp := client.DeleteMetricStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteMetricStream func (c *CloudWatch) DeleteMetricStreamRequest(input *DeleteMetricStreamInput) (req *request.Request, output *DeleteMetricStreamOutput) { @@ -431,14 +429,15 @@ func (c *CloudWatch) DeleteMetricStreamRequest(input *DeleteMetricStreamInput) ( // API operation DeleteMetricStream for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. +// +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. // -// * ErrCodeMissingRequiredParameterException "MissingParameter" -// An input parameter that is required is missing. +// - ErrCodeMissingRequiredParameterException "MissingParameter" +// An input parameter that is required is missing. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteMetricStream func (c *CloudWatch) DeleteMetricStream(input *DeleteMetricStreamInput) (*DeleteMetricStreamOutput, error) { @@ -478,14 +477,13 @@ const opDescribeAlarmHistory = "DescribeAlarmHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAlarmHistoryRequest method. +// req, resp := client.DescribeAlarmHistoryRequest(params) // -// // Example sending a request using the DescribeAlarmHistoryRequest method. -// req, resp := client.DescribeAlarmHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistory func (c *CloudWatch) DescribeAlarmHistoryRequest(input *DescribeAlarmHistoryInput) (req *request.Request, output *DescribeAlarmHistoryOutput) { @@ -531,8 +529,8 @@ func (c *CloudWatch) DescribeAlarmHistoryRequest(input *DescribeAlarmHistoryInpu // API operation DescribeAlarmHistory for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The next token specified is invalid. +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The next token specified is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmHistory func (c *CloudWatch) DescribeAlarmHistory(input *DescribeAlarmHistoryInput) (*DescribeAlarmHistoryOutput, error) { @@ -564,15 +562,14 @@ func (c *CloudWatch) DescribeAlarmHistoryWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAlarmHistory operation. -// pageNum := 0 -// err := client.DescribeAlarmHistoryPages(params, -// func(page *cloudwatch.DescribeAlarmHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAlarmHistory operation. +// pageNum := 0 +// err := client.DescribeAlarmHistoryPages(params, +// func(page *cloudwatch.DescribeAlarmHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatch) DescribeAlarmHistoryPages(input *DescribeAlarmHistoryInput, fn func(*DescribeAlarmHistoryOutput, bool) bool) error { return c.DescribeAlarmHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -624,14 +621,13 @@ const opDescribeAlarms = "DescribeAlarms" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAlarmsRequest method. +// req, resp := client.DescribeAlarmsRequest(params) // -// // Example sending a request using the DescribeAlarmsRequest method. -// req, resp := client.DescribeAlarmsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarms func (c *CloudWatch) DescribeAlarmsRequest(input *DescribeAlarmsInput) (req *request.Request, output *DescribeAlarmsOutput) { @@ -674,8 +670,8 @@ func (c *CloudWatch) DescribeAlarmsRequest(input *DescribeAlarmsInput) (req *req // API operation DescribeAlarms for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The next token specified is invalid. +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The next token specified is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarms func (c *CloudWatch) DescribeAlarms(input *DescribeAlarmsInput) (*DescribeAlarmsOutput, error) { @@ -707,15 +703,14 @@ func (c *CloudWatch) DescribeAlarmsWithContext(ctx aws.Context, input *DescribeA // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAlarms operation. -// pageNum := 0 -// err := client.DescribeAlarmsPages(params, -// func(page *cloudwatch.DescribeAlarmsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAlarms operation. +// pageNum := 0 +// err := client.DescribeAlarmsPages(params, +// func(page *cloudwatch.DescribeAlarmsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatch) DescribeAlarmsPages(input *DescribeAlarmsInput, fn func(*DescribeAlarmsOutput, bool) bool) error { return c.DescribeAlarmsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -767,14 +762,13 @@ const opDescribeAlarmsForMetric = "DescribeAlarmsForMetric" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAlarmsForMetricRequest method. +// req, resp := client.DescribeAlarmsForMetricRequest(params) // -// // Example sending a request using the DescribeAlarmsForMetricRequest method. -// req, resp := client.DescribeAlarmsForMetricRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetric func (c *CloudWatch) DescribeAlarmsForMetricRequest(input *DescribeAlarmsForMetricInput) (req *request.Request, output *DescribeAlarmsForMetricOutput) { @@ -846,14 +840,13 @@ const opDescribeAnomalyDetectors = "DescribeAnomalyDetectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAnomalyDetectorsRequest method. +// req, resp := client.DescribeAnomalyDetectorsRequest(params) // -// // Example sending a request using the DescribeAnomalyDetectorsRequest method. -// req, resp := client.DescribeAnomalyDetectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAnomalyDetectors func (c *CloudWatch) DescribeAnomalyDetectorsRequest(input *DescribeAnomalyDetectorsInput) (req *request.Request, output *DescribeAnomalyDetectorsOutput) { @@ -889,17 +882,18 @@ func (c *CloudWatch) DescribeAnomalyDetectorsRequest(input *DescribeAnomalyDetec // API operation DescribeAnomalyDetectors for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The next token specified is invalid. // -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The next token specified is invalid. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Parameters were used together that cannot be used together. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Parameters were used together that cannot be used together. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAnomalyDetectors func (c *CloudWatch) DescribeAnomalyDetectors(input *DescribeAnomalyDetectorsInput) (*DescribeAnomalyDetectorsOutput, error) { @@ -939,14 +933,13 @@ const opDescribeInsightRules = "DescribeInsightRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInsightRulesRequest method. +// req, resp := client.DescribeInsightRulesRequest(params) // -// // Example sending a request using the DescribeInsightRulesRequest method. -// req, resp := client.DescribeInsightRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeInsightRules func (c *CloudWatch) DescribeInsightRulesRequest(input *DescribeInsightRulesInput) (req *request.Request, output *DescribeInsightRulesOutput) { @@ -986,8 +979,8 @@ func (c *CloudWatch) DescribeInsightRulesRequest(input *DescribeInsightRulesInpu // API operation DescribeInsightRules for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The next token specified is invalid. +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The next token specified is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeInsightRules func (c *CloudWatch) DescribeInsightRules(input *DescribeInsightRulesInput) (*DescribeInsightRulesOutput, error) { @@ -1019,15 +1012,14 @@ func (c *CloudWatch) DescribeInsightRulesWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInsightRules operation. -// pageNum := 0 -// err := client.DescribeInsightRulesPages(params, -// func(page *cloudwatch.DescribeInsightRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInsightRules operation. +// pageNum := 0 +// err := client.DescribeInsightRulesPages(params, +// func(page *cloudwatch.DescribeInsightRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatch) DescribeInsightRulesPages(input *DescribeInsightRulesInput, fn func(*DescribeInsightRulesOutput, bool) bool) error { return c.DescribeInsightRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1079,14 +1071,13 @@ const opDisableAlarmActions = "DisableAlarmActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableAlarmActionsRequest method. +// req, resp := client.DisableAlarmActionsRequest(params) // -// // Example sending a request using the DisableAlarmActionsRequest method. -// req, resp := client.DisableAlarmActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableAlarmActions func (c *CloudWatch) DisableAlarmActionsRequest(input *DisableAlarmActionsInput) (req *request.Request, output *DisableAlarmActionsOutput) { @@ -1155,14 +1146,13 @@ const opDisableInsightRules = "DisableInsightRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableInsightRulesRequest method. +// req, resp := client.DisableInsightRulesRequest(params) // -// // Example sending a request using the DisableInsightRulesRequest method. -// req, resp := client.DisableInsightRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableInsightRules func (c *CloudWatch) DisableInsightRulesRequest(input *DisableInsightRulesInput) (req *request.Request, output *DisableInsightRulesOutput) { @@ -1194,11 +1184,12 @@ func (c *CloudWatch) DisableInsightRulesRequest(input *DisableInsightRulesInput) // API operation DisableInsightRules for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. // -// * ErrCodeMissingRequiredParameterException "MissingParameter" -// An input parameter that is required is missing. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. +// +// - ErrCodeMissingRequiredParameterException "MissingParameter" +// An input parameter that is required is missing. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DisableInsightRules func (c *CloudWatch) DisableInsightRules(input *DisableInsightRulesInput) (*DisableInsightRulesOutput, error) { @@ -1238,14 +1229,13 @@ const opEnableAlarmActions = "EnableAlarmActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableAlarmActionsRequest method. +// req, resp := client.EnableAlarmActionsRequest(params) // -// // Example sending a request using the EnableAlarmActionsRequest method. -// req, resp := client.EnableAlarmActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableAlarmActions func (c *CloudWatch) EnableAlarmActionsRequest(input *EnableAlarmActionsInput) (req *request.Request, output *EnableAlarmActionsOutput) { @@ -1313,14 +1303,13 @@ const opEnableInsightRules = "EnableInsightRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableInsightRulesRequest method. +// req, resp := client.EnableInsightRulesRequest(params) // -// // Example sending a request using the EnableInsightRulesRequest method. -// req, resp := client.EnableInsightRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableInsightRules func (c *CloudWatch) EnableInsightRulesRequest(input *EnableInsightRulesInput) (req *request.Request, output *EnableInsightRulesOutput) { @@ -1352,14 +1341,15 @@ func (c *CloudWatch) EnableInsightRulesRequest(input *EnableInsightRulesInput) ( // API operation EnableInsightRules for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. // -// * ErrCodeMissingRequiredParameterException "MissingParameter" -// An input parameter that is required is missing. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. +// +// - ErrCodeMissingRequiredParameterException "MissingParameter" +// An input parameter that is required is missing. // -// * ErrCodeLimitExceededException "LimitExceededException" -// The operation exceeded one or more limits. +// - ErrCodeLimitExceededException "LimitExceededException" +// The operation exceeded one or more limits. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/EnableInsightRules func (c *CloudWatch) EnableInsightRules(input *EnableInsightRulesInput) (*EnableInsightRulesOutput, error) { @@ -1399,14 +1389,13 @@ const opGetDashboard = "GetDashboard" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDashboardRequest method. +// req, resp := client.GetDashboardRequest(params) // -// // Example sending a request using the GetDashboardRequest method. -// req, resp := client.GetDashboardRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetDashboard func (c *CloudWatch) GetDashboardRequest(input *GetDashboardInput) (req *request.Request, output *GetDashboardOutput) { @@ -1441,14 +1430,15 @@ func (c *CloudWatch) GetDashboardRequest(input *GetDashboardInput) (req *request // API operation GetDashboard for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. // -// * ErrCodeDashboardNotFoundError "ResourceNotFound" -// The specified dashboard does not exist. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. +// +// - ErrCodeDashboardNotFoundError "ResourceNotFound" +// The specified dashboard does not exist. // -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetDashboard func (c *CloudWatch) GetDashboard(input *GetDashboardInput) (*GetDashboardOutput, error) { @@ -1488,14 +1478,13 @@ const opGetInsightRuleReport = "GetInsightRuleReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInsightRuleReportRequest method. +// req, resp := client.GetInsightRuleReportRequest(params) // -// // Example sending a request using the GetInsightRuleReportRequest method. -// req, resp := client.GetInsightRuleReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetInsightRuleReport func (c *CloudWatch) GetInsightRuleReportRequest(input *GetInsightRuleReportInput) (req *request.Request, output *GetInsightRuleReportOutput) { @@ -1523,30 +1512,30 @@ func (c *CloudWatch) GetInsightRuleReportRequest(input *GetInsightRuleReportInpu // You can also optionally return one or more statistics about each data point // in the time series. These statistics can include the following: // -// * UniqueContributors -- the number of unique contributors for each data -// point. +// - UniqueContributors -- the number of unique contributors for each data +// point. // -// * MaxContributorValue -- the value of the top contributor for each data -// point. The identity of the contributor might change for each data point -// in the graph. If this rule aggregates by COUNT, the top contributor for -// each data point is the contributor with the most occurrences in that period. -// If the rule aggregates by SUM, the top contributor is the contributor -// with the highest sum in the log field specified by the rule's Value, during -// that period. +// - MaxContributorValue -- the value of the top contributor for each data +// point. The identity of the contributor might change for each data point +// in the graph. If this rule aggregates by COUNT, the top contributor for +// each data point is the contributor with the most occurrences in that period. +// If the rule aggregates by SUM, the top contributor is the contributor +// with the highest sum in the log field specified by the rule's Value, during +// that period. // -// * SampleCount -- the number of data points matched by the rule. +// - SampleCount -- the number of data points matched by the rule. // -// * Sum -- the sum of the values from all contributors during the time period -// represented by that data point. +// - Sum -- the sum of the values from all contributors during the time period +// represented by that data point. // -// * Minimum -- the minimum value from a single observation during the time -// period represented by that data point. +// - Minimum -- the minimum value from a single observation during the time +// period represented by that data point. // -// * Maximum -- the maximum value from a single observation during the time -// period represented by that data point. +// - Maximum -- the maximum value from a single observation during the time +// period represented by that data point. // -// * Average -- the average value from all contributors during the time period -// represented by that data point. +// - Average -- the average value from all contributors during the time period +// represented by that data point. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1556,14 +1545,15 @@ func (c *CloudWatch) GetInsightRuleReportRequest(input *GetInsightRuleReportInpu // API operation GetInsightRuleReport for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. // -// * ErrCodeMissingRequiredParameterException "MissingParameter" -// An input parameter that is required is missing. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. +// +// - ErrCodeMissingRequiredParameterException "MissingParameter" +// An input parameter that is required is missing. // -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The named resource does not exist. +// - ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The named resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetInsightRuleReport func (c *CloudWatch) GetInsightRuleReport(input *GetInsightRuleReportInput) (*GetInsightRuleReportOutput, error) { @@ -1603,14 +1593,13 @@ const opGetMetricData = "GetMetricData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMetricDataRequest method. +// req, resp := client.GetMetricDataRequest(params) // -// // Example sending a request using the GetMetricDataRequest method. -// req, resp := client.GetMetricDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricData func (c *CloudWatch) GetMetricDataRequest(input *GetMetricDataInput) (req *request.Request, output *GetMetricDataOutput) { @@ -1663,19 +1652,19 @@ func (c *CloudWatch) GetMetricDataRequest(input *GetMetricDataInput) (req *reque // // Amazon CloudWatch retains metric data as follows: // -// * Data points with a period of less than 60 seconds are available for -// 3 hours. These data points are high-resolution metrics and are available -// only for custom metrics that have been defined with a StorageResolution -// of 1. +// - Data points with a period of less than 60 seconds are available for +// 3 hours. These data points are high-resolution metrics and are available +// only for custom metrics that have been defined with a StorageResolution +// of 1. // -// * Data points with a period of 60 seconds (1-minute) are available for -// 15 days. +// - Data points with a period of 60 seconds (1-minute) are available for +// 15 days. // -// * Data points with a period of 300 seconds (5-minute) are available for -// 63 days. +// - Data points with a period of 300 seconds (5-minute) are available for +// 63 days. // -// * Data points with a period of 3600 seconds (1 hour) are available for -// 455 days (15 months). +// - Data points with a period of 3600 seconds (1 hour) are available for +// 455 days (15 months). // // Data points that are initially published with a shorter period are aggregated // together for long-term storage. For example, if you collect data using a @@ -1691,7 +1680,7 @@ func (c *CloudWatch) GetMetricDataRequest(input *GetMetricDataInput) (req *reque // a unit that does not match the data collected, the results of the operation // are null. CloudWatch does not perform unit conversions. // -// Using Metrics Insights queries with metric math +// # Using Metrics Insights queries with metric math // // You can't mix a Metric Insights query and metric math syntax in the same // expression, but you can reference results from a Metrics Insights query within @@ -1710,8 +1699,8 @@ func (c *CloudWatch) GetMetricDataRequest(input *GetMetricDataInput) (req *reque // API operation GetMetricData for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The next token specified is invalid. +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The next token specified is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricData func (c *CloudWatch) GetMetricData(input *GetMetricDataInput) (*GetMetricDataOutput, error) { @@ -1743,15 +1732,14 @@ func (c *CloudWatch) GetMetricDataWithContext(ctx aws.Context, input *GetMetricD // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetMetricData operation. -// pageNum := 0 -// err := client.GetMetricDataPages(params, -// func(page *cloudwatch.GetMetricDataOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetMetricData operation. +// pageNum := 0 +// err := client.GetMetricDataPages(params, +// func(page *cloudwatch.GetMetricDataOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatch) GetMetricDataPages(input *GetMetricDataInput, fn func(*GetMetricDataOutput, bool) bool) error { return c.GetMetricDataPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1803,14 +1791,13 @@ const opGetMetricStatistics = "GetMetricStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMetricStatisticsRequest method. +// req, resp := client.GetMetricStatisticsRequest(params) // -// // Example sending a request using the GetMetricStatisticsRequest method. -// req, resp := client.GetMetricStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatistics func (c *CloudWatch) GetMetricStatisticsRequest(input *GetMetricStatisticsInput) (req *request.Request, output *GetMetricStatisticsOutput) { @@ -1849,28 +1836,28 @@ func (c *CloudWatch) GetMetricStatisticsRequest(input *GetMetricStatisticsInput) // publish data using a statistic set instead, you can only retrieve percentile // statistics for this data if one of the following conditions is true: // -// * The SampleCount value of the statistic set is 1. +// - The SampleCount value of the statistic set is 1. // -// * The Min and the Max values of the statistic set are equal. +// - The Min and the Max values of the statistic set are equal. // // Percentile statistics are not available for metrics when any of the metric // values are negative numbers. // // Amazon CloudWatch retains metric data as follows: // -// * Data points with a period of less than 60 seconds are available for -// 3 hours. These data points are high-resolution metrics and are available -// only for custom metrics that have been defined with a StorageResolution -// of 1. +// - Data points with a period of less than 60 seconds are available for +// 3 hours. These data points are high-resolution metrics and are available +// only for custom metrics that have been defined with a StorageResolution +// of 1. // -// * Data points with a period of 60 seconds (1-minute) are available for -// 15 days. +// - Data points with a period of 60 seconds (1-minute) are available for +// 15 days. // -// * Data points with a period of 300 seconds (5-minute) are available for -// 63 days. +// - Data points with a period of 300 seconds (5-minute) are available for +// 63 days. // -// * Data points with a period of 3600 seconds (1 hour) are available for -// 455 days (15 months). +// - Data points with a period of 3600 seconds (1 hour) are available for +// 455 days (15 months). // // Data points that are initially published with a shorter period are aggregated // together for long-term storage. For example, if you collect data using a @@ -1894,17 +1881,18 @@ func (c *CloudWatch) GetMetricStatisticsRequest(input *GetMetricStatisticsInput) // API operation GetMetricStatistics for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. // -// * ErrCodeMissingRequiredParameterException "MissingParameter" -// An input parameter that is required is missing. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. +// +// - ErrCodeMissingRequiredParameterException "MissingParameter" +// An input parameter that is required is missing. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Parameters were used together that cannot be used together. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Parameters were used together that cannot be used together. // -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStatistics func (c *CloudWatch) GetMetricStatistics(input *GetMetricStatisticsInput) (*GetMetricStatisticsOutput, error) { @@ -1944,14 +1932,13 @@ const opGetMetricStream = "GetMetricStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMetricStreamRequest method. +// req, resp := client.GetMetricStreamRequest(params) // -// // Example sending a request using the GetMetricStreamRequest method. -// req, resp := client.GetMetricStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStream func (c *CloudWatch) GetMetricStreamRequest(input *GetMetricStreamInput) (req *request.Request, output *GetMetricStreamOutput) { @@ -1982,20 +1969,21 @@ func (c *CloudWatch) GetMetricStreamRequest(input *GetMetricStreamInput) (req *r // API operation GetMetricStream for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The named resource does not exist. // -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. +// - ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The named resource does not exist. +// +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. // -// * ErrCodeMissingRequiredParameterException "MissingParameter" -// An input parameter that is required is missing. +// - ErrCodeMissingRequiredParameterException "MissingParameter" +// An input parameter that is required is missing. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Parameters were used together that cannot be used together. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Parameters were used together that cannot be used together. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStream func (c *CloudWatch) GetMetricStream(input *GetMetricStreamInput) (*GetMetricStreamOutput, error) { @@ -2035,14 +2023,13 @@ const opGetMetricWidgetImage = "GetMetricWidgetImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMetricWidgetImageRequest method. +// req, resp := client.GetMetricWidgetImageRequest(params) // -// // Example sending a request using the GetMetricWidgetImageRequest method. -// req, resp := client.GetMetricWidgetImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricWidgetImage func (c *CloudWatch) GetMetricWidgetImageRequest(input *GetMetricWidgetImageInput) (req *request.Request, output *GetMetricWidgetImageOutput) { @@ -2075,9 +2062,9 @@ func (c *CloudWatch) GetMetricWidgetImageRequest(input *GetMetricWidgetImageInpu // There is a limit of 20 transactions per second for this API. Each GetMetricWidgetImage // action has the following limits: // -// * As many as 100 metrics in the graph. +// - As many as 100 metrics in the graph. // -// * Up to 100 KB uncompressed payload. +// - Up to 100 KB uncompressed payload. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2123,14 +2110,13 @@ const opListDashboards = "ListDashboards" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDashboardsRequest method. +// req, resp := client.ListDashboardsRequest(params) // -// // Example sending a request using the ListDashboardsRequest method. -// req, resp := client.ListDashboardsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListDashboards func (c *CloudWatch) ListDashboardsRequest(input *ListDashboardsInput) (req *request.Request, output *ListDashboardsOutput) { @@ -2173,11 +2159,12 @@ func (c *CloudWatch) ListDashboardsRequest(input *ListDashboardsInput) (req *req // API operation ListDashboards for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. // -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. +// +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListDashboards func (c *CloudWatch) ListDashboards(input *ListDashboardsInput) (*ListDashboardsOutput, error) { @@ -2209,15 +2196,14 @@ func (c *CloudWatch) ListDashboardsWithContext(ctx aws.Context, input *ListDashb // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDashboards operation. -// pageNum := 0 -// err := client.ListDashboardsPages(params, -// func(page *cloudwatch.ListDashboardsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDashboards operation. +// pageNum := 0 +// err := client.ListDashboardsPages(params, +// func(page *cloudwatch.ListDashboardsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatch) ListDashboardsPages(input *ListDashboardsInput, fn func(*ListDashboardsOutput, bool) bool) error { return c.ListDashboardsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2269,14 +2255,13 @@ const opListMetricStreams = "ListMetricStreams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMetricStreamsRequest method. +// req, resp := client.ListMetricStreamsRequest(params) // -// // Example sending a request using the ListMetricStreamsRequest method. -// req, resp := client.ListMetricStreamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricStreams func (c *CloudWatch) ListMetricStreamsRequest(input *ListMetricStreamsInput) (req *request.Request, output *ListMetricStreamsOutput) { @@ -2313,17 +2298,18 @@ func (c *CloudWatch) ListMetricStreamsRequest(input *ListMetricStreamsInput) (re // API operation ListMetricStreams for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The next token specified is invalid. // -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The next token specified is invalid. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. // -// * ErrCodeMissingRequiredParameterException "MissingParameter" -// An input parameter that is required is missing. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. +// +// - ErrCodeMissingRequiredParameterException "MissingParameter" +// An input parameter that is required is missing. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricStreams func (c *CloudWatch) ListMetricStreams(input *ListMetricStreamsInput) (*ListMetricStreamsOutput, error) { @@ -2355,15 +2341,14 @@ func (c *CloudWatch) ListMetricStreamsWithContext(ctx aws.Context, input *ListMe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMetricStreams operation. -// pageNum := 0 -// err := client.ListMetricStreamsPages(params, -// func(page *cloudwatch.ListMetricStreamsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMetricStreams operation. +// pageNum := 0 +// err := client.ListMetricStreamsPages(params, +// func(page *cloudwatch.ListMetricStreamsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatch) ListMetricStreamsPages(input *ListMetricStreamsInput, fn func(*ListMetricStreamsOutput, bool) bool) error { return c.ListMetricStreamsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2415,14 +2400,13 @@ const opListMetrics = "ListMetrics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMetricsRequest method. +// req, resp := client.ListMetricsRequest(params) // -// // Example sending a request using the ListMetricsRequest method. -// req, resp := client.ListMetricsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetrics func (c *CloudWatch) ListMetricsRequest(input *ListMetricsInput) (req *request.Request, output *ListMetricsOutput) { @@ -2474,11 +2458,12 @@ func (c *CloudWatch) ListMetricsRequest(input *ListMetricsInput) (req *request.R // API operation ListMetrics for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. +// +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetrics func (c *CloudWatch) ListMetrics(input *ListMetricsInput) (*ListMetricsOutput, error) { @@ -2510,15 +2495,14 @@ func (c *CloudWatch) ListMetricsWithContext(ctx aws.Context, input *ListMetricsI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMetrics operation. -// pageNum := 0 -// err := client.ListMetricsPages(params, -// func(page *cloudwatch.ListMetricsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMetrics operation. +// pageNum := 0 +// err := client.ListMetricsPages(params, +// func(page *cloudwatch.ListMetricsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatch) ListMetricsPages(input *ListMetricsInput, fn func(*ListMetricsOutput, bool) bool) error { return c.ListMetricsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2570,14 +2554,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListTagsForResource func (c *CloudWatch) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2609,14 +2592,15 @@ func (c *CloudWatch) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. // -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The named resource does not exist. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. // -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. +// - ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The named resource does not exist. +// +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListTagsForResource func (c *CloudWatch) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2656,14 +2640,13 @@ const opPutAnomalyDetector = "PutAnomalyDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAnomalyDetectorRequest method. +// req, resp := client.PutAnomalyDetectorRequest(params) // -// // Example sending a request using the PutAnomalyDetectorRequest method. -// req, resp := client.PutAnomalyDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutAnomalyDetector func (c *CloudWatch) PutAnomalyDetectorRequest(input *PutAnomalyDetectorInput) (req *request.Request, output *PutAnomalyDetectorOutput) { @@ -2698,20 +2681,21 @@ func (c *CloudWatch) PutAnomalyDetectorRequest(input *PutAnomalyDetectorInput) ( // API operation PutAnomalyDetector for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceededException" -// The operation exceeded one or more limits. // -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. +// - ErrCodeLimitExceededException "LimitExceededException" +// The operation exceeded one or more limits. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. // -// * ErrCodeMissingRequiredParameterException "MissingParameter" -// An input parameter that is required is missing. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Parameters were used together that cannot be used together. +// - ErrCodeMissingRequiredParameterException "MissingParameter" +// An input parameter that is required is missing. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Parameters were used together that cannot be used together. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutAnomalyDetector func (c *CloudWatch) PutAnomalyDetector(input *PutAnomalyDetectorInput) (*PutAnomalyDetectorOutput, error) { @@ -2751,14 +2735,13 @@ const opPutCompositeAlarm = "PutCompositeAlarm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutCompositeAlarmRequest method. +// req, resp := client.PutCompositeAlarmRequest(params) // -// // Example sending a request using the PutCompositeAlarmRequest method. -// req, resp := client.PutCompositeAlarmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutCompositeAlarm func (c *CloudWatch) PutCompositeAlarmRequest(input *PutCompositeAlarmInput) (req *request.Request, output *PutCompositeAlarmOutput) { @@ -2837,8 +2820,8 @@ func (c *CloudWatch) PutCompositeAlarmRequest(input *PutCompositeAlarmInput) (re // API operation PutCompositeAlarm for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededFault "LimitExceeded" -// The quota for alarms for this customer has already been reached. +// - ErrCodeLimitExceededFault "LimitExceeded" +// The quota for alarms for this customer has already been reached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutCompositeAlarm func (c *CloudWatch) PutCompositeAlarm(input *PutCompositeAlarmInput) (*PutCompositeAlarmOutput, error) { @@ -2878,14 +2861,13 @@ const opPutDashboard = "PutDashboard" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDashboardRequest method. +// req, resp := client.PutDashboardRequest(params) // -// // Example sending a request using the PutDashboardRequest method. -// req, resp := client.PutDashboardRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutDashboard func (c *CloudWatch) PutDashboardRequest(input *PutDashboardInput) (req *request.Request, output *PutDashboardOutput) { @@ -2933,11 +2915,12 @@ func (c *CloudWatch) PutDashboardRequest(input *PutDashboardInput) (req *request // API operation PutDashboard for usage and error information. // // Returned Error Codes: -// * ErrCodeDashboardInvalidInputError "InvalidParameterInput" -// Some part of the dashboard data is invalid. // -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. +// - ErrCodeDashboardInvalidInputError "InvalidParameterInput" +// Some part of the dashboard data is invalid. +// +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutDashboard func (c *CloudWatch) PutDashboard(input *PutDashboardInput) (*PutDashboardOutput, error) { @@ -2977,14 +2960,13 @@ const opPutInsightRule = "PutInsightRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutInsightRuleRequest method. +// req, resp := client.PutInsightRuleRequest(params) // -// // Example sending a request using the PutInsightRuleRequest method. -// req, resp := client.PutInsightRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutInsightRule func (c *CloudWatch) PutInsightRuleRequest(input *PutInsightRuleInput) (req *request.Request, output *PutInsightRuleOutput) { @@ -3022,14 +3004,15 @@ func (c *CloudWatch) PutInsightRuleRequest(input *PutInsightRuleInput) (req *req // API operation PutInsightRule for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. // -// * ErrCodeMissingRequiredParameterException "MissingParameter" -// An input parameter that is required is missing. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. +// +// - ErrCodeMissingRequiredParameterException "MissingParameter" +// An input parameter that is required is missing. // -// * ErrCodeLimitExceededException "LimitExceededException" -// The operation exceeded one or more limits. +// - ErrCodeLimitExceededException "LimitExceededException" +// The operation exceeded one or more limits. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutInsightRule func (c *CloudWatch) PutInsightRule(input *PutInsightRuleInput) (*PutInsightRuleOutput, error) { @@ -3069,14 +3052,13 @@ const opPutMetricAlarm = "PutMetricAlarm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutMetricAlarmRequest method. +// req, resp := client.PutMetricAlarmRequest(params) // -// // Example sending a request using the PutMetricAlarmRequest method. -// req, resp := client.PutMetricAlarmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarm func (c *CloudWatch) PutMetricAlarmRequest(input *PutMetricAlarmInput) (req *request.Request, output *PutMetricAlarmOutput) { @@ -3113,10 +3095,10 @@ func (c *CloudWatch) PutMetricAlarmRequest(input *PutMetricAlarmInput) (req *req // If you are an IAM user, you must have Amazon EC2 permissions for some alarm // operations: // -// * The iam:CreateServiceLinkedRole for all alarms with EC2 actions +// - The iam:CreateServiceLinkedRole for all alarms with EC2 actions // -// * The iam:CreateServiceLinkedRole to create an alarm with Systems Manager -// OpsItem actions. +// - The iam:CreateServiceLinkedRole to create an alarm with Systems Manager +// OpsItem actions. // // The first time you create an alarm in the Amazon Web Services Management // Console, the CLI, or by using the PutMetricAlarm API, CloudWatch creates @@ -3124,26 +3106,26 @@ func (c *CloudWatch) PutMetricAlarmRequest(input *PutMetricAlarmInput) (req *req // AWSServiceRoleForCloudWatchEvents and AWSServiceRoleForCloudWatchAlarms_ActionSSM. // For more information, see Amazon Web Services service-linked role (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html#iam-term-service-linked-role). // -// Cross-account alarms +// # Cross-account alarms // // You can set an alarm on metrics in the current account, or in another account. // To create a cross-account alarm that watches a metric in a different account, // you must have completed the following pre-requisites: // -// * The account where the metrics are located (the sharing account) must -// already have a sharing role named CloudWatch-CrossAccountSharingRole. -// If it does not already have this role, you must create it using the instructions -// in Set up a sharing account in Cross-account cross-Region CloudWatch console -// (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html#enable-cross-account-cross-Region). -// The policy for that role must grant access to the ID of the account where -// you are creating the alarm. -// -// * The account where you are creating the alarm (the monitoring account) -// must already have a service-linked role named AWSServiceRoleForCloudWatchCrossAccount -// to allow CloudWatch to assume the sharing role in the sharing account. -// If it does not, you must create it following the directions in Set up -// a monitoring account in Cross-account cross-Region CloudWatch console -// (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html#enable-cross-account-cross-Region). +// - The account where the metrics are located (the sharing account) must +// already have a sharing role named CloudWatch-CrossAccountSharingRole. +// If it does not already have this role, you must create it using the instructions +// in Set up a sharing account in Cross-account cross-Region CloudWatch console +// (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html#enable-cross-account-cross-Region). +// The policy for that role must grant access to the ID of the account where +// you are creating the alarm. +// +// - The account where you are creating the alarm (the monitoring account) +// must already have a service-linked role named AWSServiceRoleForCloudWatchCrossAccount +// to allow CloudWatch to assume the sharing role in the sharing account. +// If it does not, you must create it following the directions in Set up +// a monitoring account in Cross-account cross-Region CloudWatch console +// (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html#enable-cross-account-cross-Region). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3153,8 +3135,8 @@ func (c *CloudWatch) PutMetricAlarmRequest(input *PutMetricAlarmInput) (req *req // API operation PutMetricAlarm for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededFault "LimitExceeded" -// The quota for alarms for this customer has already been reached. +// - ErrCodeLimitExceededFault "LimitExceeded" +// The quota for alarms for this customer has already been reached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricAlarm func (c *CloudWatch) PutMetricAlarm(input *PutMetricAlarmInput) (*PutMetricAlarmOutput, error) { @@ -3194,14 +3176,13 @@ const opPutMetricData = "PutMetricData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutMetricDataRequest method. +// req, resp := client.PutMetricDataRequest(params) // -// // Example sending a request using the PutMetricDataRequest method. -// req, resp := client.PutMetricDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricData func (c *CloudWatch) PutMetricDataRequest(input *PutMetricDataInput) (req *request.Request, output *PutMetricDataOutput) { @@ -3266,10 +3247,10 @@ func (c *CloudWatch) PutMetricDataRequest(input *PutMetricDataInput) (req *reque // publish data using a statistic set instead, you can only retrieve percentile // statistics for this data if one of the following conditions is true: // -// * The SampleCount value of the statistic set is 1 and Min, Max, and Sum -// are all equal. +// - The SampleCount value of the statistic set is 1 and Min, Max, and Sum +// are all equal. // -// * The Min and Max are equal, and Sum is equal to Min multiplied by SampleCount. +// - The Min and Max are equal, and Sum is equal to Min multiplied by SampleCount. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3279,17 +3260,18 @@ func (c *CloudWatch) PutMetricDataRequest(input *PutMetricDataInput) (req *reque // API operation PutMetricData for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. // -// * ErrCodeMissingRequiredParameterException "MissingParameter" -// An input parameter that is required is missing. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. +// +// - ErrCodeMissingRequiredParameterException "MissingParameter" +// An input parameter that is required is missing. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Parameters were used together that cannot be used together. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Parameters were used together that cannot be used together. // -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricData func (c *CloudWatch) PutMetricData(input *PutMetricDataInput) (*PutMetricDataOutput, error) { @@ -3329,14 +3311,13 @@ const opPutMetricStream = "PutMetricStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutMetricStreamRequest method. +// req, resp := client.PutMetricStreamRequest(params) // -// // Example sending a request using the PutMetricStreamRequest method. -// req, resp := client.PutMetricStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricStream func (c *CloudWatch) PutMetricStreamRequest(input *PutMetricStreamInput) (req *request.Request, output *PutMetricStreamOutput) { @@ -3369,12 +3350,12 @@ func (c *CloudWatch) PutMetricStreamRequest(input *PutMetricStreamInput) (req *r // // When you create or update a metric stream, you choose one of the following: // -// * Stream metrics from all metric namespaces in the account. +// - Stream metrics from all metric namespaces in the account. // -// * Stream metrics from all metric namespaces in the account, except for -// the namespaces that you list in ExcludeFilters. +// - Stream metrics from all metric namespaces in the account, except for +// the namespaces that you list in ExcludeFilters. // -// * Stream metrics from only the metric namespaces that you list in IncludeFilters. +// - Stream metrics from only the metric namespaces that you list in IncludeFilters. // // By default, a metric stream always sends the MAX, MIN, SUM, and SAMPLECOUNT // statistics for each metric that is streamed. You can use the StatisticsConfigurations @@ -3394,20 +3375,21 @@ func (c *CloudWatch) PutMetricStreamRequest(input *PutMetricStreamInput) (req *r // API operation PutMetricStream for usage and error information. // // Returned Error Codes: -// * ErrCodeConcurrentModificationException "ConcurrentModificationException" -// More than one process tried to modify a resource at the same time. // -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. +// - ErrCodeConcurrentModificationException "ConcurrentModificationException" +// More than one process tried to modify a resource at the same time. +// +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. // -// * ErrCodeMissingRequiredParameterException "MissingParameter" -// An input parameter that is required is missing. +// - ErrCodeMissingRequiredParameterException "MissingParameter" +// An input parameter that is required is missing. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Parameters were used together that cannot be used together. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Parameters were used together that cannot be used together. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricStream func (c *CloudWatch) PutMetricStream(input *PutMetricStreamInput) (*PutMetricStreamOutput, error) { @@ -3447,14 +3429,13 @@ const opSetAlarmState = "SetAlarmState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetAlarmStateRequest method. +// req, resp := client.SetAlarmStateRequest(params) // -// // Example sending a request using the SetAlarmStateRequest method. -// req, resp := client.SetAlarmStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmState func (c *CloudWatch) SetAlarmStateRequest(input *SetAlarmStateInput) (req *request.Request, output *SetAlarmStateOutput) { @@ -3504,11 +3485,12 @@ func (c *CloudWatch) SetAlarmStateRequest(input *SetAlarmStateInput) (req *reque // API operation SetAlarmState for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFound "ResourceNotFound" -// The named resource does not exist. // -// * ErrCodeInvalidFormatFault "InvalidFormat" -// Data was not syntactically valid JSON. +// - ErrCodeResourceNotFound "ResourceNotFound" +// The named resource does not exist. +// +// - ErrCodeInvalidFormatFault "InvalidFormat" +// Data was not syntactically valid JSON. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/SetAlarmState func (c *CloudWatch) SetAlarmState(input *SetAlarmStateInput) (*SetAlarmStateOutput, error) { @@ -3548,14 +3530,13 @@ const opStartMetricStreams = "StartMetricStreams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMetricStreamsRequest method. +// req, resp := client.StartMetricStreamsRequest(params) // -// // Example sending a request using the StartMetricStreamsRequest method. -// req, resp := client.StartMetricStreamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/StartMetricStreams func (c *CloudWatch) StartMetricStreamsRequest(input *StartMetricStreamsInput) (req *request.Request, output *StartMetricStreamsOutput) { @@ -3587,14 +3568,15 @@ func (c *CloudWatch) StartMetricStreamsRequest(input *StartMetricStreamsInput) ( // API operation StartMetricStreams for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. +// +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. // -// * ErrCodeMissingRequiredParameterException "MissingParameter" -// An input parameter that is required is missing. +// - ErrCodeMissingRequiredParameterException "MissingParameter" +// An input parameter that is required is missing. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/StartMetricStreams func (c *CloudWatch) StartMetricStreams(input *StartMetricStreamsInput) (*StartMetricStreamsOutput, error) { @@ -3634,14 +3616,13 @@ const opStopMetricStreams = "StopMetricStreams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopMetricStreamsRequest method. +// req, resp := client.StopMetricStreamsRequest(params) // -// // Example sending a request using the StopMetricStreamsRequest method. -// req, resp := client.StopMetricStreamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/StopMetricStreams func (c *CloudWatch) StopMetricStreamsRequest(input *StopMetricStreamsInput) (req *request.Request, output *StopMetricStreamsOutput) { @@ -3673,14 +3654,15 @@ func (c *CloudWatch) StopMetricStreamsRequest(input *StopMetricStreamsInput) (re // API operation StopMetricStreams for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. +// +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. // -// * ErrCodeMissingRequiredParameterException "MissingParameter" -// An input parameter that is required is missing. +// - ErrCodeMissingRequiredParameterException "MissingParameter" +// An input parameter that is required is missing. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/StopMetricStreams func (c *CloudWatch) StopMetricStreams(input *StopMetricStreamsInput) (*StopMetricStreamsOutput, error) { @@ -3720,14 +3702,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/TagResource func (c *CloudWatch) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3776,17 +3757,18 @@ func (c *CloudWatch) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. // -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The named resource does not exist. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. +// +// - ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The named resource does not exist. // -// * ErrCodeConcurrentModificationException "ConcurrentModificationException" -// More than one process tried to modify a resource at the same time. +// - ErrCodeConcurrentModificationException "ConcurrentModificationException" +// More than one process tried to modify a resource at the same time. // -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/TagResource func (c *CloudWatch) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3826,14 +3808,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/UntagResource func (c *CloudWatch) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3865,17 +3846,18 @@ func (c *CloudWatch) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value of an input parameter is bad or out-of-range. // -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// The named resource does not exist. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value of an input parameter is bad or out-of-range. +// +// - ErrCodeResourceNotFoundException "ResourceNotFoundException" +// The named resource does not exist. // -// * ErrCodeConcurrentModificationException "ConcurrentModificationException" -// More than one process tried to modify a resource at the same time. +// - ErrCodeConcurrentModificationException "ConcurrentModificationException" +// More than one process tried to modify a resource at the same time. // -// * ErrCodeInternalServiceFault "InternalServiceError" -// Request processing has failed due to some unknown error, exception, or failure. +// - ErrCodeInternalServiceFault "InternalServiceError" +// Request processing has failed due to some unknown error, exception, or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/UntagResource func (c *CloudWatch) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/cloudwatchiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/cloudwatchiface/interface.go index 0a3516e4c0fb..8cb8d4307088 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/cloudwatchiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/cloudwatchiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon CloudWatch. -// func myFunc(svc cloudwatchiface.CloudWatchAPI) bool { -// // Make svc.DeleteAlarms request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon CloudWatch. +// func myFunc(svc cloudwatchiface.CloudWatchAPI) bool { +// // Make svc.DeleteAlarms request +// } // -// func main() { -// sess := session.New() -// svc := cloudwatch.New(sess) +// func main() { +// sess := session.New() +// svc := cloudwatch.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCloudWatchClient struct { -// cloudwatchiface.CloudWatchAPI -// } -// func (m *mockCloudWatchClient) DeleteAlarms(input *cloudwatch.DeleteAlarmsInput) (*cloudwatch.DeleteAlarmsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCloudWatchClient struct { +// cloudwatchiface.CloudWatchAPI +// } +// func (m *mockCloudWatchClient) DeleteAlarms(input *cloudwatch.DeleteAlarmsInput) (*cloudwatch.DeleteAlarmsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCloudWatchClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCloudWatchClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/doc.go index 61b989ac0541..deffff1b0af5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/doc.go @@ -25,7 +25,7 @@ // See cloudwatch package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cloudwatch/ // -// Using the Client +// # Using the Client // // To contact Amazon CloudWatch with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/service.go index 5c39cbc9ac9f..1895a1ec6c0a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatch/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CloudWatch client from just a session. -// svc := cloudwatch.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CloudWatch client with additional configuration -// svc := cloudwatch.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CloudWatch client from just a session. +// svc := cloudwatch.New(mySession) +// +// // Create a CloudWatch client with additional configuration +// svc := cloudwatch.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudWatch { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/api.go index 1b21e315cf89..8bb1fd755ef5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/api.go @@ -29,14 +29,13 @@ const opActivateEventSource = "ActivateEventSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ActivateEventSourceRequest method. +// req, resp := client.ActivateEventSourceRequest(params) // -// // Example sending a request using the ActivateEventSourceRequest method. -// req, resp := client.ActivateEventSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ActivateEventSource func (c *CloudWatchEvents) ActivateEventSourceRequest(input *ActivateEventSourceInput) (req *request.Request, output *ActivateEventSourceOutput) { @@ -69,20 +68,21 @@ func (c *CloudWatchEvents) ActivateEventSourceRequest(input *ActivateEventSource // API operation ActivateEventSource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InvalidStateException -// The specified state is not a valid state for an event source. +// - InvalidStateException +// The specified state is not a valid state for an event source. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ActivateEventSource func (c *CloudWatchEvents) ActivateEventSource(input *ActivateEventSourceInput) (*ActivateEventSourceOutput, error) { @@ -122,14 +122,13 @@ const opCancelReplay = "CancelReplay" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelReplayRequest method. +// req, resp := client.CancelReplayRequest(params) // -// // Example sending a request using the CancelReplayRequest method. -// req, resp := client.CancelReplayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CancelReplay func (c *CloudWatchEvents) CancelReplayRequest(input *CancelReplayInput) (req *request.Request, output *CancelReplayOutput) { @@ -160,18 +159,19 @@ func (c *CloudWatchEvents) CancelReplayRequest(input *CancelReplayInput) (req *r // API operation CancelReplay for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * IllegalStatusException -// An error occurred because a replay can be canceled only when the state is -// Running or Starting. +// - IllegalStatusException +// An error occurred because a replay can be canceled only when the state is +// Running or Starting. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CancelReplay func (c *CloudWatchEvents) CancelReplay(input *CancelReplayInput) (*CancelReplayOutput, error) { @@ -211,14 +211,13 @@ const opCreateApiDestination = "CreateApiDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApiDestinationRequest method. +// req, resp := client.CreateApiDestinationRequest(params) // -// // Example sending a request using the CreateApiDestinationRequest method. -// req, resp := client.CreateApiDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CreateApiDestination func (c *CloudWatchEvents) CreateApiDestinationRequest(input *CreateApiDestinationInput) (req *request.Request, output *CreateApiDestinationOutput) { @@ -250,18 +249,19 @@ func (c *CloudWatchEvents) CreateApiDestinationRequest(input *CreateApiDestinati // API operation CreateApiDestination for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource you are trying to create already exists. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ResourceAlreadyExistsException +// The resource you are trying to create already exists. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CreateApiDestination func (c *CloudWatchEvents) CreateApiDestination(input *CreateApiDestinationInput) (*CreateApiDestinationOutput, error) { @@ -301,14 +301,13 @@ const opCreateArchive = "CreateArchive" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateArchiveRequest method. +// req, resp := client.CreateArchiveRequest(params) // -// // Example sending a request using the CreateArchiveRequest method. -// req, resp := client.CreateArchiveRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CreateArchive func (c *CloudWatchEvents) CreateArchiveRequest(input *CreateArchiveInput) (req *request.Request, output *CreateArchiveOutput) { @@ -344,24 +343,25 @@ func (c *CloudWatchEvents) CreateArchiveRequest(input *CreateArchiveInput) (req // API operation CreateArchive for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceAlreadyExistsException -// The resource you are trying to create already exists. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ResourceAlreadyExistsException +// The resource you are trying to create already exists. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - InternalException +// This exception occurs due to unexpected causes. // -// * InvalidEventPatternException -// The event pattern is not valid. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. +// +// - InvalidEventPatternException +// The event pattern is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CreateArchive func (c *CloudWatchEvents) CreateArchive(input *CreateArchiveInput) (*CreateArchiveOutput, error) { @@ -401,14 +401,13 @@ const opCreateConnection = "CreateConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConnectionRequest method. +// req, resp := client.CreateConnectionRequest(params) // -// // Example sending a request using the CreateConnectionRequest method. -// req, resp := client.CreateConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CreateConnection func (c *CloudWatchEvents) CreateConnectionRequest(input *CreateConnectionInput) (req *request.Request, output *CreateConnectionOutput) { @@ -440,15 +439,16 @@ func (c *CloudWatchEvents) CreateConnectionRequest(input *CreateConnectionInput) // API operation CreateConnection for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource you are trying to create already exists. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - ResourceAlreadyExistsException +// The resource you are trying to create already exists. +// +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CreateConnection func (c *CloudWatchEvents) CreateConnection(input *CreateConnectionInput) (*CreateConnectionOutput, error) { @@ -488,14 +488,13 @@ const opCreateEventBus = "CreateEventBus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEventBusRequest method. +// req, resp := client.CreateEventBusRequest(params) // -// // Example sending a request using the CreateEventBusRequest method. -// req, resp := client.CreateEventBusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CreateEventBus func (c *CloudWatchEvents) CreateEventBusRequest(input *CreateEventBusInput) (req *request.Request, output *CreateEventBusOutput) { @@ -529,27 +528,28 @@ func (c *CloudWatchEvents) CreateEventBusRequest(input *CreateEventBusInput) (re // API operation CreateEventBus for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource you are trying to create already exists. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ResourceAlreadyExistsException +// The resource you are trying to create already exists. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * InvalidStateException -// The specified state is not a valid state for an event source. +// - InvalidStateException +// The specified state is not a valid state for an event source. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CreateEventBus func (c *CloudWatchEvents) CreateEventBus(input *CreateEventBusInput) (*CreateEventBusOutput, error) { @@ -589,14 +589,13 @@ const opCreatePartnerEventSource = "CreatePartnerEventSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePartnerEventSourceRequest method. +// req, resp := client.CreatePartnerEventSourceRequest(params) // -// // Example sending a request using the CreatePartnerEventSourceRequest method. -// req, resp := client.CreatePartnerEventSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CreatePartnerEventSource func (c *CloudWatchEvents) CreatePartnerEventSourceRequest(input *CreatePartnerEventSourceInput) (req *request.Request, output *CreatePartnerEventSourceOutput) { @@ -653,21 +652,22 @@ func (c *CloudWatchEvents) CreatePartnerEventSourceRequest(input *CreatePartnerE // API operation CreatePartnerEventSource for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource you are trying to create already exists. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceAlreadyExistsException +// The resource you are trying to create already exists. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - InternalException +// This exception occurs due to unexpected causes. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. +// +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/CreatePartnerEventSource func (c *CloudWatchEvents) CreatePartnerEventSource(input *CreatePartnerEventSourceInput) (*CreatePartnerEventSourceOutput, error) { @@ -707,14 +707,13 @@ const opDeactivateEventSource = "DeactivateEventSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeactivateEventSourceRequest method. +// req, resp := client.DeactivateEventSourceRequest(params) // -// // Example sending a request using the DeactivateEventSourceRequest method. -// req, resp := client.DeactivateEventSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeactivateEventSource func (c *CloudWatchEvents) DeactivateEventSourceRequest(input *DeactivateEventSourceInput) (req *request.Request, output *DeactivateEventSourceOutput) { @@ -752,20 +751,21 @@ func (c *CloudWatchEvents) DeactivateEventSourceRequest(input *DeactivateEventSo // API operation DeactivateEventSource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InvalidStateException -// The specified state is not a valid state for an event source. +// - InvalidStateException +// The specified state is not a valid state for an event source. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeactivateEventSource func (c *CloudWatchEvents) DeactivateEventSource(input *DeactivateEventSourceInput) (*DeactivateEventSourceOutput, error) { @@ -805,14 +805,13 @@ const opDeauthorizeConnection = "DeauthorizeConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeauthorizeConnectionRequest method. +// req, resp := client.DeauthorizeConnectionRequest(params) // -// // Example sending a request using the DeauthorizeConnectionRequest method. -// req, resp := client.DeauthorizeConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeauthorizeConnection func (c *CloudWatchEvents) DeauthorizeConnectionRequest(input *DeauthorizeConnectionInput) (req *request.Request, output *DeauthorizeConnectionOutput) { @@ -845,14 +844,15 @@ func (c *CloudWatchEvents) DeauthorizeConnectionRequest(input *DeauthorizeConnec // API operation DeauthorizeConnection for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeauthorizeConnection func (c *CloudWatchEvents) DeauthorizeConnection(input *DeauthorizeConnectionInput) (*DeauthorizeConnectionOutput, error) { @@ -892,14 +892,13 @@ const opDeleteApiDestination = "DeleteApiDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApiDestinationRequest method. +// req, resp := client.DeleteApiDestinationRequest(params) // -// // Example sending a request using the DeleteApiDestinationRequest method. -// req, resp := client.DeleteApiDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteApiDestination func (c *CloudWatchEvents) DeleteApiDestinationRequest(input *DeleteApiDestinationInput) (req *request.Request, output *DeleteApiDestinationOutput) { @@ -931,14 +930,15 @@ func (c *CloudWatchEvents) DeleteApiDestinationRequest(input *DeleteApiDestinati // API operation DeleteApiDestination for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteApiDestination func (c *CloudWatchEvents) DeleteApiDestination(input *DeleteApiDestinationInput) (*DeleteApiDestinationOutput, error) { @@ -978,14 +978,13 @@ const opDeleteArchive = "DeleteArchive" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteArchiveRequest method. +// req, resp := client.DeleteArchiveRequest(params) // -// // Example sending a request using the DeleteArchiveRequest method. -// req, resp := client.DeleteArchiveRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteArchive func (c *CloudWatchEvents) DeleteArchiveRequest(input *DeleteArchiveInput) (req *request.Request, output *DeleteArchiveOutput) { @@ -1017,14 +1016,15 @@ func (c *CloudWatchEvents) DeleteArchiveRequest(input *DeleteArchiveInput) (req // API operation DeleteArchive for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteArchive func (c *CloudWatchEvents) DeleteArchive(input *DeleteArchiveInput) (*DeleteArchiveOutput, error) { @@ -1064,14 +1064,13 @@ const opDeleteConnection = "DeleteConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConnectionRequest method. +// req, resp := client.DeleteConnectionRequest(params) // -// // Example sending a request using the DeleteConnectionRequest method. -// req, resp := client.DeleteConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteConnection func (c *CloudWatchEvents) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput) { @@ -1102,14 +1101,15 @@ func (c *CloudWatchEvents) DeleteConnectionRequest(input *DeleteConnectionInput) // API operation DeleteConnection for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteConnection func (c *CloudWatchEvents) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error) { @@ -1149,14 +1149,13 @@ const opDeleteEventBus = "DeleteEventBus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventBusRequest method. +// req, resp := client.DeleteEventBusRequest(params) // -// // Example sending a request using the DeleteEventBusRequest method. -// req, resp := client.DeleteEventBusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteEventBus func (c *CloudWatchEvents) DeleteEventBusRequest(input *DeleteEventBusInput) (req *request.Request, output *DeleteEventBusOutput) { @@ -1190,11 +1189,12 @@ func (c *CloudWatchEvents) DeleteEventBusRequest(input *DeleteEventBusInput) (re // API operation DeleteEventBus for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteEventBus func (c *CloudWatchEvents) DeleteEventBus(input *DeleteEventBusInput) (*DeleteEventBusOutput, error) { @@ -1234,14 +1234,13 @@ const opDeletePartnerEventSource = "DeletePartnerEventSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePartnerEventSourceRequest method. +// req, resp := client.DeletePartnerEventSourceRequest(params) // -// // Example sending a request using the DeletePartnerEventSourceRequest method. -// req, resp := client.DeletePartnerEventSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeletePartnerEventSource func (c *CloudWatchEvents) DeletePartnerEventSourceRequest(input *DeletePartnerEventSourceInput) (req *request.Request, output *DeletePartnerEventSourceOutput) { @@ -1277,14 +1276,15 @@ func (c *CloudWatchEvents) DeletePartnerEventSourceRequest(input *DeletePartnerE // API operation DeletePartnerEventSource for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeletePartnerEventSource func (c *CloudWatchEvents) DeletePartnerEventSource(input *DeletePartnerEventSourceInput) (*DeletePartnerEventSourceOutput, error) { @@ -1324,14 +1324,13 @@ const opDeleteRule = "DeleteRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRuleRequest method. +// req, resp := client.DeleteRuleRequest(params) // -// // Example sending a request using the DeleteRuleRequest method. -// req, resp := client.DeleteRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRule func (c *CloudWatchEvents) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, output *DeleteRuleOutput) { @@ -1379,22 +1378,23 @@ func (c *CloudWatchEvents) DeleteRuleRequest(input *DeleteRuleInput) (req *reque // API operation DeleteRule for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. +// +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ResourceNotFoundException +// An entity that you specified does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeleteRule func (c *CloudWatchEvents) DeleteRule(input *DeleteRuleInput) (*DeleteRuleOutput, error) { @@ -1434,14 +1434,13 @@ const opDescribeApiDestination = "DescribeApiDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApiDestinationRequest method. +// req, resp := client.DescribeApiDestinationRequest(params) // -// // Example sending a request using the DescribeApiDestinationRequest method. -// req, resp := client.DescribeApiDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeApiDestination func (c *CloudWatchEvents) DescribeApiDestinationRequest(input *DescribeApiDestinationInput) (req *request.Request, output *DescribeApiDestinationOutput) { @@ -1472,11 +1471,12 @@ func (c *CloudWatchEvents) DescribeApiDestinationRequest(input *DescribeApiDesti // API operation DescribeApiDestination for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeApiDestination func (c *CloudWatchEvents) DescribeApiDestination(input *DescribeApiDestinationInput) (*DescribeApiDestinationOutput, error) { @@ -1516,14 +1516,13 @@ const opDescribeArchive = "DescribeArchive" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeArchiveRequest method. +// req, resp := client.DescribeArchiveRequest(params) // -// // Example sending a request using the DescribeArchiveRequest method. -// req, resp := client.DescribeArchiveRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeArchive func (c *CloudWatchEvents) DescribeArchiveRequest(input *DescribeArchiveInput) (req *request.Request, output *DescribeArchiveOutput) { @@ -1554,14 +1553,15 @@ func (c *CloudWatchEvents) DescribeArchiveRequest(input *DescribeArchiveInput) ( // API operation DescribeArchive for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource you are trying to create already exists. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ResourceAlreadyExistsException +// The resource you are trying to create already exists. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeArchive func (c *CloudWatchEvents) DescribeArchive(input *DescribeArchiveInput) (*DescribeArchiveOutput, error) { @@ -1601,14 +1601,13 @@ const opDescribeConnection = "DescribeConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConnectionRequest method. +// req, resp := client.DescribeConnectionRequest(params) // -// // Example sending a request using the DescribeConnectionRequest method. -// req, resp := client.DescribeConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeConnection func (c *CloudWatchEvents) DescribeConnectionRequest(input *DescribeConnectionInput) (req *request.Request, output *DescribeConnectionOutput) { @@ -1639,11 +1638,12 @@ func (c *CloudWatchEvents) DescribeConnectionRequest(input *DescribeConnectionIn // API operation DescribeConnection for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeConnection func (c *CloudWatchEvents) DescribeConnection(input *DescribeConnectionInput) (*DescribeConnectionOutput, error) { @@ -1683,14 +1683,13 @@ const opDescribeEventBus = "DescribeEventBus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventBusRequest method. +// req, resp := client.DescribeEventBusRequest(params) // -// // Example sending a request using the DescribeEventBusRequest method. -// req, resp := client.DescribeEventBusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBus func (c *CloudWatchEvents) DescribeEventBusRequest(input *DescribeEventBusInput) (req *request.Request, output *DescribeEventBusOutput) { @@ -1730,11 +1729,12 @@ func (c *CloudWatchEvents) DescribeEventBusRequest(input *DescribeEventBusInput) // API operation DescribeEventBus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventBus func (c *CloudWatchEvents) DescribeEventBus(input *DescribeEventBusInput) (*DescribeEventBusOutput, error) { @@ -1774,14 +1774,13 @@ const opDescribeEventSource = "DescribeEventSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventSourceRequest method. +// req, resp := client.DescribeEventSourceRequest(params) // -// // Example sending a request using the DescribeEventSourceRequest method. -// req, resp := client.DescribeEventSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventSource func (c *CloudWatchEvents) DescribeEventSourceRequest(input *DescribeEventSourceInput) (req *request.Request, output *DescribeEventSourceOutput) { @@ -1813,14 +1812,15 @@ func (c *CloudWatchEvents) DescribeEventSourceRequest(input *DescribeEventSource // API operation DescribeEventSource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeEventSource func (c *CloudWatchEvents) DescribeEventSource(input *DescribeEventSourceInput) (*DescribeEventSourceOutput, error) { @@ -1860,14 +1860,13 @@ const opDescribePartnerEventSource = "DescribePartnerEventSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePartnerEventSourceRequest method. +// req, resp := client.DescribePartnerEventSourceRequest(params) // -// // Example sending a request using the DescribePartnerEventSourceRequest method. -// req, resp := client.DescribePartnerEventSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribePartnerEventSource func (c *CloudWatchEvents) DescribePartnerEventSourceRequest(input *DescribePartnerEventSourceInput) (req *request.Request, output *DescribePartnerEventSourceOutput) { @@ -1902,14 +1901,15 @@ func (c *CloudWatchEvents) DescribePartnerEventSourceRequest(input *DescribePart // API operation DescribePartnerEventSource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribePartnerEventSource func (c *CloudWatchEvents) DescribePartnerEventSource(input *DescribePartnerEventSourceInput) (*DescribePartnerEventSourceOutput, error) { @@ -1949,14 +1949,13 @@ const opDescribeReplay = "DescribeReplay" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReplayRequest method. +// req, resp := client.DescribeReplayRequest(params) // -// // Example sending a request using the DescribeReplayRequest method. -// req, resp := client.DescribeReplayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeReplay func (c *CloudWatchEvents) DescribeReplayRequest(input *DescribeReplayInput) (req *request.Request, output *DescribeReplayOutput) { @@ -1995,11 +1994,12 @@ func (c *CloudWatchEvents) DescribeReplayRequest(input *DescribeReplayInput) (re // API operation DescribeReplay for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeReplay func (c *CloudWatchEvents) DescribeReplay(input *DescribeReplayInput) (*DescribeReplayOutput, error) { @@ -2039,14 +2039,13 @@ const opDescribeRule = "DescribeRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRuleRequest method. +// req, resp := client.DescribeRuleRequest(params) // -// // Example sending a request using the DescribeRuleRequest method. -// req, resp := client.DescribeRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRule func (c *CloudWatchEvents) DescribeRuleRequest(input *DescribeRuleInput) (req *request.Request, output *DescribeRuleOutput) { @@ -2080,11 +2079,12 @@ func (c *CloudWatchEvents) DescribeRuleRequest(input *DescribeRuleInput) (req *r // API operation DescribeRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DescribeRule func (c *CloudWatchEvents) DescribeRule(input *DescribeRuleInput) (*DescribeRuleOutput, error) { @@ -2124,14 +2124,13 @@ const opDisableRule = "DisableRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableRuleRequest method. +// req, resp := client.DisableRuleRequest(params) // -// // Example sending a request using the DisableRuleRequest method. -// req, resp := client.DisableRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRule func (c *CloudWatchEvents) DisableRuleRequest(input *DisableRuleInput) (req *request.Request, output *DisableRuleOutput) { @@ -2167,22 +2166,23 @@ func (c *CloudWatchEvents) DisableRuleRequest(input *DisableRuleInput) (req *req // API operation DisableRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DisableRule func (c *CloudWatchEvents) DisableRule(input *DisableRuleInput) (*DisableRuleOutput, error) { @@ -2222,14 +2222,13 @@ const opEnableRule = "EnableRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableRuleRequest method. +// req, resp := client.EnableRuleRequest(params) // -// // Example sending a request using the EnableRuleRequest method. -// req, resp := client.EnableRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRule func (c *CloudWatchEvents) EnableRuleRequest(input *EnableRuleInput) (req *request.Request, output *EnableRuleOutput) { @@ -2265,22 +2264,23 @@ func (c *CloudWatchEvents) EnableRuleRequest(input *EnableRuleInput) (req *reque // API operation EnableRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/EnableRule func (c *CloudWatchEvents) EnableRule(input *EnableRuleInput) (*EnableRuleOutput, error) { @@ -2320,14 +2320,13 @@ const opListApiDestinations = "ListApiDestinations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApiDestinationsRequest method. +// req, resp := client.ListApiDestinationsRequest(params) // -// // Example sending a request using the ListApiDestinationsRequest method. -// req, resp := client.ListApiDestinationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListApiDestinations func (c *CloudWatchEvents) ListApiDestinationsRequest(input *ListApiDestinationsInput) (req *request.Request, output *ListApiDestinationsOutput) { @@ -2358,8 +2357,8 @@ func (c *CloudWatchEvents) ListApiDestinationsRequest(input *ListApiDestinations // API operation ListApiDestinations for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListApiDestinations func (c *CloudWatchEvents) ListApiDestinations(input *ListApiDestinationsInput) (*ListApiDestinationsOutput, error) { @@ -2399,14 +2398,13 @@ const opListArchives = "ListArchives" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListArchivesRequest method. +// req, resp := client.ListArchivesRequest(params) // -// // Example sending a request using the ListArchivesRequest method. -// req, resp := client.ListArchivesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListArchives func (c *CloudWatchEvents) ListArchivesRequest(input *ListArchivesInput) (req *request.Request, output *ListArchivesOutput) { @@ -2438,11 +2436,12 @@ func (c *CloudWatchEvents) ListArchivesRequest(input *ListArchivesInput) (req *r // API operation ListArchives for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListArchives func (c *CloudWatchEvents) ListArchives(input *ListArchivesInput) (*ListArchivesOutput, error) { @@ -2482,14 +2481,13 @@ const opListConnections = "ListConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConnectionsRequest method. +// req, resp := client.ListConnectionsRequest(params) // -// // Example sending a request using the ListConnectionsRequest method. -// req, resp := client.ListConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListConnections func (c *CloudWatchEvents) ListConnectionsRequest(input *ListConnectionsInput) (req *request.Request, output *ListConnectionsOutput) { @@ -2520,8 +2518,8 @@ func (c *CloudWatchEvents) ListConnectionsRequest(input *ListConnectionsInput) ( // API operation ListConnections for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListConnections func (c *CloudWatchEvents) ListConnections(input *ListConnectionsInput) (*ListConnectionsOutput, error) { @@ -2561,14 +2559,13 @@ const opListEventBuses = "ListEventBuses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventBusesRequest method. +// req, resp := client.ListEventBusesRequest(params) // -// // Example sending a request using the ListEventBusesRequest method. -// req, resp := client.ListEventBusesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListEventBuses func (c *CloudWatchEvents) ListEventBusesRequest(input *ListEventBusesInput) (req *request.Request, output *ListEventBusesOutput) { @@ -2600,8 +2597,8 @@ func (c *CloudWatchEvents) ListEventBusesRequest(input *ListEventBusesInput) (re // API operation ListEventBuses for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListEventBuses func (c *CloudWatchEvents) ListEventBuses(input *ListEventBusesInput) (*ListEventBusesOutput, error) { @@ -2641,14 +2638,13 @@ const opListEventSources = "ListEventSources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventSourcesRequest method. +// req, resp := client.ListEventSourcesRequest(params) // -// // Example sending a request using the ListEventSourcesRequest method. -// req, resp := client.ListEventSourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListEventSources func (c *CloudWatchEvents) ListEventSourcesRequest(input *ListEventSourcesInput) (req *request.Request, output *ListEventSourcesOutput) { @@ -2681,11 +2677,12 @@ func (c *CloudWatchEvents) ListEventSourcesRequest(input *ListEventSourcesInput) // API operation ListEventSources for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListEventSources func (c *CloudWatchEvents) ListEventSources(input *ListEventSourcesInput) (*ListEventSourcesOutput, error) { @@ -2725,14 +2722,13 @@ const opListPartnerEventSourceAccounts = "ListPartnerEventSourceAccounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPartnerEventSourceAccountsRequest method. +// req, resp := client.ListPartnerEventSourceAccountsRequest(params) // -// // Example sending a request using the ListPartnerEventSourceAccountsRequest method. -// req, resp := client.ListPartnerEventSourceAccountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListPartnerEventSourceAccounts func (c *CloudWatchEvents) ListPartnerEventSourceAccountsRequest(input *ListPartnerEventSourceAccountsInput) (req *request.Request, output *ListPartnerEventSourceAccountsOutput) { @@ -2765,14 +2761,15 @@ func (c *CloudWatchEvents) ListPartnerEventSourceAccountsRequest(input *ListPart // API operation ListPartnerEventSourceAccounts for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListPartnerEventSourceAccounts func (c *CloudWatchEvents) ListPartnerEventSourceAccounts(input *ListPartnerEventSourceAccountsInput) (*ListPartnerEventSourceAccountsOutput, error) { @@ -2812,14 +2809,13 @@ const opListPartnerEventSources = "ListPartnerEventSources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPartnerEventSourcesRequest method. +// req, resp := client.ListPartnerEventSourcesRequest(params) // -// // Example sending a request using the ListPartnerEventSourcesRequest method. -// req, resp := client.ListPartnerEventSourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListPartnerEventSources func (c *CloudWatchEvents) ListPartnerEventSourcesRequest(input *ListPartnerEventSourcesInput) (req *request.Request, output *ListPartnerEventSourcesOutput) { @@ -2852,11 +2848,12 @@ func (c *CloudWatchEvents) ListPartnerEventSourcesRequest(input *ListPartnerEven // API operation ListPartnerEventSources for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListPartnerEventSources func (c *CloudWatchEvents) ListPartnerEventSources(input *ListPartnerEventSourcesInput) (*ListPartnerEventSourcesOutput, error) { @@ -2896,14 +2893,13 @@ const opListReplays = "ListReplays" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReplaysRequest method. +// req, resp := client.ListReplaysRequest(params) // -// // Example sending a request using the ListReplaysRequest method. -// req, resp := client.ListReplaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListReplays func (c *CloudWatchEvents) ListReplaysRequest(input *ListReplaysInput) (req *request.Request, output *ListReplaysOutput) { @@ -2935,8 +2931,8 @@ func (c *CloudWatchEvents) ListReplaysRequest(input *ListReplaysInput) (req *req // API operation ListReplays for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListReplays func (c *CloudWatchEvents) ListReplays(input *ListReplaysInput) (*ListReplaysOutput, error) { @@ -2976,14 +2972,13 @@ const opListRuleNamesByTarget = "ListRuleNamesByTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRuleNamesByTargetRequest method. +// req, resp := client.ListRuleNamesByTargetRequest(params) // -// // Example sending a request using the ListRuleNamesByTargetRequest method. -// req, resp := client.ListRuleNamesByTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTarget func (c *CloudWatchEvents) ListRuleNamesByTargetRequest(input *ListRuleNamesByTargetInput) (req *request.Request, output *ListRuleNamesByTargetOutput) { @@ -3015,11 +3010,12 @@ func (c *CloudWatchEvents) ListRuleNamesByTargetRequest(input *ListRuleNamesByTa // API operation ListRuleNamesByTarget for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRuleNamesByTarget func (c *CloudWatchEvents) ListRuleNamesByTarget(input *ListRuleNamesByTargetInput) (*ListRuleNamesByTargetOutput, error) { @@ -3059,14 +3055,13 @@ const opListRules = "ListRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRulesRequest method. +// req, resp := client.ListRulesRequest(params) // -// // Example sending a request using the ListRulesRequest method. -// req, resp := client.ListRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules func (c *CloudWatchEvents) ListRulesRequest(input *ListRulesInput) (req *request.Request, output *ListRulesOutput) { @@ -3101,11 +3096,12 @@ func (c *CloudWatchEvents) ListRulesRequest(input *ListRulesInput) (req *request // API operation ListRules for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListRules func (c *CloudWatchEvents) ListRules(input *ListRulesInput) (*ListRulesOutput, error) { @@ -3145,14 +3141,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTagsForResource func (c *CloudWatchEvents) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -3184,11 +3179,12 @@ func (c *CloudWatchEvents) ListTagsForResourceRequest(input *ListTagsForResource // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTagsForResource func (c *CloudWatchEvents) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3228,14 +3224,13 @@ const opListTargetsByRule = "ListTargetsByRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTargetsByRuleRequest method. +// req, resp := client.ListTargetsByRuleRequest(params) // -// // Example sending a request using the ListTargetsByRuleRequest method. -// req, resp := client.ListTargetsByRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRule func (c *CloudWatchEvents) ListTargetsByRuleRequest(input *ListTargetsByRuleInput) (req *request.Request, output *ListTargetsByRuleOutput) { @@ -3266,11 +3261,12 @@ func (c *CloudWatchEvents) ListTargetsByRuleRequest(input *ListTargetsByRuleInpu // API operation ListTargetsByRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRule func (c *CloudWatchEvents) ListTargetsByRule(input *ListTargetsByRuleInput) (*ListTargetsByRuleOutput, error) { @@ -3310,14 +3306,13 @@ const opPutEvents = "PutEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEventsRequest method. +// req, resp := client.PutEventsRequest(params) // -// // Example sending a request using the PutEventsRequest method. -// req, resp := client.PutEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEvents func (c *CloudWatchEvents) PutEventsRequest(input *PutEventsInput) (req *request.Request, output *PutEventsOutput) { @@ -3349,8 +3344,8 @@ func (c *CloudWatchEvents) PutEventsRequest(input *PutEventsInput) (req *request // API operation PutEvents for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutEvents func (c *CloudWatchEvents) PutEvents(input *PutEventsInput) (*PutEventsOutput, error) { @@ -3390,14 +3385,13 @@ const opPutPartnerEvents = "PutPartnerEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPartnerEventsRequest method. +// req, resp := client.PutPartnerEventsRequest(params) // -// // Example sending a request using the PutPartnerEventsRequest method. -// req, resp := client.PutPartnerEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPartnerEvents func (c *CloudWatchEvents) PutPartnerEventsRequest(input *PutPartnerEventsInput) (req *request.Request, output *PutPartnerEventsOutput) { @@ -3429,11 +3423,12 @@ func (c *CloudWatchEvents) PutPartnerEventsRequest(input *PutPartnerEventsInput) // API operation PutPartnerEvents for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPartnerEvents func (c *CloudWatchEvents) PutPartnerEvents(input *PutPartnerEventsInput) (*PutPartnerEventsOutput, error) { @@ -3473,14 +3468,13 @@ const opPutPermission = "PutPermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPermissionRequest method. +// req, resp := client.PutPermissionRequest(params) // -// // Example sending a request using the PutPermissionRequest method. -// req, resp := client.PutPermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPermission func (c *CloudWatchEvents) PutPermissionRequest(input *PutPermissionInput) (req *request.Request, output *PutPermissionOutput) { @@ -3532,20 +3526,21 @@ func (c *CloudWatchEvents) PutPermissionRequest(input *PutPermissionInput) (req // API operation PutPermission for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * PolicyLengthExceededException -// The event bus policy is too long. For more information, see the limits. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - PolicyLengthExceededException +// The event bus policy is too long. For more information, see the limits. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutPermission func (c *CloudWatchEvents) PutPermission(input *PutPermissionInput) (*PutPermissionOutput, error) { @@ -3585,14 +3580,13 @@ const opPutRule = "PutRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRuleRequest method. +// req, resp := client.PutRuleRequest(params) // -// // Example sending a request using the PutRuleRequest method. -// req, resp := client.PutRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRule func (c *CloudWatchEvents) PutRuleRequest(input *PutRuleInput) (req *request.Request, output *PutRuleOutput) { @@ -3678,29 +3672,30 @@ func (c *CloudWatchEvents) PutRuleRequest(input *PutRuleInput) (req *request.Req // API operation PutRule for usage and error information. // // Returned Error Types: -// * InvalidEventPatternException -// The event pattern is not valid. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - InvalidEventPatternException +// The event pattern is not valid. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutRule func (c *CloudWatchEvents) PutRule(input *PutRuleInput) (*PutRuleOutput, error) { @@ -3740,14 +3735,13 @@ const opPutTargets = "PutTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutTargetsRequest method. +// req, resp := client.PutTargetsRequest(params) // -// // Example sending a request using the PutTargetsRequest method. -// req, resp := client.PutTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargets func (c *CloudWatchEvents) PutTargetsRequest(input *PutTargetsInput) (req *request.Request, output *PutTargetsOutput) { @@ -3775,55 +3769,55 @@ func (c *CloudWatchEvents) PutTargetsRequest(input *PutTargetsInput) (req *reque // // You can configure the following as targets for Events: // -// * API destination (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html) +// - API destination (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html) // -// * Amazon API Gateway REST API endpoints +// - Amazon API Gateway REST API endpoints // -// * API Gateway +// - API Gateway // -// * Batch job queue +// - Batch job queue // -// * CloudWatch Logs group +// - CloudWatch Logs group // -// * CodeBuild project +// - CodeBuild project // -// * CodePipeline +// - CodePipeline // -// * Amazon EC2 CreateSnapshot API call +// - Amazon EC2 CreateSnapshot API call // -// * Amazon EC2 RebootInstances API call +// - Amazon EC2 RebootInstances API call // -// * Amazon EC2 StopInstances API call +// - Amazon EC2 StopInstances API call // -// * Amazon EC2 TerminateInstances API call +// - Amazon EC2 TerminateInstances API call // -// * Amazon ECS tasks +// - Amazon ECS tasks // -// * Event bus in a different Amazon Web Services account or Region. You -// can use an event bus in the US East (N. Virginia) us-east-1, US West (Oregon) -// us-west-2, or Europe (Ireland) eu-west-1 Regions as a target for a rule. +// - Event bus in a different Amazon Web Services account or Region. You +// can use an event bus in the US East (N. Virginia) us-east-1, US West (Oregon) +// us-west-2, or Europe (Ireland) eu-west-1 Regions as a target for a rule. // -// * Firehose delivery stream (Kinesis Data Firehose) +// - Firehose delivery stream (Kinesis Data Firehose) // -// * Inspector assessment template (Amazon Inspector) +// - Inspector assessment template (Amazon Inspector) // -// * Kinesis stream (Kinesis Data Stream) +// - Kinesis stream (Kinesis Data Stream) // -// * Lambda function +// - Lambda function // -// * Redshift clusters (Data API statement execution) +// - Redshift clusters (Data API statement execution) // -// * Amazon SNS topic +// - Amazon SNS topic // -// * Amazon SQS queues (includes FIFO queues +// - Amazon SQS queues (includes FIFO queues // -// * SSM Automation +// - SSM Automation // -// * SSM OpsItem +// - SSM OpsItem // -// * SSM Run Command +// - SSM Run Command // -// * Step Functions state machines +// - Step Functions state machines // // Creating rules with built-in targets is supported only in the Management // Console. The built-in targets are EC2 CreateSnapshot API call, EC2 RebootInstances @@ -3869,21 +3863,21 @@ func (c *CloudWatchEvents) PutTargetsRequest(input *PutTargetsInput) (req *reque // Input, InputPath, and InputTransformer are mutually exclusive and optional // parameters of a target. When a rule is triggered due to a matched event: // -// * If none of the following arguments are specified for a target, then -// the entire event is passed to the target in JSON format (unless the target -// is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from -// the event is passed to the target). +// - If none of the following arguments are specified for a target, then +// the entire event is passed to the target in JSON format (unless the target +// is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from +// the event is passed to the target). // -// * If Input is specified in the form of valid JSON, then the matched event -// is overridden with this constant. +// - If Input is specified in the form of valid JSON, then the matched event +// is overridden with this constant. // -// * If InputPath is specified in the form of JSONPath (for example, $.detail), -// then only the part of the event specified in the path is passed to the -// target (for example, only the detail part of the event is passed). +// - If InputPath is specified in the form of JSONPath (for example, $.detail), +// then only the part of the event specified in the path is passed to the +// target (for example, only the detail part of the event is passed). // -// * If InputTransformer is specified, then one or more specified JSONPaths -// are extracted from the event and used as values in a template that you -// specify as the input to the target. +// - If InputTransformer is specified, then one or more specified JSONPaths +// are extracted from the event and used as values in a template that you +// specify as the input to the target. // // When you specify InputPath or InputTransformer, you must use JSON dot notation, // not bracket notation. @@ -3905,26 +3899,27 @@ func (c *CloudWatchEvents) PutTargetsRequest(input *PutTargetsInput) (req *reque // API operation PutTargets for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/PutTargets func (c *CloudWatchEvents) PutTargets(input *PutTargetsInput) (*PutTargetsOutput, error) { @@ -3964,14 +3959,13 @@ const opRemovePermission = "RemovePermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemovePermissionRequest method. +// req, resp := client.RemovePermissionRequest(params) // -// // Example sending a request using the RemovePermissionRequest method. -// req, resp := client.RemovePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemovePermission func (c *CloudWatchEvents) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput) { @@ -4007,17 +4001,18 @@ func (c *CloudWatchEvents) RemovePermissionRequest(input *RemovePermissionInput) // API operation RemovePermission for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemovePermission func (c *CloudWatchEvents) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error) { @@ -4057,14 +4052,13 @@ const opRemoveTargets = "RemoveTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTargetsRequest method. +// req, resp := client.RemoveTargetsRequest(params) // -// // Example sending a request using the RemoveTargetsRequest method. -// req, resp := client.RemoveTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargets func (c *CloudWatchEvents) RemoveTargetsRequest(input *RemoveTargetsInput) (req *request.Request, output *RemoveTargetsOutput) { @@ -4105,22 +4099,23 @@ func (c *CloudWatchEvents) RemoveTargetsRequest(input *RemoveTargetsInput) (req // API operation RemoveTargets for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RemoveTargets func (c *CloudWatchEvents) RemoveTargets(input *RemoveTargetsInput) (*RemoveTargetsOutput, error) { @@ -4160,14 +4155,13 @@ const opStartReplay = "StartReplay" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartReplayRequest method. +// req, resp := client.StartReplayRequest(params) // -// // Example sending a request using the StartReplayRequest method. -// req, resp := client.StartReplayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/StartReplay func (c *CloudWatchEvents) StartReplayRequest(input *StartReplayInput) (req *request.Request, output *StartReplayOutput) { @@ -4206,21 +4200,22 @@ func (c *CloudWatchEvents) StartReplayRequest(input *StartReplayInput) (req *req // API operation StartReplay for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ResourceAlreadyExistsException -// The resource you are trying to create already exists. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - ResourceAlreadyExistsException +// The resource you are trying to create already exists. // -// * InvalidEventPatternException -// The event pattern is not valid. +// - InvalidEventPatternException +// The event pattern is not valid. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/StartReplay func (c *CloudWatchEvents) StartReplay(input *StartReplayInput) (*StartReplayOutput, error) { @@ -4260,14 +4255,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TagResource func (c *CloudWatchEvents) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -4314,22 +4308,23 @@ func (c *CloudWatchEvents) TagResourceRequest(input *TagResourceInput) (req *req // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TagResource func (c *CloudWatchEvents) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4369,14 +4364,13 @@ const opTestEventPattern = "TestEventPattern" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestEventPatternRequest method. +// req, resp := client.TestEventPatternRequest(params) // -// // Example sending a request using the TestEventPatternRequest method. -// req, resp := client.TestEventPatternRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPattern func (c *CloudWatchEvents) TestEventPatternRequest(input *TestEventPatternInput) (req *request.Request, output *TestEventPatternOutput) { @@ -4413,11 +4407,12 @@ func (c *CloudWatchEvents) TestEventPatternRequest(input *TestEventPatternInput) // API operation TestEventPattern for usage and error information. // // Returned Error Types: -// * InvalidEventPatternException -// The event pattern is not valid. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InvalidEventPatternException +// The event pattern is not valid. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/TestEventPattern func (c *CloudWatchEvents) TestEventPattern(input *TestEventPatternInput) (*TestEventPatternOutput, error) { @@ -4457,14 +4452,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/UntagResource func (c *CloudWatchEvents) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4497,22 +4491,23 @@ func (c *CloudWatchEvents) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/UntagResource func (c *CloudWatchEvents) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -4552,14 +4547,13 @@ const opUpdateApiDestination = "UpdateApiDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApiDestinationRequest method. +// req, resp := client.UpdateApiDestinationRequest(params) // -// // Example sending a request using the UpdateApiDestinationRequest method. -// req, resp := client.UpdateApiDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/UpdateApiDestination func (c *CloudWatchEvents) UpdateApiDestinationRequest(input *UpdateApiDestinationInput) (req *request.Request, output *UpdateApiDestinationOutput) { @@ -4590,18 +4584,19 @@ func (c *CloudWatchEvents) UpdateApiDestinationRequest(input *UpdateApiDestinati // API operation UpdateApiDestination for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/UpdateApiDestination func (c *CloudWatchEvents) UpdateApiDestination(input *UpdateApiDestinationInput) (*UpdateApiDestinationOutput, error) { @@ -4641,14 +4636,13 @@ const opUpdateArchive = "UpdateArchive" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateArchiveRequest method. +// req, resp := client.UpdateArchiveRequest(params) // -// // Example sending a request using the UpdateArchiveRequest method. -// req, resp := client.UpdateArchiveRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/UpdateArchive func (c *CloudWatchEvents) UpdateArchiveRequest(input *UpdateArchiveInput) (req *request.Request, output *UpdateArchiveOutput) { @@ -4679,21 +4673,22 @@ func (c *CloudWatchEvents) UpdateArchiveRequest(input *UpdateArchiveInput) (req // API operation UpdateArchive for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - InternalException +// This exception occurs due to unexpected causes. // -// * InvalidEventPatternException -// The event pattern is not valid. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. +// +// - InvalidEventPatternException +// The event pattern is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/UpdateArchive func (c *CloudWatchEvents) UpdateArchive(input *UpdateArchiveInput) (*UpdateArchiveOutput, error) { @@ -4733,14 +4728,13 @@ const opUpdateConnection = "UpdateConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConnectionRequest method. +// req, resp := client.UpdateConnectionRequest(params) // -// // Example sending a request using the UpdateConnectionRequest method. -// req, resp := client.UpdateConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/UpdateConnection func (c *CloudWatchEvents) UpdateConnectionRequest(input *UpdateConnectionInput) (req *request.Request, output *UpdateConnectionOutput) { @@ -4771,18 +4765,19 @@ func (c *CloudWatchEvents) UpdateConnectionRequest(input *UpdateConnectionInput) // API operation UpdateConnection for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/UpdateConnection func (c *CloudWatchEvents) UpdateConnection(input *UpdateConnectionInput) (*UpdateConnectionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/cloudwatcheventsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/cloudwatcheventsiface/interface.go index da5a22fd5e4d..33f85ff2b819 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/cloudwatcheventsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/cloudwatcheventsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon CloudWatch Events. -// func myFunc(svc cloudwatcheventsiface.CloudWatchEventsAPI) bool { -// // Make svc.ActivateEventSource request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon CloudWatch Events. +// func myFunc(svc cloudwatcheventsiface.CloudWatchEventsAPI) bool { +// // Make svc.ActivateEventSource request +// } // -// func main() { -// sess := session.New() -// svc := cloudwatchevents.New(sess) +// func main() { +// sess := session.New() +// svc := cloudwatchevents.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCloudWatchEventsClient struct { -// cloudwatcheventsiface.CloudWatchEventsAPI -// } -// func (m *mockCloudWatchEventsClient) ActivateEventSource(input *cloudwatchevents.ActivateEventSourceInput) (*cloudwatchevents.ActivateEventSourceOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCloudWatchEventsClient struct { +// cloudwatcheventsiface.CloudWatchEventsAPI +// } +// func (m *mockCloudWatchEventsClient) ActivateEventSource(input *cloudwatchevents.ActivateEventSourceInput) (*cloudwatchevents.ActivateEventSourceOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCloudWatchEventsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCloudWatchEventsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/doc.go index 5cea62d50f95..111af4d40489 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/doc.go @@ -10,14 +10,14 @@ // use rules to take action on a predetermined schedule. For example, you can // configure rules to: // -// * Automatically invoke an Lambda function to update DNS entries when an -// event notifies you that Amazon EC2 instance enters the running state. +// - Automatically invoke an Lambda function to update DNS entries when an +// event notifies you that Amazon EC2 instance enters the running state. // -// * Direct specific API records from CloudTrail to an Amazon Kinesis data -// stream for detailed analysis of potential security or availability risks. +// - Direct specific API records from CloudTrail to an Amazon Kinesis data +// stream for detailed analysis of potential security or availability risks. // -// * Periodically invoke a built-in target to create a snapshot of an Amazon -// EBS volume. +// - Periodically invoke a built-in target to create a snapshot of an Amazon +// EBS volume. // // For more information about the features of Amazon EventBridge, see the Amazon // EventBridge User Guide (https://docs.aws.amazon.com/eventbridge/latest/userguide). @@ -27,7 +27,7 @@ // See cloudwatchevents package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cloudwatchevents/ // -// Using the Client +// # Using the Client // // To contact Amazon CloudWatch Events with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/service.go index 2956a17715c1..48ff1a618ffc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevents/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CloudWatchEvents client from just a session. -// svc := cloudwatchevents.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CloudWatchEvents client with additional configuration -// svc := cloudwatchevents.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CloudWatchEvents client from just a session. +// svc := cloudwatchevents.New(mySession) +// +// // Create a CloudWatchEvents client with additional configuration +// svc := cloudwatchevents.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudWatchEvents { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/api.go index da5ac409e51e..f801bf6c8147 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/api.go @@ -29,14 +29,13 @@ const opBatchEvaluateFeature = "BatchEvaluateFeature" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchEvaluateFeatureRequest method. +// req, resp := client.BatchEvaluateFeatureRequest(params) // -// // Example sending a request using the BatchEvaluateFeatureRequest method. -// req, resp := client.BatchEvaluateFeatureRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature func (c *CloudWatchEvidently) BatchEvaluateFeatureRequest(input *BatchEvaluateFeatureInput) (req *request.Request, output *BatchEvaluateFeatureOutput) { @@ -91,17 +90,18 @@ func (c *CloudWatchEvidently) BatchEvaluateFeatureRequest(input *BatchEvaluateFe // API operation BatchEvaluateFeature for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. +// +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/BatchEvaluateFeature func (c *CloudWatchEvidently) BatchEvaluateFeature(input *BatchEvaluateFeatureInput) (*BatchEvaluateFeatureOutput, error) { @@ -141,14 +141,13 @@ const opCreateExperiment = "CreateExperiment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateExperimentRequest method. +// req, resp := client.CreateExperimentRequest(params) // -// // Example sending a request using the CreateExperimentRequest method. -// req, resp := client.CreateExperimentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment func (c *CloudWatchEvidently) CreateExperimentRequest(input *CreateExperimentInput) (req *request.Request, output *CreateExperimentOutput) { @@ -188,20 +187,21 @@ func (c *CloudWatchEvidently) CreateExperimentRequest(input *CreateExperimentInp // API operation CreateExperiment for usage and error information. // // Returned Error Types: -// * ValidationException -// The value of a parameter in the request caused an error. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateExperiment func (c *CloudWatchEvidently) CreateExperiment(input *CreateExperimentInput) (*CreateExperimentOutput, error) { @@ -241,14 +241,13 @@ const opCreateFeature = "CreateFeature" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFeatureRequest method. +// req, resp := client.CreateFeatureRequest(params) // -// // Example sending a request using the CreateFeatureRequest method. -// req, resp := client.CreateFeatureRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature func (c *CloudWatchEvidently) CreateFeatureRequest(input *CreateFeatureInput) (req *request.Request, output *CreateFeatureOutput) { @@ -285,20 +284,21 @@ func (c *CloudWatchEvidently) CreateFeatureRequest(input *CreateFeatureInput) (r // API operation CreateFeature for usage and error information. // // Returned Error Types: -// * ValidationException -// The value of a parameter in the request caused an error. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateFeature func (c *CloudWatchEvidently) CreateFeature(input *CreateFeatureInput) (*CreateFeatureOutput, error) { @@ -338,14 +338,13 @@ const opCreateLaunch = "CreateLaunch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLaunchRequest method. +// req, resp := client.CreateLaunchRequest(params) // -// // Example sending a request using the CreateLaunchRequest method. -// req, resp := client.CreateLaunchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch func (c *CloudWatchEvidently) CreateLaunchRequest(input *CreateLaunchInput) (req *request.Request, output *CreateLaunchOutput) { @@ -386,20 +385,21 @@ func (c *CloudWatchEvidently) CreateLaunchRequest(input *CreateLaunchInput) (req // API operation CreateLaunch for usage and error information. // // Returned Error Types: -// * ValidationException -// The value of a parameter in the request caused an error. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunch func (c *CloudWatchEvidently) CreateLaunch(input *CreateLaunchInput) (*CreateLaunchOutput, error) { @@ -439,14 +439,13 @@ const opCreateProject = "CreateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProjectRequest method. +// req, resp := client.CreateProjectRequest(params) // -// // Example sending a request using the CreateProjectRequest method. -// req, resp := client.CreateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject func (c *CloudWatchEvidently) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) { @@ -481,17 +480,18 @@ func (c *CloudWatchEvidently) CreateProjectRequest(input *CreateProjectInput) (r // API operation CreateProject for usage and error information. // // Returned Error Types: -// * ValidationException -// The value of a parameter in the request caused an error. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProject func (c *CloudWatchEvidently) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) { @@ -531,14 +531,13 @@ const opDeleteExperiment = "DeleteExperiment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteExperimentRequest method. +// req, resp := client.DeleteExperimentRequest(params) // -// // Example sending a request using the DeleteExperimentRequest method. -// req, resp := client.DeleteExperimentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment func (c *CloudWatchEvidently) DeleteExperimentRequest(input *DeleteExperimentInput) (req *request.Request, output *DeleteExperimentOutput) { @@ -573,23 +572,24 @@ func (c *CloudWatchEvidently) DeleteExperimentRequest(input *DeleteExperimentInp // API operation DeleteExperiment for usage and error information. // // Returned Error Types: -// * ValidationException -// The value of a parameter in the request caused an error. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - InternalServerException +// Unexpected error while processing the request. Retry the request. // -// * ServiceUnavailableException -// The service was unavailable. Retry the request. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ServiceUnavailableException +// The service was unavailable. Retry the request. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteExperiment func (c *CloudWatchEvidently) DeleteExperiment(input *DeleteExperimentInput) (*DeleteExperimentOutput, error) { @@ -629,14 +629,13 @@ const opDeleteFeature = "DeleteFeature" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFeatureRequest method. +// req, resp := client.DeleteFeatureRequest(params) // -// // Example sending a request using the DeleteFeatureRequest method. -// req, resp := client.DeleteFeatureRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature func (c *CloudWatchEvidently) DeleteFeatureRequest(input *DeleteFeatureInput) (req *request.Request, output *DeleteFeatureOutput) { @@ -668,20 +667,21 @@ func (c *CloudWatchEvidently) DeleteFeatureRequest(input *DeleteFeatureInput) (r // API operation DeleteFeature for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteFeature func (c *CloudWatchEvidently) DeleteFeature(input *DeleteFeatureInput) (*DeleteFeatureOutput, error) { @@ -721,14 +721,13 @@ const opDeleteLaunch = "DeleteLaunch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLaunchRequest method. +// req, resp := client.DeleteLaunchRequest(params) // -// // Example sending a request using the DeleteLaunchRequest method. -// req, resp := client.DeleteLaunchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch func (c *CloudWatchEvidently) DeleteLaunchRequest(input *DeleteLaunchInput) (req *request.Request, output *DeleteLaunchOutput) { @@ -762,20 +761,21 @@ func (c *CloudWatchEvidently) DeleteLaunchRequest(input *DeleteLaunchInput) (req // API operation DeleteLaunch for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteLaunch func (c *CloudWatchEvidently) DeleteLaunch(input *DeleteLaunchInput) (*DeleteLaunchOutput, error) { @@ -815,14 +815,13 @@ const opDeleteProject = "DeleteProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProjectRequest method. +// req, resp := client.DeleteProjectRequest(params) // -// // Example sending a request using the DeleteProjectRequest method. -// req, resp := client.DeleteProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject func (c *CloudWatchEvidently) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) { @@ -856,20 +855,21 @@ func (c *CloudWatchEvidently) DeleteProjectRequest(input *DeleteProjectInput) (r // API operation DeleteProject for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/DeleteProject func (c *CloudWatchEvidently) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) { @@ -909,14 +909,13 @@ const opEvaluateFeature = "EvaluateFeature" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EvaluateFeatureRequest method. +// req, resp := client.EvaluateFeatureRequest(params) // -// // Example sending a request using the EvaluateFeatureRequest method. -// req, resp := client.EvaluateFeatureRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature func (c *CloudWatchEvidently) EvaluateFeatureRequest(input *EvaluateFeatureInput) (req *request.Request, output *EvaluateFeatureOutput) { @@ -971,17 +970,18 @@ func (c *CloudWatchEvidently) EvaluateFeatureRequest(input *EvaluateFeatureInput // API operation EvaluateFeature for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. +// +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/EvaluateFeature func (c *CloudWatchEvidently) EvaluateFeature(input *EvaluateFeatureInput) (*EvaluateFeatureOutput, error) { @@ -1021,14 +1021,13 @@ const opGetExperiment = "GetExperiment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetExperimentRequest method. +// req, resp := client.GetExperimentRequest(params) // -// // Example sending a request using the GetExperimentRequest method. -// req, resp := client.GetExperimentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment func (c *CloudWatchEvidently) GetExperimentRequest(input *GetExperimentInput) (req *request.Request, output *GetExperimentOutput) { @@ -1061,17 +1060,18 @@ func (c *CloudWatchEvidently) GetExperimentRequest(input *GetExperimentInput) (r // API operation GetExperiment for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. +// +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperiment func (c *CloudWatchEvidently) GetExperiment(input *GetExperimentInput) (*GetExperimentOutput, error) { @@ -1111,14 +1111,13 @@ const opGetExperimentResults = "GetExperimentResults" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetExperimentResultsRequest method. +// req, resp := client.GetExperimentResultsRequest(params) // -// // Example sending a request using the GetExperimentResultsRequest method. -// req, resp := client.GetExperimentResultsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults func (c *CloudWatchEvidently) GetExperimentResultsRequest(input *GetExperimentResultsInput) (req *request.Request, output *GetExperimentResultsOutput) { @@ -1154,20 +1153,21 @@ func (c *CloudWatchEvidently) GetExperimentResultsRequest(input *GetExperimentRe // API operation GetExperimentResults for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. +// +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResults func (c *CloudWatchEvidently) GetExperimentResults(input *GetExperimentResultsInput) (*GetExperimentResultsOutput, error) { @@ -1207,14 +1207,13 @@ const opGetFeature = "GetFeature" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFeatureRequest method. +// req, resp := client.GetFeatureRequest(params) // -// // Example sending a request using the GetFeatureRequest method. -// req, resp := client.GetFeatureRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature func (c *CloudWatchEvidently) GetFeatureRequest(input *GetFeatureInput) (req *request.Request, output *GetFeatureOutput) { @@ -1246,17 +1245,18 @@ func (c *CloudWatchEvidently) GetFeatureRequest(input *GetFeatureInput) (req *re // API operation GetFeature for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. +// +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetFeature func (c *CloudWatchEvidently) GetFeature(input *GetFeatureInput) (*GetFeatureOutput, error) { @@ -1296,14 +1296,13 @@ const opGetLaunch = "GetLaunch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLaunchRequest method. +// req, resp := client.GetLaunchRequest(params) // -// // Example sending a request using the GetLaunchRequest method. -// req, resp := client.GetLaunchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch func (c *CloudWatchEvidently) GetLaunchRequest(input *GetLaunchInput) (req *request.Request, output *GetLaunchOutput) { @@ -1335,17 +1334,18 @@ func (c *CloudWatchEvidently) GetLaunchRequest(input *GetLaunchInput) (req *requ // API operation GetLaunch for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. +// +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetLaunch func (c *CloudWatchEvidently) GetLaunch(input *GetLaunchInput) (*GetLaunchOutput, error) { @@ -1385,14 +1385,13 @@ const opGetProject = "GetProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetProjectRequest method. +// req, resp := client.GetProjectRequest(params) // -// // Example sending a request using the GetProjectRequest method. -// req, resp := client.GetProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject func (c *CloudWatchEvidently) GetProjectRequest(input *GetProjectInput) (req *request.Request, output *GetProjectOutput) { @@ -1424,17 +1423,18 @@ func (c *CloudWatchEvidently) GetProjectRequest(input *GetProjectInput) (req *re // API operation GetProject for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. +// +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetProject func (c *CloudWatchEvidently) GetProject(input *GetProjectInput) (*GetProjectOutput, error) { @@ -1474,14 +1474,13 @@ const opListExperiments = "ListExperiments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExperimentsRequest method. +// req, resp := client.ListExperimentsRequest(params) // -// // Example sending a request using the ListExperimentsRequest method. -// req, resp := client.ListExperimentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments func (c *CloudWatchEvidently) ListExperimentsRequest(input *ListExperimentsInput) (req *request.Request, output *ListExperimentsOutput) { @@ -1519,14 +1518,15 @@ func (c *CloudWatchEvidently) ListExperimentsRequest(input *ListExperimentsInput // API operation ListExperiments for usage and error information. // // Returned Error Types: -// * ValidationException -// The value of a parameter in the request caused an error. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ValidationException +// The value of a parameter in the request caused an error. +// +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListExperiments func (c *CloudWatchEvidently) ListExperiments(input *ListExperimentsInput) (*ListExperimentsOutput, error) { @@ -1558,15 +1558,14 @@ func (c *CloudWatchEvidently) ListExperimentsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExperiments operation. -// pageNum := 0 -// err := client.ListExperimentsPages(params, -// func(page *cloudwatchevidently.ListExperimentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExperiments operation. +// pageNum := 0 +// err := client.ListExperimentsPages(params, +// func(page *cloudwatchevidently.ListExperimentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatchEvidently) ListExperimentsPages(input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool) error { return c.ListExperimentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1618,14 +1617,13 @@ const opListFeatures = "ListFeatures" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFeaturesRequest method. +// req, resp := client.ListFeaturesRequest(params) // -// // Example sending a request using the ListFeaturesRequest method. -// req, resp := client.ListFeaturesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures func (c *CloudWatchEvidently) ListFeaturesRequest(input *ListFeaturesInput) (req *request.Request, output *ListFeaturesOutput) { @@ -1662,17 +1660,18 @@ func (c *CloudWatchEvidently) ListFeaturesRequest(input *ListFeaturesInput) (req // API operation ListFeatures for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListFeatures func (c *CloudWatchEvidently) ListFeatures(input *ListFeaturesInput) (*ListFeaturesOutput, error) { @@ -1704,15 +1703,14 @@ func (c *CloudWatchEvidently) ListFeaturesWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFeatures operation. -// pageNum := 0 -// err := client.ListFeaturesPages(params, -// func(page *cloudwatchevidently.ListFeaturesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFeatures operation. +// pageNum := 0 +// err := client.ListFeaturesPages(params, +// func(page *cloudwatchevidently.ListFeaturesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatchEvidently) ListFeaturesPages(input *ListFeaturesInput, fn func(*ListFeaturesOutput, bool) bool) error { return c.ListFeaturesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1764,14 +1762,13 @@ const opListLaunches = "ListLaunches" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLaunchesRequest method. +// req, resp := client.ListLaunchesRequest(params) // -// // Example sending a request using the ListLaunchesRequest method. -// req, resp := client.ListLaunchesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches func (c *CloudWatchEvidently) ListLaunchesRequest(input *ListLaunchesInput) (req *request.Request, output *ListLaunchesOutput) { @@ -1808,14 +1805,15 @@ func (c *CloudWatchEvidently) ListLaunchesRequest(input *ListLaunchesInput) (req // API operation ListLaunches for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ValidationException +// The value of a parameter in the request caused an error. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListLaunches func (c *CloudWatchEvidently) ListLaunches(input *ListLaunchesInput) (*ListLaunchesOutput, error) { @@ -1847,15 +1845,14 @@ func (c *CloudWatchEvidently) ListLaunchesWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLaunches operation. -// pageNum := 0 -// err := client.ListLaunchesPages(params, -// func(page *cloudwatchevidently.ListLaunchesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLaunches operation. +// pageNum := 0 +// err := client.ListLaunchesPages(params, +// func(page *cloudwatchevidently.ListLaunchesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatchEvidently) ListLaunchesPages(input *ListLaunchesInput, fn func(*ListLaunchesOutput, bool) bool) error { return c.ListLaunchesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1907,14 +1904,13 @@ const opListProjects = "ListProjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProjectsRequest method. +// req, resp := client.ListProjectsRequest(params) // -// // Example sending a request using the ListProjectsRequest method. -// req, resp := client.ListProjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects func (c *CloudWatchEvidently) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) { @@ -1952,14 +1948,15 @@ func (c *CloudWatchEvidently) ListProjectsRequest(input *ListProjectsInput) (req // API operation ListProjects for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. +// +// - ValidationException +// The value of a parameter in the request caused an error. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListProjects func (c *CloudWatchEvidently) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error) { @@ -1991,15 +1988,14 @@ func (c *CloudWatchEvidently) ListProjectsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProjects operation. -// pageNum := 0 -// err := client.ListProjectsPages(params, -// func(page *cloudwatchevidently.ListProjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProjects operation. +// pageNum := 0 +// err := client.ListProjectsPages(params, +// func(page *cloudwatchevidently.ListProjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatchEvidently) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error { return c.ListProjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2051,14 +2047,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource func (c *CloudWatchEvidently) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2089,14 +2084,15 @@ func (c *CloudWatchEvidently) ListTagsForResourceRequest(input *ListTagsForResou // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The value of a parameter in the request caused an error. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. +// +// - ResourceNotFoundException +// The request references a resource that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ListTagsForResource func (c *CloudWatchEvidently) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2136,14 +2132,13 @@ const opPutProjectEvents = "PutProjectEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutProjectEventsRequest method. +// req, resp := client.PutProjectEventsRequest(params) // -// // Example sending a request using the PutProjectEventsRequest method. -// req, resp := client.PutProjectEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents func (c *CloudWatchEvidently) PutProjectEventsRequest(input *PutProjectEventsInput) (req *request.Request, output *PutProjectEventsOutput) { @@ -2177,17 +2172,18 @@ func (c *CloudWatchEvidently) PutProjectEventsRequest(input *PutProjectEventsInp // API operation PutProjectEvents for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/PutProjectEvents func (c *CloudWatchEvidently) PutProjectEvents(input *PutProjectEventsInput) (*PutProjectEventsOutput, error) { @@ -2227,14 +2223,13 @@ const opStartExperiment = "StartExperiment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartExperimentRequest method. +// req, resp := client.StartExperimentRequest(params) // -// // Example sending a request using the StartExperimentRequest method. -// req, resp := client.StartExperimentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment func (c *CloudWatchEvidently) StartExperimentRequest(input *StartExperimentInput) (req *request.Request, output *StartExperimentOutput) { @@ -2266,23 +2261,24 @@ func (c *CloudWatchEvidently) StartExperimentRequest(input *StartExperimentInput // API operation StartExperiment for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartExperiment func (c *CloudWatchEvidently) StartExperiment(input *StartExperimentInput) (*StartExperimentOutput, error) { @@ -2322,14 +2318,13 @@ const opStartLaunch = "StartLaunch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartLaunchRequest method. +// req, resp := client.StartLaunchRequest(params) // -// // Example sending a request using the StartLaunchRequest method. -// req, resp := client.StartLaunchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch func (c *CloudWatchEvidently) StartLaunchRequest(input *StartLaunchInput) (req *request.Request, output *StartLaunchOutput) { @@ -2360,23 +2355,24 @@ func (c *CloudWatchEvidently) StartLaunchRequest(input *StartLaunchInput) (req * // API operation StartLaunch for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StartLaunch func (c *CloudWatchEvidently) StartLaunch(input *StartLaunchInput) (*StartLaunchOutput, error) { @@ -2416,14 +2412,13 @@ const opStopExperiment = "StopExperiment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopExperimentRequest method. +// req, resp := client.StopExperimentRequest(params) // -// // Example sending a request using the StopExperimentRequest method. -// req, resp := client.StopExperimentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment func (c *CloudWatchEvidently) StopExperimentRequest(input *StopExperimentInput) (req *request.Request, output *StopExperimentOutput) { @@ -2455,23 +2450,24 @@ func (c *CloudWatchEvidently) StopExperimentRequest(input *StopExperimentInput) // API operation StopExperiment for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopExperiment func (c *CloudWatchEvidently) StopExperiment(input *StopExperimentInput) (*StopExperimentOutput, error) { @@ -2511,14 +2507,13 @@ const opStopLaunch = "StopLaunch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopLaunchRequest method. +// req, resp := client.StopLaunchRequest(params) // -// // Example sending a request using the StopLaunchRequest method. -// req, resp := client.StopLaunchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch func (c *CloudWatchEvidently) StopLaunchRequest(input *StopLaunchInput) (req *request.Request, output *StopLaunchOutput) { @@ -2554,17 +2549,18 @@ func (c *CloudWatchEvidently) StopLaunchRequest(input *StopLaunchInput) (req *re // API operation StopLaunch for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. +// +// - ValidationException +// The value of a parameter in the request caused an error. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/StopLaunch func (c *CloudWatchEvidently) StopLaunch(input *StopLaunchInput) (*StopLaunchOutput, error) { @@ -2604,14 +2600,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource func (c *CloudWatchEvidently) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2661,14 +2656,15 @@ func (c *CloudWatchEvidently) TagResourceRequest(input *TagResourceInput) (req * // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The value of a parameter in the request caused an error. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. +// +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ResourceNotFoundException +// The request references a resource that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/TagResource func (c *CloudWatchEvidently) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2708,14 +2704,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource func (c *CloudWatchEvidently) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2747,14 +2742,15 @@ func (c *CloudWatchEvidently) UntagResourceRequest(input *UntagResourceInput) (r // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The value of a parameter in the request caused an error. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. +// +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ResourceNotFoundException +// The request references a resource that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UntagResource func (c *CloudWatchEvidently) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2794,14 +2790,13 @@ const opUpdateExperiment = "UpdateExperiment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateExperimentRequest method. +// req, resp := client.UpdateExperimentRequest(params) // -// // Example sending a request using the UpdateExperimentRequest method. -// req, resp := client.UpdateExperimentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment func (c *CloudWatchEvidently) UpdateExperimentRequest(input *UpdateExperimentInput) (req *request.Request, output *UpdateExperimentOutput) { @@ -2835,17 +2830,18 @@ func (c *CloudWatchEvidently) UpdateExperimentRequest(input *UpdateExperimentInp // API operation UpdateExperiment for usage and error information. // // Returned Error Types: -// * ValidationException -// The value of a parameter in the request caused an error. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. +// +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateExperiment func (c *CloudWatchEvidently) UpdateExperiment(input *UpdateExperimentInput) (*UpdateExperimentOutput, error) { @@ -2885,14 +2881,13 @@ const opUpdateFeature = "UpdateFeature" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFeatureRequest method. +// req, resp := client.UpdateFeatureRequest(params) // -// // Example sending a request using the UpdateFeatureRequest method. -// req, resp := client.UpdateFeatureRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature func (c *CloudWatchEvidently) UpdateFeatureRequest(input *UpdateFeatureInput) (req *request.Request, output *UpdateFeatureOutput) { @@ -2926,20 +2921,21 @@ func (c *CloudWatchEvidently) UpdateFeatureRequest(input *UpdateFeatureInput) (r // API operation UpdateFeature for usage and error information. // // Returned Error Types: -// * ValidationException -// The value of a parameter in the request caused an error. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. +// +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateFeature func (c *CloudWatchEvidently) UpdateFeature(input *UpdateFeatureInput) (*UpdateFeatureOutput, error) { @@ -2979,14 +2975,13 @@ const opUpdateLaunch = "UpdateLaunch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLaunchRequest method. +// req, resp := client.UpdateLaunchRequest(params) // -// // Example sending a request using the UpdateLaunchRequest method. -// req, resp := client.UpdateLaunchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch func (c *CloudWatchEvidently) UpdateLaunchRequest(input *UpdateLaunchInput) (req *request.Request, output *UpdateLaunchOutput) { @@ -3020,17 +3015,18 @@ func (c *CloudWatchEvidently) UpdateLaunchRequest(input *UpdateLaunchInput) (req // API operation UpdateLaunch for usage and error information. // // Returned Error Types: -// * ValidationException -// The value of a parameter in the request caused an error. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. +// +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateLaunch func (c *CloudWatchEvidently) UpdateLaunch(input *UpdateLaunchInput) (*UpdateLaunchOutput, error) { @@ -3070,14 +3066,13 @@ const opUpdateProject = "UpdateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProjectRequest method. +// req, resp := client.UpdateProjectRequest(params) // -// // Example sending a request using the UpdateProjectRequest method. -// req, resp := client.UpdateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject func (c *CloudWatchEvidently) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput) { @@ -3116,17 +3111,18 @@ func (c *CloudWatchEvidently) UpdateProjectRequest(input *UpdateProjectInput) (r // API operation UpdateProject for usage and error information. // // Returned Error Types: -// * ValidationException -// The value of a parameter in the request caused an error. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ValidationException +// The value of a parameter in the request caused an error. +// +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProject func (c *CloudWatchEvidently) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error) { @@ -3166,14 +3162,13 @@ const opUpdateProjectDataDelivery = "UpdateProjectDataDelivery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProjectDataDeliveryRequest method. +// req, resp := client.UpdateProjectDataDeliveryRequest(params) // -// // Example sending a request using the UpdateProjectDataDeliveryRequest method. -// req, resp := client.UpdateProjectDataDeliveryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery func (c *CloudWatchEvidently) UpdateProjectDataDeliveryRequest(input *UpdateProjectDataDeliveryInput) (req *request.Request, output *UpdateProjectDataDeliveryOutput) { @@ -3209,20 +3204,21 @@ func (c *CloudWatchEvidently) UpdateProjectDataDeliveryRequest(input *UpdateProj // API operation UpdateProjectDataDelivery for usage and error information. // // Returned Error Types: -// * ValidationException -// The value of a parameter in the request caused an error. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ValidationException +// The value of a parameter in the request caused an error. +// +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * ResourceNotFoundException -// The request references a resource that does not exist. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectDataDelivery func (c *CloudWatchEvidently) UpdateProjectDataDelivery(input *UpdateProjectDataDeliveryInput) (*UpdateProjectDataDeliveryOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/cloudwatchevidentlyiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/cloudwatchevidentlyiface/interface.go index 5ce8fa5b466f..d6cbba7d5822 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/cloudwatchevidentlyiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/cloudwatchevidentlyiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon CloudWatch Evidently. -// func myFunc(svc cloudwatchevidentlyiface.CloudWatchEvidentlyAPI) bool { -// // Make svc.BatchEvaluateFeature request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon CloudWatch Evidently. +// func myFunc(svc cloudwatchevidentlyiface.CloudWatchEvidentlyAPI) bool { +// // Make svc.BatchEvaluateFeature request +// } // -// func main() { -// sess := session.New() -// svc := cloudwatchevidently.New(sess) +// func main() { +// sess := session.New() +// svc := cloudwatchevidently.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCloudWatchEvidentlyClient struct { -// cloudwatchevidentlyiface.CloudWatchEvidentlyAPI -// } -// func (m *mockCloudWatchEvidentlyClient) BatchEvaluateFeature(input *cloudwatchevidently.BatchEvaluateFeatureInput) (*cloudwatchevidently.BatchEvaluateFeatureOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCloudWatchEvidentlyClient struct { +// cloudwatchevidentlyiface.CloudWatchEvidentlyAPI +// } +// func (m *mockCloudWatchEvidentlyClient) BatchEvaluateFeature(input *cloudwatchevidently.BatchEvaluateFeatureInput) (*cloudwatchevidently.BatchEvaluateFeatureOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCloudWatchEvidentlyClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCloudWatchEvidentlyClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/doc.go index 04a15b16ebe9..032f12eff469 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/doc.go @@ -20,7 +20,7 @@ // See cloudwatchevidently package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cloudwatchevidently/ // -// Using the Client +// # Using the Client // // To contact Amazon CloudWatch Evidently with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/service.go index 61f2ec7a3f80..1a5f1cf9c189 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchevidently/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CloudWatchEvidently client from just a session. -// svc := cloudwatchevidently.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CloudWatchEvidently client with additional configuration -// svc := cloudwatchevidently.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CloudWatchEvidently client from just a session. +// svc := cloudwatchevidently.New(mySession) +// +// // Create a CloudWatchEvidently client with additional configuration +// svc := cloudwatchevidently.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudWatchEvidently { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/api.go index 560fb0b6267e..dab7692a50e6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/api.go @@ -28,14 +28,13 @@ const opAssociateKmsKey = "AssociateKmsKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateKmsKeyRequest method. +// req, resp := client.AssociateKmsKeyRequest(params) // -// // Example sending a request using the AssociateKmsKeyRequest method. -// req, resp := client.AssociateKmsKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateKmsKey func (c *CloudWatchLogs) AssociateKmsKeyRequest(input *AssociateKmsKeyInput) (req *request.Request, output *AssociateKmsKeyOutput) { @@ -84,17 +83,18 @@ func (c *CloudWatchLogs) AssociateKmsKeyRequest(input *AssociateKmsKeyInput) (re // API operation AssociateKmsKey for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * OperationAbortedException -// Multiple concurrent requests to update the same resource were in conflict. +// - OperationAbortedException +// Multiple concurrent requests to update the same resource were in conflict. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/AssociateKmsKey func (c *CloudWatchLogs) AssociateKmsKey(input *AssociateKmsKeyInput) (*AssociateKmsKeyOutput, error) { @@ -134,14 +134,13 @@ const opCancelExportTask = "CancelExportTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelExportTaskRequest method. +// req, resp := client.CancelExportTaskRequest(params) // -// // Example sending a request using the CancelExportTaskRequest method. -// req, resp := client.CancelExportTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTask func (c *CloudWatchLogs) CancelExportTaskRequest(input *CancelExportTaskInput) (req *request.Request, output *CancelExportTaskOutput) { @@ -175,17 +174,18 @@ func (c *CloudWatchLogs) CancelExportTaskRequest(input *CancelExportTaskInput) ( // API operation CancelExportTask for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. // -// * InvalidOperationException -// The operation is not valid on the specified resource. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - InvalidOperationException +// The operation is not valid on the specified resource. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CancelExportTask func (c *CloudWatchLogs) CancelExportTask(input *CancelExportTaskInput) (*CancelExportTaskOutput, error) { @@ -225,14 +225,13 @@ const opCreateExportTask = "CreateExportTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateExportTaskRequest method. +// req, resp := client.CreateExportTaskRequest(params) // -// // Example sending a request using the CreateExportTaskRequest method. -// req, resp := client.CreateExportTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTask func (c *CloudWatchLogs) CreateExportTaskRequest(input *CreateExportTaskInput) (req *request.Request, output *CreateExportTaskOutput) { @@ -286,23 +285,24 @@ func (c *CloudWatchLogs) CreateExportTaskRequest(input *CreateExportTaskInput) ( // API operation CreateExportTask for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * LimitExceededException -// You have reached the maximum number of resources that can be created. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - LimitExceededException +// You have reached the maximum number of resources that can be created. // -// * OperationAbortedException -// Multiple concurrent requests to update the same resource were in conflict. +// - OperationAbortedException +// Multiple concurrent requests to update the same resource were in conflict. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - ResourceAlreadyExistsException +// The specified resource already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateExportTask func (c *CloudWatchLogs) CreateExportTask(input *CreateExportTaskInput) (*CreateExportTaskOutput, error) { @@ -342,14 +342,13 @@ const opCreateLogGroup = "CreateLogGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLogGroupRequest method. +// req, resp := client.CreateLogGroupRequest(params) // -// // Example sending a request using the CreateLogGroupRequest method. -// req, resp := client.CreateLogGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroup func (c *CloudWatchLogs) CreateLogGroupRequest(input *CreateLogGroupInput) (req *request.Request, output *CreateLogGroupOutput) { @@ -376,14 +375,14 @@ func (c *CloudWatchLogs) CreateLogGroupRequest(input *CreateLogGroupInput) (req // // You must use the following guidelines when naming a log group: // -// * Log group names must be unique within a region for an Amazon Web Services -// account. +// - Log group names must be unique within a region for an Amazon Web Services +// account. // -// * Log group names can be between 1 and 512 characters long. +// - Log group names can be between 1 and 512 characters long. // -// * Log group names consist of the following characters: a-z, A-Z, 0-9, -// '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and -// '#' (number sign) +// - Log group names consist of the following characters: a-z, A-Z, 0-9, +// '_' (underscore), '-' (hyphen), '/' (forward slash), '.' (period), and +// '#' (number sign) // // When you create a log group, by default the log events in the log group never // expire. To set a retention policy so that events expire and are deleted after @@ -409,20 +408,21 @@ func (c *CloudWatchLogs) CreateLogGroupRequest(input *CreateLogGroupInput) (req // API operation CreateLogGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * LimitExceededException -// You have reached the maximum number of resources that can be created. +// - LimitExceededException +// You have reached the maximum number of resources that can be created. // -// * OperationAbortedException -// Multiple concurrent requests to update the same resource were in conflict. +// - OperationAbortedException +// Multiple concurrent requests to update the same resource were in conflict. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogGroup func (c *CloudWatchLogs) CreateLogGroup(input *CreateLogGroupInput) (*CreateLogGroupOutput, error) { @@ -462,14 +462,13 @@ const opCreateLogStream = "CreateLogStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLogStreamRequest method. +// req, resp := client.CreateLogStreamRequest(params) // -// // Example sending a request using the CreateLogStreamRequest method. -// req, resp := client.CreateLogStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStream func (c *CloudWatchLogs) CreateLogStreamRequest(input *CreateLogStreamInput) (req *request.Request, output *CreateLogStreamOutput) { @@ -501,11 +500,11 @@ func (c *CloudWatchLogs) CreateLogStreamRequest(input *CreateLogStreamInput) (re // // You must use the following guidelines when naming a log stream: // -// * Log stream names must be unique within the log group. +// - Log stream names must be unique within the log group. // -// * Log stream names can be between 1 and 512 characters long. +// - Log stream names can be between 1 and 512 characters long. // -// * The ':' (colon) and '*' (asterisk) characters are not allowed. +// - The ':' (colon) and '*' (asterisk) characters are not allowed. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -515,17 +514,18 @@ func (c *CloudWatchLogs) CreateLogStreamRequest(input *CreateLogStreamInput) (re // API operation CreateLogStream for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidParameterException +// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/CreateLogStream func (c *CloudWatchLogs) CreateLogStream(input *CreateLogStreamInput) (*CreateLogStreamOutput, error) { @@ -565,14 +565,13 @@ const opDeleteDestination = "DeleteDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDestinationRequest method. +// req, resp := client.DeleteDestinationRequest(params) // -// // Example sending a request using the DeleteDestinationRequest method. -// req, resp := client.DeleteDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestination func (c *CloudWatchLogs) DeleteDestinationRequest(input *DeleteDestinationInput) (req *request.Request, output *DeleteDestinationOutput) { @@ -606,17 +605,18 @@ func (c *CloudWatchLogs) DeleteDestinationRequest(input *DeleteDestinationInput) // API operation DeleteDestination for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * OperationAbortedException -// Multiple concurrent requests to update the same resource were in conflict. +// - OperationAbortedException +// Multiple concurrent requests to update the same resource were in conflict. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteDestination func (c *CloudWatchLogs) DeleteDestination(input *DeleteDestinationInput) (*DeleteDestinationOutput, error) { @@ -656,14 +656,13 @@ const opDeleteLogGroup = "DeleteLogGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLogGroupRequest method. +// req, resp := client.DeleteLogGroupRequest(params) // -// // Example sending a request using the DeleteLogGroupRequest method. -// req, resp := client.DeleteLogGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroup func (c *CloudWatchLogs) DeleteLogGroupRequest(input *DeleteLogGroupInput) (req *request.Request, output *DeleteLogGroupOutput) { @@ -696,17 +695,18 @@ func (c *CloudWatchLogs) DeleteLogGroupRequest(input *DeleteLogGroupInput) (req // API operation DeleteLogGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * OperationAbortedException -// Multiple concurrent requests to update the same resource were in conflict. +// - OperationAbortedException +// Multiple concurrent requests to update the same resource were in conflict. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogGroup func (c *CloudWatchLogs) DeleteLogGroup(input *DeleteLogGroupInput) (*DeleteLogGroupOutput, error) { @@ -746,14 +746,13 @@ const opDeleteLogStream = "DeleteLogStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLogStreamRequest method. +// req, resp := client.DeleteLogStreamRequest(params) // -// // Example sending a request using the DeleteLogStreamRequest method. -// req, resp := client.DeleteLogStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStream func (c *CloudWatchLogs) DeleteLogStreamRequest(input *DeleteLogStreamInput) (req *request.Request, output *DeleteLogStreamOutput) { @@ -786,17 +785,18 @@ func (c *CloudWatchLogs) DeleteLogStreamRequest(input *DeleteLogStreamInput) (re // API operation DeleteLogStream for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. // -// * OperationAbortedException -// Multiple concurrent requests to update the same resource were in conflict. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - OperationAbortedException +// Multiple concurrent requests to update the same resource were in conflict. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteLogStream func (c *CloudWatchLogs) DeleteLogStream(input *DeleteLogStreamInput) (*DeleteLogStreamOutput, error) { @@ -836,14 +836,13 @@ const opDeleteMetricFilter = "DeleteMetricFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMetricFilterRequest method. +// req, resp := client.DeleteMetricFilterRequest(params) // -// // Example sending a request using the DeleteMetricFilterRequest method. -// req, resp := client.DeleteMetricFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilter func (c *CloudWatchLogs) DeleteMetricFilterRequest(input *DeleteMetricFilterInput) (req *request.Request, output *DeleteMetricFilterOutput) { @@ -875,17 +874,18 @@ func (c *CloudWatchLogs) DeleteMetricFilterRequest(input *DeleteMetricFilterInpu // API operation DeleteMetricFilter for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * OperationAbortedException -// Multiple concurrent requests to update the same resource were in conflict. +// - OperationAbortedException +// Multiple concurrent requests to update the same resource were in conflict. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteMetricFilter func (c *CloudWatchLogs) DeleteMetricFilter(input *DeleteMetricFilterInput) (*DeleteMetricFilterOutput, error) { @@ -925,14 +925,13 @@ const opDeleteQueryDefinition = "DeleteQueryDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteQueryDefinitionRequest method. +// req, resp := client.DeleteQueryDefinitionRequest(params) // -// // Example sending a request using the DeleteQueryDefinitionRequest method. -// req, resp := client.DeleteQueryDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteQueryDefinition func (c *CloudWatchLogs) DeleteQueryDefinitionRequest(input *DeleteQueryDefinitionInput) (req *request.Request, output *DeleteQueryDefinitionOutput) { @@ -969,14 +968,15 @@ func (c *CloudWatchLogs) DeleteQueryDefinitionRequest(input *DeleteQueryDefiniti // API operation DeleteQueryDefinition for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteQueryDefinition func (c *CloudWatchLogs) DeleteQueryDefinition(input *DeleteQueryDefinitionInput) (*DeleteQueryDefinitionOutput, error) { @@ -1016,14 +1016,13 @@ const opDeleteResourcePolicy = "DeleteResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourcePolicyRequest method. +// req, resp := client.DeleteResourcePolicyRequest(params) // -// // Example sending a request using the DeleteResourcePolicyRequest method. -// req, resp := client.DeleteResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteResourcePolicy func (c *CloudWatchLogs) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { @@ -1056,14 +1055,15 @@ func (c *CloudWatchLogs) DeleteResourcePolicyRequest(input *DeleteResourcePolicy // API operation DeleteResourcePolicy for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteResourcePolicy func (c *CloudWatchLogs) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { @@ -1103,14 +1103,13 @@ const opDeleteRetentionPolicy = "DeleteRetentionPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRetentionPolicyRequest method. +// req, resp := client.DeleteRetentionPolicyRequest(params) // -// // Example sending a request using the DeleteRetentionPolicyRequest method. -// req, resp := client.DeleteRetentionPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicy func (c *CloudWatchLogs) DeleteRetentionPolicyRequest(input *DeleteRetentionPolicyInput) (req *request.Request, output *DeleteRetentionPolicyOutput) { @@ -1145,17 +1144,18 @@ func (c *CloudWatchLogs) DeleteRetentionPolicyRequest(input *DeleteRetentionPoli // API operation DeleteRetentionPolicy for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. // -// * OperationAbortedException -// Multiple concurrent requests to update the same resource were in conflict. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - OperationAbortedException +// Multiple concurrent requests to update the same resource were in conflict. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteRetentionPolicy func (c *CloudWatchLogs) DeleteRetentionPolicy(input *DeleteRetentionPolicyInput) (*DeleteRetentionPolicyOutput, error) { @@ -1195,14 +1195,13 @@ const opDeleteSubscriptionFilter = "DeleteSubscriptionFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSubscriptionFilterRequest method. +// req, resp := client.DeleteSubscriptionFilterRequest(params) // -// // Example sending a request using the DeleteSubscriptionFilterRequest method. -// req, resp := client.DeleteSubscriptionFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilter func (c *CloudWatchLogs) DeleteSubscriptionFilterRequest(input *DeleteSubscriptionFilterInput) (req *request.Request, output *DeleteSubscriptionFilterOutput) { @@ -1234,17 +1233,18 @@ func (c *CloudWatchLogs) DeleteSubscriptionFilterRequest(input *DeleteSubscripti // API operation DeleteSubscriptionFilter for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * OperationAbortedException -// Multiple concurrent requests to update the same resource were in conflict. +// - OperationAbortedException +// Multiple concurrent requests to update the same resource were in conflict. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DeleteSubscriptionFilter func (c *CloudWatchLogs) DeleteSubscriptionFilter(input *DeleteSubscriptionFilterInput) (*DeleteSubscriptionFilterOutput, error) { @@ -1284,14 +1284,13 @@ const opDescribeDestinations = "DescribeDestinations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDestinationsRequest method. +// req, resp := client.DescribeDestinationsRequest(params) // -// // Example sending a request using the DescribeDestinationsRequest method. -// req, resp := client.DescribeDestinationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinations func (c *CloudWatchLogs) DescribeDestinationsRequest(input *DescribeDestinationsInput) (req *request.Request, output *DescribeDestinationsOutput) { @@ -1329,11 +1328,12 @@ func (c *CloudWatchLogs) DescribeDestinationsRequest(input *DescribeDestinations // API operation DescribeDestinations for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeDestinations func (c *CloudWatchLogs) DescribeDestinations(input *DescribeDestinationsInput) (*DescribeDestinationsOutput, error) { @@ -1365,15 +1365,14 @@ func (c *CloudWatchLogs) DescribeDestinationsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDestinations operation. -// pageNum := 0 -// err := client.DescribeDestinationsPages(params, -// func(page *cloudwatchlogs.DescribeDestinationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDestinations operation. +// pageNum := 0 +// err := client.DescribeDestinationsPages(params, +// func(page *cloudwatchlogs.DescribeDestinationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatchLogs) DescribeDestinationsPages(input *DescribeDestinationsInput, fn func(*DescribeDestinationsOutput, bool) bool) error { return c.DescribeDestinationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1426,14 +1425,13 @@ const opDescribeExportTasks = "DescribeExportTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExportTasksRequest method. +// req, resp := client.DescribeExportTasksRequest(params) // -// // Example sending a request using the DescribeExportTasksRequest method. -// req, resp := client.DescribeExportTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasks func (c *CloudWatchLogs) DescribeExportTasksRequest(input *DescribeExportTasksInput) (req *request.Request, output *DescribeExportTasksOutput) { @@ -1465,11 +1463,12 @@ func (c *CloudWatchLogs) DescribeExportTasksRequest(input *DescribeExportTasksIn // API operation DescribeExportTasks for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeExportTasks func (c *CloudWatchLogs) DescribeExportTasks(input *DescribeExportTasksInput) (*DescribeExportTasksOutput, error) { @@ -1509,14 +1508,13 @@ const opDescribeLogGroups = "DescribeLogGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLogGroupsRequest method. +// req, resp := client.DescribeLogGroupsRequest(params) // -// // Example sending a request using the DescribeLogGroupsRequest method. -// req, resp := client.DescribeLogGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroups func (c *CloudWatchLogs) DescribeLogGroupsRequest(input *DescribeLogGroupsInput) (req *request.Request, output *DescribeLogGroupsOutput) { @@ -1561,11 +1559,12 @@ func (c *CloudWatchLogs) DescribeLogGroupsRequest(input *DescribeLogGroupsInput) // API operation DescribeLogGroups for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogGroups func (c *CloudWatchLogs) DescribeLogGroups(input *DescribeLogGroupsInput) (*DescribeLogGroupsOutput, error) { @@ -1597,15 +1596,14 @@ func (c *CloudWatchLogs) DescribeLogGroupsWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeLogGroups operation. -// pageNum := 0 -// err := client.DescribeLogGroupsPages(params, -// func(page *cloudwatchlogs.DescribeLogGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeLogGroups operation. +// pageNum := 0 +// err := client.DescribeLogGroupsPages(params, +// func(page *cloudwatchlogs.DescribeLogGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatchLogs) DescribeLogGroupsPages(input *DescribeLogGroupsInput, fn func(*DescribeLogGroupsOutput, bool) bool) error { return c.DescribeLogGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1658,14 +1656,13 @@ const opDescribeLogStreams = "DescribeLogStreams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLogStreamsRequest method. +// req, resp := client.DescribeLogStreamsRequest(params) // -// // Example sending a request using the DescribeLogStreamsRequest method. -// req, resp := client.DescribeLogStreamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreams func (c *CloudWatchLogs) DescribeLogStreamsRequest(input *DescribeLogStreamsInput) (req *request.Request, output *DescribeLogStreamsOutput) { @@ -1707,14 +1704,15 @@ func (c *CloudWatchLogs) DescribeLogStreamsRequest(input *DescribeLogStreamsInpu // API operation DescribeLogStreams for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeLogStreams func (c *CloudWatchLogs) DescribeLogStreams(input *DescribeLogStreamsInput) (*DescribeLogStreamsOutput, error) { @@ -1746,15 +1744,14 @@ func (c *CloudWatchLogs) DescribeLogStreamsWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeLogStreams operation. -// pageNum := 0 -// err := client.DescribeLogStreamsPages(params, -// func(page *cloudwatchlogs.DescribeLogStreamsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeLogStreams operation. +// pageNum := 0 +// err := client.DescribeLogStreamsPages(params, +// func(page *cloudwatchlogs.DescribeLogStreamsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatchLogs) DescribeLogStreamsPages(input *DescribeLogStreamsInput, fn func(*DescribeLogStreamsOutput, bool) bool) error { return c.DescribeLogStreamsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1807,14 +1804,13 @@ const opDescribeMetricFilters = "DescribeMetricFilters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMetricFiltersRequest method. +// req, resp := client.DescribeMetricFiltersRequest(params) // -// // Example sending a request using the DescribeMetricFiltersRequest method. -// req, resp := client.DescribeMetricFiltersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFilters func (c *CloudWatchLogs) DescribeMetricFiltersRequest(input *DescribeMetricFiltersInput) (req *request.Request, output *DescribeMetricFiltersOutput) { @@ -1853,14 +1849,15 @@ func (c *CloudWatchLogs) DescribeMetricFiltersRequest(input *DescribeMetricFilte // API operation DescribeMetricFilters for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeMetricFilters func (c *CloudWatchLogs) DescribeMetricFilters(input *DescribeMetricFiltersInput) (*DescribeMetricFiltersOutput, error) { @@ -1892,15 +1889,14 @@ func (c *CloudWatchLogs) DescribeMetricFiltersWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeMetricFilters operation. -// pageNum := 0 -// err := client.DescribeMetricFiltersPages(params, -// func(page *cloudwatchlogs.DescribeMetricFiltersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeMetricFilters operation. +// pageNum := 0 +// err := client.DescribeMetricFiltersPages(params, +// func(page *cloudwatchlogs.DescribeMetricFiltersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatchLogs) DescribeMetricFiltersPages(input *DescribeMetricFiltersInput, fn func(*DescribeMetricFiltersOutput, bool) bool) error { return c.DescribeMetricFiltersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1953,14 +1949,13 @@ const opDescribeQueries = "DescribeQueries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeQueriesRequest method. +// req, resp := client.DescribeQueriesRequest(params) // -// // Example sending a request using the DescribeQueriesRequest method. -// req, resp := client.DescribeQueriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeQueries func (c *CloudWatchLogs) DescribeQueriesRequest(input *DescribeQueriesInput) (req *request.Request, output *DescribeQueriesOutput) { @@ -1994,14 +1989,15 @@ func (c *CloudWatchLogs) DescribeQueriesRequest(input *DescribeQueriesInput) (re // API operation DescribeQueries for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeQueries func (c *CloudWatchLogs) DescribeQueries(input *DescribeQueriesInput) (*DescribeQueriesOutput, error) { @@ -2041,14 +2037,13 @@ const opDescribeQueryDefinitions = "DescribeQueryDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeQueryDefinitionsRequest method. +// req, resp := client.DescribeQueryDefinitionsRequest(params) // -// // Example sending a request using the DescribeQueryDefinitionsRequest method. -// req, resp := client.DescribeQueryDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeQueryDefinitions func (c *CloudWatchLogs) DescribeQueryDefinitionsRequest(input *DescribeQueryDefinitionsInput) (req *request.Request, output *DescribeQueryDefinitionsOutput) { @@ -2083,11 +2078,12 @@ func (c *CloudWatchLogs) DescribeQueryDefinitionsRequest(input *DescribeQueryDef // API operation DescribeQueryDefinitions for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeQueryDefinitions func (c *CloudWatchLogs) DescribeQueryDefinitions(input *DescribeQueryDefinitionsInput) (*DescribeQueryDefinitionsOutput, error) { @@ -2127,14 +2123,13 @@ const opDescribeResourcePolicies = "DescribeResourcePolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeResourcePoliciesRequest method. +// req, resp := client.DescribeResourcePoliciesRequest(params) // -// // Example sending a request using the DescribeResourcePoliciesRequest method. -// req, resp := client.DescribeResourcePoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeResourcePolicies func (c *CloudWatchLogs) DescribeResourcePoliciesRequest(input *DescribeResourcePoliciesInput) (req *request.Request, output *DescribeResourcePoliciesOutput) { @@ -2165,11 +2160,12 @@ func (c *CloudWatchLogs) DescribeResourcePoliciesRequest(input *DescribeResource // API operation DescribeResourcePolicies for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeResourcePolicies func (c *CloudWatchLogs) DescribeResourcePolicies(input *DescribeResourcePoliciesInput) (*DescribeResourcePoliciesOutput, error) { @@ -2209,14 +2205,13 @@ const opDescribeSubscriptionFilters = "DescribeSubscriptionFilters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSubscriptionFiltersRequest method. +// req, resp := client.DescribeSubscriptionFiltersRequest(params) // -// // Example sending a request using the DescribeSubscriptionFiltersRequest method. -// req, resp := client.DescribeSubscriptionFiltersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFilters func (c *CloudWatchLogs) DescribeSubscriptionFiltersRequest(input *DescribeSubscriptionFiltersInput) (req *request.Request, output *DescribeSubscriptionFiltersOutput) { @@ -2255,14 +2250,15 @@ func (c *CloudWatchLogs) DescribeSubscriptionFiltersRequest(input *DescribeSubsc // API operation DescribeSubscriptionFilters for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DescribeSubscriptionFilters func (c *CloudWatchLogs) DescribeSubscriptionFilters(input *DescribeSubscriptionFiltersInput) (*DescribeSubscriptionFiltersOutput, error) { @@ -2294,15 +2290,14 @@ func (c *CloudWatchLogs) DescribeSubscriptionFiltersWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSubscriptionFilters operation. -// pageNum := 0 -// err := client.DescribeSubscriptionFiltersPages(params, -// func(page *cloudwatchlogs.DescribeSubscriptionFiltersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSubscriptionFilters operation. +// pageNum := 0 +// err := client.DescribeSubscriptionFiltersPages(params, +// func(page *cloudwatchlogs.DescribeSubscriptionFiltersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatchLogs) DescribeSubscriptionFiltersPages(input *DescribeSubscriptionFiltersInput, fn func(*DescribeSubscriptionFiltersOutput, bool) bool) error { return c.DescribeSubscriptionFiltersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2355,14 +2350,13 @@ const opDisassociateKmsKey = "DisassociateKmsKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateKmsKeyRequest method. +// req, resp := client.DisassociateKmsKeyRequest(params) // -// // Example sending a request using the DisassociateKmsKeyRequest method. -// req, resp := client.DisassociateKmsKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DisassociateKmsKey func (c *CloudWatchLogs) DisassociateKmsKeyRequest(input *DisassociateKmsKeyInput) (req *request.Request, output *DisassociateKmsKeyOutput) { @@ -2402,17 +2396,18 @@ func (c *CloudWatchLogs) DisassociateKmsKeyRequest(input *DisassociateKmsKeyInpu // API operation DisassociateKmsKey for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * OperationAbortedException -// Multiple concurrent requests to update the same resource were in conflict. +// - OperationAbortedException +// Multiple concurrent requests to update the same resource were in conflict. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/DisassociateKmsKey func (c *CloudWatchLogs) DisassociateKmsKey(input *DisassociateKmsKeyInput) (*DisassociateKmsKeyOutput, error) { @@ -2452,14 +2447,13 @@ const opFilterLogEvents = "FilterLogEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the FilterLogEventsRequest method. +// req, resp := client.FilterLogEventsRequest(params) // -// // Example sending a request using the FilterLogEventsRequest method. -// req, resp := client.FilterLogEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEvents func (c *CloudWatchLogs) FilterLogEventsRequest(input *FilterLogEventsInput) (req *request.Request, output *FilterLogEventsOutput) { @@ -2509,14 +2503,15 @@ func (c *CloudWatchLogs) FilterLogEventsRequest(input *FilterLogEventsInput) (re // API operation FilterLogEvents for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/FilterLogEvents func (c *CloudWatchLogs) FilterLogEvents(input *FilterLogEventsInput) (*FilterLogEventsOutput, error) { @@ -2548,15 +2543,14 @@ func (c *CloudWatchLogs) FilterLogEventsWithContext(ctx aws.Context, input *Filt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a FilterLogEvents operation. -// pageNum := 0 -// err := client.FilterLogEventsPages(params, -// func(page *cloudwatchlogs.FilterLogEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a FilterLogEvents operation. +// pageNum := 0 +// err := client.FilterLogEventsPages(params, +// func(page *cloudwatchlogs.FilterLogEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatchLogs) FilterLogEventsPages(input *FilterLogEventsInput, fn func(*FilterLogEventsOutput, bool) bool) error { return c.FilterLogEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2609,14 +2603,13 @@ const opGetLogEvents = "GetLogEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLogEventsRequest method. +// req, resp := client.GetLogEventsRequest(params) // -// // Example sending a request using the GetLogEventsRequest method. -// req, resp := client.GetLogEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEvents func (c *CloudWatchLogs) GetLogEventsRequest(input *GetLogEventsInput) (req *request.Request, output *GetLogEventsOutput) { @@ -2660,14 +2653,15 @@ func (c *CloudWatchLogs) GetLogEventsRequest(input *GetLogEventsInput) (req *req // API operation GetLogEvents for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogEvents func (c *CloudWatchLogs) GetLogEvents(input *GetLogEventsInput) (*GetLogEventsOutput, error) { @@ -2699,15 +2693,14 @@ func (c *CloudWatchLogs) GetLogEventsWithContext(ctx aws.Context, input *GetLogE // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetLogEvents operation. -// pageNum := 0 -// err := client.GetLogEventsPages(params, -// func(page *cloudwatchlogs.GetLogEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetLogEvents operation. +// pageNum := 0 +// err := client.GetLogEventsPages(params, +// func(page *cloudwatchlogs.GetLogEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatchLogs) GetLogEventsPages(input *GetLogEventsInput, fn func(*GetLogEventsOutput, bool) bool) error { return c.GetLogEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2760,14 +2753,13 @@ const opGetLogGroupFields = "GetLogGroupFields" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLogGroupFieldsRequest method. +// req, resp := client.GetLogGroupFieldsRequest(params) // -// // Example sending a request using the GetLogGroupFieldsRequest method. -// req, resp := client.GetLogGroupFieldsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogGroupFields func (c *CloudWatchLogs) GetLogGroupFieldsRequest(input *GetLogGroupFieldsInput) (req *request.Request, output *GetLogGroupFieldsOutput) { @@ -2808,17 +2800,18 @@ func (c *CloudWatchLogs) GetLogGroupFieldsRequest(input *GetLogGroupFieldsInput) // API operation GetLogGroupFields for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * LimitExceededException -// You have reached the maximum number of resources that can be created. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - LimitExceededException +// You have reached the maximum number of resources that can be created. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogGroupFields func (c *CloudWatchLogs) GetLogGroupFields(input *GetLogGroupFieldsInput) (*GetLogGroupFieldsOutput, error) { @@ -2858,14 +2851,13 @@ const opGetLogRecord = "GetLogRecord" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLogRecordRequest method. +// req, resp := client.GetLogRecordRequest(params) // -// // Example sending a request using the GetLogRecordRequest method. -// req, resp := client.GetLogRecordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogRecord func (c *CloudWatchLogs) GetLogRecordRequest(input *GetLogRecordInput) (req *request.Request, output *GetLogRecordOutput) { @@ -2901,17 +2893,18 @@ func (c *CloudWatchLogs) GetLogRecordRequest(input *GetLogRecordInput) (req *req // API operation GetLogRecord for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * LimitExceededException -// You have reached the maximum number of resources that can be created. +// - InvalidParameterException +// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - LimitExceededException +// You have reached the maximum number of resources that can be created. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogRecord func (c *CloudWatchLogs) GetLogRecord(input *GetLogRecordInput) (*GetLogRecordOutput, error) { @@ -2951,14 +2944,13 @@ const opGetQueryResults = "GetQueryResults" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetQueryResultsRequest method. +// req, resp := client.GetQueryResultsRequest(params) // -// // Example sending a request using the GetQueryResultsRequest method. -// req, resp := client.GetQueryResultsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetQueryResults func (c *CloudWatchLogs) GetQueryResultsRequest(input *GetQueryResultsInput) (req *request.Request, output *GetQueryResultsOutput) { @@ -3001,14 +2993,15 @@ func (c *CloudWatchLogs) GetQueryResultsRequest(input *GetQueryResultsInput) (re // API operation GetQueryResults for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetQueryResults func (c *CloudWatchLogs) GetQueryResults(input *GetQueryResultsInput) (*GetQueryResultsOutput, error) { @@ -3048,14 +3041,13 @@ const opListTagsLogGroup = "ListTagsLogGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsLogGroupRequest method. +// req, resp := client.ListTagsLogGroupRequest(params) // -// // Example sending a request using the ListTagsLogGroupRequest method. -// req, resp := client.ListTagsLogGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroup func (c *CloudWatchLogs) ListTagsLogGroupRequest(input *ListTagsLogGroupInput) (req *request.Request, output *ListTagsLogGroupOutput) { @@ -3086,11 +3078,12 @@ func (c *CloudWatchLogs) ListTagsLogGroupRequest(input *ListTagsLogGroupInput) ( // API operation ListTagsLogGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/ListTagsLogGroup func (c *CloudWatchLogs) ListTagsLogGroup(input *ListTagsLogGroupInput) (*ListTagsLogGroupOutput, error) { @@ -3130,14 +3123,13 @@ const opPutDestination = "PutDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDestinationRequest method. +// req, resp := client.PutDestinationRequest(params) // -// // Example sending a request using the PutDestinationRequest method. -// req, resp := client.PutDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestination func (c *CloudWatchLogs) PutDestinationRequest(input *PutDestinationInput) (req *request.Request, output *PutDestinationOutput) { @@ -3183,14 +3175,15 @@ func (c *CloudWatchLogs) PutDestinationRequest(input *PutDestinationInput) (req // API operation PutDestination for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * OperationAbortedException -// Multiple concurrent requests to update the same resource were in conflict. +// - InvalidParameterException +// A parameter is specified incorrectly. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - OperationAbortedException +// Multiple concurrent requests to update the same resource were in conflict. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestination func (c *CloudWatchLogs) PutDestination(input *PutDestinationInput) (*PutDestinationOutput, error) { @@ -3230,14 +3223,13 @@ const opPutDestinationPolicy = "PutDestinationPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDestinationPolicyRequest method. +// req, resp := client.PutDestinationPolicyRequest(params) // -// // Example sending a request using the PutDestinationPolicyRequest method. -// req, resp := client.PutDestinationPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicy func (c *CloudWatchLogs) PutDestinationPolicyRequest(input *PutDestinationPolicyInput) (req *request.Request, output *PutDestinationPolicyOutput) { @@ -3277,14 +3269,15 @@ func (c *CloudWatchLogs) PutDestinationPolicyRequest(input *PutDestinationPolicy // API operation PutDestinationPolicy for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * OperationAbortedException -// Multiple concurrent requests to update the same resource were in conflict. +// - InvalidParameterException +// A parameter is specified incorrectly. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - OperationAbortedException +// Multiple concurrent requests to update the same resource were in conflict. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutDestinationPolicy func (c *CloudWatchLogs) PutDestinationPolicy(input *PutDestinationPolicyInput) (*PutDestinationPolicyOutput, error) { @@ -3324,14 +3317,13 @@ const opPutLogEvents = "PutLogEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutLogEventsRequest method. +// req, resp := client.PutLogEventsRequest(params) // -// // Example sending a request using the PutLogEventsRequest method. -// req, resp := client.PutLogEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEvents func (c *CloudWatchLogs) PutLogEventsRequest(input *PutLogEventsInput) (req *request.Request, output *PutLogEventsOutput) { @@ -3363,29 +3355,29 @@ func (c *CloudWatchLogs) PutLogEventsRequest(input *PutLogEventsInput) (req *req // // The batch of events must satisfy the following constraints: // -// * The maximum batch size is 1,048,576 bytes. This size is calculated as -// the sum of all event messages in UTF-8, plus 26 bytes for each log event. +// - The maximum batch size is 1,048,576 bytes. This size is calculated as +// the sum of all event messages in UTF-8, plus 26 bytes for each log event. // -// * None of the log events in the batch can be more than 2 hours in the -// future. +// - None of the log events in the batch can be more than 2 hours in the +// future. // -// * None of the log events in the batch can be older than 14 days or older -// than the retention period of the log group. +// - None of the log events in the batch can be older than 14 days or older +// than the retention period of the log group. // -// * The log events in the batch must be in chronological order by their -// timestamp. The timestamp is the time the event occurred, expressed as -// the number of milliseconds after Jan 1, 1970 00:00:00 UTC. (In Amazon -// Web Services Tools for PowerShell and the Amazon Web Services SDK for -// .NET, the timestamp is specified in .NET format: yyyy-mm-ddThh:mm:ss. -// For example, 2017-09-15T13:45:30.) +// - The log events in the batch must be in chronological order by their +// timestamp. The timestamp is the time the event occurred, expressed as +// the number of milliseconds after Jan 1, 1970 00:00:00 UTC. (In Amazon +// Web Services Tools for PowerShell and the Amazon Web Services SDK for +// .NET, the timestamp is specified in .NET format: yyyy-mm-ddThh:mm:ss. +// For example, 2017-09-15T13:45:30.) // -// * A batch of log events in a single request cannot span more than 24 hours. -// Otherwise, the operation fails. +// - A batch of log events in a single request cannot span more than 24 hours. +// Otherwise, the operation fails. // -// * The maximum number of log events in a batch is 10,000. +// - The maximum number of log events in a batch is 10,000. // -// * There is a quota of 5 requests per second per log stream. Additional -// requests are throttled. This quota can't be changed. +// - There is a quota of 5 requests per second per log stream. Additional +// requests are throttled. This quota can't be changed. // // If a call to PutLogEvents returns "UnrecognizedClientException" the most // likely cause is an invalid Amazon Web Services access key ID or secret key. @@ -3398,25 +3390,26 @@ func (c *CloudWatchLogs) PutLogEventsRequest(input *PutLogEventsInput) (req *req // API operation PutLogEvents for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * InvalidSequenceTokenException -// The sequence token is not valid. You can get the correct sequence token in -// the expectedSequenceToken field in the InvalidSequenceTokenException message. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - InvalidSequenceTokenException +// The sequence token is not valid. You can get the correct sequence token in +// the expectedSequenceToken field in the InvalidSequenceTokenException message. // -// * DataAlreadyAcceptedException -// The event was already logged. +// - DataAlreadyAcceptedException +// The event was already logged. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // -// * UnrecognizedClientException -// The most likely cause is an invalid Amazon Web Services access key ID or -// secret key. +// - UnrecognizedClientException +// The most likely cause is an invalid Amazon Web Services access key ID or +// secret key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutLogEvents func (c *CloudWatchLogs) PutLogEvents(input *PutLogEventsInput) (*PutLogEventsOutput, error) { @@ -3456,14 +3449,13 @@ const opPutMetricFilter = "PutMetricFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutMetricFilterRequest method. +// req, resp := client.PutMetricFilterRequest(params) // -// // Example sending a request using the PutMetricFilterRequest method. -// req, resp := client.PutMetricFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilter func (c *CloudWatchLogs) PutMetricFilterRequest(input *PutMetricFilterInput) (req *request.Request, output *PutMetricFilterOutput) { @@ -3516,20 +3508,21 @@ func (c *CloudWatchLogs) PutMetricFilterRequest(input *PutMetricFilterInput) (re // API operation PutMetricFilter for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * OperationAbortedException -// Multiple concurrent requests to update the same resource were in conflict. +// - OperationAbortedException +// Multiple concurrent requests to update the same resource were in conflict. // -// * LimitExceededException -// You have reached the maximum number of resources that can be created. +// - LimitExceededException +// You have reached the maximum number of resources that can be created. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutMetricFilter func (c *CloudWatchLogs) PutMetricFilter(input *PutMetricFilterInput) (*PutMetricFilterOutput, error) { @@ -3569,14 +3562,13 @@ const opPutQueryDefinition = "PutQueryDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutQueryDefinitionRequest method. +// req, resp := client.PutQueryDefinitionRequest(params) // -// // Example sending a request using the PutQueryDefinitionRequest method. -// req, resp := client.PutQueryDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutQueryDefinition func (c *CloudWatchLogs) PutQueryDefinitionRequest(input *PutQueryDefinitionInput) (req *request.Request, output *PutQueryDefinitionOutput) { @@ -3619,17 +3611,18 @@ func (c *CloudWatchLogs) PutQueryDefinitionRequest(input *PutQueryDefinitionInpu // API operation PutQueryDefinition for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * LimitExceededException -// You have reached the maximum number of resources that can be created. +// - InvalidParameterException +// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - LimitExceededException +// You have reached the maximum number of resources that can be created. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutQueryDefinition func (c *CloudWatchLogs) PutQueryDefinition(input *PutQueryDefinitionInput) (*PutQueryDefinitionOutput, error) { @@ -3669,14 +3662,13 @@ const opPutResourcePolicy = "PutResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutResourcePolicyRequest method. +// req, resp := client.PutResourcePolicyRequest(params) // -// // Example sending a request using the PutResourcePolicyRequest method. -// req, resp := client.PutResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutResourcePolicy func (c *CloudWatchLogs) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { @@ -3709,14 +3701,15 @@ func (c *CloudWatchLogs) PutResourcePolicyRequest(input *PutResourcePolicyInput) // API operation PutResourcePolicy for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * LimitExceededException -// You have reached the maximum number of resources that can be created. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - LimitExceededException +// You have reached the maximum number of resources that can be created. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutResourcePolicy func (c *CloudWatchLogs) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { @@ -3756,14 +3749,13 @@ const opPutRetentionPolicy = "PutRetentionPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRetentionPolicyRequest method. +// req, resp := client.PutRetentionPolicyRequest(params) // -// // Example sending a request using the PutRetentionPolicyRequest method. -// req, resp := client.PutRetentionPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicy func (c *CloudWatchLogs) PutRetentionPolicyRequest(input *PutRetentionPolicyInput) (req *request.Request, output *PutRetentionPolicyOutput) { @@ -3797,17 +3789,18 @@ func (c *CloudWatchLogs) PutRetentionPolicyRequest(input *PutRetentionPolicyInpu // API operation PutRetentionPolicy for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * OperationAbortedException -// Multiple concurrent requests to update the same resource were in conflict. +// - OperationAbortedException +// Multiple concurrent requests to update the same resource were in conflict. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutRetentionPolicy func (c *CloudWatchLogs) PutRetentionPolicy(input *PutRetentionPolicyInput) (*PutRetentionPolicyOutput, error) { @@ -3847,14 +3840,13 @@ const opPutSubscriptionFilter = "PutSubscriptionFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutSubscriptionFilterRequest method. +// req, resp := client.PutSubscriptionFilterRequest(params) // -// // Example sending a request using the PutSubscriptionFilterRequest method. -// req, resp := client.PutSubscriptionFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilter func (c *CloudWatchLogs) PutSubscriptionFilterRequest(input *PutSubscriptionFilterInput) (req *request.Request, output *PutSubscriptionFilterOutput) { @@ -3885,17 +3877,17 @@ func (c *CloudWatchLogs) PutSubscriptionFilterRequest(input *PutSubscriptionFilt // // The following destinations are supported for subscription filters: // -// * An Amazon Kinesis stream belonging to the same account as the subscription -// filter, for same-account delivery. +// - An Amazon Kinesis stream belonging to the same account as the subscription +// filter, for same-account delivery. // -// * A logical destination that belongs to a different account, for cross-account -// delivery. +// - A logical destination that belongs to a different account, for cross-account +// delivery. // -// * An Amazon Kinesis Firehose delivery stream that belongs to the same -// account as the subscription filter, for same-account delivery. +// - An Amazon Kinesis Firehose delivery stream that belongs to the same +// account as the subscription filter, for same-account delivery. // -// * An Lambda function that belongs to the same account as the subscription -// filter, for same-account delivery. +// - An Lambda function that belongs to the same account as the subscription +// filter, for same-account delivery. // // Each log group can have up to two subscription filters associated with it. // If you are updating an existing filter, you must specify the correct name @@ -3912,20 +3904,21 @@ func (c *CloudWatchLogs) PutSubscriptionFilterRequest(input *PutSubscriptionFilt // API operation PutSubscriptionFilter for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * OperationAbortedException -// Multiple concurrent requests to update the same resource were in conflict. +// - OperationAbortedException +// Multiple concurrent requests to update the same resource were in conflict. // -// * LimitExceededException -// You have reached the maximum number of resources that can be created. +// - LimitExceededException +// You have reached the maximum number of resources that can be created. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/PutSubscriptionFilter func (c *CloudWatchLogs) PutSubscriptionFilter(input *PutSubscriptionFilterInput) (*PutSubscriptionFilterOutput, error) { @@ -3965,14 +3958,13 @@ const opStartQuery = "StartQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartQueryRequest method. +// req, resp := client.StartQueryRequest(params) // -// // Example sending a request using the StartQueryRequest method. -// req, resp := client.StartQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/StartQuery func (c *CloudWatchLogs) StartQueryRequest(input *StartQueryInput) (req *request.Request, output *StartQueryOutput) { @@ -4010,24 +4002,25 @@ func (c *CloudWatchLogs) StartQueryRequest(input *StartQueryInput) (req *request // API operation StartQuery for usage and error information. // // Returned Error Types: -// * MalformedQueryException -// The query string is not valid. Details about this error are displayed in -// a QueryCompileError object. For more information, see QueryCompileError (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_QueryCompileError.html). // -// For more information about valid query syntax, see CloudWatch Logs Insights -// Query Syntax (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html). +// - MalformedQueryException +// The query string is not valid. Details about this error are displayed in +// a QueryCompileError object. For more information, see QueryCompileError (https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_QueryCompileError.html). // -// * InvalidParameterException -// A parameter is specified incorrectly. +// For more information about valid query syntax, see CloudWatch Logs Insights +// Query Syntax (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html). // -// * LimitExceededException -// You have reached the maximum number of resources that can be created. +// - InvalidParameterException +// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - LimitExceededException +// You have reached the maximum number of resources that can be created. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/StartQuery func (c *CloudWatchLogs) StartQuery(input *StartQueryInput) (*StartQueryOutput, error) { @@ -4067,14 +4060,13 @@ const opStopQuery = "StopQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopQueryRequest method. +// req, resp := client.StopQueryRequest(params) // -// // Example sending a request using the StopQueryRequest method. -// req, resp := client.StopQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/StopQuery func (c *CloudWatchLogs) StopQueryRequest(input *StopQueryInput) (req *request.Request, output *StopQueryOutput) { @@ -4107,14 +4099,15 @@ func (c *CloudWatchLogs) StopQueryRequest(input *StopQueryInput) (req *request.R // API operation StopQuery for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/StopQuery func (c *CloudWatchLogs) StopQuery(input *StopQueryInput) (*StopQueryOutput, error) { @@ -4154,14 +4147,13 @@ const opTagLogGroup = "TagLogGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagLogGroupRequest method. +// req, resp := client.TagLogGroupRequest(params) // -// // Example sending a request using the TagLogGroupRequest method. -// req, resp := client.TagLogGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroup func (c *CloudWatchLogs) TagLogGroupRequest(input *TagLogGroupInput) (req *request.Request, output *TagLogGroupOutput) { @@ -4205,11 +4197,12 @@ func (c *CloudWatchLogs) TagLogGroupRequest(input *TagLogGroupInput) (req *reque // API operation TagLogGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter is specified incorrectly. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter is specified incorrectly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TagLogGroup func (c *CloudWatchLogs) TagLogGroup(input *TagLogGroupInput) (*TagLogGroupOutput, error) { @@ -4249,14 +4242,13 @@ const opTestMetricFilter = "TestMetricFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestMetricFilterRequest method. +// req, resp := client.TestMetricFilterRequest(params) // -// // Example sending a request using the TestMetricFilterRequest method. -// req, resp := client.TestMetricFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilter func (c *CloudWatchLogs) TestMetricFilterRequest(input *TestMetricFilterInput) (req *request.Request, output *TestMetricFilterOutput) { @@ -4289,11 +4281,12 @@ func (c *CloudWatchLogs) TestMetricFilterRequest(input *TestMetricFilterInput) ( // API operation TestMetricFilter for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is specified incorrectly. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - InvalidParameterException +// A parameter is specified incorrectly. +// +// - ServiceUnavailableException +// The service cannot complete the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/TestMetricFilter func (c *CloudWatchLogs) TestMetricFilter(input *TestMetricFilterInput) (*TestMetricFilterOutput, error) { @@ -4333,14 +4326,13 @@ const opUntagLogGroup = "UntagLogGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagLogGroupRequest method. +// req, resp := client.UntagLogGroupRequest(params) // -// // Example sending a request using the UntagLogGroupRequest method. -// req, resp := client.UntagLogGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroup func (c *CloudWatchLogs) UntagLogGroupRequest(input *UntagLogGroupInput) (req *request.Request, output *UntagLogGroupOutput) { @@ -4379,8 +4371,8 @@ func (c *CloudWatchLogs) UntagLogGroupRequest(input *UntagLogGroupInput) (req *r // API operation UntagLogGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/UntagLogGroup func (c *CloudWatchLogs) UntagLogGroup(input *UntagLogGroupInput) (*UntagLogGroupOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/cloudwatchlogsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/cloudwatchlogsiface/interface.go index 0f1faee2eff4..42cb1a5bc9a6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/cloudwatchlogsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/cloudwatchlogsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon CloudWatch Logs. -// func myFunc(svc cloudwatchlogsiface.CloudWatchLogsAPI) bool { -// // Make svc.AssociateKmsKey request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon CloudWatch Logs. +// func myFunc(svc cloudwatchlogsiface.CloudWatchLogsAPI) bool { +// // Make svc.AssociateKmsKey request +// } // -// func main() { -// sess := session.New() -// svc := cloudwatchlogs.New(sess) +// func main() { +// sess := session.New() +// svc := cloudwatchlogs.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCloudWatchLogsClient struct { -// cloudwatchlogsiface.CloudWatchLogsAPI -// } -// func (m *mockCloudWatchLogsClient) AssociateKmsKey(input *cloudwatchlogs.AssociateKmsKeyInput) (*cloudwatchlogs.AssociateKmsKeyOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCloudWatchLogsClient struct { +// cloudwatchlogsiface.CloudWatchLogsAPI +// } +// func (m *mockCloudWatchLogsClient) AssociateKmsKey(input *cloudwatchlogs.AssociateKmsKeyInput) (*cloudwatchlogs.AssociateKmsKeyOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCloudWatchLogsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCloudWatchLogsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/doc.go index 2c26e3ed2049..6c23cd5a20f3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/doc.go @@ -11,35 +11,35 @@ // // You can use CloudWatch Logs to: // -// * Monitor logs from EC2 instances in real-time: You can use CloudWatch -// Logs to monitor applications and systems using log data. For example, -// CloudWatch Logs can track the number of errors that occur in your application -// logs and send you a notification whenever the rate of errors exceeds a -// threshold that you specify. CloudWatch Logs uses your log data for monitoring -// so no code changes are required. For example, you can monitor application -// logs for specific literal terms (such as "NullReferenceException") or -// count the number of occurrences of a literal term at a particular position -// in log data (such as "404" status codes in an Apache access log). When -// the term you are searching for is found, CloudWatch Logs reports the data -// to a CloudWatch metric that you specify. -// -// * Monitor CloudTrail logged events: You can create alarms in CloudWatch -// and receive notifications of particular API activity as captured by CloudTrail. -// You can use the notification to perform troubleshooting. -// -// * Archive log data: You can use CloudWatch Logs to store your log data -// in highly durable storage. You can change the log retention setting so -// that any log events older than this setting are automatically deleted. -// The CloudWatch Logs agent makes it easy to quickly send both rotated and -// non-rotated log data off of a host and into the log service. You can then -// access the raw log data when you need it. +// - Monitor logs from EC2 instances in real-time: You can use CloudWatch +// Logs to monitor applications and systems using log data. For example, +// CloudWatch Logs can track the number of errors that occur in your application +// logs and send you a notification whenever the rate of errors exceeds a +// threshold that you specify. CloudWatch Logs uses your log data for monitoring +// so no code changes are required. For example, you can monitor application +// logs for specific literal terms (such as "NullReferenceException") or +// count the number of occurrences of a literal term at a particular position +// in log data (such as "404" status codes in an Apache access log). When +// the term you are searching for is found, CloudWatch Logs reports the data +// to a CloudWatch metric that you specify. +// +// - Monitor CloudTrail logged events: You can create alarms in CloudWatch +// and receive notifications of particular API activity as captured by CloudTrail. +// You can use the notification to perform troubleshooting. +// +// - Archive log data: You can use CloudWatch Logs to store your log data +// in highly durable storage. You can change the log retention setting so +// that any log events older than this setting are automatically deleted. +// The CloudWatch Logs agent makes it easy to quickly send both rotated and +// non-rotated log data off of a host and into the log service. You can then +// access the raw log data when you need it. // // See https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28 for more information on this service. // // See cloudwatchlogs package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cloudwatchlogs/ // -// Using the Client +// # Using the Client // // To contact Amazon CloudWatch Logs with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/service.go index b7b12b15e4fb..7105f94640ee 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchlogs/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CloudWatchLogs client from just a session. -// svc := cloudwatchlogs.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CloudWatchLogs client with additional configuration -// svc := cloudwatchlogs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CloudWatchLogs client from just a session. +// svc := cloudwatchlogs.New(mySession) +// +// // Create a CloudWatchLogs client with additional configuration +// svc := cloudwatchlogs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudWatchLogs { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/api.go index 7ad166cd1197..910844acf38c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/api.go @@ -29,14 +29,13 @@ const opCreateAppMonitor = "CreateAppMonitor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppMonitorRequest method. +// req, resp := client.CreateAppMonitorRequest(params) // -// // Example sending a request using the CreateAppMonitorRequest method. -// req, resp := client.CreateAppMonitorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/CreateAppMonitor func (c *CloudWatchRUM) CreateAppMonitorRequest(input *CreateAppMonitorInput) (req *request.Request, output *CreateAppMonitorOutput) { @@ -79,23 +78,24 @@ func (c *CloudWatchRUM) CreateAppMonitorRequest(input *CreateAppMonitorInput) (r // API operation CreateAppMonitor for usage and error information. // // Returned Error Types: -// * ConflictException -// This operation attempted to create a resource that already exists. // -// * ServiceQuotaExceededException -// This request exceeds a service quota. +// - ConflictException +// This operation attempted to create a resource that already exists. +// +// - ServiceQuotaExceededException +// This request exceeds a service quota. // -// * InternalServerException -// Internal service exception. +// - InternalServerException +// Internal service exception. // -// * ValidationException -// One of the arguments for the request is not valid. +// - ValidationException +// One of the arguments for the request is not valid. // -// * ThrottlingException -// The request was throttled because of quota limits. +// - ThrottlingException +// The request was throttled because of quota limits. // -// * AccessDeniedException -// You don't have sufficient permissions to perform this action. +// - AccessDeniedException +// You don't have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/CreateAppMonitor func (c *CloudWatchRUM) CreateAppMonitor(input *CreateAppMonitorInput) (*CreateAppMonitorOutput, error) { @@ -135,14 +135,13 @@ const opDeleteAppMonitor = "DeleteAppMonitor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppMonitorRequest method. +// req, resp := client.DeleteAppMonitorRequest(params) // -// // Example sending a request using the DeleteAppMonitorRequest method. -// req, resp := client.DeleteAppMonitorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/DeleteAppMonitor func (c *CloudWatchRUM) DeleteAppMonitorRequest(input *DeleteAppMonitorInput) (req *request.Request, output *DeleteAppMonitorOutput) { @@ -175,23 +174,24 @@ func (c *CloudWatchRUM) DeleteAppMonitorRequest(input *DeleteAppMonitorInput) (r // API operation DeleteAppMonitor for usage and error information. // // Returned Error Types: -// * ConflictException -// This operation attempted to create a resource that already exists. // -// * ResourceNotFoundException -// Resource not found. +// - ConflictException +// This operation attempted to create a resource that already exists. // -// * InternalServerException -// Internal service exception. +// - ResourceNotFoundException +// Resource not found. // -// * ValidationException -// One of the arguments for the request is not valid. +// - InternalServerException +// Internal service exception. // -// * ThrottlingException -// The request was throttled because of quota limits. +// - ValidationException +// One of the arguments for the request is not valid. // -// * AccessDeniedException -// You don't have sufficient permissions to perform this action. +// - ThrottlingException +// The request was throttled because of quota limits. +// +// - AccessDeniedException +// You don't have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/DeleteAppMonitor func (c *CloudWatchRUM) DeleteAppMonitor(input *DeleteAppMonitorInput) (*DeleteAppMonitorOutput, error) { @@ -231,14 +231,13 @@ const opGetAppMonitor = "GetAppMonitor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAppMonitorRequest method. +// req, resp := client.GetAppMonitorRequest(params) // -// // Example sending a request using the GetAppMonitorRequest method. -// req, resp := client.GetAppMonitorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/GetAppMonitor func (c *CloudWatchRUM) GetAppMonitorRequest(input *GetAppMonitorInput) (req *request.Request, output *GetAppMonitorOutput) { @@ -269,20 +268,21 @@ func (c *CloudWatchRUM) GetAppMonitorRequest(input *GetAppMonitorInput) (req *re // API operation GetAppMonitor for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found. // -// * InternalServerException -// Internal service exception. +// - ResourceNotFoundException +// Resource not found. +// +// - InternalServerException +// Internal service exception. // -// * ValidationException -// One of the arguments for the request is not valid. +// - ValidationException +// One of the arguments for the request is not valid. // -// * ThrottlingException -// The request was throttled because of quota limits. +// - ThrottlingException +// The request was throttled because of quota limits. // -// * AccessDeniedException -// You don't have sufficient permissions to perform this action. +// - AccessDeniedException +// You don't have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/GetAppMonitor func (c *CloudWatchRUM) GetAppMonitor(input *GetAppMonitorInput) (*GetAppMonitorOutput, error) { @@ -322,14 +322,13 @@ const opGetAppMonitorData = "GetAppMonitorData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAppMonitorDataRequest method. +// req, resp := client.GetAppMonitorDataRequest(params) // -// // Example sending a request using the GetAppMonitorDataRequest method. -// req, resp := client.GetAppMonitorDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/GetAppMonitorData func (c *CloudWatchRUM) GetAppMonitorDataRequest(input *GetAppMonitorDataInput) (req *request.Request, output *GetAppMonitorDataOutput) { @@ -367,20 +366,21 @@ func (c *CloudWatchRUM) GetAppMonitorDataRequest(input *GetAppMonitorDataInput) // API operation GetAppMonitorData for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found. // -// * InternalServerException -// Internal service exception. +// - ResourceNotFoundException +// Resource not found. +// +// - InternalServerException +// Internal service exception. // -// * ValidationException -// One of the arguments for the request is not valid. +// - ValidationException +// One of the arguments for the request is not valid. // -// * ThrottlingException -// The request was throttled because of quota limits. +// - ThrottlingException +// The request was throttled because of quota limits. // -// * AccessDeniedException -// You don't have sufficient permissions to perform this action. +// - AccessDeniedException +// You don't have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/GetAppMonitorData func (c *CloudWatchRUM) GetAppMonitorData(input *GetAppMonitorDataInput) (*GetAppMonitorDataOutput, error) { @@ -412,15 +412,14 @@ func (c *CloudWatchRUM) GetAppMonitorDataWithContext(ctx aws.Context, input *Get // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetAppMonitorData operation. -// pageNum := 0 -// err := client.GetAppMonitorDataPages(params, -// func(page *cloudwatchrum.GetAppMonitorDataOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetAppMonitorData operation. +// pageNum := 0 +// err := client.GetAppMonitorDataPages(params, +// func(page *cloudwatchrum.GetAppMonitorDataOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatchRUM) GetAppMonitorDataPages(input *GetAppMonitorDataInput, fn func(*GetAppMonitorDataOutput, bool) bool) error { return c.GetAppMonitorDataPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -472,14 +471,13 @@ const opListAppMonitors = "ListAppMonitors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppMonitorsRequest method. +// req, resp := client.ListAppMonitorsRequest(params) // -// // Example sending a request using the ListAppMonitorsRequest method. -// req, resp := client.ListAppMonitorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/ListAppMonitors func (c *CloudWatchRUM) ListAppMonitorsRequest(input *ListAppMonitorsInput) (req *request.Request, output *ListAppMonitorsOutput) { @@ -516,17 +514,18 @@ func (c *CloudWatchRUM) ListAppMonitorsRequest(input *ListAppMonitorsInput) (req // API operation ListAppMonitors for usage and error information. // // Returned Error Types: -// * InternalServerException -// Internal service exception. // -// * ValidationException -// One of the arguments for the request is not valid. +// - InternalServerException +// Internal service exception. +// +// - ValidationException +// One of the arguments for the request is not valid. // -// * ThrottlingException -// The request was throttled because of quota limits. +// - ThrottlingException +// The request was throttled because of quota limits. // -// * AccessDeniedException -// You don't have sufficient permissions to perform this action. +// - AccessDeniedException +// You don't have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/ListAppMonitors func (c *CloudWatchRUM) ListAppMonitors(input *ListAppMonitorsInput) (*ListAppMonitorsOutput, error) { @@ -558,15 +557,14 @@ func (c *CloudWatchRUM) ListAppMonitorsWithContext(ctx aws.Context, input *ListA // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppMonitors operation. -// pageNum := 0 -// err := client.ListAppMonitorsPages(params, -// func(page *cloudwatchrum.ListAppMonitorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppMonitors operation. +// pageNum := 0 +// err := client.ListAppMonitorsPages(params, +// func(page *cloudwatchrum.ListAppMonitorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CloudWatchRUM) ListAppMonitorsPages(input *ListAppMonitorsInput, fn func(*ListAppMonitorsOutput, bool) bool) error { return c.ListAppMonitorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -618,14 +616,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/ListTagsForResource func (c *CloudWatchRUM) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -656,14 +653,15 @@ func (c *CloudWatchRUM) ListTagsForResourceRequest(input *ListTagsForResourceInp // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found. // -// * InternalServerException -// Internal service exception. +// - ResourceNotFoundException +// Resource not found. +// +// - InternalServerException +// Internal service exception. // -// * ValidationException -// One of the arguments for the request is not valid. +// - ValidationException +// One of the arguments for the request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/ListTagsForResource func (c *CloudWatchRUM) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -703,14 +701,13 @@ const opPutRumEvents = "PutRumEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRumEventsRequest method. +// req, resp := client.PutRumEventsRequest(params) // -// // Example sending a request using the PutRumEventsRequest method. -// req, resp := client.PutRumEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PutRumEvents func (c *CloudWatchRUM) PutRumEventsRequest(input *PutRumEventsInput) (req *request.Request, output *PutRumEventsOutput) { @@ -748,20 +745,21 @@ func (c *CloudWatchRUM) PutRumEventsRequest(input *PutRumEventsInput) (req *requ // API operation PutRumEvents for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found. // -// * InternalServerException -// Internal service exception. +// - ResourceNotFoundException +// Resource not found. +// +// - InternalServerException +// Internal service exception. // -// * ValidationException -// One of the arguments for the request is not valid. +// - ValidationException +// One of the arguments for the request is not valid. // -// * ThrottlingException -// The request was throttled because of quota limits. +// - ThrottlingException +// The request was throttled because of quota limits. // -// * AccessDeniedException -// You don't have sufficient permissions to perform this action. +// - AccessDeniedException +// You don't have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/PutRumEvents func (c *CloudWatchRUM) PutRumEvents(input *PutRumEventsInput) (*PutRumEventsOutput, error) { @@ -801,14 +799,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/TagResource func (c *CloudWatchRUM) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -858,14 +855,15 @@ func (c *CloudWatchRUM) TagResourceRequest(input *TagResourceInput) (req *reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found. // -// * InternalServerException -// Internal service exception. +// - ResourceNotFoundException +// Resource not found. // -// * ValidationException -// One of the arguments for the request is not valid. +// - InternalServerException +// Internal service exception. +// +// - ValidationException +// One of the arguments for the request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/TagResource func (c *CloudWatchRUM) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -905,14 +903,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/UntagResource func (c *CloudWatchRUM) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -944,14 +941,15 @@ func (c *CloudWatchRUM) UntagResourceRequest(input *UntagResourceInput) (req *re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found. // -// * InternalServerException -// Internal service exception. +// - ResourceNotFoundException +// Resource not found. +// +// - InternalServerException +// Internal service exception. // -// * ValidationException -// One of the arguments for the request is not valid. +// - ValidationException +// One of the arguments for the request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/UntagResource func (c *CloudWatchRUM) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -991,14 +989,13 @@ const opUpdateAppMonitor = "UpdateAppMonitor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAppMonitorRequest method. +// req, resp := client.UpdateAppMonitorRequest(params) // -// // Example sending a request using the UpdateAppMonitorRequest method. -// req, resp := client.UpdateAppMonitorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/UpdateAppMonitor func (c *CloudWatchRUM) UpdateAppMonitorRequest(input *UpdateAppMonitorInput) (req *request.Request, output *UpdateAppMonitorOutput) { @@ -1043,23 +1040,24 @@ func (c *CloudWatchRUM) UpdateAppMonitorRequest(input *UpdateAppMonitorInput) (r // API operation UpdateAppMonitor for usage and error information. // // Returned Error Types: -// * ConflictException -// This operation attempted to create a resource that already exists. // -// * ResourceNotFoundException -// Resource not found. +// - ConflictException +// This operation attempted to create a resource that already exists. +// +// - ResourceNotFoundException +// Resource not found. // -// * InternalServerException -// Internal service exception. +// - InternalServerException +// Internal service exception. // -// * ValidationException -// One of the arguments for the request is not valid. +// - ValidationException +// One of the arguments for the request is not valid. // -// * ThrottlingException -// The request was throttled because of quota limits. +// - ThrottlingException +// The request was throttled because of quota limits. // -// * AccessDeniedException -// You don't have sufficient permissions to perform this action. +// - AccessDeniedException +// You don't have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10/UpdateAppMonitor func (c *CloudWatchRUM) UpdateAppMonitor(input *UpdateAppMonitorInput) (*UpdateAppMonitorOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/cloudwatchrumiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/cloudwatchrumiface/interface.go index 0ed16a1bc0b0..975753fe49ed 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/cloudwatchrumiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/cloudwatchrumiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // CloudWatch RUM. -// func myFunc(svc cloudwatchrumiface.CloudWatchRUMAPI) bool { -// // Make svc.CreateAppMonitor request -// } +// // myFunc uses an SDK service client to make a request to +// // CloudWatch RUM. +// func myFunc(svc cloudwatchrumiface.CloudWatchRUMAPI) bool { +// // Make svc.CreateAppMonitor request +// } // -// func main() { -// sess := session.New() -// svc := cloudwatchrum.New(sess) +// func main() { +// sess := session.New() +// svc := cloudwatchrum.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCloudWatchRUMClient struct { -// cloudwatchrumiface.CloudWatchRUMAPI -// } -// func (m *mockCloudWatchRUMClient) CreateAppMonitor(input *cloudwatchrum.CreateAppMonitorInput) (*cloudwatchrum.CreateAppMonitorOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCloudWatchRUMClient struct { +// cloudwatchrumiface.CloudWatchRUMAPI +// } +// func (m *mockCloudWatchRUMClient) CreateAppMonitor(input *cloudwatchrum.CreateAppMonitorInput) (*cloudwatchrum.CreateAppMonitorOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCloudWatchRUMClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCloudWatchRUMClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/doc.go index 30dccd73960b..3fde690e9789 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/doc.go @@ -10,19 +10,19 @@ // together and also see breakdowns by the browsers and devices that your customers // use. // -//

You can use the collected data to quickly identify and debug client-side -// performance issues. CloudWatch RUM helps you visualize anomalies in your -// application performance and find relevant debugging data such as error -// messages, stack traces, and user sessions. You can also use RUM to understand -// the range of end-user impact including the number of users, geolocations, -// and browsers used.

+//

You can use the collected data to quickly identify and debug client-side +// performance issues. CloudWatch RUM helps you visualize anomalies in your +// application performance and find relevant debugging data such as error +// messages, stack traces, and user sessions. You can also use RUM to understand +// the range of end-user impact including the number of users, geolocations, +// and browsers used.

// // See https://docs.aws.amazon.com/goto/WebAPI/rum-2018-05-10 for more information on this service. // // See cloudwatchrum package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cloudwatchrum/ // -// Using the Client +// # Using the Client // // To contact CloudWatch RUM with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/service.go index 436667a5afc1..9b96b89c6fd7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cloudwatchrum/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CloudWatchRUM client from just a session. -// svc := cloudwatchrum.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CloudWatchRUM client with additional configuration -// svc := cloudwatchrum.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CloudWatchRUM client from just a session. +// svc := cloudwatchrum.New(mySession) +// +// // Create a CloudWatchRUM client with additional configuration +// svc := cloudwatchrum.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CloudWatchRUM { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/api.go index c7fda67abca8..de5c924a9b4e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/api.go @@ -30,14 +30,13 @@ const opAssociateExternalConnection = "AssociateExternalConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateExternalConnectionRequest method. +// req, resp := client.AssociateExternalConnectionRequest(params) // -// // Example sending a request using the AssociateExternalConnectionRequest method. -// req, resp := client.AssociateExternalConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/AssociateExternalConnection func (c *CodeArtifact) AssociateExternalConnectionRequest(input *AssociateExternalConnectionInput) (req *request.Request, output *AssociateExternalConnectionOutput) { @@ -71,30 +70,31 @@ func (c *CodeArtifact) AssociateExternalConnectionRequest(input *AssociateExtern // API operation AssociateExternalConnection for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ServiceQuotaExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. +// - ServiceQuotaExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/AssociateExternalConnection func (c *CodeArtifact) AssociateExternalConnection(input *AssociateExternalConnectionInput) (*AssociateExternalConnectionOutput, error) { @@ -134,14 +134,13 @@ const opCopyPackageVersions = "CopyPackageVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyPackageVersionsRequest method. +// req, resp := client.CopyPackageVersionsRequest(params) // -// // Example sending a request using the CopyPackageVersionsRequest method. -// req, resp := client.CopyPackageVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CopyPackageVersions func (c *CodeArtifact) CopyPackageVersionsRequest(input *CopyPackageVersionsInput) (req *request.Request, output *CopyPackageVersionsOutput) { @@ -175,30 +174,31 @@ func (c *CodeArtifact) CopyPackageVersionsRequest(input *CopyPackageVersionsInpu // API operation CopyPackageVersions for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ServiceQuotaExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ServiceQuotaExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. +// +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CopyPackageVersions func (c *CodeArtifact) CopyPackageVersions(input *CopyPackageVersionsInput) (*CopyPackageVersionsOutput, error) { @@ -238,14 +238,13 @@ const opCreateDomain = "CreateDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDomainRequest method. +// req, resp := client.CreateDomainRequest(params) // -// // Example sending a request using the CreateDomainRequest method. -// req, resp := client.CreateDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateDomain func (c *CodeArtifact) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) { @@ -284,30 +283,31 @@ func (c *CodeArtifact) CreateDomainRequest(input *CreateDomainInput) (req *reque // API operation CreateDomain for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ServiceQuotaExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ServiceQuotaExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. +// +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateDomain func (c *CodeArtifact) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) { @@ -347,14 +347,13 @@ const opCreateRepository = "CreateRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRepositoryRequest method. +// req, resp := client.CreateRepositoryRequest(params) // -// // Example sending a request using the CreateRepositoryRequest method. -// req, resp := client.CreateRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateRepository func (c *CodeArtifact) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput) { @@ -385,30 +384,31 @@ func (c *CodeArtifact) CreateRepositoryRequest(input *CreateRepositoryInput) (re // API operation CreateRepository for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ServiceQuotaExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. +// - ServiceQuotaExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/CreateRepository func (c *CodeArtifact) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error) { @@ -448,14 +448,13 @@ const opDeleteDomain = "DeleteDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainRequest method. +// req, resp := client.DeleteDomainRequest(params) // -// // Example sending a request using the DeleteDomainRequest method. -// req, resp := client.DeleteDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteDomain func (c *CodeArtifact) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) { @@ -487,22 +486,23 @@ func (c *CodeArtifact) DeleteDomainRequest(input *DeleteDomainInput) (req *reque // API operation DeleteDomain for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteDomain func (c *CodeArtifact) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) { @@ -542,14 +542,13 @@ const opDeleteDomainPermissionsPolicy = "DeleteDomainPermissionsPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainPermissionsPolicyRequest method. +// req, resp := client.DeleteDomainPermissionsPolicyRequest(params) // -// // Example sending a request using the DeleteDomainPermissionsPolicyRequest method. -// req, resp := client.DeleteDomainPermissionsPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteDomainPermissionsPolicy func (c *CodeArtifact) DeleteDomainPermissionsPolicyRequest(input *DeleteDomainPermissionsPolicyInput) (req *request.Request, output *DeleteDomainPermissionsPolicyOutput) { @@ -580,26 +579,27 @@ func (c *CodeArtifact) DeleteDomainPermissionsPolicyRequest(input *DeleteDomainP // API operation DeleteDomainPermissionsPolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteDomainPermissionsPolicy func (c *CodeArtifact) DeleteDomainPermissionsPolicy(input *DeleteDomainPermissionsPolicyInput) (*DeleteDomainPermissionsPolicyOutput, error) { @@ -639,14 +639,13 @@ const opDeletePackageVersions = "DeletePackageVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePackageVersionsRequest method. +// req, resp := client.DeletePackageVersionsRequest(params) // -// // Example sending a request using the DeletePackageVersionsRequest method. -// req, resp := client.DeletePackageVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeletePackageVersions func (c *CodeArtifact) DeletePackageVersionsRequest(input *DeletePackageVersionsInput) (req *request.Request, output *DeletePackageVersionsOutput) { @@ -682,26 +681,27 @@ func (c *CodeArtifact) DeletePackageVersionsRequest(input *DeletePackageVersions // API operation DeletePackageVersions for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. +// +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeletePackageVersions func (c *CodeArtifact) DeletePackageVersions(input *DeletePackageVersionsInput) (*DeletePackageVersionsOutput, error) { @@ -741,14 +741,13 @@ const opDeleteRepository = "DeleteRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRepositoryRequest method. +// req, resp := client.DeleteRepositoryRequest(params) // -// // Example sending a request using the DeleteRepositoryRequest method. -// req, resp := client.DeleteRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteRepository func (c *CodeArtifact) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput) { @@ -779,26 +778,27 @@ func (c *CodeArtifact) DeleteRepositoryRequest(input *DeleteRepositoryInput) (re // API operation DeleteRepository for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. +// +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteRepository func (c *CodeArtifact) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error) { @@ -838,14 +838,13 @@ const opDeleteRepositoryPermissionsPolicy = "DeleteRepositoryPermissionsPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRepositoryPermissionsPolicyRequest method. +// req, resp := client.DeleteRepositoryPermissionsPolicyRequest(params) // -// // Example sending a request using the DeleteRepositoryPermissionsPolicyRequest method. -// req, resp := client.DeleteRepositoryPermissionsPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteRepositoryPermissionsPolicy func (c *CodeArtifact) DeleteRepositoryPermissionsPolicyRequest(input *DeleteRepositoryPermissionsPolicyInput) (req *request.Request, output *DeleteRepositoryPermissionsPolicyOutput) { @@ -882,26 +881,27 @@ func (c *CodeArtifact) DeleteRepositoryPermissionsPolicyRequest(input *DeleteRep // API operation DeleteRepositoryPermissionsPolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. +// +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DeleteRepositoryPermissionsPolicy func (c *CodeArtifact) DeleteRepositoryPermissionsPolicy(input *DeleteRepositoryPermissionsPolicyInput) (*DeleteRepositoryPermissionsPolicyOutput, error) { @@ -941,14 +941,13 @@ const opDescribeDomain = "DescribeDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainRequest method. +// req, resp := client.DescribeDomainRequest(params) // -// // Example sending a request using the DescribeDomainRequest method. -// req, resp := client.DescribeDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribeDomain func (c *CodeArtifact) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Request, output *DescribeDomainOutput) { @@ -980,23 +979,24 @@ func (c *CodeArtifact) DescribeDomainRequest(input *DescribeDomainInput) (req *r // API operation DescribeDomain for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. +// +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribeDomain func (c *CodeArtifact) DescribeDomain(input *DescribeDomainInput) (*DescribeDomainOutput, error) { @@ -1036,14 +1036,13 @@ const opDescribePackageVersion = "DescribePackageVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePackageVersionRequest method. +// req, resp := client.DescribePackageVersionRequest(params) // -// // Example sending a request using the DescribePackageVersionRequest method. -// req, resp := client.DescribePackageVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribePackageVersion func (c *CodeArtifact) DescribePackageVersionRequest(input *DescribePackageVersionInput) (req *request.Request, output *DescribePackageVersionOutput) { @@ -1075,26 +1074,27 @@ func (c *CodeArtifact) DescribePackageVersionRequest(input *DescribePackageVersi // API operation DescribePackageVersion for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribePackageVersion func (c *CodeArtifact) DescribePackageVersion(input *DescribePackageVersionInput) (*DescribePackageVersionOutput, error) { @@ -1134,14 +1134,13 @@ const opDescribeRepository = "DescribeRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRepositoryRequest method. +// req, resp := client.DescribeRepositoryRequest(params) // -// // Example sending a request using the DescribeRepositoryRequest method. -// req, resp := client.DescribeRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribeRepository func (c *CodeArtifact) DescribeRepositoryRequest(input *DescribeRepositoryInput) (req *request.Request, output *DescribeRepositoryOutput) { @@ -1173,23 +1172,24 @@ func (c *CodeArtifact) DescribeRepositoryRequest(input *DescribeRepositoryInput) // API operation DescribeRepository for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DescribeRepository func (c *CodeArtifact) DescribeRepository(input *DescribeRepositoryInput) (*DescribeRepositoryOutput, error) { @@ -1229,14 +1229,13 @@ const opDisassociateExternalConnection = "DisassociateExternalConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateExternalConnectionRequest method. +// req, resp := client.DisassociateExternalConnectionRequest(params) // -// // Example sending a request using the DisassociateExternalConnectionRequest method. -// req, resp := client.DisassociateExternalConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DisassociateExternalConnection func (c *CodeArtifact) DisassociateExternalConnectionRequest(input *DisassociateExternalConnectionInput) (req *request.Request, output *DisassociateExternalConnectionOutput) { @@ -1267,30 +1266,31 @@ func (c *CodeArtifact) DisassociateExternalConnectionRequest(input *Disassociate // API operation DisassociateExternalConnection for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ServiceQuotaExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. +// - ServiceQuotaExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DisassociateExternalConnection func (c *CodeArtifact) DisassociateExternalConnection(input *DisassociateExternalConnectionInput) (*DisassociateExternalConnectionOutput, error) { @@ -1330,14 +1330,13 @@ const opDisposePackageVersions = "DisposePackageVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisposePackageVersionsRequest method. +// req, resp := client.DisposePackageVersionsRequest(params) // -// // Example sending a request using the DisposePackageVersionsRequest method. -// req, resp := client.DisposePackageVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DisposePackageVersions func (c *CodeArtifact) DisposePackageVersionsRequest(input *DisposePackageVersionsInput) (req *request.Request, output *DisposePackageVersionsOutput) { @@ -1378,26 +1377,27 @@ func (c *CodeArtifact) DisposePackageVersionsRequest(input *DisposePackageVersio // API operation DisposePackageVersions for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/DisposePackageVersions func (c *CodeArtifact) DisposePackageVersions(input *DisposePackageVersionsInput) (*DisposePackageVersionsOutput, error) { @@ -1437,14 +1437,13 @@ const opGetAuthorizationToken = "GetAuthorizationToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAuthorizationTokenRequest method. +// req, resp := client.GetAuthorizationTokenRequest(params) // -// // Example sending a request using the GetAuthorizationTokenRequest method. -// req, resp := client.GetAuthorizationTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetAuthorizationToken func (c *CodeArtifact) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (req *request.Request, output *GetAuthorizationTokenOutput) { @@ -1495,23 +1494,24 @@ func (c *CodeArtifact) GetAuthorizationTokenRequest(input *GetAuthorizationToken // API operation GetAuthorizationToken for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetAuthorizationToken func (c *CodeArtifact) GetAuthorizationToken(input *GetAuthorizationTokenInput) (*GetAuthorizationTokenOutput, error) { @@ -1551,14 +1551,13 @@ const opGetDomainPermissionsPolicy = "GetDomainPermissionsPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainPermissionsPolicyRequest method. +// req, resp := client.GetDomainPermissionsPolicyRequest(params) // -// // Example sending a request using the GetDomainPermissionsPolicyRequest method. -// req, resp := client.GetDomainPermissionsPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetDomainPermissionsPolicy func (c *CodeArtifact) GetDomainPermissionsPolicyRequest(input *GetDomainPermissionsPolicyInput) (req *request.Request, output *GetDomainPermissionsPolicyOutput) { @@ -1594,23 +1593,24 @@ func (c *CodeArtifact) GetDomainPermissionsPolicyRequest(input *GetDomainPermiss // API operation GetDomainPermissionsPolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. +// +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetDomainPermissionsPolicy func (c *CodeArtifact) GetDomainPermissionsPolicy(input *GetDomainPermissionsPolicyInput) (*GetDomainPermissionsPolicyOutput, error) { @@ -1650,14 +1650,13 @@ const opGetPackageVersionAsset = "GetPackageVersionAsset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPackageVersionAssetRequest method. +// req, resp := client.GetPackageVersionAssetRequest(params) // -// // Example sending a request using the GetPackageVersionAssetRequest method. -// req, resp := client.GetPackageVersionAssetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetPackageVersionAsset func (c *CodeArtifact) GetPackageVersionAssetRequest(input *GetPackageVersionAssetInput) (req *request.Request, output *GetPackageVersionAssetOutput) { @@ -1690,26 +1689,27 @@ func (c *CodeArtifact) GetPackageVersionAssetRequest(input *GetPackageVersionAss // API operation GetPackageVersionAsset for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. +// +// - ConflictException +// The operation did not succeed because prerequisites are not met. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetPackageVersionAsset func (c *CodeArtifact) GetPackageVersionAsset(input *GetPackageVersionAssetInput) (*GetPackageVersionAssetOutput, error) { @@ -1749,14 +1749,13 @@ const opGetPackageVersionReadme = "GetPackageVersionReadme" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPackageVersionReadmeRequest method. +// req, resp := client.GetPackageVersionReadmeRequest(params) // -// // Example sending a request using the GetPackageVersionReadmeRequest method. -// req, resp := client.GetPackageVersionReadmeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetPackageVersionReadme func (c *CodeArtifact) GetPackageVersionReadmeRequest(input *GetPackageVersionReadmeInput) (req *request.Request, output *GetPackageVersionReadmeOutput) { @@ -1793,23 +1792,24 @@ func (c *CodeArtifact) GetPackageVersionReadmeRequest(input *GetPackageVersionRe // API operation GetPackageVersionReadme for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. +// +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetPackageVersionReadme func (c *CodeArtifact) GetPackageVersionReadme(input *GetPackageVersionReadmeInput) (*GetPackageVersionReadmeOutput, error) { @@ -1849,14 +1849,13 @@ const opGetRepositoryEndpoint = "GetRepositoryEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRepositoryEndpointRequest method. +// req, resp := client.GetRepositoryEndpointRequest(params) // -// // Example sending a request using the GetRepositoryEndpointRequest method. -// req, resp := client.GetRepositoryEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetRepositoryEndpoint func (c *CodeArtifact) GetRepositoryEndpointRequest(input *GetRepositoryEndpointInput) (req *request.Request, output *GetRepositoryEndpointOutput) { @@ -1880,11 +1879,11 @@ func (c *CodeArtifact) GetRepositoryEndpointRequest(input *GetRepositoryEndpoint // Returns the endpoint of a repository for a specific package format. A repository // has one endpoint for each package format: // -// * npm +// - npm // -// * pypi +// - pypi // -// * maven +// - maven // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1894,23 +1893,24 @@ func (c *CodeArtifact) GetRepositoryEndpointRequest(input *GetRepositoryEndpoint // API operation GetRepositoryEndpoint for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. +// +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetRepositoryEndpoint func (c *CodeArtifact) GetRepositoryEndpoint(input *GetRepositoryEndpointInput) (*GetRepositoryEndpointOutput, error) { @@ -1950,14 +1950,13 @@ const opGetRepositoryPermissionsPolicy = "GetRepositoryPermissionsPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRepositoryPermissionsPolicyRequest method. +// req, resp := client.GetRepositoryPermissionsPolicyRequest(params) // -// // Example sending a request using the GetRepositoryPermissionsPolicyRequest method. -// req, resp := client.GetRepositoryPermissionsPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetRepositoryPermissionsPolicy func (c *CodeArtifact) GetRepositoryPermissionsPolicyRequest(input *GetRepositoryPermissionsPolicyInput) (req *request.Request, output *GetRepositoryPermissionsPolicyOutput) { @@ -1988,23 +1987,24 @@ func (c *CodeArtifact) GetRepositoryPermissionsPolicyRequest(input *GetRepositor // API operation GetRepositoryPermissionsPolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/GetRepositoryPermissionsPolicy func (c *CodeArtifact) GetRepositoryPermissionsPolicy(input *GetRepositoryPermissionsPolicyInput) (*GetRepositoryPermissionsPolicyOutput, error) { @@ -2044,14 +2044,13 @@ const opListDomains = "ListDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainsRequest method. +// req, resp := client.ListDomainsRequest(params) // -// // Example sending a request using the ListDomainsRequest method. -// req, resp := client.ListDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListDomains func (c *CodeArtifact) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) { @@ -2090,19 +2089,20 @@ func (c *CodeArtifact) ListDomainsRequest(input *ListDomainsInput) (req *request // API operation ListDomains for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListDomains func (c *CodeArtifact) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) { @@ -2134,15 +2134,14 @@ func (c *CodeArtifact) ListDomainsWithContext(ctx aws.Context, input *ListDomain // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDomains operation. -// pageNum := 0 -// err := client.ListDomainsPages(params, -// func(page *codeartifact.ListDomainsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDomains operation. +// pageNum := 0 +// err := client.ListDomainsPages(params, +// func(page *codeartifact.ListDomainsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeArtifact) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error { return c.ListDomainsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2194,14 +2193,13 @@ const opListPackageVersionAssets = "ListPackageVersionAssets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPackageVersionAssetsRequest method. +// req, resp := client.ListPackageVersionAssetsRequest(params) // -// // Example sending a request using the ListPackageVersionAssetsRequest method. -// req, resp := client.ListPackageVersionAssetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageVersionAssets func (c *CodeArtifact) ListPackageVersionAssetsRequest(input *ListPackageVersionAssetsInput) (req *request.Request, output *ListPackageVersionAssetsOutput) { @@ -2239,23 +2237,24 @@ func (c *CodeArtifact) ListPackageVersionAssetsRequest(input *ListPackageVersion // API operation ListPackageVersionAssets for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageVersionAssets func (c *CodeArtifact) ListPackageVersionAssets(input *ListPackageVersionAssetsInput) (*ListPackageVersionAssetsOutput, error) { @@ -2287,15 +2286,14 @@ func (c *CodeArtifact) ListPackageVersionAssetsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPackageVersionAssets operation. -// pageNum := 0 -// err := client.ListPackageVersionAssetsPages(params, -// func(page *codeartifact.ListPackageVersionAssetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPackageVersionAssets operation. +// pageNum := 0 +// err := client.ListPackageVersionAssetsPages(params, +// func(page *codeartifact.ListPackageVersionAssetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeArtifact) ListPackageVersionAssetsPages(input *ListPackageVersionAssetsInput, fn func(*ListPackageVersionAssetsOutput, bool) bool) error { return c.ListPackageVersionAssetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2347,14 +2345,13 @@ const opListPackageVersionDependencies = "ListPackageVersionDependencies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPackageVersionDependenciesRequest method. +// req, resp := client.ListPackageVersionDependenciesRequest(params) // -// // Example sending a request using the ListPackageVersionDependenciesRequest method. -// req, resp := client.ListPackageVersionDependenciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageVersionDependencies func (c *CodeArtifact) ListPackageVersionDependenciesRequest(input *ListPackageVersionDependenciesInput) (req *request.Request, output *ListPackageVersionDependenciesOutput) { @@ -2390,23 +2387,24 @@ func (c *CodeArtifact) ListPackageVersionDependenciesRequest(input *ListPackageV // API operation ListPackageVersionDependencies for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. +// +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageVersionDependencies func (c *CodeArtifact) ListPackageVersionDependencies(input *ListPackageVersionDependenciesInput) (*ListPackageVersionDependenciesOutput, error) { @@ -2446,14 +2444,13 @@ const opListPackageVersions = "ListPackageVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPackageVersionsRequest method. +// req, resp := client.ListPackageVersionsRequest(params) // -// // Example sending a request using the ListPackageVersionsRequest method. -// req, resp := client.ListPackageVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageVersions func (c *CodeArtifact) ListPackageVersionsRequest(input *ListPackageVersionsInput) (req *request.Request, output *ListPackageVersionsOutput) { @@ -2491,23 +2488,24 @@ func (c *CodeArtifact) ListPackageVersionsRequest(input *ListPackageVersionsInpu // API operation ListPackageVersions for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackageVersions func (c *CodeArtifact) ListPackageVersions(input *ListPackageVersionsInput) (*ListPackageVersionsOutput, error) { @@ -2539,15 +2537,14 @@ func (c *CodeArtifact) ListPackageVersionsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPackageVersions operation. -// pageNum := 0 -// err := client.ListPackageVersionsPages(params, -// func(page *codeartifact.ListPackageVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPackageVersions operation. +// pageNum := 0 +// err := client.ListPackageVersionsPages(params, +// func(page *codeartifact.ListPackageVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeArtifact) ListPackageVersionsPages(input *ListPackageVersionsInput, fn func(*ListPackageVersionsOutput, bool) bool) error { return c.ListPackageVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2599,14 +2596,13 @@ const opListPackages = "ListPackages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPackagesRequest method. +// req, resp := client.ListPackagesRequest(params) // -// // Example sending a request using the ListPackagesRequest method. -// req, resp := client.ListPackagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackages func (c *CodeArtifact) ListPackagesRequest(input *ListPackagesInput) (req *request.Request, output *ListPackagesOutput) { @@ -2644,23 +2640,24 @@ func (c *CodeArtifact) ListPackagesRequest(input *ListPackagesInput) (req *reque // API operation ListPackages for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. +// +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListPackages func (c *CodeArtifact) ListPackages(input *ListPackagesInput) (*ListPackagesOutput, error) { @@ -2692,15 +2689,14 @@ func (c *CodeArtifact) ListPackagesWithContext(ctx aws.Context, input *ListPacka // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPackages operation. -// pageNum := 0 -// err := client.ListPackagesPages(params, -// func(page *codeartifact.ListPackagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPackages operation. +// pageNum := 0 +// err := client.ListPackagesPages(params, +// func(page *codeartifact.ListPackagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeArtifact) ListPackagesPages(input *ListPackagesInput, fn func(*ListPackagesOutput, bool) bool) error { return c.ListPackagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2752,14 +2748,13 @@ const opListRepositories = "ListRepositories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRepositoriesRequest method. +// req, resp := client.ListRepositoriesRequest(params) // -// // Example sending a request using the ListRepositoriesRequest method. -// req, resp := client.ListRepositoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListRepositories func (c *CodeArtifact) ListRepositoriesRequest(input *ListRepositoriesInput) (req *request.Request, output *ListRepositoriesOutput) { @@ -2798,19 +2793,20 @@ func (c *CodeArtifact) ListRepositoriesRequest(input *ListRepositoriesInput) (re // API operation ListRepositories for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListRepositories func (c *CodeArtifact) ListRepositories(input *ListRepositoriesInput) (*ListRepositoriesOutput, error) { @@ -2842,15 +2838,14 @@ func (c *CodeArtifact) ListRepositoriesWithContext(ctx aws.Context, input *ListR // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRepositories operation. -// pageNum := 0 -// err := client.ListRepositoriesPages(params, -// func(page *codeartifact.ListRepositoriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRepositories operation. +// pageNum := 0 +// err := client.ListRepositoriesPages(params, +// func(page *codeartifact.ListRepositoriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeArtifact) ListRepositoriesPages(input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool) error { return c.ListRepositoriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2902,14 +2897,13 @@ const opListRepositoriesInDomain = "ListRepositoriesInDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRepositoriesInDomainRequest method. +// req, resp := client.ListRepositoriesInDomainRequest(params) // -// // Example sending a request using the ListRepositoriesInDomainRequest method. -// req, resp := client.ListRepositoriesInDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListRepositoriesInDomain func (c *CodeArtifact) ListRepositoriesInDomainRequest(input *ListRepositoriesInDomainInput) (req *request.Request, output *ListRepositoriesInDomainOutput) { @@ -2948,23 +2942,24 @@ func (c *CodeArtifact) ListRepositoriesInDomainRequest(input *ListRepositoriesIn // API operation ListRepositoriesInDomain for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListRepositoriesInDomain func (c *CodeArtifact) ListRepositoriesInDomain(input *ListRepositoriesInDomainInput) (*ListRepositoriesInDomainOutput, error) { @@ -2996,15 +2991,14 @@ func (c *CodeArtifact) ListRepositoriesInDomainWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRepositoriesInDomain operation. -// pageNum := 0 -// err := client.ListRepositoriesInDomainPages(params, -// func(page *codeartifact.ListRepositoriesInDomainOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRepositoriesInDomain operation. +// pageNum := 0 +// err := client.ListRepositoriesInDomainPages(params, +// func(page *codeartifact.ListRepositoriesInDomainOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeArtifact) ListRepositoriesInDomainPages(input *ListRepositoriesInDomainInput, fn func(*ListRepositoriesInDomainOutput, bool) bool) error { return c.ListRepositoriesInDomainPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3056,14 +3050,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListTagsForResource func (c *CodeArtifact) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -3095,19 +3088,20 @@ func (c *CodeArtifact) ListTagsForResourceRequest(input *ListTagsForResourceInpu // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. +// +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/ListTagsForResource func (c *CodeArtifact) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3147,14 +3141,13 @@ const opPutDomainPermissionsPolicy = "PutDomainPermissionsPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDomainPermissionsPolicyRequest method. +// req, resp := client.PutDomainPermissionsPolicyRequest(params) // -// // Example sending a request using the PutDomainPermissionsPolicyRequest method. -// req, resp := client.PutDomainPermissionsPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutDomainPermissionsPolicy func (c *CodeArtifact) PutDomainPermissionsPolicyRequest(input *PutDomainPermissionsPolicyInput) (req *request.Request, output *PutDomainPermissionsPolicyOutput) { @@ -3190,30 +3183,31 @@ func (c *CodeArtifact) PutDomainPermissionsPolicyRequest(input *PutDomainPermiss // API operation PutDomainPermissionsPolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ServiceQuotaExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ServiceQuotaExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. +// +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutDomainPermissionsPolicy func (c *CodeArtifact) PutDomainPermissionsPolicy(input *PutDomainPermissionsPolicyInput) (*PutDomainPermissionsPolicyOutput, error) { @@ -3253,14 +3247,13 @@ const opPutRepositoryPermissionsPolicy = "PutRepositoryPermissionsPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRepositoryPermissionsPolicyRequest method. +// req, resp := client.PutRepositoryPermissionsPolicyRequest(params) // -// // Example sending a request using the PutRepositoryPermissionsPolicyRequest method. -// req, resp := client.PutRepositoryPermissionsPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutRepositoryPermissionsPolicy func (c *CodeArtifact) PutRepositoryPermissionsPolicyRequest(input *PutRepositoryPermissionsPolicyInput) (req *request.Request, output *PutRepositoryPermissionsPolicyOutput) { @@ -3297,30 +3290,31 @@ func (c *CodeArtifact) PutRepositoryPermissionsPolicyRequest(input *PutRepositor // API operation PutRepositoryPermissionsPolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ServiceQuotaExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ServiceQuotaExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. +// +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/PutRepositoryPermissionsPolicy func (c *CodeArtifact) PutRepositoryPermissionsPolicy(input *PutRepositoryPermissionsPolicyInput) (*PutRepositoryPermissionsPolicyOutput, error) { @@ -3360,14 +3354,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/TagResource func (c *CodeArtifact) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3399,23 +3392,24 @@ func (c *CodeArtifact) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ServiceQuotaExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. +// - ServiceQuotaExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/TagResource func (c *CodeArtifact) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3455,14 +3449,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UntagResource func (c *CodeArtifact) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3494,19 +3487,20 @@ func (c *CodeArtifact) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UntagResource func (c *CodeArtifact) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3546,14 +3540,13 @@ const opUpdatePackageVersionsStatus = "UpdatePackageVersionsStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePackageVersionsStatusRequest method. +// req, resp := client.UpdatePackageVersionsStatusRequest(params) // -// // Example sending a request using the UpdatePackageVersionsStatusRequest method. -// req, resp := client.UpdatePackageVersionsStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdatePackageVersionsStatus func (c *CodeArtifact) UpdatePackageVersionsStatusRequest(input *UpdatePackageVersionsStatusInput) (req *request.Request, output *UpdatePackageVersionsStatusOutput) { @@ -3584,26 +3577,27 @@ func (c *CodeArtifact) UpdatePackageVersionsStatusRequest(input *UpdatePackageVe // API operation UpdatePackageVersionsStatus for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdatePackageVersionsStatus func (c *CodeArtifact) UpdatePackageVersionsStatus(input *UpdatePackageVersionsStatusInput) (*UpdatePackageVersionsStatusOutput, error) { @@ -3643,14 +3637,13 @@ const opUpdateRepository = "UpdateRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRepositoryRequest method. +// req, resp := client.UpdateRepositoryRequest(params) // -// // Example sending a request using the UpdateRepositoryRequest method. -// req, resp := client.UpdateRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdateRepository func (c *CodeArtifact) UpdateRepositoryRequest(input *UpdateRepositoryInput) (req *request.Request, output *UpdateRepositoryOutput) { @@ -3681,30 +3674,31 @@ func (c *CodeArtifact) UpdateRepositoryRequest(input *UpdateRepositoryInput) (re // API operation UpdateRepository for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The operation did not succeed because of an unauthorized access attempt. // -// * ConflictException -// The operation did not succeed because prerequisites are not met. +// - AccessDeniedException +// The operation did not succeed because of an unauthorized access attempt. +// +// - ConflictException +// The operation did not succeed because prerequisites are not met. // -// * InternalServerException -// The operation did not succeed because of an error that occurred inside AWS -// CodeArtifact. +// - InternalServerException +// The operation did not succeed because of an error that occurred inside AWS +// CodeArtifact. // -// * ResourceNotFoundException -// The operation did not succeed because the resource requested is not found -// in the service. +// - ResourceNotFoundException +// The operation did not succeed because the resource requested is not found +// in the service. // -// * ServiceQuotaExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. +// - ServiceQuotaExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. // -// * ThrottlingException -// The operation did not succeed because too many requests are sent to the service. +// - ThrottlingException +// The operation did not succeed because too many requests are sent to the service. // -// * ValidationException -// The operation did not succeed because a parameter in the request was sent -// with an invalid value. +// - ValidationException +// The operation did not succeed because a parameter in the request was sent +// with an invalid value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22/UpdateRepository func (c *CodeArtifact) UpdateRepository(input *UpdateRepositoryInput) (*UpdateRepositoryOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/codeartifactiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/codeartifactiface/interface.go index bd7dbfe68e53..b7d81df69c8a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/codeartifactiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/codeartifactiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // CodeArtifact. -// func myFunc(svc codeartifactiface.CodeArtifactAPI) bool { -// // Make svc.AssociateExternalConnection request -// } +// // myFunc uses an SDK service client to make a request to +// // CodeArtifact. +// func myFunc(svc codeartifactiface.CodeArtifactAPI) bool { +// // Make svc.AssociateExternalConnection request +// } // -// func main() { -// sess := session.New() -// svc := codeartifact.New(sess) +// func main() { +// sess := session.New() +// svc := codeartifact.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCodeArtifactClient struct { -// codeartifactiface.CodeArtifactAPI -// } -// func (m *mockCodeArtifactClient) AssociateExternalConnection(input *codeartifact.AssociateExternalConnectionInput) (*codeartifact.AssociateExternalConnectionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCodeArtifactClient struct { +// codeartifactiface.CodeArtifactAPI +// } +// func (m *mockCodeArtifactClient) AssociateExternalConnection(input *codeartifact.AssociateExternalConnectionInput) (*codeartifact.AssociateExternalConnectionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCodeArtifactClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCodeArtifactClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/doc.go index b76476db3641..d185a2af7590 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/doc.go @@ -11,156 +11,156 @@ // and another repository, which effectively merges their contents from the // point of view of a package manager client. // -// AWS CodeArtifact Components +// # AWS CodeArtifact Components // // Use the information in this guide to help you work with the following CodeArtifact // components: // -// * Repository: A CodeArtifact repository contains a set of package versions -// (https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html#welcome-concepts-package-version), -// each of which maps to a set of assets, or files. Repositories are polyglot, -// so a single repository can contain packages of any supported type. Each -// repository exposes endpoints for fetching and publishing packages using -// tools like the npm CLI, the Maven CLI ( mvn ), and pip . -// -// * Domain: Repositories are aggregated into a higher-level entity known -// as a domain. All package assets and metadata are stored in the domain, -// but are consumed through repositories. A given package asset, such as -// a Maven JAR file, is stored once per domain, no matter how many repositories -// it's present in. All of the assets and metadata in a domain are encrypted -// with the same customer master key (CMK) stored in AWS Key Management Service -// (AWS KMS). Each repository is a member of a single domain and can't be -// moved to a different domain. The domain allows organizational policy to -// be applied across multiple repositories, such as which accounts can access -// repositories in the domain, and which public repositories can be used -// as sources of packages. Although an organization can have multiple domains, -// we recommend a single production domain that contains all published artifacts -// so that teams can find and share packages across their organization. -// -// * Package: A package is a bundle of software and the metadata required -// to resolve dependencies and install the software. CodeArtifact supports -// npm (https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html), -// PyPI (https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html), -// and Maven (https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven) -// package formats. In CodeArtifact, a package consists of: A name (for example, -// webpack is the name of a popular npm package) An optional namespace (for -// example, @types in @types/node) A set of versions (for example, 1.0.0, -// 1.0.1, 1.0.2, etc.) Package-level metadata (for example, npm tags) -// -// * Package version: A version of a package, such as @types/node 12.6.9. -// The version number format and semantics vary for different package formats. -// For example, npm package versions must conform to the Semantic Versioning -// specification (https://semver.org/). In CodeArtifact, a package version -// consists of the version identifier, metadata at the package version level, -// and a set of assets. -// -// * Upstream repository: One repository is upstream of another when the -// package versions in it can be accessed from the repository endpoint of -// the downstream repository, effectively merging the contents of the two -// repositories from the point of view of a client. CodeArtifact allows creating -// an upstream relationship between two repositories. -// -// * Asset: An individual file stored in CodeArtifact associated with a package -// version, such as an npm .tgz file or Maven POM and JAR files. +// - Repository: A CodeArtifact repository contains a set of package versions +// (https://docs.aws.amazon.com/codeartifact/latest/ug/welcome.html#welcome-concepts-package-version), +// each of which maps to a set of assets, or files. Repositories are polyglot, +// so a single repository can contain packages of any supported type. Each +// repository exposes endpoints for fetching and publishing packages using +// tools like the npm CLI, the Maven CLI ( mvn ), and pip . +// +// - Domain: Repositories are aggregated into a higher-level entity known +// as a domain. All package assets and metadata are stored in the domain, +// but are consumed through repositories. A given package asset, such as +// a Maven JAR file, is stored once per domain, no matter how many repositories +// it's present in. All of the assets and metadata in a domain are encrypted +// with the same customer master key (CMK) stored in AWS Key Management Service +// (AWS KMS). Each repository is a member of a single domain and can't be +// moved to a different domain. The domain allows organizational policy to +// be applied across multiple repositories, such as which accounts can access +// repositories in the domain, and which public repositories can be used +// as sources of packages. Although an organization can have multiple domains, +// we recommend a single production domain that contains all published artifacts +// so that teams can find and share packages across their organization. +// +// - Package: A package is a bundle of software and the metadata required +// to resolve dependencies and install the software. CodeArtifact supports +// npm (https://docs.aws.amazon.com/codeartifact/latest/ug/using-npm.html), +// PyPI (https://docs.aws.amazon.com/codeartifact/latest/ug/using-python.html), +// and Maven (https://docs.aws.amazon.com/codeartifact/latest/ug/using-maven) +// package formats. In CodeArtifact, a package consists of: A name (for example, +// webpack is the name of a popular npm package) An optional namespace (for +// example, @types in @types/node) A set of versions (for example, 1.0.0, +// 1.0.1, 1.0.2, etc.) Package-level metadata (for example, npm tags) +// +// - Package version: A version of a package, such as @types/node 12.6.9. +// The version number format and semantics vary for different package formats. +// For example, npm package versions must conform to the Semantic Versioning +// specification (https://semver.org/). In CodeArtifact, a package version +// consists of the version identifier, metadata at the package version level, +// and a set of assets. +// +// - Upstream repository: One repository is upstream of another when the +// package versions in it can be accessed from the repository endpoint of +// the downstream repository, effectively merging the contents of the two +// repositories from the point of view of a client. CodeArtifact allows creating +// an upstream relationship between two repositories. +// +// - Asset: An individual file stored in CodeArtifact associated with a package +// version, such as an npm .tgz file or Maven POM and JAR files. // // CodeArtifact supports these operations: // -// * AssociateExternalConnection: Adds an existing external connection to -// a repository. +// - AssociateExternalConnection: Adds an existing external connection to +// a repository. // -// * CopyPackageVersions: Copies package versions from one repository to -// another repository in the same domain. +// - CopyPackageVersions: Copies package versions from one repository to +// another repository in the same domain. // -// * CreateDomain: Creates a domain +// - CreateDomain: Creates a domain // -// * CreateRepository: Creates a CodeArtifact repository in a domain. +// - CreateRepository: Creates a CodeArtifact repository in a domain. // -// * DeleteDomain: Deletes a domain. You cannot delete a domain that contains -// repositories. +// - DeleteDomain: Deletes a domain. You cannot delete a domain that contains +// repositories. // -// * DeleteDomainPermissionsPolicy: Deletes the resource policy that is set -// on a domain. +// - DeleteDomainPermissionsPolicy: Deletes the resource policy that is set +// on a domain. // -// * DeletePackageVersions: Deletes versions of a package. After a package -// has been deleted, it can be republished, but its assets and metadata cannot -// be restored because they have been permanently removed from storage. +// - DeletePackageVersions: Deletes versions of a package. After a package +// has been deleted, it can be republished, but its assets and metadata cannot +// be restored because they have been permanently removed from storage. // -// * DeleteRepository: Deletes a repository. +// - DeleteRepository: Deletes a repository. // -// * DeleteRepositoryPermissionsPolicy: Deletes the resource policy that -// is set on a repository. +// - DeleteRepositoryPermissionsPolicy: Deletes the resource policy that +// is set on a repository. // -// * DescribeDomain: Returns a DomainDescription object that contains information -// about the requested domain. +// - DescribeDomain: Returns a DomainDescription object that contains information +// about the requested domain. // -// * DescribePackageVersion: Returns a PackageVersionDescription (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html) -// object that contains details about a package version. +// - DescribePackageVersion: Returns a PackageVersionDescription (https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionDescription.html) +// object that contains details about a package version. // -// * DescribeRepository: Returns a RepositoryDescription object that contains -// detailed information about the requested repository. +// - DescribeRepository: Returns a RepositoryDescription object that contains +// detailed information about the requested repository. // -// * DisposePackageVersions: Disposes versions of a package. A package version -// with the status Disposed cannot be restored because they have been permanently -// removed from storage. +// - DisposePackageVersions: Disposes versions of a package. A package version +// with the status Disposed cannot be restored because they have been permanently +// removed from storage. // -// * DisassociateExternalConnection: Removes an existing external connection -// from a repository. +// - DisassociateExternalConnection: Removes an existing external connection +// from a repository. // -// * GetAuthorizationToken: Generates a temporary authorization token for -// accessing repositories in the domain. The token expires the authorization -// period has passed. The default authorization period is 12 hours and can -// be customized to any length with a maximum of 12 hours. +// - GetAuthorizationToken: Generates a temporary authorization token for +// accessing repositories in the domain. The token expires the authorization +// period has passed. The default authorization period is 12 hours and can +// be customized to any length with a maximum of 12 hours. // -// * GetDomainPermissionsPolicy: Returns the policy of a resource that is -// attached to the specified domain. +// - GetDomainPermissionsPolicy: Returns the policy of a resource that is +// attached to the specified domain. // -// * GetPackageVersionAsset: Returns the contents of an asset that is in -// a package version. +// - GetPackageVersionAsset: Returns the contents of an asset that is in +// a package version. // -// * GetPackageVersionReadme: Gets the readme file or descriptive text for -// a package version. +// - GetPackageVersionReadme: Gets the readme file or descriptive text for +// a package version. // -// * GetRepositoryEndpoint: Returns the endpoint of a repository for a specific -// package format. A repository has one endpoint for each package format: -// npm pypi maven +// - GetRepositoryEndpoint: Returns the endpoint of a repository for a specific +// package format. A repository has one endpoint for each package format: +// npm pypi maven // -// * GetRepositoryPermissionsPolicy: Returns the resource policy that is -// set on a repository. +// - GetRepositoryPermissionsPolicy: Returns the resource policy that is +// set on a repository. // -// * ListDomains: Returns a list of DomainSummary objects. Each returned -// DomainSummary object contains information about a domain. +// - ListDomains: Returns a list of DomainSummary objects. Each returned +// DomainSummary object contains information about a domain. // -// * ListPackages: Lists the packages in a repository. +// - ListPackages: Lists the packages in a repository. // -// * ListPackageVersionAssets: Lists the assets for a given package version. +// - ListPackageVersionAssets: Lists the assets for a given package version. // -// * ListPackageVersionDependencies: Returns a list of the direct dependencies -// for a package version. +// - ListPackageVersionDependencies: Returns a list of the direct dependencies +// for a package version. // -// * ListPackageVersions: Returns a list of package versions for a specified -// package in a repository. +// - ListPackageVersions: Returns a list of package versions for a specified +// package in a repository. // -// * ListRepositories: Returns a list of repositories owned by the AWS account -// that called this method. +// - ListRepositories: Returns a list of repositories owned by the AWS account +// that called this method. // -// * ListRepositoriesInDomain: Returns a list of the repositories in a domain. +// - ListRepositoriesInDomain: Returns a list of the repositories in a domain. // -// * PutDomainPermissionsPolicy: Attaches a resource policy to a domain. +// - PutDomainPermissionsPolicy: Attaches a resource policy to a domain. // -// * PutRepositoryPermissionsPolicy: Sets the resource policy on a repository -// that specifies permissions to access it. +// - PutRepositoryPermissionsPolicy: Sets the resource policy on a repository +// that specifies permissions to access it. // -// * UpdatePackageVersionsStatus: Updates the status of one or more versions -// of a package. +// - UpdatePackageVersionsStatus: Updates the status of one or more versions +// of a package. // -// * UpdateRepository: Updates the properties of a repository. +// - UpdateRepository: Updates the properties of a repository. // // See https://docs.aws.amazon.com/goto/WebAPI/codeartifact-2018-09-22 for more information on this service. // // See codeartifact package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/codeartifact/ // -// Using the Client +// # Using the Client // // To contact CodeArtifact with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/service.go index 7070c67a55bf..f103c91eb25b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeartifact/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CodeArtifact client from just a session. -// svc := codeartifact.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CodeArtifact client with additional configuration -// svc := codeartifact.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CodeArtifact client from just a session. +// svc := codeartifact.New(mySession) +// +// // Create a CodeArtifact client with additional configuration +// svc := codeartifact.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeArtifact { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/api.go index 7dfe0db62a86..479ceb96a374 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/api.go @@ -29,14 +29,13 @@ const opBatchDeleteBuilds = "BatchDeleteBuilds" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteBuildsRequest method. +// req, resp := client.BatchDeleteBuildsRequest(params) // -// // Example sending a request using the BatchDeleteBuildsRequest method. -// req, resp := client.BatchDeleteBuildsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuilds func (c *CodeBuild) BatchDeleteBuildsRequest(input *BatchDeleteBuildsInput) (req *request.Request, output *BatchDeleteBuildsOutput) { @@ -67,8 +66,8 @@ func (c *CodeBuild) BatchDeleteBuildsRequest(input *BatchDeleteBuildsInput) (req // API operation BatchDeleteBuilds for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchDeleteBuilds func (c *CodeBuild) BatchDeleteBuilds(input *BatchDeleteBuildsInput) (*BatchDeleteBuildsOutput, error) { @@ -108,14 +107,13 @@ const opBatchGetBuildBatches = "BatchGetBuildBatches" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetBuildBatchesRequest method. +// req, resp := client.BatchGetBuildBatchesRequest(params) // -// // Example sending a request using the BatchGetBuildBatchesRequest method. -// req, resp := client.BatchGetBuildBatchesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuildBatches func (c *CodeBuild) BatchGetBuildBatchesRequest(input *BatchGetBuildBatchesInput) (req *request.Request, output *BatchGetBuildBatchesOutput) { @@ -146,8 +144,8 @@ func (c *CodeBuild) BatchGetBuildBatchesRequest(input *BatchGetBuildBatchesInput // API operation BatchGetBuildBatches for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuildBatches func (c *CodeBuild) BatchGetBuildBatches(input *BatchGetBuildBatchesInput) (*BatchGetBuildBatchesOutput, error) { @@ -187,14 +185,13 @@ const opBatchGetBuilds = "BatchGetBuilds" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetBuildsRequest method. +// req, resp := client.BatchGetBuildsRequest(params) // -// // Example sending a request using the BatchGetBuildsRequest method. -// req, resp := client.BatchGetBuildsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuilds func (c *CodeBuild) BatchGetBuildsRequest(input *BatchGetBuildsInput) (req *request.Request, output *BatchGetBuildsOutput) { @@ -225,8 +222,8 @@ func (c *CodeBuild) BatchGetBuildsRequest(input *BatchGetBuildsInput) (req *requ // API operation BatchGetBuilds for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetBuilds func (c *CodeBuild) BatchGetBuilds(input *BatchGetBuildsInput) (*BatchGetBuildsOutput, error) { @@ -266,14 +263,13 @@ const opBatchGetProjects = "BatchGetProjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetProjectsRequest method. +// req, resp := client.BatchGetProjectsRequest(params) // -// // Example sending a request using the BatchGetProjectsRequest method. -// req, resp := client.BatchGetProjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjects func (c *CodeBuild) BatchGetProjectsRequest(input *BatchGetProjectsInput) (req *request.Request, output *BatchGetProjectsOutput) { @@ -304,8 +300,8 @@ func (c *CodeBuild) BatchGetProjectsRequest(input *BatchGetProjectsInput) (req * // API operation BatchGetProjects for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetProjects func (c *CodeBuild) BatchGetProjects(input *BatchGetProjectsInput) (*BatchGetProjectsOutput, error) { @@ -345,14 +341,13 @@ const opBatchGetReportGroups = "BatchGetReportGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetReportGroupsRequest method. +// req, resp := client.BatchGetReportGroupsRequest(params) // -// // Example sending a request using the BatchGetReportGroupsRequest method. -// req, resp := client.BatchGetReportGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetReportGroups func (c *CodeBuild) BatchGetReportGroupsRequest(input *BatchGetReportGroupsInput) (req *request.Request, output *BatchGetReportGroupsOutput) { @@ -383,8 +378,8 @@ func (c *CodeBuild) BatchGetReportGroupsRequest(input *BatchGetReportGroupsInput // API operation BatchGetReportGroups for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetReportGroups func (c *CodeBuild) BatchGetReportGroups(input *BatchGetReportGroupsInput) (*BatchGetReportGroupsOutput, error) { @@ -424,14 +419,13 @@ const opBatchGetReports = "BatchGetReports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetReportsRequest method. +// req, resp := client.BatchGetReportsRequest(params) // -// // Example sending a request using the BatchGetReportsRequest method. -// req, resp := client.BatchGetReportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetReports func (c *CodeBuild) BatchGetReportsRequest(input *BatchGetReportsInput) (req *request.Request, output *BatchGetReportsOutput) { @@ -462,8 +456,8 @@ func (c *CodeBuild) BatchGetReportsRequest(input *BatchGetReportsInput) (req *re // API operation BatchGetReports for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/BatchGetReports func (c *CodeBuild) BatchGetReports(input *BatchGetReportsInput) (*BatchGetReportsOutput, error) { @@ -503,14 +497,13 @@ const opCreateProject = "CreateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProjectRequest method. +// req, resp := client.CreateProjectRequest(params) // -// // Example sending a request using the CreateProjectRequest method. -// req, resp := client.CreateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject func (c *CodeBuild) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) { @@ -541,16 +534,17 @@ func (c *CodeBuild) CreateProjectRequest(input *CreateProjectInput) (req *reques // API operation CreateProject for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceAlreadyExistsException -// The specified Amazon Web Services resource cannot be created, because an -// Amazon Web Services resource with the same settings already exists. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceAlreadyExistsException +// The specified Amazon Web Services resource cannot be created, because an +// Amazon Web Services resource with the same settings already exists. // -// * AccountLimitExceededException -// An Amazon Web Services service limit was exceeded for the calling Amazon -// Web Services account. +// - AccountLimitExceededException +// An Amazon Web Services service limit was exceeded for the calling Amazon +// Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateProject func (c *CodeBuild) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) { @@ -590,14 +584,13 @@ const opCreateReportGroup = "CreateReportGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReportGroupRequest method. +// req, resp := client.CreateReportGroupRequest(params) // -// // Example sending a request using the CreateReportGroupRequest method. -// req, resp := client.CreateReportGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateReportGroup func (c *CodeBuild) CreateReportGroupRequest(input *CreateReportGroupInput) (req *request.Request, output *CreateReportGroupOutput) { @@ -628,16 +621,17 @@ func (c *CodeBuild) CreateReportGroupRequest(input *CreateReportGroupInput) (req // API operation CreateReportGroup for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceAlreadyExistsException -// The specified Amazon Web Services resource cannot be created, because an -// Amazon Web Services resource with the same settings already exists. +// - InvalidInputException +// The input value that was provided is not valid. // -// * AccountLimitExceededException -// An Amazon Web Services service limit was exceeded for the calling Amazon -// Web Services account. +// - ResourceAlreadyExistsException +// The specified Amazon Web Services resource cannot be created, because an +// Amazon Web Services resource with the same settings already exists. +// +// - AccountLimitExceededException +// An Amazon Web Services service limit was exceeded for the calling Amazon +// Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateReportGroup func (c *CodeBuild) CreateReportGroup(input *CreateReportGroupInput) (*CreateReportGroupOutput, error) { @@ -677,14 +671,13 @@ const opCreateWebhook = "CreateWebhook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWebhookRequest method. +// req, resp := client.CreateWebhookRequest(params) // -// // Example sending a request using the CreateWebhookRequest method. -// req, resp := client.CreateWebhookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook func (c *CodeBuild) CreateWebhookRequest(input *CreateWebhookInput) (req *request.Request, output *CreateWebhookOutput) { @@ -725,18 +718,19 @@ func (c *CodeBuild) CreateWebhookRequest(input *CreateWebhookInput) (req *reques // API operation CreateWebhook for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * OAuthProviderException -// There was a problem with the underlying OAuth provider. +// - InvalidInputException +// The input value that was provided is not valid. // -// * ResourceAlreadyExistsException -// The specified Amazon Web Services resource cannot be created, because an -// Amazon Web Services resource with the same settings already exists. +// - OAuthProviderException +// There was a problem with the underlying OAuth provider. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - ResourceAlreadyExistsException +// The specified Amazon Web Services resource cannot be created, because an +// Amazon Web Services resource with the same settings already exists. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook func (c *CodeBuild) CreateWebhook(input *CreateWebhookInput) (*CreateWebhookOutput, error) { @@ -776,14 +770,13 @@ const opDeleteBuildBatch = "DeleteBuildBatch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBuildBatchRequest method. +// req, resp := client.DeleteBuildBatchRequest(params) // -// // Example sending a request using the DeleteBuildBatchRequest method. -// req, resp := client.DeleteBuildBatchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteBuildBatch func (c *CodeBuild) DeleteBuildBatchRequest(input *DeleteBuildBatchInput) (req *request.Request, output *DeleteBuildBatchOutput) { @@ -814,8 +807,8 @@ func (c *CodeBuild) DeleteBuildBatchRequest(input *DeleteBuildBatchInput) (req * // API operation DeleteBuildBatch for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteBuildBatch func (c *CodeBuild) DeleteBuildBatch(input *DeleteBuildBatchInput) (*DeleteBuildBatchOutput, error) { @@ -855,14 +848,13 @@ const opDeleteProject = "DeleteProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProjectRequest method. +// req, resp := client.DeleteProjectRequest(params) // -// // Example sending a request using the DeleteProjectRequest method. -// req, resp := client.DeleteProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProject func (c *CodeBuild) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) { @@ -894,8 +886,8 @@ func (c *CodeBuild) DeleteProjectRequest(input *DeleteProjectInput) (req *reques // API operation DeleteProject for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteProject func (c *CodeBuild) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) { @@ -935,14 +927,13 @@ const opDeleteReport = "DeleteReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReportRequest method. +// req, resp := client.DeleteReportRequest(params) // -// // Example sending a request using the DeleteReportRequest method. -// req, resp := client.DeleteReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteReport func (c *CodeBuild) DeleteReportRequest(input *DeleteReportInput) (req *request.Request, output *DeleteReportOutput) { @@ -974,8 +965,8 @@ func (c *CodeBuild) DeleteReportRequest(input *DeleteReportInput) (req *request. // API operation DeleteReport for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteReport func (c *CodeBuild) DeleteReport(input *DeleteReportInput) (*DeleteReportOutput, error) { @@ -1015,14 +1006,13 @@ const opDeleteReportGroup = "DeleteReportGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReportGroupRequest method. +// req, resp := client.DeleteReportGroupRequest(params) // -// // Example sending a request using the DeleteReportGroupRequest method. -// req, resp := client.DeleteReportGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteReportGroup func (c *CodeBuild) DeleteReportGroupRequest(input *DeleteReportGroupInput) (req *request.Request, output *DeleteReportGroupOutput) { @@ -1055,8 +1045,8 @@ func (c *CodeBuild) DeleteReportGroupRequest(input *DeleteReportGroupInput) (req // API operation DeleteReportGroup for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteReportGroup func (c *CodeBuild) DeleteReportGroup(input *DeleteReportGroupInput) (*DeleteReportGroupOutput, error) { @@ -1096,14 +1086,13 @@ const opDeleteResourcePolicy = "DeleteResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourcePolicyRequest method. +// req, resp := client.DeleteResourcePolicyRequest(params) // -// // Example sending a request using the DeleteResourcePolicyRequest method. -// req, resp := client.DeleteResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteResourcePolicy func (c *CodeBuild) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { @@ -1135,8 +1124,8 @@ func (c *CodeBuild) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput // API operation DeleteResourcePolicy for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteResourcePolicy func (c *CodeBuild) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { @@ -1176,14 +1165,13 @@ const opDeleteSourceCredentials = "DeleteSourceCredentials" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSourceCredentialsRequest method. +// req, resp := client.DeleteSourceCredentialsRequest(params) // -// // Example sending a request using the DeleteSourceCredentialsRequest method. -// req, resp := client.DeleteSourceCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteSourceCredentials func (c *CodeBuild) DeleteSourceCredentialsRequest(input *DeleteSourceCredentialsInput) (req *request.Request, output *DeleteSourceCredentialsOutput) { @@ -1214,11 +1202,12 @@ func (c *CodeBuild) DeleteSourceCredentialsRequest(input *DeleteSourceCredential // API operation DeleteSourceCredentials for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteSourceCredentials func (c *CodeBuild) DeleteSourceCredentials(input *DeleteSourceCredentialsInput) (*DeleteSourceCredentialsOutput, error) { @@ -1258,14 +1247,13 @@ const opDeleteWebhook = "DeleteWebhook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWebhookRequest method. +// req, resp := client.DeleteWebhookRequest(params) // -// // Example sending a request using the DeleteWebhookRequest method. -// req, resp := client.DeleteWebhookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhook func (c *CodeBuild) DeleteWebhookRequest(input *DeleteWebhookInput) (req *request.Request, output *DeleteWebhookOutput) { @@ -1299,14 +1287,15 @@ func (c *CodeBuild) DeleteWebhookRequest(input *DeleteWebhookInput) (req *reques // API operation DeleteWebhook for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // -// * OAuthProviderException -// There was a problem with the underlying OAuth provider. +// - OAuthProviderException +// There was a problem with the underlying OAuth provider. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DeleteWebhook func (c *CodeBuild) DeleteWebhook(input *DeleteWebhookInput) (*DeleteWebhookOutput, error) { @@ -1346,14 +1335,13 @@ const opDescribeCodeCoverages = "DescribeCodeCoverages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCodeCoveragesRequest method. +// req, resp := client.DescribeCodeCoveragesRequest(params) // -// // Example sending a request using the DescribeCodeCoveragesRequest method. -// req, resp := client.DescribeCodeCoveragesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DescribeCodeCoverages func (c *CodeBuild) DescribeCodeCoveragesRequest(input *DescribeCodeCoveragesInput) (req *request.Request, output *DescribeCodeCoveragesOutput) { @@ -1390,8 +1378,8 @@ func (c *CodeBuild) DescribeCodeCoveragesRequest(input *DescribeCodeCoveragesInp // API operation DescribeCodeCoverages for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DescribeCodeCoverages func (c *CodeBuild) DescribeCodeCoverages(input *DescribeCodeCoveragesInput) (*DescribeCodeCoveragesOutput, error) { @@ -1423,15 +1411,14 @@ func (c *CodeBuild) DescribeCodeCoveragesWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCodeCoverages operation. -// pageNum := 0 -// err := client.DescribeCodeCoveragesPages(params, -// func(page *codebuild.DescribeCodeCoveragesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCodeCoverages operation. +// pageNum := 0 +// err := client.DescribeCodeCoveragesPages(params, +// func(page *codebuild.DescribeCodeCoveragesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeBuild) DescribeCodeCoveragesPages(input *DescribeCodeCoveragesInput, fn func(*DescribeCodeCoveragesOutput, bool) bool) error { return c.DescribeCodeCoveragesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1483,14 +1470,13 @@ const opDescribeTestCases = "DescribeTestCases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTestCasesRequest method. +// req, resp := client.DescribeTestCasesRequest(params) // -// // Example sending a request using the DescribeTestCasesRequest method. -// req, resp := client.DescribeTestCasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DescribeTestCases func (c *CodeBuild) DescribeTestCasesRequest(input *DescribeTestCasesInput) (req *request.Request, output *DescribeTestCasesOutput) { @@ -1527,11 +1513,12 @@ func (c *CodeBuild) DescribeTestCasesRequest(input *DescribeTestCasesInput) (req // API operation DescribeTestCases for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/DescribeTestCases func (c *CodeBuild) DescribeTestCases(input *DescribeTestCasesInput) (*DescribeTestCasesOutput, error) { @@ -1563,15 +1550,14 @@ func (c *CodeBuild) DescribeTestCasesWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTestCases operation. -// pageNum := 0 -// err := client.DescribeTestCasesPages(params, -// func(page *codebuild.DescribeTestCasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTestCases operation. +// pageNum := 0 +// err := client.DescribeTestCasesPages(params, +// func(page *codebuild.DescribeTestCasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeBuild) DescribeTestCasesPages(input *DescribeTestCasesInput, fn func(*DescribeTestCasesOutput, bool) bool) error { return c.DescribeTestCasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1623,14 +1609,13 @@ const opGetReportGroupTrend = "GetReportGroupTrend" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReportGroupTrendRequest method. +// req, resp := client.GetReportGroupTrendRequest(params) // -// // Example sending a request using the GetReportGroupTrendRequest method. -// req, resp := client.GetReportGroupTrendRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetReportGroupTrend func (c *CodeBuild) GetReportGroupTrendRequest(input *GetReportGroupTrendInput) (req *request.Request, output *GetReportGroupTrendOutput) { @@ -1661,11 +1646,12 @@ func (c *CodeBuild) GetReportGroupTrendRequest(input *GetReportGroupTrendInput) // API operation GetReportGroupTrend for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetReportGroupTrend func (c *CodeBuild) GetReportGroupTrend(input *GetReportGroupTrendInput) (*GetReportGroupTrendOutput, error) { @@ -1705,14 +1691,13 @@ const opGetResourcePolicy = "GetResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourcePolicyRequest method. +// req, resp := client.GetResourcePolicyRequest(params) // -// // Example sending a request using the GetResourcePolicyRequest method. -// req, resp := client.GetResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetResourcePolicy func (c *CodeBuild) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput) { @@ -1743,11 +1728,12 @@ func (c *CodeBuild) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req // API operation GetResourcePolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. // -// * InvalidInputException -// The input value that was provided is not valid. +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. +// +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/GetResourcePolicy func (c *CodeBuild) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error) { @@ -1787,14 +1773,13 @@ const opImportSourceCredentials = "ImportSourceCredentials" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportSourceCredentialsRequest method. +// req, resp := client.ImportSourceCredentialsRequest(params) // -// // Example sending a request using the ImportSourceCredentialsRequest method. -// req, resp := client.ImportSourceCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ImportSourceCredentials func (c *CodeBuild) ImportSourceCredentialsRequest(input *ImportSourceCredentialsInput) (req *request.Request, output *ImportSourceCredentialsOutput) { @@ -1826,16 +1811,17 @@ func (c *CodeBuild) ImportSourceCredentialsRequest(input *ImportSourceCredential // API operation ImportSourceCredentials for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * AccountLimitExceededException -// An Amazon Web Services service limit was exceeded for the calling Amazon -// Web Services account. +// - InvalidInputException +// The input value that was provided is not valid. // -// * ResourceAlreadyExistsException -// The specified Amazon Web Services resource cannot be created, because an -// Amazon Web Services resource with the same settings already exists. +// - AccountLimitExceededException +// An Amazon Web Services service limit was exceeded for the calling Amazon +// Web Services account. +// +// - ResourceAlreadyExistsException +// The specified Amazon Web Services resource cannot be created, because an +// Amazon Web Services resource with the same settings already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ImportSourceCredentials func (c *CodeBuild) ImportSourceCredentials(input *ImportSourceCredentialsInput) (*ImportSourceCredentialsOutput, error) { @@ -1875,14 +1861,13 @@ const opInvalidateProjectCache = "InvalidateProjectCache" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InvalidateProjectCacheRequest method. +// req, resp := client.InvalidateProjectCacheRequest(params) // -// // Example sending a request using the InvalidateProjectCacheRequest method. -// req, resp := client.InvalidateProjectCacheRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCache func (c *CodeBuild) InvalidateProjectCacheRequest(input *InvalidateProjectCacheInput) (req *request.Request, output *InvalidateProjectCacheOutput) { @@ -1914,11 +1899,12 @@ func (c *CodeBuild) InvalidateProjectCacheRequest(input *InvalidateProjectCacheI // API operation InvalidateProjectCache for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/InvalidateProjectCache func (c *CodeBuild) InvalidateProjectCache(input *InvalidateProjectCacheInput) (*InvalidateProjectCacheOutput, error) { @@ -1958,14 +1944,13 @@ const opListBuildBatches = "ListBuildBatches" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBuildBatchesRequest method. +// req, resp := client.ListBuildBatchesRequest(params) // -// // Example sending a request using the ListBuildBatchesRequest method. -// req, resp := client.ListBuildBatchesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildBatches func (c *CodeBuild) ListBuildBatchesRequest(input *ListBuildBatchesInput) (req *request.Request, output *ListBuildBatchesOutput) { @@ -2002,8 +1987,8 @@ func (c *CodeBuild) ListBuildBatchesRequest(input *ListBuildBatchesInput) (req * // API operation ListBuildBatches for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildBatches func (c *CodeBuild) ListBuildBatches(input *ListBuildBatchesInput) (*ListBuildBatchesOutput, error) { @@ -2035,15 +2020,14 @@ func (c *CodeBuild) ListBuildBatchesWithContext(ctx aws.Context, input *ListBuil // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBuildBatches operation. -// pageNum := 0 -// err := client.ListBuildBatchesPages(params, -// func(page *codebuild.ListBuildBatchesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBuildBatches operation. +// pageNum := 0 +// err := client.ListBuildBatchesPages(params, +// func(page *codebuild.ListBuildBatchesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeBuild) ListBuildBatchesPages(input *ListBuildBatchesInput, fn func(*ListBuildBatchesOutput, bool) bool) error { return c.ListBuildBatchesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2095,14 +2079,13 @@ const opListBuildBatchesForProject = "ListBuildBatchesForProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBuildBatchesForProjectRequest method. +// req, resp := client.ListBuildBatchesForProjectRequest(params) // -// // Example sending a request using the ListBuildBatchesForProjectRequest method. -// req, resp := client.ListBuildBatchesForProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildBatchesForProject func (c *CodeBuild) ListBuildBatchesForProjectRequest(input *ListBuildBatchesForProjectInput) (req *request.Request, output *ListBuildBatchesForProjectOutput) { @@ -2139,11 +2122,12 @@ func (c *CodeBuild) ListBuildBatchesForProjectRequest(input *ListBuildBatchesFor // API operation ListBuildBatchesForProject for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildBatchesForProject func (c *CodeBuild) ListBuildBatchesForProject(input *ListBuildBatchesForProjectInput) (*ListBuildBatchesForProjectOutput, error) { @@ -2175,15 +2159,14 @@ func (c *CodeBuild) ListBuildBatchesForProjectWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBuildBatchesForProject operation. -// pageNum := 0 -// err := client.ListBuildBatchesForProjectPages(params, -// func(page *codebuild.ListBuildBatchesForProjectOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBuildBatchesForProject operation. +// pageNum := 0 +// err := client.ListBuildBatchesForProjectPages(params, +// func(page *codebuild.ListBuildBatchesForProjectOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeBuild) ListBuildBatchesForProjectPages(input *ListBuildBatchesForProjectInput, fn func(*ListBuildBatchesForProjectOutput, bool) bool) error { return c.ListBuildBatchesForProjectPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2235,14 +2218,13 @@ const opListBuilds = "ListBuilds" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBuildsRequest method. +// req, resp := client.ListBuildsRequest(params) // -// // Example sending a request using the ListBuildsRequest method. -// req, resp := client.ListBuildsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuilds func (c *CodeBuild) ListBuildsRequest(input *ListBuildsInput) (req *request.Request, output *ListBuildsOutput) { @@ -2279,8 +2261,8 @@ func (c *CodeBuild) ListBuildsRequest(input *ListBuildsInput) (req *request.Requ // API operation ListBuilds for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuilds func (c *CodeBuild) ListBuilds(input *ListBuildsInput) (*ListBuildsOutput, error) { @@ -2312,15 +2294,14 @@ func (c *CodeBuild) ListBuildsWithContext(ctx aws.Context, input *ListBuildsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBuilds operation. -// pageNum := 0 -// err := client.ListBuildsPages(params, -// func(page *codebuild.ListBuildsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBuilds operation. +// pageNum := 0 +// err := client.ListBuildsPages(params, +// func(page *codebuild.ListBuildsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeBuild) ListBuildsPages(input *ListBuildsInput, fn func(*ListBuildsOutput, bool) bool) error { return c.ListBuildsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2372,14 +2353,13 @@ const opListBuildsForProject = "ListBuildsForProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBuildsForProjectRequest method. +// req, resp := client.ListBuildsForProjectRequest(params) // -// // Example sending a request using the ListBuildsForProjectRequest method. -// req, resp := client.ListBuildsForProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProject func (c *CodeBuild) ListBuildsForProjectRequest(input *ListBuildsForProjectInput) (req *request.Request, output *ListBuildsForProjectOutput) { @@ -2417,11 +2397,12 @@ func (c *CodeBuild) ListBuildsForProjectRequest(input *ListBuildsForProjectInput // API operation ListBuildsForProject for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListBuildsForProject func (c *CodeBuild) ListBuildsForProject(input *ListBuildsForProjectInput) (*ListBuildsForProjectOutput, error) { @@ -2453,15 +2434,14 @@ func (c *CodeBuild) ListBuildsForProjectWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBuildsForProject operation. -// pageNum := 0 -// err := client.ListBuildsForProjectPages(params, -// func(page *codebuild.ListBuildsForProjectOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBuildsForProject operation. +// pageNum := 0 +// err := client.ListBuildsForProjectPages(params, +// func(page *codebuild.ListBuildsForProjectOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeBuild) ListBuildsForProjectPages(input *ListBuildsForProjectInput, fn func(*ListBuildsForProjectOutput, bool) bool) error { return c.ListBuildsForProjectPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2513,14 +2493,13 @@ const opListCuratedEnvironmentImages = "ListCuratedEnvironmentImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCuratedEnvironmentImagesRequest method. +// req, resp := client.ListCuratedEnvironmentImagesRequest(params) // -// // Example sending a request using the ListCuratedEnvironmentImagesRequest method. -// req, resp := client.ListCuratedEnvironmentImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListCuratedEnvironmentImages func (c *CodeBuild) ListCuratedEnvironmentImagesRequest(input *ListCuratedEnvironmentImagesInput) (req *request.Request, output *ListCuratedEnvironmentImagesOutput) { @@ -2587,14 +2566,13 @@ const opListProjects = "ListProjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProjectsRequest method. +// req, resp := client.ListProjectsRequest(params) // -// // Example sending a request using the ListProjectsRequest method. -// req, resp := client.ListProjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjects func (c *CodeBuild) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) { @@ -2632,8 +2610,8 @@ func (c *CodeBuild) ListProjectsRequest(input *ListProjectsInput) (req *request. // API operation ListProjects for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListProjects func (c *CodeBuild) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error) { @@ -2665,15 +2643,14 @@ func (c *CodeBuild) ListProjectsWithContext(ctx aws.Context, input *ListProjects // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProjects operation. -// pageNum := 0 -// err := client.ListProjectsPages(params, -// func(page *codebuild.ListProjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProjects operation. +// pageNum := 0 +// err := client.ListProjectsPages(params, +// func(page *codebuild.ListProjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeBuild) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error { return c.ListProjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2725,14 +2702,13 @@ const opListReportGroups = "ListReportGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReportGroupsRequest method. +// req, resp := client.ListReportGroupsRequest(params) // -// // Example sending a request using the ListReportGroupsRequest method. -// req, resp := client.ListReportGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportGroups func (c *CodeBuild) ListReportGroupsRequest(input *ListReportGroupsInput) (req *request.Request, output *ListReportGroupsOutput) { @@ -2770,8 +2746,8 @@ func (c *CodeBuild) ListReportGroupsRequest(input *ListReportGroupsInput) (req * // API operation ListReportGroups for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportGroups func (c *CodeBuild) ListReportGroups(input *ListReportGroupsInput) (*ListReportGroupsOutput, error) { @@ -2803,15 +2779,14 @@ func (c *CodeBuild) ListReportGroupsWithContext(ctx aws.Context, input *ListRepo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListReportGroups operation. -// pageNum := 0 -// err := client.ListReportGroupsPages(params, -// func(page *codebuild.ListReportGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListReportGroups operation. +// pageNum := 0 +// err := client.ListReportGroupsPages(params, +// func(page *codebuild.ListReportGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeBuild) ListReportGroupsPages(input *ListReportGroupsInput, fn func(*ListReportGroupsOutput, bool) bool) error { return c.ListReportGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2863,14 +2838,13 @@ const opListReports = "ListReports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReportsRequest method. +// req, resp := client.ListReportsRequest(params) // -// // Example sending a request using the ListReportsRequest method. -// req, resp := client.ListReportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReports func (c *CodeBuild) ListReportsRequest(input *ListReportsInput) (req *request.Request, output *ListReportsOutput) { @@ -2908,8 +2882,8 @@ func (c *CodeBuild) ListReportsRequest(input *ListReportsInput) (req *request.Re // API operation ListReports for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReports func (c *CodeBuild) ListReports(input *ListReportsInput) (*ListReportsOutput, error) { @@ -2941,15 +2915,14 @@ func (c *CodeBuild) ListReportsWithContext(ctx aws.Context, input *ListReportsIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListReports operation. -// pageNum := 0 -// err := client.ListReportsPages(params, -// func(page *codebuild.ListReportsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListReports operation. +// pageNum := 0 +// err := client.ListReportsPages(params, +// func(page *codebuild.ListReportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeBuild) ListReportsPages(input *ListReportsInput, fn func(*ListReportsOutput, bool) bool) error { return c.ListReportsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3001,14 +2974,13 @@ const opListReportsForReportGroup = "ListReportsForReportGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReportsForReportGroupRequest method. +// req, resp := client.ListReportsForReportGroupRequest(params) // -// // Example sending a request using the ListReportsForReportGroupRequest method. -// req, resp := client.ListReportsForReportGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportsForReportGroup func (c *CodeBuild) ListReportsForReportGroupRequest(input *ListReportsForReportGroupInput) (req *request.Request, output *ListReportsForReportGroupOutput) { @@ -3045,11 +3017,12 @@ func (c *CodeBuild) ListReportsForReportGroupRequest(input *ListReportsForReport // API operation ListReportsForReportGroup for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListReportsForReportGroup func (c *CodeBuild) ListReportsForReportGroup(input *ListReportsForReportGroupInput) (*ListReportsForReportGroupOutput, error) { @@ -3081,15 +3054,14 @@ func (c *CodeBuild) ListReportsForReportGroupWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListReportsForReportGroup operation. -// pageNum := 0 -// err := client.ListReportsForReportGroupPages(params, -// func(page *codebuild.ListReportsForReportGroupOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListReportsForReportGroup operation. +// pageNum := 0 +// err := client.ListReportsForReportGroupPages(params, +// func(page *codebuild.ListReportsForReportGroupOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeBuild) ListReportsForReportGroupPages(input *ListReportsForReportGroupInput, fn func(*ListReportsForReportGroupOutput, bool) bool) error { return c.ListReportsForReportGroupPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3141,14 +3113,13 @@ const opListSharedProjects = "ListSharedProjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSharedProjectsRequest method. +// req, resp := client.ListSharedProjectsRequest(params) // -// // Example sending a request using the ListSharedProjectsRequest method. -// req, resp := client.ListSharedProjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedProjects func (c *CodeBuild) ListSharedProjectsRequest(input *ListSharedProjectsInput) (req *request.Request, output *ListSharedProjectsOutput) { @@ -3186,8 +3157,8 @@ func (c *CodeBuild) ListSharedProjectsRequest(input *ListSharedProjectsInput) (r // API operation ListSharedProjects for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedProjects func (c *CodeBuild) ListSharedProjects(input *ListSharedProjectsInput) (*ListSharedProjectsOutput, error) { @@ -3219,15 +3190,14 @@ func (c *CodeBuild) ListSharedProjectsWithContext(ctx aws.Context, input *ListSh // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSharedProjects operation. -// pageNum := 0 -// err := client.ListSharedProjectsPages(params, -// func(page *codebuild.ListSharedProjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSharedProjects operation. +// pageNum := 0 +// err := client.ListSharedProjectsPages(params, +// func(page *codebuild.ListSharedProjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeBuild) ListSharedProjectsPages(input *ListSharedProjectsInput, fn func(*ListSharedProjectsOutput, bool) bool) error { return c.ListSharedProjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3279,14 +3249,13 @@ const opListSharedReportGroups = "ListSharedReportGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSharedReportGroupsRequest method. +// req, resp := client.ListSharedReportGroupsRequest(params) // -// // Example sending a request using the ListSharedReportGroupsRequest method. -// req, resp := client.ListSharedReportGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedReportGroups func (c *CodeBuild) ListSharedReportGroupsRequest(input *ListSharedReportGroupsInput) (req *request.Request, output *ListSharedReportGroupsOutput) { @@ -3324,8 +3293,8 @@ func (c *CodeBuild) ListSharedReportGroupsRequest(input *ListSharedReportGroupsI // API operation ListSharedReportGroups for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSharedReportGroups func (c *CodeBuild) ListSharedReportGroups(input *ListSharedReportGroupsInput) (*ListSharedReportGroupsOutput, error) { @@ -3357,15 +3326,14 @@ func (c *CodeBuild) ListSharedReportGroupsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSharedReportGroups operation. -// pageNum := 0 -// err := client.ListSharedReportGroupsPages(params, -// func(page *codebuild.ListSharedReportGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSharedReportGroups operation. +// pageNum := 0 +// err := client.ListSharedReportGroupsPages(params, +// func(page *codebuild.ListSharedReportGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeBuild) ListSharedReportGroupsPages(input *ListSharedReportGroupsInput, fn func(*ListSharedReportGroupsOutput, bool) bool) error { return c.ListSharedReportGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3417,14 +3385,13 @@ const opListSourceCredentials = "ListSourceCredentials" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSourceCredentialsRequest method. +// req, resp := client.ListSourceCredentialsRequest(params) // -// // Example sending a request using the ListSourceCredentialsRequest method. -// req, resp := client.ListSourceCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSourceCredentials func (c *CodeBuild) ListSourceCredentialsRequest(input *ListSourceCredentialsInput) (req *request.Request, output *ListSourceCredentialsOutput) { @@ -3455,8 +3422,8 @@ func (c *CodeBuild) ListSourceCredentialsRequest(input *ListSourceCredentialsInp // API operation ListSourceCredentials for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ListSourceCredentials func (c *CodeBuild) ListSourceCredentials(input *ListSourceCredentialsInput) (*ListSourceCredentialsOutput, error) { @@ -3496,14 +3463,13 @@ const opPutResourcePolicy = "PutResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutResourcePolicyRequest method. +// req, resp := client.PutResourcePolicyRequest(params) // -// // Example sending a request using the PutResourcePolicyRequest method. -// req, resp := client.PutResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/PutResourcePolicy func (c *CodeBuild) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { @@ -3534,11 +3500,12 @@ func (c *CodeBuild) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req // API operation PutResourcePolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. // -// * InvalidInputException -// The input value that was provided is not valid. +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. +// +// - InvalidInputException +// The input value that was provided is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/PutResourcePolicy func (c *CodeBuild) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { @@ -3578,14 +3545,13 @@ const opRetryBuild = "RetryBuild" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RetryBuildRequest method. +// req, resp := client.RetryBuildRequest(params) // -// // Example sending a request using the RetryBuildRequest method. -// req, resp := client.RetryBuildRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuild func (c *CodeBuild) RetryBuildRequest(input *RetryBuildInput) (req *request.Request, output *RetryBuildOutput) { @@ -3616,15 +3582,16 @@ func (c *CodeBuild) RetryBuildRequest(input *RetryBuildInput) (req *request.Requ // API operation RetryBuild for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // -// * AccountLimitExceededException -// An Amazon Web Services service limit was exceeded for the calling Amazon -// Web Services account. +// - AccountLimitExceededException +// An Amazon Web Services service limit was exceeded for the calling Amazon +// Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuild func (c *CodeBuild) RetryBuild(input *RetryBuildInput) (*RetryBuildOutput, error) { @@ -3664,14 +3631,13 @@ const opRetryBuildBatch = "RetryBuildBatch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RetryBuildBatchRequest method. +// req, resp := client.RetryBuildBatchRequest(params) // -// // Example sending a request using the RetryBuildBatchRequest method. -// req, resp := client.RetryBuildBatchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuildBatch func (c *CodeBuild) RetryBuildBatchRequest(input *RetryBuildBatchInput) (req *request.Request, output *RetryBuildBatchOutput) { @@ -3703,11 +3669,12 @@ func (c *CodeBuild) RetryBuildBatchRequest(input *RetryBuildBatchInput) (req *re // API operation RetryBuildBatch for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/RetryBuildBatch func (c *CodeBuild) RetryBuildBatch(input *RetryBuildBatchInput) (*RetryBuildBatchOutput, error) { @@ -3747,14 +3714,13 @@ const opStartBuild = "StartBuild" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartBuildRequest method. +// req, resp := client.StartBuildRequest(params) // -// // Example sending a request using the StartBuildRequest method. -// req, resp := client.StartBuildRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild func (c *CodeBuild) StartBuildRequest(input *StartBuildInput) (req *request.Request, output *StartBuildOutput) { @@ -3785,15 +3751,16 @@ func (c *CodeBuild) StartBuildRequest(input *StartBuildInput) (req *request.Requ // API operation StartBuild for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. // -// * AccountLimitExceededException -// An Amazon Web Services service limit was exceeded for the calling Amazon -// Web Services account. +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. +// +// - AccountLimitExceededException +// An Amazon Web Services service limit was exceeded for the calling Amazon +// Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuild func (c *CodeBuild) StartBuild(input *StartBuildInput) (*StartBuildOutput, error) { @@ -3833,14 +3800,13 @@ const opStartBuildBatch = "StartBuildBatch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartBuildBatchRequest method. +// req, resp := client.StartBuildBatchRequest(params) // -// // Example sending a request using the StartBuildBatchRequest method. -// req, resp := client.StartBuildBatchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildBatch func (c *CodeBuild) StartBuildBatchRequest(input *StartBuildBatchInput) (req *request.Request, output *StartBuildBatchOutput) { @@ -3871,11 +3837,12 @@ func (c *CodeBuild) StartBuildBatchRequest(input *StartBuildBatchInput) (req *re // API operation StartBuildBatch for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StartBuildBatch func (c *CodeBuild) StartBuildBatch(input *StartBuildBatchInput) (*StartBuildBatchOutput, error) { @@ -3915,14 +3882,13 @@ const opStopBuild = "StopBuild" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopBuildRequest method. +// req, resp := client.StopBuildRequest(params) // -// // Example sending a request using the StopBuildRequest method. -// req, resp := client.StopBuildRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild func (c *CodeBuild) StopBuildRequest(input *StopBuildInput) (req *request.Request, output *StopBuildOutput) { @@ -3953,11 +3919,12 @@ func (c *CodeBuild) StopBuildRequest(input *StopBuildInput) (req *request.Reques // API operation StopBuild for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuild func (c *CodeBuild) StopBuild(input *StopBuildInput) (*StopBuildOutput, error) { @@ -3997,14 +3964,13 @@ const opStopBuildBatch = "StopBuildBatch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopBuildBatchRequest method. +// req, resp := client.StopBuildBatchRequest(params) // -// // Example sending a request using the StopBuildBatchRequest method. -// req, resp := client.StopBuildBatchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildBatch func (c *CodeBuild) StopBuildBatchRequest(input *StopBuildBatchInput) (req *request.Request, output *StopBuildBatchOutput) { @@ -4035,11 +4001,12 @@ func (c *CodeBuild) StopBuildBatchRequest(input *StopBuildBatchInput) (req *requ // API operation StopBuildBatch for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/StopBuildBatch func (c *CodeBuild) StopBuildBatch(input *StopBuildBatchInput) (*StopBuildBatchOutput, error) { @@ -4079,14 +4046,13 @@ const opUpdateProject = "UpdateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProjectRequest method. +// req, resp := client.UpdateProjectRequest(params) // -// // Example sending a request using the UpdateProjectRequest method. -// req, resp := client.UpdateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject func (c *CodeBuild) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput) { @@ -4117,11 +4083,12 @@ func (c *CodeBuild) UpdateProjectRequest(input *UpdateProjectInput) (req *reques // API operation UpdateProject for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProject func (c *CodeBuild) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error) { @@ -4161,14 +4128,13 @@ const opUpdateProjectVisibility = "UpdateProjectVisibility" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProjectVisibilityRequest method. +// req, resp := client.UpdateProjectVisibilityRequest(params) // -// // Example sending a request using the UpdateProjectVisibilityRequest method. -// req, resp := client.UpdateProjectVisibilityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectVisibility func (c *CodeBuild) UpdateProjectVisibilityRequest(input *UpdateProjectVisibilityInput) (req *request.Request, output *UpdateProjectVisibilityOutput) { @@ -4196,27 +4162,27 @@ func (c *CodeBuild) UpdateProjectVisibilityRequest(input *UpdateProjectVisibilit // // The following should be kept in mind when making your projects public: // -// * All of a project's build results, logs, and artifacts, including builds -// that were run when the project was private, are available to the general -// public. -// -// * All build logs and artifacts are available to the public. Environment -// variables, source code, and other sensitive information may have been -// output to the build logs and artifacts. You must be careful about what -// information is output to the build logs. Some best practice are: Do not -// store sensitive values, especially Amazon Web Services access key IDs -// and secret access keys, in environment variables. We recommend that you -// use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to -// store sensitive values. Follow Best practices for using webhooks (https://docs.aws.amazon.com/codebuild/latest/userguide/webhooks.html#webhook-best-practices) -// in the CodeBuild User Guide to limit which entities can trigger a build, -// and do not store the buildspec in the project itself, to ensure that your -// webhooks are as secure as possible. -// -// * A malicious user can use public builds to distribute malicious artifacts. -// We recommend that you review all pull requests to verify that the pull -// request is a legitimate change. We also recommend that you validate any -// artifacts with their checksums to make sure that the correct artifacts -// are being downloaded. +// - All of a project's build results, logs, and artifacts, including builds +// that were run when the project was private, are available to the general +// public. +// +// - All build logs and artifacts are available to the public. Environment +// variables, source code, and other sensitive information may have been +// output to the build logs and artifacts. You must be careful about what +// information is output to the build logs. Some best practice are: Do not +// store sensitive values, especially Amazon Web Services access key IDs +// and secret access keys, in environment variables. We recommend that you +// use an Amazon EC2 Systems Manager Parameter Store or Secrets Manager to +// store sensitive values. Follow Best practices for using webhooks (https://docs.aws.amazon.com/codebuild/latest/userguide/webhooks.html#webhook-best-practices) +// in the CodeBuild User Guide to limit which entities can trigger a build, +// and do not store the buildspec in the project itself, to ensure that your +// webhooks are as secure as possible. +// +// - A malicious user can use public builds to distribute malicious artifacts. +// We recommend that you review all pull requests to verify that the pull +// request is a legitimate change. We also recommend that you validate any +// artifacts with their checksums to make sure that the correct artifacts +// are being downloaded. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4226,11 +4192,12 @@ func (c *CodeBuild) UpdateProjectVisibilityRequest(input *UpdateProjectVisibilit // API operation UpdateProjectVisibility for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateProjectVisibility func (c *CodeBuild) UpdateProjectVisibility(input *UpdateProjectVisibilityInput) (*UpdateProjectVisibilityOutput, error) { @@ -4270,14 +4237,13 @@ const opUpdateReportGroup = "UpdateReportGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateReportGroupRequest method. +// req, resp := client.UpdateReportGroupRequest(params) // -// // Example sending a request using the UpdateReportGroupRequest method. -// req, resp := client.UpdateReportGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroup func (c *CodeBuild) UpdateReportGroupRequest(input *UpdateReportGroupInput) (req *request.Request, output *UpdateReportGroupOutput) { @@ -4308,11 +4274,12 @@ func (c *CodeBuild) UpdateReportGroupRequest(input *UpdateReportGroupInput) (req // API operation UpdateReportGroup for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateReportGroup func (c *CodeBuild) UpdateReportGroup(input *UpdateReportGroupInput) (*UpdateReportGroupOutput, error) { @@ -4352,14 +4319,13 @@ const opUpdateWebhook = "UpdateWebhook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWebhookRequest method. +// req, resp := client.UpdateWebhookRequest(params) // -// // Example sending a request using the UpdateWebhookRequest method. -// req, resp := client.UpdateWebhookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhook func (c *CodeBuild) UpdateWebhookRequest(input *UpdateWebhookInput) (req *request.Request, output *UpdateWebhookOutput) { @@ -4392,14 +4358,15 @@ func (c *CodeBuild) UpdateWebhookRequest(input *UpdateWebhookInput) (req *reques // API operation UpdateWebhook for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input value that was provided is not valid. // -// * ResourceNotFoundException -// The specified Amazon Web Services resource cannot be found. +// - InvalidInputException +// The input value that was provided is not valid. +// +// - ResourceNotFoundException +// The specified Amazon Web Services resource cannot be found. // -// * OAuthProviderException -// There was a problem with the underlying OAuth provider. +// - OAuthProviderException +// There was a problem with the underlying OAuth provider. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhook func (c *CodeBuild) UpdateWebhook(input *UpdateWebhookInput) (*UpdateWebhookOutput, error) { @@ -12448,9 +12415,9 @@ func (s *PutResourcePolicyOutput) SetResourceArn(v string) *PutResourcePolicyOut // Information about credentials that provide access to a private Docker registry. // When this is set: // -// * imagePullCredentialsType must be set to SERVICE_ROLE. +// - imagePullCredentialsType must be set to SERVICE_ROLE. // -// * images cannot be curated or an Amazon ECR image. +// - images cannot be curated or an Amazon ECR image. // // For more information, see Private Registry with Secrets Manager Sample for // CodeBuild (https://docs.aws.amazon.com/codebuild/latest/userguide/sample-private-registry.html). @@ -16340,7 +16307,7 @@ func BatchReportModeType_Values() []string { // // This property can be one of the following values: // -// NONE +// # NONE // // The bucket owner does not have access to the objects. This is the default. // @@ -16349,16 +16316,16 @@ func BatchReportModeType_Values() []string { // The bucket owner has read-only access to the objects. The uploading account // retains ownership of the objects. // -// FULL +// # FULL // // The bucket owner has full access to the objects. Object ownership is determined // by the following criteria: // -// * If the bucket is configured with the Bucket owner preferred setting, -// the bucket owner owns the objects. The uploading account will have object -// access as specified by the bucket's policy. +// - If the bucket is configured with the Bucket owner preferred setting, +// the bucket owner owns the objects. The uploading account will have object +// access as specified by the bucket's policy. // -// * Otherwise, the uploading account retains ownership of the objects. +// - Otherwise, the uploading account retains ownership of the objects. // // For more information about Amazon S3 object ownership, see Controlling ownership // of uploaded objects using S3 Object Ownership (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) @@ -16737,7 +16704,7 @@ func ProjectSortByType_Values() []string { // // The project builds are visible to the public. // -// PRIVATE +// # PRIVATE // // The project builds are not visible to the public. const ( diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/codebuildiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/codebuildiface/interface.go index 58d5e2d5b98d..edc328125273 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/codebuildiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/codebuildiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS CodeBuild. -// func myFunc(svc codebuildiface.CodeBuildAPI) bool { -// // Make svc.BatchDeleteBuilds request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS CodeBuild. +// func myFunc(svc codebuildiface.CodeBuildAPI) bool { +// // Make svc.BatchDeleteBuilds request +// } // -// func main() { -// sess := session.New() -// svc := codebuild.New(sess) +// func main() { +// sess := session.New() +// svc := codebuild.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCodeBuildClient struct { -// codebuildiface.CodeBuildAPI -// } -// func (m *mockCodeBuildClient) BatchDeleteBuilds(input *codebuild.BatchDeleteBuildsInput) (*codebuild.BatchDeleteBuildsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCodeBuildClient struct { +// codebuildiface.CodeBuildAPI +// } +// func (m *mockCodeBuildClient) BatchDeleteBuilds(input *codebuild.BatchDeleteBuildsInput) (*codebuild.BatchDeleteBuildsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCodeBuildClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCodeBuildClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/doc.go index 75ec93ed8029..f3d3cf67205f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/doc.go @@ -18,7 +18,7 @@ // See codebuild package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/codebuild/ // -// Using the Client +// # Using the Client // // To contact AWS CodeBuild with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/service.go index 7fa7a8374800..f0c9f03b1197 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codebuild/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CodeBuild client from just a session. -// svc := codebuild.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CodeBuild client with additional configuration -// svc := codebuild.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CodeBuild client from just a session. +// svc := codebuild.New(mySession) +// +// // Create a CodeBuild client with additional configuration +// svc := codebuild.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeBuild { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/api.go index 92c237dbd8ba..70b514b33db8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/api.go @@ -29,14 +29,13 @@ const opAssociateApprovalRuleTemplateWithRepository = "AssociateApprovalRuleTemp // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateApprovalRuleTemplateWithRepositoryRequest method. +// req, resp := client.AssociateApprovalRuleTemplateWithRepositoryRequest(params) // -// // Example sending a request using the AssociateApprovalRuleTemplateWithRepositoryRequest method. -// req, resp := client.AssociateApprovalRuleTemplateWithRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/AssociateApprovalRuleTemplateWithRepository func (c *CodeCommit) AssociateApprovalRuleTemplateWithRepositoryRequest(input *AssociateApprovalRuleTemplateWithRepositoryInput) (req *request.Request, output *AssociateApprovalRuleTemplateWithRepositoryOutput) { @@ -74,50 +73,51 @@ func (c *CodeCommit) AssociateApprovalRuleTemplateWithRepositoryRequest(input *A // API operation AssociateApprovalRuleTemplateWithRepository for usage and error information. // // Returned Error Types: -// * ApprovalRuleTemplateNameRequiredException -// An approval rule template name is required, but was not specified. // -// * InvalidApprovalRuleTemplateNameException -// The name of the approval rule template is not valid. Template names must -// be between 1 and 100 valid characters in length. For more information about -// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). +// - ApprovalRuleTemplateNameRequiredException +// An approval rule template name is required, but was not specified. +// +// - InvalidApprovalRuleTemplateNameException +// The name of the approval rule template is not valid. Template names must +// be between 1 and 100 valid characters in length. For more information about +// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // -// * ApprovalRuleTemplateDoesNotExistException -// The specified approval rule template does not exist. Verify that the name -// is correct and that you are signed in to the AWS Region where the template -// was created, and then try again. +// - ApprovalRuleTemplateDoesNotExistException +// The specified approval rule template does not exist. Verify that the name +// is correct and that you are signed in to the AWS Region where the template +// was created, and then try again. // -// * MaximumRuleTemplatesAssociatedWithRepositoryException -// The maximum number of approval rule templates for a repository has been exceeded. -// You cannot associate more than 25 approval rule templates with a repository. +// - MaximumRuleTemplatesAssociatedWithRepositoryException +// The maximum number of approval rule templates for a repository has been exceeded. +// You cannot associate more than 25 approval rule templates with a repository. // -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/AssociateApprovalRuleTemplateWithRepository func (c *CodeCommit) AssociateApprovalRuleTemplateWithRepository(input *AssociateApprovalRuleTemplateWithRepositoryInput) (*AssociateApprovalRuleTemplateWithRepositoryOutput, error) { @@ -157,14 +157,13 @@ const opBatchAssociateApprovalRuleTemplateWithRepositories = "BatchAssociateAppr // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchAssociateApprovalRuleTemplateWithRepositoriesRequest method. +// req, resp := client.BatchAssociateApprovalRuleTemplateWithRepositoriesRequest(params) // -// // Example sending a request using the BatchAssociateApprovalRuleTemplateWithRepositoriesRequest method. -// req, resp := client.BatchAssociateApprovalRuleTemplateWithRepositoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchAssociateApprovalRuleTemplateWithRepositories func (c *CodeCommit) BatchAssociateApprovalRuleTemplateWithRepositoriesRequest(input *BatchAssociateApprovalRuleTemplateWithRepositoriesInput) (req *request.Request, output *BatchAssociateApprovalRuleTemplateWithRepositoriesOutput) { @@ -196,40 +195,41 @@ func (c *CodeCommit) BatchAssociateApprovalRuleTemplateWithRepositoriesRequest(i // API operation BatchAssociateApprovalRuleTemplateWithRepositories for usage and error information. // // Returned Error Types: -// * ApprovalRuleTemplateNameRequiredException -// An approval rule template name is required, but was not specified. // -// * InvalidApprovalRuleTemplateNameException -// The name of the approval rule template is not valid. Template names must -// be between 1 and 100 valid characters in length. For more information about -// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). +// - ApprovalRuleTemplateNameRequiredException +// An approval rule template name is required, but was not specified. // -// * ApprovalRuleTemplateDoesNotExistException -// The specified approval rule template does not exist. Verify that the name -// is correct and that you are signed in to the AWS Region where the template -// was created, and then try again. +// - InvalidApprovalRuleTemplateNameException +// The name of the approval rule template is not valid. Template names must +// be between 1 and 100 valid characters in length. For more information about +// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // -// * RepositoryNamesRequiredException -// At least one repository name object is required, but was not specified. +// - ApprovalRuleTemplateDoesNotExistException +// The specified approval rule template does not exist. Verify that the name +// is correct and that you are signed in to the AWS Region where the template +// was created, and then try again. // -// * MaximumRepositoryNamesExceededException -// The maximum number of allowed repository names was exceeded. Currently, this -// number is 100. +// - RepositoryNamesRequiredException +// At least one repository name object is required, but was not specified. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - MaximumRepositoryNamesExceededException +// The maximum number of allowed repository names was exceeded. Currently, this +// number is 100. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchAssociateApprovalRuleTemplateWithRepositories func (c *CodeCommit) BatchAssociateApprovalRuleTemplateWithRepositories(input *BatchAssociateApprovalRuleTemplateWithRepositoriesInput) (*BatchAssociateApprovalRuleTemplateWithRepositoriesOutput, error) { @@ -269,14 +269,13 @@ const opBatchDescribeMergeConflicts = "BatchDescribeMergeConflicts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDescribeMergeConflictsRequest method. +// req, resp := client.BatchDescribeMergeConflictsRequest(params) // -// // Example sending a request using the BatchDescribeMergeConflictsRequest method. -// req, resp := client.BatchDescribeMergeConflictsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDescribeMergeConflicts func (c *CodeCommit) BatchDescribeMergeConflictsRequest(input *BatchDescribeMergeConflictsInput) (req *request.Request, output *BatchDescribeMergeConflictsOutput) { @@ -308,77 +307,78 @@ func (c *CodeCommit) BatchDescribeMergeConflictsRequest(input *BatchDescribeMerg // API operation BatchDescribeMergeConflicts for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * MergeOptionRequiredException -// A merge option or stategy is required, and none was provided. +// - MergeOptionRequiredException +// A merge option or stategy is required, and none was provided. // -// * InvalidMergeOptionException -// The specified merge option is not valid for this operation. Not all merge -// strategies are supported for all operations. +// - InvalidMergeOptionException +// The specified merge option is not valid for this operation. Not all merge +// strategies are supported for all operations. // -// * InvalidContinuationTokenException -// The specified continuation token is not valid. +// - InvalidContinuationTokenException +// The specified continuation token is not valid. // -// * CommitRequiredException -// A commit was not specified. +// - CommitRequiredException +// A commit was not specified. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * InvalidCommitException -// The specified commit is not valid. +// - InvalidCommitException +// The specified commit is not valid. // -// * TipsDivergenceExceededException -// The divergence between the tips of the provided commit specifiers is too -// great to determine whether there might be any merge conflicts. Locally compare -// the specifiers using git diff or a diff tool. +// - TipsDivergenceExceededException +// The divergence between the tips of the provided commit specifiers is too +// great to determine whether there might be any merge conflicts. Locally compare +// the specifiers using git diff or a diff tool. // -// * InvalidMaxConflictFilesException -// The specified value for the number of conflict files to return is not valid. +// - InvalidMaxConflictFilesException +// The specified value for the number of conflict files to return is not valid. // -// * InvalidMaxMergeHunksException -// The specified value for the number of merge hunks to return is not valid. +// - InvalidMaxMergeHunksException +// The specified value for the number of merge hunks to return is not valid. // -// * InvalidConflictDetailLevelException -// The specified conflict detail level is not valid. +// - InvalidConflictDetailLevelException +// The specified conflict detail level is not valid. // -// * InvalidConflictResolutionStrategyException -// The specified conflict resolution strategy is not valid. +// - InvalidConflictResolutionStrategyException +// The specified conflict resolution strategy is not valid. // -// * MaximumFileContentToLoadExceededException -// The number of files to load exceeds the allowed limit. +// - MaximumFileContentToLoadExceededException +// The number of files to load exceeds the allowed limit. // -// * MaximumItemsToCompareExceededException -// The number of items to compare between the source or destination branches -// and the merge base has exceeded the maximum allowed. +// - MaximumItemsToCompareExceededException +// The number of items to compare between the source or destination branches +// and the merge base has exceeded the maximum allowed. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDescribeMergeConflicts func (c *CodeCommit) BatchDescribeMergeConflicts(input *BatchDescribeMergeConflictsInput) (*BatchDescribeMergeConflictsOutput, error) { @@ -418,14 +418,13 @@ const opBatchDisassociateApprovalRuleTemplateFromRepositories = "BatchDisassocia // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest method. +// req, resp := client.BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest(params) // -// // Example sending a request using the BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest method. -// req, resp := client.BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDisassociateApprovalRuleTemplateFromRepositories func (c *CodeCommit) BatchDisassociateApprovalRuleTemplateFromRepositoriesRequest(input *BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) (req *request.Request, output *BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput) { @@ -457,40 +456,41 @@ func (c *CodeCommit) BatchDisassociateApprovalRuleTemplateFromRepositoriesReques // API operation BatchDisassociateApprovalRuleTemplateFromRepositories for usage and error information. // // Returned Error Types: -// * ApprovalRuleTemplateNameRequiredException -// An approval rule template name is required, but was not specified. // -// * InvalidApprovalRuleTemplateNameException -// The name of the approval rule template is not valid. Template names must -// be between 1 and 100 valid characters in length. For more information about -// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). +// - ApprovalRuleTemplateNameRequiredException +// An approval rule template name is required, but was not specified. +// +// - InvalidApprovalRuleTemplateNameException +// The name of the approval rule template is not valid. Template names must +// be between 1 and 100 valid characters in length. For more information about +// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // -// * ApprovalRuleTemplateDoesNotExistException -// The specified approval rule template does not exist. Verify that the name -// is correct and that you are signed in to the AWS Region where the template -// was created, and then try again. +// - ApprovalRuleTemplateDoesNotExistException +// The specified approval rule template does not exist. Verify that the name +// is correct and that you are signed in to the AWS Region where the template +// was created, and then try again. // -// * RepositoryNamesRequiredException -// At least one repository name object is required, but was not specified. +// - RepositoryNamesRequiredException +// At least one repository name object is required, but was not specified. // -// * MaximumRepositoryNamesExceededException -// The maximum number of allowed repository names was exceeded. Currently, this -// number is 100. +// - MaximumRepositoryNamesExceededException +// The maximum number of allowed repository names was exceeded. Currently, this +// number is 100. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchDisassociateApprovalRuleTemplateFromRepositories func (c *CodeCommit) BatchDisassociateApprovalRuleTemplateFromRepositories(input *BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) (*BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput, error) { @@ -530,14 +530,13 @@ const opBatchGetCommits = "BatchGetCommits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetCommitsRequest method. +// req, resp := client.BatchGetCommitsRequest(params) // -// // Example sending a request using the BatchGetCommitsRequest method. -// req, resp := client.BatchGetCommitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetCommits func (c *CodeCommit) BatchGetCommitsRequest(input *BatchGetCommitsInput) (req *request.Request, output *BatchGetCommitsOutput) { @@ -568,42 +567,43 @@ func (c *CodeCommit) BatchGetCommitsRequest(input *BatchGetCommitsInput) (req *r // API operation BatchGetCommits for usage and error information. // // Returned Error Types: -// * CommitIdsListRequiredException -// A list of commit IDs is required, but was either not specified or the list -// was empty. // -// * CommitIdsLimitExceededException -// The maximum number of allowed commit IDs in a batch request is 100. Verify -// that your batch requests contains no more than 100 commit IDs, and then try -// again. +// - CommitIdsListRequiredException +// A list of commit IDs is required, but was either not specified or the list +// was empty. // -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. +// - CommitIdsLimitExceededException +// The maximum number of allowed commit IDs in a batch request is 100. Verify +// that your batch requests contains no more than 100 commit IDs, and then try +// again. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetCommits func (c *CodeCommit) BatchGetCommits(input *BatchGetCommitsInput) (*BatchGetCommitsOutput, error) { @@ -643,14 +643,13 @@ const opBatchGetRepositories = "BatchGetRepositories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetRepositoriesRequest method. +// req, resp := client.BatchGetRepositoriesRequest(params) // -// // Example sending a request using the BatchGetRepositoriesRequest method. -// req, resp := client.BatchGetRepositoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories func (c *CodeCommit) BatchGetRepositoriesRequest(input *BatchGetRepositoriesInput) (req *request.Request, output *BatchGetRepositoriesOutput) { @@ -687,34 +686,35 @@ func (c *CodeCommit) BatchGetRepositoriesRequest(input *BatchGetRepositoriesInpu // API operation BatchGetRepositories for usage and error information. // // Returned Error Types: -// * RepositoryNamesRequiredException -// At least one repository name object is required, but was not specified. // -// * MaximumRepositoryNamesExceededException -// The maximum number of allowed repository names was exceeded. Currently, this -// number is 100. +// - RepositoryNamesRequiredException +// At least one repository name object is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - MaximumRepositoryNamesExceededException +// The maximum number of allowed repository names was exceeded. Currently, this +// number is 100. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/BatchGetRepositories func (c *CodeCommit) BatchGetRepositories(input *BatchGetRepositoriesInput) (*BatchGetRepositoriesOutput, error) { @@ -754,14 +754,13 @@ const opCreateApprovalRuleTemplate = "CreateApprovalRuleTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApprovalRuleTemplateRequest method. +// req, resp := client.CreateApprovalRuleTemplateRequest(params) // -// // Example sending a request using the CreateApprovalRuleTemplateRequest method. -// req, resp := client.CreateApprovalRuleTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateApprovalRuleTemplate func (c *CodeCommit) CreateApprovalRuleTemplateRequest(input *CreateApprovalRuleTemplateInput) (req *request.Request, output *CreateApprovalRuleTemplateOutput) { @@ -796,34 +795,35 @@ func (c *CodeCommit) CreateApprovalRuleTemplateRequest(input *CreateApprovalRule // API operation CreateApprovalRuleTemplate for usage and error information. // // Returned Error Types: -// * ApprovalRuleTemplateNameRequiredException -// An approval rule template name is required, but was not specified. // -// * InvalidApprovalRuleTemplateNameException -// The name of the approval rule template is not valid. Template names must -// be between 1 and 100 valid characters in length. For more information about -// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). +// - ApprovalRuleTemplateNameRequiredException +// An approval rule template name is required, but was not specified. +// +// - InvalidApprovalRuleTemplateNameException +// The name of the approval rule template is not valid. Template names must +// be between 1 and 100 valid characters in length. For more information about +// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // -// * ApprovalRuleTemplateNameAlreadyExistsException -// You cannot create an approval rule template with that name because a template -// with that name already exists in this AWS Region for your AWS account. Approval -// rule template names must be unique. +// - ApprovalRuleTemplateNameAlreadyExistsException +// You cannot create an approval rule template with that name because a template +// with that name already exists in this AWS Region for your AWS account. Approval +// rule template names must be unique. // -// * ApprovalRuleTemplateContentRequiredException -// The content for the approval rule template is empty. You must provide some -// content for an approval rule template. The content cannot be null. +// - ApprovalRuleTemplateContentRequiredException +// The content for the approval rule template is empty. You must provide some +// content for an approval rule template. The content cannot be null. // -// * InvalidApprovalRuleTemplateContentException -// The content of the approval rule template is not valid. +// - InvalidApprovalRuleTemplateContentException +// The content of the approval rule template is not valid. // -// * InvalidApprovalRuleTemplateDescriptionException -// The description for the approval rule template is not valid because it exceeds -// the maximum characters allowed for a description. For more information about -// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). +// - InvalidApprovalRuleTemplateDescriptionException +// The description for the approval rule template is not valid because it exceeds +// the maximum characters allowed for a description. For more information about +// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // -// * NumberOfRuleTemplatesExceededException -// The maximum number of approval rule templates has been exceeded for this -// AWS Region. +// - NumberOfRuleTemplatesExceededException +// The maximum number of approval rule templates has been exceeded for this +// AWS Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateApprovalRuleTemplate func (c *CodeCommit) CreateApprovalRuleTemplate(input *CreateApprovalRuleTemplateInput) (*CreateApprovalRuleTemplateOutput, error) { @@ -863,14 +863,13 @@ const opCreateBranch = "CreateBranch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBranchRequest method. +// req, resp := client.CreateBranchRequest(params) // -// // Example sending a request using the CreateBranchRequest method. -// req, resp := client.CreateBranchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch func (c *CodeCommit) CreateBranchRequest(input *CreateBranchInput) (req *request.Request, output *CreateBranchOutput) { @@ -905,53 +904,54 @@ func (c *CodeCommit) CreateBranchRequest(input *CreateBranchInput) (req *request // API operation CreateBranch for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * BranchNameRequiredException -// A branch name is required, but was not specified. +// - BranchNameRequiredException +// A branch name is required, but was not specified. // -// * BranchNameExistsException -// Cannot create the branch with the specified name because the commit conflicts -// with an existing branch with the same name. Branch names must be unique. +// - BranchNameExistsException +// Cannot create the branch with the specified name because the commit conflicts +// with an existing branch with the same name. Branch names must be unique. // -// * InvalidBranchNameException -// The specified reference name is not valid. +// - InvalidBranchNameException +// The specified reference name is not valid. // -// * CommitIdRequiredException -// A commit ID was not specified. +// - CommitIdRequiredException +// A commit ID was not specified. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * InvalidCommitIdException -// The specified commit ID is not valid. +// - InvalidCommitIdException +// The specified commit ID is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateBranch func (c *CodeCommit) CreateBranch(input *CreateBranchInput) (*CreateBranchOutput, error) { @@ -991,14 +991,13 @@ const opCreateCommit = "CreateCommit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCommitRequest method. +// req, resp := client.CreateCommitRequest(params) // -// // Example sending a request using the CreateCommitRequest method. -// req, resp := client.CreateCommitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateCommit func (c *CodeCommit) CreateCommitRequest(input *CreateCommitInput) (req *request.Request, output *CreateCommitOutput) { @@ -1029,163 +1028,164 @@ func (c *CodeCommit) CreateCommitRequest(input *CreateCommitInput) (req *request // API operation CreateCommit for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. -// -// * ParentCommitIdRequiredException -// A parent commit ID is required. To view the full commit ID of a branch in -// a repository, use GetBranch or a Git command (for example, git pull or git -// log). -// -// * InvalidParentCommitIdException -// The parent commit ID is not valid. The commit ID cannot be empty, and must -// match the head commit ID for the branch of the repository where you want -// to add or update a file. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * ParentCommitDoesNotExistException -// The parent commit ID is not valid because it does not exist. The specified -// parent commit ID does not exist in the specified branch of the repository. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * ParentCommitIdOutdatedException -// The file could not be added because the provided parent commit ID is not -// the current tip of the specified branch. To view the full commit ID of the -// current head of the branch, use GetBranch. +// - ParentCommitIdRequiredException +// A parent commit ID is required. To view the full commit ID of a branch in +// a repository, use GetBranch or a Git command (for example, git pull or git +// log). // -// * BranchNameRequiredException -// A branch name is required, but was not specified. +// - InvalidParentCommitIdException +// The parent commit ID is not valid. The commit ID cannot be empty, and must +// match the head commit ID for the branch of the repository where you want +// to add or update a file. // -// * InvalidBranchNameException -// The specified reference name is not valid. +// - ParentCommitDoesNotExistException +// The parent commit ID is not valid because it does not exist. The specified +// parent commit ID does not exist in the specified branch of the repository. // -// * BranchDoesNotExistException -// The specified branch does not exist. +// - ParentCommitIdOutdatedException +// The file could not be added because the provided parent commit ID is not +// the current tip of the specified branch. To view the full commit ID of the +// current head of the branch, use GetBranch. // -// * BranchNameIsTagNameException -// The specified branch name is not valid because it is a tag name. Enter the -// name of a branch in the repository. For a list of valid branch names, use -// ListBranches. +// - BranchNameRequiredException +// A branch name is required, but was not specified. // -// * FileEntryRequiredException -// The commit cannot be created because no files have been specified as added, -// updated, or changed (PutFile or DeleteFile) for the commit. +// - InvalidBranchNameException +// The specified reference name is not valid. // -// * MaximumFileEntriesExceededException -// The number of specified files to change as part of this commit exceeds the -// maximum number of files that can be changed in a single commit. Consider -// using a Git client for these changes. +// - BranchDoesNotExistException +// The specified branch does not exist. // -// * PutFileEntryConflictException -// The commit cannot be created because one or more files specified in the commit -// reference both a file and a folder. +// - BranchNameIsTagNameException +// The specified branch name is not valid because it is a tag name. Enter the +// name of a branch in the repository. For a list of valid branch names, use +// ListBranches. // -// * SourceFileOrContentRequiredException -// The commit cannot be created because no source files or file content have -// been specified for the commit. +// - FileEntryRequiredException +// The commit cannot be created because no files have been specified as added, +// updated, or changed (PutFile or DeleteFile) for the commit. // -// * FileContentAndSourceFileSpecifiedException -// The commit cannot be created because both a source file and file content -// have been specified for the same file. You cannot provide both. Either specify -// a source file or provide the file content directly. +// - MaximumFileEntriesExceededException +// The number of specified files to change as part of this commit exceeds the +// maximum number of files that can be changed in a single commit. Consider +// using a Git client for these changes. // -// * PathRequiredException -// The folderPath for a location cannot be null. +// - PutFileEntryConflictException +// The commit cannot be created because one or more files specified in the commit +// reference both a file and a folder. // -// * InvalidPathException -// The specified path is not valid. +// - SourceFileOrContentRequiredException +// The commit cannot be created because no source files or file content have +// been specified for the commit. // -// * SamePathRequestException -// The commit cannot be created because one or more changes in this commit duplicate -// actions in the same file path. For example, you cannot make the same delete -// request to the same file in the same file path twice, or make a delete request -// and a move request to the same file as part of the same commit. +// - FileContentAndSourceFileSpecifiedException +// The commit cannot be created because both a source file and file content +// have been specified for the same file. You cannot provide both. Either specify +// a source file or provide the file content directly. // -// * FileDoesNotExistException -// The specified file does not exist. Verify that you have used the correct -// file name, full path, and extension. +// - PathRequiredException +// The folderPath for a location cannot be null. // -// * FileContentSizeLimitExceededException -// The file cannot be added because it is too large. The maximum file size is -// 6 MB, and the combined file content change size is 7 MB. Consider making -// these changes using a Git client. +// - InvalidPathException +// The specified path is not valid. // -// * FolderContentSizeLimitExceededException -// The commit cannot be created because at least one of the overall changes -// in the commit results in a folder whose contents exceed the limit of 6 MB. -// Either reduce the number and size of your changes, or split the changes across -// multiple folders. +// - SamePathRequestException +// The commit cannot be created because one or more changes in this commit duplicate +// actions in the same file path. For example, you cannot make the same delete +// request to the same file in the same file path twice, or make a delete request +// and a move request to the same file as part of the same commit. // -// * InvalidDeletionParameterException -// The specified deletion parameter is not valid. +// - FileDoesNotExistException +// The specified file does not exist. Verify that you have used the correct +// file name, full path, and extension. // -// * RestrictedSourceFileException -// The commit cannot be created because one of the changes specifies copying -// or moving a .gitkeep file. +// - FileContentSizeLimitExceededException +// The file cannot be added because it is too large. The maximum file size is +// 6 MB, and the combined file content change size is 7 MB. Consider making +// these changes using a Git client. // -// * FileModeRequiredException -// The commit cannot be created because no file mode has been specified. A file -// mode is required to update mode permissions for a file. +// - FolderContentSizeLimitExceededException +// The commit cannot be created because at least one of the overall changes +// in the commit results in a folder whose contents exceed the limit of 6 MB. +// Either reduce the number and size of your changes, or split the changes across +// multiple folders. // -// * InvalidFileModeException -// The specified file mode permission is not valid. For a list of valid file -// mode permissions, see PutFile. +// - InvalidDeletionParameterException +// The specified deletion parameter is not valid. // -// * NameLengthExceededException -// The user name is not valid because it has exceeded the character limit for -// author names. -// -// * InvalidEmailException -// The specified email address either contains one or more characters that are -// not allowed, or it exceeds the maximum number of characters allowed for an -// email address. -// -// * CommitMessageLengthExceededException -// The commit message is too long. Provide a shorter string. +// - RestrictedSourceFileException +// The commit cannot be created because one of the changes specifies copying +// or moving a .gitkeep file. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - FileModeRequiredException +// The commit cannot be created because no file mode has been specified. A file +// mode is required to update mode permissions for a file. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - InvalidFileModeException +// The specified file mode permission is not valid. For a list of valid file +// mode permissions, see PutFile. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - NameLengthExceededException +// The user name is not valid because it has exceeded the character limit for +// author names. +// +// - InvalidEmailException +// The specified email address either contains one or more characters that are +// not allowed, or it exceeds the maximum number of characters allowed for an +// email address. +// +// - CommitMessageLengthExceededException +// The commit message is too long. Provide a shorter string. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * NoChangeException -// The commit cannot be created because no changes will be made to the repository -// as a result of this commit. A commit must contain at least one change. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * FileNameConflictsWithDirectoryNameException -// A file cannot be added to the repository because the specified file name -// has the same name as a directory in this repository. Either provide another -// name for the file, or add the file in a directory that does not match the -// file name. -// -// * DirectoryNameConflictsWithFileNameException -// A file cannot be added to the repository because the specified path name -// has the same name as a file that already exists in this repository. Either -// provide a different name for the file, or specify a different path for the -// file. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * FilePathConflictsWithSubmodulePathException -// The commit cannot be created because a specified file path points to a submodule. -// Verify that the destination files have valid file paths that do not point -// to a submodule. +// - EncryptionKeyUnavailableException +// The encryption key is not available. +// +// - NoChangeException +// The commit cannot be created because no changes will be made to the repository +// as a result of this commit. A commit must contain at least one change. +// +// - FileNameConflictsWithDirectoryNameException +// A file cannot be added to the repository because the specified file name +// has the same name as a directory in this repository. Either provide another +// name for the file, or add the file in a directory that does not match the +// file name. +// +// - DirectoryNameConflictsWithFileNameException +// A file cannot be added to the repository because the specified path name +// has the same name as a file that already exists in this repository. Either +// provide a different name for the file, or specify a different path for the +// file. +// +// - FilePathConflictsWithSubmodulePathException +// The commit cannot be created because a specified file path points to a submodule. +// Verify that the destination files have valid file paths that do not point +// to a submodule. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateCommit func (c *CodeCommit) CreateCommit(input *CreateCommitInput) (*CreateCommitOutput, error) { @@ -1225,14 +1225,13 @@ const opCreatePullRequest = "CreatePullRequest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePullRequestRequest method. +// req, resp := client.CreatePullRequestRequest(params) // -// // Example sending a request using the CreatePullRequestRequest method. -// req, resp := client.CreatePullRequestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequest func (c *CodeCommit) CreatePullRequestRequest(input *CreatePullRequestInput) (req *request.Request, output *CreatePullRequestOutput) { @@ -1263,106 +1262,107 @@ func (c *CodeCommit) CreatePullRequestRequest(input *CreatePullRequestInput) (re // API operation CreatePullRequest for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // -// * ClientRequestTokenRequiredException -// A client request token is required. A client request token is an unique, -// client-generated idempotency token that, when provided in a request, ensures -// the request cannot be repeated with a changed parameter. If a request is -// received with the same parameters and a token is included, the request returns -// information about the initial request that used that token. +// - ClientRequestTokenRequiredException +// A client request token is required. A client request token is an unique, +// client-generated idempotency token that, when provided in a request, ensures +// the request cannot be repeated with a changed parameter. If a request is +// received with the same parameters and a token is included, the request returns +// information about the initial request that used that token. // -// * InvalidClientRequestTokenException -// The client request token is not valid. +// - InvalidClientRequestTokenException +// The client request token is not valid. // -// * IdempotencyParameterMismatchException -// The client request token is not valid. Either the token is not in a valid -// format, or the token has been used in a previous request and cannot be reused. +// - IdempotencyParameterMismatchException +// The client request token is not valid. Either the token is not in a valid +// format, or the token has been used in a previous request and cannot be reused. // -// * ReferenceNameRequiredException -// A reference name is required, but none was provided. +// - ReferenceNameRequiredException +// A reference name is required, but none was provided. // -// * InvalidReferenceNameException -// The specified reference name format is not valid. Reference names must conform -// to the Git references format (for example, refs/heads/master). For more information, -// see Git Internals - Git References (https://git-scm.com/book/en/v2/Git-Internals-Git-References) -// or consult your Git documentation. +// - InvalidReferenceNameException +// The specified reference name format is not valid. Reference names must conform +// to the Git references format (for example, refs/heads/master). For more information, +// see Git Internals - Git References (https://git-scm.com/book/en/v2/Git-Internals-Git-References) +// or consult your Git documentation. // -// * ReferenceDoesNotExistException -// The specified reference does not exist. You must provide a full commit ID. +// - ReferenceDoesNotExistException +// The specified reference does not exist. You must provide a full commit ID. // -// * ReferenceTypeNotSupportedException -// The specified reference is not a supported type. +// - ReferenceTypeNotSupportedException +// The specified reference is not a supported type. // -// * TitleRequiredException -// A pull request title is required. It cannot be empty or null. +// - TitleRequiredException +// A pull request title is required. It cannot be empty or null. // -// * InvalidTitleException -// The title of the pull request is not valid. Pull request titles cannot exceed -// 100 characters in length. +// - InvalidTitleException +// The title of the pull request is not valid. Pull request titles cannot exceed +// 100 characters in length. // -// * InvalidDescriptionException -// The pull request description is not valid. Descriptions cannot be more than -// 1,000 characters. +// - InvalidDescriptionException +// The pull request description is not valid. Descriptions cannot be more than +// 1,000 characters. // -// * TargetsRequiredException -// An array of target objects is required. It cannot be empty or null. +// - TargetsRequiredException +// An array of target objects is required. It cannot be empty or null. // -// * InvalidTargetsException -// The targets for the pull request is not valid or not in a valid format. Targets -// are a list of target objects. Each target object must contain the full values -// for the repository name, source branch, and destination branch for a pull -// request. +// - InvalidTargetsException +// The targets for the pull request is not valid or not in a valid format. Targets +// are a list of target objects. Each target object must contain the full values +// for the repository name, source branch, and destination branch for a pull +// request. // -// * TargetRequiredException -// A pull request target is required. It cannot be empty or null. A pull request -// target must contain the full values for the repository name, source branch, -// and destination branch for the pull request. +// - TargetRequiredException +// A pull request target is required. It cannot be empty or null. A pull request +// target must contain the full values for the repository name, source branch, +// and destination branch for the pull request. // -// * InvalidTargetException -// The target for the pull request is not valid. A target must contain the full -// values for the repository name, source branch, and destination branch for -// the pull request. +// - InvalidTargetException +// The target for the pull request is not valid. A target must contain the full +// values for the repository name, source branch, and destination branch for +// the pull request. // -// * MultipleRepositoriesInPullRequestException -// You cannot include more than one repository in a pull request. Make sure -// you have specified only one repository name in your request, and then try -// again. +// - MultipleRepositoriesInPullRequestException +// You cannot include more than one repository in a pull request. Make sure +// you have specified only one repository name in your request, and then try +// again. // -// * MaximumOpenPullRequestsExceededException -// You cannot create the pull request because the repository has too many open -// pull requests. The maximum number of open pull requests for a repository -// is 1,000. Close one or more open pull requests, and then try again. +// - MaximumOpenPullRequestsExceededException +// You cannot create the pull request because the repository has too many open +// pull requests. The maximum number of open pull requests for a repository +// is 1,000. Close one or more open pull requests, and then try again. // -// * SourceAndDestinationAreSameException -// The source branch and destination branch for the pull request are the same. -// You must specify different branches for the source and destination. +// - SourceAndDestinationAreSameException +// The source branch and destination branch for the pull request are the same. +// You must specify different branches for the source and destination. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequest func (c *CodeCommit) CreatePullRequest(input *CreatePullRequestInput) (*CreatePullRequestOutput, error) { @@ -1402,14 +1402,13 @@ const opCreatePullRequestApprovalRule = "CreatePullRequestApprovalRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePullRequestApprovalRuleRequest method. +// req, resp := client.CreatePullRequestApprovalRuleRequest(params) // -// // Example sending a request using the CreatePullRequestApprovalRuleRequest method. -// req, resp := client.CreatePullRequestApprovalRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestApprovalRule func (c *CodeCommit) CreatePullRequestApprovalRuleRequest(input *CreatePullRequestApprovalRuleInput) (req *request.Request, output *CreatePullRequestApprovalRuleOutput) { @@ -1440,56 +1439,57 @@ func (c *CodeCommit) CreatePullRequestApprovalRuleRequest(input *CreatePullReque // API operation CreatePullRequestApprovalRule for usage and error information. // // Returned Error Types: -// * ApprovalRuleNameRequiredException -// An approval rule name is required, but was not specified. // -// * InvalidApprovalRuleNameException -// The name for the approval rule is not valid. +// - ApprovalRuleNameRequiredException +// An approval rule name is required, but was not specified. +// +// - InvalidApprovalRuleNameException +// The name for the approval rule is not valid. // -// * ApprovalRuleNameAlreadyExistsException -// An approval rule with that name already exists. Approval rule names must -// be unique within the scope of a pull request. +// - ApprovalRuleNameAlreadyExistsException +// An approval rule with that name already exists. Approval rule names must +// be unique within the scope of a pull request. // -// * ApprovalRuleContentRequiredException -// The content for the approval rule is empty. You must provide some content -// for an approval rule. The content cannot be null. +// - ApprovalRuleContentRequiredException +// The content for the approval rule is empty. You must provide some content +// for an approval rule. The content cannot be null. // -// * InvalidApprovalRuleContentException -// The content for the approval rule is not valid. +// - InvalidApprovalRuleContentException +// The content for the approval rule is not valid. // -// * NumberOfRulesExceededException -// The approval rule cannot be added. The pull request has the maximum number -// of approval rules associated with it. +// - NumberOfRulesExceededException +// The approval rule cannot be added. The pull request has the maximum number +// of approval rules associated with it. // -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * PullRequestAlreadyClosedException -// The pull request status cannot be updated because it is already closed. +// - PullRequestAlreadyClosedException +// The pull request status cannot be updated because it is already closed. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreatePullRequestApprovalRule func (c *CodeCommit) CreatePullRequestApprovalRule(input *CreatePullRequestApprovalRuleInput) (*CreatePullRequestApprovalRuleOutput, error) { @@ -1529,14 +1529,13 @@ const opCreateRepository = "CreateRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRepositoryRequest method. +// req, resp := client.CreateRepositoryRequest(params) // -// // Example sending a request using the CreateRepositoryRequest method. -// req, resp := client.CreateRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository func (c *CodeCommit) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput) { @@ -1567,51 +1566,52 @@ func (c *CodeCommit) CreateRepositoryRequest(input *CreateRepositoryInput) (req // API operation CreateRepository for usage and error information. // // Returned Error Types: -// * RepositoryNameExistsException -// The specified repository name already exists. // -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. +// - RepositoryNameExistsException +// The specified repository name already exists. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * InvalidRepositoryDescriptionException -// The specified repository description is not valid. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryLimitExceededException -// A repository resource limit was exceeded. +// - InvalidRepositoryDescriptionException +// The specified repository description is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - RepositoryLimitExceededException +// A repository resource limit was exceeded. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * InvalidTagsMapException -// The map of tags is not valid. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // -// * TooManyTagsException -// The maximum number of tags for an AWS CodeCommit resource has been exceeded. +// - InvalidTagsMapException +// The map of tags is not valid. // -// * InvalidSystemTagUsageException -// The specified tag is not valid. Key names cannot be prefixed with aws:. +// - TooManyTagsException +// The maximum number of tags for an AWS CodeCommit resource has been exceeded. // -// * TagPolicyException -// The tag policy is not valid. +// - InvalidSystemTagUsageException +// The specified tag is not valid. Key names cannot be prefixed with aws:. +// +// - TagPolicyException +// The tag policy is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateRepository func (c *CodeCommit) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error) { @@ -1651,14 +1651,13 @@ const opCreateUnreferencedMergeCommit = "CreateUnreferencedMergeCommit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUnreferencedMergeCommitRequest method. +// req, resp := client.CreateUnreferencedMergeCommitRequest(params) // -// // Example sending a request using the CreateUnreferencedMergeCommitRequest method. -// req, resp := client.CreateUnreferencedMergeCommitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateUnreferencedMergeCommit func (c *CodeCommit) CreateUnreferencedMergeCommitRequest(input *CreateUnreferencedMergeCommitInput) (req *request.Request, output *CreateUnreferencedMergeCommitOutput) { @@ -1696,138 +1695,139 @@ func (c *CodeCommit) CreateUnreferencedMergeCommitRequest(input *CreateUnreferen // API operation CreateUnreferencedMergeCommit for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * TipsDivergenceExceededException -// The divergence between the tips of the provided commit specifiers is too -// great to determine whether there might be any merge conflicts. Locally compare -// the specifiers using git diff or a diff tool. +// - TipsDivergenceExceededException +// The divergence between the tips of the provided commit specifiers is too +// great to determine whether there might be any merge conflicts. Locally compare +// the specifiers using git diff or a diff tool. // -// * CommitRequiredException -// A commit was not specified. +// - CommitRequiredException +// A commit was not specified. // -// * InvalidCommitException -// The specified commit is not valid. +// - InvalidCommitException +// The specified commit is not valid. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * MergeOptionRequiredException -// A merge option or stategy is required, and none was provided. +// - MergeOptionRequiredException +// A merge option or stategy is required, and none was provided. // -// * InvalidMergeOptionException -// The specified merge option is not valid for this operation. Not all merge -// strategies are supported for all operations. +// - InvalidMergeOptionException +// The specified merge option is not valid for this operation. Not all merge +// strategies are supported for all operations. // -// * InvalidConflictDetailLevelException -// The specified conflict detail level is not valid. +// - InvalidConflictDetailLevelException +// The specified conflict detail level is not valid. // -// * InvalidConflictResolutionStrategyException -// The specified conflict resolution strategy is not valid. +// - InvalidConflictResolutionStrategyException +// The specified conflict resolution strategy is not valid. // -// * InvalidConflictResolutionException -// The specified conflict resolution list is not valid. +// - InvalidConflictResolutionException +// The specified conflict resolution list is not valid. // -// * ManualMergeRequiredException -// The pull request cannot be merged automatically into the destination branch. -// You must manually merge the branches and resolve any conflicts. +// - ManualMergeRequiredException +// The pull request cannot be merged automatically into the destination branch. +// You must manually merge the branches and resolve any conflicts. // -// * MaximumConflictResolutionEntriesExceededException -// The number of allowed conflict resolution entries was exceeded. +// - MaximumConflictResolutionEntriesExceededException +// The number of allowed conflict resolution entries was exceeded. // -// * MultipleConflictResolutionEntriesException -// More than one conflict resolution entries exists for the conflict. A conflict -// can have only one conflict resolution entry. +// - MultipleConflictResolutionEntriesException +// More than one conflict resolution entries exists for the conflict. A conflict +// can have only one conflict resolution entry. // -// * ReplacementTypeRequiredException -// A replacement type is required. +// - ReplacementTypeRequiredException +// A replacement type is required. // -// * InvalidReplacementTypeException -// Automerge was specified for resolving the conflict, but the specified replacement -// type is not valid. +// - InvalidReplacementTypeException +// Automerge was specified for resolving the conflict, but the specified replacement +// type is not valid. // -// * ReplacementContentRequiredException -// USE_NEW_CONTENT was specified, but no replacement content has been provided. +// - ReplacementContentRequiredException +// USE_NEW_CONTENT was specified, but no replacement content has been provided. // -// * InvalidReplacementContentException -// Automerge was specified for resolving the conflict, but the replacement type -// is not valid or content is missing. +// - InvalidReplacementContentException +// Automerge was specified for resolving the conflict, but the replacement type +// is not valid or content is missing. // -// * PathRequiredException -// The folderPath for a location cannot be null. +// - PathRequiredException +// The folderPath for a location cannot be null. // -// * InvalidPathException -// The specified path is not valid. +// - InvalidPathException +// The specified path is not valid. // -// * FileContentSizeLimitExceededException -// The file cannot be added because it is too large. The maximum file size is -// 6 MB, and the combined file content change size is 7 MB. Consider making -// these changes using a Git client. +// - FileContentSizeLimitExceededException +// The file cannot be added because it is too large. The maximum file size is +// 6 MB, and the combined file content change size is 7 MB. Consider making +// these changes using a Git client. // -// * FolderContentSizeLimitExceededException -// The commit cannot be created because at least one of the overall changes -// in the commit results in a folder whose contents exceed the limit of 6 MB. -// Either reduce the number and size of your changes, or split the changes across -// multiple folders. +// - FolderContentSizeLimitExceededException +// The commit cannot be created because at least one of the overall changes +// in the commit results in a folder whose contents exceed the limit of 6 MB. +// Either reduce the number and size of your changes, or split the changes across +// multiple folders. // -// * MaximumFileContentToLoadExceededException -// The number of files to load exceeds the allowed limit. +// - MaximumFileContentToLoadExceededException +// The number of files to load exceeds the allowed limit. // -// * MaximumItemsToCompareExceededException -// The number of items to compare between the source or destination branches -// and the merge base has exceeded the maximum allowed. +// - MaximumItemsToCompareExceededException +// The number of items to compare between the source or destination branches +// and the merge base has exceeded the maximum allowed. // -// * ConcurrentReferenceUpdateException -// The merge cannot be completed because the target branch has been modified. -// Another user might have modified the target branch while the merge was in -// progress. Wait a few minutes, and then try again. +// - ConcurrentReferenceUpdateException +// The merge cannot be completed because the target branch has been modified. +// Another user might have modified the target branch while the merge was in +// progress. Wait a few minutes, and then try again. // -// * FileModeRequiredException -// The commit cannot be created because no file mode has been specified. A file -// mode is required to update mode permissions for a file. +// - FileModeRequiredException +// The commit cannot be created because no file mode has been specified. A file +// mode is required to update mode permissions for a file. // -// * InvalidFileModeException -// The specified file mode permission is not valid. For a list of valid file -// mode permissions, see PutFile. +// - InvalidFileModeException +// The specified file mode permission is not valid. For a list of valid file +// mode permissions, see PutFile. // -// * NameLengthExceededException -// The user name is not valid because it has exceeded the character limit for -// author names. +// - NameLengthExceededException +// The user name is not valid because it has exceeded the character limit for +// author names. // -// * InvalidEmailException -// The specified email address either contains one or more characters that are -// not allowed, or it exceeds the maximum number of characters allowed for an -// email address. +// - InvalidEmailException +// The specified email address either contains one or more characters that are +// not allowed, or it exceeds the maximum number of characters allowed for an +// email address. // -// * CommitMessageLengthExceededException -// The commit message is too long. Provide a shorter string. +// - CommitMessageLengthExceededException +// The commit message is too long. Provide a shorter string. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/CreateUnreferencedMergeCommit func (c *CodeCommit) CreateUnreferencedMergeCommit(input *CreateUnreferencedMergeCommitInput) (*CreateUnreferencedMergeCommitOutput, error) { @@ -1867,14 +1867,13 @@ const opDeleteApprovalRuleTemplate = "DeleteApprovalRuleTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApprovalRuleTemplateRequest method. +// req, resp := client.DeleteApprovalRuleTemplateRequest(params) // -// // Example sending a request using the DeleteApprovalRuleTemplateRequest method. -// req, resp := client.DeleteApprovalRuleTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteApprovalRuleTemplate func (c *CodeCommit) DeleteApprovalRuleTemplateRequest(input *DeleteApprovalRuleTemplateInput) (req *request.Request, output *DeleteApprovalRuleTemplateOutput) { @@ -1906,18 +1905,19 @@ func (c *CodeCommit) DeleteApprovalRuleTemplateRequest(input *DeleteApprovalRule // API operation DeleteApprovalRuleTemplate for usage and error information. // // Returned Error Types: -// * ApprovalRuleTemplateNameRequiredException -// An approval rule template name is required, but was not specified. // -// * InvalidApprovalRuleTemplateNameException -// The name of the approval rule template is not valid. Template names must -// be between 1 and 100 valid characters in length. For more information about -// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). +// - ApprovalRuleTemplateNameRequiredException +// An approval rule template name is required, but was not specified. +// +// - InvalidApprovalRuleTemplateNameException +// The name of the approval rule template is not valid. Template names must +// be between 1 and 100 valid characters in length. For more information about +// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // -// * ApprovalRuleTemplateInUseException -// The approval rule template is associated with one or more repositories. You -// cannot delete a template that is associated with a repository. Remove all -// associations, and then try again. +// - ApprovalRuleTemplateInUseException +// The approval rule template is associated with one or more repositories. You +// cannot delete a template that is associated with a repository. Remove all +// associations, and then try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteApprovalRuleTemplate func (c *CodeCommit) DeleteApprovalRuleTemplate(input *DeleteApprovalRuleTemplateInput) (*DeleteApprovalRuleTemplateOutput, error) { @@ -1957,14 +1957,13 @@ const opDeleteBranch = "DeleteBranch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBranchRequest method. +// req, resp := client.DeleteBranchRequest(params) // -// // Example sending a request using the DeleteBranchRequest method. -// req, resp := client.DeleteBranchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranch func (c *CodeCommit) DeleteBranchRequest(input *DeleteBranchInput) (req *request.Request, output *DeleteBranchOutput) { @@ -1996,44 +1995,45 @@ func (c *CodeCommit) DeleteBranchRequest(input *DeleteBranchInput) (req *request // API operation DeleteBranch for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * BranchNameRequiredException -// A branch name is required, but was not specified. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * InvalidBranchNameException -// The specified reference name is not valid. +// - BranchNameRequiredException +// A branch name is required, but was not specified. // -// * DefaultBranchCannotBeDeletedException -// The specified branch is the default branch for the repository, and cannot -// be deleted. To delete this branch, you must first set another branch as the -// default branch. +// - InvalidBranchNameException +// The specified reference name is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - DefaultBranchCannotBeDeletedException +// The specified branch is the default branch for the repository, and cannot +// be deleted. To delete this branch, you must first set another branch as the +// default branch. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteBranch func (c *CodeCommit) DeleteBranch(input *DeleteBranchInput) (*DeleteBranchOutput, error) { @@ -2073,14 +2073,13 @@ const opDeleteCommentContent = "DeleteCommentContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCommentContentRequest method. +// req, resp := client.DeleteCommentContentRequest(params) // -// // Example sending a request using the DeleteCommentContentRequest method. -// req, resp := client.DeleteCommentContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContent func (c *CodeCommit) DeleteCommentContentRequest(input *DeleteCommentContentInput) (req *request.Request, output *DeleteCommentContentOutput) { @@ -2111,20 +2110,21 @@ func (c *CodeCommit) DeleteCommentContentRequest(input *DeleteCommentContentInpu // API operation DeleteCommentContent for usage and error information. // // Returned Error Types: -// * CommentDoesNotExistException -// No comment exists with the provided ID. Verify that you have used the correct -// ID, and then try again. // -// * CommentIdRequiredException -// The comment ID is missing or null. A comment ID is required. +// - CommentDoesNotExistException +// No comment exists with the provided ID. Verify that you have used the correct +// ID, and then try again. // -// * InvalidCommentIdException -// The comment ID is not in a valid format. Make sure that you have provided -// the full comment ID. +// - CommentIdRequiredException +// The comment ID is missing or null. A comment ID is required. // -// * CommentDeletedException -// This comment has already been deleted. You cannot edit or delete a deleted -// comment. +// - InvalidCommentIdException +// The comment ID is not in a valid format. Make sure that you have provided +// the full comment ID. +// +// - CommentDeletedException +// This comment has already been deleted. You cannot edit or delete a deleted +// comment. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteCommentContent func (c *CodeCommit) DeleteCommentContent(input *DeleteCommentContentInput) (*DeleteCommentContentOutput, error) { @@ -2164,14 +2164,13 @@ const opDeleteFile = "DeleteFile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFileRequest method. +// req, resp := client.DeleteFileRequest(params) // -// // Example sending a request using the DeleteFileRequest method. -// req, resp := client.DeleteFileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteFile func (c *CodeCommit) DeleteFileRequest(input *DeleteFileInput) (req *request.Request, output *DeleteFileOutput) { @@ -2204,88 +2203,89 @@ func (c *CodeCommit) DeleteFileRequest(input *DeleteFileInput) (req *request.Req // API operation DeleteFile for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * ParentCommitIdRequiredException -// A parent commit ID is required. To view the full commit ID of a branch in -// a repository, use GetBranch or a Git command (for example, git pull or git -// log). +// - ParentCommitIdRequiredException +// A parent commit ID is required. To view the full commit ID of a branch in +// a repository, use GetBranch or a Git command (for example, git pull or git +// log). // -// * InvalidParentCommitIdException -// The parent commit ID is not valid. The commit ID cannot be empty, and must -// match the head commit ID for the branch of the repository where you want -// to add or update a file. +// - InvalidParentCommitIdException +// The parent commit ID is not valid. The commit ID cannot be empty, and must +// match the head commit ID for the branch of the repository where you want +// to add or update a file. // -// * ParentCommitDoesNotExistException -// The parent commit ID is not valid because it does not exist. The specified -// parent commit ID does not exist in the specified branch of the repository. +// - ParentCommitDoesNotExistException +// The parent commit ID is not valid because it does not exist. The specified +// parent commit ID does not exist in the specified branch of the repository. // -// * ParentCommitIdOutdatedException -// The file could not be added because the provided parent commit ID is not -// the current tip of the specified branch. To view the full commit ID of the -// current head of the branch, use GetBranch. +// - ParentCommitIdOutdatedException +// The file could not be added because the provided parent commit ID is not +// the current tip of the specified branch. To view the full commit ID of the +// current head of the branch, use GetBranch. // -// * PathRequiredException -// The folderPath for a location cannot be null. +// - PathRequiredException +// The folderPath for a location cannot be null. // -// * InvalidPathException -// The specified path is not valid. +// - InvalidPathException +// The specified path is not valid. // -// * FileDoesNotExistException -// The specified file does not exist. Verify that you have used the correct -// file name, full path, and extension. +// - FileDoesNotExistException +// The specified file does not exist. Verify that you have used the correct +// file name, full path, and extension. // -// * BranchNameRequiredException -// A branch name is required, but was not specified. +// - BranchNameRequiredException +// A branch name is required, but was not specified. // -// * InvalidBranchNameException -// The specified reference name is not valid. +// - InvalidBranchNameException +// The specified reference name is not valid. // -// * BranchDoesNotExistException -// The specified branch does not exist. +// - BranchDoesNotExistException +// The specified branch does not exist. // -// * BranchNameIsTagNameException -// The specified branch name is not valid because it is a tag name. Enter the -// name of a branch in the repository. For a list of valid branch names, use -// ListBranches. +// - BranchNameIsTagNameException +// The specified branch name is not valid because it is a tag name. Enter the +// name of a branch in the repository. For a list of valid branch names, use +// ListBranches. // -// * NameLengthExceededException -// The user name is not valid because it has exceeded the character limit for -// author names. +// - NameLengthExceededException +// The user name is not valid because it has exceeded the character limit for +// author names. // -// * InvalidEmailException -// The specified email address either contains one or more characters that are -// not allowed, or it exceeds the maximum number of characters allowed for an -// email address. +// - InvalidEmailException +// The specified email address either contains one or more characters that are +// not allowed, or it exceeds the maximum number of characters allowed for an +// email address. // -// * CommitMessageLengthExceededException -// The commit message is too long. Provide a shorter string. +// - CommitMessageLengthExceededException +// The commit message is too long. Provide a shorter string. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteFile func (c *CodeCommit) DeleteFile(input *DeleteFileInput) (*DeleteFileOutput, error) { @@ -2325,14 +2325,13 @@ const opDeletePullRequestApprovalRule = "DeletePullRequestApprovalRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePullRequestApprovalRuleRequest method. +// req, resp := client.DeletePullRequestApprovalRuleRequest(params) // -// // Example sending a request using the DeletePullRequestApprovalRuleRequest method. -// req, resp := client.DeletePullRequestApprovalRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeletePullRequestApprovalRule func (c *CodeCommit) DeletePullRequestApprovalRuleRequest(input *DeletePullRequestApprovalRuleInput) (req *request.Request, output *DeletePullRequestApprovalRuleOutput) { @@ -2368,45 +2367,46 @@ func (c *CodeCommit) DeletePullRequestApprovalRuleRequest(input *DeletePullReque // API operation DeletePullRequestApprovalRule for usage and error information. // // Returned Error Types: -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. +// +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * PullRequestAlreadyClosedException -// The pull request status cannot be updated because it is already closed. +// - PullRequestAlreadyClosedException +// The pull request status cannot be updated because it is already closed. // -// * ApprovalRuleNameRequiredException -// An approval rule name is required, but was not specified. +// - ApprovalRuleNameRequiredException +// An approval rule name is required, but was not specified. // -// * InvalidApprovalRuleNameException -// The name for the approval rule is not valid. +// - InvalidApprovalRuleNameException +// The name for the approval rule is not valid. // -// * CannotDeleteApprovalRuleFromTemplateException -// The approval rule cannot be deleted from the pull request because it was -// created by an approval rule template and applied to the pull request automatically. +// - CannotDeleteApprovalRuleFromTemplateException +// The approval rule cannot be deleted from the pull request because it was +// created by an approval rule template and applied to the pull request automatically. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeletePullRequestApprovalRule func (c *CodeCommit) DeletePullRequestApprovalRule(input *DeletePullRequestApprovalRuleInput) (*DeletePullRequestApprovalRuleOutput, error) { @@ -2446,14 +2446,13 @@ const opDeleteRepository = "DeleteRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRepositoryRequest method. +// req, resp := client.DeleteRepositoryRequest(params) // -// // Example sending a request using the DeleteRepositoryRequest method. -// req, resp := client.DeleteRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository func (c *CodeCommit) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput) { @@ -2489,30 +2488,31 @@ func (c *CodeCommit) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req // API operation DeleteRepository for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteRepository func (c *CodeCommit) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error) { @@ -2552,14 +2552,13 @@ const opDescribeMergeConflicts = "DescribeMergeConflicts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMergeConflictsRequest method. +// req, resp := client.DescribeMergeConflictsRequest(params) // -// // Example sending a request using the DescribeMergeConflictsRequest method. -// req, resp := client.DescribeMergeConflictsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribeMergeConflicts func (c *CodeCommit) DescribeMergeConflictsRequest(input *DescribeMergeConflictsInput) (req *request.Request, output *DescribeMergeConflictsOutput) { @@ -2599,84 +2598,85 @@ func (c *CodeCommit) DescribeMergeConflictsRequest(input *DescribeMergeConflicts // API operation DescribeMergeConflicts for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * MergeOptionRequiredException -// A merge option or stategy is required, and none was provided. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * InvalidMergeOptionException -// The specified merge option is not valid for this operation. Not all merge -// strategies are supported for all operations. +// - MergeOptionRequiredException +// A merge option or stategy is required, and none was provided. // -// * InvalidContinuationTokenException -// The specified continuation token is not valid. +// - InvalidMergeOptionException +// The specified merge option is not valid for this operation. Not all merge +// strategies are supported for all operations. // -// * CommitRequiredException -// A commit was not specified. +// - InvalidContinuationTokenException +// The specified continuation token is not valid. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - CommitRequiredException +// A commit was not specified. // -// * InvalidCommitException -// The specified commit is not valid. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * TipsDivergenceExceededException -// The divergence between the tips of the provided commit specifiers is too -// great to determine whether there might be any merge conflicts. Locally compare -// the specifiers using git diff or a diff tool. +// - InvalidCommitException +// The specified commit is not valid. // -// * PathRequiredException -// The folderPath for a location cannot be null. +// - TipsDivergenceExceededException +// The divergence between the tips of the provided commit specifiers is too +// great to determine whether there might be any merge conflicts. Locally compare +// the specifiers using git diff or a diff tool. // -// * InvalidPathException -// The specified path is not valid. +// - PathRequiredException +// The folderPath for a location cannot be null. // -// * FileDoesNotExistException -// The specified file does not exist. Verify that you have used the correct -// file name, full path, and extension. +// - InvalidPathException +// The specified path is not valid. // -// * InvalidMaxMergeHunksException -// The specified value for the number of merge hunks to return is not valid. +// - FileDoesNotExistException +// The specified file does not exist. Verify that you have used the correct +// file name, full path, and extension. // -// * InvalidConflictDetailLevelException -// The specified conflict detail level is not valid. +// - InvalidMaxMergeHunksException +// The specified value for the number of merge hunks to return is not valid. // -// * InvalidConflictResolutionStrategyException -// The specified conflict resolution strategy is not valid. +// - InvalidConflictDetailLevelException +// The specified conflict detail level is not valid. // -// * MaximumFileContentToLoadExceededException -// The number of files to load exceeds the allowed limit. +// - InvalidConflictResolutionStrategyException +// The specified conflict resolution strategy is not valid. // -// * MaximumItemsToCompareExceededException -// The number of items to compare between the source or destination branches -// and the merge base has exceeded the maximum allowed. +// - MaximumFileContentToLoadExceededException +// The number of files to load exceeds the allowed limit. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - MaximumItemsToCompareExceededException +// The number of items to compare between the source or destination branches +// and the merge base has exceeded the maximum allowed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribeMergeConflicts func (c *CodeCommit) DescribeMergeConflicts(input *DescribeMergeConflictsInput) (*DescribeMergeConflictsOutput, error) { @@ -2708,15 +2708,14 @@ func (c *CodeCommit) DescribeMergeConflictsWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeMergeConflicts operation. -// pageNum := 0 -// err := client.DescribeMergeConflictsPages(params, -// func(page *codecommit.DescribeMergeConflictsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeMergeConflicts operation. +// pageNum := 0 +// err := client.DescribeMergeConflictsPages(params, +// func(page *codecommit.DescribeMergeConflictsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeCommit) DescribeMergeConflictsPages(input *DescribeMergeConflictsInput, fn func(*DescribeMergeConflictsOutput, bool) bool) error { return c.DescribeMergeConflictsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2768,14 +2767,13 @@ const opDescribePullRequestEvents = "DescribePullRequestEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePullRequestEventsRequest method. +// req, resp := client.DescribePullRequestEventsRequest(params) // -// // Example sending a request using the DescribePullRequestEventsRequest method. -// req, resp := client.DescribePullRequestEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEvents func (c *CodeCommit) DescribePullRequestEventsRequest(input *DescribePullRequestEventsInput) (req *request.Request, output *DescribePullRequestEventsOutput) { @@ -2812,49 +2810,50 @@ func (c *CodeCommit) DescribePullRequestEventsRequest(input *DescribePullRequest // API operation DescribePullRequestEvents for usage and error information. // // Returned Error Types: -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. +// +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * InvalidPullRequestEventTypeException -// The pull request event type is not valid. +// - InvalidPullRequestEventTypeException +// The pull request event type is not valid. // -// * InvalidActorArnException -// The Amazon Resource Name (ARN) is not valid. Make sure that you have provided -// the full ARN for the user who initiated the change for the pull request, -// and then try again. +// - InvalidActorArnException +// The Amazon Resource Name (ARN) is not valid. Make sure that you have provided +// the full ARN for the user who initiated the change for the pull request, +// and then try again. // -// * ActorDoesNotExistException -// The specified Amazon Resource Name (ARN) does not exist in the AWS account. +// - ActorDoesNotExistException +// The specified Amazon Resource Name (ARN) does not exist in the AWS account. // -// * InvalidMaxResultsException -// The specified number of maximum results is not valid. +// - InvalidMaxResultsException +// The specified number of maximum results is not valid. // -// * InvalidContinuationTokenException -// The specified continuation token is not valid. +// - InvalidContinuationTokenException +// The specified continuation token is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DescribePullRequestEvents func (c *CodeCommit) DescribePullRequestEvents(input *DescribePullRequestEventsInput) (*DescribePullRequestEventsOutput, error) { @@ -2886,15 +2885,14 @@ func (c *CodeCommit) DescribePullRequestEventsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePullRequestEvents operation. -// pageNum := 0 -// err := client.DescribePullRequestEventsPages(params, -// func(page *codecommit.DescribePullRequestEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePullRequestEvents operation. +// pageNum := 0 +// err := client.DescribePullRequestEventsPages(params, +// func(page *codecommit.DescribePullRequestEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeCommit) DescribePullRequestEventsPages(input *DescribePullRequestEventsInput, fn func(*DescribePullRequestEventsOutput, bool) bool) error { return c.DescribePullRequestEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2946,14 +2944,13 @@ const opDisassociateApprovalRuleTemplateFromRepository = "DisassociateApprovalRu // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateApprovalRuleTemplateFromRepositoryRequest method. +// req, resp := client.DisassociateApprovalRuleTemplateFromRepositoryRequest(params) // -// // Example sending a request using the DisassociateApprovalRuleTemplateFromRepositoryRequest method. -// req, resp := client.DisassociateApprovalRuleTemplateFromRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DisassociateApprovalRuleTemplateFromRepository func (c *CodeCommit) DisassociateApprovalRuleTemplateFromRepositoryRequest(input *DisassociateApprovalRuleTemplateFromRepositoryInput) (req *request.Request, output *DisassociateApprovalRuleTemplateFromRepositoryOutput) { @@ -2988,46 +2985,47 @@ func (c *CodeCommit) DisassociateApprovalRuleTemplateFromRepositoryRequest(input // API operation DisassociateApprovalRuleTemplateFromRepository for usage and error information. // // Returned Error Types: -// * ApprovalRuleTemplateNameRequiredException -// An approval rule template name is required, but was not specified. // -// * InvalidApprovalRuleTemplateNameException -// The name of the approval rule template is not valid. Template names must -// be between 1 and 100 valid characters in length. For more information about -// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). +// - ApprovalRuleTemplateNameRequiredException +// An approval rule template name is required, but was not specified. +// +// - InvalidApprovalRuleTemplateNameException +// The name of the approval rule template is not valid. Template names must +// be between 1 and 100 valid characters in length. For more information about +// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // -// * ApprovalRuleTemplateDoesNotExistException -// The specified approval rule template does not exist. Verify that the name -// is correct and that you are signed in to the AWS Region where the template -// was created, and then try again. +// - ApprovalRuleTemplateDoesNotExistException +// The specified approval rule template does not exist. Verify that the name +// is correct and that you are signed in to the AWS Region where the template +// was created, and then try again. // -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DisassociateApprovalRuleTemplateFromRepository func (c *CodeCommit) DisassociateApprovalRuleTemplateFromRepository(input *DisassociateApprovalRuleTemplateFromRepositoryInput) (*DisassociateApprovalRuleTemplateFromRepositoryOutput, error) { @@ -3067,14 +3065,13 @@ const opEvaluatePullRequestApprovalRules = "EvaluatePullRequestApprovalRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EvaluatePullRequestApprovalRulesRequest method. +// req, resp := client.EvaluatePullRequestApprovalRulesRequest(params) // -// // Example sending a request using the EvaluatePullRequestApprovalRulesRequest method. -// req, resp := client.EvaluatePullRequestApprovalRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EvaluatePullRequestApprovalRules func (c *CodeCommit) EvaluatePullRequestApprovalRulesRequest(input *EvaluatePullRequestApprovalRulesInput) (req *request.Request, output *EvaluatePullRequestApprovalRulesOutput) { @@ -3106,42 +3103,43 @@ func (c *CodeCommit) EvaluatePullRequestApprovalRulesRequest(input *EvaluatePull // API operation EvaluatePullRequestApprovalRules for usage and error information. // // Returned Error Types: -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * InvalidRevisionIdException -// The revision ID is not valid. Use GetPullRequest to determine the value. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * RevisionIdRequiredException -// A revision ID is required, but was not provided. +// - InvalidRevisionIdException +// The revision ID is not valid. Use GetPullRequest to determine the value. // -// * RevisionNotCurrentException -// The revision ID provided in the request does not match the current revision -// ID. Use GetPullRequest to retrieve the current revision ID. +// - RevisionIdRequiredException +// A revision ID is required, but was not provided. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - RevisionNotCurrentException +// The revision ID provided in the request does not match the current revision +// ID. Use GetPullRequest to retrieve the current revision ID. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/EvaluatePullRequestApprovalRules func (c *CodeCommit) EvaluatePullRequestApprovalRules(input *EvaluatePullRequestApprovalRulesInput) (*EvaluatePullRequestApprovalRulesOutput, error) { @@ -3181,14 +3179,13 @@ const opGetApprovalRuleTemplate = "GetApprovalRuleTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApprovalRuleTemplateRequest method. +// req, resp := client.GetApprovalRuleTemplateRequest(params) // -// // Example sending a request using the GetApprovalRuleTemplateRequest method. -// req, resp := client.GetApprovalRuleTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetApprovalRuleTemplate func (c *CodeCommit) GetApprovalRuleTemplateRequest(input *GetApprovalRuleTemplateInput) (req *request.Request, output *GetApprovalRuleTemplateOutput) { @@ -3219,18 +3216,19 @@ func (c *CodeCommit) GetApprovalRuleTemplateRequest(input *GetApprovalRuleTempla // API operation GetApprovalRuleTemplate for usage and error information. // // Returned Error Types: -// * ApprovalRuleTemplateNameRequiredException -// An approval rule template name is required, but was not specified. // -// * InvalidApprovalRuleTemplateNameException -// The name of the approval rule template is not valid. Template names must -// be between 1 and 100 valid characters in length. For more information about -// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). +// - ApprovalRuleTemplateNameRequiredException +// An approval rule template name is required, but was not specified. +// +// - InvalidApprovalRuleTemplateNameException +// The name of the approval rule template is not valid. Template names must +// be between 1 and 100 valid characters in length. For more information about +// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // -// * ApprovalRuleTemplateDoesNotExistException -// The specified approval rule template does not exist. Verify that the name -// is correct and that you are signed in to the AWS Region where the template -// was created, and then try again. +// - ApprovalRuleTemplateDoesNotExistException +// The specified approval rule template does not exist. Verify that the name +// is correct and that you are signed in to the AWS Region where the template +// was created, and then try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetApprovalRuleTemplate func (c *CodeCommit) GetApprovalRuleTemplate(input *GetApprovalRuleTemplateInput) (*GetApprovalRuleTemplateOutput, error) { @@ -3270,14 +3268,13 @@ const opGetBlob = "GetBlob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBlobRequest method. +// req, resp := client.GetBlobRequest(params) // -// // Example sending a request using the GetBlobRequest method. -// req, resp := client.GetBlobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob func (c *CodeCommit) GetBlobRequest(input *GetBlobInput) (req *request.Request, output *GetBlobOutput) { @@ -3308,47 +3305,48 @@ func (c *CodeCommit) GetBlobRequest(input *GetBlobInput) (req *request.Request, // API operation GetBlob for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * BlobIdRequiredException -// A blob ID is required, but was not specified. +// - BlobIdRequiredException +// A blob ID is required, but was not specified. // -// * InvalidBlobIdException -// The specified blob is not valid. +// - InvalidBlobIdException +// The specified blob is not valid. // -// * BlobIdDoesNotExistException -// The specified blob does not exist. +// - BlobIdDoesNotExistException +// The specified blob does not exist. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // -// * FileTooLargeException -// The specified file exceeds the file size limit for AWS CodeCommit. For more -// information about limits in AWS CodeCommit, see AWS CodeCommit User Guide -// (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). +// - FileTooLargeException +// The specified file exceeds the file size limit for AWS CodeCommit. For more +// information about limits in AWS CodeCommit, see AWS CodeCommit User Guide +// (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBlob func (c *CodeCommit) GetBlob(input *GetBlobInput) (*GetBlobOutput, error) { @@ -3388,14 +3386,13 @@ const opGetBranch = "GetBranch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBranchRequest method. +// req, resp := client.GetBranchRequest(params) // -// // Example sending a request using the GetBranchRequest method. -// req, resp := client.GetBranchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch func (c *CodeCommit) GetBranchRequest(input *GetBranchInput) (req *request.Request, output *GetBranchOutput) { @@ -3427,42 +3424,43 @@ func (c *CodeCommit) GetBranchRequest(input *GetBranchInput) (req *request.Reque // API operation GetBranch for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * BranchNameRequiredException -// A branch name is required, but was not specified. +// - BranchNameRequiredException +// A branch name is required, but was not specified. // -// * InvalidBranchNameException -// The specified reference name is not valid. +// - InvalidBranchNameException +// The specified reference name is not valid. // -// * BranchDoesNotExistException -// The specified branch does not exist. +// - BranchDoesNotExistException +// The specified branch does not exist. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetBranch func (c *CodeCommit) GetBranch(input *GetBranchInput) (*GetBranchOutput, error) { @@ -3502,14 +3500,13 @@ const opGetComment = "GetComment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCommentRequest method. +// req, resp := client.GetCommentRequest(params) // -// // Example sending a request using the GetCommentRequest method. -// req, resp := client.GetCommentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetComment func (c *CodeCommit) GetCommentRequest(input *GetCommentInput) (req *request.Request, output *GetCommentOutput) { @@ -3544,35 +3541,36 @@ func (c *CodeCommit) GetCommentRequest(input *GetCommentInput) (req *request.Req // API operation GetComment for usage and error information. // // Returned Error Types: -// * CommentDoesNotExistException -// No comment exists with the provided ID. Verify that you have used the correct -// ID, and then try again. // -// * CommentDeletedException -// This comment has already been deleted. You cannot edit or delete a deleted -// comment. +// - CommentDoesNotExistException +// No comment exists with the provided ID. Verify that you have used the correct +// ID, and then try again. // -// * CommentIdRequiredException -// The comment ID is missing or null. A comment ID is required. +// - CommentDeletedException +// This comment has already been deleted. You cannot edit or delete a deleted +// comment. // -// * InvalidCommentIdException -// The comment ID is not in a valid format. Make sure that you have provided -// the full comment ID. +// - CommentIdRequiredException +// The comment ID is missing or null. A comment ID is required. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - InvalidCommentIdException +// The comment ID is not in a valid format. Make sure that you have provided +// the full comment ID. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetComment func (c *CodeCommit) GetComment(input *GetCommentInput) (*GetCommentOutput, error) { @@ -3612,14 +3610,13 @@ const opGetCommentReactions = "GetCommentReactions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCommentReactionsRequest method. +// req, resp := client.GetCommentReactionsRequest(params) // -// // Example sending a request using the GetCommentReactionsRequest method. -// req, resp := client.GetCommentReactionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentReactions func (c *CodeCommit) GetCommentReactionsRequest(input *GetCommentReactionsInput) (req *request.Request, output *GetCommentReactionsOutput) { @@ -3657,29 +3654,30 @@ func (c *CodeCommit) GetCommentReactionsRequest(input *GetCommentReactionsInput) // API operation GetCommentReactions for usage and error information. // // Returned Error Types: -// * CommentDoesNotExistException -// No comment exists with the provided ID. Verify that you have used the correct -// ID, and then try again. // -// * CommentIdRequiredException -// The comment ID is missing or null. A comment ID is required. +// - CommentDoesNotExistException +// No comment exists with the provided ID. Verify that you have used the correct +// ID, and then try again. // -// * InvalidCommentIdException -// The comment ID is not in a valid format. Make sure that you have provided -// the full comment ID. +// - CommentIdRequiredException +// The comment ID is missing or null. A comment ID is required. // -// * InvalidReactionUserArnException -// The Amazon Resource Name (ARN) of the user or identity is not valid. +// - InvalidCommentIdException +// The comment ID is not in a valid format. Make sure that you have provided +// the full comment ID. // -// * InvalidMaxResultsException -// The specified number of maximum results is not valid. +// - InvalidReactionUserArnException +// The Amazon Resource Name (ARN) of the user or identity is not valid. // -// * InvalidContinuationTokenException -// The specified continuation token is not valid. +// - InvalidMaxResultsException +// The specified number of maximum results is not valid. // -// * CommentDeletedException -// This comment has already been deleted. You cannot edit or delete a deleted -// comment. +// - InvalidContinuationTokenException +// The specified continuation token is not valid. +// +// - CommentDeletedException +// This comment has already been deleted. You cannot edit or delete a deleted +// comment. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentReactions func (c *CodeCommit) GetCommentReactions(input *GetCommentReactionsInput) (*GetCommentReactionsOutput, error) { @@ -3711,15 +3709,14 @@ func (c *CodeCommit) GetCommentReactionsWithContext(ctx aws.Context, input *GetC // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetCommentReactions operation. -// pageNum := 0 -// err := client.GetCommentReactionsPages(params, -// func(page *codecommit.GetCommentReactionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetCommentReactions operation. +// pageNum := 0 +// err := client.GetCommentReactionsPages(params, +// func(page *codecommit.GetCommentReactionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeCommit) GetCommentReactionsPages(input *GetCommentReactionsInput, fn func(*GetCommentReactionsOutput, bool) bool) error { return c.GetCommentReactionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3771,14 +3768,13 @@ const opGetCommentsForComparedCommit = "GetCommentsForComparedCommit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCommentsForComparedCommitRequest method. +// req, resp := client.GetCommentsForComparedCommitRequest(params) // -// // Example sending a request using the GetCommentsForComparedCommitRequest method. -// req, resp := client.GetCommentsForComparedCommitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommit func (c *CodeCommit) GetCommentsForComparedCommitRequest(input *GetCommentsForComparedCommitInput) (req *request.Request, output *GetCommentsForComparedCommitOutput) { @@ -3819,49 +3815,50 @@ func (c *CodeCommit) GetCommentsForComparedCommitRequest(input *GetCommentsForCo // API operation GetCommentsForComparedCommit for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * CommitIdRequiredException -// A commit ID was not specified. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * InvalidCommitIdException -// The specified commit ID is not valid. +// - CommitIdRequiredException +// A commit ID was not specified. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - InvalidCommitIdException +// The specified commit ID is not valid. // -// * InvalidMaxResultsException -// The specified number of maximum results is not valid. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * InvalidContinuationTokenException -// The specified continuation token is not valid. +// - InvalidMaxResultsException +// The specified number of maximum results is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - InvalidContinuationTokenException +// The specified continuation token is not valid. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForComparedCommit func (c *CodeCommit) GetCommentsForComparedCommit(input *GetCommentsForComparedCommitInput) (*GetCommentsForComparedCommitOutput, error) { @@ -3893,15 +3890,14 @@ func (c *CodeCommit) GetCommentsForComparedCommitWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetCommentsForComparedCommit operation. -// pageNum := 0 -// err := client.GetCommentsForComparedCommitPages(params, -// func(page *codecommit.GetCommentsForComparedCommitOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetCommentsForComparedCommit operation. +// pageNum := 0 +// err := client.GetCommentsForComparedCommitPages(params, +// func(page *codecommit.GetCommentsForComparedCommitOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeCommit) GetCommentsForComparedCommitPages(input *GetCommentsForComparedCommitInput, fn func(*GetCommentsForComparedCommitOutput, bool) bool) error { return c.GetCommentsForComparedCommitPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3953,14 +3949,13 @@ const opGetCommentsForPullRequest = "GetCommentsForPullRequest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCommentsForPullRequestRequest method. +// req, resp := client.GetCommentsForPullRequestRequest(params) // -// // Example sending a request using the GetCommentsForPullRequestRequest method. -// req, resp := client.GetCommentsForPullRequestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequest func (c *CodeCommit) GetCommentsForPullRequestRequest(input *GetCommentsForPullRequestInput) (req *request.Request, output *GetCommentsForPullRequestOutput) { @@ -4001,66 +3996,67 @@ func (c *CodeCommit) GetCommentsForPullRequestRequest(input *GetCommentsForPullR // API operation GetCommentsForPullRequest for usage and error information. // // Returned Error Types: -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. // -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. +// +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * CommitIdRequiredException -// A commit ID was not specified. +// - CommitIdRequiredException +// A commit ID was not specified. // -// * InvalidCommitIdException -// The specified commit ID is not valid. +// - InvalidCommitIdException +// The specified commit ID is not valid. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * InvalidMaxResultsException -// The specified number of maximum results is not valid. +// - InvalidMaxResultsException +// The specified number of maximum results is not valid. // -// * InvalidContinuationTokenException -// The specified continuation token is not valid. +// - InvalidContinuationTokenException +// The specified continuation token is not valid. // -// * RepositoryNotAssociatedWithPullRequestException -// The repository does not contain any pull requests with that pull request -// ID. Use GetPullRequest to verify the correct repository name for the pull -// request ID. +// - RepositoryNotAssociatedWithPullRequestException +// The repository does not contain any pull requests with that pull request +// ID. Use GetPullRequest to verify the correct repository name for the pull +// request ID. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommentsForPullRequest func (c *CodeCommit) GetCommentsForPullRequest(input *GetCommentsForPullRequestInput) (*GetCommentsForPullRequestOutput, error) { @@ -4092,15 +4088,14 @@ func (c *CodeCommit) GetCommentsForPullRequestWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetCommentsForPullRequest operation. -// pageNum := 0 -// err := client.GetCommentsForPullRequestPages(params, -// func(page *codecommit.GetCommentsForPullRequestOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetCommentsForPullRequest operation. +// pageNum := 0 +// err := client.GetCommentsForPullRequestPages(params, +// func(page *codecommit.GetCommentsForPullRequestOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeCommit) GetCommentsForPullRequestPages(input *GetCommentsForPullRequestInput, fn func(*GetCommentsForPullRequestOutput, bool) bool) error { return c.GetCommentsForPullRequestPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4152,14 +4147,13 @@ const opGetCommit = "GetCommit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCommitRequest method. +// req, resp := client.GetCommitRequest(params) // -// // Example sending a request using the GetCommitRequest method. -// req, resp := client.GetCommitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit func (c *CodeCommit) GetCommitRequest(input *GetCommitInput) (req *request.Request, output *GetCommitOutput) { @@ -4191,42 +4185,43 @@ func (c *CodeCommit) GetCommitRequest(input *GetCommitInput) (req *request.Reque // API operation GetCommit for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * CommitIdRequiredException -// A commit ID was not specified. +// - CommitIdRequiredException +// A commit ID was not specified. // -// * InvalidCommitIdException -// The specified commit ID is not valid. +// - InvalidCommitIdException +// The specified commit ID is not valid. // -// * CommitIdDoesNotExistException -// The specified commit ID does not exist. +// - CommitIdDoesNotExistException +// The specified commit ID does not exist. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetCommit func (c *CodeCommit) GetCommit(input *GetCommitInput) (*GetCommitOutput, error) { @@ -4266,14 +4261,13 @@ const opGetDifferences = "GetDifferences" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDifferencesRequest method. +// req, resp := client.GetDifferencesRequest(params) // -// // Example sending a request using the GetDifferencesRequest method. -// req, resp := client.GetDifferencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences func (c *CodeCommit) GetDifferencesRequest(input *GetDifferencesInput) (req *request.Request, output *GetDifferencesOutput) { @@ -4312,58 +4306,59 @@ func (c *CodeCommit) GetDifferencesRequest(input *GetDifferencesInput) (req *req // API operation GetDifferences for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * InvalidContinuationTokenException -// The specified continuation token is not valid. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * InvalidMaxResultsException -// The specified number of maximum results is not valid. +// - InvalidContinuationTokenException +// The specified continuation token is not valid. // -// * InvalidCommitIdException -// The specified commit ID is not valid. +// - InvalidMaxResultsException +// The specified number of maximum results is not valid. // -// * CommitRequiredException -// A commit was not specified. +// - InvalidCommitIdException +// The specified commit ID is not valid. // -// * InvalidCommitException -// The specified commit is not valid. +// - CommitRequiredException +// A commit was not specified. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - InvalidCommitException +// The specified commit is not valid. // -// * InvalidPathException -// The specified path is not valid. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * PathDoesNotExistException -// The specified path does not exist. +// - InvalidPathException +// The specified path is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - PathDoesNotExistException +// The specified path does not exist. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetDifferences func (c *CodeCommit) GetDifferences(input *GetDifferencesInput) (*GetDifferencesOutput, error) { @@ -4395,15 +4390,14 @@ func (c *CodeCommit) GetDifferencesWithContext(ctx aws.Context, input *GetDiffer // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetDifferences operation. -// pageNum := 0 -// err := client.GetDifferencesPages(params, -// func(page *codecommit.GetDifferencesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetDifferences operation. +// pageNum := 0 +// err := client.GetDifferencesPages(params, +// func(page *codecommit.GetDifferencesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeCommit) GetDifferencesPages(input *GetDifferencesInput, fn func(*GetDifferencesOutput, bool) bool) error { return c.GetDifferencesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4455,14 +4449,13 @@ const opGetFile = "GetFile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFileRequest method. +// req, resp := client.GetFileRequest(params) // -// // Example sending a request using the GetFileRequest method. -// req, resp := client.GetFileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFile func (c *CodeCommit) GetFileRequest(input *GetFileInput) (req *request.Request, output *GetFileOutput) { @@ -4493,55 +4486,56 @@ func (c *CodeCommit) GetFileRequest(input *GetFileInput) (req *request.Request, // API operation GetFile for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * InvalidCommitException -// The specified commit is not valid. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - InvalidCommitException +// The specified commit is not valid. // -// * PathRequiredException -// The folderPath for a location cannot be null. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * InvalidPathException -// The specified path is not valid. +// - PathRequiredException +// The folderPath for a location cannot be null. // -// * FileDoesNotExistException -// The specified file does not exist. Verify that you have used the correct -// file name, full path, and extension. +// - InvalidPathException +// The specified path is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - FileDoesNotExistException +// The specified file does not exist. Verify that you have used the correct +// file name, full path, and extension. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * FileTooLargeException -// The specified file exceeds the file size limit for AWS CodeCommit. For more -// information about limits in AWS CodeCommit, see AWS CodeCommit User Guide -// (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). +// - EncryptionKeyUnavailableException +// The encryption key is not available. +// +// - FileTooLargeException +// The specified file exceeds the file size limit for AWS CodeCommit. For more +// information about limits in AWS CodeCommit, see AWS CodeCommit User Guide +// (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFile func (c *CodeCommit) GetFile(input *GetFileInput) (*GetFileOutput, error) { @@ -4581,14 +4575,13 @@ const opGetFolder = "GetFolder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFolderRequest method. +// req, resp := client.GetFolderRequest(params) // -// // Example sending a request using the GetFolderRequest method. -// req, resp := client.GetFolderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFolder func (c *CodeCommit) GetFolderRequest(input *GetFolderInput) (req *request.Request, output *GetFolderOutput) { @@ -4619,50 +4612,51 @@ func (c *CodeCommit) GetFolderRequest(input *GetFolderInput) (req *request.Reque // API operation GetFolder for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * InvalidCommitException -// The specified commit is not valid. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - InvalidCommitException +// The specified commit is not valid. // -// * PathRequiredException -// The folderPath for a location cannot be null. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * InvalidPathException -// The specified path is not valid. +// - PathRequiredException +// The folderPath for a location cannot be null. // -// * FolderDoesNotExistException -// The specified folder does not exist. Either the folder name is not correct, -// or you did not enter the full path to the folder. +// - InvalidPathException +// The specified path is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - FolderDoesNotExistException +// The specified folder does not exist. Either the folder name is not correct, +// or you did not enter the full path to the folder. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetFolder func (c *CodeCommit) GetFolder(input *GetFolderInput) (*GetFolderOutput, error) { @@ -4702,14 +4696,13 @@ const opGetMergeCommit = "GetMergeCommit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMergeCommitRequest method. +// req, resp := client.GetMergeCommitRequest(params) // -// // Example sending a request using the GetMergeCommitRequest method. -// req, resp := client.GetMergeCommitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeCommit func (c *CodeCommit) GetMergeCommitRequest(input *GetMergeCommitInput) (req *request.Request, output *GetMergeCommitOutput) { @@ -4740,49 +4733,50 @@ func (c *CodeCommit) GetMergeCommitRequest(input *GetMergeCommitInput) (req *req // API operation GetMergeCommit for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * CommitRequiredException -// A commit was not specified. +// - CommitRequiredException +// A commit was not specified. // -// * InvalidCommitException -// The specified commit is not valid. +// - InvalidCommitException +// The specified commit is not valid. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * InvalidConflictDetailLevelException -// The specified conflict detail level is not valid. +// - InvalidConflictDetailLevelException +// The specified conflict detail level is not valid. // -// * InvalidConflictResolutionStrategyException -// The specified conflict resolution strategy is not valid. +// - InvalidConflictResolutionStrategyException +// The specified conflict resolution strategy is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeCommit func (c *CodeCommit) GetMergeCommit(input *GetMergeCommitInput) (*GetMergeCommitOutput, error) { @@ -4822,14 +4816,13 @@ const opGetMergeConflicts = "GetMergeConflicts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMergeConflictsRequest method. +// req, resp := client.GetMergeConflictsRequest(params) // -// // Example sending a request using the GetMergeConflictsRequest method. -// req, resp := client.GetMergeConflictsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflicts func (c *CodeCommit) GetMergeConflictsRequest(input *GetMergeConflictsInput) (req *request.Request, output *GetMergeConflictsOutput) { @@ -4867,82 +4860,83 @@ func (c *CodeCommit) GetMergeConflictsRequest(input *GetMergeConflictsInput) (re // API operation GetMergeConflicts for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * MergeOptionRequiredException -// A merge option or stategy is required, and none was provided. +// - MergeOptionRequiredException +// A merge option or stategy is required, and none was provided. // -// * InvalidMergeOptionException -// The specified merge option is not valid for this operation. Not all merge -// strategies are supported for all operations. +// - InvalidMergeOptionException +// The specified merge option is not valid for this operation. Not all merge +// strategies are supported for all operations. // -// * InvalidContinuationTokenException -// The specified continuation token is not valid. +// - InvalidContinuationTokenException +// The specified continuation token is not valid. // -// * CommitRequiredException -// A commit was not specified. +// - CommitRequiredException +// A commit was not specified. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * InvalidCommitException -// The specified commit is not valid. +// - InvalidCommitException +// The specified commit is not valid. // -// * TipsDivergenceExceededException -// The divergence between the tips of the provided commit specifiers is too -// great to determine whether there might be any merge conflicts. Locally compare -// the specifiers using git diff or a diff tool. +// - TipsDivergenceExceededException +// The divergence between the tips of the provided commit specifiers is too +// great to determine whether there might be any merge conflicts. Locally compare +// the specifiers using git diff or a diff tool. // -// * InvalidMaxConflictFilesException -// The specified value for the number of conflict files to return is not valid. +// - InvalidMaxConflictFilesException +// The specified value for the number of conflict files to return is not valid. // -// * InvalidConflictDetailLevelException -// The specified conflict detail level is not valid. +// - InvalidConflictDetailLevelException +// The specified conflict detail level is not valid. // -// * InvalidDestinationCommitSpecifierException -// The destination commit specifier is not valid. You must provide a valid branch -// name, tag, or full commit ID. +// - InvalidDestinationCommitSpecifierException +// The destination commit specifier is not valid. You must provide a valid branch +// name, tag, or full commit ID. // -// * InvalidSourceCommitSpecifierException -// The source commit specifier is not valid. You must provide a valid branch -// name, tag, or full commit ID. +// - InvalidSourceCommitSpecifierException +// The source commit specifier is not valid. You must provide a valid branch +// name, tag, or full commit ID. // -// * InvalidConflictResolutionStrategyException -// The specified conflict resolution strategy is not valid. +// - InvalidConflictResolutionStrategyException +// The specified conflict resolution strategy is not valid. // -// * MaximumFileContentToLoadExceededException -// The number of files to load exceeds the allowed limit. +// - MaximumFileContentToLoadExceededException +// The number of files to load exceeds the allowed limit. // -// * MaximumItemsToCompareExceededException -// The number of items to compare between the source or destination branches -// and the merge base has exceeded the maximum allowed. +// - MaximumItemsToCompareExceededException +// The number of items to compare between the source or destination branches +// and the merge base has exceeded the maximum allowed. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeConflicts func (c *CodeCommit) GetMergeConflicts(input *GetMergeConflictsInput) (*GetMergeConflictsOutput, error) { @@ -4974,15 +4968,14 @@ func (c *CodeCommit) GetMergeConflictsWithContext(ctx aws.Context, input *GetMer // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetMergeConflicts operation. -// pageNum := 0 -// err := client.GetMergeConflictsPages(params, -// func(page *codecommit.GetMergeConflictsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetMergeConflicts operation. +// pageNum := 0 +// err := client.GetMergeConflictsPages(params, +// func(page *codecommit.GetMergeConflictsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeCommit) GetMergeConflictsPages(input *GetMergeConflictsInput, fn func(*GetMergeConflictsOutput, bool) bool) error { return c.GetMergeConflictsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5034,14 +5027,13 @@ const opGetMergeOptions = "GetMergeOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMergeOptionsRequest method. +// req, resp := client.GetMergeOptionsRequest(params) // -// // Example sending a request using the GetMergeOptionsRequest method. -// req, resp := client.GetMergeOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeOptions func (c *CodeCommit) GetMergeOptionsRequest(input *GetMergeOptionsInput) (req *request.Request, output *GetMergeOptionsOutput) { @@ -5074,61 +5066,62 @@ func (c *CodeCommit) GetMergeOptionsRequest(input *GetMergeOptionsInput) (req *r // API operation GetMergeOptions for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * CommitRequiredException -// A commit was not specified. +// - CommitRequiredException +// A commit was not specified. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * InvalidCommitException -// The specified commit is not valid. +// - InvalidCommitException +// The specified commit is not valid. // -// * TipsDivergenceExceededException -// The divergence between the tips of the provided commit specifiers is too -// great to determine whether there might be any merge conflicts. Locally compare -// the specifiers using git diff or a diff tool. +// - TipsDivergenceExceededException +// The divergence between the tips of the provided commit specifiers is too +// great to determine whether there might be any merge conflicts. Locally compare +// the specifiers using git diff or a diff tool. // -// * InvalidConflictDetailLevelException -// The specified conflict detail level is not valid. +// - InvalidConflictDetailLevelException +// The specified conflict detail level is not valid. // -// * InvalidConflictResolutionStrategyException -// The specified conflict resolution strategy is not valid. +// - InvalidConflictResolutionStrategyException +// The specified conflict resolution strategy is not valid. // -// * MaximumFileContentToLoadExceededException -// The number of files to load exceeds the allowed limit. +// - MaximumFileContentToLoadExceededException +// The number of files to load exceeds the allowed limit. // -// * MaximumItemsToCompareExceededException -// The number of items to compare between the source or destination branches -// and the merge base has exceeded the maximum allowed. +// - MaximumItemsToCompareExceededException +// The number of items to compare between the source or destination branches +// and the merge base has exceeded the maximum allowed. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetMergeOptions func (c *CodeCommit) GetMergeOptions(input *GetMergeOptionsInput) (*GetMergeOptionsOutput, error) { @@ -5168,14 +5161,13 @@ const opGetPullRequest = "GetPullRequest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPullRequestRequest method. +// req, resp := client.GetPullRequestRequest(params) // -// // Example sending a request using the GetPullRequestRequest method. -// req, resp := client.GetPullRequestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequest func (c *CodeCommit) GetPullRequestRequest(input *GetPullRequestInput) (req *request.Request, output *GetPullRequestOutput) { @@ -5206,32 +5198,33 @@ func (c *CodeCommit) GetPullRequestRequest(input *GetPullRequestInput) (req *req // API operation GetPullRequest for usage and error information. // // Returned Error Types: -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. +// +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequest func (c *CodeCommit) GetPullRequest(input *GetPullRequestInput) (*GetPullRequestOutput, error) { @@ -5271,14 +5264,13 @@ const opGetPullRequestApprovalStates = "GetPullRequestApprovalStates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPullRequestApprovalStatesRequest method. +// req, resp := client.GetPullRequestApprovalStatesRequest(params) // -// // Example sending a request using the GetPullRequestApprovalStatesRequest method. -// req, resp := client.GetPullRequestApprovalStatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestApprovalStates func (c *CodeCommit) GetPullRequestApprovalStatesRequest(input *GetPullRequestApprovalStatesInput) (req *request.Request, output *GetPullRequestApprovalStatesOutput) { @@ -5311,38 +5303,39 @@ func (c *CodeCommit) GetPullRequestApprovalStatesRequest(input *GetPullRequestAp // API operation GetPullRequestApprovalStates for usage and error information. // // Returned Error Types: -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. +// +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * InvalidRevisionIdException -// The revision ID is not valid. Use GetPullRequest to determine the value. +// - InvalidRevisionIdException +// The revision ID is not valid. Use GetPullRequest to determine the value. // -// * RevisionIdRequiredException -// A revision ID is required, but was not provided. +// - RevisionIdRequiredException +// A revision ID is required, but was not provided. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestApprovalStates func (c *CodeCommit) GetPullRequestApprovalStates(input *GetPullRequestApprovalStatesInput) (*GetPullRequestApprovalStatesOutput, error) { @@ -5382,14 +5375,13 @@ const opGetPullRequestOverrideState = "GetPullRequestOverrideState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPullRequestOverrideStateRequest method. +// req, resp := client.GetPullRequestOverrideStateRequest(params) // -// // Example sending a request using the GetPullRequestOverrideStateRequest method. -// req, resp := client.GetPullRequestOverrideStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestOverrideState func (c *CodeCommit) GetPullRequestOverrideStateRequest(input *GetPullRequestOverrideStateInput) (req *request.Request, output *GetPullRequestOverrideStateOutput) { @@ -5422,38 +5414,39 @@ func (c *CodeCommit) GetPullRequestOverrideStateRequest(input *GetPullRequestOve // API operation GetPullRequestOverrideState for usage and error information. // // Returned Error Types: -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * InvalidRevisionIdException -// The revision ID is not valid. Use GetPullRequest to determine the value. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * RevisionIdRequiredException -// A revision ID is required, but was not provided. +// - InvalidRevisionIdException +// The revision ID is not valid. Use GetPullRequest to determine the value. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - RevisionIdRequiredException +// A revision ID is required, but was not provided. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetPullRequestOverrideState func (c *CodeCommit) GetPullRequestOverrideState(input *GetPullRequestOverrideStateInput) (*GetPullRequestOverrideStateOutput, error) { @@ -5493,14 +5486,13 @@ const opGetRepository = "GetRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRepositoryRequest method. +// req, resp := client.GetRepositoryRequest(params) // -// // Example sending a request using the GetRepositoryRequest method. -// req, resp := client.GetRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository func (c *CodeCommit) GetRepositoryRequest(input *GetRepositoryInput) (req *request.Request, output *GetRepositoryOutput) { @@ -5537,33 +5529,34 @@ func (c *CodeCommit) GetRepositoryRequest(input *GetRepositoryInput) (req *reque // API operation GetRepository for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepository func (c *CodeCommit) GetRepository(input *GetRepositoryInput) (*GetRepositoryOutput, error) { @@ -5603,14 +5596,13 @@ const opGetRepositoryTriggers = "GetRepositoryTriggers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRepositoryTriggersRequest method. +// req, resp := client.GetRepositoryTriggersRequest(params) // -// // Example sending a request using the GetRepositoryTriggersRequest method. -// req, resp := client.GetRepositoryTriggersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers func (c *CodeCommit) GetRepositoryTriggersRequest(input *GetRepositoryTriggersInput) (req *request.Request, output *GetRepositoryTriggersOutput) { @@ -5641,33 +5633,34 @@ func (c *CodeCommit) GetRepositoryTriggersRequest(input *GetRepositoryTriggersIn // API operation GetRepositoryTriggers for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/GetRepositoryTriggers func (c *CodeCommit) GetRepositoryTriggers(input *GetRepositoryTriggersInput) (*GetRepositoryTriggersOutput, error) { @@ -5707,14 +5700,13 @@ const opListApprovalRuleTemplates = "ListApprovalRuleTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApprovalRuleTemplatesRequest method. +// req, resp := client.ListApprovalRuleTemplatesRequest(params) // -// // Example sending a request using the ListApprovalRuleTemplatesRequest method. -// req, resp := client.ListApprovalRuleTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplates func (c *CodeCommit) ListApprovalRuleTemplatesRequest(input *ListApprovalRuleTemplatesInput) (req *request.Request, output *ListApprovalRuleTemplatesOutput) { @@ -5753,11 +5745,12 @@ func (c *CodeCommit) ListApprovalRuleTemplatesRequest(input *ListApprovalRuleTem // API operation ListApprovalRuleTemplates for usage and error information. // // Returned Error Types: -// * InvalidMaxResultsException -// The specified number of maximum results is not valid. // -// * InvalidContinuationTokenException -// The specified continuation token is not valid. +// - InvalidMaxResultsException +// The specified number of maximum results is not valid. +// +// - InvalidContinuationTokenException +// The specified continuation token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListApprovalRuleTemplates func (c *CodeCommit) ListApprovalRuleTemplates(input *ListApprovalRuleTemplatesInput) (*ListApprovalRuleTemplatesOutput, error) { @@ -5789,15 +5782,14 @@ func (c *CodeCommit) ListApprovalRuleTemplatesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApprovalRuleTemplates operation. -// pageNum := 0 -// err := client.ListApprovalRuleTemplatesPages(params, -// func(page *codecommit.ListApprovalRuleTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApprovalRuleTemplates operation. +// pageNum := 0 +// err := client.ListApprovalRuleTemplatesPages(params, +// func(page *codecommit.ListApprovalRuleTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeCommit) ListApprovalRuleTemplatesPages(input *ListApprovalRuleTemplatesInput, fn func(*ListApprovalRuleTemplatesOutput, bool) bool) error { return c.ListApprovalRuleTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5849,14 +5841,13 @@ const opListAssociatedApprovalRuleTemplatesForRepository = "ListAssociatedApprov // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssociatedApprovalRuleTemplatesForRepositoryRequest method. +// req, resp := client.ListAssociatedApprovalRuleTemplatesForRepositoryRequest(params) // -// // Example sending a request using the ListAssociatedApprovalRuleTemplatesForRepositoryRequest method. -// req, resp := client.ListAssociatedApprovalRuleTemplatesForRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListAssociatedApprovalRuleTemplatesForRepository func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryRequest(input *ListAssociatedApprovalRuleTemplatesForRepositoryInput) (req *request.Request, output *ListAssociatedApprovalRuleTemplatesForRepositoryOutput) { @@ -5893,39 +5884,40 @@ func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryRequest(inp // API operation ListAssociatedApprovalRuleTemplatesForRepository for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * InvalidMaxResultsException -// The specified number of maximum results is not valid. +// - InvalidMaxResultsException +// The specified number of maximum results is not valid. // -// * InvalidContinuationTokenException -// The specified continuation token is not valid. +// - InvalidContinuationTokenException +// The specified continuation token is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListAssociatedApprovalRuleTemplatesForRepository func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepository(input *ListAssociatedApprovalRuleTemplatesForRepositoryInput) (*ListAssociatedApprovalRuleTemplatesForRepositoryOutput, error) { @@ -5957,15 +5949,14 @@ func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryWithContext // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssociatedApprovalRuleTemplatesForRepository operation. -// pageNum := 0 -// err := client.ListAssociatedApprovalRuleTemplatesForRepositoryPages(params, -// func(page *codecommit.ListAssociatedApprovalRuleTemplatesForRepositoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssociatedApprovalRuleTemplatesForRepository operation. +// pageNum := 0 +// err := client.ListAssociatedApprovalRuleTemplatesForRepositoryPages(params, +// func(page *codecommit.ListAssociatedApprovalRuleTemplatesForRepositoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeCommit) ListAssociatedApprovalRuleTemplatesForRepositoryPages(input *ListAssociatedApprovalRuleTemplatesForRepositoryInput, fn func(*ListAssociatedApprovalRuleTemplatesForRepositoryOutput, bool) bool) error { return c.ListAssociatedApprovalRuleTemplatesForRepositoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6017,14 +6008,13 @@ const opListBranches = "ListBranches" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBranchesRequest method. +// req, resp := client.ListBranchesRequest(params) // -// // Example sending a request using the ListBranchesRequest method. -// req, resp := client.ListBranchesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches func (c *CodeCommit) ListBranchesRequest(input *ListBranchesInput) (req *request.Request, output *ListBranchesOutput) { @@ -6061,36 +6051,37 @@ func (c *CodeCommit) ListBranchesRequest(input *ListBranchesInput) (req *request // API operation ListBranches for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // -// * InvalidContinuationTokenException -// The specified continuation token is not valid. +// - InvalidContinuationTokenException +// The specified continuation token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListBranches func (c *CodeCommit) ListBranches(input *ListBranchesInput) (*ListBranchesOutput, error) { @@ -6122,15 +6113,14 @@ func (c *CodeCommit) ListBranchesWithContext(ctx aws.Context, input *ListBranche // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBranches operation. -// pageNum := 0 -// err := client.ListBranchesPages(params, -// func(page *codecommit.ListBranchesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBranches operation. +// pageNum := 0 +// err := client.ListBranchesPages(params, +// func(page *codecommit.ListBranchesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeCommit) ListBranchesPages(input *ListBranchesInput, fn func(*ListBranchesOutput, bool) bool) error { return c.ListBranchesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6182,14 +6172,13 @@ const opListPullRequests = "ListPullRequests" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPullRequestsRequest method. +// req, resp := client.ListPullRequestsRequest(params) // -// // Example sending a request using the ListPullRequestsRequest method. -// req, resp := client.ListPullRequestsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequests func (c *CodeCommit) ListPullRequestsRequest(input *ListPullRequestsInput) (req *request.Request, output *ListPullRequestsOutput) { @@ -6227,50 +6216,51 @@ func (c *CodeCommit) ListPullRequestsRequest(input *ListPullRequestsInput) (req // API operation ListPullRequests for usage and error information. // // Returned Error Types: -// * InvalidPullRequestStatusException -// The pull request status is not valid. The only valid values are OPEN and -// CLOSED. // -// * InvalidAuthorArnException -// The Amazon Resource Name (ARN) is not valid. Make sure that you have provided -// the full ARN for the author of the pull request, and then try again. +// - InvalidPullRequestStatusException +// The pull request status is not valid. The only valid values are OPEN and +// CLOSED. +// +// - InvalidAuthorArnException +// The Amazon Resource Name (ARN) is not valid. Make sure that you have provided +// the full ARN for the author of the pull request, and then try again. // -// * AuthorDoesNotExistException -// The specified Amazon Resource Name (ARN) does not exist in the AWS account. +// - AuthorDoesNotExistException +// The specified Amazon Resource Name (ARN) does not exist in the AWS account. // -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * InvalidMaxResultsException -// The specified number of maximum results is not valid. +// - InvalidMaxResultsException +// The specified number of maximum results is not valid. // -// * InvalidContinuationTokenException -// The specified continuation token is not valid. +// - InvalidContinuationTokenException +// The specified continuation token is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListPullRequests func (c *CodeCommit) ListPullRequests(input *ListPullRequestsInput) (*ListPullRequestsOutput, error) { @@ -6302,15 +6292,14 @@ func (c *CodeCommit) ListPullRequestsWithContext(ctx aws.Context, input *ListPul // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPullRequests operation. -// pageNum := 0 -// err := client.ListPullRequestsPages(params, -// func(page *codecommit.ListPullRequestsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPullRequests operation. +// pageNum := 0 +// err := client.ListPullRequestsPages(params, +// func(page *codecommit.ListPullRequestsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeCommit) ListPullRequestsPages(input *ListPullRequestsInput, fn func(*ListPullRequestsOutput, bool) bool) error { return c.ListPullRequestsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6362,14 +6351,13 @@ const opListRepositories = "ListRepositories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRepositoriesRequest method. +// req, resp := client.ListRepositoriesRequest(params) // -// // Example sending a request using the ListRepositoriesRequest method. -// req, resp := client.ListRepositoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories func (c *CodeCommit) ListRepositoriesRequest(input *ListRepositoriesInput) (req *request.Request, output *ListRepositoriesOutput) { @@ -6406,14 +6394,15 @@ func (c *CodeCommit) ListRepositoriesRequest(input *ListRepositoriesInput) (req // API operation ListRepositories for usage and error information. // // Returned Error Types: -// * InvalidSortByException -// The specified sort by value is not valid. // -// * InvalidOrderException -// The specified sort order is not valid. +// - InvalidSortByException +// The specified sort by value is not valid. // -// * InvalidContinuationTokenException -// The specified continuation token is not valid. +// - InvalidOrderException +// The specified sort order is not valid. +// +// - InvalidContinuationTokenException +// The specified continuation token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositories func (c *CodeCommit) ListRepositories(input *ListRepositoriesInput) (*ListRepositoriesOutput, error) { @@ -6445,15 +6434,14 @@ func (c *CodeCommit) ListRepositoriesWithContext(ctx aws.Context, input *ListRep // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRepositories operation. -// pageNum := 0 -// err := client.ListRepositoriesPages(params, -// func(page *codecommit.ListRepositoriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRepositories operation. +// pageNum := 0 +// err := client.ListRepositoriesPages(params, +// func(page *codecommit.ListRepositoriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeCommit) ListRepositoriesPages(input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool) error { return c.ListRepositoriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6505,14 +6493,13 @@ const opListRepositoriesForApprovalRuleTemplate = "ListRepositoriesForApprovalRu // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRepositoriesForApprovalRuleTemplateRequest method. +// req, resp := client.ListRepositoriesForApprovalRuleTemplateRequest(params) // -// // Example sending a request using the ListRepositoriesForApprovalRuleTemplateRequest method. -// req, resp := client.ListRepositoriesForApprovalRuleTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesForApprovalRuleTemplate func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplateRequest(input *ListRepositoriesForApprovalRuleTemplateInput) (req *request.Request, output *ListRepositoriesForApprovalRuleTemplateOutput) { @@ -6549,39 +6536,40 @@ func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplateRequest(input *ListR // API operation ListRepositoriesForApprovalRuleTemplate for usage and error information. // // Returned Error Types: -// * ApprovalRuleTemplateNameRequiredException -// An approval rule template name is required, but was not specified. // -// * InvalidApprovalRuleTemplateNameException -// The name of the approval rule template is not valid. Template names must -// be between 1 and 100 valid characters in length. For more information about -// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). +// - ApprovalRuleTemplateNameRequiredException +// An approval rule template name is required, but was not specified. // -// * ApprovalRuleTemplateDoesNotExistException -// The specified approval rule template does not exist. Verify that the name -// is correct and that you are signed in to the AWS Region where the template -// was created, and then try again. +// - InvalidApprovalRuleTemplateNameException +// The name of the approval rule template is not valid. Template names must +// be between 1 and 100 valid characters in length. For more information about +// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // -// * InvalidMaxResultsException -// The specified number of maximum results is not valid. +// - ApprovalRuleTemplateDoesNotExistException +// The specified approval rule template does not exist. Verify that the name +// is correct and that you are signed in to the AWS Region where the template +// was created, and then try again. // -// * InvalidContinuationTokenException -// The specified continuation token is not valid. +// - InvalidMaxResultsException +// The specified number of maximum results is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - InvalidContinuationTokenException +// The specified continuation token is not valid. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListRepositoriesForApprovalRuleTemplate func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplate(input *ListRepositoriesForApprovalRuleTemplateInput) (*ListRepositoriesForApprovalRuleTemplateOutput, error) { @@ -6613,15 +6601,14 @@ func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplateWithContext(ctx aws. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRepositoriesForApprovalRuleTemplate operation. -// pageNum := 0 -// err := client.ListRepositoriesForApprovalRuleTemplatePages(params, -// func(page *codecommit.ListRepositoriesForApprovalRuleTemplateOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRepositoriesForApprovalRuleTemplate operation. +// pageNum := 0 +// err := client.ListRepositoriesForApprovalRuleTemplatePages(params, +// func(page *codecommit.ListRepositoriesForApprovalRuleTemplateOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeCommit) ListRepositoriesForApprovalRuleTemplatePages(input *ListRepositoriesForApprovalRuleTemplateInput, fn func(*ListRepositoriesForApprovalRuleTemplateOutput, bool) bool) error { return c.ListRepositoriesForApprovalRuleTemplatePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6673,14 +6660,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListTagsForResource func (c *CodeCommit) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -6714,26 +6700,27 @@ func (c *CodeCommit) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * RepositoryDoesNotExistException -// The specified repository does not exist. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * ResourceArnRequiredException -// A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. -// For a list of valid resources in AWS CodeCommit, see CodeCommit Resources -// and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) -// in the AWS CodeCommit User Guide. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * InvalidResourceArnException -// The value for the resource ARN is not valid. For more information about resources -// in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) -// in the AWS CodeCommit User Guide. +// - ResourceArnRequiredException +// A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. +// For a list of valid resources in AWS CodeCommit, see CodeCommit Resources +// and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) +// in the AWS CodeCommit User Guide. +// +// - InvalidResourceArnException +// The value for the resource ARN is not valid. For more information about resources +// in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) +// in the AWS CodeCommit User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/ListTagsForResource func (c *CodeCommit) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -6773,14 +6760,13 @@ const opMergeBranchesByFastForward = "MergeBranchesByFastForward" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MergeBranchesByFastForwardRequest method. +// req, resp := client.MergeBranchesByFastForwardRequest(params) // -// // Example sending a request using the MergeBranchesByFastForwardRequest method. -// req, resp := client.MergeBranchesByFastForwardRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByFastForward func (c *CodeCommit) MergeBranchesByFastForwardRequest(input *MergeBranchesByFastForwardInput) (req *request.Request, output *MergeBranchesByFastForwardOutput) { @@ -6811,74 +6797,75 @@ func (c *CodeCommit) MergeBranchesByFastForwardRequest(input *MergeBranchesByFas // API operation MergeBranchesByFastForward for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * TipsDivergenceExceededException -// The divergence between the tips of the provided commit specifiers is too -// great to determine whether there might be any merge conflicts. Locally compare -// the specifiers using git diff or a diff tool. +// - TipsDivergenceExceededException +// The divergence between the tips of the provided commit specifiers is too +// great to determine whether there might be any merge conflicts. Locally compare +// the specifiers using git diff or a diff tool. // -// * CommitRequiredException -// A commit was not specified. +// - CommitRequiredException +// A commit was not specified. // -// * InvalidCommitException -// The specified commit is not valid. +// - InvalidCommitException +// The specified commit is not valid. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * InvalidTargetBranchException -// The specified target branch is not valid. +// - InvalidTargetBranchException +// The specified target branch is not valid. // -// * InvalidBranchNameException -// The specified reference name is not valid. +// - InvalidBranchNameException +// The specified reference name is not valid. // -// * BranchNameRequiredException -// A branch name is required, but was not specified. +// - BranchNameRequiredException +// A branch name is required, but was not specified. // -// * BranchNameIsTagNameException -// The specified branch name is not valid because it is a tag name. Enter the -// name of a branch in the repository. For a list of valid branch names, use -// ListBranches. +// - BranchNameIsTagNameException +// The specified branch name is not valid because it is a tag name. Enter the +// name of a branch in the repository. For a list of valid branch names, use +// ListBranches. // -// * BranchDoesNotExistException -// The specified branch does not exist. +// - BranchDoesNotExistException +// The specified branch does not exist. // -// * ManualMergeRequiredException -// The pull request cannot be merged automatically into the destination branch. -// You must manually merge the branches and resolve any conflicts. +// - ManualMergeRequiredException +// The pull request cannot be merged automatically into the destination branch. +// You must manually merge the branches and resolve any conflicts. // -// * ConcurrentReferenceUpdateException -// The merge cannot be completed because the target branch has been modified. -// Another user might have modified the target branch while the merge was in -// progress. Wait a few minutes, and then try again. +// - ConcurrentReferenceUpdateException +// The merge cannot be completed because the target branch has been modified. +// Another user might have modified the target branch while the merge was in +// progress. Wait a few minutes, and then try again. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByFastForward func (c *CodeCommit) MergeBranchesByFastForward(input *MergeBranchesByFastForwardInput) (*MergeBranchesByFastForwardOutput, error) { @@ -6918,14 +6905,13 @@ const opMergeBranchesBySquash = "MergeBranchesBySquash" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MergeBranchesBySquashRequest method. +// req, resp := client.MergeBranchesBySquashRequest(params) // -// // Example sending a request using the MergeBranchesBySquashRequest method. -// req, resp := client.MergeBranchesBySquashRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesBySquash func (c *CodeCommit) MergeBranchesBySquashRequest(input *MergeBranchesBySquashInput) (req *request.Request, output *MergeBranchesBySquashOutput) { @@ -6956,148 +6942,149 @@ func (c *CodeCommit) MergeBranchesBySquashRequest(input *MergeBranchesBySquashIn // API operation MergeBranchesBySquash for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * TipsDivergenceExceededException -// The divergence between the tips of the provided commit specifiers is too -// great to determine whether there might be any merge conflicts. Locally compare -// the specifiers using git diff or a diff tool. +// - TipsDivergenceExceededException +// The divergence between the tips of the provided commit specifiers is too +// great to determine whether there might be any merge conflicts. Locally compare +// the specifiers using git diff or a diff tool. // -// * CommitRequiredException -// A commit was not specified. +// - CommitRequiredException +// A commit was not specified. // -// * InvalidCommitException -// The specified commit is not valid. +// - InvalidCommitException +// The specified commit is not valid. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * InvalidTargetBranchException -// The specified target branch is not valid. +// - InvalidTargetBranchException +// The specified target branch is not valid. // -// * InvalidBranchNameException -// The specified reference name is not valid. +// - InvalidBranchNameException +// The specified reference name is not valid. // -// * BranchNameRequiredException -// A branch name is required, but was not specified. +// - BranchNameRequiredException +// A branch name is required, but was not specified. // -// * BranchNameIsTagNameException -// The specified branch name is not valid because it is a tag name. Enter the -// name of a branch in the repository. For a list of valid branch names, use -// ListBranches. +// - BranchNameIsTagNameException +// The specified branch name is not valid because it is a tag name. Enter the +// name of a branch in the repository. For a list of valid branch names, use +// ListBranches. // -// * BranchDoesNotExistException -// The specified branch does not exist. +// - BranchDoesNotExistException +// The specified branch does not exist. // -// * ManualMergeRequiredException -// The pull request cannot be merged automatically into the destination branch. -// You must manually merge the branches and resolve any conflicts. +// - ManualMergeRequiredException +// The pull request cannot be merged automatically into the destination branch. +// You must manually merge the branches and resolve any conflicts. // -// * InvalidConflictDetailLevelException -// The specified conflict detail level is not valid. +// - InvalidConflictDetailLevelException +// The specified conflict detail level is not valid. // -// * InvalidConflictResolutionStrategyException -// The specified conflict resolution strategy is not valid. +// - InvalidConflictResolutionStrategyException +// The specified conflict resolution strategy is not valid. // -// * InvalidConflictResolutionException -// The specified conflict resolution list is not valid. +// - InvalidConflictResolutionException +// The specified conflict resolution list is not valid. // -// * MaximumConflictResolutionEntriesExceededException -// The number of allowed conflict resolution entries was exceeded. +// - MaximumConflictResolutionEntriesExceededException +// The number of allowed conflict resolution entries was exceeded. // -// * MultipleConflictResolutionEntriesException -// More than one conflict resolution entries exists for the conflict. A conflict -// can have only one conflict resolution entry. +// - MultipleConflictResolutionEntriesException +// More than one conflict resolution entries exists for the conflict. A conflict +// can have only one conflict resolution entry. // -// * ReplacementTypeRequiredException -// A replacement type is required. +// - ReplacementTypeRequiredException +// A replacement type is required. // -// * InvalidReplacementTypeException -// Automerge was specified for resolving the conflict, but the specified replacement -// type is not valid. +// - InvalidReplacementTypeException +// Automerge was specified for resolving the conflict, but the specified replacement +// type is not valid. // -// * ReplacementContentRequiredException -// USE_NEW_CONTENT was specified, but no replacement content has been provided. +// - ReplacementContentRequiredException +// USE_NEW_CONTENT was specified, but no replacement content has been provided. // -// * InvalidReplacementContentException -// Automerge was specified for resolving the conflict, but the replacement type -// is not valid or content is missing. +// - InvalidReplacementContentException +// Automerge was specified for resolving the conflict, but the replacement type +// is not valid or content is missing. // -// * PathRequiredException -// The folderPath for a location cannot be null. +// - PathRequiredException +// The folderPath for a location cannot be null. // -// * InvalidPathException -// The specified path is not valid. +// - InvalidPathException +// The specified path is not valid. // -// * FileContentSizeLimitExceededException -// The file cannot be added because it is too large. The maximum file size is -// 6 MB, and the combined file content change size is 7 MB. Consider making -// these changes using a Git client. +// - FileContentSizeLimitExceededException +// The file cannot be added because it is too large. The maximum file size is +// 6 MB, and the combined file content change size is 7 MB. Consider making +// these changes using a Git client. // -// * FolderContentSizeLimitExceededException -// The commit cannot be created because at least one of the overall changes -// in the commit results in a folder whose contents exceed the limit of 6 MB. -// Either reduce the number and size of your changes, or split the changes across -// multiple folders. +// - FolderContentSizeLimitExceededException +// The commit cannot be created because at least one of the overall changes +// in the commit results in a folder whose contents exceed the limit of 6 MB. +// Either reduce the number and size of your changes, or split the changes across +// multiple folders. // -// * MaximumFileContentToLoadExceededException -// The number of files to load exceeds the allowed limit. +// - MaximumFileContentToLoadExceededException +// The number of files to load exceeds the allowed limit. // -// * MaximumItemsToCompareExceededException -// The number of items to compare between the source or destination branches -// and the merge base has exceeded the maximum allowed. +// - MaximumItemsToCompareExceededException +// The number of items to compare between the source or destination branches +// and the merge base has exceeded the maximum allowed. // -// * FileModeRequiredException -// The commit cannot be created because no file mode has been specified. A file -// mode is required to update mode permissions for a file. +// - FileModeRequiredException +// The commit cannot be created because no file mode has been specified. A file +// mode is required to update mode permissions for a file. // -// * InvalidFileModeException -// The specified file mode permission is not valid. For a list of valid file -// mode permissions, see PutFile. +// - InvalidFileModeException +// The specified file mode permission is not valid. For a list of valid file +// mode permissions, see PutFile. // -// * NameLengthExceededException -// The user name is not valid because it has exceeded the character limit for -// author names. +// - NameLengthExceededException +// The user name is not valid because it has exceeded the character limit for +// author names. // -// * InvalidEmailException -// The specified email address either contains one or more characters that are -// not allowed, or it exceeds the maximum number of characters allowed for an -// email address. +// - InvalidEmailException +// The specified email address either contains one or more characters that are +// not allowed, or it exceeds the maximum number of characters allowed for an +// email address. // -// * CommitMessageLengthExceededException -// The commit message is too long. Provide a shorter string. +// - CommitMessageLengthExceededException +// The commit message is too long. Provide a shorter string. // -// * ConcurrentReferenceUpdateException -// The merge cannot be completed because the target branch has been modified. -// Another user might have modified the target branch while the merge was in -// progress. Wait a few minutes, and then try again. +// - ConcurrentReferenceUpdateException +// The merge cannot be completed because the target branch has been modified. +// Another user might have modified the target branch while the merge was in +// progress. Wait a few minutes, and then try again. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesBySquash func (c *CodeCommit) MergeBranchesBySquash(input *MergeBranchesBySquashInput) (*MergeBranchesBySquashOutput, error) { @@ -7137,14 +7124,13 @@ const opMergeBranchesByThreeWay = "MergeBranchesByThreeWay" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MergeBranchesByThreeWayRequest method. +// req, resp := client.MergeBranchesByThreeWayRequest(params) // -// // Example sending a request using the MergeBranchesByThreeWayRequest method. -// req, resp := client.MergeBranchesByThreeWayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByThreeWay func (c *CodeCommit) MergeBranchesByThreeWayRequest(input *MergeBranchesByThreeWayInput) (req *request.Request, output *MergeBranchesByThreeWayOutput) { @@ -7175,148 +7161,149 @@ func (c *CodeCommit) MergeBranchesByThreeWayRequest(input *MergeBranchesByThreeW // API operation MergeBranchesByThreeWay for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * TipsDivergenceExceededException -// The divergence between the tips of the provided commit specifiers is too -// great to determine whether there might be any merge conflicts. Locally compare -// the specifiers using git diff or a diff tool. +// - TipsDivergenceExceededException +// The divergence between the tips of the provided commit specifiers is too +// great to determine whether there might be any merge conflicts. Locally compare +// the specifiers using git diff or a diff tool. // -// * CommitRequiredException -// A commit was not specified. +// - CommitRequiredException +// A commit was not specified. // -// * InvalidCommitException -// The specified commit is not valid. +// - InvalidCommitException +// The specified commit is not valid. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * InvalidTargetBranchException -// The specified target branch is not valid. +// - InvalidTargetBranchException +// The specified target branch is not valid. // -// * InvalidBranchNameException -// The specified reference name is not valid. +// - InvalidBranchNameException +// The specified reference name is not valid. // -// * BranchNameRequiredException -// A branch name is required, but was not specified. +// - BranchNameRequiredException +// A branch name is required, but was not specified. // -// * BranchNameIsTagNameException -// The specified branch name is not valid because it is a tag name. Enter the -// name of a branch in the repository. For a list of valid branch names, use -// ListBranches. +// - BranchNameIsTagNameException +// The specified branch name is not valid because it is a tag name. Enter the +// name of a branch in the repository. For a list of valid branch names, use +// ListBranches. // -// * BranchDoesNotExistException -// The specified branch does not exist. +// - BranchDoesNotExistException +// The specified branch does not exist. // -// * ManualMergeRequiredException -// The pull request cannot be merged automatically into the destination branch. -// You must manually merge the branches and resolve any conflicts. +// - ManualMergeRequiredException +// The pull request cannot be merged automatically into the destination branch. +// You must manually merge the branches and resolve any conflicts. // -// * ConcurrentReferenceUpdateException -// The merge cannot be completed because the target branch has been modified. -// Another user might have modified the target branch while the merge was in -// progress. Wait a few minutes, and then try again. +// - ConcurrentReferenceUpdateException +// The merge cannot be completed because the target branch has been modified. +// Another user might have modified the target branch while the merge was in +// progress. Wait a few minutes, and then try again. // -// * InvalidConflictDetailLevelException -// The specified conflict detail level is not valid. +// - InvalidConflictDetailLevelException +// The specified conflict detail level is not valid. // -// * InvalidConflictResolutionStrategyException -// The specified conflict resolution strategy is not valid. +// - InvalidConflictResolutionStrategyException +// The specified conflict resolution strategy is not valid. // -// * InvalidConflictResolutionException -// The specified conflict resolution list is not valid. +// - InvalidConflictResolutionException +// The specified conflict resolution list is not valid. // -// * MaximumConflictResolutionEntriesExceededException -// The number of allowed conflict resolution entries was exceeded. +// - MaximumConflictResolutionEntriesExceededException +// The number of allowed conflict resolution entries was exceeded. // -// * MultipleConflictResolutionEntriesException -// More than one conflict resolution entries exists for the conflict. A conflict -// can have only one conflict resolution entry. +// - MultipleConflictResolutionEntriesException +// More than one conflict resolution entries exists for the conflict. A conflict +// can have only one conflict resolution entry. // -// * ReplacementTypeRequiredException -// A replacement type is required. +// - ReplacementTypeRequiredException +// A replacement type is required. // -// * InvalidReplacementTypeException -// Automerge was specified for resolving the conflict, but the specified replacement -// type is not valid. +// - InvalidReplacementTypeException +// Automerge was specified for resolving the conflict, but the specified replacement +// type is not valid. // -// * ReplacementContentRequiredException -// USE_NEW_CONTENT was specified, but no replacement content has been provided. +// - ReplacementContentRequiredException +// USE_NEW_CONTENT was specified, but no replacement content has been provided. // -// * InvalidReplacementContentException -// Automerge was specified for resolving the conflict, but the replacement type -// is not valid or content is missing. +// - InvalidReplacementContentException +// Automerge was specified for resolving the conflict, but the replacement type +// is not valid or content is missing. // -// * PathRequiredException -// The folderPath for a location cannot be null. +// - PathRequiredException +// The folderPath for a location cannot be null. // -// * InvalidPathException -// The specified path is not valid. +// - InvalidPathException +// The specified path is not valid. // -// * FileContentSizeLimitExceededException -// The file cannot be added because it is too large. The maximum file size is -// 6 MB, and the combined file content change size is 7 MB. Consider making -// these changes using a Git client. +// - FileContentSizeLimitExceededException +// The file cannot be added because it is too large. The maximum file size is +// 6 MB, and the combined file content change size is 7 MB. Consider making +// these changes using a Git client. // -// * FolderContentSizeLimitExceededException -// The commit cannot be created because at least one of the overall changes -// in the commit results in a folder whose contents exceed the limit of 6 MB. -// Either reduce the number and size of your changes, or split the changes across -// multiple folders. +// - FolderContentSizeLimitExceededException +// The commit cannot be created because at least one of the overall changes +// in the commit results in a folder whose contents exceed the limit of 6 MB. +// Either reduce the number and size of your changes, or split the changes across +// multiple folders. // -// * MaximumFileContentToLoadExceededException -// The number of files to load exceeds the allowed limit. +// - MaximumFileContentToLoadExceededException +// The number of files to load exceeds the allowed limit. // -// * MaximumItemsToCompareExceededException -// The number of items to compare between the source or destination branches -// and the merge base has exceeded the maximum allowed. +// - MaximumItemsToCompareExceededException +// The number of items to compare between the source or destination branches +// and the merge base has exceeded the maximum allowed. // -// * FileModeRequiredException -// The commit cannot be created because no file mode has been specified. A file -// mode is required to update mode permissions for a file. +// - FileModeRequiredException +// The commit cannot be created because no file mode has been specified. A file +// mode is required to update mode permissions for a file. // -// * InvalidFileModeException -// The specified file mode permission is not valid. For a list of valid file -// mode permissions, see PutFile. +// - InvalidFileModeException +// The specified file mode permission is not valid. For a list of valid file +// mode permissions, see PutFile. // -// * NameLengthExceededException -// The user name is not valid because it has exceeded the character limit for -// author names. +// - NameLengthExceededException +// The user name is not valid because it has exceeded the character limit for +// author names. // -// * InvalidEmailException -// The specified email address either contains one or more characters that are -// not allowed, or it exceeds the maximum number of characters allowed for an -// email address. +// - InvalidEmailException +// The specified email address either contains one or more characters that are +// not allowed, or it exceeds the maximum number of characters allowed for an +// email address. // -// * CommitMessageLengthExceededException -// The commit message is too long. Provide a shorter string. +// - CommitMessageLengthExceededException +// The commit message is too long. Provide a shorter string. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergeBranchesByThreeWay func (c *CodeCommit) MergeBranchesByThreeWay(input *MergeBranchesByThreeWayInput) (*MergeBranchesByThreeWayOutput, error) { @@ -7356,14 +7343,13 @@ const opMergePullRequestByFastForward = "MergePullRequestByFastForward" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MergePullRequestByFastForwardRequest method. +// req, resp := client.MergePullRequestByFastForwardRequest(params) // -// // Example sending a request using the MergePullRequestByFastForwardRequest method. -// req, resp := client.MergePullRequestByFastForwardRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForward func (c *CodeCommit) MergePullRequestByFastForwardRequest(input *MergePullRequestByFastForwardInput) (req *request.Request, output *MergePullRequestByFastForwardOutput) { @@ -7397,77 +7383,78 @@ func (c *CodeCommit) MergePullRequestByFastForwardRequest(input *MergePullReques // API operation MergePullRequestByFastForward for usage and error information. // // Returned Error Types: -// * ManualMergeRequiredException -// The pull request cannot be merged automatically into the destination branch. -// You must manually merge the branches and resolve any conflicts. // -// * PullRequestAlreadyClosedException -// The pull request status cannot be updated because it is already closed. +// - ManualMergeRequiredException +// The pull request cannot be merged automatically into the destination branch. +// You must manually merge the branches and resolve any conflicts. // -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. +// - PullRequestAlreadyClosedException +// The pull request status cannot be updated because it is already closed. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * TipOfSourceReferenceIsDifferentException -// The tip of the source branch in the destination repository does not match -// the tip of the source branch specified in your request. The pull request -// might have been updated. Make sure that you have the latest changes. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * ReferenceDoesNotExistException -// The specified reference does not exist. You must provide a full commit ID. +// - TipOfSourceReferenceIsDifferentException +// The tip of the source branch in the destination repository does not match +// the tip of the source branch specified in your request. The pull request +// might have been updated. Make sure that you have the latest changes. // -// * InvalidCommitIdException -// The specified commit ID is not valid. +// - ReferenceDoesNotExistException +// The specified reference does not exist. You must provide a full commit ID. // -// * RepositoryNotAssociatedWithPullRequestException -// The repository does not contain any pull requests with that pull request -// ID. Use GetPullRequest to verify the correct repository name for the pull -// request ID. +// - InvalidCommitIdException +// The specified commit ID is not valid. // -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. +// - RepositoryNotAssociatedWithPullRequestException +// The repository does not contain any pull requests with that pull request +// ID. Use GetPullRequest to verify the correct repository name for the pull +// request ID. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * ConcurrentReferenceUpdateException -// The merge cannot be completed because the target branch has been modified. -// Another user might have modified the target branch while the merge was in -// progress. Wait a few minutes, and then try again. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * PullRequestApprovalRulesNotSatisfiedException -// The pull request cannot be merged because one or more approval rules applied -// to the pull request have conditions that have not been met. +// - ConcurrentReferenceUpdateException +// The merge cannot be completed because the target branch has been modified. +// Another user might have modified the target branch while the merge was in +// progress. Wait a few minutes, and then try again. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - PullRequestApprovalRulesNotSatisfiedException +// The pull request cannot be merged because one or more approval rules applied +// to the pull request have conditions that have not been met. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByFastForward func (c *CodeCommit) MergePullRequestByFastForward(input *MergePullRequestByFastForwardInput) (*MergePullRequestByFastForwardOutput, error) { @@ -7507,14 +7494,13 @@ const opMergePullRequestBySquash = "MergePullRequestBySquash" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MergePullRequestBySquashRequest method. +// req, resp := client.MergePullRequestBySquashRequest(params) // -// // Example sending a request using the MergePullRequestBySquashRequest method. -// req, resp := client.MergePullRequestBySquashRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestBySquash func (c *CodeCommit) MergePullRequestBySquashRequest(input *MergePullRequestBySquashInput) (req *request.Request, output *MergePullRequestBySquashOutput) { @@ -7547,149 +7533,150 @@ func (c *CodeCommit) MergePullRequestBySquashRequest(input *MergePullRequestBySq // API operation MergePullRequestBySquash for usage and error information. // // Returned Error Types: -// * PullRequestAlreadyClosedException -// The pull request status cannot be updated because it is already closed. // -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. +// - PullRequestAlreadyClosedException +// The pull request status cannot be updated because it is already closed. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * InvalidCommitIdException -// The specified commit ID is not valid. +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * ManualMergeRequiredException -// The pull request cannot be merged automatically into the destination branch. -// You must manually merge the branches and resolve any conflicts. +// - InvalidCommitIdException +// The specified commit ID is not valid. // -// * TipOfSourceReferenceIsDifferentException -// The tip of the source branch in the destination repository does not match -// the tip of the source branch specified in your request. The pull request -// might have been updated. Make sure that you have the latest changes. +// - ManualMergeRequiredException +// The pull request cannot be merged automatically into the destination branch. +// You must manually merge the branches and resolve any conflicts. // -// * TipsDivergenceExceededException -// The divergence between the tips of the provided commit specifiers is too -// great to determine whether there might be any merge conflicts. Locally compare -// the specifiers using git diff or a diff tool. +// - TipOfSourceReferenceIsDifferentException +// The tip of the source branch in the destination repository does not match +// the tip of the source branch specified in your request. The pull request +// might have been updated. Make sure that you have the latest changes. // -// * NameLengthExceededException -// The user name is not valid because it has exceeded the character limit for -// author names. +// - TipsDivergenceExceededException +// The divergence between the tips of the provided commit specifiers is too +// great to determine whether there might be any merge conflicts. Locally compare +// the specifiers using git diff or a diff tool. // -// * InvalidEmailException -// The specified email address either contains one or more characters that are -// not allowed, or it exceeds the maximum number of characters allowed for an -// email address. +// - NameLengthExceededException +// The user name is not valid because it has exceeded the character limit for +// author names. // -// * CommitMessageLengthExceededException -// The commit message is too long. Provide a shorter string. +// - InvalidEmailException +// The specified email address either contains one or more characters that are +// not allowed, or it exceeds the maximum number of characters allowed for an +// email address. // -// * InvalidConflictDetailLevelException -// The specified conflict detail level is not valid. +// - CommitMessageLengthExceededException +// The commit message is too long. Provide a shorter string. // -// * InvalidConflictResolutionStrategyException -// The specified conflict resolution strategy is not valid. +// - InvalidConflictDetailLevelException +// The specified conflict detail level is not valid. // -// * InvalidConflictResolutionException -// The specified conflict resolution list is not valid. +// - InvalidConflictResolutionStrategyException +// The specified conflict resolution strategy is not valid. // -// * ReplacementTypeRequiredException -// A replacement type is required. +// - InvalidConflictResolutionException +// The specified conflict resolution list is not valid. // -// * InvalidReplacementTypeException -// Automerge was specified for resolving the conflict, but the specified replacement -// type is not valid. +// - ReplacementTypeRequiredException +// A replacement type is required. // -// * MultipleConflictResolutionEntriesException -// More than one conflict resolution entries exists for the conflict. A conflict -// can have only one conflict resolution entry. +// - InvalidReplacementTypeException +// Automerge was specified for resolving the conflict, but the specified replacement +// type is not valid. // -// * ReplacementContentRequiredException -// USE_NEW_CONTENT was specified, but no replacement content has been provided. +// - MultipleConflictResolutionEntriesException +// More than one conflict resolution entries exists for the conflict. A conflict +// can have only one conflict resolution entry. // -// * MaximumConflictResolutionEntriesExceededException -// The number of allowed conflict resolution entries was exceeded. +// - ReplacementContentRequiredException +// USE_NEW_CONTENT was specified, but no replacement content has been provided. // -// * ConcurrentReferenceUpdateException -// The merge cannot be completed because the target branch has been modified. -// Another user might have modified the target branch while the merge was in -// progress. Wait a few minutes, and then try again. +// - MaximumConflictResolutionEntriesExceededException +// The number of allowed conflict resolution entries was exceeded. // -// * PathRequiredException -// The folderPath for a location cannot be null. +// - ConcurrentReferenceUpdateException +// The merge cannot be completed because the target branch has been modified. +// Another user might have modified the target branch while the merge was in +// progress. Wait a few minutes, and then try again. // -// * InvalidPathException -// The specified path is not valid. +// - PathRequiredException +// The folderPath for a location cannot be null. // -// * InvalidFileModeException -// The specified file mode permission is not valid. For a list of valid file -// mode permissions, see PutFile. +// - InvalidPathException +// The specified path is not valid. // -// * InvalidReplacementContentException -// Automerge was specified for resolving the conflict, but the replacement type -// is not valid or content is missing. +// - InvalidFileModeException +// The specified file mode permission is not valid. For a list of valid file +// mode permissions, see PutFile. // -// * FileContentSizeLimitExceededException -// The file cannot be added because it is too large. The maximum file size is -// 6 MB, and the combined file content change size is 7 MB. Consider making -// these changes using a Git client. +// - InvalidReplacementContentException +// Automerge was specified for resolving the conflict, but the replacement type +// is not valid or content is missing. // -// * FolderContentSizeLimitExceededException -// The commit cannot be created because at least one of the overall changes -// in the commit results in a folder whose contents exceed the limit of 6 MB. -// Either reduce the number and size of your changes, or split the changes across -// multiple folders. +// - FileContentSizeLimitExceededException +// The file cannot be added because it is too large. The maximum file size is +// 6 MB, and the combined file content change size is 7 MB. Consider making +// these changes using a Git client. // -// * MaximumFileContentToLoadExceededException -// The number of files to load exceeds the allowed limit. +// - FolderContentSizeLimitExceededException +// The commit cannot be created because at least one of the overall changes +// in the commit results in a folder whose contents exceed the limit of 6 MB. +// Either reduce the number and size of your changes, or split the changes across +// multiple folders. // -// * MaximumItemsToCompareExceededException -// The number of items to compare between the source or destination branches -// and the merge base has exceeded the maximum allowed. +// - MaximumFileContentToLoadExceededException +// The number of files to load exceeds the allowed limit. // -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. +// - MaximumItemsToCompareExceededException +// The number of items to compare between the source or destination branches +// and the merge base has exceeded the maximum allowed. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryNotAssociatedWithPullRequestException -// The repository does not contain any pull requests with that pull request -// ID. Use GetPullRequest to verify the correct repository name for the pull -// request ID. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * PullRequestApprovalRulesNotSatisfiedException -// The pull request cannot be merged because one or more approval rules applied -// to the pull request have conditions that have not been met. +// - RepositoryNotAssociatedWithPullRequestException +// The repository does not contain any pull requests with that pull request +// ID. Use GetPullRequest to verify the correct repository name for the pull +// request ID. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - PullRequestApprovalRulesNotSatisfiedException +// The pull request cannot be merged because one or more approval rules applied +// to the pull request have conditions that have not been met. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestBySquash func (c *CodeCommit) MergePullRequestBySquash(input *MergePullRequestBySquashInput) (*MergePullRequestBySquashOutput, error) { @@ -7729,14 +7716,13 @@ const opMergePullRequestByThreeWay = "MergePullRequestByThreeWay" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MergePullRequestByThreeWayRequest method. +// req, resp := client.MergePullRequestByThreeWayRequest(params) // -// // Example sending a request using the MergePullRequestByThreeWayRequest method. -// req, resp := client.MergePullRequestByThreeWayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByThreeWay func (c *CodeCommit) MergePullRequestByThreeWayRequest(input *MergePullRequestByThreeWayInput) (req *request.Request, output *MergePullRequestByThreeWayOutput) { @@ -7770,149 +7756,150 @@ func (c *CodeCommit) MergePullRequestByThreeWayRequest(input *MergePullRequestBy // API operation MergePullRequestByThreeWay for usage and error information. // // Returned Error Types: -// * PullRequestAlreadyClosedException -// The pull request status cannot be updated because it is already closed. // -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. +// - PullRequestAlreadyClosedException +// The pull request status cannot be updated because it is already closed. +// +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * InvalidCommitIdException -// The specified commit ID is not valid. +// - InvalidCommitIdException +// The specified commit ID is not valid. // -// * ManualMergeRequiredException -// The pull request cannot be merged automatically into the destination branch. -// You must manually merge the branches and resolve any conflicts. +// - ManualMergeRequiredException +// The pull request cannot be merged automatically into the destination branch. +// You must manually merge the branches and resolve any conflicts. // -// * TipOfSourceReferenceIsDifferentException -// The tip of the source branch in the destination repository does not match -// the tip of the source branch specified in your request. The pull request -// might have been updated. Make sure that you have the latest changes. +// - TipOfSourceReferenceIsDifferentException +// The tip of the source branch in the destination repository does not match +// the tip of the source branch specified in your request. The pull request +// might have been updated. Make sure that you have the latest changes. // -// * TipsDivergenceExceededException -// The divergence between the tips of the provided commit specifiers is too -// great to determine whether there might be any merge conflicts. Locally compare -// the specifiers using git diff or a diff tool. +// - TipsDivergenceExceededException +// The divergence between the tips of the provided commit specifiers is too +// great to determine whether there might be any merge conflicts. Locally compare +// the specifiers using git diff or a diff tool. // -// * NameLengthExceededException -// The user name is not valid because it has exceeded the character limit for -// author names. +// - NameLengthExceededException +// The user name is not valid because it has exceeded the character limit for +// author names. // -// * InvalidEmailException -// The specified email address either contains one or more characters that are -// not allowed, or it exceeds the maximum number of characters allowed for an -// email address. +// - InvalidEmailException +// The specified email address either contains one or more characters that are +// not allowed, or it exceeds the maximum number of characters allowed for an +// email address. // -// * CommitMessageLengthExceededException -// The commit message is too long. Provide a shorter string. +// - CommitMessageLengthExceededException +// The commit message is too long. Provide a shorter string. // -// * InvalidConflictDetailLevelException -// The specified conflict detail level is not valid. +// - InvalidConflictDetailLevelException +// The specified conflict detail level is not valid. // -// * InvalidConflictResolutionStrategyException -// The specified conflict resolution strategy is not valid. +// - InvalidConflictResolutionStrategyException +// The specified conflict resolution strategy is not valid. // -// * InvalidConflictResolutionException -// The specified conflict resolution list is not valid. +// - InvalidConflictResolutionException +// The specified conflict resolution list is not valid. // -// * ReplacementTypeRequiredException -// A replacement type is required. +// - ReplacementTypeRequiredException +// A replacement type is required. // -// * InvalidReplacementTypeException -// Automerge was specified for resolving the conflict, but the specified replacement -// type is not valid. +// - InvalidReplacementTypeException +// Automerge was specified for resolving the conflict, but the specified replacement +// type is not valid. // -// * MultipleConflictResolutionEntriesException -// More than one conflict resolution entries exists for the conflict. A conflict -// can have only one conflict resolution entry. +// - MultipleConflictResolutionEntriesException +// More than one conflict resolution entries exists for the conflict. A conflict +// can have only one conflict resolution entry. // -// * ReplacementContentRequiredException -// USE_NEW_CONTENT was specified, but no replacement content has been provided. +// - ReplacementContentRequiredException +// USE_NEW_CONTENT was specified, but no replacement content has been provided. // -// * MaximumConflictResolutionEntriesExceededException -// The number of allowed conflict resolution entries was exceeded. +// - MaximumConflictResolutionEntriesExceededException +// The number of allowed conflict resolution entries was exceeded. // -// * PathRequiredException -// The folderPath for a location cannot be null. +// - PathRequiredException +// The folderPath for a location cannot be null. // -// * InvalidPathException -// The specified path is not valid. +// - InvalidPathException +// The specified path is not valid. // -// * InvalidFileModeException -// The specified file mode permission is not valid. For a list of valid file -// mode permissions, see PutFile. +// - InvalidFileModeException +// The specified file mode permission is not valid. For a list of valid file +// mode permissions, see PutFile. // -// * InvalidReplacementContentException -// Automerge was specified for resolving the conflict, but the replacement type -// is not valid or content is missing. +// - InvalidReplacementContentException +// Automerge was specified for resolving the conflict, but the replacement type +// is not valid or content is missing. // -// * FileContentSizeLimitExceededException -// The file cannot be added because it is too large. The maximum file size is -// 6 MB, and the combined file content change size is 7 MB. Consider making -// these changes using a Git client. +// - FileContentSizeLimitExceededException +// The file cannot be added because it is too large. The maximum file size is +// 6 MB, and the combined file content change size is 7 MB. Consider making +// these changes using a Git client. // -// * FolderContentSizeLimitExceededException -// The commit cannot be created because at least one of the overall changes -// in the commit results in a folder whose contents exceed the limit of 6 MB. -// Either reduce the number and size of your changes, or split the changes across -// multiple folders. +// - FolderContentSizeLimitExceededException +// The commit cannot be created because at least one of the overall changes +// in the commit results in a folder whose contents exceed the limit of 6 MB. +// Either reduce the number and size of your changes, or split the changes across +// multiple folders. // -// * MaximumFileContentToLoadExceededException -// The number of files to load exceeds the allowed limit. +// - MaximumFileContentToLoadExceededException +// The number of files to load exceeds the allowed limit. // -// * MaximumItemsToCompareExceededException -// The number of items to compare between the source or destination branches -// and the merge base has exceeded the maximum allowed. +// - MaximumItemsToCompareExceededException +// The number of items to compare between the source or destination branches +// and the merge base has exceeded the maximum allowed. // -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * RepositoryNotAssociatedWithPullRequestException -// The repository does not contain any pull requests with that pull request -// ID. Use GetPullRequest to verify the correct repository name for the pull -// request ID. +// - RepositoryNotAssociatedWithPullRequestException +// The repository does not contain any pull requests with that pull request +// ID. Use GetPullRequest to verify the correct repository name for the pull +// request ID. // -// * ConcurrentReferenceUpdateException -// The merge cannot be completed because the target branch has been modified. -// Another user might have modified the target branch while the merge was in -// progress. Wait a few minutes, and then try again. +// - ConcurrentReferenceUpdateException +// The merge cannot be completed because the target branch has been modified. +// Another user might have modified the target branch while the merge was in +// progress. Wait a few minutes, and then try again. // -// * PullRequestApprovalRulesNotSatisfiedException -// The pull request cannot be merged because one or more approval rules applied -// to the pull request have conditions that have not been met. +// - PullRequestApprovalRulesNotSatisfiedException +// The pull request cannot be merged because one or more approval rules applied +// to the pull request have conditions that have not been met. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/MergePullRequestByThreeWay func (c *CodeCommit) MergePullRequestByThreeWay(input *MergePullRequestByThreeWayInput) (*MergePullRequestByThreeWayOutput, error) { @@ -7952,14 +7939,13 @@ const opOverridePullRequestApprovalRules = "OverridePullRequestApprovalRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OverridePullRequestApprovalRulesRequest method. +// req, resp := client.OverridePullRequestApprovalRulesRequest(params) // -// // Example sending a request using the OverridePullRequestApprovalRulesRequest method. -// req, resp := client.OverridePullRequestApprovalRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OverridePullRequestApprovalRules func (c *CodeCommit) OverridePullRequestApprovalRulesRequest(input *OverridePullRequestApprovalRulesInput) (req *request.Request, output *OverridePullRequestApprovalRulesOutput) { @@ -7992,55 +7978,56 @@ func (c *CodeCommit) OverridePullRequestApprovalRulesRequest(input *OverridePull // API operation OverridePullRequestApprovalRules for usage and error information. // // Returned Error Types: -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. +// +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * InvalidRevisionIdException -// The revision ID is not valid. Use GetPullRequest to determine the value. +// - InvalidRevisionIdException +// The revision ID is not valid. Use GetPullRequest to determine the value. // -// * RevisionIdRequiredException -// A revision ID is required, but was not provided. +// - RevisionIdRequiredException +// A revision ID is required, but was not provided. // -// * InvalidOverrideStatusException -// The override status is not valid. Valid statuses are OVERRIDE and REVOKE. +// - InvalidOverrideStatusException +// The override status is not valid. Valid statuses are OVERRIDE and REVOKE. // -// * OverrideStatusRequiredException -// An override status is required, but no value was provided. Valid values include -// OVERRIDE and REVOKE. +// - OverrideStatusRequiredException +// An override status is required, but no value was provided. Valid values include +// OVERRIDE and REVOKE. // -// * OverrideAlreadySetException -// The pull request has already had its approval rules set to override. +// - OverrideAlreadySetException +// The pull request has already had its approval rules set to override. // -// * RevisionNotCurrentException -// The revision ID provided in the request does not match the current revision -// ID. Use GetPullRequest to retrieve the current revision ID. +// - RevisionNotCurrentException +// The revision ID provided in the request does not match the current revision +// ID. Use GetPullRequest to retrieve the current revision ID. // -// * PullRequestAlreadyClosedException -// The pull request status cannot be updated because it is already closed. +// - PullRequestAlreadyClosedException +// The pull request status cannot be updated because it is already closed. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/OverridePullRequestApprovalRules func (c *CodeCommit) OverridePullRequestApprovalRules(input *OverridePullRequestApprovalRulesInput) (*OverridePullRequestApprovalRulesOutput, error) { @@ -8080,14 +8067,13 @@ const opPostCommentForComparedCommit = "PostCommentForComparedCommit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PostCommentForComparedCommitRequest method. +// req, resp := client.PostCommentForComparedCommitRequest(params) // -// // Example sending a request using the PostCommentForComparedCommitRequest method. -// req, resp := client.PostCommentForComparedCommitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommit func (c *CodeCommit) PostCommentForComparedCommitRequest(input *PostCommentForComparedCommitInput) (req *request.Request, output *PostCommentForComparedCommitOutput) { @@ -8118,92 +8104,93 @@ func (c *CodeCommit) PostCommentForComparedCommitRequest(input *PostCommentForCo // API operation PostCommentForComparedCommit for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * ClientRequestTokenRequiredException -// A client request token is required. A client request token is an unique, -// client-generated idempotency token that, when provided in a request, ensures -// the request cannot be repeated with a changed parameter. If a request is -// received with the same parameters and a token is included, the request returns -// information about the initial request that used that token. +// - ClientRequestTokenRequiredException +// A client request token is required. A client request token is an unique, +// client-generated idempotency token that, when provided in a request, ensures +// the request cannot be repeated with a changed parameter. If a request is +// received with the same parameters and a token is included, the request returns +// information about the initial request that used that token. // -// * InvalidClientRequestTokenException -// The client request token is not valid. +// - InvalidClientRequestTokenException +// The client request token is not valid. // -// * IdempotencyParameterMismatchException -// The client request token is not valid. Either the token is not in a valid -// format, or the token has been used in a previous request and cannot be reused. +// - IdempotencyParameterMismatchException +// The client request token is not valid. Either the token is not in a valid +// format, or the token has been used in a previous request and cannot be reused. // -// * CommentContentRequiredException -// The comment is empty. You must provide some content for a comment. The content -// cannot be null. +// - CommentContentRequiredException +// The comment is empty. You must provide some content for a comment. The content +// cannot be null. // -// * CommentContentSizeLimitExceededException -// The comment is too large. Comments are limited to 1,000 characters. +// - CommentContentSizeLimitExceededException +// The comment is too large. Comments are limited to 1,000 characters. // -// * InvalidFileLocationException -// The location of the file is not valid. Make sure that you include the file -// name and extension. +// - InvalidFileLocationException +// The location of the file is not valid. Make sure that you include the file +// name and extension. // -// * InvalidRelativeFileVersionEnumException -// Either the enum is not in a valid format, or the specified file version enum -// is not valid in respect to the current file version. +// - InvalidRelativeFileVersionEnumException +// Either the enum is not in a valid format, or the specified file version enum +// is not valid in respect to the current file version. // -// * PathRequiredException -// The folderPath for a location cannot be null. +// - PathRequiredException +// The folderPath for a location cannot be null. // -// * InvalidFilePositionException -// The position is not valid. Make sure that the line number exists in the version -// of the file you want to comment on. +// - InvalidFilePositionException +// The position is not valid. Make sure that the line number exists in the version +// of the file you want to comment on. // -// * CommitIdRequiredException -// A commit ID was not specified. +// - CommitIdRequiredException +// A commit ID was not specified. // -// * InvalidCommitIdException -// The specified commit ID is not valid. +// - InvalidCommitIdException +// The specified commit ID is not valid. // -// * BeforeCommitIdAndAfterCommitIdAreSameException -// The before commit ID and the after commit ID are the same, which is not valid. -// The before commit ID and the after commit ID must be different commit IDs. +// - BeforeCommitIdAndAfterCommitIdAreSameException +// The before commit ID and the after commit ID are the same, which is not valid. +// The before commit ID and the after commit ID must be different commit IDs. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * InvalidPathException -// The specified path is not valid. +// - InvalidPathException +// The specified path is not valid. // -// * PathDoesNotExistException -// The specified path does not exist. +// - PathDoesNotExistException +// The specified path does not exist. // -// * PathRequiredException -// The folderPath for a location cannot be null. +// - PathRequiredException +// The folderPath for a location cannot be null. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForComparedCommit func (c *CodeCommit) PostCommentForComparedCommit(input *PostCommentForComparedCommitInput) (*PostCommentForComparedCommitOutput, error) { @@ -8243,14 +8230,13 @@ const opPostCommentForPullRequest = "PostCommentForPullRequest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PostCommentForPullRequestRequest method. +// req, resp := client.PostCommentForPullRequestRequest(params) // -// // Example sending a request using the PostCommentForPullRequestRequest method. -// req, resp := client.PostCommentForPullRequestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequest func (c *CodeCommit) PostCommentForPullRequestRequest(input *PostCommentForPullRequestInput) (req *request.Request, output *PostCommentForPullRequestOutput) { @@ -8281,109 +8267,110 @@ func (c *CodeCommit) PostCommentForPullRequestRequest(input *PostCommentForPullR // API operation PostCommentForPullRequest for usage and error information. // // Returned Error Types: -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * RepositoryNotAssociatedWithPullRequestException -// The repository does not contain any pull requests with that pull request -// ID. Use GetPullRequest to verify the correct repository name for the pull -// request ID. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. +// - RepositoryNotAssociatedWithPullRequestException +// The repository does not contain any pull requests with that pull request +// ID. Use GetPullRequest to verify the correct repository name for the pull +// request ID. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * ClientRequestTokenRequiredException -// A client request token is required. A client request token is an unique, -// client-generated idempotency token that, when provided in a request, ensures -// the request cannot be repeated with a changed parameter. If a request is -// received with the same parameters and a token is included, the request returns -// information about the initial request that used that token. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * InvalidClientRequestTokenException -// The client request token is not valid. +// - ClientRequestTokenRequiredException +// A client request token is required. A client request token is an unique, +// client-generated idempotency token that, when provided in a request, ensures +// the request cannot be repeated with a changed parameter. If a request is +// received with the same parameters and a token is included, the request returns +// information about the initial request that used that token. // -// * IdempotencyParameterMismatchException -// The client request token is not valid. Either the token is not in a valid -// format, or the token has been used in a previous request and cannot be reused. +// - InvalidClientRequestTokenException +// The client request token is not valid. // -// * CommentContentRequiredException -// The comment is empty. You must provide some content for a comment. The content -// cannot be null. +// - IdempotencyParameterMismatchException +// The client request token is not valid. Either the token is not in a valid +// format, or the token has been used in a previous request and cannot be reused. // -// * CommentContentSizeLimitExceededException -// The comment is too large. Comments are limited to 1,000 characters. +// - CommentContentRequiredException +// The comment is empty. You must provide some content for a comment. The content +// cannot be null. // -// * InvalidFileLocationException -// The location of the file is not valid. Make sure that you include the file -// name and extension. +// - CommentContentSizeLimitExceededException +// The comment is too large. Comments are limited to 1,000 characters. // -// * InvalidRelativeFileVersionEnumException -// Either the enum is not in a valid format, or the specified file version enum -// is not valid in respect to the current file version. +// - InvalidFileLocationException +// The location of the file is not valid. Make sure that you include the file +// name and extension. // -// * PathRequiredException -// The folderPath for a location cannot be null. +// - InvalidRelativeFileVersionEnumException +// Either the enum is not in a valid format, or the specified file version enum +// is not valid in respect to the current file version. // -// * InvalidFilePositionException -// The position is not valid. Make sure that the line number exists in the version -// of the file you want to comment on. +// - PathRequiredException +// The folderPath for a location cannot be null. // -// * CommitIdRequiredException -// A commit ID was not specified. +// - InvalidFilePositionException +// The position is not valid. Make sure that the line number exists in the version +// of the file you want to comment on. // -// * InvalidCommitIdException -// The specified commit ID is not valid. +// - CommitIdRequiredException +// A commit ID was not specified. // -// * BeforeCommitIdAndAfterCommitIdAreSameException -// The before commit ID and the after commit ID are the same, which is not valid. -// The before commit ID and the after commit ID must be different commit IDs. +// - InvalidCommitIdException +// The specified commit ID is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - BeforeCommitIdAndAfterCommitIdAreSameException +// The before commit ID and the after commit ID are the same, which is not valid. +// The before commit ID and the after commit ID must be different commit IDs. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * CommitDoesNotExistException -// The specified commit does not exist or no commit was specified, and the specified -// repository has no default branch. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // -// * InvalidPathException -// The specified path is not valid. +// - CommitDoesNotExistException +// The specified commit does not exist or no commit was specified, and the specified +// repository has no default branch. // -// * PathDoesNotExistException -// The specified path does not exist. +// - InvalidPathException +// The specified path is not valid. // -// * PathRequiredException -// The folderPath for a location cannot be null. +// - PathDoesNotExistException +// The specified path does not exist. +// +// - PathRequiredException +// The folderPath for a location cannot be null. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentForPullRequest func (c *CodeCommit) PostCommentForPullRequest(input *PostCommentForPullRequestInput) (*PostCommentForPullRequestOutput, error) { @@ -8423,14 +8410,13 @@ const opPostCommentReply = "PostCommentReply" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PostCommentReplyRequest method. +// req, resp := client.PostCommentReplyRequest(params) // -// // Example sending a request using the PostCommentReplyRequest method. -// req, resp := client.PostCommentReplyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReply func (c *CodeCommit) PostCommentReplyRequest(input *PostCommentReplyInput) (req *request.Request, output *PostCommentReplyOutput) { @@ -8462,37 +8448,38 @@ func (c *CodeCommit) PostCommentReplyRequest(input *PostCommentReplyInput) (req // API operation PostCommentReply for usage and error information. // // Returned Error Types: -// * ClientRequestTokenRequiredException -// A client request token is required. A client request token is an unique, -// client-generated idempotency token that, when provided in a request, ensures -// the request cannot be repeated with a changed parameter. If a request is -// received with the same parameters and a token is included, the request returns -// information about the initial request that used that token. // -// * InvalidClientRequestTokenException -// The client request token is not valid. +// - ClientRequestTokenRequiredException +// A client request token is required. A client request token is an unique, +// client-generated idempotency token that, when provided in a request, ensures +// the request cannot be repeated with a changed parameter. If a request is +// received with the same parameters and a token is included, the request returns +// information about the initial request that used that token. +// +// - InvalidClientRequestTokenException +// The client request token is not valid. // -// * IdempotencyParameterMismatchException -// The client request token is not valid. Either the token is not in a valid -// format, or the token has been used in a previous request and cannot be reused. +// - IdempotencyParameterMismatchException +// The client request token is not valid. Either the token is not in a valid +// format, or the token has been used in a previous request and cannot be reused. // -// * CommentContentRequiredException -// The comment is empty. You must provide some content for a comment. The content -// cannot be null. +// - CommentContentRequiredException +// The comment is empty. You must provide some content for a comment. The content +// cannot be null. // -// * CommentContentSizeLimitExceededException -// The comment is too large. Comments are limited to 1,000 characters. +// - CommentContentSizeLimitExceededException +// The comment is too large. Comments are limited to 1,000 characters. // -// * CommentDoesNotExistException -// No comment exists with the provided ID. Verify that you have used the correct -// ID, and then try again. +// - CommentDoesNotExistException +// No comment exists with the provided ID. Verify that you have used the correct +// ID, and then try again. // -// * CommentIdRequiredException -// The comment ID is missing or null. A comment ID is required. +// - CommentIdRequiredException +// The comment ID is missing or null. A comment ID is required. // -// * InvalidCommentIdException -// The comment ID is not in a valid format. Make sure that you have provided -// the full comment ID. +// - InvalidCommentIdException +// The comment ID is not in a valid format. Make sure that you have provided +// the full comment ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PostCommentReply func (c *CodeCommit) PostCommentReply(input *PostCommentReplyInput) (*PostCommentReplyOutput, error) { @@ -8532,14 +8519,13 @@ const opPutCommentReaction = "PutCommentReaction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutCommentReactionRequest method. +// req, resp := client.PutCommentReactionRequest(params) // -// // Example sending a request using the PutCommentReactionRequest method. -// req, resp := client.PutCommentReactionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutCommentReaction func (c *CodeCommit) PutCommentReactionRequest(input *PutCommentReactionInput) (req *request.Request, output *PutCommentReactionOutput) { @@ -8573,31 +8559,32 @@ func (c *CodeCommit) PutCommentReactionRequest(input *PutCommentReactionInput) ( // API operation PutCommentReaction for usage and error information. // // Returned Error Types: -// * CommentDoesNotExistException -// No comment exists with the provided ID. Verify that you have used the correct -// ID, and then try again. // -// * CommentIdRequiredException -// The comment ID is missing or null. A comment ID is required. +// - CommentDoesNotExistException +// No comment exists with the provided ID. Verify that you have used the correct +// ID, and then try again. +// +// - CommentIdRequiredException +// The comment ID is missing or null. A comment ID is required. // -// * InvalidCommentIdException -// The comment ID is not in a valid format. Make sure that you have provided -// the full comment ID. +// - InvalidCommentIdException +// The comment ID is not in a valid format. Make sure that you have provided +// the full comment ID. // -// * InvalidReactionValueException -// The value of the reaction is not valid. For more information, see the AWS -// CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html). +// - InvalidReactionValueException +// The value of the reaction is not valid. For more information, see the AWS +// CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html). // -// * ReactionValueRequiredException -// A reaction value is required. +// - ReactionValueRequiredException +// A reaction value is required. // -// * ReactionLimitExceededException -// The number of reactions has been exceeded. Reactions are limited to one reaction -// per user for each individual comment ID. +// - ReactionLimitExceededException +// The number of reactions has been exceeded. Reactions are limited to one reaction +// per user for each individual comment ID. // -// * CommentDeletedException -// This comment has already been deleted. You cannot edit or delete a deleted -// comment. +// - CommentDeletedException +// This comment has already been deleted. You cannot edit or delete a deleted +// comment. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutCommentReaction func (c *CodeCommit) PutCommentReaction(input *PutCommentReactionInput) (*PutCommentReactionOutput, error) { @@ -8637,14 +8624,13 @@ const opPutFile = "PutFile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutFileRequest method. +// req, resp := client.PutFileRequest(params) // -// // Example sending a request using the PutFileRequest method. -// req, resp := client.PutFileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutFile func (c *CodeCommit) PutFileRequest(input *PutFileInput) (req *request.Request, output *PutFileOutput) { @@ -8676,128 +8662,129 @@ func (c *CodeCommit) PutFileRequest(input *PutFileInput) (req *request.Request, // API operation PutFile for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * ParentCommitIdRequiredException -// A parent commit ID is required. To view the full commit ID of a branch in -// a repository, use GetBranch or a Git command (for example, git pull or git -// log). +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * InvalidParentCommitIdException -// The parent commit ID is not valid. The commit ID cannot be empty, and must -// match the head commit ID for the branch of the repository where you want -// to add or update a file. +// - ParentCommitIdRequiredException +// A parent commit ID is required. To view the full commit ID of a branch in +// a repository, use GetBranch or a Git command (for example, git pull or git +// log). // -// * ParentCommitDoesNotExistException -// The parent commit ID is not valid because it does not exist. The specified -// parent commit ID does not exist in the specified branch of the repository. +// - InvalidParentCommitIdException +// The parent commit ID is not valid. The commit ID cannot be empty, and must +// match the head commit ID for the branch of the repository where you want +// to add or update a file. // -// * ParentCommitIdOutdatedException -// The file could not be added because the provided parent commit ID is not -// the current tip of the specified branch. To view the full commit ID of the -// current head of the branch, use GetBranch. +// - ParentCommitDoesNotExistException +// The parent commit ID is not valid because it does not exist. The specified +// parent commit ID does not exist in the specified branch of the repository. // -// * FileContentRequiredException -// The file cannot be added because it is empty. Empty files cannot be added -// to the repository with this API. +// - ParentCommitIdOutdatedException +// The file could not be added because the provided parent commit ID is not +// the current tip of the specified branch. To view the full commit ID of the +// current head of the branch, use GetBranch. // -// * FileContentSizeLimitExceededException -// The file cannot be added because it is too large. The maximum file size is -// 6 MB, and the combined file content change size is 7 MB. Consider making -// these changes using a Git client. +// - FileContentRequiredException +// The file cannot be added because it is empty. Empty files cannot be added +// to the repository with this API. // -// * FolderContentSizeLimitExceededException -// The commit cannot be created because at least one of the overall changes -// in the commit results in a folder whose contents exceed the limit of 6 MB. -// Either reduce the number and size of your changes, or split the changes across -// multiple folders. +// - FileContentSizeLimitExceededException +// The file cannot be added because it is too large. The maximum file size is +// 6 MB, and the combined file content change size is 7 MB. Consider making +// these changes using a Git client. // -// * PathRequiredException -// The folderPath for a location cannot be null. +// - FolderContentSizeLimitExceededException +// The commit cannot be created because at least one of the overall changes +// in the commit results in a folder whose contents exceed the limit of 6 MB. +// Either reduce the number and size of your changes, or split the changes across +// multiple folders. // -// * InvalidPathException -// The specified path is not valid. +// - PathRequiredException +// The folderPath for a location cannot be null. // -// * BranchNameRequiredException -// A branch name is required, but was not specified. +// - InvalidPathException +// The specified path is not valid. // -// * InvalidBranchNameException -// The specified reference name is not valid. +// - BranchNameRequiredException +// A branch name is required, but was not specified. // -// * BranchDoesNotExistException -// The specified branch does not exist. +// - InvalidBranchNameException +// The specified reference name is not valid. // -// * BranchNameIsTagNameException -// The specified branch name is not valid because it is a tag name. Enter the -// name of a branch in the repository. For a list of valid branch names, use -// ListBranches. +// - BranchDoesNotExistException +// The specified branch does not exist. // -// * InvalidFileModeException -// The specified file mode permission is not valid. For a list of valid file -// mode permissions, see PutFile. +// - BranchNameIsTagNameException +// The specified branch name is not valid because it is a tag name. Enter the +// name of a branch in the repository. For a list of valid branch names, use +// ListBranches. // -// * NameLengthExceededException -// The user name is not valid because it has exceeded the character limit for -// author names. +// - InvalidFileModeException +// The specified file mode permission is not valid. For a list of valid file +// mode permissions, see PutFile. // -// * InvalidEmailException -// The specified email address either contains one or more characters that are -// not allowed, or it exceeds the maximum number of characters allowed for an -// email address. +// - NameLengthExceededException +// The user name is not valid because it has exceeded the character limit for +// author names. // -// * CommitMessageLengthExceededException -// The commit message is too long. Provide a shorter string. +// - InvalidEmailException +// The specified email address either contains one or more characters that are +// not allowed, or it exceeds the maximum number of characters allowed for an +// email address. // -// * InvalidDeletionParameterException -// The specified deletion parameter is not valid. +// - CommitMessageLengthExceededException +// The commit message is too long. Provide a shorter string. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - InvalidDeletionParameterException +// The specified deletion parameter is not valid. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * SameFileContentException -// The file was not added or updated because the content of the file is exactly -// the same as the content of that file in the repository and branch that you -// specified. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // -// * FileNameConflictsWithDirectoryNameException -// A file cannot be added to the repository because the specified file name -// has the same name as a directory in this repository. Either provide another -// name for the file, or add the file in a directory that does not match the -// file name. +// - SameFileContentException +// The file was not added or updated because the content of the file is exactly +// the same as the content of that file in the repository and branch that you +// specified. // -// * DirectoryNameConflictsWithFileNameException -// A file cannot be added to the repository because the specified path name -// has the same name as a file that already exists in this repository. Either -// provide a different name for the file, or specify a different path for the -// file. +// - FileNameConflictsWithDirectoryNameException +// A file cannot be added to the repository because the specified file name +// has the same name as a directory in this repository. Either provide another +// name for the file, or add the file in a directory that does not match the +// file name. // -// * FilePathConflictsWithSubmodulePathException -// The commit cannot be created because a specified file path points to a submodule. -// Verify that the destination files have valid file paths that do not point -// to a submodule. +// - DirectoryNameConflictsWithFileNameException +// A file cannot be added to the repository because the specified path name +// has the same name as a file that already exists in this repository. Either +// provide a different name for the file, or specify a different path for the +// file. +// +// - FilePathConflictsWithSubmodulePathException +// The commit cannot be created because a specified file path points to a submodule. +// Verify that the destination files have valid file paths that do not point +// to a submodule. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutFile func (c *CodeCommit) PutFile(input *PutFileInput) (*PutFileOutput, error) { @@ -8837,14 +8824,13 @@ const opPutRepositoryTriggers = "PutRepositoryTriggers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRepositoryTriggersRequest method. +// req, resp := client.PutRepositoryTriggersRequest(params) // -// // Example sending a request using the PutRepositoryTriggersRequest method. -// req, resp := client.PutRepositoryTriggersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers func (c *CodeCommit) PutRepositoryTriggersRequest(input *PutRepositoryTriggersInput) (req *request.Request, output *PutRepositoryTriggersOutput) { @@ -8875,79 +8861,80 @@ func (c *CodeCommit) PutRepositoryTriggersRequest(input *PutRepositoryTriggersIn // API operation PutRepositoryTriggers for usage and error information. // // Returned Error Types: -// * RepositoryDoesNotExistException -// The specified repository does not exist. // -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * RepositoryTriggersListRequiredException -// The list of triggers for the repository is required, but was not specified. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * MaximumRepositoryTriggersExceededException -// The number of triggers allowed for the repository was exceeded. +// - RepositoryTriggersListRequiredException +// The list of triggers for the repository is required, but was not specified. // -// * InvalidRepositoryTriggerNameException -// The name of the trigger is not valid. +// - MaximumRepositoryTriggersExceededException +// The number of triggers allowed for the repository was exceeded. // -// * InvalidRepositoryTriggerDestinationArnException -// The Amazon Resource Name (ARN) for the trigger is not valid for the specified -// destination. The most common reason for this error is that the ARN does not -// meet the requirements for the service type. +// - InvalidRepositoryTriggerNameException +// The name of the trigger is not valid. // -// * InvalidRepositoryTriggerRegionException -// The AWS Region for the trigger target does not match the AWS Region for the -// repository. Triggers must be created in the same Region as the target for -// the trigger. +// - InvalidRepositoryTriggerDestinationArnException +// The Amazon Resource Name (ARN) for the trigger is not valid for the specified +// destination. The most common reason for this error is that the ARN does not +// meet the requirements for the service type. // -// * InvalidRepositoryTriggerCustomDataException -// The custom data provided for the trigger is not valid. +// - InvalidRepositoryTriggerRegionException +// The AWS Region for the trigger target does not match the AWS Region for the +// repository. Triggers must be created in the same Region as the target for +// the trigger. // -// * MaximumBranchesExceededException -// The number of branches for the trigger was exceeded. +// - InvalidRepositoryTriggerCustomDataException +// The custom data provided for the trigger is not valid. // -// * InvalidRepositoryTriggerBranchNameException -// One or more branch names specified for the trigger is not valid. +// - MaximumBranchesExceededException +// The number of branches for the trigger was exceeded. // -// * InvalidRepositoryTriggerEventsException -// One or more events specified for the trigger is not valid. Check to make -// sure that all events specified match the requirements for allowed events. +// - InvalidRepositoryTriggerBranchNameException +// One or more branch names specified for the trigger is not valid. // -// * RepositoryTriggerNameRequiredException -// A name for the trigger is required, but was not specified. +// - InvalidRepositoryTriggerEventsException +// One or more events specified for the trigger is not valid. Check to make +// sure that all events specified match the requirements for allowed events. // -// * RepositoryTriggerDestinationArnRequiredException -// A destination ARN for the target service for the trigger is required, but -// was not specified. +// - RepositoryTriggerNameRequiredException +// A name for the trigger is required, but was not specified. // -// * RepositoryTriggerBranchNameListRequiredException -// At least one branch name is required, but was not specified in the trigger -// configuration. +// - RepositoryTriggerDestinationArnRequiredException +// A destination ARN for the target service for the trigger is required, but +// was not specified. // -// * RepositoryTriggerEventsListRequiredException -// At least one event for the trigger is required, but was not specified. +// - RepositoryTriggerBranchNameListRequiredException +// At least one branch name is required, but was not specified in the trigger +// configuration. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - RepositoryTriggerEventsListRequiredException +// At least one event for the trigger is required, but was not specified. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/PutRepositoryTriggers func (c *CodeCommit) PutRepositoryTriggers(input *PutRepositoryTriggersInput) (*PutRepositoryTriggersOutput, error) { @@ -8987,14 +8974,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagResource func (c *CodeCommit) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -9028,41 +9014,42 @@ func (c *CodeCommit) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Types: -// * RepositoryDoesNotExistException -// The specified repository does not exist. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryDoesNotExistException +// The specified repository does not exist. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * ResourceArnRequiredException -// A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. -// For a list of valid resources in AWS CodeCommit, see CodeCommit Resources -// and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) -// in the AWS CodeCommit User Guide. +// - ResourceArnRequiredException +// A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. +// For a list of valid resources in AWS CodeCommit, see CodeCommit Resources +// and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) +// in the AWS CodeCommit User Guide. // -// * InvalidResourceArnException -// The value for the resource ARN is not valid. For more information about resources -// in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) -// in the AWS CodeCommit User Guide. +// - InvalidResourceArnException +// The value for the resource ARN is not valid. For more information about resources +// in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) +// in the AWS CodeCommit User Guide. // -// * TagsMapRequiredException -// A map of tags is required. +// - TagsMapRequiredException +// A map of tags is required. // -// * InvalidTagsMapException -// The map of tags is not valid. +// - InvalidTagsMapException +// The map of tags is not valid. // -// * TooManyTagsException -// The maximum number of tags for an AWS CodeCommit resource has been exceeded. +// - TooManyTagsException +// The maximum number of tags for an AWS CodeCommit resource has been exceeded. // -// * InvalidSystemTagUsageException -// The specified tag is not valid. Key names cannot be prefixed with aws:. +// - InvalidSystemTagUsageException +// The specified tag is not valid. Key names cannot be prefixed with aws:. // -// * TagPolicyException -// The tag policy is not valid. +// - TagPolicyException +// The tag policy is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TagResource func (c *CodeCommit) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -9102,14 +9089,13 @@ const opTestRepositoryTriggers = "TestRepositoryTriggers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestRepositoryTriggersRequest method. +// req, resp := client.TestRepositoryTriggersRequest(params) // -// // Example sending a request using the TestRepositoryTriggersRequest method. -// req, resp := client.TestRepositoryTriggersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers func (c *CodeCommit) TestRepositoryTriggersRequest(input *TestRepositoryTriggersInput) (req *request.Request, output *TestRepositoryTriggersOutput) { @@ -9143,79 +9129,80 @@ func (c *CodeCommit) TestRepositoryTriggersRequest(input *TestRepositoryTriggers // API operation TestRepositoryTriggers for usage and error information. // // Returned Error Types: -// * RepositoryDoesNotExistException -// The specified repository does not exist. // -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. +// - RepositoryDoesNotExistException +// The specified repository does not exist. +// +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * RepositoryTriggersListRequiredException -// The list of triggers for the repository is required, but was not specified. +// - RepositoryTriggersListRequiredException +// The list of triggers for the repository is required, but was not specified. // -// * MaximumRepositoryTriggersExceededException -// The number of triggers allowed for the repository was exceeded. +// - MaximumRepositoryTriggersExceededException +// The number of triggers allowed for the repository was exceeded. // -// * InvalidRepositoryTriggerNameException -// The name of the trigger is not valid. +// - InvalidRepositoryTriggerNameException +// The name of the trigger is not valid. // -// * InvalidRepositoryTriggerDestinationArnException -// The Amazon Resource Name (ARN) for the trigger is not valid for the specified -// destination. The most common reason for this error is that the ARN does not -// meet the requirements for the service type. +// - InvalidRepositoryTriggerDestinationArnException +// The Amazon Resource Name (ARN) for the trigger is not valid for the specified +// destination. The most common reason for this error is that the ARN does not +// meet the requirements for the service type. // -// * InvalidRepositoryTriggerRegionException -// The AWS Region for the trigger target does not match the AWS Region for the -// repository. Triggers must be created in the same Region as the target for -// the trigger. +// - InvalidRepositoryTriggerRegionException +// The AWS Region for the trigger target does not match the AWS Region for the +// repository. Triggers must be created in the same Region as the target for +// the trigger. // -// * InvalidRepositoryTriggerCustomDataException -// The custom data provided for the trigger is not valid. +// - InvalidRepositoryTriggerCustomDataException +// The custom data provided for the trigger is not valid. // -// * MaximumBranchesExceededException -// The number of branches for the trigger was exceeded. +// - MaximumBranchesExceededException +// The number of branches for the trigger was exceeded. // -// * InvalidRepositoryTriggerBranchNameException -// One or more branch names specified for the trigger is not valid. +// - InvalidRepositoryTriggerBranchNameException +// One or more branch names specified for the trigger is not valid. // -// * InvalidRepositoryTriggerEventsException -// One or more events specified for the trigger is not valid. Check to make -// sure that all events specified match the requirements for allowed events. +// - InvalidRepositoryTriggerEventsException +// One or more events specified for the trigger is not valid. Check to make +// sure that all events specified match the requirements for allowed events. // -// * RepositoryTriggerNameRequiredException -// A name for the trigger is required, but was not specified. +// - RepositoryTriggerNameRequiredException +// A name for the trigger is required, but was not specified. // -// * RepositoryTriggerDestinationArnRequiredException -// A destination ARN for the target service for the trigger is required, but -// was not specified. +// - RepositoryTriggerDestinationArnRequiredException +// A destination ARN for the target service for the trigger is required, but +// was not specified. // -// * RepositoryTriggerBranchNameListRequiredException -// At least one branch name is required, but was not specified in the trigger -// configuration. +// - RepositoryTriggerBranchNameListRequiredException +// At least one branch name is required, but was not specified in the trigger +// configuration. // -// * RepositoryTriggerEventsListRequiredException -// At least one event for the trigger is required, but was not specified. +// - RepositoryTriggerEventsListRequiredException +// At least one event for the trigger is required, but was not specified. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/TestRepositoryTriggers func (c *CodeCommit) TestRepositoryTriggers(input *TestRepositoryTriggersInput) (*TestRepositoryTriggersOutput, error) { @@ -9255,14 +9242,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UntagResource func (c *CodeCommit) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -9296,41 +9282,42 @@ func (c *CodeCommit) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Types: -// * RepositoryDoesNotExistException -// The specified repository does not exist. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryDoesNotExistException +// The specified repository does not exist. +// +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * ResourceArnRequiredException -// A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. -// For a list of valid resources in AWS CodeCommit, see CodeCommit Resources -// and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) -// in the AWS CodeCommit User Guide. +// - ResourceArnRequiredException +// A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. +// For a list of valid resources in AWS CodeCommit, see CodeCommit Resources +// and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) +// in the AWS CodeCommit User Guide. // -// * InvalidResourceArnException -// The value for the resource ARN is not valid. For more information about resources -// in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) -// in the AWS CodeCommit User Guide. +// - InvalidResourceArnException +// The value for the resource ARN is not valid. For more information about resources +// in AWS CodeCommit, see CodeCommit Resources and Operations (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats) +// in the AWS CodeCommit User Guide. // -// * TagKeysListRequiredException -// A list of tag keys is required. The list cannot be empty or null. +// - TagKeysListRequiredException +// A list of tag keys is required. The list cannot be empty or null. // -// * InvalidTagKeysListException -// The list of tags is not valid. +// - InvalidTagKeysListException +// The list of tags is not valid. // -// * TooManyTagsException -// The maximum number of tags for an AWS CodeCommit resource has been exceeded. +// - TooManyTagsException +// The maximum number of tags for an AWS CodeCommit resource has been exceeded. // -// * InvalidSystemTagUsageException -// The specified tag is not valid. Key names cannot be prefixed with aws:. +// - InvalidSystemTagUsageException +// The specified tag is not valid. Key names cannot be prefixed with aws:. // -// * TagPolicyException -// The tag policy is not valid. +// - TagPolicyException +// The tag policy is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UntagResource func (c *CodeCommit) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -9370,14 +9357,13 @@ const opUpdateApprovalRuleTemplateContent = "UpdateApprovalRuleTemplateContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApprovalRuleTemplateContentRequest method. +// req, resp := client.UpdateApprovalRuleTemplateContentRequest(params) // -// // Example sending a request using the UpdateApprovalRuleTemplateContentRequest method. -// req, resp := client.UpdateApprovalRuleTemplateContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateContent func (c *CodeCommit) UpdateApprovalRuleTemplateContentRequest(input *UpdateApprovalRuleTemplateContentInput) (req *request.Request, output *UpdateApprovalRuleTemplateContentOutput) { @@ -9410,28 +9396,29 @@ func (c *CodeCommit) UpdateApprovalRuleTemplateContentRequest(input *UpdateAppro // API operation UpdateApprovalRuleTemplateContent for usage and error information. // // Returned Error Types: -// * InvalidApprovalRuleTemplateNameException -// The name of the approval rule template is not valid. Template names must -// be between 1 and 100 valid characters in length. For more information about -// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // -// * ApprovalRuleTemplateNameRequiredException -// An approval rule template name is required, but was not specified. +// - InvalidApprovalRuleTemplateNameException +// The name of the approval rule template is not valid. Template names must +// be between 1 and 100 valid characters in length. For more information about +// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // -// * ApprovalRuleTemplateDoesNotExistException -// The specified approval rule template does not exist. Verify that the name -// is correct and that you are signed in to the AWS Region where the template -// was created, and then try again. +// - ApprovalRuleTemplateNameRequiredException +// An approval rule template name is required, but was not specified. // -// * InvalidApprovalRuleTemplateContentException -// The content of the approval rule template is not valid. +// - ApprovalRuleTemplateDoesNotExistException +// The specified approval rule template does not exist. Verify that the name +// is correct and that you are signed in to the AWS Region where the template +// was created, and then try again. // -// * InvalidRuleContentSha256Exception -// The SHA-256 hash signature for the rule content is not valid. +// - InvalidApprovalRuleTemplateContentException +// The content of the approval rule template is not valid. // -// * ApprovalRuleTemplateContentRequiredException -// The content for the approval rule template is empty. You must provide some -// content for an approval rule template. The content cannot be null. +// - InvalidRuleContentSha256Exception +// The SHA-256 hash signature for the rule content is not valid. +// +// - ApprovalRuleTemplateContentRequiredException +// The content for the approval rule template is empty. You must provide some +// content for an approval rule template. The content cannot be null. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateContent func (c *CodeCommit) UpdateApprovalRuleTemplateContent(input *UpdateApprovalRuleTemplateContentInput) (*UpdateApprovalRuleTemplateContentOutput, error) { @@ -9471,14 +9458,13 @@ const opUpdateApprovalRuleTemplateDescription = "UpdateApprovalRuleTemplateDescr // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApprovalRuleTemplateDescriptionRequest method. +// req, resp := client.UpdateApprovalRuleTemplateDescriptionRequest(params) // -// // Example sending a request using the UpdateApprovalRuleTemplateDescriptionRequest method. -// req, resp := client.UpdateApprovalRuleTemplateDescriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateDescription func (c *CodeCommit) UpdateApprovalRuleTemplateDescriptionRequest(input *UpdateApprovalRuleTemplateDescriptionInput) (req *request.Request, output *UpdateApprovalRuleTemplateDescriptionOutput) { @@ -9509,23 +9495,24 @@ func (c *CodeCommit) UpdateApprovalRuleTemplateDescriptionRequest(input *UpdateA // API operation UpdateApprovalRuleTemplateDescription for usage and error information. // // Returned Error Types: -// * InvalidApprovalRuleTemplateNameException -// The name of the approval rule template is not valid. Template names must -// be between 1 and 100 valid characters in length. For more information about -// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // -// * ApprovalRuleTemplateNameRequiredException -// An approval rule template name is required, but was not specified. +// - InvalidApprovalRuleTemplateNameException +// The name of the approval rule template is not valid. Template names must +// be between 1 and 100 valid characters in length. For more information about +// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // -// * ApprovalRuleTemplateDoesNotExistException -// The specified approval rule template does not exist. Verify that the name -// is correct and that you are signed in to the AWS Region where the template -// was created, and then try again. +// - ApprovalRuleTemplateNameRequiredException +// An approval rule template name is required, but was not specified. // -// * InvalidApprovalRuleTemplateDescriptionException -// The description for the approval rule template is not valid because it exceeds -// the maximum characters allowed for a description. For more information about -// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). +// - ApprovalRuleTemplateDoesNotExistException +// The specified approval rule template does not exist. Verify that the name +// is correct and that you are signed in to the AWS Region where the template +// was created, and then try again. +// +// - InvalidApprovalRuleTemplateDescriptionException +// The description for the approval rule template is not valid because it exceeds +// the maximum characters allowed for a description. For more information about +// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateDescription func (c *CodeCommit) UpdateApprovalRuleTemplateDescription(input *UpdateApprovalRuleTemplateDescriptionInput) (*UpdateApprovalRuleTemplateDescriptionOutput, error) { @@ -9565,14 +9552,13 @@ const opUpdateApprovalRuleTemplateName = "UpdateApprovalRuleTemplateName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApprovalRuleTemplateNameRequest method. +// req, resp := client.UpdateApprovalRuleTemplateNameRequest(params) // -// // Example sending a request using the UpdateApprovalRuleTemplateNameRequest method. -// req, resp := client.UpdateApprovalRuleTemplateNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateName func (c *CodeCommit) UpdateApprovalRuleTemplateNameRequest(input *UpdateApprovalRuleTemplateNameInput) (req *request.Request, output *UpdateApprovalRuleTemplateNameOutput) { @@ -9603,23 +9589,24 @@ func (c *CodeCommit) UpdateApprovalRuleTemplateNameRequest(input *UpdateApproval // API operation UpdateApprovalRuleTemplateName for usage and error information. // // Returned Error Types: -// * InvalidApprovalRuleTemplateNameException -// The name of the approval rule template is not valid. Template names must -// be between 1 and 100 valid characters in length. For more information about -// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). // -// * ApprovalRuleTemplateNameRequiredException -// An approval rule template name is required, but was not specified. +// - InvalidApprovalRuleTemplateNameException +// The name of the approval rule template is not valid. Template names must +// be between 1 and 100 valid characters in length. For more information about +// limits in AWS CodeCommit, see AWS CodeCommit User Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html). +// +// - ApprovalRuleTemplateNameRequiredException +// An approval rule template name is required, but was not specified. // -// * ApprovalRuleTemplateDoesNotExistException -// The specified approval rule template does not exist. Verify that the name -// is correct and that you are signed in to the AWS Region where the template -// was created, and then try again. +// - ApprovalRuleTemplateDoesNotExistException +// The specified approval rule template does not exist. Verify that the name +// is correct and that you are signed in to the AWS Region where the template +// was created, and then try again. // -// * ApprovalRuleTemplateNameAlreadyExistsException -// You cannot create an approval rule template with that name because a template -// with that name already exists in this AWS Region for your AWS account. Approval -// rule template names must be unique. +// - ApprovalRuleTemplateNameAlreadyExistsException +// You cannot create an approval rule template with that name because a template +// with that name already exists in this AWS Region for your AWS account. Approval +// rule template names must be unique. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateApprovalRuleTemplateName func (c *CodeCommit) UpdateApprovalRuleTemplateName(input *UpdateApprovalRuleTemplateNameInput) (*UpdateApprovalRuleTemplateNameOutput, error) { @@ -9659,14 +9646,13 @@ const opUpdateComment = "UpdateComment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCommentRequest method. +// req, resp := client.UpdateCommentRequest(params) // -// // Example sending a request using the UpdateCommentRequest method. -// req, resp := client.UpdateCommentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateComment func (c *CodeCommit) UpdateCommentRequest(input *UpdateCommentInput) (req *request.Request, output *UpdateCommentOutput) { @@ -9697,31 +9683,32 @@ func (c *CodeCommit) UpdateCommentRequest(input *UpdateCommentInput) (req *reque // API operation UpdateComment for usage and error information. // // Returned Error Types: -// * CommentContentRequiredException -// The comment is empty. You must provide some content for a comment. The content -// cannot be null. // -// * CommentContentSizeLimitExceededException -// The comment is too large. Comments are limited to 1,000 characters. +// - CommentContentRequiredException +// The comment is empty. You must provide some content for a comment. The content +// cannot be null. +// +// - CommentContentSizeLimitExceededException +// The comment is too large. Comments are limited to 1,000 characters. // -// * CommentDoesNotExistException -// No comment exists with the provided ID. Verify that you have used the correct -// ID, and then try again. +// - CommentDoesNotExistException +// No comment exists with the provided ID. Verify that you have used the correct +// ID, and then try again. // -// * CommentIdRequiredException -// The comment ID is missing or null. A comment ID is required. +// - CommentIdRequiredException +// The comment ID is missing or null. A comment ID is required. // -// * InvalidCommentIdException -// The comment ID is not in a valid format. Make sure that you have provided -// the full comment ID. +// - InvalidCommentIdException +// The comment ID is not in a valid format. Make sure that you have provided +// the full comment ID. // -// * CommentNotCreatedByCallerException -// You cannot modify or delete this comment. Only comment authors can modify -// or delete their comments. +// - CommentNotCreatedByCallerException +// You cannot modify or delete this comment. Only comment authors can modify +// or delete their comments. // -// * CommentDeletedException -// This comment has already been deleted. You cannot edit or delete a deleted -// comment. +// - CommentDeletedException +// This comment has already been deleted. You cannot edit or delete a deleted +// comment. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateComment func (c *CodeCommit) UpdateComment(input *UpdateCommentInput) (*UpdateCommentOutput, error) { @@ -9761,14 +9748,13 @@ const opUpdateDefaultBranch = "UpdateDefaultBranch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDefaultBranchRequest method. +// req, resp := client.UpdateDefaultBranchRequest(params) // -// // Example sending a request using the UpdateDefaultBranchRequest method. -// req, resp := client.UpdateDefaultBranchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch func (c *CodeCommit) UpdateDefaultBranchRequest(input *UpdateDefaultBranchInput) (req *request.Request, output *UpdateDefaultBranchOutput) { @@ -9804,42 +9790,43 @@ func (c *CodeCommit) UpdateDefaultBranchRequest(input *UpdateDefaultBranchInput) // API operation UpdateDefaultBranch for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// * BranchNameRequiredException -// A branch name is required, but was not specified. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * InvalidBranchNameException -// The specified reference name is not valid. +// - BranchNameRequiredException +// A branch name is required, but was not specified. // -// * BranchDoesNotExistException -// The specified branch does not exist. +// - InvalidBranchNameException +// The specified reference name is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - BranchDoesNotExistException +// The specified branch does not exist. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateDefaultBranch func (c *CodeCommit) UpdateDefaultBranch(input *UpdateDefaultBranchInput) (*UpdateDefaultBranchOutput, error) { @@ -9879,14 +9866,13 @@ const opUpdatePullRequestApprovalRuleContent = "UpdatePullRequestApprovalRuleCon // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePullRequestApprovalRuleContentRequest method. +// req, resp := client.UpdatePullRequestApprovalRuleContentRequest(params) // -// // Example sending a request using the UpdatePullRequestApprovalRuleContentRequest method. -// req, resp := client.UpdatePullRequestApprovalRuleContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalRuleContent func (c *CodeCommit) UpdatePullRequestApprovalRuleContentRequest(input *UpdatePullRequestApprovalRuleContentInput) (req *request.Request, output *UpdatePullRequestApprovalRuleContentOutput) { @@ -9919,58 +9905,59 @@ func (c *CodeCommit) UpdatePullRequestApprovalRuleContentRequest(input *UpdatePu // API operation UpdatePullRequestApprovalRuleContent for usage and error information. // // Returned Error Types: -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. +// +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * PullRequestAlreadyClosedException -// The pull request status cannot be updated because it is already closed. +// - PullRequestAlreadyClosedException +// The pull request status cannot be updated because it is already closed. // -// * ApprovalRuleNameRequiredException -// An approval rule name is required, but was not specified. +// - ApprovalRuleNameRequiredException +// An approval rule name is required, but was not specified. // -// * InvalidApprovalRuleNameException -// The name for the approval rule is not valid. +// - InvalidApprovalRuleNameException +// The name for the approval rule is not valid. // -// * ApprovalRuleDoesNotExistException -// The specified approval rule does not exist. +// - ApprovalRuleDoesNotExistException +// The specified approval rule does not exist. // -// * InvalidRuleContentSha256Exception -// The SHA-256 hash signature for the rule content is not valid. +// - InvalidRuleContentSha256Exception +// The SHA-256 hash signature for the rule content is not valid. // -// * ApprovalRuleContentRequiredException -// The content for the approval rule is empty. You must provide some content -// for an approval rule. The content cannot be null. +// - ApprovalRuleContentRequiredException +// The content for the approval rule is empty. You must provide some content +// for an approval rule. The content cannot be null. // -// * InvalidApprovalRuleContentException -// The content for the approval rule is not valid. +// - InvalidApprovalRuleContentException +// The content for the approval rule is not valid. // -// * CannotModifyApprovalRuleFromTemplateException -// The approval rule cannot be modified for the pull request because it was -// created by an approval rule template and applied to the pull request automatically. +// - CannotModifyApprovalRuleFromTemplateException +// The approval rule cannot be modified for the pull request because it was +// created by an approval rule template and applied to the pull request automatically. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalRuleContent func (c *CodeCommit) UpdatePullRequestApprovalRuleContent(input *UpdatePullRequestApprovalRuleContentInput) (*UpdatePullRequestApprovalRuleContentOutput, error) { @@ -10010,14 +9997,13 @@ const opUpdatePullRequestApprovalState = "UpdatePullRequestApprovalState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePullRequestApprovalStateRequest method. +// req, resp := client.UpdatePullRequestApprovalStateRequest(params) // -// // Example sending a request using the UpdatePullRequestApprovalStateRequest method. -// req, resp := client.UpdatePullRequestApprovalStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalState func (c *CodeCommit) UpdatePullRequestApprovalStateRequest(input *UpdatePullRequestApprovalStateInput) (req *request.Request, output *UpdatePullRequestApprovalStateOutput) { @@ -10050,61 +10036,62 @@ func (c *CodeCommit) UpdatePullRequestApprovalStateRequest(input *UpdatePullRequ // API operation UpdatePullRequestApprovalState for usage and error information. // // Returned Error Types: -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. +// +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * InvalidRevisionIdException -// The revision ID is not valid. Use GetPullRequest to determine the value. +// - InvalidRevisionIdException +// The revision ID is not valid. Use GetPullRequest to determine the value. // -// * RevisionIdRequiredException -// A revision ID is required, but was not provided. +// - RevisionIdRequiredException +// A revision ID is required, but was not provided. // -// * InvalidApprovalStateException -// The state for the approval is not valid. Valid values include APPROVE and -// REVOKE. +// - InvalidApprovalStateException +// The state for the approval is not valid. Valid values include APPROVE and +// REVOKE. // -// * ApprovalStateRequiredException -// An approval state is required, but was not specified. +// - ApprovalStateRequiredException +// An approval state is required, but was not specified. // -// * PullRequestCannotBeApprovedByAuthorException -// The approval cannot be applied because the user approving the pull request -// matches the user who created the pull request. You cannot approve a pull -// request that you created. +// - PullRequestCannotBeApprovedByAuthorException +// The approval cannot be applied because the user approving the pull request +// matches the user who created the pull request. You cannot approve a pull +// request that you created. // -// * RevisionNotCurrentException -// The revision ID provided in the request does not match the current revision -// ID. Use GetPullRequest to retrieve the current revision ID. +// - RevisionNotCurrentException +// The revision ID provided in the request does not match the current revision +// ID. Use GetPullRequest to retrieve the current revision ID. // -// * PullRequestAlreadyClosedException -// The pull request status cannot be updated because it is already closed. +// - PullRequestAlreadyClosedException +// The pull request status cannot be updated because it is already closed. // -// * MaximumNumberOfApprovalsExceededException -// The number of approvals required for the approval rule exceeds the maximum -// number allowed. +// - MaximumNumberOfApprovalsExceededException +// The number of approvals required for the approval rule exceeds the maximum +// number allowed. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestApprovalState func (c *CodeCommit) UpdatePullRequestApprovalState(input *UpdatePullRequestApprovalStateInput) (*UpdatePullRequestApprovalStateOutput, error) { @@ -10144,14 +10131,13 @@ const opUpdatePullRequestDescription = "UpdatePullRequestDescription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePullRequestDescriptionRequest method. +// req, resp := client.UpdatePullRequestDescriptionRequest(params) // -// // Example sending a request using the UpdatePullRequestDescriptionRequest method. -// req, resp := client.UpdatePullRequestDescriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescription func (c *CodeCommit) UpdatePullRequestDescriptionRequest(input *UpdatePullRequestDescriptionInput) (req *request.Request, output *UpdatePullRequestDescriptionOutput) { @@ -10182,24 +10168,25 @@ func (c *CodeCommit) UpdatePullRequestDescriptionRequest(input *UpdatePullReques // API operation UpdatePullRequestDescription for usage and error information. // // Returned Error Types: -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. +// +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * InvalidDescriptionException -// The pull request description is not valid. Descriptions cannot be more than -// 1,000 characters. +// - InvalidDescriptionException +// The pull request description is not valid. Descriptions cannot be more than +// 1,000 characters. // -// * PullRequestAlreadyClosedException -// The pull request status cannot be updated because it is already closed. +// - PullRequestAlreadyClosedException +// The pull request status cannot be updated because it is already closed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestDescription func (c *CodeCommit) UpdatePullRequestDescription(input *UpdatePullRequestDescriptionInput) (*UpdatePullRequestDescriptionOutput, error) { @@ -10239,14 +10226,13 @@ const opUpdatePullRequestStatus = "UpdatePullRequestStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePullRequestStatusRequest method. +// req, resp := client.UpdatePullRequestStatusRequest(params) // -// // Example sending a request using the UpdatePullRequestStatusRequest method. -// req, resp := client.UpdatePullRequestStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatus func (c *CodeCommit) UpdatePullRequestStatusRequest(input *UpdatePullRequestStatusInput) (req *request.Request, output *UpdatePullRequestStatusOutput) { @@ -10277,43 +10263,44 @@ func (c *CodeCommit) UpdatePullRequestStatusRequest(input *UpdatePullRequestStat // API operation UpdatePullRequestStatus for usage and error information. // // Returned Error Types: -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * InvalidPullRequestStatusUpdateException -// The pull request status update is not valid. The only valid update is from -// OPEN to CLOSED. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * InvalidPullRequestStatusException -// The pull request status is not valid. The only valid values are OPEN and -// CLOSED. +// - InvalidPullRequestStatusUpdateException +// The pull request status update is not valid. The only valid update is from +// OPEN to CLOSED. // -// * PullRequestStatusRequiredException -// A pull request status is required, but none was provided. +// - InvalidPullRequestStatusException +// The pull request status is not valid. The only valid values are OPEN and +// CLOSED. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - PullRequestStatusRequiredException +// A pull request status is required, but none was provided. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyNotFoundException +// No encryption key was found. +// +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestStatus func (c *CodeCommit) UpdatePullRequestStatus(input *UpdatePullRequestStatusInput) (*UpdatePullRequestStatusOutput, error) { @@ -10353,14 +10340,13 @@ const opUpdatePullRequestTitle = "UpdatePullRequestTitle" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePullRequestTitleRequest method. +// req, resp := client.UpdatePullRequestTitleRequest(params) // -// // Example sending a request using the UpdatePullRequestTitleRequest method. -// req, resp := client.UpdatePullRequestTitleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitle func (c *CodeCommit) UpdatePullRequestTitleRequest(input *UpdatePullRequestTitleInput) (req *request.Request, output *UpdatePullRequestTitleOutput) { @@ -10391,27 +10377,28 @@ func (c *CodeCommit) UpdatePullRequestTitleRequest(input *UpdatePullRequestTitle // API operation UpdatePullRequestTitle for usage and error information. // // Returned Error Types: -// * PullRequestDoesNotExistException -// The pull request ID could not be found. Make sure that you have specified -// the correct repository name and pull request ID, and then try again. // -// * InvalidPullRequestIdException -// The pull request ID is not valid. Make sure that you have provided the full -// ID and that the pull request is in the specified repository, and then try -// again. +// - PullRequestDoesNotExistException +// The pull request ID could not be found. Make sure that you have specified +// the correct repository name and pull request ID, and then try again. // -// * PullRequestIdRequiredException -// A pull request ID is required, but none was provided. +// - InvalidPullRequestIdException +// The pull request ID is not valid. Make sure that you have provided the full +// ID and that the pull request is in the specified repository, and then try +// again. // -// * TitleRequiredException -// A pull request title is required. It cannot be empty or null. +// - PullRequestIdRequiredException +// A pull request ID is required, but none was provided. // -// * InvalidTitleException -// The title of the pull request is not valid. Pull request titles cannot exceed -// 100 characters in length. +// - TitleRequiredException +// A pull request title is required. It cannot be empty or null. // -// * PullRequestAlreadyClosedException -// The pull request status cannot be updated because it is already closed. +// - InvalidTitleException +// The title of the pull request is not valid. Pull request titles cannot exceed +// 100 characters in length. +// +// - PullRequestAlreadyClosedException +// The pull request status cannot be updated because it is already closed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdatePullRequestTitle func (c *CodeCommit) UpdatePullRequestTitle(input *UpdatePullRequestTitleInput) (*UpdatePullRequestTitleOutput, error) { @@ -10451,14 +10438,13 @@ const opUpdateRepositoryDescription = "UpdateRepositoryDescription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRepositoryDescriptionRequest method. +// req, resp := client.UpdateRepositoryDescriptionRequest(params) // -// // Example sending a request using the UpdateRepositoryDescriptionRequest method. -// req, resp := client.UpdateRepositoryDescriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription func (c *CodeCommit) UpdateRepositoryDescriptionRequest(input *UpdateRepositoryDescriptionInput) (req *request.Request, output *UpdateRepositoryDescriptionOutput) { @@ -10496,36 +10482,37 @@ func (c *CodeCommit) UpdateRepositoryDescriptionRequest(input *UpdateRepositoryD // API operation UpdateRepositoryDescription for usage and error information. // // Returned Error Types: -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. // -// * RepositoryDoesNotExistException -// The specified repository does not exist. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. +// +// - RepositoryDoesNotExistException +// The specified repository does not exist. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // -// * InvalidRepositoryDescriptionException -// The specified repository description is not valid. +// - InvalidRepositoryDescriptionException +// The specified repository description is not valid. // -// * EncryptionIntegrityChecksFailedException -// An encryption integrity check failed. +// - EncryptionIntegrityChecksFailedException +// An encryption integrity check failed. // -// * EncryptionKeyAccessDeniedException -// An encryption key could not be accessed. +// - EncryptionKeyAccessDeniedException +// An encryption key could not be accessed. // -// * EncryptionKeyDisabledException -// The encryption key is disabled. +// - EncryptionKeyDisabledException +// The encryption key is disabled. // -// * EncryptionKeyNotFoundException -// No encryption key was found. +// - EncryptionKeyNotFoundException +// No encryption key was found. // -// * EncryptionKeyUnavailableException -// The encryption key is not available. +// - EncryptionKeyUnavailableException +// The encryption key is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryDescription func (c *CodeCommit) UpdateRepositoryDescription(input *UpdateRepositoryDescriptionInput) (*UpdateRepositoryDescriptionOutput, error) { @@ -10565,14 +10552,13 @@ const opUpdateRepositoryName = "UpdateRepositoryName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRepositoryNameRequest method. +// req, resp := client.UpdateRepositoryNameRequest(params) // -// // Example sending a request using the UpdateRepositoryNameRequest method. -// req, resp := client.UpdateRepositoryNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName func (c *CodeCommit) UpdateRepositoryNameRequest(input *UpdateRepositoryNameInput) (req *request.Request, output *UpdateRepositoryNameOutput) { @@ -10609,21 +10595,22 @@ func (c *CodeCommit) UpdateRepositoryNameRequest(input *UpdateRepositoryNameInpu // API operation UpdateRepositoryName for usage and error information. // // Returned Error Types: -// * RepositoryDoesNotExistException -// The specified repository does not exist. // -// * RepositoryNameExistsException -// The specified repository name already exists. +// - RepositoryDoesNotExistException +// The specified repository does not exist. +// +// - RepositoryNameExistsException +// The specified repository name already exists. // -// * RepositoryNameRequiredException -// A repository name is required, but was not specified. +// - RepositoryNameRequiredException +// A repository name is required, but was not specified. // -// * InvalidRepositoryNameException -// A specified repository name is not valid. +// - InvalidRepositoryNameException +// A specified repository name is not valid. // -// This exception occurs only when a specified repository name is not valid. -// Other exceptions occur when a required repository parameter is missing, or -// when a specified repository does not exist. +// This exception occurs only when a specified repository name is not valid. +// Other exceptions occur when a required repository parameter is missing, or +// when a specified repository does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/UpdateRepositoryName func (c *CodeCommit) UpdateRepositoryName(input *UpdateRepositoryNameInput) (*UpdateRepositoryNameOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/codecommitiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/codecommitiface/interface.go index 0f1291fe769b..2d165001a9bc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/codecommitiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/codecommitiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS CodeCommit. -// func myFunc(svc codecommitiface.CodeCommitAPI) bool { -// // Make svc.AssociateApprovalRuleTemplateWithRepository request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS CodeCommit. +// func myFunc(svc codecommitiface.CodeCommitAPI) bool { +// // Make svc.AssociateApprovalRuleTemplateWithRepository request +// } // -// func main() { -// sess := session.New() -// svc := codecommit.New(sess) +// func main() { +// sess := session.New() +// svc := codecommit.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCodeCommitClient struct { -// codecommitiface.CodeCommitAPI -// } -// func (m *mockCodeCommitClient) AssociateApprovalRuleTemplateWithRepository(input *codecommit.AssociateApprovalRuleTemplateWithRepositoryInput) (*codecommit.AssociateApprovalRuleTemplateWithRepositoryOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCodeCommitClient struct { +// codecommitiface.CodeCommitAPI +// } +// func (m *mockCodeCommitClient) AssociateApprovalRuleTemplateWithRepository(input *codecommit.AssociateApprovalRuleTemplateWithRepositoryInput) (*codecommit.AssociateApprovalRuleTemplateWithRepositoryOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCodeCommitClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCodeCommitClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/doc.go index 87186d5edddf..997803bf9e34 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/doc.go @@ -11,256 +11,256 @@ // // Repositories, by calling the following: // -// * BatchGetRepositories, which returns information about one or more repositories -// associated with your AWS account. +// - BatchGetRepositories, which returns information about one or more repositories +// associated with your AWS account. // -// * CreateRepository, which creates an AWS CodeCommit repository. +// - CreateRepository, which creates an AWS CodeCommit repository. // -// * DeleteRepository, which deletes an AWS CodeCommit repository. +// - DeleteRepository, which deletes an AWS CodeCommit repository. // -// * GetRepository, which returns information about a specified repository. +// - GetRepository, which returns information about a specified repository. // -// * ListRepositories, which lists all AWS CodeCommit repositories associated -// with your AWS account. +// - ListRepositories, which lists all AWS CodeCommit repositories associated +// with your AWS account. // -// * UpdateRepositoryDescription, which sets or updates the description of -// the repository. +// - UpdateRepositoryDescription, which sets or updates the description of +// the repository. // -// * UpdateRepositoryName, which changes the name of the repository. If you -// change the name of a repository, no other users of that repository can -// access it until you send them the new HTTPS or SSH URL to use. +// - UpdateRepositoryName, which changes the name of the repository. If you +// change the name of a repository, no other users of that repository can +// access it until you send them the new HTTPS or SSH URL to use. // // Branches, by calling the following: // -// * CreateBranch, which creates a branch in a specified repository. +// - CreateBranch, which creates a branch in a specified repository. // -// * DeleteBranch, which deletes the specified branch in a repository unless -// it is the default branch. +// - DeleteBranch, which deletes the specified branch in a repository unless +// it is the default branch. // -// * GetBranch, which returns information about a specified branch. +// - GetBranch, which returns information about a specified branch. // -// * ListBranches, which lists all branches for a specified repository. +// - ListBranches, which lists all branches for a specified repository. // -// * UpdateDefaultBranch, which changes the default branch for a repository. +// - UpdateDefaultBranch, which changes the default branch for a repository. // // Files, by calling the following: // -// * DeleteFile, which deletes the content of a specified file from a specified -// branch. +// - DeleteFile, which deletes the content of a specified file from a specified +// branch. // -// * GetBlob, which returns the base-64 encoded content of an individual -// Git blob object in a repository. +// - GetBlob, which returns the base-64 encoded content of an individual +// Git blob object in a repository. // -// * GetFile, which returns the base-64 encoded content of a specified file. +// - GetFile, which returns the base-64 encoded content of a specified file. // -// * GetFolder, which returns the contents of a specified folder or directory. +// - GetFolder, which returns the contents of a specified folder or directory. // -// * PutFile, which adds or modifies a single file in a specified repository -// and branch. +// - PutFile, which adds or modifies a single file in a specified repository +// and branch. // // Commits, by calling the following: // -// * BatchGetCommits, which returns information about one or more commits -// in a repository. +// - BatchGetCommits, which returns information about one or more commits +// in a repository. // -// * CreateCommit, which creates a commit for changes to a repository. +// - CreateCommit, which creates a commit for changes to a repository. // -// * GetCommit, which returns information about a commit, including commit -// messages and author and committer information. +// - GetCommit, which returns information about a commit, including commit +// messages and author and committer information. // -// * GetDifferences, which returns information about the differences in a -// valid commit specifier (such as a branch, tag, HEAD, commit ID, or other -// fully qualified reference). +// - GetDifferences, which returns information about the differences in a +// valid commit specifier (such as a branch, tag, HEAD, commit ID, or other +// fully qualified reference). // // Merges, by calling the following: // -// * BatchDescribeMergeConflicts, which returns information about conflicts -// in a merge between commits in a repository. +// - BatchDescribeMergeConflicts, which returns information about conflicts +// in a merge between commits in a repository. // -// * CreateUnreferencedMergeCommit, which creates an unreferenced commit -// between two branches or commits for the purpose of comparing them and -// identifying any potential conflicts. +// - CreateUnreferencedMergeCommit, which creates an unreferenced commit +// between two branches or commits for the purpose of comparing them and +// identifying any potential conflicts. // -// * DescribeMergeConflicts, which returns information about merge conflicts -// between the base, source, and destination versions of a file in a potential -// merge. +// - DescribeMergeConflicts, which returns information about merge conflicts +// between the base, source, and destination versions of a file in a potential +// merge. // -// * GetMergeCommit, which returns information about the merge between a -// source and destination commit. +// - GetMergeCommit, which returns information about the merge between a +// source and destination commit. // -// * GetMergeConflicts, which returns information about merge conflicts between -// the source and destination branch in a pull request. +// - GetMergeConflicts, which returns information about merge conflicts between +// the source and destination branch in a pull request. // -// * GetMergeOptions, which returns information about the available merge -// options between two branches or commit specifiers. +// - GetMergeOptions, which returns information about the available merge +// options between two branches or commit specifiers. // -// * MergeBranchesByFastForward, which merges two branches using the fast-forward -// merge option. +// - MergeBranchesByFastForward, which merges two branches using the fast-forward +// merge option. // -// * MergeBranchesBySquash, which merges two branches using the squash merge -// option. +// - MergeBranchesBySquash, which merges two branches using the squash merge +// option. // -// * MergeBranchesByThreeWay, which merges two branches using the three-way -// merge option. +// - MergeBranchesByThreeWay, which merges two branches using the three-way +// merge option. // // Pull requests, by calling the following: // -// * CreatePullRequest, which creates a pull request in a specified repository. +// - CreatePullRequest, which creates a pull request in a specified repository. // -// * CreatePullRequestApprovalRule, which creates an approval rule for a -// specified pull request. +// - CreatePullRequestApprovalRule, which creates an approval rule for a +// specified pull request. // -// * DeletePullRequestApprovalRule, which deletes an approval rule for a -// specified pull request. +// - DeletePullRequestApprovalRule, which deletes an approval rule for a +// specified pull request. // -// * DescribePullRequestEvents, which returns information about one or more -// pull request events. +// - DescribePullRequestEvents, which returns information about one or more +// pull request events. // -// * EvaluatePullRequestApprovalRules, which evaluates whether a pull request -// has met all the conditions specified in its associated approval rules. +// - EvaluatePullRequestApprovalRules, which evaluates whether a pull request +// has met all the conditions specified in its associated approval rules. // -// * GetCommentsForPullRequest, which returns information about comments -// on a specified pull request. +// - GetCommentsForPullRequest, which returns information about comments +// on a specified pull request. // -// * GetPullRequest, which returns information about a specified pull request. +// - GetPullRequest, which returns information about a specified pull request. // -// * GetPullRequestApprovalStates, which returns information about the approval -// states for a specified pull request. +// - GetPullRequestApprovalStates, which returns information about the approval +// states for a specified pull request. // -// * GetPullRequestOverrideState, which returns information about whether -// approval rules have been set aside (overriden) for a pull request, and -// if so, the Amazon Resource Name (ARN) of the user or identity that overrode -// the rules and their requirements for the pull request. +// - GetPullRequestOverrideState, which returns information about whether +// approval rules have been set aside (overriden) for a pull request, and +// if so, the Amazon Resource Name (ARN) of the user or identity that overrode +// the rules and their requirements for the pull request. // -// * ListPullRequests, which lists all pull requests for a repository. +// - ListPullRequests, which lists all pull requests for a repository. // -// * MergePullRequestByFastForward, which merges the source destination branch -// of a pull request into the specified destination branch for that pull -// request using the fast-forward merge option. +// - MergePullRequestByFastForward, which merges the source destination branch +// of a pull request into the specified destination branch for that pull +// request using the fast-forward merge option. // -// * MergePullRequestBySquash, which merges the source destination branch -// of a pull request into the specified destination branch for that pull -// request using the squash merge option. +// - MergePullRequestBySquash, which merges the source destination branch +// of a pull request into the specified destination branch for that pull +// request using the squash merge option. // -// * MergePullRequestByThreeWay. which merges the source destination branch -// of a pull request into the specified destination branch for that pull -// request using the three-way merge option. +// - MergePullRequestByThreeWay. which merges the source destination branch +// of a pull request into the specified destination branch for that pull +// request using the three-way merge option. // -// * OverridePullRequestApprovalRules, which sets aside all approval rule -// requirements for a pull request. +// - OverridePullRequestApprovalRules, which sets aside all approval rule +// requirements for a pull request. // -// * PostCommentForPullRequest, which posts a comment to a pull request at -// the specified line, file, or request. +// - PostCommentForPullRequest, which posts a comment to a pull request at +// the specified line, file, or request. // -// * UpdatePullRequestApprovalRuleContent, which updates the structure of -// an approval rule for a pull request. +// - UpdatePullRequestApprovalRuleContent, which updates the structure of +// an approval rule for a pull request. // -// * UpdatePullRequestApprovalState, which updates the state of an approval -// on a pull request. +// - UpdatePullRequestApprovalState, which updates the state of an approval +// on a pull request. // -// * UpdatePullRequestDescription, which updates the description of a pull -// request. +// - UpdatePullRequestDescription, which updates the description of a pull +// request. // -// * UpdatePullRequestStatus, which updates the status of a pull request. +// - UpdatePullRequestStatus, which updates the status of a pull request. // -// * UpdatePullRequestTitle, which updates the title of a pull request. +// - UpdatePullRequestTitle, which updates the title of a pull request. // // Approval rule templates, by calling the following: // -// * AssociateApprovalRuleTemplateWithRepository, which associates a template -// with a specified repository. After the template is associated with a repository, -// AWS CodeCommit creates approval rules that match the template conditions -// on every pull request created in the specified repository. +// - AssociateApprovalRuleTemplateWithRepository, which associates a template +// with a specified repository. After the template is associated with a repository, +// AWS CodeCommit creates approval rules that match the template conditions +// on every pull request created in the specified repository. // -// * BatchAssociateApprovalRuleTemplateWithRepositories, which associates -// a template with one or more specified repositories. After the template -// is associated with a repository, AWS CodeCommit creates approval rules -// that match the template conditions on every pull request created in the -// specified repositories. +// - BatchAssociateApprovalRuleTemplateWithRepositories, which associates +// a template with one or more specified repositories. After the template +// is associated with a repository, AWS CodeCommit creates approval rules +// that match the template conditions on every pull request created in the +// specified repositories. // -// * BatchDisassociateApprovalRuleTemplateFromRepositories, which removes -// the association between a template and specified repositories so that -// approval rules based on the template are not automatically created when -// pull requests are created in those repositories. +// - BatchDisassociateApprovalRuleTemplateFromRepositories, which removes +// the association between a template and specified repositories so that +// approval rules based on the template are not automatically created when +// pull requests are created in those repositories. // -// * CreateApprovalRuleTemplate, which creates a template for approval rules -// that can then be associated with one or more repositories in your AWS -// account. +// - CreateApprovalRuleTemplate, which creates a template for approval rules +// that can then be associated with one or more repositories in your AWS +// account. // -// * DeleteApprovalRuleTemplate, which deletes the specified template. It -// does not remove approval rules on pull requests already created with the -// template. +// - DeleteApprovalRuleTemplate, which deletes the specified template. It +// does not remove approval rules on pull requests already created with the +// template. // -// * DisassociateApprovalRuleTemplateFromRepository, which removes the association -// between a template and a repository so that approval rules based on the -// template are not automatically created when pull requests are created -// in the specified repository. +// - DisassociateApprovalRuleTemplateFromRepository, which removes the association +// between a template and a repository so that approval rules based on the +// template are not automatically created when pull requests are created +// in the specified repository. // -// * GetApprovalRuleTemplate, which returns information about an approval -// rule template. +// - GetApprovalRuleTemplate, which returns information about an approval +// rule template. // -// * ListApprovalRuleTemplates, which lists all approval rule templates in -// the AWS Region in your AWS account. +// - ListApprovalRuleTemplates, which lists all approval rule templates in +// the AWS Region in your AWS account. // -// * ListAssociatedApprovalRuleTemplatesForRepository, which lists all approval -// rule templates that are associated with a specified repository. +// - ListAssociatedApprovalRuleTemplatesForRepository, which lists all approval +// rule templates that are associated with a specified repository. // -// * ListRepositoriesForApprovalRuleTemplate, which lists all repositories -// associated with the specified approval rule template. +// - ListRepositoriesForApprovalRuleTemplate, which lists all repositories +// associated with the specified approval rule template. // -// * UpdateApprovalRuleTemplateDescription, which updates the description -// of an approval rule template. +// - UpdateApprovalRuleTemplateDescription, which updates the description +// of an approval rule template. // -// * UpdateApprovalRuleTemplateName, which updates the name of an approval -// rule template. +// - UpdateApprovalRuleTemplateName, which updates the name of an approval +// rule template. // -// * UpdateApprovalRuleTemplateContent, which updates the content of an approval -// rule template. +// - UpdateApprovalRuleTemplateContent, which updates the content of an approval +// rule template. // // Comments in a repository, by calling the following: // -// * DeleteCommentContent, which deletes the content of a comment on a commit -// in a repository. +// - DeleteCommentContent, which deletes the content of a comment on a commit +// in a repository. // -// * GetComment, which returns information about a comment on a commit. +// - GetComment, which returns information about a comment on a commit. // -// * GetCommentReactions, which returns information about emoji reactions -// to comments. +// - GetCommentReactions, which returns information about emoji reactions +// to comments. // -// * GetCommentsForComparedCommit, which returns information about comments -// on the comparison between two commit specifiers in a repository. +// - GetCommentsForComparedCommit, which returns information about comments +// on the comparison between two commit specifiers in a repository. // -// * PostCommentForComparedCommit, which creates a comment on the comparison -// between two commit specifiers in a repository. +// - PostCommentForComparedCommit, which creates a comment on the comparison +// between two commit specifiers in a repository. // -// * PostCommentReply, which creates a reply to a comment. +// - PostCommentReply, which creates a reply to a comment. // -// * PutCommentReaction, which creates or updates an emoji reaction to a -// comment. +// - PutCommentReaction, which creates or updates an emoji reaction to a +// comment. // -// * UpdateComment, which updates the content of a comment on a commit in -// a repository. +// - UpdateComment, which updates the content of a comment on a commit in +// a repository. // // Tags used to tag resources in AWS CodeCommit (not Git tags), by calling the // following: // -// * ListTagsForResource, which gets information about AWS tags for a specified -// Amazon Resource Name (ARN) in AWS CodeCommit. +// - ListTagsForResource, which gets information about AWS tags for a specified +// Amazon Resource Name (ARN) in AWS CodeCommit. // -// * TagResource, which adds or updates tags for a resource in AWS CodeCommit. +// - TagResource, which adds or updates tags for a resource in AWS CodeCommit. // -// * UntagResource, which removes tags for a resource in AWS CodeCommit. +// - UntagResource, which removes tags for a resource in AWS CodeCommit. // // Triggers, by calling the following: // -// * GetRepositoryTriggers, which returns information about triggers configured -// for a repository. +// - GetRepositoryTriggers, which returns information about triggers configured +// for a repository. // -// * PutRepositoryTriggers, which replaces all triggers for a repository -// and can be used to create or delete triggers. +// - PutRepositoryTriggers, which replaces all triggers for a repository +// and can be used to create or delete triggers. // -// * TestRepositoryTriggers, which tests the functionality of a repository -// trigger by sending data to the trigger target. +// - TestRepositoryTriggers, which tests the functionality of a repository +// trigger by sending data to the trigger target. // // For information about how to use AWS CodeCommit, see the AWS CodeCommit User // Guide (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html). @@ -270,7 +270,7 @@ // See codecommit package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/codecommit/ // -// Using the Client +// # Using the Client // // To contact AWS CodeCommit with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/service.go index 07743ba825bf..12d5e12f64f4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codecommit/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CodeCommit client from just a session. -// svc := codecommit.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CodeCommit client with additional configuration -// svc := codecommit.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CodeCommit client from just a session. +// svc := codecommit.New(mySession) +// +// // Create a CodeCommit client with additional configuration +// svc := codecommit.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeCommit { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/api.go index dfea7123d9fc..c1ef4045c10b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/api.go @@ -29,14 +29,13 @@ const opAddTagsToOnPremisesInstances = "AddTagsToOnPremisesInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsToOnPremisesInstancesRequest method. +// req, resp := client.AddTagsToOnPremisesInstancesRequest(params) // -// // Example sending a request using the AddTagsToOnPremisesInstancesRequest method. -// req, resp := client.AddTagsToOnPremisesInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstances func (c *CodeDeploy) AddTagsToOnPremisesInstancesRequest(input *AddTagsToOnPremisesInstancesInput) (req *request.Request, output *AddTagsToOnPremisesInstancesOutput) { @@ -68,27 +67,28 @@ func (c *CodeDeploy) AddTagsToOnPremisesInstancesRequest(input *AddTagsToOnPremi // API operation AddTagsToOnPremisesInstances for usage and error information. // // Returned Error Types: -// * InstanceNameRequiredException -// An on-premises instance name was not specified. // -// * InvalidInstanceNameException -// The on-premises instance name was specified in an invalid format. +// - InstanceNameRequiredException +// An on-premises instance name was not specified. +// +// - InvalidInstanceNameException +// The on-premises instance name was specified in an invalid format. // -// * TagRequiredException -// A tag was not specified. +// - TagRequiredException +// A tag was not specified. // -// * InvalidTagException -// The tag was specified in an invalid format. +// - InvalidTagException +// The tag was specified in an invalid format. // -// * TagLimitExceededException -// The maximum allowed number of tags was exceeded. +// - TagLimitExceededException +// The maximum allowed number of tags was exceeded. // -// * InstanceLimitExceededException -// The maximum number of allowed on-premises instances in a single call was -// exceeded. +// - InstanceLimitExceededException +// The maximum number of allowed on-premises instances in a single call was +// exceeded. // -// * InstanceNotRegisteredException -// The specified on-premises instance is not registered. +// - InstanceNotRegisteredException +// The specified on-premises instance is not registered. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/AddTagsToOnPremisesInstances func (c *CodeDeploy) AddTagsToOnPremisesInstances(input *AddTagsToOnPremisesInstancesInput) (*AddTagsToOnPremisesInstancesOutput, error) { @@ -128,14 +128,13 @@ const opBatchGetApplicationRevisions = "BatchGetApplicationRevisions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetApplicationRevisionsRequest method. +// req, resp := client.BatchGetApplicationRevisionsRequest(params) // -// // Example sending a request using the BatchGetApplicationRevisionsRequest method. -// req, resp := client.BatchGetApplicationRevisionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisions func (c *CodeDeploy) BatchGetApplicationRevisionsRequest(input *BatchGetApplicationRevisionsInput) (req *request.Request, output *BatchGetApplicationRevisionsOutput) { @@ -167,23 +166,24 @@ func (c *CodeDeploy) BatchGetApplicationRevisionsRequest(input *BatchGetApplicat // API operation BatchGetApplicationRevisions for usage and error information. // // Returned Error Types: -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. // -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. +// +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * RevisionRequiredException -// The revision ID was not specified. +// - RevisionRequiredException +// The revision ID was not specified. // -// * InvalidRevisionException -// The revision was specified in an invalid format. +// - InvalidRevisionException +// The revision was specified in an invalid format. // -// * BatchLimitExceededException -// The maximum number of names or IDs allowed for this request (100) was exceeded. +// - BatchLimitExceededException +// The maximum number of names or IDs allowed for this request (100) was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplicationRevisions func (c *CodeDeploy) BatchGetApplicationRevisions(input *BatchGetApplicationRevisionsInput) (*BatchGetApplicationRevisionsOutput, error) { @@ -223,14 +223,13 @@ const opBatchGetApplications = "BatchGetApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetApplicationsRequest method. +// req, resp := client.BatchGetApplicationsRequest(params) // -// // Example sending a request using the BatchGetApplicationsRequest method. -// req, resp := client.BatchGetApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplications func (c *CodeDeploy) BatchGetApplicationsRequest(input *BatchGetApplicationsInput) (req *request.Request, output *BatchGetApplicationsOutput) { @@ -262,17 +261,18 @@ func (c *CodeDeploy) BatchGetApplicationsRequest(input *BatchGetApplicationsInpu // API operation BatchGetApplications for usage and error information. // // Returned Error Types: -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. +// +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. // -// * BatchLimitExceededException -// The maximum number of names or IDs allowed for this request (100) was exceeded. +// - BatchLimitExceededException +// The maximum number of names or IDs allowed for this request (100) was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetApplications func (c *CodeDeploy) BatchGetApplications(input *BatchGetApplicationsInput) (*BatchGetApplicationsOutput, error) { @@ -312,14 +312,13 @@ const opBatchGetDeploymentGroups = "BatchGetDeploymentGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetDeploymentGroupsRequest method. +// req, resp := client.BatchGetDeploymentGroupsRequest(params) // -// // Example sending a request using the BatchGetDeploymentGroupsRequest method. -// req, resp := client.BatchGetDeploymentGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroups func (c *CodeDeploy) BatchGetDeploymentGroupsRequest(input *BatchGetDeploymentGroupsInput) (req *request.Request, output *BatchGetDeploymentGroupsOutput) { @@ -350,26 +349,27 @@ func (c *CodeDeploy) BatchGetDeploymentGroupsRequest(input *BatchGetDeploymentGr // API operation BatchGetDeploymentGroups for usage and error information. // // Returned Error Types: -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. // -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * DeploymentGroupNameRequiredException -// The deployment group name was not specified. +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. // -// * InvalidDeploymentGroupNameException -// The deployment group name was specified in an invalid format. +// - DeploymentGroupNameRequiredException +// The deployment group name was not specified. // -// * BatchLimitExceededException -// The maximum number of names or IDs allowed for this request (100) was exceeded. +// - InvalidDeploymentGroupNameException +// The deployment group name was specified in an invalid format. // -// * DeploymentConfigDoesNotExistException -// The deployment configuration does not exist with the IAM user or AWS account. +// - BatchLimitExceededException +// The maximum number of names or IDs allowed for this request (100) was exceeded. +// +// - DeploymentConfigDoesNotExistException +// The deployment configuration does not exist with the IAM user or AWS account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentGroups func (c *CodeDeploy) BatchGetDeploymentGroups(input *BatchGetDeploymentGroupsInput) (*BatchGetDeploymentGroupsOutput, error) { @@ -409,14 +409,13 @@ const opBatchGetDeploymentInstances = "BatchGetDeploymentInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetDeploymentInstancesRequest method. +// req, resp := client.BatchGetDeploymentInstancesRequest(params) // -// // Example sending a request using the BatchGetDeploymentInstancesRequest method. -// req, resp := client.BatchGetDeploymentInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstances // @@ -442,7 +441,6 @@ func (c *CodeDeploy) BatchGetDeploymentInstancesRequest(input *BatchGetDeploymen // BatchGetDeploymentInstances API operation for AWS CodeDeploy. // -// // This method works, but is deprecated. Use BatchGetDeploymentTargets instead. // // Returns an array of one or more instances associated with a deployment. This @@ -458,27 +456,28 @@ func (c *CodeDeploy) BatchGetDeploymentInstancesRequest(input *BatchGetDeploymen // API operation BatchGetDeploymentInstances for usage and error information. // // Returned Error Types: -// * DeploymentIdRequiredException -// At least one deployment ID must be specified. // -// * DeploymentDoesNotExistException -// The deployment with the IAM user or AWS account does not exist. +// - DeploymentIdRequiredException +// At least one deployment ID must be specified. // -// * InstanceIdRequiredException -// The instance ID was not specified. +// - DeploymentDoesNotExistException +// The deployment with the IAM user or AWS account does not exist. // -// * InvalidDeploymentIdException -// At least one of the deployment IDs was specified in an invalid format. +// - InstanceIdRequiredException +// The instance ID was not specified. // -// * InvalidInstanceNameException -// The on-premises instance name was specified in an invalid format. +// - InvalidDeploymentIdException +// At least one of the deployment IDs was specified in an invalid format. // -// * BatchLimitExceededException -// The maximum number of names or IDs allowed for this request (100) was exceeded. +// - InvalidInstanceNameException +// The on-premises instance name was specified in an invalid format. // -// * InvalidComputePlatformException -// The computePlatform is invalid. The computePlatform should be Lambda, Server, -// or ECS. +// - BatchLimitExceededException +// The maximum number of names or IDs allowed for this request (100) was exceeded. +// +// - InvalidComputePlatformException +// The computePlatform is invalid. The computePlatform should be Lambda, Server, +// or ECS. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentInstances // @@ -522,14 +521,13 @@ const opBatchGetDeploymentTargets = "BatchGetDeploymentTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetDeploymentTargetsRequest method. +// req, resp := client.BatchGetDeploymentTargetsRequest(params) // -// // Example sending a request using the BatchGetDeploymentTargetsRequest method. -// req, resp := client.BatchGetDeploymentTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentTargets func (c *CodeDeploy) BatchGetDeploymentTargetsRequest(input *BatchGetDeploymentTargetsInput) (req *request.Request, output *BatchGetDeploymentTargetsOutput) { @@ -558,14 +556,14 @@ func (c *CodeDeploy) BatchGetDeploymentTargetsRequest(input *BatchGetDeploymentT // The type of targets returned depends on the deployment's compute platform // or deployment method: // -// * EC2/On-premises: Information about EC2 instance targets. +// - EC2/On-premises: Information about EC2 instance targets. // -// * AWS Lambda: Information about Lambda functions targets. +// - AWS Lambda: Information about Lambda functions targets. // -// * Amazon ECS: Information about Amazon ECS service targets. +// - Amazon ECS: Information about Amazon ECS service targets. // -// * CloudFormation: Information about targets of blue/green deployments -// initiated by a CloudFormation stack update. +// - CloudFormation: Information about targets of blue/green deployments +// initiated by a CloudFormation stack update. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -575,35 +573,36 @@ func (c *CodeDeploy) BatchGetDeploymentTargetsRequest(input *BatchGetDeploymentT // API operation BatchGetDeploymentTargets for usage and error information. // // Returned Error Types: -// * InvalidDeploymentIdException -// At least one of the deployment IDs was specified in an invalid format. // -// * DeploymentIdRequiredException -// At least one deployment ID must be specified. +// - InvalidDeploymentIdException +// At least one of the deployment IDs was specified in an invalid format. +// +// - DeploymentIdRequiredException +// At least one deployment ID must be specified. // -// * DeploymentDoesNotExistException -// The deployment with the IAM user or AWS account does not exist. +// - DeploymentDoesNotExistException +// The deployment with the IAM user or AWS account does not exist. // -// * DeploymentNotStartedException -// The specified deployment has not started. +// - DeploymentNotStartedException +// The specified deployment has not started. // -// * DeploymentTargetIdRequiredException -// A deployment target ID was not provided. +// - DeploymentTargetIdRequiredException +// A deployment target ID was not provided. // -// * InvalidDeploymentTargetIdException -// The target ID provided was not valid. +// - InvalidDeploymentTargetIdException +// The target ID provided was not valid. // -// * DeploymentTargetDoesNotExistException -// The provided target ID does not belong to the attempted deployment. +// - DeploymentTargetDoesNotExistException +// The provided target ID does not belong to the attempted deployment. // -// * DeploymentTargetListSizeExceededException -// The maximum number of targets that can be associated with an Amazon ECS or -// AWS Lambda deployment was exceeded. The target list of both types of deployments -// must have exactly one item. This exception does not apply to EC2/On-premises -// deployments. +// - DeploymentTargetListSizeExceededException +// The maximum number of targets that can be associated with an Amazon ECS or +// AWS Lambda deployment was exceeded. The target list of both types of deployments +// must have exactly one item. This exception does not apply to EC2/On-premises +// deployments. // -// * InstanceDoesNotExistException -// The specified instance does not exist in the deployment group. +// - InstanceDoesNotExistException +// The specified instance does not exist in the deployment group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeploymentTargets func (c *CodeDeploy) BatchGetDeploymentTargets(input *BatchGetDeploymentTargetsInput) (*BatchGetDeploymentTargetsOutput, error) { @@ -643,14 +642,13 @@ const opBatchGetDeployments = "BatchGetDeployments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetDeploymentsRequest method. +// req, resp := client.BatchGetDeploymentsRequest(params) // -// // Example sending a request using the BatchGetDeploymentsRequest method. -// req, resp := client.BatchGetDeploymentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments func (c *CodeDeploy) BatchGetDeploymentsRequest(input *BatchGetDeploymentsInput) (req *request.Request, output *BatchGetDeploymentsOutput) { @@ -682,14 +680,15 @@ func (c *CodeDeploy) BatchGetDeploymentsRequest(input *BatchGetDeploymentsInput) // API operation BatchGetDeployments for usage and error information. // // Returned Error Types: -// * DeploymentIdRequiredException -// At least one deployment ID must be specified. // -// * InvalidDeploymentIdException -// At least one of the deployment IDs was specified in an invalid format. +// - DeploymentIdRequiredException +// At least one deployment ID must be specified. +// +// - InvalidDeploymentIdException +// At least one of the deployment IDs was specified in an invalid format. // -// * BatchLimitExceededException -// The maximum number of names or IDs allowed for this request (100) was exceeded. +// - BatchLimitExceededException +// The maximum number of names or IDs allowed for this request (100) was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetDeployments func (c *CodeDeploy) BatchGetDeployments(input *BatchGetDeploymentsInput) (*BatchGetDeploymentsOutput, error) { @@ -729,14 +728,13 @@ const opBatchGetOnPremisesInstances = "BatchGetOnPremisesInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetOnPremisesInstancesRequest method. +// req, resp := client.BatchGetOnPremisesInstancesRequest(params) // -// // Example sending a request using the BatchGetOnPremisesInstancesRequest method. -// req, resp := client.BatchGetOnPremisesInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstances func (c *CodeDeploy) BatchGetOnPremisesInstancesRequest(input *BatchGetOnPremisesInstancesInput) (req *request.Request, output *BatchGetOnPremisesInstancesOutput) { @@ -768,14 +766,15 @@ func (c *CodeDeploy) BatchGetOnPremisesInstancesRequest(input *BatchGetOnPremise // API operation BatchGetOnPremisesInstances for usage and error information. // // Returned Error Types: -// * InstanceNameRequiredException -// An on-premises instance name was not specified. // -// * InvalidInstanceNameException -// The on-premises instance name was specified in an invalid format. +// - InstanceNameRequiredException +// An on-premises instance name was not specified. // -// * BatchLimitExceededException -// The maximum number of names or IDs allowed for this request (100) was exceeded. +// - InvalidInstanceNameException +// The on-premises instance name was specified in an invalid format. +// +// - BatchLimitExceededException +// The maximum number of names or IDs allowed for this request (100) was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/BatchGetOnPremisesInstances func (c *CodeDeploy) BatchGetOnPremisesInstances(input *BatchGetOnPremisesInstancesInput) (*BatchGetOnPremisesInstancesOutput, error) { @@ -815,14 +814,13 @@ const opContinueDeployment = "ContinueDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ContinueDeploymentRequest method. +// req, resp := client.ContinueDeploymentRequest(params) // -// // Example sending a request using the ContinueDeploymentRequest method. -// req, resp := client.ContinueDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeployment func (c *CodeDeploy) ContinueDeploymentRequest(input *ContinueDeploymentInput) (req *request.Request, output *ContinueDeploymentOutput) { @@ -859,29 +857,30 @@ func (c *CodeDeploy) ContinueDeploymentRequest(input *ContinueDeploymentInput) ( // API operation ContinueDeployment for usage and error information. // // Returned Error Types: -// * DeploymentIdRequiredException -// At least one deployment ID must be specified. // -// * DeploymentDoesNotExistException -// The deployment with the IAM user or AWS account does not exist. +// - DeploymentIdRequiredException +// At least one deployment ID must be specified. +// +// - DeploymentDoesNotExistException +// The deployment with the IAM user or AWS account does not exist. // -// * DeploymentAlreadyCompletedException -// The deployment is already complete. +// - DeploymentAlreadyCompletedException +// The deployment is already complete. // -// * InvalidDeploymentIdException -// At least one of the deployment IDs was specified in an invalid format. +// - InvalidDeploymentIdException +// At least one of the deployment IDs was specified in an invalid format. // -// * DeploymentIsNotInReadyStateException -// The deployment does not have a status of Ready and can't continue yet. +// - DeploymentIsNotInReadyStateException +// The deployment does not have a status of Ready and can't continue yet. // -// * UnsupportedActionForDeploymentTypeException -// A call was submitted that is not supported for the specified deployment type. +// - UnsupportedActionForDeploymentTypeException +// A call was submitted that is not supported for the specified deployment type. // -// * InvalidDeploymentWaitTypeException -// The wait type is invalid. +// - InvalidDeploymentWaitTypeException +// The wait type is invalid. // -// * InvalidDeploymentStatusException -// The specified deployment status doesn't exist or cannot be determined. +// - InvalidDeploymentStatusException +// The specified deployment status doesn't exist or cannot be determined. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ContinueDeployment func (c *CodeDeploy) ContinueDeployment(input *ContinueDeploymentInput) (*ContinueDeploymentOutput, error) { @@ -921,14 +920,13 @@ const opCreateApplication = "CreateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationRequest method. +// req, resp := client.CreateApplicationRequest(params) // -// // Example sending a request using the CreateApplicationRequest method. -// req, resp := client.CreateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplication func (c *CodeDeploy) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput) { @@ -959,25 +957,26 @@ func (c *CodeDeploy) CreateApplicationRequest(input *CreateApplicationInput) (re // API operation CreateApplication for usage and error information. // // Returned Error Types: -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. +// +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * ApplicationAlreadyExistsException -// An application with the specified name with the IAM user or AWS account already -// exists. +// - ApplicationAlreadyExistsException +// An application with the specified name with the IAM user or AWS account already +// exists. // -// * ApplicationLimitExceededException -// More applications were attempted to be created than are allowed. +// - ApplicationLimitExceededException +// More applications were attempted to be created than are allowed. // -// * InvalidComputePlatformException -// The computePlatform is invalid. The computePlatform should be Lambda, Server, -// or ECS. +// - InvalidComputePlatformException +// The computePlatform is invalid. The computePlatform should be Lambda, Server, +// or ECS. // -// * InvalidTagsToAddException -// The specified tags are not valid. +// - InvalidTagsToAddException +// The specified tags are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateApplication func (c *CodeDeploy) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error) { @@ -1017,14 +1016,13 @@ const opCreateDeployment = "CreateDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeploymentRequest method. +// req, resp := client.CreateDeploymentRequest(params) // -// // Example sending a request using the CreateDeploymentRequest method. -// req, resp := client.CreateDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeployment func (c *CodeDeploy) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *CreateDeploymentOutput) { @@ -1055,96 +1053,97 @@ func (c *CodeDeploy) CreateDeploymentRequest(input *CreateDeploymentInput) (req // API operation CreateDeployment for usage and error information. // // Returned Error Types: -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. // -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * DeploymentGroupNameRequiredException -// The deployment group name was not specified. +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. // -// * InvalidDeploymentGroupNameException -// The deployment group name was specified in an invalid format. +// - DeploymentGroupNameRequiredException +// The deployment group name was not specified. // -// * DeploymentGroupDoesNotExistException -// The named deployment group with the IAM user or AWS account does not exist. +// - InvalidDeploymentGroupNameException +// The deployment group name was specified in an invalid format. // -// * RevisionRequiredException -// The revision ID was not specified. +// - DeploymentGroupDoesNotExistException +// The named deployment group with the IAM user or AWS account does not exist. // -// * RevisionDoesNotExistException -// The named revision does not exist with the IAM user or AWS account. +// - RevisionRequiredException +// The revision ID was not specified. // -// * InvalidRevisionException -// The revision was specified in an invalid format. +// - RevisionDoesNotExistException +// The named revision does not exist with the IAM user or AWS account. // -// * InvalidDeploymentConfigNameException -// The deployment configuration name was specified in an invalid format. +// - InvalidRevisionException +// The revision was specified in an invalid format. // -// * DeploymentConfigDoesNotExistException -// The deployment configuration does not exist with the IAM user or AWS account. +// - InvalidDeploymentConfigNameException +// The deployment configuration name was specified in an invalid format. // -// * DescriptionTooLongException -// The description is too long. +// - DeploymentConfigDoesNotExistException +// The deployment configuration does not exist with the IAM user or AWS account. // -// * DeploymentLimitExceededException -// The number of allowed deployments was exceeded. +// - DescriptionTooLongException +// The description is too long. // -// * InvalidTargetInstancesException -// The target instance configuration is invalid. Possible causes include: +// - DeploymentLimitExceededException +// The number of allowed deployments was exceeded. // -// * Configuration data for target instances was entered for an in-place -// deployment. +// - InvalidTargetInstancesException +// The target instance configuration is invalid. Possible causes include: // -// * The limit of 10 tags for a tag type was exceeded. +// - Configuration data for target instances was entered for an in-place +// deployment. // -// * The combined length of the tag names exceeded the limit. +// - The limit of 10 tags for a tag type was exceeded. // -// * A specified tag is not currently applied to any instances. +// - The combined length of the tag names exceeded the limit. // -// * InvalidAutoRollbackConfigException -// The automatic rollback configuration was specified in an invalid format. -// For example, automatic rollback is enabled, but an invalid triggering event -// type or no event types were listed. +// - A specified tag is not currently applied to any instances. // -// * InvalidLoadBalancerInfoException -// An invalid load balancer name, or no load balancer name, was specified. +// - InvalidAutoRollbackConfigException +// The automatic rollback configuration was specified in an invalid format. +// For example, automatic rollback is enabled, but an invalid triggering event +// type or no event types were listed. // -// * InvalidFileExistsBehaviorException -// An invalid fileExistsBehavior option was specified to determine how AWS CodeDeploy -// handles files or directories that already exist in a deployment target location, -// but weren't part of the previous successful deployment. Valid values include -// "DISALLOW," "OVERWRITE," and "RETAIN." +// - InvalidLoadBalancerInfoException +// An invalid load balancer name, or no load balancer name, was specified. // -// * InvalidRoleException -// The service role ARN was specified in an invalid format. Or, if an Auto Scaling -// group was specified, the specified service role does not grant the appropriate -// permissions to Amazon EC2 Auto Scaling. +// - InvalidFileExistsBehaviorException +// An invalid fileExistsBehavior option was specified to determine how AWS CodeDeploy +// handles files or directories that already exist in a deployment target location, +// but weren't part of the previous successful deployment. Valid values include +// "DISALLOW," "OVERWRITE," and "RETAIN." // -// * InvalidAutoScalingGroupException -// The Auto Scaling group was specified in an invalid format or does not exist. +// - InvalidRoleException +// The service role ARN was specified in an invalid format. Or, if an Auto Scaling +// group was specified, the specified service role does not grant the appropriate +// permissions to Amazon EC2 Auto Scaling. // -// * ThrottlingException -// An API function was called too frequently. +// - InvalidAutoScalingGroupException +// The Auto Scaling group was specified in an invalid format or does not exist. // -// * InvalidUpdateOutdatedInstancesOnlyValueException -// The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments, -// false is expected. For EC2/On-premises deployments, true or false is expected. +// - ThrottlingException +// An API function was called too frequently. // -// * InvalidIgnoreApplicationStopFailuresValueException -// The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments, -// false is expected. For EC2/On-premises deployments, true or false is expected. +// - InvalidUpdateOutdatedInstancesOnlyValueException +// The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments, +// false is expected. For EC2/On-premises deployments, true or false is expected. // -// * InvalidGitHubAccountTokenException -// The GitHub token is not valid. +// - InvalidIgnoreApplicationStopFailuresValueException +// The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments, +// false is expected. For EC2/On-premises deployments, true or false is expected. // -// * InvalidTrafficRoutingConfigurationException -// The configuration that specifies how traffic is routed during a deployment -// is invalid. +// - InvalidGitHubAccountTokenException +// The GitHub token is not valid. +// +// - InvalidTrafficRoutingConfigurationException +// The configuration that specifies how traffic is routed during a deployment +// is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeployment func (c *CodeDeploy) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error) { @@ -1184,14 +1183,13 @@ const opCreateDeploymentConfig = "CreateDeploymentConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeploymentConfigRequest method. +// req, resp := client.CreateDeploymentConfigRequest(params) // -// // Example sending a request using the CreateDeploymentConfigRequest method. -// req, resp := client.CreateDeploymentConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfig func (c *CodeDeploy) CreateDeploymentConfigRequest(input *CreateDeploymentConfigInput) (req *request.Request, output *CreateDeploymentConfigOutput) { @@ -1222,29 +1220,30 @@ func (c *CodeDeploy) CreateDeploymentConfigRequest(input *CreateDeploymentConfig // API operation CreateDeploymentConfig for usage and error information. // // Returned Error Types: -// * InvalidDeploymentConfigNameException -// The deployment configuration name was specified in an invalid format. // -// * DeploymentConfigNameRequiredException -// The deployment configuration name was not specified. +// - InvalidDeploymentConfigNameException +// The deployment configuration name was specified in an invalid format. +// +// - DeploymentConfigNameRequiredException +// The deployment configuration name was not specified. // -// * DeploymentConfigAlreadyExistsException -// A deployment configuration with the specified name with the IAM user or AWS -// account already exists. +// - DeploymentConfigAlreadyExistsException +// A deployment configuration with the specified name with the IAM user or AWS +// account already exists. // -// * InvalidMinimumHealthyHostValueException -// The minimum healthy instance value was specified in an invalid format. +// - InvalidMinimumHealthyHostValueException +// The minimum healthy instance value was specified in an invalid format. // -// * DeploymentConfigLimitExceededException -// The deployment configurations limit was exceeded. +// - DeploymentConfigLimitExceededException +// The deployment configurations limit was exceeded. // -// * InvalidComputePlatformException -// The computePlatform is invalid. The computePlatform should be Lambda, Server, -// or ECS. +// - InvalidComputePlatformException +// The computePlatform is invalid. The computePlatform should be Lambda, Server, +// or ECS. // -// * InvalidTrafficRoutingConfigurationException -// The configuration that specifies how traffic is routed during a deployment -// is invalid. +// - InvalidTrafficRoutingConfigurationException +// The configuration that specifies how traffic is routed during a deployment +// is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentConfig func (c *CodeDeploy) CreateDeploymentConfig(input *CreateDeploymentConfigInput) (*CreateDeploymentConfigOutput, error) { @@ -1284,14 +1283,13 @@ const opCreateDeploymentGroup = "CreateDeploymentGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeploymentGroupRequest method. +// req, resp := client.CreateDeploymentGroupRequest(params) // -// // Example sending a request using the CreateDeploymentGroupRequest method. -// req, resp := client.CreateDeploymentGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroup func (c *CodeDeploy) CreateDeploymentGroupRequest(input *CreateDeploymentGroupInput) (req *request.Request, output *CreateDeploymentGroupOutput) { @@ -1322,128 +1320,129 @@ func (c *CodeDeploy) CreateDeploymentGroupRequest(input *CreateDeploymentGroupIn // API operation CreateDeploymentGroup for usage and error information. // // Returned Error Types: -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. +// +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. // -// * DeploymentGroupNameRequiredException -// The deployment group name was not specified. +// - DeploymentGroupNameRequiredException +// The deployment group name was not specified. // -// * InvalidDeploymentGroupNameException -// The deployment group name was specified in an invalid format. +// - InvalidDeploymentGroupNameException +// The deployment group name was specified in an invalid format. // -// * DeploymentGroupAlreadyExistsException -// A deployment group with the specified name with the IAM user or AWS account -// already exists. +// - DeploymentGroupAlreadyExistsException +// A deployment group with the specified name with the IAM user or AWS account +// already exists. // -// * InvalidEC2TagException -// The tag was specified in an invalid format. +// - InvalidEC2TagException +// The tag was specified in an invalid format. // -// * InvalidTagException -// The tag was specified in an invalid format. +// - InvalidTagException +// The tag was specified in an invalid format. // -// * InvalidAutoScalingGroupException -// The Auto Scaling group was specified in an invalid format or does not exist. +// - InvalidAutoScalingGroupException +// The Auto Scaling group was specified in an invalid format or does not exist. // -// * InvalidDeploymentConfigNameException -// The deployment configuration name was specified in an invalid format. +// - InvalidDeploymentConfigNameException +// The deployment configuration name was specified in an invalid format. // -// * DeploymentConfigDoesNotExistException -// The deployment configuration does not exist with the IAM user or AWS account. +// - DeploymentConfigDoesNotExistException +// The deployment configuration does not exist with the IAM user or AWS account. // -// * RoleRequiredException -// The role ID was not specified. +// - RoleRequiredException +// The role ID was not specified. // -// * InvalidRoleException -// The service role ARN was specified in an invalid format. Or, if an Auto Scaling -// group was specified, the specified service role does not grant the appropriate -// permissions to Amazon EC2 Auto Scaling. +// - InvalidRoleException +// The service role ARN was specified in an invalid format. Or, if an Auto Scaling +// group was specified, the specified service role does not grant the appropriate +// permissions to Amazon EC2 Auto Scaling. // -// * DeploymentGroupLimitExceededException -// The deployment groups limit was exceeded. +// - DeploymentGroupLimitExceededException +// The deployment groups limit was exceeded. // -// * LifecycleHookLimitExceededException -// The limit for lifecycle hooks was exceeded. +// - LifecycleHookLimitExceededException +// The limit for lifecycle hooks was exceeded. // -// * InvalidTriggerConfigException -// The trigger was specified in an invalid format. +// - InvalidTriggerConfigException +// The trigger was specified in an invalid format. // -// * TriggerTargetsLimitExceededException -// The maximum allowed number of triggers was exceeded. +// - TriggerTargetsLimitExceededException +// The maximum allowed number of triggers was exceeded. // -// * InvalidAlarmConfigException -// The format of the alarm configuration is invalid. Possible causes include: +// - InvalidAlarmConfigException +// The format of the alarm configuration is invalid. Possible causes include: // -// * The alarm list is null. +// - The alarm list is null. // -// * The alarm object is null. +// - The alarm object is null. // -// * The alarm name is empty or null or exceeds the limit of 255 characters. +// - The alarm name is empty or null or exceeds the limit of 255 characters. // -// * Two alarms with the same name have been specified. +// - Two alarms with the same name have been specified. // -// * The alarm configuration is enabled, but the alarm list is empty. +// - The alarm configuration is enabled, but the alarm list is empty. // -// * AlarmsLimitExceededException -// The maximum number of alarms for a deployment group (10) was exceeded. +// - AlarmsLimitExceededException +// The maximum number of alarms for a deployment group (10) was exceeded. // -// * InvalidAutoRollbackConfigException -// The automatic rollback configuration was specified in an invalid format. -// For example, automatic rollback is enabled, but an invalid triggering event -// type or no event types were listed. +// - InvalidAutoRollbackConfigException +// The automatic rollback configuration was specified in an invalid format. +// For example, automatic rollback is enabled, but an invalid triggering event +// type or no event types were listed. // -// * InvalidLoadBalancerInfoException -// An invalid load balancer name, or no load balancer name, was specified. +// - InvalidLoadBalancerInfoException +// An invalid load balancer name, or no load balancer name, was specified. // -// * InvalidDeploymentStyleException -// An invalid deployment style was specified. Valid deployment types include -// "IN_PLACE" and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL" -// and "WITHOUT_TRAFFIC_CONTROL." +// - InvalidDeploymentStyleException +// An invalid deployment style was specified. Valid deployment types include +// "IN_PLACE" and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL" +// and "WITHOUT_TRAFFIC_CONTROL." // -// * InvalidBlueGreenDeploymentConfigurationException -// The configuration for the blue/green deployment group was provided in an -// invalid format. For information about deployment configuration format, see -// CreateDeploymentConfig. +// - InvalidBlueGreenDeploymentConfigurationException +// The configuration for the blue/green deployment group was provided in an +// invalid format. For information about deployment configuration format, see +// CreateDeploymentConfig. // -// * InvalidEC2TagCombinationException -// A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but -// only one of these data types can be used in a single call. +// - InvalidEC2TagCombinationException +// A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but +// only one of these data types can be used in a single call. // -// * InvalidOnPremisesTagCombinationException -// A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, -// but only one of these data types can be used in a single call. +// - InvalidOnPremisesTagCombinationException +// A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, +// but only one of these data types can be used in a single call. // -// * TagSetListLimitExceededException -// The number of tag groups included in the tag set list exceeded the maximum -// allowed limit of 3. +// - TagSetListLimitExceededException +// The number of tag groups included in the tag set list exceeded the maximum +// allowed limit of 3. // -// * InvalidInputException -// The input was specified in an invalid format. +// - InvalidInputException +// The input was specified in an invalid format. // -// * ThrottlingException -// An API function was called too frequently. +// - ThrottlingException +// An API function was called too frequently. // -// * InvalidECSServiceException -// The Amazon ECS service identifier is not valid. +// - InvalidECSServiceException +// The Amazon ECS service identifier is not valid. // -// * InvalidTargetGroupPairException -// A target group pair associated with this deployment is not valid. +// - InvalidTargetGroupPairException +// A target group pair associated with this deployment is not valid. // -// * ECSServiceMappingLimitExceededException -// The Amazon ECS service is associated with more than one deployment groups. -// An Amazon ECS service can be associated with only one deployment group. +// - ECSServiceMappingLimitExceededException +// The Amazon ECS service is associated with more than one deployment groups. +// An Amazon ECS service can be associated with only one deployment group. // -// * InvalidTagsToAddException -// The specified tags are not valid. +// - InvalidTagsToAddException +// The specified tags are not valid. // -// * InvalidTrafficRoutingConfigurationException -// The configuration that specifies how traffic is routed during a deployment -// is invalid. +// - InvalidTrafficRoutingConfigurationException +// The configuration that specifies how traffic is routed during a deployment +// is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/CreateDeploymentGroup func (c *CodeDeploy) CreateDeploymentGroup(input *CreateDeploymentGroupInput) (*CreateDeploymentGroupOutput, error) { @@ -1483,14 +1482,13 @@ const opDeleteApplication = "DeleteApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationRequest method. +// req, resp := client.DeleteApplicationRequest(params) // -// // Example sending a request using the DeleteApplicationRequest method. -// req, resp := client.DeleteApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplication func (c *CodeDeploy) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) { @@ -1522,16 +1520,17 @@ func (c *CodeDeploy) DeleteApplicationRequest(input *DeleteApplicationInput) (re // API operation DeleteApplication for usage and error information. // // Returned Error Types: -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. +// +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * InvalidRoleException -// The service role ARN was specified in an invalid format. Or, if an Auto Scaling -// group was specified, the specified service role does not grant the appropriate -// permissions to Amazon EC2 Auto Scaling. +// - InvalidRoleException +// The service role ARN was specified in an invalid format. Or, if an Auto Scaling +// group was specified, the specified service role does not grant the appropriate +// permissions to Amazon EC2 Auto Scaling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteApplication func (c *CodeDeploy) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) { @@ -1571,14 +1570,13 @@ const opDeleteDeploymentConfig = "DeleteDeploymentConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDeploymentConfigRequest method. +// req, resp := client.DeleteDeploymentConfigRequest(params) // -// // Example sending a request using the DeleteDeploymentConfigRequest method. -// req, resp := client.DeleteDeploymentConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfig func (c *CodeDeploy) DeleteDeploymentConfigRequest(input *DeleteDeploymentConfigInput) (req *request.Request, output *DeleteDeploymentConfigOutput) { @@ -1613,17 +1611,18 @@ func (c *CodeDeploy) DeleteDeploymentConfigRequest(input *DeleteDeploymentConfig // API operation DeleteDeploymentConfig for usage and error information. // // Returned Error Types: -// * InvalidDeploymentConfigNameException -// The deployment configuration name was specified in an invalid format. // -// * DeploymentConfigNameRequiredException -// The deployment configuration name was not specified. +// - InvalidDeploymentConfigNameException +// The deployment configuration name was specified in an invalid format. +// +// - DeploymentConfigNameRequiredException +// The deployment configuration name was not specified. // -// * DeploymentConfigInUseException -// The deployment configuration is still in use. +// - DeploymentConfigInUseException +// The deployment configuration is still in use. // -// * InvalidOperationException -// An invalid operation was detected. +// - InvalidOperationException +// An invalid operation was detected. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentConfig func (c *CodeDeploy) DeleteDeploymentConfig(input *DeleteDeploymentConfigInput) (*DeleteDeploymentConfigOutput, error) { @@ -1663,14 +1662,13 @@ const opDeleteDeploymentGroup = "DeleteDeploymentGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDeploymentGroupRequest method. +// req, resp := client.DeleteDeploymentGroupRequest(params) // -// // Example sending a request using the DeleteDeploymentGroupRequest method. -// req, resp := client.DeleteDeploymentGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroup func (c *CodeDeploy) DeleteDeploymentGroupRequest(input *DeleteDeploymentGroupInput) (req *request.Request, output *DeleteDeploymentGroupOutput) { @@ -1701,22 +1699,23 @@ func (c *CodeDeploy) DeleteDeploymentGroupRequest(input *DeleteDeploymentGroupIn // API operation DeleteDeploymentGroup for usage and error information. // // Returned Error Types: -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. // -// * DeploymentGroupNameRequiredException -// The deployment group name was not specified. +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * InvalidDeploymentGroupNameException -// The deployment group name was specified in an invalid format. +// - DeploymentGroupNameRequiredException +// The deployment group name was not specified. // -// * InvalidRoleException -// The service role ARN was specified in an invalid format. Or, if an Auto Scaling -// group was specified, the specified service role does not grant the appropriate -// permissions to Amazon EC2 Auto Scaling. +// - InvalidDeploymentGroupNameException +// The deployment group name was specified in an invalid format. +// +// - InvalidRoleException +// The service role ARN was specified in an invalid format. Or, if an Auto Scaling +// group was specified, the specified service role does not grant the appropriate +// permissions to Amazon EC2 Auto Scaling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroup func (c *CodeDeploy) DeleteDeploymentGroup(input *DeleteDeploymentGroupInput) (*DeleteDeploymentGroupOutput, error) { @@ -1756,14 +1755,13 @@ const opDeleteGitHubAccountToken = "DeleteGitHubAccountToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGitHubAccountTokenRequest method. +// req, resp := client.DeleteGitHubAccountTokenRequest(params) // -// // Example sending a request using the DeleteGitHubAccountTokenRequest method. -// req, resp := client.DeleteGitHubAccountTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountToken func (c *CodeDeploy) DeleteGitHubAccountTokenRequest(input *DeleteGitHubAccountTokenInput) (req *request.Request, output *DeleteGitHubAccountTokenOutput) { @@ -1794,20 +1792,21 @@ func (c *CodeDeploy) DeleteGitHubAccountTokenRequest(input *DeleteGitHubAccountT // API operation DeleteGitHubAccountToken for usage and error information. // // Returned Error Types: -// * GitHubAccountTokenNameRequiredException -// The call is missing a required GitHub account connection name. // -// * GitHubAccountTokenDoesNotExistException -// No GitHub account connection exists with the named specified in the call. +// - GitHubAccountTokenNameRequiredException +// The call is missing a required GitHub account connection name. +// +// - GitHubAccountTokenDoesNotExistException +// No GitHub account connection exists with the named specified in the call. // -// * InvalidGitHubAccountTokenNameException -// The format of the specified GitHub account connection name is invalid. +// - InvalidGitHubAccountTokenNameException +// The format of the specified GitHub account connection name is invalid. // -// * ResourceValidationException -// The specified resource could not be validated. +// - ResourceValidationException +// The specified resource could not be validated. // -// * OperationNotSupportedException -// The API used does not support the deployment. +// - OperationNotSupportedException +// The API used does not support the deployment. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteGitHubAccountToken func (c *CodeDeploy) DeleteGitHubAccountToken(input *DeleteGitHubAccountTokenInput) (*DeleteGitHubAccountTokenOutput, error) { @@ -1847,14 +1846,13 @@ const opDeleteResourcesByExternalId = "DeleteResourcesByExternalId" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourcesByExternalIdRequest method. +// req, resp := client.DeleteResourcesByExternalIdRequest(params) // -// // Example sending a request using the DeleteResourcesByExternalIdRequest method. -// req, resp := client.DeleteResourcesByExternalIdRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteResourcesByExternalId func (c *CodeDeploy) DeleteResourcesByExternalIdRequest(input *DeleteResourcesByExternalIdInput) (req *request.Request, output *DeleteResourcesByExternalIdOutput) { @@ -1922,14 +1920,13 @@ const opDeregisterOnPremisesInstance = "DeregisterOnPremisesInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterOnPremisesInstanceRequest method. +// req, resp := client.DeregisterOnPremisesInstanceRequest(params) // -// // Example sending a request using the DeregisterOnPremisesInstanceRequest method. -// req, resp := client.DeregisterOnPremisesInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstance func (c *CodeDeploy) DeregisterOnPremisesInstanceRequest(input *DeregisterOnPremisesInstanceInput) (req *request.Request, output *DeregisterOnPremisesInstanceOutput) { @@ -1961,11 +1958,12 @@ func (c *CodeDeploy) DeregisterOnPremisesInstanceRequest(input *DeregisterOnPrem // API operation DeregisterOnPremisesInstance for usage and error information. // // Returned Error Types: -// * InstanceNameRequiredException -// An on-premises instance name was not specified. // -// * InvalidInstanceNameException -// The on-premises instance name was specified in an invalid format. +// - InstanceNameRequiredException +// An on-premises instance name was not specified. +// +// - InvalidInstanceNameException +// The on-premises instance name was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstance func (c *CodeDeploy) DeregisterOnPremisesInstance(input *DeregisterOnPremisesInstanceInput) (*DeregisterOnPremisesInstanceOutput, error) { @@ -2005,14 +2003,13 @@ const opGetApplication = "GetApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApplicationRequest method. +// req, resp := client.GetApplicationRequest(params) // -// // Example sending a request using the GetApplicationRequest method. -// req, resp := client.GetApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication func (c *CodeDeploy) GetApplicationRequest(input *GetApplicationInput) (req *request.Request, output *GetApplicationOutput) { @@ -2043,14 +2040,15 @@ func (c *CodeDeploy) GetApplicationRequest(input *GetApplicationInput) (req *req // API operation GetApplication for usage and error information. // // Returned Error Types: -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. +// +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication func (c *CodeDeploy) GetApplication(input *GetApplicationInput) (*GetApplicationOutput, error) { @@ -2090,14 +2088,13 @@ const opGetApplicationRevision = "GetApplicationRevision" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApplicationRevisionRequest method. +// req, resp := client.GetApplicationRevisionRequest(params) // -// // Example sending a request using the GetApplicationRevisionRequest method. -// req, resp := client.GetApplicationRevisionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevision func (c *CodeDeploy) GetApplicationRevisionRequest(input *GetApplicationRevisionInput) (req *request.Request, output *GetApplicationRevisionOutput) { @@ -2128,23 +2125,24 @@ func (c *CodeDeploy) GetApplicationRevisionRequest(input *GetApplicationRevision // API operation GetApplicationRevision for usage and error information. // // Returned Error Types: -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. // -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. // -// * RevisionDoesNotExistException -// The named revision does not exist with the IAM user or AWS account. +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * RevisionRequiredException -// The revision ID was not specified. +// - RevisionDoesNotExistException +// The named revision does not exist with the IAM user or AWS account. // -// * InvalidRevisionException -// The revision was specified in an invalid format. +// - RevisionRequiredException +// The revision ID was not specified. +// +// - InvalidRevisionException +// The revision was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplicationRevision func (c *CodeDeploy) GetApplicationRevision(input *GetApplicationRevisionInput) (*GetApplicationRevisionOutput, error) { @@ -2184,14 +2182,13 @@ const opGetDeployment = "GetDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeploymentRequest method. +// req, resp := client.GetDeploymentRequest(params) // -// // Example sending a request using the GetDeploymentRequest method. -// req, resp := client.GetDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment func (c *CodeDeploy) GetDeploymentRequest(input *GetDeploymentInput) (req *request.Request, output *GetDeploymentOutput) { @@ -2227,14 +2224,15 @@ func (c *CodeDeploy) GetDeploymentRequest(input *GetDeploymentInput) (req *reque // API operation GetDeployment for usage and error information. // // Returned Error Types: -// * DeploymentIdRequiredException -// At least one deployment ID must be specified. // -// * InvalidDeploymentIdException -// At least one of the deployment IDs was specified in an invalid format. +// - DeploymentIdRequiredException +// At least one deployment ID must be specified. +// +// - InvalidDeploymentIdException +// At least one of the deployment IDs was specified in an invalid format. // -// * DeploymentDoesNotExistException -// The deployment with the IAM user or AWS account does not exist. +// - DeploymentDoesNotExistException +// The deployment with the IAM user or AWS account does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeployment func (c *CodeDeploy) GetDeployment(input *GetDeploymentInput) (*GetDeploymentOutput, error) { @@ -2274,14 +2272,13 @@ const opGetDeploymentConfig = "GetDeploymentConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeploymentConfigRequest method. +// req, resp := client.GetDeploymentConfigRequest(params) // -// // Example sending a request using the GetDeploymentConfigRequest method. -// req, resp := client.GetDeploymentConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfig func (c *CodeDeploy) GetDeploymentConfigRequest(input *GetDeploymentConfigInput) (req *request.Request, output *GetDeploymentConfigOutput) { @@ -2312,18 +2309,19 @@ func (c *CodeDeploy) GetDeploymentConfigRequest(input *GetDeploymentConfigInput) // API operation GetDeploymentConfig for usage and error information. // // Returned Error Types: -// * InvalidDeploymentConfigNameException -// The deployment configuration name was specified in an invalid format. // -// * DeploymentConfigNameRequiredException -// The deployment configuration name was not specified. +// - InvalidDeploymentConfigNameException +// The deployment configuration name was specified in an invalid format. +// +// - DeploymentConfigNameRequiredException +// The deployment configuration name was not specified. // -// * DeploymentConfigDoesNotExistException -// The deployment configuration does not exist with the IAM user or AWS account. +// - DeploymentConfigDoesNotExistException +// The deployment configuration does not exist with the IAM user or AWS account. // -// * InvalidComputePlatformException -// The computePlatform is invalid. The computePlatform should be Lambda, Server, -// or ECS. +// - InvalidComputePlatformException +// The computePlatform is invalid. The computePlatform should be Lambda, Server, +// or ECS. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentConfig func (c *CodeDeploy) GetDeploymentConfig(input *GetDeploymentConfigInput) (*GetDeploymentConfigOutput, error) { @@ -2363,14 +2361,13 @@ const opGetDeploymentGroup = "GetDeploymentGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeploymentGroupRequest method. +// req, resp := client.GetDeploymentGroupRequest(params) // -// // Example sending a request using the GetDeploymentGroupRequest method. -// req, resp := client.GetDeploymentGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup func (c *CodeDeploy) GetDeploymentGroupRequest(input *GetDeploymentGroupInput) (req *request.Request, output *GetDeploymentGroupOutput) { @@ -2401,26 +2398,27 @@ func (c *CodeDeploy) GetDeploymentGroupRequest(input *GetDeploymentGroupInput) ( // API operation GetDeploymentGroup for usage and error information. // // Returned Error Types: -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. // -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * DeploymentGroupNameRequiredException -// The deployment group name was not specified. +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. // -// * InvalidDeploymentGroupNameException -// The deployment group name was specified in an invalid format. +// - DeploymentGroupNameRequiredException +// The deployment group name was not specified. // -// * DeploymentGroupDoesNotExistException -// The named deployment group with the IAM user or AWS account does not exist. +// - InvalidDeploymentGroupNameException +// The deployment group name was specified in an invalid format. // -// * DeploymentConfigDoesNotExistException -// The deployment configuration does not exist with the IAM user or AWS account. +// - DeploymentGroupDoesNotExistException +// The named deployment group with the IAM user or AWS account does not exist. +// +// - DeploymentConfigDoesNotExistException +// The deployment configuration does not exist with the IAM user or AWS account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentGroup func (c *CodeDeploy) GetDeploymentGroup(input *GetDeploymentGroupInput) (*GetDeploymentGroupOutput, error) { @@ -2460,14 +2458,13 @@ const opGetDeploymentInstance = "GetDeploymentInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeploymentInstanceRequest method. +// req, resp := client.GetDeploymentInstanceRequest(params) // -// // Example sending a request using the GetDeploymentInstanceRequest method. -// req, resp := client.GetDeploymentInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstance // @@ -2503,27 +2500,28 @@ func (c *CodeDeploy) GetDeploymentInstanceRequest(input *GetDeploymentInstanceIn // API operation GetDeploymentInstance for usage and error information. // // Returned Error Types: -// * DeploymentIdRequiredException -// At least one deployment ID must be specified. // -// * DeploymentDoesNotExistException -// The deployment with the IAM user or AWS account does not exist. +// - DeploymentIdRequiredException +// At least one deployment ID must be specified. +// +// - DeploymentDoesNotExistException +// The deployment with the IAM user or AWS account does not exist. // -// * InstanceIdRequiredException -// The instance ID was not specified. +// - InstanceIdRequiredException +// The instance ID was not specified. // -// * InvalidDeploymentIdException -// At least one of the deployment IDs was specified in an invalid format. +// - InvalidDeploymentIdException +// At least one of the deployment IDs was specified in an invalid format. // -// * InstanceDoesNotExistException -// The specified instance does not exist in the deployment group. +// - InstanceDoesNotExistException +// The specified instance does not exist in the deployment group. // -// * InvalidInstanceNameException -// The on-premises instance name was specified in an invalid format. +// - InvalidInstanceNameException +// The on-premises instance name was specified in an invalid format. // -// * InvalidComputePlatformException -// The computePlatform is invalid. The computePlatform should be Lambda, Server, -// or ECS. +// - InvalidComputePlatformException +// The computePlatform is invalid. The computePlatform should be Lambda, Server, +// or ECS. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentInstance // @@ -2567,14 +2565,13 @@ const opGetDeploymentTarget = "GetDeploymentTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeploymentTargetRequest method. +// req, resp := client.GetDeploymentTargetRequest(params) // -// // Example sending a request using the GetDeploymentTargetRequest method. -// req, resp := client.GetDeploymentTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentTarget func (c *CodeDeploy) GetDeploymentTargetRequest(input *GetDeploymentTargetInput) (req *request.Request, output *GetDeploymentTargetOutput) { @@ -2605,29 +2602,30 @@ func (c *CodeDeploy) GetDeploymentTargetRequest(input *GetDeploymentTargetInput) // API operation GetDeploymentTarget for usage and error information. // // Returned Error Types: -// * InvalidDeploymentIdException -// At least one of the deployment IDs was specified in an invalid format. // -// * DeploymentIdRequiredException -// At least one deployment ID must be specified. +// - InvalidDeploymentIdException +// At least one of the deployment IDs was specified in an invalid format. +// +// - DeploymentIdRequiredException +// At least one deployment ID must be specified. // -// * DeploymentDoesNotExistException -// The deployment with the IAM user or AWS account does not exist. +// - DeploymentDoesNotExistException +// The deployment with the IAM user or AWS account does not exist. // -// * DeploymentNotStartedException -// The specified deployment has not started. +// - DeploymentNotStartedException +// The specified deployment has not started. // -// * DeploymentTargetIdRequiredException -// A deployment target ID was not provided. +// - DeploymentTargetIdRequiredException +// A deployment target ID was not provided. // -// * InvalidDeploymentTargetIdException -// The target ID provided was not valid. +// - InvalidDeploymentTargetIdException +// The target ID provided was not valid. // -// * DeploymentTargetDoesNotExistException -// The provided target ID does not belong to the attempted deployment. +// - DeploymentTargetDoesNotExistException +// The provided target ID does not belong to the attempted deployment. // -// * InvalidInstanceNameException -// The on-premises instance name was specified in an invalid format. +// - InvalidInstanceNameException +// The on-premises instance name was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetDeploymentTarget func (c *CodeDeploy) GetDeploymentTarget(input *GetDeploymentTargetInput) (*GetDeploymentTargetOutput, error) { @@ -2667,14 +2665,13 @@ const opGetOnPremisesInstance = "GetOnPremisesInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOnPremisesInstanceRequest method. +// req, resp := client.GetOnPremisesInstanceRequest(params) // -// // Example sending a request using the GetOnPremisesInstanceRequest method. -// req, resp := client.GetOnPremisesInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstance func (c *CodeDeploy) GetOnPremisesInstanceRequest(input *GetOnPremisesInstanceInput) (req *request.Request, output *GetOnPremisesInstanceOutput) { @@ -2705,14 +2702,15 @@ func (c *CodeDeploy) GetOnPremisesInstanceRequest(input *GetOnPremisesInstanceIn // API operation GetOnPremisesInstance for usage and error information. // // Returned Error Types: -// * InstanceNameRequiredException -// An on-premises instance name was not specified. // -// * InstanceNotRegisteredException -// The specified on-premises instance is not registered. +// - InstanceNameRequiredException +// An on-premises instance name was not specified. +// +// - InstanceNotRegisteredException +// The specified on-premises instance is not registered. // -// * InvalidInstanceNameException -// The on-premises instance name was specified in an invalid format. +// - InvalidInstanceNameException +// The on-premises instance name was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstance func (c *CodeDeploy) GetOnPremisesInstance(input *GetOnPremisesInstanceInput) (*GetOnPremisesInstanceOutput, error) { @@ -2752,14 +2750,13 @@ const opListApplicationRevisions = "ListApplicationRevisions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationRevisionsRequest method. +// req, resp := client.ListApplicationRevisionsRequest(params) // -// // Example sending a request using the ListApplicationRevisionsRequest method. -// req, resp := client.ListApplicationRevisionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisions func (c *CodeDeploy) ListApplicationRevisionsRequest(input *ListApplicationRevisionsInput) (req *request.Request, output *ListApplicationRevisionsOutput) { @@ -2796,36 +2793,37 @@ func (c *CodeDeploy) ListApplicationRevisionsRequest(input *ListApplicationRevis // API operation ListApplicationRevisions for usage and error information. // // Returned Error Types: -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. // -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. +// +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * InvalidSortByException -// The column name to sort by is either not present or was specified in an invalid -// format. +// - InvalidSortByException +// The column name to sort by is either not present or was specified in an invalid +// format. // -// * InvalidSortOrderException -// The sort order was specified in an invalid format. +// - InvalidSortOrderException +// The sort order was specified in an invalid format. // -// * InvalidBucketNameFilterException -// The bucket name either doesn't exist or was specified in an invalid format. +// - InvalidBucketNameFilterException +// The bucket name either doesn't exist or was specified in an invalid format. // -// * InvalidKeyPrefixFilterException -// The specified key prefix filter was specified in an invalid format. +// - InvalidKeyPrefixFilterException +// The specified key prefix filter was specified in an invalid format. // -// * BucketNameFilterRequiredException -// A bucket name is required, but was not provided. +// - BucketNameFilterRequiredException +// A bucket name is required, but was not provided. // -// * InvalidDeployedStateFilterException -// The deployed state filter was specified in an invalid format. +// - InvalidDeployedStateFilterException +// The deployed state filter was specified in an invalid format. // -// * InvalidNextTokenException -// The next token was specified in an invalid format. +// - InvalidNextTokenException +// The next token was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplicationRevisions func (c *CodeDeploy) ListApplicationRevisions(input *ListApplicationRevisionsInput) (*ListApplicationRevisionsOutput, error) { @@ -2857,15 +2855,14 @@ func (c *CodeDeploy) ListApplicationRevisionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplicationRevisions operation. -// pageNum := 0 -// err := client.ListApplicationRevisionsPages(params, -// func(page *codedeploy.ListApplicationRevisionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplicationRevisions operation. +// pageNum := 0 +// err := client.ListApplicationRevisionsPages(params, +// func(page *codedeploy.ListApplicationRevisionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeDeploy) ListApplicationRevisionsPages(input *ListApplicationRevisionsInput, fn func(*ListApplicationRevisionsOutput, bool) bool) error { return c.ListApplicationRevisionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2917,14 +2914,13 @@ const opListApplications = "ListApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationsRequest method. +// req, resp := client.ListApplicationsRequest(params) // -// // Example sending a request using the ListApplicationsRequest method. -// req, resp := client.ListApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplications func (c *CodeDeploy) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput) { @@ -2961,8 +2957,8 @@ func (c *CodeDeploy) ListApplicationsRequest(input *ListApplicationsInput) (req // API operation ListApplications for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The next token was specified in an invalid format. +// - InvalidNextTokenException +// The next token was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListApplications func (c *CodeDeploy) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error) { @@ -2994,15 +2990,14 @@ func (c *CodeDeploy) ListApplicationsWithContext(ctx aws.Context, input *ListApp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplications operation. -// pageNum := 0 -// err := client.ListApplicationsPages(params, -// func(page *codedeploy.ListApplicationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplications operation. +// pageNum := 0 +// err := client.ListApplicationsPages(params, +// func(page *codedeploy.ListApplicationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeDeploy) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error { return c.ListApplicationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3054,14 +3049,13 @@ const opListDeploymentConfigs = "ListDeploymentConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeploymentConfigsRequest method. +// req, resp := client.ListDeploymentConfigsRequest(params) // -// // Example sending a request using the ListDeploymentConfigsRequest method. -// req, resp := client.ListDeploymentConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigs func (c *CodeDeploy) ListDeploymentConfigsRequest(input *ListDeploymentConfigsInput) (req *request.Request, output *ListDeploymentConfigsOutput) { @@ -3098,8 +3092,8 @@ func (c *CodeDeploy) ListDeploymentConfigsRequest(input *ListDeploymentConfigsIn // API operation ListDeploymentConfigs for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The next token was specified in an invalid format. +// - InvalidNextTokenException +// The next token was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentConfigs func (c *CodeDeploy) ListDeploymentConfigs(input *ListDeploymentConfigsInput) (*ListDeploymentConfigsOutput, error) { @@ -3131,15 +3125,14 @@ func (c *CodeDeploy) ListDeploymentConfigsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDeploymentConfigs operation. -// pageNum := 0 -// err := client.ListDeploymentConfigsPages(params, -// func(page *codedeploy.ListDeploymentConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDeploymentConfigs operation. +// pageNum := 0 +// err := client.ListDeploymentConfigsPages(params, +// func(page *codedeploy.ListDeploymentConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeDeploy) ListDeploymentConfigsPages(input *ListDeploymentConfigsInput, fn func(*ListDeploymentConfigsOutput, bool) bool) error { return c.ListDeploymentConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3191,14 +3184,13 @@ const opListDeploymentGroups = "ListDeploymentGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeploymentGroupsRequest method. +// req, resp := client.ListDeploymentGroupsRequest(params) // -// // Example sending a request using the ListDeploymentGroupsRequest method. -// req, resp := client.ListDeploymentGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroups func (c *CodeDeploy) ListDeploymentGroupsRequest(input *ListDeploymentGroupsInput) (req *request.Request, output *ListDeploymentGroupsOutput) { @@ -3236,17 +3228,18 @@ func (c *CodeDeploy) ListDeploymentGroupsRequest(input *ListDeploymentGroupsInpu // API operation ListDeploymentGroups for usage and error information. // // Returned Error Types: -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. +// +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. // -// * InvalidNextTokenException -// The next token was specified in an invalid format. +// - InvalidNextTokenException +// The next token was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentGroups func (c *CodeDeploy) ListDeploymentGroups(input *ListDeploymentGroupsInput) (*ListDeploymentGroupsOutput, error) { @@ -3278,15 +3271,14 @@ func (c *CodeDeploy) ListDeploymentGroupsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDeploymentGroups operation. -// pageNum := 0 -// err := client.ListDeploymentGroupsPages(params, -// func(page *codedeploy.ListDeploymentGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDeploymentGroups operation. +// pageNum := 0 +// err := client.ListDeploymentGroupsPages(params, +// func(page *codedeploy.ListDeploymentGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeDeploy) ListDeploymentGroupsPages(input *ListDeploymentGroupsInput, fn func(*ListDeploymentGroupsOutput, bool) bool) error { return c.ListDeploymentGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3338,14 +3330,13 @@ const opListDeploymentInstances = "ListDeploymentInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeploymentInstancesRequest method. +// req, resp := client.ListDeploymentInstancesRequest(params) // -// // Example sending a request using the ListDeploymentInstancesRequest method. -// req, resp := client.ListDeploymentInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstances // @@ -3377,7 +3368,6 @@ func (c *CodeDeploy) ListDeploymentInstancesRequest(input *ListDeploymentInstanc // ListDeploymentInstances API operation for AWS CodeDeploy. // -// // The newer BatchGetDeploymentTargets should be used instead because it works // with all compute types. ListDeploymentInstances throws an exception if it // is used with a compute platform other than EC2/On-premises or AWS Lambda. @@ -3392,39 +3382,40 @@ func (c *CodeDeploy) ListDeploymentInstancesRequest(input *ListDeploymentInstanc // API operation ListDeploymentInstances for usage and error information. // // Returned Error Types: -// * DeploymentIdRequiredException -// At least one deployment ID must be specified. // -// * DeploymentDoesNotExistException -// The deployment with the IAM user or AWS account does not exist. +// - DeploymentIdRequiredException +// At least one deployment ID must be specified. // -// * DeploymentNotStartedException -// The specified deployment has not started. +// - DeploymentDoesNotExistException +// The deployment with the IAM user or AWS account does not exist. // -// * InvalidNextTokenException -// The next token was specified in an invalid format. +// - DeploymentNotStartedException +// The specified deployment has not started. // -// * InvalidDeploymentIdException -// At least one of the deployment IDs was specified in an invalid format. +// - InvalidNextTokenException +// The next token was specified in an invalid format. // -// * InvalidInstanceStatusException -// The specified instance status does not exist. +// - InvalidDeploymentIdException +// At least one of the deployment IDs was specified in an invalid format. // -// * InvalidInstanceTypeException -// An invalid instance type was specified for instances in a blue/green deployment. -// Valid values include "Blue" for an original environment and "Green" for a -// replacement environment. +// - InvalidInstanceStatusException +// The specified instance status does not exist. // -// * InvalidDeploymentInstanceTypeException -// An instance type was specified for an in-place deployment. Instance types -// are supported for blue/green deployments only. +// - InvalidInstanceTypeException +// An invalid instance type was specified for instances in a blue/green deployment. +// Valid values include "Blue" for an original environment and "Green" for a +// replacement environment. // -// * InvalidTargetFilterNameException -// The target filter name is invalid. +// - InvalidDeploymentInstanceTypeException +// An instance type was specified for an in-place deployment. Instance types +// are supported for blue/green deployments only. // -// * InvalidComputePlatformException -// The computePlatform is invalid. The computePlatform should be Lambda, Server, -// or ECS. +// - InvalidTargetFilterNameException +// The target filter name is invalid. +// +// - InvalidComputePlatformException +// The computePlatform is invalid. The computePlatform should be Lambda, Server, +// or ECS. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentInstances // @@ -3460,15 +3451,14 @@ func (c *CodeDeploy) ListDeploymentInstancesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDeploymentInstances operation. -// pageNum := 0 -// err := client.ListDeploymentInstancesPages(params, -// func(page *codedeploy.ListDeploymentInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDeploymentInstances operation. +// pageNum := 0 +// err := client.ListDeploymentInstancesPages(params, +// func(page *codedeploy.ListDeploymentInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) // // Deprecated: This operation is deprecated, use ListDeploymentTargets instead. func (c *CodeDeploy) ListDeploymentInstancesPages(input *ListDeploymentInstancesInput, fn func(*ListDeploymentInstancesOutput, bool) bool) error { @@ -3524,14 +3514,13 @@ const opListDeploymentTargets = "ListDeploymentTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeploymentTargetsRequest method. +// req, resp := client.ListDeploymentTargetsRequest(params) // -// // Example sending a request using the ListDeploymentTargetsRequest method. -// req, resp := client.ListDeploymentTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentTargets func (c *CodeDeploy) ListDeploymentTargetsRequest(input *ListDeploymentTargetsInput) (req *request.Request, output *ListDeploymentTargetsOutput) { @@ -3562,32 +3551,33 @@ func (c *CodeDeploy) ListDeploymentTargetsRequest(input *ListDeploymentTargetsIn // API operation ListDeploymentTargets for usage and error information. // // Returned Error Types: -// * DeploymentIdRequiredException -// At least one deployment ID must be specified. // -// * DeploymentDoesNotExistException -// The deployment with the IAM user or AWS account does not exist. +// - DeploymentIdRequiredException +// At least one deployment ID must be specified. // -// * DeploymentNotStartedException -// The specified deployment has not started. +// - DeploymentDoesNotExistException +// The deployment with the IAM user or AWS account does not exist. // -// * InvalidNextTokenException -// The next token was specified in an invalid format. +// - DeploymentNotStartedException +// The specified deployment has not started. // -// * InvalidDeploymentIdException -// At least one of the deployment IDs was specified in an invalid format. +// - InvalidNextTokenException +// The next token was specified in an invalid format. // -// * InvalidInstanceStatusException -// The specified instance status does not exist. +// - InvalidDeploymentIdException +// At least one of the deployment IDs was specified in an invalid format. // -// * InvalidInstanceTypeException -// An invalid instance type was specified for instances in a blue/green deployment. -// Valid values include "Blue" for an original environment and "Green" for a -// replacement environment. +// - InvalidInstanceStatusException +// The specified instance status does not exist. // -// * InvalidDeploymentInstanceTypeException -// An instance type was specified for an in-place deployment. Instance types -// are supported for blue/green deployments only. +// - InvalidInstanceTypeException +// An invalid instance type was specified for instances in a blue/green deployment. +// Valid values include "Blue" for an original environment and "Green" for a +// replacement environment. +// +// - InvalidDeploymentInstanceTypeException +// An instance type was specified for an in-place deployment. Instance types +// are supported for blue/green deployments only. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeploymentTargets func (c *CodeDeploy) ListDeploymentTargets(input *ListDeploymentTargetsInput) (*ListDeploymentTargetsOutput, error) { @@ -3627,14 +3617,13 @@ const opListDeployments = "ListDeployments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeploymentsRequest method. +// req, resp := client.ListDeploymentsRequest(params) // -// // Example sending a request using the ListDeploymentsRequest method. -// req, resp := client.ListDeploymentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeployments func (c *CodeDeploy) ListDeploymentsRequest(input *ListDeploymentsInput) (req *request.Request, output *ListDeploymentsOutput) { @@ -3672,38 +3661,39 @@ func (c *CodeDeploy) ListDeploymentsRequest(input *ListDeploymentsInput) (req *r // API operation ListDeployments for usage and error information. // // Returned Error Types: -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. +// +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. // -// * InvalidDeploymentGroupNameException -// The deployment group name was specified in an invalid format. +// - InvalidDeploymentGroupNameException +// The deployment group name was specified in an invalid format. // -// * DeploymentGroupDoesNotExistException -// The named deployment group with the IAM user or AWS account does not exist. +// - DeploymentGroupDoesNotExistException +// The named deployment group with the IAM user or AWS account does not exist. // -// * DeploymentGroupNameRequiredException -// The deployment group name was not specified. +// - DeploymentGroupNameRequiredException +// The deployment group name was not specified. // -// * InvalidTimeRangeException -// The specified time range was specified in an invalid format. +// - InvalidTimeRangeException +// The specified time range was specified in an invalid format. // -// * InvalidDeploymentStatusException -// The specified deployment status doesn't exist or cannot be determined. +// - InvalidDeploymentStatusException +// The specified deployment status doesn't exist or cannot be determined. // -// * InvalidNextTokenException -// The next token was specified in an invalid format. +// - InvalidNextTokenException +// The next token was specified in an invalid format. // -// * InvalidExternalIdException -// The external ID was specified in an invalid format. +// - InvalidExternalIdException +// The external ID was specified in an invalid format. // -// * InvalidInputException -// The input was specified in an invalid format. +// - InvalidInputException +// The input was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListDeployments func (c *CodeDeploy) ListDeployments(input *ListDeploymentsInput) (*ListDeploymentsOutput, error) { @@ -3735,15 +3725,14 @@ func (c *CodeDeploy) ListDeploymentsWithContext(ctx aws.Context, input *ListDepl // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDeployments operation. -// pageNum := 0 -// err := client.ListDeploymentsPages(params, -// func(page *codedeploy.ListDeploymentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDeployments operation. +// pageNum := 0 +// err := client.ListDeploymentsPages(params, +// func(page *codedeploy.ListDeploymentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeDeploy) ListDeploymentsPages(input *ListDeploymentsInput, fn func(*ListDeploymentsOutput, bool) bool) error { return c.ListDeploymentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3795,14 +3784,13 @@ const opListGitHubAccountTokenNames = "ListGitHubAccountTokenNames" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGitHubAccountTokenNamesRequest method. +// req, resp := client.ListGitHubAccountTokenNamesRequest(params) // -// // Example sending a request using the ListGitHubAccountTokenNamesRequest method. -// req, resp := client.ListGitHubAccountTokenNamesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames func (c *CodeDeploy) ListGitHubAccountTokenNamesRequest(input *ListGitHubAccountTokenNamesInput) (req *request.Request, output *ListGitHubAccountTokenNamesOutput) { @@ -3833,14 +3821,15 @@ func (c *CodeDeploy) ListGitHubAccountTokenNamesRequest(input *ListGitHubAccount // API operation ListGitHubAccountTokenNames for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The next token was specified in an invalid format. // -// * ResourceValidationException -// The specified resource could not be validated. +// - InvalidNextTokenException +// The next token was specified in an invalid format. +// +// - ResourceValidationException +// The specified resource could not be validated. // -// * OperationNotSupportedException -// The API used does not support the deployment. +// - OperationNotSupportedException +// The API used does not support the deployment. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListGitHubAccountTokenNames func (c *CodeDeploy) ListGitHubAccountTokenNames(input *ListGitHubAccountTokenNamesInput) (*ListGitHubAccountTokenNamesOutput, error) { @@ -3880,14 +3869,13 @@ const opListOnPremisesInstances = "ListOnPremisesInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOnPremisesInstancesRequest method. +// req, resp := client.ListOnPremisesInstancesRequest(params) // -// // Example sending a request using the ListOnPremisesInstancesRequest method. -// req, resp := client.ListOnPremisesInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstances func (c *CodeDeploy) ListOnPremisesInstancesRequest(input *ListOnPremisesInstancesInput) (req *request.Request, output *ListOnPremisesInstancesOutput) { @@ -3922,14 +3910,15 @@ func (c *CodeDeploy) ListOnPremisesInstancesRequest(input *ListOnPremisesInstanc // API operation ListOnPremisesInstances for usage and error information. // // Returned Error Types: -// * InvalidRegistrationStatusException -// The registration status was specified in an invalid format. // -// * InvalidTagFilterException -// The tag filter was specified in an invalid format. +// - InvalidRegistrationStatusException +// The registration status was specified in an invalid format. +// +// - InvalidTagFilterException +// The tag filter was specified in an invalid format. // -// * InvalidNextTokenException -// The next token was specified in an invalid format. +// - InvalidNextTokenException +// The next token was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListOnPremisesInstances func (c *CodeDeploy) ListOnPremisesInstances(input *ListOnPremisesInstancesInput) (*ListOnPremisesInstancesOutput, error) { @@ -3969,14 +3958,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListTagsForResource func (c *CodeDeploy) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4009,15 +3997,16 @@ func (c *CodeDeploy) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ArnNotSupportedException -// The specified ARN is not supported. For example, it might be an ARN for a -// resource that is not expected. // -// * InvalidArnException -// The specified ARN is not in a valid format. +// - ArnNotSupportedException +// The specified ARN is not supported. For example, it might be an ARN for a +// resource that is not expected. // -// * ResourceArnRequiredException -// The ARN of a resource is required, but was not found. +// - InvalidArnException +// The specified ARN is not in a valid format. +// +// - ResourceArnRequiredException +// The ARN of a resource is required, but was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/ListTagsForResource func (c *CodeDeploy) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4057,14 +4046,13 @@ const opPutLifecycleEventHookExecutionStatus = "PutLifecycleEventHookExecutionSt // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutLifecycleEventHookExecutionStatusRequest method. +// req, resp := client.PutLifecycleEventHookExecutionStatusRequest(params) // -// // Example sending a request using the PutLifecycleEventHookExecutionStatusRequest method. -// req, resp := client.PutLifecycleEventHookExecutionStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/PutLifecycleEventHookExecutionStatus func (c *CodeDeploy) PutLifecycleEventHookExecutionStatusRequest(input *PutLifecycleEventHookExecutionStatusInput) (req *request.Request, output *PutLifecycleEventHookExecutionStatusOutput) { @@ -4103,28 +4091,29 @@ func (c *CodeDeploy) PutLifecycleEventHookExecutionStatusRequest(input *PutLifec // API operation PutLifecycleEventHookExecutionStatus for usage and error information. // // Returned Error Types: -// * InvalidLifecycleEventHookExecutionStatusException -// The result of a Lambda validation function that verifies a lifecycle event -// is invalid. It should return Succeeded or Failed. // -// * InvalidLifecycleEventHookExecutionIdException -// A lifecycle event hook is invalid. Review the hooks section in your AppSpec -// file to ensure the lifecycle events and hooks functions are valid. +// - InvalidLifecycleEventHookExecutionStatusException +// The result of a Lambda validation function that verifies a lifecycle event +// is invalid. It should return Succeeded or Failed. +// +// - InvalidLifecycleEventHookExecutionIdException +// A lifecycle event hook is invalid. Review the hooks section in your AppSpec +// file to ensure the lifecycle events and hooks functions are valid. // -// * LifecycleEventAlreadyCompletedException -// An attempt to return the status of an already completed lifecycle event occurred. +// - LifecycleEventAlreadyCompletedException +// An attempt to return the status of an already completed lifecycle event occurred. // -// * DeploymentIdRequiredException -// At least one deployment ID must be specified. +// - DeploymentIdRequiredException +// At least one deployment ID must be specified. // -// * DeploymentDoesNotExistException -// The deployment with the IAM user or AWS account does not exist. +// - DeploymentDoesNotExistException +// The deployment with the IAM user or AWS account does not exist. // -// * InvalidDeploymentIdException -// At least one of the deployment IDs was specified in an invalid format. +// - InvalidDeploymentIdException +// At least one of the deployment IDs was specified in an invalid format. // -// * UnsupportedActionForDeploymentTypeException -// A call was submitted that is not supported for the specified deployment type. +// - UnsupportedActionForDeploymentTypeException +// A call was submitted that is not supported for the specified deployment type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/PutLifecycleEventHookExecutionStatus func (c *CodeDeploy) PutLifecycleEventHookExecutionStatus(input *PutLifecycleEventHookExecutionStatusInput) (*PutLifecycleEventHookExecutionStatusOutput, error) { @@ -4164,14 +4153,13 @@ const opRegisterApplicationRevision = "RegisterApplicationRevision" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterApplicationRevisionRequest method. +// req, resp := client.RegisterApplicationRevisionRequest(params) // -// // Example sending a request using the RegisterApplicationRevisionRequest method. -// req, resp := client.RegisterApplicationRevisionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevision func (c *CodeDeploy) RegisterApplicationRevisionRequest(input *RegisterApplicationRevisionInput) (req *request.Request, output *RegisterApplicationRevisionOutput) { @@ -4203,23 +4191,24 @@ func (c *CodeDeploy) RegisterApplicationRevisionRequest(input *RegisterApplicati // API operation RegisterApplicationRevision for usage and error information. // // Returned Error Types: -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. // -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. +// +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * DescriptionTooLongException -// The description is too long. +// - DescriptionTooLongException +// The description is too long. // -// * RevisionRequiredException -// The revision ID was not specified. +// - RevisionRequiredException +// The revision ID was not specified. // -// * InvalidRevisionException -// The revision was specified in an invalid format. +// - InvalidRevisionException +// The revision was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterApplicationRevision func (c *CodeDeploy) RegisterApplicationRevision(input *RegisterApplicationRevisionInput) (*RegisterApplicationRevisionOutput, error) { @@ -4259,14 +4248,13 @@ const opRegisterOnPremisesInstance = "RegisterOnPremisesInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterOnPremisesInstanceRequest method. +// req, resp := client.RegisterOnPremisesInstanceRequest(params) // -// // Example sending a request using the RegisterOnPremisesInstanceRequest method. -// req, resp := client.RegisterOnPremisesInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstance func (c *CodeDeploy) RegisterOnPremisesInstanceRequest(input *RegisterOnPremisesInstanceInput) (req *request.Request, output *RegisterOnPremisesInstanceOutput) { @@ -4301,38 +4289,39 @@ func (c *CodeDeploy) RegisterOnPremisesInstanceRequest(input *RegisterOnPremises // API operation RegisterOnPremisesInstance for usage and error information. // // Returned Error Types: -// * InstanceNameAlreadyRegisteredException -// The specified on-premises instance name is already registered. // -// * IamArnRequiredException -// No IAM ARN was included in the request. You must use an IAM session ARN or -// IAM user ARN in the request. +// - InstanceNameAlreadyRegisteredException +// The specified on-premises instance name is already registered. // -// * IamSessionArnAlreadyRegisteredException -// The request included an IAM session ARN that has already been used to register -// a different instance. +// - IamArnRequiredException +// No IAM ARN was included in the request. You must use an IAM session ARN or +// IAM user ARN in the request. // -// * IamUserArnAlreadyRegisteredException -// The specified IAM user ARN is already registered with an on-premises instance. +// - IamSessionArnAlreadyRegisteredException +// The request included an IAM session ARN that has already been used to register +// a different instance. // -// * InstanceNameRequiredException -// An on-premises instance name was not specified. +// - IamUserArnAlreadyRegisteredException +// The specified IAM user ARN is already registered with an on-premises instance. // -// * IamUserArnRequiredException -// An IAM user ARN was not specified. +// - InstanceNameRequiredException +// An on-premises instance name was not specified. // -// * InvalidInstanceNameException -// The on-premises instance name was specified in an invalid format. +// - IamUserArnRequiredException +// An IAM user ARN was not specified. // -// * InvalidIamSessionArnException -// The IAM session ARN was specified in an invalid format. +// - InvalidInstanceNameException +// The on-premises instance name was specified in an invalid format. // -// * InvalidIamUserArnException -// The IAM user ARN was specified in an invalid format. +// - InvalidIamSessionArnException +// The IAM session ARN was specified in an invalid format. // -// * MultipleIamArnsProvidedException -// Both an IAM user ARN and an IAM session ARN were included in the request. -// Use only one ARN type. +// - InvalidIamUserArnException +// The IAM user ARN was specified in an invalid format. +// +// - MultipleIamArnsProvidedException +// Both an IAM user ARN and an IAM session ARN were included in the request. +// Use only one ARN type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RegisterOnPremisesInstance func (c *CodeDeploy) RegisterOnPremisesInstance(input *RegisterOnPremisesInstanceInput) (*RegisterOnPremisesInstanceOutput, error) { @@ -4372,14 +4361,13 @@ const opRemoveTagsFromOnPremisesInstances = "RemoveTagsFromOnPremisesInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsFromOnPremisesInstancesRequest method. +// req, resp := client.RemoveTagsFromOnPremisesInstancesRequest(params) // -// // Example sending a request using the RemoveTagsFromOnPremisesInstancesRequest method. -// req, resp := client.RemoveTagsFromOnPremisesInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstances func (c *CodeDeploy) RemoveTagsFromOnPremisesInstancesRequest(input *RemoveTagsFromOnPremisesInstancesInput) (req *request.Request, output *RemoveTagsFromOnPremisesInstancesOutput) { @@ -4411,27 +4399,28 @@ func (c *CodeDeploy) RemoveTagsFromOnPremisesInstancesRequest(input *RemoveTagsF // API operation RemoveTagsFromOnPremisesInstances for usage and error information. // // Returned Error Types: -// * InstanceNameRequiredException -// An on-premises instance name was not specified. // -// * InvalidInstanceNameException -// The on-premises instance name was specified in an invalid format. +// - InstanceNameRequiredException +// An on-premises instance name was not specified. +// +// - InvalidInstanceNameException +// The on-premises instance name was specified in an invalid format. // -// * TagRequiredException -// A tag was not specified. +// - TagRequiredException +// A tag was not specified. // -// * InvalidTagException -// The tag was specified in an invalid format. +// - InvalidTagException +// The tag was specified in an invalid format. // -// * TagLimitExceededException -// The maximum allowed number of tags was exceeded. +// - TagLimitExceededException +// The maximum allowed number of tags was exceeded. // -// * InstanceLimitExceededException -// The maximum number of allowed on-premises instances in a single call was -// exceeded. +// - InstanceLimitExceededException +// The maximum number of allowed on-premises instances in a single call was +// exceeded. // -// * InstanceNotRegisteredException -// The specified on-premises instance is not registered. +// - InstanceNotRegisteredException +// The specified on-premises instance is not registered. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/RemoveTagsFromOnPremisesInstances func (c *CodeDeploy) RemoveTagsFromOnPremisesInstances(input *RemoveTagsFromOnPremisesInstancesInput) (*RemoveTagsFromOnPremisesInstancesOutput, error) { @@ -4471,14 +4460,13 @@ const opSkipWaitTimeForInstanceTermination = "SkipWaitTimeForInstanceTermination // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SkipWaitTimeForInstanceTerminationRequest method. +// req, resp := client.SkipWaitTimeForInstanceTerminationRequest(params) // -// // Example sending a request using the SkipWaitTimeForInstanceTerminationRequest method. -// req, resp := client.SkipWaitTimeForInstanceTerminationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTermination // @@ -4516,23 +4504,24 @@ func (c *CodeDeploy) SkipWaitTimeForInstanceTerminationRequest(input *SkipWaitTi // API operation SkipWaitTimeForInstanceTermination for usage and error information. // // Returned Error Types: -// * DeploymentIdRequiredException -// At least one deployment ID must be specified. // -// * DeploymentDoesNotExistException -// The deployment with the IAM user or AWS account does not exist. +// - DeploymentIdRequiredException +// At least one deployment ID must be specified. +// +// - DeploymentDoesNotExistException +// The deployment with the IAM user or AWS account does not exist. // -// * DeploymentAlreadyCompletedException -// The deployment is already complete. +// - DeploymentAlreadyCompletedException +// The deployment is already complete. // -// * InvalidDeploymentIdException -// At least one of the deployment IDs was specified in an invalid format. +// - InvalidDeploymentIdException +// At least one of the deployment IDs was specified in an invalid format. // -// * DeploymentNotStartedException -// The specified deployment has not started. +// - DeploymentNotStartedException +// The specified deployment has not started. // -// * UnsupportedActionForDeploymentTypeException -// A call was submitted that is not supported for the specified deployment type. +// - UnsupportedActionForDeploymentTypeException +// A call was submitted that is not supported for the specified deployment type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/SkipWaitTimeForInstanceTermination // @@ -4576,14 +4565,13 @@ const opStopDeployment = "StopDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopDeploymentRequest method. +// req, resp := client.StopDeploymentRequest(params) // -// // Example sending a request using the StopDeploymentRequest method. -// req, resp := client.StopDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeployment func (c *CodeDeploy) StopDeploymentRequest(input *StopDeploymentInput) (req *request.Request, output *StopDeploymentOutput) { @@ -4614,23 +4602,24 @@ func (c *CodeDeploy) StopDeploymentRequest(input *StopDeploymentInput) (req *req // API operation StopDeployment for usage and error information. // // Returned Error Types: -// * DeploymentIdRequiredException -// At least one deployment ID must be specified. // -// * DeploymentDoesNotExistException -// The deployment with the IAM user or AWS account does not exist. +// - DeploymentIdRequiredException +// At least one deployment ID must be specified. // -// * DeploymentGroupDoesNotExistException -// The named deployment group with the IAM user or AWS account does not exist. +// - DeploymentDoesNotExistException +// The deployment with the IAM user or AWS account does not exist. // -// * DeploymentAlreadyCompletedException -// The deployment is already complete. +// - DeploymentGroupDoesNotExistException +// The named deployment group with the IAM user or AWS account does not exist. // -// * InvalidDeploymentIdException -// At least one of the deployment IDs was specified in an invalid format. +// - DeploymentAlreadyCompletedException +// The deployment is already complete. // -// * UnsupportedActionForDeploymentTypeException -// A call was submitted that is not supported for the specified deployment type. +// - InvalidDeploymentIdException +// At least one of the deployment IDs was specified in an invalid format. +// +// - UnsupportedActionForDeploymentTypeException +// A call was submitted that is not supported for the specified deployment type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/StopDeployment func (c *CodeDeploy) StopDeployment(input *StopDeploymentInput) (*StopDeploymentOutput, error) { @@ -4670,14 +4659,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagResource func (c *CodeDeploy) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -4710,30 +4698,31 @@ func (c *CodeDeploy) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceArnRequiredException -// The ARN of a resource is required, but was not found. // -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. +// - ResourceArnRequiredException +// The ARN of a resource is required, but was not found. +// +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. // -// * DeploymentGroupDoesNotExistException -// The named deployment group with the IAM user or AWS account does not exist. +// - DeploymentGroupDoesNotExistException +// The named deployment group with the IAM user or AWS account does not exist. // -// * DeploymentConfigDoesNotExistException -// The deployment configuration does not exist with the IAM user or AWS account. +// - DeploymentConfigDoesNotExistException +// The deployment configuration does not exist with the IAM user or AWS account. // -// * TagRequiredException -// A tag was not specified. +// - TagRequiredException +// A tag was not specified. // -// * InvalidTagsToAddException -// The specified tags are not valid. +// - InvalidTagsToAddException +// The specified tags are not valid. // -// * ArnNotSupportedException -// The specified ARN is not supported. For example, it might be an ARN for a -// resource that is not expected. +// - ArnNotSupportedException +// The specified ARN is not supported. For example, it might be an ARN for a +// resource that is not expected. // -// * InvalidArnException -// The specified ARN is not in a valid format. +// - InvalidArnException +// The specified ARN is not in a valid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/TagResource func (c *CodeDeploy) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4773,14 +4762,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UntagResource func (c *CodeDeploy) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4814,30 +4802,31 @@ func (c *CodeDeploy) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceArnRequiredException -// The ARN of a resource is required, but was not found. // -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. +// - ResourceArnRequiredException +// The ARN of a resource is required, but was not found. +// +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. // -// * DeploymentGroupDoesNotExistException -// The named deployment group with the IAM user or AWS account does not exist. +// - DeploymentGroupDoesNotExistException +// The named deployment group with the IAM user or AWS account does not exist. // -// * DeploymentConfigDoesNotExistException -// The deployment configuration does not exist with the IAM user or AWS account. +// - DeploymentConfigDoesNotExistException +// The deployment configuration does not exist with the IAM user or AWS account. // -// * TagRequiredException -// A tag was not specified. +// - TagRequiredException +// A tag was not specified. // -// * InvalidTagsToAddException -// The specified tags are not valid. +// - InvalidTagsToAddException +// The specified tags are not valid. // -// * ArnNotSupportedException -// The specified ARN is not supported. For example, it might be an ARN for a -// resource that is not expected. +// - ArnNotSupportedException +// The specified ARN is not supported. For example, it might be an ARN for a +// resource that is not expected. // -// * InvalidArnException -// The specified ARN is not in a valid format. +// - InvalidArnException +// The specified ARN is not in a valid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UntagResource func (c *CodeDeploy) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -4877,14 +4866,13 @@ const opUpdateApplication = "UpdateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationRequest method. +// req, resp := client.UpdateApplicationRequest(params) // -// // Example sending a request using the UpdateApplicationRequest method. -// req, resp := client.UpdateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplication func (c *CodeDeploy) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) { @@ -4916,18 +4904,19 @@ func (c *CodeDeploy) UpdateApplicationRequest(input *UpdateApplicationInput) (re // API operation UpdateApplication for usage and error information. // // Returned Error Types: -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. // -// * ApplicationAlreadyExistsException -// An application with the specified name with the IAM user or AWS account already -// exists. +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. +// - ApplicationAlreadyExistsException +// An application with the specified name with the IAM user or AWS account already +// exists. +// +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateApplication func (c *CodeDeploy) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) { @@ -4967,14 +4956,13 @@ const opUpdateDeploymentGroup = "UpdateDeploymentGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDeploymentGroupRequest method. +// req, resp := client.UpdateDeploymentGroupRequest(params) // -// // Example sending a request using the UpdateDeploymentGroupRequest method. -// req, resp := client.UpdateDeploymentGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroup func (c *CodeDeploy) UpdateDeploymentGroupRequest(input *UpdateDeploymentGroupInput) (req *request.Request, output *UpdateDeploymentGroupOutput) { @@ -5005,122 +4993,123 @@ func (c *CodeDeploy) UpdateDeploymentGroupRequest(input *UpdateDeploymentGroupIn // API operation UpdateDeploymentGroup for usage and error information. // // Returned Error Types: -// * ApplicationNameRequiredException -// The minimum number of required application names was not specified. // -// * InvalidApplicationNameException -// The application name was specified in an invalid format. +// - ApplicationNameRequiredException +// The minimum number of required application names was not specified. +// +// - InvalidApplicationNameException +// The application name was specified in an invalid format. // -// * ApplicationDoesNotExistException -// The application does not exist with the IAM user or AWS account. +// - ApplicationDoesNotExistException +// The application does not exist with the IAM user or AWS account. // -// * InvalidDeploymentGroupNameException -// The deployment group name was specified in an invalid format. +// - InvalidDeploymentGroupNameException +// The deployment group name was specified in an invalid format. // -// * DeploymentGroupAlreadyExistsException -// A deployment group with the specified name with the IAM user or AWS account -// already exists. +// - DeploymentGroupAlreadyExistsException +// A deployment group with the specified name with the IAM user or AWS account +// already exists. // -// * DeploymentGroupNameRequiredException -// The deployment group name was not specified. +// - DeploymentGroupNameRequiredException +// The deployment group name was not specified. // -// * DeploymentGroupDoesNotExistException -// The named deployment group with the IAM user or AWS account does not exist. +// - DeploymentGroupDoesNotExistException +// The named deployment group with the IAM user or AWS account does not exist. // -// * InvalidEC2TagException -// The tag was specified in an invalid format. +// - InvalidEC2TagException +// The tag was specified in an invalid format. // -// * InvalidTagException -// The tag was specified in an invalid format. +// - InvalidTagException +// The tag was specified in an invalid format. // -// * InvalidAutoScalingGroupException -// The Auto Scaling group was specified in an invalid format or does not exist. +// - InvalidAutoScalingGroupException +// The Auto Scaling group was specified in an invalid format or does not exist. // -// * InvalidDeploymentConfigNameException -// The deployment configuration name was specified in an invalid format. +// - InvalidDeploymentConfigNameException +// The deployment configuration name was specified in an invalid format. // -// * DeploymentConfigDoesNotExistException -// The deployment configuration does not exist with the IAM user or AWS account. +// - DeploymentConfigDoesNotExistException +// The deployment configuration does not exist with the IAM user or AWS account. // -// * InvalidRoleException -// The service role ARN was specified in an invalid format. Or, if an Auto Scaling -// group was specified, the specified service role does not grant the appropriate -// permissions to Amazon EC2 Auto Scaling. +// - InvalidRoleException +// The service role ARN was specified in an invalid format. Or, if an Auto Scaling +// group was specified, the specified service role does not grant the appropriate +// permissions to Amazon EC2 Auto Scaling. // -// * LifecycleHookLimitExceededException -// The limit for lifecycle hooks was exceeded. +// - LifecycleHookLimitExceededException +// The limit for lifecycle hooks was exceeded. // -// * InvalidTriggerConfigException -// The trigger was specified in an invalid format. +// - InvalidTriggerConfigException +// The trigger was specified in an invalid format. // -// * TriggerTargetsLimitExceededException -// The maximum allowed number of triggers was exceeded. +// - TriggerTargetsLimitExceededException +// The maximum allowed number of triggers was exceeded. // -// * InvalidAlarmConfigException -// The format of the alarm configuration is invalid. Possible causes include: +// - InvalidAlarmConfigException +// The format of the alarm configuration is invalid. Possible causes include: // -// * The alarm list is null. +// - The alarm list is null. // -// * The alarm object is null. +// - The alarm object is null. // -// * The alarm name is empty or null or exceeds the limit of 255 characters. +// - The alarm name is empty or null or exceeds the limit of 255 characters. // -// * Two alarms with the same name have been specified. +// - Two alarms with the same name have been specified. // -// * The alarm configuration is enabled, but the alarm list is empty. +// - The alarm configuration is enabled, but the alarm list is empty. // -// * AlarmsLimitExceededException -// The maximum number of alarms for a deployment group (10) was exceeded. +// - AlarmsLimitExceededException +// The maximum number of alarms for a deployment group (10) was exceeded. // -// * InvalidAutoRollbackConfigException -// The automatic rollback configuration was specified in an invalid format. -// For example, automatic rollback is enabled, but an invalid triggering event -// type or no event types were listed. +// - InvalidAutoRollbackConfigException +// The automatic rollback configuration was specified in an invalid format. +// For example, automatic rollback is enabled, but an invalid triggering event +// type or no event types were listed. // -// * InvalidLoadBalancerInfoException -// An invalid load balancer name, or no load balancer name, was specified. +// - InvalidLoadBalancerInfoException +// An invalid load balancer name, or no load balancer name, was specified. // -// * InvalidDeploymentStyleException -// An invalid deployment style was specified. Valid deployment types include -// "IN_PLACE" and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL" -// and "WITHOUT_TRAFFIC_CONTROL." +// - InvalidDeploymentStyleException +// An invalid deployment style was specified. Valid deployment types include +// "IN_PLACE" and "BLUE_GREEN." Valid deployment options include "WITH_TRAFFIC_CONTROL" +// and "WITHOUT_TRAFFIC_CONTROL." // -// * InvalidBlueGreenDeploymentConfigurationException -// The configuration for the blue/green deployment group was provided in an -// invalid format. For information about deployment configuration format, see -// CreateDeploymentConfig. +// - InvalidBlueGreenDeploymentConfigurationException +// The configuration for the blue/green deployment group was provided in an +// invalid format. For information about deployment configuration format, see +// CreateDeploymentConfig. // -// * InvalidEC2TagCombinationException -// A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but -// only one of these data types can be used in a single call. +// - InvalidEC2TagCombinationException +// A call was submitted that specified both Ec2TagFilters and Ec2TagSet, but +// only one of these data types can be used in a single call. // -// * InvalidOnPremisesTagCombinationException -// A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, -// but only one of these data types can be used in a single call. +// - InvalidOnPremisesTagCombinationException +// A call was submitted that specified both OnPremisesTagFilters and OnPremisesTagSet, +// but only one of these data types can be used in a single call. // -// * TagSetListLimitExceededException -// The number of tag groups included in the tag set list exceeded the maximum -// allowed limit of 3. +// - TagSetListLimitExceededException +// The number of tag groups included in the tag set list exceeded the maximum +// allowed limit of 3. // -// * InvalidInputException -// The input was specified in an invalid format. +// - InvalidInputException +// The input was specified in an invalid format. // -// * ThrottlingException -// An API function was called too frequently. +// - ThrottlingException +// An API function was called too frequently. // -// * InvalidECSServiceException -// The Amazon ECS service identifier is not valid. +// - InvalidECSServiceException +// The Amazon ECS service identifier is not valid. // -// * InvalidTargetGroupPairException -// A target group pair associated with this deployment is not valid. +// - InvalidTargetGroupPairException +// A target group pair associated with this deployment is not valid. // -// * ECSServiceMappingLimitExceededException -// The Amazon ECS service is associated with more than one deployment groups. -// An Amazon ECS service can be associated with only one deployment group. +// - ECSServiceMappingLimitExceededException +// The Amazon ECS service is associated with more than one deployment groups. +// An Amazon ECS service can be associated with only one deployment group. // -// * InvalidTrafficRoutingConfigurationException -// The configuration that specifies how traffic is routed during a deployment -// is invalid. +// - InvalidTrafficRoutingConfigurationException +// The configuration that specifies how traffic is routed during a deployment +// is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/UpdateDeploymentGroup func (c *CodeDeploy) UpdateDeploymentGroup(input *UpdateDeploymentGroupInput) (*UpdateDeploymentGroupOutput, error) { @@ -12790,15 +12779,15 @@ func (s *InstanceTarget) SetTargetId(v string) *InstanceTarget { // The format of the alarm configuration is invalid. Possible causes include: // -// * The alarm list is null. +// - The alarm list is null. // -// * The alarm object is null. +// - The alarm object is null. // -// * The alarm name is empty or null or exceeds the limit of 255 characters. +// - The alarm name is empty or null or exceeds the limit of 255 characters. // -// * Two alarms with the same name have been specified. +// - Two alarms with the same name have been specified. // -// * The alarm configuration is enabled, but the alarm list is empty. +// - The alarm configuration is enabled, but the alarm list is empty. type InvalidAlarmConfigException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -15957,14 +15946,14 @@ func (s *InvalidTargetGroupPairException) RequestID() string { // The target instance configuration is invalid. Possible causes include: // -// * Configuration data for target instances was entered for an in-place -// deployment. +// - Configuration data for target instances was entered for an in-place +// deployment. // -// * The limit of 10 tags for a tag type was exceeded. +// - The limit of 10 tags for a tag type was exceeded. // -// * The combined length of the tag names exceeded the limit. +// - The combined length of the tag names exceeded the limit. // -// * A specified tag is not currently applied to any instances. +// - A specified tag is not currently applied to any instances. type InvalidTargetInstancesException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/codedeployiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/codedeployiface/interface.go index cf2c9177d5a9..c2eea6684cf6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/codedeployiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/codedeployiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS CodeDeploy. -// func myFunc(svc codedeployiface.CodeDeployAPI) bool { -// // Make svc.AddTagsToOnPremisesInstances request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS CodeDeploy. +// func myFunc(svc codedeployiface.CodeDeployAPI) bool { +// // Make svc.AddTagsToOnPremisesInstances request +// } // -// func main() { -// sess := session.New() -// svc := codedeploy.New(sess) +// func main() { +// sess := session.New() +// svc := codedeploy.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCodeDeployClient struct { -// codedeployiface.CodeDeployAPI -// } -// func (m *mockCodeDeployClient) AddTagsToOnPremisesInstances(input *codedeploy.AddTagsToOnPremisesInstancesInput) (*codedeploy.AddTagsToOnPremisesInstancesOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCodeDeployClient struct { +// codedeployiface.CodeDeployAPI +// } +// func (m *mockCodeDeployClient) AddTagsToOnPremisesInstances(input *codedeploy.AddTagsToOnPremisesInstancesInput) (*codedeploy.AddTagsToOnPremisesInstancesOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCodeDeployClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCodeDeployClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/doc.go index ec27e17e6fd7..3d19a4dd7c98 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/doc.go @@ -19,44 +19,44 @@ // of updating your applications, without many of the risks associated with // error-prone manual deployments. // -// AWS CodeDeploy Components +// # AWS CodeDeploy Components // // Use the information in this guide to help you work with the following AWS // CodeDeploy components: // -// * Application: A name that uniquely identifies the application you want -// to deploy. AWS CodeDeploy uses this name, which functions as a container, -// to ensure the correct combination of revision, deployment configuration, -// and deployment group are referenced during a deployment. -// -// * Deployment group: A set of individual instances, CodeDeploy Lambda deployment -// configuration settings, or an Amazon ECS service and network details. -// A Lambda deployment group specifies how to route traffic to a new version -// of a Lambda function. An Amazon ECS deployment group specifies the service -// created in Amazon ECS to deploy, a load balancer, and a listener to reroute -// production traffic to an updated containerized application. An EC2/On-premises -// deployment group contains individually tagged instances, Amazon EC2 instances -// in Amazon EC2 Auto Scaling groups, or both. All deployment groups can -// specify optional trigger, alarm, and rollback settings. -// -// * Deployment configuration: A set of deployment rules and deployment success -// and failure conditions used by AWS CodeDeploy during a deployment. -// -// * Deployment: The process and the components used when updating a Lambda -// function, a containerized application in an Amazon ECS service, or of -// installing content on one or more instances. -// -// * Application revisions: For an AWS Lambda deployment, this is an AppSpec -// file that specifies the Lambda function to be updated and one or more -// functions to validate deployment lifecycle events. For an Amazon ECS deployment, -// this is an AppSpec file that specifies the Amazon ECS task definition, -// container, and port where production traffic is rerouted. For an EC2/On-premises -// deployment, this is an archive file that contains source content—source -// code, webpages, executable files, and deployment scripts—along with -// an AppSpec file. Revisions are stored in Amazon S3 buckets or GitHub repositories. -// For Amazon S3, a revision is uniquely identified by its Amazon S3 object -// key and its ETag, version, or both. For GitHub, a revision is uniquely -// identified by its commit ID. +// - Application: A name that uniquely identifies the application you want +// to deploy. AWS CodeDeploy uses this name, which functions as a container, +// to ensure the correct combination of revision, deployment configuration, +// and deployment group are referenced during a deployment. +// +// - Deployment group: A set of individual instances, CodeDeploy Lambda deployment +// configuration settings, or an Amazon ECS service and network details. +// A Lambda deployment group specifies how to route traffic to a new version +// of a Lambda function. An Amazon ECS deployment group specifies the service +// created in Amazon ECS to deploy, a load balancer, and a listener to reroute +// production traffic to an updated containerized application. An EC2/On-premises +// deployment group contains individually tagged instances, Amazon EC2 instances +// in Amazon EC2 Auto Scaling groups, or both. All deployment groups can +// specify optional trigger, alarm, and rollback settings. +// +// - Deployment configuration: A set of deployment rules and deployment success +// and failure conditions used by AWS CodeDeploy during a deployment. +// +// - Deployment: The process and the components used when updating a Lambda +// function, a containerized application in an Amazon ECS service, or of +// installing content on one or more instances. +// +// - Application revisions: For an AWS Lambda deployment, this is an AppSpec +// file that specifies the Lambda function to be updated and one or more +// functions to validate deployment lifecycle events. For an Amazon ECS deployment, +// this is an AppSpec file that specifies the Amazon ECS task definition, +// container, and port where production traffic is rerouted. For an EC2/On-premises +// deployment, this is an archive file that contains source content—source +// code, webpages, executable files, and deployment scripts—along with +// an AppSpec file. Revisions are stored in Amazon S3 buckets or GitHub repositories. +// For Amazon S3, a revision is uniquely identified by its Amazon S3 object +// key and its ETag, version, or both. For GitHub, a revision is uniquely +// identified by its commit ID. // // This guide also contains information to help you get details about the instances // in your deployments, to make on-premises instances available for AWS CodeDeploy @@ -65,20 +65,20 @@ // // AWS CodeDeploy Information Resources // -// * AWS CodeDeploy User Guide (https://docs.aws.amazon.com/codedeploy/latest/userguide) +// - AWS CodeDeploy User Guide (https://docs.aws.amazon.com/codedeploy/latest/userguide) // -// * AWS CodeDeploy API Reference Guide (https://docs.aws.amazon.com/codedeploy/latest/APIReference/) +// - AWS CodeDeploy API Reference Guide (https://docs.aws.amazon.com/codedeploy/latest/APIReference/) // -// * AWS CLI Reference for AWS CodeDeploy (https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html) +// - AWS CLI Reference for AWS CodeDeploy (https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html) // -// * AWS CodeDeploy Developer Forum (https://forums.aws.amazon.com/forum.jspa?forumID=179) +// - AWS CodeDeploy Developer Forum (https://forums.aws.amazon.com/forum.jspa?forumID=179) // // See https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06 for more information on this service. // // See codedeploy package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/codedeploy/ // -// Using the Client +// # Using the Client // // To contact AWS CodeDeploy with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/service.go index 61ccfe41a506..c3066edf3498 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codedeploy/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CodeDeploy client from just a session. -// svc := codedeploy.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CodeDeploy client with additional configuration -// svc := codedeploy.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CodeDeploy client from just a session. +// svc := codedeploy.New(mySession) +// +// // Create a CodeDeploy client with additional configuration +// svc := codedeploy.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeDeploy { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/api.go index c97c9c59af29..9bb866155412 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/api.go @@ -29,14 +29,13 @@ const opAddNotificationChannels = "AddNotificationChannels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddNotificationChannelsRequest method. +// req, resp := client.AddNotificationChannelsRequest(params) // -// // Example sending a request using the AddNotificationChannelsRequest method. -// req, resp := client.AddNotificationChannelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/AddNotificationChannels func (c *CodeGuruProfiler) AddNotificationChannelsRequest(input *AddNotificationChannelsInput) (req *request.Request, output *AddNotificationChannelsOutput) { @@ -67,27 +66,28 @@ func (c *CodeGuruProfiler) AddNotificationChannelsRequest(input *AddNotification // API operation AddNotificationChannels for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// You have exceeded your service quota. To perform the requested action, remove -// some of the relevant resources, or use Service Quotas (https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html) -// to request a service quota increase. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ServiceQuotaExceededException +// You have exceeded your service quota. To perform the requested action, remove +// some of the relevant resources, or use Service Quotas (https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html) +// to request a service quota increase. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * ValidationException -// The parameter is not valid. +// - ValidationException +// The parameter is not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/AddNotificationChannels func (c *CodeGuruProfiler) AddNotificationChannels(input *AddNotificationChannelsInput) (*AddNotificationChannelsOutput, error) { @@ -127,14 +127,13 @@ const opBatchGetFrameMetricData = "BatchGetFrameMetricData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetFrameMetricDataRequest method. +// req, resp := client.BatchGetFrameMetricDataRequest(params) // -// // Example sending a request using the BatchGetFrameMetricDataRequest method. -// req, resp := client.BatchGetFrameMetricDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/BatchGetFrameMetricData func (c *CodeGuruProfiler) BatchGetFrameMetricDataRequest(input *BatchGetFrameMetricDataInput) (req *request.Request, output *BatchGetFrameMetricDataOutput) { @@ -166,17 +165,18 @@ func (c *CodeGuruProfiler) BatchGetFrameMetricDataRequest(input *BatchGetFrameMe // API operation BatchGetFrameMetricData for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ValidationException +// The parameter is not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/BatchGetFrameMetricData func (c *CodeGuruProfiler) BatchGetFrameMetricData(input *BatchGetFrameMetricDataInput) (*BatchGetFrameMetricDataOutput, error) { @@ -216,14 +216,13 @@ const opConfigureAgent = "ConfigureAgent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfigureAgentRequest method. +// req, resp := client.ConfigureAgentRequest(params) // -// // Example sending a request using the ConfigureAgentRequest method. -// req, resp := client.ConfigureAgentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ConfigureAgent func (c *CodeGuruProfiler) ConfigureAgentRequest(input *ConfigureAgentInput) (req *request.Request, output *ConfigureAgentOutput) { @@ -256,17 +255,18 @@ func (c *CodeGuruProfiler) ConfigureAgentRequest(input *ConfigureAgentInput) (re // API operation ConfigureAgent for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ValidationException +// The parameter is not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ConfigureAgent func (c *CodeGuruProfiler) ConfigureAgent(input *ConfigureAgentInput) (*ConfigureAgentOutput, error) { @@ -306,14 +306,13 @@ const opCreateProfilingGroup = "CreateProfilingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProfilingGroupRequest method. +// req, resp := client.CreateProfilingGroupRequest(params) // -// // Example sending a request using the CreateProfilingGroupRequest method. -// req, resp := client.CreateProfilingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/CreateProfilingGroup func (c *CodeGuruProfiler) CreateProfilingGroupRequest(input *CreateProfilingGroupInput) (req *request.Request, output *CreateProfilingGroupOutput) { @@ -344,24 +343,25 @@ func (c *CodeGuruProfiler) CreateProfilingGroupRequest(input *CreateProfilingGro // API operation CreateProfilingGroup for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// You have exceeded your service quota. To perform the requested action, remove -// some of the relevant resources, or use Service Quotas (https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html) -// to request a service quota increase. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ServiceQuotaExceededException +// You have exceeded your service quota. To perform the requested action, remove +// some of the relevant resources, or use Service Quotas (https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html) +// to request a service quota increase. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The parameter is not valid. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/CreateProfilingGroup func (c *CodeGuruProfiler) CreateProfilingGroup(input *CreateProfilingGroupInput) (*CreateProfilingGroupOutput, error) { @@ -401,14 +401,13 @@ const opDeleteProfilingGroup = "DeleteProfilingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProfilingGroupRequest method. +// req, resp := client.DeleteProfilingGroupRequest(params) // -// // Example sending a request using the DeleteProfilingGroupRequest method. -// req, resp := client.DeleteProfilingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/DeleteProfilingGroup func (c *CodeGuruProfiler) DeleteProfilingGroupRequest(input *DeleteProfilingGroupInput) (req *request.Request, output *DeleteProfilingGroupOutput) { @@ -440,22 +439,23 @@ func (c *CodeGuruProfiler) DeleteProfilingGroupRequest(input *DeleteProfilingGro // API operation DeleteProfilingGroup for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * ValidationException -// The parameter is not valid. +// - ValidationException +// The parameter is not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/DeleteProfilingGroup func (c *CodeGuruProfiler) DeleteProfilingGroup(input *DeleteProfilingGroupInput) (*DeleteProfilingGroupOutput, error) { @@ -495,14 +495,13 @@ const opDescribeProfilingGroup = "DescribeProfilingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProfilingGroupRequest method. +// req, resp := client.DescribeProfilingGroupRequest(params) // -// // Example sending a request using the DescribeProfilingGroupRequest method. -// req, resp := client.DescribeProfilingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/DescribeProfilingGroup func (c *CodeGuruProfiler) DescribeProfilingGroupRequest(input *DescribeProfilingGroupInput) (req *request.Request, output *DescribeProfilingGroupOutput) { @@ -534,17 +533,18 @@ func (c *CodeGuruProfiler) DescribeProfilingGroupRequest(input *DescribeProfilin // API operation DescribeProfilingGroup for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ValidationException +// The parameter is not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/DescribeProfilingGroup func (c *CodeGuruProfiler) DescribeProfilingGroup(input *DescribeProfilingGroupInput) (*DescribeProfilingGroupOutput, error) { @@ -584,14 +584,13 @@ const opGetFindingsReportAccountSummary = "GetFindingsReportAccountSummary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFindingsReportAccountSummaryRequest method. +// req, resp := client.GetFindingsReportAccountSummaryRequest(params) // -// // Example sending a request using the GetFindingsReportAccountSummaryRequest method. -// req, resp := client.GetFindingsReportAccountSummaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetFindingsReportAccountSummary func (c *CodeGuruProfiler) GetFindingsReportAccountSummaryRequest(input *GetFindingsReportAccountSummaryInput) (req *request.Request, output *GetFindingsReportAccountSummaryOutput) { @@ -630,14 +629,15 @@ func (c *CodeGuruProfiler) GetFindingsReportAccountSummaryRequest(input *GetFind // API operation GetFindingsReportAccountSummary for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The parameter is not valid. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetFindingsReportAccountSummary func (c *CodeGuruProfiler) GetFindingsReportAccountSummary(input *GetFindingsReportAccountSummaryInput) (*GetFindingsReportAccountSummaryOutput, error) { @@ -669,15 +669,14 @@ func (c *CodeGuruProfiler) GetFindingsReportAccountSummaryWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetFindingsReportAccountSummary operation. -// pageNum := 0 -// err := client.GetFindingsReportAccountSummaryPages(params, -// func(page *codeguruprofiler.GetFindingsReportAccountSummaryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetFindingsReportAccountSummary operation. +// pageNum := 0 +// err := client.GetFindingsReportAccountSummaryPages(params, +// func(page *codeguruprofiler.GetFindingsReportAccountSummaryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeGuruProfiler) GetFindingsReportAccountSummaryPages(input *GetFindingsReportAccountSummaryInput, fn func(*GetFindingsReportAccountSummaryOutput, bool) bool) error { return c.GetFindingsReportAccountSummaryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -729,14 +728,13 @@ const opGetNotificationConfiguration = "GetNotificationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNotificationConfigurationRequest method. +// req, resp := client.GetNotificationConfigurationRequest(params) // -// // Example sending a request using the GetNotificationConfigurationRequest method. -// req, resp := client.GetNotificationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetNotificationConfiguration func (c *CodeGuruProfiler) GetNotificationConfigurationRequest(input *GetNotificationConfigurationInput) (req *request.Request, output *GetNotificationConfigurationOutput) { @@ -767,17 +765,18 @@ func (c *CodeGuruProfiler) GetNotificationConfigurationRequest(input *GetNotific // API operation GetNotificationConfiguration for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The parameter is not valid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetNotificationConfiguration func (c *CodeGuruProfiler) GetNotificationConfiguration(input *GetNotificationConfigurationInput) (*GetNotificationConfigurationOutput, error) { @@ -817,14 +816,13 @@ const opGetPolicy = "GetPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPolicyRequest method. +// req, resp := client.GetPolicyRequest(params) // -// // Example sending a request using the GetPolicyRequest method. -// req, resp := client.GetPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetPolicy func (c *CodeGuruProfiler) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput) { @@ -855,14 +853,15 @@ func (c *CodeGuruProfiler) GetPolicyRequest(input *GetPolicyInput) (req *request // API operation GetPolicy for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetPolicy func (c *CodeGuruProfiler) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error) { @@ -902,14 +901,13 @@ const opGetProfile = "GetProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetProfileRequest method. +// req, resp := client.GetProfileRequest(params) // -// // Example sending a request using the GetProfileRequest method. -// req, resp := client.GetProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetProfile func (c *CodeGuruProfiler) GetProfileRequest(input *GetProfileInput) (req *request.Request, output *GetProfileOutput) { @@ -934,37 +932,37 @@ func (c *CodeGuruProfiler) GetProfileRequest(input *GetProfileInput) (req *reque // Amazon CodeGuru Profiler collects posted agent profiles for a profiling group // into aggregated profiles. // -//

Because aggregated profiles expire over time GetProfile -// is not idempotent.

Specify the time range for the requested -// aggregated profile using 1 or 2 of the following parameters: startTime, -// endTime, period. The maximum time range allowed -// is 7 days. If you specify all 3 parameters, an exception is thrown. If -// you specify only period, the latest aggregated profile is -// returned.

Aggregated profiles are available with aggregation -// periods of 5 minutes, 1 hour, and 1 day, aligned to UTC. The aggregation -// period of an aggregated profile determines how long it is retained. For -// more information, see -// AggregatedProfileTime . The aggregated profile's aggregation -// period determines how long it is retained by CodeGuru Profiler.

    -//
  • If the aggregation period is 5 minutes, the aggregated profile -// is retained for 15 days.

  • If the aggregation period -// is 1 hour, the aggregated profile is retained for 60 days.

  • -//
  • If the aggregation period is 1 day, the aggregated profile is -// retained for 3 years.

There are two use cases for -// calling GetProfile.

  1. If you want to return -// an aggregated profile that already exists, use -// ListProfileTimes to view the time ranges of existing -// aggregated profiles. Use them in a GetProfile request to -// return a specific, existing aggregated profile.

  2. If -// you want to return an aggregated profile for a time range that doesn't -// align with an existing aggregated profile, then CodeGuru Profiler makes -// a best effort to combine existing aggregated profiles from the requested -// time range and return them as one aggregated profile.

    If aggregated -// profiles do not exist for the full time range requested, then aggregated -// profiles for a smaller time range are returned. For example, if the requested -// time range is from 00:00 to 00:20, and the existing aggregated profiles -// are from 00:15 and 00:25, then the aggregated profiles from 00:15 to 00:20 -// are returned.

+//

Because aggregated profiles expire over time GetProfile +// is not idempotent.

Specify the time range for the requested +// aggregated profile using 1 or 2 of the following parameters: startTime, +// endTime, period. The maximum time range allowed +// is 7 days. If you specify all 3 parameters, an exception is thrown. If +// you specify only period, the latest aggregated profile is +// returned.

Aggregated profiles are available with aggregation +// periods of 5 minutes, 1 hour, and 1 day, aligned to UTC. The aggregation +// period of an aggregated profile determines how long it is retained. For +// more information, see +// AggregatedProfileTime . The aggregated profile's aggregation +// period determines how long it is retained by CodeGuru Profiler.

    +//
  • If the aggregation period is 5 minutes, the aggregated profile +// is retained for 15 days.

  • If the aggregation period +// is 1 hour, the aggregated profile is retained for 60 days.

  • +//
  • If the aggregation period is 1 day, the aggregated profile is +// retained for 3 years.

There are two use cases for +// calling GetProfile.

  1. If you want to return +// an aggregated profile that already exists, use +// ListProfileTimes to view the time ranges of existing +// aggregated profiles. Use them in a GetProfile request to +// return a specific, existing aggregated profile.

  2. If +// you want to return an aggregated profile for a time range that doesn't +// align with an existing aggregated profile, then CodeGuru Profiler makes +// a best effort to combine existing aggregated profiles from the requested +// time range and return them as one aggregated profile.

    If aggregated +// profiles do not exist for the full time range requested, then aggregated +// profiles for a smaller time range are returned. For example, if the requested +// time range is from 00:00 to 00:20, and the existing aggregated profiles +// are from 00:15 and 00:25, then the aggregated profiles from 00:15 to 00:20 +// are returned.

// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -974,17 +972,18 @@ func (c *CodeGuruProfiler) GetProfileRequest(input *GetProfileInput) (req *reque // API operation GetProfile for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ValidationException +// The parameter is not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetProfile func (c *CodeGuruProfiler) GetProfile(input *GetProfileInput) (*GetProfileOutput, error) { @@ -1024,14 +1023,13 @@ const opGetRecommendations = "GetRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRecommendationsRequest method. +// req, resp := client.GetRecommendationsRequest(params) // -// // Example sending a request using the GetRecommendationsRequest method. -// req, resp := client.GetRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetRecommendations func (c *CodeGuruProfiler) GetRecommendationsRequest(input *GetRecommendationsInput) (req *request.Request, output *GetRecommendationsOutput) { @@ -1066,17 +1064,18 @@ func (c *CodeGuruProfiler) GetRecommendationsRequest(input *GetRecommendationsIn // API operation GetRecommendations for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The parameter is not valid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/GetRecommendations func (c *CodeGuruProfiler) GetRecommendations(input *GetRecommendationsInput) (*GetRecommendationsOutput, error) { @@ -1116,14 +1115,13 @@ const opListFindingsReports = "ListFindingsReports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFindingsReportsRequest method. +// req, resp := client.ListFindingsReportsRequest(params) // -// // Example sending a request using the ListFindingsReportsRequest method. -// req, resp := client.ListFindingsReportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListFindingsReports func (c *CodeGuruProfiler) ListFindingsReportsRequest(input *ListFindingsReportsInput) (req *request.Request, output *ListFindingsReportsOutput) { @@ -1160,17 +1158,18 @@ func (c *CodeGuruProfiler) ListFindingsReportsRequest(input *ListFindingsReports // API operation ListFindingsReports for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ValidationException +// The parameter is not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListFindingsReports func (c *CodeGuruProfiler) ListFindingsReports(input *ListFindingsReportsInput) (*ListFindingsReportsOutput, error) { @@ -1202,15 +1201,14 @@ func (c *CodeGuruProfiler) ListFindingsReportsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFindingsReports operation. -// pageNum := 0 -// err := client.ListFindingsReportsPages(params, -// func(page *codeguruprofiler.ListFindingsReportsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFindingsReports operation. +// pageNum := 0 +// err := client.ListFindingsReportsPages(params, +// func(page *codeguruprofiler.ListFindingsReportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeGuruProfiler) ListFindingsReportsPages(input *ListFindingsReportsInput, fn func(*ListFindingsReportsOutput, bool) bool) error { return c.ListFindingsReportsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1262,14 +1260,13 @@ const opListProfileTimes = "ListProfileTimes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProfileTimesRequest method. +// req, resp := client.ListProfileTimesRequest(params) // -// // Example sending a request using the ListProfileTimesRequest method. -// req, resp := client.ListProfileTimesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListProfileTimes func (c *CodeGuruProfiler) ListProfileTimesRequest(input *ListProfileTimesInput) (req *request.Request, output *ListProfileTimesOutput) { @@ -1307,17 +1304,18 @@ func (c *CodeGuruProfiler) ListProfileTimesRequest(input *ListProfileTimesInput) // API operation ListProfileTimes for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The parameter is not valid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListProfileTimes func (c *CodeGuruProfiler) ListProfileTimes(input *ListProfileTimesInput) (*ListProfileTimesOutput, error) { @@ -1349,15 +1347,14 @@ func (c *CodeGuruProfiler) ListProfileTimesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProfileTimes operation. -// pageNum := 0 -// err := client.ListProfileTimesPages(params, -// func(page *codeguruprofiler.ListProfileTimesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProfileTimes operation. +// pageNum := 0 +// err := client.ListProfileTimesPages(params, +// func(page *codeguruprofiler.ListProfileTimesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeGuruProfiler) ListProfileTimesPages(input *ListProfileTimesInput, fn func(*ListProfileTimesOutput, bool) bool) error { return c.ListProfileTimesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1409,14 +1406,13 @@ const opListProfilingGroups = "ListProfilingGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProfilingGroupsRequest method. +// req, resp := client.ListProfilingGroupsRequest(params) // -// // Example sending a request using the ListProfilingGroupsRequest method. -// req, resp := client.ListProfilingGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListProfilingGroups func (c *CodeGuruProfiler) ListProfilingGroupsRequest(input *ListProfilingGroupsInput) (req *request.Request, output *ListProfilingGroupsOutput) { @@ -1455,11 +1451,12 @@ func (c *CodeGuruProfiler) ListProfilingGroupsRequest(input *ListProfilingGroups // API operation ListProfilingGroups for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListProfilingGroups func (c *CodeGuruProfiler) ListProfilingGroups(input *ListProfilingGroupsInput) (*ListProfilingGroupsOutput, error) { @@ -1491,15 +1488,14 @@ func (c *CodeGuruProfiler) ListProfilingGroupsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProfilingGroups operation. -// pageNum := 0 -// err := client.ListProfilingGroupsPages(params, -// func(page *codeguruprofiler.ListProfilingGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProfilingGroups operation. +// pageNum := 0 +// err := client.ListProfilingGroupsPages(params, +// func(page *codeguruprofiler.ListProfilingGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeGuruProfiler) ListProfilingGroupsPages(input *ListProfilingGroupsInput, fn func(*ListProfilingGroupsOutput, bool) bool) error { return c.ListProfilingGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1551,14 +1547,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListTagsForResource func (c *CodeGuruProfiler) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1589,14 +1584,15 @@ func (c *CodeGuruProfiler) ListTagsForResourceRequest(input *ListTagsForResource // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ValidationException +// The parameter is not valid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/ListTagsForResource func (c *CodeGuruProfiler) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1636,14 +1632,13 @@ const opPostAgentProfile = "PostAgentProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PostAgentProfileRequest method. +// req, resp := client.PostAgentProfileRequest(params) // -// // Example sending a request using the PostAgentProfileRequest method. -// req, resp := client.PostAgentProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/PostAgentProfile func (c *CodeGuruProfiler) PostAgentProfileRequest(input *PostAgentProfileInput) (req *request.Request, output *PostAgentProfileOutput) { @@ -1677,17 +1672,18 @@ func (c *CodeGuruProfiler) PostAgentProfileRequest(input *PostAgentProfileInput) // API operation PostAgentProfile for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The parameter is not valid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/PostAgentProfile func (c *CodeGuruProfiler) PostAgentProfile(input *PostAgentProfileInput) (*PostAgentProfileOutput, error) { @@ -1727,14 +1723,13 @@ const opPutPermission = "PutPermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPermissionRequest method. +// req, resp := client.PutPermissionRequest(params) // -// // Example sending a request using the PutPermissionRequest method. -// req, resp := client.PutPermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/PutPermission func (c *CodeGuruProfiler) PutPermissionRequest(input *PutPermissionInput) (req *request.Request, output *PutPermissionOutput) { @@ -1760,18 +1755,18 @@ func (c *CodeGuruProfiler) PutPermissionRequest(input *PutPermissionInput) (req // policy, one is created for it using the permissions in the action group and // the roles and users in the principals parameter. // -//

The one supported action group that can be added is agentPermission -// which grants ConfigureAgent and PostAgent permissions. -// For more information, see Resource-based -// policies in CodeGuru Profiler in the Amazon CodeGuru Profiler User -// Guide, -// ConfigureAgent , and -// PostAgentProfile .

The first time you call PutPermission -// on a profiling group, do not specify a revisionId because -// it doesn't have a resource-based policy. Subsequent calls must provide -// a revisionId to specify which revision of the resource-based -// policy to add the permissions to.

The response contains the profiling -// group's JSON-formatted resource policy.

+//

The one supported action group that can be added is agentPermission +// which grants ConfigureAgent and PostAgent permissions. +// For more information, see Resource-based +// policies in CodeGuru Profiler in the Amazon CodeGuru Profiler User +// Guide, +// ConfigureAgent , and +// PostAgentProfile .

The first time you call PutPermission +// on a profiling group, do not specify a revisionId because +// it doesn't have a resource-based policy. Subsequent calls must provide +// a revisionId to specify which revision of the resource-based +// policy to add the permissions to.

The response contains the profiling +// group's JSON-formatted resource policy.

// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1781,22 +1776,23 @@ func (c *CodeGuruProfiler) PutPermissionRequest(input *PutPermissionInput) (req // API operation PutPermission for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * ValidationException -// The parameter is not valid. +// - ValidationException +// The parameter is not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/PutPermission func (c *CodeGuruProfiler) PutPermission(input *PutPermissionInput) (*PutPermissionOutput, error) { @@ -1836,14 +1832,13 @@ const opRemoveNotificationChannel = "RemoveNotificationChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveNotificationChannelRequest method. +// req, resp := client.RemoveNotificationChannelRequest(params) // -// // Example sending a request using the RemoveNotificationChannelRequest method. -// req, resp := client.RemoveNotificationChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/RemoveNotificationChannel func (c *CodeGuruProfiler) RemoveNotificationChannelRequest(input *RemoveNotificationChannelInput) (req *request.Request, output *RemoveNotificationChannelOutput) { @@ -1874,17 +1869,18 @@ func (c *CodeGuruProfiler) RemoveNotificationChannelRequest(input *RemoveNotific // API operation RemoveNotificationChannel for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ValidationException +// The parameter is not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/RemoveNotificationChannel func (c *CodeGuruProfiler) RemoveNotificationChannel(input *RemoveNotificationChannelInput) (*RemoveNotificationChannelOutput, error) { @@ -1924,14 +1920,13 @@ const opRemovePermission = "RemovePermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemovePermissionRequest method. +// req, resp := client.RemovePermissionRequest(params) // -// // Example sending a request using the RemovePermissionRequest method. -// req, resp := client.RemovePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/RemovePermission func (c *CodeGuruProfiler) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput) { @@ -1967,22 +1962,23 @@ func (c *CodeGuruProfiler) RemovePermissionRequest(input *RemovePermissionInput) // API operation RemovePermission for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The parameter is not valid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/RemovePermission func (c *CodeGuruProfiler) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error) { @@ -2022,14 +2018,13 @@ const opSubmitFeedback = "SubmitFeedback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SubmitFeedbackRequest method. +// req, resp := client.SubmitFeedbackRequest(params) // -// // Example sending a request using the SubmitFeedbackRequest method. -// req, resp := client.SubmitFeedbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/SubmitFeedback func (c *CodeGuruProfiler) SubmitFeedbackRequest(input *SubmitFeedbackInput) (req *request.Request, output *SubmitFeedbackOutput) { @@ -2062,17 +2057,18 @@ func (c *CodeGuruProfiler) SubmitFeedbackRequest(input *SubmitFeedbackInput) (re // API operation SubmitFeedback for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ValidationException +// The parameter is not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/SubmitFeedback func (c *CodeGuruProfiler) SubmitFeedback(input *SubmitFeedbackInput) (*SubmitFeedbackOutput, error) { @@ -2112,14 +2108,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/TagResource func (c *CodeGuruProfiler) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2151,14 +2146,15 @@ func (c *CodeGuruProfiler) TagResourceRequest(input *TagResourceInput) (req *req // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ValidationException +// The parameter is not valid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/TagResource func (c *CodeGuruProfiler) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2198,14 +2194,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/UntagResource func (c *CodeGuruProfiler) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2237,14 +2232,15 @@ func (c *CodeGuruProfiler) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The parameter is not valid. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ValidationException +// The parameter is not valid. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/UntagResource func (c *CodeGuruProfiler) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2284,14 +2280,13 @@ const opUpdateProfilingGroup = "UpdateProfilingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProfilingGroupRequest method. +// req, resp := client.UpdateProfilingGroupRequest(params) // -// // Example sending a request using the UpdateProfilingGroupRequest method. -// req, resp := client.UpdateProfilingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/UpdateProfilingGroup func (c *CodeGuruProfiler) UpdateProfilingGroupRequest(input *UpdateProfilingGroupInput) (req *request.Request, output *UpdateProfilingGroupOutput) { @@ -2322,22 +2317,23 @@ func (c *CodeGuruProfiler) UpdateProfilingGroupRequest(input *UpdateProfilingGro // API operation UpdateProfilingGroup for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * ValidationException -// The parameter is not valid. +// - ValidationException +// The parameter is not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguruprofiler-2019-07-18/UpdateProfilingGroup func (c *CodeGuruProfiler) UpdateProfilingGroup(input *UpdateProfilingGroupInput) (*UpdateProfilingGroupOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/codeguruprofileriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/codeguruprofileriface/interface.go index ef003b7aecc9..994c003c65d6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/codeguruprofileriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/codeguruprofileriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon CodeGuru Profiler. -// func myFunc(svc codeguruprofileriface.CodeGuruProfilerAPI) bool { -// // Make svc.AddNotificationChannels request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon CodeGuru Profiler. +// func myFunc(svc codeguruprofileriface.CodeGuruProfilerAPI) bool { +// // Make svc.AddNotificationChannels request +// } // -// func main() { -// sess := session.New() -// svc := codeguruprofiler.New(sess) +// func main() { +// sess := session.New() +// svc := codeguruprofiler.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCodeGuruProfilerClient struct { -// codeguruprofileriface.CodeGuruProfilerAPI -// } -// func (m *mockCodeGuruProfilerClient) AddNotificationChannels(input *codeguruprofiler.AddNotificationChannelsInput) (*codeguruprofiler.AddNotificationChannelsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCodeGuruProfilerClient struct { +// codeguruprofileriface.CodeGuruProfilerAPI +// } +// func (m *mockCodeGuruProfilerClient) AddNotificationChannels(input *codeguruprofiler.AddNotificationChannelsInput) (*codeguruprofiler.AddNotificationChannelsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCodeGuruProfilerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCodeGuruProfilerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/doc.go index 394b6d19bc65..9fd3860e1e45 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/doc.go @@ -30,7 +30,7 @@ // See codeguruprofiler package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/codeguruprofiler/ // -// Using the Client +// # Using the Client // // To contact Amazon CodeGuru Profiler with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/service.go index 1f57cebe9e8a..c5d62f49ba7e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codeguruprofiler/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CodeGuruProfiler client from just a session. -// svc := codeguruprofiler.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CodeGuruProfiler client with additional configuration -// svc := codeguruprofiler.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CodeGuruProfiler client from just a session. +// svc := codeguruprofiler.New(mySession) +// +// // Create a CodeGuruProfiler client with additional configuration +// svc := codeguruprofiler.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeGuruProfiler { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/api.go index 6fde0ddf5ef9..05b6e9ee33d7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/api.go @@ -29,14 +29,13 @@ const opAssociateRepository = "AssociateRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateRepositoryRequest method. +// req, resp := client.AssociateRepositoryRequest(params) // -// // Example sending a request using the AssociateRepositoryRequest method. -// req, resp := client.AssociateRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/AssociateRepository func (c *CodeGuruReviewer) AssociateRepositoryRequest(input *AssociateRepositoryInput) (req *request.Request, output *AssociateRepositoryOutput) { @@ -88,22 +87,23 @@ func (c *CodeGuruReviewer) AssociateRepositoryRequest(input *AssociateRepository // API operation AssociateRepository for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The input fails to satisfy the specified constraints. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/AssociateRepository func (c *CodeGuruReviewer) AssociateRepository(input *AssociateRepositoryInput) (*AssociateRepositoryOutput, error) { @@ -143,14 +143,13 @@ const opCreateCodeReview = "CreateCodeReview" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCodeReviewRequest method. +// req, resp := client.CreateCodeReviewRequest(params) // -// // Example sending a request using the CreateCodeReviewRequest method. -// req, resp := client.CreateCodeReviewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/CreateCodeReview func (c *CodeGuruReviewer) CreateCodeReviewRequest(input *CreateCodeReviewInput) (req *request.Request, output *CreateCodeReviewOutput) { @@ -184,25 +183,26 @@ func (c *CodeGuruReviewer) CreateCodeReviewRequest(input *CreateCodeReviewInput) // API operation CreateCodeReview for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request was not found. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ResourceNotFoundException +// The resource specified in the request was not found. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The input fails to satisfy the specified constraints. +// - ValidationException +// The input fails to satisfy the specified constraints. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/CreateCodeReview func (c *CodeGuruReviewer) CreateCodeReview(input *CreateCodeReviewInput) (*CreateCodeReviewOutput, error) { @@ -242,14 +242,13 @@ const opDescribeCodeReview = "DescribeCodeReview" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCodeReviewRequest method. +// req, resp := client.DescribeCodeReviewRequest(params) // -// // Example sending a request using the DescribeCodeReviewRequest method. -// req, resp := client.DescribeCodeReviewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeCodeReview func (c *CodeGuruReviewer) DescribeCodeReviewRequest(input *DescribeCodeReviewInput) (req *request.Request, output *DescribeCodeReviewOutput) { @@ -280,20 +279,21 @@ func (c *CodeGuruReviewer) DescribeCodeReviewRequest(input *DescribeCodeReviewIn // API operation DescribeCodeReview for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request was not found. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ResourceNotFoundException +// The resource specified in the request was not found. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The input fails to satisfy the specified constraints. +// - ValidationException +// The input fails to satisfy the specified constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeCodeReview func (c *CodeGuruReviewer) DescribeCodeReview(input *DescribeCodeReviewInput) (*DescribeCodeReviewOutput, error) { @@ -333,14 +333,13 @@ const opDescribeRecommendationFeedback = "DescribeRecommendationFeedback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRecommendationFeedbackRequest method. +// req, resp := client.DescribeRecommendationFeedbackRequest(params) // -// // Example sending a request using the DescribeRecommendationFeedbackRequest method. -// req, resp := client.DescribeRecommendationFeedbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedback func (c *CodeGuruReviewer) DescribeRecommendationFeedbackRequest(input *DescribeRecommendationFeedbackInput) (req *request.Request, output *DescribeRecommendationFeedbackOutput) { @@ -371,20 +370,21 @@ func (c *CodeGuruReviewer) DescribeRecommendationFeedbackRequest(input *Describe // API operation DescribeRecommendationFeedback for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request was not found. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ResourceNotFoundException +// The resource specified in the request was not found. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The input fails to satisfy the specified constraints. +// - ValidationException +// The input fails to satisfy the specified constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRecommendationFeedback func (c *CodeGuruReviewer) DescribeRecommendationFeedback(input *DescribeRecommendationFeedbackInput) (*DescribeRecommendationFeedbackOutput, error) { @@ -424,14 +424,13 @@ const opDescribeRepositoryAssociation = "DescribeRepositoryAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRepositoryAssociationRequest method. +// req, resp := client.DescribeRepositoryAssociationRequest(params) // -// // Example sending a request using the DescribeRepositoryAssociationRequest method. -// req, resp := client.DescribeRepositoryAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation func (c *CodeGuruReviewer) DescribeRepositoryAssociationRequest(input *DescribeRepositoryAssociationInput) (req *request.Request, output *DescribeRepositoryAssociationOutput) { @@ -463,20 +462,21 @@ func (c *CodeGuruReviewer) DescribeRepositoryAssociationRequest(input *DescribeR // API operation DescribeRepositoryAssociation for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - NotFoundException +// The resource specified in the request was not found. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The input fails to satisfy the specified constraints. +// - ValidationException +// The input fails to satisfy the specified constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DescribeRepositoryAssociation func (c *CodeGuruReviewer) DescribeRepositoryAssociation(input *DescribeRepositoryAssociationInput) (*DescribeRepositoryAssociationOutput, error) { @@ -516,14 +516,13 @@ const opDisassociateRepository = "DisassociateRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateRepositoryRequest method. +// req, resp := client.DisassociateRepositoryRequest(params) // -// // Example sending a request using the DisassociateRepositoryRequest method. -// req, resp := client.DisassociateRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DisassociateRepository func (c *CodeGuruReviewer) DisassociateRepositoryRequest(input *DisassociateRepositoryInput) (req *request.Request, output *DisassociateRepositoryOutput) { @@ -554,25 +553,26 @@ func (c *CodeGuruReviewer) DisassociateRepositoryRequest(input *DisassociateRepo // API operation DisassociateRepository for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - NotFoundException +// The resource specified in the request was not found. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The input fails to satisfy the specified constraints. +// - ValidationException +// The input fails to satisfy the specified constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/DisassociateRepository func (c *CodeGuruReviewer) DisassociateRepository(input *DisassociateRepositoryInput) (*DisassociateRepositoryOutput, error) { @@ -612,14 +612,13 @@ const opListCodeReviews = "ListCodeReviews" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCodeReviewsRequest method. +// req, resp := client.ListCodeReviewsRequest(params) // -// // Example sending a request using the ListCodeReviewsRequest method. -// req, resp := client.ListCodeReviewsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListCodeReviews func (c *CodeGuruReviewer) ListCodeReviewsRequest(input *ListCodeReviewsInput) (req *request.Request, output *ListCodeReviewsOutput) { @@ -656,17 +655,18 @@ func (c *CodeGuruReviewer) ListCodeReviewsRequest(input *ListCodeReviewsInput) ( // API operation ListCodeReviews for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The input fails to satisfy the specified constraints. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListCodeReviews func (c *CodeGuruReviewer) ListCodeReviews(input *ListCodeReviewsInput) (*ListCodeReviewsOutput, error) { @@ -698,15 +698,14 @@ func (c *CodeGuruReviewer) ListCodeReviewsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCodeReviews operation. -// pageNum := 0 -// err := client.ListCodeReviewsPages(params, -// func(page *codegurureviewer.ListCodeReviewsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCodeReviews operation. +// pageNum := 0 +// err := client.ListCodeReviewsPages(params, +// func(page *codegurureviewer.ListCodeReviewsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeGuruReviewer) ListCodeReviewsPages(input *ListCodeReviewsInput, fn func(*ListCodeReviewsOutput, bool) bool) error { return c.ListCodeReviewsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -758,14 +757,13 @@ const opListRecommendationFeedback = "ListRecommendationFeedback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRecommendationFeedbackRequest method. +// req, resp := client.ListRecommendationFeedbackRequest(params) // -// // Example sending a request using the ListRecommendationFeedbackRequest method. -// req, resp := client.ListRecommendationFeedbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRecommendationFeedback func (c *CodeGuruReviewer) ListRecommendationFeedbackRequest(input *ListRecommendationFeedbackInput) (req *request.Request, output *ListRecommendationFeedbackOutput) { @@ -804,20 +802,21 @@ func (c *CodeGuruReviewer) ListRecommendationFeedbackRequest(input *ListRecommen // API operation ListRecommendationFeedback for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request was not found. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ResourceNotFoundException +// The resource specified in the request was not found. // -// * ValidationException -// The input fails to satisfy the specified constraints. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the specified constraints. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRecommendationFeedback func (c *CodeGuruReviewer) ListRecommendationFeedback(input *ListRecommendationFeedbackInput) (*ListRecommendationFeedbackOutput, error) { @@ -849,15 +848,14 @@ func (c *CodeGuruReviewer) ListRecommendationFeedbackWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRecommendationFeedback operation. -// pageNum := 0 -// err := client.ListRecommendationFeedbackPages(params, -// func(page *codegurureviewer.ListRecommendationFeedbackOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRecommendationFeedback operation. +// pageNum := 0 +// err := client.ListRecommendationFeedbackPages(params, +// func(page *codegurureviewer.ListRecommendationFeedbackOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeGuruReviewer) ListRecommendationFeedbackPages(input *ListRecommendationFeedbackInput, fn func(*ListRecommendationFeedbackOutput, bool) bool) error { return c.ListRecommendationFeedbackPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -909,14 +907,13 @@ const opListRecommendations = "ListRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRecommendationsRequest method. +// req, resp := client.ListRecommendationsRequest(params) // -// // Example sending a request using the ListRecommendationsRequest method. -// req, resp := client.ListRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRecommendations func (c *CodeGuruReviewer) ListRecommendationsRequest(input *ListRecommendationsInput) (req *request.Request, output *ListRecommendationsOutput) { @@ -953,20 +950,21 @@ func (c *CodeGuruReviewer) ListRecommendationsRequest(input *ListRecommendations // API operation ListRecommendations for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request was not found. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ResourceNotFoundException +// The resource specified in the request was not found. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The input fails to satisfy the specified constraints. +// - ValidationException +// The input fails to satisfy the specified constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRecommendations func (c *CodeGuruReviewer) ListRecommendations(input *ListRecommendationsInput) (*ListRecommendationsOutput, error) { @@ -998,15 +996,14 @@ func (c *CodeGuruReviewer) ListRecommendationsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRecommendations operation. -// pageNum := 0 -// err := client.ListRecommendationsPages(params, -// func(page *codegurureviewer.ListRecommendationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRecommendations operation. +// pageNum := 0 +// err := client.ListRecommendationsPages(params, +// func(page *codegurureviewer.ListRecommendationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeGuruReviewer) ListRecommendationsPages(input *ListRecommendationsInput, fn func(*ListRecommendationsOutput, bool) bool) error { return c.ListRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1058,14 +1055,13 @@ const opListRepositoryAssociations = "ListRepositoryAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRepositoryAssociationsRequest method. +// req, resp := client.ListRepositoryAssociationsRequest(params) // -// // Example sending a request using the ListRepositoryAssociationsRequest method. -// req, resp := client.ListRepositoryAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRepositoryAssociations func (c *CodeGuruReviewer) ListRepositoryAssociationsRequest(input *ListRepositoryAssociationsInput) (req *request.Request, output *ListRepositoryAssociationsOutput) { @@ -1107,14 +1103,15 @@ func (c *CodeGuruReviewer) ListRepositoryAssociationsRequest(input *ListReposito // API operation ListRepositoryAssociations for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The input fails to satisfy the specified constraints. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The input fails to satisfy the specified constraints. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListRepositoryAssociations func (c *CodeGuruReviewer) ListRepositoryAssociations(input *ListRepositoryAssociationsInput) (*ListRepositoryAssociationsOutput, error) { @@ -1146,15 +1143,14 @@ func (c *CodeGuruReviewer) ListRepositoryAssociationsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRepositoryAssociations operation. -// pageNum := 0 -// err := client.ListRepositoryAssociationsPages(params, -// func(page *codegurureviewer.ListRepositoryAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRepositoryAssociations operation. +// pageNum := 0 +// err := client.ListRepositoryAssociationsPages(params, +// func(page *codegurureviewer.ListRepositoryAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeGuruReviewer) ListRepositoryAssociationsPages(input *ListRepositoryAssociationsInput, fn func(*ListRepositoryAssociationsOutput, bool) bool) error { return c.ListRepositoryAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1206,14 +1202,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListTagsForResource func (c *CodeGuruReviewer) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1244,14 +1239,15 @@ func (c *CodeGuruReviewer) ListTagsForResourceRequest(input *ListTagsForResource // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The input fails to satisfy the specified constraints. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. // -// * ResourceNotFoundException -// The resource specified in the request was not found. +// - ResourceNotFoundException +// The resource specified in the request was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/ListTagsForResource func (c *CodeGuruReviewer) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1291,14 +1287,13 @@ const opPutRecommendationFeedback = "PutRecommendationFeedback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRecommendationFeedbackRequest method. +// req, resp := client.PutRecommendationFeedbackRequest(params) // -// // Example sending a request using the PutRecommendationFeedbackRequest method. -// req, resp := client.PutRecommendationFeedbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/PutRecommendationFeedback func (c *CodeGuruReviewer) PutRecommendationFeedbackRequest(input *PutRecommendationFeedbackInput) (req *request.Request, output *PutRecommendationFeedbackOutput) { @@ -1331,20 +1326,21 @@ func (c *CodeGuruReviewer) PutRecommendationFeedbackRequest(input *PutRecommenda // API operation PutRecommendationFeedback for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request was not found. // -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. +// - ResourceNotFoundException +// The resource specified in the request was not found. +// +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The input fails to satisfy the specified constraints. +// - ValidationException +// The input fails to satisfy the specified constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/PutRecommendationFeedback func (c *CodeGuruReviewer) PutRecommendationFeedback(input *PutRecommendationFeedbackInput) (*PutRecommendationFeedbackOutput, error) { @@ -1384,14 +1380,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/TagResource func (c *CodeGuruReviewer) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1423,14 +1418,15 @@ func (c *CodeGuruReviewer) TagResourceRequest(input *TagResourceInput) (req *req // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The input fails to satisfy the specified constraints. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. // -// * ResourceNotFoundException -// The resource specified in the request was not found. +// - ResourceNotFoundException +// The resource specified in the request was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/TagResource func (c *CodeGuruReviewer) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1470,14 +1466,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/UntagResource func (c *CodeGuruReviewer) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1509,14 +1504,15 @@ func (c *CodeGuruReviewer) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The server encountered an internal error and is unable to complete the request. // -// * ValidationException -// The input fails to satisfy the specified constraints. +// - InternalServerException +// The server encountered an internal error and is unable to complete the request. +// +// - ValidationException +// The input fails to satisfy the specified constraints. // -// * ResourceNotFoundException -// The resource specified in the request was not found. +// - ResourceNotFoundException +// The resource specified in the request was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codeguru-reviewer-2019-09-19/UntagResource func (c *CodeGuruReviewer) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1829,11 +1825,11 @@ func (s *BranchDiffSourceCodeType) SetSourceBranchName(v string) *BranchDiffSour // Code artifacts are source code artifacts and build artifacts used in a repository // analysis or a pull request review. // -// * Source code artifacts are source code files in a Git repository that -// are compressed into a .zip file. +// - Source code artifacts are source code files in a Git repository that +// are compressed into a .zip file. // -// * Build artifacts are .jar or .class files that are compressed in a .zip -// file. +// - Build artifacts are .jar or .class files that are compressed in a .zip +// file. type CodeArtifacts struct { _ struct{} `type:"structure"` @@ -2290,12 +2286,12 @@ func (s *CodeReviewSummary) SetType(v string) *CodeReviewSummary { // The type of a code review. There are two code review types: // -// * PullRequest - A code review that is automatically triggered by a pull -// request on an associated repository. +// - PullRequest - A code review that is automatically triggered by a pull +// request on an associated repository. // -// * RepositoryAnalysis - A code review that analyzes all code under a specified -// branch in an associated repository. The associated repository is specified -// using its ARN in CreateCodeReview (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CreateCodeReview). +// - RepositoryAnalysis - A code review that analyzes all code under a specified +// branch in an associated repository. The associated repository is specified +// using its ARN in CreateCodeReview (https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_CreateCodeReview). type CodeReviewType struct { _ struct{} `type:"structure"` @@ -3155,12 +3151,12 @@ func (s *InternalServerException) RequestID() string { // An object that contains: // -// * The encryption option for a repository association. It is either owned -// by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or -// customer managed (CUSTOMER_MANAGED_CMK). +// - The encryption option for a repository association. It is either owned +// by Amazon Web Services Key Management Service (KMS) (AWS_OWNED_CMK) or +// customer managed (CUSTOMER_MANAGED_CMK). // -// * The ID of the Amazon Web Services KMS key that is associated with a -// respository association. +// - The ID of the Amazon Web Services KMS key that is associated with a +// respository association. type KMSKeyDetails struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/codegururevieweriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/codegururevieweriface/interface.go index 7e9bfa42c7f3..2d97358df44d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/codegururevieweriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/codegururevieweriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon CodeGuru Reviewer. -// func myFunc(svc codegururevieweriface.CodeGuruReviewerAPI) bool { -// // Make svc.AssociateRepository request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon CodeGuru Reviewer. +// func myFunc(svc codegururevieweriface.CodeGuruReviewerAPI) bool { +// // Make svc.AssociateRepository request +// } // -// func main() { -// sess := session.New() -// svc := codegurureviewer.New(sess) +// func main() { +// sess := session.New() +// svc := codegurureviewer.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCodeGuruReviewerClient struct { -// codegururevieweriface.CodeGuruReviewerAPI -// } -// func (m *mockCodeGuruReviewerClient) AssociateRepository(input *codegurureviewer.AssociateRepositoryInput) (*codegurureviewer.AssociateRepositoryOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCodeGuruReviewerClient struct { +// codegururevieweriface.CodeGuruReviewerAPI +// } +// func (m *mockCodeGuruReviewerClient) AssociateRepository(input *codegurureviewer.AssociateRepositoryInput) (*codegurureviewer.AssociateRepositoryOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCodeGuruReviewerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCodeGuruReviewerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/doc.go index c637ceb5ebfc..5e29f74c43ed 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/doc.go @@ -25,7 +25,7 @@ // See codegurureviewer package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/codegurureviewer/ // -// Using the Client +// # Using the Client // // To contact Amazon CodeGuru Reviewer with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/service.go index e89ee79fb36d..7e65d1745dbb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codegurureviewer/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CodeGuruReviewer client from just a session. -// svc := codegurureviewer.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CodeGuruReviewer client with additional configuration -// svc := codegurureviewer.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CodeGuruReviewer client from just a session. +// svc := codegurureviewer.New(mySession) +// +// // Create a CodeGuruReviewer client with additional configuration +// svc := codegurureviewer.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeGuruReviewer { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/api.go index 717a6736714c..4d0f94118ce1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/api.go @@ -29,14 +29,13 @@ const opAcknowledgeJob = "AcknowledgeJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcknowledgeJobRequest method. +// req, resp := client.AcknowledgeJobRequest(params) // -// // Example sending a request using the AcknowledgeJobRequest method. -// req, resp := client.AcknowledgeJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJob func (c *CodePipeline) AcknowledgeJobRequest(input *AcknowledgeJobInput) (req *request.Request, output *AcknowledgeJobOutput) { @@ -68,14 +67,15 @@ func (c *CodePipeline) AcknowledgeJobRequest(input *AcknowledgeJobInput) (req *r // API operation AcknowledgeJob for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * InvalidNonceException -// The nonce was specified in an invalid format. +// - ValidationException +// The validation was specified in an invalid format. +// +// - InvalidNonceException +// The nonce was specified in an invalid format. // -// * JobNotFoundException -// The job was specified in an invalid format or cannot be found. +// - JobNotFoundException +// The job was specified in an invalid format or cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeJob func (c *CodePipeline) AcknowledgeJob(input *AcknowledgeJobInput) (*AcknowledgeJobOutput, error) { @@ -115,14 +115,13 @@ const opAcknowledgeThirdPartyJob = "AcknowledgeThirdPartyJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcknowledgeThirdPartyJobRequest method. +// req, resp := client.AcknowledgeThirdPartyJobRequest(params) // -// // Example sending a request using the AcknowledgeThirdPartyJobRequest method. -// req, resp := client.AcknowledgeThirdPartyJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJob func (c *CodePipeline) AcknowledgeThirdPartyJobRequest(input *AcknowledgeThirdPartyJobInput) (req *request.Request, output *AcknowledgeThirdPartyJobOutput) { @@ -154,17 +153,18 @@ func (c *CodePipeline) AcknowledgeThirdPartyJobRequest(input *AcknowledgeThirdPa // API operation AcknowledgeThirdPartyJob for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * InvalidNonceException -// The nonce was specified in an invalid format. +// - ValidationException +// The validation was specified in an invalid format. // -// * JobNotFoundException -// The job was specified in an invalid format or cannot be found. +// - InvalidNonceException +// The nonce was specified in an invalid format. // -// * InvalidClientTokenException -// The client token was specified in an invalid format +// - JobNotFoundException +// The job was specified in an invalid format or cannot be found. +// +// - InvalidClientTokenException +// The client token was specified in an invalid format // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/AcknowledgeThirdPartyJob func (c *CodePipeline) AcknowledgeThirdPartyJob(input *AcknowledgeThirdPartyJobInput) (*AcknowledgeThirdPartyJobOutput, error) { @@ -204,14 +204,13 @@ const opCreateCustomActionType = "CreateCustomActionType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCustomActionTypeRequest method. +// req, resp := client.CreateCustomActionTypeRequest(params) // -// // Example sending a request using the CreateCustomActionTypeRequest method. -// req, resp := client.CreateCustomActionTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionType func (c *CodePipeline) CreateCustomActionTypeRequest(input *CreateCustomActionTypeInput) (req *request.Request, output *CreateCustomActionTypeOutput) { @@ -243,21 +242,22 @@ func (c *CodePipeline) CreateCustomActionTypeRequest(input *CreateCustomActionTy // API operation CreateCustomActionType for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * LimitExceededException -// The number of pipelines associated with the AWS account has exceeded the -// limit allowed for the account. +// - ValidationException +// The validation was specified in an invalid format. +// +// - LimitExceededException +// The number of pipelines associated with the AWS account has exceeded the +// limit allowed for the account. // -// * TooManyTagsException -// The tags limit for a resource has been exceeded. +// - TooManyTagsException +// The tags limit for a resource has been exceeded. // -// * InvalidTagsException -// The specified resource tags are invalid. +// - InvalidTagsException +// The specified resource tags are invalid. // -// * ConcurrentModificationException -// Unable to modify the tag due to a simultaneous update request. +// - ConcurrentModificationException +// Unable to modify the tag due to a simultaneous update request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreateCustomActionType func (c *CodePipeline) CreateCustomActionType(input *CreateCustomActionTypeInput) (*CreateCustomActionTypeOutput, error) { @@ -297,14 +297,13 @@ const opCreatePipeline = "CreatePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePipelineRequest method. +// req, resp := client.CreatePipelineRequest(params) // -// // Example sending a request using the CreatePipelineRequest method. -// req, resp := client.CreatePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipeline func (c *CodePipeline) CreatePipelineRequest(input *CreatePipelineInput) (req *request.Request, output *CreatePipelineOutput) { @@ -339,36 +338,37 @@ func (c *CodePipeline) CreatePipelineRequest(input *CreatePipelineInput) (req *r // API operation CreatePipeline for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * PipelineNameInUseException -// The specified pipeline name is already in use. +// - ValidationException +// The validation was specified in an invalid format. +// +// - PipelineNameInUseException +// The specified pipeline name is already in use. // -// * InvalidStageDeclarationException -// The stage declaration was specified in an invalid format. +// - InvalidStageDeclarationException +// The stage declaration was specified in an invalid format. // -// * InvalidActionDeclarationException -// The action declaration was specified in an invalid format. +// - InvalidActionDeclarationException +// The action declaration was specified in an invalid format. // -// * InvalidBlockerDeclarationException -// Reserved for future use. +// - InvalidBlockerDeclarationException +// Reserved for future use. // -// * InvalidStructureException -// The structure was specified in an invalid format. +// - InvalidStructureException +// The structure was specified in an invalid format. // -// * LimitExceededException -// The number of pipelines associated with the AWS account has exceeded the -// limit allowed for the account. +// - LimitExceededException +// The number of pipelines associated with the AWS account has exceeded the +// limit allowed for the account. // -// * TooManyTagsException -// The tags limit for a resource has been exceeded. +// - TooManyTagsException +// The tags limit for a resource has been exceeded. // -// * InvalidTagsException -// The specified resource tags are invalid. +// - InvalidTagsException +// The specified resource tags are invalid. // -// * ConcurrentModificationException -// Unable to modify the tag due to a simultaneous update request. +// - ConcurrentModificationException +// Unable to modify the tag due to a simultaneous update request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/CreatePipeline func (c *CodePipeline) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error) { @@ -408,14 +408,13 @@ const opDeleteCustomActionType = "DeleteCustomActionType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomActionTypeRequest method. +// req, resp := client.DeleteCustomActionTypeRequest(params) // -// // Example sending a request using the DeleteCustomActionTypeRequest method. -// req, resp := client.DeleteCustomActionTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionType func (c *CodePipeline) DeleteCustomActionTypeRequest(input *DeleteCustomActionTypeInput) (req *request.Request, output *DeleteCustomActionTypeOutput) { @@ -454,11 +453,12 @@ func (c *CodePipeline) DeleteCustomActionTypeRequest(input *DeleteCustomActionTy // API operation DeleteCustomActionType for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * ConcurrentModificationException -// Unable to modify the tag due to a simultaneous update request. +// - ValidationException +// The validation was specified in an invalid format. +// +// - ConcurrentModificationException +// Unable to modify the tag due to a simultaneous update request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteCustomActionType func (c *CodePipeline) DeleteCustomActionType(input *DeleteCustomActionTypeInput) (*DeleteCustomActionTypeOutput, error) { @@ -498,14 +498,13 @@ const opDeletePipeline = "DeletePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePipelineRequest method. +// req, resp := client.DeletePipelineRequest(params) // -// // Example sending a request using the DeletePipelineRequest method. -// req, resp := client.DeletePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipeline func (c *CodePipeline) DeletePipelineRequest(input *DeletePipelineInput) (req *request.Request, output *DeletePipelineOutput) { @@ -537,11 +536,12 @@ func (c *CodePipeline) DeletePipelineRequest(input *DeletePipelineInput) (req *r // API operation DeletePipeline for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * ConcurrentModificationException -// Unable to modify the tag due to a simultaneous update request. +// - ValidationException +// The validation was specified in an invalid format. +// +// - ConcurrentModificationException +// Unable to modify the tag due to a simultaneous update request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeletePipeline func (c *CodePipeline) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error) { @@ -581,14 +581,13 @@ const opDeleteWebhook = "DeleteWebhook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWebhookRequest method. +// req, resp := client.DeleteWebhookRequest(params) // -// // Example sending a request using the DeleteWebhookRequest method. -// req, resp := client.DeleteWebhookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteWebhook func (c *CodePipeline) DeleteWebhookRequest(input *DeleteWebhookInput) (req *request.Request, output *DeleteWebhookOutput) { @@ -624,11 +623,12 @@ func (c *CodePipeline) DeleteWebhookRequest(input *DeleteWebhookInput) (req *req // API operation DeleteWebhook for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * ConcurrentModificationException -// Unable to modify the tag due to a simultaneous update request. +// - ValidationException +// The validation was specified in an invalid format. +// +// - ConcurrentModificationException +// Unable to modify the tag due to a simultaneous update request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeleteWebhook func (c *CodePipeline) DeleteWebhook(input *DeleteWebhookInput) (*DeleteWebhookOutput, error) { @@ -668,14 +668,13 @@ const opDeregisterWebhookWithThirdParty = "DeregisterWebhookWithThirdParty" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterWebhookWithThirdPartyRequest method. +// req, resp := client.DeregisterWebhookWithThirdPartyRequest(params) // -// // Example sending a request using the DeregisterWebhookWithThirdPartyRequest method. -// req, resp := client.DeregisterWebhookWithThirdPartyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeregisterWebhookWithThirdParty func (c *CodePipeline) DeregisterWebhookWithThirdPartyRequest(input *DeregisterWebhookWithThirdPartyInput) (req *request.Request, output *DeregisterWebhookWithThirdPartyOutput) { @@ -709,11 +708,12 @@ func (c *CodePipeline) DeregisterWebhookWithThirdPartyRequest(input *DeregisterW // API operation DeregisterWebhookWithThirdParty for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * WebhookNotFoundException -// The specified webhook was entered in an invalid format or cannot be found. +// - ValidationException +// The validation was specified in an invalid format. +// +// - WebhookNotFoundException +// The specified webhook was entered in an invalid format or cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DeregisterWebhookWithThirdParty func (c *CodePipeline) DeregisterWebhookWithThirdParty(input *DeregisterWebhookWithThirdPartyInput) (*DeregisterWebhookWithThirdPartyOutput, error) { @@ -753,14 +753,13 @@ const opDisableStageTransition = "DisableStageTransition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableStageTransitionRequest method. +// req, resp := client.DisableStageTransitionRequest(params) // -// // Example sending a request using the DisableStageTransitionRequest method. -// req, resp := client.DisableStageTransitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransition func (c *CodePipeline) DisableStageTransitionRequest(input *DisableStageTransitionInput) (req *request.Request, output *DisableStageTransitionOutput) { @@ -793,14 +792,15 @@ func (c *CodePipeline) DisableStageTransitionRequest(input *DisableStageTransiti // API operation DisableStageTransition for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * PipelineNotFoundException -// The pipeline was specified in an invalid format or cannot be found. +// - ValidationException +// The validation was specified in an invalid format. +// +// - PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. // -// * StageNotFoundException -// The stage was specified in an invalid format or cannot be found. +// - StageNotFoundException +// The stage was specified in an invalid format or cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/DisableStageTransition func (c *CodePipeline) DisableStageTransition(input *DisableStageTransitionInput) (*DisableStageTransitionOutput, error) { @@ -840,14 +840,13 @@ const opEnableStageTransition = "EnableStageTransition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableStageTransitionRequest method. +// req, resp := client.EnableStageTransitionRequest(params) // -// // Example sending a request using the EnableStageTransitionRequest method. -// req, resp := client.EnableStageTransitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransition func (c *CodePipeline) EnableStageTransitionRequest(input *EnableStageTransitionInput) (req *request.Request, output *EnableStageTransitionOutput) { @@ -879,14 +878,15 @@ func (c *CodePipeline) EnableStageTransitionRequest(input *EnableStageTransition // API operation EnableStageTransition for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * PipelineNotFoundException -// The pipeline was specified in an invalid format or cannot be found. +// - ValidationException +// The validation was specified in an invalid format. // -// * StageNotFoundException -// The stage was specified in an invalid format or cannot be found. +// - PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. +// +// - StageNotFoundException +// The stage was specified in an invalid format or cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/EnableStageTransition func (c *CodePipeline) EnableStageTransition(input *EnableStageTransitionInput) (*EnableStageTransitionOutput, error) { @@ -926,14 +926,13 @@ const opGetActionType = "GetActionType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetActionTypeRequest method. +// req, resp := client.GetActionTypeRequest(params) // -// // Example sending a request using the GetActionTypeRequest method. -// req, resp := client.GetActionTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetActionType func (c *CodePipeline) GetActionTypeRequest(input *GetActionTypeInput) (req *request.Request, output *GetActionTypeOutput) { @@ -966,11 +965,12 @@ func (c *CodePipeline) GetActionTypeRequest(input *GetActionTypeInput) (req *req // API operation GetActionType for usage and error information. // // Returned Error Types: -// * ActionTypeNotFoundException -// The specified action type cannot be found. // -// * ValidationException -// The validation was specified in an invalid format. +// - ActionTypeNotFoundException +// The specified action type cannot be found. +// +// - ValidationException +// The validation was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetActionType func (c *CodePipeline) GetActionType(input *GetActionTypeInput) (*GetActionTypeOutput, error) { @@ -1010,14 +1010,13 @@ const opGetJobDetails = "GetJobDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobDetailsRequest method. +// req, resp := client.GetJobDetailsRequest(params) // -// // Example sending a request using the GetJobDetailsRequest method. -// req, resp := client.GetJobDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetails func (c *CodePipeline) GetJobDetailsRequest(input *GetJobDetailsInput) (req *request.Request, output *GetJobDetailsOutput) { @@ -1053,11 +1052,12 @@ func (c *CodePipeline) GetJobDetailsRequest(input *GetJobDetailsInput) (req *req // API operation GetJobDetails for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * JobNotFoundException -// The job was specified in an invalid format or cannot be found. +// - ValidationException +// The validation was specified in an invalid format. +// +// - JobNotFoundException +// The job was specified in an invalid format or cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetJobDetails func (c *CodePipeline) GetJobDetails(input *GetJobDetailsInput) (*GetJobDetailsOutput, error) { @@ -1097,14 +1097,13 @@ const opGetPipeline = "GetPipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPipelineRequest method. +// req, resp := client.GetPipelineRequest(params) // -// // Example sending a request using the GetPipelineRequest method. -// req, resp := client.GetPipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipeline func (c *CodePipeline) GetPipelineRequest(input *GetPipelineInput) (req *request.Request, output *GetPipelineOutput) { @@ -1137,14 +1136,15 @@ func (c *CodePipeline) GetPipelineRequest(input *GetPipelineInput) (req *request // API operation GetPipeline for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * PipelineNotFoundException -// The pipeline was specified in an invalid format or cannot be found. +// - ValidationException +// The validation was specified in an invalid format. +// +// - PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. // -// * PipelineVersionNotFoundException -// The pipeline version was specified in an invalid format or cannot be found. +// - PipelineVersionNotFoundException +// The pipeline version was specified in an invalid format or cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipeline func (c *CodePipeline) GetPipeline(input *GetPipelineInput) (*GetPipelineOutput, error) { @@ -1184,14 +1184,13 @@ const opGetPipelineExecution = "GetPipelineExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPipelineExecutionRequest method. +// req, resp := client.GetPipelineExecutionRequest(params) // -// // Example sending a request using the GetPipelineExecutionRequest method. -// req, resp := client.GetPipelineExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecution func (c *CodePipeline) GetPipelineExecutionRequest(input *GetPipelineExecutionInput) (req *request.Request, output *GetPipelineExecutionOutput) { @@ -1224,15 +1223,16 @@ func (c *CodePipeline) GetPipelineExecutionRequest(input *GetPipelineExecutionIn // API operation GetPipelineExecution for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * PipelineNotFoundException -// The pipeline was specified in an invalid format or cannot be found. +// - ValidationException +// The validation was specified in an invalid format. // -// * PipelineExecutionNotFoundException -// The pipeline execution was specified in an invalid format or cannot be found, -// or an execution ID does not belong to the specified pipeline. +// - PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. +// +// - PipelineExecutionNotFoundException +// The pipeline execution was specified in an invalid format or cannot be found, +// or an execution ID does not belong to the specified pipeline. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineExecution func (c *CodePipeline) GetPipelineExecution(input *GetPipelineExecutionInput) (*GetPipelineExecutionOutput, error) { @@ -1272,14 +1272,13 @@ const opGetPipelineState = "GetPipelineState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPipelineStateRequest method. +// req, resp := client.GetPipelineStateRequest(params) // -// // Example sending a request using the GetPipelineStateRequest method. -// req, resp := client.GetPipelineStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineState func (c *CodePipeline) GetPipelineStateRequest(input *GetPipelineStateInput) (req *request.Request, output *GetPipelineStateOutput) { @@ -1314,11 +1313,12 @@ func (c *CodePipeline) GetPipelineStateRequest(input *GetPipelineStateInput) (re // API operation GetPipelineState for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * PipelineNotFoundException -// The pipeline was specified in an invalid format or cannot be found. +// - ValidationException +// The validation was specified in an invalid format. +// +// - PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetPipelineState func (c *CodePipeline) GetPipelineState(input *GetPipelineStateInput) (*GetPipelineStateOutput, error) { @@ -1358,14 +1358,13 @@ const opGetThirdPartyJobDetails = "GetThirdPartyJobDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetThirdPartyJobDetailsRequest method. +// req, resp := client.GetThirdPartyJobDetailsRequest(params) // -// // Example sending a request using the GetThirdPartyJobDetailsRequest method. -// req, resp := client.GetThirdPartyJobDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetails func (c *CodePipeline) GetThirdPartyJobDetailsRequest(input *GetThirdPartyJobDetailsInput) (req *request.Request, output *GetThirdPartyJobDetailsOutput) { @@ -1402,17 +1401,18 @@ func (c *CodePipeline) GetThirdPartyJobDetailsRequest(input *GetThirdPartyJobDet // API operation GetThirdPartyJobDetails for usage and error information. // // Returned Error Types: -// * JobNotFoundException -// The job was specified in an invalid format or cannot be found. // -// * ValidationException -// The validation was specified in an invalid format. +// - JobNotFoundException +// The job was specified in an invalid format or cannot be found. +// +// - ValidationException +// The validation was specified in an invalid format. // -// * InvalidClientTokenException -// The client token was specified in an invalid format +// - InvalidClientTokenException +// The client token was specified in an invalid format // -// * InvalidJobException -// The job was specified in an invalid format or cannot be found. +// - InvalidJobException +// The job was specified in an invalid format or cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/GetThirdPartyJobDetails func (c *CodePipeline) GetThirdPartyJobDetails(input *GetThirdPartyJobDetailsInput) (*GetThirdPartyJobDetailsOutput, error) { @@ -1452,14 +1452,13 @@ const opListActionExecutions = "ListActionExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListActionExecutionsRequest method. +// req, resp := client.ListActionExecutionsRequest(params) // -// // Example sending a request using the ListActionExecutionsRequest method. -// req, resp := client.ListActionExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionExecutions func (c *CodePipeline) ListActionExecutionsRequest(input *ListActionExecutionsInput) (req *request.Request, output *ListActionExecutionsOutput) { @@ -1496,19 +1495,20 @@ func (c *CodePipeline) ListActionExecutionsRequest(input *ListActionExecutionsIn // API operation ListActionExecutions for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * PipelineNotFoundException -// The pipeline was specified in an invalid format or cannot be found. +// - ValidationException +// The validation was specified in an invalid format. +// +// - PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. // -// * InvalidNextTokenException -// The next token was specified in an invalid format. Make sure that the next -// token you provide is the token returned by a previous call. +// - InvalidNextTokenException +// The next token was specified in an invalid format. Make sure that the next +// token you provide is the token returned by a previous call. // -// * PipelineExecutionNotFoundException -// The pipeline execution was specified in an invalid format or cannot be found, -// or an execution ID does not belong to the specified pipeline. +// - PipelineExecutionNotFoundException +// The pipeline execution was specified in an invalid format or cannot be found, +// or an execution ID does not belong to the specified pipeline. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionExecutions func (c *CodePipeline) ListActionExecutions(input *ListActionExecutionsInput) (*ListActionExecutionsOutput, error) { @@ -1540,15 +1540,14 @@ func (c *CodePipeline) ListActionExecutionsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListActionExecutions operation. -// pageNum := 0 -// err := client.ListActionExecutionsPages(params, -// func(page *codepipeline.ListActionExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListActionExecutions operation. +// pageNum := 0 +// err := client.ListActionExecutionsPages(params, +// func(page *codepipeline.ListActionExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodePipeline) ListActionExecutionsPages(input *ListActionExecutionsInput, fn func(*ListActionExecutionsOutput, bool) bool) error { return c.ListActionExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1600,14 +1599,13 @@ const opListActionTypes = "ListActionTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListActionTypesRequest method. +// req, resp := client.ListActionTypesRequest(params) // -// // Example sending a request using the ListActionTypesRequest method. -// req, resp := client.ListActionTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypes func (c *CodePipeline) ListActionTypesRequest(input *ListActionTypesInput) (req *request.Request, output *ListActionTypesOutput) { @@ -1645,12 +1643,13 @@ func (c *CodePipeline) ListActionTypesRequest(input *ListActionTypesInput) (req // API operation ListActionTypes for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * InvalidNextTokenException -// The next token was specified in an invalid format. Make sure that the next -// token you provide is the token returned by a previous call. +// - ValidationException +// The validation was specified in an invalid format. +// +// - InvalidNextTokenException +// The next token was specified in an invalid format. Make sure that the next +// token you provide is the token returned by a previous call. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListActionTypes func (c *CodePipeline) ListActionTypes(input *ListActionTypesInput) (*ListActionTypesOutput, error) { @@ -1682,15 +1681,14 @@ func (c *CodePipeline) ListActionTypesWithContext(ctx aws.Context, input *ListAc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListActionTypes operation. -// pageNum := 0 -// err := client.ListActionTypesPages(params, -// func(page *codepipeline.ListActionTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListActionTypes operation. +// pageNum := 0 +// err := client.ListActionTypesPages(params, +// func(page *codepipeline.ListActionTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodePipeline) ListActionTypesPages(input *ListActionTypesInput, fn func(*ListActionTypesOutput, bool) bool) error { return c.ListActionTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1742,14 +1740,13 @@ const opListPipelineExecutions = "ListPipelineExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPipelineExecutionsRequest method. +// req, resp := client.ListPipelineExecutionsRequest(params) // -// // Example sending a request using the ListPipelineExecutionsRequest method. -// req, resp := client.ListPipelineExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutions func (c *CodePipeline) ListPipelineExecutionsRequest(input *ListPipelineExecutionsInput) (req *request.Request, output *ListPipelineExecutionsOutput) { @@ -1786,15 +1783,16 @@ func (c *CodePipeline) ListPipelineExecutionsRequest(input *ListPipelineExecutio // API operation ListPipelineExecutions for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * PipelineNotFoundException -// The pipeline was specified in an invalid format or cannot be found. +// - ValidationException +// The validation was specified in an invalid format. +// +// - PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. // -// * InvalidNextTokenException -// The next token was specified in an invalid format. Make sure that the next -// token you provide is the token returned by a previous call. +// - InvalidNextTokenException +// The next token was specified in an invalid format. Make sure that the next +// token you provide is the token returned by a previous call. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelineExecutions func (c *CodePipeline) ListPipelineExecutions(input *ListPipelineExecutionsInput) (*ListPipelineExecutionsOutput, error) { @@ -1826,15 +1824,14 @@ func (c *CodePipeline) ListPipelineExecutionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPipelineExecutions operation. -// pageNum := 0 -// err := client.ListPipelineExecutionsPages(params, -// func(page *codepipeline.ListPipelineExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPipelineExecutions operation. +// pageNum := 0 +// err := client.ListPipelineExecutionsPages(params, +// func(page *codepipeline.ListPipelineExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodePipeline) ListPipelineExecutionsPages(input *ListPipelineExecutionsInput, fn func(*ListPipelineExecutionsOutput, bool) bool) error { return c.ListPipelineExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1886,14 +1883,13 @@ const opListPipelines = "ListPipelines" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPipelinesRequest method. +// req, resp := client.ListPipelinesRequest(params) // -// // Example sending a request using the ListPipelinesRequest method. -// req, resp := client.ListPipelinesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelines func (c *CodePipeline) ListPipelinesRequest(input *ListPipelinesInput) (req *request.Request, output *ListPipelinesOutput) { @@ -1930,12 +1926,13 @@ func (c *CodePipeline) ListPipelinesRequest(input *ListPipelinesInput) (req *req // API operation ListPipelines for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * InvalidNextTokenException -// The next token was specified in an invalid format. Make sure that the next -// token you provide is the token returned by a previous call. +// - ValidationException +// The validation was specified in an invalid format. +// +// - InvalidNextTokenException +// The next token was specified in an invalid format. Make sure that the next +// token you provide is the token returned by a previous call. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListPipelines func (c *CodePipeline) ListPipelines(input *ListPipelinesInput) (*ListPipelinesOutput, error) { @@ -1967,15 +1964,14 @@ func (c *CodePipeline) ListPipelinesWithContext(ctx aws.Context, input *ListPipe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPipelines operation. -// pageNum := 0 -// err := client.ListPipelinesPages(params, -// func(page *codepipeline.ListPipelinesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPipelines operation. +// pageNum := 0 +// err := client.ListPipelinesPages(params, +// func(page *codepipeline.ListPipelinesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodePipeline) ListPipelinesPages(input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool) error { return c.ListPipelinesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2027,14 +2023,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListTagsForResource func (c *CodePipeline) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2071,18 +2066,19 @@ func (c *CodePipeline) ListTagsForResourceRequest(input *ListTagsForResourceInpu // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * ResourceNotFoundException -// The resource was specified in an invalid format. +// - ValidationException +// The validation was specified in an invalid format. // -// * InvalidNextTokenException -// The next token was specified in an invalid format. Make sure that the next -// token you provide is the token returned by a previous call. +// - ResourceNotFoundException +// The resource was specified in an invalid format. // -// * InvalidArnException -// The specified resource ARN is invalid. +// - InvalidNextTokenException +// The next token was specified in an invalid format. Make sure that the next +// token you provide is the token returned by a previous call. +// +// - InvalidArnException +// The specified resource ARN is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListTagsForResource func (c *CodePipeline) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2114,15 +2110,14 @@ func (c *CodePipeline) ListTagsForResourceWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *codepipeline.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *codepipeline.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodePipeline) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2174,14 +2169,13 @@ const opListWebhooks = "ListWebhooks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWebhooksRequest method. +// req, resp := client.ListWebhooksRequest(params) // -// // Example sending a request using the ListWebhooksRequest method. -// req, resp := client.ListWebhooksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListWebhooks func (c *CodePipeline) ListWebhooksRequest(input *ListWebhooksInput) (req *request.Request, output *ListWebhooksOutput) { @@ -2220,12 +2214,13 @@ func (c *CodePipeline) ListWebhooksRequest(input *ListWebhooksInput) (req *reque // API operation ListWebhooks for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * InvalidNextTokenException -// The next token was specified in an invalid format. Make sure that the next -// token you provide is the token returned by a previous call. +// - ValidationException +// The validation was specified in an invalid format. +// +// - InvalidNextTokenException +// The next token was specified in an invalid format. Make sure that the next +// token you provide is the token returned by a previous call. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/ListWebhooks func (c *CodePipeline) ListWebhooks(input *ListWebhooksInput) (*ListWebhooksOutput, error) { @@ -2257,15 +2252,14 @@ func (c *CodePipeline) ListWebhooksWithContext(ctx aws.Context, input *ListWebho // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWebhooks operation. -// pageNum := 0 -// err := client.ListWebhooksPages(params, -// func(page *codepipeline.ListWebhooksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWebhooks operation. +// pageNum := 0 +// err := client.ListWebhooksPages(params, +// func(page *codepipeline.ListWebhooksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodePipeline) ListWebhooksPages(input *ListWebhooksInput, fn func(*ListWebhooksOutput, bool) bool) error { return c.ListWebhooksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2317,14 +2311,13 @@ const opPollForJobs = "PollForJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PollForJobsRequest method. +// req, resp := client.PollForJobsRequest(params) // -// // Example sending a request using the PollForJobsRequest method. -// req, resp := client.PollForJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobs func (c *CodePipeline) PollForJobsRequest(input *PollForJobsInput) (req *request.Request, output *PollForJobsOutput) { @@ -2363,11 +2356,12 @@ func (c *CodePipeline) PollForJobsRequest(input *PollForJobsInput) (req *request // API operation PollForJobs for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * ActionTypeNotFoundException -// The specified action type cannot be found. +// - ValidationException +// The validation was specified in an invalid format. +// +// - ActionTypeNotFoundException +// The specified action type cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForJobs func (c *CodePipeline) PollForJobs(input *PollForJobsInput) (*PollForJobsOutput, error) { @@ -2407,14 +2401,13 @@ const opPollForThirdPartyJobs = "PollForThirdPartyJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PollForThirdPartyJobsRequest method. +// req, resp := client.PollForThirdPartyJobsRequest(params) // -// // Example sending a request using the PollForThirdPartyJobsRequest method. -// req, resp := client.PollForThirdPartyJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobs func (c *CodePipeline) PollForThirdPartyJobsRequest(input *PollForThirdPartyJobsInput) (req *request.Request, output *PollForThirdPartyJobsOutput) { @@ -2450,11 +2443,12 @@ func (c *CodePipeline) PollForThirdPartyJobsRequest(input *PollForThirdPartyJobs // API operation PollForThirdPartyJobs for usage and error information. // // Returned Error Types: -// * ActionTypeNotFoundException -// The specified action type cannot be found. // -// * ValidationException -// The validation was specified in an invalid format. +// - ActionTypeNotFoundException +// The specified action type cannot be found. +// +// - ValidationException +// The validation was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PollForThirdPartyJobs func (c *CodePipeline) PollForThirdPartyJobs(input *PollForThirdPartyJobsInput) (*PollForThirdPartyJobsOutput, error) { @@ -2494,14 +2488,13 @@ const opPutActionRevision = "PutActionRevision" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutActionRevisionRequest method. +// req, resp := client.PutActionRevisionRequest(params) // -// // Example sending a request using the PutActionRevisionRequest method. -// req, resp := client.PutActionRevisionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevision func (c *CodePipeline) PutActionRevisionRequest(input *PutActionRevisionInput) (req *request.Request, output *PutActionRevisionOutput) { @@ -2532,17 +2525,18 @@ func (c *CodePipeline) PutActionRevisionRequest(input *PutActionRevisionInput) ( // API operation PutActionRevision for usage and error information. // // Returned Error Types: -// * PipelineNotFoundException -// The pipeline was specified in an invalid format or cannot be found. // -// * StageNotFoundException -// The stage was specified in an invalid format or cannot be found. +// - PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. +// +// - StageNotFoundException +// The stage was specified in an invalid format or cannot be found. // -// * ActionNotFoundException -// The specified action cannot be found. +// - ActionNotFoundException +// The specified action cannot be found. // -// * ValidationException -// The validation was specified in an invalid format. +// - ValidationException +// The validation was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutActionRevision func (c *CodePipeline) PutActionRevision(input *PutActionRevisionInput) (*PutActionRevisionOutput, error) { @@ -2582,14 +2576,13 @@ const opPutApprovalResult = "PutApprovalResult" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutApprovalResultRequest method. +// req, resp := client.PutApprovalResultRequest(params) // -// // Example sending a request using the PutApprovalResultRequest method. -// req, resp := client.PutApprovalResultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResult func (c *CodePipeline) PutApprovalResultRequest(input *PutApprovalResultInput) (req *request.Request, output *PutApprovalResultOutput) { @@ -2621,23 +2614,24 @@ func (c *CodePipeline) PutApprovalResultRequest(input *PutApprovalResultInput) ( // API operation PutApprovalResult for usage and error information. // // Returned Error Types: -// * InvalidApprovalTokenException -// The approval request already received a response or has expired. // -// * ApprovalAlreadyCompletedException -// The approval action has already been approved or rejected. +// - InvalidApprovalTokenException +// The approval request already received a response or has expired. +// +// - ApprovalAlreadyCompletedException +// The approval action has already been approved or rejected. // -// * PipelineNotFoundException -// The pipeline was specified in an invalid format or cannot be found. +// - PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. // -// * StageNotFoundException -// The stage was specified in an invalid format or cannot be found. +// - StageNotFoundException +// The stage was specified in an invalid format or cannot be found. // -// * ActionNotFoundException -// The specified action cannot be found. +// - ActionNotFoundException +// The specified action cannot be found. // -// * ValidationException -// The validation was specified in an invalid format. +// - ValidationException +// The validation was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutApprovalResult func (c *CodePipeline) PutApprovalResult(input *PutApprovalResultInput) (*PutApprovalResultOutput, error) { @@ -2677,14 +2671,13 @@ const opPutJobFailureResult = "PutJobFailureResult" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutJobFailureResultRequest method. +// req, resp := client.PutJobFailureResultRequest(params) // -// // Example sending a request using the PutJobFailureResultRequest method. -// req, resp := client.PutJobFailureResultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResult func (c *CodePipeline) PutJobFailureResultRequest(input *PutJobFailureResultInput) (req *request.Request, output *PutJobFailureResultOutput) { @@ -2717,14 +2710,15 @@ func (c *CodePipeline) PutJobFailureResultRequest(input *PutJobFailureResultInpu // API operation PutJobFailureResult for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * JobNotFoundException -// The job was specified in an invalid format or cannot be found. +// - ValidationException +// The validation was specified in an invalid format. +// +// - JobNotFoundException +// The job was specified in an invalid format or cannot be found. // -// * InvalidJobStateException -// The job state was specified in an invalid format. +// - InvalidJobStateException +// The job state was specified in an invalid format. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobFailureResult func (c *CodePipeline) PutJobFailureResult(input *PutJobFailureResultInput) (*PutJobFailureResultOutput, error) { @@ -2764,14 +2758,13 @@ const opPutJobSuccessResult = "PutJobSuccessResult" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutJobSuccessResultRequest method. +// req, resp := client.PutJobSuccessResultRequest(params) // -// // Example sending a request using the PutJobSuccessResultRequest method. -// req, resp := client.PutJobSuccessResultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResult func (c *CodePipeline) PutJobSuccessResultRequest(input *PutJobSuccessResultInput) (req *request.Request, output *PutJobSuccessResultOutput) { @@ -2804,17 +2797,18 @@ func (c *CodePipeline) PutJobSuccessResultRequest(input *PutJobSuccessResultInpu // API operation PutJobSuccessResult for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * JobNotFoundException -// The job was specified in an invalid format or cannot be found. +// - ValidationException +// The validation was specified in an invalid format. // -// * InvalidJobStateException -// The job state was specified in an invalid format. +// - JobNotFoundException +// The job was specified in an invalid format or cannot be found. // -// * OutputVariablesSizeExceededException -// Exceeded the total size limit for all variables in the pipeline. +// - InvalidJobStateException +// The job state was specified in an invalid format. +// +// - OutputVariablesSizeExceededException +// Exceeded the total size limit for all variables in the pipeline. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutJobSuccessResult func (c *CodePipeline) PutJobSuccessResult(input *PutJobSuccessResultInput) (*PutJobSuccessResultOutput, error) { @@ -2854,14 +2848,13 @@ const opPutThirdPartyJobFailureResult = "PutThirdPartyJobFailureResult" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutThirdPartyJobFailureResultRequest method. +// req, resp := client.PutThirdPartyJobFailureResultRequest(params) // -// // Example sending a request using the PutThirdPartyJobFailureResultRequest method. -// req, resp := client.PutThirdPartyJobFailureResultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResult func (c *CodePipeline) PutThirdPartyJobFailureResultRequest(input *PutThirdPartyJobFailureResultInput) (req *request.Request, output *PutThirdPartyJobFailureResultOutput) { @@ -2894,17 +2887,18 @@ func (c *CodePipeline) PutThirdPartyJobFailureResultRequest(input *PutThirdParty // API operation PutThirdPartyJobFailureResult for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * JobNotFoundException -// The job was specified in an invalid format or cannot be found. +// - ValidationException +// The validation was specified in an invalid format. // -// * InvalidJobStateException -// The job state was specified in an invalid format. +// - JobNotFoundException +// The job was specified in an invalid format or cannot be found. // -// * InvalidClientTokenException -// The client token was specified in an invalid format +// - InvalidJobStateException +// The job state was specified in an invalid format. +// +// - InvalidClientTokenException +// The client token was specified in an invalid format // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobFailureResult func (c *CodePipeline) PutThirdPartyJobFailureResult(input *PutThirdPartyJobFailureResultInput) (*PutThirdPartyJobFailureResultOutput, error) { @@ -2944,14 +2938,13 @@ const opPutThirdPartyJobSuccessResult = "PutThirdPartyJobSuccessResult" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutThirdPartyJobSuccessResultRequest method. +// req, resp := client.PutThirdPartyJobSuccessResultRequest(params) // -// // Example sending a request using the PutThirdPartyJobSuccessResultRequest method. -// req, resp := client.PutThirdPartyJobSuccessResultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult func (c *CodePipeline) PutThirdPartyJobSuccessResultRequest(input *PutThirdPartyJobSuccessResultInput) (req *request.Request, output *PutThirdPartyJobSuccessResultOutput) { @@ -2984,17 +2977,18 @@ func (c *CodePipeline) PutThirdPartyJobSuccessResultRequest(input *PutThirdParty // API operation PutThirdPartyJobSuccessResult for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * JobNotFoundException -// The job was specified in an invalid format or cannot be found. +// - ValidationException +// The validation was specified in an invalid format. +// +// - JobNotFoundException +// The job was specified in an invalid format or cannot be found. // -// * InvalidJobStateException -// The job state was specified in an invalid format. +// - InvalidJobStateException +// The job state was specified in an invalid format. // -// * InvalidClientTokenException -// The client token was specified in an invalid format +// - InvalidClientTokenException +// The client token was specified in an invalid format // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResult func (c *CodePipeline) PutThirdPartyJobSuccessResult(input *PutThirdPartyJobSuccessResultInput) (*PutThirdPartyJobSuccessResultOutput, error) { @@ -3034,14 +3028,13 @@ const opPutWebhook = "PutWebhook" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutWebhookRequest method. +// req, resp := client.PutWebhookRequest(params) // -// // Example sending a request using the PutWebhookRequest method. -// req, resp := client.PutWebhookRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutWebhook func (c *CodePipeline) PutWebhookRequest(input *PutWebhookInput) (req *request.Request, output *PutWebhookOutput) { @@ -3079,30 +3072,31 @@ func (c *CodePipeline) PutWebhookRequest(input *PutWebhookInput) (req *request.R // API operation PutWebhook for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * LimitExceededException -// The number of pipelines associated with the AWS account has exceeded the -// limit allowed for the account. +// - ValidationException +// The validation was specified in an invalid format. +// +// - LimitExceededException +// The number of pipelines associated with the AWS account has exceeded the +// limit allowed for the account. // -// * InvalidWebhookFilterPatternException -// The specified event filter rule is in an invalid format. +// - InvalidWebhookFilterPatternException +// The specified event filter rule is in an invalid format. // -// * InvalidWebhookAuthenticationParametersException -// The specified authentication type is in an invalid format. +// - InvalidWebhookAuthenticationParametersException +// The specified authentication type is in an invalid format. // -// * PipelineNotFoundException -// The pipeline was specified in an invalid format or cannot be found. +// - PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. // -// * TooManyTagsException -// The tags limit for a resource has been exceeded. +// - TooManyTagsException +// The tags limit for a resource has been exceeded. // -// * InvalidTagsException -// The specified resource tags are invalid. +// - InvalidTagsException +// The specified resource tags are invalid. // -// * ConcurrentModificationException -// Unable to modify the tag due to a simultaneous update request. +// - ConcurrentModificationException +// Unable to modify the tag due to a simultaneous update request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutWebhook func (c *CodePipeline) PutWebhook(input *PutWebhookInput) (*PutWebhookOutput, error) { @@ -3142,14 +3136,13 @@ const opRegisterWebhookWithThirdParty = "RegisterWebhookWithThirdParty" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterWebhookWithThirdPartyRequest method. +// req, resp := client.RegisterWebhookWithThirdPartyRequest(params) // -// // Example sending a request using the RegisterWebhookWithThirdPartyRequest method. -// req, resp := client.RegisterWebhookWithThirdPartyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RegisterWebhookWithThirdParty func (c *CodePipeline) RegisterWebhookWithThirdPartyRequest(input *RegisterWebhookWithThirdPartyInput) (req *request.Request, output *RegisterWebhookWithThirdPartyOutput) { @@ -3182,11 +3175,12 @@ func (c *CodePipeline) RegisterWebhookWithThirdPartyRequest(input *RegisterWebho // API operation RegisterWebhookWithThirdParty for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * WebhookNotFoundException -// The specified webhook was entered in an invalid format or cannot be found. +// - ValidationException +// The validation was specified in an invalid format. +// +// - WebhookNotFoundException +// The specified webhook was entered in an invalid format or cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RegisterWebhookWithThirdParty func (c *CodePipeline) RegisterWebhookWithThirdParty(input *RegisterWebhookWithThirdPartyInput) (*RegisterWebhookWithThirdPartyOutput, error) { @@ -3226,14 +3220,13 @@ const opRetryStageExecution = "RetryStageExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RetryStageExecutionRequest method. +// req, resp := client.RetryStageExecutionRequest(params) // -// // Example sending a request using the RetryStageExecutionRequest method. -// req, resp := client.RetryStageExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecution func (c *CodePipeline) RetryStageExecutionRequest(input *RetryStageExecutionInput) (req *request.Request, output *RetryStageExecutionOutput) { @@ -3267,26 +3260,27 @@ func (c *CodePipeline) RetryStageExecutionRequest(input *RetryStageExecutionInpu // API operation RetryStageExecution for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * ConflictException -// Your request cannot be handled because the pipeline is busy handling ongoing -// activities. Try again later. +// - ValidationException +// The validation was specified in an invalid format. +// +// - ConflictException +// Your request cannot be handled because the pipeline is busy handling ongoing +// activities. Try again later. // -// * PipelineNotFoundException -// The pipeline was specified in an invalid format or cannot be found. +// - PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. // -// * StageNotFoundException -// The stage was specified in an invalid format or cannot be found. +// - StageNotFoundException +// The stage was specified in an invalid format or cannot be found. // -// * StageNotRetryableException -// Unable to retry. The pipeline structure or stage state might have changed -// while actions awaited retry, or the stage contains no failed actions. +// - StageNotRetryableException +// Unable to retry. The pipeline structure or stage state might have changed +// while actions awaited retry, or the stage contains no failed actions. // -// * NotLatestPipelineExecutionException -// The stage has failed in a later run of the pipeline and the pipelineExecutionId -// associated with the request is out of date. +// - NotLatestPipelineExecutionException +// The stage has failed in a later run of the pipeline and the pipelineExecutionId +// associated with the request is out of date. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/RetryStageExecution func (c *CodePipeline) RetryStageExecution(input *RetryStageExecutionInput) (*RetryStageExecutionOutput, error) { @@ -3326,14 +3320,13 @@ const opStartPipelineExecution = "StartPipelineExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartPipelineExecutionRequest method. +// req, resp := client.StartPipelineExecutionRequest(params) // -// // Example sending a request using the StartPipelineExecutionRequest method. -// req, resp := client.StartPipelineExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecution func (c *CodePipeline) StartPipelineExecutionRequest(input *StartPipelineExecutionInput) (req *request.Request, output *StartPipelineExecutionOutput) { @@ -3365,15 +3358,16 @@ func (c *CodePipeline) StartPipelineExecutionRequest(input *StartPipelineExecuti // API operation StartPipelineExecution for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * ConflictException -// Your request cannot be handled because the pipeline is busy handling ongoing -// activities. Try again later. +// - ValidationException +// The validation was specified in an invalid format. +// +// - ConflictException +// Your request cannot be handled because the pipeline is busy handling ongoing +// activities. Try again later. // -// * PipelineNotFoundException -// The pipeline was specified in an invalid format or cannot be found. +// - PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StartPipelineExecution func (c *CodePipeline) StartPipelineExecution(input *StartPipelineExecutionInput) (*StartPipelineExecutionOutput, error) { @@ -3413,14 +3407,13 @@ const opStopPipelineExecution = "StopPipelineExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopPipelineExecutionRequest method. +// req, resp := client.StopPipelineExecutionRequest(params) // -// // Example sending a request using the StopPipelineExecutionRequest method. -// req, resp := client.StopPipelineExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StopPipelineExecution func (c *CodePipeline) StopPipelineExecutionRequest(input *StopPipelineExecutionInput) (req *request.Request, output *StopPipelineExecutionOutput) { @@ -3456,26 +3449,27 @@ func (c *CodePipeline) StopPipelineExecutionRequest(input *StopPipelineExecution // API operation StopPipelineExecution for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * ConflictException -// Your request cannot be handled because the pipeline is busy handling ongoing -// activities. Try again later. +// - ValidationException +// The validation was specified in an invalid format. +// +// - ConflictException +// Your request cannot be handled because the pipeline is busy handling ongoing +// activities. Try again later. // -// * PipelineNotFoundException -// The pipeline was specified in an invalid format or cannot be found. +// - PipelineNotFoundException +// The pipeline was specified in an invalid format or cannot be found. // -// * PipelineExecutionNotStoppableException -// Unable to stop the pipeline execution. The execution might already be in -// a Stopped state, or it might no longer be in progress. +// - PipelineExecutionNotStoppableException +// Unable to stop the pipeline execution. The execution might already be in +// a Stopped state, or it might no longer be in progress. // -// * DuplicatedStopRequestException -// The pipeline execution is already in a Stopping state. If you already chose -// to stop and wait, you cannot make that request again. You can choose to stop -// and abandon now, but be aware that this option can lead to failed tasks or -// out of sequence tasks. If you already chose to stop and abandon, you cannot -// make that request again. +// - DuplicatedStopRequestException +// The pipeline execution is already in a Stopping state. If you already chose +// to stop and wait, you cannot make that request again. You can choose to stop +// and abandon now, but be aware that this option can lead to failed tasks or +// out of sequence tasks. If you already chose to stop and abandon, you cannot +// make that request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/StopPipelineExecution func (c *CodePipeline) StopPipelineExecution(input *StopPipelineExecutionInput) (*StopPipelineExecutionOutput, error) { @@ -3515,14 +3509,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/TagResource func (c *CodePipeline) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3555,23 +3548,24 @@ func (c *CodePipeline) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * ResourceNotFoundException -// The resource was specified in an invalid format. +// - ValidationException +// The validation was specified in an invalid format. // -// * InvalidArnException -// The specified resource ARN is invalid. +// - ResourceNotFoundException +// The resource was specified in an invalid format. // -// * TooManyTagsException -// The tags limit for a resource has been exceeded. +// - InvalidArnException +// The specified resource ARN is invalid. // -// * InvalidTagsException -// The specified resource tags are invalid. +// - TooManyTagsException +// The tags limit for a resource has been exceeded. // -// * ConcurrentModificationException -// Unable to modify the tag due to a simultaneous update request. +// - InvalidTagsException +// The specified resource tags are invalid. +// +// - ConcurrentModificationException +// Unable to modify the tag due to a simultaneous update request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/TagResource func (c *CodePipeline) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3611,14 +3605,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UntagResource func (c *CodePipeline) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3650,20 +3643,21 @@ func (c *CodePipeline) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * ResourceNotFoundException -// The resource was specified in an invalid format. +// - ValidationException +// The validation was specified in an invalid format. // -// * InvalidArnException -// The specified resource ARN is invalid. +// - ResourceNotFoundException +// The resource was specified in an invalid format. // -// * InvalidTagsException -// The specified resource tags are invalid. +// - InvalidArnException +// The specified resource ARN is invalid. // -// * ConcurrentModificationException -// Unable to modify the tag due to a simultaneous update request. +// - InvalidTagsException +// The specified resource tags are invalid. +// +// - ConcurrentModificationException +// Unable to modify the tag due to a simultaneous update request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UntagResource func (c *CodePipeline) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3703,14 +3697,13 @@ const opUpdateActionType = "UpdateActionType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateActionTypeRequest method. +// req, resp := client.UpdateActionTypeRequest(params) // -// // Example sending a request using the UpdateActionTypeRequest method. -// req, resp := client.UpdateActionTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdateActionType func (c *CodePipeline) UpdateActionTypeRequest(input *UpdateActionTypeInput) (req *request.Request, output *UpdateActionTypeOutput) { @@ -3745,14 +3738,15 @@ func (c *CodePipeline) UpdateActionTypeRequest(input *UpdateActionTypeInput) (re // API operation UpdateActionType for usage and error information. // // Returned Error Types: -// * RequestFailedException -// The request failed because of an unknown error, exception, or failure. // -// * ValidationException -// The validation was specified in an invalid format. +// - RequestFailedException +// The request failed because of an unknown error, exception, or failure. +// +// - ValidationException +// The validation was specified in an invalid format. // -// * ActionTypeNotFoundException -// The specified action type cannot be found. +// - ActionTypeNotFoundException +// The specified action type cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdateActionType func (c *CodePipeline) UpdateActionType(input *UpdateActionTypeInput) (*UpdateActionTypeOutput, error) { @@ -3792,14 +3786,13 @@ const opUpdatePipeline = "UpdatePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePipelineRequest method. +// req, resp := client.UpdatePipelineRequest(params) // -// // Example sending a request using the UpdatePipelineRequest method. -// req, resp := client.UpdatePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipeline func (c *CodePipeline) UpdatePipelineRequest(input *UpdatePipelineInput) (req *request.Request, output *UpdatePipelineOutput) { @@ -3833,24 +3826,25 @@ func (c *CodePipeline) UpdatePipelineRequest(input *UpdatePipelineInput) (req *r // API operation UpdatePipeline for usage and error information. // // Returned Error Types: -// * ValidationException -// The validation was specified in an invalid format. // -// * InvalidStageDeclarationException -// The stage declaration was specified in an invalid format. +// - ValidationException +// The validation was specified in an invalid format. +// +// - InvalidStageDeclarationException +// The stage declaration was specified in an invalid format. // -// * InvalidActionDeclarationException -// The action declaration was specified in an invalid format. +// - InvalidActionDeclarationException +// The action declaration was specified in an invalid format. // -// * InvalidBlockerDeclarationException -// Reserved for future use. +// - InvalidBlockerDeclarationException +// Reserved for future use. // -// * InvalidStructureException -// The structure was specified in an invalid format. +// - InvalidStructureException +// The structure was specified in an invalid format. // -// * LimitExceededException -// The number of pipelines associated with the AWS account has exceeded the -// limit allowed for the account. +// - LimitExceededException +// The number of pipelines associated with the AWS account has exceeded the +// limit allowed for the account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/UpdatePipeline func (c *CodePipeline) UpdatePipeline(input *UpdatePipelineInput) (*UpdatePipelineOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/codepipelineiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/codepipelineiface/interface.go index 1b9c4c4d0bd3..23f8b243d2c1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/codepipelineiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/codepipelineiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS CodePipeline. -// func myFunc(svc codepipelineiface.CodePipelineAPI) bool { -// // Make svc.AcknowledgeJob request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS CodePipeline. +// func myFunc(svc codepipelineiface.CodePipelineAPI) bool { +// // Make svc.AcknowledgeJob request +// } // -// func main() { -// sess := session.New() -// svc := codepipeline.New(sess) +// func main() { +// sess := session.New() +// svc := codepipeline.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCodePipelineClient struct { -// codepipelineiface.CodePipelineAPI -// } -// func (m *mockCodePipelineClient) AcknowledgeJob(input *codepipeline.AcknowledgeJobInput) (*codepipeline.AcknowledgeJobOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCodePipelineClient struct { +// codepipelineiface.CodePipelineAPI +// } +// func (m *mockCodePipelineClient) AcknowledgeJob(input *codepipeline.AcknowledgeJobInput) (*codepipeline.AcknowledgeJobOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCodePipelineClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCodePipelineClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/doc.go index 74a1cccc79ac..23beca4583b9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/doc.go @@ -3,7 +3,7 @@ // Package codepipeline provides the client and types for making API // requests to AWS CodePipeline. // -// Overview +// # Overview // // This is the AWS CodePipeline API Reference. This guide provides descriptions // of the actions and data types for AWS CodePipeline. Some functionality for @@ -18,38 +18,38 @@ // // You can work with pipelines by calling: // -// * CreatePipeline, which creates a uniquely named pipeline. +// - CreatePipeline, which creates a uniquely named pipeline. // -// * DeletePipeline, which deletes the specified pipeline. +// - DeletePipeline, which deletes the specified pipeline. // -// * GetPipeline, which returns information about the pipeline structure -// and pipeline metadata, including the pipeline Amazon Resource Name (ARN). +// - GetPipeline, which returns information about the pipeline structure +// and pipeline metadata, including the pipeline Amazon Resource Name (ARN). // -// * GetPipelineExecution, which returns information about a specific execution -// of a pipeline. +// - GetPipelineExecution, which returns information about a specific execution +// of a pipeline. // -// * GetPipelineState, which returns information about the current state -// of the stages and actions of a pipeline. +// - GetPipelineState, which returns information about the current state +// of the stages and actions of a pipeline. // -// * ListActionExecutions, which returns action-level details for past executions. -// The details include full stage and action-level details, including individual -// action duration, status, any errors that occurred during the execution, -// and input and output artifact location details. +// - ListActionExecutions, which returns action-level details for past executions. +// The details include full stage and action-level details, including individual +// action duration, status, any errors that occurred during the execution, +// and input and output artifact location details. // -// * ListPipelines, which gets a summary of all of the pipelines associated -// with your account. +// - ListPipelines, which gets a summary of all of the pipelines associated +// with your account. // -// * ListPipelineExecutions, which gets a summary of the most recent executions -// for a pipeline. +// - ListPipelineExecutions, which gets a summary of the most recent executions +// for a pipeline. // -// * StartPipelineExecution, which runs the most recent revision of an artifact -// through the pipeline. +// - StartPipelineExecution, which runs the most recent revision of an artifact +// through the pipeline. // -// * StopPipelineExecution, which stops the specified pipeline execution -// from continuing through the pipeline. +// - StopPipelineExecution, which stops the specified pipeline execution +// from continuing through the pipeline. // -// * UpdatePipeline, which updates a pipeline with edits or changes to the -// structure of the pipeline. +// - UpdatePipeline, which updates a pipeline with edits or changes to the +// structure of the pipeline. // // Pipelines include stages. Each stage contains one or more actions that must // complete before the next stage begins. A stage results in success or failure. @@ -70,30 +70,30 @@ // pipeline operations such as CreatePipeline and GetPipelineState. Valid action // categories are: // -// * Source +// - Source // -// * Build +// - Build // -// * Test +// - Test // -// * Deploy +// - Deploy // -// * Approval +// - Approval // -// * Invoke +// - Invoke // // Pipelines also include transitions, which allow the transition of artifacts // from one stage to the next in a pipeline after the actions in one stage complete. // // You can work with transitions by calling: // -// * DisableStageTransition, which prevents artifacts from transitioning -// to the next stage in a pipeline. +// - DisableStageTransition, which prevents artifacts from transitioning +// to the next stage in a pipeline. // -// * EnableStageTransition, which enables transition of artifacts between -// stages in a pipeline. +// - EnableStageTransition, which enables transition of artifacts between +// stages in a pipeline. // -// Using the API to integrate with AWS CodePipeline +// # Using the API to integrate with AWS CodePipeline // // For third-party integrators or developers who want to create their own integrations // with AWS CodePipeline, the expected sequence varies from the standard API @@ -105,16 +105,16 @@ // // You can work with jobs by calling: // -// * AcknowledgeJob, which confirms whether a job worker has received the -// specified job. +// - AcknowledgeJob, which confirms whether a job worker has received the +// specified job. // -// * GetJobDetails, which returns the details of a job. +// - GetJobDetails, which returns the details of a job. // -// * PollForJobs, which determines whether there are any jobs to act on. +// - PollForJobs, which determines whether there are any jobs to act on. // -// * PutJobFailureResult, which provides details of a job failure. +// - PutJobFailureResult, which provides details of a job failure. // -// * PutJobSuccessResult, which provides details of a job success. +// - PutJobSuccessResult, which provides details of a job success. // // Third party jobs, which are instances of an action created by a partner action // and integrated into AWS CodePipeline. Partner actions are created by members @@ -122,25 +122,25 @@ // // You can work with third party jobs by calling: // -// * AcknowledgeThirdPartyJob, which confirms whether a job worker has received -// the specified job. +// - AcknowledgeThirdPartyJob, which confirms whether a job worker has received +// the specified job. // -// * GetThirdPartyJobDetails, which requests the details of a job for a partner -// action. +// - GetThirdPartyJobDetails, which requests the details of a job for a partner +// action. // -// * PollForThirdPartyJobs, which determines whether there are any jobs to -// act on. +// - PollForThirdPartyJobs, which determines whether there are any jobs to +// act on. // -// * PutThirdPartyJobFailureResult, which provides details of a job failure. +// - PutThirdPartyJobFailureResult, which provides details of a job failure. // -// * PutThirdPartyJobSuccessResult, which provides details of a job success. +// - PutThirdPartyJobSuccessResult, which provides details of a job success. // // See https://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09 for more information on this service. // // See codepipeline package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/codepipeline/ // -// Using the Client +// # Using the Client // // To contact AWS CodePipeline with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/service.go index 276f423eb742..e6a3a96bb93d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codepipeline/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CodePipeline client from just a session. -// svc := codepipeline.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CodePipeline client with additional configuration -// svc := codepipeline.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CodePipeline client from just a session. +// svc := codepipeline.New(mySession) +// +// // Create a CodePipeline client with additional configuration +// svc := codepipeline.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodePipeline { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/api.go index da8a36579ae5..6c914f8c39e1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/api.go @@ -29,14 +29,13 @@ const opAssociateTeamMember = "AssociateTeamMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateTeamMemberRequest method. +// req, resp := client.AssociateTeamMemberRequest(params) // -// // Example sending a request using the AssociateTeamMemberRequest method. -// req, resp := client.AssociateTeamMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/AssociateTeamMember func (c *CodeStar) AssociateTeamMemberRequest(input *AssociateTeamMemberInput) (req *request.Request, output *AssociateTeamMemberOutput) { @@ -67,27 +66,28 @@ func (c *CodeStar) AssociateTeamMemberRequest(input *AssociateTeamMemberInput) ( // API operation AssociateTeamMember for usage and error information. // // Returned Error Types: -// * LimitExceededException -// A resource limit has been exceeded. // -// * ProjectNotFoundException -// The specified AWS CodeStar project was not found. +// - LimitExceededException +// A resource limit has been exceeded. +// +// - ProjectNotFoundException +// The specified AWS CodeStar project was not found. // -// * TeamMemberAlreadyAssociatedException -// The team member is already associated with a role in this project. +// - TeamMemberAlreadyAssociatedException +// The team member is already associated with a role in this project. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - ValidationException +// The specified input is either not valid, or it could not be validated. // -// * InvalidServiceRoleException -// The service role is not valid. +// - InvalidServiceRoleException +// The service role is not valid. // -// * ProjectConfigurationException -// Project configuration information is required but not specified. +// - ProjectConfigurationException +// Project configuration information is required but not specified. // -// * ConcurrentModificationException -// Another modification is being made. That modification must complete before -// you can make your change. +// - ConcurrentModificationException +// Another modification is being made. That modification must complete before +// you can make your change. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/AssociateTeamMember func (c *CodeStar) AssociateTeamMember(input *AssociateTeamMemberInput) (*AssociateTeamMemberOutput, error) { @@ -127,14 +127,13 @@ const opCreateProject = "CreateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProjectRequest method. +// req, resp := client.CreateProjectRequest(params) // -// // Example sending a request using the CreateProjectRequest method. -// req, resp := client.CreateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateProject func (c *CodeStar) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) { @@ -168,31 +167,32 @@ func (c *CodeStar) CreateProjectRequest(input *CreateProjectInput) (req *request // API operation CreateProject for usage and error information. // // Returned Error Types: -// * ProjectAlreadyExistsException -// An AWS CodeStar project with the same ID already exists in this region for -// the AWS account. AWS CodeStar project IDs must be unique within a region -// for the AWS account. // -// * LimitExceededException -// A resource limit has been exceeded. +// - ProjectAlreadyExistsException +// An AWS CodeStar project with the same ID already exists in this region for +// the AWS account. AWS CodeStar project IDs must be unique within a region +// for the AWS account. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - LimitExceededException +// A resource limit has been exceeded. // -// * ProjectCreationFailedException -// The project creation request was valid, but a nonspecific exception or error -// occurred during project creation. The project could not be created in AWS -// CodeStar. +// - ValidationException +// The specified input is either not valid, or it could not be validated. // -// * InvalidServiceRoleException -// The service role is not valid. +// - ProjectCreationFailedException +// The project creation request was valid, but a nonspecific exception or error +// occurred during project creation. The project could not be created in AWS +// CodeStar. // -// * ProjectConfigurationException -// Project configuration information is required but not specified. +// - InvalidServiceRoleException +// The service role is not valid. // -// * ConcurrentModificationException -// Another modification is being made. That modification must complete before -// you can make your change. +// - ProjectConfigurationException +// Project configuration information is required but not specified. +// +// - ConcurrentModificationException +// Another modification is being made. That modification must complete before +// you can make your change. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateProject func (c *CodeStar) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) { @@ -232,14 +232,13 @@ const opCreateUserProfile = "CreateUserProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserProfileRequest method. +// req, resp := client.CreateUserProfileRequest(params) // -// // Example sending a request using the CreateUserProfileRequest method. -// req, resp := client.CreateUserProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateUserProfile func (c *CodeStar) CreateUserProfileRequest(input *CreateUserProfileInput) (req *request.Request, output *CreateUserProfileOutput) { @@ -274,13 +273,14 @@ func (c *CodeStar) CreateUserProfileRequest(input *CreateUserProfileInput) (req // API operation CreateUserProfile for usage and error information. // // Returned Error Types: -// * UserProfileAlreadyExistsException -// A user profile with that name already exists in this region for the AWS account. -// AWS CodeStar user profile names must be unique within a region for the AWS -// account. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - UserProfileAlreadyExistsException +// A user profile with that name already exists in this region for the AWS account. +// AWS CodeStar user profile names must be unique within a region for the AWS +// account. +// +// - ValidationException +// The specified input is either not valid, or it could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/CreateUserProfile func (c *CodeStar) CreateUserProfile(input *CreateUserProfileInput) (*CreateUserProfileOutput, error) { @@ -320,14 +320,13 @@ const opDeleteProject = "DeleteProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProjectRequest method. +// req, resp := client.DeleteProjectRequest(params) // -// // Example sending a request using the DeleteProjectRequest method. -// req, resp := client.DeleteProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteProject func (c *CodeStar) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) { @@ -360,15 +359,16 @@ func (c *CodeStar) DeleteProjectRequest(input *DeleteProjectInput) (req *request // API operation DeleteProject for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// Another modification is being made. That modification must complete before -// you can make your change. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - ConcurrentModificationException +// Another modification is being made. That modification must complete before +// you can make your change. // -// * InvalidServiceRoleException -// The service role is not valid. +// - ValidationException +// The specified input is either not valid, or it could not be validated. +// +// - InvalidServiceRoleException +// The service role is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteProject func (c *CodeStar) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) { @@ -408,14 +408,13 @@ const opDeleteUserProfile = "DeleteUserProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserProfileRequest method. +// req, resp := client.DeleteUserProfileRequest(params) // -// // Example sending a request using the DeleteUserProfileRequest method. -// req, resp := client.DeleteUserProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteUserProfile func (c *CodeStar) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req *request.Request, output *DeleteUserProfileOutput) { @@ -449,8 +448,8 @@ func (c *CodeStar) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req // API operation DeleteUserProfile for usage and error information. // // Returned Error Types: -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - ValidationException +// The specified input is either not valid, or it could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DeleteUserProfile func (c *CodeStar) DeleteUserProfile(input *DeleteUserProfileInput) (*DeleteUserProfileOutput, error) { @@ -490,14 +489,13 @@ const opDescribeProject = "DescribeProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProjectRequest method. +// req, resp := client.DescribeProjectRequest(params) // -// // Example sending a request using the DescribeProjectRequest method. -// req, resp := client.DescribeProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeProject func (c *CodeStar) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput) { @@ -528,21 +526,22 @@ func (c *CodeStar) DescribeProjectRequest(input *DescribeProjectInput) (req *req // API operation DescribeProject for usage and error information. // // Returned Error Types: -// * ProjectNotFoundException -// The specified AWS CodeStar project was not found. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - ProjectNotFoundException +// The specified AWS CodeStar project was not found. +// +// - ValidationException +// The specified input is either not valid, or it could not be validated. // -// * InvalidServiceRoleException -// The service role is not valid. +// - InvalidServiceRoleException +// The service role is not valid. // -// * ProjectConfigurationException -// Project configuration information is required but not specified. +// - ProjectConfigurationException +// Project configuration information is required but not specified. // -// * ConcurrentModificationException -// Another modification is being made. That modification must complete before -// you can make your change. +// - ConcurrentModificationException +// Another modification is being made. That modification must complete before +// you can make your change. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeProject func (c *CodeStar) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error) { @@ -582,14 +581,13 @@ const opDescribeUserProfile = "DescribeUserProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserProfileRequest method. +// req, resp := client.DescribeUserProfileRequest(params) // -// // Example sending a request using the DescribeUserProfileRequest method. -// req, resp := client.DescribeUserProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeUserProfile func (c *CodeStar) DescribeUserProfileRequest(input *DescribeUserProfileInput) (req *request.Request, output *DescribeUserProfileOutput) { @@ -620,11 +618,12 @@ func (c *CodeStar) DescribeUserProfileRequest(input *DescribeUserProfileInput) ( // API operation DescribeUserProfile for usage and error information. // // Returned Error Types: -// * UserProfileNotFoundException -// The user profile was not found. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - UserProfileNotFoundException +// The user profile was not found. +// +// - ValidationException +// The specified input is either not valid, or it could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DescribeUserProfile func (c *CodeStar) DescribeUserProfile(input *DescribeUserProfileInput) (*DescribeUserProfileOutput, error) { @@ -664,14 +663,13 @@ const opDisassociateTeamMember = "DisassociateTeamMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateTeamMemberRequest method. +// req, resp := client.DisassociateTeamMemberRequest(params) // -// // Example sending a request using the DisassociateTeamMemberRequest method. -// req, resp := client.DisassociateTeamMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DisassociateTeamMember func (c *CodeStar) DisassociateTeamMemberRequest(input *DisassociateTeamMemberInput) (req *request.Request, output *DisassociateTeamMemberOutput) { @@ -706,18 +704,19 @@ func (c *CodeStar) DisassociateTeamMemberRequest(input *DisassociateTeamMemberIn // API operation DisassociateTeamMember for usage and error information. // // Returned Error Types: -// * ProjectNotFoundException -// The specified AWS CodeStar project was not found. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - ProjectNotFoundException +// The specified AWS CodeStar project was not found. // -// * InvalidServiceRoleException -// The service role is not valid. +// - ValidationException +// The specified input is either not valid, or it could not be validated. // -// * ConcurrentModificationException -// Another modification is being made. That modification must complete before -// you can make your change. +// - InvalidServiceRoleException +// The service role is not valid. +// +// - ConcurrentModificationException +// Another modification is being made. That modification must complete before +// you can make your change. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/DisassociateTeamMember func (c *CodeStar) DisassociateTeamMember(input *DisassociateTeamMemberInput) (*DisassociateTeamMemberOutput, error) { @@ -757,14 +756,13 @@ const opListProjects = "ListProjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProjectsRequest method. +// req, resp := client.ListProjectsRequest(params) // -// // Example sending a request using the ListProjectsRequest method. -// req, resp := client.ListProjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListProjects func (c *CodeStar) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) { @@ -795,11 +793,12 @@ func (c *CodeStar) ListProjectsRequest(input *ListProjectsInput) (req *request.R // API operation ListProjects for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The next token is not valid. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - InvalidNextTokenException +// The next token is not valid. +// +// - ValidationException +// The specified input is either not valid, or it could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListProjects func (c *CodeStar) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error) { @@ -839,14 +838,13 @@ const opListResources = "ListResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourcesRequest method. +// req, resp := client.ListResourcesRequest(params) // -// // Example sending a request using the ListResourcesRequest method. -// req, resp := client.ListResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListResources func (c *CodeStar) ListResourcesRequest(input *ListResourcesInput) (req *request.Request, output *ListResourcesOutput) { @@ -877,14 +875,15 @@ func (c *CodeStar) ListResourcesRequest(input *ListResourcesInput) (req *request // API operation ListResources for usage and error information. // // Returned Error Types: -// * ProjectNotFoundException -// The specified AWS CodeStar project was not found. // -// * InvalidNextTokenException -// The next token is not valid. +// - ProjectNotFoundException +// The specified AWS CodeStar project was not found. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - InvalidNextTokenException +// The next token is not valid. +// +// - ValidationException +// The specified input is either not valid, or it could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListResources func (c *CodeStar) ListResources(input *ListResourcesInput) (*ListResourcesOutput, error) { @@ -924,14 +923,13 @@ const opListTagsForProject = "ListTagsForProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForProjectRequest method. +// req, resp := client.ListTagsForProjectRequest(params) // -// // Example sending a request using the ListTagsForProjectRequest method. -// req, resp := client.ListTagsForProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProject func (c *CodeStar) ListTagsForProjectRequest(input *ListTagsForProjectInput) (req *request.Request, output *ListTagsForProjectOutput) { @@ -962,14 +960,15 @@ func (c *CodeStar) ListTagsForProjectRequest(input *ListTagsForProjectInput) (re // API operation ListTagsForProject for usage and error information. // // Returned Error Types: -// * ProjectNotFoundException -// The specified AWS CodeStar project was not found. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - ProjectNotFoundException +// The specified AWS CodeStar project was not found. +// +// - ValidationException +// The specified input is either not valid, or it could not be validated. // -// * InvalidNextTokenException -// The next token is not valid. +// - InvalidNextTokenException +// The next token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTagsForProject func (c *CodeStar) ListTagsForProject(input *ListTagsForProjectInput) (*ListTagsForProjectOutput, error) { @@ -1009,14 +1008,13 @@ const opListTeamMembers = "ListTeamMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTeamMembersRequest method. +// req, resp := client.ListTeamMembersRequest(params) // -// // Example sending a request using the ListTeamMembersRequest method. -// req, resp := client.ListTeamMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTeamMembers func (c *CodeStar) ListTeamMembersRequest(input *ListTeamMembersInput) (req *request.Request, output *ListTeamMembersOutput) { @@ -1047,14 +1045,15 @@ func (c *CodeStar) ListTeamMembersRequest(input *ListTeamMembersInput) (req *req // API operation ListTeamMembers for usage and error information. // // Returned Error Types: -// * ProjectNotFoundException -// The specified AWS CodeStar project was not found. // -// * InvalidNextTokenException -// The next token is not valid. +// - ProjectNotFoundException +// The specified AWS CodeStar project was not found. +// +// - InvalidNextTokenException +// The next token is not valid. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - ValidationException +// The specified input is either not valid, or it could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListTeamMembers func (c *CodeStar) ListTeamMembers(input *ListTeamMembersInput) (*ListTeamMembersOutput, error) { @@ -1094,14 +1093,13 @@ const opListUserProfiles = "ListUserProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUserProfilesRequest method. +// req, resp := client.ListUserProfilesRequest(params) // -// // Example sending a request using the ListUserProfilesRequest method. -// req, resp := client.ListUserProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListUserProfiles func (c *CodeStar) ListUserProfilesRequest(input *ListUserProfilesInput) (req *request.Request, output *ListUserProfilesOutput) { @@ -1132,11 +1130,12 @@ func (c *CodeStar) ListUserProfilesRequest(input *ListUserProfilesInput) (req *r // API operation ListUserProfiles for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The next token is not valid. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - InvalidNextTokenException +// The next token is not valid. +// +// - ValidationException +// The specified input is either not valid, or it could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/ListUserProfiles func (c *CodeStar) ListUserProfiles(input *ListUserProfilesInput) (*ListUserProfilesOutput, error) { @@ -1176,14 +1175,13 @@ const opTagProject = "TagProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagProjectRequest method. +// req, resp := client.TagProjectRequest(params) // -// // Example sending a request using the TagProjectRequest method. -// req, resp := client.TagProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProject func (c *CodeStar) TagProjectRequest(input *TagProjectInput) (req *request.Request, output *TagProjectOutput) { @@ -1214,18 +1212,19 @@ func (c *CodeStar) TagProjectRequest(input *TagProjectInput) (req *request.Reque // API operation TagProject for usage and error information. // // Returned Error Types: -// * ProjectNotFoundException -// The specified AWS CodeStar project was not found. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - ProjectNotFoundException +// The specified AWS CodeStar project was not found. +// +// - ValidationException +// The specified input is either not valid, or it could not be validated. // -// * LimitExceededException -// A resource limit has been exceeded. +// - LimitExceededException +// A resource limit has been exceeded. // -// * ConcurrentModificationException -// Another modification is being made. That modification must complete before -// you can make your change. +// - ConcurrentModificationException +// Another modification is being made. That modification must complete before +// you can make your change. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/TagProject func (c *CodeStar) TagProject(input *TagProjectInput) (*TagProjectOutput, error) { @@ -1265,14 +1264,13 @@ const opUntagProject = "UntagProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagProjectRequest method. +// req, resp := client.UntagProjectRequest(params) // -// // Example sending a request using the UntagProjectRequest method. -// req, resp := client.UntagProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProject func (c *CodeStar) UntagProjectRequest(input *UntagProjectInput) (req *request.Request, output *UntagProjectOutput) { @@ -1304,18 +1302,19 @@ func (c *CodeStar) UntagProjectRequest(input *UntagProjectInput) (req *request.R // API operation UntagProject for usage and error information. // // Returned Error Types: -// * ProjectNotFoundException -// The specified AWS CodeStar project was not found. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - ProjectNotFoundException +// The specified AWS CodeStar project was not found. +// +// - ValidationException +// The specified input is either not valid, or it could not be validated. // -// * LimitExceededException -// A resource limit has been exceeded. +// - LimitExceededException +// A resource limit has been exceeded. // -// * ConcurrentModificationException -// Another modification is being made. That modification must complete before -// you can make your change. +// - ConcurrentModificationException +// Another modification is being made. That modification must complete before +// you can make your change. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UntagProject func (c *CodeStar) UntagProject(input *UntagProjectInput) (*UntagProjectOutput, error) { @@ -1355,14 +1354,13 @@ const opUpdateProject = "UpdateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProjectRequest method. +// req, resp := client.UpdateProjectRequest(params) // -// // Example sending a request using the UpdateProjectRequest method. -// req, resp := client.UpdateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateProject func (c *CodeStar) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput) { @@ -1394,11 +1392,12 @@ func (c *CodeStar) UpdateProjectRequest(input *UpdateProjectInput) (req *request // API operation UpdateProject for usage and error information. // // Returned Error Types: -// * ProjectNotFoundException -// The specified AWS CodeStar project was not found. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - ProjectNotFoundException +// The specified AWS CodeStar project was not found. +// +// - ValidationException +// The specified input is either not valid, or it could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateProject func (c *CodeStar) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error) { @@ -1438,14 +1437,13 @@ const opUpdateTeamMember = "UpdateTeamMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTeamMemberRequest method. +// req, resp := client.UpdateTeamMemberRequest(params) // -// // Example sending a request using the UpdateTeamMemberRequest method. -// req, resp := client.UpdateTeamMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateTeamMember func (c *CodeStar) UpdateTeamMemberRequest(input *UpdateTeamMemberInput) (req *request.Request, output *UpdateTeamMemberOutput) { @@ -1478,27 +1476,28 @@ func (c *CodeStar) UpdateTeamMemberRequest(input *UpdateTeamMemberInput) (req *r // API operation UpdateTeamMember for usage and error information. // // Returned Error Types: -// * LimitExceededException -// A resource limit has been exceeded. // -// * ProjectNotFoundException -// The specified AWS CodeStar project was not found. +// - LimitExceededException +// A resource limit has been exceeded. +// +// - ProjectNotFoundException +// The specified AWS CodeStar project was not found. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - ValidationException +// The specified input is either not valid, or it could not be validated. // -// * InvalidServiceRoleException -// The service role is not valid. +// - InvalidServiceRoleException +// The service role is not valid. // -// * ProjectConfigurationException -// Project configuration information is required but not specified. +// - ProjectConfigurationException +// Project configuration information is required but not specified. // -// * ConcurrentModificationException -// Another modification is being made. That modification must complete before -// you can make your change. +// - ConcurrentModificationException +// Another modification is being made. That modification must complete before +// you can make your change. // -// * TeamMemberNotFoundException -// The specified team member was not found. +// - TeamMemberNotFoundException +// The specified team member was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateTeamMember func (c *CodeStar) UpdateTeamMember(input *UpdateTeamMemberInput) (*UpdateTeamMemberOutput, error) { @@ -1538,14 +1537,13 @@ const opUpdateUserProfile = "UpdateUserProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserProfileRequest method. +// req, resp := client.UpdateUserProfileRequest(params) // -// // Example sending a request using the UpdateUserProfileRequest method. -// req, resp := client.UpdateUserProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateUserProfile func (c *CodeStar) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req *request.Request, output *UpdateUserProfileOutput) { @@ -1578,11 +1576,12 @@ func (c *CodeStar) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req // API operation UpdateUserProfile for usage and error information. // // Returned Error Types: -// * UserProfileNotFoundException -// The user profile was not found. // -// * ValidationException -// The specified input is either not valid, or it could not be validated. +// - UserProfileNotFoundException +// The user profile was not found. +// +// - ValidationException +// The specified input is either not valid, or it could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19/UpdateUserProfile func (c *CodeStar) UpdateUserProfile(input *UpdateUserProfileInput) (*UpdateUserProfileOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/codestariface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/codestariface/interface.go index 20e7e4282a0d..244eea44ebd6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/codestariface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/codestariface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS CodeStar. -// func myFunc(svc codestariface.CodeStarAPI) bool { -// // Make svc.AssociateTeamMember request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS CodeStar. +// func myFunc(svc codestariface.CodeStarAPI) bool { +// // Make svc.AssociateTeamMember request +// } // -// func main() { -// sess := session.New() -// svc := codestar.New(sess) +// func main() { +// sess := session.New() +// svc := codestar.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCodeStarClient struct { -// codestariface.CodeStarAPI -// } -// func (m *mockCodeStarClient) AssociateTeamMember(input *codestar.AssociateTeamMemberInput) (*codestar.AssociateTeamMemberOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCodeStarClient struct { +// codestariface.CodeStarAPI +// } +// func (m *mockCodeStarClient) AssociateTeamMember(input *codestar.AssociateTeamMemberInput) (*codestar.AssociateTeamMemberOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCodeStarClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCodeStarClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/doc.go index ea401d1daf3d..6e7b77d1c417 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/doc.go @@ -11,54 +11,54 @@ // // Projects and their resources, by calling the following: // -// * DeleteProject, which deletes a project. +// - DeleteProject, which deletes a project. // -// * DescribeProject, which lists the attributes of a project. +// - DescribeProject, which lists the attributes of a project. // -// * ListProjects, which lists all projects associated with your AWS account. +// - ListProjects, which lists all projects associated with your AWS account. // -// * ListResources, which lists the resources associated with a project. +// - ListResources, which lists the resources associated with a project. // -// * ListTagsForProject, which lists the tags associated with a project. +// - ListTagsForProject, which lists the tags associated with a project. // -// * TagProject, which adds tags to a project. +// - TagProject, which adds tags to a project. // -// * UntagProject, which removes tags from a project. +// - UntagProject, which removes tags from a project. // -// * UpdateProject, which updates the attributes of a project. +// - UpdateProject, which updates the attributes of a project. // // Teams and team members, by calling the following: // -// * AssociateTeamMember, which adds an IAM user to the team for a project. +// - AssociateTeamMember, which adds an IAM user to the team for a project. // -// * DisassociateTeamMember, which removes an IAM user from the team for -// a project. +// - DisassociateTeamMember, which removes an IAM user from the team for +// a project. // -// * ListTeamMembers, which lists all the IAM users in the team for a project, -// including their roles and attributes. +// - ListTeamMembers, which lists all the IAM users in the team for a project, +// including their roles and attributes. // -// * UpdateTeamMember, which updates a team member's attributes in a project. +// - UpdateTeamMember, which updates a team member's attributes in a project. // // Users, by calling the following: // -// * CreateUserProfile, which creates a user profile that contains data associated -// with the user across all projects. +// - CreateUserProfile, which creates a user profile that contains data associated +// with the user across all projects. // -// * DeleteUserProfile, which deletes all user profile information across -// all projects. +// - DeleteUserProfile, which deletes all user profile information across +// all projects. // -// * DescribeUserProfile, which describes the profile of a user. +// - DescribeUserProfile, which describes the profile of a user. // -// * ListUserProfiles, which lists all user profiles. +// - ListUserProfiles, which lists all user profiles. // -// * UpdateUserProfile, which updates the profile for a user. +// - UpdateUserProfile, which updates the profile for a user. // // See https://docs.aws.amazon.com/goto/WebAPI/codestar-2017-04-19 for more information on this service. // // See codestar package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/codestar/ // -// Using the Client +// # Using the Client // // To contact AWS CodeStar with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/service.go index 1dd9456c2f6b..98dc59dea93e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestar/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CodeStar client from just a session. -// svc := codestar.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CodeStar client with additional configuration -// svc := codestar.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CodeStar client from just a session. +// svc := codestar.New(mySession) +// +// // Create a CodeStar client with additional configuration +// svc := codestar.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeStar { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/api.go index 0ea12477b39c..4e332dd0368a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/api.go @@ -28,14 +28,13 @@ const opCreateConnection = "CreateConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConnectionRequest method. +// req, resp := client.CreateConnectionRequest(params) // -// // Example sending a request using the CreateConnectionRequest method. -// req, resp := client.CreateConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateConnection func (c *CodeStarConnections) CreateConnectionRequest(input *CreateConnectionInput) (req *request.Request, output *CreateConnectionOutput) { @@ -69,14 +68,15 @@ func (c *CodeStarConnections) CreateConnectionRequest(input *CreateConnectionInp // API operation CreateConnection for usage and error information. // // Returned Error Types: -// * LimitExceededException -// Exceeded the maximum limit for connections. // -// * ResourceNotFoundException -// Resource not found. Verify the connection resource ARN and try again. +// - LimitExceededException +// Exceeded the maximum limit for connections. +// +// - ResourceNotFoundException +// Resource not found. Verify the connection resource ARN and try again. // -// * ResourceUnavailableException -// Resource not found. Verify the ARN for the host resource and try again. +// - ResourceUnavailableException +// Resource not found. Verify the ARN for the host resource and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateConnection func (c *CodeStarConnections) CreateConnection(input *CreateConnectionInput) (*CreateConnectionOutput, error) { @@ -116,14 +116,13 @@ const opCreateHost = "CreateHost" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHostRequest method. +// req, resp := client.CreateHostRequest(params) // -// // Example sending a request using the CreateHostRequest method. -// req, resp := client.CreateHostRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateHost func (c *CodeStarConnections) CreateHostRequest(input *CreateHostInput) (req *request.Request, output *CreateHostOutput) { @@ -160,8 +159,8 @@ func (c *CodeStarConnections) CreateHostRequest(input *CreateHostInput) (req *re // API operation CreateHost for usage and error information. // // Returned Error Types: -// * LimitExceededException -// Exceeded the maximum limit for connections. +// - LimitExceededException +// Exceeded the maximum limit for connections. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/CreateHost func (c *CodeStarConnections) CreateHost(input *CreateHostInput) (*CreateHostOutput, error) { @@ -201,14 +200,13 @@ const opDeleteConnection = "DeleteConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConnectionRequest method. +// req, resp := client.DeleteConnectionRequest(params) // -// // Example sending a request using the DeleteConnectionRequest method. -// req, resp := client.DeleteConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/DeleteConnection func (c *CodeStarConnections) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput) { @@ -240,8 +238,8 @@ func (c *CodeStarConnections) DeleteConnectionRequest(input *DeleteConnectionInp // API operation DeleteConnection for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found. Verify the connection resource ARN and try again. +// - ResourceNotFoundException +// Resource not found. Verify the connection resource ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/DeleteConnection func (c *CodeStarConnections) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error) { @@ -281,14 +279,13 @@ const opDeleteHost = "DeleteHost" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteHostRequest method. +// req, resp := client.DeleteHostRequest(params) // -// // Example sending a request using the DeleteHostRequest method. -// req, resp := client.DeleteHostRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/DeleteHost func (c *CodeStarConnections) DeleteHostRequest(input *DeleteHostInput) (req *request.Request, output *DeleteHostOutput) { @@ -324,11 +321,12 @@ func (c *CodeStarConnections) DeleteHostRequest(input *DeleteHostInput) (req *re // API operation DeleteHost for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found. Verify the connection resource ARN and try again. // -// * ResourceUnavailableException -// Resource not found. Verify the ARN for the host resource and try again. +// - ResourceNotFoundException +// Resource not found. Verify the connection resource ARN and try again. +// +// - ResourceUnavailableException +// Resource not found. Verify the ARN for the host resource and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/DeleteHost func (c *CodeStarConnections) DeleteHost(input *DeleteHostInput) (*DeleteHostOutput, error) { @@ -368,14 +366,13 @@ const opGetConnection = "GetConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConnectionRequest method. +// req, resp := client.GetConnectionRequest(params) // -// // Example sending a request using the GetConnectionRequest method. -// req, resp := client.GetConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/GetConnection func (c *CodeStarConnections) GetConnectionRequest(input *GetConnectionInput) (req *request.Request, output *GetConnectionOutput) { @@ -407,11 +404,12 @@ func (c *CodeStarConnections) GetConnectionRequest(input *GetConnectionInput) (r // API operation GetConnection for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found. Verify the connection resource ARN and try again. // -// * ResourceUnavailableException -// Resource not found. Verify the ARN for the host resource and try again. +// - ResourceNotFoundException +// Resource not found. Verify the connection resource ARN and try again. +// +// - ResourceUnavailableException +// Resource not found. Verify the ARN for the host resource and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/GetConnection func (c *CodeStarConnections) GetConnection(input *GetConnectionInput) (*GetConnectionOutput, error) { @@ -451,14 +449,13 @@ const opGetHost = "GetHost" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetHostRequest method. +// req, resp := client.GetHostRequest(params) // -// // Example sending a request using the GetHostRequest method. -// req, resp := client.GetHostRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/GetHost func (c *CodeStarConnections) GetHostRequest(input *GetHostInput) (req *request.Request, output *GetHostOutput) { @@ -490,11 +487,12 @@ func (c *CodeStarConnections) GetHostRequest(input *GetHostInput) (req *request. // API operation GetHost for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found. Verify the connection resource ARN and try again. // -// * ResourceUnavailableException -// Resource not found. Verify the ARN for the host resource and try again. +// - ResourceNotFoundException +// Resource not found. Verify the connection resource ARN and try again. +// +// - ResourceUnavailableException +// Resource not found. Verify the ARN for the host resource and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/GetHost func (c *CodeStarConnections) GetHost(input *GetHostInput) (*GetHostOutput, error) { @@ -534,14 +532,13 @@ const opListConnections = "ListConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConnectionsRequest method. +// req, resp := client.ListConnectionsRequest(params) // -// // Example sending a request using the ListConnectionsRequest method. -// req, resp := client.ListConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListConnections func (c *CodeStarConnections) ListConnectionsRequest(input *ListConnectionsInput) (req *request.Request, output *ListConnectionsOutput) { @@ -606,15 +603,14 @@ func (c *CodeStarConnections) ListConnectionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListConnections operation. -// pageNum := 0 -// err := client.ListConnectionsPages(params, -// func(page *codestarconnections.ListConnectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListConnections operation. +// pageNum := 0 +// err := client.ListConnectionsPages(params, +// func(page *codestarconnections.ListConnectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeStarConnections) ListConnectionsPages(input *ListConnectionsInput, fn func(*ListConnectionsOutput, bool) bool) error { return c.ListConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -666,14 +662,13 @@ const opListHosts = "ListHosts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHostsRequest method. +// req, resp := client.ListHostsRequest(params) // -// // Example sending a request using the ListHostsRequest method. -// req, resp := client.ListHostsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListHosts func (c *CodeStarConnections) ListHostsRequest(input *ListHostsInput) (req *request.Request, output *ListHostsOutput) { @@ -738,15 +733,14 @@ func (c *CodeStarConnections) ListHostsWithContext(ctx aws.Context, input *ListH // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListHosts operation. -// pageNum := 0 -// err := client.ListHostsPages(params, -// func(page *codestarconnections.ListHostsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListHosts operation. +// pageNum := 0 +// err := client.ListHostsPages(params, +// func(page *codestarconnections.ListHostsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeStarConnections) ListHostsPages(input *ListHostsInput, fn func(*ListHostsOutput, bool) bool) error { return c.ListHostsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -798,14 +792,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListTagsForResource func (c *CodeStarConnections) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -836,8 +829,8 @@ func (c *CodeStarConnections) ListTagsForResourceRequest(input *ListTagsForResou // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found. Verify the connection resource ARN and try again. +// - ResourceNotFoundException +// Resource not found. Verify the connection resource ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/ListTagsForResource func (c *CodeStarConnections) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -877,14 +870,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/TagResource func (c *CodeStarConnections) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -917,11 +909,12 @@ func (c *CodeStarConnections) TagResourceRequest(input *TagResourceInput) (req * // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found. Verify the connection resource ARN and try again. // -// * LimitExceededException -// Exceeded the maximum limit for connections. +// - ResourceNotFoundException +// Resource not found. Verify the connection resource ARN and try again. +// +// - LimitExceededException +// Exceeded the maximum limit for connections. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/TagResource func (c *CodeStarConnections) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -961,14 +954,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UntagResource func (c *CodeStarConnections) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1000,8 +992,8 @@ func (c *CodeStarConnections) UntagResourceRequest(input *UntagResourceInput) (r // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found. Verify the connection resource ARN and try again. +// - ResourceNotFoundException +// Resource not found. Verify the connection resource ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UntagResource func (c *CodeStarConnections) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1041,14 +1033,13 @@ const opUpdateHost = "UpdateHost" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateHostRequest method. +// req, resp := client.UpdateHostRequest(params) // -// // Example sending a request using the UpdateHostRequest method. -// req, resp := client.UpdateHostRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateHost func (c *CodeStarConnections) UpdateHostRequest(input *UpdateHostInput) (req *request.Request, output *UpdateHostOutput) { @@ -1080,17 +1071,18 @@ func (c *CodeStarConnections) UpdateHostRequest(input *UpdateHostInput) (req *re // API operation UpdateHost for usage and error information. // // Returned Error Types: -// * ConflictException -// Two conflicting operations have been made on the same resource. // -// * ResourceNotFoundException -// Resource not found. Verify the connection resource ARN and try again. +// - ConflictException +// Two conflicting operations have been made on the same resource. +// +// - ResourceNotFoundException +// Resource not found. Verify the connection resource ARN and try again. // -// * ResourceUnavailableException -// Resource not found. Verify the ARN for the host resource and try again. +// - ResourceUnavailableException +// Resource not found. Verify the ARN for the host resource and try again. // -// * UnsupportedOperationException -// The operation is not supported. Check the connection status and try again. +// - UnsupportedOperationException +// The operation is not supported. Check the connection status and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateHost func (c *CodeStarConnections) UpdateHost(input *UpdateHostInput) (*UpdateHostOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/codestarconnectionsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/codestarconnectionsiface/interface.go index d3cbd3c549b1..db14a7858df7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/codestarconnectionsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/codestarconnectionsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS CodeStar connections. -// func myFunc(svc codestarconnectionsiface.CodeStarConnectionsAPI) bool { -// // Make svc.CreateConnection request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS CodeStar connections. +// func myFunc(svc codestarconnectionsiface.CodeStarConnectionsAPI) bool { +// // Make svc.CreateConnection request +// } // -// func main() { -// sess := session.New() -// svc := codestarconnections.New(sess) +// func main() { +// sess := session.New() +// svc := codestarconnections.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCodeStarConnectionsClient struct { -// codestarconnectionsiface.CodeStarConnectionsAPI -// } -// func (m *mockCodeStarConnectionsClient) CreateConnection(input *codestarconnections.CreateConnectionInput) (*codestarconnections.CreateConnectionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCodeStarConnectionsClient struct { +// codestarconnectionsiface.CodeStarConnectionsAPI +// } +// func (m *mockCodeStarConnectionsClient) CreateConnection(input *codestarconnections.CreateConnectionInput) (*codestarconnections.CreateConnectionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCodeStarConnectionsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCodeStarConnectionsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/doc.go index ae9bd10de92d..bb7e7f567cef 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/doc.go @@ -26,37 +26,37 @@ // // You can work with connections by calling: // -// * CreateConnection, which creates a uniquely named connection that can -// be referenced by services such as CodePipeline. +// - CreateConnection, which creates a uniquely named connection that can +// be referenced by services such as CodePipeline. // -// * DeleteConnection, which deletes the specified connection. +// - DeleteConnection, which deletes the specified connection. // -// * GetConnection, which returns information about the connection, including -// the connection status. +// - GetConnection, which returns information about the connection, including +// the connection status. // -// * ListConnections, which lists the connections associated with your account. +// - ListConnections, which lists the connections associated with your account. // // You can work with hosts by calling: // -// * CreateHost, which creates a host that represents the infrastructure -// where your provider is installed. +// - CreateHost, which creates a host that represents the infrastructure +// where your provider is installed. // -// * DeleteHost, which deletes the specified host. +// - DeleteHost, which deletes the specified host. // -// * GetHost, which returns information about the host, including the setup -// status. +// - GetHost, which returns information about the host, including the setup +// status. // -// * ListHosts, which lists the hosts associated with your account. +// - ListHosts, which lists the hosts associated with your account. // // You can work with tags in AWS CodeStar Connections by calling the following: // -// * ListTagsForResource, which gets information about AWS tags for a specified -// Amazon Resource Name (ARN) in AWS CodeStar Connections. +// - ListTagsForResource, which gets information about AWS tags for a specified +// Amazon Resource Name (ARN) in AWS CodeStar Connections. // -// * TagResource, which adds or updates tags for a resource in AWS CodeStar -// Connections. +// - TagResource, which adds or updates tags for a resource in AWS CodeStar +// Connections. // -// * UntagResource, which removes tags for a resource in AWS CodeStar Connections. +// - UntagResource, which removes tags for a resource in AWS CodeStar Connections. // // For information about how to use AWS CodeStar Connections, see the Developer // Tools User Guide (https://docs.aws.amazon.com/dtconsole/latest/userguide/welcome-connections.html). @@ -66,7 +66,7 @@ // See codestarconnections package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/codestarconnections/ // -// Using the Client +// # Using the Client // // To contact AWS CodeStar connections with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/service.go index 7de134e1007d..59b729ac01f1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarconnections/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CodeStarConnections client from just a session. -// svc := codestarconnections.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CodeStarConnections client with additional configuration -// svc := codestarconnections.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CodeStarConnections client from just a session. +// svc := codestarconnections.New(mySession) +// +// // Create a CodeStarConnections client with additional configuration +// svc := codestarconnections.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeStarConnections { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/api.go index 5dfaed68e382..70bfd8f95888 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/api.go @@ -29,14 +29,13 @@ const opCreateNotificationRule = "CreateNotificationRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNotificationRuleRequest method. +// req, resp := client.CreateNotificationRuleRequest(params) // -// // Example sending a request using the CreateNotificationRuleRequest method. -// req, resp := client.CreateNotificationRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/CreateNotificationRule func (c *CodeStarNotifications) CreateNotificationRuleRequest(input *CreateNotificationRuleInput) (req *request.Request, output *CreateNotificationRuleOutput) { @@ -69,28 +68,29 @@ func (c *CodeStarNotifications) CreateNotificationRuleRequest(input *CreateNotif // API operation CreateNotificationRule for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// A resource with the same name or ID already exists. Notification rule names -// must be unique in your AWS account. // -// * ValidationException -// One or more parameter values are not valid. +// - ResourceAlreadyExistsException +// A resource with the same name or ID already exists. Notification rule names +// must be unique in your AWS account. +// +// - ValidationException +// One or more parameter values are not valid. // -// * LimitExceededException -// One of the AWS CodeStar Notifications limits has been exceeded. Limits apply -// to accounts, notification rules, notifications, resources, and targets. For -// more information, see Limits. +// - LimitExceededException +// One of the AWS CodeStar Notifications limits has been exceeded. Limits apply +// to accounts, notification rules, notifications, resources, and targets. For +// more information, see Limits. // -// * ConfigurationException -// Some or all of the configuration is incomplete, missing, or not valid. +// - ConfigurationException +// Some or all of the configuration is incomplete, missing, or not valid. // -// * ConcurrentModificationException -// AWS CodeStar Notifications can't complete the request because the resource -// is being modified by another process. Wait a few minutes and try again. +// - ConcurrentModificationException +// AWS CodeStar Notifications can't complete the request because the resource +// is being modified by another process. Wait a few minutes and try again. // -// * AccessDeniedException -// AWS CodeStar Notifications can't create the notification rule because you -// do not have sufficient permissions. +// - AccessDeniedException +// AWS CodeStar Notifications can't create the notification rule because you +// do not have sufficient permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/CreateNotificationRule func (c *CodeStarNotifications) CreateNotificationRule(input *CreateNotificationRuleInput) (*CreateNotificationRuleOutput, error) { @@ -130,14 +130,13 @@ const opDeleteNotificationRule = "DeleteNotificationRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNotificationRuleRequest method. +// req, resp := client.DeleteNotificationRuleRequest(params) // -// // Example sending a request using the DeleteNotificationRuleRequest method. -// req, resp := client.DeleteNotificationRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/DeleteNotificationRule func (c *CodeStarNotifications) DeleteNotificationRuleRequest(input *DeleteNotificationRuleInput) (req *request.Request, output *DeleteNotificationRuleOutput) { @@ -168,17 +167,18 @@ func (c *CodeStarNotifications) DeleteNotificationRuleRequest(input *DeleteNotif // API operation DeleteNotificationRule for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more parameter values are not valid. // -// * LimitExceededException -// One of the AWS CodeStar Notifications limits has been exceeded. Limits apply -// to accounts, notification rules, notifications, resources, and targets. For -// more information, see Limits. +// - ValidationException +// One or more parameter values are not valid. +// +// - LimitExceededException +// One of the AWS CodeStar Notifications limits has been exceeded. Limits apply +// to accounts, notification rules, notifications, resources, and targets. For +// more information, see Limits. // -// * ConcurrentModificationException -// AWS CodeStar Notifications can't complete the request because the resource -// is being modified by another process. Wait a few minutes and try again. +// - ConcurrentModificationException +// AWS CodeStar Notifications can't complete the request because the resource +// is being modified by another process. Wait a few minutes and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/DeleteNotificationRule func (c *CodeStarNotifications) DeleteNotificationRule(input *DeleteNotificationRuleInput) (*DeleteNotificationRuleOutput, error) { @@ -218,14 +218,13 @@ const opDeleteTarget = "DeleteTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTargetRequest method. +// req, resp := client.DeleteTargetRequest(params) // -// // Example sending a request using the DeleteTargetRequest method. -// req, resp := client.DeleteTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/DeleteTarget func (c *CodeStarNotifications) DeleteTargetRequest(input *DeleteTargetInput) (req *request.Request, output *DeleteTargetOutput) { @@ -257,8 +256,8 @@ func (c *CodeStarNotifications) DeleteTargetRequest(input *DeleteTargetInput) (r // API operation DeleteTarget for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more parameter values are not valid. +// - ValidationException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/DeleteTarget func (c *CodeStarNotifications) DeleteTarget(input *DeleteTargetInput) (*DeleteTargetOutput, error) { @@ -298,14 +297,13 @@ const opDescribeNotificationRule = "DescribeNotificationRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNotificationRuleRequest method. +// req, resp := client.DescribeNotificationRuleRequest(params) // -// // Example sending a request using the DescribeNotificationRuleRequest method. -// req, resp := client.DescribeNotificationRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/DescribeNotificationRule func (c *CodeStarNotifications) DescribeNotificationRuleRequest(input *DescribeNotificationRuleInput) (req *request.Request, output *DescribeNotificationRuleOutput) { @@ -336,12 +334,13 @@ func (c *CodeStarNotifications) DescribeNotificationRuleRequest(input *DescribeN // API operation DescribeNotificationRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// AWS CodeStar Notifications can't find a resource that matches the provided -// ARN. // -// * ValidationException -// One or more parameter values are not valid. +// - ResourceNotFoundException +// AWS CodeStar Notifications can't find a resource that matches the provided +// ARN. +// +// - ValidationException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/DescribeNotificationRule func (c *CodeStarNotifications) DescribeNotificationRule(input *DescribeNotificationRuleInput) (*DescribeNotificationRuleOutput, error) { @@ -381,14 +380,13 @@ const opListEventTypes = "ListEventTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventTypesRequest method. +// req, resp := client.ListEventTypesRequest(params) // -// // Example sending a request using the ListEventTypesRequest method. -// req, resp := client.ListEventTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListEventTypes func (c *CodeStarNotifications) ListEventTypesRequest(input *ListEventTypesInput) (req *request.Request, output *ListEventTypesOutput) { @@ -425,12 +423,13 @@ func (c *CodeStarNotifications) ListEventTypesRequest(input *ListEventTypesInput // API operation ListEventTypes for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The value for the enumeration token used in the request to return the next -// batch of the results is not valid. // -// * ValidationException -// One or more parameter values are not valid. +// - InvalidNextTokenException +// The value for the enumeration token used in the request to return the next +// batch of the results is not valid. +// +// - ValidationException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListEventTypes func (c *CodeStarNotifications) ListEventTypes(input *ListEventTypesInput) (*ListEventTypesOutput, error) { @@ -462,15 +461,14 @@ func (c *CodeStarNotifications) ListEventTypesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEventTypes operation. -// pageNum := 0 -// err := client.ListEventTypesPages(params, -// func(page *codestarnotifications.ListEventTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEventTypes operation. +// pageNum := 0 +// err := client.ListEventTypesPages(params, +// func(page *codestarnotifications.ListEventTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeStarNotifications) ListEventTypesPages(input *ListEventTypesInput, fn func(*ListEventTypesOutput, bool) bool) error { return c.ListEventTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -522,14 +520,13 @@ const opListNotificationRules = "ListNotificationRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNotificationRulesRequest method. +// req, resp := client.ListNotificationRulesRequest(params) // -// // Example sending a request using the ListNotificationRulesRequest method. -// req, resp := client.ListNotificationRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListNotificationRules func (c *CodeStarNotifications) ListNotificationRulesRequest(input *ListNotificationRulesInput) (req *request.Request, output *ListNotificationRulesOutput) { @@ -566,12 +563,13 @@ func (c *CodeStarNotifications) ListNotificationRulesRequest(input *ListNotifica // API operation ListNotificationRules for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The value for the enumeration token used in the request to return the next -// batch of the results is not valid. // -// * ValidationException -// One or more parameter values are not valid. +// - InvalidNextTokenException +// The value for the enumeration token used in the request to return the next +// batch of the results is not valid. +// +// - ValidationException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListNotificationRules func (c *CodeStarNotifications) ListNotificationRules(input *ListNotificationRulesInput) (*ListNotificationRulesOutput, error) { @@ -603,15 +601,14 @@ func (c *CodeStarNotifications) ListNotificationRulesWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNotificationRules operation. -// pageNum := 0 -// err := client.ListNotificationRulesPages(params, -// func(page *codestarnotifications.ListNotificationRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNotificationRules operation. +// pageNum := 0 +// err := client.ListNotificationRulesPages(params, +// func(page *codestarnotifications.ListNotificationRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeStarNotifications) ListNotificationRulesPages(input *ListNotificationRulesInput, fn func(*ListNotificationRulesOutput, bool) bool) error { return c.ListNotificationRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -663,14 +660,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListTagsForResource func (c *CodeStarNotifications) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -701,12 +697,13 @@ func (c *CodeStarNotifications) ListTagsForResourceRequest(input *ListTagsForRes // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// AWS CodeStar Notifications can't find a resource that matches the provided -// ARN. // -// * ValidationException -// One or more parameter values are not valid. +// - ResourceNotFoundException +// AWS CodeStar Notifications can't find a resource that matches the provided +// ARN. +// +// - ValidationException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListTagsForResource func (c *CodeStarNotifications) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -746,14 +743,13 @@ const opListTargets = "ListTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTargetsRequest method. +// req, resp := client.ListTargetsRequest(params) // -// // Example sending a request using the ListTargetsRequest method. -// req, resp := client.ListTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListTargets func (c *CodeStarNotifications) ListTargetsRequest(input *ListTargetsInput) (req *request.Request, output *ListTargetsOutput) { @@ -790,12 +786,13 @@ func (c *CodeStarNotifications) ListTargetsRequest(input *ListTargetsInput) (req // API operation ListTargets for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The value for the enumeration token used in the request to return the next -// batch of the results is not valid. // -// * ValidationException -// One or more parameter values are not valid. +// - InvalidNextTokenException +// The value for the enumeration token used in the request to return the next +// batch of the results is not valid. +// +// - ValidationException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/ListTargets func (c *CodeStarNotifications) ListTargets(input *ListTargetsInput) (*ListTargetsOutput, error) { @@ -827,15 +824,14 @@ func (c *CodeStarNotifications) ListTargetsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTargets operation. -// pageNum := 0 -// err := client.ListTargetsPages(params, -// func(page *codestarnotifications.ListTargetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTargets operation. +// pageNum := 0 +// err := client.ListTargetsPages(params, +// func(page *codestarnotifications.ListTargetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CodeStarNotifications) ListTargetsPages(input *ListTargetsInput, fn func(*ListTargetsOutput, bool) bool) error { return c.ListTargetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -887,14 +883,13 @@ const opSubscribe = "Subscribe" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SubscribeRequest method. +// req, resp := client.SubscribeRequest(params) // -// // Example sending a request using the SubscribeRequest method. -// req, resp := client.SubscribeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/Subscribe func (c *CodeStarNotifications) SubscribeRequest(input *SubscribeInput) (req *request.Request, output *SubscribeOutput) { @@ -927,12 +922,13 @@ func (c *CodeStarNotifications) SubscribeRequest(input *SubscribeInput) (req *re // API operation Subscribe for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// AWS CodeStar Notifications can't find a resource that matches the provided -// ARN. +// - ValidationException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// AWS CodeStar Notifications can't find a resource that matches the provided +// ARN. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/Subscribe func (c *CodeStarNotifications) Subscribe(input *SubscribeInput) (*SubscribeOutput, error) { @@ -972,14 +968,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/TagResource func (c *CodeStarNotifications) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1010,16 +1005,17 @@ func (c *CodeStarNotifications) TagResourceRequest(input *TagResourceInput) (req // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// AWS CodeStar Notifications can't find a resource that matches the provided -// ARN. // -// * ValidationException -// One or more parameter values are not valid. +// - ResourceNotFoundException +// AWS CodeStar Notifications can't find a resource that matches the provided +// ARN. // -// * ConcurrentModificationException -// AWS CodeStar Notifications can't complete the request because the resource -// is being modified by another process. Wait a few minutes and try again. +// - ValidationException +// One or more parameter values are not valid. +// +// - ConcurrentModificationException +// AWS CodeStar Notifications can't complete the request because the resource +// is being modified by another process. Wait a few minutes and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/TagResource func (c *CodeStarNotifications) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1059,14 +1055,13 @@ const opUnsubscribe = "Unsubscribe" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnsubscribeRequest method. +// req, resp := client.UnsubscribeRequest(params) // -// // Example sending a request using the UnsubscribeRequest method. -// req, resp := client.UnsubscribeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/Unsubscribe func (c *CodeStarNotifications) UnsubscribeRequest(input *UnsubscribeInput) (req *request.Request, output *UnsubscribeOutput) { @@ -1099,8 +1094,8 @@ func (c *CodeStarNotifications) UnsubscribeRequest(input *UnsubscribeInput) (req // API operation Unsubscribe for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more parameter values are not valid. +// - ValidationException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/Unsubscribe func (c *CodeStarNotifications) Unsubscribe(input *UnsubscribeInput) (*UnsubscribeOutput, error) { @@ -1140,14 +1135,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/UntagResource func (c *CodeStarNotifications) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1180,16 +1174,17 @@ func (c *CodeStarNotifications) UntagResourceRequest(input *UntagResourceInput) // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// AWS CodeStar Notifications can't find a resource that matches the provided -// ARN. // -// * ValidationException -// One or more parameter values are not valid. +// - ResourceNotFoundException +// AWS CodeStar Notifications can't find a resource that matches the provided +// ARN. // -// * ConcurrentModificationException -// AWS CodeStar Notifications can't complete the request because the resource -// is being modified by another process. Wait a few minutes and try again. +// - ValidationException +// One or more parameter values are not valid. +// +// - ConcurrentModificationException +// AWS CodeStar Notifications can't complete the request because the resource +// is being modified by another process. Wait a few minutes and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/UntagResource func (c *CodeStarNotifications) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1229,14 +1224,13 @@ const opUpdateNotificationRule = "UpdateNotificationRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNotificationRuleRequest method. +// req, resp := client.UpdateNotificationRuleRequest(params) // -// // Example sending a request using the UpdateNotificationRuleRequest method. -// req, resp := client.UpdateNotificationRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/UpdateNotificationRule func (c *CodeStarNotifications) UpdateNotificationRuleRequest(input *UpdateNotificationRuleInput) (req *request.Request, output *UpdateNotificationRuleOutput) { @@ -1273,12 +1267,13 @@ func (c *CodeStarNotifications) UpdateNotificationRuleRequest(input *UpdateNotif // API operation UpdateNotificationRule for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// AWS CodeStar Notifications can't find a resource that matches the provided -// ARN. +// - ValidationException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// AWS CodeStar Notifications can't find a resource that matches the provided +// ARN. // // See also, https://docs.aws.amazon.com/goto/WebAPI/codestar-notifications-2019-10-15/UpdateNotificationRule func (c *CodeStarNotifications) UpdateNotificationRule(input *UpdateNotificationRuleInput) (*UpdateNotificationRuleOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/codestarnotificationsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/codestarnotificationsiface/interface.go index d5e8a349e9c7..44118c13d8ca 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/codestarnotificationsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/codestarnotificationsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS CodeStar Notifications. -// func myFunc(svc codestarnotificationsiface.CodeStarNotificationsAPI) bool { -// // Make svc.CreateNotificationRule request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS CodeStar Notifications. +// func myFunc(svc codestarnotificationsiface.CodeStarNotificationsAPI) bool { +// // Make svc.CreateNotificationRule request +// } // -// func main() { -// sess := session.New() -// svc := codestarnotifications.New(sess) +// func main() { +// sess := session.New() +// svc := codestarnotifications.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCodeStarNotificationsClient struct { -// codestarnotificationsiface.CodeStarNotificationsAPI -// } -// func (m *mockCodeStarNotificationsClient) CreateNotificationRule(input *codestarnotifications.CreateNotificationRuleInput) (*codestarnotifications.CreateNotificationRuleOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCodeStarNotificationsClient struct { +// codestarnotificationsiface.CodeStarNotificationsAPI +// } +// func (m *mockCodeStarNotificationsClient) CreateNotificationRule(input *codestarnotifications.CreateNotificationRuleInput) (*codestarnotifications.CreateNotificationRuleOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCodeStarNotificationsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCodeStarNotificationsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/doc.go index 8181f322d8d1..321512c0d6f7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/doc.go @@ -10,47 +10,47 @@ // // Notification rules, by calling the following: // -// * CreateNotificationRule, which creates a notification rule for a resource -// in your account. +// - CreateNotificationRule, which creates a notification rule for a resource +// in your account. // -// * DeleteNotificationRule, which deletes a notification rule. +// - DeleteNotificationRule, which deletes a notification rule. // -// * DescribeNotificationRule, which provides information about a notification -// rule. +// - DescribeNotificationRule, which provides information about a notification +// rule. // -// * ListNotificationRules, which lists the notification rules associated -// with your account. +// - ListNotificationRules, which lists the notification rules associated +// with your account. // -// * UpdateNotificationRule, which changes the name, events, or targets associated -// with a notification rule. +// - UpdateNotificationRule, which changes the name, events, or targets associated +// with a notification rule. // -// * Subscribe, which subscribes a target to a notification rule. +// - Subscribe, which subscribes a target to a notification rule. // -// * Unsubscribe, which removes a target from a notification rule. +// - Unsubscribe, which removes a target from a notification rule. // // Targets, by calling the following: // -// * DeleteTarget, which removes a notification rule target (SNS topic) from -// a notification rule. +// - DeleteTarget, which removes a notification rule target (SNS topic) from +// a notification rule. // -// * ListTargets, which lists the targets associated with a notification -// rule. +// - ListTargets, which lists the targets associated with a notification +// rule. // // Events, by calling the following: // -// * ListEventTypes, which lists the event types you can include in a notification -// rule. +// - ListEventTypes, which lists the event types you can include in a notification +// rule. // // Tags, by calling the following: // -// * ListTagsForResource, which lists the tags already associated with a -// notification rule in your account. +// - ListTagsForResource, which lists the tags already associated with a +// notification rule in your account. // -// * TagResource, which associates a tag you provide with a notification -// rule in your account. +// - TagResource, which associates a tag you provide with a notification +// rule in your account. // -// * UntagResource, which removes a tag from a notification rule in your -// account. +// - UntagResource, which removes a tag from a notification rule in your +// account. // // For information about how to use AWS CodeStar Notifications, see link in // the CodeStarNotifications User Guide. @@ -60,7 +60,7 @@ // See codestarnotifications package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/codestarnotifications/ // -// Using the Client +// # Using the Client // // To contact AWS CodeStar Notifications with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/service.go index 92f4cb19a4b1..3d6793624868 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/codestarnotifications/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CodeStarNotifications client from just a session. -// svc := codestarnotifications.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CodeStarNotifications client with additional configuration -// svc := codestarnotifications.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CodeStarNotifications client from just a session. +// svc := codestarnotifications.New(mySession) +// +// // Create a CodeStarNotifications client with additional configuration +// svc := codestarnotifications.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CodeStarNotifications { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/api.go index 7765c4e5ccff..69a565d825aa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/api.go @@ -30,14 +30,13 @@ const opCreateIdentityPool = "CreateIdentityPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIdentityPoolRequest method. +// req, resp := client.CreateIdentityPoolRequest(params) // -// // Example sending a request using the CreateIdentityPoolRequest method. -// req, resp := client.CreateIdentityPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/CreateIdentityPool func (c *CognitoIdentity) CreateIdentityPoolRequest(input *CreateIdentityPoolInput) (req *request.Request, output *IdentityPool) { @@ -62,15 +61,15 @@ func (c *CognitoIdentity) CreateIdentityPoolRequest(input *CreateIdentityPoolInp // information that is specific to your AWS account. The keys for SupportedLoginProviders // are as follows: // -// * Facebook: graph.facebook.com +// - Facebook: graph.facebook.com // -// * Google: accounts.google.com +// - Google: accounts.google.com // -// * Amazon: www.amazon.com +// - Amazon: www.amazon.com // -// * Twitter: api.twitter.com +// - Twitter: api.twitter.com // -// * Digits: www.digits.com +// - Digits: www.digits.com // // You must use AWS Developer credentials to call this API. // @@ -82,24 +81,25 @@ func (c *CognitoIdentity) CreateIdentityPoolRequest(input *CreateIdentityPoolInp // API operation CreateIdentityPool for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceConflictException -// Thrown when a user tries to use a login which is already linked to another -// account. +// - ResourceConflictException +// Thrown when a user tries to use a login which is already linked to another +// account. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // -// * LimitExceededException -// Thrown when the total number of user pools has exceeded a preset limit. +// - LimitExceededException +// Thrown when the total number of user pools has exceeded a preset limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/CreateIdentityPool func (c *CognitoIdentity) CreateIdentityPool(input *CreateIdentityPoolInput) (*IdentityPool, error) { @@ -139,14 +139,13 @@ const opDeleteIdentities = "DeleteIdentities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIdentitiesRequest method. +// req, resp := client.DeleteIdentitiesRequest(params) // -// // Example sending a request using the DeleteIdentitiesRequest method. -// req, resp := client.DeleteIdentitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentities func (c *CognitoIdentity) DeleteIdentitiesRequest(input *DeleteIdentitiesInput) (req *request.Request, output *DeleteIdentitiesOutput) { @@ -180,14 +179,15 @@ func (c *CognitoIdentity) DeleteIdentitiesRequest(input *DeleteIdentitiesInput) // API operation DeleteIdentities for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - TooManyRequestsException +// Thrown when a request is throttled. +// +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentities func (c *CognitoIdentity) DeleteIdentities(input *DeleteIdentitiesInput) (*DeleteIdentitiesOutput, error) { @@ -227,14 +227,13 @@ const opDeleteIdentityPool = "DeleteIdentityPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIdentityPoolRequest method. +// req, resp := client.DeleteIdentityPoolRequest(params) // -// // Example sending a request using the DeleteIdentityPoolRequest method. -// req, resp := client.DeleteIdentityPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentityPool func (c *CognitoIdentity) DeleteIdentityPoolRequest(input *DeleteIdentityPoolInput) (req *request.Request, output *DeleteIdentityPoolOutput) { @@ -269,21 +268,22 @@ func (c *CognitoIdentity) DeleteIdentityPoolRequest(input *DeleteIdentityPoolInp // API operation DeleteIdentityPool for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DeleteIdentityPool func (c *CognitoIdentity) DeleteIdentityPool(input *DeleteIdentityPoolInput) (*DeleteIdentityPoolOutput, error) { @@ -323,14 +323,13 @@ const opDescribeIdentity = "DescribeIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIdentityRequest method. +// req, resp := client.DescribeIdentityRequest(params) // -// // Example sending a request using the DescribeIdentityRequest method. -// req, resp := client.DescribeIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentity func (c *CognitoIdentity) DescribeIdentityRequest(input *DescribeIdentityInput) (req *request.Request, output *IdentityDescription) { @@ -364,21 +363,22 @@ func (c *CognitoIdentity) DescribeIdentityRequest(input *DescribeIdentityInput) // API operation DescribeIdentity for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentity func (c *CognitoIdentity) DescribeIdentity(input *DescribeIdentityInput) (*IdentityDescription, error) { @@ -418,14 +418,13 @@ const opDescribeIdentityPool = "DescribeIdentityPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIdentityPoolRequest method. +// req, resp := client.DescribeIdentityPoolRequest(params) // -// // Example sending a request using the DescribeIdentityPoolRequest method. -// req, resp := client.DescribeIdentityPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentityPool func (c *CognitoIdentity) DescribeIdentityPoolRequest(input *DescribeIdentityPoolInput) (req *request.Request, output *IdentityPool) { @@ -459,21 +458,22 @@ func (c *CognitoIdentity) DescribeIdentityPoolRequest(input *DescribeIdentityPoo // API operation DescribeIdentityPool for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - TooManyRequestsException +// Thrown when a request is throttled. +// +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/DescribeIdentityPool func (c *CognitoIdentity) DescribeIdentityPool(input *DescribeIdentityPoolInput) (*IdentityPool, error) { @@ -513,14 +513,13 @@ const opGetCredentialsForIdentity = "GetCredentialsForIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCredentialsForIdentityRequest method. +// req, resp := client.GetCredentialsForIdentityRequest(params) // -// // Example sending a request using the GetCredentialsForIdentityRequest method. -// req, resp := client.GetCredentialsForIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetCredentialsForIdentity func (c *CognitoIdentity) GetCredentialsForIdentityRequest(input *GetCredentialsForIdentityInput) (req *request.Request, output *GetCredentialsForIdentityOutput) { @@ -557,33 +556,34 @@ func (c *CognitoIdentity) GetCredentialsForIdentityRequest(input *GetCredentials // API operation GetCredentialsForIdentity for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceConflictException -// Thrown when a user tries to use a login which is already linked to another -// account. +// - ResourceConflictException +// Thrown when a user tries to use a login which is already linked to another +// account. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * InvalidIdentityPoolConfigurationException -// Thrown if the identity pool has no role associated for the given auth type -// (auth/unauth) or if the AssumeRole fails. +// - InvalidIdentityPoolConfigurationException +// Thrown if the identity pool has no role associated for the given auth type +// (auth/unauth) or if the AssumeRole fails. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // -// * ExternalServiceException -// An exception thrown when a dependent service such as Facebook or Twitter -// is not responding +// - ExternalServiceException +// An exception thrown when a dependent service such as Facebook or Twitter +// is not responding // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetCredentialsForIdentity func (c *CognitoIdentity) GetCredentialsForIdentity(input *GetCredentialsForIdentityInput) (*GetCredentialsForIdentityOutput, error) { @@ -623,14 +623,13 @@ const opGetId = "GetId" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIdRequest method. +// req, resp := client.GetIdRequest(params) // -// // Example sending a request using the GetIdRequest method. -// req, resp := client.GetIdRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetId func (c *CognitoIdentity) GetIdRequest(input *GetIdInput) (req *request.Request, output *GetIdOutput) { @@ -665,32 +664,33 @@ func (c *CognitoIdentity) GetIdRequest(input *GetIdInput) (req *request.Request, // API operation GetId for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceConflictException -// Thrown when a user tries to use a login which is already linked to another -// account. +// - ResourceConflictException +// Thrown when a user tries to use a login which is already linked to another +// account. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // -// * LimitExceededException -// Thrown when the total number of user pools has exceeded a preset limit. +// - LimitExceededException +// Thrown when the total number of user pools has exceeded a preset limit. // -// * ExternalServiceException -// An exception thrown when a dependent service such as Facebook or Twitter -// is not responding +// - ExternalServiceException +// An exception thrown when a dependent service such as Facebook or Twitter +// is not responding // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetId func (c *CognitoIdentity) GetId(input *GetIdInput) (*GetIdOutput, error) { @@ -730,14 +730,13 @@ const opGetIdentityPoolRoles = "GetIdentityPoolRoles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIdentityPoolRolesRequest method. +// req, resp := client.GetIdentityPoolRolesRequest(params) // -// // Example sending a request using the GetIdentityPoolRolesRequest method. -// req, resp := client.GetIdentityPoolRolesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdentityPoolRoles func (c *CognitoIdentity) GetIdentityPoolRolesRequest(input *GetIdentityPoolRolesInput) (req *request.Request, output *GetIdentityPoolRolesOutput) { @@ -770,25 +769,26 @@ func (c *CognitoIdentity) GetIdentityPoolRolesRequest(input *GetIdentityPoolRole // API operation GetIdentityPoolRoles for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * ResourceConflictException -// Thrown when a user tries to use a login which is already linked to another -// account. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - ResourceConflictException +// Thrown when a user tries to use a login which is already linked to another +// account. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - TooManyRequestsException +// Thrown when a request is throttled. +// +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetIdentityPoolRoles func (c *CognitoIdentity) GetIdentityPoolRoles(input *GetIdentityPoolRolesInput) (*GetIdentityPoolRolesOutput, error) { @@ -828,14 +828,13 @@ const opGetOpenIdToken = "GetOpenIdToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOpenIdTokenRequest method. +// req, resp := client.GetOpenIdTokenRequest(params) // -// // Example sending a request using the GetOpenIdTokenRequest method. -// req, resp := client.GetOpenIdTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdToken func (c *CognitoIdentity) GetOpenIdTokenRequest(input *GetOpenIdTokenInput) (req *request.Request, output *GetOpenIdTokenOutput) { @@ -873,29 +872,30 @@ func (c *CognitoIdentity) GetOpenIdTokenRequest(input *GetOpenIdTokenInput) (req // API operation GetOpenIdToken for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceConflictException -// Thrown when a user tries to use a login which is already linked to another -// account. +// - ResourceConflictException +// Thrown when a user tries to use a login which is already linked to another +// account. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // -// * ExternalServiceException -// An exception thrown when a dependent service such as Facebook or Twitter -// is not responding +// - ExternalServiceException +// An exception thrown when a dependent service such as Facebook or Twitter +// is not responding // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdToken func (c *CognitoIdentity) GetOpenIdToken(input *GetOpenIdTokenInput) (*GetOpenIdTokenOutput, error) { @@ -935,14 +935,13 @@ const opGetOpenIdTokenForDeveloperIdentity = "GetOpenIdTokenForDeveloperIdentity // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOpenIdTokenForDeveloperIdentityRequest method. +// req, resp := client.GetOpenIdTokenForDeveloperIdentityRequest(params) // -// // Example sending a request using the GetOpenIdTokenForDeveloperIdentityRequest method. -// req, resp := client.GetOpenIdTokenForDeveloperIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenForDeveloperIdentity func (c *CognitoIdentity) GetOpenIdTokenForDeveloperIdentityRequest(input *GetOpenIdTokenForDeveloperIdentityInput) (req *request.Request, output *GetOpenIdTokenForDeveloperIdentityOutput) { @@ -988,29 +987,30 @@ func (c *CognitoIdentity) GetOpenIdTokenForDeveloperIdentityRequest(input *GetOp // API operation GetOpenIdTokenForDeveloperIdentity for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceConflictException -// Thrown when a user tries to use a login which is already linked to another -// account. +// - ResourceConflictException +// Thrown when a user tries to use a login which is already linked to another +// account. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // -// * DeveloperUserAlreadyRegisteredException -// The provided developer user identifier is already registered with Cognito -// under a different identity ID. +// - DeveloperUserAlreadyRegisteredException +// The provided developer user identifier is already registered with Cognito +// under a different identity ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetOpenIdTokenForDeveloperIdentity func (c *CognitoIdentity) GetOpenIdTokenForDeveloperIdentity(input *GetOpenIdTokenForDeveloperIdentityInput) (*GetOpenIdTokenForDeveloperIdentityOutput, error) { @@ -1050,14 +1050,13 @@ const opGetPrincipalTagAttributeMap = "GetPrincipalTagAttributeMap" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPrincipalTagAttributeMapRequest method. +// req, resp := client.GetPrincipalTagAttributeMapRequest(params) // -// // Example sending a request using the GetPrincipalTagAttributeMapRequest method. -// req, resp := client.GetPrincipalTagAttributeMapRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetPrincipalTagAttributeMap func (c *CognitoIdentity) GetPrincipalTagAttributeMapRequest(input *GetPrincipalTagAttributeMapInput) (req *request.Request, output *GetPrincipalTagAttributeMapOutput) { @@ -1089,21 +1088,22 @@ func (c *CognitoIdentity) GetPrincipalTagAttributeMapRequest(input *GetPrincipal // API operation GetPrincipalTagAttributeMap for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - TooManyRequestsException +// Thrown when a request is throttled. +// +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/GetPrincipalTagAttributeMap func (c *CognitoIdentity) GetPrincipalTagAttributeMap(input *GetPrincipalTagAttributeMapInput) (*GetPrincipalTagAttributeMapOutput, error) { @@ -1143,14 +1143,13 @@ const opListIdentities = "ListIdentities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIdentitiesRequest method. +// req, resp := client.ListIdentitiesRequest(params) // -// // Example sending a request using the ListIdentitiesRequest method. -// req, resp := client.ListIdentitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentities func (c *CognitoIdentity) ListIdentitiesRequest(input *ListIdentitiesInput) (req *request.Request, output *ListIdentitiesOutput) { @@ -1183,21 +1182,22 @@ func (c *CognitoIdentity) ListIdentitiesRequest(input *ListIdentitiesInput) (req // API operation ListIdentities for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentities func (c *CognitoIdentity) ListIdentities(input *ListIdentitiesInput) (*ListIdentitiesOutput, error) { @@ -1237,14 +1237,13 @@ const opListIdentityPools = "ListIdentityPools" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIdentityPoolsRequest method. +// req, resp := client.ListIdentityPoolsRequest(params) // -// // Example sending a request using the ListIdentityPoolsRequest method. -// req, resp := client.ListIdentityPoolsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentityPools func (c *CognitoIdentity) ListIdentityPoolsRequest(input *ListIdentityPoolsInput) (req *request.Request, output *ListIdentityPoolsOutput) { @@ -1283,21 +1282,22 @@ func (c *CognitoIdentity) ListIdentityPoolsRequest(input *ListIdentityPoolsInput // API operation ListIdentityPools for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListIdentityPools func (c *CognitoIdentity) ListIdentityPools(input *ListIdentityPoolsInput) (*ListIdentityPoolsOutput, error) { @@ -1329,15 +1329,14 @@ func (c *CognitoIdentity) ListIdentityPoolsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListIdentityPools operation. -// pageNum := 0 -// err := client.ListIdentityPoolsPages(params, -// func(page *cognitoidentity.ListIdentityPoolsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListIdentityPools operation. +// pageNum := 0 +// err := client.ListIdentityPoolsPages(params, +// func(page *cognitoidentity.ListIdentityPoolsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CognitoIdentity) ListIdentityPoolsPages(input *ListIdentityPoolsInput, fn func(*ListIdentityPoolsOutput, bool) bool) error { return c.ListIdentityPoolsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1389,14 +1388,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListTagsForResource func (c *CognitoIdentity) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1433,21 +1431,22 @@ func (c *CognitoIdentity) ListTagsForResourceRequest(input *ListTagsForResourceI // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/ListTagsForResource func (c *CognitoIdentity) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1487,14 +1486,13 @@ const opLookupDeveloperIdentity = "LookupDeveloperIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the LookupDeveloperIdentityRequest method. +// req, resp := client.LookupDeveloperIdentityRequest(params) // -// // Example sending a request using the LookupDeveloperIdentityRequest method. -// req, resp := client.LookupDeveloperIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/LookupDeveloperIdentity func (c *CognitoIdentity) LookupDeveloperIdentityRequest(input *LookupDeveloperIdentityInput) (req *request.Request, output *LookupDeveloperIdentityOutput) { @@ -1541,25 +1539,26 @@ func (c *CognitoIdentity) LookupDeveloperIdentityRequest(input *LookupDeveloperI // API operation LookupDeveloperIdentity for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * ResourceConflictException -// Thrown when a user tries to use a login which is already linked to another -// account. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - ResourceConflictException +// Thrown when a user tries to use a login which is already linked to another +// account. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - TooManyRequestsException +// Thrown when a request is throttled. +// +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/LookupDeveloperIdentity func (c *CognitoIdentity) LookupDeveloperIdentity(input *LookupDeveloperIdentityInput) (*LookupDeveloperIdentityOutput, error) { @@ -1599,14 +1598,13 @@ const opMergeDeveloperIdentities = "MergeDeveloperIdentities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MergeDeveloperIdentitiesRequest method. +// req, resp := client.MergeDeveloperIdentitiesRequest(params) // -// // Example sending a request using the MergeDeveloperIdentitiesRequest method. -// req, resp := client.MergeDeveloperIdentitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MergeDeveloperIdentities func (c *CognitoIdentity) MergeDeveloperIdentitiesRequest(input *MergeDeveloperIdentitiesInput) (req *request.Request, output *MergeDeveloperIdentitiesOutput) { @@ -1649,25 +1647,26 @@ func (c *CognitoIdentity) MergeDeveloperIdentitiesRequest(input *MergeDeveloperI // API operation MergeDeveloperIdentities for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceConflictException -// Thrown when a user tries to use a login which is already linked to another -// account. +// - ResourceConflictException +// Thrown when a user tries to use a login which is already linked to another +// account. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/MergeDeveloperIdentities func (c *CognitoIdentity) MergeDeveloperIdentities(input *MergeDeveloperIdentitiesInput) (*MergeDeveloperIdentitiesOutput, error) { @@ -1707,14 +1706,13 @@ const opSetIdentityPoolRoles = "SetIdentityPoolRoles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetIdentityPoolRolesRequest method. +// req, resp := client.SetIdentityPoolRolesRequest(params) // -// // Example sending a request using the SetIdentityPoolRolesRequest method. -// req, resp := client.SetIdentityPoolRolesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetIdentityPoolRoles func (c *CognitoIdentity) SetIdentityPoolRolesRequest(input *SetIdentityPoolRolesInput) (req *request.Request, output *SetIdentityPoolRolesOutput) { @@ -1749,28 +1747,29 @@ func (c *CognitoIdentity) SetIdentityPoolRolesRequest(input *SetIdentityPoolRole // API operation SetIdentityPoolRoles for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceConflictException -// Thrown when a user tries to use a login which is already linked to another -// account. +// - ResourceConflictException +// Thrown when a user tries to use a login which is already linked to another +// account. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // -// * ConcurrentModificationException -// Thrown if there are parallel requests to modify a resource. +// - ConcurrentModificationException +// Thrown if there are parallel requests to modify a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetIdentityPoolRoles func (c *CognitoIdentity) SetIdentityPoolRoles(input *SetIdentityPoolRolesInput) (*SetIdentityPoolRolesOutput, error) { @@ -1810,14 +1809,13 @@ const opSetPrincipalTagAttributeMap = "SetPrincipalTagAttributeMap" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetPrincipalTagAttributeMapRequest method. +// req, resp := client.SetPrincipalTagAttributeMapRequest(params) // -// // Example sending a request using the SetPrincipalTagAttributeMapRequest method. -// req, resp := client.SetPrincipalTagAttributeMapRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetPrincipalTagAttributeMap func (c *CognitoIdentity) SetPrincipalTagAttributeMapRequest(input *SetPrincipalTagAttributeMapInput) (req *request.Request, output *SetPrincipalTagAttributeMapOutput) { @@ -1849,21 +1847,22 @@ func (c *CognitoIdentity) SetPrincipalTagAttributeMapRequest(input *SetPrincipal // API operation SetPrincipalTagAttributeMap for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - TooManyRequestsException +// Thrown when a request is throttled. +// +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/SetPrincipalTagAttributeMap func (c *CognitoIdentity) SetPrincipalTagAttributeMap(input *SetPrincipalTagAttributeMapInput) (*SetPrincipalTagAttributeMapOutput, error) { @@ -1903,14 +1902,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/TagResource func (c *CognitoIdentity) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1959,21 +1957,22 @@ func (c *CognitoIdentity) TagResourceRequest(input *TagResourceInput) (req *requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/TagResource func (c *CognitoIdentity) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2013,14 +2012,13 @@ const opUnlinkDeveloperIdentity = "UnlinkDeveloperIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnlinkDeveloperIdentityRequest method. +// req, resp := client.UnlinkDeveloperIdentityRequest(params) // -// // Example sending a request using the UnlinkDeveloperIdentityRequest method. -// req, resp := client.UnlinkDeveloperIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkDeveloperIdentity func (c *CognitoIdentity) UnlinkDeveloperIdentityRequest(input *UnlinkDeveloperIdentityInput) (req *request.Request, output *UnlinkDeveloperIdentityOutput) { @@ -2057,25 +2055,26 @@ func (c *CognitoIdentity) UnlinkDeveloperIdentityRequest(input *UnlinkDeveloperI // API operation UnlinkDeveloperIdentity for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceConflictException -// Thrown when a user tries to use a login which is already linked to another -// account. +// - ResourceConflictException +// Thrown when a user tries to use a login which is already linked to another +// account. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkDeveloperIdentity func (c *CognitoIdentity) UnlinkDeveloperIdentity(input *UnlinkDeveloperIdentityInput) (*UnlinkDeveloperIdentityOutput, error) { @@ -2115,14 +2114,13 @@ const opUnlinkIdentity = "UnlinkIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnlinkIdentityRequest method. +// req, resp := client.UnlinkIdentityRequest(params) // -// // Example sending a request using the UnlinkIdentityRequest method. -// req, resp := client.UnlinkIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkIdentity func (c *CognitoIdentity) UnlinkIdentityRequest(input *UnlinkIdentityInput) (req *request.Request, output *UnlinkIdentityOutput) { @@ -2159,29 +2157,30 @@ func (c *CognitoIdentity) UnlinkIdentityRequest(input *UnlinkIdentityInput) (req // API operation UnlinkIdentity for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * ResourceConflictException -// Thrown when a user tries to use a login which is already linked to another -// account. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - ResourceConflictException +// Thrown when a user tries to use a login which is already linked to another +// account. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * ExternalServiceException -// An exception thrown when a dependent service such as Facebook or Twitter -// is not responding +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. +// +// - ExternalServiceException +// An exception thrown when a dependent service such as Facebook or Twitter +// is not responding // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UnlinkIdentity func (c *CognitoIdentity) UnlinkIdentity(input *UnlinkIdentityInput) (*UnlinkIdentityOutput, error) { @@ -2221,14 +2220,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UntagResource func (c *CognitoIdentity) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2261,21 +2259,22 @@ func (c *CognitoIdentity) UntagResourceRequest(input *UntagResourceInput) (req * // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UntagResource func (c *CognitoIdentity) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2315,14 +2314,13 @@ const opUpdateIdentityPool = "UpdateIdentityPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIdentityPoolRequest method. +// req, resp := client.UpdateIdentityPoolRequest(params) // -// // Example sending a request using the UpdateIdentityPoolRequest method. -// req, resp := client.UpdateIdentityPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UpdateIdentityPool func (c *CognitoIdentity) UpdateIdentityPoolRequest(input *IdentityPool) (req *request.Request, output *IdentityPool) { @@ -2355,31 +2353,32 @@ func (c *CognitoIdentity) UpdateIdentityPoolRequest(input *IdentityPool) (req *r // API operation UpdateIdentityPool for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown for missing or bad input parameter(s). // -// * ResourceNotFoundException -// Thrown when the requested resource (for example, a dataset or record) does -// not exist. +// - InvalidParameterException +// Thrown for missing or bad input parameter(s). +// +// - ResourceNotFoundException +// Thrown when the requested resource (for example, a dataset or record) does +// not exist. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceConflictException -// Thrown when a user tries to use a login which is already linked to another -// account. +// - ResourceConflictException +// Thrown when a user tries to use a login which is already linked to another +// account. // -// * TooManyRequestsException -// Thrown when a request is throttled. +// - TooManyRequestsException +// Thrown when a request is throttled. // -// * InternalErrorException -// Thrown when the service encounters an error during processing the request. +// - InternalErrorException +// Thrown when the service encounters an error during processing the request. // -// * ConcurrentModificationException -// Thrown if there are parallel requests to modify a resource. +// - ConcurrentModificationException +// Thrown if there are parallel requests to modify a resource. // -// * LimitExceededException -// Thrown when the total number of user pools has exceeded a preset limit. +// - LimitExceededException +// Thrown when the total number of user pools has exceeded a preset limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-identity-2014-06-30/UpdateIdentityPool func (c *CognitoIdentity) UpdateIdentityPool(input *IdentityPool) (*IdentityPool, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/cognitoidentityiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/cognitoidentityiface/interface.go index 1b355556d006..7067025325b4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/cognitoidentityiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/cognitoidentityiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Cognito Identity. -// func myFunc(svc cognitoidentityiface.CognitoIdentityAPI) bool { -// // Make svc.CreateIdentityPool request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Cognito Identity. +// func myFunc(svc cognitoidentityiface.CognitoIdentityAPI) bool { +// // Make svc.CreateIdentityPool request +// } // -// func main() { -// sess := session.New() -// svc := cognitoidentity.New(sess) +// func main() { +// sess := session.New() +// svc := cognitoidentity.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCognitoIdentityClient struct { -// cognitoidentityiface.CognitoIdentityAPI -// } -// func (m *mockCognitoIdentityClient) CreateIdentityPool(input *cognitoidentity.CreateIdentityPoolInput) (*cognitoidentity.IdentityPool, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCognitoIdentityClient struct { +// cognitoidentityiface.CognitoIdentityAPI +// } +// func (m *mockCognitoIdentityClient) CreateIdentityPool(input *cognitoidentity.CreateIdentityPoolInput) (*cognitoidentity.IdentityPool, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCognitoIdentityClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCognitoIdentityClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/doc.go index 5ade72d9826b..ac08dc2c6f1e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/doc.go @@ -25,7 +25,7 @@ // See cognitoidentity package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentity/ // -// Using the Client +// # Using the Client // // To contact Amazon Cognito Identity with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/service.go index 02b611a5f5fb..265addc6753d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentity/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CognitoIdentity client from just a session. -// svc := cognitoidentity.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CognitoIdentity client with additional configuration -// svc := cognitoidentity.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CognitoIdentity client from just a session. +// svc := cognitoidentity.New(mySession) +// +// // Create a CognitoIdentity client with additional configuration +// svc := cognitoidentity.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CognitoIdentity { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/api.go index da02e785607e..0b84d6c5a7ab 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/api.go @@ -30,14 +30,13 @@ const opAddCustomAttributes = "AddCustomAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddCustomAttributesRequest method. +// req, resp := client.AddCustomAttributesRequest(params) // -// // Example sending a request using the AddCustomAttributesRequest method. -// req, resp := client.AddCustomAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributes func (c *CognitoIdentityProvider) AddCustomAttributesRequest(input *AddCustomAttributesInput) (req *request.Request, output *AddCustomAttributesOutput) { @@ -69,27 +68,28 @@ func (c *CognitoIdentityProvider) AddCustomAttributesRequest(input *AddCustomAtt // API operation AddCustomAttributes for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserImportInProgressException -// This exception is thrown when you're trying to modify a user pool while a -// user import job is in progress for that pool. +// - UserImportInProgressException +// This exception is thrown when you're trying to modify a user pool while a +// user import job is in progress for that pool. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AddCustomAttributes func (c *CognitoIdentityProvider) AddCustomAttributes(input *AddCustomAttributesInput) (*AddCustomAttributesOutput, error) { @@ -129,14 +129,13 @@ const opAdminAddUserToGroup = "AdminAddUserToGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminAddUserToGroupRequest method. +// req, resp := client.AdminAddUserToGroupRequest(params) // -// // Example sending a request using the AdminAddUserToGroupRequest method. -// req, resp := client.AdminAddUserToGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroup func (c *CognitoIdentityProvider) AdminAddUserToGroupRequest(input *AdminAddUserToGroupInput) (req *request.Request, output *AdminAddUserToGroupOutput) { @@ -170,26 +169,27 @@ func (c *CognitoIdentityProvider) AdminAddUserToGroupRequest(input *AdminAddUser // API operation AdminAddUserToGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminAddUserToGroup func (c *CognitoIdentityProvider) AdminAddUserToGroup(input *AdminAddUserToGroupInput) (*AdminAddUserToGroupOutput, error) { @@ -229,14 +229,13 @@ const opAdminConfirmSignUp = "AdminConfirmSignUp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminConfirmSignUpRequest method. +// req, resp := client.AdminConfirmSignUpRequest(params) // -// // Example sending a request using the AdminConfirmSignUpRequest method. -// req, resp := client.AdminConfirmSignUpRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUp func (c *CognitoIdentityProvider) AdminConfirmSignUpRequest(input *AdminConfirmSignUpInput) (req *request.Request, output *AdminConfirmSignUpOutput) { @@ -271,46 +270,47 @@ func (c *CognitoIdentityProvider) AdminConfirmSignUpRequest(input *AdminConfirmS // API operation AdminConfirmSignUp for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * UnexpectedLambdaException -// This exception is thrown when Amazon Cognito encounters an unexpected exception -// with Lambda. +// - UnexpectedLambdaException +// This exception is thrown when Amazon Cognito encounters an unexpected exception +// with Lambda. // -// * UserLambdaValidationException -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the Lambda service. +// - UserLambdaValidationException +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the Lambda service. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyFailedAttemptsException -// This exception is thrown when the user has made too many failed attempts -// for a given action, such as sign-in. +// - TooManyFailedAttemptsException +// This exception is thrown when the user has made too many failed attempts +// for a given action, such as sign-in. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminConfirmSignUp func (c *CognitoIdentityProvider) AdminConfirmSignUp(input *AdminConfirmSignUpInput) (*AdminConfirmSignUpOutput, error) { @@ -350,14 +350,13 @@ const opAdminCreateUser = "AdminCreateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminCreateUserRequest method. +// req, resp := client.AdminCreateUserRequest(params) // -// // Example sending a request using the AdminCreateUserRequest method. -// req, resp := client.AdminCreateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUser func (c *CognitoIdentityProvider) AdminCreateUserRequest(input *AdminCreateUserInput) (req *request.Request, output *AdminCreateUserOutput) { @@ -421,64 +420,65 @@ func (c *CognitoIdentityProvider) AdminCreateUserRequest(input *AdminCreateUserI // API operation AdminCreateUser for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * UsernameExistsException -// This exception is thrown when Amazon Cognito encounters a user name that -// already exists in the user pool. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InvalidPasswordException -// This exception is thrown when Amazon Cognito encounters an invalid password. +// - UsernameExistsException +// This exception is thrown when Amazon Cognito encounters a user name that +// already exists in the user pool. // -// * CodeDeliveryFailureException -// This exception is thrown when a verification code fails to deliver successfully. +// - InvalidPasswordException +// This exception is thrown when Amazon Cognito encounters an invalid password. // -// * UnexpectedLambdaException -// This exception is thrown when Amazon Cognito encounters an unexpected exception -// with Lambda. +// - CodeDeliveryFailureException +// This exception is thrown when a verification code fails to deliver successfully. // -// * UserLambdaValidationException -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the Lambda service. +// - UnexpectedLambdaException +// This exception is thrown when Amazon Cognito encounters an unexpected exception +// with Lambda. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - UserLambdaValidationException +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the Lambda service. // -// * PreconditionNotMetException -// This exception is thrown when a precondition is not met. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * InvalidSmsRoleAccessPolicyException -// This exception is returned when the role provided for SMS configuration doesn't -// have permission to publish using Amazon SNS. +// - PreconditionNotMetException +// This exception is thrown when a precondition is not met. // -// * InvalidSmsRoleTrustRelationshipException -// This exception is thrown when the trust relationship is not valid for the -// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. +// - InvalidSmsRoleAccessPolicyException +// This exception is returned when the role provided for SMS configuration doesn't +// have permission to publish using Amazon SNS. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidSmsRoleTrustRelationshipException +// This exception is thrown when the trust relationship is not valid for the +// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UnsupportedUserStateException -// The request failed because the user is in an unsupported state. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UnsupportedUserStateException +// The request failed because the user is in an unsupported state. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminCreateUser func (c *CognitoIdentityProvider) AdminCreateUser(input *AdminCreateUserInput) (*AdminCreateUserOutput, error) { @@ -518,14 +518,13 @@ const opAdminDeleteUser = "AdminDeleteUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminDeleteUserRequest method. +// req, resp := client.AdminDeleteUserRequest(params) // -// // Example sending a request using the AdminDeleteUserRequest method. -// req, resp := client.AdminDeleteUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUser func (c *CognitoIdentityProvider) AdminDeleteUserRequest(input *AdminDeleteUserInput) (req *request.Request, output *AdminDeleteUserOutput) { @@ -559,26 +558,27 @@ func (c *CognitoIdentityProvider) AdminDeleteUserRequest(input *AdminDeleteUserI // API operation AdminDeleteUser for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotFoundException +// This exception is thrown when a user isn't found. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUser func (c *CognitoIdentityProvider) AdminDeleteUser(input *AdminDeleteUserInput) (*AdminDeleteUserOutput, error) { @@ -618,14 +618,13 @@ const opAdminDeleteUserAttributes = "AdminDeleteUserAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminDeleteUserAttributesRequest method. +// req, resp := client.AdminDeleteUserAttributesRequest(params) // -// // Example sending a request using the AdminDeleteUserAttributesRequest method. -// req, resp := client.AdminDeleteUserAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributes func (c *CognitoIdentityProvider) AdminDeleteUserAttributesRequest(input *AdminDeleteUserAttributesInput) (req *request.Request, output *AdminDeleteUserAttributesOutput) { @@ -660,26 +659,27 @@ func (c *CognitoIdentityProvider) AdminDeleteUserAttributesRequest(input *AdminD // API operation AdminDeleteUserAttributes for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotFoundException +// This exception is thrown when a user isn't found. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDeleteUserAttributes func (c *CognitoIdentityProvider) AdminDeleteUserAttributes(input *AdminDeleteUserAttributesInput) (*AdminDeleteUserAttributesOutput, error) { @@ -719,14 +719,13 @@ const opAdminDisableProviderForUser = "AdminDisableProviderForUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminDisableProviderForUserRequest method. +// req, resp := client.AdminDisableProviderForUserRequest(params) // -// // Example sending a request using the AdminDisableProviderForUserRequest method. -// req, resp := client.AdminDisableProviderForUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableProviderForUser func (c *CognitoIdentityProvider) AdminDisableProviderForUserRequest(input *AdminDisableProviderForUserInput) (req *request.Request, output *AdminDisableProviderForUserOutput) { @@ -787,33 +786,34 @@ func (c *CognitoIdentityProvider) AdminDisableProviderForUserRequest(input *Admi // API operation AdminDisableProviderForUser for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * AliasExistsException -// This exception is thrown when a user tries to confirm the account with an -// email address or phone number that has already been supplied as an alias -// from a different account. This exception indicates that an account with this -// email address or phone already exists in a user pool that you've configured -// to use email address or phone number as a sign-in alias. +// - AliasExistsException +// This exception is thrown when a user tries to confirm the account with an +// email address or phone number that has already been supplied as an alias +// from a different account. This exception indicates that an account with this +// email address or phone already exists in a user pool that you've configured +// to use email address or phone number as a sign-in alias. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableProviderForUser func (c *CognitoIdentityProvider) AdminDisableProviderForUser(input *AdminDisableProviderForUserInput) (*AdminDisableProviderForUserOutput, error) { @@ -853,14 +853,13 @@ const opAdminDisableUser = "AdminDisableUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminDisableUserRequest method. +// req, resp := client.AdminDisableUserRequest(params) // -// // Example sending a request using the AdminDisableUserRequest method. -// req, resp := client.AdminDisableUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUser func (c *CognitoIdentityProvider) AdminDisableUserRequest(input *AdminDisableUserInput) (req *request.Request, output *AdminDisableUserOutput) { @@ -894,26 +893,27 @@ func (c *CognitoIdentityProvider) AdminDisableUserRequest(input *AdminDisableUse // API operation AdminDisableUser for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminDisableUser func (c *CognitoIdentityProvider) AdminDisableUser(input *AdminDisableUserInput) (*AdminDisableUserOutput, error) { @@ -953,14 +953,13 @@ const opAdminEnableUser = "AdminEnableUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminEnableUserRequest method. +// req, resp := client.AdminEnableUserRequest(params) // -// // Example sending a request using the AdminEnableUserRequest method. -// req, resp := client.AdminEnableUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUser func (c *CognitoIdentityProvider) AdminEnableUserRequest(input *AdminEnableUserInput) (req *request.Request, output *AdminEnableUserOutput) { @@ -994,26 +993,27 @@ func (c *CognitoIdentityProvider) AdminEnableUserRequest(input *AdminEnableUserI // API operation AdminEnableUser for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminEnableUser func (c *CognitoIdentityProvider) AdminEnableUser(input *AdminEnableUserInput) (*AdminEnableUserOutput, error) { @@ -1053,14 +1053,13 @@ const opAdminForgetDevice = "AdminForgetDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminForgetDeviceRequest method. +// req, resp := client.AdminForgetDeviceRequest(params) // -// // Example sending a request using the AdminForgetDeviceRequest method. -// req, resp := client.AdminForgetDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDevice func (c *CognitoIdentityProvider) AdminForgetDeviceRequest(input *AdminForgetDeviceInput) (req *request.Request, output *AdminForgetDeviceOutput) { @@ -1094,29 +1093,30 @@ func (c *CognitoIdentityProvider) AdminForgetDeviceRequest(input *AdminForgetDev // API operation AdminForgetDevice for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * InvalidUserPoolConfigurationException -// This exception is thrown when the user pool configuration is not valid. +// - InvalidUserPoolConfigurationException +// This exception is thrown when the user pool configuration is not valid. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminForgetDevice func (c *CognitoIdentityProvider) AdminForgetDevice(input *AdminForgetDeviceInput) (*AdminForgetDeviceOutput, error) { @@ -1156,14 +1156,13 @@ const opAdminGetDevice = "AdminGetDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminGetDeviceRequest method. +// req, resp := client.AdminGetDeviceRequest(params) // -// // Example sending a request using the AdminGetDeviceRequest method. -// req, resp := client.AdminGetDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDevice func (c *CognitoIdentityProvider) AdminGetDeviceRequest(input *AdminGetDeviceInput) (req *request.Request, output *AdminGetDeviceOutput) { @@ -1196,26 +1195,27 @@ func (c *CognitoIdentityProvider) AdminGetDeviceRequest(input *AdminGetDeviceInp // API operation AdminGetDevice for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * InvalidUserPoolConfigurationException -// This exception is thrown when the user pool configuration is not valid. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidUserPoolConfigurationException +// This exception is thrown when the user pool configuration is not valid. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetDevice func (c *CognitoIdentityProvider) AdminGetDevice(input *AdminGetDeviceInput) (*AdminGetDeviceOutput, error) { @@ -1255,14 +1255,13 @@ const opAdminGetUser = "AdminGetUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminGetUserRequest method. +// req, resp := client.AdminGetUserRequest(params) // -// // Example sending a request using the AdminGetUserRequest method. -// req, resp := client.AdminGetUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUser func (c *CognitoIdentityProvider) AdminGetUserRequest(input *AdminGetUserInput) (req *request.Request, output *AdminGetUserOutput) { @@ -1296,26 +1295,27 @@ func (c *CognitoIdentityProvider) AdminGetUserRequest(input *AdminGetUserInput) // API operation AdminGetUser for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUser func (c *CognitoIdentityProvider) AdminGetUser(input *AdminGetUserInput) (*AdminGetUserOutput, error) { @@ -1355,14 +1355,13 @@ const opAdminInitiateAuth = "AdminInitiateAuth" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminInitiateAuthRequest method. +// req, resp := client.AdminInitiateAuthRequest(params) // -// // Example sending a request using the AdminInitiateAuthRequest method. -// req, resp := client.AdminInitiateAuthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuth func (c *CognitoIdentityProvider) AdminInitiateAuthRequest(input *AdminInitiateAuthInput) (req *request.Request, output *AdminInitiateAuthOutput) { @@ -1413,61 +1412,62 @@ func (c *CognitoIdentityProvider) AdminInitiateAuthRequest(input *AdminInitiateA // API operation AdminInitiateAuth for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // -// * UnexpectedLambdaException -// This exception is thrown when Amazon Cognito encounters an unexpected exception -// with Lambda. +// - UnexpectedLambdaException +// This exception is thrown when Amazon Cognito encounters an unexpected exception +// with Lambda. // -// * InvalidUserPoolConfigurationException -// This exception is thrown when the user pool configuration is not valid. +// - InvalidUserPoolConfigurationException +// This exception is thrown when the user pool configuration is not valid. // -// * UserLambdaValidationException -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the Lambda service. +// - UserLambdaValidationException +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the Lambda service. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * MFAMethodNotFoundException -// This exception is thrown when Amazon Cognito can't find a multi-factor authentication -// (MFA) method. +// - MFAMethodNotFoundException +// This exception is thrown when Amazon Cognito can't find a multi-factor authentication +// (MFA) method. // -// * InvalidSmsRoleAccessPolicyException -// This exception is returned when the role provided for SMS configuration doesn't -// have permission to publish using Amazon SNS. +// - InvalidSmsRoleAccessPolicyException +// This exception is returned when the role provided for SMS configuration doesn't +// have permission to publish using Amazon SNS. // -// * InvalidSmsRoleTrustRelationshipException -// This exception is thrown when the trust relationship is not valid for the -// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. +// - InvalidSmsRoleTrustRelationshipException +// This exception is thrown when the trust relationship is not valid for the +// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminInitiateAuth func (c *CognitoIdentityProvider) AdminInitiateAuth(input *AdminInitiateAuthInput) (*AdminInitiateAuthOutput, error) { @@ -1507,14 +1507,13 @@ const opAdminLinkProviderForUser = "AdminLinkProviderForUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminLinkProviderForUserRequest method. +// req, resp := client.AdminLinkProviderForUserRequest(params) // -// // Example sending a request using the AdminLinkProviderForUserRequest method. -// req, resp := client.AdminLinkProviderForUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminLinkProviderForUser func (c *CognitoIdentityProvider) AdminLinkProviderForUserRequest(input *AdminLinkProviderForUserInput) (req *request.Request, output *AdminLinkProviderForUserOutput) { @@ -1564,37 +1563,38 @@ func (c *CognitoIdentityProvider) AdminLinkProviderForUserRequest(input *AdminLi // API operation AdminLinkProviderForUser for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * AliasExistsException -// This exception is thrown when a user tries to confirm the account with an -// email address or phone number that has already been supplied as an alias -// from a different account. This exception indicates that an account with this -// email address or phone already exists in a user pool that you've configured -// to use email address or phone number as a sign-in alias. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - AliasExistsException +// This exception is thrown when a user tries to confirm the account with an +// email address or phone number that has already been supplied as an alias +// from a different account. This exception indicates that an account with this +// email address or phone already exists in a user pool that you've configured +// to use email address or phone number as a sign-in alias. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminLinkProviderForUser func (c *CognitoIdentityProvider) AdminLinkProviderForUser(input *AdminLinkProviderForUserInput) (*AdminLinkProviderForUserOutput, error) { @@ -1634,14 +1634,13 @@ const opAdminListDevices = "AdminListDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminListDevicesRequest method. +// req, resp := client.AdminListDevicesRequest(params) // -// // Example sending a request using the AdminListDevicesRequest method. -// req, resp := client.AdminListDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevices func (c *CognitoIdentityProvider) AdminListDevicesRequest(input *AdminListDevicesInput) (req *request.Request, output *AdminListDevicesOutput) { @@ -1674,26 +1673,27 @@ func (c *CognitoIdentityProvider) AdminListDevicesRequest(input *AdminListDevice // API operation AdminListDevices for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * InvalidUserPoolConfigurationException -// This exception is thrown when the user pool configuration is not valid. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidUserPoolConfigurationException +// This exception is thrown when the user pool configuration is not valid. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListDevices func (c *CognitoIdentityProvider) AdminListDevices(input *AdminListDevicesInput) (*AdminListDevicesOutput, error) { @@ -1733,14 +1733,13 @@ const opAdminListGroupsForUser = "AdminListGroupsForUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminListGroupsForUserRequest method. +// req, resp := client.AdminListGroupsForUserRequest(params) // -// // Example sending a request using the AdminListGroupsForUserRequest method. -// req, resp := client.AdminListGroupsForUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUser func (c *CognitoIdentityProvider) AdminListGroupsForUserRequest(input *AdminListGroupsForUserInput) (req *request.Request, output *AdminListGroupsForUserOutput) { @@ -1779,26 +1778,27 @@ func (c *CognitoIdentityProvider) AdminListGroupsForUserRequest(input *AdminList // API operation AdminListGroupsForUser for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotFoundException +// This exception is thrown when a user isn't found. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUser func (c *CognitoIdentityProvider) AdminListGroupsForUser(input *AdminListGroupsForUserInput) (*AdminListGroupsForUserOutput, error) { @@ -1830,15 +1830,14 @@ func (c *CognitoIdentityProvider) AdminListGroupsForUserWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a AdminListGroupsForUser operation. -// pageNum := 0 -// err := client.AdminListGroupsForUserPages(params, -// func(page *cognitoidentityprovider.AdminListGroupsForUserOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a AdminListGroupsForUser operation. +// pageNum := 0 +// err := client.AdminListGroupsForUserPages(params, +// func(page *cognitoidentityprovider.AdminListGroupsForUserOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CognitoIdentityProvider) AdminListGroupsForUserPages(input *AdminListGroupsForUserInput, fn func(*AdminListGroupsForUserOutput, bool) bool) error { return c.AdminListGroupsForUserPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1890,14 +1889,13 @@ const opAdminListUserAuthEvents = "AdminListUserAuthEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminListUserAuthEventsRequest method. +// req, resp := client.AdminListUserAuthEventsRequest(params) // -// // Example sending a request using the AdminListUserAuthEventsRequest method. -// req, resp := client.AdminListUserAuthEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListUserAuthEvents func (c *CognitoIdentityProvider) AdminListUserAuthEventsRequest(input *AdminListUserAuthEventsInput) (req *request.Request, output *AdminListUserAuthEventsOutput) { @@ -1935,29 +1933,30 @@ func (c *CognitoIdentityProvider) AdminListUserAuthEventsRequest(input *AdminLis // API operation AdminListUserAuthEvents for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserPoolAddOnNotEnabledException -// This exception is thrown when user pool add-ons aren't enabled. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserPoolAddOnNotEnabledException +// This exception is thrown when user pool add-ons aren't enabled. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListUserAuthEvents func (c *CognitoIdentityProvider) AdminListUserAuthEvents(input *AdminListUserAuthEventsInput) (*AdminListUserAuthEventsOutput, error) { @@ -1989,15 +1988,14 @@ func (c *CognitoIdentityProvider) AdminListUserAuthEventsWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a AdminListUserAuthEvents operation. -// pageNum := 0 -// err := client.AdminListUserAuthEventsPages(params, -// func(page *cognitoidentityprovider.AdminListUserAuthEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a AdminListUserAuthEvents operation. +// pageNum := 0 +// err := client.AdminListUserAuthEventsPages(params, +// func(page *cognitoidentityprovider.AdminListUserAuthEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CognitoIdentityProvider) AdminListUserAuthEventsPages(input *AdminListUserAuthEventsInput, fn func(*AdminListUserAuthEventsOutput, bool) bool) error { return c.AdminListUserAuthEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2049,14 +2047,13 @@ const opAdminRemoveUserFromGroup = "AdminRemoveUserFromGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminRemoveUserFromGroupRequest method. +// req, resp := client.AdminRemoveUserFromGroupRequest(params) // -// // Example sending a request using the AdminRemoveUserFromGroupRequest method. -// req, resp := client.AdminRemoveUserFromGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroup func (c *CognitoIdentityProvider) AdminRemoveUserFromGroupRequest(input *AdminRemoveUserFromGroupInput) (req *request.Request, output *AdminRemoveUserFromGroupOutput) { @@ -2090,26 +2087,27 @@ func (c *CognitoIdentityProvider) AdminRemoveUserFromGroupRequest(input *AdminRe // API operation AdminRemoveUserFromGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotFoundException +// This exception is thrown when a user isn't found. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRemoveUserFromGroup func (c *CognitoIdentityProvider) AdminRemoveUserFromGroup(input *AdminRemoveUserFromGroupInput) (*AdminRemoveUserFromGroupOutput, error) { @@ -2149,14 +2147,13 @@ const opAdminResetUserPassword = "AdminResetUserPassword" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminResetUserPasswordRequest method. +// req, resp := client.AdminResetUserPasswordRequest(params) // -// // Example sending a request using the AdminResetUserPasswordRequest method. -// req, resp := client.AdminResetUserPasswordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPassword func (c *CognitoIdentityProvider) AdminResetUserPasswordRequest(input *AdminResetUserPasswordInput) (req *request.Request, output *AdminResetUserPasswordOutput) { @@ -2219,56 +2216,57 @@ func (c *CognitoIdentityProvider) AdminResetUserPasswordRequest(input *AdminRese // API operation AdminResetUserPassword for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * UnexpectedLambdaException -// This exception is thrown when Amazon Cognito encounters an unexpected exception -// with Lambda. +// - UnexpectedLambdaException +// This exception is thrown when Amazon Cognito encounters an unexpected exception +// with Lambda. // -// * UserLambdaValidationException -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the Lambda service. +// - UserLambdaValidationException +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the Lambda service. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InvalidSmsRoleAccessPolicyException -// This exception is returned when the role provided for SMS configuration doesn't -// have permission to publish using Amazon SNS. +// - InvalidSmsRoleAccessPolicyException +// This exception is returned when the role provided for SMS configuration doesn't +// have permission to publish using Amazon SNS. // -// * InvalidEmailRoleAccessPolicyException -// This exception is thrown when Amazon Cognito isn't allowed to use your email -// identity. HTTP status code: 400. +// - InvalidEmailRoleAccessPolicyException +// This exception is thrown when Amazon Cognito isn't allowed to use your email +// identity. HTTP status code: 400. // -// * InvalidSmsRoleTrustRelationshipException -// This exception is thrown when the trust relationship is not valid for the -// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. +// - InvalidSmsRoleTrustRelationshipException +// This exception is thrown when the trust relationship is not valid for the +// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminResetUserPassword func (c *CognitoIdentityProvider) AdminResetUserPassword(input *AdminResetUserPasswordInput) (*AdminResetUserPasswordOutput, error) { @@ -2308,14 +2306,13 @@ const opAdminRespondToAuthChallenge = "AdminRespondToAuthChallenge" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminRespondToAuthChallengeRequest method. +// req, resp := client.AdminRespondToAuthChallengeRequest(params) // -// // Example sending a request using the AdminRespondToAuthChallengeRequest method. -// req, resp := client.AdminRespondToAuthChallengeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallenge func (c *CognitoIdentityProvider) AdminRespondToAuthChallengeRequest(input *AdminRespondToAuthChallengeInput) (req *request.Request, output *AdminRespondToAuthChallengeOutput) { @@ -2366,82 +2363,83 @@ func (c *CognitoIdentityProvider) AdminRespondToAuthChallengeRequest(input *Admi // API operation AdminRespondToAuthChallenge for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * CodeMismatchException -// This exception is thrown if the provided code doesn't match what the server -// was expecting. +// - CodeMismatchException +// This exception is thrown if the provided code doesn't match what the server +// was expecting. // -// * ExpiredCodeException -// This exception is thrown if a code has expired. +// - ExpiredCodeException +// This exception is thrown if a code has expired. // -// * UnexpectedLambdaException -// This exception is thrown when Amazon Cognito encounters an unexpected exception -// with Lambda. +// - UnexpectedLambdaException +// This exception is thrown when Amazon Cognito encounters an unexpected exception +// with Lambda. // -// * InvalidPasswordException -// This exception is thrown when Amazon Cognito encounters an invalid password. +// - InvalidPasswordException +// This exception is thrown when Amazon Cognito encounters an invalid password. // -// * UserLambdaValidationException -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the Lambda service. +// - UserLambdaValidationException +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the Lambda service. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InvalidUserPoolConfigurationException -// This exception is thrown when the user pool configuration is not valid. +// - InvalidUserPoolConfigurationException +// This exception is thrown when the user pool configuration is not valid. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // -// * MFAMethodNotFoundException -// This exception is thrown when Amazon Cognito can't find a multi-factor authentication -// (MFA) method. +// - MFAMethodNotFoundException +// This exception is thrown when Amazon Cognito can't find a multi-factor authentication +// (MFA) method. // -// * InvalidSmsRoleAccessPolicyException -// This exception is returned when the role provided for SMS configuration doesn't -// have permission to publish using Amazon SNS. +// - InvalidSmsRoleAccessPolicyException +// This exception is returned when the role provided for SMS configuration doesn't +// have permission to publish using Amazon SNS. // -// * InvalidSmsRoleTrustRelationshipException -// This exception is thrown when the trust relationship is not valid for the -// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. +// - InvalidSmsRoleTrustRelationshipException +// This exception is thrown when the trust relationship is not valid for the +// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // -// * AliasExistsException -// This exception is thrown when a user tries to confirm the account with an -// email address or phone number that has already been supplied as an alias -// from a different account. This exception indicates that an account with this -// email address or phone already exists in a user pool that you've configured -// to use email address or phone number as a sign-in alias. +// - AliasExistsException +// This exception is thrown when a user tries to confirm the account with an +// email address or phone number that has already been supplied as an alias +// from a different account. This exception indicates that an account with this +// email address or phone already exists in a user pool that you've configured +// to use email address or phone number as a sign-in alias. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. // -// * SoftwareTokenMFANotFoundException -// This exception is thrown when the software token time-based one-time password -// (TOTP) multi-factor authentication (MFA) isn't activated for the user pool. +// - SoftwareTokenMFANotFoundException +// This exception is thrown when the software token time-based one-time password +// (TOTP) multi-factor authentication (MFA) isn't activated for the user pool. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminRespondToAuthChallenge func (c *CognitoIdentityProvider) AdminRespondToAuthChallenge(input *AdminRespondToAuthChallengeInput) (*AdminRespondToAuthChallengeOutput, error) { @@ -2481,14 +2479,13 @@ const opAdminSetUserMFAPreference = "AdminSetUserMFAPreference" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminSetUserMFAPreferenceRequest method. +// req, resp := client.AdminSetUserMFAPreferenceRequest(params) // -// // Example sending a request using the AdminSetUserMFAPreferenceRequest method. -// req, resp := client.AdminSetUserMFAPreferenceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserMFAPreference func (c *CognitoIdentityProvider) AdminSetUserMFAPreferenceRequest(input *AdminSetUserMFAPreferenceInput) (req *request.Request, output *AdminSetUserMFAPreferenceOutput) { @@ -2525,28 +2522,29 @@ func (c *CognitoIdentityProvider) AdminSetUserMFAPreferenceRequest(input *AdminS // API operation AdminSetUserMFAPreference for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserMFAPreference func (c *CognitoIdentityProvider) AdminSetUserMFAPreference(input *AdminSetUserMFAPreferenceInput) (*AdminSetUserMFAPreferenceOutput, error) { @@ -2586,14 +2584,13 @@ const opAdminSetUserPassword = "AdminSetUserPassword" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminSetUserPasswordRequest method. +// req, resp := client.AdminSetUserPasswordRequest(params) // -// // Example sending a request using the AdminSetUserPasswordRequest method. -// req, resp := client.AdminSetUserPasswordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserPassword func (c *CognitoIdentityProvider) AdminSetUserPasswordRequest(input *AdminSetUserPasswordInput) (req *request.Request, output *AdminSetUserPasswordOutput) { @@ -2635,29 +2632,30 @@ func (c *CognitoIdentityProvider) AdminSetUserPasswordRequest(input *AdminSetUse // API operation AdminSetUserPassword for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * InvalidPasswordException -// This exception is thrown when Amazon Cognito encounters an invalid password. +// - InvalidPasswordException +// This exception is thrown when Amazon Cognito encounters an invalid password. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserPassword func (c *CognitoIdentityProvider) AdminSetUserPassword(input *AdminSetUserPasswordInput) (*AdminSetUserPasswordOutput, error) { @@ -2697,14 +2695,13 @@ const opAdminSetUserSettings = "AdminSetUserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminSetUserSettingsRequest method. +// req, resp := client.AdminSetUserSettingsRequest(params) // -// // Example sending a request using the AdminSetUserSettingsRequest method. -// req, resp := client.AdminSetUserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettings func (c *CognitoIdentityProvider) AdminSetUserSettingsRequest(input *AdminSetUserSettingsInput) (req *request.Request, output *AdminSetUserSettingsOutput) { @@ -2740,22 +2737,23 @@ func (c *CognitoIdentityProvider) AdminSetUserSettingsRequest(input *AdminSetUse // API operation AdminSetUserSettings for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotFoundException +// This exception is thrown when a user isn't found. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserSettings func (c *CognitoIdentityProvider) AdminSetUserSettings(input *AdminSetUserSettingsInput) (*AdminSetUserSettingsOutput, error) { @@ -2795,14 +2793,13 @@ const opAdminUpdateAuthEventFeedback = "AdminUpdateAuthEventFeedback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminUpdateAuthEventFeedbackRequest method. +// req, resp := client.AdminUpdateAuthEventFeedbackRequest(params) // -// // Example sending a request using the AdminUpdateAuthEventFeedbackRequest method. -// req, resp := client.AdminUpdateAuthEventFeedbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateAuthEventFeedback func (c *CognitoIdentityProvider) AdminUpdateAuthEventFeedbackRequest(input *AdminUpdateAuthEventFeedbackInput) (req *request.Request, output *AdminUpdateAuthEventFeedbackOutput) { @@ -2836,29 +2833,30 @@ func (c *CognitoIdentityProvider) AdminUpdateAuthEventFeedbackRequest(input *Adm // API operation AdminUpdateAuthEventFeedback for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * UserPoolAddOnNotEnabledException -// This exception is thrown when user pool add-ons aren't enabled. +// - UserPoolAddOnNotEnabledException +// This exception is thrown when user pool add-ons aren't enabled. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateAuthEventFeedback func (c *CognitoIdentityProvider) AdminUpdateAuthEventFeedback(input *AdminUpdateAuthEventFeedbackInput) (*AdminUpdateAuthEventFeedbackOutput, error) { @@ -2898,14 +2896,13 @@ const opAdminUpdateDeviceStatus = "AdminUpdateDeviceStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminUpdateDeviceStatusRequest method. +// req, resp := client.AdminUpdateDeviceStatusRequest(params) // -// // Example sending a request using the AdminUpdateDeviceStatusRequest method. -// req, resp := client.AdminUpdateDeviceStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatus func (c *CognitoIdentityProvider) AdminUpdateDeviceStatusRequest(input *AdminUpdateDeviceStatusInput) (req *request.Request, output *AdminUpdateDeviceStatusOutput) { @@ -2939,29 +2936,30 @@ func (c *CognitoIdentityProvider) AdminUpdateDeviceStatusRequest(input *AdminUpd // API operation AdminUpdateDeviceStatus for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * InvalidUserPoolConfigurationException -// This exception is thrown when the user pool configuration is not valid. +// - InvalidUserPoolConfigurationException +// This exception is thrown when the user pool configuration is not valid. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateDeviceStatus func (c *CognitoIdentityProvider) AdminUpdateDeviceStatus(input *AdminUpdateDeviceStatusInput) (*AdminUpdateDeviceStatusOutput, error) { @@ -3001,14 +2999,13 @@ const opAdminUpdateUserAttributes = "AdminUpdateUserAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminUpdateUserAttributesRequest method. +// req, resp := client.AdminUpdateUserAttributesRequest(params) // -// // Example sending a request using the AdminUpdateUserAttributesRequest method. -// req, resp := client.AdminUpdateUserAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributes func (c *CognitoIdentityProvider) AdminUpdateUserAttributesRequest(input *AdminUpdateUserAttributesInput) (req *request.Request, output *AdminUpdateUserAttributesOutput) { @@ -3067,59 +3064,60 @@ func (c *CognitoIdentityProvider) AdminUpdateUserAttributesRequest(input *AdminU // API operation AdminUpdateUserAttributes for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * UnexpectedLambdaException -// This exception is thrown when Amazon Cognito encounters an unexpected exception -// with Lambda. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * UserLambdaValidationException -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the Lambda service. +// - UnexpectedLambdaException +// This exception is thrown when Amazon Cognito encounters an unexpected exception +// with Lambda. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - UserLambdaValidationException +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the Lambda service. // -// * AliasExistsException -// This exception is thrown when a user tries to confirm the account with an -// email address or phone number that has already been supplied as an alias -// from a different account. This exception indicates that an account with this -// email address or phone already exists in a user pool that you've configured -// to use email address or phone number as a sign-in alias. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - AliasExistsException +// This exception is thrown when a user tries to confirm the account with an +// email address or phone number that has already been supplied as an alias +// from a different account. This exception indicates that an account with this +// email address or phone already exists in a user pool that you've configured +// to use email address or phone number as a sign-in alias. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InvalidSmsRoleAccessPolicyException -// This exception is returned when the role provided for SMS configuration doesn't -// have permission to publish using Amazon SNS. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // -// * InvalidEmailRoleAccessPolicyException -// This exception is thrown when Amazon Cognito isn't allowed to use your email -// identity. HTTP status code: 400. +// - InvalidSmsRoleAccessPolicyException +// This exception is returned when the role provided for SMS configuration doesn't +// have permission to publish using Amazon SNS. // -// * InvalidSmsRoleTrustRelationshipException -// This exception is thrown when the trust relationship is not valid for the -// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. +// - InvalidEmailRoleAccessPolicyException +// This exception is thrown when Amazon Cognito isn't allowed to use your email +// identity. HTTP status code: 400. +// +// - InvalidSmsRoleTrustRelationshipException +// This exception is thrown when the trust relationship is not valid for the +// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUpdateUserAttributes func (c *CognitoIdentityProvider) AdminUpdateUserAttributes(input *AdminUpdateUserAttributesInput) (*AdminUpdateUserAttributesOutput, error) { @@ -3159,14 +3157,13 @@ const opAdminUserGlobalSignOut = "AdminUserGlobalSignOut" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdminUserGlobalSignOutRequest method. +// req, resp := client.AdminUserGlobalSignOutRequest(params) // -// // Example sending a request using the AdminUserGlobalSignOutRequest method. -// req, resp := client.AdminUserGlobalSignOutRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOut func (c *CognitoIdentityProvider) AdminUserGlobalSignOutRequest(input *AdminUserGlobalSignOutInput) (req *request.Request, output *AdminUserGlobalSignOutOutput) { @@ -3205,26 +3202,27 @@ func (c *CognitoIdentityProvider) AdminUserGlobalSignOutRequest(input *AdminUser // API operation AdminUserGlobalSignOut for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotFoundException +// This exception is thrown when a user isn't found. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminUserGlobalSignOut func (c *CognitoIdentityProvider) AdminUserGlobalSignOut(input *AdminUserGlobalSignOutInput) (*AdminUserGlobalSignOutOutput, error) { @@ -3264,14 +3262,13 @@ const opAssociateSoftwareToken = "AssociateSoftwareToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateSoftwareTokenRequest method. +// req, resp := client.AssociateSoftwareTokenRequest(params) // -// // Example sending a request using the AssociateSoftwareTokenRequest method. -// req, resp := client.AssociateSoftwareTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AssociateSoftwareToken func (c *CognitoIdentityProvider) AssociateSoftwareTokenRequest(input *AssociateSoftwareTokenInput) (req *request.Request, output *AssociateSoftwareTokenOutput) { @@ -3310,26 +3307,27 @@ func (c *CognitoIdentityProvider) AssociateSoftwareTokenRequest(input *Associate // API operation AssociateSoftwareToken for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// This exception is thrown if two or more modifications are happening concurrently. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ConcurrentModificationException +// This exception is thrown if two or more modifications are happening concurrently. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * SoftwareTokenMFANotFoundException -// This exception is thrown when the software token time-based one-time password -// (TOTP) multi-factor authentication (MFA) isn't activated for the user pool. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// - SoftwareTokenMFANotFoundException +// This exception is thrown when the software token time-based one-time password +// (TOTP) multi-factor authentication (MFA) isn't activated for the user pool. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AssociateSoftwareToken func (c *CognitoIdentityProvider) AssociateSoftwareToken(input *AssociateSoftwareTokenInput) (*AssociateSoftwareTokenOutput, error) { @@ -3369,14 +3367,13 @@ const opChangePassword = "ChangePassword" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ChangePasswordRequest method. +// req, resp := client.ChangePasswordRequest(params) // -// // Example sending a request using the ChangePasswordRequest method. -// req, resp := client.ChangePasswordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePassword func (c *CognitoIdentityProvider) ChangePasswordRequest(input *ChangePasswordInput) (req *request.Request, output *ChangePasswordOutput) { @@ -3409,39 +3406,40 @@ func (c *CognitoIdentityProvider) ChangePasswordRequest(input *ChangePasswordInp // API operation ChangePassword for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * InvalidPasswordException -// This exception is thrown when Amazon Cognito encounters an invalid password. +// - InvalidPasswordException +// This exception is thrown when Amazon Cognito encounters an invalid password. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ChangePassword func (c *CognitoIdentityProvider) ChangePassword(input *ChangePasswordInput) (*ChangePasswordOutput, error) { @@ -3481,14 +3479,13 @@ const opConfirmDevice = "ConfirmDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfirmDeviceRequest method. +// req, resp := client.ConfirmDeviceRequest(params) // -// // Example sending a request using the ConfirmDeviceRequest method. -// req, resp := client.ConfirmDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDevice func (c *CognitoIdentityProvider) ConfirmDeviceRequest(input *ConfirmDeviceInput) (req *request.Request, output *ConfirmDeviceOutput) { @@ -3520,46 +3517,47 @@ func (c *CognitoIdentityProvider) ConfirmDeviceRequest(input *ConfirmDeviceInput // API operation ConfirmDevice for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InvalidPasswordException -// This exception is thrown when Amazon Cognito encounters an invalid password. +// - InvalidPasswordException +// This exception is thrown when Amazon Cognito encounters an invalid password. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * UsernameExistsException -// This exception is thrown when Amazon Cognito encounters a user name that -// already exists in the user pool. +// - UsernameExistsException +// This exception is thrown when Amazon Cognito encounters a user name that +// already exists in the user pool. // -// * InvalidUserPoolConfigurationException -// This exception is thrown when the user pool configuration is not valid. +// - InvalidUserPoolConfigurationException +// This exception is thrown when the user pool configuration is not valid. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmDevice func (c *CognitoIdentityProvider) ConfirmDevice(input *ConfirmDeviceInput) (*ConfirmDeviceOutput, error) { @@ -3599,14 +3597,13 @@ const opConfirmForgotPassword = "ConfirmForgotPassword" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfirmForgotPasswordRequest method. +// req, resp := client.ConfirmForgotPasswordRequest(params) // -// // Example sending a request using the ConfirmForgotPasswordRequest method. -// req, resp := client.ConfirmForgotPasswordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPassword func (c *CognitoIdentityProvider) ConfirmForgotPasswordRequest(input *ConfirmForgotPasswordInput) (req *request.Request, output *ConfirmForgotPasswordOutput) { @@ -3639,59 +3636,60 @@ func (c *CognitoIdentityProvider) ConfirmForgotPasswordRequest(input *ConfirmFor // API operation ConfirmForgotPassword for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * UnexpectedLambdaException -// This exception is thrown when Amazon Cognito encounters an unexpected exception -// with Lambda. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - UnexpectedLambdaException +// This exception is thrown when Amazon Cognito encounters an unexpected exception +// with Lambda. // -// * UserLambdaValidationException -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the Lambda service. +// - UserLambdaValidationException +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the Lambda service. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * InvalidPasswordException -// This exception is thrown when Amazon Cognito encounters an invalid password. +// - InvalidPasswordException +// This exception is thrown when Amazon Cognito encounters an invalid password. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * CodeMismatchException -// This exception is thrown if the provided code doesn't match what the server -// was expecting. +// - CodeMismatchException +// This exception is thrown if the provided code doesn't match what the server +// was expecting. // -// * ExpiredCodeException -// This exception is thrown if a code has expired. +// - ExpiredCodeException +// This exception is thrown if a code has expired. // -// * TooManyFailedAttemptsException -// This exception is thrown when the user has made too many failed attempts -// for a given action, such as sign-in. +// - TooManyFailedAttemptsException +// This exception is thrown when the user has made too many failed attempts +// for a given action, such as sign-in. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmForgotPassword func (c *CognitoIdentityProvider) ConfirmForgotPassword(input *ConfirmForgotPasswordInput) (*ConfirmForgotPasswordOutput, error) { @@ -3731,14 +3729,13 @@ const opConfirmSignUp = "ConfirmSignUp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfirmSignUpRequest method. +// req, resp := client.ConfirmSignUpRequest(params) // -// // Example sending a request using the ConfirmSignUpRequest method. -// req, resp := client.ConfirmSignUpRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUp func (c *CognitoIdentityProvider) ConfirmSignUpRequest(input *ConfirmSignUpInput) (req *request.Request, output *ConfirmSignUpOutput) { @@ -3771,60 +3768,61 @@ func (c *CognitoIdentityProvider) ConfirmSignUpRequest(input *ConfirmSignUpInput // API operation ConfirmSignUp for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * UnexpectedLambdaException -// This exception is thrown when Amazon Cognito encounters an unexpected exception -// with Lambda. +// - UnexpectedLambdaException +// This exception is thrown when Amazon Cognito encounters an unexpected exception +// with Lambda. // -// * UserLambdaValidationException -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the Lambda service. +// - UserLambdaValidationException +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the Lambda service. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyFailedAttemptsException -// This exception is thrown when the user has made too many failed attempts -// for a given action, such as sign-in. +// - TooManyFailedAttemptsException +// This exception is thrown when the user has made too many failed attempts +// for a given action, such as sign-in. // -// * CodeMismatchException -// This exception is thrown if the provided code doesn't match what the server -// was expecting. +// - CodeMismatchException +// This exception is thrown if the provided code doesn't match what the server +// was expecting. // -// * ExpiredCodeException -// This exception is thrown if a code has expired. +// - ExpiredCodeException +// This exception is thrown if a code has expired. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * AliasExistsException -// This exception is thrown when a user tries to confirm the account with an -// email address or phone number that has already been supplied as an alias -// from a different account. This exception indicates that an account with this -// email address or phone already exists in a user pool that you've configured -// to use email address or phone number as a sign-in alias. +// - AliasExistsException +// This exception is thrown when a user tries to confirm the account with an +// email address or phone number that has already been supplied as an alias +// from a different account. This exception indicates that an account with this +// email address or phone already exists in a user pool that you've configured +// to use email address or phone number as a sign-in alias. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ConfirmSignUp func (c *CognitoIdentityProvider) ConfirmSignUp(input *ConfirmSignUpInput) (*ConfirmSignUpOutput, error) { @@ -3864,14 +3862,13 @@ const opCreateGroup = "CreateGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGroupRequest method. +// req, resp := client.CreateGroupRequest(params) // -// // Example sending a request using the CreateGroupRequest method. -// req, resp := client.CreateGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroup func (c *CognitoIdentityProvider) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput) { @@ -3904,31 +3901,32 @@ func (c *CognitoIdentityProvider) CreateGroupRequest(input *CreateGroupInput) (r // API operation CreateGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * GroupExistsException -// This exception is thrown when Amazon Cognito encounters a group that already -// exists in the user pool. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - GroupExistsException +// This exception is thrown when Amazon Cognito encounters a group that already +// exists in the user pool. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateGroup func (c *CognitoIdentityProvider) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error) { @@ -3968,14 +3966,13 @@ const opCreateIdentityProvider = "CreateIdentityProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIdentityProviderRequest method. +// req, resp := client.CreateIdentityProviderRequest(params) // -// // Example sending a request using the CreateIdentityProviderRequest method. -// req, resp := client.CreateIdentityProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProvider func (c *CognitoIdentityProvider) CreateIdentityProviderRequest(input *CreateIdentityProviderInput) (req *request.Request, output *CreateIdentityProviderOutput) { @@ -4006,31 +4003,32 @@ func (c *CognitoIdentityProvider) CreateIdentityProviderRequest(input *CreateIde // API operation CreateIdentityProvider for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * DuplicateProviderException -// This exception is thrown when the provider is already supported by the user -// pool. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - DuplicateProviderException +// This exception is thrown when the provider is already supported by the user +// pool. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateIdentityProvider func (c *CognitoIdentityProvider) CreateIdentityProvider(input *CreateIdentityProviderInput) (*CreateIdentityProviderOutput, error) { @@ -4070,14 +4068,13 @@ const opCreateResourceServer = "CreateResourceServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResourceServerRequest method. +// req, resp := client.CreateResourceServerRequest(params) // -// // Example sending a request using the CreateResourceServerRequest method. -// req, resp := client.CreateResourceServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateResourceServer func (c *CognitoIdentityProvider) CreateResourceServerRequest(input *CreateResourceServerInput) (req *request.Request, output *CreateResourceServerOutput) { @@ -4108,27 +4105,28 @@ func (c *CognitoIdentityProvider) CreateResourceServerRequest(input *CreateResou // API operation CreateResourceServer for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateResourceServer func (c *CognitoIdentityProvider) CreateResourceServer(input *CreateResourceServerInput) (*CreateResourceServerOutput, error) { @@ -4168,14 +4166,13 @@ const opCreateUserImportJob = "CreateUserImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserImportJobRequest method. +// req, resp := client.CreateUserImportJobRequest(params) // -// // Example sending a request using the CreateUserImportJobRequest method. -// req, resp := client.CreateUserImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJob func (c *CognitoIdentityProvider) CreateUserImportJobRequest(input *CreateUserImportJobInput) (req *request.Request, output *CreateUserImportJobOutput) { @@ -4206,30 +4203,31 @@ func (c *CognitoIdentityProvider) CreateUserImportJobRequest(input *CreateUserIm // API operation CreateUserImportJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * PreconditionNotMetException -// This exception is thrown when a precondition is not met. +// - PreconditionNotMetException +// This exception is thrown when a precondition is not met. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserImportJob func (c *CognitoIdentityProvider) CreateUserImportJob(input *CreateUserImportJobInput) (*CreateUserImportJobOutput, error) { @@ -4269,14 +4267,13 @@ const opCreateUserPool = "CreateUserPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserPoolRequest method. +// req, resp := client.CreateUserPoolRequest(params) // -// // Example sending a request using the CreateUserPoolRequest method. -// req, resp := client.CreateUserPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPool func (c *CognitoIdentityProvider) CreateUserPoolRequest(input *CreateUserPoolInput) (req *request.Request, output *CreateUserPoolOutput) { @@ -4326,40 +4323,41 @@ func (c *CognitoIdentityProvider) CreateUserPoolRequest(input *CreateUserPoolInp // API operation CreateUserPool for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. // -// * InvalidSmsRoleAccessPolicyException -// This exception is returned when the role provided for SMS configuration doesn't -// have permission to publish using Amazon SNS. +// - InvalidSmsRoleAccessPolicyException +// This exception is returned when the role provided for SMS configuration doesn't +// have permission to publish using Amazon SNS. // -// * InvalidSmsRoleTrustRelationshipException -// This exception is thrown when the trust relationship is not valid for the -// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. +// - InvalidSmsRoleTrustRelationshipException +// This exception is thrown when the trust relationship is not valid for the +// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // -// * InvalidEmailRoleAccessPolicyException -// This exception is thrown when Amazon Cognito isn't allowed to use your email -// identity. HTTP status code: 400. +// - InvalidEmailRoleAccessPolicyException +// This exception is thrown when Amazon Cognito isn't allowed to use your email +// identity. HTTP status code: 400. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserPoolTaggingException -// This exception is thrown when a user pool tag can't be set or updated. +// - UserPoolTaggingException +// This exception is thrown when a user pool tag can't be set or updated. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPool func (c *CognitoIdentityProvider) CreateUserPool(input *CreateUserPoolInput) (*CreateUserPoolOutput, error) { @@ -4399,14 +4397,13 @@ const opCreateUserPoolClient = "CreateUserPoolClient" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserPoolClientRequest method. +// req, resp := client.CreateUserPoolClientRequest(params) // -// // Example sending a request using the CreateUserPoolClientRequest method. -// req, resp := client.CreateUserPoolClientRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClient func (c *CognitoIdentityProvider) CreateUserPoolClientRequest(input *CreateUserPoolClientInput) (req *request.Request, output *CreateUserPoolClientOutput) { @@ -4440,33 +4437,34 @@ func (c *CognitoIdentityProvider) CreateUserPoolClientRequest(input *CreateUserP // API operation CreateUserPoolClient for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. // -// * ScopeDoesNotExistException -// This exception is thrown when the specified scope doesn't exist. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InvalidOAuthFlowException -// This exception is thrown when the specified OAuth flow is not valid. +// - ScopeDoesNotExistException +// This exception is thrown when the specified scope doesn't exist. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InvalidOAuthFlowException +// This exception is thrown when the specified OAuth flow is not valid. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolClient func (c *CognitoIdentityProvider) CreateUserPoolClient(input *CreateUserPoolClientInput) (*CreateUserPoolClientOutput, error) { @@ -4506,14 +4504,13 @@ const opCreateUserPoolDomain = "CreateUserPoolDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserPoolDomainRequest method. +// req, resp := client.CreateUserPoolDomainRequest(params) // -// // Example sending a request using the CreateUserPoolDomainRequest method. -// req, resp := client.CreateUserPoolDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomain func (c *CognitoIdentityProvider) CreateUserPoolDomainRequest(input *CreateUserPoolDomainInput) (req *request.Request, output *CreateUserPoolDomainOutput) { @@ -4544,23 +4541,24 @@ func (c *CognitoIdentityProvider) CreateUserPoolDomainRequest(input *CreateUserP // API operation CreateUserPoolDomain for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/CreateUserPoolDomain func (c *CognitoIdentityProvider) CreateUserPoolDomain(input *CreateUserPoolDomainInput) (*CreateUserPoolDomainOutput, error) { @@ -4600,14 +4598,13 @@ const opDeleteGroup = "DeleteGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGroupRequest method. +// req, resp := client.DeleteGroupRequest(params) // -// // Example sending a request using the DeleteGroupRequest method. -// req, resp := client.DeleteGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroup func (c *CognitoIdentityProvider) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput) { @@ -4641,23 +4638,24 @@ func (c *CognitoIdentityProvider) DeleteGroupRequest(input *DeleteGroupInput) (r // API operation DeleteGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteGroup func (c *CognitoIdentityProvider) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error) { @@ -4697,14 +4695,13 @@ const opDeleteIdentityProvider = "DeleteIdentityProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIdentityProviderRequest method. +// req, resp := client.DeleteIdentityProviderRequest(params) // -// // Example sending a request using the DeleteIdentityProviderRequest method. -// req, resp := client.DeleteIdentityProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProvider func (c *CognitoIdentityProvider) DeleteIdentityProviderRequest(input *DeleteIdentityProviderInput) (req *request.Request, output *DeleteIdentityProviderOutput) { @@ -4736,26 +4733,27 @@ func (c *CognitoIdentityProvider) DeleteIdentityProviderRequest(input *DeleteIde // API operation DeleteIdentityProvider for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * UnsupportedIdentityProviderException -// This exception is thrown when the specified identifier isn't supported. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - UnsupportedIdentityProviderException +// This exception is thrown when the specified identifier isn't supported. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteIdentityProvider func (c *CognitoIdentityProvider) DeleteIdentityProvider(input *DeleteIdentityProviderInput) (*DeleteIdentityProviderOutput, error) { @@ -4795,14 +4793,13 @@ const opDeleteResourceServer = "DeleteResourceServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourceServerRequest method. +// req, resp := client.DeleteResourceServerRequest(params) // -// // Example sending a request using the DeleteResourceServerRequest method. -// req, resp := client.DeleteResourceServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteResourceServer func (c *CognitoIdentityProvider) DeleteResourceServerRequest(input *DeleteResourceServerInput) (req *request.Request, output *DeleteResourceServerOutput) { @@ -4834,23 +4831,24 @@ func (c *CognitoIdentityProvider) DeleteResourceServerRequest(input *DeleteResou // API operation DeleteResourceServer for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteResourceServer func (c *CognitoIdentityProvider) DeleteResourceServer(input *DeleteResourceServerInput) (*DeleteResourceServerOutput, error) { @@ -4890,14 +4888,13 @@ const opDeleteUser = "DeleteUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserRequest method. +// req, resp := client.DeleteUserRequest(params) // -// // Example sending a request using the DeleteUserRequest method. -// req, resp := client.DeleteUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUser func (c *CognitoIdentityProvider) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { @@ -4930,32 +4927,33 @@ func (c *CognitoIdentityProvider) DeleteUserRequest(input *DeleteUserInput) (req // API operation DeleteUser for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUser func (c *CognitoIdentityProvider) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { @@ -4995,14 +4993,13 @@ const opDeleteUserAttributes = "DeleteUserAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserAttributesRequest method. +// req, resp := client.DeleteUserAttributesRequest(params) // -// // Example sending a request using the DeleteUserAttributesRequest method. -// req, resp := client.DeleteUserAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributes func (c *CognitoIdentityProvider) DeleteUserAttributesRequest(input *DeleteUserAttributesInput) (req *request.Request, output *DeleteUserAttributesOutput) { @@ -5035,32 +5032,33 @@ func (c *CognitoIdentityProvider) DeleteUserAttributesRequest(input *DeleteUserA // API operation DeleteUserAttributes for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserAttributes func (c *CognitoIdentityProvider) DeleteUserAttributes(input *DeleteUserAttributesInput) (*DeleteUserAttributesOutput, error) { @@ -5100,14 +5098,13 @@ const opDeleteUserPool = "DeleteUserPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserPoolRequest method. +// req, resp := client.DeleteUserPoolRequest(params) // -// // Example sending a request using the DeleteUserPoolRequest method. -// req, resp := client.DeleteUserPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPool func (c *CognitoIdentityProvider) DeleteUserPoolRequest(input *DeleteUserPoolInput) (req *request.Request, output *DeleteUserPoolOutput) { @@ -5139,27 +5136,28 @@ func (c *CognitoIdentityProvider) DeleteUserPoolRequest(input *DeleteUserPoolInp // API operation DeleteUserPool for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserImportInProgressException -// This exception is thrown when you're trying to modify a user pool while a -// user import job is in progress for that pool. +// - UserImportInProgressException +// This exception is thrown when you're trying to modify a user pool while a +// user import job is in progress for that pool. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPool func (c *CognitoIdentityProvider) DeleteUserPool(input *DeleteUserPoolInput) (*DeleteUserPoolOutput, error) { @@ -5199,14 +5197,13 @@ const opDeleteUserPoolClient = "DeleteUserPoolClient" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserPoolClientRequest method. +// req, resp := client.DeleteUserPoolClientRequest(params) // -// // Example sending a request using the DeleteUserPoolClientRequest method. -// req, resp := client.DeleteUserPoolClientRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClient func (c *CognitoIdentityProvider) DeleteUserPoolClientRequest(input *DeleteUserPoolClientInput) (req *request.Request, output *DeleteUserPoolClientOutput) { @@ -5238,23 +5235,24 @@ func (c *CognitoIdentityProvider) DeleteUserPoolClientRequest(input *DeleteUserP // API operation DeleteUserPoolClient for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolClient func (c *CognitoIdentityProvider) DeleteUserPoolClient(input *DeleteUserPoolClientInput) (*DeleteUserPoolClientOutput, error) { @@ -5294,14 +5292,13 @@ const opDeleteUserPoolDomain = "DeleteUserPoolDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserPoolDomainRequest method. +// req, resp := client.DeleteUserPoolDomainRequest(params) // -// // Example sending a request using the DeleteUserPoolDomainRequest method. -// req, resp := client.DeleteUserPoolDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomain func (c *CognitoIdentityProvider) DeleteUserPoolDomainRequest(input *DeleteUserPoolDomainInput) (req *request.Request, output *DeleteUserPoolDomainOutput) { @@ -5333,19 +5330,20 @@ func (c *CognitoIdentityProvider) DeleteUserPoolDomainRequest(input *DeleteUserP // API operation DeleteUserPoolDomain for usage and error information. // // Returned Error Types: -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DeleteUserPoolDomain func (c *CognitoIdentityProvider) DeleteUserPoolDomain(input *DeleteUserPoolDomainInput) (*DeleteUserPoolDomainOutput, error) { @@ -5385,14 +5383,13 @@ const opDescribeIdentityProvider = "DescribeIdentityProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIdentityProviderRequest method. +// req, resp := client.DescribeIdentityProviderRequest(params) // -// // Example sending a request using the DescribeIdentityProviderRequest method. -// req, resp := client.DescribeIdentityProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProvider func (c *CognitoIdentityProvider) DescribeIdentityProviderRequest(input *DescribeIdentityProviderInput) (req *request.Request, output *DescribeIdentityProviderOutput) { @@ -5423,23 +5420,24 @@ func (c *CognitoIdentityProvider) DescribeIdentityProviderRequest(input *Describ // API operation DescribeIdentityProvider for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeIdentityProvider func (c *CognitoIdentityProvider) DescribeIdentityProvider(input *DescribeIdentityProviderInput) (*DescribeIdentityProviderOutput, error) { @@ -5479,14 +5477,13 @@ const opDescribeResourceServer = "DescribeResourceServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeResourceServerRequest method. +// req, resp := client.DescribeResourceServerRequest(params) // -// // Example sending a request using the DescribeResourceServerRequest method. -// req, resp := client.DescribeResourceServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeResourceServer func (c *CognitoIdentityProvider) DescribeResourceServerRequest(input *DescribeResourceServerInput) (req *request.Request, output *DescribeResourceServerOutput) { @@ -5517,23 +5514,24 @@ func (c *CognitoIdentityProvider) DescribeResourceServerRequest(input *DescribeR // API operation DescribeResourceServer for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeResourceServer func (c *CognitoIdentityProvider) DescribeResourceServer(input *DescribeResourceServerInput) (*DescribeResourceServerOutput, error) { @@ -5573,14 +5571,13 @@ const opDescribeRiskConfiguration = "DescribeRiskConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRiskConfigurationRequest method. +// req, resp := client.DescribeRiskConfigurationRequest(params) // -// // Example sending a request using the DescribeRiskConfigurationRequest method. -// req, resp := client.DescribeRiskConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeRiskConfiguration func (c *CognitoIdentityProvider) DescribeRiskConfigurationRequest(input *DescribeRiskConfigurationInput) (req *request.Request, output *DescribeRiskConfigurationOutput) { @@ -5611,26 +5608,27 @@ func (c *CognitoIdentityProvider) DescribeRiskConfigurationRequest(input *Descri // API operation DescribeRiskConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserPoolAddOnNotEnabledException -// This exception is thrown when user pool add-ons aren't enabled. +// - UserPoolAddOnNotEnabledException +// This exception is thrown when user pool add-ons aren't enabled. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeRiskConfiguration func (c *CognitoIdentityProvider) DescribeRiskConfiguration(input *DescribeRiskConfigurationInput) (*DescribeRiskConfigurationOutput, error) { @@ -5670,14 +5668,13 @@ const opDescribeUserImportJob = "DescribeUserImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserImportJobRequest method. +// req, resp := client.DescribeUserImportJobRequest(params) // -// // Example sending a request using the DescribeUserImportJobRequest method. -// req, resp := client.DescribeUserImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJob func (c *CognitoIdentityProvider) DescribeUserImportJobRequest(input *DescribeUserImportJobInput) (req *request.Request, output *DescribeUserImportJobOutput) { @@ -5708,23 +5705,24 @@ func (c *CognitoIdentityProvider) DescribeUserImportJobRequest(input *DescribeUs // API operation DescribeUserImportJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserImportJob func (c *CognitoIdentityProvider) DescribeUserImportJob(input *DescribeUserImportJobInput) (*DescribeUserImportJobOutput, error) { @@ -5764,14 +5762,13 @@ const opDescribeUserPool = "DescribeUserPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserPoolRequest method. +// req, resp := client.DescribeUserPoolRequest(params) // -// // Example sending a request using the DescribeUserPoolRequest method. -// req, resp := client.DescribeUserPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPool func (c *CognitoIdentityProvider) DescribeUserPoolRequest(input *DescribeUserPoolInput) (req *request.Request, output *DescribeUserPoolOutput) { @@ -5803,26 +5800,27 @@ func (c *CognitoIdentityProvider) DescribeUserPoolRequest(input *DescribeUserPoo // API operation DescribeUserPool for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserPoolTaggingException -// This exception is thrown when a user pool tag can't be set or updated. +// - UserPoolTaggingException +// This exception is thrown when a user pool tag can't be set or updated. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPool func (c *CognitoIdentityProvider) DescribeUserPool(input *DescribeUserPoolInput) (*DescribeUserPoolOutput, error) { @@ -5862,14 +5860,13 @@ const opDescribeUserPoolClient = "DescribeUserPoolClient" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserPoolClientRequest method. +// req, resp := client.DescribeUserPoolClientRequest(params) // -// // Example sending a request using the DescribeUserPoolClientRequest method. -// req, resp := client.DescribeUserPoolClientRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClient func (c *CognitoIdentityProvider) DescribeUserPoolClientRequest(input *DescribeUserPoolClientInput) (req *request.Request, output *DescribeUserPoolClientOutput) { @@ -5901,23 +5898,24 @@ func (c *CognitoIdentityProvider) DescribeUserPoolClientRequest(input *DescribeU // API operation DescribeUserPoolClient for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolClient func (c *CognitoIdentityProvider) DescribeUserPoolClient(input *DescribeUserPoolClientInput) (*DescribeUserPoolClientOutput, error) { @@ -5957,14 +5955,13 @@ const opDescribeUserPoolDomain = "DescribeUserPoolDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserPoolDomainRequest method. +// req, resp := client.DescribeUserPoolDomainRequest(params) // -// // Example sending a request using the DescribeUserPoolDomainRequest method. -// req, resp := client.DescribeUserPoolDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomain func (c *CognitoIdentityProvider) DescribeUserPoolDomainRequest(input *DescribeUserPoolDomainInput) (req *request.Request, output *DescribeUserPoolDomainOutput) { @@ -5995,19 +5992,20 @@ func (c *CognitoIdentityProvider) DescribeUserPoolDomainRequest(input *DescribeU // API operation DescribeUserPoolDomain for usage and error information. // // Returned Error Types: -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/DescribeUserPoolDomain func (c *CognitoIdentityProvider) DescribeUserPoolDomain(input *DescribeUserPoolDomainInput) (*DescribeUserPoolDomainOutput, error) { @@ -6047,14 +6045,13 @@ const opForgetDevice = "ForgetDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ForgetDeviceRequest method. +// req, resp := client.ForgetDeviceRequest(params) // -// // Example sending a request using the ForgetDeviceRequest method. -// req, resp := client.ForgetDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDevice func (c *CognitoIdentityProvider) ForgetDeviceRequest(input *ForgetDeviceInput) (req *request.Request, output *ForgetDeviceOutput) { @@ -6086,35 +6083,36 @@ func (c *CognitoIdentityProvider) ForgetDeviceRequest(input *ForgetDeviceInput) // API operation ForgetDevice for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InvalidUserPoolConfigurationException -// This exception is thrown when the user pool configuration is not valid. +// - InvalidUserPoolConfigurationException +// This exception is thrown when the user pool configuration is not valid. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgetDevice func (c *CognitoIdentityProvider) ForgetDevice(input *ForgetDeviceInput) (*ForgetDeviceOutput, error) { @@ -6154,14 +6152,13 @@ const opForgotPassword = "ForgotPassword" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ForgotPasswordRequest method. +// req, resp := client.ForgotPasswordRequest(params) // -// // Example sending a request using the ForgotPasswordRequest method. -// req, resp := client.ForgotPasswordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgotPassword func (c *CognitoIdentityProvider) ForgotPasswordRequest(input *ForgotPasswordInput) (req *request.Request, output *ForgotPasswordOutput) { @@ -6219,59 +6216,60 @@ func (c *CognitoIdentityProvider) ForgotPasswordRequest(input *ForgotPasswordInp // API operation ForgotPassword for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * UnexpectedLambdaException -// This exception is thrown when Amazon Cognito encounters an unexpected exception -// with Lambda. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * UserLambdaValidationException -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the Lambda service. +// - UnexpectedLambdaException +// This exception is thrown when Amazon Cognito encounters an unexpected exception +// with Lambda. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - UserLambdaValidationException +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the Lambda service. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InvalidSmsRoleAccessPolicyException -// This exception is returned when the role provided for SMS configuration doesn't -// have permission to publish using Amazon SNS. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. // -// * InvalidSmsRoleTrustRelationshipException -// This exception is thrown when the trust relationship is not valid for the -// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. +// - InvalidSmsRoleAccessPolicyException +// This exception is returned when the role provided for SMS configuration doesn't +// have permission to publish using Amazon SNS. // -// * InvalidEmailRoleAccessPolicyException -// This exception is thrown when Amazon Cognito isn't allowed to use your email -// identity. HTTP status code: 400. +// - InvalidSmsRoleTrustRelationshipException +// This exception is thrown when the trust relationship is not valid for the +// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // -// * CodeDeliveryFailureException -// This exception is thrown when a verification code fails to deliver successfully. +// - InvalidEmailRoleAccessPolicyException +// This exception is thrown when Amazon Cognito isn't allowed to use your email +// identity. HTTP status code: 400. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - CodeDeliveryFailureException +// This exception is thrown when a verification code fails to deliver successfully. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotFoundException +// This exception is thrown when a user isn't found. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ForgotPassword func (c *CognitoIdentityProvider) ForgotPassword(input *ForgotPasswordInput) (*ForgotPasswordOutput, error) { @@ -6311,14 +6309,13 @@ const opGetCSVHeader = "GetCSVHeader" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCSVHeaderRequest method. +// req, resp := client.GetCSVHeaderRequest(params) // -// // Example sending a request using the GetCSVHeaderRequest method. -// req, resp := client.GetCSVHeaderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeader func (c *CognitoIdentityProvider) GetCSVHeaderRequest(input *GetCSVHeaderInput) (req *request.Request, output *GetCSVHeaderOutput) { @@ -6350,23 +6347,24 @@ func (c *CognitoIdentityProvider) GetCSVHeaderRequest(input *GetCSVHeaderInput) // API operation GetCSVHeader for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetCSVHeader func (c *CognitoIdentityProvider) GetCSVHeader(input *GetCSVHeaderInput) (*GetCSVHeaderOutput, error) { @@ -6406,14 +6404,13 @@ const opGetDevice = "GetDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeviceRequest method. +// req, resp := client.GetDeviceRequest(params) // -// // Example sending a request using the GetDeviceRequest method. -// req, resp := client.GetDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDevice func (c *CognitoIdentityProvider) GetDeviceRequest(input *GetDeviceInput) (req *request.Request, output *GetDeviceOutput) { @@ -6444,35 +6441,36 @@ func (c *CognitoIdentityProvider) GetDeviceRequest(input *GetDeviceInput) (req * // API operation GetDevice for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * InvalidUserPoolConfigurationException -// This exception is thrown when the user pool configuration is not valid. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - InvalidUserPoolConfigurationException +// This exception is thrown when the user pool configuration is not valid. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetDevice func (c *CognitoIdentityProvider) GetDevice(input *GetDeviceInput) (*GetDeviceOutput, error) { @@ -6512,14 +6510,13 @@ const opGetGroup = "GetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGroupRequest method. +// req, resp := client.GetGroupRequest(params) // -// // Example sending a request using the GetGroupRequest method. -// req, resp := client.GetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroup func (c *CognitoIdentityProvider) GetGroupRequest(input *GetGroupInput) (req *request.Request, output *GetGroupOutput) { @@ -6552,23 +6549,24 @@ func (c *CognitoIdentityProvider) GetGroupRequest(input *GetGroupInput) (req *re // API operation GetGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetGroup func (c *CognitoIdentityProvider) GetGroup(input *GetGroupInput) (*GetGroupOutput, error) { @@ -6608,14 +6606,13 @@ const opGetIdentityProviderByIdentifier = "GetIdentityProviderByIdentifier" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIdentityProviderByIdentifierRequest method. +// req, resp := client.GetIdentityProviderByIdentifierRequest(params) // -// // Example sending a request using the GetIdentityProviderByIdentifierRequest method. -// req, resp := client.GetIdentityProviderByIdentifierRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifier func (c *CognitoIdentityProvider) GetIdentityProviderByIdentifierRequest(input *GetIdentityProviderByIdentifierInput) (req *request.Request, output *GetIdentityProviderByIdentifierOutput) { @@ -6646,23 +6643,24 @@ func (c *CognitoIdentityProvider) GetIdentityProviderByIdentifierRequest(input * // API operation GetIdentityProviderByIdentifier for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetIdentityProviderByIdentifier func (c *CognitoIdentityProvider) GetIdentityProviderByIdentifier(input *GetIdentityProviderByIdentifierInput) (*GetIdentityProviderByIdentifierOutput, error) { @@ -6702,14 +6700,13 @@ const opGetSigningCertificate = "GetSigningCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSigningCertificateRequest method. +// req, resp := client.GetSigningCertificateRequest(params) // -// // Example sending a request using the GetSigningCertificateRequest method. -// req, resp := client.GetSigningCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetSigningCertificate func (c *CognitoIdentityProvider) GetSigningCertificateRequest(input *GetSigningCertificateInput) (req *request.Request, output *GetSigningCertificateOutput) { @@ -6740,16 +6737,17 @@ func (c *CognitoIdentityProvider) GetSigningCertificateRequest(input *GetSigning // API operation GetSigningCertificate for usage and error information. // // Returned Error Types: -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetSigningCertificate func (c *CognitoIdentityProvider) GetSigningCertificate(input *GetSigningCertificateInput) (*GetSigningCertificateOutput, error) { @@ -6789,14 +6787,13 @@ const opGetUICustomization = "GetUICustomization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUICustomizationRequest method. +// req, resp := client.GetUICustomizationRequest(params) // -// // Example sending a request using the GetUICustomizationRequest method. -// req, resp := client.GetUICustomizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUICustomization func (c *CognitoIdentityProvider) GetUICustomizationRequest(input *GetUICustomizationInput) (req *request.Request, output *GetUICustomizationOutput) { @@ -6831,23 +6828,24 @@ func (c *CognitoIdentityProvider) GetUICustomizationRequest(input *GetUICustomiz // API operation GetUICustomization for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUICustomization func (c *CognitoIdentityProvider) GetUICustomization(input *GetUICustomizationInput) (*GetUICustomizationOutput, error) { @@ -6887,14 +6885,13 @@ const opGetUser = "GetUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUserRequest method. +// req, resp := client.GetUserRequest(params) // -// // Example sending a request using the GetUserRequest method. -// req, resp := client.GetUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUser func (c *CognitoIdentityProvider) GetUserRequest(input *GetUserInput) (req *request.Request, output *GetUserOutput) { @@ -6926,32 +6923,33 @@ func (c *CognitoIdentityProvider) GetUserRequest(input *GetUserInput) (req *requ // API operation GetUser for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUser func (c *CognitoIdentityProvider) GetUser(input *GetUserInput) (*GetUserOutput, error) { @@ -6991,14 +6989,13 @@ const opGetUserAttributeVerificationCode = "GetUserAttributeVerificationCode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUserAttributeVerificationCodeRequest method. +// req, resp := client.GetUserAttributeVerificationCodeRequest(params) // -// // Example sending a request using the GetUserAttributeVerificationCodeRequest method. -// req, resp := client.GetUserAttributeVerificationCodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAttributeVerificationCode func (c *CognitoIdentityProvider) GetUserAttributeVerificationCodeRequest(input *GetUserAttributeVerificationCodeInput) (req *request.Request, output *GetUserAttributeVerificationCodeOutput) { @@ -7050,65 +7047,66 @@ func (c *CognitoIdentityProvider) GetUserAttributeVerificationCodeRequest(input // API operation GetUserAttributeVerificationCode for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UnexpectedLambdaException -// This exception is thrown when Amazon Cognito encounters an unexpected exception -// with Lambda. +// - UnexpectedLambdaException +// This exception is thrown when Amazon Cognito encounters an unexpected exception +// with Lambda. // -// * UserLambdaValidationException -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the Lambda service. +// - UserLambdaValidationException +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the Lambda service. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * InvalidSmsRoleAccessPolicyException -// This exception is returned when the role provided for SMS configuration doesn't -// have permission to publish using Amazon SNS. +// - InvalidSmsRoleAccessPolicyException +// This exception is returned when the role provided for SMS configuration doesn't +// have permission to publish using Amazon SNS. // -// * InvalidSmsRoleTrustRelationshipException -// This exception is thrown when the trust relationship is not valid for the -// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. +// - InvalidSmsRoleTrustRelationshipException +// This exception is thrown when the trust relationship is not valid for the +// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // -// * InvalidEmailRoleAccessPolicyException -// This exception is thrown when Amazon Cognito isn't allowed to use your email -// identity. HTTP status code: 400. +// - InvalidEmailRoleAccessPolicyException +// This exception is thrown when Amazon Cognito isn't allowed to use your email +// identity. HTTP status code: 400. // -// * CodeDeliveryFailureException -// This exception is thrown when a verification code fails to deliver successfully. +// - CodeDeliveryFailureException +// This exception is thrown when a verification code fails to deliver successfully. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserAttributeVerificationCode func (c *CognitoIdentityProvider) GetUserAttributeVerificationCode(input *GetUserAttributeVerificationCodeInput) (*GetUserAttributeVerificationCodeOutput, error) { @@ -7148,14 +7146,13 @@ const opGetUserPoolMfaConfig = "GetUserPoolMfaConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUserPoolMfaConfigRequest method. +// req, resp := client.GetUserPoolMfaConfigRequest(params) // -// // Example sending a request using the GetUserPoolMfaConfigRequest method. -// req, resp := client.GetUserPoolMfaConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserPoolMfaConfig func (c *CognitoIdentityProvider) GetUserPoolMfaConfigRequest(input *GetUserPoolMfaConfigInput) (req *request.Request, output *GetUserPoolMfaConfigOutput) { @@ -7186,23 +7183,24 @@ func (c *CognitoIdentityProvider) GetUserPoolMfaConfigRequest(input *GetUserPool // API operation GetUserPoolMfaConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserPoolMfaConfig func (c *CognitoIdentityProvider) GetUserPoolMfaConfig(input *GetUserPoolMfaConfigInput) (*GetUserPoolMfaConfigOutput, error) { @@ -7242,14 +7240,13 @@ const opGlobalSignOut = "GlobalSignOut" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GlobalSignOutRequest method. +// req, resp := client.GlobalSignOutRequest(params) // -// // Example sending a request using the GlobalSignOutRequest method. -// req, resp := client.GlobalSignOutRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOut func (c *CognitoIdentityProvider) GlobalSignOutRequest(input *GlobalSignOutInput) (req *request.Request, output *GlobalSignOutOutput) { @@ -7286,29 +7283,30 @@ func (c *CognitoIdentityProvider) GlobalSignOutRequest(input *GlobalSignOutInput // API operation GlobalSignOut for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GlobalSignOut func (c *CognitoIdentityProvider) GlobalSignOut(input *GlobalSignOutInput) (*GlobalSignOutOutput, error) { @@ -7348,14 +7346,13 @@ const opInitiateAuth = "InitiateAuth" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InitiateAuthRequest method. +// req, resp := client.InitiateAuthRequest(params) // -// // Example sending a request using the InitiateAuthRequest method. -// req, resp := client.InitiateAuthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuth func (c *CognitoIdentityProvider) InitiateAuthRequest(input *InitiateAuthInput) (req *request.Request, output *InitiateAuthOutput) { @@ -7407,57 +7404,58 @@ func (c *CognitoIdentityProvider) InitiateAuthRequest(input *InitiateAuthInput) // API operation InitiateAuth for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UnexpectedLambdaException -// This exception is thrown when Amazon Cognito encounters an unexpected exception -// with Lambda. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InvalidUserPoolConfigurationException -// This exception is thrown when the user pool configuration is not valid. +// - UnexpectedLambdaException +// This exception is thrown when Amazon Cognito encounters an unexpected exception +// with Lambda. // -// * UserLambdaValidationException -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the Lambda service. +// - InvalidUserPoolConfigurationException +// This exception is thrown when the user pool configuration is not valid. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - UserLambdaValidationException +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the Lambda service. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. // -// * InvalidSmsRoleAccessPolicyException -// This exception is returned when the role provided for SMS configuration doesn't -// have permission to publish using Amazon SNS. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // -// * InvalidSmsRoleTrustRelationshipException -// This exception is thrown when the trust relationship is not valid for the -// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. +// - InvalidSmsRoleAccessPolicyException +// This exception is returned when the role provided for SMS configuration doesn't +// have permission to publish using Amazon SNS. +// +// - InvalidSmsRoleTrustRelationshipException +// This exception is thrown when the trust relationship is not valid for the +// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/InitiateAuth func (c *CognitoIdentityProvider) InitiateAuth(input *InitiateAuthInput) (*InitiateAuthOutput, error) { @@ -7497,14 +7495,13 @@ const opListDevices = "ListDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDevicesRequest method. +// req, resp := client.ListDevicesRequest(params) // -// // Example sending a request using the ListDevicesRequest method. -// req, resp := client.ListDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevices func (c *CognitoIdentityProvider) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput) { @@ -7536,35 +7533,36 @@ func (c *CognitoIdentityProvider) ListDevicesRequest(input *ListDevicesInput) (r // API operation ListDevices for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * InvalidUserPoolConfigurationException -// This exception is thrown when the user pool configuration is not valid. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidUserPoolConfigurationException +// This exception is thrown when the user pool configuration is not valid. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListDevices func (c *CognitoIdentityProvider) ListDevices(input *ListDevicesInput) (*ListDevicesOutput, error) { @@ -7604,14 +7602,13 @@ const opListGroups = "ListGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroupsRequest method. +// req, resp := client.ListGroupsRequest(params) // -// // Example sending a request using the ListGroupsRequest method. -// req, resp := client.ListGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroups func (c *CognitoIdentityProvider) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput) { @@ -7650,23 +7647,24 @@ func (c *CognitoIdentityProvider) ListGroupsRequest(input *ListGroupsInput) (req // API operation ListGroups for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListGroups func (c *CognitoIdentityProvider) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error) { @@ -7698,15 +7696,14 @@ func (c *CognitoIdentityProvider) ListGroupsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGroups operation. -// pageNum := 0 -// err := client.ListGroupsPages(params, -// func(page *cognitoidentityprovider.ListGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGroups operation. +// pageNum := 0 +// err := client.ListGroupsPages(params, +// func(page *cognitoidentityprovider.ListGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CognitoIdentityProvider) ListGroupsPages(input *ListGroupsInput, fn func(*ListGroupsOutput, bool) bool) error { return c.ListGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7758,14 +7755,13 @@ const opListIdentityProviders = "ListIdentityProviders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIdentityProvidersRequest method. +// req, resp := client.ListIdentityProvidersRequest(params) // -// // Example sending a request using the ListIdentityProvidersRequest method. -// req, resp := client.ListIdentityProvidersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProviders func (c *CognitoIdentityProvider) ListIdentityProvidersRequest(input *ListIdentityProvidersInput) (req *request.Request, output *ListIdentityProvidersOutput) { @@ -7802,23 +7798,24 @@ func (c *CognitoIdentityProvider) ListIdentityProvidersRequest(input *ListIdenti // API operation ListIdentityProviders for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListIdentityProviders func (c *CognitoIdentityProvider) ListIdentityProviders(input *ListIdentityProvidersInput) (*ListIdentityProvidersOutput, error) { @@ -7850,15 +7847,14 @@ func (c *CognitoIdentityProvider) ListIdentityProvidersWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListIdentityProviders operation. -// pageNum := 0 -// err := client.ListIdentityProvidersPages(params, -// func(page *cognitoidentityprovider.ListIdentityProvidersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListIdentityProviders operation. +// pageNum := 0 +// err := client.ListIdentityProvidersPages(params, +// func(page *cognitoidentityprovider.ListIdentityProvidersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CognitoIdentityProvider) ListIdentityProvidersPages(input *ListIdentityProvidersInput, fn func(*ListIdentityProvidersOutput, bool) bool) error { return c.ListIdentityProvidersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7910,14 +7906,13 @@ const opListResourceServers = "ListResourceServers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourceServersRequest method. +// req, resp := client.ListResourceServersRequest(params) // -// // Example sending a request using the ListResourceServersRequest method. -// req, resp := client.ListResourceServersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListResourceServers func (c *CognitoIdentityProvider) ListResourceServersRequest(input *ListResourceServersInput) (req *request.Request, output *ListResourceServersOutput) { @@ -7954,23 +7949,24 @@ func (c *CognitoIdentityProvider) ListResourceServersRequest(input *ListResource // API operation ListResourceServers for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListResourceServers func (c *CognitoIdentityProvider) ListResourceServers(input *ListResourceServersInput) (*ListResourceServersOutput, error) { @@ -8002,15 +7998,14 @@ func (c *CognitoIdentityProvider) ListResourceServersWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResourceServers operation. -// pageNum := 0 -// err := client.ListResourceServersPages(params, -// func(page *cognitoidentityprovider.ListResourceServersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResourceServers operation. +// pageNum := 0 +// err := client.ListResourceServersPages(params, +// func(page *cognitoidentityprovider.ListResourceServersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CognitoIdentityProvider) ListResourceServersPages(input *ListResourceServersInput, fn func(*ListResourceServersOutput, bool) bool) error { return c.ListResourceServersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8062,14 +8057,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListTagsForResource func (c *CognitoIdentityProvider) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -8106,23 +8100,24 @@ func (c *CognitoIdentityProvider) ListTagsForResourceRequest(input *ListTagsForR // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListTagsForResource func (c *CognitoIdentityProvider) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -8162,14 +8157,13 @@ const opListUserImportJobs = "ListUserImportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUserImportJobsRequest method. +// req, resp := client.ListUserImportJobsRequest(params) // -// // Example sending a request using the ListUserImportJobsRequest method. -// req, resp := client.ListUserImportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobs func (c *CognitoIdentityProvider) ListUserImportJobsRequest(input *ListUserImportJobsInput) (req *request.Request, output *ListUserImportJobsOutput) { @@ -8200,23 +8194,24 @@ func (c *CognitoIdentityProvider) ListUserImportJobsRequest(input *ListUserImpor // API operation ListUserImportJobs for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserImportJobs func (c *CognitoIdentityProvider) ListUserImportJobs(input *ListUserImportJobsInput) (*ListUserImportJobsOutput, error) { @@ -8256,14 +8251,13 @@ const opListUserPoolClients = "ListUserPoolClients" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUserPoolClientsRequest method. +// req, resp := client.ListUserPoolClientsRequest(params) // -// // Example sending a request using the ListUserPoolClientsRequest method. -// req, resp := client.ListUserPoolClientsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClients func (c *CognitoIdentityProvider) ListUserPoolClientsRequest(input *ListUserPoolClientsInput) (req *request.Request, output *ListUserPoolClientsOutput) { @@ -8300,23 +8294,24 @@ func (c *CognitoIdentityProvider) ListUserPoolClientsRequest(input *ListUserPool // API operation ListUserPoolClients for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPoolClients func (c *CognitoIdentityProvider) ListUserPoolClients(input *ListUserPoolClientsInput) (*ListUserPoolClientsOutput, error) { @@ -8348,15 +8343,14 @@ func (c *CognitoIdentityProvider) ListUserPoolClientsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUserPoolClients operation. -// pageNum := 0 -// err := client.ListUserPoolClientsPages(params, -// func(page *cognitoidentityprovider.ListUserPoolClientsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUserPoolClients operation. +// pageNum := 0 +// err := client.ListUserPoolClientsPages(params, +// func(page *cognitoidentityprovider.ListUserPoolClientsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CognitoIdentityProvider) ListUserPoolClientsPages(input *ListUserPoolClientsInput, fn func(*ListUserPoolClientsOutput, bool) bool) error { return c.ListUserPoolClientsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8408,14 +8402,13 @@ const opListUserPools = "ListUserPools" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUserPoolsRequest method. +// req, resp := client.ListUserPoolsRequest(params) // -// // Example sending a request using the ListUserPoolsRequest method. -// req, resp := client.ListUserPoolsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPools func (c *CognitoIdentityProvider) ListUserPoolsRequest(input *ListUserPoolsInput) (req *request.Request, output *ListUserPoolsOutput) { @@ -8452,19 +8445,20 @@ func (c *CognitoIdentityProvider) ListUserPoolsRequest(input *ListUserPoolsInput // API operation ListUserPools for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUserPools func (c *CognitoIdentityProvider) ListUserPools(input *ListUserPoolsInput) (*ListUserPoolsOutput, error) { @@ -8496,15 +8490,14 @@ func (c *CognitoIdentityProvider) ListUserPoolsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUserPools operation. -// pageNum := 0 -// err := client.ListUserPoolsPages(params, -// func(page *cognitoidentityprovider.ListUserPoolsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUserPools operation. +// pageNum := 0 +// err := client.ListUserPoolsPages(params, +// func(page *cognitoidentityprovider.ListUserPoolsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CognitoIdentityProvider) ListUserPoolsPages(input *ListUserPoolsInput, fn func(*ListUserPoolsOutput, bool) bool) error { return c.ListUserPoolsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8556,14 +8549,13 @@ const opListUsers = "ListUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUsersRequest method. +// req, resp := client.ListUsersRequest(params) // -// // Example sending a request using the ListUsersRequest method. -// req, resp := client.ListUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsers func (c *CognitoIdentityProvider) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) { @@ -8600,23 +8592,24 @@ func (c *CognitoIdentityProvider) ListUsersRequest(input *ListUsersInput) (req * // API operation ListUsers for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsers func (c *CognitoIdentityProvider) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) { @@ -8648,15 +8641,14 @@ func (c *CognitoIdentityProvider) ListUsersWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUsers operation. -// pageNum := 0 -// err := client.ListUsersPages(params, -// func(page *cognitoidentityprovider.ListUsersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUsers operation. +// pageNum := 0 +// err := client.ListUsersPages(params, +// func(page *cognitoidentityprovider.ListUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CognitoIdentityProvider) ListUsersPages(input *ListUsersInput, fn func(*ListUsersOutput, bool) bool) error { return c.ListUsersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8708,14 +8700,13 @@ const opListUsersInGroup = "ListUsersInGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUsersInGroupRequest method. +// req, resp := client.ListUsersInGroupRequest(params) // -// // Example sending a request using the ListUsersInGroupRequest method. -// req, resp := client.ListUsersInGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroup func (c *CognitoIdentityProvider) ListUsersInGroupRequest(input *ListUsersInGroupInput) (req *request.Request, output *ListUsersInGroupOutput) { @@ -8754,23 +8745,24 @@ func (c *CognitoIdentityProvider) ListUsersInGroupRequest(input *ListUsersInGrou // API operation ListUsersInGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ListUsersInGroup func (c *CognitoIdentityProvider) ListUsersInGroup(input *ListUsersInGroupInput) (*ListUsersInGroupOutput, error) { @@ -8802,15 +8794,14 @@ func (c *CognitoIdentityProvider) ListUsersInGroupWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUsersInGroup operation. -// pageNum := 0 -// err := client.ListUsersInGroupPages(params, -// func(page *cognitoidentityprovider.ListUsersInGroupOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUsersInGroup operation. +// pageNum := 0 +// err := client.ListUsersInGroupPages(params, +// func(page *cognitoidentityprovider.ListUsersInGroupOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CognitoIdentityProvider) ListUsersInGroupPages(input *ListUsersInGroupInput, fn func(*ListUsersInGroupOutput, bool) bool) error { return c.ListUsersInGroupPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8862,14 +8853,13 @@ const opResendConfirmationCode = "ResendConfirmationCode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResendConfirmationCodeRequest method. +// req, resp := client.ResendConfirmationCodeRequest(params) // -// // Example sending a request using the ResendConfirmationCodeRequest method. -// req, resp := client.ResendConfirmationCodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResendConfirmationCode func (c *CognitoIdentityProvider) ResendConfirmationCodeRequest(input *ResendConfirmationCodeInput) (req *request.Request, output *ResendConfirmationCodeOutput) { @@ -8920,59 +8910,60 @@ func (c *CognitoIdentityProvider) ResendConfirmationCodeRequest(input *ResendCon // API operation ResendConfirmationCode for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * UnexpectedLambdaException -// This exception is thrown when Amazon Cognito encounters an unexpected exception -// with Lambda. +// - UnexpectedLambdaException +// This exception is thrown when Amazon Cognito encounters an unexpected exception +// with Lambda. // -// * UserLambdaValidationException -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the Lambda service. +// - UserLambdaValidationException +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the Lambda service. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. // -// * InvalidSmsRoleAccessPolicyException -// This exception is returned when the role provided for SMS configuration doesn't -// have permission to publish using Amazon SNS. +// - InvalidSmsRoleAccessPolicyException +// This exception is returned when the role provided for SMS configuration doesn't +// have permission to publish using Amazon SNS. // -// * InvalidSmsRoleTrustRelationshipException -// This exception is thrown when the trust relationship is not valid for the -// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. +// - InvalidSmsRoleTrustRelationshipException +// This exception is thrown when the trust relationship is not valid for the +// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // -// * InvalidEmailRoleAccessPolicyException -// This exception is thrown when Amazon Cognito isn't allowed to use your email -// identity. HTTP status code: 400. +// - InvalidEmailRoleAccessPolicyException +// This exception is thrown when Amazon Cognito isn't allowed to use your email +// identity. HTTP status code: 400. // -// * CodeDeliveryFailureException -// This exception is thrown when a verification code fails to deliver successfully. +// - CodeDeliveryFailureException +// This exception is thrown when a verification code fails to deliver successfully. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/ResendConfirmationCode func (c *CognitoIdentityProvider) ResendConfirmationCode(input *ResendConfirmationCodeInput) (*ResendConfirmationCodeOutput, error) { @@ -9012,14 +9003,13 @@ const opRespondToAuthChallenge = "RespondToAuthChallenge" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RespondToAuthChallengeRequest method. +// req, resp := client.RespondToAuthChallengeRequest(params) // -// // Example sending a request using the RespondToAuthChallengeRequest method. -// req, resp := client.RespondToAuthChallengeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallenge func (c *CognitoIdentityProvider) RespondToAuthChallengeRequest(input *RespondToAuthChallengeInput) (req *request.Request, output *RespondToAuthChallengeOutput) { @@ -9069,82 +9059,83 @@ func (c *CognitoIdentityProvider) RespondToAuthChallengeRequest(input *RespondTo // API operation RespondToAuthChallenge for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * CodeMismatchException -// This exception is thrown if the provided code doesn't match what the server -// was expecting. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * ExpiredCodeException -// This exception is thrown if a code has expired. +// - CodeMismatchException +// This exception is thrown if the provided code doesn't match what the server +// was expecting. // -// * UnexpectedLambdaException -// This exception is thrown when Amazon Cognito encounters an unexpected exception -// with Lambda. +// - ExpiredCodeException +// This exception is thrown if a code has expired. // -// * UserLambdaValidationException -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the Lambda service. +// - UnexpectedLambdaException +// This exception is thrown when Amazon Cognito encounters an unexpected exception +// with Lambda. // -// * InvalidPasswordException -// This exception is thrown when Amazon Cognito encounters an invalid password. +// - UserLambdaValidationException +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the Lambda service. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - InvalidPasswordException +// This exception is thrown when Amazon Cognito encounters an invalid password. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * InvalidUserPoolConfigurationException -// This exception is thrown when the user pool configuration is not valid. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * MFAMethodNotFoundException -// This exception is thrown when Amazon Cognito can't find a multi-factor authentication -// (MFA) method. +// - InvalidUserPoolConfigurationException +// This exception is thrown when the user pool configuration is not valid. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - MFAMethodNotFoundException +// This exception is thrown when Amazon Cognito can't find a multi-factor authentication +// (MFA) method. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InvalidSmsRoleAccessPolicyException -// This exception is returned when the role provided for SMS configuration doesn't -// have permission to publish using Amazon SNS. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. // -// * InvalidSmsRoleTrustRelationshipException -// This exception is thrown when the trust relationship is not valid for the -// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. +// - InvalidSmsRoleAccessPolicyException +// This exception is returned when the role provided for SMS configuration doesn't +// have permission to publish using Amazon SNS. // -// * AliasExistsException -// This exception is thrown when a user tries to confirm the account with an -// email address or phone number that has already been supplied as an alias -// from a different account. This exception indicates that an account with this -// email address or phone already exists in a user pool that you've configured -// to use email address or phone number as a sign-in alias. +// - InvalidSmsRoleTrustRelationshipException +// This exception is thrown when the trust relationship is not valid for the +// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - AliasExistsException +// This exception is thrown when a user tries to confirm the account with an +// email address or phone number that has already been supplied as an alias +// from a different account. This exception indicates that an account with this +// email address or phone already exists in a user pool that you've configured +// to use email address or phone number as a sign-in alias. // -// * SoftwareTokenMFANotFoundException -// This exception is thrown when the software token time-based one-time password -// (TOTP) multi-factor authentication (MFA) isn't activated for the user pool. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. +// +// - SoftwareTokenMFANotFoundException +// This exception is thrown when the software token time-based one-time password +// (TOTP) multi-factor authentication (MFA) isn't activated for the user pool. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RespondToAuthChallenge func (c *CognitoIdentityProvider) RespondToAuthChallenge(input *RespondToAuthChallengeInput) (*RespondToAuthChallengeOutput, error) { @@ -9184,14 +9175,13 @@ const opRevokeToken = "RevokeToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeTokenRequest method. +// req, resp := client.RevokeTokenRequest(params) // -// // Example sending a request using the RevokeTokenRequest method. -// req, resp := client.RevokeTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RevokeToken func (c *CognitoIdentityProvider) RevokeTokenRequest(input *RevokeTokenInput) (req *request.Request, output *RevokeTokenOutput) { @@ -9225,27 +9215,28 @@ func (c *CognitoIdentityProvider) RevokeTokenRequest(input *RevokeTokenInput) (r // API operation RevokeToken for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // -// * UnauthorizedException -// Exception that is thrown when the request isn't authorized. This can happen -// due to an invalid access token in the request. +// - UnauthorizedException +// Exception that is thrown when the request isn't authorized. This can happen +// due to an invalid access token in the request. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * UnsupportedOperationException -// Exception that is thrown when you attempt to perform an operation that isn't -// enabled for the user pool client. +// - UnsupportedOperationException +// Exception that is thrown when you attempt to perform an operation that isn't +// enabled for the user pool client. // -// * UnsupportedTokenTypeException -// Exception that is thrown when an unsupported token is passed to an operation. +// - UnsupportedTokenTypeException +// Exception that is thrown when an unsupported token is passed to an operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/RevokeToken func (c *CognitoIdentityProvider) RevokeToken(input *RevokeTokenInput) (*RevokeTokenOutput, error) { @@ -9285,14 +9276,13 @@ const opSetRiskConfiguration = "SetRiskConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetRiskConfigurationRequest method. +// req, resp := client.SetRiskConfigurationRequest(params) // -// // Example sending a request using the SetRiskConfigurationRequest method. -// req, resp := client.SetRiskConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetRiskConfiguration func (c *CognitoIdentityProvider) SetRiskConfigurationRequest(input *SetRiskConfigurationInput) (req *request.Request, output *SetRiskConfigurationOutput) { @@ -9327,33 +9317,34 @@ func (c *CognitoIdentityProvider) SetRiskConfigurationRequest(input *SetRiskConf // API operation SetRiskConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserPoolAddOnNotEnabledException -// This exception is thrown when user pool add-ons aren't enabled. +// - UserPoolAddOnNotEnabledException +// This exception is thrown when user pool add-ons aren't enabled. // -// * CodeDeliveryFailureException -// This exception is thrown when a verification code fails to deliver successfully. +// - CodeDeliveryFailureException +// This exception is thrown when a verification code fails to deliver successfully. // -// * InvalidEmailRoleAccessPolicyException -// This exception is thrown when Amazon Cognito isn't allowed to use your email -// identity. HTTP status code: 400. +// - InvalidEmailRoleAccessPolicyException +// This exception is thrown when Amazon Cognito isn't allowed to use your email +// identity. HTTP status code: 400. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetRiskConfiguration func (c *CognitoIdentityProvider) SetRiskConfiguration(input *SetRiskConfigurationInput) (*SetRiskConfigurationOutput, error) { @@ -9393,14 +9384,13 @@ const opSetUICustomization = "SetUICustomization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetUICustomizationRequest method. +// req, resp := client.SetUICustomizationRequest(params) // -// // Example sending a request using the SetUICustomizationRequest method. -// req, resp := client.SetUICustomizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUICustomization func (c *CognitoIdentityProvider) SetUICustomizationRequest(input *SetUICustomizationInput) (req *request.Request, output *SetUICustomizationOutput) { @@ -9442,23 +9432,24 @@ func (c *CognitoIdentityProvider) SetUICustomizationRequest(input *SetUICustomiz // API operation SetUICustomization for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUICustomization func (c *CognitoIdentityProvider) SetUICustomization(input *SetUICustomizationInput) (*SetUICustomizationOutput, error) { @@ -9498,14 +9489,13 @@ const opSetUserMFAPreference = "SetUserMFAPreference" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetUserMFAPreferenceRequest method. +// req, resp := client.SetUserMFAPreferenceRequest(params) // -// // Example sending a request using the SetUserMFAPreferenceRequest method. -// req, resp := client.SetUserMFAPreferenceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserMFAPreference func (c *CognitoIdentityProvider) SetUserMFAPreferenceRequest(input *SetUserMFAPreferenceInput) (req *request.Request, output *SetUserMFAPreferenceOutput) { @@ -9546,28 +9536,29 @@ func (c *CognitoIdentityProvider) SetUserMFAPreferenceRequest(input *SetUserMFAP // API operation SetUserMFAPreference for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserMFAPreference func (c *CognitoIdentityProvider) SetUserMFAPreference(input *SetUserMFAPreferenceInput) (*SetUserMFAPreferenceOutput, error) { @@ -9607,14 +9598,13 @@ const opSetUserPoolMfaConfig = "SetUserPoolMfaConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetUserPoolMfaConfigRequest method. +// req, resp := client.SetUserPoolMfaConfigRequest(params) // -// // Example sending a request using the SetUserPoolMfaConfigRequest method. -// req, resp := client.SetUserPoolMfaConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserPoolMfaConfig func (c *CognitoIdentityProvider) SetUserPoolMfaConfigRequest(input *SetUserPoolMfaConfigInput) (req *request.Request, output *SetUserPoolMfaConfigOutput) { @@ -9663,33 +9653,34 @@ func (c *CognitoIdentityProvider) SetUserPoolMfaConfigRequest(input *SetUserPool // API operation SetUserPoolMfaConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InvalidSmsRoleAccessPolicyException -// This exception is returned when the role provided for SMS configuration doesn't -// have permission to publish using Amazon SNS. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * InvalidSmsRoleTrustRelationshipException -// This exception is thrown when the trust relationship is not valid for the -// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. +// - InvalidSmsRoleAccessPolicyException +// This exception is returned when the role provided for SMS configuration doesn't +// have permission to publish using Amazon SNS. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - InvalidSmsRoleTrustRelationshipException +// This exception is thrown when the trust relationship is not valid for the +// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserPoolMfaConfig func (c *CognitoIdentityProvider) SetUserPoolMfaConfig(input *SetUserPoolMfaConfigInput) (*SetUserPoolMfaConfigOutput, error) { @@ -9729,14 +9720,13 @@ const opSetUserSettings = "SetUserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetUserSettingsRequest method. +// req, resp := client.SetUserSettingsRequest(params) // -// // Example sending a request using the SetUserSettingsRequest method. -// req, resp := client.SetUserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserSettings func (c *CognitoIdentityProvider) SetUserSettingsRequest(input *SetUserSettingsInput) (req *request.Request, output *SetUserSettingsOutput) { @@ -9772,28 +9762,29 @@ func (c *CognitoIdentityProvider) SetUserSettingsRequest(input *SetUserSettingsI // API operation SetUserSettings for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserSettings func (c *CognitoIdentityProvider) SetUserSettings(input *SetUserSettingsInput) (*SetUserSettingsOutput, error) { @@ -9833,14 +9824,13 @@ const opSignUp = "SignUp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SignUpRequest method. +// req, resp := client.SignUpRequest(params) // -// // Example sending a request using the SignUpRequest method. -// req, resp := client.SignUpRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SignUp func (c *CognitoIdentityProvider) SignUpRequest(input *SignUpInput) (req *request.Request, output *SignUpOutput) { @@ -9891,59 +9881,60 @@ func (c *CognitoIdentityProvider) SignUpRequest(input *SignUpInput) (req *reques // API operation SignUp for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * UnexpectedLambdaException -// This exception is thrown when Amazon Cognito encounters an unexpected exception -// with Lambda. +// - UnexpectedLambdaException +// This exception is thrown when Amazon Cognito encounters an unexpected exception +// with Lambda. // -// * UserLambdaValidationException -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the Lambda service. +// - UserLambdaValidationException +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the Lambda service. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InvalidPasswordException -// This exception is thrown when Amazon Cognito encounters an invalid password. +// - InvalidPasswordException +// This exception is thrown when Amazon Cognito encounters an invalid password. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * UsernameExistsException -// This exception is thrown when Amazon Cognito encounters a user name that -// already exists in the user pool. +// - UsernameExistsException +// This exception is thrown when Amazon Cognito encounters a user name that +// already exists in the user pool. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // -// * InvalidSmsRoleAccessPolicyException -// This exception is returned when the role provided for SMS configuration doesn't -// have permission to publish using Amazon SNS. +// - InvalidSmsRoleAccessPolicyException +// This exception is returned when the role provided for SMS configuration doesn't +// have permission to publish using Amazon SNS. // -// * InvalidSmsRoleTrustRelationshipException -// This exception is thrown when the trust relationship is not valid for the -// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. +// - InvalidSmsRoleTrustRelationshipException +// This exception is thrown when the trust relationship is not valid for the +// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // -// * InvalidEmailRoleAccessPolicyException -// This exception is thrown when Amazon Cognito isn't allowed to use your email -// identity. HTTP status code: 400. +// - InvalidEmailRoleAccessPolicyException +// This exception is thrown when Amazon Cognito isn't allowed to use your email +// identity. HTTP status code: 400. // -// * CodeDeliveryFailureException -// This exception is thrown when a verification code fails to deliver successfully. +// - CodeDeliveryFailureException +// This exception is thrown when a verification code fails to deliver successfully. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SignUp func (c *CognitoIdentityProvider) SignUp(input *SignUpInput) (*SignUpOutput, error) { @@ -9983,14 +9974,13 @@ const opStartUserImportJob = "StartUserImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartUserImportJobRequest method. +// req, resp := client.StartUserImportJobRequest(params) // -// // Example sending a request using the StartUserImportJobRequest method. -// req, resp := client.StartUserImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJob func (c *CognitoIdentityProvider) StartUserImportJobRequest(input *StartUserImportJobInput) (req *request.Request, output *StartUserImportJobOutput) { @@ -10021,26 +10011,27 @@ func (c *CognitoIdentityProvider) StartUserImportJobRequest(input *StartUserImpo // API operation StartUserImportJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * PreconditionNotMetException -// This exception is thrown when a precondition is not met. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - PreconditionNotMetException +// This exception is thrown when a precondition is not met. +// +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StartUserImportJob func (c *CognitoIdentityProvider) StartUserImportJob(input *StartUserImportJobInput) (*StartUserImportJobOutput, error) { @@ -10080,14 +10071,13 @@ const opStopUserImportJob = "StopUserImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopUserImportJobRequest method. +// req, resp := client.StopUserImportJobRequest(params) // -// // Example sending a request using the StopUserImportJobRequest method. -// req, resp := client.StopUserImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJob func (c *CognitoIdentityProvider) StopUserImportJobRequest(input *StopUserImportJobInput) (req *request.Request, output *StopUserImportJobOutput) { @@ -10118,26 +10108,27 @@ func (c *CognitoIdentityProvider) StopUserImportJobRequest(input *StopUserImport // API operation StopUserImportJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // -// * PreconditionNotMetException -// This exception is thrown when a precondition is not met. +// - PreconditionNotMetException +// This exception is thrown when a precondition is not met. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/StopUserImportJob func (c *CognitoIdentityProvider) StopUserImportJob(input *StopUserImportJobInput) (*StopUserImportJobOutput, error) { @@ -10177,14 +10168,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/TagResource func (c *CognitoIdentityProvider) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -10233,23 +10223,24 @@ func (c *CognitoIdentityProvider) TagResourceRequest(input *TagResourceInput) (r // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/TagResource func (c *CognitoIdentityProvider) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -10289,14 +10280,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UntagResource func (c *CognitoIdentityProvider) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -10329,23 +10319,24 @@ func (c *CognitoIdentityProvider) UntagResourceRequest(input *UntagResourceInput // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UntagResource func (c *CognitoIdentityProvider) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -10385,14 +10376,13 @@ const opUpdateAuthEventFeedback = "UpdateAuthEventFeedback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAuthEventFeedbackRequest method. +// req, resp := client.UpdateAuthEventFeedbackRequest(params) // -// // Example sending a request using the UpdateAuthEventFeedbackRequest method. -// req, resp := client.UpdateAuthEventFeedbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateAuthEventFeedback func (c *CognitoIdentityProvider) UpdateAuthEventFeedbackRequest(input *UpdateAuthEventFeedbackInput) (req *request.Request, output *UpdateAuthEventFeedbackOutput) { @@ -10426,29 +10416,30 @@ func (c *CognitoIdentityProvider) UpdateAuthEventFeedbackRequest(input *UpdateAu // API operation UpdateAuthEventFeedback for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * UserPoolAddOnNotEnabledException -// This exception is thrown when user pool add-ons aren't enabled. +// - UserPoolAddOnNotEnabledException +// This exception is thrown when user pool add-ons aren't enabled. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateAuthEventFeedback func (c *CognitoIdentityProvider) UpdateAuthEventFeedback(input *UpdateAuthEventFeedbackInput) (*UpdateAuthEventFeedbackOutput, error) { @@ -10488,14 +10479,13 @@ const opUpdateDeviceStatus = "UpdateDeviceStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDeviceStatusRequest method. +// req, resp := client.UpdateDeviceStatusRequest(params) // -// // Example sending a request using the UpdateDeviceStatusRequest method. -// req, resp := client.UpdateDeviceStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateDeviceStatus func (c *CognitoIdentityProvider) UpdateDeviceStatusRequest(input *UpdateDeviceStatusInput) (req *request.Request, output *UpdateDeviceStatusOutput) { @@ -10527,35 +10517,36 @@ func (c *CognitoIdentityProvider) UpdateDeviceStatusRequest(input *UpdateDeviceS // API operation UpdateDeviceStatus for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * InvalidUserPoolConfigurationException -// This exception is thrown when the user pool configuration is not valid. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidUserPoolConfigurationException +// This exception is thrown when the user pool configuration is not valid. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateDeviceStatus func (c *CognitoIdentityProvider) UpdateDeviceStatus(input *UpdateDeviceStatusInput) (*UpdateDeviceStatusOutput, error) { @@ -10595,14 +10586,13 @@ const opUpdateGroup = "UpdateGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGroupRequest method. +// req, resp := client.UpdateGroupRequest(params) // -// // Example sending a request using the UpdateGroupRequest method. -// req, resp := client.UpdateGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroup func (c *CognitoIdentityProvider) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput) { @@ -10635,23 +10625,24 @@ func (c *CognitoIdentityProvider) UpdateGroupRequest(input *UpdateGroupInput) (r // API operation UpdateGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateGroup func (c *CognitoIdentityProvider) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error) { @@ -10691,14 +10682,13 @@ const opUpdateIdentityProvider = "UpdateIdentityProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIdentityProviderRequest method. +// req, resp := client.UpdateIdentityProviderRequest(params) // -// // Example sending a request using the UpdateIdentityProviderRequest method. -// req, resp := client.UpdateIdentityProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProvider func (c *CognitoIdentityProvider) UpdateIdentityProviderRequest(input *UpdateIdentityProviderInput) (req *request.Request, output *UpdateIdentityProviderOutput) { @@ -10729,26 +10719,27 @@ func (c *CognitoIdentityProvider) UpdateIdentityProviderRequest(input *UpdateIde // API operation UpdateIdentityProvider for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * UnsupportedIdentityProviderException -// This exception is thrown when the specified identifier isn't supported. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - UnsupportedIdentityProviderException +// This exception is thrown when the specified identifier isn't supported. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateIdentityProvider func (c *CognitoIdentityProvider) UpdateIdentityProvider(input *UpdateIdentityProviderInput) (*UpdateIdentityProviderOutput, error) { @@ -10788,14 +10779,13 @@ const opUpdateResourceServer = "UpdateResourceServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResourceServerRequest method. +// req, resp := client.UpdateResourceServerRequest(params) // -// // Example sending a request using the UpdateResourceServerRequest method. -// req, resp := client.UpdateResourceServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateResourceServer func (c *CognitoIdentityProvider) UpdateResourceServerRequest(input *UpdateResourceServerInput) (req *request.Request, output *UpdateResourceServerOutput) { @@ -10828,23 +10818,24 @@ func (c *CognitoIdentityProvider) UpdateResourceServerRequest(input *UpdateResou // API operation UpdateResourceServer for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateResourceServer func (c *CognitoIdentityProvider) UpdateResourceServer(input *UpdateResourceServerInput) (*UpdateResourceServerOutput, error) { @@ -10884,14 +10875,13 @@ const opUpdateUserAttributes = "UpdateUserAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserAttributesRequest method. +// req, resp := client.UpdateUserAttributesRequest(params) // -// // Example sending a request using the UpdateUserAttributesRequest method. -// req, resp := client.UpdateUserAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserAttributes func (c *CognitoIdentityProvider) UpdateUserAttributesRequest(input *UpdateUserAttributesInput) (req *request.Request, output *UpdateUserAttributesOutput) { @@ -10941,75 +10931,76 @@ func (c *CognitoIdentityProvider) UpdateUserAttributesRequest(input *UpdateUserA // API operation UpdateUserAttributes for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * CodeMismatchException -// This exception is thrown if the provided code doesn't match what the server -// was expecting. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * ExpiredCodeException -// This exception is thrown if a code has expired. +// - CodeMismatchException +// This exception is thrown if the provided code doesn't match what the server +// was expecting. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - ExpiredCodeException +// This exception is thrown if a code has expired. // -// * UnexpectedLambdaException -// This exception is thrown when Amazon Cognito encounters an unexpected exception -// with Lambda. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * UserLambdaValidationException -// This exception is thrown when the Amazon Cognito service encounters a user -// validation exception with the Lambda service. +// - UnexpectedLambdaException +// This exception is thrown when Amazon Cognito encounters an unexpected exception +// with Lambda. // -// * InvalidLambdaResponseException -// This exception is thrown when Amazon Cognito encounters an invalid Lambda -// response. +// - UserLambdaValidationException +// This exception is thrown when the Amazon Cognito service encounters a user +// validation exception with the Lambda service. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - InvalidLambdaResponseException +// This exception is thrown when Amazon Cognito encounters an invalid Lambda +// response. // -// * AliasExistsException -// This exception is thrown when a user tries to confirm the account with an -// email address or phone number that has already been supplied as an alias -// from a different account. This exception indicates that an account with this -// email address or phone already exists in a user pool that you've configured -// to use email address or phone number as a sign-in alias. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InvalidSmsRoleAccessPolicyException -// This exception is returned when the role provided for SMS configuration doesn't -// have permission to publish using Amazon SNS. +// - AliasExistsException +// This exception is thrown when a user tries to confirm the account with an +// email address or phone number that has already been supplied as an alias +// from a different account. This exception indicates that an account with this +// email address or phone already exists in a user pool that you've configured +// to use email address or phone number as a sign-in alias. // -// * InvalidSmsRoleTrustRelationshipException -// This exception is thrown when the trust relationship is not valid for the -// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. +// - InvalidSmsRoleAccessPolicyException +// This exception is returned when the role provided for SMS configuration doesn't +// have permission to publish using Amazon SNS. // -// * InvalidEmailRoleAccessPolicyException -// This exception is thrown when Amazon Cognito isn't allowed to use your email -// identity. HTTP status code: 400. +// - InvalidSmsRoleTrustRelationshipException +// This exception is thrown when the trust relationship is not valid for the +// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // -// * CodeDeliveryFailureException -// This exception is thrown when a verification code fails to deliver successfully. +// - InvalidEmailRoleAccessPolicyException +// This exception is thrown when Amazon Cognito isn't allowed to use your email +// identity. HTTP status code: 400. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - CodeDeliveryFailureException +// This exception is thrown when a verification code fails to deliver successfully. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. +// +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserAttributes func (c *CognitoIdentityProvider) UpdateUserAttributes(input *UpdateUserAttributesInput) (*UpdateUserAttributesOutput, error) { @@ -11049,14 +11040,13 @@ const opUpdateUserPool = "UpdateUserPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserPoolRequest method. +// req, resp := client.UpdateUserPoolRequest(params) // -// // Example sending a request using the UpdateUserPoolRequest method. -// req, resp := client.UpdateUserPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPool func (c *CognitoIdentityProvider) UpdateUserPoolRequest(input *UpdateUserPoolInput) (req *request.Request, output *UpdateUserPoolOutput) { @@ -11109,47 +11099,48 @@ func (c *CognitoIdentityProvider) UpdateUserPoolRequest(input *UpdateUserPoolInp // API operation UpdateUserPool for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * ConcurrentModificationException -// This exception is thrown if two or more modifications are happening concurrently. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - ConcurrentModificationException +// This exception is thrown if two or more modifications are happening concurrently. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserImportInProgressException -// This exception is thrown when you're trying to modify a user pool while a -// user import job is in progress for that pool. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserImportInProgressException +// This exception is thrown when you're trying to modify a user pool while a +// user import job is in progress for that pool. // -// * InvalidSmsRoleAccessPolicyException -// This exception is returned when the role provided for SMS configuration doesn't -// have permission to publish using Amazon SNS. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // -// * InvalidSmsRoleTrustRelationshipException -// This exception is thrown when the trust relationship is not valid for the -// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com -// or the external ID provided in the role does not match what is provided in -// the SMS configuration for the user pool. +// - InvalidSmsRoleAccessPolicyException +// This exception is returned when the role provided for SMS configuration doesn't +// have permission to publish using Amazon SNS. // -// * UserPoolTaggingException -// This exception is thrown when a user pool tag can't be set or updated. +// - InvalidSmsRoleTrustRelationshipException +// This exception is thrown when the trust relationship is not valid for the +// role provided for SMS configuration. This can happen if you don't trust cognito-idp.amazonaws.com +// or the external ID provided in the role does not match what is provided in +// the SMS configuration for the user pool. // -// * InvalidEmailRoleAccessPolicyException -// This exception is thrown when Amazon Cognito isn't allowed to use your email -// identity. HTTP status code: 400. +// - UserPoolTaggingException +// This exception is thrown when a user pool tag can't be set or updated. +// +// - InvalidEmailRoleAccessPolicyException +// This exception is thrown when Amazon Cognito isn't allowed to use your email +// identity. HTTP status code: 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPool func (c *CognitoIdentityProvider) UpdateUserPool(input *UpdateUserPoolInput) (*UpdateUserPoolOutput, error) { @@ -11189,14 +11180,13 @@ const opUpdateUserPoolClient = "UpdateUserPoolClient" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserPoolClientRequest method. +// req, resp := client.UpdateUserPoolClientRequest(params) // -// // Example sending a request using the UpdateUserPoolClientRequest method. -// req, resp := client.UpdateUserPoolClientRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClient func (c *CognitoIdentityProvider) UpdateUserPoolClientRequest(input *UpdateUserPoolClientInput) (req *request.Request, output *UpdateUserPoolClientOutput) { @@ -11235,32 +11225,33 @@ func (c *CognitoIdentityProvider) UpdateUserPoolClientRequest(input *UpdateUserP // API operation UpdateUserPoolClient for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * ConcurrentModificationException -// This exception is thrown if two or more modifications are happening concurrently. +// - ConcurrentModificationException +// This exception is thrown if two or more modifications are happening concurrently. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * ScopeDoesNotExistException -// This exception is thrown when the specified scope doesn't exist. +// - ScopeDoesNotExistException +// This exception is thrown when the specified scope doesn't exist. // -// * InvalidOAuthFlowException -// This exception is thrown when the specified OAuth flow is not valid. +// - InvalidOAuthFlowException +// This exception is thrown when the specified OAuth flow is not valid. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolClient func (c *CognitoIdentityProvider) UpdateUserPoolClient(input *UpdateUserPoolClientInput) (*UpdateUserPoolClientOutput, error) { @@ -11300,14 +11291,13 @@ const opUpdateUserPoolDomain = "UpdateUserPoolDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserPoolDomainRequest method. +// req, resp := client.UpdateUserPoolDomainRequest(params) // -// // Example sending a request using the UpdateUserPoolDomainRequest method. -// req, resp := client.UpdateUserPoolDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolDomain func (c *CognitoIdentityProvider) UpdateUserPoolDomainRequest(input *UpdateUserPoolDomainInput) (req *request.Request, output *UpdateUserPoolDomainOutput) { @@ -11366,23 +11356,24 @@ func (c *CognitoIdentityProvider) UpdateUserPoolDomainRequest(input *UpdateUserP // API operation UpdateUserPoolDomain for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. +// +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/UpdateUserPoolDomain func (c *CognitoIdentityProvider) UpdateUserPoolDomain(input *UpdateUserPoolDomainInput) (*UpdateUserPoolDomainOutput, error) { @@ -11422,14 +11413,13 @@ const opVerifySoftwareToken = "VerifySoftwareToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the VerifySoftwareTokenRequest method. +// req, resp := client.VerifySoftwareTokenRequest(params) // -// // Example sending a request using the VerifySoftwareTokenRequest method. -// req, resp := client.VerifySoftwareTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifySoftwareToken func (c *CognitoIdentityProvider) VerifySoftwareTokenRequest(input *VerifySoftwareTokenInput) (req *request.Request, output *VerifySoftwareTokenOutput) { @@ -11462,50 +11452,51 @@ func (c *CognitoIdentityProvider) VerifySoftwareTokenRequest(input *VerifySoftwa // API operation VerifySoftwareToken for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. // -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * InvalidUserPoolConfigurationException -// This exception is thrown when the user pool configuration is not valid. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - InvalidUserPoolConfigurationException +// This exception is thrown when the user pool configuration is not valid. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. // -// * EnableSoftwareTokenMFAException -// This exception is thrown when there is a code mismatch and the service fails -// to configure the software token TOTP multi-factor authentication (MFA). +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - EnableSoftwareTokenMFAException +// This exception is thrown when there is a code mismatch and the service fails +// to configure the software token TOTP multi-factor authentication (MFA). // -// * SoftwareTokenMFANotFoundException -// This exception is thrown when the software token time-based one-time password -// (TOTP) multi-factor authentication (MFA) isn't activated for the user pool. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * CodeMismatchException -// This exception is thrown if the provided code doesn't match what the server -// was expecting. +// - SoftwareTokenMFANotFoundException +// This exception is thrown when the software token time-based one-time password +// (TOTP) multi-factor authentication (MFA) isn't activated for the user pool. +// +// - CodeMismatchException +// This exception is thrown if the provided code doesn't match what the server +// was expecting. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifySoftwareToken func (c *CognitoIdentityProvider) VerifySoftwareToken(input *VerifySoftwareTokenInput) (*VerifySoftwareTokenOutput, error) { @@ -11545,14 +11536,13 @@ const opVerifyUserAttribute = "VerifyUserAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the VerifyUserAttributeRequest method. +// req, resp := client.VerifyUserAttributeRequest(params) // -// // Example sending a request using the VerifyUserAttributeRequest method. -// req, resp := client.VerifyUserAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifyUserAttribute func (c *CognitoIdentityProvider) VerifyUserAttributeRequest(input *VerifyUserAttributeInput) (req *request.Request, output *VerifyUserAttributeOutput) { @@ -11590,50 +11580,51 @@ func (c *CognitoIdentityProvider) VerifyUserAttributeRequest(input *VerifyUserAt // API operation VerifyUserAttribute for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// This exception is thrown when the Amazon Cognito service can't find the requested -// resource. // -// * InvalidParameterException -// This exception is thrown when the Amazon Cognito service encounters an invalid -// parameter. +// - ResourceNotFoundException +// This exception is thrown when the Amazon Cognito service can't find the requested +// resource. +// +// - InvalidParameterException +// This exception is thrown when the Amazon Cognito service encounters an invalid +// parameter. // -// * CodeMismatchException -// This exception is thrown if the provided code doesn't match what the server -// was expecting. +// - CodeMismatchException +// This exception is thrown if the provided code doesn't match what the server +// was expecting. // -// * ExpiredCodeException -// This exception is thrown if a code has expired. +// - ExpiredCodeException +// This exception is thrown if a code has expired. // -// * NotAuthorizedException -// This exception is thrown when a user isn't authorized. +// - NotAuthorizedException +// This exception is thrown when a user isn't authorized. // -// * TooManyRequestsException -// This exception is thrown when the user has made too many requests for a given -// operation. +// - TooManyRequestsException +// This exception is thrown when the user has made too many requests for a given +// operation. // -// * LimitExceededException -// This exception is thrown when a user exceeds the limit for a requested Amazon -// Web Services resource. +// - LimitExceededException +// This exception is thrown when a user exceeds the limit for a requested Amazon +// Web Services resource. // -// * PasswordResetRequiredException -// This exception is thrown when a password reset is required. +// - PasswordResetRequiredException +// This exception is thrown when a password reset is required. // -// * UserNotFoundException -// This exception is thrown when a user isn't found. +// - UserNotFoundException +// This exception is thrown when a user isn't found. // -// * UserNotConfirmedException -// This exception is thrown when a user isn't confirmed successfully. +// - UserNotConfirmedException +// This exception is thrown when a user isn't confirmed successfully. // -// * InternalErrorException -// This exception is thrown when Amazon Cognito encounters an internal error. +// - InternalErrorException +// This exception is thrown when Amazon Cognito encounters an internal error. // -// * AliasExistsException -// This exception is thrown when a user tries to confirm the account with an -// email address or phone number that has already been supplied as an alias -// from a different account. This exception indicates that an account with this -// email address or phone already exists in a user pool that you've configured -// to use email address or phone number as a sign-in alias. +// - AliasExistsException +// This exception is thrown when a user tries to confirm the account with an +// email address or phone number that has already been supplied as an alias +// from a different account. This exception indicates that an account with this +// email address or phone already exists in a user pool that you've configured +// to use email address or phone number as a sign-in alias. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/VerifyUserAttribute func (c *CognitoIdentityProvider) VerifyUserAttribute(input *VerifyUserAttributeInput) (*VerifyUserAttributeOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/cognitoidentityprovideriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/cognitoidentityprovideriface/interface.go index fcd31d0a2aed..6310fb9b820b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/cognitoidentityprovideriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/cognitoidentityprovideriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Cognito Identity Provider. -// func myFunc(svc cognitoidentityprovideriface.CognitoIdentityProviderAPI) bool { -// // Make svc.AddCustomAttributes request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Cognito Identity Provider. +// func myFunc(svc cognitoidentityprovideriface.CognitoIdentityProviderAPI) bool { +// // Make svc.AddCustomAttributes request +// } // -// func main() { -// sess := session.New() -// svc := cognitoidentityprovider.New(sess) +// func main() { +// sess := session.New() +// svc := cognitoidentityprovider.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCognitoIdentityProviderClient struct { -// cognitoidentityprovideriface.CognitoIdentityProviderAPI -// } -// func (m *mockCognitoIdentityProviderClient) AddCustomAttributes(input *cognitoidentityprovider.AddCustomAttributesInput) (*cognitoidentityprovider.AddCustomAttributesOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCognitoIdentityProviderClient struct { +// cognitoidentityprovideriface.CognitoIdentityProviderAPI +// } +// func (m *mockCognitoIdentityProviderClient) AddCustomAttributes(input *cognitoidentityprovider.AddCustomAttributesInput) (*cognitoidentityprovider.AddCustomAttributesOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCognitoIdentityProviderClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCognitoIdentityProviderClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/doc.go index 8c4e5b798d27..71e5cc77d012 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/doc.go @@ -17,7 +17,7 @@ // See cognitoidentityprovider package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentityprovider/ // -// Using the Client +// # Using the Client // // To contact Amazon Cognito Identity Provider with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/service.go index 07ae831e593f..75cabb24bc73 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitoidentityprovider/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CognitoIdentityProvider client from just a session. -// svc := cognitoidentityprovider.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CognitoIdentityProvider client with additional configuration -// svc := cognitoidentityprovider.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CognitoIdentityProvider client from just a session. +// svc := cognitoidentityprovider.New(mySession) +// +// // Create a CognitoIdentityProvider client with additional configuration +// svc := cognitoidentityprovider.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CognitoIdentityProvider { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/api.go index e80efa328ae7..7fc41e92b2dc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/api.go @@ -29,14 +29,13 @@ const opBulkPublish = "BulkPublish" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BulkPublishRequest method. +// req, resp := client.BulkPublishRequest(params) // -// // Example sending a request using the BulkPublishRequest method. -// req, resp := client.BulkPublishRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/BulkPublish func (c *CognitoSync) BulkPublishRequest(input *BulkPublishInput) (req *request.Request, output *BulkPublishOutput) { @@ -73,25 +72,26 @@ func (c *CognitoSync) BulkPublishRequest(input *BulkPublishInput) (req *request. // API operation BulkPublish for usage and error information. // // Returned Error Types: -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. // -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. +// +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. // -// * ResourceNotFoundException -// Thrown if the resource doesn't exist. +// - ResourceNotFoundException +// Thrown if the resource doesn't exist. // -// * InternalErrorException -// Indicates an internal service error. +// - InternalErrorException +// Indicates an internal service error. // -// * DuplicateRequestException -// An exception thrown when there is an IN_PROGRESS bulk publish operation for -// the given identity pool. +// - DuplicateRequestException +// An exception thrown when there is an IN_PROGRESS bulk publish operation for +// the given identity pool. // -// * AlreadyStreamedException -// An exception thrown when a bulk publish operation is requested less than -// 24 hours after a previous bulk publish operation completed successfully. +// - AlreadyStreamedException +// An exception thrown when a bulk publish operation is requested less than +// 24 hours after a previous bulk publish operation completed successfully. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/BulkPublish func (c *CognitoSync) BulkPublish(input *BulkPublishInput) (*BulkPublishOutput, error) { @@ -131,14 +131,13 @@ const opDeleteDataset = "DeleteDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatasetRequest method. +// req, resp := client.DeleteDatasetRequest(params) // -// // Example sending a request using the DeleteDatasetRequest method. -// req, resp := client.DeleteDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DeleteDataset func (c *CognitoSync) DeleteDatasetRequest(input *DeleteDatasetInput) (req *request.Request, output *DeleteDatasetOutput) { @@ -175,24 +174,25 @@ func (c *CognitoSync) DeleteDatasetRequest(input *DeleteDatasetInput) (req *requ // API operation DeleteDataset for usage and error information. // // Returned Error Types: -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. // -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceNotFoundException -// Thrown if the resource doesn't exist. +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. // -// * InternalErrorException -// Indicates an internal service error. +// - ResourceNotFoundException +// Thrown if the resource doesn't exist. // -// * TooManyRequestsException -// Thrown if the request is throttled. +// - InternalErrorException +// Indicates an internal service error. // -// * ResourceConflictException -// Thrown if an update can't be applied because the resource was changed by -// another call and this would result in a conflict. +// - TooManyRequestsException +// Thrown if the request is throttled. +// +// - ResourceConflictException +// Thrown if an update can't be applied because the resource was changed by +// another call and this would result in a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DeleteDataset func (c *CognitoSync) DeleteDataset(input *DeleteDatasetInput) (*DeleteDatasetOutput, error) { @@ -232,14 +232,13 @@ const opDescribeDataset = "DescribeDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDatasetRequest method. +// req, resp := client.DescribeDatasetRequest(params) // -// // Example sending a request using the DescribeDatasetRequest method. -// req, resp := client.DescribeDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DescribeDataset func (c *CognitoSync) DescribeDatasetRequest(input *DescribeDatasetInput) (req *request.Request, output *DescribeDatasetOutput) { @@ -276,20 +275,21 @@ func (c *CognitoSync) DescribeDatasetRequest(input *DescribeDatasetInput) (req * // API operation DescribeDataset for usage and error information. // // Returned Error Types: -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. // -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceNotFoundException -// Thrown if the resource doesn't exist. +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. // -// * InternalErrorException -// Indicates an internal service error. +// - ResourceNotFoundException +// Thrown if the resource doesn't exist. // -// * TooManyRequestsException -// Thrown if the request is throttled. +// - InternalErrorException +// Indicates an internal service error. +// +// - TooManyRequestsException +// Thrown if the request is throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DescribeDataset func (c *CognitoSync) DescribeDataset(input *DescribeDatasetInput) (*DescribeDatasetOutput, error) { @@ -329,14 +329,13 @@ const opDescribeIdentityPoolUsage = "DescribeIdentityPoolUsage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIdentityPoolUsageRequest method. +// req, resp := client.DescribeIdentityPoolUsageRequest(params) // -// // Example sending a request using the DescribeIdentityPoolUsageRequest method. -// req, resp := client.DescribeIdentityPoolUsageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DescribeIdentityPoolUsage func (c *CognitoSync) DescribeIdentityPoolUsageRequest(input *DescribeIdentityPoolUsageInput) (req *request.Request, output *DescribeIdentityPoolUsageOutput) { @@ -371,20 +370,21 @@ func (c *CognitoSync) DescribeIdentityPoolUsageRequest(input *DescribeIdentityPo // API operation DescribeIdentityPoolUsage for usage and error information. // // Returned Error Types: -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. // -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceNotFoundException -// Thrown if the resource doesn't exist. +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. // -// * InternalErrorException -// Indicates an internal service error. +// - ResourceNotFoundException +// Thrown if the resource doesn't exist. // -// * TooManyRequestsException -// Thrown if the request is throttled. +// - InternalErrorException +// Indicates an internal service error. +// +// - TooManyRequestsException +// Thrown if the request is throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DescribeIdentityPoolUsage func (c *CognitoSync) DescribeIdentityPoolUsage(input *DescribeIdentityPoolUsageInput) (*DescribeIdentityPoolUsageOutput, error) { @@ -424,14 +424,13 @@ const opDescribeIdentityUsage = "DescribeIdentityUsage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIdentityUsageRequest method. +// req, resp := client.DescribeIdentityUsageRequest(params) // -// // Example sending a request using the DescribeIdentityUsageRequest method. -// req, resp := client.DescribeIdentityUsageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DescribeIdentityUsage func (c *CognitoSync) DescribeIdentityUsageRequest(input *DescribeIdentityUsageInput) (req *request.Request, output *DescribeIdentityUsageOutput) { @@ -466,20 +465,21 @@ func (c *CognitoSync) DescribeIdentityUsageRequest(input *DescribeIdentityUsageI // API operation DescribeIdentityUsage for usage and error information. // // Returned Error Types: -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. // -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceNotFoundException -// Thrown if the resource doesn't exist. +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. // -// * InternalErrorException -// Indicates an internal service error. +// - ResourceNotFoundException +// Thrown if the resource doesn't exist. // -// * TooManyRequestsException -// Thrown if the request is throttled. +// - InternalErrorException +// Indicates an internal service error. +// +// - TooManyRequestsException +// Thrown if the request is throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/DescribeIdentityUsage func (c *CognitoSync) DescribeIdentityUsage(input *DescribeIdentityUsageInput) (*DescribeIdentityUsageOutput, error) { @@ -519,14 +519,13 @@ const opGetBulkPublishDetails = "GetBulkPublishDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBulkPublishDetailsRequest method. +// req, resp := client.GetBulkPublishDetailsRequest(params) // -// // Example sending a request using the GetBulkPublishDetailsRequest method. -// req, resp := client.GetBulkPublishDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/GetBulkPublishDetails func (c *CognitoSync) GetBulkPublishDetailsRequest(input *GetBulkPublishDetailsInput) (req *request.Request, output *GetBulkPublishDetailsOutput) { @@ -560,17 +559,18 @@ func (c *CognitoSync) GetBulkPublishDetailsRequest(input *GetBulkPublishDetailsI // API operation GetBulkPublishDetails for usage and error information. // // Returned Error Types: -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. // -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceNotFoundException -// Thrown if the resource doesn't exist. +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. // -// * InternalErrorException -// Indicates an internal service error. +// - ResourceNotFoundException +// Thrown if the resource doesn't exist. +// +// - InternalErrorException +// Indicates an internal service error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/GetBulkPublishDetails func (c *CognitoSync) GetBulkPublishDetails(input *GetBulkPublishDetailsInput) (*GetBulkPublishDetailsOutput, error) { @@ -610,14 +610,13 @@ const opGetCognitoEvents = "GetCognitoEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCognitoEventsRequest method. +// req, resp := client.GetCognitoEventsRequest(params) // -// // Example sending a request using the GetCognitoEventsRequest method. -// req, resp := client.GetCognitoEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/GetCognitoEvents func (c *CognitoSync) GetCognitoEventsRequest(input *GetCognitoEventsInput) (req *request.Request, output *GetCognitoEventsOutput) { @@ -652,20 +651,21 @@ func (c *CognitoSync) GetCognitoEventsRequest(input *GetCognitoEventsInput) (req // API operation GetCognitoEvents for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. // -// * ResourceNotFoundException -// Thrown if the resource doesn't exist. +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - ResourceNotFoundException +// Thrown if the resource doesn't exist. // -// * InternalErrorException -// Indicates an internal service error. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * TooManyRequestsException -// Thrown if the request is throttled. +// - InternalErrorException +// Indicates an internal service error. +// +// - TooManyRequestsException +// Thrown if the request is throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/GetCognitoEvents func (c *CognitoSync) GetCognitoEvents(input *GetCognitoEventsInput) (*GetCognitoEventsOutput, error) { @@ -705,14 +705,13 @@ const opGetIdentityPoolConfiguration = "GetIdentityPoolConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIdentityPoolConfigurationRequest method. +// req, resp := client.GetIdentityPoolConfigurationRequest(params) // -// // Example sending a request using the GetIdentityPoolConfigurationRequest method. -// req, resp := client.GetIdentityPoolConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/GetIdentityPoolConfiguration func (c *CognitoSync) GetIdentityPoolConfigurationRequest(input *GetIdentityPoolConfigurationInput) (req *request.Request, output *GetIdentityPoolConfigurationOutput) { @@ -746,20 +745,21 @@ func (c *CognitoSync) GetIdentityPoolConfigurationRequest(input *GetIdentityPool // API operation GetIdentityPoolConfiguration for usage and error information. // // Returned Error Types: -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. // -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceNotFoundException -// Thrown if the resource doesn't exist. +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. // -// * InternalErrorException -// Indicates an internal service error. +// - ResourceNotFoundException +// Thrown if the resource doesn't exist. // -// * TooManyRequestsException -// Thrown if the request is throttled. +// - InternalErrorException +// Indicates an internal service error. +// +// - TooManyRequestsException +// Thrown if the request is throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/GetIdentityPoolConfiguration func (c *CognitoSync) GetIdentityPoolConfiguration(input *GetIdentityPoolConfigurationInput) (*GetIdentityPoolConfigurationOutput, error) { @@ -799,14 +799,13 @@ const opListDatasets = "ListDatasets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetsRequest method. +// req, resp := client.ListDatasetsRequest(params) // -// // Example sending a request using the ListDatasetsRequest method. -// req, resp := client.ListDatasetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/ListDatasets func (c *CognitoSync) ListDatasetsRequest(input *ListDatasetsInput) (req *request.Request, output *ListDatasetsOutput) { @@ -843,17 +842,18 @@ func (c *CognitoSync) ListDatasetsRequest(input *ListDatasetsInput) (req *reques // API operation ListDatasets for usage and error information. // // Returned Error Types: -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. // -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * InternalErrorException -// Indicates an internal service error. +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. // -// * TooManyRequestsException -// Thrown if the request is throttled. +// - InternalErrorException +// Indicates an internal service error. +// +// - TooManyRequestsException +// Thrown if the request is throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/ListDatasets func (c *CognitoSync) ListDatasets(input *ListDatasetsInput) (*ListDatasetsOutput, error) { @@ -893,14 +893,13 @@ const opListIdentityPoolUsage = "ListIdentityPoolUsage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIdentityPoolUsageRequest method. +// req, resp := client.ListIdentityPoolUsageRequest(params) // -// // Example sending a request using the ListIdentityPoolUsageRequest method. -// req, resp := client.ListIdentityPoolUsageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/ListIdentityPoolUsage func (c *CognitoSync) ListIdentityPoolUsageRequest(input *ListIdentityPoolUsageInput) (req *request.Request, output *ListIdentityPoolUsageOutput) { @@ -935,17 +934,18 @@ func (c *CognitoSync) ListIdentityPoolUsageRequest(input *ListIdentityPoolUsageI // API operation ListIdentityPoolUsage for usage and error information. // // Returned Error Types: -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. // -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. +// +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. // -// * InternalErrorException -// Indicates an internal service error. +// - InternalErrorException +// Indicates an internal service error. // -// * TooManyRequestsException -// Thrown if the request is throttled. +// - TooManyRequestsException +// Thrown if the request is throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/ListIdentityPoolUsage func (c *CognitoSync) ListIdentityPoolUsage(input *ListIdentityPoolUsageInput) (*ListIdentityPoolUsageOutput, error) { @@ -985,14 +985,13 @@ const opListRecords = "ListRecords" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRecordsRequest method. +// req, resp := client.ListRecordsRequest(params) // -// // Example sending a request using the ListRecordsRequest method. -// req, resp := client.ListRecordsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/ListRecords func (c *CognitoSync) ListRecordsRequest(input *ListRecordsInput) (req *request.Request, output *ListRecordsOutput) { @@ -1030,17 +1029,18 @@ func (c *CognitoSync) ListRecordsRequest(input *ListRecordsInput) (req *request. // API operation ListRecords for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. +// +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * TooManyRequestsException -// Thrown if the request is throttled. +// - TooManyRequestsException +// Thrown if the request is throttled. // -// * InternalErrorException -// Indicates an internal service error. +// - InternalErrorException +// Indicates an internal service error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/ListRecords func (c *CognitoSync) ListRecords(input *ListRecordsInput) (*ListRecordsOutput, error) { @@ -1080,14 +1080,13 @@ const opRegisterDevice = "RegisterDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterDeviceRequest method. +// req, resp := client.RegisterDeviceRequest(params) // -// // Example sending a request using the RegisterDeviceRequest method. -// req, resp := client.RegisterDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/RegisterDevice func (c *CognitoSync) RegisterDeviceRequest(input *RegisterDeviceInput) (req *request.Request, output *RegisterDeviceOutput) { @@ -1121,22 +1120,23 @@ func (c *CognitoSync) RegisterDeviceRequest(input *RegisterDeviceInput) (req *re // API operation RegisterDevice for usage and error information. // // Returned Error Types: -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. // -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. +// +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. // -// * ResourceNotFoundException -// Thrown if the resource doesn't exist. +// - ResourceNotFoundException +// Thrown if the resource doesn't exist. // -// * InternalErrorException -// Indicates an internal service error. +// - InternalErrorException +// Indicates an internal service error. // -// * InvalidConfigurationException +// - InvalidConfigurationException // -// * TooManyRequestsException -// Thrown if the request is throttled. +// - TooManyRequestsException +// Thrown if the request is throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/RegisterDevice func (c *CognitoSync) RegisterDevice(input *RegisterDeviceInput) (*RegisterDeviceOutput, error) { @@ -1176,14 +1176,13 @@ const opSetCognitoEvents = "SetCognitoEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetCognitoEventsRequest method. +// req, resp := client.SetCognitoEventsRequest(params) // -// // Example sending a request using the SetCognitoEventsRequest method. -// req, resp := client.SetCognitoEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/SetCognitoEvents func (c *CognitoSync) SetCognitoEventsRequest(input *SetCognitoEventsInput) (req *request.Request, output *SetCognitoEventsOutput) { @@ -1221,20 +1220,21 @@ func (c *CognitoSync) SetCognitoEventsRequest(input *SetCognitoEventsInput) (req // API operation SetCognitoEvents for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. // -// * ResourceNotFoundException -// Thrown if the resource doesn't exist. +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. +// +// - ResourceNotFoundException +// Thrown if the resource doesn't exist. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * InternalErrorException -// Indicates an internal service error. +// - InternalErrorException +// Indicates an internal service error. // -// * TooManyRequestsException -// Thrown if the request is throttled. +// - TooManyRequestsException +// Thrown if the request is throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/SetCognitoEvents func (c *CognitoSync) SetCognitoEvents(input *SetCognitoEventsInput) (*SetCognitoEventsOutput, error) { @@ -1274,14 +1274,13 @@ const opSetIdentityPoolConfiguration = "SetIdentityPoolConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetIdentityPoolConfigurationRequest method. +// req, resp := client.SetIdentityPoolConfigurationRequest(params) // -// // Example sending a request using the SetIdentityPoolConfigurationRequest method. -// req, resp := client.SetIdentityPoolConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/SetIdentityPoolConfiguration func (c *CognitoSync) SetIdentityPoolConfigurationRequest(input *SetIdentityPoolConfigurationInput) (req *request.Request, output *SetIdentityPoolConfigurationOutput) { @@ -1315,23 +1314,24 @@ func (c *CognitoSync) SetIdentityPoolConfigurationRequest(input *SetIdentityPool // API operation SetIdentityPoolConfiguration for usage and error information. // // Returned Error Types: -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. // -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. +// +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. // -// * ResourceNotFoundException -// Thrown if the resource doesn't exist. +// - ResourceNotFoundException +// Thrown if the resource doesn't exist. // -// * InternalErrorException -// Indicates an internal service error. +// - InternalErrorException +// Indicates an internal service error. // -// * TooManyRequestsException -// Thrown if the request is throttled. +// - TooManyRequestsException +// Thrown if the request is throttled. // -// * ConcurrentModificationException -// Thrown if there are parallel requests to modify a resource. +// - ConcurrentModificationException +// Thrown if there are parallel requests to modify a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/SetIdentityPoolConfiguration func (c *CognitoSync) SetIdentityPoolConfiguration(input *SetIdentityPoolConfigurationInput) (*SetIdentityPoolConfigurationOutput, error) { @@ -1371,14 +1371,13 @@ const opSubscribeToDataset = "SubscribeToDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SubscribeToDatasetRequest method. +// req, resp := client.SubscribeToDatasetRequest(params) // -// // Example sending a request using the SubscribeToDatasetRequest method. -// req, resp := client.SubscribeToDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/SubscribeToDataset func (c *CognitoSync) SubscribeToDatasetRequest(input *SubscribeToDatasetInput) (req *request.Request, output *SubscribeToDatasetOutput) { @@ -1414,22 +1413,23 @@ func (c *CognitoSync) SubscribeToDatasetRequest(input *SubscribeToDatasetInput) // API operation SubscribeToDataset for usage and error information. // // Returned Error Types: -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. // -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. +// +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. // -// * ResourceNotFoundException -// Thrown if the resource doesn't exist. +// - ResourceNotFoundException +// Thrown if the resource doesn't exist. // -// * InternalErrorException -// Indicates an internal service error. +// - InternalErrorException +// Indicates an internal service error. // -// * InvalidConfigurationException +// - InvalidConfigurationException // -// * TooManyRequestsException -// Thrown if the request is throttled. +// - TooManyRequestsException +// Thrown if the request is throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/SubscribeToDataset func (c *CognitoSync) SubscribeToDataset(input *SubscribeToDatasetInput) (*SubscribeToDatasetOutput, error) { @@ -1469,14 +1469,13 @@ const opUnsubscribeFromDataset = "UnsubscribeFromDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnsubscribeFromDatasetRequest method. +// req, resp := client.UnsubscribeFromDatasetRequest(params) // -// // Example sending a request using the UnsubscribeFromDatasetRequest method. -// req, resp := client.UnsubscribeFromDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/UnsubscribeFromDataset func (c *CognitoSync) UnsubscribeFromDatasetRequest(input *UnsubscribeFromDatasetInput) (req *request.Request, output *UnsubscribeFromDatasetOutput) { @@ -1512,22 +1511,23 @@ func (c *CognitoSync) UnsubscribeFromDatasetRequest(input *UnsubscribeFromDatase // API operation UnsubscribeFromDataset for usage and error information. // // Returned Error Types: -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. // -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. +// +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. // -// * ResourceNotFoundException -// Thrown if the resource doesn't exist. +// - ResourceNotFoundException +// Thrown if the resource doesn't exist. // -// * InternalErrorException -// Indicates an internal service error. +// - InternalErrorException +// Indicates an internal service error. // -// * InvalidConfigurationException +// - InvalidConfigurationException // -// * TooManyRequestsException -// Thrown if the request is throttled. +// - TooManyRequestsException +// Thrown if the request is throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/UnsubscribeFromDataset func (c *CognitoSync) UnsubscribeFromDataset(input *UnsubscribeFromDatasetInput) (*UnsubscribeFromDatasetOutput, error) { @@ -1567,14 +1567,13 @@ const opUpdateRecords = "UpdateRecords" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRecordsRequest method. +// req, resp := client.UpdateRecordsRequest(params) // -// // Example sending a request using the UpdateRecordsRequest method. -// req, resp := client.UpdateRecordsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/UpdateRecords func (c *CognitoSync) UpdateRecordsRequest(input *UpdateRecordsInput) (req *request.Request, output *UpdateRecordsOutput) { @@ -1620,33 +1619,34 @@ func (c *CognitoSync) UpdateRecordsRequest(input *UpdateRecordsInput) (req *requ // API operation UpdateRecords for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Thrown when a request parameter does not comply with the associated constraints. // -// * LimitExceededException -// Thrown when the limit on the number of objects or operations has been exceeded. +// - InvalidParameterException +// Thrown when a request parameter does not comply with the associated constraints. +// +// - LimitExceededException +// Thrown when the limit on the number of objects or operations has been exceeded. // -// * NotAuthorizedException -// Thrown when a user is not authorized to access the requested resource. +// - NotAuthorizedException +// Thrown when a user is not authorized to access the requested resource. // -// * ResourceNotFoundException -// Thrown if the resource doesn't exist. +// - ResourceNotFoundException +// Thrown if the resource doesn't exist. // -// * ResourceConflictException -// Thrown if an update can't be applied because the resource was changed by -// another call and this would result in a conflict. +// - ResourceConflictException +// Thrown if an update can't be applied because the resource was changed by +// another call and this would result in a conflict. // -// * InvalidLambdaFunctionOutputException -// The AWS Lambda function returned invalid output or an exception. +// - InvalidLambdaFunctionOutputException +// The AWS Lambda function returned invalid output or an exception. // -// * LambdaThrottledException -// AWS Lambda throttled your account, please contact AWS Support +// - LambdaThrottledException +// AWS Lambda throttled your account, please contact AWS Support // -// * TooManyRequestsException -// Thrown if the request is throttled. +// - TooManyRequestsException +// Thrown if the request is throttled. // -// * InternalErrorException -// Indicates an internal service error. +// - InternalErrorException +// Indicates an internal service error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cognito-sync-2014-06-30/UpdateRecords func (c *CognitoSync) UpdateRecords(input *UpdateRecordsInput) (*UpdateRecordsOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/cognitosynciface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/cognitosynciface/interface.go index 8d0398733735..1c9adf01f9de 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/cognitosynciface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/cognitosynciface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Cognito Sync. -// func myFunc(svc cognitosynciface.CognitoSyncAPI) bool { -// // Make svc.BulkPublish request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Cognito Sync. +// func myFunc(svc cognitosynciface.CognitoSyncAPI) bool { +// // Make svc.BulkPublish request +// } // -// func main() { -// sess := session.New() -// svc := cognitosync.New(sess) +// func main() { +// sess := session.New() +// svc := cognitosync.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCognitoSyncClient struct { -// cognitosynciface.CognitoSyncAPI -// } -// func (m *mockCognitoSyncClient) BulkPublish(input *cognitosync.BulkPublishInput) (*cognitosync.BulkPublishOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCognitoSyncClient struct { +// cognitosynciface.CognitoSyncAPI +// } +// func (m *mockCognitoSyncClient) BulkPublish(input *cognitosync.BulkPublishInput) (*cognitosync.BulkPublishOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCognitoSyncClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCognitoSyncClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/doc.go index b9102a2709f7..4895f9de719c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/doc.go @@ -27,7 +27,7 @@ // See cognitosync package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/cognitosync/ // -// Using the Client +// # Using the Client // // To contact Amazon Cognito Sync with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/service.go index b4188676e7e1..2b9984424ffa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/cognitosync/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CognitoSync client from just a session. -// svc := cognitosync.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CognitoSync client with additional configuration -// svc := cognitosync.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CognitoSync client from just a session. +// svc := cognitosync.New(mySession) +// +// // Create a CognitoSync client with additional configuration +// svc := cognitosync.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CognitoSync { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/api.go index 2d5444aa6948..3a98dc46889f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/api.go @@ -29,14 +29,13 @@ const opBatchDetectDominantLanguage = "BatchDetectDominantLanguage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDetectDominantLanguageRequest method. +// req, resp := client.BatchDetectDominantLanguageRequest(params) // -// // Example sending a request using the BatchDetectDominantLanguageRequest method. -// req, resp := client.BatchDetectDominantLanguageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectDominantLanguage func (c *Comprehend) BatchDetectDominantLanguageRequest(input *BatchDetectDominantLanguageInput) (req *request.Request, output *BatchDetectDominantLanguageOutput) { @@ -69,18 +68,19 @@ func (c *Comprehend) BatchDetectDominantLanguageRequest(input *BatchDetectDomina // API operation BatchDetectDominantLanguage for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TextSizeLimitExceededException -// The size of the input text exceeds the limit. Use a smaller document. +// - InvalidRequestException +// The request is invalid. +// +// - TextSizeLimitExceededException +// The size of the input text exceeds the limit. Use a smaller document. // -// * BatchSizeLimitExceededException -// The number of documents in the request exceeds the limit of 25. Try your -// request again with fewer documents. +// - BatchSizeLimitExceededException +// The number of documents in the request exceeds the limit of 25. Try your +// request again with fewer documents. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectDominantLanguage func (c *Comprehend) BatchDetectDominantLanguage(input *BatchDetectDominantLanguageInput) (*BatchDetectDominantLanguageOutput, error) { @@ -120,14 +120,13 @@ const opBatchDetectEntities = "BatchDetectEntities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDetectEntitiesRequest method. +// req, resp := client.BatchDetectEntitiesRequest(params) // -// // Example sending a request using the BatchDetectEntitiesRequest method. -// req, resp := client.BatchDetectEntitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectEntities func (c *Comprehend) BatchDetectEntitiesRequest(input *BatchDetectEntitiesInput) (req *request.Request, output *BatchDetectEntitiesOutput) { @@ -159,23 +158,24 @@ func (c *Comprehend) BatchDetectEntitiesRequest(input *BatchDetectEntitiesInput) // API operation BatchDetectEntities for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TextSizeLimitExceededException -// The size of the input text exceeds the limit. Use a smaller document. +// - InvalidRequestException +// The request is invalid. // -// * UnsupportedLanguageException -// Amazon Comprehend can't process the language of the input text. For custom -// entity recognition APIs, only English, Spanish, French, Italian, German, -// or Portuguese are accepted. For a list of supported languages, see supported-languages. +// - TextSizeLimitExceededException +// The size of the input text exceeds the limit. Use a smaller document. // -// * BatchSizeLimitExceededException -// The number of documents in the request exceeds the limit of 25. Try your -// request again with fewer documents. +// - UnsupportedLanguageException +// Amazon Comprehend can't process the language of the input text. For custom +// entity recognition APIs, only English, Spanish, French, Italian, German, +// or Portuguese are accepted. For a list of supported languages, see supported-languages. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - BatchSizeLimitExceededException +// The number of documents in the request exceeds the limit of 25. Try your +// request again with fewer documents. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectEntities func (c *Comprehend) BatchDetectEntities(input *BatchDetectEntitiesInput) (*BatchDetectEntitiesOutput, error) { @@ -215,14 +215,13 @@ const opBatchDetectKeyPhrases = "BatchDetectKeyPhrases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDetectKeyPhrasesRequest method. +// req, resp := client.BatchDetectKeyPhrasesRequest(params) // -// // Example sending a request using the BatchDetectKeyPhrasesRequest method. -// req, resp := client.BatchDetectKeyPhrasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectKeyPhrases func (c *Comprehend) BatchDetectKeyPhrasesRequest(input *BatchDetectKeyPhrasesInput) (req *request.Request, output *BatchDetectKeyPhrasesOutput) { @@ -253,23 +252,24 @@ func (c *Comprehend) BatchDetectKeyPhrasesRequest(input *BatchDetectKeyPhrasesIn // API operation BatchDetectKeyPhrases for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TextSizeLimitExceededException -// The size of the input text exceeds the limit. Use a smaller document. +// - InvalidRequestException +// The request is invalid. // -// * UnsupportedLanguageException -// Amazon Comprehend can't process the language of the input text. For custom -// entity recognition APIs, only English, Spanish, French, Italian, German, -// or Portuguese are accepted. For a list of supported languages, see supported-languages. +// - TextSizeLimitExceededException +// The size of the input text exceeds the limit. Use a smaller document. // -// * BatchSizeLimitExceededException -// The number of documents in the request exceeds the limit of 25. Try your -// request again with fewer documents. +// - UnsupportedLanguageException +// Amazon Comprehend can't process the language of the input text. For custom +// entity recognition APIs, only English, Spanish, French, Italian, German, +// or Portuguese are accepted. For a list of supported languages, see supported-languages. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - BatchSizeLimitExceededException +// The number of documents in the request exceeds the limit of 25. Try your +// request again with fewer documents. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectKeyPhrases func (c *Comprehend) BatchDetectKeyPhrases(input *BatchDetectKeyPhrasesInput) (*BatchDetectKeyPhrasesOutput, error) { @@ -309,14 +309,13 @@ const opBatchDetectSentiment = "BatchDetectSentiment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDetectSentimentRequest method. +// req, resp := client.BatchDetectSentimentRequest(params) // -// // Example sending a request using the BatchDetectSentimentRequest method. -// req, resp := client.BatchDetectSentimentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectSentiment func (c *Comprehend) BatchDetectSentimentRequest(input *BatchDetectSentimentInput) (req *request.Request, output *BatchDetectSentimentOutput) { @@ -348,23 +347,24 @@ func (c *Comprehend) BatchDetectSentimentRequest(input *BatchDetectSentimentInpu // API operation BatchDetectSentiment for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TextSizeLimitExceededException -// The size of the input text exceeds the limit. Use a smaller document. +// - InvalidRequestException +// The request is invalid. +// +// - TextSizeLimitExceededException +// The size of the input text exceeds the limit. Use a smaller document. // -// * UnsupportedLanguageException -// Amazon Comprehend can't process the language of the input text. For custom -// entity recognition APIs, only English, Spanish, French, Italian, German, -// or Portuguese are accepted. For a list of supported languages, see supported-languages. +// - UnsupportedLanguageException +// Amazon Comprehend can't process the language of the input text. For custom +// entity recognition APIs, only English, Spanish, French, Italian, German, +// or Portuguese are accepted. For a list of supported languages, see supported-languages. // -// * BatchSizeLimitExceededException -// The number of documents in the request exceeds the limit of 25. Try your -// request again with fewer documents. +// - BatchSizeLimitExceededException +// The number of documents in the request exceeds the limit of 25. Try your +// request again with fewer documents. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectSentiment func (c *Comprehend) BatchDetectSentiment(input *BatchDetectSentimentInput) (*BatchDetectSentimentOutput, error) { @@ -404,14 +404,13 @@ const opBatchDetectSyntax = "BatchDetectSyntax" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDetectSyntaxRequest method. +// req, resp := client.BatchDetectSyntaxRequest(params) // -// // Example sending a request using the BatchDetectSyntaxRequest method. -// req, resp := client.BatchDetectSyntaxRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectSyntax func (c *Comprehend) BatchDetectSyntaxRequest(input *BatchDetectSyntaxInput) (req *request.Request, output *BatchDetectSyntaxOutput) { @@ -444,23 +443,24 @@ func (c *Comprehend) BatchDetectSyntaxRequest(input *BatchDetectSyntaxInput) (re // API operation BatchDetectSyntax for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TextSizeLimitExceededException -// The size of the input text exceeds the limit. Use a smaller document. +// - InvalidRequestException +// The request is invalid. +// +// - TextSizeLimitExceededException +// The size of the input text exceeds the limit. Use a smaller document. // -// * UnsupportedLanguageException -// Amazon Comprehend can't process the language of the input text. For custom -// entity recognition APIs, only English, Spanish, French, Italian, German, -// or Portuguese are accepted. For a list of supported languages, see supported-languages. +// - UnsupportedLanguageException +// Amazon Comprehend can't process the language of the input text. For custom +// entity recognition APIs, only English, Spanish, French, Italian, German, +// or Portuguese are accepted. For a list of supported languages, see supported-languages. // -// * BatchSizeLimitExceededException -// The number of documents in the request exceeds the limit of 25. Try your -// request again with fewer documents. +// - BatchSizeLimitExceededException +// The number of documents in the request exceeds the limit of 25. Try your +// request again with fewer documents. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/BatchDetectSyntax func (c *Comprehend) BatchDetectSyntax(input *BatchDetectSyntaxInput) (*BatchDetectSyntaxOutput, error) { @@ -500,14 +500,13 @@ const opClassifyDocument = "ClassifyDocument" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ClassifyDocumentRequest method. +// req, resp := client.ClassifyDocumentRequest(params) // -// // Example sending a request using the ClassifyDocumentRequest method. -// req, resp := client.ClassifyDocumentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ClassifyDocument func (c *Comprehend) ClassifyDocumentRequest(input *ClassifyDocumentInput) (req *request.Request, output *ClassifyDocumentOutput) { @@ -540,18 +539,19 @@ func (c *Comprehend) ClassifyDocumentRequest(input *ClassifyDocumentInput) (req // API operation ClassifyDocument for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * ResourceUnavailableException -// The specified resource is not available. Check the resource and try your -// request again. +// - InvalidRequestException +// The request is invalid. +// +// - ResourceUnavailableException +// The specified resource is not available. Check the resource and try your +// request again. // -// * TextSizeLimitExceededException -// The size of the input text exceeds the limit. Use a smaller document. +// - TextSizeLimitExceededException +// The size of the input text exceeds the limit. Use a smaller document. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ClassifyDocument func (c *Comprehend) ClassifyDocument(input *ClassifyDocumentInput) (*ClassifyDocumentOutput, error) { @@ -591,14 +591,13 @@ const opContainsPiiEntities = "ContainsPiiEntities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ContainsPiiEntitiesRequest method. +// req, resp := client.ContainsPiiEntitiesRequest(params) // -// // Example sending a request using the ContainsPiiEntitiesRequest method. -// req, resp := client.ContainsPiiEntitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ContainsPiiEntities func (c *Comprehend) ContainsPiiEntitiesRequest(input *ContainsPiiEntitiesInput) (req *request.Request, output *ContainsPiiEntitiesOutput) { @@ -631,19 +630,20 @@ func (c *Comprehend) ContainsPiiEntitiesRequest(input *ContainsPiiEntitiesInput) // API operation ContainsPiiEntities for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TextSizeLimitExceededException -// The size of the input text exceeds the limit. Use a smaller document. +// - InvalidRequestException +// The request is invalid. // -// * UnsupportedLanguageException -// Amazon Comprehend can't process the language of the input text. For custom -// entity recognition APIs, only English, Spanish, French, Italian, German, -// or Portuguese are accepted. For a list of supported languages, see supported-languages. +// - TextSizeLimitExceededException +// The size of the input text exceeds the limit. Use a smaller document. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - UnsupportedLanguageException +// Amazon Comprehend can't process the language of the input text. For custom +// entity recognition APIs, only English, Spanish, French, Italian, German, +// or Portuguese are accepted. For a list of supported languages, see supported-languages. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ContainsPiiEntities func (c *Comprehend) ContainsPiiEntities(input *ContainsPiiEntitiesInput) (*ContainsPiiEntitiesOutput, error) { @@ -683,14 +683,13 @@ const opCreateDocumentClassifier = "CreateDocumentClassifier" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDocumentClassifierRequest method. +// req, resp := client.CreateDocumentClassifierRequest(params) // -// // Example sending a request using the CreateDocumentClassifierRequest method. -// req, resp := client.CreateDocumentClassifierRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateDocumentClassifier func (c *Comprehend) CreateDocumentClassifierRequest(input *CreateDocumentClassifierInput) (req *request.Request, output *CreateDocumentClassifierOutput) { @@ -725,36 +724,37 @@ func (c *Comprehend) CreateDocumentClassifierRequest(input *CreateDocumentClassi // API operation CreateDocumentClassifier for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * ResourceInUseException -// The specified resource name is already in use. Use a different name and try -// your request again. +// - InvalidRequestException +// The request is invalid. // -// * TooManyTagsException -// The request contains more tags than can be associated with a resource (50 -// tags per resource). The maximum number of tags includes both existing tags -// and those included in your current request. +// - ResourceInUseException +// The specified resource name is already in use. Use a different name and try +// your request again. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - TooManyTagsException +// The request contains more tags than can be associated with a resource (50 +// tags per resource). The maximum number of tags includes both existing tags +// and those included in your current request. // -// * ResourceLimitExceededException -// The maximum number of resources per account has been exceeded. Review the -// resources, and then try your request again. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * UnsupportedLanguageException -// Amazon Comprehend can't process the language of the input text. For custom -// entity recognition APIs, only English, Spanish, French, Italian, German, -// or Portuguese are accepted. For a list of supported languages, see supported-languages. +// - ResourceLimitExceededException +// The maximum number of resources per account has been exceeded. Review the +// resources, and then try your request again. // -// * KmsKeyValidationException -// The KMS customer managed key (CMK) entered cannot be validated. Verify the -// key and re-enter it. +// - UnsupportedLanguageException +// Amazon Comprehend can't process the language of the input text. For custom +// entity recognition APIs, only English, Spanish, French, Italian, German, +// or Portuguese are accepted. For a list of supported languages, see supported-languages. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - KmsKeyValidationException +// The KMS customer managed key (CMK) entered cannot be validated. Verify the +// key and re-enter it. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateDocumentClassifier func (c *Comprehend) CreateDocumentClassifier(input *CreateDocumentClassifierInput) (*CreateDocumentClassifierOutput, error) { @@ -794,14 +794,13 @@ const opCreateEndpoint = "CreateEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEndpointRequest method. +// req, resp := client.CreateEndpointRequest(params) // -// // Example sending a request using the CreateEndpointRequest method. -// req, resp := client.CreateEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateEndpoint func (c *Comprehend) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput) { @@ -834,35 +833,36 @@ func (c *Comprehend) CreateEndpointRequest(input *CreateEndpointInput) (req *req // API operation CreateEndpoint for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * ResourceInUseException -// The specified resource name is already in use. Use a different name and try -// your request again. +// - InvalidRequestException +// The request is invalid. +// +// - ResourceInUseException +// The specified resource name is already in use. Use a different name and try +// your request again. // -// * ResourceLimitExceededException -// The maximum number of resources per account has been exceeded. Review the -// resources, and then try your request again. +// - ResourceLimitExceededException +// The maximum number of resources per account has been exceeded. Review the +// resources, and then try your request again. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. // -// * ResourceUnavailableException -// The specified resource is not available. Check the resource and try your -// request again. +// - ResourceUnavailableException +// The specified resource is not available. Check the resource and try your +// request again. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * TooManyTagsException -// The request contains more tags than can be associated with a resource (50 -// tags per resource). The maximum number of tags includes both existing tags -// and those included in your current request. +// - TooManyTagsException +// The request contains more tags than can be associated with a resource (50 +// tags per resource). The maximum number of tags includes both existing tags +// and those included in your current request. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateEndpoint func (c *Comprehend) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error) { @@ -902,14 +902,13 @@ const opCreateEntityRecognizer = "CreateEntityRecognizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEntityRecognizerRequest method. +// req, resp := client.CreateEntityRecognizerRequest(params) // -// // Example sending a request using the CreateEntityRecognizerRequest method. -// req, resp := client.CreateEntityRecognizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateEntityRecognizer func (c *Comprehend) CreateEntityRecognizerRequest(input *CreateEntityRecognizerInput) (req *request.Request, output *CreateEntityRecognizerOutput) { @@ -941,36 +940,37 @@ func (c *Comprehend) CreateEntityRecognizerRequest(input *CreateEntityRecognizer // API operation CreateEntityRecognizer for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * ResourceInUseException -// The specified resource name is already in use. Use a different name and try -// your request again. +// - InvalidRequestException +// The request is invalid. +// +// - ResourceInUseException +// The specified resource name is already in use. Use a different name and try +// your request again. // -// * TooManyTagsException -// The request contains more tags than can be associated with a resource (50 -// tags per resource). The maximum number of tags includes both existing tags -// and those included in your current request. +// - TooManyTagsException +// The request contains more tags than can be associated with a resource (50 +// tags per resource). The maximum number of tags includes both existing tags +// and those included in your current request. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * ResourceLimitExceededException -// The maximum number of resources per account has been exceeded. Review the -// resources, and then try your request again. +// - ResourceLimitExceededException +// The maximum number of resources per account has been exceeded. Review the +// resources, and then try your request again. // -// * UnsupportedLanguageException -// Amazon Comprehend can't process the language of the input text. For custom -// entity recognition APIs, only English, Spanish, French, Italian, German, -// or Portuguese are accepted. For a list of supported languages, see supported-languages. +// - UnsupportedLanguageException +// Amazon Comprehend can't process the language of the input text. For custom +// entity recognition APIs, only English, Spanish, French, Italian, German, +// or Portuguese are accepted. For a list of supported languages, see supported-languages. // -// * KmsKeyValidationException -// The KMS customer managed key (CMK) entered cannot be validated. Verify the -// key and re-enter it. +// - KmsKeyValidationException +// The KMS customer managed key (CMK) entered cannot be validated. Verify the +// key and re-enter it. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/CreateEntityRecognizer func (c *Comprehend) CreateEntityRecognizer(input *CreateEntityRecognizerInput) (*CreateEntityRecognizerOutput, error) { @@ -1010,14 +1010,13 @@ const opDeleteDocumentClassifier = "DeleteDocumentClassifier" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDocumentClassifierRequest method. +// req, resp := client.DeleteDocumentClassifierRequest(params) // -// // Example sending a request using the DeleteDocumentClassifierRequest method. -// req, resp := client.DeleteDocumentClassifierRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DeleteDocumentClassifier func (c *Comprehend) DeleteDocumentClassifierRequest(input *DeleteDocumentClassifierInput) (req *request.Request, output *DeleteDocumentClassifierOutput) { @@ -1039,7 +1038,7 @@ func (c *Comprehend) DeleteDocumentClassifierRequest(input *DeleteDocumentClassi // DeleteDocumentClassifier API operation for Amazon Comprehend. // -// Deletes a previously created document classifier +// # Deletes a previously created document classifier // // Only those classifiers that are in terminated states (IN_ERROR, TRAINED) // will be deleted. If an active inference job is using the model, a ResourceInUseException @@ -1057,26 +1056,27 @@ func (c *Comprehend) DeleteDocumentClassifierRequest(input *DeleteDocumentClassi // API operation DeleteDocumentClassifier for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. // -// * ResourceUnavailableException -// The specified resource is not available. Check the resource and try your -// request again. +// - ResourceUnavailableException +// The specified resource is not available. Check the resource and try your +// request again. // -// * ResourceInUseException -// The specified resource name is already in use. Use a different name and try -// your request again. +// - ResourceInUseException +// The specified resource name is already in use. Use a different name and try +// your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DeleteDocumentClassifier func (c *Comprehend) DeleteDocumentClassifier(input *DeleteDocumentClassifierInput) (*DeleteDocumentClassifierOutput, error) { @@ -1116,14 +1116,13 @@ const opDeleteEndpoint = "DeleteEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEndpointRequest method. +// req, resp := client.DeleteEndpointRequest(params) // -// // Example sending a request using the DeleteEndpointRequest method. -// req, resp := client.DeleteEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DeleteEndpoint func (c *Comprehend) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) { @@ -1157,22 +1156,23 @@ func (c *Comprehend) DeleteEndpointRequest(input *DeleteEndpointInput) (req *req // API operation DeleteEndpoint for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * ResourceInUseException -// The specified resource name is already in use. Use a different name and try -// your request again. +// - InvalidRequestException +// The request is invalid. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - ResourceInUseException +// The specified resource name is already in use. Use a different name and try +// your request again. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DeleteEndpoint func (c *Comprehend) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) { @@ -1212,14 +1212,13 @@ const opDeleteEntityRecognizer = "DeleteEntityRecognizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEntityRecognizerRequest method. +// req, resp := client.DeleteEntityRecognizerRequest(params) // -// // Example sending a request using the DeleteEntityRecognizerRequest method. -// req, resp := client.DeleteEntityRecognizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DeleteEntityRecognizer func (c *Comprehend) DeleteEntityRecognizerRequest(input *DeleteEntityRecognizerInput) (req *request.Request, output *DeleteEntityRecognizerOutput) { @@ -1259,26 +1258,27 @@ func (c *Comprehend) DeleteEntityRecognizerRequest(input *DeleteEntityRecognizer // API operation DeleteEntityRecognizer for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * ResourceUnavailableException -// The specified resource is not available. Check the resource and try your -// request again. +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. // -// * ResourceInUseException -// The specified resource name is already in use. Use a different name and try -// your request again. +// - ResourceUnavailableException +// The specified resource is not available. Check the resource and try your +// request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - ResourceInUseException +// The specified resource name is already in use. Use a different name and try +// your request again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DeleteEntityRecognizer func (c *Comprehend) DeleteEntityRecognizer(input *DeleteEntityRecognizerInput) (*DeleteEntityRecognizerOutput, error) { @@ -1318,14 +1318,13 @@ const opDeleteResourcePolicy = "DeleteResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourcePolicyRequest method. +// req, resp := client.DeleteResourcePolicyRequest(params) // -// // Example sending a request using the DeleteResourcePolicyRequest method. -// req, resp := client.DeleteResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DeleteResourcePolicy func (c *Comprehend) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { @@ -1357,15 +1356,16 @@ func (c *Comprehend) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInpu // API operation DeleteResourcePolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - InvalidRequestException +// The request is invalid. +// +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DeleteResourcePolicy func (c *Comprehend) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { @@ -1405,14 +1405,13 @@ const opDescribeDocumentClassificationJob = "DescribeDocumentClassificationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDocumentClassificationJobRequest method. +// req, resp := client.DescribeDocumentClassificationJobRequest(params) // -// // Example sending a request using the DescribeDocumentClassificationJobRequest method. -// req, resp := client.DescribeDocumentClassificationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeDocumentClassificationJob func (c *Comprehend) DescribeDocumentClassificationJobRequest(input *DescribeDocumentClassificationJobInput) (req *request.Request, output *DescribeDocumentClassificationJobOutput) { @@ -1444,17 +1443,18 @@ func (c *Comprehend) DescribeDocumentClassificationJobRequest(input *DescribeDoc // API operation DescribeDocumentClassificationJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeDocumentClassificationJob func (c *Comprehend) DescribeDocumentClassificationJob(input *DescribeDocumentClassificationJobInput) (*DescribeDocumentClassificationJobOutput, error) { @@ -1494,14 +1494,13 @@ const opDescribeDocumentClassifier = "DescribeDocumentClassifier" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDocumentClassifierRequest method. +// req, resp := client.DescribeDocumentClassifierRequest(params) // -// // Example sending a request using the DescribeDocumentClassifierRequest method. -// req, resp := client.DescribeDocumentClassifierRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeDocumentClassifier func (c *Comprehend) DescribeDocumentClassifierRequest(input *DescribeDocumentClassifierInput) (req *request.Request, output *DescribeDocumentClassifierOutput) { @@ -1532,18 +1531,19 @@ func (c *Comprehend) DescribeDocumentClassifierRequest(input *DescribeDocumentCl // API operation DescribeDocumentClassifier for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeDocumentClassifier func (c *Comprehend) DescribeDocumentClassifier(input *DescribeDocumentClassifierInput) (*DescribeDocumentClassifierOutput, error) { @@ -1583,14 +1583,13 @@ const opDescribeDominantLanguageDetectionJob = "DescribeDominantLanguageDetectio // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDominantLanguageDetectionJobRequest method. +// req, resp := client.DescribeDominantLanguageDetectionJobRequest(params) // -// // Example sending a request using the DescribeDominantLanguageDetectionJobRequest method. -// req, resp := client.DescribeDominantLanguageDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeDominantLanguageDetectionJob func (c *Comprehend) DescribeDominantLanguageDetectionJobRequest(input *DescribeDominantLanguageDetectionJobInput) (req *request.Request, output *DescribeDominantLanguageDetectionJobOutput) { @@ -1622,17 +1621,18 @@ func (c *Comprehend) DescribeDominantLanguageDetectionJobRequest(input *Describe // API operation DescribeDominantLanguageDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - InvalidRequestException +// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeDominantLanguageDetectionJob func (c *Comprehend) DescribeDominantLanguageDetectionJob(input *DescribeDominantLanguageDetectionJobInput) (*DescribeDominantLanguageDetectionJobOutput, error) { @@ -1672,14 +1672,13 @@ const opDescribeEndpoint = "DescribeEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointRequest method. +// req, resp := client.DescribeEndpointRequest(params) // -// // Example sending a request using the DescribeEndpointRequest method. -// req, resp := client.DescribeEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEndpoint func (c *Comprehend) DescribeEndpointRequest(input *DescribeEndpointInput) (req *request.Request, output *DescribeEndpointOutput) { @@ -1712,18 +1711,19 @@ func (c *Comprehend) DescribeEndpointRequest(input *DescribeEndpointInput) (req // API operation DescribeEndpoint for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEndpoint func (c *Comprehend) DescribeEndpoint(input *DescribeEndpointInput) (*DescribeEndpointOutput, error) { @@ -1763,14 +1763,13 @@ const opDescribeEntitiesDetectionJob = "DescribeEntitiesDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEntitiesDetectionJobRequest method. +// req, resp := client.DescribeEntitiesDetectionJobRequest(params) // -// // Example sending a request using the DescribeEntitiesDetectionJobRequest method. -// req, resp := client.DescribeEntitiesDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEntitiesDetectionJob func (c *Comprehend) DescribeEntitiesDetectionJobRequest(input *DescribeEntitiesDetectionJobInput) (req *request.Request, output *DescribeEntitiesDetectionJobOutput) { @@ -1802,17 +1801,18 @@ func (c *Comprehend) DescribeEntitiesDetectionJobRequest(input *DescribeEntities // API operation DescribeEntitiesDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - InvalidRequestException +// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEntitiesDetectionJob func (c *Comprehend) DescribeEntitiesDetectionJob(input *DescribeEntitiesDetectionJobInput) (*DescribeEntitiesDetectionJobOutput, error) { @@ -1852,14 +1852,13 @@ const opDescribeEntityRecognizer = "DescribeEntityRecognizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEntityRecognizerRequest method. +// req, resp := client.DescribeEntityRecognizerRequest(params) // -// // Example sending a request using the DescribeEntityRecognizerRequest method. -// req, resp := client.DescribeEntityRecognizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEntityRecognizer func (c *Comprehend) DescribeEntityRecognizerRequest(input *DescribeEntityRecognizerInput) (req *request.Request, output *DescribeEntityRecognizerOutput) { @@ -1891,18 +1890,19 @@ func (c *Comprehend) DescribeEntityRecognizerRequest(input *DescribeEntityRecogn // API operation DescribeEntityRecognizer for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEntityRecognizer func (c *Comprehend) DescribeEntityRecognizer(input *DescribeEntityRecognizerInput) (*DescribeEntityRecognizerOutput, error) { @@ -1942,14 +1942,13 @@ const opDescribeEventsDetectionJob = "DescribeEventsDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventsDetectionJobRequest method. +// req, resp := client.DescribeEventsDetectionJobRequest(params) // -// // Example sending a request using the DescribeEventsDetectionJobRequest method. -// req, resp := client.DescribeEventsDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEventsDetectionJob func (c *Comprehend) DescribeEventsDetectionJobRequest(input *DescribeEventsDetectionJobInput) (req *request.Request, output *DescribeEventsDetectionJobOutput) { @@ -1980,17 +1979,18 @@ func (c *Comprehend) DescribeEventsDetectionJobRequest(input *DescribeEventsDete // API operation DescribeEventsDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - InvalidRequestException +// The request is invalid. +// +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeEventsDetectionJob func (c *Comprehend) DescribeEventsDetectionJob(input *DescribeEventsDetectionJobInput) (*DescribeEventsDetectionJobOutput, error) { @@ -2030,14 +2030,13 @@ const opDescribeKeyPhrasesDetectionJob = "DescribeKeyPhrasesDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeKeyPhrasesDetectionJobRequest method. +// req, resp := client.DescribeKeyPhrasesDetectionJobRequest(params) // -// // Example sending a request using the DescribeKeyPhrasesDetectionJobRequest method. -// req, resp := client.DescribeKeyPhrasesDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeKeyPhrasesDetectionJob func (c *Comprehend) DescribeKeyPhrasesDetectionJobRequest(input *DescribeKeyPhrasesDetectionJobInput) (req *request.Request, output *DescribeKeyPhrasesDetectionJobOutput) { @@ -2069,17 +2068,18 @@ func (c *Comprehend) DescribeKeyPhrasesDetectionJobRequest(input *DescribeKeyPhr // API operation DescribeKeyPhrasesDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - InvalidRequestException +// The request is invalid. +// +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeKeyPhrasesDetectionJob func (c *Comprehend) DescribeKeyPhrasesDetectionJob(input *DescribeKeyPhrasesDetectionJobInput) (*DescribeKeyPhrasesDetectionJobOutput, error) { @@ -2119,14 +2119,13 @@ const opDescribePiiEntitiesDetectionJob = "DescribePiiEntitiesDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePiiEntitiesDetectionJobRequest method. +// req, resp := client.DescribePiiEntitiesDetectionJobRequest(params) // -// // Example sending a request using the DescribePiiEntitiesDetectionJobRequest method. -// req, resp := client.DescribePiiEntitiesDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribePiiEntitiesDetectionJob func (c *Comprehend) DescribePiiEntitiesDetectionJobRequest(input *DescribePiiEntitiesDetectionJobInput) (req *request.Request, output *DescribePiiEntitiesDetectionJobOutput) { @@ -2158,17 +2157,18 @@ func (c *Comprehend) DescribePiiEntitiesDetectionJobRequest(input *DescribePiiEn // API operation DescribePiiEntitiesDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - InvalidRequestException +// The request is invalid. +// +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribePiiEntitiesDetectionJob func (c *Comprehend) DescribePiiEntitiesDetectionJob(input *DescribePiiEntitiesDetectionJobInput) (*DescribePiiEntitiesDetectionJobOutput, error) { @@ -2208,14 +2208,13 @@ const opDescribeResourcePolicy = "DescribeResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeResourcePolicyRequest method. +// req, resp := client.DescribeResourcePolicyRequest(params) // -// // Example sending a request using the DescribeResourcePolicyRequest method. -// req, resp := client.DescribeResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeResourcePolicy func (c *Comprehend) DescribeResourcePolicyRequest(input *DescribeResourcePolicyInput) (req *request.Request, output *DescribeResourcePolicyOutput) { @@ -2247,15 +2246,16 @@ func (c *Comprehend) DescribeResourcePolicyRequest(input *DescribeResourcePolicy // API operation DescribeResourcePolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - InvalidRequestException +// The request is invalid. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeResourcePolicy func (c *Comprehend) DescribeResourcePolicy(input *DescribeResourcePolicyInput) (*DescribeResourcePolicyOutput, error) { @@ -2295,14 +2295,13 @@ const opDescribeSentimentDetectionJob = "DescribeSentimentDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSentimentDetectionJobRequest method. +// req, resp := client.DescribeSentimentDetectionJobRequest(params) // -// // Example sending a request using the DescribeSentimentDetectionJobRequest method. -// req, resp := client.DescribeSentimentDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeSentimentDetectionJob func (c *Comprehend) DescribeSentimentDetectionJobRequest(input *DescribeSentimentDetectionJobInput) (req *request.Request, output *DescribeSentimentDetectionJobOutput) { @@ -2334,17 +2333,18 @@ func (c *Comprehend) DescribeSentimentDetectionJobRequest(input *DescribeSentime // API operation DescribeSentimentDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - InvalidRequestException +// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeSentimentDetectionJob func (c *Comprehend) DescribeSentimentDetectionJob(input *DescribeSentimentDetectionJobInput) (*DescribeSentimentDetectionJobOutput, error) { @@ -2384,14 +2384,13 @@ const opDescribeTargetedSentimentDetectionJob = "DescribeTargetedSentimentDetect // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTargetedSentimentDetectionJobRequest method. +// req, resp := client.DescribeTargetedSentimentDetectionJobRequest(params) // -// // Example sending a request using the DescribeTargetedSentimentDetectionJobRequest method. -// req, resp := client.DescribeTargetedSentimentDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeTargetedSentimentDetectionJob func (c *Comprehend) DescribeTargetedSentimentDetectionJobRequest(input *DescribeTargetedSentimentDetectionJobInput) (req *request.Request, output *DescribeTargetedSentimentDetectionJobOutput) { @@ -2423,17 +2422,18 @@ func (c *Comprehend) DescribeTargetedSentimentDetectionJobRequest(input *Describ // API operation DescribeTargetedSentimentDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - InvalidRequestException +// The request is invalid. +// +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeTargetedSentimentDetectionJob func (c *Comprehend) DescribeTargetedSentimentDetectionJob(input *DescribeTargetedSentimentDetectionJobInput) (*DescribeTargetedSentimentDetectionJobOutput, error) { @@ -2473,14 +2473,13 @@ const opDescribeTopicsDetectionJob = "DescribeTopicsDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTopicsDetectionJobRequest method. +// req, resp := client.DescribeTopicsDetectionJobRequest(params) // -// // Example sending a request using the DescribeTopicsDetectionJobRequest method. -// req, resp := client.DescribeTopicsDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeTopicsDetectionJob func (c *Comprehend) DescribeTopicsDetectionJobRequest(input *DescribeTopicsDetectionJobInput) (req *request.Request, output *DescribeTopicsDetectionJobOutput) { @@ -2512,17 +2511,18 @@ func (c *Comprehend) DescribeTopicsDetectionJobRequest(input *DescribeTopicsDete // API operation DescribeTopicsDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - InvalidRequestException +// The request is invalid. +// +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DescribeTopicsDetectionJob func (c *Comprehend) DescribeTopicsDetectionJob(input *DescribeTopicsDetectionJobInput) (*DescribeTopicsDetectionJobOutput, error) { @@ -2562,14 +2562,13 @@ const opDetectDominantLanguage = "DetectDominantLanguage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectDominantLanguageRequest method. +// req, resp := client.DetectDominantLanguageRequest(params) // -// // Example sending a request using the DetectDominantLanguageRequest method. -// req, resp := client.DetectDominantLanguageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectDominantLanguage func (c *Comprehend) DetectDominantLanguageRequest(input *DetectDominantLanguageInput) (req *request.Request, output *DetectDominantLanguageOutput) { @@ -2602,14 +2601,15 @@ func (c *Comprehend) DetectDominantLanguageRequest(input *DetectDominantLanguage // API operation DetectDominantLanguage for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TextSizeLimitExceededException -// The size of the input text exceeds the limit. Use a smaller document. +// - InvalidRequestException +// The request is invalid. +// +// - TextSizeLimitExceededException +// The size of the input text exceeds the limit. Use a smaller document. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectDominantLanguage func (c *Comprehend) DetectDominantLanguage(input *DetectDominantLanguageInput) (*DetectDominantLanguageOutput, error) { @@ -2649,14 +2649,13 @@ const opDetectEntities = "DetectEntities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectEntitiesRequest method. +// req, resp := client.DetectEntitiesRequest(params) // -// // Example sending a request using the DetectEntitiesRequest method. -// req, resp := client.DetectEntitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectEntities func (c *Comprehend) DetectEntitiesRequest(input *DetectEntitiesInput) (req *request.Request, output *DetectEntitiesOutput) { @@ -2688,23 +2687,24 @@ func (c *Comprehend) DetectEntitiesRequest(input *DetectEntitiesInput) (req *req // API operation DetectEntities for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * ResourceUnavailableException -// The specified resource is not available. Check the resource and try your -// request again. +// - InvalidRequestException +// The request is invalid. +// +// - ResourceUnavailableException +// The specified resource is not available. Check the resource and try your +// request again. // -// * TextSizeLimitExceededException -// The size of the input text exceeds the limit. Use a smaller document. +// - TextSizeLimitExceededException +// The size of the input text exceeds the limit. Use a smaller document. // -// * UnsupportedLanguageException -// Amazon Comprehend can't process the language of the input text. For custom -// entity recognition APIs, only English, Spanish, French, Italian, German, -// or Portuguese are accepted. For a list of supported languages, see supported-languages. +// - UnsupportedLanguageException +// Amazon Comprehend can't process the language of the input text. For custom +// entity recognition APIs, only English, Spanish, French, Italian, German, +// or Portuguese are accepted. For a list of supported languages, see supported-languages. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectEntities func (c *Comprehend) DetectEntities(input *DetectEntitiesInput) (*DetectEntitiesOutput, error) { @@ -2744,14 +2744,13 @@ const opDetectKeyPhrases = "DetectKeyPhrases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectKeyPhrasesRequest method. +// req, resp := client.DetectKeyPhrasesRequest(params) // -// // Example sending a request using the DetectKeyPhrasesRequest method. -// req, resp := client.DetectKeyPhrasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectKeyPhrases func (c *Comprehend) DetectKeyPhrasesRequest(input *DetectKeyPhrasesInput) (req *request.Request, output *DetectKeyPhrasesOutput) { @@ -2782,19 +2781,20 @@ func (c *Comprehend) DetectKeyPhrasesRequest(input *DetectKeyPhrasesInput) (req // API operation DetectKeyPhrases for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TextSizeLimitExceededException -// The size of the input text exceeds the limit. Use a smaller document. +// - InvalidRequestException +// The request is invalid. +// +// - TextSizeLimitExceededException +// The size of the input text exceeds the limit. Use a smaller document. // -// * UnsupportedLanguageException -// Amazon Comprehend can't process the language of the input text. For custom -// entity recognition APIs, only English, Spanish, French, Italian, German, -// or Portuguese are accepted. For a list of supported languages, see supported-languages. +// - UnsupportedLanguageException +// Amazon Comprehend can't process the language of the input text. For custom +// entity recognition APIs, only English, Spanish, French, Italian, German, +// or Portuguese are accepted. For a list of supported languages, see supported-languages. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectKeyPhrases func (c *Comprehend) DetectKeyPhrases(input *DetectKeyPhrasesInput) (*DetectKeyPhrasesOutput, error) { @@ -2834,14 +2834,13 @@ const opDetectPiiEntities = "DetectPiiEntities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectPiiEntitiesRequest method. +// req, resp := client.DetectPiiEntitiesRequest(params) // -// // Example sending a request using the DetectPiiEntitiesRequest method. -// req, resp := client.DetectPiiEntitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectPiiEntities func (c *Comprehend) DetectPiiEntitiesRequest(input *DetectPiiEntitiesInput) (req *request.Request, output *DetectPiiEntitiesOutput) { @@ -2873,19 +2872,20 @@ func (c *Comprehend) DetectPiiEntitiesRequest(input *DetectPiiEntitiesInput) (re // API operation DetectPiiEntities for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TextSizeLimitExceededException -// The size of the input text exceeds the limit. Use a smaller document. +// - InvalidRequestException +// The request is invalid. // -// * UnsupportedLanguageException -// Amazon Comprehend can't process the language of the input text. For custom -// entity recognition APIs, only English, Spanish, French, Italian, German, -// or Portuguese are accepted. For a list of supported languages, see supported-languages. +// - TextSizeLimitExceededException +// The size of the input text exceeds the limit. Use a smaller document. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - UnsupportedLanguageException +// Amazon Comprehend can't process the language of the input text. For custom +// entity recognition APIs, only English, Spanish, French, Italian, German, +// or Portuguese are accepted. For a list of supported languages, see supported-languages. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectPiiEntities func (c *Comprehend) DetectPiiEntities(input *DetectPiiEntitiesInput) (*DetectPiiEntitiesOutput, error) { @@ -2925,14 +2925,13 @@ const opDetectSentiment = "DetectSentiment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectSentimentRequest method. +// req, resp := client.DetectSentimentRequest(params) // -// // Example sending a request using the DetectSentimentRequest method. -// req, resp := client.DetectSentimentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectSentiment func (c *Comprehend) DetectSentimentRequest(input *DetectSentimentInput) (req *request.Request, output *DetectSentimentOutput) { @@ -2964,19 +2963,20 @@ func (c *Comprehend) DetectSentimentRequest(input *DetectSentimentInput) (req *r // API operation DetectSentiment for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TextSizeLimitExceededException -// The size of the input text exceeds the limit. Use a smaller document. +// - InvalidRequestException +// The request is invalid. // -// * UnsupportedLanguageException -// Amazon Comprehend can't process the language of the input text. For custom -// entity recognition APIs, only English, Spanish, French, Italian, German, -// or Portuguese are accepted. For a list of supported languages, see supported-languages. +// - TextSizeLimitExceededException +// The size of the input text exceeds the limit. Use a smaller document. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - UnsupportedLanguageException +// Amazon Comprehend can't process the language of the input text. For custom +// entity recognition APIs, only English, Spanish, French, Italian, German, +// or Portuguese are accepted. For a list of supported languages, see supported-languages. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectSentiment func (c *Comprehend) DetectSentiment(input *DetectSentimentInput) (*DetectSentimentOutput, error) { @@ -3016,14 +3016,13 @@ const opDetectSyntax = "DetectSyntax" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectSyntaxRequest method. +// req, resp := client.DetectSyntaxRequest(params) // -// // Example sending a request using the DetectSyntaxRequest method. -// req, resp := client.DetectSyntaxRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectSyntax func (c *Comprehend) DetectSyntaxRequest(input *DetectSyntaxInput) (req *request.Request, output *DetectSyntaxOutput) { @@ -3055,19 +3054,20 @@ func (c *Comprehend) DetectSyntaxRequest(input *DetectSyntaxInput) (req *request // API operation DetectSyntax for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TextSizeLimitExceededException -// The size of the input text exceeds the limit. Use a smaller document. +// - InvalidRequestException +// The request is invalid. +// +// - TextSizeLimitExceededException +// The size of the input text exceeds the limit. Use a smaller document. // -// * UnsupportedLanguageException -// Amazon Comprehend can't process the language of the input text. For custom -// entity recognition APIs, only English, Spanish, French, Italian, German, -// or Portuguese are accepted. For a list of supported languages, see supported-languages. +// - UnsupportedLanguageException +// Amazon Comprehend can't process the language of the input text. For custom +// entity recognition APIs, only English, Spanish, French, Italian, German, +// or Portuguese are accepted. For a list of supported languages, see supported-languages. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/DetectSyntax func (c *Comprehend) DetectSyntax(input *DetectSyntaxInput) (*DetectSyntaxOutput, error) { @@ -3107,14 +3107,13 @@ const opImportModel = "ImportModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportModelRequest method. +// req, resp := client.ImportModelRequest(params) // -// // Example sending a request using the ImportModelRequest method. -// req, resp := client.ImportModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ImportModel func (c *Comprehend) ImportModelRequest(input *ImportModelInput) (req *request.Request, output *ImportModelOutput) { @@ -3152,39 +3151,40 @@ func (c *Comprehend) ImportModelRequest(input *ImportModelInput) (req *request.R // API operation ImportModel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - InvalidRequestException +// The request is invalid. +// +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. // -// * ResourceInUseException -// The specified resource name is already in use. Use a different name and try -// your request again. +// - ResourceInUseException +// The specified resource name is already in use. Use a different name and try +// your request again. // -// * ResourceUnavailableException -// The specified resource is not available. Check the resource and try your -// request again. +// - ResourceUnavailableException +// The specified resource is not available. Check the resource and try your +// request again. // -// * TooManyTagsException -// The request contains more tags than can be associated with a resource (50 -// tags per resource). The maximum number of tags includes both existing tags -// and those included in your current request. +// - TooManyTagsException +// The request contains more tags than can be associated with a resource (50 +// tags per resource). The maximum number of tags includes both existing tags +// and those included in your current request. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * ResourceLimitExceededException -// The maximum number of resources per account has been exceeded. Review the -// resources, and then try your request again. +// - ResourceLimitExceededException +// The maximum number of resources per account has been exceeded. Review the +// resources, and then try your request again. // -// * KmsKeyValidationException -// The KMS customer managed key (CMK) entered cannot be validated. Verify the -// key and re-enter it. +// - KmsKeyValidationException +// The KMS customer managed key (CMK) entered cannot be validated. Verify the +// key and re-enter it. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ImportModel func (c *Comprehend) ImportModel(input *ImportModelInput) (*ImportModelOutput, error) { @@ -3224,14 +3224,13 @@ const opListDocumentClassificationJobs = "ListDocumentClassificationJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDocumentClassificationJobsRequest method. +// req, resp := client.ListDocumentClassificationJobsRequest(params) // -// // Example sending a request using the ListDocumentClassificationJobsRequest method. -// req, resp := client.ListDocumentClassificationJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDocumentClassificationJobs func (c *Comprehend) ListDocumentClassificationJobsRequest(input *ListDocumentClassificationJobsInput) (req *request.Request, output *ListDocumentClassificationJobsOutput) { @@ -3268,17 +3267,18 @@ func (c *Comprehend) ListDocumentClassificationJobsRequest(input *ListDocumentCl // API operation ListDocumentClassificationJobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InvalidFilterException -// The filter specified for the operation is invalid. Specify a different filter. +// - InvalidFilterException +// The filter specified for the operation is invalid. Specify a different filter. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDocumentClassificationJobs func (c *Comprehend) ListDocumentClassificationJobs(input *ListDocumentClassificationJobsInput) (*ListDocumentClassificationJobsOutput, error) { @@ -3310,15 +3310,14 @@ func (c *Comprehend) ListDocumentClassificationJobsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDocumentClassificationJobs operation. -// pageNum := 0 -// err := client.ListDocumentClassificationJobsPages(params, -// func(page *comprehend.ListDocumentClassificationJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDocumentClassificationJobs operation. +// pageNum := 0 +// err := client.ListDocumentClassificationJobsPages(params, +// func(page *comprehend.ListDocumentClassificationJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Comprehend) ListDocumentClassificationJobsPages(input *ListDocumentClassificationJobsInput, fn func(*ListDocumentClassificationJobsOutput, bool) bool) error { return c.ListDocumentClassificationJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3370,14 +3369,13 @@ const opListDocumentClassifierSummaries = "ListDocumentClassifierSummaries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDocumentClassifierSummariesRequest method. +// req, resp := client.ListDocumentClassifierSummariesRequest(params) // -// // Example sending a request using the ListDocumentClassifierSummariesRequest method. -// req, resp := client.ListDocumentClassifierSummariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDocumentClassifierSummaries func (c *Comprehend) ListDocumentClassifierSummariesRequest(input *ListDocumentClassifierSummariesInput) (req *request.Request, output *ListDocumentClassifierSummariesOutput) { @@ -3404,7 +3402,7 @@ func (c *Comprehend) ListDocumentClassifierSummariesRequest(input *ListDocumentC // ListDocumentClassifierSummaries API operation for Amazon Comprehend. // -// Gets a list of summaries of the document classifiers that you have created +// # Gets a list of summaries of the document classifiers that you have created // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3414,14 +3412,15 @@ func (c *Comprehend) ListDocumentClassifierSummariesRequest(input *ListDocumentC // API operation ListDocumentClassifierSummaries for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDocumentClassifierSummaries func (c *Comprehend) ListDocumentClassifierSummaries(input *ListDocumentClassifierSummariesInput) (*ListDocumentClassifierSummariesOutput, error) { @@ -3453,15 +3452,14 @@ func (c *Comprehend) ListDocumentClassifierSummariesWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDocumentClassifierSummaries operation. -// pageNum := 0 -// err := client.ListDocumentClassifierSummariesPages(params, -// func(page *comprehend.ListDocumentClassifierSummariesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDocumentClassifierSummaries operation. +// pageNum := 0 +// err := client.ListDocumentClassifierSummariesPages(params, +// func(page *comprehend.ListDocumentClassifierSummariesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Comprehend) ListDocumentClassifierSummariesPages(input *ListDocumentClassifierSummariesInput, fn func(*ListDocumentClassifierSummariesOutput, bool) bool) error { return c.ListDocumentClassifierSummariesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3513,14 +3511,13 @@ const opListDocumentClassifiers = "ListDocumentClassifiers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDocumentClassifiersRequest method. +// req, resp := client.ListDocumentClassifiersRequest(params) // -// // Example sending a request using the ListDocumentClassifiersRequest method. -// req, resp := client.ListDocumentClassifiersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDocumentClassifiers func (c *Comprehend) ListDocumentClassifiersRequest(input *ListDocumentClassifiersInput) (req *request.Request, output *ListDocumentClassifiersOutput) { @@ -3557,17 +3554,18 @@ func (c *Comprehend) ListDocumentClassifiersRequest(input *ListDocumentClassifie // API operation ListDocumentClassifiers for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. // -// * InvalidFilterException -// The filter specified for the operation is invalid. Specify a different filter. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InvalidFilterException +// The filter specified for the operation is invalid. Specify a different filter. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDocumentClassifiers func (c *Comprehend) ListDocumentClassifiers(input *ListDocumentClassifiersInput) (*ListDocumentClassifiersOutput, error) { @@ -3599,15 +3597,14 @@ func (c *Comprehend) ListDocumentClassifiersWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDocumentClassifiers operation. -// pageNum := 0 -// err := client.ListDocumentClassifiersPages(params, -// func(page *comprehend.ListDocumentClassifiersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDocumentClassifiers operation. +// pageNum := 0 +// err := client.ListDocumentClassifiersPages(params, +// func(page *comprehend.ListDocumentClassifiersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Comprehend) ListDocumentClassifiersPages(input *ListDocumentClassifiersInput, fn func(*ListDocumentClassifiersOutput, bool) bool) error { return c.ListDocumentClassifiersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3659,14 +3656,13 @@ const opListDominantLanguageDetectionJobs = "ListDominantLanguageDetectionJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDominantLanguageDetectionJobsRequest method. +// req, resp := client.ListDominantLanguageDetectionJobsRequest(params) // -// // Example sending a request using the ListDominantLanguageDetectionJobsRequest method. -// req, resp := client.ListDominantLanguageDetectionJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDominantLanguageDetectionJobs func (c *Comprehend) ListDominantLanguageDetectionJobsRequest(input *ListDominantLanguageDetectionJobsInput) (req *request.Request, output *ListDominantLanguageDetectionJobsOutput) { @@ -3703,17 +3699,18 @@ func (c *Comprehend) ListDominantLanguageDetectionJobsRequest(input *ListDominan // API operation ListDominantLanguageDetectionJobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InvalidFilterException -// The filter specified for the operation is invalid. Specify a different filter. +// - InvalidFilterException +// The filter specified for the operation is invalid. Specify a different filter. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListDominantLanguageDetectionJobs func (c *Comprehend) ListDominantLanguageDetectionJobs(input *ListDominantLanguageDetectionJobsInput) (*ListDominantLanguageDetectionJobsOutput, error) { @@ -3745,15 +3742,14 @@ func (c *Comprehend) ListDominantLanguageDetectionJobsWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDominantLanguageDetectionJobs operation. -// pageNum := 0 -// err := client.ListDominantLanguageDetectionJobsPages(params, -// func(page *comprehend.ListDominantLanguageDetectionJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDominantLanguageDetectionJobs operation. +// pageNum := 0 +// err := client.ListDominantLanguageDetectionJobsPages(params, +// func(page *comprehend.ListDominantLanguageDetectionJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Comprehend) ListDominantLanguageDetectionJobsPages(input *ListDominantLanguageDetectionJobsInput, fn func(*ListDominantLanguageDetectionJobsOutput, bool) bool) error { return c.ListDominantLanguageDetectionJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3805,14 +3801,13 @@ const opListEndpoints = "ListEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEndpointsRequest method. +// req, resp := client.ListEndpointsRequest(params) // -// // Example sending a request using the ListEndpointsRequest method. -// req, resp := client.ListEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEndpoints func (c *Comprehend) ListEndpointsRequest(input *ListEndpointsInput) (req *request.Request, output *ListEndpointsOutput) { @@ -3844,14 +3839,15 @@ func (c *Comprehend) ListEndpointsRequest(input *ListEndpointsInput) (req *reque // API operation ListEndpoints for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEndpoints func (c *Comprehend) ListEndpoints(input *ListEndpointsInput) (*ListEndpointsOutput, error) { @@ -3891,14 +3887,13 @@ const opListEntitiesDetectionJobs = "ListEntitiesDetectionJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEntitiesDetectionJobsRequest method. +// req, resp := client.ListEntitiesDetectionJobsRequest(params) // -// // Example sending a request using the ListEntitiesDetectionJobsRequest method. -// req, resp := client.ListEntitiesDetectionJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEntitiesDetectionJobs func (c *Comprehend) ListEntitiesDetectionJobsRequest(input *ListEntitiesDetectionJobsInput) (req *request.Request, output *ListEntitiesDetectionJobsOutput) { @@ -3935,17 +3930,18 @@ func (c *Comprehend) ListEntitiesDetectionJobsRequest(input *ListEntitiesDetecti // API operation ListEntitiesDetectionJobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InvalidFilterException -// The filter specified for the operation is invalid. Specify a different filter. +// - InvalidFilterException +// The filter specified for the operation is invalid. Specify a different filter. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEntitiesDetectionJobs func (c *Comprehend) ListEntitiesDetectionJobs(input *ListEntitiesDetectionJobsInput) (*ListEntitiesDetectionJobsOutput, error) { @@ -3977,15 +3973,14 @@ func (c *Comprehend) ListEntitiesDetectionJobsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEntitiesDetectionJobs operation. -// pageNum := 0 -// err := client.ListEntitiesDetectionJobsPages(params, -// func(page *comprehend.ListEntitiesDetectionJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEntitiesDetectionJobs operation. +// pageNum := 0 +// err := client.ListEntitiesDetectionJobsPages(params, +// func(page *comprehend.ListEntitiesDetectionJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Comprehend) ListEntitiesDetectionJobsPages(input *ListEntitiesDetectionJobsInput, fn func(*ListEntitiesDetectionJobsOutput, bool) bool) error { return c.ListEntitiesDetectionJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4037,14 +4032,13 @@ const opListEntityRecognizerSummaries = "ListEntityRecognizerSummaries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEntityRecognizerSummariesRequest method. +// req, resp := client.ListEntityRecognizerSummariesRequest(params) // -// // Example sending a request using the ListEntityRecognizerSummariesRequest method. -// req, resp := client.ListEntityRecognizerSummariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEntityRecognizerSummaries func (c *Comprehend) ListEntityRecognizerSummariesRequest(input *ListEntityRecognizerSummariesInput) (req *request.Request, output *ListEntityRecognizerSummariesOutput) { @@ -4081,14 +4075,15 @@ func (c *Comprehend) ListEntityRecognizerSummariesRequest(input *ListEntityRecog // API operation ListEntityRecognizerSummaries for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEntityRecognizerSummaries func (c *Comprehend) ListEntityRecognizerSummaries(input *ListEntityRecognizerSummariesInput) (*ListEntityRecognizerSummariesOutput, error) { @@ -4120,15 +4115,14 @@ func (c *Comprehend) ListEntityRecognizerSummariesWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEntityRecognizerSummaries operation. -// pageNum := 0 -// err := client.ListEntityRecognizerSummariesPages(params, -// func(page *comprehend.ListEntityRecognizerSummariesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEntityRecognizerSummaries operation. +// pageNum := 0 +// err := client.ListEntityRecognizerSummariesPages(params, +// func(page *comprehend.ListEntityRecognizerSummariesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Comprehend) ListEntityRecognizerSummariesPages(input *ListEntityRecognizerSummariesInput, fn func(*ListEntityRecognizerSummariesOutput, bool) bool) error { return c.ListEntityRecognizerSummariesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4180,14 +4174,13 @@ const opListEntityRecognizers = "ListEntityRecognizers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEntityRecognizersRequest method. +// req, resp := client.ListEntityRecognizersRequest(params) // -// // Example sending a request using the ListEntityRecognizersRequest method. -// req, resp := client.ListEntityRecognizersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEntityRecognizers func (c *Comprehend) ListEntityRecognizersRequest(input *ListEntityRecognizersInput) (req *request.Request, output *ListEntityRecognizersOutput) { @@ -4231,17 +4224,18 @@ func (c *Comprehend) ListEntityRecognizersRequest(input *ListEntityRecognizersIn // API operation ListEntityRecognizers for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InvalidFilterException -// The filter specified for the operation is invalid. Specify a different filter. +// - InvalidFilterException +// The filter specified for the operation is invalid. Specify a different filter. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEntityRecognizers func (c *Comprehend) ListEntityRecognizers(input *ListEntityRecognizersInput) (*ListEntityRecognizersOutput, error) { @@ -4273,15 +4267,14 @@ func (c *Comprehend) ListEntityRecognizersWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEntityRecognizers operation. -// pageNum := 0 -// err := client.ListEntityRecognizersPages(params, -// func(page *comprehend.ListEntityRecognizersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEntityRecognizers operation. +// pageNum := 0 +// err := client.ListEntityRecognizersPages(params, +// func(page *comprehend.ListEntityRecognizersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Comprehend) ListEntityRecognizersPages(input *ListEntityRecognizersInput, fn func(*ListEntityRecognizersOutput, bool) bool) error { return c.ListEntityRecognizersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4333,14 +4326,13 @@ const opListEventsDetectionJobs = "ListEventsDetectionJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventsDetectionJobsRequest method. +// req, resp := client.ListEventsDetectionJobsRequest(params) // -// // Example sending a request using the ListEventsDetectionJobsRequest method. -// req, resp := client.ListEventsDetectionJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEventsDetectionJobs func (c *Comprehend) ListEventsDetectionJobsRequest(input *ListEventsDetectionJobsInput) (req *request.Request, output *ListEventsDetectionJobsOutput) { @@ -4377,17 +4369,18 @@ func (c *Comprehend) ListEventsDetectionJobsRequest(input *ListEventsDetectionJo // API operation ListEventsDetectionJobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. // -// * InvalidFilterException -// The filter specified for the operation is invalid. Specify a different filter. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InvalidFilterException +// The filter specified for the operation is invalid. Specify a different filter. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListEventsDetectionJobs func (c *Comprehend) ListEventsDetectionJobs(input *ListEventsDetectionJobsInput) (*ListEventsDetectionJobsOutput, error) { @@ -4419,15 +4412,14 @@ func (c *Comprehend) ListEventsDetectionJobsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEventsDetectionJobs operation. -// pageNum := 0 -// err := client.ListEventsDetectionJobsPages(params, -// func(page *comprehend.ListEventsDetectionJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEventsDetectionJobs operation. +// pageNum := 0 +// err := client.ListEventsDetectionJobsPages(params, +// func(page *comprehend.ListEventsDetectionJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Comprehend) ListEventsDetectionJobsPages(input *ListEventsDetectionJobsInput, fn func(*ListEventsDetectionJobsOutput, bool) bool) error { return c.ListEventsDetectionJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4479,14 +4471,13 @@ const opListKeyPhrasesDetectionJobs = "ListKeyPhrasesDetectionJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListKeyPhrasesDetectionJobsRequest method. +// req, resp := client.ListKeyPhrasesDetectionJobsRequest(params) // -// // Example sending a request using the ListKeyPhrasesDetectionJobsRequest method. -// req, resp := client.ListKeyPhrasesDetectionJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListKeyPhrasesDetectionJobs func (c *Comprehend) ListKeyPhrasesDetectionJobsRequest(input *ListKeyPhrasesDetectionJobsInput) (req *request.Request, output *ListKeyPhrasesDetectionJobsOutput) { @@ -4523,17 +4514,18 @@ func (c *Comprehend) ListKeyPhrasesDetectionJobsRequest(input *ListKeyPhrasesDet // API operation ListKeyPhrasesDetectionJobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. // -// * InvalidFilterException -// The filter specified for the operation is invalid. Specify a different filter. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InvalidFilterException +// The filter specified for the operation is invalid. Specify a different filter. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListKeyPhrasesDetectionJobs func (c *Comprehend) ListKeyPhrasesDetectionJobs(input *ListKeyPhrasesDetectionJobsInput) (*ListKeyPhrasesDetectionJobsOutput, error) { @@ -4565,15 +4557,14 @@ func (c *Comprehend) ListKeyPhrasesDetectionJobsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListKeyPhrasesDetectionJobs operation. -// pageNum := 0 -// err := client.ListKeyPhrasesDetectionJobsPages(params, -// func(page *comprehend.ListKeyPhrasesDetectionJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListKeyPhrasesDetectionJobs operation. +// pageNum := 0 +// err := client.ListKeyPhrasesDetectionJobsPages(params, +// func(page *comprehend.ListKeyPhrasesDetectionJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Comprehend) ListKeyPhrasesDetectionJobsPages(input *ListKeyPhrasesDetectionJobsInput, fn func(*ListKeyPhrasesDetectionJobsOutput, bool) bool) error { return c.ListKeyPhrasesDetectionJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4625,14 +4616,13 @@ const opListPiiEntitiesDetectionJobs = "ListPiiEntitiesDetectionJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPiiEntitiesDetectionJobsRequest method. +// req, resp := client.ListPiiEntitiesDetectionJobsRequest(params) // -// // Example sending a request using the ListPiiEntitiesDetectionJobsRequest method. -// req, resp := client.ListPiiEntitiesDetectionJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListPiiEntitiesDetectionJobs func (c *Comprehend) ListPiiEntitiesDetectionJobsRequest(input *ListPiiEntitiesDetectionJobsInput) (req *request.Request, output *ListPiiEntitiesDetectionJobsOutput) { @@ -4663,17 +4653,18 @@ func (c *Comprehend) ListPiiEntitiesDetectionJobsRequest(input *ListPiiEntitiesD // API operation ListPiiEntitiesDetectionJobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InvalidFilterException -// The filter specified for the operation is invalid. Specify a different filter. +// - InvalidFilterException +// The filter specified for the operation is invalid. Specify a different filter. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListPiiEntitiesDetectionJobs func (c *Comprehend) ListPiiEntitiesDetectionJobs(input *ListPiiEntitiesDetectionJobsInput) (*ListPiiEntitiesDetectionJobsOutput, error) { @@ -4713,14 +4704,13 @@ const opListSentimentDetectionJobs = "ListSentimentDetectionJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSentimentDetectionJobsRequest method. +// req, resp := client.ListSentimentDetectionJobsRequest(params) // -// // Example sending a request using the ListSentimentDetectionJobsRequest method. -// req, resp := client.ListSentimentDetectionJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListSentimentDetectionJobs func (c *Comprehend) ListSentimentDetectionJobsRequest(input *ListSentimentDetectionJobsInput) (req *request.Request, output *ListSentimentDetectionJobsOutput) { @@ -4757,17 +4747,18 @@ func (c *Comprehend) ListSentimentDetectionJobsRequest(input *ListSentimentDetec // API operation ListSentimentDetectionJobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. // -// * InvalidFilterException -// The filter specified for the operation is invalid. Specify a different filter. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InvalidFilterException +// The filter specified for the operation is invalid. Specify a different filter. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListSentimentDetectionJobs func (c *Comprehend) ListSentimentDetectionJobs(input *ListSentimentDetectionJobsInput) (*ListSentimentDetectionJobsOutput, error) { @@ -4799,15 +4790,14 @@ func (c *Comprehend) ListSentimentDetectionJobsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSentimentDetectionJobs operation. -// pageNum := 0 -// err := client.ListSentimentDetectionJobsPages(params, -// func(page *comprehend.ListSentimentDetectionJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSentimentDetectionJobs operation. +// pageNum := 0 +// err := client.ListSentimentDetectionJobsPages(params, +// func(page *comprehend.ListSentimentDetectionJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Comprehend) ListSentimentDetectionJobsPages(input *ListSentimentDetectionJobsInput, fn func(*ListSentimentDetectionJobsOutput, bool) bool) error { return c.ListSentimentDetectionJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4859,14 +4849,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListTagsForResource func (c *Comprehend) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4897,15 +4886,16 @@ func (c *Comprehend) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - InvalidRequestException +// The request is invalid. +// +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListTagsForResource func (c *Comprehend) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4945,14 +4935,13 @@ const opListTargetedSentimentDetectionJobs = "ListTargetedSentimentDetectionJobs // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTargetedSentimentDetectionJobsRequest method. +// req, resp := client.ListTargetedSentimentDetectionJobsRequest(params) // -// // Example sending a request using the ListTargetedSentimentDetectionJobsRequest method. -// req, resp := client.ListTargetedSentimentDetectionJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListTargetedSentimentDetectionJobs func (c *Comprehend) ListTargetedSentimentDetectionJobsRequest(input *ListTargetedSentimentDetectionJobsInput) (req *request.Request, output *ListTargetedSentimentDetectionJobsOutput) { @@ -4989,17 +4978,18 @@ func (c *Comprehend) ListTargetedSentimentDetectionJobsRequest(input *ListTarget // API operation ListTargetedSentimentDetectionJobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. // -// * InvalidFilterException -// The filter specified for the operation is invalid. Specify a different filter. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InvalidFilterException +// The filter specified for the operation is invalid. Specify a different filter. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListTargetedSentimentDetectionJobs func (c *Comprehend) ListTargetedSentimentDetectionJobs(input *ListTargetedSentimentDetectionJobsInput) (*ListTargetedSentimentDetectionJobsOutput, error) { @@ -5031,15 +5021,14 @@ func (c *Comprehend) ListTargetedSentimentDetectionJobsWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTargetedSentimentDetectionJobs operation. -// pageNum := 0 -// err := client.ListTargetedSentimentDetectionJobsPages(params, -// func(page *comprehend.ListTargetedSentimentDetectionJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTargetedSentimentDetectionJobs operation. +// pageNum := 0 +// err := client.ListTargetedSentimentDetectionJobsPages(params, +// func(page *comprehend.ListTargetedSentimentDetectionJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Comprehend) ListTargetedSentimentDetectionJobsPages(input *ListTargetedSentimentDetectionJobsInput, fn func(*ListTargetedSentimentDetectionJobsOutput, bool) bool) error { return c.ListTargetedSentimentDetectionJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5091,14 +5080,13 @@ const opListTopicsDetectionJobs = "ListTopicsDetectionJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTopicsDetectionJobsRequest method. +// req, resp := client.ListTopicsDetectionJobsRequest(params) // -// // Example sending a request using the ListTopicsDetectionJobsRequest method. -// req, resp := client.ListTopicsDetectionJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListTopicsDetectionJobs func (c *Comprehend) ListTopicsDetectionJobsRequest(input *ListTopicsDetectionJobsInput) (req *request.Request, output *ListTopicsDetectionJobsOutput) { @@ -5135,17 +5123,18 @@ func (c *Comprehend) ListTopicsDetectionJobsRequest(input *ListTopicsDetectionJo // API operation ListTopicsDetectionJobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InvalidFilterException -// The filter specified for the operation is invalid. Specify a different filter. +// - InvalidFilterException +// The filter specified for the operation is invalid. Specify a different filter. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/ListTopicsDetectionJobs func (c *Comprehend) ListTopicsDetectionJobs(input *ListTopicsDetectionJobsInput) (*ListTopicsDetectionJobsOutput, error) { @@ -5177,15 +5166,14 @@ func (c *Comprehend) ListTopicsDetectionJobsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTopicsDetectionJobs operation. -// pageNum := 0 -// err := client.ListTopicsDetectionJobsPages(params, -// func(page *comprehend.ListTopicsDetectionJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTopicsDetectionJobs operation. +// pageNum := 0 +// err := client.ListTopicsDetectionJobsPages(params, +// func(page *comprehend.ListTopicsDetectionJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Comprehend) ListTopicsDetectionJobsPages(input *ListTopicsDetectionJobsInput, fn func(*ListTopicsDetectionJobsOutput, bool) bool) error { return c.ListTopicsDetectionJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5237,14 +5225,13 @@ const opPutResourcePolicy = "PutResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutResourcePolicyRequest method. +// req, resp := client.PutResourcePolicyRequest(params) // -// // Example sending a request using the PutResourcePolicyRequest method. -// req, resp := client.PutResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/PutResourcePolicy func (c *Comprehend) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { @@ -5277,15 +5264,16 @@ func (c *Comprehend) PutResourcePolicyRequest(input *PutResourcePolicyInput) (re // API operation PutResourcePolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - InvalidRequestException +// The request is invalid. +// +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/PutResourcePolicy func (c *Comprehend) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { @@ -5325,14 +5313,13 @@ const opStartDocumentClassificationJob = "StartDocumentClassificationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDocumentClassificationJobRequest method. +// req, resp := client.StartDocumentClassificationJobRequest(params) // -// // Example sending a request using the StartDocumentClassificationJobRequest method. -// req, resp := client.StartDocumentClassificationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartDocumentClassificationJob func (c *Comprehend) StartDocumentClassificationJobRequest(input *StartDocumentClassificationJobInput) (req *request.Request, output *StartDocumentClassificationJobOutput) { @@ -5364,31 +5351,32 @@ func (c *Comprehend) StartDocumentClassificationJobRequest(input *StartDocumentC // API operation StartDocumentClassificationJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. // -// * ResourceUnavailableException -// The specified resource is not available. Check the resource and try your -// request again. +// - ResourceUnavailableException +// The specified resource is not available. Check the resource and try your +// request again. // -// * KmsKeyValidationException -// The KMS customer managed key (CMK) entered cannot be validated. Verify the -// key and re-enter it. +// - KmsKeyValidationException +// The KMS customer managed key (CMK) entered cannot be validated. Verify the +// key and re-enter it. // -// * TooManyTagsException -// The request contains more tags than can be associated with a resource (50 -// tags per resource). The maximum number of tags includes both existing tags -// and those included in your current request. +// - TooManyTagsException +// The request contains more tags than can be associated with a resource (50 +// tags per resource). The maximum number of tags includes both existing tags +// and those included in your current request. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartDocumentClassificationJob func (c *Comprehend) StartDocumentClassificationJob(input *StartDocumentClassificationJobInput) (*StartDocumentClassificationJobOutput, error) { @@ -5428,14 +5416,13 @@ const opStartDominantLanguageDetectionJob = "StartDominantLanguageDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDominantLanguageDetectionJobRequest method. +// req, resp := client.StartDominantLanguageDetectionJobRequest(params) // -// // Example sending a request using the StartDominantLanguageDetectionJobRequest method. -// req, resp := client.StartDominantLanguageDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartDominantLanguageDetectionJob func (c *Comprehend) StartDominantLanguageDetectionJobRequest(input *StartDominantLanguageDetectionJobInput) (req *request.Request, output *StartDominantLanguageDetectionJobOutput) { @@ -5467,23 +5454,24 @@ func (c *Comprehend) StartDominantLanguageDetectionJobRequest(input *StartDomina // API operation StartDominantLanguageDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * KmsKeyValidationException -// The KMS customer managed key (CMK) entered cannot be validated. Verify the -// key and re-enter it. +// - KmsKeyValidationException +// The KMS customer managed key (CMK) entered cannot be validated. Verify the +// key and re-enter it. // -// * TooManyTagsException -// The request contains more tags than can be associated with a resource (50 -// tags per resource). The maximum number of tags includes both existing tags -// and those included in your current request. +// - TooManyTagsException +// The request contains more tags than can be associated with a resource (50 +// tags per resource). The maximum number of tags includes both existing tags +// and those included in your current request. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartDominantLanguageDetectionJob func (c *Comprehend) StartDominantLanguageDetectionJob(input *StartDominantLanguageDetectionJobInput) (*StartDominantLanguageDetectionJobOutput, error) { @@ -5523,14 +5511,13 @@ const opStartEntitiesDetectionJob = "StartEntitiesDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartEntitiesDetectionJobRequest method. +// req, resp := client.StartEntitiesDetectionJobRequest(params) // -// // Example sending a request using the StartEntitiesDetectionJobRequest method. -// req, resp := client.StartEntitiesDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartEntitiesDetectionJob func (c *Comprehend) StartEntitiesDetectionJobRequest(input *StartEntitiesDetectionJobInput) (req *request.Request, output *StartEntitiesDetectionJobOutput) { @@ -5567,31 +5554,32 @@ func (c *Comprehend) StartEntitiesDetectionJobRequest(input *StartEntitiesDetect // API operation StartEntitiesDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. // -// * ResourceUnavailableException -// The specified resource is not available. Check the resource and try your -// request again. +// - ResourceUnavailableException +// The specified resource is not available. Check the resource and try your +// request again. // -// * KmsKeyValidationException -// The KMS customer managed key (CMK) entered cannot be validated. Verify the -// key and re-enter it. +// - KmsKeyValidationException +// The KMS customer managed key (CMK) entered cannot be validated. Verify the +// key and re-enter it. // -// * TooManyTagsException -// The request contains more tags than can be associated with a resource (50 -// tags per resource). The maximum number of tags includes both existing tags -// and those included in your current request. +// - TooManyTagsException +// The request contains more tags than can be associated with a resource (50 +// tags per resource). The maximum number of tags includes both existing tags +// and those included in your current request. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartEntitiesDetectionJob func (c *Comprehend) StartEntitiesDetectionJob(input *StartEntitiesDetectionJobInput) (*StartEntitiesDetectionJobOutput, error) { @@ -5631,14 +5619,13 @@ const opStartEventsDetectionJob = "StartEventsDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartEventsDetectionJobRequest method. +// req, resp := client.StartEventsDetectionJobRequest(params) // -// // Example sending a request using the StartEventsDetectionJobRequest method. -// req, resp := client.StartEventsDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartEventsDetectionJob func (c *Comprehend) StartEventsDetectionJobRequest(input *StartEventsDetectionJobInput) (req *request.Request, output *StartEventsDetectionJobOutput) { @@ -5669,23 +5656,24 @@ func (c *Comprehend) StartEventsDetectionJobRequest(input *StartEventsDetectionJ // API operation StartEventsDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. // -// * KmsKeyValidationException -// The KMS customer managed key (CMK) entered cannot be validated. Verify the -// key and re-enter it. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * TooManyTagsException -// The request contains more tags than can be associated with a resource (50 -// tags per resource). The maximum number of tags includes both existing tags -// and those included in your current request. +// - KmsKeyValidationException +// The KMS customer managed key (CMK) entered cannot be validated. Verify the +// key and re-enter it. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - TooManyTagsException +// The request contains more tags than can be associated with a resource (50 +// tags per resource). The maximum number of tags includes both existing tags +// and those included in your current request. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartEventsDetectionJob func (c *Comprehend) StartEventsDetectionJob(input *StartEventsDetectionJobInput) (*StartEventsDetectionJobOutput, error) { @@ -5725,14 +5713,13 @@ const opStartKeyPhrasesDetectionJob = "StartKeyPhrasesDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartKeyPhrasesDetectionJobRequest method. +// req, resp := client.StartKeyPhrasesDetectionJobRequest(params) // -// // Example sending a request using the StartKeyPhrasesDetectionJobRequest method. -// req, resp := client.StartKeyPhrasesDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartKeyPhrasesDetectionJob func (c *Comprehend) StartKeyPhrasesDetectionJobRequest(input *StartKeyPhrasesDetectionJobInput) (req *request.Request, output *StartKeyPhrasesDetectionJobOutput) { @@ -5764,23 +5751,24 @@ func (c *Comprehend) StartKeyPhrasesDetectionJobRequest(input *StartKeyPhrasesDe // API operation StartKeyPhrasesDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. // -// * KmsKeyValidationException -// The KMS customer managed key (CMK) entered cannot be validated. Verify the -// key and re-enter it. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * TooManyTagsException -// The request contains more tags than can be associated with a resource (50 -// tags per resource). The maximum number of tags includes both existing tags -// and those included in your current request. +// - KmsKeyValidationException +// The KMS customer managed key (CMK) entered cannot be validated. Verify the +// key and re-enter it. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - TooManyTagsException +// The request contains more tags than can be associated with a resource (50 +// tags per resource). The maximum number of tags includes both existing tags +// and those included in your current request. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartKeyPhrasesDetectionJob func (c *Comprehend) StartKeyPhrasesDetectionJob(input *StartKeyPhrasesDetectionJobInput) (*StartKeyPhrasesDetectionJobOutput, error) { @@ -5820,14 +5808,13 @@ const opStartPiiEntitiesDetectionJob = "StartPiiEntitiesDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartPiiEntitiesDetectionJobRequest method. +// req, resp := client.StartPiiEntitiesDetectionJobRequest(params) // -// // Example sending a request using the StartPiiEntitiesDetectionJobRequest method. -// req, resp := client.StartPiiEntitiesDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartPiiEntitiesDetectionJob func (c *Comprehend) StartPiiEntitiesDetectionJobRequest(input *StartPiiEntitiesDetectionJobInput) (req *request.Request, output *StartPiiEntitiesDetectionJobOutput) { @@ -5858,23 +5845,24 @@ func (c *Comprehend) StartPiiEntitiesDetectionJobRequest(input *StartPiiEntities // API operation StartPiiEntitiesDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * KmsKeyValidationException -// The KMS customer managed key (CMK) entered cannot be validated. Verify the -// key and re-enter it. +// - KmsKeyValidationException +// The KMS customer managed key (CMK) entered cannot be validated. Verify the +// key and re-enter it. // -// * TooManyTagsException -// The request contains more tags than can be associated with a resource (50 -// tags per resource). The maximum number of tags includes both existing tags -// and those included in your current request. +// - TooManyTagsException +// The request contains more tags than can be associated with a resource (50 +// tags per resource). The maximum number of tags includes both existing tags +// and those included in your current request. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartPiiEntitiesDetectionJob func (c *Comprehend) StartPiiEntitiesDetectionJob(input *StartPiiEntitiesDetectionJobInput) (*StartPiiEntitiesDetectionJobOutput, error) { @@ -5914,14 +5902,13 @@ const opStartSentimentDetectionJob = "StartSentimentDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartSentimentDetectionJobRequest method. +// req, resp := client.StartSentimentDetectionJobRequest(params) // -// // Example sending a request using the StartSentimentDetectionJobRequest method. -// req, resp := client.StartSentimentDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartSentimentDetectionJob func (c *Comprehend) StartSentimentDetectionJobRequest(input *StartSentimentDetectionJobInput) (req *request.Request, output *StartSentimentDetectionJobOutput) { @@ -5953,23 +5940,24 @@ func (c *Comprehend) StartSentimentDetectionJobRequest(input *StartSentimentDete // API operation StartSentimentDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * KmsKeyValidationException -// The KMS customer managed key (CMK) entered cannot be validated. Verify the -// key and re-enter it. +// - KmsKeyValidationException +// The KMS customer managed key (CMK) entered cannot be validated. Verify the +// key and re-enter it. // -// * TooManyTagsException -// The request contains more tags than can be associated with a resource (50 -// tags per resource). The maximum number of tags includes both existing tags -// and those included in your current request. +// - TooManyTagsException +// The request contains more tags than can be associated with a resource (50 +// tags per resource). The maximum number of tags includes both existing tags +// and those included in your current request. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartSentimentDetectionJob func (c *Comprehend) StartSentimentDetectionJob(input *StartSentimentDetectionJobInput) (*StartSentimentDetectionJobOutput, error) { @@ -6009,14 +5997,13 @@ const opStartTargetedSentimentDetectionJob = "StartTargetedSentimentDetectionJob // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartTargetedSentimentDetectionJobRequest method. +// req, resp := client.StartTargetedSentimentDetectionJobRequest(params) // -// // Example sending a request using the StartTargetedSentimentDetectionJobRequest method. -// req, resp := client.StartTargetedSentimentDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartTargetedSentimentDetectionJob func (c *Comprehend) StartTargetedSentimentDetectionJobRequest(input *StartTargetedSentimentDetectionJobInput) (req *request.Request, output *StartTargetedSentimentDetectionJobOutput) { @@ -6048,23 +6035,24 @@ func (c *Comprehend) StartTargetedSentimentDetectionJobRequest(input *StartTarge // API operation StartTargetedSentimentDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * KmsKeyValidationException -// The KMS customer managed key (CMK) entered cannot be validated. Verify the -// key and re-enter it. +// - KmsKeyValidationException +// The KMS customer managed key (CMK) entered cannot be validated. Verify the +// key and re-enter it. // -// * TooManyTagsException -// The request contains more tags than can be associated with a resource (50 -// tags per resource). The maximum number of tags includes both existing tags -// and those included in your current request. +// - TooManyTagsException +// The request contains more tags than can be associated with a resource (50 +// tags per resource). The maximum number of tags includes both existing tags +// and those included in your current request. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartTargetedSentimentDetectionJob func (c *Comprehend) StartTargetedSentimentDetectionJob(input *StartTargetedSentimentDetectionJobInput) (*StartTargetedSentimentDetectionJobOutput, error) { @@ -6104,14 +6092,13 @@ const opStartTopicsDetectionJob = "StartTopicsDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartTopicsDetectionJobRequest method. +// req, resp := client.StartTopicsDetectionJobRequest(params) // -// // Example sending a request using the StartTopicsDetectionJobRequest method. -// req, resp := client.StartTopicsDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartTopicsDetectionJob func (c *Comprehend) StartTopicsDetectionJobRequest(input *StartTopicsDetectionJobInput) (req *request.Request, output *StartTopicsDetectionJobOutput) { @@ -6143,23 +6130,24 @@ func (c *Comprehend) StartTopicsDetectionJobRequest(input *StartTopicsDetectionJ // API operation StartTopicsDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. // -// * KmsKeyValidationException -// The KMS customer managed key (CMK) entered cannot be validated. Verify the -// key and re-enter it. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * TooManyTagsException -// The request contains more tags than can be associated with a resource (50 -// tags per resource). The maximum number of tags includes both existing tags -// and those included in your current request. +// - KmsKeyValidationException +// The KMS customer managed key (CMK) entered cannot be validated. Verify the +// key and re-enter it. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - TooManyTagsException +// The request contains more tags than can be associated with a resource (50 +// tags per resource). The maximum number of tags includes both existing tags +// and those included in your current request. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StartTopicsDetectionJob func (c *Comprehend) StartTopicsDetectionJob(input *StartTopicsDetectionJobInput) (*StartTopicsDetectionJobOutput, error) { @@ -6199,14 +6187,13 @@ const opStopDominantLanguageDetectionJob = "StopDominantLanguageDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopDominantLanguageDetectionJobRequest method. +// req, resp := client.StopDominantLanguageDetectionJobRequest(params) // -// // Example sending a request using the StopDominantLanguageDetectionJobRequest method. -// req, resp := client.StopDominantLanguageDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopDominantLanguageDetectionJob func (c *Comprehend) StopDominantLanguageDetectionJobRequest(input *StopDominantLanguageDetectionJobInput) (req *request.Request, output *StopDominantLanguageDetectionJobOutput) { @@ -6248,14 +6235,15 @@ func (c *Comprehend) StopDominantLanguageDetectionJobRequest(input *StopDominant // API operation StopDominantLanguageDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - InvalidRequestException +// The request is invalid. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopDominantLanguageDetectionJob func (c *Comprehend) StopDominantLanguageDetectionJob(input *StopDominantLanguageDetectionJobInput) (*StopDominantLanguageDetectionJobOutput, error) { @@ -6295,14 +6283,13 @@ const opStopEntitiesDetectionJob = "StopEntitiesDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopEntitiesDetectionJobRequest method. +// req, resp := client.StopEntitiesDetectionJobRequest(params) // -// // Example sending a request using the StopEntitiesDetectionJobRequest method. -// req, resp := client.StopEntitiesDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopEntitiesDetectionJob func (c *Comprehend) StopEntitiesDetectionJobRequest(input *StopEntitiesDetectionJobInput) (req *request.Request, output *StopEntitiesDetectionJobOutput) { @@ -6344,14 +6331,15 @@ func (c *Comprehend) StopEntitiesDetectionJobRequest(input *StopEntitiesDetectio // API operation StopEntitiesDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - InvalidRequestException +// The request is invalid. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopEntitiesDetectionJob func (c *Comprehend) StopEntitiesDetectionJob(input *StopEntitiesDetectionJobInput) (*StopEntitiesDetectionJobOutput, error) { @@ -6391,14 +6379,13 @@ const opStopEventsDetectionJob = "StopEventsDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopEventsDetectionJobRequest method. +// req, resp := client.StopEventsDetectionJobRequest(params) // -// // Example sending a request using the StopEventsDetectionJobRequest method. -// req, resp := client.StopEventsDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopEventsDetectionJob func (c *Comprehend) StopEventsDetectionJobRequest(input *StopEventsDetectionJobInput) (req *request.Request, output *StopEventsDetectionJobOutput) { @@ -6429,14 +6416,15 @@ func (c *Comprehend) StopEventsDetectionJobRequest(input *StopEventsDetectionJob // API operation StopEventsDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - InvalidRequestException +// The request is invalid. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopEventsDetectionJob func (c *Comprehend) StopEventsDetectionJob(input *StopEventsDetectionJobInput) (*StopEventsDetectionJobOutput, error) { @@ -6476,14 +6464,13 @@ const opStopKeyPhrasesDetectionJob = "StopKeyPhrasesDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopKeyPhrasesDetectionJobRequest method. +// req, resp := client.StopKeyPhrasesDetectionJobRequest(params) // -// // Example sending a request using the StopKeyPhrasesDetectionJobRequest method. -// req, resp := client.StopKeyPhrasesDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopKeyPhrasesDetectionJob func (c *Comprehend) StopKeyPhrasesDetectionJobRequest(input *StopKeyPhrasesDetectionJobInput) (req *request.Request, output *StopKeyPhrasesDetectionJobOutput) { @@ -6525,14 +6512,15 @@ func (c *Comprehend) StopKeyPhrasesDetectionJobRequest(input *StopKeyPhrasesDete // API operation StopKeyPhrasesDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - InvalidRequestException +// The request is invalid. +// +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopKeyPhrasesDetectionJob func (c *Comprehend) StopKeyPhrasesDetectionJob(input *StopKeyPhrasesDetectionJobInput) (*StopKeyPhrasesDetectionJobOutput, error) { @@ -6572,14 +6560,13 @@ const opStopPiiEntitiesDetectionJob = "StopPiiEntitiesDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopPiiEntitiesDetectionJobRequest method. +// req, resp := client.StopPiiEntitiesDetectionJobRequest(params) // -// // Example sending a request using the StopPiiEntitiesDetectionJobRequest method. -// req, resp := client.StopPiiEntitiesDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopPiiEntitiesDetectionJob func (c *Comprehend) StopPiiEntitiesDetectionJobRequest(input *StopPiiEntitiesDetectionJobInput) (req *request.Request, output *StopPiiEntitiesDetectionJobOutput) { @@ -6610,14 +6597,15 @@ func (c *Comprehend) StopPiiEntitiesDetectionJobRequest(input *StopPiiEntitiesDe // API operation StopPiiEntitiesDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - InvalidRequestException +// The request is invalid. +// +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopPiiEntitiesDetectionJob func (c *Comprehend) StopPiiEntitiesDetectionJob(input *StopPiiEntitiesDetectionJobInput) (*StopPiiEntitiesDetectionJobOutput, error) { @@ -6657,14 +6645,13 @@ const opStopSentimentDetectionJob = "StopSentimentDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopSentimentDetectionJobRequest method. +// req, resp := client.StopSentimentDetectionJobRequest(params) // -// // Example sending a request using the StopSentimentDetectionJobRequest method. -// req, resp := client.StopSentimentDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopSentimentDetectionJob func (c *Comprehend) StopSentimentDetectionJobRequest(input *StopSentimentDetectionJobInput) (req *request.Request, output *StopSentimentDetectionJobOutput) { @@ -6706,14 +6693,15 @@ func (c *Comprehend) StopSentimentDetectionJobRequest(input *StopSentimentDetect // API operation StopSentimentDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - InvalidRequestException +// The request is invalid. +// +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopSentimentDetectionJob func (c *Comprehend) StopSentimentDetectionJob(input *StopSentimentDetectionJobInput) (*StopSentimentDetectionJobOutput, error) { @@ -6753,14 +6741,13 @@ const opStopTargetedSentimentDetectionJob = "StopTargetedSentimentDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopTargetedSentimentDetectionJobRequest method. +// req, resp := client.StopTargetedSentimentDetectionJobRequest(params) // -// // Example sending a request using the StopTargetedSentimentDetectionJobRequest method. -// req, resp := client.StopTargetedSentimentDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopTargetedSentimentDetectionJob func (c *Comprehend) StopTargetedSentimentDetectionJobRequest(input *StopTargetedSentimentDetectionJobInput) (req *request.Request, output *StopTargetedSentimentDetectionJobOutput) { @@ -6802,14 +6789,15 @@ func (c *Comprehend) StopTargetedSentimentDetectionJobRequest(input *StopTargete // API operation StopTargetedSentimentDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * JobNotFoundException -// The specified job was not found. Check the job ID and try again. +// - InvalidRequestException +// The request is invalid. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - JobNotFoundException +// The specified job was not found. Check the job ID and try again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopTargetedSentimentDetectionJob func (c *Comprehend) StopTargetedSentimentDetectionJob(input *StopTargetedSentimentDetectionJobInput) (*StopTargetedSentimentDetectionJobOutput, error) { @@ -6849,14 +6837,13 @@ const opStopTrainingDocumentClassifier = "StopTrainingDocumentClassifier" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopTrainingDocumentClassifierRequest method. +// req, resp := client.StopTrainingDocumentClassifierRequest(params) // -// // Example sending a request using the StopTrainingDocumentClassifierRequest method. -// req, resp := client.StopTrainingDocumentClassifierRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopTrainingDocumentClassifier func (c *Comprehend) StopTrainingDocumentClassifierRequest(input *StopTrainingDocumentClassifierInput) (req *request.Request, output *StopTrainingDocumentClassifierOutput) { @@ -6894,18 +6881,19 @@ func (c *Comprehend) StopTrainingDocumentClassifierRequest(input *StopTrainingDo // API operation StopTrainingDocumentClassifier for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopTrainingDocumentClassifier func (c *Comprehend) StopTrainingDocumentClassifier(input *StopTrainingDocumentClassifierInput) (*StopTrainingDocumentClassifierOutput, error) { @@ -6945,14 +6933,13 @@ const opStopTrainingEntityRecognizer = "StopTrainingEntityRecognizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopTrainingEntityRecognizerRequest method. +// req, resp := client.StopTrainingEntityRecognizerRequest(params) // -// // Example sending a request using the StopTrainingEntityRecognizerRequest method. -// req, resp := client.StopTrainingEntityRecognizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopTrainingEntityRecognizer func (c *Comprehend) StopTrainingEntityRecognizerRequest(input *StopTrainingEntityRecognizerInput) (req *request.Request, output *StopTrainingEntityRecognizerOutput) { @@ -6990,18 +6977,19 @@ func (c *Comprehend) StopTrainingEntityRecognizerRequest(input *StopTrainingEnti // API operation StopTrainingEntityRecognizer for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/StopTrainingEntityRecognizer func (c *Comprehend) StopTrainingEntityRecognizer(input *StopTrainingEntityRecognizerInput) (*StopTrainingEntityRecognizerOutput, error) { @@ -7041,14 +7029,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/TagResource func (c *Comprehend) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -7083,24 +7070,25 @@ func (c *Comprehend) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * ConcurrentModificationException -// Concurrent modification of the tags associated with an Amazon Comprehend -// resource is not supported. +// - InvalidRequestException +// The request is invalid. +// +// - ConcurrentModificationException +// Concurrent modification of the tags associated with an Amazon Comprehend +// resource is not supported. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. // -// * TooManyTagsException -// The request contains more tags than can be associated with a resource (50 -// tags per resource). The maximum number of tags includes both existing tags -// and those included in your current request. +// - TooManyTagsException +// The request contains more tags than can be associated with a resource (50 +// tags per resource). The maximum number of tags includes both existing tags +// and those included in your current request. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/TagResource func (c *Comprehend) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -7140,14 +7128,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/UntagResource func (c *Comprehend) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -7179,23 +7166,24 @@ func (c *Comprehend) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Types: -// * TooManyTagKeysException -// The request contains more tag keys than can be associated with a resource -// (50 tag keys per resource). // -// * InvalidRequestException -// The request is invalid. +// - TooManyTagKeysException +// The request contains more tag keys than can be associated with a resource +// (50 tag keys per resource). +// +// - InvalidRequestException +// The request is invalid. // -// * ConcurrentModificationException -// Concurrent modification of the tags associated with an Amazon Comprehend -// resource is not supported. +// - ConcurrentModificationException +// Concurrent modification of the tags associated with an Amazon Comprehend +// resource is not supported. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/UntagResource func (c *Comprehend) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -7235,14 +7223,13 @@ const opUpdateEndpoint = "UpdateEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEndpointRequest method. +// req, resp := client.UpdateEndpointRequest(params) // -// // Example sending a request using the UpdateEndpointRequest method. -// req, resp := client.UpdateEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/UpdateEndpoint func (c *Comprehend) UpdateEndpointRequest(input *UpdateEndpointInput) (req *request.Request, output *UpdateEndpointOutput) { @@ -7275,30 +7262,31 @@ func (c *Comprehend) UpdateEndpointRequest(input *UpdateEndpointInput) (req *req // API operation UpdateEndpoint for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. Resubmit your request later. +// - InvalidRequestException +// The request is invalid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. Resubmit your request later. // -// * ResourceInUseException -// The specified resource name is already in use. Use a different name and try -// your request again. +// - ResourceInUseException +// The specified resource name is already in use. Use a different name and try +// your request again. // -// * ResourceLimitExceededException -// The maximum number of resources per account has been exceeded. Review the -// resources, and then try your request again. +// - ResourceLimitExceededException +// The maximum number of resources per account has been exceeded. Review the +// resources, and then try your request again. // -// * ResourceNotFoundException -// The specified resource ARN was not found. Check the ARN and try your request -// again. +// - ResourceNotFoundException +// The specified resource ARN was not found. Check the ARN and try your request +// again. // -// * ResourceUnavailableException -// The specified resource is not available. Check the resource and try your -// request again. +// - ResourceUnavailableException +// The specified resource is not available. Check the resource and try your +// request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/UpdateEndpoint func (c *Comprehend) UpdateEndpoint(input *UpdateEndpointInput) (*UpdateEndpointOutput, error) { @@ -22494,10 +22482,10 @@ func DocumentReadAction_Values() []string { // types need to be extracted from the document where entity recognition is // expected. // -// * TABLES - Add TABLES to the list to return information about the tables -// that are detected in the input document. +// - TABLES - Add TABLES to the list to return information about the tables +// that are detected in the input document. // -// * FORMS - Add FORMS to return detected form data. +// - FORMS - Add FORMS to return detected form data. const ( // DocumentReadFeatureTypesTables is a DocumentReadFeatureTypes enum value DocumentReadFeatureTypesTables = "TABLES" diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/comprehendiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/comprehendiface/interface.go index f8be93138319..d10b2813dc8f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/comprehendiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/comprehendiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Comprehend. -// func myFunc(svc comprehendiface.ComprehendAPI) bool { -// // Make svc.BatchDetectDominantLanguage request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Comprehend. +// func myFunc(svc comprehendiface.ComprehendAPI) bool { +// // Make svc.BatchDetectDominantLanguage request +// } // -// func main() { -// sess := session.New() -// svc := comprehend.New(sess) +// func main() { +// sess := session.New() +// svc := comprehend.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockComprehendClient struct { -// comprehendiface.ComprehendAPI -// } -// func (m *mockComprehendClient) BatchDetectDominantLanguage(input *comprehend.BatchDetectDominantLanguageInput) (*comprehend.BatchDetectDominantLanguageOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockComprehendClient struct { +// comprehendiface.ComprehendAPI +// } +// func (m *mockComprehendClient) BatchDetectDominantLanguage(input *comprehend.BatchDetectDominantLanguageInput) (*comprehend.BatchDetectDominantLanguageOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockComprehendClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockComprehendClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/doc.go index 8f69dcec8da6..351f0c8b440b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/doc.go @@ -13,7 +13,7 @@ // See comprehend package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/comprehend/ // -// Using the Client +// # Using the Client // // To contact Amazon Comprehend with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/service.go index a403dc199817..f1bcf0cf5590 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehend/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Comprehend client from just a session. -// svc := comprehend.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Comprehend client with additional configuration -// svc := comprehend.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Comprehend client from just a session. +// svc := comprehend.New(mySession) +// +// // Create a Comprehend client with additional configuration +// svc := comprehend.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Comprehend { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/api.go index af68077bf0f6..d49f71c5bd30 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/api.go @@ -28,14 +28,13 @@ const opDescribeEntitiesDetectionV2Job = "DescribeEntitiesDetectionV2Job" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEntitiesDetectionV2JobRequest method. +// req, resp := client.DescribeEntitiesDetectionV2JobRequest(params) // -// // Example sending a request using the DescribeEntitiesDetectionV2JobRequest method. -// req, resp := client.DescribeEntitiesDetectionV2JobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeEntitiesDetectionV2Job func (c *ComprehendMedical) DescribeEntitiesDetectionV2JobRequest(input *DescribeEntitiesDetectionV2JobInput) (req *request.Request, output *DescribeEntitiesDetectionV2JobOutput) { @@ -67,21 +66,22 @@ func (c *ComprehendMedical) DescribeEntitiesDetectionV2JobRequest(input *Describ // API operation DescribeEntitiesDetectionV2Job for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. +// +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * ResourceNotFoundException -// The resource identified by the specified Amazon Resource Name (ARN) was not -// found. Check the ARN and try your request again. +// - ResourceNotFoundException +// The resource identified by the specified Amazon Resource Name (ARN) was not +// found. Check the ARN and try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeEntitiesDetectionV2Job func (c *ComprehendMedical) DescribeEntitiesDetectionV2Job(input *DescribeEntitiesDetectionV2JobInput) (*DescribeEntitiesDetectionV2JobOutput, error) { @@ -121,14 +121,13 @@ const opDescribeICD10CMInferenceJob = "DescribeICD10CMInferenceJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeICD10CMInferenceJobRequest method. +// req, resp := client.DescribeICD10CMInferenceJobRequest(params) // -// // Example sending a request using the DescribeICD10CMInferenceJobRequest method. -// req, resp := client.DescribeICD10CMInferenceJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeICD10CMInferenceJob func (c *ComprehendMedical) DescribeICD10CMInferenceJobRequest(input *DescribeICD10CMInferenceJobInput) (req *request.Request, output *DescribeICD10CMInferenceJobOutput) { @@ -160,21 +159,22 @@ func (c *ComprehendMedical) DescribeICD10CMInferenceJobRequest(input *DescribeIC // API operation DescribeICD10CMInferenceJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. +// +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * ResourceNotFoundException -// The resource identified by the specified Amazon Resource Name (ARN) was not -// found. Check the ARN and try your request again. +// - ResourceNotFoundException +// The resource identified by the specified Amazon Resource Name (ARN) was not +// found. Check the ARN and try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeICD10CMInferenceJob func (c *ComprehendMedical) DescribeICD10CMInferenceJob(input *DescribeICD10CMInferenceJobInput) (*DescribeICD10CMInferenceJobOutput, error) { @@ -214,14 +214,13 @@ const opDescribePHIDetectionJob = "DescribePHIDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePHIDetectionJobRequest method. +// req, resp := client.DescribePHIDetectionJobRequest(params) // -// // Example sending a request using the DescribePHIDetectionJobRequest method. -// req, resp := client.DescribePHIDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribePHIDetectionJob func (c *ComprehendMedical) DescribePHIDetectionJobRequest(input *DescribePHIDetectionJobInput) (req *request.Request, output *DescribePHIDetectionJobOutput) { @@ -253,21 +252,22 @@ func (c *ComprehendMedical) DescribePHIDetectionJobRequest(input *DescribePHIDet // API operation DescribePHIDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. +// +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * ResourceNotFoundException -// The resource identified by the specified Amazon Resource Name (ARN) was not -// found. Check the ARN and try your request again. +// - ResourceNotFoundException +// The resource identified by the specified Amazon Resource Name (ARN) was not +// found. Check the ARN and try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribePHIDetectionJob func (c *ComprehendMedical) DescribePHIDetectionJob(input *DescribePHIDetectionJobInput) (*DescribePHIDetectionJobOutput, error) { @@ -307,14 +307,13 @@ const opDescribeRxNormInferenceJob = "DescribeRxNormInferenceJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRxNormInferenceJobRequest method. +// req, resp := client.DescribeRxNormInferenceJobRequest(params) // -// // Example sending a request using the DescribeRxNormInferenceJobRequest method. -// req, resp := client.DescribeRxNormInferenceJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeRxNormInferenceJob func (c *ComprehendMedical) DescribeRxNormInferenceJobRequest(input *DescribeRxNormInferenceJobInput) (req *request.Request, output *DescribeRxNormInferenceJobOutput) { @@ -346,21 +345,22 @@ func (c *ComprehendMedical) DescribeRxNormInferenceJobRequest(input *DescribeRxN // API operation DescribeRxNormInferenceJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * ResourceNotFoundException -// The resource identified by the specified Amazon Resource Name (ARN) was not -// found. Check the ARN and try your request again. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - ResourceNotFoundException +// The resource identified by the specified Amazon Resource Name (ARN) was not +// found. Check the ARN and try your request again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeRxNormInferenceJob func (c *ComprehendMedical) DescribeRxNormInferenceJob(input *DescribeRxNormInferenceJobInput) (*DescribeRxNormInferenceJobOutput, error) { @@ -400,14 +400,13 @@ const opDescribeSNOMEDCTInferenceJob = "DescribeSNOMEDCTInferenceJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSNOMEDCTInferenceJobRequest method. +// req, resp := client.DescribeSNOMEDCTInferenceJobRequest(params) // -// // Example sending a request using the DescribeSNOMEDCTInferenceJobRequest method. -// req, resp := client.DescribeSNOMEDCTInferenceJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeSNOMEDCTInferenceJob func (c *ComprehendMedical) DescribeSNOMEDCTInferenceJobRequest(input *DescribeSNOMEDCTInferenceJobInput) (req *request.Request, output *DescribeSNOMEDCTInferenceJobOutput) { @@ -439,21 +438,22 @@ func (c *ComprehendMedical) DescribeSNOMEDCTInferenceJobRequest(input *DescribeS // API operation DescribeSNOMEDCTInferenceJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. +// +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * ResourceNotFoundException -// The resource identified by the specified Amazon Resource Name (ARN) was not -// found. Check the ARN and try your request again. +// - ResourceNotFoundException +// The resource identified by the specified Amazon Resource Name (ARN) was not +// found. Check the ARN and try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DescribeSNOMEDCTInferenceJob func (c *ComprehendMedical) DescribeSNOMEDCTInferenceJob(input *DescribeSNOMEDCTInferenceJobInput) (*DescribeSNOMEDCTInferenceJobOutput, error) { @@ -493,14 +493,13 @@ const opDetectEntities = "DetectEntities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectEntitiesRequest method. +// req, resp := client.DetectEntitiesRequest(params) // -// // Example sending a request using the DetectEntitiesRequest method. -// req, resp := client.DetectEntitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DetectEntities // @@ -541,29 +540,30 @@ func (c *ComprehendMedical) DetectEntitiesRequest(input *DetectEntitiesInput) (r // API operation DetectEntities for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal server error occurred. Retry your request. // -// * ServiceUnavailableException -// The Comprehend Medical; service is temporarily unavailable. Please wait and -// then retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. +// +// - ServiceUnavailableException +// The Comprehend Medical; service is temporarily unavailable. Please wait and +// then retry your request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * InvalidEncodingException -// The input text was not in valid UTF-8 character encoding. Check your text -// then retry your request. +// - InvalidEncodingException +// The input text was not in valid UTF-8 character encoding. Check your text +// then retry your request. // -// * TextSizeLimitExceededException -// The size of the text you submitted exceeds the size limit. Reduce the size -// of the text or use a smaller document and then retry your request. +// - TextSizeLimitExceededException +// The size of the text you submitted exceeds the size limit. Reduce the size +// of the text or use a smaller document and then retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DetectEntities // @@ -607,14 +607,13 @@ const opDetectEntitiesV2 = "DetectEntitiesV2" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectEntitiesV2Request method. +// req, resp := client.DetectEntitiesV2Request(params) // -// // Example sending a request using the DetectEntitiesV2Request method. -// req, resp := client.DetectEntitiesV2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DetectEntitiesV2 func (c *ComprehendMedical) DetectEntitiesV2Request(input *DetectEntitiesV2Input) (req *request.Request, output *DetectEntitiesV2Output) { @@ -656,29 +655,30 @@ func (c *ComprehendMedical) DetectEntitiesV2Request(input *DetectEntitiesV2Input // API operation DetectEntitiesV2 for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal server error occurred. Retry your request. // -// * ServiceUnavailableException -// The Comprehend Medical; service is temporarily unavailable. Please wait and -// then retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - ServiceUnavailableException +// The Comprehend Medical; service is temporarily unavailable. Please wait and +// then retry your request. // -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * InvalidEncodingException -// The input text was not in valid UTF-8 character encoding. Check your text -// then retry your request. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * TextSizeLimitExceededException -// The size of the text you submitted exceeds the size limit. Reduce the size -// of the text or use a smaller document and then retry your request. +// - InvalidEncodingException +// The input text was not in valid UTF-8 character encoding. Check your text +// then retry your request. +// +// - TextSizeLimitExceededException +// The size of the text you submitted exceeds the size limit. Reduce the size +// of the text or use a smaller document and then retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DetectEntitiesV2 func (c *ComprehendMedical) DetectEntitiesV2(input *DetectEntitiesV2Input) (*DetectEntitiesV2Output, error) { @@ -718,14 +718,13 @@ const opDetectPHI = "DetectPHI" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectPHIRequest method. +// req, resp := client.DetectPHIRequest(params) // -// // Example sending a request using the DetectPHIRequest method. -// req, resp := client.DetectPHIRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DetectPHI func (c *ComprehendMedical) DetectPHIRequest(input *DetectPHIInput) (req *request.Request, output *DetectPHIOutput) { @@ -759,29 +758,30 @@ func (c *ComprehendMedical) DetectPHIRequest(input *DetectPHIInput) (req *reques // API operation DetectPHI for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal server error occurred. Retry your request. // -// * ServiceUnavailableException -// The Comprehend Medical; service is temporarily unavailable. Please wait and -// then retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - ServiceUnavailableException +// The Comprehend Medical; service is temporarily unavailable. Please wait and +// then retry your request. // -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * InvalidEncodingException -// The input text was not in valid UTF-8 character encoding. Check your text -// then retry your request. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * TextSizeLimitExceededException -// The size of the text you submitted exceeds the size limit. Reduce the size -// of the text or use a smaller document and then retry your request. +// - InvalidEncodingException +// The input text was not in valid UTF-8 character encoding. Check your text +// then retry your request. +// +// - TextSizeLimitExceededException +// The size of the text you submitted exceeds the size limit. Reduce the size +// of the text or use a smaller document and then retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/DetectPHI func (c *ComprehendMedical) DetectPHI(input *DetectPHIInput) (*DetectPHIOutput, error) { @@ -821,14 +821,13 @@ const opInferICD10CM = "InferICD10CM" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InferICD10CMRequest method. +// req, resp := client.InferICD10CMRequest(params) // -// // Example sending a request using the InferICD10CMRequest method. -// req, resp := client.InferICD10CMRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InferICD10CM func (c *ComprehendMedical) InferICD10CMRequest(input *InferICD10CMInput) (req *request.Request, output *InferICD10CMOutput) { @@ -862,29 +861,30 @@ func (c *ComprehendMedical) InferICD10CMRequest(input *InferICD10CMInput) (req * // API operation InferICD10CM for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal server error occurred. Retry your request. // -// * ServiceUnavailableException -// The Comprehend Medical; service is temporarily unavailable. Please wait and -// then retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - ServiceUnavailableException +// The Comprehend Medical; service is temporarily unavailable. Please wait and +// then retry your request. // -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * InvalidEncodingException -// The input text was not in valid UTF-8 character encoding. Check your text -// then retry your request. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * TextSizeLimitExceededException -// The size of the text you submitted exceeds the size limit. Reduce the size -// of the text or use a smaller document and then retry your request. +// - InvalidEncodingException +// The input text was not in valid UTF-8 character encoding. Check your text +// then retry your request. +// +// - TextSizeLimitExceededException +// The size of the text you submitted exceeds the size limit. Reduce the size +// of the text or use a smaller document and then retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InferICD10CM func (c *ComprehendMedical) InferICD10CM(input *InferICD10CMInput) (*InferICD10CMOutput, error) { @@ -924,14 +924,13 @@ const opInferRxNorm = "InferRxNorm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InferRxNormRequest method. +// req, resp := client.InferRxNormRequest(params) // -// // Example sending a request using the InferRxNormRequest method. -// req, resp := client.InferRxNormRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InferRxNorm func (c *ComprehendMedical) InferRxNormRequest(input *InferRxNormInput) (req *request.Request, output *InferRxNormOutput) { @@ -965,29 +964,30 @@ func (c *ComprehendMedical) InferRxNormRequest(input *InferRxNormInput) (req *re // API operation InferRxNorm for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal server error occurred. Retry your request. // -// * ServiceUnavailableException -// The Comprehend Medical; service is temporarily unavailable. Please wait and -// then retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. +// +// - ServiceUnavailableException +// The Comprehend Medical; service is temporarily unavailable. Please wait and +// then retry your request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * InvalidEncodingException -// The input text was not in valid UTF-8 character encoding. Check your text -// then retry your request. +// - InvalidEncodingException +// The input text was not in valid UTF-8 character encoding. Check your text +// then retry your request. // -// * TextSizeLimitExceededException -// The size of the text you submitted exceeds the size limit. Reduce the size -// of the text or use a smaller document and then retry your request. +// - TextSizeLimitExceededException +// The size of the text you submitted exceeds the size limit. Reduce the size +// of the text or use a smaller document and then retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InferRxNorm func (c *ComprehendMedical) InferRxNorm(input *InferRxNormInput) (*InferRxNormOutput, error) { @@ -1027,14 +1027,13 @@ const opInferSNOMEDCT = "InferSNOMEDCT" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InferSNOMEDCTRequest method. +// req, resp := client.InferSNOMEDCTRequest(params) // -// // Example sending a request using the InferSNOMEDCTRequest method. -// req, resp := client.InferSNOMEDCTRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InferSNOMEDCT func (c *ComprehendMedical) InferSNOMEDCTRequest(input *InferSNOMEDCTInput) (req *request.Request, output *InferSNOMEDCTOutput) { @@ -1067,29 +1066,30 @@ func (c *ComprehendMedical) InferSNOMEDCTRequest(input *InferSNOMEDCTInput) (req // API operation InferSNOMEDCT for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal server error occurred. Retry your request. // -// * ServiceUnavailableException -// The Comprehend Medical; service is temporarily unavailable. Please wait and -// then retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. +// +// - ServiceUnavailableException +// The Comprehend Medical; service is temporarily unavailable. Please wait and +// then retry your request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * InvalidEncodingException -// The input text was not in valid UTF-8 character encoding. Check your text -// then retry your request. +// - InvalidEncodingException +// The input text was not in valid UTF-8 character encoding. Check your text +// then retry your request. // -// * TextSizeLimitExceededException -// The size of the text you submitted exceeds the size limit. Reduce the size -// of the text or use a smaller document and then retry your request. +// - TextSizeLimitExceededException +// The size of the text you submitted exceeds the size limit. Reduce the size +// of the text or use a smaller document and then retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InferSNOMEDCT func (c *ComprehendMedical) InferSNOMEDCT(input *InferSNOMEDCTInput) (*InferSNOMEDCTOutput, error) { @@ -1129,14 +1129,13 @@ const opListEntitiesDetectionV2Jobs = "ListEntitiesDetectionV2Jobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEntitiesDetectionV2JobsRequest method. +// req, resp := client.ListEntitiesDetectionV2JobsRequest(params) // -// // Example sending a request using the ListEntitiesDetectionV2JobsRequest method. -// req, resp := client.ListEntitiesDetectionV2JobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListEntitiesDetectionV2Jobs func (c *ComprehendMedical) ListEntitiesDetectionV2JobsRequest(input *ListEntitiesDetectionV2JobsInput) (req *request.Request, output *ListEntitiesDetectionV2JobsOutput) { @@ -1167,21 +1166,22 @@ func (c *ComprehendMedical) ListEntitiesDetectionV2JobsRequest(input *ListEntiti // API operation ListEntitiesDetectionV2Jobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * ValidationException -// The filter that you specified for the operation is invalid. Check the filter -// values that you entered and try your request again. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - ValidationException +// The filter that you specified for the operation is invalid. Check the filter +// values that you entered and try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListEntitiesDetectionV2Jobs func (c *ComprehendMedical) ListEntitiesDetectionV2Jobs(input *ListEntitiesDetectionV2JobsInput) (*ListEntitiesDetectionV2JobsOutput, error) { @@ -1221,14 +1221,13 @@ const opListICD10CMInferenceJobs = "ListICD10CMInferenceJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListICD10CMInferenceJobsRequest method. +// req, resp := client.ListICD10CMInferenceJobsRequest(params) // -// // Example sending a request using the ListICD10CMInferenceJobsRequest method. -// req, resp := client.ListICD10CMInferenceJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListICD10CMInferenceJobs func (c *ComprehendMedical) ListICD10CMInferenceJobsRequest(input *ListICD10CMInferenceJobsInput) (req *request.Request, output *ListICD10CMInferenceJobsOutput) { @@ -1259,21 +1258,22 @@ func (c *ComprehendMedical) ListICD10CMInferenceJobsRequest(input *ListICD10CMIn // API operation ListICD10CMInferenceJobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * ValidationException -// The filter that you specified for the operation is invalid. Check the filter -// values that you entered and try your request again. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. +// +// - ValidationException +// The filter that you specified for the operation is invalid. Check the filter +// values that you entered and try your request again. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListICD10CMInferenceJobs func (c *ComprehendMedical) ListICD10CMInferenceJobs(input *ListICD10CMInferenceJobsInput) (*ListICD10CMInferenceJobsOutput, error) { @@ -1313,14 +1313,13 @@ const opListPHIDetectionJobs = "ListPHIDetectionJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPHIDetectionJobsRequest method. +// req, resp := client.ListPHIDetectionJobsRequest(params) // -// // Example sending a request using the ListPHIDetectionJobsRequest method. -// req, resp := client.ListPHIDetectionJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListPHIDetectionJobs func (c *ComprehendMedical) ListPHIDetectionJobsRequest(input *ListPHIDetectionJobsInput) (req *request.Request, output *ListPHIDetectionJobsOutput) { @@ -1352,21 +1351,22 @@ func (c *ComprehendMedical) ListPHIDetectionJobsRequest(input *ListPHIDetectionJ // API operation ListPHIDetectionJobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * ValidationException -// The filter that you specified for the operation is invalid. Check the filter -// values that you entered and try your request again. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. +// +// - ValidationException +// The filter that you specified for the operation is invalid. Check the filter +// values that you entered and try your request again. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListPHIDetectionJobs func (c *ComprehendMedical) ListPHIDetectionJobs(input *ListPHIDetectionJobsInput) (*ListPHIDetectionJobsOutput, error) { @@ -1406,14 +1406,13 @@ const opListRxNormInferenceJobs = "ListRxNormInferenceJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRxNormInferenceJobsRequest method. +// req, resp := client.ListRxNormInferenceJobsRequest(params) // -// // Example sending a request using the ListRxNormInferenceJobsRequest method. -// req, resp := client.ListRxNormInferenceJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListRxNormInferenceJobs func (c *ComprehendMedical) ListRxNormInferenceJobsRequest(input *ListRxNormInferenceJobsInput) (req *request.Request, output *ListRxNormInferenceJobsOutput) { @@ -1444,21 +1443,22 @@ func (c *ComprehendMedical) ListRxNormInferenceJobsRequest(input *ListRxNormInfe // API operation ListRxNormInferenceJobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * ValidationException -// The filter that you specified for the operation is invalid. Check the filter -// values that you entered and try your request again. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. +// +// - ValidationException +// The filter that you specified for the operation is invalid. Check the filter +// values that you entered and try your request again. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListRxNormInferenceJobs func (c *ComprehendMedical) ListRxNormInferenceJobs(input *ListRxNormInferenceJobsInput) (*ListRxNormInferenceJobsOutput, error) { @@ -1498,14 +1498,13 @@ const opListSNOMEDCTInferenceJobs = "ListSNOMEDCTInferenceJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSNOMEDCTInferenceJobsRequest method. +// req, resp := client.ListSNOMEDCTInferenceJobsRequest(params) // -// // Example sending a request using the ListSNOMEDCTInferenceJobsRequest method. -// req, resp := client.ListSNOMEDCTInferenceJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListSNOMEDCTInferenceJobs func (c *ComprehendMedical) ListSNOMEDCTInferenceJobsRequest(input *ListSNOMEDCTInferenceJobsInput) (req *request.Request, output *ListSNOMEDCTInferenceJobsOutput) { @@ -1536,21 +1535,22 @@ func (c *ComprehendMedical) ListSNOMEDCTInferenceJobsRequest(input *ListSNOMEDCT // API operation ListSNOMEDCTInferenceJobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * ValidationException -// The filter that you specified for the operation is invalid. Check the filter -// values that you entered and try your request again. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. +// +// - ValidationException +// The filter that you specified for the operation is invalid. Check the filter +// values that you entered and try your request again. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ListSNOMEDCTInferenceJobs func (c *ComprehendMedical) ListSNOMEDCTInferenceJobs(input *ListSNOMEDCTInferenceJobsInput) (*ListSNOMEDCTInferenceJobsOutput, error) { @@ -1590,14 +1590,13 @@ const opStartEntitiesDetectionV2Job = "StartEntitiesDetectionV2Job" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartEntitiesDetectionV2JobRequest method. +// req, resp := client.StartEntitiesDetectionV2JobRequest(params) // -// // Example sending a request using the StartEntitiesDetectionV2JobRequest method. -// req, resp := client.StartEntitiesDetectionV2JobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartEntitiesDetectionV2Job func (c *ComprehendMedical) StartEntitiesDetectionV2JobRequest(input *StartEntitiesDetectionV2JobInput) (req *request.Request, output *StartEntitiesDetectionV2JobOutput) { @@ -1630,21 +1629,22 @@ func (c *ComprehendMedical) StartEntitiesDetectionV2JobRequest(input *StartEntit // API operation StartEntitiesDetectionV2Job for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * ResourceNotFoundException -// The resource identified by the specified Amazon Resource Name (ARN) was not -// found. Check the ARN and try your request again. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - ResourceNotFoundException +// The resource identified by the specified Amazon Resource Name (ARN) was not +// found. Check the ARN and try your request again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartEntitiesDetectionV2Job func (c *ComprehendMedical) StartEntitiesDetectionV2Job(input *StartEntitiesDetectionV2JobInput) (*StartEntitiesDetectionV2JobOutput, error) { @@ -1684,14 +1684,13 @@ const opStartICD10CMInferenceJob = "StartICD10CMInferenceJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartICD10CMInferenceJobRequest method. +// req, resp := client.StartICD10CMInferenceJobRequest(params) // -// // Example sending a request using the StartICD10CMInferenceJobRequest method. -// req, resp := client.StartICD10CMInferenceJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartICD10CMInferenceJob func (c *ComprehendMedical) StartICD10CMInferenceJobRequest(input *StartICD10CMInferenceJobInput) (req *request.Request, output *StartICD10CMInferenceJobOutput) { @@ -1724,21 +1723,22 @@ func (c *ComprehendMedical) StartICD10CMInferenceJobRequest(input *StartICD10CMI // API operation StartICD10CMInferenceJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. +// +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * ResourceNotFoundException -// The resource identified by the specified Amazon Resource Name (ARN) was not -// found. Check the ARN and try your request again. +// - ResourceNotFoundException +// The resource identified by the specified Amazon Resource Name (ARN) was not +// found. Check the ARN and try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartICD10CMInferenceJob func (c *ComprehendMedical) StartICD10CMInferenceJob(input *StartICD10CMInferenceJobInput) (*StartICD10CMInferenceJobOutput, error) { @@ -1778,14 +1778,13 @@ const opStartPHIDetectionJob = "StartPHIDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartPHIDetectionJobRequest method. +// req, resp := client.StartPHIDetectionJobRequest(params) // -// // Example sending a request using the StartPHIDetectionJobRequest method. -// req, resp := client.StartPHIDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartPHIDetectionJob func (c *ComprehendMedical) StartPHIDetectionJobRequest(input *StartPHIDetectionJobInput) (req *request.Request, output *StartPHIDetectionJobOutput) { @@ -1817,21 +1816,22 @@ func (c *ComprehendMedical) StartPHIDetectionJobRequest(input *StartPHIDetection // API operation StartPHIDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. +// +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * ResourceNotFoundException -// The resource identified by the specified Amazon Resource Name (ARN) was not -// found. Check the ARN and try your request again. +// - ResourceNotFoundException +// The resource identified by the specified Amazon Resource Name (ARN) was not +// found. Check the ARN and try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartPHIDetectionJob func (c *ComprehendMedical) StartPHIDetectionJob(input *StartPHIDetectionJobInput) (*StartPHIDetectionJobOutput, error) { @@ -1871,14 +1871,13 @@ const opStartRxNormInferenceJob = "StartRxNormInferenceJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartRxNormInferenceJobRequest method. +// req, resp := client.StartRxNormInferenceJobRequest(params) // -// // Example sending a request using the StartRxNormInferenceJobRequest method. -// req, resp := client.StartRxNormInferenceJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartRxNormInferenceJob func (c *ComprehendMedical) StartRxNormInferenceJobRequest(input *StartRxNormInferenceJobInput) (req *request.Request, output *StartRxNormInferenceJobOutput) { @@ -1911,21 +1910,22 @@ func (c *ComprehendMedical) StartRxNormInferenceJobRequest(input *StartRxNormInf // API operation StartRxNormInferenceJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * ResourceNotFoundException -// The resource identified by the specified Amazon Resource Name (ARN) was not -// found. Check the ARN and try your request again. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - ResourceNotFoundException +// The resource identified by the specified Amazon Resource Name (ARN) was not +// found. Check the ARN and try your request again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartRxNormInferenceJob func (c *ComprehendMedical) StartRxNormInferenceJob(input *StartRxNormInferenceJobInput) (*StartRxNormInferenceJobOutput, error) { @@ -1965,14 +1965,13 @@ const opStartSNOMEDCTInferenceJob = "StartSNOMEDCTInferenceJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartSNOMEDCTInferenceJobRequest method. +// req, resp := client.StartSNOMEDCTInferenceJobRequest(params) // -// // Example sending a request using the StartSNOMEDCTInferenceJobRequest method. -// req, resp := client.StartSNOMEDCTInferenceJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartSNOMEDCTInferenceJob func (c *ComprehendMedical) StartSNOMEDCTInferenceJobRequest(input *StartSNOMEDCTInferenceJobInput) (req *request.Request, output *StartSNOMEDCTInferenceJobOutput) { @@ -2005,21 +2004,22 @@ func (c *ComprehendMedical) StartSNOMEDCTInferenceJobRequest(input *StartSNOMEDC // API operation StartSNOMEDCTInferenceJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * ResourceNotFoundException -// The resource identified by the specified Amazon Resource Name (ARN) was not -// found. Check the ARN and try your request again. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - ResourceNotFoundException +// The resource identified by the specified Amazon Resource Name (ARN) was not +// found. Check the ARN and try your request again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StartSNOMEDCTInferenceJob func (c *ComprehendMedical) StartSNOMEDCTInferenceJob(input *StartSNOMEDCTInferenceJobInput) (*StartSNOMEDCTInferenceJobOutput, error) { @@ -2059,14 +2059,13 @@ const opStopEntitiesDetectionV2Job = "StopEntitiesDetectionV2Job" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopEntitiesDetectionV2JobRequest method. +// req, resp := client.StopEntitiesDetectionV2JobRequest(params) // -// // Example sending a request using the StopEntitiesDetectionV2JobRequest method. -// req, resp := client.StopEntitiesDetectionV2JobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopEntitiesDetectionV2Job func (c *ComprehendMedical) StopEntitiesDetectionV2JobRequest(input *StopEntitiesDetectionV2JobInput) (req *request.Request, output *StopEntitiesDetectionV2JobOutput) { @@ -2097,16 +2096,17 @@ func (c *ComprehendMedical) StopEntitiesDetectionV2JobRequest(input *StopEntitie // API operation StopEntitiesDetectionV2Job for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * ResourceNotFoundException -// The resource identified by the specified Amazon Resource Name (ARN) was not -// found. Check the ARN and try your request again. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - ResourceNotFoundException +// The resource identified by the specified Amazon Resource Name (ARN) was not +// found. Check the ARN and try your request again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopEntitiesDetectionV2Job func (c *ComprehendMedical) StopEntitiesDetectionV2Job(input *StopEntitiesDetectionV2JobInput) (*StopEntitiesDetectionV2JobOutput, error) { @@ -2146,14 +2146,13 @@ const opStopICD10CMInferenceJob = "StopICD10CMInferenceJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopICD10CMInferenceJobRequest method. +// req, resp := client.StopICD10CMInferenceJobRequest(params) // -// // Example sending a request using the StopICD10CMInferenceJobRequest method. -// req, resp := client.StopICD10CMInferenceJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopICD10CMInferenceJob func (c *ComprehendMedical) StopICD10CMInferenceJobRequest(input *StopICD10CMInferenceJobInput) (req *request.Request, output *StopICD10CMInferenceJobOutput) { @@ -2184,16 +2183,17 @@ func (c *ComprehendMedical) StopICD10CMInferenceJobRequest(input *StopICD10CMInf // API operation StopICD10CMInferenceJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * ResourceNotFoundException -// The resource identified by the specified Amazon Resource Name (ARN) was not -// found. Check the ARN and try your request again. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. +// +// - ResourceNotFoundException +// The resource identified by the specified Amazon Resource Name (ARN) was not +// found. Check the ARN and try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopICD10CMInferenceJob func (c *ComprehendMedical) StopICD10CMInferenceJob(input *StopICD10CMInferenceJobInput) (*StopICD10CMInferenceJobOutput, error) { @@ -2233,14 +2233,13 @@ const opStopPHIDetectionJob = "StopPHIDetectionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopPHIDetectionJobRequest method. +// req, resp := client.StopPHIDetectionJobRequest(params) // -// // Example sending a request using the StopPHIDetectionJobRequest method. -// req, resp := client.StopPHIDetectionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopPHIDetectionJob func (c *ComprehendMedical) StopPHIDetectionJobRequest(input *StopPHIDetectionJobInput) (req *request.Request, output *StopPHIDetectionJobOutput) { @@ -2271,16 +2270,17 @@ func (c *ComprehendMedical) StopPHIDetectionJobRequest(input *StopPHIDetectionJo // API operation StopPHIDetectionJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * ResourceNotFoundException -// The resource identified by the specified Amazon Resource Name (ARN) was not -// found. Check the ARN and try your request again. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. +// +// - ResourceNotFoundException +// The resource identified by the specified Amazon Resource Name (ARN) was not +// found. Check the ARN and try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopPHIDetectionJob func (c *ComprehendMedical) StopPHIDetectionJob(input *StopPHIDetectionJobInput) (*StopPHIDetectionJobOutput, error) { @@ -2320,14 +2320,13 @@ const opStopRxNormInferenceJob = "StopRxNormInferenceJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopRxNormInferenceJobRequest method. +// req, resp := client.StopRxNormInferenceJobRequest(params) // -// // Example sending a request using the StopRxNormInferenceJobRequest method. -// req, resp := client.StopRxNormInferenceJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopRxNormInferenceJob func (c *ComprehendMedical) StopRxNormInferenceJobRequest(input *StopRxNormInferenceJobInput) (req *request.Request, output *StopRxNormInferenceJobOutput) { @@ -2358,16 +2357,17 @@ func (c *ComprehendMedical) StopRxNormInferenceJobRequest(input *StopRxNormInfer // API operation StopRxNormInferenceJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * ResourceNotFoundException -// The resource identified by the specified Amazon Resource Name (ARN) was not -// found. Check the ARN and try your request again. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - ResourceNotFoundException +// The resource identified by the specified Amazon Resource Name (ARN) was not +// found. Check the ARN and try your request again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopRxNormInferenceJob func (c *ComprehendMedical) StopRxNormInferenceJob(input *StopRxNormInferenceJobInput) (*StopRxNormInferenceJobOutput, error) { @@ -2407,14 +2407,13 @@ const opStopSNOMEDCTInferenceJob = "StopSNOMEDCTInferenceJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopSNOMEDCTInferenceJobRequest method. +// req, resp := client.StopSNOMEDCTInferenceJobRequest(params) // -// // Example sending a request using the StopSNOMEDCTInferenceJobRequest method. -// req, resp := client.StopSNOMEDCTInferenceJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopSNOMEDCTInferenceJob func (c *ComprehendMedical) StopSNOMEDCTInferenceJobRequest(input *StopSNOMEDCTInferenceJobInput) (req *request.Request, output *StopSNOMEDCTInferenceJobOutput) { @@ -2445,21 +2444,22 @@ func (c *ComprehendMedical) StopSNOMEDCTInferenceJobRequest(input *StopSNOMEDCTI // API operation StopSNOMEDCTInferenceJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * ResourceNotFoundException -// The resource identified by the specified Amazon Resource Name (ARN) was not -// found. Check the ARN and try your request again. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. +// +// - ResourceNotFoundException +// The resource identified by the specified Amazon Resource Name (ARN) was not +// found. Check the ARN and try your request again. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. Contact customer support for -// more information about a service limit increase. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. Contact customer support for +// more information about a service limit increase. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/StopSNOMEDCTInferenceJob func (c *ComprehendMedical) StopSNOMEDCTInferenceJob(input *StopSNOMEDCTInferenceJobInput) (*StopSNOMEDCTInferenceJobOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/comprehendmedicaliface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/comprehendmedicaliface/interface.go index 3c30e6808d44..4d15316537eb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/comprehendmedicaliface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/comprehendmedicaliface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Comprehend Medical. -// func myFunc(svc comprehendmedicaliface.ComprehendMedicalAPI) bool { -// // Make svc.DescribeEntitiesDetectionV2Job request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Comprehend Medical. +// func myFunc(svc comprehendmedicaliface.ComprehendMedicalAPI) bool { +// // Make svc.DescribeEntitiesDetectionV2Job request +// } // -// func main() { -// sess := session.New() -// svc := comprehendmedical.New(sess) +// func main() { +// sess := session.New() +// svc := comprehendmedical.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockComprehendMedicalClient struct { -// comprehendmedicaliface.ComprehendMedicalAPI -// } -// func (m *mockComprehendMedicalClient) DescribeEntitiesDetectionV2Job(input *comprehendmedical.DescribeEntitiesDetectionV2JobInput) (*comprehendmedical.DescribeEntitiesDetectionV2JobOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockComprehendMedicalClient struct { +// comprehendmedicaliface.ComprehendMedicalAPI +// } +// func (m *mockComprehendMedicalClient) DescribeEntitiesDetectionV2Job(input *comprehendmedical.DescribeEntitiesDetectionV2JobInput) (*comprehendmedical.DescribeEntitiesDetectionV2JobOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockComprehendMedicalClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockComprehendMedicalClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/doc.go index 7ce408028232..75121bddfcc0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/doc.go @@ -11,7 +11,7 @@ // See comprehendmedical package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/comprehendmedical/ // -// Using the Client +// # Using the Client // // To contact AWS Comprehend Medical with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/service.go index c5895b967a56..d7f6e0aa1a50 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/comprehendmedical/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ComprehendMedical client from just a session. -// svc := comprehendmedical.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ComprehendMedical client with additional configuration -// svc := comprehendmedical.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ComprehendMedical client from just a session. +// svc := comprehendmedical.New(mySession) +// +// // Create a ComprehendMedical client with additional configuration +// svc := comprehendmedical.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ComprehendMedical { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/api.go index 6b3f2d38b0f1..d8f236221178 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/api.go @@ -29,14 +29,13 @@ const opDeleteRecommendationPreferences = "DeleteRecommendationPreferences" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRecommendationPreferencesRequest method. +// req, resp := client.DeleteRecommendationPreferencesRequest(params) // -// // Example sending a request using the DeleteRecommendationPreferencesRequest method. -// req, resp := client.DeleteRecommendationPreferencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/DeleteRecommendationPreferences func (c *ComputeOptimizer) DeleteRecommendationPreferencesRequest(input *DeleteRecommendationPreferencesInput) (req *request.Request, output *DeleteRecommendationPreferencesOutput) { @@ -71,30 +70,31 @@ func (c *ComputeOptimizer) DeleteRecommendationPreferencesRequest(input *DeleteR // API operation DeleteRecommendationPreferences for usage and error information. // // Returned Error Types: -// * OptInRequiredException -// The account is not opted in to Compute Optimizer. // -// * InternalServerException -// An internal error has occurred. Try your call again. +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. +// +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/DeleteRecommendationPreferences func (c *ComputeOptimizer) DeleteRecommendationPreferences(input *DeleteRecommendationPreferencesInput) (*DeleteRecommendationPreferencesOutput, error) { @@ -134,14 +134,13 @@ const opDescribeRecommendationExportJobs = "DescribeRecommendationExportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRecommendationExportJobsRequest method. +// req, resp := client.DescribeRecommendationExportJobsRequest(params) // -// // Example sending a request using the DescribeRecommendationExportJobsRequest method. -// req, resp := client.DescribeRecommendationExportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/DescribeRecommendationExportJobs func (c *ComputeOptimizer) DescribeRecommendationExportJobsRequest(input *DescribeRecommendationExportJobsInput) (req *request.Request, output *DescribeRecommendationExportJobsOutput) { @@ -176,30 +175,31 @@ func (c *ComputeOptimizer) DescribeRecommendationExportJobsRequest(input *Descri // API operation DescribeRecommendationExportJobs for usage and error information. // // Returned Error Types: -// * OptInRequiredException -// The account is not opted in to Compute Optimizer. // -// * InternalServerException -// An internal error has occurred. Try your call again. +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * ThrottlingException -// The request was denied due to request throttling. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/DescribeRecommendationExportJobs func (c *ComputeOptimizer) DescribeRecommendationExportJobs(input *DescribeRecommendationExportJobsInput) (*DescribeRecommendationExportJobsOutput, error) { @@ -239,14 +239,13 @@ const opExportAutoScalingGroupRecommendations = "ExportAutoScalingGroupRecommend // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportAutoScalingGroupRecommendationsRequest method. +// req, resp := client.ExportAutoScalingGroupRecommendationsRequest(params) // -// // Example sending a request using the ExportAutoScalingGroupRecommendationsRequest method. -// req, resp := client.ExportAutoScalingGroupRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportAutoScalingGroupRecommendations func (c *ComputeOptimizer) ExportAutoScalingGroupRecommendationsRequest(input *ExportAutoScalingGroupRecommendationsInput) (req *request.Request, output *ExportAutoScalingGroupRecommendationsOutput) { @@ -286,30 +285,31 @@ func (c *ComputeOptimizer) ExportAutoScalingGroupRecommendationsRequest(input *E // API operation ExportAutoScalingGroupRecommendations for usage and error information. // // Returned Error Types: -// * OptInRequiredException -// The account is not opted in to Compute Optimizer. // -// * InternalServerException -// An internal error has occurred. Try your call again. +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // -// * LimitExceededException -// The request exceeds a limit of the service. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - LimitExceededException +// The request exceeds a limit of the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportAutoScalingGroupRecommendations func (c *ComputeOptimizer) ExportAutoScalingGroupRecommendations(input *ExportAutoScalingGroupRecommendationsInput) (*ExportAutoScalingGroupRecommendationsOutput, error) { @@ -349,14 +349,13 @@ const opExportEBSVolumeRecommendations = "ExportEBSVolumeRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportEBSVolumeRecommendationsRequest method. +// req, resp := client.ExportEBSVolumeRecommendationsRequest(params) // -// // Example sending a request using the ExportEBSVolumeRecommendationsRequest method. -// req, resp := client.ExportEBSVolumeRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportEBSVolumeRecommendations func (c *ComputeOptimizer) ExportEBSVolumeRecommendationsRequest(input *ExportEBSVolumeRecommendationsInput) (req *request.Request, output *ExportEBSVolumeRecommendationsOutput) { @@ -396,30 +395,31 @@ func (c *ComputeOptimizer) ExportEBSVolumeRecommendationsRequest(input *ExportEB // API operation ExportEBSVolumeRecommendations for usage and error information. // // Returned Error Types: -// * OptInRequiredException -// The account is not opted in to Compute Optimizer. // -// * InternalServerException -// An internal error has occurred. Try your call again. +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // -// * LimitExceededException -// The request exceeds a limit of the service. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - LimitExceededException +// The request exceeds a limit of the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportEBSVolumeRecommendations func (c *ComputeOptimizer) ExportEBSVolumeRecommendations(input *ExportEBSVolumeRecommendationsInput) (*ExportEBSVolumeRecommendationsOutput, error) { @@ -459,14 +459,13 @@ const opExportEC2InstanceRecommendations = "ExportEC2InstanceRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportEC2InstanceRecommendationsRequest method. +// req, resp := client.ExportEC2InstanceRecommendationsRequest(params) // -// // Example sending a request using the ExportEC2InstanceRecommendationsRequest method. -// req, resp := client.ExportEC2InstanceRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportEC2InstanceRecommendations func (c *ComputeOptimizer) ExportEC2InstanceRecommendationsRequest(input *ExportEC2InstanceRecommendationsInput) (req *request.Request, output *ExportEC2InstanceRecommendationsOutput) { @@ -506,30 +505,31 @@ func (c *ComputeOptimizer) ExportEC2InstanceRecommendationsRequest(input *Export // API operation ExportEC2InstanceRecommendations for usage and error information. // // Returned Error Types: -// * OptInRequiredException -// The account is not opted in to Compute Optimizer. // -// * InternalServerException -// An internal error has occurred. Try your call again. +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // -// * LimitExceededException -// The request exceeds a limit of the service. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - LimitExceededException +// The request exceeds a limit of the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportEC2InstanceRecommendations func (c *ComputeOptimizer) ExportEC2InstanceRecommendations(input *ExportEC2InstanceRecommendationsInput) (*ExportEC2InstanceRecommendationsOutput, error) { @@ -569,14 +569,13 @@ const opExportLambdaFunctionRecommendations = "ExportLambdaFunctionRecommendatio // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportLambdaFunctionRecommendationsRequest method. +// req, resp := client.ExportLambdaFunctionRecommendationsRequest(params) // -// // Example sending a request using the ExportLambdaFunctionRecommendationsRequest method. -// req, resp := client.ExportLambdaFunctionRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportLambdaFunctionRecommendations func (c *ComputeOptimizer) ExportLambdaFunctionRecommendationsRequest(input *ExportLambdaFunctionRecommendationsInput) (req *request.Request, output *ExportLambdaFunctionRecommendationsOutput) { @@ -616,30 +615,31 @@ func (c *ComputeOptimizer) ExportLambdaFunctionRecommendationsRequest(input *Exp // API operation ExportLambdaFunctionRecommendations for usage and error information. // // Returned Error Types: -// * OptInRequiredException -// The account is not opted in to Compute Optimizer. // -// * InternalServerException -// An internal error has occurred. Try your call again. +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. +// +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * LimitExceededException -// The request exceeds a limit of the service. +// - LimitExceededException +// The request exceeds a limit of the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/ExportLambdaFunctionRecommendations func (c *ComputeOptimizer) ExportLambdaFunctionRecommendations(input *ExportLambdaFunctionRecommendationsInput) (*ExportLambdaFunctionRecommendationsOutput, error) { @@ -679,14 +679,13 @@ const opGetAutoScalingGroupRecommendations = "GetAutoScalingGroupRecommendations // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAutoScalingGroupRecommendationsRequest method. +// req, resp := client.GetAutoScalingGroupRecommendationsRequest(params) // -// // Example sending a request using the GetAutoScalingGroupRecommendationsRequest method. -// req, resp := client.GetAutoScalingGroupRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetAutoScalingGroupRecommendations func (c *ComputeOptimizer) GetAutoScalingGroupRecommendationsRequest(input *GetAutoScalingGroupRecommendationsInput) (req *request.Request, output *GetAutoScalingGroupRecommendationsOutput) { @@ -722,30 +721,31 @@ func (c *ComputeOptimizer) GetAutoScalingGroupRecommendationsRequest(input *GetA // API operation GetAutoScalingGroupRecommendations for usage and error information. // // Returned Error Types: -// * OptInRequiredException -// The account is not opted in to Compute Optimizer. // -// * InternalServerException -// An internal error has occurred. Try your call again. +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. +// +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetAutoScalingGroupRecommendations func (c *ComputeOptimizer) GetAutoScalingGroupRecommendations(input *GetAutoScalingGroupRecommendationsInput) (*GetAutoScalingGroupRecommendationsOutput, error) { @@ -785,14 +785,13 @@ const opGetEBSVolumeRecommendations = "GetEBSVolumeRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEBSVolumeRecommendationsRequest method. +// req, resp := client.GetEBSVolumeRecommendationsRequest(params) // -// // Example sending a request using the GetEBSVolumeRecommendationsRequest method. -// req, resp := client.GetEBSVolumeRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEBSVolumeRecommendations func (c *ComputeOptimizer) GetEBSVolumeRecommendationsRequest(input *GetEBSVolumeRecommendationsInput) (req *request.Request, output *GetEBSVolumeRecommendationsOutput) { @@ -828,30 +827,31 @@ func (c *ComputeOptimizer) GetEBSVolumeRecommendationsRequest(input *GetEBSVolum // API operation GetEBSVolumeRecommendations for usage and error information. // // Returned Error Types: -// * OptInRequiredException -// The account is not opted in to Compute Optimizer. // -// * InternalServerException -// An internal error has occurred. Try your call again. +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. +// +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEBSVolumeRecommendations func (c *ComputeOptimizer) GetEBSVolumeRecommendations(input *GetEBSVolumeRecommendationsInput) (*GetEBSVolumeRecommendationsOutput, error) { @@ -891,14 +891,13 @@ const opGetEC2InstanceRecommendations = "GetEC2InstanceRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEC2InstanceRecommendationsRequest method. +// req, resp := client.GetEC2InstanceRecommendationsRequest(params) // -// // Example sending a request using the GetEC2InstanceRecommendationsRequest method. -// req, resp := client.GetEC2InstanceRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEC2InstanceRecommendations func (c *ComputeOptimizer) GetEC2InstanceRecommendationsRequest(input *GetEC2InstanceRecommendationsInput) (req *request.Request, output *GetEC2InstanceRecommendationsOutput) { @@ -934,30 +933,31 @@ func (c *ComputeOptimizer) GetEC2InstanceRecommendationsRequest(input *GetEC2Ins // API operation GetEC2InstanceRecommendations for usage and error information. // // Returned Error Types: -// * OptInRequiredException -// The account is not opted in to Compute Optimizer. // -// * InternalServerException -// An internal error has occurred. Try your call again. +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. +// +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEC2InstanceRecommendations func (c *ComputeOptimizer) GetEC2InstanceRecommendations(input *GetEC2InstanceRecommendationsInput) (*GetEC2InstanceRecommendationsOutput, error) { @@ -997,14 +997,13 @@ const opGetEC2RecommendationProjectedMetrics = "GetEC2RecommendationProjectedMet // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEC2RecommendationProjectedMetricsRequest method. +// req, resp := client.GetEC2RecommendationProjectedMetricsRequest(params) // -// // Example sending a request using the GetEC2RecommendationProjectedMetricsRequest method. -// req, resp := client.GetEC2RecommendationProjectedMetricsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEC2RecommendationProjectedMetrics func (c *ComputeOptimizer) GetEC2RecommendationProjectedMetricsRequest(input *GetEC2RecommendationProjectedMetricsInput) (req *request.Request, output *GetEC2RecommendationProjectedMetricsOutput) { @@ -1041,30 +1040,31 @@ func (c *ComputeOptimizer) GetEC2RecommendationProjectedMetricsRequest(input *Ge // API operation GetEC2RecommendationProjectedMetrics for usage and error information. // // Returned Error Types: -// * OptInRequiredException -// The account is not opted in to Compute Optimizer. // -// * InternalServerException -// An internal error has occurred. Try your call again. +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. +// +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEC2RecommendationProjectedMetrics func (c *ComputeOptimizer) GetEC2RecommendationProjectedMetrics(input *GetEC2RecommendationProjectedMetricsInput) (*GetEC2RecommendationProjectedMetricsOutput, error) { @@ -1104,14 +1104,13 @@ const opGetEffectiveRecommendationPreferences = "GetEffectiveRecommendationPrefe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEffectiveRecommendationPreferencesRequest method. +// req, resp := client.GetEffectiveRecommendationPreferencesRequest(params) // -// // Example sending a request using the GetEffectiveRecommendationPreferencesRequest method. -// req, resp := client.GetEffectiveRecommendationPreferencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEffectiveRecommendationPreferences func (c *ComputeOptimizer) GetEffectiveRecommendationPreferencesRequest(input *GetEffectiveRecommendationPreferencesInput) (req *request.Request, output *GetEffectiveRecommendationPreferencesOutput) { @@ -1148,30 +1147,31 @@ func (c *ComputeOptimizer) GetEffectiveRecommendationPreferencesRequest(input *G // API operation GetEffectiveRecommendationPreferences for usage and error information. // // Returned Error Types: -// * OptInRequiredException -// The account is not opted in to Compute Optimizer. // -// * InternalServerException -// An internal error has occurred. Try your call again. +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * ThrottlingException -// The request was denied due to request throttling. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEffectiveRecommendationPreferences func (c *ComputeOptimizer) GetEffectiveRecommendationPreferences(input *GetEffectiveRecommendationPreferencesInput) (*GetEffectiveRecommendationPreferencesOutput, error) { @@ -1211,14 +1211,13 @@ const opGetEnrollmentStatus = "GetEnrollmentStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEnrollmentStatusRequest method. +// req, resp := client.GetEnrollmentStatusRequest(params) // -// // Example sending a request using the GetEnrollmentStatusRequest method. -// req, resp := client.GetEnrollmentStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEnrollmentStatus func (c *ComputeOptimizer) GetEnrollmentStatusRequest(input *GetEnrollmentStatusInput) (req *request.Request, output *GetEnrollmentStatusOutput) { @@ -1255,24 +1254,25 @@ func (c *ComputeOptimizer) GetEnrollmentStatusRequest(input *GetEnrollmentStatus // API operation GetEnrollmentStatus for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal error has occurred. Try your call again. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEnrollmentStatus func (c *ComputeOptimizer) GetEnrollmentStatus(input *GetEnrollmentStatusInput) (*GetEnrollmentStatusOutput, error) { @@ -1312,14 +1312,13 @@ const opGetEnrollmentStatusesForOrganization = "GetEnrollmentStatusesForOrganiza // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEnrollmentStatusesForOrganizationRequest method. +// req, resp := client.GetEnrollmentStatusesForOrganizationRequest(params) // -// // Example sending a request using the GetEnrollmentStatusesForOrganizationRequest method. -// req, resp := client.GetEnrollmentStatusesForOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEnrollmentStatusesForOrganization func (c *ComputeOptimizer) GetEnrollmentStatusesForOrganizationRequest(input *GetEnrollmentStatusesForOrganizationInput) (req *request.Request, output *GetEnrollmentStatusesForOrganizationOutput) { @@ -1354,24 +1353,25 @@ func (c *ComputeOptimizer) GetEnrollmentStatusesForOrganizationRequest(input *Ge // API operation GetEnrollmentStatusesForOrganization for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal error has occurred. Try your call again. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetEnrollmentStatusesForOrganization func (c *ComputeOptimizer) GetEnrollmentStatusesForOrganization(input *GetEnrollmentStatusesForOrganizationInput) (*GetEnrollmentStatusesForOrganizationOutput, error) { @@ -1411,14 +1411,13 @@ const opGetLambdaFunctionRecommendations = "GetLambdaFunctionRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLambdaFunctionRecommendationsRequest method. +// req, resp := client.GetLambdaFunctionRecommendationsRequest(params) // -// // Example sending a request using the GetLambdaFunctionRecommendationsRequest method. -// req, resp := client.GetLambdaFunctionRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetLambdaFunctionRecommendations func (c *ComputeOptimizer) GetLambdaFunctionRecommendationsRequest(input *GetLambdaFunctionRecommendationsInput) (req *request.Request, output *GetLambdaFunctionRecommendationsOutput) { @@ -1454,30 +1453,31 @@ func (c *ComputeOptimizer) GetLambdaFunctionRecommendationsRequest(input *GetLam // API operation GetLambdaFunctionRecommendations for usage and error information. // // Returned Error Types: -// * OptInRequiredException -// The account is not opted in to Compute Optimizer. // -// * InternalServerException -// An internal error has occurred. Try your call again. +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * ThrottlingException -// The request was denied due to request throttling. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // -// * LimitExceededException -// The request exceeds a limit of the service. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - LimitExceededException +// The request exceeds a limit of the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetLambdaFunctionRecommendations func (c *ComputeOptimizer) GetLambdaFunctionRecommendations(input *GetLambdaFunctionRecommendationsInput) (*GetLambdaFunctionRecommendationsOutput, error) { @@ -1517,14 +1517,13 @@ const opGetRecommendationPreferences = "GetRecommendationPreferences" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRecommendationPreferencesRequest method. +// req, resp := client.GetRecommendationPreferencesRequest(params) // -// // Example sending a request using the GetRecommendationPreferencesRequest method. -// req, resp := client.GetRecommendationPreferencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRecommendationPreferences func (c *ComputeOptimizer) GetRecommendationPreferencesRequest(input *GetRecommendationPreferencesInput) (req *request.Request, output *GetRecommendationPreferencesOutput) { @@ -1563,30 +1562,31 @@ func (c *ComputeOptimizer) GetRecommendationPreferencesRequest(input *GetRecomme // API operation GetRecommendationPreferences for usage and error information. // // Returned Error Types: -// * OptInRequiredException -// The account is not opted in to Compute Optimizer. // -// * InternalServerException -// An internal error has occurred. Try your call again. +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. +// +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRecommendationPreferences func (c *ComputeOptimizer) GetRecommendationPreferences(input *GetRecommendationPreferencesInput) (*GetRecommendationPreferencesOutput, error) { @@ -1626,14 +1626,13 @@ const opGetRecommendationSummaries = "GetRecommendationSummaries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRecommendationSummariesRequest method. +// req, resp := client.GetRecommendationSummariesRequest(params) // -// // Example sending a request using the GetRecommendationSummariesRequest method. -// req, resp := client.GetRecommendationSummariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRecommendationSummaries func (c *ComputeOptimizer) GetRecommendationSummariesRequest(input *GetRecommendationSummariesInput) (req *request.Request, output *GetRecommendationSummariesOutput) { @@ -1658,14 +1657,14 @@ func (c *ComputeOptimizer) GetRecommendationSummariesRequest(input *GetRecommend // // It returns the number of: // -// * Amazon EC2 instances in an account that are Underprovisioned, Overprovisioned, -// or Optimized. +// - Amazon EC2 instances in an account that are Underprovisioned, Overprovisioned, +// or Optimized. // -// * Auto Scaling groups in an account that are NotOptimized, or Optimized. +// - Auto Scaling groups in an account that are NotOptimized, or Optimized. // -// * Amazon EBS volumes in an account that are NotOptimized, or Optimized. +// - Amazon EBS volumes in an account that are NotOptimized, or Optimized. // -// * Lambda functions in an account that are NotOptimized, or Optimized. +// - Lambda functions in an account that are NotOptimized, or Optimized. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1675,27 +1674,28 @@ func (c *ComputeOptimizer) GetRecommendationSummariesRequest(input *GetRecommend // API operation GetRecommendationSummaries for usage and error information. // // Returned Error Types: -// * OptInRequiredException -// The account is not opted in to Compute Optimizer. // -// * InternalServerException -// An internal error has occurred. Try your call again. +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. +// +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/GetRecommendationSummaries func (c *ComputeOptimizer) GetRecommendationSummaries(input *GetRecommendationSummariesInput) (*GetRecommendationSummariesOutput, error) { @@ -1735,14 +1735,13 @@ const opPutRecommendationPreferences = "PutRecommendationPreferences" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRecommendationPreferencesRequest method. +// req, resp := client.PutRecommendationPreferencesRequest(params) // -// // Example sending a request using the PutRecommendationPreferencesRequest method. -// req, resp := client.PutRecommendationPreferencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/PutRecommendationPreferences func (c *ComputeOptimizer) PutRecommendationPreferencesRequest(input *PutRecommendationPreferencesInput) (req *request.Request, output *PutRecommendationPreferencesOutput) { @@ -1778,30 +1777,31 @@ func (c *ComputeOptimizer) PutRecommendationPreferencesRequest(input *PutRecomme // API operation PutRecommendationPreferences for usage and error information. // // Returned Error Types: -// * OptInRequiredException -// The account is not opted in to Compute Optimizer. // -// * InternalServerException -// An internal error has occurred. Try your call again. +// - OptInRequiredException +// The account is not opted in to Compute Optimizer. +// +// - InternalServerException +// An internal error has occurred. Try your call again. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * ResourceNotFoundException -// A resource that is required for the action doesn't exist. +// - ResourceNotFoundException +// A resource that is required for the action doesn't exist. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/PutRecommendationPreferences func (c *ComputeOptimizer) PutRecommendationPreferences(input *PutRecommendationPreferencesInput) (*PutRecommendationPreferencesOutput, error) { @@ -1841,14 +1841,13 @@ const opUpdateEnrollmentStatus = "UpdateEnrollmentStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEnrollmentStatusRequest method. +// req, resp := client.UpdateEnrollmentStatusRequest(params) // -// // Example sending a request using the UpdateEnrollmentStatusRequest method. -// req, resp := client.UpdateEnrollmentStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/UpdateEnrollmentStatus func (c *ComputeOptimizer) UpdateEnrollmentStatusRequest(input *UpdateEnrollmentStatusInput) (req *request.Request, output *UpdateEnrollmentStatusOutput) { @@ -1893,24 +1892,25 @@ func (c *ComputeOptimizer) UpdateEnrollmentStatusRequest(input *UpdateEnrollment // API operation UpdateEnrollmentStatus for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal error has occurred. Try your call again. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - InternalServerException +// An internal error has occurred. Try your call again. +// +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InvalidParameterValueException -// The value supplied for the input parameter is out of range or not valid. +// - InvalidParameterValueException +// The value supplied for the input parameter is out of range or not valid. // -// * MissingAuthenticationToken -// The request must contain either a valid (registered) Amazon Web Services -// access key ID or X.509 certificate. +// - MissingAuthenticationToken +// The request must contain either a valid (registered) Amazon Web Services +// access key ID or X.509 certificate. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01/UpdateEnrollmentStatus func (c *ComputeOptimizer) UpdateEnrollmentStatus(input *UpdateEnrollmentStatusInput) (*UpdateEnrollmentStatusOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/computeoptimizeriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/computeoptimizeriface/interface.go index 8533b03216d7..c4c93c86b847 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/computeoptimizeriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/computeoptimizeriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Compute Optimizer. -// func myFunc(svc computeoptimizeriface.ComputeOptimizerAPI) bool { -// // Make svc.DeleteRecommendationPreferences request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Compute Optimizer. +// func myFunc(svc computeoptimizeriface.ComputeOptimizerAPI) bool { +// // Make svc.DeleteRecommendationPreferences request +// } // -// func main() { -// sess := session.New() -// svc := computeoptimizer.New(sess) +// func main() { +// sess := session.New() +// svc := computeoptimizer.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockComputeOptimizerClient struct { -// computeoptimizeriface.ComputeOptimizerAPI -// } -// func (m *mockComputeOptimizerClient) DeleteRecommendationPreferences(input *computeoptimizer.DeleteRecommendationPreferencesInput) (*computeoptimizer.DeleteRecommendationPreferencesOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockComputeOptimizerClient struct { +// computeoptimizeriface.ComputeOptimizerAPI +// } +// func (m *mockComputeOptimizerClient) DeleteRecommendationPreferences(input *computeoptimizer.DeleteRecommendationPreferencesInput) (*computeoptimizer.DeleteRecommendationPreferencesOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockComputeOptimizerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockComputeOptimizerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/doc.go index 9134d4119032..67cd81cc036f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/doc.go @@ -22,7 +22,7 @@ // See computeoptimizer package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/computeoptimizer/ // -// Using the Client +// # Using the Client // // To contact AWS Compute Optimizer with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/service.go index 4598d7df02d2..d97666881698 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/computeoptimizer/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ComputeOptimizer client from just a session. -// svc := computeoptimizer.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ComputeOptimizer client with additional configuration -// svc := computeoptimizer.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ComputeOptimizer client from just a session. +// svc := computeoptimizer.New(mySession) +// +// // Create a ComputeOptimizer client with additional configuration +// svc := computeoptimizer.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ComputeOptimizer { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/api.go index 3da80d707a8b..6d008b0e9565 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/api.go @@ -29,14 +29,13 @@ const opBatchGetAggregateResourceConfig = "BatchGetAggregateResourceConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetAggregateResourceConfigRequest method. +// req, resp := client.BatchGetAggregateResourceConfigRequest(params) // -// // Example sending a request using the BatchGetAggregateResourceConfigRequest method. -// req, resp := client.BatchGetAggregateResourceConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/BatchGetAggregateResourceConfig func (c *ConfigService) BatchGetAggregateResourceConfigRequest(input *BatchGetAggregateResourceConfigInput) (req *request.Request, output *BatchGetAggregateResourceConfigOutput) { @@ -62,9 +61,9 @@ func (c *ConfigService) BatchGetAggregateResourceConfigRequest(input *BatchGetAg // are not processed in the current request. If there are no unprocessed resources, // the operation returns an empty unprocessedResourceIdentifiers list. // -// * The API does not return results for deleted resources. +// - The API does not return results for deleted resources. // -// * The API does not return tags and relationships. +// - The API does not return tags and relationships. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -74,19 +73,20 @@ func (c *ConfigService) BatchGetAggregateResourceConfigRequest(input *BatchGetAg // API operation BatchGetAggregateResourceConfig for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. +// +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * NoSuchConfigurationAggregatorException -// You have specified a configuration aggregator that does not exist. +// - NoSuchConfigurationAggregatorException +// You have specified a configuration aggregator that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/BatchGetAggregateResourceConfig func (c *ConfigService) BatchGetAggregateResourceConfig(input *BatchGetAggregateResourceConfigInput) (*BatchGetAggregateResourceConfigOutput, error) { @@ -126,14 +126,13 @@ const opBatchGetResourceConfig = "BatchGetResourceConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetResourceConfigRequest method. +// req, resp := client.BatchGetResourceConfigRequest(params) // -// // Example sending a request using the BatchGetResourceConfigRequest method. -// req, resp := client.BatchGetResourceConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/BatchGetResourceConfig func (c *ConfigService) BatchGetResourceConfigRequest(input *BatchGetResourceConfigInput) (req *request.Request, output *BatchGetResourceConfigOutput) { @@ -159,10 +158,10 @@ func (c *ConfigService) BatchGetResourceConfigRequest(input *BatchGetResourceCon // current request. If there are no unprocessed resources, the operation returns // an empty unprocessedResourceKeys list. // -// * The API does not return results for deleted resources. +// - The API does not return results for deleted resources. // -// * The API does not return any tags for the requested resources. This information -// is filtered out of the supplementaryConfiguration section of the API response. +// - The API does not return any tags for the requested resources. This information +// is filtered out of the supplementaryConfiguration section of the API response. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -172,20 +171,21 @@ func (c *ConfigService) BatchGetResourceConfigRequest(input *BatchGetResourceCon // API operation BatchGetResourceConfig for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. +// +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * NoAvailableConfigurationRecorderException -// There are no configuration recorders available to provide the role needed -// to describe your resources. Create a configuration recorder. +// - NoAvailableConfigurationRecorderException +// There are no configuration recorders available to provide the role needed +// to describe your resources. Create a configuration recorder. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/BatchGetResourceConfig func (c *ConfigService) BatchGetResourceConfig(input *BatchGetResourceConfigInput) (*BatchGetResourceConfigOutput, error) { @@ -225,14 +225,13 @@ const opDeleteAggregationAuthorization = "DeleteAggregationAuthorization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAggregationAuthorizationRequest method. +// req, resp := client.DeleteAggregationAuthorizationRequest(params) // -// // Example sending a request using the DeleteAggregationAuthorizationRequest method. -// req, resp := client.DeleteAggregationAuthorizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteAggregationAuthorization func (c *ConfigService) DeleteAggregationAuthorizationRequest(input *DeleteAggregationAuthorizationInput) (req *request.Request, output *DeleteAggregationAuthorizationOutput) { @@ -265,9 +264,9 @@ func (c *ConfigService) DeleteAggregationAuthorizationRequest(input *DeleteAggre // API operation DeleteAggregationAuthorization for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteAggregationAuthorization func (c *ConfigService) DeleteAggregationAuthorization(input *DeleteAggregationAuthorizationInput) (*DeleteAggregationAuthorizationOutput, error) { @@ -307,14 +306,13 @@ const opDeleteConfigRule = "DeleteConfigRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigRuleRequest method. +// req, resp := client.DeleteConfigRuleRequest(params) // -// // Example sending a request using the DeleteConfigRuleRequest method. -// req, resp := client.DeleteConfigRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigRule func (c *ConfigService) DeleteConfigRuleRequest(input *DeleteConfigRuleInput) (req *request.Request, output *DeleteConfigRuleOutput) { @@ -352,36 +350,37 @@ func (c *ConfigService) DeleteConfigRuleRequest(input *DeleteConfigRuleInput) (r // API operation DeleteConfigRule for usage and error information. // // Returned Error Types: -// * NoSuchConfigRuleException -// The Config rule in the request is not valid. Verify that the rule is an Config -// Custom Policy rule, that the rule name is correct, and that valid Amazon -// Resouce Names (ARNs) are used before trying again. // -// * ResourceInUseException -// You see this exception in the following cases: +// - NoSuchConfigRuleException +// The Config rule in the request is not valid. Verify that the rule is an Config +// Custom Policy rule, that the rule name is correct, and that valid Amazon +// Resouce Names (ARNs) are used before trying again. +// +// - ResourceInUseException +// You see this exception in the following cases: // -// * For DeleteConfigRule, Config is deleting this rule. Try your request -// again later. +// - For DeleteConfigRule, Config is deleting this rule. Try your request +// again later. // -// * For DeleteConfigRule, the rule is deleting your evaluation results. -// Try your request again later. +// - For DeleteConfigRule, the rule is deleting your evaluation results. +// Try your request again later. // -// * For DeleteConfigRule, a remediation action is associated with the rule -// and Config cannot delete this rule. Delete the remediation action associated -// with the rule before deleting the rule and try your request again later. +// - For DeleteConfigRule, a remediation action is associated with the rule +// and Config cannot delete this rule. Delete the remediation action associated +// with the rule before deleting the rule and try your request again later. // -// * For PutConfigOrganizationRule, organization Config rule deletion is -// in progress. Try your request again later. +// - For PutConfigOrganizationRule, organization Config rule deletion is +// in progress. Try your request again later. // -// * For DeleteOrganizationConfigRule, organization Config rule creation -// is in progress. Try your request again later. +// - For DeleteOrganizationConfigRule, organization Config rule creation +// is in progress. Try your request again later. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack creation, update, and deletion is in progress. Try your request again -// later. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack creation, update, and deletion is in progress. Try your request again +// later. // -// * For DeleteConformancePack, a conformance pack creation, update, and -// deletion is in progress. Try your request again later. +// - For DeleteConformancePack, a conformance pack creation, update, and +// deletion is in progress. Try your request again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigRule func (c *ConfigService) DeleteConfigRule(input *DeleteConfigRuleInput) (*DeleteConfigRuleOutput, error) { @@ -421,14 +420,13 @@ const opDeleteConfigurationAggregator = "DeleteConfigurationAggregator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigurationAggregatorRequest method. +// req, resp := client.DeleteConfigurationAggregatorRequest(params) // -// // Example sending a request using the DeleteConfigurationAggregatorRequest method. -// req, resp := client.DeleteConfigurationAggregatorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationAggregator func (c *ConfigService) DeleteConfigurationAggregatorRequest(input *DeleteConfigurationAggregatorInput) (req *request.Request, output *DeleteConfigurationAggregatorOutput) { @@ -461,8 +459,8 @@ func (c *ConfigService) DeleteConfigurationAggregatorRequest(input *DeleteConfig // API operation DeleteConfigurationAggregator for usage and error information. // // Returned Error Types: -// * NoSuchConfigurationAggregatorException -// You have specified a configuration aggregator that does not exist. +// - NoSuchConfigurationAggregatorException +// You have specified a configuration aggregator that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationAggregator func (c *ConfigService) DeleteConfigurationAggregator(input *DeleteConfigurationAggregatorInput) (*DeleteConfigurationAggregatorOutput, error) { @@ -502,14 +500,13 @@ const opDeleteConfigurationRecorder = "DeleteConfigurationRecorder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigurationRecorderRequest method. +// req, resp := client.DeleteConfigurationRecorderRequest(params) // -// // Example sending a request using the DeleteConfigurationRecorderRequest method. -// req, resp := client.DeleteConfigurationRecorderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationRecorder func (c *ConfigService) DeleteConfigurationRecorderRequest(input *DeleteConfigurationRecorderInput) (req *request.Request, output *DeleteConfigurationRecorderOutput) { @@ -550,8 +547,8 @@ func (c *ConfigService) DeleteConfigurationRecorderRequest(input *DeleteConfigur // API operation DeleteConfigurationRecorder for usage and error information. // // Returned Error Types: -// * NoSuchConfigurationRecorderException -// You have specified a configuration recorder that does not exist. +// - NoSuchConfigurationRecorderException +// You have specified a configuration recorder that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConfigurationRecorder func (c *ConfigService) DeleteConfigurationRecorder(input *DeleteConfigurationRecorderInput) (*DeleteConfigurationRecorderOutput, error) { @@ -591,14 +588,13 @@ const opDeleteConformancePack = "DeleteConformancePack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConformancePackRequest method. +// req, resp := client.DeleteConformancePackRequest(params) // -// // Example sending a request using the DeleteConformancePackRequest method. -// req, resp := client.DeleteConformancePackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConformancePack func (c *ConfigService) DeleteConformancePackRequest(input *DeleteConformancePackInput) (req *request.Request, output *DeleteConformancePackOutput) { @@ -634,34 +630,35 @@ func (c *ConfigService) DeleteConformancePackRequest(input *DeleteConformancePac // API operation DeleteConformancePack for usage and error information. // // Returned Error Types: -// * NoSuchConformancePackException -// You specified one or more conformance packs that do not exist. // -// * ResourceInUseException -// You see this exception in the following cases: +// - NoSuchConformancePackException +// You specified one or more conformance packs that do not exist. // -// * For DeleteConfigRule, Config is deleting this rule. Try your request -// again later. +// - ResourceInUseException +// You see this exception in the following cases: // -// * For DeleteConfigRule, the rule is deleting your evaluation results. -// Try your request again later. +// - For DeleteConfigRule, Config is deleting this rule. Try your request +// again later. // -// * For DeleteConfigRule, a remediation action is associated with the rule -// and Config cannot delete this rule. Delete the remediation action associated -// with the rule before deleting the rule and try your request again later. +// - For DeleteConfigRule, the rule is deleting your evaluation results. +// Try your request again later. // -// * For PutConfigOrganizationRule, organization Config rule deletion is -// in progress. Try your request again later. +// - For DeleteConfigRule, a remediation action is associated with the rule +// and Config cannot delete this rule. Delete the remediation action associated +// with the rule before deleting the rule and try your request again later. // -// * For DeleteOrganizationConfigRule, organization Config rule creation -// is in progress. Try your request again later. +// - For PutConfigOrganizationRule, organization Config rule deletion is +// in progress. Try your request again later. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack creation, update, and deletion is in progress. Try your request again -// later. +// - For DeleteOrganizationConfigRule, organization Config rule creation +// is in progress. Try your request again later. // -// * For DeleteConformancePack, a conformance pack creation, update, and -// deletion is in progress. Try your request again later. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack creation, update, and deletion is in progress. Try your request again +// later. +// +// - For DeleteConformancePack, a conformance pack creation, update, and +// deletion is in progress. Try your request again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteConformancePack func (c *ConfigService) DeleteConformancePack(input *DeleteConformancePackInput) (*DeleteConformancePackOutput, error) { @@ -701,14 +698,13 @@ const opDeleteDeliveryChannel = "DeleteDeliveryChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDeliveryChannelRequest method. +// req, resp := client.DeleteDeliveryChannelRequest(params) // -// // Example sending a request using the DeleteDeliveryChannelRequest method. -// req, resp := client.DeleteDeliveryChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteDeliveryChannel func (c *ConfigService) DeleteDeliveryChannelRequest(input *DeleteDeliveryChannelInput) (req *request.Request, output *DeleteDeliveryChannelOutput) { @@ -743,12 +739,13 @@ func (c *ConfigService) DeleteDeliveryChannelRequest(input *DeleteDeliveryChanne // API operation DeleteDeliveryChannel for usage and error information. // // Returned Error Types: -// * NoSuchDeliveryChannelException -// You have specified a delivery channel that does not exist. // -// * LastDeliveryChannelDeleteFailedException -// You cannot delete the delivery channel you specified because the configuration -// recorder is running. +// - NoSuchDeliveryChannelException +// You have specified a delivery channel that does not exist. +// +// - LastDeliveryChannelDeleteFailedException +// You cannot delete the delivery channel you specified because the configuration +// recorder is running. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteDeliveryChannel func (c *ConfigService) DeleteDeliveryChannel(input *DeleteDeliveryChannelInput) (*DeleteDeliveryChannelOutput, error) { @@ -788,14 +785,13 @@ const opDeleteEvaluationResults = "DeleteEvaluationResults" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEvaluationResultsRequest method. +// req, resp := client.DeleteEvaluationResultsRequest(params) // -// // Example sending a request using the DeleteEvaluationResultsRequest method. -// req, resp := client.DeleteEvaluationResultsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteEvaluationResults func (c *ConfigService) DeleteEvaluationResultsRequest(input *DeleteEvaluationResultsInput) (req *request.Request, output *DeleteEvaluationResultsOutput) { @@ -830,36 +826,37 @@ func (c *ConfigService) DeleteEvaluationResultsRequest(input *DeleteEvaluationRe // API operation DeleteEvaluationResults for usage and error information. // // Returned Error Types: -// * NoSuchConfigRuleException -// The Config rule in the request is not valid. Verify that the rule is an Config -// Custom Policy rule, that the rule name is correct, and that valid Amazon -// Resouce Names (ARNs) are used before trying again. // -// * ResourceInUseException -// You see this exception in the following cases: +// - NoSuchConfigRuleException +// The Config rule in the request is not valid. Verify that the rule is an Config +// Custom Policy rule, that the rule name is correct, and that valid Amazon +// Resouce Names (ARNs) are used before trying again. +// +// - ResourceInUseException +// You see this exception in the following cases: // -// * For DeleteConfigRule, Config is deleting this rule. Try your request -// again later. +// - For DeleteConfigRule, Config is deleting this rule. Try your request +// again later. // -// * For DeleteConfigRule, the rule is deleting your evaluation results. -// Try your request again later. +// - For DeleteConfigRule, the rule is deleting your evaluation results. +// Try your request again later. // -// * For DeleteConfigRule, a remediation action is associated with the rule -// and Config cannot delete this rule. Delete the remediation action associated -// with the rule before deleting the rule and try your request again later. +// - For DeleteConfigRule, a remediation action is associated with the rule +// and Config cannot delete this rule. Delete the remediation action associated +// with the rule before deleting the rule and try your request again later. // -// * For PutConfigOrganizationRule, organization Config rule deletion is -// in progress. Try your request again later. +// - For PutConfigOrganizationRule, organization Config rule deletion is +// in progress. Try your request again later. // -// * For DeleteOrganizationConfigRule, organization Config rule creation -// is in progress. Try your request again later. +// - For DeleteOrganizationConfigRule, organization Config rule creation +// is in progress. Try your request again later. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack creation, update, and deletion is in progress. Try your request again -// later. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack creation, update, and deletion is in progress. Try your request again +// later. // -// * For DeleteConformancePack, a conformance pack creation, update, and -// deletion is in progress. Try your request again later. +// - For DeleteConformancePack, a conformance pack creation, update, and +// deletion is in progress. Try your request again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteEvaluationResults func (c *ConfigService) DeleteEvaluationResults(input *DeleteEvaluationResultsInput) (*DeleteEvaluationResultsOutput, error) { @@ -899,14 +896,13 @@ const opDeleteOrganizationConfigRule = "DeleteOrganizationConfigRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOrganizationConfigRuleRequest method. +// req, resp := client.DeleteOrganizationConfigRuleRequest(params) // -// // Example sending a request using the DeleteOrganizationConfigRuleRequest method. -// req, resp := client.DeleteOrganizationConfigRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteOrganizationConfigRule func (c *ConfigService) DeleteOrganizationConfigRuleRequest(input *DeleteOrganizationConfigRuleInput) (req *request.Request, output *DeleteOrganizationConfigRuleOutput) { @@ -947,61 +943,62 @@ func (c *ConfigService) DeleteOrganizationConfigRuleRequest(input *DeleteOrganiz // API operation DeleteOrganizationConfigRule for usage and error information. // // Returned Error Types: -// * NoSuchOrganizationConfigRuleException -// The Config rule in the request is not valid. Verify that the rule is an organization -// Config Custom Policy rule, that the rule name is correct, and that valid -// Amazon Resouce Names (ARNs) are used before trying again. // -// * ResourceInUseException -// You see this exception in the following cases: +// - NoSuchOrganizationConfigRuleException +// The Config rule in the request is not valid. Verify that the rule is an organization +// Config Custom Policy rule, that the rule name is correct, and that valid +// Amazon Resouce Names (ARNs) are used before trying again. // -// * For DeleteConfigRule, Config is deleting this rule. Try your request -// again later. +// - ResourceInUseException +// You see this exception in the following cases: // -// * For DeleteConfigRule, the rule is deleting your evaluation results. -// Try your request again later. +// - For DeleteConfigRule, Config is deleting this rule. Try your request +// again later. // -// * For DeleteConfigRule, a remediation action is associated with the rule -// and Config cannot delete this rule. Delete the remediation action associated -// with the rule before deleting the rule and try your request again later. +// - For DeleteConfigRule, the rule is deleting your evaluation results. +// Try your request again later. // -// * For PutConfigOrganizationRule, organization Config rule deletion is -// in progress. Try your request again later. +// - For DeleteConfigRule, a remediation action is associated with the rule +// and Config cannot delete this rule. Delete the remediation action associated +// with the rule before deleting the rule and try your request again later. // -// * For DeleteOrganizationConfigRule, organization Config rule creation -// is in progress. Try your request again later. +// - For PutConfigOrganizationRule, organization Config rule deletion is +// in progress. Try your request again later. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack creation, update, and deletion is in progress. Try your request again -// later. +// - For DeleteOrganizationConfigRule, organization Config rule creation +// is in progress. Try your request again later. // -// * For DeleteConformancePack, a conformance pack creation, update, and -// deletion is in progress. Try your request again later. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack creation, update, and deletion is in progress. Try your request again +// later. // -// * OrganizationAccessDeniedException -// For PutConfigurationAggregator API, you can see this exception for the following -// reasons: +// - For DeleteConformancePack, a conformance pack creation, update, and +// deletion is in progress. Try your request again later. // -// * No permission to call EnableAWSServiceAccess API +// - OrganizationAccessDeniedException +// For PutConfigurationAggregator API, you can see this exception for the following +// reasons: // -// * The configuration aggregator cannot be updated because your Amazon Web -// Services Organization management account or the delegated administrator -// role changed. Delete this aggregator and create a new one with the current -// Amazon Web Services Organization. +// - No permission to call EnableAWSServiceAccess API // -// * The configuration aggregator is associated with a previous Amazon Web -// Services Organization and Config cannot aggregate data with current Amazon -// Web Services Organization. Delete this aggregator and create a new one -// with the current Amazon Web Services Organization. +// - The configuration aggregator cannot be updated because your Amazon Web +// Services Organization management account or the delegated administrator +// role changed. Delete this aggregator and create a new one with the current +// Amazon Web Services Organization. // -// * You are not a registered delegated administrator for Config with permissions -// to call ListDelegatedAdministrators API. Ensure that the management account -// registers delagated administrator for Config service principle name before -// the delegated administrator creates an aggregator. +// - The configuration aggregator is associated with a previous Amazon Web +// Services Organization and Config cannot aggregate data with current Amazon +// Web Services Organization. Delete this aggregator and create a new one +// with the current Amazon Web Services Organization. // -// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config -// throws an exception if APIs are called from member accounts. All APIs must -// be called from organization master account. +// - You are not a registered delegated administrator for Config with permissions +// to call ListDelegatedAdministrators API. Ensure that the management account +// registers delagated administrator for Config service principle name before +// the delegated administrator creates an aggregator. +// +// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config +// throws an exception if APIs are called from member accounts. All APIs must +// be called from organization master account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteOrganizationConfigRule func (c *ConfigService) DeleteOrganizationConfigRule(input *DeleteOrganizationConfigRuleInput) (*DeleteOrganizationConfigRuleOutput, error) { @@ -1041,14 +1038,13 @@ const opDeleteOrganizationConformancePack = "DeleteOrganizationConformancePack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOrganizationConformancePackRequest method. +// req, resp := client.DeleteOrganizationConformancePackRequest(params) // -// // Example sending a request using the DeleteOrganizationConformancePackRequest method. -// req, resp := client.DeleteOrganizationConformancePackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteOrganizationConformancePack func (c *ConfigService) DeleteOrganizationConformancePackRequest(input *DeleteOrganizationConformancePackInput) (req *request.Request, output *DeleteOrganizationConformancePackOutput) { @@ -1090,63 +1086,64 @@ func (c *ConfigService) DeleteOrganizationConformancePackRequest(input *DeleteOr // API operation DeleteOrganizationConformancePack for usage and error information. // // Returned Error Types: -// * NoSuchOrganizationConformancePackException -// Config organization conformance pack that you passed in the filter does not -// exist. // -// For DeleteOrganizationConformancePack, you tried to delete an organization -// conformance pack that does not exist. +// - NoSuchOrganizationConformancePackException +// Config organization conformance pack that you passed in the filter does not +// exist. +// +// For DeleteOrganizationConformancePack, you tried to delete an organization +// conformance pack that does not exist. // -// * ResourceInUseException -// You see this exception in the following cases: +// - ResourceInUseException +// You see this exception in the following cases: // -// * For DeleteConfigRule, Config is deleting this rule. Try your request -// again later. +// - For DeleteConfigRule, Config is deleting this rule. Try your request +// again later. // -// * For DeleteConfigRule, the rule is deleting your evaluation results. -// Try your request again later. +// - For DeleteConfigRule, the rule is deleting your evaluation results. +// Try your request again later. // -// * For DeleteConfigRule, a remediation action is associated with the rule -// and Config cannot delete this rule. Delete the remediation action associated -// with the rule before deleting the rule and try your request again later. +// - For DeleteConfigRule, a remediation action is associated with the rule +// and Config cannot delete this rule. Delete the remediation action associated +// with the rule before deleting the rule and try your request again later. // -// * For PutConfigOrganizationRule, organization Config rule deletion is -// in progress. Try your request again later. +// - For PutConfigOrganizationRule, organization Config rule deletion is +// in progress. Try your request again later. // -// * For DeleteOrganizationConfigRule, organization Config rule creation -// is in progress. Try your request again later. +// - For DeleteOrganizationConfigRule, organization Config rule creation +// is in progress. Try your request again later. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack creation, update, and deletion is in progress. Try your request again -// later. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack creation, update, and deletion is in progress. Try your request again +// later. // -// * For DeleteConformancePack, a conformance pack creation, update, and -// deletion is in progress. Try your request again later. +// - For DeleteConformancePack, a conformance pack creation, update, and +// deletion is in progress. Try your request again later. // -// * OrganizationAccessDeniedException -// For PutConfigurationAggregator API, you can see this exception for the following -// reasons: +// - OrganizationAccessDeniedException +// For PutConfigurationAggregator API, you can see this exception for the following +// reasons: // -// * No permission to call EnableAWSServiceAccess API +// - No permission to call EnableAWSServiceAccess API // -// * The configuration aggregator cannot be updated because your Amazon Web -// Services Organization management account or the delegated administrator -// role changed. Delete this aggregator and create a new one with the current -// Amazon Web Services Organization. +// - The configuration aggregator cannot be updated because your Amazon Web +// Services Organization management account or the delegated administrator +// role changed. Delete this aggregator and create a new one with the current +// Amazon Web Services Organization. // -// * The configuration aggregator is associated with a previous Amazon Web -// Services Organization and Config cannot aggregate data with current Amazon -// Web Services Organization. Delete this aggregator and create a new one -// with the current Amazon Web Services Organization. +// - The configuration aggregator is associated with a previous Amazon Web +// Services Organization and Config cannot aggregate data with current Amazon +// Web Services Organization. Delete this aggregator and create a new one +// with the current Amazon Web Services Organization. // -// * You are not a registered delegated administrator for Config with permissions -// to call ListDelegatedAdministrators API. Ensure that the management account -// registers delagated administrator for Config service principle name before -// the delegated administrator creates an aggregator. +// - You are not a registered delegated administrator for Config with permissions +// to call ListDelegatedAdministrators API. Ensure that the management account +// registers delagated administrator for Config service principle name before +// the delegated administrator creates an aggregator. // -// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config -// throws an exception if APIs are called from member accounts. All APIs must -// be called from organization master account. +// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config +// throws an exception if APIs are called from member accounts. All APIs must +// be called from organization master account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteOrganizationConformancePack func (c *ConfigService) DeleteOrganizationConformancePack(input *DeleteOrganizationConformancePackInput) (*DeleteOrganizationConformancePackOutput, error) { @@ -1186,14 +1183,13 @@ const opDeletePendingAggregationRequest = "DeletePendingAggregationRequest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePendingAggregationRequestRequest method. +// req, resp := client.DeletePendingAggregationRequestRequest(params) // -// // Example sending a request using the DeletePendingAggregationRequestRequest method. -// req, resp := client.DeletePendingAggregationRequestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeletePendingAggregationRequest func (c *ConfigService) DeletePendingAggregationRequestRequest(input *DeletePendingAggregationRequestInput) (req *request.Request, output *DeletePendingAggregationRequestOutput) { @@ -1226,9 +1222,9 @@ func (c *ConfigService) DeletePendingAggregationRequestRequest(input *DeletePend // API operation DeletePendingAggregationRequest for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeletePendingAggregationRequest func (c *ConfigService) DeletePendingAggregationRequest(input *DeletePendingAggregationRequestInput) (*DeletePendingAggregationRequestOutput, error) { @@ -1268,14 +1264,13 @@ const opDeleteRemediationConfiguration = "DeleteRemediationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRemediationConfigurationRequest method. +// req, resp := client.DeleteRemediationConfigurationRequest(params) // -// // Example sending a request using the DeleteRemediationConfigurationRequest method. -// req, resp := client.DeleteRemediationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteRemediationConfiguration func (c *ConfigService) DeleteRemediationConfigurationRequest(input *DeleteRemediationConfigurationInput) (req *request.Request, output *DeleteRemediationConfigurationOutput) { @@ -1307,33 +1302,34 @@ func (c *ConfigService) DeleteRemediationConfigurationRequest(input *DeleteRemed // API operation DeleteRemediationConfiguration for usage and error information. // // Returned Error Types: -// * NoSuchRemediationConfigurationException -// You specified an Config rule without a remediation configuration. // -// * RemediationInProgressException -// Remediation action is in progress. You can either cancel execution in Amazon -// Web Services Systems Manager or wait and try again later. +// - NoSuchRemediationConfigurationException +// You specified an Config rule without a remediation configuration. +// +// - RemediationInProgressException +// Remediation action is in progress. You can either cancel execution in Amazon +// Web Services Systems Manager or wait and try again later. // -// * InsufficientPermissionsException -// Indicates one of the following errors: +// - InsufficientPermissionsException +// Indicates one of the following errors: // -// * For PutConfigRule, the rule cannot be created because the IAM role assigned -// to Config lacks permissions to perform the config:Put* action. +// - For PutConfigRule, the rule cannot be created because the IAM role assigned +// to Config lacks permissions to perform the config:Put* action. // -// * For PutConfigRule, the Lambda function cannot be invoked. Check the -// function ARN, and check the function's permissions. +// - For PutConfigRule, the Lambda function cannot be invoked. Check the +// function ARN, and check the function's permissions. // -// * For PutOrganizationConfigRule, organization Config rule cannot be created -// because you do not have permissions to call IAM GetRole action or create -// a service linked role. +// - For PutOrganizationConfigRule, organization Config rule cannot be created +// because you do not have permissions to call IAM GetRole action or create +// a service linked role. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack cannot be created because you do not have permissions: To call IAM -// GetRole action or create a service linked role. To read Amazon S3 bucket. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack cannot be created because you do not have permissions: To call IAM +// GetRole action or create a service linked role. To read Amazon S3 bucket. // -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteRemediationConfiguration func (c *ConfigService) DeleteRemediationConfiguration(input *DeleteRemediationConfigurationInput) (*DeleteRemediationConfigurationOutput, error) { @@ -1373,14 +1369,13 @@ const opDeleteRemediationExceptions = "DeleteRemediationExceptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRemediationExceptionsRequest method. +// req, resp := client.DeleteRemediationExceptionsRequest(params) // -// // Example sending a request using the DeleteRemediationExceptionsRequest method. -// req, resp := client.DeleteRemediationExceptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteRemediationExceptions func (c *ConfigService) DeleteRemediationExceptionsRequest(input *DeleteRemediationExceptionsInput) (req *request.Request, output *DeleteRemediationExceptionsOutput) { @@ -1415,8 +1410,8 @@ func (c *ConfigService) DeleteRemediationExceptionsRequest(input *DeleteRemediat // API operation DeleteRemediationExceptions for usage and error information. // // Returned Error Types: -// * NoSuchRemediationExceptionException -// You tried to delete a remediation exception that does not exist. +// - NoSuchRemediationExceptionException +// You tried to delete a remediation exception that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteRemediationExceptions func (c *ConfigService) DeleteRemediationExceptions(input *DeleteRemediationExceptionsInput) (*DeleteRemediationExceptionsOutput, error) { @@ -1456,14 +1451,13 @@ const opDeleteResourceConfig = "DeleteResourceConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourceConfigRequest method. +// req, resp := client.DeleteResourceConfigRequest(params) // -// // Example sending a request using the DeleteResourceConfigRequest method. -// req, resp := client.DeleteResourceConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteResourceConfig func (c *ConfigService) DeleteResourceConfigRequest(input *DeleteResourceConfigInput) (req *request.Request, output *DeleteResourceConfigOutput) { @@ -1498,19 +1492,20 @@ func (c *ConfigService) DeleteResourceConfigRequest(input *DeleteResourceConfigI // API operation DeleteResourceConfig for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. +// +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * NoRunningConfigurationRecorderException -// There is no configuration recorder running. +// - NoRunningConfigurationRecorderException +// There is no configuration recorder running. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteResourceConfig func (c *ConfigService) DeleteResourceConfig(input *DeleteResourceConfigInput) (*DeleteResourceConfigOutput, error) { @@ -1550,14 +1545,13 @@ const opDeleteRetentionConfiguration = "DeleteRetentionConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRetentionConfigurationRequest method. +// req, resp := client.DeleteRetentionConfigurationRequest(params) // -// // Example sending a request using the DeleteRetentionConfigurationRequest method. -// req, resp := client.DeleteRetentionConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteRetentionConfiguration func (c *ConfigService) DeleteRetentionConfigurationRequest(input *DeleteRetentionConfigurationInput) (req *request.Request, output *DeleteRetentionConfigurationOutput) { @@ -1589,12 +1583,13 @@ func (c *ConfigService) DeleteRetentionConfigurationRequest(input *DeleteRetenti // API operation DeleteRetentionConfiguration for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. // -// * NoSuchRetentionConfigurationException -// You have specified a retention configuration that does not exist. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. +// +// - NoSuchRetentionConfigurationException +// You have specified a retention configuration that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteRetentionConfiguration func (c *ConfigService) DeleteRetentionConfiguration(input *DeleteRetentionConfigurationInput) (*DeleteRetentionConfigurationOutput, error) { @@ -1634,14 +1629,13 @@ const opDeleteStoredQuery = "DeleteStoredQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStoredQueryRequest method. +// req, resp := client.DeleteStoredQueryRequest(params) // -// // Example sending a request using the DeleteStoredQueryRequest method. -// req, resp := client.DeleteStoredQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteStoredQuery func (c *ConfigService) DeleteStoredQueryRequest(input *DeleteStoredQueryInput) (req *request.Request, output *DeleteStoredQueryOutput) { @@ -1674,19 +1668,20 @@ func (c *ConfigService) DeleteStoredQueryRequest(input *DeleteStoredQueryInput) // API operation DeleteStoredQuery for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. +// +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * ResourceNotFoundException -// You have specified a resource that does not exist. +// - ResourceNotFoundException +// You have specified a resource that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteStoredQuery func (c *ConfigService) DeleteStoredQuery(input *DeleteStoredQueryInput) (*DeleteStoredQueryOutput, error) { @@ -1726,14 +1721,13 @@ const opDeliverConfigSnapshot = "DeliverConfigSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeliverConfigSnapshotRequest method. +// req, resp := client.DeliverConfigSnapshotRequest(params) // -// // Example sending a request using the DeliverConfigSnapshotRequest method. -// req, resp := client.DeliverConfigSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliverConfigSnapshot func (c *ConfigService) DeliverConfigSnapshotRequest(input *DeliverConfigSnapshotInput) (req *request.Request, output *DeliverConfigSnapshotOutput) { @@ -1758,12 +1752,12 @@ func (c *ConfigService) DeliverConfigSnapshotRequest(input *DeliverConfigSnapsho // the specified delivery channel. After the delivery has started, Config sends // the following notifications using an Amazon SNS topic that you have specified. // -// * Notification of the start of the delivery. +// - Notification of the start of the delivery. // -// * Notification of the completion of the delivery, if the delivery was -// successfully completed. +// - Notification of the completion of the delivery, if the delivery was +// successfully completed. // -// * Notification of delivery failure, if the delivery failed. +// - Notification of delivery failure, if the delivery failed. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1773,15 +1767,16 @@ func (c *ConfigService) DeliverConfigSnapshotRequest(input *DeliverConfigSnapsho // API operation DeliverConfigSnapshot for usage and error information. // // Returned Error Types: -// * NoSuchDeliveryChannelException -// You have specified a delivery channel that does not exist. // -// * NoAvailableConfigurationRecorderException -// There are no configuration recorders available to provide the role needed -// to describe your resources. Create a configuration recorder. +// - NoSuchDeliveryChannelException +// You have specified a delivery channel that does not exist. +// +// - NoAvailableConfigurationRecorderException +// There are no configuration recorders available to provide the role needed +// to describe your resources. Create a configuration recorder. // -// * NoRunningConfigurationRecorderException -// There is no configuration recorder running. +// - NoRunningConfigurationRecorderException +// There is no configuration recorder running. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeliverConfigSnapshot func (c *ConfigService) DeliverConfigSnapshot(input *DeliverConfigSnapshotInput) (*DeliverConfigSnapshotOutput, error) { @@ -1821,14 +1816,13 @@ const opDescribeAggregateComplianceByConfigRules = "DescribeAggregateComplianceB // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAggregateComplianceByConfigRulesRequest method. +// req, resp := client.DescribeAggregateComplianceByConfigRulesRequest(params) // -// // Example sending a request using the DescribeAggregateComplianceByConfigRulesRequest method. -// req, resp := client.DescribeAggregateComplianceByConfigRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeAggregateComplianceByConfigRules func (c *ConfigService) DescribeAggregateComplianceByConfigRulesRequest(input *DescribeAggregateComplianceByConfigRulesInput) (req *request.Request, output *DescribeAggregateComplianceByConfigRulesOutput) { @@ -1870,26 +1864,27 @@ func (c *ConfigService) DescribeAggregateComplianceByConfigRulesRequest(input *D // API operation DescribeAggregateComplianceByConfigRules for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * NoSuchConfigurationAggregatorException -// You have specified a configuration aggregator that does not exist. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. +// +// - NoSuchConfigurationAggregatorException +// You have specified a configuration aggregator that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeAggregateComplianceByConfigRules func (c *ConfigService) DescribeAggregateComplianceByConfigRules(input *DescribeAggregateComplianceByConfigRulesInput) (*DescribeAggregateComplianceByConfigRulesOutput, error) { @@ -1921,15 +1916,14 @@ func (c *ConfigService) DescribeAggregateComplianceByConfigRulesWithContext(ctx // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAggregateComplianceByConfigRules operation. -// pageNum := 0 -// err := client.DescribeAggregateComplianceByConfigRulesPages(params, -// func(page *configservice.DescribeAggregateComplianceByConfigRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAggregateComplianceByConfigRules operation. +// pageNum := 0 +// err := client.DescribeAggregateComplianceByConfigRulesPages(params, +// func(page *configservice.DescribeAggregateComplianceByConfigRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeAggregateComplianceByConfigRulesPages(input *DescribeAggregateComplianceByConfigRulesInput, fn func(*DescribeAggregateComplianceByConfigRulesOutput, bool) bool) error { return c.DescribeAggregateComplianceByConfigRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1981,14 +1975,13 @@ const opDescribeAggregateComplianceByConformancePacks = "DescribeAggregateCompli // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAggregateComplianceByConformancePacksRequest method. +// req, resp := client.DescribeAggregateComplianceByConformancePacksRequest(params) // -// // Example sending a request using the DescribeAggregateComplianceByConformancePacksRequest method. -// req, resp := client.DescribeAggregateComplianceByConformancePacksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeAggregateComplianceByConformancePacks func (c *ConfigService) DescribeAggregateComplianceByConformancePacksRequest(input *DescribeAggregateComplianceByConformancePacksInput) (req *request.Request, output *DescribeAggregateComplianceByConformancePacksOutput) { @@ -2031,26 +2024,27 @@ func (c *ConfigService) DescribeAggregateComplianceByConformancePacksRequest(inp // API operation DescribeAggregateComplianceByConformancePacks for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * NoSuchConfigurationAggregatorException -// You have specified a configuration aggregator that does not exist. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. +// +// - NoSuchConfigurationAggregatorException +// You have specified a configuration aggregator that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeAggregateComplianceByConformancePacks func (c *ConfigService) DescribeAggregateComplianceByConformancePacks(input *DescribeAggregateComplianceByConformancePacksInput) (*DescribeAggregateComplianceByConformancePacksOutput, error) { @@ -2082,15 +2076,14 @@ func (c *ConfigService) DescribeAggregateComplianceByConformancePacksWithContext // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAggregateComplianceByConformancePacks operation. -// pageNum := 0 -// err := client.DescribeAggregateComplianceByConformancePacksPages(params, -// func(page *configservice.DescribeAggregateComplianceByConformancePacksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAggregateComplianceByConformancePacks operation. +// pageNum := 0 +// err := client.DescribeAggregateComplianceByConformancePacksPages(params, +// func(page *configservice.DescribeAggregateComplianceByConformancePacksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeAggregateComplianceByConformancePacksPages(input *DescribeAggregateComplianceByConformancePacksInput, fn func(*DescribeAggregateComplianceByConformancePacksOutput, bool) bool) error { return c.DescribeAggregateComplianceByConformancePacksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2142,14 +2135,13 @@ const opDescribeAggregationAuthorizations = "DescribeAggregationAuthorizations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAggregationAuthorizationsRequest method. +// req, resp := client.DescribeAggregationAuthorizationsRequest(params) // -// // Example sending a request using the DescribeAggregationAuthorizationsRequest method. -// req, resp := client.DescribeAggregationAuthorizationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeAggregationAuthorizations func (c *ConfigService) DescribeAggregationAuthorizationsRequest(input *DescribeAggregationAuthorizationsInput) (req *request.Request, output *DescribeAggregationAuthorizationsOutput) { @@ -2187,16 +2179,17 @@ func (c *ConfigService) DescribeAggregationAuthorizationsRequest(input *Describe // API operation DescribeAggregationAuthorizations for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. +// +// - InvalidLimitException +// The specified limit is outside the allowable range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeAggregationAuthorizations func (c *ConfigService) DescribeAggregationAuthorizations(input *DescribeAggregationAuthorizationsInput) (*DescribeAggregationAuthorizationsOutput, error) { @@ -2228,15 +2221,14 @@ func (c *ConfigService) DescribeAggregationAuthorizationsWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAggregationAuthorizations operation. -// pageNum := 0 -// err := client.DescribeAggregationAuthorizationsPages(params, -// func(page *configservice.DescribeAggregationAuthorizationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAggregationAuthorizations operation. +// pageNum := 0 +// err := client.DescribeAggregationAuthorizationsPages(params, +// func(page *configservice.DescribeAggregationAuthorizationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeAggregationAuthorizationsPages(input *DescribeAggregationAuthorizationsInput, fn func(*DescribeAggregationAuthorizationsOutput, bool) bool) error { return c.DescribeAggregationAuthorizationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2288,14 +2280,13 @@ const opDescribeComplianceByConfigRule = "DescribeComplianceByConfigRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeComplianceByConfigRuleRequest method. +// req, resp := client.DescribeComplianceByConfigRuleRequest(params) // -// // Example sending a request using the DescribeComplianceByConfigRuleRequest method. -// req, resp := client.DescribeComplianceByConfigRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByConfigRule func (c *ConfigService) DescribeComplianceByConfigRuleRequest(input *DescribeComplianceByConfigRuleInput) (req *request.Request, output *DescribeComplianceByConfigRuleOutput) { @@ -2332,19 +2323,19 @@ func (c *ConfigService) DescribeComplianceByConfigRuleRequest(input *DescribeCom // If Config has no current evaluation results for the rule, it returns INSUFFICIENT_DATA. // This result might indicate one of the following conditions: // -// * Config has never invoked an evaluation for the rule. To check whether -// it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime -// and LastFailedInvocationTime. +// - Config has never invoked an evaluation for the rule. To check whether +// it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime +// and LastFailedInvocationTime. // -// * The rule's Lambda function is failing to send evaluation results to -// Config. Verify that the role you assigned to your configuration recorder -// includes the config:PutEvaluations permission. If the rule is a custom -// rule, verify that the Lambda execution role includes the config:PutEvaluations -// permission. +// - The rule's Lambda function is failing to send evaluation results to +// Config. Verify that the role you assigned to your configuration recorder +// includes the config:PutEvaluations permission. If the rule is a custom +// rule, verify that the Lambda execution role includes the config:PutEvaluations +// permission. // -// * The rule's Lambda function has returned NOT_APPLICABLE for all evaluation -// results. This can occur if the resources were deleted or removed from -// the rule's scope. +// - The rule's Lambda function has returned NOT_APPLICABLE for all evaluation +// results. This can occur if the resources were deleted or removed from +// the rule's scope. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2354,18 +2345,19 @@ func (c *ConfigService) DescribeComplianceByConfigRuleRequest(input *DescribeCom // API operation DescribeComplianceByConfigRule for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. // -// * NoSuchConfigRuleException -// The Config rule in the request is not valid. Verify that the rule is an Config -// Custom Policy rule, that the rule name is correct, and that valid Amazon -// Resouce Names (ARNs) are used before trying again. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - NoSuchConfigRuleException +// The Config rule in the request is not valid. Verify that the rule is an Config +// Custom Policy rule, that the rule name is correct, and that valid Amazon +// Resouce Names (ARNs) are used before trying again. +// +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByConfigRule func (c *ConfigService) DescribeComplianceByConfigRule(input *DescribeComplianceByConfigRuleInput) (*DescribeComplianceByConfigRuleOutput, error) { @@ -2397,15 +2389,14 @@ func (c *ConfigService) DescribeComplianceByConfigRuleWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeComplianceByConfigRule operation. -// pageNum := 0 -// err := client.DescribeComplianceByConfigRulePages(params, -// func(page *configservice.DescribeComplianceByConfigRuleOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeComplianceByConfigRule operation. +// pageNum := 0 +// err := client.DescribeComplianceByConfigRulePages(params, +// func(page *configservice.DescribeComplianceByConfigRuleOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeComplianceByConfigRulePages(input *DescribeComplianceByConfigRuleInput, fn func(*DescribeComplianceByConfigRuleOutput, bool) bool) error { return c.DescribeComplianceByConfigRulePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2457,14 +2448,13 @@ const opDescribeComplianceByResource = "DescribeComplianceByResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeComplianceByResourceRequest method. +// req, resp := client.DescribeComplianceByResourceRequest(params) // -// // Example sending a request using the DescribeComplianceByResourceRequest method. -// req, resp := client.DescribeComplianceByResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByResource func (c *ConfigService) DescribeComplianceByResourceRequest(input *DescribeComplianceByResourceInput) (req *request.Request, output *DescribeComplianceByResourceOutput) { @@ -2502,19 +2492,19 @@ func (c *ConfigService) DescribeComplianceByResourceRequest(input *DescribeCompl // INSUFFICIENT_DATA. This result might indicate one of the following conditions // about the rules that evaluate the resource: // -// * Config has never invoked an evaluation for the rule. To check whether -// it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime -// and LastFailedInvocationTime. +// - Config has never invoked an evaluation for the rule. To check whether +// it has, use the DescribeConfigRuleEvaluationStatus action to get the LastSuccessfulInvocationTime +// and LastFailedInvocationTime. // -// * The rule's Lambda function is failing to send evaluation results to -// Config. Verify that the role that you assigned to your configuration recorder -// includes the config:PutEvaluations permission. If the rule is a custom -// rule, verify that the Lambda execution role includes the config:PutEvaluations -// permission. +// - The rule's Lambda function is failing to send evaluation results to +// Config. Verify that the role that you assigned to your configuration recorder +// includes the config:PutEvaluations permission. If the rule is a custom +// rule, verify that the Lambda execution role includes the config:PutEvaluations +// permission. // -// * The rule's Lambda function has returned NOT_APPLICABLE for all evaluation -// results. This can occur if the resources were deleted or removed from -// the rule's scope. +// - The rule's Lambda function has returned NOT_APPLICABLE for all evaluation +// results. This can occur if the resources were deleted or removed from +// the rule's scope. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2524,13 +2514,14 @@ func (c *ConfigService) DescribeComplianceByResourceRequest(input *DescribeCompl // API operation DescribeComplianceByResource for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. +// +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeComplianceByResource func (c *ConfigService) DescribeComplianceByResource(input *DescribeComplianceByResourceInput) (*DescribeComplianceByResourceOutput, error) { @@ -2562,15 +2553,14 @@ func (c *ConfigService) DescribeComplianceByResourceWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeComplianceByResource operation. -// pageNum := 0 -// err := client.DescribeComplianceByResourcePages(params, -// func(page *configservice.DescribeComplianceByResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeComplianceByResource operation. +// pageNum := 0 +// err := client.DescribeComplianceByResourcePages(params, +// func(page *configservice.DescribeComplianceByResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeComplianceByResourcePages(input *DescribeComplianceByResourceInput, fn func(*DescribeComplianceByResourceOutput, bool) bool) error { return c.DescribeComplianceByResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2622,14 +2612,13 @@ const opDescribeConfigRuleEvaluationStatus = "DescribeConfigRuleEvaluationStatus // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConfigRuleEvaluationStatusRequest method. +// req, resp := client.DescribeConfigRuleEvaluationStatusRequest(params) // -// // Example sending a request using the DescribeConfigRuleEvaluationStatusRequest method. -// req, resp := client.DescribeConfigRuleEvaluationStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRuleEvaluationStatus func (c *ConfigService) DescribeConfigRuleEvaluationStatusRequest(input *DescribeConfigRuleEvaluationStatusInput) (req *request.Request, output *DescribeConfigRuleEvaluationStatusOutput) { @@ -2669,18 +2658,19 @@ func (c *ConfigService) DescribeConfigRuleEvaluationStatusRequest(input *Describ // API operation DescribeConfigRuleEvaluationStatus for usage and error information. // // Returned Error Types: -// * NoSuchConfigRuleException -// The Config rule in the request is not valid. Verify that the rule is an Config -// Custom Policy rule, that the rule name is correct, and that valid Amazon -// Resouce Names (ARNs) are used before trying again. // -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - NoSuchConfigRuleException +// The Config rule in the request is not valid. Verify that the rule is an Config +// Custom Policy rule, that the rule name is correct, and that valid Amazon +// Resouce Names (ARNs) are used before trying again. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. +// +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRuleEvaluationStatus func (c *ConfigService) DescribeConfigRuleEvaluationStatus(input *DescribeConfigRuleEvaluationStatusInput) (*DescribeConfigRuleEvaluationStatusOutput, error) { @@ -2712,15 +2702,14 @@ func (c *ConfigService) DescribeConfigRuleEvaluationStatusWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeConfigRuleEvaluationStatus operation. -// pageNum := 0 -// err := client.DescribeConfigRuleEvaluationStatusPages(params, -// func(page *configservice.DescribeConfigRuleEvaluationStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeConfigRuleEvaluationStatus operation. +// pageNum := 0 +// err := client.DescribeConfigRuleEvaluationStatusPages(params, +// func(page *configservice.DescribeConfigRuleEvaluationStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeConfigRuleEvaluationStatusPages(input *DescribeConfigRuleEvaluationStatusInput, fn func(*DescribeConfigRuleEvaluationStatusOutput, bool) bool) error { return c.DescribeConfigRuleEvaluationStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2772,14 +2761,13 @@ const opDescribeConfigRules = "DescribeConfigRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConfigRulesRequest method. +// req, resp := client.DescribeConfigRulesRequest(params) // -// // Example sending a request using the DescribeConfigRulesRequest method. -// req, resp := client.DescribeConfigRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRules func (c *ConfigService) DescribeConfigRulesRequest(input *DescribeConfigRulesInput) (req *request.Request, output *DescribeConfigRulesOutput) { @@ -2816,14 +2804,15 @@ func (c *ConfigService) DescribeConfigRulesRequest(input *DescribeConfigRulesInp // API operation DescribeConfigRules for usage and error information. // // Returned Error Types: -// * NoSuchConfigRuleException -// The Config rule in the request is not valid. Verify that the rule is an Config -// Custom Policy rule, that the rule name is correct, and that valid Amazon -// Resouce Names (ARNs) are used before trying again. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - NoSuchConfigRuleException +// The Config rule in the request is not valid. Verify that the rule is an Config +// Custom Policy rule, that the rule name is correct, and that valid Amazon +// Resouce Names (ARNs) are used before trying again. +// +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigRules func (c *ConfigService) DescribeConfigRules(input *DescribeConfigRulesInput) (*DescribeConfigRulesOutput, error) { @@ -2855,15 +2844,14 @@ func (c *ConfigService) DescribeConfigRulesWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeConfigRules operation. -// pageNum := 0 -// err := client.DescribeConfigRulesPages(params, -// func(page *configservice.DescribeConfigRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeConfigRules operation. +// pageNum := 0 +// err := client.DescribeConfigRulesPages(params, +// func(page *configservice.DescribeConfigRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeConfigRulesPages(input *DescribeConfigRulesInput, fn func(*DescribeConfigRulesOutput, bool) bool) error { return c.DescribeConfigRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2915,14 +2903,13 @@ const opDescribeConfigurationAggregatorSourcesStatus = "DescribeConfigurationAgg // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConfigurationAggregatorSourcesStatusRequest method. +// req, resp := client.DescribeConfigurationAggregatorSourcesStatusRequest(params) // -// // Example sending a request using the DescribeConfigurationAggregatorSourcesStatusRequest method. -// req, resp := client.DescribeConfigurationAggregatorSourcesStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationAggregatorSourcesStatus func (c *ConfigService) DescribeConfigurationAggregatorSourcesStatusRequest(input *DescribeConfigurationAggregatorSourcesStatusInput) (req *request.Request, output *DescribeConfigurationAggregatorSourcesStatusOutput) { @@ -2962,19 +2949,20 @@ func (c *ConfigService) DescribeConfigurationAggregatorSourcesStatusRequest(inpu // API operation DescribeConfigurationAggregatorSourcesStatus for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. // -// * NoSuchConfigurationAggregatorException -// You have specified a configuration aggregator that does not exist. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. +// +// - NoSuchConfigurationAggregatorException +// You have specified a configuration aggregator that does not exist. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - InvalidLimitException +// The specified limit is outside the allowable range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationAggregatorSourcesStatus func (c *ConfigService) DescribeConfigurationAggregatorSourcesStatus(input *DescribeConfigurationAggregatorSourcesStatusInput) (*DescribeConfigurationAggregatorSourcesStatusOutput, error) { @@ -3006,15 +2994,14 @@ func (c *ConfigService) DescribeConfigurationAggregatorSourcesStatusWithContext( // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeConfigurationAggregatorSourcesStatus operation. -// pageNum := 0 -// err := client.DescribeConfigurationAggregatorSourcesStatusPages(params, -// func(page *configservice.DescribeConfigurationAggregatorSourcesStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeConfigurationAggregatorSourcesStatus operation. +// pageNum := 0 +// err := client.DescribeConfigurationAggregatorSourcesStatusPages(params, +// func(page *configservice.DescribeConfigurationAggregatorSourcesStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeConfigurationAggregatorSourcesStatusPages(input *DescribeConfigurationAggregatorSourcesStatusInput, fn func(*DescribeConfigurationAggregatorSourcesStatusOutput, bool) bool) error { return c.DescribeConfigurationAggregatorSourcesStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3066,14 +3053,13 @@ const opDescribeConfigurationAggregators = "DescribeConfigurationAggregators" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConfigurationAggregatorsRequest method. +// req, resp := client.DescribeConfigurationAggregatorsRequest(params) // -// // Example sending a request using the DescribeConfigurationAggregatorsRequest method. -// req, resp := client.DescribeConfigurationAggregatorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationAggregators func (c *ConfigService) DescribeConfigurationAggregatorsRequest(input *DescribeConfigurationAggregatorsInput) (req *request.Request, output *DescribeConfigurationAggregatorsOutput) { @@ -3112,19 +3098,20 @@ func (c *ConfigService) DescribeConfigurationAggregatorsRequest(input *DescribeC // API operation DescribeConfigurationAggregators for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. // -// * NoSuchConfigurationAggregatorException -// You have specified a configuration aggregator that does not exist. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. +// +// - NoSuchConfigurationAggregatorException +// You have specified a configuration aggregator that does not exist. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - InvalidLimitException +// The specified limit is outside the allowable range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationAggregators func (c *ConfigService) DescribeConfigurationAggregators(input *DescribeConfigurationAggregatorsInput) (*DescribeConfigurationAggregatorsOutput, error) { @@ -3156,15 +3143,14 @@ func (c *ConfigService) DescribeConfigurationAggregatorsWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeConfigurationAggregators operation. -// pageNum := 0 -// err := client.DescribeConfigurationAggregatorsPages(params, -// func(page *configservice.DescribeConfigurationAggregatorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeConfigurationAggregators operation. +// pageNum := 0 +// err := client.DescribeConfigurationAggregatorsPages(params, +// func(page *configservice.DescribeConfigurationAggregatorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeConfigurationAggregatorsPages(input *DescribeConfigurationAggregatorsInput, fn func(*DescribeConfigurationAggregatorsOutput, bool) bool) error { return c.DescribeConfigurationAggregatorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3216,14 +3202,13 @@ const opDescribeConfigurationRecorderStatus = "DescribeConfigurationRecorderStat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConfigurationRecorderStatusRequest method. +// req, resp := client.DescribeConfigurationRecorderStatusRequest(params) // -// // Example sending a request using the DescribeConfigurationRecorderStatusRequest method. -// req, resp := client.DescribeConfigurationRecorderStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorderStatus func (c *ConfigService) DescribeConfigurationRecorderStatusRequest(input *DescribeConfigurationRecorderStatusInput) (req *request.Request, output *DescribeConfigurationRecorderStatusOutput) { @@ -3259,8 +3244,8 @@ func (c *ConfigService) DescribeConfigurationRecorderStatusRequest(input *Descri // API operation DescribeConfigurationRecorderStatus for usage and error information. // // Returned Error Types: -// * NoSuchConfigurationRecorderException -// You have specified a configuration recorder that does not exist. +// - NoSuchConfigurationRecorderException +// You have specified a configuration recorder that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorderStatus func (c *ConfigService) DescribeConfigurationRecorderStatus(input *DescribeConfigurationRecorderStatusInput) (*DescribeConfigurationRecorderStatusOutput, error) { @@ -3300,14 +3285,13 @@ const opDescribeConfigurationRecorders = "DescribeConfigurationRecorders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConfigurationRecordersRequest method. +// req, resp := client.DescribeConfigurationRecordersRequest(params) // -// // Example sending a request using the DescribeConfigurationRecordersRequest method. -// req, resp := client.DescribeConfigurationRecordersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorders func (c *ConfigService) DescribeConfigurationRecordersRequest(input *DescribeConfigurationRecordersInput) (req *request.Request, output *DescribeConfigurationRecordersOutput) { @@ -3343,8 +3327,8 @@ func (c *ConfigService) DescribeConfigurationRecordersRequest(input *DescribeCon // API operation DescribeConfigurationRecorders for usage and error information. // // Returned Error Types: -// * NoSuchConfigurationRecorderException -// You have specified a configuration recorder that does not exist. +// - NoSuchConfigurationRecorderException +// You have specified a configuration recorder that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorders func (c *ConfigService) DescribeConfigurationRecorders(input *DescribeConfigurationRecordersInput) (*DescribeConfigurationRecordersOutput, error) { @@ -3384,14 +3368,13 @@ const opDescribeConformancePackCompliance = "DescribeConformancePackCompliance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConformancePackComplianceRequest method. +// req, resp := client.DescribeConformancePackComplianceRequest(params) // -// // Example sending a request using the DescribeConformancePackComplianceRequest method. -// req, resp := client.DescribeConformancePackComplianceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConformancePackCompliance func (c *ConfigService) DescribeConformancePackComplianceRequest(input *DescribeConformancePackComplianceInput) (req *request.Request, output *DescribeConformancePackComplianceOutput) { @@ -3430,22 +3413,23 @@ func (c *ConfigService) DescribeConformancePackComplianceRequest(input *Describe // API operation DescribeConformancePackCompliance for usage and error information. // // Returned Error Types: -// * InvalidLimitException -// The specified limit is outside the allowable range. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidLimitException +// The specified limit is outside the allowable range. +// +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // -// * NoSuchConfigRuleInConformancePackException -// Config rule that you passed in the filter does not exist. +// - NoSuchConfigRuleInConformancePackException +// Config rule that you passed in the filter does not exist. // -// * NoSuchConformancePackException -// You specified one or more conformance packs that do not exist. +// - NoSuchConformancePackException +// You specified one or more conformance packs that do not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConformancePackCompliance func (c *ConfigService) DescribeConformancePackCompliance(input *DescribeConformancePackComplianceInput) (*DescribeConformancePackComplianceOutput, error) { @@ -3477,15 +3461,14 @@ func (c *ConfigService) DescribeConformancePackComplianceWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeConformancePackCompliance operation. -// pageNum := 0 -// err := client.DescribeConformancePackCompliancePages(params, -// func(page *configservice.DescribeConformancePackComplianceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeConformancePackCompliance operation. +// pageNum := 0 +// err := client.DescribeConformancePackCompliancePages(params, +// func(page *configservice.DescribeConformancePackComplianceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeConformancePackCompliancePages(input *DescribeConformancePackComplianceInput, fn func(*DescribeConformancePackComplianceOutput, bool) bool) error { return c.DescribeConformancePackCompliancePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3537,14 +3520,13 @@ const opDescribeConformancePackStatus = "DescribeConformancePackStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConformancePackStatusRequest method. +// req, resp := client.DescribeConformancePackStatusRequest(params) // -// // Example sending a request using the DescribeConformancePackStatusRequest method. -// req, resp := client.DescribeConformancePackStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConformancePackStatus func (c *ConfigService) DescribeConformancePackStatusRequest(input *DescribeConformancePackStatusInput) (req *request.Request, output *DescribeConformancePackStatusOutput) { @@ -3583,16 +3565,17 @@ func (c *ConfigService) DescribeConformancePackStatusRequest(input *DescribeConf // API operation DescribeConformancePackStatus for usage and error information. // // Returned Error Types: -// * InvalidLimitException -// The specified limit is outside the allowable range. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidLimitException +// The specified limit is outside the allowable range. +// +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConformancePackStatus func (c *ConfigService) DescribeConformancePackStatus(input *DescribeConformancePackStatusInput) (*DescribeConformancePackStatusOutput, error) { @@ -3624,15 +3607,14 @@ func (c *ConfigService) DescribeConformancePackStatusWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeConformancePackStatus operation. -// pageNum := 0 -// err := client.DescribeConformancePackStatusPages(params, -// func(page *configservice.DescribeConformancePackStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeConformancePackStatus operation. +// pageNum := 0 +// err := client.DescribeConformancePackStatusPages(params, +// func(page *configservice.DescribeConformancePackStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeConformancePackStatusPages(input *DescribeConformancePackStatusInput, fn func(*DescribeConformancePackStatusOutput, bool) bool) error { return c.DescribeConformancePackStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3684,14 +3666,13 @@ const opDescribeConformancePacks = "DescribeConformancePacks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConformancePacksRequest method. +// req, resp := client.DescribeConformancePacksRequest(params) // -// // Example sending a request using the DescribeConformancePacksRequest method. -// req, resp := client.DescribeConformancePacksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConformancePacks func (c *ConfigService) DescribeConformancePacksRequest(input *DescribeConformancePacksInput) (req *request.Request, output *DescribeConformancePacksOutput) { @@ -3728,19 +3709,20 @@ func (c *ConfigService) DescribeConformancePacksRequest(input *DescribeConforman // API operation DescribeConformancePacks for usage and error information. // // Returned Error Types: -// * NoSuchConformancePackException -// You specified one or more conformance packs that do not exist. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - NoSuchConformancePackException +// You specified one or more conformance packs that do not exist. +// +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConformancePacks func (c *ConfigService) DescribeConformancePacks(input *DescribeConformancePacksInput) (*DescribeConformancePacksOutput, error) { @@ -3772,15 +3754,14 @@ func (c *ConfigService) DescribeConformancePacksWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeConformancePacks operation. -// pageNum := 0 -// err := client.DescribeConformancePacksPages(params, -// func(page *configservice.DescribeConformancePacksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeConformancePacks operation. +// pageNum := 0 +// err := client.DescribeConformancePacksPages(params, +// func(page *configservice.DescribeConformancePacksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeConformancePacksPages(input *DescribeConformancePacksInput, fn func(*DescribeConformancePacksOutput, bool) bool) error { return c.DescribeConformancePacksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3832,14 +3813,13 @@ const opDescribeDeliveryChannelStatus = "DescribeDeliveryChannelStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDeliveryChannelStatusRequest method. +// req, resp := client.DescribeDeliveryChannelStatusRequest(params) // -// // Example sending a request using the DescribeDeliveryChannelStatusRequest method. -// req, resp := client.DescribeDeliveryChannelStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelStatus func (c *ConfigService) DescribeDeliveryChannelStatusRequest(input *DescribeDeliveryChannelStatusInput) (req *request.Request, output *DescribeDeliveryChannelStatusOutput) { @@ -3874,8 +3854,8 @@ func (c *ConfigService) DescribeDeliveryChannelStatusRequest(input *DescribeDeli // API operation DescribeDeliveryChannelStatus for usage and error information. // // Returned Error Types: -// * NoSuchDeliveryChannelException -// You have specified a delivery channel that does not exist. +// - NoSuchDeliveryChannelException +// You have specified a delivery channel that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannelStatus func (c *ConfigService) DescribeDeliveryChannelStatus(input *DescribeDeliveryChannelStatusInput) (*DescribeDeliveryChannelStatusOutput, error) { @@ -3915,14 +3895,13 @@ const opDescribeDeliveryChannels = "DescribeDeliveryChannels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDeliveryChannelsRequest method. +// req, resp := client.DescribeDeliveryChannelsRequest(params) // -// // Example sending a request using the DescribeDeliveryChannelsRequest method. -// req, resp := client.DescribeDeliveryChannelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannels func (c *ConfigService) DescribeDeliveryChannelsRequest(input *DescribeDeliveryChannelsInput) (req *request.Request, output *DescribeDeliveryChannelsOutput) { @@ -3957,8 +3936,8 @@ func (c *ConfigService) DescribeDeliveryChannelsRequest(input *DescribeDeliveryC // API operation DescribeDeliveryChannels for usage and error information. // // Returned Error Types: -// * NoSuchDeliveryChannelException -// You have specified a delivery channel that does not exist. +// - NoSuchDeliveryChannelException +// You have specified a delivery channel that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeDeliveryChannels func (c *ConfigService) DescribeDeliveryChannels(input *DescribeDeliveryChannelsInput) (*DescribeDeliveryChannelsOutput, error) { @@ -3998,14 +3977,13 @@ const opDescribeOrganizationConfigRuleStatuses = "DescribeOrganizationConfigRule // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrganizationConfigRuleStatusesRequest method. +// req, resp := client.DescribeOrganizationConfigRuleStatusesRequest(params) // -// // Example sending a request using the DescribeOrganizationConfigRuleStatusesRequest method. -// req, resp := client.DescribeOrganizationConfigRuleStatusesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeOrganizationConfigRuleStatuses func (c *ConfigService) DescribeOrganizationConfigRuleStatusesRequest(input *DescribeOrganizationConfigRuleStatusesInput) (req *request.Request, output *DescribeOrganizationConfigRuleStatusesOutput) { @@ -4051,42 +4029,43 @@ func (c *ConfigService) DescribeOrganizationConfigRuleStatusesRequest(input *Des // API operation DescribeOrganizationConfigRuleStatuses for usage and error information. // // Returned Error Types: -// * NoSuchOrganizationConfigRuleException -// The Config rule in the request is not valid. Verify that the rule is an organization -// Config Custom Policy rule, that the rule name is correct, and that valid -// Amazon Resouce Names (ARNs) are used before trying again. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - NoSuchOrganizationConfigRuleException +// The Config rule in the request is not valid. Verify that the rule is an organization +// Config Custom Policy rule, that the rule name is correct, and that valid +// Amazon Resouce Names (ARNs) are used before trying again. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * OrganizationAccessDeniedException -// For PutConfigurationAggregator API, you can see this exception for the following -// reasons: +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * No permission to call EnableAWSServiceAccess API +// - OrganizationAccessDeniedException +// For PutConfigurationAggregator API, you can see this exception for the following +// reasons: // -// * The configuration aggregator cannot be updated because your Amazon Web -// Services Organization management account or the delegated administrator -// role changed. Delete this aggregator and create a new one with the current -// Amazon Web Services Organization. +// - No permission to call EnableAWSServiceAccess API // -// * The configuration aggregator is associated with a previous Amazon Web -// Services Organization and Config cannot aggregate data with current Amazon -// Web Services Organization. Delete this aggregator and create a new one -// with the current Amazon Web Services Organization. +// - The configuration aggregator cannot be updated because your Amazon Web +// Services Organization management account or the delegated administrator +// role changed. Delete this aggregator and create a new one with the current +// Amazon Web Services Organization. // -// * You are not a registered delegated administrator for Config with permissions -// to call ListDelegatedAdministrators API. Ensure that the management account -// registers delagated administrator for Config service principle name before -// the delegated administrator creates an aggregator. +// - The configuration aggregator is associated with a previous Amazon Web +// Services Organization and Config cannot aggregate data with current Amazon +// Web Services Organization. Delete this aggregator and create a new one +// with the current Amazon Web Services Organization. // -// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config -// throws an exception if APIs are called from member accounts. All APIs must -// be called from organization master account. +// - You are not a registered delegated administrator for Config with permissions +// to call ListDelegatedAdministrators API. Ensure that the management account +// registers delagated administrator for Config service principle name before +// the delegated administrator creates an aggregator. +// +// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config +// throws an exception if APIs are called from member accounts. All APIs must +// be called from organization master account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeOrganizationConfigRuleStatuses func (c *ConfigService) DescribeOrganizationConfigRuleStatuses(input *DescribeOrganizationConfigRuleStatusesInput) (*DescribeOrganizationConfigRuleStatusesOutput, error) { @@ -4118,15 +4097,14 @@ func (c *ConfigService) DescribeOrganizationConfigRuleStatusesWithContext(ctx aw // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOrganizationConfigRuleStatuses operation. -// pageNum := 0 -// err := client.DescribeOrganizationConfigRuleStatusesPages(params, -// func(page *configservice.DescribeOrganizationConfigRuleStatusesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOrganizationConfigRuleStatuses operation. +// pageNum := 0 +// err := client.DescribeOrganizationConfigRuleStatusesPages(params, +// func(page *configservice.DescribeOrganizationConfigRuleStatusesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeOrganizationConfigRuleStatusesPages(input *DescribeOrganizationConfigRuleStatusesInput, fn func(*DescribeOrganizationConfigRuleStatusesOutput, bool) bool) error { return c.DescribeOrganizationConfigRuleStatusesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4178,14 +4156,13 @@ const opDescribeOrganizationConfigRules = "DescribeOrganizationConfigRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrganizationConfigRulesRequest method. +// req, resp := client.DescribeOrganizationConfigRulesRequest(params) // -// // Example sending a request using the DescribeOrganizationConfigRulesRequest method. -// req, resp := client.DescribeOrganizationConfigRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeOrganizationConfigRules func (c *ConfigService) DescribeOrganizationConfigRulesRequest(input *DescribeOrganizationConfigRulesInput) (req *request.Request, output *DescribeOrganizationConfigRulesOutput) { @@ -4227,42 +4204,43 @@ func (c *ConfigService) DescribeOrganizationConfigRulesRequest(input *DescribeOr // API operation DescribeOrganizationConfigRules for usage and error information. // // Returned Error Types: -// * NoSuchOrganizationConfigRuleException -// The Config rule in the request is not valid. Verify that the rule is an organization -// Config Custom Policy rule, that the rule name is correct, and that valid -// Amazon Resouce Names (ARNs) are used before trying again. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - NoSuchOrganizationConfigRuleException +// The Config rule in the request is not valid. Verify that the rule is an organization +// Config Custom Policy rule, that the rule name is correct, and that valid +// Amazon Resouce Names (ARNs) are used before trying again. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * OrganizationAccessDeniedException -// For PutConfigurationAggregator API, you can see this exception for the following -// reasons: +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * No permission to call EnableAWSServiceAccess API +// - OrganizationAccessDeniedException +// For PutConfigurationAggregator API, you can see this exception for the following +// reasons: // -// * The configuration aggregator cannot be updated because your Amazon Web -// Services Organization management account or the delegated administrator -// role changed. Delete this aggregator and create a new one with the current -// Amazon Web Services Organization. +// - No permission to call EnableAWSServiceAccess API // -// * The configuration aggregator is associated with a previous Amazon Web -// Services Organization and Config cannot aggregate data with current Amazon -// Web Services Organization. Delete this aggregator and create a new one -// with the current Amazon Web Services Organization. +// - The configuration aggregator cannot be updated because your Amazon Web +// Services Organization management account or the delegated administrator +// role changed. Delete this aggregator and create a new one with the current +// Amazon Web Services Organization. // -// * You are not a registered delegated administrator for Config with permissions -// to call ListDelegatedAdministrators API. Ensure that the management account -// registers delagated administrator for Config service principle name before -// the delegated administrator creates an aggregator. +// - The configuration aggregator is associated with a previous Amazon Web +// Services Organization and Config cannot aggregate data with current Amazon +// Web Services Organization. Delete this aggregator and create a new one +// with the current Amazon Web Services Organization. // -// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config -// throws an exception if APIs are called from member accounts. All APIs must -// be called from organization master account. +// - You are not a registered delegated administrator for Config with permissions +// to call ListDelegatedAdministrators API. Ensure that the management account +// registers delagated administrator for Config service principle name before +// the delegated administrator creates an aggregator. +// +// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config +// throws an exception if APIs are called from member accounts. All APIs must +// be called from organization master account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeOrganizationConfigRules func (c *ConfigService) DescribeOrganizationConfigRules(input *DescribeOrganizationConfigRulesInput) (*DescribeOrganizationConfigRulesOutput, error) { @@ -4294,15 +4272,14 @@ func (c *ConfigService) DescribeOrganizationConfigRulesWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOrganizationConfigRules operation. -// pageNum := 0 -// err := client.DescribeOrganizationConfigRulesPages(params, -// func(page *configservice.DescribeOrganizationConfigRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOrganizationConfigRules operation. +// pageNum := 0 +// err := client.DescribeOrganizationConfigRulesPages(params, +// func(page *configservice.DescribeOrganizationConfigRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeOrganizationConfigRulesPages(input *DescribeOrganizationConfigRulesInput, fn func(*DescribeOrganizationConfigRulesOutput, bool) bool) error { return c.DescribeOrganizationConfigRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4354,14 +4331,13 @@ const opDescribeOrganizationConformancePackStatuses = "DescribeOrganizationConfo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrganizationConformancePackStatusesRequest method. +// req, resp := client.DescribeOrganizationConformancePackStatusesRequest(params) // -// // Example sending a request using the DescribeOrganizationConformancePackStatusesRequest method. -// req, resp := client.DescribeOrganizationConformancePackStatusesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeOrganizationConformancePackStatuses func (c *ConfigService) DescribeOrganizationConformancePackStatusesRequest(input *DescribeOrganizationConformancePackStatusesInput) (req *request.Request, output *DescribeOrganizationConformancePackStatusesOutput) { @@ -4407,44 +4383,45 @@ func (c *ConfigService) DescribeOrganizationConformancePackStatusesRequest(input // API operation DescribeOrganizationConformancePackStatuses for usage and error information. // // Returned Error Types: -// * NoSuchOrganizationConformancePackException -// Config organization conformance pack that you passed in the filter does not -// exist. // -// For DeleteOrganizationConformancePack, you tried to delete an organization -// conformance pack that does not exist. +// - NoSuchOrganizationConformancePackException +// Config organization conformance pack that you passed in the filter does not +// exist. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// For DeleteOrganizationConformancePack, you tried to delete an organization +// conformance pack that does not exist. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * OrganizationAccessDeniedException -// For PutConfigurationAggregator API, you can see this exception for the following -// reasons: +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * No permission to call EnableAWSServiceAccess API +// - OrganizationAccessDeniedException +// For PutConfigurationAggregator API, you can see this exception for the following +// reasons: // -// * The configuration aggregator cannot be updated because your Amazon Web -// Services Organization management account or the delegated administrator -// role changed. Delete this aggregator and create a new one with the current -// Amazon Web Services Organization. +// - No permission to call EnableAWSServiceAccess API // -// * The configuration aggregator is associated with a previous Amazon Web -// Services Organization and Config cannot aggregate data with current Amazon -// Web Services Organization. Delete this aggregator and create a new one -// with the current Amazon Web Services Organization. +// - The configuration aggregator cannot be updated because your Amazon Web +// Services Organization management account or the delegated administrator +// role changed. Delete this aggregator and create a new one with the current +// Amazon Web Services Organization. // -// * You are not a registered delegated administrator for Config with permissions -// to call ListDelegatedAdministrators API. Ensure that the management account -// registers delagated administrator for Config service principle name before -// the delegated administrator creates an aggregator. +// - The configuration aggregator is associated with a previous Amazon Web +// Services Organization and Config cannot aggregate data with current Amazon +// Web Services Organization. Delete this aggregator and create a new one +// with the current Amazon Web Services Organization. // -// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config -// throws an exception if APIs are called from member accounts. All APIs must -// be called from organization master account. +// - You are not a registered delegated administrator for Config with permissions +// to call ListDelegatedAdministrators API. Ensure that the management account +// registers delagated administrator for Config service principle name before +// the delegated administrator creates an aggregator. +// +// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config +// throws an exception if APIs are called from member accounts. All APIs must +// be called from organization master account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeOrganizationConformancePackStatuses func (c *ConfigService) DescribeOrganizationConformancePackStatuses(input *DescribeOrganizationConformancePackStatusesInput) (*DescribeOrganizationConformancePackStatusesOutput, error) { @@ -4476,15 +4453,14 @@ func (c *ConfigService) DescribeOrganizationConformancePackStatusesWithContext(c // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOrganizationConformancePackStatuses operation. -// pageNum := 0 -// err := client.DescribeOrganizationConformancePackStatusesPages(params, -// func(page *configservice.DescribeOrganizationConformancePackStatusesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOrganizationConformancePackStatuses operation. +// pageNum := 0 +// err := client.DescribeOrganizationConformancePackStatusesPages(params, +// func(page *configservice.DescribeOrganizationConformancePackStatusesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeOrganizationConformancePackStatusesPages(input *DescribeOrganizationConformancePackStatusesInput, fn func(*DescribeOrganizationConformancePackStatusesOutput, bool) bool) error { return c.DescribeOrganizationConformancePackStatusesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4536,14 +4512,13 @@ const opDescribeOrganizationConformancePacks = "DescribeOrganizationConformanceP // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrganizationConformancePacksRequest method. +// req, resp := client.DescribeOrganizationConformancePacksRequest(params) // -// // Example sending a request using the DescribeOrganizationConformancePacksRequest method. -// req, resp := client.DescribeOrganizationConformancePacksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeOrganizationConformancePacks func (c *ConfigService) DescribeOrganizationConformancePacksRequest(input *DescribeOrganizationConformancePacksInput) (req *request.Request, output *DescribeOrganizationConformancePacksOutput) { @@ -4586,44 +4561,45 @@ func (c *ConfigService) DescribeOrganizationConformancePacksRequest(input *Descr // API operation DescribeOrganizationConformancePacks for usage and error information. // // Returned Error Types: -// * NoSuchOrganizationConformancePackException -// Config organization conformance pack that you passed in the filter does not -// exist. // -// For DeleteOrganizationConformancePack, you tried to delete an organization -// conformance pack that does not exist. +// - NoSuchOrganizationConformancePackException +// Config organization conformance pack that you passed in the filter does not +// exist. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// For DeleteOrganizationConformancePack, you tried to delete an organization +// conformance pack that does not exist. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * OrganizationAccessDeniedException -// For PutConfigurationAggregator API, you can see this exception for the following -// reasons: +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * No permission to call EnableAWSServiceAccess API +// - OrganizationAccessDeniedException +// For PutConfigurationAggregator API, you can see this exception for the following +// reasons: // -// * The configuration aggregator cannot be updated because your Amazon Web -// Services Organization management account or the delegated administrator -// role changed. Delete this aggregator and create a new one with the current -// Amazon Web Services Organization. +// - No permission to call EnableAWSServiceAccess API // -// * The configuration aggregator is associated with a previous Amazon Web -// Services Organization and Config cannot aggregate data with current Amazon -// Web Services Organization. Delete this aggregator and create a new one -// with the current Amazon Web Services Organization. +// - The configuration aggregator cannot be updated because your Amazon Web +// Services Organization management account or the delegated administrator +// role changed. Delete this aggregator and create a new one with the current +// Amazon Web Services Organization. // -// * You are not a registered delegated administrator for Config with permissions -// to call ListDelegatedAdministrators API. Ensure that the management account -// registers delagated administrator for Config service principle name before -// the delegated administrator creates an aggregator. +// - The configuration aggregator is associated with a previous Amazon Web +// Services Organization and Config cannot aggregate data with current Amazon +// Web Services Organization. Delete this aggregator and create a new one +// with the current Amazon Web Services Organization. // -// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config -// throws an exception if APIs are called from member accounts. All APIs must -// be called from organization master account. +// - You are not a registered delegated administrator for Config with permissions +// to call ListDelegatedAdministrators API. Ensure that the management account +// registers delagated administrator for Config service principle name before +// the delegated administrator creates an aggregator. +// +// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config +// throws an exception if APIs are called from member accounts. All APIs must +// be called from organization master account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeOrganizationConformancePacks func (c *ConfigService) DescribeOrganizationConformancePacks(input *DescribeOrganizationConformancePacksInput) (*DescribeOrganizationConformancePacksOutput, error) { @@ -4655,15 +4631,14 @@ func (c *ConfigService) DescribeOrganizationConformancePacksWithContext(ctx aws. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOrganizationConformancePacks operation. -// pageNum := 0 -// err := client.DescribeOrganizationConformancePacksPages(params, -// func(page *configservice.DescribeOrganizationConformancePacksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOrganizationConformancePacks operation. +// pageNum := 0 +// err := client.DescribeOrganizationConformancePacksPages(params, +// func(page *configservice.DescribeOrganizationConformancePacksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeOrganizationConformancePacksPages(input *DescribeOrganizationConformancePacksInput, fn func(*DescribeOrganizationConformancePacksOutput, bool) bool) error { return c.DescribeOrganizationConformancePacksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4715,14 +4690,13 @@ const opDescribePendingAggregationRequests = "DescribePendingAggregationRequests // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePendingAggregationRequestsRequest method. +// req, resp := client.DescribePendingAggregationRequestsRequest(params) // -// // Example sending a request using the DescribePendingAggregationRequestsRequest method. -// req, resp := client.DescribePendingAggregationRequestsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribePendingAggregationRequests func (c *ConfigService) DescribePendingAggregationRequestsRequest(input *DescribePendingAggregationRequestsInput) (req *request.Request, output *DescribePendingAggregationRequestsOutput) { @@ -4759,16 +4733,17 @@ func (c *ConfigService) DescribePendingAggregationRequestsRequest(input *Describ // API operation DescribePendingAggregationRequests for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. +// +// - InvalidLimitException +// The specified limit is outside the allowable range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribePendingAggregationRequests func (c *ConfigService) DescribePendingAggregationRequests(input *DescribePendingAggregationRequestsInput) (*DescribePendingAggregationRequestsOutput, error) { @@ -4800,15 +4775,14 @@ func (c *ConfigService) DescribePendingAggregationRequestsWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePendingAggregationRequests operation. -// pageNum := 0 -// err := client.DescribePendingAggregationRequestsPages(params, -// func(page *configservice.DescribePendingAggregationRequestsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePendingAggregationRequests operation. +// pageNum := 0 +// err := client.DescribePendingAggregationRequestsPages(params, +// func(page *configservice.DescribePendingAggregationRequestsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribePendingAggregationRequestsPages(input *DescribePendingAggregationRequestsInput, fn func(*DescribePendingAggregationRequestsOutput, bool) bool) error { return c.DescribePendingAggregationRequestsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4860,14 +4834,13 @@ const opDescribeRemediationConfigurations = "DescribeRemediationConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRemediationConfigurationsRequest method. +// req, resp := client.DescribeRemediationConfigurationsRequest(params) // -// // Example sending a request using the DescribeRemediationConfigurationsRequest method. -// req, resp := client.DescribeRemediationConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeRemediationConfigurations func (c *ConfigService) DescribeRemediationConfigurationsRequest(input *DescribeRemediationConfigurationsInput) (req *request.Request, output *DescribeRemediationConfigurationsOutput) { @@ -4934,14 +4907,13 @@ const opDescribeRemediationExceptions = "DescribeRemediationExceptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRemediationExceptionsRequest method. +// req, resp := client.DescribeRemediationExceptionsRequest(params) // -// // Example sending a request using the DescribeRemediationExceptionsRequest method. -// req, resp := client.DescribeRemediationExceptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeRemediationExceptions func (c *ConfigService) DescribeRemediationExceptionsRequest(input *DescribeRemediationExceptionsInput) (req *request.Request, output *DescribeRemediationExceptionsOutput) { @@ -4990,13 +4962,14 @@ func (c *ConfigService) DescribeRemediationExceptionsRequest(input *DescribeReme // API operation DescribeRemediationExceptions for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. // -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. +// +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeRemediationExceptions func (c *ConfigService) DescribeRemediationExceptions(input *DescribeRemediationExceptionsInput) (*DescribeRemediationExceptionsOutput, error) { @@ -5028,15 +5001,14 @@ func (c *ConfigService) DescribeRemediationExceptionsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeRemediationExceptions operation. -// pageNum := 0 -// err := client.DescribeRemediationExceptionsPages(params, -// func(page *configservice.DescribeRemediationExceptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeRemediationExceptions operation. +// pageNum := 0 +// err := client.DescribeRemediationExceptionsPages(params, +// func(page *configservice.DescribeRemediationExceptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeRemediationExceptionsPages(input *DescribeRemediationExceptionsInput, fn func(*DescribeRemediationExceptionsOutput, bool) bool) error { return c.DescribeRemediationExceptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5088,14 +5060,13 @@ const opDescribeRemediationExecutionStatus = "DescribeRemediationExecutionStatus // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRemediationExecutionStatusRequest method. +// req, resp := client.DescribeRemediationExecutionStatusRequest(params) // -// // Example sending a request using the DescribeRemediationExecutionStatusRequest method. -// req, resp := client.DescribeRemediationExecutionStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeRemediationExecutionStatus func (c *ConfigService) DescribeRemediationExecutionStatusRequest(input *DescribeRemediationExecutionStatusInput) (req *request.Request, output *DescribeRemediationExecutionStatusOutput) { @@ -5135,16 +5106,17 @@ func (c *ConfigService) DescribeRemediationExecutionStatusRequest(input *Describ // API operation DescribeRemediationExecutionStatus for usage and error information. // // Returned Error Types: -// * NoSuchRemediationConfigurationException -// You specified an Config rule without a remediation configuration. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - NoSuchRemediationConfigurationException +// You specified an Config rule without a remediation configuration. +// +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeRemediationExecutionStatus func (c *ConfigService) DescribeRemediationExecutionStatus(input *DescribeRemediationExecutionStatusInput) (*DescribeRemediationExecutionStatusOutput, error) { @@ -5176,15 +5148,14 @@ func (c *ConfigService) DescribeRemediationExecutionStatusWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeRemediationExecutionStatus operation. -// pageNum := 0 -// err := client.DescribeRemediationExecutionStatusPages(params, -// func(page *configservice.DescribeRemediationExecutionStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeRemediationExecutionStatus operation. +// pageNum := 0 +// err := client.DescribeRemediationExecutionStatusPages(params, +// func(page *configservice.DescribeRemediationExecutionStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeRemediationExecutionStatusPages(input *DescribeRemediationExecutionStatusInput, fn func(*DescribeRemediationExecutionStatusOutput, bool) bool) error { return c.DescribeRemediationExecutionStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5236,14 +5207,13 @@ const opDescribeRetentionConfigurations = "DescribeRetentionConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRetentionConfigurationsRequest method. +// req, resp := client.DescribeRetentionConfigurationsRequest(params) // -// // Example sending a request using the DescribeRetentionConfigurationsRequest method. -// req, resp := client.DescribeRetentionConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeRetentionConfigurations func (c *ConfigService) DescribeRetentionConfigurationsRequest(input *DescribeRetentionConfigurationsInput) (req *request.Request, output *DescribeRetentionConfigurationsOutput) { @@ -5285,16 +5255,17 @@ func (c *ConfigService) DescribeRetentionConfigurationsRequest(input *DescribeRe // API operation DescribeRetentionConfigurations for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. // -// * NoSuchRetentionConfigurationException -// You have specified a retention configuration that does not exist. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. +// +// - NoSuchRetentionConfigurationException +// You have specified a retention configuration that does not exist. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeRetentionConfigurations func (c *ConfigService) DescribeRetentionConfigurations(input *DescribeRetentionConfigurationsInput) (*DescribeRetentionConfigurationsOutput, error) { @@ -5326,15 +5297,14 @@ func (c *ConfigService) DescribeRetentionConfigurationsWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeRetentionConfigurations operation. -// pageNum := 0 -// err := client.DescribeRetentionConfigurationsPages(params, -// func(page *configservice.DescribeRetentionConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeRetentionConfigurations operation. +// pageNum := 0 +// err := client.DescribeRetentionConfigurationsPages(params, +// func(page *configservice.DescribeRetentionConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) DescribeRetentionConfigurationsPages(input *DescribeRetentionConfigurationsInput, fn func(*DescribeRetentionConfigurationsOutput, bool) bool) error { return c.DescribeRetentionConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5386,14 +5356,13 @@ const opGetAggregateComplianceDetailsByConfigRule = "GetAggregateComplianceDetai // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAggregateComplianceDetailsByConfigRuleRequest method. +// req, resp := client.GetAggregateComplianceDetailsByConfigRuleRequest(params) // -// // Example sending a request using the GetAggregateComplianceDetailsByConfigRuleRequest method. -// req, resp := client.GetAggregateComplianceDetailsByConfigRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateComplianceDetailsByConfigRule func (c *ConfigService) GetAggregateComplianceDetailsByConfigRuleRequest(input *GetAggregateComplianceDetailsByConfigRuleInput) (req *request.Request, output *GetAggregateComplianceDetailsByConfigRuleOutput) { @@ -5436,26 +5405,27 @@ func (c *ConfigService) GetAggregateComplianceDetailsByConfigRuleRequest(input * // API operation GetAggregateComplianceDetailsByConfigRule for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. +// +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * NoSuchConfigurationAggregatorException -// You have specified a configuration aggregator that does not exist. +// - NoSuchConfigurationAggregatorException +// You have specified a configuration aggregator that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateComplianceDetailsByConfigRule func (c *ConfigService) GetAggregateComplianceDetailsByConfigRule(input *GetAggregateComplianceDetailsByConfigRuleInput) (*GetAggregateComplianceDetailsByConfigRuleOutput, error) { @@ -5487,15 +5457,14 @@ func (c *ConfigService) GetAggregateComplianceDetailsByConfigRuleWithContext(ctx // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetAggregateComplianceDetailsByConfigRule operation. -// pageNum := 0 -// err := client.GetAggregateComplianceDetailsByConfigRulePages(params, -// func(page *configservice.GetAggregateComplianceDetailsByConfigRuleOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetAggregateComplianceDetailsByConfigRule operation. +// pageNum := 0 +// err := client.GetAggregateComplianceDetailsByConfigRulePages(params, +// func(page *configservice.GetAggregateComplianceDetailsByConfigRuleOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) GetAggregateComplianceDetailsByConfigRulePages(input *GetAggregateComplianceDetailsByConfigRuleInput, fn func(*GetAggregateComplianceDetailsByConfigRuleOutput, bool) bool) error { return c.GetAggregateComplianceDetailsByConfigRulePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5547,14 +5516,13 @@ const opGetAggregateConfigRuleComplianceSummary = "GetAggregateConfigRuleComplia // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAggregateConfigRuleComplianceSummaryRequest method. +// req, resp := client.GetAggregateConfigRuleComplianceSummaryRequest(params) // -// // Example sending a request using the GetAggregateConfigRuleComplianceSummaryRequest method. -// req, resp := client.GetAggregateConfigRuleComplianceSummaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateConfigRuleComplianceSummary func (c *ConfigService) GetAggregateConfigRuleComplianceSummaryRequest(input *GetAggregateConfigRuleComplianceSummaryInput) (req *request.Request, output *GetAggregateConfigRuleComplianceSummaryOutput) { @@ -5595,26 +5563,27 @@ func (c *ConfigService) GetAggregateConfigRuleComplianceSummaryRequest(input *Ge // API operation GetAggregateConfigRuleComplianceSummary for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. +// +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * NoSuchConfigurationAggregatorException -// You have specified a configuration aggregator that does not exist. +// - NoSuchConfigurationAggregatorException +// You have specified a configuration aggregator that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateConfigRuleComplianceSummary func (c *ConfigService) GetAggregateConfigRuleComplianceSummary(input *GetAggregateConfigRuleComplianceSummaryInput) (*GetAggregateConfigRuleComplianceSummaryOutput, error) { @@ -5646,15 +5615,14 @@ func (c *ConfigService) GetAggregateConfigRuleComplianceSummaryWithContext(ctx a // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetAggregateConfigRuleComplianceSummary operation. -// pageNum := 0 -// err := client.GetAggregateConfigRuleComplianceSummaryPages(params, -// func(page *configservice.GetAggregateConfigRuleComplianceSummaryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetAggregateConfigRuleComplianceSummary operation. +// pageNum := 0 +// err := client.GetAggregateConfigRuleComplianceSummaryPages(params, +// func(page *configservice.GetAggregateConfigRuleComplianceSummaryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) GetAggregateConfigRuleComplianceSummaryPages(input *GetAggregateConfigRuleComplianceSummaryInput, fn func(*GetAggregateConfigRuleComplianceSummaryOutput, bool) bool) error { return c.GetAggregateConfigRuleComplianceSummaryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5706,14 +5674,13 @@ const opGetAggregateConformancePackComplianceSummary = "GetAggregateConformanceP // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAggregateConformancePackComplianceSummaryRequest method. +// req, resp := client.GetAggregateConformancePackComplianceSummaryRequest(params) // -// // Example sending a request using the GetAggregateConformancePackComplianceSummaryRequest method. -// req, resp := client.GetAggregateConformancePackComplianceSummaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateConformancePackComplianceSummary func (c *ConfigService) GetAggregateConformancePackComplianceSummaryRequest(input *GetAggregateConformancePackComplianceSummaryInput) (req *request.Request, output *GetAggregateConformancePackComplianceSummaryOutput) { @@ -5756,26 +5723,27 @@ func (c *ConfigService) GetAggregateConformancePackComplianceSummaryRequest(inpu // API operation GetAggregateConformancePackComplianceSummary for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * NoSuchConfigurationAggregatorException -// You have specified a configuration aggregator that does not exist. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. +// +// - NoSuchConfigurationAggregatorException +// You have specified a configuration aggregator that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateConformancePackComplianceSummary func (c *ConfigService) GetAggregateConformancePackComplianceSummary(input *GetAggregateConformancePackComplianceSummaryInput) (*GetAggregateConformancePackComplianceSummaryOutput, error) { @@ -5807,15 +5775,14 @@ func (c *ConfigService) GetAggregateConformancePackComplianceSummaryWithContext( // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetAggregateConformancePackComplianceSummary operation. -// pageNum := 0 -// err := client.GetAggregateConformancePackComplianceSummaryPages(params, -// func(page *configservice.GetAggregateConformancePackComplianceSummaryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetAggregateConformancePackComplianceSummary operation. +// pageNum := 0 +// err := client.GetAggregateConformancePackComplianceSummaryPages(params, +// func(page *configservice.GetAggregateConformancePackComplianceSummaryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) GetAggregateConformancePackComplianceSummaryPages(input *GetAggregateConformancePackComplianceSummaryInput, fn func(*GetAggregateConformancePackComplianceSummaryOutput, bool) bool) error { return c.GetAggregateConformancePackComplianceSummaryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5867,14 +5834,13 @@ const opGetAggregateDiscoveredResourceCounts = "GetAggregateDiscoveredResourceCo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAggregateDiscoveredResourceCountsRequest method. +// req, resp := client.GetAggregateDiscoveredResourceCountsRequest(params) // -// // Example sending a request using the GetAggregateDiscoveredResourceCountsRequest method. -// req, resp := client.GetAggregateDiscoveredResourceCountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateDiscoveredResourceCounts func (c *ConfigService) GetAggregateDiscoveredResourceCountsRequest(input *GetAggregateDiscoveredResourceCountsInput) (req *request.Request, output *GetAggregateDiscoveredResourceCountsOutput) { @@ -5919,26 +5885,27 @@ func (c *ConfigService) GetAggregateDiscoveredResourceCountsRequest(input *GetAg // API operation GetAggregateDiscoveredResourceCounts for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * NoSuchConfigurationAggregatorException -// You have specified a configuration aggregator that does not exist. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. +// +// - NoSuchConfigurationAggregatorException +// You have specified a configuration aggregator that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateDiscoveredResourceCounts func (c *ConfigService) GetAggregateDiscoveredResourceCounts(input *GetAggregateDiscoveredResourceCountsInput) (*GetAggregateDiscoveredResourceCountsOutput, error) { @@ -5970,15 +5937,14 @@ func (c *ConfigService) GetAggregateDiscoveredResourceCountsWithContext(ctx aws. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetAggregateDiscoveredResourceCounts operation. -// pageNum := 0 -// err := client.GetAggregateDiscoveredResourceCountsPages(params, -// func(page *configservice.GetAggregateDiscoveredResourceCountsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetAggregateDiscoveredResourceCounts operation. +// pageNum := 0 +// err := client.GetAggregateDiscoveredResourceCountsPages(params, +// func(page *configservice.GetAggregateDiscoveredResourceCountsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) GetAggregateDiscoveredResourceCountsPages(input *GetAggregateDiscoveredResourceCountsInput, fn func(*GetAggregateDiscoveredResourceCountsOutput, bool) bool) error { return c.GetAggregateDiscoveredResourceCountsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6030,14 +5996,13 @@ const opGetAggregateResourceConfig = "GetAggregateResourceConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAggregateResourceConfigRequest method. +// req, resp := client.GetAggregateResourceConfigRequest(params) // -// // Example sending a request using the GetAggregateResourceConfigRequest method. -// req, resp := client.GetAggregateResourceConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateResourceConfig func (c *ConfigService) GetAggregateResourceConfigRequest(input *GetAggregateResourceConfigInput) (req *request.Request, output *GetAggregateResourceConfigOutput) { @@ -6069,25 +6034,26 @@ func (c *ConfigService) GetAggregateResourceConfigRequest(input *GetAggregateRes // API operation GetAggregateResourceConfig for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// * NoSuchConfigurationAggregatorException -// You have specified a configuration aggregator that does not exist. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * OversizedConfigurationItemException -// The configuration item size is outside the allowable range. +// - NoSuchConfigurationAggregatorException +// You have specified a configuration aggregator that does not exist. // -// * ResourceNotDiscoveredException -// You have specified a resource that is either unknown or has not been discovered. +// - OversizedConfigurationItemException +// The configuration item size is outside the allowable range. +// +// - ResourceNotDiscoveredException +// You have specified a resource that is either unknown or has not been discovered. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetAggregateResourceConfig func (c *ConfigService) GetAggregateResourceConfig(input *GetAggregateResourceConfigInput) (*GetAggregateResourceConfigOutput, error) { @@ -6127,14 +6093,13 @@ const opGetComplianceDetailsByConfigRule = "GetComplianceDetailsByConfigRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetComplianceDetailsByConfigRuleRequest method. +// req, resp := client.GetComplianceDetailsByConfigRuleRequest(params) // -// // Example sending a request using the GetComplianceDetailsByConfigRuleRequest method. -// req, resp := client.GetComplianceDetailsByConfigRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByConfigRule func (c *ConfigService) GetComplianceDetailsByConfigRuleRequest(input *GetComplianceDetailsByConfigRuleInput) (req *request.Request, output *GetComplianceDetailsByConfigRuleOutput) { @@ -6174,18 +6139,19 @@ func (c *ConfigService) GetComplianceDetailsByConfigRuleRequest(input *GetCompli // API operation GetComplianceDetailsByConfigRule for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. +// +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * NoSuchConfigRuleException -// The Config rule in the request is not valid. Verify that the rule is an Config -// Custom Policy rule, that the rule name is correct, and that valid Amazon -// Resouce Names (ARNs) are used before trying again. +// - NoSuchConfigRuleException +// The Config rule in the request is not valid. Verify that the rule is an Config +// Custom Policy rule, that the rule name is correct, and that valid Amazon +// Resouce Names (ARNs) are used before trying again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByConfigRule func (c *ConfigService) GetComplianceDetailsByConfigRule(input *GetComplianceDetailsByConfigRuleInput) (*GetComplianceDetailsByConfigRuleOutput, error) { @@ -6217,15 +6183,14 @@ func (c *ConfigService) GetComplianceDetailsByConfigRuleWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetComplianceDetailsByConfigRule operation. -// pageNum := 0 -// err := client.GetComplianceDetailsByConfigRulePages(params, -// func(page *configservice.GetComplianceDetailsByConfigRuleOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetComplianceDetailsByConfigRule operation. +// pageNum := 0 +// err := client.GetComplianceDetailsByConfigRulePages(params, +// func(page *configservice.GetComplianceDetailsByConfigRuleOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) GetComplianceDetailsByConfigRulePages(input *GetComplianceDetailsByConfigRuleInput, fn func(*GetComplianceDetailsByConfigRuleOutput, bool) bool) error { return c.GetComplianceDetailsByConfigRulePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6277,14 +6242,13 @@ const opGetComplianceDetailsByResource = "GetComplianceDetailsByResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetComplianceDetailsByResourceRequest method. +// req, resp := client.GetComplianceDetailsByResourceRequest(params) // -// // Example sending a request using the GetComplianceDetailsByResourceRequest method. -// req, resp := client.GetComplianceDetailsByResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResource func (c *ConfigService) GetComplianceDetailsByResourceRequest(input *GetComplianceDetailsByResourceInput) (req *request.Request, output *GetComplianceDetailsByResourceOutput) { @@ -6324,9 +6288,9 @@ func (c *ConfigService) GetComplianceDetailsByResourceRequest(input *GetComplian // API operation GetComplianceDetailsByResource for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceDetailsByResource func (c *ConfigService) GetComplianceDetailsByResource(input *GetComplianceDetailsByResourceInput) (*GetComplianceDetailsByResourceOutput, error) { @@ -6358,15 +6322,14 @@ func (c *ConfigService) GetComplianceDetailsByResourceWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetComplianceDetailsByResource operation. -// pageNum := 0 -// err := client.GetComplianceDetailsByResourcePages(params, -// func(page *configservice.GetComplianceDetailsByResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetComplianceDetailsByResource operation. +// pageNum := 0 +// err := client.GetComplianceDetailsByResourcePages(params, +// func(page *configservice.GetComplianceDetailsByResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) GetComplianceDetailsByResourcePages(input *GetComplianceDetailsByResourceInput, fn func(*GetComplianceDetailsByResourceOutput, bool) bool) error { return c.GetComplianceDetailsByResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6418,14 +6381,13 @@ const opGetComplianceSummaryByConfigRule = "GetComplianceSummaryByConfigRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetComplianceSummaryByConfigRuleRequest method. +// req, resp := client.GetComplianceSummaryByConfigRuleRequest(params) // -// // Example sending a request using the GetComplianceSummaryByConfigRuleRequest method. -// req, resp := client.GetComplianceSummaryByConfigRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByConfigRule func (c *ConfigService) GetComplianceSummaryByConfigRuleRequest(input *GetComplianceSummaryByConfigRuleInput) (req *request.Request, output *GetComplianceSummaryByConfigRuleOutput) { @@ -6493,14 +6455,13 @@ const opGetComplianceSummaryByResourceType = "GetComplianceSummaryByResourceType // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetComplianceSummaryByResourceTypeRequest method. +// req, resp := client.GetComplianceSummaryByResourceTypeRequest(params) // -// // Example sending a request using the GetComplianceSummaryByResourceTypeRequest method. -// req, resp := client.GetComplianceSummaryByResourceTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByResourceType func (c *ConfigService) GetComplianceSummaryByResourceTypeRequest(input *GetComplianceSummaryByResourceTypeInput) (req *request.Request, output *GetComplianceSummaryByResourceTypeOutput) { @@ -6533,9 +6494,9 @@ func (c *ConfigService) GetComplianceSummaryByResourceTypeRequest(input *GetComp // API operation GetComplianceSummaryByResourceType for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetComplianceSummaryByResourceType func (c *ConfigService) GetComplianceSummaryByResourceType(input *GetComplianceSummaryByResourceTypeInput) (*GetComplianceSummaryByResourceTypeOutput, error) { @@ -6575,14 +6536,13 @@ const opGetConformancePackComplianceDetails = "GetConformancePackComplianceDetai // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConformancePackComplianceDetailsRequest method. +// req, resp := client.GetConformancePackComplianceDetailsRequest(params) // -// // Example sending a request using the GetConformancePackComplianceDetailsRequest method. -// req, resp := client.GetConformancePackComplianceDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetConformancePackComplianceDetails func (c *ConfigService) GetConformancePackComplianceDetailsRequest(input *GetConformancePackComplianceDetailsInput) (req *request.Request, output *GetConformancePackComplianceDetailsOutput) { @@ -6620,22 +6580,23 @@ func (c *ConfigService) GetConformancePackComplianceDetailsRequest(input *GetCon // API operation GetConformancePackComplianceDetails for usage and error information. // // Returned Error Types: -// * InvalidLimitException -// The specified limit is outside the allowable range. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * NoSuchConformancePackException -// You specified one or more conformance packs that do not exist. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * NoSuchConfigRuleInConformancePackException -// Config rule that you passed in the filter does not exist. +// - NoSuchConformancePackException +// You specified one or more conformance packs that do not exist. // -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - NoSuchConfigRuleInConformancePackException +// Config rule that you passed in the filter does not exist. +// +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetConformancePackComplianceDetails func (c *ConfigService) GetConformancePackComplianceDetails(input *GetConformancePackComplianceDetailsInput) (*GetConformancePackComplianceDetailsOutput, error) { @@ -6667,15 +6628,14 @@ func (c *ConfigService) GetConformancePackComplianceDetailsWithContext(ctx aws.C // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetConformancePackComplianceDetails operation. -// pageNum := 0 -// err := client.GetConformancePackComplianceDetailsPages(params, -// func(page *configservice.GetConformancePackComplianceDetailsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetConformancePackComplianceDetails operation. +// pageNum := 0 +// err := client.GetConformancePackComplianceDetailsPages(params, +// func(page *configservice.GetConformancePackComplianceDetailsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) GetConformancePackComplianceDetailsPages(input *GetConformancePackComplianceDetailsInput, fn func(*GetConformancePackComplianceDetailsOutput, bool) bool) error { return c.GetConformancePackComplianceDetailsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6727,14 +6687,13 @@ const opGetConformancePackComplianceSummary = "GetConformancePackComplianceSumma // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConformancePackComplianceSummaryRequest method. +// req, resp := client.GetConformancePackComplianceSummaryRequest(params) // -// // Example sending a request using the GetConformancePackComplianceSummaryRequest method. -// req, resp := client.GetConformancePackComplianceSummaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetConformancePackComplianceSummary func (c *ConfigService) GetConformancePackComplianceSummaryRequest(input *GetConformancePackComplianceSummaryInput) (req *request.Request, output *GetConformancePackComplianceSummaryOutput) { @@ -6772,15 +6731,16 @@ func (c *ConfigService) GetConformancePackComplianceSummaryRequest(input *GetCon // API operation GetConformancePackComplianceSummary for usage and error information. // // Returned Error Types: -// * NoSuchConformancePackException -// You specified one or more conformance packs that do not exist. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - NoSuchConformancePackException +// You specified one or more conformance packs that do not exist. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidLimitException +// The specified limit is outside the allowable range. +// +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetConformancePackComplianceSummary func (c *ConfigService) GetConformancePackComplianceSummary(input *GetConformancePackComplianceSummaryInput) (*GetConformancePackComplianceSummaryOutput, error) { @@ -6812,15 +6772,14 @@ func (c *ConfigService) GetConformancePackComplianceSummaryWithContext(ctx aws.C // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetConformancePackComplianceSummary operation. -// pageNum := 0 -// err := client.GetConformancePackComplianceSummaryPages(params, -// func(page *configservice.GetConformancePackComplianceSummaryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetConformancePackComplianceSummary operation. +// pageNum := 0 +// err := client.GetConformancePackComplianceSummaryPages(params, +// func(page *configservice.GetConformancePackComplianceSummaryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) GetConformancePackComplianceSummaryPages(input *GetConformancePackComplianceSummaryInput, fn func(*GetConformancePackComplianceSummaryOutput, bool) bool) error { return c.GetConformancePackComplianceSummaryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6872,14 +6831,13 @@ const opGetCustomRulePolicy = "GetCustomRulePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCustomRulePolicyRequest method. +// req, resp := client.GetCustomRulePolicyRequest(params) // -// // Example sending a request using the GetCustomRulePolicyRequest method. -// req, resp := client.GetCustomRulePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetCustomRulePolicy func (c *ConfigService) GetCustomRulePolicyRequest(input *GetCustomRulePolicyInput) (req *request.Request, output *GetCustomRulePolicyOutput) { @@ -6911,10 +6869,10 @@ func (c *ConfigService) GetCustomRulePolicyRequest(input *GetCustomRulePolicyInp // API operation GetCustomRulePolicy for usage and error information. // // Returned Error Types: -// * NoSuchConfigRuleException -// The Config rule in the request is not valid. Verify that the rule is an Config -// Custom Policy rule, that the rule name is correct, and that valid Amazon -// Resouce Names (ARNs) are used before trying again. +// - NoSuchConfigRuleException +// The Config rule in the request is not valid. Verify that the rule is an Config +// Custom Policy rule, that the rule name is correct, and that valid Amazon +// Resouce Names (ARNs) are used before trying again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetCustomRulePolicy func (c *ConfigService) GetCustomRulePolicy(input *GetCustomRulePolicyInput) (*GetCustomRulePolicyOutput, error) { @@ -6954,14 +6912,13 @@ const opGetDiscoveredResourceCounts = "GetDiscoveredResourceCounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDiscoveredResourceCountsRequest method. +// req, resp := client.GetDiscoveredResourceCountsRequest(params) // -// // Example sending a request using the GetDiscoveredResourceCountsRequest method. -// req, resp := client.GetDiscoveredResourceCountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCounts func (c *ConfigService) GetDiscoveredResourceCountsRequest(input *GetDiscoveredResourceCountsInput) (req *request.Request, output *GetDiscoveredResourceCountsOutput) { @@ -6992,7 +6949,7 @@ func (c *ConfigService) GetDiscoveredResourceCountsRequest(input *GetDiscoveredR // number of resources that Config is recording in this region for your Amazon // Web Services account. // -// Example +// # Example // // Config is recording three resource types in the US East (Ohio) Region for // your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets. @@ -7002,11 +6959,11 @@ func (c *ConfigService) GetDiscoveredResourceCountsRequest(input *GetDiscoveredR // // Config returns the following: // -// * The resource types (EC2 instances, IAM users, and S3 buckets). +// - The resource types (EC2 instances, IAM users, and S3 buckets). // -// * The number of each resource type (25, 20, and 15). +// - The number of each resource type (25, 20, and 15). // -// * The total number of all resources (60). +// - The total number of all resources (60). // // The response is paginated. By default, Config lists 100 ResourceCount objects // on each page. You can customize this number with the limit parameter. The @@ -7016,9 +6973,9 @@ func (c *ConfigService) GetDiscoveredResourceCountsRequest(input *GetDiscoveredR // If you make a call to the GetDiscoveredResourceCounts action, you might not // immediately receive resource counts in the following situations: // -// * You are a new Config customer. +// - You are a new Config customer. // -// * You just enabled resource recording. +// - You just enabled resource recording. // // It might take a few minutes for Config to record and count your resources. // Wait a few minutes and then retry the GetDiscoveredResourceCounts action. @@ -7031,23 +6988,24 @@ func (c *ConfigService) GetDiscoveredResourceCountsRequest(input *GetDiscoveredR // API operation GetDiscoveredResourceCounts for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. +// +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCounts func (c *ConfigService) GetDiscoveredResourceCounts(input *GetDiscoveredResourceCountsInput) (*GetDiscoveredResourceCountsOutput, error) { @@ -7079,15 +7037,14 @@ func (c *ConfigService) GetDiscoveredResourceCountsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetDiscoveredResourceCounts operation. -// pageNum := 0 -// err := client.GetDiscoveredResourceCountsPages(params, -// func(page *configservice.GetDiscoveredResourceCountsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetDiscoveredResourceCounts operation. +// pageNum := 0 +// err := client.GetDiscoveredResourceCountsPages(params, +// func(page *configservice.GetDiscoveredResourceCountsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) GetDiscoveredResourceCountsPages(input *GetDiscoveredResourceCountsInput, fn func(*GetDiscoveredResourceCountsOutput, bool) bool) error { return c.GetDiscoveredResourceCountsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7139,14 +7096,13 @@ const opGetOrganizationConfigRuleDetailedStatus = "GetOrganizationConfigRuleDeta // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOrganizationConfigRuleDetailedStatusRequest method. +// req, resp := client.GetOrganizationConfigRuleDetailedStatusRequest(params) // -// // Example sending a request using the GetOrganizationConfigRuleDetailedStatusRequest method. -// req, resp := client.GetOrganizationConfigRuleDetailedStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetOrganizationConfigRuleDetailedStatus func (c *ConfigService) GetOrganizationConfigRuleDetailedStatusRequest(input *GetOrganizationConfigRuleDetailedStatusInput) (req *request.Request, output *GetOrganizationConfigRuleDetailedStatusOutput) { @@ -7184,42 +7140,43 @@ func (c *ConfigService) GetOrganizationConfigRuleDetailedStatusRequest(input *Ge // API operation GetOrganizationConfigRuleDetailedStatus for usage and error information. // // Returned Error Types: -// * NoSuchOrganizationConfigRuleException -// The Config rule in the request is not valid. Verify that the rule is an organization -// Config Custom Policy rule, that the rule name is correct, and that valid -// Amazon Resouce Names (ARNs) are used before trying again. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - NoSuchOrganizationConfigRuleException +// The Config rule in the request is not valid. Verify that the rule is an organization +// Config Custom Policy rule, that the rule name is correct, and that valid +// Amazon Resouce Names (ARNs) are used before trying again. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * OrganizationAccessDeniedException -// For PutConfigurationAggregator API, you can see this exception for the following -// reasons: +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * No permission to call EnableAWSServiceAccess API +// - OrganizationAccessDeniedException +// For PutConfigurationAggregator API, you can see this exception for the following +// reasons: // -// * The configuration aggregator cannot be updated because your Amazon Web -// Services Organization management account or the delegated administrator -// role changed. Delete this aggregator and create a new one with the current -// Amazon Web Services Organization. +// - No permission to call EnableAWSServiceAccess API // -// * The configuration aggregator is associated with a previous Amazon Web -// Services Organization and Config cannot aggregate data with current Amazon -// Web Services Organization. Delete this aggregator and create a new one -// with the current Amazon Web Services Organization. +// - The configuration aggregator cannot be updated because your Amazon Web +// Services Organization management account or the delegated administrator +// role changed. Delete this aggregator and create a new one with the current +// Amazon Web Services Organization. // -// * You are not a registered delegated administrator for Config with permissions -// to call ListDelegatedAdministrators API. Ensure that the management account -// registers delagated administrator for Config service principle name before -// the delegated administrator creates an aggregator. +// - The configuration aggregator is associated with a previous Amazon Web +// Services Organization and Config cannot aggregate data with current Amazon +// Web Services Organization. Delete this aggregator and create a new one +// with the current Amazon Web Services Organization. // -// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config -// throws an exception if APIs are called from member accounts. All APIs must -// be called from organization master account. +// - You are not a registered delegated administrator for Config with permissions +// to call ListDelegatedAdministrators API. Ensure that the management account +// registers delagated administrator for Config service principle name before +// the delegated administrator creates an aggregator. +// +// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config +// throws an exception if APIs are called from member accounts. All APIs must +// be called from organization master account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetOrganizationConfigRuleDetailedStatus func (c *ConfigService) GetOrganizationConfigRuleDetailedStatus(input *GetOrganizationConfigRuleDetailedStatusInput) (*GetOrganizationConfigRuleDetailedStatusOutput, error) { @@ -7251,15 +7208,14 @@ func (c *ConfigService) GetOrganizationConfigRuleDetailedStatusWithContext(ctx a // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetOrganizationConfigRuleDetailedStatus operation. -// pageNum := 0 -// err := client.GetOrganizationConfigRuleDetailedStatusPages(params, -// func(page *configservice.GetOrganizationConfigRuleDetailedStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetOrganizationConfigRuleDetailedStatus operation. +// pageNum := 0 +// err := client.GetOrganizationConfigRuleDetailedStatusPages(params, +// func(page *configservice.GetOrganizationConfigRuleDetailedStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) GetOrganizationConfigRuleDetailedStatusPages(input *GetOrganizationConfigRuleDetailedStatusInput, fn func(*GetOrganizationConfigRuleDetailedStatusOutput, bool) bool) error { return c.GetOrganizationConfigRuleDetailedStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7311,14 +7267,13 @@ const opGetOrganizationConformancePackDetailedStatus = "GetOrganizationConforman // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOrganizationConformancePackDetailedStatusRequest method. +// req, resp := client.GetOrganizationConformancePackDetailedStatusRequest(params) // -// // Example sending a request using the GetOrganizationConformancePackDetailedStatusRequest method. -// req, resp := client.GetOrganizationConformancePackDetailedStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetOrganizationConformancePackDetailedStatus func (c *ConfigService) GetOrganizationConformancePackDetailedStatusRequest(input *GetOrganizationConformancePackDetailedStatusInput) (req *request.Request, output *GetOrganizationConformancePackDetailedStatusOutput) { @@ -7356,44 +7311,45 @@ func (c *ConfigService) GetOrganizationConformancePackDetailedStatusRequest(inpu // API operation GetOrganizationConformancePackDetailedStatus for usage and error information. // // Returned Error Types: -// * NoSuchOrganizationConformancePackException -// Config organization conformance pack that you passed in the filter does not -// exist. // -// For DeleteOrganizationConformancePack, you tried to delete an organization -// conformance pack that does not exist. +// - NoSuchOrganizationConformancePackException +// Config organization conformance pack that you passed in the filter does not +// exist. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// For DeleteOrganizationConformancePack, you tried to delete an organization +// conformance pack that does not exist. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * OrganizationAccessDeniedException -// For PutConfigurationAggregator API, you can see this exception for the following -// reasons: +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * No permission to call EnableAWSServiceAccess API +// - OrganizationAccessDeniedException +// For PutConfigurationAggregator API, you can see this exception for the following +// reasons: // -// * The configuration aggregator cannot be updated because your Amazon Web -// Services Organization management account or the delegated administrator -// role changed. Delete this aggregator and create a new one with the current -// Amazon Web Services Organization. +// - No permission to call EnableAWSServiceAccess API // -// * The configuration aggregator is associated with a previous Amazon Web -// Services Organization and Config cannot aggregate data with current Amazon -// Web Services Organization. Delete this aggregator and create a new one -// with the current Amazon Web Services Organization. +// - The configuration aggregator cannot be updated because your Amazon Web +// Services Organization management account or the delegated administrator +// role changed. Delete this aggregator and create a new one with the current +// Amazon Web Services Organization. // -// * You are not a registered delegated administrator for Config with permissions -// to call ListDelegatedAdministrators API. Ensure that the management account -// registers delagated administrator for Config service principle name before -// the delegated administrator creates an aggregator. +// - The configuration aggregator is associated with a previous Amazon Web +// Services Organization and Config cannot aggregate data with current Amazon +// Web Services Organization. Delete this aggregator and create a new one +// with the current Amazon Web Services Organization. // -// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config -// throws an exception if APIs are called from member accounts. All APIs must -// be called from organization master account. +// - You are not a registered delegated administrator for Config with permissions +// to call ListDelegatedAdministrators API. Ensure that the management account +// registers delagated administrator for Config service principle name before +// the delegated administrator creates an aggregator. +// +// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config +// throws an exception if APIs are called from member accounts. All APIs must +// be called from organization master account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetOrganizationConformancePackDetailedStatus func (c *ConfigService) GetOrganizationConformancePackDetailedStatus(input *GetOrganizationConformancePackDetailedStatusInput) (*GetOrganizationConformancePackDetailedStatusOutput, error) { @@ -7425,15 +7381,14 @@ func (c *ConfigService) GetOrganizationConformancePackDetailedStatusWithContext( // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetOrganizationConformancePackDetailedStatus operation. -// pageNum := 0 -// err := client.GetOrganizationConformancePackDetailedStatusPages(params, -// func(page *configservice.GetOrganizationConformancePackDetailedStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetOrganizationConformancePackDetailedStatus operation. +// pageNum := 0 +// err := client.GetOrganizationConformancePackDetailedStatusPages(params, +// func(page *configservice.GetOrganizationConformancePackDetailedStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) GetOrganizationConformancePackDetailedStatusPages(input *GetOrganizationConformancePackDetailedStatusInput, fn func(*GetOrganizationConformancePackDetailedStatusOutput, bool) bool) error { return c.GetOrganizationConformancePackDetailedStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7485,14 +7440,13 @@ const opGetOrganizationCustomRulePolicy = "GetOrganizationCustomRulePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOrganizationCustomRulePolicyRequest method. +// req, resp := client.GetOrganizationCustomRulePolicyRequest(params) // -// // Example sending a request using the GetOrganizationCustomRulePolicyRequest method. -// req, resp := client.GetOrganizationCustomRulePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetOrganizationCustomRulePolicy func (c *ConfigService) GetOrganizationCustomRulePolicyRequest(input *GetOrganizationCustomRulePolicyInput) (req *request.Request, output *GetOrganizationCustomRulePolicyOutput) { @@ -7524,35 +7478,36 @@ func (c *ConfigService) GetOrganizationCustomRulePolicyRequest(input *GetOrganiz // API operation GetOrganizationCustomRulePolicy for usage and error information. // // Returned Error Types: -// * NoSuchOrganizationConfigRuleException -// The Config rule in the request is not valid. Verify that the rule is an organization -// Config Custom Policy rule, that the rule name is correct, and that valid -// Amazon Resouce Names (ARNs) are used before trying again. // -// * OrganizationAccessDeniedException -// For PutConfigurationAggregator API, you can see this exception for the following -// reasons: +// - NoSuchOrganizationConfigRuleException +// The Config rule in the request is not valid. Verify that the rule is an organization +// Config Custom Policy rule, that the rule name is correct, and that valid +// Amazon Resouce Names (ARNs) are used before trying again. // -// * No permission to call EnableAWSServiceAccess API +// - OrganizationAccessDeniedException +// For PutConfigurationAggregator API, you can see this exception for the following +// reasons: // -// * The configuration aggregator cannot be updated because your Amazon Web -// Services Organization management account or the delegated administrator -// role changed. Delete this aggregator and create a new one with the current -// Amazon Web Services Organization. +// - No permission to call EnableAWSServiceAccess API // -// * The configuration aggregator is associated with a previous Amazon Web -// Services Organization and Config cannot aggregate data with current Amazon -// Web Services Organization. Delete this aggregator and create a new one -// with the current Amazon Web Services Organization. +// - The configuration aggregator cannot be updated because your Amazon Web +// Services Organization management account or the delegated administrator +// role changed. Delete this aggregator and create a new one with the current +// Amazon Web Services Organization. // -// * You are not a registered delegated administrator for Config with permissions -// to call ListDelegatedAdministrators API. Ensure that the management account -// registers delagated administrator for Config service principle name before -// the delegated administrator creates an aggregator. +// - The configuration aggregator is associated with a previous Amazon Web +// Services Organization and Config cannot aggregate data with current Amazon +// Web Services Organization. Delete this aggregator and create a new one +// with the current Amazon Web Services Organization. // -// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config -// throws an exception if APIs are called from member accounts. All APIs must -// be called from organization master account. +// - You are not a registered delegated administrator for Config with permissions +// to call ListDelegatedAdministrators API. Ensure that the management account +// registers delagated administrator for Config service principle name before +// the delegated administrator creates an aggregator. +// +// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config +// throws an exception if APIs are called from member accounts. All APIs must +// be called from organization master account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetOrganizationCustomRulePolicy func (c *ConfigService) GetOrganizationCustomRulePolicy(input *GetOrganizationCustomRulePolicyInput) (*GetOrganizationCustomRulePolicyOutput, error) { @@ -7592,14 +7547,13 @@ const opGetResourceConfigHistory = "GetResourceConfigHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceConfigHistoryRequest method. +// req, resp := client.GetResourceConfigHistoryRequest(params) // -// // Example sending a request using the GetResourceConfigHistoryRequest method. -// req, resp := client.GetResourceConfigHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceConfigHistory func (c *ConfigService) GetResourceConfigHistoryRequest(input *GetResourceConfigHistoryInput) (req *request.Request, output *GetResourceConfigHistoryOutput) { @@ -7649,34 +7603,35 @@ func (c *ConfigService) GetResourceConfigHistoryRequest(input *GetResourceConfig // API operation GetResourceConfigHistory for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. +// +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * InvalidTimeRangeException -// The specified time range is not valid. The earlier time is not chronologically -// before the later time. +// - InvalidTimeRangeException +// The specified time range is not valid. The earlier time is not chronologically +// before the later time. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * NoAvailableConfigurationRecorderException -// There are no configuration recorders available to provide the role needed -// to describe your resources. Create a configuration recorder. +// - NoAvailableConfigurationRecorderException +// There are no configuration recorders available to provide the role needed +// to describe your resources. Create a configuration recorder. // -// * ResourceNotDiscoveredException -// You have specified a resource that is either unknown or has not been discovered. +// - ResourceNotDiscoveredException +// You have specified a resource that is either unknown or has not been discovered. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetResourceConfigHistory func (c *ConfigService) GetResourceConfigHistory(input *GetResourceConfigHistoryInput) (*GetResourceConfigHistoryOutput, error) { @@ -7708,15 +7663,14 @@ func (c *ConfigService) GetResourceConfigHistoryWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetResourceConfigHistory operation. -// pageNum := 0 -// err := client.GetResourceConfigHistoryPages(params, -// func(page *configservice.GetResourceConfigHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetResourceConfigHistory operation. +// pageNum := 0 +// err := client.GetResourceConfigHistoryPages(params, +// func(page *configservice.GetResourceConfigHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) GetResourceConfigHistoryPages(input *GetResourceConfigHistoryInput, fn func(*GetResourceConfigHistoryOutput, bool) bool) error { return c.GetResourceConfigHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7768,14 +7722,13 @@ const opGetStoredQuery = "GetStoredQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStoredQueryRequest method. +// req, resp := client.GetStoredQueryRequest(params) // -// // Example sending a request using the GetStoredQueryRequest method. -// req, resp := client.GetStoredQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetStoredQuery func (c *ConfigService) GetStoredQueryRequest(input *GetStoredQueryInput) (req *request.Request, output *GetStoredQueryOutput) { @@ -7806,19 +7759,20 @@ func (c *ConfigService) GetStoredQueryRequest(input *GetStoredQueryInput) (req * // API operation GetStoredQuery for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. +// +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * ResourceNotFoundException -// You have specified a resource that does not exist. +// - ResourceNotFoundException +// You have specified a resource that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetStoredQuery func (c *ConfigService) GetStoredQuery(input *GetStoredQueryInput) (*GetStoredQueryOutput, error) { @@ -7858,14 +7812,13 @@ const opListAggregateDiscoveredResources = "ListAggregateDiscoveredResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAggregateDiscoveredResourcesRequest method. +// req, resp := client.ListAggregateDiscoveredResourcesRequest(params) // -// // Example sending a request using the ListAggregateDiscoveredResourcesRequest method. -// req, resp := client.ListAggregateDiscoveredResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListAggregateDiscoveredResources func (c *ConfigService) ListAggregateDiscoveredResourcesRequest(input *ListAggregateDiscoveredResourcesInput) (req *request.Request, output *ListAggregateDiscoveredResourcesOutput) { @@ -7911,26 +7864,27 @@ func (c *ConfigService) ListAggregateDiscoveredResourcesRequest(input *ListAggre // API operation ListAggregateDiscoveredResources for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. +// +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * NoSuchConfigurationAggregatorException -// You have specified a configuration aggregator that does not exist. +// - NoSuchConfigurationAggregatorException +// You have specified a configuration aggregator that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListAggregateDiscoveredResources func (c *ConfigService) ListAggregateDiscoveredResources(input *ListAggregateDiscoveredResourcesInput) (*ListAggregateDiscoveredResourcesOutput, error) { @@ -7962,15 +7916,14 @@ func (c *ConfigService) ListAggregateDiscoveredResourcesWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAggregateDiscoveredResources operation. -// pageNum := 0 -// err := client.ListAggregateDiscoveredResourcesPages(params, -// func(page *configservice.ListAggregateDiscoveredResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAggregateDiscoveredResources operation. +// pageNum := 0 +// err := client.ListAggregateDiscoveredResourcesPages(params, +// func(page *configservice.ListAggregateDiscoveredResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) ListAggregateDiscoveredResourcesPages(input *ListAggregateDiscoveredResourcesInput, fn func(*ListAggregateDiscoveredResourcesOutput, bool) bool) error { return c.ListAggregateDiscoveredResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8022,14 +7975,13 @@ const opListDiscoveredResources = "ListDiscoveredResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDiscoveredResourcesRequest method. +// req, resp := client.ListDiscoveredResourcesRequest(params) // -// // Example sending a request using the ListDiscoveredResourcesRequest method. -// req, resp := client.ListDiscoveredResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListDiscoveredResources func (c *ConfigService) ListDiscoveredResourcesRequest(input *ListDiscoveredResourcesInput) (req *request.Request, output *ListDiscoveredResourcesOutput) { @@ -8079,27 +8031,28 @@ func (c *ConfigService) ListDiscoveredResourcesRequest(input *ListDiscoveredReso // API operation ListDiscoveredResources for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. +// +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // -// * NoAvailableConfigurationRecorderException -// There are no configuration recorders available to provide the role needed -// to describe your resources. Create a configuration recorder. +// - NoAvailableConfigurationRecorderException +// There are no configuration recorders available to provide the role needed +// to describe your resources. Create a configuration recorder. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListDiscoveredResources func (c *ConfigService) ListDiscoveredResources(input *ListDiscoveredResourcesInput) (*ListDiscoveredResourcesOutput, error) { @@ -8131,15 +8084,14 @@ func (c *ConfigService) ListDiscoveredResourcesWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDiscoveredResources operation. -// pageNum := 0 -// err := client.ListDiscoveredResourcesPages(params, -// func(page *configservice.ListDiscoveredResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDiscoveredResources operation. +// pageNum := 0 +// err := client.ListDiscoveredResourcesPages(params, +// func(page *configservice.ListDiscoveredResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) ListDiscoveredResourcesPages(input *ListDiscoveredResourcesInput, fn func(*ListDiscoveredResourcesOutput, bool) bool) error { return c.ListDiscoveredResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8191,14 +8143,13 @@ const opListStoredQueries = "ListStoredQueries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStoredQueriesRequest method. +// req, resp := client.ListStoredQueriesRequest(params) // -// // Example sending a request using the ListStoredQueriesRequest method. -// req, resp := client.ListStoredQueriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListStoredQueries func (c *ConfigService) ListStoredQueriesRequest(input *ListStoredQueriesInput) (req *request.Request, output *ListStoredQueriesOutput) { @@ -8236,20 +8187,21 @@ func (c *ConfigService) ListStoredQueriesRequest(input *ListStoredQueriesInput) // API operation ListStoredQueries for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. +// +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListStoredQueries func (c *ConfigService) ListStoredQueries(input *ListStoredQueriesInput) (*ListStoredQueriesOutput, error) { @@ -8281,15 +8233,14 @@ func (c *ConfigService) ListStoredQueriesWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStoredQueries operation. -// pageNum := 0 -// err := client.ListStoredQueriesPages(params, -// func(page *configservice.ListStoredQueriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStoredQueries operation. +// pageNum := 0 +// err := client.ListStoredQueriesPages(params, +// func(page *configservice.ListStoredQueriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) ListStoredQueriesPages(input *ListStoredQueriesInput, fn func(*ListStoredQueriesOutput, bool) bool) error { return c.ListStoredQueriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8341,14 +8292,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListTagsForResource func (c *ConfigService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -8385,26 +8335,27 @@ func (c *ConfigService) ListTagsForResourceRequest(input *ListTagsForResourceInp // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// You have specified a resource that does not exist. // -// * ValidationException -// The requested action is not valid. +// - ResourceNotFoundException +// You have specified a resource that does not exist. +// +// - ValidationException +// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ListTagsForResource func (c *ConfigService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -8436,15 +8387,14 @@ func (c *ConfigService) ListTagsForResourceWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *configservice.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *configservice.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8496,14 +8446,13 @@ const opPutAggregationAuthorization = "PutAggregationAuthorization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAggregationAuthorizationRequest method. +// req, resp := client.PutAggregationAuthorizationRequest(params) // -// // Example sending a request using the PutAggregationAuthorizationRequest method. -// req, resp := client.PutAggregationAuthorizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutAggregationAuthorization func (c *ConfigService) PutAggregationAuthorizationRequest(input *PutAggregationAuthorizationInput) (req *request.Request, output *PutAggregationAuthorizationOutput) { @@ -8535,9 +8484,9 @@ func (c *ConfigService) PutAggregationAuthorizationRequest(input *PutAggregation // API operation PutAggregationAuthorization for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutAggregationAuthorization func (c *ConfigService) PutAggregationAuthorization(input *PutAggregationAuthorizationInput) (*PutAggregationAuthorizationOutput, error) { @@ -8577,14 +8526,13 @@ const opPutConfigRule = "PutConfigRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutConfigRuleRequest method. +// req, resp := client.PutConfigRuleRequest(params) // -// // Example sending a request using the PutConfigRuleRequest method. -// req, resp := client.PutConfigRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigRule func (c *ConfigService) PutConfigRuleRequest(input *PutConfigRuleInput) (req *request.Request, output *PutConfigRuleOutput) { @@ -8650,61 +8598,62 @@ func (c *ConfigService) PutConfigRuleRequest(input *PutConfigRuleInput) (req *re // API operation PutConfigRule for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. // -// * MaxNumberOfConfigRulesExceededException -// Failed to add the Config rule because the account already contains the maximum -// number of 150 rules. Consider deleting any deactivated rules before you add -// new rules. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. +// +// - MaxNumberOfConfigRulesExceededException +// Failed to add the Config rule because the account already contains the maximum +// number of 150 rules. Consider deleting any deactivated rules before you add +// new rules. // -// * ResourceInUseException -// You see this exception in the following cases: +// - ResourceInUseException +// You see this exception in the following cases: // -// * For DeleteConfigRule, Config is deleting this rule. Try your request -// again later. +// - For DeleteConfigRule, Config is deleting this rule. Try your request +// again later. // -// * For DeleteConfigRule, the rule is deleting your evaluation results. -// Try your request again later. +// - For DeleteConfigRule, the rule is deleting your evaluation results. +// Try your request again later. // -// * For DeleteConfigRule, a remediation action is associated with the rule -// and Config cannot delete this rule. Delete the remediation action associated -// with the rule before deleting the rule and try your request again later. +// - For DeleteConfigRule, a remediation action is associated with the rule +// and Config cannot delete this rule. Delete the remediation action associated +// with the rule before deleting the rule and try your request again later. // -// * For PutConfigOrganizationRule, organization Config rule deletion is -// in progress. Try your request again later. +// - For PutConfigOrganizationRule, organization Config rule deletion is +// in progress. Try your request again later. // -// * For DeleteOrganizationConfigRule, organization Config rule creation -// is in progress. Try your request again later. +// - For DeleteOrganizationConfigRule, organization Config rule creation +// is in progress. Try your request again later. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack creation, update, and deletion is in progress. Try your request again -// later. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack creation, update, and deletion is in progress. Try your request again +// later. // -// * For DeleteConformancePack, a conformance pack creation, update, and -// deletion is in progress. Try your request again later. +// - For DeleteConformancePack, a conformance pack creation, update, and +// deletion is in progress. Try your request again later. // -// * InsufficientPermissionsException -// Indicates one of the following errors: +// - InsufficientPermissionsException +// Indicates one of the following errors: // -// * For PutConfigRule, the rule cannot be created because the IAM role assigned -// to Config lacks permissions to perform the config:Put* action. +// - For PutConfigRule, the rule cannot be created because the IAM role assigned +// to Config lacks permissions to perform the config:Put* action. // -// * For PutConfigRule, the Lambda function cannot be invoked. Check the -// function ARN, and check the function's permissions. +// - For PutConfigRule, the Lambda function cannot be invoked. Check the +// function ARN, and check the function's permissions. // -// * For PutOrganizationConfigRule, organization Config rule cannot be created -// because you do not have permissions to call IAM GetRole action or create -// a service linked role. +// - For PutOrganizationConfigRule, organization Config rule cannot be created +// because you do not have permissions to call IAM GetRole action or create +// a service linked role. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack cannot be created because you do not have permissions: To call IAM -// GetRole action or create a service linked role. To read Amazon S3 bucket. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack cannot be created because you do not have permissions: To call IAM +// GetRole action or create a service linked role. To read Amazon S3 bucket. // -// * NoAvailableConfigurationRecorderException -// There are no configuration recorders available to provide the role needed -// to describe your resources. Create a configuration recorder. +// - NoAvailableConfigurationRecorderException +// There are no configuration recorders available to provide the role needed +// to describe your resources. Create a configuration recorder. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigRule func (c *ConfigService) PutConfigRule(input *PutConfigRuleInput) (*PutConfigRuleOutput, error) { @@ -8744,14 +8693,13 @@ const opPutConfigurationAggregator = "PutConfigurationAggregator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutConfigurationAggregatorRequest method. +// req, resp := client.PutConfigurationAggregatorRequest(params) // -// // Example sending a request using the PutConfigurationAggregatorRequest method. -// req, resp := client.PutConfigurationAggregatorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationAggregator func (c *ConfigService) PutConfigurationAggregatorRequest(input *PutConfigurationAggregatorInput) (req *request.Request, output *PutConfigurationAggregatorOutput) { @@ -8802,52 +8750,53 @@ func (c *ConfigService) PutConfigurationAggregatorRequest(input *PutConfiguratio // API operation PutConfigurationAggregator for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. // -// * LimitExceededException -// For StartConfigRulesEvaluation API, this exception is thrown if an evaluation -// is in progress or if you call the StartConfigRulesEvaluation API more than -// once per minute. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // -// For PutConfigurationAggregator API, this exception is thrown if the number -// of accounts and aggregators exceeds the limit. +// - LimitExceededException +// For StartConfigRulesEvaluation API, this exception is thrown if an evaluation +// is in progress or if you call the StartConfigRulesEvaluation API more than +// once per minute. // -// * InvalidRoleException -// You have provided a null or empty role ARN. +// For PutConfigurationAggregator API, this exception is thrown if the number +// of accounts and aggregators exceeds the limit. // -// * OrganizationAccessDeniedException -// For PutConfigurationAggregator API, you can see this exception for the following -// reasons: +// - InvalidRoleException +// You have provided a null or empty role ARN. // -// * No permission to call EnableAWSServiceAccess API +// - OrganizationAccessDeniedException +// For PutConfigurationAggregator API, you can see this exception for the following +// reasons: // -// * The configuration aggregator cannot be updated because your Amazon Web -// Services Organization management account or the delegated administrator -// role changed. Delete this aggregator and create a new one with the current -// Amazon Web Services Organization. +// - No permission to call EnableAWSServiceAccess API // -// * The configuration aggregator is associated with a previous Amazon Web -// Services Organization and Config cannot aggregate data with current Amazon -// Web Services Organization. Delete this aggregator and create a new one -// with the current Amazon Web Services Organization. +// - The configuration aggregator cannot be updated because your Amazon Web +// Services Organization management account or the delegated administrator +// role changed. Delete this aggregator and create a new one with the current +// Amazon Web Services Organization. // -// * You are not a registered delegated administrator for Config with permissions -// to call ListDelegatedAdministrators API. Ensure that the management account -// registers delagated administrator for Config service principle name before -// the delegated administrator creates an aggregator. +// - The configuration aggregator is associated with a previous Amazon Web +// Services Organization and Config cannot aggregate data with current Amazon +// Web Services Organization. Delete this aggregator and create a new one +// with the current Amazon Web Services Organization. // -// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config -// throws an exception if APIs are called from member accounts. All APIs must -// be called from organization master account. +// - You are not a registered delegated administrator for Config with permissions +// to call ListDelegatedAdministrators API. Ensure that the management account +// registers delagated administrator for Config service principle name before +// the delegated administrator creates an aggregator. // -// * NoAvailableOrganizationException -// Organization is no longer available. +// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config +// throws an exception if APIs are called from member accounts. All APIs must +// be called from organization master account. // -// * OrganizationAllFeaturesNotEnabledException -// Config resource cannot be created because your organization does not have -// all features enabled. +// - NoAvailableOrganizationException +// Organization is no longer available. +// +// - OrganizationAllFeaturesNotEnabledException +// Config resource cannot be created because your organization does not have +// all features enabled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationAggregator func (c *ConfigService) PutConfigurationAggregator(input *PutConfigurationAggregatorInput) (*PutConfigurationAggregatorOutput, error) { @@ -8887,14 +8836,13 @@ const opPutConfigurationRecorder = "PutConfigurationRecorder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutConfigurationRecorderRequest method. +// req, resp := client.PutConfigurationRecorderRequest(params) // -// // Example sending a request using the PutConfigurationRecorderRequest method. -// req, resp := client.PutConfigurationRecorderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationRecorder func (c *ConfigService) PutConfigurationRecorderRequest(input *PutConfigurationRecorderInput) (req *request.Request, output *PutConfigurationRecorderOutput) { @@ -8936,18 +8884,19 @@ func (c *ConfigService) PutConfigurationRecorderRequest(input *PutConfigurationR // API operation PutConfigurationRecorder for usage and error information. // // Returned Error Types: -// * MaxNumberOfConfigurationRecordersExceededException -// You have reached the limit of the number of recorders you can create. // -// * InvalidConfigurationRecorderNameException -// You have provided a configuration recorder name that is not valid. +// - MaxNumberOfConfigurationRecordersExceededException +// You have reached the limit of the number of recorders you can create. +// +// - InvalidConfigurationRecorderNameException +// You have provided a configuration recorder name that is not valid. // -// * InvalidRoleException -// You have provided a null or empty role ARN. +// - InvalidRoleException +// You have provided a null or empty role ARN. // -// * InvalidRecordingGroupException -// Config throws an exception if the recording group does not contain a valid -// list of resource types. Invalid values might also be incorrectly formatted. +// - InvalidRecordingGroupException +// Config throws an exception if the recording group does not contain a valid +// list of resource types. Invalid values might also be incorrectly formatted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConfigurationRecorder func (c *ConfigService) PutConfigurationRecorder(input *PutConfigurationRecorderInput) (*PutConfigurationRecorderOutput, error) { @@ -8987,14 +8936,13 @@ const opPutConformancePack = "PutConformancePack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutConformancePackRequest method. +// req, resp := client.PutConformancePackRequest(params) // -// // Example sending a request using the PutConformancePackRequest method. -// req, resp := client.PutConformancePackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConformancePack func (c *ConfigService) PutConformancePackRequest(input *PutConformancePackInput) (req *request.Request, output *PutConformancePackOutput) { @@ -9035,59 +8983,60 @@ func (c *ConfigService) PutConformancePackRequest(input *PutConformancePackInput // API operation PutConformancePack for usage and error information. // // Returned Error Types: -// * InsufficientPermissionsException -// Indicates one of the following errors: // -// * For PutConfigRule, the rule cannot be created because the IAM role assigned -// to Config lacks permissions to perform the config:Put* action. +// - InsufficientPermissionsException +// Indicates one of the following errors: +// +// - For PutConfigRule, the rule cannot be created because the IAM role assigned +// to Config lacks permissions to perform the config:Put* action. // -// * For PutConfigRule, the Lambda function cannot be invoked. Check the -// function ARN, and check the function's permissions. +// - For PutConfigRule, the Lambda function cannot be invoked. Check the +// function ARN, and check the function's permissions. // -// * For PutOrganizationConfigRule, organization Config rule cannot be created -// because you do not have permissions to call IAM GetRole action or create -// a service linked role. +// - For PutOrganizationConfigRule, organization Config rule cannot be created +// because you do not have permissions to call IAM GetRole action or create +// a service linked role. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack cannot be created because you do not have permissions: To call IAM -// GetRole action or create a service linked role. To read Amazon S3 bucket. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack cannot be created because you do not have permissions: To call IAM +// GetRole action or create a service linked role. To read Amazon S3 bucket. // -// * ConformancePackTemplateValidationException -// You have specified a template that is not valid or supported. +// - ConformancePackTemplateValidationException +// You have specified a template that is not valid or supported. // -// * ResourceInUseException -// You see this exception in the following cases: +// - ResourceInUseException +// You see this exception in the following cases: // -// * For DeleteConfigRule, Config is deleting this rule. Try your request -// again later. +// - For DeleteConfigRule, Config is deleting this rule. Try your request +// again later. // -// * For DeleteConfigRule, the rule is deleting your evaluation results. -// Try your request again later. +// - For DeleteConfigRule, the rule is deleting your evaluation results. +// Try your request again later. // -// * For DeleteConfigRule, a remediation action is associated with the rule -// and Config cannot delete this rule. Delete the remediation action associated -// with the rule before deleting the rule and try your request again later. +// - For DeleteConfigRule, a remediation action is associated with the rule +// and Config cannot delete this rule. Delete the remediation action associated +// with the rule before deleting the rule and try your request again later. // -// * For PutConfigOrganizationRule, organization Config rule deletion is -// in progress. Try your request again later. +// - For PutConfigOrganizationRule, organization Config rule deletion is +// in progress. Try your request again later. // -// * For DeleteOrganizationConfigRule, organization Config rule creation -// is in progress. Try your request again later. +// - For DeleteOrganizationConfigRule, organization Config rule creation +// is in progress. Try your request again later. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack creation, update, and deletion is in progress. Try your request again -// later. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack creation, update, and deletion is in progress. Try your request again +// later. // -// * For DeleteConformancePack, a conformance pack creation, update, and -// deletion is in progress. Try your request again later. +// - For DeleteConformancePack, a conformance pack creation, update, and +// deletion is in progress. Try your request again later. // -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // -// * MaxNumberOfConformancePacksExceededException -// You have reached the limit (6) of the number of conformance packs in an account -// (6 conformance pack with 25 Config rules per pack). +// - MaxNumberOfConformancePacksExceededException +// You have reached the limit (6) of the number of conformance packs in an account +// (6 conformance pack with 25 Config rules per pack). // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutConformancePack func (c *ConfigService) PutConformancePack(input *PutConformancePackInput) (*PutConformancePackOutput, error) { @@ -9127,14 +9076,13 @@ const opPutDeliveryChannel = "PutDeliveryChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDeliveryChannelRequest method. +// req, resp := client.PutDeliveryChannelRequest(params) // -// // Example sending a request using the PutDeliveryChannelRequest method. -// req, resp := client.PutDeliveryChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutDeliveryChannel func (c *ConfigService) PutDeliveryChannelRequest(input *PutDeliveryChannelInput) (req *request.Request, output *PutDeliveryChannelOutput) { @@ -9179,30 +9127,31 @@ func (c *ConfigService) PutDeliveryChannelRequest(input *PutDeliveryChannelInput // API operation PutDeliveryChannel for usage and error information. // // Returned Error Types: -// * MaxNumberOfDeliveryChannelsExceededException -// You have reached the limit of the number of delivery channels you can create. // -// * NoAvailableConfigurationRecorderException -// There are no configuration recorders available to provide the role needed -// to describe your resources. Create a configuration recorder. +// - MaxNumberOfDeliveryChannelsExceededException +// You have reached the limit of the number of delivery channels you can create. // -// * InvalidDeliveryChannelNameException -// The specified delivery channel name is not valid. +// - NoAvailableConfigurationRecorderException +// There are no configuration recorders available to provide the role needed +// to describe your resources. Create a configuration recorder. // -// * NoSuchBucketException -// The specified Amazon S3 bucket does not exist. +// - InvalidDeliveryChannelNameException +// The specified delivery channel name is not valid. // -// * InvalidS3KeyPrefixException -// The specified Amazon S3 key prefix is not valid. +// - NoSuchBucketException +// The specified Amazon S3 bucket does not exist. // -// * InvalidS3KmsKeyArnException -// The specified Amazon KMS Key ARN is not valid. +// - InvalidS3KeyPrefixException +// The specified Amazon S3 key prefix is not valid. // -// * InvalidSNSTopicARNException -// The specified Amazon SNS topic does not exist. +// - InvalidS3KmsKeyArnException +// The specified Amazon KMS Key ARN is not valid. // -// * InsufficientDeliveryPolicyException -// Your Amazon S3 bucket policy does not permit Config to write to it. +// - InvalidSNSTopicARNException +// The specified Amazon SNS topic does not exist. +// +// - InsufficientDeliveryPolicyException +// Your Amazon S3 bucket policy does not permit Config to write to it. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutDeliveryChannel func (c *ConfigService) PutDeliveryChannel(input *PutDeliveryChannelInput) (*PutDeliveryChannelOutput, error) { @@ -9242,14 +9191,13 @@ const opPutEvaluations = "PutEvaluations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEvaluationsRequest method. +// req, resp := client.PutEvaluationsRequest(params) // -// // Example sending a request using the PutEvaluationsRequest method. -// req, resp := client.PutEvaluationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutEvaluations func (c *ConfigService) PutEvaluationsRequest(input *PutEvaluationsInput) (req *request.Request, output *PutEvaluationsOutput) { @@ -9282,17 +9230,18 @@ func (c *ConfigService) PutEvaluationsRequest(input *PutEvaluationsInput) (req * // API operation PutEvaluations for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. // -// * InvalidResultTokenException -// The specified ResultToken is invalid. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. +// +// - InvalidResultTokenException +// The specified ResultToken is invalid. // -// * NoSuchConfigRuleException -// The Config rule in the request is not valid. Verify that the rule is an Config -// Custom Policy rule, that the rule name is correct, and that valid Amazon -// Resouce Names (ARNs) are used before trying again. +// - NoSuchConfigRuleException +// The Config rule in the request is not valid. Verify that the rule is an Config +// Custom Policy rule, that the rule name is correct, and that valid Amazon +// Resouce Names (ARNs) are used before trying again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutEvaluations func (c *ConfigService) PutEvaluations(input *PutEvaluationsInput) (*PutEvaluationsOutput, error) { @@ -9332,14 +9281,13 @@ const opPutExternalEvaluation = "PutExternalEvaluation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutExternalEvaluationRequest method. +// req, resp := client.PutExternalEvaluationRequest(params) // -// // Example sending a request using the PutExternalEvaluationRequest method. -// req, resp := client.PutExternalEvaluationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutExternalEvaluation func (c *ConfigService) PutExternalEvaluationRequest(input *PutExternalEvaluationInput) (req *request.Request, output *PutExternalEvaluationOutput) { @@ -9372,14 +9320,15 @@ func (c *ConfigService) PutExternalEvaluationRequest(input *PutExternalEvaluatio // API operation PutExternalEvaluation for usage and error information. // // Returned Error Types: -// * NoSuchConfigRuleException -// The Config rule in the request is not valid. Verify that the rule is an Config -// Custom Policy rule, that the rule name is correct, and that valid Amazon -// Resouce Names (ARNs) are used before trying again. // -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - NoSuchConfigRuleException +// The Config rule in the request is not valid. Verify that the rule is an Config +// Custom Policy rule, that the rule name is correct, and that valid Amazon +// Resouce Names (ARNs) are used before trying again. +// +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutExternalEvaluation func (c *ConfigService) PutExternalEvaluation(input *PutExternalEvaluationInput) (*PutExternalEvaluationOutput, error) { @@ -9419,14 +9368,13 @@ const opPutOrganizationConfigRule = "PutOrganizationConfigRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutOrganizationConfigRuleRequest method. +// req, resp := client.PutOrganizationConfigRuleRequest(params) // -// // Example sending a request using the PutOrganizationConfigRuleRequest method. -// req, resp := client.PutOrganizationConfigRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutOrganizationConfigRule func (c *ConfigService) PutOrganizationConfigRuleRequest(input *PutOrganizationConfigRuleInput) (req *request.Request, output *PutOrganizationConfigRuleOutput) { @@ -9491,99 +9439,100 @@ func (c *ConfigService) PutOrganizationConfigRuleRequest(input *PutOrganizationC // API operation PutOrganizationConfigRule for usage and error information. // // Returned Error Types: -// * MaxNumberOfOrganizationConfigRulesExceededException -// You have reached the limit of the number of organization Config rules you -// can create. // -// * ResourceInUseException -// You see this exception in the following cases: +// - MaxNumberOfOrganizationConfigRulesExceededException +// You have reached the limit of the number of organization Config rules you +// can create. // -// * For DeleteConfigRule, Config is deleting this rule. Try your request -// again later. +// - ResourceInUseException +// You see this exception in the following cases: // -// * For DeleteConfigRule, the rule is deleting your evaluation results. -// Try your request again later. +// - For DeleteConfigRule, Config is deleting this rule. Try your request +// again later. // -// * For DeleteConfigRule, a remediation action is associated with the rule -// and Config cannot delete this rule. Delete the remediation action associated -// with the rule before deleting the rule and try your request again later. +// - For DeleteConfigRule, the rule is deleting your evaluation results. +// Try your request again later. // -// * For PutConfigOrganizationRule, organization Config rule deletion is -// in progress. Try your request again later. +// - For DeleteConfigRule, a remediation action is associated with the rule +// and Config cannot delete this rule. Delete the remediation action associated +// with the rule before deleting the rule and try your request again later. // -// * For DeleteOrganizationConfigRule, organization Config rule creation -// is in progress. Try your request again later. +// - For PutConfigOrganizationRule, organization Config rule deletion is +// in progress. Try your request again later. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack creation, update, and deletion is in progress. Try your request again -// later. +// - For DeleteOrganizationConfigRule, organization Config rule creation +// is in progress. Try your request again later. // -// * For DeleteConformancePack, a conformance pack creation, update, and -// deletion is in progress. Try your request again later. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack creation, update, and deletion is in progress. Try your request again +// later. // -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - For DeleteConformancePack, a conformance pack creation, update, and +// deletion is in progress. Try your request again later. // -// * ValidationException -// The requested action is not valid. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// * OrganizationAccessDeniedException -// For PutConfigurationAggregator API, you can see this exception for the following -// reasons: +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * No permission to call EnableAWSServiceAccess API +// - OrganizationAccessDeniedException +// For PutConfigurationAggregator API, you can see this exception for the following +// reasons: // -// * The configuration aggregator cannot be updated because your Amazon Web -// Services Organization management account or the delegated administrator -// role changed. Delete this aggregator and create a new one with the current -// Amazon Web Services Organization. +// - No permission to call EnableAWSServiceAccess API // -// * The configuration aggregator is associated with a previous Amazon Web -// Services Organization and Config cannot aggregate data with current Amazon -// Web Services Organization. Delete this aggregator and create a new one -// with the current Amazon Web Services Organization. +// - The configuration aggregator cannot be updated because your Amazon Web +// Services Organization management account or the delegated administrator +// role changed. Delete this aggregator and create a new one with the current +// Amazon Web Services Organization. // -// * You are not a registered delegated administrator for Config with permissions -// to call ListDelegatedAdministrators API. Ensure that the management account -// registers delagated administrator for Config service principle name before -// the delegated administrator creates an aggregator. +// - The configuration aggregator is associated with a previous Amazon Web +// Services Organization and Config cannot aggregate data with current Amazon +// Web Services Organization. Delete this aggregator and create a new one +// with the current Amazon Web Services Organization. // -// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config -// throws an exception if APIs are called from member accounts. All APIs must -// be called from organization master account. +// - You are not a registered delegated administrator for Config with permissions +// to call ListDelegatedAdministrators API. Ensure that the management account +// registers delagated administrator for Config service principle name before +// the delegated administrator creates an aggregator. // -// * NoAvailableOrganizationException -// Organization is no longer available. +// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config +// throws an exception if APIs are called from member accounts. All APIs must +// be called from organization master account. // -// * OrganizationAllFeaturesNotEnabledException -// Config resource cannot be created because your organization does not have -// all features enabled. +// - NoAvailableOrganizationException +// Organization is no longer available. // -// * InsufficientPermissionsException -// Indicates one of the following errors: +// - OrganizationAllFeaturesNotEnabledException +// Config resource cannot be created because your organization does not have +// all features enabled. // -// * For PutConfigRule, the rule cannot be created because the IAM role assigned -// to Config lacks permissions to perform the config:Put* action. +// - InsufficientPermissionsException +// Indicates one of the following errors: // -// * For PutConfigRule, the Lambda function cannot be invoked. Check the -// function ARN, and check the function's permissions. +// - For PutConfigRule, the rule cannot be created because the IAM role assigned +// to Config lacks permissions to perform the config:Put* action. // -// * For PutOrganizationConfigRule, organization Config rule cannot be created -// because you do not have permissions to call IAM GetRole action or create -// a service linked role. +// - For PutConfigRule, the Lambda function cannot be invoked. Check the +// function ARN, and check the function's permissions. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack cannot be created because you do not have permissions: To call IAM -// GetRole action or create a service linked role. To read Amazon S3 bucket. +// - For PutOrganizationConfigRule, organization Config rule cannot be created +// because you do not have permissions to call IAM GetRole action or create +// a service linked role. +// +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack cannot be created because you do not have permissions: To call IAM +// GetRole action or create a service linked role. To read Amazon S3 bucket. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutOrganizationConfigRule func (c *ConfigService) PutOrganizationConfigRule(input *PutOrganizationConfigRuleInput) (*PutOrganizationConfigRuleOutput, error) { @@ -9623,14 +9572,13 @@ const opPutOrganizationConformancePack = "PutOrganizationConformancePack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutOrganizationConformancePackRequest method. +// req, resp := client.PutOrganizationConformancePackRequest(params) // -// // Example sending a request using the PutOrganizationConformancePackRequest method. -// req, resp := client.PutOrganizationConformancePackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutOrganizationConformancePack func (c *ConfigService) PutOrganizationConformancePackRequest(input *PutOrganizationConformancePackInput) (req *request.Request, output *PutOrganizationConformancePackOutput) { @@ -9688,99 +9636,100 @@ func (c *ConfigService) PutOrganizationConformancePackRequest(input *PutOrganiza // API operation PutOrganizationConformancePack for usage and error information. // // Returned Error Types: -// * MaxNumberOfOrganizationConformancePacksExceededException -// You have reached the limit (6) of the number of organization conformance -// packs in an account (6 conformance pack with 25 Config rules per pack per -// account). // -// * ResourceInUseException -// You see this exception in the following cases: +// - MaxNumberOfOrganizationConformancePacksExceededException +// You have reached the limit (6) of the number of organization conformance +// packs in an account (6 conformance pack with 25 Config rules per pack per +// account). +// +// - ResourceInUseException +// You see this exception in the following cases: // -// * For DeleteConfigRule, Config is deleting this rule. Try your request -// again later. +// - For DeleteConfigRule, Config is deleting this rule. Try your request +// again later. // -// * For DeleteConfigRule, the rule is deleting your evaluation results. -// Try your request again later. +// - For DeleteConfigRule, the rule is deleting your evaluation results. +// Try your request again later. // -// * For DeleteConfigRule, a remediation action is associated with the rule -// and Config cannot delete this rule. Delete the remediation action associated -// with the rule before deleting the rule and try your request again later. +// - For DeleteConfigRule, a remediation action is associated with the rule +// and Config cannot delete this rule. Delete the remediation action associated +// with the rule before deleting the rule and try your request again later. // -// * For PutConfigOrganizationRule, organization Config rule deletion is -// in progress. Try your request again later. +// - For PutConfigOrganizationRule, organization Config rule deletion is +// in progress. Try your request again later. // -// * For DeleteOrganizationConfigRule, organization Config rule creation -// is in progress. Try your request again later. +// - For DeleteOrganizationConfigRule, organization Config rule creation +// is in progress. Try your request again later. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack creation, update, and deletion is in progress. Try your request again -// later. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack creation, update, and deletion is in progress. Try your request again +// later. // -// * For DeleteConformancePack, a conformance pack creation, update, and -// deletion is in progress. Try your request again later. +// - For DeleteConformancePack, a conformance pack creation, update, and +// deletion is in progress. Try your request again later. // -// * ValidationException -// The requested action is not valid. +// - ValidationException +// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * OrganizationAccessDeniedException -// For PutConfigurationAggregator API, you can see this exception for the following -// reasons: +// - OrganizationAccessDeniedException +// For PutConfigurationAggregator API, you can see this exception for the following +// reasons: // -// * No permission to call EnableAWSServiceAccess API +// - No permission to call EnableAWSServiceAccess API // -// * The configuration aggregator cannot be updated because your Amazon Web -// Services Organization management account or the delegated administrator -// role changed. Delete this aggregator and create a new one with the current -// Amazon Web Services Organization. +// - The configuration aggregator cannot be updated because your Amazon Web +// Services Organization management account or the delegated administrator +// role changed. Delete this aggregator and create a new one with the current +// Amazon Web Services Organization. // -// * The configuration aggregator is associated with a previous Amazon Web -// Services Organization and Config cannot aggregate data with current Amazon -// Web Services Organization. Delete this aggregator and create a new one -// with the current Amazon Web Services Organization. +// - The configuration aggregator is associated with a previous Amazon Web +// Services Organization and Config cannot aggregate data with current Amazon +// Web Services Organization. Delete this aggregator and create a new one +// with the current Amazon Web Services Organization. // -// * You are not a registered delegated administrator for Config with permissions -// to call ListDelegatedAdministrators API. Ensure that the management account -// registers delagated administrator for Config service principle name before -// the delegated administrator creates an aggregator. +// - You are not a registered delegated administrator for Config with permissions +// to call ListDelegatedAdministrators API. Ensure that the management account +// registers delagated administrator for Config service principle name before +// the delegated administrator creates an aggregator. // -// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config -// throws an exception if APIs are called from member accounts. All APIs must -// be called from organization master account. +// For all OrganizationConfigRule and OrganizationConformancePack APIs, Config +// throws an exception if APIs are called from member accounts. All APIs must +// be called from organization master account. // -// * InsufficientPermissionsException -// Indicates one of the following errors: +// - InsufficientPermissionsException +// Indicates one of the following errors: // -// * For PutConfigRule, the rule cannot be created because the IAM role assigned -// to Config lacks permissions to perform the config:Put* action. +// - For PutConfigRule, the rule cannot be created because the IAM role assigned +// to Config lacks permissions to perform the config:Put* action. // -// * For PutConfigRule, the Lambda function cannot be invoked. Check the -// function ARN, and check the function's permissions. +// - For PutConfigRule, the Lambda function cannot be invoked. Check the +// function ARN, and check the function's permissions. // -// * For PutOrganizationConfigRule, organization Config rule cannot be created -// because you do not have permissions to call IAM GetRole action or create -// a service linked role. +// - For PutOrganizationConfigRule, organization Config rule cannot be created +// because you do not have permissions to call IAM GetRole action or create +// a service linked role. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack cannot be created because you do not have permissions: To call IAM -// GetRole action or create a service linked role. To read Amazon S3 bucket. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack cannot be created because you do not have permissions: To call IAM +// GetRole action or create a service linked role. To read Amazon S3 bucket. // -// * OrganizationConformancePackTemplateValidationException -// You have specified a template that is not valid or supported. +// - OrganizationConformancePackTemplateValidationException +// You have specified a template that is not valid or supported. // -// * OrganizationAllFeaturesNotEnabledException -// Config resource cannot be created because your organization does not have -// all features enabled. +// - OrganizationAllFeaturesNotEnabledException +// Config resource cannot be created because your organization does not have +// all features enabled. // -// * NoAvailableOrganizationException -// Organization is no longer available. +// - NoAvailableOrganizationException +// Organization is no longer available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutOrganizationConformancePack func (c *ConfigService) PutOrganizationConformancePack(input *PutOrganizationConformancePackInput) (*PutOrganizationConformancePackOutput, error) { @@ -9820,14 +9769,13 @@ const opPutRemediationConfigurations = "PutRemediationConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRemediationConfigurationsRequest method. +// req, resp := client.PutRemediationConfigurationsRequest(params) // -// // Example sending a request using the PutRemediationConfigurationsRequest method. -// req, resp := client.PutRemediationConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutRemediationConfigurations func (c *ConfigService) PutRemediationConfigurationsRequest(input *PutRemediationConfigurationsInput) (req *request.Request, output *PutRemediationConfigurationsOutput) { @@ -9869,26 +9817,27 @@ func (c *ConfigService) PutRemediationConfigurationsRequest(input *PutRemediatio // API operation PutRemediationConfigurations for usage and error information. // // Returned Error Types: -// * InsufficientPermissionsException -// Indicates one of the following errors: // -// * For PutConfigRule, the rule cannot be created because the IAM role assigned -// to Config lacks permissions to perform the config:Put* action. +// - InsufficientPermissionsException +// Indicates one of the following errors: +// +// - For PutConfigRule, the rule cannot be created because the IAM role assigned +// to Config lacks permissions to perform the config:Put* action. // -// * For PutConfigRule, the Lambda function cannot be invoked. Check the -// function ARN, and check the function's permissions. +// - For PutConfigRule, the Lambda function cannot be invoked. Check the +// function ARN, and check the function's permissions. // -// * For PutOrganizationConfigRule, organization Config rule cannot be created -// because you do not have permissions to call IAM GetRole action or create -// a service linked role. +// - For PutOrganizationConfigRule, organization Config rule cannot be created +// because you do not have permissions to call IAM GetRole action or create +// a service linked role. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack cannot be created because you do not have permissions: To call IAM -// GetRole action or create a service linked role. To read Amazon S3 bucket. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack cannot be created because you do not have permissions: To call IAM +// GetRole action or create a service linked role. To read Amazon S3 bucket. // -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutRemediationConfigurations func (c *ConfigService) PutRemediationConfigurations(input *PutRemediationConfigurationsInput) (*PutRemediationConfigurationsOutput, error) { @@ -9928,14 +9877,13 @@ const opPutRemediationExceptions = "PutRemediationExceptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRemediationExceptionsRequest method. +// req, resp := client.PutRemediationExceptionsRequest(params) // -// // Example sending a request using the PutRemediationExceptionsRequest method. -// req, resp := client.PutRemediationExceptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutRemediationExceptions func (c *ConfigService) PutRemediationExceptionsRequest(input *PutRemediationExceptionsInput) (req *request.Request, output *PutRemediationExceptionsOutput) { @@ -9972,26 +9920,27 @@ func (c *ConfigService) PutRemediationExceptionsRequest(input *PutRemediationExc // API operation PutRemediationExceptions for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. // -// * InsufficientPermissionsException -// Indicates one of the following errors: +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // -// * For PutConfigRule, the rule cannot be created because the IAM role assigned -// to Config lacks permissions to perform the config:Put* action. +// - InsufficientPermissionsException +// Indicates one of the following errors: // -// * For PutConfigRule, the Lambda function cannot be invoked. Check the -// function ARN, and check the function's permissions. +// - For PutConfigRule, the rule cannot be created because the IAM role assigned +// to Config lacks permissions to perform the config:Put* action. // -// * For PutOrganizationConfigRule, organization Config rule cannot be created -// because you do not have permissions to call IAM GetRole action or create -// a service linked role. +// - For PutConfigRule, the Lambda function cannot be invoked. Check the +// function ARN, and check the function's permissions. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack cannot be created because you do not have permissions: To call IAM -// GetRole action or create a service linked role. To read Amazon S3 bucket. +// - For PutOrganizationConfigRule, organization Config rule cannot be created +// because you do not have permissions to call IAM GetRole action or create +// a service linked role. +// +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack cannot be created because you do not have permissions: To call IAM +// GetRole action or create a service linked role. To read Amazon S3 bucket. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutRemediationExceptions func (c *ConfigService) PutRemediationExceptions(input *PutRemediationExceptionsInput) (*PutRemediationExceptionsOutput, error) { @@ -10031,14 +9980,13 @@ const opPutResourceConfig = "PutResourceConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutResourceConfigRequest method. +// req, resp := client.PutResourceConfigRequest(params) // -// // Example sending a request using the PutResourceConfigRequest method. -// req, resp := client.PutResourceConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutResourceConfig func (c *ConfigService) PutResourceConfigRequest(input *PutResourceConfigInput) (req *request.Request, output *PutResourceConfigOutput) { @@ -10084,40 +10032,41 @@ func (c *ConfigService) PutResourceConfigRequest(input *PutResourceConfigInput) // API operation PutResourceConfig for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. +// +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * InsufficientPermissionsException -// Indicates one of the following errors: +// - InsufficientPermissionsException +// Indicates one of the following errors: // -// * For PutConfigRule, the rule cannot be created because the IAM role assigned -// to Config lacks permissions to perform the config:Put* action. +// - For PutConfigRule, the rule cannot be created because the IAM role assigned +// to Config lacks permissions to perform the config:Put* action. // -// * For PutConfigRule, the Lambda function cannot be invoked. Check the -// function ARN, and check the function's permissions. +// - For PutConfigRule, the Lambda function cannot be invoked. Check the +// function ARN, and check the function's permissions. // -// * For PutOrganizationConfigRule, organization Config rule cannot be created -// because you do not have permissions to call IAM GetRole action or create -// a service linked role. +// - For PutOrganizationConfigRule, organization Config rule cannot be created +// because you do not have permissions to call IAM GetRole action or create +// a service linked role. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack cannot be created because you do not have permissions: To call IAM -// GetRole action or create a service linked role. To read Amazon S3 bucket. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack cannot be created because you do not have permissions: To call IAM +// GetRole action or create a service linked role. To read Amazon S3 bucket. // -// * NoRunningConfigurationRecorderException -// There is no configuration recorder running. +// - NoRunningConfigurationRecorderException +// There is no configuration recorder running. // -// * MaxActiveResourcesExceededException -// You have reached the limit (100,000) of active custom resource types in your -// account. Delete unused resources using DeleteResourceConfig. +// - MaxActiveResourcesExceededException +// You have reached the limit (100,000) of active custom resource types in your +// account. Delete unused resources using DeleteResourceConfig. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutResourceConfig func (c *ConfigService) PutResourceConfig(input *PutResourceConfigInput) (*PutResourceConfigOutput, error) { @@ -10157,14 +10106,13 @@ const opPutRetentionConfiguration = "PutRetentionConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRetentionConfigurationRequest method. +// req, resp := client.PutRetentionConfigurationRequest(params) // -// // Example sending a request using the PutRetentionConfigurationRequest method. -// req, resp := client.PutRetentionConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutRetentionConfiguration func (c *ConfigService) PutRetentionConfigurationRequest(input *PutRetentionConfigurationInput) (req *request.Request, output *PutRetentionConfigurationOutput) { @@ -10202,13 +10150,14 @@ func (c *ConfigService) PutRetentionConfigurationRequest(input *PutRetentionConf // API operation PutRetentionConfiguration for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. // -// * MaxNumberOfRetentionConfigurationsExceededException -// Failed to add the retention configuration because a retention configuration -// with that name already exists. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. +// +// - MaxNumberOfRetentionConfigurationsExceededException +// Failed to add the retention configuration because a retention configuration +// with that name already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutRetentionConfiguration func (c *ConfigService) PutRetentionConfiguration(input *PutRetentionConfigurationInput) (*PutRetentionConfigurationOutput, error) { @@ -10248,14 +10197,13 @@ const opPutStoredQuery = "PutStoredQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutStoredQueryRequest method. +// req, resp := client.PutStoredQueryRequest(params) // -// // Example sending a request using the PutStoredQueryRequest method. -// req, resp := client.PutStoredQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutStoredQuery func (c *ConfigService) PutStoredQueryRequest(input *PutStoredQueryInput) (req *request.Request, output *PutStoredQueryOutput) { @@ -10289,24 +10237,25 @@ func (c *ConfigService) PutStoredQueryRequest(input *PutStoredQueryInput) (req * // API operation PutStoredQuery for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// * TooManyTagsException -// You have reached the limit of the number of tags you can use. You have more -// than 50 tags. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * ResourceConcurrentModificationException -// Two users are trying to modify the same query at the same time. Wait for -// a moment and try again. +// - TooManyTagsException +// You have reached the limit of the number of tags you can use. You have more +// than 50 tags. +// +// - ResourceConcurrentModificationException +// Two users are trying to modify the same query at the same time. Wait for +// a moment and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/PutStoredQuery func (c *ConfigService) PutStoredQuery(input *PutStoredQueryInput) (*PutStoredQueryOutput, error) { @@ -10346,14 +10295,13 @@ const opSelectAggregateResourceConfig = "SelectAggregateResourceConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SelectAggregateResourceConfigRequest method. +// req, resp := client.SelectAggregateResourceConfigRequest(params) // -// // Example sending a request using the SelectAggregateResourceConfigRequest method. -// req, resp := client.SelectAggregateResourceConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/SelectAggregateResourceConfig func (c *ConfigService) SelectAggregateResourceConfigRequest(input *SelectAggregateResourceConfigInput) (req *request.Request, output *SelectAggregateResourceConfigOutput) { @@ -10406,18 +10354,19 @@ func (c *ConfigService) SelectAggregateResourceConfigRequest(input *SelectAggreg // API operation SelectAggregateResourceConfig for usage and error information. // // Returned Error Types: -// * InvalidExpressionException -// The syntax of the query is incorrect. // -// * NoSuchConfigurationAggregatorException -// You have specified a configuration aggregator that does not exist. +// - InvalidExpressionException +// The syntax of the query is incorrect. +// +// - NoSuchConfigurationAggregatorException +// You have specified a configuration aggregator that does not exist. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/SelectAggregateResourceConfig func (c *ConfigService) SelectAggregateResourceConfig(input *SelectAggregateResourceConfigInput) (*SelectAggregateResourceConfigOutput, error) { @@ -10449,15 +10398,14 @@ func (c *ConfigService) SelectAggregateResourceConfigWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SelectAggregateResourceConfig operation. -// pageNum := 0 -// err := client.SelectAggregateResourceConfigPages(params, -// func(page *configservice.SelectAggregateResourceConfigOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SelectAggregateResourceConfig operation. +// pageNum := 0 +// err := client.SelectAggregateResourceConfigPages(params, +// func(page *configservice.SelectAggregateResourceConfigOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) SelectAggregateResourceConfigPages(input *SelectAggregateResourceConfigInput, fn func(*SelectAggregateResourceConfigOutput, bool) bool) error { return c.SelectAggregateResourceConfigPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10509,14 +10457,13 @@ const opSelectResourceConfig = "SelectResourceConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SelectResourceConfigRequest method. +// req, resp := client.SelectResourceConfigRequest(params) // -// // Example sending a request using the SelectResourceConfigRequest method. -// req, resp := client.SelectResourceConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/SelectResourceConfig func (c *ConfigService) SelectResourceConfigRequest(input *SelectResourceConfigInput) (req *request.Request, output *SelectResourceConfigOutput) { @@ -10557,15 +10504,16 @@ func (c *ConfigService) SelectResourceConfigRequest(input *SelectResourceConfigI // API operation SelectResourceConfig for usage and error information. // // Returned Error Types: -// * InvalidExpressionException -// The syntax of the query is incorrect. // -// * InvalidLimitException -// The specified limit is outside the allowable range. +// - InvalidExpressionException +// The syntax of the query is incorrect. +// +// - InvalidLimitException +// The specified limit is outside the allowable range. // -// * InvalidNextTokenException -// The specified next token is invalid. Specify the nextToken string that was -// returned in the previous response to get the next page of results. +// - InvalidNextTokenException +// The specified next token is invalid. Specify the nextToken string that was +// returned in the previous response to get the next page of results. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/SelectResourceConfig func (c *ConfigService) SelectResourceConfig(input *SelectResourceConfigInput) (*SelectResourceConfigOutput, error) { @@ -10597,15 +10545,14 @@ func (c *ConfigService) SelectResourceConfigWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SelectResourceConfig operation. -// pageNum := 0 -// err := client.SelectResourceConfigPages(params, -// func(page *configservice.SelectResourceConfigOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SelectResourceConfig operation. +// pageNum := 0 +// err := client.SelectResourceConfigPages(params, +// func(page *configservice.SelectResourceConfigOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConfigService) SelectResourceConfigPages(input *SelectResourceConfigInput, fn func(*SelectResourceConfigOutput, bool) bool) error { return c.SelectResourceConfigPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10657,14 +10604,13 @@ const opStartConfigRulesEvaluation = "StartConfigRulesEvaluation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartConfigRulesEvaluationRequest method. +// req, resp := client.StartConfigRulesEvaluationRequest(params) // -// // Example sending a request using the StartConfigRulesEvaluationRequest method. -// req, resp := client.StartConfigRulesEvaluationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigRulesEvaluation func (c *ConfigService) StartConfigRulesEvaluationRequest(input *StartConfigRulesEvaluationInput) (req *request.Request, output *StartConfigRulesEvaluationOutput) { @@ -10725,48 +10671,49 @@ func (c *ConfigService) StartConfigRulesEvaluationRequest(input *StartConfigRule // API operation StartConfigRulesEvaluation for usage and error information. // // Returned Error Types: -// * NoSuchConfigRuleException -// The Config rule in the request is not valid. Verify that the rule is an Config -// Custom Policy rule, that the rule name is correct, and that valid Amazon -// Resouce Names (ARNs) are used before trying again. // -// * LimitExceededException -// For StartConfigRulesEvaluation API, this exception is thrown if an evaluation -// is in progress or if you call the StartConfigRulesEvaluation API more than -// once per minute. +// - NoSuchConfigRuleException +// The Config rule in the request is not valid. Verify that the rule is an Config +// Custom Policy rule, that the rule name is correct, and that valid Amazon +// Resouce Names (ARNs) are used before trying again. +// +// - LimitExceededException +// For StartConfigRulesEvaluation API, this exception is thrown if an evaluation +// is in progress or if you call the StartConfigRulesEvaluation API more than +// once per minute. // -// For PutConfigurationAggregator API, this exception is thrown if the number -// of accounts and aggregators exceeds the limit. +// For PutConfigurationAggregator API, this exception is thrown if the number +// of accounts and aggregators exceeds the limit. // -// * ResourceInUseException -// You see this exception in the following cases: +// - ResourceInUseException +// You see this exception in the following cases: // -// * For DeleteConfigRule, Config is deleting this rule. Try your request -// again later. +// - For DeleteConfigRule, Config is deleting this rule. Try your request +// again later. // -// * For DeleteConfigRule, the rule is deleting your evaluation results. -// Try your request again later. +// - For DeleteConfigRule, the rule is deleting your evaluation results. +// Try your request again later. // -// * For DeleteConfigRule, a remediation action is associated with the rule -// and Config cannot delete this rule. Delete the remediation action associated -// with the rule before deleting the rule and try your request again later. +// - For DeleteConfigRule, a remediation action is associated with the rule +// and Config cannot delete this rule. Delete the remediation action associated +// with the rule before deleting the rule and try your request again later. // -// * For PutConfigOrganizationRule, organization Config rule deletion is -// in progress. Try your request again later. +// - For PutConfigOrganizationRule, organization Config rule deletion is +// in progress. Try your request again later. // -// * For DeleteOrganizationConfigRule, organization Config rule creation -// is in progress. Try your request again later. +// - For DeleteOrganizationConfigRule, organization Config rule creation +// is in progress. Try your request again later. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack creation, update, and deletion is in progress. Try your request again -// later. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack creation, update, and deletion is in progress. Try your request again +// later. // -// * For DeleteConformancePack, a conformance pack creation, update, and -// deletion is in progress. Try your request again later. +// - For DeleteConformancePack, a conformance pack creation, update, and +// deletion is in progress. Try your request again later. // -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigRulesEvaluation func (c *ConfigService) StartConfigRulesEvaluation(input *StartConfigRulesEvaluationInput) (*StartConfigRulesEvaluationOutput, error) { @@ -10806,14 +10753,13 @@ const opStartConfigurationRecorder = "StartConfigurationRecorder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartConfigurationRecorderRequest method. +// req, resp := client.StartConfigurationRecorderRequest(params) // -// // Example sending a request using the StartConfigurationRecorderRequest method. -// req, resp := client.StartConfigurationRecorderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigurationRecorder func (c *ConfigService) StartConfigurationRecorderRequest(input *StartConfigurationRecorderInput) (req *request.Request, output *StartConfigurationRecorderOutput) { @@ -10849,11 +10795,12 @@ func (c *ConfigService) StartConfigurationRecorderRequest(input *StartConfigurat // API operation StartConfigurationRecorder for usage and error information. // // Returned Error Types: -// * NoSuchConfigurationRecorderException -// You have specified a configuration recorder that does not exist. // -// * NoAvailableDeliveryChannelException -// There is no delivery channel available to record configurations. +// - NoSuchConfigurationRecorderException +// You have specified a configuration recorder that does not exist. +// +// - NoAvailableDeliveryChannelException +// There is no delivery channel available to record configurations. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartConfigurationRecorder func (c *ConfigService) StartConfigurationRecorder(input *StartConfigurationRecorderInput) (*StartConfigurationRecorderOutput, error) { @@ -10893,14 +10840,13 @@ const opStartRemediationExecution = "StartRemediationExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartRemediationExecutionRequest method. +// req, resp := client.StartRemediationExecutionRequest(params) // -// // Example sending a request using the StartRemediationExecutionRequest method. -// req, resp := client.StartRemediationExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartRemediationExecution func (c *ConfigService) StartRemediationExecutionRequest(input *StartRemediationExecutionInput) (req *request.Request, output *StartRemediationExecutionOutput) { @@ -10937,29 +10883,30 @@ func (c *ConfigService) StartRemediationExecutionRequest(input *StartRemediation // API operation StartRemediationExecution for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more of the specified parameters are invalid. Verify that your parameters -// are valid and try again. // -// * InsufficientPermissionsException -// Indicates one of the following errors: +// - InvalidParameterValueException +// One or more of the specified parameters are invalid. Verify that your parameters +// are valid and try again. // -// * For PutConfigRule, the rule cannot be created because the IAM role assigned -// to Config lacks permissions to perform the config:Put* action. +// - InsufficientPermissionsException +// Indicates one of the following errors: // -// * For PutConfigRule, the Lambda function cannot be invoked. Check the -// function ARN, and check the function's permissions. +// - For PutConfigRule, the rule cannot be created because the IAM role assigned +// to Config lacks permissions to perform the config:Put* action. // -// * For PutOrganizationConfigRule, organization Config rule cannot be created -// because you do not have permissions to call IAM GetRole action or create -// a service linked role. +// - For PutConfigRule, the Lambda function cannot be invoked. Check the +// function ARN, and check the function's permissions. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack cannot be created because you do not have permissions: To call IAM -// GetRole action or create a service linked role. To read Amazon S3 bucket. +// - For PutOrganizationConfigRule, organization Config rule cannot be created +// because you do not have permissions to call IAM GetRole action or create +// a service linked role. // -// * NoSuchRemediationConfigurationException -// You specified an Config rule without a remediation configuration. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack cannot be created because you do not have permissions: To call IAM +// GetRole action or create a service linked role. To read Amazon S3 bucket. +// +// - NoSuchRemediationConfigurationException +// You specified an Config rule without a remediation configuration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StartRemediationExecution func (c *ConfigService) StartRemediationExecution(input *StartRemediationExecutionInput) (*StartRemediationExecutionOutput, error) { @@ -10999,14 +10946,13 @@ const opStopConfigurationRecorder = "StopConfigurationRecorder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopConfigurationRecorderRequest method. +// req, resp := client.StopConfigurationRecorderRequest(params) // -// // Example sending a request using the StopConfigurationRecorderRequest method. -// req, resp := client.StopConfigurationRecorderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StopConfigurationRecorder func (c *ConfigService) StopConfigurationRecorderRequest(input *StopConfigurationRecorderInput) (req *request.Request, output *StopConfigurationRecorderOutput) { @@ -11039,8 +10985,8 @@ func (c *ConfigService) StopConfigurationRecorderRequest(input *StopConfiguratio // API operation StopConfigurationRecorder for usage and error information. // // Returned Error Types: -// * NoSuchConfigurationRecorderException -// You have specified a configuration recorder that does not exist. +// - NoSuchConfigurationRecorderException +// You have specified a configuration recorder that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/StopConfigurationRecorder func (c *ConfigService) StopConfigurationRecorder(input *StopConfigurationRecorderInput) (*StopConfigurationRecorderOutput, error) { @@ -11080,14 +11026,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/TagResource func (c *ConfigService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -11122,23 +11067,24 @@ func (c *ConfigService) TagResourceRequest(input *TagResourceInput) (req *reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// * ResourceNotFoundException -// You have specified a resource that does not exist. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * TooManyTagsException -// You have reached the limit of the number of tags you can use. You have more -// than 50 tags. +// - ResourceNotFoundException +// You have specified a resource that does not exist. +// +// - TooManyTagsException +// You have reached the limit of the number of tags you can use. You have more +// than 50 tags. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/TagResource func (c *ConfigService) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -11178,14 +11124,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/UntagResource func (c *ConfigService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -11217,19 +11162,20 @@ func (c *ConfigService) UntagResourceRequest(input *UntagResourceInput) (req *re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The requested action is not valid. // -// For PutStoredQuery, you will see this exception if there are missing required -// fields or if the input value fails the validation, or if you are trying to -// create more than 300 queries. +// - ValidationException +// The requested action is not valid. +// +// For PutStoredQuery, you will see this exception if there are missing required +// fields or if the input value fails the validation, or if you are trying to +// create more than 300 queries. // -// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this -// exception if there are missing required fields or if the input value fails -// the validation. +// For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this +// exception if there are missing required fields or if the input value fails +// the validation. // -// * ResourceNotFoundException -// You have specified a resource that does not exist. +// - ResourceNotFoundException +// You have specified a resource that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/UntagResource func (c *ConfigService) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -13418,13 +13364,13 @@ func (s *ConfigRuleEvaluationStatus) SetLastSuccessfulInvocationTime(v time.Time // Config delivers the configuration snapshot is set by one of two values, depending // on which is less frequent: // -// * The value for the deliveryFrequency parameter within the delivery channel -// configuration, which sets how often Config delivers configuration snapshots. -// This value also sets how often Config invokes evaluations for Config rules. +// - The value for the deliveryFrequency parameter within the delivery channel +// configuration, which sets how often Config delivers configuration snapshots. +// This value also sets how often Config invokes evaluations for Config rules. // -// * The value for the MaximumExecutionFrequency parameter, which sets the -// maximum frequency with which Config invokes evaluations for the rule. -// For more information, see ConfigRule. +// - The value for the MaximumExecutionFrequency parameter, which sets the +// maximum frequency with which Config invokes evaluations for the rule. +// For more information, see ConfigRule. // // If the deliveryFrequency value is less frequent than the MaximumExecutionFrequency // value for a rule, Config invokes the rule only as often as the deliveryFrequency @@ -21420,19 +21366,19 @@ func (s *InsufficientDeliveryPolicyException) RequestID() string { // Indicates one of the following errors: // -// * For PutConfigRule, the rule cannot be created because the IAM role assigned -// to Config lacks permissions to perform the config:Put* action. +// - For PutConfigRule, the rule cannot be created because the IAM role assigned +// to Config lacks permissions to perform the config:Put* action. // -// * For PutConfigRule, the Lambda function cannot be invoked. Check the -// function ARN, and check the function's permissions. +// - For PutConfigRule, the Lambda function cannot be invoked. Check the +// function ARN, and check the function's permissions. // -// * For PutOrganizationConfigRule, organization Config rule cannot be created -// because you do not have permissions to call IAM GetRole action or create -// a service linked role. +// - For PutOrganizationConfigRule, organization Config rule cannot be created +// because you do not have permissions to call IAM GetRole action or create +// a service linked role. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack cannot be created because you do not have permissions: To call IAM -// GetRole action or create a service linked role. To read Amazon S3 bucket. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack cannot be created because you do not have permissions: To call IAM +// GetRole action or create a service linked role. To read Amazon S3 bucket. type InsufficientPermissionsException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -24611,22 +24557,22 @@ func (s *NoSuchRetentionConfigurationException) RequestID() string { // For PutConfigurationAggregator API, you can see this exception for the following // reasons: // -// * No permission to call EnableAWSServiceAccess API +// - No permission to call EnableAWSServiceAccess API // -// * The configuration aggregator cannot be updated because your Amazon Web -// Services Organization management account or the delegated administrator -// role changed. Delete this aggregator and create a new one with the current -// Amazon Web Services Organization. +// - The configuration aggregator cannot be updated because your Amazon Web +// Services Organization management account or the delegated administrator +// role changed. Delete this aggregator and create a new one with the current +// Amazon Web Services Organization. // -// * The configuration aggregator is associated with a previous Amazon Web -// Services Organization and Config cannot aggregate data with current Amazon -// Web Services Organization. Delete this aggregator and create a new one -// with the current Amazon Web Services Organization. +// - The configuration aggregator is associated with a previous Amazon Web +// Services Organization and Config cannot aggregate data with current Amazon +// Web Services Organization. Delete this aggregator and create a new one +// with the current Amazon Web Services Organization. // -// * You are not a registered delegated administrator for Config with permissions -// to call ListDelegatedAdministrators API. Ensure that the management account -// registers delagated administrator for Config service principle name before -// the delegated administrator creates an aggregator. +// - You are not a registered delegated administrator for Config with permissions +// to call ListDelegatedAdministrators API. Ensure that the management account +// registers delagated administrator for Config service principle name before +// the delegated administrator creates an aggregator. // // For all OrganizationConfigRule and OrganizationConformancePack APIs, Config // throws an exception if APIs are called from member accounts. All APIs must @@ -29033,28 +28979,28 @@ func (s *ResourceIdentifier) SetResourceType(v string) *ResourceIdentifier { // You see this exception in the following cases: // -// * For DeleteConfigRule, Config is deleting this rule. Try your request -// again later. +// - For DeleteConfigRule, Config is deleting this rule. Try your request +// again later. // -// * For DeleteConfigRule, the rule is deleting your evaluation results. -// Try your request again later. +// - For DeleteConfigRule, the rule is deleting your evaluation results. +// Try your request again later. // -// * For DeleteConfigRule, a remediation action is associated with the rule -// and Config cannot delete this rule. Delete the remediation action associated -// with the rule before deleting the rule and try your request again later. +// - For DeleteConfigRule, a remediation action is associated with the rule +// and Config cannot delete this rule. Delete the remediation action associated +// with the rule before deleting the rule and try your request again later. // -// * For PutConfigOrganizationRule, organization Config rule deletion is -// in progress. Try your request again later. +// - For PutConfigOrganizationRule, organization Config rule deletion is +// in progress. Try your request again later. // -// * For DeleteOrganizationConfigRule, organization Config rule creation -// is in progress. Try your request again later. +// - For DeleteOrganizationConfigRule, organization Config rule creation +// is in progress. Try your request again later. // -// * For PutConformancePack and PutOrganizationConformancePack, a conformance -// pack creation, update, and deletion is in progress. Try your request again -// later. +// - For PutConformancePack and PutOrganizationConformancePack, a conformance +// pack creation, update, and deletion is in progress. Try your request again +// later. // -// * For DeleteConformancePack, a conformance pack creation, update, and -// deletion is in progress. Try your request again later. +// - For DeleteConformancePack, a conformance pack creation, update, and +// deletion is in progress. Try your request again later. type ResourceInUseException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/configserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/configserviceiface/interface.go index a7cc3b510897..373cb3748ec5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/configserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/configserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Config. -// func myFunc(svc configserviceiface.ConfigServiceAPI) bool { -// // Make svc.BatchGetAggregateResourceConfig request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Config. +// func myFunc(svc configserviceiface.ConfigServiceAPI) bool { +// // Make svc.BatchGetAggregateResourceConfig request +// } // -// func main() { -// sess := session.New() -// svc := configservice.New(sess) +// func main() { +// sess := session.New() +// svc := configservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockConfigServiceClient struct { -// configserviceiface.ConfigServiceAPI -// } -// func (m *mockConfigServiceClient) BatchGetAggregateResourceConfig(input *configservice.BatchGetAggregateResourceConfigInput) (*configservice.BatchGetAggregateResourceConfigOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockConfigServiceClient struct { +// configserviceiface.ConfigServiceAPI +// } +// func (m *mockConfigServiceClient) BatchGetAggregateResourceConfig(input *configservice.BatchGetAggregateResourceConfigInput) (*configservice.BatchGetAggregateResourceConfigOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockConfigServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockConfigServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/doc.go index 603c56d619a8..b2ff77ccd9a4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/doc.go @@ -31,7 +31,7 @@ // See configservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/configservice/ // -// Using the Client +// # Using the Client // // To contact AWS Config with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/service.go index 4ceb644d0ffc..82b031ded996 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/configservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ConfigService client from just a session. -// svc := configservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ConfigService client with additional configuration -// svc := configservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ConfigService client from just a session. +// svc := configservice.New(mySession) +// +// // Create a ConfigService client with additional configuration +// svc := configservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ConfigService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/api.go index f784d712f9bc..b506bbb5af98 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/api.go @@ -29,14 +29,13 @@ const opAssociateApprovedOrigin = "AssociateApprovedOrigin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateApprovedOriginRequest method. +// req, resp := client.AssociateApprovedOriginRequest(params) // -// // Example sending a request using the AssociateApprovedOriginRequest method. -// req, resp := client.AssociateApprovedOriginRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateApprovedOrigin func (c *Connect) AssociateApprovedOriginRequest(input *AssociateApprovedOriginInput) (req *request.Request, output *AssociateApprovedOriginOutput) { @@ -70,26 +69,27 @@ func (c *Connect) AssociateApprovedOriginRequest(input *AssociateApprovedOriginI // API operation AssociateApprovedOrigin for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ResourceConflictException -// A resource already has that name. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ResourceConflictException +// A resource already has that name. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ServiceQuotaExceededException -// The service quota has been exceeded. +// - ServiceQuotaExceededException +// The service quota has been exceeded. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateApprovedOrigin func (c *Connect) AssociateApprovedOrigin(input *AssociateApprovedOriginInput) (*AssociateApprovedOriginOutput, error) { @@ -129,14 +129,13 @@ const opAssociateBot = "AssociateBot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateBotRequest method. +// req, resp := client.AssociateBotRequest(params) // -// // Example sending a request using the AssociateBotRequest method. -// req, resp := client.AssociateBotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateBot func (c *Connect) AssociateBotRequest(input *AssociateBotInput) (req *request.Request, output *AssociateBotOutput) { @@ -171,26 +170,27 @@ func (c *Connect) AssociateBotRequest(input *AssociateBotInput) (req *request.Re // API operation AssociateBot for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ResourceConflictException -// A resource already has that name. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceConflictException +// A resource already has that name. // -// * InvalidRequestException -// The request is not valid. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - InvalidRequestException +// The request is not valid. // -// * ServiceQuotaExceededException -// The service quota has been exceeded. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ServiceQuotaExceededException +// The service quota has been exceeded. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateBot func (c *Connect) AssociateBot(input *AssociateBotInput) (*AssociateBotOutput, error) { @@ -230,14 +230,13 @@ const opAssociateDefaultVocabulary = "AssociateDefaultVocabulary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateDefaultVocabularyRequest method. +// req, resp := client.AssociateDefaultVocabularyRequest(params) // -// // Example sending a request using the AssociateDefaultVocabularyRequest method. -// req, resp := client.AssociateDefaultVocabularyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateDefaultVocabulary func (c *Connect) AssociateDefaultVocabularyRequest(input *AssociateDefaultVocabularyInput) (req *request.Request, output *AssociateDefaultVocabularyOutput) { @@ -271,20 +270,21 @@ func (c *Connect) AssociateDefaultVocabularyRequest(input *AssociateDefaultVocab // API operation AssociateDefaultVocabulary for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidRequestException +// The request is not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateDefaultVocabulary func (c *Connect) AssociateDefaultVocabulary(input *AssociateDefaultVocabularyInput) (*AssociateDefaultVocabularyOutput, error) { @@ -324,14 +324,13 @@ const opAssociateInstanceStorageConfig = "AssociateInstanceStorageConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateInstanceStorageConfigRequest method. +// req, resp := client.AssociateInstanceStorageConfigRequest(params) // -// // Example sending a request using the AssociateInstanceStorageConfigRequest method. -// req, resp := client.AssociateInstanceStorageConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateInstanceStorageConfig func (c *Connect) AssociateInstanceStorageConfigRequest(input *AssociateInstanceStorageConfigInput) (req *request.Request, output *AssociateInstanceStorageConfigOutput) { @@ -371,23 +370,24 @@ func (c *Connect) AssociateInstanceStorageConfigRequest(input *AssociateInstance // API operation AssociateInstanceStorageConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ResourceConflictException -// A resource already has that name. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ResourceConflictException +// A resource already has that name. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateInstanceStorageConfig func (c *Connect) AssociateInstanceStorageConfig(input *AssociateInstanceStorageConfigInput) (*AssociateInstanceStorageConfigOutput, error) { @@ -427,14 +427,13 @@ const opAssociateLambdaFunction = "AssociateLambdaFunction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateLambdaFunctionRequest method. +// req, resp := client.AssociateLambdaFunctionRequest(params) // -// // Example sending a request using the AssociateLambdaFunctionRequest method. -// req, resp := client.AssociateLambdaFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateLambdaFunction func (c *Connect) AssociateLambdaFunctionRequest(input *AssociateLambdaFunctionInput) (req *request.Request, output *AssociateLambdaFunctionOutput) { @@ -469,26 +468,27 @@ func (c *Connect) AssociateLambdaFunctionRequest(input *AssociateLambdaFunctionI // API operation AssociateLambdaFunction for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ResourceConflictException -// A resource already has that name. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceConflictException +// A resource already has that name. // -// * InvalidRequestException -// The request is not valid. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ServiceQuotaExceededException -// The service quota has been exceeded. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ServiceQuotaExceededException +// The service quota has been exceeded. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateLambdaFunction func (c *Connect) AssociateLambdaFunction(input *AssociateLambdaFunctionInput) (*AssociateLambdaFunctionOutput, error) { @@ -528,14 +528,13 @@ const opAssociateLexBot = "AssociateLexBot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateLexBotRequest method. +// req, resp := client.AssociateLexBotRequest(params) // -// // Example sending a request using the AssociateLexBotRequest method. -// req, resp := client.AssociateLexBotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateLexBot func (c *Connect) AssociateLexBotRequest(input *AssociateLexBotInput) (req *request.Request, output *AssociateLexBotOutput) { @@ -570,26 +569,27 @@ func (c *Connect) AssociateLexBotRequest(input *AssociateLexBotInput) (req *requ // API operation AssociateLexBot for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ResourceConflictException -// A resource already has that name. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceConflictException +// A resource already has that name. // -// * InvalidRequestException -// The request is not valid. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ServiceQuotaExceededException -// The service quota has been exceeded. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ServiceQuotaExceededException +// The service quota has been exceeded. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateLexBot func (c *Connect) AssociateLexBot(input *AssociateLexBotInput) (*AssociateLexBotOutput, error) { @@ -629,14 +629,13 @@ const opAssociatePhoneNumberContactFlow = "AssociatePhoneNumberContactFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociatePhoneNumberContactFlowRequest method. +// req, resp := client.AssociatePhoneNumberContactFlowRequest(params) // -// // Example sending a request using the AssociatePhoneNumberContactFlowRequest method. -// req, resp := client.AssociatePhoneNumberContactFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociatePhoneNumberContactFlow func (c *Connect) AssociatePhoneNumberContactFlowRequest(input *AssociatePhoneNumberContactFlowInput) (req *request.Request, output *AssociatePhoneNumberContactFlowOutput) { @@ -669,20 +668,21 @@ func (c *Connect) AssociatePhoneNumberContactFlowRequest(input *AssociatePhoneNu // API operation AssociatePhoneNumberContactFlow for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociatePhoneNumberContactFlow func (c *Connect) AssociatePhoneNumberContactFlow(input *AssociatePhoneNumberContactFlowInput) (*AssociatePhoneNumberContactFlowOutput, error) { @@ -722,14 +722,13 @@ const opAssociateQueueQuickConnects = "AssociateQueueQuickConnects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateQueueQuickConnectsRequest method. +// req, resp := client.AssociateQueueQuickConnectsRequest(params) // -// // Example sending a request using the AssociateQueueQuickConnectsRequest method. -// req, resp := client.AssociateQueueQuickConnectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateQueueQuickConnects func (c *Connect) AssociateQueueQuickConnectsRequest(input *AssociateQueueQuickConnectsInput) (req *request.Request, output *AssociateQueueQuickConnectsOutput) { @@ -763,23 +762,24 @@ func (c *Connect) AssociateQueueQuickConnectsRequest(input *AssociateQueueQuickC // API operation AssociateQueueQuickConnects for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateQueueQuickConnects func (c *Connect) AssociateQueueQuickConnects(input *AssociateQueueQuickConnectsInput) (*AssociateQueueQuickConnectsOutput, error) { @@ -819,14 +819,13 @@ const opAssociateRoutingProfileQueues = "AssociateRoutingProfileQueues" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateRoutingProfileQueuesRequest method. +// req, resp := client.AssociateRoutingProfileQueuesRequest(params) // -// // Example sending a request using the AssociateRoutingProfileQueuesRequest method. -// req, resp := client.AssociateRoutingProfileQueuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateRoutingProfileQueues func (c *Connect) AssociateRoutingProfileQueuesRequest(input *AssociateRoutingProfileQueuesInput) (req *request.Request, output *AssociateRoutingProfileQueuesOutput) { @@ -858,20 +857,21 @@ func (c *Connect) AssociateRoutingProfileQueuesRequest(input *AssociateRoutingPr // API operation AssociateRoutingProfileQueues for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateRoutingProfileQueues func (c *Connect) AssociateRoutingProfileQueues(input *AssociateRoutingProfileQueuesInput) (*AssociateRoutingProfileQueuesOutput, error) { @@ -911,14 +911,13 @@ const opAssociateSecurityKey = "AssociateSecurityKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateSecurityKeyRequest method. +// req, resp := client.AssociateSecurityKeyRequest(params) // -// // Example sending a request using the AssociateSecurityKeyRequest method. -// req, resp := client.AssociateSecurityKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateSecurityKey func (c *Connect) AssociateSecurityKeyRequest(input *AssociateSecurityKeyInput) (req *request.Request, output *AssociateSecurityKeyOutput) { @@ -951,26 +950,27 @@ func (c *Connect) AssociateSecurityKeyRequest(input *AssociateSecurityKeyInput) // API operation AssociateSecurityKey for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ResourceConflictException -// A resource already has that name. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceConflictException +// A resource already has that name. // -// * InvalidRequestException -// The request is not valid. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ServiceQuotaExceededException -// The service quota has been exceeded. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ServiceQuotaExceededException +// The service quota has been exceeded. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateSecurityKey func (c *Connect) AssociateSecurityKey(input *AssociateSecurityKeyInput) (*AssociateSecurityKeyOutput, error) { @@ -1010,14 +1010,13 @@ const opClaimPhoneNumber = "ClaimPhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ClaimPhoneNumberRequest method. +// req, resp := client.ClaimPhoneNumberRequest(params) // -// // Example sending a request using the ClaimPhoneNumberRequest method. -// req, resp := client.ClaimPhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ClaimPhoneNumber func (c *Connect) ClaimPhoneNumberRequest(input *ClaimPhoneNumberInput) (req *request.Request, output *ClaimPhoneNumberOutput) { @@ -1048,23 +1047,24 @@ func (c *Connect) ClaimPhoneNumberRequest(input *ClaimPhoneNumberInput) (req *re // API operation ClaimPhoneNumber for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * IdempotencyException -// An entity with the same name already exists. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - IdempotencyException +// An entity with the same name already exists. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ClaimPhoneNumber func (c *Connect) ClaimPhoneNumber(input *ClaimPhoneNumberInput) (*ClaimPhoneNumberOutput, error) { @@ -1104,14 +1104,13 @@ const opCreateAgentStatus = "CreateAgentStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAgentStatusRequest method. +// req, resp := client.CreateAgentStatusRequest(params) // -// // Example sending a request using the CreateAgentStatusRequest method. -// req, resp := client.CreateAgentStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateAgentStatus func (c *Connect) CreateAgentStatusRequest(input *CreateAgentStatusInput) (req *request.Request, output *CreateAgentStatusOutput) { @@ -1144,26 +1143,27 @@ func (c *Connect) CreateAgentStatusRequest(input *CreateAgentStatusInput) (req * // API operation CreateAgentStatus for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateAgentStatus func (c *Connect) CreateAgentStatus(input *CreateAgentStatusInput) (*CreateAgentStatusOutput, error) { @@ -1203,14 +1203,13 @@ const opCreateContactFlow = "CreateContactFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateContactFlowRequest method. +// req, resp := client.CreateContactFlowRequest(params) // -// // Example sending a request using the CreateContactFlowRequest method. -// req, resp := client.CreateContactFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateContactFlow func (c *Connect) CreateContactFlowRequest(input *CreateContactFlowInput) (req *request.Request, output *CreateContactFlowOutput) { @@ -1244,29 +1243,30 @@ func (c *Connect) CreateContactFlowRequest(input *CreateContactFlowInput) (req * // API operation CreateContactFlow for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidContactFlowException -// The contact flow is not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidContactFlowException +// The contact flow is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateContactFlow func (c *Connect) CreateContactFlow(input *CreateContactFlowInput) (*CreateContactFlowOutput, error) { @@ -1306,14 +1306,13 @@ const opCreateContactFlowModule = "CreateContactFlowModule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateContactFlowModuleRequest method. +// req, resp := client.CreateContactFlowModuleRequest(params) // -// // Example sending a request using the CreateContactFlowModuleRequest method. -// req, resp := client.CreateContactFlowModuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateContactFlowModule func (c *Connect) CreateContactFlowModuleRequest(input *CreateContactFlowModuleInput) (req *request.Request, output *CreateContactFlowModuleOutput) { @@ -1344,35 +1343,36 @@ func (c *Connect) CreateContactFlowModuleRequest(input *CreateContactFlowModuleI // API operation CreateContactFlowModule for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InvalidRequestException +// The request is not valid. // -// * InvalidContactFlowModuleException -// The problems with the module. Please fix before trying again. +// - InvalidContactFlowModuleException +// The problems with the module. Please fix before trying again. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * IdempotencyException -// An entity with the same name already exists. +// - IdempotencyException +// An entity with the same name already exists. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateContactFlowModule func (c *Connect) CreateContactFlowModule(input *CreateContactFlowModuleInput) (*CreateContactFlowModuleOutput, error) { @@ -1412,14 +1412,13 @@ const opCreateHoursOfOperation = "CreateHoursOfOperation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHoursOfOperationRequest method. +// req, resp := client.CreateHoursOfOperationRequest(params) // -// // Example sending a request using the CreateHoursOfOperationRequest method. -// req, resp := client.CreateHoursOfOperationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateHoursOfOperation func (c *Connect) CreateHoursOfOperationRequest(input *CreateHoursOfOperationInput) (req *request.Request, output *CreateHoursOfOperationOutput) { @@ -1452,26 +1451,27 @@ func (c *Connect) CreateHoursOfOperationRequest(input *CreateHoursOfOperationInp // API operation CreateHoursOfOperation for usage and error information. // // Returned Error Types: -// * DuplicateResourceException -// A resource with the specified name already exists. // -// * InvalidRequestException -// The request is not valid. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateHoursOfOperation func (c *Connect) CreateHoursOfOperation(input *CreateHoursOfOperationInput) (*CreateHoursOfOperationOutput, error) { @@ -1511,14 +1511,13 @@ const opCreateInstance = "CreateInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInstanceRequest method. +// req, resp := client.CreateInstanceRequest(params) // -// // Example sending a request using the CreateInstanceRequest method. -// req, resp := client.CreateInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateInstance func (c *Connect) CreateInstanceRequest(input *CreateInstanceInput) (req *request.Request, output *CreateInstanceOutput) { @@ -1560,20 +1559,21 @@ func (c *Connect) CreateInstanceRequest(input *CreateInstanceInput) (req *reques // API operation CreateInstance for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ServiceQuotaExceededException -// The service quota has been exceeded. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ServiceQuotaExceededException +// The service quota has been exceeded. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateInstance func (c *Connect) CreateInstance(input *CreateInstanceInput) (*CreateInstanceOutput, error) { @@ -1613,14 +1613,13 @@ const opCreateIntegrationAssociation = "CreateIntegrationAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIntegrationAssociationRequest method. +// req, resp := client.CreateIntegrationAssociationRequest(params) // -// // Example sending a request using the CreateIntegrationAssociationRequest method. -// req, resp := client.CreateIntegrationAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateIntegrationAssociation func (c *Connect) CreateIntegrationAssociationRequest(input *CreateIntegrationAssociationInput) (req *request.Request, output *CreateIntegrationAssociationOutput) { @@ -1652,20 +1651,21 @@ func (c *Connect) CreateIntegrationAssociationRequest(input *CreateIntegrationAs // API operation CreateIntegrationAssociation for usage and error information. // // Returned Error Types: -// * DuplicateResourceException -// A resource with the specified name already exists. // -// * ResourceNotFoundException -// The specified resource was not found. +// - DuplicateResourceException +// A resource with the specified name already exists. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateIntegrationAssociation func (c *Connect) CreateIntegrationAssociation(input *CreateIntegrationAssociationInput) (*CreateIntegrationAssociationOutput, error) { @@ -1705,14 +1705,13 @@ const opCreateQueue = "CreateQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateQueueRequest method. +// req, resp := client.CreateQueueRequest(params) // -// // Example sending a request using the CreateQueueRequest method. -// req, resp := client.CreateQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateQueue func (c *Connect) CreateQueueRequest(input *CreateQueueInput) (req *request.Request, output *CreateQueueOutput) { @@ -1745,26 +1744,27 @@ func (c *Connect) CreateQueueRequest(input *CreateQueueInput) (req *request.Requ // API operation CreateQueue for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateQueue func (c *Connect) CreateQueue(input *CreateQueueInput) (*CreateQueueOutput, error) { @@ -1804,14 +1804,13 @@ const opCreateQuickConnect = "CreateQuickConnect" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateQuickConnectRequest method. +// req, resp := client.CreateQuickConnectRequest(params) // -// // Example sending a request using the CreateQuickConnectRequest method. -// req, resp := client.CreateQuickConnectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateQuickConnect func (c *Connect) CreateQuickConnectRequest(input *CreateQuickConnectInput) (req *request.Request, output *CreateQuickConnectOutput) { @@ -1842,26 +1841,27 @@ func (c *Connect) CreateQuickConnectRequest(input *CreateQuickConnectInput) (req // API operation CreateQuickConnect for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateQuickConnect func (c *Connect) CreateQuickConnect(input *CreateQuickConnectInput) (*CreateQuickConnectOutput, error) { @@ -1901,14 +1901,13 @@ const opCreateRoutingProfile = "CreateRoutingProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRoutingProfileRequest method. +// req, resp := client.CreateRoutingProfileRequest(params) // -// // Example sending a request using the CreateRoutingProfileRequest method. -// req, resp := client.CreateRoutingProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateRoutingProfile func (c *Connect) CreateRoutingProfileRequest(input *CreateRoutingProfileInput) (req *request.Request, output *CreateRoutingProfileOutput) { @@ -1939,26 +1938,27 @@ func (c *Connect) CreateRoutingProfileRequest(input *CreateRoutingProfileInput) // API operation CreateRoutingProfile for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateRoutingProfile func (c *Connect) CreateRoutingProfile(input *CreateRoutingProfileInput) (*CreateRoutingProfileOutput, error) { @@ -1998,14 +1998,13 @@ const opCreateSecurityProfile = "CreateSecurityProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSecurityProfileRequest method. +// req, resp := client.CreateSecurityProfileRequest(params) // -// // Example sending a request using the CreateSecurityProfileRequest method. -// req, resp := client.CreateSecurityProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateSecurityProfile func (c *Connect) CreateSecurityProfileRequest(input *CreateSecurityProfileInput) (req *request.Request, output *CreateSecurityProfileOutput) { @@ -2038,26 +2037,27 @@ func (c *Connect) CreateSecurityProfileRequest(input *CreateSecurityProfileInput // API operation CreateSecurityProfile for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // -// * ResourceNotFoundException -// The specified resource was not found. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateSecurityProfile func (c *Connect) CreateSecurityProfile(input *CreateSecurityProfileInput) (*CreateSecurityProfileOutput, error) { @@ -2097,14 +2097,13 @@ const opCreateUseCase = "CreateUseCase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUseCaseRequest method. +// req, resp := client.CreateUseCaseRequest(params) // -// // Example sending a request using the CreateUseCaseRequest method. -// req, resp := client.CreateUseCaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateUseCase func (c *Connect) CreateUseCaseRequest(input *CreateUseCaseInput) (req *request.Request, output *CreateUseCaseOutput) { @@ -2135,20 +2134,21 @@ func (c *Connect) CreateUseCaseRequest(input *CreateUseCaseInput) (req *request. // API operation CreateUseCase for usage and error information. // // Returned Error Types: -// * DuplicateResourceException -// A resource with the specified name already exists. // -// * ResourceNotFoundException -// The specified resource was not found. +// - DuplicateResourceException +// A resource with the specified name already exists. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateUseCase func (c *Connect) CreateUseCase(input *CreateUseCaseInput) (*CreateUseCaseOutput, error) { @@ -2188,14 +2188,13 @@ const opCreateUser = "CreateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserRequest method. +// req, resp := client.CreateUserRequest(params) // -// // Example sending a request using the CreateUserRequest method. -// req, resp := client.CreateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateUser func (c *Connect) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) { @@ -2230,26 +2229,27 @@ func (c *Connect) CreateUserRequest(input *CreateUserInput) (req *request.Reques // API operation CreateUser for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateUser func (c *Connect) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) { @@ -2289,14 +2289,13 @@ const opCreateUserHierarchyGroup = "CreateUserHierarchyGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserHierarchyGroupRequest method. +// req, resp := client.CreateUserHierarchyGroupRequest(params) // -// // Example sending a request using the CreateUserHierarchyGroupRequest method. -// req, resp := client.CreateUserHierarchyGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateUserHierarchyGroup func (c *Connect) CreateUserHierarchyGroupRequest(input *CreateUserHierarchyGroupInput) (req *request.Request, output *CreateUserHierarchyGroupOutput) { @@ -2327,26 +2326,27 @@ func (c *Connect) CreateUserHierarchyGroupRequest(input *CreateUserHierarchyGrou // API operation CreateUserHierarchyGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateUserHierarchyGroup func (c *Connect) CreateUserHierarchyGroup(input *CreateUserHierarchyGroupInput) (*CreateUserHierarchyGroupOutput, error) { @@ -2386,14 +2386,13 @@ const opCreateVocabulary = "CreateVocabulary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVocabularyRequest method. +// req, resp := client.CreateVocabularyRequest(params) // -// // Example sending a request using the CreateVocabularyRequest method. -// req, resp := client.CreateVocabularyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateVocabulary func (c *Connect) CreateVocabularyRequest(input *CreateVocabularyInput) (req *request.Request, output *CreateVocabularyOutput) { @@ -2427,26 +2426,27 @@ func (c *Connect) CreateVocabularyRequest(input *CreateVocabularyInput) (req *re // API operation CreateVocabulary for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidRequestException +// The request is not valid. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * ResourceConflictException -// A resource already has that name. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * ServiceQuotaExceededException -// The service quota has been exceeded. +// - ResourceConflictException +// A resource already has that name. +// +// - ServiceQuotaExceededException +// The service quota has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreateVocabulary func (c *Connect) CreateVocabulary(input *CreateVocabularyInput) (*CreateVocabularyOutput, error) { @@ -2486,14 +2486,13 @@ const opDeleteContactFlow = "DeleteContactFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteContactFlowRequest method. +// req, resp := client.DeleteContactFlowRequest(params) // -// // Example sending a request using the DeleteContactFlowRequest method. -// req, resp := client.DeleteContactFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactFlow func (c *Connect) DeleteContactFlowRequest(input *DeleteContactFlowInput) (req *request.Request, output *DeleteContactFlowOutput) { @@ -2525,23 +2524,24 @@ func (c *Connect) DeleteContactFlowRequest(input *DeleteContactFlowInput) (req * // API operation DeleteContactFlow for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactFlow func (c *Connect) DeleteContactFlow(input *DeleteContactFlowInput) (*DeleteContactFlowOutput, error) { @@ -2581,14 +2581,13 @@ const opDeleteContactFlowModule = "DeleteContactFlowModule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteContactFlowModuleRequest method. +// req, resp := client.DeleteContactFlowModuleRequest(params) // -// // Example sending a request using the DeleteContactFlowModuleRequest method. -// req, resp := client.DeleteContactFlowModuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactFlowModule func (c *Connect) DeleteContactFlowModuleRequest(input *DeleteContactFlowModuleInput) (req *request.Request, output *DeleteContactFlowModuleOutput) { @@ -2620,23 +2619,24 @@ func (c *Connect) DeleteContactFlowModuleRequest(input *DeleteContactFlowModuleI // API operation DeleteContactFlowModule for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteContactFlowModule func (c *Connect) DeleteContactFlowModule(input *DeleteContactFlowModuleInput) (*DeleteContactFlowModuleOutput, error) { @@ -2676,14 +2676,13 @@ const opDeleteHoursOfOperation = "DeleteHoursOfOperation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteHoursOfOperationRequest method. +// req, resp := client.DeleteHoursOfOperationRequest(params) // -// // Example sending a request using the DeleteHoursOfOperationRequest method. -// req, resp := client.DeleteHoursOfOperationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteHoursOfOperation func (c *Connect) DeleteHoursOfOperationRequest(input *DeleteHoursOfOperationInput) (req *request.Request, output *DeleteHoursOfOperationOutput) { @@ -2717,20 +2716,21 @@ func (c *Connect) DeleteHoursOfOperationRequest(input *DeleteHoursOfOperationInp // API operation DeleteHoursOfOperation for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteHoursOfOperation func (c *Connect) DeleteHoursOfOperation(input *DeleteHoursOfOperationInput) (*DeleteHoursOfOperationOutput, error) { @@ -2770,14 +2770,13 @@ const opDeleteInstance = "DeleteInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInstanceRequest method. +// req, resp := client.DeleteInstanceRequest(params) // -// // Example sending a request using the DeleteInstanceRequest method. -// req, resp := client.DeleteInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteInstance func (c *Connect) DeleteInstanceRequest(input *DeleteInstanceInput) (req *request.Request, output *DeleteInstanceOutput) { @@ -2817,14 +2816,15 @@ func (c *Connect) DeleteInstanceRequest(input *DeleteInstanceInput) (req *reques // API operation DeleteInstance for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteInstance func (c *Connect) DeleteInstance(input *DeleteInstanceInput) (*DeleteInstanceOutput, error) { @@ -2864,14 +2864,13 @@ const opDeleteIntegrationAssociation = "DeleteIntegrationAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIntegrationAssociationRequest method. +// req, resp := client.DeleteIntegrationAssociationRequest(params) // -// // Example sending a request using the DeleteIntegrationAssociationRequest method. -// req, resp := client.DeleteIntegrationAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteIntegrationAssociation func (c *Connect) DeleteIntegrationAssociationRequest(input *DeleteIntegrationAssociationInput) (req *request.Request, output *DeleteIntegrationAssociationOutput) { @@ -2904,17 +2903,18 @@ func (c *Connect) DeleteIntegrationAssociationRequest(input *DeleteIntegrationAs // API operation DeleteIntegrationAssociation for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidRequestException -// The request is not valid. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InvalidRequestException +// The request is not valid. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteIntegrationAssociation func (c *Connect) DeleteIntegrationAssociation(input *DeleteIntegrationAssociationInput) (*DeleteIntegrationAssociationOutput, error) { @@ -2954,14 +2954,13 @@ const opDeleteQuickConnect = "DeleteQuickConnect" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteQuickConnectRequest method. +// req, resp := client.DeleteQuickConnectRequest(params) // -// // Example sending a request using the DeleteQuickConnectRequest method. -// req, resp := client.DeleteQuickConnectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteQuickConnect func (c *Connect) DeleteQuickConnectRequest(input *DeleteQuickConnectInput) (req *request.Request, output *DeleteQuickConnectOutput) { @@ -2993,20 +2992,21 @@ func (c *Connect) DeleteQuickConnectRequest(input *DeleteQuickConnectInput) (req // API operation DeleteQuickConnect for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteQuickConnect func (c *Connect) DeleteQuickConnect(input *DeleteQuickConnectInput) (*DeleteQuickConnectOutput, error) { @@ -3046,14 +3046,13 @@ const opDeleteSecurityProfile = "DeleteSecurityProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSecurityProfileRequest method. +// req, resp := client.DeleteSecurityProfileRequest(params) // -// // Example sending a request using the DeleteSecurityProfileRequest method. -// req, resp := client.DeleteSecurityProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteSecurityProfile func (c *Connect) DeleteSecurityProfileRequest(input *DeleteSecurityProfileInput) (req *request.Request, output *DeleteSecurityProfileOutput) { @@ -3087,26 +3086,27 @@ func (c *Connect) DeleteSecurityProfileRequest(input *DeleteSecurityProfileInput // API operation DeleteSecurityProfile for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * ResourceInUseException -// That resource is already in use. Please try another. +// - ResourceInUseException +// That resource is already in use. Please try another. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteSecurityProfile func (c *Connect) DeleteSecurityProfile(input *DeleteSecurityProfileInput) (*DeleteSecurityProfileOutput, error) { @@ -3146,14 +3146,13 @@ const opDeleteUseCase = "DeleteUseCase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUseCaseRequest method. +// req, resp := client.DeleteUseCaseRequest(params) // -// // Example sending a request using the DeleteUseCaseRequest method. -// req, resp := client.DeleteUseCaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteUseCase func (c *Connect) DeleteUseCaseRequest(input *DeleteUseCaseInput) (req *request.Request, output *DeleteUseCaseOutput) { @@ -3185,17 +3184,18 @@ func (c *Connect) DeleteUseCaseRequest(input *DeleteUseCaseInput) (req *request. // API operation DeleteUseCase for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteUseCase func (c *Connect) DeleteUseCase(input *DeleteUseCaseInput) (*DeleteUseCaseOutput, error) { @@ -3235,14 +3235,13 @@ const opDeleteUser = "DeleteUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserRequest method. +// req, resp := client.DeleteUserRequest(params) // -// // Example sending a request using the DeleteUserRequest method. -// req, resp := client.DeleteUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteUser func (c *Connect) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { @@ -3278,20 +3277,21 @@ func (c *Connect) DeleteUserRequest(input *DeleteUserInput) (req *request.Reques // API operation DeleteUser for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteUser func (c *Connect) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { @@ -3331,14 +3331,13 @@ const opDeleteUserHierarchyGroup = "DeleteUserHierarchyGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserHierarchyGroupRequest method. +// req, resp := client.DeleteUserHierarchyGroupRequest(params) // -// // Example sending a request using the DeleteUserHierarchyGroupRequest method. -// req, resp := client.DeleteUserHierarchyGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteUserHierarchyGroup func (c *Connect) DeleteUserHierarchyGroupRequest(input *DeleteUserHierarchyGroupInput) (req *request.Request, output *DeleteUserHierarchyGroupOutput) { @@ -3371,23 +3370,24 @@ func (c *Connect) DeleteUserHierarchyGroupRequest(input *DeleteUserHierarchyGrou // API operation DeleteUserHierarchyGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceInUseException -// That resource is already in use. Please try another. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceInUseException +// That resource is already in use. Please try another. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteUserHierarchyGroup func (c *Connect) DeleteUserHierarchyGroup(input *DeleteUserHierarchyGroupInput) (*DeleteUserHierarchyGroupOutput, error) { @@ -3427,14 +3427,13 @@ const opDeleteVocabulary = "DeleteVocabulary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVocabularyRequest method. +// req, resp := client.DeleteVocabularyRequest(params) // -// // Example sending a request using the DeleteVocabularyRequest method. -// req, resp := client.DeleteVocabularyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteVocabulary func (c *Connect) DeleteVocabularyRequest(input *DeleteVocabularyInput) (req *request.Request, output *DeleteVocabularyOutput) { @@ -3465,23 +3464,24 @@ func (c *Connect) DeleteVocabularyRequest(input *DeleteVocabularyInput) (req *re // API operation DeleteVocabulary for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidRequestException +// The request is not valid. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * ResourceInUseException -// That resource is already in use. Please try another. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - ResourceInUseException +// That resource is already in use. Please try another. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DeleteVocabulary func (c *Connect) DeleteVocabulary(input *DeleteVocabularyInput) (*DeleteVocabularyOutput, error) { @@ -3521,14 +3521,13 @@ const opDescribeAgentStatus = "DescribeAgentStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAgentStatusRequest method. +// req, resp := client.DescribeAgentStatusRequest(params) // -// // Example sending a request using the DescribeAgentStatusRequest method. -// req, resp := client.DescribeAgentStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeAgentStatus func (c *Connect) DescribeAgentStatusRequest(input *DescribeAgentStatusInput) (req *request.Request, output *DescribeAgentStatusOutput) { @@ -3561,20 +3560,21 @@ func (c *Connect) DescribeAgentStatusRequest(input *DescribeAgentStatusInput) (r // API operation DescribeAgentStatus for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeAgentStatus func (c *Connect) DescribeAgentStatus(input *DescribeAgentStatusInput) (*DescribeAgentStatusOutput, error) { @@ -3614,14 +3614,13 @@ const opDescribeContact = "DescribeContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeContactRequest method. +// req, resp := client.DescribeContactRequest(params) // -// // Example sending a request using the DescribeContactRequest method. -// req, resp := client.DescribeContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContact func (c *Connect) DescribeContactRequest(input *DescribeContactInput) (req *request.Request, output *DescribeContactOutput) { @@ -3657,20 +3656,21 @@ func (c *Connect) DescribeContactRequest(input *DescribeContactInput) (req *requ // API operation DescribeContact for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContact func (c *Connect) DescribeContact(input *DescribeContactInput) (*DescribeContactOutput, error) { @@ -3710,14 +3710,13 @@ const opDescribeContactFlow = "DescribeContactFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeContactFlowRequest method. +// req, resp := client.DescribeContactFlowRequest(params) // -// // Example sending a request using the DescribeContactFlowRequest method. -// req, resp := client.DescribeContactFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContactFlow func (c *Connect) DescribeContactFlowRequest(input *DescribeContactFlowInput) (req *request.Request, output *DescribeContactFlowOutput) { @@ -3751,23 +3750,24 @@ func (c *Connect) DescribeContactFlowRequest(input *DescribeContactFlowInput) (r // API operation DescribeContactFlow for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ContactFlowNotPublishedException -// The contact flow has not been published. +// - ContactFlowNotPublishedException +// The contact flow has not been published. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContactFlow func (c *Connect) DescribeContactFlow(input *DescribeContactFlowInput) (*DescribeContactFlowOutput, error) { @@ -3807,14 +3807,13 @@ const opDescribeContactFlowModule = "DescribeContactFlowModule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeContactFlowModuleRequest method. +// req, resp := client.DescribeContactFlowModuleRequest(params) // -// // Example sending a request using the DescribeContactFlowModuleRequest method. -// req, resp := client.DescribeContactFlowModuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContactFlowModule func (c *Connect) DescribeContactFlowModuleRequest(input *DescribeContactFlowModuleInput) (req *request.Request, output *DescribeContactFlowModuleOutput) { @@ -3845,23 +3844,24 @@ func (c *Connect) DescribeContactFlowModuleRequest(input *DescribeContactFlowMod // API operation DescribeContactFlowModule for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeContactFlowModule func (c *Connect) DescribeContactFlowModule(input *DescribeContactFlowModuleInput) (*DescribeContactFlowModuleOutput, error) { @@ -3901,14 +3901,13 @@ const opDescribeHoursOfOperation = "DescribeHoursOfOperation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHoursOfOperationRequest method. +// req, resp := client.DescribeHoursOfOperationRequest(params) // -// // Example sending a request using the DescribeHoursOfOperationRequest method. -// req, resp := client.DescribeHoursOfOperationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeHoursOfOperation func (c *Connect) DescribeHoursOfOperationRequest(input *DescribeHoursOfOperationInput) (req *request.Request, output *DescribeHoursOfOperationOutput) { @@ -3941,20 +3940,21 @@ func (c *Connect) DescribeHoursOfOperationRequest(input *DescribeHoursOfOperatio // API operation DescribeHoursOfOperation for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeHoursOfOperation func (c *Connect) DescribeHoursOfOperation(input *DescribeHoursOfOperationInput) (*DescribeHoursOfOperationOutput, error) { @@ -3994,14 +3994,13 @@ const opDescribeInstance = "DescribeInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceRequest method. +// req, resp := client.DescribeInstanceRequest(params) // -// // Example sending a request using the DescribeInstanceRequest method. -// req, resp := client.DescribeInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstance func (c *Connect) DescribeInstanceRequest(input *DescribeInstanceInput) (req *request.Request, output *DescribeInstanceOutput) { @@ -4039,14 +4038,15 @@ func (c *Connect) DescribeInstanceRequest(input *DescribeInstanceInput) (req *re // API operation DescribeInstance for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidRequestException +// The request is not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstance func (c *Connect) DescribeInstance(input *DescribeInstanceInput) (*DescribeInstanceOutput, error) { @@ -4086,14 +4086,13 @@ const opDescribeInstanceAttribute = "DescribeInstanceAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceAttributeRequest method. +// req, resp := client.DescribeInstanceAttributeRequest(params) // -// // Example sending a request using the DescribeInstanceAttributeRequest method. -// req, resp := client.DescribeInstanceAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstanceAttribute func (c *Connect) DescribeInstanceAttributeRequest(input *DescribeInstanceAttributeInput) (req *request.Request, output *DescribeInstanceAttributeOutput) { @@ -4126,20 +4125,21 @@ func (c *Connect) DescribeInstanceAttributeRequest(input *DescribeInstanceAttrib // API operation DescribeInstanceAttribute for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstanceAttribute func (c *Connect) DescribeInstanceAttribute(input *DescribeInstanceAttributeInput) (*DescribeInstanceAttributeOutput, error) { @@ -4179,14 +4179,13 @@ const opDescribeInstanceStorageConfig = "DescribeInstanceStorageConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceStorageConfigRequest method. +// req, resp := client.DescribeInstanceStorageConfigRequest(params) // -// // Example sending a request using the DescribeInstanceStorageConfigRequest method. -// req, resp := client.DescribeInstanceStorageConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstanceStorageConfig func (c *Connect) DescribeInstanceStorageConfigRequest(input *DescribeInstanceStorageConfigInput) (req *request.Request, output *DescribeInstanceStorageConfigOutput) { @@ -4220,20 +4219,21 @@ func (c *Connect) DescribeInstanceStorageConfigRequest(input *DescribeInstanceSt // API operation DescribeInstanceStorageConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeInstanceStorageConfig func (c *Connect) DescribeInstanceStorageConfig(input *DescribeInstanceStorageConfigInput) (*DescribeInstanceStorageConfigOutput, error) { @@ -4273,14 +4273,13 @@ const opDescribePhoneNumber = "DescribePhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePhoneNumberRequest method. +// req, resp := client.DescribePhoneNumberRequest(params) // -// // Example sending a request using the DescribePhoneNumberRequest method. -// req, resp := client.DescribePhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribePhoneNumber func (c *Connect) DescribePhoneNumberRequest(input *DescribePhoneNumberInput) (req *request.Request, output *DescribePhoneNumberOutput) { @@ -4312,20 +4311,21 @@ func (c *Connect) DescribePhoneNumberRequest(input *DescribePhoneNumberInput) (r // API operation DescribePhoneNumber for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribePhoneNumber func (c *Connect) DescribePhoneNumber(input *DescribePhoneNumberInput) (*DescribePhoneNumberOutput, error) { @@ -4365,14 +4365,13 @@ const opDescribeQueue = "DescribeQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeQueueRequest method. +// req, resp := client.DescribeQueueRequest(params) // -// // Example sending a request using the DescribeQueueRequest method. -// req, resp := client.DescribeQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeQueue func (c *Connect) DescribeQueueRequest(input *DescribeQueueInput) (req *request.Request, output *DescribeQueueOutput) { @@ -4405,20 +4404,21 @@ func (c *Connect) DescribeQueueRequest(input *DescribeQueueInput) (req *request. // API operation DescribeQueue for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeQueue func (c *Connect) DescribeQueue(input *DescribeQueueInput) (*DescribeQueueOutput, error) { @@ -4458,14 +4458,13 @@ const opDescribeQuickConnect = "DescribeQuickConnect" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeQuickConnectRequest method. +// req, resp := client.DescribeQuickConnectRequest(params) // -// // Example sending a request using the DescribeQuickConnectRequest method. -// req, resp := client.DescribeQuickConnectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeQuickConnect func (c *Connect) DescribeQuickConnectRequest(input *DescribeQuickConnectInput) (req *request.Request, output *DescribeQuickConnectOutput) { @@ -4496,20 +4495,21 @@ func (c *Connect) DescribeQuickConnectRequest(input *DescribeQuickConnectInput) // API operation DescribeQuickConnect for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeQuickConnect func (c *Connect) DescribeQuickConnect(input *DescribeQuickConnectInput) (*DescribeQuickConnectOutput, error) { @@ -4549,14 +4549,13 @@ const opDescribeRoutingProfile = "DescribeRoutingProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRoutingProfileRequest method. +// req, resp := client.DescribeRoutingProfileRequest(params) // -// // Example sending a request using the DescribeRoutingProfileRequest method. -// req, resp := client.DescribeRoutingProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeRoutingProfile func (c *Connect) DescribeRoutingProfileRequest(input *DescribeRoutingProfileInput) (req *request.Request, output *DescribeRoutingProfileOutput) { @@ -4587,20 +4586,21 @@ func (c *Connect) DescribeRoutingProfileRequest(input *DescribeRoutingProfileInp // API operation DescribeRoutingProfile for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeRoutingProfile func (c *Connect) DescribeRoutingProfile(input *DescribeRoutingProfileInput) (*DescribeRoutingProfileOutput, error) { @@ -4640,14 +4640,13 @@ const opDescribeSecurityProfile = "DescribeSecurityProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSecurityProfileRequest method. +// req, resp := client.DescribeSecurityProfileRequest(params) // -// // Example sending a request using the DescribeSecurityProfileRequest method. -// req, resp := client.DescribeSecurityProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeSecurityProfile func (c *Connect) DescribeSecurityProfileRequest(input *DescribeSecurityProfileInput) (req *request.Request, output *DescribeSecurityProfileOutput) { @@ -4680,20 +4679,21 @@ func (c *Connect) DescribeSecurityProfileRequest(input *DescribeSecurityProfileI // API operation DescribeSecurityProfile for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeSecurityProfile func (c *Connect) DescribeSecurityProfile(input *DescribeSecurityProfileInput) (*DescribeSecurityProfileOutput, error) { @@ -4733,14 +4733,13 @@ const opDescribeUser = "DescribeUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserRequest method. +// req, resp := client.DescribeUserRequest(params) // -// // Example sending a request using the DescribeUserRequest method. -// req, resp := client.DescribeUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUser func (c *Connect) DescribeUserRequest(input *DescribeUserInput) (req *request.Request, output *DescribeUserOutput) { @@ -4773,20 +4772,21 @@ func (c *Connect) DescribeUserRequest(input *DescribeUserInput) (req *request.Re // API operation DescribeUser for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUser func (c *Connect) DescribeUser(input *DescribeUserInput) (*DescribeUserOutput, error) { @@ -4826,14 +4826,13 @@ const opDescribeUserHierarchyGroup = "DescribeUserHierarchyGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserHierarchyGroupRequest method. +// req, resp := client.DescribeUserHierarchyGroupRequest(params) // -// // Example sending a request using the DescribeUserHierarchyGroupRequest method. -// req, resp := client.DescribeUserHierarchyGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyGroup func (c *Connect) DescribeUserHierarchyGroupRequest(input *DescribeUserHierarchyGroupInput) (req *request.Request, output *DescribeUserHierarchyGroupOutput) { @@ -4864,20 +4863,21 @@ func (c *Connect) DescribeUserHierarchyGroupRequest(input *DescribeUserHierarchy // API operation DescribeUserHierarchyGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyGroup func (c *Connect) DescribeUserHierarchyGroup(input *DescribeUserHierarchyGroupInput) (*DescribeUserHierarchyGroupOutput, error) { @@ -4917,14 +4917,13 @@ const opDescribeUserHierarchyStructure = "DescribeUserHierarchyStructure" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserHierarchyStructureRequest method. +// req, resp := client.DescribeUserHierarchyStructureRequest(params) // -// // Example sending a request using the DescribeUserHierarchyStructureRequest method. -// req, resp := client.DescribeUserHierarchyStructureRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyStructure func (c *Connect) DescribeUserHierarchyStructureRequest(input *DescribeUserHierarchyStructureInput) (req *request.Request, output *DescribeUserHierarchyStructureOutput) { @@ -4955,20 +4954,21 @@ func (c *Connect) DescribeUserHierarchyStructureRequest(input *DescribeUserHiera // API operation DescribeUserHierarchyStructure for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeUserHierarchyStructure func (c *Connect) DescribeUserHierarchyStructure(input *DescribeUserHierarchyStructureInput) (*DescribeUserHierarchyStructureOutput, error) { @@ -5008,14 +5008,13 @@ const opDescribeVocabulary = "DescribeVocabulary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVocabularyRequest method. +// req, resp := client.DescribeVocabularyRequest(params) // -// // Example sending a request using the DescribeVocabularyRequest method. -// req, resp := client.DescribeVocabularyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeVocabulary func (c *Connect) DescribeVocabularyRequest(input *DescribeVocabularyInput) (req *request.Request, output *DescribeVocabularyOutput) { @@ -5046,20 +5045,21 @@ func (c *Connect) DescribeVocabularyRequest(input *DescribeVocabularyInput) (req // API operation DescribeVocabulary for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidRequestException +// The request is not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DescribeVocabulary func (c *Connect) DescribeVocabulary(input *DescribeVocabularyInput) (*DescribeVocabularyOutput, error) { @@ -5099,14 +5099,13 @@ const opDisassociateApprovedOrigin = "DisassociateApprovedOrigin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateApprovedOriginRequest method. +// req, resp := client.DisassociateApprovedOriginRequest(params) // -// // Example sending a request using the DisassociateApprovedOriginRequest method. -// req, resp := client.DisassociateApprovedOriginRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateApprovedOrigin func (c *Connect) DisassociateApprovedOriginRequest(input *DisassociateApprovedOriginInput) (req *request.Request, output *DisassociateApprovedOriginOutput) { @@ -5140,20 +5139,21 @@ func (c *Connect) DisassociateApprovedOriginRequest(input *DisassociateApprovedO // API operation DisassociateApprovedOrigin for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateApprovedOrigin func (c *Connect) DisassociateApprovedOrigin(input *DisassociateApprovedOriginInput) (*DisassociateApprovedOriginOutput, error) { @@ -5193,14 +5193,13 @@ const opDisassociateBot = "DisassociateBot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateBotRequest method. +// req, resp := client.DisassociateBotRequest(params) // -// // Example sending a request using the DisassociateBotRequest method. -// req, resp := client.DisassociateBotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateBot func (c *Connect) DisassociateBotRequest(input *DisassociateBotInput) (req *request.Request, output *DisassociateBotOutput) { @@ -5235,17 +5234,18 @@ func (c *Connect) DisassociateBotRequest(input *DisassociateBotInput) (req *requ // API operation DisassociateBot for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidRequestException -// The request is not valid. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InvalidRequestException +// The request is not valid. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateBot func (c *Connect) DisassociateBot(input *DisassociateBotInput) (*DisassociateBotOutput, error) { @@ -5285,14 +5285,13 @@ const opDisassociateInstanceStorageConfig = "DisassociateInstanceStorageConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateInstanceStorageConfigRequest method. +// req, resp := client.DisassociateInstanceStorageConfigRequest(params) // -// // Example sending a request using the DisassociateInstanceStorageConfigRequest method. -// req, resp := client.DisassociateInstanceStorageConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateInstanceStorageConfig func (c *Connect) DisassociateInstanceStorageConfigRequest(input *DisassociateInstanceStorageConfigInput) (req *request.Request, output *DisassociateInstanceStorageConfigOutput) { @@ -5327,20 +5326,21 @@ func (c *Connect) DisassociateInstanceStorageConfigRequest(input *DisassociateIn // API operation DisassociateInstanceStorageConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidRequestException -// The request is not valid. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateInstanceStorageConfig func (c *Connect) DisassociateInstanceStorageConfig(input *DisassociateInstanceStorageConfigInput) (*DisassociateInstanceStorageConfigOutput, error) { @@ -5380,14 +5380,13 @@ const opDisassociateLambdaFunction = "DisassociateLambdaFunction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateLambdaFunctionRequest method. +// req, resp := client.DisassociateLambdaFunctionRequest(params) // -// // Example sending a request using the DisassociateLambdaFunctionRequest method. -// req, resp := client.DisassociateLambdaFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateLambdaFunction func (c *Connect) DisassociateLambdaFunctionRequest(input *DisassociateLambdaFunctionInput) (req *request.Request, output *DisassociateLambdaFunctionOutput) { @@ -5422,20 +5421,21 @@ func (c *Connect) DisassociateLambdaFunctionRequest(input *DisassociateLambdaFun // API operation DisassociateLambdaFunction for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateLambdaFunction func (c *Connect) DisassociateLambdaFunction(input *DisassociateLambdaFunctionInput) (*DisassociateLambdaFunctionOutput, error) { @@ -5475,14 +5475,13 @@ const opDisassociateLexBot = "DisassociateLexBot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateLexBotRequest method. +// req, resp := client.DisassociateLexBotRequest(params) // -// // Example sending a request using the DisassociateLexBotRequest method. -// req, resp := client.DisassociateLexBotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateLexBot func (c *Connect) DisassociateLexBotRequest(input *DisassociateLexBotInput) (req *request.Request, output *DisassociateLexBotOutput) { @@ -5517,20 +5516,21 @@ func (c *Connect) DisassociateLexBotRequest(input *DisassociateLexBotInput) (req // API operation DisassociateLexBot for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateLexBot func (c *Connect) DisassociateLexBot(input *DisassociateLexBotInput) (*DisassociateLexBotOutput, error) { @@ -5570,14 +5570,13 @@ const opDisassociatePhoneNumberContactFlow = "DisassociatePhoneNumberContactFlow // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociatePhoneNumberContactFlowRequest method. +// req, resp := client.DisassociatePhoneNumberContactFlowRequest(params) // -// // Example sending a request using the DisassociatePhoneNumberContactFlowRequest method. -// req, resp := client.DisassociatePhoneNumberContactFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociatePhoneNumberContactFlow func (c *Connect) DisassociatePhoneNumberContactFlowRequest(input *DisassociatePhoneNumberContactFlowInput) (req *request.Request, output *DisassociatePhoneNumberContactFlowOutput) { @@ -5610,20 +5609,21 @@ func (c *Connect) DisassociatePhoneNumberContactFlowRequest(input *DisassociateP // API operation DisassociatePhoneNumberContactFlow for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociatePhoneNumberContactFlow func (c *Connect) DisassociatePhoneNumberContactFlow(input *DisassociatePhoneNumberContactFlowInput) (*DisassociatePhoneNumberContactFlowOutput, error) { @@ -5663,14 +5663,13 @@ const opDisassociateQueueQuickConnects = "DisassociateQueueQuickConnects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateQueueQuickConnectsRequest method. +// req, resp := client.DisassociateQueueQuickConnectsRequest(params) // -// // Example sending a request using the DisassociateQueueQuickConnectsRequest method. -// req, resp := client.DisassociateQueueQuickConnectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateQueueQuickConnects func (c *Connect) DisassociateQueueQuickConnectsRequest(input *DisassociateQueueQuickConnectsInput) (req *request.Request, output *DisassociateQueueQuickConnectsOutput) { @@ -5704,20 +5703,21 @@ func (c *Connect) DisassociateQueueQuickConnectsRequest(input *DisassociateQueue // API operation DisassociateQueueQuickConnects for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateQueueQuickConnects func (c *Connect) DisassociateQueueQuickConnects(input *DisassociateQueueQuickConnectsInput) (*DisassociateQueueQuickConnectsOutput, error) { @@ -5757,14 +5757,13 @@ const opDisassociateRoutingProfileQueues = "DisassociateRoutingProfileQueues" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateRoutingProfileQueuesRequest method. +// req, resp := client.DisassociateRoutingProfileQueuesRequest(params) // -// // Example sending a request using the DisassociateRoutingProfileQueuesRequest method. -// req, resp := client.DisassociateRoutingProfileQueuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateRoutingProfileQueues func (c *Connect) DisassociateRoutingProfileQueuesRequest(input *DisassociateRoutingProfileQueuesInput) (req *request.Request, output *DisassociateRoutingProfileQueuesOutput) { @@ -5796,20 +5795,21 @@ func (c *Connect) DisassociateRoutingProfileQueuesRequest(input *DisassociateRou // API operation DisassociateRoutingProfileQueues for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateRoutingProfileQueues func (c *Connect) DisassociateRoutingProfileQueues(input *DisassociateRoutingProfileQueuesInput) (*DisassociateRoutingProfileQueuesOutput, error) { @@ -5849,14 +5849,13 @@ const opDisassociateSecurityKey = "DisassociateSecurityKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateSecurityKeyRequest method. +// req, resp := client.DisassociateSecurityKeyRequest(params) // -// // Example sending a request using the DisassociateSecurityKeyRequest method. -// req, resp := client.DisassociateSecurityKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateSecurityKey func (c *Connect) DisassociateSecurityKeyRequest(input *DisassociateSecurityKeyInput) (req *request.Request, output *DisassociateSecurityKeyOutput) { @@ -5890,20 +5889,21 @@ func (c *Connect) DisassociateSecurityKeyRequest(input *DisassociateSecurityKeyI // API operation DisassociateSecurityKey for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/DisassociateSecurityKey func (c *Connect) DisassociateSecurityKey(input *DisassociateSecurityKeyInput) (*DisassociateSecurityKeyOutput, error) { @@ -5943,14 +5943,13 @@ const opGetContactAttributes = "GetContactAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContactAttributesRequest method. +// req, resp := client.GetContactAttributesRequest(params) // -// // Example sending a request using the GetContactAttributesRequest method. -// req, resp := client.GetContactAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetContactAttributes func (c *Connect) GetContactAttributesRequest(input *GetContactAttributesInput) (req *request.Request, output *GetContactAttributesOutput) { @@ -5981,14 +5980,15 @@ func (c *Connect) GetContactAttributesRequest(input *GetContactAttributesInput) // API operation GetContactAttributes for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidRequestException +// The request is not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetContactAttributes func (c *Connect) GetContactAttributes(input *GetContactAttributesInput) (*GetContactAttributesOutput, error) { @@ -6028,14 +6028,13 @@ const opGetCurrentMetricData = "GetCurrentMetricData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCurrentMetricDataRequest method. +// req, resp := client.GetCurrentMetricDataRequest(params) // -// // Example sending a request using the GetCurrentMetricDataRequest method. -// req, resp := client.GetCurrentMetricDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetCurrentMetricData func (c *Connect) GetCurrentMetricDataRequest(input *GetCurrentMetricDataInput) (req *request.Request, output *GetCurrentMetricDataOutput) { @@ -6075,20 +6074,21 @@ func (c *Connect) GetCurrentMetricDataRequest(input *GetCurrentMetricDataInput) // API operation GetCurrentMetricData for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetCurrentMetricData func (c *Connect) GetCurrentMetricData(input *GetCurrentMetricDataInput) (*GetCurrentMetricDataOutput, error) { @@ -6120,15 +6120,14 @@ func (c *Connect) GetCurrentMetricDataWithContext(ctx aws.Context, input *GetCur // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetCurrentMetricData operation. -// pageNum := 0 -// err := client.GetCurrentMetricDataPages(params, -// func(page *connect.GetCurrentMetricDataOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetCurrentMetricData operation. +// pageNum := 0 +// err := client.GetCurrentMetricDataPages(params, +// func(page *connect.GetCurrentMetricDataOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) GetCurrentMetricDataPages(input *GetCurrentMetricDataInput, fn func(*GetCurrentMetricDataOutput, bool) bool) error { return c.GetCurrentMetricDataPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6180,14 +6179,13 @@ const opGetFederationToken = "GetFederationToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFederationTokenRequest method. +// req, resp := client.GetFederationTokenRequest(params) // -// // Example sending a request using the GetFederationTokenRequest method. -// req, resp := client.GetFederationTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetFederationToken func (c *Connect) GetFederationTokenRequest(input *GetFederationTokenInput) (req *request.Request, output *GetFederationTokenOutput) { @@ -6224,23 +6222,24 @@ func (c *Connect) GetFederationTokenRequest(input *GetFederationTokenInput) (req // API operation GetFederationToken for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * UserNotFoundException -// No user with the specified credentials was found in the Amazon Connect instance. +// - UserNotFoundException +// No user with the specified credentials was found in the Amazon Connect instance. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - DuplicateResourceException +// A resource with the specified name already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetFederationToken func (c *Connect) GetFederationToken(input *GetFederationTokenInput) (*GetFederationTokenOutput, error) { @@ -6280,14 +6279,13 @@ const opGetMetricData = "GetMetricData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMetricDataRequest method. +// req, resp := client.GetMetricDataRequest(params) // -// // Example sending a request using the GetMetricDataRequest method. -// req, resp := client.GetMetricDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetMetricData func (c *Connect) GetMetricDataRequest(input *GetMetricDataInput) (req *request.Request, output *GetMetricDataOutput) { @@ -6328,20 +6326,21 @@ func (c *Connect) GetMetricDataRequest(input *GetMetricDataInput) (req *request. // API operation GetMetricData for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/GetMetricData func (c *Connect) GetMetricData(input *GetMetricDataInput) (*GetMetricDataOutput, error) { @@ -6373,15 +6372,14 @@ func (c *Connect) GetMetricDataWithContext(ctx aws.Context, input *GetMetricData // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetMetricData operation. -// pageNum := 0 -// err := client.GetMetricDataPages(params, -// func(page *connect.GetMetricDataOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetMetricData operation. +// pageNum := 0 +// err := client.GetMetricDataPages(params, +// func(page *connect.GetMetricDataOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) GetMetricDataPages(input *GetMetricDataInput, fn func(*GetMetricDataOutput, bool) bool) error { return c.GetMetricDataPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6433,14 +6431,13 @@ const opListAgentStatuses = "ListAgentStatuses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAgentStatusesRequest method. +// req, resp := client.ListAgentStatusesRequest(params) // -// // Example sending a request using the ListAgentStatusesRequest method. -// req, resp := client.ListAgentStatusesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListAgentStatuses func (c *Connect) ListAgentStatusesRequest(input *ListAgentStatusesInput) (req *request.Request, output *ListAgentStatusesOutput) { @@ -6479,20 +6476,21 @@ func (c *Connect) ListAgentStatusesRequest(input *ListAgentStatusesInput) (req * // API operation ListAgentStatuses for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListAgentStatuses func (c *Connect) ListAgentStatuses(input *ListAgentStatusesInput) (*ListAgentStatusesOutput, error) { @@ -6524,15 +6522,14 @@ func (c *Connect) ListAgentStatusesWithContext(ctx aws.Context, input *ListAgent // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAgentStatuses operation. -// pageNum := 0 -// err := client.ListAgentStatusesPages(params, -// func(page *connect.ListAgentStatusesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAgentStatuses operation. +// pageNum := 0 +// err := client.ListAgentStatusesPages(params, +// func(page *connect.ListAgentStatusesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListAgentStatusesPages(input *ListAgentStatusesInput, fn func(*ListAgentStatusesOutput, bool) bool) error { return c.ListAgentStatusesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6584,14 +6581,13 @@ const opListApprovedOrigins = "ListApprovedOrigins" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApprovedOriginsRequest method. +// req, resp := client.ListApprovedOriginsRequest(params) // -// // Example sending a request using the ListApprovedOriginsRequest method. -// req, resp := client.ListApprovedOriginsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListApprovedOrigins func (c *Connect) ListApprovedOriginsRequest(input *ListApprovedOriginsInput) (req *request.Request, output *ListApprovedOriginsOutput) { @@ -6630,20 +6626,21 @@ func (c *Connect) ListApprovedOriginsRequest(input *ListApprovedOriginsInput) (r // API operation ListApprovedOrigins for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListApprovedOrigins func (c *Connect) ListApprovedOrigins(input *ListApprovedOriginsInput) (*ListApprovedOriginsOutput, error) { @@ -6675,15 +6672,14 @@ func (c *Connect) ListApprovedOriginsWithContext(ctx aws.Context, input *ListApp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApprovedOrigins operation. -// pageNum := 0 -// err := client.ListApprovedOriginsPages(params, -// func(page *connect.ListApprovedOriginsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApprovedOrigins operation. +// pageNum := 0 +// err := client.ListApprovedOriginsPages(params, +// func(page *connect.ListApprovedOriginsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListApprovedOriginsPages(input *ListApprovedOriginsInput, fn func(*ListApprovedOriginsOutput, bool) bool) error { return c.ListApprovedOriginsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6735,14 +6731,13 @@ const opListBots = "ListBots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBotsRequest method. +// req, resp := client.ListBotsRequest(params) // -// // Example sending a request using the ListBotsRequest method. -// req, resp := client.ListBotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListBots func (c *Connect) ListBotsRequest(input *ListBotsInput) (req *request.Request, output *ListBotsOutput) { @@ -6782,17 +6777,18 @@ func (c *Connect) ListBotsRequest(input *ListBotsInput) (req *request.Request, o // API operation ListBots for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidRequestException -// The request is not valid. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InvalidRequestException +// The request is not valid. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListBots func (c *Connect) ListBots(input *ListBotsInput) (*ListBotsOutput, error) { @@ -6824,15 +6820,14 @@ func (c *Connect) ListBotsWithContext(ctx aws.Context, input *ListBotsInput, opt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBots operation. -// pageNum := 0 -// err := client.ListBotsPages(params, -// func(page *connect.ListBotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBots operation. +// pageNum := 0 +// err := client.ListBotsPages(params, +// func(page *connect.ListBotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListBotsPages(input *ListBotsInput, fn func(*ListBotsOutput, bool) bool) error { return c.ListBotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6884,14 +6879,13 @@ const opListContactFlowModules = "ListContactFlowModules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListContactFlowModulesRequest method. +// req, resp := client.ListContactFlowModulesRequest(params) // -// // Example sending a request using the ListContactFlowModulesRequest method. -// req, resp := client.ListContactFlowModulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlowModules func (c *Connect) ListContactFlowModulesRequest(input *ListContactFlowModulesInput) (req *request.Request, output *ListContactFlowModulesOutput) { @@ -6929,23 +6923,24 @@ func (c *Connect) ListContactFlowModulesRequest(input *ListContactFlowModulesInp // API operation ListContactFlowModules for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlowModules func (c *Connect) ListContactFlowModules(input *ListContactFlowModulesInput) (*ListContactFlowModulesOutput, error) { @@ -6977,15 +6972,14 @@ func (c *Connect) ListContactFlowModulesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListContactFlowModules operation. -// pageNum := 0 -// err := client.ListContactFlowModulesPages(params, -// func(page *connect.ListContactFlowModulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListContactFlowModules operation. +// pageNum := 0 +// err := client.ListContactFlowModulesPages(params, +// func(page *connect.ListContactFlowModulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListContactFlowModulesPages(input *ListContactFlowModulesInput, fn func(*ListContactFlowModulesOutput, bool) bool) error { return c.ListContactFlowModulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7037,14 +7031,13 @@ const opListContactFlows = "ListContactFlows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListContactFlowsRequest method. +// req, resp := client.ListContactFlowsRequest(params) // -// // Example sending a request using the ListContactFlowsRequest method. -// req, resp := client.ListContactFlowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlows func (c *Connect) ListContactFlowsRequest(input *ListContactFlowsInput) (req *request.Request, output *ListContactFlowsOutput) { @@ -7088,20 +7081,21 @@ func (c *Connect) ListContactFlowsRequest(input *ListContactFlowsInput) (req *re // API operation ListContactFlows for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactFlows func (c *Connect) ListContactFlows(input *ListContactFlowsInput) (*ListContactFlowsOutput, error) { @@ -7133,15 +7127,14 @@ func (c *Connect) ListContactFlowsWithContext(ctx aws.Context, input *ListContac // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListContactFlows operation. -// pageNum := 0 -// err := client.ListContactFlowsPages(params, -// func(page *connect.ListContactFlowsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListContactFlows operation. +// pageNum := 0 +// err := client.ListContactFlowsPages(params, +// func(page *connect.ListContactFlowsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListContactFlowsPages(input *ListContactFlowsInput, fn func(*ListContactFlowsOutput, bool) bool) error { return c.ListContactFlowsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7193,14 +7186,13 @@ const opListContactReferences = "ListContactReferences" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListContactReferencesRequest method. +// req, resp := client.ListContactReferencesRequest(params) // -// // Example sending a request using the ListContactReferencesRequest method. -// req, resp := client.ListContactReferencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactReferences func (c *Connect) ListContactReferencesRequest(input *ListContactReferencesInput) (req *request.Request, output *ListContactReferencesOutput) { @@ -7240,20 +7232,21 @@ func (c *Connect) ListContactReferencesRequest(input *ListContactReferencesInput // API operation ListContactReferences for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListContactReferences func (c *Connect) ListContactReferences(input *ListContactReferencesInput) (*ListContactReferencesOutput, error) { @@ -7285,15 +7278,14 @@ func (c *Connect) ListContactReferencesWithContext(ctx aws.Context, input *ListC // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListContactReferences operation. -// pageNum := 0 -// err := client.ListContactReferencesPages(params, -// func(page *connect.ListContactReferencesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListContactReferences operation. +// pageNum := 0 +// err := client.ListContactReferencesPages(params, +// func(page *connect.ListContactReferencesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListContactReferencesPages(input *ListContactReferencesInput, fn func(*ListContactReferencesOutput, bool) bool) error { return c.ListContactReferencesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7345,14 +7337,13 @@ const opListDefaultVocabularies = "ListDefaultVocabularies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDefaultVocabulariesRequest method. +// req, resp := client.ListDefaultVocabulariesRequest(params) // -// // Example sending a request using the ListDefaultVocabulariesRequest method. -// req, resp := client.ListDefaultVocabulariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListDefaultVocabularies func (c *Connect) ListDefaultVocabulariesRequest(input *ListDefaultVocabulariesInput) (req *request.Request, output *ListDefaultVocabulariesOutput) { @@ -7389,17 +7380,18 @@ func (c *Connect) ListDefaultVocabulariesRequest(input *ListDefaultVocabulariesI // API operation ListDefaultVocabularies for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InvalidRequestException +// The request is not valid. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListDefaultVocabularies func (c *Connect) ListDefaultVocabularies(input *ListDefaultVocabulariesInput) (*ListDefaultVocabulariesOutput, error) { @@ -7431,15 +7423,14 @@ func (c *Connect) ListDefaultVocabulariesWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDefaultVocabularies operation. -// pageNum := 0 -// err := client.ListDefaultVocabulariesPages(params, -// func(page *connect.ListDefaultVocabulariesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDefaultVocabularies operation. +// pageNum := 0 +// err := client.ListDefaultVocabulariesPages(params, +// func(page *connect.ListDefaultVocabulariesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListDefaultVocabulariesPages(input *ListDefaultVocabulariesInput, fn func(*ListDefaultVocabulariesOutput, bool) bool) error { return c.ListDefaultVocabulariesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7491,14 +7482,13 @@ const opListHoursOfOperations = "ListHoursOfOperations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHoursOfOperationsRequest method. +// req, resp := client.ListHoursOfOperationsRequest(params) // -// // Example sending a request using the ListHoursOfOperationsRequest method. -// req, resp := client.ListHoursOfOperationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListHoursOfOperations func (c *Connect) ListHoursOfOperationsRequest(input *ListHoursOfOperationsInput) (req *request.Request, output *ListHoursOfOperationsOutput) { @@ -7540,20 +7530,21 @@ func (c *Connect) ListHoursOfOperationsRequest(input *ListHoursOfOperationsInput // API operation ListHoursOfOperations for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListHoursOfOperations func (c *Connect) ListHoursOfOperations(input *ListHoursOfOperationsInput) (*ListHoursOfOperationsOutput, error) { @@ -7585,15 +7576,14 @@ func (c *Connect) ListHoursOfOperationsWithContext(ctx aws.Context, input *ListH // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListHoursOfOperations operation. -// pageNum := 0 -// err := client.ListHoursOfOperationsPages(params, -// func(page *connect.ListHoursOfOperationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListHoursOfOperations operation. +// pageNum := 0 +// err := client.ListHoursOfOperationsPages(params, +// func(page *connect.ListHoursOfOperationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListHoursOfOperationsPages(input *ListHoursOfOperationsInput, fn func(*ListHoursOfOperationsOutput, bool) bool) error { return c.ListHoursOfOperationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7645,14 +7635,13 @@ const opListInstanceAttributes = "ListInstanceAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInstanceAttributesRequest method. +// req, resp := client.ListInstanceAttributesRequest(params) // -// // Example sending a request using the ListInstanceAttributesRequest method. -// req, resp := client.ListInstanceAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstanceAttributes func (c *Connect) ListInstanceAttributesRequest(input *ListInstanceAttributesInput) (req *request.Request, output *ListInstanceAttributesOutput) { @@ -7691,20 +7680,21 @@ func (c *Connect) ListInstanceAttributesRequest(input *ListInstanceAttributesInp // API operation ListInstanceAttributes for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidRequestException -// The request is not valid. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstanceAttributes func (c *Connect) ListInstanceAttributes(input *ListInstanceAttributesInput) (*ListInstanceAttributesOutput, error) { @@ -7736,15 +7726,14 @@ func (c *Connect) ListInstanceAttributesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInstanceAttributes operation. -// pageNum := 0 -// err := client.ListInstanceAttributesPages(params, -// func(page *connect.ListInstanceAttributesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInstanceAttributes operation. +// pageNum := 0 +// err := client.ListInstanceAttributesPages(params, +// func(page *connect.ListInstanceAttributesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListInstanceAttributesPages(input *ListInstanceAttributesInput, fn func(*ListInstanceAttributesOutput, bool) bool) error { return c.ListInstanceAttributesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7796,14 +7785,13 @@ const opListInstanceStorageConfigs = "ListInstanceStorageConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInstanceStorageConfigsRequest method. +// req, resp := client.ListInstanceStorageConfigsRequest(params) // -// // Example sending a request using the ListInstanceStorageConfigsRequest method. -// req, resp := client.ListInstanceStorageConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstanceStorageConfigs func (c *Connect) ListInstanceStorageConfigsRequest(input *ListInstanceStorageConfigsInput) (req *request.Request, output *ListInstanceStorageConfigsOutput) { @@ -7843,20 +7831,21 @@ func (c *Connect) ListInstanceStorageConfigsRequest(input *ListInstanceStorageCo // API operation ListInstanceStorageConfigs for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstanceStorageConfigs func (c *Connect) ListInstanceStorageConfigs(input *ListInstanceStorageConfigsInput) (*ListInstanceStorageConfigsOutput, error) { @@ -7888,15 +7877,14 @@ func (c *Connect) ListInstanceStorageConfigsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInstanceStorageConfigs operation. -// pageNum := 0 -// err := client.ListInstanceStorageConfigsPages(params, -// func(page *connect.ListInstanceStorageConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInstanceStorageConfigs operation. +// pageNum := 0 +// err := client.ListInstanceStorageConfigsPages(params, +// func(page *connect.ListInstanceStorageConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListInstanceStorageConfigsPages(input *ListInstanceStorageConfigsInput, fn func(*ListInstanceStorageConfigsOutput, bool) bool) error { return c.ListInstanceStorageConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7948,14 +7936,13 @@ const opListInstances = "ListInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInstancesRequest method. +// req, resp := client.ListInstancesRequest(params) // -// // Example sending a request using the ListInstancesRequest method. -// req, resp := client.ListInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstances func (c *Connect) ListInstancesRequest(input *ListInstancesInput) (req *request.Request, output *ListInstancesOutput) { @@ -7997,11 +7984,12 @@ func (c *Connect) ListInstancesRequest(input *ListInstancesInput) (req *request. // API operation ListInstances for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InvalidRequestException +// The request is not valid. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListInstances func (c *Connect) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error) { @@ -8033,15 +8021,14 @@ func (c *Connect) ListInstancesWithContext(ctx aws.Context, input *ListInstances // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInstances operation. -// pageNum := 0 -// err := client.ListInstancesPages(params, -// func(page *connect.ListInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInstances operation. +// pageNum := 0 +// err := client.ListInstancesPages(params, +// func(page *connect.ListInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListInstancesPages(input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool) error { return c.ListInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8093,14 +8080,13 @@ const opListIntegrationAssociations = "ListIntegrationAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIntegrationAssociationsRequest method. +// req, resp := client.ListIntegrationAssociationsRequest(params) // -// // Example sending a request using the ListIntegrationAssociationsRequest method. -// req, resp := client.ListIntegrationAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListIntegrationAssociations func (c *Connect) ListIntegrationAssociationsRequest(input *ListIntegrationAssociationsInput) (req *request.Request, output *ListIntegrationAssociationsOutput) { @@ -8138,17 +8124,18 @@ func (c *Connect) ListIntegrationAssociationsRequest(input *ListIntegrationAssoc // API operation ListIntegrationAssociations for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListIntegrationAssociations func (c *Connect) ListIntegrationAssociations(input *ListIntegrationAssociationsInput) (*ListIntegrationAssociationsOutput, error) { @@ -8180,15 +8167,14 @@ func (c *Connect) ListIntegrationAssociationsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListIntegrationAssociations operation. -// pageNum := 0 -// err := client.ListIntegrationAssociationsPages(params, -// func(page *connect.ListIntegrationAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListIntegrationAssociations operation. +// pageNum := 0 +// err := client.ListIntegrationAssociationsPages(params, +// func(page *connect.ListIntegrationAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListIntegrationAssociationsPages(input *ListIntegrationAssociationsInput, fn func(*ListIntegrationAssociationsOutput, bool) bool) error { return c.ListIntegrationAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8240,14 +8226,13 @@ const opListLambdaFunctions = "ListLambdaFunctions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLambdaFunctionsRequest method. +// req, resp := client.ListLambdaFunctionsRequest(params) // -// // Example sending a request using the ListLambdaFunctionsRequest method. -// req, resp := client.ListLambdaFunctionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListLambdaFunctions func (c *Connect) ListLambdaFunctionsRequest(input *ListLambdaFunctionsInput) (req *request.Request, output *ListLambdaFunctionsOutput) { @@ -8287,20 +8272,21 @@ func (c *Connect) ListLambdaFunctionsRequest(input *ListLambdaFunctionsInput) (r // API operation ListLambdaFunctions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidRequestException -// The request is not valid. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListLambdaFunctions func (c *Connect) ListLambdaFunctions(input *ListLambdaFunctionsInput) (*ListLambdaFunctionsOutput, error) { @@ -8332,15 +8318,14 @@ func (c *Connect) ListLambdaFunctionsWithContext(ctx aws.Context, input *ListLam // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLambdaFunctions operation. -// pageNum := 0 -// err := client.ListLambdaFunctionsPages(params, -// func(page *connect.ListLambdaFunctionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLambdaFunctions operation. +// pageNum := 0 +// err := client.ListLambdaFunctionsPages(params, +// func(page *connect.ListLambdaFunctionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListLambdaFunctionsPages(input *ListLambdaFunctionsInput, fn func(*ListLambdaFunctionsOutput, bool) bool) error { return c.ListLambdaFunctionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8392,14 +8377,13 @@ const opListLexBots = "ListLexBots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLexBotsRequest method. +// req, resp := client.ListLexBotsRequest(params) // -// // Example sending a request using the ListLexBotsRequest method. -// req, resp := client.ListLexBotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListLexBots func (c *Connect) ListLexBotsRequest(input *ListLexBotsInput) (req *request.Request, output *ListLexBotsOutput) { @@ -8439,20 +8423,21 @@ func (c *Connect) ListLexBotsRequest(input *ListLexBotsInput) (req *request.Requ // API operation ListLexBots for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidRequestException -// The request is not valid. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListLexBots func (c *Connect) ListLexBots(input *ListLexBotsInput) (*ListLexBotsOutput, error) { @@ -8484,15 +8469,14 @@ func (c *Connect) ListLexBotsWithContext(ctx aws.Context, input *ListLexBotsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLexBots operation. -// pageNum := 0 -// err := client.ListLexBotsPages(params, -// func(page *connect.ListLexBotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLexBots operation. +// pageNum := 0 +// err := client.ListLexBotsPages(params, +// func(page *connect.ListLexBotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListLexBotsPages(input *ListLexBotsInput, fn func(*ListLexBotsOutput, bool) bool) error { return c.ListLexBotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8544,14 +8528,13 @@ const opListPhoneNumbers = "ListPhoneNumbers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPhoneNumbersRequest method. +// req, resp := client.ListPhoneNumbersRequest(params) // -// // Example sending a request using the ListPhoneNumbersRequest method. -// req, resp := client.ListPhoneNumbersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPhoneNumbers func (c *Connect) ListPhoneNumbersRequest(input *ListPhoneNumbersInput) (req *request.Request, output *ListPhoneNumbersOutput) { @@ -8593,20 +8576,21 @@ func (c *Connect) ListPhoneNumbersRequest(input *ListPhoneNumbersInput) (req *re // API operation ListPhoneNumbers for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPhoneNumbers func (c *Connect) ListPhoneNumbers(input *ListPhoneNumbersInput) (*ListPhoneNumbersOutput, error) { @@ -8638,15 +8622,14 @@ func (c *Connect) ListPhoneNumbersWithContext(ctx aws.Context, input *ListPhoneN // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPhoneNumbers operation. -// pageNum := 0 -// err := client.ListPhoneNumbersPages(params, -// func(page *connect.ListPhoneNumbersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPhoneNumbers operation. +// pageNum := 0 +// err := client.ListPhoneNumbersPages(params, +// func(page *connect.ListPhoneNumbersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListPhoneNumbersPages(input *ListPhoneNumbersInput, fn func(*ListPhoneNumbersOutput, bool) bool) error { return c.ListPhoneNumbersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8698,14 +8681,13 @@ const opListPhoneNumbersV2 = "ListPhoneNumbersV2" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPhoneNumbersV2Request method. +// req, resp := client.ListPhoneNumbersV2Request(params) // -// // Example sending a request using the ListPhoneNumbersV2Request method. -// req, resp := client.ListPhoneNumbersV2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPhoneNumbersV2 func (c *Connect) ListPhoneNumbersV2Request(input *ListPhoneNumbersV2Input) (req *request.Request, output *ListPhoneNumbersV2Output) { @@ -8746,20 +8728,21 @@ func (c *Connect) ListPhoneNumbersV2Request(input *ListPhoneNumbersV2Input) (req // API operation ListPhoneNumbersV2 for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPhoneNumbersV2 func (c *Connect) ListPhoneNumbersV2(input *ListPhoneNumbersV2Input) (*ListPhoneNumbersV2Output, error) { @@ -8791,15 +8774,14 @@ func (c *Connect) ListPhoneNumbersV2WithContext(ctx aws.Context, input *ListPhon // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPhoneNumbersV2 operation. -// pageNum := 0 -// err := client.ListPhoneNumbersV2Pages(params, -// func(page *connect.ListPhoneNumbersV2Output, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPhoneNumbersV2 operation. +// pageNum := 0 +// err := client.ListPhoneNumbersV2Pages(params, +// func(page *connect.ListPhoneNumbersV2Output, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListPhoneNumbersV2Pages(input *ListPhoneNumbersV2Input, fn func(*ListPhoneNumbersV2Output, bool) bool) error { return c.ListPhoneNumbersV2PagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8851,14 +8833,13 @@ const opListPrompts = "ListPrompts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPromptsRequest method. +// req, resp := client.ListPromptsRequest(params) // -// // Example sending a request using the ListPromptsRequest method. -// req, resp := client.ListPromptsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPrompts func (c *Connect) ListPromptsRequest(input *ListPromptsInput) (req *request.Request, output *ListPromptsOutput) { @@ -8895,20 +8876,21 @@ func (c *Connect) ListPromptsRequest(input *ListPromptsInput) (req *request.Requ // API operation ListPrompts for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListPrompts func (c *Connect) ListPrompts(input *ListPromptsInput) (*ListPromptsOutput, error) { @@ -8940,15 +8922,14 @@ func (c *Connect) ListPromptsWithContext(ctx aws.Context, input *ListPromptsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPrompts operation. -// pageNum := 0 -// err := client.ListPromptsPages(params, -// func(page *connect.ListPromptsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPrompts operation. +// pageNum := 0 +// err := client.ListPromptsPages(params, +// func(page *connect.ListPromptsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListPromptsPages(input *ListPromptsInput, fn func(*ListPromptsOutput, bool) bool) error { return c.ListPromptsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9000,14 +8981,13 @@ const opListQueueQuickConnects = "ListQueueQuickConnects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListQueueQuickConnectsRequest method. +// req, resp := client.ListQueueQuickConnectsRequest(params) // -// // Example sending a request using the ListQueueQuickConnectsRequest method. -// req, resp := client.ListQueueQuickConnectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQueueQuickConnects func (c *Connect) ListQueueQuickConnectsRequest(input *ListQueueQuickConnectsInput) (req *request.Request, output *ListQueueQuickConnectsOutput) { @@ -9046,20 +9026,21 @@ func (c *Connect) ListQueueQuickConnectsRequest(input *ListQueueQuickConnectsInp // API operation ListQueueQuickConnects for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQueueQuickConnects func (c *Connect) ListQueueQuickConnects(input *ListQueueQuickConnectsInput) (*ListQueueQuickConnectsOutput, error) { @@ -9091,15 +9072,14 @@ func (c *Connect) ListQueueQuickConnectsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListQueueQuickConnects operation. -// pageNum := 0 -// err := client.ListQueueQuickConnectsPages(params, -// func(page *connect.ListQueueQuickConnectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListQueueQuickConnects operation. +// pageNum := 0 +// err := client.ListQueueQuickConnectsPages(params, +// func(page *connect.ListQueueQuickConnectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListQueueQuickConnectsPages(input *ListQueueQuickConnectsInput, fn func(*ListQueueQuickConnectsOutput, bool) bool) error { return c.ListQueueQuickConnectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9151,14 +9131,13 @@ const opListQueues = "ListQueues" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListQueuesRequest method. +// req, resp := client.ListQueuesRequest(params) // -// // Example sending a request using the ListQueuesRequest method. -// req, resp := client.ListQueuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQueues func (c *Connect) ListQueuesRequest(input *ListQueuesInput) (req *request.Request, output *ListQueuesOutput) { @@ -9203,20 +9182,21 @@ func (c *Connect) ListQueuesRequest(input *ListQueuesInput) (req *request.Reques // API operation ListQueues for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQueues func (c *Connect) ListQueues(input *ListQueuesInput) (*ListQueuesOutput, error) { @@ -9248,15 +9228,14 @@ func (c *Connect) ListQueuesWithContext(ctx aws.Context, input *ListQueuesInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListQueues operation. -// pageNum := 0 -// err := client.ListQueuesPages(params, -// func(page *connect.ListQueuesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListQueues operation. +// pageNum := 0 +// err := client.ListQueuesPages(params, +// func(page *connect.ListQueuesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListQueuesPages(input *ListQueuesInput, fn func(*ListQueuesOutput, bool) bool) error { return c.ListQueuesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9308,14 +9287,13 @@ const opListQuickConnects = "ListQuickConnects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListQuickConnectsRequest method. +// req, resp := client.ListQuickConnectsRequest(params) // -// // Example sending a request using the ListQuickConnectsRequest method. -// req, resp := client.ListQuickConnectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQuickConnects func (c *Connect) ListQuickConnectsRequest(input *ListQuickConnectsInput) (req *request.Request, output *ListQuickConnectsOutput) { @@ -9353,20 +9331,21 @@ func (c *Connect) ListQuickConnectsRequest(input *ListQuickConnectsInput) (req * // API operation ListQuickConnects for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListQuickConnects func (c *Connect) ListQuickConnects(input *ListQuickConnectsInput) (*ListQuickConnectsOutput, error) { @@ -9398,15 +9377,14 @@ func (c *Connect) ListQuickConnectsWithContext(ctx aws.Context, input *ListQuick // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListQuickConnects operation. -// pageNum := 0 -// err := client.ListQuickConnectsPages(params, -// func(page *connect.ListQuickConnectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListQuickConnects operation. +// pageNum := 0 +// err := client.ListQuickConnectsPages(params, +// func(page *connect.ListQuickConnectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListQuickConnectsPages(input *ListQuickConnectsInput, fn func(*ListQuickConnectsOutput, bool) bool) error { return c.ListQuickConnectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9458,14 +9436,13 @@ const opListRoutingProfileQueues = "ListRoutingProfileQueues" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRoutingProfileQueuesRequest method. +// req, resp := client.ListRoutingProfileQueuesRequest(params) // -// // Example sending a request using the ListRoutingProfileQueuesRequest method. -// req, resp := client.ListRoutingProfileQueuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListRoutingProfileQueues func (c *Connect) ListRoutingProfileQueuesRequest(input *ListRoutingProfileQueuesInput) (req *request.Request, output *ListRoutingProfileQueuesOutput) { @@ -9502,20 +9479,21 @@ func (c *Connect) ListRoutingProfileQueuesRequest(input *ListRoutingProfileQueue // API operation ListRoutingProfileQueues for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListRoutingProfileQueues func (c *Connect) ListRoutingProfileQueues(input *ListRoutingProfileQueuesInput) (*ListRoutingProfileQueuesOutput, error) { @@ -9547,15 +9525,14 @@ func (c *Connect) ListRoutingProfileQueuesWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRoutingProfileQueues operation. -// pageNum := 0 -// err := client.ListRoutingProfileQueuesPages(params, -// func(page *connect.ListRoutingProfileQueuesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRoutingProfileQueues operation. +// pageNum := 0 +// err := client.ListRoutingProfileQueuesPages(params, +// func(page *connect.ListRoutingProfileQueuesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListRoutingProfileQueuesPages(input *ListRoutingProfileQueuesInput, fn func(*ListRoutingProfileQueuesOutput, bool) bool) error { return c.ListRoutingProfileQueuesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9607,14 +9584,13 @@ const opListRoutingProfiles = "ListRoutingProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRoutingProfilesRequest method. +// req, resp := client.ListRoutingProfilesRequest(params) // -// // Example sending a request using the ListRoutingProfilesRequest method. -// req, resp := client.ListRoutingProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListRoutingProfiles func (c *Connect) ListRoutingProfilesRequest(input *ListRoutingProfilesInput) (req *request.Request, output *ListRoutingProfilesOutput) { @@ -9656,20 +9632,21 @@ func (c *Connect) ListRoutingProfilesRequest(input *ListRoutingProfilesInput) (r // API operation ListRoutingProfiles for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListRoutingProfiles func (c *Connect) ListRoutingProfiles(input *ListRoutingProfilesInput) (*ListRoutingProfilesOutput, error) { @@ -9701,15 +9678,14 @@ func (c *Connect) ListRoutingProfilesWithContext(ctx aws.Context, input *ListRou // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRoutingProfiles operation. -// pageNum := 0 -// err := client.ListRoutingProfilesPages(params, -// func(page *connect.ListRoutingProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRoutingProfiles operation. +// pageNum := 0 +// err := client.ListRoutingProfilesPages(params, +// func(page *connect.ListRoutingProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListRoutingProfilesPages(input *ListRoutingProfilesInput, fn func(*ListRoutingProfilesOutput, bool) bool) error { return c.ListRoutingProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9761,14 +9737,13 @@ const opListSecurityKeys = "ListSecurityKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSecurityKeysRequest method. +// req, resp := client.ListSecurityKeysRequest(params) // -// // Example sending a request using the ListSecurityKeysRequest method. -// req, resp := client.ListSecurityKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListSecurityKeys func (c *Connect) ListSecurityKeysRequest(input *ListSecurityKeysInput) (req *request.Request, output *ListSecurityKeysOutput) { @@ -9807,20 +9782,21 @@ func (c *Connect) ListSecurityKeysRequest(input *ListSecurityKeysInput) (req *re // API operation ListSecurityKeys for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidRequestException -// The request is not valid. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListSecurityKeys func (c *Connect) ListSecurityKeys(input *ListSecurityKeysInput) (*ListSecurityKeysOutput, error) { @@ -9852,15 +9828,14 @@ func (c *Connect) ListSecurityKeysWithContext(ctx aws.Context, input *ListSecuri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSecurityKeys operation. -// pageNum := 0 -// err := client.ListSecurityKeysPages(params, -// func(page *connect.ListSecurityKeysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSecurityKeys operation. +// pageNum := 0 +// err := client.ListSecurityKeysPages(params, +// func(page *connect.ListSecurityKeysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListSecurityKeysPages(input *ListSecurityKeysInput, fn func(*ListSecurityKeysOutput, bool) bool) error { return c.ListSecurityKeysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9912,14 +9887,13 @@ const opListSecurityProfilePermissions = "ListSecurityProfilePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSecurityProfilePermissionsRequest method. +// req, resp := client.ListSecurityProfilePermissionsRequest(params) // -// // Example sending a request using the ListSecurityProfilePermissionsRequest method. -// req, resp := client.ListSecurityProfilePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListSecurityProfilePermissions func (c *Connect) ListSecurityProfilePermissionsRequest(input *ListSecurityProfilePermissionsInput) (req *request.Request, output *ListSecurityProfilePermissionsOutput) { @@ -9958,20 +9932,21 @@ func (c *Connect) ListSecurityProfilePermissionsRequest(input *ListSecurityProfi // API operation ListSecurityProfilePermissions for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListSecurityProfilePermissions func (c *Connect) ListSecurityProfilePermissions(input *ListSecurityProfilePermissionsInput) (*ListSecurityProfilePermissionsOutput, error) { @@ -10003,15 +9978,14 @@ func (c *Connect) ListSecurityProfilePermissionsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSecurityProfilePermissions operation. -// pageNum := 0 -// err := client.ListSecurityProfilePermissionsPages(params, -// func(page *connect.ListSecurityProfilePermissionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSecurityProfilePermissions operation. +// pageNum := 0 +// err := client.ListSecurityProfilePermissionsPages(params, +// func(page *connect.ListSecurityProfilePermissionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListSecurityProfilePermissionsPages(input *ListSecurityProfilePermissionsInput, fn func(*ListSecurityProfilePermissionsOutput, bool) bool) error { return c.ListSecurityProfilePermissionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10063,14 +10037,13 @@ const opListSecurityProfiles = "ListSecurityProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSecurityProfilesRequest method. +// req, resp := client.ListSecurityProfilesRequest(params) // -// // Example sending a request using the ListSecurityProfilesRequest method. -// req, resp := client.ListSecurityProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListSecurityProfiles func (c *Connect) ListSecurityProfilesRequest(input *ListSecurityProfilesInput) (req *request.Request, output *ListSecurityProfilesOutput) { @@ -10111,20 +10084,21 @@ func (c *Connect) ListSecurityProfilesRequest(input *ListSecurityProfilesInput) // API operation ListSecurityProfiles for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListSecurityProfiles func (c *Connect) ListSecurityProfiles(input *ListSecurityProfilesInput) (*ListSecurityProfilesOutput, error) { @@ -10156,15 +10130,14 @@ func (c *Connect) ListSecurityProfilesWithContext(ctx aws.Context, input *ListSe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSecurityProfiles operation. -// pageNum := 0 -// err := client.ListSecurityProfilesPages(params, -// func(page *connect.ListSecurityProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSecurityProfiles operation. +// pageNum := 0 +// err := client.ListSecurityProfilesPages(params, +// func(page *connect.ListSecurityProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListSecurityProfilesPages(input *ListSecurityProfilesInput, fn func(*ListSecurityProfilesOutput, bool) bool) error { return c.ListSecurityProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10216,14 +10189,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListTagsForResource func (c *Connect) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -10258,20 +10230,21 @@ func (c *Connect) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListTagsForResource func (c *Connect) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -10311,14 +10284,13 @@ const opListUseCases = "ListUseCases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUseCasesRequest method. +// req, resp := client.ListUseCasesRequest(params) // -// // Example sending a request using the ListUseCasesRequest method. -// req, resp := client.ListUseCasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUseCases func (c *Connect) ListUseCasesRequest(input *ListUseCasesInput) (req *request.Request, output *ListUseCasesOutput) { @@ -10355,17 +10327,18 @@ func (c *Connect) ListUseCasesRequest(input *ListUseCasesInput) (req *request.Re // API operation ListUseCases for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUseCases func (c *Connect) ListUseCases(input *ListUseCasesInput) (*ListUseCasesOutput, error) { @@ -10397,15 +10370,14 @@ func (c *Connect) ListUseCasesWithContext(ctx aws.Context, input *ListUseCasesIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUseCases operation. -// pageNum := 0 -// err := client.ListUseCasesPages(params, -// func(page *connect.ListUseCasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUseCases operation. +// pageNum := 0 +// err := client.ListUseCasesPages(params, +// func(page *connect.ListUseCasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListUseCasesPages(input *ListUseCasesInput, fn func(*ListUseCasesOutput, bool) bool) error { return c.ListUseCasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10457,14 +10429,13 @@ const opListUserHierarchyGroups = "ListUserHierarchyGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUserHierarchyGroupsRequest method. +// req, resp := client.ListUserHierarchyGroupsRequest(params) // -// // Example sending a request using the ListUserHierarchyGroupsRequest method. -// req, resp := client.ListUserHierarchyGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUserHierarchyGroups func (c *Connect) ListUserHierarchyGroupsRequest(input *ListUserHierarchyGroupsInput) (req *request.Request, output *ListUserHierarchyGroupsOutput) { @@ -10506,20 +10477,21 @@ func (c *Connect) ListUserHierarchyGroupsRequest(input *ListUserHierarchyGroupsI // API operation ListUserHierarchyGroups for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUserHierarchyGroups func (c *Connect) ListUserHierarchyGroups(input *ListUserHierarchyGroupsInput) (*ListUserHierarchyGroupsOutput, error) { @@ -10551,15 +10523,14 @@ func (c *Connect) ListUserHierarchyGroupsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUserHierarchyGroups operation. -// pageNum := 0 -// err := client.ListUserHierarchyGroupsPages(params, -// func(page *connect.ListUserHierarchyGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUserHierarchyGroups operation. +// pageNum := 0 +// err := client.ListUserHierarchyGroupsPages(params, +// func(page *connect.ListUserHierarchyGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListUserHierarchyGroupsPages(input *ListUserHierarchyGroupsInput, fn func(*ListUserHierarchyGroupsOutput, bool) bool) error { return c.ListUserHierarchyGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10611,14 +10582,13 @@ const opListUsers = "ListUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUsersRequest method. +// req, resp := client.ListUsersRequest(params) // -// // Example sending a request using the ListUsersRequest method. -// req, resp := client.ListUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUsers func (c *Connect) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) { @@ -10656,20 +10626,21 @@ func (c *Connect) ListUsersRequest(input *ListUsersInput) (req *request.Request, // API operation ListUsers for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ListUsers func (c *Connect) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) { @@ -10701,15 +10672,14 @@ func (c *Connect) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUsers operation. -// pageNum := 0 -// err := client.ListUsersPages(params, -// func(page *connect.ListUsersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUsers operation. +// pageNum := 0 +// err := client.ListUsersPages(params, +// func(page *connect.ListUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) ListUsersPages(input *ListUsersInput, fn func(*ListUsersOutput, bool) bool) error { return c.ListUsersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10761,14 +10731,13 @@ const opPutUserStatus = "PutUserStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutUserStatusRequest method. +// req, resp := client.PutUserStatusRequest(params) // -// // Example sending a request using the PutUserStatusRequest method. -// req, resp := client.PutUserStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/PutUserStatus func (c *Connect) PutUserStatusRequest(input *PutUserStatusInput) (req *request.Request, output *PutUserStatusOutput) { @@ -10805,23 +10774,24 @@ func (c *Connect) PutUserStatusRequest(input *PutUserStatusInput) (req *request. // API operation PutUserStatus for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/PutUserStatus func (c *Connect) PutUserStatus(input *PutUserStatusInput) (*PutUserStatusOutput, error) { @@ -10861,14 +10831,13 @@ const opReleasePhoneNumber = "ReleasePhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReleasePhoneNumberRequest method. +// req, resp := client.ReleasePhoneNumberRequest(params) // -// // Example sending a request using the ReleasePhoneNumberRequest method. -// req, resp := client.ReleasePhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ReleasePhoneNumber func (c *Connect) ReleasePhoneNumberRequest(input *ReleasePhoneNumberInput) (req *request.Request, output *ReleasePhoneNumberOutput) { @@ -10900,26 +10869,27 @@ func (c *Connect) ReleasePhoneNumberRequest(input *ReleasePhoneNumberInput) (req // API operation ReleasePhoneNumber for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ResourceInUseException -// That resource is already in use. Please try another. +// - ResourceInUseException +// That resource is already in use. Please try another. // -// * IdempotencyException -// An entity with the same name already exists. +// - IdempotencyException +// An entity with the same name already exists. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ReleasePhoneNumber func (c *Connect) ReleasePhoneNumber(input *ReleasePhoneNumberInput) (*ReleasePhoneNumberOutput, error) { @@ -10959,14 +10929,13 @@ const opResumeContactRecording = "ResumeContactRecording" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResumeContactRecordingRequest method. +// req, resp := client.ResumeContactRecordingRequest(params) // -// // Example sending a request using the ResumeContactRecordingRequest method. -// req, resp := client.ResumeContactRecordingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ResumeContactRecording func (c *Connect) ResumeContactRecordingRequest(input *ResumeContactRecordingInput) (req *request.Request, output *ResumeContactRecordingOutput) { @@ -11001,14 +10970,15 @@ func (c *Connect) ResumeContactRecordingRequest(input *ResumeContactRecordingInp // API operation ResumeContactRecording for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidRequestException +// The request is not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ResumeContactRecording func (c *Connect) ResumeContactRecording(input *ResumeContactRecordingInput) (*ResumeContactRecordingOutput, error) { @@ -11048,14 +11018,13 @@ const opSearchAvailablePhoneNumbers = "SearchAvailablePhoneNumbers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchAvailablePhoneNumbersRequest method. +// req, resp := client.SearchAvailablePhoneNumbersRequest(params) // -// // Example sending a request using the SearchAvailablePhoneNumbersRequest method. -// req, resp := client.SearchAvailablePhoneNumbersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchAvailablePhoneNumbers func (c *Connect) SearchAvailablePhoneNumbersRequest(input *SearchAvailablePhoneNumbersInput) (req *request.Request, output *SearchAvailablePhoneNumbersOutput) { @@ -11093,17 +11062,18 @@ func (c *Connect) SearchAvailablePhoneNumbersRequest(input *SearchAvailablePhone // API operation SearchAvailablePhoneNumbers for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchAvailablePhoneNumbers func (c *Connect) SearchAvailablePhoneNumbers(input *SearchAvailablePhoneNumbersInput) (*SearchAvailablePhoneNumbersOutput, error) { @@ -11135,15 +11105,14 @@ func (c *Connect) SearchAvailablePhoneNumbersWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchAvailablePhoneNumbers operation. -// pageNum := 0 -// err := client.SearchAvailablePhoneNumbersPages(params, -// func(page *connect.SearchAvailablePhoneNumbersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchAvailablePhoneNumbers operation. +// pageNum := 0 +// err := client.SearchAvailablePhoneNumbersPages(params, +// func(page *connect.SearchAvailablePhoneNumbersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) SearchAvailablePhoneNumbersPages(input *SearchAvailablePhoneNumbersInput, fn func(*SearchAvailablePhoneNumbersOutput, bool) bool) error { return c.SearchAvailablePhoneNumbersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11195,14 +11164,13 @@ const opSearchUsers = "SearchUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchUsersRequest method. +// req, resp := client.SearchUsersRequest(params) // -// // Example sending a request using the SearchUsersRequest method. -// req, resp := client.SearchUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchUsers func (c *Connect) SearchUsersRequest(input *SearchUsersInput) (req *request.Request, output *SearchUsersOutput) { @@ -11239,20 +11207,21 @@ func (c *Connect) SearchUsersRequest(input *SearchUsersInput) (req *request.Requ // API operation SearchUsers for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchUsers func (c *Connect) SearchUsers(input *SearchUsersInput) (*SearchUsersOutput, error) { @@ -11284,15 +11253,14 @@ func (c *Connect) SearchUsersWithContext(ctx aws.Context, input *SearchUsersInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchUsers operation. -// pageNum := 0 -// err := client.SearchUsersPages(params, -// func(page *connect.SearchUsersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchUsers operation. +// pageNum := 0 +// err := client.SearchUsersPages(params, +// func(page *connect.SearchUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) SearchUsersPages(input *SearchUsersInput, fn func(*SearchUsersOutput, bool) bool) error { return c.SearchUsersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11344,14 +11312,13 @@ const opSearchVocabularies = "SearchVocabularies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchVocabulariesRequest method. +// req, resp := client.SearchVocabulariesRequest(params) // -// // Example sending a request using the SearchVocabulariesRequest method. -// req, resp := client.SearchVocabulariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchVocabularies func (c *Connect) SearchVocabulariesRequest(input *SearchVocabulariesInput) (req *request.Request, output *SearchVocabulariesOutput) { @@ -11389,17 +11356,18 @@ func (c *Connect) SearchVocabulariesRequest(input *SearchVocabulariesInput) (req // API operation SearchVocabularies for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InvalidRequestException +// The request is not valid. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SearchVocabularies func (c *Connect) SearchVocabularies(input *SearchVocabulariesInput) (*SearchVocabulariesOutput, error) { @@ -11431,15 +11399,14 @@ func (c *Connect) SearchVocabulariesWithContext(ctx aws.Context, input *SearchVo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchVocabularies operation. -// pageNum := 0 -// err := client.SearchVocabulariesPages(params, -// func(page *connect.SearchVocabulariesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchVocabularies operation. +// pageNum := 0 +// err := client.SearchVocabulariesPages(params, +// func(page *connect.SearchVocabulariesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Connect) SearchVocabulariesPages(input *SearchVocabulariesInput, fn func(*SearchVocabulariesOutput, bool) bool) error { return c.SearchVocabulariesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11491,14 +11458,13 @@ const opStartChatContact = "StartChatContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartChatContactRequest method. +// req, resp := client.StartChatContactRequest(params) // -// // Example sending a request using the StartChatContactRequest method. -// req, resp := client.StartChatContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartChatContact func (c *Connect) StartChatContactRequest(input *StartChatContactInput) (req *request.Request, output *StartChatContactOutput) { @@ -11531,11 +11497,11 @@ func (c *Connect) StartChatContactRequest(input *StartChatContactInput) (req *re // // A 429 error occurs in the following situations: // -// * API rate limit is exceeded. API TPS throttling returns a TooManyRequests -// exception. +// - API rate limit is exceeded. API TPS throttling returns a TooManyRequests +// exception. // -// * The quota for concurrent active chats (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) -// is exceeded. Active chat throttling returns a LimitExceededException. +// - The quota for concurrent active chats (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) +// is exceeded. Active chat throttling returns a LimitExceededException. // // If you use the ChatDurationInMinutes parameter and receive a 400 error, your // account may not support the ability to configure custom chat durations. For @@ -11552,20 +11518,21 @@ func (c *Connect) StartChatContactRequest(input *StartChatContactInput) (req *re // API operation StartChatContact for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartChatContact func (c *Connect) StartChatContact(input *StartChatContactInput) (*StartChatContactOutput, error) { @@ -11605,14 +11572,13 @@ const opStartContactRecording = "StartContactRecording" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartContactRecordingRequest method. +// req, resp := client.StartContactRecordingRequest(params) // -// // Example sending a request using the StartContactRecordingRequest method. -// req, resp := client.StartContactRecordingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartContactRecording func (c *Connect) StartContactRecordingRequest(input *StartContactRecordingInput) (req *request.Request, output *StartContactRecordingOutput) { @@ -11636,11 +11602,11 @@ func (c *Connect) StartContactRecordingRequest(input *StartContactRecordingInput // // Starts recording the contact: // -// * If the API is called before the agent joins the call, recording starts -// when the agent joins the call. +// - If the API is called before the agent joins the call, recording starts +// when the agent joins the call. // -// * If the API is called after the agent joins the call, recording starts -// at the time of the API call. +// - If the API is called after the agent joins the call, recording starts +// at the time of the API call. // // StartContactRecording is a one-time action. For example, if you use StopContactRecording // to stop recording an ongoing call, you can't use StartContactRecording to @@ -11662,17 +11628,18 @@ func (c *Connect) StartContactRecordingRequest(input *StartContactRecordingInput // API operation StartContactRecording for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartContactRecording func (c *Connect) StartContactRecording(input *StartContactRecordingInput) (*StartContactRecordingOutput, error) { @@ -11712,14 +11679,13 @@ const opStartContactStreaming = "StartContactStreaming" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartContactStreamingRequest method. +// req, resp := client.StartContactStreamingRequest(params) // -// // Example sending a request using the StartContactStreamingRequest method. -// req, resp := client.StartContactStreamingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartContactStreaming func (c *Connect) StartContactStreamingRequest(input *StartContactStreamingInput) (req *request.Request, output *StartContactStreamingOutput) { @@ -11754,20 +11720,21 @@ func (c *Connect) StartContactStreamingRequest(input *StartContactStreamingInput // API operation StartContactStreaming for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartContactStreaming func (c *Connect) StartContactStreaming(input *StartContactStreamingInput) (*StartContactStreamingOutput, error) { @@ -11807,14 +11774,13 @@ const opStartOutboundVoiceContact = "StartOutboundVoiceContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartOutboundVoiceContactRequest method. +// req, resp := client.StartOutboundVoiceContactRequest(params) // -// // Example sending a request using the StartOutboundVoiceContactRequest method. -// req, resp := client.StartOutboundVoiceContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartOutboundVoiceContact func (c *Connect) StartOutboundVoiceContactRequest(input *StartOutboundVoiceContactInput) (req *request.Request, output *StartOutboundVoiceContactOutput) { @@ -11864,26 +11830,27 @@ func (c *Connect) StartOutboundVoiceContactRequest(input *StartOutboundVoiceCont // API operation StartOutboundVoiceContact for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // -// * DestinationNotAllowedException -// Outbound calls to the destination number are not allowed. +// - DestinationNotAllowedException +// Outbound calls to the destination number are not allowed. // -// * OutboundContactNotPermittedException -// The contact is not permitted. +// - OutboundContactNotPermittedException +// The contact is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartOutboundVoiceContact func (c *Connect) StartOutboundVoiceContact(input *StartOutboundVoiceContactInput) (*StartOutboundVoiceContactOutput, error) { @@ -11923,14 +11890,13 @@ const opStartTaskContact = "StartTaskContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartTaskContactRequest method. +// req, resp := client.StartTaskContactRequest(params) // -// // Example sending a request using the StartTaskContactRequest method. -// req, resp := client.StartTaskContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartTaskContact func (c *Connect) StartTaskContactRequest(input *StartTaskContactInput) (req *request.Request, output *StartTaskContactOutput) { @@ -11961,23 +11927,24 @@ func (c *Connect) StartTaskContactRequest(input *StartTaskContactInput) (req *re // API operation StartTaskContact for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ServiceQuotaExceededException -// The service quota has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ServiceQuotaExceededException +// The service quota has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StartTaskContact func (c *Connect) StartTaskContact(input *StartTaskContactInput) (*StartTaskContactOutput, error) { @@ -12017,14 +11984,13 @@ const opStopContact = "StopContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopContactRequest method. +// req, resp := client.StopContactRequest(params) // -// // Example sending a request using the StopContactRequest method. -// req, resp := client.StopContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContact func (c *Connect) StopContactRequest(input *StopContactInput) (req *request.Request, output *StopContactOutput) { @@ -12049,11 +12015,11 @@ func (c *Connect) StopContactRequest(input *StopContactInput) (req *request.Requ // Ends the specified contact. This call does not work for the following initiation // methods: // -// * DISCONNECT +// - DISCONNECT // -// * TRANSFER +// - TRANSFER // -// * QUEUE_TRANSFER +// - QUEUE_TRANSFER // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -12063,20 +12029,21 @@ func (c *Connect) StopContactRequest(input *StopContactInput) (req *request.Requ // API operation StopContact for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ContactNotFoundException -// The contact with the specified ID is not active or does not exist. +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - ContactNotFoundException +// The contact with the specified ID is not active or does not exist. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContact func (c *Connect) StopContact(input *StopContactInput) (*StopContactOutput, error) { @@ -12116,14 +12083,13 @@ const opStopContactRecording = "StopContactRecording" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopContactRecordingRequest method. +// req, resp := client.StopContactRecordingRequest(params) // -// // Example sending a request using the StopContactRecordingRequest method. -// req, resp := client.StopContactRecordingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContactRecording func (c *Connect) StopContactRecordingRequest(input *StopContactRecordingInput) (req *request.Request, output *StopContactRecordingOutput) { @@ -12162,14 +12128,15 @@ func (c *Connect) StopContactRecordingRequest(input *StopContactRecordingInput) // API operation StopContactRecording for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidRequestException +// The request is not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContactRecording func (c *Connect) StopContactRecording(input *StopContactRecordingInput) (*StopContactRecordingOutput, error) { @@ -12209,14 +12176,13 @@ const opStopContactStreaming = "StopContactStreaming" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopContactStreamingRequest method. +// req, resp := client.StopContactStreamingRequest(params) // -// // Example sending a request using the StopContactStreamingRequest method. -// req, resp := client.StopContactStreamingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContactStreaming func (c *Connect) StopContactStreamingRequest(input *StopContactStreamingInput) (req *request.Request, output *StopContactStreamingOutput) { @@ -12250,17 +12216,18 @@ func (c *Connect) StopContactStreamingRequest(input *StopContactStreamingInput) // API operation StopContactStreaming for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/StopContactStreaming func (c *Connect) StopContactStreaming(input *StopContactStreamingInput) (*StopContactStreamingOutput, error) { @@ -12300,14 +12267,13 @@ const opSuspendContactRecording = "SuspendContactRecording" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SuspendContactRecordingRequest method. +// req, resp := client.SuspendContactRecordingRequest(params) // -// // Example sending a request using the SuspendContactRecordingRequest method. -// req, resp := client.SuspendContactRecordingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SuspendContactRecording func (c *Connect) SuspendContactRecordingRequest(input *SuspendContactRecordingInput) (req *request.Request, output *SuspendContactRecordingOutput) { @@ -12347,14 +12313,15 @@ func (c *Connect) SuspendContactRecordingRequest(input *SuspendContactRecordingI // API operation SuspendContactRecording for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidRequestException +// The request is not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/SuspendContactRecording func (c *Connect) SuspendContactRecording(input *SuspendContactRecordingInput) (*SuspendContactRecordingOutput, error) { @@ -12394,14 +12361,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TagResource func (c *Connect) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -12440,20 +12406,21 @@ func (c *Connect) TagResourceRequest(input *TagResourceInput) (req *request.Requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/TagResource func (c *Connect) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -12493,14 +12460,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UntagResource func (c *Connect) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -12532,20 +12498,21 @@ func (c *Connect) UntagResourceRequest(input *UntagResourceInput) (req *request. // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UntagResource func (c *Connect) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -12585,14 +12552,13 @@ const opUpdateAgentStatus = "UpdateAgentStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAgentStatusRequest method. +// req, resp := client.UpdateAgentStatusRequest(params) // -// // Example sending a request using the UpdateAgentStatusRequest method. -// req, resp := client.UpdateAgentStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateAgentStatus func (c *Connect) UpdateAgentStatusRequest(input *UpdateAgentStatusInput) (req *request.Request, output *UpdateAgentStatusOutput) { @@ -12626,26 +12592,27 @@ func (c *Connect) UpdateAgentStatusRequest(input *UpdateAgentStatusInput) (req * // API operation UpdateAgentStatus for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateAgentStatus func (c *Connect) UpdateAgentStatus(input *UpdateAgentStatusInput) (*UpdateAgentStatusOutput, error) { @@ -12685,14 +12652,13 @@ const opUpdateContact = "UpdateContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContactRequest method. +// req, resp := client.UpdateContactRequest(params) // -// // Example sending a request using the UpdateContactRequest method. -// req, resp := client.UpdateContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContact func (c *Connect) UpdateContactRequest(input *UpdateContactInput) (req *request.Request, output *UpdateContactOutput) { @@ -12730,20 +12696,21 @@ func (c *Connect) UpdateContactRequest(input *UpdateContactInput) (req *request. // API operation UpdateContact for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContact func (c *Connect) UpdateContact(input *UpdateContactInput) (*UpdateContactOutput, error) { @@ -12783,14 +12750,13 @@ const opUpdateContactAttributes = "UpdateContactAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContactAttributesRequest method. +// req, resp := client.UpdateContactAttributesRequest(params) // -// // Example sending a request using the UpdateContactAttributesRequest method. -// req, resp := client.UpdateContactAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactAttributes func (c *Connect) UpdateContactAttributesRequest(input *UpdateContactAttributesInput) (req *request.Request, output *UpdateContactAttributesOutput) { @@ -12845,17 +12811,18 @@ func (c *Connect) UpdateContactAttributesRequest(input *UpdateContactAttributesI // API operation UpdateContactAttributes for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactAttributes func (c *Connect) UpdateContactAttributes(input *UpdateContactAttributesInput) (*UpdateContactAttributesOutput, error) { @@ -12895,14 +12862,13 @@ const opUpdateContactFlowContent = "UpdateContactFlowContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContactFlowContentRequest method. +// req, resp := client.UpdateContactFlowContentRequest(params) // -// // Example sending a request using the UpdateContactFlowContentRequest method. -// req, resp := client.UpdateContactFlowContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowContent func (c *Connect) UpdateContactFlowContentRequest(input *UpdateContactFlowContentInput) (req *request.Request, output *UpdateContactFlowContentOutput) { @@ -12937,23 +12903,24 @@ func (c *Connect) UpdateContactFlowContentRequest(input *UpdateContactFlowConten // API operation UpdateContactFlowContent for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidContactFlowException -// The contact flow is not valid. +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidContactFlowException +// The contact flow is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowContent func (c *Connect) UpdateContactFlowContent(input *UpdateContactFlowContentInput) (*UpdateContactFlowContentOutput, error) { @@ -12993,14 +12960,13 @@ const opUpdateContactFlowMetadata = "UpdateContactFlowMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContactFlowMetadataRequest method. +// req, resp := client.UpdateContactFlowMetadataRequest(params) // -// // Example sending a request using the UpdateContactFlowMetadataRequest method. -// req, resp := client.UpdateContactFlowMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowMetadata func (c *Connect) UpdateContactFlowMetadataRequest(input *UpdateContactFlowMetadataInput) (req *request.Request, output *UpdateContactFlowMetadataOutput) { @@ -13032,23 +12998,24 @@ func (c *Connect) UpdateContactFlowMetadataRequest(input *UpdateContactFlowMetad // API operation UpdateContactFlowMetadata for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowMetadata func (c *Connect) UpdateContactFlowMetadata(input *UpdateContactFlowMetadataInput) (*UpdateContactFlowMetadataOutput, error) { @@ -13088,14 +13055,13 @@ const opUpdateContactFlowModuleContent = "UpdateContactFlowModuleContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContactFlowModuleContentRequest method. +// req, resp := client.UpdateContactFlowModuleContentRequest(params) // -// // Example sending a request using the UpdateContactFlowModuleContentRequest method. -// req, resp := client.UpdateContactFlowModuleContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowModuleContent func (c *Connect) UpdateContactFlowModuleContentRequest(input *UpdateContactFlowModuleContentInput) (req *request.Request, output *UpdateContactFlowModuleContentOutput) { @@ -13127,23 +13093,24 @@ func (c *Connect) UpdateContactFlowModuleContentRequest(input *UpdateContactFlow // API operation UpdateContactFlowModuleContent for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InvalidRequestException +// The request is not valid. // -// * InvalidContactFlowModuleException -// The problems with the module. Please fix before trying again. +// - InvalidContactFlowModuleException +// The problems with the module. Please fix before trying again. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowModuleContent func (c *Connect) UpdateContactFlowModuleContent(input *UpdateContactFlowModuleContentInput) (*UpdateContactFlowModuleContentOutput, error) { @@ -13183,14 +13150,13 @@ const opUpdateContactFlowModuleMetadata = "UpdateContactFlowModuleMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContactFlowModuleMetadataRequest method. +// req, resp := client.UpdateContactFlowModuleMetadataRequest(params) // -// // Example sending a request using the UpdateContactFlowModuleMetadataRequest method. -// req, resp := client.UpdateContactFlowModuleMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowModuleMetadata func (c *Connect) UpdateContactFlowModuleMetadataRequest(input *UpdateContactFlowModuleMetadataInput) (req *request.Request, output *UpdateContactFlowModuleMetadataOutput) { @@ -13222,26 +13188,27 @@ func (c *Connect) UpdateContactFlowModuleMetadataRequest(input *UpdateContactFlo // API operation UpdateContactFlowModuleMetadata for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowModuleMetadata func (c *Connect) UpdateContactFlowModuleMetadata(input *UpdateContactFlowModuleMetadataInput) (*UpdateContactFlowModuleMetadataOutput, error) { @@ -13281,14 +13248,13 @@ const opUpdateContactFlowName = "UpdateContactFlowName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContactFlowNameRequest method. +// req, resp := client.UpdateContactFlowNameRequest(params) // -// // Example sending a request using the UpdateContactFlowNameRequest method. -// req, resp := client.UpdateContactFlowNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowName func (c *Connect) UpdateContactFlowNameRequest(input *UpdateContactFlowNameInput) (req *request.Request, output *UpdateContactFlowNameOutput) { @@ -13323,23 +13289,24 @@ func (c *Connect) UpdateContactFlowNameRequest(input *UpdateContactFlowNameInput // API operation UpdateContactFlowName for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactFlowName func (c *Connect) UpdateContactFlowName(input *UpdateContactFlowNameInput) (*UpdateContactFlowNameOutput, error) { @@ -13379,14 +13346,13 @@ const opUpdateContactSchedule = "UpdateContactSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContactScheduleRequest method. +// req, resp := client.UpdateContactScheduleRequest(params) // -// // Example sending a request using the UpdateContactScheduleRequest method. -// req, resp := client.UpdateContactScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactSchedule func (c *Connect) UpdateContactScheduleRequest(input *UpdateContactScheduleInput) (req *request.Request, output *UpdateContactScheduleOutput) { @@ -13418,23 +13384,24 @@ func (c *Connect) UpdateContactScheduleRequest(input *UpdateContactScheduleInput // API operation UpdateContactSchedule for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The allowed limit for the resource has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - LimitExceededException +// The allowed limit for the resource has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateContactSchedule func (c *Connect) UpdateContactSchedule(input *UpdateContactScheduleInput) (*UpdateContactScheduleOutput, error) { @@ -13474,14 +13441,13 @@ const opUpdateHoursOfOperation = "UpdateHoursOfOperation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateHoursOfOperationRequest method. +// req, resp := client.UpdateHoursOfOperationRequest(params) // -// // Example sending a request using the UpdateHoursOfOperationRequest method. -// req, resp := client.UpdateHoursOfOperationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateHoursOfOperation func (c *Connect) UpdateHoursOfOperationRequest(input *UpdateHoursOfOperationInput) (req *request.Request, output *UpdateHoursOfOperationOutput) { @@ -13515,23 +13481,24 @@ func (c *Connect) UpdateHoursOfOperationRequest(input *UpdateHoursOfOperationInp // API operation UpdateHoursOfOperation for usage and error information. // // Returned Error Types: -// * DuplicateResourceException -// A resource with the specified name already exists. // -// * InvalidRequestException -// The request is not valid. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateHoursOfOperation func (c *Connect) UpdateHoursOfOperation(input *UpdateHoursOfOperationInput) (*UpdateHoursOfOperationOutput, error) { @@ -13571,14 +13538,13 @@ const opUpdateInstanceAttribute = "UpdateInstanceAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateInstanceAttributeRequest method. +// req, resp := client.UpdateInstanceAttributeRequest(params) // -// // Example sending a request using the UpdateInstanceAttributeRequest method. -// req, resp := client.UpdateInstanceAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateInstanceAttribute func (c *Connect) UpdateInstanceAttributeRequest(input *UpdateInstanceAttributeInput) (req *request.Request, output *UpdateInstanceAttributeOutput) { @@ -13612,20 +13578,21 @@ func (c *Connect) UpdateInstanceAttributeRequest(input *UpdateInstanceAttributeI // API operation UpdateInstanceAttribute for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateInstanceAttribute func (c *Connect) UpdateInstanceAttribute(input *UpdateInstanceAttributeInput) (*UpdateInstanceAttributeOutput, error) { @@ -13665,14 +13632,13 @@ const opUpdateInstanceStorageConfig = "UpdateInstanceStorageConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateInstanceStorageConfigRequest method. +// req, resp := client.UpdateInstanceStorageConfigRequest(params) // -// // Example sending a request using the UpdateInstanceStorageConfigRequest method. -// req, resp := client.UpdateInstanceStorageConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateInstanceStorageConfig func (c *Connect) UpdateInstanceStorageConfigRequest(input *UpdateInstanceStorageConfigInput) (req *request.Request, output *UpdateInstanceStorageConfigOutput) { @@ -13706,20 +13672,21 @@ func (c *Connect) UpdateInstanceStorageConfigRequest(input *UpdateInstanceStorag // API operation UpdateInstanceStorageConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateInstanceStorageConfig func (c *Connect) UpdateInstanceStorageConfig(input *UpdateInstanceStorageConfigInput) (*UpdateInstanceStorageConfigOutput, error) { @@ -13759,14 +13726,13 @@ const opUpdatePhoneNumber = "UpdatePhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePhoneNumberRequest method. +// req, resp := client.UpdatePhoneNumberRequest(params) // -// // Example sending a request using the UpdatePhoneNumberRequest method. -// req, resp := client.UpdatePhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdatePhoneNumber func (c *Connect) UpdatePhoneNumberRequest(input *UpdatePhoneNumberInput) (req *request.Request, output *UpdatePhoneNumberOutput) { @@ -13798,26 +13764,27 @@ func (c *Connect) UpdatePhoneNumberRequest(input *UpdatePhoneNumberInput) (req * // API operation UpdatePhoneNumber for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // -// * ResourceInUseException -// That resource is already in use. Please try another. +// - ResourceInUseException +// That resource is already in use. Please try another. // -// * IdempotencyException -// An entity with the same name already exists. +// - IdempotencyException +// An entity with the same name already exists. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdatePhoneNumber func (c *Connect) UpdatePhoneNumber(input *UpdatePhoneNumberInput) (*UpdatePhoneNumberOutput, error) { @@ -13857,14 +13824,13 @@ const opUpdateQueueHoursOfOperation = "UpdateQueueHoursOfOperation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateQueueHoursOfOperationRequest method. +// req, resp := client.UpdateQueueHoursOfOperationRequest(params) // -// // Example sending a request using the UpdateQueueHoursOfOperationRequest method. -// req, resp := client.UpdateQueueHoursOfOperationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueHoursOfOperation func (c *Connect) UpdateQueueHoursOfOperationRequest(input *UpdateQueueHoursOfOperationInput) (req *request.Request, output *UpdateQueueHoursOfOperationOutput) { @@ -13898,20 +13864,21 @@ func (c *Connect) UpdateQueueHoursOfOperationRequest(input *UpdateQueueHoursOfOp // API operation UpdateQueueHoursOfOperation for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueHoursOfOperation func (c *Connect) UpdateQueueHoursOfOperation(input *UpdateQueueHoursOfOperationInput) (*UpdateQueueHoursOfOperationOutput, error) { @@ -13951,14 +13918,13 @@ const opUpdateQueueMaxContacts = "UpdateQueueMaxContacts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateQueueMaxContactsRequest method. +// req, resp := client.UpdateQueueMaxContactsRequest(params) // -// // Example sending a request using the UpdateQueueMaxContactsRequest method. -// req, resp := client.UpdateQueueMaxContactsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueMaxContacts func (c *Connect) UpdateQueueMaxContactsRequest(input *UpdateQueueMaxContactsInput) (req *request.Request, output *UpdateQueueMaxContactsOutput) { @@ -13993,20 +13959,21 @@ func (c *Connect) UpdateQueueMaxContactsRequest(input *UpdateQueueMaxContactsInp // API operation UpdateQueueMaxContacts for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueMaxContacts func (c *Connect) UpdateQueueMaxContacts(input *UpdateQueueMaxContactsInput) (*UpdateQueueMaxContactsOutput, error) { @@ -14046,14 +14013,13 @@ const opUpdateQueueName = "UpdateQueueName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateQueueNameRequest method. +// req, resp := client.UpdateQueueNameRequest(params) // -// // Example sending a request using the UpdateQueueNameRequest method. -// req, resp := client.UpdateQueueNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueName func (c *Connect) UpdateQueueNameRequest(input *UpdateQueueNameInput) (req *request.Request, output *UpdateQueueNameOutput) { @@ -14088,23 +14054,24 @@ func (c *Connect) UpdateQueueNameRequest(input *UpdateQueueNameInput) (req *requ // API operation UpdateQueueName for usage and error information. // // Returned Error Types: -// * DuplicateResourceException -// A resource with the specified name already exists. // -// * InvalidRequestException -// The request is not valid. +// - DuplicateResourceException +// A resource with the specified name already exists. +// +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueName func (c *Connect) UpdateQueueName(input *UpdateQueueNameInput) (*UpdateQueueNameOutput, error) { @@ -14144,14 +14111,13 @@ const opUpdateQueueOutboundCallerConfig = "UpdateQueueOutboundCallerConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateQueueOutboundCallerConfigRequest method. +// req, resp := client.UpdateQueueOutboundCallerConfigRequest(params) // -// // Example sending a request using the UpdateQueueOutboundCallerConfigRequest method. -// req, resp := client.UpdateQueueOutboundCallerConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueOutboundCallerConfig func (c *Connect) UpdateQueueOutboundCallerConfigRequest(input *UpdateQueueOutboundCallerConfigInput) (req *request.Request, output *UpdateQueueOutboundCallerConfigOutput) { @@ -14186,20 +14152,21 @@ func (c *Connect) UpdateQueueOutboundCallerConfigRequest(input *UpdateQueueOutbo // API operation UpdateQueueOutboundCallerConfig for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueOutboundCallerConfig func (c *Connect) UpdateQueueOutboundCallerConfig(input *UpdateQueueOutboundCallerConfigInput) (*UpdateQueueOutboundCallerConfigOutput, error) { @@ -14239,14 +14206,13 @@ const opUpdateQueueStatus = "UpdateQueueStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateQueueStatusRequest method. +// req, resp := client.UpdateQueueStatusRequest(params) // -// // Example sending a request using the UpdateQueueStatusRequest method. -// req, resp := client.UpdateQueueStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueStatus func (c *Connect) UpdateQueueStatusRequest(input *UpdateQueueStatusInput) (req *request.Request, output *UpdateQueueStatusOutput) { @@ -14280,20 +14246,21 @@ func (c *Connect) UpdateQueueStatusRequest(input *UpdateQueueStatusInput) (req * // API operation UpdateQueueStatus for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQueueStatus func (c *Connect) UpdateQueueStatus(input *UpdateQueueStatusInput) (*UpdateQueueStatusOutput, error) { @@ -14333,14 +14300,13 @@ const opUpdateQuickConnectConfig = "UpdateQuickConnectConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateQuickConnectConfigRequest method. +// req, resp := client.UpdateQuickConnectConfigRequest(params) // -// // Example sending a request using the UpdateQuickConnectConfigRequest method. -// req, resp := client.UpdateQuickConnectConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQuickConnectConfig func (c *Connect) UpdateQuickConnectConfigRequest(input *UpdateQuickConnectConfigInput) (req *request.Request, output *UpdateQuickConnectConfigOutput) { @@ -14372,20 +14338,21 @@ func (c *Connect) UpdateQuickConnectConfigRequest(input *UpdateQuickConnectConfi // API operation UpdateQuickConnectConfig for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQuickConnectConfig func (c *Connect) UpdateQuickConnectConfig(input *UpdateQuickConnectConfigInput) (*UpdateQuickConnectConfigOutput, error) { @@ -14425,14 +14392,13 @@ const opUpdateQuickConnectName = "UpdateQuickConnectName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateQuickConnectNameRequest method. +// req, resp := client.UpdateQuickConnectNameRequest(params) // -// // Example sending a request using the UpdateQuickConnectNameRequest method. -// req, resp := client.UpdateQuickConnectNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQuickConnectName func (c *Connect) UpdateQuickConnectNameRequest(input *UpdateQuickConnectNameInput) (req *request.Request, output *UpdateQuickConnectNameOutput) { @@ -14465,20 +14431,21 @@ func (c *Connect) UpdateQuickConnectNameRequest(input *UpdateQuickConnectNameInp // API operation UpdateQuickConnectName for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateQuickConnectName func (c *Connect) UpdateQuickConnectName(input *UpdateQuickConnectNameInput) (*UpdateQuickConnectNameOutput, error) { @@ -14518,14 +14485,13 @@ const opUpdateRoutingProfileConcurrency = "UpdateRoutingProfileConcurrency" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRoutingProfileConcurrencyRequest method. +// req, resp := client.UpdateRoutingProfileConcurrencyRequest(params) // -// // Example sending a request using the UpdateRoutingProfileConcurrencyRequest method. -// req, resp := client.UpdateRoutingProfileConcurrencyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileConcurrency func (c *Connect) UpdateRoutingProfileConcurrencyRequest(input *UpdateRoutingProfileConcurrencyInput) (req *request.Request, output *UpdateRoutingProfileConcurrencyOutput) { @@ -14558,20 +14524,21 @@ func (c *Connect) UpdateRoutingProfileConcurrencyRequest(input *UpdateRoutingPro // API operation UpdateRoutingProfileConcurrency for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileConcurrency func (c *Connect) UpdateRoutingProfileConcurrency(input *UpdateRoutingProfileConcurrencyInput) (*UpdateRoutingProfileConcurrencyOutput, error) { @@ -14611,14 +14578,13 @@ const opUpdateRoutingProfileDefaultOutboundQueue = "UpdateRoutingProfileDefaultO // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRoutingProfileDefaultOutboundQueueRequest method. +// req, resp := client.UpdateRoutingProfileDefaultOutboundQueueRequest(params) // -// // Example sending a request using the UpdateRoutingProfileDefaultOutboundQueueRequest method. -// req, resp := client.UpdateRoutingProfileDefaultOutboundQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileDefaultOutboundQueue func (c *Connect) UpdateRoutingProfileDefaultOutboundQueueRequest(input *UpdateRoutingProfileDefaultOutboundQueueInput) (req *request.Request, output *UpdateRoutingProfileDefaultOutboundQueueOutput) { @@ -14650,20 +14616,21 @@ func (c *Connect) UpdateRoutingProfileDefaultOutboundQueueRequest(input *UpdateR // API operation UpdateRoutingProfileDefaultOutboundQueue for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileDefaultOutboundQueue func (c *Connect) UpdateRoutingProfileDefaultOutboundQueue(input *UpdateRoutingProfileDefaultOutboundQueueInput) (*UpdateRoutingProfileDefaultOutboundQueueOutput, error) { @@ -14703,14 +14670,13 @@ const opUpdateRoutingProfileName = "UpdateRoutingProfileName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRoutingProfileNameRequest method. +// req, resp := client.UpdateRoutingProfileNameRequest(params) // -// // Example sending a request using the UpdateRoutingProfileNameRequest method. -// req, resp := client.UpdateRoutingProfileNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileName func (c *Connect) UpdateRoutingProfileNameRequest(input *UpdateRoutingProfileNameInput) (req *request.Request, output *UpdateRoutingProfileNameOutput) { @@ -14743,23 +14709,24 @@ func (c *Connect) UpdateRoutingProfileNameRequest(input *UpdateRoutingProfileNam // API operation UpdateRoutingProfileName for usage and error information. // // Returned Error Types: -// * DuplicateResourceException -// A resource with the specified name already exists. // -// * InvalidRequestException -// The request is not valid. +// - DuplicateResourceException +// A resource with the specified name already exists. +// +// - InvalidRequestException +// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileName func (c *Connect) UpdateRoutingProfileName(input *UpdateRoutingProfileNameInput) (*UpdateRoutingProfileNameOutput, error) { @@ -14799,14 +14766,13 @@ const opUpdateRoutingProfileQueues = "UpdateRoutingProfileQueues" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRoutingProfileQueuesRequest method. +// req, resp := client.UpdateRoutingProfileQueuesRequest(params) // -// // Example sending a request using the UpdateRoutingProfileQueuesRequest method. -// req, resp := client.UpdateRoutingProfileQueuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileQueues func (c *Connect) UpdateRoutingProfileQueuesRequest(input *UpdateRoutingProfileQueuesInput) (req *request.Request, output *UpdateRoutingProfileQueuesOutput) { @@ -14838,20 +14804,21 @@ func (c *Connect) UpdateRoutingProfileQueuesRequest(input *UpdateRoutingProfileQ // API operation UpdateRoutingProfileQueues for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateRoutingProfileQueues func (c *Connect) UpdateRoutingProfileQueues(input *UpdateRoutingProfileQueuesInput) (*UpdateRoutingProfileQueuesOutput, error) { @@ -14891,14 +14858,13 @@ const opUpdateSecurityProfile = "UpdateSecurityProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSecurityProfileRequest method. +// req, resp := client.UpdateSecurityProfileRequest(params) // -// // Example sending a request using the UpdateSecurityProfileRequest method. -// req, resp := client.UpdateSecurityProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateSecurityProfile func (c *Connect) UpdateSecurityProfileRequest(input *UpdateSecurityProfileInput) (req *request.Request, output *UpdateSecurityProfileOutput) { @@ -14932,20 +14898,21 @@ func (c *Connect) UpdateSecurityProfileRequest(input *UpdateSecurityProfileInput // API operation UpdateSecurityProfile for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateSecurityProfile func (c *Connect) UpdateSecurityProfile(input *UpdateSecurityProfileInput) (*UpdateSecurityProfileOutput, error) { @@ -14985,14 +14952,13 @@ const opUpdateUserHierarchy = "UpdateUserHierarchy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserHierarchyRequest method. +// req, resp := client.UpdateUserHierarchyRequest(params) // -// // Example sending a request using the UpdateUserHierarchyRequest method. -// req, resp := client.UpdateUserHierarchyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchy func (c *Connect) UpdateUserHierarchyRequest(input *UpdateUserHierarchyInput) (req *request.Request, output *UpdateUserHierarchyOutput) { @@ -15024,20 +14990,21 @@ func (c *Connect) UpdateUserHierarchyRequest(input *UpdateUserHierarchyInput) (r // API operation UpdateUserHierarchy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchy func (c *Connect) UpdateUserHierarchy(input *UpdateUserHierarchyInput) (*UpdateUserHierarchyOutput, error) { @@ -15077,14 +15044,13 @@ const opUpdateUserHierarchyGroupName = "UpdateUserHierarchyGroupName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserHierarchyGroupNameRequest method. +// req, resp := client.UpdateUserHierarchyGroupNameRequest(params) // -// // Example sending a request using the UpdateUserHierarchyGroupNameRequest method. -// req, resp := client.UpdateUserHierarchyGroupNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchyGroupName func (c *Connect) UpdateUserHierarchyGroupNameRequest(input *UpdateUserHierarchyGroupNameInput) (req *request.Request, output *UpdateUserHierarchyGroupNameOutput) { @@ -15116,23 +15082,24 @@ func (c *Connect) UpdateUserHierarchyGroupNameRequest(input *UpdateUserHierarchy // API operation UpdateUserHierarchyGroupName for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * DuplicateResourceException -// A resource with the specified name already exists. +// - DuplicateResourceException +// A resource with the specified name already exists. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchyGroupName func (c *Connect) UpdateUserHierarchyGroupName(input *UpdateUserHierarchyGroupNameInput) (*UpdateUserHierarchyGroupNameOutput, error) { @@ -15172,14 +15139,13 @@ const opUpdateUserHierarchyStructure = "UpdateUserHierarchyStructure" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserHierarchyStructureRequest method. +// req, resp := client.UpdateUserHierarchyStructureRequest(params) // -// // Example sending a request using the UpdateUserHierarchyStructureRequest method. -// req, resp := client.UpdateUserHierarchyStructureRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchyStructure func (c *Connect) UpdateUserHierarchyStructureRequest(input *UpdateUserHierarchyStructureInput) (req *request.Request, output *UpdateUserHierarchyStructureOutput) { @@ -15212,23 +15178,24 @@ func (c *Connect) UpdateUserHierarchyStructureRequest(input *UpdateUserHierarchy // API operation UpdateUserHierarchyStructure for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ResourceInUseException -// That resource is already in use. Please try another. +// - ResourceInUseException +// That resource is already in use. Please try another. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserHierarchyStructure func (c *Connect) UpdateUserHierarchyStructure(input *UpdateUserHierarchyStructureInput) (*UpdateUserHierarchyStructureOutput, error) { @@ -15268,14 +15235,13 @@ const opUpdateUserIdentityInfo = "UpdateUserIdentityInfo" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserIdentityInfoRequest method. +// req, resp := client.UpdateUserIdentityInfoRequest(params) // -// // Example sending a request using the UpdateUserIdentityInfoRequest method. -// req, resp := client.UpdateUserIdentityInfoRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserIdentityInfo func (c *Connect) UpdateUserIdentityInfoRequest(input *UpdateUserIdentityInfoInput) (req *request.Request, output *UpdateUserIdentityInfoOutput) { @@ -15315,20 +15281,21 @@ func (c *Connect) UpdateUserIdentityInfoRequest(input *UpdateUserIdentityInfoInp // API operation UpdateUserIdentityInfo for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserIdentityInfo func (c *Connect) UpdateUserIdentityInfo(input *UpdateUserIdentityInfoInput) (*UpdateUserIdentityInfoOutput, error) { @@ -15368,14 +15335,13 @@ const opUpdateUserPhoneConfig = "UpdateUserPhoneConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserPhoneConfigRequest method. +// req, resp := client.UpdateUserPhoneConfigRequest(params) // -// // Example sending a request using the UpdateUserPhoneConfigRequest method. -// req, resp := client.UpdateUserPhoneConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserPhoneConfig func (c *Connect) UpdateUserPhoneConfigRequest(input *UpdateUserPhoneConfigInput) (req *request.Request, output *UpdateUserPhoneConfigOutput) { @@ -15407,20 +15373,21 @@ func (c *Connect) UpdateUserPhoneConfigRequest(input *UpdateUserPhoneConfigInput // API operation UpdateUserPhoneConfig for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserPhoneConfig func (c *Connect) UpdateUserPhoneConfig(input *UpdateUserPhoneConfigInput) (*UpdateUserPhoneConfigOutput, error) { @@ -15460,14 +15427,13 @@ const opUpdateUserRoutingProfile = "UpdateUserRoutingProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserRoutingProfileRequest method. +// req, resp := client.UpdateUserRoutingProfileRequest(params) // -// // Example sending a request using the UpdateUserRoutingProfileRequest method. -// req, resp := client.UpdateUserRoutingProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserRoutingProfile func (c *Connect) UpdateUserRoutingProfileRequest(input *UpdateUserRoutingProfileInput) (req *request.Request, output *UpdateUserRoutingProfileOutput) { @@ -15499,20 +15465,21 @@ func (c *Connect) UpdateUserRoutingProfileRequest(input *UpdateUserRoutingProfil // API operation UpdateUserRoutingProfile for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserRoutingProfile func (c *Connect) UpdateUserRoutingProfile(input *UpdateUserRoutingProfileInput) (*UpdateUserRoutingProfileOutput, error) { @@ -15552,14 +15519,13 @@ const opUpdateUserSecurityProfiles = "UpdateUserSecurityProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserSecurityProfilesRequest method. +// req, resp := client.UpdateUserSecurityProfilesRequest(params) // -// // Example sending a request using the UpdateUserSecurityProfilesRequest method. -// req, resp := client.UpdateUserSecurityProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserSecurityProfiles func (c *Connect) UpdateUserSecurityProfilesRequest(input *UpdateUserSecurityProfilesInput) (req *request.Request, output *UpdateUserSecurityProfilesOutput) { @@ -15591,20 +15557,21 @@ func (c *Connect) UpdateUserSecurityProfilesRequest(input *UpdateUserSecurityPro // API operation UpdateUserSecurityProfiles for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidParameterException -// One or more of the specified parameters are not valid. +// - InvalidRequestException +// The request is not valid. +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // -// * InternalServiceException -// Request processing failed because of an error or failure with the service. +// - InternalServiceException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdateUserSecurityProfiles func (c *Connect) UpdateUserSecurityProfiles(input *UpdateUserSecurityProfilesInput) (*UpdateUserSecurityProfilesOutput, error) { @@ -18040,10 +18007,10 @@ func (s *ContactNotFoundException) RequestID() string { // An object that can be used to specify Tag conditions inside the SearchFilter. // This accepts an OR of AND (List of List) input where: // -// * Top level list specifies conditions that need to be applied with OR -// operator +// - Top level list specifies conditions that need to be applied with OR +// operator // -// * Inner list specifies conditions that need to be applied with AND operator. +// - Inner list specifies conditions that need to be applied with AND operator. type ControlPlaneTagFilter struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/connectiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/connectiface/interface.go index 3896edb4b4d1..d94832006768 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/connectiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/connectiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Connect Service. -// func myFunc(svc connectiface.ConnectAPI) bool { -// // Make svc.AssociateApprovedOrigin request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Connect Service. +// func myFunc(svc connectiface.ConnectAPI) bool { +// // Make svc.AssociateApprovedOrigin request +// } // -// func main() { -// sess := session.New() -// svc := connect.New(sess) +// func main() { +// sess := session.New() +// svc := connect.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockConnectClient struct { -// connectiface.ConnectAPI -// } -// func (m *mockConnectClient) AssociateApprovedOrigin(input *connect.AssociateApprovedOriginInput) (*connect.AssociateApprovedOriginOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockConnectClient struct { +// connectiface.ConnectAPI +// } +// func (m *mockConnectClient) AssociateApprovedOrigin(input *connect.AssociateApprovedOriginInput) (*connect.AssociateApprovedOriginOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockConnectClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockConnectClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/doc.go index 63b2d9ed6f1e..5f3137debb87 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/doc.go @@ -27,7 +27,7 @@ // See connect package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/connect/ // -// Using the Client +// # Using the Client // // To contact Amazon Connect Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/service.go index 166a3abc3edd..955aca721d97 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connect/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Connect client from just a session. -// svc := connect.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Connect client with additional configuration -// svc := connect.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Connect client from just a session. +// svc := connect.New(mySession) +// +// // Create a Connect client with additional configuration +// svc := connect.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Connect { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/api.go index a63a6816b2a5..20670f08728e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/api.go @@ -27,14 +27,13 @@ const opListRealtimeContactAnalysisSegments = "ListRealtimeContactAnalysisSegmen // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRealtimeContactAnalysisSegmentsRequest method. +// req, resp := client.ListRealtimeContactAnalysisSegmentsRequest(params) // -// // Example sending a request using the ListRealtimeContactAnalysisSegmentsRequest method. -// req, resp := client.ListRealtimeContactAnalysisSegmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-contact-lens-2020-08-21/ListRealtimeContactAnalysisSegments func (c *ConnectContactLens) ListRealtimeContactAnalysisSegmentsRequest(input *ListRealtimeContactAnalysisSegmentsInput) (req *request.Request, output *ListRealtimeContactAnalysisSegmentsOutput) { @@ -71,20 +70,21 @@ func (c *ConnectContactLens) ListRealtimeContactAnalysisSegmentsRequest(input *L // API operation ListRealtimeContactAnalysisSegments for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The request is not valid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServiceException -// Request processing failed due to an error or failure with the service. +// - InternalServiceException +// Request processing failed due to an error or failure with the service. // -// * ThrottlingException -// The throttling limit has been exceeded. +// - ThrottlingException +// The throttling limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connect-contact-lens-2020-08-21/ListRealtimeContactAnalysisSegments func (c *ConnectContactLens) ListRealtimeContactAnalysisSegments(input *ListRealtimeContactAnalysisSegmentsInput) (*ListRealtimeContactAnalysisSegmentsOutput, error) { @@ -116,15 +116,14 @@ func (c *ConnectContactLens) ListRealtimeContactAnalysisSegmentsWithContext(ctx // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRealtimeContactAnalysisSegments operation. -// pageNum := 0 -// err := client.ListRealtimeContactAnalysisSegmentsPages(params, -// func(page *connectcontactlens.ListRealtimeContactAnalysisSegmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRealtimeContactAnalysisSegments operation. +// pageNum := 0 +// err := client.ListRealtimeContactAnalysisSegmentsPages(params, +// func(page *connectcontactlens.ListRealtimeContactAnalysisSegmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConnectContactLens) ListRealtimeContactAnalysisSegmentsPages(input *ListRealtimeContactAnalysisSegmentsInput, fn func(*ListRealtimeContactAnalysisSegmentsOutput, bool) bool) error { return c.ListRealtimeContactAnalysisSegmentsPagesWithContext(aws.BackgroundContext(), input, fn) } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/connectcontactlensiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/connectcontactlensiface/interface.go index 0c455681b432..01ad30fb60a3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/connectcontactlensiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/connectcontactlensiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Connect Contact Lens. -// func myFunc(svc connectcontactlensiface.ConnectContactLensAPI) bool { -// // Make svc.ListRealtimeContactAnalysisSegments request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Connect Contact Lens. +// func myFunc(svc connectcontactlensiface.ConnectContactLensAPI) bool { +// // Make svc.ListRealtimeContactAnalysisSegments request +// } // -// func main() { -// sess := session.New() -// svc := connectcontactlens.New(sess) +// func main() { +// sess := session.New() +// svc := connectcontactlens.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockConnectContactLensClient struct { -// connectcontactlensiface.ConnectContactLensAPI -// } -// func (m *mockConnectContactLensClient) ListRealtimeContactAnalysisSegments(input *connectcontactlens.ListRealtimeContactAnalysisSegmentsInput) (*connectcontactlens.ListRealtimeContactAnalysisSegmentsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockConnectContactLensClient struct { +// connectcontactlensiface.ConnectContactLensAPI +// } +// func (m *mockConnectContactLensClient) ListRealtimeContactAnalysisSegments(input *connectcontactlens.ListRealtimeContactAnalysisSegmentsInput) (*connectcontactlens.ListRealtimeContactAnalysisSegmentsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockConnectContactLensClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockConnectContactLensClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/doc.go index 803c7c1ff013..7fdee8dc73bc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/doc.go @@ -18,7 +18,7 @@ // See connectcontactlens package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/connectcontactlens/ // -// Using the Client +// # Using the Client // // To contact Amazon Connect Contact Lens with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/service.go index af547e51883e..405372f37e3a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectcontactlens/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ConnectContactLens client from just a session. -// svc := connectcontactlens.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ConnectContactLens client with additional configuration -// svc := connectcontactlens.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ConnectContactLens client from just a session. +// svc := connectcontactlens.New(mySession) +// +// // Create a ConnectContactLens client with additional configuration +// svc := connectcontactlens.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ConnectContactLens { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/api.go index 5bc98e08d4e8..7f06bf769cab 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/api.go @@ -28,14 +28,13 @@ const opCompleteAttachmentUpload = "CompleteAttachmentUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CompleteAttachmentUploadRequest method. +// req, resp := client.CompleteAttachmentUploadRequest(params) // -// // Example sending a request using the CompleteAttachmentUploadRequest method. -// req, resp := client.CompleteAttachmentUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CompleteAttachmentUpload func (c *ConnectParticipant) CompleteAttachmentUploadRequest(input *CompleteAttachmentUploadInput) (req *request.Request, output *CompleteAttachmentUploadOutput) { @@ -71,24 +70,25 @@ func (c *ConnectParticipant) CompleteAttachmentUploadRequest(input *CompleteAtta // API operation CompleteAttachmentUpload for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon Connect -// service. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon Connect +// service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by Amazon Connect. +// - ValidationException +// The input fails to satisfy the constraints specified by Amazon Connect. // -// * ServiceQuotaExceededException -// The number of attachments per contact exceeds the quota. +// - ServiceQuotaExceededException +// The number of attachments per contact exceeds the quota. // -// * ConflictException -// An attachment with that identifier is already being uploaded. +// - ConflictException +// An attachment with that identifier is already being uploaded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CompleteAttachmentUpload func (c *ConnectParticipant) CompleteAttachmentUpload(input *CompleteAttachmentUploadInput) (*CompleteAttachmentUploadOutput, error) { @@ -128,14 +128,13 @@ const opCreateParticipantConnection = "CreateParticipantConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateParticipantConnectionRequest method. +// req, resp := client.CreateParticipantConnectionRequest(params) // -// // Example sending a request using the CreateParticipantConnectionRequest method. -// req, resp := client.CreateParticipantConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CreateParticipantConnection func (c *ConnectParticipant) CreateParticipantConnectionRequest(input *CreateParticipantConnectionInput) (req *request.Request, output *CreateParticipantConnectionOutput) { @@ -198,18 +197,19 @@ func (c *ConnectParticipant) CreateParticipantConnectionRequest(input *CreatePar // API operation CreateParticipantConnection for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon Connect -// service. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon Connect +// service. // -// * ValidationException -// The input fails to satisfy the constraints specified by Amazon Connect. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by Amazon Connect. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/CreateParticipantConnection func (c *ConnectParticipant) CreateParticipantConnection(input *CreateParticipantConnectionInput) (*CreateParticipantConnectionOutput, error) { @@ -249,14 +249,13 @@ const opDisconnectParticipant = "DisconnectParticipant" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisconnectParticipantRequest method. +// req, resp := client.DisconnectParticipantRequest(params) // -// // Example sending a request using the DisconnectParticipantRequest method. -// req, resp := client.DisconnectParticipantRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/DisconnectParticipant func (c *ConnectParticipant) DisconnectParticipantRequest(input *DisconnectParticipantInput) (req *request.Request, output *DisconnectParticipantOutput) { @@ -292,18 +291,19 @@ func (c *ConnectParticipant) DisconnectParticipantRequest(input *DisconnectParti // API operation DisconnectParticipant for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon Connect -// service. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon Connect +// service. // -// * ValidationException -// The input fails to satisfy the constraints specified by Amazon Connect. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by Amazon Connect. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/DisconnectParticipant func (c *ConnectParticipant) DisconnectParticipant(input *DisconnectParticipantInput) (*DisconnectParticipantOutput, error) { @@ -343,14 +343,13 @@ const opGetAttachment = "GetAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAttachmentRequest method. +// req, resp := client.GetAttachmentRequest(params) // -// // Example sending a request using the GetAttachmentRequest method. -// req, resp := client.GetAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetAttachment func (c *ConnectParticipant) GetAttachmentRequest(input *GetAttachmentInput) (req *request.Request, output *GetAttachmentOutput) { @@ -385,18 +384,19 @@ func (c *ConnectParticipant) GetAttachmentRequest(input *GetAttachmentInput) (re // API operation GetAttachment for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon Connect -// service. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon Connect +// service. // -// * ValidationException -// The input fails to satisfy the constraints specified by Amazon Connect. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by Amazon Connect. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetAttachment func (c *ConnectParticipant) GetAttachment(input *GetAttachmentInput) (*GetAttachmentOutput, error) { @@ -436,14 +436,13 @@ const opGetTranscript = "GetTranscript" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTranscriptRequest method. +// req, resp := client.GetTranscriptRequest(params) // -// // Example sending a request using the GetTranscriptRequest method. -// req, resp := client.GetTranscriptRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetTranscript func (c *ConnectParticipant) GetTranscriptRequest(input *GetTranscriptInput) (req *request.Request, output *GetTranscriptOutput) { @@ -484,18 +483,19 @@ func (c *ConnectParticipant) GetTranscriptRequest(input *GetTranscriptInput) (re // API operation GetTranscript for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon Connect -// service. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon Connect +// service. // -// * ValidationException -// The input fails to satisfy the constraints specified by Amazon Connect. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by Amazon Connect. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/GetTranscript func (c *ConnectParticipant) GetTranscript(input *GetTranscriptInput) (*GetTranscriptOutput, error) { @@ -527,15 +527,14 @@ func (c *ConnectParticipant) GetTranscriptWithContext(ctx aws.Context, input *Ge // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTranscript operation. -// pageNum := 0 -// err := client.GetTranscriptPages(params, -// func(page *connectparticipant.GetTranscriptOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTranscript operation. +// pageNum := 0 +// err := client.GetTranscriptPages(params, +// func(page *connectparticipant.GetTranscriptOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConnectParticipant) GetTranscriptPages(input *GetTranscriptInput, fn func(*GetTranscriptOutput, bool) bool) error { return c.GetTranscriptPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -587,14 +586,13 @@ const opSendEvent = "SendEvent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendEventRequest method. +// req, resp := client.SendEventRequest(params) // -// // Example sending a request using the SendEventRequest method. -// req, resp := client.SendEventRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/SendEvent func (c *ConnectParticipant) SendEventRequest(input *SendEventInput) (req *request.Request, output *SendEventOutput) { @@ -629,18 +627,19 @@ func (c *ConnectParticipant) SendEventRequest(input *SendEventInput) (req *reque // API operation SendEvent for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon Connect -// service. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon Connect +// service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by Amazon Connect. +// - ValidationException +// The input fails to satisfy the constraints specified by Amazon Connect. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/SendEvent func (c *ConnectParticipant) SendEvent(input *SendEventInput) (*SendEventOutput, error) { @@ -680,14 +679,13 @@ const opSendMessage = "SendMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendMessageRequest method. +// req, resp := client.SendMessageRequest(params) // -// // Example sending a request using the SendMessageRequest method. -// req, resp := client.SendMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/SendMessage func (c *ConnectParticipant) SendMessageRequest(input *SendMessageInput) (req *request.Request, output *SendMessageOutput) { @@ -722,18 +720,19 @@ func (c *ConnectParticipant) SendMessageRequest(input *SendMessageInput) (req *r // API operation SendMessage for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon Connect -// service. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon Connect +// service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by Amazon Connect. +// - ValidationException +// The input fails to satisfy the constraints specified by Amazon Connect. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/SendMessage func (c *ConnectParticipant) SendMessage(input *SendMessageInput) (*SendMessageOutput, error) { @@ -773,14 +772,13 @@ const opStartAttachmentUpload = "StartAttachmentUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartAttachmentUploadRequest method. +// req, resp := client.StartAttachmentUploadRequest(params) // -// // Example sending a request using the StartAttachmentUploadRequest method. -// req, resp := client.StartAttachmentUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/StartAttachmentUpload func (c *ConnectParticipant) StartAttachmentUploadRequest(input *StartAttachmentUploadInput) (req *request.Request, output *StartAttachmentUploadOutput) { @@ -815,21 +813,22 @@ func (c *ConnectParticipant) StartAttachmentUploadRequest(input *StartAttachment // API operation StartAttachmentUpload for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon Connect -// service. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon Connect +// service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by Amazon Connect. +// - ValidationException +// The input fails to satisfy the constraints specified by Amazon Connect. // -// * ServiceQuotaExceededException -// The number of attachments per contact exceeds the quota. +// - ServiceQuotaExceededException +// The number of attachments per contact exceeds the quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/connectparticipant-2018-09-07/StartAttachmentUpload func (c *ConnectParticipant) StartAttachmentUpload(input *StartAttachmentUploadInput) (*StartAttachmentUploadOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/connectparticipantiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/connectparticipantiface/interface.go index 6c8a52850d5c..1974f4a04e22 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/connectparticipantiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/connectparticipantiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Connect Participant Service. -// func myFunc(svc connectparticipantiface.ConnectParticipantAPI) bool { -// // Make svc.CompleteAttachmentUpload request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Connect Participant Service. +// func myFunc(svc connectparticipantiface.ConnectParticipantAPI) bool { +// // Make svc.CompleteAttachmentUpload request +// } // -// func main() { -// sess := session.New() -// svc := connectparticipant.New(sess) +// func main() { +// sess := session.New() +// svc := connectparticipant.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockConnectParticipantClient struct { -// connectparticipantiface.ConnectParticipantAPI -// } -// func (m *mockConnectParticipantClient) CompleteAttachmentUpload(input *connectparticipant.CompleteAttachmentUploadInput) (*connectparticipant.CompleteAttachmentUploadOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockConnectParticipantClient struct { +// connectparticipantiface.ConnectParticipantAPI +// } +// func (m *mockConnectParticipantClient) CompleteAttachmentUpload(input *connectparticipant.CompleteAttachmentUploadInput) (*connectparticipant.CompleteAttachmentUploadOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockConnectParticipantClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockConnectParticipantClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/doc.go index 505f3ef091fc..bc546b88b80d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/doc.go @@ -17,7 +17,7 @@ // See connectparticipant package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/connectparticipant/ // -// Using the Client +// # Using the Client // // To contact Amazon Connect Participant Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/service.go index 0c315b9510bb..c499fd0f175a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectparticipant/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ConnectParticipant client from just a session. -// svc := connectparticipant.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ConnectParticipant client with additional configuration -// svc := connectparticipant.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ConnectParticipant client from just a session. +// svc := connectparticipant.New(mySession) +// +// // Create a ConnectParticipant client with additional configuration +// svc := connectparticipant.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ConnectParticipant { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/api.go index 6aed2b2c6c16..edc92377758a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/api.go @@ -29,14 +29,13 @@ const opCreateAssistant = "CreateAssistant" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAssistantRequest method. +// req, resp := client.CreateAssistantRequest(params) // -// // Example sending a request using the CreateAssistantRequest method. -// req, resp := client.CreateAssistantRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateAssistant func (c *ConnectWisdomService) CreateAssistantRequest(input *CreateAssistantInput) (req *request.Request, output *CreateAssistantOutput) { @@ -67,22 +66,23 @@ func (c *ConnectWisdomService) CreateAssistantRequest(input *CreateAssistantInpu // API operation CreateAssistant for usage and error information. // // Returned Error Types: -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. For example, if you're using a Create API (such as CreateAssistant) -// that accepts name, a conflicting resource (usually with the same name) is -// being created or mutated. // -// * ValidationException -// The input fails to satisfy the constraints specified by a service. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. For example, if you're using a Create API (such as CreateAssistant) +// that accepts name, a conflicting resource (usually with the same name) is +// being created or mutated. +// +// - ValidationException +// The input fails to satisfy the constraints specified by a service. // -// * ServiceQuotaExceededException -// You've exceeded your service quota. To perform the requested action, remove -// some of the relevant resources, or use service quotas to request a service -// quota increase. +// - ServiceQuotaExceededException +// You've exceeded your service quota. To perform the requested action, remove +// some of the relevant resources, or use service quotas to request a service +// quota increase. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateAssistant func (c *ConnectWisdomService) CreateAssistant(input *CreateAssistantInput) (*CreateAssistantOutput, error) { @@ -122,14 +122,13 @@ const opCreateAssistantAssociation = "CreateAssistantAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAssistantAssociationRequest method. +// req, resp := client.CreateAssistantAssociationRequest(params) // -// // Example sending a request using the CreateAssistantAssociationRequest method. -// req, resp := client.CreateAssistantAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateAssistantAssociation func (c *ConnectWisdomService) CreateAssistantAssociationRequest(input *CreateAssistantAssociationInput) (req *request.Request, output *CreateAssistantAssociationOutput) { @@ -162,25 +161,26 @@ func (c *ConnectWisdomService) CreateAssistantAssociationRequest(input *CreateAs // API operation CreateAssistantAssociation for usage and error information. // // Returned Error Types: -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. For example, if you're using a Create API (such as CreateAssistant) -// that accepts name, a conflicting resource (usually with the same name) is -// being created or mutated. // -// * ValidationException -// The input fails to satisfy the constraints specified by a service. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. For example, if you're using a Create API (such as CreateAssistant) +// that accepts name, a conflicting resource (usually with the same name) is +// being created or mutated. // -// * ServiceQuotaExceededException -// You've exceeded your service quota. To perform the requested action, remove -// some of the relevant resources, or use service quotas to request a service -// quota increase. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceQuotaExceededException +// You've exceeded your service quota. To perform the requested action, remove +// some of the relevant resources, or use service quotas to request a service +// quota increase. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateAssistantAssociation func (c *ConnectWisdomService) CreateAssistantAssociation(input *CreateAssistantAssociationInput) (*CreateAssistantAssociationOutput, error) { @@ -220,14 +220,13 @@ const opCreateContent = "CreateContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateContentRequest method. +// req, resp := client.CreateContentRequest(params) // -// // Example sending a request using the CreateContentRequest method. -// req, resp := client.CreateContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateContent func (c *ConnectWisdomService) CreateContentRequest(input *CreateContentInput) (req *request.Request, output *CreateContentOutput) { @@ -260,25 +259,26 @@ func (c *ConnectWisdomService) CreateContentRequest(input *CreateContentInput) ( // API operation CreateContent for usage and error information. // // Returned Error Types: -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. For example, if you're using a Create API (such as CreateAssistant) -// that accepts name, a conflicting resource (usually with the same name) is -// being created or mutated. // -// * ValidationException -// The input fails to satisfy the constraints specified by a service. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. For example, if you're using a Create API (such as CreateAssistant) +// that accepts name, a conflicting resource (usually with the same name) is +// being created or mutated. // -// * ServiceQuotaExceededException -// You've exceeded your service quota. To perform the requested action, remove -// some of the relevant resources, or use service quotas to request a service -// quota increase. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceQuotaExceededException +// You've exceeded your service quota. To perform the requested action, remove +// some of the relevant resources, or use service quotas to request a service +// quota increase. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateContent func (c *ConnectWisdomService) CreateContent(input *CreateContentInput) (*CreateContentOutput, error) { @@ -318,14 +318,13 @@ const opCreateKnowledgeBase = "CreateKnowledgeBase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateKnowledgeBaseRequest method. +// req, resp := client.CreateKnowledgeBaseRequest(params) // -// // Example sending a request using the CreateKnowledgeBaseRequest method. -// req, resp := client.CreateKnowledgeBaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateKnowledgeBase func (c *ConnectWisdomService) CreateKnowledgeBaseRequest(input *CreateKnowledgeBaseInput) (req *request.Request, output *CreateKnowledgeBaseOutput) { @@ -352,13 +351,13 @@ func (c *ConnectWisdomService) CreateKnowledgeBaseRequest(input *CreateKnowledge // DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. // If you do, you'll get an InvalidRequestException error. // -//

For example, you're programmatically managing your external knowledge -// base, and you want to add or remove one of the fields that is being ingested -// from Salesforce. Do the following:

  1. Call DeleteKnowledgeBase.

    -//
  2. Call DeleteDataIntegration.

    -//
  3. Call CreateDataIntegration -// to recreate the DataIntegration or a create different one.

  4. -//

    Call CreateKnowledgeBase.

+//

For example, you're programmatically managing your external knowledge +// base, and you want to add or remove one of the fields that is being ingested +// from Salesforce. Do the following:

  1. Call DeleteKnowledgeBase.

    +//
  2. Call DeleteDataIntegration.

    +//
  3. Call CreateDataIntegration +// to recreate the DataIntegration or a create different one.

  4. +//

    Call CreateKnowledgeBase.

// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -368,22 +367,23 @@ func (c *ConnectWisdomService) CreateKnowledgeBaseRequest(input *CreateKnowledge // API operation CreateKnowledgeBase for usage and error information. // // Returned Error Types: -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. For example, if you're using a Create API (such as CreateAssistant) -// that accepts name, a conflicting resource (usually with the same name) is -// being created or mutated. // -// * ValidationException -// The input fails to satisfy the constraints specified by a service. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. For example, if you're using a Create API (such as CreateAssistant) +// that accepts name, a conflicting resource (usually with the same name) is +// being created or mutated. // -// * ServiceQuotaExceededException -// You've exceeded your service quota. To perform the requested action, remove -// some of the relevant resources, or use service quotas to request a service -// quota increase. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceQuotaExceededException +// You've exceeded your service quota. To perform the requested action, remove +// some of the relevant resources, or use service quotas to request a service +// quota increase. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateKnowledgeBase func (c *ConnectWisdomService) CreateKnowledgeBase(input *CreateKnowledgeBaseInput) (*CreateKnowledgeBaseOutput, error) { @@ -423,14 +423,13 @@ const opCreateSession = "CreateSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSessionRequest method. +// req, resp := client.CreateSessionRequest(params) // -// // Example sending a request using the CreateSessionRequest method. -// req, resp := client.CreateSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateSession func (c *ConnectWisdomService) CreateSessionRequest(input *CreateSessionInput) (req *request.Request, output *CreateSessionOutput) { @@ -463,17 +462,18 @@ func (c *ConnectWisdomService) CreateSessionRequest(input *CreateSessionInput) ( // API operation CreateSession for usage and error information. // // Returned Error Types: -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. For example, if you're using a Create API (such as CreateAssistant) -// that accepts name, a conflicting resource (usually with the same name) is -// being created or mutated. // -// * ValidationException -// The input fails to satisfy the constraints specified by a service. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. For example, if you're using a Create API (such as CreateAssistant) +// that accepts name, a conflicting resource (usually with the same name) is +// being created or mutated. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/CreateSession func (c *ConnectWisdomService) CreateSession(input *CreateSessionInput) (*CreateSessionOutput, error) { @@ -513,14 +513,13 @@ const opDeleteAssistant = "DeleteAssistant" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAssistantRequest method. +// req, resp := client.DeleteAssistantRequest(params) // -// // Example sending a request using the DeleteAssistantRequest method. -// req, resp := client.DeleteAssistantRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteAssistant func (c *ConnectWisdomService) DeleteAssistantRequest(input *DeleteAssistantInput) (req *request.Request, output *DeleteAssistantOutput) { @@ -552,14 +551,15 @@ func (c *ConnectWisdomService) DeleteAssistantRequest(input *DeleteAssistantInpu // API operation DeleteAssistant for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteAssistant func (c *ConnectWisdomService) DeleteAssistant(input *DeleteAssistantInput) (*DeleteAssistantOutput, error) { @@ -599,14 +599,13 @@ const opDeleteAssistantAssociation = "DeleteAssistantAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAssistantAssociationRequest method. +// req, resp := client.DeleteAssistantAssociationRequest(params) // -// // Example sending a request using the DeleteAssistantAssociationRequest method. -// req, resp := client.DeleteAssistantAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteAssistantAssociation func (c *ConnectWisdomService) DeleteAssistantAssociationRequest(input *DeleteAssistantAssociationInput) (req *request.Request, output *DeleteAssistantAssociationOutput) { @@ -638,14 +637,15 @@ func (c *ConnectWisdomService) DeleteAssistantAssociationRequest(input *DeleteAs // API operation DeleteAssistantAssociation for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteAssistantAssociation func (c *ConnectWisdomService) DeleteAssistantAssociation(input *DeleteAssistantAssociationInput) (*DeleteAssistantAssociationOutput, error) { @@ -685,14 +685,13 @@ const opDeleteContent = "DeleteContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteContentRequest method. +// req, resp := client.DeleteContentRequest(params) // -// // Example sending a request using the DeleteContentRequest method. -// req, resp := client.DeleteContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteContent func (c *ConnectWisdomService) DeleteContentRequest(input *DeleteContentInput) (req *request.Request, output *DeleteContentOutput) { @@ -724,14 +723,15 @@ func (c *ConnectWisdomService) DeleteContentRequest(input *DeleteContentInput) ( // API operation DeleteContent for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteContent func (c *ConnectWisdomService) DeleteContent(input *DeleteContentInput) (*DeleteContentOutput, error) { @@ -771,14 +771,13 @@ const opDeleteKnowledgeBase = "DeleteKnowledgeBase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteKnowledgeBaseRequest method. +// req, resp := client.DeleteKnowledgeBaseRequest(params) // -// // Example sending a request using the DeleteKnowledgeBaseRequest method. -// req, resp := client.DeleteKnowledgeBaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteKnowledgeBase func (c *ConnectWisdomService) DeleteKnowledgeBaseRequest(input *DeleteKnowledgeBaseInput) (req *request.Request, output *DeleteKnowledgeBaseOutput) { @@ -818,20 +817,21 @@ func (c *ConnectWisdomService) DeleteKnowledgeBaseRequest(input *DeleteKnowledge // API operation DeleteKnowledgeBase for usage and error information. // // Returned Error Types: -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. For example, if you're using a Create API (such as CreateAssistant) -// that accepts name, a conflicting resource (usually with the same name) is -// being created or mutated. // -// * ValidationException -// The input fails to satisfy the constraints specified by a service. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. For example, if you're using a Create API (such as CreateAssistant) +// that accepts name, a conflicting resource (usually with the same name) is +// being created or mutated. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/DeleteKnowledgeBase func (c *ConnectWisdomService) DeleteKnowledgeBase(input *DeleteKnowledgeBaseInput) (*DeleteKnowledgeBaseOutput, error) { @@ -871,14 +871,13 @@ const opGetAssistant = "GetAssistant" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssistantRequest method. +// req, resp := client.GetAssistantRequest(params) // -// // Example sending a request using the GetAssistantRequest method. -// req, resp := client.GetAssistantRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetAssistant func (c *ConnectWisdomService) GetAssistantRequest(input *GetAssistantInput) (req *request.Request, output *GetAssistantOutput) { @@ -909,14 +908,15 @@ func (c *ConnectWisdomService) GetAssistantRequest(input *GetAssistantInput) (re // API operation GetAssistant for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetAssistant func (c *ConnectWisdomService) GetAssistant(input *GetAssistantInput) (*GetAssistantOutput, error) { @@ -956,14 +956,13 @@ const opGetAssistantAssociation = "GetAssistantAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssistantAssociationRequest method. +// req, resp := client.GetAssistantAssociationRequest(params) // -// // Example sending a request using the GetAssistantAssociationRequest method. -// req, resp := client.GetAssistantAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetAssistantAssociation func (c *ConnectWisdomService) GetAssistantAssociationRequest(input *GetAssistantAssociationInput) (req *request.Request, output *GetAssistantAssociationOutput) { @@ -994,14 +993,15 @@ func (c *ConnectWisdomService) GetAssistantAssociationRequest(input *GetAssistan // API operation GetAssistantAssociation for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetAssistantAssociation func (c *ConnectWisdomService) GetAssistantAssociation(input *GetAssistantAssociationInput) (*GetAssistantAssociationOutput, error) { @@ -1041,14 +1041,13 @@ const opGetContent = "GetContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContentRequest method. +// req, resp := client.GetContentRequest(params) // -// // Example sending a request using the GetContentRequest method. -// req, resp := client.GetContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetContent func (c *ConnectWisdomService) GetContentRequest(input *GetContentInput) (req *request.Request, output *GetContentOutput) { @@ -1079,14 +1078,15 @@ func (c *ConnectWisdomService) GetContentRequest(input *GetContentInput) (req *r // API operation GetContent for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetContent func (c *ConnectWisdomService) GetContent(input *GetContentInput) (*GetContentOutput, error) { @@ -1126,14 +1126,13 @@ const opGetContentSummary = "GetContentSummary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContentSummaryRequest method. +// req, resp := client.GetContentSummaryRequest(params) // -// // Example sending a request using the GetContentSummaryRequest method. -// req, resp := client.GetContentSummaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetContentSummary func (c *ConnectWisdomService) GetContentSummaryRequest(input *GetContentSummaryInput) (req *request.Request, output *GetContentSummaryOutput) { @@ -1164,14 +1163,15 @@ func (c *ConnectWisdomService) GetContentSummaryRequest(input *GetContentSummary // API operation GetContentSummary for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetContentSummary func (c *ConnectWisdomService) GetContentSummary(input *GetContentSummaryInput) (*GetContentSummaryOutput, error) { @@ -1211,14 +1211,13 @@ const opGetKnowledgeBase = "GetKnowledgeBase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetKnowledgeBaseRequest method. +// req, resp := client.GetKnowledgeBaseRequest(params) // -// // Example sending a request using the GetKnowledgeBaseRequest method. -// req, resp := client.GetKnowledgeBaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetKnowledgeBase func (c *ConnectWisdomService) GetKnowledgeBaseRequest(input *GetKnowledgeBaseInput) (req *request.Request, output *GetKnowledgeBaseOutput) { @@ -1249,14 +1248,15 @@ func (c *ConnectWisdomService) GetKnowledgeBaseRequest(input *GetKnowledgeBaseIn // API operation GetKnowledgeBase for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetKnowledgeBase func (c *ConnectWisdomService) GetKnowledgeBase(input *GetKnowledgeBaseInput) (*GetKnowledgeBaseOutput, error) { @@ -1296,14 +1296,13 @@ const opGetRecommendations = "GetRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRecommendationsRequest method. +// req, resp := client.GetRecommendationsRequest(params) // -// // Example sending a request using the GetRecommendationsRequest method. -// req, resp := client.GetRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetRecommendations func (c *ConnectWisdomService) GetRecommendationsRequest(input *GetRecommendationsInput) (req *request.Request, output *GetRecommendationsOutput) { @@ -1340,14 +1339,15 @@ func (c *ConnectWisdomService) GetRecommendationsRequest(input *GetRecommendatio // API operation GetRecommendations for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetRecommendations func (c *ConnectWisdomService) GetRecommendations(input *GetRecommendationsInput) (*GetRecommendationsOutput, error) { @@ -1387,14 +1387,13 @@ const opGetSession = "GetSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSessionRequest method. +// req, resp := client.GetSessionRequest(params) // -// // Example sending a request using the GetSessionRequest method. -// req, resp := client.GetSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetSession func (c *ConnectWisdomService) GetSessionRequest(input *GetSessionInput) (req *request.Request, output *GetSessionOutput) { @@ -1425,14 +1424,15 @@ func (c *ConnectWisdomService) GetSessionRequest(input *GetSessionInput) (req *r // API operation GetSession for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/GetSession func (c *ConnectWisdomService) GetSession(input *GetSessionInput) (*GetSessionOutput, error) { @@ -1472,14 +1472,13 @@ const opListAssistantAssociations = "ListAssistantAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssistantAssociationsRequest method. +// req, resp := client.ListAssistantAssociationsRequest(params) // -// // Example sending a request using the ListAssistantAssociationsRequest method. -// req, resp := client.ListAssistantAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListAssistantAssociations func (c *ConnectWisdomService) ListAssistantAssociationsRequest(input *ListAssistantAssociationsInput) (req *request.Request, output *ListAssistantAssociationsOutput) { @@ -1516,14 +1515,15 @@ func (c *ConnectWisdomService) ListAssistantAssociationsRequest(input *ListAssis // API operation ListAssistantAssociations for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListAssistantAssociations func (c *ConnectWisdomService) ListAssistantAssociations(input *ListAssistantAssociationsInput) (*ListAssistantAssociationsOutput, error) { @@ -1555,15 +1555,14 @@ func (c *ConnectWisdomService) ListAssistantAssociationsWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssistantAssociations operation. -// pageNum := 0 -// err := client.ListAssistantAssociationsPages(params, -// func(page *connectwisdomservice.ListAssistantAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssistantAssociations operation. +// pageNum := 0 +// err := client.ListAssistantAssociationsPages(params, +// func(page *connectwisdomservice.ListAssistantAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConnectWisdomService) ListAssistantAssociationsPages(input *ListAssistantAssociationsInput, fn func(*ListAssistantAssociationsOutput, bool) bool) error { return c.ListAssistantAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1615,14 +1614,13 @@ const opListAssistants = "ListAssistants" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssistantsRequest method. +// req, resp := client.ListAssistantsRequest(params) // -// // Example sending a request using the ListAssistantsRequest method. -// req, resp := client.ListAssistantsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListAssistants func (c *ConnectWisdomService) ListAssistantsRequest(input *ListAssistantsInput) (req *request.Request, output *ListAssistantsOutput) { @@ -1659,11 +1657,12 @@ func (c *ConnectWisdomService) ListAssistantsRequest(input *ListAssistantsInput) // API operation ListAssistants for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListAssistants func (c *ConnectWisdomService) ListAssistants(input *ListAssistantsInput) (*ListAssistantsOutput, error) { @@ -1695,15 +1694,14 @@ func (c *ConnectWisdomService) ListAssistantsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssistants operation. -// pageNum := 0 -// err := client.ListAssistantsPages(params, -// func(page *connectwisdomservice.ListAssistantsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssistants operation. +// pageNum := 0 +// err := client.ListAssistantsPages(params, +// func(page *connectwisdomservice.ListAssistantsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConnectWisdomService) ListAssistantsPages(input *ListAssistantsInput, fn func(*ListAssistantsOutput, bool) bool) error { return c.ListAssistantsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1755,14 +1753,13 @@ const opListContents = "ListContents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListContentsRequest method. +// req, resp := client.ListContentsRequest(params) // -// // Example sending a request using the ListContentsRequest method. -// req, resp := client.ListContentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListContents func (c *ConnectWisdomService) ListContentsRequest(input *ListContentsInput) (req *request.Request, output *ListContentsOutput) { @@ -1799,14 +1796,15 @@ func (c *ConnectWisdomService) ListContentsRequest(input *ListContentsInput) (re // API operation ListContents for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListContents func (c *ConnectWisdomService) ListContents(input *ListContentsInput) (*ListContentsOutput, error) { @@ -1838,15 +1836,14 @@ func (c *ConnectWisdomService) ListContentsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListContents operation. -// pageNum := 0 -// err := client.ListContentsPages(params, -// func(page *connectwisdomservice.ListContentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListContents operation. +// pageNum := 0 +// err := client.ListContentsPages(params, +// func(page *connectwisdomservice.ListContentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConnectWisdomService) ListContentsPages(input *ListContentsInput, fn func(*ListContentsOutput, bool) bool) error { return c.ListContentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1898,14 +1895,13 @@ const opListKnowledgeBases = "ListKnowledgeBases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListKnowledgeBasesRequest method. +// req, resp := client.ListKnowledgeBasesRequest(params) // -// // Example sending a request using the ListKnowledgeBasesRequest method. -// req, resp := client.ListKnowledgeBasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListKnowledgeBases func (c *ConnectWisdomService) ListKnowledgeBasesRequest(input *ListKnowledgeBasesInput) (req *request.Request, output *ListKnowledgeBasesOutput) { @@ -1942,11 +1938,12 @@ func (c *ConnectWisdomService) ListKnowledgeBasesRequest(input *ListKnowledgeBas // API operation ListKnowledgeBases for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListKnowledgeBases func (c *ConnectWisdomService) ListKnowledgeBases(input *ListKnowledgeBasesInput) (*ListKnowledgeBasesOutput, error) { @@ -1978,15 +1975,14 @@ func (c *ConnectWisdomService) ListKnowledgeBasesWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListKnowledgeBases operation. -// pageNum := 0 -// err := client.ListKnowledgeBasesPages(params, -// func(page *connectwisdomservice.ListKnowledgeBasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListKnowledgeBases operation. +// pageNum := 0 +// err := client.ListKnowledgeBasesPages(params, +// func(page *connectwisdomservice.ListKnowledgeBasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConnectWisdomService) ListKnowledgeBasesPages(input *ListKnowledgeBasesInput, fn func(*ListKnowledgeBasesOutput, bool) bool) error { return c.ListKnowledgeBasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2038,14 +2034,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListTagsForResource func (c *ConnectWisdomService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2076,8 +2071,8 @@ func (c *ConnectWisdomService) ListTagsForResourceRequest(input *ListTagsForReso // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/ListTagsForResource func (c *ConnectWisdomService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2117,14 +2112,13 @@ const opNotifyRecommendationsReceived = "NotifyRecommendationsReceived" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the NotifyRecommendationsReceivedRequest method. +// req, resp := client.NotifyRecommendationsReceivedRequest(params) // -// // Example sending a request using the NotifyRecommendationsReceivedRequest method. -// req, resp := client.NotifyRecommendationsReceivedRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/NotifyRecommendationsReceived func (c *ConnectWisdomService) NotifyRecommendationsReceivedRequest(input *NotifyRecommendationsReceivedInput) (req *request.Request, output *NotifyRecommendationsReceivedOutput) { @@ -2159,14 +2153,15 @@ func (c *ConnectWisdomService) NotifyRecommendationsReceivedRequest(input *Notif // API operation NotifyRecommendationsReceived for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/NotifyRecommendationsReceived func (c *ConnectWisdomService) NotifyRecommendationsReceived(input *NotifyRecommendationsReceivedInput) (*NotifyRecommendationsReceivedOutput, error) { @@ -2206,14 +2201,13 @@ const opQueryAssistant = "QueryAssistant" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the QueryAssistantRequest method. +// req, resp := client.QueryAssistantRequest(params) // -// // Example sending a request using the QueryAssistantRequest method. -// req, resp := client.QueryAssistantRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/QueryAssistant func (c *ConnectWisdomService) QueryAssistantRequest(input *QueryAssistantInput) (req *request.Request, output *QueryAssistantOutput) { @@ -2251,14 +2245,15 @@ func (c *ConnectWisdomService) QueryAssistantRequest(input *QueryAssistantInput) // API operation QueryAssistant for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/QueryAssistant func (c *ConnectWisdomService) QueryAssistant(input *QueryAssistantInput) (*QueryAssistantOutput, error) { @@ -2290,15 +2285,14 @@ func (c *ConnectWisdomService) QueryAssistantWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a QueryAssistant operation. -// pageNum := 0 -// err := client.QueryAssistantPages(params, -// func(page *connectwisdomservice.QueryAssistantOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a QueryAssistant operation. +// pageNum := 0 +// err := client.QueryAssistantPages(params, +// func(page *connectwisdomservice.QueryAssistantOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConnectWisdomService) QueryAssistantPages(input *QueryAssistantInput, fn func(*QueryAssistantOutput, bool) bool) error { return c.QueryAssistantPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2350,14 +2344,13 @@ const opRemoveKnowledgeBaseTemplateUri = "RemoveKnowledgeBaseTemplateUri" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveKnowledgeBaseTemplateUriRequest method. +// req, resp := client.RemoveKnowledgeBaseTemplateUriRequest(params) // -// // Example sending a request using the RemoveKnowledgeBaseTemplateUriRequest method. -// req, resp := client.RemoveKnowledgeBaseTemplateUriRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/RemoveKnowledgeBaseTemplateUri func (c *ConnectWisdomService) RemoveKnowledgeBaseTemplateUriRequest(input *RemoveKnowledgeBaseTemplateUriInput) (req *request.Request, output *RemoveKnowledgeBaseTemplateUriOutput) { @@ -2389,14 +2382,15 @@ func (c *ConnectWisdomService) RemoveKnowledgeBaseTemplateUriRequest(input *Remo // API operation RemoveKnowledgeBaseTemplateUri for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/RemoveKnowledgeBaseTemplateUri func (c *ConnectWisdomService) RemoveKnowledgeBaseTemplateUri(input *RemoveKnowledgeBaseTemplateUriInput) (*RemoveKnowledgeBaseTemplateUriOutput, error) { @@ -2436,14 +2430,13 @@ const opSearchContent = "SearchContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchContentRequest method. +// req, resp := client.SearchContentRequest(params) // -// // Example sending a request using the SearchContentRequest method. -// req, resp := client.SearchContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/SearchContent func (c *ConnectWisdomService) SearchContentRequest(input *SearchContentInput) (req *request.Request, output *SearchContentOutput) { @@ -2481,14 +2474,15 @@ func (c *ConnectWisdomService) SearchContentRequest(input *SearchContentInput) ( // API operation SearchContent for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/SearchContent func (c *ConnectWisdomService) SearchContent(input *SearchContentInput) (*SearchContentOutput, error) { @@ -2520,15 +2514,14 @@ func (c *ConnectWisdomService) SearchContentWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchContent operation. -// pageNum := 0 -// err := client.SearchContentPages(params, -// func(page *connectwisdomservice.SearchContentOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchContent operation. +// pageNum := 0 +// err := client.SearchContentPages(params, +// func(page *connectwisdomservice.SearchContentOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConnectWisdomService) SearchContentPages(input *SearchContentInput, fn func(*SearchContentOutput, bool) bool) error { return c.SearchContentPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2580,14 +2573,13 @@ const opSearchSessions = "SearchSessions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchSessionsRequest method. +// req, resp := client.SearchSessionsRequest(params) // -// // Example sending a request using the SearchSessionsRequest method. -// req, resp := client.SearchSessionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/SearchSessions func (c *ConnectWisdomService) SearchSessionsRequest(input *SearchSessionsInput) (req *request.Request, output *SearchSessionsOutput) { @@ -2624,14 +2616,15 @@ func (c *ConnectWisdomService) SearchSessionsRequest(input *SearchSessionsInput) // API operation SearchSessions for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/SearchSessions func (c *ConnectWisdomService) SearchSessions(input *SearchSessionsInput) (*SearchSessionsOutput, error) { @@ -2663,15 +2656,14 @@ func (c *ConnectWisdomService) SearchSessionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchSessions operation. -// pageNum := 0 -// err := client.SearchSessionsPages(params, -// func(page *connectwisdomservice.SearchSessionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchSessions operation. +// pageNum := 0 +// err := client.SearchSessionsPages(params, +// func(page *connectwisdomservice.SearchSessionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ConnectWisdomService) SearchSessionsPages(input *SearchSessionsInput, fn func(*SearchSessionsOutput, bool) bool) error { return c.SearchSessionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2723,14 +2715,13 @@ const opStartContentUpload = "StartContentUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartContentUploadRequest method. +// req, resp := client.StartContentUploadRequest(params) // -// // Example sending a request using the StartContentUploadRequest method. -// req, resp := client.StartContentUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/StartContentUpload func (c *ConnectWisdomService) StartContentUploadRequest(input *StartContentUploadInput) (req *request.Request, output *StartContentUploadOutput) { @@ -2766,14 +2757,15 @@ func (c *ConnectWisdomService) StartContentUploadRequest(input *StartContentUplo // API operation StartContentUpload for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/StartContentUpload func (c *ConnectWisdomService) StartContentUpload(input *StartContentUploadInput) (*StartContentUploadOutput, error) { @@ -2813,14 +2805,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/TagResource func (c *ConnectWisdomService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2852,12 +2843,13 @@ func (c *ConnectWisdomService) TagResourceRequest(input *TagResourceInput) (req // API operation TagResource for usage and error information. // // Returned Error Types: -// * TooManyTagsException -// Amazon Connect Wisdom throws this exception if you have too many tags in -// your tag set. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - TooManyTagsException +// Amazon Connect Wisdom throws this exception if you have too many tags in +// your tag set. +// +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/TagResource func (c *ConnectWisdomService) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2897,14 +2889,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/UntagResource func (c *ConnectWisdomService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2936,8 +2927,8 @@ func (c *ConnectWisdomService) UntagResourceRequest(input *UntagResourceInput) ( // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/UntagResource func (c *ConnectWisdomService) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2977,14 +2968,13 @@ const opUpdateContent = "UpdateContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContentRequest method. +// req, resp := client.UpdateContentRequest(params) // -// // Example sending a request using the UpdateContentRequest method. -// req, resp := client.UpdateContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/UpdateContent func (c *ConnectWisdomService) UpdateContentRequest(input *UpdateContentInput) (req *request.Request, output *UpdateContentOutput) { @@ -3015,18 +3005,19 @@ func (c *ConnectWisdomService) UpdateContentRequest(input *UpdateContentInput) ( // API operation UpdateContent for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * PreconditionFailedException -// The provided revisionId does not match, indicating the content has been modified -// since it was last read. +// - PreconditionFailedException +// The provided revisionId does not match, indicating the content has been modified +// since it was last read. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/UpdateContent func (c *ConnectWisdomService) UpdateContent(input *UpdateContentInput) (*UpdateContentOutput, error) { @@ -3066,14 +3057,13 @@ const opUpdateKnowledgeBaseTemplateUri = "UpdateKnowledgeBaseTemplateUri" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateKnowledgeBaseTemplateUriRequest method. +// req, resp := client.UpdateKnowledgeBaseTemplateUriRequest(params) // -// // Example sending a request using the UpdateKnowledgeBaseTemplateUriRequest method. -// req, resp := client.UpdateKnowledgeBaseTemplateUriRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/UpdateKnowledgeBaseTemplateUri func (c *ConnectWisdomService) UpdateKnowledgeBaseTemplateUriRequest(input *UpdateKnowledgeBaseTemplateUriInput) (req *request.Request, output *UpdateKnowledgeBaseTemplateUriOutput) { @@ -3108,14 +3098,15 @@ func (c *ConnectWisdomService) UpdateKnowledgeBaseTemplateUriRequest(input *Upda // API operation UpdateKnowledgeBaseTemplateUri for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by a service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by a service. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wisdom-2020-10-19/UpdateKnowledgeBaseTemplateUri func (c *ConnectWisdomService) UpdateKnowledgeBaseTemplateUri(input *UpdateKnowledgeBaseTemplateUriInput) (*UpdateKnowledgeBaseTemplateUriOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/connectwisdomserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/connectwisdomserviceiface/interface.go index bc29770894d4..111de99dd36e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/connectwisdomserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/connectwisdomserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Connect Wisdom Service. -// func myFunc(svc connectwisdomserviceiface.ConnectWisdomServiceAPI) bool { -// // Make svc.CreateAssistant request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Connect Wisdom Service. +// func myFunc(svc connectwisdomserviceiface.ConnectWisdomServiceAPI) bool { +// // Make svc.CreateAssistant request +// } // -// func main() { -// sess := session.New() -// svc := connectwisdomservice.New(sess) +// func main() { +// sess := session.New() +// svc := connectwisdomservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockConnectWisdomServiceClient struct { -// connectwisdomserviceiface.ConnectWisdomServiceAPI -// } -// func (m *mockConnectWisdomServiceClient) CreateAssistant(input *connectwisdomservice.CreateAssistantInput) (*connectwisdomservice.CreateAssistantOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockConnectWisdomServiceClient struct { +// connectwisdomserviceiface.ConnectWisdomServiceAPI +// } +// func (m *mockConnectWisdomServiceClient) CreateAssistant(input *connectwisdomservice.CreateAssistantInput) (*connectwisdomservice.CreateAssistantOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockConnectWisdomServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockConnectWisdomServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/doc.go index 281ca51bc83e..b56039ee2b6b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/doc.go @@ -14,7 +14,7 @@ // See connectwisdomservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/connectwisdomservice/ // -// Using the Client +// # Using the Client // // To contact Amazon Connect Wisdom Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/service.go index 6a6226f16b14..c04177ad91d7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/connectwisdomservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ConnectWisdomService client from just a session. -// svc := connectwisdomservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ConnectWisdomService client with additional configuration -// svc := connectwisdomservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ConnectWisdomService client from just a session. +// svc := connectwisdomservice.New(mySession) +// +// // Create a ConnectWisdomService client with additional configuration +// svc := connectwisdomservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ConnectWisdomService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/api.go index a16b7f28ddc1..728a18506f28 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/api.go @@ -28,14 +28,13 @@ const opDeleteReportDefinition = "DeleteReportDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReportDefinitionRequest method. +// req, resp := client.DeleteReportDefinitionRequest(params) // -// // Example sending a request using the DeleteReportDefinitionRequest method. -// req, resp := client.DeleteReportDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/DeleteReportDefinition func (c *CostandUsageReportService) DeleteReportDefinitionRequest(input *DeleteReportDefinitionInput) (req *request.Request, output *DeleteReportDefinitionOutput) { @@ -66,12 +65,13 @@ func (c *CostandUsageReportService) DeleteReportDefinitionRequest(input *DeleteR // API operation DeleteReportDefinition for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/DeleteReportDefinition func (c *CostandUsageReportService) DeleteReportDefinition(input *DeleteReportDefinitionInput) (*DeleteReportDefinitionOutput, error) { @@ -111,14 +111,13 @@ const opDescribeReportDefinitions = "DescribeReportDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReportDefinitionsRequest method. +// req, resp := client.DescribeReportDefinitionsRequest(params) // -// // Example sending a request using the DescribeReportDefinitionsRequest method. -// req, resp := client.DescribeReportDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/DescribeReportDefinitions func (c *CostandUsageReportService) DescribeReportDefinitionsRequest(input *DescribeReportDefinitionsInput) (req *request.Request, output *DescribeReportDefinitionsOutput) { @@ -155,9 +154,9 @@ func (c *CostandUsageReportService) DescribeReportDefinitionsRequest(input *Desc // API operation DescribeReportDefinitions for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/DescribeReportDefinitions func (c *CostandUsageReportService) DescribeReportDefinitions(input *DescribeReportDefinitionsInput) (*DescribeReportDefinitionsOutput, error) { @@ -189,15 +188,14 @@ func (c *CostandUsageReportService) DescribeReportDefinitionsWithContext(ctx aws // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReportDefinitions operation. -// pageNum := 0 -// err := client.DescribeReportDefinitionsPages(params, -// func(page *costandusagereportservice.DescribeReportDefinitionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReportDefinitions operation. +// pageNum := 0 +// err := client.DescribeReportDefinitionsPages(params, +// func(page *costandusagereportservice.DescribeReportDefinitionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CostandUsageReportService) DescribeReportDefinitionsPages(input *DescribeReportDefinitionsInput, fn func(*DescribeReportDefinitionsOutput, bool) bool) error { return c.DescribeReportDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -249,14 +247,13 @@ const opModifyReportDefinition = "ModifyReportDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyReportDefinitionRequest method. +// req, resp := client.ModifyReportDefinitionRequest(params) // -// // Example sending a request using the ModifyReportDefinitionRequest method. -// req, resp := client.ModifyReportDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/ModifyReportDefinition func (c *CostandUsageReportService) ModifyReportDefinitionRequest(input *ModifyReportDefinitionInput) (req *request.Request, output *ModifyReportDefinitionOutput) { @@ -288,12 +285,13 @@ func (c *CostandUsageReportService) ModifyReportDefinitionRequest(input *ModifyR // API operation ModifyReportDefinition for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/ModifyReportDefinition func (c *CostandUsageReportService) ModifyReportDefinition(input *ModifyReportDefinitionInput) (*ModifyReportDefinitionOutput, error) { @@ -333,14 +331,13 @@ const opPutReportDefinition = "PutReportDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutReportDefinitionRequest method. +// req, resp := client.PutReportDefinitionRequest(params) // -// // Example sending a request using the PutReportDefinitionRequest method. -// req, resp := client.PutReportDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/PutReportDefinition func (c *CostandUsageReportService) PutReportDefinitionRequest(input *PutReportDefinitionInput) (req *request.Request, output *PutReportDefinitionOutput) { @@ -372,20 +369,21 @@ func (c *CostandUsageReportService) PutReportDefinitionRequest(input *PutReportD // API operation PutReportDefinition for usage and error information. // // Returned Error Types: -// * DuplicateReportNameException -// A report with the specified name already exists in the account. Specify a -// different report name. // -// * ReportLimitReachedException -// This account already has five reports defined. To define a new report, you -// must delete an existing report. +// - DuplicateReportNameException +// A report with the specified name already exists in the account. Specify a +// different report name. +// +// - ReportLimitReachedException +// This account already has five reports defined. To define a new report, you +// must delete an existing report. // -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06/PutReportDefinition func (c *CostandUsageReportService) PutReportDefinition(input *PutReportDefinitionInput) (*PutReportDefinitionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/costandusagereportserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/costandusagereportserviceiface/interface.go index f8128d8c3b8e..318709637043 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/costandusagereportserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/costandusagereportserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Cost and Usage Report Service. -// func myFunc(svc costandusagereportserviceiface.CostandUsageReportServiceAPI) bool { -// // Make svc.DeleteReportDefinition request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Cost and Usage Report Service. +// func myFunc(svc costandusagereportserviceiface.CostandUsageReportServiceAPI) bool { +// // Make svc.DeleteReportDefinition request +// } // -// func main() { -// sess := session.New() -// svc := costandusagereportservice.New(sess) +// func main() { +// sess := session.New() +// svc := costandusagereportservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCostandUsageReportServiceClient struct { -// costandusagereportserviceiface.CostandUsageReportServiceAPI -// } -// func (m *mockCostandUsageReportServiceClient) DeleteReportDefinition(input *costandusagereportservice.DeleteReportDefinitionInput) (*costandusagereportservice.DeleteReportDefinitionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCostandUsageReportServiceClient struct { +// costandusagereportserviceiface.CostandUsageReportServiceAPI +// } +// func (m *mockCostandUsageReportServiceClient) DeleteReportDefinition(input *costandusagereportservice.DeleteReportDefinitionInput) (*costandusagereportservice.DeleteReportDefinitionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCostandUsageReportServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCostandUsageReportServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/doc.go index f25420cb6123..fc5df5295ca5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/doc.go @@ -12,18 +12,18 @@ // can configure the AWS Cost and Usage report to show only the data that you // want, using the AWS Cost and Usage API. // -// Service Endpoint +// # Service Endpoint // // The AWS Cost and Usage Report API provides the following endpoint: // -// * cur.us-east-1.amazonaws.com +// - cur.us-east-1.amazonaws.com // // See https://docs.aws.amazon.com/goto/WebAPI/cur-2017-01-06 for more information on this service. // // See costandusagereportservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/costandusagereportservice/ // -// Using the Client +// # Using the Client // // To contact AWS Cost and Usage Report Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/service.go index aa28211f209b..3b2a4d5e4ba4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costandusagereportservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CostandUsageReportService client from just a session. -// svc := costandusagereportservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CostandUsageReportService client with additional configuration -// svc := costandusagereportservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CostandUsageReportService client from just a session. +// svc := costandusagereportservice.New(mySession) +// +// // Create a CostandUsageReportService client with additional configuration +// svc := costandusagereportservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CostandUsageReportService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/api.go index 2aedcf2fc2de..36b1fd829630 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/api.go @@ -28,14 +28,13 @@ const opCreateAnomalyMonitor = "CreateAnomalyMonitor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAnomalyMonitorRequest method. +// req, resp := client.CreateAnomalyMonitorRequest(params) // -// // Example sending a request using the CreateAnomalyMonitorRequest method. -// req, resp := client.CreateAnomalyMonitorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateAnomalyMonitor func (c *CostExplorer) CreateAnomalyMonitorRequest(input *CreateAnomalyMonitorInput) (req *request.Request, output *CreateAnomalyMonitorOutput) { @@ -67,8 +66,8 @@ func (c *CostExplorer) CreateAnomalyMonitorRequest(input *CreateAnomalyMonitorIn // API operation CreateAnomalyMonitor for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateAnomalyMonitor func (c *CostExplorer) CreateAnomalyMonitor(input *CreateAnomalyMonitorInput) (*CreateAnomalyMonitorOutput, error) { @@ -108,14 +107,13 @@ const opCreateAnomalySubscription = "CreateAnomalySubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAnomalySubscriptionRequest method. +// req, resp := client.CreateAnomalySubscriptionRequest(params) // -// // Example sending a request using the CreateAnomalySubscriptionRequest method. -// req, resp := client.CreateAnomalySubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateAnomalySubscription func (c *CostExplorer) CreateAnomalySubscriptionRequest(input *CreateAnomalySubscriptionInput) (req *request.Request, output *CreateAnomalySubscriptionOutput) { @@ -149,11 +147,12 @@ func (c *CostExplorer) CreateAnomalySubscriptionRequest(input *CreateAnomalySubs // API operation CreateAnomalySubscription for usage and error information. // // Returned Error Types: -// * UnknownMonitorException -// The cost anomaly monitor does not exist for the account. // -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. +// - UnknownMonitorException +// The cost anomaly monitor does not exist for the account. +// +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateAnomalySubscription func (c *CostExplorer) CreateAnomalySubscription(input *CreateAnomalySubscriptionInput) (*CreateAnomalySubscriptionOutput, error) { @@ -193,14 +192,13 @@ const opCreateCostCategoryDefinition = "CreateCostCategoryDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCostCategoryDefinitionRequest method. +// req, resp := client.CreateCostCategoryDefinitionRequest(params) // -// // Example sending a request using the CreateCostCategoryDefinitionRequest method. -// req, resp := client.CreateCostCategoryDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateCostCategoryDefinition func (c *CostExplorer) CreateCostCategoryDefinitionRequest(input *CreateCostCategoryDefinitionInput) (req *request.Request, output *CreateCostCategoryDefinitionOutput) { @@ -231,12 +229,13 @@ func (c *CostExplorer) CreateCostCategoryDefinitionRequest(input *CreateCostCate // API operation CreateCostCategoryDefinition for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// You've reached the limit on the number of resources you can create, or exceeded -// the size of an individual resource. // -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. +// - ServiceQuotaExceededException +// You've reached the limit on the number of resources you can create, or exceeded +// the size of an individual resource. +// +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateCostCategoryDefinition func (c *CostExplorer) CreateCostCategoryDefinition(input *CreateCostCategoryDefinitionInput) (*CreateCostCategoryDefinitionOutput, error) { @@ -276,14 +275,13 @@ const opDeleteAnomalyMonitor = "DeleteAnomalyMonitor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAnomalyMonitorRequest method. +// req, resp := client.DeleteAnomalyMonitorRequest(params) // -// // Example sending a request using the DeleteAnomalyMonitorRequest method. -// req, resp := client.DeleteAnomalyMonitorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DeleteAnomalyMonitor func (c *CostExplorer) DeleteAnomalyMonitorRequest(input *DeleteAnomalyMonitorInput) (req *request.Request, output *DeleteAnomalyMonitorOutput) { @@ -315,11 +313,12 @@ func (c *CostExplorer) DeleteAnomalyMonitorRequest(input *DeleteAnomalyMonitorIn // API operation DeleteAnomalyMonitor for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * UnknownMonitorException -// The cost anomaly monitor does not exist for the account. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - UnknownMonitorException +// The cost anomaly monitor does not exist for the account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DeleteAnomalyMonitor func (c *CostExplorer) DeleteAnomalyMonitor(input *DeleteAnomalyMonitorInput) (*DeleteAnomalyMonitorOutput, error) { @@ -359,14 +358,13 @@ const opDeleteAnomalySubscription = "DeleteAnomalySubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAnomalySubscriptionRequest method. +// req, resp := client.DeleteAnomalySubscriptionRequest(params) // -// // Example sending a request using the DeleteAnomalySubscriptionRequest method. -// req, resp := client.DeleteAnomalySubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DeleteAnomalySubscription func (c *CostExplorer) DeleteAnomalySubscriptionRequest(input *DeleteAnomalySubscriptionInput) (req *request.Request, output *DeleteAnomalySubscriptionOutput) { @@ -398,11 +396,12 @@ func (c *CostExplorer) DeleteAnomalySubscriptionRequest(input *DeleteAnomalySubs // API operation DeleteAnomalySubscription for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * UnknownSubscriptionException -// The cost anomaly subscription does not exist for the account. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - UnknownSubscriptionException +// The cost anomaly subscription does not exist for the account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DeleteAnomalySubscription func (c *CostExplorer) DeleteAnomalySubscription(input *DeleteAnomalySubscriptionInput) (*DeleteAnomalySubscriptionOutput, error) { @@ -442,14 +441,13 @@ const opDeleteCostCategoryDefinition = "DeleteCostCategoryDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCostCategoryDefinitionRequest method. +// req, resp := client.DeleteCostCategoryDefinitionRequest(params) // -// // Example sending a request using the DeleteCostCategoryDefinitionRequest method. -// req, resp := client.DeleteCostCategoryDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DeleteCostCategoryDefinition func (c *CostExplorer) DeleteCostCategoryDefinitionRequest(input *DeleteCostCategoryDefinitionInput) (req *request.Request, output *DeleteCostCategoryDefinitionOutput) { @@ -481,11 +479,12 @@ func (c *CostExplorer) DeleteCostCategoryDefinitionRequest(input *DeleteCostCate // API operation DeleteCostCategoryDefinition for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ARN in the request doesn't exist. // -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. +// - ResourceNotFoundException +// The specified ARN in the request doesn't exist. +// +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DeleteCostCategoryDefinition func (c *CostExplorer) DeleteCostCategoryDefinition(input *DeleteCostCategoryDefinitionInput) (*DeleteCostCategoryDefinitionOutput, error) { @@ -525,14 +524,13 @@ const opDescribeCostCategoryDefinition = "DescribeCostCategoryDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCostCategoryDefinitionRequest method. +// req, resp := client.DescribeCostCategoryDefinitionRequest(params) // -// // Example sending a request using the DescribeCostCategoryDefinitionRequest method. -// req, resp := client.DescribeCostCategoryDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DescribeCostCategoryDefinition func (c *CostExplorer) DescribeCostCategoryDefinitionRequest(input *DescribeCostCategoryDefinitionInput) (req *request.Request, output *DescribeCostCategoryDefinitionOutput) { @@ -569,11 +567,12 @@ func (c *CostExplorer) DescribeCostCategoryDefinitionRequest(input *DescribeCost // API operation DescribeCostCategoryDefinition for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ARN in the request doesn't exist. // -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. +// - ResourceNotFoundException +// The specified ARN in the request doesn't exist. +// +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DescribeCostCategoryDefinition func (c *CostExplorer) DescribeCostCategoryDefinition(input *DescribeCostCategoryDefinitionInput) (*DescribeCostCategoryDefinitionOutput, error) { @@ -613,14 +612,13 @@ const opGetAnomalies = "GetAnomalies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAnomaliesRequest method. +// req, resp := client.GetAnomaliesRequest(params) // -// // Example sending a request using the GetAnomaliesRequest method. -// req, resp := client.GetAnomaliesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomalies func (c *CostExplorer) GetAnomaliesRequest(input *GetAnomaliesInput) (req *request.Request, output *GetAnomaliesOutput) { @@ -652,11 +650,12 @@ func (c *CostExplorer) GetAnomaliesRequest(input *GetAnomaliesInput) (req *reque // API operation GetAnomalies for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomalies func (c *CostExplorer) GetAnomalies(input *GetAnomaliesInput) (*GetAnomaliesOutput, error) { @@ -696,14 +695,13 @@ const opGetAnomalyMonitors = "GetAnomalyMonitors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAnomalyMonitorsRequest method. +// req, resp := client.GetAnomalyMonitorsRequest(params) // -// // Example sending a request using the GetAnomalyMonitorsRequest method. -// req, resp := client.GetAnomalyMonitorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomalyMonitors func (c *CostExplorer) GetAnomalyMonitorsRequest(input *GetAnomalyMonitorsInput) (req *request.Request, output *GetAnomalyMonitorsOutput) { @@ -735,14 +733,15 @@ func (c *CostExplorer) GetAnomalyMonitorsRequest(input *GetAnomalyMonitorsInput) // API operation GetAnomalyMonitors for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * UnknownMonitorException -// The cost anomaly monitor does not exist for the account. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - UnknownMonitorException +// The cost anomaly monitor does not exist for the account. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomalyMonitors func (c *CostExplorer) GetAnomalyMonitors(input *GetAnomalyMonitorsInput) (*GetAnomalyMonitorsOutput, error) { @@ -782,14 +781,13 @@ const opGetAnomalySubscriptions = "GetAnomalySubscriptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAnomalySubscriptionsRequest method. +// req, resp := client.GetAnomalySubscriptionsRequest(params) // -// // Example sending a request using the GetAnomalySubscriptionsRequest method. -// req, resp := client.GetAnomalySubscriptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomalySubscriptions func (c *CostExplorer) GetAnomalySubscriptionsRequest(input *GetAnomalySubscriptionsInput) (req *request.Request, output *GetAnomalySubscriptionsOutput) { @@ -821,14 +819,15 @@ func (c *CostExplorer) GetAnomalySubscriptionsRequest(input *GetAnomalySubscript // API operation GetAnomalySubscriptions for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * UnknownSubscriptionException -// The cost anomaly subscription does not exist for the account. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - UnknownSubscriptionException +// The cost anomaly subscription does not exist for the account. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomalySubscriptions func (c *CostExplorer) GetAnomalySubscriptions(input *GetAnomalySubscriptionsInput) (*GetAnomalySubscriptionsOutput, error) { @@ -868,14 +867,13 @@ const opGetCostAndUsage = "GetCostAndUsage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCostAndUsageRequest method. +// req, resp := client.GetCostAndUsageRequest(params) // -// // Example sending a request using the GetCostAndUsageRequest method. -// req, resp := client.GetCostAndUsageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostAndUsage func (c *CostExplorer) GetCostAndUsageRequest(input *GetCostAndUsageInput) (req *request.Request, output *GetCostAndUsageOutput) { @@ -916,21 +914,22 @@ func (c *CostExplorer) GetCostAndUsageRequest(input *GetCostAndUsageInput) (req // API operation GetCostAndUsage for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * BillExpirationException -// The requested report expired. Update the date interval and try again. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - BillExpirationException +// The requested report expired. Update the date interval and try again. // -// * DataUnavailableException -// The requested data is unavailable. +// - DataUnavailableException +// The requested data is unavailable. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // -// * RequestChangedException -// Your request parameters changed between pages. Try again with the old parameters -// or without a pagination token. +// - RequestChangedException +// Your request parameters changed between pages. Try again with the old parameters +// or without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostAndUsage func (c *CostExplorer) GetCostAndUsage(input *GetCostAndUsageInput) (*GetCostAndUsageOutput, error) { @@ -970,14 +969,13 @@ const opGetCostAndUsageWithResources = "GetCostAndUsageWithResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCostAndUsageWithResourcesRequest method. +// req, resp := client.GetCostAndUsageWithResourcesRequest(params) // -// // Example sending a request using the GetCostAndUsageWithResourcesRequest method. -// req, resp := client.GetCostAndUsageWithResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostAndUsageWithResources func (c *CostExplorer) GetCostAndUsageWithResourcesRequest(input *GetCostAndUsageWithResourcesInput) (req *request.Request, output *GetCostAndUsageWithResourcesOutput) { @@ -1020,21 +1018,22 @@ func (c *CostExplorer) GetCostAndUsageWithResourcesRequest(input *GetCostAndUsag // API operation GetCostAndUsageWithResources for usage and error information. // // Returned Error Types: -// * DataUnavailableException -// The requested data is unavailable. // -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. +// - DataUnavailableException +// The requested data is unavailable. +// +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. // -// * BillExpirationException -// The requested report expired. Update the date interval and try again. +// - BillExpirationException +// The requested report expired. Update the date interval and try again. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // -// * RequestChangedException -// Your request parameters changed between pages. Try again with the old parameters -// or without a pagination token. +// - RequestChangedException +// Your request parameters changed between pages. Try again with the old parameters +// or without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostAndUsageWithResources func (c *CostExplorer) GetCostAndUsageWithResources(input *GetCostAndUsageWithResourcesInput) (*GetCostAndUsageWithResourcesOutput, error) { @@ -1074,14 +1073,13 @@ const opGetCostCategories = "GetCostCategories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCostCategoriesRequest method. +// req, resp := client.GetCostCategoriesRequest(params) // -// // Example sending a request using the GetCostCategoriesRequest method. -// req, resp := client.GetCostCategoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostCategories func (c *CostExplorer) GetCostCategoriesRequest(input *GetCostCategoriesInput) (req *request.Request, output *GetCostCategoriesOutput) { @@ -1115,21 +1113,22 @@ func (c *CostExplorer) GetCostCategoriesRequest(input *GetCostCategoriesInput) ( // API operation GetCostCategories for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * BillExpirationException -// The requested report expired. Update the date interval and try again. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - BillExpirationException +// The requested report expired. Update the date interval and try again. // -// * DataUnavailableException -// The requested data is unavailable. +// - DataUnavailableException +// The requested data is unavailable. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // -// * RequestChangedException -// Your request parameters changed between pages. Try again with the old parameters -// or without a pagination token. +// - RequestChangedException +// Your request parameters changed between pages. Try again with the old parameters +// or without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostCategories func (c *CostExplorer) GetCostCategories(input *GetCostCategoriesInput) (*GetCostCategoriesOutput, error) { @@ -1169,14 +1168,13 @@ const opGetCostForecast = "GetCostForecast" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCostForecastRequest method. +// req, resp := client.GetCostForecastRequest(params) // -// // Example sending a request using the GetCostForecastRequest method. -// req, resp := client.GetCostForecastRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostForecast func (c *CostExplorer) GetCostForecastRequest(input *GetCostForecastInput) (req *request.Request, output *GetCostForecastOutput) { @@ -1208,11 +1206,12 @@ func (c *CostExplorer) GetCostForecastRequest(input *GetCostForecastInput) (req // API operation GetCostForecast for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * DataUnavailableException -// The requested data is unavailable. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - DataUnavailableException +// The requested data is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostForecast func (c *CostExplorer) GetCostForecast(input *GetCostForecastInput) (*GetCostForecastOutput, error) { @@ -1252,14 +1251,13 @@ const opGetDimensionValues = "GetDimensionValues" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDimensionValuesRequest method. +// req, resp := client.GetDimensionValuesRequest(params) // -// // Example sending a request using the GetDimensionValuesRequest method. -// req, resp := client.GetDimensionValuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetDimensionValues func (c *CostExplorer) GetDimensionValuesRequest(input *GetDimensionValuesInput) (req *request.Request, output *GetDimensionValuesOutput) { @@ -1291,21 +1289,22 @@ func (c *CostExplorer) GetDimensionValuesRequest(input *GetDimensionValuesInput) // API operation GetDimensionValues for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * BillExpirationException -// The requested report expired. Update the date interval and try again. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - BillExpirationException +// The requested report expired. Update the date interval and try again. // -// * DataUnavailableException -// The requested data is unavailable. +// - DataUnavailableException +// The requested data is unavailable. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // -// * RequestChangedException -// Your request parameters changed between pages. Try again with the old parameters -// or without a pagination token. +// - RequestChangedException +// Your request parameters changed between pages. Try again with the old parameters +// or without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetDimensionValues func (c *CostExplorer) GetDimensionValues(input *GetDimensionValuesInput) (*GetDimensionValuesOutput, error) { @@ -1345,14 +1344,13 @@ const opGetReservationCoverage = "GetReservationCoverage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReservationCoverageRequest method. +// req, resp := client.GetReservationCoverageRequest(params) // -// // Example sending a request using the GetReservationCoverageRequest method. -// req, resp := client.GetReservationCoverageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetReservationCoverage func (c *CostExplorer) GetReservationCoverageRequest(input *GetReservationCoverageInput) (req *request.Request, output *GetReservationCoverageOutput) { @@ -1381,29 +1379,29 @@ func (c *CostExplorer) GetReservationCoverageRequest(input *GetReservationCovera // For any time period, you can filter data about reservation usage by the following // dimensions: // -// * AZ +// - AZ // -// * CACHE_ENGINE +// - CACHE_ENGINE // -// * DATABASE_ENGINE +// - DATABASE_ENGINE // -// * DEPLOYMENT_OPTION +// - DEPLOYMENT_OPTION // -// * INSTANCE_TYPE +// - INSTANCE_TYPE // -// * LINKED_ACCOUNT +// - LINKED_ACCOUNT // -// * OPERATING_SYSTEM +// - OPERATING_SYSTEM // -// * PLATFORM +// - PLATFORM // -// * REGION +// - REGION // -// * SERVICE +// - SERVICE // -// * TAG +// - TAG // -// * TENANCY +// - TENANCY // // To determine valid values for a dimension, use the GetDimensionValues operation. // @@ -1415,14 +1413,15 @@ func (c *CostExplorer) GetReservationCoverageRequest(input *GetReservationCovera // API operation GetReservationCoverage for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * DataUnavailableException -// The requested data is unavailable. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - DataUnavailableException +// The requested data is unavailable. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetReservationCoverage func (c *CostExplorer) GetReservationCoverage(input *GetReservationCoverageInput) (*GetReservationCoverageOutput, error) { @@ -1462,14 +1461,13 @@ const opGetReservationPurchaseRecommendation = "GetReservationPurchaseRecommenda // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReservationPurchaseRecommendationRequest method. +// req, resp := client.GetReservationPurchaseRecommendationRequest(params) // -// // Example sending a request using the GetReservationPurchaseRecommendationRequest method. -// req, resp := client.GetReservationPurchaseRecommendationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetReservationPurchaseRecommendation func (c *CostExplorer) GetReservationPurchaseRecommendationRequest(input *GetReservationPurchaseRecommendationInput) (req *request.Request, output *GetReservationPurchaseRecommendationOutput) { @@ -1519,14 +1517,15 @@ func (c *CostExplorer) GetReservationPurchaseRecommendationRequest(input *GetRes // API operation GetReservationPurchaseRecommendation for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * DataUnavailableException -// The requested data is unavailable. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - DataUnavailableException +// The requested data is unavailable. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetReservationPurchaseRecommendation func (c *CostExplorer) GetReservationPurchaseRecommendation(input *GetReservationPurchaseRecommendationInput) (*GetReservationPurchaseRecommendationOutput, error) { @@ -1566,14 +1565,13 @@ const opGetReservationUtilization = "GetReservationUtilization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReservationUtilizationRequest method. +// req, resp := client.GetReservationUtilizationRequest(params) // -// // Example sending a request using the GetReservationUtilizationRequest method. -// req, resp := client.GetReservationUtilizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetReservationUtilization func (c *CostExplorer) GetReservationUtilizationRequest(input *GetReservationUtilizationInput) (req *request.Request, output *GetReservationUtilizationOutput) { @@ -1607,14 +1605,15 @@ func (c *CostExplorer) GetReservationUtilizationRequest(input *GetReservationUti // API operation GetReservationUtilization for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * DataUnavailableException -// The requested data is unavailable. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - DataUnavailableException +// The requested data is unavailable. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetReservationUtilization func (c *CostExplorer) GetReservationUtilization(input *GetReservationUtilizationInput) (*GetReservationUtilizationOutput, error) { @@ -1654,14 +1653,13 @@ const opGetRightsizingRecommendation = "GetRightsizingRecommendation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRightsizingRecommendationRequest method. +// req, resp := client.GetRightsizingRecommendationRequest(params) // -// // Example sending a request using the GetRightsizingRecommendationRequest method. -// req, resp := client.GetRightsizingRecommendationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetRightsizingRecommendation func (c *CostExplorer) GetRightsizingRecommendationRequest(input *GetRightsizingRecommendationInput) (req *request.Request, output *GetRightsizingRecommendationOutput) { @@ -1698,11 +1696,12 @@ func (c *CostExplorer) GetRightsizingRecommendationRequest(input *GetRightsizing // API operation GetRightsizingRecommendation for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetRightsizingRecommendation func (c *CostExplorer) GetRightsizingRecommendation(input *GetRightsizingRecommendationInput) (*GetRightsizingRecommendationOutput, error) { @@ -1742,14 +1741,13 @@ const opGetSavingsPlansCoverage = "GetSavingsPlansCoverage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSavingsPlansCoverageRequest method. +// req, resp := client.GetSavingsPlansCoverageRequest(params) // -// // Example sending a request using the GetSavingsPlansCoverageRequest method. -// req, resp := client.GetSavingsPlansCoverageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansCoverage func (c *CostExplorer) GetSavingsPlansCoverageRequest(input *GetSavingsPlansCoverageInput) (req *request.Request, output *GetSavingsPlansCoverageOutput) { @@ -1783,13 +1781,13 @@ func (c *CostExplorer) GetSavingsPlansCoverageRequest(input *GetSavingsPlansCove // time period, you can filter data for Savings Plans usage with the following // dimensions: // -// * LINKED_ACCOUNT +// - LINKED_ACCOUNT // -// * REGION +// - REGION // -// * SERVICE +// - SERVICE // -// * INSTANCE_FAMILY +// - INSTANCE_FAMILY // // To determine valid values for a dimension, use the GetDimensionValues operation. // @@ -1801,14 +1799,15 @@ func (c *CostExplorer) GetSavingsPlansCoverageRequest(input *GetSavingsPlansCove // API operation GetSavingsPlansCoverage for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * DataUnavailableException -// The requested data is unavailable. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - DataUnavailableException +// The requested data is unavailable. +// +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansCoverage func (c *CostExplorer) GetSavingsPlansCoverage(input *GetSavingsPlansCoverageInput) (*GetSavingsPlansCoverageOutput, error) { @@ -1840,15 +1839,14 @@ func (c *CostExplorer) GetSavingsPlansCoverageWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetSavingsPlansCoverage operation. -// pageNum := 0 -// err := client.GetSavingsPlansCoveragePages(params, -// func(page *costexplorer.GetSavingsPlansCoverageOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetSavingsPlansCoverage operation. +// pageNum := 0 +// err := client.GetSavingsPlansCoveragePages(params, +// func(page *costexplorer.GetSavingsPlansCoverageOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CostExplorer) GetSavingsPlansCoveragePages(input *GetSavingsPlansCoverageInput, fn func(*GetSavingsPlansCoverageOutput, bool) bool) error { return c.GetSavingsPlansCoveragePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1900,14 +1898,13 @@ const opGetSavingsPlansPurchaseRecommendation = "GetSavingsPlansPurchaseRecommen // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSavingsPlansPurchaseRecommendationRequest method. +// req, resp := client.GetSavingsPlansPurchaseRecommendationRequest(params) // -// // Example sending a request using the GetSavingsPlansPurchaseRecommendationRequest method. -// req, resp := client.GetSavingsPlansPurchaseRecommendationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansPurchaseRecommendation func (c *CostExplorer) GetSavingsPlansPurchaseRecommendationRequest(input *GetSavingsPlansPurchaseRecommendationInput) (req *request.Request, output *GetSavingsPlansPurchaseRecommendationOutput) { @@ -1939,11 +1936,12 @@ func (c *CostExplorer) GetSavingsPlansPurchaseRecommendationRequest(input *GetSa // API operation GetSavingsPlansPurchaseRecommendation for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansPurchaseRecommendation func (c *CostExplorer) GetSavingsPlansPurchaseRecommendation(input *GetSavingsPlansPurchaseRecommendationInput) (*GetSavingsPlansPurchaseRecommendationOutput, error) { @@ -1983,14 +1981,13 @@ const opGetSavingsPlansUtilization = "GetSavingsPlansUtilization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSavingsPlansUtilizationRequest method. +// req, resp := client.GetSavingsPlansUtilizationRequest(params) // -// // Example sending a request using the GetSavingsPlansUtilizationRequest method. -// req, resp := client.GetSavingsPlansUtilizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansUtilization func (c *CostExplorer) GetSavingsPlansUtilizationRequest(input *GetSavingsPlansUtilizationInput) (req *request.Request, output *GetSavingsPlansUtilizationOutput) { @@ -2026,11 +2023,12 @@ func (c *CostExplorer) GetSavingsPlansUtilizationRequest(input *GetSavingsPlansU // API operation GetSavingsPlansUtilization for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * DataUnavailableException -// The requested data is unavailable. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - DataUnavailableException +// The requested data is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansUtilization func (c *CostExplorer) GetSavingsPlansUtilization(input *GetSavingsPlansUtilizationInput) (*GetSavingsPlansUtilizationOutput, error) { @@ -2070,14 +2068,13 @@ const opGetSavingsPlansUtilizationDetails = "GetSavingsPlansUtilizationDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSavingsPlansUtilizationDetailsRequest method. +// req, resp := client.GetSavingsPlansUtilizationDetailsRequest(params) // -// // Example sending a request using the GetSavingsPlansUtilizationDetailsRequest method. -// req, resp := client.GetSavingsPlansUtilizationDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansUtilizationDetails func (c *CostExplorer) GetSavingsPlansUtilizationDetailsRequest(input *GetSavingsPlansUtilizationDetailsInput) (req *request.Request, output *GetSavingsPlansUtilizationDetailsOutput) { @@ -2122,14 +2119,15 @@ func (c *CostExplorer) GetSavingsPlansUtilizationDetailsRequest(input *GetSaving // API operation GetSavingsPlansUtilizationDetails for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * DataUnavailableException -// The requested data is unavailable. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - DataUnavailableException +// The requested data is unavailable. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansUtilizationDetails func (c *CostExplorer) GetSavingsPlansUtilizationDetails(input *GetSavingsPlansUtilizationDetailsInput) (*GetSavingsPlansUtilizationDetailsOutput, error) { @@ -2161,15 +2159,14 @@ func (c *CostExplorer) GetSavingsPlansUtilizationDetailsWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetSavingsPlansUtilizationDetails operation. -// pageNum := 0 -// err := client.GetSavingsPlansUtilizationDetailsPages(params, -// func(page *costexplorer.GetSavingsPlansUtilizationDetailsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetSavingsPlansUtilizationDetails operation. +// pageNum := 0 +// err := client.GetSavingsPlansUtilizationDetailsPages(params, +// func(page *costexplorer.GetSavingsPlansUtilizationDetailsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CostExplorer) GetSavingsPlansUtilizationDetailsPages(input *GetSavingsPlansUtilizationDetailsInput, fn func(*GetSavingsPlansUtilizationDetailsOutput, bool) bool) error { return c.GetSavingsPlansUtilizationDetailsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2221,14 +2218,13 @@ const opGetTags = "GetTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTagsRequest method. +// req, resp := client.GetTagsRequest(params) // -// // Example sending a request using the GetTagsRequest method. -// req, resp := client.GetTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetTags func (c *CostExplorer) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput) { @@ -2260,21 +2256,22 @@ func (c *CostExplorer) GetTagsRequest(input *GetTagsInput) (req *request.Request // API operation GetTags for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * BillExpirationException -// The requested report expired. Update the date interval and try again. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. // -// * DataUnavailableException -// The requested data is unavailable. +// - BillExpirationException +// The requested report expired. Update the date interval and try again. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - DataUnavailableException +// The requested data is unavailable. // -// * RequestChangedException -// Your request parameters changed between pages. Try again with the old parameters -// or without a pagination token. +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. +// +// - RequestChangedException +// Your request parameters changed between pages. Try again with the old parameters +// or without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetTags func (c *CostExplorer) GetTags(input *GetTagsInput) (*GetTagsOutput, error) { @@ -2314,14 +2311,13 @@ const opGetUsageForecast = "GetUsageForecast" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUsageForecastRequest method. +// req, resp := client.GetUsageForecastRequest(params) // -// // Example sending a request using the GetUsageForecastRequest method. -// req, resp := client.GetUsageForecastRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetUsageForecast func (c *CostExplorer) GetUsageForecastRequest(input *GetUsageForecastInput) (req *request.Request, output *GetUsageForecastOutput) { @@ -2353,15 +2349,16 @@ func (c *CostExplorer) GetUsageForecastRequest(input *GetUsageForecastInput) (re // API operation GetUsageForecast for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * DataUnavailableException -// The requested data is unavailable. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. // -// * UnresolvableUsageUnitException -// Cost Explorer was unable to identify the usage unit. Provide UsageType/UsageTypeGroup -// filter selections that contain matching units, for example: hours. +// - DataUnavailableException +// The requested data is unavailable. +// +// - UnresolvableUsageUnitException +// Cost Explorer was unable to identify the usage unit. Provide UsageType/UsageTypeGroup +// filter selections that contain matching units, for example: hours. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetUsageForecast func (c *CostExplorer) GetUsageForecast(input *GetUsageForecastInput) (*GetUsageForecastOutput, error) { @@ -2401,14 +2398,13 @@ const opListCostCategoryDefinitions = "ListCostCategoryDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCostCategoryDefinitionsRequest method. +// req, resp := client.ListCostCategoryDefinitionsRequest(params) // -// // Example sending a request using the ListCostCategoryDefinitionsRequest method. -// req, resp := client.ListCostCategoryDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostCategoryDefinitions func (c *CostExplorer) ListCostCategoryDefinitionsRequest(input *ListCostCategoryDefinitionsInput) (req *request.Request, output *ListCostCategoryDefinitionsOutput) { @@ -2451,8 +2447,8 @@ func (c *CostExplorer) ListCostCategoryDefinitionsRequest(input *ListCostCategor // API operation ListCostCategoryDefinitions for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostCategoryDefinitions func (c *CostExplorer) ListCostCategoryDefinitions(input *ListCostCategoryDefinitionsInput) (*ListCostCategoryDefinitionsOutput, error) { @@ -2484,15 +2480,14 @@ func (c *CostExplorer) ListCostCategoryDefinitionsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCostCategoryDefinitions operation. -// pageNum := 0 -// err := client.ListCostCategoryDefinitionsPages(params, -// func(page *costexplorer.ListCostCategoryDefinitionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCostCategoryDefinitions operation. +// pageNum := 0 +// err := client.ListCostCategoryDefinitionsPages(params, +// func(page *costexplorer.ListCostCategoryDefinitionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *CostExplorer) ListCostCategoryDefinitionsPages(input *ListCostCategoryDefinitionsInput, fn func(*ListCostCategoryDefinitionsOutput, bool) bool) error { return c.ListCostCategoryDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2544,14 +2539,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListTagsForResource func (c *CostExplorer) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2583,11 +2577,12 @@ func (c *CostExplorer) ListTagsForResourceRequest(input *ListTagsForResourceInpu // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ARN in the request doesn't exist. // -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. +// - ResourceNotFoundException +// The specified ARN in the request doesn't exist. +// +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListTagsForResource func (c *CostExplorer) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2627,14 +2622,13 @@ const opProvideAnomalyFeedback = "ProvideAnomalyFeedback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ProvideAnomalyFeedbackRequest method. +// req, resp := client.ProvideAnomalyFeedbackRequest(params) // -// // Example sending a request using the ProvideAnomalyFeedbackRequest method. -// req, resp := client.ProvideAnomalyFeedbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ProvideAnomalyFeedback func (c *CostExplorer) ProvideAnomalyFeedbackRequest(input *ProvideAnomalyFeedbackInput) (req *request.Request, output *ProvideAnomalyFeedbackOutput) { @@ -2665,8 +2659,8 @@ func (c *CostExplorer) ProvideAnomalyFeedbackRequest(input *ProvideAnomalyFeedba // API operation ProvideAnomalyFeedback for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ProvideAnomalyFeedback func (c *CostExplorer) ProvideAnomalyFeedback(input *ProvideAnomalyFeedbackInput) (*ProvideAnomalyFeedbackOutput, error) { @@ -2706,14 +2700,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TagResource func (c *CostExplorer) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2754,15 +2747,16 @@ func (c *CostExplorer) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ARN in the request doesn't exist. // -// * TooManyTagsException -// Can occur if you specify a number of tags for a resource greater than the -// maximum 50 user tags per resource. +// - ResourceNotFoundException +// The specified ARN in the request doesn't exist. +// +// - TooManyTagsException +// Can occur if you specify a number of tags for a resource greater than the +// maximum 50 user tags per resource. // -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TagResource func (c *CostExplorer) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2802,14 +2796,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UntagResource func (c *CostExplorer) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2842,11 +2835,12 @@ func (c *CostExplorer) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ARN in the request doesn't exist. // -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. +// - ResourceNotFoundException +// The specified ARN in the request doesn't exist. +// +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UntagResource func (c *CostExplorer) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2886,14 +2880,13 @@ const opUpdateAnomalyMonitor = "UpdateAnomalyMonitor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAnomalyMonitorRequest method. +// req, resp := client.UpdateAnomalyMonitorRequest(params) // -// // Example sending a request using the UpdateAnomalyMonitorRequest method. -// req, resp := client.UpdateAnomalyMonitorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateAnomalyMonitor func (c *CostExplorer) UpdateAnomalyMonitorRequest(input *UpdateAnomalyMonitorInput) (req *request.Request, output *UpdateAnomalyMonitorOutput) { @@ -2925,11 +2918,12 @@ func (c *CostExplorer) UpdateAnomalyMonitorRequest(input *UpdateAnomalyMonitorIn // API operation UpdateAnomalyMonitor for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * UnknownMonitorException -// The cost anomaly monitor does not exist for the account. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - UnknownMonitorException +// The cost anomaly monitor does not exist for the account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateAnomalyMonitor func (c *CostExplorer) UpdateAnomalyMonitor(input *UpdateAnomalyMonitorInput) (*UpdateAnomalyMonitorOutput, error) { @@ -2969,14 +2963,13 @@ const opUpdateAnomalySubscription = "UpdateAnomalySubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAnomalySubscriptionRequest method. +// req, resp := client.UpdateAnomalySubscriptionRequest(params) // -// // Example sending a request using the UpdateAnomalySubscriptionRequest method. -// req, resp := client.UpdateAnomalySubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateAnomalySubscription func (c *CostExplorer) UpdateAnomalySubscriptionRequest(input *UpdateAnomalySubscriptionInput) (req *request.Request, output *UpdateAnomalySubscriptionOutput) { @@ -3007,14 +3000,15 @@ func (c *CostExplorer) UpdateAnomalySubscriptionRequest(input *UpdateAnomalySubs // API operation UpdateAnomalySubscription for usage and error information. // // Returned Error Types: -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. // -// * UnknownMonitorException -// The cost anomaly monitor does not exist for the account. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. +// +// - UnknownMonitorException +// The cost anomaly monitor does not exist for the account. // -// * UnknownSubscriptionException -// The cost anomaly subscription does not exist for the account. +// - UnknownSubscriptionException +// The cost anomaly subscription does not exist for the account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateAnomalySubscription func (c *CostExplorer) UpdateAnomalySubscription(input *UpdateAnomalySubscriptionInput) (*UpdateAnomalySubscriptionOutput, error) { @@ -3054,14 +3048,13 @@ const opUpdateCostCategoryDefinition = "UpdateCostCategoryDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCostCategoryDefinitionRequest method. +// req, resp := client.UpdateCostCategoryDefinitionRequest(params) // -// // Example sending a request using the UpdateCostCategoryDefinitionRequest method. -// req, resp := client.UpdateCostCategoryDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateCostCategoryDefinition func (c *CostExplorer) UpdateCostCategoryDefinitionRequest(input *UpdateCostCategoryDefinitionInput) (req *request.Request, output *UpdateCostCategoryDefinitionOutput) { @@ -3094,15 +3087,16 @@ func (c *CostExplorer) UpdateCostCategoryDefinitionRequest(input *UpdateCostCate // API operation UpdateCostCategoryDefinition for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ARN in the request doesn't exist. // -// * ServiceQuotaExceededException -// You've reached the limit on the number of resources you can create, or exceeded -// the size of an individual resource. +// - ResourceNotFoundException +// The specified ARN in the request doesn't exist. +// +// - ServiceQuotaExceededException +// You've reached the limit on the number of resources you can create, or exceeded +// the size of an individual resource. // -// * LimitExceededException -// You made too many calls in a short period of time. Try again later. +// - LimitExceededException +// You made too many calls in a short period of time. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateCostCategoryDefinition func (c *CostExplorer) UpdateCostCategoryDefinition(input *UpdateCostCategoryDefinitionInput) (*UpdateCostCategoryDefinitionOutput, error) { @@ -6341,29 +6335,29 @@ func (s *ElastiCacheInstanceDetails) SetSizeFlexEligible(v bool) *ElastiCacheIns // Use Expression to filter by cost or by usage. There are two patterns: // -// * Simple dimension values - You can set the dimension name and values -// for the filters that you plan to use. For example, you can filter for -// REGION==us-east-1 OR REGION==us-west-1. For GetRightsizingRecommendation, -// the Region is a full name (for example, REGION==US East (N. Virginia). -// The Expression example is as follows: { "Dimensions": { "Key": "REGION", -// "Values": [ "us-east-1", “us-west-1” ] } } The list of dimension values -// are OR'd together to retrieve cost or usage data. You can create Expression -// and DimensionValues objects using either with* methods or set* methods -// in multiple lines. -// -// * Compound dimension values with logical operations - You can use multiple -// Expression types and the logical operators AND/OR/NOT to create a list -// of one or more Expression objects. By doing this, you can filter on more -// advanced options. For example, you can filter on ((REGION == us-east-1 -// OR REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer). -// The Expression for that is as follows: { "And": [ {"Or": [ {"Dimensions": -// { "Key": "REGION", "Values": [ "us-east-1", "us-west-1" ] }}, {"Tags": -// { "Key": "TagName", "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": -// { "Key": "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } Because each -// Expression can have only one operator, the service returns an error if -// more than one is specified. The following example shows an Expression -// object that creates an error. { "And": [ ... ], "DimensionValues": { "Dimension": -// "USAGE_TYPE", "Values": [ "DataTransfer" ] } } +// - Simple dimension values - You can set the dimension name and values +// for the filters that you plan to use. For example, you can filter for +// REGION==us-east-1 OR REGION==us-west-1. For GetRightsizingRecommendation, +// the Region is a full name (for example, REGION==US East (N. Virginia). +// The Expression example is as follows: { "Dimensions": { "Key": "REGION", +// "Values": [ "us-east-1", “us-west-1” ] } } The list of dimension values +// are OR'd together to retrieve cost or usage data. You can create Expression +// and DimensionValues objects using either with* methods or set* methods +// in multiple lines. +// +// - Compound dimension values with logical operations - You can use multiple +// Expression types and the logical operators AND/OR/NOT to create a list +// of one or more Expression objects. By doing this, you can filter on more +// advanced options. For example, you can filter on ((REGION == us-east-1 +// OR REGION == us-west-1) OR (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer). +// The Expression for that is as follows: { "And": [ {"Or": [ {"Dimensions": +// { "Key": "REGION", "Values": [ "us-east-1", "us-west-1" ] }}, {"Tags": +// { "Key": "TagName", "Values": ["Value1"] } } ]}, {"Not": {"Dimensions": +// { "Key": "USAGE_TYPE", "Values": ["DataTransfer"] }}} ] } Because each +// Expression can have only one operator, the service returns an error if +// more than one is specified. The following example shows an Expression +// object that creates an error. { "And": [ ... ], "DimensionValues": { "Dimension": +// "USAGE_TYPE", "Values": [ "DataTransfer" ] } } // // For the GetRightsizingRecommendation action, a combination of OR and NOT // isn't supported. OR isn't supported between different dimensions, or dimensions diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/costexploreriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/costexploreriface/interface.go index 4d5a5cb9ffe5..6be9cbea3bec 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/costexploreriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/costexploreriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Cost Explorer Service. -// func myFunc(svc costexploreriface.CostExplorerAPI) bool { -// // Make svc.CreateAnomalyMonitor request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Cost Explorer Service. +// func myFunc(svc costexploreriface.CostExplorerAPI) bool { +// // Make svc.CreateAnomalyMonitor request +// } // -// func main() { -// sess := session.New() -// svc := costexplorer.New(sess) +// func main() { +// sess := session.New() +// svc := costexplorer.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCostExplorerClient struct { -// costexploreriface.CostExplorerAPI -// } -// func (m *mockCostExplorerClient) CreateAnomalyMonitor(input *costexplorer.CreateAnomalyMonitorInput) (*costexplorer.CreateAnomalyMonitorOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCostExplorerClient struct { +// costexploreriface.CostExplorerAPI +// } +// func (m *mockCostExplorerClient) CreateAnomalyMonitor(input *costexplorer.CreateAnomalyMonitorInput) (*costexplorer.CreateAnomalyMonitorOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCostExplorerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCostExplorerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/doc.go index 6f6a07b864fb..b9d4d4ee1d4e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/doc.go @@ -9,11 +9,11 @@ // the number of daily write operations for Amazon DynamoDB database tables // in your production environment. // -// Service Endpoint +// # Service Endpoint // // The Cost Explorer API provides the following endpoint: // -// * https://ce.us-east-1.amazonaws.com +// - https://ce.us-east-1.amazonaws.com // // For information about the costs that are associated with the Cost Explorer // API, see Amazon Web Services Cost Management Pricing (http://aws.amazon.com/aws-cost-management/pricing/). @@ -23,7 +23,7 @@ // See costexplorer package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/costexplorer/ // -// Using the Client +// # Using the Client // // To contact AWS Cost Explorer Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/service.go index cd063e5e1935..f5cc4a4c62dc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/costexplorer/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CostExplorer client from just a session. -// svc := costexplorer.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CostExplorer client with additional configuration -// svc := costexplorer.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CostExplorer client from just a session. +// svc := costexplorer.New(mySession) +// +// // Create a CostExplorer client with additional configuration +// svc := costexplorer.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CostExplorer { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/api.go index 909d5a9d437a..7bccedfe3a91 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/api.go @@ -29,14 +29,13 @@ const opAddProfileKey = "AddProfileKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddProfileKeyRequest method. +// req, resp := client.AddProfileKeyRequest(params) // -// // Example sending a request using the AddProfileKeyRequest method. -// req, resp := client.AddProfileKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/AddProfileKey func (c *CustomerProfiles) AddProfileKeyRequest(input *AddProfileKeyInput) (req *request.Request, output *AddProfileKeyOutput) { @@ -71,20 +70,21 @@ func (c *CustomerProfiles) AddProfileKeyRequest(input *AddProfileKeyInput) (req // API operation AddProfileKey for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - BadRequestException +// The input you provided is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/AddProfileKey func (c *CustomerProfiles) AddProfileKey(input *AddProfileKeyInput) (*AddProfileKeyOutput, error) { @@ -124,14 +124,13 @@ const opCreateDomain = "CreateDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDomainRequest method. +// req, resp := client.CreateDomainRequest(params) // -// // Example sending a request using the CreateDomainRequest method. -// req, resp := client.CreateDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateDomain func (c *CustomerProfiles) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) { @@ -176,20 +175,21 @@ func (c *CustomerProfiles) CreateDomainRequest(input *CreateDomainInput) (req *r // API operation CreateDomain for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An internal service error occurred. +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateDomain func (c *CustomerProfiles) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) { @@ -229,14 +229,13 @@ const opCreateIntegrationWorkflow = "CreateIntegrationWorkflow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIntegrationWorkflowRequest method. +// req, resp := client.CreateIntegrationWorkflowRequest(params) // -// // Example sending a request using the CreateIntegrationWorkflowRequest method. -// req, resp := client.CreateIntegrationWorkflowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateIntegrationWorkflow func (c *CustomerProfiles) CreateIntegrationWorkflowRequest(input *CreateIntegrationWorkflowInput) (req *request.Request, output *CreateIntegrationWorkflowOutput) { @@ -269,20 +268,21 @@ func (c *CustomerProfiles) CreateIntegrationWorkflowRequest(input *CreateIntegra // API operation CreateIntegrationWorkflow for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An internal service error occurred. +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateIntegrationWorkflow func (c *CustomerProfiles) CreateIntegrationWorkflow(input *CreateIntegrationWorkflowInput) (*CreateIntegrationWorkflowOutput, error) { @@ -322,14 +322,13 @@ const opCreateProfile = "CreateProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProfileRequest method. +// req, resp := client.CreateProfileRequest(params) // -// // Example sending a request using the CreateProfileRequest method. -// req, resp := client.CreateProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateProfile func (c *CustomerProfiles) CreateProfileRequest(input *CreateProfileInput) (req *request.Request, output *CreateProfileOutput) { @@ -363,20 +362,21 @@ func (c *CustomerProfiles) CreateProfileRequest(input *CreateProfileInput) (req // API operation CreateProfile for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - BadRequestException +// The input you provided is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateProfile func (c *CustomerProfiles) CreateProfile(input *CreateProfileInput) (*CreateProfileOutput, error) { @@ -416,14 +416,13 @@ const opDeleteDomain = "DeleteDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainRequest method. +// req, resp := client.DeleteDomainRequest(params) // -// // Example sending a request using the DeleteDomainRequest method. -// req, resp := client.DeleteDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteDomain func (c *CustomerProfiles) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) { @@ -455,20 +454,21 @@ func (c *CustomerProfiles) DeleteDomainRequest(input *DeleteDomainInput) (req *r // API operation DeleteDomain for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteDomain func (c *CustomerProfiles) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) { @@ -508,14 +508,13 @@ const opDeleteIntegration = "DeleteIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIntegrationRequest method. +// req, resp := client.DeleteIntegrationRequest(params) // -// // Example sending a request using the DeleteIntegrationRequest method. -// req, resp := client.DeleteIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteIntegration func (c *CustomerProfiles) DeleteIntegrationRequest(input *DeleteIntegrationInput) (req *request.Request, output *DeleteIntegrationOutput) { @@ -546,20 +545,21 @@ func (c *CustomerProfiles) DeleteIntegrationRequest(input *DeleteIntegrationInpu // API operation DeleteIntegration for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteIntegration func (c *CustomerProfiles) DeleteIntegration(input *DeleteIntegrationInput) (*DeleteIntegrationOutput, error) { @@ -599,14 +599,13 @@ const opDeleteProfile = "DeleteProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProfileRequest method. +// req, resp := client.DeleteProfileRequest(params) // -// // Example sending a request using the DeleteProfileRequest method. -// req, resp := client.DeleteProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteProfile func (c *CustomerProfiles) DeleteProfileRequest(input *DeleteProfileInput) (req *request.Request, output *DeleteProfileOutput) { @@ -637,20 +636,21 @@ func (c *CustomerProfiles) DeleteProfileRequest(input *DeleteProfileInput) (req // API operation DeleteProfile for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - BadRequestException +// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * InternalServerException -// An internal service error occurred. +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteProfile func (c *CustomerProfiles) DeleteProfile(input *DeleteProfileInput) (*DeleteProfileOutput, error) { @@ -690,14 +690,13 @@ const opDeleteProfileKey = "DeleteProfileKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProfileKeyRequest method. +// req, resp := client.DeleteProfileKeyRequest(params) // -// // Example sending a request using the DeleteProfileKeyRequest method. -// req, resp := client.DeleteProfileKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteProfileKey func (c *CustomerProfiles) DeleteProfileKeyRequest(input *DeleteProfileKeyInput) (req *request.Request, output *DeleteProfileKeyOutput) { @@ -728,20 +727,21 @@ func (c *CustomerProfiles) DeleteProfileKeyRequest(input *DeleteProfileKeyInput) // API operation DeleteProfileKey for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - BadRequestException +// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * InternalServerException -// An internal service error occurred. +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteProfileKey func (c *CustomerProfiles) DeleteProfileKey(input *DeleteProfileKeyInput) (*DeleteProfileKeyOutput, error) { @@ -781,14 +781,13 @@ const opDeleteProfileObject = "DeleteProfileObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProfileObjectRequest method. +// req, resp := client.DeleteProfileObjectRequest(params) // -// // Example sending a request using the DeleteProfileObjectRequest method. -// req, resp := client.DeleteProfileObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteProfileObject func (c *CustomerProfiles) DeleteProfileObjectRequest(input *DeleteProfileObjectInput) (req *request.Request, output *DeleteProfileObjectOutput) { @@ -819,20 +818,21 @@ func (c *CustomerProfiles) DeleteProfileObjectRequest(input *DeleteProfileObject // API operation DeleteProfileObject for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - BadRequestException +// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * InternalServerException -// An internal service error occurred. +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteProfileObject func (c *CustomerProfiles) DeleteProfileObject(input *DeleteProfileObjectInput) (*DeleteProfileObjectOutput, error) { @@ -872,14 +872,13 @@ const opDeleteProfileObjectType = "DeleteProfileObjectType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProfileObjectTypeRequest method. +// req, resp := client.DeleteProfileObjectTypeRequest(params) // -// // Example sending a request using the DeleteProfileObjectTypeRequest method. -// req, resp := client.DeleteProfileObjectTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteProfileObjectType func (c *CustomerProfiles) DeleteProfileObjectTypeRequest(input *DeleteProfileObjectTypeInput) (req *request.Request, output *DeleteProfileObjectTypeOutput) { @@ -913,20 +912,21 @@ func (c *CustomerProfiles) DeleteProfileObjectTypeRequest(input *DeleteProfileOb // API operation DeleteProfileObjectType for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An internal service error occurred. +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteProfileObjectType func (c *CustomerProfiles) DeleteProfileObjectType(input *DeleteProfileObjectTypeInput) (*DeleteProfileObjectTypeOutput, error) { @@ -966,14 +966,13 @@ const opDeleteWorkflow = "DeleteWorkflow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorkflowRequest method. +// req, resp := client.DeleteWorkflowRequest(params) // -// // Example sending a request using the DeleteWorkflowRequest method. -// req, resp := client.DeleteWorkflowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteWorkflow func (c *CustomerProfiles) DeleteWorkflowRequest(input *DeleteWorkflowInput) (req *request.Request, output *DeleteWorkflowOutput) { @@ -1006,20 +1005,21 @@ func (c *CustomerProfiles) DeleteWorkflowRequest(input *DeleteWorkflowInput) (re // API operation DeleteWorkflow for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteWorkflow func (c *CustomerProfiles) DeleteWorkflow(input *DeleteWorkflowInput) (*DeleteWorkflowOutput, error) { @@ -1059,14 +1059,13 @@ const opGetAutoMergingPreview = "GetAutoMergingPreview" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAutoMergingPreviewRequest method. +// req, resp := client.GetAutoMergingPreviewRequest(params) // -// // Example sending a request using the GetAutoMergingPreviewRequest method. -// req, resp := client.GetAutoMergingPreviewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetAutoMergingPreview func (c *CustomerProfiles) GetAutoMergingPreviewRequest(input *GetAutoMergingPreviewInput) (req *request.Request, output *GetAutoMergingPreviewOutput) { @@ -1110,20 +1109,21 @@ func (c *CustomerProfiles) GetAutoMergingPreviewRequest(input *GetAutoMergingPre // API operation GetAutoMergingPreview for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetAutoMergingPreview func (c *CustomerProfiles) GetAutoMergingPreview(input *GetAutoMergingPreviewInput) (*GetAutoMergingPreviewOutput, error) { @@ -1163,14 +1163,13 @@ const opGetDomain = "GetDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainRequest method. +// req, resp := client.GetDomainRequest(params) // -// // Example sending a request using the GetDomainRequest method. -// req, resp := client.GetDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetDomain func (c *CustomerProfiles) GetDomainRequest(input *GetDomainInput) (req *request.Request, output *GetDomainOutput) { @@ -1201,20 +1200,21 @@ func (c *CustomerProfiles) GetDomainRequest(input *GetDomainInput) (req *request // API operation GetDomain for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetDomain func (c *CustomerProfiles) GetDomain(input *GetDomainInput) (*GetDomainOutput, error) { @@ -1254,14 +1254,13 @@ const opGetIdentityResolutionJob = "GetIdentityResolutionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIdentityResolutionJobRequest method. +// req, resp := client.GetIdentityResolutionJobRequest(params) // -// // Example sending a request using the GetIdentityResolutionJobRequest method. -// req, resp := client.GetIdentityResolutionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetIdentityResolutionJob func (c *CustomerProfiles) GetIdentityResolutionJobRequest(input *GetIdentityResolutionJobInput) (req *request.Request, output *GetIdentityResolutionJobOutput) { @@ -1296,20 +1295,21 @@ func (c *CustomerProfiles) GetIdentityResolutionJobRequest(input *GetIdentityRes // API operation GetIdentityResolutionJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An internal service error occurred. +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetIdentityResolutionJob func (c *CustomerProfiles) GetIdentityResolutionJob(input *GetIdentityResolutionJobInput) (*GetIdentityResolutionJobOutput, error) { @@ -1349,14 +1349,13 @@ const opGetIntegration = "GetIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIntegrationRequest method. +// req, resp := client.GetIntegrationRequest(params) // -// // Example sending a request using the GetIntegrationRequest method. -// req, resp := client.GetIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetIntegration func (c *CustomerProfiles) GetIntegrationRequest(input *GetIntegrationInput) (req *request.Request, output *GetIntegrationOutput) { @@ -1387,20 +1386,21 @@ func (c *CustomerProfiles) GetIntegrationRequest(input *GetIntegrationInput) (re // API operation GetIntegration for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An internal service error occurred. +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetIntegration func (c *CustomerProfiles) GetIntegration(input *GetIntegrationInput) (*GetIntegrationOutput, error) { @@ -1440,14 +1440,13 @@ const opGetMatches = "GetMatches" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMatchesRequest method. +// req, resp := client.GetMatchesRequest(params) // -// // Example sending a request using the GetMatchesRequest method. -// req, resp := client.GetMatchesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetMatches func (c *CustomerProfiles) GetMatchesRequest(input *GetMatchesInput) (req *request.Request, output *GetMatchesOutput) { @@ -1487,21 +1486,21 @@ func (c *CustomerProfiles) GetMatchesRequest(input *GetMatchesInput) (req *reque // // Amazon Connect uses the following profile attributes to identify matches: // -// * PhoneNumber +// - PhoneNumber // -// * HomePhoneNumber +// - HomePhoneNumber // -// * BusinessPhoneNumber +// - BusinessPhoneNumber // -// * MobilePhoneNumber +// - MobilePhoneNumber // -// * EmailAddress +// - EmailAddress // -// * PersonalEmailAddress +// - PersonalEmailAddress // -// * BusinessEmailAddress +// - BusinessEmailAddress // -// * FullName +// - FullName // // For example, two or more profiles—with spelling mistakes such as John Doe // and Jhn Doe, or different casing email addresses such as JOHN_DOE@ANYCOMPANY.COM @@ -1517,20 +1516,21 @@ func (c *CustomerProfiles) GetMatchesRequest(input *GetMatchesInput) (req *reque // API operation GetMatches for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - BadRequestException +// The input you provided is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetMatches func (c *CustomerProfiles) GetMatches(input *GetMatchesInput) (*GetMatchesOutput, error) { @@ -1570,14 +1570,13 @@ const opGetProfileObjectType = "GetProfileObjectType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetProfileObjectTypeRequest method. +// req, resp := client.GetProfileObjectTypeRequest(params) // -// // Example sending a request using the GetProfileObjectTypeRequest method. -// req, resp := client.GetProfileObjectTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetProfileObjectType func (c *CustomerProfiles) GetProfileObjectTypeRequest(input *GetProfileObjectTypeInput) (req *request.Request, output *GetProfileObjectTypeOutput) { @@ -1608,20 +1607,21 @@ func (c *CustomerProfiles) GetProfileObjectTypeRequest(input *GetProfileObjectTy // API operation GetProfileObjectType for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetProfileObjectType func (c *CustomerProfiles) GetProfileObjectType(input *GetProfileObjectTypeInput) (*GetProfileObjectTypeOutput, error) { @@ -1661,14 +1661,13 @@ const opGetProfileObjectTypeTemplate = "GetProfileObjectTypeTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetProfileObjectTypeTemplateRequest method. +// req, resp := client.GetProfileObjectTypeTemplateRequest(params) // -// // Example sending a request using the GetProfileObjectTypeTemplateRequest method. -// req, resp := client.GetProfileObjectTypeTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetProfileObjectTypeTemplate func (c *CustomerProfiles) GetProfileObjectTypeTemplateRequest(input *GetProfileObjectTypeTemplateInput) (req *request.Request, output *GetProfileObjectTypeTemplateOutput) { @@ -1704,20 +1703,21 @@ func (c *CustomerProfiles) GetProfileObjectTypeTemplateRequest(input *GetProfile // API operation GetProfileObjectTypeTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetProfileObjectTypeTemplate func (c *CustomerProfiles) GetProfileObjectTypeTemplate(input *GetProfileObjectTypeTemplateInput) (*GetProfileObjectTypeTemplateOutput, error) { @@ -1757,14 +1757,13 @@ const opGetWorkflow = "GetWorkflow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWorkflowRequest method. +// req, resp := client.GetWorkflowRequest(params) // -// // Example sending a request using the GetWorkflowRequest method. -// req, resp := client.GetWorkflowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetWorkflow func (c *CustomerProfiles) GetWorkflowRequest(input *GetWorkflowInput) (req *request.Request, output *GetWorkflowOutput) { @@ -1795,20 +1794,21 @@ func (c *CustomerProfiles) GetWorkflowRequest(input *GetWorkflowInput) (req *req // API operation GetWorkflow for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetWorkflow func (c *CustomerProfiles) GetWorkflow(input *GetWorkflowInput) (*GetWorkflowOutput, error) { @@ -1848,14 +1848,13 @@ const opGetWorkflowSteps = "GetWorkflowSteps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWorkflowStepsRequest method. +// req, resp := client.GetWorkflowStepsRequest(params) // -// // Example sending a request using the GetWorkflowStepsRequest method. -// req, resp := client.GetWorkflowStepsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetWorkflowSteps func (c *CustomerProfiles) GetWorkflowStepsRequest(input *GetWorkflowStepsInput) (req *request.Request, output *GetWorkflowStepsOutput) { @@ -1886,20 +1885,21 @@ func (c *CustomerProfiles) GetWorkflowStepsRequest(input *GetWorkflowStepsInput) // API operation GetWorkflowSteps for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetWorkflowSteps func (c *CustomerProfiles) GetWorkflowSteps(input *GetWorkflowStepsInput) (*GetWorkflowStepsOutput, error) { @@ -1939,14 +1939,13 @@ const opListAccountIntegrations = "ListAccountIntegrations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccountIntegrationsRequest method. +// req, resp := client.ListAccountIntegrationsRequest(params) // -// // Example sending a request using the ListAccountIntegrationsRequest method. -// req, resp := client.ListAccountIntegrationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListAccountIntegrations func (c *CustomerProfiles) ListAccountIntegrationsRequest(input *ListAccountIntegrationsInput) (req *request.Request, output *ListAccountIntegrationsOutput) { @@ -1977,20 +1976,21 @@ func (c *CustomerProfiles) ListAccountIntegrationsRequest(input *ListAccountInte // API operation ListAccountIntegrations for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An internal service error occurred. +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListAccountIntegrations func (c *CustomerProfiles) ListAccountIntegrations(input *ListAccountIntegrationsInput) (*ListAccountIntegrationsOutput, error) { @@ -2030,14 +2030,13 @@ const opListDomains = "ListDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainsRequest method. +// req, resp := client.ListDomainsRequest(params) // -// // Example sending a request using the ListDomainsRequest method. -// req, resp := client.ListDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListDomains func (c *CustomerProfiles) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) { @@ -2068,20 +2067,21 @@ func (c *CustomerProfiles) ListDomainsRequest(input *ListDomainsInput) (req *req // API operation ListDomains for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An internal service error occurred. +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListDomains func (c *CustomerProfiles) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) { @@ -2121,14 +2121,13 @@ const opListIdentityResolutionJobs = "ListIdentityResolutionJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIdentityResolutionJobsRequest method. +// req, resp := client.ListIdentityResolutionJobsRequest(params) // -// // Example sending a request using the ListIdentityResolutionJobsRequest method. -// req, resp := client.ListIdentityResolutionJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListIdentityResolutionJobs func (c *CustomerProfiles) ListIdentityResolutionJobsRequest(input *ListIdentityResolutionJobsInput) (req *request.Request, output *ListIdentityResolutionJobsOutput) { @@ -2160,20 +2159,21 @@ func (c *CustomerProfiles) ListIdentityResolutionJobsRequest(input *ListIdentity // API operation ListIdentityResolutionJobs for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListIdentityResolutionJobs func (c *CustomerProfiles) ListIdentityResolutionJobs(input *ListIdentityResolutionJobsInput) (*ListIdentityResolutionJobsOutput, error) { @@ -2213,14 +2213,13 @@ const opListIntegrations = "ListIntegrations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIntegrationsRequest method. +// req, resp := client.ListIntegrationsRequest(params) // -// // Example sending a request using the ListIntegrationsRequest method. -// req, resp := client.ListIntegrationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListIntegrations func (c *CustomerProfiles) ListIntegrationsRequest(input *ListIntegrationsInput) (req *request.Request, output *ListIntegrationsOutput) { @@ -2251,20 +2250,21 @@ func (c *CustomerProfiles) ListIntegrationsRequest(input *ListIntegrationsInput) // API operation ListIntegrations for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListIntegrations func (c *CustomerProfiles) ListIntegrations(input *ListIntegrationsInput) (*ListIntegrationsOutput, error) { @@ -2304,14 +2304,13 @@ const opListProfileObjectTypeTemplates = "ListProfileObjectTypeTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProfileObjectTypeTemplatesRequest method. +// req, resp := client.ListProfileObjectTypeTemplatesRequest(params) // -// // Example sending a request using the ListProfileObjectTypeTemplatesRequest method. -// req, resp := client.ListProfileObjectTypeTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListProfileObjectTypeTemplates func (c *CustomerProfiles) ListProfileObjectTypeTemplatesRequest(input *ListProfileObjectTypeTemplatesInput) (req *request.Request, output *ListProfileObjectTypeTemplatesOutput) { @@ -2342,20 +2341,21 @@ func (c *CustomerProfiles) ListProfileObjectTypeTemplatesRequest(input *ListProf // API operation ListProfileObjectTypeTemplates for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListProfileObjectTypeTemplates func (c *CustomerProfiles) ListProfileObjectTypeTemplates(input *ListProfileObjectTypeTemplatesInput) (*ListProfileObjectTypeTemplatesOutput, error) { @@ -2395,14 +2395,13 @@ const opListProfileObjectTypes = "ListProfileObjectTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProfileObjectTypesRequest method. +// req, resp := client.ListProfileObjectTypesRequest(params) // -// // Example sending a request using the ListProfileObjectTypesRequest method. -// req, resp := client.ListProfileObjectTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListProfileObjectTypes func (c *CustomerProfiles) ListProfileObjectTypesRequest(input *ListProfileObjectTypesInput) (req *request.Request, output *ListProfileObjectTypesOutput) { @@ -2433,20 +2432,21 @@ func (c *CustomerProfiles) ListProfileObjectTypesRequest(input *ListProfileObjec // API operation ListProfileObjectTypes for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An internal service error occurred. +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListProfileObjectTypes func (c *CustomerProfiles) ListProfileObjectTypes(input *ListProfileObjectTypesInput) (*ListProfileObjectTypesOutput, error) { @@ -2486,14 +2486,13 @@ const opListProfileObjects = "ListProfileObjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProfileObjectsRequest method. +// req, resp := client.ListProfileObjectsRequest(params) // -// // Example sending a request using the ListProfileObjectsRequest method. -// req, resp := client.ListProfileObjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListProfileObjects func (c *CustomerProfiles) ListProfileObjectsRequest(input *ListProfileObjectsInput) (req *request.Request, output *ListProfileObjectsOutput) { @@ -2524,20 +2523,21 @@ func (c *CustomerProfiles) ListProfileObjectsRequest(input *ListProfileObjectsIn // API operation ListProfileObjects for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - BadRequestException +// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * InternalServerException -// An internal service error occurred. +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListProfileObjects func (c *CustomerProfiles) ListProfileObjects(input *ListProfileObjectsInput) (*ListProfileObjectsOutput, error) { @@ -2577,14 +2577,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListTagsForResource func (c *CustomerProfiles) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2617,14 +2616,15 @@ func (c *CustomerProfiles) ListTagsForResourceRequest(input *ListTagsForResource // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal service error occurred. // -// * BadRequestException -// The input you provided is invalid. +// - InternalServerException +// An internal service error occurred. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListTagsForResource func (c *CustomerProfiles) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2664,14 +2664,13 @@ const opListWorkflows = "ListWorkflows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorkflowsRequest method. +// req, resp := client.ListWorkflowsRequest(params) // -// // Example sending a request using the ListWorkflowsRequest method. -// req, resp := client.ListWorkflowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListWorkflows func (c *CustomerProfiles) ListWorkflowsRequest(input *ListWorkflowsInput) (req *request.Request, output *ListWorkflowsOutput) { @@ -2702,20 +2701,21 @@ func (c *CustomerProfiles) ListWorkflowsRequest(input *ListWorkflowsInput) (req // API operation ListWorkflows for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An internal service error occurred. +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListWorkflows func (c *CustomerProfiles) ListWorkflows(input *ListWorkflowsInput) (*ListWorkflowsOutput, error) { @@ -2755,14 +2755,13 @@ const opMergeProfiles = "MergeProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MergeProfilesRequest method. +// req, resp := client.MergeProfilesRequest(params) // -// // Example sending a request using the MergeProfilesRequest method. -// req, resp := client.MergeProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/MergeProfiles func (c *CustomerProfiles) MergeProfilesRequest(input *MergeProfilesInput) (req *request.Request, output *MergeProfilesOutput) { @@ -2820,17 +2819,18 @@ func (c *CustomerProfiles) MergeProfilesRequest(input *MergeProfilesInput) (req // API operation MergeProfiles for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/MergeProfiles func (c *CustomerProfiles) MergeProfiles(input *MergeProfilesInput) (*MergeProfilesOutput, error) { @@ -2870,14 +2870,13 @@ const opPutIntegration = "PutIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutIntegrationRequest method. +// req, resp := client.PutIntegrationRequest(params) // -// // Example sending a request using the PutIntegrationRequest method. -// req, resp := client.PutIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/PutIntegration func (c *CustomerProfiles) PutIntegrationRequest(input *PutIntegrationInput) (req *request.Request, output *PutIntegrationOutput) { @@ -2911,20 +2910,21 @@ func (c *CustomerProfiles) PutIntegrationRequest(input *PutIntegrationInput) (re // API operation PutIntegration for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/PutIntegration func (c *CustomerProfiles) PutIntegration(input *PutIntegrationInput) (*PutIntegrationOutput, error) { @@ -2964,14 +2964,13 @@ const opPutProfileObject = "PutProfileObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutProfileObjectRequest method. +// req, resp := client.PutProfileObjectRequest(params) // -// // Example sending a request using the PutProfileObjectRequest method. -// req, resp := client.PutProfileObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/PutProfileObject func (c *CustomerProfiles) PutProfileObjectRequest(input *PutProfileObjectInput) (req *request.Request, output *PutProfileObjectOutput) { @@ -3014,20 +3013,21 @@ func (c *CustomerProfiles) PutProfileObjectRequest(input *PutProfileObjectInput) // API operation PutProfileObject for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - BadRequestException +// The input you provided is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/PutProfileObject func (c *CustomerProfiles) PutProfileObject(input *PutProfileObjectInput) (*PutProfileObjectOutput, error) { @@ -3067,14 +3067,13 @@ const opPutProfileObjectType = "PutProfileObjectType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutProfileObjectTypeRequest method. +// req, resp := client.PutProfileObjectTypeRequest(params) // -// // Example sending a request using the PutProfileObjectTypeRequest method. -// req, resp := client.PutProfileObjectTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/PutProfileObjectType func (c *CustomerProfiles) PutProfileObjectTypeRequest(input *PutProfileObjectTypeInput) (req *request.Request, output *PutProfileObjectTypeOutput) { @@ -3105,20 +3104,21 @@ func (c *CustomerProfiles) PutProfileObjectTypeRequest(input *PutProfileObjectTy // API operation PutProfileObjectType for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// An internal service error occurred. +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/PutProfileObjectType func (c *CustomerProfiles) PutProfileObjectType(input *PutProfileObjectTypeInput) (*PutProfileObjectTypeOutput, error) { @@ -3158,14 +3158,13 @@ const opSearchProfiles = "SearchProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchProfilesRequest method. +// req, resp := client.SearchProfilesRequest(params) // -// // Example sending a request using the SearchProfilesRequest method. -// req, resp := client.SearchProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/SearchProfiles func (c *CustomerProfiles) SearchProfilesRequest(input *SearchProfilesInput) (req *request.Request, output *SearchProfilesOutput) { @@ -3197,20 +3196,21 @@ func (c *CustomerProfiles) SearchProfilesRequest(input *SearchProfilesInput) (re // API operation SearchProfiles for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - BadRequestException +// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * InternalServerException -// An internal service error occurred. +// - ThrottlingException +// You exceeded the maximum number of requests. +// +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/SearchProfiles func (c *CustomerProfiles) SearchProfiles(input *SearchProfilesInput) (*SearchProfilesOutput, error) { @@ -3250,14 +3250,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/TagResource func (c *CustomerProfiles) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3305,14 +3304,15 @@ func (c *CustomerProfiles) TagResourceRequest(input *TagResourceInput) (req *req // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal service error occurred. // -// * BadRequestException -// The input you provided is invalid. +// - InternalServerException +// An internal service error occurred. +// +// - BadRequestException +// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/TagResource func (c *CustomerProfiles) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3352,14 +3352,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/UntagResource func (c *CustomerProfiles) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3393,14 +3392,15 @@ func (c *CustomerProfiles) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal service error occurred. // -// * BadRequestException -// The input you provided is invalid. +// - InternalServerException +// An internal service error occurred. +// +// - BadRequestException +// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/UntagResource func (c *CustomerProfiles) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3440,14 +3440,13 @@ const opUpdateDomain = "UpdateDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDomainRequest method. +// req, resp := client.UpdateDomainRequest(params) // -// // Example sending a request using the UpdateDomainRequest method. -// req, resp := client.UpdateDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/UpdateDomain func (c *CustomerProfiles) UpdateDomainRequest(input *UpdateDomainInput) (req *request.Request, output *UpdateDomainOutput) { @@ -3489,20 +3488,21 @@ func (c *CustomerProfiles) UpdateDomainRequest(input *UpdateDomainInput) (req *r // API operation UpdateDomain for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - BadRequestException +// The input you provided is invalid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/UpdateDomain func (c *CustomerProfiles) UpdateDomain(input *UpdateDomainInput) (*UpdateDomainOutput, error) { @@ -3542,14 +3542,13 @@ const opUpdateProfile = "UpdateProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProfileRequest method. +// req, resp := client.UpdateProfileRequest(params) // -// // Example sending a request using the UpdateProfileRequest method. -// req, resp := client.UpdateProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/UpdateProfile func (c *CustomerProfiles) UpdateProfileRequest(input *UpdateProfileInput) (req *request.Request, output *UpdateProfileOutput) { @@ -3585,20 +3584,21 @@ func (c *CustomerProfiles) UpdateProfileRequest(input *UpdateProfileInput) (req // API operation UpdateProfile for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - BadRequestException +// The input you provided is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ThrottlingException -// You exceeded the maximum number of requests. +// - ThrottlingException +// You exceeded the maximum number of requests. // -// * InternalServerException -// An internal service error occurred. +// - InternalServerException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/UpdateProfile func (c *CustomerProfiles) UpdateProfile(input *UpdateProfileInput) (*UpdateProfileOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/customerprofilesiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/customerprofilesiface/interface.go index ee65cf2a719f..e14f8ee40db4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/customerprofilesiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/customerprofilesiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Connect Customer Profiles. -// func myFunc(svc customerprofilesiface.CustomerProfilesAPI) bool { -// // Make svc.AddProfileKey request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Connect Customer Profiles. +// func myFunc(svc customerprofilesiface.CustomerProfilesAPI) bool { +// // Make svc.AddProfileKey request +// } // -// func main() { -// sess := session.New() -// svc := customerprofiles.New(sess) +// func main() { +// sess := session.New() +// svc := customerprofiles.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockCustomerProfilesClient struct { -// customerprofilesiface.CustomerProfilesAPI -// } -// func (m *mockCustomerProfilesClient) AddProfileKey(input *customerprofiles.AddProfileKeyInput) (*customerprofiles.AddProfileKeyOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockCustomerProfilesClient struct { +// customerprofilesiface.CustomerProfilesAPI +// } +// func (m *mockCustomerProfilesClient) AddProfileKey(input *customerprofiles.AddProfileKeyInput) (*customerprofiles.AddProfileKeyOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockCustomerProfilesClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockCustomerProfilesClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/doc.go index 7cd7f4f36d58..19ed991fe43a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/doc.go @@ -21,7 +21,7 @@ // See customerprofiles package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/customerprofiles/ // -// Using the Client +// # Using the Client // // To contact Amazon Connect Customer Profiles with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/service.go index 4c6f63bc657d..85aa94c8e39e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/customerprofiles/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a CustomerProfiles client from just a session. -// svc := customerprofiles.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a CustomerProfiles client with additional configuration -// svc := customerprofiles.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a CustomerProfiles client from just a session. +// svc := customerprofiles.New(mySession) +// +// // Create a CustomerProfiles client with additional configuration +// svc := customerprofiles.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *CustomerProfiles { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/api.go index 475beb067f7b..8312fe590348 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/api.go @@ -29,14 +29,13 @@ const opAddTagsToResource = "AddTagsToResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsToResourceRequest method. +// req, resp := client.AddTagsToResourceRequest(params) // -// // Example sending a request using the AddTagsToResourceRequest method. -// req, resp := client.AddTagsToResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource func (c *DatabaseMigrationService) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput) { @@ -73,8 +72,8 @@ func (c *DatabaseMigrationService) AddTagsToResourceRequest(input *AddTagsToReso // API operation AddTagsToResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/AddTagsToResource func (c *DatabaseMigrationService) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error) { @@ -114,14 +113,13 @@ const opApplyPendingMaintenanceAction = "ApplyPendingMaintenanceAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ApplyPendingMaintenanceActionRequest method. +// req, resp := client.ApplyPendingMaintenanceActionRequest(params) // -// // Example sending a request using the ApplyPendingMaintenanceActionRequest method. -// req, resp := client.ApplyPendingMaintenanceActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ApplyPendingMaintenanceAction func (c *DatabaseMigrationService) ApplyPendingMaintenanceActionRequest(input *ApplyPendingMaintenanceActionInput) (req *request.Request, output *ApplyPendingMaintenanceActionOutput) { @@ -153,8 +151,8 @@ func (c *DatabaseMigrationService) ApplyPendingMaintenanceActionRequest(input *A // API operation ApplyPendingMaintenanceAction for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ApplyPendingMaintenanceAction func (c *DatabaseMigrationService) ApplyPendingMaintenanceAction(input *ApplyPendingMaintenanceActionInput) (*ApplyPendingMaintenanceActionOutput, error) { @@ -194,14 +192,13 @@ const opCancelReplicationTaskAssessmentRun = "CancelReplicationTaskAssessmentRun // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelReplicationTaskAssessmentRunRequest method. +// req, resp := client.CancelReplicationTaskAssessmentRunRequest(params) // -// // Example sending a request using the CancelReplicationTaskAssessmentRunRequest method. -// req, resp := client.CancelReplicationTaskAssessmentRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelReplicationTaskAssessmentRun func (c *DatabaseMigrationService) CancelReplicationTaskAssessmentRunRequest(input *CancelReplicationTaskAssessmentRunInput) (req *request.Request, output *CancelReplicationTaskAssessmentRunOutput) { @@ -236,15 +233,16 @@ func (c *DatabaseMigrationService) CancelReplicationTaskAssessmentRunRequest(inp // API operation CancelReplicationTaskAssessmentRun for usage and error information. // // Returned Error Types: -// * AccessDeniedFault -// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * ResourceNotFoundFault -// The resource could not be found. +// - AccessDeniedFault +// DMS was denied access to the endpoint. Check that the role is correctly configured. +// +// - ResourceNotFoundFault +// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CancelReplicationTaskAssessmentRun func (c *DatabaseMigrationService) CancelReplicationTaskAssessmentRun(input *CancelReplicationTaskAssessmentRunInput) (*CancelReplicationTaskAssessmentRunOutput, error) { @@ -284,14 +282,13 @@ const opCreateEndpoint = "CreateEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEndpointRequest method. +// req, resp := client.CreateEndpointRequest(params) // -// // Example sending a request using the CreateEndpointRequest method. -// req, resp := client.CreateEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint func (c *DatabaseMigrationService) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput) { @@ -329,27 +326,28 @@ func (c *DatabaseMigrationService) CreateEndpointRequest(input *CreateEndpointIn // API operation CreateEndpoint for usage and error information. // // Returned Error Types: -// * KMSKeyNotAccessibleFault -// DMS cannot access the KMS key. // -// * ResourceAlreadyExistsFault -// The resource you are attempting to create already exists. +// - KMSKeyNotAccessibleFault +// DMS cannot access the KMS key. +// +// - ResourceAlreadyExistsFault +// The resource you are attempting to create already exists. // -// * ResourceQuotaExceededFault -// The quota for this resource quota has been exceeded. +// - ResourceQuotaExceededFault +// The quota for this resource quota has been exceeded. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // -// * AccessDeniedFault -// DMS was denied access to the endpoint. Check that the role is correctly configured. +// - AccessDeniedFault +// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * S3AccessDeniedFault -// Insufficient privileges are preventing access to an Amazon S3 object. +// - S3AccessDeniedFault +// Insufficient privileges are preventing access to an Amazon S3 object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEndpoint func (c *DatabaseMigrationService) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error) { @@ -389,14 +387,13 @@ const opCreateEventSubscription = "CreateEventSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEventSubscriptionRequest method. +// req, resp := client.CreateEventSubscriptionRequest(params) // -// // Example sending a request using the CreateEventSubscriptionRequest method. -// req, resp := client.CreateEventSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscription func (c *DatabaseMigrationService) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput) { @@ -443,36 +440,37 @@ func (c *DatabaseMigrationService) CreateEventSubscriptionRequest(input *CreateE // API operation CreateEventSubscription for usage and error information. // // Returned Error Types: -// * ResourceQuotaExceededFault -// The quota for this resource quota has been exceeded. // -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceQuotaExceededFault +// The quota for this resource quota has been exceeded. // -// * ResourceAlreadyExistsFault -// The resource you are attempting to create already exists. +// - ResourceNotFoundFault +// The resource could not be found. // -// * SNSInvalidTopicFault -// The SNS topic is invalid. +// - ResourceAlreadyExistsFault +// The resource you are attempting to create already exists. // -// * SNSNoAuthorizationFault -// You are not authorized for the SNS subscription. +// - SNSInvalidTopicFault +// The SNS topic is invalid. // -// * KMSAccessDeniedFault -// The ciphertext references a key that doesn't exist or that the DMS account -// doesn't have access to. +// - SNSNoAuthorizationFault +// You are not authorized for the SNS subscription. // -// * KMSDisabledFault -// The specified KMS key isn't enabled. +// - KMSAccessDeniedFault +// The ciphertext references a key that doesn't exist or that the DMS account +// doesn't have access to. // -// * KMSInvalidStateFault -// The state of the specified KMS resource isn't valid for this request. +// - KMSDisabledFault +// The specified KMS key isn't enabled. // -// * KMSNotFoundFault -// The specified KMS entity or resource can't be found. +// - KMSInvalidStateFault +// The state of the specified KMS resource isn't valid for this request. // -// * KMSThrottlingFault -// This request triggered KMS request throttling. +// - KMSNotFoundFault +// The specified KMS entity or resource can't be found. +// +// - KMSThrottlingFault +// This request triggered KMS request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateEventSubscription func (c *DatabaseMigrationService) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error) { @@ -512,14 +510,13 @@ const opCreateReplicationInstance = "CreateReplicationInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReplicationInstanceRequest method. +// req, resp := client.CreateReplicationInstanceRequest(params) // -// // Example sending a request using the CreateReplicationInstanceRequest method. -// req, resp := client.CreateReplicationInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstance func (c *DatabaseMigrationService) CreateReplicationInstanceRequest(input *CreateReplicationInstanceInput) (req *request.Request, output *CreateReplicationInstanceOutput) { @@ -556,37 +553,38 @@ func (c *DatabaseMigrationService) CreateReplicationInstanceRequest(input *Creat // API operation CreateReplicationInstance for usage and error information. // // Returned Error Types: -// * AccessDeniedFault -// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * ResourceAlreadyExistsFault -// The resource you are attempting to create already exists. +// - AccessDeniedFault +// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * InsufficientResourceCapacityFault -// There are not enough resources allocated to the database migration. +// - ResourceAlreadyExistsFault +// The resource you are attempting to create already exists. // -// * ResourceQuotaExceededFault -// The quota for this resource quota has been exceeded. +// - InsufficientResourceCapacityFault +// There are not enough resources allocated to the database migration. // -// * StorageQuotaExceededFault -// The storage quota has been exceeded. +// - ResourceQuotaExceededFault +// The quota for this resource quota has been exceeded. // -// * ResourceNotFoundFault -// The resource could not be found. +// - StorageQuotaExceededFault +// The storage quota has been exceeded. // -// * ReplicationSubnetGroupDoesNotCoverEnoughAZs -// The replication subnet group does not cover enough Availability Zones (AZs). -// Edit the replication subnet group and add more AZs. +// - ResourceNotFoundFault +// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - ReplicationSubnetGroupDoesNotCoverEnoughAZs +// The replication subnet group does not cover enough Availability Zones (AZs). +// Edit the replication subnet group and add more AZs. // -// * InvalidSubnet -// The subnet provided is invalid. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // -// * KMSKeyNotAccessibleFault -// DMS cannot access the KMS key. +// - InvalidSubnet +// The subnet provided is invalid. +// +// - KMSKeyNotAccessibleFault +// DMS cannot access the KMS key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationInstance func (c *DatabaseMigrationService) CreateReplicationInstance(input *CreateReplicationInstanceInput) (*CreateReplicationInstanceOutput, error) { @@ -626,14 +624,13 @@ const opCreateReplicationSubnetGroup = "CreateReplicationSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReplicationSubnetGroupRequest method. +// req, resp := client.CreateReplicationSubnetGroupRequest(params) // -// // Example sending a request using the CreateReplicationSubnetGroupRequest method. -// req, resp := client.CreateReplicationSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationSubnetGroup func (c *DatabaseMigrationService) CreateReplicationSubnetGroupRequest(input *CreateReplicationSubnetGroupInput) (req *request.Request, output *CreateReplicationSubnetGroupOutput) { @@ -668,24 +665,25 @@ func (c *DatabaseMigrationService) CreateReplicationSubnetGroupRequest(input *Cr // API operation CreateReplicationSubnetGroup for usage and error information. // // Returned Error Types: -// * AccessDeniedFault -// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * ResourceAlreadyExistsFault -// The resource you are attempting to create already exists. +// - AccessDeniedFault +// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceAlreadyExistsFault +// The resource you are attempting to create already exists. // -// * ResourceQuotaExceededFault -// The quota for this resource quota has been exceeded. +// - ResourceNotFoundFault +// The resource could not be found. // -// * ReplicationSubnetGroupDoesNotCoverEnoughAZs -// The replication subnet group does not cover enough Availability Zones (AZs). -// Edit the replication subnet group and add more AZs. +// - ResourceQuotaExceededFault +// The quota for this resource quota has been exceeded. // -// * InvalidSubnet -// The subnet provided is invalid. +// - ReplicationSubnetGroupDoesNotCoverEnoughAZs +// The replication subnet group does not cover enough Availability Zones (AZs). +// Edit the replication subnet group and add more AZs. +// +// - InvalidSubnet +// The subnet provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationSubnetGroup func (c *DatabaseMigrationService) CreateReplicationSubnetGroup(input *CreateReplicationSubnetGroupInput) (*CreateReplicationSubnetGroupOutput, error) { @@ -725,14 +723,13 @@ const opCreateReplicationTask = "CreateReplicationTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReplicationTaskRequest method. +// req, resp := client.CreateReplicationTaskRequest(params) // -// // Example sending a request using the CreateReplicationTaskRequest method. -// req, resp := client.CreateReplicationTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTask func (c *DatabaseMigrationService) CreateReplicationTaskRequest(input *CreateReplicationTaskInput) (req *request.Request, output *CreateReplicationTaskOutput) { @@ -763,24 +760,25 @@ func (c *DatabaseMigrationService) CreateReplicationTaskRequest(input *CreateRep // API operation CreateReplicationTask for usage and error information. // // Returned Error Types: -// * AccessDeniedFault -// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - AccessDeniedFault +// DMS was denied access to the endpoint. Check that the role is correctly configured. +// +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // -// * ResourceAlreadyExistsFault -// The resource you are attempting to create already exists. +// - ResourceAlreadyExistsFault +// The resource you are attempting to create already exists. // -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // -// * KMSKeyNotAccessibleFault -// DMS cannot access the KMS key. +// - KMSKeyNotAccessibleFault +// DMS cannot access the KMS key. // -// * ResourceQuotaExceededFault -// The quota for this resource quota has been exceeded. +// - ResourceQuotaExceededFault +// The quota for this resource quota has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/CreateReplicationTask func (c *DatabaseMigrationService) CreateReplicationTask(input *CreateReplicationTaskInput) (*CreateReplicationTaskOutput, error) { @@ -820,14 +818,13 @@ const opDeleteCertificate = "DeleteCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCertificateRequest method. +// req, resp := client.DeleteCertificateRequest(params) // -// // Example sending a request using the DeleteCertificateRequest method. -// req, resp := client.DeleteCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteCertificate func (c *DatabaseMigrationService) DeleteCertificateRequest(input *DeleteCertificateInput) (req *request.Request, output *DeleteCertificateOutput) { @@ -858,12 +855,13 @@ func (c *DatabaseMigrationService) DeleteCertificateRequest(input *DeleteCertifi // API operation DeleteCertificate for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - ResourceNotFoundFault +// The resource could not be found. +// +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteCertificate func (c *DatabaseMigrationService) DeleteCertificate(input *DeleteCertificateInput) (*DeleteCertificateOutput, error) { @@ -903,14 +901,13 @@ const opDeleteConnection = "DeleteConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConnectionRequest method. +// req, resp := client.DeleteConnectionRequest(params) // -// // Example sending a request using the DeleteConnectionRequest method. -// req, resp := client.DeleteConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteConnection func (c *DatabaseMigrationService) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput) { @@ -941,15 +938,16 @@ func (c *DatabaseMigrationService) DeleteConnectionRequest(input *DeleteConnecti // API operation DeleteConnection for usage and error information. // // Returned Error Types: -// * AccessDeniedFault -// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * ResourceNotFoundFault -// The resource could not be found. +// - AccessDeniedFault +// DMS was denied access to the endpoint. Check that the role is correctly configured. +// +// - ResourceNotFoundFault +// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteConnection func (c *DatabaseMigrationService) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error) { @@ -989,14 +987,13 @@ const opDeleteEndpoint = "DeleteEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEndpointRequest method. +// req, resp := client.DeleteEndpointRequest(params) // -// // Example sending a request using the DeleteEndpointRequest method. -// req, resp := client.DeleteEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpoint func (c *DatabaseMigrationService) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) { @@ -1030,12 +1027,13 @@ func (c *DatabaseMigrationService) DeleteEndpointRequest(input *DeleteEndpointIn // API operation DeleteEndpoint for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - ResourceNotFoundFault +// The resource could not be found. +// +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEndpoint func (c *DatabaseMigrationService) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) { @@ -1075,14 +1073,13 @@ const opDeleteEventSubscription = "DeleteEventSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventSubscriptionRequest method. +// req, resp := client.DeleteEventSubscriptionRequest(params) // -// // Example sending a request using the DeleteEventSubscriptionRequest method. -// req, resp := client.DeleteEventSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscription func (c *DatabaseMigrationService) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput) { @@ -1113,12 +1110,13 @@ func (c *DatabaseMigrationService) DeleteEventSubscriptionRequest(input *DeleteE // API operation DeleteEventSubscription for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - ResourceNotFoundFault +// The resource could not be found. +// +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteEventSubscription func (c *DatabaseMigrationService) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error) { @@ -1158,14 +1156,13 @@ const opDeleteReplicationInstance = "DeleteReplicationInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReplicationInstanceRequest method. +// req, resp := client.DeleteReplicationInstanceRequest(params) // -// // Example sending a request using the DeleteReplicationInstanceRequest method. -// req, resp := client.DeleteReplicationInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstance func (c *DatabaseMigrationService) DeleteReplicationInstanceRequest(input *DeleteReplicationInstanceInput) (req *request.Request, output *DeleteReplicationInstanceOutput) { @@ -1199,12 +1196,13 @@ func (c *DatabaseMigrationService) DeleteReplicationInstanceRequest(input *Delet // API operation DeleteReplicationInstance for usage and error information. // // Returned Error Types: -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. // -// * ResourceNotFoundFault -// The resource could not be found. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. +// +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationInstance func (c *DatabaseMigrationService) DeleteReplicationInstance(input *DeleteReplicationInstanceInput) (*DeleteReplicationInstanceOutput, error) { @@ -1244,14 +1242,13 @@ const opDeleteReplicationSubnetGroup = "DeleteReplicationSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReplicationSubnetGroupRequest method. +// req, resp := client.DeleteReplicationSubnetGroupRequest(params) // -// // Example sending a request using the DeleteReplicationSubnetGroupRequest method. -// req, resp := client.DeleteReplicationSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroup func (c *DatabaseMigrationService) DeleteReplicationSubnetGroupRequest(input *DeleteReplicationSubnetGroupInput) (req *request.Request, output *DeleteReplicationSubnetGroupOutput) { @@ -1283,12 +1280,13 @@ func (c *DatabaseMigrationService) DeleteReplicationSubnetGroupRequest(input *De // API operation DeleteReplicationSubnetGroup for usage and error information. // // Returned Error Types: -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. // -// * ResourceNotFoundFault -// The resource could not be found. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. +// +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationSubnetGroup func (c *DatabaseMigrationService) DeleteReplicationSubnetGroup(input *DeleteReplicationSubnetGroupInput) (*DeleteReplicationSubnetGroupOutput, error) { @@ -1328,14 +1326,13 @@ const opDeleteReplicationTask = "DeleteReplicationTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReplicationTaskRequest method. +// req, resp := client.DeleteReplicationTaskRequest(params) // -// // Example sending a request using the DeleteReplicationTaskRequest method. -// req, resp := client.DeleteReplicationTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTask func (c *DatabaseMigrationService) DeleteReplicationTaskRequest(input *DeleteReplicationTaskInput) (req *request.Request, output *DeleteReplicationTaskOutput) { @@ -1366,12 +1363,13 @@ func (c *DatabaseMigrationService) DeleteReplicationTaskRequest(input *DeleteRep // API operation DeleteReplicationTask for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - ResourceNotFoundFault +// The resource could not be found. +// +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTask func (c *DatabaseMigrationService) DeleteReplicationTask(input *DeleteReplicationTaskInput) (*DeleteReplicationTaskOutput, error) { @@ -1411,14 +1409,13 @@ const opDeleteReplicationTaskAssessmentRun = "DeleteReplicationTaskAssessmentRun // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReplicationTaskAssessmentRunRequest method. +// req, resp := client.DeleteReplicationTaskAssessmentRunRequest(params) // -// // Example sending a request using the DeleteReplicationTaskAssessmentRunRequest method. -// req, resp := client.DeleteReplicationTaskAssessmentRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTaskAssessmentRun func (c *DatabaseMigrationService) DeleteReplicationTaskAssessmentRunRequest(input *DeleteReplicationTaskAssessmentRunInput) (req *request.Request, output *DeleteReplicationTaskAssessmentRunOutput) { @@ -1453,15 +1450,16 @@ func (c *DatabaseMigrationService) DeleteReplicationTaskAssessmentRunRequest(inp // API operation DeleteReplicationTaskAssessmentRun for usage and error information. // // Returned Error Types: -// * AccessDeniedFault -// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * ResourceNotFoundFault -// The resource could not be found. +// - AccessDeniedFault +// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - ResourceNotFoundFault +// The resource could not be found. +// +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DeleteReplicationTaskAssessmentRun func (c *DatabaseMigrationService) DeleteReplicationTaskAssessmentRun(input *DeleteReplicationTaskAssessmentRunInput) (*DeleteReplicationTaskAssessmentRunOutput, error) { @@ -1501,14 +1499,13 @@ const opDescribeAccountAttributes = "DescribeAccountAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountAttributesRequest method. +// req, resp := client.DescribeAccountAttributesRequest(params) // -// // Example sending a request using the DescribeAccountAttributesRequest method. -// req, resp := client.DescribeAccountAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeAccountAttributes func (c *DatabaseMigrationService) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput) { @@ -1583,14 +1580,13 @@ const opDescribeApplicableIndividualAssessments = "DescribeApplicableIndividualA // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApplicableIndividualAssessmentsRequest method. +// req, resp := client.DescribeApplicableIndividualAssessmentsRequest(params) // -// // Example sending a request using the DescribeApplicableIndividualAssessmentsRequest method. -// req, resp := client.DescribeApplicableIndividualAssessmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeApplicableIndividualAssessments func (c *DatabaseMigrationService) DescribeApplicableIndividualAssessmentsRequest(input *DescribeApplicableIndividualAssessmentsInput) (req *request.Request, output *DescribeApplicableIndividualAssessmentsOutput) { @@ -1647,15 +1643,16 @@ func (c *DatabaseMigrationService) DescribeApplicableIndividualAssessmentsReques // API operation DescribeApplicableIndividualAssessments for usage and error information. // // Returned Error Types: -// * AccessDeniedFault -// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * ResourceNotFoundFault -// The resource could not be found. +// - AccessDeniedFault +// DMS was denied access to the endpoint. Check that the role is correctly configured. +// +// - ResourceNotFoundFault +// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeApplicableIndividualAssessments func (c *DatabaseMigrationService) DescribeApplicableIndividualAssessments(input *DescribeApplicableIndividualAssessmentsInput) (*DescribeApplicableIndividualAssessmentsOutput, error) { @@ -1687,15 +1684,14 @@ func (c *DatabaseMigrationService) DescribeApplicableIndividualAssessmentsWithCo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeApplicableIndividualAssessments operation. -// pageNum := 0 -// err := client.DescribeApplicableIndividualAssessmentsPages(params, -// func(page *databasemigrationservice.DescribeApplicableIndividualAssessmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeApplicableIndividualAssessments operation. +// pageNum := 0 +// err := client.DescribeApplicableIndividualAssessmentsPages(params, +// func(page *databasemigrationservice.DescribeApplicableIndividualAssessmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeApplicableIndividualAssessmentsPages(input *DescribeApplicableIndividualAssessmentsInput, fn func(*DescribeApplicableIndividualAssessmentsOutput, bool) bool) error { return c.DescribeApplicableIndividualAssessmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1747,14 +1743,13 @@ const opDescribeCertificates = "DescribeCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCertificatesRequest method. +// req, resp := client.DescribeCertificatesRequest(params) // -// // Example sending a request using the DescribeCertificatesRequest method. -// req, resp := client.DescribeCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificates func (c *DatabaseMigrationService) DescribeCertificatesRequest(input *DescribeCertificatesInput) (req *request.Request, output *DescribeCertificatesOutput) { @@ -1791,8 +1786,8 @@ func (c *DatabaseMigrationService) DescribeCertificatesRequest(input *DescribeCe // API operation DescribeCertificates for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeCertificates func (c *DatabaseMigrationService) DescribeCertificates(input *DescribeCertificatesInput) (*DescribeCertificatesOutput, error) { @@ -1824,15 +1819,14 @@ func (c *DatabaseMigrationService) DescribeCertificatesWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCertificates operation. -// pageNum := 0 -// err := client.DescribeCertificatesPages(params, -// func(page *databasemigrationservice.DescribeCertificatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCertificates operation. +// pageNum := 0 +// err := client.DescribeCertificatesPages(params, +// func(page *databasemigrationservice.DescribeCertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeCertificatesPages(input *DescribeCertificatesInput, fn func(*DescribeCertificatesOutput, bool) bool) error { return c.DescribeCertificatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1884,14 +1878,13 @@ const opDescribeConnections = "DescribeConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConnectionsRequest method. +// req, resp := client.DescribeConnectionsRequest(params) // -// // Example sending a request using the DescribeConnectionsRequest method. -// req, resp := client.DescribeConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnections func (c *DatabaseMigrationService) DescribeConnectionsRequest(input *DescribeConnectionsInput) (req *request.Request, output *DescribeConnectionsOutput) { @@ -1929,8 +1922,8 @@ func (c *DatabaseMigrationService) DescribeConnectionsRequest(input *DescribeCon // API operation DescribeConnections for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeConnections func (c *DatabaseMigrationService) DescribeConnections(input *DescribeConnectionsInput) (*DescribeConnectionsOutput, error) { @@ -1962,15 +1955,14 @@ func (c *DatabaseMigrationService) DescribeConnectionsWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeConnections operation. -// pageNum := 0 -// err := client.DescribeConnectionsPages(params, -// func(page *databasemigrationservice.DescribeConnectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeConnections operation. +// pageNum := 0 +// err := client.DescribeConnectionsPages(params, +// func(page *databasemigrationservice.DescribeConnectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeConnectionsPages(input *DescribeConnectionsInput, fn func(*DescribeConnectionsOutput, bool) bool) error { return c.DescribeConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2022,14 +2014,13 @@ const opDescribeEndpointSettings = "DescribeEndpointSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointSettingsRequest method. +// req, resp := client.DescribeEndpointSettingsRequest(params) // -// // Example sending a request using the DescribeEndpointSettingsRequest method. -// req, resp := client.DescribeEndpointSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointSettings func (c *DatabaseMigrationService) DescribeEndpointSettingsRequest(input *DescribeEndpointSettingsInput) (req *request.Request, output *DescribeEndpointSettingsOutput) { @@ -2095,15 +2086,14 @@ func (c *DatabaseMigrationService) DescribeEndpointSettingsWithContext(ctx aws.C // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEndpointSettings operation. -// pageNum := 0 -// err := client.DescribeEndpointSettingsPages(params, -// func(page *databasemigrationservice.DescribeEndpointSettingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEndpointSettings operation. +// pageNum := 0 +// err := client.DescribeEndpointSettingsPages(params, +// func(page *databasemigrationservice.DescribeEndpointSettingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeEndpointSettingsPages(input *DescribeEndpointSettingsInput, fn func(*DescribeEndpointSettingsOutput, bool) bool) error { return c.DescribeEndpointSettingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2155,14 +2145,13 @@ const opDescribeEndpointTypes = "DescribeEndpointTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointTypesRequest method. +// req, resp := client.DescribeEndpointTypesRequest(params) // -// // Example sending a request using the DescribeEndpointTypesRequest method. -// req, resp := client.DescribeEndpointTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpointTypes func (c *DatabaseMigrationService) DescribeEndpointTypesRequest(input *DescribeEndpointTypesInput) (req *request.Request, output *DescribeEndpointTypesOutput) { @@ -2227,15 +2216,14 @@ func (c *DatabaseMigrationService) DescribeEndpointTypesWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEndpointTypes operation. -// pageNum := 0 -// err := client.DescribeEndpointTypesPages(params, -// func(page *databasemigrationservice.DescribeEndpointTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEndpointTypes operation. +// pageNum := 0 +// err := client.DescribeEndpointTypesPages(params, +// func(page *databasemigrationservice.DescribeEndpointTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeEndpointTypesPages(input *DescribeEndpointTypesInput, fn func(*DescribeEndpointTypesOutput, bool) bool) error { return c.DescribeEndpointTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2287,14 +2275,13 @@ const opDescribeEndpoints = "DescribeEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointsRequest method. +// req, resp := client.DescribeEndpointsRequest(params) // -// // Example sending a request using the DescribeEndpointsRequest method. -// req, resp := client.DescribeEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpoints func (c *DatabaseMigrationService) DescribeEndpointsRequest(input *DescribeEndpointsInput) (req *request.Request, output *DescribeEndpointsOutput) { @@ -2331,8 +2318,8 @@ func (c *DatabaseMigrationService) DescribeEndpointsRequest(input *DescribeEndpo // API operation DescribeEndpoints for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEndpoints func (c *DatabaseMigrationService) DescribeEndpoints(input *DescribeEndpointsInput) (*DescribeEndpointsOutput, error) { @@ -2364,15 +2351,14 @@ func (c *DatabaseMigrationService) DescribeEndpointsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEndpoints operation. -// pageNum := 0 -// err := client.DescribeEndpointsPages(params, -// func(page *databasemigrationservice.DescribeEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEndpoints operation. +// pageNum := 0 +// err := client.DescribeEndpointsPages(params, +// func(page *databasemigrationservice.DescribeEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeEndpointsPages(input *DescribeEndpointsInput, fn func(*DescribeEndpointsOutput, bool) bool) error { return c.DescribeEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2424,14 +2410,13 @@ const opDescribeEventCategories = "DescribeEventCategories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventCategoriesRequest method. +// req, resp := client.DescribeEventCategoriesRequest(params) // -// // Example sending a request using the DescribeEventCategoriesRequest method. -// req, resp := client.DescribeEventCategoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventCategories func (c *DatabaseMigrationService) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput) { @@ -2501,14 +2486,13 @@ const opDescribeEventSubscriptions = "DescribeEventSubscriptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventSubscriptionsRequest method. +// req, resp := client.DescribeEventSubscriptionsRequest(params) // -// // Example sending a request using the DescribeEventSubscriptionsRequest method. -// req, resp := client.DescribeEventSubscriptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptions func (c *DatabaseMigrationService) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput) { @@ -2550,8 +2534,8 @@ func (c *DatabaseMigrationService) DescribeEventSubscriptionsRequest(input *Desc // API operation DescribeEventSubscriptions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEventSubscriptions func (c *DatabaseMigrationService) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error) { @@ -2583,15 +2567,14 @@ func (c *DatabaseMigrationService) DescribeEventSubscriptionsWithContext(ctx aws // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEventSubscriptions operation. -// pageNum := 0 -// err := client.DescribeEventSubscriptionsPages(params, -// func(page *databasemigrationservice.DescribeEventSubscriptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEventSubscriptions operation. +// pageNum := 0 +// err := client.DescribeEventSubscriptionsPages(params, +// func(page *databasemigrationservice.DescribeEventSubscriptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeEventSubscriptionsPages(input *DescribeEventSubscriptionsInput, fn func(*DescribeEventSubscriptionsOutput, bool) bool) error { return c.DescribeEventSubscriptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2643,14 +2626,13 @@ const opDescribeEvents = "DescribeEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventsRequest method. +// req, resp := client.DescribeEventsRequest(params) // -// // Example sending a request using the DescribeEventsRequest method. -// req, resp := client.DescribeEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeEvents func (c *DatabaseMigrationService) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { @@ -2718,15 +2700,14 @@ func (c *DatabaseMigrationService) DescribeEventsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEvents operation. -// pageNum := 0 -// err := client.DescribeEventsPages(params, -// func(page *databasemigrationservice.DescribeEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEvents operation. +// pageNum := 0 +// err := client.DescribeEventsPages(params, +// func(page *databasemigrationservice.DescribeEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeEventsPages(input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool) error { return c.DescribeEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2778,14 +2759,13 @@ const opDescribeOrderableReplicationInstances = "DescribeOrderableReplicationIns // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrderableReplicationInstancesRequest method. +// req, resp := client.DescribeOrderableReplicationInstancesRequest(params) // -// // Example sending a request using the DescribeOrderableReplicationInstancesRequest method. -// req, resp := client.DescribeOrderableReplicationInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeOrderableReplicationInstances func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesRequest(input *DescribeOrderableReplicationInstancesInput) (req *request.Request, output *DescribeOrderableReplicationInstancesOutput) { @@ -2851,15 +2831,14 @@ func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesWithCont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOrderableReplicationInstances operation. -// pageNum := 0 -// err := client.DescribeOrderableReplicationInstancesPages(params, -// func(page *databasemigrationservice.DescribeOrderableReplicationInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOrderableReplicationInstances operation. +// pageNum := 0 +// err := client.DescribeOrderableReplicationInstancesPages(params, +// func(page *databasemigrationservice.DescribeOrderableReplicationInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeOrderableReplicationInstancesPages(input *DescribeOrderableReplicationInstancesInput, fn func(*DescribeOrderableReplicationInstancesOutput, bool) bool) error { return c.DescribeOrderableReplicationInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2911,14 +2890,13 @@ const opDescribePendingMaintenanceActions = "DescribePendingMaintenanceActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePendingMaintenanceActionsRequest method. +// req, resp := client.DescribePendingMaintenanceActionsRequest(params) // -// // Example sending a request using the DescribePendingMaintenanceActionsRequest method. -// req, resp := client.DescribePendingMaintenanceActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribePendingMaintenanceActions func (c *DatabaseMigrationService) DescribePendingMaintenanceActionsRequest(input *DescribePendingMaintenanceActionsInput) (req *request.Request, output *DescribePendingMaintenanceActionsOutput) { @@ -2945,7 +2923,7 @@ func (c *DatabaseMigrationService) DescribePendingMaintenanceActionsRequest(inpu // DescribePendingMaintenanceActions API operation for AWS Database Migration Service. // -// For internal use only +// # For internal use only // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2955,8 +2933,8 @@ func (c *DatabaseMigrationService) DescribePendingMaintenanceActionsRequest(inpu // API operation DescribePendingMaintenanceActions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribePendingMaintenanceActions func (c *DatabaseMigrationService) DescribePendingMaintenanceActions(input *DescribePendingMaintenanceActionsInput) (*DescribePendingMaintenanceActionsOutput, error) { @@ -2988,15 +2966,14 @@ func (c *DatabaseMigrationService) DescribePendingMaintenanceActionsWithContext( // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePendingMaintenanceActions operation. -// pageNum := 0 -// err := client.DescribePendingMaintenanceActionsPages(params, -// func(page *databasemigrationservice.DescribePendingMaintenanceActionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePendingMaintenanceActions operation. +// pageNum := 0 +// err := client.DescribePendingMaintenanceActionsPages(params, +// func(page *databasemigrationservice.DescribePendingMaintenanceActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribePendingMaintenanceActionsPages(input *DescribePendingMaintenanceActionsInput, fn func(*DescribePendingMaintenanceActionsOutput, bool) bool) error { return c.DescribePendingMaintenanceActionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3048,14 +3025,13 @@ const opDescribeRefreshSchemasStatus = "DescribeRefreshSchemasStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRefreshSchemasStatusRequest method. +// req, resp := client.DescribeRefreshSchemasStatusRequest(params) // -// // Example sending a request using the DescribeRefreshSchemasStatusRequest method. -// req, resp := client.DescribeRefreshSchemasStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatus func (c *DatabaseMigrationService) DescribeRefreshSchemasStatusRequest(input *DescribeRefreshSchemasStatusInput) (req *request.Request, output *DescribeRefreshSchemasStatusOutput) { @@ -3086,12 +3062,13 @@ func (c *DatabaseMigrationService) DescribeRefreshSchemasStatusRequest(input *De // API operation DescribeRefreshSchemasStatus for usage and error information. // // Returned Error Types: -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. // -// * ResourceNotFoundFault -// The resource could not be found. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. +// +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeRefreshSchemasStatus func (c *DatabaseMigrationService) DescribeRefreshSchemasStatus(input *DescribeRefreshSchemasStatusInput) (*DescribeRefreshSchemasStatusOutput, error) { @@ -3131,14 +3108,13 @@ const opDescribeReplicationInstanceTaskLogs = "DescribeReplicationInstanceTaskLo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReplicationInstanceTaskLogsRequest method. +// req, resp := client.DescribeReplicationInstanceTaskLogsRequest(params) // -// // Example sending a request using the DescribeReplicationInstanceTaskLogsRequest method. -// req, resp := client.DescribeReplicationInstanceTaskLogsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstanceTaskLogs func (c *DatabaseMigrationService) DescribeReplicationInstanceTaskLogsRequest(input *DescribeReplicationInstanceTaskLogsInput) (req *request.Request, output *DescribeReplicationInstanceTaskLogsOutput) { @@ -3175,12 +3151,13 @@ func (c *DatabaseMigrationService) DescribeReplicationInstanceTaskLogsRequest(in // API operation DescribeReplicationInstanceTaskLogs for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - ResourceNotFoundFault +// The resource could not be found. +// +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstanceTaskLogs func (c *DatabaseMigrationService) DescribeReplicationInstanceTaskLogs(input *DescribeReplicationInstanceTaskLogsInput) (*DescribeReplicationInstanceTaskLogsOutput, error) { @@ -3212,15 +3189,14 @@ func (c *DatabaseMigrationService) DescribeReplicationInstanceTaskLogsWithContex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReplicationInstanceTaskLogs operation. -// pageNum := 0 -// err := client.DescribeReplicationInstanceTaskLogsPages(params, -// func(page *databasemigrationservice.DescribeReplicationInstanceTaskLogsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReplicationInstanceTaskLogs operation. +// pageNum := 0 +// err := client.DescribeReplicationInstanceTaskLogsPages(params, +// func(page *databasemigrationservice.DescribeReplicationInstanceTaskLogsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeReplicationInstanceTaskLogsPages(input *DescribeReplicationInstanceTaskLogsInput, fn func(*DescribeReplicationInstanceTaskLogsOutput, bool) bool) error { return c.DescribeReplicationInstanceTaskLogsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3272,14 +3248,13 @@ const opDescribeReplicationInstances = "DescribeReplicationInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReplicationInstancesRequest method. +// req, resp := client.DescribeReplicationInstancesRequest(params) // -// // Example sending a request using the DescribeReplicationInstancesRequest method. -// req, resp := client.DescribeReplicationInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstances func (c *DatabaseMigrationService) DescribeReplicationInstancesRequest(input *DescribeReplicationInstancesInput) (req *request.Request, output *DescribeReplicationInstancesOutput) { @@ -3317,8 +3292,8 @@ func (c *DatabaseMigrationService) DescribeReplicationInstancesRequest(input *De // API operation DescribeReplicationInstances for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationInstances func (c *DatabaseMigrationService) DescribeReplicationInstances(input *DescribeReplicationInstancesInput) (*DescribeReplicationInstancesOutput, error) { @@ -3350,15 +3325,14 @@ func (c *DatabaseMigrationService) DescribeReplicationInstancesWithContext(ctx a // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReplicationInstances operation. -// pageNum := 0 -// err := client.DescribeReplicationInstancesPages(params, -// func(page *databasemigrationservice.DescribeReplicationInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReplicationInstances operation. +// pageNum := 0 +// err := client.DescribeReplicationInstancesPages(params, +// func(page *databasemigrationservice.DescribeReplicationInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeReplicationInstancesPages(input *DescribeReplicationInstancesInput, fn func(*DescribeReplicationInstancesOutput, bool) bool) error { return c.DescribeReplicationInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3410,14 +3384,13 @@ const opDescribeReplicationSubnetGroups = "DescribeReplicationSubnetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReplicationSubnetGroupsRequest method. +// req, resp := client.DescribeReplicationSubnetGroupsRequest(params) // -// // Example sending a request using the DescribeReplicationSubnetGroupsRequest method. -// req, resp := client.DescribeReplicationSubnetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroups func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsRequest(input *DescribeReplicationSubnetGroupsInput) (req *request.Request, output *DescribeReplicationSubnetGroupsOutput) { @@ -3454,8 +3427,8 @@ func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsRequest(input // API operation DescribeReplicationSubnetGroups for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationSubnetGroups func (c *DatabaseMigrationService) DescribeReplicationSubnetGroups(input *DescribeReplicationSubnetGroupsInput) (*DescribeReplicationSubnetGroupsOutput, error) { @@ -3487,15 +3460,14 @@ func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsWithContext(ct // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReplicationSubnetGroups operation. -// pageNum := 0 -// err := client.DescribeReplicationSubnetGroupsPages(params, -// func(page *databasemigrationservice.DescribeReplicationSubnetGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReplicationSubnetGroups operation. +// pageNum := 0 +// err := client.DescribeReplicationSubnetGroupsPages(params, +// func(page *databasemigrationservice.DescribeReplicationSubnetGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeReplicationSubnetGroupsPages(input *DescribeReplicationSubnetGroupsInput, fn func(*DescribeReplicationSubnetGroupsOutput, bool) bool) error { return c.DescribeReplicationSubnetGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3547,14 +3519,13 @@ const opDescribeReplicationTaskAssessmentResults = "DescribeReplicationTaskAsses // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReplicationTaskAssessmentResultsRequest method. +// req, resp := client.DescribeReplicationTaskAssessmentResultsRequest(params) // -// // Example sending a request using the DescribeReplicationTaskAssessmentResultsRequest method. -// req, resp := client.DescribeReplicationTaskAssessmentResultsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentResults func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsRequest(input *DescribeReplicationTaskAssessmentResultsInput) (req *request.Request, output *DescribeReplicationTaskAssessmentResultsOutput) { @@ -3597,8 +3568,8 @@ func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsReque // API operation DescribeReplicationTaskAssessmentResults for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentResults func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResults(input *DescribeReplicationTaskAssessmentResultsInput) (*DescribeReplicationTaskAssessmentResultsOutput, error) { @@ -3630,15 +3601,14 @@ func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsWithC // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReplicationTaskAssessmentResults operation. -// pageNum := 0 -// err := client.DescribeReplicationTaskAssessmentResultsPages(params, -// func(page *databasemigrationservice.DescribeReplicationTaskAssessmentResultsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReplicationTaskAssessmentResults operation. +// pageNum := 0 +// err := client.DescribeReplicationTaskAssessmentResultsPages(params, +// func(page *databasemigrationservice.DescribeReplicationTaskAssessmentResultsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentResultsPages(input *DescribeReplicationTaskAssessmentResultsInput, fn func(*DescribeReplicationTaskAssessmentResultsOutput, bool) bool) error { return c.DescribeReplicationTaskAssessmentResultsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3690,14 +3660,13 @@ const opDescribeReplicationTaskAssessmentRuns = "DescribeReplicationTaskAssessme // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReplicationTaskAssessmentRunsRequest method. +// req, resp := client.DescribeReplicationTaskAssessmentRunsRequest(params) // -// // Example sending a request using the DescribeReplicationTaskAssessmentRunsRequest method. -// req, resp := client.DescribeReplicationTaskAssessmentRunsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentRuns func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentRunsRequest(input *DescribeReplicationTaskAssessmentRunsInput) (req *request.Request, output *DescribeReplicationTaskAssessmentRunsOutput) { @@ -3741,8 +3710,8 @@ func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentRunsRequest( // API operation DescribeReplicationTaskAssessmentRuns for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskAssessmentRuns func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentRuns(input *DescribeReplicationTaskAssessmentRunsInput) (*DescribeReplicationTaskAssessmentRunsOutput, error) { @@ -3774,15 +3743,14 @@ func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentRunsWithCont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReplicationTaskAssessmentRuns operation. -// pageNum := 0 -// err := client.DescribeReplicationTaskAssessmentRunsPages(params, -// func(page *databasemigrationservice.DescribeReplicationTaskAssessmentRunsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReplicationTaskAssessmentRuns operation. +// pageNum := 0 +// err := client.DescribeReplicationTaskAssessmentRunsPages(params, +// func(page *databasemigrationservice.DescribeReplicationTaskAssessmentRunsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeReplicationTaskAssessmentRunsPages(input *DescribeReplicationTaskAssessmentRunsInput, fn func(*DescribeReplicationTaskAssessmentRunsOutput, bool) bool) error { return c.DescribeReplicationTaskAssessmentRunsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3834,14 +3802,13 @@ const opDescribeReplicationTaskIndividualAssessments = "DescribeReplicationTaskI // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReplicationTaskIndividualAssessmentsRequest method. +// req, resp := client.DescribeReplicationTaskIndividualAssessmentsRequest(params) // -// // Example sending a request using the DescribeReplicationTaskIndividualAssessmentsRequest method. -// req, resp := client.DescribeReplicationTaskIndividualAssessmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskIndividualAssessments func (c *DatabaseMigrationService) DescribeReplicationTaskIndividualAssessmentsRequest(input *DescribeReplicationTaskIndividualAssessmentsInput) (req *request.Request, output *DescribeReplicationTaskIndividualAssessmentsOutput) { @@ -3881,8 +3848,8 @@ func (c *DatabaseMigrationService) DescribeReplicationTaskIndividualAssessmentsR // API operation DescribeReplicationTaskIndividualAssessments for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTaskIndividualAssessments func (c *DatabaseMigrationService) DescribeReplicationTaskIndividualAssessments(input *DescribeReplicationTaskIndividualAssessmentsInput) (*DescribeReplicationTaskIndividualAssessmentsOutput, error) { @@ -3914,15 +3881,14 @@ func (c *DatabaseMigrationService) DescribeReplicationTaskIndividualAssessmentsW // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReplicationTaskIndividualAssessments operation. -// pageNum := 0 -// err := client.DescribeReplicationTaskIndividualAssessmentsPages(params, -// func(page *databasemigrationservice.DescribeReplicationTaskIndividualAssessmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReplicationTaskIndividualAssessments operation. +// pageNum := 0 +// err := client.DescribeReplicationTaskIndividualAssessmentsPages(params, +// func(page *databasemigrationservice.DescribeReplicationTaskIndividualAssessmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeReplicationTaskIndividualAssessmentsPages(input *DescribeReplicationTaskIndividualAssessmentsInput, fn func(*DescribeReplicationTaskIndividualAssessmentsOutput, bool) bool) error { return c.DescribeReplicationTaskIndividualAssessmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3974,14 +3940,13 @@ const opDescribeReplicationTasks = "DescribeReplicationTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReplicationTasksRequest method. +// req, resp := client.DescribeReplicationTasksRequest(params) // -// // Example sending a request using the DescribeReplicationTasksRequest method. -// req, resp := client.DescribeReplicationTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasks func (c *DatabaseMigrationService) DescribeReplicationTasksRequest(input *DescribeReplicationTasksInput) (req *request.Request, output *DescribeReplicationTasksOutput) { @@ -4019,8 +3984,8 @@ func (c *DatabaseMigrationService) DescribeReplicationTasksRequest(input *Descri // API operation DescribeReplicationTasks for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeReplicationTasks func (c *DatabaseMigrationService) DescribeReplicationTasks(input *DescribeReplicationTasksInput) (*DescribeReplicationTasksOutput, error) { @@ -4052,15 +4017,14 @@ func (c *DatabaseMigrationService) DescribeReplicationTasksWithContext(ctx aws.C // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReplicationTasks operation. -// pageNum := 0 -// err := client.DescribeReplicationTasksPages(params, -// func(page *databasemigrationservice.DescribeReplicationTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReplicationTasks operation. +// pageNum := 0 +// err := client.DescribeReplicationTasksPages(params, +// func(page *databasemigrationservice.DescribeReplicationTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeReplicationTasksPages(input *DescribeReplicationTasksInput, fn func(*DescribeReplicationTasksOutput, bool) bool) error { return c.DescribeReplicationTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4112,14 +4076,13 @@ const opDescribeSchemas = "DescribeSchemas" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSchemasRequest method. +// req, resp := client.DescribeSchemasRequest(params) // -// // Example sending a request using the DescribeSchemasRequest method. -// req, resp := client.DescribeSchemasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemas func (c *DatabaseMigrationService) DescribeSchemasRequest(input *DescribeSchemasInput) (req *request.Request, output *DescribeSchemasOutput) { @@ -4156,12 +4119,13 @@ func (c *DatabaseMigrationService) DescribeSchemasRequest(input *DescribeSchemas // API operation DescribeSchemas for usage and error information. // // Returned Error Types: -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. // -// * ResourceNotFoundFault -// The resource could not be found. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. +// +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeSchemas func (c *DatabaseMigrationService) DescribeSchemas(input *DescribeSchemasInput) (*DescribeSchemasOutput, error) { @@ -4193,15 +4157,14 @@ func (c *DatabaseMigrationService) DescribeSchemasWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSchemas operation. -// pageNum := 0 -// err := client.DescribeSchemasPages(params, -// func(page *databasemigrationservice.DescribeSchemasOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSchemas operation. +// pageNum := 0 +// err := client.DescribeSchemasPages(params, +// func(page *databasemigrationservice.DescribeSchemasOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeSchemasPages(input *DescribeSchemasInput, fn func(*DescribeSchemasOutput, bool) bool) error { return c.DescribeSchemasPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4253,14 +4216,13 @@ const opDescribeTableStatistics = "DescribeTableStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTableStatisticsRequest method. +// req, resp := client.DescribeTableStatisticsRequest(params) // -// // Example sending a request using the DescribeTableStatisticsRequest method. -// req, resp := client.DescribeTableStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatistics func (c *DatabaseMigrationService) DescribeTableStatisticsRequest(input *DescribeTableStatisticsInput) (req *request.Request, output *DescribeTableStatisticsOutput) { @@ -4302,12 +4264,13 @@ func (c *DatabaseMigrationService) DescribeTableStatisticsRequest(input *Describ // API operation DescribeTableStatistics for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - ResourceNotFoundFault +// The resource could not be found. +// +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/DescribeTableStatistics func (c *DatabaseMigrationService) DescribeTableStatistics(input *DescribeTableStatisticsInput) (*DescribeTableStatisticsOutput, error) { @@ -4339,15 +4302,14 @@ func (c *DatabaseMigrationService) DescribeTableStatisticsWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTableStatistics operation. -// pageNum := 0 -// err := client.DescribeTableStatisticsPages(params, -// func(page *databasemigrationservice.DescribeTableStatisticsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTableStatistics operation. +// pageNum := 0 +// err := client.DescribeTableStatisticsPages(params, +// func(page *databasemigrationservice.DescribeTableStatisticsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DatabaseMigrationService) DescribeTableStatisticsPages(input *DescribeTableStatisticsInput, fn func(*DescribeTableStatisticsOutput, bool) bool) error { return c.DescribeTableStatisticsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4399,14 +4361,13 @@ const opImportCertificate = "ImportCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportCertificateRequest method. +// req, resp := client.ImportCertificateRequest(params) // -// // Example sending a request using the ImportCertificateRequest method. -// req, resp := client.ImportCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificate func (c *DatabaseMigrationService) ImportCertificateRequest(input *ImportCertificateInput) (req *request.Request, output *ImportCertificateOutput) { @@ -4437,14 +4398,15 @@ func (c *DatabaseMigrationService) ImportCertificateRequest(input *ImportCertifi // API operation ImportCertificate for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsFault -// The resource you are attempting to create already exists. // -// * InvalidCertificateFault -// The certificate was not valid. +// - ResourceAlreadyExistsFault +// The resource you are attempting to create already exists. +// +// - InvalidCertificateFault +// The certificate was not valid. // -// * ResourceQuotaExceededFault -// The quota for this resource quota has been exceeded. +// - ResourceQuotaExceededFault +// The quota for this resource quota has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ImportCertificate func (c *DatabaseMigrationService) ImportCertificate(input *ImportCertificateInput) (*ImportCertificateOutput, error) { @@ -4484,14 +4446,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResource func (c *DatabaseMigrationService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4525,8 +4486,8 @@ func (c *DatabaseMigrationService) ListTagsForResourceRequest(input *ListTagsFor // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ListTagsForResource func (c *DatabaseMigrationService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4566,14 +4527,13 @@ const opModifyEndpoint = "ModifyEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyEndpointRequest method. +// req, resp := client.ModifyEndpointRequest(params) // -// // Example sending a request using the ModifyEndpointRequest method. -// req, resp := client.ModifyEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint func (c *DatabaseMigrationService) ModifyEndpointRequest(input *ModifyEndpointInput) (req *request.Request, output *ModifyEndpointOutput) { @@ -4611,21 +4571,22 @@ func (c *DatabaseMigrationService) ModifyEndpointRequest(input *ModifyEndpointIn // API operation ModifyEndpoint for usage and error information. // // Returned Error Types: -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. // -// * ResourceNotFoundFault -// The resource could not be found. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. +// +// - ResourceNotFoundFault +// The resource could not be found. // -// * ResourceAlreadyExistsFault -// The resource you are attempting to create already exists. +// - ResourceAlreadyExistsFault +// The resource you are attempting to create already exists. // -// * KMSKeyNotAccessibleFault -// DMS cannot access the KMS key. +// - KMSKeyNotAccessibleFault +// DMS cannot access the KMS key. // -// * AccessDeniedFault -// DMS was denied access to the endpoint. Check that the role is correctly configured. +// - AccessDeniedFault +// DMS was denied access to the endpoint. Check that the role is correctly configured. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEndpoint func (c *DatabaseMigrationService) ModifyEndpoint(input *ModifyEndpointInput) (*ModifyEndpointOutput, error) { @@ -4665,14 +4626,13 @@ const opModifyEventSubscription = "ModifyEventSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyEventSubscriptionRequest method. +// req, resp := client.ModifyEventSubscriptionRequest(params) // -// // Example sending a request using the ModifyEventSubscriptionRequest method. -// req, resp := client.ModifyEventSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscription func (c *DatabaseMigrationService) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput) { @@ -4703,33 +4663,34 @@ func (c *DatabaseMigrationService) ModifyEventSubscriptionRequest(input *ModifyE // API operation ModifyEventSubscription for usage and error information. // // Returned Error Types: -// * ResourceQuotaExceededFault -// The quota for this resource quota has been exceeded. // -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceQuotaExceededFault +// The quota for this resource quota has been exceeded. +// +// - ResourceNotFoundFault +// The resource could not be found. // -// * SNSInvalidTopicFault -// The SNS topic is invalid. +// - SNSInvalidTopicFault +// The SNS topic is invalid. // -// * SNSNoAuthorizationFault -// You are not authorized for the SNS subscription. +// - SNSNoAuthorizationFault +// You are not authorized for the SNS subscription. // -// * KMSAccessDeniedFault -// The ciphertext references a key that doesn't exist or that the DMS account -// doesn't have access to. +// - KMSAccessDeniedFault +// The ciphertext references a key that doesn't exist or that the DMS account +// doesn't have access to. // -// * KMSDisabledFault -// The specified KMS key isn't enabled. +// - KMSDisabledFault +// The specified KMS key isn't enabled. // -// * KMSInvalidStateFault -// The state of the specified KMS resource isn't valid for this request. +// - KMSInvalidStateFault +// The state of the specified KMS resource isn't valid for this request. // -// * KMSNotFoundFault -// The specified KMS entity or resource can't be found. +// - KMSNotFoundFault +// The specified KMS entity or resource can't be found. // -// * KMSThrottlingFault -// This request triggered KMS request throttling. +// - KMSThrottlingFault +// This request triggered KMS request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyEventSubscription func (c *DatabaseMigrationService) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error) { @@ -4769,14 +4730,13 @@ const opModifyReplicationInstance = "ModifyReplicationInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyReplicationInstanceRequest method. +// req, resp := client.ModifyReplicationInstanceRequest(params) // -// // Example sending a request using the ModifyReplicationInstanceRequest method. -// req, resp := client.ModifyReplicationInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstance func (c *DatabaseMigrationService) ModifyReplicationInstanceRequest(input *ModifyReplicationInstanceInput) (req *request.Request, output *ModifyReplicationInstanceOutput) { @@ -4811,27 +4771,28 @@ func (c *DatabaseMigrationService) ModifyReplicationInstanceRequest(input *Modif // API operation ModifyReplicationInstance for usage and error information. // // Returned Error Types: -// * AccessDeniedFault -// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - AccessDeniedFault +// DMS was denied access to the endpoint. Check that the role is correctly configured. +// +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // -// * ResourceAlreadyExistsFault -// The resource you are attempting to create already exists. +// - ResourceAlreadyExistsFault +// The resource you are attempting to create already exists. // -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // -// * InsufficientResourceCapacityFault -// There are not enough resources allocated to the database migration. +// - InsufficientResourceCapacityFault +// There are not enough resources allocated to the database migration. // -// * StorageQuotaExceededFault -// The storage quota has been exceeded. +// - StorageQuotaExceededFault +// The storage quota has been exceeded. // -// * UpgradeDependencyFailureFault -// An upgrade dependency is preventing the database migration. +// - UpgradeDependencyFailureFault +// An upgrade dependency is preventing the database migration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationInstance func (c *DatabaseMigrationService) ModifyReplicationInstance(input *ModifyReplicationInstanceInput) (*ModifyReplicationInstanceOutput, error) { @@ -4871,14 +4832,13 @@ const opModifyReplicationSubnetGroup = "ModifyReplicationSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyReplicationSubnetGroupRequest method. +// req, resp := client.ModifyReplicationSubnetGroupRequest(params) // -// // Example sending a request using the ModifyReplicationSubnetGroupRequest method. -// req, resp := client.ModifyReplicationSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationSubnetGroup func (c *DatabaseMigrationService) ModifyReplicationSubnetGroupRequest(input *ModifyReplicationSubnetGroupInput) (req *request.Request, output *ModifyReplicationSubnetGroupOutput) { @@ -4909,24 +4869,25 @@ func (c *DatabaseMigrationService) ModifyReplicationSubnetGroupRequest(input *Mo // API operation ModifyReplicationSubnetGroup for usage and error information. // // Returned Error Types: -// * AccessDeniedFault -// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * ResourceNotFoundFault -// The resource could not be found. +// - AccessDeniedFault +// DMS was denied access to the endpoint. Check that the role is correctly configured. +// +// - ResourceNotFoundFault +// The resource could not be found. // -// * ResourceQuotaExceededFault -// The quota for this resource quota has been exceeded. +// - ResourceQuotaExceededFault +// The quota for this resource quota has been exceeded. // -// * SubnetAlreadyInUse -// The specified subnet is already in use. +// - SubnetAlreadyInUse +// The specified subnet is already in use. // -// * ReplicationSubnetGroupDoesNotCoverEnoughAZs -// The replication subnet group does not cover enough Availability Zones (AZs). -// Edit the replication subnet group and add more AZs. +// - ReplicationSubnetGroupDoesNotCoverEnoughAZs +// The replication subnet group does not cover enough Availability Zones (AZs). +// Edit the replication subnet group and add more AZs. // -// * InvalidSubnet -// The subnet provided is invalid. +// - InvalidSubnet +// The subnet provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationSubnetGroup func (c *DatabaseMigrationService) ModifyReplicationSubnetGroup(input *ModifyReplicationSubnetGroupInput) (*ModifyReplicationSubnetGroupOutput, error) { @@ -4966,14 +4927,13 @@ const opModifyReplicationTask = "ModifyReplicationTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyReplicationTaskRequest method. +// req, resp := client.ModifyReplicationTaskRequest(params) // -// // Example sending a request using the ModifyReplicationTaskRequest method. -// req, resp := client.ModifyReplicationTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTask func (c *DatabaseMigrationService) ModifyReplicationTaskRequest(input *ModifyReplicationTaskInput) (req *request.Request, output *ModifyReplicationTaskOutput) { @@ -5010,18 +4970,19 @@ func (c *DatabaseMigrationService) ModifyReplicationTaskRequest(input *ModifyRep // API operation ModifyReplicationTask for usage and error information. // // Returned Error Types: -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. // -// * ResourceNotFoundFault -// The resource could not be found. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // -// * ResourceAlreadyExistsFault -// The resource you are attempting to create already exists. +// - ResourceNotFoundFault +// The resource could not be found. // -// * KMSKeyNotAccessibleFault -// DMS cannot access the KMS key. +// - ResourceAlreadyExistsFault +// The resource you are attempting to create already exists. +// +// - KMSKeyNotAccessibleFault +// DMS cannot access the KMS key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ModifyReplicationTask func (c *DatabaseMigrationService) ModifyReplicationTask(input *ModifyReplicationTaskInput) (*ModifyReplicationTaskOutput, error) { @@ -5061,14 +5022,13 @@ const opMoveReplicationTask = "MoveReplicationTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MoveReplicationTaskRequest method. +// req, resp := client.MoveReplicationTaskRequest(params) // -// // Example sending a request using the MoveReplicationTaskRequest method. -// req, resp := client.MoveReplicationTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/MoveReplicationTask func (c *DatabaseMigrationService) MoveReplicationTaskRequest(input *MoveReplicationTaskInput) (req *request.Request, output *MoveReplicationTaskOutput) { @@ -5102,21 +5062,22 @@ func (c *DatabaseMigrationService) MoveReplicationTaskRequest(input *MoveReplica // API operation MoveReplicationTask for usage and error information. // // Returned Error Types: -// * AccessDeniedFault -// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - AccessDeniedFault +// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * ResourceNotFoundFault -// The resource could not be found. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // -// * KMSKeyNotAccessibleFault -// DMS cannot access the KMS key. +// - ResourceNotFoundFault +// The resource could not be found. // -// * ResourceQuotaExceededFault -// The quota for this resource quota has been exceeded. +// - KMSKeyNotAccessibleFault +// DMS cannot access the KMS key. +// +// - ResourceQuotaExceededFault +// The quota for this resource quota has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/MoveReplicationTask func (c *DatabaseMigrationService) MoveReplicationTask(input *MoveReplicationTaskInput) (*MoveReplicationTaskOutput, error) { @@ -5156,14 +5117,13 @@ const opRebootReplicationInstance = "RebootReplicationInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebootReplicationInstanceRequest method. +// req, resp := client.RebootReplicationInstanceRequest(params) // -// // Example sending a request using the RebootReplicationInstanceRequest method. -// req, resp := client.RebootReplicationInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RebootReplicationInstance func (c *DatabaseMigrationService) RebootReplicationInstanceRequest(input *RebootReplicationInstanceInput) (req *request.Request, output *RebootReplicationInstanceOutput) { @@ -5195,12 +5155,13 @@ func (c *DatabaseMigrationService) RebootReplicationInstanceRequest(input *Reboo // API operation RebootReplicationInstance for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - ResourceNotFoundFault +// The resource could not be found. +// +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RebootReplicationInstance func (c *DatabaseMigrationService) RebootReplicationInstance(input *RebootReplicationInstanceInput) (*RebootReplicationInstanceOutput, error) { @@ -5240,14 +5201,13 @@ const opRefreshSchemas = "RefreshSchemas" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RefreshSchemasRequest method. +// req, resp := client.RefreshSchemasRequest(params) // -// // Example sending a request using the RefreshSchemasRequest method. -// req, resp := client.RefreshSchemasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemas func (c *DatabaseMigrationService) RefreshSchemasRequest(input *RefreshSchemasInput) (req *request.Request, output *RefreshSchemasOutput) { @@ -5280,18 +5240,19 @@ func (c *DatabaseMigrationService) RefreshSchemasRequest(input *RefreshSchemasIn // API operation RefreshSchemas for usage and error information. // // Returned Error Types: -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. // -// * ResourceNotFoundFault -// The resource could not be found. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. +// +// - ResourceNotFoundFault +// The resource could not be found. // -// * KMSKeyNotAccessibleFault -// DMS cannot access the KMS key. +// - KMSKeyNotAccessibleFault +// DMS cannot access the KMS key. // -// * ResourceQuotaExceededFault -// The quota for this resource quota has been exceeded. +// - ResourceQuotaExceededFault +// The quota for this resource quota has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RefreshSchemas func (c *DatabaseMigrationService) RefreshSchemas(input *RefreshSchemasInput) (*RefreshSchemasOutput, error) { @@ -5331,14 +5292,13 @@ const opReloadTables = "ReloadTables" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReloadTablesRequest method. +// req, resp := client.ReloadTablesRequest(params) // -// // Example sending a request using the ReloadTablesRequest method. -// req, resp := client.ReloadTablesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTables func (c *DatabaseMigrationService) ReloadTablesRequest(input *ReloadTablesInput) (req *request.Request, output *ReloadTablesOutput) { @@ -5372,12 +5332,13 @@ func (c *DatabaseMigrationService) ReloadTablesRequest(input *ReloadTablesInput) // API operation ReloadTables for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - ResourceNotFoundFault +// The resource could not be found. +// +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/ReloadTables func (c *DatabaseMigrationService) ReloadTables(input *ReloadTablesInput) (*ReloadTablesOutput, error) { @@ -5417,14 +5378,13 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsFromResourceRequest method. +// req, resp := client.RemoveTagsFromResourceRequest(params) // -// // Example sending a request using the RemoveTagsFromResourceRequest method. -// req, resp := client.RemoveTagsFromResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResource func (c *DatabaseMigrationService) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput) { @@ -5459,8 +5419,8 @@ func (c *DatabaseMigrationService) RemoveTagsFromResourceRequest(input *RemoveTa // API operation RemoveTagsFromResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/RemoveTagsFromResource func (c *DatabaseMigrationService) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error) { @@ -5500,14 +5460,13 @@ const opStartReplicationTask = "StartReplicationTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartReplicationTaskRequest method. +// req, resp := client.StartReplicationTaskRequest(params) // -// // Example sending a request using the StartReplicationTaskRequest method. -// req, resp := client.StartReplicationTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTask func (c *DatabaseMigrationService) StartReplicationTaskRequest(input *StartReplicationTaskInput) (req *request.Request, output *StartReplicationTaskOutput) { @@ -5541,15 +5500,16 @@ func (c *DatabaseMigrationService) StartReplicationTaskRequest(input *StartRepli // API operation StartReplicationTask for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - ResourceNotFoundFault +// The resource could not be found. // -// * AccessDeniedFault -// DMS was denied access to the endpoint. Check that the role is correctly configured. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. +// +// - AccessDeniedFault +// DMS was denied access to the endpoint. Check that the role is correctly configured. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTask func (c *DatabaseMigrationService) StartReplicationTask(input *StartReplicationTaskInput) (*StartReplicationTaskOutput, error) { @@ -5589,14 +5549,13 @@ const opStartReplicationTaskAssessment = "StartReplicationTaskAssessment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartReplicationTaskAssessmentRequest method. +// req, resp := client.StartReplicationTaskAssessmentRequest(params) // -// // Example sending a request using the StartReplicationTaskAssessmentRequest method. -// req, resp := client.StartReplicationTaskAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessment func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRequest(input *StartReplicationTaskAssessmentInput) (req *request.Request, output *StartReplicationTaskAssessmentOutput) { @@ -5623,9 +5582,9 @@ func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRequest(input * // You can only use this operation for a task if the following conditions are // true: // -// * The task must be in the stopped state. +// - The task must be in the stopped state. // -// * The task must have successful connections to the source and target. +// - The task must have successful connections to the source and target. // // If either of these conditions are not met, an InvalidResourceStateFault error // will result. @@ -5642,12 +5601,13 @@ func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRequest(input * // API operation StartReplicationTaskAssessment for usage and error information. // // Returned Error Types: -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. // -// * ResourceNotFoundFault -// The resource could not be found. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. +// +// - ResourceNotFoundFault +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessment func (c *DatabaseMigrationService) StartReplicationTaskAssessment(input *StartReplicationTaskAssessmentInput) (*StartReplicationTaskAssessmentOutput, error) { @@ -5687,14 +5647,13 @@ const opStartReplicationTaskAssessmentRun = "StartReplicationTaskAssessmentRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartReplicationTaskAssessmentRunRequest method. +// req, resp := client.StartReplicationTaskAssessmentRunRequest(params) // -// // Example sending a request using the StartReplicationTaskAssessmentRunRequest method. -// req, resp := client.StartReplicationTaskAssessmentRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessmentRun func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRunRequest(input *StartReplicationTaskAssessmentRunInput) (req *request.Request, output *StartReplicationTaskAssessmentRunOutput) { @@ -5733,43 +5692,44 @@ func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRunRequest(inpu // API operation StartReplicationTaskAssessmentRun for usage and error information. // // Returned Error Types: -// * AccessDeniedFault -// DMS was denied access to the endpoint. Check that the role is correctly configured. // -// * ResourceNotFoundFault -// The resource could not be found. +// - AccessDeniedFault +// DMS was denied access to the endpoint. Check that the role is correctly configured. +// +// - ResourceNotFoundFault +// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // -// * KMSAccessDeniedFault -// The ciphertext references a key that doesn't exist or that the DMS account -// doesn't have access to. +// - KMSAccessDeniedFault +// The ciphertext references a key that doesn't exist or that the DMS account +// doesn't have access to. // -// * KMSDisabledFault -// The specified KMS key isn't enabled. +// - KMSDisabledFault +// The specified KMS key isn't enabled. // -// * KMSFault -// An Key Management Service (KMS) error is preventing access to KMS. +// - KMSFault +// An Key Management Service (KMS) error is preventing access to KMS. // -// * KMSInvalidStateFault -// The state of the specified KMS resource isn't valid for this request. +// - KMSInvalidStateFault +// The state of the specified KMS resource isn't valid for this request. // -// * KMSNotFoundFault -// The specified KMS entity or resource can't be found. +// - KMSNotFoundFault +// The specified KMS entity or resource can't be found. // -// * KMSKeyNotAccessibleFault -// DMS cannot access the KMS key. +// - KMSKeyNotAccessibleFault +// DMS cannot access the KMS key. // -// * S3AccessDeniedFault -// Insufficient privileges are preventing access to an Amazon S3 object. +// - S3AccessDeniedFault +// Insufficient privileges are preventing access to an Amazon S3 object. // -// * S3ResourceNotFoundFault -// A specified Amazon S3 bucket, bucket folder, or other object can't be found. +// - S3ResourceNotFoundFault +// A specified Amazon S3 bucket, bucket folder, or other object can't be found. // -// * ResourceAlreadyExistsFault -// The resource you are attempting to create already exists. +// - ResourceAlreadyExistsFault +// The resource you are attempting to create already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StartReplicationTaskAssessmentRun func (c *DatabaseMigrationService) StartReplicationTaskAssessmentRun(input *StartReplicationTaskAssessmentRunInput) (*StartReplicationTaskAssessmentRunOutput, error) { @@ -5809,14 +5769,13 @@ const opStopReplicationTask = "StopReplicationTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopReplicationTaskRequest method. +// req, resp := client.StopReplicationTaskRequest(params) // -// // Example sending a request using the StopReplicationTaskRequest method. -// req, resp := client.StopReplicationTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTask func (c *DatabaseMigrationService) StopReplicationTaskRequest(input *StopReplicationTaskInput) (req *request.Request, output *StopReplicationTaskOutput) { @@ -5847,12 +5806,13 @@ func (c *DatabaseMigrationService) StopReplicationTaskRequest(input *StopReplica // API operation StopReplicationTask for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - ResourceNotFoundFault +// The resource could not be found. +// +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/StopReplicationTask func (c *DatabaseMigrationService) StopReplicationTask(input *StopReplicationTaskInput) (*StopReplicationTaskOutput, error) { @@ -5892,14 +5852,13 @@ const opTestConnection = "TestConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestConnectionRequest method. +// req, resp := client.TestConnectionRequest(params) // -// // Example sending a request using the TestConnectionRequest method. -// req, resp := client.TestConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TestConnection func (c *DatabaseMigrationService) TestConnectionRequest(input *TestConnectionInput) (req *request.Request, output *TestConnectionOutput) { @@ -5930,21 +5889,22 @@ func (c *DatabaseMigrationService) TestConnectionRequest(input *TestConnectionIn // API operation TestConnection for usage and error information. // // Returned Error Types: -// * ResourceNotFoundFault -// The resource could not be found. // -// * InvalidResourceStateFault -// The resource is in a state that prevents it from being used for database -// migration. +// - ResourceNotFoundFault +// The resource could not be found. +// +// - InvalidResourceStateFault +// The resource is in a state that prevents it from being used for database +// migration. // -// * KMSKeyNotAccessibleFault -// DMS cannot access the KMS key. +// - KMSKeyNotAccessibleFault +// DMS cannot access the KMS key. // -// * ResourceQuotaExceededFault -// The quota for this resource quota has been exceeded. +// - ResourceQuotaExceededFault +// The quota for this resource quota has been exceeded. // -// * AccessDeniedFault -// DMS was denied access to the endpoint. Check that the role is correctly configured. +// - AccessDeniedFault +// DMS was denied access to the endpoint. Check that the role is correctly configured. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dms-2016-01-01/TestConnection func (c *DatabaseMigrationService) TestConnection(input *TestConnectionInput) (*TestConnectionOutput, error) { @@ -11467,11 +11427,11 @@ func (s *ElasticsearchSettings) SetServiceAccessRoleArn(v string) *Elasticsearch // Describes an endpoint of a database instance in response to operations such // as the following: // -// * CreateEndpoint +// - CreateEndpoint // -// * DescribeEndpoint +// - DescribeEndpoint // -// * ModifyEndpoint +// - ModifyEndpoint type Endpoint struct { _ struct{} `type:"structure"` @@ -21397,11 +21357,11 @@ func (s *TableToReload) SetTableName(v string) *TableToReload { // A user-defined key-value pair that describes metadata added to an DMS resource // and that is used by operations such as the following: // -// * AddTagsToResource +// - AddTagsToResource // -// * ListTagsForResource +// - ListTagsForResource // -// * RemoveTagsFromResource +// - RemoveTagsFromResource type Tag struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/databasemigrationserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/databasemigrationserviceiface/interface.go index 46b8398941eb..c3463072110a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/databasemigrationserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/databasemigrationserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Database Migration Service. -// func myFunc(svc databasemigrationserviceiface.DatabaseMigrationServiceAPI) bool { -// // Make svc.AddTagsToResource request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Database Migration Service. +// func myFunc(svc databasemigrationserviceiface.DatabaseMigrationServiceAPI) bool { +// // Make svc.AddTagsToResource request +// } // -// func main() { -// sess := session.New() -// svc := databasemigrationservice.New(sess) +// func main() { +// sess := session.New() +// svc := databasemigrationservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockDatabaseMigrationServiceClient struct { -// databasemigrationserviceiface.DatabaseMigrationServiceAPI -// } -// func (m *mockDatabaseMigrationServiceClient) AddTagsToResource(input *databasemigrationservice.AddTagsToResourceInput) (*databasemigrationservice.AddTagsToResourceOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockDatabaseMigrationServiceClient struct { +// databasemigrationserviceiface.DatabaseMigrationServiceAPI +// } +// func (m *mockDatabaseMigrationServiceClient) AddTagsToResource(input *databasemigrationservice.AddTagsToResourceInput) (*databasemigrationservice.AddTagsToResourceOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockDatabaseMigrationServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockDatabaseMigrationServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/doc.go index 0288706c294a..8025eada04f3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/doc.go @@ -18,7 +18,7 @@ // See databasemigrationservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/databasemigrationservice/ // -// Using the Client +// # Using the Client // // To contact AWS Database Migration Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/service.go index 792bbb53e037..711a57b660ab 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/databasemigrationservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a DatabaseMigrationService client from just a session. -// svc := databasemigrationservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a DatabaseMigrationService client with additional configuration -// svc := databasemigrationservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a DatabaseMigrationService client from just a session. +// svc := databasemigrationservice.New(mySession) +// +// // Create a DatabaseMigrationService client with additional configuration +// svc := databasemigrationservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *DatabaseMigrationService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/api.go index 076a7b54c346..56d5aa02c431 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/api.go @@ -29,14 +29,13 @@ const opCancelJob = "CancelJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelJobRequest method. +// req, resp := client.CancelJobRequest(params) // -// // Example sending a request using the CancelJobRequest method. -// req, resp := client.CancelJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CancelJob func (c *DataExchange) CancelJobRequest(input *CancelJobInput) (req *request.Request, output *CancelJobOutput) { @@ -69,21 +68,22 @@ func (c *DataExchange) CancelJobRequest(input *CancelJobInput) (req *request.Req // API operation CancelJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. +// +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// The request was invalid. +// - ValidationException +// The request was invalid. // -// * InternalServerException -// An exception occurred with the service. +// - InternalServerException +// An exception occurred with the service. // -// * ConflictException -// The request couldn't be completed because it conflicted with the current -// state of the resource. +// - ConflictException +// The request couldn't be completed because it conflicted with the current +// state of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CancelJob func (c *DataExchange) CancelJob(input *CancelJobInput) (*CancelJobOutput, error) { @@ -123,14 +123,13 @@ const opCreateDataSet = "CreateDataSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataSetRequest method. +// req, resp := client.CreateDataSetRequest(params) // -// // Example sending a request using the CreateDataSetRequest method. -// req, resp := client.CreateDataSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateDataSet func (c *DataExchange) CreateDataSetRequest(input *CreateDataSetInput) (req *request.Request, output *CreateDataSetOutput) { @@ -161,20 +160,21 @@ func (c *DataExchange) CreateDataSetRequest(input *CreateDataSetInput) (req *req // API operation CreateDataSet for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The limit on the number of requests per second was exceeded. // -// * ValidationException -// The request was invalid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - ValidationException +// The request was invalid. // -// * InternalServerException -// An exception occurred with the service. +// - InternalServerException +// An exception occurred with the service. // -// * ServiceLimitExceededException -// The request has exceeded the quotas imposed by the service. +// - ServiceLimitExceededException +// The request has exceeded the quotas imposed by the service. // -// * AccessDeniedException -// Access to the resource is denied. +// - AccessDeniedException +// Access to the resource is denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateDataSet func (c *DataExchange) CreateDataSet(input *CreateDataSetInput) (*CreateDataSetOutput, error) { @@ -214,14 +214,13 @@ const opCreateEventAction = "CreateEventAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEventActionRequest method. +// req, resp := client.CreateEventActionRequest(params) // -// // Example sending a request using the CreateEventActionRequest method. -// req, resp := client.CreateEventActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateEventAction func (c *DataExchange) CreateEventActionRequest(input *CreateEventActionInput) (req *request.Request, output *CreateEventActionOutput) { @@ -252,20 +251,21 @@ func (c *DataExchange) CreateEventActionRequest(input *CreateEventActionInput) ( // API operation CreateEventAction for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The limit on the number of requests per second was exceeded. // -// * ValidationException -// The request was invalid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - ValidationException +// The request was invalid. // -// * InternalServerException -// An exception occurred with the service. +// - InternalServerException +// An exception occurred with the service. // -// * ServiceLimitExceededException -// The request has exceeded the quotas imposed by the service. +// - ServiceLimitExceededException +// The request has exceeded the quotas imposed by the service. // -// * AccessDeniedException -// Access to the resource is denied. +// - AccessDeniedException +// Access to the resource is denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateEventAction func (c *DataExchange) CreateEventAction(input *CreateEventActionInput) (*CreateEventActionOutput, error) { @@ -305,14 +305,13 @@ const opCreateJob = "CreateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateJobRequest method. +// req, resp := client.CreateJobRequest(params) // -// // Example sending a request using the CreateJobRequest method. -// req, resp := client.CreateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJob func (c *DataExchange) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobOutput) { @@ -343,24 +342,25 @@ func (c *DataExchange) CreateJobRequest(input *CreateJobInput) (req *request.Req // API operation CreateJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. +// +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// The request was invalid. +// - ValidationException +// The request was invalid. // -// * InternalServerException -// An exception occurred with the service. +// - InternalServerException +// An exception occurred with the service. // -// * AccessDeniedException -// Access to the resource is denied. +// - AccessDeniedException +// Access to the resource is denied. // -// * ConflictException -// The request couldn't be completed because it conflicted with the current -// state of the resource. +// - ConflictException +// The request couldn't be completed because it conflicted with the current +// state of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateJob func (c *DataExchange) CreateJob(input *CreateJobInput) (*CreateJobOutput, error) { @@ -400,14 +400,13 @@ const opCreateRevision = "CreateRevision" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRevisionRequest method. +// req, resp := client.CreateRevisionRequest(params) // -// // Example sending a request using the CreateRevisionRequest method. -// req, resp := client.CreateRevisionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateRevision func (c *DataExchange) CreateRevisionRequest(input *CreateRevisionInput) (req *request.Request, output *CreateRevisionOutput) { @@ -438,20 +437,21 @@ func (c *DataExchange) CreateRevisionRequest(input *CreateRevisionInput) (req *r // API operation CreateRevision for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. +// +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// The request was invalid. +// - ValidationException +// The request was invalid. // -// * InternalServerException -// An exception occurred with the service. +// - InternalServerException +// An exception occurred with the service. // -// * AccessDeniedException -// Access to the resource is denied. +// - AccessDeniedException +// Access to the resource is denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/CreateRevision func (c *DataExchange) CreateRevision(input *CreateRevisionInput) (*CreateRevisionOutput, error) { @@ -491,14 +491,13 @@ const opDeleteAsset = "DeleteAsset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAssetRequest method. +// req, resp := client.DeleteAssetRequest(params) // -// // Example sending a request using the DeleteAssetRequest method. -// req, resp := client.DeleteAssetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteAsset func (c *DataExchange) DeleteAssetRequest(input *DeleteAssetInput) (req *request.Request, output *DeleteAssetOutput) { @@ -530,24 +529,25 @@ func (c *DataExchange) DeleteAssetRequest(input *DeleteAssetInput) (req *request // API operation DeleteAsset for usage and error information. // // Returned Error Types: -// * ValidationException -// The request was invalid. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. +// +// - InternalServerException +// An exception occurred with the service. // -// * AccessDeniedException -// Access to the resource is denied. +// - AccessDeniedException +// Access to the resource is denied. // -// * ResourceNotFoundException -// The resource couldn't be found. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ConflictException -// The request couldn't be completed because it conflicted with the current -// state of the resource. +// - ConflictException +// The request couldn't be completed because it conflicted with the current +// state of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteAsset func (c *DataExchange) DeleteAsset(input *DeleteAssetInput) (*DeleteAssetOutput, error) { @@ -587,14 +587,13 @@ const opDeleteDataSet = "DeleteDataSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDataSetRequest method. +// req, resp := client.DeleteDataSetRequest(params) // -// // Example sending a request using the DeleteDataSetRequest method. -// req, resp := client.DeleteDataSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteDataSet func (c *DataExchange) DeleteDataSetRequest(input *DeleteDataSetInput) (req *request.Request, output *DeleteDataSetOutput) { @@ -626,24 +625,25 @@ func (c *DataExchange) DeleteDataSetRequest(input *DeleteDataSetInput) (req *req // API operation DeleteDataSet for usage and error information. // // Returned Error Types: -// * ValidationException -// The request was invalid. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. +// +// - InternalServerException +// An exception occurred with the service. // -// * AccessDeniedException -// Access to the resource is denied. +// - AccessDeniedException +// Access to the resource is denied. // -// * ResourceNotFoundException -// The resource couldn't be found. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ConflictException -// The request couldn't be completed because it conflicted with the current -// state of the resource. +// - ConflictException +// The request couldn't be completed because it conflicted with the current +// state of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteDataSet func (c *DataExchange) DeleteDataSet(input *DeleteDataSetInput) (*DeleteDataSetOutput, error) { @@ -683,14 +683,13 @@ const opDeleteEventAction = "DeleteEventAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventActionRequest method. +// req, resp := client.DeleteEventActionRequest(params) // -// // Example sending a request using the DeleteEventActionRequest method. -// req, resp := client.DeleteEventActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteEventAction func (c *DataExchange) DeleteEventActionRequest(input *DeleteEventActionInput) (req *request.Request, output *DeleteEventActionOutput) { @@ -722,17 +721,18 @@ func (c *DataExchange) DeleteEventActionRequest(input *DeleteEventActionInput) ( // API operation DeleteEventAction for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ValidationException -// The request was invalid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. +// +// - InternalServerException +// An exception occurred with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteEventAction func (c *DataExchange) DeleteEventAction(input *DeleteEventActionInput) (*DeleteEventActionOutput, error) { @@ -772,14 +772,13 @@ const opDeleteRevision = "DeleteRevision" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRevisionRequest method. +// req, resp := client.DeleteRevisionRequest(params) // -// // Example sending a request using the DeleteRevisionRequest method. -// req, resp := client.DeleteRevisionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteRevision func (c *DataExchange) DeleteRevisionRequest(input *DeleteRevisionInput) (req *request.Request, output *DeleteRevisionOutput) { @@ -811,24 +810,25 @@ func (c *DataExchange) DeleteRevisionRequest(input *DeleteRevisionInput) (req *r // API operation DeleteRevision for usage and error information. // // Returned Error Types: -// * ValidationException -// The request was invalid. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. // -// * AccessDeniedException -// Access to the resource is denied. +// - InternalServerException +// An exception occurred with the service. // -// * ResourceNotFoundException -// The resource couldn't be found. +// - AccessDeniedException +// Access to the resource is denied. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ConflictException -// The request couldn't be completed because it conflicted with the current -// state of the resource. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - ConflictException +// The request couldn't be completed because it conflicted with the current +// state of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/DeleteRevision func (c *DataExchange) DeleteRevision(input *DeleteRevisionInput) (*DeleteRevisionOutput, error) { @@ -868,14 +868,13 @@ const opGetAsset = "GetAsset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssetRequest method. +// req, resp := client.GetAssetRequest(params) // -// // Example sending a request using the GetAssetRequest method. -// req, resp := client.GetAssetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetAsset func (c *DataExchange) GetAssetRequest(input *GetAssetInput) (req *request.Request, output *GetAssetOutput) { @@ -906,17 +905,18 @@ func (c *DataExchange) GetAssetRequest(input *GetAssetInput) (req *request.Reque // API operation GetAsset for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ValidationException -// The request was invalid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. +// +// - InternalServerException +// An exception occurred with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetAsset func (c *DataExchange) GetAsset(input *GetAssetInput) (*GetAssetOutput, error) { @@ -956,14 +956,13 @@ const opGetDataSet = "GetDataSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDataSetRequest method. +// req, resp := client.GetDataSetRequest(params) // -// // Example sending a request using the GetDataSetRequest method. -// req, resp := client.GetDataSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetDataSet func (c *DataExchange) GetDataSetRequest(input *GetDataSetInput) (req *request.Request, output *GetDataSetOutput) { @@ -994,17 +993,18 @@ func (c *DataExchange) GetDataSetRequest(input *GetDataSetInput) (req *request.R // API operation GetDataSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ValidationException -// The request was invalid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. +// +// - InternalServerException +// An exception occurred with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetDataSet func (c *DataExchange) GetDataSet(input *GetDataSetInput) (*GetDataSetOutput, error) { @@ -1044,14 +1044,13 @@ const opGetEventAction = "GetEventAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEventActionRequest method. +// req, resp := client.GetEventActionRequest(params) // -// // Example sending a request using the GetEventActionRequest method. -// req, resp := client.GetEventActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetEventAction func (c *DataExchange) GetEventActionRequest(input *GetEventActionInput) (req *request.Request, output *GetEventActionOutput) { @@ -1082,17 +1081,18 @@ func (c *DataExchange) GetEventActionRequest(input *GetEventActionInput) (req *r // API operation GetEventAction for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ValidationException -// The request was invalid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. +// +// - InternalServerException +// An exception occurred with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetEventAction func (c *DataExchange) GetEventAction(input *GetEventActionInput) (*GetEventActionOutput, error) { @@ -1132,14 +1132,13 @@ const opGetJob = "GetJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobRequest method. +// req, resp := client.GetJobRequest(params) // -// // Example sending a request using the GetJobRequest method. -// req, resp := client.GetJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetJob func (c *DataExchange) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput) { @@ -1170,17 +1169,18 @@ func (c *DataExchange) GetJobRequest(input *GetJobInput) (req *request.Request, // API operation GetJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ValidationException -// The request was invalid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. +// +// - InternalServerException +// An exception occurred with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetJob func (c *DataExchange) GetJob(input *GetJobInput) (*GetJobOutput, error) { @@ -1220,14 +1220,13 @@ const opGetRevision = "GetRevision" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRevisionRequest method. +// req, resp := client.GetRevisionRequest(params) // -// // Example sending a request using the GetRevisionRequest method. -// req, resp := client.GetRevisionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetRevision func (c *DataExchange) GetRevisionRequest(input *GetRevisionInput) (req *request.Request, output *GetRevisionOutput) { @@ -1258,17 +1257,18 @@ func (c *DataExchange) GetRevisionRequest(input *GetRevisionInput) (req *request // API operation GetRevision for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ValidationException -// The request was invalid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. +// +// - InternalServerException +// An exception occurred with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/GetRevision func (c *DataExchange) GetRevision(input *GetRevisionInput) (*GetRevisionOutput, error) { @@ -1308,14 +1308,13 @@ const opListDataSetRevisions = "ListDataSetRevisions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDataSetRevisionsRequest method. +// req, resp := client.ListDataSetRevisionsRequest(params) // -// // Example sending a request using the ListDataSetRevisionsRequest method. -// req, resp := client.ListDataSetRevisionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataSetRevisions func (c *DataExchange) ListDataSetRevisionsRequest(input *ListDataSetRevisionsInput) (req *request.Request, output *ListDataSetRevisionsOutput) { @@ -1353,17 +1352,18 @@ func (c *DataExchange) ListDataSetRevisionsRequest(input *ListDataSetRevisionsIn // API operation ListDataSetRevisions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. +// +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// The request was invalid. +// - ValidationException +// The request was invalid. // -// * InternalServerException -// An exception occurred with the service. +// - InternalServerException +// An exception occurred with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataSetRevisions func (c *DataExchange) ListDataSetRevisions(input *ListDataSetRevisionsInput) (*ListDataSetRevisionsOutput, error) { @@ -1395,15 +1395,14 @@ func (c *DataExchange) ListDataSetRevisionsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDataSetRevisions operation. -// pageNum := 0 -// err := client.ListDataSetRevisionsPages(params, -// func(page *dataexchange.ListDataSetRevisionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDataSetRevisions operation. +// pageNum := 0 +// err := client.ListDataSetRevisionsPages(params, +// func(page *dataexchange.ListDataSetRevisionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DataExchange) ListDataSetRevisionsPages(input *ListDataSetRevisionsInput, fn func(*ListDataSetRevisionsOutput, bool) bool) error { return c.ListDataSetRevisionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1455,14 +1454,13 @@ const opListDataSets = "ListDataSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDataSetsRequest method. +// req, resp := client.ListDataSetsRequest(params) // -// // Example sending a request using the ListDataSetsRequest method. -// req, resp := client.ListDataSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataSets func (c *DataExchange) ListDataSetsRequest(input *ListDataSetsInput) (req *request.Request, output *ListDataSetsOutput) { @@ -1501,17 +1499,18 @@ func (c *DataExchange) ListDataSetsRequest(input *ListDataSetsInput) (req *reque // API operation ListDataSets for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ValidationException -// The request was invalid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. +// +// - InternalServerException +// An exception occurred with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListDataSets func (c *DataExchange) ListDataSets(input *ListDataSetsInput) (*ListDataSetsOutput, error) { @@ -1543,15 +1542,14 @@ func (c *DataExchange) ListDataSetsWithContext(ctx aws.Context, input *ListDataS // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDataSets operation. -// pageNum := 0 -// err := client.ListDataSetsPages(params, -// func(page *dataexchange.ListDataSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDataSets operation. +// pageNum := 0 +// err := client.ListDataSetsPages(params, +// func(page *dataexchange.ListDataSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DataExchange) ListDataSetsPages(input *ListDataSetsInput, fn func(*ListDataSetsOutput, bool) bool) error { return c.ListDataSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1603,14 +1601,13 @@ const opListEventActions = "ListEventActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventActionsRequest method. +// req, resp := client.ListEventActionsRequest(params) // -// // Example sending a request using the ListEventActionsRequest method. -// req, resp := client.ListEventActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListEventActions func (c *DataExchange) ListEventActionsRequest(input *ListEventActionsInput) (req *request.Request, output *ListEventActionsOutput) { @@ -1647,17 +1644,18 @@ func (c *DataExchange) ListEventActionsRequest(input *ListEventActionsInput) (re // API operation ListEventActions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. +// +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// The request was invalid. +// - ValidationException +// The request was invalid. // -// * InternalServerException -// An exception occurred with the service. +// - InternalServerException +// An exception occurred with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListEventActions func (c *DataExchange) ListEventActions(input *ListEventActionsInput) (*ListEventActionsOutput, error) { @@ -1689,15 +1687,14 @@ func (c *DataExchange) ListEventActionsWithContext(ctx aws.Context, input *ListE // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEventActions operation. -// pageNum := 0 -// err := client.ListEventActionsPages(params, -// func(page *dataexchange.ListEventActionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEventActions operation. +// pageNum := 0 +// err := client.ListEventActionsPages(params, +// func(page *dataexchange.ListEventActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DataExchange) ListEventActionsPages(input *ListEventActionsInput, fn func(*ListEventActionsOutput, bool) bool) error { return c.ListEventActionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1749,14 +1746,13 @@ const opListJobs = "ListJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobsRequest method. +// req, resp := client.ListJobsRequest(params) // -// // Example sending a request using the ListJobsRequest method. -// req, resp := client.ListJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListJobs func (c *DataExchange) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { @@ -1793,17 +1789,18 @@ func (c *DataExchange) ListJobsRequest(input *ListJobsInput) (req *request.Reque // API operation ListJobs for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ValidationException -// The request was invalid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. +// +// - InternalServerException +// An exception occurred with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListJobs func (c *DataExchange) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { @@ -1835,15 +1832,14 @@ func (c *DataExchange) ListJobsWithContext(ctx aws.Context, input *ListJobsInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobs operation. -// pageNum := 0 -// err := client.ListJobsPages(params, -// func(page *dataexchange.ListJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobs operation. +// pageNum := 0 +// err := client.ListJobsPages(params, +// func(page *dataexchange.ListJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DataExchange) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error { return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1895,14 +1891,13 @@ const opListRevisionAssets = "ListRevisionAssets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRevisionAssetsRequest method. +// req, resp := client.ListRevisionAssetsRequest(params) // -// // Example sending a request using the ListRevisionAssetsRequest method. -// req, resp := client.ListRevisionAssetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListRevisionAssets func (c *DataExchange) ListRevisionAssetsRequest(input *ListRevisionAssetsInput) (req *request.Request, output *ListRevisionAssetsOutput) { @@ -1940,17 +1935,18 @@ func (c *DataExchange) ListRevisionAssetsRequest(input *ListRevisionAssetsInput) // API operation ListRevisionAssets for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. +// +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// The request was invalid. +// - ValidationException +// The request was invalid. // -// * InternalServerException -// An exception occurred with the service. +// - InternalServerException +// An exception occurred with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListRevisionAssets func (c *DataExchange) ListRevisionAssets(input *ListRevisionAssetsInput) (*ListRevisionAssetsOutput, error) { @@ -1982,15 +1978,14 @@ func (c *DataExchange) ListRevisionAssetsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRevisionAssets operation. -// pageNum := 0 -// err := client.ListRevisionAssetsPages(params, -// func(page *dataexchange.ListRevisionAssetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRevisionAssets operation. +// pageNum := 0 +// err := client.ListRevisionAssetsPages(params, +// func(page *dataexchange.ListRevisionAssetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DataExchange) ListRevisionAssetsPages(input *ListRevisionAssetsInput, fn func(*ListRevisionAssetsOutput, bool) bool) error { return c.ListRevisionAssetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2042,14 +2037,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/ListTagsForResource func (c *DataExchange) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2116,14 +2110,13 @@ const opRevokeRevision = "RevokeRevision" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeRevisionRequest method. +// req, resp := client.RevokeRevisionRequest(params) // -// // Example sending a request using the RevokeRevisionRequest method. -// req, resp := client.RevokeRevisionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RevokeRevision func (c *DataExchange) RevokeRevisionRequest(input *RevokeRevisionInput) (req *request.Request, output *RevokeRevisionOutput) { @@ -2154,24 +2147,25 @@ func (c *DataExchange) RevokeRevisionRequest(input *RevokeRevisionInput) (req *r // API operation RevokeRevision for usage and error information. // // Returned Error Types: -// * ValidationException -// The request was invalid. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. // -// * AccessDeniedException -// Access to the resource is denied. +// - InternalServerException +// An exception occurred with the service. // -// * ResourceNotFoundException -// The resource couldn't be found. +// - AccessDeniedException +// Access to the resource is denied. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ConflictException -// The request couldn't be completed because it conflicted with the current -// state of the resource. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - ConflictException +// The request couldn't be completed because it conflicted with the current +// state of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/RevokeRevision func (c *DataExchange) RevokeRevision(input *RevokeRevisionInput) (*RevokeRevisionOutput, error) { @@ -2211,14 +2205,13 @@ const opSendApiAsset = "SendApiAsset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendApiAssetRequest method. +// req, resp := client.SendApiAssetRequest(params) // -// // Example sending a request using the SendApiAssetRequest method. -// req, resp := client.SendApiAssetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/SendApiAsset func (c *DataExchange) SendApiAssetRequest(input *SendApiAssetInput) (req *request.Request, output *SendApiAssetOutput) { @@ -2252,20 +2245,21 @@ func (c *DataExchange) SendApiAssetRequest(input *SendApiAssetInput) (req *reque // API operation SendApiAsset for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ValidationException -// The request was invalid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. // -// * AccessDeniedException -// Access to the resource is denied. +// - InternalServerException +// An exception occurred with the service. +// +// - AccessDeniedException +// Access to the resource is denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/SendApiAsset func (c *DataExchange) SendApiAsset(input *SendApiAssetInput) (*SendApiAssetOutput, error) { @@ -2305,14 +2299,13 @@ const opStartJob = "StartJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartJobRequest method. +// req, resp := client.StartJobRequest(params) // -// // Example sending a request using the StartJobRequest method. -// req, resp := client.StartJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/StartJob func (c *DataExchange) StartJobRequest(input *StartJobInput) (req *request.Request, output *StartJobOutput) { @@ -2344,24 +2337,25 @@ func (c *DataExchange) StartJobRequest(input *StartJobInput) (req *request.Reque // API operation StartJob for usage and error information. // // Returned Error Types: -// * ValidationException -// The request was invalid. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. // -// * AccessDeniedException -// Access to the resource is denied. +// - InternalServerException +// An exception occurred with the service. // -// * ResourceNotFoundException -// The resource couldn't be found. +// - AccessDeniedException +// Access to the resource is denied. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ConflictException -// The request couldn't be completed because it conflicted with the current -// state of the resource. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - ConflictException +// The request couldn't be completed because it conflicted with the current +// state of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/StartJob func (c *DataExchange) StartJob(input *StartJobInput) (*StartJobOutput, error) { @@ -2401,14 +2395,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/TagResource func (c *DataExchange) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2476,14 +2469,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UntagResource func (c *DataExchange) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2551,14 +2543,13 @@ const opUpdateAsset = "UpdateAsset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAssetRequest method. +// req, resp := client.UpdateAssetRequest(params) // -// // Example sending a request using the UpdateAssetRequest method. -// req, resp := client.UpdateAssetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateAsset func (c *DataExchange) UpdateAssetRequest(input *UpdateAssetInput) (req *request.Request, output *UpdateAssetOutput) { @@ -2589,24 +2580,25 @@ func (c *DataExchange) UpdateAssetRequest(input *UpdateAssetInput) (req *request // API operation UpdateAsset for usage and error information. // // Returned Error Types: -// * ValidationException -// The request was invalid. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. // -// * AccessDeniedException -// Access to the resource is denied. +// - InternalServerException +// An exception occurred with the service. // -// * ResourceNotFoundException -// The resource couldn't be found. +// - AccessDeniedException +// Access to the resource is denied. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ConflictException -// The request couldn't be completed because it conflicted with the current -// state of the resource. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - ConflictException +// The request couldn't be completed because it conflicted with the current +// state of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateAsset func (c *DataExchange) UpdateAsset(input *UpdateAssetInput) (*UpdateAssetOutput, error) { @@ -2646,14 +2638,13 @@ const opUpdateDataSet = "UpdateDataSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDataSetRequest method. +// req, resp := client.UpdateDataSetRequest(params) // -// // Example sending a request using the UpdateDataSetRequest method. -// req, resp := client.UpdateDataSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateDataSet func (c *DataExchange) UpdateDataSetRequest(input *UpdateDataSetInput) (req *request.Request, output *UpdateDataSetOutput) { @@ -2684,20 +2675,21 @@ func (c *DataExchange) UpdateDataSetRequest(input *UpdateDataSetInput) (req *req // API operation UpdateDataSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ValidationException -// The request was invalid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. // -// * AccessDeniedException -// Access to the resource is denied. +// - InternalServerException +// An exception occurred with the service. +// +// - AccessDeniedException +// Access to the resource is denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateDataSet func (c *DataExchange) UpdateDataSet(input *UpdateDataSetInput) (*UpdateDataSetOutput, error) { @@ -2737,14 +2729,13 @@ const opUpdateEventAction = "UpdateEventAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEventActionRequest method. +// req, resp := client.UpdateEventActionRequest(params) // -// // Example sending a request using the UpdateEventActionRequest method. -// req, resp := client.UpdateEventActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateEventAction func (c *DataExchange) UpdateEventActionRequest(input *UpdateEventActionInput) (req *request.Request, output *UpdateEventActionOutput) { @@ -2775,20 +2766,21 @@ func (c *DataExchange) UpdateEventActionRequest(input *UpdateEventActionInput) ( // API operation UpdateEventAction for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ValidationException -// The request was invalid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. // -// * AccessDeniedException -// Access to the resource is denied. +// - InternalServerException +// An exception occurred with the service. +// +// - AccessDeniedException +// Access to the resource is denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateEventAction func (c *DataExchange) UpdateEventAction(input *UpdateEventActionInput) (*UpdateEventActionOutput, error) { @@ -2828,14 +2820,13 @@ const opUpdateRevision = "UpdateRevision" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRevisionRequest method. +// req, resp := client.UpdateRevisionRequest(params) // -// // Example sending a request using the UpdateRevisionRequest method. -// req, resp := client.UpdateRevisionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateRevision func (c *DataExchange) UpdateRevisionRequest(input *UpdateRevisionInput) (req *request.Request, output *UpdateRevisionOutput) { @@ -2866,24 +2857,25 @@ func (c *DataExchange) UpdateRevisionRequest(input *UpdateRevisionInput) (req *r // API operation UpdateRevision for usage and error information. // // Returned Error Types: -// * ValidationException -// The request was invalid. // -// * InternalServerException -// An exception occurred with the service. +// - ValidationException +// The request was invalid. +// +// - InternalServerException +// An exception occurred with the service. // -// * AccessDeniedException -// Access to the resource is denied. +// - AccessDeniedException +// Access to the resource is denied. // -// * ResourceNotFoundException -// The resource couldn't be found. +// - ResourceNotFoundException +// The resource couldn't be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ConflictException -// The request couldn't be completed because it conflicted with the current -// state of the resource. +// - ConflictException +// The request couldn't be completed because it conflicted with the current +// state of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dataexchange-2017-07-25/UpdateRevision func (c *DataExchange) UpdateRevision(input *UpdateRevisionInput) (*UpdateRevisionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/dataexchangeiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/dataexchangeiface/interface.go index d81bd7eff914..fe20705efe9c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/dataexchangeiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/dataexchangeiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Data Exchange. -// func myFunc(svc dataexchangeiface.DataExchangeAPI) bool { -// // Make svc.CancelJob request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Data Exchange. +// func myFunc(svc dataexchangeiface.DataExchangeAPI) bool { +// // Make svc.CancelJob request +// } // -// func main() { -// sess := session.New() -// svc := dataexchange.New(sess) +// func main() { +// sess := session.New() +// svc := dataexchange.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockDataExchangeClient struct { -// dataexchangeiface.DataExchangeAPI -// } -// func (m *mockDataExchangeClient) CancelJob(input *dataexchange.CancelJobInput) (*dataexchange.CancelJobOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockDataExchangeClient struct { +// dataexchangeiface.DataExchangeAPI +// } +// func (m *mockDataExchangeClient) CancelJob(input *dataexchange.CancelJobInput) (*dataexchange.CancelJobOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockDataExchangeClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockDataExchangeClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/doc.go index a1486a7f5bd5..a861aa4d0102 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/doc.go @@ -10,7 +10,7 @@ // See dataexchange package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/dataexchange/ // -// Using the Client +// # Using the Client // // To contact AWS Data Exchange with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/service.go index 1b6efdf0be25..3f6914734d26 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dataexchange/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a DataExchange client from just a session. -// svc := dataexchange.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a DataExchange client with additional configuration -// svc := dataexchange.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a DataExchange client from just a session. +// svc := dataexchange.New(mySession) +// +// // Create a DataExchange client with additional configuration +// svc := dataexchange.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *DataExchange { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/api.go index 49fcc0b36ad4..7591842abe4d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/api.go @@ -29,14 +29,13 @@ const opActivatePipeline = "ActivatePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ActivatePipelineRequest method. +// req, resp := client.ActivatePipelineRequest(params) // -// // Example sending a request using the ActivatePipelineRequest method. -// req, resp := client.ActivatePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ActivatePipeline func (c *DataPipeline) ActivatePipelineRequest(input *ActivatePipelineInput) (req *request.Request, output *ActivatePipelineOutput) { @@ -75,20 +74,21 @@ func (c *DataPipeline) ActivatePipelineRequest(input *ActivatePipelineInput) (re // API operation ActivatePipeline for usage and error information. // // Returned Error Types: -// * PipelineNotFoundException -// The specified pipeline was not found. Verify that you used the correct user -// and account identifiers. // -// * PipelineDeletedException -// The specified pipeline has been deleted. +// - PipelineNotFoundException +// The specified pipeline was not found. Verify that you used the correct user +// and account identifiers. +// +// - PipelineDeletedException +// The specified pipeline has been deleted. // -// * InternalServiceError -// An internal service error occurred. +// - InternalServiceError +// An internal service error occurred. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ActivatePipeline func (c *DataPipeline) ActivatePipeline(input *ActivatePipelineInput) (*ActivatePipelineOutput, error) { @@ -128,14 +128,13 @@ const opAddTags = "AddTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsRequest method. +// req, resp := client.AddTagsRequest(params) // -// // Example sending a request using the AddTagsRequest method. -// req, resp := client.AddTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/AddTags func (c *DataPipeline) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) { @@ -167,20 +166,21 @@ func (c *DataPipeline) AddTagsRequest(input *AddTagsInput) (req *request.Request // API operation AddTags for usage and error information. // // Returned Error Types: -// * InternalServiceError -// An internal service error occurred. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InternalServiceError +// An internal service error occurred. // -// * PipelineNotFoundException -// The specified pipeline was not found. Verify that you used the correct user -// and account identifiers. +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // -// * PipelineDeletedException -// The specified pipeline has been deleted. +// - PipelineNotFoundException +// The specified pipeline was not found. Verify that you used the correct user +// and account identifiers. +// +// - PipelineDeletedException +// The specified pipeline has been deleted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/AddTags func (c *DataPipeline) AddTags(input *AddTagsInput) (*AddTagsOutput, error) { @@ -220,14 +220,13 @@ const opCreatePipeline = "CreatePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePipelineRequest method. +// req, resp := client.CreatePipelineRequest(params) // -// // Example sending a request using the CreatePipelineRequest method. -// req, resp := client.CreatePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/CreatePipeline func (c *DataPipeline) CreatePipelineRequest(input *CreatePipelineInput) (req *request.Request, output *CreatePipelineOutput) { @@ -259,13 +258,14 @@ func (c *DataPipeline) CreatePipelineRequest(input *CreatePipelineInput) (req *r // API operation CreatePipeline for usage and error information. // // Returned Error Types: -// * InternalServiceError -// An internal service error occurred. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InternalServiceError +// An internal service error occurred. +// +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/CreatePipeline func (c *DataPipeline) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error) { @@ -305,14 +305,13 @@ const opDeactivatePipeline = "DeactivatePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeactivatePipelineRequest method. +// req, resp := client.DeactivatePipelineRequest(params) // -// // Example sending a request using the DeactivatePipelineRequest method. -// req, resp := client.DeactivatePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DeactivatePipeline func (c *DataPipeline) DeactivatePipelineRequest(input *DeactivatePipelineInput) (req *request.Request, output *DeactivatePipelineOutput) { @@ -349,20 +348,21 @@ func (c *DataPipeline) DeactivatePipelineRequest(input *DeactivatePipelineInput) // API operation DeactivatePipeline for usage and error information. // // Returned Error Types: -// * PipelineNotFoundException -// The specified pipeline was not found. Verify that you used the correct user -// and account identifiers. // -// * PipelineDeletedException -// The specified pipeline has been deleted. +// - PipelineNotFoundException +// The specified pipeline was not found. Verify that you used the correct user +// and account identifiers. +// +// - PipelineDeletedException +// The specified pipeline has been deleted. // -// * InternalServiceError -// An internal service error occurred. +// - InternalServiceError +// An internal service error occurred. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DeactivatePipeline func (c *DataPipeline) DeactivatePipeline(input *DeactivatePipelineInput) (*DeactivatePipelineOutput, error) { @@ -402,14 +402,13 @@ const opDeletePipeline = "DeletePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePipelineRequest method. +// req, resp := client.DeletePipelineRequest(params) // -// // Example sending a request using the DeletePipelineRequest method. -// req, resp := client.DeletePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DeletePipeline func (c *DataPipeline) DeletePipelineRequest(input *DeletePipelineInput) (req *request.Request, output *DeletePipelineOutput) { @@ -448,17 +447,18 @@ func (c *DataPipeline) DeletePipelineRequest(input *DeletePipelineInput) (req *r // API operation DeletePipeline for usage and error information. // // Returned Error Types: -// * PipelineNotFoundException -// The specified pipeline was not found. Verify that you used the correct user -// and account identifiers. // -// * InternalServiceError -// An internal service error occurred. +// - PipelineNotFoundException +// The specified pipeline was not found. Verify that you used the correct user +// and account identifiers. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InternalServiceError +// An internal service error occurred. +// +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DeletePipeline func (c *DataPipeline) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error) { @@ -498,14 +498,13 @@ const opDescribeObjects = "DescribeObjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeObjectsRequest method. +// req, resp := client.DescribeObjectsRequest(params) // -// // Example sending a request using the DescribeObjectsRequest method. -// req, resp := client.DescribeObjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DescribeObjects func (c *DataPipeline) DescribeObjectsRequest(input *DescribeObjectsInput) (req *request.Request, output *DescribeObjectsOutput) { @@ -544,20 +543,21 @@ func (c *DataPipeline) DescribeObjectsRequest(input *DescribeObjectsInput) (req // API operation DescribeObjects for usage and error information. // // Returned Error Types: -// * InternalServiceError -// An internal service error occurred. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InternalServiceError +// An internal service error occurred. // -// * PipelineNotFoundException -// The specified pipeline was not found. Verify that you used the correct user -// and account identifiers. +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // -// * PipelineDeletedException -// The specified pipeline has been deleted. +// - PipelineNotFoundException +// The specified pipeline was not found. Verify that you used the correct user +// and account identifiers. +// +// - PipelineDeletedException +// The specified pipeline has been deleted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DescribeObjects func (c *DataPipeline) DescribeObjects(input *DescribeObjectsInput) (*DescribeObjectsOutput, error) { @@ -589,15 +589,14 @@ func (c *DataPipeline) DescribeObjectsWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeObjects operation. -// pageNum := 0 -// err := client.DescribeObjectsPages(params, -// func(page *datapipeline.DescribeObjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeObjects operation. +// pageNum := 0 +// err := client.DescribeObjectsPages(params, +// func(page *datapipeline.DescribeObjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DataPipeline) DescribeObjectsPages(input *DescribeObjectsInput, fn func(*DescribeObjectsOutput, bool) bool) error { return c.DescribeObjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -649,14 +648,13 @@ const opDescribePipelines = "DescribePipelines" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePipelinesRequest method. +// req, resp := client.DescribePipelinesRequest(params) // -// // Example sending a request using the DescribePipelinesRequest method. -// req, resp := client.DescribePipelinesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DescribePipelines func (c *DataPipeline) DescribePipelinesRequest(input *DescribePipelinesInput) (req *request.Request, output *DescribePipelinesOutput) { @@ -695,20 +693,21 @@ func (c *DataPipeline) DescribePipelinesRequest(input *DescribePipelinesInput) ( // API operation DescribePipelines for usage and error information. // // Returned Error Types: -// * PipelineNotFoundException -// The specified pipeline was not found. Verify that you used the correct user -// and account identifiers. // -// * PipelineDeletedException -// The specified pipeline has been deleted. +// - PipelineNotFoundException +// The specified pipeline was not found. Verify that you used the correct user +// and account identifiers. // -// * InternalServiceError -// An internal service error occurred. +// - PipelineDeletedException +// The specified pipeline has been deleted. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InternalServiceError +// An internal service error occurred. +// +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/DescribePipelines func (c *DataPipeline) DescribePipelines(input *DescribePipelinesInput) (*DescribePipelinesOutput, error) { @@ -748,14 +747,13 @@ const opEvaluateExpression = "EvaluateExpression" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EvaluateExpressionRequest method. +// req, resp := client.EvaluateExpressionRequest(params) // -// // Example sending a request using the EvaluateExpressionRequest method. -// req, resp := client.EvaluateExpressionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/EvaluateExpression func (c *DataPipeline) EvaluateExpressionRequest(input *EvaluateExpressionInput) (req *request.Request, output *EvaluateExpressionOutput) { @@ -788,23 +786,24 @@ func (c *DataPipeline) EvaluateExpressionRequest(input *EvaluateExpressionInput) // API operation EvaluateExpression for usage and error information. // // Returned Error Types: -// * InternalServiceError -// An internal service error occurred. // -// * TaskNotFoundException -// The specified task was not found. +// - InternalServiceError +// An internal service error occurred. +// +// - TaskNotFoundException +// The specified task was not found. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // -// * PipelineNotFoundException -// The specified pipeline was not found. Verify that you used the correct user -// and account identifiers. +// - PipelineNotFoundException +// The specified pipeline was not found. Verify that you used the correct user +// and account identifiers. // -// * PipelineDeletedException -// The specified pipeline has been deleted. +// - PipelineDeletedException +// The specified pipeline has been deleted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/EvaluateExpression func (c *DataPipeline) EvaluateExpression(input *EvaluateExpressionInput) (*EvaluateExpressionOutput, error) { @@ -844,14 +843,13 @@ const opGetPipelineDefinition = "GetPipelineDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPipelineDefinitionRequest method. +// req, resp := client.GetPipelineDefinitionRequest(params) // -// // Example sending a request using the GetPipelineDefinitionRequest method. -// req, resp := client.GetPipelineDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/GetPipelineDefinition func (c *DataPipeline) GetPipelineDefinitionRequest(input *GetPipelineDefinitionInput) (req *request.Request, output *GetPipelineDefinitionOutput) { @@ -883,20 +881,21 @@ func (c *DataPipeline) GetPipelineDefinitionRequest(input *GetPipelineDefinition // API operation GetPipelineDefinition for usage and error information. // // Returned Error Types: -// * InternalServiceError -// An internal service error occurred. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InternalServiceError +// An internal service error occurred. +// +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // -// * PipelineNotFoundException -// The specified pipeline was not found. Verify that you used the correct user -// and account identifiers. +// - PipelineNotFoundException +// The specified pipeline was not found. Verify that you used the correct user +// and account identifiers. // -// * PipelineDeletedException -// The specified pipeline has been deleted. +// - PipelineDeletedException +// The specified pipeline has been deleted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/GetPipelineDefinition func (c *DataPipeline) GetPipelineDefinition(input *GetPipelineDefinitionInput) (*GetPipelineDefinitionOutput, error) { @@ -936,14 +935,13 @@ const opListPipelines = "ListPipelines" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPipelinesRequest method. +// req, resp := client.ListPipelinesRequest(params) // -// // Example sending a request using the ListPipelinesRequest method. -// req, resp := client.ListPipelinesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ListPipelines func (c *DataPipeline) ListPipelinesRequest(input *ListPipelinesInput) (req *request.Request, output *ListPipelinesOutput) { @@ -981,13 +979,14 @@ func (c *DataPipeline) ListPipelinesRequest(input *ListPipelinesInput) (req *req // API operation ListPipelines for usage and error information. // // Returned Error Types: -// * InternalServiceError -// An internal service error occurred. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InternalServiceError +// An internal service error occurred. +// +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ListPipelines func (c *DataPipeline) ListPipelines(input *ListPipelinesInput) (*ListPipelinesOutput, error) { @@ -1019,15 +1018,14 @@ func (c *DataPipeline) ListPipelinesWithContext(ctx aws.Context, input *ListPipe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPipelines operation. -// pageNum := 0 -// err := client.ListPipelinesPages(params, -// func(page *datapipeline.ListPipelinesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPipelines operation. +// pageNum := 0 +// err := client.ListPipelinesPages(params, +// func(page *datapipeline.ListPipelinesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DataPipeline) ListPipelinesPages(input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool) error { return c.ListPipelinesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1079,14 +1077,13 @@ const opPollForTask = "PollForTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PollForTaskRequest method. +// req, resp := client.PollForTaskRequest(params) // -// // Example sending a request using the PollForTaskRequest method. -// req, resp := client.PollForTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/PollForTask func (c *DataPipeline) PollForTaskRequest(input *PollForTaskInput) (req *request.Request, output *PollForTaskOutput) { @@ -1130,16 +1127,17 @@ func (c *DataPipeline) PollForTaskRequest(input *PollForTaskInput) (req *request // API operation PollForTask for usage and error information. // // Returned Error Types: -// * InternalServiceError -// An internal service error occurred. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InternalServiceError +// An internal service error occurred. +// +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // -// * TaskNotFoundException -// The specified task was not found. +// - TaskNotFoundException +// The specified task was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/PollForTask func (c *DataPipeline) PollForTask(input *PollForTaskInput) (*PollForTaskOutput, error) { @@ -1179,14 +1177,13 @@ const opPutPipelineDefinition = "PutPipelineDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPipelineDefinitionRequest method. +// req, resp := client.PutPipelineDefinitionRequest(params) // -// // Example sending a request using the PutPipelineDefinitionRequest method. -// req, resp := client.PutPipelineDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/PutPipelineDefinition func (c *DataPipeline) PutPipelineDefinitionRequest(input *PutPipelineDefinitionInput) (req *request.Request, output *PutPipelineDefinitionOutput) { @@ -1213,9 +1210,11 @@ func (c *DataPipeline) PutPipelineDefinitionRequest(input *PutPipelineDefinition // PutPipelineDefinition also validates the configuration as it adds it to the // pipeline. Changes to the pipeline are saved unless one of the following three // validation errors exists in the pipeline. -// An object is missing a name or identifier field. A string or reference -// field is empty. The number of objects in the pipeline exceeds the maximum -// allowed objects. The pipeline is in a FINISHED state. +// +// An object is missing a name or identifier field. A string or reference +// field is empty. The number of objects in the pipeline exceeds the maximum +// allowed objects. The pipeline is in a FINISHED state. +// // Pipeline object definitions are passed to the PutPipelineDefinition action // and returned by the GetPipelineDefinition action. // @@ -1227,20 +1226,21 @@ func (c *DataPipeline) PutPipelineDefinitionRequest(input *PutPipelineDefinition // API operation PutPipelineDefinition for usage and error information. // // Returned Error Types: -// * InternalServiceError -// An internal service error occurred. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InternalServiceError +// An internal service error occurred. +// +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // -// * PipelineNotFoundException -// The specified pipeline was not found. Verify that you used the correct user -// and account identifiers. +// - PipelineNotFoundException +// The specified pipeline was not found. Verify that you used the correct user +// and account identifiers. // -// * PipelineDeletedException -// The specified pipeline has been deleted. +// - PipelineDeletedException +// The specified pipeline has been deleted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/PutPipelineDefinition func (c *DataPipeline) PutPipelineDefinition(input *PutPipelineDefinitionInput) (*PutPipelineDefinitionOutput, error) { @@ -1280,14 +1280,13 @@ const opQueryObjects = "QueryObjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the QueryObjectsRequest method. +// req, resp := client.QueryObjectsRequest(params) // -// // Example sending a request using the QueryObjectsRequest method. -// req, resp := client.QueryObjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/QueryObjects func (c *DataPipeline) QueryObjectsRequest(input *QueryObjectsInput) (req *request.Request, output *QueryObjectsOutput) { @@ -1325,20 +1324,21 @@ func (c *DataPipeline) QueryObjectsRequest(input *QueryObjectsInput) (req *reque // API operation QueryObjects for usage and error information. // // Returned Error Types: -// * PipelineNotFoundException -// The specified pipeline was not found. Verify that you used the correct user -// and account identifiers. // -// * PipelineDeletedException -// The specified pipeline has been deleted. +// - PipelineNotFoundException +// The specified pipeline was not found. Verify that you used the correct user +// and account identifiers. +// +// - PipelineDeletedException +// The specified pipeline has been deleted. // -// * InternalServiceError -// An internal service error occurred. +// - InternalServiceError +// An internal service error occurred. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/QueryObjects func (c *DataPipeline) QueryObjects(input *QueryObjectsInput) (*QueryObjectsOutput, error) { @@ -1370,15 +1370,14 @@ func (c *DataPipeline) QueryObjectsWithContext(ctx aws.Context, input *QueryObje // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a QueryObjects operation. -// pageNum := 0 -// err := client.QueryObjectsPages(params, -// func(page *datapipeline.QueryObjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a QueryObjects operation. +// pageNum := 0 +// err := client.QueryObjectsPages(params, +// func(page *datapipeline.QueryObjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DataPipeline) QueryObjectsPages(input *QueryObjectsInput, fn func(*QueryObjectsOutput, bool) bool) error { return c.QueryObjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1430,14 +1429,13 @@ const opRemoveTags = "RemoveTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsRequest method. +// req, resp := client.RemoveTagsRequest(params) // -// // Example sending a request using the RemoveTagsRequest method. -// req, resp := client.RemoveTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/RemoveTags func (c *DataPipeline) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) { @@ -1469,20 +1467,21 @@ func (c *DataPipeline) RemoveTagsRequest(input *RemoveTagsInput) (req *request.R // API operation RemoveTags for usage and error information. // // Returned Error Types: -// * InternalServiceError -// An internal service error occurred. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InternalServiceError +// An internal service error occurred. +// +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // -// * PipelineNotFoundException -// The specified pipeline was not found. Verify that you used the correct user -// and account identifiers. +// - PipelineNotFoundException +// The specified pipeline was not found. Verify that you used the correct user +// and account identifiers. // -// * PipelineDeletedException -// The specified pipeline has been deleted. +// - PipelineDeletedException +// The specified pipeline has been deleted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/RemoveTags func (c *DataPipeline) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) { @@ -1522,14 +1521,13 @@ const opReportTaskProgress = "ReportTaskProgress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReportTaskProgressRequest method. +// req, resp := client.ReportTaskProgressRequest(params) // -// // Example sending a request using the ReportTaskProgressRequest method. -// req, resp := client.ReportTaskProgressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ReportTaskProgress func (c *DataPipeline) ReportTaskProgressRequest(input *ReportTaskProgressInput) (req *request.Request, output *ReportTaskProgressOutput) { @@ -1571,23 +1569,24 @@ func (c *DataPipeline) ReportTaskProgressRequest(input *ReportTaskProgressInput) // API operation ReportTaskProgress for usage and error information. // // Returned Error Types: -// * InternalServiceError -// An internal service error occurred. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InternalServiceError +// An internal service error occurred. +// +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // -// * TaskNotFoundException -// The specified task was not found. +// - TaskNotFoundException +// The specified task was not found. // -// * PipelineNotFoundException -// The specified pipeline was not found. Verify that you used the correct user -// and account identifiers. +// - PipelineNotFoundException +// The specified pipeline was not found. Verify that you used the correct user +// and account identifiers. // -// * PipelineDeletedException -// The specified pipeline has been deleted. +// - PipelineDeletedException +// The specified pipeline has been deleted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ReportTaskProgress func (c *DataPipeline) ReportTaskProgress(input *ReportTaskProgressInput) (*ReportTaskProgressOutput, error) { @@ -1627,14 +1626,13 @@ const opReportTaskRunnerHeartbeat = "ReportTaskRunnerHeartbeat" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReportTaskRunnerHeartbeatRequest method. +// req, resp := client.ReportTaskRunnerHeartbeatRequest(params) // -// // Example sending a request using the ReportTaskRunnerHeartbeatRequest method. -// req, resp := client.ReportTaskRunnerHeartbeatRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ReportTaskRunnerHeartbeat func (c *DataPipeline) ReportTaskRunnerHeartbeatRequest(input *ReportTaskRunnerHeartbeatInput) (req *request.Request, output *ReportTaskRunnerHeartbeatOutput) { @@ -1669,13 +1667,14 @@ func (c *DataPipeline) ReportTaskRunnerHeartbeatRequest(input *ReportTaskRunnerH // API operation ReportTaskRunnerHeartbeat for usage and error information. // // Returned Error Types: -// * InternalServiceError -// An internal service error occurred. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InternalServiceError +// An internal service error occurred. +// +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ReportTaskRunnerHeartbeat func (c *DataPipeline) ReportTaskRunnerHeartbeat(input *ReportTaskRunnerHeartbeatInput) (*ReportTaskRunnerHeartbeatOutput, error) { @@ -1715,14 +1714,13 @@ const opSetStatus = "SetStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetStatusRequest method. +// req, resp := client.SetStatusRequest(params) // -// // Example sending a request using the SetStatusRequest method. -// req, resp := client.SetStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/SetStatus func (c *DataPipeline) SetStatusRequest(input *SetStatusInput) (req *request.Request, output *SetStatusOutput) { @@ -1758,20 +1756,21 @@ func (c *DataPipeline) SetStatusRequest(input *SetStatusInput) (req *request.Req // API operation SetStatus for usage and error information. // // Returned Error Types: -// * PipelineNotFoundException -// The specified pipeline was not found. Verify that you used the correct user -// and account identifiers. // -// * PipelineDeletedException -// The specified pipeline has been deleted. +// - PipelineNotFoundException +// The specified pipeline was not found. Verify that you used the correct user +// and account identifiers. // -// * InternalServiceError -// An internal service error occurred. +// - PipelineDeletedException +// The specified pipeline has been deleted. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InternalServiceError +// An internal service error occurred. +// +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/SetStatus func (c *DataPipeline) SetStatus(input *SetStatusInput) (*SetStatusOutput, error) { @@ -1811,14 +1810,13 @@ const opSetTaskStatus = "SetTaskStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetTaskStatusRequest method. +// req, resp := client.SetTaskStatusRequest(params) // -// // Example sending a request using the SetTaskStatusRequest method. -// req, resp := client.SetTaskStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/SetTaskStatus func (c *DataPipeline) SetTaskStatusRequest(input *SetTaskStatusInput) (req *request.Request, output *SetTaskStatusOutput) { @@ -1854,23 +1852,24 @@ func (c *DataPipeline) SetTaskStatusRequest(input *SetTaskStatusInput) (req *req // API operation SetTaskStatus for usage and error information. // // Returned Error Types: -// * InternalServiceError -// An internal service error occurred. // -// * TaskNotFoundException -// The specified task was not found. +// - InternalServiceError +// An internal service error occurred. +// +// - TaskNotFoundException +// The specified task was not found. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // -// * PipelineNotFoundException -// The specified pipeline was not found. Verify that you used the correct user -// and account identifiers. +// - PipelineNotFoundException +// The specified pipeline was not found. Verify that you used the correct user +// and account identifiers. // -// * PipelineDeletedException -// The specified pipeline has been deleted. +// - PipelineDeletedException +// The specified pipeline has been deleted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/SetTaskStatus func (c *DataPipeline) SetTaskStatus(input *SetTaskStatusInput) (*SetTaskStatusOutput, error) { @@ -1910,14 +1909,13 @@ const opValidatePipelineDefinition = "ValidatePipelineDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ValidatePipelineDefinitionRequest method. +// req, resp := client.ValidatePipelineDefinitionRequest(params) // -// // Example sending a request using the ValidatePipelineDefinitionRequest method. -// req, resp := client.ValidatePipelineDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ValidatePipelineDefinition func (c *DataPipeline) ValidatePipelineDefinitionRequest(input *ValidatePipelineDefinitionInput) (req *request.Request, output *ValidatePipelineDefinitionOutput) { @@ -1949,20 +1947,21 @@ func (c *DataPipeline) ValidatePipelineDefinitionRequest(input *ValidatePipeline // API operation ValidatePipelineDefinition for usage and error information. // // Returned Error Types: -// * InternalServiceError -// An internal service error occurred. // -// * InvalidRequestException -// The request was not valid. Verify that your request was properly formatted, -// that the signature was generated with the correct credentials, and that you -// haven't exceeded any of the service limits for your account. +// - InternalServiceError +// An internal service error occurred. +// +// - InvalidRequestException +// The request was not valid. Verify that your request was properly formatted, +// that the signature was generated with the correct credentials, and that you +// haven't exceeded any of the service limits for your account. // -// * PipelineNotFoundException -// The specified pipeline was not found. Verify that you used the correct user -// and account identifiers. +// - PipelineNotFoundException +// The specified pipeline was not found. Verify that you used the correct user +// and account identifiers. // -// * PipelineDeletedException -// The specified pipeline has been deleted. +// - PipelineDeletedException +// The specified pipeline has been deleted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datapipeline-2012-10-29/ValidatePipelineDefinition func (c *DataPipeline) ValidatePipelineDefinition(input *ValidatePipelineDefinitionInput) (*ValidatePipelineDefinitionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/datapipelineiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/datapipelineiface/interface.go index 2ac57b5aaefd..a8904193413c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/datapipelineiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/datapipelineiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Data Pipeline. -// func myFunc(svc datapipelineiface.DataPipelineAPI) bool { -// // Make svc.ActivatePipeline request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Data Pipeline. +// func myFunc(svc datapipelineiface.DataPipelineAPI) bool { +// // Make svc.ActivatePipeline request +// } // -// func main() { -// sess := session.New() -// svc := datapipeline.New(sess) +// func main() { +// sess := session.New() +// svc := datapipeline.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockDataPipelineClient struct { -// datapipelineiface.DataPipelineAPI -// } -// func (m *mockDataPipelineClient) ActivatePipeline(input *datapipeline.ActivatePipelineInput) (*datapipeline.ActivatePipelineOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockDataPipelineClient struct { +// datapipelineiface.DataPipelineAPI +// } +// func (m *mockDataPipelineClient) ActivatePipeline(input *datapipeline.ActivatePipelineInput) (*datapipeline.ActivatePipelineOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockDataPipelineClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockDataPipelineClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/doc.go index 79ee00a1eec7..ecd06ad13a0c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/doc.go @@ -31,7 +31,7 @@ // See datapipeline package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/datapipeline/ // -// Using the Client +// # Using the Client // // To contact AWS Data Pipeline with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/service.go index 8135448fabd0..0ba3dea91380 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datapipeline/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a DataPipeline client from just a session. -// svc := datapipeline.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a DataPipeline client with additional configuration -// svc := datapipeline.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a DataPipeline client from just a session. +// svc := datapipeline.New(mySession) +// +// // Create a DataPipeline client with additional configuration +// svc := datapipeline.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *DataPipeline { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/api.go index 280a0759fccf..d950a47996bd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/api.go @@ -29,14 +29,13 @@ const opCancelTaskExecution = "CancelTaskExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelTaskExecutionRequest method. +// req, resp := client.CancelTaskExecutionRequest(params) // -// // Example sending a request using the CancelTaskExecutionRequest method. -// req, resp := client.CancelTaskExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CancelTaskExecution func (c *DataSync) CancelTaskExecutionRequest(input *CancelTaskExecutionInput) (req *request.Request, output *CancelTaskExecutionOutput) { @@ -77,11 +76,12 @@ func (c *DataSync) CancelTaskExecutionRequest(input *CancelTaskExecutionInput) ( // API operation CancelTaskExecution for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CancelTaskExecution func (c *DataSync) CancelTaskExecution(input *CancelTaskExecutionInput) (*CancelTaskExecutionOutput, error) { @@ -121,14 +121,13 @@ const opCreateAgent = "CreateAgent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAgentRequest method. +// req, resp := client.CreateAgentRequest(params) // -// // Example sending a request using the CreateAgentRequest method. -// req, resp := client.CreateAgentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateAgent func (c *DataSync) CreateAgentRequest(input *CreateAgentInput) (req *request.Request, output *CreateAgentOutput) { @@ -176,11 +175,12 @@ func (c *DataSync) CreateAgentRequest(input *CreateAgentInput) (req *request.Req // API operation CreateAgent for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateAgent func (c *DataSync) CreateAgent(input *CreateAgentInput) (*CreateAgentOutput, error) { @@ -220,14 +220,13 @@ const opCreateLocationEfs = "CreateLocationEfs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLocationEfsRequest method. +// req, resp := client.CreateLocationEfsRequest(params) // -// // Example sending a request using the CreateLocationEfsRequest method. -// req, resp := client.CreateLocationEfsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationEfs func (c *DataSync) CreateLocationEfsRequest(input *CreateLocationEfsInput) (req *request.Request, output *CreateLocationEfsOutput) { @@ -260,11 +259,12 @@ func (c *DataSync) CreateLocationEfsRequest(input *CreateLocationEfsInput) (req // API operation CreateLocationEfs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationEfs func (c *DataSync) CreateLocationEfs(input *CreateLocationEfsInput) (*CreateLocationEfsOutput, error) { @@ -304,14 +304,13 @@ const opCreateLocationFsxLustre = "CreateLocationFsxLustre" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLocationFsxLustreRequest method. +// req, resp := client.CreateLocationFsxLustreRequest(params) // -// // Example sending a request using the CreateLocationFsxLustreRequest method. -// req, resp := client.CreateLocationFsxLustreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxLustre func (c *DataSync) CreateLocationFsxLustreRequest(input *CreateLocationFsxLustreInput) (req *request.Request, output *CreateLocationFsxLustreOutput) { @@ -342,11 +341,12 @@ func (c *DataSync) CreateLocationFsxLustreRequest(input *CreateLocationFsxLustre // API operation CreateLocationFsxLustre for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxLustre func (c *DataSync) CreateLocationFsxLustre(input *CreateLocationFsxLustreInput) (*CreateLocationFsxLustreOutput, error) { @@ -386,14 +386,13 @@ const opCreateLocationFsxOpenZfs = "CreateLocationFsxOpenZfs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLocationFsxOpenZfsRequest method. +// req, resp := client.CreateLocationFsxOpenZfsRequest(params) // -// // Example sending a request using the CreateLocationFsxOpenZfsRequest method. -// req, resp := client.CreateLocationFsxOpenZfsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxOpenZfs func (c *DataSync) CreateLocationFsxOpenZfsRequest(input *CreateLocationFsxOpenZfsInput) (req *request.Request, output *CreateLocationFsxOpenZfsOutput) { @@ -424,11 +423,12 @@ func (c *DataSync) CreateLocationFsxOpenZfsRequest(input *CreateLocationFsxOpenZ // API operation CreateLocationFsxOpenZfs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxOpenZfs func (c *DataSync) CreateLocationFsxOpenZfs(input *CreateLocationFsxOpenZfsInput) (*CreateLocationFsxOpenZfsOutput, error) { @@ -468,14 +468,13 @@ const opCreateLocationFsxWindows = "CreateLocationFsxWindows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLocationFsxWindowsRequest method. +// req, resp := client.CreateLocationFsxWindowsRequest(params) // -// // Example sending a request using the CreateLocationFsxWindowsRequest method. -// req, resp := client.CreateLocationFsxWindowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxWindows func (c *DataSync) CreateLocationFsxWindowsRequest(input *CreateLocationFsxWindowsInput) (req *request.Request, output *CreateLocationFsxWindowsOutput) { @@ -506,11 +505,12 @@ func (c *DataSync) CreateLocationFsxWindowsRequest(input *CreateLocationFsxWindo // API operation CreateLocationFsxWindows for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationFsxWindows func (c *DataSync) CreateLocationFsxWindows(input *CreateLocationFsxWindowsInput) (*CreateLocationFsxWindowsOutput, error) { @@ -550,14 +550,13 @@ const opCreateLocationHdfs = "CreateLocationHdfs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLocationHdfsRequest method. +// req, resp := client.CreateLocationHdfsRequest(params) // -// // Example sending a request using the CreateLocationHdfsRequest method. -// req, resp := client.CreateLocationHdfsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationHdfs func (c *DataSync) CreateLocationHdfsRequest(input *CreateLocationHdfsInput) (req *request.Request, output *CreateLocationHdfsOutput) { @@ -588,11 +587,12 @@ func (c *DataSync) CreateLocationHdfsRequest(input *CreateLocationHdfsInput) (re // API operation CreateLocationHdfs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationHdfs func (c *DataSync) CreateLocationHdfs(input *CreateLocationHdfsInput) (*CreateLocationHdfsOutput, error) { @@ -632,14 +632,13 @@ const opCreateLocationNfs = "CreateLocationNfs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLocationNfsRequest method. +// req, resp := client.CreateLocationNfsRequest(params) // -// // Example sending a request using the CreateLocationNfsRequest method. -// req, resp := client.CreateLocationNfsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationNfs func (c *DataSync) CreateLocationNfsRequest(input *CreateLocationNfsInput) (req *request.Request, output *CreateLocationNfsOutput) { @@ -671,11 +670,12 @@ func (c *DataSync) CreateLocationNfsRequest(input *CreateLocationNfsInput) (req // API operation CreateLocationNfs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationNfs func (c *DataSync) CreateLocationNfs(input *CreateLocationNfsInput) (*CreateLocationNfsOutput, error) { @@ -715,14 +715,13 @@ const opCreateLocationObjectStorage = "CreateLocationObjectStorage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLocationObjectStorageRequest method. +// req, resp := client.CreateLocationObjectStorageRequest(params) // -// // Example sending a request using the CreateLocationObjectStorageRequest method. -// req, resp := client.CreateLocationObjectStorageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorage func (c *DataSync) CreateLocationObjectStorageRequest(input *CreateLocationObjectStorageInput) (req *request.Request, output *CreateLocationObjectStorageOutput) { @@ -755,11 +754,12 @@ func (c *DataSync) CreateLocationObjectStorageRequest(input *CreateLocationObjec // API operation CreateLocationObjectStorage for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationObjectStorage func (c *DataSync) CreateLocationObjectStorage(input *CreateLocationObjectStorageInput) (*CreateLocationObjectStorageOutput, error) { @@ -799,14 +799,13 @@ const opCreateLocationS3 = "CreateLocationS3" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLocationS3Request method. +// req, resp := client.CreateLocationS3Request(params) // -// // Example sending a request using the CreateLocationS3Request method. -// req, resp := client.CreateLocationS3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationS3 func (c *DataSync) CreateLocationS3Request(input *CreateLocationS3Input) (req *request.Request, output *CreateLocationS3Output) { @@ -840,11 +839,12 @@ func (c *DataSync) CreateLocationS3Request(input *CreateLocationS3Input) (req *r // API operation CreateLocationS3 for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationS3 func (c *DataSync) CreateLocationS3(input *CreateLocationS3Input) (*CreateLocationS3Output, error) { @@ -884,14 +884,13 @@ const opCreateLocationSmb = "CreateLocationSmb" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLocationSmbRequest method. +// req, resp := client.CreateLocationSmbRequest(params) // -// // Example sending a request using the CreateLocationSmbRequest method. -// req, resp := client.CreateLocationSmbRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationSmb func (c *DataSync) CreateLocationSmbRequest(input *CreateLocationSmbInput) (req *request.Request, output *CreateLocationSmbOutput) { @@ -923,11 +922,12 @@ func (c *DataSync) CreateLocationSmbRequest(input *CreateLocationSmbInput) (req // API operation CreateLocationSmb for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateLocationSmb func (c *DataSync) CreateLocationSmb(input *CreateLocationSmbInput) (*CreateLocationSmbOutput, error) { @@ -967,14 +967,13 @@ const opCreateTask = "CreateTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTaskRequest method. +// req, resp := client.CreateTaskRequest(params) // -// // Example sending a request using the CreateTaskRequest method. -// req, resp := client.CreateTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateTask func (c *DataSync) CreateTaskRequest(input *CreateTaskInput) (req *request.Request, output *CreateTaskOutput) { @@ -1024,11 +1023,12 @@ func (c *DataSync) CreateTaskRequest(input *CreateTaskInput) (req *request.Reque // API operation CreateTask for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/CreateTask func (c *DataSync) CreateTask(input *CreateTaskInput) (*CreateTaskOutput, error) { @@ -1068,14 +1068,13 @@ const opDeleteAgent = "DeleteAgent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAgentRequest method. +// req, resp := client.DeleteAgentRequest(params) // -// // Example sending a request using the DeleteAgentRequest method. -// req, resp := client.DeleteAgentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DeleteAgent func (c *DataSync) DeleteAgentRequest(input *DeleteAgentInput) (req *request.Request, output *DeleteAgentOutput) { @@ -1110,11 +1109,12 @@ func (c *DataSync) DeleteAgentRequest(input *DeleteAgentInput) (req *request.Req // API operation DeleteAgent for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DeleteAgent func (c *DataSync) DeleteAgent(input *DeleteAgentInput) (*DeleteAgentOutput, error) { @@ -1154,14 +1154,13 @@ const opDeleteLocation = "DeleteLocation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLocationRequest method. +// req, resp := client.DeleteLocationRequest(params) // -// // Example sending a request using the DeleteLocationRequest method. -// req, resp := client.DeleteLocationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DeleteLocation func (c *DataSync) DeleteLocationRequest(input *DeleteLocationInput) (req *request.Request, output *DeleteLocationOutput) { @@ -1193,11 +1192,12 @@ func (c *DataSync) DeleteLocationRequest(input *DeleteLocationInput) (req *reque // API operation DeleteLocation for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DeleteLocation func (c *DataSync) DeleteLocation(input *DeleteLocationInput) (*DeleteLocationOutput, error) { @@ -1237,14 +1237,13 @@ const opDeleteTask = "DeleteTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTaskRequest method. +// req, resp := client.DeleteTaskRequest(params) // -// // Example sending a request using the DeleteTaskRequest method. -// req, resp := client.DeleteTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DeleteTask func (c *DataSync) DeleteTaskRequest(input *DeleteTaskInput) (req *request.Request, output *DeleteTaskOutput) { @@ -1276,11 +1275,12 @@ func (c *DataSync) DeleteTaskRequest(input *DeleteTaskInput) (req *request.Reque // API operation DeleteTask for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DeleteTask func (c *DataSync) DeleteTask(input *DeleteTaskInput) (*DeleteTaskOutput, error) { @@ -1320,14 +1320,13 @@ const opDescribeAgent = "DescribeAgent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAgentRequest method. +// req, resp := client.DescribeAgentRequest(params) // -// // Example sending a request using the DescribeAgentRequest method. -// req, resp := client.DescribeAgentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeAgent func (c *DataSync) DescribeAgentRequest(input *DescribeAgentInput) (req *request.Request, output *DescribeAgentOutput) { @@ -1361,11 +1360,12 @@ func (c *DataSync) DescribeAgentRequest(input *DescribeAgentInput) (req *request // API operation DescribeAgent for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeAgent func (c *DataSync) DescribeAgent(input *DescribeAgentInput) (*DescribeAgentOutput, error) { @@ -1405,14 +1405,13 @@ const opDescribeLocationEfs = "DescribeLocationEfs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocationEfsRequest method. +// req, resp := client.DescribeLocationEfsRequest(params) // -// // Example sending a request using the DescribeLocationEfsRequest method. -// req, resp := client.DescribeLocationEfsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationEfs func (c *DataSync) DescribeLocationEfsRequest(input *DescribeLocationEfsInput) (req *request.Request, output *DescribeLocationEfsOutput) { @@ -1443,11 +1442,12 @@ func (c *DataSync) DescribeLocationEfsRequest(input *DescribeLocationEfsInput) ( // API operation DescribeLocationEfs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationEfs func (c *DataSync) DescribeLocationEfs(input *DescribeLocationEfsInput) (*DescribeLocationEfsOutput, error) { @@ -1487,14 +1487,13 @@ const opDescribeLocationFsxLustre = "DescribeLocationFsxLustre" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocationFsxLustreRequest method. +// req, resp := client.DescribeLocationFsxLustreRequest(params) // -// // Example sending a request using the DescribeLocationFsxLustreRequest method. -// req, resp := client.DescribeLocationFsxLustreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxLustre func (c *DataSync) DescribeLocationFsxLustreRequest(input *DescribeLocationFsxLustreInput) (req *request.Request, output *DescribeLocationFsxLustreOutput) { @@ -1526,11 +1525,12 @@ func (c *DataSync) DescribeLocationFsxLustreRequest(input *DescribeLocationFsxLu // API operation DescribeLocationFsxLustre for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxLustre func (c *DataSync) DescribeLocationFsxLustre(input *DescribeLocationFsxLustreInput) (*DescribeLocationFsxLustreOutput, error) { @@ -1570,14 +1570,13 @@ const opDescribeLocationFsxOpenZfs = "DescribeLocationFsxOpenZfs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocationFsxOpenZfsRequest method. +// req, resp := client.DescribeLocationFsxOpenZfsRequest(params) // -// // Example sending a request using the DescribeLocationFsxOpenZfsRequest method. -// req, resp := client.DescribeLocationFsxOpenZfsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxOpenZfs func (c *DataSync) DescribeLocationFsxOpenZfsRequest(input *DescribeLocationFsxOpenZfsInput) (req *request.Request, output *DescribeLocationFsxOpenZfsOutput) { @@ -1609,11 +1608,12 @@ func (c *DataSync) DescribeLocationFsxOpenZfsRequest(input *DescribeLocationFsxO // API operation DescribeLocationFsxOpenZfs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxOpenZfs func (c *DataSync) DescribeLocationFsxOpenZfs(input *DescribeLocationFsxOpenZfsInput) (*DescribeLocationFsxOpenZfsOutput, error) { @@ -1653,14 +1653,13 @@ const opDescribeLocationFsxWindows = "DescribeLocationFsxWindows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocationFsxWindowsRequest method. +// req, resp := client.DescribeLocationFsxWindowsRequest(params) // -// // Example sending a request using the DescribeLocationFsxWindowsRequest method. -// req, resp := client.DescribeLocationFsxWindowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxWindows func (c *DataSync) DescribeLocationFsxWindowsRequest(input *DescribeLocationFsxWindowsInput) (req *request.Request, output *DescribeLocationFsxWindowsOutput) { @@ -1692,11 +1691,12 @@ func (c *DataSync) DescribeLocationFsxWindowsRequest(input *DescribeLocationFsxW // API operation DescribeLocationFsxWindows for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationFsxWindows func (c *DataSync) DescribeLocationFsxWindows(input *DescribeLocationFsxWindowsInput) (*DescribeLocationFsxWindowsOutput, error) { @@ -1736,14 +1736,13 @@ const opDescribeLocationHdfs = "DescribeLocationHdfs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocationHdfsRequest method. +// req, resp := client.DescribeLocationHdfsRequest(params) // -// // Example sending a request using the DescribeLocationHdfsRequest method. -// req, resp := client.DescribeLocationHdfsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationHdfs func (c *DataSync) DescribeLocationHdfsRequest(input *DescribeLocationHdfsInput) (req *request.Request, output *DescribeLocationHdfsOutput) { @@ -1775,11 +1774,12 @@ func (c *DataSync) DescribeLocationHdfsRequest(input *DescribeLocationHdfsInput) // API operation DescribeLocationHdfs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationHdfs func (c *DataSync) DescribeLocationHdfs(input *DescribeLocationHdfsInput) (*DescribeLocationHdfsOutput, error) { @@ -1819,14 +1819,13 @@ const opDescribeLocationNfs = "DescribeLocationNfs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocationNfsRequest method. +// req, resp := client.DescribeLocationNfsRequest(params) // -// // Example sending a request using the DescribeLocationNfsRequest method. -// req, resp := client.DescribeLocationNfsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationNfs func (c *DataSync) DescribeLocationNfsRequest(input *DescribeLocationNfsInput) (req *request.Request, output *DescribeLocationNfsOutput) { @@ -1857,11 +1856,12 @@ func (c *DataSync) DescribeLocationNfsRequest(input *DescribeLocationNfsInput) ( // API operation DescribeLocationNfs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationNfs func (c *DataSync) DescribeLocationNfs(input *DescribeLocationNfsInput) (*DescribeLocationNfsOutput, error) { @@ -1901,14 +1901,13 @@ const opDescribeLocationObjectStorage = "DescribeLocationObjectStorage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocationObjectStorageRequest method. +// req, resp := client.DescribeLocationObjectStorageRequest(params) // -// // Example sending a request using the DescribeLocationObjectStorageRequest method. -// req, resp := client.DescribeLocationObjectStorageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorage func (c *DataSync) DescribeLocationObjectStorageRequest(input *DescribeLocationObjectStorageInput) (req *request.Request, output *DescribeLocationObjectStorageOutput) { @@ -1941,11 +1940,12 @@ func (c *DataSync) DescribeLocationObjectStorageRequest(input *DescribeLocationO // API operation DescribeLocationObjectStorage for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationObjectStorage func (c *DataSync) DescribeLocationObjectStorage(input *DescribeLocationObjectStorageInput) (*DescribeLocationObjectStorageOutput, error) { @@ -1985,14 +1985,13 @@ const opDescribeLocationS3 = "DescribeLocationS3" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocationS3Request method. +// req, resp := client.DescribeLocationS3Request(params) // -// // Example sending a request using the DescribeLocationS3Request method. -// req, resp := client.DescribeLocationS3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationS3 func (c *DataSync) DescribeLocationS3Request(input *DescribeLocationS3Input) (req *request.Request, output *DescribeLocationS3Output) { @@ -2023,11 +2022,12 @@ func (c *DataSync) DescribeLocationS3Request(input *DescribeLocationS3Input) (re // API operation DescribeLocationS3 for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationS3 func (c *DataSync) DescribeLocationS3(input *DescribeLocationS3Input) (*DescribeLocationS3Output, error) { @@ -2067,14 +2067,13 @@ const opDescribeLocationSmb = "DescribeLocationSmb" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocationSmbRequest method. +// req, resp := client.DescribeLocationSmbRequest(params) // -// // Example sending a request using the DescribeLocationSmbRequest method. -// req, resp := client.DescribeLocationSmbRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmb func (c *DataSync) DescribeLocationSmbRequest(input *DescribeLocationSmbInput) (req *request.Request, output *DescribeLocationSmbOutput) { @@ -2105,11 +2104,12 @@ func (c *DataSync) DescribeLocationSmbRequest(input *DescribeLocationSmbInput) ( // API operation DescribeLocationSmb for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationSmb func (c *DataSync) DescribeLocationSmb(input *DescribeLocationSmbInput) (*DescribeLocationSmbOutput, error) { @@ -2149,14 +2149,13 @@ const opDescribeTask = "DescribeTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTaskRequest method. +// req, resp := client.DescribeTaskRequest(params) // -// // Example sending a request using the DescribeTaskRequest method. -// req, resp := client.DescribeTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTask func (c *DataSync) DescribeTaskRequest(input *DescribeTaskInput) (req *request.Request, output *DescribeTaskOutput) { @@ -2187,11 +2186,12 @@ func (c *DataSync) DescribeTaskRequest(input *DescribeTaskInput) (req *request.R // API operation DescribeTask for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTask func (c *DataSync) DescribeTask(input *DescribeTaskInput) (*DescribeTaskOutput, error) { @@ -2231,14 +2231,13 @@ const opDescribeTaskExecution = "DescribeTaskExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTaskExecutionRequest method. +// req, resp := client.DescribeTaskExecutionRequest(params) // -// // Example sending a request using the DescribeTaskExecutionRequest method. -// req, resp := client.DescribeTaskExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTaskExecution func (c *DataSync) DescribeTaskExecutionRequest(input *DescribeTaskExecutionInput) (req *request.Request, output *DescribeTaskExecutionOutput) { @@ -2269,11 +2268,12 @@ func (c *DataSync) DescribeTaskExecutionRequest(input *DescribeTaskExecutionInpu // API operation DescribeTaskExecution for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeTaskExecution func (c *DataSync) DescribeTaskExecution(input *DescribeTaskExecutionInput) (*DescribeTaskExecutionOutput, error) { @@ -2313,14 +2313,13 @@ const opListAgents = "ListAgents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAgentsRequest method. +// req, resp := client.ListAgentsRequest(params) // -// // Example sending a request using the ListAgentsRequest method. -// req, resp := client.ListAgentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListAgents func (c *DataSync) ListAgentsRequest(input *ListAgentsInput) (req *request.Request, output *ListAgentsOutput) { @@ -2367,11 +2366,12 @@ func (c *DataSync) ListAgentsRequest(input *ListAgentsInput) (req *request.Reque // API operation ListAgents for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListAgents func (c *DataSync) ListAgents(input *ListAgentsInput) (*ListAgentsOutput, error) { @@ -2403,15 +2403,14 @@ func (c *DataSync) ListAgentsWithContext(ctx aws.Context, input *ListAgentsInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAgents operation. -// pageNum := 0 -// err := client.ListAgentsPages(params, -// func(page *datasync.ListAgentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAgents operation. +// pageNum := 0 +// err := client.ListAgentsPages(params, +// func(page *datasync.ListAgentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DataSync) ListAgentsPages(input *ListAgentsInput, fn func(*ListAgentsOutput, bool) bool) error { return c.ListAgentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2463,14 +2462,13 @@ const opListLocations = "ListLocations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLocationsRequest method. +// req, resp := client.ListLocationsRequest(params) // -// // Example sending a request using the ListLocationsRequest method. -// req, resp := client.ListLocationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListLocations func (c *DataSync) ListLocationsRequest(input *ListLocationsInput) (req *request.Request, output *ListLocationsOutput) { @@ -2512,11 +2510,12 @@ func (c *DataSync) ListLocationsRequest(input *ListLocationsInput) (req *request // API operation ListLocations for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListLocations func (c *DataSync) ListLocations(input *ListLocationsInput) (*ListLocationsOutput, error) { @@ -2548,15 +2547,14 @@ func (c *DataSync) ListLocationsWithContext(ctx aws.Context, input *ListLocation // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLocations operation. -// pageNum := 0 -// err := client.ListLocationsPages(params, -// func(page *datasync.ListLocationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLocations operation. +// pageNum := 0 +// err := client.ListLocationsPages(params, +// func(page *datasync.ListLocationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DataSync) ListLocationsPages(input *ListLocationsInput, fn func(*ListLocationsOutput, bool) bool) error { return c.ListLocationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2608,14 +2606,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTagsForResource func (c *DataSync) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2652,11 +2649,12 @@ func (c *DataSync) ListTagsForResourceRequest(input *ListTagsForResourceInput) ( // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTagsForResource func (c *DataSync) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2688,15 +2686,14 @@ func (c *DataSync) ListTagsForResourceWithContext(ctx aws.Context, input *ListTa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *datasync.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *datasync.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DataSync) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2748,14 +2745,13 @@ const opListTaskExecutions = "ListTaskExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTaskExecutionsRequest method. +// req, resp := client.ListTaskExecutionsRequest(params) // -// // Example sending a request using the ListTaskExecutionsRequest method. -// req, resp := client.ListTaskExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTaskExecutions func (c *DataSync) ListTaskExecutionsRequest(input *ListTaskExecutionsInput) (req *request.Request, output *ListTaskExecutionsOutput) { @@ -2792,11 +2788,12 @@ func (c *DataSync) ListTaskExecutionsRequest(input *ListTaskExecutionsInput) (re // API operation ListTaskExecutions for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTaskExecutions func (c *DataSync) ListTaskExecutions(input *ListTaskExecutionsInput) (*ListTaskExecutionsOutput, error) { @@ -2828,15 +2825,14 @@ func (c *DataSync) ListTaskExecutionsWithContext(ctx aws.Context, input *ListTas // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTaskExecutions operation. -// pageNum := 0 -// err := client.ListTaskExecutionsPages(params, -// func(page *datasync.ListTaskExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTaskExecutions operation. +// pageNum := 0 +// err := client.ListTaskExecutionsPages(params, +// func(page *datasync.ListTaskExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DataSync) ListTaskExecutionsPages(input *ListTaskExecutionsInput, fn func(*ListTaskExecutionsOutput, bool) bool) error { return c.ListTaskExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2888,14 +2884,13 @@ const opListTasks = "ListTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTasksRequest method. +// req, resp := client.ListTasksRequest(params) // -// // Example sending a request using the ListTasksRequest method. -// req, resp := client.ListTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTasks func (c *DataSync) ListTasksRequest(input *ListTasksInput) (req *request.Request, output *ListTasksOutput) { @@ -2932,11 +2927,12 @@ func (c *DataSync) ListTasksRequest(input *ListTasksInput) (req *request.Request // API operation ListTasks for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/ListTasks func (c *DataSync) ListTasks(input *ListTasksInput) (*ListTasksOutput, error) { @@ -2968,15 +2964,14 @@ func (c *DataSync) ListTasksWithContext(ctx aws.Context, input *ListTasksInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTasks operation. -// pageNum := 0 -// err := client.ListTasksPages(params, -// func(page *datasync.ListTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTasks operation. +// pageNum := 0 +// err := client.ListTasksPages(params, +// func(page *datasync.ListTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DataSync) ListTasksPages(input *ListTasksInput, fn func(*ListTasksOutput, bool) bool) error { return c.ListTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3028,14 +3023,13 @@ const opStartTaskExecution = "StartTaskExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartTaskExecutionRequest method. +// req, resp := client.StartTaskExecutionRequest(params) // -// // Example sending a request using the StartTaskExecutionRequest method. -// req, resp := client.StartTaskExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/StartTaskExecution func (c *DataSync) StartTaskExecutionRequest(input *StartTaskExecutionInput) (req *request.Request, output *StartTaskExecutionOutput) { @@ -3074,11 +3068,12 @@ func (c *DataSync) StartTaskExecutionRequest(input *StartTaskExecutionInput) (re // API operation StartTaskExecution for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/StartTaskExecution func (c *DataSync) StartTaskExecution(input *StartTaskExecutionInput) (*StartTaskExecutionOutput, error) { @@ -3118,14 +3113,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TagResource func (c *DataSync) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3157,11 +3151,12 @@ func (c *DataSync) TagResourceRequest(input *TagResourceInput) (req *request.Req // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/TagResource func (c *DataSync) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3201,14 +3196,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UntagResource func (c *DataSync) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3240,11 +3234,12 @@ func (c *DataSync) UntagResourceRequest(input *UntagResourceInput) (req *request // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UntagResource func (c *DataSync) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3284,14 +3279,13 @@ const opUpdateAgent = "UpdateAgent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAgentRequest method. +// req, resp := client.UpdateAgentRequest(params) // -// // Example sending a request using the UpdateAgentRequest method. -// req, resp := client.UpdateAgentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateAgent func (c *DataSync) UpdateAgentRequest(input *UpdateAgentInput) (req *request.Request, output *UpdateAgentOutput) { @@ -3323,11 +3317,12 @@ func (c *DataSync) UpdateAgentRequest(input *UpdateAgentInput) (req *request.Req // API operation UpdateAgent for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateAgent func (c *DataSync) UpdateAgent(input *UpdateAgentInput) (*UpdateAgentOutput, error) { @@ -3367,14 +3362,13 @@ const opUpdateLocationHdfs = "UpdateLocationHdfs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLocationHdfsRequest method. +// req, resp := client.UpdateLocationHdfsRequest(params) // -// // Example sending a request using the UpdateLocationHdfsRequest method. -// req, resp := client.UpdateLocationHdfsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationHdfs func (c *DataSync) UpdateLocationHdfsRequest(input *UpdateLocationHdfsInput) (req *request.Request, output *UpdateLocationHdfsOutput) { @@ -3407,11 +3401,12 @@ func (c *DataSync) UpdateLocationHdfsRequest(input *UpdateLocationHdfsInput) (re // API operation UpdateLocationHdfs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationHdfs func (c *DataSync) UpdateLocationHdfs(input *UpdateLocationHdfsInput) (*UpdateLocationHdfsOutput, error) { @@ -3451,14 +3446,13 @@ const opUpdateLocationNfs = "UpdateLocationNfs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLocationNfsRequest method. +// req, resp := client.UpdateLocationNfsRequest(params) // -// // Example sending a request using the UpdateLocationNfsRequest method. -// req, resp := client.UpdateLocationNfsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationNfs func (c *DataSync) UpdateLocationNfsRequest(input *UpdateLocationNfsInput) (req *request.Request, output *UpdateLocationNfsOutput) { @@ -3492,11 +3486,12 @@ func (c *DataSync) UpdateLocationNfsRequest(input *UpdateLocationNfsInput) (req // API operation UpdateLocationNfs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationNfs func (c *DataSync) UpdateLocationNfs(input *UpdateLocationNfsInput) (*UpdateLocationNfsOutput, error) { @@ -3536,14 +3531,13 @@ const opUpdateLocationObjectStorage = "UpdateLocationObjectStorage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLocationObjectStorageRequest method. +// req, resp := client.UpdateLocationObjectStorageRequest(params) // -// // Example sending a request using the UpdateLocationObjectStorageRequest method. -// req, resp := client.UpdateLocationObjectStorageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationObjectStorage func (c *DataSync) UpdateLocationObjectStorageRequest(input *UpdateLocationObjectStorageInput) (req *request.Request, output *UpdateLocationObjectStorageOutput) { @@ -3577,11 +3571,12 @@ func (c *DataSync) UpdateLocationObjectStorageRequest(input *UpdateLocationObjec // API operation UpdateLocationObjectStorage for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationObjectStorage func (c *DataSync) UpdateLocationObjectStorage(input *UpdateLocationObjectStorageInput) (*UpdateLocationObjectStorageOutput, error) { @@ -3621,14 +3616,13 @@ const opUpdateLocationSmb = "UpdateLocationSmb" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLocationSmbRequest method. +// req, resp := client.UpdateLocationSmbRequest(params) // -// // Example sending a request using the UpdateLocationSmbRequest method. -// req, resp := client.UpdateLocationSmbRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmb func (c *DataSync) UpdateLocationSmbRequest(input *UpdateLocationSmbInput) (req *request.Request, output *UpdateLocationSmbOutput) { @@ -3662,11 +3656,12 @@ func (c *DataSync) UpdateLocationSmbRequest(input *UpdateLocationSmbInput) (req // API operation UpdateLocationSmb for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateLocationSmb func (c *DataSync) UpdateLocationSmb(input *UpdateLocationSmbInput) (*UpdateLocationSmbOutput, error) { @@ -3706,14 +3701,13 @@ const opUpdateTask = "UpdateTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTaskRequest method. +// req, resp := client.UpdateTaskRequest(params) // -// // Example sending a request using the UpdateTaskRequest method. -// req, resp := client.UpdateTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateTask func (c *DataSync) UpdateTaskRequest(input *UpdateTaskInput) (req *request.Request, output *UpdateTaskOutput) { @@ -3745,11 +3739,12 @@ func (c *DataSync) UpdateTaskRequest(input *UpdateTaskInput) (req *request.Reque // API operation UpdateTask for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateTask func (c *DataSync) UpdateTask(input *UpdateTaskInput) (*UpdateTaskOutput, error) { @@ -3789,14 +3784,13 @@ const opUpdateTaskExecution = "UpdateTaskExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTaskExecutionRequest method. +// req, resp := client.UpdateTaskExecutionRequest(params) // -// // Example sending a request using the UpdateTaskExecutionRequest method. -// req, resp := client.UpdateTaskExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateTaskExecution func (c *DataSync) UpdateTaskExecutionRequest(input *UpdateTaskExecutionInput) (req *request.Request, output *UpdateTaskExecutionOutput) { @@ -3835,11 +3829,12 @@ func (c *DataSync) UpdateTaskExecutionRequest(input *UpdateTaskExecutionInput) ( // API operation UpdateTaskExecution for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. // -// * InternalException -// This exception is thrown when an error occurs in the DataSync service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - InternalException +// This exception is thrown when an error occurs in the DataSync service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/UpdateTaskExecution func (c *DataSync) UpdateTaskExecution(input *UpdateTaskExecutionInput) (*UpdateTaskExecutionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/datasynciface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/datasynciface/interface.go index 585156f9fa9b..14d04f1bbd8d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/datasynciface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/datasynciface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS DataSync. -// func myFunc(svc datasynciface.DataSyncAPI) bool { -// // Make svc.CancelTaskExecution request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS DataSync. +// func myFunc(svc datasynciface.DataSyncAPI) bool { +// // Make svc.CancelTaskExecution request +// } // -// func main() { -// sess := session.New() -// svc := datasync.New(sess) +// func main() { +// sess := session.New() +// svc := datasync.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockDataSyncClient struct { -// datasynciface.DataSyncAPI -// } -// func (m *mockDataSyncClient) CancelTaskExecution(input *datasync.CancelTaskExecutionInput) (*datasync.CancelTaskExecutionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockDataSyncClient struct { +// datasynciface.DataSyncAPI +// } +// func (m *mockDataSyncClient) CancelTaskExecution(input *datasync.CancelTaskExecutionInput) (*datasync.CancelTaskExecutionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockDataSyncClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockDataSyncClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/doc.go index 5031da443a7e..cf3a76c6b99e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/doc.go @@ -15,7 +15,7 @@ // See datasync package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/datasync/ // -// Using the Client +// # Using the Client // // To contact AWS DataSync with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/service.go index 7266129ad14b..dfd116177fc0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/datasync/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a DataSync client from just a session. -// svc := datasync.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a DataSync client with additional configuration -// svc := datasync.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a DataSync client from just a session. +// svc := datasync.New(mySession) +// +// // Create a DataSync client with additional configuration +// svc := datasync.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *DataSync { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/api.go index 9e8a586700d3..fa03cff40459 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/api.go @@ -28,14 +28,13 @@ const opCreateCluster = "CreateCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClusterRequest method. +// req, resp := client.CreateClusterRequest(params) // -// // Example sending a request using the CreateClusterRequest method. -// req, resp := client.CreateClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateCluster func (c *DAX) CreateClusterRequest(input *CreateClusterInput) (req *request.Request, output *CreateClusterOutput) { @@ -67,54 +66,55 @@ func (c *DAX) CreateClusterRequest(input *CreateClusterInput) (req *request.Requ // API operation CreateCluster for usage and error information. // // Returned Error Types: -// * ClusterAlreadyExistsFault -// You already have a DAX cluster with the given identifier. // -// * InvalidClusterStateFault -// The requested DAX cluster is not in the available state. +// - ClusterAlreadyExistsFault +// You already have a DAX cluster with the given identifier. +// +// - InvalidClusterStateFault +// The requested DAX cluster is not in the available state. // -// * InsufficientClusterCapacityFault -// There are not enough system resources to create the cluster you requested -// (or to resize an already-existing cluster). +// - InsufficientClusterCapacityFault +// There are not enough system resources to create the cluster you requested +// (or to resize an already-existing cluster). // -// * SubnetGroupNotFoundFault -// The requested subnet group name does not refer to an existing subnet group. +// - SubnetGroupNotFoundFault +// The requested subnet group name does not refer to an existing subnet group. // -// * InvalidParameterGroupStateFault -// One or more parameters in a parameter group are in an invalid state. +// - InvalidParameterGroupStateFault +// One or more parameters in a parameter group are in an invalid state. // -// * ParameterGroupNotFoundFault -// The specified parameter group does not exist. +// - ParameterGroupNotFoundFault +// The specified parameter group does not exist. // -// * ClusterQuotaForCustomerExceededFault -// You have attempted to exceed the maximum number of DAX clusters for your -// AWS account. +// - ClusterQuotaForCustomerExceededFault +// You have attempted to exceed the maximum number of DAX clusters for your +// AWS account. // -// * NodeQuotaForClusterExceededFault -// You have attempted to exceed the maximum number of nodes for a DAX cluster. +// - NodeQuotaForClusterExceededFault +// You have attempted to exceed the maximum number of nodes for a DAX cluster. // -// * NodeQuotaForCustomerExceededFault -// You have attempted to exceed the maximum number of nodes for your AWS account. +// - NodeQuotaForCustomerExceededFault +// You have attempted to exceed the maximum number of nodes for your AWS account. // -// * InvalidVPCNetworkStateFault -// The VPC network is in an invalid state. +// - InvalidVPCNetworkStateFault +// The VPC network is in an invalid state. // -// * TagQuotaPerResourceExceeded -// You have exceeded the maximum number of tags for this DAX cluster. +// - TagQuotaPerResourceExceeded +// You have exceeded the maximum number of tags for this DAX cluster. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - InvalidParameterValueException +// The value for a parameter is invalid. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // -// * ServiceQuotaExceededException -// You have reached the maximum number of x509 certificates that can be created -// for encrypted clusters in a 30 day period. Contact AWS customer support to -// discuss options for continuing to create encrypted clusters. +// - ServiceQuotaExceededException +// You have reached the maximum number of x509 certificates that can be created +// for encrypted clusters in a 30 day period. Contact AWS customer support to +// discuss options for continuing to create encrypted clusters. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateCluster func (c *DAX) CreateCluster(input *CreateClusterInput) (*CreateClusterOutput, error) { @@ -154,14 +154,13 @@ const opCreateParameterGroup = "CreateParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateParameterGroupRequest method. +// req, resp := client.CreateParameterGroupRequest(params) // -// // Example sending a request using the CreateParameterGroupRequest method. -// req, resp := client.CreateParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateParameterGroup func (c *DAX) CreateParameterGroupRequest(input *CreateParameterGroupInput) (req *request.Request, output *CreateParameterGroupOutput) { @@ -193,23 +192,24 @@ func (c *DAX) CreateParameterGroupRequest(input *CreateParameterGroupInput) (req // API operation CreateParameterGroup for usage and error information. // // Returned Error Types: -// * ParameterGroupQuotaExceededFault -// You have attempted to exceed the maximum number of parameter groups. // -// * ParameterGroupAlreadyExistsFault -// The specified parameter group already exists. +// - ParameterGroupQuotaExceededFault +// You have attempted to exceed the maximum number of parameter groups. // -// * InvalidParameterGroupStateFault -// One or more parameters in a parameter group are in an invalid state. +// - ParameterGroupAlreadyExistsFault +// The specified parameter group already exists. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - InvalidParameterGroupStateFault +// One or more parameters in a parameter group are in an invalid state. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterValueException +// The value for a parameter is invalid. +// +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateParameterGroup func (c *DAX) CreateParameterGroup(input *CreateParameterGroupInput) (*CreateParameterGroupOutput, error) { @@ -249,14 +249,13 @@ const opCreateSubnetGroup = "CreateSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSubnetGroupRequest method. +// req, resp := client.CreateSubnetGroupRequest(params) // -// // Example sending a request using the CreateSubnetGroupRequest method. -// req, resp := client.CreateSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateSubnetGroup func (c *DAX) CreateSubnetGroupRequest(input *CreateSubnetGroupInput) (req *request.Request, output *CreateSubnetGroupOutput) { @@ -287,22 +286,23 @@ func (c *DAX) CreateSubnetGroupRequest(input *CreateSubnetGroupInput) (req *requ // API operation CreateSubnetGroup for usage and error information. // // Returned Error Types: -// * SubnetGroupAlreadyExistsFault -// The specified subnet group already exists. // -// * SubnetGroupQuotaExceededFault -// The request cannot be processed because it would exceed the allowed number -// of subnets in a subnet group. +// - SubnetGroupAlreadyExistsFault +// The specified subnet group already exists. +// +// - SubnetGroupQuotaExceededFault +// The request cannot be processed because it would exceed the allowed number +// of subnets in a subnet group. // -// * SubnetQuotaExceededFault -// The request cannot be processed because it would exceed the allowed number -// of subnets in a subnet group. +// - SubnetQuotaExceededFault +// The request cannot be processed because it would exceed the allowed number +// of subnets in a subnet group. // -// * InvalidSubnet -// An invalid subnet identifier was specified. +// - InvalidSubnet +// An invalid subnet identifier was specified. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/CreateSubnetGroup func (c *DAX) CreateSubnetGroup(input *CreateSubnetGroupInput) (*CreateSubnetGroupOutput, error) { @@ -342,14 +342,13 @@ const opDecreaseReplicationFactor = "DecreaseReplicationFactor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DecreaseReplicationFactorRequest method. +// req, resp := client.DecreaseReplicationFactorRequest(params) // -// // Example sending a request using the DecreaseReplicationFactorRequest method. -// req, resp := client.DecreaseReplicationFactorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DecreaseReplicationFactor func (c *DAX) DecreaseReplicationFactorRequest(input *DecreaseReplicationFactorInput) (req *request.Request, output *DecreaseReplicationFactorOutput) { @@ -383,23 +382,24 @@ func (c *DAX) DecreaseReplicationFactorRequest(input *DecreaseReplicationFactorI // API operation DecreaseReplicationFactor for usage and error information. // // Returned Error Types: -// * ClusterNotFoundFault -// The requested cluster ID does not refer to an existing DAX cluster. // -// * NodeNotFoundFault -// None of the nodes in the cluster have the given node ID. +// - ClusterNotFoundFault +// The requested cluster ID does not refer to an existing DAX cluster. +// +// - NodeNotFoundFault +// None of the nodes in the cluster have the given node ID. // -// * InvalidClusterStateFault -// The requested DAX cluster is not in the available state. +// - InvalidClusterStateFault +// The requested DAX cluster is not in the available state. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - InvalidParameterValueException +// The value for a parameter is invalid. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DecreaseReplicationFactor func (c *DAX) DecreaseReplicationFactor(input *DecreaseReplicationFactorInput) (*DecreaseReplicationFactorOutput, error) { @@ -439,14 +439,13 @@ const opDeleteCluster = "DeleteCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClusterRequest method. +// req, resp := client.DeleteClusterRequest(params) // -// // Example sending a request using the DeleteClusterRequest method. -// req, resp := client.DeleteClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DeleteCluster func (c *DAX) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Request, output *DeleteClusterOutput) { @@ -480,20 +479,21 @@ func (c *DAX) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Requ // API operation DeleteCluster for usage and error information. // // Returned Error Types: -// * ClusterNotFoundFault -// The requested cluster ID does not refer to an existing DAX cluster. // -// * InvalidClusterStateFault -// The requested DAX cluster is not in the available state. +// - ClusterNotFoundFault +// The requested cluster ID does not refer to an existing DAX cluster. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - InvalidClusterStateFault +// The requested DAX cluster is not in the available state. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterValueException +// The value for a parameter is invalid. +// +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DeleteCluster func (c *DAX) DeleteCluster(input *DeleteClusterInput) (*DeleteClusterOutput, error) { @@ -533,14 +533,13 @@ const opDeleteParameterGroup = "DeleteParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteParameterGroupRequest method. +// req, resp := client.DeleteParameterGroupRequest(params) // -// // Example sending a request using the DeleteParameterGroupRequest method. -// req, resp := client.DeleteParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DeleteParameterGroup func (c *DAX) DeleteParameterGroupRequest(input *DeleteParameterGroupInput) (req *request.Request, output *DeleteParameterGroupOutput) { @@ -572,20 +571,21 @@ func (c *DAX) DeleteParameterGroupRequest(input *DeleteParameterGroupInput) (req // API operation DeleteParameterGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterGroupStateFault -// One or more parameters in a parameter group are in an invalid state. // -// * ParameterGroupNotFoundFault -// The specified parameter group does not exist. +// - InvalidParameterGroupStateFault +// One or more parameters in a parameter group are in an invalid state. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - ParameterGroupNotFoundFault +// The specified parameter group does not exist. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterValueException +// The value for a parameter is invalid. +// +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DeleteParameterGroup func (c *DAX) DeleteParameterGroup(input *DeleteParameterGroupInput) (*DeleteParameterGroupOutput, error) { @@ -625,14 +625,13 @@ const opDeleteSubnetGroup = "DeleteSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSubnetGroupRequest method. +// req, resp := client.DeleteSubnetGroupRequest(params) // -// // Example sending a request using the DeleteSubnetGroupRequest method. -// req, resp := client.DeleteSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DeleteSubnetGroup func (c *DAX) DeleteSubnetGroupRequest(input *DeleteSubnetGroupInput) (req *request.Request, output *DeleteSubnetGroupOutput) { @@ -665,14 +664,15 @@ func (c *DAX) DeleteSubnetGroupRequest(input *DeleteSubnetGroupInput) (req *requ // API operation DeleteSubnetGroup for usage and error information. // // Returned Error Types: -// * SubnetGroupInUseFault -// The specified subnet group is currently in use. // -// * SubnetGroupNotFoundFault -// The requested subnet group name does not refer to an existing subnet group. +// - SubnetGroupInUseFault +// The specified subnet group is currently in use. +// +// - SubnetGroupNotFoundFault +// The requested subnet group name does not refer to an existing subnet group. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DeleteSubnetGroup func (c *DAX) DeleteSubnetGroup(input *DeleteSubnetGroupInput) (*DeleteSubnetGroupOutput, error) { @@ -712,14 +712,13 @@ const opDescribeClusters = "DescribeClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClustersRequest method. +// req, resp := client.DescribeClustersRequest(params) // -// // Example sending a request using the DescribeClustersRequest method. -// req, resp := client.DescribeClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeClusters func (c *DAX) DescribeClustersRequest(input *DescribeClustersInput) (req *request.Request, output *DescribeClustersOutput) { @@ -766,17 +765,18 @@ func (c *DAX) DescribeClustersRequest(input *DescribeClustersInput) (req *reques // API operation DescribeClusters for usage and error information. // // Returned Error Types: -// * ClusterNotFoundFault -// The requested cluster ID does not refer to an existing DAX cluster. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - ClusterNotFoundFault +// The requested cluster ID does not refer to an existing DAX cluster. +// +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - InvalidParameterValueException +// The value for a parameter is invalid. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeClusters func (c *DAX) DescribeClusters(input *DescribeClustersInput) (*DescribeClustersOutput, error) { @@ -816,14 +816,13 @@ const opDescribeDefaultParameters = "DescribeDefaultParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDefaultParametersRequest method. +// req, resp := client.DescribeDefaultParametersRequest(params) // -// // Example sending a request using the DescribeDefaultParametersRequest method. -// req, resp := client.DescribeDefaultParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeDefaultParameters func (c *DAX) DescribeDefaultParametersRequest(input *DescribeDefaultParametersInput) (req *request.Request, output *DescribeDefaultParametersOutput) { @@ -854,14 +853,15 @@ func (c *DAX) DescribeDefaultParametersRequest(input *DescribeDefaultParametersI // API operation DescribeDefaultParameters for usage and error information. // // Returned Error Types: -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. +// +// - InvalidParameterValueException +// The value for a parameter is invalid. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeDefaultParameters func (c *DAX) DescribeDefaultParameters(input *DescribeDefaultParametersInput) (*DescribeDefaultParametersOutput, error) { @@ -901,14 +901,13 @@ const opDescribeEvents = "DescribeEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventsRequest method. +// req, resp := client.DescribeEventsRequest(params) // -// // Example sending a request using the DescribeEventsRequest method. -// req, resp := client.DescribeEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeEvents func (c *DAX) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { @@ -944,14 +943,15 @@ func (c *DAX) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Re // API operation DescribeEvents for usage and error information. // // Returned Error Types: -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterValueException +// The value for a parameter is invalid. +// +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeEvents func (c *DAX) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error) { @@ -991,14 +991,13 @@ const opDescribeParameterGroups = "DescribeParameterGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeParameterGroupsRequest method. +// req, resp := client.DescribeParameterGroupsRequest(params) // -// // Example sending a request using the DescribeParameterGroupsRequest method. -// req, resp := client.DescribeParameterGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeParameterGroups func (c *DAX) DescribeParameterGroupsRequest(input *DescribeParameterGroupsInput) (req *request.Request, output *DescribeParameterGroupsOutput) { @@ -1030,17 +1029,18 @@ func (c *DAX) DescribeParameterGroupsRequest(input *DescribeParameterGroupsInput // API operation DescribeParameterGroups for usage and error information. // // Returned Error Types: -// * ParameterGroupNotFoundFault -// The specified parameter group does not exist. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - ParameterGroupNotFoundFault +// The specified parameter group does not exist. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterValueException +// The value for a parameter is invalid. +// +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeParameterGroups func (c *DAX) DescribeParameterGroups(input *DescribeParameterGroupsInput) (*DescribeParameterGroupsOutput, error) { @@ -1080,14 +1080,13 @@ const opDescribeParameters = "DescribeParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeParametersRequest method. +// req, resp := client.DescribeParametersRequest(params) // -// // Example sending a request using the DescribeParametersRequest method. -// req, resp := client.DescribeParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeParameters func (c *DAX) DescribeParametersRequest(input *DescribeParametersInput) (req *request.Request, output *DescribeParametersOutput) { @@ -1118,17 +1117,18 @@ func (c *DAX) DescribeParametersRequest(input *DescribeParametersInput) (req *re // API operation DescribeParameters for usage and error information. // // Returned Error Types: -// * ParameterGroupNotFoundFault -// The specified parameter group does not exist. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - ParameterGroupNotFoundFault +// The specified parameter group does not exist. +// +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - InvalidParameterValueException +// The value for a parameter is invalid. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeParameters func (c *DAX) DescribeParameters(input *DescribeParametersInput) (*DescribeParametersOutput, error) { @@ -1168,14 +1168,13 @@ const opDescribeSubnetGroups = "DescribeSubnetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSubnetGroupsRequest method. +// req, resp := client.DescribeSubnetGroupsRequest(params) // -// // Example sending a request using the DescribeSubnetGroupsRequest method. -// req, resp := client.DescribeSubnetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeSubnetGroups func (c *DAX) DescribeSubnetGroupsRequest(input *DescribeSubnetGroupsInput) (req *request.Request, output *DescribeSubnetGroupsOutput) { @@ -1207,11 +1206,12 @@ func (c *DAX) DescribeSubnetGroupsRequest(input *DescribeSubnetGroupsInput) (req // API operation DescribeSubnetGroups for usage and error information. // // Returned Error Types: -// * SubnetGroupNotFoundFault -// The requested subnet group name does not refer to an existing subnet group. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - SubnetGroupNotFoundFault +// The requested subnet group name does not refer to an existing subnet group. +// +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DescribeSubnetGroups func (c *DAX) DescribeSubnetGroups(input *DescribeSubnetGroupsInput) (*DescribeSubnetGroupsOutput, error) { @@ -1251,14 +1251,13 @@ const opIncreaseReplicationFactor = "IncreaseReplicationFactor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the IncreaseReplicationFactorRequest method. +// req, resp := client.IncreaseReplicationFactorRequest(params) // -// // Example sending a request using the IncreaseReplicationFactorRequest method. -// req, resp := client.IncreaseReplicationFactorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/IncreaseReplicationFactor func (c *DAX) IncreaseReplicationFactorRequest(input *IncreaseReplicationFactorInput) (req *request.Request, output *IncreaseReplicationFactorOutput) { @@ -1289,33 +1288,34 @@ func (c *DAX) IncreaseReplicationFactorRequest(input *IncreaseReplicationFactorI // API operation IncreaseReplicationFactor for usage and error information. // // Returned Error Types: -// * ClusterNotFoundFault -// The requested cluster ID does not refer to an existing DAX cluster. // -// * InvalidClusterStateFault -// The requested DAX cluster is not in the available state. +// - ClusterNotFoundFault +// The requested cluster ID does not refer to an existing DAX cluster. // -// * InsufficientClusterCapacityFault -// There are not enough system resources to create the cluster you requested -// (or to resize an already-existing cluster). +// - InvalidClusterStateFault +// The requested DAX cluster is not in the available state. // -// * InvalidVPCNetworkStateFault -// The VPC network is in an invalid state. +// - InsufficientClusterCapacityFault +// There are not enough system resources to create the cluster you requested +// (or to resize an already-existing cluster). // -// * NodeQuotaForClusterExceededFault -// You have attempted to exceed the maximum number of nodes for a DAX cluster. +// - InvalidVPCNetworkStateFault +// The VPC network is in an invalid state. // -// * NodeQuotaForCustomerExceededFault -// You have attempted to exceed the maximum number of nodes for your AWS account. +// - NodeQuotaForClusterExceededFault +// You have attempted to exceed the maximum number of nodes for a DAX cluster. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - NodeQuotaForCustomerExceededFault +// You have attempted to exceed the maximum number of nodes for your AWS account. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterValueException +// The value for a parameter is invalid. +// +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/IncreaseReplicationFactor func (c *DAX) IncreaseReplicationFactor(input *IncreaseReplicationFactorInput) (*IncreaseReplicationFactorOutput, error) { @@ -1355,14 +1355,13 @@ const opListTags = "ListTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsRequest method. +// req, resp := client.ListTagsRequest(params) // -// // Example sending a request using the ListTagsRequest method. -// req, resp := client.ListTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ListTags func (c *DAX) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { @@ -1394,23 +1393,24 @@ func (c *DAX) ListTagsRequest(input *ListTagsInput) (req *request.Request, outpu // API operation ListTags for usage and error information. // // Returned Error Types: -// * ClusterNotFoundFault -// The requested cluster ID does not refer to an existing DAX cluster. // -// * InvalidARNFault -// The Amazon Resource Name (ARN) supplied in the request is not valid. +// - ClusterNotFoundFault +// The requested cluster ID does not refer to an existing DAX cluster. +// +// - InvalidARNFault +// The Amazon Resource Name (ARN) supplied in the request is not valid. // -// * InvalidClusterStateFault -// The requested DAX cluster is not in the available state. +// - InvalidClusterStateFault +// The requested DAX cluster is not in the available state. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - InvalidParameterValueException +// The value for a parameter is invalid. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/ListTags func (c *DAX) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { @@ -1450,14 +1450,13 @@ const opRebootNode = "RebootNode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebootNodeRequest method. +// req, resp := client.RebootNodeRequest(params) // -// // Example sending a request using the RebootNodeRequest method. -// req, resp := client.RebootNodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/RebootNode func (c *DAX) RebootNodeRequest(input *RebootNodeInput) (req *request.Request, output *RebootNodeOutput) { @@ -1492,23 +1491,24 @@ func (c *DAX) RebootNodeRequest(input *RebootNodeInput) (req *request.Request, o // API operation RebootNode for usage and error information. // // Returned Error Types: -// * ClusterNotFoundFault -// The requested cluster ID does not refer to an existing DAX cluster. // -// * NodeNotFoundFault -// None of the nodes in the cluster have the given node ID. +// - ClusterNotFoundFault +// The requested cluster ID does not refer to an existing DAX cluster. +// +// - NodeNotFoundFault +// None of the nodes in the cluster have the given node ID. // -// * InvalidClusterStateFault -// The requested DAX cluster is not in the available state. +// - InvalidClusterStateFault +// The requested DAX cluster is not in the available state. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - InvalidParameterValueException +// The value for a parameter is invalid. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/RebootNode func (c *DAX) RebootNode(input *RebootNodeInput) (*RebootNodeOutput, error) { @@ -1548,14 +1548,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/TagResource func (c *DAX) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1587,26 +1586,27 @@ func (c *DAX) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * ClusterNotFoundFault -// The requested cluster ID does not refer to an existing DAX cluster. // -// * TagQuotaPerResourceExceeded -// You have exceeded the maximum number of tags for this DAX cluster. +// - ClusterNotFoundFault +// The requested cluster ID does not refer to an existing DAX cluster. +// +// - TagQuotaPerResourceExceeded +// You have exceeded the maximum number of tags for this DAX cluster. // -// * InvalidARNFault -// The Amazon Resource Name (ARN) supplied in the request is not valid. +// - InvalidARNFault +// The Amazon Resource Name (ARN) supplied in the request is not valid. // -// * InvalidClusterStateFault -// The requested DAX cluster is not in the available state. +// - InvalidClusterStateFault +// The requested DAX cluster is not in the available state. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - InvalidParameterValueException +// The value for a parameter is invalid. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/TagResource func (c *DAX) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1646,14 +1646,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UntagResource func (c *DAX) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1685,26 +1684,27 @@ func (c *DAX) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ClusterNotFoundFault -// The requested cluster ID does not refer to an existing DAX cluster. // -// * InvalidARNFault -// The Amazon Resource Name (ARN) supplied in the request is not valid. +// - ClusterNotFoundFault +// The requested cluster ID does not refer to an existing DAX cluster. // -// * TagNotFoundFault -// The tag does not exist. +// - InvalidARNFault +// The Amazon Resource Name (ARN) supplied in the request is not valid. // -// * InvalidClusterStateFault -// The requested DAX cluster is not in the available state. +// - TagNotFoundFault +// The tag does not exist. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - InvalidClusterStateFault +// The requested DAX cluster is not in the available state. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterValueException +// The value for a parameter is invalid. +// +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UntagResource func (c *DAX) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1744,14 +1744,13 @@ const opUpdateCluster = "UpdateCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateClusterRequest method. +// req, resp := client.UpdateClusterRequest(params) // -// // Example sending a request using the UpdateClusterRequest method. -// req, resp := client.UpdateClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UpdateCluster func (c *DAX) UpdateClusterRequest(input *UpdateClusterInput) (req *request.Request, output *UpdateClusterOutput) { @@ -1784,26 +1783,27 @@ func (c *DAX) UpdateClusterRequest(input *UpdateClusterInput) (req *request.Requ // API operation UpdateCluster for usage and error information. // // Returned Error Types: -// * InvalidClusterStateFault -// The requested DAX cluster is not in the available state. // -// * ClusterNotFoundFault -// The requested cluster ID does not refer to an existing DAX cluster. +// - InvalidClusterStateFault +// The requested DAX cluster is not in the available state. // -// * InvalidParameterGroupStateFault -// One or more parameters in a parameter group are in an invalid state. +// - ClusterNotFoundFault +// The requested cluster ID does not refer to an existing DAX cluster. // -// * ParameterGroupNotFoundFault -// The specified parameter group does not exist. +// - InvalidParameterGroupStateFault +// One or more parameters in a parameter group are in an invalid state. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - ParameterGroupNotFoundFault +// The specified parameter group does not exist. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterValueException +// The value for a parameter is invalid. +// +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UpdateCluster func (c *DAX) UpdateCluster(input *UpdateClusterInput) (*UpdateClusterOutput, error) { @@ -1843,14 +1843,13 @@ const opUpdateParameterGroup = "UpdateParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateParameterGroupRequest method. +// req, resp := client.UpdateParameterGroupRequest(params) // -// // Example sending a request using the UpdateParameterGroupRequest method. -// req, resp := client.UpdateParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UpdateParameterGroup func (c *DAX) UpdateParameterGroupRequest(input *UpdateParameterGroupInput) (req *request.Request, output *UpdateParameterGroupOutput) { @@ -1882,20 +1881,21 @@ func (c *DAX) UpdateParameterGroupRequest(input *UpdateParameterGroupInput) (req // API operation UpdateParameterGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterGroupStateFault -// One or more parameters in a parameter group are in an invalid state. // -// * ParameterGroupNotFoundFault -// The specified parameter group does not exist. +// - InvalidParameterGroupStateFault +// One or more parameters in a parameter group are in an invalid state. +// +// - ParameterGroupNotFoundFault +// The specified parameter group does not exist. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // -// * InvalidParameterValueException -// The value for a parameter is invalid. +// - InvalidParameterValueException +// The value for a parameter is invalid. // -// * InvalidParameterCombinationException -// Two or more incompatible parameters were specified. +// - InvalidParameterCombinationException +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UpdateParameterGroup func (c *DAX) UpdateParameterGroup(input *UpdateParameterGroupInput) (*UpdateParameterGroupOutput, error) { @@ -1935,14 +1935,13 @@ const opUpdateSubnetGroup = "UpdateSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSubnetGroupRequest method. +// req, resp := client.UpdateSubnetGroupRequest(params) // -// // Example sending a request using the UpdateSubnetGroupRequest method. -// req, resp := client.UpdateSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UpdateSubnetGroup func (c *DAX) UpdateSubnetGroupRequest(input *UpdateSubnetGroupInput) (req *request.Request, output *UpdateSubnetGroupOutput) { @@ -1973,21 +1972,22 @@ func (c *DAX) UpdateSubnetGroupRequest(input *UpdateSubnetGroupInput) (req *requ // API operation UpdateSubnetGroup for usage and error information. // // Returned Error Types: -// * SubnetGroupNotFoundFault -// The requested subnet group name does not refer to an existing subnet group. // -// * SubnetQuotaExceededFault -// The request cannot be processed because it would exceed the allowed number -// of subnets in a subnet group. +// - SubnetGroupNotFoundFault +// The requested subnet group name does not refer to an existing subnet group. +// +// - SubnetQuotaExceededFault +// The request cannot be processed because it would exceed the allowed number +// of subnets in a subnet group. // -// * SubnetInUse -// The requested subnet is being used by another subnet group. +// - SubnetInUse +// The requested subnet is being used by another subnet group. // -// * InvalidSubnet -// An invalid subnet identifier was specified. +// - InvalidSubnet +// An invalid subnet identifier was specified. // -// * ServiceLinkedRoleNotFoundFault -// The specified service linked role (SLR) was not found. +// - ServiceLinkedRoleNotFoundFault +// The specified service linked role (SLR) was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/UpdateSubnetGroup func (c *DAX) UpdateSubnetGroup(input *UpdateSubnetGroupInput) (*UpdateSubnetGroupOutput, error) { @@ -5857,9 +5857,9 @@ func (s *Subnet) SetSubnetIdentifier(v string) *Subnet { // Represents the output of one of the following actions: // -// * CreateSubnetGroup +// - CreateSubnetGroup // -// * ModifySubnetGroup +// - ModifySubnetGroup type SubnetGroup struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/daxiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/daxiface/interface.go index 7d57d91cd180..7cb32c7c4196 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/daxiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/daxiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon DynamoDB Accelerator (DAX). -// func myFunc(svc daxiface.DAXAPI) bool { -// // Make svc.CreateCluster request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon DynamoDB Accelerator (DAX). +// func myFunc(svc daxiface.DAXAPI) bool { +// // Make svc.CreateCluster request +// } // -// func main() { -// sess := session.New() -// svc := dax.New(sess) +// func main() { +// sess := session.New() +// svc := dax.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockDAXClient struct { -// daxiface.DAXAPI -// } -// func (m *mockDAXClient) CreateCluster(input *dax.CreateClusterInput) (*dax.CreateClusterOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockDAXClient struct { +// daxiface.DAXAPI +// } +// func (m *mockDAXClient) CreateCluster(input *dax.CreateClusterInput) (*dax.CreateClusterOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockDAXClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockDAXClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/doc.go index a3b25ccbd5aa..5282e4963b54 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/doc.go @@ -15,7 +15,7 @@ // See dax package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/dax/ // -// Using the Client +// # Using the Client // // To contact Amazon DynamoDB Accelerator (DAX) with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/service.go index 33fa9b3466e7..b380fceae5d5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dax/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a DAX client from just a session. -// svc := dax.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a DAX client with additional configuration -// svc := dax.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a DAX client from just a session. +// svc := dax.New(mySession) +// +// // Create a DAX client with additional configuration +// svc := dax.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *DAX { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/api.go index 58b3cf12061b..1a07ff694bd8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/api.go @@ -29,14 +29,13 @@ const opAcceptInvitation = "AcceptInvitation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptInvitationRequest method. +// req, resp := client.AcceptInvitationRequest(params) // -// // Example sending a request using the AcceptInvitationRequest method. -// req, resp := client.AcceptInvitationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/AcceptInvitation func (c *Detective) AcceptInvitationRequest(input *AcceptInvitationInput) (req *request.Request, output *AcceptInvitationOutput) { @@ -73,17 +72,18 @@ func (c *Detective) AcceptInvitationRequest(input *AcceptInvitationInput) (req * // API operation AcceptInvitation for usage and error information. // // Returned Error Types: -// * ConflictException -// The request attempted an invalid action. // -// * InternalServerException -// The request was valid but failed because of a problem with the service. +// - ConflictException +// The request attempted an invalid action. +// +// - InternalServerException +// The request was valid but failed because of a problem with the service. // -// * ResourceNotFoundException -// The request refers to a nonexistent resource. +// - ResourceNotFoundException +// The request refers to a nonexistent resource. // -// * ValidationException -// The request parameters are invalid. +// - ValidationException +// The request parameters are invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/AcceptInvitation func (c *Detective) AcceptInvitation(input *AcceptInvitationInput) (*AcceptInvitationOutput, error) { @@ -123,14 +123,13 @@ const opCreateGraph = "CreateGraph" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGraphRequest method. +// req, resp := client.CreateGraphRequest(params) // -// // Example sending a request using the CreateGraphRequest method. -// req, resp := client.CreateGraphRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/CreateGraph func (c *Detective) CreateGraphRequest(input *CreateGraphInput) (req *request.Request, output *CreateGraphOutput) { @@ -181,24 +180,25 @@ func (c *Detective) CreateGraphRequest(input *CreateGraphInput) (req *request.Re // API operation CreateGraph for usage and error information. // // Returned Error Types: -// * ConflictException -// The request attempted an invalid action. // -// * InternalServerException -// The request was valid but failed because of a problem with the service. +// - ConflictException +// The request attempted an invalid action. // -// * ServiceQuotaExceededException -// This request cannot be completed for one of the following reasons. +// - InternalServerException +// The request was valid but failed because of a problem with the service. // -// * The request would cause the number of member accounts in the behavior -// graph to exceed the maximum allowed. A behavior graph cannot have more -// than 1200 member accounts. +// - ServiceQuotaExceededException +// This request cannot be completed for one of the following reasons. // -// * The request would cause the data rate for the behavior graph to exceed -// the maximum allowed. +// - The request would cause the number of member accounts in the behavior +// graph to exceed the maximum allowed. A behavior graph cannot have more +// than 1200 member accounts. // -// * Detective is unable to verify the data rate for the member account. -// This is usually because the member account is not enrolled in Amazon GuardDuty. +// - The request would cause the data rate for the behavior graph to exceed +// the maximum allowed. +// +// - Detective is unable to verify the data rate for the member account. +// This is usually because the member account is not enrolled in Amazon GuardDuty. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/CreateGraph func (c *Detective) CreateGraph(input *CreateGraphInput) (*CreateGraphOutput, error) { @@ -238,14 +238,13 @@ const opCreateMembers = "CreateMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMembersRequest method. +// req, resp := client.CreateMembersRequest(params) // -// // Example sending a request using the CreateMembersRequest method. -// req, resp := client.CreateMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/CreateMembers func (c *Detective) CreateMembersRequest(input *CreateMembersInput) (req *request.Request, output *CreateMembersOutput) { @@ -289,15 +288,15 @@ func (c *Detective) CreateMembersRequest(input *CreateMembersInput) (req *reques // // The response separates the requested accounts into two lists: // -// * The accounts that CreateMembers was able to process. For invited accounts, -// includes member accounts that are being verified, that have passed verification -// and are to be invited, and that have failed verification. For organization -// accounts in the organization behavior graph, includes accounts that can -// be enabled and that cannot be enabled. +// - The accounts that CreateMembers was able to process. For invited accounts, +// includes member accounts that are being verified, that have passed verification +// and are to be invited, and that have failed verification. For organization +// accounts in the organization behavior graph, includes accounts that can +// be enabled and that cannot be enabled. // -// * The accounts that CreateMembers was unable to process. This list includes -// accounts that were already invited to be member accounts in the behavior -// graph. +// - The accounts that CreateMembers was unable to process. This list includes +// accounts that were already invited to be member accounts in the behavior +// graph. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -307,27 +306,28 @@ func (c *Detective) CreateMembersRequest(input *CreateMembersInput) (req *reques // API operation CreateMembers for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request was valid but failed because of a problem with the service. // -// * ResourceNotFoundException -// The request refers to a nonexistent resource. +// - InternalServerException +// The request was valid but failed because of a problem with the service. +// +// - ResourceNotFoundException +// The request refers to a nonexistent resource. // -// * ValidationException -// The request parameters are invalid. +// - ValidationException +// The request parameters are invalid. // -// * ServiceQuotaExceededException -// This request cannot be completed for one of the following reasons. +// - ServiceQuotaExceededException +// This request cannot be completed for one of the following reasons. // -// * The request would cause the number of member accounts in the behavior -// graph to exceed the maximum allowed. A behavior graph cannot have more -// than 1200 member accounts. +// - The request would cause the number of member accounts in the behavior +// graph to exceed the maximum allowed. A behavior graph cannot have more +// than 1200 member accounts. // -// * The request would cause the data rate for the behavior graph to exceed -// the maximum allowed. +// - The request would cause the data rate for the behavior graph to exceed +// the maximum allowed. // -// * Detective is unable to verify the data rate for the member account. -// This is usually because the member account is not enrolled in Amazon GuardDuty. +// - Detective is unable to verify the data rate for the member account. +// This is usually because the member account is not enrolled in Amazon GuardDuty. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/CreateMembers func (c *Detective) CreateMembers(input *CreateMembersInput) (*CreateMembersOutput, error) { @@ -367,14 +367,13 @@ const opDeleteGraph = "DeleteGraph" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGraphRequest method. +// req, resp := client.DeleteGraphRequest(params) // -// // Example sending a request using the DeleteGraphRequest method. -// req, resp := client.DeleteGraphRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DeleteGraph func (c *Detective) DeleteGraphRequest(input *DeleteGraphInput) (req *request.Request, output *DeleteGraphOutput) { @@ -410,14 +409,15 @@ func (c *Detective) DeleteGraphRequest(input *DeleteGraphInput) (req *request.Re // API operation DeleteGraph for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request was valid but failed because of a problem with the service. // -// * ResourceNotFoundException -// The request refers to a nonexistent resource. +// - InternalServerException +// The request was valid but failed because of a problem with the service. +// +// - ResourceNotFoundException +// The request refers to a nonexistent resource. // -// * ValidationException -// The request parameters are invalid. +// - ValidationException +// The request parameters are invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DeleteGraph func (c *Detective) DeleteGraph(input *DeleteGraphInput) (*DeleteGraphOutput, error) { @@ -457,14 +457,13 @@ const opDeleteMembers = "DeleteMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMembersRequest method. +// req, resp := client.DeleteMembersRequest(params) // -// // Example sending a request using the DeleteMembersRequest method. -// req, resp := client.DeleteMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DeleteMembers func (c *Detective) DeleteMembersRequest(input *DeleteMembersInput) (req *request.Request, output *DeleteMembersOutput) { @@ -510,17 +509,18 @@ func (c *Detective) DeleteMembersRequest(input *DeleteMembersInput) (req *reques // API operation DeleteMembers for usage and error information. // // Returned Error Types: -// * ConflictException -// The request attempted an invalid action. // -// * InternalServerException -// The request was valid but failed because of a problem with the service. +// - ConflictException +// The request attempted an invalid action. // -// * ResourceNotFoundException -// The request refers to a nonexistent resource. +// - InternalServerException +// The request was valid but failed because of a problem with the service. // -// * ValidationException -// The request parameters are invalid. +// - ResourceNotFoundException +// The request refers to a nonexistent resource. +// +// - ValidationException +// The request parameters are invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DeleteMembers func (c *Detective) DeleteMembers(input *DeleteMembersInput) (*DeleteMembersOutput, error) { @@ -560,14 +560,13 @@ const opDescribeOrganizationConfiguration = "DescribeOrganizationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrganizationConfigurationRequest method. +// req, resp := client.DescribeOrganizationConfigurationRequest(params) // -// // Example sending a request using the DescribeOrganizationConfigurationRequest method. -// req, resp := client.DescribeOrganizationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DescribeOrganizationConfiguration func (c *Detective) DescribeOrganizationConfigurationRequest(input *DescribeOrganizationConfigurationInput) (req *request.Request, output *DescribeOrganizationConfigurationOutput) { @@ -602,15 +601,16 @@ func (c *Detective) DescribeOrganizationConfigurationRequest(input *DescribeOrga // API operation DescribeOrganizationConfiguration for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request was valid but failed because of a problem with the service. // -// * ValidationException -// The request parameters are invalid. +// - InternalServerException +// The request was valid but failed because of a problem with the service. // -// * TooManyRequestsException -// The request cannot be completed because too many other requests are occurring -// at the same time. +// - ValidationException +// The request parameters are invalid. +// +// - TooManyRequestsException +// The request cannot be completed because too many other requests are occurring +// at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DescribeOrganizationConfiguration func (c *Detective) DescribeOrganizationConfiguration(input *DescribeOrganizationConfigurationInput) (*DescribeOrganizationConfigurationOutput, error) { @@ -650,14 +650,13 @@ const opDisableOrganizationAdminAccount = "DisableOrganizationAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableOrganizationAdminAccountRequest method. +// req, resp := client.DisableOrganizationAdminAccountRequest(params) // -// // Example sending a request using the DisableOrganizationAdminAccountRequest method. -// req, resp := client.DisableOrganizationAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DisableOrganizationAdminAccount func (c *Detective) DisableOrganizationAdminAccountRequest(input *DisableOrganizationAdminAccountInput) (req *request.Request, output *DisableOrganizationAdminAccountOutput) { @@ -694,15 +693,16 @@ func (c *Detective) DisableOrganizationAdminAccountRequest(input *DisableOrganiz // API operation DisableOrganizationAdminAccount for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request was valid but failed because of a problem with the service. // -// * ValidationException -// The request parameters are invalid. +// - InternalServerException +// The request was valid but failed because of a problem with the service. +// +// - ValidationException +// The request parameters are invalid. // -// * TooManyRequestsException -// The request cannot be completed because too many other requests are occurring -// at the same time. +// - TooManyRequestsException +// The request cannot be completed because too many other requests are occurring +// at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DisableOrganizationAdminAccount func (c *Detective) DisableOrganizationAdminAccount(input *DisableOrganizationAdminAccountInput) (*DisableOrganizationAdminAccountOutput, error) { @@ -742,14 +742,13 @@ const opDisassociateMembership = "DisassociateMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateMembershipRequest method. +// req, resp := client.DisassociateMembershipRequest(params) // -// // Example sending a request using the DisassociateMembershipRequest method. -// req, resp := client.DisassociateMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DisassociateMembership func (c *Detective) DisassociateMembershipRequest(input *DisassociateMembershipInput) (req *request.Request, output *DisassociateMembershipOutput) { @@ -787,17 +786,18 @@ func (c *Detective) DisassociateMembershipRequest(input *DisassociateMembershipI // API operation DisassociateMembership for usage and error information. // // Returned Error Types: -// * ConflictException -// The request attempted an invalid action. // -// * InternalServerException -// The request was valid but failed because of a problem with the service. +// - ConflictException +// The request attempted an invalid action. +// +// - InternalServerException +// The request was valid but failed because of a problem with the service. // -// * ResourceNotFoundException -// The request refers to a nonexistent resource. +// - ResourceNotFoundException +// The request refers to a nonexistent resource. // -// * ValidationException -// The request parameters are invalid. +// - ValidationException +// The request parameters are invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/DisassociateMembership func (c *Detective) DisassociateMembership(input *DisassociateMembershipInput) (*DisassociateMembershipOutput, error) { @@ -837,14 +837,13 @@ const opEnableOrganizationAdminAccount = "EnableOrganizationAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableOrganizationAdminAccountRequest method. +// req, resp := client.EnableOrganizationAdminAccountRequest(params) // -// // Example sending a request using the EnableOrganizationAdminAccountRequest method. -// req, resp := client.EnableOrganizationAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/EnableOrganizationAdminAccount func (c *Detective) EnableOrganizationAdminAccountRequest(input *EnableOrganizationAdminAccountInput) (req *request.Request, output *EnableOrganizationAdminAccountOutput) { @@ -886,15 +885,16 @@ func (c *Detective) EnableOrganizationAdminAccountRequest(input *EnableOrganizat // API operation EnableOrganizationAdminAccount for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request was valid but failed because of a problem with the service. // -// * ValidationException -// The request parameters are invalid. +// - InternalServerException +// The request was valid but failed because of a problem with the service. // -// * TooManyRequestsException -// The request cannot be completed because too many other requests are occurring -// at the same time. +// - ValidationException +// The request parameters are invalid. +// +// - TooManyRequestsException +// The request cannot be completed because too many other requests are occurring +// at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/EnableOrganizationAdminAccount func (c *Detective) EnableOrganizationAdminAccount(input *EnableOrganizationAdminAccountInput) (*EnableOrganizationAdminAccountOutput, error) { @@ -934,14 +934,13 @@ const opGetMembers = "GetMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMembersRequest method. +// req, resp := client.GetMembersRequest(params) // -// // Example sending a request using the GetMembersRequest method. -// req, resp := client.GetMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/GetMembers func (c *Detective) GetMembersRequest(input *GetMembersInput) (req *request.Request, output *GetMembersOutput) { @@ -973,14 +972,15 @@ func (c *Detective) GetMembersRequest(input *GetMembersInput) (req *request.Requ // API operation GetMembers for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request was valid but failed because of a problem with the service. // -// * ResourceNotFoundException -// The request refers to a nonexistent resource. +// - InternalServerException +// The request was valid but failed because of a problem with the service. +// +// - ResourceNotFoundException +// The request refers to a nonexistent resource. // -// * ValidationException -// The request parameters are invalid. +// - ValidationException +// The request parameters are invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/GetMembers func (c *Detective) GetMembers(input *GetMembersInput) (*GetMembersOutput, error) { @@ -1020,14 +1020,13 @@ const opListGraphs = "ListGraphs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGraphsRequest method. +// req, resp := client.ListGraphsRequest(params) // -// // Example sending a request using the ListGraphsRequest method. -// req, resp := client.ListGraphsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListGraphs func (c *Detective) ListGraphsRequest(input *ListGraphsInput) (req *request.Request, output *ListGraphsOutput) { @@ -1068,11 +1067,12 @@ func (c *Detective) ListGraphsRequest(input *ListGraphsInput) (req *request.Requ // API operation ListGraphs for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request was valid but failed because of a problem with the service. // -// * ValidationException -// The request parameters are invalid. +// - InternalServerException +// The request was valid but failed because of a problem with the service. +// +// - ValidationException +// The request parameters are invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListGraphs func (c *Detective) ListGraphs(input *ListGraphsInput) (*ListGraphsOutput, error) { @@ -1104,15 +1104,14 @@ func (c *Detective) ListGraphsWithContext(ctx aws.Context, input *ListGraphsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGraphs operation. -// pageNum := 0 -// err := client.ListGraphsPages(params, -// func(page *detective.ListGraphsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGraphs operation. +// pageNum := 0 +// err := client.ListGraphsPages(params, +// func(page *detective.ListGraphsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Detective) ListGraphsPages(input *ListGraphsInput, fn func(*ListGraphsOutput, bool) bool) error { return c.ListGraphsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1164,14 +1163,13 @@ const opListInvitations = "ListInvitations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInvitationsRequest method. +// req, resp := client.ListInvitationsRequest(params) // -// // Example sending a request using the ListInvitationsRequest method. -// req, resp := client.ListInvitationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListInvitations func (c *Detective) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput) { @@ -1216,11 +1214,12 @@ func (c *Detective) ListInvitationsRequest(input *ListInvitationsInput) (req *re // API operation ListInvitations for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request was valid but failed because of a problem with the service. // -// * ValidationException -// The request parameters are invalid. +// - InternalServerException +// The request was valid but failed because of a problem with the service. +// +// - ValidationException +// The request parameters are invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListInvitations func (c *Detective) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error) { @@ -1252,15 +1251,14 @@ func (c *Detective) ListInvitationsWithContext(ctx aws.Context, input *ListInvit // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInvitations operation. -// pageNum := 0 -// err := client.ListInvitationsPages(params, -// func(page *detective.ListInvitationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInvitations operation. +// pageNum := 0 +// err := client.ListInvitationsPages(params, +// func(page *detective.ListInvitationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Detective) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error { return c.ListInvitationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1312,14 +1310,13 @@ const opListMembers = "ListMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMembersRequest method. +// req, resp := client.ListMembersRequest(params) // -// // Example sending a request using the ListMembersRequest method. -// req, resp := client.ListMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListMembers func (c *Detective) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput) { @@ -1363,14 +1360,15 @@ func (c *Detective) ListMembersRequest(input *ListMembersInput) (req *request.Re // API operation ListMembers for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request was valid but failed because of a problem with the service. // -// * ResourceNotFoundException -// The request refers to a nonexistent resource. +// - InternalServerException +// The request was valid but failed because of a problem with the service. +// +// - ResourceNotFoundException +// The request refers to a nonexistent resource. // -// * ValidationException -// The request parameters are invalid. +// - ValidationException +// The request parameters are invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListMembers func (c *Detective) ListMembers(input *ListMembersInput) (*ListMembersOutput, error) { @@ -1402,15 +1400,14 @@ func (c *Detective) ListMembersWithContext(ctx aws.Context, input *ListMembersIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMembers operation. -// pageNum := 0 -// err := client.ListMembersPages(params, -// func(page *detective.ListMembersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMembers operation. +// pageNum := 0 +// err := client.ListMembersPages(params, +// func(page *detective.ListMembersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Detective) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error { return c.ListMembersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1462,14 +1459,13 @@ const opListOrganizationAdminAccounts = "ListOrganizationAdminAccounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOrganizationAdminAccountsRequest method. +// req, resp := client.ListOrganizationAdminAccountsRequest(params) // -// // Example sending a request using the ListOrganizationAdminAccountsRequest method. -// req, resp := client.ListOrganizationAdminAccountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListOrganizationAdminAccounts func (c *Detective) ListOrganizationAdminAccountsRequest(input *ListOrganizationAdminAccountsInput) (req *request.Request, output *ListOrganizationAdminAccountsOutput) { @@ -1507,15 +1503,16 @@ func (c *Detective) ListOrganizationAdminAccountsRequest(input *ListOrganization // API operation ListOrganizationAdminAccounts for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request was valid but failed because of a problem with the service. // -// * ValidationException -// The request parameters are invalid. +// - InternalServerException +// The request was valid but failed because of a problem with the service. +// +// - ValidationException +// The request parameters are invalid. // -// * TooManyRequestsException -// The request cannot be completed because too many other requests are occurring -// at the same time. +// - TooManyRequestsException +// The request cannot be completed because too many other requests are occurring +// at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListOrganizationAdminAccounts func (c *Detective) ListOrganizationAdminAccounts(input *ListOrganizationAdminAccountsInput) (*ListOrganizationAdminAccountsOutput, error) { @@ -1547,15 +1544,14 @@ func (c *Detective) ListOrganizationAdminAccountsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOrganizationAdminAccounts operation. -// pageNum := 0 -// err := client.ListOrganizationAdminAccountsPages(params, -// func(page *detective.ListOrganizationAdminAccountsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOrganizationAdminAccounts operation. +// pageNum := 0 +// err := client.ListOrganizationAdminAccountsPages(params, +// func(page *detective.ListOrganizationAdminAccountsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Detective) ListOrganizationAdminAccountsPages(input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool) error { return c.ListOrganizationAdminAccountsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1607,14 +1603,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListTagsForResource func (c *Detective) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1645,14 +1640,15 @@ func (c *Detective) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request was valid but failed because of a problem with the service. // -// * ValidationException -// The request parameters are invalid. +// - InternalServerException +// The request was valid but failed because of a problem with the service. // -// * ResourceNotFoundException -// The request refers to a nonexistent resource. +// - ValidationException +// The request parameters are invalid. +// +// - ResourceNotFoundException +// The request refers to a nonexistent resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListTagsForResource func (c *Detective) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1692,14 +1688,13 @@ const opRejectInvitation = "RejectInvitation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectInvitationRequest method. +// req, resp := client.RejectInvitationRequest(params) // -// // Example sending a request using the RejectInvitationRequest method. -// req, resp := client.RejectInvitationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/RejectInvitation func (c *Detective) RejectInvitationRequest(input *RejectInvitationInput) (req *request.Request, output *RejectInvitationOutput) { @@ -1737,17 +1732,18 @@ func (c *Detective) RejectInvitationRequest(input *RejectInvitationInput) (req * // API operation RejectInvitation for usage and error information. // // Returned Error Types: -// * ConflictException -// The request attempted an invalid action. // -// * InternalServerException -// The request was valid but failed because of a problem with the service. +// - ConflictException +// The request attempted an invalid action. +// +// - InternalServerException +// The request was valid but failed because of a problem with the service. // -// * ResourceNotFoundException -// The request refers to a nonexistent resource. +// - ResourceNotFoundException +// The request refers to a nonexistent resource. // -// * ValidationException -// The request parameters are invalid. +// - ValidationException +// The request parameters are invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/RejectInvitation func (c *Detective) RejectInvitation(input *RejectInvitationInput) (*RejectInvitationOutput, error) { @@ -1787,14 +1783,13 @@ const opStartMonitoringMember = "StartMonitoringMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMonitoringMemberRequest method. +// req, resp := client.StartMonitoringMemberRequest(params) // -// // Example sending a request using the StartMonitoringMemberRequest method. -// req, resp := client.StartMonitoringMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/StartMonitoringMember func (c *Detective) StartMonitoringMemberRequest(input *StartMonitoringMemberInput) (req *request.Request, output *StartMonitoringMemberOutput) { @@ -1821,9 +1816,9 @@ func (c *Detective) StartMonitoringMemberRequest(input *StartMonitoringMemberInp // // For valid member accounts, the status is updated as follows. // -// * If Detective enabled the member account, then the new status is ENABLED. +// - If Detective enabled the member account, then the new status is ENABLED. // -// * If Detective cannot enable the member account, the status remains ACCEPTED_BUT_DISABLED. +// - If Detective cannot enable the member account, the status remains ACCEPTED_BUT_DISABLED. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1833,30 +1828,31 @@ func (c *Detective) StartMonitoringMemberRequest(input *StartMonitoringMemberInp // API operation StartMonitoringMember for usage and error information. // // Returned Error Types: -// * ConflictException -// The request attempted an invalid action. // -// * InternalServerException -// The request was valid but failed because of a problem with the service. +// - ConflictException +// The request attempted an invalid action. +// +// - InternalServerException +// The request was valid but failed because of a problem with the service. // -// * ResourceNotFoundException -// The request refers to a nonexistent resource. +// - ResourceNotFoundException +// The request refers to a nonexistent resource. // -// * ServiceQuotaExceededException -// This request cannot be completed for one of the following reasons. +// - ServiceQuotaExceededException +// This request cannot be completed for one of the following reasons. // -// * The request would cause the number of member accounts in the behavior -// graph to exceed the maximum allowed. A behavior graph cannot have more -// than 1200 member accounts. +// - The request would cause the number of member accounts in the behavior +// graph to exceed the maximum allowed. A behavior graph cannot have more +// than 1200 member accounts. // -// * The request would cause the data rate for the behavior graph to exceed -// the maximum allowed. +// - The request would cause the data rate for the behavior graph to exceed +// the maximum allowed. // -// * Detective is unable to verify the data rate for the member account. -// This is usually because the member account is not enrolled in Amazon GuardDuty. +// - Detective is unable to verify the data rate for the member account. +// This is usually because the member account is not enrolled in Amazon GuardDuty. // -// * ValidationException -// The request parameters are invalid. +// - ValidationException +// The request parameters are invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/StartMonitoringMember func (c *Detective) StartMonitoringMember(input *StartMonitoringMemberInput) (*StartMonitoringMemberOutput, error) { @@ -1896,14 +1892,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/TagResource func (c *Detective) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1935,14 +1930,15 @@ func (c *Detective) TagResourceRequest(input *TagResourceInput) (req *request.Re // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request was valid but failed because of a problem with the service. // -// * ValidationException -// The request parameters are invalid. +// - InternalServerException +// The request was valid but failed because of a problem with the service. // -// * ResourceNotFoundException -// The request refers to a nonexistent resource. +// - ValidationException +// The request parameters are invalid. +// +// - ResourceNotFoundException +// The request refers to a nonexistent resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/TagResource func (c *Detective) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1982,14 +1978,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UntagResource func (c *Detective) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2021,14 +2016,15 @@ func (c *Detective) UntagResourceRequest(input *UntagResourceInput) (req *reques // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request was valid but failed because of a problem with the service. // -// * ValidationException -// The request parameters are invalid. +// - InternalServerException +// The request was valid but failed because of a problem with the service. +// +// - ValidationException +// The request parameters are invalid. // -// * ResourceNotFoundException -// The request refers to a nonexistent resource. +// - ResourceNotFoundException +// The request refers to a nonexistent resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UntagResource func (c *Detective) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2068,14 +2064,13 @@ const opUpdateOrganizationConfiguration = "UpdateOrganizationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateOrganizationConfigurationRequest method. +// req, resp := client.UpdateOrganizationConfigurationRequest(params) // -// // Example sending a request using the UpdateOrganizationConfigurationRequest method. -// req, resp := client.UpdateOrganizationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UpdateOrganizationConfiguration func (c *Detective) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput) { @@ -2109,15 +2104,16 @@ func (c *Detective) UpdateOrganizationConfigurationRequest(input *UpdateOrganiza // API operation UpdateOrganizationConfiguration for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request was valid but failed because of a problem with the service. // -// * ValidationException -// The request parameters are invalid. +// - InternalServerException +// The request was valid but failed because of a problem with the service. +// +// - ValidationException +// The request parameters are invalid. // -// * TooManyRequestsException -// The request cannot be completed because too many other requests are occurring -// at the same time. +// - TooManyRequestsException +// The request cannot be completed because too many other requests are occurring +// at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UpdateOrganizationConfiguration func (c *Detective) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error) { @@ -4142,15 +4138,15 @@ func (s *ResourceNotFoundException) RequestID() string { // This request cannot be completed for one of the following reasons. // -// * The request would cause the number of member accounts in the behavior -// graph to exceed the maximum allowed. A behavior graph cannot have more -// than 1200 member accounts. +// - The request would cause the number of member accounts in the behavior +// graph to exceed the maximum allowed. A behavior graph cannot have more +// than 1200 member accounts. // -// * The request would cause the data rate for the behavior graph to exceed -// the maximum allowed. +// - The request would cause the data rate for the behavior graph to exceed +// the maximum allowed. // -// * Detective is unable to verify the data rate for the member account. -// This is usually because the member account is not enrolled in Amazon GuardDuty. +// - Detective is unable to verify the data rate for the member account. +// This is usually because the member account is not enrolled in Amazon GuardDuty. type ServiceQuotaExceededException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/detectiveiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/detectiveiface/interface.go index 1b8e92aaa4d2..a6e7f88d23b0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/detectiveiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/detectiveiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Detective. -// func myFunc(svc detectiveiface.DetectiveAPI) bool { -// // Make svc.AcceptInvitation request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Detective. +// func myFunc(svc detectiveiface.DetectiveAPI) bool { +// // Make svc.AcceptInvitation request +// } // -// func main() { -// sess := session.New() -// svc := detective.New(sess) +// func main() { +// sess := session.New() +// svc := detective.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockDetectiveClient struct { -// detectiveiface.DetectiveAPI -// } -// func (m *mockDetectiveClient) AcceptInvitation(input *detective.AcceptInvitationInput) (*detective.AcceptInvitationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockDetectiveClient struct { +// detectiveiface.DetectiveAPI +// } +// func (m *mockDetectiveClient) AcceptInvitation(input *detective.AcceptInvitationInput) (*detective.AcceptInvitationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockDetectiveClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockDetectiveClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/doc.go index f1021c039c74..142002fcb0f3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/doc.go @@ -33,16 +33,16 @@ // The administrator account for a behavior graph can use the Detective API // to do the following: // -// * Enable and disable Detective. Enabling Detective creates a new behavior -// graph. +// - Enable and disable Detective. Enabling Detective creates a new behavior +// graph. // -// * View the list of member accounts in a behavior graph. +// - View the list of member accounts in a behavior graph. // -// * Add member accounts to a behavior graph. +// - Add member accounts to a behavior graph. // -// * Remove member accounts from a behavior graph. +// - Remove member accounts from a behavior graph. // -// * Apply tags to a behavior graph. +// - Apply tags to a behavior graph. // // The organization management account can use the Detective API to select the // delegated administrator for Detective. @@ -50,20 +50,20 @@ // The Detective administrator account for an organization can use the Detective // API to do the following: // -// * Perform all of the functions of an administrator account. +// - Perform all of the functions of an administrator account. // -// * Determine whether to automatically enable new organization accounts -// as member accounts in the organization behavior graph. +// - Determine whether to automatically enable new organization accounts +// as member accounts in the organization behavior graph. // // An invited member account can use the Detective API to do the following: // -// * View the list of behavior graphs that they are invited to. +// - View the list of behavior graphs that they are invited to. // -// * Accept an invitation to contribute to a behavior graph. +// - Accept an invitation to contribute to a behavior graph. // -// * Decline an invitation to contribute to a behavior graph. +// - Decline an invitation to contribute to a behavior graph. // -// * Remove their account from a behavior graph. +// - Remove their account from a behavior graph. // // All API actions are logged as CloudTrail events. See Logging Detective API // Calls with CloudTrail (https://docs.aws.amazon.com/detective/latest/adminguide/logging-using-cloudtrail.html). @@ -78,7 +78,7 @@ // See detective package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/detective/ // -// Using the Client +// # Using the Client // // To contact Amazon Detective with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/service.go index 8265b34971a1..41d8fa66f87d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/detective/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Detective client from just a session. -// svc := detective.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Detective client with additional configuration -// svc := detective.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Detective client from just a session. +// svc := detective.New(mySession) +// +// // Create a Detective client with additional configuration +// svc := detective.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Detective { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/api.go index b754a779a219..efcc7208cd7f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/api.go @@ -29,14 +29,13 @@ const opCreateDevicePool = "CreateDevicePool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDevicePoolRequest method. +// req, resp := client.CreateDevicePoolRequest(params) // -// // Example sending a request using the CreateDevicePoolRequest method. -// req, resp := client.CreateDevicePoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateDevicePool func (c *DeviceFarm) CreateDevicePoolRequest(input *CreateDevicePoolInput) (req *request.Request, output *CreateDevicePoolOutput) { @@ -67,17 +66,18 @@ func (c *DeviceFarm) CreateDevicePoolRequest(input *CreateDevicePoolInput) (req // API operation CreateDevicePool for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateDevicePool func (c *DeviceFarm) CreateDevicePool(input *CreateDevicePoolInput) (*CreateDevicePoolOutput, error) { @@ -117,14 +117,13 @@ const opCreateInstanceProfile = "CreateInstanceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInstanceProfileRequest method. +// req, resp := client.CreateInstanceProfileRequest(params) // -// // Example sending a request using the CreateInstanceProfileRequest method. -// req, resp := client.CreateInstanceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateInstanceProfile func (c *DeviceFarm) CreateInstanceProfileRequest(input *CreateInstanceProfileInput) (req *request.Request, output *CreateInstanceProfileOutput) { @@ -156,17 +155,18 @@ func (c *DeviceFarm) CreateInstanceProfileRequest(input *CreateInstanceProfileIn // API operation CreateInstanceProfile for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateInstanceProfile func (c *DeviceFarm) CreateInstanceProfile(input *CreateInstanceProfileInput) (*CreateInstanceProfileOutput, error) { @@ -206,14 +206,13 @@ const opCreateNetworkProfile = "CreateNetworkProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNetworkProfileRequest method. +// req, resp := client.CreateNetworkProfileRequest(params) // -// // Example sending a request using the CreateNetworkProfileRequest method. -// req, resp := client.CreateNetworkProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateNetworkProfile func (c *DeviceFarm) CreateNetworkProfileRequest(input *CreateNetworkProfileInput) (req *request.Request, output *CreateNetworkProfileOutput) { @@ -244,17 +243,18 @@ func (c *DeviceFarm) CreateNetworkProfileRequest(input *CreateNetworkProfileInpu // API operation CreateNetworkProfile for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateNetworkProfile func (c *DeviceFarm) CreateNetworkProfile(input *CreateNetworkProfileInput) (*CreateNetworkProfileOutput, error) { @@ -294,14 +294,13 @@ const opCreateProject = "CreateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProjectRequest method. +// req, resp := client.CreateProjectRequest(params) // -// // Example sending a request using the CreateProjectRequest method. -// req, resp := client.CreateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateProject func (c *DeviceFarm) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) { @@ -332,20 +331,21 @@ func (c *DeviceFarm) CreateProjectRequest(input *CreateProjectInput) (req *reque // API operation CreateProject for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // -// * TagOperationException -// The operation was not successful. Try again. +// - TagOperationException +// The operation was not successful. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateProject func (c *DeviceFarm) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) { @@ -385,14 +385,13 @@ const opCreateRemoteAccessSession = "CreateRemoteAccessSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRemoteAccessSessionRequest method. +// req, resp := client.CreateRemoteAccessSessionRequest(params) // -// // Example sending a request using the CreateRemoteAccessSessionRequest method. -// req, resp := client.CreateRemoteAccessSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSession func (c *DeviceFarm) CreateRemoteAccessSessionRequest(input *CreateRemoteAccessSessionInput) (req *request.Request, output *CreateRemoteAccessSessionOutput) { @@ -423,17 +422,18 @@ func (c *DeviceFarm) CreateRemoteAccessSessionRequest(input *CreateRemoteAccessS // API operation CreateRemoteAccessSession for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateRemoteAccessSession func (c *DeviceFarm) CreateRemoteAccessSession(input *CreateRemoteAccessSessionInput) (*CreateRemoteAccessSessionOutput, error) { @@ -473,14 +473,13 @@ const opCreateTestGridProject = "CreateTestGridProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTestGridProjectRequest method. +// req, resp := client.CreateTestGridProjectRequest(params) // -// // Example sending a request using the CreateTestGridProjectRequest method. -// req, resp := client.CreateTestGridProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateTestGridProject func (c *DeviceFarm) CreateTestGridProjectRequest(input *CreateTestGridProjectInput) (req *request.Request, output *CreateTestGridProjectOutput) { @@ -512,15 +511,16 @@ func (c *DeviceFarm) CreateTestGridProjectRequest(input *CreateTestGridProjectIn // API operation CreateTestGridProject for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - ArgumentException +// An invalid argument was specified. // -// * InternalServiceException -// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com -// (mailto:aws-devicefarm-support@amazon.com) if you see this error. +// - LimitExceededException +// A limit was exceeded. +// +// - InternalServiceException +// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com +// (mailto:aws-devicefarm-support@amazon.com) if you see this error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateTestGridProject func (c *DeviceFarm) CreateTestGridProject(input *CreateTestGridProjectInput) (*CreateTestGridProjectOutput, error) { @@ -560,14 +560,13 @@ const opCreateTestGridUrl = "CreateTestGridUrl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTestGridUrlRequest method. +// req, resp := client.CreateTestGridUrlRequest(params) // -// // Example sending a request using the CreateTestGridUrlRequest method. -// req, resp := client.CreateTestGridUrlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateTestGridUrl func (c *DeviceFarm) CreateTestGridUrlRequest(input *CreateTestGridUrlInput) (req *request.Request, output *CreateTestGridUrlOutput) { @@ -599,15 +598,16 @@ func (c *DeviceFarm) CreateTestGridUrlRequest(input *CreateTestGridUrlInput) (re // API operation CreateTestGridUrl for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified entity was not found. // -// * ArgumentException -// An invalid argument was specified. +// - NotFoundException +// The specified entity was not found. +// +// - ArgumentException +// An invalid argument was specified. // -// * InternalServiceException -// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com -// (mailto:aws-devicefarm-support@amazon.com) if you see this error. +// - InternalServiceException +// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com +// (mailto:aws-devicefarm-support@amazon.com) if you see this error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateTestGridUrl func (c *DeviceFarm) CreateTestGridUrl(input *CreateTestGridUrlInput) (*CreateTestGridUrlOutput, error) { @@ -647,14 +647,13 @@ const opCreateUpload = "CreateUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUploadRequest method. +// req, resp := client.CreateUploadRequest(params) // -// // Example sending a request using the CreateUploadRequest method. -// req, resp := client.CreateUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateUpload func (c *DeviceFarm) CreateUploadRequest(input *CreateUploadInput) (req *request.Request, output *CreateUploadOutput) { @@ -685,17 +684,18 @@ func (c *DeviceFarm) CreateUploadRequest(input *CreateUploadInput) (req *request // API operation CreateUpload for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateUpload func (c *DeviceFarm) CreateUpload(input *CreateUploadInput) (*CreateUploadOutput, error) { @@ -735,14 +735,13 @@ const opCreateVPCEConfiguration = "CreateVPCEConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVPCEConfigurationRequest method. +// req, resp := client.CreateVPCEConfigurationRequest(params) // -// // Example sending a request using the CreateVPCEConfigurationRequest method. -// req, resp := client.CreateVPCEConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateVPCEConfiguration func (c *DeviceFarm) CreateVPCEConfigurationRequest(input *CreateVPCEConfigurationInput) (req *request.Request, output *CreateVPCEConfigurationOutput) { @@ -774,14 +773,15 @@ func (c *DeviceFarm) CreateVPCEConfigurationRequest(input *CreateVPCEConfigurati // API operation CreateVPCEConfiguration for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - ArgumentException +// An invalid argument was specified. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/CreateVPCEConfiguration func (c *DeviceFarm) CreateVPCEConfiguration(input *CreateVPCEConfigurationInput) (*CreateVPCEConfigurationOutput, error) { @@ -821,14 +821,13 @@ const opDeleteDevicePool = "DeleteDevicePool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDevicePoolRequest method. +// req, resp := client.DeleteDevicePoolRequest(params) // -// // Example sending a request using the DeleteDevicePoolRequest method. -// req, resp := client.DeleteDevicePoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteDevicePool func (c *DeviceFarm) DeleteDevicePoolRequest(input *DeleteDevicePoolInput) (req *request.Request, output *DeleteDevicePoolOutput) { @@ -861,17 +860,18 @@ func (c *DeviceFarm) DeleteDevicePoolRequest(input *DeleteDevicePoolInput) (req // API operation DeleteDevicePool for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteDevicePool func (c *DeviceFarm) DeleteDevicePool(input *DeleteDevicePoolInput) (*DeleteDevicePoolOutput, error) { @@ -911,14 +911,13 @@ const opDeleteInstanceProfile = "DeleteInstanceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInstanceProfileRequest method. +// req, resp := client.DeleteInstanceProfileRequest(params) // -// // Example sending a request using the DeleteInstanceProfileRequest method. -// req, resp := client.DeleteInstanceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteInstanceProfile func (c *DeviceFarm) DeleteInstanceProfileRequest(input *DeleteInstanceProfileInput) (req *request.Request, output *DeleteInstanceProfileOutput) { @@ -950,17 +949,18 @@ func (c *DeviceFarm) DeleteInstanceProfileRequest(input *DeleteInstanceProfileIn // API operation DeleteInstanceProfile for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteInstanceProfile func (c *DeviceFarm) DeleteInstanceProfile(input *DeleteInstanceProfileInput) (*DeleteInstanceProfileOutput, error) { @@ -1000,14 +1000,13 @@ const opDeleteNetworkProfile = "DeleteNetworkProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNetworkProfileRequest method. +// req, resp := client.DeleteNetworkProfileRequest(params) // -// // Example sending a request using the DeleteNetworkProfileRequest method. -// req, resp := client.DeleteNetworkProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteNetworkProfile func (c *DeviceFarm) DeleteNetworkProfileRequest(input *DeleteNetworkProfileInput) (req *request.Request, output *DeleteNetworkProfileOutput) { @@ -1039,17 +1038,18 @@ func (c *DeviceFarm) DeleteNetworkProfileRequest(input *DeleteNetworkProfileInpu // API operation DeleteNetworkProfile for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteNetworkProfile func (c *DeviceFarm) DeleteNetworkProfile(input *DeleteNetworkProfileInput) (*DeleteNetworkProfileOutput, error) { @@ -1089,14 +1089,13 @@ const opDeleteProject = "DeleteProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProjectRequest method. +// req, resp := client.DeleteProjectRequest(params) // -// // Example sending a request using the DeleteProjectRequest method. -// req, resp := client.DeleteProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteProject func (c *DeviceFarm) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) { @@ -1130,17 +1129,18 @@ func (c *DeviceFarm) DeleteProjectRequest(input *DeleteProjectInput) (req *reque // API operation DeleteProject for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteProject func (c *DeviceFarm) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) { @@ -1180,14 +1180,13 @@ const opDeleteRemoteAccessSession = "DeleteRemoteAccessSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRemoteAccessSessionRequest method. +// req, resp := client.DeleteRemoteAccessSessionRequest(params) // -// // Example sending a request using the DeleteRemoteAccessSessionRequest method. -// req, resp := client.DeleteRemoteAccessSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRemoteAccessSession func (c *DeviceFarm) DeleteRemoteAccessSessionRequest(input *DeleteRemoteAccessSessionInput) (req *request.Request, output *DeleteRemoteAccessSessionOutput) { @@ -1219,17 +1218,18 @@ func (c *DeviceFarm) DeleteRemoteAccessSessionRequest(input *DeleteRemoteAccessS // API operation DeleteRemoteAccessSession for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRemoteAccessSession func (c *DeviceFarm) DeleteRemoteAccessSession(input *DeleteRemoteAccessSessionInput) (*DeleteRemoteAccessSessionOutput, error) { @@ -1269,14 +1269,13 @@ const opDeleteRun = "DeleteRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRunRequest method. +// req, resp := client.DeleteRunRequest(params) // -// // Example sending a request using the DeleteRunRequest method. -// req, resp := client.DeleteRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRun func (c *DeviceFarm) DeleteRunRequest(input *DeleteRunInput) (req *request.Request, output *DeleteRunOutput) { @@ -1310,17 +1309,18 @@ func (c *DeviceFarm) DeleteRunRequest(input *DeleteRunInput) (req *request.Reque // API operation DeleteRun for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteRun func (c *DeviceFarm) DeleteRun(input *DeleteRunInput) (*DeleteRunOutput, error) { @@ -1360,14 +1360,13 @@ const opDeleteTestGridProject = "DeleteTestGridProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTestGridProjectRequest method. +// req, resp := client.DeleteTestGridProjectRequest(params) // -// // Example sending a request using the DeleteTestGridProjectRequest method. -// req, resp := client.DeleteTestGridProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteTestGridProject func (c *DeviceFarm) DeleteTestGridProjectRequest(input *DeleteTestGridProjectInput) (req *request.Request, output *DeleteTestGridProjectOutput) { @@ -1403,18 +1402,19 @@ func (c *DeviceFarm) DeleteTestGridProjectRequest(input *DeleteTestGridProjectIn // API operation DeleteTestGridProject for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified entity was not found. // -// * ArgumentException -// An invalid argument was specified. +// - NotFoundException +// The specified entity was not found. // -// * CannotDeleteException -// The requested object could not be deleted. +// - ArgumentException +// An invalid argument was specified. // -// * InternalServiceException -// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com -// (mailto:aws-devicefarm-support@amazon.com) if you see this error. +// - CannotDeleteException +// The requested object could not be deleted. +// +// - InternalServiceException +// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com +// (mailto:aws-devicefarm-support@amazon.com) if you see this error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteTestGridProject func (c *DeviceFarm) DeleteTestGridProject(input *DeleteTestGridProjectInput) (*DeleteTestGridProjectOutput, error) { @@ -1454,14 +1454,13 @@ const opDeleteUpload = "DeleteUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUploadRequest method. +// req, resp := client.DeleteUploadRequest(params) // -// // Example sending a request using the DeleteUploadRequest method. -// req, resp := client.DeleteUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteUpload func (c *DeviceFarm) DeleteUploadRequest(input *DeleteUploadInput) (req *request.Request, output *DeleteUploadOutput) { @@ -1493,17 +1492,18 @@ func (c *DeviceFarm) DeleteUploadRequest(input *DeleteUploadInput) (req *request // API operation DeleteUpload for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteUpload func (c *DeviceFarm) DeleteUpload(input *DeleteUploadInput) (*DeleteUploadOutput, error) { @@ -1543,14 +1543,13 @@ const opDeleteVPCEConfiguration = "DeleteVPCEConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVPCEConfigurationRequest method. +// req, resp := client.DeleteVPCEConfigurationRequest(params) // -// // Example sending a request using the DeleteVPCEConfigurationRequest method. -// req, resp := client.DeleteVPCEConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteVPCEConfiguration func (c *DeviceFarm) DeleteVPCEConfigurationRequest(input *DeleteVPCEConfigurationInput) (req *request.Request, output *DeleteVPCEConfigurationOutput) { @@ -1582,18 +1581,19 @@ func (c *DeviceFarm) DeleteVPCEConfigurationRequest(input *DeleteVPCEConfigurati // API operation DeleteVPCEConfiguration for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // -// * InvalidOperationException -// There was an error with the update request, or you do not have sufficient -// permissions to update this VPC endpoint configuration. +// - InvalidOperationException +// There was an error with the update request, or you do not have sufficient +// permissions to update this VPC endpoint configuration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/DeleteVPCEConfiguration func (c *DeviceFarm) DeleteVPCEConfiguration(input *DeleteVPCEConfigurationInput) (*DeleteVPCEConfigurationOutput, error) { @@ -1633,14 +1633,13 @@ const opGetAccountSettings = "GetAccountSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountSettingsRequest method. +// req, resp := client.GetAccountSettingsRequest(params) // -// // Example sending a request using the GetAccountSettingsRequest method. -// req, resp := client.GetAccountSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetAccountSettings func (c *DeviceFarm) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req *request.Request, output *GetAccountSettingsOutput) { @@ -1672,17 +1671,18 @@ func (c *DeviceFarm) GetAccountSettingsRequest(input *GetAccountSettingsInput) ( // API operation GetAccountSettings for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetAccountSettings func (c *DeviceFarm) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error) { @@ -1722,14 +1722,13 @@ const opGetDevice = "GetDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeviceRequest method. +// req, resp := client.GetDeviceRequest(params) // -// // Example sending a request using the GetDeviceRequest method. -// req, resp := client.GetDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevice func (c *DeviceFarm) GetDeviceRequest(input *GetDeviceInput) (req *request.Request, output *GetDeviceOutput) { @@ -1760,17 +1759,18 @@ func (c *DeviceFarm) GetDeviceRequest(input *GetDeviceInput) (req *request.Reque // API operation GetDevice for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevice func (c *DeviceFarm) GetDevice(input *GetDeviceInput) (*GetDeviceOutput, error) { @@ -1810,14 +1810,13 @@ const opGetDeviceInstance = "GetDeviceInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeviceInstanceRequest method. +// req, resp := client.GetDeviceInstanceRequest(params) // -// // Example sending a request using the GetDeviceInstanceRequest method. -// req, resp := client.GetDeviceInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDeviceInstance func (c *DeviceFarm) GetDeviceInstanceRequest(input *GetDeviceInstanceInput) (req *request.Request, output *GetDeviceInstanceOutput) { @@ -1849,17 +1848,18 @@ func (c *DeviceFarm) GetDeviceInstanceRequest(input *GetDeviceInstanceInput) (re // API operation GetDeviceInstance for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDeviceInstance func (c *DeviceFarm) GetDeviceInstance(input *GetDeviceInstanceInput) (*GetDeviceInstanceOutput, error) { @@ -1899,14 +1899,13 @@ const opGetDevicePool = "GetDevicePool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDevicePoolRequest method. +// req, resp := client.GetDevicePoolRequest(params) // -// // Example sending a request using the GetDevicePoolRequest method. -// req, resp := client.GetDevicePoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePool func (c *DeviceFarm) GetDevicePoolRequest(input *GetDevicePoolInput) (req *request.Request, output *GetDevicePoolOutput) { @@ -1937,17 +1936,18 @@ func (c *DeviceFarm) GetDevicePoolRequest(input *GetDevicePoolInput) (req *reque // API operation GetDevicePool for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePool func (c *DeviceFarm) GetDevicePool(input *GetDevicePoolInput) (*GetDevicePoolOutput, error) { @@ -1987,14 +1987,13 @@ const opGetDevicePoolCompatibility = "GetDevicePoolCompatibility" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDevicePoolCompatibilityRequest method. +// req, resp := client.GetDevicePoolCompatibilityRequest(params) // -// // Example sending a request using the GetDevicePoolCompatibilityRequest method. -// req, resp := client.GetDevicePoolCompatibilityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolCompatibility func (c *DeviceFarm) GetDevicePoolCompatibilityRequest(input *GetDevicePoolCompatibilityInput) (req *request.Request, output *GetDevicePoolCompatibilityOutput) { @@ -2025,17 +2024,18 @@ func (c *DeviceFarm) GetDevicePoolCompatibilityRequest(input *GetDevicePoolCompa // API operation GetDevicePoolCompatibility for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetDevicePoolCompatibility func (c *DeviceFarm) GetDevicePoolCompatibility(input *GetDevicePoolCompatibilityInput) (*GetDevicePoolCompatibilityOutput, error) { @@ -2075,14 +2075,13 @@ const opGetInstanceProfile = "GetInstanceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInstanceProfileRequest method. +// req, resp := client.GetInstanceProfileRequest(params) // -// // Example sending a request using the GetInstanceProfileRequest method. -// req, resp := client.GetInstanceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetInstanceProfile func (c *DeviceFarm) GetInstanceProfileRequest(input *GetInstanceProfileInput) (req *request.Request, output *GetInstanceProfileOutput) { @@ -2113,17 +2112,18 @@ func (c *DeviceFarm) GetInstanceProfileRequest(input *GetInstanceProfileInput) ( // API operation GetInstanceProfile for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetInstanceProfile func (c *DeviceFarm) GetInstanceProfile(input *GetInstanceProfileInput) (*GetInstanceProfileOutput, error) { @@ -2163,14 +2163,13 @@ const opGetJob = "GetJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobRequest method. +// req, resp := client.GetJobRequest(params) // -// // Example sending a request using the GetJobRequest method. -// req, resp := client.GetJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetJob func (c *DeviceFarm) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput) { @@ -2201,17 +2200,18 @@ func (c *DeviceFarm) GetJobRequest(input *GetJobInput) (req *request.Request, ou // API operation GetJob for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetJob func (c *DeviceFarm) GetJob(input *GetJobInput) (*GetJobOutput, error) { @@ -2251,14 +2251,13 @@ const opGetNetworkProfile = "GetNetworkProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNetworkProfileRequest method. +// req, resp := client.GetNetworkProfileRequest(params) // -// // Example sending a request using the GetNetworkProfileRequest method. -// req, resp := client.GetNetworkProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetNetworkProfile func (c *DeviceFarm) GetNetworkProfileRequest(input *GetNetworkProfileInput) (req *request.Request, output *GetNetworkProfileOutput) { @@ -2289,17 +2288,18 @@ func (c *DeviceFarm) GetNetworkProfileRequest(input *GetNetworkProfileInput) (re // API operation GetNetworkProfile for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetNetworkProfile func (c *DeviceFarm) GetNetworkProfile(input *GetNetworkProfileInput) (*GetNetworkProfileOutput, error) { @@ -2339,14 +2339,13 @@ const opGetOfferingStatus = "GetOfferingStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOfferingStatusRequest method. +// req, resp := client.GetOfferingStatusRequest(params) // -// // Example sending a request using the GetOfferingStatusRequest method. -// req, resp := client.GetOfferingStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetOfferingStatus func (c *DeviceFarm) GetOfferingStatusRequest(input *GetOfferingStatusInput) (req *request.Request, output *GetOfferingStatusOutput) { @@ -2388,21 +2387,22 @@ func (c *DeviceFarm) GetOfferingStatusRequest(input *GetOfferingStatusInput) (re // API operation GetOfferingStatus for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * NotEligibleException -// Exception gets thrown when a user is not eligible to perform the specified -// transaction. +// - NotEligibleException +// Exception gets thrown when a user is not eligible to perform the specified +// transaction. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetOfferingStatus func (c *DeviceFarm) GetOfferingStatus(input *GetOfferingStatusInput) (*GetOfferingStatusOutput, error) { @@ -2434,15 +2434,14 @@ func (c *DeviceFarm) GetOfferingStatusWithContext(ctx aws.Context, input *GetOff // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetOfferingStatus operation. -// pageNum := 0 -// err := client.GetOfferingStatusPages(params, -// func(page *devicefarm.GetOfferingStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetOfferingStatus operation. +// pageNum := 0 +// err := client.GetOfferingStatusPages(params, +// func(page *devicefarm.GetOfferingStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) GetOfferingStatusPages(input *GetOfferingStatusInput, fn func(*GetOfferingStatusOutput, bool) bool) error { return c.GetOfferingStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2494,14 +2493,13 @@ const opGetProject = "GetProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetProjectRequest method. +// req, resp := client.GetProjectRequest(params) // -// // Example sending a request using the GetProjectRequest method. -// req, resp := client.GetProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetProject func (c *DeviceFarm) GetProjectRequest(input *GetProjectInput) (req *request.Request, output *GetProjectOutput) { @@ -2532,17 +2530,18 @@ func (c *DeviceFarm) GetProjectRequest(input *GetProjectInput) (req *request.Req // API operation GetProject for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetProject func (c *DeviceFarm) GetProject(input *GetProjectInput) (*GetProjectOutput, error) { @@ -2582,14 +2581,13 @@ const opGetRemoteAccessSession = "GetRemoteAccessSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRemoteAccessSessionRequest method. +// req, resp := client.GetRemoteAccessSessionRequest(params) // -// // Example sending a request using the GetRemoteAccessSessionRequest method. -// req, resp := client.GetRemoteAccessSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRemoteAccessSession func (c *DeviceFarm) GetRemoteAccessSessionRequest(input *GetRemoteAccessSessionInput) (req *request.Request, output *GetRemoteAccessSessionOutput) { @@ -2620,17 +2618,18 @@ func (c *DeviceFarm) GetRemoteAccessSessionRequest(input *GetRemoteAccessSession // API operation GetRemoteAccessSession for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRemoteAccessSession func (c *DeviceFarm) GetRemoteAccessSession(input *GetRemoteAccessSessionInput) (*GetRemoteAccessSessionOutput, error) { @@ -2670,14 +2669,13 @@ const opGetRun = "GetRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRunRequest method. +// req, resp := client.GetRunRequest(params) // -// // Example sending a request using the GetRunRequest method. -// req, resp := client.GetRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRun func (c *DeviceFarm) GetRunRequest(input *GetRunInput) (req *request.Request, output *GetRunOutput) { @@ -2708,17 +2706,18 @@ func (c *DeviceFarm) GetRunRequest(input *GetRunInput) (req *request.Request, ou // API operation GetRun for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetRun func (c *DeviceFarm) GetRun(input *GetRunInput) (*GetRunOutput, error) { @@ -2758,14 +2757,13 @@ const opGetSuite = "GetSuite" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSuiteRequest method. +// req, resp := client.GetSuiteRequest(params) // -// // Example sending a request using the GetSuiteRequest method. -// req, resp := client.GetSuiteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetSuite func (c *DeviceFarm) GetSuiteRequest(input *GetSuiteInput) (req *request.Request, output *GetSuiteOutput) { @@ -2796,17 +2794,18 @@ func (c *DeviceFarm) GetSuiteRequest(input *GetSuiteInput) (req *request.Request // API operation GetSuite for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetSuite func (c *DeviceFarm) GetSuite(input *GetSuiteInput) (*GetSuiteOutput, error) { @@ -2846,14 +2845,13 @@ const opGetTest = "GetTest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTestRequest method. +// req, resp := client.GetTestRequest(params) // -// // Example sending a request using the GetTestRequest method. -// req, resp := client.GetTestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTest func (c *DeviceFarm) GetTestRequest(input *GetTestInput) (req *request.Request, output *GetTestOutput) { @@ -2884,17 +2882,18 @@ func (c *DeviceFarm) GetTestRequest(input *GetTestInput) (req *request.Request, // API operation GetTest for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTest func (c *DeviceFarm) GetTest(input *GetTestInput) (*GetTestOutput, error) { @@ -2934,14 +2933,13 @@ const opGetTestGridProject = "GetTestGridProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTestGridProjectRequest method. +// req, resp := client.GetTestGridProjectRequest(params) // -// // Example sending a request using the GetTestGridProjectRequest method. -// req, resp := client.GetTestGridProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTestGridProject func (c *DeviceFarm) GetTestGridProjectRequest(input *GetTestGridProjectInput) (req *request.Request, output *GetTestGridProjectOutput) { @@ -2972,15 +2970,16 @@ func (c *DeviceFarm) GetTestGridProjectRequest(input *GetTestGridProjectInput) ( // API operation GetTestGridProject for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified entity was not found. // -// * ArgumentException -// An invalid argument was specified. +// - NotFoundException +// The specified entity was not found. +// +// - ArgumentException +// An invalid argument was specified. // -// * InternalServiceException -// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com -// (mailto:aws-devicefarm-support@amazon.com) if you see this error. +// - InternalServiceException +// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com +// (mailto:aws-devicefarm-support@amazon.com) if you see this error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTestGridProject func (c *DeviceFarm) GetTestGridProject(input *GetTestGridProjectInput) (*GetTestGridProjectOutput, error) { @@ -3020,14 +3019,13 @@ const opGetTestGridSession = "GetTestGridSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTestGridSessionRequest method. +// req, resp := client.GetTestGridSessionRequest(params) // -// // Example sending a request using the GetTestGridSessionRequest method. -// req, resp := client.GetTestGridSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTestGridSession func (c *DeviceFarm) GetTestGridSessionRequest(input *GetTestGridSessionInput) (req *request.Request, output *GetTestGridSessionOutput) { @@ -3052,10 +3050,10 @@ func (c *DeviceFarm) GetTestGridSessionRequest(input *GetTestGridSessionInput) ( // the URL from CreateTestGridUrlResult$url. You can use the following to look // up sessions: // -// * The session ARN (GetTestGridSessionRequest$sessionArn). +// - The session ARN (GetTestGridSessionRequest$sessionArn). // -// * The project ARN and a session ID (GetTestGridSessionRequest$projectArn -// and GetTestGridSessionRequest$sessionId). +// - The project ARN and a session ID (GetTestGridSessionRequest$projectArn +// and GetTestGridSessionRequest$sessionId). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3065,15 +3063,16 @@ func (c *DeviceFarm) GetTestGridSessionRequest(input *GetTestGridSessionInput) ( // API operation GetTestGridSession for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified entity was not found. // -// * ArgumentException -// An invalid argument was specified. +// - NotFoundException +// The specified entity was not found. // -// * InternalServiceException -// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com -// (mailto:aws-devicefarm-support@amazon.com) if you see this error. +// - ArgumentException +// An invalid argument was specified. +// +// - InternalServiceException +// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com +// (mailto:aws-devicefarm-support@amazon.com) if you see this error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetTestGridSession func (c *DeviceFarm) GetTestGridSession(input *GetTestGridSessionInput) (*GetTestGridSessionOutput, error) { @@ -3113,14 +3112,13 @@ const opGetUpload = "GetUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUploadRequest method. +// req, resp := client.GetUploadRequest(params) // -// // Example sending a request using the GetUploadRequest method. -// req, resp := client.GetUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetUpload func (c *DeviceFarm) GetUploadRequest(input *GetUploadInput) (req *request.Request, output *GetUploadOutput) { @@ -3151,17 +3149,18 @@ func (c *DeviceFarm) GetUploadRequest(input *GetUploadInput) (req *request.Reque // API operation GetUpload for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetUpload func (c *DeviceFarm) GetUpload(input *GetUploadInput) (*GetUploadOutput, error) { @@ -3201,14 +3200,13 @@ const opGetVPCEConfiguration = "GetVPCEConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVPCEConfigurationRequest method. +// req, resp := client.GetVPCEConfigurationRequest(params) // -// // Example sending a request using the GetVPCEConfigurationRequest method. -// req, resp := client.GetVPCEConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetVPCEConfiguration func (c *DeviceFarm) GetVPCEConfigurationRequest(input *GetVPCEConfigurationInput) (req *request.Request, output *GetVPCEConfigurationOutput) { @@ -3240,14 +3238,15 @@ func (c *DeviceFarm) GetVPCEConfigurationRequest(input *GetVPCEConfigurationInpu // API operation GetVPCEConfiguration for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetVPCEConfiguration func (c *DeviceFarm) GetVPCEConfiguration(input *GetVPCEConfigurationInput) (*GetVPCEConfigurationOutput, error) { @@ -3287,14 +3286,13 @@ const opInstallToRemoteAccessSession = "InstallToRemoteAccessSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InstallToRemoteAccessSessionRequest method. +// req, resp := client.InstallToRemoteAccessSessionRequest(params) // -// // Example sending a request using the InstallToRemoteAccessSessionRequest method. -// req, resp := client.InstallToRemoteAccessSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/InstallToRemoteAccessSession func (c *DeviceFarm) InstallToRemoteAccessSessionRequest(input *InstallToRemoteAccessSessionInput) (req *request.Request, output *InstallToRemoteAccessSessionOutput) { @@ -3327,17 +3325,18 @@ func (c *DeviceFarm) InstallToRemoteAccessSessionRequest(input *InstallToRemoteA // API operation InstallToRemoteAccessSession for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/InstallToRemoteAccessSession func (c *DeviceFarm) InstallToRemoteAccessSession(input *InstallToRemoteAccessSessionInput) (*InstallToRemoteAccessSessionOutput, error) { @@ -3377,14 +3376,13 @@ const opListArtifacts = "ListArtifacts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListArtifactsRequest method. +// req, resp := client.ListArtifactsRequest(params) // -// // Example sending a request using the ListArtifactsRequest method. -// req, resp := client.ListArtifactsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListArtifacts func (c *DeviceFarm) ListArtifactsRequest(input *ListArtifactsInput) (req *request.Request, output *ListArtifactsOutput) { @@ -3421,17 +3419,18 @@ func (c *DeviceFarm) ListArtifactsRequest(input *ListArtifactsInput) (req *reque // API operation ListArtifacts for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListArtifacts func (c *DeviceFarm) ListArtifacts(input *ListArtifactsInput) (*ListArtifactsOutput, error) { @@ -3463,15 +3462,14 @@ func (c *DeviceFarm) ListArtifactsWithContext(ctx aws.Context, input *ListArtifa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListArtifacts operation. -// pageNum := 0 -// err := client.ListArtifactsPages(params, -// func(page *devicefarm.ListArtifactsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListArtifacts operation. +// pageNum := 0 +// err := client.ListArtifactsPages(params, +// func(page *devicefarm.ListArtifactsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListArtifactsPages(input *ListArtifactsInput, fn func(*ListArtifactsOutput, bool) bool) error { return c.ListArtifactsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3523,14 +3521,13 @@ const opListDeviceInstances = "ListDeviceInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeviceInstancesRequest method. +// req, resp := client.ListDeviceInstancesRequest(params) // -// // Example sending a request using the ListDeviceInstancesRequest method. -// req, resp := client.ListDeviceInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDeviceInstances func (c *DeviceFarm) ListDeviceInstancesRequest(input *ListDeviceInstancesInput) (req *request.Request, output *ListDeviceInstancesOutput) { @@ -3562,17 +3559,18 @@ func (c *DeviceFarm) ListDeviceInstancesRequest(input *ListDeviceInstancesInput) // API operation ListDeviceInstances for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDeviceInstances func (c *DeviceFarm) ListDeviceInstances(input *ListDeviceInstancesInput) (*ListDeviceInstancesOutput, error) { @@ -3612,14 +3610,13 @@ const opListDevicePools = "ListDevicePools" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDevicePoolsRequest method. +// req, resp := client.ListDevicePoolsRequest(params) // -// // Example sending a request using the ListDevicePoolsRequest method. -// req, resp := client.ListDevicePoolsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicePools func (c *DeviceFarm) ListDevicePoolsRequest(input *ListDevicePoolsInput) (req *request.Request, output *ListDevicePoolsOutput) { @@ -3656,17 +3653,18 @@ func (c *DeviceFarm) ListDevicePoolsRequest(input *ListDevicePoolsInput) (req *r // API operation ListDevicePools for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevicePools func (c *DeviceFarm) ListDevicePools(input *ListDevicePoolsInput) (*ListDevicePoolsOutput, error) { @@ -3698,15 +3696,14 @@ func (c *DeviceFarm) ListDevicePoolsWithContext(ctx aws.Context, input *ListDevi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDevicePools operation. -// pageNum := 0 -// err := client.ListDevicePoolsPages(params, -// func(page *devicefarm.ListDevicePoolsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDevicePools operation. +// pageNum := 0 +// err := client.ListDevicePoolsPages(params, +// func(page *devicefarm.ListDevicePoolsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListDevicePoolsPages(input *ListDevicePoolsInput, fn func(*ListDevicePoolsOutput, bool) bool) error { return c.ListDevicePoolsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3758,14 +3755,13 @@ const opListDevices = "ListDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDevicesRequest method. +// req, resp := client.ListDevicesRequest(params) // -// // Example sending a request using the ListDevicesRequest method. -// req, resp := client.ListDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevices func (c *DeviceFarm) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput) { @@ -3802,17 +3798,18 @@ func (c *DeviceFarm) ListDevicesRequest(input *ListDevicesInput) (req *request.R // API operation ListDevices for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListDevices func (c *DeviceFarm) ListDevices(input *ListDevicesInput) (*ListDevicesOutput, error) { @@ -3844,15 +3841,14 @@ func (c *DeviceFarm) ListDevicesWithContext(ctx aws.Context, input *ListDevicesI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDevices operation. -// pageNum := 0 -// err := client.ListDevicesPages(params, -// func(page *devicefarm.ListDevicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDevices operation. +// pageNum := 0 +// err := client.ListDevicesPages(params, +// func(page *devicefarm.ListDevicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListDevicesPages(input *ListDevicesInput, fn func(*ListDevicesOutput, bool) bool) error { return c.ListDevicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3904,14 +3900,13 @@ const opListInstanceProfiles = "ListInstanceProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInstanceProfilesRequest method. +// req, resp := client.ListInstanceProfilesRequest(params) // -// // Example sending a request using the ListInstanceProfilesRequest method. -// req, resp := client.ListInstanceProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListInstanceProfiles func (c *DeviceFarm) ListInstanceProfilesRequest(input *ListInstanceProfilesInput) (req *request.Request, output *ListInstanceProfilesOutput) { @@ -3942,17 +3937,18 @@ func (c *DeviceFarm) ListInstanceProfilesRequest(input *ListInstanceProfilesInpu // API operation ListInstanceProfiles for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListInstanceProfiles func (c *DeviceFarm) ListInstanceProfiles(input *ListInstanceProfilesInput) (*ListInstanceProfilesOutput, error) { @@ -3992,14 +3988,13 @@ const opListJobs = "ListJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobsRequest method. +// req, resp := client.ListJobsRequest(params) // -// // Example sending a request using the ListJobsRequest method. -// req, resp := client.ListJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListJobs func (c *DeviceFarm) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { @@ -4036,17 +4031,18 @@ func (c *DeviceFarm) ListJobsRequest(input *ListJobsInput) (req *request.Request // API operation ListJobs for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListJobs func (c *DeviceFarm) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { @@ -4078,15 +4074,14 @@ func (c *DeviceFarm) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobs operation. -// pageNum := 0 -// err := client.ListJobsPages(params, -// func(page *devicefarm.ListJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobs operation. +// pageNum := 0 +// err := client.ListJobsPages(params, +// func(page *devicefarm.ListJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error { return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4138,14 +4133,13 @@ const opListNetworkProfiles = "ListNetworkProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNetworkProfilesRequest method. +// req, resp := client.ListNetworkProfilesRequest(params) // -// // Example sending a request using the ListNetworkProfilesRequest method. -// req, resp := client.ListNetworkProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListNetworkProfiles func (c *DeviceFarm) ListNetworkProfilesRequest(input *ListNetworkProfilesInput) (req *request.Request, output *ListNetworkProfilesOutput) { @@ -4176,17 +4170,18 @@ func (c *DeviceFarm) ListNetworkProfilesRequest(input *ListNetworkProfilesInput) // API operation ListNetworkProfiles for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListNetworkProfiles func (c *DeviceFarm) ListNetworkProfiles(input *ListNetworkProfilesInput) (*ListNetworkProfilesOutput, error) { @@ -4226,14 +4221,13 @@ const opListOfferingPromotions = "ListOfferingPromotions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOfferingPromotionsRequest method. +// req, resp := client.ListOfferingPromotionsRequest(params) // -// // Example sending a request using the ListOfferingPromotionsRequest method. -// req, resp := client.ListOfferingPromotionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingPromotions func (c *DeviceFarm) ListOfferingPromotionsRequest(input *ListOfferingPromotionsInput) (req *request.Request, output *ListOfferingPromotionsOutput) { @@ -4268,21 +4262,22 @@ func (c *DeviceFarm) ListOfferingPromotionsRequest(input *ListOfferingPromotions // API operation ListOfferingPromotions for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * NotEligibleException -// Exception gets thrown when a user is not eligible to perform the specified -// transaction. +// - NotEligibleException +// Exception gets thrown when a user is not eligible to perform the specified +// transaction. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingPromotions func (c *DeviceFarm) ListOfferingPromotions(input *ListOfferingPromotionsInput) (*ListOfferingPromotionsOutput, error) { @@ -4322,14 +4317,13 @@ const opListOfferingTransactions = "ListOfferingTransactions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOfferingTransactionsRequest method. +// req, resp := client.ListOfferingTransactionsRequest(params) // -// // Example sending a request using the ListOfferingTransactionsRequest method. -// req, resp := client.ListOfferingTransactionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingTransactions func (c *DeviceFarm) ListOfferingTransactionsRequest(input *ListOfferingTransactionsInput) (req *request.Request, output *ListOfferingTransactionsOutput) { @@ -4371,21 +4365,22 @@ func (c *DeviceFarm) ListOfferingTransactionsRequest(input *ListOfferingTransact // API operation ListOfferingTransactions for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * NotEligibleException -// Exception gets thrown when a user is not eligible to perform the specified -// transaction. +// - NotEligibleException +// Exception gets thrown when a user is not eligible to perform the specified +// transaction. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingTransactions func (c *DeviceFarm) ListOfferingTransactions(input *ListOfferingTransactionsInput) (*ListOfferingTransactionsOutput, error) { @@ -4417,15 +4412,14 @@ func (c *DeviceFarm) ListOfferingTransactionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOfferingTransactions operation. -// pageNum := 0 -// err := client.ListOfferingTransactionsPages(params, -// func(page *devicefarm.ListOfferingTransactionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOfferingTransactions operation. +// pageNum := 0 +// err := client.ListOfferingTransactionsPages(params, +// func(page *devicefarm.ListOfferingTransactionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListOfferingTransactionsPages(input *ListOfferingTransactionsInput, fn func(*ListOfferingTransactionsOutput, bool) bool) error { return c.ListOfferingTransactionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4477,14 +4471,13 @@ const opListOfferings = "ListOfferings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOfferingsRequest method. +// req, resp := client.ListOfferingsRequest(params) // -// // Example sending a request using the ListOfferingsRequest method. -// req, resp := client.ListOfferingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferings func (c *DeviceFarm) ListOfferingsRequest(input *ListOfferingsInput) (req *request.Request, output *ListOfferingsOutput) { @@ -4525,21 +4518,22 @@ func (c *DeviceFarm) ListOfferingsRequest(input *ListOfferingsInput) (req *reque // API operation ListOfferings for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * NotEligibleException -// Exception gets thrown when a user is not eligible to perform the specified -// transaction. +// - NotEligibleException +// Exception gets thrown when a user is not eligible to perform the specified +// transaction. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferings func (c *DeviceFarm) ListOfferings(input *ListOfferingsInput) (*ListOfferingsOutput, error) { @@ -4571,15 +4565,14 @@ func (c *DeviceFarm) ListOfferingsWithContext(ctx aws.Context, input *ListOfferi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOfferings operation. -// pageNum := 0 -// err := client.ListOfferingsPages(params, -// func(page *devicefarm.ListOfferingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOfferings operation. +// pageNum := 0 +// err := client.ListOfferingsPages(params, +// func(page *devicefarm.ListOfferingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListOfferingsPages(input *ListOfferingsInput, fn func(*ListOfferingsOutput, bool) bool) error { return c.ListOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4631,14 +4624,13 @@ const opListProjects = "ListProjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProjectsRequest method. +// req, resp := client.ListProjectsRequest(params) // -// // Example sending a request using the ListProjectsRequest method. -// req, resp := client.ListProjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListProjects func (c *DeviceFarm) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) { @@ -4675,17 +4667,18 @@ func (c *DeviceFarm) ListProjectsRequest(input *ListProjectsInput) (req *request // API operation ListProjects for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListProjects func (c *DeviceFarm) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error) { @@ -4717,15 +4710,14 @@ func (c *DeviceFarm) ListProjectsWithContext(ctx aws.Context, input *ListProject // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProjects operation. -// pageNum := 0 -// err := client.ListProjectsPages(params, -// func(page *devicefarm.ListProjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProjects operation. +// pageNum := 0 +// err := client.ListProjectsPages(params, +// func(page *devicefarm.ListProjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error { return c.ListProjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4777,14 +4769,13 @@ const opListRemoteAccessSessions = "ListRemoteAccessSessions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRemoteAccessSessionsRequest method. +// req, resp := client.ListRemoteAccessSessionsRequest(params) // -// // Example sending a request using the ListRemoteAccessSessionsRequest method. -// req, resp := client.ListRemoteAccessSessionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRemoteAccessSessions func (c *DeviceFarm) ListRemoteAccessSessionsRequest(input *ListRemoteAccessSessionsInput) (req *request.Request, output *ListRemoteAccessSessionsOutput) { @@ -4815,17 +4806,18 @@ func (c *DeviceFarm) ListRemoteAccessSessionsRequest(input *ListRemoteAccessSess // API operation ListRemoteAccessSessions for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRemoteAccessSessions func (c *DeviceFarm) ListRemoteAccessSessions(input *ListRemoteAccessSessionsInput) (*ListRemoteAccessSessionsOutput, error) { @@ -4865,14 +4857,13 @@ const opListRuns = "ListRuns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRunsRequest method. +// req, resp := client.ListRunsRequest(params) // -// // Example sending a request using the ListRunsRequest method. -// req, resp := client.ListRunsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRuns func (c *DeviceFarm) ListRunsRequest(input *ListRunsInput) (req *request.Request, output *ListRunsOutput) { @@ -4909,17 +4900,18 @@ func (c *DeviceFarm) ListRunsRequest(input *ListRunsInput) (req *request.Request // API operation ListRuns for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListRuns func (c *DeviceFarm) ListRuns(input *ListRunsInput) (*ListRunsOutput, error) { @@ -4951,15 +4943,14 @@ func (c *DeviceFarm) ListRunsWithContext(ctx aws.Context, input *ListRunsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRuns operation. -// pageNum := 0 -// err := client.ListRunsPages(params, -// func(page *devicefarm.ListRunsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRuns operation. +// pageNum := 0 +// err := client.ListRunsPages(params, +// func(page *devicefarm.ListRunsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListRunsPages(input *ListRunsInput, fn func(*ListRunsOutput, bool) bool) error { return c.ListRunsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5011,14 +5002,13 @@ const opListSamples = "ListSamples" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSamplesRequest method. +// req, resp := client.ListSamplesRequest(params) // -// // Example sending a request using the ListSamplesRequest method. -// req, resp := client.ListSamplesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSamples func (c *DeviceFarm) ListSamplesRequest(input *ListSamplesInput) (req *request.Request, output *ListSamplesOutput) { @@ -5055,17 +5045,18 @@ func (c *DeviceFarm) ListSamplesRequest(input *ListSamplesInput) (req *request.R // API operation ListSamples for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSamples func (c *DeviceFarm) ListSamples(input *ListSamplesInput) (*ListSamplesOutput, error) { @@ -5097,15 +5088,14 @@ func (c *DeviceFarm) ListSamplesWithContext(ctx aws.Context, input *ListSamplesI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSamples operation. -// pageNum := 0 -// err := client.ListSamplesPages(params, -// func(page *devicefarm.ListSamplesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSamples operation. +// pageNum := 0 +// err := client.ListSamplesPages(params, +// func(page *devicefarm.ListSamplesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListSamplesPages(input *ListSamplesInput, fn func(*ListSamplesOutput, bool) bool) error { return c.ListSamplesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5157,14 +5147,13 @@ const opListSuites = "ListSuites" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSuitesRequest method. +// req, resp := client.ListSuitesRequest(params) // -// // Example sending a request using the ListSuitesRequest method. -// req, resp := client.ListSuitesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSuites func (c *DeviceFarm) ListSuitesRequest(input *ListSuitesInput) (req *request.Request, output *ListSuitesOutput) { @@ -5201,17 +5190,18 @@ func (c *DeviceFarm) ListSuitesRequest(input *ListSuitesInput) (req *request.Req // API operation ListSuites for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListSuites func (c *DeviceFarm) ListSuites(input *ListSuitesInput) (*ListSuitesOutput, error) { @@ -5243,15 +5233,14 @@ func (c *DeviceFarm) ListSuitesWithContext(ctx aws.Context, input *ListSuitesInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSuites operation. -// pageNum := 0 -// err := client.ListSuitesPages(params, -// func(page *devicefarm.ListSuitesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSuites operation. +// pageNum := 0 +// err := client.ListSuitesPages(params, +// func(page *devicefarm.ListSuitesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListSuitesPages(input *ListSuitesInput, fn func(*ListSuitesOutput, bool) bool) error { return c.ListSuitesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5303,14 +5292,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTagsForResource func (c *DeviceFarm) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -5341,14 +5329,15 @@ func (c *DeviceFarm) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * TagOperationException -// The operation was not successful. Try again. +// - TagOperationException +// The operation was not successful. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTagsForResource func (c *DeviceFarm) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -5388,14 +5377,13 @@ const opListTestGridProjects = "ListTestGridProjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTestGridProjectsRequest method. +// req, resp := client.ListTestGridProjectsRequest(params) // -// // Example sending a request using the ListTestGridProjectsRequest method. -// req, resp := client.ListTestGridProjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridProjects func (c *DeviceFarm) ListTestGridProjectsRequest(input *ListTestGridProjectsInput) (req *request.Request, output *ListTestGridProjectsOutput) { @@ -5432,12 +5420,13 @@ func (c *DeviceFarm) ListTestGridProjectsRequest(input *ListTestGridProjectsInpu // API operation ListTestGridProjects for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * InternalServiceException -// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com -// (mailto:aws-devicefarm-support@amazon.com) if you see this error. +// - ArgumentException +// An invalid argument was specified. +// +// - InternalServiceException +// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com +// (mailto:aws-devicefarm-support@amazon.com) if you see this error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridProjects func (c *DeviceFarm) ListTestGridProjects(input *ListTestGridProjectsInput) (*ListTestGridProjectsOutput, error) { @@ -5469,15 +5458,14 @@ func (c *DeviceFarm) ListTestGridProjectsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTestGridProjects operation. -// pageNum := 0 -// err := client.ListTestGridProjectsPages(params, -// func(page *devicefarm.ListTestGridProjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTestGridProjects operation. +// pageNum := 0 +// err := client.ListTestGridProjectsPages(params, +// func(page *devicefarm.ListTestGridProjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListTestGridProjectsPages(input *ListTestGridProjectsInput, fn func(*ListTestGridProjectsOutput, bool) bool) error { return c.ListTestGridProjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5529,14 +5517,13 @@ const opListTestGridSessionActions = "ListTestGridSessionActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTestGridSessionActionsRequest method. +// req, resp := client.ListTestGridSessionActionsRequest(params) // -// // Example sending a request using the ListTestGridSessionActionsRequest method. -// req, resp := client.ListTestGridSessionActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridSessionActions func (c *DeviceFarm) ListTestGridSessionActionsRequest(input *ListTestGridSessionActionsInput) (req *request.Request, output *ListTestGridSessionActionsOutput) { @@ -5573,15 +5560,16 @@ func (c *DeviceFarm) ListTestGridSessionActionsRequest(input *ListTestGridSessio // API operation ListTestGridSessionActions for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified entity was not found. // -// * ArgumentException -// An invalid argument was specified. +// - NotFoundException +// The specified entity was not found. +// +// - ArgumentException +// An invalid argument was specified. // -// * InternalServiceException -// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com -// (mailto:aws-devicefarm-support@amazon.com) if you see this error. +// - InternalServiceException +// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com +// (mailto:aws-devicefarm-support@amazon.com) if you see this error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridSessionActions func (c *DeviceFarm) ListTestGridSessionActions(input *ListTestGridSessionActionsInput) (*ListTestGridSessionActionsOutput, error) { @@ -5613,15 +5601,14 @@ func (c *DeviceFarm) ListTestGridSessionActionsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTestGridSessionActions operation. -// pageNum := 0 -// err := client.ListTestGridSessionActionsPages(params, -// func(page *devicefarm.ListTestGridSessionActionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTestGridSessionActions operation. +// pageNum := 0 +// err := client.ListTestGridSessionActionsPages(params, +// func(page *devicefarm.ListTestGridSessionActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListTestGridSessionActionsPages(input *ListTestGridSessionActionsInput, fn func(*ListTestGridSessionActionsOutput, bool) bool) error { return c.ListTestGridSessionActionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5673,14 +5660,13 @@ const opListTestGridSessionArtifacts = "ListTestGridSessionArtifacts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTestGridSessionArtifactsRequest method. +// req, resp := client.ListTestGridSessionArtifactsRequest(params) // -// // Example sending a request using the ListTestGridSessionArtifactsRequest method. -// req, resp := client.ListTestGridSessionArtifactsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridSessionArtifacts func (c *DeviceFarm) ListTestGridSessionArtifactsRequest(input *ListTestGridSessionArtifactsInput) (req *request.Request, output *ListTestGridSessionArtifactsOutput) { @@ -5717,15 +5703,16 @@ func (c *DeviceFarm) ListTestGridSessionArtifactsRequest(input *ListTestGridSess // API operation ListTestGridSessionArtifacts for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified entity was not found. // -// * ArgumentException -// An invalid argument was specified. +// - NotFoundException +// The specified entity was not found. // -// * InternalServiceException -// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com -// (mailto:aws-devicefarm-support@amazon.com) if you see this error. +// - ArgumentException +// An invalid argument was specified. +// +// - InternalServiceException +// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com +// (mailto:aws-devicefarm-support@amazon.com) if you see this error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridSessionArtifacts func (c *DeviceFarm) ListTestGridSessionArtifacts(input *ListTestGridSessionArtifactsInput) (*ListTestGridSessionArtifactsOutput, error) { @@ -5757,15 +5744,14 @@ func (c *DeviceFarm) ListTestGridSessionArtifactsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTestGridSessionArtifacts operation. -// pageNum := 0 -// err := client.ListTestGridSessionArtifactsPages(params, -// func(page *devicefarm.ListTestGridSessionArtifactsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTestGridSessionArtifacts operation. +// pageNum := 0 +// err := client.ListTestGridSessionArtifactsPages(params, +// func(page *devicefarm.ListTestGridSessionArtifactsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListTestGridSessionArtifactsPages(input *ListTestGridSessionArtifactsInput, fn func(*ListTestGridSessionArtifactsOutput, bool) bool) error { return c.ListTestGridSessionArtifactsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5817,14 +5803,13 @@ const opListTestGridSessions = "ListTestGridSessions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTestGridSessionsRequest method. +// req, resp := client.ListTestGridSessionsRequest(params) // -// // Example sending a request using the ListTestGridSessionsRequest method. -// req, resp := client.ListTestGridSessionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridSessions func (c *DeviceFarm) ListTestGridSessionsRequest(input *ListTestGridSessionsInput) (req *request.Request, output *ListTestGridSessionsOutput) { @@ -5861,15 +5846,16 @@ func (c *DeviceFarm) ListTestGridSessionsRequest(input *ListTestGridSessionsInpu // API operation ListTestGridSessions for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified entity was not found. // -// * ArgumentException -// An invalid argument was specified. +// - NotFoundException +// The specified entity was not found. // -// * InternalServiceException -// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com -// (mailto:aws-devicefarm-support@amazon.com) if you see this error. +// - ArgumentException +// An invalid argument was specified. +// +// - InternalServiceException +// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com +// (mailto:aws-devicefarm-support@amazon.com) if you see this error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTestGridSessions func (c *DeviceFarm) ListTestGridSessions(input *ListTestGridSessionsInput) (*ListTestGridSessionsOutput, error) { @@ -5901,15 +5887,14 @@ func (c *DeviceFarm) ListTestGridSessionsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTestGridSessions operation. -// pageNum := 0 -// err := client.ListTestGridSessionsPages(params, -// func(page *devicefarm.ListTestGridSessionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTestGridSessions operation. +// pageNum := 0 +// err := client.ListTestGridSessionsPages(params, +// func(page *devicefarm.ListTestGridSessionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListTestGridSessionsPages(input *ListTestGridSessionsInput, fn func(*ListTestGridSessionsOutput, bool) bool) error { return c.ListTestGridSessionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5961,14 +5946,13 @@ const opListTests = "ListTests" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTestsRequest method. +// req, resp := client.ListTestsRequest(params) // -// // Example sending a request using the ListTestsRequest method. -// req, resp := client.ListTestsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTests func (c *DeviceFarm) ListTestsRequest(input *ListTestsInput) (req *request.Request, output *ListTestsOutput) { @@ -6005,17 +5989,18 @@ func (c *DeviceFarm) ListTestsRequest(input *ListTestsInput) (req *request.Reque // API operation ListTests for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListTests func (c *DeviceFarm) ListTests(input *ListTestsInput) (*ListTestsOutput, error) { @@ -6047,15 +6032,14 @@ func (c *DeviceFarm) ListTestsWithContext(ctx aws.Context, input *ListTestsInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTests operation. -// pageNum := 0 -// err := client.ListTestsPages(params, -// func(page *devicefarm.ListTestsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTests operation. +// pageNum := 0 +// err := client.ListTestsPages(params, +// func(page *devicefarm.ListTestsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListTestsPages(input *ListTestsInput, fn func(*ListTestsOutput, bool) bool) error { return c.ListTestsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6107,14 +6091,13 @@ const opListUniqueProblems = "ListUniqueProblems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUniqueProblemsRequest method. +// req, resp := client.ListUniqueProblemsRequest(params) // -// // Example sending a request using the ListUniqueProblemsRequest method. -// req, resp := client.ListUniqueProblemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUniqueProblems func (c *DeviceFarm) ListUniqueProblemsRequest(input *ListUniqueProblemsInput) (req *request.Request, output *ListUniqueProblemsOutput) { @@ -6156,17 +6139,18 @@ func (c *DeviceFarm) ListUniqueProblemsRequest(input *ListUniqueProblemsInput) ( // API operation ListUniqueProblems for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUniqueProblems func (c *DeviceFarm) ListUniqueProblems(input *ListUniqueProblemsInput) (*ListUniqueProblemsOutput, error) { @@ -6198,15 +6182,14 @@ func (c *DeviceFarm) ListUniqueProblemsWithContext(ctx aws.Context, input *ListU // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUniqueProblems operation. -// pageNum := 0 -// err := client.ListUniqueProblemsPages(params, -// func(page *devicefarm.ListUniqueProblemsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUniqueProblems operation. +// pageNum := 0 +// err := client.ListUniqueProblemsPages(params, +// func(page *devicefarm.ListUniqueProblemsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListUniqueProblemsPages(input *ListUniqueProblemsInput, fn func(*ListUniqueProblemsOutput, bool) bool) error { return c.ListUniqueProblemsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6258,14 +6241,13 @@ const opListUploads = "ListUploads" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUploadsRequest method. +// req, resp := client.ListUploadsRequest(params) // -// // Example sending a request using the ListUploadsRequest method. -// req, resp := client.ListUploadsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUploads func (c *DeviceFarm) ListUploadsRequest(input *ListUploadsInput) (req *request.Request, output *ListUploadsOutput) { @@ -6302,17 +6284,18 @@ func (c *DeviceFarm) ListUploadsRequest(input *ListUploadsInput) (req *request.R // API operation ListUploads for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListUploads func (c *DeviceFarm) ListUploads(input *ListUploadsInput) (*ListUploadsOutput, error) { @@ -6344,15 +6327,14 @@ func (c *DeviceFarm) ListUploadsWithContext(ctx aws.Context, input *ListUploadsI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUploads operation. -// pageNum := 0 -// err := client.ListUploadsPages(params, -// func(page *devicefarm.ListUploadsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUploads operation. +// pageNum := 0 +// err := client.ListUploadsPages(params, +// func(page *devicefarm.ListUploadsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DeviceFarm) ListUploadsPages(input *ListUploadsInput, fn func(*ListUploadsOutput, bool) bool) error { return c.ListUploadsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6404,14 +6386,13 @@ const opListVPCEConfigurations = "ListVPCEConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVPCEConfigurationsRequest method. +// req, resp := client.ListVPCEConfigurationsRequest(params) // -// // Example sending a request using the ListVPCEConfigurationsRequest method. -// req, resp := client.ListVPCEConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListVPCEConfigurations func (c *DeviceFarm) ListVPCEConfigurationsRequest(input *ListVPCEConfigurationsInput) (req *request.Request, output *ListVPCEConfigurationsOutput) { @@ -6443,11 +6424,12 @@ func (c *DeviceFarm) ListVPCEConfigurationsRequest(input *ListVPCEConfigurations // API operation ListVPCEConfigurations for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * ServiceAccountException -// There was a problem with the service account. +// - ArgumentException +// An invalid argument was specified. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListVPCEConfigurations func (c *DeviceFarm) ListVPCEConfigurations(input *ListVPCEConfigurationsInput) (*ListVPCEConfigurationsOutput, error) { @@ -6487,14 +6469,13 @@ const opPurchaseOffering = "PurchaseOffering" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PurchaseOfferingRequest method. +// req, resp := client.PurchaseOfferingRequest(params) // -// // Example sending a request using the PurchaseOfferingRequest method. -// req, resp := client.PurchaseOfferingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/PurchaseOffering func (c *DeviceFarm) PurchaseOfferingRequest(input *PurchaseOfferingInput) (req *request.Request, output *PurchaseOfferingOutput) { @@ -6529,21 +6510,22 @@ func (c *DeviceFarm) PurchaseOfferingRequest(input *PurchaseOfferingInput) (req // API operation PurchaseOffering for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * NotEligibleException -// Exception gets thrown when a user is not eligible to perform the specified -// transaction. +// - NotEligibleException +// Exception gets thrown when a user is not eligible to perform the specified +// transaction. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/PurchaseOffering func (c *DeviceFarm) PurchaseOffering(input *PurchaseOfferingInput) (*PurchaseOfferingOutput, error) { @@ -6583,14 +6565,13 @@ const opRenewOffering = "RenewOffering" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RenewOfferingRequest method. +// req, resp := client.RenewOfferingRequest(params) // -// // Example sending a request using the RenewOfferingRequest method. -// req, resp := client.RenewOfferingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RenewOffering func (c *DeviceFarm) RenewOfferingRequest(input *RenewOfferingInput) (req *request.Request, output *RenewOfferingOutput) { @@ -6625,21 +6606,22 @@ func (c *DeviceFarm) RenewOfferingRequest(input *RenewOfferingInput) (req *reque // API operation RenewOffering for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * NotEligibleException -// Exception gets thrown when a user is not eligible to perform the specified -// transaction. +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - NotEligibleException +// Exception gets thrown when a user is not eligible to perform the specified +// transaction. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RenewOffering func (c *DeviceFarm) RenewOffering(input *RenewOfferingInput) (*RenewOfferingOutput, error) { @@ -6679,14 +6661,13 @@ const opScheduleRun = "ScheduleRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ScheduleRunRequest method. +// req, resp := client.ScheduleRunRequest(params) // -// // Example sending a request using the ScheduleRunRequest method. -// req, resp := client.ScheduleRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRun func (c *DeviceFarm) ScheduleRunRequest(input *ScheduleRunInput) (req *request.Request, output *ScheduleRunOutput) { @@ -6717,20 +6698,21 @@ func (c *DeviceFarm) ScheduleRunRequest(input *ScheduleRunInput) (req *request.R // API operation ScheduleRun for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * IdempotencyException -// An entity with the same name already exists. +// - IdempotencyException +// An entity with the same name already exists. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ScheduleRun func (c *DeviceFarm) ScheduleRun(input *ScheduleRunInput) (*ScheduleRunOutput, error) { @@ -6770,14 +6752,13 @@ const opStopJob = "StopJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopJobRequest method. +// req, resp := client.StopJobRequest(params) // -// // Example sending a request using the StopJobRequest method. -// req, resp := client.StopJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopJob func (c *DeviceFarm) StopJobRequest(input *StopJobInput) (req *request.Request, output *StopJobOutput) { @@ -6812,17 +6793,18 @@ func (c *DeviceFarm) StopJobRequest(input *StopJobInput) (req *request.Request, // API operation StopJob for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopJob func (c *DeviceFarm) StopJob(input *StopJobInput) (*StopJobOutput, error) { @@ -6862,14 +6844,13 @@ const opStopRemoteAccessSession = "StopRemoteAccessSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopRemoteAccessSessionRequest method. +// req, resp := client.StopRemoteAccessSessionRequest(params) // -// // Example sending a request using the StopRemoteAccessSessionRequest method. -// req, resp := client.StopRemoteAccessSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRemoteAccessSession func (c *DeviceFarm) StopRemoteAccessSessionRequest(input *StopRemoteAccessSessionInput) (req *request.Request, output *StopRemoteAccessSessionOutput) { @@ -6900,17 +6881,18 @@ func (c *DeviceFarm) StopRemoteAccessSessionRequest(input *StopRemoteAccessSessi // API operation StopRemoteAccessSession for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRemoteAccessSession func (c *DeviceFarm) StopRemoteAccessSession(input *StopRemoteAccessSessionInput) (*StopRemoteAccessSessionOutput, error) { @@ -6950,14 +6932,13 @@ const opStopRun = "StopRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopRunRequest method. +// req, resp := client.StopRunRequest(params) // -// // Example sending a request using the StopRunRequest method. -// req, resp := client.StopRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRun func (c *DeviceFarm) StopRunRequest(input *StopRunInput) (req *request.Request, output *StopRunOutput) { @@ -6992,17 +6973,18 @@ func (c *DeviceFarm) StopRunRequest(input *StopRunInput) (req *request.Request, // API operation StopRun for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/StopRun func (c *DeviceFarm) StopRun(input *StopRunInput) (*StopRunOutput, error) { @@ -7042,14 +7024,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/TagResource func (c *DeviceFarm) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -7084,22 +7065,23 @@ func (c *DeviceFarm) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * TagOperationException -// The operation was not successful. Try again. +// - TagOperationException +// The operation was not successful. Try again. // -// * TooManyTagsException -// The list of tags on the repository is over the limit. The maximum number -// of tags that can be applied to a repository is 50. +// - TooManyTagsException +// The list of tags on the repository is over the limit. The maximum number +// of tags that can be applied to a repository is 50. // -// * TagPolicyException -// The request doesn't comply with the AWS Identity and Access Management (IAM) -// tag policy. Correct your request and then retry it. +// - TagPolicyException +// The request doesn't comply with the AWS Identity and Access Management (IAM) +// tag policy. Correct your request and then retry it. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/TagResource func (c *DeviceFarm) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -7139,14 +7121,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UntagResource func (c *DeviceFarm) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -7178,14 +7159,15 @@ func (c *DeviceFarm) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * TagOperationException -// The operation was not successful. Try again. +// - TagOperationException +// The operation was not successful. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UntagResource func (c *DeviceFarm) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -7225,14 +7207,13 @@ const opUpdateDeviceInstance = "UpdateDeviceInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDeviceInstanceRequest method. +// req, resp := client.UpdateDeviceInstanceRequest(params) // -// // Example sending a request using the UpdateDeviceInstanceRequest method. -// req, resp := client.UpdateDeviceInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDeviceInstance func (c *DeviceFarm) UpdateDeviceInstanceRequest(input *UpdateDeviceInstanceInput) (req *request.Request, output *UpdateDeviceInstanceOutput) { @@ -7263,17 +7244,18 @@ func (c *DeviceFarm) UpdateDeviceInstanceRequest(input *UpdateDeviceInstanceInpu // API operation UpdateDeviceInstance for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDeviceInstance func (c *DeviceFarm) UpdateDeviceInstance(input *UpdateDeviceInstanceInput) (*UpdateDeviceInstanceOutput, error) { @@ -7313,14 +7295,13 @@ const opUpdateDevicePool = "UpdateDevicePool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDevicePoolRequest method. +// req, resp := client.UpdateDevicePoolRequest(params) // -// // Example sending a request using the UpdateDevicePoolRequest method. -// req, resp := client.UpdateDevicePoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDevicePool func (c *DeviceFarm) UpdateDevicePoolRequest(input *UpdateDevicePoolInput) (req *request.Request, output *UpdateDevicePoolOutput) { @@ -7353,17 +7334,18 @@ func (c *DeviceFarm) UpdateDevicePoolRequest(input *UpdateDevicePoolInput) (req // API operation UpdateDevicePool for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateDevicePool func (c *DeviceFarm) UpdateDevicePool(input *UpdateDevicePoolInput) (*UpdateDevicePoolOutput, error) { @@ -7403,14 +7385,13 @@ const opUpdateInstanceProfile = "UpdateInstanceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateInstanceProfileRequest method. +// req, resp := client.UpdateInstanceProfileRequest(params) // -// // Example sending a request using the UpdateInstanceProfileRequest method. -// req, resp := client.UpdateInstanceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateInstanceProfile func (c *DeviceFarm) UpdateInstanceProfileRequest(input *UpdateInstanceProfileInput) (req *request.Request, output *UpdateInstanceProfileOutput) { @@ -7441,17 +7422,18 @@ func (c *DeviceFarm) UpdateInstanceProfileRequest(input *UpdateInstanceProfileIn // API operation UpdateInstanceProfile for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateInstanceProfile func (c *DeviceFarm) UpdateInstanceProfile(input *UpdateInstanceProfileInput) (*UpdateInstanceProfileOutput, error) { @@ -7491,14 +7473,13 @@ const opUpdateNetworkProfile = "UpdateNetworkProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNetworkProfileRequest method. +// req, resp := client.UpdateNetworkProfileRequest(params) // -// // Example sending a request using the UpdateNetworkProfileRequest method. -// req, resp := client.UpdateNetworkProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateNetworkProfile func (c *DeviceFarm) UpdateNetworkProfileRequest(input *UpdateNetworkProfileInput) (req *request.Request, output *UpdateNetworkProfileOutput) { @@ -7529,17 +7510,18 @@ func (c *DeviceFarm) UpdateNetworkProfileRequest(input *UpdateNetworkProfileInpu // API operation UpdateNetworkProfile for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateNetworkProfile func (c *DeviceFarm) UpdateNetworkProfile(input *UpdateNetworkProfileInput) (*UpdateNetworkProfileOutput, error) { @@ -7579,14 +7561,13 @@ const opUpdateProject = "UpdateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProjectRequest method. +// req, resp := client.UpdateProjectRequest(params) // -// // Example sending a request using the UpdateProjectRequest method. -// req, resp := client.UpdateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateProject func (c *DeviceFarm) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput) { @@ -7617,17 +7598,18 @@ func (c *DeviceFarm) UpdateProjectRequest(input *UpdateProjectInput) (req *reque // API operation UpdateProject for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. // -// * LimitExceededException -// A limit was exceeded. +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - LimitExceededException +// A limit was exceeded. +// +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateProject func (c *DeviceFarm) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error) { @@ -7667,14 +7649,13 @@ const opUpdateTestGridProject = "UpdateTestGridProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTestGridProjectRequest method. +// req, resp := client.UpdateTestGridProjectRequest(params) // -// // Example sending a request using the UpdateTestGridProjectRequest method. -// req, resp := client.UpdateTestGridProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateTestGridProject func (c *DeviceFarm) UpdateTestGridProjectRequest(input *UpdateTestGridProjectInput) (req *request.Request, output *UpdateTestGridProjectOutput) { @@ -7705,18 +7686,19 @@ func (c *DeviceFarm) UpdateTestGridProjectRequest(input *UpdateTestGridProjectIn // API operation UpdateTestGridProject for usage and error information. // // Returned Error Types: -// * NotFoundException -// The specified entity was not found. // -// * ArgumentException -// An invalid argument was specified. +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - ArgumentException +// An invalid argument was specified. // -// * InternalServiceException -// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com -// (mailto:aws-devicefarm-support@amazon.com) if you see this error. +// - LimitExceededException +// A limit was exceeded. +// +// - InternalServiceException +// An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com +// (mailto:aws-devicefarm-support@amazon.com) if you see this error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateTestGridProject func (c *DeviceFarm) UpdateTestGridProject(input *UpdateTestGridProjectInput) (*UpdateTestGridProjectOutput, error) { @@ -7756,14 +7738,13 @@ const opUpdateUpload = "UpdateUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUploadRequest method. +// req, resp := client.UpdateUploadRequest(params) // -// // Example sending a request using the UpdateUploadRequest method. -// req, resp := client.UpdateUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateUpload func (c *DeviceFarm) UpdateUploadRequest(input *UpdateUploadInput) (req *request.Request, output *UpdateUploadOutput) { @@ -7794,17 +7775,18 @@ func (c *DeviceFarm) UpdateUploadRequest(input *UpdateUploadInput) (req *request // API operation UpdateUpload for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateUpload func (c *DeviceFarm) UpdateUpload(input *UpdateUploadInput) (*UpdateUploadOutput, error) { @@ -7844,14 +7826,13 @@ const opUpdateVPCEConfiguration = "UpdateVPCEConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVPCEConfigurationRequest method. +// req, resp := client.UpdateVPCEConfigurationRequest(params) // -// // Example sending a request using the UpdateVPCEConfigurationRequest method. -// req, resp := client.UpdateVPCEConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateVPCEConfiguration func (c *DeviceFarm) UpdateVPCEConfigurationRequest(input *UpdateVPCEConfigurationInput) (req *request.Request, output *UpdateVPCEConfigurationOutput) { @@ -7883,18 +7864,19 @@ func (c *DeviceFarm) UpdateVPCEConfigurationRequest(input *UpdateVPCEConfigurati // API operation UpdateVPCEConfiguration for usage and error information. // // Returned Error Types: -// * ArgumentException -// An invalid argument was specified. // -// * NotFoundException -// The specified entity was not found. +// - ArgumentException +// An invalid argument was specified. +// +// - NotFoundException +// The specified entity was not found. // -// * ServiceAccountException -// There was a problem with the service account. +// - ServiceAccountException +// There was a problem with the service account. // -// * InvalidOperationException -// There was an error with the update request, or you do not have sufficient -// permissions to update this VPC endpoint configuration. +// - InvalidOperationException +// There was an error with the update request, or you do not have sufficient +// permissions to update this VPC endpoint configuration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/UpdateVPCEConfiguration func (c *DeviceFarm) UpdateVPCEConfiguration(input *UpdateVPCEConfigurationInput) (*UpdateVPCEConfigurationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/devicefarmiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/devicefarmiface/interface.go index 4286453e8dca..74d5f78890c5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/devicefarmiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/devicefarmiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Device Farm. -// func myFunc(svc devicefarmiface.DeviceFarmAPI) bool { -// // Make svc.CreateDevicePool request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Device Farm. +// func myFunc(svc devicefarmiface.DeviceFarmAPI) bool { +// // Make svc.CreateDevicePool request +// } // -// func main() { -// sess := session.New() -// svc := devicefarm.New(sess) +// func main() { +// sess := session.New() +// svc := devicefarm.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockDeviceFarmClient struct { -// devicefarmiface.DeviceFarmAPI -// } -// func (m *mockDeviceFarmClient) CreateDevicePool(input *devicefarm.CreateDevicePoolInput) (*devicefarm.CreateDevicePoolOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockDeviceFarmClient struct { +// devicefarmiface.DeviceFarmAPI +// } +// func (m *mockDeviceFarmClient) CreateDevicePool(input *devicefarm.CreateDevicePoolInput) (*devicefarm.CreateDevicePoolOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockDeviceFarmClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockDeviceFarmClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/doc.go index 3c3881342d18..9e18ca6eb9e2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/doc.go @@ -5,22 +5,22 @@ // // Welcome to the AWS Device Farm API documentation, which contains APIs for: // -// * Testing on desktop browsers Device Farm makes it possible for you to -// test your web applications on desktop browsers using Selenium. The APIs -// for desktop browser testing contain TestGrid in their names. For more -// information, see Testing Web Applications on Selenium with Device Farm -// (https://docs.aws.amazon.com/devicefarm/latest/testgrid/). +// - Testing on desktop browsers Device Farm makes it possible for you to +// test your web applications on desktop browsers using Selenium. The APIs +// for desktop browser testing contain TestGrid in their names. For more +// information, see Testing Web Applications on Selenium with Device Farm +// (https://docs.aws.amazon.com/devicefarm/latest/testgrid/). // -// * Testing on real mobile devices Device Farm makes it possible for you -// to test apps on physical phones, tablets, and other devices in the cloud. -// For more information, see the Device Farm Developer Guide (https://docs.aws.amazon.com/devicefarm/latest/developerguide/). +// - Testing on real mobile devices Device Farm makes it possible for you +// to test apps on physical phones, tablets, and other devices in the cloud. +// For more information, see the Device Farm Developer Guide (https://docs.aws.amazon.com/devicefarm/latest/developerguide/). // // See https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23 for more information on this service. // // See devicefarm package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/devicefarm/ // -// Using the Client +// # Using the Client // // To contact AWS Device Farm with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/service.go index ffff49c2f272..cb1b8aefa278 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devicefarm/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a DeviceFarm client from just a session. -// svc := devicefarm.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a DeviceFarm client with additional configuration -// svc := devicefarm.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a DeviceFarm client from just a session. +// svc := devicefarm.New(mySession) +// +// // Create a DeviceFarm client with additional configuration +// svc := devicefarm.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *DeviceFarm { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/api.go index 373a97e810a7..87f71db8995a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/api.go @@ -29,14 +29,13 @@ const opAddNotificationChannel = "AddNotificationChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddNotificationChannelRequest method. +// req, resp := client.AddNotificationChannelRequest(params) // -// // Example sending a request using the AddNotificationChannelRequest method. -// req, resp := client.AddNotificationChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AddNotificationChannel func (c *DevOpsGuru) AddNotificationChannelRequest(input *AddNotificationChannelInput) (req *request.Request, output *AddNotificationChannelOutput) { @@ -86,31 +85,32 @@ func (c *DevOpsGuru) AddNotificationChannelRequest(input *AddNotificationChannel // API operation AddNotificationChannel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * ConflictException -// An exception that is thrown when a conflict occurs. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - ConflictException +// An exception that is thrown when a conflict occurs. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ResourceNotFoundException -// A requested resource could not be found +// - ResourceNotFoundException +// A requested resource could not be found // -// * ServiceQuotaExceededException -// The request contains a value that exceeds a maximum quota. +// - ServiceQuotaExceededException +// The request contains a value that exceeds a maximum quota. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/AddNotificationChannel func (c *DevOpsGuru) AddNotificationChannel(input *AddNotificationChannelInput) (*AddNotificationChannelOutput, error) { @@ -150,14 +150,13 @@ const opDeleteInsight = "DeleteInsight" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInsightRequest method. +// req, resp := client.DeleteInsightRequest(params) // -// // Example sending a request using the DeleteInsightRequest method. -// req, resp := client.DeleteInsightRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DeleteInsight func (c *DevOpsGuru) DeleteInsightRequest(input *DeleteInsightInput) (req *request.Request, output *DeleteInsightOutput) { @@ -189,28 +188,29 @@ func (c *DevOpsGuru) DeleteInsightRequest(input *DeleteInsightInput) (req *reque // API operation DeleteInsight for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ResourceNotFoundException -// A requested resource could not be found +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ConflictException -// An exception that is thrown when a conflict occurs. +// - ResourceNotFoundException +// A requested resource could not be found // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ConflictException +// An exception that is thrown when a conflict occurs. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ThrottlingException +// The request was denied due to a request throttling. +// +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DeleteInsight func (c *DevOpsGuru) DeleteInsight(input *DeleteInsightInput) (*DeleteInsightOutput, error) { @@ -250,14 +250,13 @@ const opDescribeAccountHealth = "DescribeAccountHealth" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountHealthRequest method. +// req, resp := client.DescribeAccountHealthRequest(params) // -// // Example sending a request using the DescribeAccountHealthRequest method. -// req, resp := client.DescribeAccountHealthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealth func (c *DevOpsGuru) DescribeAccountHealthRequest(input *DescribeAccountHealthInput) (req *request.Request, output *DescribeAccountHealthOutput) { @@ -291,22 +290,23 @@ func (c *DevOpsGuru) DescribeAccountHealthRequest(input *DescribeAccountHealthIn // API operation DescribeAccountHealth for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ThrottlingException +// The request was denied due to a request throttling. +// +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountHealth func (c *DevOpsGuru) DescribeAccountHealth(input *DescribeAccountHealthInput) (*DescribeAccountHealthOutput, error) { @@ -346,14 +346,13 @@ const opDescribeAccountOverview = "DescribeAccountOverview" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountOverviewRequest method. +// req, resp := client.DescribeAccountOverviewRequest(params) // -// // Example sending a request using the DescribeAccountOverviewRequest method. -// req, resp := client.DescribeAccountOverviewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountOverview func (c *DevOpsGuru) DescribeAccountOverviewRequest(input *DescribeAccountOverviewInput) (req *request.Request, output *DescribeAccountOverviewOutput) { @@ -386,22 +385,23 @@ func (c *DevOpsGuru) DescribeAccountOverviewRequest(input *DescribeAccountOvervi // API operation DescribeAccountOverview for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ThrottlingException +// The request was denied due to a request throttling. +// +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAccountOverview func (c *DevOpsGuru) DescribeAccountOverview(input *DescribeAccountOverviewInput) (*DescribeAccountOverviewOutput, error) { @@ -441,14 +441,13 @@ const opDescribeAnomaly = "DescribeAnomaly" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAnomalyRequest method. +// req, resp := client.DescribeAnomalyRequest(params) // -// // Example sending a request using the DescribeAnomalyRequest method. -// req, resp := client.DescribeAnomalyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAnomaly func (c *DevOpsGuru) DescribeAnomalyRequest(input *DescribeAnomalyInput) (req *request.Request, output *DescribeAnomalyOutput) { @@ -479,25 +478,26 @@ func (c *DevOpsGuru) DescribeAnomalyRequest(input *DescribeAnomalyInput) (req *r // API operation DescribeAnomaly for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ResourceNotFoundException -// A requested resource could not be found +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ResourceNotFoundException +// A requested resource could not be found // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ThrottlingException +// The request was denied due to a request throttling. +// +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeAnomaly func (c *DevOpsGuru) DescribeAnomaly(input *DescribeAnomalyInput) (*DescribeAnomalyOutput, error) { @@ -537,14 +537,13 @@ const opDescribeEventSourcesConfig = "DescribeEventSourcesConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventSourcesConfigRequest method. +// req, resp := client.DescribeEventSourcesConfigRequest(params) // -// // Example sending a request using the DescribeEventSourcesConfigRequest method. -// req, resp := client.DescribeEventSourcesConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeEventSourcesConfig func (c *DevOpsGuru) DescribeEventSourcesConfigRequest(input *DescribeEventSourcesConfigInput) (req *request.Request, output *DescribeEventSourcesConfigOutput) { @@ -578,22 +577,23 @@ func (c *DevOpsGuru) DescribeEventSourcesConfigRequest(input *DescribeEventSourc // API operation DescribeEventSourcesConfig for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeEventSourcesConfig func (c *DevOpsGuru) DescribeEventSourcesConfig(input *DescribeEventSourcesConfigInput) (*DescribeEventSourcesConfigOutput, error) { @@ -633,14 +633,13 @@ const opDescribeFeedback = "DescribeFeedback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFeedbackRequest method. +// req, resp := client.DescribeFeedbackRequest(params) // -// // Example sending a request using the DescribeFeedbackRequest method. -// req, resp := client.DescribeFeedbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeFeedback func (c *DevOpsGuru) DescribeFeedbackRequest(input *DescribeFeedbackInput) (req *request.Request, output *DescribeFeedbackOutput) { @@ -672,25 +671,26 @@ func (c *DevOpsGuru) DescribeFeedbackRequest(input *DescribeFeedbackInput) (req // API operation DescribeFeedback for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ResourceNotFoundException -// A requested resource could not be found +// - ResourceNotFoundException +// A requested resource could not be found // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeFeedback func (c *DevOpsGuru) DescribeFeedback(input *DescribeFeedbackInput) (*DescribeFeedbackOutput, error) { @@ -730,14 +730,13 @@ const opDescribeInsight = "DescribeInsight" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInsightRequest method. +// req, resp := client.DescribeInsightRequest(params) // -// // Example sending a request using the DescribeInsightRequest method. -// req, resp := client.DescribeInsightRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsight func (c *DevOpsGuru) DescribeInsightRequest(input *DescribeInsightInput) (req *request.Request, output *DescribeInsightOutput) { @@ -768,25 +767,26 @@ func (c *DevOpsGuru) DescribeInsightRequest(input *DescribeInsightInput) (req *r // API operation DescribeInsight for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ResourceNotFoundException -// A requested resource could not be found +// - ResourceNotFoundException +// A requested resource could not be found // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeInsight func (c *DevOpsGuru) DescribeInsight(input *DescribeInsightInput) (*DescribeInsightOutput, error) { @@ -826,14 +826,13 @@ const opDescribeOrganizationHealth = "DescribeOrganizationHealth" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrganizationHealthRequest method. +// req, resp := client.DescribeOrganizationHealthRequest(params) // -// // Example sending a request using the DescribeOrganizationHealthRequest method. -// req, resp := client.DescribeOrganizationHealthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationHealth func (c *DevOpsGuru) DescribeOrganizationHealthRequest(input *DescribeOrganizationHealthInput) (req *request.Request, output *DescribeOrganizationHealthOutput) { @@ -865,22 +864,23 @@ func (c *DevOpsGuru) DescribeOrganizationHealthRequest(input *DescribeOrganizati // API operation DescribeOrganizationHealth for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationHealth func (c *DevOpsGuru) DescribeOrganizationHealth(input *DescribeOrganizationHealthInput) (*DescribeOrganizationHealthOutput, error) { @@ -920,14 +920,13 @@ const opDescribeOrganizationOverview = "DescribeOrganizationOverview" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrganizationOverviewRequest method. +// req, resp := client.DescribeOrganizationOverviewRequest(params) // -// // Example sending a request using the DescribeOrganizationOverviewRequest method. -// req, resp := client.DescribeOrganizationOverviewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationOverview func (c *DevOpsGuru) DescribeOrganizationOverviewRequest(input *DescribeOrganizationOverviewInput) (req *request.Request, output *DescribeOrganizationOverviewOutput) { @@ -959,22 +958,23 @@ func (c *DevOpsGuru) DescribeOrganizationOverviewRequest(input *DescribeOrganiza // API operation DescribeOrganizationOverview for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationOverview func (c *DevOpsGuru) DescribeOrganizationOverview(input *DescribeOrganizationOverviewInput) (*DescribeOrganizationOverviewOutput, error) { @@ -1014,14 +1014,13 @@ const opDescribeOrganizationResourceCollectionHealth = "DescribeOrganizationReso // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrganizationResourceCollectionHealthRequest method. +// req, resp := client.DescribeOrganizationResourceCollectionHealthRequest(params) // -// // Example sending a request using the DescribeOrganizationResourceCollectionHealthRequest method. -// req, resp := client.DescribeOrganizationResourceCollectionHealthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationResourceCollectionHealth func (c *DevOpsGuru) DescribeOrganizationResourceCollectionHealthRequest(input *DescribeOrganizationResourceCollectionHealthInput) (req *request.Request, output *DescribeOrganizationResourceCollectionHealthOutput) { @@ -1060,22 +1059,23 @@ func (c *DevOpsGuru) DescribeOrganizationResourceCollectionHealthRequest(input * // API operation DescribeOrganizationResourceCollectionHealth for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ThrottlingException +// The request was denied due to a request throttling. +// +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeOrganizationResourceCollectionHealth func (c *DevOpsGuru) DescribeOrganizationResourceCollectionHealth(input *DescribeOrganizationResourceCollectionHealthInput) (*DescribeOrganizationResourceCollectionHealthOutput, error) { @@ -1107,15 +1107,14 @@ func (c *DevOpsGuru) DescribeOrganizationResourceCollectionHealthWithContext(ctx // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOrganizationResourceCollectionHealth operation. -// pageNum := 0 -// err := client.DescribeOrganizationResourceCollectionHealthPages(params, -// func(page *devopsguru.DescribeOrganizationResourceCollectionHealthOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOrganizationResourceCollectionHealth operation. +// pageNum := 0 +// err := client.DescribeOrganizationResourceCollectionHealthPages(params, +// func(page *devopsguru.DescribeOrganizationResourceCollectionHealthOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DevOpsGuru) DescribeOrganizationResourceCollectionHealthPages(input *DescribeOrganizationResourceCollectionHealthInput, fn func(*DescribeOrganizationResourceCollectionHealthOutput, bool) bool) error { return c.DescribeOrganizationResourceCollectionHealthPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1167,14 +1166,13 @@ const opDescribeResourceCollectionHealth = "DescribeResourceCollectionHealth" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeResourceCollectionHealthRequest method. +// req, resp := client.DescribeResourceCollectionHealthRequest(params) // -// // Example sending a request using the DescribeResourceCollectionHealthRequest method. -// req, resp := client.DescribeResourceCollectionHealthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeResourceCollectionHealth func (c *DevOpsGuru) DescribeResourceCollectionHealthRequest(input *DescribeResourceCollectionHealthInput) (req *request.Request, output *DescribeResourceCollectionHealthOutput) { @@ -1219,22 +1217,23 @@ func (c *DevOpsGuru) DescribeResourceCollectionHealthRequest(input *DescribeReso // API operation DescribeResourceCollectionHealth for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeResourceCollectionHealth func (c *DevOpsGuru) DescribeResourceCollectionHealth(input *DescribeResourceCollectionHealthInput) (*DescribeResourceCollectionHealthOutput, error) { @@ -1266,15 +1265,14 @@ func (c *DevOpsGuru) DescribeResourceCollectionHealthWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeResourceCollectionHealth operation. -// pageNum := 0 -// err := client.DescribeResourceCollectionHealthPages(params, -// func(page *devopsguru.DescribeResourceCollectionHealthOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeResourceCollectionHealth operation. +// pageNum := 0 +// err := client.DescribeResourceCollectionHealthPages(params, +// func(page *devopsguru.DescribeResourceCollectionHealthOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DevOpsGuru) DescribeResourceCollectionHealthPages(input *DescribeResourceCollectionHealthInput, fn func(*DescribeResourceCollectionHealthOutput, bool) bool) error { return c.DescribeResourceCollectionHealthPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1326,14 +1324,13 @@ const opDescribeServiceIntegration = "DescribeServiceIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeServiceIntegrationRequest method. +// req, resp := client.DescribeServiceIntegrationRequest(params) // -// // Example sending a request using the DescribeServiceIntegrationRequest method. -// req, resp := client.DescribeServiceIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeServiceIntegration func (c *DevOpsGuru) DescribeServiceIntegrationRequest(input *DescribeServiceIntegrationInput) (req *request.Request, output *DescribeServiceIntegrationOutput) { @@ -1367,22 +1364,23 @@ func (c *DevOpsGuru) DescribeServiceIntegrationRequest(input *DescribeServiceInt // API operation DescribeServiceIntegration for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ThrottlingException +// The request was denied due to a request throttling. +// +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/DescribeServiceIntegration func (c *DevOpsGuru) DescribeServiceIntegration(input *DescribeServiceIntegrationInput) (*DescribeServiceIntegrationOutput, error) { @@ -1422,14 +1420,13 @@ const opGetCostEstimation = "GetCostEstimation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCostEstimationRequest method. +// req, resp := client.GetCostEstimationRequest(params) // -// // Example sending a request using the GetCostEstimationRequest method. -// req, resp := client.GetCostEstimationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetCostEstimation func (c *DevOpsGuru) GetCostEstimationRequest(input *GetCostEstimationInput) (req *request.Request, output *GetCostEstimationOutput) { @@ -1469,25 +1466,26 @@ func (c *DevOpsGuru) GetCostEstimationRequest(input *GetCostEstimationInput) (re // API operation GetCostEstimation for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ResourceNotFoundException -// A requested resource could not be found +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ResourceNotFoundException +// A requested resource could not be found // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ThrottlingException +// The request was denied due to a request throttling. +// +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetCostEstimation func (c *DevOpsGuru) GetCostEstimation(input *GetCostEstimationInput) (*GetCostEstimationOutput, error) { @@ -1519,15 +1517,14 @@ func (c *DevOpsGuru) GetCostEstimationWithContext(ctx aws.Context, input *GetCos // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetCostEstimation operation. -// pageNum := 0 -// err := client.GetCostEstimationPages(params, -// func(page *devopsguru.GetCostEstimationOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetCostEstimation operation. +// pageNum := 0 +// err := client.GetCostEstimationPages(params, +// func(page *devopsguru.GetCostEstimationOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DevOpsGuru) GetCostEstimationPages(input *GetCostEstimationInput, fn func(*GetCostEstimationOutput, bool) bool) error { return c.GetCostEstimationPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1579,14 +1576,13 @@ const opGetResourceCollection = "GetResourceCollection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceCollectionRequest method. +// req, resp := client.GetResourceCollectionRequest(params) // -// // Example sending a request using the GetResourceCollectionRequest method. -// req, resp := client.GetResourceCollectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetResourceCollection func (c *DevOpsGuru) GetResourceCollectionRequest(input *GetResourceCollectionInput) (req *request.Request, output *GetResourceCollectionOutput) { @@ -1629,25 +1625,26 @@ func (c *DevOpsGuru) GetResourceCollectionRequest(input *GetResourceCollectionIn // API operation GetResourceCollection for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ResourceNotFoundException -// A requested resource could not be found +// - ResourceNotFoundException +// A requested resource could not be found // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/GetResourceCollection func (c *DevOpsGuru) GetResourceCollection(input *GetResourceCollectionInput) (*GetResourceCollectionOutput, error) { @@ -1679,15 +1676,14 @@ func (c *DevOpsGuru) GetResourceCollectionWithContext(ctx aws.Context, input *Ge // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetResourceCollection operation. -// pageNum := 0 -// err := client.GetResourceCollectionPages(params, -// func(page *devopsguru.GetResourceCollectionOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetResourceCollection operation. +// pageNum := 0 +// err := client.GetResourceCollectionPages(params, +// func(page *devopsguru.GetResourceCollectionOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DevOpsGuru) GetResourceCollectionPages(input *GetResourceCollectionInput, fn func(*GetResourceCollectionOutput, bool) bool) error { return c.GetResourceCollectionPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1739,14 +1735,13 @@ const opListAnomaliesForInsight = "ListAnomaliesForInsight" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAnomaliesForInsightRequest method. +// req, resp := client.ListAnomaliesForInsightRequest(params) // -// // Example sending a request using the ListAnomaliesForInsightRequest method. -// req, resp := client.ListAnomaliesForInsightRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomaliesForInsight func (c *DevOpsGuru) ListAnomaliesForInsightRequest(input *ListAnomaliesForInsightInput) (req *request.Request, output *ListAnomaliesForInsightOutput) { @@ -1784,25 +1779,26 @@ func (c *DevOpsGuru) ListAnomaliesForInsightRequest(input *ListAnomaliesForInsig // API operation ListAnomaliesForInsight for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ResourceNotFoundException -// A requested resource could not be found +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ResourceNotFoundException +// A requested resource could not be found // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ThrottlingException +// The request was denied due to a request throttling. +// +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListAnomaliesForInsight func (c *DevOpsGuru) ListAnomaliesForInsight(input *ListAnomaliesForInsightInput) (*ListAnomaliesForInsightOutput, error) { @@ -1834,15 +1830,14 @@ func (c *DevOpsGuru) ListAnomaliesForInsightWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAnomaliesForInsight operation. -// pageNum := 0 -// err := client.ListAnomaliesForInsightPages(params, -// func(page *devopsguru.ListAnomaliesForInsightOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAnomaliesForInsight operation. +// pageNum := 0 +// err := client.ListAnomaliesForInsightPages(params, +// func(page *devopsguru.ListAnomaliesForInsightOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DevOpsGuru) ListAnomaliesForInsightPages(input *ListAnomaliesForInsightInput, fn func(*ListAnomaliesForInsightOutput, bool) bool) error { return c.ListAnomaliesForInsightPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1894,14 +1889,13 @@ const opListEvents = "ListEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventsRequest method. +// req, resp := client.ListEventsRequest(params) // -// // Example sending a request using the ListEventsRequest method. -// req, resp := client.ListEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListEvents func (c *DevOpsGuru) ListEventsRequest(input *ListEventsInput) (req *request.Request, output *ListEventsOutput) { @@ -1939,25 +1933,26 @@ func (c *DevOpsGuru) ListEventsRequest(input *ListEventsInput) (req *request.Req // API operation ListEvents for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ResourceNotFoundException -// A requested resource could not be found +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ResourceNotFoundException +// A requested resource could not be found // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ThrottlingException +// The request was denied due to a request throttling. +// +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListEvents func (c *DevOpsGuru) ListEvents(input *ListEventsInput) (*ListEventsOutput, error) { @@ -1989,15 +1984,14 @@ func (c *DevOpsGuru) ListEventsWithContext(ctx aws.Context, input *ListEventsInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEvents operation. -// pageNum := 0 -// err := client.ListEventsPages(params, -// func(page *devopsguru.ListEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEvents operation. +// pageNum := 0 +// err := client.ListEventsPages(params, +// func(page *devopsguru.ListEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DevOpsGuru) ListEventsPages(input *ListEventsInput, fn func(*ListEventsOutput, bool) bool) error { return c.ListEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2049,14 +2043,13 @@ const opListInsights = "ListInsights" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInsightsRequest method. +// req, resp := client.ListInsightsRequest(params) // -// // Example sending a request using the ListInsightsRequest method. -// req, resp := client.ListInsightsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListInsights func (c *DevOpsGuru) ListInsightsRequest(input *ListInsightsInput) (req *request.Request, output *ListInsightsOutput) { @@ -2095,22 +2088,23 @@ func (c *DevOpsGuru) ListInsightsRequest(input *ListInsightsInput) (req *request // API operation ListInsights for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListInsights func (c *DevOpsGuru) ListInsights(input *ListInsightsInput) (*ListInsightsOutput, error) { @@ -2142,15 +2136,14 @@ func (c *DevOpsGuru) ListInsightsWithContext(ctx aws.Context, input *ListInsight // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInsights operation. -// pageNum := 0 -// err := client.ListInsightsPages(params, -// func(page *devopsguru.ListInsightsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInsights operation. +// pageNum := 0 +// err := client.ListInsightsPages(params, +// func(page *devopsguru.ListInsightsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DevOpsGuru) ListInsightsPages(input *ListInsightsInput, fn func(*ListInsightsOutput, bool) bool) error { return c.ListInsightsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2202,14 +2195,13 @@ const opListNotificationChannels = "ListNotificationChannels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNotificationChannelsRequest method. +// req, resp := client.ListNotificationChannelsRequest(params) // -// // Example sending a request using the ListNotificationChannelsRequest method. -// req, resp := client.ListNotificationChannelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListNotificationChannels func (c *DevOpsGuru) ListNotificationChannelsRequest(input *ListNotificationChannelsInput) (req *request.Request, output *ListNotificationChannelsOutput) { @@ -2250,22 +2242,23 @@ func (c *DevOpsGuru) ListNotificationChannelsRequest(input *ListNotificationChan // API operation ListNotificationChannels for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ThrottlingException +// The request was denied due to a request throttling. +// +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListNotificationChannels func (c *DevOpsGuru) ListNotificationChannels(input *ListNotificationChannelsInput) (*ListNotificationChannelsOutput, error) { @@ -2297,15 +2290,14 @@ func (c *DevOpsGuru) ListNotificationChannelsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNotificationChannels operation. -// pageNum := 0 -// err := client.ListNotificationChannelsPages(params, -// func(page *devopsguru.ListNotificationChannelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNotificationChannels operation. +// pageNum := 0 +// err := client.ListNotificationChannelsPages(params, +// func(page *devopsguru.ListNotificationChannelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DevOpsGuru) ListNotificationChannelsPages(input *ListNotificationChannelsInput, fn func(*ListNotificationChannelsOutput, bool) bool) error { return c.ListNotificationChannelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2357,14 +2349,13 @@ const opListOrganizationInsights = "ListOrganizationInsights" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOrganizationInsightsRequest method. +// req, resp := client.ListOrganizationInsightsRequest(params) // -// // Example sending a request using the ListOrganizationInsightsRequest method. -// req, resp := client.ListOrganizationInsightsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListOrganizationInsights func (c *DevOpsGuru) ListOrganizationInsightsRequest(input *ListOrganizationInsightsInput) (req *request.Request, output *ListOrganizationInsightsOutput) { @@ -2401,22 +2392,23 @@ func (c *DevOpsGuru) ListOrganizationInsightsRequest(input *ListOrganizationInsi // API operation ListOrganizationInsights for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ThrottlingException +// The request was denied due to a request throttling. +// +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListOrganizationInsights func (c *DevOpsGuru) ListOrganizationInsights(input *ListOrganizationInsightsInput) (*ListOrganizationInsightsOutput, error) { @@ -2448,15 +2440,14 @@ func (c *DevOpsGuru) ListOrganizationInsightsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOrganizationInsights operation. -// pageNum := 0 -// err := client.ListOrganizationInsightsPages(params, -// func(page *devopsguru.ListOrganizationInsightsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOrganizationInsights operation. +// pageNum := 0 +// err := client.ListOrganizationInsightsPages(params, +// func(page *devopsguru.ListOrganizationInsightsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DevOpsGuru) ListOrganizationInsightsPages(input *ListOrganizationInsightsInput, fn func(*ListOrganizationInsightsOutput, bool) bool) error { return c.ListOrganizationInsightsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2508,14 +2499,13 @@ const opListRecommendations = "ListRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRecommendationsRequest method. +// req, resp := client.ListRecommendationsRequest(params) // -// // Example sending a request using the ListRecommendationsRequest method. -// req, resp := client.ListRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendations func (c *DevOpsGuru) ListRecommendationsRequest(input *ListRecommendationsInput) (req *request.Request, output *ListRecommendationsOutput) { @@ -2553,25 +2543,26 @@ func (c *DevOpsGuru) ListRecommendationsRequest(input *ListRecommendationsInput) // API operation ListRecommendations for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ResourceNotFoundException -// A requested resource could not be found +// - ResourceNotFoundException +// A requested resource could not be found // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/ListRecommendations func (c *DevOpsGuru) ListRecommendations(input *ListRecommendationsInput) (*ListRecommendationsOutput, error) { @@ -2603,15 +2594,14 @@ func (c *DevOpsGuru) ListRecommendationsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRecommendations operation. -// pageNum := 0 -// err := client.ListRecommendationsPages(params, -// func(page *devopsguru.ListRecommendationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRecommendations operation. +// pageNum := 0 +// err := client.ListRecommendationsPages(params, +// func(page *devopsguru.ListRecommendationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DevOpsGuru) ListRecommendationsPages(input *ListRecommendationsInput, fn func(*ListRecommendationsOutput, bool) bool) error { return c.ListRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2663,14 +2653,13 @@ const opPutFeedback = "PutFeedback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutFeedbackRequest method. +// req, resp := client.PutFeedbackRequest(params) // -// // Example sending a request using the PutFeedbackRequest method. -// req, resp := client.PutFeedbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/PutFeedback func (c *DevOpsGuru) PutFeedbackRequest(input *PutFeedbackInput) (req *request.Request, output *PutFeedbackOutput) { @@ -2702,28 +2691,29 @@ func (c *DevOpsGuru) PutFeedbackRequest(input *PutFeedbackInput) (req *request.R // API operation PutFeedback for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * ConflictException -// An exception that is thrown when a conflict occurs. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - ConflictException +// An exception that is thrown when a conflict occurs. // -// * ResourceNotFoundException -// A requested resource could not be found +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ResourceNotFoundException +// A requested resource could not be found // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ThrottlingException +// The request was denied due to a request throttling. +// +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/PutFeedback func (c *DevOpsGuru) PutFeedback(input *PutFeedbackInput) (*PutFeedbackOutput, error) { @@ -2763,14 +2753,13 @@ const opRemoveNotificationChannel = "RemoveNotificationChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveNotificationChannelRequest method. +// req, resp := client.RemoveNotificationChannelRequest(params) // -// // Example sending a request using the RemoveNotificationChannelRequest method. -// req, resp := client.RemoveNotificationChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RemoveNotificationChannel func (c *DevOpsGuru) RemoveNotificationChannelRequest(input *RemoveNotificationChannelInput) (req *request.Request, output *RemoveNotificationChannelOutput) { @@ -2804,28 +2793,29 @@ func (c *DevOpsGuru) RemoveNotificationChannelRequest(input *RemoveNotificationC // API operation RemoveNotificationChannel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * ConflictException -// An exception that is thrown when a conflict occurs. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - ConflictException +// An exception that is thrown when a conflict occurs. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ResourceNotFoundException -// A requested resource could not be found +// - ResourceNotFoundException +// A requested resource could not be found // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/RemoveNotificationChannel func (c *DevOpsGuru) RemoveNotificationChannel(input *RemoveNotificationChannelInput) (*RemoveNotificationChannelOutput, error) { @@ -2865,14 +2855,13 @@ const opSearchInsights = "SearchInsights" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchInsightsRequest method. +// req, resp := client.SearchInsightsRequest(params) // -// // Example sending a request using the SearchInsightsRequest method. -// req, resp := client.SearchInsightsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsights func (c *DevOpsGuru) SearchInsightsRequest(input *SearchInsightsInput) (req *request.Request, output *SearchInsightsOutput) { @@ -2915,22 +2904,23 @@ func (c *DevOpsGuru) SearchInsightsRequest(input *SearchInsightsInput) (req *req // API operation SearchInsights for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchInsights func (c *DevOpsGuru) SearchInsights(input *SearchInsightsInput) (*SearchInsightsOutput, error) { @@ -2962,15 +2952,14 @@ func (c *DevOpsGuru) SearchInsightsWithContext(ctx aws.Context, input *SearchIns // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchInsights operation. -// pageNum := 0 -// err := client.SearchInsightsPages(params, -// func(page *devopsguru.SearchInsightsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchInsights operation. +// pageNum := 0 +// err := client.SearchInsightsPages(params, +// func(page *devopsguru.SearchInsightsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DevOpsGuru) SearchInsightsPages(input *SearchInsightsInput, fn func(*SearchInsightsOutput, bool) bool) error { return c.SearchInsightsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3022,14 +3011,13 @@ const opSearchOrganizationInsights = "SearchOrganizationInsights" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchOrganizationInsightsRequest method. +// req, resp := client.SearchOrganizationInsightsRequest(params) // -// // Example sending a request using the SearchOrganizationInsightsRequest method. -// req, resp := client.SearchOrganizationInsightsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchOrganizationInsights func (c *DevOpsGuru) SearchOrganizationInsightsRequest(input *SearchOrganizationInsightsInput) (req *request.Request, output *SearchOrganizationInsightsOutput) { @@ -3072,22 +3060,23 @@ func (c *DevOpsGuru) SearchOrganizationInsightsRequest(input *SearchOrganization // API operation SearchOrganizationInsights for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ThrottlingException +// The request was denied due to a request throttling. +// +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/SearchOrganizationInsights func (c *DevOpsGuru) SearchOrganizationInsights(input *SearchOrganizationInsightsInput) (*SearchOrganizationInsightsOutput, error) { @@ -3119,15 +3108,14 @@ func (c *DevOpsGuru) SearchOrganizationInsightsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchOrganizationInsights operation. -// pageNum := 0 -// err := client.SearchOrganizationInsightsPages(params, -// func(page *devopsguru.SearchOrganizationInsightsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchOrganizationInsights operation. +// pageNum := 0 +// err := client.SearchOrganizationInsightsPages(params, +// func(page *devopsguru.SearchOrganizationInsightsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DevOpsGuru) SearchOrganizationInsightsPages(input *SearchOrganizationInsightsInput, fn func(*SearchOrganizationInsightsOutput, bool) bool) error { return c.SearchOrganizationInsightsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3179,14 +3167,13 @@ const opStartCostEstimation = "StartCostEstimation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartCostEstimationRequest method. +// req, resp := client.StartCostEstimationRequest(params) // -// // Example sending a request using the StartCostEstimationRequest method. -// req, resp := client.StartCostEstimationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/StartCostEstimation func (c *DevOpsGuru) StartCostEstimationRequest(input *StartCostEstimationInput) (req *request.Request, output *StartCostEstimationOutput) { @@ -3219,28 +3206,29 @@ func (c *DevOpsGuru) StartCostEstimationRequest(input *StartCostEstimationInput) // API operation StartCostEstimation for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * ConflictException -// An exception that is thrown when a conflict occurs. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - ConflictException +// An exception that is thrown when a conflict occurs. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ResourceNotFoundException -// A requested resource could not be found +// - ResourceNotFoundException +// A requested resource could not be found // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/StartCostEstimation func (c *DevOpsGuru) StartCostEstimation(input *StartCostEstimationInput) (*StartCostEstimationOutput, error) { @@ -3280,14 +3268,13 @@ const opUpdateEventSourcesConfig = "UpdateEventSourcesConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEventSourcesConfigRequest method. +// req, resp := client.UpdateEventSourcesConfigRequest(params) // -// // Example sending a request using the UpdateEventSourcesConfigRequest method. -// req, resp := client.UpdateEventSourcesConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateEventSourcesConfig func (c *DevOpsGuru) UpdateEventSourcesConfigRequest(input *UpdateEventSourcesConfigInput) (req *request.Request, output *UpdateEventSourcesConfigOutput) { @@ -3322,22 +3309,23 @@ func (c *DevOpsGuru) UpdateEventSourcesConfigRequest(input *UpdateEventSourcesCo // API operation UpdateEventSourcesConfig for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateEventSourcesConfig func (c *DevOpsGuru) UpdateEventSourcesConfig(input *UpdateEventSourcesConfigInput) (*UpdateEventSourcesConfigOutput, error) { @@ -3377,14 +3365,13 @@ const opUpdateResourceCollection = "UpdateResourceCollection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResourceCollectionRequest method. +// req, resp := client.UpdateResourceCollectionRequest(params) // -// // Example sending a request using the UpdateResourceCollectionRequest method. -// req, resp := client.UpdateResourceCollectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateResourceCollection func (c *DevOpsGuru) UpdateResourceCollectionRequest(input *UpdateResourceCollectionInput) (req *request.Request, output *UpdateResourceCollectionOutput) { @@ -3423,25 +3410,26 @@ func (c *DevOpsGuru) UpdateResourceCollectionRequest(input *UpdateResourceCollec // API operation UpdateResourceCollection for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * ConflictException -// An exception that is thrown when a conflict occurs. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - ConflictException +// An exception that is thrown when a conflict occurs. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateResourceCollection func (c *DevOpsGuru) UpdateResourceCollection(input *UpdateResourceCollectionInput) (*UpdateResourceCollectionOutput, error) { @@ -3481,14 +3469,13 @@ const opUpdateServiceIntegration = "UpdateServiceIntegration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServiceIntegrationRequest method. +// req, resp := client.UpdateServiceIntegrationRequest(params) // -// // Example sending a request using the UpdateServiceIntegrationRequest method. -// req, resp := client.UpdateServiceIntegrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateServiceIntegration func (c *DevOpsGuru) UpdateServiceIntegrationRequest(input *UpdateServiceIntegrationInput) (req *request.Request, output *UpdateServiceIntegrationOutput) { @@ -3523,25 +3510,26 @@ func (c *DevOpsGuru) UpdateServiceIntegrationRequest(input *UpdateServiceIntegra // API operation UpdateServiceIntegration for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * ConflictException -// An exception that is thrown when a conflict occurs. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - ConflictException +// An exception that is thrown when a conflict occurs. // -// * InternalServerException -// An internal failure in an Amazon service occurred. +// - InternalServerException +// An internal failure in an Amazon service occurred. // -// * ThrottlingException -// The request was denied due to a request throttling. +// - ThrottlingException +// The request was denied due to a request throttling. // -// * ValidationException -// Contains information about data passed in to a field during a request that -// is not valid. +// - ValidationException +// Contains information about data passed in to a field during a request that +// is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/devops-guru-2020-12-01/UpdateServiceIntegration func (c *DevOpsGuru) UpdateServiceIntegration(input *UpdateServiceIntegrationInput) (*UpdateServiceIntegrationOutput, error) { @@ -7968,11 +7956,11 @@ func (s *OpsCenterIntegrationConfig) SetOptInStatus(v string) *OpsCenterIntegrat // measured at that time point. Examples include SQL, Wait event, User, and // Host. // -// * To learn more about Performance Insights and Amazon Aurora DB instances, -// go to the Amazon Aurora User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html). +// - To learn more about Performance Insights and Amazon Aurora DB instances, +// go to the Amazon Aurora User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html). // -// * To learn more about Performance Insights and Amazon RDS DB instances, -// go to the Amazon RDS User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html). +// - To learn more about Performance Insights and Amazon RDS DB instances, +// go to the Amazon RDS User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html). type PerformanceInsightsMetricDimensionGroup struct { _ struct{} `type:"structure"` @@ -8107,11 +8095,11 @@ func (s *PerformanceInsightsMetricDimensionGroup) SetLimit(v int64) *Performance // measured at that time point. Examples include SQL, Wait event, User, and // Host. // -// * To learn more about Performance Insights and Amazon Aurora DB instances, -// go to the Amazon Aurora User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html). +// - To learn more about Performance Insights and Amazon Aurora DB instances, +// go to the Amazon Aurora User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html). // -// * To learn more about Performance Insights and Amazon RDS DB instances, -// go to the Amazon RDS User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html). +// - To learn more about Performance Insights and Amazon RDS DB instances, +// go to the Amazon RDS User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html). type PerformanceInsightsMetricQuery struct { _ struct{} `type:"structure"` @@ -8198,11 +8186,11 @@ func (s *PerformanceInsightsMetricQuery) SetMetric(v string) *PerformanceInsight // measured at that time point. Examples include SQL, Wait event, User, and // Host. // -// * To learn more about Performance Insights and Amazon Aurora DB instances, -// go to the Amazon Aurora User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html). +// - To learn more about Performance Insights and Amazon Aurora DB instances, +// go to the Amazon Aurora User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html). // -// * To learn more about Performance Insights and Amazon RDS DB instances, -// go to the Amazon RDS User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html). +// - To learn more about Performance Insights and Amazon RDS DB instances, +// go to the Amazon RDS User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html). type PerformanceInsightsMetricsDetail struct { _ struct{} `type:"structure"` @@ -11547,12 +11535,12 @@ func (s *StartTimeRange) SetToTime(v time.Time) *StartTimeRange { // // Each Amazon Web Services tag has two parts. // -// * A tag key (for example, CostCenter, Environment, Project, or Secret). -// Tag keys are case-sensitive. +// - A tag key (for example, CostCenter, Environment, Project, or Secret). +// Tag keys are case-sensitive. // -// * An optional field known as a tag value (for example, 111122223333, Production, -// or a team name). Omitting the tag value is the same as using an empty -// string. Like tag keys, tag values are case-sensitive. +// - An optional field known as a tag value (for example, 111122223333, Production, +// or a team name). Omitting the tag value is the same as using an empty +// string. Like tag keys, tag values are case-sensitive. // // Together these are known as key-value pairs. // diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/devopsguruiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/devopsguruiface/interface.go index cde86456d7a5..b06ccc9cd4a3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/devopsguruiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/devopsguruiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon DevOps Guru. -// func myFunc(svc devopsguruiface.DevOpsGuruAPI) bool { -// // Make svc.AddNotificationChannel request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon DevOps Guru. +// func myFunc(svc devopsguruiface.DevOpsGuruAPI) bool { +// // Make svc.AddNotificationChannel request +// } // -// func main() { -// sess := session.New() -// svc := devopsguru.New(sess) +// func main() { +// sess := session.New() +// svc := devopsguru.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockDevOpsGuruClient struct { -// devopsguruiface.DevOpsGuruAPI -// } -// func (m *mockDevOpsGuruClient) AddNotificationChannel(input *devopsguru.AddNotificationChannelInput) (*devopsguru.AddNotificationChannelOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockDevOpsGuruClient struct { +// devopsguruiface.DevOpsGuruAPI +// } +// func (m *mockDevOpsGuruClient) AddNotificationChannel(input *devopsguru.AddNotificationChannelInput) (*devopsguru.AddNotificationChannelOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockDevOpsGuruClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockDevOpsGuruClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/doc.go index 03acc3e77475..25ef6602f7cf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/doc.go @@ -25,7 +25,7 @@ // See devopsguru package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/devopsguru/ // -// Using the Client +// # Using the Client // // To contact Amazon DevOps Guru with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/service.go index 70930cd308e1..c3ee05b3b6c9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/devopsguru/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a DevOpsGuru client from just a session. -// svc := devopsguru.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a DevOpsGuru client with additional configuration -// svc := devopsguru.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a DevOpsGuru client from just a session. +// svc := devopsguru.New(mySession) +// +// // Create a DevOpsGuru client with additional configuration +// svc := devopsguru.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *DevOpsGuru { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/api.go index 76917946e4bf..61cf53a11316 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/api.go @@ -29,14 +29,13 @@ const opAcceptDirectConnectGatewayAssociationProposal = "AcceptDirectConnectGate // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptDirectConnectGatewayAssociationProposalRequest method. +// req, resp := client.AcceptDirectConnectGatewayAssociationProposalRequest(params) // -// // Example sending a request using the AcceptDirectConnectGatewayAssociationProposalRequest method. -// req, resp := client.AcceptDirectConnectGatewayAssociationProposalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AcceptDirectConnectGatewayAssociationProposal func (c *DirectConnect) AcceptDirectConnectGatewayAssociationProposalRequest(input *AcceptDirectConnectGatewayAssociationProposalInput) (req *request.Request, output *AcceptDirectConnectGatewayAssociationProposalOutput) { @@ -68,11 +67,12 @@ func (c *DirectConnect) AcceptDirectConnectGatewayAssociationProposalRequest(inp // API operation AcceptDirectConnectGatewayAssociationProposal for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AcceptDirectConnectGatewayAssociationProposal func (c *DirectConnect) AcceptDirectConnectGatewayAssociationProposal(input *AcceptDirectConnectGatewayAssociationProposalInput) (*AcceptDirectConnectGatewayAssociationProposalOutput, error) { @@ -112,14 +112,13 @@ const opAllocateConnectionOnInterconnect = "AllocateConnectionOnInterconnect" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AllocateConnectionOnInterconnectRequest method. +// req, resp := client.AllocateConnectionOnInterconnectRequest(params) // -// // Example sending a request using the AllocateConnectionOnInterconnectRequest method. -// req, resp := client.AllocateConnectionOnInterconnectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateConnectionOnInterconnect // @@ -162,11 +161,12 @@ func (c *DirectConnect) AllocateConnectionOnInterconnectRequest(input *AllocateC // API operation AllocateConnectionOnInterconnect for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateConnectionOnInterconnect // @@ -210,14 +210,13 @@ const opAllocateHostedConnection = "AllocateHostedConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AllocateHostedConnectionRequest method. +// req, resp := client.AllocateHostedConnectionRequest(params) // -// // Example sending a request using the AllocateHostedConnectionRequest method. -// req, resp := client.AllocateHostedConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnection func (c *DirectConnect) AllocateHostedConnectionRequest(input *AllocateHostedConnectionInput) (req *request.Request, output *Connection) { @@ -257,17 +256,18 @@ func (c *DirectConnect) AllocateHostedConnectionRequest(input *AllocateHostedCon // API operation AllocateHostedConnection for usage and error information. // // Returned Error Types: -// * DuplicateTagKeysException -// A tag key was specified more than once. // -// * TooManyTagsException -// You have reached the limit on the number of tags that can be assigned. +// - DuplicateTagKeysException +// A tag key was specified more than once. +// +// - TooManyTagsException +// You have reached the limit on the number of tags that can be assigned. // -// * ServerException -// A server-side error occurred. +// - ServerException +// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnection func (c *DirectConnect) AllocateHostedConnection(input *AllocateHostedConnectionInput) (*Connection, error) { @@ -307,14 +307,13 @@ const opAllocatePrivateVirtualInterface = "AllocatePrivateVirtualInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AllocatePrivateVirtualInterfaceRequest method. +// req, resp := client.AllocatePrivateVirtualInterfaceRequest(params) // -// // Example sending a request using the AllocatePrivateVirtualInterfaceRequest method. -// req, resp := client.AllocatePrivateVirtualInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePrivateVirtualInterface func (c *DirectConnect) AllocatePrivateVirtualInterfaceRequest(input *AllocatePrivateVirtualInterfaceInput) (req *request.Request, output *VirtualInterface) { @@ -350,17 +349,18 @@ func (c *DirectConnect) AllocatePrivateVirtualInterfaceRequest(input *AllocatePr // API operation AllocatePrivateVirtualInterface for usage and error information. // // Returned Error Types: -// * DuplicateTagKeysException -// A tag key was specified more than once. // -// * TooManyTagsException -// You have reached the limit on the number of tags that can be assigned. +// - DuplicateTagKeysException +// A tag key was specified more than once. +// +// - TooManyTagsException +// You have reached the limit on the number of tags that can be assigned. // -// * ServerException -// A server-side error occurred. +// - ServerException +// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePrivateVirtualInterface func (c *DirectConnect) AllocatePrivateVirtualInterface(input *AllocatePrivateVirtualInterfaceInput) (*VirtualInterface, error) { @@ -400,14 +400,13 @@ const opAllocatePublicVirtualInterface = "AllocatePublicVirtualInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AllocatePublicVirtualInterfaceRequest method. +// req, resp := client.AllocatePublicVirtualInterfaceRequest(params) // -// // Example sending a request using the AllocatePublicVirtualInterfaceRequest method. -// req, resp := client.AllocatePublicVirtualInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePublicVirtualInterface func (c *DirectConnect) AllocatePublicVirtualInterfaceRequest(input *AllocatePublicVirtualInterfaceInput) (req *request.Request, output *VirtualInterface) { @@ -451,17 +450,18 @@ func (c *DirectConnect) AllocatePublicVirtualInterfaceRequest(input *AllocatePub // API operation AllocatePublicVirtualInterface for usage and error information. // // Returned Error Types: -// * DuplicateTagKeysException -// A tag key was specified more than once. // -// * TooManyTagsException -// You have reached the limit on the number of tags that can be assigned. +// - DuplicateTagKeysException +// A tag key was specified more than once. +// +// - TooManyTagsException +// You have reached the limit on the number of tags that can be assigned. // -// * ServerException -// A server-side error occurred. +// - ServerException +// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePublicVirtualInterface func (c *DirectConnect) AllocatePublicVirtualInterface(input *AllocatePublicVirtualInterfaceInput) (*VirtualInterface, error) { @@ -501,14 +501,13 @@ const opAllocateTransitVirtualInterface = "AllocateTransitVirtualInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AllocateTransitVirtualInterfaceRequest method. +// req, resp := client.AllocateTransitVirtualInterfaceRequest(params) // -// // Example sending a request using the AllocateTransitVirtualInterfaceRequest method. -// req, resp := client.AllocateTransitVirtualInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateTransitVirtualInterface func (c *DirectConnect) AllocateTransitVirtualInterfaceRequest(input *AllocateTransitVirtualInterfaceInput) (req *request.Request, output *AllocateTransitVirtualInterfaceOutput) { @@ -549,17 +548,18 @@ func (c *DirectConnect) AllocateTransitVirtualInterfaceRequest(input *AllocateTr // API operation AllocateTransitVirtualInterface for usage and error information. // // Returned Error Types: -// * DuplicateTagKeysException -// A tag key was specified more than once. // -// * TooManyTagsException -// You have reached the limit on the number of tags that can be assigned. +// - DuplicateTagKeysException +// A tag key was specified more than once. +// +// - TooManyTagsException +// You have reached the limit on the number of tags that can be assigned. // -// * ServerException -// A server-side error occurred. +// - ServerException +// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateTransitVirtualInterface func (c *DirectConnect) AllocateTransitVirtualInterface(input *AllocateTransitVirtualInterfaceInput) (*AllocateTransitVirtualInterfaceOutput, error) { @@ -599,14 +599,13 @@ const opAssociateConnectionWithLag = "AssociateConnectionWithLag" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateConnectionWithLagRequest method. +// req, resp := client.AssociateConnectionWithLagRequest(params) // -// // Example sending a request using the AssociateConnectionWithLagRequest method. -// req, resp := client.AssociateConnectionWithLagRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateConnectionWithLag func (c *DirectConnect) AssociateConnectionWithLagRequest(input *AssociateConnectionWithLagInput) (req *request.Request, output *Connection) { @@ -653,11 +652,12 @@ func (c *DirectConnect) AssociateConnectionWithLagRequest(input *AssociateConnec // API operation AssociateConnectionWithLag for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateConnectionWithLag func (c *DirectConnect) AssociateConnectionWithLag(input *AssociateConnectionWithLagInput) (*Connection, error) { @@ -697,14 +697,13 @@ const opAssociateHostedConnection = "AssociateHostedConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateHostedConnectionRequest method. +// req, resp := client.AssociateHostedConnectionRequest(params) // -// // Example sending a request using the AssociateHostedConnectionRequest method. -// req, resp := client.AssociateHostedConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateHostedConnection func (c *DirectConnect) AssociateHostedConnectionRequest(input *AssociateHostedConnectionInput) (req *request.Request, output *Connection) { @@ -741,11 +740,12 @@ func (c *DirectConnect) AssociateHostedConnectionRequest(input *AssociateHostedC // API operation AssociateHostedConnection for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateHostedConnection func (c *DirectConnect) AssociateHostedConnection(input *AssociateHostedConnectionInput) (*Connection, error) { @@ -785,14 +785,13 @@ const opAssociateMacSecKey = "AssociateMacSecKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateMacSecKeyRequest method. +// req, resp := client.AssociateMacSecKeyRequest(params) // -// // Example sending a request using the AssociateMacSecKeyRequest method. -// req, resp := client.AssociateMacSecKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateMacSecKey func (c *DirectConnect) AssociateMacSecKeyRequest(input *AssociateMacSecKeyInput) (req *request.Request, output *AssociateMacSecKeyOutput) { @@ -831,11 +830,12 @@ func (c *DirectConnect) AssociateMacSecKeyRequest(input *AssociateMacSecKeyInput // API operation AssociateMacSecKey for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateMacSecKey func (c *DirectConnect) AssociateMacSecKey(input *AssociateMacSecKeyInput) (*AssociateMacSecKeyOutput, error) { @@ -875,14 +875,13 @@ const opAssociateVirtualInterface = "AssociateVirtualInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateVirtualInterfaceRequest method. +// req, resp := client.AssociateVirtualInterfaceRequest(params) // -// // Example sending a request using the AssociateVirtualInterfaceRequest method. -// req, resp := client.AssociateVirtualInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateVirtualInterface func (c *DirectConnect) AssociateVirtualInterfaceRequest(input *AssociateVirtualInterfaceInput) (req *request.Request, output *VirtualInterface) { @@ -926,11 +925,12 @@ func (c *DirectConnect) AssociateVirtualInterfaceRequest(input *AssociateVirtual // API operation AssociateVirtualInterface for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateVirtualInterface func (c *DirectConnect) AssociateVirtualInterface(input *AssociateVirtualInterfaceInput) (*VirtualInterface, error) { @@ -970,14 +970,13 @@ const opConfirmConnection = "ConfirmConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfirmConnectionRequest method. +// req, resp := client.ConfirmConnectionRequest(params) // -// // Example sending a request using the ConfirmConnectionRequest method. -// req, resp := client.ConfirmConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnection func (c *DirectConnect) ConfirmConnectionRequest(input *ConfirmConnectionInput) (req *request.Request, output *ConfirmConnectionOutput) { @@ -1012,11 +1011,12 @@ func (c *DirectConnect) ConfirmConnectionRequest(input *ConfirmConnectionInput) // API operation ConfirmConnection for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnection func (c *DirectConnect) ConfirmConnection(input *ConfirmConnectionInput) (*ConfirmConnectionOutput, error) { @@ -1056,14 +1056,13 @@ const opConfirmCustomerAgreement = "ConfirmCustomerAgreement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfirmCustomerAgreementRequest method. +// req, resp := client.ConfirmCustomerAgreementRequest(params) // -// // Example sending a request using the ConfirmCustomerAgreementRequest method. -// req, resp := client.ConfirmCustomerAgreementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmCustomerAgreement func (c *DirectConnect) ConfirmCustomerAgreementRequest(input *ConfirmCustomerAgreementInput) (req *request.Request, output *ConfirmCustomerAgreementOutput) { @@ -1095,11 +1094,12 @@ func (c *DirectConnect) ConfirmCustomerAgreementRequest(input *ConfirmCustomerAg // API operation ConfirmCustomerAgreement for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmCustomerAgreement func (c *DirectConnect) ConfirmCustomerAgreement(input *ConfirmCustomerAgreementInput) (*ConfirmCustomerAgreementOutput, error) { @@ -1139,14 +1139,13 @@ const opConfirmPrivateVirtualInterface = "ConfirmPrivateVirtualInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfirmPrivateVirtualInterfaceRequest method. +// req, resp := client.ConfirmPrivateVirtualInterfaceRequest(params) // -// // Example sending a request using the ConfirmPrivateVirtualInterfaceRequest method. -// req, resp := client.ConfirmPrivateVirtualInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterface func (c *DirectConnect) ConfirmPrivateVirtualInterfaceRequest(input *ConfirmPrivateVirtualInterfaceInput) (req *request.Request, output *ConfirmPrivateVirtualInterfaceOutput) { @@ -1182,11 +1181,12 @@ func (c *DirectConnect) ConfirmPrivateVirtualInterfaceRequest(input *ConfirmPriv // API operation ConfirmPrivateVirtualInterface for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterface func (c *DirectConnect) ConfirmPrivateVirtualInterface(input *ConfirmPrivateVirtualInterfaceInput) (*ConfirmPrivateVirtualInterfaceOutput, error) { @@ -1226,14 +1226,13 @@ const opConfirmPublicVirtualInterface = "ConfirmPublicVirtualInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfirmPublicVirtualInterfaceRequest method. +// req, resp := client.ConfirmPublicVirtualInterfaceRequest(params) // -// // Example sending a request using the ConfirmPublicVirtualInterfaceRequest method. -// req, resp := client.ConfirmPublicVirtualInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterface func (c *DirectConnect) ConfirmPublicVirtualInterfaceRequest(input *ConfirmPublicVirtualInterfaceInput) (req *request.Request, output *ConfirmPublicVirtualInterfaceOutput) { @@ -1268,11 +1267,12 @@ func (c *DirectConnect) ConfirmPublicVirtualInterfaceRequest(input *ConfirmPubli // API operation ConfirmPublicVirtualInterface for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterface func (c *DirectConnect) ConfirmPublicVirtualInterface(input *ConfirmPublicVirtualInterfaceInput) (*ConfirmPublicVirtualInterfaceOutput, error) { @@ -1312,14 +1312,13 @@ const opConfirmTransitVirtualInterface = "ConfirmTransitVirtualInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfirmTransitVirtualInterfaceRequest method. +// req, resp := client.ConfirmTransitVirtualInterfaceRequest(params) // -// // Example sending a request using the ConfirmTransitVirtualInterfaceRequest method. -// req, resp := client.ConfirmTransitVirtualInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmTransitVirtualInterface func (c *DirectConnect) ConfirmTransitVirtualInterfaceRequest(input *ConfirmTransitVirtualInterfaceInput) (req *request.Request, output *ConfirmTransitVirtualInterfaceOutput) { @@ -1354,11 +1353,12 @@ func (c *DirectConnect) ConfirmTransitVirtualInterfaceRequest(input *ConfirmTran // API operation ConfirmTransitVirtualInterface for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmTransitVirtualInterface func (c *DirectConnect) ConfirmTransitVirtualInterface(input *ConfirmTransitVirtualInterfaceInput) (*ConfirmTransitVirtualInterfaceOutput, error) { @@ -1398,14 +1398,13 @@ const opCreateBGPPeer = "CreateBGPPeer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBGPPeerRequest method. +// req, resp := client.CreateBGPPeerRequest(params) // -// // Example sending a request using the CreateBGPPeerRequest method. -// req, resp := client.CreateBGPPeerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeer func (c *DirectConnect) CreateBGPPeerRequest(input *CreateBGPPeerInput) (req *request.Request, output *CreateBGPPeerOutput) { @@ -1451,11 +1450,12 @@ func (c *DirectConnect) CreateBGPPeerRequest(input *CreateBGPPeerInput) (req *re // API operation CreateBGPPeer for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeer func (c *DirectConnect) CreateBGPPeer(input *CreateBGPPeerInput) (*CreateBGPPeerOutput, error) { @@ -1495,14 +1495,13 @@ const opCreateConnection = "CreateConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConnectionRequest method. +// req, resp := client.CreateConnectionRequest(params) // -// // Example sending a request using the CreateConnectionRequest method. -// req, resp := client.CreateConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnection func (c *DirectConnect) CreateConnectionRequest(input *CreateConnectionInput) (req *request.Request, output *Connection) { @@ -1546,17 +1545,18 @@ func (c *DirectConnect) CreateConnectionRequest(input *CreateConnectionInput) (r // API operation CreateConnection for usage and error information. // // Returned Error Types: -// * DuplicateTagKeysException -// A tag key was specified more than once. // -// * TooManyTagsException -// You have reached the limit on the number of tags that can be assigned. +// - DuplicateTagKeysException +// A tag key was specified more than once. +// +// - TooManyTagsException +// You have reached the limit on the number of tags that can be assigned. // -// * ServerException -// A server-side error occurred. +// - ServerException +// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnection func (c *DirectConnect) CreateConnection(input *CreateConnectionInput) (*Connection, error) { @@ -1596,14 +1596,13 @@ const opCreateDirectConnectGateway = "CreateDirectConnectGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDirectConnectGatewayRequest method. +// req, resp := client.CreateDirectConnectGatewayRequest(params) // -// // Example sending a request using the CreateDirectConnectGatewayRequest method. -// req, resp := client.CreateDirectConnectGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGateway func (c *DirectConnect) CreateDirectConnectGatewayRequest(input *CreateDirectConnectGatewayInput) (req *request.Request, output *CreateDirectConnectGatewayOutput) { @@ -1641,11 +1640,12 @@ func (c *DirectConnect) CreateDirectConnectGatewayRequest(input *CreateDirectCon // API operation CreateDirectConnectGateway for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGateway func (c *DirectConnect) CreateDirectConnectGateway(input *CreateDirectConnectGatewayInput) (*CreateDirectConnectGatewayOutput, error) { @@ -1685,14 +1685,13 @@ const opCreateDirectConnectGatewayAssociation = "CreateDirectConnectGatewayAssoc // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDirectConnectGatewayAssociationRequest method. +// req, resp := client.CreateDirectConnectGatewayAssociationRequest(params) // -// // Example sending a request using the CreateDirectConnectGatewayAssociationRequest method. -// req, resp := client.CreateDirectConnectGatewayAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociation func (c *DirectConnect) CreateDirectConnectGatewayAssociationRequest(input *CreateDirectConnectGatewayAssociationInput) (req *request.Request, output *CreateDirectConnectGatewayAssociationOutput) { @@ -1725,11 +1724,12 @@ func (c *DirectConnect) CreateDirectConnectGatewayAssociationRequest(input *Crea // API operation CreateDirectConnectGatewayAssociation for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociation func (c *DirectConnect) CreateDirectConnectGatewayAssociation(input *CreateDirectConnectGatewayAssociationInput) (*CreateDirectConnectGatewayAssociationOutput, error) { @@ -1769,14 +1769,13 @@ const opCreateDirectConnectGatewayAssociationProposal = "CreateDirectConnectGate // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDirectConnectGatewayAssociationProposalRequest method. +// req, resp := client.CreateDirectConnectGatewayAssociationProposalRequest(params) // -// // Example sending a request using the CreateDirectConnectGatewayAssociationProposalRequest method. -// req, resp := client.CreateDirectConnectGatewayAssociationProposalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociationProposal func (c *DirectConnect) CreateDirectConnectGatewayAssociationProposalRequest(input *CreateDirectConnectGatewayAssociationProposalInput) (req *request.Request, output *CreateDirectConnectGatewayAssociationProposalOutput) { @@ -1811,11 +1810,12 @@ func (c *DirectConnect) CreateDirectConnectGatewayAssociationProposalRequest(inp // API operation CreateDirectConnectGatewayAssociationProposal for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateDirectConnectGatewayAssociationProposal func (c *DirectConnect) CreateDirectConnectGatewayAssociationProposal(input *CreateDirectConnectGatewayAssociationProposalInput) (*CreateDirectConnectGatewayAssociationProposalOutput, error) { @@ -1855,14 +1855,13 @@ const opCreateInterconnect = "CreateInterconnect" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInterconnectRequest method. +// req, resp := client.CreateInterconnectRequest(params) // -// // Example sending a request using the CreateInterconnectRequest method. -// req, resp := client.CreateInterconnectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateInterconnect func (c *DirectConnect) CreateInterconnectRequest(input *CreateInterconnectInput) (req *request.Request, output *Interconnect) { @@ -1915,17 +1914,18 @@ func (c *DirectConnect) CreateInterconnectRequest(input *CreateInterconnectInput // API operation CreateInterconnect for usage and error information. // // Returned Error Types: -// * DuplicateTagKeysException -// A tag key was specified more than once. // -// * TooManyTagsException -// You have reached the limit on the number of tags that can be assigned. +// - DuplicateTagKeysException +// A tag key was specified more than once. +// +// - TooManyTagsException +// You have reached the limit on the number of tags that can be assigned. // -// * ServerException -// A server-side error occurred. +// - ServerException +// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateInterconnect func (c *DirectConnect) CreateInterconnect(input *CreateInterconnectInput) (*Interconnect, error) { @@ -1965,14 +1965,13 @@ const opCreateLag = "CreateLag" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLagRequest method. +// req, resp := client.CreateLagRequest(params) // -// // Example sending a request using the CreateLagRequest method. -// req, resp := client.CreateLagRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLag func (c *DirectConnect) CreateLagRequest(input *CreateLagInput) (req *request.Request, output *Lag) { @@ -2027,17 +2026,18 @@ func (c *DirectConnect) CreateLagRequest(input *CreateLagInput) (req *request.Re // API operation CreateLag for usage and error information. // // Returned Error Types: -// * DuplicateTagKeysException -// A tag key was specified more than once. // -// * TooManyTagsException -// You have reached the limit on the number of tags that can be assigned. +// - DuplicateTagKeysException +// A tag key was specified more than once. +// +// - TooManyTagsException +// You have reached the limit on the number of tags that can be assigned. // -// * ServerException -// A server-side error occurred. +// - ServerException +// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLag func (c *DirectConnect) CreateLag(input *CreateLagInput) (*Lag, error) { @@ -2077,14 +2077,13 @@ const opCreatePrivateVirtualInterface = "CreatePrivateVirtualInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePrivateVirtualInterfaceRequest method. +// req, resp := client.CreatePrivateVirtualInterfaceRequest(params) // -// // Example sending a request using the CreatePrivateVirtualInterfaceRequest method. -// req, resp := client.CreatePrivateVirtualInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePrivateVirtualInterface func (c *DirectConnect) CreatePrivateVirtualInterfaceRequest(input *CreatePrivateVirtualInterfaceInput) (req *request.Request, output *VirtualInterface) { @@ -2128,17 +2127,18 @@ func (c *DirectConnect) CreatePrivateVirtualInterfaceRequest(input *CreatePrivat // API operation CreatePrivateVirtualInterface for usage and error information. // // Returned Error Types: -// * DuplicateTagKeysException -// A tag key was specified more than once. // -// * TooManyTagsException -// You have reached the limit on the number of tags that can be assigned. +// - DuplicateTagKeysException +// A tag key was specified more than once. +// +// - TooManyTagsException +// You have reached the limit on the number of tags that can be assigned. // -// * ServerException -// A server-side error occurred. +// - ServerException +// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePrivateVirtualInterface func (c *DirectConnect) CreatePrivateVirtualInterface(input *CreatePrivateVirtualInterfaceInput) (*VirtualInterface, error) { @@ -2178,14 +2178,13 @@ const opCreatePublicVirtualInterface = "CreatePublicVirtualInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePublicVirtualInterfaceRequest method. +// req, resp := client.CreatePublicVirtualInterfaceRequest(params) // -// // Example sending a request using the CreatePublicVirtualInterfaceRequest method. -// req, resp := client.CreatePublicVirtualInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePublicVirtualInterface func (c *DirectConnect) CreatePublicVirtualInterfaceRequest(input *CreatePublicVirtualInterfaceInput) (req *request.Request, output *VirtualInterface) { @@ -2222,17 +2221,18 @@ func (c *DirectConnect) CreatePublicVirtualInterfaceRequest(input *CreatePublicV // API operation CreatePublicVirtualInterface for usage and error information. // // Returned Error Types: -// * DuplicateTagKeysException -// A tag key was specified more than once. // -// * TooManyTagsException -// You have reached the limit on the number of tags that can be assigned. +// - DuplicateTagKeysException +// A tag key was specified more than once. +// +// - TooManyTagsException +// You have reached the limit on the number of tags that can be assigned. // -// * ServerException -// A server-side error occurred. +// - ServerException +// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePublicVirtualInterface func (c *DirectConnect) CreatePublicVirtualInterface(input *CreatePublicVirtualInterfaceInput) (*VirtualInterface, error) { @@ -2272,14 +2272,13 @@ const opCreateTransitVirtualInterface = "CreateTransitVirtualInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTransitVirtualInterfaceRequest method. +// req, resp := client.CreateTransitVirtualInterfaceRequest(params) // -// // Example sending a request using the CreateTransitVirtualInterfaceRequest method. -// req, resp := client.CreateTransitVirtualInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateTransitVirtualInterface func (c *DirectConnect) CreateTransitVirtualInterfaceRequest(input *CreateTransitVirtualInterfaceInput) (req *request.Request, output *CreateTransitVirtualInterfaceOutput) { @@ -2326,17 +2325,18 @@ func (c *DirectConnect) CreateTransitVirtualInterfaceRequest(input *CreateTransi // API operation CreateTransitVirtualInterface for usage and error information. // // Returned Error Types: -// * DuplicateTagKeysException -// A tag key was specified more than once. // -// * TooManyTagsException -// You have reached the limit on the number of tags that can be assigned. +// - DuplicateTagKeysException +// A tag key was specified more than once. +// +// - TooManyTagsException +// You have reached the limit on the number of tags that can be assigned. // -// * ServerException -// A server-side error occurred. +// - ServerException +// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateTransitVirtualInterface func (c *DirectConnect) CreateTransitVirtualInterface(input *CreateTransitVirtualInterfaceInput) (*CreateTransitVirtualInterfaceOutput, error) { @@ -2376,14 +2376,13 @@ const opDeleteBGPPeer = "DeleteBGPPeer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBGPPeerRequest method. +// req, resp := client.DeleteBGPPeerRequest(params) // -// // Example sending a request using the DeleteBGPPeerRequest method. -// req, resp := client.DeleteBGPPeerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeer func (c *DirectConnect) DeleteBGPPeerRequest(input *DeleteBGPPeerInput) (req *request.Request, output *DeleteBGPPeerOutput) { @@ -2417,11 +2416,12 @@ func (c *DirectConnect) DeleteBGPPeerRequest(input *DeleteBGPPeerInput) (req *re // API operation DeleteBGPPeer for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeer func (c *DirectConnect) DeleteBGPPeer(input *DeleteBGPPeerInput) (*DeleteBGPPeerOutput, error) { @@ -2461,14 +2461,13 @@ const opDeleteConnection = "DeleteConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConnectionRequest method. +// req, resp := client.DeleteConnectionRequest(params) // -// // Example sending a request using the DeleteConnectionRequest method. -// req, resp := client.DeleteConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnection func (c *DirectConnect) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *Connection) { @@ -2503,11 +2502,12 @@ func (c *DirectConnect) DeleteConnectionRequest(input *DeleteConnectionInput) (r // API operation DeleteConnection for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnection func (c *DirectConnect) DeleteConnection(input *DeleteConnectionInput) (*Connection, error) { @@ -2547,14 +2547,13 @@ const opDeleteDirectConnectGateway = "DeleteDirectConnectGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDirectConnectGatewayRequest method. +// req, resp := client.DeleteDirectConnectGatewayRequest(params) // -// // Example sending a request using the DeleteDirectConnectGatewayRequest method. -// req, resp := client.DeleteDirectConnectGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGateway func (c *DirectConnect) DeleteDirectConnectGatewayRequest(input *DeleteDirectConnectGatewayInput) (req *request.Request, output *DeleteDirectConnectGatewayOutput) { @@ -2587,11 +2586,12 @@ func (c *DirectConnect) DeleteDirectConnectGatewayRequest(input *DeleteDirectCon // API operation DeleteDirectConnectGateway for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGateway func (c *DirectConnect) DeleteDirectConnectGateway(input *DeleteDirectConnectGatewayInput) (*DeleteDirectConnectGatewayOutput, error) { @@ -2631,14 +2631,13 @@ const opDeleteDirectConnectGatewayAssociation = "DeleteDirectConnectGatewayAssoc // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDirectConnectGatewayAssociationRequest method. +// req, resp := client.DeleteDirectConnectGatewayAssociationRequest(params) // -// // Example sending a request using the DeleteDirectConnectGatewayAssociationRequest method. -// req, resp := client.DeleteDirectConnectGatewayAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociation func (c *DirectConnect) DeleteDirectConnectGatewayAssociationRequest(input *DeleteDirectConnectGatewayAssociationInput) (req *request.Request, output *DeleteDirectConnectGatewayAssociationOutput) { @@ -2675,11 +2674,12 @@ func (c *DirectConnect) DeleteDirectConnectGatewayAssociationRequest(input *Dele // API operation DeleteDirectConnectGatewayAssociation for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociation func (c *DirectConnect) DeleteDirectConnectGatewayAssociation(input *DeleteDirectConnectGatewayAssociationInput) (*DeleteDirectConnectGatewayAssociationOutput, error) { @@ -2719,14 +2719,13 @@ const opDeleteDirectConnectGatewayAssociationProposal = "DeleteDirectConnectGate // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDirectConnectGatewayAssociationProposalRequest method. +// req, resp := client.DeleteDirectConnectGatewayAssociationProposalRequest(params) // -// // Example sending a request using the DeleteDirectConnectGatewayAssociationProposalRequest method. -// req, resp := client.DeleteDirectConnectGatewayAssociationProposalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociationProposal func (c *DirectConnect) DeleteDirectConnectGatewayAssociationProposalRequest(input *DeleteDirectConnectGatewayAssociationProposalInput) (req *request.Request, output *DeleteDirectConnectGatewayAssociationProposalOutput) { @@ -2758,11 +2757,12 @@ func (c *DirectConnect) DeleteDirectConnectGatewayAssociationProposalRequest(inp // API operation DeleteDirectConnectGatewayAssociationProposal for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteDirectConnectGatewayAssociationProposal func (c *DirectConnect) DeleteDirectConnectGatewayAssociationProposal(input *DeleteDirectConnectGatewayAssociationProposalInput) (*DeleteDirectConnectGatewayAssociationProposalOutput, error) { @@ -2802,14 +2802,13 @@ const opDeleteInterconnect = "DeleteInterconnect" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInterconnectRequest method. +// req, resp := client.DeleteInterconnectRequest(params) // -// // Example sending a request using the DeleteInterconnectRequest method. -// req, resp := client.DeleteInterconnectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnect func (c *DirectConnect) DeleteInterconnectRequest(input *DeleteInterconnectInput) (req *request.Request, output *DeleteInterconnectOutput) { @@ -2842,11 +2841,12 @@ func (c *DirectConnect) DeleteInterconnectRequest(input *DeleteInterconnectInput // API operation DeleteInterconnect for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnect func (c *DirectConnect) DeleteInterconnect(input *DeleteInterconnectInput) (*DeleteInterconnectOutput, error) { @@ -2886,14 +2886,13 @@ const opDeleteLag = "DeleteLag" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLagRequest method. +// req, resp := client.DeleteLagRequest(params) // -// // Example sending a request using the DeleteLagRequest method. -// req, resp := client.DeleteLagRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLag func (c *DirectConnect) DeleteLagRequest(input *DeleteLagInput) (req *request.Request, output *Lag) { @@ -2925,11 +2924,12 @@ func (c *DirectConnect) DeleteLagRequest(input *DeleteLagInput) (req *request.Re // API operation DeleteLag for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLag func (c *DirectConnect) DeleteLag(input *DeleteLagInput) (*Lag, error) { @@ -2969,14 +2969,13 @@ const opDeleteVirtualInterface = "DeleteVirtualInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVirtualInterfaceRequest method. +// req, resp := client.DeleteVirtualInterfaceRequest(params) // -// // Example sending a request using the DeleteVirtualInterfaceRequest method. -// req, resp := client.DeleteVirtualInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterface func (c *DirectConnect) DeleteVirtualInterfaceRequest(input *DeleteVirtualInterfaceInput) (req *request.Request, output *DeleteVirtualInterfaceOutput) { @@ -3007,11 +3006,12 @@ func (c *DirectConnect) DeleteVirtualInterfaceRequest(input *DeleteVirtualInterf // API operation DeleteVirtualInterface for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterface func (c *DirectConnect) DeleteVirtualInterface(input *DeleteVirtualInterfaceInput) (*DeleteVirtualInterfaceOutput, error) { @@ -3051,14 +3051,13 @@ const opDescribeConnectionLoa = "DescribeConnectionLoa" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConnectionLoaRequest method. +// req, resp := client.DescribeConnectionLoaRequest(params) // -// // Example sending a request using the DescribeConnectionLoaRequest method. -// req, resp := client.DescribeConnectionLoaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoa // @@ -3103,11 +3102,12 @@ func (c *DirectConnect) DescribeConnectionLoaRequest(input *DescribeConnectionLo // API operation DescribeConnectionLoa for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoa // @@ -3151,14 +3151,13 @@ const opDescribeConnections = "DescribeConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConnectionsRequest method. +// req, resp := client.DescribeConnectionsRequest(params) // -// // Example sending a request using the DescribeConnectionsRequest method. -// req, resp := client.DescribeConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnections func (c *DirectConnect) DescribeConnectionsRequest(input *DescribeConnectionsInput) (req *request.Request, output *Connections) { @@ -3189,11 +3188,12 @@ func (c *DirectConnect) DescribeConnectionsRequest(input *DescribeConnectionsInp // API operation DescribeConnections for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnections func (c *DirectConnect) DescribeConnections(input *DescribeConnectionsInput) (*Connections, error) { @@ -3233,14 +3233,13 @@ const opDescribeConnectionsOnInterconnect = "DescribeConnectionsOnInterconnect" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConnectionsOnInterconnectRequest method. +// req, resp := client.DescribeConnectionsOnInterconnectRequest(params) // -// // Example sending a request using the DescribeConnectionsOnInterconnectRequest method. -// req, resp := client.DescribeConnectionsOnInterconnectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnect // @@ -3280,11 +3279,12 @@ func (c *DirectConnect) DescribeConnectionsOnInterconnectRequest(input *Describe // API operation DescribeConnectionsOnInterconnect for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnect // @@ -3328,14 +3328,13 @@ const opDescribeCustomerMetadata = "DescribeCustomerMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCustomerMetadataRequest method. +// req, resp := client.DescribeCustomerMetadataRequest(params) // -// // Example sending a request using the DescribeCustomerMetadataRequest method. -// req, resp := client.DescribeCustomerMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeCustomerMetadata func (c *DirectConnect) DescribeCustomerMetadataRequest(input *DescribeCustomerMetadataInput) (req *request.Request, output *DescribeCustomerMetadataOutput) { @@ -3367,11 +3366,12 @@ func (c *DirectConnect) DescribeCustomerMetadataRequest(input *DescribeCustomerM // API operation DescribeCustomerMetadata for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeCustomerMetadata func (c *DirectConnect) DescribeCustomerMetadata(input *DescribeCustomerMetadataInput) (*DescribeCustomerMetadataOutput, error) { @@ -3411,14 +3411,13 @@ const opDescribeDirectConnectGatewayAssociationProposals = "DescribeDirectConnec // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDirectConnectGatewayAssociationProposalsRequest method. +// req, resp := client.DescribeDirectConnectGatewayAssociationProposalsRequest(params) // -// // Example sending a request using the DescribeDirectConnectGatewayAssociationProposalsRequest method. -// req, resp := client.DescribeDirectConnectGatewayAssociationProposalsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociationProposals func (c *DirectConnect) DescribeDirectConnectGatewayAssociationProposalsRequest(input *DescribeDirectConnectGatewayAssociationProposalsInput) (req *request.Request, output *DescribeDirectConnectGatewayAssociationProposalsOutput) { @@ -3450,11 +3449,12 @@ func (c *DirectConnect) DescribeDirectConnectGatewayAssociationProposalsRequest( // API operation DescribeDirectConnectGatewayAssociationProposals for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociationProposals func (c *DirectConnect) DescribeDirectConnectGatewayAssociationProposals(input *DescribeDirectConnectGatewayAssociationProposalsInput) (*DescribeDirectConnectGatewayAssociationProposalsOutput, error) { @@ -3494,14 +3494,13 @@ const opDescribeDirectConnectGatewayAssociations = "DescribeDirectConnectGateway // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDirectConnectGatewayAssociationsRequest method. +// req, resp := client.DescribeDirectConnectGatewayAssociationsRequest(params) // -// // Example sending a request using the DescribeDirectConnectGatewayAssociationsRequest method. -// req, resp := client.DescribeDirectConnectGatewayAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociations func (c *DirectConnect) DescribeDirectConnectGatewayAssociationsRequest(input *DescribeDirectConnectGatewayAssociationsInput) (req *request.Request, output *DescribeDirectConnectGatewayAssociationsOutput) { @@ -3525,19 +3524,19 @@ func (c *DirectConnect) DescribeDirectConnectGatewayAssociationsRequest(input *D // Lists the associations between your Direct Connect gateways and virtual private // gateways and transit gateways. You must specify one of the following: // -// * A Direct Connect gateway The response contains all virtual private gateways -// and transit gateways associated with the Direct Connect gateway. +// - A Direct Connect gateway The response contains all virtual private gateways +// and transit gateways associated with the Direct Connect gateway. // -// * A virtual private gateway The response contains the Direct Connect gateway. +// - A virtual private gateway The response contains the Direct Connect gateway. // -// * A transit gateway The response contains the Direct Connect gateway. +// - A transit gateway The response contains the Direct Connect gateway. // -// * A Direct Connect gateway and a virtual private gateway The response -// contains the association between the Direct Connect gateway and virtual -// private gateway. +// - A Direct Connect gateway and a virtual private gateway The response +// contains the association between the Direct Connect gateway and virtual +// private gateway. // -// * A Direct Connect gateway and a transit gateway The response contains -// the association between the Direct Connect gateway and transit gateway. +// - A Direct Connect gateway and a transit gateway The response contains +// the association between the Direct Connect gateway and transit gateway. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3547,11 +3546,12 @@ func (c *DirectConnect) DescribeDirectConnectGatewayAssociationsRequest(input *D // API operation DescribeDirectConnectGatewayAssociations for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAssociations func (c *DirectConnect) DescribeDirectConnectGatewayAssociations(input *DescribeDirectConnectGatewayAssociationsInput) (*DescribeDirectConnectGatewayAssociationsOutput, error) { @@ -3591,14 +3591,13 @@ const opDescribeDirectConnectGatewayAttachments = "DescribeDirectConnectGatewayA // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDirectConnectGatewayAttachmentsRequest method. +// req, resp := client.DescribeDirectConnectGatewayAttachmentsRequest(params) // -// // Example sending a request using the DescribeDirectConnectGatewayAttachmentsRequest method. -// req, resp := client.DescribeDirectConnectGatewayAttachmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAttachments func (c *DirectConnect) DescribeDirectConnectGatewayAttachmentsRequest(input *DescribeDirectConnectGatewayAttachmentsInput) (req *request.Request, output *DescribeDirectConnectGatewayAttachmentsOutput) { @@ -3635,11 +3634,12 @@ func (c *DirectConnect) DescribeDirectConnectGatewayAttachmentsRequest(input *De // API operation DescribeDirectConnectGatewayAttachments for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGatewayAttachments func (c *DirectConnect) DescribeDirectConnectGatewayAttachments(input *DescribeDirectConnectGatewayAttachmentsInput) (*DescribeDirectConnectGatewayAttachmentsOutput, error) { @@ -3679,14 +3679,13 @@ const opDescribeDirectConnectGateways = "DescribeDirectConnectGateways" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDirectConnectGatewaysRequest method. +// req, resp := client.DescribeDirectConnectGatewaysRequest(params) // -// // Example sending a request using the DescribeDirectConnectGatewaysRequest method. -// req, resp := client.DescribeDirectConnectGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGateways func (c *DirectConnect) DescribeDirectConnectGatewaysRequest(input *DescribeDirectConnectGatewaysInput) (req *request.Request, output *DescribeDirectConnectGatewaysOutput) { @@ -3718,11 +3717,12 @@ func (c *DirectConnect) DescribeDirectConnectGatewaysRequest(input *DescribeDire // API operation DescribeDirectConnectGateways for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeDirectConnectGateways func (c *DirectConnect) DescribeDirectConnectGateways(input *DescribeDirectConnectGatewaysInput) (*DescribeDirectConnectGatewaysOutput, error) { @@ -3762,14 +3762,13 @@ const opDescribeHostedConnections = "DescribeHostedConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHostedConnectionsRequest method. +// req, resp := client.DescribeHostedConnectionsRequest(params) // -// // Example sending a request using the DescribeHostedConnectionsRequest method. -// req, resp := client.DescribeHostedConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnections func (c *DirectConnect) DescribeHostedConnectionsRequest(input *DescribeHostedConnectionsInput) (req *request.Request, output *Connections) { @@ -3803,11 +3802,12 @@ func (c *DirectConnect) DescribeHostedConnectionsRequest(input *DescribeHostedCo // API operation DescribeHostedConnections for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnections func (c *DirectConnect) DescribeHostedConnections(input *DescribeHostedConnectionsInput) (*Connections, error) { @@ -3847,14 +3847,13 @@ const opDescribeInterconnectLoa = "DescribeInterconnectLoa" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInterconnectLoaRequest method. +// req, resp := client.DescribeInterconnectLoaRequest(params) // -// // Example sending a request using the DescribeInterconnectLoaRequest method. -// req, resp := client.DescribeInterconnectLoaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoa // @@ -3898,11 +3897,12 @@ func (c *DirectConnect) DescribeInterconnectLoaRequest(input *DescribeInterconne // API operation DescribeInterconnectLoa for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoa // @@ -3946,14 +3946,13 @@ const opDescribeInterconnects = "DescribeInterconnects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInterconnectsRequest method. +// req, resp := client.DescribeInterconnectsRequest(params) // -// // Example sending a request using the DescribeInterconnectsRequest method. -// req, resp := client.DescribeInterconnectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnects func (c *DirectConnect) DescribeInterconnectsRequest(input *DescribeInterconnectsInput) (req *request.Request, output *DescribeInterconnectsOutput) { @@ -3985,11 +3984,12 @@ func (c *DirectConnect) DescribeInterconnectsRequest(input *DescribeInterconnect // API operation DescribeInterconnects for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnects func (c *DirectConnect) DescribeInterconnects(input *DescribeInterconnectsInput) (*DescribeInterconnectsOutput, error) { @@ -4029,14 +4029,13 @@ const opDescribeLags = "DescribeLags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLagsRequest method. +// req, resp := client.DescribeLagsRequest(params) // -// // Example sending a request using the DescribeLagsRequest method. -// req, resp := client.DescribeLagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLags func (c *DirectConnect) DescribeLagsRequest(input *DescribeLagsInput) (req *request.Request, output *DescribeLagsOutput) { @@ -4067,11 +4066,12 @@ func (c *DirectConnect) DescribeLagsRequest(input *DescribeLagsInput) (req *requ // API operation DescribeLags for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLags func (c *DirectConnect) DescribeLags(input *DescribeLagsInput) (*DescribeLagsOutput, error) { @@ -4111,14 +4111,13 @@ const opDescribeLoa = "DescribeLoa" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLoaRequest method. +// req, resp := client.DescribeLoaRequest(params) // -// // Example sending a request using the DescribeLoaRequest method. -// req, resp := client.DescribeLoaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLoa func (c *DirectConnect) DescribeLoaRequest(input *DescribeLoaInput) (req *request.Request, output *Loa) { @@ -4156,11 +4155,12 @@ func (c *DirectConnect) DescribeLoaRequest(input *DescribeLoaInput) (req *reques // API operation DescribeLoa for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLoa func (c *DirectConnect) DescribeLoa(input *DescribeLoaInput) (*Loa, error) { @@ -4200,14 +4200,13 @@ const opDescribeLocations = "DescribeLocations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocationsRequest method. +// req, resp := client.DescribeLocationsRequest(params) // -// // Example sending a request using the DescribeLocationsRequest method. -// req, resp := client.DescribeLocationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLocations func (c *DirectConnect) DescribeLocationsRequest(input *DescribeLocationsInput) (req *request.Request, output *DescribeLocationsOutput) { @@ -4240,11 +4239,12 @@ func (c *DirectConnect) DescribeLocationsRequest(input *DescribeLocationsInput) // API operation DescribeLocations for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLocations func (c *DirectConnect) DescribeLocations(input *DescribeLocationsInput) (*DescribeLocationsOutput, error) { @@ -4284,14 +4284,13 @@ const opDescribeRouterConfiguration = "DescribeRouterConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRouterConfigurationRequest method. +// req, resp := client.DescribeRouterConfigurationRequest(params) // -// // Example sending a request using the DescribeRouterConfigurationRequest method. -// req, resp := client.DescribeRouterConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeRouterConfiguration func (c *DirectConnect) DescribeRouterConfigurationRequest(input *DescribeRouterConfigurationInput) (req *request.Request, output *DescribeRouterConfigurationOutput) { @@ -4322,11 +4321,12 @@ func (c *DirectConnect) DescribeRouterConfigurationRequest(input *DescribeRouter // API operation DescribeRouterConfiguration for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeRouterConfiguration func (c *DirectConnect) DescribeRouterConfiguration(input *DescribeRouterConfigurationInput) (*DescribeRouterConfigurationOutput, error) { @@ -4366,14 +4366,13 @@ const opDescribeTags = "DescribeTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTagsRequest method. +// req, resp := client.DescribeTagsRequest(params) // -// // Example sending a request using the DescribeTagsRequest method. -// req, resp := client.DescribeTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTags func (c *DirectConnect) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { @@ -4404,11 +4403,12 @@ func (c *DirectConnect) DescribeTagsRequest(input *DescribeTagsInput) (req *requ // API operation DescribeTags for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTags func (c *DirectConnect) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { @@ -4448,14 +4448,13 @@ const opDescribeVirtualGateways = "DescribeVirtualGateways" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVirtualGatewaysRequest method. +// req, resp := client.DescribeVirtualGatewaysRequest(params) // -// // Example sending a request using the DescribeVirtualGatewaysRequest method. -// req, resp := client.DescribeVirtualGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualGateways func (c *DirectConnect) DescribeVirtualGatewaysRequest(input *DescribeVirtualGatewaysInput) (req *request.Request, output *DescribeVirtualGatewaysOutput) { @@ -4489,11 +4488,12 @@ func (c *DirectConnect) DescribeVirtualGatewaysRequest(input *DescribeVirtualGat // API operation DescribeVirtualGateways for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualGateways func (c *DirectConnect) DescribeVirtualGateways(input *DescribeVirtualGatewaysInput) (*DescribeVirtualGatewaysOutput, error) { @@ -4533,14 +4533,13 @@ const opDescribeVirtualInterfaces = "DescribeVirtualInterfaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVirtualInterfacesRequest method. +// req, resp := client.DescribeVirtualInterfacesRequest(params) // -// // Example sending a request using the DescribeVirtualInterfacesRequest method. -// req, resp := client.DescribeVirtualInterfacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualInterfaces func (c *DirectConnect) DescribeVirtualInterfacesRequest(input *DescribeVirtualInterfacesInput) (req *request.Request, output *DescribeVirtualInterfacesOutput) { @@ -4578,11 +4577,12 @@ func (c *DirectConnect) DescribeVirtualInterfacesRequest(input *DescribeVirtualI // API operation DescribeVirtualInterfaces for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualInterfaces func (c *DirectConnect) DescribeVirtualInterfaces(input *DescribeVirtualInterfacesInput) (*DescribeVirtualInterfacesOutput, error) { @@ -4622,14 +4622,13 @@ const opDisassociateConnectionFromLag = "DisassociateConnectionFromLag" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateConnectionFromLagRequest method. +// req, resp := client.DisassociateConnectionFromLagRequest(params) // -// // Example sending a request using the DisassociateConnectionFromLagRequest method. -// req, resp := client.DisassociateConnectionFromLagRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLag func (c *DirectConnect) DisassociateConnectionFromLagRequest(input *DisassociateConnectionFromLagInput) (req *request.Request, output *Connection) { @@ -4670,11 +4669,12 @@ func (c *DirectConnect) DisassociateConnectionFromLagRequest(input *Disassociate // API operation DisassociateConnectionFromLag for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLag func (c *DirectConnect) DisassociateConnectionFromLag(input *DisassociateConnectionFromLagInput) (*Connection, error) { @@ -4714,14 +4714,13 @@ const opDisassociateMacSecKey = "DisassociateMacSecKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateMacSecKeyRequest method. +// req, resp := client.DisassociateMacSecKeyRequest(params) // -// // Example sending a request using the DisassociateMacSecKeyRequest method. -// req, resp := client.DisassociateMacSecKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateMacSecKey func (c *DirectConnect) DisassociateMacSecKeyRequest(input *DisassociateMacSecKeyInput) (req *request.Request, output *DisassociateMacSecKeyOutput) { @@ -4753,11 +4752,12 @@ func (c *DirectConnect) DisassociateMacSecKeyRequest(input *DisassociateMacSecKe // API operation DisassociateMacSecKey for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateMacSecKey func (c *DirectConnect) DisassociateMacSecKey(input *DisassociateMacSecKeyInput) (*DisassociateMacSecKeyOutput, error) { @@ -4797,14 +4797,13 @@ const opListVirtualInterfaceTestHistory = "ListVirtualInterfaceTestHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVirtualInterfaceTestHistoryRequest method. +// req, resp := client.ListVirtualInterfaceTestHistoryRequest(params) // -// // Example sending a request using the ListVirtualInterfaceTestHistoryRequest method. -// req, resp := client.ListVirtualInterfaceTestHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ListVirtualInterfaceTestHistory func (c *DirectConnect) ListVirtualInterfaceTestHistoryRequest(input *ListVirtualInterfaceTestHistoryInput) (req *request.Request, output *ListVirtualInterfaceTestHistoryOutput) { @@ -4835,11 +4834,12 @@ func (c *DirectConnect) ListVirtualInterfaceTestHistoryRequest(input *ListVirtua // API operation ListVirtualInterfaceTestHistory for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ListVirtualInterfaceTestHistory func (c *DirectConnect) ListVirtualInterfaceTestHistory(input *ListVirtualInterfaceTestHistoryInput) (*ListVirtualInterfaceTestHistoryOutput, error) { @@ -4879,14 +4879,13 @@ const opStartBgpFailoverTest = "StartBgpFailoverTest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartBgpFailoverTestRequest method. +// req, resp := client.StartBgpFailoverTestRequest(params) // -// // Example sending a request using the StartBgpFailoverTestRequest method. -// req, resp := client.StartBgpFailoverTestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StartBgpFailoverTest func (c *DirectConnect) StartBgpFailoverTestRequest(input *StartBgpFailoverTestInput) (req *request.Request, output *StartBgpFailoverTestOutput) { @@ -4927,11 +4926,12 @@ func (c *DirectConnect) StartBgpFailoverTestRequest(input *StartBgpFailoverTestI // API operation StartBgpFailoverTest for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StartBgpFailoverTest func (c *DirectConnect) StartBgpFailoverTest(input *StartBgpFailoverTestInput) (*StartBgpFailoverTestOutput, error) { @@ -4971,14 +4971,13 @@ const opStopBgpFailoverTest = "StopBgpFailoverTest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopBgpFailoverTestRequest method. +// req, resp := client.StopBgpFailoverTestRequest(params) // -// // Example sending a request using the StopBgpFailoverTestRequest method. -// req, resp := client.StopBgpFailoverTestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StopBgpFailoverTest func (c *DirectConnect) StopBgpFailoverTestRequest(input *StopBgpFailoverTestInput) (req *request.Request, output *StopBgpFailoverTestOutput) { @@ -5009,11 +5008,12 @@ func (c *DirectConnect) StopBgpFailoverTestRequest(input *StopBgpFailoverTestInp // API operation StopBgpFailoverTest for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/StopBgpFailoverTest func (c *DirectConnect) StopBgpFailoverTest(input *StopBgpFailoverTestInput) (*StopBgpFailoverTestOutput, error) { @@ -5053,14 +5053,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResource func (c *DirectConnect) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -5096,17 +5095,18 @@ func (c *DirectConnect) TagResourceRequest(input *TagResourceInput) (req *reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * DuplicateTagKeysException -// A tag key was specified more than once. // -// * TooManyTagsException -// You have reached the limit on the number of tags that can be assigned. +// - DuplicateTagKeysException +// A tag key was specified more than once. // -// * ServerException -// A server-side error occurred. +// - TooManyTagsException +// You have reached the limit on the number of tags that can be assigned. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResource func (c *DirectConnect) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -5146,14 +5146,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UntagResource func (c *DirectConnect) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -5185,11 +5184,12 @@ func (c *DirectConnect) UntagResourceRequest(input *UntagResourceInput) (req *re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UntagResource func (c *DirectConnect) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -5229,14 +5229,13 @@ const opUpdateConnection = "UpdateConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConnectionRequest method. +// req, resp := client.UpdateConnectionRequest(params) // -// // Example sending a request using the UpdateConnectionRequest method. -// req, resp := client.UpdateConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateConnection func (c *DirectConnect) UpdateConnectionRequest(input *UpdateConnectionInput) (req *request.Request, output *UpdateConnectionOutput) { @@ -5261,9 +5260,9 @@ func (c *DirectConnect) UpdateConnectionRequest(input *UpdateConnectionInput) (r // // You can update the following parameters for a connection: // -// * The connection name +// - The connection name // -// * The connection's MAC Security (MACsec) encryption mode. +// - The connection's MAC Security (MACsec) encryption mode. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5273,11 +5272,12 @@ func (c *DirectConnect) UpdateConnectionRequest(input *UpdateConnectionInput) (r // API operation UpdateConnection for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateConnection func (c *DirectConnect) UpdateConnection(input *UpdateConnectionInput) (*UpdateConnectionOutput, error) { @@ -5317,14 +5317,13 @@ const opUpdateDirectConnectGateway = "UpdateDirectConnectGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDirectConnectGatewayRequest method. +// req, resp := client.UpdateDirectConnectGatewayRequest(params) // -// // Example sending a request using the UpdateDirectConnectGatewayRequest method. -// req, resp := client.UpdateDirectConnectGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateDirectConnectGateway func (c *DirectConnect) UpdateDirectConnectGatewayRequest(input *UpdateDirectConnectGatewayInput) (req *request.Request, output *UpdateDirectConnectGatewayOutput) { @@ -5355,11 +5354,12 @@ func (c *DirectConnect) UpdateDirectConnectGatewayRequest(input *UpdateDirectCon // API operation UpdateDirectConnectGateway for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateDirectConnectGateway func (c *DirectConnect) UpdateDirectConnectGateway(input *UpdateDirectConnectGatewayInput) (*UpdateDirectConnectGatewayOutput, error) { @@ -5399,14 +5399,13 @@ const opUpdateDirectConnectGatewayAssociation = "UpdateDirectConnectGatewayAssoc // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDirectConnectGatewayAssociationRequest method. +// req, resp := client.UpdateDirectConnectGatewayAssociationRequest(params) // -// // Example sending a request using the UpdateDirectConnectGatewayAssociationRequest method. -// req, resp := client.UpdateDirectConnectGatewayAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateDirectConnectGatewayAssociation func (c *DirectConnect) UpdateDirectConnectGatewayAssociationRequest(input *UpdateDirectConnectGatewayAssociationInput) (req *request.Request, output *UpdateDirectConnectGatewayAssociationOutput) { @@ -5439,11 +5438,12 @@ func (c *DirectConnect) UpdateDirectConnectGatewayAssociationRequest(input *Upda // API operation UpdateDirectConnectGatewayAssociation for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateDirectConnectGatewayAssociation func (c *DirectConnect) UpdateDirectConnectGatewayAssociation(input *UpdateDirectConnectGatewayAssociationInput) (*UpdateDirectConnectGatewayAssociationOutput, error) { @@ -5483,14 +5483,13 @@ const opUpdateLag = "UpdateLag" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLagRequest method. +// req, resp := client.UpdateLagRequest(params) // -// // Example sending a request using the UpdateLagRequest method. -// req, resp := client.UpdateLagRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateLag func (c *DirectConnect) UpdateLagRequest(input *UpdateLagInput) (req *request.Request, output *Lag) { @@ -5515,15 +5514,15 @@ func (c *DirectConnect) UpdateLagRequest(input *UpdateLagInput) (req *request.Re // // You can update the following LAG attributes: // -// * The name of the LAG. +// - The name of the LAG. // -// * The value for the minimum number of connections that must be operational -// for the LAG itself to be operational. +// - The value for the minimum number of connections that must be operational +// for the LAG itself to be operational. // -// * The LAG's MACsec encryption mode. Amazon Web Services assigns this value -// to each connection which is part of the LAG. +// - The LAG's MACsec encryption mode. Amazon Web Services assigns this value +// to each connection which is part of the LAG. // -// * The tags +// - The tags // // If you adjust the threshold value for the minimum number of operational connections, // ensure that the new value does not cause the LAG to fall below the threshold @@ -5537,11 +5536,12 @@ func (c *DirectConnect) UpdateLagRequest(input *UpdateLagInput) (req *request.Re // API operation UpdateLag for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateLag func (c *DirectConnect) UpdateLag(input *UpdateLagInput) (*Lag, error) { @@ -5581,14 +5581,13 @@ const opUpdateVirtualInterfaceAttributes = "UpdateVirtualInterfaceAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVirtualInterfaceAttributesRequest method. +// req, resp := client.UpdateVirtualInterfaceAttributesRequest(params) // -// // Example sending a request using the UpdateVirtualInterfaceAttributesRequest method. -// req, resp := client.UpdateVirtualInterfaceAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateVirtualInterfaceAttributes func (c *DirectConnect) UpdateVirtualInterfaceAttributesRequest(input *UpdateVirtualInterfaceAttributesInput) (req *request.Request, output *UpdateVirtualInterfaceAttributesOutput) { @@ -5626,11 +5625,12 @@ func (c *DirectConnect) UpdateVirtualInterfaceAttributesRequest(input *UpdateVir // API operation UpdateVirtualInterfaceAttributes for usage and error information. // // Returned Error Types: -// * ServerException -// A server-side error occurred. // -// * ClientException -// One or more parameters are not valid. +// - ServerException +// A server-side error occurred. +// +// - ClientException +// One or more parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateVirtualInterfaceAttributes func (c *DirectConnect) UpdateVirtualInterfaceAttributes(input *UpdateVirtualInterfaceAttributesInput) (*UpdateVirtualInterfaceAttributesOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/directconnectiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/directconnectiface/interface.go index 232278594716..df5cec6bd8fc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/directconnectiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/directconnectiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Direct Connect. -// func myFunc(svc directconnectiface.DirectConnectAPI) bool { -// // Make svc.AcceptDirectConnectGatewayAssociationProposal request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Direct Connect. +// func myFunc(svc directconnectiface.DirectConnectAPI) bool { +// // Make svc.AcceptDirectConnectGatewayAssociationProposal request +// } // -// func main() { -// sess := session.New() -// svc := directconnect.New(sess) +// func main() { +// sess := session.New() +// svc := directconnect.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockDirectConnectClient struct { -// directconnectiface.DirectConnectAPI -// } -// func (m *mockDirectConnectClient) AcceptDirectConnectGatewayAssociationProposal(input *directconnect.AcceptDirectConnectGatewayAssociationProposalInput) (*directconnect.AcceptDirectConnectGatewayAssociationProposalOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockDirectConnectClient struct { +// directconnectiface.DirectConnectAPI +// } +// func (m *mockDirectConnectClient) AcceptDirectConnectGatewayAssociationProposal(input *directconnect.AcceptDirectConnectGatewayAssociationProposalInput) (*directconnect.AcceptDirectConnectGatewayAssociationProposalOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockDirectConnectClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockDirectConnectClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/doc.go index 27611b650bd8..2bf2b6c72879 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/doc.go @@ -18,7 +18,7 @@ // See directconnect package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/directconnect/ // -// Using the Client +// # Using the Client // // To contact AWS Direct Connect with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/service.go index a7d245993b8d..7773e436fd63 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directconnect/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a DirectConnect client from just a session. -// svc := directconnect.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a DirectConnect client with additional configuration -// svc := directconnect.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a DirectConnect client from just a session. +// svc := directconnect.New(mySession) +// +// // Create a DirectConnect client with additional configuration +// svc := directconnect.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *DirectConnect { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/api.go index 9cb067f7999a..6edf98085e56 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/api.go @@ -29,14 +29,13 @@ const opAcceptSharedDirectory = "AcceptSharedDirectory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptSharedDirectoryRequest method. +// req, resp := client.AcceptSharedDirectoryRequest(params) // -// // Example sending a request using the AcceptSharedDirectoryRequest method. -// req, resp := client.AcceptSharedDirectoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AcceptSharedDirectory func (c *DirectoryService) AcceptSharedDirectoryRequest(input *AcceptSharedDirectoryInput) (req *request.Request, output *AcceptSharedDirectoryOutput) { @@ -68,21 +67,22 @@ func (c *DirectoryService) AcceptSharedDirectoryRequest(input *AcceptSharedDirec // API operation AcceptSharedDirectory for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * EntityDoesNotExistException -// The specified entity could not be found. +// - InvalidParameterException +// One or more parameters are not valid. +// +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * DirectoryAlreadySharedException -// The specified directory has already been shared with this Amazon Web Services -// account. +// - DirectoryAlreadySharedException +// The specified directory has already been shared with this Amazon Web Services +// account. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AcceptSharedDirectory func (c *DirectoryService) AcceptSharedDirectory(input *AcceptSharedDirectoryInput) (*AcceptSharedDirectoryOutput, error) { @@ -122,14 +122,13 @@ const opAddIpRoutes = "AddIpRoutes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddIpRoutesRequest method. +// req, resp := client.AddIpRoutesRequest(params) // -// // Example sending a request using the AddIpRoutesRequest method. -// req, resp := client.AddIpRoutesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddIpRoutes func (c *DirectoryService) AddIpRoutesRequest(input *AddIpRoutesInput) (req *request.Request, output *AddIpRoutesOutput) { @@ -171,27 +170,28 @@ func (c *DirectoryService) AddIpRoutesRequest(input *AddIpRoutesInput) (req *req // API operation AddIpRoutes for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * EntityAlreadyExistsException -// The specified entity already exists. +// - EntityDoesNotExistException +// The specified entity could not be found. +// +// - EntityAlreadyExistsException +// The specified entity already exists. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidParameterException +// One or more parameters are not valid. // -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. // -// * IpRouteLimitExceededException -// The maximum allowed number of IP addresses was exceeded. The default limit -// is 100 IP address blocks. +// - IpRouteLimitExceededException +// The maximum allowed number of IP addresses was exceeded. The default limit +// is 100 IP address blocks. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddIpRoutes func (c *DirectoryService) AddIpRoutes(input *AddIpRoutesInput) (*AddIpRoutesOutput, error) { @@ -231,14 +231,13 @@ const opAddRegion = "AddRegion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddRegionRequest method. +// req, resp := client.AddRegionRequest(params) // -// // Example sending a request using the AddRegionRequest method. -// req, resp := client.AddRegionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddRegion func (c *DirectoryService) AddRegionRequest(input *AddRegionInput) (req *request.Request, output *AddRegionOutput) { @@ -270,37 +269,38 @@ func (c *DirectoryService) AddRegionRequest(input *AddRegionInput) (req *request // API operation AddRegion for usage and error information. // // Returned Error Types: -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. +// +// - InvalidParameterException +// One or more parameters are not valid. // -// * EntityDoesNotExistException -// The specified entity could not be found. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * DirectoryAlreadyInRegionException -// The Region you specified is the same Region where the Managed Microsoft AD -// directory was created. Specify a different Region and try again. +// - DirectoryAlreadyInRegionException +// The Region you specified is the same Region where the Managed Microsoft AD +// directory was created. Specify a different Region and try again. // -// * UnsupportedOperationException -// The operation is not supported. +// - UnsupportedOperationException +// The operation is not supported. // -// * DirectoryDoesNotExistException -// The specified directory does not exist in the system. +// - DirectoryDoesNotExistException +// The specified directory does not exist in the system. // -// * RegionLimitExceededException -// You have reached the limit for maximum number of simultaneous Region replications -// per directory. +// - RegionLimitExceededException +// You have reached the limit for maximum number of simultaneous Region replications +// per directory. // -// * AccessDeniedException -// Client authentication is not available in this region at this time. +// - AccessDeniedException +// Client authentication is not available in this region at this time. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddRegion func (c *DirectoryService) AddRegion(input *AddRegionInput) (*AddRegionOutput, error) { @@ -340,14 +340,13 @@ const opAddTagsToResource = "AddTagsToResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsToResourceRequest method. +// req, resp := client.AddTagsToResourceRequest(params) // -// // Example sending a request using the AddTagsToResourceRequest method. -// req, resp := client.AddTagsToResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddTagsToResource func (c *DirectoryService) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput) { @@ -381,20 +380,21 @@ func (c *DirectoryService) AddTagsToResourceRequest(input *AddTagsToResourceInpu // API operation AddTagsToResource for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. +// +// - InvalidParameterException +// One or more parameters are not valid. // -// * TagLimitExceededException -// The maximum allowed number of tags was exceeded. +// - TagLimitExceededException +// The maximum allowed number of tags was exceeded. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/AddTagsToResource func (c *DirectoryService) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error) { @@ -434,14 +434,13 @@ const opCancelSchemaExtension = "CancelSchemaExtension" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelSchemaExtensionRequest method. +// req, resp := client.CancelSchemaExtensionRequest(params) // -// // Example sending a request using the CancelSchemaExtensionRequest method. -// req, resp := client.CancelSchemaExtensionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CancelSchemaExtension func (c *DirectoryService) CancelSchemaExtensionRequest(input *CancelSchemaExtensionInput) (req *request.Request, output *CancelSchemaExtensionOutput) { @@ -476,14 +475,15 @@ func (c *DirectoryService) CancelSchemaExtensionRequest(input *CancelSchemaExten // API operation CancelSchemaExtension for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * ClientException -// A client exception has occurred. +// - EntityDoesNotExistException +// The specified entity could not be found. +// +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CancelSchemaExtension func (c *DirectoryService) CancelSchemaExtension(input *CancelSchemaExtensionInput) (*CancelSchemaExtensionOutput, error) { @@ -523,14 +523,13 @@ const opConnectDirectory = "ConnectDirectory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConnectDirectoryRequest method. +// req, resp := client.ConnectDirectoryRequest(params) // -// // Example sending a request using the ConnectDirectoryRequest method. -// req, resp := client.ConnectDirectoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConnectDirectory func (c *DirectoryService) ConnectDirectoryRequest(input *ConnectDirectoryInput) (req *request.Request, output *ConnectDirectoryOutput) { @@ -566,19 +565,20 @@ func (c *DirectoryService) ConnectDirectoryRequest(input *ConnectDirectoryInput) // API operation ConnectDirectory for usage and error information. // // Returned Error Types: -// * DirectoryLimitExceededException -// The maximum number of directories in the region has been reached. You can -// use the GetDirectoryLimits operation to determine your directory limits in -// the region. // -// * InvalidParameterException -// One or more parameters are not valid. +// - DirectoryLimitExceededException +// The maximum number of directories in the region has been reached. You can +// use the GetDirectoryLimits operation to determine your directory limits in +// the region. +// +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ConnectDirectory func (c *DirectoryService) ConnectDirectory(input *ConnectDirectoryInput) (*ConnectDirectoryOutput, error) { @@ -618,14 +618,13 @@ const opCreateAlias = "CreateAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAliasRequest method. +// req, resp := client.CreateAliasRequest(params) // -// // Example sending a request using the CreateAliasRequest method. -// req, resp := client.CreateAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateAlias func (c *DirectoryService) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, output *CreateAliasOutput) { @@ -661,20 +660,21 @@ func (c *DirectoryService) CreateAliasRequest(input *CreateAliasInput) (req *req // API operation CreateAlias for usage and error information. // // Returned Error Types: -// * EntityAlreadyExistsException -// The specified entity already exists. // -// * EntityDoesNotExistException -// The specified entity could not be found. +// - EntityAlreadyExistsException +// The specified entity already exists. +// +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateAlias func (c *DirectoryService) CreateAlias(input *CreateAliasInput) (*CreateAliasOutput, error) { @@ -714,14 +714,13 @@ const opCreateComputer = "CreateComputer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateComputerRequest method. +// req, resp := client.CreateComputerRequest(params) // -// // Example sending a request using the CreateComputerRequest method. -// req, resp := client.CreateComputerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateComputer func (c *DirectoryService) CreateComputerRequest(input *CreateComputerInput) (req *request.Request, output *CreateComputerOutput) { @@ -752,29 +751,30 @@ func (c *DirectoryService) CreateComputerRequest(input *CreateComputerInput) (re // API operation CreateComputer for usage and error information. // // Returned Error Types: -// * AuthenticationFailedException -// An authentication error occurred. // -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. +// - AuthenticationFailedException +// An authentication error occurred. +// +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. // -// * EntityAlreadyExistsException -// The specified entity already exists. +// - EntityAlreadyExistsException +// The specified entity already exists. // -// * EntityDoesNotExistException -// The specified entity could not be found. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidParameterException +// One or more parameters are not valid. // -// * UnsupportedOperationException -// The operation is not supported. +// - UnsupportedOperationException +// The operation is not supported. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateComputer func (c *DirectoryService) CreateComputer(input *CreateComputerInput) (*CreateComputerOutput, error) { @@ -814,14 +814,13 @@ const opCreateConditionalForwarder = "CreateConditionalForwarder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConditionalForwarderRequest method. +// req, resp := client.CreateConditionalForwarderRequest(params) // -// // Example sending a request using the CreateConditionalForwarderRequest method. -// req, resp := client.CreateConditionalForwarderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateConditionalForwarder func (c *DirectoryService) CreateConditionalForwarderRequest(input *CreateConditionalForwarderInput) (req *request.Request, output *CreateConditionalForwarderOutput) { @@ -856,26 +855,27 @@ func (c *DirectoryService) CreateConditionalForwarderRequest(input *CreateCondit // API operation CreateConditionalForwarder for usage and error information. // // Returned Error Types: -// * EntityAlreadyExistsException -// The specified entity already exists. // -// * EntityDoesNotExistException -// The specified entity could not be found. +// - EntityAlreadyExistsException +// The specified entity already exists. +// +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidParameterException +// One or more parameters are not valid. // -// * UnsupportedOperationException -// The operation is not supported. +// - UnsupportedOperationException +// The operation is not supported. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateConditionalForwarder func (c *DirectoryService) CreateConditionalForwarder(input *CreateConditionalForwarderInput) (*CreateConditionalForwarderOutput, error) { @@ -915,14 +915,13 @@ const opCreateDirectory = "CreateDirectory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDirectoryRequest method. +// req, resp := client.CreateDirectoryRequest(params) // -// // Example sending a request using the CreateDirectoryRequest method. -// req, resp := client.CreateDirectoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateDirectory func (c *DirectoryService) CreateDirectoryRequest(input *CreateDirectoryInput) (req *request.Request, output *CreateDirectoryOutput) { @@ -960,19 +959,20 @@ func (c *DirectoryService) CreateDirectoryRequest(input *CreateDirectoryInput) ( // API operation CreateDirectory for usage and error information. // // Returned Error Types: -// * DirectoryLimitExceededException -// The maximum number of directories in the region has been reached. You can -// use the GetDirectoryLimits operation to determine your directory limits in -// the region. // -// * InvalidParameterException -// One or more parameters are not valid. +// - DirectoryLimitExceededException +// The maximum number of directories in the region has been reached. You can +// use the GetDirectoryLimits operation to determine your directory limits in +// the region. +// +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateDirectory func (c *DirectoryService) CreateDirectory(input *CreateDirectoryInput) (*CreateDirectoryOutput, error) { @@ -1012,14 +1012,13 @@ const opCreateLogSubscription = "CreateLogSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLogSubscriptionRequest method. +// req, resp := client.CreateLogSubscriptionRequest(params) // -// // Example sending a request using the CreateLogSubscriptionRequest method. -// req, resp := client.CreateLogSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateLogSubscription func (c *DirectoryService) CreateLogSubscriptionRequest(input *CreateLogSubscriptionInput) (req *request.Request, output *CreateLogSubscriptionOutput) { @@ -1053,23 +1052,24 @@ func (c *DirectoryService) CreateLogSubscriptionRequest(input *CreateLogSubscrip // API operation CreateLogSubscription for usage and error information. // // Returned Error Types: -// * EntityAlreadyExistsException -// The specified entity already exists. // -// * EntityDoesNotExistException -// The specified entity could not be found. +// - EntityAlreadyExistsException +// The specified entity already exists. +// +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * UnsupportedOperationException -// The operation is not supported. +// - UnsupportedOperationException +// The operation is not supported. // -// * InsufficientPermissionsException -// The account does not have sufficient permission to perform the operation. +// - InsufficientPermissionsException +// The account does not have sufficient permission to perform the operation. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateLogSubscription func (c *DirectoryService) CreateLogSubscription(input *CreateLogSubscriptionInput) (*CreateLogSubscriptionOutput, error) { @@ -1109,14 +1109,13 @@ const opCreateMicrosoftAD = "CreateMicrosoftAD" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMicrosoftADRequest method. +// req, resp := client.CreateMicrosoftADRequest(params) // -// // Example sending a request using the CreateMicrosoftADRequest method. -// req, resp := client.CreateMicrosoftADRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateMicrosoftAD func (c *DirectoryService) CreateMicrosoftADRequest(input *CreateMicrosoftADInput) (req *request.Request, output *CreateMicrosoftADOutput) { @@ -1154,22 +1153,23 @@ func (c *DirectoryService) CreateMicrosoftADRequest(input *CreateMicrosoftADInpu // API operation CreateMicrosoftAD for usage and error information. // // Returned Error Types: -// * DirectoryLimitExceededException -// The maximum number of directories in the region has been reached. You can -// use the GetDirectoryLimits operation to determine your directory limits in -// the region. // -// * InvalidParameterException -// One or more parameters are not valid. +// - DirectoryLimitExceededException +// The maximum number of directories in the region has been reached. You can +// use the GetDirectoryLimits operation to determine your directory limits in +// the region. +// +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // -// * UnsupportedOperationException -// The operation is not supported. +// - UnsupportedOperationException +// The operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateMicrosoftAD func (c *DirectoryService) CreateMicrosoftAD(input *CreateMicrosoftADInput) (*CreateMicrosoftADOutput, error) { @@ -1209,14 +1209,13 @@ const opCreateSnapshot = "CreateSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSnapshotRequest method. +// req, resp := client.CreateSnapshotRequest(params) // -// // Example sending a request using the CreateSnapshotRequest method. -// req, resp := client.CreateSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateSnapshot func (c *DirectoryService) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Request, output *CreateSnapshotOutput) { @@ -1250,22 +1249,23 @@ func (c *DirectoryService) CreateSnapshotRequest(input *CreateSnapshotInput) (re // API operation CreateSnapshot for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. +// +// - InvalidParameterException +// One or more parameters are not valid. // -// * SnapshotLimitExceededException -// The maximum number of manual snapshots for the directory has been reached. -// You can use the GetSnapshotLimits operation to determine the snapshot limits -// for a directory. +// - SnapshotLimitExceededException +// The maximum number of manual snapshots for the directory has been reached. +// You can use the GetSnapshotLimits operation to determine the snapshot limits +// for a directory. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateSnapshot func (c *DirectoryService) CreateSnapshot(input *CreateSnapshotInput) (*CreateSnapshotOutput, error) { @@ -1305,14 +1305,13 @@ const opCreateTrust = "CreateTrust" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTrustRequest method. +// req, resp := client.CreateTrustRequest(params) // -// // Example sending a request using the CreateTrustRequest method. -// req, resp := client.CreateTrustRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateTrust func (c *DirectoryService) CreateTrustRequest(input *CreateTrustInput) (req *request.Request, output *CreateTrustOutput) { @@ -1351,23 +1350,24 @@ func (c *DirectoryService) CreateTrustRequest(input *CreateTrustInput) (req *req // API operation CreateTrust for usage and error information. // // Returned Error Types: -// * EntityAlreadyExistsException -// The specified entity already exists. // -// * EntityDoesNotExistException -// The specified entity could not be found. +// - EntityAlreadyExistsException +// The specified entity already exists. +// +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // -// * UnsupportedOperationException -// The operation is not supported. +// - UnsupportedOperationException +// The operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateTrust func (c *DirectoryService) CreateTrust(input *CreateTrustInput) (*CreateTrustOutput, error) { @@ -1407,14 +1407,13 @@ const opDeleteConditionalForwarder = "DeleteConditionalForwarder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConditionalForwarderRequest method. +// req, resp := client.DeleteConditionalForwarderRequest(params) // -// // Example sending a request using the DeleteConditionalForwarderRequest method. -// req, resp := client.DeleteConditionalForwarderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteConditionalForwarder func (c *DirectoryService) DeleteConditionalForwarderRequest(input *DeleteConditionalForwarderInput) (req *request.Request, output *DeleteConditionalForwarderOutput) { @@ -1447,23 +1446,24 @@ func (c *DirectoryService) DeleteConditionalForwarderRequest(input *DeleteCondit // API operation DeleteConditionalForwarder for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. +// - EntityDoesNotExistException +// The specified entity could not be found. +// +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidParameterException +// One or more parameters are not valid. // -// * UnsupportedOperationException -// The operation is not supported. +// - UnsupportedOperationException +// The operation is not supported. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteConditionalForwarder func (c *DirectoryService) DeleteConditionalForwarder(input *DeleteConditionalForwarderInput) (*DeleteConditionalForwarderOutput, error) { @@ -1503,14 +1503,13 @@ const opDeleteDirectory = "DeleteDirectory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDirectoryRequest method. +// req, resp := client.DeleteDirectoryRequest(params) // -// // Example sending a request using the DeleteDirectoryRequest method. -// req, resp := client.DeleteDirectoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteDirectory func (c *DirectoryService) DeleteDirectoryRequest(input *DeleteDirectoryInput) (req *request.Request, output *DeleteDirectoryOutput) { @@ -1546,14 +1545,15 @@ func (c *DirectoryService) DeleteDirectoryRequest(input *DeleteDirectoryInput) ( // API operation DeleteDirectory for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * ClientException -// A client exception has occurred. +// - EntityDoesNotExistException +// The specified entity could not be found. +// +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteDirectory func (c *DirectoryService) DeleteDirectory(input *DeleteDirectoryInput) (*DeleteDirectoryOutput, error) { @@ -1593,14 +1593,13 @@ const opDeleteLogSubscription = "DeleteLogSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLogSubscriptionRequest method. +// req, resp := client.DeleteLogSubscriptionRequest(params) // -// // Example sending a request using the DeleteLogSubscriptionRequest method. -// req, resp := client.DeleteLogSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteLogSubscription func (c *DirectoryService) DeleteLogSubscriptionRequest(input *DeleteLogSubscriptionInput) (req *request.Request, output *DeleteLogSubscriptionOutput) { @@ -1632,17 +1631,18 @@ func (c *DirectoryService) DeleteLogSubscriptionRequest(input *DeleteLogSubscrip // API operation DeleteLogSubscription for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * UnsupportedOperationException -// The operation is not supported. +// - EntityDoesNotExistException +// The specified entity could not be found. +// +// - UnsupportedOperationException +// The operation is not supported. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteLogSubscription func (c *DirectoryService) DeleteLogSubscription(input *DeleteLogSubscriptionInput) (*DeleteLogSubscriptionOutput, error) { @@ -1682,14 +1682,13 @@ const opDeleteSnapshot = "DeleteSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSnapshotRequest method. +// req, resp := client.DeleteSnapshotRequest(params) // -// // Example sending a request using the DeleteSnapshotRequest method. -// req, resp := client.DeleteSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteSnapshot func (c *DirectoryService) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *request.Request, output *DeleteSnapshotOutput) { @@ -1720,17 +1719,18 @@ func (c *DirectoryService) DeleteSnapshotRequest(input *DeleteSnapshotInput) (re // API operation DeleteSnapshot for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. +// +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteSnapshot func (c *DirectoryService) DeleteSnapshot(input *DeleteSnapshotInput) (*DeleteSnapshotOutput, error) { @@ -1770,14 +1770,13 @@ const opDeleteTrust = "DeleteTrust" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTrustRequest method. +// req, resp := client.DeleteTrustRequest(params) // -// // Example sending a request using the DeleteTrustRequest method. -// req, resp := client.DeleteTrustRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteTrust func (c *DirectoryService) DeleteTrustRequest(input *DeleteTrustInput) (req *request.Request, output *DeleteTrustOutput) { @@ -1809,20 +1808,21 @@ func (c *DirectoryService) DeleteTrustRequest(input *DeleteTrustInput) (req *req // API operation DeleteTrust for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. +// +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // -// * UnsupportedOperationException -// The operation is not supported. +// - UnsupportedOperationException +// The operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeleteTrust func (c *DirectoryService) DeleteTrust(input *DeleteTrustInput) (*DeleteTrustOutput, error) { @@ -1862,14 +1862,13 @@ const opDeregisterCertificate = "DeregisterCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterCertificateRequest method. +// req, resp := client.DeregisterCertificateRequest(params) // -// // Example sending a request using the DeregisterCertificateRequest method. -// req, resp := client.DeregisterCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterCertificate func (c *DirectoryService) DeregisterCertificateRequest(input *DeregisterCertificateInput) (req *request.Request, output *DeregisterCertificateOutput) { @@ -1902,30 +1901,31 @@ func (c *DirectoryService) DeregisterCertificateRequest(input *DeregisterCertifi // API operation DeregisterCertificate for usage and error information. // // Returned Error Types: -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. // -// * DirectoryDoesNotExistException -// The specified directory does not exist in the system. +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. +// +// - DirectoryDoesNotExistException +// The specified directory does not exist in the system. // -// * CertificateDoesNotExistException -// The certificate is not present in the system for describe or deregister activities. +// - CertificateDoesNotExistException +// The certificate is not present in the system for describe or deregister activities. // -// * CertificateInUseException -// The certificate is being used for the LDAP security connection and cannot -// be removed without disabling LDAP security. +// - CertificateInUseException +// The certificate is being used for the LDAP security connection and cannot +// be removed without disabling LDAP security. // -// * UnsupportedOperationException -// The operation is not supported. +// - UnsupportedOperationException +// The operation is not supported. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterCertificate func (c *DirectoryService) DeregisterCertificate(input *DeregisterCertificateInput) (*DeregisterCertificateOutput, error) { @@ -1965,14 +1965,13 @@ const opDeregisterEventTopic = "DeregisterEventTopic" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterEventTopicRequest method. +// req, resp := client.DeregisterEventTopicRequest(params) // -// // Example sending a request using the DeregisterEventTopicRequest method. -// req, resp := client.DeregisterEventTopicRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterEventTopic func (c *DirectoryService) DeregisterEventTopicRequest(input *DeregisterEventTopicInput) (req *request.Request, output *DeregisterEventTopicOutput) { @@ -2005,17 +2004,18 @@ func (c *DirectoryService) DeregisterEventTopicRequest(input *DeregisterEventTop // API operation DeregisterEventTopic for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. +// +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DeregisterEventTopic func (c *DirectoryService) DeregisterEventTopic(input *DeregisterEventTopicInput) (*DeregisterEventTopicOutput, error) { @@ -2055,14 +2055,13 @@ const opDescribeCertificate = "DescribeCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCertificateRequest method. +// req, resp := client.DescribeCertificateRequest(params) // -// // Example sending a request using the DescribeCertificateRequest method. -// req, resp := client.DescribeCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeCertificate func (c *DirectoryService) DescribeCertificateRequest(input *DescribeCertificateInput) (req *request.Request, output *DescribeCertificateOutput) { @@ -2094,23 +2093,24 @@ func (c *DirectoryService) DescribeCertificateRequest(input *DescribeCertificate // API operation DescribeCertificate for usage and error information. // // Returned Error Types: -// * DirectoryDoesNotExistException -// The specified directory does not exist in the system. // -// * UnsupportedOperationException -// The operation is not supported. +// - DirectoryDoesNotExistException +// The specified directory does not exist in the system. +// +// - UnsupportedOperationException +// The operation is not supported. // -// * CertificateDoesNotExistException -// The certificate is not present in the system for describe or deregister activities. +// - CertificateDoesNotExistException +// The certificate is not present in the system for describe or deregister activities. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeCertificate func (c *DirectoryService) DescribeCertificate(input *DescribeCertificateInput) (*DescribeCertificateOutput, error) { @@ -2150,14 +2150,13 @@ const opDescribeClientAuthenticationSettings = "DescribeClientAuthenticationSett // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClientAuthenticationSettingsRequest method. +// req, resp := client.DescribeClientAuthenticationSettingsRequest(params) // -// // Example sending a request using the DescribeClientAuthenticationSettingsRequest method. -// req, resp := client.DescribeClientAuthenticationSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeClientAuthenticationSettings func (c *DirectoryService) DescribeClientAuthenticationSettingsRequest(input *DescribeClientAuthenticationSettingsInput) (req *request.Request, output *DescribeClientAuthenticationSettingsOutput) { @@ -2191,23 +2190,24 @@ func (c *DirectoryService) DescribeClientAuthenticationSettingsRequest(input *De // API operation DescribeClientAuthenticationSettings for usage and error information. // // Returned Error Types: -// * DirectoryDoesNotExistException -// The specified directory does not exist in the system. // -// * UnsupportedOperationException -// The operation is not supported. +// - DirectoryDoesNotExistException +// The specified directory does not exist in the system. +// +// - UnsupportedOperationException +// The operation is not supported. // -// * AccessDeniedException -// Client authentication is not available in this region at this time. +// - AccessDeniedException +// Client authentication is not available in this region at this time. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeClientAuthenticationSettings func (c *DirectoryService) DescribeClientAuthenticationSettings(input *DescribeClientAuthenticationSettingsInput) (*DescribeClientAuthenticationSettingsOutput, error) { @@ -2247,14 +2247,13 @@ const opDescribeConditionalForwarders = "DescribeConditionalForwarders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConditionalForwardersRequest method. +// req, resp := client.DescribeConditionalForwardersRequest(params) // -// // Example sending a request using the DescribeConditionalForwardersRequest method. -// req, resp := client.DescribeConditionalForwardersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeConditionalForwarders func (c *DirectoryService) DescribeConditionalForwardersRequest(input *DescribeConditionalForwardersInput) (req *request.Request, output *DescribeConditionalForwardersOutput) { @@ -2288,23 +2287,24 @@ func (c *DirectoryService) DescribeConditionalForwardersRequest(input *DescribeC // API operation DescribeConditionalForwarders for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. +// - EntityDoesNotExistException +// The specified entity could not be found. +// +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidParameterException +// One or more parameters are not valid. // -// * UnsupportedOperationException -// The operation is not supported. +// - UnsupportedOperationException +// The operation is not supported. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeConditionalForwarders func (c *DirectoryService) DescribeConditionalForwarders(input *DescribeConditionalForwardersInput) (*DescribeConditionalForwardersOutput, error) { @@ -2344,14 +2344,13 @@ const opDescribeDirectories = "DescribeDirectories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDirectoriesRequest method. +// req, resp := client.DescribeDirectoriesRequest(params) // -// // Example sending a request using the DescribeDirectoriesRequest method. -// req, resp := client.DescribeDirectoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectories func (c *DirectoryService) DescribeDirectoriesRequest(input *DescribeDirectoriesInput) (req *request.Request, output *DescribeDirectoriesOutput) { @@ -2393,20 +2392,21 @@ func (c *DirectoryService) DescribeDirectoriesRequest(input *DescribeDirectories // API operation DescribeDirectories for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. +// +// - InvalidParameterException +// One or more parameters are not valid. // -// * InvalidNextTokenException -// The NextToken value is not valid. +// - InvalidNextTokenException +// The NextToken value is not valid. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectories func (c *DirectoryService) DescribeDirectories(input *DescribeDirectoriesInput) (*DescribeDirectoriesOutput, error) { @@ -2446,14 +2446,13 @@ const opDescribeDomainControllers = "DescribeDomainControllers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainControllersRequest method. +// req, resp := client.DescribeDomainControllersRequest(params) // -// // Example sending a request using the DescribeDomainControllersRequest method. -// req, resp := client.DescribeDomainControllersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllers func (c *DirectoryService) DescribeDomainControllersRequest(input *DescribeDomainControllersInput) (req *request.Request, output *DescribeDomainControllersOutput) { @@ -2490,23 +2489,24 @@ func (c *DirectoryService) DescribeDomainControllersRequest(input *DescribeDomai // API operation DescribeDomainControllers for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidNextTokenException -// The NextToken value is not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. +// +// - InvalidNextTokenException +// The NextToken value is not valid. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // -// * UnsupportedOperationException -// The operation is not supported. +// - UnsupportedOperationException +// The operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDomainControllers func (c *DirectoryService) DescribeDomainControllers(input *DescribeDomainControllersInput) (*DescribeDomainControllersOutput, error) { @@ -2538,15 +2538,14 @@ func (c *DirectoryService) DescribeDomainControllersWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDomainControllers operation. -// pageNum := 0 -// err := client.DescribeDomainControllersPages(params, -// func(page *directoryservice.DescribeDomainControllersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDomainControllers operation. +// pageNum := 0 +// err := client.DescribeDomainControllersPages(params, +// func(page *directoryservice.DescribeDomainControllersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DirectoryService) DescribeDomainControllersPages(input *DescribeDomainControllersInput, fn func(*DescribeDomainControllersOutput, bool) bool) error { return c.DescribeDomainControllersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2598,14 +2597,13 @@ const opDescribeEventTopics = "DescribeEventTopics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventTopicsRequest method. +// req, resp := client.DescribeEventTopicsRequest(params) // -// // Example sending a request using the DescribeEventTopicsRequest method. -// req, resp := client.DescribeEventTopicsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeEventTopics func (c *DirectoryService) DescribeEventTopicsRequest(input *DescribeEventTopicsInput) (req *request.Request, output *DescribeEventTopicsOutput) { @@ -2640,17 +2638,18 @@ func (c *DirectoryService) DescribeEventTopicsRequest(input *DescribeEventTopics // API operation DescribeEventTopics for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * ClientException -// A client exception has occurred. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeEventTopics func (c *DirectoryService) DescribeEventTopics(input *DescribeEventTopicsInput) (*DescribeEventTopicsOutput, error) { @@ -2690,14 +2689,13 @@ const opDescribeLDAPSSettings = "DescribeLDAPSSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLDAPSSettingsRequest method. +// req, resp := client.DescribeLDAPSSettingsRequest(params) // -// // Example sending a request using the DescribeLDAPSSettingsRequest method. -// req, resp := client.DescribeLDAPSSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeLDAPSSettings func (c *DirectoryService) DescribeLDAPSSettingsRequest(input *DescribeLDAPSSettingsInput) (req *request.Request, output *DescribeLDAPSSettingsOutput) { @@ -2728,23 +2726,24 @@ func (c *DirectoryService) DescribeLDAPSSettingsRequest(input *DescribeLDAPSSett // API operation DescribeLDAPSSettings for usage and error information. // // Returned Error Types: -// * DirectoryDoesNotExistException -// The specified directory does not exist in the system. // -// * UnsupportedOperationException -// The operation is not supported. +// - DirectoryDoesNotExistException +// The specified directory does not exist in the system. // -// * InvalidNextTokenException -// The NextToken value is not valid. +// - UnsupportedOperationException +// The operation is not supported. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidNextTokenException +// The NextToken value is not valid. // -// * ClientException -// A client exception has occurred. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeLDAPSSettings func (c *DirectoryService) DescribeLDAPSSettings(input *DescribeLDAPSSettingsInput) (*DescribeLDAPSSettingsOutput, error) { @@ -2784,14 +2783,13 @@ const opDescribeRegions = "DescribeRegions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRegionsRequest method. +// req, resp := client.DescribeRegionsRequest(params) // -// // Example sending a request using the DescribeRegionsRequest method. -// req, resp := client.DescribeRegionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeRegions func (c *DirectoryService) DescribeRegionsRequest(input *DescribeRegionsInput) (req *request.Request, output *DescribeRegionsOutput) { @@ -2823,26 +2821,27 @@ func (c *DirectoryService) DescribeRegionsRequest(input *DescribeRegionsInput) ( // API operation DescribeRegions for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DirectoryDoesNotExistException -// The specified directory does not exist in the system. +// - InvalidParameterException +// One or more parameters are not valid. // -// * UnsupportedOperationException -// The operation is not supported. +// - DirectoryDoesNotExistException +// The specified directory does not exist in the system. // -// * InvalidNextTokenException -// The NextToken value is not valid. +// - UnsupportedOperationException +// The operation is not supported. // -// * AccessDeniedException -// Client authentication is not available in this region at this time. +// - InvalidNextTokenException +// The NextToken value is not valid. // -// * ClientException -// A client exception has occurred. +// - AccessDeniedException +// Client authentication is not available in this region at this time. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeRegions func (c *DirectoryService) DescribeRegions(input *DescribeRegionsInput) (*DescribeRegionsOutput, error) { @@ -2882,14 +2881,13 @@ const opDescribeSharedDirectories = "DescribeSharedDirectories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSharedDirectoriesRequest method. +// req, resp := client.DescribeSharedDirectoriesRequest(params) // -// // Example sending a request using the DescribeSharedDirectoriesRequest method. -// req, resp := client.DescribeSharedDirectoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSharedDirectories func (c *DirectoryService) DescribeSharedDirectoriesRequest(input *DescribeSharedDirectoriesInput) (req *request.Request, output *DescribeSharedDirectoriesOutput) { @@ -2920,23 +2918,24 @@ func (c *DirectoryService) DescribeSharedDirectoriesRequest(input *DescribeShare // API operation DescribeSharedDirectories for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidNextTokenException -// The NextToken value is not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidNextTokenException +// The NextToken value is not valid. // -// * UnsupportedOperationException -// The operation is not supported. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - UnsupportedOperationException +// The operation is not supported. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSharedDirectories func (c *DirectoryService) DescribeSharedDirectories(input *DescribeSharedDirectoriesInput) (*DescribeSharedDirectoriesOutput, error) { @@ -2976,14 +2975,13 @@ const opDescribeSnapshots = "DescribeSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSnapshotsRequest method. +// req, resp := client.DescribeSnapshotsRequest(params) // -// // Example sending a request using the DescribeSnapshotsRequest method. -// req, resp := client.DescribeSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSnapshots func (c *DirectoryService) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req *request.Request, output *DescribeSnapshotsOutput) { @@ -3021,20 +3019,21 @@ func (c *DirectoryService) DescribeSnapshotsRequest(input *DescribeSnapshotsInpu // API operation DescribeSnapshots for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * InvalidNextTokenException -// The NextToken value is not valid. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - InvalidNextTokenException +// The NextToken value is not valid. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeSnapshots func (c *DirectoryService) DescribeSnapshots(input *DescribeSnapshotsInput) (*DescribeSnapshotsOutput, error) { @@ -3074,14 +3073,13 @@ const opDescribeTrusts = "DescribeTrusts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTrustsRequest method. +// req, resp := client.DescribeTrustsRequest(params) // -// // Example sending a request using the DescribeTrustsRequest method. -// req, resp := client.DescribeTrustsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeTrusts func (c *DirectoryService) DescribeTrustsRequest(input *DescribeTrustsInput) (req *request.Request, output *DescribeTrustsOutput) { @@ -3115,23 +3113,24 @@ func (c *DirectoryService) DescribeTrustsRequest(input *DescribeTrustsInput) (re // API operation DescribeTrusts for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidNextTokenException -// The NextToken value is not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidNextTokenException +// The NextToken value is not valid. // -// * ClientException -// A client exception has occurred. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. // -// * UnsupportedOperationException -// The operation is not supported. +// - ServiceException +// An exception has occurred in Directory Service. +// +// - UnsupportedOperationException +// The operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeTrusts func (c *DirectoryService) DescribeTrusts(input *DescribeTrustsInput) (*DescribeTrustsOutput, error) { @@ -3171,14 +3170,13 @@ const opDisableClientAuthentication = "DisableClientAuthentication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableClientAuthenticationRequest method. +// req, resp := client.DisableClientAuthenticationRequest(params) // -// // Example sending a request using the DisableClientAuthenticationRequest method. -// req, resp := client.DisableClientAuthenticationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableClientAuthentication func (c *DirectoryService) DisableClientAuthenticationRequest(input *DisableClientAuthenticationInput) (req *request.Request, output *DisableClientAuthenticationOutput) { @@ -3210,23 +3208,24 @@ func (c *DirectoryService) DisableClientAuthenticationRequest(input *DisableClie // API operation DisableClientAuthentication for usage and error information. // // Returned Error Types: -// * DirectoryDoesNotExistException -// The specified directory does not exist in the system. // -// * UnsupportedOperationException -// The operation is not supported. +// - DirectoryDoesNotExistException +// The specified directory does not exist in the system. // -// * InvalidClientAuthStatusException -// Client authentication is already enabled. +// - UnsupportedOperationException +// The operation is not supported. // -// * AccessDeniedException -// Client authentication is not available in this region at this time. +// - InvalidClientAuthStatusException +// Client authentication is already enabled. // -// * ClientException -// A client exception has occurred. +// - AccessDeniedException +// Client authentication is not available in this region at this time. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableClientAuthentication func (c *DirectoryService) DisableClientAuthentication(input *DisableClientAuthenticationInput) (*DisableClientAuthenticationOutput, error) { @@ -3266,14 +3265,13 @@ const opDisableLDAPS = "DisableLDAPS" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableLDAPSRequest method. +// req, resp := client.DisableLDAPSRequest(params) // -// // Example sending a request using the DisableLDAPSRequest method. -// req, resp := client.DisableLDAPSRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableLDAPS func (c *DirectoryService) DisableLDAPSRequest(input *DisableLDAPSInput) (req *request.Request, output *DisableLDAPSOutput) { @@ -3305,27 +3303,28 @@ func (c *DirectoryService) DisableLDAPSRequest(input *DisableLDAPSInput) (req *r // API operation DisableLDAPS for usage and error information. // // Returned Error Types: -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. // -// * DirectoryDoesNotExistException -// The specified directory does not exist in the system. +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. // -// * InvalidLDAPSStatusException -// The LDAP activities could not be performed because they are limited by the -// LDAPS status. +// - DirectoryDoesNotExistException +// The specified directory does not exist in the system. // -// * UnsupportedOperationException -// The operation is not supported. +// - InvalidLDAPSStatusException +// The LDAP activities could not be performed because they are limited by the +// LDAPS status. // -// * InvalidParameterException -// One or more parameters are not valid. +// - UnsupportedOperationException +// The operation is not supported. // -// * ClientException -// A client exception has occurred. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableLDAPS func (c *DirectoryService) DisableLDAPS(input *DisableLDAPSInput) (*DisableLDAPSOutput, error) { @@ -3365,14 +3364,13 @@ const opDisableRadius = "DisableRadius" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableRadiusRequest method. +// req, resp := client.DisableRadiusRequest(params) // -// // Example sending a request using the DisableRadiusRequest method. -// req, resp := client.DisableRadiusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableRadius func (c *DirectoryService) DisableRadiusRequest(input *DisableRadiusInput) (req *request.Request, output *DisableRadiusOutput) { @@ -3406,14 +3404,15 @@ func (c *DirectoryService) DisableRadiusRequest(input *DisableRadiusInput) (req // API operation DisableRadius for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * ClientException -// A client exception has occurred. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableRadius func (c *DirectoryService) DisableRadius(input *DisableRadiusInput) (*DisableRadiusOutput, error) { @@ -3453,14 +3452,13 @@ const opDisableSso = "DisableSso" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableSsoRequest method. +// req, resp := client.DisableSsoRequest(params) // -// // Example sending a request using the DisableSsoRequest method. -// req, resp := client.DisableSsoRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableSso func (c *DirectoryService) DisableSsoRequest(input *DisableSsoInput) (req *request.Request, output *DisableSsoOutput) { @@ -3492,20 +3490,21 @@ func (c *DirectoryService) DisableSsoRequest(input *DisableSsoInput) (req *reque // API operation DisableSso for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InsufficientPermissionsException -// The account does not have sufficient permission to perform the operation. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * AuthenticationFailedException -// An authentication error occurred. +// - InsufficientPermissionsException +// The account does not have sufficient permission to perform the operation. // -// * ClientException -// A client exception has occurred. +// - AuthenticationFailedException +// An authentication error occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableSso func (c *DirectoryService) DisableSso(input *DisableSsoInput) (*DisableSsoOutput, error) { @@ -3545,14 +3544,13 @@ const opEnableClientAuthentication = "EnableClientAuthentication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableClientAuthenticationRequest method. +// req, resp := client.EnableClientAuthenticationRequest(params) // -// // Example sending a request using the EnableClientAuthenticationRequest method. -// req, resp := client.EnableClientAuthenticationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableClientAuthentication func (c *DirectoryService) EnableClientAuthenticationRequest(input *EnableClientAuthenticationInput) (req *request.Request, output *EnableClientAuthenticationOutput) { @@ -3584,27 +3582,28 @@ func (c *DirectoryService) EnableClientAuthenticationRequest(input *EnableClient // API operation EnableClientAuthentication for usage and error information. // // Returned Error Types: -// * DirectoryDoesNotExistException -// The specified directory does not exist in the system. // -// * UnsupportedOperationException -// The operation is not supported. +// - DirectoryDoesNotExistException +// The specified directory does not exist in the system. // -// * InvalidClientAuthStatusException -// Client authentication is already enabled. +// - UnsupportedOperationException +// The operation is not supported. // -// * AccessDeniedException -// Client authentication is not available in this region at this time. +// - InvalidClientAuthStatusException +// Client authentication is already enabled. // -// * NoAvailableCertificateException -// Client authentication setup could not be completed because at least one valid -// certificate must be registered in the system. +// - AccessDeniedException +// Client authentication is not available in this region at this time. // -// * ClientException -// A client exception has occurred. +// - NoAvailableCertificateException +// Client authentication setup could not be completed because at least one valid +// certificate must be registered in the system. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableClientAuthentication func (c *DirectoryService) EnableClientAuthentication(input *EnableClientAuthenticationInput) (*EnableClientAuthenticationOutput, error) { @@ -3644,14 +3643,13 @@ const opEnableLDAPS = "EnableLDAPS" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableLDAPSRequest method. +// req, resp := client.EnableLDAPSRequest(params) // -// // Example sending a request using the EnableLDAPSRequest method. -// req, resp := client.EnableLDAPSRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableLDAPS func (c *DirectoryService) EnableLDAPSRequest(input *EnableLDAPSInput) (req *request.Request, output *EnableLDAPSOutput) { @@ -3684,31 +3682,32 @@ func (c *DirectoryService) EnableLDAPSRequest(input *EnableLDAPSInput) (req *req // API operation EnableLDAPS for usage and error information. // // Returned Error Types: -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. // -// * DirectoryDoesNotExistException -// The specified directory does not exist in the system. +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. // -// * NoAvailableCertificateException -// Client authentication setup could not be completed because at least one valid -// certificate must be registered in the system. +// - DirectoryDoesNotExistException +// The specified directory does not exist in the system. // -// * InvalidLDAPSStatusException -// The LDAP activities could not be performed because they are limited by the -// LDAPS status. +// - NoAvailableCertificateException +// Client authentication setup could not be completed because at least one valid +// certificate must be registered in the system. // -// * UnsupportedOperationException -// The operation is not supported. +// - InvalidLDAPSStatusException +// The LDAP activities could not be performed because they are limited by the +// LDAPS status. // -// * InvalidParameterException -// One or more parameters are not valid. +// - UnsupportedOperationException +// The operation is not supported. // -// * ClientException -// A client exception has occurred. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableLDAPS func (c *DirectoryService) EnableLDAPS(input *EnableLDAPSInput) (*EnableLDAPSOutput, error) { @@ -3748,14 +3747,13 @@ const opEnableRadius = "EnableRadius" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableRadiusRequest method. +// req, resp := client.EnableRadiusRequest(params) // -// // Example sending a request using the EnableRadiusRequest method. -// req, resp := client.EnableRadiusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableRadius func (c *DirectoryService) EnableRadiusRequest(input *EnableRadiusInput) (req *request.Request, output *EnableRadiusOutput) { @@ -3789,20 +3787,21 @@ func (c *DirectoryService) EnableRadiusRequest(input *EnableRadiusInput) (req *r // API operation EnableRadius for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * EntityAlreadyExistsException -// The specified entity already exists. +// - InvalidParameterException +// One or more parameters are not valid. // -// * EntityDoesNotExistException -// The specified entity could not be found. +// - EntityAlreadyExistsException +// The specified entity already exists. // -// * ClientException -// A client exception has occurred. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableRadius func (c *DirectoryService) EnableRadius(input *EnableRadiusInput) (*EnableRadiusOutput, error) { @@ -3842,14 +3841,13 @@ const opEnableSso = "EnableSso" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableSsoRequest method. +// req, resp := client.EnableSsoRequest(params) // -// // Example sending a request using the EnableSsoRequest method. -// req, resp := client.EnableSsoRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableSso func (c *DirectoryService) EnableSsoRequest(input *EnableSsoInput) (req *request.Request, output *EnableSsoOutput) { @@ -3883,20 +3881,21 @@ func (c *DirectoryService) EnableSsoRequest(input *EnableSsoInput) (req *request // API operation EnableSso for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InsufficientPermissionsException -// The account does not have sufficient permission to perform the operation. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * AuthenticationFailedException -// An authentication error occurred. +// - InsufficientPermissionsException +// The account does not have sufficient permission to perform the operation. // -// * ClientException -// A client exception has occurred. +// - AuthenticationFailedException +// An authentication error occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableSso func (c *DirectoryService) EnableSso(input *EnableSsoInput) (*EnableSsoOutput, error) { @@ -3936,14 +3935,13 @@ const opGetDirectoryLimits = "GetDirectoryLimits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDirectoryLimitsRequest method. +// req, resp := client.GetDirectoryLimitsRequest(params) // -// // Example sending a request using the GetDirectoryLimitsRequest method. -// req, resp := client.GetDirectoryLimitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetDirectoryLimits func (c *DirectoryService) GetDirectoryLimitsRequest(input *GetDirectoryLimitsInput) (req *request.Request, output *GetDirectoryLimitsOutput) { @@ -3974,14 +3972,15 @@ func (c *DirectoryService) GetDirectoryLimitsRequest(input *GetDirectoryLimitsIn // API operation GetDirectoryLimits for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * ClientException -// A client exception has occurred. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetDirectoryLimits func (c *DirectoryService) GetDirectoryLimits(input *GetDirectoryLimitsInput) (*GetDirectoryLimitsOutput, error) { @@ -4021,14 +4020,13 @@ const opGetSnapshotLimits = "GetSnapshotLimits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSnapshotLimitsRequest method. +// req, resp := client.GetSnapshotLimitsRequest(params) // -// // Example sending a request using the GetSnapshotLimitsRequest method. -// req, resp := client.GetSnapshotLimitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetSnapshotLimits func (c *DirectoryService) GetSnapshotLimitsRequest(input *GetSnapshotLimitsInput) (req *request.Request, output *GetSnapshotLimitsOutput) { @@ -4059,14 +4057,15 @@ func (c *DirectoryService) GetSnapshotLimitsRequest(input *GetSnapshotLimitsInpu // API operation GetSnapshotLimits for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * ClientException -// A client exception has occurred. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/GetSnapshotLimits func (c *DirectoryService) GetSnapshotLimits(input *GetSnapshotLimitsInput) (*GetSnapshotLimitsOutput, error) { @@ -4106,14 +4105,13 @@ const opListCertificates = "ListCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCertificatesRequest method. +// req, resp := client.ListCertificatesRequest(params) // -// // Example sending a request using the ListCertificatesRequest method. -// req, resp := client.ListCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListCertificates func (c *DirectoryService) ListCertificatesRequest(input *ListCertificatesInput) (req *request.Request, output *ListCertificatesOutput) { @@ -4145,23 +4143,24 @@ func (c *DirectoryService) ListCertificatesRequest(input *ListCertificatesInput) // API operation ListCertificates for usage and error information. // // Returned Error Types: -// * DirectoryDoesNotExistException -// The specified directory does not exist in the system. // -// * UnsupportedOperationException -// The operation is not supported. +// - DirectoryDoesNotExistException +// The specified directory does not exist in the system. // -// * InvalidParameterException -// One or more parameters are not valid. +// - UnsupportedOperationException +// The operation is not supported. // -// * InvalidNextTokenException -// The NextToken value is not valid. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - InvalidNextTokenException +// The NextToken value is not valid. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListCertificates func (c *DirectoryService) ListCertificates(input *ListCertificatesInput) (*ListCertificatesOutput, error) { @@ -4201,14 +4200,13 @@ const opListIpRoutes = "ListIpRoutes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIpRoutesRequest method. +// req, resp := client.ListIpRoutesRequest(params) // -// // Example sending a request using the ListIpRoutesRequest method. -// req, resp := client.ListIpRoutesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListIpRoutes func (c *DirectoryService) ListIpRoutesRequest(input *ListIpRoutesInput) (req *request.Request, output *ListIpRoutesOutput) { @@ -4239,20 +4237,21 @@ func (c *DirectoryService) ListIpRoutesRequest(input *ListIpRoutesInput) (req *r // API operation ListIpRoutes for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidNextTokenException -// The NextToken value is not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidNextTokenException +// The NextToken value is not valid. // -// * ClientException -// A client exception has occurred. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListIpRoutes func (c *DirectoryService) ListIpRoutes(input *ListIpRoutesInput) (*ListIpRoutesOutput, error) { @@ -4292,14 +4291,13 @@ const opListLogSubscriptions = "ListLogSubscriptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLogSubscriptionsRequest method. +// req, resp := client.ListLogSubscriptionsRequest(params) // -// // Example sending a request using the ListLogSubscriptionsRequest method. -// req, resp := client.ListLogSubscriptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListLogSubscriptions func (c *DirectoryService) ListLogSubscriptionsRequest(input *ListLogSubscriptionsInput) (req *request.Request, output *ListLogSubscriptionsOutput) { @@ -4330,17 +4328,18 @@ func (c *DirectoryService) ListLogSubscriptionsRequest(input *ListLogSubscriptio // API operation ListLogSubscriptions for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidNextTokenException -// The NextToken value is not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * ClientException -// A client exception has occurred. +// - InvalidNextTokenException +// The NextToken value is not valid. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListLogSubscriptions func (c *DirectoryService) ListLogSubscriptions(input *ListLogSubscriptionsInput) (*ListLogSubscriptionsOutput, error) { @@ -4380,14 +4379,13 @@ const opListSchemaExtensions = "ListSchemaExtensions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSchemaExtensionsRequest method. +// req, resp := client.ListSchemaExtensionsRequest(params) // -// // Example sending a request using the ListSchemaExtensionsRequest method. -// req, resp := client.ListSchemaExtensionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListSchemaExtensions func (c *DirectoryService) ListSchemaExtensionsRequest(input *ListSchemaExtensionsInput) (req *request.Request, output *ListSchemaExtensionsOutput) { @@ -4418,17 +4416,18 @@ func (c *DirectoryService) ListSchemaExtensionsRequest(input *ListSchemaExtensio // API operation ListSchemaExtensions for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The NextToken value is not valid. // -// * EntityDoesNotExistException -// The specified entity could not be found. +// - InvalidNextTokenException +// The NextToken value is not valid. // -// * ClientException -// A client exception has occurred. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListSchemaExtensions func (c *DirectoryService) ListSchemaExtensions(input *ListSchemaExtensionsInput) (*ListSchemaExtensionsOutput, error) { @@ -4468,14 +4467,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListTagsForResource func (c *DirectoryService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4506,20 +4504,21 @@ func (c *DirectoryService) ListTagsForResourceRequest(input *ListTagsForResource // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidNextTokenException -// The NextToken value is not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidNextTokenException +// The NextToken value is not valid. // -// * ClientException -// A client exception has occurred. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ListTagsForResource func (c *DirectoryService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4559,14 +4558,13 @@ const opRegisterCertificate = "RegisterCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterCertificateRequest method. +// req, resp := client.RegisterCertificateRequest(params) // -// // Example sending a request using the RegisterCertificateRequest method. -// req, resp := client.RegisterCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterCertificate func (c *DirectoryService) RegisterCertificateRequest(input *RegisterCertificateInput) (req *request.Request, output *RegisterCertificateOutput) { @@ -4597,33 +4595,34 @@ func (c *DirectoryService) RegisterCertificateRequest(input *RegisterCertificate // API operation RegisterCertificate for usage and error information. // // Returned Error Types: -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. // -// * DirectoryDoesNotExistException -// The specified directory does not exist in the system. +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. // -// * InvalidCertificateException -// The certificate PEM that was provided has incorrect encoding. +// - DirectoryDoesNotExistException +// The specified directory does not exist in the system. // -// * CertificateLimitExceededException -// The certificate could not be added because the certificate limit has been -// reached. +// - InvalidCertificateException +// The certificate PEM that was provided has incorrect encoding. // -// * CertificateAlreadyExistsException -// The certificate has already been registered into the system. +// - CertificateLimitExceededException +// The certificate could not be added because the certificate limit has been +// reached. // -// * UnsupportedOperationException -// The operation is not supported. +// - CertificateAlreadyExistsException +// The certificate has already been registered into the system. // -// * InvalidParameterException -// One or more parameters are not valid. +// - UnsupportedOperationException +// The operation is not supported. // -// * ClientException -// A client exception has occurred. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterCertificate func (c *DirectoryService) RegisterCertificate(input *RegisterCertificateInput) (*RegisterCertificateOutput, error) { @@ -4663,14 +4662,13 @@ const opRegisterEventTopic = "RegisterEventTopic" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterEventTopicRequest method. +// req, resp := client.RegisterEventTopicRequest(params) // -// // Example sending a request using the RegisterEventTopicRequest method. -// req, resp := client.RegisterEventTopicRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterEventTopic func (c *DirectoryService) RegisterEventTopicRequest(input *RegisterEventTopicInput) (req *request.Request, output *RegisterEventTopicOutput) { @@ -4707,17 +4705,18 @@ func (c *DirectoryService) RegisterEventTopicRequest(input *RegisterEventTopicIn // API operation RegisterEventTopic for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * ClientException -// A client exception has occurred. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RegisterEventTopic func (c *DirectoryService) RegisterEventTopic(input *RegisterEventTopicInput) (*RegisterEventTopicOutput, error) { @@ -4757,14 +4756,13 @@ const opRejectSharedDirectory = "RejectSharedDirectory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectSharedDirectoryRequest method. +// req, resp := client.RejectSharedDirectoryRequest(params) // -// // Example sending a request using the RejectSharedDirectoryRequest method. -// req, resp := client.RejectSharedDirectoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RejectSharedDirectory func (c *DirectoryService) RejectSharedDirectoryRequest(input *RejectSharedDirectoryInput) (req *request.Request, output *RejectSharedDirectoryOutput) { @@ -4796,21 +4794,22 @@ func (c *DirectoryService) RejectSharedDirectoryRequest(input *RejectSharedDirec // API operation RejectSharedDirectory for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * EntityDoesNotExistException -// The specified entity could not be found. +// - InvalidParameterException +// One or more parameters are not valid. // -// * DirectoryAlreadySharedException -// The specified directory has already been shared with this Amazon Web Services -// account. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * ClientException -// A client exception has occurred. +// - DirectoryAlreadySharedException +// The specified directory has already been shared with this Amazon Web Services +// account. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RejectSharedDirectory func (c *DirectoryService) RejectSharedDirectory(input *RejectSharedDirectoryInput) (*RejectSharedDirectoryOutput, error) { @@ -4850,14 +4849,13 @@ const opRemoveIpRoutes = "RemoveIpRoutes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveIpRoutesRequest method. +// req, resp := client.RemoveIpRoutesRequest(params) // -// // Example sending a request using the RemoveIpRoutesRequest method. -// req, resp := client.RemoveIpRoutesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveIpRoutes func (c *DirectoryService) RemoveIpRoutesRequest(input *RemoveIpRoutesInput) (req *request.Request, output *RemoveIpRoutesOutput) { @@ -4889,20 +4887,21 @@ func (c *DirectoryService) RemoveIpRoutesRequest(input *RemoveIpRoutesInput) (re // API operation RemoveIpRoutes for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveIpRoutes func (c *DirectoryService) RemoveIpRoutes(input *RemoveIpRoutesInput) (*RemoveIpRoutesOutput, error) { @@ -4942,14 +4941,13 @@ const opRemoveRegion = "RemoveRegion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveRegionRequest method. +// req, resp := client.RemoveRegionRequest(params) // -// // Example sending a request using the RemoveRegionRequest method. -// req, resp := client.RemoveRegionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveRegion func (c *DirectoryService) RemoveRegionRequest(input *RemoveRegionInput) (req *request.Request, output *RemoveRegionOutput) { @@ -4983,23 +4981,24 @@ func (c *DirectoryService) RemoveRegionRequest(input *RemoveRegionInput) (req *r // API operation RemoveRegion for usage and error information. // // Returned Error Types: -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. // -// * DirectoryDoesNotExistException -// The specified directory does not exist in the system. +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. // -// * UnsupportedOperationException -// The operation is not supported. +// - DirectoryDoesNotExistException +// The specified directory does not exist in the system. // -// * AccessDeniedException -// Client authentication is not available in this region at this time. +// - UnsupportedOperationException +// The operation is not supported. // -// * ClientException -// A client exception has occurred. +// - AccessDeniedException +// Client authentication is not available in this region at this time. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveRegion func (c *DirectoryService) RemoveRegion(input *RemoveRegionInput) (*RemoveRegionOutput, error) { @@ -5039,14 +5038,13 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsFromResourceRequest method. +// req, resp := client.RemoveTagsFromResourceRequest(params) // -// // Example sending a request using the RemoveTagsFromResourceRequest method. -// req, resp := client.RemoveTagsFromResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveTagsFromResource func (c *DirectoryService) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput) { @@ -5078,17 +5076,18 @@ func (c *DirectoryService) RemoveTagsFromResourceRequest(input *RemoveTagsFromRe // API operation RemoveTagsFromResource for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * ClientException -// A client exception has occurred. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RemoveTagsFromResource func (c *DirectoryService) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error) { @@ -5128,14 +5127,13 @@ const opResetUserPassword = "ResetUserPassword" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetUserPasswordRequest method. +// req, resp := client.ResetUserPasswordRequest(params) // -// // Example sending a request using the ResetUserPasswordRequest method. -// req, resp := client.ResetUserPasswordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ResetUserPassword func (c *DirectoryService) ResetUserPasswordRequest(input *ResetUserPasswordInput) (req *request.Request, output *ResetUserPasswordOutput) { @@ -5163,17 +5161,17 @@ func (c *DirectoryService) ResetUserPasswordRequest(input *ResetUserPasswordInpu // You can reset the password for any user in your directory with the following // exceptions: // -// * For Simple AD, you cannot reset the password for any user that is a -// member of either the Domain Admins or Enterprise Admins group except for -// the administrator user. +// - For Simple AD, you cannot reset the password for any user that is a +// member of either the Domain Admins or Enterprise Admins group except for +// the administrator user. // -// * For Managed Microsoft AD, you can only reset the password for a user -// that is in an OU based off of the NetBIOS name that you typed when you -// created your directory. For example, you cannot reset the password for -// a user in the Amazon Web Services Reserved OU. For more information about -// the OU structure for an Managed Microsoft AD directory, see What Gets -// Created (https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ms_ad_getting_started_what_gets_created.html) -// in the Directory Service Administration Guide. +// - For Managed Microsoft AD, you can only reset the password for a user +// that is in an OU based off of the NetBIOS name that you typed when you +// created your directory. For example, you cannot reset the password for +// a user in the Amazon Web Services Reserved OU. For more information about +// the OU structure for an Managed Microsoft AD directory, see What Gets +// Created (https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ms_ad_getting_started_what_gets_created.html) +// in the Directory Service Administration Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5183,27 +5181,28 @@ func (c *DirectoryService) ResetUserPasswordRequest(input *ResetUserPasswordInpu // API operation ResetUserPassword for usage and error information. // // Returned Error Types: -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. // -// * UserDoesNotExistException -// The user provided a username that does not exist in your directory. +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. // -// * InvalidPasswordException -// The new password provided by the user does not meet the password complexity -// requirements defined in your directory. +// - UserDoesNotExistException +// The user provided a username that does not exist in your directory. // -// * UnsupportedOperationException -// The operation is not supported. +// - InvalidPasswordException +// The new password provided by the user does not meet the password complexity +// requirements defined in your directory. // -// * EntityDoesNotExistException -// The specified entity could not be found. +// - UnsupportedOperationException +// The operation is not supported. // -// * ClientException -// A client exception has occurred. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ResetUserPassword func (c *DirectoryService) ResetUserPassword(input *ResetUserPasswordInput) (*ResetUserPasswordOutput, error) { @@ -5243,14 +5242,13 @@ const opRestoreFromSnapshot = "RestoreFromSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreFromSnapshotRequest method. +// req, resp := client.RestoreFromSnapshotRequest(params) // -// // Example sending a request using the RestoreFromSnapshotRequest method. -// req, resp := client.RestoreFromSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RestoreFromSnapshot func (c *DirectoryService) RestoreFromSnapshotRequest(input *RestoreFromSnapshotInput) (req *request.Request, output *RestoreFromSnapshotOutput) { @@ -5290,17 +5288,18 @@ func (c *DirectoryService) RestoreFromSnapshotRequest(input *RestoreFromSnapshot // API operation RestoreFromSnapshot for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * ClientException -// A client exception has occurred. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/RestoreFromSnapshot func (c *DirectoryService) RestoreFromSnapshot(input *RestoreFromSnapshotInput) (*RestoreFromSnapshotOutput, error) { @@ -5340,14 +5339,13 @@ const opShareDirectory = "ShareDirectory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ShareDirectoryRequest method. +// req, resp := client.ShareDirectoryRequest(params) // -// // Example sending a request using the ShareDirectoryRequest method. -// req, resp := client.ShareDirectoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ShareDirectory func (c *DirectoryService) ShareDirectoryRequest(input *ShareDirectoryInput) (req *request.Request, output *ShareDirectoryOutput) { @@ -5396,37 +5394,38 @@ func (c *DirectoryService) ShareDirectoryRequest(input *ShareDirectoryInput) (re // API operation ShareDirectory for usage and error information. // // Returned Error Types: -// * DirectoryAlreadySharedException -// The specified directory has already been shared with this Amazon Web Services -// account. // -// * EntityDoesNotExistException -// The specified entity could not be found. +// - DirectoryAlreadySharedException +// The specified directory has already been shared with this Amazon Web Services +// account. // -// * InvalidTargetException -// The specified shared target is not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - InvalidTargetException +// The specified shared target is not valid. // -// * ClientException -// A client exception has occurred. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ShareLimitExceededException -// The maximum number of Amazon Web Services accounts that you can share with -// this directory has been reached. +// - ClientException +// A client exception has occurred. // -// * OrganizationsException -// Exception encountered while trying to access your Amazon Web Services organization. +// - ShareLimitExceededException +// The maximum number of Amazon Web Services accounts that you can share with +// this directory has been reached. // -// * AccessDeniedException -// Client authentication is not available in this region at this time. +// - OrganizationsException +// Exception encountered while trying to access your Amazon Web Services organization. // -// * UnsupportedOperationException -// The operation is not supported. +// - AccessDeniedException +// Client authentication is not available in this region at this time. // -// * ServiceException -// An exception has occurred in Directory Service. +// - UnsupportedOperationException +// The operation is not supported. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/ShareDirectory func (c *DirectoryService) ShareDirectory(input *ShareDirectoryInput) (*ShareDirectoryOutput, error) { @@ -5466,14 +5465,13 @@ const opStartSchemaExtension = "StartSchemaExtension" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartSchemaExtensionRequest method. +// req, resp := client.StartSchemaExtensionRequest(params) // -// // Example sending a request using the StartSchemaExtensionRequest method. -// req, resp := client.StartSchemaExtensionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtension func (c *DirectoryService) StartSchemaExtensionRequest(input *StartSchemaExtensionInput) (req *request.Request, output *StartSchemaExtensionOutput) { @@ -5504,25 +5502,26 @@ func (c *DirectoryService) StartSchemaExtensionRequest(input *StartSchemaExtensi // API operation StartSchemaExtension for usage and error information. // // Returned Error Types: -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. // -// * EntityDoesNotExistException -// The specified entity could not be found. +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * SnapshotLimitExceededException -// The maximum number of manual snapshots for the directory has been reached. -// You can use the GetSnapshotLimits operation to determine the snapshot limits -// for a directory. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - SnapshotLimitExceededException +// The maximum number of manual snapshots for the directory has been reached. +// You can use the GetSnapshotLimits operation to determine the snapshot limits +// for a directory. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/StartSchemaExtension func (c *DirectoryService) StartSchemaExtension(input *StartSchemaExtensionInput) (*StartSchemaExtensionOutput, error) { @@ -5562,14 +5561,13 @@ const opUnshareDirectory = "UnshareDirectory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnshareDirectoryRequest method. +// req, resp := client.UnshareDirectoryRequest(params) // -// // Example sending a request using the UnshareDirectoryRequest method. -// req, resp := client.UnshareDirectoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UnshareDirectory func (c *DirectoryService) UnshareDirectoryRequest(input *UnshareDirectoryInput) (req *request.Request, output *UnshareDirectoryOutput) { @@ -5600,21 +5598,22 @@ func (c *DirectoryService) UnshareDirectoryRequest(input *UnshareDirectoryInput) // API operation UnshareDirectory for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidTargetException -// The specified shared target is not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * DirectoryNotSharedException -// The specified directory has not been shared with this Amazon Web Services -// account. +// - InvalidTargetException +// The specified shared target is not valid. // -// * ClientException -// A client exception has occurred. +// - DirectoryNotSharedException +// The specified directory has not been shared with this Amazon Web Services +// account. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UnshareDirectory func (c *DirectoryService) UnshareDirectory(input *UnshareDirectoryInput) (*UnshareDirectoryOutput, error) { @@ -5654,14 +5653,13 @@ const opUpdateConditionalForwarder = "UpdateConditionalForwarder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConditionalForwarderRequest method. +// req, resp := client.UpdateConditionalForwarderRequest(params) // -// // Example sending a request using the UpdateConditionalForwarderRequest method. -// req, resp := client.UpdateConditionalForwarderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateConditionalForwarder func (c *DirectoryService) UpdateConditionalForwarderRequest(input *UpdateConditionalForwarderInput) (req *request.Request, output *UpdateConditionalForwarderOutput) { @@ -5694,23 +5692,24 @@ func (c *DirectoryService) UpdateConditionalForwarderRequest(input *UpdateCondit // API operation UpdateConditionalForwarder for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. // -// * UnsupportedOperationException -// The operation is not supported. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - UnsupportedOperationException +// The operation is not supported. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateConditionalForwarder func (c *DirectoryService) UpdateConditionalForwarder(input *UpdateConditionalForwarderInput) (*UpdateConditionalForwarderOutput, error) { @@ -5750,14 +5749,13 @@ const opUpdateNumberOfDomainControllers = "UpdateNumberOfDomainControllers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNumberOfDomainControllersRequest method. +// req, resp := client.UpdateNumberOfDomainControllersRequest(params) // -// // Example sending a request using the UpdateNumberOfDomainControllersRequest method. -// req, resp := client.UpdateNumberOfDomainControllersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateNumberOfDomainControllers func (c *DirectoryService) UpdateNumberOfDomainControllersRequest(input *UpdateNumberOfDomainControllersInput) (req *request.Request, output *UpdateNumberOfDomainControllersOutput) { @@ -5794,27 +5792,28 @@ func (c *DirectoryService) UpdateNumberOfDomainControllersRequest(input *UpdateN // API operation UpdateNumberOfDomainControllers for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * DirectoryUnavailableException -// The specified directory is unavailable or could not be found. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * DomainControllerLimitExceededException -// The maximum allowed number of domain controllers per directory was exceeded. -// The default limit per directory is 20 domain controllers. +// - DirectoryUnavailableException +// The specified directory is unavailable or could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - DomainControllerLimitExceededException +// The maximum allowed number of domain controllers per directory was exceeded. +// The default limit per directory is 20 domain controllers. // -// * UnsupportedOperationException -// The operation is not supported. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - UnsupportedOperationException +// The operation is not supported. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateNumberOfDomainControllers func (c *DirectoryService) UpdateNumberOfDomainControllers(input *UpdateNumberOfDomainControllersInput) (*UpdateNumberOfDomainControllersOutput, error) { @@ -5854,14 +5853,13 @@ const opUpdateRadius = "UpdateRadius" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRadiusRequest method. +// req, resp := client.UpdateRadiusRequest(params) // -// // Example sending a request using the UpdateRadiusRequest method. -// req, resp := client.UpdateRadiusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateRadius func (c *DirectoryService) UpdateRadiusRequest(input *UpdateRadiusInput) (req *request.Request, output *UpdateRadiusOutput) { @@ -5894,17 +5892,18 @@ func (c *DirectoryService) UpdateRadiusRequest(input *UpdateRadiusInput) (req *r // API operation UpdateRadius for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * EntityDoesNotExistException -// The specified entity could not be found. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateRadius func (c *DirectoryService) UpdateRadius(input *UpdateRadiusInput) (*UpdateRadiusOutput, error) { @@ -5944,14 +5943,13 @@ const opUpdateTrust = "UpdateTrust" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTrustRequest method. +// req, resp := client.UpdateTrustRequest(params) // -// // Example sending a request using the UpdateTrustRequest method. -// req, resp := client.UpdateTrustRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateTrust func (c *DirectoryService) UpdateTrustRequest(input *UpdateTrustInput) (req *request.Request, output *UpdateTrustOutput) { @@ -5983,17 +5981,18 @@ func (c *DirectoryService) UpdateTrustRequest(input *UpdateTrustInput) (req *req // API operation UpdateTrust for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. // -// * ClientException -// A client exception has occurred. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ClientException +// A client exception has occurred. +// +// - ServiceException +// An exception has occurred in Directory Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/UpdateTrust func (c *DirectoryService) UpdateTrust(input *UpdateTrustInput) (*UpdateTrustOutput, error) { @@ -6033,14 +6032,13 @@ const opVerifyTrust = "VerifyTrust" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the VerifyTrustRequest method. +// req, resp := client.VerifyTrustRequest(params) // -// // Example sending a request using the VerifyTrustRequest method. -// req, resp := client.VerifyTrustRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/VerifyTrust func (c *DirectoryService) VerifyTrustRequest(input *VerifyTrustInput) (req *request.Request, output *VerifyTrustOutput) { @@ -6075,20 +6073,21 @@ func (c *DirectoryService) VerifyTrustRequest(input *VerifyTrustInput) (req *req // API operation VerifyTrust for usage and error information. // // Returned Error Types: -// * EntityDoesNotExistException -// The specified entity could not be found. // -// * InvalidParameterException -// One or more parameters are not valid. +// - EntityDoesNotExistException +// The specified entity could not be found. +// +// - InvalidParameterException +// One or more parameters are not valid. // -// * ClientException -// A client exception has occurred. +// - ClientException +// A client exception has occurred. // -// * ServiceException -// An exception has occurred in Directory Service. +// - ServiceException +// An exception has occurred in Directory Service. // -// * UnsupportedOperationException -// The operation is not supported. +// - UnsupportedOperationException +// The operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/VerifyTrust func (c *DirectoryService) VerifyTrust(input *VerifyTrustInput) (*VerifyTrustOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/directoryserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/directoryserviceiface/interface.go index e4a8c1f9ffdd..6a9c4649d809 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/directoryserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/directoryserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Directory Service. -// func myFunc(svc directoryserviceiface.DirectoryServiceAPI) bool { -// // Make svc.AcceptSharedDirectory request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Directory Service. +// func myFunc(svc directoryserviceiface.DirectoryServiceAPI) bool { +// // Make svc.AcceptSharedDirectory request +// } // -// func main() { -// sess := session.New() -// svc := directoryservice.New(sess) +// func main() { +// sess := session.New() +// svc := directoryservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockDirectoryServiceClient struct { -// directoryserviceiface.DirectoryServiceAPI -// } -// func (m *mockDirectoryServiceClient) AcceptSharedDirectory(input *directoryservice.AcceptSharedDirectoryInput) (*directoryservice.AcceptSharedDirectoryOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockDirectoryServiceClient struct { +// directoryserviceiface.DirectoryServiceAPI +// } +// func (m *mockDirectoryServiceClient) AcceptSharedDirectory(input *directoryservice.AcceptSharedDirectoryInput) (*directoryservice.AcceptSharedDirectoryOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockDirectoryServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockDirectoryServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/doc.go index 26582558216a..d57461b3d2f1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/doc.go @@ -23,7 +23,7 @@ // See directoryservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/directoryservice/ // -// Using the Client +// # Using the Client // // To contact AWS Directory Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/service.go index 67d60648ef7a..74dc9c6ecfa6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/directoryservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a DirectoryService client from just a session. -// svc := directoryservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a DirectoryService client with additional configuration -// svc := directoryservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a DirectoryService client from just a session. +// svc := directoryservice.New(mySession) +// +// // Create a DirectoryService client with additional configuration +// svc := directoryservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *DirectoryService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/api.go index b6caed95940d..4b3576379a0d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/api.go @@ -29,14 +29,13 @@ const opCreateLifecyclePolicy = "CreateLifecyclePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLifecyclePolicyRequest method. +// req, resp := client.CreateLifecyclePolicyRequest(params) // -// // Example sending a request using the CreateLifecyclePolicyRequest method. -// req, resp := client.CreateLifecyclePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/CreateLifecyclePolicy func (c *DLM) CreateLifecyclePolicyRequest(input *CreateLifecyclePolicyInput) (req *request.Request, output *CreateLifecyclePolicyOutput) { @@ -68,14 +67,15 @@ func (c *DLM) CreateLifecyclePolicyRequest(input *CreateLifecyclePolicyInput) (r // API operation CreateLifecyclePolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// Bad request. The request is missing required parameters or has invalid parameters. // -// * LimitExceededException -// The request failed because a limit was exceeded. +// - InvalidRequestException +// Bad request. The request is missing required parameters or has invalid parameters. +// +// - LimitExceededException +// The request failed because a limit was exceeded. // -// * InternalServerException -// The service failed in an unexpected way. +// - InternalServerException +// The service failed in an unexpected way. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/CreateLifecyclePolicy func (c *DLM) CreateLifecyclePolicy(input *CreateLifecyclePolicyInput) (*CreateLifecyclePolicyOutput, error) { @@ -115,14 +115,13 @@ const opDeleteLifecyclePolicy = "DeleteLifecyclePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLifecyclePolicyRequest method. +// req, resp := client.DeleteLifecyclePolicyRequest(params) // -// // Example sending a request using the DeleteLifecyclePolicyRequest method. -// req, resp := client.DeleteLifecyclePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/DeleteLifecyclePolicy func (c *DLM) DeleteLifecyclePolicyRequest(input *DeleteLifecyclePolicyInput) (req *request.Request, output *DeleteLifecyclePolicyOutput) { @@ -155,14 +154,15 @@ func (c *DLM) DeleteLifecyclePolicyRequest(input *DeleteLifecyclePolicyInput) (r // API operation DeleteLifecyclePolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A requested resource was not found. // -// * InternalServerException -// The service failed in an unexpected way. +// - ResourceNotFoundException +// A requested resource was not found. +// +// - InternalServerException +// The service failed in an unexpected way. // -// * LimitExceededException -// The request failed because a limit was exceeded. +// - LimitExceededException +// The request failed because a limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/DeleteLifecyclePolicy func (c *DLM) DeleteLifecyclePolicy(input *DeleteLifecyclePolicyInput) (*DeleteLifecyclePolicyOutput, error) { @@ -202,14 +202,13 @@ const opGetLifecyclePolicies = "GetLifecyclePolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLifecyclePoliciesRequest method. +// req, resp := client.GetLifecyclePoliciesRequest(params) // -// // Example sending a request using the GetLifecyclePoliciesRequest method. -// req, resp := client.GetLifecyclePoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/GetLifecyclePolicies func (c *DLM) GetLifecyclePoliciesRequest(input *GetLifecyclePoliciesInput) (req *request.Request, output *GetLifecyclePoliciesOutput) { @@ -242,17 +241,18 @@ func (c *DLM) GetLifecyclePoliciesRequest(input *GetLifecyclePoliciesInput) (req // API operation GetLifecyclePolicies for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A requested resource was not found. // -// * InvalidRequestException -// Bad request. The request is missing required parameters or has invalid parameters. +// - ResourceNotFoundException +// A requested resource was not found. +// +// - InvalidRequestException +// Bad request. The request is missing required parameters or has invalid parameters. // -// * InternalServerException -// The service failed in an unexpected way. +// - InternalServerException +// The service failed in an unexpected way. // -// * LimitExceededException -// The request failed because a limit was exceeded. +// - LimitExceededException +// The request failed because a limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/GetLifecyclePolicies func (c *DLM) GetLifecyclePolicies(input *GetLifecyclePoliciesInput) (*GetLifecyclePoliciesOutput, error) { @@ -292,14 +292,13 @@ const opGetLifecyclePolicy = "GetLifecyclePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLifecyclePolicyRequest method. +// req, resp := client.GetLifecyclePolicyRequest(params) // -// // Example sending a request using the GetLifecyclePolicyRequest method. -// req, resp := client.GetLifecyclePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/GetLifecyclePolicy func (c *DLM) GetLifecyclePolicyRequest(input *GetLifecyclePolicyInput) (req *request.Request, output *GetLifecyclePolicyOutput) { @@ -330,14 +329,15 @@ func (c *DLM) GetLifecyclePolicyRequest(input *GetLifecyclePolicyInput) (req *re // API operation GetLifecyclePolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A requested resource was not found. // -// * InternalServerException -// The service failed in an unexpected way. +// - ResourceNotFoundException +// A requested resource was not found. +// +// - InternalServerException +// The service failed in an unexpected way. // -// * LimitExceededException -// The request failed because a limit was exceeded. +// - LimitExceededException +// The request failed because a limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/GetLifecyclePolicy func (c *DLM) GetLifecyclePolicy(input *GetLifecyclePolicyInput) (*GetLifecyclePolicyOutput, error) { @@ -377,14 +377,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/ListTagsForResource func (c *DLM) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -415,14 +414,15 @@ func (c *DLM) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The service failed in an unexpected way. // -// * InvalidRequestException -// Bad request. The request is missing required parameters or has invalid parameters. +// - InternalServerException +// The service failed in an unexpected way. +// +// - InvalidRequestException +// Bad request. The request is missing required parameters or has invalid parameters. // -// * ResourceNotFoundException -// A requested resource was not found. +// - ResourceNotFoundException +// A requested resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/ListTagsForResource func (c *DLM) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -462,14 +462,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/TagResource func (c *DLM) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -501,14 +500,15 @@ func (c *DLM) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The service failed in an unexpected way. // -// * InvalidRequestException -// Bad request. The request is missing required parameters or has invalid parameters. +// - InternalServerException +// The service failed in an unexpected way. +// +// - InvalidRequestException +// Bad request. The request is missing required parameters or has invalid parameters. // -// * ResourceNotFoundException -// A requested resource was not found. +// - ResourceNotFoundException +// A requested resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/TagResource func (c *DLM) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -548,14 +548,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/UntagResource func (c *DLM) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -587,14 +586,15 @@ func (c *DLM) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The service failed in an unexpected way. // -// * InvalidRequestException -// Bad request. The request is missing required parameters or has invalid parameters. +// - InternalServerException +// The service failed in an unexpected way. +// +// - InvalidRequestException +// Bad request. The request is missing required parameters or has invalid parameters. // -// * ResourceNotFoundException -// A requested resource was not found. +// - ResourceNotFoundException +// A requested resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/UntagResource func (c *DLM) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -634,14 +634,13 @@ const opUpdateLifecyclePolicy = "UpdateLifecyclePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLifecyclePolicyRequest method. +// req, resp := client.UpdateLifecyclePolicyRequest(params) // -// // Example sending a request using the UpdateLifecyclePolicyRequest method. -// req, resp := client.UpdateLifecyclePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/UpdateLifecyclePolicy func (c *DLM) UpdateLifecyclePolicyRequest(input *UpdateLifecyclePolicyInput) (req *request.Request, output *UpdateLifecyclePolicyOutput) { @@ -673,17 +672,18 @@ func (c *DLM) UpdateLifecyclePolicyRequest(input *UpdateLifecyclePolicyInput) (r // API operation UpdateLifecyclePolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A requested resource was not found. // -// * InvalidRequestException -// Bad request. The request is missing required parameters or has invalid parameters. +// - ResourceNotFoundException +// A requested resource was not found. +// +// - InvalidRequestException +// Bad request. The request is missing required parameters or has invalid parameters. // -// * InternalServerException -// The service failed in an unexpected way. +// - InternalServerException +// The service failed in an unexpected way. // -// * LimitExceededException -// The request failed because a limit was exceeded. +// - LimitExceededException +// The request failed because a limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/UpdateLifecyclePolicy func (c *DLM) UpdateLifecyclePolicy(input *UpdateLifecyclePolicyInput) (*UpdateLifecyclePolicyOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/dlmiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/dlmiface/interface.go index 0a7b6ad08c89..e85fb83f2bc2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/dlmiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/dlmiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Data Lifecycle Manager. -// func myFunc(svc dlmiface.DLMAPI) bool { -// // Make svc.CreateLifecyclePolicy request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Data Lifecycle Manager. +// func myFunc(svc dlmiface.DLMAPI) bool { +// // Make svc.CreateLifecyclePolicy request +// } // -// func main() { -// sess := session.New() -// svc := dlm.New(sess) +// func main() { +// sess := session.New() +// svc := dlm.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockDLMClient struct { -// dlmiface.DLMAPI -// } -// func (m *mockDLMClient) CreateLifecyclePolicy(input *dlm.CreateLifecyclePolicyInput) (*dlm.CreateLifecyclePolicyOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockDLMClient struct { +// dlmiface.DLMAPI +// } +// func (m *mockDLMClient) CreateLifecyclePolicy(input *dlm.CreateLifecyclePolicyInput) (*dlm.CreateLifecyclePolicyOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockDLMClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockDLMClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/doc.go index e84c4d332d56..fed64595cd32 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/doc.go @@ -17,7 +17,7 @@ // See dlm package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/dlm/ // -// Using the Client +// # Using the Client // // To contact Amazon Data Lifecycle Manager with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/service.go index 402cd6c7a618..1e04a5f172c1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dlm/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a DLM client from just a session. -// svc := dlm.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a DLM client with additional configuration -// svc := dlm.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a DLM client from just a session. +// svc := dlm.New(mySession) +// +// // Create a DLM client with additional configuration +// svc := dlm.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *DLM { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/api.go index 8019c2398552..b327b50da2a8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/api.go @@ -29,14 +29,13 @@ const opAddSourceIdentifierToSubscription = "AddSourceIdentifierToSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddSourceIdentifierToSubscriptionRequest method. +// req, resp := client.AddSourceIdentifierToSubscriptionRequest(params) // -// // Example sending a request using the AddSourceIdentifierToSubscriptionRequest method. -// req, resp := client.AddSourceIdentifierToSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/AddSourceIdentifierToSubscription func (c *DocDB) AddSourceIdentifierToSubscriptionRequest(input *AddSourceIdentifierToSubscriptionInput) (req *request.Request, output *AddSourceIdentifierToSubscriptionOutput) { @@ -67,11 +66,12 @@ func (c *DocDB) AddSourceIdentifierToSubscriptionRequest(input *AddSourceIdentif // API operation AddSourceIdentifierToSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// The subscription name does not exist. // -// * ErrCodeSourceNotFoundFault "SourceNotFound" -// The requested source could not be found. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// The subscription name does not exist. +// +// - ErrCodeSourceNotFoundFault "SourceNotFound" +// The requested source could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/AddSourceIdentifierToSubscription func (c *DocDB) AddSourceIdentifierToSubscription(input *AddSourceIdentifierToSubscriptionInput) (*AddSourceIdentifierToSubscriptionOutput, error) { @@ -111,14 +111,13 @@ const opAddTagsToResource = "AddTagsToResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsToResourceRequest method. +// req, resp := client.AddTagsToResourceRequest(params) // -// // Example sending a request using the AddTagsToResourceRequest method. -// req, resp := client.AddTagsToResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/AddTagsToResource func (c *DocDB) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput) { @@ -153,14 +152,15 @@ func (c *DocDB) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *re // API operation AddTagsToResource for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing instance. // -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing snapshot. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing instance. +// +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing snapshot. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/AddTagsToResource func (c *DocDB) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error) { @@ -200,14 +200,13 @@ const opApplyPendingMaintenanceAction = "ApplyPendingMaintenanceAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ApplyPendingMaintenanceActionRequest method. +// req, resp := client.ApplyPendingMaintenanceActionRequest(params) // -// // Example sending a request using the ApplyPendingMaintenanceActionRequest method. -// req, resp := client.ApplyPendingMaintenanceActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ApplyPendingMaintenanceAction func (c *DocDB) ApplyPendingMaintenanceActionRequest(input *ApplyPendingMaintenanceActionInput) (req *request.Request, output *ApplyPendingMaintenanceActionOutput) { @@ -239,14 +238,15 @@ func (c *DocDB) ApplyPendingMaintenanceActionRequest(input *ApplyPendingMaintena // API operation ApplyPendingMaintenanceAction for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" -// The specified resource ID was not found. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The cluster isn't in a valid state. +// - ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The specified resource ID was not found. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The cluster isn't in a valid state. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified instance isn't in the available state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified instance isn't in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ApplyPendingMaintenanceAction func (c *DocDB) ApplyPendingMaintenanceAction(input *ApplyPendingMaintenanceActionInput) (*ApplyPendingMaintenanceActionOutput, error) { @@ -286,14 +286,13 @@ const opCopyDBClusterParameterGroup = "CopyDBClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyDBClusterParameterGroupRequest method. +// req, resp := client.CopyDBClusterParameterGroupRequest(params) // -// // Example sending a request using the CopyDBClusterParameterGroupRequest method. -// req, resp := client.CopyDBClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CopyDBClusterParameterGroup func (c *DocDB) CopyDBClusterParameterGroupRequest(input *CopyDBClusterParameterGroupInput) (req *request.Request, output *CopyDBClusterParameterGroupOutput) { @@ -324,14 +323,15 @@ func (c *DocDB) CopyDBClusterParameterGroupRequest(input *CopyDBClusterParameter // API operation CopyDBClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing parameter group. // -// * ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" -// This request would cause you to exceed the allowed number of parameter groups. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing parameter group. // -// * ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" -// A parameter group with the same name already exists. +// - ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" +// This request would cause you to exceed the allowed number of parameter groups. +// +// - ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" +// A parameter group with the same name already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CopyDBClusterParameterGroup func (c *DocDB) CopyDBClusterParameterGroup(input *CopyDBClusterParameterGroupInput) (*CopyDBClusterParameterGroupOutput, error) { @@ -371,14 +371,13 @@ const opCopyDBClusterSnapshot = "CopyDBClusterSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyDBClusterSnapshotRequest method. +// req, resp := client.CopyDBClusterSnapshotRequest(params) // -// // Example sending a request using the CopyDBClusterSnapshotRequest method. -// req, resp := client.CopyDBClusterSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CopyDBClusterSnapshot func (c *DocDB) CopyDBClusterSnapshotRequest(input *CopyDBClusterSnapshotInput) (req *request.Request, output *CopyDBClusterSnapshotOutput) { @@ -418,23 +417,24 @@ func (c *DocDB) CopyDBClusterSnapshotRequest(input *CopyDBClusterSnapshotInput) // API operation CopyDBClusterSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" -// You already have a cluster snapshot with the given identifier. // -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot. +// - ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" +// You already have a cluster snapshot with the given identifier. +// +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The cluster isn't in a valid state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The cluster isn't in a valid state. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The provided value isn't a valid cluster snapshot state. +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The provided value isn't a valid cluster snapshot state. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" -// The request would cause you to exceed the allowed number of snapshots. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// The request would cause you to exceed the allowed number of snapshots. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred when accessing an KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred when accessing an KMS key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CopyDBClusterSnapshot func (c *DocDB) CopyDBClusterSnapshot(input *CopyDBClusterSnapshotInput) (*CopyDBClusterSnapshotOutput, error) { @@ -474,14 +474,13 @@ const opCreateDBCluster = "CreateDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBClusterRequest method. +// req, resp := client.CreateDBClusterRequest(params) // -// // Example sending a request using the CreateDBClusterRequest method. -// req, resp := client.CreateDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateDBCluster func (c *DocDB) CreateDBClusterRequest(input *CreateDBClusterInput) (req *request.Request, output *CreateDBClusterOutput) { @@ -512,64 +511,65 @@ func (c *DocDB) CreateDBClusterRequest(input *CreateDBClusterInput) (req *reques // API operation CreateDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" -// You already have a cluster with the given identifier. // -// * ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" -// There is not enough storage available for the current action. You might be -// able to resolve this error by updating your subnet group to use different -// Availability Zones that have more storage available. +// - ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" +// You already have a cluster with the given identifier. +// +// - ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" +// There is not enough storage available for the current action. You might be +// able to resolve this error by updating your subnet group to use different +// Availability Zones that have more storage available. // -// * ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" -// The cluster can't be created because you have reached the maximum allowed -// quota of clusters. +// - ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" +// The cluster can't be created because you have reached the maximum allowed +// quota of clusters. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would cause you to exceed the allowed amount of storage available -// across all instances. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would cause you to exceed the allowed amount of storage available +// across all instances. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing subnet group. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The subnet group doesn't cover all Availability Zones after it is created -// because of changes that were made. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The subnet group doesn't cover all Availability Zones after it is created +// because of changes that were made. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The cluster isn't in a valid state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The cluster isn't in a valid state. // -// * ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" -// The subnet group can't be deleted because it's in use. +// - ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" +// The subnet group can't be deleted because it's in use. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is not valid, or multiple subnets were requested that -// are not all in a common virtual private cloud (VPC). +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is not valid, or multiple subnets were requested that +// are not all in a common virtual private cloud (VPC). // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified instance isn't in the available state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified instance isn't in the available state. // -// * ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" -// DBClusterParameterGroupName doesn't refer to an existing cluster parameter -// group. +// - ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" +// DBClusterParameterGroupName doesn't refer to an existing cluster parameter +// group. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred when accessing an KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred when accessing an KMS key. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing cluster. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing instance. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing instance. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. // -// * ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" -// The GlobalClusterIdentifier doesn't refer to an existing global cluster. +// - ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" +// The GlobalClusterIdentifier doesn't refer to an existing global cluster. // -// * ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateDBCluster func (c *DocDB) CreateDBCluster(input *CreateDBClusterInput) (*CreateDBClusterOutput, error) { @@ -609,14 +609,13 @@ const opCreateDBClusterParameterGroup = "CreateDBClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBClusterParameterGroupRequest method. +// req, resp := client.CreateDBClusterParameterGroupRequest(params) // -// // Example sending a request using the CreateDBClusterParameterGroupRequest method. -// req, resp := client.CreateDBClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateDBClusterParameterGroup func (c *DocDB) CreateDBClusterParameterGroupRequest(input *CreateDBClusterParameterGroupInput) (req *request.Request, output *CreateDBClusterParameterGroupOutput) { @@ -662,11 +661,12 @@ func (c *DocDB) CreateDBClusterParameterGroupRequest(input *CreateDBClusterParam // API operation CreateDBClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" -// This request would cause you to exceed the allowed number of parameter groups. // -// * ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" -// A parameter group with the same name already exists. +// - ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" +// This request would cause you to exceed the allowed number of parameter groups. +// +// - ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" +// A parameter group with the same name already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateDBClusterParameterGroup func (c *DocDB) CreateDBClusterParameterGroup(input *CreateDBClusterParameterGroupInput) (*CreateDBClusterParameterGroupOutput, error) { @@ -706,14 +706,13 @@ const opCreateDBClusterSnapshot = "CreateDBClusterSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBClusterSnapshotRequest method. +// req, resp := client.CreateDBClusterSnapshotRequest(params) // -// // Example sending a request using the CreateDBClusterSnapshotRequest method. -// req, resp := client.CreateDBClusterSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateDBClusterSnapshot func (c *DocDB) CreateDBClusterSnapshotRequest(input *CreateDBClusterSnapshotInput) (req *request.Request, output *CreateDBClusterSnapshotOutput) { @@ -744,20 +743,21 @@ func (c *DocDB) CreateDBClusterSnapshotRequest(input *CreateDBClusterSnapshotInp // API operation CreateDBClusterSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" -// You already have a cluster snapshot with the given identifier. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The cluster isn't in a valid state. +// - ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" +// You already have a cluster snapshot with the given identifier. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing cluster. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The cluster isn't in a valid state. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" -// The request would cause you to exceed the allowed number of snapshots. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing cluster. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The provided value isn't a valid cluster snapshot state. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// The request would cause you to exceed the allowed number of snapshots. +// +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The provided value isn't a valid cluster snapshot state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateDBClusterSnapshot func (c *DocDB) CreateDBClusterSnapshot(input *CreateDBClusterSnapshotInput) (*CreateDBClusterSnapshotOutput, error) { @@ -797,14 +797,13 @@ const opCreateDBInstance = "CreateDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBInstanceRequest method. +// req, resp := client.CreateDBInstanceRequest(params) // -// // Example sending a request using the CreateDBInstanceRequest method. -// req, resp := client.CreateDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateDBInstance func (c *DocDB) CreateDBInstanceRequest(input *CreateDBInstanceInput) (req *request.Request, output *CreateDBInstanceOutput) { @@ -835,59 +834,60 @@ func (c *DocDB) CreateDBInstanceRequest(input *CreateDBInstanceInput) (req *requ // API operation CreateDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" -// You already have a instance with the given identifier. // -// * ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" -// The specified instance class isn't available in the specified Availability -// Zone. +// - ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" +// You already have a instance with the given identifier. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing parameter group. +// - ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" +// The specified instance class isn't available in the specified Availability +// Zone. // -// * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" -// DBSecurityGroupName doesn't refer to an existing security group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing parameter group. // -// * ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" -// The request would cause you to exceed the allowed number of instances. +// - ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" +// DBSecurityGroupName doesn't refer to an existing security group. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would cause you to exceed the allowed amount of storage available -// across all instances. +// - ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" +// The request would cause you to exceed the allowed number of instances. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing subnet group. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would cause you to exceed the allowed amount of storage available +// across all instances. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing subnet group. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The cluster isn't in a valid state. +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is not valid, or multiple subnets were requested that -// are not all in a common virtual private cloud (VPC). +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The cluster isn't in a valid state. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The subnet group doesn't cover all Availability Zones after it is created -// because of changes that were made. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is not valid, or multiple subnets were requested that +// are not all in a common virtual private cloud (VPC). // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing cluster. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The subnet group doesn't cover all Availability Zones after it is created +// because of changes that were made. // -// * ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" -// Storage of the specified StorageType can't be associated with the DB instance. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing cluster. // -// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" -// The specified CIDR IP or Amazon EC2 security group isn't authorized for the -// specified security group. +// - ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" +// Storage of the specified StorageType can't be associated with the DB instance. // -// Amazon DocumentDB also might not be authorized to perform necessary actions -// on your behalf using IAM. +// - ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// The specified CIDR IP or Amazon EC2 security group isn't authorized for the +// specified security group. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred when accessing an KMS key. +// Amazon DocumentDB also might not be authorized to perform necessary actions +// on your behalf using IAM. +// +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred when accessing an KMS key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateDBInstance func (c *DocDB) CreateDBInstance(input *CreateDBInstanceInput) (*CreateDBInstanceOutput, error) { @@ -927,14 +927,13 @@ const opCreateDBSubnetGroup = "CreateDBSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBSubnetGroupRequest method. +// req, resp := client.CreateDBSubnetGroupRequest(params) // -// // Example sending a request using the CreateDBSubnetGroupRequest method. -// req, resp := client.CreateDBSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateDBSubnetGroup func (c *DocDB) CreateDBSubnetGroupRequest(input *CreateDBSubnetGroupInput) (req *request.Request, output *CreateDBSubnetGroupOutput) { @@ -966,23 +965,24 @@ func (c *DocDB) CreateDBSubnetGroupRequest(input *CreateDBSubnetGroupInput) (req // API operation CreateDBSubnetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSubnetGroupAlreadyExistsFault "DBSubnetGroupAlreadyExists" -// DBSubnetGroupName is already being used by an existing subnet group. // -// * ErrCodeDBSubnetGroupQuotaExceededFault "DBSubnetGroupQuotaExceeded" -// The request would cause you to exceed the allowed number of subnet groups. +// - ErrCodeDBSubnetGroupAlreadyExistsFault "DBSubnetGroupAlreadyExists" +// DBSubnetGroupName is already being used by an existing subnet group. +// +// - ErrCodeDBSubnetGroupQuotaExceededFault "DBSubnetGroupQuotaExceeded" +// The request would cause you to exceed the allowed number of subnet groups. // -// * ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" -// The request would cause you to exceed the allowed number of subnets in a -// subnet group. +// - ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" +// The request would cause you to exceed the allowed number of subnets in a +// subnet group. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is not valid, or multiple subnets were requested that -// are not all in a common virtual private cloud (VPC). +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is not valid, or multiple subnets were requested that +// are not all in a common virtual private cloud (VPC). // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateDBSubnetGroup func (c *DocDB) CreateDBSubnetGroup(input *CreateDBSubnetGroupInput) (*CreateDBSubnetGroupOutput, error) { @@ -1022,14 +1022,13 @@ const opCreateEventSubscription = "CreateEventSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEventSubscriptionRequest method. +// req, resp := client.CreateEventSubscriptionRequest(params) // -// // Example sending a request using the CreateEventSubscriptionRequest method. -// req, resp := client.CreateEventSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateEventSubscription func (c *DocDB) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput) { @@ -1079,27 +1078,28 @@ func (c *DocDB) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInp // API operation CreateEventSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded" -// You have reached the maximum number of event subscriptions. // -// * ErrCodeSubscriptionAlreadyExistFault "SubscriptionAlreadyExist" -// The provided subscription name already exists. +// - ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded" +// You have reached the maximum number of event subscriptions. +// +// - ErrCodeSubscriptionAlreadyExistFault "SubscriptionAlreadyExist" +// The provided subscription name already exists. // -// * ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" -// Amazon SNS has responded that there is a problem with the specified topic. +// - ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" +// Amazon SNS has responded that there is a problem with the specified topic. // -// * ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" -// You do not have permission to publish to the SNS topic Amazon Resource Name -// (ARN). +// - ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" +// You do not have permission to publish to the SNS topic Amazon Resource Name +// (ARN). // -// * ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" -// The SNS topic Amazon Resource Name (ARN) does not exist. +// - ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" +// The SNS topic Amazon Resource Name (ARN) does not exist. // -// * ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound" -// The provided category does not exist. +// - ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound" +// The provided category does not exist. // -// * ErrCodeSourceNotFoundFault "SourceNotFound" -// The requested source could not be found. +// - ErrCodeSourceNotFoundFault "SourceNotFound" +// The requested source could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateEventSubscription func (c *DocDB) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error) { @@ -1139,14 +1139,13 @@ const opCreateGlobalCluster = "CreateGlobalCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGlobalClusterRequest method. +// req, resp := client.CreateGlobalClusterRequest(params) // -// // Example sending a request using the CreateGlobalClusterRequest method. -// req, resp := client.CreateGlobalClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateGlobalCluster func (c *DocDB) CreateGlobalClusterRequest(input *CreateGlobalClusterInput) (req *request.Request, output *CreateGlobalClusterOutput) { @@ -1188,19 +1187,20 @@ func (c *DocDB) CreateGlobalClusterRequest(input *CreateGlobalClusterInput) (req // API operation CreateGlobalCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalClusterAlreadyExistsFault "GlobalClusterAlreadyExistsFault" -// The GlobalClusterIdentifier already exists. Choose a new global cluster identifier -// (unique name) to create a new global cluster. // -// * ErrCodeGlobalClusterQuotaExceededFault "GlobalClusterQuotaExceededFault" -// The number of global clusters for this account is already at the maximum -// allowed. +// - ErrCodeGlobalClusterAlreadyExistsFault "GlobalClusterAlreadyExistsFault" +// The GlobalClusterIdentifier already exists. Choose a new global cluster identifier +// (unique name) to create a new global cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The cluster isn't in a valid state. +// - ErrCodeGlobalClusterQuotaExceededFault "GlobalClusterQuotaExceededFault" +// The number of global clusters for this account is already at the maximum +// allowed. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing cluster. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The cluster isn't in a valid state. +// +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/CreateGlobalCluster func (c *DocDB) CreateGlobalCluster(input *CreateGlobalClusterInput) (*CreateGlobalClusterOutput, error) { @@ -1240,14 +1240,13 @@ const opDeleteDBCluster = "DeleteDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBClusterRequest method. +// req, resp := client.DeleteDBClusterRequest(params) // -// // Example sending a request using the DeleteDBClusterRequest method. -// req, resp := client.DeleteDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteDBCluster func (c *DocDB) DeleteDBClusterRequest(input *DeleteDBClusterInput) (req *request.Request, output *DeleteDBClusterOutput) { @@ -1280,20 +1279,21 @@ func (c *DocDB) DeleteDBClusterRequest(input *DeleteDBClusterInput) (req *reques // API operation DeleteDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The cluster isn't in a valid state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing cluster. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The cluster isn't in a valid state. // -// * ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" -// You already have a cluster snapshot with the given identifier. +// - ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" +// You already have a cluster snapshot with the given identifier. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" -// The request would cause you to exceed the allowed number of snapshots. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// The request would cause you to exceed the allowed number of snapshots. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The provided value isn't a valid cluster snapshot state. +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The provided value isn't a valid cluster snapshot state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteDBCluster func (c *DocDB) DeleteDBCluster(input *DeleteDBClusterInput) (*DeleteDBClusterOutput, error) { @@ -1333,14 +1333,13 @@ const opDeleteDBClusterParameterGroup = "DeleteDBClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBClusterParameterGroupRequest method. +// req, resp := client.DeleteDBClusterParameterGroupRequest(params) // -// // Example sending a request using the DeleteDBClusterParameterGroupRequest method. -// req, resp := client.DeleteDBClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteDBClusterParameterGroup func (c *DocDB) DeleteDBClusterParameterGroupRequest(input *DeleteDBClusterParameterGroupInput) (req *request.Request, output *DeleteDBClusterParameterGroupOutput) { @@ -1373,13 +1372,14 @@ func (c *DocDB) DeleteDBClusterParameterGroupRequest(input *DeleteDBClusterParam // API operation DeleteDBClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" -// The parameter group is in use, or it is in a state that is not valid. If -// you are trying to delete the parameter group, you can't delete it when the -// parameter group is in this state. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing parameter group. +// - ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" +// The parameter group is in use, or it is in a state that is not valid. If +// you are trying to delete the parameter group, you can't delete it when the +// parameter group is in this state. +// +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteDBClusterParameterGroup func (c *DocDB) DeleteDBClusterParameterGroup(input *DeleteDBClusterParameterGroupInput) (*DeleteDBClusterParameterGroupOutput, error) { @@ -1419,14 +1419,13 @@ const opDeleteDBClusterSnapshot = "DeleteDBClusterSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBClusterSnapshotRequest method. +// req, resp := client.DeleteDBClusterSnapshotRequest(params) // -// // Example sending a request using the DeleteDBClusterSnapshotRequest method. -// req, resp := client.DeleteDBClusterSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteDBClusterSnapshot func (c *DocDB) DeleteDBClusterSnapshotRequest(input *DeleteDBClusterSnapshotInput) (req *request.Request, output *DeleteDBClusterSnapshotOutput) { @@ -1460,11 +1459,12 @@ func (c *DocDB) DeleteDBClusterSnapshotRequest(input *DeleteDBClusterSnapshotInp // API operation DeleteDBClusterSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The provided value isn't a valid cluster snapshot state. // -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot. +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The provided value isn't a valid cluster snapshot state. +// +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteDBClusterSnapshot func (c *DocDB) DeleteDBClusterSnapshot(input *DeleteDBClusterSnapshotInput) (*DeleteDBClusterSnapshotOutput, error) { @@ -1504,14 +1504,13 @@ const opDeleteDBInstance = "DeleteDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBInstanceRequest method. +// req, resp := client.DeleteDBInstanceRequest(params) // -// // Example sending a request using the DeleteDBInstanceRequest method. -// req, resp := client.DeleteDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteDBInstance func (c *DocDB) DeleteDBInstanceRequest(input *DeleteDBInstanceInput) (req *request.Request, output *DeleteDBInstanceOutput) { @@ -1542,20 +1541,21 @@ func (c *DocDB) DeleteDBInstanceRequest(input *DeleteDBInstanceInput) (req *requ // API operation DeleteDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing instance. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified instance isn't in the available state. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing instance. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified instance isn't in the available state. // -// * ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" -// DBSnapshotIdentifier is already being used by an existing snapshot. +// - ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" +// DBSnapshotIdentifier is already being used by an existing snapshot. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" -// The request would cause you to exceed the allowed number of snapshots. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// The request would cause you to exceed the allowed number of snapshots. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The cluster isn't in a valid state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The cluster isn't in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteDBInstance func (c *DocDB) DeleteDBInstance(input *DeleteDBInstanceInput) (*DeleteDBInstanceOutput, error) { @@ -1595,14 +1595,13 @@ const opDeleteDBSubnetGroup = "DeleteDBSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBSubnetGroupRequest method. +// req, resp := client.DeleteDBSubnetGroupRequest(params) // -// // Example sending a request using the DeleteDBSubnetGroupRequest method. -// req, resp := client.DeleteDBSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteDBSubnetGroup func (c *DocDB) DeleteDBSubnetGroupRequest(input *DeleteDBSubnetGroupInput) (req *request.Request, output *DeleteDBSubnetGroupOutput) { @@ -1636,14 +1635,15 @@ func (c *DocDB) DeleteDBSubnetGroupRequest(input *DeleteDBSubnetGroupInput) (req // API operation DeleteDBSubnetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" -// The subnet group can't be deleted because it's in use. // -// * ErrCodeInvalidDBSubnetStateFault "InvalidDBSubnetStateFault" -// The subnet isn't in the available state. +// - ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" +// The subnet group can't be deleted because it's in use. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing subnet group. +// - ErrCodeInvalidDBSubnetStateFault "InvalidDBSubnetStateFault" +// The subnet isn't in the available state. +// +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing subnet group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteDBSubnetGroup func (c *DocDB) DeleteDBSubnetGroup(input *DeleteDBSubnetGroupInput) (*DeleteDBSubnetGroupOutput, error) { @@ -1683,14 +1683,13 @@ const opDeleteEventSubscription = "DeleteEventSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventSubscriptionRequest method. +// req, resp := client.DeleteEventSubscriptionRequest(params) // -// // Example sending a request using the DeleteEventSubscriptionRequest method. -// req, resp := client.DeleteEventSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteEventSubscription func (c *DocDB) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput) { @@ -1721,12 +1720,13 @@ func (c *DocDB) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInp // API operation DeleteEventSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// The subscription name does not exist. // -// * ErrCodeInvalidEventSubscriptionStateFault "InvalidEventSubscriptionState" -// Someone else might be modifying a subscription. Wait a few seconds, and try -// again. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// The subscription name does not exist. +// +// - ErrCodeInvalidEventSubscriptionStateFault "InvalidEventSubscriptionState" +// Someone else might be modifying a subscription. Wait a few seconds, and try +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteEventSubscription func (c *DocDB) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error) { @@ -1766,14 +1766,13 @@ const opDeleteGlobalCluster = "DeleteGlobalCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGlobalClusterRequest method. +// req, resp := client.DeleteGlobalClusterRequest(params) // -// // Example sending a request using the DeleteGlobalClusterRequest method. -// req, resp := client.DeleteGlobalClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteGlobalCluster func (c *DocDB) DeleteGlobalClusterRequest(input *DeleteGlobalClusterInput) (req *request.Request, output *DeleteGlobalClusterOutput) { @@ -1807,11 +1806,12 @@ func (c *DocDB) DeleteGlobalClusterRequest(input *DeleteGlobalClusterInput) (req // API operation DeleteGlobalCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" -// The GlobalClusterIdentifier doesn't refer to an existing global cluster. // -// * ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" +// The GlobalClusterIdentifier doesn't refer to an existing global cluster. +// +// - ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DeleteGlobalCluster func (c *DocDB) DeleteGlobalCluster(input *DeleteGlobalClusterInput) (*DeleteGlobalClusterOutput, error) { @@ -1851,14 +1851,13 @@ const opDescribeCertificates = "DescribeCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCertificatesRequest method. +// req, resp := client.DescribeCertificatesRequest(params) // -// // Example sending a request using the DescribeCertificatesRequest method. -// req, resp := client.DescribeCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeCertificates func (c *DocDB) DescribeCertificatesRequest(input *DescribeCertificatesInput) (req *request.Request, output *DescribeCertificatesOutput) { @@ -1896,8 +1895,8 @@ func (c *DocDB) DescribeCertificatesRequest(input *DescribeCertificatesInput) (r // API operation DescribeCertificates for usage and error information. // // Returned Error Codes: -// * ErrCodeCertificateNotFoundFault "CertificateNotFound" -// CertificateIdentifier doesn't refer to an existing certificate. +// - ErrCodeCertificateNotFoundFault "CertificateNotFound" +// CertificateIdentifier doesn't refer to an existing certificate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeCertificates func (c *DocDB) DescribeCertificates(input *DescribeCertificatesInput) (*DescribeCertificatesOutput, error) { @@ -1929,15 +1928,14 @@ func (c *DocDB) DescribeCertificatesWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCertificates operation. -// pageNum := 0 -// err := client.DescribeCertificatesPages(params, -// func(page *docdb.DescribeCertificatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCertificates operation. +// pageNum := 0 +// err := client.DescribeCertificatesPages(params, +// func(page *docdb.DescribeCertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DocDB) DescribeCertificatesPages(input *DescribeCertificatesInput, fn func(*DescribeCertificatesOutput, bool) bool) error { return c.DescribeCertificatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1989,14 +1987,13 @@ const opDescribeDBClusterParameterGroups = "DescribeDBClusterParameterGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClusterParameterGroupsRequest method. +// req, resp := client.DescribeDBClusterParameterGroupsRequest(params) // -// // Example sending a request using the DescribeDBClusterParameterGroupsRequest method. -// req, resp := client.DescribeDBClusterParameterGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBClusterParameterGroups func (c *DocDB) DescribeDBClusterParameterGroupsRequest(input *DescribeDBClusterParameterGroupsInput) (req *request.Request, output *DescribeDBClusterParameterGroupsOutput) { @@ -2035,8 +2032,8 @@ func (c *DocDB) DescribeDBClusterParameterGroupsRequest(input *DescribeDBCluster // API operation DescribeDBClusterParameterGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing parameter group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBClusterParameterGroups func (c *DocDB) DescribeDBClusterParameterGroups(input *DescribeDBClusterParameterGroupsInput) (*DescribeDBClusterParameterGroupsOutput, error) { @@ -2068,15 +2065,14 @@ func (c *DocDB) DescribeDBClusterParameterGroupsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBClusterParameterGroups operation. -// pageNum := 0 -// err := client.DescribeDBClusterParameterGroupsPages(params, -// func(page *docdb.DescribeDBClusterParameterGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBClusterParameterGroups operation. +// pageNum := 0 +// err := client.DescribeDBClusterParameterGroupsPages(params, +// func(page *docdb.DescribeDBClusterParameterGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DocDB) DescribeDBClusterParameterGroupsPages(input *DescribeDBClusterParameterGroupsInput, fn func(*DescribeDBClusterParameterGroupsOutput, bool) bool) error { return c.DescribeDBClusterParameterGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2128,14 +2124,13 @@ const opDescribeDBClusterParameters = "DescribeDBClusterParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClusterParametersRequest method. +// req, resp := client.DescribeDBClusterParametersRequest(params) // -// // Example sending a request using the DescribeDBClusterParametersRequest method. -// req, resp := client.DescribeDBClusterParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBClusterParameters func (c *DocDB) DescribeDBClusterParametersRequest(input *DescribeDBClusterParametersInput) (req *request.Request, output *DescribeDBClusterParametersOutput) { @@ -2172,8 +2167,8 @@ func (c *DocDB) DescribeDBClusterParametersRequest(input *DescribeDBClusterParam // API operation DescribeDBClusterParameters for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing parameter group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBClusterParameters func (c *DocDB) DescribeDBClusterParameters(input *DescribeDBClusterParametersInput) (*DescribeDBClusterParametersOutput, error) { @@ -2205,15 +2200,14 @@ func (c *DocDB) DescribeDBClusterParametersWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBClusterParameters operation. -// pageNum := 0 -// err := client.DescribeDBClusterParametersPages(params, -// func(page *docdb.DescribeDBClusterParametersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBClusterParameters operation. +// pageNum := 0 +// err := client.DescribeDBClusterParametersPages(params, +// func(page *docdb.DescribeDBClusterParametersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DocDB) DescribeDBClusterParametersPages(input *DescribeDBClusterParametersInput, fn func(*DescribeDBClusterParametersOutput, bool) bool) error { return c.DescribeDBClusterParametersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2265,14 +2259,13 @@ const opDescribeDBClusterSnapshotAttributes = "DescribeDBClusterSnapshotAttribut // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClusterSnapshotAttributesRequest method. +// req, resp := client.DescribeDBClusterSnapshotAttributesRequest(params) // -// // Example sending a request using the DescribeDBClusterSnapshotAttributesRequest method. -// req, resp := client.DescribeDBClusterSnapshotAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBClusterSnapshotAttributes func (c *DocDB) DescribeDBClusterSnapshotAttributesRequest(input *DescribeDBClusterSnapshotAttributesInput) (req *request.Request, output *DescribeDBClusterSnapshotAttributesOutput) { @@ -2311,8 +2304,8 @@ func (c *DocDB) DescribeDBClusterSnapshotAttributesRequest(input *DescribeDBClus // API operation DescribeDBClusterSnapshotAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBClusterSnapshotAttributes func (c *DocDB) DescribeDBClusterSnapshotAttributes(input *DescribeDBClusterSnapshotAttributesInput) (*DescribeDBClusterSnapshotAttributesOutput, error) { @@ -2352,14 +2345,13 @@ const opDescribeDBClusterSnapshots = "DescribeDBClusterSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClusterSnapshotsRequest method. +// req, resp := client.DescribeDBClusterSnapshotsRequest(params) // -// // Example sending a request using the DescribeDBClusterSnapshotsRequest method. -// req, resp := client.DescribeDBClusterSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBClusterSnapshots func (c *DocDB) DescribeDBClusterSnapshotsRequest(input *DescribeDBClusterSnapshotsInput) (req *request.Request, output *DescribeDBClusterSnapshotsOutput) { @@ -2397,8 +2389,8 @@ func (c *DocDB) DescribeDBClusterSnapshotsRequest(input *DescribeDBClusterSnapsh // API operation DescribeDBClusterSnapshots for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBClusterSnapshots func (c *DocDB) DescribeDBClusterSnapshots(input *DescribeDBClusterSnapshotsInput) (*DescribeDBClusterSnapshotsOutput, error) { @@ -2430,15 +2422,14 @@ func (c *DocDB) DescribeDBClusterSnapshotsWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBClusterSnapshots operation. -// pageNum := 0 -// err := client.DescribeDBClusterSnapshotsPages(params, -// func(page *docdb.DescribeDBClusterSnapshotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBClusterSnapshots operation. +// pageNum := 0 +// err := client.DescribeDBClusterSnapshotsPages(params, +// func(page *docdb.DescribeDBClusterSnapshotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DocDB) DescribeDBClusterSnapshotsPages(input *DescribeDBClusterSnapshotsInput, fn func(*DescribeDBClusterSnapshotsOutput, bool) bool) error { return c.DescribeDBClusterSnapshotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2490,14 +2481,13 @@ const opDescribeDBClusters = "DescribeDBClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClustersRequest method. +// req, resp := client.DescribeDBClustersRequest(params) // -// // Example sending a request using the DescribeDBClustersRequest method. -// req, resp := client.DescribeDBClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBClusters func (c *DocDB) DescribeDBClustersRequest(input *DescribeDBClustersInput) (req *request.Request, output *DescribeDBClustersOutput) { @@ -2538,8 +2528,8 @@ func (c *DocDB) DescribeDBClustersRequest(input *DescribeDBClustersInput) (req * // API operation DescribeDBClusters for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBClusters func (c *DocDB) DescribeDBClusters(input *DescribeDBClustersInput) (*DescribeDBClustersOutput, error) { @@ -2571,15 +2561,14 @@ func (c *DocDB) DescribeDBClustersWithContext(ctx aws.Context, input *DescribeDB // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBClusters operation. -// pageNum := 0 -// err := client.DescribeDBClustersPages(params, -// func(page *docdb.DescribeDBClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBClusters operation. +// pageNum := 0 +// err := client.DescribeDBClustersPages(params, +// func(page *docdb.DescribeDBClustersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DocDB) DescribeDBClustersPages(input *DescribeDBClustersInput, fn func(*DescribeDBClustersOutput, bool) bool) error { return c.DescribeDBClustersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2631,14 +2620,13 @@ const opDescribeDBEngineVersions = "DescribeDBEngineVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBEngineVersionsRequest method. +// req, resp := client.DescribeDBEngineVersionsRequest(params) // -// // Example sending a request using the DescribeDBEngineVersionsRequest method. -// req, resp := client.DescribeDBEngineVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBEngineVersions func (c *DocDB) DescribeDBEngineVersionsRequest(input *DescribeDBEngineVersionsInput) (req *request.Request, output *DescribeDBEngineVersionsOutput) { @@ -2703,15 +2691,14 @@ func (c *DocDB) DescribeDBEngineVersionsWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBEngineVersions operation. -// pageNum := 0 -// err := client.DescribeDBEngineVersionsPages(params, -// func(page *docdb.DescribeDBEngineVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBEngineVersions operation. +// pageNum := 0 +// err := client.DescribeDBEngineVersionsPages(params, +// func(page *docdb.DescribeDBEngineVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DocDB) DescribeDBEngineVersionsPages(input *DescribeDBEngineVersionsInput, fn func(*DescribeDBEngineVersionsOutput, bool) bool) error { return c.DescribeDBEngineVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2763,14 +2750,13 @@ const opDescribeDBInstances = "DescribeDBInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBInstancesRequest method. +// req, resp := client.DescribeDBInstancesRequest(params) // -// // Example sending a request using the DescribeDBInstancesRequest method. -// req, resp := client.DescribeDBInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBInstances func (c *DocDB) DescribeDBInstancesRequest(input *DescribeDBInstancesInput) (req *request.Request, output *DescribeDBInstancesOutput) { @@ -2808,8 +2794,8 @@ func (c *DocDB) DescribeDBInstancesRequest(input *DescribeDBInstancesInput) (req // API operation DescribeDBInstances for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing instance. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing instance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBInstances func (c *DocDB) DescribeDBInstances(input *DescribeDBInstancesInput) (*DescribeDBInstancesOutput, error) { @@ -2841,15 +2827,14 @@ func (c *DocDB) DescribeDBInstancesWithContext(ctx aws.Context, input *DescribeD // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBInstances operation. -// pageNum := 0 -// err := client.DescribeDBInstancesPages(params, -// func(page *docdb.DescribeDBInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBInstances operation. +// pageNum := 0 +// err := client.DescribeDBInstancesPages(params, +// func(page *docdb.DescribeDBInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DocDB) DescribeDBInstancesPages(input *DescribeDBInstancesInput, fn func(*DescribeDBInstancesOutput, bool) bool) error { return c.DescribeDBInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2901,14 +2886,13 @@ const opDescribeDBSubnetGroups = "DescribeDBSubnetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBSubnetGroupsRequest method. +// req, resp := client.DescribeDBSubnetGroupsRequest(params) // -// // Example sending a request using the DescribeDBSubnetGroupsRequest method. -// req, resp := client.DescribeDBSubnetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBSubnetGroups func (c *DocDB) DescribeDBSubnetGroupsRequest(input *DescribeDBSubnetGroupsInput) (req *request.Request, output *DescribeDBSubnetGroupsOutput) { @@ -2946,8 +2930,8 @@ func (c *DocDB) DescribeDBSubnetGroupsRequest(input *DescribeDBSubnetGroupsInput // API operation DescribeDBSubnetGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing subnet group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeDBSubnetGroups func (c *DocDB) DescribeDBSubnetGroups(input *DescribeDBSubnetGroupsInput) (*DescribeDBSubnetGroupsOutput, error) { @@ -2979,15 +2963,14 @@ func (c *DocDB) DescribeDBSubnetGroupsWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBSubnetGroups operation. -// pageNum := 0 -// err := client.DescribeDBSubnetGroupsPages(params, -// func(page *docdb.DescribeDBSubnetGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBSubnetGroups operation. +// pageNum := 0 +// err := client.DescribeDBSubnetGroupsPages(params, +// func(page *docdb.DescribeDBSubnetGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DocDB) DescribeDBSubnetGroupsPages(input *DescribeDBSubnetGroupsInput, fn func(*DescribeDBSubnetGroupsOutput, bool) bool) error { return c.DescribeDBSubnetGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3039,14 +3022,13 @@ const opDescribeEngineDefaultClusterParameters = "DescribeEngineDefaultClusterPa // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEngineDefaultClusterParametersRequest method. +// req, resp := client.DescribeEngineDefaultClusterParametersRequest(params) // -// // Example sending a request using the DescribeEngineDefaultClusterParametersRequest method. -// req, resp := client.DescribeEngineDefaultClusterParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeEngineDefaultClusterParameters func (c *DocDB) DescribeEngineDefaultClusterParametersRequest(input *DescribeEngineDefaultClusterParametersInput) (req *request.Request, output *DescribeEngineDefaultClusterParametersOutput) { @@ -3114,14 +3096,13 @@ const opDescribeEventCategories = "DescribeEventCategories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventCategoriesRequest method. +// req, resp := client.DescribeEventCategoriesRequest(params) // -// // Example sending a request using the DescribeEventCategoriesRequest method. -// req, resp := client.DescribeEventCategoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeEventCategories func (c *DocDB) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput) { @@ -3189,14 +3170,13 @@ const opDescribeEventSubscriptions = "DescribeEventSubscriptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventSubscriptionsRequest method. +// req, resp := client.DescribeEventSubscriptionsRequest(params) // -// // Example sending a request using the DescribeEventSubscriptionsRequest method. -// req, resp := client.DescribeEventSubscriptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeEventSubscriptions func (c *DocDB) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput) { @@ -3237,8 +3217,8 @@ func (c *DocDB) DescribeEventSubscriptionsRequest(input *DescribeEventSubscripti // API operation DescribeEventSubscriptions for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// The subscription name does not exist. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// The subscription name does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeEventSubscriptions func (c *DocDB) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error) { @@ -3270,15 +3250,14 @@ func (c *DocDB) DescribeEventSubscriptionsWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEventSubscriptions operation. -// pageNum := 0 -// err := client.DescribeEventSubscriptionsPages(params, -// func(page *docdb.DescribeEventSubscriptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEventSubscriptions operation. +// pageNum := 0 +// err := client.DescribeEventSubscriptionsPages(params, +// func(page *docdb.DescribeEventSubscriptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DocDB) DescribeEventSubscriptionsPages(input *DescribeEventSubscriptionsInput, fn func(*DescribeEventSubscriptionsOutput, bool) bool) error { return c.DescribeEventSubscriptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3330,14 +3309,13 @@ const opDescribeEvents = "DescribeEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventsRequest method. +// req, resp := client.DescribeEventsRequest(params) // -// // Example sending a request using the DescribeEventsRequest method. -// req, resp := client.DescribeEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeEvents func (c *DocDB) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { @@ -3405,15 +3383,14 @@ func (c *DocDB) DescribeEventsWithContext(ctx aws.Context, input *DescribeEvents // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEvents operation. -// pageNum := 0 -// err := client.DescribeEventsPages(params, -// func(page *docdb.DescribeEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEvents operation. +// pageNum := 0 +// err := client.DescribeEventsPages(params, +// func(page *docdb.DescribeEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DocDB) DescribeEventsPages(input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool) error { return c.DescribeEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3465,14 +3442,13 @@ const opDescribeGlobalClusters = "DescribeGlobalClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGlobalClustersRequest method. +// req, resp := client.DescribeGlobalClustersRequest(params) // -// // Example sending a request using the DescribeGlobalClustersRequest method. -// req, resp := client.DescribeGlobalClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeGlobalClusters func (c *DocDB) DescribeGlobalClustersRequest(input *DescribeGlobalClustersInput) (req *request.Request, output *DescribeGlobalClustersOutput) { @@ -3512,8 +3488,8 @@ func (c *DocDB) DescribeGlobalClustersRequest(input *DescribeGlobalClustersInput // API operation DescribeGlobalClusters for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" -// The GlobalClusterIdentifier doesn't refer to an existing global cluster. +// - ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" +// The GlobalClusterIdentifier doesn't refer to an existing global cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeGlobalClusters func (c *DocDB) DescribeGlobalClusters(input *DescribeGlobalClustersInput) (*DescribeGlobalClustersOutput, error) { @@ -3545,15 +3521,14 @@ func (c *DocDB) DescribeGlobalClustersWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeGlobalClusters operation. -// pageNum := 0 -// err := client.DescribeGlobalClustersPages(params, -// func(page *docdb.DescribeGlobalClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeGlobalClusters operation. +// pageNum := 0 +// err := client.DescribeGlobalClustersPages(params, +// func(page *docdb.DescribeGlobalClustersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DocDB) DescribeGlobalClustersPages(input *DescribeGlobalClustersInput, fn func(*DescribeGlobalClustersOutput, bool) bool) error { return c.DescribeGlobalClustersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3605,14 +3580,13 @@ const opDescribeOrderableDBInstanceOptions = "DescribeOrderableDBInstanceOptions // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrderableDBInstanceOptionsRequest method. +// req, resp := client.DescribeOrderableDBInstanceOptionsRequest(params) // -// // Example sending a request using the DescribeOrderableDBInstanceOptionsRequest method. -// req, resp := client.DescribeOrderableDBInstanceOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribeOrderableDBInstanceOptions func (c *DocDB) DescribeOrderableDBInstanceOptionsRequest(input *DescribeOrderableDBInstanceOptionsInput) (req *request.Request, output *DescribeOrderableDBInstanceOptionsOutput) { @@ -3677,15 +3651,14 @@ func (c *DocDB) DescribeOrderableDBInstanceOptionsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOrderableDBInstanceOptions operation. -// pageNum := 0 -// err := client.DescribeOrderableDBInstanceOptionsPages(params, -// func(page *docdb.DescribeOrderableDBInstanceOptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOrderableDBInstanceOptions operation. +// pageNum := 0 +// err := client.DescribeOrderableDBInstanceOptionsPages(params, +// func(page *docdb.DescribeOrderableDBInstanceOptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DocDB) DescribeOrderableDBInstanceOptionsPages(input *DescribeOrderableDBInstanceOptionsInput, fn func(*DescribeOrderableDBInstanceOptionsOutput, bool) bool) error { return c.DescribeOrderableDBInstanceOptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3737,14 +3710,13 @@ const opDescribePendingMaintenanceActions = "DescribePendingMaintenanceActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePendingMaintenanceActionsRequest method. +// req, resp := client.DescribePendingMaintenanceActionsRequest(params) // -// // Example sending a request using the DescribePendingMaintenanceActionsRequest method. -// req, resp := client.DescribePendingMaintenanceActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribePendingMaintenanceActions func (c *DocDB) DescribePendingMaintenanceActionsRequest(input *DescribePendingMaintenanceActionsInput) (req *request.Request, output *DescribePendingMaintenanceActionsOutput) { @@ -3782,8 +3754,8 @@ func (c *DocDB) DescribePendingMaintenanceActionsRequest(input *DescribePendingM // API operation DescribePendingMaintenanceActions for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" -// The specified resource ID was not found. +// - ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The specified resource ID was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/DescribePendingMaintenanceActions func (c *DocDB) DescribePendingMaintenanceActions(input *DescribePendingMaintenanceActionsInput) (*DescribePendingMaintenanceActionsOutput, error) { @@ -3815,15 +3787,14 @@ func (c *DocDB) DescribePendingMaintenanceActionsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePendingMaintenanceActions operation. -// pageNum := 0 -// err := client.DescribePendingMaintenanceActionsPages(params, -// func(page *docdb.DescribePendingMaintenanceActionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePendingMaintenanceActions operation. +// pageNum := 0 +// err := client.DescribePendingMaintenanceActionsPages(params, +// func(page *docdb.DescribePendingMaintenanceActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DocDB) DescribePendingMaintenanceActionsPages(input *DescribePendingMaintenanceActionsInput, fn func(*DescribePendingMaintenanceActionsOutput, bool) bool) error { return c.DescribePendingMaintenanceActionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3875,14 +3846,13 @@ const opFailoverDBCluster = "FailoverDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the FailoverDBClusterRequest method. +// req, resp := client.FailoverDBClusterRequest(params) // -// // Example sending a request using the FailoverDBClusterRequest method. -// req, resp := client.FailoverDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/FailoverDBCluster func (c *DocDB) FailoverDBClusterRequest(input *FailoverDBClusterInput) (req *request.Request, output *FailoverDBClusterOutput) { @@ -3920,14 +3890,15 @@ func (c *DocDB) FailoverDBClusterRequest(input *FailoverDBClusterInput) (req *re // API operation FailoverDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The cluster isn't in a valid state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing cluster. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The cluster isn't in a valid state. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified instance isn't in the available state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified instance isn't in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/FailoverDBCluster func (c *DocDB) FailoverDBCluster(input *FailoverDBClusterInput) (*FailoverDBClusterOutput, error) { @@ -3967,14 +3938,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ListTagsForResource func (c *DocDB) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4005,14 +3975,15 @@ func (c *DocDB) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req // API operation ListTagsForResource for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing instance. // -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing snapshot. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing instance. +// +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing snapshot. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ListTagsForResource func (c *DocDB) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4052,14 +4023,13 @@ const opModifyDBCluster = "ModifyDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBClusterRequest method. +// req, resp := client.ModifyDBClusterRequest(params) // -// // Example sending a request using the ModifyDBClusterRequest method. -// req, resp := client.ModifyDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyDBCluster func (c *DocDB) ModifyDBClusterRequest(input *ModifyDBClusterInput) (req *request.Request, output *ModifyDBClusterOutput) { @@ -4092,42 +4062,43 @@ func (c *DocDB) ModifyDBClusterRequest(input *ModifyDBClusterInput) (req *reques // API operation ModifyDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The cluster isn't in a valid state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing cluster. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would cause you to exceed the allowed amount of storage available -// across all instances. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The cluster isn't in a valid state. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing subnet group. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would cause you to exceed the allowed amount of storage available +// across all instances. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The subnet group doesn't cover all Availability Zones after it is created -// because of changes that were made. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing subnet group. // -// * ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" -// The subnet group can't be deleted because it's in use. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The subnet group doesn't cover all Availability Zones after it is created +// because of changes that were made. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is not valid, or multiple subnets were requested that -// are not all in a common virtual private cloud (VPC). +// - ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" +// The subnet group can't be deleted because it's in use. // -// * ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" -// DBClusterParameterGroupName doesn't refer to an existing cluster parameter -// group. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is not valid, or multiple subnets were requested that +// are not all in a common virtual private cloud (VPC). // -// * ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" -// The state of the security group doesn't allow deletion. +// - ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" +// DBClusterParameterGroupName doesn't refer to an existing cluster parameter +// group. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified instance isn't in the available state. +// - ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" +// The state of the security group doesn't allow deletion. // -// * ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" -// You already have a cluster with the given identifier. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified instance isn't in the available state. +// +// - ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" +// You already have a cluster with the given identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyDBCluster func (c *DocDB) ModifyDBCluster(input *ModifyDBClusterInput) (*ModifyDBClusterOutput, error) { @@ -4167,14 +4138,13 @@ const opModifyDBClusterParameterGroup = "ModifyDBClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBClusterParameterGroupRequest method. +// req, resp := client.ModifyDBClusterParameterGroupRequest(params) // -// // Example sending a request using the ModifyDBClusterParameterGroupRequest method. -// req, resp := client.ModifyDBClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyDBClusterParameterGroup func (c *DocDB) ModifyDBClusterParameterGroupRequest(input *ModifyDBClusterParameterGroupInput) (req *request.Request, output *ModifyDBClusterParameterGroupOutput) { @@ -4219,13 +4189,14 @@ func (c *DocDB) ModifyDBClusterParameterGroupRequest(input *ModifyDBClusterParam // API operation ModifyDBClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing parameter group. // -// * ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" -// The parameter group is in use, or it is in a state that is not valid. If -// you are trying to delete the parameter group, you can't delete it when the -// parameter group is in this state. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing parameter group. +// +// - ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" +// The parameter group is in use, or it is in a state that is not valid. If +// you are trying to delete the parameter group, you can't delete it when the +// parameter group is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyDBClusterParameterGroup func (c *DocDB) ModifyDBClusterParameterGroup(input *ModifyDBClusterParameterGroupInput) (*ModifyDBClusterParameterGroupOutput, error) { @@ -4265,14 +4236,13 @@ const opModifyDBClusterSnapshotAttribute = "ModifyDBClusterSnapshotAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBClusterSnapshotAttributeRequest method. +// req, resp := client.ModifyDBClusterSnapshotAttributeRequest(params) // -// // Example sending a request using the ModifyDBClusterSnapshotAttributeRequest method. -// req, resp := client.ModifyDBClusterSnapshotAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyDBClusterSnapshotAttribute func (c *DocDB) ModifyDBClusterSnapshotAttributeRequest(input *ModifyDBClusterSnapshotAttributeInput) (req *request.Request, output *ModifyDBClusterSnapshotAttributeOutput) { @@ -4316,15 +4286,16 @@ func (c *DocDB) ModifyDBClusterSnapshotAttributeRequest(input *ModifyDBClusterSn // API operation ModifyDBClusterSnapshotAttribute for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The provided value isn't a valid cluster snapshot state. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot. +// +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The provided value isn't a valid cluster snapshot state. // -// * ErrCodeSharedSnapshotQuotaExceededFault "SharedSnapshotQuotaExceeded" -// You have exceeded the maximum number of accounts that you can share a manual -// DB snapshot with. +// - ErrCodeSharedSnapshotQuotaExceededFault "SharedSnapshotQuotaExceeded" +// You have exceeded the maximum number of accounts that you can share a manual +// DB snapshot with. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyDBClusterSnapshotAttribute func (c *DocDB) ModifyDBClusterSnapshotAttribute(input *ModifyDBClusterSnapshotAttributeInput) (*ModifyDBClusterSnapshotAttributeOutput, error) { @@ -4364,14 +4335,13 @@ const opModifyDBInstance = "ModifyDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBInstanceRequest method. +// req, resp := client.ModifyDBInstanceRequest(params) // -// // Example sending a request using the ModifyDBInstanceRequest method. -// req, resp := client.ModifyDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyDBInstance func (c *DocDB) ModifyDBInstanceRequest(input *ModifyDBInstanceInput) (req *request.Request, output *ModifyDBInstanceOutput) { @@ -4403,51 +4373,52 @@ func (c *DocDB) ModifyDBInstanceRequest(input *ModifyDBInstanceInput) (req *requ // API operation ModifyDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified instance isn't in the available state. // -// * ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" -// The state of the security group doesn't allow deletion. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified instance isn't in the available state. // -// * ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" -// You already have a instance with the given identifier. +// - ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" +// The state of the security group doesn't allow deletion. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing instance. +// - ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" +// You already have a instance with the given identifier. // -// * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" -// DBSecurityGroupName doesn't refer to an existing security group. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing instance. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing parameter group. +// - ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" +// DBSecurityGroupName doesn't refer to an existing security group. // -// * ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" -// The specified instance class isn't available in the specified Availability -// Zone. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing parameter group. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would cause you to exceed the allowed amount of storage available -// across all instances. +// - ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" +// The specified instance class isn't available in the specified Availability +// Zone. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The subnet group doesn't cover all Availability Zones after it is created -// because of changes that were made. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would cause you to exceed the allowed amount of storage available +// across all instances. // -// * ErrCodeDBUpgradeDependencyFailureFault "DBUpgradeDependencyFailure" -// The upgrade failed because a resource that the depends on can't be modified. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The subnet group doesn't cover all Availability Zones after it is created +// because of changes that were made. // -// * ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" -// Storage of the specified StorageType can't be associated with the DB instance. +// - ErrCodeDBUpgradeDependencyFailureFault "DBUpgradeDependencyFailure" +// The upgrade failed because a resource that the depends on can't be modified. // -// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" -// The specified CIDR IP or Amazon EC2 security group isn't authorized for the -// specified security group. +// - ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" +// Storage of the specified StorageType can't be associated with the DB instance. // -// Amazon DocumentDB also might not be authorized to perform necessary actions -// on your behalf using IAM. +// - ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// The specified CIDR IP or Amazon EC2 security group isn't authorized for the +// specified security group. // -// * ErrCodeCertificateNotFoundFault "CertificateNotFound" -// CertificateIdentifier doesn't refer to an existing certificate. +// Amazon DocumentDB also might not be authorized to perform necessary actions +// on your behalf using IAM. +// +// - ErrCodeCertificateNotFoundFault "CertificateNotFound" +// CertificateIdentifier doesn't refer to an existing certificate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyDBInstance func (c *DocDB) ModifyDBInstance(input *ModifyDBInstanceInput) (*ModifyDBInstanceOutput, error) { @@ -4487,14 +4458,13 @@ const opModifyDBSubnetGroup = "ModifyDBSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBSubnetGroupRequest method. +// req, resp := client.ModifyDBSubnetGroupRequest(params) // -// // Example sending a request using the ModifyDBSubnetGroupRequest method. -// req, resp := client.ModifyDBSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyDBSubnetGroup func (c *DocDB) ModifyDBSubnetGroupRequest(input *ModifyDBSubnetGroupInput) (req *request.Request, output *ModifyDBSubnetGroupOutput) { @@ -4526,23 +4496,24 @@ func (c *DocDB) ModifyDBSubnetGroupRequest(input *ModifyDBSubnetGroupInput) (req // API operation ModifyDBSubnetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing subnet group. // -// * ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" -// The request would cause you to exceed the allowed number of subnets in a -// subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing subnet group. // -// * ErrCodeSubnetAlreadyInUse "SubnetAlreadyInUse" -// The subnet is already in use in the Availability Zone. +// - ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" +// The request would cause you to exceed the allowed number of subnets in a +// subnet group. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeSubnetAlreadyInUse "SubnetAlreadyInUse" +// The subnet is already in use in the Availability Zone. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is not valid, or multiple subnets were requested that -// are not all in a common virtual private cloud (VPC). +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. +// +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is not valid, or multiple subnets were requested that +// are not all in a common virtual private cloud (VPC). // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyDBSubnetGroup func (c *DocDB) ModifyDBSubnetGroup(input *ModifyDBSubnetGroupInput) (*ModifyDBSubnetGroupOutput, error) { @@ -4582,14 +4553,13 @@ const opModifyEventSubscription = "ModifyEventSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyEventSubscriptionRequest method. +// req, resp := client.ModifyEventSubscriptionRequest(params) // -// // Example sending a request using the ModifyEventSubscriptionRequest method. -// req, resp := client.ModifyEventSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyEventSubscription func (c *DocDB) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput) { @@ -4620,24 +4590,25 @@ func (c *DocDB) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInp // API operation ModifyEventSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded" -// You have reached the maximum number of event subscriptions. // -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// The subscription name does not exist. +// - ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded" +// You have reached the maximum number of event subscriptions. // -// * ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" -// Amazon SNS has responded that there is a problem with the specified topic. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// The subscription name does not exist. // -// * ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" -// You do not have permission to publish to the SNS topic Amazon Resource Name -// (ARN). +// - ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" +// Amazon SNS has responded that there is a problem with the specified topic. // -// * ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" -// The SNS topic Amazon Resource Name (ARN) does not exist. +// - ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" +// You do not have permission to publish to the SNS topic Amazon Resource Name +// (ARN). // -// * ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound" -// The provided category does not exist. +// - ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" +// The SNS topic Amazon Resource Name (ARN) does not exist. +// +// - ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound" +// The provided category does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyEventSubscription func (c *DocDB) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error) { @@ -4677,14 +4648,13 @@ const opModifyGlobalCluster = "ModifyGlobalCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyGlobalClusterRequest method. +// req, resp := client.ModifyGlobalClusterRequest(params) // -// // Example sending a request using the ModifyGlobalClusterRequest method. -// req, resp := client.ModifyGlobalClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyGlobalCluster func (c *DocDB) ModifyGlobalClusterRequest(input *ModifyGlobalClusterInput) (req *request.Request, output *ModifyGlobalClusterOutput) { @@ -4720,11 +4690,12 @@ func (c *DocDB) ModifyGlobalClusterRequest(input *ModifyGlobalClusterInput) (req // API operation ModifyGlobalCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" -// The GlobalClusterIdentifier doesn't refer to an existing global cluster. // -// * ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" +// The GlobalClusterIdentifier doesn't refer to an existing global cluster. +// +// - ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ModifyGlobalCluster func (c *DocDB) ModifyGlobalCluster(input *ModifyGlobalClusterInput) (*ModifyGlobalClusterOutput, error) { @@ -4764,14 +4735,13 @@ const opRebootDBInstance = "RebootDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebootDBInstanceRequest method. +// req, resp := client.RebootDBInstanceRequest(params) // -// // Example sending a request using the RebootDBInstanceRequest method. -// req, resp := client.RebootDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RebootDBInstance func (c *DocDB) RebootDBInstanceRequest(input *RebootDBInstanceInput) (req *request.Request, output *RebootDBInstanceOutput) { @@ -4809,11 +4779,12 @@ func (c *DocDB) RebootDBInstanceRequest(input *RebootDBInstanceInput) (req *requ // API operation RebootDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified instance isn't in the available state. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing instance. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified instance isn't in the available state. +// +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing instance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RebootDBInstance func (c *DocDB) RebootDBInstance(input *RebootDBInstanceInput) (*RebootDBInstanceOutput, error) { @@ -4853,14 +4824,13 @@ const opRemoveFromGlobalCluster = "RemoveFromGlobalCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveFromGlobalClusterRequest method. +// req, resp := client.RemoveFromGlobalClusterRequest(params) // -// // Example sending a request using the RemoveFromGlobalClusterRequest method. -// req, resp := client.RemoveFromGlobalClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RemoveFromGlobalCluster func (c *DocDB) RemoveFromGlobalClusterRequest(input *RemoveFromGlobalClusterInput) (req *request.Request, output *RemoveFromGlobalClusterOutput) { @@ -4895,14 +4865,15 @@ func (c *DocDB) RemoveFromGlobalClusterRequest(input *RemoveFromGlobalClusterInp // API operation RemoveFromGlobalCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" -// The GlobalClusterIdentifier doesn't refer to an existing global cluster. // -// * ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" +// The GlobalClusterIdentifier doesn't refer to an existing global cluster. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing cluster. +// - ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. +// +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RemoveFromGlobalCluster func (c *DocDB) RemoveFromGlobalCluster(input *RemoveFromGlobalClusterInput) (*RemoveFromGlobalClusterOutput, error) { @@ -4942,14 +4913,13 @@ const opRemoveSourceIdentifierFromSubscription = "RemoveSourceIdentifierFromSubs // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveSourceIdentifierFromSubscriptionRequest method. +// req, resp := client.RemoveSourceIdentifierFromSubscriptionRequest(params) // -// // Example sending a request using the RemoveSourceIdentifierFromSubscriptionRequest method. -// req, resp := client.RemoveSourceIdentifierFromSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RemoveSourceIdentifierFromSubscription func (c *DocDB) RemoveSourceIdentifierFromSubscriptionRequest(input *RemoveSourceIdentifierFromSubscriptionInput) (req *request.Request, output *RemoveSourceIdentifierFromSubscriptionOutput) { @@ -4981,11 +4951,12 @@ func (c *DocDB) RemoveSourceIdentifierFromSubscriptionRequest(input *RemoveSourc // API operation RemoveSourceIdentifierFromSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// The subscription name does not exist. // -// * ErrCodeSourceNotFoundFault "SourceNotFound" -// The requested source could not be found. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// The subscription name does not exist. +// +// - ErrCodeSourceNotFoundFault "SourceNotFound" +// The requested source could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RemoveSourceIdentifierFromSubscription func (c *DocDB) RemoveSourceIdentifierFromSubscription(input *RemoveSourceIdentifierFromSubscriptionInput) (*RemoveSourceIdentifierFromSubscriptionOutput, error) { @@ -5025,14 +4996,13 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsFromResourceRequest method. +// req, resp := client.RemoveTagsFromResourceRequest(params) // -// // Example sending a request using the RemoveTagsFromResourceRequest method. -// req, resp := client.RemoveTagsFromResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RemoveTagsFromResource func (c *DocDB) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput) { @@ -5064,14 +5034,15 @@ func (c *DocDB) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput // API operation RemoveTagsFromResource for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing instance. // -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing snapshot. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing instance. +// +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing snapshot. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RemoveTagsFromResource func (c *DocDB) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error) { @@ -5111,14 +5082,13 @@ const opResetDBClusterParameterGroup = "ResetDBClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetDBClusterParameterGroupRequest method. +// req, resp := client.ResetDBClusterParameterGroupRequest(params) // -// // Example sending a request using the ResetDBClusterParameterGroupRequest method. -// req, resp := client.ResetDBClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ResetDBClusterParameterGroup func (c *DocDB) ResetDBClusterParameterGroupRequest(input *ResetDBClusterParameterGroupInput) (req *request.Request, output *ResetDBClusterParameterGroupOutput) { @@ -5156,13 +5126,14 @@ func (c *DocDB) ResetDBClusterParameterGroupRequest(input *ResetDBClusterParamet // API operation ResetDBClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" -// The parameter group is in use, or it is in a state that is not valid. If -// you are trying to delete the parameter group, you can't delete it when the -// parameter group is in this state. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing parameter group. +// - ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" +// The parameter group is in use, or it is in a state that is not valid. If +// you are trying to delete the parameter group, you can't delete it when the +// parameter group is in this state. +// +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/ResetDBClusterParameterGroup func (c *DocDB) ResetDBClusterParameterGroup(input *ResetDBClusterParameterGroupInput) (*ResetDBClusterParameterGroupOutput, error) { @@ -5202,14 +5173,13 @@ const opRestoreDBClusterFromSnapshot = "RestoreDBClusterFromSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreDBClusterFromSnapshotRequest method. +// req, resp := client.RestoreDBClusterFromSnapshotRequest(params) // -// // Example sending a request using the RestoreDBClusterFromSnapshotRequest method. -// req, resp := client.RestoreDBClusterFromSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RestoreDBClusterFromSnapshot func (c *DocDB) RestoreDBClusterFromSnapshotRequest(input *RestoreDBClusterFromSnapshotInput) (req *request.Request, output *RestoreDBClusterFromSnapshotOutput) { @@ -5248,61 +5218,62 @@ func (c *DocDB) RestoreDBClusterFromSnapshotRequest(input *RestoreDBClusterFromS // API operation RestoreDBClusterFromSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" -// You already have a cluster with the given identifier. // -// * ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" -// The cluster can't be created because you have reached the maximum allowed -// quota of clusters. +// - ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" +// You already have a cluster with the given identifier. +// +// - ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" +// The cluster can't be created because you have reached the maximum allowed +// quota of clusters. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would cause you to exceed the allowed amount of storage available -// across all instances. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would cause you to exceed the allowed amount of storage available +// across all instances. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing subnet group. // -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing snapshot. +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing snapshot. // -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot. // -// * ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" -// The cluster doesn't have enough capacity for the current operation. +// - ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" +// The cluster doesn't have enough capacity for the current operation. // -// * ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" -// There is not enough storage available for the current action. You might be -// able to resolve this error by updating your subnet group to use different -// Availability Zones that have more storage available. +// - ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" +// There is not enough storage available for the current action. You might be +// able to resolve this error by updating your subnet group to use different +// Availability Zones that have more storage available. // -// * ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" -// The state of the snapshot doesn't allow deletion. +// - ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" +// The state of the snapshot doesn't allow deletion. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The provided value isn't a valid cluster snapshot state. +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The provided value isn't a valid cluster snapshot state. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would cause you to exceed the allowed amount of storage available -// across all instances. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would cause you to exceed the allowed amount of storage available +// across all instances. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The subnet group doesn't cover all Availability Zones after it is created -// because of changes that were made. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The subnet group doesn't cover all Availability Zones after it is created +// because of changes that were made. // -// * ErrCodeInvalidRestoreFault "InvalidRestoreFault" -// You cannot restore from a virtual private cloud (VPC) backup to a non-VPC -// DB instance. +// - ErrCodeInvalidRestoreFault "InvalidRestoreFault" +// You cannot restore from a virtual private cloud (VPC) backup to a non-VPC +// DB instance. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing subnet group. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is not valid, or multiple subnets were requested that -// are not all in a common virtual private cloud (VPC). +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is not valid, or multiple subnets were requested that +// are not all in a common virtual private cloud (VPC). // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred when accessing an KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred when accessing an KMS key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RestoreDBClusterFromSnapshot func (c *DocDB) RestoreDBClusterFromSnapshot(input *RestoreDBClusterFromSnapshotInput) (*RestoreDBClusterFromSnapshotOutput, error) { @@ -5342,14 +5313,13 @@ const opRestoreDBClusterToPointInTime = "RestoreDBClusterToPointInTime" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreDBClusterToPointInTimeRequest method. +// req, resp := client.RestoreDBClusterToPointInTimeRequest(params) // -// // Example sending a request using the RestoreDBClusterToPointInTimeRequest method. -// req, resp := client.RestoreDBClusterToPointInTimeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RestoreDBClusterToPointInTime func (c *DocDB) RestoreDBClusterToPointInTimeRequest(input *RestoreDBClusterToPointInTimeInput) (req *request.Request, output *RestoreDBClusterToPointInTimeOutput) { @@ -5384,57 +5354,58 @@ func (c *DocDB) RestoreDBClusterToPointInTimeRequest(input *RestoreDBClusterToPo // API operation RestoreDBClusterToPointInTime for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" -// You already have a cluster with the given identifier. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing cluster. +// - ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" +// You already have a cluster with the given identifier. +// +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing cluster. // -// * ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" -// The cluster can't be created because you have reached the maximum allowed -// quota of clusters. +// - ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" +// The cluster can't be created because you have reached the maximum allowed +// quota of clusters. // -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier doesn't refer to an existing cluster snapshot. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing subnet group. // -// * ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" -// The cluster doesn't have enough capacity for the current operation. +// - ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" +// The cluster doesn't have enough capacity for the current operation. // -// * ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" -// There is not enough storage available for the current action. You might be -// able to resolve this error by updating your subnet group to use different -// Availability Zones that have more storage available. +// - ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" +// There is not enough storage available for the current action. You might be +// able to resolve this error by updating your subnet group to use different +// Availability Zones that have more storage available. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The provided value isn't a valid cluster snapshot state. +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The provided value isn't a valid cluster snapshot state. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The cluster isn't in a valid state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The cluster isn't in a valid state. // -// * ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" -// The state of the snapshot doesn't allow deletion. +// - ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" +// The state of the snapshot doesn't allow deletion. // -// * ErrCodeInvalidRestoreFault "InvalidRestoreFault" -// You cannot restore from a virtual private cloud (VPC) backup to a non-VPC -// DB instance. +// - ErrCodeInvalidRestoreFault "InvalidRestoreFault" +// You cannot restore from a virtual private cloud (VPC) backup to a non-VPC +// DB instance. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is not valid, or multiple subnets were requested that -// are not all in a common virtual private cloud (VPC). +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is not valid, or multiple subnets were requested that +// are not all in a common virtual private cloud (VPC). // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The subnet group doesn't cover all Availability Zones after it is created -// because of changes that were made. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The subnet group doesn't cover all Availability Zones after it is created +// because of changes that were made. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred when accessing an KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred when accessing an KMS key. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would cause you to exceed the allowed amount of storage available -// across all instances. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would cause you to exceed the allowed amount of storage available +// across all instances. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/RestoreDBClusterToPointInTime func (c *DocDB) RestoreDBClusterToPointInTime(input *RestoreDBClusterToPointInTimeInput) (*RestoreDBClusterToPointInTimeOutput, error) { @@ -5474,14 +5445,13 @@ const opStartDBCluster = "StartDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDBClusterRequest method. +// req, resp := client.StartDBClusterRequest(params) // -// // Example sending a request using the StartDBClusterRequest method. -// req, resp := client.StartDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/StartDBCluster func (c *DocDB) StartDBClusterRequest(input *StartDBClusterInput) (req *request.Request, output *StartDBClusterOutput) { @@ -5514,14 +5484,15 @@ func (c *DocDB) StartDBClusterRequest(input *StartDBClusterInput) (req *request. // API operation StartDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The cluster isn't in a valid state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing cluster. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified instance isn't in the available state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The cluster isn't in a valid state. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified instance isn't in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/StartDBCluster func (c *DocDB) StartDBCluster(input *StartDBClusterInput) (*StartDBClusterOutput, error) { @@ -5561,14 +5532,13 @@ const opStopDBCluster = "StopDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopDBClusterRequest method. +// req, resp := client.StopDBClusterRequest(params) // -// // Example sending a request using the StopDBClusterRequest method. -// req, resp := client.StopDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/StopDBCluster func (c *DocDB) StopDBClusterRequest(input *StopDBClusterInput) (req *request.Request, output *StopDBClusterOutput) { @@ -5601,14 +5571,15 @@ func (c *DocDB) StopDBClusterRequest(input *StopDBClusterInput) (req *request.Re // API operation StopDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The cluster isn't in a valid state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing cluster. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The cluster isn't in a valid state. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified instance isn't in the available state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified instance isn't in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31/StopDBCluster func (c *DocDB) StopDBCluster(input *StopDBClusterInput) (*StopDBClusterOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/doc.go index 18ca7f9d4d41..2cbb26a5fab1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/doc.go @@ -3,14 +3,14 @@ // Package docdb provides the client and types for making API // requests to Amazon DocumentDB with MongoDB compatibility. // -// Amazon DocumentDB API documentation +// # Amazon DocumentDB API documentation // // See https://docs.aws.amazon.com/goto/WebAPI/docdb-2014-10-31 for more information on this service. // // See docdb package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/docdb/ // -// Using the Client +// # Using the Client // // To contact Amazon DocumentDB with MongoDB compatibility with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/docdbiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/docdbiface/interface.go index 6c2ae58e3a27..301997b5a3ac 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/docdbiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/docdbiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon DocumentDB with MongoDB compatibility. -// func myFunc(svc docdbiface.DocDBAPI) bool { -// // Make svc.AddSourceIdentifierToSubscription request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon DocumentDB with MongoDB compatibility. +// func myFunc(svc docdbiface.DocDBAPI) bool { +// // Make svc.AddSourceIdentifierToSubscription request +// } // -// func main() { -// sess := session.New() -// svc := docdb.New(sess) +// func main() { +// sess := session.New() +// svc := docdb.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockDocDBClient struct { -// docdbiface.DocDBAPI -// } -// func (m *mockDocDBClient) AddSourceIdentifierToSubscription(input *docdb.AddSourceIdentifierToSubscriptionInput) (*docdb.AddSourceIdentifierToSubscriptionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockDocDBClient struct { +// docdbiface.DocDBAPI +// } +// func (m *mockDocDBClient) AddSourceIdentifierToSubscription(input *docdb.AddSourceIdentifierToSubscriptionInput) (*docdb.AddSourceIdentifierToSubscriptionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockDocDBClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockDocDBClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/service.go index 1d5429ed68f2..e22801a68c0e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/docdb/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a DocDB client from just a session. -// svc := docdb.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a DocDB client with additional configuration -// svc := docdb.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a DocDB client from just a session. +// svc := docdb.New(mySession) +// +// // Create a DocDB client with additional configuration +// svc := docdb.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *DocDB { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/api.go index 6400dd07a5b2..def4b14a9abb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/api.go @@ -28,14 +28,13 @@ const opCreateReplicationConfigurationTemplate = "CreateReplicationConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReplicationConfigurationTemplateRequest method. +// req, resp := client.CreateReplicationConfigurationTemplateRequest(params) // -// // Example sending a request using the CreateReplicationConfigurationTemplateRequest method. -// req, resp := client.CreateReplicationConfigurationTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateReplicationConfigurationTemplate func (c *Drs) CreateReplicationConfigurationTemplateRequest(input *CreateReplicationConfigurationTemplateInput) (req *request.Request, output *CreateReplicationConfigurationTemplateOutput) { @@ -66,24 +65,25 @@ func (c *Drs) CreateReplicationConfigurationTemplateRequest(input *CreateReplica // API operation CreateReplicationConfigurationTemplate for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ServiceQuotaExceededException -// The request could not be completed because its exceeded the service quota. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ServiceQuotaExceededException +// The request could not be completed because its exceeded the service quota. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// TYou do not have sufficient access to perform this action. +// - AccessDeniedException +// TYou do not have sufficient access to perform this action. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/CreateReplicationConfigurationTemplate func (c *Drs) CreateReplicationConfigurationTemplate(input *CreateReplicationConfigurationTemplateInput) (*CreateReplicationConfigurationTemplateOutput, error) { @@ -123,14 +123,13 @@ const opDeleteJob = "DeleteJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteJobRequest method. +// req, resp := client.DeleteJobRequest(params) // -// // Example sending a request using the DeleteJobRequest method. -// req, resp := client.DeleteJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteJob func (c *Drs) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, output *DeleteJobOutput) { @@ -162,22 +161,23 @@ func (c *Drs) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, out // API operation DeleteJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteJob func (c *Drs) DeleteJob(input *DeleteJobInput) (*DeleteJobOutput, error) { @@ -217,14 +217,13 @@ const opDeleteRecoveryInstance = "DeleteRecoveryInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRecoveryInstanceRequest method. +// req, resp := client.DeleteRecoveryInstanceRequest(params) // -// // Example sending a request using the DeleteRecoveryInstanceRequest method. -// req, resp := client.DeleteRecoveryInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteRecoveryInstance func (c *Drs) DeleteRecoveryInstanceRequest(input *DeleteRecoveryInstanceInput) (req *request.Request, output *DeleteRecoveryInstanceOutput) { @@ -258,22 +257,23 @@ func (c *Drs) DeleteRecoveryInstanceRequest(input *DeleteRecoveryInstanceInput) // API operation DeleteRecoveryInstance for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// TYou do not have sufficient access to perform this action. +// - AccessDeniedException +// TYou do not have sufficient access to perform this action. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteRecoveryInstance func (c *Drs) DeleteRecoveryInstance(input *DeleteRecoveryInstanceInput) (*DeleteRecoveryInstanceOutput, error) { @@ -313,14 +313,13 @@ const opDeleteReplicationConfigurationTemplate = "DeleteReplicationConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReplicationConfigurationTemplateRequest method. +// req, resp := client.DeleteReplicationConfigurationTemplateRequest(params) // -// // Example sending a request using the DeleteReplicationConfigurationTemplateRequest method. -// req, resp := client.DeleteReplicationConfigurationTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteReplicationConfigurationTemplate func (c *Drs) DeleteReplicationConfigurationTemplateRequest(input *DeleteReplicationConfigurationTemplateInput) (req *request.Request, output *DeleteReplicationConfigurationTemplateOutput) { @@ -342,7 +341,7 @@ func (c *Drs) DeleteReplicationConfigurationTemplateRequest(input *DeleteReplica // DeleteReplicationConfigurationTemplate API operation for Elastic Disaster Recovery Service. // -// Deletes a single Replication Configuration Template by ID +// # Deletes a single Replication Configuration Template by ID // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -352,22 +351,23 @@ func (c *Drs) DeleteReplicationConfigurationTemplateRequest(input *DeleteReplica // API operation DeleteReplicationConfigurationTemplate for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteReplicationConfigurationTemplate func (c *Drs) DeleteReplicationConfigurationTemplate(input *DeleteReplicationConfigurationTemplateInput) (*DeleteReplicationConfigurationTemplateOutput, error) { @@ -407,14 +407,13 @@ const opDeleteSourceServer = "DeleteSourceServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSourceServerRequest method. +// req, resp := client.DeleteSourceServerRequest(params) // -// // Example sending a request using the DeleteSourceServerRequest method. -// req, resp := client.DeleteSourceServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteSourceServer func (c *Drs) DeleteSourceServerRequest(input *DeleteSourceServerInput) (req *request.Request, output *DeleteSourceServerOutput) { @@ -447,22 +446,23 @@ func (c *Drs) DeleteSourceServerRequest(input *DeleteSourceServerInput) (req *re // API operation DeleteSourceServer for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DeleteSourceServer func (c *Drs) DeleteSourceServer(input *DeleteSourceServerInput) (*DeleteSourceServerOutput, error) { @@ -502,14 +502,13 @@ const opDescribeJobLogItems = "DescribeJobLogItems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobLogItemsRequest method. +// req, resp := client.DescribeJobLogItemsRequest(params) // -// // Example sending a request using the DescribeJobLogItemsRequest method. -// req, resp := client.DescribeJobLogItemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeJobLogItems func (c *Drs) DescribeJobLogItemsRequest(input *DescribeJobLogItemsInput) (req *request.Request, output *DescribeJobLogItemsOutput) { @@ -546,18 +545,19 @@ func (c *Drs) DescribeJobLogItemsRequest(input *DescribeJobLogItemsInput) (req * // API operation DescribeJobLogItems for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeJobLogItems func (c *Drs) DescribeJobLogItems(input *DescribeJobLogItemsInput) (*DescribeJobLogItemsOutput, error) { @@ -589,15 +589,14 @@ func (c *Drs) DescribeJobLogItemsWithContext(ctx aws.Context, input *DescribeJob // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeJobLogItems operation. -// pageNum := 0 -// err := client.DescribeJobLogItemsPages(params, -// func(page *drs.DescribeJobLogItemsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeJobLogItems operation. +// pageNum := 0 +// err := client.DescribeJobLogItemsPages(params, +// func(page *drs.DescribeJobLogItemsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Drs) DescribeJobLogItemsPages(input *DescribeJobLogItemsInput, fn func(*DescribeJobLogItemsOutput, bool) bool) error { return c.DescribeJobLogItemsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -649,14 +648,13 @@ const opDescribeJobs = "DescribeJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobsRequest method. +// req, resp := client.DescribeJobsRequest(params) // -// // Example sending a request using the DescribeJobsRequest method. -// req, resp := client.DescribeJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeJobs func (c *Drs) DescribeJobsRequest(input *DescribeJobsInput) (req *request.Request, output *DescribeJobsOutput) { @@ -698,18 +696,19 @@ func (c *Drs) DescribeJobsRequest(input *DescribeJobsInput) (req *request.Reques // API operation DescribeJobs for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. +// - ThrottlingException +// The request was denied due to request throttling. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeJobs func (c *Drs) DescribeJobs(input *DescribeJobsInput) (*DescribeJobsOutput, error) { @@ -741,15 +740,14 @@ func (c *Drs) DescribeJobsWithContext(ctx aws.Context, input *DescribeJobsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeJobs operation. -// pageNum := 0 -// err := client.DescribeJobsPages(params, -// func(page *drs.DescribeJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeJobs operation. +// pageNum := 0 +// err := client.DescribeJobsPages(params, +// func(page *drs.DescribeJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Drs) DescribeJobsPages(input *DescribeJobsInput, fn func(*DescribeJobsOutput, bool) bool) error { return c.DescribeJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -801,14 +799,13 @@ const opDescribeRecoveryInstances = "DescribeRecoveryInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRecoveryInstancesRequest method. +// req, resp := client.DescribeRecoveryInstancesRequest(params) // -// // Example sending a request using the DescribeRecoveryInstancesRequest method. -// req, resp := client.DescribeRecoveryInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeRecoveryInstances func (c *Drs) DescribeRecoveryInstancesRequest(input *DescribeRecoveryInstancesInput) (req *request.Request, output *DescribeRecoveryInstancesOutput) { @@ -845,18 +842,19 @@ func (c *Drs) DescribeRecoveryInstancesRequest(input *DescribeRecoveryInstancesI // API operation DescribeRecoveryInstances for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// TYou do not have sufficient access to perform this action. +// - AccessDeniedException +// TYou do not have sufficient access to perform this action. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeRecoveryInstances func (c *Drs) DescribeRecoveryInstances(input *DescribeRecoveryInstancesInput) (*DescribeRecoveryInstancesOutput, error) { @@ -888,15 +886,14 @@ func (c *Drs) DescribeRecoveryInstancesWithContext(ctx aws.Context, input *Descr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeRecoveryInstances operation. -// pageNum := 0 -// err := client.DescribeRecoveryInstancesPages(params, -// func(page *drs.DescribeRecoveryInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeRecoveryInstances operation. +// pageNum := 0 +// err := client.DescribeRecoveryInstancesPages(params, +// func(page *drs.DescribeRecoveryInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Drs) DescribeRecoveryInstancesPages(input *DescribeRecoveryInstancesInput, fn func(*DescribeRecoveryInstancesOutput, bool) bool) error { return c.DescribeRecoveryInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -948,14 +945,13 @@ const opDescribeRecoverySnapshots = "DescribeRecoverySnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRecoverySnapshotsRequest method. +// req, resp := client.DescribeRecoverySnapshotsRequest(params) // -// // Example sending a request using the DescribeRecoverySnapshotsRequest method. -// req, resp := client.DescribeRecoverySnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeRecoverySnapshots func (c *Drs) DescribeRecoverySnapshotsRequest(input *DescribeRecoverySnapshotsInput) (req *request.Request, output *DescribeRecoverySnapshotsOutput) { @@ -992,21 +988,22 @@ func (c *Drs) DescribeRecoverySnapshotsRequest(input *DescribeRecoverySnapshotsI // API operation DescribeRecoverySnapshots for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * AccessDeniedException -// TYou do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. +// - AccessDeniedException +// TYou do not have sufficient access to perform this action. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeRecoverySnapshots func (c *Drs) DescribeRecoverySnapshots(input *DescribeRecoverySnapshotsInput) (*DescribeRecoverySnapshotsOutput, error) { @@ -1038,15 +1035,14 @@ func (c *Drs) DescribeRecoverySnapshotsWithContext(ctx aws.Context, input *Descr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeRecoverySnapshots operation. -// pageNum := 0 -// err := client.DescribeRecoverySnapshotsPages(params, -// func(page *drs.DescribeRecoverySnapshotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeRecoverySnapshots operation. +// pageNum := 0 +// err := client.DescribeRecoverySnapshotsPages(params, +// func(page *drs.DescribeRecoverySnapshotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Drs) DescribeRecoverySnapshotsPages(input *DescribeRecoverySnapshotsInput, fn func(*DescribeRecoverySnapshotsOutput, bool) bool) error { return c.DescribeRecoverySnapshotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1098,14 +1094,13 @@ const opDescribeReplicationConfigurationTemplates = "DescribeReplicationConfigur // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReplicationConfigurationTemplatesRequest method. +// req, resp := client.DescribeReplicationConfigurationTemplatesRequest(params) // -// // Example sending a request using the DescribeReplicationConfigurationTemplatesRequest method. -// req, resp := client.DescribeReplicationConfigurationTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeReplicationConfigurationTemplates func (c *Drs) DescribeReplicationConfigurationTemplatesRequest(input *DescribeReplicationConfigurationTemplatesInput) (req *request.Request, output *DescribeReplicationConfigurationTemplatesOutput) { @@ -1142,21 +1137,22 @@ func (c *Drs) DescribeReplicationConfigurationTemplatesRequest(input *DescribeRe // API operation DescribeReplicationConfigurationTemplates for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeReplicationConfigurationTemplates func (c *Drs) DescribeReplicationConfigurationTemplates(input *DescribeReplicationConfigurationTemplatesInput) (*DescribeReplicationConfigurationTemplatesOutput, error) { @@ -1188,15 +1184,14 @@ func (c *Drs) DescribeReplicationConfigurationTemplatesWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReplicationConfigurationTemplates operation. -// pageNum := 0 -// err := client.DescribeReplicationConfigurationTemplatesPages(params, -// func(page *drs.DescribeReplicationConfigurationTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReplicationConfigurationTemplates operation. +// pageNum := 0 +// err := client.DescribeReplicationConfigurationTemplatesPages(params, +// func(page *drs.DescribeReplicationConfigurationTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Drs) DescribeReplicationConfigurationTemplatesPages(input *DescribeReplicationConfigurationTemplatesInput, fn func(*DescribeReplicationConfigurationTemplatesOutput, bool) bool) error { return c.DescribeReplicationConfigurationTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1248,14 +1243,13 @@ const opDescribeSourceServers = "DescribeSourceServers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSourceServersRequest method. +// req, resp := client.DescribeSourceServersRequest(params) // -// // Example sending a request using the DescribeSourceServersRequest method. -// req, resp := client.DescribeSourceServersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeSourceServers func (c *Drs) DescribeSourceServersRequest(input *DescribeSourceServersInput) (req *request.Request, output *DescribeSourceServersOutput) { @@ -1292,18 +1286,19 @@ func (c *Drs) DescribeSourceServersRequest(input *DescribeSourceServersInput) (r // API operation DescribeSourceServers for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. +// - ThrottlingException +// The request was denied due to request throttling. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DescribeSourceServers func (c *Drs) DescribeSourceServers(input *DescribeSourceServersInput) (*DescribeSourceServersOutput, error) { @@ -1335,15 +1330,14 @@ func (c *Drs) DescribeSourceServersWithContext(ctx aws.Context, input *DescribeS // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSourceServers operation. -// pageNum := 0 -// err := client.DescribeSourceServersPages(params, -// func(page *drs.DescribeSourceServersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSourceServers operation. +// pageNum := 0 +// err := client.DescribeSourceServersPages(params, +// func(page *drs.DescribeSourceServersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Drs) DescribeSourceServersPages(input *DescribeSourceServersInput, fn func(*DescribeSourceServersOutput, bool) bool) error { return c.DescribeSourceServersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1395,14 +1389,13 @@ const opDisconnectRecoveryInstance = "DisconnectRecoveryInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisconnectRecoveryInstanceRequest method. +// req, resp := client.DisconnectRecoveryInstanceRequest(params) // -// // Example sending a request using the DisconnectRecoveryInstanceRequest method. -// req, resp := client.DisconnectRecoveryInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DisconnectRecoveryInstance func (c *Drs) DisconnectRecoveryInstanceRequest(input *DisconnectRecoveryInstanceInput) (req *request.Request, output *DisconnectRecoveryInstanceOutput) { @@ -1444,25 +1437,26 @@ func (c *Drs) DisconnectRecoveryInstanceRequest(input *DisconnectRecoveryInstanc // API operation DisconnectRecoveryInstance for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// TYou do not have sufficient access to perform this action. +// - AccessDeniedException +// TYou do not have sufficient access to perform this action. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DisconnectRecoveryInstance func (c *Drs) DisconnectRecoveryInstance(input *DisconnectRecoveryInstanceInput) (*DisconnectRecoveryInstanceOutput, error) { @@ -1502,14 +1496,13 @@ const opDisconnectSourceServer = "DisconnectSourceServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisconnectSourceServerRequest method. +// req, resp := client.DisconnectSourceServerRequest(params) // -// // Example sending a request using the DisconnectSourceServerRequest method. -// req, resp := client.DisconnectSourceServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DisconnectSourceServer func (c *Drs) DisconnectSourceServerRequest(input *DisconnectSourceServerInput) (req *request.Request, output *DisconnectSourceServerOutput) { @@ -1551,22 +1544,23 @@ func (c *Drs) DisconnectSourceServerRequest(input *DisconnectSourceServerInput) // API operation DisconnectSourceServer for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/DisconnectSourceServer func (c *Drs) DisconnectSourceServer(input *DisconnectSourceServerInput) (*DisconnectSourceServerOutput, error) { @@ -1606,14 +1600,13 @@ const opGetFailbackReplicationConfiguration = "GetFailbackReplicationConfigurati // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFailbackReplicationConfigurationRequest method. +// req, resp := client.GetFailbackReplicationConfigurationRequest(params) // -// // Example sending a request using the GetFailbackReplicationConfigurationRequest method. -// req, resp := client.GetFailbackReplicationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetFailbackReplicationConfiguration func (c *Drs) GetFailbackReplicationConfigurationRequest(input *GetFailbackReplicationConfigurationInput) (req *request.Request, output *GetFailbackReplicationConfigurationOutput) { @@ -1645,18 +1638,19 @@ func (c *Drs) GetFailbackReplicationConfigurationRequest(input *GetFailbackRepli // API operation GetFailbackReplicationConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetFailbackReplicationConfiguration func (c *Drs) GetFailbackReplicationConfiguration(input *GetFailbackReplicationConfigurationInput) (*GetFailbackReplicationConfigurationOutput, error) { @@ -1696,14 +1690,13 @@ const opGetLaunchConfiguration = "GetLaunchConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLaunchConfigurationRequest method. +// req, resp := client.GetLaunchConfigurationRequest(params) // -// // Example sending a request using the GetLaunchConfigurationRequest method. -// req, resp := client.GetLaunchConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetLaunchConfiguration func (c *Drs) GetLaunchConfigurationRequest(input *GetLaunchConfigurationInput) (req *request.Request, output *GetLaunchConfigurationOutput) { @@ -1734,18 +1727,19 @@ func (c *Drs) GetLaunchConfigurationRequest(input *GetLaunchConfigurationInput) // API operation GetLaunchConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetLaunchConfiguration func (c *Drs) GetLaunchConfiguration(input *GetLaunchConfigurationInput) (*GetLaunchConfigurationOutput, error) { @@ -1785,14 +1779,13 @@ const opGetReplicationConfiguration = "GetReplicationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReplicationConfigurationRequest method. +// req, resp := client.GetReplicationConfigurationRequest(params) // -// // Example sending a request using the GetReplicationConfigurationRequest method. -// req, resp := client.GetReplicationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetReplicationConfiguration func (c *Drs) GetReplicationConfigurationRequest(input *GetReplicationConfigurationInput) (req *request.Request, output *GetReplicationConfigurationOutput) { @@ -1823,18 +1816,19 @@ func (c *Drs) GetReplicationConfigurationRequest(input *GetReplicationConfigurat // API operation GetReplicationConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/GetReplicationConfiguration func (c *Drs) GetReplicationConfiguration(input *GetReplicationConfigurationInput) (*GetReplicationConfigurationOutput, error) { @@ -1874,14 +1868,13 @@ const opInitializeService = "InitializeService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InitializeServiceRequest method. +// req, resp := client.InitializeServiceRequest(params) // -// // Example sending a request using the InitializeServiceRequest method. -// req, resp := client.InitializeServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/InitializeService func (c *Drs) InitializeServiceRequest(input *InitializeServiceInput) (req *request.Request, output *InitializeServiceOutput) { @@ -1913,18 +1906,19 @@ func (c *Drs) InitializeServiceRequest(input *InitializeServiceInput) (req *requ // API operation InitializeService for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// TYou do not have sufficient access to perform this action. +// - AccessDeniedException +// TYou do not have sufficient access to perform this action. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/InitializeService func (c *Drs) InitializeService(input *InitializeServiceInput) (*InitializeServiceOutput, error) { @@ -1964,14 +1958,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListTagsForResource func (c *Drs) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2002,21 +1995,22 @@ func (c *Drs) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// TYou do not have sufficient access to perform this action. +// - AccessDeniedException +// TYou do not have sufficient access to perform this action. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/ListTagsForResource func (c *Drs) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2056,14 +2050,13 @@ const opRetryDataReplication = "RetryDataReplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RetryDataReplicationRequest method. +// req, resp := client.RetryDataReplicationRequest(params) // -// // Example sending a request using the RetryDataReplicationRequest method. -// req, resp := client.RetryDataReplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RetryDataReplication func (c *Drs) RetryDataReplicationRequest(input *RetryDataReplicationInput) (req *request.Request, output *RetryDataReplicationOutput) { @@ -2097,21 +2090,22 @@ func (c *Drs) RetryDataReplicationRequest(input *RetryDataReplicationInput) (req // API operation RetryDataReplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/RetryDataReplication func (c *Drs) RetryDataReplication(input *RetryDataReplicationInput) (*RetryDataReplicationOutput, error) { @@ -2151,14 +2145,13 @@ const opStartFailbackLaunch = "StartFailbackLaunch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartFailbackLaunchRequest method. +// req, resp := client.StartFailbackLaunchRequest(params) // -// // Example sending a request using the StartFailbackLaunchRequest method. -// req, resp := client.StartFailbackLaunchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartFailbackLaunch func (c *Drs) StartFailbackLaunchRequest(input *StartFailbackLaunchInput) (req *request.Request, output *StartFailbackLaunchOutput) { @@ -2191,25 +2184,26 @@ func (c *Drs) StartFailbackLaunchRequest(input *StartFailbackLaunchInput) (req * // API operation StartFailbackLaunch for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ServiceQuotaExceededException -// The request could not be completed because its exceeded the service quota. +// - ServiceQuotaExceededException +// The request could not be completed because its exceeded the service quota. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartFailbackLaunch func (c *Drs) StartFailbackLaunch(input *StartFailbackLaunchInput) (*StartFailbackLaunchOutput, error) { @@ -2249,14 +2243,13 @@ const opStartRecovery = "StartRecovery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartRecoveryRequest method. +// req, resp := client.StartRecoveryRequest(params) // -// // Example sending a request using the StartRecoveryRequest method. -// req, resp := client.StartRecoveryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartRecovery func (c *Drs) StartRecoveryRequest(input *StartRecoveryInput) (req *request.Request, output *StartRecoveryOutput) { @@ -2289,22 +2282,23 @@ func (c *Drs) StartRecoveryRequest(input *StartRecoveryInput) (req *request.Requ // API operation StartRecovery for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ServiceQuotaExceededException -// The request could not be completed because its exceeded the service quota. +// - ServiceQuotaExceededException +// The request could not be completed because its exceeded the service quota. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StartRecovery func (c *Drs) StartRecovery(input *StartRecoveryInput) (*StartRecoveryOutput, error) { @@ -2344,14 +2338,13 @@ const opStopFailback = "StopFailback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopFailbackRequest method. +// req, resp := client.StopFailbackRequest(params) // -// // Example sending a request using the StopFailbackRequest method. -// req, resp := client.StopFailbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StopFailback func (c *Drs) StopFailbackRequest(input *StopFailbackInput) (req *request.Request, output *StopFailbackOutput) { @@ -2384,18 +2377,19 @@ func (c *Drs) StopFailbackRequest(input *StopFailbackInput) (req *request.Reques // API operation StopFailback for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/StopFailback func (c *Drs) StopFailback(input *StopFailbackInput) (*StopFailbackOutput, error) { @@ -2435,14 +2429,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/TagResource func (c *Drs) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2477,21 +2470,22 @@ func (c *Drs) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// TYou do not have sufficient access to perform this action. +// - AccessDeniedException +// TYou do not have sufficient access to perform this action. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/TagResource func (c *Drs) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2531,14 +2525,13 @@ const opTerminateRecoveryInstances = "TerminateRecoveryInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TerminateRecoveryInstancesRequest method. +// req, resp := client.TerminateRecoveryInstancesRequest(params) // -// // Example sending a request using the TerminateRecoveryInstancesRequest method. -// req, resp := client.TerminateRecoveryInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/TerminateRecoveryInstances func (c *Drs) TerminateRecoveryInstancesRequest(input *TerminateRecoveryInstancesInput) (req *request.Request, output *TerminateRecoveryInstancesOutput) { @@ -2571,22 +2564,23 @@ func (c *Drs) TerminateRecoveryInstancesRequest(input *TerminateRecoveryInstance // API operation TerminateRecoveryInstances for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ServiceQuotaExceededException -// The request could not be completed because its exceeded the service quota. +// - ServiceQuotaExceededException +// The request could not be completed because its exceeded the service quota. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/TerminateRecoveryInstances func (c *Drs) TerminateRecoveryInstances(input *TerminateRecoveryInstancesInput) (*TerminateRecoveryInstancesOutput, error) { @@ -2626,14 +2620,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UntagResource func (c *Drs) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2666,21 +2659,22 @@ func (c *Drs) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// TYou do not have sufficient access to perform this action. +// - AccessDeniedException +// TYou do not have sufficient access to perform this action. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UntagResource func (c *Drs) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2720,14 +2714,13 @@ const opUpdateFailbackReplicationConfiguration = "UpdateFailbackReplicationConfi // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFailbackReplicationConfigurationRequest method. +// req, resp := client.UpdateFailbackReplicationConfigurationRequest(params) // -// // Example sending a request using the UpdateFailbackReplicationConfigurationRequest method. -// req, resp := client.UpdateFailbackReplicationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateFailbackReplicationConfiguration func (c *Drs) UpdateFailbackReplicationConfigurationRequest(input *UpdateFailbackReplicationConfigurationInput) (req *request.Request, output *UpdateFailbackReplicationConfigurationOutput) { @@ -2760,21 +2753,22 @@ func (c *Drs) UpdateFailbackReplicationConfigurationRequest(input *UpdateFailbac // API operation UpdateFailbackReplicationConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// TYou do not have sufficient access to perform this action. +// - AccessDeniedException +// TYou do not have sufficient access to perform this action. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateFailbackReplicationConfiguration func (c *Drs) UpdateFailbackReplicationConfiguration(input *UpdateFailbackReplicationConfigurationInput) (*UpdateFailbackReplicationConfigurationOutput, error) { @@ -2814,14 +2808,13 @@ const opUpdateLaunchConfiguration = "UpdateLaunchConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLaunchConfigurationRequest method. +// req, resp := client.UpdateLaunchConfigurationRequest(params) // -// // Example sending a request using the UpdateLaunchConfigurationRequest method. -// req, resp := client.UpdateLaunchConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateLaunchConfiguration func (c *Drs) UpdateLaunchConfigurationRequest(input *UpdateLaunchConfigurationInput) (req *request.Request, output *UpdateLaunchConfigurationOutput) { @@ -2852,25 +2845,26 @@ func (c *Drs) UpdateLaunchConfigurationRequest(input *UpdateLaunchConfigurationI // API operation UpdateLaunchConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateLaunchConfiguration func (c *Drs) UpdateLaunchConfiguration(input *UpdateLaunchConfigurationInput) (*UpdateLaunchConfigurationOutput, error) { @@ -2910,14 +2904,13 @@ const opUpdateReplicationConfiguration = "UpdateReplicationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateReplicationConfigurationRequest method. +// req, resp := client.UpdateReplicationConfigurationRequest(params) // -// // Example sending a request using the UpdateReplicationConfigurationRequest method. -// req, resp := client.UpdateReplicationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateReplicationConfiguration func (c *Drs) UpdateReplicationConfigurationRequest(input *UpdateReplicationConfigurationInput) (req *request.Request, output *UpdateReplicationConfigurationOutput) { @@ -2948,28 +2941,29 @@ func (c *Drs) UpdateReplicationConfigurationRequest(input *UpdateReplicationConf // API operation UpdateReplicationConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// TYou do not have sufficient access to perform this action. +// - AccessDeniedException +// TYou do not have sufficient access to perform this action. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateReplicationConfiguration func (c *Drs) UpdateReplicationConfiguration(input *UpdateReplicationConfigurationInput) (*UpdateReplicationConfigurationOutput, error) { @@ -3009,14 +3003,13 @@ const opUpdateReplicationConfigurationTemplate = "UpdateReplicationConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateReplicationConfigurationTemplateRequest method. +// req, resp := client.UpdateReplicationConfigurationTemplateRequest(params) // -// // Example sending a request using the UpdateReplicationConfigurationTemplateRequest method. -// req, resp := client.UpdateReplicationConfigurationTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateReplicationConfigurationTemplate func (c *Drs) UpdateReplicationConfigurationTemplateRequest(input *UpdateReplicationConfigurationTemplateInput) (req *request.Request, output *UpdateReplicationConfigurationTemplateOutput) { @@ -3047,24 +3040,25 @@ func (c *Drs) UpdateReplicationConfigurationTemplateRequest(input *UpdateReplica // API operation UpdateReplicationConfigurationTemplate for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource for this operation was not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// The resource for this operation was not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// TYou do not have sufficient access to perform this action. +// - AccessDeniedException +// TYou do not have sufficient access to perform this action. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. // -// * UninitializedAccountException -// The account performing the request has not been initialized. +// - UninitializedAccountException +// The account performing the request has not been initialized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/drs-2020-02-26/UpdateReplicationConfigurationTemplate func (c *Drs) UpdateReplicationConfigurationTemplate(input *UpdateReplicationConfigurationTemplateInput) (*UpdateReplicationConfigurationTemplateOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/doc.go index f26b2e74b361..dee01ebe73da 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/doc.go @@ -10,7 +10,7 @@ // See drs package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/drs/ // -// Using the Client +// # Using the Client // // To contact Elastic Disaster Recovery Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/drsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/drsiface/interface.go index cdcada573d86..f3494e3d26ef 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/drsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/drsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Elastic Disaster Recovery Service. -// func myFunc(svc drsiface.DrsAPI) bool { -// // Make svc.CreateReplicationConfigurationTemplate request -// } +// // myFunc uses an SDK service client to make a request to +// // Elastic Disaster Recovery Service. +// func myFunc(svc drsiface.DrsAPI) bool { +// // Make svc.CreateReplicationConfigurationTemplate request +// } // -// func main() { -// sess := session.New() -// svc := drs.New(sess) +// func main() { +// sess := session.New() +// svc := drs.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockDrsClient struct { -// drsiface.DrsAPI -// } -// func (m *mockDrsClient) CreateReplicationConfigurationTemplate(input *drs.CreateReplicationConfigurationTemplateInput) (*drs.CreateReplicationConfigurationTemplateOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockDrsClient struct { +// drsiface.DrsAPI +// } +// func (m *mockDrsClient) CreateReplicationConfigurationTemplate(input *drs.CreateReplicationConfigurationTemplateInput) (*drs.CreateReplicationConfigurationTemplateOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockDrsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockDrsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/service.go index 4c2b778980b1..e5841464a12e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/drs/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Drs client from just a session. -// svc := drs.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Drs client with additional configuration -// svc := drs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Drs client from just a session. +// svc := drs.New(mySession) +// +// // Create a Drs client with additional configuration +// svc := drs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Drs { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/api.go index 86caaa9ce287..07f99157ed57 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/api.go @@ -32,14 +32,13 @@ const opBatchExecuteStatement = "BatchExecuteStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchExecuteStatementRequest method. +// req, resp := client.BatchExecuteStatementRequest(params) // -// // Example sending a request using the BatchExecuteStatementRequest method. -// req, resp := client.BatchExecuteStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchExecuteStatement func (c *DynamoDB) BatchExecuteStatementRequest(input *BatchExecuteStatementInput) (req *request.Request, output *BatchExecuteStatementOutput) { @@ -74,13 +73,14 @@ func (c *DynamoDB) BatchExecuteStatementRequest(input *BatchExecuteStatementInpu // API operation BatchExecuteStatement for usage and error information. // // Returned Error Types: -// * RequestLimitExceeded -// Throughput exceeds the current throughput quota for your account. Please -// contact Amazon Web Services Support (https://aws.amazon.com/support) to request -// a quota increase. // -// * InternalServerError -// An error occurred on the server side. +// - RequestLimitExceeded +// Throughput exceeds the current throughput quota for your account. Please +// contact Amazon Web Services Support (https://aws.amazon.com/support) to request +// a quota increase. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchExecuteStatement func (c *DynamoDB) BatchExecuteStatement(input *BatchExecuteStatementInput) (*BatchExecuteStatementOutput, error) { @@ -120,14 +120,13 @@ const opBatchGetItem = "BatchGetItem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetItemRequest method. +// req, resp := client.BatchGetItemRequest(params) // -// // Example sending a request using the BatchGetItemRequest method. -// req, resp := client.BatchGetItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItem func (c *DynamoDB) BatchGetItemRequest(input *BatchGetItemInput) (req *request.Request, output *BatchGetItemOutput) { @@ -237,25 +236,26 @@ func (c *DynamoDB) BatchGetItemRequest(input *BatchGetItemInput) (req *request.R // API operation BatchGetItem for usage and error information. // // Returned Error Types: -// * ProvisionedThroughputExceededException -// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB -// automatically retry requests that receive this exception. Your request is -// eventually successful, unless your retry queue is too large to finish. Reduce -// the frequency of requests and use exponential backoff. For more information, -// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) -// in the Amazon DynamoDB Developer Guide. -// -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. -// -// * RequestLimitExceeded -// Throughput exceeds the current throughput quota for your account. Please -// contact Amazon Web Services Support (https://aws.amazon.com/support) to request -// a quota increase. -// -// * InternalServerError -// An error occurred on the server side. +// +// - ProvisionedThroughputExceededException +// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB +// automatically retry requests that receive this exception. Your request is +// eventually successful, unless your retry queue is too large to finish. Reduce +// the frequency of requests and use exponential backoff. For more information, +// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) +// in the Amazon DynamoDB Developer Guide. +// +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - RequestLimitExceeded +// Throughput exceeds the current throughput quota for your account. Please +// contact Amazon Web Services Support (https://aws.amazon.com/support) to request +// a quota increase. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchGetItem func (c *DynamoDB) BatchGetItem(input *BatchGetItemInput) (*BatchGetItemOutput, error) { @@ -287,15 +287,14 @@ func (c *DynamoDB) BatchGetItemWithContext(ctx aws.Context, input *BatchGetItemI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a BatchGetItem operation. -// pageNum := 0 -// err := client.BatchGetItemPages(params, -// func(page *dynamodb.BatchGetItemOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a BatchGetItem operation. +// pageNum := 0 +// err := client.BatchGetItemPages(params, +// func(page *dynamodb.BatchGetItemOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DynamoDB) BatchGetItemPages(input *BatchGetItemInput, fn func(*BatchGetItemOutput, bool) bool) error { return c.BatchGetItemPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -347,14 +346,13 @@ const opBatchWriteItem = "BatchWriteItem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchWriteItemRequest method. +// req, resp := client.BatchWriteItemRequest(params) // -// // Example sending a request using the BatchWriteItemRequest method. -// req, resp := client.BatchWriteItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItem func (c *DynamoDB) BatchWriteItemRequest(input *BatchWriteItemInput) (req *request.Request, output *BatchWriteItemOutput) { @@ -455,24 +453,24 @@ func (c *DynamoDB) BatchWriteItemRequest(input *BatchWriteItemInput) (req *reque // If one or more of the following is true, DynamoDB rejects the entire batch // write operation: // -// * One or more tables specified in the BatchWriteItem request does not -// exist. +// - One or more tables specified in the BatchWriteItem request does not +// exist. // -// * Primary key attributes specified on an item in the request do not match -// those in the corresponding table's primary key schema. +// - Primary key attributes specified on an item in the request do not match +// those in the corresponding table's primary key schema. // -// * You try to perform multiple operations on the same item in the same -// BatchWriteItem request. For example, you cannot put and delete the same -// item in the same BatchWriteItem request. +// - You try to perform multiple operations on the same item in the same +// BatchWriteItem request. For example, you cannot put and delete the same +// item in the same BatchWriteItem request. // -// * Your request contains at least two items with identical hash and range -// keys (which essentially is two put operations). +// - Your request contains at least two items with identical hash and range +// keys (which essentially is two put operations). // -// * There are more than 25 requests in the batch. +// - There are more than 25 requests in the batch. // -// * Any individual item in a batch exceeds 400 KB. +// - Any individual item in a batch exceeds 400 KB. // -// * The total request size exceeds 16 MB. +// - The total request size exceeds 16 MB. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -482,29 +480,30 @@ func (c *DynamoDB) BatchWriteItemRequest(input *BatchWriteItemInput) (req *reque // API operation BatchWriteItem for usage and error information. // // Returned Error Types: -// * ProvisionedThroughputExceededException -// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB -// automatically retry requests that receive this exception. Your request is -// eventually successful, unless your retry queue is too large to finish. Reduce -// the frequency of requests and use exponential backoff. For more information, -// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) -// in the Amazon DynamoDB Developer Guide. -// -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. -// -// * ItemCollectionSizeLimitExceededException -// An item collection is too large. This exception is only returned for tables -// that have one or more local secondary indexes. -// -// * RequestLimitExceeded -// Throughput exceeds the current throughput quota for your account. Please -// contact Amazon Web Services Support (https://aws.amazon.com/support) to request -// a quota increase. -// -// * InternalServerError -// An error occurred on the server side. +// +// - ProvisionedThroughputExceededException +// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB +// automatically retry requests that receive this exception. Your request is +// eventually successful, unless your retry queue is too large to finish. Reduce +// the frequency of requests and use exponential backoff. For more information, +// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) +// in the Amazon DynamoDB Developer Guide. +// +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - ItemCollectionSizeLimitExceededException +// An item collection is too large. This exception is only returned for tables +// that have one or more local secondary indexes. +// +// - RequestLimitExceeded +// Throughput exceeds the current throughput quota for your account. Please +// contact Amazon Web Services Support (https://aws.amazon.com/support) to request +// a quota increase. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/BatchWriteItem func (c *DynamoDB) BatchWriteItem(input *BatchWriteItemInput) (*BatchWriteItemOutput, error) { @@ -544,14 +543,13 @@ const opCreateBackup = "CreateBackup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBackupRequest method. +// req, resp := client.CreateBackupRequest(params) // -// // Example sending a request using the CreateBackupRequest method. -// req, resp := client.CreateBackupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateBackup func (c *DynamoDB) CreateBackupRequest(input *CreateBackupInput) (req *request.Request, output *CreateBackupOutput) { @@ -619,13 +617,13 @@ func (c *DynamoDB) CreateBackupRequest(input *CreateBackupInput) (req *request.R // // Along with data, the following are also included on the backups: // -// * Global secondary indexes (GSIs) +// - Global secondary indexes (GSIs) // -// * Local secondary indexes (LSIs) +// - Local secondary indexes (LSIs) // -// * Streams +// - Streams // -// * Provisioned read and write capacity +// - Provisioned read and write capacity // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -635,36 +633,37 @@ func (c *DynamoDB) CreateBackupRequest(input *CreateBackupInput) (req *request.R // API operation CreateBackup for usage and error information. // // Returned Error Types: -// * TableNotFoundException -// A source table with the name TableName does not currently exist within the -// subscriber's account. // -// * TableInUseException -// A target table with the specified name is either being created or deleted. +// - TableNotFoundException +// A source table with the name TableName does not currently exist within the +// subscriber's account. +// +// - TableInUseException +// A target table with the specified name is either being created or deleted. // -// * ContinuousBackupsUnavailableException -// Backups have not yet been enabled for this table. +// - ContinuousBackupsUnavailableException +// Backups have not yet been enabled for this table. // -// * BackupInUseException -// There is another ongoing conflicting backup control plane operation on the -// table. The backup is either being created, deleted or restored to a table. +// - BackupInUseException +// There is another ongoing conflicting backup control plane operation on the +// table. The backup is either being created, deleted or restored to a table. // -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// There is a soft account quota of 256 tables. +// There is a soft account quota of 256 tables. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateBackup func (c *DynamoDB) CreateBackup(input *CreateBackupInput) (*CreateBackupOutput, error) { @@ -704,14 +703,13 @@ const opCreateGlobalTable = "CreateGlobalTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGlobalTableRequest method. +// req, resp := client.CreateGlobalTableRequest(params) // -// // Example sending a request using the CreateGlobalTableRequest method. -// req, resp := client.CreateGlobalTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalTable func (c *DynamoDB) CreateGlobalTableRequest(input *CreateGlobalTableInput) (req *request.Request, output *CreateGlobalTableOutput) { @@ -767,30 +765,30 @@ func (c *DynamoDB) CreateGlobalTableRequest(input *CreateGlobalTableInput) (req // If you want to add a new replica table to a global table, each of the following // conditions must be true: // -// * The table must have the same primary key as all of the other replicas. +// - The table must have the same primary key as all of the other replicas. // -// * The table must have the same name as all of the other replicas. +// - The table must have the same name as all of the other replicas. // -// * The table must have DynamoDB Streams enabled, with the stream containing -// both the new and the old images of the item. +// - The table must have DynamoDB Streams enabled, with the stream containing +// both the new and the old images of the item. // -// * None of the replica tables in the global table can contain any data. +// - None of the replica tables in the global table can contain any data. // // If global secondary indexes are specified, then the following conditions // must also be met: // -// * The global secondary indexes must have the same name. +// - The global secondary indexes must have the same name. // -// * The global secondary indexes must have the same hash key and sort key -// (if present). +// - The global secondary indexes must have the same hash key and sort key +// (if present). // // If local secondary indexes are specified, then the following conditions must // also be met: // -// * The local secondary indexes must have the same name. +// - The local secondary indexes must have the same name. // -// * The local secondary indexes must have the same hash key and sort key -// (if present). +// - The local secondary indexes must have the same hash key and sort key +// (if present). // // Write capacity settings should be set consistently across your replica tables // and secondary indexes. DynamoDB strongly recommends enabling auto scaling @@ -810,29 +808,30 @@ func (c *DynamoDB) CreateGlobalTableRequest(input *CreateGlobalTableInput) (req // API operation CreateGlobalTable for usage and error information. // // Returned Error Types: -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. +// +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// There is a soft account quota of 256 tables. +// There is a soft account quota of 256 tables. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // -// * GlobalTableAlreadyExistsException -// The specified global table already exists. +// - GlobalTableAlreadyExistsException +// The specified global table already exists. // -// * TableNotFoundException -// A source table with the name TableName does not currently exist within the -// subscriber's account. +// - TableNotFoundException +// A source table with the name TableName does not currently exist within the +// subscriber's account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateGlobalTable func (c *DynamoDB) CreateGlobalTable(input *CreateGlobalTableInput) (*CreateGlobalTableOutput, error) { @@ -872,14 +871,13 @@ const opCreateTable = "CreateTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTableRequest method. +// req, resp := client.CreateTableRequest(params) // -// // Example sending a request using the CreateTableRequest method. -// req, resp := client.CreateTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable func (c *DynamoDB) CreateTableRequest(input *CreateTableInput) (req *request.Request, output *CreateTableOutput) { @@ -950,27 +948,28 @@ func (c *DynamoDB) CreateTableRequest(input *CreateTableInput) (req *request.Req // API operation CreateTable for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The operation conflicts with the resource's availability. For example, you -// attempted to recreate an existing table, or tried to delete a table currently -// in the CREATING state. // -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. +// - ResourceInUseException +// The operation conflicts with the resource's availability. For example, you +// attempted to recreate an existing table, or tried to delete a table currently +// in the CREATING state. +// +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// There is a soft account quota of 256 tables. +// There is a soft account quota of 256 tables. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/CreateTable func (c *DynamoDB) CreateTable(input *CreateTableInput) (*CreateTableOutput, error) { @@ -1010,14 +1009,13 @@ const opDeleteBackup = "DeleteBackup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBackupRequest method. +// req, resp := client.DeleteBackupRequest(params) // -// // Example sending a request using the DeleteBackupRequest method. -// req, resp := client.DeleteBackupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteBackup func (c *DynamoDB) DeleteBackupRequest(input *DeleteBackupInput) (req *request.Request, output *DeleteBackupOutput) { @@ -1075,29 +1073,30 @@ func (c *DynamoDB) DeleteBackupRequest(input *DeleteBackupInput) (req *request.R // API operation DeleteBackup for usage and error information. // // Returned Error Types: -// * BackupNotFoundException -// Backup not found for the given BackupARN. // -// * BackupInUseException -// There is another ongoing conflicting backup control plane operation on the -// table. The backup is either being created, deleted or restored to a table. +// - BackupNotFoundException +// Backup not found for the given BackupARN. +// +// - BackupInUseException +// There is another ongoing conflicting backup control plane operation on the +// table. The backup is either being created, deleted or restored to a table. // -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// There is a soft account quota of 256 tables. +// There is a soft account quota of 256 tables. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteBackup func (c *DynamoDB) DeleteBackup(input *DeleteBackupInput) (*DeleteBackupOutput, error) { @@ -1137,14 +1136,13 @@ const opDeleteItem = "DeleteItem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteItemRequest method. +// req, resp := client.DeleteItemRequest(params) // -// // Example sending a request using the DeleteItemRequest method. -// req, resp := client.DeleteItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItem func (c *DynamoDB) DeleteItemRequest(input *DeleteItemInput) (req *request.Request, output *DeleteItemOutput) { @@ -1213,35 +1211,36 @@ func (c *DynamoDB) DeleteItemRequest(input *DeleteItemInput) (req *request.Reque // API operation DeleteItem for usage and error information. // // Returned Error Types: -// * ConditionalCheckFailedException -// A condition specified in the operation could not be evaluated. // -// * ProvisionedThroughputExceededException -// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB -// automatically retry requests that receive this exception. Your request is -// eventually successful, unless your retry queue is too large to finish. Reduce -// the frequency of requests and use exponential backoff. For more information, -// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) -// in the Amazon DynamoDB Developer Guide. +// - ConditionalCheckFailedException +// A condition specified in the operation could not be evaluated. +// +// - ProvisionedThroughputExceededException +// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB +// automatically retry requests that receive this exception. Your request is +// eventually successful, unless your retry queue is too large to finish. Reduce +// the frequency of requests and use exponential backoff. For more information, +// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) +// in the Amazon DynamoDB Developer Guide. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. // -// * ItemCollectionSizeLimitExceededException -// An item collection is too large. This exception is only returned for tables -// that have one or more local secondary indexes. +// - ItemCollectionSizeLimitExceededException +// An item collection is too large. This exception is only returned for tables +// that have one or more local secondary indexes. // -// * TransactionConflictException -// Operation was rejected because there is an ongoing transaction for the item. +// - TransactionConflictException +// Operation was rejected because there is an ongoing transaction for the item. // -// * RequestLimitExceeded -// Throughput exceeds the current throughput quota for your account. Please -// contact Amazon Web Services Support (https://aws.amazon.com/support) to request -// a quota increase. +// - RequestLimitExceeded +// Throughput exceeds the current throughput quota for your account. Please +// contact Amazon Web Services Support (https://aws.amazon.com/support) to request +// a quota increase. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteItem func (c *DynamoDB) DeleteItem(input *DeleteItemInput) (*DeleteItemOutput, error) { @@ -1281,14 +1280,13 @@ const opDeleteTable = "DeleteTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTableRequest method. +// req, resp := client.DeleteTableRequest(params) // -// // Example sending a request using the DeleteTableRequest method. -// req, resp := client.DeleteTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable func (c *DynamoDB) DeleteTableRequest(input *DeleteTableInput) (req *request.Request, output *DeleteTableOutput) { @@ -1361,31 +1359,32 @@ func (c *DynamoDB) DeleteTableRequest(input *DeleteTableInput) (req *request.Req // API operation DeleteTable for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The operation conflicts with the resource's availability. For example, you -// attempted to recreate an existing table, or tried to delete a table currently -// in the CREATING state. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. +// - ResourceInUseException +// The operation conflicts with the resource's availability. For example, you +// attempted to recreate an existing table, or tried to delete a table currently +// in the CREATING state. +// +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. // -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// There is a soft account quota of 256 tables. +// There is a soft account quota of 256 tables. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DeleteTable func (c *DynamoDB) DeleteTable(input *DeleteTableInput) (*DeleteTableOutput, error) { @@ -1425,14 +1424,13 @@ const opDescribeBackup = "DescribeBackup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBackupRequest method. +// req, resp := client.DescribeBackupRequest(params) // -// // Example sending a request using the DescribeBackupRequest method. -// req, resp := client.DescribeBackupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeBackup func (c *DynamoDB) DescribeBackupRequest(input *DescribeBackupInput) (req *request.Request, output *DescribeBackupOutput) { @@ -1490,11 +1488,12 @@ func (c *DynamoDB) DescribeBackupRequest(input *DescribeBackupInput) (req *reque // API operation DescribeBackup for usage and error information. // // Returned Error Types: -// * BackupNotFoundException -// Backup not found for the given BackupARN. // -// * InternalServerError -// An error occurred on the server side. +// - BackupNotFoundException +// Backup not found for the given BackupARN. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeBackup func (c *DynamoDB) DescribeBackup(input *DescribeBackupInput) (*DescribeBackupOutput, error) { @@ -1534,14 +1533,13 @@ const opDescribeContinuousBackups = "DescribeContinuousBackups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeContinuousBackupsRequest method. +// req, resp := client.DescribeContinuousBackupsRequest(params) // -// // Example sending a request using the DescribeContinuousBackupsRequest method. -// req, resp := client.DescribeContinuousBackupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContinuousBackups func (c *DynamoDB) DescribeContinuousBackupsRequest(input *DescribeContinuousBackupsInput) (req *request.Request, output *DescribeContinuousBackupsOutput) { @@ -1609,12 +1607,13 @@ func (c *DynamoDB) DescribeContinuousBackupsRequest(input *DescribeContinuousBac // API operation DescribeContinuousBackups for usage and error information. // // Returned Error Types: -// * TableNotFoundException -// A source table with the name TableName does not currently exist within the -// subscriber's account. // -// * InternalServerError -// An error occurred on the server side. +// - TableNotFoundException +// A source table with the name TableName does not currently exist within the +// subscriber's account. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContinuousBackups func (c *DynamoDB) DescribeContinuousBackups(input *DescribeContinuousBackupsInput) (*DescribeContinuousBackupsOutput, error) { @@ -1654,14 +1653,13 @@ const opDescribeContributorInsights = "DescribeContributorInsights" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeContributorInsightsRequest method. +// req, resp := client.DescribeContributorInsightsRequest(params) // -// // Example sending a request using the DescribeContributorInsightsRequest method. -// req, resp := client.DescribeContributorInsightsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContributorInsights func (c *DynamoDB) DescribeContributorInsightsRequest(input *DescribeContributorInsightsInput) (req *request.Request, output *DescribeContributorInsightsOutput) { @@ -1693,12 +1691,13 @@ func (c *DynamoDB) DescribeContributorInsightsRequest(input *DescribeContributor // API operation DescribeContributorInsights for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. // -// * InternalServerError -// An error occurred on the server side. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeContributorInsights func (c *DynamoDB) DescribeContributorInsights(input *DescribeContributorInsightsInput) (*DescribeContributorInsightsOutput, error) { @@ -1738,14 +1737,13 @@ const opDescribeEndpoints = "DescribeEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointsRequest method. +// req, resp := client.DescribeEndpointsRequest(params) // -// // Example sending a request using the DescribeEndpointsRequest method. -// req, resp := client.DescribeEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeEndpoints func (c *DynamoDB) DescribeEndpointsRequest(input *DescribeEndpointsInput) (req *request.Request, output *DescribeEndpointsOutput) { @@ -1884,14 +1882,13 @@ const opDescribeExport = "DescribeExport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExportRequest method. +// req, resp := client.DescribeExportRequest(params) // -// // Example sending a request using the DescribeExportRequest method. -// req, resp := client.DescribeExportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeExport func (c *DynamoDB) DescribeExportRequest(input *DescribeExportInput) (req *request.Request, output *DescribeExportOutput) { @@ -1922,25 +1919,26 @@ func (c *DynamoDB) DescribeExportRequest(input *DescribeExportInput) (req *reque // API operation DescribeExport for usage and error information. // // Returned Error Types: -// * ExportNotFoundException -// The specified export was not found. // -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. +// - ExportNotFoundException +// The specified export was not found. +// +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// There is a soft account quota of 256 tables. +// There is a soft account quota of 256 tables. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeExport func (c *DynamoDB) DescribeExport(input *DescribeExportInput) (*DescribeExportOutput, error) { @@ -1980,14 +1978,13 @@ const opDescribeGlobalTable = "DescribeGlobalTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGlobalTableRequest method. +// req, resp := client.DescribeGlobalTableRequest(params) // -// // Example sending a request using the DescribeGlobalTableRequest method. -// req, resp := client.DescribeGlobalTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeGlobalTable func (c *DynamoDB) DescribeGlobalTableRequest(input *DescribeGlobalTableInput) (req *request.Request, output *DescribeGlobalTableOutput) { @@ -2048,11 +2045,12 @@ func (c *DynamoDB) DescribeGlobalTableRequest(input *DescribeGlobalTableInput) ( // API operation DescribeGlobalTable for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * GlobalTableNotFoundException -// The specified global table does not exist. +// - InternalServerError +// An error occurred on the server side. +// +// - GlobalTableNotFoundException +// The specified global table does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeGlobalTable func (c *DynamoDB) DescribeGlobalTable(input *DescribeGlobalTableInput) (*DescribeGlobalTableOutput, error) { @@ -2092,14 +2090,13 @@ const opDescribeGlobalTableSettings = "DescribeGlobalTableSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGlobalTableSettingsRequest method. +// req, resp := client.DescribeGlobalTableSettingsRequest(params) // -// // Example sending a request using the DescribeGlobalTableSettingsRequest method. -// req, resp := client.DescribeGlobalTableSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeGlobalTableSettings func (c *DynamoDB) DescribeGlobalTableSettingsRequest(input *DescribeGlobalTableSettingsInput) (req *request.Request, output *DescribeGlobalTableSettingsOutput) { @@ -2158,11 +2155,12 @@ func (c *DynamoDB) DescribeGlobalTableSettingsRequest(input *DescribeGlobalTable // API operation DescribeGlobalTableSettings for usage and error information. // // Returned Error Types: -// * GlobalTableNotFoundException -// The specified global table does not exist. // -// * InternalServerError -// An error occurred on the server side. +// - GlobalTableNotFoundException +// The specified global table does not exist. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeGlobalTableSettings func (c *DynamoDB) DescribeGlobalTableSettings(input *DescribeGlobalTableSettingsInput) (*DescribeGlobalTableSettingsOutput, error) { @@ -2202,14 +2200,13 @@ const opDescribeKinesisStreamingDestination = "DescribeKinesisStreamingDestinati // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeKinesisStreamingDestinationRequest method. +// req, resp := client.DescribeKinesisStreamingDestinationRequest(params) // -// // Example sending a request using the DescribeKinesisStreamingDestinationRequest method. -// req, resp := client.DescribeKinesisStreamingDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeKinesisStreamingDestination func (c *DynamoDB) DescribeKinesisStreamingDestinationRequest(input *DescribeKinesisStreamingDestinationInput) (req *request.Request, output *DescribeKinesisStreamingDestinationOutput) { @@ -2265,12 +2262,13 @@ func (c *DynamoDB) DescribeKinesisStreamingDestinationRequest(input *DescribeKin // API operation DescribeKinesisStreamingDestination for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. // -// * InternalServerError -// An error occurred on the server side. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeKinesisStreamingDestination func (c *DynamoDB) DescribeKinesisStreamingDestination(input *DescribeKinesisStreamingDestinationInput) (*DescribeKinesisStreamingDestinationOutput, error) { @@ -2310,14 +2308,13 @@ const opDescribeLimits = "DescribeLimits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLimitsRequest method. +// req, resp := client.DescribeLimitsRequest(params) // -// // Example sending a request using the DescribeLimitsRequest method. -// req, resp := client.DescribeLimitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimits func (c *DynamoDB) DescribeLimitsRequest(input *DescribeLimitsInput) (req *request.Request, output *DescribeLimitsOutput) { @@ -2395,14 +2392,14 @@ func (c *DynamoDB) DescribeLimitsRequest(input *DescribeLimitsInput) (req *reque // // For each table name listed by ListTables, do the following: // -// * Call DescribeTable with the table name. +// - Call DescribeTable with the table name. // -// * Use the data returned by DescribeTable to add the read capacity units -// and write capacity units provisioned for the table itself to your variables. +// - Use the data returned by DescribeTable to add the read capacity units +// and write capacity units provisioned for the table itself to your variables. // -// * If the table has one or more global secondary indexes (GSIs), loop over -// these GSIs and add their provisioned capacity values to your variables -// as well. +// - If the table has one or more global secondary indexes (GSIs), loop over +// these GSIs and add their provisioned capacity values to your variables +// as well. // // Report the account quotas for that Region returned by DescribeLimits, along // with the total current provisioned capacity levels you have calculated. @@ -2432,8 +2429,8 @@ func (c *DynamoDB) DescribeLimitsRequest(input *DescribeLimitsInput) (req *reque // API operation DescribeLimits for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeLimits func (c *DynamoDB) DescribeLimits(input *DescribeLimitsInput) (*DescribeLimitsOutput, error) { @@ -2473,14 +2470,13 @@ const opDescribeTable = "DescribeTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTableRequest method. +// req, resp := client.DescribeTableRequest(params) // -// // Example sending a request using the DescribeTableRequest method. -// req, resp := client.DescribeTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTable func (c *DynamoDB) DescribeTableRequest(input *DescribeTableInput) (req *request.Request, output *DescribeTableOutput) { @@ -2544,12 +2540,13 @@ func (c *DynamoDB) DescribeTableRequest(input *DescribeTableInput) (req *request // API operation DescribeTable for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. // -// * InternalServerError -// An error occurred on the server side. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTable func (c *DynamoDB) DescribeTable(input *DescribeTableInput) (*DescribeTableOutput, error) { @@ -2589,14 +2586,13 @@ const opDescribeTableReplicaAutoScaling = "DescribeTableReplicaAutoScaling" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTableReplicaAutoScalingRequest method. +// req, resp := client.DescribeTableReplicaAutoScalingRequest(params) // -// // Example sending a request using the DescribeTableReplicaAutoScalingRequest method. -// req, resp := client.DescribeTableReplicaAutoScalingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableReplicaAutoScaling func (c *DynamoDB) DescribeTableReplicaAutoScalingRequest(input *DescribeTableReplicaAutoScalingInput) (req *request.Request, output *DescribeTableReplicaAutoScalingOutput) { @@ -2630,12 +2626,13 @@ func (c *DynamoDB) DescribeTableReplicaAutoScalingRequest(input *DescribeTableRe // API operation DescribeTableReplicaAutoScaling for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. // -// * InternalServerError -// An error occurred on the server side. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTableReplicaAutoScaling func (c *DynamoDB) DescribeTableReplicaAutoScaling(input *DescribeTableReplicaAutoScalingInput) (*DescribeTableReplicaAutoScalingOutput, error) { @@ -2675,14 +2672,13 @@ const opDescribeTimeToLive = "DescribeTimeToLive" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTimeToLiveRequest method. +// req, resp := client.DescribeTimeToLiveRequest(params) // -// // Example sending a request using the DescribeTimeToLiveRequest method. -// req, resp := client.DescribeTimeToLiveRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLive func (c *DynamoDB) DescribeTimeToLiveRequest(input *DescribeTimeToLiveInput) (req *request.Request, output *DescribeTimeToLiveOutput) { @@ -2738,12 +2734,13 @@ func (c *DynamoDB) DescribeTimeToLiveRequest(input *DescribeTimeToLiveInput) (re // API operation DescribeTimeToLive for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. // -// * InternalServerError -// An error occurred on the server side. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DescribeTimeToLive func (c *DynamoDB) DescribeTimeToLive(input *DescribeTimeToLiveInput) (*DescribeTimeToLiveOutput, error) { @@ -2783,14 +2780,13 @@ const opDisableKinesisStreamingDestination = "DisableKinesisStreamingDestination // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableKinesisStreamingDestinationRequest method. +// req, resp := client.DisableKinesisStreamingDestinationRequest(params) // -// // Example sending a request using the DisableKinesisStreamingDestinationRequest method. -// req, resp := client.DisableKinesisStreamingDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DisableKinesisStreamingDestination func (c *DynamoDB) DisableKinesisStreamingDestinationRequest(input *DisableKinesisStreamingDestinationInput) (req *request.Request, output *DisableKinesisStreamingDestinationOutput) { @@ -2847,31 +2843,32 @@ func (c *DynamoDB) DisableKinesisStreamingDestinationRequest(input *DisableKines // API operation DisableKinesisStreamingDestination for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. +// - InternalServerError +// An error occurred on the server side. +// +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// There is a soft account quota of 256 tables. +// There is a soft account quota of 256 tables. // -// * ResourceInUseException -// The operation conflicts with the resource's availability. For example, you -// attempted to recreate an existing table, or tried to delete a table currently -// in the CREATING state. +// - ResourceInUseException +// The operation conflicts with the resource's availability. For example, you +// attempted to recreate an existing table, or tried to delete a table currently +// in the CREATING state. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/DisableKinesisStreamingDestination func (c *DynamoDB) DisableKinesisStreamingDestination(input *DisableKinesisStreamingDestinationInput) (*DisableKinesisStreamingDestinationOutput, error) { @@ -2911,14 +2908,13 @@ const opEnableKinesisStreamingDestination = "EnableKinesisStreamingDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableKinesisStreamingDestinationRequest method. +// req, resp := client.EnableKinesisStreamingDestinationRequest(params) // -// // Example sending a request using the EnableKinesisStreamingDestinationRequest method. -// req, resp := client.EnableKinesisStreamingDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/EnableKinesisStreamingDestination func (c *DynamoDB) EnableKinesisStreamingDestinationRequest(input *EnableKinesisStreamingDestinationInput) (req *request.Request, output *EnableKinesisStreamingDestinationOutput) { @@ -2977,31 +2973,32 @@ func (c *DynamoDB) EnableKinesisStreamingDestinationRequest(input *EnableKinesis // API operation EnableKinesisStreamingDestination for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. +// - InternalServerError +// An error occurred on the server side. +// +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// There is a soft account quota of 256 tables. +// There is a soft account quota of 256 tables. // -// * ResourceInUseException -// The operation conflicts with the resource's availability. For example, you -// attempted to recreate an existing table, or tried to delete a table currently -// in the CREATING state. +// - ResourceInUseException +// The operation conflicts with the resource's availability. For example, you +// attempted to recreate an existing table, or tried to delete a table currently +// in the CREATING state. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/EnableKinesisStreamingDestination func (c *DynamoDB) EnableKinesisStreamingDestination(input *EnableKinesisStreamingDestinationInput) (*EnableKinesisStreamingDestinationOutput, error) { @@ -3041,14 +3038,13 @@ const opExecuteStatement = "ExecuteStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExecuteStatementRequest method. +// req, resp := client.ExecuteStatementRequest(params) // -// // Example sending a request using the ExecuteStatementRequest method. -// req, resp := client.ExecuteStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatement func (c *DynamoDB) ExecuteStatementRequest(input *ExecuteStatementInput) (req *request.Request, output *ExecuteStatementOutput) { @@ -3091,39 +3087,40 @@ func (c *DynamoDB) ExecuteStatementRequest(input *ExecuteStatementInput) (req *r // API operation ExecuteStatement for usage and error information. // // Returned Error Types: -// * ConditionalCheckFailedException -// A condition specified in the operation could not be evaluated. // -// * ProvisionedThroughputExceededException -// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB -// automatically retry requests that receive this exception. Your request is -// eventually successful, unless your retry queue is too large to finish. Reduce -// the frequency of requests and use exponential backoff. For more information, -// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) -// in the Amazon DynamoDB Developer Guide. +// - ConditionalCheckFailedException +// A condition specified in the operation could not be evaluated. +// +// - ProvisionedThroughputExceededException +// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB +// automatically retry requests that receive this exception. Your request is +// eventually successful, unless your retry queue is too large to finish. Reduce +// the frequency of requests and use exponential backoff. For more information, +// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) +// in the Amazon DynamoDB Developer Guide. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. // -// * ItemCollectionSizeLimitExceededException -// An item collection is too large. This exception is only returned for tables -// that have one or more local secondary indexes. +// - ItemCollectionSizeLimitExceededException +// An item collection is too large. This exception is only returned for tables +// that have one or more local secondary indexes. // -// * TransactionConflictException -// Operation was rejected because there is an ongoing transaction for the item. +// - TransactionConflictException +// Operation was rejected because there is an ongoing transaction for the item. // -// * RequestLimitExceeded -// Throughput exceeds the current throughput quota for your account. Please -// contact Amazon Web Services Support (https://aws.amazon.com/support) to request -// a quota increase. +// - RequestLimitExceeded +// Throughput exceeds the current throughput quota for your account. Please +// contact Amazon Web Services Support (https://aws.amazon.com/support) to request +// a quota increase. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // -// * DuplicateItemException -// There was an attempt to insert an item with the same primary key as an item -// that already exists in the DynamoDB table. +// - DuplicateItemException +// There was an attempt to insert an item with the same primary key as an item +// that already exists in the DynamoDB table. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteStatement func (c *DynamoDB) ExecuteStatement(input *ExecuteStatementInput) (*ExecuteStatementOutput, error) { @@ -3163,14 +3160,13 @@ const opExecuteTransaction = "ExecuteTransaction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExecuteTransactionRequest method. +// req, resp := client.ExecuteTransactionRequest(params) // -// // Example sending a request using the ExecuteTransactionRequest method. -// req, resp := client.ExecuteTransactionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransaction func (c *DynamoDB) ExecuteTransactionRequest(input *ExecuteTransactionInput) (req *request.Request, output *ExecuteTransactionOutput) { @@ -3208,119 +3204,120 @@ func (c *DynamoDB) ExecuteTransactionRequest(input *ExecuteTransactionInput) (re // API operation ExecuteTransaction for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. -// -// * TransactionCanceledException -// The entire transaction request was canceled. // -// DynamoDB cancels a TransactWriteItems request under the following circumstances: -// -// * A condition in one of the condition expressions is not met. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - TransactionCanceledException +// The entire transaction request was canceled. +// +// DynamoDB cancels a TransactWriteItems request under the following circumstances: +// +// - A condition in one of the condition expressions is not met. // -// * A table in the TransactWriteItems request is in a different account -// or region. +// - A table in the TransactWriteItems request is in a different account +// or region. // -// * More than one action in the TransactWriteItems operation targets the -// same item. +// - More than one action in the TransactWriteItems operation targets the +// same item. // -// * There is insufficient provisioned capacity for the transaction to be -// completed. +// - There is insufficient provisioned capacity for the transaction to be +// completed. // -// * An item size becomes too large (larger than 400 KB), or a local secondary -// index (LSI) becomes too large, or a similar validation error occurs because -// of changes made by the transaction. +// - An item size becomes too large (larger than 400 KB), or a local secondary +// index (LSI) becomes too large, or a similar validation error occurs because +// of changes made by the transaction. // -// * There is a user error, such as an invalid data format. +// - There is a user error, such as an invalid data format. // -// DynamoDB cancels a TransactGetItems request under the following circumstances: +// DynamoDB cancels a TransactGetItems request under the following circumstances: // -// * There is an ongoing TransactGetItems operation that conflicts with a -// concurrent PutItem, UpdateItem, DeleteItem or TransactWriteItems request. -// In this case the TransactGetItems operation fails with a TransactionCanceledException. +// - There is an ongoing TransactGetItems operation that conflicts with a +// concurrent PutItem, UpdateItem, DeleteItem or TransactWriteItems request. +// In this case the TransactGetItems operation fails with a TransactionCanceledException. // -// * A table in the TransactGetItems request is in a different account or -// region. +// - A table in the TransactGetItems request is in a different account or +// region. // -// * There is insufficient provisioned capacity for the transaction to be -// completed. +// - There is insufficient provisioned capacity for the transaction to be +// completed. // -// * There is a user error, such as an invalid data format. +// - There is a user error, such as an invalid data format. // -// If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons -// property. This property is not set for other languages. Transaction cancellation -// reasons are ordered in the order of requested items, if an item has no error -// it will have NONE code and Null message. +// If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons +// property. This property is not set for other languages. Transaction cancellation +// reasons are ordered in the order of requested items, if an item has no error +// it will have NONE code and Null message. // -// Cancellation reason codes and possible error messages: +// Cancellation reason codes and possible error messages: // -// * No Errors: Code: NONE Message: null +// - No Errors: Code: NONE Message: null // -// * Conditional Check Failed: Code: ConditionalCheckFailed Message: The -// conditional request failed. +// - Conditional Check Failed: Code: ConditionalCheckFailed Message: The +// conditional request failed. // -// * Item Collection Size Limit Exceeded: Code: ItemCollectionSizeLimitExceeded -// Message: Collection size exceeded. +// - Item Collection Size Limit Exceeded: Code: ItemCollectionSizeLimitExceeded +// Message: Collection size exceeded. // -// * Transaction Conflict: Code: TransactionConflict Message: Transaction -// is ongoing for the item. +// - Transaction Conflict: Code: TransactionConflict Message: Transaction +// is ongoing for the item. // -// * Provisioned Throughput Exceeded: Code: ProvisionedThroughputExceeded -// Messages: The level of configured provisioned throughput for the table -// was exceeded. Consider increasing your provisioning level with the UpdateTable -// API. This Message is received when provisioned throughput is exceeded -// is on a provisioned DynamoDB table. The level of configured provisioned -// throughput for one or more global secondary indexes of the table was exceeded. -// Consider increasing your provisioning level for the under-provisioned -// global secondary indexes with the UpdateTable API. This message is returned -// when provisioned throughput is exceeded is on a provisioned GSI. +// - Provisioned Throughput Exceeded: Code: ProvisionedThroughputExceeded +// Messages: The level of configured provisioned throughput for the table +// was exceeded. Consider increasing your provisioning level with the UpdateTable +// API. This Message is received when provisioned throughput is exceeded +// is on a provisioned DynamoDB table. The level of configured provisioned +// throughput for one or more global secondary indexes of the table was exceeded. +// Consider increasing your provisioning level for the under-provisioned +// global secondary indexes with the UpdateTable API. This message is returned +// when provisioned throughput is exceeded is on a provisioned GSI. // -// * Throttling Error: Code: ThrottlingError Messages: Throughput exceeds -// the current capacity of your table or index. DynamoDB is automatically -// scaling your table or index so please try again shortly. If exceptions -// persist, check if you have a hot key: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html. -// This message is returned when writes get throttled on an On-Demand table -// as DynamoDB is automatically scaling the table. Throughput exceeds the -// current capacity for one or more global secondary indexes. DynamoDB is -// automatically scaling your index so please try again shortly. This message -// is returned when when writes get throttled on an On-Demand GSI as DynamoDB -// is automatically scaling the GSI. +// - Throttling Error: Code: ThrottlingError Messages: Throughput exceeds +// the current capacity of your table or index. DynamoDB is automatically +// scaling your table or index so please try again shortly. If exceptions +// persist, check if you have a hot key: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html. +// This message is returned when writes get throttled on an On-Demand table +// as DynamoDB is automatically scaling the table. Throughput exceeds the +// current capacity for one or more global secondary indexes. DynamoDB is +// automatically scaling your index so please try again shortly. This message +// is returned when when writes get throttled on an On-Demand GSI as DynamoDB +// is automatically scaling the GSI. // -// * Validation Error: Code: ValidationError Messages: One or more parameter -// values were invalid. The update expression attempted to update the secondary -// index key beyond allowed size limits. The update expression attempted -// to update the secondary index key to unsupported type. An operand in the -// update expression has an incorrect data type. Item size to update has -// exceeded the maximum allowed size. Number overflow. Attempting to store -// a number with magnitude larger than supported range. Type mismatch for -// attribute to update. Nesting Levels have exceeded supported limits. The -// document path provided in the update expression is invalid for update. -// The provided expression refers to an attribute that does not exist in -// the item. +// - Validation Error: Code: ValidationError Messages: One or more parameter +// values were invalid. The update expression attempted to update the secondary +// index key beyond allowed size limits. The update expression attempted +// to update the secondary index key to unsupported type. An operand in the +// update expression has an incorrect data type. Item size to update has +// exceeded the maximum allowed size. Number overflow. Attempting to store +// a number with magnitude larger than supported range. Type mismatch for +// attribute to update. Nesting Levels have exceeded supported limits. The +// document path provided in the update expression is invalid for update. +// The provided expression refers to an attribute that does not exist in +// the item. // -// * TransactionInProgressException -// The transaction with the given request token is already in progress. +// - TransactionInProgressException +// The transaction with the given request token is already in progress. // -// * IdempotentParameterMismatchException -// DynamoDB rejected the request because you retried a request with a different -// payload but with an idempotent token that was already used. +// - IdempotentParameterMismatchException +// DynamoDB rejected the request because you retried a request with a different +// payload but with an idempotent token that was already used. // -// * ProvisionedThroughputExceededException -// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB -// automatically retry requests that receive this exception. Your request is -// eventually successful, unless your retry queue is too large to finish. Reduce -// the frequency of requests and use exponential backoff. For more information, -// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) -// in the Amazon DynamoDB Developer Guide. +// - ProvisionedThroughputExceededException +// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB +// automatically retry requests that receive this exception. Your request is +// eventually successful, unless your retry queue is too large to finish. Reduce +// the frequency of requests and use exponential backoff. For more information, +// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) +// in the Amazon DynamoDB Developer Guide. // -// * RequestLimitExceeded -// Throughput exceeds the current throughput quota for your account. Please -// contact Amazon Web Services Support (https://aws.amazon.com/support) to request -// a quota increase. -// -// * InternalServerError -// An error occurred on the server side. +// - RequestLimitExceeded +// Throughput exceeds the current throughput quota for your account. Please +// contact Amazon Web Services Support (https://aws.amazon.com/support) to request +// a quota increase. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExecuteTransaction func (c *DynamoDB) ExecuteTransaction(input *ExecuteTransactionInput) (*ExecuteTransactionOutput, error) { @@ -3360,14 +3357,13 @@ const opExportTableToPointInTime = "ExportTableToPointInTime" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportTableToPointInTimeRequest method. +// req, resp := client.ExportTableToPointInTimeRequest(params) // -// // Example sending a request using the ExportTableToPointInTimeRequest method. -// req, resp := client.ExportTableToPointInTimeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTime func (c *DynamoDB) ExportTableToPointInTimeRequest(input *ExportTableToPointInTimeInput) (req *request.Request, output *ExportTableToPointInTimeOutput) { @@ -3400,35 +3396,36 @@ func (c *DynamoDB) ExportTableToPointInTimeRequest(input *ExportTableToPointInTi // API operation ExportTableToPointInTime for usage and error information. // // Returned Error Types: -// * TableNotFoundException -// A source table with the name TableName does not currently exist within the -// subscriber's account. // -// * PointInTimeRecoveryUnavailableException -// Point in time recovery has not yet been enabled for this source table. +// - TableNotFoundException +// A source table with the name TableName does not currently exist within the +// subscriber's account. +// +// - PointInTimeRecoveryUnavailableException +// Point in time recovery has not yet been enabled for this source table. // -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// There is a soft account quota of 256 tables. +// There is a soft account quota of 256 tables. // -// * InvalidExportTimeException -// The specified ExportTime is outside of the point in time recovery window. +// - InvalidExportTimeException +// The specified ExportTime is outside of the point in time recovery window. // -// * ExportConflictException -// There was a conflict when writing to the specified S3 bucket. +// - ExportConflictException +// There was a conflict when writing to the specified S3 bucket. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ExportTableToPointInTime func (c *DynamoDB) ExportTableToPointInTime(input *ExportTableToPointInTimeInput) (*ExportTableToPointInTimeOutput, error) { @@ -3468,14 +3465,13 @@ const opGetItem = "GetItem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetItemRequest method. +// req, resp := client.GetItemRequest(params) // -// // Example sending a request using the GetItemRequest method. -// req, resp := client.GetItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItem func (c *DynamoDB) GetItemRequest(input *GetItemInput) (req *request.Request, output *GetItemOutput) { @@ -3538,25 +3534,26 @@ func (c *DynamoDB) GetItemRequest(input *GetItemInput) (req *request.Request, ou // API operation GetItem for usage and error information. // // Returned Error Types: -// * ProvisionedThroughputExceededException -// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB -// automatically retry requests that receive this exception. Your request is -// eventually successful, unless your retry queue is too large to finish. Reduce -// the frequency of requests and use exponential backoff. For more information, -// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) -// in the Amazon DynamoDB Developer Guide. -// -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. -// -// * RequestLimitExceeded -// Throughput exceeds the current throughput quota for your account. Please -// contact Amazon Web Services Support (https://aws.amazon.com/support) to request -// a quota increase. -// -// * InternalServerError -// An error occurred on the server side. +// +// - ProvisionedThroughputExceededException +// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB +// automatically retry requests that receive this exception. Your request is +// eventually successful, unless your retry queue is too large to finish. Reduce +// the frequency of requests and use exponential backoff. For more information, +// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) +// in the Amazon DynamoDB Developer Guide. +// +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - RequestLimitExceeded +// Throughput exceeds the current throughput quota for your account. Please +// contact Amazon Web Services Support (https://aws.amazon.com/support) to request +// a quota increase. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/GetItem func (c *DynamoDB) GetItem(input *GetItemInput) (*GetItemOutput, error) { @@ -3596,14 +3593,13 @@ const opListBackups = "ListBackups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBackupsRequest method. +// req, resp := client.ListBackupsRequest(params) // -// // Example sending a request using the ListBackupsRequest method. -// req, resp := client.ListBackupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListBackups func (c *DynamoDB) ListBackupsRequest(input *ListBackupsInput) (req *request.Request, output *ListBackupsOutput) { @@ -3667,8 +3663,8 @@ func (c *DynamoDB) ListBackupsRequest(input *ListBackupsInput) (req *request.Req // API operation ListBackups for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListBackups func (c *DynamoDB) ListBackups(input *ListBackupsInput) (*ListBackupsOutput, error) { @@ -3708,14 +3704,13 @@ const opListContributorInsights = "ListContributorInsights" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListContributorInsightsRequest method. +// req, resp := client.ListContributorInsightsRequest(params) // -// // Example sending a request using the ListContributorInsightsRequest method. -// req, resp := client.ListContributorInsightsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListContributorInsights func (c *DynamoDB) ListContributorInsightsRequest(input *ListContributorInsightsInput) (req *request.Request, output *ListContributorInsightsOutput) { @@ -3753,12 +3748,13 @@ func (c *DynamoDB) ListContributorInsightsRequest(input *ListContributorInsights // API operation ListContributorInsights for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. // -// * InternalServerError -// An error occurred on the server side. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListContributorInsights func (c *DynamoDB) ListContributorInsights(input *ListContributorInsightsInput) (*ListContributorInsightsOutput, error) { @@ -3790,15 +3786,14 @@ func (c *DynamoDB) ListContributorInsightsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListContributorInsights operation. -// pageNum := 0 -// err := client.ListContributorInsightsPages(params, -// func(page *dynamodb.ListContributorInsightsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListContributorInsights operation. +// pageNum := 0 +// err := client.ListContributorInsightsPages(params, +// func(page *dynamodb.ListContributorInsightsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DynamoDB) ListContributorInsightsPages(input *ListContributorInsightsInput, fn func(*ListContributorInsightsOutput, bool) bool) error { return c.ListContributorInsightsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3850,14 +3845,13 @@ const opListExports = "ListExports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExportsRequest method. +// req, resp := client.ListExportsRequest(params) // -// // Example sending a request using the ListExportsRequest method. -// req, resp := client.ListExportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListExports func (c *DynamoDB) ListExportsRequest(input *ListExportsInput) (req *request.Request, output *ListExportsOutput) { @@ -3894,22 +3888,23 @@ func (c *DynamoDB) ListExportsRequest(input *ListExportsInput) (req *request.Req // API operation ListExports for usage and error information. // // Returned Error Types: -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. +// +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// There is a soft account quota of 256 tables. +// There is a soft account quota of 256 tables. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListExports func (c *DynamoDB) ListExports(input *ListExportsInput) (*ListExportsOutput, error) { @@ -3941,15 +3936,14 @@ func (c *DynamoDB) ListExportsWithContext(ctx aws.Context, input *ListExportsInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExports operation. -// pageNum := 0 -// err := client.ListExportsPages(params, -// func(page *dynamodb.ListExportsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExports operation. +// pageNum := 0 +// err := client.ListExportsPages(params, +// func(page *dynamodb.ListExportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DynamoDB) ListExportsPages(input *ListExportsInput, fn func(*ListExportsOutput, bool) bool) error { return c.ListExportsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4001,14 +3995,13 @@ const opListGlobalTables = "ListGlobalTables" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGlobalTablesRequest method. +// req, resp := client.ListGlobalTablesRequest(params) // -// // Example sending a request using the ListGlobalTablesRequest method. -// req, resp := client.ListGlobalTablesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListGlobalTables func (c *DynamoDB) ListGlobalTablesRequest(input *ListGlobalTablesInput) (req *request.Request, output *ListGlobalTablesOutput) { @@ -4067,8 +4060,8 @@ func (c *DynamoDB) ListGlobalTablesRequest(input *ListGlobalTablesInput) (req *r // API operation ListGlobalTables for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListGlobalTables func (c *DynamoDB) ListGlobalTables(input *ListGlobalTablesInput) (*ListGlobalTablesOutput, error) { @@ -4108,14 +4101,13 @@ const opListTables = "ListTables" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTablesRequest method. +// req, resp := client.ListTablesRequest(params) // -// // Example sending a request using the ListTablesRequest method. -// req, resp := client.ListTablesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTables func (c *DynamoDB) ListTablesRequest(input *ListTablesInput) (req *request.Request, output *ListTablesOutput) { @@ -4179,8 +4171,8 @@ func (c *DynamoDB) ListTablesRequest(input *ListTablesInput) (req *request.Reque // API operation ListTables for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTables func (c *DynamoDB) ListTables(input *ListTablesInput) (*ListTablesOutput, error) { @@ -4212,15 +4204,14 @@ func (c *DynamoDB) ListTablesWithContext(ctx aws.Context, input *ListTablesInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTables operation. -// pageNum := 0 -// err := client.ListTablesPages(params, -// func(page *dynamodb.ListTablesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTables operation. +// pageNum := 0 +// err := client.ListTablesPages(params, +// func(page *dynamodb.ListTablesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DynamoDB) ListTablesPages(input *ListTablesInput, fn func(*ListTablesOutput, bool) bool) error { return c.ListTablesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4272,14 +4263,13 @@ const opListTagsOfResource = "ListTagsOfResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsOfResourceRequest method. +// req, resp := client.ListTagsOfResourceRequest(params) // -// // Example sending a request using the ListTagsOfResourceRequest method. -// req, resp := client.ListTagsOfResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResource func (c *DynamoDB) ListTagsOfResourceRequest(input *ListTagsOfResourceInput) (req *request.Request, output *ListTagsOfResourceOutput) { @@ -4339,12 +4329,13 @@ func (c *DynamoDB) ListTagsOfResourceRequest(input *ListTagsOfResourceInput) (re // API operation ListTagsOfResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. // -// * InternalServerError -// An error occurred on the server side. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/ListTagsOfResource func (c *DynamoDB) ListTagsOfResource(input *ListTagsOfResourceInput) (*ListTagsOfResourceOutput, error) { @@ -4384,14 +4375,13 @@ const opPutItem = "PutItem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutItemRequest method. +// req, resp := client.PutItemRequest(params) // -// // Example sending a request using the PutItemRequest method. -// req, resp := client.PutItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItem func (c *DynamoDB) PutItemRequest(input *PutItemInput) (req *request.Request, output *PutItemOutput) { @@ -4450,23 +4440,23 @@ func (c *DynamoDB) PutItemRequest(input *PutItemInput) (req *request.Request, ou // For information on how to call the PutItem API using the Amazon Web Services // SDK in specific languages, see the following: // -// * PutItem in the Command Line Interface (http://docs.aws.amazon.com/goto/aws-cli/dynamodb-2012-08-10/PutItem) +// - PutItem in the Command Line Interface (http://docs.aws.amazon.com/goto/aws-cli/dynamodb-2012-08-10/PutItem) // -// * PutItem in the SDK for .NET (http://docs.aws.amazon.com/goto/DotNetSDKV3/dynamodb-2012-08-10/PutItem) +// - PutItem in the SDK for .NET (http://docs.aws.amazon.com/goto/DotNetSDKV3/dynamodb-2012-08-10/PutItem) // -// * PutItem in the SDK for C++ (http://docs.aws.amazon.com/goto/SdkForCpp/dynamodb-2012-08-10/PutItem) +// - PutItem in the SDK for C++ (http://docs.aws.amazon.com/goto/SdkForCpp/dynamodb-2012-08-10/PutItem) // -// * PutItem in the SDK for Go (http://docs.aws.amazon.com/goto/SdkForGoV1/dynamodb-2012-08-10/PutItem) +// - PutItem in the SDK for Go (http://docs.aws.amazon.com/goto/SdkForGoV1/dynamodb-2012-08-10/PutItem) // -// * PutItem in the SDK for Java (http://docs.aws.amazon.com/goto/SdkForJava/dynamodb-2012-08-10/PutItem) +// - PutItem in the SDK for Java (http://docs.aws.amazon.com/goto/SdkForJava/dynamodb-2012-08-10/PutItem) // -// * PutItem in the SDK for JavaScript (http://docs.aws.amazon.com/goto/AWSJavaScriptSDK/dynamodb-2012-08-10/PutItem) +// - PutItem in the SDK for JavaScript (http://docs.aws.amazon.com/goto/AWSJavaScriptSDK/dynamodb-2012-08-10/PutItem) // -// * PutItem in the SDK for PHP V3 (http://docs.aws.amazon.com/goto/SdkForPHPV3/dynamodb-2012-08-10/PutItem) +// - PutItem in the SDK for PHP V3 (http://docs.aws.amazon.com/goto/SdkForPHPV3/dynamodb-2012-08-10/PutItem) // -// * PutItem in the SDK for Python (Boto) (http://docs.aws.amazon.com/goto/boto3/dynamodb-2012-08-10/PutItem) +// - PutItem in the SDK for Python (Boto) (http://docs.aws.amazon.com/goto/boto3/dynamodb-2012-08-10/PutItem) // -// * PutItem in the SDK for Ruby V2 (http://docs.aws.amazon.com/goto/SdkForRubyV2/dynamodb-2012-08-10/PutItem) +// - PutItem in the SDK for Ruby V2 (http://docs.aws.amazon.com/goto/SdkForRubyV2/dynamodb-2012-08-10/PutItem) // // When you add an item, the primary key attributes are the only required attributes. // Attribute values cannot be null. @@ -4496,35 +4486,36 @@ func (c *DynamoDB) PutItemRequest(input *PutItemInput) (req *request.Request, ou // API operation PutItem for usage and error information. // // Returned Error Types: -// * ConditionalCheckFailedException -// A condition specified in the operation could not be evaluated. // -// * ProvisionedThroughputExceededException -// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB -// automatically retry requests that receive this exception. Your request is -// eventually successful, unless your retry queue is too large to finish. Reduce -// the frequency of requests and use exponential backoff. For more information, -// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) -// in the Amazon DynamoDB Developer Guide. +// - ConditionalCheckFailedException +// A condition specified in the operation could not be evaluated. +// +// - ProvisionedThroughputExceededException +// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB +// automatically retry requests that receive this exception. Your request is +// eventually successful, unless your retry queue is too large to finish. Reduce +// the frequency of requests and use exponential backoff. For more information, +// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) +// in the Amazon DynamoDB Developer Guide. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. // -// * ItemCollectionSizeLimitExceededException -// An item collection is too large. This exception is only returned for tables -// that have one or more local secondary indexes. +// - ItemCollectionSizeLimitExceededException +// An item collection is too large. This exception is only returned for tables +// that have one or more local secondary indexes. // -// * TransactionConflictException -// Operation was rejected because there is an ongoing transaction for the item. +// - TransactionConflictException +// Operation was rejected because there is an ongoing transaction for the item. // -// * RequestLimitExceeded -// Throughput exceeds the current throughput quota for your account. Please -// contact Amazon Web Services Support (https://aws.amazon.com/support) to request -// a quota increase. +// - RequestLimitExceeded +// Throughput exceeds the current throughput quota for your account. Please +// contact Amazon Web Services Support (https://aws.amazon.com/support) to request +// a quota increase. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/PutItem func (c *DynamoDB) PutItem(input *PutItemInput) (*PutItemOutput, error) { @@ -4564,14 +4555,13 @@ const opQuery = "Query" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the QueryRequest method. +// req, resp := client.QueryRequest(params) // -// // Example sending a request using the QueryRequest method. -// req, resp := client.QueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Query func (c *DynamoDB) QueryRequest(input *QueryInput) (req *request.Request, output *QueryOutput) { @@ -4681,25 +4671,26 @@ func (c *DynamoDB) QueryRequest(input *QueryInput) (req *request.Request, output // API operation Query for usage and error information. // // Returned Error Types: -// * ProvisionedThroughputExceededException -// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB -// automatically retry requests that receive this exception. Your request is -// eventually successful, unless your retry queue is too large to finish. Reduce -// the frequency of requests and use exponential backoff. For more information, -// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) -// in the Amazon DynamoDB Developer Guide. -// -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. -// -// * RequestLimitExceeded -// Throughput exceeds the current throughput quota for your account. Please -// contact Amazon Web Services Support (https://aws.amazon.com/support) to request -// a quota increase. -// -// * InternalServerError -// An error occurred on the server side. +// +// - ProvisionedThroughputExceededException +// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB +// automatically retry requests that receive this exception. Your request is +// eventually successful, unless your retry queue is too large to finish. Reduce +// the frequency of requests and use exponential backoff. For more information, +// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) +// in the Amazon DynamoDB Developer Guide. +// +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - RequestLimitExceeded +// Throughput exceeds the current throughput quota for your account. Please +// contact Amazon Web Services Support (https://aws.amazon.com/support) to request +// a quota increase. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Query func (c *DynamoDB) Query(input *QueryInput) (*QueryOutput, error) { @@ -4731,15 +4722,14 @@ func (c *DynamoDB) QueryWithContext(ctx aws.Context, input *QueryInput, opts ... // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a Query operation. -// pageNum := 0 -// err := client.QueryPages(params, -// func(page *dynamodb.QueryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a Query operation. +// pageNum := 0 +// err := client.QueryPages(params, +// func(page *dynamodb.QueryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DynamoDB) QueryPages(input *QueryInput, fn func(*QueryOutput, bool) bool) error { return c.QueryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4791,14 +4781,13 @@ const opRestoreTableFromBackup = "RestoreTableFromBackup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreTableFromBackupRequest method. +// req, resp := client.RestoreTableFromBackupRequest(params) // -// // Example sending a request using the RestoreTableFromBackupRequest method. -// req, resp := client.RestoreTableFromBackupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackup func (c *DynamoDB) RestoreTableFromBackupRequest(input *RestoreTableFromBackupInput) (req *request.Request, output *RestoreTableFromBackupOutput) { @@ -4851,17 +4840,17 @@ func (c *DynamoDB) RestoreTableFromBackupRequest(input *RestoreTableFromBackupIn // // You must manually set up the following on the restored table: // -// * Auto scaling policies +// - Auto scaling policies // -// * IAM policies +// - IAM policies // -// * Amazon CloudWatch metrics and alarms +// - Amazon CloudWatch metrics and alarms // -// * Tags +// - Tags // -// * Stream settings +// - Stream settings // -// * Time to Live (TTL) settings +// - Time to Live (TTL) settings // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4871,35 +4860,36 @@ func (c *DynamoDB) RestoreTableFromBackupRequest(input *RestoreTableFromBackupIn // API operation RestoreTableFromBackup for usage and error information. // // Returned Error Types: -// * TableAlreadyExistsException -// A target table with the specified name already exists. // -// * TableInUseException -// A target table with the specified name is either being created or deleted. +// - TableAlreadyExistsException +// A target table with the specified name already exists. +// +// - TableInUseException +// A target table with the specified name is either being created or deleted. // -// * BackupNotFoundException -// Backup not found for the given BackupARN. +// - BackupNotFoundException +// Backup not found for the given BackupARN. // -// * BackupInUseException -// There is another ongoing conflicting backup control plane operation on the -// table. The backup is either being created, deleted or restored to a table. +// - BackupInUseException +// There is another ongoing conflicting backup control plane operation on the +// table. The backup is either being created, deleted or restored to a table. // -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// There is a soft account quota of 256 tables. +// There is a soft account quota of 256 tables. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableFromBackup func (c *DynamoDB) RestoreTableFromBackup(input *RestoreTableFromBackupInput) (*RestoreTableFromBackupOutput, error) { @@ -4939,14 +4929,13 @@ const opRestoreTableToPointInTime = "RestoreTableToPointInTime" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreTableToPointInTimeRequest method. +// req, resp := client.RestoreTableToPointInTimeRequest(params) // -// // Example sending a request using the RestoreTableToPointInTimeRequest method. -// req, resp := client.RestoreTableToPointInTimeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableToPointInTime func (c *DynamoDB) RestoreTableToPointInTimeRequest(input *RestoreTableToPointInTimeInput) (req *request.Request, output *RestoreTableToPointInTimeOutput) { @@ -5004,30 +4993,30 @@ func (c *DynamoDB) RestoreTableToPointInTimeRequest(input *RestoreTableToPointIn // Along with data, the following are also included on the new restored table // using point in time recovery: // -// * Global secondary indexes (GSIs) +// - Global secondary indexes (GSIs) // -// * Local secondary indexes (LSIs) +// - Local secondary indexes (LSIs) // -// * Provisioned read and write capacity +// - Provisioned read and write capacity // -// * Encryption settings All these settings come from the current settings -// of the source table at the time of restore. +// - Encryption settings All these settings come from the current settings +// of the source table at the time of restore. // // You must manually set up the following on the restored table: // -// * Auto scaling policies +// - Auto scaling policies // -// * IAM policies +// - IAM policies // -// * Amazon CloudWatch metrics and alarms +// - Amazon CloudWatch metrics and alarms // -// * Tags +// - Tags // -// * Stream settings +// - Stream settings // -// * Time to Live (TTL) settings +// - Time to Live (TTL) settings // -// * Point in time recovery settings +// - Point in time recovery settings // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5037,39 +5026,40 @@ func (c *DynamoDB) RestoreTableToPointInTimeRequest(input *RestoreTableToPointIn // API operation RestoreTableToPointInTime for usage and error information. // // Returned Error Types: -// * TableAlreadyExistsException -// A target table with the specified name already exists. // -// * TableNotFoundException -// A source table with the name TableName does not currently exist within the -// subscriber's account. +// - TableAlreadyExistsException +// A target table with the specified name already exists. +// +// - TableNotFoundException +// A source table with the name TableName does not currently exist within the +// subscriber's account. // -// * TableInUseException -// A target table with the specified name is either being created or deleted. +// - TableInUseException +// A target table with the specified name is either being created or deleted. // -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// There is a soft account quota of 256 tables. +// There is a soft account quota of 256 tables. // -// * InvalidRestoreTimeException -// An invalid restore time was specified. RestoreDateTime must be between EarliestRestorableDateTime -// and LatestRestorableDateTime. +// - InvalidRestoreTimeException +// An invalid restore time was specified. RestoreDateTime must be between EarliestRestorableDateTime +// and LatestRestorableDateTime. // -// * PointInTimeRecoveryUnavailableException -// Point in time recovery has not yet been enabled for this source table. +// - PointInTimeRecoveryUnavailableException +// Point in time recovery has not yet been enabled for this source table. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/RestoreTableToPointInTime func (c *DynamoDB) RestoreTableToPointInTime(input *RestoreTableToPointInTimeInput) (*RestoreTableToPointInTimeOutput, error) { @@ -5109,14 +5099,13 @@ const opScan = "Scan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ScanRequest method. +// req, resp := client.ScanRequest(params) // -// // Example sending a request using the ScanRequest method. -// req, resp := client.ScanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Scan func (c *DynamoDB) ScanRequest(input *ScanInput) (req *request.Request, output *ScanOutput) { @@ -5205,25 +5194,26 @@ func (c *DynamoDB) ScanRequest(input *ScanInput) (req *request.Request, output * // API operation Scan for usage and error information. // // Returned Error Types: -// * ProvisionedThroughputExceededException -// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB -// automatically retry requests that receive this exception. Your request is -// eventually successful, unless your retry queue is too large to finish. Reduce -// the frequency of requests and use exponential backoff. For more information, -// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) -// in the Amazon DynamoDB Developer Guide. -// -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. -// -// * RequestLimitExceeded -// Throughput exceeds the current throughput quota for your account. Please -// contact Amazon Web Services Support (https://aws.amazon.com/support) to request -// a quota increase. -// -// * InternalServerError -// An error occurred on the server side. +// +// - ProvisionedThroughputExceededException +// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB +// automatically retry requests that receive this exception. Your request is +// eventually successful, unless your retry queue is too large to finish. Reduce +// the frequency of requests and use exponential backoff. For more information, +// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) +// in the Amazon DynamoDB Developer Guide. +// +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - RequestLimitExceeded +// Throughput exceeds the current throughput quota for your account. Please +// contact Amazon Web Services Support (https://aws.amazon.com/support) to request +// a quota increase. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/Scan func (c *DynamoDB) Scan(input *ScanInput) (*ScanOutput, error) { @@ -5255,15 +5245,14 @@ func (c *DynamoDB) ScanWithContext(ctx aws.Context, input *ScanInput, opts ...re // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a Scan operation. -// pageNum := 0 -// err := client.ScanPages(params, -// func(page *dynamodb.ScanOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a Scan operation. +// pageNum := 0 +// err := client.ScanPages(params, +// func(page *dynamodb.ScanOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *DynamoDB) ScanPages(input *ScanInput, fn func(*ScanOutput, bool) bool) error { return c.ScanPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5315,14 +5304,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TagResource func (c *DynamoDB) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -5385,31 +5373,32 @@ func (c *DynamoDB) TagResourceRequest(input *TagResourceInput) (req *request.Req // API operation TagResource for usage and error information. // // Returned Error Types: -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// There is a soft account quota of 256 tables. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. +// There is a soft account quota of 256 tables. // -// * InternalServerError -// An error occurred on the server side. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. // -// * ResourceInUseException -// The operation conflicts with the resource's availability. For example, you -// attempted to recreate an existing table, or tried to delete a table currently -// in the CREATING state. +// - InternalServerError +// An error occurred on the server side. +// +// - ResourceInUseException +// The operation conflicts with the resource's availability. For example, you +// attempted to recreate an existing table, or tried to delete a table currently +// in the CREATING state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TagResource func (c *DynamoDB) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -5449,14 +5438,13 @@ const opTransactGetItems = "TransactGetItems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TransactGetItemsRequest method. +// req, resp := client.TransactGetItemsRequest(params) // -// // Example sending a request using the TransactGetItemsRequest method. -// req, resp := client.TransactGetItemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TransactGetItems func (c *DynamoDB) TransactGetItemsRequest(input *TransactGetItemsInput) (req *request.Request, output *TransactGetItemsOutput) { @@ -5514,15 +5502,15 @@ func (c *DynamoDB) TransactGetItemsRequest(input *TransactGetItemsInput) (req *r // DynamoDB rejects the entire TransactGetItems request if any of the following // is true: // -// * A conflicting operation is in the process of updating an item to be -// read. +// - A conflicting operation is in the process of updating an item to be +// read. // -// * There is insufficient provisioned capacity for the transaction to be -// completed. +// - There is insufficient provisioned capacity for the transaction to be +// completed. // -// * There is a user error, such as an invalid data format. +// - There is a user error, such as an invalid data format. // -// * The aggregate size of the items in the transaction cannot exceed 4 MB. +// - The aggregate size of the items in the transaction cannot exceed 4 MB. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5532,112 +5520,113 @@ func (c *DynamoDB) TransactGetItemsRequest(input *TransactGetItemsInput) (req *r // API operation TransactGetItems for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. -// -// * TransactionCanceledException -// The entire transaction request was canceled. // -// DynamoDB cancels a TransactWriteItems request under the following circumstances: +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - TransactionCanceledException +// The entire transaction request was canceled. +// +// DynamoDB cancels a TransactWriteItems request under the following circumstances: // -// * A condition in one of the condition expressions is not met. +// - A condition in one of the condition expressions is not met. // -// * A table in the TransactWriteItems request is in a different account -// or region. +// - A table in the TransactWriteItems request is in a different account +// or region. // -// * More than one action in the TransactWriteItems operation targets the -// same item. +// - More than one action in the TransactWriteItems operation targets the +// same item. // -// * There is insufficient provisioned capacity for the transaction to be -// completed. +// - There is insufficient provisioned capacity for the transaction to be +// completed. // -// * An item size becomes too large (larger than 400 KB), or a local secondary -// index (LSI) becomes too large, or a similar validation error occurs because -// of changes made by the transaction. +// - An item size becomes too large (larger than 400 KB), or a local secondary +// index (LSI) becomes too large, or a similar validation error occurs because +// of changes made by the transaction. // -// * There is a user error, such as an invalid data format. +// - There is a user error, such as an invalid data format. // -// DynamoDB cancels a TransactGetItems request under the following circumstances: +// DynamoDB cancels a TransactGetItems request under the following circumstances: // -// * There is an ongoing TransactGetItems operation that conflicts with a -// concurrent PutItem, UpdateItem, DeleteItem or TransactWriteItems request. -// In this case the TransactGetItems operation fails with a TransactionCanceledException. +// - There is an ongoing TransactGetItems operation that conflicts with a +// concurrent PutItem, UpdateItem, DeleteItem or TransactWriteItems request. +// In this case the TransactGetItems operation fails with a TransactionCanceledException. // -// * A table in the TransactGetItems request is in a different account or -// region. +// - A table in the TransactGetItems request is in a different account or +// region. // -// * There is insufficient provisioned capacity for the transaction to be -// completed. +// - There is insufficient provisioned capacity for the transaction to be +// completed. // -// * There is a user error, such as an invalid data format. +// - There is a user error, such as an invalid data format. // -// If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons -// property. This property is not set for other languages. Transaction cancellation -// reasons are ordered in the order of requested items, if an item has no error -// it will have NONE code and Null message. +// If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons +// property. This property is not set for other languages. Transaction cancellation +// reasons are ordered in the order of requested items, if an item has no error +// it will have NONE code and Null message. // -// Cancellation reason codes and possible error messages: +// Cancellation reason codes and possible error messages: // -// * No Errors: Code: NONE Message: null +// - No Errors: Code: NONE Message: null // -// * Conditional Check Failed: Code: ConditionalCheckFailed Message: The -// conditional request failed. +// - Conditional Check Failed: Code: ConditionalCheckFailed Message: The +// conditional request failed. // -// * Item Collection Size Limit Exceeded: Code: ItemCollectionSizeLimitExceeded -// Message: Collection size exceeded. +// - Item Collection Size Limit Exceeded: Code: ItemCollectionSizeLimitExceeded +// Message: Collection size exceeded. // -// * Transaction Conflict: Code: TransactionConflict Message: Transaction -// is ongoing for the item. +// - Transaction Conflict: Code: TransactionConflict Message: Transaction +// is ongoing for the item. // -// * Provisioned Throughput Exceeded: Code: ProvisionedThroughputExceeded -// Messages: The level of configured provisioned throughput for the table -// was exceeded. Consider increasing your provisioning level with the UpdateTable -// API. This Message is received when provisioned throughput is exceeded -// is on a provisioned DynamoDB table. The level of configured provisioned -// throughput for one or more global secondary indexes of the table was exceeded. -// Consider increasing your provisioning level for the under-provisioned -// global secondary indexes with the UpdateTable API. This message is returned -// when provisioned throughput is exceeded is on a provisioned GSI. +// - Provisioned Throughput Exceeded: Code: ProvisionedThroughputExceeded +// Messages: The level of configured provisioned throughput for the table +// was exceeded. Consider increasing your provisioning level with the UpdateTable +// API. This Message is received when provisioned throughput is exceeded +// is on a provisioned DynamoDB table. The level of configured provisioned +// throughput for one or more global secondary indexes of the table was exceeded. +// Consider increasing your provisioning level for the under-provisioned +// global secondary indexes with the UpdateTable API. This message is returned +// when provisioned throughput is exceeded is on a provisioned GSI. // -// * Throttling Error: Code: ThrottlingError Messages: Throughput exceeds -// the current capacity of your table or index. DynamoDB is automatically -// scaling your table or index so please try again shortly. If exceptions -// persist, check if you have a hot key: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html. -// This message is returned when writes get throttled on an On-Demand table -// as DynamoDB is automatically scaling the table. Throughput exceeds the -// current capacity for one or more global secondary indexes. DynamoDB is -// automatically scaling your index so please try again shortly. This message -// is returned when when writes get throttled on an On-Demand GSI as DynamoDB -// is automatically scaling the GSI. +// - Throttling Error: Code: ThrottlingError Messages: Throughput exceeds +// the current capacity of your table or index. DynamoDB is automatically +// scaling your table or index so please try again shortly. If exceptions +// persist, check if you have a hot key: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html. +// This message is returned when writes get throttled on an On-Demand table +// as DynamoDB is automatically scaling the table. Throughput exceeds the +// current capacity for one or more global secondary indexes. DynamoDB is +// automatically scaling your index so please try again shortly. This message +// is returned when when writes get throttled on an On-Demand GSI as DynamoDB +// is automatically scaling the GSI. // -// * Validation Error: Code: ValidationError Messages: One or more parameter -// values were invalid. The update expression attempted to update the secondary -// index key beyond allowed size limits. The update expression attempted -// to update the secondary index key to unsupported type. An operand in the -// update expression has an incorrect data type. Item size to update has -// exceeded the maximum allowed size. Number overflow. Attempting to store -// a number with magnitude larger than supported range. Type mismatch for -// attribute to update. Nesting Levels have exceeded supported limits. The -// document path provided in the update expression is invalid for update. -// The provided expression refers to an attribute that does not exist in -// the item. +// - Validation Error: Code: ValidationError Messages: One or more parameter +// values were invalid. The update expression attempted to update the secondary +// index key beyond allowed size limits. The update expression attempted +// to update the secondary index key to unsupported type. An operand in the +// update expression has an incorrect data type. Item size to update has +// exceeded the maximum allowed size. Number overflow. Attempting to store +// a number with magnitude larger than supported range. Type mismatch for +// attribute to update. Nesting Levels have exceeded supported limits. The +// document path provided in the update expression is invalid for update. +// The provided expression refers to an attribute that does not exist in +// the item. // -// * ProvisionedThroughputExceededException -// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB -// automatically retry requests that receive this exception. Your request is -// eventually successful, unless your retry queue is too large to finish. Reduce -// the frequency of requests and use exponential backoff. For more information, -// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) -// in the Amazon DynamoDB Developer Guide. +// - ProvisionedThroughputExceededException +// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB +// automatically retry requests that receive this exception. Your request is +// eventually successful, unless your retry queue is too large to finish. Reduce +// the frequency of requests and use exponential backoff. For more information, +// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) +// in the Amazon DynamoDB Developer Guide. // -// * RequestLimitExceeded -// Throughput exceeds the current throughput quota for your account. Please -// contact Amazon Web Services Support (https://aws.amazon.com/support) to request -// a quota increase. +// - RequestLimitExceeded +// Throughput exceeds the current throughput quota for your account. Please +// contact Amazon Web Services Support (https://aws.amazon.com/support) to request +// a quota increase. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TransactGetItems func (c *DynamoDB) TransactGetItems(input *TransactGetItemsInput) (*TransactGetItemsOutput, error) { @@ -5677,14 +5666,13 @@ const opTransactWriteItems = "TransactWriteItems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TransactWriteItemsRequest method. +// req, resp := client.TransactWriteItemsRequest(params) // -// // Example sending a request using the TransactWriteItemsRequest method. -// req, resp := client.TransactWriteItemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TransactWriteItems func (c *DynamoDB) TransactWriteItemsRequest(input *TransactWriteItemsInput) (req *request.Request, output *TransactWriteItemsOutput) { @@ -5740,50 +5728,50 @@ func (c *DynamoDB) TransactWriteItemsRequest(input *TransactWriteItemsInput) (re // The actions are completed atomically so that either all of them succeed, // or all of them fail. They are defined by the following objects: // -// * Put — Initiates a PutItem operation to write a new item. This structure -// specifies the primary key of the item to be written, the name of the table -// to write it in, an optional condition expression that must be satisfied -// for the write to succeed, a list of the item's attributes, and a field -// indicating whether to retrieve the item's attributes if the condition -// is not met. -// -// * Update — Initiates an UpdateItem operation to update an existing item. -// This structure specifies the primary key of the item to be updated, the -// name of the table where it resides, an optional condition expression that -// must be satisfied for the update to succeed, an expression that defines -// one or more attributes to be updated, and a field indicating whether to -// retrieve the item's attributes if the condition is not met. -// -// * Delete — Initiates a DeleteItem operation to delete an existing item. -// This structure specifies the primary key of the item to be deleted, the -// name of the table where it resides, an optional condition expression that -// must be satisfied for the deletion to succeed, and a field indicating -// whether to retrieve the item's attributes if the condition is not met. -// -// * ConditionCheck — Applies a condition to an item that is not being -// modified by the transaction. This structure specifies the primary key -// of the item to be checked, the name of the table where it resides, a condition -// expression that must be satisfied for the transaction to succeed, and -// a field indicating whether to retrieve the item's attributes if the condition -// is not met. +// - Put — Initiates a PutItem operation to write a new item. This structure +// specifies the primary key of the item to be written, the name of the table +// to write it in, an optional condition expression that must be satisfied +// for the write to succeed, a list of the item's attributes, and a field +// indicating whether to retrieve the item's attributes if the condition +// is not met. +// +// - Update — Initiates an UpdateItem operation to update an existing item. +// This structure specifies the primary key of the item to be updated, the +// name of the table where it resides, an optional condition expression that +// must be satisfied for the update to succeed, an expression that defines +// one or more attributes to be updated, and a field indicating whether to +// retrieve the item's attributes if the condition is not met. +// +// - Delete — Initiates a DeleteItem operation to delete an existing item. +// This structure specifies the primary key of the item to be deleted, the +// name of the table where it resides, an optional condition expression that +// must be satisfied for the deletion to succeed, and a field indicating +// whether to retrieve the item's attributes if the condition is not met. +// +// - ConditionCheck — Applies a condition to an item that is not being +// modified by the transaction. This structure specifies the primary key +// of the item to be checked, the name of the table where it resides, a condition +// expression that must be satisfied for the transaction to succeed, and +// a field indicating whether to retrieve the item's attributes if the condition +// is not met. // // DynamoDB rejects the entire TransactWriteItems request if any of the following // is true: // -// * A condition in one of the condition expressions is not met. +// - A condition in one of the condition expressions is not met. // -// * An ongoing operation is in the process of updating the same item. +// - An ongoing operation is in the process of updating the same item. // -// * There is insufficient provisioned capacity for the transaction to be -// completed. +// - There is insufficient provisioned capacity for the transaction to be +// completed. // -// * An item size becomes too large (bigger than 400 KB), a local secondary -// index (LSI) becomes too large, or a similar validation error occurs because -// of changes made by the transaction. +// - An item size becomes too large (bigger than 400 KB), a local secondary +// index (LSI) becomes too large, or a similar validation error occurs because +// of changes made by the transaction. // -// * The aggregate size of the items in the transaction exceeds 4 MB. +// - The aggregate size of the items in the transaction exceeds 4 MB. // -// * There is a user error, such as an invalid data format. +// - There is a user error, such as an invalid data format. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5793,119 +5781,120 @@ func (c *DynamoDB) TransactWriteItemsRequest(input *TransactWriteItemsInput) (re // API operation TransactWriteItems for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. -// -// * TransactionCanceledException -// The entire transaction request was canceled. // -// DynamoDB cancels a TransactWriteItems request under the following circumstances: -// -// * A condition in one of the condition expressions is not met. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - TransactionCanceledException +// The entire transaction request was canceled. +// +// DynamoDB cancels a TransactWriteItems request under the following circumstances: +// +// - A condition in one of the condition expressions is not met. // -// * A table in the TransactWriteItems request is in a different account -// or region. +// - A table in the TransactWriteItems request is in a different account +// or region. // -// * More than one action in the TransactWriteItems operation targets the -// same item. +// - More than one action in the TransactWriteItems operation targets the +// same item. // -// * There is insufficient provisioned capacity for the transaction to be -// completed. +// - There is insufficient provisioned capacity for the transaction to be +// completed. // -// * An item size becomes too large (larger than 400 KB), or a local secondary -// index (LSI) becomes too large, or a similar validation error occurs because -// of changes made by the transaction. +// - An item size becomes too large (larger than 400 KB), or a local secondary +// index (LSI) becomes too large, or a similar validation error occurs because +// of changes made by the transaction. // -// * There is a user error, such as an invalid data format. +// - There is a user error, such as an invalid data format. // -// DynamoDB cancels a TransactGetItems request under the following circumstances: +// DynamoDB cancels a TransactGetItems request under the following circumstances: // -// * There is an ongoing TransactGetItems operation that conflicts with a -// concurrent PutItem, UpdateItem, DeleteItem or TransactWriteItems request. -// In this case the TransactGetItems operation fails with a TransactionCanceledException. +// - There is an ongoing TransactGetItems operation that conflicts with a +// concurrent PutItem, UpdateItem, DeleteItem or TransactWriteItems request. +// In this case the TransactGetItems operation fails with a TransactionCanceledException. // -// * A table in the TransactGetItems request is in a different account or -// region. +// - A table in the TransactGetItems request is in a different account or +// region. // -// * There is insufficient provisioned capacity for the transaction to be -// completed. +// - There is insufficient provisioned capacity for the transaction to be +// completed. // -// * There is a user error, such as an invalid data format. +// - There is a user error, such as an invalid data format. // -// If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons -// property. This property is not set for other languages. Transaction cancellation -// reasons are ordered in the order of requested items, if an item has no error -// it will have NONE code and Null message. +// If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons +// property. This property is not set for other languages. Transaction cancellation +// reasons are ordered in the order of requested items, if an item has no error +// it will have NONE code and Null message. // -// Cancellation reason codes and possible error messages: +// Cancellation reason codes and possible error messages: // -// * No Errors: Code: NONE Message: null +// - No Errors: Code: NONE Message: null // -// * Conditional Check Failed: Code: ConditionalCheckFailed Message: The -// conditional request failed. +// - Conditional Check Failed: Code: ConditionalCheckFailed Message: The +// conditional request failed. // -// * Item Collection Size Limit Exceeded: Code: ItemCollectionSizeLimitExceeded -// Message: Collection size exceeded. +// - Item Collection Size Limit Exceeded: Code: ItemCollectionSizeLimitExceeded +// Message: Collection size exceeded. // -// * Transaction Conflict: Code: TransactionConflict Message: Transaction -// is ongoing for the item. +// - Transaction Conflict: Code: TransactionConflict Message: Transaction +// is ongoing for the item. // -// * Provisioned Throughput Exceeded: Code: ProvisionedThroughputExceeded -// Messages: The level of configured provisioned throughput for the table -// was exceeded. Consider increasing your provisioning level with the UpdateTable -// API. This Message is received when provisioned throughput is exceeded -// is on a provisioned DynamoDB table. The level of configured provisioned -// throughput for one or more global secondary indexes of the table was exceeded. -// Consider increasing your provisioning level for the under-provisioned -// global secondary indexes with the UpdateTable API. This message is returned -// when provisioned throughput is exceeded is on a provisioned GSI. +// - Provisioned Throughput Exceeded: Code: ProvisionedThroughputExceeded +// Messages: The level of configured provisioned throughput for the table +// was exceeded. Consider increasing your provisioning level with the UpdateTable +// API. This Message is received when provisioned throughput is exceeded +// is on a provisioned DynamoDB table. The level of configured provisioned +// throughput for one or more global secondary indexes of the table was exceeded. +// Consider increasing your provisioning level for the under-provisioned +// global secondary indexes with the UpdateTable API. This message is returned +// when provisioned throughput is exceeded is on a provisioned GSI. // -// * Throttling Error: Code: ThrottlingError Messages: Throughput exceeds -// the current capacity of your table or index. DynamoDB is automatically -// scaling your table or index so please try again shortly. If exceptions -// persist, check if you have a hot key: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html. -// This message is returned when writes get throttled on an On-Demand table -// as DynamoDB is automatically scaling the table. Throughput exceeds the -// current capacity for one or more global secondary indexes. DynamoDB is -// automatically scaling your index so please try again shortly. This message -// is returned when when writes get throttled on an On-Demand GSI as DynamoDB -// is automatically scaling the GSI. +// - Throttling Error: Code: ThrottlingError Messages: Throughput exceeds +// the current capacity of your table or index. DynamoDB is automatically +// scaling your table or index so please try again shortly. If exceptions +// persist, check if you have a hot key: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html. +// This message is returned when writes get throttled on an On-Demand table +// as DynamoDB is automatically scaling the table. Throughput exceeds the +// current capacity for one or more global secondary indexes. DynamoDB is +// automatically scaling your index so please try again shortly. This message +// is returned when when writes get throttled on an On-Demand GSI as DynamoDB +// is automatically scaling the GSI. // -// * Validation Error: Code: ValidationError Messages: One or more parameter -// values were invalid. The update expression attempted to update the secondary -// index key beyond allowed size limits. The update expression attempted -// to update the secondary index key to unsupported type. An operand in the -// update expression has an incorrect data type. Item size to update has -// exceeded the maximum allowed size. Number overflow. Attempting to store -// a number with magnitude larger than supported range. Type mismatch for -// attribute to update. Nesting Levels have exceeded supported limits. The -// document path provided in the update expression is invalid for update. -// The provided expression refers to an attribute that does not exist in -// the item. +// - Validation Error: Code: ValidationError Messages: One or more parameter +// values were invalid. The update expression attempted to update the secondary +// index key beyond allowed size limits. The update expression attempted +// to update the secondary index key to unsupported type. An operand in the +// update expression has an incorrect data type. Item size to update has +// exceeded the maximum allowed size. Number overflow. Attempting to store +// a number with magnitude larger than supported range. Type mismatch for +// attribute to update. Nesting Levels have exceeded supported limits. The +// document path provided in the update expression is invalid for update. +// The provided expression refers to an attribute that does not exist in +// the item. // -// * TransactionInProgressException -// The transaction with the given request token is already in progress. +// - TransactionInProgressException +// The transaction with the given request token is already in progress. // -// * IdempotentParameterMismatchException -// DynamoDB rejected the request because you retried a request with a different -// payload but with an idempotent token that was already used. +// - IdempotentParameterMismatchException +// DynamoDB rejected the request because you retried a request with a different +// payload but with an idempotent token that was already used. // -// * ProvisionedThroughputExceededException -// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB -// automatically retry requests that receive this exception. Your request is -// eventually successful, unless your retry queue is too large to finish. Reduce -// the frequency of requests and use exponential backoff. For more information, -// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) -// in the Amazon DynamoDB Developer Guide. +// - ProvisionedThroughputExceededException +// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB +// automatically retry requests that receive this exception. Your request is +// eventually successful, unless your retry queue is too large to finish. Reduce +// the frequency of requests and use exponential backoff. For more information, +// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) +// in the Amazon DynamoDB Developer Guide. // -// * RequestLimitExceeded -// Throughput exceeds the current throughput quota for your account. Please -// contact Amazon Web Services Support (https://aws.amazon.com/support) to request -// a quota increase. -// -// * InternalServerError -// An error occurred on the server side. +// - RequestLimitExceeded +// Throughput exceeds the current throughput quota for your account. Please +// contact Amazon Web Services Support (https://aws.amazon.com/support) to request +// a quota increase. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/TransactWriteItems func (c *DynamoDB) TransactWriteItems(input *TransactWriteItemsInput) (*TransactWriteItemsOutput, error) { @@ -5945,14 +5934,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UntagResource func (c *DynamoDB) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -6013,31 +6001,32 @@ func (c *DynamoDB) UntagResourceRequest(input *UntagResourceInput) (req *request // API operation UntagResource for usage and error information. // // Returned Error Types: -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. +// +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// There is a soft account quota of 256 tables. +// There is a soft account quota of 256 tables. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // -// * ResourceInUseException -// The operation conflicts with the resource's availability. For example, you -// attempted to recreate an existing table, or tried to delete a table currently -// in the CREATING state. +// - ResourceInUseException +// The operation conflicts with the resource's availability. For example, you +// attempted to recreate an existing table, or tried to delete a table currently +// in the CREATING state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UntagResource func (c *DynamoDB) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -6077,14 +6066,13 @@ const opUpdateContinuousBackups = "UpdateContinuousBackups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContinuousBackupsRequest method. +// req, resp := client.UpdateContinuousBackupsRequest(params) // -// // Example sending a request using the UpdateContinuousBackupsRequest method. -// req, resp := client.UpdateContinuousBackupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateContinuousBackups func (c *DynamoDB) UpdateContinuousBackupsRequest(input *UpdateContinuousBackupsInput) (req *request.Request, output *UpdateContinuousBackupsOutput) { @@ -6150,15 +6138,16 @@ func (c *DynamoDB) UpdateContinuousBackupsRequest(input *UpdateContinuousBackups // API operation UpdateContinuousBackups for usage and error information. // // Returned Error Types: -// * TableNotFoundException -// A source table with the name TableName does not currently exist within the -// subscriber's account. // -// * ContinuousBackupsUnavailableException -// Backups have not yet been enabled for this table. +// - TableNotFoundException +// A source table with the name TableName does not currently exist within the +// subscriber's account. // -// * InternalServerError -// An error occurred on the server side. +// - ContinuousBackupsUnavailableException +// Backups have not yet been enabled for this table. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateContinuousBackups func (c *DynamoDB) UpdateContinuousBackups(input *UpdateContinuousBackupsInput) (*UpdateContinuousBackupsOutput, error) { @@ -6198,14 +6187,13 @@ const opUpdateContributorInsights = "UpdateContributorInsights" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContributorInsightsRequest method. +// req, resp := client.UpdateContributorInsightsRequest(params) // -// // Example sending a request using the UpdateContributorInsightsRequest method. -// req, resp := client.UpdateContributorInsightsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateContributorInsights func (c *DynamoDB) UpdateContributorInsightsRequest(input *UpdateContributorInsightsInput) (req *request.Request, output *UpdateContributorInsightsOutput) { @@ -6243,12 +6231,13 @@ func (c *DynamoDB) UpdateContributorInsightsRequest(input *UpdateContributorInsi // API operation UpdateContributorInsights for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. // -// * InternalServerError -// An error occurred on the server side. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateContributorInsights func (c *DynamoDB) UpdateContributorInsights(input *UpdateContributorInsightsInput) (*UpdateContributorInsightsOutput, error) { @@ -6288,14 +6277,13 @@ const opUpdateGlobalTable = "UpdateGlobalTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGlobalTableRequest method. +// req, resp := client.UpdateGlobalTableRequest(params) // -// // Example sending a request using the UpdateGlobalTableRequest method. -// req, resp := client.UpdateGlobalTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalTable func (c *DynamoDB) UpdateGlobalTableRequest(input *UpdateGlobalTableInput) (req *request.Request, output *UpdateGlobalTableOutput) { @@ -6354,13 +6342,13 @@ func (c *DynamoDB) UpdateGlobalTableRequest(input *UpdateGlobalTableInput) (req // If global secondary indexes are specified, then the following conditions // must also be met: // -// * The global secondary indexes must have the same name. +// - The global secondary indexes must have the same name. // -// * The global secondary indexes must have the same hash key and sort key -// (if present). +// - The global secondary indexes must have the same hash key and sort key +// (if present). // -// * The global secondary indexes must have the same provisioned and maximum -// write capacity units. +// - The global secondary indexes must have the same provisioned and maximum +// write capacity units. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6370,21 +6358,22 @@ func (c *DynamoDB) UpdateGlobalTableRequest(input *UpdateGlobalTableInput) (req // API operation UpdateGlobalTable for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * GlobalTableNotFoundException -// The specified global table does not exist. +// - InternalServerError +// An error occurred on the server side. // -// * ReplicaAlreadyExistsException -// The specified replica is already part of the global table. +// - GlobalTableNotFoundException +// The specified global table does not exist. // -// * ReplicaNotFoundException -// The specified replica is no longer part of the global table. +// - ReplicaAlreadyExistsException +// The specified replica is already part of the global table. // -// * TableNotFoundException -// A source table with the name TableName does not currently exist within the -// subscriber's account. +// - ReplicaNotFoundException +// The specified replica is no longer part of the global table. +// +// - TableNotFoundException +// A source table with the name TableName does not currently exist within the +// subscriber's account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalTable func (c *DynamoDB) UpdateGlobalTable(input *UpdateGlobalTableInput) (*UpdateGlobalTableOutput, error) { @@ -6424,14 +6413,13 @@ const opUpdateGlobalTableSettings = "UpdateGlobalTableSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGlobalTableSettingsRequest method. +// req, resp := client.UpdateGlobalTableSettingsRequest(params) // -// // Example sending a request using the UpdateGlobalTableSettingsRequest method. -// req, resp := client.UpdateGlobalTableSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalTableSettings func (c *DynamoDB) UpdateGlobalTableSettingsRequest(input *UpdateGlobalTableSettingsInput) (req *request.Request, output *UpdateGlobalTableSettingsOutput) { @@ -6487,36 +6475,37 @@ func (c *DynamoDB) UpdateGlobalTableSettingsRequest(input *UpdateGlobalTableSett // API operation UpdateGlobalTableSettings for usage and error information. // // Returned Error Types: -// * GlobalTableNotFoundException -// The specified global table does not exist. // -// * ReplicaNotFoundException -// The specified replica is no longer part of the global table. +// - GlobalTableNotFoundException +// The specified global table does not exist. // -// * IndexNotFoundException -// The operation tried to access a nonexistent index. +// - ReplicaNotFoundException +// The specified replica is no longer part of the global table. // -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. +// - IndexNotFoundException +// The operation tried to access a nonexistent index. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// There is a soft account quota of 256 tables. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// * ResourceInUseException -// The operation conflicts with the resource's availability. For example, you -// attempted to recreate an existing table, or tried to delete a table currently -// in the CREATING state. +// There is a soft account quota of 256 tables. // -// * InternalServerError -// An error occurred on the server side. +// - ResourceInUseException +// The operation conflicts with the resource's availability. For example, you +// attempted to recreate an existing table, or tried to delete a table currently +// in the CREATING state. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateGlobalTableSettings func (c *DynamoDB) UpdateGlobalTableSettings(input *UpdateGlobalTableSettingsInput) (*UpdateGlobalTableSettingsOutput, error) { @@ -6556,14 +6545,13 @@ const opUpdateItem = "UpdateItem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateItemRequest method. +// req, resp := client.UpdateItemRequest(params) // -// // Example sending a request using the UpdateItemRequest method. -// req, resp := client.UpdateItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItem func (c *DynamoDB) UpdateItemRequest(input *UpdateItemInput) (req *request.Request, output *UpdateItemOutput) { @@ -6626,35 +6614,36 @@ func (c *DynamoDB) UpdateItemRequest(input *UpdateItemInput) (req *request.Reque // API operation UpdateItem for usage and error information. // // Returned Error Types: -// * ConditionalCheckFailedException -// A condition specified in the operation could not be evaluated. // -// * ProvisionedThroughputExceededException -// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB -// automatically retry requests that receive this exception. Your request is -// eventually successful, unless your retry queue is too large to finish. Reduce -// the frequency of requests and use exponential backoff. For more information, -// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) -// in the Amazon DynamoDB Developer Guide. +// - ConditionalCheckFailedException +// A condition specified in the operation could not be evaluated. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. +// - ProvisionedThroughputExceededException +// Your request rate is too high. The Amazon Web Services SDKs for DynamoDB +// automatically retry requests that receive this exception. Your request is +// eventually successful, unless your retry queue is too large to finish. Reduce +// the frequency of requests and use exponential backoff. For more information, +// go to Error Retries and Exponential Backoff (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff) +// in the Amazon DynamoDB Developer Guide. // -// * ItemCollectionSizeLimitExceededException -// An item collection is too large. This exception is only returned for tables -// that have one or more local secondary indexes. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. // -// * TransactionConflictException -// Operation was rejected because there is an ongoing transaction for the item. +// - ItemCollectionSizeLimitExceededException +// An item collection is too large. This exception is only returned for tables +// that have one or more local secondary indexes. // -// * RequestLimitExceeded -// Throughput exceeds the current throughput quota for your account. Please -// contact Amazon Web Services Support (https://aws.amazon.com/support) to request -// a quota increase. +// - TransactionConflictException +// Operation was rejected because there is an ongoing transaction for the item. // -// * InternalServerError -// An error occurred on the server side. +// - RequestLimitExceeded +// Throughput exceeds the current throughput quota for your account. Please +// contact Amazon Web Services Support (https://aws.amazon.com/support) to request +// a quota increase. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateItem func (c *DynamoDB) UpdateItem(input *UpdateItemInput) (*UpdateItemOutput, error) { @@ -6694,14 +6683,13 @@ const opUpdateTable = "UpdateTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTableRequest method. +// req, resp := client.UpdateTableRequest(params) // -// // Example sending a request using the UpdateTableRequest method. -// req, resp := client.UpdateTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable func (c *DynamoDB) UpdateTableRequest(input *UpdateTableInput) (req *request.Request, output *UpdateTableOutput) { @@ -6752,14 +6740,14 @@ func (c *DynamoDB) UpdateTableRequest(input *UpdateTableInput) (req *request.Req // // You can only perform one of the following operations at once: // -// * Modify the provisioned throughput settings of the table. +// - Modify the provisioned throughput settings of the table. // -// * Enable or disable DynamoDB Streams on the table. +// - Enable or disable DynamoDB Streams on the table. // -// * Remove a global secondary index from the table. +// - Remove a global secondary index from the table. // -// * Create a new global secondary index on the table. After the index begins -// backfilling, you can use UpdateTable to perform other operations. +// - Create a new global secondary index on the table. After the index begins +// backfilling, you can use UpdateTable to perform other operations. // // UpdateTable is an asynchronous operation; while it is executing, the table // status changes from ACTIVE to UPDATING. While it is UPDATING, you cannot @@ -6774,31 +6762,32 @@ func (c *DynamoDB) UpdateTableRequest(input *UpdateTableInput) (req *request.Req // API operation UpdateTable for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The operation conflicts with the resource's availability. For example, you -// attempted to recreate an existing table, or tried to delete a table currently -// in the CREATING state. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. +// - ResourceInUseException +// The operation conflicts with the resource's availability. For example, you +// attempted to recreate an existing table, or tried to delete a table currently +// in the CREATING state. // -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// There is a soft account quota of 256 tables. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// * InternalServerError -// An error occurred on the server side. +// There is a soft account quota of 256 tables. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTable func (c *DynamoDB) UpdateTable(input *UpdateTableInput) (*UpdateTableOutput, error) { @@ -6838,14 +6827,13 @@ const opUpdateTableReplicaAutoScaling = "UpdateTableReplicaAutoScaling" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTableReplicaAutoScalingRequest method. +// req, resp := client.UpdateTableReplicaAutoScalingRequest(params) // -// // Example sending a request using the UpdateTableReplicaAutoScalingRequest method. -// req, resp := client.UpdateTableReplicaAutoScalingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableReplicaAutoScaling func (c *DynamoDB) UpdateTableReplicaAutoScalingRequest(input *UpdateTableReplicaAutoScalingInput) (req *request.Request, output *UpdateTableReplicaAutoScalingOutput) { @@ -6879,31 +6867,32 @@ func (c *DynamoDB) UpdateTableReplicaAutoScalingRequest(input *UpdateTableReplic // API operation UpdateTableReplicaAutoScaling for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. // -// * ResourceInUseException -// The operation conflicts with the resource's availability. For example, you -// attempted to recreate an existing table, or tried to delete a table currently -// in the CREATING state. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. // -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. +// - ResourceInUseException +// The operation conflicts with the resource's availability. For example, you +// attempted to recreate an existing table, or tried to delete a table currently +// in the CREATING state. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// There is a soft account quota of 256 tables. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// * InternalServerError -// An error occurred on the server side. +// There is a soft account quota of 256 tables. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableReplicaAutoScaling func (c *DynamoDB) UpdateTableReplicaAutoScaling(input *UpdateTableReplicaAutoScalingInput) (*UpdateTableReplicaAutoScalingOutput, error) { @@ -6943,14 +6932,13 @@ const opUpdateTimeToLive = "UpdateTimeToLive" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTimeToLiveRequest method. +// req, resp := client.UpdateTimeToLiveRequest(params) // -// // Example sending a request using the UpdateTimeToLiveRequest method. -// req, resp := client.UpdateTimeToLiveRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTimeToLive func (c *DynamoDB) UpdateTimeToLiveRequest(input *UpdateTimeToLiveInput) (req *request.Request, output *UpdateTimeToLiveOutput) { @@ -7033,31 +7021,32 @@ func (c *DynamoDB) UpdateTimeToLiveRequest(input *UpdateTimeToLiveInput) (req *r // API operation UpdateTimeToLive for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The operation conflicts with the resource's availability. For example, you -// attempted to recreate an existing table, or tried to delete a table currently -// in the CREATING state. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. +// - ResourceInUseException +// The operation conflicts with the resource's availability. For example, you +// attempted to recreate an existing table, or tried to delete a table currently +// in the CREATING state. +// +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. // -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// There is a soft account quota of 256 tables. +// There is a soft account quota of 256 tables. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTimeToLive func (c *DynamoDB) UpdateTimeToLive(input *UpdateTimeToLiveInput) (*UpdateTimeToLiveOutput, error) { @@ -9153,14 +9142,14 @@ func (s *Capacity) SetWriteCapacityUnits(v float64) *Capacity { // Represents the selection criteria for a Query or Scan operation: // -// * For a Query operation, Condition is used for specifying the KeyConditions -// to use when querying a table or an index. For KeyConditions, only the -// following comparison operators are supported: EQ | LE | LT | GE | GT | -// BEGINS_WITH | BETWEEN Condition is also used in a QueryFilter, which evaluates -// the query results and returns only the desired values. +// - For a Query operation, Condition is used for specifying the KeyConditions +// to use when querying a table or an index. For KeyConditions, only the +// following comparison operators are supported: EQ | LE | LT | GE | GT | +// BEGINS_WITH | BETWEEN Condition is also used in a QueryFilter, which evaluates +// the query results and returns only the desired values. // -// * For a Scan operation, Condition is used in a ScanFilter, which evaluates -// the scan results and returns only the desired values. +// - For a Scan operation, Condition is used in a ScanFilter, which evaluates +// the scan results and returns only the desired values. type Condition struct { _ struct{} `type:"structure"` @@ -13035,17 +13024,17 @@ func (s *ExecuteTransactionOutput) SetResponses(v []*ItemResponse) *ExecuteTrans // evaluates to true, the operation succeeds; if not, the operation fails. You // can use ExpectedAttributeValue in one of two different ways: // -// * Use AttributeValueList to specify one or more values to compare against -// an attribute. Use ComparisonOperator to specify how you want to perform -// the comparison. If the comparison evaluates to true, then the conditional -// operation succeeds. +// - Use AttributeValueList to specify one or more values to compare against +// an attribute. Use ComparisonOperator to specify how you want to perform +// the comparison. If the comparison evaluates to true, then the conditional +// operation succeeds. // -// * Use Value to specify a value that DynamoDB will compare against an attribute. -// If the values match, then ExpectedAttributeValue evaluates to true and -// the conditional operation succeeds. Optionally, you can also set Exists -// to false, indicating that you do not expect to find the attribute value -// in the table. In this case, the conditional operation succeeds only if -// the comparison evaluates to false. +// - Use Value to specify a value that DynamoDB will compare against an attribute. +// If the values match, then ExpectedAttributeValue evaluates to true and +// the conditional operation succeeds. Optionally, you can also set Exists +// to false, indicating that you do not expect to find the attribute value +// in the table. In this case, the conditional operation succeeds only if +// the comparison evaluates to false. // // Value and Exists are incompatible with AttributeValueList and ComparisonOperator. // Note that if you use both sets of parameters at once, DynamoDB will return @@ -14586,12 +14575,12 @@ func (s *GlobalSecondaryIndexInfo) SetProvisionedThroughput(v *ProvisionedThroug // Represents one of the following: // -// * A new global secondary index to be added to an existing table. +// - A new global secondary index to be added to an existing table. // -// * New provisioned throughput parameters for an existing global secondary -// index. +// - New provisioned throughput parameters for an existing global secondary +// index. // -// * An existing global secondary index to be removed from an existing table. +// - An existing global secondary index to be removed from an existing table. type GlobalSecondaryIndexUpdate struct { _ struct{} `type:"structure"` @@ -19483,11 +19472,11 @@ func (s *ReplicaSettingsUpdate) SetReplicaTableClass(v string) *ReplicaSettingsU // Represents one of the following: // -// * A new replica to be added to an existing global table. +// - A new replica to be added to an existing global table. // -// * New parameters for an existing replica. +// - New parameters for an existing replica. // -// * An existing replica to be removed from an existing global table. +// - An existing replica to be removed from an existing global table. type ReplicaUpdate struct { _ struct{} `type:"structure"` @@ -19550,16 +19539,16 @@ func (s *ReplicaUpdate) SetDelete(v *DeleteReplicaAction) *ReplicaUpdate { // Represents one of the following: // -// * A new replica to be added to an existing regional table or global table. -// This request invokes the CreateTableReplica action in the destination -// Region. +// - A new replica to be added to an existing regional table or global table. +// This request invokes the CreateTableReplica action in the destination +// Region. // -// * New parameters for an existing replica. This request invokes the UpdateTable -// action in the destination Region. +// - New parameters for an existing replica. This request invokes the UpdateTable +// action in the destination Region. // -// * An existing replica to be deleted. The request invokes the DeleteTableReplica -// action in the destination Region, deleting the replica and all if its -// items in the destination Region. +// - An existing replica to be deleted. The request invokes the DeleteTableReplica +// action in the destination Region, deleting the replica and all if its +// items in the destination Region. type ReplicationGroupUpdate struct { _ struct{} `type:"structure"` @@ -22524,36 +22513,36 @@ func (s *TransactWriteItemsOutput) SetItemCollectionMetrics(v map[string][]*Item // // DynamoDB cancels a TransactWriteItems request under the following circumstances: // -// * A condition in one of the condition expressions is not met. +// - A condition in one of the condition expressions is not met. // -// * A table in the TransactWriteItems request is in a different account -// or region. +// - A table in the TransactWriteItems request is in a different account +// or region. // -// * More than one action in the TransactWriteItems operation targets the -// same item. +// - More than one action in the TransactWriteItems operation targets the +// same item. // -// * There is insufficient provisioned capacity for the transaction to be -// completed. +// - There is insufficient provisioned capacity for the transaction to be +// completed. // -// * An item size becomes too large (larger than 400 KB), or a local secondary -// index (LSI) becomes too large, or a similar validation error occurs because -// of changes made by the transaction. +// - An item size becomes too large (larger than 400 KB), or a local secondary +// index (LSI) becomes too large, or a similar validation error occurs because +// of changes made by the transaction. // -// * There is a user error, such as an invalid data format. +// - There is a user error, such as an invalid data format. // // DynamoDB cancels a TransactGetItems request under the following circumstances: // -// * There is an ongoing TransactGetItems operation that conflicts with a -// concurrent PutItem, UpdateItem, DeleteItem or TransactWriteItems request. -// In this case the TransactGetItems operation fails with a TransactionCanceledException. +// - There is an ongoing TransactGetItems operation that conflicts with a +// concurrent PutItem, UpdateItem, DeleteItem or TransactWriteItems request. +// In this case the TransactGetItems operation fails with a TransactionCanceledException. // -// * A table in the TransactGetItems request is in a different account or -// region. +// - A table in the TransactGetItems request is in a different account or +// region. // -// * There is insufficient provisioned capacity for the transaction to be -// completed. +// - There is insufficient provisioned capacity for the transaction to be +// completed. // -// * There is a user error, such as an invalid data format. +// - There is a user error, such as an invalid data format. // // If using Java, DynamoDB lists the cancellation reasons on the CancellationReasons // property. This property is not set for other languages. Transaction cancellation @@ -22562,49 +22551,49 @@ func (s *TransactWriteItemsOutput) SetItemCollectionMetrics(v map[string][]*Item // // Cancellation reason codes and possible error messages: // -// * No Errors: Code: NONE Message: null -// -// * Conditional Check Failed: Code: ConditionalCheckFailed Message: The -// conditional request failed. -// -// * Item Collection Size Limit Exceeded: Code: ItemCollectionSizeLimitExceeded -// Message: Collection size exceeded. -// -// * Transaction Conflict: Code: TransactionConflict Message: Transaction -// is ongoing for the item. -// -// * Provisioned Throughput Exceeded: Code: ProvisionedThroughputExceeded -// Messages: The level of configured provisioned throughput for the table -// was exceeded. Consider increasing your provisioning level with the UpdateTable -// API. This Message is received when provisioned throughput is exceeded -// is on a provisioned DynamoDB table. The level of configured provisioned -// throughput for one or more global secondary indexes of the table was exceeded. -// Consider increasing your provisioning level for the under-provisioned -// global secondary indexes with the UpdateTable API. This message is returned -// when provisioned throughput is exceeded is on a provisioned GSI. -// -// * Throttling Error: Code: ThrottlingError Messages: Throughput exceeds -// the current capacity of your table or index. DynamoDB is automatically -// scaling your table or index so please try again shortly. If exceptions -// persist, check if you have a hot key: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html. -// This message is returned when writes get throttled on an On-Demand table -// as DynamoDB is automatically scaling the table. Throughput exceeds the -// current capacity for one or more global secondary indexes. DynamoDB is -// automatically scaling your index so please try again shortly. This message -// is returned when when writes get throttled on an On-Demand GSI as DynamoDB -// is automatically scaling the GSI. -// -// * Validation Error: Code: ValidationError Messages: One or more parameter -// values were invalid. The update expression attempted to update the secondary -// index key beyond allowed size limits. The update expression attempted -// to update the secondary index key to unsupported type. An operand in the -// update expression has an incorrect data type. Item size to update has -// exceeded the maximum allowed size. Number overflow. Attempting to store -// a number with magnitude larger than supported range. Type mismatch for -// attribute to update. Nesting Levels have exceeded supported limits. The -// document path provided in the update expression is invalid for update. -// The provided expression refers to an attribute that does not exist in -// the item. +// - No Errors: Code: NONE Message: null +// +// - Conditional Check Failed: Code: ConditionalCheckFailed Message: The +// conditional request failed. +// +// - Item Collection Size Limit Exceeded: Code: ItemCollectionSizeLimitExceeded +// Message: Collection size exceeded. +// +// - Transaction Conflict: Code: TransactionConflict Message: Transaction +// is ongoing for the item. +// +// - Provisioned Throughput Exceeded: Code: ProvisionedThroughputExceeded +// Messages: The level of configured provisioned throughput for the table +// was exceeded. Consider increasing your provisioning level with the UpdateTable +// API. This Message is received when provisioned throughput is exceeded +// is on a provisioned DynamoDB table. The level of configured provisioned +// throughput for one or more global secondary indexes of the table was exceeded. +// Consider increasing your provisioning level for the under-provisioned +// global secondary indexes with the UpdateTable API. This message is returned +// when provisioned throughput is exceeded is on a provisioned GSI. +// +// - Throttling Error: Code: ThrottlingError Messages: Throughput exceeds +// the current capacity of your table or index. DynamoDB is automatically +// scaling your table or index so please try again shortly. If exceptions +// persist, check if you have a hot key: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html. +// This message is returned when writes get throttled on an On-Demand table +// as DynamoDB is automatically scaling the table. Throughput exceeds the +// current capacity for one or more global secondary indexes. DynamoDB is +// automatically scaling your index so please try again shortly. This message +// is returned when when writes get throttled on an On-Demand GSI as DynamoDB +// is automatically scaling the GSI. +// +// - Validation Error: Code: ValidationError Messages: One or more parameter +// values were invalid. The update expression attempted to update the secondary +// index key beyond allowed size limits. The update expression attempted +// to update the secondary index key to unsupported type. An operand in the +// update expression has an incorrect data type. Item size to update has +// exceeded the maximum allowed size. Number overflow. Attempting to store +// a number with magnitude larger than supported range. Type mismatch for +// attribute to update. Nesting Levels have exceeded supported limits. The +// document path provided in the update expression is invalid for update. +// The provided expression refers to an attribute that does not exist in +// the item. type TransactionCanceledException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -25100,16 +25089,16 @@ func ReplicaStatus_Values() []string { // Determines the level of detail about either provisioned or on-demand throughput // consumption that is returned in the response: // -// * INDEXES - The response includes the aggregate ConsumedCapacity for the -// operation, together with ConsumedCapacity for each table and secondary -// index that was accessed. Note that some operations, such as GetItem and -// BatchGetItem, do not access any indexes at all. In these cases, specifying -// INDEXES will only return ConsumedCapacity information for table(s). +// - INDEXES - The response includes the aggregate ConsumedCapacity for the +// operation, together with ConsumedCapacity for each table and secondary +// index that was accessed. Note that some operations, such as GetItem and +// BatchGetItem, do not access any indexes at all. In these cases, specifying +// INDEXES will only return ConsumedCapacity information for table(s). // -// * TOTAL - The response includes only the aggregate ConsumedCapacity for -// the operation. +// - TOTAL - The response includes only the aggregate ConsumedCapacity for +// the operation. // -// * NONE - No ConsumedCapacity details are included in the response. +// - NONE - No ConsumedCapacity details are included in the response. const ( // ReturnConsumedCapacityIndexes is a ReturnConsumedCapacity enum value ReturnConsumedCapacityIndexes = "INDEXES" diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/doc.go index c1fe4497832a..ab12b274f39a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/doc.go @@ -27,7 +27,7 @@ // See dynamodb package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/dynamodb/ // -// Using the Client +// # Using the Client // // To contact Amazon DynamoDB with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/doc_custom.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/doc_custom.go index 013e9b1d2a3f..0cca7e4b9e78 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/doc_custom.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/doc_custom.go @@ -11,7 +11,7 @@ operations such as PutItem, and unmarshaling Query and Scan APIs' responses. See the dynamodbattribute package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/dynamodb/dynamodbattribute/ -Expression Builders +# Expression Builders The expression package provides utility types and functions to build DynamoDB expression for type safe construction of API ExpressionAttributeNames, and diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/decode.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/decode.go index 845736a8fb7d..f7f6786fac56 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/decode.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/decode.go @@ -14,23 +14,24 @@ import ( // An Unmarshaler is an interface to provide custom unmarshaling of // AttributeValues. Use this to provide custom logic determining // how AttributeValues should be unmarshaled. -// type ExampleUnmarshaler struct { -// Value int -// } // -// func (u *ExampleUnmarshaler) UnmarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) error { -// if av.N == nil { -// return nil -// } +// type ExampleUnmarshaler struct { +// Value int +// } // -// n, err := strconv.ParseInt(*av.N, 10, 0) -// if err != nil { -// return err -// } +// func (u *ExampleUnmarshaler) UnmarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) error { +// if av.N == nil { +// return nil +// } // -// u.Value = int(n) -// return nil -// } +// n, err := strconv.ParseInt(*av.N, 10, 0) +// if err != nil { +// return err +// } +// +// u.Value = int(n) +// return nil +// } type Unmarshaler interface { UnmarshalDynamoDBAttributeValue(*dynamodb.AttributeValue) error } @@ -54,17 +55,17 @@ type Unmarshaler interface { // When decoding AttributeValues to interfaces Unmarshal will use the // following types. // -// []byte, AV Binary (B) -// [][]byte, AV Binary Set (BS) -// bool, AV Boolean (BOOL) -// []interface{}, AV List (L) -// map[string]interface{}, AV Map (M) -// float64, AV Number (N) -// Number, AV Number (N) with UseNumber set -// []float64, AV Number Set (NS) -// []Number, AV Number Set (NS) with UseNumber set -// string, AV String (S) -// []string, AV String Set (SS) +// []byte, AV Binary (B) +// [][]byte, AV Binary Set (BS) +// bool, AV Boolean (BOOL) +// []interface{}, AV List (L) +// map[string]interface{}, AV Map (M) +// float64, AV Number (N) +// Number, AV Number (N) with UseNumber set +// []float64, AV Number Set (NS) +// []Number, AV Number Set (NS) with UseNumber set +// string, AV String (S) +// []string, AV String Set (SS) // // If the Decoder option, UseNumber is set numbers will be unmarshaled // as Number values instead of float64. Use this to maintain the original diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/doc.go index 2b91d1006b55..102f4b465c09 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/doc.go @@ -6,7 +6,7 @@ // Go value tyes to dynamodb.AttributeValue for DynamoDB requests, or // unmarshaling the dynamodb.AttributeValue back into a Go value type. // -// AttributeValue Marshaling +// # AttributeValue Marshaling // // To marshal a Go type to a dynamodbAttributeValue you can use the Marshal // functions in the dynamodbattribute package. There are specialized versions @@ -15,34 +15,34 @@ // The following example uses MarshalMap to convert the Record Go type to a // dynamodb.AttributeValue type and use the value to make a PutItem API request. // -// type Record struct { -// ID string -// URLs []string -// } -// -// //... -// -// r := Record{ -// ID: "ABC123", -// URLs: []string{ -// "https://example.com/first/link", -// "https://example.com/second/url", -// }, -// } -// av, err := dynamodbattribute.MarshalMap(r) -// if err != nil { -// panic(fmt.Sprintf("failed to DynamoDB marshal Record, %v", err)) -// } -// -// _, err = svc.PutItem(&dynamodb.PutItemInput{ -// TableName: aws.String(myTableName), -// Item: av, -// }) -// if err != nil { -// panic(fmt.Sprintf("failed to put Record to DynamoDB, %v", err)) -// } -// -// AttributeValue Unmarshaling +// type Record struct { +// ID string +// URLs []string +// } +// +// //... +// +// r := Record{ +// ID: "ABC123", +// URLs: []string{ +// "https://example.com/first/link", +// "https://example.com/second/url", +// }, +// } +// av, err := dynamodbattribute.MarshalMap(r) +// if err != nil { +// panic(fmt.Sprintf("failed to DynamoDB marshal Record, %v", err)) +// } +// +// _, err = svc.PutItem(&dynamodb.PutItemInput{ +// TableName: aws.String(myTableName), +// Item: av, +// }) +// if err != nil { +// panic(fmt.Sprintf("failed to put Record to DynamoDB, %v", err)) +// } +// +// # AttributeValue Unmarshaling // // To unmarshal a dynamodb.AttributeValue to a Go type you can use the Unmarshal // functions in the dynamodbattribute package. There are specialized versions @@ -52,31 +52,31 @@ // Items returned by the operation will be unmarshaled into the slice of Records // Go type. // -// type Record struct { -// ID string -// URLs []string -// } +// type Record struct { +// ID string +// URLs []string +// } // -// //... +// //... // -// var records []Record +// var records []Record // -// // Use the ScanPages method to perform the scan with pagination. Use -// // just Scan method to make the API call without pagination. -// err := svc.ScanPages(&dynamodb.ScanInput{ -// TableName: aws.String(myTableName), -// }, func(page *dynamodb.ScanOutput, last bool) bool { -// recs := []Record{} +// // Use the ScanPages method to perform the scan with pagination. Use +// // just Scan method to make the API call without pagination. +// err := svc.ScanPages(&dynamodb.ScanInput{ +// TableName: aws.String(myTableName), +// }, func(page *dynamodb.ScanOutput, last bool) bool { +// recs := []Record{} // -// err := dynamodbattribute.UnmarshalListOfMaps(page.Items, &recs) -// if err != nil { -// panic(fmt.Sprintf("failed to unmarshal Dynamodb Scan Items, %v", err)) -// } +// err := dynamodbattribute.UnmarshalListOfMaps(page.Items, &recs) +// if err != nil { +// panic(fmt.Sprintf("failed to unmarshal Dynamodb Scan Items, %v", err)) +// } // -// records = append(records, recs...) +// records = append(records, recs...) // -// return true // keep paging -// }) +// return true // keep paging +// }) // // The ConvertTo, ConvertToList, ConvertToMap, ConvertFrom, ConvertFromMap // and ConvertFromList methods have been deprecated. The Marshal and Unmarshal diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/encode.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/encode.go index 01fb94a4cbd0..0d27253f13f4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/encode.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbattribute/encode.go @@ -54,15 +54,14 @@ func (e *UnixTime) UnmarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) // to AttributeValues. Use this to provide custom logic determining how a // Go Value type should be marshaled. // -// type ExampleMarshaler struct { -// Value int -// } -// func (m *ExampleMarshaler) MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) error { -// n := fmt.Sprintf("%v", m.Value) -// av.N = &n -// return nil -// } -// +// type ExampleMarshaler struct { +// Value int +// } +// func (m *ExampleMarshaler) MarshalDynamoDBAttributeValue(av *dynamodb.AttributeValue) error { +// n := fmt.Sprintf("%v", m.Value) +// av.N = &n +// return nil +// } type Marshaler interface { MarshalDynamoDBAttributeValue(*dynamodb.AttributeValue) error } @@ -84,43 +83,43 @@ type Marshaler interface { // `dynamodbav` struct tag can be used to control how the value will be // marshaled into a AttributeValue. // -// // Field is ignored -// Field int `dynamodbav:"-"` +// // Field is ignored +// Field int `dynamodbav:"-"` // -// // Field AttributeValue map key "myName" -// Field int `dynamodbav:"myName"` +// // Field AttributeValue map key "myName" +// Field int `dynamodbav:"myName"` // -// // Field AttributeValue map key "myName", and -// // Field is omitted if it is empty -// Field int `dynamodbav:"myName,omitempty"` +// // Field AttributeValue map key "myName", and +// // Field is omitted if it is empty +// Field int `dynamodbav:"myName,omitempty"` // -// // Field AttributeValue map key "Field", and -// // Field is omitted if it is empty -// Field int `dynamodbav:",omitempty"` +// // Field AttributeValue map key "Field", and +// // Field is omitted if it is empty +// Field int `dynamodbav:",omitempty"` // -// // Field's elems will be omitted if empty -// // only valid for slices, and maps. -// Field []string `dynamodbav:",omitemptyelem"` +// // Field's elems will be omitted if empty +// // only valid for slices, and maps. +// Field []string `dynamodbav:",omitemptyelem"` // -// // Field will be marshaled as a AttributeValue string -// // only value for number types, (int,uint,float) -// Field int `dynamodbav:",string"` +// // Field will be marshaled as a AttributeValue string +// // only value for number types, (int,uint,float) +// Field int `dynamodbav:",string"` // -// // Field will be marshaled as a binary set -// Field [][]byte `dynamodbav:",binaryset"` +// // Field will be marshaled as a binary set +// Field [][]byte `dynamodbav:",binaryset"` // -// // Field will be marshaled as a number set -// Field []int `dynamodbav:",numberset"` +// // Field will be marshaled as a number set +// Field []int `dynamodbav:",numberset"` // -// // Field will be marshaled as a string set -// Field []string `dynamodbav:",stringset"` +// // Field will be marshaled as a string set +// Field []string `dynamodbav:",stringset"` // -// // Field will be marshaled as Unix time number in seconds. -// // This tag is only valid with time.Time typed struct fields. -// // Important to note that zero value time as unixtime is not 0 seconds -// // from January 1, 1970 UTC, but -62135596800. Which is seconds between -// // January 1, 0001 UTC, and January 1, 0001 UTC. -// Field time.Time `dynamodbav:",unixtime"` +// // Field will be marshaled as Unix time number in seconds. +// // This tag is only valid with time.Time typed struct fields. +// // Important to note that zero value time as unixtime is not 0 seconds +// // from January 1, 1970 UTC, but -62135596800. Which is seconds between +// // January 1, 0001 UTC, and January 1, 0001 UTC. +// Field time.Time `dynamodbav:",unixtime"` // // The omitempty tag is only used during Marshaling and is ignored for // Unmarshal. Any zero value or a value when marshaled results in a @@ -137,9 +136,9 @@ type Marshaler interface { // All struct fields and with anonymous fields, are marshaled unless the // any of the following conditions are meet. // -// - the field is not exported -// - json or dynamodbav field tag is "-" -// - json or dynamodbav field tag specifies "omitempty", and is empty. +// - the field is not exported +// - json or dynamodbav field tag is "-" +// - json or dynamodbav field tag specifies "omitempty", and is empty. // // Pointer and interfaces values encode as the value pointed to or contained // in the interface. A nil value encodes as the AttributeValue NULL value. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbiface/interface.go index 788c5d9c3abb..addfd302b8ad 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/dynamodbiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon DynamoDB. -// func myFunc(svc dynamodbiface.DynamoDBAPI) bool { -// // Make svc.BatchExecuteStatement request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon DynamoDB. +// func myFunc(svc dynamodbiface.DynamoDBAPI) bool { +// // Make svc.BatchExecuteStatement request +// } // -// func main() { -// sess := session.New() -// svc := dynamodb.New(sess) +// func main() { +// sess := session.New() +// svc := dynamodb.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockDynamoDBClient struct { -// dynamodbiface.DynamoDBAPI -// } -// func (m *mockDynamoDBClient) BatchExecuteStatement(input *dynamodb.BatchExecuteStatementInput) (*dynamodb.BatchExecuteStatementOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockDynamoDBClient struct { +// dynamodbiface.DynamoDBAPI +// } +// func (m *mockDynamoDBClient) BatchExecuteStatement(input *dynamodb.BatchExecuteStatementInput) (*dynamodb.BatchExecuteStatementOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockDynamoDBClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockDynamoDBClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/condition.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/condition.go index 39e1103135e6..cf7625efd6a9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/condition.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/condition.go @@ -95,20 +95,20 @@ type ConditionBuilder struct { // // Example: // -// // condition represents the equal clause of the item attribute "foo" and -// // the value 5 -// condition := expression.Equal(expression.Name("foo"), expression.Value(5)) +// // condition represents the equal clause of the item attribute "foo" and +// // the value 5 +// condition := expression.Equal(expression.Name("foo"), expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Equal(expression.Name("foo"), expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo = :five" +// expression.Equal(expression.Name("foo"), expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo = :five" func Equal(left, right OperandBuilder) ConditionBuilder { return ConditionBuilder{ operandList: []OperandBuilder{left, right}, @@ -123,20 +123,20 @@ func Equal(left, right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the equal clause of the item attribute "foo" and -// // the value 5 -// condition := expression.Name("foo").Equal(expression.Value(5)) +// // condition represents the equal clause of the item attribute "foo" and +// // the value 5 +// condition := expression.Name("foo").Equal(expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("foo").Equal(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo = :five" +// expression.Name("foo").Equal(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo = :five" func (nb NameBuilder) Equal(right OperandBuilder) ConditionBuilder { return Equal(nb, right) } @@ -148,20 +148,20 @@ func (nb NameBuilder) Equal(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the equal clause of the item attribute "foo" and -// // the value 5 -// condition := expression.Value(5).Equal(expression.Name("foo")) +// // condition represents the equal clause of the item attribute "foo" and +// // the value 5 +// condition := expression.Value(5).Equal(expression.Name("foo")) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Value(5).Equal(expression.Name("foo")) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// ":five = foo" +// expression.Value(5).Equal(expression.Name("foo")) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// ":five = foo" func (vb ValueBuilder) Equal(right OperandBuilder) ConditionBuilder { return Equal(vb, right) } @@ -173,20 +173,20 @@ func (vb ValueBuilder) Equal(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the equal clause of the size of the item -// // attribute "foo" and the value 5 -// condition := expression.Size(expression.Name("foo")).Equal(expression.Value(5)) +// // condition represents the equal clause of the size of the item +// // attribute "foo" and the value 5 +// condition := expression.Size(expression.Name("foo")).Equal(expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Size(expression.Name("foo")).Equal(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "size (foo) = :five" +// expression.Size(expression.Name("foo")).Equal(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "size (foo) = :five" func (sb SizeBuilder) Equal(right OperandBuilder) ConditionBuilder { return Equal(sb, right) } @@ -198,20 +198,20 @@ func (sb SizeBuilder) Equal(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the not equal clause of the item attribute "foo" -// // and the value 5 -// condition := expression.NotEqual(expression.Name("foo"), expression.Value(5)) +// // condition represents the not equal clause of the item attribute "foo" +// // and the value 5 +// condition := expression.NotEqual(expression.Name("foo"), expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.NotEqual(expression.Name("foo"), expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo <> :five" +// expression.NotEqual(expression.Name("foo"), expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo <> :five" func NotEqual(left, right OperandBuilder) ConditionBuilder { return ConditionBuilder{ operandList: []OperandBuilder{left, right}, @@ -226,20 +226,20 @@ func NotEqual(left, right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the not equal clause of the item attribute "foo" -// // and the value 5 -// condition := expression.Name("foo").NotEqual(expression.Value(5)) +// // condition represents the not equal clause of the item attribute "foo" +// // and the value 5 +// condition := expression.Name("foo").NotEqual(expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("foo").NotEqual(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo <> :five" +// expression.Name("foo").NotEqual(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo <> :five" func (nb NameBuilder) NotEqual(right OperandBuilder) ConditionBuilder { return NotEqual(nb, right) } @@ -251,20 +251,20 @@ func (nb NameBuilder) NotEqual(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the not equal clause of the item attribute "foo" -// // and the value 5 -// condition := expression.Value(5).NotEqual(expression.Name("foo")) +// // condition represents the not equal clause of the item attribute "foo" +// // and the value 5 +// condition := expression.Value(5).NotEqual(expression.Name("foo")) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Value(5).NotEqual(expression.Name("foo")) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// ":five <> foo" +// expression.Value(5).NotEqual(expression.Name("foo")) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// ":five <> foo" func (vb ValueBuilder) NotEqual(right OperandBuilder) ConditionBuilder { return NotEqual(vb, right) } @@ -276,20 +276,20 @@ func (vb ValueBuilder) NotEqual(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the not equal clause of the size of the item -// // attribute "foo" and the value 5 -// condition := expression.Size(expression.Name("foo")).NotEqual(expression.Value(5)) +// // condition represents the not equal clause of the size of the item +// // attribute "foo" and the value 5 +// condition := expression.Size(expression.Name("foo")).NotEqual(expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Size(expression.Name("foo")).NotEqual(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "size (foo) <> :five" +// expression.Size(expression.Name("foo")).NotEqual(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "size (foo) <> :five" func (sb SizeBuilder) NotEqual(right OperandBuilder) ConditionBuilder { return NotEqual(sb, right) } @@ -301,20 +301,20 @@ func (sb SizeBuilder) NotEqual(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the less than clause of the item attribute "foo" -// // and the value 5 -// condition := expression.LessThan(expression.Name("foo"), expression.Value(5)) +// // condition represents the less than clause of the item attribute "foo" +// // and the value 5 +// condition := expression.LessThan(expression.Name("foo"), expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.LessThan(expression.Name("foo"), expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo < :five" +// expression.LessThan(expression.Name("foo"), expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo < :five" func LessThan(left, right OperandBuilder) ConditionBuilder { return ConditionBuilder{ operandList: []OperandBuilder{left, right}, @@ -329,20 +329,20 @@ func LessThan(left, right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the less than clause of the item attribute "foo" -// // and the value 5 -// condition := expression.Name("foo").LessThan(expression.Value(5)) +// // condition represents the less than clause of the item attribute "foo" +// // and the value 5 +// condition := expression.Name("foo").LessThan(expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("foo").LessThan(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo < :five" +// expression.Name("foo").LessThan(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo < :five" func (nb NameBuilder) LessThan(right OperandBuilder) ConditionBuilder { return LessThan(nb, right) } @@ -354,20 +354,20 @@ func (nb NameBuilder) LessThan(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the less than clause of the item attribute "foo" -// // and the value 5 -// condition := expression.Value(5).LessThan(expression.Name("foo")) +// // condition represents the less than clause of the item attribute "foo" +// // and the value 5 +// condition := expression.Value(5).LessThan(expression.Name("foo")) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Value(5).LessThan(expression.Name("foo")) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// ":five < foo" +// expression.Value(5).LessThan(expression.Name("foo")) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// ":five < foo" func (vb ValueBuilder) LessThan(right OperandBuilder) ConditionBuilder { return LessThan(vb, right) } @@ -379,20 +379,20 @@ func (vb ValueBuilder) LessThan(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the less than clause of the size of the item -// // attribute "foo" and the value 5 -// condition := expression.Size(expression.Name("foo")).LessThan(expression.Value(5)) +// // condition represents the less than clause of the size of the item +// // attribute "foo" and the value 5 +// condition := expression.Size(expression.Name("foo")).LessThan(expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Size(expression.Name("foo")).LessThan(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "size (foo) < :five" +// expression.Size(expression.Name("foo")).LessThan(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "size (foo) < :five" func (sb SizeBuilder) LessThan(right OperandBuilder) ConditionBuilder { return LessThan(sb, right) } @@ -404,20 +404,20 @@ func (sb SizeBuilder) LessThan(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the less than equal to clause of the item -// // attribute "foo" and the value 5 -// condition := expression.LessThanEqual(expression.Name("foo"), expression.Value(5)) +// // condition represents the less than equal to clause of the item +// // attribute "foo" and the value 5 +// condition := expression.LessThanEqual(expression.Name("foo"), expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.LessThanEqual(expression.Name("foo"), expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo <= :five" +// expression.LessThanEqual(expression.Name("foo"), expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo <= :five" func LessThanEqual(left, right OperandBuilder) ConditionBuilder { return ConditionBuilder{ operandList: []OperandBuilder{left, right}, @@ -432,20 +432,20 @@ func LessThanEqual(left, right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the less than equal to clause of the item -// // attribute "foo" and the value 5 -// condition := expression.Name("foo").LessThanEqual(expression.Value(5)) +// // condition represents the less than equal to clause of the item +// // attribute "foo" and the value 5 +// condition := expression.Name("foo").LessThanEqual(expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("foo").LessThanEqual(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo <= :five" +// expression.Name("foo").LessThanEqual(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo <= :five" func (nb NameBuilder) LessThanEqual(right OperandBuilder) ConditionBuilder { return LessThanEqual(nb, right) } @@ -457,20 +457,20 @@ func (nb NameBuilder) LessThanEqual(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the less than equal to clause of the item -// // attribute "foo" and the value 5 -// condition := expression.Value(5).LessThanEqual(expression.Name("foo")) +// // condition represents the less than equal to clause of the item +// // attribute "foo" and the value 5 +// condition := expression.Value(5).LessThanEqual(expression.Name("foo")) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Value(5).LessThanEqual(expression.Name("foo")) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// ":five <= foo" +// expression.Value(5).LessThanEqual(expression.Name("foo")) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// ":five <= foo" func (vb ValueBuilder) LessThanEqual(right OperandBuilder) ConditionBuilder { return LessThanEqual(vb, right) } @@ -482,20 +482,20 @@ func (vb ValueBuilder) LessThanEqual(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the less than equal to clause of the size of the -// // item attribute "foo" and the value 5 -// condition := expression.Size(expression.Name("foo")).LessThanEqual(expression.Value(5)) +// // condition represents the less than equal to clause of the size of the +// // item attribute "foo" and the value 5 +// condition := expression.Size(expression.Name("foo")).LessThanEqual(expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Size(expression.Name("foo")).LessThanEqual(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "size (foo) <= :five" +// expression.Size(expression.Name("foo")).LessThanEqual(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "size (foo) <= :five" func (sb SizeBuilder) LessThanEqual(right OperandBuilder) ConditionBuilder { return LessThanEqual(sb, right) } @@ -507,20 +507,20 @@ func (sb SizeBuilder) LessThanEqual(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the greater than clause of the item attribute -// // "foo" and the value 5 -// condition := expression.GreaterThan(expression.Name("foo"), expression.Value(5)) +// // condition represents the greater than clause of the item attribute +// // "foo" and the value 5 +// condition := expression.GreaterThan(expression.Name("foo"), expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.GreaterThan(expression.Name("foo"), expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo > :five" +// expression.GreaterThan(expression.Name("foo"), expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo > :five" func GreaterThan(left, right OperandBuilder) ConditionBuilder { return ConditionBuilder{ operandList: []OperandBuilder{left, right}, @@ -535,20 +535,20 @@ func GreaterThan(left, right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the greater than clause of the item attribute -// // "foo" and the value 5 -// condition := expression.Name("foo").GreaterThan(expression.Value(5)) +// // condition represents the greater than clause of the item attribute +// // "foo" and the value 5 +// condition := expression.Name("foo").GreaterThan(expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("foo").GreaterThan(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo > :five" +// expression.Name("foo").GreaterThan(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo > :five" func (nb NameBuilder) GreaterThan(right OperandBuilder) ConditionBuilder { return GreaterThan(nb, right) } @@ -560,20 +560,20 @@ func (nb NameBuilder) GreaterThan(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the greater than clause of the item attribute -// // "foo" and the value 5 -// condition := expression.Value(5).GreaterThan(expression.Name("foo")) +// // condition represents the greater than clause of the item attribute +// // "foo" and the value 5 +// condition := expression.Value(5).GreaterThan(expression.Name("foo")) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Value(5).GreaterThan(expression.Name("foo")) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// ":five > foo" +// expression.Value(5).GreaterThan(expression.Name("foo")) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// ":five > foo" func (vb ValueBuilder) GreaterThan(right OperandBuilder) ConditionBuilder { return GreaterThan(vb, right) } @@ -585,20 +585,20 @@ func (vb ValueBuilder) GreaterThan(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the greater than clause of the size of the item -// // attribute "foo" and the value 5 -// condition := expression.Size(expression.Name("foo")).GreaterThan(expression.Value(5)) +// // condition represents the greater than clause of the size of the item +// // attribute "foo" and the value 5 +// condition := expression.Size(expression.Name("foo")).GreaterThan(expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Size(expression.Name("foo")).GreaterThan(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "size (foo) > :five" +// expression.Size(expression.Name("foo")).GreaterThan(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "size (foo) > :five" func (sb SizeBuilder) GreaterThan(right OperandBuilder) ConditionBuilder { return GreaterThan(sb, right) } @@ -610,20 +610,20 @@ func (sb SizeBuilder) GreaterThan(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the greater than equal to clause of the item -// // attribute "foo" and the value 5 -// condition := expression.GreaterThanEqual(expression.Name("foo"), expression.Value(5)) +// // condition represents the greater than equal to clause of the item +// // attribute "foo" and the value 5 +// condition := expression.GreaterThanEqual(expression.Name("foo"), expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.GreaterThanEqual(expression.Name("foo"), expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo >= :five" +// expression.GreaterThanEqual(expression.Name("foo"), expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo >= :five" func GreaterThanEqual(left, right OperandBuilder) ConditionBuilder { return ConditionBuilder{ operandList: []OperandBuilder{left, right}, @@ -638,20 +638,20 @@ func GreaterThanEqual(left, right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the greater than equal to clause of the item -// // attribute "foo" and the value 5 -// condition := expression.Name("foo").GreaterThanEqual(expression.Value(5)) +// // condition represents the greater than equal to clause of the item +// // attribute "foo" and the value 5 +// condition := expression.Name("foo").GreaterThanEqual(expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("foo").GreaterThanEqual(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo >= :five" +// expression.Name("foo").GreaterThanEqual(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo >= :five" func (nb NameBuilder) GreaterThanEqual(right OperandBuilder) ConditionBuilder { return GreaterThanEqual(nb, right) } @@ -663,20 +663,20 @@ func (nb NameBuilder) GreaterThanEqual(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the greater than equal to clause of the item -// // attribute "foo" and the value 5 -// condition := expression.Value(5).GreaterThanEqual(expression.Name("foo")) +// // condition represents the greater than equal to clause of the item +// // attribute "foo" and the value 5 +// condition := expression.Value(5).GreaterThanEqual(expression.Name("foo")) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Value(5).GreaterThanEqual(expression.Name("foo")) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// ":five >= foo" +// expression.Value(5).GreaterThanEqual(expression.Name("foo")) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// ":five >= foo" func (vb ValueBuilder) GreaterThanEqual(right OperandBuilder) ConditionBuilder { return GreaterThanEqual(vb, right) } @@ -688,20 +688,20 @@ func (vb ValueBuilder) GreaterThanEqual(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the greater than equal to clause of the size of -// // the item attribute "foo" and the value 5 -// condition := expression.Size(expression.Name("foo")).GreaterThanEqual(expression.Value(5)) +// // condition represents the greater than equal to clause of the size of +// // the item attribute "foo" and the value 5 +// condition := expression.Size(expression.Name("foo")).GreaterThanEqual(expression.Value(5)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Size(expression.Name("foo")).GreaterThanEqual(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "size (foo) >= :five" +// expression.Size(expression.Name("foo")).GreaterThanEqual(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "size (foo) >= :five" func (sb SizeBuilder) GreaterThanEqual(right OperandBuilder) ConditionBuilder { return GreaterThanEqual(sb, right) } @@ -714,23 +714,23 @@ func (sb SizeBuilder) GreaterThanEqual(right OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the condition where the item attribute "Name" is -// // equal to value "Generic Name" AND the item attribute "Age" is less -// // than value 40 -// condition := expression.And(expression.Name("Name").Equal(expression.Value("Generic Name")), expression.Name("Age").LessThan(expression.Value(40))) +// // condition represents the condition where the item attribute "Name" is +// // equal to value "Generic Name" AND the item attribute "Age" is less +// // than value 40 +// condition := expression.And(expression.Name("Name").Equal(expression.Value("Generic Name")), expression.Name("Age").LessThan(expression.Value(40))) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.And(expression.Name("Name").Equal(expression.Value("Generic Name")), expression.Name("Age").LessThan(expression.Value(40))) -// // Let #NAME, :name, and :forty be ExpressionAttributeName and -// // ExpressionAttributeValues representing the item attribute "Name", the -// // value "Generic Name", and the value 40 -// "(#NAME = :name) AND (Age < :forty)" +// expression.And(expression.Name("Name").Equal(expression.Value("Generic Name")), expression.Name("Age").LessThan(expression.Value(40))) +// // Let #NAME, :name, and :forty be ExpressionAttributeName and +// // ExpressionAttributeValues representing the item attribute "Name", the +// // value "Generic Name", and the value 40 +// "(#NAME = :name) AND (Age < :forty)" func And(left, right ConditionBuilder, other ...ConditionBuilder) ConditionBuilder { other = append([]ConditionBuilder{left, right}, other...) return ConditionBuilder{ @@ -747,23 +747,23 @@ func And(left, right ConditionBuilder, other ...ConditionBuilder) ConditionBuild // // Example: // -// // condition represents the condition where the item attribute "Name" is -// // equal to value "Generic Name" AND the item attribute "Age" is less -// // than value 40 -// condition := expression.Name("Name").Equal(expression.Value("Generic Name")).And(expression.Name("Age").LessThan(expression.Value(40))) +// // condition represents the condition where the item attribute "Name" is +// // equal to value "Generic Name" AND the item attribute "Age" is less +// // than value 40 +// condition := expression.Name("Name").Equal(expression.Value("Generic Name")).And(expression.Name("Age").LessThan(expression.Value(40))) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("Name").Equal(expression.Value("Generic Name")).And(expression.Name("Age").LessThan(expression.Value(40))) -// // Let #NAME, :name, and :forty be ExpressionAttributeName and -// // ExpressionAttributeValues representing the item attribute "Name", the -// // value "Generic Name", and the value 40 -// "(#NAME = :name) AND (Age < :forty)" +// expression.Name("Name").Equal(expression.Value("Generic Name")).And(expression.Name("Age").LessThan(expression.Value(40))) +// // Let #NAME, :name, and :forty be ExpressionAttributeName and +// // ExpressionAttributeValues representing the item attribute "Name", the +// // value "Generic Name", and the value 40 +// "(#NAME = :name) AND (Age < :forty)" func (cb ConditionBuilder) And(right ConditionBuilder, other ...ConditionBuilder) ConditionBuilder { return And(cb, right, other...) } @@ -776,22 +776,22 @@ func (cb ConditionBuilder) And(right ConditionBuilder, other ...ConditionBuilder // // Example: // -// // condition represents the condition where the item attribute "Price" is -// // less than the value 100 OR the item attribute "Rating" is greater than -// // the value 8 -// condition := expression.Or(expression.Name("Price").Equal(expression.Value(100)), expression.Name("Rating").LessThan(expression.Value(8))) +// // condition represents the condition where the item attribute "Price" is +// // less than the value 100 OR the item attribute "Rating" is greater than +// // the value 8 +// condition := expression.Or(expression.Name("Price").Equal(expression.Value(100)), expression.Name("Rating").LessThan(expression.Value(8))) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Or(expression.Name("Price").Equal(expression.Value(100)), expression.Name("Rating").LessThan(expression.Value(8))) -// // Let :price and :rating be ExpressionAttributeValues representing the -// // the value 100 and value 8 respectively -// "(Price < :price) OR (Rating > :rating)" +// expression.Or(expression.Name("Price").Equal(expression.Value(100)), expression.Name("Rating").LessThan(expression.Value(8))) +// // Let :price and :rating be ExpressionAttributeValues representing the +// // the value 100 and value 8 respectively +// "(Price < :price) OR (Rating > :rating)" func Or(left, right ConditionBuilder, other ...ConditionBuilder) ConditionBuilder { other = append([]ConditionBuilder{left, right}, other...) return ConditionBuilder{ @@ -808,22 +808,22 @@ func Or(left, right ConditionBuilder, other ...ConditionBuilder) ConditionBuilde // // Example: // -// // condition represents the condition where the item attribute "Price" is -// // less than the value 100 OR the item attribute "Rating" is greater than -// // the value 8 -// condition := expression.Name("Price").Equal(expression.Value(100)).Or(expression.Name("Rating").LessThan(expression.Value(8))) +// // condition represents the condition where the item attribute "Price" is +// // less than the value 100 OR the item attribute "Rating" is greater than +// // the value 8 +// condition := expression.Name("Price").Equal(expression.Value(100)).Or(expression.Name("Rating").LessThan(expression.Value(8))) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("Price").Equal(expression.Value(100)).Or(expression.Name("Rating").LessThan(expression.Value(8))) -// // Let :price and :rating be ExpressionAttributeValues representing the -// // the value 100 and value 8 respectively -// "(Price < :price) OR (Rating > :rating)" +// expression.Name("Price").Equal(expression.Value(100)).Or(expression.Name("Rating").LessThan(expression.Value(8))) +// // Let :price and :rating be ExpressionAttributeValues representing the +// // the value 100 and value 8 respectively +// "(Price < :price) OR (Rating > :rating)" func (cb ConditionBuilder) Or(right ConditionBuilder, other ...ConditionBuilder) ConditionBuilder { return Or(cb, right, other...) } @@ -835,21 +835,21 @@ func (cb ConditionBuilder) Or(right ConditionBuilder, other ...ConditionBuilder) // // Example: // -// // condition represents the condition where the item attribute "Name" -// // does not begin with "test" -// condition := expression.Not(expression.Name("Name").BeginsWith("test")) +// // condition represents the condition where the item attribute "Name" +// // does not begin with "test" +// condition := expression.Not(expression.Name("Name").BeginsWith("test")) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Not(expression.Name("Name").BeginsWith("test")) -// // Let :prefix be an ExpressionAttributeValue representing the value -// // "test" -// "NOT (begins_with (:prefix))" +// expression.Not(expression.Name("Name").BeginsWith("test")) +// // Let :prefix be an ExpressionAttributeValue representing the value +// // "test" +// "NOT (begins_with (:prefix))" func Not(conditionBuilder ConditionBuilder) ConditionBuilder { return ConditionBuilder{ conditionList: []ConditionBuilder{conditionBuilder}, @@ -864,21 +864,21 @@ func Not(conditionBuilder ConditionBuilder) ConditionBuilder { // // Example: // -// // condition represents the condition where the item attribute "Name" -// // does not begin with "test" -// condition := expression.Name("Name").BeginsWith("test").Not() +// // condition represents the condition where the item attribute "Name" +// // does not begin with "test" +// condition := expression.Name("Name").BeginsWith("test").Not() // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("Name").BeginsWith("test").Not() -// // Let :prefix be an ExpressionAttributeValue representing the value -// // "test" -// "NOT (begins_with (:prefix))" +// expression.Name("Name").BeginsWith("test").Not() +// // Let :prefix be an ExpressionAttributeValue representing the value +// // "test" +// "NOT (begins_with (:prefix))" func (cb ConditionBuilder) Not() ConditionBuilder { return Not(cb) } @@ -890,21 +890,21 @@ func (cb ConditionBuilder) Not() ConditionBuilder { // // Example: // -// // condition represents the condition where the value of the item -// // attribute "Rating" is between values 5 and 10 -// condition := expression.Between(expression.Name("Rating"), expression.Value(5), expression.Value(10)) +// // condition represents the condition where the value of the item +// // attribute "Rating" is between values 5 and 10 +// condition := expression.Between(expression.Name("Rating"), expression.Value(5), expression.Value(10)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Between(expression.Name("Rating"), expression.Value(5), expression.Value(10)) -// // Let :five and :ten be ExpressionAttributeValues representing the value -// // 5 and the value 10 -// "Rating BETWEEN :five AND :ten" +// expression.Between(expression.Name("Rating"), expression.Value(5), expression.Value(10)) +// // Let :five and :ten be ExpressionAttributeValues representing the value +// // 5 and the value 10 +// "Rating BETWEEN :five AND :ten" func Between(op, lower, upper OperandBuilder) ConditionBuilder { return ConditionBuilder{ operandList: []OperandBuilder{op, lower, upper}, @@ -919,21 +919,21 @@ func Between(op, lower, upper OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the condition where the value of the item -// // attribute "Rating" is between values 5 and 10 -// condition := expression.Name("Rating").Between(expression.Value(5), expression.Value(10)) +// // condition represents the condition where the value of the item +// // attribute "Rating" is between values 5 and 10 +// condition := expression.Name("Rating").Between(expression.Value(5), expression.Value(10)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("Rating").Between(expression.Value(5), expression.Value(10)) -// // Let :five and :ten be ExpressionAttributeValues representing the value -// // 5 and the value 10 -// "Rating BETWEEN :five AND :ten" +// expression.Name("Rating").Between(expression.Value(5), expression.Value(10)) +// // Let :five and :ten be ExpressionAttributeValues representing the value +// // 5 and the value 10 +// "Rating BETWEEN :five AND :ten" func (nb NameBuilder) Between(lower, upper OperandBuilder) ConditionBuilder { return Between(nb, lower, upper) } @@ -945,21 +945,21 @@ func (nb NameBuilder) Between(lower, upper OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the condition where the value 6 is between values -// // 5 and 10 -// condition := expression.Value(6).Between(expression.Value(5), expression.Value(10)) +// // condition represents the condition where the value 6 is between values +// // 5 and 10 +// condition := expression.Value(6).Between(expression.Value(5), expression.Value(10)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Value(6).Between(expression.Value(5), expression.Value(10)) -// // Let :six, :five and :ten be ExpressionAttributeValues representing the -// // values 6, 5, and 10 respectively -// ":six BETWEEN :five AND :ten" +// expression.Value(6).Between(expression.Value(5), expression.Value(10)) +// // Let :six, :five and :ten be ExpressionAttributeValues representing the +// // values 6, 5, and 10 respectively +// ":six BETWEEN :five AND :ten" func (vb ValueBuilder) Between(lower, upper OperandBuilder) ConditionBuilder { return Between(vb, lower, upper) } @@ -971,21 +971,21 @@ func (vb ValueBuilder) Between(lower, upper OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the condition where the size of the item -// // attribute "InviteList" is between values 5 and 10 -// condition := expression.Size(expression.Name("InviteList")).Between(expression.Value(5), expression.Value(10)) +// // condition represents the condition where the size of the item +// // attribute "InviteList" is between values 5 and 10 +// condition := expression.Size(expression.Name("InviteList")).Between(expression.Value(5), expression.Value(10)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Size(expression.Name("InviteList")).Between(expression.Value(5), expression.Value(10)) -// // Let :five and :ten be ExpressionAttributeValues representing the value -// // 5 and the value 10 -// "size (InviteList) BETWEEN :five AND :ten" +// expression.Size(expression.Name("InviteList")).Between(expression.Value(5), expression.Value(10)) +// // Let :five and :ten be ExpressionAttributeValues representing the value +// // 5 and the value 10 +// "size (InviteList) BETWEEN :five AND :ten" func (sb SizeBuilder) Between(lower, upper OperandBuilder) ConditionBuilder { return Between(sb, lower, upper) } @@ -997,22 +997,22 @@ func (sb SizeBuilder) Between(lower, upper OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the condition where the value of the item -// // attribute "Color" is checked against the list of colors "red", -// // "green", and "blue". -// condition := expression.In(expression.Name("Color"), expression.Value("red"), expression.Value("green"), expression.Value("blue")) +// // condition represents the condition where the value of the item +// // attribute "Color" is checked against the list of colors "red", +// // "green", and "blue". +// condition := expression.In(expression.Name("Color"), expression.Value("red"), expression.Value("green"), expression.Value("blue")) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.In(expression.Name("Color"), expression.Value("red"), expression.Value("green"), expression.Value("blue")) -// // Let :red, :green, :blue be ExpressionAttributeValues representing the -// // values "red", "green", and "blue" respectively -// "Color IN (:red, :green, :blue)" +// expression.In(expression.Name("Color"), expression.Value("red"), expression.Value("green"), expression.Value("blue")) +// // Let :red, :green, :blue be ExpressionAttributeValues representing the +// // values "red", "green", and "blue" respectively +// "Color IN (:red, :green, :blue)" func In(left, right OperandBuilder, other ...OperandBuilder) ConditionBuilder { other = append([]OperandBuilder{left, right}, other...) return ConditionBuilder{ @@ -1028,22 +1028,22 @@ func In(left, right OperandBuilder, other ...OperandBuilder) ConditionBuilder { // // Example: // -// // condition represents the condition where the value of the item -// // attribute "Color" is checked against the list of colors "red", -// // "green", and "blue". -// condition := expression.Name("Color").In(expression.Value("red"), expression.Value("green"), expression.Value("blue")) +// // condition represents the condition where the value of the item +// // attribute "Color" is checked against the list of colors "red", +// // "green", and "blue". +// condition := expression.Name("Color").In(expression.Value("red"), expression.Value("green"), expression.Value("blue")) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("Color").In(expression.Value("red"), expression.Value("green"), expression.Value("blue")) -// // Let :red, :green, :blue be ExpressionAttributeValues representing the -// // values "red", "green", and "blue" respectively -// "Color IN (:red, :green, :blue)" +// expression.Name("Color").In(expression.Value("red"), expression.Value("green"), expression.Value("blue")) +// // Let :red, :green, :blue be ExpressionAttributeValues representing the +// // values "red", "green", and "blue" respectively +// "Color IN (:red, :green, :blue)" func (nb NameBuilder) In(right OperandBuilder, other ...OperandBuilder) ConditionBuilder { return In(nb, right, other...) } @@ -1056,22 +1056,22 @@ func (nb NameBuilder) In(right OperandBuilder, other ...OperandBuilder) Conditio // // Example: // -// // condition represents the condition where the value "yellow" is checked -// // against the list of colors "red", "green", and "blue". -// condition := expression.Value("yellow").In(expression.Value("red"), expression.Value("green"), expression.Value("blue")) +// // condition represents the condition where the value "yellow" is checked +// // against the list of colors "red", "green", and "blue". +// condition := expression.Value("yellow").In(expression.Value("red"), expression.Value("green"), expression.Value("blue")) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Value("yellow").In(expression.Value("red"), expression.Value("green"), expression.Value("blue")) -// // Let :yellow, :red, :green, :blue be ExpressionAttributeValues -// // representing the values "yellow", "red", "green", and "blue" -// // respectively -// ":yellow IN (:red, :green, :blue)" +// expression.Value("yellow").In(expression.Value("red"), expression.Value("green"), expression.Value("blue")) +// // Let :yellow, :red, :green, :blue be ExpressionAttributeValues +// // representing the values "yellow", "red", "green", and "blue" +// // respectively +// ":yellow IN (:red, :green, :blue)" func (vb ValueBuilder) In(right OperandBuilder, other ...OperandBuilder) ConditionBuilder { return In(vb, right, other...) } @@ -1083,22 +1083,22 @@ func (vb ValueBuilder) In(right OperandBuilder, other ...OperandBuilder) Conditi // // Example: // -// // condition represents the condition where the size of the item -// // attribute "Donuts" is checked against the list of numbers 12, 24, and -// // 36. -// condition := expression.Size(expression.Name("Donuts")).In(expression.Value(12), expression.Value(24), expression.Value(36)) +// // condition represents the condition where the size of the item +// // attribute "Donuts" is checked against the list of numbers 12, 24, and +// // 36. +// condition := expression.Size(expression.Name("Donuts")).In(expression.Value(12), expression.Value(24), expression.Value(36)) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Size(expression.Name("Donuts")).In(expression.Value(12), expression.Value(24), expression.Value(36)) -// // Let :dozen, :twoDozen, :threeDozen be ExpressionAttributeValues -// // representing the values 12, 24, and 36 respectively -// "size (Donuts) IN (12, 24, 36)" +// expression.Size(expression.Name("Donuts")).In(expression.Value(12), expression.Value(24), expression.Value(36)) +// // Let :dozen, :twoDozen, :threeDozen be ExpressionAttributeValues +// // representing the values 12, 24, and 36 respectively +// "size (Donuts) IN (12, 24, 36)" func (sb SizeBuilder) In(right OperandBuilder, other ...OperandBuilder) ConditionBuilder { return In(sb, right, other...) } @@ -1110,19 +1110,19 @@ func (sb SizeBuilder) In(right OperandBuilder, other ...OperandBuilder) Conditio // // Example: // -// // condition represents the boolean condition of whether the item -// // attribute "Age" exists or not -// condition := expression.AttributeExists(expression.Name("Age")) +// // condition represents the boolean condition of whether the item +// // attribute "Age" exists or not +// condition := expression.AttributeExists(expression.Name("Age")) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.AttributeExists(expression.Name("Age")) -// "attribute_exists (Age))" +// expression.AttributeExists(expression.Name("Age")) +// "attribute_exists (Age))" func AttributeExists(nameBuilder NameBuilder) ConditionBuilder { return ConditionBuilder{ operandList: []OperandBuilder{nameBuilder}, @@ -1137,19 +1137,19 @@ func AttributeExists(nameBuilder NameBuilder) ConditionBuilder { // // Example: // -// // condition represents the boolean condition of whether the item -// // attribute "Age" exists or not -// condition := expression.Name("Age").AttributeExists() +// // condition represents the boolean condition of whether the item +// // attribute "Age" exists or not +// condition := expression.Name("Age").AttributeExists() // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("Age").AttributeExists() -// "attribute_exists (Age))" +// expression.Name("Age").AttributeExists() +// "attribute_exists (Age))" func (nb NameBuilder) AttributeExists() ConditionBuilder { return AttributeExists(nb) } @@ -1162,19 +1162,19 @@ func (nb NameBuilder) AttributeExists() ConditionBuilder { // // Example: // -// // condition represents the boolean condition of whether the item -// // attribute "Age" exists or not -// condition := expression.AttributeNotExists(expression.Name("Age")) +// // condition represents the boolean condition of whether the item +// // attribute "Age" exists or not +// condition := expression.AttributeNotExists(expression.Name("Age")) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.AttributeNotExists(expression.Name("Age")) -// "attribute_not_exists (Age))" +// expression.AttributeNotExists(expression.Name("Age")) +// "attribute_not_exists (Age))" func AttributeNotExists(nameBuilder NameBuilder) ConditionBuilder { return ConditionBuilder{ operandList: []OperandBuilder{nameBuilder}, @@ -1190,19 +1190,19 @@ func AttributeNotExists(nameBuilder NameBuilder) ConditionBuilder { // // Example: // -// // condition represents the boolean condition of whether the item -// // attribute "Age" exists or not -// condition := expression.Name("Age").AttributeNotExists() +// // condition represents the boolean condition of whether the item +// // attribute "Age" exists or not +// condition := expression.Name("Age").AttributeNotExists() // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("Age").AttributeNotExists() -// "attribute_not_exists (Age))" +// expression.Name("Age").AttributeNotExists() +// "attribute_not_exists (Age))" func (nb NameBuilder) AttributeNotExists() ConditionBuilder { return AttributeNotExists(nb) } @@ -1215,20 +1215,20 @@ func (nb NameBuilder) AttributeNotExists() ConditionBuilder { // // Example: // -// // condition represents the boolean condition of whether the item -// // attribute "Age" has the DynamoDB type Number or not -// condition := expression.AttributeType(expression.Name("Age"), expression.Number) +// // condition represents the boolean condition of whether the item +// // attribute "Age" has the DynamoDB type Number or not +// condition := expression.AttributeType(expression.Name("Age"), expression.Number) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.AttributeType(expression.Name("Age"), expression.Number) -// // Let :type be an ExpressionAttributeValue representing the value "N" -// "attribute_type (Age, :type)" +// expression.AttributeType(expression.Name("Age"), expression.Number) +// // Let :type be an ExpressionAttributeValue representing the value "N" +// "attribute_type (Age, :type)" func AttributeType(nameBuilder NameBuilder, attributeType DynamoDBAttributeType) ConditionBuilder { v := ValueBuilder{ value: string(attributeType), @@ -1247,20 +1247,20 @@ func AttributeType(nameBuilder NameBuilder, attributeType DynamoDBAttributeType) // // Example: // -// // condition represents the boolean condition of whether the item -// // attribute "Age" has the DynamoDB type Number or not -// condition := expression.Name("Age").AttributeType(expression.Number) +// // condition represents the boolean condition of whether the item +// // attribute "Age" has the DynamoDB type Number or not +// condition := expression.Name("Age").AttributeType(expression.Number) // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("Age").AttributeType(expression.Number) -// // Let :type be an ExpressionAttributeValue representing the value "N" -// "attribute_type (Age, :type)" +// expression.Name("Age").AttributeType(expression.Number) +// // Let :type be an ExpressionAttributeValue representing the value "N" +// "attribute_type (Age, :type)" func (nb NameBuilder) AttributeType(attributeType DynamoDBAttributeType) ConditionBuilder { return AttributeType(nb, attributeType) } @@ -1272,20 +1272,20 @@ func (nb NameBuilder) AttributeType(attributeType DynamoDBAttributeType) Conditi // // Example: // -// // condition represents the boolean condition of whether the item -// // attribute "CodeName" starts with the substring "Ben" -// condition := expression.BeginsWith(expression.Name("CodeName"), "Ben") +// // condition represents the boolean condition of whether the item +// // attribute "CodeName" starts with the substring "Ben" +// condition := expression.BeginsWith(expression.Name("CodeName"), "Ben") // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.BeginsWith(expression.Name("CodeName"), "Ben") -// // Let :ben be an ExpressionAttributeValue representing the value "Ben" -// "begins_with (CodeName, :ben)" +// expression.BeginsWith(expression.Name("CodeName"), "Ben") +// // Let :ben be an ExpressionAttributeValue representing the value "Ben" +// "begins_with (CodeName, :ben)" func BeginsWith(nameBuilder NameBuilder, prefix string) ConditionBuilder { v := ValueBuilder{ value: prefix, @@ -1303,20 +1303,20 @@ func BeginsWith(nameBuilder NameBuilder, prefix string) ConditionBuilder { // // Example: // -// // condition represents the boolean condition of whether the item -// // attribute "CodeName" starts with the substring "Ben" -// condition := expression.Name("CodeName").BeginsWith("Ben") +// // condition represents the boolean condition of whether the item +// // attribute "CodeName" starts with the substring "Ben" +// condition := expression.Name("CodeName").BeginsWith("Ben") // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("CodeName").BeginsWith("Ben") -// // Let :ben be an ExpressionAttributeValue representing the value "Ben" -// "begins_with (CodeName, :ben)" +// expression.Name("CodeName").BeginsWith("Ben") +// // Let :ben be an ExpressionAttributeValue representing the value "Ben" +// "begins_with (CodeName, :ben)" func (nb NameBuilder) BeginsWith(prefix string) ConditionBuilder { return BeginsWith(nb, prefix) } @@ -1328,20 +1328,20 @@ func (nb NameBuilder) BeginsWith(prefix string) ConditionBuilder { // // Example: // -// // condition represents the boolean condition of whether the item -// // attribute "InviteList" has the value "Ben" -// condition := expression.Contains(expression.Name("InviteList"), "Ben") +// // condition represents the boolean condition of whether the item +// // attribute "InviteList" has the value "Ben" +// condition := expression.Contains(expression.Name("InviteList"), "Ben") // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Contains(expression.Name("InviteList"), "Ben") -// // Let :ben be an ExpressionAttributeValue representing the value "Ben" -// "contains (InviteList, :ben)" +// expression.Contains(expression.Name("InviteList"), "Ben") +// // Let :ben be an ExpressionAttributeValue representing the value "Ben" +// "contains (InviteList, :ben)" func Contains(nameBuilder NameBuilder, substr string) ConditionBuilder { v := ValueBuilder{ value: substr, @@ -1359,20 +1359,20 @@ func Contains(nameBuilder NameBuilder, substr string) ConditionBuilder { // // Example: // -// // condition represents the boolean condition of whether the item -// // attribute "InviteList" has the value "Ben" -// condition := expression.Name("InviteList").Contains("Ben") +// // condition represents the boolean condition of whether the item +// // attribute "InviteList" has the value "Ben" +// condition := expression.Name("InviteList").Contains("Ben") // -// // Used in another Condition Expression -// anotherCondition := expression.Not(condition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithCondition(condition) +// // Used in another Condition Expression +// anotherCondition := expression.Not(condition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithCondition(condition) // // Expression Equivalent: // -// expression.Name("InviteList").Contains("Ben") -// // Let :ben be an ExpressionAttributeValue representing the value "Ben" -// "contains (InviteList, :ben)" +// expression.Name("InviteList").Contains("Ben") +// // Let :ben be an ExpressionAttributeValue representing the value "Ben" +// "contains (InviteList, :ben)" func (nb NameBuilder) Contains(substr string) ConditionBuilder { return Contains(nb, substr) } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/condition_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/condition_test.go index a3665b78e4d2..00e655cbef38 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/condition_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/condition_test.go @@ -25,7 +25,7 @@ const ( invalidConditionOperand = "BuildOperand error" ) -//Compare +// Compare func TestCompare(t *testing.T) { cases := []struct { name string diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/doc.go index bdaa0af8649f..13522ad5bd2d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/doc.go @@ -3,7 +3,7 @@ Package expression provides types and functions to create Amazon DynamoDB Expression strings, ExpressionAttributeNames maps, and ExpressionAttributeValues maps. -Using the Package +# Using the Package The package represents the various DynamoDB Expressions as structs named accordingly. For example, ConditionBuilder represents a DynamoDB Condition @@ -11,10 +11,10 @@ Expression, an UpdateBuilder represents a DynamoDB Update Expression, and so on. The following example shows a sample ConditionExpression and how to build an equilvalent ConditionBuilder - // Let :a be an ExpressionAttributeValue representing the string "No One You - // Know" - condExpr := "Artist = :a" - condBuilder := expression.Name("Artist").Equal(expression.Value("No One You Know")) + // Let :a be an ExpressionAttributeValue representing the string "No One You + // Know" + condExpr := "Artist = :a" + condBuilder := expression.Name("Artist").Equal(expression.Value("No One You Know")) In order to retrieve the formatted DynamoDB Expression strings, call the getter methods on the Expression struct. To create the Expression struct, call the @@ -23,20 +23,20 @@ QueryInput, can have multiple DynamoDB Expressions, multiple structs representing various DynamoDB Expressions can be added to the Builder struct. The following example shows a generic usage of the whole package. - filt := expression.Name("Artist").Equal(expression.Value("No One You Know")) - proj := expression.NamesList(expression.Name("SongTitle"), expression.Name("AlbumTitle")) - expr, err := expression.NewBuilder().WithFilter(filt).WithProjection(proj).Build() - if err != nil { - fmt.Println(err) - } + filt := expression.Name("Artist").Equal(expression.Value("No One You Know")) + proj := expression.NamesList(expression.Name("SongTitle"), expression.Name("AlbumTitle")) + expr, err := expression.NewBuilder().WithFilter(filt).WithProjection(proj).Build() + if err != nil { + fmt.Println(err) + } - input := &dynamodb.ScanInput{ - ExpressionAttributeNames: expr.Names(), - ExpressionAttributeValues: expr.Values(), - FilterExpression: expr.Filter(), - ProjectionExpression: expr.Projection(), - TableName: aws.String("Music"), - } + input := &dynamodb.ScanInput{ + ExpressionAttributeNames: expr.Names(), + ExpressionAttributeValues: expr.Values(), + FilterExpression: expr.Filter(), + ProjectionExpression: expr.Projection(), + TableName: aws.String("Music"), + } The ExpressionAttributeNames and ExpressionAttributeValues member of the input struct must always be assigned when using the Expression struct because all item diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/error.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/error.go index 7378d7e219a2..3229686f1fa0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/error.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/error.go @@ -12,8 +12,8 @@ import ( // // Example: // -// // err is of type InvalidParameterError -// _, err := expression.Name("foo..bar").BuildOperand() +// // err is of type InvalidParameterError +// _, err := expression.Name("foo..bar").BuildOperand() type InvalidParameterError struct { parameterType string functionName string @@ -37,11 +37,11 @@ func newInvalidParameterError(funcName, paramType string) InvalidParameterError // // Example: // -// // err is of type UnsetParameterError -// _, err := expression.Builder{}.Build() -// _, err := expression.NewBuilder(). -// WithCondition(expression.ConditionBuilder{}). -// Build() +// // err is of type UnsetParameterError +// _, err := expression.Builder{}.Build() +// _, err := expression.NewBuilder(). +// WithCondition(expression.ConditionBuilder{}). +// Build() type UnsetParameterError struct { parameterType string functionName string diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/expression.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/expression.go index 7640b19d864f..185cedcadcc9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/expression.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/expression.go @@ -42,19 +42,19 @@ func (l typeList) Swap(i, j int) { // // Example: // -// keyCond := expression.Key("someKey").Equal(expression.Value("someValue")) -// proj := expression.NamesList(expression.Name("aName"), expression.Name("anotherName"), expression.Name("oneOtherName")) -// -// builder := expression.NewBuilder().WithKeyCondition(keyCond).WithProjection(proj) -// expr := builder.Build() -// -// queryInput := dynamodb.QueryInput{ -// KeyConditionExpression: expr.KeyCondition(), -// ProjectionExpression: expr.Projection(), -// ExpressionAttributeNames: expr.Names(), -// ExpressionAttributeValues: expr.Values(), -// TableName: aws.String("SomeTable"), -// } +// keyCond := expression.Key("someKey").Equal(expression.Value("someValue")) +// proj := expression.NamesList(expression.Name("aName"), expression.Name("anotherName"), expression.Name("oneOtherName")) +// +// builder := expression.NewBuilder().WithKeyCondition(keyCond).WithProjection(proj) +// expr := builder.Build() +// +// queryInput := dynamodb.QueryInput{ +// KeyConditionExpression: expr.KeyCondition(), +// ProjectionExpression: expr.Projection(), +// ExpressionAttributeNames: expr.Names(), +// ExpressionAttributeValues: expr.Values(), +// TableName: aws.String("SomeTable"), +// } type Builder struct { expressionMap map[expressionType]treeBuilder } @@ -66,9 +66,9 @@ type Builder struct { // // Example: // -// keyCond := expression.Key("someKey").Equal(expression.Value("someValue")) -// proj := expression.NamesList(expression.Name("aName"), expression.Name("anotherName"), expression.Name("oneOtherName")) -// builder := expression.NewBuilder().WithKeyCondition(keyCond).WithProjection(proj) +// keyCond := expression.Key("someKey").Equal(expression.Value("someValue")) +// proj := expression.NamesList(expression.Name("aName"), expression.Name("anotherName"), expression.Name("oneOtherName")) +// builder := expression.NewBuilder().WithKeyCondition(keyCond).WithProjection(proj) func NewBuilder() Builder { return Builder{} } @@ -81,23 +81,23 @@ func NewBuilder() Builder { // // Example: // -// // keyCond represents the Key Condition Expression -// keyCond := expression.Key("someKey").Equal(expression.Value("someValue")) -// // proj represents the Projection Expression -// proj := expression.NamesList(expression.Name("aName"), expression.Name("anotherName"), expression.Name("oneOtherName")) -// -// // Add keyCond and proj to builder as a Key Condition and Projection -// // respectively -// builder := expression.NewBuilder().WithKeyCondition(keyCond).WithProjection(proj) -// expr := builder.Build() -// -// queryInput := dynamodb.QueryInput{ -// KeyConditionExpression: expr.KeyCondition(), -// ProjectionExpression: expr.Projection(), -// ExpressionAttributeNames: expr.Names(), -// ExpressionAttributeValues: expr.Values(), -// TableName: aws.String("SomeTable"), -// } +// // keyCond represents the Key Condition Expression +// keyCond := expression.Key("someKey").Equal(expression.Value("someValue")) +// // proj represents the Projection Expression +// proj := expression.NamesList(expression.Name("aName"), expression.Name("anotherName"), expression.Name("oneOtherName")) +// +// // Add keyCond and proj to builder as a Key Condition and Projection +// // respectively +// builder := expression.NewBuilder().WithKeyCondition(keyCond).WithProjection(proj) +// expr := builder.Build() +// +// queryInput := dynamodb.QueryInput{ +// KeyConditionExpression: expr.KeyCondition(), +// ProjectionExpression: expr.Projection(), +// ExpressionAttributeNames: expr.Names(), +// ExpressionAttributeValues: expr.Values(), +// TableName: aws.String("SomeTable"), +// } func (b Builder) Build() (Expression, error) { if b.expressionMap == nil { return Expression{}, newUnsetParameterError("Build", "Builder") @@ -169,15 +169,15 @@ func (b Builder) buildChildTrees() (aliasList, map[expressionType]string, error) // // Example: // -// // let builder be an existing Builder{} and cond be an existing -// // ConditionBuilder{} -// builder = builder.WithCondition(cond) +// // let builder be an existing Builder{} and cond be an existing +// // ConditionBuilder{} +// builder = builder.WithCondition(cond) // -// // add other DynamoDB Expressions to the builder. let proj be an already -// // existing ProjectionBuilder -// builder = builder.WithProjection(proj) -// // create an Expression struct -// expr := builder.Build() +// // add other DynamoDB Expressions to the builder. let proj be an already +// // existing ProjectionBuilder +// builder = builder.WithProjection(proj) +// // create an Expression struct +// expr := builder.Build() func (b Builder) WithCondition(conditionBuilder ConditionBuilder) Builder { if b.expressionMap == nil { b.expressionMap = map[expressionType]treeBuilder{} @@ -193,15 +193,15 @@ func (b Builder) WithCondition(conditionBuilder ConditionBuilder) Builder { // // Example: // -// // let builder be an existing Builder{} and proj be an existing -// // ProjectionBuilder{} -// builder = builder.WithProjection(proj) +// // let builder be an existing Builder{} and proj be an existing +// // ProjectionBuilder{} +// builder = builder.WithProjection(proj) // -// // add other DynamoDB Expressions to the builder. let cond be an already -// // existing ConditionBuilder -// builder = builder.WithCondition(cond) -// // create an Expression struct -// expr := builder.Build() +// // add other DynamoDB Expressions to the builder. let cond be an already +// // existing ConditionBuilder +// builder = builder.WithCondition(cond) +// // create an Expression struct +// expr := builder.Build() func (b Builder) WithProjection(projectionBuilder ProjectionBuilder) Builder { if b.expressionMap == nil { b.expressionMap = map[expressionType]treeBuilder{} @@ -217,15 +217,15 @@ func (b Builder) WithProjection(projectionBuilder ProjectionBuilder) Builder { // // Example: // -// // let builder be an existing Builder{} and keyCond be an existing -// // KeyConditionBuilder{} -// builder = builder.WithKeyCondition(keyCond) +// // let builder be an existing Builder{} and keyCond be an existing +// // KeyConditionBuilder{} +// builder = builder.WithKeyCondition(keyCond) // -// // add other DynamoDB Expressions to the builder. let cond be an already -// // existing ConditionBuilder -// builder = builder.WithCondition(cond) -// // create an Expression struct -// expr := builder.Build() +// // add other DynamoDB Expressions to the builder. let cond be an already +// // existing ConditionBuilder +// builder = builder.WithCondition(cond) +// // create an Expression struct +// expr := builder.Build() func (b Builder) WithKeyCondition(keyConditionBuilder KeyConditionBuilder) Builder { if b.expressionMap == nil { b.expressionMap = map[expressionType]treeBuilder{} @@ -241,15 +241,15 @@ func (b Builder) WithKeyCondition(keyConditionBuilder KeyConditionBuilder) Build // // Example: // -// // let builder be an existing Builder{} and filt be an existing -// // ConditionBuilder{} -// builder = builder.WithFilter(filt) +// // let builder be an existing Builder{} and filt be an existing +// // ConditionBuilder{} +// builder = builder.WithFilter(filt) // -// // add other DynamoDB Expressions to the builder. let cond be an already -// // existing ConditionBuilder -// builder = builder.WithCondition(cond) -// // create an Expression struct -// expr := builder.Build() +// // add other DynamoDB Expressions to the builder. let cond be an already +// // existing ConditionBuilder +// builder = builder.WithCondition(cond) +// // create an Expression struct +// expr := builder.Build() func (b Builder) WithFilter(filterBuilder ConditionBuilder) Builder { if b.expressionMap == nil { b.expressionMap = map[expressionType]treeBuilder{} @@ -265,15 +265,15 @@ func (b Builder) WithFilter(filterBuilder ConditionBuilder) Builder { // // Example: // -// // let builder be an existing Builder{} and update be an existing -// // UpdateBuilder{} -// builder = builder.WithUpdate(update) +// // let builder be an existing Builder{} and update be an existing +// // UpdateBuilder{} +// builder = builder.WithUpdate(update) // -// // add other DynamoDB Expressions to the builder. let cond be an already -// // existing ConditionBuilder -// builder = builder.WithCondition(cond) -// // create an Expression struct -// expr := builder.Build() +// // add other DynamoDB Expressions to the builder. let cond be an already +// // existing ConditionBuilder +// builder = builder.WithCondition(cond) +// // create an Expression struct +// expr := builder.Build() func (b Builder) WithUpdate(updateBuilder UpdateBuilder) Builder { if b.expressionMap == nil { b.expressionMap = map[expressionType]treeBuilder{} @@ -288,23 +288,23 @@ func (b Builder) WithUpdate(updateBuilder UpdateBuilder) Builder { // // Example: // -// // keyCond represents the Key Condition Expression -// keyCond := expression.Key("someKey").Equal(expression.Value("someValue")) -// // proj represents the Projection Expression -// proj := expression.NamesList(expression.Name("aName"), expression.Name("anotherName"), expression.Name("oneOtherName")) -// -// // Add keyCond and proj to builder as a Key Condition and Projection -// // respectively -// builder := expression.NewBuilder().WithKeyCondition(keyCond).WithProjection(proj) -// expr := builder.Build() -// -// queryInput := dynamodb.QueryInput{ -// KeyConditionExpression: expr.KeyCondition(), -// ProjectionExpression: expr.Projection(), -// ExpressionAttributeNames: expr.Names(), -// ExpressionAttributeValues: expr.Values(), -// TableName: aws.String("SomeTable"), -// } +// // keyCond represents the Key Condition Expression +// keyCond := expression.Key("someKey").Equal(expression.Value("someValue")) +// // proj represents the Projection Expression +// proj := expression.NamesList(expression.Name("aName"), expression.Name("anotherName"), expression.Name("oneOtherName")) +// +// // Add keyCond and proj to builder as a Key Condition and Projection +// // respectively +// builder := expression.NewBuilder().WithKeyCondition(keyCond).WithProjection(proj) +// expr := builder.Build() +// +// queryInput := dynamodb.QueryInput{ +// KeyConditionExpression: expr.KeyCondition(), +// ProjectionExpression: expr.Projection(), +// ExpressionAttributeNames: expr.Names(), +// ExpressionAttributeValues: expr.Values(), +// TableName: aws.String("SomeTable"), +// } type Expression struct { expressionMap map[expressionType]string namesMap map[string]*string @@ -328,19 +328,19 @@ type treeBuilder interface { // // Example: // -// // let expression be an instance of Expression{} -// -// deleteInput := dynamodb.DeleteItemInput{ -// ConditionExpression: expression.Condition(), -// ExpressionAttributeNames: expression.Names(), -// ExpressionAttributeValues: expression.Values(), -// Key: map[string]*dynamodb.AttributeValue{ -// "PartitionKey": &dynamodb.AttributeValue{ -// S: aws.String("SomeKey"), -// }, -// }, -// TableName: aws.String("SomeTable"), -// } +// // let expression be an instance of Expression{} +// +// deleteInput := dynamodb.DeleteItemInput{ +// ConditionExpression: expression.Condition(), +// ExpressionAttributeNames: expression.Names(), +// ExpressionAttributeValues: expression.Values(), +// Key: map[string]*dynamodb.AttributeValue{ +// "PartitionKey": &dynamodb.AttributeValue{ +// S: aws.String("SomeKey"), +// }, +// }, +// TableName: aws.String("SomeTable"), +// } func (e Expression) Condition() *string { return e.returnExpression(condition) } @@ -352,15 +352,15 @@ func (e Expression) Condition() *string { // // Example: // -// // let expression be an instance of Expression{} +// // let expression be an instance of Expression{} // -// queryInput := dynamodb.QueryInput{ -// KeyConditionExpression: expression.KeyCondition(), -// FilterExpression: expression.Filter(), -// ExpressionAttributeNames: expression.Names(), -// ExpressionAttributeValues: expression.Values(), -// TableName: aws.String("SomeTable"), -// } +// queryInput := dynamodb.QueryInput{ +// KeyConditionExpression: expression.KeyCondition(), +// FilterExpression: expression.Filter(), +// ExpressionAttributeNames: expression.Names(), +// ExpressionAttributeValues: expression.Values(), +// TableName: aws.String("SomeTable"), +// } func (e Expression) Filter() *string { return e.returnExpression(filter) } @@ -372,15 +372,15 @@ func (e Expression) Filter() *string { // // Example: // -// // let expression be an instance of Expression{} +// // let expression be an instance of Expression{} // -// queryInput := dynamodb.QueryInput{ -// KeyConditionExpression: expression.KeyCondition(), -// ProjectionExpression: expression.Projection(), -// ExpressionAttributeNames: expression.Names(), -// ExpressionAttributeValues: expression.Values(), -// TableName: aws.String("SomeTable"), -// } +// queryInput := dynamodb.QueryInput{ +// KeyConditionExpression: expression.KeyCondition(), +// ProjectionExpression: expression.Projection(), +// ExpressionAttributeNames: expression.Names(), +// ExpressionAttributeValues: expression.Values(), +// TableName: aws.String("SomeTable"), +// } func (e Expression) Projection() *string { return e.returnExpression(projection) } @@ -392,15 +392,15 @@ func (e Expression) Projection() *string { // // Example: // -// // let expression be an instance of Expression{} +// // let expression be an instance of Expression{} // -// queryInput := dynamodb.QueryInput{ -// KeyConditionExpression: expression.KeyCondition(), -// ProjectionExpression: expression.Projection(), -// ExpressionAttributeNames: expression.Names(), -// ExpressionAttributeValues: expression.Values(), -// TableName: aws.String("SomeTable"), -// } +// queryInput := dynamodb.QueryInput{ +// KeyConditionExpression: expression.KeyCondition(), +// ProjectionExpression: expression.Projection(), +// ExpressionAttributeNames: expression.Names(), +// ExpressionAttributeValues: expression.Values(), +// TableName: aws.String("SomeTable"), +// } func (e Expression) KeyCondition() *string { return e.returnExpression(keyCondition) } @@ -412,19 +412,19 @@ func (e Expression) KeyCondition() *string { // // Example: // -// // let expression be an instance of Expression{} -// -// updateInput := dynamodb.UpdateInput{ -// Key: map[string]*dynamodb.AttributeValue{ -// "PartitionKey": { -// S: aws.String("someKey"), -// }, -// }, -// UpdateExpression: expression.Update(), -// ExpressionAttributeNames: expression.Names(), -// ExpressionAttributeValues: expression.Values(), -// TableName: aws.String("SomeTable"), -// } +// // let expression be an instance of Expression{} +// +// updateInput := dynamodb.UpdateInput{ +// Key: map[string]*dynamodb.AttributeValue{ +// "PartitionKey": { +// S: aws.String("someKey"), +// }, +// }, +// UpdateExpression: expression.Update(), +// ExpressionAttributeNames: expression.Names(), +// ExpressionAttributeValues: expression.Values(), +// TableName: aws.String("SomeTable"), +// } func (e Expression) Update() *string { return e.returnExpression(update) } @@ -442,15 +442,15 @@ func (e Expression) Update() *string { // // Example: // -// // let expression be an instance of Expression{} +// // let expression be an instance of Expression{} // -// queryInput := dynamodb.QueryInput{ -// KeyConditionExpression: expression.KeyCondition(), -// ProjectionExpression: expression.Projection(), -// ExpressionAttributeNames: expression.Names(), -// ExpressionAttributeValues: expression.Values(), -// TableName: aws.String("SomeTable"), -// } +// queryInput := dynamodb.QueryInput{ +// KeyConditionExpression: expression.KeyCondition(), +// ProjectionExpression: expression.Projection(), +// ExpressionAttributeNames: expression.Names(), +// ExpressionAttributeValues: expression.Values(), +// TableName: aws.String("SomeTable"), +// } func (e Expression) Names() map[string]*string { return e.namesMap } @@ -468,15 +468,15 @@ func (e Expression) Names() map[string]*string { // // Example: // -// // let expression be an instance of Expression{} +// // let expression be an instance of Expression{} // -// queryInput := dynamodb.QueryInput{ -// KeyConditionExpression: expression.KeyCondition(), -// ProjectionExpression: expression.Projection(), -// ExpressionAttributeNames: expression.Names(), -// ExpressionAttributeValues: expression.Values(), -// TableName: aws.String("SomeTable"), -// } +// queryInput := dynamodb.QueryInput{ +// KeyConditionExpression: expression.KeyCondition(), +// ProjectionExpression: expression.Projection(), +// ExpressionAttributeNames: expression.Names(), +// ExpressionAttributeValues: expression.Values(), +// TableName: aws.String("SomeTable"), +// } func (e Expression) Values() map[string]*dynamodb.AttributeValue { return e.valuesMap } @@ -501,12 +501,13 @@ func (e Expression) returnExpression(expressionType expressionType) *string { // fmtExpr is a string that has escaped characters to refer to // names/values/children which needs to be aliased at runtime in order to avoid // duplicate values. The rules are as follows: -// $n: Indicates that an alias of a name needs to be inserted. The -// corresponding name to be alias is in the []names slice. -// $v: Indicates that an alias of a value needs to be inserted. The -// corresponding value to be alias is in the []values slice. -// $c: Indicates that the fmtExpr of a child exprNode needs to be inserted. -// The corresponding child node is in the []children slice. +// +// $n: Indicates that an alias of a name needs to be inserted. The +// corresponding name to be alias is in the []names slice. +// $v: Indicates that an alias of a value needs to be inserted. The +// corresponding value to be alias is in the []values slice. +// $c: Indicates that the fmtExpr of a child exprNode needs to be inserted. +// The corresponding child node is in the []children slice. type exprNode struct { names []string values []dynamodb.AttributeValue diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/key_condition.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/key_condition.go index e8917b67746e..116b0281c76d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/key_condition.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/key_condition.go @@ -47,20 +47,20 @@ type KeyConditionBuilder struct { // // Example: // -// // keyCondition represents the equal clause of the key "foo" and the -// // value 5 -// keyCondition := expression.KeyEqual(expression.Key("foo"), expression.Value(5)) +// // keyCondition represents the equal clause of the key "foo" and the +// // value 5 +// keyCondition := expression.KeyEqual(expression.Key("foo"), expression.Value(5)) // -// // Used in another Key Condition Expression -// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithKeyCondition(keyCondition) +// // Used in another Key Condition Expression +// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithKeyCondition(keyCondition) // // Expression Equivalent: // -// expression.KeyEqual(expression.Key("foo"), expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo = :five" +// expression.KeyEqual(expression.Key("foo"), expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo = :five" func KeyEqual(keyBuilder KeyBuilder, valueBuilder ValueBuilder) KeyConditionBuilder { return KeyConditionBuilder{ operandList: []OperandBuilder{keyBuilder, valueBuilder}, @@ -75,20 +75,20 @@ func KeyEqual(keyBuilder KeyBuilder, valueBuilder ValueBuilder) KeyConditionBuil // // Example: // -// // keyCondition represents the equal clause of the key "foo" and the -// // value 5 -// keyCondition := expression.Key("foo").Equal(expression.Value(5)) +// // keyCondition represents the equal clause of the key "foo" and the +// // value 5 +// keyCondition := expression.Key("foo").Equal(expression.Value(5)) // -// // Used in another Key Condition Expression -// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) -// // Used to make an Builder -// builder := expression.NewBuilder().WithKeyCondition(keyCondition) +// // Used in another Key Condition Expression +// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithKeyCondition(keyCondition) // // Expression Equivalent: // -// expression.Key("foo").Equal(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo = :five" +// expression.Key("foo").Equal(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo = :five" func (kb KeyBuilder) Equal(valueBuilder ValueBuilder) KeyConditionBuilder { return KeyEqual(kb, valueBuilder) } @@ -99,18 +99,18 @@ func (kb KeyBuilder) Equal(valueBuilder ValueBuilder) KeyConditionBuilder { // // Example: // -// // keyCondition represents the less than clause of the key "foo" and the -// // value 5 -// keyCondition := expression.KeyLessThan(expression.Key("foo"), expression.Value(5)) +// // keyCondition represents the less than clause of the key "foo" and the +// // value 5 +// keyCondition := expression.KeyLessThan(expression.Key("foo"), expression.Value(5)) // -// // Used in another Key Condition Expression -// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) +// // Used in another Key Condition Expression +// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) // // Expression Equivalent: // -// expression.KeyLessThan(expression.Key("foo"), expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo < :five" +// expression.KeyLessThan(expression.Key("foo"), expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo < :five" func KeyLessThan(keyBuilder KeyBuilder, valueBuilder ValueBuilder) KeyConditionBuilder { return KeyConditionBuilder{ operandList: []OperandBuilder{keyBuilder, valueBuilder}, @@ -124,18 +124,18 @@ func KeyLessThan(keyBuilder KeyBuilder, valueBuilder ValueBuilder) KeyConditionB // // Example: // -// // keyCondition represents the less than clause of the key "foo" and the -// // value 5 -// keyCondition := expression.Key("foo").LessThan(expression.Value(5)) +// // keyCondition represents the less than clause of the key "foo" and the +// // value 5 +// keyCondition := expression.Key("foo").LessThan(expression.Value(5)) // -// // Used in another Key Condition Expression -// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) +// // Used in another Key Condition Expression +// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) // // Expression Equivalent: // -// expression.Key("foo").LessThan(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo < :five" +// expression.Key("foo").LessThan(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo < :five" func (kb KeyBuilder) LessThan(valueBuilder ValueBuilder) KeyConditionBuilder { return KeyLessThan(kb, valueBuilder) } @@ -146,18 +146,18 @@ func (kb KeyBuilder) LessThan(valueBuilder ValueBuilder) KeyConditionBuilder { // // Example: // -// // keyCondition represents the less than equal to clause of the key -// // "foo" and the value 5 -// keyCondition := expression.KeyLessThanEqual(expression.Key("foo"), expression.Value(5)) +// // keyCondition represents the less than equal to clause of the key +// // "foo" and the value 5 +// keyCondition := expression.KeyLessThanEqual(expression.Key("foo"), expression.Value(5)) // -// // Used in another Key Condition Expression -// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) +// // Used in another Key Condition Expression +// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) // // Expression Equivalent: // -// expression.KeyLessThanEqual(expression.Key("foo"), expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo <= :five" +// expression.KeyLessThanEqual(expression.Key("foo"), expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo <= :five" func KeyLessThanEqual(keyBuilder KeyBuilder, valueBuilder ValueBuilder) KeyConditionBuilder { return KeyConditionBuilder{ operandList: []OperandBuilder{keyBuilder, valueBuilder}, @@ -171,18 +171,18 @@ func KeyLessThanEqual(keyBuilder KeyBuilder, valueBuilder ValueBuilder) KeyCondi // // Example: // -// // keyCondition represents the less than equal to clause of the key -// // "foo" and the value 5 -// keyCondition := expression.Key("foo").LessThanEqual(expression.Value(5)) +// // keyCondition represents the less than equal to clause of the key +// // "foo" and the value 5 +// keyCondition := expression.Key("foo").LessThanEqual(expression.Value(5)) // -// // Used in another Key Condition Expression -// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) +// // Used in another Key Condition Expression +// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) // // Expression Equivalent: // -// expression.Key("foo").LessThanEqual(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo <= :five" +// expression.Key("foo").LessThanEqual(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo <= :five" func (kb KeyBuilder) LessThanEqual(valueBuilder ValueBuilder) KeyConditionBuilder { return KeyLessThanEqual(kb, valueBuilder) } @@ -193,18 +193,18 @@ func (kb KeyBuilder) LessThanEqual(valueBuilder ValueBuilder) KeyConditionBuilde // // Example: // -// // keyCondition represents the greater than clause of the key "foo" and -// // the value 5 -// keyCondition := expression.KeyGreaterThan(expression.Key("foo"), expression.Value(5)) +// // keyCondition represents the greater than clause of the key "foo" and +// // the value 5 +// keyCondition := expression.KeyGreaterThan(expression.Key("foo"), expression.Value(5)) // -// // Used in another Key Condition Expression -// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) +// // Used in another Key Condition Expression +// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) // // Expression Equivalent: // -// expression.KeyGreaterThan(expression.Key("foo"), expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo > :five" +// expression.KeyGreaterThan(expression.Key("foo"), expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo > :five" func KeyGreaterThan(keyBuilder KeyBuilder, valueBuilder ValueBuilder) KeyConditionBuilder { return KeyConditionBuilder{ operandList: []OperandBuilder{keyBuilder, valueBuilder}, @@ -218,18 +218,18 @@ func KeyGreaterThan(keyBuilder KeyBuilder, valueBuilder ValueBuilder) KeyConditi // // Example: // -// // key condition represents the greater than clause of the key "foo" and -// // the value 5 -// keyCondition := expression.Key("foo").GreaterThan(expression.Value(5)) +// // key condition represents the greater than clause of the key "foo" and +// // the value 5 +// keyCondition := expression.Key("foo").GreaterThan(expression.Value(5)) // -// // Used in another Key Condition Expression -// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) +// // Used in another Key Condition Expression +// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) // // Expression Equivalent: // -// expression.Key("foo").GreaterThan(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo > :five" +// expression.Key("foo").GreaterThan(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo > :five" func (kb KeyBuilder) GreaterThan(valueBuilder ValueBuilder) KeyConditionBuilder { return KeyGreaterThan(kb, valueBuilder) } @@ -241,18 +241,18 @@ func (kb KeyBuilder) GreaterThan(valueBuilder ValueBuilder) KeyConditionBuilder // // Example: // -// // keyCondition represents the greater than equal to clause of the key -// // "foo" and the value 5 -// keyCondition := expression.KeyGreaterThanEqual(expression.Key("foo"), expression.Value(5)) +// // keyCondition represents the greater than equal to clause of the key +// // "foo" and the value 5 +// keyCondition := expression.KeyGreaterThanEqual(expression.Key("foo"), expression.Value(5)) // -// // Used in another Key Condition Expression -// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) +// // Used in another Key Condition Expression +// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) // // Expression Equivalent: // -// expression.KeyGreaterThanEqual(expression.Key("foo"), expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo >= :five" +// expression.KeyGreaterThanEqual(expression.Key("foo"), expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo >= :five" func KeyGreaterThanEqual(keyBuilder KeyBuilder, valueBuilder ValueBuilder) KeyConditionBuilder { return KeyConditionBuilder{ operandList: []OperandBuilder{keyBuilder, valueBuilder}, @@ -266,18 +266,18 @@ func KeyGreaterThanEqual(keyBuilder KeyBuilder, valueBuilder ValueBuilder) KeyCo // // Example: // -// // keyCondition represents the greater than equal to clause of the key -// // "foo" and the value 5 -// keyCondition := expression.Key("foo").GreaterThanEqual(expression.Value(5)) +// // keyCondition represents the greater than equal to clause of the key +// // "foo" and the value 5 +// keyCondition := expression.Key("foo").GreaterThanEqual(expression.Value(5)) // -// // Used in another Key Condition Expression -// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) +// // Used in another Key Condition Expression +// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) // // Expression Equivalent: // -// expression.Key("foo").GreaterThanEqual(expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "foo >= :five" +// expression.Key("foo").GreaterThanEqual(expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "foo >= :five" func (kb KeyBuilder) GreaterThanEqual(valueBuilder ValueBuilder) KeyConditionBuilder { return KeyGreaterThanEqual(kb, valueBuilder) } @@ -289,21 +289,21 @@ func (kb KeyBuilder) GreaterThanEqual(valueBuilder ValueBuilder) KeyConditionBui // // Example: // -// // keyCondition represents the key condition where the partition key -// // "TeamName" is equal to value "Wildcats" and sort key "Number" is equal -// // to value 1 -// keyCondition := expression.KeyAnd(expression.Key("TeamName").Equal(expression.Value("Wildcats")), expression.Key("Number").Equal(expression.Value(1))) +// // keyCondition represents the key condition where the partition key +// // "TeamName" is equal to value "Wildcats" and sort key "Number" is equal +// // to value 1 +// keyCondition := expression.KeyAnd(expression.Key("TeamName").Equal(expression.Value("Wildcats")), expression.Key("Number").Equal(expression.Value(1))) // -// // Used to make an Builder -// builder := expression.NewBuilder().WithKeyCondition(keyCondition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithKeyCondition(keyCondition) // // Expression Equivalent: // -// expression.KeyAnd(expression.Key("TeamName").Equal(expression.Value("Wildcats")), expression.Key("Number").Equal(expression.Value(1))) -// // Let #NUMBER, :teamName, and :one be ExpressionAttributeName and -// // ExpressionAttributeValues representing the item attribute "Number", -// // the value "Wildcats", and the value 1 -// "(TeamName = :teamName) AND (#NUMBER = :one)" +// expression.KeyAnd(expression.Key("TeamName").Equal(expression.Value("Wildcats")), expression.Key("Number").Equal(expression.Value(1))) +// // Let #NUMBER, :teamName, and :one be ExpressionAttributeName and +// // ExpressionAttributeValues representing the item attribute "Number", +// // the value "Wildcats", and the value 1 +// "(TeamName = :teamName) AND (#NUMBER = :one)" func KeyAnd(left, right KeyConditionBuilder) KeyConditionBuilder { if left.mode != equalKeyCond { return KeyConditionBuilder{ @@ -328,21 +328,21 @@ func KeyAnd(left, right KeyConditionBuilder) KeyConditionBuilder { // // Example: // -// // keyCondition represents the key condition where the partition key -// // "TeamName" is equal to value "Wildcats" and sort key "Number" is equal -// // to value 1 -// keyCondition := expression.Key("TeamName").Equal(expression.Value("Wildcats")).And(expression.Key("Number").Equal(expression.Value(1))) +// // keyCondition represents the key condition where the partition key +// // "TeamName" is equal to value "Wildcats" and sort key "Number" is equal +// // to value 1 +// keyCondition := expression.Key("TeamName").Equal(expression.Value("Wildcats")).And(expression.Key("Number").Equal(expression.Value(1))) // -// // Used to make an Builder -// builder := expression.NewBuilder().WithKeyCondition(keyCondition) +// // Used to make an Builder +// builder := expression.NewBuilder().WithKeyCondition(keyCondition) // // Expression Equivalent: // -// expression.Key("TeamName").Equal(expression.Value("Wildcats")).And(expression.Key("Number").Equal(expression.Value(1))) -// // Let #NUMBER, :teamName, and :one be ExpressionAttributeName and -// // ExpressionAttributeValues representing the item attribute "Number", -// // the value "Wildcats", and the value 1 -// "(TeamName = :teamName) AND (#NUMBER = :one)" +// expression.Key("TeamName").Equal(expression.Value("Wildcats")).And(expression.Key("Number").Equal(expression.Value(1))) +// // Let #NUMBER, :teamName, and :one be ExpressionAttributeName and +// // ExpressionAttributeValues representing the item attribute "Number", +// // the value "Wildcats", and the value 1 +// "(TeamName = :teamName) AND (#NUMBER = :one)" func (kcb KeyConditionBuilder) And(right KeyConditionBuilder) KeyConditionBuilder { return KeyAnd(kcb, right) } @@ -353,19 +353,19 @@ func (kcb KeyConditionBuilder) And(right KeyConditionBuilder) KeyConditionBuilde // // Example: // -// // keyCondition represents the boolean key condition of whether the value -// // of the key "foo" is between values 5 and 10 -// keyCondition := expression.KeyBetween(expression.Key("foo"), expression.Value(5), expression.Value(10)) +// // keyCondition represents the boolean key condition of whether the value +// // of the key "foo" is between values 5 and 10 +// keyCondition := expression.KeyBetween(expression.Key("foo"), expression.Value(5), expression.Value(10)) // -// // Used in another Key Condition Expression -// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) +// // Used in another Key Condition Expression +// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) // // Expression Equivalent: // -// expression.KeyBetween(expression.Key("foo"), expression.Value(5), expression.Value(10)) -// // Let :five and :ten be ExpressionAttributeValues representing the -// // values 5 and 10 respectively -// "foo BETWEEN :five AND :ten" +// expression.KeyBetween(expression.Key("foo"), expression.Value(5), expression.Value(10)) +// // Let :five and :ten be ExpressionAttributeValues representing the +// // values 5 and 10 respectively +// "foo BETWEEN :five AND :ten" func KeyBetween(keyBuilder KeyBuilder, lower, upper ValueBuilder) KeyConditionBuilder { return KeyConditionBuilder{ operandList: []OperandBuilder{keyBuilder, lower, upper}, @@ -379,19 +379,19 @@ func KeyBetween(keyBuilder KeyBuilder, lower, upper ValueBuilder) KeyConditionBu // // Example: // -// // keyCondition represents the boolean key condition of whether the value -// // of the key "foo" is between values 5 and 10 -// keyCondition := expression.Key("foo").Between(expression.Value(5), expression.Value(10)) +// // keyCondition represents the boolean key condition of whether the value +// // of the key "foo" is between values 5 and 10 +// keyCondition := expression.Key("foo").Between(expression.Value(5), expression.Value(10)) // -// // Used in another Key Condition Expression -// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) +// // Used in another Key Condition Expression +// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) // // Expression Equivalent: // -// expression.Key("foo").Between(expression.Value(5), expression.Value(10)) -// // Let :five and :ten be ExpressionAttributeValues representing the -// // values 5 and 10 respectively -// "foo BETWEEN :five AND :ten" +// expression.Key("foo").Between(expression.Value(5), expression.Value(10)) +// // Let :five and :ten be ExpressionAttributeValues representing the +// // values 5 and 10 respectively +// "foo BETWEEN :five AND :ten" func (kb KeyBuilder) Between(lower, upper ValueBuilder) KeyConditionBuilder { return KeyBetween(kb, lower, upper) } @@ -402,18 +402,18 @@ func (kb KeyBuilder) Between(lower, upper ValueBuilder) KeyConditionBuilder { // // Example: // -// // keyCondition represents the boolean key condition of whether the value -// // of the key "foo" is begins with the prefix "bar" -// keyCondition := expression.KeyBeginsWith(expression.Key("foo"), "bar") +// // keyCondition represents the boolean key condition of whether the value +// // of the key "foo" is begins with the prefix "bar" +// keyCondition := expression.KeyBeginsWith(expression.Key("foo"), "bar") // -// // Used in another Key Condition Expression -// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) +// // Used in another Key Condition Expression +// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) // // Expression Equivalent: // -// expression.KeyBeginsWith(expression.Key("foo"), "bar") -// // Let :bar be an ExpressionAttributeValue representing the value "bar" -// "begins_with(foo, :bar)" +// expression.KeyBeginsWith(expression.Key("foo"), "bar") +// // Let :bar be an ExpressionAttributeValue representing the value "bar" +// "begins_with(foo, :bar)" func KeyBeginsWith(keyBuilder KeyBuilder, prefix string) KeyConditionBuilder { valueBuilder := ValueBuilder{ value: prefix, @@ -430,18 +430,18 @@ func KeyBeginsWith(keyBuilder KeyBuilder, prefix string) KeyConditionBuilder { // // Example: // -// // keyCondition represents the boolean key condition of whether the value -// // of the key "foo" is begins with the prefix "bar" -// keyCondition := expression.Key("foo").BeginsWith("bar") +// // keyCondition represents the boolean key condition of whether the value +// // of the key "foo" is begins with the prefix "bar" +// keyCondition := expression.Key("foo").BeginsWith("bar") // -// // Used in another Key Condition Expression -// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) +// // Used in another Key Condition Expression +// anotherKeyCondition := expression.Key("partitionKey").Equal(expression.Value("aValue")).And(keyCondition) // // Expression Equivalent: // -// expression.Key("foo").BeginsWith("bar") -// // Let :bar be an ExpressionAttributeValue representing the value "bar" -// "begins_with(foo, :bar)" +// expression.Key("foo").BeginsWith("bar") +// // Let :bar be an ExpressionAttributeValue representing the value "bar" +// "begins_with(foo, :bar)" func (kb KeyBuilder) BeginsWith(prefix string) KeyConditionBuilder { return KeyBeginsWith(kb, prefix) } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/operand.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/operand.go index a859f7bd9fa0..15cd522b35bc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/operand.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/operand.go @@ -15,8 +15,8 @@ import ( // // Example: // -// // Create a ValueBuilder representing the string "aValue" -// valueBuilder := expression.Value("aValue") +// // Create a ValueBuilder representing the string "aValue" +// valueBuilder := expression.Value("aValue") type ValueBuilder struct { value interface{} } @@ -29,8 +29,8 @@ type ValueBuilder struct { // // Example: // -// // Create a NameBuilder representing the item attribute "aName" -// nameBuilder := expression.Name("aName") +// // Create a NameBuilder representing the item attribute "aName" +// nameBuilder := expression.Name("aName") type NameBuilder struct { name string } @@ -44,9 +44,9 @@ type NameBuilder struct { // // Example: // -// // Create a SizeBuilder representing the size of the item attribute -// // "aName" -// sizeBuilder := expression.Name("aName").Size() +// // Create a SizeBuilder representing the size of the item attribute +// // "aName" +// sizeBuilder := expression.Name("aName").Size() type SizeBuilder struct { nameBuilder NameBuilder } @@ -61,8 +61,8 @@ type SizeBuilder struct { // // Example: // -// // Create a KeyBuilder representing the item key "aKey" -// keyBuilder := expression.Key("aKey") +// // Create a KeyBuilder representing the item key "aKey" +// keyBuilder := expression.Key("aKey") type KeyBuilder struct { key string } @@ -82,10 +82,12 @@ const ( // SetValueBuilder represents the outcome of operator functions supported by the // DynamoDB Set operation. The operator functions are the following: -// Plus() // Represents the "+" operator -// Minus() // Represents the "-" operator -// ListAppend() -// IfNotExists() +// +// Plus() // Represents the "+" operator +// Minus() // Represents the "-" operator +// ListAppend() +// IfNotExists() +// // For documentation on the above functions, // see: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.UpdateExpressions.html#Expressions.UpdateExpressions.SET // Since SetValueBuilder represents an operand, it implements the OperandBuilder @@ -125,12 +127,12 @@ type OperandBuilder interface { // // Example: // -// // Specify a top-level attribute -// name := expression.Name("TopLevel") -// // Specify a nested attribute -// nested := expression.Name("Record[6].SongList") -// // Use Name() to create a condition expression -// condition := expression.Name("foo").Equal(expression.Name("bar")) +// // Specify a top-level attribute +// name := expression.Name("TopLevel") +// // Specify a nested attribute +// nested := expression.Name("Record[6].SongList") +// // Use Name() to create a condition expression +// condition := expression.Name("foo").Equal(expression.Name("bar")) func Name(name string) NameBuilder { return NameBuilder{ name: name, @@ -147,10 +149,10 @@ func Name(name string) NameBuilder { // // Example: // -// // Use Value() to create a condition expression -// condition := expression.Name("foo").Equal(expression.Value(10)) -// // Use Value() to set the value of a set expression. -// update := Set(expression.Name("greets"), expression.Value((&dynamodb.AttributeValue{}).SetS("hello"))) +// // Use Value() to create a condition expression +// condition := expression.Name("foo").Equal(expression.Value(10)) +// // Use Value() to set the value of a set expression. +// update := Set(expression.Name("greets"), expression.Value((&dynamodb.AttributeValue{}).SetS("hello"))) func Value(value interface{}) ValueBuilder { return ValueBuilder{ value: value, @@ -166,13 +168,13 @@ func Value(value interface{}) ValueBuilder { // // Example: // -// // Use Size() to create a condition expression -// condition := expression.Name("foo").Size().Equal(expression.Value(10)) +// // Use Size() to create a condition expression +// condition := expression.Name("foo").Size().Equal(expression.Value(10)) // // Expression Equivalent: // -// expression.Name("aName").Size() -// "size (aName)" +// expression.Name("aName").Size() +// "size (aName)" func (nb NameBuilder) Size() SizeBuilder { return SizeBuilder{ nameBuilder: nb, @@ -188,13 +190,13 @@ func (nb NameBuilder) Size() SizeBuilder { // // Example: // -// // Use Size() to create a condition expression -// condition := expression.Size(expression.Name("foo")).Equal(expression.Value(10)) +// // Use Size() to create a condition expression +// condition := expression.Size(expression.Name("foo")).Equal(expression.Value(10)) // // Expression Equivalent: // -// expression.Size(expression.Name("aName")) -// "size (aName)" +// expression.Size(expression.Name("aName")) +// "size (aName)" func Size(nameBuilder NameBuilder) SizeBuilder { return nameBuilder.Size() } @@ -206,8 +208,8 @@ func Size(nameBuilder NameBuilder) SizeBuilder { // // Example: // -// // Use Key() to create a key condition expression -// keyCondition := expression.Key("foo").Equal(expression.Value("bar")) +// // Use Key() to create a key condition expression +// keyCondition := expression.Key("foo").Equal(expression.Value("bar")) func Key(key string) KeyBuilder { return KeyBuilder{ key: key, @@ -222,15 +224,15 @@ func Key(key string) KeyBuilder { // // Example: // -// // Use Plus() to set the value of the item attribute "someName" to 5 + 10 -// update, err := expression.Set(expression.Name("someName"), expression.Plus(expression.Value(5), expression.Value(10))) +// // Use Plus() to set the value of the item attribute "someName" to 5 + 10 +// update, err := expression.Set(expression.Name("someName"), expression.Plus(expression.Value(5), expression.Value(10))) // // Expression Equivalent: // -// expression.Plus(expression.Value(5), expression.Value(10)) -// // let :five and :ten be ExpressionAttributeValues for the values 5 and -// // 10 respectively. -// ":five + :ten" +// expression.Plus(expression.Value(5), expression.Value(10)) +// // let :five and :ten be ExpressionAttributeValues for the values 5 and +// // 10 respectively. +// ":five + :ten" func Plus(leftOperand, rightOperand OperandBuilder) SetValueBuilder { return SetValueBuilder{ leftOperand: leftOperand, @@ -247,15 +249,15 @@ func Plus(leftOperand, rightOperand OperandBuilder) SetValueBuilder { // // Example: // -// // Use Plus() to set the value of the item attribute "someName" to the -// // numeric value of item attribute "aName" incremented by 10 -// update, err := expression.Set(expression.Name("someName"), expression.Name("aName").Plus(expression.Value(10))) +// // Use Plus() to set the value of the item attribute "someName" to the +// // numeric value of item attribute "aName" incremented by 10 +// update, err := expression.Set(expression.Name("someName"), expression.Name("aName").Plus(expression.Value(10))) // // Expression Equivalent: // -// expression.Name("aName").Plus(expression.Value(10)) -// // let :ten be ExpressionAttributeValues representing the value 10 -// "aName + :ten" +// expression.Name("aName").Plus(expression.Value(10)) +// // let :ten be ExpressionAttributeValues representing the value 10 +// "aName + :ten" func (nb NameBuilder) Plus(rightOperand OperandBuilder) SetValueBuilder { return Plus(nb, rightOperand) } @@ -268,15 +270,15 @@ func (nb NameBuilder) Plus(rightOperand OperandBuilder) SetValueBuilder { // // Example: // -// // Use Plus() to set the value of the item attribute "someName" to 5 + 10 -// update, err := expression.Set(expression.Name("someName"), expression.Value(5).Plus(expression.Value(10))) +// // Use Plus() to set the value of the item attribute "someName" to 5 + 10 +// update, err := expression.Set(expression.Name("someName"), expression.Value(5).Plus(expression.Value(10))) // // Expression Equivalent: // -// expression.Value(5).Plus(expression.Value(10)) -// // let :five and :ten be ExpressionAttributeValues representing the value -// // 5 and 10 respectively -// ":five + :ten" +// expression.Value(5).Plus(expression.Value(10)) +// // let :five and :ten be ExpressionAttributeValues representing the value +// // 5 and 10 respectively +// ":five + :ten" func (vb ValueBuilder) Plus(rightOperand OperandBuilder) SetValueBuilder { return Plus(vb, rightOperand) } @@ -289,15 +291,15 @@ func (vb ValueBuilder) Plus(rightOperand OperandBuilder) SetValueBuilder { // // Example: // -// // Use Minus() to set the value of item attribute "someName" to 5 - 10 -// update, err := expression.Set(expression.Name("someName"), expression.Minus(expression.Value(5), expression.Value(10))) +// // Use Minus() to set the value of item attribute "someName" to 5 - 10 +// update, err := expression.Set(expression.Name("someName"), expression.Minus(expression.Value(5), expression.Value(10))) // // Expression Equivalent: // -// expression.Minus(expression.Value(5), expression.Value(10)) -// // let :five and :ten be ExpressionAttributeValues for the values 5 and -// // 10 respectively. -// ":five - :ten" +// expression.Minus(expression.Value(5), expression.Value(10)) +// // let :five and :ten be ExpressionAttributeValues for the values 5 and +// // 10 respectively. +// ":five - :ten" func Minus(leftOperand, rightOperand OperandBuilder) SetValueBuilder { return SetValueBuilder{ leftOperand: leftOperand, @@ -314,15 +316,15 @@ func Minus(leftOperand, rightOperand OperandBuilder) SetValueBuilder { // // Example: // -// // Use Minus() to set the value of item attribute "someName" to the -// // numeric value of "aName" decremented by 10 -// update, err := expression.Set(expression.Name("someName"), expression.Name("aName").Minus(expression.Value(10))) +// // Use Minus() to set the value of item attribute "someName" to the +// // numeric value of "aName" decremented by 10 +// update, err := expression.Set(expression.Name("someName"), expression.Name("aName").Minus(expression.Value(10))) // // Expression Equivalent: // -// expression.Name("aName").Minus(expression.Value(10))) -// // let :ten be ExpressionAttributeValues represent the value 10 -// "aName - :ten" +// expression.Name("aName").Minus(expression.Value(10))) +// // let :ten be ExpressionAttributeValues represent the value 10 +// "aName - :ten" func (nb NameBuilder) Minus(rightOperand OperandBuilder) SetValueBuilder { return Minus(nb, rightOperand) } @@ -335,15 +337,15 @@ func (nb NameBuilder) Minus(rightOperand OperandBuilder) SetValueBuilder { // // Example: // -// // Use Minus() to set the value of item attribute "someName" to 5 - 10 -// update, err := expression.Set(expression.Name("someName"), expression.Value(5).Minus(expression.Value(10))) +// // Use Minus() to set the value of item attribute "someName" to 5 - 10 +// update, err := expression.Set(expression.Name("someName"), expression.Value(5).Minus(expression.Value(10))) // // Expression Equivalent: // -// expression.Value(5).Minus(expression.Value(10)) -// // let :five and :ten be ExpressionAttributeValues for the values 5 and -// // 10 respectively. -// ":five - :ten" +// expression.Value(5).Minus(expression.Value(10)) +// // let :five and :ten be ExpressionAttributeValues for the values 5 and +// // 10 respectively. +// ":five - :ten" func (vb ValueBuilder) Minus(rightOperand OperandBuilder) SetValueBuilder { return Minus(vb, rightOperand) } @@ -356,16 +358,16 @@ func (vb ValueBuilder) Minus(rightOperand OperandBuilder) SetValueBuilder { // // Example: // -// // Use ListAppend() to set item attribute "someName" to the item -// // attribute "nameOfList" with "some" and "list" appended to it -// update, err := expression.Set(expression.Name("someName"), expression.ListAppend(expression.Name("nameOfList"), expression.Value([]string{"some", "list"}))) +// // Use ListAppend() to set item attribute "someName" to the item +// // attribute "nameOfList" with "some" and "list" appended to it +// update, err := expression.Set(expression.Name("someName"), expression.ListAppend(expression.Name("nameOfList"), expression.Value([]string{"some", "list"}))) // // Expression Equivalent: // -// expression.ListAppend(expression.Name("nameOfList"), expression.Value([]string{"some", "list"}) -// // let :list be a ExpressionAttributeValue representing the list -// // containing "some" and "list". -// "list_append (nameOfList, :list)" +// expression.ListAppend(expression.Name("nameOfList"), expression.Value([]string{"some", "list"}) +// // let :list be a ExpressionAttributeValue representing the list +// // containing "some" and "list". +// "list_append (nameOfList, :list)" func ListAppend(leftOperand, rightOperand OperandBuilder) SetValueBuilder { return SetValueBuilder{ leftOperand: leftOperand, @@ -382,16 +384,16 @@ func ListAppend(leftOperand, rightOperand OperandBuilder) SetValueBuilder { // // Example: // -// // Use ListAppend() to set item attribute "someName" to the item -// // attribute "nameOfList" with "some" and "list" appended to it -// update, err := expression.Set(expression.Name("someName"), expression.Name("nameOfList").ListAppend(expression.Value([]string{"some", "list"}))) +// // Use ListAppend() to set item attribute "someName" to the item +// // attribute "nameOfList" with "some" and "list" appended to it +// update, err := expression.Set(expression.Name("someName"), expression.Name("nameOfList").ListAppend(expression.Value([]string{"some", "list"}))) // // Expression Equivalent: // -// expression.Name("nameOfList").ListAppend(expression.Value([]string{"some", "list"}) -// // let :list be a ExpressionAttributeValue representing the list -// // containing "some" and "list". -// "list_append (nameOfList, :list)" +// expression.Name("nameOfList").ListAppend(expression.Value([]string{"some", "list"}) +// // let :list be a ExpressionAttributeValue representing the list +// // containing "some" and "list". +// "list_append (nameOfList, :list)" func (nb NameBuilder) ListAppend(rightOperand OperandBuilder) SetValueBuilder { return ListAppend(nb, rightOperand) } @@ -404,16 +406,16 @@ func (nb NameBuilder) ListAppend(rightOperand OperandBuilder) SetValueBuilder { // // Example: // -// // Use ListAppend() to set item attribute "someName" to a string list -// // equal to {"a", "list", "some", "list"} -// update, err := expression.Set(expression.Name("someName"), expression.Value([]string{"a", "list"}).ListAppend(expression.Value([]string{"some", "list"}))) +// // Use ListAppend() to set item attribute "someName" to a string list +// // equal to {"a", "list", "some", "list"} +// update, err := expression.Set(expression.Name("someName"), expression.Value([]string{"a", "list"}).ListAppend(expression.Value([]string{"some", "list"}))) // // Expression Equivalent: // -// expression.Name([]string{"a", "list"}).ListAppend(expression.Value([]string{"some", "list"}) -// // let :list1 and :list2 be a ExpressionAttributeValue representing the -// // list {"a", "list"} and {"some", "list"} respectively -// "list_append (:list1, :list2)" +// expression.Name([]string{"a", "list"}).ListAppend(expression.Value([]string{"some", "list"}) +// // let :list1 and :list2 be a ExpressionAttributeValue representing the +// // list {"a", "list"} and {"some", "list"} respectively +// "list_append (:list1, :list2)" func (vb ValueBuilder) ListAppend(rightOperand OperandBuilder) SetValueBuilder { return ListAppend(vb, rightOperand) } @@ -427,15 +429,15 @@ func (vb ValueBuilder) ListAppend(rightOperand OperandBuilder) SetValueBuilder { // // Example: // -// // Use IfNotExists() to set item attribute "someName" to value 5 if -// // "someName" does not exist yet. (Prevents overwrite) -// update, err := expression.Set(expression.Name("someName"), expression.IfNotExists(expression.Name("someName"), expression.Value(5))) +// // Use IfNotExists() to set item attribute "someName" to value 5 if +// // "someName" does not exist yet. (Prevents overwrite) +// update, err := expression.Set(expression.Name("someName"), expression.IfNotExists(expression.Name("someName"), expression.Value(5))) // // Expression Equivalent: // -// expression.IfNotExists(expression.Name("someName"), expression.Value(5)) -// // let :five be a ExpressionAttributeValue representing the value 5 -// "if_not_exists (someName, :five)" +// expression.IfNotExists(expression.Name("someName"), expression.Value(5)) +// // let :five be a ExpressionAttributeValue representing the value 5 +// "if_not_exists (someName, :five)" func IfNotExists(name NameBuilder, setValue OperandBuilder) SetValueBuilder { return SetValueBuilder{ leftOperand: name, @@ -453,15 +455,15 @@ func IfNotExists(name NameBuilder, setValue OperandBuilder) SetValueBuilder { // // Example: // -// // Use IfNotExists() to set item attribute "someName" to value 5 if -// // "someName" does not exist yet. (Prevents overwrite) -// update, err := expression.Set(expression.Name("someName"), expression.Name("someName").IfNotExists(expression.Value(5))) +// // Use IfNotExists() to set item attribute "someName" to value 5 if +// // "someName" does not exist yet. (Prevents overwrite) +// update, err := expression.Set(expression.Name("someName"), expression.Name("someName").IfNotExists(expression.Value(5))) // // Expression Equivalent: // -// expression.Name("someName").IfNotExists(expression.Value(5)) -// // let :five be a ExpressionAttributeValue representing the value 5 -// "if_not_exists (someName, :five)" +// expression.Name("someName").IfNotExists(expression.Value(5)) +// // let :five be a ExpressionAttributeValue representing the value 5 +// "if_not_exists (someName, :five)" func (nb NameBuilder) IfNotExists(rightOperand OperandBuilder) SetValueBuilder { return IfNotExists(nb, rightOperand) } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/projection.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/projection.go index 059bcf1ee53b..4cdf83e79000 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/projection.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/projection.go @@ -18,19 +18,19 @@ type ProjectionBuilder struct { // // Example: // -// // projection represents the list of names {"foo", "bar"} -// projection := expression.NamesList(expression.Name("foo"), expression.Name("bar")) +// // projection represents the list of names {"foo", "bar"} +// projection := expression.NamesList(expression.Name("foo"), expression.Name("bar")) // -// // Used in another Projection Expression -// anotherProjection := expression.AddNames(projection, expression.Name("baz")) +// // Used in another Projection Expression +// anotherProjection := expression.AddNames(projection, expression.Name("baz")) // -// // Used to make an Builder -// builder := expression.NewBuilder().WithProjection(anotherProjection) +// // Used to make an Builder +// builder := expression.NewBuilder().WithProjection(anotherProjection) // // Expression Equivalent: // -// expression.NamesList(expression.Name("foo"), expression.Name("bar")) -// "foo, bar" +// expression.NamesList(expression.Name("foo"), expression.Name("bar")) +// "foo, bar" func NamesList(nameBuilder NameBuilder, namesList ...NameBuilder) ProjectionBuilder { namesList = append([]NameBuilder{nameBuilder}, namesList...) return ProjectionBuilder{ @@ -45,18 +45,18 @@ func NamesList(nameBuilder NameBuilder, namesList ...NameBuilder) ProjectionBuil // // Example: // -// // projection represents the list of names {"foo", "bar"} -// projection := expression.Name("foo").NamesList(expression.Name("bar")) +// // projection represents the list of names {"foo", "bar"} +// projection := expression.Name("foo").NamesList(expression.Name("bar")) // -// // Used in another Projection Expression -// anotherProjection := expression.AddNames(projection, expression.Name("baz")) -// // Used to make an Builder -// builder := expression.NewBuilder().WithProjection(newProjection) +// // Used in another Projection Expression +// anotherProjection := expression.AddNames(projection, expression.Name("baz")) +// // Used to make an Builder +// builder := expression.NewBuilder().WithProjection(newProjection) // // Expression Equivalent: // -// expression.Name("foo").NamesList(expression.Name("bar")) -// "foo, bar" +// expression.Name("foo").NamesList(expression.Name("bar")) +// "foo, bar" func (nb NameBuilder) NamesList(namesList ...NameBuilder) ProjectionBuilder { return NamesList(nb, namesList...) } @@ -69,19 +69,19 @@ func (nb NameBuilder) NamesList(namesList ...NameBuilder) ProjectionBuilder { // // Example: // -// // projection represents the list of names {"foo", "bar", "baz", "qux"} -// oldProj := expression.NamesList(expression.Name("foo"), expression.Name("bar")) -// projection := expression.AddNames(oldProj, expression.Name("baz"), expression.Name("qux")) +// // projection represents the list of names {"foo", "bar", "baz", "qux"} +// oldProj := expression.NamesList(expression.Name("foo"), expression.Name("bar")) +// projection := expression.AddNames(oldProj, expression.Name("baz"), expression.Name("qux")) // -// // Used in another Projection Expression -// anotherProjection := expression.AddNames(projection, expression.Name("quux")) -// // Used to make an Builder -// builder := expression.NewBuilder().WithProjection(newProjection) +// // Used in another Projection Expression +// anotherProjection := expression.AddNames(projection, expression.Name("quux")) +// // Used to make an Builder +// builder := expression.NewBuilder().WithProjection(newProjection) // // Expression Equivalent: // -// expression.AddNames(expression.NamesList(expression.Name("foo"), expression.Name("bar")), expression.Name("baz"), expression.Name("qux")) -// "foo, bar, baz, qux" +// expression.AddNames(expression.NamesList(expression.Name("foo"), expression.Name("bar")), expression.Name("baz"), expression.Name("qux")) +// "foo, bar, baz, qux" func AddNames(projectionBuilder ProjectionBuilder, namesList ...NameBuilder) ProjectionBuilder { projectionBuilder.names = append(projectionBuilder.names, namesList...) return projectionBuilder @@ -95,19 +95,19 @@ func AddNames(projectionBuilder ProjectionBuilder, namesList ...NameBuilder) Pro // // Example: // -// // projection represents the list of names {"foo", "bar", "baz", "qux"} -// oldProj := expression.NamesList(expression.Name("foo"), expression.Name("bar")) -// projection := oldProj.AddNames(expression.Name("baz"), expression.Name("qux")) +// // projection represents the list of names {"foo", "bar", "baz", "qux"} +// oldProj := expression.NamesList(expression.Name("foo"), expression.Name("bar")) +// projection := oldProj.AddNames(expression.Name("baz"), expression.Name("qux")) // -// // Used in another Projection Expression -// anotherProjection := expression.AddNames(projection, expression.Name("quux")) -// // Used to make an Builder -// builder := expression.NewBuilder().WithProjection(newProjection) +// // Used in another Projection Expression +// anotherProjection := expression.AddNames(projection, expression.Name("quux")) +// // Used to make an Builder +// builder := expression.NewBuilder().WithProjection(newProjection) // // Expression Equivalent: // -// expression.NamesList(expression.Name("foo"), expression.Name("bar")).AddNames(expression.Name("baz"), expression.Name("qux")) -// "foo, bar, baz, qux" +// expression.NamesList(expression.Name("foo"), expression.Name("bar")).AddNames(expression.Name("baz"), expression.Name("qux")) +// "foo, bar, baz, qux" func (pb ProjectionBuilder) AddNames(namesList ...NameBuilder) ProjectionBuilder { return AddNames(pb, namesList...) } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/update.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/update.go index b82d3d4f5234..1a9e807a5fd3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/update.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/expression/update.go @@ -97,21 +97,21 @@ func (ob operationBuilder) buildOperation() (exprNode, error) { // // Example: // -// // update represents the delete operation to delete the string value -// // "subsetToDelete" from the item attribute "pathToList" -// update := expression.Delete(expression.Name("pathToList"), expression.Value("subsetToDelete")) +// // update represents the delete operation to delete the string value +// // "subsetToDelete" from the item attribute "pathToList" +// update := expression.Delete(expression.Name("pathToList"), expression.Value("subsetToDelete")) // -// // Adding more update methods -// anotherUpdate := update.Remove(expression.Name("someName")) -// // Creating a Builder -// builder := Update(update) +// // Adding more update methods +// anotherUpdate := update.Remove(expression.Name("someName")) +// // Creating a Builder +// builder := Update(update) // // Expression Equivalent: // -// expression.Delete(expression.Name("pathToList"), expression.Value("subsetToDelete")) -// // let :del be an ExpressionAttributeValue representing the value -// // "subsetToDelete" -// "DELETE pathToList :del" +// expression.Delete(expression.Name("pathToList"), expression.Value("subsetToDelete")) +// // let :del be an ExpressionAttributeValue representing the value +// // "subsetToDelete" +// "DELETE pathToList :del" func Delete(name NameBuilder, value ValueBuilder) UpdateBuilder { emptyUpdateBuilder := UpdateBuilder{} return emptyUpdateBuilder.Delete(name, value) @@ -124,22 +124,22 @@ func Delete(name NameBuilder, value ValueBuilder) UpdateBuilder { // // Example: // -// // Let update represent an already existing update expression. Delete() -// // adds the operation to delete the value "subsetToDelete" from the item -// // attribute "pathToList" -// update := update.Delete(expression.Name("pathToList"), expression.Value("subsetToDelete")) +// // Let update represent an already existing update expression. Delete() +// // adds the operation to delete the value "subsetToDelete" from the item +// // attribute "pathToList" +// update := update.Delete(expression.Name("pathToList"), expression.Value("subsetToDelete")) // -// // Adding more update methods -// anotherUpdate := update.Remove(expression.Name("someName")) -// // Creating a Builder -// builder := Update(update) +// // Adding more update methods +// anotherUpdate := update.Remove(expression.Name("someName")) +// // Creating a Builder +// builder := Update(update) // // Expression Equivalent: // -// Delete(expression.Name("pathToList"), expression.Value("subsetToDelete")) -// // let :del be an ExpressionAttributeValue representing the value -// // "subsetToDelete" -// "DELETE pathToList :del" +// Delete(expression.Name("pathToList"), expression.Value("subsetToDelete")) +// // let :del be an ExpressionAttributeValue representing the value +// // "subsetToDelete" +// "DELETE pathToList :del" func (ub UpdateBuilder) Delete(name NameBuilder, value ValueBuilder) UpdateBuilder { if ub.operationList == nil { ub.operationList = map[operationMode][]operationBuilder{} @@ -160,20 +160,20 @@ func (ub UpdateBuilder) Delete(name NameBuilder, value ValueBuilder) UpdateBuild // // Example: // -// // update represents the add operation to add the value 5 to the item -// // attribute "aPath" -// update := expression.Add(expression.Name("aPath"), expression.Value(5)) +// // update represents the add operation to add the value 5 to the item +// // attribute "aPath" +// update := expression.Add(expression.Name("aPath"), expression.Value(5)) // -// // Adding more update methods -// anotherUpdate := update.Remove(expression.Name("someName")) -// // Creating a Builder -// builder := Update(update) +// // Adding more update methods +// anotherUpdate := update.Remove(expression.Name("someName")) +// // Creating a Builder +// builder := Update(update) // // Expression Equivalent: // -// expression.Add(expression.Name("aPath"), expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "ADD aPath :5" +// expression.Add(expression.Name("aPath"), expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "ADD aPath :5" func Add(name NameBuilder, value ValueBuilder) UpdateBuilder { emptyUpdateBuilder := UpdateBuilder{} return emptyUpdateBuilder.Add(name, value) @@ -186,20 +186,20 @@ func Add(name NameBuilder, value ValueBuilder) UpdateBuilder { // // Example: // -// // Let update represent an already existing update expression. Add() adds -// // the operation to add the value 5 to the item attribute "aPath" -// update := update.Add(expression.Name("aPath"), expression.Value(5)) +// // Let update represent an already existing update expression. Add() adds +// // the operation to add the value 5 to the item attribute "aPath" +// update := update.Add(expression.Name("aPath"), expression.Value(5)) // -// // Adding more update methods -// anotherUpdate := update.Remove(expression.Name("someName")) -// // Creating a Builder -// builder := Update(update) +// // Adding more update methods +// anotherUpdate := update.Remove(expression.Name("someName")) +// // Creating a Builder +// builder := Update(update) // // Expression Equivalent: // -// Add(expression.Name("aPath"), expression.Value(5)) -// // Let :five be an ExpressionAttributeValue representing the value 5 -// "ADD aPath :5" +// Add(expression.Name("aPath"), expression.Value(5)) +// // Let :five be an ExpressionAttributeValue representing the value 5 +// "ADD aPath :5" func (ub UpdateBuilder) Add(name NameBuilder, value ValueBuilder) UpdateBuilder { if ub.operationList == nil { ub.operationList = map[operationMode][]operationBuilder{} @@ -219,19 +219,19 @@ func (ub UpdateBuilder) Add(name NameBuilder, value ValueBuilder) UpdateBuilder // // Example: // -// // update represents the remove operation to remove the item attribute -// // "itemToRemove" -// update := expression.Remove(expression.Name("itemToRemove")) +// // update represents the remove operation to remove the item attribute +// // "itemToRemove" +// update := expression.Remove(expression.Name("itemToRemove")) // -// // Adding more update methods -// anotherUpdate := update.Remove(expression.Name("someName")) -// // Creating a Builder -// builder := Update(update) +// // Adding more update methods +// anotherUpdate := update.Remove(expression.Name("someName")) +// // Creating a Builder +// builder := Update(update) // // Expression Equivalent: // -// expression.Remove(expression.Name("itemToRemove")) -// "REMOVE itemToRemove" +// expression.Remove(expression.Name("itemToRemove")) +// "REMOVE itemToRemove" func Remove(name NameBuilder) UpdateBuilder { emptyUpdateBuilder := UpdateBuilder{} return emptyUpdateBuilder.Remove(name) @@ -244,19 +244,19 @@ func Remove(name NameBuilder) UpdateBuilder { // // Example: // -// // Let update represent an already existing update expression. Remove() -// // adds the operation to remove the item attribute "itemToRemove" -// update := update.Remove(expression.Name("itemToRemove")) +// // Let update represent an already existing update expression. Remove() +// // adds the operation to remove the item attribute "itemToRemove" +// update := update.Remove(expression.Name("itemToRemove")) // -// // Adding more update methods -// anotherUpdate := update.Remove(expression.Name("someName")) -// // Creating a Builder -// builder := Update(update) +// // Adding more update methods +// anotherUpdate := update.Remove(expression.Name("someName")) +// // Creating a Builder +// builder := Update(update) // // Expression Equivalent: // -// Remove(expression.Name("itemToRemove")) -// "REMOVE itemToRemove" +// Remove(expression.Name("itemToRemove")) +// "REMOVE itemToRemove" func (ub UpdateBuilder) Remove(name NameBuilder) UpdateBuilder { if ub.operationList == nil { ub.operationList = map[operationMode][]operationBuilder{} @@ -276,22 +276,22 @@ func (ub UpdateBuilder) Remove(name NameBuilder) UpdateBuilder { // // Example: // -// // update represents the set operation to set the item attribute -// // "itemToSet" to the value "setValue" if the item attribute does not -// // exist yet. (conditional write) -// update := expression.Set(expression.Name("itemToSet"), expression.IfNotExists(expression.Name("itemToSet"), expression.Value("setValue"))) +// // update represents the set operation to set the item attribute +// // "itemToSet" to the value "setValue" if the item attribute does not +// // exist yet. (conditional write) +// update := expression.Set(expression.Name("itemToSet"), expression.IfNotExists(expression.Name("itemToSet"), expression.Value("setValue"))) // -// // Adding more update methods -// anotherUpdate := update.Remove(expression.Name("someName")) -// // Creating a Builder -// builder := Update(update) +// // Adding more update methods +// anotherUpdate := update.Remove(expression.Name("someName")) +// // Creating a Builder +// builder := Update(update) // // Expression Equivalent: // -// expression.Set(expression.Name("itemToSet"), expression.IfNotExists(expression.Name("itemToSet"), expression.Value("setValue"))) -// // Let :val be an ExpressionAttributeValue representing the value -// // "setValue" -// "SET itemToSet = :val" +// expression.Set(expression.Name("itemToSet"), expression.IfNotExists(expression.Name("itemToSet"), expression.Value("setValue"))) +// // Let :val be an ExpressionAttributeValue representing the value +// // "setValue" +// "SET itemToSet = :val" func Set(name NameBuilder, operandBuilder OperandBuilder) UpdateBuilder { emptyUpdateBuilder := UpdateBuilder{} return emptyUpdateBuilder.Set(name, operandBuilder) @@ -305,23 +305,23 @@ func Set(name NameBuilder, operandBuilder OperandBuilder) UpdateBuilder { // // Example: // -// // Let update represent an already existing update expression. Set() adds -// // the operation to to set the item attribute "itemToSet" to the value -// // "setValue" if the item attribute does not exist yet. (conditional -// // write) -// update := update.Set(expression.Name("itemToSet"), expression.IfNotExists(expression.Name("itemToSet"), expression.Value("setValue"))) +// // Let update represent an already existing update expression. Set() adds +// // the operation to to set the item attribute "itemToSet" to the value +// // "setValue" if the item attribute does not exist yet. (conditional +// // write) +// update := update.Set(expression.Name("itemToSet"), expression.IfNotExists(expression.Name("itemToSet"), expression.Value("setValue"))) // -// // Adding more update methods -// anotherUpdate := update.Remove(expression.Name("someName")) -// // Creating a Builder -// builder := Update(update) +// // Adding more update methods +// anotherUpdate := update.Remove(expression.Name("someName")) +// // Creating a Builder +// builder := Update(update) // // Expression Equivalent: // -// Set(expression.Name("itemToSet"), expression.IfNotExists(expression.Name("itemToSet"), expression.Value("setValue"))) -// // Let :val be an ExpressionAttributeValue representing the value -// // "setValue" -// "SET itemToSet = :val" +// Set(expression.Name("itemToSet"), expression.IfNotExists(expression.Name("itemToSet"), expression.Value("setValue"))) +// // Let :val be an ExpressionAttributeValue representing the value +// // "setValue" +// "SET itemToSet = :val" func (ub UpdateBuilder) Set(name NameBuilder, operandBuilder OperandBuilder) UpdateBuilder { if ub.operationList == nil { ub.operationList = map[operationMode][]operationBuilder{} diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/service.go index 06efea8bbe72..d7e6239461c8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodb/service.go @@ -42,13 +42,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a DynamoDB client from just a session. -// svc := dynamodb.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a DynamoDB client with additional configuration -// svc := dynamodb.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a DynamoDB client from just a session. +// svc := dynamodb.New(mySession) +// +// // Create a DynamoDB client with additional configuration +// svc := dynamodb.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *DynamoDB { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/api.go index 82812f9af8c0..18190d1d199d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/api.go @@ -29,14 +29,13 @@ const opDescribeStream = "DescribeStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStreamRequest method. +// req, resp := client.DescribeStreamRequest(params) // -// // Example sending a request using the DescribeStreamRequest method. -// req, resp := client.DescribeStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/DescribeStream func (c *DynamoDBStreams) DescribeStreamRequest(input *DescribeStreamInput) (req *request.Request, output *DescribeStreamOutput) { @@ -77,12 +76,13 @@ func (c *DynamoDBStreams) DescribeStreamRequest(input *DescribeStreamInput) (req // API operation DescribeStream for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. // -// * InternalServerError -// An error occurred on the server side. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/DescribeStream func (c *DynamoDBStreams) DescribeStream(input *DescribeStreamInput) (*DescribeStreamOutput, error) { @@ -122,14 +122,13 @@ const opGetRecords = "GetRecords" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRecordsRequest method. +// req, resp := client.GetRecordsRequest(params) // -// // Example sending a request using the GetRecordsRequest method. -// req, resp := client.GetRecordsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/GetRecords func (c *DynamoDBStreams) GetRecordsRequest(input *GetRecordsInput) (req *request.Request, output *GetRecordsOutput) { @@ -170,45 +169,46 @@ func (c *DynamoDBStreams) GetRecordsRequest(input *GetRecordsInput) (req *reques // API operation GetRecords for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. // -// * LimitExceededException -// There is no limit to the number of daily on-demand backups that can be taken. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - LimitExceededException +// There is no limit to the number of daily on-demand backups that can be taken. // -// Up to 50 simultaneous table operations are allowed per account. These operations -// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, -// and RestoreTableToPointInTime. +// Up to 50 simultaneous table operations are allowed per account. These operations +// include CreateTable, UpdateTable, DeleteTable,UpdateTimeToLive, RestoreTableFromBackup, +// and RestoreTableToPointInTime. // -// The only exception is when you are creating a table with one or more secondary -// indexes. You can have up to 25 such requests running at a time; however, -// if the table or index specifications are complex, DynamoDB might temporarily -// reduce the number of concurrent operations. +// The only exception is when you are creating a table with one or more secondary +// indexes. You can have up to 25 such requests running at a time; however, +// if the table or index specifications are complex, DynamoDB might temporarily +// reduce the number of concurrent operations. // -// There is a soft account quota of 256 tables. +// There is a soft account quota of 256 tables. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // -// * ExpiredIteratorException -// The shard iterator has expired and can no longer be used to retrieve stream -// records. A shard iterator expires 15 minutes after it is retrieved using -// the GetShardIterator action. +// - ExpiredIteratorException +// The shard iterator has expired and can no longer be used to retrieve stream +// records. A shard iterator expires 15 minutes after it is retrieved using +// the GetShardIterator action. // -// * TrimmedDataAccessException -// The operation attempted to read past the oldest stream record in a shard. +// - TrimmedDataAccessException +// The operation attempted to read past the oldest stream record in a shard. // -// In DynamoDB Streams, there is a 24 hour limit on data retention. Stream records -// whose age exceeds this limit are subject to removal (trimming) from the stream. -// You might receive a TrimmedDataAccessException if: +// In DynamoDB Streams, there is a 24 hour limit on data retention. Stream records +// whose age exceeds this limit are subject to removal (trimming) from the stream. +// You might receive a TrimmedDataAccessException if: // -// * You request a shard iterator with a sequence number older than the trim -// point (24 hours). +// - You request a shard iterator with a sequence number older than the trim +// point (24 hours). // -// * You obtain a shard iterator, but before you use the iterator in a GetRecords -// request, a stream record in the shard exceeds the 24 hour period and is -// trimmed. This causes the iterator to access a record that no longer exists. +// - You obtain a shard iterator, but before you use the iterator in a GetRecords +// request, a stream record in the shard exceeds the 24 hour period and is +// trimmed. This causes the iterator to access a record that no longer exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/GetRecords func (c *DynamoDBStreams) GetRecords(input *GetRecordsInput) (*GetRecordsOutput, error) { @@ -248,14 +248,13 @@ const opGetShardIterator = "GetShardIterator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetShardIteratorRequest method. +// req, resp := client.GetShardIteratorRequest(params) // -// // Example sending a request using the GetShardIteratorRequest method. -// req, resp := client.GetShardIteratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/GetShardIterator func (c *DynamoDBStreams) GetShardIteratorRequest(input *GetShardIteratorInput) (req *request.Request, output *GetShardIteratorOutput) { @@ -290,26 +289,27 @@ func (c *DynamoDBStreams) GetShardIteratorRequest(input *GetShardIteratorInput) // API operation GetShardIterator for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. // -// * InternalServerError -// An error occurred on the server side. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - InternalServerError +// An error occurred on the server side. // -// * TrimmedDataAccessException -// The operation attempted to read past the oldest stream record in a shard. +// - TrimmedDataAccessException +// The operation attempted to read past the oldest stream record in a shard. // -// In DynamoDB Streams, there is a 24 hour limit on data retention. Stream records -// whose age exceeds this limit are subject to removal (trimming) from the stream. -// You might receive a TrimmedDataAccessException if: +// In DynamoDB Streams, there is a 24 hour limit on data retention. Stream records +// whose age exceeds this limit are subject to removal (trimming) from the stream. +// You might receive a TrimmedDataAccessException if: // -// * You request a shard iterator with a sequence number older than the trim -// point (24 hours). +// - You request a shard iterator with a sequence number older than the trim +// point (24 hours). // -// * You obtain a shard iterator, but before you use the iterator in a GetRecords -// request, a stream record in the shard exceeds the 24 hour period and is -// trimmed. This causes the iterator to access a record that no longer exists. +// - You obtain a shard iterator, but before you use the iterator in a GetRecords +// request, a stream record in the shard exceeds the 24 hour period and is +// trimmed. This causes the iterator to access a record that no longer exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/GetShardIterator func (c *DynamoDBStreams) GetShardIterator(input *GetShardIteratorInput) (*GetShardIteratorOutput, error) { @@ -349,14 +349,13 @@ const opListStreams = "ListStreams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStreamsRequest method. +// req, resp := client.ListStreamsRequest(params) // -// // Example sending a request using the ListStreamsRequest method. -// req, resp := client.ListStreamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/ListStreams func (c *DynamoDBStreams) ListStreamsRequest(input *ListStreamsInput) (req *request.Request, output *ListStreamsOutput) { @@ -391,12 +390,13 @@ func (c *DynamoDBStreams) ListStreamsRequest(input *ListStreamsInput) (req *requ // API operation ListStreams for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent table or index. The resource -// might not be specified correctly, or its status might not be ACTIVE. // -// * InternalServerError -// An error occurred on the server side. +// - ResourceNotFoundException +// The operation tried to access a nonexistent table or index. The resource +// might not be specified correctly, or its status might not be ACTIVE. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/streams-dynamodb-2012-08-10/ListStreams func (c *DynamoDBStreams) ListStreams(input *ListStreamsInput) (*ListStreamsOutput, error) { @@ -1725,12 +1725,12 @@ func (s *StreamRecord) SetStreamViewType(v string) *StreamRecord { // whose age exceeds this limit are subject to removal (trimming) from the stream. // You might receive a TrimmedDataAccessException if: // -// * You request a shard iterator with a sequence number older than the trim -// point (24 hours). +// - You request a shard iterator with a sequence number older than the trim +// point (24 hours). // -// * You obtain a shard iterator, but before you use the iterator in a GetRecords -// request, a stream record in the shard exceeds the 24 hour period and is -// trimmed. This causes the iterator to access a record that no longer exists. +// - You obtain a shard iterator, but before you use the iterator in a GetRecords +// request, a stream record in the shard exceeds the 24 hour period and is +// trimmed. This causes the iterator to access a record that no longer exists. type TrimmedDataAccessException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/doc.go index 017eadf10857..a6baa163f7ae 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/doc.go @@ -13,7 +13,7 @@ // See dynamodbstreams package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/dynamodbstreams/ // -// Using the Client +// # Using the Client // // To contact Amazon DynamoDB Streams with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/dynamodbstreamsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/dynamodbstreamsiface/interface.go index fee4d2ec561a..50b5b1dac951 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/dynamodbstreamsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/dynamodbstreamsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon DynamoDB Streams. -// func myFunc(svc dynamodbstreamsiface.DynamoDBStreamsAPI) bool { -// // Make svc.DescribeStream request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon DynamoDB Streams. +// func myFunc(svc dynamodbstreamsiface.DynamoDBStreamsAPI) bool { +// // Make svc.DescribeStream request +// } // -// func main() { -// sess := session.New() -// svc := dynamodbstreams.New(sess) +// func main() { +// sess := session.New() +// svc := dynamodbstreams.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockDynamoDBStreamsClient struct { -// dynamodbstreamsiface.DynamoDBStreamsAPI -// } -// func (m *mockDynamoDBStreamsClient) DescribeStream(input *dynamodbstreams.DescribeStreamInput) (*dynamodbstreams.DescribeStreamOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockDynamoDBStreamsClient struct { +// dynamodbstreamsiface.DynamoDBStreamsAPI +// } +// func (m *mockDynamoDBStreamsClient) DescribeStream(input *dynamodbstreams.DescribeStreamInput) (*dynamodbstreams.DescribeStreamOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockDynamoDBStreamsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockDynamoDBStreamsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/service.go index 7079ca463610..40efec86e808 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/dynamodbstreams/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a DynamoDBStreams client from just a session. -// svc := dynamodbstreams.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a DynamoDBStreams client with additional configuration -// svc := dynamodbstreams.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a DynamoDBStreams client from just a session. +// svc := dynamodbstreams.New(mySession) +// +// // Create a DynamoDBStreams client with additional configuration +// svc := dynamodbstreams.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *DynamoDBStreams { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/api.go index cbbd89c5c85a..47b6e41dd5f3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/api.go @@ -30,14 +30,13 @@ const opCompleteSnapshot = "CompleteSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CompleteSnapshotRequest method. +// req, resp := client.CompleteSnapshotRequest(params) // -// // Example sending a request using the CompleteSnapshotRequest method. -// req, resp := client.CompleteSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ebs-2019-11-02/CompleteSnapshot func (c *EBS) CompleteSnapshotRequest(input *CompleteSnapshotInput) (req *request.Request, output *CompleteSnapshotOutput) { @@ -70,24 +69,25 @@ func (c *EBS) CompleteSnapshotRequest(input *CompleteSnapshotInput) (req *reques // API operation CompleteSnapshot for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ValidationException -// The input fails to satisfy the constraints of the EBS direct APIs. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ValidationException +// The input fails to satisfy the constraints of the EBS direct APIs. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * RequestThrottledException -// The number of API requests has exceed the maximum allowed API request throttling -// limit. +// - RequestThrottledException +// The number of API requests has exceed the maximum allowed API request throttling +// limit. // -// * ServiceQuotaExceededException -// Your current service quotas do not allow you to perform this action. +// - ServiceQuotaExceededException +// Your current service quotas do not allow you to perform this action. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ebs-2019-11-02/CompleteSnapshot func (c *EBS) CompleteSnapshot(input *CompleteSnapshotInput) (*CompleteSnapshotOutput, error) { @@ -127,14 +127,13 @@ const opGetSnapshotBlock = "GetSnapshotBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSnapshotBlockRequest method. +// req, resp := client.GetSnapshotBlockRequest(params) // -// // Example sending a request using the GetSnapshotBlockRequest method. -// req, resp := client.GetSnapshotBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ebs-2019-11-02/GetSnapshotBlock func (c *EBS) GetSnapshotBlockRequest(input *GetSnapshotBlockInput) (req *request.Request, output *GetSnapshotBlockOutput) { @@ -165,24 +164,25 @@ func (c *EBS) GetSnapshotBlockRequest(input *GetSnapshotBlockInput) (req *reques // API operation GetSnapshotBlock for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ValidationException -// The input fails to satisfy the constraints of the EBS direct APIs. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ValidationException +// The input fails to satisfy the constraints of the EBS direct APIs. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * RequestThrottledException -// The number of API requests has exceed the maximum allowed API request throttling -// limit. +// - RequestThrottledException +// The number of API requests has exceed the maximum allowed API request throttling +// limit. // -// * ServiceQuotaExceededException -// Your current service quotas do not allow you to perform this action. +// - ServiceQuotaExceededException +// Your current service quotas do not allow you to perform this action. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ebs-2019-11-02/GetSnapshotBlock func (c *EBS) GetSnapshotBlock(input *GetSnapshotBlockInput) (*GetSnapshotBlockOutput, error) { @@ -222,14 +222,13 @@ const opListChangedBlocks = "ListChangedBlocks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChangedBlocksRequest method. +// req, resp := client.ListChangedBlocksRequest(params) // -// // Example sending a request using the ListChangedBlocksRequest method. -// req, resp := client.ListChangedBlocksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ebs-2019-11-02/ListChangedBlocks func (c *EBS) ListChangedBlocksRequest(input *ListChangedBlocksInput) (req *request.Request, output *ListChangedBlocksOutput) { @@ -267,24 +266,25 @@ func (c *EBS) ListChangedBlocksRequest(input *ListChangedBlocksInput) (req *requ // API operation ListChangedBlocks for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ValidationException -// The input fails to satisfy the constraints of the EBS direct APIs. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ValidationException +// The input fails to satisfy the constraints of the EBS direct APIs. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * RequestThrottledException -// The number of API requests has exceed the maximum allowed API request throttling -// limit. +// - RequestThrottledException +// The number of API requests has exceed the maximum allowed API request throttling +// limit. // -// * ServiceQuotaExceededException -// Your current service quotas do not allow you to perform this action. +// - ServiceQuotaExceededException +// Your current service quotas do not allow you to perform this action. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ebs-2019-11-02/ListChangedBlocks func (c *EBS) ListChangedBlocks(input *ListChangedBlocksInput) (*ListChangedBlocksOutput, error) { @@ -316,15 +316,14 @@ func (c *EBS) ListChangedBlocksWithContext(ctx aws.Context, input *ListChangedBl // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChangedBlocks operation. -// pageNum := 0 -// err := client.ListChangedBlocksPages(params, -// func(page *ebs.ListChangedBlocksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChangedBlocks operation. +// pageNum := 0 +// err := client.ListChangedBlocksPages(params, +// func(page *ebs.ListChangedBlocksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EBS) ListChangedBlocksPages(input *ListChangedBlocksInput, fn func(*ListChangedBlocksOutput, bool) bool) error { return c.ListChangedBlocksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -376,14 +375,13 @@ const opListSnapshotBlocks = "ListSnapshotBlocks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSnapshotBlocksRequest method. +// req, resp := client.ListSnapshotBlocksRequest(params) // -// // Example sending a request using the ListSnapshotBlocksRequest method. -// req, resp := client.ListSnapshotBlocksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ebs-2019-11-02/ListSnapshotBlocks func (c *EBS) ListSnapshotBlocksRequest(input *ListSnapshotBlocksInput) (req *request.Request, output *ListSnapshotBlocksOutput) { @@ -420,24 +418,25 @@ func (c *EBS) ListSnapshotBlocksRequest(input *ListSnapshotBlocksInput) (req *re // API operation ListSnapshotBlocks for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ValidationException -// The input fails to satisfy the constraints of the EBS direct APIs. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ValidationException +// The input fails to satisfy the constraints of the EBS direct APIs. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * RequestThrottledException -// The number of API requests has exceed the maximum allowed API request throttling -// limit. +// - RequestThrottledException +// The number of API requests has exceed the maximum allowed API request throttling +// limit. // -// * ServiceQuotaExceededException -// Your current service quotas do not allow you to perform this action. +// - ServiceQuotaExceededException +// Your current service quotas do not allow you to perform this action. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ebs-2019-11-02/ListSnapshotBlocks func (c *EBS) ListSnapshotBlocks(input *ListSnapshotBlocksInput) (*ListSnapshotBlocksOutput, error) { @@ -469,15 +468,14 @@ func (c *EBS) ListSnapshotBlocksWithContext(ctx aws.Context, input *ListSnapshot // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSnapshotBlocks operation. -// pageNum := 0 -// err := client.ListSnapshotBlocksPages(params, -// func(page *ebs.ListSnapshotBlocksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSnapshotBlocks operation. +// pageNum := 0 +// err := client.ListSnapshotBlocksPages(params, +// func(page *ebs.ListSnapshotBlocksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EBS) ListSnapshotBlocksPages(input *ListSnapshotBlocksInput, fn func(*ListSnapshotBlocksOutput, bool) bool) error { return c.ListSnapshotBlocksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -529,14 +527,13 @@ const opPutSnapshotBlock = "PutSnapshotBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutSnapshotBlockRequest method. +// req, resp := client.PutSnapshotBlockRequest(params) // -// // Example sending a request using the PutSnapshotBlockRequest method. -// req, resp := client.PutSnapshotBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ebs-2019-11-02/PutSnapshotBlock func (c *EBS) PutSnapshotBlockRequest(input *PutSnapshotBlockInput) (req *request.Request, output *PutSnapshotBlockOutput) { @@ -574,24 +571,25 @@ func (c *EBS) PutSnapshotBlockRequest(input *PutSnapshotBlockInput) (req *reques // API operation PutSnapshotBlock for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ValidationException -// The input fails to satisfy the constraints of the EBS direct APIs. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ValidationException +// The input fails to satisfy the constraints of the EBS direct APIs. // -// * RequestThrottledException -// The number of API requests has exceed the maximum allowed API request throttling -// limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceQuotaExceededException -// Your current service quotas do not allow you to perform this action. +// - RequestThrottledException +// The number of API requests has exceed the maximum allowed API request throttling +// limit. // -// * InternalServerException -// An internal error has occurred. +// - ServiceQuotaExceededException +// Your current service quotas do not allow you to perform this action. +// +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ebs-2019-11-02/PutSnapshotBlock func (c *EBS) PutSnapshotBlock(input *PutSnapshotBlockInput) (*PutSnapshotBlockOutput, error) { @@ -631,14 +629,13 @@ const opStartSnapshot = "StartSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartSnapshotRequest method. +// req, resp := client.StartSnapshotRequest(params) // -// // Example sending a request using the StartSnapshotRequest method. -// req, resp := client.StartSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ebs-2019-11-02/StartSnapshot func (c *EBS) StartSnapshotRequest(input *StartSnapshotInput) (req *request.Request, output *StartSnapshotOutput) { @@ -673,32 +670,33 @@ func (c *EBS) StartSnapshotRequest(input *StartSnapshotInput) (req *request.Requ // API operation StartSnapshot for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ValidationException -// The input fails to satisfy the constraints of the EBS direct APIs. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ValidationException +// The input fails to satisfy the constraints of the EBS direct APIs. // -// * RequestThrottledException -// The number of API requests has exceed the maximum allowed API request throttling -// limit. +// - RequestThrottledException +// The number of API requests has exceed the maximum allowed API request throttling +// limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceQuotaExceededException -// Your current service quotas do not allow you to perform this action. +// - ServiceQuotaExceededException +// Your current service quotas do not allow you to perform this action. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // -// * ConcurrentLimitExceededException -// You have reached the limit for concurrent API requests. For more information, -// see Optimizing performance of the EBS direct APIs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapi-performance) -// in the Amazon Elastic Compute Cloud User Guide. +// - ConcurrentLimitExceededException +// You have reached the limit for concurrent API requests. For more information, +// see Optimizing performance of the EBS direct APIs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-accessing-snapshot.html#ebsapi-performance) +// in the Amazon Elastic Compute Cloud User Guide. // -// * ConflictException -// The request uses the same client token as a previous, but non-identical request. +// - ConflictException +// The request uses the same client token as a previous, but non-identical request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ebs-2019-11-02/StartSnapshot func (c *EBS) StartSnapshot(input *StartSnapshotInput) (*StartSnapshotOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/doc.go index c51519a511b1..918037158dfa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/doc.go @@ -36,7 +36,7 @@ // See ebs package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ebs/ // -// Using the Client +// # Using the Client // // To contact Amazon Elastic Block Store with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/ebsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/ebsiface/interface.go index 2c1d8ccb82ad..7c9277099667 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/ebsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/ebsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Elastic Block Store. -// func myFunc(svc ebsiface.EBSAPI) bool { -// // Make svc.CompleteSnapshot request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Elastic Block Store. +// func myFunc(svc ebsiface.EBSAPI) bool { +// // Make svc.CompleteSnapshot request +// } // -// func main() { -// sess := session.New() -// svc := ebs.New(sess) +// func main() { +// sess := session.New() +// svc := ebs.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockEBSClient struct { -// ebsiface.EBSAPI -// } -// func (m *mockEBSClient) CompleteSnapshot(input *ebs.CompleteSnapshotInput) (*ebs.CompleteSnapshotOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockEBSClient struct { +// ebsiface.EBSAPI +// } +// func (m *mockEBSClient) CompleteSnapshot(input *ebs.CompleteSnapshotInput) (*ebs.CompleteSnapshotOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockEBSClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockEBSClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/service.go index 46d22db4d3ea..376648694ad8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ebs/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a EBS client from just a session. -// svc := ebs.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a EBS client with additional configuration -// svc := ebs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a EBS client from just a session. +// svc := ebs.New(mySession) +// +// // Create a EBS client with additional configuration +// svc := ebs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *EBS { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/api.go index 5e54172069f1..dfeaa9f15b03 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/api.go @@ -29,14 +29,13 @@ const opAcceptReservedInstancesExchangeQuote = "AcceptReservedInstancesExchangeQ // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptReservedInstancesExchangeQuoteRequest method. +// req, resp := client.AcceptReservedInstancesExchangeQuoteRequest(params) // -// // Example sending a request using the AcceptReservedInstancesExchangeQuoteRequest method. -// req, resp := client.AcceptReservedInstancesExchangeQuoteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptReservedInstancesExchangeQuote func (c *EC2) AcceptReservedInstancesExchangeQuoteRequest(input *AcceptReservedInstancesExchangeQuoteInput) (req *request.Request, output *AcceptReservedInstancesExchangeQuoteOutput) { @@ -104,14 +103,13 @@ const opAcceptTransitGatewayMulticastDomainAssociations = "AcceptTransitGatewayM // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptTransitGatewayMulticastDomainAssociationsRequest method. +// req, resp := client.AcceptTransitGatewayMulticastDomainAssociationsRequest(params) // -// // Example sending a request using the AcceptTransitGatewayMulticastDomainAssociationsRequest method. -// req, resp := client.AcceptTransitGatewayMulticastDomainAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptTransitGatewayMulticastDomainAssociations func (c *EC2) AcceptTransitGatewayMulticastDomainAssociationsRequest(input *AcceptTransitGatewayMulticastDomainAssociationsInput) (req *request.Request, output *AcceptTransitGatewayMulticastDomainAssociationsOutput) { @@ -178,14 +176,13 @@ const opAcceptTransitGatewayPeeringAttachment = "AcceptTransitGatewayPeeringAtta // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptTransitGatewayPeeringAttachmentRequest method. +// req, resp := client.AcceptTransitGatewayPeeringAttachmentRequest(params) // -// // Example sending a request using the AcceptTransitGatewayPeeringAttachmentRequest method. -// req, resp := client.AcceptTransitGatewayPeeringAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptTransitGatewayPeeringAttachment func (c *EC2) AcceptTransitGatewayPeeringAttachmentRequest(input *AcceptTransitGatewayPeeringAttachmentInput) (req *request.Request, output *AcceptTransitGatewayPeeringAttachmentOutput) { @@ -253,14 +250,13 @@ const opAcceptTransitGatewayVpcAttachment = "AcceptTransitGatewayVpcAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptTransitGatewayVpcAttachmentRequest method. +// req, resp := client.AcceptTransitGatewayVpcAttachmentRequest(params) // -// // Example sending a request using the AcceptTransitGatewayVpcAttachmentRequest method. -// req, resp := client.AcceptTransitGatewayVpcAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptTransitGatewayVpcAttachment func (c *EC2) AcceptTransitGatewayVpcAttachmentRequest(input *AcceptTransitGatewayVpcAttachmentInput) (req *request.Request, output *AcceptTransitGatewayVpcAttachmentOutput) { @@ -331,14 +327,13 @@ const opAcceptVpcEndpointConnections = "AcceptVpcEndpointConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptVpcEndpointConnectionsRequest method. +// req, resp := client.AcceptVpcEndpointConnectionsRequest(params) // -// // Example sending a request using the AcceptVpcEndpointConnectionsRequest method. -// req, resp := client.AcceptVpcEndpointConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcEndpointConnections func (c *EC2) AcceptVpcEndpointConnectionsRequest(input *AcceptVpcEndpointConnectionsInput) (req *request.Request, output *AcceptVpcEndpointConnectionsOutput) { @@ -406,14 +401,13 @@ const opAcceptVpcPeeringConnection = "AcceptVpcPeeringConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptVpcPeeringConnectionRequest method. +// req, resp := client.AcceptVpcPeeringConnectionRequest(params) // -// // Example sending a request using the AcceptVpcPeeringConnectionRequest method. -// req, resp := client.AcceptVpcPeeringConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptVpcPeeringConnection func (c *EC2) AcceptVpcPeeringConnectionRequest(input *AcceptVpcPeeringConnectionInput) (req *request.Request, output *AcceptVpcPeeringConnectionOutput) { @@ -486,14 +480,13 @@ const opAdvertiseByoipCidr = "AdvertiseByoipCidr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdvertiseByoipCidrRequest method. +// req, resp := client.AdvertiseByoipCidrRequest(params) // -// // Example sending a request using the AdvertiseByoipCidrRequest method. -// req, resp := client.AdvertiseByoipCidrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AdvertiseByoipCidr func (c *EC2) AdvertiseByoipCidrRequest(input *AdvertiseByoipCidrInput) (req *request.Request, output *AdvertiseByoipCidrOutput) { @@ -576,14 +569,13 @@ const opAllocateAddress = "AllocateAddress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AllocateAddressRequest method. +// req, resp := client.AllocateAddressRequest(params) // -// // Example sending a request using the AllocateAddressRequest method. -// req, resp := client.AllocateAddressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddress func (c *EC2) AllocateAddressRequest(input *AllocateAddressInput) (req *request.Request, output *AllocateAddressOutput) { @@ -678,14 +670,13 @@ const opAllocateHosts = "AllocateHosts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AllocateHostsRequest method. +// req, resp := client.AllocateHostsRequest(params) // -// // Example sending a request using the AllocateHostsRequest method. -// req, resp := client.AllocateHostsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateHosts func (c *EC2) AllocateHostsRequest(input *AllocateHostsInput) (req *request.Request, output *AllocateHostsOutput) { @@ -754,14 +745,13 @@ const opAllocateIpamPoolCidr = "AllocateIpamPoolCidr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AllocateIpamPoolCidrRequest method. +// req, resp := client.AllocateIpamPoolCidrRequest(params) // -// // Example sending a request using the AllocateIpamPoolCidrRequest method. -// req, resp := client.AllocateIpamPoolCidrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateIpamPoolCidr func (c *EC2) AllocateIpamPoolCidrRequest(input *AllocateIpamPoolCidrInput) (req *request.Request, output *AllocateIpamPoolCidrOutput) { @@ -831,14 +821,13 @@ const opApplySecurityGroupsToClientVpnTargetNetwork = "ApplySecurityGroupsToClie // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ApplySecurityGroupsToClientVpnTargetNetworkRequest method. +// req, resp := client.ApplySecurityGroupsToClientVpnTargetNetworkRequest(params) // -// // Example sending a request using the ApplySecurityGroupsToClientVpnTargetNetworkRequest method. -// req, resp := client.ApplySecurityGroupsToClientVpnTargetNetworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ApplySecurityGroupsToClientVpnTargetNetwork func (c *EC2) ApplySecurityGroupsToClientVpnTargetNetworkRequest(input *ApplySecurityGroupsToClientVpnTargetNetworkInput) (req *request.Request, output *ApplySecurityGroupsToClientVpnTargetNetworkOutput) { @@ -907,14 +896,13 @@ const opAssignIpv6Addresses = "AssignIpv6Addresses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssignIpv6AddressesRequest method. +// req, resp := client.AssignIpv6AddressesRequest(params) // -// // Example sending a request using the AssignIpv6AddressesRequest method. -// req, resp := client.AssignIpv6AddressesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignIpv6Addresses func (c *EC2) AssignIpv6AddressesRequest(input *AssignIpv6AddressesInput) (req *request.Request, output *AssignIpv6AddressesOutput) { @@ -997,14 +985,13 @@ const opAssignPrivateIpAddresses = "AssignPrivateIpAddresses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssignPrivateIpAddressesRequest method. +// req, resp := client.AssignPrivateIpAddressesRequest(params) // -// // Example sending a request using the AssignPrivateIpAddressesRequest method. -// req, resp := client.AssignPrivateIpAddressesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssignPrivateIpAddresses func (c *EC2) AssignPrivateIpAddressesRequest(input *AssignPrivateIpAddressesInput) (req *request.Request, output *AssignPrivateIpAddressesOutput) { @@ -1096,14 +1083,13 @@ const opAssociateAddress = "AssociateAddress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateAddressRequest method. +// req, resp := client.AssociateAddressRequest(params) // -// // Example sending a request using the AssociateAddressRequest method. -// req, resp := client.AssociateAddressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateAddress func (c *EC2) AssociateAddressRequest(input *AssociateAddressInput) (req *request.Request, output *AssociateAddressOutput) { @@ -1201,14 +1187,13 @@ const opAssociateClientVpnTargetNetwork = "AssociateClientVpnTargetNetwork" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateClientVpnTargetNetworkRequest method. +// req, resp := client.AssociateClientVpnTargetNetworkRequest(params) // -// // Example sending a request using the AssociateClientVpnTargetNetworkRequest method. -// req, resp := client.AssociateClientVpnTargetNetworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateClientVpnTargetNetwork func (c *EC2) AssociateClientVpnTargetNetworkRequest(input *AssociateClientVpnTargetNetworkInput) (req *request.Request, output *AssociateClientVpnTargetNetworkOutput) { @@ -1285,14 +1270,13 @@ const opAssociateDhcpOptions = "AssociateDhcpOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateDhcpOptionsRequest method. +// req, resp := client.AssociateDhcpOptionsRequest(params) // -// // Example sending a request using the AssociateDhcpOptionsRequest method. -// req, resp := client.AssociateDhcpOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateDhcpOptions func (c *EC2) AssociateDhcpOptionsRequest(input *AssociateDhcpOptionsInput) (req *request.Request, output *AssociateDhcpOptionsOutput) { @@ -1371,14 +1355,13 @@ const opAssociateEnclaveCertificateIamRole = "AssociateEnclaveCertificateIamRole // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateEnclaveCertificateIamRoleRequest method. +// req, resp := client.AssociateEnclaveCertificateIamRoleRequest(params) // -// // Example sending a request using the AssociateEnclaveCertificateIamRoleRequest method. -// req, resp := client.AssociateEnclaveCertificateIamRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateEnclaveCertificateIamRole func (c *EC2) AssociateEnclaveCertificateIamRoleRequest(input *AssociateEnclaveCertificateIamRoleInput) (req *request.Request, output *AssociateEnclaveCertificateIamRoleOutput) { @@ -1463,14 +1446,13 @@ const opAssociateIamInstanceProfile = "AssociateIamInstanceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateIamInstanceProfileRequest method. +// req, resp := client.AssociateIamInstanceProfileRequest(params) // -// // Example sending a request using the AssociateIamInstanceProfileRequest method. -// req, resp := client.AssociateIamInstanceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateIamInstanceProfile func (c *EC2) AssociateIamInstanceProfileRequest(input *AssociateIamInstanceProfileInput) (req *request.Request, output *AssociateIamInstanceProfileOutput) { @@ -1538,14 +1520,13 @@ const opAssociateInstanceEventWindow = "AssociateInstanceEventWindow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateInstanceEventWindowRequest method. +// req, resp := client.AssociateInstanceEventWindowRequest(params) // -// // Example sending a request using the AssociateInstanceEventWindowRequest method. -// req, resp := client.AssociateInstanceEventWindowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateInstanceEventWindow func (c *EC2) AssociateInstanceEventWindowRequest(input *AssociateInstanceEventWindowInput) (req *request.Request, output *AssociateInstanceEventWindowOutput) { @@ -1617,14 +1598,13 @@ const opAssociateRouteTable = "AssociateRouteTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateRouteTableRequest method. +// req, resp := client.AssociateRouteTableRequest(params) // -// // Example sending a request using the AssociateRouteTableRequest method. -// req, resp := client.AssociateRouteTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateRouteTable func (c *EC2) AssociateRouteTableRequest(input *AssociateRouteTableInput) (req *request.Request, output *AssociateRouteTableOutput) { @@ -1699,14 +1679,13 @@ const opAssociateSubnetCidrBlock = "AssociateSubnetCidrBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateSubnetCidrBlockRequest method. +// req, resp := client.AssociateSubnetCidrBlockRequest(params) // -// // Example sending a request using the AssociateSubnetCidrBlockRequest method. -// req, resp := client.AssociateSubnetCidrBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateSubnetCidrBlock func (c *EC2) AssociateSubnetCidrBlockRequest(input *AssociateSubnetCidrBlockInput) (req *request.Request, output *AssociateSubnetCidrBlockOutput) { @@ -1775,14 +1754,13 @@ const opAssociateTransitGatewayMulticastDomain = "AssociateTransitGatewayMultica // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateTransitGatewayMulticastDomainRequest method. +// req, resp := client.AssociateTransitGatewayMulticastDomainRequest(params) // -// // Example sending a request using the AssociateTransitGatewayMulticastDomainRequest method. -// req, resp := client.AssociateTransitGatewayMulticastDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateTransitGatewayMulticastDomain func (c *EC2) AssociateTransitGatewayMulticastDomainRequest(input *AssociateTransitGatewayMulticastDomainInput) (req *request.Request, output *AssociateTransitGatewayMulticastDomainOutput) { @@ -1854,14 +1832,13 @@ const opAssociateTransitGatewayRouteTable = "AssociateTransitGatewayRouteTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateTransitGatewayRouteTableRequest method. +// req, resp := client.AssociateTransitGatewayRouteTableRequest(params) // -// // Example sending a request using the AssociateTransitGatewayRouteTableRequest method. -// req, resp := client.AssociateTransitGatewayRouteTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateTransitGatewayRouteTable func (c *EC2) AssociateTransitGatewayRouteTableRequest(input *AssociateTransitGatewayRouteTableInput) (req *request.Request, output *AssociateTransitGatewayRouteTableOutput) { @@ -1929,14 +1906,13 @@ const opAssociateTrunkInterface = "AssociateTrunkInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateTrunkInterfaceRequest method. +// req, resp := client.AssociateTrunkInterfaceRequest(params) // -// // Example sending a request using the AssociateTrunkInterfaceRequest method. -// req, resp := client.AssociateTrunkInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateTrunkInterface func (c *EC2) AssociateTrunkInterfaceRequest(input *AssociateTrunkInterfaceInput) (req *request.Request, output *AssociateTrunkInterfaceOutput) { @@ -1957,7 +1933,6 @@ func (c *EC2) AssociateTrunkInterfaceRequest(input *AssociateTrunkInterfaceInput // AssociateTrunkInterface API operation for Amazon Elastic Compute Cloud. // -// // This API action is currently in limited preview only. If you are interested // in using this feature, contact your account manager. // @@ -2012,14 +1987,13 @@ const opAssociateVpcCidrBlock = "AssociateVpcCidrBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateVpcCidrBlockRequest method. +// req, resp := client.AssociateVpcCidrBlockRequest(params) // -// // Example sending a request using the AssociateVpcCidrBlockRequest method. -// req, resp := client.AssociateVpcCidrBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AssociateVpcCidrBlock func (c *EC2) AssociateVpcCidrBlockRequest(input *AssociateVpcCidrBlockInput) (req *request.Request, output *AssociateVpcCidrBlockOutput) { @@ -2097,14 +2071,13 @@ const opAttachClassicLinkVpc = "AttachClassicLinkVpc" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachClassicLinkVpcRequest method. +// req, resp := client.AttachClassicLinkVpcRequest(params) // -// // Example sending a request using the AttachClassicLinkVpcRequest method. -// req, resp := client.AttachClassicLinkVpcRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachClassicLinkVpc func (c *EC2) AttachClassicLinkVpcRequest(input *AttachClassicLinkVpcInput) (req *request.Request, output *AttachClassicLinkVpcOutput) { @@ -2182,14 +2155,13 @@ const opAttachInternetGateway = "AttachInternetGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachInternetGatewayRequest method. +// req, resp := client.AttachInternetGatewayRequest(params) // -// // Example sending a request using the AttachInternetGatewayRequest method. -// req, resp := client.AttachInternetGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachInternetGateway func (c *EC2) AttachInternetGatewayRequest(input *AttachInternetGatewayInput) (req *request.Request, output *AttachInternetGatewayOutput) { @@ -2260,14 +2232,13 @@ const opAttachNetworkInterface = "AttachNetworkInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachNetworkInterfaceRequest method. +// req, resp := client.AttachNetworkInterfaceRequest(params) // -// // Example sending a request using the AttachNetworkInterfaceRequest method. -// req, resp := client.AttachNetworkInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachNetworkInterface func (c *EC2) AttachNetworkInterfaceRequest(input *AttachNetworkInterfaceInput) (req *request.Request, output *AttachNetworkInterfaceOutput) { @@ -2334,14 +2305,13 @@ const opAttachVolume = "AttachVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachVolumeRequest method. +// req, resp := client.AttachVolumeRequest(params) // -// // Example sending a request using the AttachVolumeRequest method. -// req, resp := client.AttachVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVolume func (c *EC2) AttachVolumeRequest(input *AttachVolumeInput) (req *request.Request, output *VolumeAttachment) { @@ -2374,16 +2344,16 @@ func (c *EC2) AttachVolumeRequest(input *AttachVolumeInput) (req *request.Reques // // If a volume has an Amazon Web Services Marketplace product code: // -// * The volume can be attached only to a stopped instance. +// - The volume can be attached only to a stopped instance. // -// * Amazon Web Services Marketplace product codes are copied from the volume -// to the instance. +// - Amazon Web Services Marketplace product codes are copied from the volume +// to the instance. // -// * You must be subscribed to the product. +// - You must be subscribed to the product. // -// * The instance type and operating system of the instance must support -// the product. For example, you can't detach a volume from a Windows instance -// and attach it to a Linux instance. +// - The instance type and operating system of the instance must support +// the product. For example, you can't detach a volume from a Windows instance +// and attach it to a Linux instance. // // For more information, see Attach an Amazon EBS volume to an instance (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-attaching-volume.html) // in the Amazon Elastic Compute Cloud User Guide. @@ -2432,14 +2402,13 @@ const opAttachVpnGateway = "AttachVpnGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachVpnGatewayRequest method. +// req, resp := client.AttachVpnGatewayRequest(params) // -// // Example sending a request using the AttachVpnGatewayRequest method. -// req, resp := client.AttachVpnGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachVpnGateway func (c *EC2) AttachVpnGatewayRequest(input *AttachVpnGatewayInput) (req *request.Request, output *AttachVpnGatewayOutput) { @@ -2510,14 +2479,13 @@ const opAuthorizeClientVpnIngress = "AuthorizeClientVpnIngress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AuthorizeClientVpnIngressRequest method. +// req, resp := client.AuthorizeClientVpnIngressRequest(params) // -// // Example sending a request using the AuthorizeClientVpnIngressRequest method. -// req, resp := client.AuthorizeClientVpnIngressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeClientVpnIngress func (c *EC2) AuthorizeClientVpnIngressRequest(input *AuthorizeClientVpnIngressInput) (req *request.Request, output *AuthorizeClientVpnIngressOutput) { @@ -2587,14 +2555,13 @@ const opAuthorizeSecurityGroupEgress = "AuthorizeSecurityGroupEgress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AuthorizeSecurityGroupEgressRequest method. +// req, resp := client.AuthorizeSecurityGroupEgressRequest(params) // -// // Example sending a request using the AuthorizeSecurityGroupEgressRequest method. -// req, resp := client.AuthorizeSecurityGroupEgressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupEgress func (c *EC2) AuthorizeSecurityGroupEgressRequest(input *AuthorizeSecurityGroupEgressInput) (req *request.Request, output *AuthorizeSecurityGroupEgressOutput) { @@ -2676,14 +2643,13 @@ const opAuthorizeSecurityGroupIngress = "AuthorizeSecurityGroupIngress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AuthorizeSecurityGroupIngressRequest method. +// req, resp := client.AuthorizeSecurityGroupIngressRequest(params) // -// // Example sending a request using the AuthorizeSecurityGroupIngressRequest method. -// req, resp := client.AuthorizeSecurityGroupIngressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AuthorizeSecurityGroupIngress func (c *EC2) AuthorizeSecurityGroupIngressRequest(input *AuthorizeSecurityGroupIngressInput) (req *request.Request, output *AuthorizeSecurityGroupIngressOutput) { @@ -2765,14 +2731,13 @@ const opBundleInstance = "BundleInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BundleInstanceRequest method. +// req, resp := client.BundleInstanceRequest(params) // -// // Example sending a request using the BundleInstanceRequest method. -// req, resp := client.BundleInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BundleInstance func (c *EC2) BundleInstanceRequest(input *BundleInstanceInput) (req *request.Request, output *BundleInstanceOutput) { @@ -2845,14 +2810,13 @@ const opCancelBundleTask = "CancelBundleTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelBundleTaskRequest method. +// req, resp := client.CancelBundleTaskRequest(params) // -// // Example sending a request using the CancelBundleTaskRequest method. -// req, resp := client.CancelBundleTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelBundleTask func (c *EC2) CancelBundleTaskRequest(input *CancelBundleTaskInput) (req *request.Request, output *CancelBundleTaskOutput) { @@ -2919,14 +2883,13 @@ const opCancelCapacityReservation = "CancelCapacityReservation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelCapacityReservationRequest method. +// req, resp := client.CancelCapacityReservationRequest(params) // -// // Example sending a request using the CancelCapacityReservationRequest method. -// req, resp := client.CancelCapacityReservationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelCapacityReservation func (c *EC2) CancelCapacityReservationRequest(input *CancelCapacityReservationInput) (req *request.Request, output *CancelCapacityReservationOutput) { @@ -3000,14 +2963,13 @@ const opCancelCapacityReservationFleets = "CancelCapacityReservationFleets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelCapacityReservationFleetsRequest method. +// req, resp := client.CancelCapacityReservationFleetsRequest(params) // -// // Example sending a request using the CancelCapacityReservationFleetsRequest method. -// req, resp := client.CancelCapacityReservationFleetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelCapacityReservationFleets func (c *EC2) CancelCapacityReservationFleetsRequest(input *CancelCapacityReservationFleetsInput) (req *request.Request, output *CancelCapacityReservationFleetsOutput) { @@ -3031,13 +2993,13 @@ func (c *EC2) CancelCapacityReservationFleetsRequest(input *CancelCapacityReserv // Cancels one or more Capacity Reservation Fleets. When you cancel a Capacity // Reservation Fleet, the following happens: // -// * The Capacity Reservation Fleet's status changes to cancelled. +// - The Capacity Reservation Fleet's status changes to cancelled. // -// * The individual Capacity Reservations in the Fleet are cancelled. Instances -// running in the Capacity Reservations at the time of cancelling the Fleet -// continue to run in shared capacity. +// - The individual Capacity Reservations in the Fleet are cancelled. Instances +// running in the Capacity Reservations at the time of cancelling the Fleet +// continue to run in shared capacity. // -// * The Fleet stops creating new Capacity Reservations. +// - The Fleet stops creating new Capacity Reservations. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3083,14 +3045,13 @@ const opCancelConversionTask = "CancelConversionTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelConversionTaskRequest method. +// req, resp := client.CancelConversionTaskRequest(params) // -// // Example sending a request using the CancelConversionTaskRequest method. -// req, resp := client.CancelConversionTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelConversionTask func (c *EC2) CancelConversionTaskRequest(input *CancelConversionTaskInput) (req *request.Request, output *CancelConversionTaskOutput) { @@ -3165,14 +3126,13 @@ const opCancelExportTask = "CancelExportTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelExportTaskRequest method. +// req, resp := client.CancelExportTaskRequest(params) // -// // Example sending a request using the CancelExportTaskRequest method. -// req, resp := client.CancelExportTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelExportTask func (c *EC2) CancelExportTaskRequest(input *CancelExportTaskInput) (req *request.Request, output *CancelExportTaskOutput) { @@ -3243,14 +3203,13 @@ const opCancelImportTask = "CancelImportTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelImportTaskRequest method. +// req, resp := client.CancelImportTaskRequest(params) // -// // Example sending a request using the CancelImportTaskRequest method. -// req, resp := client.CancelImportTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelImportTask func (c *EC2) CancelImportTaskRequest(input *CancelImportTaskInput) (req *request.Request, output *CancelImportTaskOutput) { @@ -3317,14 +3276,13 @@ const opCancelReservedInstancesListing = "CancelReservedInstancesListing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelReservedInstancesListingRequest method. +// req, resp := client.CancelReservedInstancesListingRequest(params) // -// // Example sending a request using the CancelReservedInstancesListingRequest method. -// req, resp := client.CancelReservedInstancesListingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelReservedInstancesListing func (c *EC2) CancelReservedInstancesListingRequest(input *CancelReservedInstancesListingInput) (req *request.Request, output *CancelReservedInstancesListingOutput) { @@ -3395,14 +3353,13 @@ const opCancelSpotFleetRequests = "CancelSpotFleetRequests" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelSpotFleetRequestsRequest method. +// req, resp := client.CancelSpotFleetRequestsRequest(params) // -// // Example sending a request using the CancelSpotFleetRequestsRequest method. -// req, resp := client.CancelSpotFleetRequestsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotFleetRequests func (c *EC2) CancelSpotFleetRequestsRequest(input *CancelSpotFleetRequestsInput) (req *request.Request, output *CancelSpotFleetRequestsOutput) { @@ -3476,14 +3433,13 @@ const opCancelSpotInstanceRequests = "CancelSpotInstanceRequests" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelSpotInstanceRequestsRequest method. +// req, resp := client.CancelSpotInstanceRequestsRequest(params) // -// // Example sending a request using the CancelSpotInstanceRequestsRequest method. -// req, resp := client.CancelSpotInstanceRequestsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotInstanceRequests func (c *EC2) CancelSpotInstanceRequestsRequest(input *CancelSpotInstanceRequestsInput) (req *request.Request, output *CancelSpotInstanceRequestsOutput) { @@ -3553,14 +3509,13 @@ const opConfirmProductInstance = "ConfirmProductInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfirmProductInstanceRequest method. +// req, resp := client.ConfirmProductInstanceRequest(params) // -// // Example sending a request using the ConfirmProductInstanceRequest method. -// req, resp := client.ConfirmProductInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ConfirmProductInstance func (c *EC2) ConfirmProductInstanceRequest(input *ConfirmProductInstanceInput) (req *request.Request, output *ConfirmProductInstanceOutput) { @@ -3629,14 +3584,13 @@ const opCopyFpgaImage = "CopyFpgaImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyFpgaImageRequest method. +// req, resp := client.CopyFpgaImageRequest(params) // -// // Example sending a request using the CopyFpgaImageRequest method. -// req, resp := client.CopyFpgaImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyFpgaImage func (c *EC2) CopyFpgaImageRequest(input *CopyFpgaImageInput) (req *request.Request, output *CopyFpgaImageOutput) { @@ -3703,14 +3657,13 @@ const opCopyImage = "CopyImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyImageRequest method. +// req, resp := client.CopyImageRequest(params) // -// // Example sending a request using the CopyImageRequest method. -// req, resp := client.CopyImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopyImage func (c *EC2) CopyImageRequest(input *CopyImageInput) (req *request.Request, output *CopyImageOutput) { @@ -3800,14 +3753,13 @@ const opCopySnapshot = "CopySnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopySnapshotRequest method. +// req, resp := client.CopySnapshotRequest(params) // -// // Example sending a request using the CopySnapshotRequest method. -// req, resp := client.CopySnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CopySnapshot func (c *EC2) CopySnapshotRequest(input *CopySnapshotInput) (req *request.Request, output *CopySnapshotOutput) { @@ -3899,14 +3851,13 @@ const opCreateCapacityReservation = "CreateCapacityReservation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCapacityReservationRequest method. +// req, resp := client.CreateCapacityReservationRequest(params) // -// // Example sending a request using the CreateCapacityReservationRequest method. -// req, resp := client.CreateCapacityReservationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservation func (c *EC2) CreateCapacityReservationRequest(input *CreateCapacityReservationInput) (req *request.Request, output *CreateCapacityReservationOutput) { @@ -3996,14 +3947,13 @@ const opCreateCapacityReservationFleet = "CreateCapacityReservationFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCapacityReservationFleetRequest method. +// req, resp := client.CreateCapacityReservationFleetRequest(params) // -// // Example sending a request using the CreateCapacityReservationFleetRequest method. -// req, resp := client.CreateCapacityReservationFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCapacityReservationFleet func (c *EC2) CreateCapacityReservationFleetRequest(input *CreateCapacityReservationFleetInput) (req *request.Request, output *CreateCapacityReservationFleetOutput) { @@ -4072,14 +4022,13 @@ const opCreateCarrierGateway = "CreateCarrierGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCarrierGatewayRequest method. +// req, resp := client.CreateCarrierGatewayRequest(params) // -// // Example sending a request using the CreateCarrierGatewayRequest method. -// req, resp := client.CreateCarrierGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCarrierGateway func (c *EC2) CreateCarrierGatewayRequest(input *CreateCarrierGatewayInput) (req *request.Request, output *CreateCarrierGatewayOutput) { @@ -4148,14 +4097,13 @@ const opCreateClientVpnEndpoint = "CreateClientVpnEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClientVpnEndpointRequest method. +// req, resp := client.CreateClientVpnEndpointRequest(params) // -// // Example sending a request using the CreateClientVpnEndpointRequest method. -// req, resp := client.CreateClientVpnEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateClientVpnEndpoint func (c *EC2) CreateClientVpnEndpointRequest(input *CreateClientVpnEndpointInput) (req *request.Request, output *CreateClientVpnEndpointOutput) { @@ -4224,14 +4172,13 @@ const opCreateClientVpnRoute = "CreateClientVpnRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClientVpnRouteRequest method. +// req, resp := client.CreateClientVpnRouteRequest(params) // -// // Example sending a request using the CreateClientVpnRouteRequest method. -// req, resp := client.CreateClientVpnRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateClientVpnRoute func (c *EC2) CreateClientVpnRouteRequest(input *CreateClientVpnRouteInput) (req *request.Request, output *CreateClientVpnRouteOutput) { @@ -4301,14 +4248,13 @@ const opCreateCustomerGateway = "CreateCustomerGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCustomerGatewayRequest method. +// req, resp := client.CreateCustomerGatewayRequest(params) // -// // Example sending a request using the CreateCustomerGatewayRequest method. -// req, resp := client.CreateCustomerGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateCustomerGateway func (c *EC2) CreateCustomerGatewayRequest(input *CreateCustomerGatewayInput) (req *request.Request, output *CreateCustomerGatewayOutput) { @@ -4392,14 +4338,13 @@ const opCreateDefaultSubnet = "CreateDefaultSubnet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDefaultSubnetRequest method. +// req, resp := client.CreateDefaultSubnetRequest(params) // -// // Example sending a request using the CreateDefaultSubnetRequest method. -// req, resp := client.CreateDefaultSubnetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultSubnet func (c *EC2) CreateDefaultSubnetRequest(input *CreateDefaultSubnetInput) (req *request.Request, output *CreateDefaultSubnetOutput) { @@ -4470,14 +4415,13 @@ const opCreateDefaultVpc = "CreateDefaultVpc" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDefaultVpcRequest method. +// req, resp := client.CreateDefaultVpcRequest(params) // -// // Example sending a request using the CreateDefaultVpcRequest method. -// req, resp := client.CreateDefaultVpcRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDefaultVpc func (c *EC2) CreateDefaultVpcRequest(input *CreateDefaultVpcInput) (req *request.Request, output *CreateDefaultVpcOutput) { @@ -4556,14 +4500,13 @@ const opCreateDhcpOptions = "CreateDhcpOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDhcpOptionsRequest method. +// req, resp := client.CreateDhcpOptionsRequest(params) // -// // Example sending a request using the CreateDhcpOptionsRequest method. -// req, resp := client.CreateDhcpOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDhcpOptions func (c *EC2) CreateDhcpOptionsRequest(input *CreateDhcpOptionsInput) (req *request.Request, output *CreateDhcpOptionsOutput) { @@ -4590,32 +4533,32 @@ func (c *EC2) CreateDhcpOptionsRequest(input *CreateDhcpOptionsInput) (req *requ // individual DHCP options you can specify. For more information about the options, // see RFC 2132 (http://www.ietf.org/rfc/rfc2132.txt). // -// * domain-name-servers - The IP addresses of up to four domain name servers, -// or AmazonProvidedDNS. The default DHCP option set specifies AmazonProvidedDNS. -// If specifying more than one domain name server, specify the IP addresses -// in a single parameter, separated by commas. To have your instance receive -// a custom DNS hostname as specified in domain-name, you must set domain-name-servers -// to a custom DNS server. -// -// * domain-name - If you're using AmazonProvidedDNS in us-east-1, specify -// ec2.internal. If you're using AmazonProvidedDNS in another Region, specify -// region.compute.internal (for example, ap-northeast-1.compute.internal). -// Otherwise, specify a domain name (for example, ExampleCompany.com). This -// value is used to complete unqualified DNS hostnames. Important: Some Linux -// operating systems accept multiple domain names separated by spaces. However, -// Windows and other Linux operating systems treat the value as a single -// domain, which results in unexpected behavior. If your DHCP options set -// is associated with a VPC that has instances with multiple operating systems, -// specify only one domain name. -// -// * ntp-servers - The IP addresses of up to four Network Time Protocol (NTP) -// servers. -// -// * netbios-name-servers - The IP addresses of up to four NetBIOS name servers. -// -// * netbios-node-type - The NetBIOS node type (1, 2, 4, or 8). We recommend -// that you specify 2 (broadcast and multicast are not currently supported). -// For more information about these node types, see RFC 2132 (http://www.ietf.org/rfc/rfc2132.txt). +// - domain-name-servers - The IP addresses of up to four domain name servers, +// or AmazonProvidedDNS. The default DHCP option set specifies AmazonProvidedDNS. +// If specifying more than one domain name server, specify the IP addresses +// in a single parameter, separated by commas. To have your instance receive +// a custom DNS hostname as specified in domain-name, you must set domain-name-servers +// to a custom DNS server. +// +// - domain-name - If you're using AmazonProvidedDNS in us-east-1, specify +// ec2.internal. If you're using AmazonProvidedDNS in another Region, specify +// region.compute.internal (for example, ap-northeast-1.compute.internal). +// Otherwise, specify a domain name (for example, ExampleCompany.com). This +// value is used to complete unqualified DNS hostnames. Important: Some Linux +// operating systems accept multiple domain names separated by spaces. However, +// Windows and other Linux operating systems treat the value as a single +// domain, which results in unexpected behavior. If your DHCP options set +// is associated with a VPC that has instances with multiple operating systems, +// specify only one domain name. +// +// - ntp-servers - The IP addresses of up to four Network Time Protocol (NTP) +// servers. +// +// - netbios-name-servers - The IP addresses of up to four NetBIOS name servers. +// +// - netbios-node-type - The NetBIOS node type (1, 2, 4, or 8). We recommend +// that you specify 2 (broadcast and multicast are not currently supported). +// For more information about these node types, see RFC 2132 (http://www.ietf.org/rfc/rfc2132.txt). // // Your VPC automatically starts out with a set of DHCP options that includes // only a DNS server that we provide (AmazonProvidedDNS). If you create a set @@ -4668,14 +4611,13 @@ const opCreateEgressOnlyInternetGateway = "CreateEgressOnlyInternetGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEgressOnlyInternetGatewayRequest method. +// req, resp := client.CreateEgressOnlyInternetGatewayRequest(params) // -// // Example sending a request using the CreateEgressOnlyInternetGatewayRequest method. -// req, resp := client.CreateEgressOnlyInternetGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateEgressOnlyInternetGateway func (c *EC2) CreateEgressOnlyInternetGatewayRequest(input *CreateEgressOnlyInternetGatewayInput) (req *request.Request, output *CreateEgressOnlyInternetGatewayOutput) { @@ -4745,14 +4687,13 @@ const opCreateFleet = "CreateFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFleetRequest method. +// req, resp := client.CreateFleetRequest(params) // -// // Example sending a request using the CreateFleetRequest method. -// req, resp := client.CreateFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFleet func (c *EC2) CreateFleetRequest(input *CreateFleetInput) (req *request.Request, output *CreateFleetOutput) { @@ -4825,14 +4766,13 @@ const opCreateFlowLogs = "CreateFlowLogs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFlowLogsRequest method. +// req, resp := client.CreateFlowLogsRequest(params) // -// // Example sending a request using the CreateFlowLogsRequest method. -// req, resp := client.CreateFlowLogsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFlowLogs func (c *EC2) CreateFlowLogsRequest(input *CreateFlowLogsInput) (req *request.Request, output *CreateFlowLogsOutput) { @@ -4914,14 +4854,13 @@ const opCreateFpgaImage = "CreateFpgaImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFpgaImageRequest method. +// req, resp := client.CreateFpgaImageRequest(params) // -// // Example sending a request using the CreateFpgaImageRequest method. -// req, resp := client.CreateFpgaImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateFpgaImage func (c *EC2) CreateFpgaImageRequest(input *CreateFpgaImageInput) (req *request.Request, output *CreateFpgaImageOutput) { @@ -4996,14 +4935,13 @@ const opCreateImage = "CreateImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateImageRequest method. +// req, resp := client.CreateImageRequest(params) // -// // Example sending a request using the CreateImageRequest method. -// req, resp := client.CreateImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateImage func (c *EC2) CreateImageRequest(input *CreateImageInput) (req *request.Request, output *CreateImageOutput) { @@ -5090,14 +5028,13 @@ const opCreateInstanceEventWindow = "CreateInstanceEventWindow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInstanceEventWindowRequest method. +// req, resp := client.CreateInstanceEventWindowRequest(params) // -// // Example sending a request using the CreateInstanceEventWindowRequest method. -// req, resp := client.CreateInstanceEventWindowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceEventWindow func (c *EC2) CreateInstanceEventWindowRequest(input *CreateInstanceEventWindowInput) (req *request.Request, output *CreateInstanceEventWindowOutput) { @@ -5136,9 +5073,9 @@ func (c *EC2) CreateInstanceEventWindowRequest(input *CreateInstanceEventWindowI // // Event windows are not applicable for: // -// * Expedited scheduled events and network maintenance events. +// - Expedited scheduled events and network maintenance events. // -// * Unscheduled maintenance such as AutoRecovery and unplanned reboots. +// - Unscheduled maintenance such as AutoRecovery and unplanned reboots. // // For more information, see Define event windows for scheduled events (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/event-windows.html) // in the Amazon EC2 User Guide. @@ -5187,14 +5124,13 @@ const opCreateInstanceExportTask = "CreateInstanceExportTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInstanceExportTaskRequest method. +// req, resp := client.CreateInstanceExportTaskRequest(params) // -// // Example sending a request using the CreateInstanceExportTaskRequest method. -// req, resp := client.CreateInstanceExportTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInstanceExportTask func (c *EC2) CreateInstanceExportTaskRequest(input *CreateInstanceExportTaskInput) (req *request.Request, output *CreateInstanceExportTaskOutput) { @@ -5266,14 +5202,13 @@ const opCreateInternetGateway = "CreateInternetGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInternetGatewayRequest method. +// req, resp := client.CreateInternetGatewayRequest(params) // -// // Example sending a request using the CreateInternetGatewayRequest method. -// req, resp := client.CreateInternetGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateInternetGateway func (c *EC2) CreateInternetGatewayRequest(input *CreateInternetGatewayInput) (req *request.Request, output *CreateInternetGatewayOutput) { @@ -5344,14 +5279,13 @@ const opCreateIpam = "CreateIpam" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIpamRequest method. +// req, resp := client.CreateIpamRequest(params) // -// // Example sending a request using the CreateIpamRequest method. -// req, resp := client.CreateIpamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateIpam func (c *EC2) CreateIpamRequest(input *CreateIpamInput) (req *request.Request, output *CreateIpamOutput) { @@ -5424,14 +5358,13 @@ const opCreateIpamPool = "CreateIpamPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIpamPoolRequest method. +// req, resp := client.CreateIpamPoolRequest(params) // -// // Example sending a request using the CreateIpamPoolRequest method. -// req, resp := client.CreateIpamPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateIpamPool func (c *EC2) CreateIpamPoolRequest(input *CreateIpamPoolInput) (req *request.Request, output *CreateIpamPoolOutput) { @@ -5505,14 +5438,13 @@ const opCreateIpamScope = "CreateIpamScope" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIpamScopeRequest method. +// req, resp := client.CreateIpamScopeRequest(params) // -// // Example sending a request using the CreateIpamScopeRequest method. -// req, resp := client.CreateIpamScopeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateIpamScope func (c *EC2) CreateIpamScopeRequest(input *CreateIpamScopeInput) (req *request.Request, output *CreateIpamScopeOutput) { @@ -5587,14 +5519,13 @@ const opCreateKeyPair = "CreateKeyPair" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateKeyPairRequest method. +// req, resp := client.CreateKeyPairRequest(params) // -// // Example sending a request using the CreateKeyPairRequest method. -// req, resp := client.CreateKeyPairRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateKeyPair func (c *EC2) CreateKeyPairRequest(input *CreateKeyPairInput) (req *request.Request, output *CreateKeyPairOutput) { @@ -5675,14 +5606,13 @@ const opCreateLaunchTemplate = "CreateLaunchTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLaunchTemplateRequest method. +// req, resp := client.CreateLaunchTemplateRequest(params) // -// // Example sending a request using the CreateLaunchTemplateRequest method. -// req, resp := client.CreateLaunchTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplate func (c *EC2) CreateLaunchTemplateRequest(input *CreateLaunchTemplateInput) (req *request.Request, output *CreateLaunchTemplateOutput) { @@ -5761,14 +5691,13 @@ const opCreateLaunchTemplateVersion = "CreateLaunchTemplateVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLaunchTemplateVersionRequest method. +// req, resp := client.CreateLaunchTemplateVersionRequest(params) // -// // Example sending a request using the CreateLaunchTemplateVersionRequest method. -// req, resp := client.CreateLaunchTemplateVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateVersion func (c *EC2) CreateLaunchTemplateVersionRequest(input *CreateLaunchTemplateVersionInput) (req *request.Request, output *CreateLaunchTemplateVersionOutput) { @@ -5847,14 +5776,13 @@ const opCreateLocalGatewayRoute = "CreateLocalGatewayRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLocalGatewayRouteRequest method. +// req, resp := client.CreateLocalGatewayRouteRequest(params) // -// // Example sending a request using the CreateLocalGatewayRouteRequest method. -// req, resp := client.CreateLocalGatewayRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLocalGatewayRoute func (c *EC2) CreateLocalGatewayRouteRequest(input *CreateLocalGatewayRouteInput) (req *request.Request, output *CreateLocalGatewayRouteOutput) { @@ -5921,14 +5849,13 @@ const opCreateLocalGatewayRouteTableVpcAssociation = "CreateLocalGatewayRouteTab // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLocalGatewayRouteTableVpcAssociationRequest method. +// req, resp := client.CreateLocalGatewayRouteTableVpcAssociationRequest(params) // -// // Example sending a request using the CreateLocalGatewayRouteTableVpcAssociationRequest method. -// req, resp := client.CreateLocalGatewayRouteTableVpcAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLocalGatewayRouteTableVpcAssociation func (c *EC2) CreateLocalGatewayRouteTableVpcAssociationRequest(input *CreateLocalGatewayRouteTableVpcAssociationInput) (req *request.Request, output *CreateLocalGatewayRouteTableVpcAssociationOutput) { @@ -5995,14 +5922,13 @@ const opCreateManagedPrefixList = "CreateManagedPrefixList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateManagedPrefixListRequest method. +// req, resp := client.CreateManagedPrefixListRequest(params) // -// // Example sending a request using the CreateManagedPrefixListRequest method. -// req, resp := client.CreateManagedPrefixListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateManagedPrefixList func (c *EC2) CreateManagedPrefixListRequest(input *CreateManagedPrefixListInput) (req *request.Request, output *CreateManagedPrefixListOutput) { @@ -6070,14 +5996,13 @@ const opCreateNatGateway = "CreateNatGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNatGatewayRequest method. +// req, resp := client.CreateNatGatewayRequest(params) // -// // Example sending a request using the CreateNatGatewayRequest method. -// req, resp := client.CreateNatGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGateway func (c *EC2) CreateNatGatewayRequest(input *CreateNatGatewayInput) (req *request.Request, output *CreateNatGatewayOutput) { @@ -6160,14 +6085,13 @@ const opCreateNetworkAcl = "CreateNetworkAcl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNetworkAclRequest method. +// req, resp := client.CreateNetworkAclRequest(params) // -// // Example sending a request using the CreateNetworkAclRequest method. -// req, resp := client.CreateNetworkAclRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAcl func (c *EC2) CreateNetworkAclRequest(input *CreateNetworkAclInput) (req *request.Request, output *CreateNetworkAclOutput) { @@ -6238,14 +6162,13 @@ const opCreateNetworkAclEntry = "CreateNetworkAclEntry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNetworkAclEntryRequest method. +// req, resp := client.CreateNetworkAclEntryRequest(params) // -// // Example sending a request using the CreateNetworkAclEntryRequest method. -// req, resp := client.CreateNetworkAclEntryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkAclEntry func (c *EC2) CreateNetworkAclEntryRequest(input *CreateNetworkAclEntryInput) (req *request.Request, output *CreateNetworkAclEntryOutput) { @@ -6329,14 +6252,13 @@ const opCreateNetworkInsightsAccessScope = "CreateNetworkInsightsAccessScope" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNetworkInsightsAccessScopeRequest method. +// req, resp := client.CreateNetworkInsightsAccessScopeRequest(params) // -// // Example sending a request using the CreateNetworkInsightsAccessScopeRequest method. -// req, resp := client.CreateNetworkInsightsAccessScopeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInsightsAccessScope func (c *EC2) CreateNetworkInsightsAccessScopeRequest(input *CreateNetworkInsightsAccessScopeInput) (req *request.Request, output *CreateNetworkInsightsAccessScopeOutput) { @@ -6408,14 +6330,13 @@ const opCreateNetworkInsightsPath = "CreateNetworkInsightsPath" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNetworkInsightsPathRequest method. +// req, resp := client.CreateNetworkInsightsPathRequest(params) // -// // Example sending a request using the CreateNetworkInsightsPathRequest method. -// req, resp := client.CreateNetworkInsightsPathRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInsightsPath func (c *EC2) CreateNetworkInsightsPathRequest(input *CreateNetworkInsightsPathInput) (req *request.Request, output *CreateNetworkInsightsPathOutput) { @@ -6486,14 +6407,13 @@ const opCreateNetworkInterface = "CreateNetworkInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNetworkInterfaceRequest method. +// req, resp := client.CreateNetworkInterfaceRequest(params) // -// // Example sending a request using the CreateNetworkInterfaceRequest method. -// req, resp := client.CreateNetworkInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterface func (c *EC2) CreateNetworkInterfaceRequest(input *CreateNetworkInterfaceInput) (req *request.Request, output *CreateNetworkInterfaceOutput) { @@ -6564,14 +6484,13 @@ const opCreateNetworkInterfacePermission = "CreateNetworkInterfacePermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNetworkInterfacePermissionRequest method. +// req, resp := client.CreateNetworkInterfacePermissionRequest(params) // -// // Example sending a request using the CreateNetworkInterfacePermissionRequest method. -// req, resp := client.CreateNetworkInterfacePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInterfacePermission func (c *EC2) CreateNetworkInterfacePermissionRequest(input *CreateNetworkInterfacePermissionInput) (req *request.Request, output *CreateNetworkInterfacePermissionOutput) { @@ -6642,14 +6561,13 @@ const opCreatePlacementGroup = "CreatePlacementGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePlacementGroupRequest method. +// req, resp := client.CreatePlacementGroupRequest(params) // -// // Example sending a request using the CreatePlacementGroupRequest method. -// req, resp := client.CreatePlacementGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroup func (c *EC2) CreatePlacementGroupRequest(input *CreatePlacementGroupInput) (req *request.Request, output *CreatePlacementGroupOutput) { @@ -6727,14 +6645,13 @@ const opCreatePublicIpv4Pool = "CreatePublicIpv4Pool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePublicIpv4PoolRequest method. +// req, resp := client.CreatePublicIpv4PoolRequest(params) // -// // Example sending a request using the CreatePublicIpv4PoolRequest method. -// req, resp := client.CreatePublicIpv4PoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePublicIpv4Pool func (c *EC2) CreatePublicIpv4PoolRequest(input *CreatePublicIpv4PoolInput) (req *request.Request, output *CreatePublicIpv4PoolOutput) { @@ -6805,14 +6722,13 @@ const opCreateReplaceRootVolumeTask = "CreateReplaceRootVolumeTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReplaceRootVolumeTaskRequest method. +// req, resp := client.CreateReplaceRootVolumeTaskRequest(params) // -// // Example sending a request using the CreateReplaceRootVolumeTaskRequest method. -// req, resp := client.CreateReplaceRootVolumeTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReplaceRootVolumeTask func (c *EC2) CreateReplaceRootVolumeTaskRequest(input *CreateReplaceRootVolumeTaskInput) (req *request.Request, output *CreateReplaceRootVolumeTaskOutput) { @@ -6884,14 +6800,13 @@ const opCreateReservedInstancesListing = "CreateReservedInstancesListing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReservedInstancesListingRequest method. +// req, resp := client.CreateReservedInstancesListingRequest(params) // -// // Example sending a request using the CreateReservedInstancesListingRequest method. -// req, resp := client.CreateReservedInstancesListingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateReservedInstancesListing func (c *EC2) CreateReservedInstancesListingRequest(input *CreateReservedInstancesListingInput) (req *request.Request, output *CreateReservedInstancesListingOutput) { @@ -6980,14 +6895,13 @@ const opCreateRestoreImageTask = "CreateRestoreImageTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRestoreImageTaskRequest method. +// req, resp := client.CreateRestoreImageTaskRequest(params) // -// // Example sending a request using the CreateRestoreImageTaskRequest method. -// req, resp := client.CreateRestoreImageTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRestoreImageTask func (c *EC2) CreateRestoreImageTaskRequest(input *CreateRestoreImageTaskInput) (req *request.Request, output *CreateRestoreImageTaskOutput) { @@ -7062,14 +6976,13 @@ const opCreateRoute = "CreateRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRouteRequest method. +// req, resp := client.CreateRouteRequest(params) // -// // Example sending a request using the CreateRouteRequest method. -// req, resp := client.CreateRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRoute func (c *EC2) CreateRouteRequest(input *CreateRouteInput) (req *request.Request, output *CreateRouteOutput) { @@ -7100,9 +7013,9 @@ func (c *EC2) CreateRouteRequest(input *CreateRouteInput) (req *request.Request, // match. For example, traffic is destined for the IPv4 address 192.0.2.3, and // the route table includes the following two IPv4 routes: // -// * 192.0.2.0/24 (goes to some target A) +// - 192.0.2.0/24 (goes to some target A) // -// * 192.0.2.0/28 (goes to some target B) +// - 192.0.2.0/28 (goes to some target B) // // Both routes apply to the traffic destined for 192.0.2.3. However, the second // route in the list covers a smaller number of IP addresses and is therefore @@ -7155,14 +7068,13 @@ const opCreateRouteTable = "CreateRouteTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRouteTableRequest method. +// req, resp := client.CreateRouteTableRequest(params) // -// // Example sending a request using the CreateRouteTableRequest method. -// req, resp := client.CreateRouteTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateRouteTable func (c *EC2) CreateRouteTableRequest(input *CreateRouteTableInput) (req *request.Request, output *CreateRouteTableOutput) { @@ -7233,14 +7145,13 @@ const opCreateSecurityGroup = "CreateSecurityGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSecurityGroupRequest method. +// req, resp := client.CreateSecurityGroupRequest(params) // -// // Example sending a request using the CreateSecurityGroupRequest method. -// req, resp := client.CreateSecurityGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSecurityGroup func (c *EC2) CreateSecurityGroupRequest(input *CreateSecurityGroupInput) (req *request.Request, output *CreateSecurityGroupOutput) { @@ -7332,14 +7243,13 @@ const opCreateSnapshot = "CreateSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSnapshotRequest method. +// req, resp := client.CreateSnapshotRequest(params) // -// // Example sending a request using the CreateSnapshotRequest method. -// req, resp := client.CreateSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshot func (c *EC2) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Request, output *Snapshot) { @@ -7444,14 +7354,13 @@ const opCreateSnapshots = "CreateSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSnapshotsRequest method. +// req, resp := client.CreateSnapshotsRequest(params) // -// // Example sending a request using the CreateSnapshotsRequest method. -// req, resp := client.CreateSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSnapshots func (c *EC2) CreateSnapshotsRequest(input *CreateSnapshotsInput) (req *request.Request, output *CreateSnapshotsOutput) { @@ -7527,14 +7436,13 @@ const opCreateSpotDatafeedSubscription = "CreateSpotDatafeedSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSpotDatafeedSubscriptionRequest method. +// req, resp := client.CreateSpotDatafeedSubscriptionRequest(params) // -// // Example sending a request using the CreateSpotDatafeedSubscriptionRequest method. -// req, resp := client.CreateSpotDatafeedSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSpotDatafeedSubscription func (c *EC2) CreateSpotDatafeedSubscriptionRequest(input *CreateSpotDatafeedSubscriptionInput) (req *request.Request, output *CreateSpotDatafeedSubscriptionOutput) { @@ -7604,14 +7512,13 @@ const opCreateStoreImageTask = "CreateStoreImageTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStoreImageTaskRequest method. +// req, resp := client.CreateStoreImageTaskRequest(params) // -// // Example sending a request using the CreateStoreImageTaskRequest method. -// req, resp := client.CreateStoreImageTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateStoreImageTask func (c *EC2) CreateStoreImageTaskRequest(input *CreateStoreImageTaskInput) (req *request.Request, output *CreateStoreImageTaskOutput) { @@ -7685,14 +7592,13 @@ const opCreateSubnet = "CreateSubnet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSubnetRequest method. +// req, resp := client.CreateSubnetRequest(params) // -// // Example sending a request using the CreateSubnetRequest method. -// req, resp := client.CreateSubnetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnet func (c *EC2) CreateSubnetRequest(input *CreateSubnetInput) (req *request.Request, output *CreateSubnetOutput) { @@ -7780,14 +7686,13 @@ const opCreateSubnetCidrReservation = "CreateSubnetCidrReservation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSubnetCidrReservationRequest method. +// req, resp := client.CreateSubnetCidrReservationRequest(params) // -// // Example sending a request using the CreateSubnetCidrReservationRequest method. -// req, resp := client.CreateSubnetCidrReservationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateSubnetCidrReservation func (c *EC2) CreateSubnetCidrReservationRequest(input *CreateSubnetCidrReservationInput) (req *request.Request, output *CreateSubnetCidrReservationOutput) { @@ -7856,14 +7761,13 @@ const opCreateTags = "CreateTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTagsRequest method. +// req, resp := client.CreateTagsRequest(params) // -// // Example sending a request using the CreateTagsRequest method. -// req, resp := client.CreateTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTags func (c *EC2) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput) { @@ -7940,14 +7844,13 @@ const opCreateTrafficMirrorFilter = "CreateTrafficMirrorFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTrafficMirrorFilterRequest method. +// req, resp := client.CreateTrafficMirrorFilterRequest(params) // -// // Example sending a request using the CreateTrafficMirrorFilterRequest method. -// req, resp := client.CreateTrafficMirrorFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorFilter func (c *EC2) CreateTrafficMirrorFilterRequest(input *CreateTrafficMirrorFilterInput) (req *request.Request, output *CreateTrafficMirrorFilterOutput) { @@ -8023,14 +7926,13 @@ const opCreateTrafficMirrorFilterRule = "CreateTrafficMirrorFilterRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTrafficMirrorFilterRuleRequest method. +// req, resp := client.CreateTrafficMirrorFilterRuleRequest(params) // -// // Example sending a request using the CreateTrafficMirrorFilterRuleRequest method. -// req, resp := client.CreateTrafficMirrorFilterRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorFilterRule func (c *EC2) CreateTrafficMirrorFilterRuleRequest(input *CreateTrafficMirrorFilterRuleInput) (req *request.Request, output *CreateTrafficMirrorFilterRuleOutput) { @@ -8101,14 +8003,13 @@ const opCreateTrafficMirrorSession = "CreateTrafficMirrorSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTrafficMirrorSessionRequest method. +// req, resp := client.CreateTrafficMirrorSessionRequest(params) // -// // Example sending a request using the CreateTrafficMirrorSessionRequest method. -// req, resp := client.CreateTrafficMirrorSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorSession func (c *EC2) CreateTrafficMirrorSessionRequest(input *CreateTrafficMirrorSessionInput) (req *request.Request, output *CreateTrafficMirrorSessionOutput) { @@ -8186,14 +8087,13 @@ const opCreateTrafficMirrorTarget = "CreateTrafficMirrorTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTrafficMirrorTargetRequest method. +// req, resp := client.CreateTrafficMirrorTargetRequest(params) // -// // Example sending a request using the CreateTrafficMirrorTargetRequest method. -// req, resp := client.CreateTrafficMirrorTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTrafficMirrorTarget func (c *EC2) CreateTrafficMirrorTargetRequest(input *CreateTrafficMirrorTargetInput) (req *request.Request, output *CreateTrafficMirrorTargetOutput) { @@ -8271,14 +8171,13 @@ const opCreateTransitGateway = "CreateTransitGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTransitGatewayRequest method. +// req, resp := client.CreateTransitGatewayRequest(params) // -// // Example sending a request using the CreateTransitGatewayRequest method. -// req, resp := client.CreateTransitGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGateway func (c *EC2) CreateTransitGatewayRequest(input *CreateTransitGatewayInput) (req *request.Request, output *CreateTransitGatewayOutput) { @@ -8364,14 +8263,13 @@ const opCreateTransitGatewayConnect = "CreateTransitGatewayConnect" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTransitGatewayConnectRequest method. +// req, resp := client.CreateTransitGatewayConnectRequest(params) // -// // Example sending a request using the CreateTransitGatewayConnectRequest method. -// req, resp := client.CreateTransitGatewayConnectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayConnect func (c *EC2) CreateTransitGatewayConnectRequest(input *CreateTransitGatewayConnectInput) (req *request.Request, output *CreateTransitGatewayConnectOutput) { @@ -8443,14 +8341,13 @@ const opCreateTransitGatewayConnectPeer = "CreateTransitGatewayConnectPeer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTransitGatewayConnectPeerRequest method. +// req, resp := client.CreateTransitGatewayConnectPeerRequest(params) // -// // Example sending a request using the CreateTransitGatewayConnectPeerRequest method. -// req, resp := client.CreateTransitGatewayConnectPeerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayConnectPeer func (c *EC2) CreateTransitGatewayConnectPeerRequest(input *CreateTransitGatewayConnectPeerInput) (req *request.Request, output *CreateTransitGatewayConnectPeerOutput) { @@ -8524,14 +8421,13 @@ const opCreateTransitGatewayMulticastDomain = "CreateTransitGatewayMulticastDoma // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTransitGatewayMulticastDomainRequest method. +// req, resp := client.CreateTransitGatewayMulticastDomainRequest(params) // -// // Example sending a request using the CreateTransitGatewayMulticastDomainRequest method. -// req, resp := client.CreateTransitGatewayMulticastDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayMulticastDomain func (c *EC2) CreateTransitGatewayMulticastDomainRequest(input *CreateTransitGatewayMulticastDomainInput) (req *request.Request, output *CreateTransitGatewayMulticastDomainOutput) { @@ -8602,14 +8498,13 @@ const opCreateTransitGatewayPeeringAttachment = "CreateTransitGatewayPeeringAtta // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTransitGatewayPeeringAttachmentRequest method. +// req, resp := client.CreateTransitGatewayPeeringAttachmentRequest(params) // -// // Example sending a request using the CreateTransitGatewayPeeringAttachmentRequest method. -// req, resp := client.CreateTransitGatewayPeeringAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayPeeringAttachment func (c *EC2) CreateTransitGatewayPeeringAttachmentRequest(input *CreateTransitGatewayPeeringAttachmentInput) (req *request.Request, output *CreateTransitGatewayPeeringAttachmentOutput) { @@ -8682,14 +8577,13 @@ const opCreateTransitGatewayPrefixListReference = "CreateTransitGatewayPrefixLis // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTransitGatewayPrefixListReferenceRequest method. +// req, resp := client.CreateTransitGatewayPrefixListReferenceRequest(params) // -// // Example sending a request using the CreateTransitGatewayPrefixListReferenceRequest method. -// req, resp := client.CreateTransitGatewayPrefixListReferenceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayPrefixListReference func (c *EC2) CreateTransitGatewayPrefixListReferenceRequest(input *CreateTransitGatewayPrefixListReferenceInput) (req *request.Request, output *CreateTransitGatewayPrefixListReferenceOutput) { @@ -8757,14 +8651,13 @@ const opCreateTransitGatewayRoute = "CreateTransitGatewayRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTransitGatewayRouteRequest method. +// req, resp := client.CreateTransitGatewayRouteRequest(params) // -// // Example sending a request using the CreateTransitGatewayRouteRequest method. -// req, resp := client.CreateTransitGatewayRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayRoute func (c *EC2) CreateTransitGatewayRouteRequest(input *CreateTransitGatewayRouteInput) (req *request.Request, output *CreateTransitGatewayRouteOutput) { @@ -8831,14 +8724,13 @@ const opCreateTransitGatewayRouteTable = "CreateTransitGatewayRouteTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTransitGatewayRouteTableRequest method. +// req, resp := client.CreateTransitGatewayRouteTableRequest(params) // -// // Example sending a request using the CreateTransitGatewayRouteTableRequest method. -// req, resp := client.CreateTransitGatewayRouteTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayRouteTable func (c *EC2) CreateTransitGatewayRouteTableRequest(input *CreateTransitGatewayRouteTableInput) (req *request.Request, output *CreateTransitGatewayRouteTableOutput) { @@ -8905,14 +8797,13 @@ const opCreateTransitGatewayVpcAttachment = "CreateTransitGatewayVpcAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTransitGatewayVpcAttachmentRequest method. +// req, resp := client.CreateTransitGatewayVpcAttachmentRequest(params) // -// // Example sending a request using the CreateTransitGatewayVpcAttachmentRequest method. -// req, resp := client.CreateTransitGatewayVpcAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayVpcAttachment func (c *EC2) CreateTransitGatewayVpcAttachmentRequest(input *CreateTransitGatewayVpcAttachmentInput) (req *request.Request, output *CreateTransitGatewayVpcAttachmentOutput) { @@ -8986,14 +8877,13 @@ const opCreateVolume = "CreateVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVolumeRequest method. +// req, resp := client.CreateVolumeRequest(params) // -// // Example sending a request using the CreateVolumeRequest method. -// req, resp := client.CreateVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVolume func (c *EC2) CreateVolumeRequest(input *CreateVolumeInput) (req *request.Request, output *Volume) { @@ -9078,14 +8968,13 @@ const opCreateVpc = "CreateVpc" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVpcRequest method. +// req, resp := client.CreateVpcRequest(params) // -// // Example sending a request using the CreateVpcRequest method. -// req, resp := client.CreateVpcRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpc func (c *EC2) CreateVpcRequest(input *CreateVpcInput) (req *request.Request, output *CreateVpcOutput) { @@ -9171,14 +9060,13 @@ const opCreateVpcEndpoint = "CreateVpcEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVpcEndpointRequest method. +// req, resp := client.CreateVpcEndpointRequest(params) // -// // Example sending a request using the CreateVpcEndpointRequest method. -// req, resp := client.CreateVpcEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpoint func (c *EC2) CreateVpcEndpointRequest(input *CreateVpcEndpointInput) (req *request.Request, output *CreateVpcEndpointOutput) { @@ -9249,14 +9137,13 @@ const opCreateVpcEndpointConnectionNotification = "CreateVpcEndpointConnectionNo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVpcEndpointConnectionNotificationRequest method. +// req, resp := client.CreateVpcEndpointConnectionNotificationRequest(params) // -// // Example sending a request using the CreateVpcEndpointConnectionNotificationRequest method. -// req, resp := client.CreateVpcEndpointConnectionNotificationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointConnectionNotification func (c *EC2) CreateVpcEndpointConnectionNotificationRequest(input *CreateVpcEndpointConnectionNotificationInput) (req *request.Request, output *CreateVpcEndpointConnectionNotificationOutput) { @@ -9329,14 +9216,13 @@ const opCreateVpcEndpointServiceConfiguration = "CreateVpcEndpointServiceConfigu // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVpcEndpointServiceConfigurationRequest method. +// req, resp := client.CreateVpcEndpointServiceConfigurationRequest(params) // -// // Example sending a request using the CreateVpcEndpointServiceConfigurationRequest method. -// req, resp := client.CreateVpcEndpointServiceConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcEndpointServiceConfiguration func (c *EC2) CreateVpcEndpointServiceConfigurationRequest(input *CreateVpcEndpointServiceConfigurationInput) (req *request.Request, output *CreateVpcEndpointServiceConfigurationOutput) { @@ -9363,12 +9249,12 @@ func (c *EC2) CreateVpcEndpointServiceConfigurationRequest(input *CreateVpcEndpo // Before you create an endpoint service, you must create one of the following // for your service: // -// * A Network Load Balancer (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/). -// Service consumers connect to your service using an interface endpoint. +// - A Network Load Balancer (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/). +// Service consumers connect to your service using an interface endpoint. // -// * A Gateway Load Balancer (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/). -// Service consumers connect to your service using a Gateway Load Balancer -// endpoint. +// - A Gateway Load Balancer (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/). +// Service consumers connect to your service using a Gateway Load Balancer +// endpoint. // // If you set the private DNS name, you must prove that you own the private // DNS domain name. @@ -9419,14 +9305,13 @@ const opCreateVpcPeeringConnection = "CreateVpcPeeringConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVpcPeeringConnectionRequest method. +// req, resp := client.CreateVpcPeeringConnectionRequest(params) // -// // Example sending a request using the CreateVpcPeeringConnectionRequest method. -// req, resp := client.CreateVpcPeeringConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpcPeeringConnection func (c *EC2) CreateVpcPeeringConnectionRequest(input *CreateVpcPeeringConnectionInput) (req *request.Request, output *CreateVpcPeeringConnectionOutput) { @@ -9508,14 +9393,13 @@ const opCreateVpnConnection = "CreateVpnConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVpnConnectionRequest method. +// req, resp := client.CreateVpnConnectionRequest(params) // -// // Example sending a request using the CreateVpnConnectionRequest method. -// req, resp := client.CreateVpnConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnection func (c *EC2) CreateVpnConnectionRequest(input *CreateVpnConnectionInput) (req *request.Request, output *CreateVpnConnectionOutput) { @@ -9600,14 +9484,13 @@ const opCreateVpnConnectionRoute = "CreateVpnConnectionRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVpnConnectionRouteRequest method. +// req, resp := client.CreateVpnConnectionRouteRequest(params) // -// // Example sending a request using the CreateVpnConnectionRouteRequest method. -// req, resp := client.CreateVpnConnectionRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRoute func (c *EC2) CreateVpnConnectionRouteRequest(input *CreateVpnConnectionRouteInput) (req *request.Request, output *CreateVpnConnectionRouteOutput) { @@ -9681,14 +9564,13 @@ const opCreateVpnGateway = "CreateVpnGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVpnGatewayRequest method. +// req, resp := client.CreateVpnGatewayRequest(params) // -// // Example sending a request using the CreateVpnGatewayRequest method. -// req, resp := client.CreateVpnGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnGateway func (c *EC2) CreateVpnGatewayRequest(input *CreateVpnGatewayInput) (req *request.Request, output *CreateVpnGatewayOutput) { @@ -9760,14 +9642,13 @@ const opDeleteCarrierGateway = "DeleteCarrierGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCarrierGatewayRequest method. +// req, resp := client.DeleteCarrierGatewayRequest(params) // -// // Example sending a request using the DeleteCarrierGatewayRequest method. -// req, resp := client.DeleteCarrierGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCarrierGateway func (c *EC2) DeleteCarrierGatewayRequest(input *DeleteCarrierGatewayInput) (req *request.Request, output *DeleteCarrierGatewayOutput) { @@ -9838,14 +9719,13 @@ const opDeleteClientVpnEndpoint = "DeleteClientVpnEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClientVpnEndpointRequest method. +// req, resp := client.DeleteClientVpnEndpointRequest(params) // -// // Example sending a request using the DeleteClientVpnEndpointRequest method. -// req, resp := client.DeleteClientVpnEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteClientVpnEndpoint func (c *EC2) DeleteClientVpnEndpointRequest(input *DeleteClientVpnEndpointInput) (req *request.Request, output *DeleteClientVpnEndpointOutput) { @@ -9913,14 +9793,13 @@ const opDeleteClientVpnRoute = "DeleteClientVpnRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClientVpnRouteRequest method. +// req, resp := client.DeleteClientVpnRouteRequest(params) // -// // Example sending a request using the DeleteClientVpnRouteRequest method. -// req, resp := client.DeleteClientVpnRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteClientVpnRoute func (c *EC2) DeleteClientVpnRouteRequest(input *DeleteClientVpnRouteInput) (req *request.Request, output *DeleteClientVpnRouteOutput) { @@ -9991,14 +9870,13 @@ const opDeleteCustomerGateway = "DeleteCustomerGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomerGatewayRequest method. +// req, resp := client.DeleteCustomerGatewayRequest(params) // -// // Example sending a request using the DeleteCustomerGatewayRequest method. -// req, resp := client.DeleteCustomerGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteCustomerGateway func (c *EC2) DeleteCustomerGatewayRequest(input *DeleteCustomerGatewayInput) (req *request.Request, output *DeleteCustomerGatewayOutput) { @@ -10067,14 +9945,13 @@ const opDeleteDhcpOptions = "DeleteDhcpOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDhcpOptionsRequest method. +// req, resp := client.DeleteDhcpOptionsRequest(params) // -// // Example sending a request using the DeleteDhcpOptionsRequest method. -// req, resp := client.DeleteDhcpOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteDhcpOptions func (c *EC2) DeleteDhcpOptionsRequest(input *DeleteDhcpOptionsInput) (req *request.Request, output *DeleteDhcpOptionsOutput) { @@ -10145,14 +10022,13 @@ const opDeleteEgressOnlyInternetGateway = "DeleteEgressOnlyInternetGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEgressOnlyInternetGatewayRequest method. +// req, resp := client.DeleteEgressOnlyInternetGatewayRequest(params) // -// // Example sending a request using the DeleteEgressOnlyInternetGatewayRequest method. -// req, resp := client.DeleteEgressOnlyInternetGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteEgressOnlyInternetGateway func (c *EC2) DeleteEgressOnlyInternetGatewayRequest(input *DeleteEgressOnlyInternetGatewayInput) (req *request.Request, output *DeleteEgressOnlyInternetGatewayOutput) { @@ -10219,14 +10095,13 @@ const opDeleteFleets = "DeleteFleets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFleetsRequest method. +// req, resp := client.DeleteFleetsRequest(params) // -// // Example sending a request using the DeleteFleetsRequest method. -// req, resp := client.DeleteFleetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFleets func (c *EC2) DeleteFleetsRequest(input *DeleteFleetsInput) (req *request.Request, output *DeleteFleetsOutput) { @@ -10262,13 +10137,13 @@ func (c *EC2) DeleteFleetsRequest(input *DeleteFleetsInput) (req *request.Reques // // Restrictions // -// * You can delete up to 25 instant fleets in a single request. If you exceed -// this number, no instant fleets are deleted and an error is returned. There -// is no restriction on the number of fleets of type maintain or request -// that can be deleted in a single request. +// - You can delete up to 25 instant fleets in a single request. If you exceed +// this number, no instant fleets are deleted and an error is returned. There +// is no restriction on the number of fleets of type maintain or request +// that can be deleted in a single request. // -// * Up to 1000 instances can be terminated in a single request to delete -// instant fleets. +// - Up to 1000 instances can be terminated in a single request to delete +// instant fleets. // // For more information, see Delete an EC2 Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/manage-ec2-fleet.html#delete-fleet) // in the Amazon EC2 User Guide. @@ -10317,14 +10192,13 @@ const opDeleteFlowLogs = "DeleteFlowLogs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFlowLogsRequest method. +// req, resp := client.DeleteFlowLogsRequest(params) // -// // Example sending a request using the DeleteFlowLogsRequest method. -// req, resp := client.DeleteFlowLogsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFlowLogs func (c *EC2) DeleteFlowLogsRequest(input *DeleteFlowLogsInput) (req *request.Request, output *DeleteFlowLogsOutput) { @@ -10391,14 +10265,13 @@ const opDeleteFpgaImage = "DeleteFpgaImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFpgaImageRequest method. +// req, resp := client.DeleteFpgaImageRequest(params) // -// // Example sending a request using the DeleteFpgaImageRequest method. -// req, resp := client.DeleteFpgaImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteFpgaImage func (c *EC2) DeleteFpgaImageRequest(input *DeleteFpgaImageInput) (req *request.Request, output *DeleteFpgaImageOutput) { @@ -10465,14 +10338,13 @@ const opDeleteInstanceEventWindow = "DeleteInstanceEventWindow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInstanceEventWindowRequest method. +// req, resp := client.DeleteInstanceEventWindowRequest(params) // -// // Example sending a request using the DeleteInstanceEventWindowRequest method. -// req, resp := client.DeleteInstanceEventWindowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInstanceEventWindow func (c *EC2) DeleteInstanceEventWindowRequest(input *DeleteInstanceEventWindowInput) (req *request.Request, output *DeleteInstanceEventWindowOutput) { @@ -10542,14 +10414,13 @@ const opDeleteInternetGateway = "DeleteInternetGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInternetGatewayRequest method. +// req, resp := client.DeleteInternetGatewayRequest(params) // -// // Example sending a request using the DeleteInternetGatewayRequest method. -// req, resp := client.DeleteInternetGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteInternetGateway func (c *EC2) DeleteInternetGatewayRequest(input *DeleteInternetGatewayInput) (req *request.Request, output *DeleteInternetGatewayOutput) { @@ -10618,14 +10489,13 @@ const opDeleteIpam = "DeleteIpam" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIpamRequest method. +// req, resp := client.DeleteIpamRequest(params) // -// // Example sending a request using the DeleteIpamRequest method. -// req, resp := client.DeleteIpamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteIpam func (c *EC2) DeleteIpamRequest(input *DeleteIpamInput) (req *request.Request, output *DeleteIpamOutput) { @@ -10696,14 +10566,13 @@ const opDeleteIpamPool = "DeleteIpamPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIpamPoolRequest method. +// req, resp := client.DeleteIpamPoolRequest(params) // -// // Example sending a request using the DeleteIpamPoolRequest method. -// req, resp := client.DeleteIpamPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteIpamPool func (c *EC2) DeleteIpamPoolRequest(input *DeleteIpamPoolInput) (req *request.Request, output *DeleteIpamPoolOutput) { @@ -10777,14 +10646,13 @@ const opDeleteIpamScope = "DeleteIpamScope" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIpamScopeRequest method. +// req, resp := client.DeleteIpamScopeRequest(params) // -// // Example sending a request using the DeleteIpamScopeRequest method. -// req, resp := client.DeleteIpamScopeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteIpamScope func (c *EC2) DeleteIpamScopeRequest(input *DeleteIpamScopeInput) (req *request.Request, output *DeleteIpamScopeOutput) { @@ -10854,14 +10722,13 @@ const opDeleteKeyPair = "DeleteKeyPair" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteKeyPairRequest method. +// req, resp := client.DeleteKeyPairRequest(params) // -// // Example sending a request using the DeleteKeyPairRequest method. -// req, resp := client.DeleteKeyPairRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteKeyPair func (c *EC2) DeleteKeyPairRequest(input *DeleteKeyPairInput) (req *request.Request, output *DeleteKeyPairOutput) { @@ -10929,14 +10796,13 @@ const opDeleteLaunchTemplate = "DeleteLaunchTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLaunchTemplateRequest method. +// req, resp := client.DeleteLaunchTemplateRequest(params) // -// // Example sending a request using the DeleteLaunchTemplateRequest method. -// req, resp := client.DeleteLaunchTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplate func (c *EC2) DeleteLaunchTemplateRequest(input *DeleteLaunchTemplateInput) (req *request.Request, output *DeleteLaunchTemplateOutput) { @@ -11004,14 +10870,13 @@ const opDeleteLaunchTemplateVersions = "DeleteLaunchTemplateVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLaunchTemplateVersionsRequest method. +// req, resp := client.DeleteLaunchTemplateVersionsRequest(params) // -// // Example sending a request using the DeleteLaunchTemplateVersionsRequest method. -// req, resp := client.DeleteLaunchTemplateVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLaunchTemplateVersions func (c *EC2) DeleteLaunchTemplateVersionsRequest(input *DeleteLaunchTemplateVersionsInput) (req *request.Request, output *DeleteLaunchTemplateVersionsOutput) { @@ -11081,14 +10946,13 @@ const opDeleteLocalGatewayRoute = "DeleteLocalGatewayRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLocalGatewayRouteRequest method. +// req, resp := client.DeleteLocalGatewayRouteRequest(params) // -// // Example sending a request using the DeleteLocalGatewayRouteRequest method. -// req, resp := client.DeleteLocalGatewayRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLocalGatewayRoute func (c *EC2) DeleteLocalGatewayRouteRequest(input *DeleteLocalGatewayRouteInput) (req *request.Request, output *DeleteLocalGatewayRouteOutput) { @@ -11155,14 +11019,13 @@ const opDeleteLocalGatewayRouteTableVpcAssociation = "DeleteLocalGatewayRouteTab // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLocalGatewayRouteTableVpcAssociationRequest method. +// req, resp := client.DeleteLocalGatewayRouteTableVpcAssociationRequest(params) // -// // Example sending a request using the DeleteLocalGatewayRouteTableVpcAssociationRequest method. -// req, resp := client.DeleteLocalGatewayRouteTableVpcAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteLocalGatewayRouteTableVpcAssociation func (c *EC2) DeleteLocalGatewayRouteTableVpcAssociationRequest(input *DeleteLocalGatewayRouteTableVpcAssociationInput) (req *request.Request, output *DeleteLocalGatewayRouteTableVpcAssociationOutput) { @@ -11229,14 +11092,13 @@ const opDeleteManagedPrefixList = "DeleteManagedPrefixList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteManagedPrefixListRequest method. +// req, resp := client.DeleteManagedPrefixListRequest(params) // -// // Example sending a request using the DeleteManagedPrefixListRequest method. -// req, resp := client.DeleteManagedPrefixListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteManagedPrefixList func (c *EC2) DeleteManagedPrefixListRequest(input *DeleteManagedPrefixListInput) (req *request.Request, output *DeleteManagedPrefixListOutput) { @@ -11304,14 +11166,13 @@ const opDeleteNatGateway = "DeleteNatGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNatGatewayRequest method. +// req, resp := client.DeleteNatGatewayRequest(params) // -// // Example sending a request using the DeleteNatGatewayRequest method. -// req, resp := client.DeleteNatGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNatGateway func (c *EC2) DeleteNatGatewayRequest(input *DeleteNatGatewayInput) (req *request.Request, output *DeleteNatGatewayOutput) { @@ -11381,14 +11242,13 @@ const opDeleteNetworkAcl = "DeleteNetworkAcl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNetworkAclRequest method. +// req, resp := client.DeleteNetworkAclRequest(params) // -// // Example sending a request using the DeleteNetworkAclRequest method. -// req, resp := client.DeleteNetworkAclRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAcl func (c *EC2) DeleteNetworkAclRequest(input *DeleteNetworkAclInput) (req *request.Request, output *DeleteNetworkAclOutput) { @@ -11457,14 +11317,13 @@ const opDeleteNetworkAclEntry = "DeleteNetworkAclEntry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNetworkAclEntryRequest method. +// req, resp := client.DeleteNetworkAclEntryRequest(params) // -// // Example sending a request using the DeleteNetworkAclEntryRequest method. -// req, resp := client.DeleteNetworkAclEntryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkAclEntry func (c *EC2) DeleteNetworkAclEntryRequest(input *DeleteNetworkAclEntryInput) (req *request.Request, output *DeleteNetworkAclEntryOutput) { @@ -11533,14 +11392,13 @@ const opDeleteNetworkInsightsAccessScope = "DeleteNetworkInsightsAccessScope" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNetworkInsightsAccessScopeRequest method. +// req, resp := client.DeleteNetworkInsightsAccessScopeRequest(params) // -// // Example sending a request using the DeleteNetworkInsightsAccessScopeRequest method. -// req, resp := client.DeleteNetworkInsightsAccessScopeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInsightsAccessScope func (c *EC2) DeleteNetworkInsightsAccessScopeRequest(input *DeleteNetworkInsightsAccessScopeInput) (req *request.Request, output *DeleteNetworkInsightsAccessScopeOutput) { @@ -11607,14 +11465,13 @@ const opDeleteNetworkInsightsAccessScopeAnalysis = "DeleteNetworkInsightsAccessS // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNetworkInsightsAccessScopeAnalysisRequest method. +// req, resp := client.DeleteNetworkInsightsAccessScopeAnalysisRequest(params) // -// // Example sending a request using the DeleteNetworkInsightsAccessScopeAnalysisRequest method. -// req, resp := client.DeleteNetworkInsightsAccessScopeAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInsightsAccessScopeAnalysis func (c *EC2) DeleteNetworkInsightsAccessScopeAnalysisRequest(input *DeleteNetworkInsightsAccessScopeAnalysisInput) (req *request.Request, output *DeleteNetworkInsightsAccessScopeAnalysisOutput) { @@ -11681,14 +11538,13 @@ const opDeleteNetworkInsightsAnalysis = "DeleteNetworkInsightsAnalysis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNetworkInsightsAnalysisRequest method. +// req, resp := client.DeleteNetworkInsightsAnalysisRequest(params) // -// // Example sending a request using the DeleteNetworkInsightsAnalysisRequest method. -// req, resp := client.DeleteNetworkInsightsAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInsightsAnalysis func (c *EC2) DeleteNetworkInsightsAnalysisRequest(input *DeleteNetworkInsightsAnalysisInput) (req *request.Request, output *DeleteNetworkInsightsAnalysisOutput) { @@ -11755,14 +11611,13 @@ const opDeleteNetworkInsightsPath = "DeleteNetworkInsightsPath" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNetworkInsightsPathRequest method. +// req, resp := client.DeleteNetworkInsightsPathRequest(params) // -// // Example sending a request using the DeleteNetworkInsightsPathRequest method. -// req, resp := client.DeleteNetworkInsightsPathRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInsightsPath func (c *EC2) DeleteNetworkInsightsPathRequest(input *DeleteNetworkInsightsPathInput) (req *request.Request, output *DeleteNetworkInsightsPathOutput) { @@ -11829,14 +11684,13 @@ const opDeleteNetworkInterface = "DeleteNetworkInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNetworkInterfaceRequest method. +// req, resp := client.DeleteNetworkInterfaceRequest(params) // -// // Example sending a request using the DeleteNetworkInterfaceRequest method. -// req, resp := client.DeleteNetworkInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterface func (c *EC2) DeleteNetworkInterfaceRequest(input *DeleteNetworkInterfaceInput) (req *request.Request, output *DeleteNetworkInterfaceOutput) { @@ -11905,14 +11759,13 @@ const opDeleteNetworkInterfacePermission = "DeleteNetworkInterfacePermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNetworkInterfacePermissionRequest method. +// req, resp := client.DeleteNetworkInterfacePermissionRequest(params) // -// // Example sending a request using the DeleteNetworkInterfacePermissionRequest method. -// req, resp := client.DeleteNetworkInterfacePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInterfacePermission func (c *EC2) DeleteNetworkInterfacePermissionRequest(input *DeleteNetworkInterfacePermissionInput) (req *request.Request, output *DeleteNetworkInterfacePermissionOutput) { @@ -11982,14 +11835,13 @@ const opDeletePlacementGroup = "DeletePlacementGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePlacementGroupRequest method. +// req, resp := client.DeletePlacementGroupRequest(params) // -// // Example sending a request using the DeletePlacementGroupRequest method. -// req, resp := client.DeletePlacementGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeletePlacementGroup func (c *EC2) DeletePlacementGroupRequest(input *DeletePlacementGroupInput) (req *request.Request, output *DeletePlacementGroupOutput) { @@ -12060,14 +11912,13 @@ const opDeletePublicIpv4Pool = "DeletePublicIpv4Pool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePublicIpv4PoolRequest method. +// req, resp := client.DeletePublicIpv4PoolRequest(params) // -// // Example sending a request using the DeletePublicIpv4PoolRequest method. -// req, resp := client.DeletePublicIpv4PoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeletePublicIpv4Pool func (c *EC2) DeletePublicIpv4PoolRequest(input *DeletePublicIpv4PoolInput) (req *request.Request, output *DeletePublicIpv4PoolOutput) { @@ -12137,14 +11988,13 @@ const opDeleteQueuedReservedInstances = "DeleteQueuedReservedInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteQueuedReservedInstancesRequest method. +// req, resp := client.DeleteQueuedReservedInstancesRequest(params) // -// // Example sending a request using the DeleteQueuedReservedInstancesRequest method. -// req, resp := client.DeleteQueuedReservedInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteQueuedReservedInstances func (c *EC2) DeleteQueuedReservedInstancesRequest(input *DeleteQueuedReservedInstancesInput) (req *request.Request, output *DeleteQueuedReservedInstancesOutput) { @@ -12211,14 +12061,13 @@ const opDeleteRoute = "DeleteRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRouteRequest method. +// req, resp := client.DeleteRouteRequest(params) // -// // Example sending a request using the DeleteRouteRequest method. -// req, resp := client.DeleteRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRoute func (c *EC2) DeleteRouteRequest(input *DeleteRouteInput) (req *request.Request, output *DeleteRouteOutput) { @@ -12286,14 +12135,13 @@ const opDeleteRouteTable = "DeleteRouteTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRouteTableRequest method. +// req, resp := client.DeleteRouteTableRequest(params) // -// // Example sending a request using the DeleteRouteTableRequest method. -// req, resp := client.DeleteRouteTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteRouteTable func (c *EC2) DeleteRouteTableRequest(input *DeleteRouteTableInput) (req *request.Request, output *DeleteRouteTableOutput) { @@ -12363,14 +12211,13 @@ const opDeleteSecurityGroup = "DeleteSecurityGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSecurityGroupRequest method. +// req, resp := client.DeleteSecurityGroupRequest(params) // -// // Example sending a request using the DeleteSecurityGroupRequest method. -// req, resp := client.DeleteSecurityGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSecurityGroup func (c *EC2) DeleteSecurityGroupRequest(input *DeleteSecurityGroupInput) (req *request.Request, output *DeleteSecurityGroupOutput) { @@ -12442,14 +12289,13 @@ const opDeleteSnapshot = "DeleteSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSnapshotRequest method. +// req, resp := client.DeleteSnapshotRequest(params) // -// // Example sending a request using the DeleteSnapshotRequest method. -// req, resp := client.DeleteSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSnapshot func (c *EC2) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *request.Request, output *DeleteSnapshotOutput) { @@ -12531,14 +12377,13 @@ const opDeleteSpotDatafeedSubscription = "DeleteSpotDatafeedSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSpotDatafeedSubscriptionRequest method. +// req, resp := client.DeleteSpotDatafeedSubscriptionRequest(params) // -// // Example sending a request using the DeleteSpotDatafeedSubscriptionRequest method. -// req, resp := client.DeleteSpotDatafeedSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSpotDatafeedSubscription func (c *EC2) DeleteSpotDatafeedSubscriptionRequest(input *DeleteSpotDatafeedSubscriptionInput) (req *request.Request, output *DeleteSpotDatafeedSubscriptionOutput) { @@ -12606,14 +12451,13 @@ const opDeleteSubnet = "DeleteSubnet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSubnetRequest method. +// req, resp := client.DeleteSubnetRequest(params) // -// // Example sending a request using the DeleteSubnetRequest method. -// req, resp := client.DeleteSubnetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnet func (c *EC2) DeleteSubnetRequest(input *DeleteSubnetInput) (req *request.Request, output *DeleteSubnetOutput) { @@ -12682,14 +12526,13 @@ const opDeleteSubnetCidrReservation = "DeleteSubnetCidrReservation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSubnetCidrReservationRequest method. +// req, resp := client.DeleteSubnetCidrReservationRequest(params) // -// // Example sending a request using the DeleteSubnetCidrReservationRequest method. -// req, resp := client.DeleteSubnetCidrReservationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteSubnetCidrReservation func (c *EC2) DeleteSubnetCidrReservationRequest(input *DeleteSubnetCidrReservationInput) (req *request.Request, output *DeleteSubnetCidrReservationOutput) { @@ -12756,14 +12599,13 @@ const opDeleteTags = "DeleteTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTagsRequest method. +// req, resp := client.DeleteTagsRequest(params) // -// // Example sending a request using the DeleteTagsRequest method. -// req, resp := client.DeleteTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTags func (c *EC2) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { @@ -12835,14 +12677,13 @@ const opDeleteTrafficMirrorFilter = "DeleteTrafficMirrorFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTrafficMirrorFilterRequest method. +// req, resp := client.DeleteTrafficMirrorFilterRequest(params) // -// // Example sending a request using the DeleteTrafficMirrorFilterRequest method. -// req, resp := client.DeleteTrafficMirrorFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorFilter func (c *EC2) DeleteTrafficMirrorFilterRequest(input *DeleteTrafficMirrorFilterInput) (req *request.Request, output *DeleteTrafficMirrorFilterOutput) { @@ -12912,14 +12753,13 @@ const opDeleteTrafficMirrorFilterRule = "DeleteTrafficMirrorFilterRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTrafficMirrorFilterRuleRequest method. +// req, resp := client.DeleteTrafficMirrorFilterRuleRequest(params) // -// // Example sending a request using the DeleteTrafficMirrorFilterRuleRequest method. -// req, resp := client.DeleteTrafficMirrorFilterRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorFilterRule func (c *EC2) DeleteTrafficMirrorFilterRuleRequest(input *DeleteTrafficMirrorFilterRuleInput) (req *request.Request, output *DeleteTrafficMirrorFilterRuleOutput) { @@ -12986,14 +12826,13 @@ const opDeleteTrafficMirrorSession = "DeleteTrafficMirrorSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTrafficMirrorSessionRequest method. +// req, resp := client.DeleteTrafficMirrorSessionRequest(params) // -// // Example sending a request using the DeleteTrafficMirrorSessionRequest method. -// req, resp := client.DeleteTrafficMirrorSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorSession func (c *EC2) DeleteTrafficMirrorSessionRequest(input *DeleteTrafficMirrorSessionInput) (req *request.Request, output *DeleteTrafficMirrorSessionOutput) { @@ -13060,14 +12899,13 @@ const opDeleteTrafficMirrorTarget = "DeleteTrafficMirrorTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTrafficMirrorTargetRequest method. +// req, resp := client.DeleteTrafficMirrorTargetRequest(params) // -// // Example sending a request using the DeleteTrafficMirrorTargetRequest method. -// req, resp := client.DeleteTrafficMirrorTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTrafficMirrorTarget func (c *EC2) DeleteTrafficMirrorTargetRequest(input *DeleteTrafficMirrorTargetInput) (req *request.Request, output *DeleteTrafficMirrorTargetOutput) { @@ -13137,14 +12975,13 @@ const opDeleteTransitGateway = "DeleteTransitGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTransitGatewayRequest method. +// req, resp := client.DeleteTransitGatewayRequest(params) // -// // Example sending a request using the DeleteTransitGatewayRequest method. -// req, resp := client.DeleteTransitGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGateway func (c *EC2) DeleteTransitGatewayRequest(input *DeleteTransitGatewayInput) (req *request.Request, output *DeleteTransitGatewayOutput) { @@ -13211,14 +13048,13 @@ const opDeleteTransitGatewayConnect = "DeleteTransitGatewayConnect" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTransitGatewayConnectRequest method. +// req, resp := client.DeleteTransitGatewayConnectRequest(params) // -// // Example sending a request using the DeleteTransitGatewayConnectRequest method. -// req, resp := client.DeleteTransitGatewayConnectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayConnect func (c *EC2) DeleteTransitGatewayConnectRequest(input *DeleteTransitGatewayConnectInput) (req *request.Request, output *DeleteTransitGatewayConnectOutput) { @@ -13286,14 +13122,13 @@ const opDeleteTransitGatewayConnectPeer = "DeleteTransitGatewayConnectPeer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTransitGatewayConnectPeerRequest method. +// req, resp := client.DeleteTransitGatewayConnectPeerRequest(params) // -// // Example sending a request using the DeleteTransitGatewayConnectPeerRequest method. -// req, resp := client.DeleteTransitGatewayConnectPeerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayConnectPeer func (c *EC2) DeleteTransitGatewayConnectPeerRequest(input *DeleteTransitGatewayConnectPeerInput) (req *request.Request, output *DeleteTransitGatewayConnectPeerOutput) { @@ -13360,14 +13195,13 @@ const opDeleteTransitGatewayMulticastDomain = "DeleteTransitGatewayMulticastDoma // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTransitGatewayMulticastDomainRequest method. +// req, resp := client.DeleteTransitGatewayMulticastDomainRequest(params) // -// // Example sending a request using the DeleteTransitGatewayMulticastDomainRequest method. -// req, resp := client.DeleteTransitGatewayMulticastDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayMulticastDomain func (c *EC2) DeleteTransitGatewayMulticastDomainRequest(input *DeleteTransitGatewayMulticastDomainInput) (req *request.Request, output *DeleteTransitGatewayMulticastDomainOutput) { @@ -13434,14 +13268,13 @@ const opDeleteTransitGatewayPeeringAttachment = "DeleteTransitGatewayPeeringAtta // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTransitGatewayPeeringAttachmentRequest method. +// req, resp := client.DeleteTransitGatewayPeeringAttachmentRequest(params) // -// // Example sending a request using the DeleteTransitGatewayPeeringAttachmentRequest method. -// req, resp := client.DeleteTransitGatewayPeeringAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayPeeringAttachment func (c *EC2) DeleteTransitGatewayPeeringAttachmentRequest(input *DeleteTransitGatewayPeeringAttachmentInput) (req *request.Request, output *DeleteTransitGatewayPeeringAttachmentOutput) { @@ -13508,14 +13341,13 @@ const opDeleteTransitGatewayPrefixListReference = "DeleteTransitGatewayPrefixLis // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTransitGatewayPrefixListReferenceRequest method. +// req, resp := client.DeleteTransitGatewayPrefixListReferenceRequest(params) // -// // Example sending a request using the DeleteTransitGatewayPrefixListReferenceRequest method. -// req, resp := client.DeleteTransitGatewayPrefixListReferenceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayPrefixListReference func (c *EC2) DeleteTransitGatewayPrefixListReferenceRequest(input *DeleteTransitGatewayPrefixListReferenceInput) (req *request.Request, output *DeleteTransitGatewayPrefixListReferenceOutput) { @@ -13583,14 +13415,13 @@ const opDeleteTransitGatewayRoute = "DeleteTransitGatewayRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTransitGatewayRouteRequest method. +// req, resp := client.DeleteTransitGatewayRouteRequest(params) // -// // Example sending a request using the DeleteTransitGatewayRouteRequest method. -// req, resp := client.DeleteTransitGatewayRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayRoute func (c *EC2) DeleteTransitGatewayRouteRequest(input *DeleteTransitGatewayRouteInput) (req *request.Request, output *DeleteTransitGatewayRouteOutput) { @@ -13657,14 +13488,13 @@ const opDeleteTransitGatewayRouteTable = "DeleteTransitGatewayRouteTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTransitGatewayRouteTableRequest method. +// req, resp := client.DeleteTransitGatewayRouteTableRequest(params) // -// // Example sending a request using the DeleteTransitGatewayRouteTableRequest method. -// req, resp := client.DeleteTransitGatewayRouteTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayRouteTable func (c *EC2) DeleteTransitGatewayRouteTableRequest(input *DeleteTransitGatewayRouteTableInput) (req *request.Request, output *DeleteTransitGatewayRouteTableOutput) { @@ -13733,14 +13563,13 @@ const opDeleteTransitGatewayVpcAttachment = "DeleteTransitGatewayVpcAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTransitGatewayVpcAttachmentRequest method. +// req, resp := client.DeleteTransitGatewayVpcAttachmentRequest(params) // -// // Example sending a request using the DeleteTransitGatewayVpcAttachmentRequest method. -// req, resp := client.DeleteTransitGatewayVpcAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayVpcAttachment func (c *EC2) DeleteTransitGatewayVpcAttachmentRequest(input *DeleteTransitGatewayVpcAttachmentInput) (req *request.Request, output *DeleteTransitGatewayVpcAttachmentOutput) { @@ -13807,14 +13636,13 @@ const opDeleteVolume = "DeleteVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVolumeRequest method. +// req, resp := client.DeleteVolumeRequest(params) // -// // Example sending a request using the DeleteVolumeRequest method. -// req, resp := client.DeleteVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVolume func (c *EC2) DeleteVolumeRequest(input *DeleteVolumeInput) (req *request.Request, output *DeleteVolumeOutput) { @@ -13888,14 +13716,13 @@ const opDeleteVpc = "DeleteVpc" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVpcRequest method. +// req, resp := client.DeleteVpcRequest(params) // -// // Example sending a request using the DeleteVpcRequest method. -// req, resp := client.DeleteVpcRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpc func (c *EC2) DeleteVpcRequest(input *DeleteVpcInput) (req *request.Request, output *DeleteVpcOutput) { @@ -13967,14 +13794,13 @@ const opDeleteVpcEndpointConnectionNotifications = "DeleteVpcEndpointConnectionN // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVpcEndpointConnectionNotificationsRequest method. +// req, resp := client.DeleteVpcEndpointConnectionNotificationsRequest(params) // -// // Example sending a request using the DeleteVpcEndpointConnectionNotificationsRequest method. -// req, resp := client.DeleteVpcEndpointConnectionNotificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointConnectionNotifications func (c *EC2) DeleteVpcEndpointConnectionNotificationsRequest(input *DeleteVpcEndpointConnectionNotificationsInput) (req *request.Request, output *DeleteVpcEndpointConnectionNotificationsOutput) { @@ -14041,14 +13867,13 @@ const opDeleteVpcEndpointServiceConfigurations = "DeleteVpcEndpointServiceConfig // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVpcEndpointServiceConfigurationsRequest method. +// req, resp := client.DeleteVpcEndpointServiceConfigurationsRequest(params) // -// // Example sending a request using the DeleteVpcEndpointServiceConfigurationsRequest method. -// req, resp := client.DeleteVpcEndpointServiceConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpointServiceConfigurations func (c *EC2) DeleteVpcEndpointServiceConfigurationsRequest(input *DeleteVpcEndpointServiceConfigurationsInput) (req *request.Request, output *DeleteVpcEndpointServiceConfigurationsOutput) { @@ -14118,14 +13943,13 @@ const opDeleteVpcEndpoints = "DeleteVpcEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVpcEndpointsRequest method. +// req, resp := client.DeleteVpcEndpointsRequest(params) // -// // Example sending a request using the DeleteVpcEndpointsRequest method. -// req, resp := client.DeleteVpcEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcEndpoints func (c *EC2) DeleteVpcEndpointsRequest(input *DeleteVpcEndpointsInput) (req *request.Request, output *DeleteVpcEndpointsOutput) { @@ -14149,23 +13973,23 @@ func (c *EC2) DeleteVpcEndpointsRequest(input *DeleteVpcEndpointsInput) (req *re // Deletes one or more specified VPC endpoints. You can delete any of the following // types of VPC endpoints. // -// * Gateway endpoint, +// - Gateway endpoint, // -// * Gateway Load Balancer endpoint, +// - Gateway Load Balancer endpoint, // -// * Interface endpoint +// - Interface endpoint // // The following rules apply when you delete a VPC endpoint: // -// * When you delete a gateway endpoint, we delete the endpoint routes in -// the route tables that are associated with the endpoint. +// - When you delete a gateway endpoint, we delete the endpoint routes in +// the route tables that are associated with the endpoint. // -// * When you delete a Gateway Load Balancer endpoint, we delete the endpoint -// network interfaces. You can only delete Gateway Load Balancer endpoints -// when the routes that are associated with the endpoint are deleted. +// - When you delete a Gateway Load Balancer endpoint, we delete the endpoint +// network interfaces. You can only delete Gateway Load Balancer endpoints +// when the routes that are associated with the endpoint are deleted. // -// * When you delete an interface endpoint, we delete the endpoint network -// interfaces. +// - When you delete an interface endpoint, we delete the endpoint network +// interfaces. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -14211,14 +14035,13 @@ const opDeleteVpcPeeringConnection = "DeleteVpcPeeringConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVpcPeeringConnectionRequest method. +// req, resp := client.DeleteVpcPeeringConnectionRequest(params) // -// // Example sending a request using the DeleteVpcPeeringConnectionRequest method. -// req, resp := client.DeleteVpcPeeringConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpcPeeringConnection func (c *EC2) DeleteVpcPeeringConnectionRequest(input *DeleteVpcPeeringConnectionInput) (req *request.Request, output *DeleteVpcPeeringConnectionOutput) { @@ -14289,14 +14112,13 @@ const opDeleteVpnConnection = "DeleteVpnConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVpnConnectionRequest method. +// req, resp := client.DeleteVpnConnectionRequest(params) // -// // Example sending a request using the DeleteVpnConnectionRequest method. -// req, resp := client.DeleteVpnConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnection func (c *EC2) DeleteVpnConnectionRequest(input *DeleteVpnConnectionInput) (req *request.Request, output *DeleteVpnConnectionOutput) { @@ -14377,14 +14199,13 @@ const opDeleteVpnConnectionRoute = "DeleteVpnConnectionRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVpnConnectionRouteRequest method. +// req, resp := client.DeleteVpnConnectionRouteRequest(params) // -// // Example sending a request using the DeleteVpnConnectionRouteRequest method. -// req, resp := client.DeleteVpnConnectionRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnConnectionRoute func (c *EC2) DeleteVpnConnectionRouteRequest(input *DeleteVpnConnectionRouteInput) (req *request.Request, output *DeleteVpnConnectionRouteOutput) { @@ -14455,14 +14276,13 @@ const opDeleteVpnGateway = "DeleteVpnGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVpnGatewayRequest method. +// req, resp := client.DeleteVpnGatewayRequest(params) // -// // Example sending a request using the DeleteVpnGatewayRequest method. -// req, resp := client.DeleteVpnGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteVpnGateway func (c *EC2) DeleteVpnGatewayRequest(input *DeleteVpnGatewayInput) (req *request.Request, output *DeleteVpnGatewayOutput) { @@ -14533,14 +14353,13 @@ const opDeprovisionByoipCidr = "DeprovisionByoipCidr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeprovisionByoipCidrRequest method. +// req, resp := client.DeprovisionByoipCidrRequest(params) // -// // Example sending a request using the DeprovisionByoipCidrRequest method. -// req, resp := client.DeprovisionByoipCidrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeprovisionByoipCidr func (c *EC2) DeprovisionByoipCidrRequest(input *DeprovisionByoipCidrInput) (req *request.Request, output *DeprovisionByoipCidrOutput) { @@ -14613,14 +14432,13 @@ const opDeprovisionIpamPoolCidr = "DeprovisionIpamPoolCidr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeprovisionIpamPoolCidrRequest method. +// req, resp := client.DeprovisionIpamPoolCidrRequest(params) // -// // Example sending a request using the DeprovisionIpamPoolCidrRequest method. -// req, resp := client.DeprovisionIpamPoolCidrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeprovisionIpamPoolCidr func (c *EC2) DeprovisionIpamPoolCidrRequest(input *DeprovisionIpamPoolCidrInput) (req *request.Request, output *DeprovisionIpamPoolCidrOutput) { @@ -14690,14 +14508,13 @@ const opDeprovisionPublicIpv4PoolCidr = "DeprovisionPublicIpv4PoolCidr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeprovisionPublicIpv4PoolCidrRequest method. +// req, resp := client.DeprovisionPublicIpv4PoolCidrRequest(params) // -// // Example sending a request using the DeprovisionPublicIpv4PoolCidrRequest method. -// req, resp := client.DeprovisionPublicIpv4PoolCidrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeprovisionPublicIpv4PoolCidr func (c *EC2) DeprovisionPublicIpv4PoolCidrRequest(input *DeprovisionPublicIpv4PoolCidrInput) (req *request.Request, output *DeprovisionPublicIpv4PoolCidrOutput) { @@ -14764,14 +14581,13 @@ const opDeregisterImage = "DeregisterImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterImageRequest method. +// req, resp := client.DeregisterImageRequest(params) // -// // Example sending a request using the DeregisterImageRequest method. -// req, resp := client.DeregisterImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterImage func (c *EC2) DeregisterImageRequest(input *DeregisterImageInput) (req *request.Request, output *DeregisterImageOutput) { @@ -14854,14 +14670,13 @@ const opDeregisterInstanceEventNotificationAttributes = "DeregisterInstanceEvent // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterInstanceEventNotificationAttributesRequest method. +// req, resp := client.DeregisterInstanceEventNotificationAttributesRequest(params) // -// // Example sending a request using the DeregisterInstanceEventNotificationAttributesRequest method. -// req, resp := client.DeregisterInstanceEventNotificationAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterInstanceEventNotificationAttributes func (c *EC2) DeregisterInstanceEventNotificationAttributesRequest(input *DeregisterInstanceEventNotificationAttributesInput) (req *request.Request, output *DeregisterInstanceEventNotificationAttributesOutput) { @@ -14929,14 +14744,13 @@ const opDeregisterTransitGatewayMulticastGroupMembers = "DeregisterTransitGatewa // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterTransitGatewayMulticastGroupMembersRequest method. +// req, resp := client.DeregisterTransitGatewayMulticastGroupMembersRequest(params) // -// // Example sending a request using the DeregisterTransitGatewayMulticastGroupMembersRequest method. -// req, resp := client.DeregisterTransitGatewayMulticastGroupMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterTransitGatewayMulticastGroupMembers func (c *EC2) DeregisterTransitGatewayMulticastGroupMembersRequest(input *DeregisterTransitGatewayMulticastGroupMembersInput) (req *request.Request, output *DeregisterTransitGatewayMulticastGroupMembersOutput) { @@ -15004,14 +14818,13 @@ const opDeregisterTransitGatewayMulticastGroupSources = "DeregisterTransitGatewa // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterTransitGatewayMulticastGroupSourcesRequest method. +// req, resp := client.DeregisterTransitGatewayMulticastGroupSourcesRequest(params) // -// // Example sending a request using the DeregisterTransitGatewayMulticastGroupSourcesRequest method. -// req, resp := client.DeregisterTransitGatewayMulticastGroupSourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeregisterTransitGatewayMulticastGroupSources func (c *EC2) DeregisterTransitGatewayMulticastGroupSourcesRequest(input *DeregisterTransitGatewayMulticastGroupSourcesInput) (req *request.Request, output *DeregisterTransitGatewayMulticastGroupSourcesOutput) { @@ -15079,14 +14892,13 @@ const opDescribeAccountAttributes = "DescribeAccountAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountAttributesRequest method. +// req, resp := client.DescribeAccountAttributesRequest(params) // -// // Example sending a request using the DescribeAccountAttributesRequest method. -// req, resp := client.DescribeAccountAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAccountAttributes func (c *EC2) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput) { @@ -15110,24 +14922,24 @@ func (c *EC2) DescribeAccountAttributesRequest(input *DescribeAccountAttributesI // Describes attributes of your Amazon Web Services account. The following are // the supported account attributes: // -// * supported-platforms: Indicates whether your account can launch instances -// into EC2-Classic and EC2-VPC, or only into EC2-VPC. +// - supported-platforms: Indicates whether your account can launch instances +// into EC2-Classic and EC2-VPC, or only into EC2-VPC. // -// * default-vpc: The ID of the default VPC for your account, or none. +// - default-vpc: The ID of the default VPC for your account, or none. // -// * max-instances: This attribute is no longer supported. The returned value -// does not reflect your actual vCPU limit for running On-Demand Instances. -// For more information, see On-Demand Instance Limits (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-on-demand-instances.html#ec2-on-demand-instances-limits) -// in the Amazon Elastic Compute Cloud User Guide. +// - max-instances: This attribute is no longer supported. The returned value +// does not reflect your actual vCPU limit for running On-Demand Instances. +// For more information, see On-Demand Instance Limits (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-on-demand-instances.html#ec2-on-demand-instances-limits) +// in the Amazon Elastic Compute Cloud User Guide. // -// * vpc-max-security-groups-per-interface: The maximum number of security -// groups that you can assign to a network interface. +// - vpc-max-security-groups-per-interface: The maximum number of security +// groups that you can assign to a network interface. // -// * max-elastic-ips: The maximum number of Elastic IP addresses that you -// can allocate for use with EC2-Classic. +// - max-elastic-ips: The maximum number of Elastic IP addresses that you +// can allocate for use with EC2-Classic. // -// * vpc-max-elastic-ips: The maximum number of Elastic IP addresses that -// you can allocate for use with EC2-VPC. +// - vpc-max-elastic-ips: The maximum number of Elastic IP addresses that +// you can allocate for use with EC2-VPC. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -15173,14 +14985,13 @@ const opDescribeAddresses = "DescribeAddresses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAddressesRequest method. +// req, resp := client.DescribeAddressesRequest(params) // -// // Example sending a request using the DescribeAddressesRequest method. -// req, resp := client.DescribeAddressesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddresses func (c *EC2) DescribeAddressesRequest(input *DescribeAddressesInput) (req *request.Request, output *DescribeAddressesOutput) { @@ -15251,14 +15062,13 @@ const opDescribeAddressesAttribute = "DescribeAddressesAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAddressesAttributeRequest method. +// req, resp := client.DescribeAddressesAttributeRequest(params) // -// // Example sending a request using the DescribeAddressesAttributeRequest method. -// req, resp := client.DescribeAddressesAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressesAttribute func (c *EC2) DescribeAddressesAttributeRequest(input *DescribeAddressesAttributeInput) (req *request.Request, output *DescribeAddressesAttributeOutput) { @@ -15324,15 +15134,14 @@ func (c *EC2) DescribeAddressesAttributeWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAddressesAttribute operation. -// pageNum := 0 -// err := client.DescribeAddressesAttributePages(params, -// func(page *ec2.DescribeAddressesAttributeOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAddressesAttribute operation. +// pageNum := 0 +// err := client.DescribeAddressesAttributePages(params, +// func(page *ec2.DescribeAddressesAttributeOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeAddressesAttributePages(input *DescribeAddressesAttributeInput, fn func(*DescribeAddressesAttributeOutput, bool) bool) error { return c.DescribeAddressesAttributePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15384,14 +15193,13 @@ const opDescribeAggregateIdFormat = "DescribeAggregateIdFormat" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAggregateIdFormatRequest method. +// req, resp := client.DescribeAggregateIdFormatRequest(params) // -// // Example sending a request using the DescribeAggregateIdFormatRequest method. -// req, resp := client.DescribeAggregateIdFormatRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAggregateIdFormat func (c *EC2) DescribeAggregateIdFormatRequest(input *DescribeAggregateIdFormatInput) (req *request.Request, output *DescribeAggregateIdFormatOutput) { @@ -15472,14 +15280,13 @@ const opDescribeAvailabilityZones = "DescribeAvailabilityZones" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAvailabilityZonesRequest method. +// req, resp := client.DescribeAvailabilityZonesRequest(params) // -// // Example sending a request using the DescribeAvailabilityZonesRequest method. -// req, resp := client.DescribeAvailabilityZonesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAvailabilityZones func (c *EC2) DescribeAvailabilityZonesRequest(input *DescribeAvailabilityZonesInput) (req *request.Request, output *DescribeAvailabilityZonesOutput) { @@ -15552,14 +15359,13 @@ const opDescribeBundleTasks = "DescribeBundleTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBundleTasksRequest method. +// req, resp := client.DescribeBundleTasksRequest(params) // -// // Example sending a request using the DescribeBundleTasksRequest method. -// req, resp := client.DescribeBundleTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeBundleTasks func (c *EC2) DescribeBundleTasksRequest(input *DescribeBundleTasksInput) (req *request.Request, output *DescribeBundleTasksOutput) { @@ -15631,14 +15437,13 @@ const opDescribeByoipCidrs = "DescribeByoipCidrs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeByoipCidrsRequest method. +// req, resp := client.DescribeByoipCidrsRequest(params) // -// // Example sending a request using the DescribeByoipCidrsRequest method. -// req, resp := client.DescribeByoipCidrsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeByoipCidrs func (c *EC2) DescribeByoipCidrsRequest(input *DescribeByoipCidrsInput) (req *request.Request, output *DescribeByoipCidrsOutput) { @@ -15706,15 +15511,14 @@ func (c *EC2) DescribeByoipCidrsWithContext(ctx aws.Context, input *DescribeByoi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeByoipCidrs operation. -// pageNum := 0 -// err := client.DescribeByoipCidrsPages(params, -// func(page *ec2.DescribeByoipCidrsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeByoipCidrs operation. +// pageNum := 0 +// err := client.DescribeByoipCidrsPages(params, +// func(page *ec2.DescribeByoipCidrsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeByoipCidrsPages(input *DescribeByoipCidrsInput, fn func(*DescribeByoipCidrsOutput, bool) bool) error { return c.DescribeByoipCidrsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15766,14 +15570,13 @@ const opDescribeCapacityReservationFleets = "DescribeCapacityReservationFleets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCapacityReservationFleetsRequest method. +// req, resp := client.DescribeCapacityReservationFleetsRequest(params) // -// // Example sending a request using the DescribeCapacityReservationFleetsRequest method. -// req, resp := client.DescribeCapacityReservationFleetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservationFleets func (c *EC2) DescribeCapacityReservationFleetsRequest(input *DescribeCapacityReservationFleetsInput) (req *request.Request, output *DescribeCapacityReservationFleetsOutput) { @@ -15838,15 +15641,14 @@ func (c *EC2) DescribeCapacityReservationFleetsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCapacityReservationFleets operation. -// pageNum := 0 -// err := client.DescribeCapacityReservationFleetsPages(params, -// func(page *ec2.DescribeCapacityReservationFleetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCapacityReservationFleets operation. +// pageNum := 0 +// err := client.DescribeCapacityReservationFleetsPages(params, +// func(page *ec2.DescribeCapacityReservationFleetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeCapacityReservationFleetsPages(input *DescribeCapacityReservationFleetsInput, fn func(*DescribeCapacityReservationFleetsOutput, bool) bool) error { return c.DescribeCapacityReservationFleetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15898,14 +15700,13 @@ const opDescribeCapacityReservations = "DescribeCapacityReservations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCapacityReservationsRequest method. +// req, resp := client.DescribeCapacityReservationsRequest(params) // -// // Example sending a request using the DescribeCapacityReservationsRequest method. -// req, resp := client.DescribeCapacityReservationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCapacityReservations func (c *EC2) DescribeCapacityReservationsRequest(input *DescribeCapacityReservationsInput) (req *request.Request, output *DescribeCapacityReservationsOutput) { @@ -15972,15 +15773,14 @@ func (c *EC2) DescribeCapacityReservationsWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCapacityReservations operation. -// pageNum := 0 -// err := client.DescribeCapacityReservationsPages(params, -// func(page *ec2.DescribeCapacityReservationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCapacityReservations operation. +// pageNum := 0 +// err := client.DescribeCapacityReservationsPages(params, +// func(page *ec2.DescribeCapacityReservationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeCapacityReservationsPages(input *DescribeCapacityReservationsInput, fn func(*DescribeCapacityReservationsOutput, bool) bool) error { return c.DescribeCapacityReservationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16032,14 +15832,13 @@ const opDescribeCarrierGateways = "DescribeCarrierGateways" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCarrierGatewaysRequest method. +// req, resp := client.DescribeCarrierGatewaysRequest(params) // -// // Example sending a request using the DescribeCarrierGatewaysRequest method. -// req, resp := client.DescribeCarrierGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCarrierGateways func (c *EC2) DescribeCarrierGatewaysRequest(input *DescribeCarrierGatewaysInput) (req *request.Request, output *DescribeCarrierGatewaysOutput) { @@ -16104,15 +15903,14 @@ func (c *EC2) DescribeCarrierGatewaysWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCarrierGateways operation. -// pageNum := 0 -// err := client.DescribeCarrierGatewaysPages(params, -// func(page *ec2.DescribeCarrierGatewaysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCarrierGateways operation. +// pageNum := 0 +// err := client.DescribeCarrierGatewaysPages(params, +// func(page *ec2.DescribeCarrierGatewaysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeCarrierGatewaysPages(input *DescribeCarrierGatewaysInput, fn func(*DescribeCarrierGatewaysOutput, bool) bool) error { return c.DescribeCarrierGatewaysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16164,14 +15962,13 @@ const opDescribeClassicLinkInstances = "DescribeClassicLinkInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClassicLinkInstancesRequest method. +// req, resp := client.DescribeClassicLinkInstancesRequest(params) // -// // Example sending a request using the DescribeClassicLinkInstancesRequest method. -// req, resp := client.DescribeClassicLinkInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClassicLinkInstances func (c *EC2) DescribeClassicLinkInstancesRequest(input *DescribeClassicLinkInstancesInput) (req *request.Request, output *DescribeClassicLinkInstancesOutput) { @@ -16239,15 +16036,14 @@ func (c *EC2) DescribeClassicLinkInstancesWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClassicLinkInstances operation. -// pageNum := 0 -// err := client.DescribeClassicLinkInstancesPages(params, -// func(page *ec2.DescribeClassicLinkInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClassicLinkInstances operation. +// pageNum := 0 +// err := client.DescribeClassicLinkInstancesPages(params, +// func(page *ec2.DescribeClassicLinkInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeClassicLinkInstancesPages(input *DescribeClassicLinkInstancesInput, fn func(*DescribeClassicLinkInstancesOutput, bool) bool) error { return c.DescribeClassicLinkInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16299,14 +16095,13 @@ const opDescribeClientVpnAuthorizationRules = "DescribeClientVpnAuthorizationRul // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClientVpnAuthorizationRulesRequest method. +// req, resp := client.DescribeClientVpnAuthorizationRulesRequest(params) // -// // Example sending a request using the DescribeClientVpnAuthorizationRulesRequest method. -// req, resp := client.DescribeClientVpnAuthorizationRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnAuthorizationRules func (c *EC2) DescribeClientVpnAuthorizationRulesRequest(input *DescribeClientVpnAuthorizationRulesInput) (req *request.Request, output *DescribeClientVpnAuthorizationRulesOutput) { @@ -16371,15 +16166,14 @@ func (c *EC2) DescribeClientVpnAuthorizationRulesWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClientVpnAuthorizationRules operation. -// pageNum := 0 -// err := client.DescribeClientVpnAuthorizationRulesPages(params, -// func(page *ec2.DescribeClientVpnAuthorizationRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClientVpnAuthorizationRules operation. +// pageNum := 0 +// err := client.DescribeClientVpnAuthorizationRulesPages(params, +// func(page *ec2.DescribeClientVpnAuthorizationRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeClientVpnAuthorizationRulesPages(input *DescribeClientVpnAuthorizationRulesInput, fn func(*DescribeClientVpnAuthorizationRulesOutput, bool) bool) error { return c.DescribeClientVpnAuthorizationRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16431,14 +16225,13 @@ const opDescribeClientVpnConnections = "DescribeClientVpnConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClientVpnConnectionsRequest method. +// req, resp := client.DescribeClientVpnConnectionsRequest(params) // -// // Example sending a request using the DescribeClientVpnConnectionsRequest method. -// req, resp := client.DescribeClientVpnConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnConnections func (c *EC2) DescribeClientVpnConnectionsRequest(input *DescribeClientVpnConnectionsInput) (req *request.Request, output *DescribeClientVpnConnectionsOutput) { @@ -16504,15 +16297,14 @@ func (c *EC2) DescribeClientVpnConnectionsWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClientVpnConnections operation. -// pageNum := 0 -// err := client.DescribeClientVpnConnectionsPages(params, -// func(page *ec2.DescribeClientVpnConnectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClientVpnConnections operation. +// pageNum := 0 +// err := client.DescribeClientVpnConnectionsPages(params, +// func(page *ec2.DescribeClientVpnConnectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeClientVpnConnectionsPages(input *DescribeClientVpnConnectionsInput, fn func(*DescribeClientVpnConnectionsOutput, bool) bool) error { return c.DescribeClientVpnConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16564,14 +16356,13 @@ const opDescribeClientVpnEndpoints = "DescribeClientVpnEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClientVpnEndpointsRequest method. +// req, resp := client.DescribeClientVpnEndpointsRequest(params) // -// // Example sending a request using the DescribeClientVpnEndpointsRequest method. -// req, resp := client.DescribeClientVpnEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnEndpoints func (c *EC2) DescribeClientVpnEndpointsRequest(input *DescribeClientVpnEndpointsInput) (req *request.Request, output *DescribeClientVpnEndpointsOutput) { @@ -16636,15 +16427,14 @@ func (c *EC2) DescribeClientVpnEndpointsWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClientVpnEndpoints operation. -// pageNum := 0 -// err := client.DescribeClientVpnEndpointsPages(params, -// func(page *ec2.DescribeClientVpnEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClientVpnEndpoints operation. +// pageNum := 0 +// err := client.DescribeClientVpnEndpointsPages(params, +// func(page *ec2.DescribeClientVpnEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeClientVpnEndpointsPages(input *DescribeClientVpnEndpointsInput, fn func(*DescribeClientVpnEndpointsOutput, bool) bool) error { return c.DescribeClientVpnEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16696,14 +16486,13 @@ const opDescribeClientVpnRoutes = "DescribeClientVpnRoutes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClientVpnRoutesRequest method. +// req, resp := client.DescribeClientVpnRoutesRequest(params) // -// // Example sending a request using the DescribeClientVpnRoutesRequest method. -// req, resp := client.DescribeClientVpnRoutesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnRoutes func (c *EC2) DescribeClientVpnRoutesRequest(input *DescribeClientVpnRoutesInput) (req *request.Request, output *DescribeClientVpnRoutesOutput) { @@ -16768,15 +16557,14 @@ func (c *EC2) DescribeClientVpnRoutesWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClientVpnRoutes operation. -// pageNum := 0 -// err := client.DescribeClientVpnRoutesPages(params, -// func(page *ec2.DescribeClientVpnRoutesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClientVpnRoutes operation. +// pageNum := 0 +// err := client.DescribeClientVpnRoutesPages(params, +// func(page *ec2.DescribeClientVpnRoutesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeClientVpnRoutesPages(input *DescribeClientVpnRoutesInput, fn func(*DescribeClientVpnRoutesOutput, bool) bool) error { return c.DescribeClientVpnRoutesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16828,14 +16616,13 @@ const opDescribeClientVpnTargetNetworks = "DescribeClientVpnTargetNetworks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClientVpnTargetNetworksRequest method. +// req, resp := client.DescribeClientVpnTargetNetworksRequest(params) // -// // Example sending a request using the DescribeClientVpnTargetNetworksRequest method. -// req, resp := client.DescribeClientVpnTargetNetworksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeClientVpnTargetNetworks func (c *EC2) DescribeClientVpnTargetNetworksRequest(input *DescribeClientVpnTargetNetworksInput) (req *request.Request, output *DescribeClientVpnTargetNetworksOutput) { @@ -16900,15 +16687,14 @@ func (c *EC2) DescribeClientVpnTargetNetworksWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClientVpnTargetNetworks operation. -// pageNum := 0 -// err := client.DescribeClientVpnTargetNetworksPages(params, -// func(page *ec2.DescribeClientVpnTargetNetworksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClientVpnTargetNetworks operation. +// pageNum := 0 +// err := client.DescribeClientVpnTargetNetworksPages(params, +// func(page *ec2.DescribeClientVpnTargetNetworksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeClientVpnTargetNetworksPages(input *DescribeClientVpnTargetNetworksInput, fn func(*DescribeClientVpnTargetNetworksOutput, bool) bool) error { return c.DescribeClientVpnTargetNetworksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16960,14 +16746,13 @@ const opDescribeCoipPools = "DescribeCoipPools" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCoipPoolsRequest method. +// req, resp := client.DescribeCoipPoolsRequest(params) // -// // Example sending a request using the DescribeCoipPoolsRequest method. -// req, resp := client.DescribeCoipPoolsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCoipPools func (c *EC2) DescribeCoipPoolsRequest(input *DescribeCoipPoolsInput) (req *request.Request, output *DescribeCoipPoolsOutput) { @@ -17033,15 +16818,14 @@ func (c *EC2) DescribeCoipPoolsWithContext(ctx aws.Context, input *DescribeCoipP // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCoipPools operation. -// pageNum := 0 -// err := client.DescribeCoipPoolsPages(params, -// func(page *ec2.DescribeCoipPoolsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCoipPools operation. +// pageNum := 0 +// err := client.DescribeCoipPoolsPages(params, +// func(page *ec2.DescribeCoipPoolsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeCoipPoolsPages(input *DescribeCoipPoolsInput, fn func(*DescribeCoipPoolsOutput, bool) bool) error { return c.DescribeCoipPoolsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17093,14 +16877,13 @@ const opDescribeConversionTasks = "DescribeConversionTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConversionTasksRequest method. +// req, resp := client.DescribeConversionTasksRequest(params) // -// // Example sending a request using the DescribeConversionTasksRequest method. -// req, resp := client.DescribeConversionTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeConversionTasks func (c *EC2) DescribeConversionTasksRequest(input *DescribeConversionTasksInput) (req *request.Request, output *DescribeConversionTasksOutput) { @@ -17171,14 +16954,13 @@ const opDescribeCustomerGateways = "DescribeCustomerGateways" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCustomerGatewaysRequest method. +// req, resp := client.DescribeCustomerGatewaysRequest(params) // -// // Example sending a request using the DescribeCustomerGatewaysRequest method. -// req, resp := client.DescribeCustomerGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeCustomerGateways func (c *EC2) DescribeCustomerGatewaysRequest(input *DescribeCustomerGatewaysInput) (req *request.Request, output *DescribeCustomerGatewaysOutput) { @@ -17248,14 +17030,13 @@ const opDescribeDhcpOptions = "DescribeDhcpOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDhcpOptionsRequest method. +// req, resp := client.DescribeDhcpOptionsRequest(params) // -// // Example sending a request using the DescribeDhcpOptionsRequest method. -// req, resp := client.DescribeDhcpOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeDhcpOptions func (c *EC2) DescribeDhcpOptionsRequest(input *DescribeDhcpOptionsInput) (req *request.Request, output *DescribeDhcpOptionsOutput) { @@ -17323,15 +17104,14 @@ func (c *EC2) DescribeDhcpOptionsWithContext(ctx aws.Context, input *DescribeDhc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDhcpOptions operation. -// pageNum := 0 -// err := client.DescribeDhcpOptionsPages(params, -// func(page *ec2.DescribeDhcpOptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDhcpOptions operation. +// pageNum := 0 +// err := client.DescribeDhcpOptionsPages(params, +// func(page *ec2.DescribeDhcpOptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeDhcpOptionsPages(input *DescribeDhcpOptionsInput, fn func(*DescribeDhcpOptionsOutput, bool) bool) error { return c.DescribeDhcpOptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17383,14 +17163,13 @@ const opDescribeEgressOnlyInternetGateways = "DescribeEgressOnlyInternetGateways // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEgressOnlyInternetGatewaysRequest method. +// req, resp := client.DescribeEgressOnlyInternetGatewaysRequest(params) // -// // Example sending a request using the DescribeEgressOnlyInternetGatewaysRequest method. -// req, resp := client.DescribeEgressOnlyInternetGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeEgressOnlyInternetGateways func (c *EC2) DescribeEgressOnlyInternetGatewaysRequest(input *DescribeEgressOnlyInternetGatewaysInput) (req *request.Request, output *DescribeEgressOnlyInternetGatewaysOutput) { @@ -17455,15 +17234,14 @@ func (c *EC2) DescribeEgressOnlyInternetGatewaysWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEgressOnlyInternetGateways operation. -// pageNum := 0 -// err := client.DescribeEgressOnlyInternetGatewaysPages(params, -// func(page *ec2.DescribeEgressOnlyInternetGatewaysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEgressOnlyInternetGateways operation. +// pageNum := 0 +// err := client.DescribeEgressOnlyInternetGatewaysPages(params, +// func(page *ec2.DescribeEgressOnlyInternetGatewaysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeEgressOnlyInternetGatewaysPages(input *DescribeEgressOnlyInternetGatewaysInput, fn func(*DescribeEgressOnlyInternetGatewaysOutput, bool) bool) error { return c.DescribeEgressOnlyInternetGatewaysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17515,14 +17293,13 @@ const opDescribeElasticGpus = "DescribeElasticGpus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeElasticGpusRequest method. +// req, resp := client.DescribeElasticGpusRequest(params) // -// // Example sending a request using the DescribeElasticGpusRequest method. -// req, resp := client.DescribeElasticGpusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeElasticGpus func (c *EC2) DescribeElasticGpusRequest(input *DescribeElasticGpusInput) (req *request.Request, output *DescribeElasticGpusOutput) { @@ -17591,14 +17368,13 @@ const opDescribeExportImageTasks = "DescribeExportImageTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExportImageTasksRequest method. +// req, resp := client.DescribeExportImageTasksRequest(params) // -// // Example sending a request using the DescribeExportImageTasksRequest method. -// req, resp := client.DescribeExportImageTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportImageTasks func (c *EC2) DescribeExportImageTasksRequest(input *DescribeExportImageTasksInput) (req *request.Request, output *DescribeExportImageTasksOutput) { @@ -17663,15 +17439,14 @@ func (c *EC2) DescribeExportImageTasksWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeExportImageTasks operation. -// pageNum := 0 -// err := client.DescribeExportImageTasksPages(params, -// func(page *ec2.DescribeExportImageTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeExportImageTasks operation. +// pageNum := 0 +// err := client.DescribeExportImageTasksPages(params, +// func(page *ec2.DescribeExportImageTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeExportImageTasksPages(input *DescribeExportImageTasksInput, fn func(*DescribeExportImageTasksOutput, bool) bool) error { return c.DescribeExportImageTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17723,14 +17498,13 @@ const opDescribeExportTasks = "DescribeExportTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExportTasksRequest method. +// req, resp := client.DescribeExportTasksRequest(params) // -// // Example sending a request using the DescribeExportTasksRequest method. -// req, resp := client.DescribeExportTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeExportTasks func (c *EC2) DescribeExportTasksRequest(input *DescribeExportTasksInput) (req *request.Request, output *DescribeExportTasksOutput) { @@ -17798,14 +17572,13 @@ const opDescribeFastLaunchImages = "DescribeFastLaunchImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFastLaunchImagesRequest method. +// req, resp := client.DescribeFastLaunchImagesRequest(params) // -// // Example sending a request using the DescribeFastLaunchImagesRequest method. -// req, resp := client.DescribeFastLaunchImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFastLaunchImages func (c *EC2) DescribeFastLaunchImagesRequest(input *DescribeFastLaunchImagesInput) (req *request.Request, output *DescribeFastLaunchImagesOutput) { @@ -17870,15 +17643,14 @@ func (c *EC2) DescribeFastLaunchImagesWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeFastLaunchImages operation. -// pageNum := 0 -// err := client.DescribeFastLaunchImagesPages(params, -// func(page *ec2.DescribeFastLaunchImagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeFastLaunchImages operation. +// pageNum := 0 +// err := client.DescribeFastLaunchImagesPages(params, +// func(page *ec2.DescribeFastLaunchImagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeFastLaunchImagesPages(input *DescribeFastLaunchImagesInput, fn func(*DescribeFastLaunchImagesOutput, bool) bool) error { return c.DescribeFastLaunchImagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17930,14 +17702,13 @@ const opDescribeFastSnapshotRestores = "DescribeFastSnapshotRestores" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFastSnapshotRestoresRequest method. +// req, resp := client.DescribeFastSnapshotRestoresRequest(params) // -// // Example sending a request using the DescribeFastSnapshotRestoresRequest method. -// req, resp := client.DescribeFastSnapshotRestoresRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFastSnapshotRestores func (c *EC2) DescribeFastSnapshotRestoresRequest(input *DescribeFastSnapshotRestoresInput) (req *request.Request, output *DescribeFastSnapshotRestoresOutput) { @@ -18002,15 +17773,14 @@ func (c *EC2) DescribeFastSnapshotRestoresWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeFastSnapshotRestores operation. -// pageNum := 0 -// err := client.DescribeFastSnapshotRestoresPages(params, -// func(page *ec2.DescribeFastSnapshotRestoresOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeFastSnapshotRestores operation. +// pageNum := 0 +// err := client.DescribeFastSnapshotRestoresPages(params, +// func(page *ec2.DescribeFastSnapshotRestoresOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeFastSnapshotRestoresPages(input *DescribeFastSnapshotRestoresInput, fn func(*DescribeFastSnapshotRestoresOutput, bool) bool) error { return c.DescribeFastSnapshotRestoresPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18062,14 +17832,13 @@ const opDescribeFleetHistory = "DescribeFleetHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFleetHistoryRequest method. +// req, resp := client.DescribeFleetHistoryRequest(params) // -// // Example sending a request using the DescribeFleetHistoryRequest method. -// req, resp := client.DescribeFleetHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFleetHistory func (c *EC2) DescribeFleetHistoryRequest(input *DescribeFleetHistoryInput) (req *request.Request, output *DescribeFleetHistoryOutput) { @@ -18143,14 +17912,13 @@ const opDescribeFleetInstances = "DescribeFleetInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFleetInstancesRequest method. +// req, resp := client.DescribeFleetInstancesRequest(params) // -// // Example sending a request using the DescribeFleetInstancesRequest method. -// req, resp := client.DescribeFleetInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFleetInstances func (c *EC2) DescribeFleetInstancesRequest(input *DescribeFleetInstancesInput) (req *request.Request, output *DescribeFleetInstancesOutput) { @@ -18220,14 +17988,13 @@ const opDescribeFleets = "DescribeFleets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFleetsRequest method. +// req, resp := client.DescribeFleetsRequest(params) // -// // Example sending a request using the DescribeFleetsRequest method. -// req, resp := client.DescribeFleetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFleets func (c *EC2) DescribeFleetsRequest(input *DescribeFleetsInput) (req *request.Request, output *DescribeFleetsOutput) { @@ -18295,15 +18062,14 @@ func (c *EC2) DescribeFleetsWithContext(ctx aws.Context, input *DescribeFleetsIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeFleets operation. -// pageNum := 0 -// err := client.DescribeFleetsPages(params, -// func(page *ec2.DescribeFleetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeFleets operation. +// pageNum := 0 +// err := client.DescribeFleetsPages(params, +// func(page *ec2.DescribeFleetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeFleetsPages(input *DescribeFleetsInput, fn func(*DescribeFleetsOutput, bool) bool) error { return c.DescribeFleetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18355,14 +18121,13 @@ const opDescribeFlowLogs = "DescribeFlowLogs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFlowLogsRequest method. +// req, resp := client.DescribeFlowLogsRequest(params) // -// // Example sending a request using the DescribeFlowLogsRequest method. -// req, resp := client.DescribeFlowLogsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFlowLogs func (c *EC2) DescribeFlowLogsRequest(input *DescribeFlowLogsInput) (req *request.Request, output *DescribeFlowLogsOutput) { @@ -18429,15 +18194,14 @@ func (c *EC2) DescribeFlowLogsWithContext(ctx aws.Context, input *DescribeFlowLo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeFlowLogs operation. -// pageNum := 0 -// err := client.DescribeFlowLogsPages(params, -// func(page *ec2.DescribeFlowLogsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeFlowLogs operation. +// pageNum := 0 +// err := client.DescribeFlowLogsPages(params, +// func(page *ec2.DescribeFlowLogsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeFlowLogsPages(input *DescribeFlowLogsInput, fn func(*DescribeFlowLogsOutput, bool) bool) error { return c.DescribeFlowLogsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18489,14 +18253,13 @@ const opDescribeFpgaImageAttribute = "DescribeFpgaImageAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFpgaImageAttributeRequest method. +// req, resp := client.DescribeFpgaImageAttributeRequest(params) // -// // Example sending a request using the DescribeFpgaImageAttributeRequest method. -// req, resp := client.DescribeFpgaImageAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImageAttribute func (c *EC2) DescribeFpgaImageAttributeRequest(input *DescribeFpgaImageAttributeInput) (req *request.Request, output *DescribeFpgaImageAttributeOutput) { @@ -18563,14 +18326,13 @@ const opDescribeFpgaImages = "DescribeFpgaImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFpgaImagesRequest method. +// req, resp := client.DescribeFpgaImagesRequest(params) // -// // Example sending a request using the DescribeFpgaImagesRequest method. -// req, resp := client.DescribeFpgaImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFpgaImages func (c *EC2) DescribeFpgaImagesRequest(input *DescribeFpgaImagesInput) (req *request.Request, output *DescribeFpgaImagesOutput) { @@ -18637,15 +18399,14 @@ func (c *EC2) DescribeFpgaImagesWithContext(ctx aws.Context, input *DescribeFpga // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeFpgaImages operation. -// pageNum := 0 -// err := client.DescribeFpgaImagesPages(params, -// func(page *ec2.DescribeFpgaImagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeFpgaImages operation. +// pageNum := 0 +// err := client.DescribeFpgaImagesPages(params, +// func(page *ec2.DescribeFpgaImagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeFpgaImagesPages(input *DescribeFpgaImagesInput, fn func(*DescribeFpgaImagesOutput, bool) bool) error { return c.DescribeFpgaImagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18697,14 +18458,13 @@ const opDescribeHostReservationOfferings = "DescribeHostReservationOfferings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHostReservationOfferingsRequest method. +// req, resp := client.DescribeHostReservationOfferingsRequest(params) // -// // Example sending a request using the DescribeHostReservationOfferingsRequest method. -// req, resp := client.DescribeHostReservationOfferingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservationOfferings func (c *EC2) DescribeHostReservationOfferingsRequest(input *DescribeHostReservationOfferingsInput) (req *request.Request, output *DescribeHostReservationOfferingsOutput) { @@ -18777,15 +18537,14 @@ func (c *EC2) DescribeHostReservationOfferingsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeHostReservationOfferings operation. -// pageNum := 0 -// err := client.DescribeHostReservationOfferingsPages(params, -// func(page *ec2.DescribeHostReservationOfferingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeHostReservationOfferings operation. +// pageNum := 0 +// err := client.DescribeHostReservationOfferingsPages(params, +// func(page *ec2.DescribeHostReservationOfferingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeHostReservationOfferingsPages(input *DescribeHostReservationOfferingsInput, fn func(*DescribeHostReservationOfferingsOutput, bool) bool) error { return c.DescribeHostReservationOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18837,14 +18596,13 @@ const opDescribeHostReservations = "DescribeHostReservations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHostReservationsRequest method. +// req, resp := client.DescribeHostReservationsRequest(params) // -// // Example sending a request using the DescribeHostReservationsRequest method. -// req, resp := client.DescribeHostReservationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHostReservations func (c *EC2) DescribeHostReservationsRequest(input *DescribeHostReservationsInput) (req *request.Request, output *DescribeHostReservationsOutput) { @@ -18909,15 +18667,14 @@ func (c *EC2) DescribeHostReservationsWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeHostReservations operation. -// pageNum := 0 -// err := client.DescribeHostReservationsPages(params, -// func(page *ec2.DescribeHostReservationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeHostReservations operation. +// pageNum := 0 +// err := client.DescribeHostReservationsPages(params, +// func(page *ec2.DescribeHostReservationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeHostReservationsPages(input *DescribeHostReservationsInput, fn func(*DescribeHostReservationsOutput, bool) bool) error { return c.DescribeHostReservationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18969,14 +18726,13 @@ const opDescribeHosts = "DescribeHosts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHostsRequest method. +// req, resp := client.DescribeHostsRequest(params) // -// // Example sending a request using the DescribeHostsRequest method. -// req, resp := client.DescribeHostsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeHosts func (c *EC2) DescribeHostsRequest(input *DescribeHostsInput) (req *request.Request, output *DescribeHostsOutput) { @@ -19045,15 +18801,14 @@ func (c *EC2) DescribeHostsWithContext(ctx aws.Context, input *DescribeHostsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeHosts operation. -// pageNum := 0 -// err := client.DescribeHostsPages(params, -// func(page *ec2.DescribeHostsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeHosts operation. +// pageNum := 0 +// err := client.DescribeHostsPages(params, +// func(page *ec2.DescribeHostsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeHostsPages(input *DescribeHostsInput, fn func(*DescribeHostsOutput, bool) bool) error { return c.DescribeHostsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19105,14 +18860,13 @@ const opDescribeIamInstanceProfileAssociations = "DescribeIamInstanceProfileAsso // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIamInstanceProfileAssociationsRequest method. +// req, resp := client.DescribeIamInstanceProfileAssociationsRequest(params) // -// // Example sending a request using the DescribeIamInstanceProfileAssociationsRequest method. -// req, resp := client.DescribeIamInstanceProfileAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIamInstanceProfileAssociations func (c *EC2) DescribeIamInstanceProfileAssociationsRequest(input *DescribeIamInstanceProfileAssociationsInput) (req *request.Request, output *DescribeIamInstanceProfileAssociationsOutput) { @@ -19177,15 +18931,14 @@ func (c *EC2) DescribeIamInstanceProfileAssociationsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeIamInstanceProfileAssociations operation. -// pageNum := 0 -// err := client.DescribeIamInstanceProfileAssociationsPages(params, -// func(page *ec2.DescribeIamInstanceProfileAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeIamInstanceProfileAssociations operation. +// pageNum := 0 +// err := client.DescribeIamInstanceProfileAssociationsPages(params, +// func(page *ec2.DescribeIamInstanceProfileAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeIamInstanceProfileAssociationsPages(input *DescribeIamInstanceProfileAssociationsInput, fn func(*DescribeIamInstanceProfileAssociationsOutput, bool) bool) error { return c.DescribeIamInstanceProfileAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19237,14 +18990,13 @@ const opDescribeIdFormat = "DescribeIdFormat" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIdFormatRequest method. +// req, resp := client.DescribeIdFormatRequest(params) // -// // Example sending a request using the DescribeIdFormatRequest method. -// req, resp := client.DescribeIdFormatRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdFormat func (c *EC2) DescribeIdFormatRequest(input *DescribeIdFormatInput) (req *request.Request, output *DescribeIdFormatOutput) { @@ -19330,14 +19082,13 @@ const opDescribeIdentityIdFormat = "DescribeIdentityIdFormat" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIdentityIdFormatRequest method. +// req, resp := client.DescribeIdentityIdFormatRequest(params) // -// // Example sending a request using the DescribeIdentityIdFormatRequest method. -// req, resp := client.DescribeIdentityIdFormatRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIdentityIdFormat func (c *EC2) DescribeIdentityIdFormatRequest(input *DescribeIdentityIdFormatInput) (req *request.Request, output *DescribeIdentityIdFormatOutput) { @@ -19420,14 +19171,13 @@ const opDescribeImageAttribute = "DescribeImageAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImageAttributeRequest method. +// req, resp := client.DescribeImageAttributeRequest(params) // -// // Example sending a request using the DescribeImageAttributeRequest method. -// req, resp := client.DescribeImageAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImageAttribute func (c *EC2) DescribeImageAttributeRequest(input *DescribeImageAttributeInput) (req *request.Request, output *DescribeImageAttributeOutput) { @@ -19495,14 +19245,13 @@ const opDescribeImages = "DescribeImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImagesRequest method. +// req, resp := client.DescribeImagesRequest(params) // -// // Example sending a request using the DescribeImagesRequest method. -// req, resp := client.DescribeImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImages func (c *EC2) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Request, output *DescribeImagesOutput) { @@ -19579,14 +19328,13 @@ const opDescribeImportImageTasks = "DescribeImportImageTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImportImageTasksRequest method. +// req, resp := client.DescribeImportImageTasksRequest(params) // -// // Example sending a request using the DescribeImportImageTasksRequest method. -// req, resp := client.DescribeImportImageTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportImageTasks func (c *EC2) DescribeImportImageTasksRequest(input *DescribeImportImageTasksInput) (req *request.Request, output *DescribeImportImageTasksOutput) { @@ -19652,15 +19400,14 @@ func (c *EC2) DescribeImportImageTasksWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeImportImageTasks operation. -// pageNum := 0 -// err := client.DescribeImportImageTasksPages(params, -// func(page *ec2.DescribeImportImageTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeImportImageTasks operation. +// pageNum := 0 +// err := client.DescribeImportImageTasksPages(params, +// func(page *ec2.DescribeImportImageTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeImportImageTasksPages(input *DescribeImportImageTasksInput, fn func(*DescribeImportImageTasksOutput, bool) bool) error { return c.DescribeImportImageTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19712,14 +19459,13 @@ const opDescribeImportSnapshotTasks = "DescribeImportSnapshotTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImportSnapshotTasksRequest method. +// req, resp := client.DescribeImportSnapshotTasksRequest(params) // -// // Example sending a request using the DescribeImportSnapshotTasksRequest method. -// req, resp := client.DescribeImportSnapshotTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeImportSnapshotTasks func (c *EC2) DescribeImportSnapshotTasksRequest(input *DescribeImportSnapshotTasksInput) (req *request.Request, output *DescribeImportSnapshotTasksOutput) { @@ -19784,15 +19530,14 @@ func (c *EC2) DescribeImportSnapshotTasksWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeImportSnapshotTasks operation. -// pageNum := 0 -// err := client.DescribeImportSnapshotTasksPages(params, -// func(page *ec2.DescribeImportSnapshotTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeImportSnapshotTasks operation. +// pageNum := 0 +// err := client.DescribeImportSnapshotTasksPages(params, +// func(page *ec2.DescribeImportSnapshotTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeImportSnapshotTasksPages(input *DescribeImportSnapshotTasksInput, fn func(*DescribeImportSnapshotTasksOutput, bool) bool) error { return c.DescribeImportSnapshotTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19844,14 +19589,13 @@ const opDescribeInstanceAttribute = "DescribeInstanceAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceAttributeRequest method. +// req, resp := client.DescribeInstanceAttributeRequest(params) // -// // Example sending a request using the DescribeInstanceAttributeRequest method. -// req, resp := client.DescribeInstanceAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceAttribute func (c *EC2) DescribeInstanceAttributeRequest(input *DescribeInstanceAttributeInput) (req *request.Request, output *DescribeInstanceAttributeOutput) { @@ -19922,14 +19666,13 @@ const opDescribeInstanceCreditSpecifications = "DescribeInstanceCreditSpecificat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceCreditSpecificationsRequest method. +// req, resp := client.DescribeInstanceCreditSpecificationsRequest(params) // -// // Example sending a request using the DescribeInstanceCreditSpecificationsRequest method. -// req, resp := client.DescribeInstanceCreditSpecificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceCreditSpecifications func (c *EC2) DescribeInstanceCreditSpecificationsRequest(input *DescribeInstanceCreditSpecificationsInput) (req *request.Request, output *DescribeInstanceCreditSpecificationsOutput) { @@ -20017,15 +19760,14 @@ func (c *EC2) DescribeInstanceCreditSpecificationsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInstanceCreditSpecifications operation. -// pageNum := 0 -// err := client.DescribeInstanceCreditSpecificationsPages(params, -// func(page *ec2.DescribeInstanceCreditSpecificationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInstanceCreditSpecifications operation. +// pageNum := 0 +// err := client.DescribeInstanceCreditSpecificationsPages(params, +// func(page *ec2.DescribeInstanceCreditSpecificationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeInstanceCreditSpecificationsPages(input *DescribeInstanceCreditSpecificationsInput, fn func(*DescribeInstanceCreditSpecificationsOutput, bool) bool) error { return c.DescribeInstanceCreditSpecificationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -20077,14 +19819,13 @@ const opDescribeInstanceEventNotificationAttributes = "DescribeInstanceEventNoti // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceEventNotificationAttributesRequest method. +// req, resp := client.DescribeInstanceEventNotificationAttributesRequest(params) // -// // Example sending a request using the DescribeInstanceEventNotificationAttributesRequest method. -// req, resp := client.DescribeInstanceEventNotificationAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceEventNotificationAttributes func (c *EC2) DescribeInstanceEventNotificationAttributesRequest(input *DescribeInstanceEventNotificationAttributesInput) (req *request.Request, output *DescribeInstanceEventNotificationAttributesOutput) { @@ -20152,14 +19893,13 @@ const opDescribeInstanceEventWindows = "DescribeInstanceEventWindows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceEventWindowsRequest method. +// req, resp := client.DescribeInstanceEventWindowsRequest(params) // -// // Example sending a request using the DescribeInstanceEventWindowsRequest method. -// req, resp := client.DescribeInstanceEventWindowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceEventWindows func (c *EC2) DescribeInstanceEventWindowsRequest(input *DescribeInstanceEventWindowsInput) (req *request.Request, output *DescribeInstanceEventWindowsOutput) { @@ -20234,15 +19974,14 @@ func (c *EC2) DescribeInstanceEventWindowsWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInstanceEventWindows operation. -// pageNum := 0 -// err := client.DescribeInstanceEventWindowsPages(params, -// func(page *ec2.DescribeInstanceEventWindowsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInstanceEventWindows operation. +// pageNum := 0 +// err := client.DescribeInstanceEventWindowsPages(params, +// func(page *ec2.DescribeInstanceEventWindowsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeInstanceEventWindowsPages(input *DescribeInstanceEventWindowsInput, fn func(*DescribeInstanceEventWindowsOutput, bool) bool) error { return c.DescribeInstanceEventWindowsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -20294,14 +20033,13 @@ const opDescribeInstanceStatus = "DescribeInstanceStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceStatusRequest method. +// req, resp := client.DescribeInstanceStatusRequest(params) // -// // Example sending a request using the DescribeInstanceStatusRequest method. -// req, resp := client.DescribeInstanceStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceStatus func (c *EC2) DescribeInstanceStatusRequest(input *DescribeInstanceStatusInput) (req *request.Request, output *DescribeInstanceStatusOutput) { @@ -20334,22 +20072,22 @@ func (c *EC2) DescribeInstanceStatusRequest(input *DescribeInstanceStatusInput) // // Instance status includes the following components: // -// * Status checks - Amazon EC2 performs status checks on running EC2 instances -// to identify hardware and software issues. For more information, see Status -// checks for your instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-system-instance-status-check.html) -// and Troubleshoot instances with failed status checks (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstances.html) -// in the Amazon EC2 User Guide. +// - Status checks - Amazon EC2 performs status checks on running EC2 instances +// to identify hardware and software issues. For more information, see Status +// checks for your instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-system-instance-status-check.html) +// and Troubleshoot instances with failed status checks (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstances.html) +// in the Amazon EC2 User Guide. // -// * Scheduled events - Amazon EC2 can schedule events (such as reboot, stop, -// or terminate) for your instances related to hardware issues, software -// updates, or system maintenance. For more information, see Scheduled events -// for your instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html) -// in the Amazon EC2 User Guide. +// - Scheduled events - Amazon EC2 can schedule events (such as reboot, stop, +// or terminate) for your instances related to hardware issues, software +// updates, or system maintenance. For more information, see Scheduled events +// for your instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-instances-status-check_sched.html) +// in the Amazon EC2 User Guide. // -// * Instance state - You can manage your instances from the moment you launch -// them through their termination. For more information, see Instance lifecycle -// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html) -// in the Amazon EC2 User Guide. +// - Instance state - You can manage your instances from the moment you launch +// them through their termination. For more information, see Instance lifecycle +// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html) +// in the Amazon EC2 User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -20387,15 +20125,14 @@ func (c *EC2) DescribeInstanceStatusWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInstanceStatus operation. -// pageNum := 0 -// err := client.DescribeInstanceStatusPages(params, -// func(page *ec2.DescribeInstanceStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInstanceStatus operation. +// pageNum := 0 +// err := client.DescribeInstanceStatusPages(params, +// func(page *ec2.DescribeInstanceStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeInstanceStatusPages(input *DescribeInstanceStatusInput, fn func(*DescribeInstanceStatusOutput, bool) bool) error { return c.DescribeInstanceStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -20447,14 +20184,13 @@ const opDescribeInstanceTypeOfferings = "DescribeInstanceTypeOfferings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceTypeOfferingsRequest method. +// req, resp := client.DescribeInstanceTypeOfferingsRequest(params) // -// // Example sending a request using the DescribeInstanceTypeOfferingsRequest method. -// req, resp := client.DescribeInstanceTypeOfferingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceTypeOfferings func (c *EC2) DescribeInstanceTypeOfferingsRequest(input *DescribeInstanceTypeOfferingsInput) (req *request.Request, output *DescribeInstanceTypeOfferingsOutput) { @@ -20521,15 +20257,14 @@ func (c *EC2) DescribeInstanceTypeOfferingsWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInstanceTypeOfferings operation. -// pageNum := 0 -// err := client.DescribeInstanceTypeOfferingsPages(params, -// func(page *ec2.DescribeInstanceTypeOfferingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInstanceTypeOfferings operation. +// pageNum := 0 +// err := client.DescribeInstanceTypeOfferingsPages(params, +// func(page *ec2.DescribeInstanceTypeOfferingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeInstanceTypeOfferingsPages(input *DescribeInstanceTypeOfferingsInput, fn func(*DescribeInstanceTypeOfferingsOutput, bool) bool) error { return c.DescribeInstanceTypeOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -20581,14 +20316,13 @@ const opDescribeInstanceTypes = "DescribeInstanceTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceTypesRequest method. +// req, resp := client.DescribeInstanceTypesRequest(params) // -// // Example sending a request using the DescribeInstanceTypesRequest method. -// req, resp := client.DescribeInstanceTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstanceTypes func (c *EC2) DescribeInstanceTypesRequest(input *DescribeInstanceTypesInput) (req *request.Request, output *DescribeInstanceTypesOutput) { @@ -20654,15 +20388,14 @@ func (c *EC2) DescribeInstanceTypesWithContext(ctx aws.Context, input *DescribeI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInstanceTypes operation. -// pageNum := 0 -// err := client.DescribeInstanceTypesPages(params, -// func(page *ec2.DescribeInstanceTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInstanceTypes operation. +// pageNum := 0 +// err := client.DescribeInstanceTypesPages(params, +// func(page *ec2.DescribeInstanceTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeInstanceTypesPages(input *DescribeInstanceTypesInput, fn func(*DescribeInstanceTypesOutput, bool) bool) error { return c.DescribeInstanceTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -20714,14 +20447,13 @@ const opDescribeInstances = "DescribeInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstancesRequest method. +// req, resp := client.DescribeInstancesRequest(params) // -// // Example sending a request using the DescribeInstancesRequest method. -// req, resp := client.DescribeInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInstances func (c *EC2) DescribeInstancesRequest(input *DescribeInstancesInput) (req *request.Request, output *DescribeInstancesOutput) { @@ -20805,15 +20537,14 @@ func (c *EC2) DescribeInstancesWithContext(ctx aws.Context, input *DescribeInsta // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInstances operation. -// pageNum := 0 -// err := client.DescribeInstancesPages(params, -// func(page *ec2.DescribeInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInstances operation. +// pageNum := 0 +// err := client.DescribeInstancesPages(params, +// func(page *ec2.DescribeInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeInstancesPages(input *DescribeInstancesInput, fn func(*DescribeInstancesOutput, bool) bool) error { return c.DescribeInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -20865,14 +20596,13 @@ const opDescribeInternetGateways = "DescribeInternetGateways" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInternetGatewaysRequest method. +// req, resp := client.DescribeInternetGatewaysRequest(params) // -// // Example sending a request using the DescribeInternetGatewaysRequest method. -// req, resp := client.DescribeInternetGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeInternetGateways func (c *EC2) DescribeInternetGatewaysRequest(input *DescribeInternetGatewaysInput) (req *request.Request, output *DescribeInternetGatewaysOutput) { @@ -20937,15 +20667,14 @@ func (c *EC2) DescribeInternetGatewaysWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInternetGateways operation. -// pageNum := 0 -// err := client.DescribeInternetGatewaysPages(params, -// func(page *ec2.DescribeInternetGatewaysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInternetGateways operation. +// pageNum := 0 +// err := client.DescribeInternetGatewaysPages(params, +// func(page *ec2.DescribeInternetGatewaysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeInternetGatewaysPages(input *DescribeInternetGatewaysInput, fn func(*DescribeInternetGatewaysOutput, bool) bool) error { return c.DescribeInternetGatewaysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -20997,14 +20726,13 @@ const opDescribeIpamPools = "DescribeIpamPools" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIpamPoolsRequest method. +// req, resp := client.DescribeIpamPoolsRequest(params) // -// // Example sending a request using the DescribeIpamPoolsRequest method. -// req, resp := client.DescribeIpamPoolsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpamPools func (c *EC2) DescribeIpamPoolsRequest(input *DescribeIpamPoolsInput) (req *request.Request, output *DescribeIpamPoolsOutput) { @@ -21069,15 +20797,14 @@ func (c *EC2) DescribeIpamPoolsWithContext(ctx aws.Context, input *DescribeIpamP // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeIpamPools operation. -// pageNum := 0 -// err := client.DescribeIpamPoolsPages(params, -// func(page *ec2.DescribeIpamPoolsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeIpamPools operation. +// pageNum := 0 +// err := client.DescribeIpamPoolsPages(params, +// func(page *ec2.DescribeIpamPoolsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeIpamPoolsPages(input *DescribeIpamPoolsInput, fn func(*DescribeIpamPoolsOutput, bool) bool) error { return c.DescribeIpamPoolsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -21129,14 +20856,13 @@ const opDescribeIpamScopes = "DescribeIpamScopes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIpamScopesRequest method. +// req, resp := client.DescribeIpamScopesRequest(params) // -// // Example sending a request using the DescribeIpamScopesRequest method. -// req, resp := client.DescribeIpamScopesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpamScopes func (c *EC2) DescribeIpamScopesRequest(input *DescribeIpamScopesInput) (req *request.Request, output *DescribeIpamScopesOutput) { @@ -21201,15 +20927,14 @@ func (c *EC2) DescribeIpamScopesWithContext(ctx aws.Context, input *DescribeIpam // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeIpamScopes operation. -// pageNum := 0 -// err := client.DescribeIpamScopesPages(params, -// func(page *ec2.DescribeIpamScopesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeIpamScopes operation. +// pageNum := 0 +// err := client.DescribeIpamScopesPages(params, +// func(page *ec2.DescribeIpamScopesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeIpamScopesPages(input *DescribeIpamScopesInput, fn func(*DescribeIpamScopesOutput, bool) bool) error { return c.DescribeIpamScopesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -21261,14 +20986,13 @@ const opDescribeIpams = "DescribeIpams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIpamsRequest method. +// req, resp := client.DescribeIpamsRequest(params) // -// // Example sending a request using the DescribeIpamsRequest method. -// req, resp := client.DescribeIpamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpams func (c *EC2) DescribeIpamsRequest(input *DescribeIpamsInput) (req *request.Request, output *DescribeIpamsOutput) { @@ -21336,15 +21060,14 @@ func (c *EC2) DescribeIpamsWithContext(ctx aws.Context, input *DescribeIpamsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeIpams operation. -// pageNum := 0 -// err := client.DescribeIpamsPages(params, -// func(page *ec2.DescribeIpamsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeIpams operation. +// pageNum := 0 +// err := client.DescribeIpamsPages(params, +// func(page *ec2.DescribeIpamsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeIpamsPages(input *DescribeIpamsInput, fn func(*DescribeIpamsOutput, bool) bool) error { return c.DescribeIpamsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -21396,14 +21119,13 @@ const opDescribeIpv6Pools = "DescribeIpv6Pools" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIpv6PoolsRequest method. +// req, resp := client.DescribeIpv6PoolsRequest(params) // -// // Example sending a request using the DescribeIpv6PoolsRequest method. -// req, resp := client.DescribeIpv6PoolsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeIpv6Pools func (c *EC2) DescribeIpv6PoolsRequest(input *DescribeIpv6PoolsInput) (req *request.Request, output *DescribeIpv6PoolsOutput) { @@ -21468,15 +21190,14 @@ func (c *EC2) DescribeIpv6PoolsWithContext(ctx aws.Context, input *DescribeIpv6P // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeIpv6Pools operation. -// pageNum := 0 -// err := client.DescribeIpv6PoolsPages(params, -// func(page *ec2.DescribeIpv6PoolsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeIpv6Pools operation. +// pageNum := 0 +// err := client.DescribeIpv6PoolsPages(params, +// func(page *ec2.DescribeIpv6PoolsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeIpv6PoolsPages(input *DescribeIpv6PoolsInput, fn func(*DescribeIpv6PoolsOutput, bool) bool) error { return c.DescribeIpv6PoolsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -21528,14 +21249,13 @@ const opDescribeKeyPairs = "DescribeKeyPairs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeKeyPairsRequest method. +// req, resp := client.DescribeKeyPairsRequest(params) // -// // Example sending a request using the DescribeKeyPairsRequest method. -// req, resp := client.DescribeKeyPairsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeKeyPairs func (c *EC2) DescribeKeyPairsRequest(input *DescribeKeyPairsInput) (req *request.Request, output *DescribeKeyPairsOutput) { @@ -21605,14 +21325,13 @@ const opDescribeLaunchTemplateVersions = "DescribeLaunchTemplateVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLaunchTemplateVersionsRequest method. +// req, resp := client.DescribeLaunchTemplateVersionsRequest(params) // -// // Example sending a request using the DescribeLaunchTemplateVersionsRequest method. -// req, resp := client.DescribeLaunchTemplateVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplateVersions func (c *EC2) DescribeLaunchTemplateVersionsRequest(input *DescribeLaunchTemplateVersionsInput) (req *request.Request, output *DescribeLaunchTemplateVersionsOutput) { @@ -21680,15 +21399,14 @@ func (c *EC2) DescribeLaunchTemplateVersionsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeLaunchTemplateVersions operation. -// pageNum := 0 -// err := client.DescribeLaunchTemplateVersionsPages(params, -// func(page *ec2.DescribeLaunchTemplateVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeLaunchTemplateVersions operation. +// pageNum := 0 +// err := client.DescribeLaunchTemplateVersionsPages(params, +// func(page *ec2.DescribeLaunchTemplateVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeLaunchTemplateVersionsPages(input *DescribeLaunchTemplateVersionsInput, fn func(*DescribeLaunchTemplateVersionsOutput, bool) bool) error { return c.DescribeLaunchTemplateVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -21740,14 +21458,13 @@ const opDescribeLaunchTemplates = "DescribeLaunchTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLaunchTemplatesRequest method. +// req, resp := client.DescribeLaunchTemplatesRequest(params) // -// // Example sending a request using the DescribeLaunchTemplatesRequest method. -// req, resp := client.DescribeLaunchTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLaunchTemplates func (c *EC2) DescribeLaunchTemplatesRequest(input *DescribeLaunchTemplatesInput) (req *request.Request, output *DescribeLaunchTemplatesOutput) { @@ -21812,15 +21529,14 @@ func (c *EC2) DescribeLaunchTemplatesWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeLaunchTemplates operation. -// pageNum := 0 -// err := client.DescribeLaunchTemplatesPages(params, -// func(page *ec2.DescribeLaunchTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeLaunchTemplates operation. +// pageNum := 0 +// err := client.DescribeLaunchTemplatesPages(params, +// func(page *ec2.DescribeLaunchTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeLaunchTemplatesPages(input *DescribeLaunchTemplatesInput, fn func(*DescribeLaunchTemplatesOutput, bool) bool) error { return c.DescribeLaunchTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -21872,14 +21588,13 @@ const opDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations = "Descr // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest method. +// req, resp := client.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest(params) // -// // Example sending a request using the DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest method. -// req, resp := client.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations func (c *EC2) DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest(input *DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput) (req *request.Request, output *DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput) { @@ -21945,15 +21660,14 @@ func (c *EC2) DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsWit // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations operation. -// pageNum := 0 -// err := client.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPages(params, -// func(page *ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations operation. +// pageNum := 0 +// err := client.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPages(params, +// func(page *ec2.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPages(input *DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsInput, fn func(*DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsOutput, bool) bool) error { return c.DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -22005,14 +21719,13 @@ const opDescribeLocalGatewayRouteTableVpcAssociations = "DescribeLocalGatewayRou // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocalGatewayRouteTableVpcAssociationsRequest method. +// req, resp := client.DescribeLocalGatewayRouteTableVpcAssociationsRequest(params) // -// // Example sending a request using the DescribeLocalGatewayRouteTableVpcAssociationsRequest method. -// req, resp := client.DescribeLocalGatewayRouteTableVpcAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLocalGatewayRouteTableVpcAssociations func (c *EC2) DescribeLocalGatewayRouteTableVpcAssociationsRequest(input *DescribeLocalGatewayRouteTableVpcAssociationsInput) (req *request.Request, output *DescribeLocalGatewayRouteTableVpcAssociationsOutput) { @@ -22078,15 +21791,14 @@ func (c *EC2) DescribeLocalGatewayRouteTableVpcAssociationsWithContext(ctx aws.C // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeLocalGatewayRouteTableVpcAssociations operation. -// pageNum := 0 -// err := client.DescribeLocalGatewayRouteTableVpcAssociationsPages(params, -// func(page *ec2.DescribeLocalGatewayRouteTableVpcAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeLocalGatewayRouteTableVpcAssociations operation. +// pageNum := 0 +// err := client.DescribeLocalGatewayRouteTableVpcAssociationsPages(params, +// func(page *ec2.DescribeLocalGatewayRouteTableVpcAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeLocalGatewayRouteTableVpcAssociationsPages(input *DescribeLocalGatewayRouteTableVpcAssociationsInput, fn func(*DescribeLocalGatewayRouteTableVpcAssociationsOutput, bool) bool) error { return c.DescribeLocalGatewayRouteTableVpcAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -22138,14 +21850,13 @@ const opDescribeLocalGatewayRouteTables = "DescribeLocalGatewayRouteTables" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocalGatewayRouteTablesRequest method. +// req, resp := client.DescribeLocalGatewayRouteTablesRequest(params) // -// // Example sending a request using the DescribeLocalGatewayRouteTablesRequest method. -// req, resp := client.DescribeLocalGatewayRouteTablesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLocalGatewayRouteTables func (c *EC2) DescribeLocalGatewayRouteTablesRequest(input *DescribeLocalGatewayRouteTablesInput) (req *request.Request, output *DescribeLocalGatewayRouteTablesOutput) { @@ -22211,15 +21922,14 @@ func (c *EC2) DescribeLocalGatewayRouteTablesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeLocalGatewayRouteTables operation. -// pageNum := 0 -// err := client.DescribeLocalGatewayRouteTablesPages(params, -// func(page *ec2.DescribeLocalGatewayRouteTablesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeLocalGatewayRouteTables operation. +// pageNum := 0 +// err := client.DescribeLocalGatewayRouteTablesPages(params, +// func(page *ec2.DescribeLocalGatewayRouteTablesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeLocalGatewayRouteTablesPages(input *DescribeLocalGatewayRouteTablesInput, fn func(*DescribeLocalGatewayRouteTablesOutput, bool) bool) error { return c.DescribeLocalGatewayRouteTablesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -22271,14 +21981,13 @@ const opDescribeLocalGatewayVirtualInterfaceGroups = "DescribeLocalGatewayVirtua // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocalGatewayVirtualInterfaceGroupsRequest method. +// req, resp := client.DescribeLocalGatewayVirtualInterfaceGroupsRequest(params) // -// // Example sending a request using the DescribeLocalGatewayVirtualInterfaceGroupsRequest method. -// req, resp := client.DescribeLocalGatewayVirtualInterfaceGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLocalGatewayVirtualInterfaceGroups func (c *EC2) DescribeLocalGatewayVirtualInterfaceGroupsRequest(input *DescribeLocalGatewayVirtualInterfaceGroupsInput) (req *request.Request, output *DescribeLocalGatewayVirtualInterfaceGroupsOutput) { @@ -22343,15 +22052,14 @@ func (c *EC2) DescribeLocalGatewayVirtualInterfaceGroupsWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeLocalGatewayVirtualInterfaceGroups operation. -// pageNum := 0 -// err := client.DescribeLocalGatewayVirtualInterfaceGroupsPages(params, -// func(page *ec2.DescribeLocalGatewayVirtualInterfaceGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeLocalGatewayVirtualInterfaceGroups operation. +// pageNum := 0 +// err := client.DescribeLocalGatewayVirtualInterfaceGroupsPages(params, +// func(page *ec2.DescribeLocalGatewayVirtualInterfaceGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeLocalGatewayVirtualInterfaceGroupsPages(input *DescribeLocalGatewayVirtualInterfaceGroupsInput, fn func(*DescribeLocalGatewayVirtualInterfaceGroupsOutput, bool) bool) error { return c.DescribeLocalGatewayVirtualInterfaceGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -22403,14 +22111,13 @@ const opDescribeLocalGatewayVirtualInterfaces = "DescribeLocalGatewayVirtualInte // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocalGatewayVirtualInterfacesRequest method. +// req, resp := client.DescribeLocalGatewayVirtualInterfacesRequest(params) // -// // Example sending a request using the DescribeLocalGatewayVirtualInterfacesRequest method. -// req, resp := client.DescribeLocalGatewayVirtualInterfacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLocalGatewayVirtualInterfaces func (c *EC2) DescribeLocalGatewayVirtualInterfacesRequest(input *DescribeLocalGatewayVirtualInterfacesInput) (req *request.Request, output *DescribeLocalGatewayVirtualInterfacesOutput) { @@ -22475,15 +22182,14 @@ func (c *EC2) DescribeLocalGatewayVirtualInterfacesWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeLocalGatewayVirtualInterfaces operation. -// pageNum := 0 -// err := client.DescribeLocalGatewayVirtualInterfacesPages(params, -// func(page *ec2.DescribeLocalGatewayVirtualInterfacesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeLocalGatewayVirtualInterfaces operation. +// pageNum := 0 +// err := client.DescribeLocalGatewayVirtualInterfacesPages(params, +// func(page *ec2.DescribeLocalGatewayVirtualInterfacesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeLocalGatewayVirtualInterfacesPages(input *DescribeLocalGatewayVirtualInterfacesInput, fn func(*DescribeLocalGatewayVirtualInterfacesOutput, bool) bool) error { return c.DescribeLocalGatewayVirtualInterfacesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -22535,14 +22241,13 @@ const opDescribeLocalGateways = "DescribeLocalGateways" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLocalGatewaysRequest method. +// req, resp := client.DescribeLocalGatewaysRequest(params) // -// // Example sending a request using the DescribeLocalGatewaysRequest method. -// req, resp := client.DescribeLocalGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLocalGateways func (c *EC2) DescribeLocalGatewaysRequest(input *DescribeLocalGatewaysInput) (req *request.Request, output *DescribeLocalGatewaysOutput) { @@ -22608,15 +22313,14 @@ func (c *EC2) DescribeLocalGatewaysWithContext(ctx aws.Context, input *DescribeL // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeLocalGateways operation. -// pageNum := 0 -// err := client.DescribeLocalGatewaysPages(params, -// func(page *ec2.DescribeLocalGatewaysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeLocalGateways operation. +// pageNum := 0 +// err := client.DescribeLocalGatewaysPages(params, +// func(page *ec2.DescribeLocalGatewaysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeLocalGatewaysPages(input *DescribeLocalGatewaysInput, fn func(*DescribeLocalGatewaysOutput, bool) bool) error { return c.DescribeLocalGatewaysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -22668,14 +22372,13 @@ const opDescribeManagedPrefixLists = "DescribeManagedPrefixLists" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeManagedPrefixListsRequest method. +// req, resp := client.DescribeManagedPrefixListsRequest(params) // -// // Example sending a request using the DescribeManagedPrefixListsRequest method. -// req, resp := client.DescribeManagedPrefixListsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeManagedPrefixLists func (c *EC2) DescribeManagedPrefixListsRequest(input *DescribeManagedPrefixListsInput) (req *request.Request, output *DescribeManagedPrefixListsOutput) { @@ -22743,15 +22446,14 @@ func (c *EC2) DescribeManagedPrefixListsWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeManagedPrefixLists operation. -// pageNum := 0 -// err := client.DescribeManagedPrefixListsPages(params, -// func(page *ec2.DescribeManagedPrefixListsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeManagedPrefixLists operation. +// pageNum := 0 +// err := client.DescribeManagedPrefixListsPages(params, +// func(page *ec2.DescribeManagedPrefixListsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeManagedPrefixListsPages(input *DescribeManagedPrefixListsInput, fn func(*DescribeManagedPrefixListsOutput, bool) bool) error { return c.DescribeManagedPrefixListsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -22803,14 +22505,13 @@ const opDescribeMovingAddresses = "DescribeMovingAddresses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMovingAddressesRequest method. +// req, resp := client.DescribeMovingAddressesRequest(params) // -// // Example sending a request using the DescribeMovingAddressesRequest method. -// req, resp := client.DescribeMovingAddressesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMovingAddresses func (c *EC2) DescribeMovingAddressesRequest(input *DescribeMovingAddressesInput) (req *request.Request, output *DescribeMovingAddressesOutput) { @@ -22877,15 +22578,14 @@ func (c *EC2) DescribeMovingAddressesWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeMovingAddresses operation. -// pageNum := 0 -// err := client.DescribeMovingAddressesPages(params, -// func(page *ec2.DescribeMovingAddressesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeMovingAddresses operation. +// pageNum := 0 +// err := client.DescribeMovingAddressesPages(params, +// func(page *ec2.DescribeMovingAddressesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeMovingAddressesPages(input *DescribeMovingAddressesInput, fn func(*DescribeMovingAddressesOutput, bool) bool) error { return c.DescribeMovingAddressesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -22937,14 +22637,13 @@ const opDescribeNatGateways = "DescribeNatGateways" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNatGatewaysRequest method. +// req, resp := client.DescribeNatGatewaysRequest(params) // -// // Example sending a request using the DescribeNatGatewaysRequest method. -// req, resp := client.DescribeNatGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNatGateways func (c *EC2) DescribeNatGatewaysRequest(input *DescribeNatGatewaysInput) (req *request.Request, output *DescribeNatGatewaysOutput) { @@ -23009,15 +22708,14 @@ func (c *EC2) DescribeNatGatewaysWithContext(ctx aws.Context, input *DescribeNat // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeNatGateways operation. -// pageNum := 0 -// err := client.DescribeNatGatewaysPages(params, -// func(page *ec2.DescribeNatGatewaysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeNatGateways operation. +// pageNum := 0 +// err := client.DescribeNatGatewaysPages(params, +// func(page *ec2.DescribeNatGatewaysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeNatGatewaysPages(input *DescribeNatGatewaysInput, fn func(*DescribeNatGatewaysOutput, bool) bool) error { return c.DescribeNatGatewaysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -23069,14 +22767,13 @@ const opDescribeNetworkAcls = "DescribeNetworkAcls" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNetworkAclsRequest method. +// req, resp := client.DescribeNetworkAclsRequest(params) // -// // Example sending a request using the DescribeNetworkAclsRequest method. -// req, resp := client.DescribeNetworkAclsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkAcls func (c *EC2) DescribeNetworkAclsRequest(input *DescribeNetworkAclsInput) (req *request.Request, output *DescribeNetworkAclsOutput) { @@ -23144,15 +22841,14 @@ func (c *EC2) DescribeNetworkAclsWithContext(ctx aws.Context, input *DescribeNet // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeNetworkAcls operation. -// pageNum := 0 -// err := client.DescribeNetworkAclsPages(params, -// func(page *ec2.DescribeNetworkAclsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeNetworkAcls operation. +// pageNum := 0 +// err := client.DescribeNetworkAclsPages(params, +// func(page *ec2.DescribeNetworkAclsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeNetworkAclsPages(input *DescribeNetworkAclsInput, fn func(*DescribeNetworkAclsOutput, bool) bool) error { return c.DescribeNetworkAclsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -23204,14 +22900,13 @@ const opDescribeNetworkInsightsAccessScopeAnalyses = "DescribeNetworkInsightsAcc // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNetworkInsightsAccessScopeAnalysesRequest method. +// req, resp := client.DescribeNetworkInsightsAccessScopeAnalysesRequest(params) // -// // Example sending a request using the DescribeNetworkInsightsAccessScopeAnalysesRequest method. -// req, resp := client.DescribeNetworkInsightsAccessScopeAnalysesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInsightsAccessScopeAnalyses func (c *EC2) DescribeNetworkInsightsAccessScopeAnalysesRequest(input *DescribeNetworkInsightsAccessScopeAnalysesInput) (req *request.Request, output *DescribeNetworkInsightsAccessScopeAnalysesOutput) { @@ -23276,15 +22971,14 @@ func (c *EC2) DescribeNetworkInsightsAccessScopeAnalysesWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeNetworkInsightsAccessScopeAnalyses operation. -// pageNum := 0 -// err := client.DescribeNetworkInsightsAccessScopeAnalysesPages(params, -// func(page *ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeNetworkInsightsAccessScopeAnalyses operation. +// pageNum := 0 +// err := client.DescribeNetworkInsightsAccessScopeAnalysesPages(params, +// func(page *ec2.DescribeNetworkInsightsAccessScopeAnalysesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeNetworkInsightsAccessScopeAnalysesPages(input *DescribeNetworkInsightsAccessScopeAnalysesInput, fn func(*DescribeNetworkInsightsAccessScopeAnalysesOutput, bool) bool) error { return c.DescribeNetworkInsightsAccessScopeAnalysesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -23336,14 +23030,13 @@ const opDescribeNetworkInsightsAccessScopes = "DescribeNetworkInsightsAccessScop // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNetworkInsightsAccessScopesRequest method. +// req, resp := client.DescribeNetworkInsightsAccessScopesRequest(params) // -// // Example sending a request using the DescribeNetworkInsightsAccessScopesRequest method. -// req, resp := client.DescribeNetworkInsightsAccessScopesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInsightsAccessScopes func (c *EC2) DescribeNetworkInsightsAccessScopesRequest(input *DescribeNetworkInsightsAccessScopesInput) (req *request.Request, output *DescribeNetworkInsightsAccessScopesOutput) { @@ -23408,15 +23101,14 @@ func (c *EC2) DescribeNetworkInsightsAccessScopesWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeNetworkInsightsAccessScopes operation. -// pageNum := 0 -// err := client.DescribeNetworkInsightsAccessScopesPages(params, -// func(page *ec2.DescribeNetworkInsightsAccessScopesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeNetworkInsightsAccessScopes operation. +// pageNum := 0 +// err := client.DescribeNetworkInsightsAccessScopesPages(params, +// func(page *ec2.DescribeNetworkInsightsAccessScopesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeNetworkInsightsAccessScopesPages(input *DescribeNetworkInsightsAccessScopesInput, fn func(*DescribeNetworkInsightsAccessScopesOutput, bool) bool) error { return c.DescribeNetworkInsightsAccessScopesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -23468,14 +23160,13 @@ const opDescribeNetworkInsightsAnalyses = "DescribeNetworkInsightsAnalyses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNetworkInsightsAnalysesRequest method. +// req, resp := client.DescribeNetworkInsightsAnalysesRequest(params) // -// // Example sending a request using the DescribeNetworkInsightsAnalysesRequest method. -// req, resp := client.DescribeNetworkInsightsAnalysesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInsightsAnalyses func (c *EC2) DescribeNetworkInsightsAnalysesRequest(input *DescribeNetworkInsightsAnalysesInput) (req *request.Request, output *DescribeNetworkInsightsAnalysesOutput) { @@ -23540,15 +23231,14 @@ func (c *EC2) DescribeNetworkInsightsAnalysesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeNetworkInsightsAnalyses operation. -// pageNum := 0 -// err := client.DescribeNetworkInsightsAnalysesPages(params, -// func(page *ec2.DescribeNetworkInsightsAnalysesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeNetworkInsightsAnalyses operation. +// pageNum := 0 +// err := client.DescribeNetworkInsightsAnalysesPages(params, +// func(page *ec2.DescribeNetworkInsightsAnalysesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeNetworkInsightsAnalysesPages(input *DescribeNetworkInsightsAnalysesInput, fn func(*DescribeNetworkInsightsAnalysesOutput, bool) bool) error { return c.DescribeNetworkInsightsAnalysesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -23600,14 +23290,13 @@ const opDescribeNetworkInsightsPaths = "DescribeNetworkInsightsPaths" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNetworkInsightsPathsRequest method. +// req, resp := client.DescribeNetworkInsightsPathsRequest(params) // -// // Example sending a request using the DescribeNetworkInsightsPathsRequest method. -// req, resp := client.DescribeNetworkInsightsPathsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInsightsPaths func (c *EC2) DescribeNetworkInsightsPathsRequest(input *DescribeNetworkInsightsPathsInput) (req *request.Request, output *DescribeNetworkInsightsPathsOutput) { @@ -23672,15 +23361,14 @@ func (c *EC2) DescribeNetworkInsightsPathsWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeNetworkInsightsPaths operation. -// pageNum := 0 -// err := client.DescribeNetworkInsightsPathsPages(params, -// func(page *ec2.DescribeNetworkInsightsPathsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeNetworkInsightsPaths operation. +// pageNum := 0 +// err := client.DescribeNetworkInsightsPathsPages(params, +// func(page *ec2.DescribeNetworkInsightsPathsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeNetworkInsightsPathsPages(input *DescribeNetworkInsightsPathsInput, fn func(*DescribeNetworkInsightsPathsOutput, bool) bool) error { return c.DescribeNetworkInsightsPathsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -23732,14 +23420,13 @@ const opDescribeNetworkInterfaceAttribute = "DescribeNetworkInterfaceAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNetworkInterfaceAttributeRequest method. +// req, resp := client.DescribeNetworkInterfaceAttributeRequest(params) // -// // Example sending a request using the DescribeNetworkInterfaceAttributeRequest method. -// req, resp := client.DescribeNetworkInterfaceAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaceAttribute func (c *EC2) DescribeNetworkInterfaceAttributeRequest(input *DescribeNetworkInterfaceAttributeInput) (req *request.Request, output *DescribeNetworkInterfaceAttributeOutput) { @@ -23807,14 +23494,13 @@ const opDescribeNetworkInterfacePermissions = "DescribeNetworkInterfacePermissio // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNetworkInterfacePermissionsRequest method. +// req, resp := client.DescribeNetworkInterfacePermissionsRequest(params) // -// // Example sending a request using the DescribeNetworkInterfacePermissionsRequest method. -// req, resp := client.DescribeNetworkInterfacePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfacePermissions func (c *EC2) DescribeNetworkInterfacePermissionsRequest(input *DescribeNetworkInterfacePermissionsInput) (req *request.Request, output *DescribeNetworkInterfacePermissionsOutput) { @@ -23879,15 +23565,14 @@ func (c *EC2) DescribeNetworkInterfacePermissionsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeNetworkInterfacePermissions operation. -// pageNum := 0 -// err := client.DescribeNetworkInterfacePermissionsPages(params, -// func(page *ec2.DescribeNetworkInterfacePermissionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeNetworkInterfacePermissions operation. +// pageNum := 0 +// err := client.DescribeNetworkInterfacePermissionsPages(params, +// func(page *ec2.DescribeNetworkInterfacePermissionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeNetworkInterfacePermissionsPages(input *DescribeNetworkInterfacePermissionsInput, fn func(*DescribeNetworkInterfacePermissionsOutput, bool) bool) error { return c.DescribeNetworkInterfacePermissionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -23939,14 +23624,13 @@ const opDescribeNetworkInterfaces = "DescribeNetworkInterfaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNetworkInterfacesRequest method. +// req, resp := client.DescribeNetworkInterfacesRequest(params) // -// // Example sending a request using the DescribeNetworkInterfacesRequest method. -// req, resp := client.DescribeNetworkInterfacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInterfaces func (c *EC2) DescribeNetworkInterfacesRequest(input *DescribeNetworkInterfacesInput) (req *request.Request, output *DescribeNetworkInterfacesOutput) { @@ -24011,15 +23695,14 @@ func (c *EC2) DescribeNetworkInterfacesWithContext(ctx aws.Context, input *Descr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeNetworkInterfaces operation. -// pageNum := 0 -// err := client.DescribeNetworkInterfacesPages(params, -// func(page *ec2.DescribeNetworkInterfacesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeNetworkInterfaces operation. +// pageNum := 0 +// err := client.DescribeNetworkInterfacesPages(params, +// func(page *ec2.DescribeNetworkInterfacesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeNetworkInterfacesPages(input *DescribeNetworkInterfacesInput, fn func(*DescribeNetworkInterfacesOutput, bool) bool) error { return c.DescribeNetworkInterfacesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -24071,14 +23754,13 @@ const opDescribePlacementGroups = "DescribePlacementGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePlacementGroupsRequest method. +// req, resp := client.DescribePlacementGroupsRequest(params) // -// // Example sending a request using the DescribePlacementGroupsRequest method. -// req, resp := client.DescribePlacementGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroups func (c *EC2) DescribePlacementGroupsRequest(input *DescribePlacementGroupsInput) (req *request.Request, output *DescribePlacementGroupsOutput) { @@ -24147,14 +23829,13 @@ const opDescribePrefixLists = "DescribePrefixLists" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePrefixListsRequest method. +// req, resp := client.DescribePrefixListsRequest(params) // -// // Example sending a request using the DescribePrefixListsRequest method. -// req, resp := client.DescribePrefixListsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrefixLists func (c *EC2) DescribePrefixListsRequest(input *DescribePrefixListsInput) (req *request.Request, output *DescribePrefixListsOutput) { @@ -24223,15 +23904,14 @@ func (c *EC2) DescribePrefixListsWithContext(ctx aws.Context, input *DescribePre // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePrefixLists operation. -// pageNum := 0 -// err := client.DescribePrefixListsPages(params, -// func(page *ec2.DescribePrefixListsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePrefixLists operation. +// pageNum := 0 +// err := client.DescribePrefixListsPages(params, +// func(page *ec2.DescribePrefixListsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribePrefixListsPages(input *DescribePrefixListsInput, fn func(*DescribePrefixListsOutput, bool) bool) error { return c.DescribePrefixListsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -24283,14 +23963,13 @@ const opDescribePrincipalIdFormat = "DescribePrincipalIdFormat" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePrincipalIdFormatRequest method. +// req, resp := client.DescribePrincipalIdFormatRequest(params) // -// // Example sending a request using the DescribePrincipalIdFormatRequest method. -// req, resp := client.DescribePrincipalIdFormatRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePrincipalIdFormat func (c *EC2) DescribePrincipalIdFormatRequest(input *DescribePrincipalIdFormatInput) (req *request.Request, output *DescribePrincipalIdFormatOutput) { @@ -24369,15 +24048,14 @@ func (c *EC2) DescribePrincipalIdFormatWithContext(ctx aws.Context, input *Descr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePrincipalIdFormat operation. -// pageNum := 0 -// err := client.DescribePrincipalIdFormatPages(params, -// func(page *ec2.DescribePrincipalIdFormatOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePrincipalIdFormat operation. +// pageNum := 0 +// err := client.DescribePrincipalIdFormatPages(params, +// func(page *ec2.DescribePrincipalIdFormatOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribePrincipalIdFormatPages(input *DescribePrincipalIdFormatInput, fn func(*DescribePrincipalIdFormatOutput, bool) bool) error { return c.DescribePrincipalIdFormatPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -24429,14 +24107,13 @@ const opDescribePublicIpv4Pools = "DescribePublicIpv4Pools" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePublicIpv4PoolsRequest method. +// req, resp := client.DescribePublicIpv4PoolsRequest(params) // -// // Example sending a request using the DescribePublicIpv4PoolsRequest method. -// req, resp := client.DescribePublicIpv4PoolsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePublicIpv4Pools func (c *EC2) DescribePublicIpv4PoolsRequest(input *DescribePublicIpv4PoolsInput) (req *request.Request, output *DescribePublicIpv4PoolsOutput) { @@ -24501,15 +24178,14 @@ func (c *EC2) DescribePublicIpv4PoolsWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePublicIpv4Pools operation. -// pageNum := 0 -// err := client.DescribePublicIpv4PoolsPages(params, -// func(page *ec2.DescribePublicIpv4PoolsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePublicIpv4Pools operation. +// pageNum := 0 +// err := client.DescribePublicIpv4PoolsPages(params, +// func(page *ec2.DescribePublicIpv4PoolsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribePublicIpv4PoolsPages(input *DescribePublicIpv4PoolsInput, fn func(*DescribePublicIpv4PoolsOutput, bool) bool) error { return c.DescribePublicIpv4PoolsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -24561,14 +24237,13 @@ const opDescribeRegions = "DescribeRegions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRegionsRequest method. +// req, resp := client.DescribeRegionsRequest(params) // -// // Example sending a request using the DescribeRegionsRequest method. -// req, resp := client.DescribeRegionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRegions func (c *EC2) DescribeRegionsRequest(input *DescribeRegionsInput) (req *request.Request, output *DescribeRegionsOutput) { @@ -24642,14 +24317,13 @@ const opDescribeReplaceRootVolumeTasks = "DescribeReplaceRootVolumeTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReplaceRootVolumeTasksRequest method. +// req, resp := client.DescribeReplaceRootVolumeTasksRequest(params) // -// // Example sending a request using the DescribeReplaceRootVolumeTasksRequest method. -// req, resp := client.DescribeReplaceRootVolumeTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReplaceRootVolumeTasks func (c *EC2) DescribeReplaceRootVolumeTasksRequest(input *DescribeReplaceRootVolumeTasksInput) (req *request.Request, output *DescribeReplaceRootVolumeTasksOutput) { @@ -24716,15 +24390,14 @@ func (c *EC2) DescribeReplaceRootVolumeTasksWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReplaceRootVolumeTasks operation. -// pageNum := 0 -// err := client.DescribeReplaceRootVolumeTasksPages(params, -// func(page *ec2.DescribeReplaceRootVolumeTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReplaceRootVolumeTasks operation. +// pageNum := 0 +// err := client.DescribeReplaceRootVolumeTasksPages(params, +// func(page *ec2.DescribeReplaceRootVolumeTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeReplaceRootVolumeTasksPages(input *DescribeReplaceRootVolumeTasksInput, fn func(*DescribeReplaceRootVolumeTasksOutput, bool) bool) error { return c.DescribeReplaceRootVolumeTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -24776,14 +24449,13 @@ const opDescribeReservedInstances = "DescribeReservedInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservedInstancesRequest method. +// req, resp := client.DescribeReservedInstancesRequest(params) // -// // Example sending a request using the DescribeReservedInstancesRequest method. -// req, resp := client.DescribeReservedInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstances func (c *EC2) DescribeReservedInstancesRequest(input *DescribeReservedInstancesInput) (req *request.Request, output *DescribeReservedInstancesOutput) { @@ -24853,14 +24525,13 @@ const opDescribeReservedInstancesListings = "DescribeReservedInstancesListings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservedInstancesListingsRequest method. +// req, resp := client.DescribeReservedInstancesListingsRequest(params) // -// // Example sending a request using the DescribeReservedInstancesListingsRequest method. -// req, resp := client.DescribeReservedInstancesListingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesListings func (c *EC2) DescribeReservedInstancesListingsRequest(input *DescribeReservedInstancesListingsInput) (req *request.Request, output *DescribeReservedInstancesListingsOutput) { @@ -24948,14 +24619,13 @@ const opDescribeReservedInstancesModifications = "DescribeReservedInstancesModif // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservedInstancesModificationsRequest method. +// req, resp := client.DescribeReservedInstancesModificationsRequest(params) // -// // Example sending a request using the DescribeReservedInstancesModificationsRequest method. -// req, resp := client.DescribeReservedInstancesModificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesModifications func (c *EC2) DescribeReservedInstancesModificationsRequest(input *DescribeReservedInstancesModificationsInput) (req *request.Request, output *DescribeReservedInstancesModificationsOutput) { @@ -25026,15 +24696,14 @@ func (c *EC2) DescribeReservedInstancesModificationsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReservedInstancesModifications operation. -// pageNum := 0 -// err := client.DescribeReservedInstancesModificationsPages(params, -// func(page *ec2.DescribeReservedInstancesModificationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReservedInstancesModifications operation. +// pageNum := 0 +// err := client.DescribeReservedInstancesModificationsPages(params, +// func(page *ec2.DescribeReservedInstancesModificationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeReservedInstancesModificationsPages(input *DescribeReservedInstancesModificationsInput, fn func(*DescribeReservedInstancesModificationsOutput, bool) bool) error { return c.DescribeReservedInstancesModificationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -25086,14 +24755,13 @@ const opDescribeReservedInstancesOfferings = "DescribeReservedInstancesOfferings // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservedInstancesOfferingsRequest method. +// req, resp := client.DescribeReservedInstancesOfferingsRequest(params) // -// // Example sending a request using the DescribeReservedInstancesOfferingsRequest method. -// req, resp := client.DescribeReservedInstancesOfferingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeReservedInstancesOfferings func (c *EC2) DescribeReservedInstancesOfferingsRequest(input *DescribeReservedInstancesOfferingsInput) (req *request.Request, output *DescribeReservedInstancesOfferingsOutput) { @@ -25169,15 +24837,14 @@ func (c *EC2) DescribeReservedInstancesOfferingsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReservedInstancesOfferings operation. -// pageNum := 0 -// err := client.DescribeReservedInstancesOfferingsPages(params, -// func(page *ec2.DescribeReservedInstancesOfferingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReservedInstancesOfferings operation. +// pageNum := 0 +// err := client.DescribeReservedInstancesOfferingsPages(params, +// func(page *ec2.DescribeReservedInstancesOfferingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeReservedInstancesOfferingsPages(input *DescribeReservedInstancesOfferingsInput, fn func(*DescribeReservedInstancesOfferingsOutput, bool) bool) error { return c.DescribeReservedInstancesOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -25229,14 +24896,13 @@ const opDescribeRouteTables = "DescribeRouteTables" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRouteTablesRequest method. +// req, resp := client.DescribeRouteTablesRequest(params) // -// // Example sending a request using the DescribeRouteTablesRequest method. -// req, resp := client.DescribeRouteTablesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeRouteTables func (c *EC2) DescribeRouteTablesRequest(input *DescribeRouteTablesInput) (req *request.Request, output *DescribeRouteTablesOutput) { @@ -25309,15 +24975,14 @@ func (c *EC2) DescribeRouteTablesWithContext(ctx aws.Context, input *DescribeRou // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeRouteTables operation. -// pageNum := 0 -// err := client.DescribeRouteTablesPages(params, -// func(page *ec2.DescribeRouteTablesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeRouteTables operation. +// pageNum := 0 +// err := client.DescribeRouteTablesPages(params, +// func(page *ec2.DescribeRouteTablesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeRouteTablesPages(input *DescribeRouteTablesInput, fn func(*DescribeRouteTablesOutput, bool) bool) error { return c.DescribeRouteTablesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -25369,14 +25034,13 @@ const opDescribeScheduledInstanceAvailability = "DescribeScheduledInstanceAvaila // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScheduledInstanceAvailabilityRequest method. +// req, resp := client.DescribeScheduledInstanceAvailabilityRequest(params) // -// // Example sending a request using the DescribeScheduledInstanceAvailabilityRequest method. -// req, resp := client.DescribeScheduledInstanceAvailabilityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstanceAvailability func (c *EC2) DescribeScheduledInstanceAvailabilityRequest(input *DescribeScheduledInstanceAvailabilityInput) (req *request.Request, output *DescribeScheduledInstanceAvailabilityOutput) { @@ -25449,15 +25113,14 @@ func (c *EC2) DescribeScheduledInstanceAvailabilityWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeScheduledInstanceAvailability operation. -// pageNum := 0 -// err := client.DescribeScheduledInstanceAvailabilityPages(params, -// func(page *ec2.DescribeScheduledInstanceAvailabilityOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeScheduledInstanceAvailability operation. +// pageNum := 0 +// err := client.DescribeScheduledInstanceAvailabilityPages(params, +// func(page *ec2.DescribeScheduledInstanceAvailabilityOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeScheduledInstanceAvailabilityPages(input *DescribeScheduledInstanceAvailabilityInput, fn func(*DescribeScheduledInstanceAvailabilityOutput, bool) bool) error { return c.DescribeScheduledInstanceAvailabilityPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -25509,14 +25172,13 @@ const opDescribeScheduledInstances = "DescribeScheduledInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScheduledInstancesRequest method. +// req, resp := client.DescribeScheduledInstancesRequest(params) // -// // Example sending a request using the DescribeScheduledInstancesRequest method. -// req, resp := client.DescribeScheduledInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeScheduledInstances func (c *EC2) DescribeScheduledInstancesRequest(input *DescribeScheduledInstancesInput) (req *request.Request, output *DescribeScheduledInstancesOutput) { @@ -25581,15 +25243,14 @@ func (c *EC2) DescribeScheduledInstancesWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeScheduledInstances operation. -// pageNum := 0 -// err := client.DescribeScheduledInstancesPages(params, -// func(page *ec2.DescribeScheduledInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeScheduledInstances operation. +// pageNum := 0 +// err := client.DescribeScheduledInstancesPages(params, +// func(page *ec2.DescribeScheduledInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeScheduledInstancesPages(input *DescribeScheduledInstancesInput, fn func(*DescribeScheduledInstancesOutput, bool) bool) error { return c.DescribeScheduledInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -25641,14 +25302,13 @@ const opDescribeSecurityGroupReferences = "DescribeSecurityGroupReferences" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSecurityGroupReferencesRequest method. +// req, resp := client.DescribeSecurityGroupReferencesRequest(params) // -// // Example sending a request using the DescribeSecurityGroupReferencesRequest method. -// req, resp := client.DescribeSecurityGroupReferencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupReferences func (c *EC2) DescribeSecurityGroupReferencesRequest(input *DescribeSecurityGroupReferencesInput) (req *request.Request, output *DescribeSecurityGroupReferencesOutput) { @@ -25716,14 +25376,13 @@ const opDescribeSecurityGroupRules = "DescribeSecurityGroupRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSecurityGroupRulesRequest method. +// req, resp := client.DescribeSecurityGroupRulesRequest(params) // -// // Example sending a request using the DescribeSecurityGroupRulesRequest method. -// req, resp := client.DescribeSecurityGroupRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroupRules func (c *EC2) DescribeSecurityGroupRulesRequest(input *DescribeSecurityGroupRulesInput) (req *request.Request, output *DescribeSecurityGroupRulesOutput) { @@ -25788,15 +25447,14 @@ func (c *EC2) DescribeSecurityGroupRulesWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSecurityGroupRules operation. -// pageNum := 0 -// err := client.DescribeSecurityGroupRulesPages(params, -// func(page *ec2.DescribeSecurityGroupRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSecurityGroupRules operation. +// pageNum := 0 +// err := client.DescribeSecurityGroupRulesPages(params, +// func(page *ec2.DescribeSecurityGroupRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeSecurityGroupRulesPages(input *DescribeSecurityGroupRulesInput, fn func(*DescribeSecurityGroupRulesOutput, bool) bool) error { return c.DescribeSecurityGroupRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -25848,14 +25506,13 @@ const opDescribeSecurityGroups = "DescribeSecurityGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSecurityGroupsRequest method. +// req, resp := client.DescribeSecurityGroupsRequest(params) // -// // Example sending a request using the DescribeSecurityGroupsRequest method. -// req, resp := client.DescribeSecurityGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSecurityGroups func (c *EC2) DescribeSecurityGroupsRequest(input *DescribeSecurityGroupsInput) (req *request.Request, output *DescribeSecurityGroupsOutput) { @@ -25927,15 +25584,14 @@ func (c *EC2) DescribeSecurityGroupsWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSecurityGroups operation. -// pageNum := 0 -// err := client.DescribeSecurityGroupsPages(params, -// func(page *ec2.DescribeSecurityGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSecurityGroups operation. +// pageNum := 0 +// err := client.DescribeSecurityGroupsPages(params, +// func(page *ec2.DescribeSecurityGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeSecurityGroupsPages(input *DescribeSecurityGroupsInput, fn func(*DescribeSecurityGroupsOutput, bool) bool) error { return c.DescribeSecurityGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -25987,14 +25643,13 @@ const opDescribeSnapshotAttribute = "DescribeSnapshotAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSnapshotAttributeRequest method. +// req, resp := client.DescribeSnapshotAttributeRequest(params) // -// // Example sending a request using the DescribeSnapshotAttributeRequest method. -// req, resp := client.DescribeSnapshotAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotAttribute func (c *EC2) DescribeSnapshotAttributeRequest(input *DescribeSnapshotAttributeInput) (req *request.Request, output *DescribeSnapshotAttributeOutput) { @@ -26065,14 +25720,13 @@ const opDescribeSnapshotTierStatus = "DescribeSnapshotTierStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSnapshotTierStatusRequest method. +// req, resp := client.DescribeSnapshotTierStatusRequest(params) // -// // Example sending a request using the DescribeSnapshotTierStatusRequest method. -// req, resp := client.DescribeSnapshotTierStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshotTierStatus func (c *EC2) DescribeSnapshotTierStatusRequest(input *DescribeSnapshotTierStatusInput) (req *request.Request, output *DescribeSnapshotTierStatusOutput) { @@ -26137,15 +25791,14 @@ func (c *EC2) DescribeSnapshotTierStatusWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSnapshotTierStatus operation. -// pageNum := 0 -// err := client.DescribeSnapshotTierStatusPages(params, -// func(page *ec2.DescribeSnapshotTierStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSnapshotTierStatus operation. +// pageNum := 0 +// err := client.DescribeSnapshotTierStatusPages(params, +// func(page *ec2.DescribeSnapshotTierStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeSnapshotTierStatusPages(input *DescribeSnapshotTierStatusInput, fn func(*DescribeSnapshotTierStatusOutput, bool) bool) error { return c.DescribeSnapshotTierStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -26197,14 +25850,13 @@ const opDescribeSnapshots = "DescribeSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSnapshotsRequest method. +// req, resp := client.DescribeSnapshotsRequest(params) // -// // Example sending a request using the DescribeSnapshotsRequest method. -// req, resp := client.DescribeSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSnapshots func (c *EC2) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req *request.Request, output *DescribeSnapshotsOutput) { @@ -26240,15 +25892,15 @@ func (c *EC2) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req *requ // // The create volume permissions fall into the following categories: // -// * public: The owner of the snapshot granted create volume permissions -// for the snapshot to the all group. All Amazon Web Services accounts have -// create volume permissions for these snapshots. +// - public: The owner of the snapshot granted create volume permissions +// for the snapshot to the all group. All Amazon Web Services accounts have +// create volume permissions for these snapshots. // -// * explicit: The owner of the snapshot granted create volume permissions -// to a specific Amazon Web Services account. +// - explicit: The owner of the snapshot granted create volume permissions +// to a specific Amazon Web Services account. // -// * implicit: An Amazon Web Services account has implicit create volume -// permissions for all snapshots it owns. +// - implicit: An Amazon Web Services account has implicit create volume +// permissions for all snapshots it owns. // // The list of snapshots returned can be filtered by specifying snapshot IDs, // snapshot owners, or Amazon Web Services accounts with create volume permissions. @@ -26319,15 +25971,14 @@ func (c *EC2) DescribeSnapshotsWithContext(ctx aws.Context, input *DescribeSnaps // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSnapshots operation. -// pageNum := 0 -// err := client.DescribeSnapshotsPages(params, -// func(page *ec2.DescribeSnapshotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSnapshots operation. +// pageNum := 0 +// err := client.DescribeSnapshotsPages(params, +// func(page *ec2.DescribeSnapshotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeSnapshotsPages(input *DescribeSnapshotsInput, fn func(*DescribeSnapshotsOutput, bool) bool) error { return c.DescribeSnapshotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -26379,14 +26030,13 @@ const opDescribeSpotDatafeedSubscription = "DescribeSpotDatafeedSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSpotDatafeedSubscriptionRequest method. +// req, resp := client.DescribeSpotDatafeedSubscriptionRequest(params) // -// // Example sending a request using the DescribeSpotDatafeedSubscriptionRequest method. -// req, resp := client.DescribeSpotDatafeedSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotDatafeedSubscription func (c *EC2) DescribeSpotDatafeedSubscriptionRequest(input *DescribeSpotDatafeedSubscriptionInput) (req *request.Request, output *DescribeSpotDatafeedSubscriptionOutput) { @@ -26455,14 +26105,13 @@ const opDescribeSpotFleetInstances = "DescribeSpotFleetInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSpotFleetInstancesRequest method. +// req, resp := client.DescribeSpotFleetInstancesRequest(params) // -// // Example sending a request using the DescribeSpotFleetInstancesRequest method. -// req, resp := client.DescribeSpotFleetInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetInstances func (c *EC2) DescribeSpotFleetInstancesRequest(input *DescribeSpotFleetInstancesInput) (req *request.Request, output *DescribeSpotFleetInstancesOutput) { @@ -26529,14 +26178,13 @@ const opDescribeSpotFleetRequestHistory = "DescribeSpotFleetRequestHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSpotFleetRequestHistoryRequest method. +// req, resp := client.DescribeSpotFleetRequestHistoryRequest(params) // -// // Example sending a request using the DescribeSpotFleetRequestHistoryRequest method. -// req, resp := client.DescribeSpotFleetRequestHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequestHistory func (c *EC2) DescribeSpotFleetRequestHistoryRequest(input *DescribeSpotFleetRequestHistoryInput) (req *request.Request, output *DescribeSpotFleetRequestHistoryOutput) { @@ -26611,14 +26259,13 @@ const opDescribeSpotFleetRequests = "DescribeSpotFleetRequests" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSpotFleetRequestsRequest method. +// req, resp := client.DescribeSpotFleetRequestsRequest(params) // -// // Example sending a request using the DescribeSpotFleetRequestsRequest method. -// req, resp := client.DescribeSpotFleetRequestsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotFleetRequests func (c *EC2) DescribeSpotFleetRequestsRequest(input *DescribeSpotFleetRequestsInput) (req *request.Request, output *DescribeSpotFleetRequestsOutput) { @@ -26686,15 +26333,14 @@ func (c *EC2) DescribeSpotFleetRequestsWithContext(ctx aws.Context, input *Descr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSpotFleetRequests operation. -// pageNum := 0 -// err := client.DescribeSpotFleetRequestsPages(params, -// func(page *ec2.DescribeSpotFleetRequestsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSpotFleetRequests operation. +// pageNum := 0 +// err := client.DescribeSpotFleetRequestsPages(params, +// func(page *ec2.DescribeSpotFleetRequestsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeSpotFleetRequestsPages(input *DescribeSpotFleetRequestsInput, fn func(*DescribeSpotFleetRequestsOutput, bool) bool) error { return c.DescribeSpotFleetRequestsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -26746,14 +26392,13 @@ const opDescribeSpotInstanceRequests = "DescribeSpotInstanceRequests" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSpotInstanceRequestsRequest method. +// req, resp := client.DescribeSpotInstanceRequestsRequest(params) // -// // Example sending a request using the DescribeSpotInstanceRequestsRequest method. -// req, resp := client.DescribeSpotInstanceRequestsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotInstanceRequests func (c *EC2) DescribeSpotInstanceRequestsRequest(input *DescribeSpotInstanceRequestsInput) (req *request.Request, output *DescribeSpotInstanceRequestsOutput) { @@ -26834,15 +26479,14 @@ func (c *EC2) DescribeSpotInstanceRequestsWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSpotInstanceRequests operation. -// pageNum := 0 -// err := client.DescribeSpotInstanceRequestsPages(params, -// func(page *ec2.DescribeSpotInstanceRequestsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSpotInstanceRequests operation. +// pageNum := 0 +// err := client.DescribeSpotInstanceRequestsPages(params, +// func(page *ec2.DescribeSpotInstanceRequestsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeSpotInstanceRequestsPages(input *DescribeSpotInstanceRequestsInput, fn func(*DescribeSpotInstanceRequestsOutput, bool) bool) error { return c.DescribeSpotInstanceRequestsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -26894,14 +26538,13 @@ const opDescribeSpotPriceHistory = "DescribeSpotPriceHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSpotPriceHistoryRequest method. +// req, resp := client.DescribeSpotPriceHistoryRequest(params) // -// // Example sending a request using the DescribeSpotPriceHistoryRequest method. -// req, resp := client.DescribeSpotPriceHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSpotPriceHistory func (c *EC2) DescribeSpotPriceHistoryRequest(input *DescribeSpotPriceHistoryInput) (req *request.Request, output *DescribeSpotPriceHistoryOutput) { @@ -26973,15 +26616,14 @@ func (c *EC2) DescribeSpotPriceHistoryWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSpotPriceHistory operation. -// pageNum := 0 -// err := client.DescribeSpotPriceHistoryPages(params, -// func(page *ec2.DescribeSpotPriceHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSpotPriceHistory operation. +// pageNum := 0 +// err := client.DescribeSpotPriceHistoryPages(params, +// func(page *ec2.DescribeSpotPriceHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeSpotPriceHistoryPages(input *DescribeSpotPriceHistoryInput, fn func(*DescribeSpotPriceHistoryOutput, bool) bool) error { return c.DescribeSpotPriceHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -27033,14 +26675,13 @@ const opDescribeStaleSecurityGroups = "DescribeStaleSecurityGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStaleSecurityGroupsRequest method. +// req, resp := client.DescribeStaleSecurityGroupsRequest(params) // -// // Example sending a request using the DescribeStaleSecurityGroupsRequest method. -// req, resp := client.DescribeStaleSecurityGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStaleSecurityGroups func (c *EC2) DescribeStaleSecurityGroupsRequest(input *DescribeStaleSecurityGroupsInput) (req *request.Request, output *DescribeStaleSecurityGroupsOutput) { @@ -27108,15 +26749,14 @@ func (c *EC2) DescribeStaleSecurityGroupsWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeStaleSecurityGroups operation. -// pageNum := 0 -// err := client.DescribeStaleSecurityGroupsPages(params, -// func(page *ec2.DescribeStaleSecurityGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeStaleSecurityGroups operation. +// pageNum := 0 +// err := client.DescribeStaleSecurityGroupsPages(params, +// func(page *ec2.DescribeStaleSecurityGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeStaleSecurityGroupsPages(input *DescribeStaleSecurityGroupsInput, fn func(*DescribeStaleSecurityGroupsOutput, bool) bool) error { return c.DescribeStaleSecurityGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -27168,14 +26808,13 @@ const opDescribeStoreImageTasks = "DescribeStoreImageTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStoreImageTasksRequest method. +// req, resp := client.DescribeStoreImageTasksRequest(params) // -// // Example sending a request using the DescribeStoreImageTasksRequest method. -// req, resp := client.DescribeStoreImageTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeStoreImageTasks func (c *EC2) DescribeStoreImageTasksRequest(input *DescribeStoreImageTasksInput) (req *request.Request, output *DescribeStoreImageTasksOutput) { @@ -27256,15 +26895,14 @@ func (c *EC2) DescribeStoreImageTasksWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeStoreImageTasks operation. -// pageNum := 0 -// err := client.DescribeStoreImageTasksPages(params, -// func(page *ec2.DescribeStoreImageTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeStoreImageTasks operation. +// pageNum := 0 +// err := client.DescribeStoreImageTasksPages(params, +// func(page *ec2.DescribeStoreImageTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeStoreImageTasksPages(input *DescribeStoreImageTasksInput, fn func(*DescribeStoreImageTasksOutput, bool) bool) error { return c.DescribeStoreImageTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -27316,14 +26954,13 @@ const opDescribeSubnets = "DescribeSubnets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSubnetsRequest method. +// req, resp := client.DescribeSubnetsRequest(params) // -// // Example sending a request using the DescribeSubnetsRequest method. -// req, resp := client.DescribeSubnetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeSubnets func (c *EC2) DescribeSubnetsRequest(input *DescribeSubnetsInput) (req *request.Request, output *DescribeSubnetsOutput) { @@ -27391,15 +27028,14 @@ func (c *EC2) DescribeSubnetsWithContext(ctx aws.Context, input *DescribeSubnets // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSubnets operation. -// pageNum := 0 -// err := client.DescribeSubnetsPages(params, -// func(page *ec2.DescribeSubnetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSubnets operation. +// pageNum := 0 +// err := client.DescribeSubnetsPages(params, +// func(page *ec2.DescribeSubnetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeSubnetsPages(input *DescribeSubnetsInput, fn func(*DescribeSubnetsOutput, bool) bool) error { return c.DescribeSubnetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -27451,14 +27087,13 @@ const opDescribeTags = "DescribeTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTagsRequest method. +// req, resp := client.DescribeTagsRequest(params) // -// // Example sending a request using the DescribeTagsRequest method. -// req, resp := client.DescribeTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTags func (c *EC2) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { @@ -27526,15 +27161,14 @@ func (c *EC2) DescribeTagsWithContext(ctx aws.Context, input *DescribeTagsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTags operation. -// pageNum := 0 -// err := client.DescribeTagsPages(params, -// func(page *ec2.DescribeTagsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTags operation. +// pageNum := 0 +// err := client.DescribeTagsPages(params, +// func(page *ec2.DescribeTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeTagsPages(input *DescribeTagsInput, fn func(*DescribeTagsOutput, bool) bool) error { return c.DescribeTagsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -27586,14 +27220,13 @@ const opDescribeTrafficMirrorFilters = "DescribeTrafficMirrorFilters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTrafficMirrorFiltersRequest method. +// req, resp := client.DescribeTrafficMirrorFiltersRequest(params) // -// // Example sending a request using the DescribeTrafficMirrorFiltersRequest method. -// req, resp := client.DescribeTrafficMirrorFiltersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrafficMirrorFilters func (c *EC2) DescribeTrafficMirrorFiltersRequest(input *DescribeTrafficMirrorFiltersInput) (req *request.Request, output *DescribeTrafficMirrorFiltersOutput) { @@ -27658,15 +27291,14 @@ func (c *EC2) DescribeTrafficMirrorFiltersWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTrafficMirrorFilters operation. -// pageNum := 0 -// err := client.DescribeTrafficMirrorFiltersPages(params, -// func(page *ec2.DescribeTrafficMirrorFiltersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTrafficMirrorFilters operation. +// pageNum := 0 +// err := client.DescribeTrafficMirrorFiltersPages(params, +// func(page *ec2.DescribeTrafficMirrorFiltersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeTrafficMirrorFiltersPages(input *DescribeTrafficMirrorFiltersInput, fn func(*DescribeTrafficMirrorFiltersOutput, bool) bool) error { return c.DescribeTrafficMirrorFiltersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -27718,14 +27350,13 @@ const opDescribeTrafficMirrorSessions = "DescribeTrafficMirrorSessions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTrafficMirrorSessionsRequest method. +// req, resp := client.DescribeTrafficMirrorSessionsRequest(params) // -// // Example sending a request using the DescribeTrafficMirrorSessionsRequest method. -// req, resp := client.DescribeTrafficMirrorSessionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrafficMirrorSessions func (c *EC2) DescribeTrafficMirrorSessionsRequest(input *DescribeTrafficMirrorSessionsInput) (req *request.Request, output *DescribeTrafficMirrorSessionsOutput) { @@ -27791,15 +27422,14 @@ func (c *EC2) DescribeTrafficMirrorSessionsWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTrafficMirrorSessions operation. -// pageNum := 0 -// err := client.DescribeTrafficMirrorSessionsPages(params, -// func(page *ec2.DescribeTrafficMirrorSessionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTrafficMirrorSessions operation. +// pageNum := 0 +// err := client.DescribeTrafficMirrorSessionsPages(params, +// func(page *ec2.DescribeTrafficMirrorSessionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeTrafficMirrorSessionsPages(input *DescribeTrafficMirrorSessionsInput, fn func(*DescribeTrafficMirrorSessionsOutput, bool) bool) error { return c.DescribeTrafficMirrorSessionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -27851,14 +27481,13 @@ const opDescribeTrafficMirrorTargets = "DescribeTrafficMirrorTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTrafficMirrorTargetsRequest method. +// req, resp := client.DescribeTrafficMirrorTargetsRequest(params) // -// // Example sending a request using the DescribeTrafficMirrorTargetsRequest method. -// req, resp := client.DescribeTrafficMirrorTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrafficMirrorTargets func (c *EC2) DescribeTrafficMirrorTargetsRequest(input *DescribeTrafficMirrorTargetsInput) (req *request.Request, output *DescribeTrafficMirrorTargetsOutput) { @@ -27923,15 +27552,14 @@ func (c *EC2) DescribeTrafficMirrorTargetsWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTrafficMirrorTargets operation. -// pageNum := 0 -// err := client.DescribeTrafficMirrorTargetsPages(params, -// func(page *ec2.DescribeTrafficMirrorTargetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTrafficMirrorTargets operation. +// pageNum := 0 +// err := client.DescribeTrafficMirrorTargetsPages(params, +// func(page *ec2.DescribeTrafficMirrorTargetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeTrafficMirrorTargetsPages(input *DescribeTrafficMirrorTargetsInput, fn func(*DescribeTrafficMirrorTargetsOutput, bool) bool) error { return c.DescribeTrafficMirrorTargetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -27983,14 +27611,13 @@ const opDescribeTransitGatewayAttachments = "DescribeTransitGatewayAttachments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTransitGatewayAttachmentsRequest method. +// req, resp := client.DescribeTransitGatewayAttachmentsRequest(params) // -// // Example sending a request using the DescribeTransitGatewayAttachmentsRequest method. -// req, resp := client.DescribeTransitGatewayAttachmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayAttachments func (c *EC2) DescribeTransitGatewayAttachmentsRequest(input *DescribeTransitGatewayAttachmentsInput) (req *request.Request, output *DescribeTransitGatewayAttachmentsOutput) { @@ -28058,15 +27685,14 @@ func (c *EC2) DescribeTransitGatewayAttachmentsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTransitGatewayAttachments operation. -// pageNum := 0 -// err := client.DescribeTransitGatewayAttachmentsPages(params, -// func(page *ec2.DescribeTransitGatewayAttachmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTransitGatewayAttachments operation. +// pageNum := 0 +// err := client.DescribeTransitGatewayAttachmentsPages(params, +// func(page *ec2.DescribeTransitGatewayAttachmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeTransitGatewayAttachmentsPages(input *DescribeTransitGatewayAttachmentsInput, fn func(*DescribeTransitGatewayAttachmentsOutput, bool) bool) error { return c.DescribeTransitGatewayAttachmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -28118,14 +27744,13 @@ const opDescribeTransitGatewayConnectPeers = "DescribeTransitGatewayConnectPeers // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTransitGatewayConnectPeersRequest method. +// req, resp := client.DescribeTransitGatewayConnectPeersRequest(params) // -// // Example sending a request using the DescribeTransitGatewayConnectPeersRequest method. -// req, resp := client.DescribeTransitGatewayConnectPeersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayConnectPeers func (c *EC2) DescribeTransitGatewayConnectPeersRequest(input *DescribeTransitGatewayConnectPeersInput) (req *request.Request, output *DescribeTransitGatewayConnectPeersOutput) { @@ -28190,15 +27815,14 @@ func (c *EC2) DescribeTransitGatewayConnectPeersWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTransitGatewayConnectPeers operation. -// pageNum := 0 -// err := client.DescribeTransitGatewayConnectPeersPages(params, -// func(page *ec2.DescribeTransitGatewayConnectPeersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTransitGatewayConnectPeers operation. +// pageNum := 0 +// err := client.DescribeTransitGatewayConnectPeersPages(params, +// func(page *ec2.DescribeTransitGatewayConnectPeersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeTransitGatewayConnectPeersPages(input *DescribeTransitGatewayConnectPeersInput, fn func(*DescribeTransitGatewayConnectPeersOutput, bool) bool) error { return c.DescribeTransitGatewayConnectPeersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -28250,14 +27874,13 @@ const opDescribeTransitGatewayConnects = "DescribeTransitGatewayConnects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTransitGatewayConnectsRequest method. +// req, resp := client.DescribeTransitGatewayConnectsRequest(params) // -// // Example sending a request using the DescribeTransitGatewayConnectsRequest method. -// req, resp := client.DescribeTransitGatewayConnectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayConnects func (c *EC2) DescribeTransitGatewayConnectsRequest(input *DescribeTransitGatewayConnectsInput) (req *request.Request, output *DescribeTransitGatewayConnectsOutput) { @@ -28322,15 +27945,14 @@ func (c *EC2) DescribeTransitGatewayConnectsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTransitGatewayConnects operation. -// pageNum := 0 -// err := client.DescribeTransitGatewayConnectsPages(params, -// func(page *ec2.DescribeTransitGatewayConnectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTransitGatewayConnects operation. +// pageNum := 0 +// err := client.DescribeTransitGatewayConnectsPages(params, +// func(page *ec2.DescribeTransitGatewayConnectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeTransitGatewayConnectsPages(input *DescribeTransitGatewayConnectsInput, fn func(*DescribeTransitGatewayConnectsOutput, bool) bool) error { return c.DescribeTransitGatewayConnectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -28382,14 +28004,13 @@ const opDescribeTransitGatewayMulticastDomains = "DescribeTransitGatewayMulticas // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTransitGatewayMulticastDomainsRequest method. +// req, resp := client.DescribeTransitGatewayMulticastDomainsRequest(params) // -// // Example sending a request using the DescribeTransitGatewayMulticastDomainsRequest method. -// req, resp := client.DescribeTransitGatewayMulticastDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayMulticastDomains func (c *EC2) DescribeTransitGatewayMulticastDomainsRequest(input *DescribeTransitGatewayMulticastDomainsInput) (req *request.Request, output *DescribeTransitGatewayMulticastDomainsOutput) { @@ -28454,15 +28075,14 @@ func (c *EC2) DescribeTransitGatewayMulticastDomainsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTransitGatewayMulticastDomains operation. -// pageNum := 0 -// err := client.DescribeTransitGatewayMulticastDomainsPages(params, -// func(page *ec2.DescribeTransitGatewayMulticastDomainsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTransitGatewayMulticastDomains operation. +// pageNum := 0 +// err := client.DescribeTransitGatewayMulticastDomainsPages(params, +// func(page *ec2.DescribeTransitGatewayMulticastDomainsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeTransitGatewayMulticastDomainsPages(input *DescribeTransitGatewayMulticastDomainsInput, fn func(*DescribeTransitGatewayMulticastDomainsOutput, bool) bool) error { return c.DescribeTransitGatewayMulticastDomainsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -28514,14 +28134,13 @@ const opDescribeTransitGatewayPeeringAttachments = "DescribeTransitGatewayPeerin // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTransitGatewayPeeringAttachmentsRequest method. +// req, resp := client.DescribeTransitGatewayPeeringAttachmentsRequest(params) // -// // Example sending a request using the DescribeTransitGatewayPeeringAttachmentsRequest method. -// req, resp := client.DescribeTransitGatewayPeeringAttachmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayPeeringAttachments func (c *EC2) DescribeTransitGatewayPeeringAttachmentsRequest(input *DescribeTransitGatewayPeeringAttachmentsInput) (req *request.Request, output *DescribeTransitGatewayPeeringAttachmentsOutput) { @@ -28586,15 +28205,14 @@ func (c *EC2) DescribeTransitGatewayPeeringAttachmentsWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTransitGatewayPeeringAttachments operation. -// pageNum := 0 -// err := client.DescribeTransitGatewayPeeringAttachmentsPages(params, -// func(page *ec2.DescribeTransitGatewayPeeringAttachmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTransitGatewayPeeringAttachments operation. +// pageNum := 0 +// err := client.DescribeTransitGatewayPeeringAttachmentsPages(params, +// func(page *ec2.DescribeTransitGatewayPeeringAttachmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeTransitGatewayPeeringAttachmentsPages(input *DescribeTransitGatewayPeeringAttachmentsInput, fn func(*DescribeTransitGatewayPeeringAttachmentsOutput, bool) bool) error { return c.DescribeTransitGatewayPeeringAttachmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -28646,14 +28264,13 @@ const opDescribeTransitGatewayRouteTables = "DescribeTransitGatewayRouteTables" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTransitGatewayRouteTablesRequest method. +// req, resp := client.DescribeTransitGatewayRouteTablesRequest(params) // -// // Example sending a request using the DescribeTransitGatewayRouteTablesRequest method. -// req, resp := client.DescribeTransitGatewayRouteTablesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayRouteTables func (c *EC2) DescribeTransitGatewayRouteTablesRequest(input *DescribeTransitGatewayRouteTablesInput) (req *request.Request, output *DescribeTransitGatewayRouteTablesOutput) { @@ -28719,15 +28336,14 @@ func (c *EC2) DescribeTransitGatewayRouteTablesWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTransitGatewayRouteTables operation. -// pageNum := 0 -// err := client.DescribeTransitGatewayRouteTablesPages(params, -// func(page *ec2.DescribeTransitGatewayRouteTablesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTransitGatewayRouteTables operation. +// pageNum := 0 +// err := client.DescribeTransitGatewayRouteTablesPages(params, +// func(page *ec2.DescribeTransitGatewayRouteTablesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeTransitGatewayRouteTablesPages(input *DescribeTransitGatewayRouteTablesInput, fn func(*DescribeTransitGatewayRouteTablesOutput, bool) bool) error { return c.DescribeTransitGatewayRouteTablesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -28779,14 +28395,13 @@ const opDescribeTransitGatewayVpcAttachments = "DescribeTransitGatewayVpcAttachm // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTransitGatewayVpcAttachmentsRequest method. +// req, resp := client.DescribeTransitGatewayVpcAttachmentsRequest(params) // -// // Example sending a request using the DescribeTransitGatewayVpcAttachmentsRequest method. -// req, resp := client.DescribeTransitGatewayVpcAttachmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayVpcAttachments func (c *EC2) DescribeTransitGatewayVpcAttachmentsRequest(input *DescribeTransitGatewayVpcAttachmentsInput) (req *request.Request, output *DescribeTransitGatewayVpcAttachmentsOutput) { @@ -28852,15 +28467,14 @@ func (c *EC2) DescribeTransitGatewayVpcAttachmentsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTransitGatewayVpcAttachments operation. -// pageNum := 0 -// err := client.DescribeTransitGatewayVpcAttachmentsPages(params, -// func(page *ec2.DescribeTransitGatewayVpcAttachmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTransitGatewayVpcAttachments operation. +// pageNum := 0 +// err := client.DescribeTransitGatewayVpcAttachmentsPages(params, +// func(page *ec2.DescribeTransitGatewayVpcAttachmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeTransitGatewayVpcAttachmentsPages(input *DescribeTransitGatewayVpcAttachmentsInput, fn func(*DescribeTransitGatewayVpcAttachmentsOutput, bool) bool) error { return c.DescribeTransitGatewayVpcAttachmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -28912,14 +28526,13 @@ const opDescribeTransitGateways = "DescribeTransitGateways" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTransitGatewaysRequest method. +// req, resp := client.DescribeTransitGatewaysRequest(params) // -// // Example sending a request using the DescribeTransitGatewaysRequest method. -// req, resp := client.DescribeTransitGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGateways func (c *EC2) DescribeTransitGatewaysRequest(input *DescribeTransitGatewaysInput) (req *request.Request, output *DescribeTransitGatewaysOutput) { @@ -28985,15 +28598,14 @@ func (c *EC2) DescribeTransitGatewaysWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTransitGateways operation. -// pageNum := 0 -// err := client.DescribeTransitGatewaysPages(params, -// func(page *ec2.DescribeTransitGatewaysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTransitGateways operation. +// pageNum := 0 +// err := client.DescribeTransitGatewaysPages(params, +// func(page *ec2.DescribeTransitGatewaysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeTransitGatewaysPages(input *DescribeTransitGatewaysInput, fn func(*DescribeTransitGatewaysOutput, bool) bool) error { return c.DescribeTransitGatewaysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -29045,14 +28657,13 @@ const opDescribeTrunkInterfaceAssociations = "DescribeTrunkInterfaceAssociations // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTrunkInterfaceAssociationsRequest method. +// req, resp := client.DescribeTrunkInterfaceAssociationsRequest(params) // -// // Example sending a request using the DescribeTrunkInterfaceAssociationsRequest method. -// req, resp := client.DescribeTrunkInterfaceAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTrunkInterfaceAssociations func (c *EC2) DescribeTrunkInterfaceAssociationsRequest(input *DescribeTrunkInterfaceAssociationsInput) (req *request.Request, output *DescribeTrunkInterfaceAssociationsOutput) { @@ -29079,7 +28690,6 @@ func (c *EC2) DescribeTrunkInterfaceAssociationsRequest(input *DescribeTrunkInte // DescribeTrunkInterfaceAssociations API operation for Amazon Elastic Compute Cloud. // -// // This API action is currently in limited preview only. If you are interested // in using this feature, contact your account manager. // @@ -29121,15 +28731,14 @@ func (c *EC2) DescribeTrunkInterfaceAssociationsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTrunkInterfaceAssociations operation. -// pageNum := 0 -// err := client.DescribeTrunkInterfaceAssociationsPages(params, -// func(page *ec2.DescribeTrunkInterfaceAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTrunkInterfaceAssociations operation. +// pageNum := 0 +// err := client.DescribeTrunkInterfaceAssociationsPages(params, +// func(page *ec2.DescribeTrunkInterfaceAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeTrunkInterfaceAssociationsPages(input *DescribeTrunkInterfaceAssociationsInput, fn func(*DescribeTrunkInterfaceAssociationsOutput, bool) bool) error { return c.DescribeTrunkInterfaceAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -29181,14 +28790,13 @@ const opDescribeVolumeAttribute = "DescribeVolumeAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVolumeAttributeRequest method. +// req, resp := client.DescribeVolumeAttributeRequest(params) // -// // Example sending a request using the DescribeVolumeAttributeRequest method. -// req, resp := client.DescribeVolumeAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeAttribute func (c *EC2) DescribeVolumeAttributeRequest(input *DescribeVolumeAttributeInput) (req *request.Request, output *DescribeVolumeAttributeOutput) { @@ -29259,14 +28867,13 @@ const opDescribeVolumeStatus = "DescribeVolumeStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVolumeStatusRequest method. +// req, resp := client.DescribeVolumeStatusRequest(params) // -// // Example sending a request using the DescribeVolumeStatusRequest method. -// req, resp := client.DescribeVolumeStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumeStatus func (c *EC2) DescribeVolumeStatusRequest(input *DescribeVolumeStatusInput) (req *request.Request, output *DescribeVolumeStatusOutput) { @@ -29366,15 +28973,14 @@ func (c *EC2) DescribeVolumeStatusWithContext(ctx aws.Context, input *DescribeVo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeVolumeStatus operation. -// pageNum := 0 -// err := client.DescribeVolumeStatusPages(params, -// func(page *ec2.DescribeVolumeStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeVolumeStatus operation. +// pageNum := 0 +// err := client.DescribeVolumeStatusPages(params, +// func(page *ec2.DescribeVolumeStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeVolumeStatusPages(input *DescribeVolumeStatusInput, fn func(*DescribeVolumeStatusOutput, bool) bool) error { return c.DescribeVolumeStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -29426,14 +29032,13 @@ const opDescribeVolumes = "DescribeVolumes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVolumesRequest method. +// req, resp := client.DescribeVolumesRequest(params) // -// // Example sending a request using the DescribeVolumesRequest method. -// req, resp := client.DescribeVolumesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumes func (c *EC2) DescribeVolumesRequest(input *DescribeVolumesInput) (req *request.Request, output *DescribeVolumesOutput) { @@ -29508,15 +29113,14 @@ func (c *EC2) DescribeVolumesWithContext(ctx aws.Context, input *DescribeVolumes // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeVolumes operation. -// pageNum := 0 -// err := client.DescribeVolumesPages(params, -// func(page *ec2.DescribeVolumesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeVolumes operation. +// pageNum := 0 +// err := client.DescribeVolumesPages(params, +// func(page *ec2.DescribeVolumesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeVolumesPages(input *DescribeVolumesInput, fn func(*DescribeVolumesOutput, bool) bool) error { return c.DescribeVolumesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -29568,14 +29172,13 @@ const opDescribeVolumesModifications = "DescribeVolumesModifications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVolumesModificationsRequest method. +// req, resp := client.DescribeVolumesModificationsRequest(params) // -// // Example sending a request using the DescribeVolumesModificationsRequest method. -// req, resp := client.DescribeVolumesModificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVolumesModifications func (c *EC2) DescribeVolumesModificationsRequest(input *DescribeVolumesModificationsInput) (req *request.Request, output *DescribeVolumesModificationsOutput) { @@ -29651,15 +29254,14 @@ func (c *EC2) DescribeVolumesModificationsWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeVolumesModifications operation. -// pageNum := 0 -// err := client.DescribeVolumesModificationsPages(params, -// func(page *ec2.DescribeVolumesModificationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeVolumesModifications operation. +// pageNum := 0 +// err := client.DescribeVolumesModificationsPages(params, +// func(page *ec2.DescribeVolumesModificationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeVolumesModificationsPages(input *DescribeVolumesModificationsInput, fn func(*DescribeVolumesModificationsOutput, bool) bool) error { return c.DescribeVolumesModificationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -29711,14 +29313,13 @@ const opDescribeVpcAttribute = "DescribeVpcAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpcAttributeRequest method. +// req, resp := client.DescribeVpcAttributeRequest(params) // -// // Example sending a request using the DescribeVpcAttributeRequest method. -// req, resp := client.DescribeVpcAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcAttribute func (c *EC2) DescribeVpcAttributeRequest(input *DescribeVpcAttributeInput) (req *request.Request, output *DescribeVpcAttributeOutput) { @@ -29786,14 +29387,13 @@ const opDescribeVpcClassicLink = "DescribeVpcClassicLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpcClassicLinkRequest method. +// req, resp := client.DescribeVpcClassicLinkRequest(params) // -// // Example sending a request using the DescribeVpcClassicLinkRequest method. -// req, resp := client.DescribeVpcClassicLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLink func (c *EC2) DescribeVpcClassicLinkRequest(input *DescribeVpcClassicLinkInput) (req *request.Request, output *DescribeVpcClassicLinkOutput) { @@ -29860,14 +29460,13 @@ const opDescribeVpcClassicLinkDnsSupport = "DescribeVpcClassicLinkDnsSupport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpcClassicLinkDnsSupportRequest method. +// req, resp := client.DescribeVpcClassicLinkDnsSupportRequest(params) // -// // Example sending a request using the DescribeVpcClassicLinkDnsSupportRequest method. -// req, resp := client.DescribeVpcClassicLinkDnsSupportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcClassicLinkDnsSupport func (c *EC2) DescribeVpcClassicLinkDnsSupportRequest(input *DescribeVpcClassicLinkDnsSupportInput) (req *request.Request, output *DescribeVpcClassicLinkDnsSupportOutput) { @@ -29938,15 +29537,14 @@ func (c *EC2) DescribeVpcClassicLinkDnsSupportWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeVpcClassicLinkDnsSupport operation. -// pageNum := 0 -// err := client.DescribeVpcClassicLinkDnsSupportPages(params, -// func(page *ec2.DescribeVpcClassicLinkDnsSupportOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeVpcClassicLinkDnsSupport operation. +// pageNum := 0 +// err := client.DescribeVpcClassicLinkDnsSupportPages(params, +// func(page *ec2.DescribeVpcClassicLinkDnsSupportOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeVpcClassicLinkDnsSupportPages(input *DescribeVpcClassicLinkDnsSupportInput, fn func(*DescribeVpcClassicLinkDnsSupportOutput, bool) bool) error { return c.DescribeVpcClassicLinkDnsSupportPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -29998,14 +29596,13 @@ const opDescribeVpcEndpointConnectionNotifications = "DescribeVpcEndpointConnect // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpcEndpointConnectionNotificationsRequest method. +// req, resp := client.DescribeVpcEndpointConnectionNotificationsRequest(params) // -// // Example sending a request using the DescribeVpcEndpointConnectionNotificationsRequest method. -// req, resp := client.DescribeVpcEndpointConnectionNotificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnectionNotifications func (c *EC2) DescribeVpcEndpointConnectionNotificationsRequest(input *DescribeVpcEndpointConnectionNotificationsInput) (req *request.Request, output *DescribeVpcEndpointConnectionNotificationsOutput) { @@ -30071,15 +29668,14 @@ func (c *EC2) DescribeVpcEndpointConnectionNotificationsWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeVpcEndpointConnectionNotifications operation. -// pageNum := 0 -// err := client.DescribeVpcEndpointConnectionNotificationsPages(params, -// func(page *ec2.DescribeVpcEndpointConnectionNotificationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeVpcEndpointConnectionNotifications operation. +// pageNum := 0 +// err := client.DescribeVpcEndpointConnectionNotificationsPages(params, +// func(page *ec2.DescribeVpcEndpointConnectionNotificationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeVpcEndpointConnectionNotificationsPages(input *DescribeVpcEndpointConnectionNotificationsInput, fn func(*DescribeVpcEndpointConnectionNotificationsOutput, bool) bool) error { return c.DescribeVpcEndpointConnectionNotificationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -30131,14 +29727,13 @@ const opDescribeVpcEndpointConnections = "DescribeVpcEndpointConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpcEndpointConnectionsRequest method. +// req, resp := client.DescribeVpcEndpointConnectionsRequest(params) // -// // Example sending a request using the DescribeVpcEndpointConnectionsRequest method. -// req, resp := client.DescribeVpcEndpointConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointConnections func (c *EC2) DescribeVpcEndpointConnectionsRequest(input *DescribeVpcEndpointConnectionsInput) (req *request.Request, output *DescribeVpcEndpointConnectionsOutput) { @@ -30204,15 +29799,14 @@ func (c *EC2) DescribeVpcEndpointConnectionsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeVpcEndpointConnections operation. -// pageNum := 0 -// err := client.DescribeVpcEndpointConnectionsPages(params, -// func(page *ec2.DescribeVpcEndpointConnectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeVpcEndpointConnections operation. +// pageNum := 0 +// err := client.DescribeVpcEndpointConnectionsPages(params, +// func(page *ec2.DescribeVpcEndpointConnectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeVpcEndpointConnectionsPages(input *DescribeVpcEndpointConnectionsInput, fn func(*DescribeVpcEndpointConnectionsOutput, bool) bool) error { return c.DescribeVpcEndpointConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -30264,14 +29858,13 @@ const opDescribeVpcEndpointServiceConfigurations = "DescribeVpcEndpointServiceCo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpcEndpointServiceConfigurationsRequest method. +// req, resp := client.DescribeVpcEndpointServiceConfigurationsRequest(params) // -// // Example sending a request using the DescribeVpcEndpointServiceConfigurationsRequest method. -// req, resp := client.DescribeVpcEndpointServiceConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServiceConfigurations func (c *EC2) DescribeVpcEndpointServiceConfigurationsRequest(input *DescribeVpcEndpointServiceConfigurationsInput) (req *request.Request, output *DescribeVpcEndpointServiceConfigurationsOutput) { @@ -30336,15 +29929,14 @@ func (c *EC2) DescribeVpcEndpointServiceConfigurationsWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeVpcEndpointServiceConfigurations operation. -// pageNum := 0 -// err := client.DescribeVpcEndpointServiceConfigurationsPages(params, -// func(page *ec2.DescribeVpcEndpointServiceConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeVpcEndpointServiceConfigurations operation. +// pageNum := 0 +// err := client.DescribeVpcEndpointServiceConfigurationsPages(params, +// func(page *ec2.DescribeVpcEndpointServiceConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeVpcEndpointServiceConfigurationsPages(input *DescribeVpcEndpointServiceConfigurationsInput, fn func(*DescribeVpcEndpointServiceConfigurationsOutput, bool) bool) error { return c.DescribeVpcEndpointServiceConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -30396,14 +29988,13 @@ const opDescribeVpcEndpointServicePermissions = "DescribeVpcEndpointServicePermi // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpcEndpointServicePermissionsRequest method. +// req, resp := client.DescribeVpcEndpointServicePermissionsRequest(params) // -// // Example sending a request using the DescribeVpcEndpointServicePermissionsRequest method. -// req, resp := client.DescribeVpcEndpointServicePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServicePermissions func (c *EC2) DescribeVpcEndpointServicePermissionsRequest(input *DescribeVpcEndpointServicePermissionsInput) (req *request.Request, output *DescribeVpcEndpointServicePermissionsOutput) { @@ -30469,15 +30060,14 @@ func (c *EC2) DescribeVpcEndpointServicePermissionsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeVpcEndpointServicePermissions operation. -// pageNum := 0 -// err := client.DescribeVpcEndpointServicePermissionsPages(params, -// func(page *ec2.DescribeVpcEndpointServicePermissionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeVpcEndpointServicePermissions operation. +// pageNum := 0 +// err := client.DescribeVpcEndpointServicePermissionsPages(params, +// func(page *ec2.DescribeVpcEndpointServicePermissionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeVpcEndpointServicePermissionsPages(input *DescribeVpcEndpointServicePermissionsInput, fn func(*DescribeVpcEndpointServicePermissionsOutput, bool) bool) error { return c.DescribeVpcEndpointServicePermissionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -30529,14 +30119,13 @@ const opDescribeVpcEndpointServices = "DescribeVpcEndpointServices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpcEndpointServicesRequest method. +// req, resp := client.DescribeVpcEndpointServicesRequest(params) // -// // Example sending a request using the DescribeVpcEndpointServicesRequest method. -// req, resp := client.DescribeVpcEndpointServicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpointServices func (c *EC2) DescribeVpcEndpointServicesRequest(input *DescribeVpcEndpointServicesInput) (req *request.Request, output *DescribeVpcEndpointServicesOutput) { @@ -30610,14 +30199,13 @@ const opDescribeVpcEndpoints = "DescribeVpcEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpcEndpointsRequest method. +// req, resp := client.DescribeVpcEndpointsRequest(params) // -// // Example sending a request using the DescribeVpcEndpointsRequest method. -// req, resp := client.DescribeVpcEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcEndpoints func (c *EC2) DescribeVpcEndpointsRequest(input *DescribeVpcEndpointsInput) (req *request.Request, output *DescribeVpcEndpointsOutput) { @@ -30682,15 +30270,14 @@ func (c *EC2) DescribeVpcEndpointsWithContext(ctx aws.Context, input *DescribeVp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeVpcEndpoints operation. -// pageNum := 0 -// err := client.DescribeVpcEndpointsPages(params, -// func(page *ec2.DescribeVpcEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeVpcEndpoints operation. +// pageNum := 0 +// err := client.DescribeVpcEndpointsPages(params, +// func(page *ec2.DescribeVpcEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeVpcEndpointsPages(input *DescribeVpcEndpointsInput, fn func(*DescribeVpcEndpointsOutput, bool) bool) error { return c.DescribeVpcEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -30742,14 +30329,13 @@ const opDescribeVpcPeeringConnections = "DescribeVpcPeeringConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpcPeeringConnectionsRequest method. +// req, resp := client.DescribeVpcPeeringConnectionsRequest(params) // -// // Example sending a request using the DescribeVpcPeeringConnectionsRequest method. -// req, resp := client.DescribeVpcPeeringConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcPeeringConnections func (c *EC2) DescribeVpcPeeringConnectionsRequest(input *DescribeVpcPeeringConnectionsInput) (req *request.Request, output *DescribeVpcPeeringConnectionsOutput) { @@ -30814,15 +30400,14 @@ func (c *EC2) DescribeVpcPeeringConnectionsWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeVpcPeeringConnections operation. -// pageNum := 0 -// err := client.DescribeVpcPeeringConnectionsPages(params, -// func(page *ec2.DescribeVpcPeeringConnectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeVpcPeeringConnections operation. +// pageNum := 0 +// err := client.DescribeVpcPeeringConnectionsPages(params, +// func(page *ec2.DescribeVpcPeeringConnectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeVpcPeeringConnectionsPages(input *DescribeVpcPeeringConnectionsInput, fn func(*DescribeVpcPeeringConnectionsOutput, bool) bool) error { return c.DescribeVpcPeeringConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -30874,14 +30459,13 @@ const opDescribeVpcs = "DescribeVpcs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpcsRequest method. +// req, resp := client.DescribeVpcsRequest(params) // -// // Example sending a request using the DescribeVpcsRequest method. -// req, resp := client.DescribeVpcsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpcs func (c *EC2) DescribeVpcsRequest(input *DescribeVpcsInput) (req *request.Request, output *DescribeVpcsOutput) { @@ -30946,15 +30530,14 @@ func (c *EC2) DescribeVpcsWithContext(ctx aws.Context, input *DescribeVpcsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeVpcs operation. -// pageNum := 0 -// err := client.DescribeVpcsPages(params, -// func(page *ec2.DescribeVpcsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeVpcs operation. +// pageNum := 0 +// err := client.DescribeVpcsPages(params, +// func(page *ec2.DescribeVpcsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) DescribeVpcsPages(input *DescribeVpcsInput, fn func(*DescribeVpcsOutput, bool) bool) error { return c.DescribeVpcsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -31006,14 +30589,13 @@ const opDescribeVpnConnections = "DescribeVpnConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpnConnectionsRequest method. +// req, resp := client.DescribeVpnConnectionsRequest(params) // -// // Example sending a request using the DescribeVpnConnectionsRequest method. -// req, resp := client.DescribeVpnConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnConnections func (c *EC2) DescribeVpnConnectionsRequest(input *DescribeVpnConnectionsInput) (req *request.Request, output *DescribeVpnConnectionsOutput) { @@ -31083,14 +30665,13 @@ const opDescribeVpnGateways = "DescribeVpnGateways" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpnGatewaysRequest method. +// req, resp := client.DescribeVpnGatewaysRequest(params) // -// // Example sending a request using the DescribeVpnGatewaysRequest method. -// req, resp := client.DescribeVpnGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVpnGateways func (c *EC2) DescribeVpnGatewaysRequest(input *DescribeVpnGatewaysInput) (req *request.Request, output *DescribeVpnGatewaysOutput) { @@ -31160,14 +30741,13 @@ const opDetachClassicLinkVpc = "DetachClassicLinkVpc" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachClassicLinkVpcRequest method. +// req, resp := client.DetachClassicLinkVpcRequest(params) // -// // Example sending a request using the DetachClassicLinkVpcRequest method. -// req, resp := client.DetachClassicLinkVpcRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachClassicLinkVpc func (c *EC2) DetachClassicLinkVpcRequest(input *DetachClassicLinkVpcInput) (req *request.Request, output *DetachClassicLinkVpcOutput) { @@ -31236,14 +30816,13 @@ const opDetachInternetGateway = "DetachInternetGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachInternetGatewayRequest method. +// req, resp := client.DetachInternetGatewayRequest(params) // -// // Example sending a request using the DetachInternetGatewayRequest method. -// req, resp := client.DetachInternetGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachInternetGateway func (c *EC2) DetachInternetGatewayRequest(input *DetachInternetGatewayInput) (req *request.Request, output *DetachInternetGatewayOutput) { @@ -31313,14 +30892,13 @@ const opDetachNetworkInterface = "DetachNetworkInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachNetworkInterfaceRequest method. +// req, resp := client.DetachNetworkInterfaceRequest(params) // -// // Example sending a request using the DetachNetworkInterfaceRequest method. -// req, resp := client.DetachNetworkInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachNetworkInterface func (c *EC2) DetachNetworkInterfaceRequest(input *DetachNetworkInterfaceInput) (req *request.Request, output *DetachNetworkInterfaceOutput) { @@ -31388,14 +30966,13 @@ const opDetachVolume = "DetachVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachVolumeRequest method. +// req, resp := client.DetachVolumeRequest(params) // -// // Example sending a request using the DetachVolumeRequest method. -// req, resp := client.DetachVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVolume func (c *EC2) DetachVolumeRequest(input *DetachVolumeInput) (req *request.Request, output *VolumeAttachment) { @@ -31475,14 +31052,13 @@ const opDetachVpnGateway = "DetachVpnGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachVpnGatewayRequest method. +// req, resp := client.DetachVpnGatewayRequest(params) // -// // Example sending a request using the DetachVpnGatewayRequest method. -// req, resp := client.DetachVpnGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachVpnGateway func (c *EC2) DetachVpnGatewayRequest(input *DetachVpnGatewayInput) (req *request.Request, output *DetachVpnGatewayOutput) { @@ -31557,14 +31133,13 @@ const opDisableEbsEncryptionByDefault = "DisableEbsEncryptionByDefault" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableEbsEncryptionByDefaultRequest method. +// req, resp := client.DisableEbsEncryptionByDefaultRequest(params) // -// // Example sending a request using the DisableEbsEncryptionByDefaultRequest method. -// req, resp := client.DisableEbsEncryptionByDefaultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableEbsEncryptionByDefault func (c *EC2) DisableEbsEncryptionByDefaultRequest(input *DisableEbsEncryptionByDefaultInput) (req *request.Request, output *DisableEbsEncryptionByDefaultOutput) { @@ -31640,14 +31215,13 @@ const opDisableFastLaunch = "DisableFastLaunch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableFastLaunchRequest method. +// req, resp := client.DisableFastLaunchRequest(params) // -// // Example sending a request using the DisableFastLaunchRequest method. -// req, resp := client.DisableFastLaunchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableFastLaunch func (c *EC2) DisableFastLaunchRequest(input *DisableFastLaunchInput) (req *request.Request, output *DisableFastLaunchOutput) { @@ -31719,14 +31293,13 @@ const opDisableFastSnapshotRestores = "DisableFastSnapshotRestores" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableFastSnapshotRestoresRequest method. +// req, resp := client.DisableFastSnapshotRestoresRequest(params) // -// // Example sending a request using the DisableFastSnapshotRestoresRequest method. -// req, resp := client.DisableFastSnapshotRestoresRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableFastSnapshotRestores func (c *EC2) DisableFastSnapshotRestoresRequest(input *DisableFastSnapshotRestoresInput) (req *request.Request, output *DisableFastSnapshotRestoresOutput) { @@ -31794,14 +31367,13 @@ const opDisableImageDeprecation = "DisableImageDeprecation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableImageDeprecationRequest method. +// req, resp := client.DisableImageDeprecationRequest(params) // -// // Example sending a request using the DisableImageDeprecationRequest method. -// req, resp := client.DisableImageDeprecationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableImageDeprecation func (c *EC2) DisableImageDeprecationRequest(input *DisableImageDeprecationInput) (req *request.Request, output *DisableImageDeprecationOutput) { @@ -31871,14 +31443,13 @@ const opDisableIpamOrganizationAdminAccount = "DisableIpamOrganizationAdminAccou // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableIpamOrganizationAdminAccountRequest method. +// req, resp := client.DisableIpamOrganizationAdminAccountRequest(params) // -// // Example sending a request using the DisableIpamOrganizationAdminAccountRequest method. -// req, resp := client.DisableIpamOrganizationAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableIpamOrganizationAdminAccount func (c *EC2) DisableIpamOrganizationAdminAccountRequest(input *DisableIpamOrganizationAdminAccountInput) (req *request.Request, output *DisableIpamOrganizationAdminAccountOutput) { @@ -31947,14 +31518,13 @@ const opDisableSerialConsoleAccess = "DisableSerialConsoleAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableSerialConsoleAccessRequest method. +// req, resp := client.DisableSerialConsoleAccessRequest(params) // -// // Example sending a request using the DisableSerialConsoleAccessRequest method. -// req, resp := client.DisableSerialConsoleAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableSerialConsoleAccess func (c *EC2) DisableSerialConsoleAccessRequest(input *DisableSerialConsoleAccessInput) (req *request.Request, output *DisableSerialConsoleAccessOutput) { @@ -32025,14 +31595,13 @@ const opDisableTransitGatewayRouteTablePropagation = "DisableTransitGatewayRoute // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableTransitGatewayRouteTablePropagationRequest method. +// req, resp := client.DisableTransitGatewayRouteTablePropagationRequest(params) // -// // Example sending a request using the DisableTransitGatewayRouteTablePropagationRequest method. -// req, resp := client.DisableTransitGatewayRouteTablePropagationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableTransitGatewayRouteTablePropagation func (c *EC2) DisableTransitGatewayRouteTablePropagationRequest(input *DisableTransitGatewayRouteTablePropagationInput) (req *request.Request, output *DisableTransitGatewayRouteTablePropagationOutput) { @@ -32100,14 +31669,13 @@ const opDisableVgwRoutePropagation = "DisableVgwRoutePropagation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableVgwRoutePropagationRequest method. +// req, resp := client.DisableVgwRoutePropagationRequest(params) // -// // Example sending a request using the DisableVgwRoutePropagationRequest method. -// req, resp := client.DisableVgwRoutePropagationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVgwRoutePropagation func (c *EC2) DisableVgwRoutePropagationRequest(input *DisableVgwRoutePropagationInput) (req *request.Request, output *DisableVgwRoutePropagationOutput) { @@ -32176,14 +31744,13 @@ const opDisableVpcClassicLink = "DisableVpcClassicLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableVpcClassicLinkRequest method. +// req, resp := client.DisableVpcClassicLinkRequest(params) // -// // Example sending a request using the DisableVpcClassicLinkRequest method. -// req, resp := client.DisableVpcClassicLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLink func (c *EC2) DisableVpcClassicLinkRequest(input *DisableVpcClassicLinkInput) (req *request.Request, output *DisableVpcClassicLinkOutput) { @@ -32251,14 +31818,13 @@ const opDisableVpcClassicLinkDnsSupport = "DisableVpcClassicLinkDnsSupport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableVpcClassicLinkDnsSupportRequest method. +// req, resp := client.DisableVpcClassicLinkDnsSupportRequest(params) // -// // Example sending a request using the DisableVpcClassicLinkDnsSupportRequest method. -// req, resp := client.DisableVpcClassicLinkDnsSupportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableVpcClassicLinkDnsSupport func (c *EC2) DisableVpcClassicLinkDnsSupportRequest(input *DisableVpcClassicLinkDnsSupportInput) (req *request.Request, output *DisableVpcClassicLinkDnsSupportOutput) { @@ -32331,14 +31897,13 @@ const opDisassociateAddress = "DisassociateAddress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateAddressRequest method. +// req, resp := client.DisassociateAddressRequest(params) // -// // Example sending a request using the DisassociateAddressRequest method. -// req, resp := client.DisassociateAddressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateAddress func (c *EC2) DisassociateAddressRequest(input *DisassociateAddressInput) (req *request.Request, output *DisassociateAddressOutput) { @@ -32414,14 +31979,13 @@ const opDisassociateClientVpnTargetNetwork = "DisassociateClientVpnTargetNetwork // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateClientVpnTargetNetworkRequest method. +// req, resp := client.DisassociateClientVpnTargetNetworkRequest(params) // -// // Example sending a request using the DisassociateClientVpnTargetNetworkRequest method. -// req, resp := client.DisassociateClientVpnTargetNetworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateClientVpnTargetNetwork func (c *EC2) DisassociateClientVpnTargetNetworkRequest(input *DisassociateClientVpnTargetNetworkInput) (req *request.Request, output *DisassociateClientVpnTargetNetworkOutput) { @@ -32446,13 +32010,13 @@ func (c *EC2) DisassociateClientVpnTargetNetworkRequest(input *DisassociateClien // you disassociate the last target network from a Client VPN, the following // happens: // -// * The route that was automatically added for the VPC is deleted +// - The route that was automatically added for the VPC is deleted // -// * All active client connections are terminated +// - All active client connections are terminated // -// * New client connections are disallowed +// - New client connections are disallowed // -// * The Client VPN endpoint's status changes to pending-associate +// - The Client VPN endpoint's status changes to pending-associate // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -32498,14 +32062,13 @@ const opDisassociateEnclaveCertificateIamRole = "DisassociateEnclaveCertificateI // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateEnclaveCertificateIamRoleRequest method. +// req, resp := client.DisassociateEnclaveCertificateIamRoleRequest(params) // -// // Example sending a request using the DisassociateEnclaveCertificateIamRoleRequest method. -// req, resp := client.DisassociateEnclaveCertificateIamRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateEnclaveCertificateIamRole func (c *EC2) DisassociateEnclaveCertificateIamRoleRequest(input *DisassociateEnclaveCertificateIamRoleInput) (req *request.Request, output *DisassociateEnclaveCertificateIamRoleOutput) { @@ -32577,14 +32140,13 @@ const opDisassociateIamInstanceProfile = "DisassociateIamInstanceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateIamInstanceProfileRequest method. +// req, resp := client.DisassociateIamInstanceProfileRequest(params) // -// // Example sending a request using the DisassociateIamInstanceProfileRequest method. -// req, resp := client.DisassociateIamInstanceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateIamInstanceProfile func (c *EC2) DisassociateIamInstanceProfileRequest(input *DisassociateIamInstanceProfileInput) (req *request.Request, output *DisassociateIamInstanceProfileOutput) { @@ -32653,14 +32215,13 @@ const opDisassociateInstanceEventWindow = "DisassociateInstanceEventWindow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateInstanceEventWindowRequest method. +// req, resp := client.DisassociateInstanceEventWindowRequest(params) // -// // Example sending a request using the DisassociateInstanceEventWindowRequest method. -// req, resp := client.DisassociateInstanceEventWindowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateInstanceEventWindow func (c *EC2) DisassociateInstanceEventWindowRequest(input *DisassociateInstanceEventWindowInput) (req *request.Request, output *DisassociateInstanceEventWindowOutput) { @@ -32730,14 +32291,13 @@ const opDisassociateRouteTable = "DisassociateRouteTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateRouteTableRequest method. +// req, resp := client.DisassociateRouteTableRequest(params) // -// // Example sending a request using the DisassociateRouteTableRequest method. -// req, resp := client.DisassociateRouteTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateRouteTable func (c *EC2) DisassociateRouteTableRequest(input *DisassociateRouteTableInput) (req *request.Request, output *DisassociateRouteTableOutput) { @@ -32810,14 +32370,13 @@ const opDisassociateSubnetCidrBlock = "DisassociateSubnetCidrBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateSubnetCidrBlockRequest method. +// req, resp := client.DisassociateSubnetCidrBlockRequest(params) // -// // Example sending a request using the DisassociateSubnetCidrBlockRequest method. -// req, resp := client.DisassociateSubnetCidrBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateSubnetCidrBlock func (c *EC2) DisassociateSubnetCidrBlockRequest(input *DisassociateSubnetCidrBlockInput) (req *request.Request, output *DisassociateSubnetCidrBlockOutput) { @@ -32886,14 +32445,13 @@ const opDisassociateTransitGatewayMulticastDomain = "DisassociateTransitGatewayM // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateTransitGatewayMulticastDomainRequest method. +// req, resp := client.DisassociateTransitGatewayMulticastDomainRequest(params) // -// // Example sending a request using the DisassociateTransitGatewayMulticastDomainRequest method. -// req, resp := client.DisassociateTransitGatewayMulticastDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateTransitGatewayMulticastDomain func (c *EC2) DisassociateTransitGatewayMulticastDomainRequest(input *DisassociateTransitGatewayMulticastDomainInput) (req *request.Request, output *DisassociateTransitGatewayMulticastDomainOutput) { @@ -32960,14 +32518,13 @@ const opDisassociateTransitGatewayRouteTable = "DisassociateTransitGatewayRouteT // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateTransitGatewayRouteTableRequest method. +// req, resp := client.DisassociateTransitGatewayRouteTableRequest(params) // -// // Example sending a request using the DisassociateTransitGatewayRouteTableRequest method. -// req, resp := client.DisassociateTransitGatewayRouteTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateTransitGatewayRouteTable func (c *EC2) DisassociateTransitGatewayRouteTableRequest(input *DisassociateTransitGatewayRouteTableInput) (req *request.Request, output *DisassociateTransitGatewayRouteTableOutput) { @@ -33034,14 +32591,13 @@ const opDisassociateTrunkInterface = "DisassociateTrunkInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateTrunkInterfaceRequest method. +// req, resp := client.DisassociateTrunkInterfaceRequest(params) // -// // Example sending a request using the DisassociateTrunkInterfaceRequest method. -// req, resp := client.DisassociateTrunkInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateTrunkInterface func (c *EC2) DisassociateTrunkInterfaceRequest(input *DisassociateTrunkInterfaceInput) (req *request.Request, output *DisassociateTrunkInterfaceOutput) { @@ -33062,7 +32618,6 @@ func (c *EC2) DisassociateTrunkInterfaceRequest(input *DisassociateTrunkInterfac // DisassociateTrunkInterface API operation for Amazon Elastic Compute Cloud. // -// // This API action is currently in limited preview only. If you are interested // in using this feature, contact your account manager. // @@ -33113,14 +32668,13 @@ const opDisassociateVpcCidrBlock = "DisassociateVpcCidrBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateVpcCidrBlockRequest method. +// req, resp := client.DisassociateVpcCidrBlockRequest(params) // -// // Example sending a request using the DisassociateVpcCidrBlockRequest method. -// req, resp := client.DisassociateVpcCidrBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisassociateVpcCidrBlock func (c *EC2) DisassociateVpcCidrBlockRequest(input *DisassociateVpcCidrBlockInput) (req *request.Request, output *DisassociateVpcCidrBlockOutput) { @@ -33193,14 +32747,13 @@ const opEnableEbsEncryptionByDefault = "EnableEbsEncryptionByDefault" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableEbsEncryptionByDefaultRequest method. +// req, resp := client.EnableEbsEncryptionByDefaultRequest(params) // -// // Example sending a request using the EnableEbsEncryptionByDefaultRequest method. -// req, resp := client.EnableEbsEncryptionByDefaultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableEbsEncryptionByDefault func (c *EC2) EnableEbsEncryptionByDefaultRequest(input *EnableEbsEncryptionByDefaultInput) (req *request.Request, output *EnableEbsEncryptionByDefaultOutput) { @@ -33283,14 +32836,13 @@ const opEnableFastLaunch = "EnableFastLaunch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableFastLaunchRequest method. +// req, resp := client.EnableFastLaunchRequest(params) // -// // Example sending a request using the EnableFastLaunchRequest method. -// req, resp := client.EnableFastLaunchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableFastLaunch func (c *EC2) EnableFastLaunchRequest(input *EnableFastLaunchInput) (req *request.Request, output *EnableFastLaunchOutput) { @@ -33364,14 +32916,13 @@ const opEnableFastSnapshotRestores = "EnableFastSnapshotRestores" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableFastSnapshotRestoresRequest method. +// req, resp := client.EnableFastSnapshotRestoresRequest(params) // -// // Example sending a request using the EnableFastSnapshotRestoresRequest method. -// req, resp := client.EnableFastSnapshotRestoresRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableFastSnapshotRestores func (c *EC2) EnableFastSnapshotRestoresRequest(input *EnableFastSnapshotRestoresInput) (req *request.Request, output *EnableFastSnapshotRestoresOutput) { @@ -33446,14 +32997,13 @@ const opEnableImageDeprecation = "EnableImageDeprecation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableImageDeprecationRequest method. +// req, resp := client.EnableImageDeprecationRequest(params) // -// // Example sending a request using the EnableImageDeprecationRequest method. -// req, resp := client.EnableImageDeprecationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableImageDeprecation func (c *EC2) EnableImageDeprecationRequest(input *EnableImageDeprecationInput) (req *request.Request, output *EnableImageDeprecationOutput) { @@ -33523,14 +33073,13 @@ const opEnableIpamOrganizationAdminAccount = "EnableIpamOrganizationAdminAccount // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableIpamOrganizationAdminAccountRequest method. +// req, resp := client.EnableIpamOrganizationAdminAccountRequest(params) // -// // Example sending a request using the EnableIpamOrganizationAdminAccountRequest method. -// req, resp := client.EnableIpamOrganizationAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableIpamOrganizationAdminAccount func (c *EC2) EnableIpamOrganizationAdminAccountRequest(input *EnableIpamOrganizationAdminAccountInput) (req *request.Request, output *EnableIpamOrganizationAdminAccountOutput) { @@ -33600,14 +33149,13 @@ const opEnableSerialConsoleAccess = "EnableSerialConsoleAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableSerialConsoleAccessRequest method. +// req, resp := client.EnableSerialConsoleAccessRequest(params) // -// // Example sending a request using the EnableSerialConsoleAccessRequest method. -// req, resp := client.EnableSerialConsoleAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableSerialConsoleAccess func (c *EC2) EnableSerialConsoleAccessRequest(input *EnableSerialConsoleAccessInput) (req *request.Request, output *EnableSerialConsoleAccessOutput) { @@ -33678,14 +33226,13 @@ const opEnableTransitGatewayRouteTablePropagation = "EnableTransitGatewayRouteTa // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableTransitGatewayRouteTablePropagationRequest method. +// req, resp := client.EnableTransitGatewayRouteTablePropagationRequest(params) // -// // Example sending a request using the EnableTransitGatewayRouteTablePropagationRequest method. -// req, resp := client.EnableTransitGatewayRouteTablePropagationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableTransitGatewayRouteTablePropagation func (c *EC2) EnableTransitGatewayRouteTablePropagationRequest(input *EnableTransitGatewayRouteTablePropagationInput) (req *request.Request, output *EnableTransitGatewayRouteTablePropagationOutput) { @@ -33753,14 +33300,13 @@ const opEnableVgwRoutePropagation = "EnableVgwRoutePropagation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableVgwRoutePropagationRequest method. +// req, resp := client.EnableVgwRoutePropagationRequest(params) // -// // Example sending a request using the EnableVgwRoutePropagationRequest method. -// req, resp := client.EnableVgwRoutePropagationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVgwRoutePropagation func (c *EC2) EnableVgwRoutePropagationRequest(input *EnableVgwRoutePropagationInput) (req *request.Request, output *EnableVgwRoutePropagationOutput) { @@ -33829,14 +33375,13 @@ const opEnableVolumeIO = "EnableVolumeIO" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableVolumeIORequest method. +// req, resp := client.EnableVolumeIORequest(params) // -// // Example sending a request using the EnableVolumeIORequest method. -// req, resp := client.EnableVolumeIORequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVolumeIO func (c *EC2) EnableVolumeIORequest(input *EnableVolumeIOInput) (req *request.Request, output *EnableVolumeIOOutput) { @@ -33905,14 +33450,13 @@ const opEnableVpcClassicLink = "EnableVpcClassicLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableVpcClassicLinkRequest method. +// req, resp := client.EnableVpcClassicLinkRequest(params) // -// // Example sending a request using the EnableVpcClassicLinkRequest method. -// req, resp := client.EnableVpcClassicLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLink func (c *EC2) EnableVpcClassicLinkRequest(input *EnableVpcClassicLinkInput) (req *request.Request, output *EnableVpcClassicLinkOutput) { @@ -33985,14 +33529,13 @@ const opEnableVpcClassicLinkDnsSupport = "EnableVpcClassicLinkDnsSupport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableVpcClassicLinkDnsSupportRequest method. +// req, resp := client.EnableVpcClassicLinkDnsSupportRequest(params) // -// // Example sending a request using the EnableVpcClassicLinkDnsSupportRequest method. -// req, resp := client.EnableVpcClassicLinkDnsSupportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableVpcClassicLinkDnsSupport func (c *EC2) EnableVpcClassicLinkDnsSupportRequest(input *EnableVpcClassicLinkDnsSupportInput) (req *request.Request, output *EnableVpcClassicLinkDnsSupportOutput) { @@ -34067,14 +33610,13 @@ const opExportClientVpnClientCertificateRevocationList = "ExportClientVpnClientC // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportClientVpnClientCertificateRevocationListRequest method. +// req, resp := client.ExportClientVpnClientCertificateRevocationListRequest(params) // -// // Example sending a request using the ExportClientVpnClientCertificateRevocationListRequest method. -// req, resp := client.ExportClientVpnClientCertificateRevocationListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportClientVpnClientCertificateRevocationList func (c *EC2) ExportClientVpnClientCertificateRevocationListRequest(input *ExportClientVpnClientCertificateRevocationListInput) (req *request.Request, output *ExportClientVpnClientCertificateRevocationListOutput) { @@ -34142,14 +33684,13 @@ const opExportClientVpnClientConfiguration = "ExportClientVpnClientConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportClientVpnClientConfigurationRequest method. +// req, resp := client.ExportClientVpnClientConfigurationRequest(params) // -// // Example sending a request using the ExportClientVpnClientConfigurationRequest method. -// req, resp := client.ExportClientVpnClientConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportClientVpnClientConfiguration func (c *EC2) ExportClientVpnClientConfigurationRequest(input *ExportClientVpnClientConfigurationInput) (req *request.Request, output *ExportClientVpnClientConfigurationOutput) { @@ -34219,14 +33760,13 @@ const opExportImage = "ExportImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportImageRequest method. +// req, resp := client.ExportImageRequest(params) // -// // Example sending a request using the ExportImageRequest method. -// req, resp := client.ExportImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportImage func (c *EC2) ExportImageRequest(input *ExportImageInput) (req *request.Request, output *ExportImageOutput) { @@ -34295,14 +33835,13 @@ const opExportTransitGatewayRoutes = "ExportTransitGatewayRoutes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportTransitGatewayRoutesRequest method. +// req, resp := client.ExportTransitGatewayRoutesRequest(params) // -// // Example sending a request using the ExportTransitGatewayRoutesRequest method. -// req, resp := client.ExportTransitGatewayRoutesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ExportTransitGatewayRoutes func (c *EC2) ExportTransitGatewayRoutesRequest(input *ExportTransitGatewayRoutesInput) (req *request.Request, output *ExportTransitGatewayRoutesOutput) { @@ -34375,14 +33914,13 @@ const opGetAssociatedEnclaveCertificateIamRoles = "GetAssociatedEnclaveCertifica // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssociatedEnclaveCertificateIamRolesRequest method. +// req, resp := client.GetAssociatedEnclaveCertificateIamRolesRequest(params) // -// // Example sending a request using the GetAssociatedEnclaveCertificateIamRolesRequest method. -// req, resp := client.GetAssociatedEnclaveCertificateIamRolesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetAssociatedEnclaveCertificateIamRoles func (c *EC2) GetAssociatedEnclaveCertificateIamRolesRequest(input *GetAssociatedEnclaveCertificateIamRolesInput) (req *request.Request, output *GetAssociatedEnclaveCertificateIamRolesOutput) { @@ -34453,14 +33991,13 @@ const opGetAssociatedIpv6PoolCidrs = "GetAssociatedIpv6PoolCidrs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssociatedIpv6PoolCidrsRequest method. +// req, resp := client.GetAssociatedIpv6PoolCidrsRequest(params) // -// // Example sending a request using the GetAssociatedIpv6PoolCidrsRequest method. -// req, resp := client.GetAssociatedIpv6PoolCidrsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetAssociatedIpv6PoolCidrs func (c *EC2) GetAssociatedIpv6PoolCidrsRequest(input *GetAssociatedIpv6PoolCidrsInput) (req *request.Request, output *GetAssociatedIpv6PoolCidrsOutput) { @@ -34526,15 +34063,14 @@ func (c *EC2) GetAssociatedIpv6PoolCidrsWithContext(ctx aws.Context, input *GetA // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetAssociatedIpv6PoolCidrs operation. -// pageNum := 0 -// err := client.GetAssociatedIpv6PoolCidrsPages(params, -// func(page *ec2.GetAssociatedIpv6PoolCidrsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetAssociatedIpv6PoolCidrs operation. +// pageNum := 0 +// err := client.GetAssociatedIpv6PoolCidrsPages(params, +// func(page *ec2.GetAssociatedIpv6PoolCidrsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetAssociatedIpv6PoolCidrsPages(input *GetAssociatedIpv6PoolCidrsInput, fn func(*GetAssociatedIpv6PoolCidrsOutput, bool) bool) error { return c.GetAssociatedIpv6PoolCidrsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -34586,14 +34122,13 @@ const opGetCapacityReservationUsage = "GetCapacityReservationUsage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCapacityReservationUsageRequest method. +// req, resp := client.GetCapacityReservationUsageRequest(params) // -// // Example sending a request using the GetCapacityReservationUsageRequest method. -// req, resp := client.GetCapacityReservationUsageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCapacityReservationUsage func (c *EC2) GetCapacityReservationUsageRequest(input *GetCapacityReservationUsageInput) (req *request.Request, output *GetCapacityReservationUsageOutput) { @@ -34664,14 +34199,13 @@ const opGetCoipPoolUsage = "GetCoipPoolUsage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCoipPoolUsageRequest method. +// req, resp := client.GetCoipPoolUsageRequest(params) // -// // Example sending a request using the GetCoipPoolUsageRequest method. -// req, resp := client.GetCoipPoolUsageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetCoipPoolUsage func (c *EC2) GetCoipPoolUsageRequest(input *GetCoipPoolUsageInput) (req *request.Request, output *GetCoipPoolUsageOutput) { @@ -34738,14 +34272,13 @@ const opGetConsoleOutput = "GetConsoleOutput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConsoleOutputRequest method. +// req, resp := client.GetConsoleOutputRequest(params) // -// // Example sending a request using the GetConsoleOutputRequest method. -// req, resp := client.GetConsoleOutputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleOutput func (c *EC2) GetConsoleOutputRequest(input *GetConsoleOutputInput) (req *request.Request, output *GetConsoleOutputOutput) { @@ -34828,14 +34361,13 @@ const opGetConsoleScreenshot = "GetConsoleScreenshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConsoleScreenshotRequest method. +// req, resp := client.GetConsoleScreenshotRequest(params) // -// // Example sending a request using the GetConsoleScreenshotRequest method. -// req, resp := client.GetConsoleScreenshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetConsoleScreenshot func (c *EC2) GetConsoleScreenshotRequest(input *GetConsoleScreenshotInput) (req *request.Request, output *GetConsoleScreenshotOutput) { @@ -34904,14 +34436,13 @@ const opGetDefaultCreditSpecification = "GetDefaultCreditSpecification" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDefaultCreditSpecificationRequest method. +// req, resp := client.GetDefaultCreditSpecificationRequest(params) // -// // Example sending a request using the GetDefaultCreditSpecificationRequest method. -// req, resp := client.GetDefaultCreditSpecificationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetDefaultCreditSpecification func (c *EC2) GetDefaultCreditSpecificationRequest(input *GetDefaultCreditSpecificationInput) (req *request.Request, output *GetDefaultCreditSpecificationOutput) { @@ -34982,14 +34513,13 @@ const opGetEbsDefaultKmsKeyId = "GetEbsDefaultKmsKeyId" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEbsDefaultKmsKeyIdRequest method. +// req, resp := client.GetEbsDefaultKmsKeyIdRequest(params) // -// // Example sending a request using the GetEbsDefaultKmsKeyIdRequest method. -// req, resp := client.GetEbsDefaultKmsKeyIdRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetEbsDefaultKmsKeyId func (c *EC2) GetEbsDefaultKmsKeyIdRequest(input *GetEbsDefaultKmsKeyIdInput) (req *request.Request, output *GetEbsDefaultKmsKeyIdOutput) { @@ -35061,14 +34591,13 @@ const opGetEbsEncryptionByDefault = "GetEbsEncryptionByDefault" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEbsEncryptionByDefaultRequest method. +// req, resp := client.GetEbsEncryptionByDefaultRequest(params) // -// // Example sending a request using the GetEbsEncryptionByDefaultRequest method. -// req, resp := client.GetEbsEncryptionByDefaultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetEbsEncryptionByDefault func (c *EC2) GetEbsEncryptionByDefaultRequest(input *GetEbsEncryptionByDefaultInput) (req *request.Request, output *GetEbsEncryptionByDefaultOutput) { @@ -35139,14 +34668,13 @@ const opGetFlowLogsIntegrationTemplate = "GetFlowLogsIntegrationTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFlowLogsIntegrationTemplateRequest method. +// req, resp := client.GetFlowLogsIntegrationTemplateRequest(params) // -// // Example sending a request using the GetFlowLogsIntegrationTemplateRequest method. -// req, resp := client.GetFlowLogsIntegrationTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetFlowLogsIntegrationTemplate func (c *EC2) GetFlowLogsIntegrationTemplateRequest(input *GetFlowLogsIntegrationTemplateInput) (req *request.Request, output *GetFlowLogsIntegrationTemplateOutput) { @@ -35172,15 +34700,15 @@ func (c *EC2) GetFlowLogsIntegrationTemplateRequest(input *GetFlowLogsIntegratio // and gain insights from VPC flow logs data. Based on the information that // you provide, we configure resources in the template to do the following: // -// * Create a table in Athena that maps fields to a custom log format +// - Create a table in Athena that maps fields to a custom log format // -// * Create a Lambda function that updates the table with new partitions -// on a daily, weekly, or monthly basis +// - Create a Lambda function that updates the table with new partitions +// on a daily, weekly, or monthly basis // -// * Create a table partitioned between two timestamps in the past +// - Create a table partitioned between two timestamps in the past // -// * Create a set of named queries in Athena that you can use to get started -// quickly +// - Create a set of named queries in Athena that you can use to get started +// quickly // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -35226,14 +34754,13 @@ const opGetGroupsForCapacityReservation = "GetGroupsForCapacityReservation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGroupsForCapacityReservationRequest method. +// req, resp := client.GetGroupsForCapacityReservationRequest(params) // -// // Example sending a request using the GetGroupsForCapacityReservationRequest method. -// req, resp := client.GetGroupsForCapacityReservationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetGroupsForCapacityReservation func (c *EC2) GetGroupsForCapacityReservationRequest(input *GetGroupsForCapacityReservationInput) (req *request.Request, output *GetGroupsForCapacityReservationOutput) { @@ -35298,15 +34825,14 @@ func (c *EC2) GetGroupsForCapacityReservationWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetGroupsForCapacityReservation operation. -// pageNum := 0 -// err := client.GetGroupsForCapacityReservationPages(params, -// func(page *ec2.GetGroupsForCapacityReservationOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetGroupsForCapacityReservation operation. +// pageNum := 0 +// err := client.GetGroupsForCapacityReservationPages(params, +// func(page *ec2.GetGroupsForCapacityReservationOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetGroupsForCapacityReservationPages(input *GetGroupsForCapacityReservationInput, fn func(*GetGroupsForCapacityReservationOutput, bool) bool) error { return c.GetGroupsForCapacityReservationPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -35358,14 +34884,13 @@ const opGetHostReservationPurchasePreview = "GetHostReservationPurchasePreview" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetHostReservationPurchasePreviewRequest method. +// req, resp := client.GetHostReservationPurchasePreviewRequest(params) // -// // Example sending a request using the GetHostReservationPurchasePreviewRequest method. -// req, resp := client.GetHostReservationPurchasePreviewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetHostReservationPurchasePreview func (c *EC2) GetHostReservationPurchasePreviewRequest(input *GetHostReservationPurchasePreviewInput) (req *request.Request, output *GetHostReservationPurchasePreviewOutput) { @@ -35437,14 +34962,13 @@ const opGetInstanceTypesFromInstanceRequirements = "GetInstanceTypesFromInstance // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInstanceTypesFromInstanceRequirementsRequest method. +// req, resp := client.GetInstanceTypesFromInstanceRequirementsRequest(params) // -// // Example sending a request using the GetInstanceTypesFromInstanceRequirementsRequest method. -// req, resp := client.GetInstanceTypesFromInstanceRequirementsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceTypesFromInstanceRequirements func (c *EC2) GetInstanceTypesFromInstanceRequirementsRequest(input *GetInstanceTypesFromInstanceRequirementsInput) (req *request.Request, output *GetInstanceTypesFromInstanceRequirementsOutput) { @@ -35524,15 +35048,14 @@ func (c *EC2) GetInstanceTypesFromInstanceRequirementsWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetInstanceTypesFromInstanceRequirements operation. -// pageNum := 0 -// err := client.GetInstanceTypesFromInstanceRequirementsPages(params, -// func(page *ec2.GetInstanceTypesFromInstanceRequirementsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetInstanceTypesFromInstanceRequirements operation. +// pageNum := 0 +// err := client.GetInstanceTypesFromInstanceRequirementsPages(params, +// func(page *ec2.GetInstanceTypesFromInstanceRequirementsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetInstanceTypesFromInstanceRequirementsPages(input *GetInstanceTypesFromInstanceRequirementsInput, fn func(*GetInstanceTypesFromInstanceRequirementsOutput, bool) bool) error { return c.GetInstanceTypesFromInstanceRequirementsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -35584,14 +35107,13 @@ const opGetInstanceUefiData = "GetInstanceUefiData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInstanceUefiDataRequest method. +// req, resp := client.GetInstanceUefiDataRequest(params) // -// // Example sending a request using the GetInstanceUefiDataRequest method. -// req, resp := client.GetInstanceUefiDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetInstanceUefiData func (c *EC2) GetInstanceUefiDataRequest(input *GetInstanceUefiDataInput) (req *request.Request, output *GetInstanceUefiDataOutput) { @@ -35671,14 +35193,13 @@ const opGetIpamAddressHistory = "GetIpamAddressHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIpamAddressHistoryRequest method. +// req, resp := client.GetIpamAddressHistoryRequest(params) // -// // Example sending a request using the GetIpamAddressHistoryRequest method. -// req, resp := client.GetIpamAddressHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetIpamAddressHistory func (c *EC2) GetIpamAddressHistoryRequest(input *GetIpamAddressHistoryInput) (req *request.Request, output *GetIpamAddressHistoryOutput) { @@ -35745,15 +35266,14 @@ func (c *EC2) GetIpamAddressHistoryWithContext(ctx aws.Context, input *GetIpamAd // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetIpamAddressHistory operation. -// pageNum := 0 -// err := client.GetIpamAddressHistoryPages(params, -// func(page *ec2.GetIpamAddressHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetIpamAddressHistory operation. +// pageNum := 0 +// err := client.GetIpamAddressHistoryPages(params, +// func(page *ec2.GetIpamAddressHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetIpamAddressHistoryPages(input *GetIpamAddressHistoryInput, fn func(*GetIpamAddressHistoryOutput, bool) bool) error { return c.GetIpamAddressHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -35805,14 +35325,13 @@ const opGetIpamPoolAllocations = "GetIpamPoolAllocations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIpamPoolAllocationsRequest method. +// req, resp := client.GetIpamPoolAllocationsRequest(params) // -// // Example sending a request using the GetIpamPoolAllocationsRequest method. -// req, resp := client.GetIpamPoolAllocationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetIpamPoolAllocations func (c *EC2) GetIpamPoolAllocationsRequest(input *GetIpamPoolAllocationsInput) (req *request.Request, output *GetIpamPoolAllocationsOutput) { @@ -35877,15 +35396,14 @@ func (c *EC2) GetIpamPoolAllocationsWithContext(ctx aws.Context, input *GetIpamP // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetIpamPoolAllocations operation. -// pageNum := 0 -// err := client.GetIpamPoolAllocationsPages(params, -// func(page *ec2.GetIpamPoolAllocationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetIpamPoolAllocations operation. +// pageNum := 0 +// err := client.GetIpamPoolAllocationsPages(params, +// func(page *ec2.GetIpamPoolAllocationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetIpamPoolAllocationsPages(input *GetIpamPoolAllocationsInput, fn func(*GetIpamPoolAllocationsOutput, bool) bool) error { return c.GetIpamPoolAllocationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -35937,14 +35455,13 @@ const opGetIpamPoolCidrs = "GetIpamPoolCidrs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIpamPoolCidrsRequest method. +// req, resp := client.GetIpamPoolCidrsRequest(params) // -// // Example sending a request using the GetIpamPoolCidrsRequest method. -// req, resp := client.GetIpamPoolCidrsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetIpamPoolCidrs func (c *EC2) GetIpamPoolCidrsRequest(input *GetIpamPoolCidrsInput) (req *request.Request, output *GetIpamPoolCidrsOutput) { @@ -36009,15 +35526,14 @@ func (c *EC2) GetIpamPoolCidrsWithContext(ctx aws.Context, input *GetIpamPoolCid // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetIpamPoolCidrs operation. -// pageNum := 0 -// err := client.GetIpamPoolCidrsPages(params, -// func(page *ec2.GetIpamPoolCidrsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetIpamPoolCidrs operation. +// pageNum := 0 +// err := client.GetIpamPoolCidrsPages(params, +// func(page *ec2.GetIpamPoolCidrsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetIpamPoolCidrsPages(input *GetIpamPoolCidrsInput, fn func(*GetIpamPoolCidrsOutput, bool) bool) error { return c.GetIpamPoolCidrsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -36069,14 +35585,13 @@ const opGetIpamResourceCidrs = "GetIpamResourceCidrs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIpamResourceCidrsRequest method. +// req, resp := client.GetIpamResourceCidrsRequest(params) // -// // Example sending a request using the GetIpamResourceCidrsRequest method. -// req, resp := client.GetIpamResourceCidrsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetIpamResourceCidrs func (c *EC2) GetIpamResourceCidrsRequest(input *GetIpamResourceCidrsInput) (req *request.Request, output *GetIpamResourceCidrsOutput) { @@ -36141,15 +35656,14 @@ func (c *EC2) GetIpamResourceCidrsWithContext(ctx aws.Context, input *GetIpamRes // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetIpamResourceCidrs operation. -// pageNum := 0 -// err := client.GetIpamResourceCidrsPages(params, -// func(page *ec2.GetIpamResourceCidrsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetIpamResourceCidrs operation. +// pageNum := 0 +// err := client.GetIpamResourceCidrsPages(params, +// func(page *ec2.GetIpamResourceCidrsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetIpamResourceCidrsPages(input *GetIpamResourceCidrsInput, fn func(*GetIpamResourceCidrsOutput, bool) bool) error { return c.GetIpamResourceCidrsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -36201,14 +35715,13 @@ const opGetLaunchTemplateData = "GetLaunchTemplateData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLaunchTemplateDataRequest method. +// req, resp := client.GetLaunchTemplateDataRequest(params) // -// // Example sending a request using the GetLaunchTemplateDataRequest method. -// req, resp := client.GetLaunchTemplateDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetLaunchTemplateData func (c *EC2) GetLaunchTemplateDataRequest(input *GetLaunchTemplateDataInput) (req *request.Request, output *GetLaunchTemplateDataOutput) { @@ -36282,14 +35795,13 @@ const opGetManagedPrefixListAssociations = "GetManagedPrefixListAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetManagedPrefixListAssociationsRequest method. +// req, resp := client.GetManagedPrefixListAssociationsRequest(params) // -// // Example sending a request using the GetManagedPrefixListAssociationsRequest method. -// req, resp := client.GetManagedPrefixListAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetManagedPrefixListAssociations func (c *EC2) GetManagedPrefixListAssociationsRequest(input *GetManagedPrefixListAssociationsInput) (req *request.Request, output *GetManagedPrefixListAssociationsOutput) { @@ -36355,15 +35867,14 @@ func (c *EC2) GetManagedPrefixListAssociationsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetManagedPrefixListAssociations operation. -// pageNum := 0 -// err := client.GetManagedPrefixListAssociationsPages(params, -// func(page *ec2.GetManagedPrefixListAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetManagedPrefixListAssociations operation. +// pageNum := 0 +// err := client.GetManagedPrefixListAssociationsPages(params, +// func(page *ec2.GetManagedPrefixListAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetManagedPrefixListAssociationsPages(input *GetManagedPrefixListAssociationsInput, fn func(*GetManagedPrefixListAssociationsOutput, bool) bool) error { return c.GetManagedPrefixListAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -36415,14 +35926,13 @@ const opGetManagedPrefixListEntries = "GetManagedPrefixListEntries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetManagedPrefixListEntriesRequest method. +// req, resp := client.GetManagedPrefixListEntriesRequest(params) // -// // Example sending a request using the GetManagedPrefixListEntriesRequest method. -// req, resp := client.GetManagedPrefixListEntriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetManagedPrefixListEntries func (c *EC2) GetManagedPrefixListEntriesRequest(input *GetManagedPrefixListEntriesInput) (req *request.Request, output *GetManagedPrefixListEntriesOutput) { @@ -36487,15 +35997,14 @@ func (c *EC2) GetManagedPrefixListEntriesWithContext(ctx aws.Context, input *Get // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetManagedPrefixListEntries operation. -// pageNum := 0 -// err := client.GetManagedPrefixListEntriesPages(params, -// func(page *ec2.GetManagedPrefixListEntriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetManagedPrefixListEntries operation. +// pageNum := 0 +// err := client.GetManagedPrefixListEntriesPages(params, +// func(page *ec2.GetManagedPrefixListEntriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetManagedPrefixListEntriesPages(input *GetManagedPrefixListEntriesInput, fn func(*GetManagedPrefixListEntriesOutput, bool) bool) error { return c.GetManagedPrefixListEntriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -36547,14 +36056,13 @@ const opGetNetworkInsightsAccessScopeAnalysisFindings = "GetNetworkInsightsAcces // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNetworkInsightsAccessScopeAnalysisFindingsRequest method. +// req, resp := client.GetNetworkInsightsAccessScopeAnalysisFindingsRequest(params) // -// // Example sending a request using the GetNetworkInsightsAccessScopeAnalysisFindingsRequest method. -// req, resp := client.GetNetworkInsightsAccessScopeAnalysisFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetNetworkInsightsAccessScopeAnalysisFindings func (c *EC2) GetNetworkInsightsAccessScopeAnalysisFindingsRequest(input *GetNetworkInsightsAccessScopeAnalysisFindingsInput) (req *request.Request, output *GetNetworkInsightsAccessScopeAnalysisFindingsOutput) { @@ -36621,14 +36129,13 @@ const opGetNetworkInsightsAccessScopeContent = "GetNetworkInsightsAccessScopeCon // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNetworkInsightsAccessScopeContentRequest method. +// req, resp := client.GetNetworkInsightsAccessScopeContentRequest(params) // -// // Example sending a request using the GetNetworkInsightsAccessScopeContentRequest method. -// req, resp := client.GetNetworkInsightsAccessScopeContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetNetworkInsightsAccessScopeContent func (c *EC2) GetNetworkInsightsAccessScopeContentRequest(input *GetNetworkInsightsAccessScopeContentInput) (req *request.Request, output *GetNetworkInsightsAccessScopeContentOutput) { @@ -36695,14 +36202,13 @@ const opGetPasswordData = "GetPasswordData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPasswordDataRequest method. +// req, resp := client.GetPasswordDataRequest(params) // -// // Example sending a request using the GetPasswordDataRequest method. -// req, resp := client.GetPasswordDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetPasswordData func (c *EC2) GetPasswordDataRequest(input *GetPasswordDataInput) (req *request.Request, output *GetPasswordDataOutput) { @@ -36786,14 +36292,13 @@ const opGetReservedInstancesExchangeQuote = "GetReservedInstancesExchangeQuote" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReservedInstancesExchangeQuoteRequest method. +// req, resp := client.GetReservedInstancesExchangeQuoteRequest(params) // -// // Example sending a request using the GetReservedInstancesExchangeQuoteRequest method. -// req, resp := client.GetReservedInstancesExchangeQuoteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetReservedInstancesExchangeQuote func (c *EC2) GetReservedInstancesExchangeQuoteRequest(input *GetReservedInstancesExchangeQuoteInput) (req *request.Request, output *GetReservedInstancesExchangeQuoteOutput) { @@ -36863,14 +36368,13 @@ const opGetSerialConsoleAccessStatus = "GetSerialConsoleAccessStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSerialConsoleAccessStatusRequest method. +// req, resp := client.GetSerialConsoleAccessStatusRequest(params) // -// // Example sending a request using the GetSerialConsoleAccessStatusRequest method. -// req, resp := client.GetSerialConsoleAccessStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSerialConsoleAccessStatus func (c *EC2) GetSerialConsoleAccessStatusRequest(input *GetSerialConsoleAccessStatusInput) (req *request.Request, output *GetSerialConsoleAccessStatusOutput) { @@ -36941,14 +36445,13 @@ const opGetSpotPlacementScores = "GetSpotPlacementScores" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSpotPlacementScoresRequest method. +// req, resp := client.GetSpotPlacementScoresRequest(params) // -// // Example sending a request using the GetSpotPlacementScoresRequest method. -// req, resp := client.GetSpotPlacementScoresRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSpotPlacementScores func (c *EC2) GetSpotPlacementScoresRequest(input *GetSpotPlacementScoresInput) (req *request.Request, output *GetSpotPlacementScoresOutput) { @@ -37021,15 +36524,14 @@ func (c *EC2) GetSpotPlacementScoresWithContext(ctx aws.Context, input *GetSpotP // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetSpotPlacementScores operation. -// pageNum := 0 -// err := client.GetSpotPlacementScoresPages(params, -// func(page *ec2.GetSpotPlacementScoresOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetSpotPlacementScores operation. +// pageNum := 0 +// err := client.GetSpotPlacementScoresPages(params, +// func(page *ec2.GetSpotPlacementScoresOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetSpotPlacementScoresPages(input *GetSpotPlacementScoresInput, fn func(*GetSpotPlacementScoresOutput, bool) bool) error { return c.GetSpotPlacementScoresPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -37081,14 +36583,13 @@ const opGetSubnetCidrReservations = "GetSubnetCidrReservations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSubnetCidrReservationsRequest method. +// req, resp := client.GetSubnetCidrReservationsRequest(params) // -// // Example sending a request using the GetSubnetCidrReservationsRequest method. -// req, resp := client.GetSubnetCidrReservationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSubnetCidrReservations func (c *EC2) GetSubnetCidrReservationsRequest(input *GetSubnetCidrReservationsInput) (req *request.Request, output *GetSubnetCidrReservationsOutput) { @@ -37155,14 +36656,13 @@ const opGetTransitGatewayAttachmentPropagations = "GetTransitGatewayAttachmentPr // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTransitGatewayAttachmentPropagationsRequest method. +// req, resp := client.GetTransitGatewayAttachmentPropagationsRequest(params) // -// // Example sending a request using the GetTransitGatewayAttachmentPropagationsRequest method. -// req, resp := client.GetTransitGatewayAttachmentPropagationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetTransitGatewayAttachmentPropagations func (c *EC2) GetTransitGatewayAttachmentPropagationsRequest(input *GetTransitGatewayAttachmentPropagationsInput) (req *request.Request, output *GetTransitGatewayAttachmentPropagationsOutput) { @@ -37228,15 +36728,14 @@ func (c *EC2) GetTransitGatewayAttachmentPropagationsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTransitGatewayAttachmentPropagations operation. -// pageNum := 0 -// err := client.GetTransitGatewayAttachmentPropagationsPages(params, -// func(page *ec2.GetTransitGatewayAttachmentPropagationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTransitGatewayAttachmentPropagations operation. +// pageNum := 0 +// err := client.GetTransitGatewayAttachmentPropagationsPages(params, +// func(page *ec2.GetTransitGatewayAttachmentPropagationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetTransitGatewayAttachmentPropagationsPages(input *GetTransitGatewayAttachmentPropagationsInput, fn func(*GetTransitGatewayAttachmentPropagationsOutput, bool) bool) error { return c.GetTransitGatewayAttachmentPropagationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -37288,14 +36787,13 @@ const opGetTransitGatewayMulticastDomainAssociations = "GetTransitGatewayMultica // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTransitGatewayMulticastDomainAssociationsRequest method. +// req, resp := client.GetTransitGatewayMulticastDomainAssociationsRequest(params) // -// // Example sending a request using the GetTransitGatewayMulticastDomainAssociationsRequest method. -// req, resp := client.GetTransitGatewayMulticastDomainAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetTransitGatewayMulticastDomainAssociations func (c *EC2) GetTransitGatewayMulticastDomainAssociationsRequest(input *GetTransitGatewayMulticastDomainAssociationsInput) (req *request.Request, output *GetTransitGatewayMulticastDomainAssociationsOutput) { @@ -37361,15 +36859,14 @@ func (c *EC2) GetTransitGatewayMulticastDomainAssociationsWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTransitGatewayMulticastDomainAssociations operation. -// pageNum := 0 -// err := client.GetTransitGatewayMulticastDomainAssociationsPages(params, -// func(page *ec2.GetTransitGatewayMulticastDomainAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTransitGatewayMulticastDomainAssociations operation. +// pageNum := 0 +// err := client.GetTransitGatewayMulticastDomainAssociationsPages(params, +// func(page *ec2.GetTransitGatewayMulticastDomainAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetTransitGatewayMulticastDomainAssociationsPages(input *GetTransitGatewayMulticastDomainAssociationsInput, fn func(*GetTransitGatewayMulticastDomainAssociationsOutput, bool) bool) error { return c.GetTransitGatewayMulticastDomainAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -37421,14 +36918,13 @@ const opGetTransitGatewayPrefixListReferences = "GetTransitGatewayPrefixListRefe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTransitGatewayPrefixListReferencesRequest method. +// req, resp := client.GetTransitGatewayPrefixListReferencesRequest(params) // -// // Example sending a request using the GetTransitGatewayPrefixListReferencesRequest method. -// req, resp := client.GetTransitGatewayPrefixListReferencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetTransitGatewayPrefixListReferences func (c *EC2) GetTransitGatewayPrefixListReferencesRequest(input *GetTransitGatewayPrefixListReferencesInput) (req *request.Request, output *GetTransitGatewayPrefixListReferencesOutput) { @@ -37494,15 +36990,14 @@ func (c *EC2) GetTransitGatewayPrefixListReferencesWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTransitGatewayPrefixListReferences operation. -// pageNum := 0 -// err := client.GetTransitGatewayPrefixListReferencesPages(params, -// func(page *ec2.GetTransitGatewayPrefixListReferencesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTransitGatewayPrefixListReferences operation. +// pageNum := 0 +// err := client.GetTransitGatewayPrefixListReferencesPages(params, +// func(page *ec2.GetTransitGatewayPrefixListReferencesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetTransitGatewayPrefixListReferencesPages(input *GetTransitGatewayPrefixListReferencesInput, fn func(*GetTransitGatewayPrefixListReferencesOutput, bool) bool) error { return c.GetTransitGatewayPrefixListReferencesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -37554,14 +37049,13 @@ const opGetTransitGatewayRouteTableAssociations = "GetTransitGatewayRouteTableAs // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTransitGatewayRouteTableAssociationsRequest method. +// req, resp := client.GetTransitGatewayRouteTableAssociationsRequest(params) // -// // Example sending a request using the GetTransitGatewayRouteTableAssociationsRequest method. -// req, resp := client.GetTransitGatewayRouteTableAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetTransitGatewayRouteTableAssociations func (c *EC2) GetTransitGatewayRouteTableAssociationsRequest(input *GetTransitGatewayRouteTableAssociationsInput) (req *request.Request, output *GetTransitGatewayRouteTableAssociationsOutput) { @@ -37627,15 +37121,14 @@ func (c *EC2) GetTransitGatewayRouteTableAssociationsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTransitGatewayRouteTableAssociations operation. -// pageNum := 0 -// err := client.GetTransitGatewayRouteTableAssociationsPages(params, -// func(page *ec2.GetTransitGatewayRouteTableAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTransitGatewayRouteTableAssociations operation. +// pageNum := 0 +// err := client.GetTransitGatewayRouteTableAssociationsPages(params, +// func(page *ec2.GetTransitGatewayRouteTableAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetTransitGatewayRouteTableAssociationsPages(input *GetTransitGatewayRouteTableAssociationsInput, fn func(*GetTransitGatewayRouteTableAssociationsOutput, bool) bool) error { return c.GetTransitGatewayRouteTableAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -37687,14 +37180,13 @@ const opGetTransitGatewayRouteTablePropagations = "GetTransitGatewayRouteTablePr // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTransitGatewayRouteTablePropagationsRequest method. +// req, resp := client.GetTransitGatewayRouteTablePropagationsRequest(params) // -// // Example sending a request using the GetTransitGatewayRouteTablePropagationsRequest method. -// req, resp := client.GetTransitGatewayRouteTablePropagationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetTransitGatewayRouteTablePropagations func (c *EC2) GetTransitGatewayRouteTablePropagationsRequest(input *GetTransitGatewayRouteTablePropagationsInput) (req *request.Request, output *GetTransitGatewayRouteTablePropagationsOutput) { @@ -37760,15 +37252,14 @@ func (c *EC2) GetTransitGatewayRouteTablePropagationsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTransitGatewayRouteTablePropagations operation. -// pageNum := 0 -// err := client.GetTransitGatewayRouteTablePropagationsPages(params, -// func(page *ec2.GetTransitGatewayRouteTablePropagationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTransitGatewayRouteTablePropagations operation. +// pageNum := 0 +// err := client.GetTransitGatewayRouteTablePropagationsPages(params, +// func(page *ec2.GetTransitGatewayRouteTablePropagationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetTransitGatewayRouteTablePropagationsPages(input *GetTransitGatewayRouteTablePropagationsInput, fn func(*GetTransitGatewayRouteTablePropagationsOutput, bool) bool) error { return c.GetTransitGatewayRouteTablePropagationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -37820,14 +37311,13 @@ const opGetVpnConnectionDeviceSampleConfiguration = "GetVpnConnectionDeviceSampl // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVpnConnectionDeviceSampleConfigurationRequest method. +// req, resp := client.GetVpnConnectionDeviceSampleConfigurationRequest(params) // -// // Example sending a request using the GetVpnConnectionDeviceSampleConfigurationRequest method. -// req, resp := client.GetVpnConnectionDeviceSampleConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetVpnConnectionDeviceSampleConfiguration func (c *EC2) GetVpnConnectionDeviceSampleConfigurationRequest(input *GetVpnConnectionDeviceSampleConfigurationInput) (req *request.Request, output *GetVpnConnectionDeviceSampleConfigurationOutput) { @@ -37896,14 +37386,13 @@ const opGetVpnConnectionDeviceTypes = "GetVpnConnectionDeviceTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVpnConnectionDeviceTypesRequest method. +// req, resp := client.GetVpnConnectionDeviceTypesRequest(params) // -// // Example sending a request using the GetVpnConnectionDeviceTypesRequest method. -// req, resp := client.GetVpnConnectionDeviceTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetVpnConnectionDeviceTypes func (c *EC2) GetVpnConnectionDeviceTypesRequest(input *GetVpnConnectionDeviceTypesInput) (req *request.Request, output *GetVpnConnectionDeviceTypesOutput) { @@ -37972,15 +37461,14 @@ func (c *EC2) GetVpnConnectionDeviceTypesWithContext(ctx aws.Context, input *Get // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetVpnConnectionDeviceTypes operation. -// pageNum := 0 -// err := client.GetVpnConnectionDeviceTypesPages(params, -// func(page *ec2.GetVpnConnectionDeviceTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetVpnConnectionDeviceTypes operation. +// pageNum := 0 +// err := client.GetVpnConnectionDeviceTypesPages(params, +// func(page *ec2.GetVpnConnectionDeviceTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) GetVpnConnectionDeviceTypesPages(input *GetVpnConnectionDeviceTypesInput, fn func(*GetVpnConnectionDeviceTypesOutput, bool) bool) error { return c.GetVpnConnectionDeviceTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -38032,14 +37520,13 @@ const opImportClientVpnClientCertificateRevocationList = "ImportClientVpnClientC // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportClientVpnClientCertificateRevocationListRequest method. +// req, resp := client.ImportClientVpnClientCertificateRevocationListRequest(params) // -// // Example sending a request using the ImportClientVpnClientCertificateRevocationListRequest method. -// req, resp := client.ImportClientVpnClientCertificateRevocationListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportClientVpnClientCertificateRevocationList func (c *EC2) ImportClientVpnClientCertificateRevocationListRequest(input *ImportClientVpnClientCertificateRevocationListInput) (req *request.Request, output *ImportClientVpnClientCertificateRevocationListOutput) { @@ -38110,14 +37597,13 @@ const opImportImage = "ImportImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportImageRequest method. +// req, resp := client.ImportImageRequest(params) // -// // Example sending a request using the ImportImageRequest method. -// req, resp := client.ImportImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportImage func (c *EC2) ImportImageRequest(input *ImportImageInput) (req *request.Request, output *ImportImageOutput) { @@ -38189,14 +37675,13 @@ const opImportInstance = "ImportInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportInstanceRequest method. +// req, resp := client.ImportInstanceRequest(params) // -// // Example sending a request using the ImportInstanceRequest method. -// req, resp := client.ImportInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportInstance func (c *EC2) ImportInstanceRequest(input *ImportInstanceInput) (req *request.Request, output *ImportInstanceOutput) { @@ -38274,14 +37759,13 @@ const opImportKeyPair = "ImportKeyPair" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportKeyPairRequest method. +// req, resp := client.ImportKeyPairRequest(params) // -// // Example sending a request using the ImportKeyPairRequest method. -// req, resp := client.ImportKeyPairRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportKeyPair func (c *EC2) ImportKeyPairRequest(input *ImportKeyPairInput) (req *request.Request, output *ImportKeyPairOutput) { @@ -38356,14 +37840,13 @@ const opImportSnapshot = "ImportSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportSnapshotRequest method. +// req, resp := client.ImportSnapshotRequest(params) // -// // Example sending a request using the ImportSnapshotRequest method. -// req, resp := client.ImportSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportSnapshot func (c *EC2) ImportSnapshotRequest(input *ImportSnapshotInput) (req *request.Request, output *ImportSnapshotOutput) { @@ -38434,14 +37917,13 @@ const opImportVolume = "ImportVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportVolumeRequest method. +// req, resp := client.ImportVolumeRequest(params) // -// // Example sending a request using the ImportVolumeRequest method. -// req, resp := client.ImportVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ImportVolume func (c *EC2) ImportVolumeRequest(input *ImportVolumeInput) (req *request.Request, output *ImportVolumeOutput) { @@ -38520,14 +38002,13 @@ const opListImagesInRecycleBin = "ListImagesInRecycleBin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListImagesInRecycleBinRequest method. +// req, resp := client.ListImagesInRecycleBinRequest(params) // -// // Example sending a request using the ListImagesInRecycleBinRequest method. -// req, resp := client.ListImagesInRecycleBinRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ListImagesInRecycleBin func (c *EC2) ListImagesInRecycleBinRequest(input *ListImagesInRecycleBinInput) (req *request.Request, output *ListImagesInRecycleBinOutput) { @@ -38594,15 +38075,14 @@ func (c *EC2) ListImagesInRecycleBinWithContext(ctx aws.Context, input *ListImag // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListImagesInRecycleBin operation. -// pageNum := 0 -// err := client.ListImagesInRecycleBinPages(params, -// func(page *ec2.ListImagesInRecycleBinOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListImagesInRecycleBin operation. +// pageNum := 0 +// err := client.ListImagesInRecycleBinPages(params, +// func(page *ec2.ListImagesInRecycleBinOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) ListImagesInRecycleBinPages(input *ListImagesInRecycleBinInput, fn func(*ListImagesInRecycleBinOutput, bool) bool) error { return c.ListImagesInRecycleBinPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -38654,14 +38134,13 @@ const opListSnapshotsInRecycleBin = "ListSnapshotsInRecycleBin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSnapshotsInRecycleBinRequest method. +// req, resp := client.ListSnapshotsInRecycleBinRequest(params) // -// // Example sending a request using the ListSnapshotsInRecycleBinRequest method. -// req, resp := client.ListSnapshotsInRecycleBinRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ListSnapshotsInRecycleBin func (c *EC2) ListSnapshotsInRecycleBinRequest(input *ListSnapshotsInRecycleBinInput) (req *request.Request, output *ListSnapshotsInRecycleBinOutput) { @@ -38726,15 +38205,14 @@ func (c *EC2) ListSnapshotsInRecycleBinWithContext(ctx aws.Context, input *ListS // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSnapshotsInRecycleBin operation. -// pageNum := 0 -// err := client.ListSnapshotsInRecycleBinPages(params, -// func(page *ec2.ListSnapshotsInRecycleBinOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSnapshotsInRecycleBin operation. +// pageNum := 0 +// err := client.ListSnapshotsInRecycleBinPages(params, +// func(page *ec2.ListSnapshotsInRecycleBinOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) ListSnapshotsInRecycleBinPages(input *ListSnapshotsInRecycleBinInput, fn func(*ListSnapshotsInRecycleBinOutput, bool) bool) error { return c.ListSnapshotsInRecycleBinPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -38786,14 +38264,13 @@ const opModifyAddressAttribute = "ModifyAddressAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyAddressAttributeRequest method. +// req, resp := client.ModifyAddressAttributeRequest(params) // -// // Example sending a request using the ModifyAddressAttributeRequest method. -// req, resp := client.ModifyAddressAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAddressAttribute func (c *EC2) ModifyAddressAttributeRequest(input *ModifyAddressAttributeInput) (req *request.Request, output *ModifyAddressAttributeOutput) { @@ -38861,14 +38338,13 @@ const opModifyAvailabilityZoneGroup = "ModifyAvailabilityZoneGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyAvailabilityZoneGroupRequest method. +// req, resp := client.ModifyAvailabilityZoneGroupRequest(params) // -// // Example sending a request using the ModifyAvailabilityZoneGroupRequest method. -// req, resp := client.ModifyAvailabilityZoneGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAvailabilityZoneGroup func (c *EC2) ModifyAvailabilityZoneGroupRequest(input *ModifyAvailabilityZoneGroupInput) (req *request.Request, output *ModifyAvailabilityZoneGroupOutput) { @@ -38939,14 +38415,13 @@ const opModifyCapacityReservation = "ModifyCapacityReservation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyCapacityReservationRequest method. +// req, resp := client.ModifyCapacityReservationRequest(params) // -// // Example sending a request using the ModifyCapacityReservationRequest method. -// req, resp := client.ModifyCapacityReservationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyCapacityReservation func (c *EC2) ModifyCapacityReservationRequest(input *ModifyCapacityReservationInput) (req *request.Request, output *ModifyCapacityReservationOutput) { @@ -39018,14 +38493,13 @@ const opModifyCapacityReservationFleet = "ModifyCapacityReservationFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyCapacityReservationFleetRequest method. +// req, resp := client.ModifyCapacityReservationFleetRequest(params) // -// // Example sending a request using the ModifyCapacityReservationFleetRequest method. -// req, resp := client.ModifyCapacityReservationFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyCapacityReservationFleet func (c *EC2) ModifyCapacityReservationFleetRequest(input *ModifyCapacityReservationFleetInput) (req *request.Request, output *ModifyCapacityReservationFleetOutput) { @@ -39099,14 +38573,13 @@ const opModifyClientVpnEndpoint = "ModifyClientVpnEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyClientVpnEndpointRequest method. +// req, resp := client.ModifyClientVpnEndpointRequest(params) // -// // Example sending a request using the ModifyClientVpnEndpointRequest method. -// req, resp := client.ModifyClientVpnEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyClientVpnEndpoint func (c *EC2) ModifyClientVpnEndpointRequest(input *ModifyClientVpnEndpointInput) (req *request.Request, output *ModifyClientVpnEndpointOutput) { @@ -39174,14 +38647,13 @@ const opModifyDefaultCreditSpecification = "ModifyDefaultCreditSpecification" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDefaultCreditSpecificationRequest method. +// req, resp := client.ModifyDefaultCreditSpecificationRequest(params) // -// // Example sending a request using the ModifyDefaultCreditSpecificationRequest method. -// req, resp := client.ModifyDefaultCreditSpecificationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyDefaultCreditSpecification func (c *EC2) ModifyDefaultCreditSpecificationRequest(input *ModifyDefaultCreditSpecificationInput) (req *request.Request, output *ModifyDefaultCreditSpecificationOutput) { @@ -39262,14 +38734,13 @@ const opModifyEbsDefaultKmsKeyId = "ModifyEbsDefaultKmsKeyId" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyEbsDefaultKmsKeyIdRequest method. +// req, resp := client.ModifyEbsDefaultKmsKeyIdRequest(params) // -// // Example sending a request using the ModifyEbsDefaultKmsKeyIdRequest method. -// req, resp := client.ModifyEbsDefaultKmsKeyIdRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyEbsDefaultKmsKeyId func (c *EC2) ModifyEbsDefaultKmsKeyIdRequest(input *ModifyEbsDefaultKmsKeyIdInput) (req *request.Request, output *ModifyEbsDefaultKmsKeyIdOutput) { @@ -39350,14 +38821,13 @@ const opModifyFleet = "ModifyFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyFleetRequest method. +// req, resp := client.ModifyFleetRequest(params) // -// // Example sending a request using the ModifyFleetRequest method. -// req, resp := client.ModifyFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFleet func (c *EC2) ModifyFleetRequest(input *ModifyFleetInput) (req *request.Request, output *ModifyFleetOutput) { @@ -39453,14 +38923,13 @@ const opModifyFpgaImageAttribute = "ModifyFpgaImageAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyFpgaImageAttributeRequest method. +// req, resp := client.ModifyFpgaImageAttributeRequest(params) // -// // Example sending a request using the ModifyFpgaImageAttributeRequest method. -// req, resp := client.ModifyFpgaImageAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyFpgaImageAttribute func (c *EC2) ModifyFpgaImageAttributeRequest(input *ModifyFpgaImageAttributeInput) (req *request.Request, output *ModifyFpgaImageAttributeOutput) { @@ -39527,14 +38996,13 @@ const opModifyHosts = "ModifyHosts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyHostsRequest method. +// req, resp := client.ModifyHostsRequest(params) // -// // Example sending a request using the ModifyHostsRequest method. -// req, resp := client.ModifyHostsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyHosts func (c *EC2) ModifyHostsRequest(input *ModifyHostsInput) (req *request.Request, output *ModifyHostsOutput) { @@ -39611,14 +39079,13 @@ const opModifyIdFormat = "ModifyIdFormat" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyIdFormatRequest method. +// req, resp := client.ModifyIdFormatRequest(params) // -// // Example sending a request using the ModifyIdFormatRequest method. -// req, resp := client.ModifyIdFormatRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdFormat func (c *EC2) ModifyIdFormatRequest(input *ModifyIdFormatInput) (req *request.Request, output *ModifyIdFormatOutput) { @@ -39709,14 +39176,13 @@ const opModifyIdentityIdFormat = "ModifyIdentityIdFormat" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyIdentityIdFormatRequest method. +// req, resp := client.ModifyIdentityIdFormatRequest(params) // -// // Example sending a request using the ModifyIdentityIdFormatRequest method. -// req, resp := client.ModifyIdentityIdFormatRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIdentityIdFormat func (c *EC2) ModifyIdentityIdFormatRequest(input *ModifyIdentityIdFormatInput) (req *request.Request, output *ModifyIdentityIdFormatOutput) { @@ -39806,14 +39272,13 @@ const opModifyImageAttribute = "ModifyImageAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyImageAttributeRequest method. +// req, resp := client.ModifyImageAttributeRequest(params) // -// // Example sending a request using the ModifyImageAttributeRequest method. -// req, resp := client.ModifyImageAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyImageAttribute func (c *EC2) ModifyImageAttributeRequest(input *ModifyImageAttributeInput) (req *request.Request, output *ModifyImageAttributeOutput) { @@ -39889,14 +39354,13 @@ const opModifyInstanceAttribute = "ModifyInstanceAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyInstanceAttributeRequest method. +// req, resp := client.ModifyInstanceAttributeRequest(params) // -// // Example sending a request using the ModifyInstanceAttributeRequest method. -// req, resp := client.ModifyInstanceAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceAttribute func (c *EC2) ModifyInstanceAttributeRequest(input *ModifyInstanceAttributeInput) (req *request.Request, output *ModifyInstanceAttributeOutput) { @@ -39975,14 +39439,13 @@ const opModifyInstanceCapacityReservationAttributes = "ModifyInstanceCapacityRes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyInstanceCapacityReservationAttributesRequest method. +// req, resp := client.ModifyInstanceCapacityReservationAttributesRequest(params) // -// // Example sending a request using the ModifyInstanceCapacityReservationAttributesRequest method. -// req, resp := client.ModifyInstanceCapacityReservationAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCapacityReservationAttributes func (c *EC2) ModifyInstanceCapacityReservationAttributesRequest(input *ModifyInstanceCapacityReservationAttributesInput) (req *request.Request, output *ModifyInstanceCapacityReservationAttributesOutput) { @@ -40052,14 +39515,13 @@ const opModifyInstanceCreditSpecification = "ModifyInstanceCreditSpecification" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyInstanceCreditSpecificationRequest method. +// req, resp := client.ModifyInstanceCreditSpecificationRequest(params) // -// // Example sending a request using the ModifyInstanceCreditSpecificationRequest method. -// req, resp := client.ModifyInstanceCreditSpecificationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCreditSpecification func (c *EC2) ModifyInstanceCreditSpecificationRequest(input *ModifyInstanceCreditSpecificationInput) (req *request.Request, output *ModifyInstanceCreditSpecificationOutput) { @@ -40130,14 +39592,13 @@ const opModifyInstanceEventStartTime = "ModifyInstanceEventStartTime" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyInstanceEventStartTimeRequest method. +// req, resp := client.ModifyInstanceEventStartTimeRequest(params) // -// // Example sending a request using the ModifyInstanceEventStartTimeRequest method. -// req, resp := client.ModifyInstanceEventStartTimeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceEventStartTime func (c *EC2) ModifyInstanceEventStartTimeRequest(input *ModifyInstanceEventStartTimeInput) (req *request.Request, output *ModifyInstanceEventStartTimeOutput) { @@ -40204,14 +39665,13 @@ const opModifyInstanceEventWindow = "ModifyInstanceEventWindow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyInstanceEventWindowRequest method. +// req, resp := client.ModifyInstanceEventWindowRequest(params) // -// // Example sending a request using the ModifyInstanceEventWindowRequest method. -// req, resp := client.ModifyInstanceEventWindowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceEventWindow func (c *EC2) ModifyInstanceEventWindowRequest(input *ModifyInstanceEventWindowInput) (req *request.Request, output *ModifyInstanceEventWindowOutput) { @@ -40290,14 +39750,13 @@ const opModifyInstanceMaintenanceOptions = "ModifyInstanceMaintenanceOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyInstanceMaintenanceOptionsRequest method. +// req, resp := client.ModifyInstanceMaintenanceOptionsRequest(params) // -// // Example sending a request using the ModifyInstanceMaintenanceOptionsRequest method. -// req, resp := client.ModifyInstanceMaintenanceOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMaintenanceOptions func (c *EC2) ModifyInstanceMaintenanceOptionsRequest(input *ModifyInstanceMaintenanceOptionsInput) (req *request.Request, output *ModifyInstanceMaintenanceOptionsOutput) { @@ -40367,14 +39826,13 @@ const opModifyInstanceMetadataOptions = "ModifyInstanceMetadataOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyInstanceMetadataOptionsRequest method. +// req, resp := client.ModifyInstanceMetadataOptionsRequest(params) // -// // Example sending a request using the ModifyInstanceMetadataOptionsRequest method. -// req, resp := client.ModifyInstanceMetadataOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceMetadataOptions func (c *EC2) ModifyInstanceMetadataOptionsRequest(input *ModifyInstanceMetadataOptionsInput) (req *request.Request, output *ModifyInstanceMetadataOptionsOutput) { @@ -40448,14 +39906,13 @@ const opModifyInstancePlacement = "ModifyInstancePlacement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyInstancePlacementRequest method. +// req, resp := client.ModifyInstancePlacementRequest(params) // -// // Example sending a request using the ModifyInstancePlacementRequest method. -// req, resp := client.ModifyInstancePlacementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstancePlacement func (c *EC2) ModifyInstancePlacementRequest(input *ModifyInstancePlacementInput) (req *request.Request, output *ModifyInstancePlacementOutput) { @@ -40479,17 +39936,17 @@ func (c *EC2) ModifyInstancePlacementRequest(input *ModifyInstancePlacementInput // Modifies the placement attributes for a specified instance. You can do the // following: // -// * Modify the affinity between an instance and a Dedicated Host (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html). -// When affinity is set to host and the instance is not associated with a -// specific Dedicated Host, the next time the instance is launched, it is -// automatically associated with the host on which it lands. If the instance -// is restarted or rebooted, this relationship persists. +// - Modify the affinity between an instance and a Dedicated Host (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/dedicated-hosts-overview.html). +// When affinity is set to host and the instance is not associated with a +// specific Dedicated Host, the next time the instance is launched, it is +// automatically associated with the host on which it lands. If the instance +// is restarted or rebooted, this relationship persists. // -// * Change the Dedicated Host with which an instance is associated. +// - Change the Dedicated Host with which an instance is associated. // -// * Change the instance tenancy of an instance. +// - Change the instance tenancy of an instance. // -// * Move an instance to or from a placement group (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html). +// - Move an instance to or from a placement group (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html). // // At least one attribute for affinity, host ID, tenancy, or placement group // name must be specified in the request. Affinity and tenancy can be modified @@ -40542,14 +39999,13 @@ const opModifyIpam = "ModifyIpam" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyIpamRequest method. +// req, resp := client.ModifyIpamRequest(params) // -// // Example sending a request using the ModifyIpamRequest method. -// req, resp := client.ModifyIpamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIpam func (c *EC2) ModifyIpamRequest(input *ModifyIpamInput) (req *request.Request, output *ModifyIpamOutput) { @@ -40616,14 +40072,13 @@ const opModifyIpamPool = "ModifyIpamPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyIpamPoolRequest method. +// req, resp := client.ModifyIpamPoolRequest(params) // -// // Example sending a request using the ModifyIpamPoolRequest method. -// req, resp := client.ModifyIpamPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIpamPool func (c *EC2) ModifyIpamPoolRequest(input *ModifyIpamPoolInput) (req *request.Request, output *ModifyIpamPoolOutput) { @@ -40693,14 +40148,13 @@ const opModifyIpamResourceCidr = "ModifyIpamResourceCidr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyIpamResourceCidrRequest method. +// req, resp := client.ModifyIpamResourceCidrRequest(params) // -// // Example sending a request using the ModifyIpamResourceCidrRequest method. -// req, resp := client.ModifyIpamResourceCidrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIpamResourceCidr func (c *EC2) ModifyIpamResourceCidrRequest(input *ModifyIpamResourceCidrInput) (req *request.Request, output *ModifyIpamResourceCidrOutput) { @@ -40775,14 +40229,13 @@ const opModifyIpamScope = "ModifyIpamScope" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyIpamScopeRequest method. +// req, resp := client.ModifyIpamScopeRequest(params) // -// // Example sending a request using the ModifyIpamScopeRequest method. -// req, resp := client.ModifyIpamScopeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyIpamScope func (c *EC2) ModifyIpamScopeRequest(input *ModifyIpamScopeInput) (req *request.Request, output *ModifyIpamScopeOutput) { @@ -40849,14 +40302,13 @@ const opModifyLaunchTemplate = "ModifyLaunchTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyLaunchTemplateRequest method. +// req, resp := client.ModifyLaunchTemplateRequest(params) // -// // Example sending a request using the ModifyLaunchTemplateRequest method. -// req, resp := client.ModifyLaunchTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyLaunchTemplate func (c *EC2) ModifyLaunchTemplateRequest(input *ModifyLaunchTemplateInput) (req *request.Request, output *ModifyLaunchTemplateOutput) { @@ -40925,14 +40377,13 @@ const opModifyManagedPrefixList = "ModifyManagedPrefixList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyManagedPrefixListRequest method. +// req, resp := client.ModifyManagedPrefixListRequest(params) // -// // Example sending a request using the ModifyManagedPrefixListRequest method. -// req, resp := client.ModifyManagedPrefixListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyManagedPrefixList func (c *EC2) ModifyManagedPrefixListRequest(input *ModifyManagedPrefixListInput) (req *request.Request, output *ModifyManagedPrefixListOutput) { @@ -41005,14 +40456,13 @@ const opModifyNetworkInterfaceAttribute = "ModifyNetworkInterfaceAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyNetworkInterfaceAttributeRequest method. +// req, resp := client.ModifyNetworkInterfaceAttributeRequest(params) // -// // Example sending a request using the ModifyNetworkInterfaceAttributeRequest method. -// req, resp := client.ModifyNetworkInterfaceAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyNetworkInterfaceAttribute func (c *EC2) ModifyNetworkInterfaceAttributeRequest(input *ModifyNetworkInterfaceAttributeInput) (req *request.Request, output *ModifyNetworkInterfaceAttributeOutput) { @@ -41082,14 +40532,13 @@ const opModifyPrivateDnsNameOptions = "ModifyPrivateDnsNameOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyPrivateDnsNameOptionsRequest method. +// req, resp := client.ModifyPrivateDnsNameOptionsRequest(params) // -// // Example sending a request using the ModifyPrivateDnsNameOptionsRequest method. -// req, resp := client.ModifyPrivateDnsNameOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyPrivateDnsNameOptions func (c *EC2) ModifyPrivateDnsNameOptionsRequest(input *ModifyPrivateDnsNameOptionsInput) (req *request.Request, output *ModifyPrivateDnsNameOptionsOutput) { @@ -41156,14 +40605,13 @@ const opModifyReservedInstances = "ModifyReservedInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyReservedInstancesRequest method. +// req, resp := client.ModifyReservedInstancesRequest(params) // -// // Example sending a request using the ModifyReservedInstancesRequest method. -// req, resp := client.ModifyReservedInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyReservedInstances func (c *EC2) ModifyReservedInstancesRequest(input *ModifyReservedInstancesInput) (req *request.Request, output *ModifyReservedInstancesOutput) { @@ -41236,14 +40684,13 @@ const opModifySecurityGroupRules = "ModifySecurityGroupRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifySecurityGroupRulesRequest method. +// req, resp := client.ModifySecurityGroupRulesRequest(params) // -// // Example sending a request using the ModifySecurityGroupRulesRequest method. -// req, resp := client.ModifySecurityGroupRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySecurityGroupRules func (c *EC2) ModifySecurityGroupRulesRequest(input *ModifySecurityGroupRulesInput) (req *request.Request, output *ModifySecurityGroupRulesOutput) { @@ -41310,14 +40757,13 @@ const opModifySnapshotAttribute = "ModifySnapshotAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifySnapshotAttributeRequest method. +// req, resp := client.ModifySnapshotAttributeRequest(params) // -// // Example sending a request using the ModifySnapshotAttributeRequest method. -// req, resp := client.ModifySnapshotAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySnapshotAttribute func (c *EC2) ModifySnapshotAttributeRequest(input *ModifySnapshotAttributeInput) (req *request.Request, output *ModifySnapshotAttributeOutput) { @@ -41398,14 +40844,13 @@ const opModifySnapshotTier = "ModifySnapshotTier" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifySnapshotTierRequest method. +// req, resp := client.ModifySnapshotTierRequest(params) // -// // Example sending a request using the ModifySnapshotTierRequest method. -// req, resp := client.ModifySnapshotTierRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySnapshotTier func (c *EC2) ModifySnapshotTierRequest(input *ModifySnapshotTierInput) (req *request.Request, output *ModifySnapshotTierOutput) { @@ -41477,14 +40922,13 @@ const opModifySpotFleetRequest = "ModifySpotFleetRequest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifySpotFleetRequestRequest method. +// req, resp := client.ModifySpotFleetRequestRequest(params) // -// // Example sending a request using the ModifySpotFleetRequestRequest method. -// req, resp := client.ModifySpotFleetRequestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySpotFleetRequest func (c *EC2) ModifySpotFleetRequestRequest(input *ModifySpotFleetRequestInput) (req *request.Request, output *ModifySpotFleetRequestOutput) { @@ -41580,14 +41024,13 @@ const opModifySubnetAttribute = "ModifySubnetAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifySubnetAttributeRequest method. +// req, resp := client.ModifySubnetAttributeRequest(params) // -// // Example sending a request using the ModifySubnetAttributeRequest method. -// req, resp := client.ModifySubnetAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifySubnetAttribute func (c *EC2) ModifySubnetAttributeRequest(input *ModifySubnetAttributeInput) (req *request.Request, output *ModifySubnetAttributeOutput) { @@ -41613,17 +41056,17 @@ func (c *EC2) ModifySubnetAttributeRequest(input *ModifySubnetAttributeInput) (r // // Use this action to modify subnets on Amazon Web Services Outposts. // -// * To modify a subnet on an Outpost rack, set both MapCustomerOwnedIpOnLaunch -// and CustomerOwnedIpv4Pool. These two parameters act as a single attribute. +// - To modify a subnet on an Outpost rack, set both MapCustomerOwnedIpOnLaunch +// and CustomerOwnedIpv4Pool. These two parameters act as a single attribute. // -// * To modify a subnet on an Outpost server, set either EnableLniAtDeviceIndex -// or DisableLniAtDeviceIndex. +// - To modify a subnet on an Outpost server, set either EnableLniAtDeviceIndex +// or DisableLniAtDeviceIndex. // // For more information about Amazon Web Services Outposts, see the following: // -// * Outpost servers (https://docs.aws.amazon.com/outposts/latest/userguide/how-servers-work.html) +// - Outpost servers (https://docs.aws.amazon.com/outposts/latest/userguide/how-servers-work.html) // -// * Outpost racks (https://docs.aws.amazon.com/outposts/latest/userguide/how-racks-work.html) +// - Outpost racks (https://docs.aws.amazon.com/outposts/latest/userguide/how-racks-work.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -41669,14 +41112,13 @@ const opModifyTrafficMirrorFilterNetworkServices = "ModifyTrafficMirrorFilterNet // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyTrafficMirrorFilterNetworkServicesRequest method. +// req, resp := client.ModifyTrafficMirrorFilterNetworkServicesRequest(params) // -// // Example sending a request using the ModifyTrafficMirrorFilterNetworkServicesRequest method. -// req, resp := client.ModifyTrafficMirrorFilterNetworkServicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTrafficMirrorFilterNetworkServices func (c *EC2) ModifyTrafficMirrorFilterNetworkServicesRequest(input *ModifyTrafficMirrorFilterNetworkServicesInput) (req *request.Request, output *ModifyTrafficMirrorFilterNetworkServicesOutput) { @@ -41750,14 +41192,13 @@ const opModifyTrafficMirrorFilterRule = "ModifyTrafficMirrorFilterRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyTrafficMirrorFilterRuleRequest method. +// req, resp := client.ModifyTrafficMirrorFilterRuleRequest(params) // -// // Example sending a request using the ModifyTrafficMirrorFilterRuleRequest method. -// req, resp := client.ModifyTrafficMirrorFilterRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTrafficMirrorFilterRule func (c *EC2) ModifyTrafficMirrorFilterRuleRequest(input *ModifyTrafficMirrorFilterRuleInput) (req *request.Request, output *ModifyTrafficMirrorFilterRuleOutput) { @@ -41827,14 +41268,13 @@ const opModifyTrafficMirrorSession = "ModifyTrafficMirrorSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyTrafficMirrorSessionRequest method. +// req, resp := client.ModifyTrafficMirrorSessionRequest(params) // -// // Example sending a request using the ModifyTrafficMirrorSessionRequest method. -// req, resp := client.ModifyTrafficMirrorSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTrafficMirrorSession func (c *EC2) ModifyTrafficMirrorSessionRequest(input *ModifyTrafficMirrorSessionInput) (req *request.Request, output *ModifyTrafficMirrorSessionOutput) { @@ -41901,14 +41341,13 @@ const opModifyTransitGateway = "ModifyTransitGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyTransitGatewayRequest method. +// req, resp := client.ModifyTransitGatewayRequest(params) // -// // Example sending a request using the ModifyTransitGatewayRequest method. -// req, resp := client.ModifyTransitGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGateway func (c *EC2) ModifyTransitGatewayRequest(input *ModifyTransitGatewayInput) (req *request.Request, output *ModifyTransitGatewayOutput) { @@ -41977,14 +41416,13 @@ const opModifyTransitGatewayPrefixListReference = "ModifyTransitGatewayPrefixLis // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyTransitGatewayPrefixListReferenceRequest method. +// req, resp := client.ModifyTransitGatewayPrefixListReferenceRequest(params) // -// // Example sending a request using the ModifyTransitGatewayPrefixListReferenceRequest method. -// req, resp := client.ModifyTransitGatewayPrefixListReferenceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayPrefixListReference func (c *EC2) ModifyTransitGatewayPrefixListReferenceRequest(input *ModifyTransitGatewayPrefixListReferenceInput) (req *request.Request, output *ModifyTransitGatewayPrefixListReferenceOutput) { @@ -42052,14 +41490,13 @@ const opModifyTransitGatewayVpcAttachment = "ModifyTransitGatewayVpcAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyTransitGatewayVpcAttachmentRequest method. +// req, resp := client.ModifyTransitGatewayVpcAttachmentRequest(params) // -// // Example sending a request using the ModifyTransitGatewayVpcAttachmentRequest method. -// req, resp := client.ModifyTransitGatewayVpcAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyTransitGatewayVpcAttachment func (c *EC2) ModifyTransitGatewayVpcAttachmentRequest(input *ModifyTransitGatewayVpcAttachmentInput) (req *request.Request, output *ModifyTransitGatewayVpcAttachmentOutput) { @@ -42126,14 +41563,13 @@ const opModifyVolume = "ModifyVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyVolumeRequest method. +// req, resp := client.ModifyVolumeRequest(params) // -// // Example sending a request using the ModifyVolumeRequest method. -// req, resp := client.ModifyVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolume func (c *EC2) ModifyVolumeRequest(input *ModifyVolumeInput) (req *request.Request, output *ModifyVolumeOutput) { @@ -42225,14 +41661,13 @@ const opModifyVolumeAttribute = "ModifyVolumeAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyVolumeAttributeRequest method. +// req, resp := client.ModifyVolumeAttributeRequest(params) // -// // Example sending a request using the ModifyVolumeAttributeRequest method. -// req, resp := client.ModifyVolumeAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeAttribute func (c *EC2) ModifyVolumeAttributeRequest(input *ModifyVolumeAttributeInput) (req *request.Request, output *ModifyVolumeAttributeOutput) { @@ -42309,14 +41744,13 @@ const opModifyVpcAttribute = "ModifyVpcAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyVpcAttributeRequest method. +// req, resp := client.ModifyVpcAttributeRequest(params) // -// // Example sending a request using the ModifyVpcAttributeRequest method. -// req, resp := client.ModifyVpcAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcAttribute func (c *EC2) ModifyVpcAttributeRequest(input *ModifyVpcAttributeInput) (req *request.Request, output *ModifyVpcAttributeOutput) { @@ -42384,14 +41818,13 @@ const opModifyVpcEndpoint = "ModifyVpcEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyVpcEndpointRequest method. +// req, resp := client.ModifyVpcEndpointRequest(params) // -// // Example sending a request using the ModifyVpcEndpointRequest method. -// req, resp := client.ModifyVpcEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpoint func (c *EC2) ModifyVpcEndpointRequest(input *ModifyVpcEndpointInput) (req *request.Request, output *ModifyVpcEndpointOutput) { @@ -42461,14 +41894,13 @@ const opModifyVpcEndpointConnectionNotification = "ModifyVpcEndpointConnectionNo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyVpcEndpointConnectionNotificationRequest method. +// req, resp := client.ModifyVpcEndpointConnectionNotificationRequest(params) // -// // Example sending a request using the ModifyVpcEndpointConnectionNotificationRequest method. -// req, resp := client.ModifyVpcEndpointConnectionNotificationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointConnectionNotification func (c *EC2) ModifyVpcEndpointConnectionNotificationRequest(input *ModifyVpcEndpointConnectionNotificationInput) (req *request.Request, output *ModifyVpcEndpointConnectionNotificationOutput) { @@ -42537,14 +41969,13 @@ const opModifyVpcEndpointServiceConfiguration = "ModifyVpcEndpointServiceConfigu // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyVpcEndpointServiceConfigurationRequest method. +// req, resp := client.ModifyVpcEndpointServiceConfigurationRequest(params) // -// // Example sending a request using the ModifyVpcEndpointServiceConfigurationRequest method. -// req, resp := client.ModifyVpcEndpointServiceConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServiceConfiguration func (c *EC2) ModifyVpcEndpointServiceConfigurationRequest(input *ModifyVpcEndpointServiceConfigurationInput) (req *request.Request, output *ModifyVpcEndpointServiceConfigurationOutput) { @@ -42617,14 +42048,13 @@ const opModifyVpcEndpointServicePayerResponsibility = "ModifyVpcEndpointServiceP // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyVpcEndpointServicePayerResponsibilityRequest method. +// req, resp := client.ModifyVpcEndpointServicePayerResponsibilityRequest(params) // -// // Example sending a request using the ModifyVpcEndpointServicePayerResponsibilityRequest method. -// req, resp := client.ModifyVpcEndpointServicePayerResponsibilityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePayerResponsibility func (c *EC2) ModifyVpcEndpointServicePayerResponsibilityRequest(input *ModifyVpcEndpointServicePayerResponsibilityInput) (req *request.Request, output *ModifyVpcEndpointServicePayerResponsibilityOutput) { @@ -42691,14 +42121,13 @@ const opModifyVpcEndpointServicePermissions = "ModifyVpcEndpointServicePermissio // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyVpcEndpointServicePermissionsRequest method. +// req, resp := client.ModifyVpcEndpointServicePermissionsRequest(params) // -// // Example sending a request using the ModifyVpcEndpointServicePermissionsRequest method. -// req, resp := client.ModifyVpcEndpointServicePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointServicePermissions func (c *EC2) ModifyVpcEndpointServicePermissionsRequest(input *ModifyVpcEndpointServicePermissionsInput) (req *request.Request, output *ModifyVpcEndpointServicePermissionsOutput) { @@ -42772,14 +42201,13 @@ const opModifyVpcPeeringConnectionOptions = "ModifyVpcPeeringConnectionOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyVpcPeeringConnectionOptionsRequest method. +// req, resp := client.ModifyVpcPeeringConnectionOptionsRequest(params) // -// // Example sending a request using the ModifyVpcPeeringConnectionOptionsRequest method. -// req, resp := client.ModifyVpcPeeringConnectionOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcPeeringConnectionOptions func (c *EC2) ModifyVpcPeeringConnectionOptionsRequest(input *ModifyVpcPeeringConnectionOptionsInput) (req *request.Request, output *ModifyVpcPeeringConnectionOptionsOutput) { @@ -42803,15 +42231,15 @@ func (c *EC2) ModifyVpcPeeringConnectionOptionsRequest(input *ModifyVpcPeeringCo // Modifies the VPC peering connection options on one side of a VPC peering // connection. You can do the following: // -// * Enable/disable communication over the peering connection between an -// EC2-Classic instance that's linked to your VPC (using ClassicLink) and -// instances in the peer VPC. +// - Enable/disable communication over the peering connection between an +// EC2-Classic instance that's linked to your VPC (using ClassicLink) and +// instances in the peer VPC. // -// * Enable/disable communication over the peering connection between instances -// in your VPC and an EC2-Classic instance that's linked to the peer VPC. +// - Enable/disable communication over the peering connection between instances +// in your VPC and an EC2-Classic instance that's linked to the peer VPC. // -// * Enable/disable the ability to resolve public DNS hostnames to private -// IP addresses when queried from instances in the peer VPC. +// - Enable/disable the ability to resolve public DNS hostnames to private +// IP addresses when queried from instances in the peer VPC. // // If the peered VPCs are in the same Amazon Web Services account, you can enable // DNS resolution for queries from the local VPC. This ensures that queries @@ -42870,14 +42298,13 @@ const opModifyVpcTenancy = "ModifyVpcTenancy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyVpcTenancyRequest method. +// req, resp := client.ModifyVpcTenancyRequest(params) // -// // Example sending a request using the ModifyVpcTenancyRequest method. -// req, resp := client.ModifyVpcTenancyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcTenancy func (c *EC2) ModifyVpcTenancyRequest(input *ModifyVpcTenancyInput) (req *request.Request, output *ModifyVpcTenancyOutput) { @@ -42953,14 +42380,13 @@ const opModifyVpnConnection = "ModifyVpnConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyVpnConnectionRequest method. +// req, resp := client.ModifyVpnConnectionRequest(params) // -// // Example sending a request using the ModifyVpnConnectionRequest method. -// req, resp := client.ModifyVpnConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnConnection func (c *EC2) ModifyVpnConnectionRequest(input *ModifyVpnConnectionInput) (req *request.Request, output *ModifyVpnConnectionOutput) { @@ -42985,13 +42411,13 @@ func (c *EC2) ModifyVpnConnectionRequest(input *ModifyVpnConnectionInput) (req * // Site-to-Site VPN connection. To modify the target gateway, the following // migration options are available: // -// * An existing virtual private gateway to a new virtual private gateway +// - An existing virtual private gateway to a new virtual private gateway // -// * An existing virtual private gateway to a transit gateway +// - An existing virtual private gateway to a transit gateway // -// * An existing transit gateway to a new transit gateway +// - An existing transit gateway to a new transit gateway // -// * An existing transit gateway to a virtual private gateway +// - An existing transit gateway to a virtual private gateway // // Before you perform the migration to the new gateway, you must configure the // new gateway. Use CreateVpnGateway to create a virtual private gateway, or @@ -43067,14 +42493,13 @@ const opModifyVpnConnectionOptions = "ModifyVpnConnectionOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyVpnConnectionOptionsRequest method. +// req, resp := client.ModifyVpnConnectionOptionsRequest(params) // -// // Example sending a request using the ModifyVpnConnectionOptionsRequest method. -// req, resp := client.ModifyVpnConnectionOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnConnectionOptions func (c *EC2) ModifyVpnConnectionOptionsRequest(input *ModifyVpnConnectionOptionsInput) (req *request.Request, output *ModifyVpnConnectionOptionsOutput) { @@ -43146,14 +42571,13 @@ const opModifyVpnTunnelCertificate = "ModifyVpnTunnelCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyVpnTunnelCertificateRequest method. +// req, resp := client.ModifyVpnTunnelCertificateRequest(params) // -// // Example sending a request using the ModifyVpnTunnelCertificateRequest method. -// req, resp := client.ModifyVpnTunnelCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelCertificate func (c *EC2) ModifyVpnTunnelCertificateRequest(input *ModifyVpnTunnelCertificateInput) (req *request.Request, output *ModifyVpnTunnelCertificateOutput) { @@ -43220,14 +42644,13 @@ const opModifyVpnTunnelOptions = "ModifyVpnTunnelOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyVpnTunnelOptionsRequest method. +// req, resp := client.ModifyVpnTunnelOptionsRequest(params) // -// // Example sending a request using the ModifyVpnTunnelOptionsRequest method. -// req, resp := client.ModifyVpnTunnelOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpnTunnelOptions func (c *EC2) ModifyVpnTunnelOptionsRequest(input *ModifyVpnTunnelOptionsInput) (req *request.Request, output *ModifyVpnTunnelOptionsOutput) { @@ -43299,14 +42722,13 @@ const opMonitorInstances = "MonitorInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MonitorInstancesRequest method. +// req, resp := client.MonitorInstancesRequest(params) // -// // Example sending a request using the MonitorInstancesRequest method. -// req, resp := client.MonitorInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MonitorInstances func (c *EC2) MonitorInstancesRequest(input *MonitorInstancesInput) (req *request.Request, output *MonitorInstancesOutput) { @@ -43378,14 +42800,13 @@ const opMoveAddressToVpc = "MoveAddressToVpc" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MoveAddressToVpcRequest method. +// req, resp := client.MoveAddressToVpcRequest(params) // -// // Example sending a request using the MoveAddressToVpcRequest method. -// req, resp := client.MoveAddressToVpcRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveAddressToVpc func (c *EC2) MoveAddressToVpcRequest(input *MoveAddressToVpcInput) (req *request.Request, output *MoveAddressToVpcOutput) { @@ -43458,14 +42879,13 @@ const opMoveByoipCidrToIpam = "MoveByoipCidrToIpam" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MoveByoipCidrToIpamRequest method. +// req, resp := client.MoveByoipCidrToIpamRequest(params) // -// // Example sending a request using the MoveByoipCidrToIpamRequest method. -// req, resp := client.MoveByoipCidrToIpamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MoveByoipCidrToIpam func (c *EC2) MoveByoipCidrToIpamRequest(input *MoveByoipCidrToIpamInput) (req *request.Request, output *MoveByoipCidrToIpamOutput) { @@ -43538,14 +42958,13 @@ const opProvisionByoipCidr = "ProvisionByoipCidr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ProvisionByoipCidrRequest method. +// req, resp := client.ProvisionByoipCidrRequest(params) // -// // Example sending a request using the ProvisionByoipCidrRequest method. -// req, resp := client.ProvisionByoipCidrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProvisionByoipCidr func (c *EC2) ProvisionByoipCidrRequest(input *ProvisionByoipCidrInput) (req *request.Request, output *ProvisionByoipCidrOutput) { @@ -43629,14 +43048,13 @@ const opProvisionIpamPoolCidr = "ProvisionIpamPoolCidr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ProvisionIpamPoolCidrRequest method. +// req, resp := client.ProvisionIpamPoolCidrRequest(params) // -// // Example sending a request using the ProvisionIpamPoolCidrRequest method. -// req, resp := client.ProvisionIpamPoolCidrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProvisionIpamPoolCidr func (c *EC2) ProvisionIpamPoolCidrRequest(input *ProvisionIpamPoolCidrInput) (req *request.Request, output *ProvisionIpamPoolCidrOutput) { @@ -43708,14 +43126,13 @@ const opProvisionPublicIpv4PoolCidr = "ProvisionPublicIpv4PoolCidr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ProvisionPublicIpv4PoolCidrRequest method. +// req, resp := client.ProvisionPublicIpv4PoolCidrRequest(params) // -// // Example sending a request using the ProvisionPublicIpv4PoolCidrRequest method. -// req, resp := client.ProvisionPublicIpv4PoolCidrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProvisionPublicIpv4PoolCidr func (c *EC2) ProvisionPublicIpv4PoolCidrRequest(input *ProvisionPublicIpv4PoolCidrInput) (req *request.Request, output *ProvisionPublicIpv4PoolCidrOutput) { @@ -43785,14 +43202,13 @@ const opPurchaseHostReservation = "PurchaseHostReservation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PurchaseHostReservationRequest method. +// req, resp := client.PurchaseHostReservationRequest(params) // -// // Example sending a request using the PurchaseHostReservationRequest method. -// req, resp := client.PurchaseHostReservationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseHostReservation func (c *EC2) PurchaseHostReservationRequest(input *PurchaseHostReservationInput) (req *request.Request, output *PurchaseHostReservationOutput) { @@ -43862,14 +43278,13 @@ const opPurchaseReservedInstancesOffering = "PurchaseReservedInstancesOffering" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PurchaseReservedInstancesOfferingRequest method. +// req, resp := client.PurchaseReservedInstancesOfferingRequest(params) // -// // Example sending a request using the PurchaseReservedInstancesOfferingRequest method. -// req, resp := client.PurchaseReservedInstancesOfferingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseReservedInstancesOffering func (c *EC2) PurchaseReservedInstancesOfferingRequest(input *PurchaseReservedInstancesOfferingInput) (req *request.Request, output *PurchaseReservedInstancesOfferingOutput) { @@ -43948,14 +43363,13 @@ const opPurchaseScheduledInstances = "PurchaseScheduledInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PurchaseScheduledInstancesRequest method. +// req, resp := client.PurchaseScheduledInstancesRequest(params) // -// // Example sending a request using the PurchaseScheduledInstancesRequest method. -// req, resp := client.PurchaseScheduledInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PurchaseScheduledInstances func (c *EC2) PurchaseScheduledInstancesRequest(input *PurchaseScheduledInstancesInput) (req *request.Request, output *PurchaseScheduledInstancesOutput) { @@ -44031,14 +43445,13 @@ const opRebootInstances = "RebootInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebootInstancesRequest method. +// req, resp := client.RebootInstancesRequest(params) // -// // Example sending a request using the RebootInstancesRequest method. -// req, resp := client.RebootInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RebootInstances func (c *EC2) RebootInstancesRequest(input *RebootInstancesInput) (req *request.Request, output *RebootInstancesOutput) { @@ -44116,14 +43529,13 @@ const opRegisterImage = "RegisterImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterImageRequest method. +// req, resp := client.RegisterImageRequest(params) // -// // Example sending a request using the RegisterImageRequest method. -// req, resp := client.RegisterImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterImage func (c *EC2) RegisterImageRequest(input *RegisterImageInput) (req *request.Request, output *RegisterImageOutput) { @@ -44157,7 +43569,7 @@ func (c *EC2) RegisterImageRequest(input *RegisterImageInput) (req *request.Requ // If you make changes to an image, deregister the previous image and register // the new image. // -// Register a snapshot of a root device volume +// # Register a snapshot of a root device volume // // You can use RegisterImage to create an Amazon EBS-backed Linux AMI from a // snapshot of a root device volume. You specify the snapshot using a block @@ -44169,7 +43581,7 @@ func (c *EC2) RegisterImageRequest(input *RegisterImageInput) (req *request.Requ // and Use encryption with Amazon EBS-backed AMIs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html) // in the Amazon Elastic Compute Cloud User Guide. // -// Amazon Web Services Marketplace product codes +// # Amazon Web Services Marketplace product codes // // If any snapshots have Amazon Web Services Marketplace product codes, they // are copied to the new AMI. @@ -44240,14 +43652,13 @@ const opRegisterInstanceEventNotificationAttributes = "RegisterInstanceEventNoti // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterInstanceEventNotificationAttributesRequest method. +// req, resp := client.RegisterInstanceEventNotificationAttributesRequest(params) // -// // Example sending a request using the RegisterInstanceEventNotificationAttributesRequest method. -// req, resp := client.RegisterInstanceEventNotificationAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterInstanceEventNotificationAttributes func (c *EC2) RegisterInstanceEventNotificationAttributesRequest(input *RegisterInstanceEventNotificationAttributesInput) (req *request.Request, output *RegisterInstanceEventNotificationAttributesOutput) { @@ -44317,14 +43728,13 @@ const opRegisterTransitGatewayMulticastGroupMembers = "RegisterTransitGatewayMul // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterTransitGatewayMulticastGroupMembersRequest method. +// req, resp := client.RegisterTransitGatewayMulticastGroupMembersRequest(params) // -// // Example sending a request using the RegisterTransitGatewayMulticastGroupMembersRequest method. -// req, resp := client.RegisterTransitGatewayMulticastGroupMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterTransitGatewayMulticastGroupMembers func (c *EC2) RegisterTransitGatewayMulticastGroupMembersRequest(input *RegisterTransitGatewayMulticastGroupMembersInput) (req *request.Request, output *RegisterTransitGatewayMulticastGroupMembersOutput) { @@ -44398,14 +43808,13 @@ const opRegisterTransitGatewayMulticastGroupSources = "RegisterTransitGatewayMul // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterTransitGatewayMulticastGroupSourcesRequest method. +// req, resp := client.RegisterTransitGatewayMulticastGroupSourcesRequest(params) // -// // Example sending a request using the RegisterTransitGatewayMulticastGroupSourcesRequest method. -// req, resp := client.RegisterTransitGatewayMulticastGroupSourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RegisterTransitGatewayMulticastGroupSources func (c *EC2) RegisterTransitGatewayMulticastGroupSourcesRequest(input *RegisterTransitGatewayMulticastGroupSourcesInput) (req *request.Request, output *RegisterTransitGatewayMulticastGroupSourcesOutput) { @@ -44481,14 +43890,13 @@ const opRejectTransitGatewayMulticastDomainAssociations = "RejectTransitGatewayM // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectTransitGatewayMulticastDomainAssociationsRequest method. +// req, resp := client.RejectTransitGatewayMulticastDomainAssociationsRequest(params) // -// // Example sending a request using the RejectTransitGatewayMulticastDomainAssociationsRequest method. -// req, resp := client.RejectTransitGatewayMulticastDomainAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectTransitGatewayMulticastDomainAssociations func (c *EC2) RejectTransitGatewayMulticastDomainAssociationsRequest(input *RejectTransitGatewayMulticastDomainAssociationsInput) (req *request.Request, output *RejectTransitGatewayMulticastDomainAssociationsOutput) { @@ -44556,14 +43964,13 @@ const opRejectTransitGatewayPeeringAttachment = "RejectTransitGatewayPeeringAtta // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectTransitGatewayPeeringAttachmentRequest method. +// req, resp := client.RejectTransitGatewayPeeringAttachmentRequest(params) // -// // Example sending a request using the RejectTransitGatewayPeeringAttachmentRequest method. -// req, resp := client.RejectTransitGatewayPeeringAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectTransitGatewayPeeringAttachment func (c *EC2) RejectTransitGatewayPeeringAttachmentRequest(input *RejectTransitGatewayPeeringAttachmentInput) (req *request.Request, output *RejectTransitGatewayPeeringAttachmentOutput) { @@ -44630,14 +44037,13 @@ const opRejectTransitGatewayVpcAttachment = "RejectTransitGatewayVpcAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectTransitGatewayVpcAttachmentRequest method. +// req, resp := client.RejectTransitGatewayVpcAttachmentRequest(params) // -// // Example sending a request using the RejectTransitGatewayVpcAttachmentRequest method. -// req, resp := client.RejectTransitGatewayVpcAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectTransitGatewayVpcAttachment func (c *EC2) RejectTransitGatewayVpcAttachmentRequest(input *RejectTransitGatewayVpcAttachmentInput) (req *request.Request, output *RejectTransitGatewayVpcAttachmentOutput) { @@ -44708,14 +44114,13 @@ const opRejectVpcEndpointConnections = "RejectVpcEndpointConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectVpcEndpointConnectionsRequest method. +// req, resp := client.RejectVpcEndpointConnectionsRequest(params) // -// // Example sending a request using the RejectVpcEndpointConnectionsRequest method. -// req, resp := client.RejectVpcEndpointConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcEndpointConnections func (c *EC2) RejectVpcEndpointConnectionsRequest(input *RejectVpcEndpointConnectionsInput) (req *request.Request, output *RejectVpcEndpointConnectionsOutput) { @@ -44783,14 +44188,13 @@ const opRejectVpcPeeringConnection = "RejectVpcPeeringConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectVpcPeeringConnectionRequest method. +// req, resp := client.RejectVpcPeeringConnectionRequest(params) // -// // Example sending a request using the RejectVpcPeeringConnectionRequest method. -// req, resp := client.RejectVpcPeeringConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectVpcPeeringConnection func (c *EC2) RejectVpcPeeringConnectionRequest(input *RejectVpcPeeringConnectionInput) (req *request.Request, output *RejectVpcPeeringConnectionOutput) { @@ -44861,14 +44265,13 @@ const opReleaseAddress = "ReleaseAddress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReleaseAddressRequest method. +// req, resp := client.ReleaseAddressRequest(params) // -// // Example sending a request using the ReleaseAddressRequest method. -// req, resp := client.ReleaseAddressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseAddress func (c *EC2) ReleaseAddressRequest(input *ReleaseAddressInput) (req *request.Request, output *ReleaseAddressOutput) { @@ -44953,14 +44356,13 @@ const opReleaseHosts = "ReleaseHosts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReleaseHostsRequest method. +// req, resp := client.ReleaseHostsRequest(params) // -// // Example sending a request using the ReleaseHostsRequest method. -// req, resp := client.ReleaseHostsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseHosts func (c *EC2) ReleaseHostsRequest(input *ReleaseHostsInput) (req *request.Request, output *ReleaseHostsOutput) { @@ -45037,14 +44439,13 @@ const opReleaseIpamPoolAllocation = "ReleaseIpamPoolAllocation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReleaseIpamPoolAllocationRequest method. +// req, resp := client.ReleaseIpamPoolAllocationRequest(params) // -// // Example sending a request using the ReleaseIpamPoolAllocationRequest method. -// req, resp := client.ReleaseIpamPoolAllocationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReleaseIpamPoolAllocation func (c *EC2) ReleaseIpamPoolAllocationRequest(input *ReleaseIpamPoolAllocationInput) (req *request.Request, output *ReleaseIpamPoolAllocationOutput) { @@ -45116,14 +44517,13 @@ const opReplaceIamInstanceProfileAssociation = "ReplaceIamInstanceProfileAssocia // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReplaceIamInstanceProfileAssociationRequest method. +// req, resp := client.ReplaceIamInstanceProfileAssociationRequest(params) // -// // Example sending a request using the ReplaceIamInstanceProfileAssociationRequest method. -// req, resp := client.ReplaceIamInstanceProfileAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceIamInstanceProfileAssociation func (c *EC2) ReplaceIamInstanceProfileAssociationRequest(input *ReplaceIamInstanceProfileAssociationInput) (req *request.Request, output *ReplaceIamInstanceProfileAssociationOutput) { @@ -45195,14 +44595,13 @@ const opReplaceNetworkAclAssociation = "ReplaceNetworkAclAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReplaceNetworkAclAssociationRequest method. +// req, resp := client.ReplaceNetworkAclAssociationRequest(params) // -// // Example sending a request using the ReplaceNetworkAclAssociationRequest method. -// req, resp := client.ReplaceNetworkAclAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclAssociation func (c *EC2) ReplaceNetworkAclAssociationRequest(input *ReplaceNetworkAclAssociationInput) (req *request.Request, output *ReplaceNetworkAclAssociationOutput) { @@ -45274,14 +44673,13 @@ const opReplaceNetworkAclEntry = "ReplaceNetworkAclEntry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReplaceNetworkAclEntryRequest method. +// req, resp := client.ReplaceNetworkAclEntryRequest(params) // -// // Example sending a request using the ReplaceNetworkAclEntryRequest method. -// req, resp := client.ReplaceNetworkAclEntryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceNetworkAclEntry func (c *EC2) ReplaceNetworkAclEntryRequest(input *ReplaceNetworkAclEntryInput) (req *request.Request, output *ReplaceNetworkAclEntryOutput) { @@ -45351,14 +44749,13 @@ const opReplaceRoute = "ReplaceRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReplaceRouteRequest method. +// req, resp := client.ReplaceRouteRequest(params) // -// // Example sending a request using the ReplaceRouteRequest method. -// req, resp := client.ReplaceRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRoute func (c *EC2) ReplaceRouteRequest(input *ReplaceRouteInput) (req *request.Request, output *ReplaceRouteOutput) { @@ -45432,14 +44829,13 @@ const opReplaceRouteTableAssociation = "ReplaceRouteTableAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReplaceRouteTableAssociationRequest method. +// req, resp := client.ReplaceRouteTableAssociationRequest(params) // -// // Example sending a request using the ReplaceRouteTableAssociationRequest method. -// req, resp := client.ReplaceRouteTableAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRouteTableAssociation func (c *EC2) ReplaceRouteTableAssociationRequest(input *ReplaceRouteTableAssociationInput) (req *request.Request, output *ReplaceRouteTableAssociationOutput) { @@ -45514,14 +44910,13 @@ const opReplaceTransitGatewayRoute = "ReplaceTransitGatewayRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReplaceTransitGatewayRouteRequest method. +// req, resp := client.ReplaceTransitGatewayRouteRequest(params) // -// // Example sending a request using the ReplaceTransitGatewayRouteRequest method. -// req, resp := client.ReplaceTransitGatewayRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceTransitGatewayRoute func (c *EC2) ReplaceTransitGatewayRouteRequest(input *ReplaceTransitGatewayRouteInput) (req *request.Request, output *ReplaceTransitGatewayRouteOutput) { @@ -45588,14 +44983,13 @@ const opReportInstanceStatus = "ReportInstanceStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReportInstanceStatusRequest method. +// req, resp := client.ReportInstanceStatusRequest(params) // -// // Example sending a request using the ReportInstanceStatusRequest method. -// req, resp := client.ReportInstanceStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReportInstanceStatus func (c *EC2) ReportInstanceStatusRequest(input *ReportInstanceStatusInput) (req *request.Request, output *ReportInstanceStatusOutput) { @@ -45669,14 +45063,13 @@ const opRequestSpotFleet = "RequestSpotFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RequestSpotFleetRequest method. +// req, resp := client.RequestSpotFleetRequest(params) // -// // Example sending a request using the RequestSpotFleetRequest method. -// req, resp := client.RequestSpotFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotFleet func (c *EC2) RequestSpotFleetRequest(input *RequestSpotFleetInput) (req *request.Request, output *RequestSpotFleetOutput) { @@ -45772,14 +45165,13 @@ const opRequestSpotInstances = "RequestSpotInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RequestSpotInstancesRequest method. +// req, resp := client.RequestSpotInstancesRequest(params) // -// // Example sending a request using the RequestSpotInstancesRequest method. -// req, resp := client.RequestSpotInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotInstances func (c *EC2) RequestSpotInstancesRequest(input *RequestSpotInstancesInput) (req *request.Request, output *RequestSpotInstancesOutput) { @@ -45854,14 +45246,13 @@ const opResetAddressAttribute = "ResetAddressAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetAddressAttributeRequest method. +// req, resp := client.ResetAddressAttributeRequest(params) // -// // Example sending a request using the ResetAddressAttributeRequest method. -// req, resp := client.ResetAddressAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetAddressAttribute func (c *EC2) ResetAddressAttributeRequest(input *ResetAddressAttributeInput) (req *request.Request, output *ResetAddressAttributeOutput) { @@ -45929,14 +45320,13 @@ const opResetEbsDefaultKmsKeyId = "ResetEbsDefaultKmsKeyId" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetEbsDefaultKmsKeyIdRequest method. +// req, resp := client.ResetEbsDefaultKmsKeyIdRequest(params) // -// // Example sending a request using the ResetEbsDefaultKmsKeyIdRequest method. -// req, resp := client.ResetEbsDefaultKmsKeyIdRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetEbsDefaultKmsKeyId func (c *EC2) ResetEbsDefaultKmsKeyIdRequest(input *ResetEbsDefaultKmsKeyIdInput) (req *request.Request, output *ResetEbsDefaultKmsKeyIdOutput) { @@ -46010,14 +45400,13 @@ const opResetFpgaImageAttribute = "ResetFpgaImageAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetFpgaImageAttributeRequest method. +// req, resp := client.ResetFpgaImageAttributeRequest(params) // -// // Example sending a request using the ResetFpgaImageAttributeRequest method. -// req, resp := client.ResetFpgaImageAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetFpgaImageAttribute func (c *EC2) ResetFpgaImageAttributeRequest(input *ResetFpgaImageAttributeInput) (req *request.Request, output *ResetFpgaImageAttributeOutput) { @@ -46085,14 +45474,13 @@ const opResetImageAttribute = "ResetImageAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetImageAttributeRequest method. +// req, resp := client.ResetImageAttributeRequest(params) // -// // Example sending a request using the ResetImageAttributeRequest method. -// req, resp := client.ResetImageAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetImageAttribute func (c *EC2) ResetImageAttributeRequest(input *ResetImageAttributeInput) (req *request.Request, output *ResetImageAttributeOutput) { @@ -46160,14 +45548,13 @@ const opResetInstanceAttribute = "ResetInstanceAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetInstanceAttributeRequest method. +// req, resp := client.ResetInstanceAttributeRequest(params) // -// // Example sending a request using the ResetInstanceAttributeRequest method. -// req, resp := client.ResetInstanceAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetInstanceAttribute func (c *EC2) ResetInstanceAttributeRequest(input *ResetInstanceAttributeInput) (req *request.Request, output *ResetInstanceAttributeOutput) { @@ -46243,14 +45630,13 @@ const opResetNetworkInterfaceAttribute = "ResetNetworkInterfaceAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetNetworkInterfaceAttributeRequest method. +// req, resp := client.ResetNetworkInterfaceAttributeRequest(params) // -// // Example sending a request using the ResetNetworkInterfaceAttributeRequest method. -// req, resp := client.ResetNetworkInterfaceAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetNetworkInterfaceAttribute func (c *EC2) ResetNetworkInterfaceAttributeRequest(input *ResetNetworkInterfaceAttributeInput) (req *request.Request, output *ResetNetworkInterfaceAttributeOutput) { @@ -46319,14 +45705,13 @@ const opResetSnapshotAttribute = "ResetSnapshotAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetSnapshotAttributeRequest method. +// req, resp := client.ResetSnapshotAttributeRequest(params) // -// // Example sending a request using the ResetSnapshotAttributeRequest method. -// req, resp := client.ResetSnapshotAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetSnapshotAttribute func (c *EC2) ResetSnapshotAttributeRequest(input *ResetSnapshotAttributeInput) (req *request.Request, output *ResetSnapshotAttributeOutput) { @@ -46398,14 +45783,13 @@ const opRestoreAddressToClassic = "RestoreAddressToClassic" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreAddressToClassicRequest method. +// req, resp := client.RestoreAddressToClassicRequest(params) // -// // Example sending a request using the RestoreAddressToClassicRequest method. -// req, resp := client.RestoreAddressToClassicRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreAddressToClassic func (c *EC2) RestoreAddressToClassicRequest(input *RestoreAddressToClassicInput) (req *request.Request, output *RestoreAddressToClassicOutput) { @@ -46475,14 +45859,13 @@ const opRestoreImageFromRecycleBin = "RestoreImageFromRecycleBin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreImageFromRecycleBinRequest method. +// req, resp := client.RestoreImageFromRecycleBinRequest(params) // -// // Example sending a request using the RestoreImageFromRecycleBinRequest method. -// req, resp := client.RestoreImageFromRecycleBinRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreImageFromRecycleBin func (c *EC2) RestoreImageFromRecycleBinRequest(input *RestoreImageFromRecycleBinInput) (req *request.Request, output *RestoreImageFromRecycleBinOutput) { @@ -46551,14 +45934,13 @@ const opRestoreManagedPrefixListVersion = "RestoreManagedPrefixListVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreManagedPrefixListVersionRequest method. +// req, resp := client.RestoreManagedPrefixListVersionRequest(params) // -// // Example sending a request using the RestoreManagedPrefixListVersionRequest method. -// req, resp := client.RestoreManagedPrefixListVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreManagedPrefixListVersion func (c *EC2) RestoreManagedPrefixListVersionRequest(input *RestoreManagedPrefixListVersionInput) (req *request.Request, output *RestoreManagedPrefixListVersionOutput) { @@ -46626,14 +46008,13 @@ const opRestoreSnapshotFromRecycleBin = "RestoreSnapshotFromRecycleBin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreSnapshotFromRecycleBinRequest method. +// req, resp := client.RestoreSnapshotFromRecycleBinRequest(params) // -// // Example sending a request using the RestoreSnapshotFromRecycleBinRequest method. -// req, resp := client.RestoreSnapshotFromRecycleBinRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreSnapshotFromRecycleBin func (c *EC2) RestoreSnapshotFromRecycleBinRequest(input *RestoreSnapshotFromRecycleBinInput) (req *request.Request, output *RestoreSnapshotFromRecycleBinOutput) { @@ -46702,14 +46083,13 @@ const opRestoreSnapshotTier = "RestoreSnapshotTier" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreSnapshotTierRequest method. +// req, resp := client.RestoreSnapshotTierRequest(params) // -// // Example sending a request using the RestoreSnapshotTierRequest method. -// req, resp := client.RestoreSnapshotTierRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RestoreSnapshotTier func (c *EC2) RestoreSnapshotTierRequest(input *RestoreSnapshotTierInput) (req *request.Request, output *RestoreSnapshotTierOutput) { @@ -46783,14 +46163,13 @@ const opRevokeClientVpnIngress = "RevokeClientVpnIngress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeClientVpnIngressRequest method. +// req, resp := client.RevokeClientVpnIngressRequest(params) // -// // Example sending a request using the RevokeClientVpnIngressRequest method. -// req, resp := client.RevokeClientVpnIngressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeClientVpnIngress func (c *EC2) RevokeClientVpnIngressRequest(input *RevokeClientVpnIngressInput) (req *request.Request, output *RevokeClientVpnIngressOutput) { @@ -46857,14 +46236,13 @@ const opRevokeSecurityGroupEgress = "RevokeSecurityGroupEgress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeSecurityGroupEgressRequest method. +// req, resp := client.RevokeSecurityGroupEgressRequest(params) // -// // Example sending a request using the RevokeSecurityGroupEgressRequest method. -// req, resp := client.RevokeSecurityGroupEgressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupEgress func (c *EC2) RevokeSecurityGroupEgressRequest(input *RevokeSecurityGroupEgressInput) (req *request.Request, output *RevokeSecurityGroupEgressOutput) { @@ -46952,14 +46330,13 @@ const opRevokeSecurityGroupIngress = "RevokeSecurityGroupIngress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeSecurityGroupIngressRequest method. +// req, resp := client.RevokeSecurityGroupIngressRequest(params) // -// // Example sending a request using the RevokeSecurityGroupIngressRequest method. -// req, resp := client.RevokeSecurityGroupIngressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RevokeSecurityGroupIngress func (c *EC2) RevokeSecurityGroupIngressRequest(input *RevokeSecurityGroupIngressInput) (req *request.Request, output *RevokeSecurityGroupIngressOutput) { @@ -47045,14 +46422,13 @@ const opRunInstances = "RunInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RunInstancesRequest method. +// req, resp := client.RunInstancesRequest(params) // -// // Example sending a request using the RunInstancesRequest method. -// req, resp := client.RunInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunInstances func (c *EC2) RunInstancesRequest(input *RunInstancesInput) (req *request.Request, output *Reservation) { @@ -47079,29 +46455,29 @@ func (c *EC2) RunInstancesRequest(input *RunInstancesInput) (req *request.Reques // You can specify a number of options, or leave the default options. The following // rules apply: // -// * [EC2-VPC] If you don't specify a subnet ID, we choose a default subnet -// from your default VPC for you. If you don't have a default VPC, you must -// specify a subnet ID in the request. +// - [EC2-VPC] If you don't specify a subnet ID, we choose a default subnet +// from your default VPC for you. If you don't have a default VPC, you must +// specify a subnet ID in the request. // -// * [EC2-Classic] If don't specify an Availability Zone, we choose one for -// you. +// - [EC2-Classic] If don't specify an Availability Zone, we choose one for +// you. // -// * Some instance types must be launched into a VPC. If you do not have -// a default VPC, or if you do not specify a subnet ID, the request fails. -// For more information, see Instance types available only in a VPC (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-vpc.html#vpc-only-instance-types). +// - Some instance types must be launched into a VPC. If you do not have +// a default VPC, or if you do not specify a subnet ID, the request fails. +// For more information, see Instance types available only in a VPC (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-vpc.html#vpc-only-instance-types). // -// * [EC2-VPC] All instances have a network interface with a primary private -// IPv4 address. If you don't specify this address, we choose one from the -// IPv4 range of your subnet. +// - [EC2-VPC] All instances have a network interface with a primary private +// IPv4 address. If you don't specify this address, we choose one from the +// IPv4 range of your subnet. // -// * Not all instance types support IPv6 addresses. For more information, -// see Instance types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html). +// - Not all instance types support IPv6 addresses. For more information, +// see Instance types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html). // -// * If you don't specify a security group ID, we use the default security -// group. For more information, see Security groups (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html). +// - If you don't specify a security group ID, we use the default security +// group. For more information, see Security groups (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html). // -// * If any of the AMIs have a product code attached for which the user has -// not subscribed, the request fails. +// - If any of the AMIs have a product code attached for which the user has +// not subscribed, the request fails. // // You can create a launch template (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html), // which is a resource that contains the parameters to launch an instance. When @@ -47170,14 +46546,13 @@ const opRunScheduledInstances = "RunScheduledInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RunScheduledInstancesRequest method. +// req, resp := client.RunScheduledInstancesRequest(params) // -// // Example sending a request using the RunScheduledInstancesRequest method. -// req, resp := client.RunScheduledInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RunScheduledInstances func (c *EC2) RunScheduledInstancesRequest(input *RunScheduledInstancesInput) (req *request.Request, output *RunScheduledInstancesOutput) { @@ -47254,14 +46629,13 @@ const opSearchLocalGatewayRoutes = "SearchLocalGatewayRoutes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchLocalGatewayRoutesRequest method. +// req, resp := client.SearchLocalGatewayRoutesRequest(params) // -// // Example sending a request using the SearchLocalGatewayRoutesRequest method. -// req, resp := client.SearchLocalGatewayRoutesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SearchLocalGatewayRoutes func (c *EC2) SearchLocalGatewayRoutesRequest(input *SearchLocalGatewayRoutesInput) (req *request.Request, output *SearchLocalGatewayRoutesOutput) { @@ -47326,15 +46700,14 @@ func (c *EC2) SearchLocalGatewayRoutesWithContext(ctx aws.Context, input *Search // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchLocalGatewayRoutes operation. -// pageNum := 0 -// err := client.SearchLocalGatewayRoutesPages(params, -// func(page *ec2.SearchLocalGatewayRoutesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchLocalGatewayRoutes operation. +// pageNum := 0 +// err := client.SearchLocalGatewayRoutesPages(params, +// func(page *ec2.SearchLocalGatewayRoutesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) SearchLocalGatewayRoutesPages(input *SearchLocalGatewayRoutesInput, fn func(*SearchLocalGatewayRoutesOutput, bool) bool) error { return c.SearchLocalGatewayRoutesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -47386,14 +46759,13 @@ const opSearchTransitGatewayMulticastGroups = "SearchTransitGatewayMulticastGrou // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchTransitGatewayMulticastGroupsRequest method. +// req, resp := client.SearchTransitGatewayMulticastGroupsRequest(params) // -// // Example sending a request using the SearchTransitGatewayMulticastGroupsRequest method. -// req, resp := client.SearchTransitGatewayMulticastGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SearchTransitGatewayMulticastGroups func (c *EC2) SearchTransitGatewayMulticastGroupsRequest(input *SearchTransitGatewayMulticastGroupsInput) (req *request.Request, output *SearchTransitGatewayMulticastGroupsOutput) { @@ -47459,15 +46831,14 @@ func (c *EC2) SearchTransitGatewayMulticastGroupsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchTransitGatewayMulticastGroups operation. -// pageNum := 0 -// err := client.SearchTransitGatewayMulticastGroupsPages(params, -// func(page *ec2.SearchTransitGatewayMulticastGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchTransitGatewayMulticastGroups operation. +// pageNum := 0 +// err := client.SearchTransitGatewayMulticastGroupsPages(params, +// func(page *ec2.SearchTransitGatewayMulticastGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EC2) SearchTransitGatewayMulticastGroupsPages(input *SearchTransitGatewayMulticastGroupsInput, fn func(*SearchTransitGatewayMulticastGroupsOutput, bool) bool) error { return c.SearchTransitGatewayMulticastGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -47519,14 +46890,13 @@ const opSearchTransitGatewayRoutes = "SearchTransitGatewayRoutes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchTransitGatewayRoutesRequest method. +// req, resp := client.SearchTransitGatewayRoutesRequest(params) // -// // Example sending a request using the SearchTransitGatewayRoutesRequest method. -// req, resp := client.SearchTransitGatewayRoutesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SearchTransitGatewayRoutes func (c *EC2) SearchTransitGatewayRoutesRequest(input *SearchTransitGatewayRoutesInput) (req *request.Request, output *SearchTransitGatewayRoutesOutput) { @@ -47593,14 +46963,13 @@ const opSendDiagnosticInterrupt = "SendDiagnosticInterrupt" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendDiagnosticInterruptRequest method. +// req, resp := client.SendDiagnosticInterruptRequest(params) // -// // Example sending a request using the SendDiagnosticInterruptRequest method. -// req, resp := client.SendDiagnosticInterruptRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/SendDiagnosticInterrupt func (c *EC2) SendDiagnosticInterruptRequest(input *SendDiagnosticInterruptInput) (req *request.Request, output *SendDiagnosticInterruptOutput) { @@ -47685,14 +47054,13 @@ const opStartInstances = "StartInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartInstancesRequest method. +// req, resp := client.StartInstancesRequest(params) // -// // Example sending a request using the StartInstancesRequest method. -// req, resp := client.StartInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartInstances func (c *EC2) StartInstancesRequest(input *StartInstancesInput) (req *request.Request, output *StartInstancesOutput) { @@ -47782,14 +47150,13 @@ const opStartNetworkInsightsAccessScopeAnalysis = "StartNetworkInsightsAccessSco // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartNetworkInsightsAccessScopeAnalysisRequest method. +// req, resp := client.StartNetworkInsightsAccessScopeAnalysisRequest(params) // -// // Example sending a request using the StartNetworkInsightsAccessScopeAnalysisRequest method. -// req, resp := client.StartNetworkInsightsAccessScopeAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartNetworkInsightsAccessScopeAnalysis func (c *EC2) StartNetworkInsightsAccessScopeAnalysisRequest(input *StartNetworkInsightsAccessScopeAnalysisInput) (req *request.Request, output *StartNetworkInsightsAccessScopeAnalysisOutput) { @@ -47856,14 +47223,13 @@ const opStartNetworkInsightsAnalysis = "StartNetworkInsightsAnalysis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartNetworkInsightsAnalysisRequest method. +// req, resp := client.StartNetworkInsightsAnalysisRequest(params) // -// // Example sending a request using the StartNetworkInsightsAnalysisRequest method. -// req, resp := client.StartNetworkInsightsAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartNetworkInsightsAnalysis func (c *EC2) StartNetworkInsightsAnalysisRequest(input *StartNetworkInsightsAnalysisInput) (req *request.Request, output *StartNetworkInsightsAnalysisOutput) { @@ -47931,14 +47297,13 @@ const opStartVpcEndpointServicePrivateDnsVerification = "StartVpcEndpointService // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartVpcEndpointServicePrivateDnsVerificationRequest method. +// req, resp := client.StartVpcEndpointServicePrivateDnsVerificationRequest(params) // -// // Example sending a request using the StartVpcEndpointServicePrivateDnsVerificationRequest method. -// req, resp := client.StartVpcEndpointServicePrivateDnsVerificationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartVpcEndpointServicePrivateDnsVerification func (c *EC2) StartVpcEndpointServicePrivateDnsVerificationRequest(input *StartVpcEndpointServicePrivateDnsVerificationInput) (req *request.Request, output *StartVpcEndpointServicePrivateDnsVerificationOutput) { @@ -48012,14 +47377,13 @@ const opStopInstances = "StopInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopInstancesRequest method. +// req, resp := client.StopInstancesRequest(params) // -// // Example sending a request using the StopInstancesRequest method. -// req, resp := client.StopInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StopInstances func (c *EC2) StopInstancesRequest(input *StopInstancesInput) (req *request.Request, output *StopInstancesOutput) { @@ -48128,14 +47492,13 @@ const opTerminateClientVpnConnections = "TerminateClientVpnConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TerminateClientVpnConnectionsRequest method. +// req, resp := client.TerminateClientVpnConnectionsRequest(params) // -// // Example sending a request using the TerminateClientVpnConnectionsRequest method. -// req, resp := client.TerminateClientVpnConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TerminateClientVpnConnections func (c *EC2) TerminateClientVpnConnectionsRequest(input *TerminateClientVpnConnectionsInput) (req *request.Request, output *TerminateClientVpnConnectionsOutput) { @@ -48204,14 +47567,13 @@ const opTerminateInstances = "TerminateInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TerminateInstancesRequest method. +// req, resp := client.TerminateInstancesRequest(params) // -// // Example sending a request using the TerminateInstancesRequest method. -// req, resp := client.TerminateInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/TerminateInstances func (c *EC2) TerminateInstancesRequest(input *TerminateInstancesInput) (req *request.Request, output *TerminateInstancesOutput) { @@ -48242,31 +47604,31 @@ func (c *EC2) TerminateInstancesRequest(input *TerminateInstancesInput) (req *re // one or more of the specified instances are enabled for termination protection, // the request fails with the following results: // -// * The specified instances that are in the same Availability Zone as the -// protected instance are not terminated. +// - The specified instances that are in the same Availability Zone as the +// protected instance are not terminated. // -// * The specified instances that are in different Availability Zones, where -// no other specified instances are protected, are successfully terminated. +// - The specified instances that are in different Availability Zones, where +// no other specified instances are protected, are successfully terminated. // // For example, say you have the following instances: // -// * Instance A: us-east-1a; Not protected +// - Instance A: us-east-1a; Not protected // -// * Instance B: us-east-1a; Not protected +// - Instance B: us-east-1a; Not protected // -// * Instance C: us-east-1b; Protected +// - Instance C: us-east-1b; Protected // -// * Instance D: us-east-1b; not protected +// - Instance D: us-east-1b; not protected // // If you attempt to terminate all of these instances in the same request, the // request reports failure with the following results: // -// * Instance A and Instance B are successfully terminated because none of -// the specified instances in us-east-1a are enabled for termination protection. +// - Instance A and Instance B are successfully terminated because none of +// the specified instances in us-east-1a are enabled for termination protection. // -// * Instance C and Instance D fail to terminate because at least one of -// the specified instances in us-east-1b (Instance C) is enabled for termination -// protection. +// - Instance C and Instance D fail to terminate because at least one of +// the specified instances in us-east-1b (Instance C) is enabled for termination +// protection. // // Terminated instances remain visible after termination (for approximately // one hour). @@ -48332,14 +47694,13 @@ const opUnassignIpv6Addresses = "UnassignIpv6Addresses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnassignIpv6AddressesRequest method. +// req, resp := client.UnassignIpv6AddressesRequest(params) // -// // Example sending a request using the UnassignIpv6AddressesRequest method. -// req, resp := client.UnassignIpv6AddressesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignIpv6Addresses func (c *EC2) UnassignIpv6AddressesRequest(input *UnassignIpv6AddressesInput) (req *request.Request, output *UnassignIpv6AddressesOutput) { @@ -48407,14 +47768,13 @@ const opUnassignPrivateIpAddresses = "UnassignPrivateIpAddresses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnassignPrivateIpAddressesRequest method. +// req, resp := client.UnassignPrivateIpAddressesRequest(params) // -// // Example sending a request using the UnassignPrivateIpAddressesRequest method. -// req, resp := client.UnassignPrivateIpAddressesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnassignPrivateIpAddresses func (c *EC2) UnassignPrivateIpAddressesRequest(input *UnassignPrivateIpAddressesInput) (req *request.Request, output *UnassignPrivateIpAddressesOutput) { @@ -48483,14 +47843,13 @@ const opUnmonitorInstances = "UnmonitorInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnmonitorInstancesRequest method. +// req, resp := client.UnmonitorInstancesRequest(params) // -// // Example sending a request using the UnmonitorInstancesRequest method. -// req, resp := client.UnmonitorInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnmonitorInstances func (c *EC2) UnmonitorInstancesRequest(input *UnmonitorInstancesInput) (req *request.Request, output *UnmonitorInstancesOutput) { @@ -48559,14 +47918,13 @@ const opUpdateSecurityGroupRuleDescriptionsEgress = "UpdateSecurityGroupRuleDesc // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSecurityGroupRuleDescriptionsEgressRequest method. +// req, resp := client.UpdateSecurityGroupRuleDescriptionsEgressRequest(params) // -// // Example sending a request using the UpdateSecurityGroupRuleDescriptionsEgressRequest method. -// req, resp := client.UpdateSecurityGroupRuleDescriptionsEgressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsEgress func (c *EC2) UpdateSecurityGroupRuleDescriptionsEgressRequest(input *UpdateSecurityGroupRuleDescriptionsEgressInput) (req *request.Request, output *UpdateSecurityGroupRuleDescriptionsEgressOutput) { @@ -48636,14 +47994,13 @@ const opUpdateSecurityGroupRuleDescriptionsIngress = "UpdateSecurityGroupRuleDes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSecurityGroupRuleDescriptionsIngressRequest method. +// req, resp := client.UpdateSecurityGroupRuleDescriptionsIngressRequest(params) // -// // Example sending a request using the UpdateSecurityGroupRuleDescriptionsIngressRequest method. -// req, resp := client.UpdateSecurityGroupRuleDescriptionsIngressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UpdateSecurityGroupRuleDescriptionsIngress func (c *EC2) UpdateSecurityGroupRuleDescriptionsIngressRequest(input *UpdateSecurityGroupRuleDescriptionsIngressInput) (req *request.Request, output *UpdateSecurityGroupRuleDescriptionsIngressOutput) { @@ -48713,14 +48070,13 @@ const opWithdrawByoipCidr = "WithdrawByoipCidr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the WithdrawByoipCidrRequest method. +// req, resp := client.WithdrawByoipCidrRequest(params) // -// // Example sending a request using the WithdrawByoipCidrRequest method. -// req, resp := client.WithdrawByoipCidrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/WithdrawByoipCidr func (c *EC2) WithdrawByoipCidrRequest(input *WithdrawByoipCidrInput) (req *request.Request, output *WithdrawByoipCidrOutput) { @@ -148173,13 +147529,13 @@ func (s *SecurityGroupRuleDescription) SetSecurityGroupRuleId(v string) *Securit // You must specify exactly one of the following parameters, based on the rule // type: // -// * CidrIpv4 +// - CidrIpv4 // -// * CidrIpv6 +// - CidrIpv6 // -// * PrefixListId +// - PrefixListId // -// * ReferencedGroupId +// - ReferencedGroupId // // When you modify a rule, you cannot change the rule type. For example, if // the rule uses an IPv4 address range, you must use CidrIpv4 to specify a new @@ -156885,7 +156241,6 @@ func (s *TransitGatewayVpcAttachmentOptions) SetIpv6Support(v string) *TransitGa return s } -// // Currently available in limited preview only. If you are interested in using // this feature, contact your account manager. // diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/doc.go index 0e3a875f2b40..d563a9fb230f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/doc.go @@ -16,24 +16,24 @@ // // To learn more, see the following resources: // -// * Amazon EC2: AmazonEC2 product page (http://aws.amazon.com/ec2), Amazon -// EC2 documentation (http://aws.amazon.com/documentation/ec2) +// - Amazon EC2: AmazonEC2 product page (http://aws.amazon.com/ec2), Amazon +// EC2 documentation (http://aws.amazon.com/documentation/ec2) // -// * Amazon EBS: Amazon EBS product page (http://aws.amazon.com/ebs), Amazon -// EBS documentation (http://aws.amazon.com/documentation/ebs) +// - Amazon EBS: Amazon EBS product page (http://aws.amazon.com/ebs), Amazon +// EBS documentation (http://aws.amazon.com/documentation/ebs) // -// * Amazon VPC: Amazon VPC product page (http://aws.amazon.com/vpc), Amazon -// VPC documentation (http://aws.amazon.com/documentation/vpc) +// - Amazon VPC: Amazon VPC product page (http://aws.amazon.com/vpc), Amazon +// VPC documentation (http://aws.amazon.com/documentation/vpc) // -// * Amazon Web Services VPN: Amazon Web Services VPN product page (http://aws.amazon.com/vpn), -// Amazon Web Services VPN documentation (http://aws.amazon.com/documentation/vpn) +// - Amazon Web Services VPN: Amazon Web Services VPN product page (http://aws.amazon.com/vpn), +// Amazon Web Services VPN documentation (http://aws.amazon.com/documentation/vpn) // // See https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15 for more information on this service. // // See ec2 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ec2/ // -// Using the Client +// # Using the Client // // To contact Amazon Elastic Compute Cloud with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/ec2iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/ec2iface/interface.go index 1354ded35730..eb2aa1d266d7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/ec2iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/ec2iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Elastic Compute Cloud. -// func myFunc(svc ec2iface.EC2API) bool { -// // Make svc.AcceptReservedInstancesExchangeQuote request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Elastic Compute Cloud. +// func myFunc(svc ec2iface.EC2API) bool { +// // Make svc.AcceptReservedInstancesExchangeQuote request +// } // -// func main() { -// sess := session.New() -// svc := ec2.New(sess) +// func main() { +// sess := session.New() +// svc := ec2.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockEC2Client struct { -// ec2iface.EC2API -// } -// func (m *mockEC2Client) AcceptReservedInstancesExchangeQuote(input *ec2.AcceptReservedInstancesExchangeQuoteInput) (*ec2.AcceptReservedInstancesExchangeQuoteOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockEC2Client struct { +// ec2iface.EC2API +// } +// func (m *mockEC2Client) AcceptReservedInstancesExchangeQuote(input *ec2.AcceptReservedInstancesExchangeQuoteInput) (*ec2.AcceptReservedInstancesExchangeQuoteOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockEC2Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockEC2Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/examples_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/examples_test.go index 0710fa287d51..fa38af2697bf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/examples_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/examples_test.go @@ -399,8 +399,8 @@ func ExampleEC2_AttachNetworkInterface_shared00() { // To attach a volume to an instance // -// This example attaches a volume (``vol-1234567890abcdef0``) to an instance (``i-01474ef662b89480``) -// as ``/dev/sdf``. +// This example attaches a volume (“vol-1234567890abcdef0“) to an instance (“i-01474ef662b89480“) +// as “/dev/sdf“. func ExampleEC2_AttachVolume_shared00() { svc := ec2.New(session.New()) input := &ec2.AttachVolumeInput{ @@ -784,8 +784,8 @@ func ExampleEC2_CopyImage_shared00() { // To copy a snapshot // -// This example copies a snapshot with the snapshot ID of ``snap-066877671789bd71b`` -// from the ``us-west-2`` region to the ``us-east-1`` region and adds a short description +// This example copies a snapshot with the snapshot ID of “snap-066877671789bd71b“ +// from the “us-west-2“ region to the “us-east-1“ region and adds a short description // to identify the snapshot. func ExampleEC2_CopySnapshot_shared00() { svc := ec2.New(session.New()) @@ -1301,7 +1301,7 @@ func ExampleEC2_CreateSecurityGroup_shared00() { // To create a snapshot // -// This example creates a snapshot of the volume with a volume ID of ``vol-1234567890abcdef0`` +// This example creates a snapshot of the volume with a volume ID of “vol-1234567890abcdef0“ // and a short description to identify the snapshot. func ExampleEC2_CreateSnapshot_shared00() { svc := ec2.New(session.New()) @@ -1424,7 +1424,7 @@ func ExampleEC2_CreateTags_shared00() { // To create a new volume // // This example creates an 80 GiB General Purpose (SSD) volume in the Availability Zone -// ``us-east-1a``. +// “us-east-1a“. func ExampleEC2_CreateVolume_shared00() { svc := ec2.New(session.New()) input := &ec2.CreateVolumeInput{ @@ -1454,7 +1454,7 @@ func ExampleEC2_CreateVolume_shared00() { // To create a new Provisioned IOPS (SSD) volume from a snapshot // // This example creates a new Provisioned IOPS (SSD) volume with 1000 provisioned IOPS -// from a snapshot in the Availability Zone ``us-east-1a``. +// from a snapshot in the Availability Zone “us-east-1a“. func ExampleEC2_CreateVolume_shared01() { svc := ec2.New(session.New()) input := &ec2.CreateVolumeInput{ @@ -1895,7 +1895,7 @@ func ExampleEC2_DeleteSecurityGroup_shared00() { // To delete a snapshot // -// This example deletes a snapshot with the snapshot ID of ``snap-1234567890abcdef0``. +// This example deletes a snapshot with the snapshot ID of “snap-1234567890abcdef0“. // If the command succeeds, no output is returned. func ExampleEC2_DeleteSnapshot_shared00() { svc := ec2.New(session.New()) @@ -2010,7 +2010,7 @@ func ExampleEC2_DeleteTags_shared00() { // To delete a volume // -// This example deletes an available volume with the volume ID of ``vol-049df61146c4d7901``. +// This example deletes an available volume with the volume ID of “vol-049df61146c4d7901“. // If the command succeeds, no output is returned. func ExampleEC2_DeleteVolume_shared00() { svc := ec2.New(session.New()) @@ -2410,7 +2410,7 @@ func ExampleEC2_DescribeInstanceAttribute_shared00() { // To describe the disableApiTermination attribute // -// This example describes the ``disableApiTermination`` attribute of the specified instance. +// This example describes the “disableApiTermination“ attribute of the specified instance. func ExampleEC2_DescribeInstanceAttribute_shared01() { svc := ec2.New(session.New()) input := &ec2.DescribeInstanceAttributeInput{ @@ -2438,7 +2438,7 @@ func ExampleEC2_DescribeInstanceAttribute_shared01() { // To describe the block device mapping for an instance // -// This example describes the ``blockDeviceMapping`` attribute of the specified instance. +// This example describes the “blockDeviceMapping“ attribute of the specified instance. func ExampleEC2_DescribeInstanceAttribute_shared02() { svc := ec2.New(session.New()) input := &ec2.DescribeInstanceAttributeInput{ @@ -3153,8 +3153,8 @@ func ExampleEC2_DescribeSecurityGroups_shared01() { // To describe snapshot attributes // -// This example describes the ``createVolumePermission`` attribute on a snapshot with -// the snapshot ID of ``snap-066877671789bd71b``. +// This example describes the “createVolumePermission“ attribute on a snapshot with +// the snapshot ID of “snap-066877671789bd71b“. func ExampleEC2_DescribeSnapshotAttribute_shared00() { svc := ec2.New(session.New()) input := &ec2.DescribeSnapshotAttributeInput{ @@ -3182,7 +3182,7 @@ func ExampleEC2_DescribeSnapshotAttribute_shared00() { // To describe a snapshot // -// This example describes a snapshot with the snapshot ID of ``snap-1234567890abcdef0``. +// This example describes a snapshot with the snapshot ID of “snap-1234567890abcdef0“. func ExampleEC2_DescribeSnapshots_shared00() { svc := ec2.New(session.New()) input := &ec2.DescribeSnapshotsInput{ @@ -3212,7 +3212,7 @@ func ExampleEC2_DescribeSnapshots_shared00() { // To describe snapshots using filters // // This example describes all snapshots owned by the ID 012345678910 that are in the -// ``pending`` status. +// “pending“ status. func ExampleEC2_DescribeSnapshots_shared01() { svc := ec2.New(session.New()) input := &ec2.DescribeSnapshotsInput{ @@ -3491,7 +3491,7 @@ func ExampleEC2_DescribeTags_shared00() { // To describe a volume attribute // -// This example describes the ``autoEnableIo`` attribute of the volume with the ID ``vol-049df61146c4d7901``. +// This example describes the “autoEnableIo“ attribute of the volume with the ID “vol-049df61146c4d7901“. func ExampleEC2_DescribeVolumeAttribute_shared00() { svc := ec2.New(session.New()) input := &ec2.DescribeVolumeAttributeInput{ @@ -3519,7 +3519,7 @@ func ExampleEC2_DescribeVolumeAttribute_shared00() { // To describe the status of a single volume // -// This example describes the status for the volume ``vol-1234567890abcdef0``. +// This example describes the status for the volume “vol-1234567890abcdef0“. func ExampleEC2_DescribeVolumeStatus_shared00() { svc := ec2.New(session.New()) input := &ec2.DescribeVolumeStatusInput{ @@ -3794,7 +3794,7 @@ func ExampleEC2_DetachNetworkInterface_shared00() { // To detach a volume from an instance // -// This example detaches the volume (``vol-049df61146c4d7901``) from the instance it +// This example detaches the volume (“vol-049df61146c4d7901“) from the instance it // is attached to. func ExampleEC2_DetachVolume_shared00() { svc := ec2.New(session.New()) @@ -3988,7 +3988,7 @@ func ExampleEC2_EnableVgwRoutePropagation_shared00() { // To enable I/O for a volume // -// This example enables I/O on volume ``vol-1234567890abcdef0``. +// This example enables I/O on volume “vol-1234567890abcdef0“. func ExampleEC2_EnableVolumeIO_shared00() { svc := ec2.New(session.New()) input := &ec2.EnableVolumeIOInput{ @@ -4349,8 +4349,8 @@ func ExampleEC2_ModifyNetworkInterfaceAttribute_shared03() { // To modify a snapshot attribute // -// This example modifies snapshot ``snap-1234567890abcdef0`` to remove the create volume -// permission for a user with the account ID ``123456789012``. If the command succeeds, +// This example modifies snapshot “snap-1234567890abcdef0“ to remove the create volume +// permission for a user with the account ID “123456789012“. If the command succeeds, // no output is returned. func ExampleEC2_ModifySnapshotAttribute_shared00() { svc := ec2.New(session.New()) @@ -4383,7 +4383,7 @@ func ExampleEC2_ModifySnapshotAttribute_shared00() { // To make a snapshot public // -// This example makes the snapshot ``snap-1234567890abcdef0`` public. +// This example makes the snapshot “snap-1234567890abcdef0“ public. func ExampleEC2_ModifySnapshotAttribute_shared01() { svc := ec2.New(session.New()) input := &ec2.ModifySnapshotAttributeInput{ @@ -4504,8 +4504,8 @@ func ExampleEC2_ModifySubnetAttribute_shared00() { // To modify a volume attribute // -// This example sets the ``autoEnableIo`` attribute of the volume with the ID ``vol-1234567890abcdef0`` -// to ``true``. If the command succeeds, no output is returned. +// This example sets the “autoEnableIo“ attribute of the volume with the ID “vol-1234567890abcdef0“ +// to “true“. If the command succeeds, no output is returned. func ExampleEC2_ModifyVolumeAttribute_shared00() { svc := ec2.New(session.New()) input := &ec2.ModifyVolumeAttributeInput{ @@ -5227,7 +5227,7 @@ func ExampleEC2_ResetInstanceAttribute_shared00() { // To reset a snapshot attribute // -// This example resets the create volume permissions for snapshot ``snap-1234567890abcdef0``. +// This example resets the create volume permissions for snapshot “snap-1234567890abcdef0“. // If the command succeeds, no output is returned. func ExampleEC2_ResetSnapshotAttribute_shared00() { svc := ec2.New(session.New()) diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/service.go index 7b9ba41397a8..3d46c9038964 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a EC2 client from just a session. -// svc := ec2.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a EC2 client with additional configuration -// svc := ec2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a EC2 client from just a session. +// svc := ec2.New(mySession) +// +// // Create a EC2 client with additional configuration +// svc := ec2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *EC2 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/api.go index a49134f32c4e..fc4215181732 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/api.go @@ -27,14 +27,13 @@ const opSendSSHPublicKey = "SendSSHPublicKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendSSHPublicKeyRequest method. +// req, resp := client.SendSSHPublicKeyRequest(params) // -// // Example sending a request using the SendSSHPublicKeyRequest method. -// req, resp := client.SendSSHPublicKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/SendSSHPublicKey func (c *EC2InstanceConnect) SendSSHPublicKeyRequest(input *SendSSHPublicKeyInput) (req *request.Request, output *SendSSHPublicKeyOutput) { @@ -68,29 +67,30 @@ func (c *EC2InstanceConnect) SendSSHPublicKeyRequest(input *SendSSHPublicKeyInpu // API operation SendSSHPublicKey for usage and error information. // // Returned Error Types: -// * AuthException -// Either your AWS credentials are not valid or you do not have access to the -// EC2 instance. // -// * InvalidArgsException -// One of the parameters is not valid. +// - AuthException +// Either your AWS credentials are not valid or you do not have access to the +// EC2 instance. +// +// - InvalidArgsException +// One of the parameters is not valid. // -// * ServiceException -// The service encountered an error. Follow the instructions in the error message -// and try again. +// - ServiceException +// The service encountered an error. Follow the instructions in the error message +// and try again. // -// * ThrottlingException -// The requests were made too frequently and have been throttled. Wait a while -// and try again. To increase the limit on your request frequency, contact AWS -// Support. +// - ThrottlingException +// The requests were made too frequently and have been throttled. Wait a while +// and try again. To increase the limit on your request frequency, contact AWS +// Support. // -// * EC2InstanceNotFoundException -// The specified instance was not found. +// - EC2InstanceNotFoundException +// The specified instance was not found. // -// * EC2InstanceStateInvalidException -// Unable to connect because the instance is not in a valid state. Connecting -// to a stopped or terminated instance is not supported. If the instance is -// stopped, start your instance, and try to connect again. +// - EC2InstanceStateInvalidException +// Unable to connect because the instance is not in a valid state. Connecting +// to a stopped or terminated instance is not supported. If the instance is +// stopped, start your instance, and try to connect again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/SendSSHPublicKey func (c *EC2InstanceConnect) SendSSHPublicKey(input *SendSSHPublicKeyInput) (*SendSSHPublicKeyOutput, error) { @@ -130,14 +130,13 @@ const opSendSerialConsoleSSHPublicKey = "SendSerialConsoleSSHPublicKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendSerialConsoleSSHPublicKeyRequest method. +// req, resp := client.SendSerialConsoleSSHPublicKeyRequest(params) // -// // Example sending a request using the SendSerialConsoleSSHPublicKeyRequest method. -// req, resp := client.SendSerialConsoleSSHPublicKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/SendSerialConsoleSSHPublicKey func (c *EC2InstanceConnect) SendSerialConsoleSSHPublicKeyRequest(input *SendSerialConsoleSSHPublicKeyInput) (req *request.Request, output *SendSerialConsoleSSHPublicKeyOutput) { @@ -171,46 +170,47 @@ func (c *EC2InstanceConnect) SendSerialConsoleSSHPublicKeyRequest(input *SendSer // API operation SendSerialConsoleSSHPublicKey for usage and error information. // // Returned Error Types: -// * AuthException -// Either your AWS credentials are not valid or you do not have access to the -// EC2 instance. -// -// * SerialConsoleAccessDisabledException -// Your account is not authorized to use the EC2 Serial Console. To authorize -// your account, run the EnableSerialConsoleAccess API. For more information, -// see EnableSerialConsoleAccess (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EnableSerialConsoleAccess.html) -// in the Amazon EC2 API Reference. -// -// * InvalidArgsException -// One of the parameters is not valid. -// -// * ServiceException -// The service encountered an error. Follow the instructions in the error message -// and try again. -// -// * ThrottlingException -// The requests were made too frequently and have been throttled. Wait a while -// and try again. To increase the limit on your request frequency, contact AWS -// Support. -// -// * EC2InstanceNotFoundException -// The specified instance was not found. -// -// * EC2InstanceTypeInvalidException -// The instance type is not supported for connecting via the serial console. -// Only Nitro instance types are currently supported. -// -// * SerialConsoleSessionLimitExceededException -// The instance currently has 1 active serial console session. Only 1 session -// is supported at a time. -// -// * SerialConsoleSessionUnavailableException -// Unable to start a serial console session. Please try again. -// -// * EC2InstanceStateInvalidException -// Unable to connect because the instance is not in a valid state. Connecting -// to a stopped or terminated instance is not supported. If the instance is -// stopped, start your instance, and try to connect again. +// +// - AuthException +// Either your AWS credentials are not valid or you do not have access to the +// EC2 instance. +// +// - SerialConsoleAccessDisabledException +// Your account is not authorized to use the EC2 Serial Console. To authorize +// your account, run the EnableSerialConsoleAccess API. For more information, +// see EnableSerialConsoleAccess (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EnableSerialConsoleAccess.html) +// in the Amazon EC2 API Reference. +// +// - InvalidArgsException +// One of the parameters is not valid. +// +// - ServiceException +// The service encountered an error. Follow the instructions in the error message +// and try again. +// +// - ThrottlingException +// The requests were made too frequently and have been throttled. Wait a while +// and try again. To increase the limit on your request frequency, contact AWS +// Support. +// +// - EC2InstanceNotFoundException +// The specified instance was not found. +// +// - EC2InstanceTypeInvalidException +// The instance type is not supported for connecting via the serial console. +// Only Nitro instance types are currently supported. +// +// - SerialConsoleSessionLimitExceededException +// The instance currently has 1 active serial console session. Only 1 session +// is supported at a time. +// +// - SerialConsoleSessionUnavailableException +// Unable to start a serial console session. Please try again. +// +// - EC2InstanceStateInvalidException +// Unable to connect because the instance is not in a valid state. Connecting +// to a stopped or terminated instance is not supported. If the instance is +// stopped, start your instance, and try to connect again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-instance-connect-2018-04-02/SendSerialConsoleSSHPublicKey func (c *EC2InstanceConnect) SendSerialConsoleSSHPublicKey(input *SendSerialConsoleSSHPublicKeyInput) (*SendSerialConsoleSSHPublicKeyOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/doc.go index 5f66882504c1..948692eadf59 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/doc.go @@ -12,7 +12,7 @@ // See ec2instanceconnect package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ec2instanceconnect/ // -// Using the Client +// # Using the Client // // To contact AWS EC2 Instance Connect with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/ec2instanceconnectiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/ec2instanceconnectiface/interface.go index a368059d1977..ded0643da615 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/ec2instanceconnectiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/ec2instanceconnectiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS EC2 Instance Connect. -// func myFunc(svc ec2instanceconnectiface.EC2InstanceConnectAPI) bool { -// // Make svc.SendSSHPublicKey request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS EC2 Instance Connect. +// func myFunc(svc ec2instanceconnectiface.EC2InstanceConnectAPI) bool { +// // Make svc.SendSSHPublicKey request +// } // -// func main() { -// sess := session.New() -// svc := ec2instanceconnect.New(sess) +// func main() { +// sess := session.New() +// svc := ec2instanceconnect.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockEC2InstanceConnectClient struct { -// ec2instanceconnectiface.EC2InstanceConnectAPI -// } -// func (m *mockEC2InstanceConnectClient) SendSSHPublicKey(input *ec2instanceconnect.SendSSHPublicKeyInput) (*ec2instanceconnect.SendSSHPublicKeyOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockEC2InstanceConnectClient struct { +// ec2instanceconnectiface.EC2InstanceConnectAPI +// } +// func (m *mockEC2InstanceConnectClient) SendSSHPublicKey(input *ec2instanceconnect.SendSSHPublicKeyInput) (*ec2instanceconnect.SendSSHPublicKeyOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockEC2InstanceConnectClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockEC2InstanceConnectClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/service.go index d8757ee244d2..0fbe0f69845a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ec2instanceconnect/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a EC2InstanceConnect client from just a session. -// svc := ec2instanceconnect.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a EC2InstanceConnect client with additional configuration -// svc := ec2instanceconnect.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a EC2InstanceConnect client from just a session. +// svc := ec2instanceconnect.New(mySession) +// +// // Create a EC2InstanceConnect client with additional configuration +// svc := ec2instanceconnect.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *EC2InstanceConnect { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/api.go index e27d77b0393e..13234e22e33b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/api.go @@ -29,14 +29,13 @@ const opBatchCheckLayerAvailability = "BatchCheckLayerAvailability" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchCheckLayerAvailabilityRequest method. +// req, resp := client.BatchCheckLayerAvailabilityRequest(params) // -// // Example sending a request using the BatchCheckLayerAvailabilityRequest method. -// req, resp := client.BatchCheckLayerAvailabilityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailability func (c *ECR) BatchCheckLayerAvailabilityRequest(input *BatchCheckLayerAvailabilityInput) (req *request.Request, output *BatchCheckLayerAvailabilityOutput) { @@ -75,16 +74,17 @@ func (c *ECR) BatchCheckLayerAvailabilityRequest(input *BatchCheckLayerAvailabil // API operation BatchCheckLayerAvailability for usage and error information. // // Returned Error Types: -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchCheckLayerAvailability func (c *ECR) BatchCheckLayerAvailability(input *BatchCheckLayerAvailabilityInput) (*BatchCheckLayerAvailabilityOutput, error) { @@ -124,14 +124,13 @@ const opBatchDeleteImage = "BatchDeleteImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteImageRequest method. +// req, resp := client.BatchDeleteImageRequest(params) // -// // Example sending a request using the BatchDeleteImageRequest method. -// req, resp := client.BatchDeleteImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImage func (c *ECR) BatchDeleteImageRequest(input *BatchDeleteImageInput) (req *request.Request, output *BatchDeleteImageOutput) { @@ -170,16 +169,17 @@ func (c *ECR) BatchDeleteImageRequest(input *BatchDeleteImageInput) (req *reques // API operation BatchDeleteImage for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchDeleteImage func (c *ECR) BatchDeleteImage(input *BatchDeleteImageInput) (*BatchDeleteImageOutput, error) { @@ -219,14 +219,13 @@ const opBatchGetImage = "BatchGetImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetImageRequest method. +// req, resp := client.BatchGetImageRequest(params) // -// // Example sending a request using the BatchGetImageRequest method. -// req, resp := client.BatchGetImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImage func (c *ECR) BatchGetImageRequest(input *BatchGetImageInput) (req *request.Request, output *BatchGetImageOutput) { @@ -261,16 +260,17 @@ func (c *ECR) BatchGetImageRequest(input *BatchGetImageInput) (req *request.Requ // API operation BatchGetImage for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetImage func (c *ECR) BatchGetImage(input *BatchGetImageInput) (*BatchGetImageOutput, error) { @@ -310,14 +310,13 @@ const opBatchGetRepositoryScanningConfiguration = "BatchGetRepositoryScanningCon // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetRepositoryScanningConfigurationRequest method. +// req, resp := client.BatchGetRepositoryScanningConfigurationRequest(params) // -// // Example sending a request using the BatchGetRepositoryScanningConfigurationRequest method. -// req, resp := client.BatchGetRepositoryScanningConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetRepositoryScanningConfiguration func (c *ECR) BatchGetRepositoryScanningConfigurationRequest(input *BatchGetRepositoryScanningConfigurationInput) (req *request.Request, output *BatchGetRepositoryScanningConfigurationOutput) { @@ -348,19 +347,20 @@ func (c *ECR) BatchGetRepositoryScanningConfigurationRequest(input *BatchGetRepo // API operation BatchGetRepositoryScanningConfiguration for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * ValidationException -// There was an exception validating this request. +// - ValidationException +// There was an exception validating this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/BatchGetRepositoryScanningConfiguration func (c *ECR) BatchGetRepositoryScanningConfiguration(input *BatchGetRepositoryScanningConfigurationInput) (*BatchGetRepositoryScanningConfigurationOutput, error) { @@ -400,14 +400,13 @@ const opCompleteLayerUpload = "CompleteLayerUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CompleteLayerUploadRequest method. +// req, resp := client.CompleteLayerUploadRequest(params) // -// // Example sending a request using the CompleteLayerUploadRequest method. -// req, resp := client.CompleteLayerUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUpload func (c *ECR) CompleteLayerUploadRequest(input *CompleteLayerUploadInput) (req *request.Request, output *CompleteLayerUploadOutput) { @@ -447,36 +446,37 @@ func (c *ECR) CompleteLayerUploadRequest(input *CompleteLayerUploadInput) (req * // API operation CompleteLayerUpload for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * UploadNotFoundException -// The upload could not be found, or the specified upload ID is not valid for -// this repository. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * InvalidLayerException -// The layer digest calculation performed by Amazon ECR upon receipt of the -// image layer does not match the digest specified. +// - UploadNotFoundException +// The upload could not be found, or the specified upload ID is not valid for +// this repository. // -// * LayerPartTooSmallException -// Layer parts must be at least 5 MiB in size. +// - InvalidLayerException +// The layer digest calculation performed by Amazon ECR upon receipt of the +// image layer does not match the digest specified. // -// * LayerAlreadyExistsException -// The image layer already exists in the associated repository. +// - LayerPartTooSmallException +// Layer parts must be at least 5 MiB in size. // -// * EmptyUploadException -// The specified layer upload does not contain any layer parts. +// - LayerAlreadyExistsException +// The image layer already exists in the associated repository. // -// * KmsException -// The operation failed due to a KMS exception. +// - EmptyUploadException +// The specified layer upload does not contain any layer parts. +// +// - KmsException +// The operation failed due to a KMS exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CompleteLayerUpload func (c *ECR) CompleteLayerUpload(input *CompleteLayerUploadInput) (*CompleteLayerUploadOutput, error) { @@ -516,14 +516,13 @@ const opCreatePullThroughCacheRule = "CreatePullThroughCacheRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePullThroughCacheRuleRequest method. +// req, resp := client.CreatePullThroughCacheRuleRequest(params) // -// // Example sending a request using the CreatePullThroughCacheRuleRequest method. -// req, resp := client.CreatePullThroughCacheRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreatePullThroughCacheRule func (c *ECR) CreatePullThroughCacheRuleRequest(input *CreatePullThroughCacheRuleInput) (req *request.Request, output *CreatePullThroughCacheRuleOutput) { @@ -556,27 +555,28 @@ func (c *ECR) CreatePullThroughCacheRuleRequest(input *CreatePullThroughCacheRul // API operation CreatePullThroughCacheRule for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ValidationException -// There was an exception validating this request. +// - ValidationException +// There was an exception validating this request. // -// * PullThroughCacheRuleAlreadyExistsException -// A pull through cache rule with these settings already exists for the private -// registry. +// - PullThroughCacheRuleAlreadyExistsException +// A pull through cache rule with these settings already exists for the private +// registry. // -// * UnsupportedUpstreamRegistryException -// The specified upstream registry isn't supported. +// - UnsupportedUpstreamRegistryException +// The specified upstream registry isn't supported. // -// * LimitExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. For more information, see Amazon ECR service quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) -// in the Amazon Elastic Container Registry User Guide. +// - LimitExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. For more information, see Amazon ECR service quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) +// in the Amazon Elastic Container Registry User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreatePullThroughCacheRule func (c *ECR) CreatePullThroughCacheRule(input *CreatePullThroughCacheRuleInput) (*CreatePullThroughCacheRuleOutput, error) { @@ -616,14 +616,13 @@ const opCreateRepository = "CreateRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRepositoryRequest method. +// req, resp := client.CreateRepositoryRequest(params) // -// // Example sending a request using the CreateRepositoryRequest method. -// req, resp := client.CreateRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepository func (c *ECR) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput) { @@ -655,32 +654,33 @@ func (c *ECR) CreateRepositoryRequest(input *CreateRepositoryInput) (req *reques // API operation CreateRepository for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * InvalidTagParameterException -// An invalid parameter has been specified. Tag keys can have a maximum character -// length of 128 characters, and tag values can have a maximum length of 256 -// characters. +// - InvalidTagParameterException +// An invalid parameter has been specified. Tag keys can have a maximum character +// length of 128 characters, and tag values can have a maximum length of 256 +// characters. // -// * TooManyTagsException -// The list of tags on the repository is over the limit. The maximum number -// of tags that can be applied to a repository is 50. +// - TooManyTagsException +// The list of tags on the repository is over the limit. The maximum number +// of tags that can be applied to a repository is 50. // -// * RepositoryAlreadyExistsException -// The specified repository already exists in the specified registry. +// - RepositoryAlreadyExistsException +// The specified repository already exists in the specified registry. // -// * LimitExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. For more information, see Amazon ECR service quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) -// in the Amazon Elastic Container Registry User Guide. +// - LimitExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. For more information, see Amazon ECR service quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) +// in the Amazon Elastic Container Registry User Guide. // -// * KmsException -// The operation failed due to a KMS exception. +// - KmsException +// The operation failed due to a KMS exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepository func (c *ECR) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error) { @@ -720,14 +720,13 @@ const opDeleteLifecyclePolicy = "DeleteLifecyclePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLifecyclePolicyRequest method. +// req, resp := client.DeleteLifecyclePolicyRequest(params) // -// // Example sending a request using the DeleteLifecyclePolicyRequest method. -// req, resp := client.DeleteLifecyclePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteLifecyclePolicy func (c *ECR) DeleteLifecyclePolicyRequest(input *DeleteLifecyclePolicyInput) (req *request.Request, output *DeleteLifecyclePolicyOutput) { @@ -758,19 +757,20 @@ func (c *ECR) DeleteLifecyclePolicyRequest(input *DeleteLifecyclePolicyInput) (r // API operation DeleteLifecyclePolicy for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * LifecyclePolicyNotFoundException -// The lifecycle policy could not be found, and no policy is set to the repository. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. +// +// - LifecyclePolicyNotFoundException +// The lifecycle policy could not be found, and no policy is set to the repository. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteLifecyclePolicy func (c *ECR) DeleteLifecyclePolicy(input *DeleteLifecyclePolicyInput) (*DeleteLifecyclePolicyOutput, error) { @@ -810,14 +810,13 @@ const opDeletePullThroughCacheRule = "DeletePullThroughCacheRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePullThroughCacheRuleRequest method. +// req, resp := client.DeletePullThroughCacheRuleRequest(params) // -// // Example sending a request using the DeletePullThroughCacheRuleRequest method. -// req, resp := client.DeletePullThroughCacheRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeletePullThroughCacheRule func (c *ECR) DeletePullThroughCacheRuleRequest(input *DeletePullThroughCacheRuleInput) (req *request.Request, output *DeletePullThroughCacheRuleOutput) { @@ -848,19 +847,20 @@ func (c *ECR) DeletePullThroughCacheRuleRequest(input *DeletePullThroughCacheRul // API operation DeletePullThroughCacheRule for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ValidationException -// There was an exception validating this request. +// - ValidationException +// There was an exception validating this request. // -// * PullThroughCacheRuleNotFoundException -// The pull through cache rule was not found. Specify a valid pull through cache -// rule and try again. +// - PullThroughCacheRuleNotFoundException +// The pull through cache rule was not found. Specify a valid pull through cache +// rule and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeletePullThroughCacheRule func (c *ECR) DeletePullThroughCacheRule(input *DeletePullThroughCacheRuleInput) (*DeletePullThroughCacheRuleOutput, error) { @@ -900,14 +900,13 @@ const opDeleteRegistryPolicy = "DeleteRegistryPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRegistryPolicyRequest method. +// req, resp := client.DeleteRegistryPolicyRequest(params) // -// // Example sending a request using the DeleteRegistryPolicyRequest method. -// req, resp := client.DeleteRegistryPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRegistryPolicy func (c *ECR) DeleteRegistryPolicyRequest(input *DeleteRegistryPolicyInput) (req *request.Request, output *DeleteRegistryPolicyOutput) { @@ -938,18 +937,19 @@ func (c *ECR) DeleteRegistryPolicyRequest(input *DeleteRegistryPolicyInput) (req // API operation DeleteRegistryPolicy for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RegistryPolicyNotFoundException -// The registry doesn't have an associated registry policy. +// - RegistryPolicyNotFoundException +// The registry doesn't have an associated registry policy. // -// * ValidationException -// There was an exception validating this request. +// - ValidationException +// There was an exception validating this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRegistryPolicy func (c *ECR) DeleteRegistryPolicy(input *DeleteRegistryPolicyInput) (*DeleteRegistryPolicyOutput, error) { @@ -989,14 +989,13 @@ const opDeleteRepository = "DeleteRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRepositoryRequest method. +// req, resp := client.DeleteRepositoryRequest(params) // -// // Example sending a request using the DeleteRepositoryRequest method. -// req, resp := client.DeleteRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepository func (c *ECR) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput) { @@ -1029,23 +1028,24 @@ func (c *ECR) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *reques // API operation DeleteRepository for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotEmptyException -// The specified repository contains images. To delete a repository that contains -// images, you must force the deletion with the force parameter. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * KmsException -// The operation failed due to a KMS exception. +// - RepositoryNotEmptyException +// The specified repository contains images. To delete a repository that contains +// images, you must force the deletion with the force parameter. +// +// - KmsException +// The operation failed due to a KMS exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepository func (c *ECR) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error) { @@ -1085,14 +1085,13 @@ const opDeleteRepositoryPolicy = "DeleteRepositoryPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRepositoryPolicyRequest method. +// req, resp := client.DeleteRepositoryPolicyRequest(params) // -// // Example sending a request using the DeleteRepositoryPolicyRequest method. -// req, resp := client.DeleteRepositoryPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicy func (c *ECR) DeleteRepositoryPolicyRequest(input *DeleteRepositoryPolicyInput) (req *request.Request, output *DeleteRepositoryPolicyOutput) { @@ -1123,20 +1122,21 @@ func (c *ECR) DeleteRepositoryPolicyRequest(input *DeleteRepositoryPolicyInput) // API operation DeleteRepositoryPolicy for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryPolicyNotFoundException -// The specified repository and registry combination does not have an associated -// repository policy. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. +// +// - RepositoryPolicyNotFoundException +// The specified repository and registry combination does not have an associated +// repository policy. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepositoryPolicy func (c *ECR) DeleteRepositoryPolicy(input *DeleteRepositoryPolicyInput) (*DeleteRepositoryPolicyOutput, error) { @@ -1176,14 +1176,13 @@ const opDescribeImageReplicationStatus = "DescribeImageReplicationStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImageReplicationStatusRequest method. +// req, resp := client.DescribeImageReplicationStatusRequest(params) // -// // Example sending a request using the DescribeImageReplicationStatusRequest method. -// req, resp := client.DescribeImageReplicationStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageReplicationStatus func (c *ECR) DescribeImageReplicationStatusRequest(input *DescribeImageReplicationStatusInput) (req *request.Request, output *DescribeImageReplicationStatusOutput) { @@ -1214,22 +1213,23 @@ func (c *ECR) DescribeImageReplicationStatusRequest(input *DescribeImageReplicat // API operation DescribeImageReplicationStatus for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ImageNotFoundException -// The image requested does not exist in the specified repository. +// - ImageNotFoundException +// The image requested does not exist in the specified repository. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * ValidationException -// There was an exception validating this request. +// - ValidationException +// There was an exception validating this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageReplicationStatus func (c *ECR) DescribeImageReplicationStatus(input *DescribeImageReplicationStatusInput) (*DescribeImageReplicationStatusOutput, error) { @@ -1269,14 +1269,13 @@ const opDescribeImageScanFindings = "DescribeImageScanFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImageScanFindingsRequest method. +// req, resp := client.DescribeImageScanFindingsRequest(params) // -// // Example sending a request using the DescribeImageScanFindingsRequest method. -// req, resp := client.DescribeImageScanFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageScanFindings func (c *ECR) DescribeImageScanFindingsRequest(input *DescribeImageScanFindingsInput) (req *request.Request, output *DescribeImageScanFindingsOutput) { @@ -1313,26 +1312,27 @@ func (c *ECR) DescribeImageScanFindingsRequest(input *DescribeImageScanFindingsI // API operation DescribeImageScanFindings for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * ImageNotFoundException -// The image requested does not exist in the specified repository. +// - ImageNotFoundException +// The image requested does not exist in the specified repository. // -// * ScanNotFoundException -// The specified image scan could not be found. Ensure that image scanning is -// enabled on the repository and try again. +// - ScanNotFoundException +// The specified image scan could not be found. Ensure that image scanning is +// enabled on the repository and try again. // -// * ValidationException -// There was an exception validating this request. +// - ValidationException +// There was an exception validating this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImageScanFindings func (c *ECR) DescribeImageScanFindings(input *DescribeImageScanFindingsInput) (*DescribeImageScanFindingsOutput, error) { @@ -1364,15 +1364,14 @@ func (c *ECR) DescribeImageScanFindingsWithContext(ctx aws.Context, input *Descr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeImageScanFindings operation. -// pageNum := 0 -// err := client.DescribeImageScanFindingsPages(params, -// func(page *ecr.DescribeImageScanFindingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeImageScanFindings operation. +// pageNum := 0 +// err := client.DescribeImageScanFindingsPages(params, +// func(page *ecr.DescribeImageScanFindingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECR) DescribeImageScanFindingsPages(input *DescribeImageScanFindingsInput, fn func(*DescribeImageScanFindingsOutput, bool) bool) error { return c.DescribeImageScanFindingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1424,14 +1423,13 @@ const opDescribeImages = "DescribeImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImagesRequest method. +// req, resp := client.DescribeImagesRequest(params) // -// // Example sending a request using the DescribeImagesRequest method. -// req, resp := client.DescribeImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImages func (c *ECR) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Request, output *DescribeImagesOutput) { @@ -1473,19 +1471,20 @@ func (c *ECR) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Re // API operation DescribeImages for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * ImageNotFoundException -// The image requested does not exist in the specified repository. +// - ImageNotFoundException +// The image requested does not exist in the specified repository. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeImages func (c *ECR) DescribeImages(input *DescribeImagesInput) (*DescribeImagesOutput, error) { @@ -1517,15 +1516,14 @@ func (c *ECR) DescribeImagesWithContext(ctx aws.Context, input *DescribeImagesIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeImages operation. -// pageNum := 0 -// err := client.DescribeImagesPages(params, -// func(page *ecr.DescribeImagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeImages operation. +// pageNum := 0 +// err := client.DescribeImagesPages(params, +// func(page *ecr.DescribeImagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECR) DescribeImagesPages(input *DescribeImagesInput, fn func(*DescribeImagesOutput, bool) bool) error { return c.DescribeImagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1577,14 +1575,13 @@ const opDescribePullThroughCacheRules = "DescribePullThroughCacheRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePullThroughCacheRulesRequest method. +// req, resp := client.DescribePullThroughCacheRulesRequest(params) // -// // Example sending a request using the DescribePullThroughCacheRulesRequest method. -// req, resp := client.DescribePullThroughCacheRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribePullThroughCacheRules func (c *ECR) DescribePullThroughCacheRulesRequest(input *DescribePullThroughCacheRulesInput) (req *request.Request, output *DescribePullThroughCacheRulesOutput) { @@ -1621,19 +1618,20 @@ func (c *ECR) DescribePullThroughCacheRulesRequest(input *DescribePullThroughCac // API operation DescribePullThroughCacheRules for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ValidationException -// There was an exception validating this request. +// - ValidationException +// There was an exception validating this request. // -// * PullThroughCacheRuleNotFoundException -// The pull through cache rule was not found. Specify a valid pull through cache -// rule and try again. +// - PullThroughCacheRuleNotFoundException +// The pull through cache rule was not found. Specify a valid pull through cache +// rule and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribePullThroughCacheRules func (c *ECR) DescribePullThroughCacheRules(input *DescribePullThroughCacheRulesInput) (*DescribePullThroughCacheRulesOutput, error) { @@ -1665,15 +1663,14 @@ func (c *ECR) DescribePullThroughCacheRulesWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePullThroughCacheRules operation. -// pageNum := 0 -// err := client.DescribePullThroughCacheRulesPages(params, -// func(page *ecr.DescribePullThroughCacheRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePullThroughCacheRules operation. +// pageNum := 0 +// err := client.DescribePullThroughCacheRulesPages(params, +// func(page *ecr.DescribePullThroughCacheRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECR) DescribePullThroughCacheRulesPages(input *DescribePullThroughCacheRulesInput, fn func(*DescribePullThroughCacheRulesOutput, bool) bool) error { return c.DescribePullThroughCacheRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1725,14 +1722,13 @@ const opDescribeRegistry = "DescribeRegistry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRegistryRequest method. +// req, resp := client.DescribeRegistryRequest(params) // -// // Example sending a request using the DescribeRegistryRequest method. -// req, resp := client.DescribeRegistryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRegistry func (c *ECR) DescribeRegistryRequest(input *DescribeRegistryInput) (req *request.Request, output *DescribeRegistryOutput) { @@ -1765,15 +1761,16 @@ func (c *ECR) DescribeRegistryRequest(input *DescribeRegistryInput) (req *reques // API operation DescribeRegistry for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ValidationException -// There was an exception validating this request. +// - ValidationException +// There was an exception validating this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRegistry func (c *ECR) DescribeRegistry(input *DescribeRegistryInput) (*DescribeRegistryOutput, error) { @@ -1813,14 +1810,13 @@ const opDescribeRepositories = "DescribeRepositories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRepositoriesRequest method. +// req, resp := client.DescribeRepositoriesRequest(params) // -// // Example sending a request using the DescribeRepositoriesRequest method. -// req, resp := client.DescribeRepositoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositories func (c *ECR) DescribeRepositoriesRequest(input *DescribeRepositoriesInput) (req *request.Request, output *DescribeRepositoriesOutput) { @@ -1857,16 +1853,17 @@ func (c *ECR) DescribeRepositoriesRequest(input *DescribeRepositoriesInput) (req // API operation DescribeRepositories for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DescribeRepositories func (c *ECR) DescribeRepositories(input *DescribeRepositoriesInput) (*DescribeRepositoriesOutput, error) { @@ -1898,15 +1895,14 @@ func (c *ECR) DescribeRepositoriesWithContext(ctx aws.Context, input *DescribeRe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeRepositories operation. -// pageNum := 0 -// err := client.DescribeRepositoriesPages(params, -// func(page *ecr.DescribeRepositoriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeRepositories operation. +// pageNum := 0 +// err := client.DescribeRepositoriesPages(params, +// func(page *ecr.DescribeRepositoriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECR) DescribeRepositoriesPages(input *DescribeRepositoriesInput, fn func(*DescribeRepositoriesOutput, bool) bool) error { return c.DescribeRepositoriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1958,14 +1954,13 @@ const opGetAuthorizationToken = "GetAuthorizationToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAuthorizationTokenRequest method. +// req, resp := client.GetAuthorizationTokenRequest(params) // -// // Example sending a request using the GetAuthorizationTokenRequest method. -// req, resp := client.GetAuthorizationTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationToken func (c *ECR) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (req *request.Request, output *GetAuthorizationTokenOutput) { @@ -2005,12 +2000,13 @@ func (c *ECR) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (r // API operation GetAuthorizationToken for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetAuthorizationToken func (c *ECR) GetAuthorizationToken(input *GetAuthorizationTokenInput) (*GetAuthorizationTokenOutput, error) { @@ -2050,14 +2046,13 @@ const opGetDownloadUrlForLayer = "GetDownloadUrlForLayer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDownloadUrlForLayerRequest method. +// req, resp := client.GetDownloadUrlForLayerRequest(params) // -// // Example sending a request using the GetDownloadUrlForLayerRequest method. -// req, resp := client.GetDownloadUrlForLayerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayer func (c *ECR) GetDownloadUrlForLayerRequest(input *GetDownloadUrlForLayerInput) (req *request.Request, output *GetDownloadUrlForLayerOutput) { @@ -2096,24 +2091,25 @@ func (c *ECR) GetDownloadUrlForLayerRequest(input *GetDownloadUrlForLayerInput) // API operation GetDownloadUrlForLayer for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * LayersNotFoundException -// The specified layers could not be found, or the specified layer is not valid -// for this repository. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * LayerInaccessibleException -// The specified layer is not available because it is not associated with an -// image. Unassociated image layers may be cleaned up at any time. +// - LayersNotFoundException +// The specified layers could not be found, or the specified layer is not valid +// for this repository. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - LayerInaccessibleException +// The specified layer is not available because it is not associated with an +// image. Unassociated image layers may be cleaned up at any time. +// +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetDownloadUrlForLayer func (c *ECR) GetDownloadUrlForLayer(input *GetDownloadUrlForLayerInput) (*GetDownloadUrlForLayerOutput, error) { @@ -2153,14 +2149,13 @@ const opGetLifecyclePolicy = "GetLifecyclePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLifecyclePolicyRequest method. +// req, resp := client.GetLifecyclePolicyRequest(params) // -// // Example sending a request using the GetLifecyclePolicyRequest method. -// req, resp := client.GetLifecyclePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicy func (c *ECR) GetLifecyclePolicyRequest(input *GetLifecyclePolicyInput) (req *request.Request, output *GetLifecyclePolicyOutput) { @@ -2191,19 +2186,20 @@ func (c *ECR) GetLifecyclePolicyRequest(input *GetLifecyclePolicyInput) (req *re // API operation GetLifecyclePolicy for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * LifecyclePolicyNotFoundException -// The lifecycle policy could not be found, and no policy is set to the repository. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. +// +// - LifecyclePolicyNotFoundException +// The lifecycle policy could not be found, and no policy is set to the repository. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicy func (c *ECR) GetLifecyclePolicy(input *GetLifecyclePolicyInput) (*GetLifecyclePolicyOutput, error) { @@ -2243,14 +2239,13 @@ const opGetLifecyclePolicyPreview = "GetLifecyclePolicyPreview" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLifecyclePolicyPreviewRequest method. +// req, resp := client.GetLifecyclePolicyPreviewRequest(params) // -// // Example sending a request using the GetLifecyclePolicyPreviewRequest method. -// req, resp := client.GetLifecyclePolicyPreviewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyPreview func (c *ECR) GetLifecyclePolicyPreviewRequest(input *GetLifecyclePolicyPreviewInput) (req *request.Request, output *GetLifecyclePolicyPreviewOutput) { @@ -2288,19 +2283,20 @@ func (c *ECR) GetLifecyclePolicyPreviewRequest(input *GetLifecyclePolicyPreviewI // API operation GetLifecyclePolicyPreview for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * LifecyclePolicyPreviewNotFoundException -// There is no dry run for this repository. +// - LifecyclePolicyPreviewNotFoundException +// There is no dry run for this repository. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetLifecyclePolicyPreview func (c *ECR) GetLifecyclePolicyPreview(input *GetLifecyclePolicyPreviewInput) (*GetLifecyclePolicyPreviewOutput, error) { @@ -2332,15 +2328,14 @@ func (c *ECR) GetLifecyclePolicyPreviewWithContext(ctx aws.Context, input *GetLi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetLifecyclePolicyPreview operation. -// pageNum := 0 -// err := client.GetLifecyclePolicyPreviewPages(params, -// func(page *ecr.GetLifecyclePolicyPreviewOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetLifecyclePolicyPreview operation. +// pageNum := 0 +// err := client.GetLifecyclePolicyPreviewPages(params, +// func(page *ecr.GetLifecyclePolicyPreviewOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECR) GetLifecyclePolicyPreviewPages(input *GetLifecyclePolicyPreviewInput, fn func(*GetLifecyclePolicyPreviewOutput, bool) bool) error { return c.GetLifecyclePolicyPreviewPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2392,14 +2387,13 @@ const opGetRegistryPolicy = "GetRegistryPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRegistryPolicyRequest method. +// req, resp := client.GetRegistryPolicyRequest(params) // -// // Example sending a request using the GetRegistryPolicyRequest method. -// req, resp := client.GetRegistryPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRegistryPolicy func (c *ECR) GetRegistryPolicyRequest(input *GetRegistryPolicyInput) (req *request.Request, output *GetRegistryPolicyOutput) { @@ -2430,18 +2424,19 @@ func (c *ECR) GetRegistryPolicyRequest(input *GetRegistryPolicyInput) (req *requ // API operation GetRegistryPolicy for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RegistryPolicyNotFoundException -// The registry doesn't have an associated registry policy. +// - RegistryPolicyNotFoundException +// The registry doesn't have an associated registry policy. // -// * ValidationException -// There was an exception validating this request. +// - ValidationException +// There was an exception validating this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRegistryPolicy func (c *ECR) GetRegistryPolicy(input *GetRegistryPolicyInput) (*GetRegistryPolicyOutput, error) { @@ -2481,14 +2476,13 @@ const opGetRegistryScanningConfiguration = "GetRegistryScanningConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRegistryScanningConfigurationRequest method. +// req, resp := client.GetRegistryScanningConfigurationRequest(params) // -// // Example sending a request using the GetRegistryScanningConfigurationRequest method. -// req, resp := client.GetRegistryScanningConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRegistryScanningConfiguration func (c *ECR) GetRegistryScanningConfigurationRequest(input *GetRegistryScanningConfigurationInput) (req *request.Request, output *GetRegistryScanningConfigurationOutput) { @@ -2519,15 +2513,16 @@ func (c *ECR) GetRegistryScanningConfigurationRequest(input *GetRegistryScanning // API operation GetRegistryScanningConfiguration for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ValidationException -// There was an exception validating this request. +// - ValidationException +// There was an exception validating this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRegistryScanningConfiguration func (c *ECR) GetRegistryScanningConfiguration(input *GetRegistryScanningConfigurationInput) (*GetRegistryScanningConfigurationOutput, error) { @@ -2567,14 +2562,13 @@ const opGetRepositoryPolicy = "GetRepositoryPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRepositoryPolicyRequest method. +// req, resp := client.GetRepositoryPolicyRequest(params) // -// // Example sending a request using the GetRepositoryPolicyRequest method. -// req, resp := client.GetRepositoryPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicy func (c *ECR) GetRepositoryPolicyRequest(input *GetRepositoryPolicyInput) (req *request.Request, output *GetRepositoryPolicyOutput) { @@ -2605,20 +2599,21 @@ func (c *ECR) GetRepositoryPolicyRequest(input *GetRepositoryPolicyInput) (req * // API operation GetRepositoryPolicy for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryPolicyNotFoundException -// The specified repository and registry combination does not have an associated -// repository policy. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. +// +// - RepositoryPolicyNotFoundException +// The specified repository and registry combination does not have an associated +// repository policy. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/GetRepositoryPolicy func (c *ECR) GetRepositoryPolicy(input *GetRepositoryPolicyInput) (*GetRepositoryPolicyOutput, error) { @@ -2658,14 +2653,13 @@ const opInitiateLayerUpload = "InitiateLayerUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InitiateLayerUploadRequest method. +// req, resp := client.InitiateLayerUploadRequest(params) // -// // Example sending a request using the InitiateLayerUploadRequest method. -// req, resp := client.InitiateLayerUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUpload func (c *ECR) InitiateLayerUploadRequest(input *InitiateLayerUploadInput) (req *request.Request, output *InitiateLayerUploadOutput) { @@ -2704,19 +2698,20 @@ func (c *ECR) InitiateLayerUploadRequest(input *InitiateLayerUploadInput) (req * // API operation InitiateLayerUpload for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * KmsException -// The operation failed due to a KMS exception. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. +// +// - KmsException +// The operation failed due to a KMS exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/InitiateLayerUpload func (c *ECR) InitiateLayerUpload(input *InitiateLayerUploadInput) (*InitiateLayerUploadOutput, error) { @@ -2756,14 +2751,13 @@ const opListImages = "ListImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListImagesRequest method. +// req, resp := client.ListImagesRequest(params) // -// // Example sending a request using the ListImagesRequest method. -// req, resp := client.ListImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImages func (c *ECR) ListImagesRequest(input *ListImagesInput) (req *request.Request, output *ListImagesOutput) { @@ -2807,16 +2801,17 @@ func (c *ECR) ListImagesRequest(input *ListImagesInput) (req *request.Request, o // API operation ListImages for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListImages func (c *ECR) ListImages(input *ListImagesInput) (*ListImagesOutput, error) { @@ -2848,15 +2843,14 @@ func (c *ECR) ListImagesWithContext(ctx aws.Context, input *ListImagesInput, opt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListImages operation. -// pageNum := 0 -// err := client.ListImagesPages(params, -// func(page *ecr.ListImagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListImages operation. +// pageNum := 0 +// err := client.ListImagesPages(params, +// func(page *ecr.ListImagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECR) ListImagesPages(input *ListImagesInput, fn func(*ListImagesOutput, bool) bool) error { return c.ListImagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2908,14 +2902,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListTagsForResource func (c *ECR) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2946,16 +2939,17 @@ func (c *ECR) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/ListTagsForResource func (c *ECR) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2995,14 +2989,13 @@ const opPutImage = "PutImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutImageRequest method. +// req, resp := client.PutImageRequest(params) // -// // Example sending a request using the PutImageRequest method. -// req, resp := client.PutImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImage func (c *ECR) PutImageRequest(input *PutImageInput) (req *request.Request, output *PutImageOutput) { @@ -3041,43 +3034,44 @@ func (c *ECR) PutImageRequest(input *PutImageInput) (req *request.Request, outpu // API operation PutImage for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * ImageAlreadyExistsException -// The specified image has already been pushed, and there were no changes to -// the manifest or image tag after the last push. +// - ImageAlreadyExistsException +// The specified image has already been pushed, and there were no changes to +// the manifest or image tag after the last push. // -// * LayersNotFoundException -// The specified layers could not be found, or the specified layer is not valid -// for this repository. +// - LayersNotFoundException +// The specified layers could not be found, or the specified layer is not valid +// for this repository. // -// * ReferencedImagesNotFoundException -// The manifest list is referencing an image that does not exist. +// - ReferencedImagesNotFoundException +// The manifest list is referencing an image that does not exist. // -// * LimitExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. For more information, see Amazon ECR service quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) -// in the Amazon Elastic Container Registry User Guide. +// - LimitExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. For more information, see Amazon ECR service quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) +// in the Amazon Elastic Container Registry User Guide. // -// * ImageTagAlreadyExistsException -// The specified image is tagged with a tag that already exists. The repository -// is configured for tag immutability. +// - ImageTagAlreadyExistsException +// The specified image is tagged with a tag that already exists. The repository +// is configured for tag immutability. // -// * ImageDigestDoesNotMatchException -// The specified image digest does not match the digest that Amazon ECR calculated -// for the image. +// - ImageDigestDoesNotMatchException +// The specified image digest does not match the digest that Amazon ECR calculated +// for the image. // -// * KmsException -// The operation failed due to a KMS exception. +// - KmsException +// The operation failed due to a KMS exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImage func (c *ECR) PutImage(input *PutImageInput) (*PutImageOutput, error) { @@ -3117,14 +3111,13 @@ const opPutImageScanningConfiguration = "PutImageScanningConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutImageScanningConfigurationRequest method. +// req, resp := client.PutImageScanningConfigurationRequest(params) // -// // Example sending a request using the PutImageScanningConfigurationRequest method. -// req, resp := client.PutImageScanningConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageScanningConfiguration func (c *ECR) PutImageScanningConfigurationRequest(input *PutImageScanningConfigurationInput) (req *request.Request, output *PutImageScanningConfigurationOutput) { @@ -3145,7 +3138,6 @@ func (c *ECR) PutImageScanningConfigurationRequest(input *PutImageScanningConfig // PutImageScanningConfiguration API operation for Amazon EC2 Container Registry. // -// // The PutImageScanningConfiguration API is being deprecated, in favor of specifying // the image scanning configuration at the registry level. For more information, // see PutRegistryScanningConfiguration. @@ -3160,19 +3152,20 @@ func (c *ECR) PutImageScanningConfigurationRequest(input *PutImageScanningConfig // API operation PutImageScanningConfiguration for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * ValidationException -// There was an exception validating this request. +// - ValidationException +// There was an exception validating this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageScanningConfiguration func (c *ECR) PutImageScanningConfiguration(input *PutImageScanningConfigurationInput) (*PutImageScanningConfigurationOutput, error) { @@ -3212,14 +3205,13 @@ const opPutImageTagMutability = "PutImageTagMutability" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutImageTagMutabilityRequest method. +// req, resp := client.PutImageTagMutabilityRequest(params) // -// // Example sending a request using the PutImageTagMutabilityRequest method. -// req, resp := client.PutImageTagMutabilityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageTagMutability func (c *ECR) PutImageTagMutabilityRequest(input *PutImageTagMutabilityInput) (req *request.Request, output *PutImageTagMutabilityOutput) { @@ -3252,16 +3244,17 @@ func (c *ECR) PutImageTagMutabilityRequest(input *PutImageTagMutabilityInput) (r // API operation PutImageTagMutability for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutImageTagMutability func (c *ECR) PutImageTagMutability(input *PutImageTagMutabilityInput) (*PutImageTagMutabilityOutput, error) { @@ -3301,14 +3294,13 @@ const opPutLifecyclePolicy = "PutLifecyclePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutLifecyclePolicyRequest method. +// req, resp := client.PutLifecyclePolicyRequest(params) // -// // Example sending a request using the PutLifecyclePolicyRequest method. -// req, resp := client.PutLifecyclePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicy func (c *ECR) PutLifecyclePolicyRequest(input *PutLifecyclePolicyInput) (req *request.Request, output *PutLifecyclePolicyOutput) { @@ -3340,16 +3332,17 @@ func (c *ECR) PutLifecyclePolicyRequest(input *PutLifecyclePolicyInput) (req *re // API operation PutLifecyclePolicy for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutLifecyclePolicy func (c *ECR) PutLifecyclePolicy(input *PutLifecyclePolicyInput) (*PutLifecyclePolicyOutput, error) { @@ -3389,14 +3382,13 @@ const opPutRegistryPolicy = "PutRegistryPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRegistryPolicyRequest method. +// req, resp := client.PutRegistryPolicyRequest(params) // -// // Example sending a request using the PutRegistryPolicyRequest method. -// req, resp := client.PutRegistryPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutRegistryPolicy func (c *ECR) PutRegistryPolicyRequest(input *PutRegistryPolicyInput) (req *request.Request, output *PutRegistryPolicyOutput) { @@ -3432,15 +3424,16 @@ func (c *ECR) PutRegistryPolicyRequest(input *PutRegistryPolicyInput) (req *requ // API operation PutRegistryPolicy for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ValidationException -// There was an exception validating this request. +// - ValidationException +// There was an exception validating this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutRegistryPolicy func (c *ECR) PutRegistryPolicy(input *PutRegistryPolicyInput) (*PutRegistryPolicyOutput, error) { @@ -3480,14 +3473,13 @@ const opPutRegistryScanningConfiguration = "PutRegistryScanningConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRegistryScanningConfigurationRequest method. +// req, resp := client.PutRegistryScanningConfigurationRequest(params) // -// // Example sending a request using the PutRegistryScanningConfigurationRequest method. -// req, resp := client.PutRegistryScanningConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutRegistryScanningConfiguration func (c *ECR) PutRegistryScanningConfigurationRequest(input *PutRegistryScanningConfigurationInput) (req *request.Request, output *PutRegistryScanningConfigurationOutput) { @@ -3518,15 +3510,16 @@ func (c *ECR) PutRegistryScanningConfigurationRequest(input *PutRegistryScanning // API operation PutRegistryScanningConfiguration for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ValidationException -// There was an exception validating this request. +// - ValidationException +// There was an exception validating this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutRegistryScanningConfiguration func (c *ECR) PutRegistryScanningConfiguration(input *PutRegistryScanningConfigurationInput) (*PutRegistryScanningConfigurationOutput, error) { @@ -3566,14 +3559,13 @@ const opPutReplicationConfiguration = "PutReplicationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutReplicationConfigurationRequest method. +// req, resp := client.PutReplicationConfigurationRequest(params) // -// // Example sending a request using the PutReplicationConfigurationRequest method. -// req, resp := client.PutReplicationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutReplicationConfiguration func (c *ECR) PutReplicationConfigurationRequest(input *PutReplicationConfigurationInput) (req *request.Request, output *PutReplicationConfigurationOutput) { @@ -3614,15 +3606,16 @@ func (c *ECR) PutReplicationConfigurationRequest(input *PutReplicationConfigurat // API operation PutReplicationConfiguration for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ValidationException -// There was an exception validating this request. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - ValidationException +// There was an exception validating this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/PutReplicationConfiguration func (c *ECR) PutReplicationConfiguration(input *PutReplicationConfigurationInput) (*PutReplicationConfigurationOutput, error) { @@ -3662,14 +3655,13 @@ const opSetRepositoryPolicy = "SetRepositoryPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetRepositoryPolicyRequest method. +// req, resp := client.SetRepositoryPolicyRequest(params) // -// // Example sending a request using the SetRepositoryPolicyRequest method. -// req, resp := client.SetRepositoryPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicy func (c *ECR) SetRepositoryPolicyRequest(input *SetRepositoryPolicyInput) (req *request.Request, output *SetRepositoryPolicyOutput) { @@ -3702,16 +3694,17 @@ func (c *ECR) SetRepositoryPolicyRequest(input *SetRepositoryPolicyInput) (req * // API operation SetRepositoryPolicy for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/SetRepositoryPolicy func (c *ECR) SetRepositoryPolicy(input *SetRepositoryPolicyInput) (*SetRepositoryPolicyOutput, error) { @@ -3751,14 +3744,13 @@ const opStartImageScan = "StartImageScan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartImageScanRequest method. +// req, resp := client.StartImageScanRequest(params) // -// // Example sending a request using the StartImageScanRequest method. -// req, resp := client.StartImageScanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartImageScan func (c *ECR) StartImageScanRequest(input *StartImageScanInput) (req *request.Request, output *StartImageScanOutput) { @@ -3792,30 +3784,31 @@ func (c *ECR) StartImageScanRequest(input *StartImageScanInput) (req *request.Re // API operation StartImageScan for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * UnsupportedImageTypeException -// The image is of a type that cannot be scanned. +// - UnsupportedImageTypeException +// The image is of a type that cannot be scanned. // -// * LimitExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. For more information, see Amazon ECR service quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) -// in the Amazon Elastic Container Registry User Guide. +// - LimitExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. For more information, see Amazon ECR service quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) +// in the Amazon Elastic Container Registry User Guide. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * ImageNotFoundException -// The image requested does not exist in the specified repository. +// - ImageNotFoundException +// The image requested does not exist in the specified repository. // -// * ValidationException -// There was an exception validating this request. +// - ValidationException +// There was an exception validating this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartImageScan func (c *ECR) StartImageScan(input *StartImageScanInput) (*StartImageScanOutput, error) { @@ -3855,14 +3848,13 @@ const opStartLifecyclePolicyPreview = "StartLifecyclePolicyPreview" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartLifecyclePolicyPreviewRequest method. +// req, resp := client.StartLifecyclePolicyPreviewRequest(params) // -// // Example sending a request using the StartLifecyclePolicyPreviewRequest method. -// req, resp := client.StartLifecyclePolicyPreviewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartLifecyclePolicyPreview func (c *ECR) StartLifecyclePolicyPreviewRequest(input *StartLifecyclePolicyPreviewInput) (req *request.Request, output *StartLifecyclePolicyPreviewOutput) { @@ -3895,23 +3887,24 @@ func (c *ECR) StartLifecyclePolicyPreviewRequest(input *StartLifecyclePolicyPrev // API operation StartLifecyclePolicyPreview for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * LifecyclePolicyNotFoundException -// The lifecycle policy could not be found, and no policy is set to the repository. +// - LifecyclePolicyNotFoundException +// The lifecycle policy could not be found, and no policy is set to the repository. // -// * LifecyclePolicyPreviewInProgressException -// The previous lifecycle policy preview request has not completed. Wait and -// try again. +// - LifecyclePolicyPreviewInProgressException +// The previous lifecycle policy preview request has not completed. Wait and +// try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/StartLifecyclePolicyPreview func (c *ECR) StartLifecyclePolicyPreview(input *StartLifecyclePolicyPreviewInput) (*StartLifecyclePolicyPreviewOutput, error) { @@ -3951,14 +3944,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/TagResource func (c *ECR) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3991,25 +3983,26 @@ func (c *ECR) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * InvalidTagParameterException -// An invalid parameter has been specified. Tag keys can have a maximum character -// length of 128 characters, and tag values can have a maximum length of 256 -// characters. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * TooManyTagsException -// The list of tags on the repository is over the limit. The maximum number -// of tags that can be applied to a repository is 50. +// - InvalidTagParameterException +// An invalid parameter has been specified. Tag keys can have a maximum character +// length of 128 characters, and tag values can have a maximum length of 256 +// characters. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - TooManyTagsException +// The list of tags on the repository is over the limit. The maximum number +// of tags that can be applied to a repository is 50. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. +// +// - ServerException +// These errors are usually caused by a server-side issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/TagResource func (c *ECR) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4049,14 +4042,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UntagResource func (c *ECR) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4088,25 +4080,26 @@ func (c *ECR) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * InvalidTagParameterException -// An invalid parameter has been specified. Tag keys can have a maximum character -// length of 128 characters, and tag values can have a maximum length of 256 -// characters. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - InvalidTagParameterException +// An invalid parameter has been specified. Tag keys can have a maximum character +// length of 128 characters, and tag values can have a maximum length of 256 +// characters. // -// * TooManyTagsException -// The list of tags on the repository is over the limit. The maximum number -// of tags that can be applied to a repository is 50. +// - TooManyTagsException +// The list of tags on the repository is over the limit. The maximum number +// of tags that can be applied to a repository is 50. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UntagResource func (c *ECR) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -4146,14 +4139,13 @@ const opUploadLayerPart = "UploadLayerPart" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UploadLayerPartRequest method. +// req, resp := client.UploadLayerPartRequest(params) // -// // Example sending a request using the UploadLayerPartRequest method. -// req, resp := client.UploadLayerPartRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPart func (c *ECR) UploadLayerPartRequest(input *UploadLayerPartInput) (req *request.Request, output *UploadLayerPartOutput) { @@ -4192,32 +4184,33 @@ func (c *ECR) UploadLayerPartRequest(input *UploadLayerPartInput) (req *request. // API operation UploadLayerPart for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * InvalidLayerPartException -// The layer part size is not valid, or the first byte specified is not consecutive -// to the last byte of a previous layer part upload. +// - InvalidLayerPartException +// The layer part size is not valid, or the first byte specified is not consecutive +// to the last byte of a previous layer part upload. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * UploadNotFoundException -// The upload could not be found, or the specified upload ID is not valid for -// this repository. +// - UploadNotFoundException +// The upload could not be found, or the specified upload ID is not valid for +// this repository. // -// * LimitExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. For more information, see Amazon ECR service quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) -// in the Amazon Elastic Container Registry User Guide. +// - LimitExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. For more information, see Amazon ECR service quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) +// in the Amazon Elastic Container Registry User Guide. // -// * KmsException -// The operation failed due to a KMS exception. +// - KmsException +// The operation failed due to a KMS exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/UploadLayerPart func (c *ECR) UploadLayerPart(input *UploadLayerPartInput) (*UploadLayerPartOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/doc.go index 16d26be390a2..247c4b751f48 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/doc.go @@ -20,7 +20,7 @@ // See ecr package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ecr/ // -// Using the Client +// # Using the Client // // To contact Amazon EC2 Container Registry with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/ecriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/ecriface/interface.go index 58f20bc4157c..101aa232bb5a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/ecriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/ecriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon EC2 Container Registry. -// func myFunc(svc ecriface.ECRAPI) bool { -// // Make svc.BatchCheckLayerAvailability request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon EC2 Container Registry. +// func myFunc(svc ecriface.ECRAPI) bool { +// // Make svc.BatchCheckLayerAvailability request +// } // -// func main() { -// sess := session.New() -// svc := ecr.New(sess) +// func main() { +// sess := session.New() +// svc := ecr.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockECRClient struct { -// ecriface.ECRAPI -// } -// func (m *mockECRClient) BatchCheckLayerAvailability(input *ecr.BatchCheckLayerAvailabilityInput) (*ecr.BatchCheckLayerAvailabilityOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockECRClient struct { +// ecriface.ECRAPI +// } +// func (m *mockECRClient) BatchCheckLayerAvailability(input *ecr.BatchCheckLayerAvailabilityInput) (*ecr.BatchCheckLayerAvailabilityOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockECRClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockECRClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/service.go index 908817be9668..1909d6709ae2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecr/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ECR client from just a session. -// svc := ecr.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ECR client with additional configuration -// svc := ecr.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ECR client from just a session. +// svc := ecr.New(mySession) +// +// // Create a ECR client with additional configuration +// svc := ecr.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ECR { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/api.go index db6f52fde27a..743614a11807 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/api.go @@ -29,14 +29,13 @@ const opBatchCheckLayerAvailability = "BatchCheckLayerAvailability" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchCheckLayerAvailabilityRequest method. +// req, resp := client.BatchCheckLayerAvailabilityRequest(params) // -// // Example sending a request using the BatchCheckLayerAvailabilityRequest method. -// req, resp := client.BatchCheckLayerAvailabilityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/BatchCheckLayerAvailability func (c *ECRPublic) BatchCheckLayerAvailabilityRequest(input *BatchCheckLayerAvailabilityInput) (req *request.Request, output *BatchCheckLayerAvailabilityOutput) { @@ -74,19 +73,20 @@ func (c *ECRPublic) BatchCheckLayerAvailabilityRequest(input *BatchCheckLayerAva // API operation BatchCheckLayerAvailability for usage and error information. // // Returned Error Types: -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RegistryNotFoundException -// The registry does not exist. +// - RegistryNotFoundException +// The registry does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/BatchCheckLayerAvailability func (c *ECRPublic) BatchCheckLayerAvailability(input *BatchCheckLayerAvailabilityInput) (*BatchCheckLayerAvailabilityOutput, error) { @@ -126,14 +126,13 @@ const opBatchDeleteImage = "BatchDeleteImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteImageRequest method. +// req, resp := client.BatchDeleteImageRequest(params) // -// // Example sending a request using the BatchDeleteImageRequest method. -// req, resp := client.BatchDeleteImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/BatchDeleteImage func (c *ECRPublic) BatchDeleteImageRequest(input *BatchDeleteImageInput) (req *request.Request, output *BatchDeleteImageOutput) { @@ -172,16 +171,17 @@ func (c *ECRPublic) BatchDeleteImageRequest(input *BatchDeleteImageInput) (req * // API operation BatchDeleteImage for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/BatchDeleteImage func (c *ECRPublic) BatchDeleteImage(input *BatchDeleteImageInput) (*BatchDeleteImageOutput, error) { @@ -221,14 +221,13 @@ const opCompleteLayerUpload = "CompleteLayerUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CompleteLayerUploadRequest method. +// req, resp := client.CompleteLayerUploadRequest(params) // -// // Example sending a request using the CompleteLayerUploadRequest method. -// req, resp := client.CompleteLayerUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/CompleteLayerUpload func (c *ECRPublic) CompleteLayerUploadRequest(input *CompleteLayerUploadInput) (req *request.Request, output *CompleteLayerUploadOutput) { @@ -268,39 +267,40 @@ func (c *ECRPublic) CompleteLayerUploadRequest(input *CompleteLayerUploadInput) // API operation CompleteLayerUpload for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * UploadNotFoundException -// The upload could not be found, or the specified upload ID is not valid for -// this repository. +// - UploadNotFoundException +// The upload could not be found, or the specified upload ID is not valid for +// this repository. // -// * InvalidLayerException -// The layer digest calculation performed by Amazon ECR upon receipt of the -// image layer does not match the digest specified. +// - InvalidLayerException +// The layer digest calculation performed by Amazon ECR upon receipt of the +// image layer does not match the digest specified. // -// * LayerPartTooSmallException -// Layer parts must be at least 5 MiB in size. +// - LayerPartTooSmallException +// Layer parts must be at least 5 MiB in size. // -// * LayerAlreadyExistsException -// The image layer already exists in the associated repository. +// - LayerAlreadyExistsException +// The image layer already exists in the associated repository. // -// * EmptyUploadException -// The specified layer upload does not contain any layer parts. +// - EmptyUploadException +// The specified layer upload does not contain any layer parts. // -// * RegistryNotFoundException -// The registry does not exist. +// - RegistryNotFoundException +// The registry does not exist. // -// * UnsupportedCommandException -// The action is not supported in this Region. +// - UnsupportedCommandException +// The action is not supported in this Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/CompleteLayerUpload func (c *ECRPublic) CompleteLayerUpload(input *CompleteLayerUploadInput) (*CompleteLayerUploadOutput, error) { @@ -340,14 +340,13 @@ const opCreateRepository = "CreateRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRepositoryRequest method. +// req, resp := client.CreateRepositoryRequest(params) // -// // Example sending a request using the CreateRepositoryRequest method. -// req, resp := client.CreateRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/CreateRepository func (c *ECRPublic) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput) { @@ -380,29 +379,30 @@ func (c *ECRPublic) CreateRepositoryRequest(input *CreateRepositoryInput) (req * // API operation CreateRepository for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * InvalidTagParameterException -// An invalid parameter has been specified. Tag keys can have a maximum character -// length of 128 characters, and tag values can have a maximum length of 256 -// characters. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * TooManyTagsException -// The list of tags on the repository is over the limit. The maximum number -// of tags that can be applied to a repository is 50. +// - InvalidTagParameterException +// An invalid parameter has been specified. Tag keys can have a maximum character +// length of 128 characters, and tag values can have a maximum length of 256 +// characters. // -// * RepositoryAlreadyExistsException -// The specified repository already exists in the specified registry. +// - TooManyTagsException +// The list of tags on the repository is over the limit. The maximum number +// of tags that can be applied to a repository is 50. // -// * LimitExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. For more information, see Amazon ECR Service Quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) -// in the Amazon Elastic Container Registry User Guide. +// - RepositoryAlreadyExistsException +// The specified repository already exists in the specified registry. +// +// - LimitExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. For more information, see Amazon ECR Service Quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) +// in the Amazon Elastic Container Registry User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/CreateRepository func (c *ECRPublic) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error) { @@ -442,14 +442,13 @@ const opDeleteRepository = "DeleteRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRepositoryRequest method. +// req, resp := client.DeleteRepositoryRequest(params) // -// // Example sending a request using the DeleteRepositoryRequest method. -// req, resp := client.DeleteRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DeleteRepository func (c *ECRPublic) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput) { @@ -482,20 +481,21 @@ func (c *ECRPublic) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req * // API operation DeleteRepository for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * RepositoryNotEmptyException -// The specified repository contains images. To delete a repository that contains -// images, you must force the deletion with the force parameter. +// - RepositoryNotEmptyException +// The specified repository contains images. To delete a repository that contains +// images, you must force the deletion with the force parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DeleteRepository func (c *ECRPublic) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error) { @@ -535,14 +535,13 @@ const opDeleteRepositoryPolicy = "DeleteRepositoryPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRepositoryPolicyRequest method. +// req, resp := client.DeleteRepositoryPolicyRequest(params) // -// // Example sending a request using the DeleteRepositoryPolicyRequest method. -// req, resp := client.DeleteRepositoryPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DeleteRepositoryPolicy func (c *ECRPublic) DeleteRepositoryPolicyRequest(input *DeleteRepositoryPolicyInput) (req *request.Request, output *DeleteRepositoryPolicyOutput) { @@ -573,20 +572,21 @@ func (c *ECRPublic) DeleteRepositoryPolicyRequest(input *DeleteRepositoryPolicyI // API operation DeleteRepositoryPolicy for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * RepositoryPolicyNotFoundException -// The specified repository and registry combination does not have an associated -// repository policy. +// - RepositoryPolicyNotFoundException +// The specified repository and registry combination does not have an associated +// repository policy. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DeleteRepositoryPolicy func (c *ECRPublic) DeleteRepositoryPolicy(input *DeleteRepositoryPolicyInput) (*DeleteRepositoryPolicyOutput, error) { @@ -626,14 +626,13 @@ const opDescribeImageTags = "DescribeImageTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImageTagsRequest method. +// req, resp := client.DescribeImageTagsRequest(params) // -// // Example sending a request using the DescribeImageTagsRequest method. -// req, resp := client.DescribeImageTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeImageTags func (c *ECRPublic) DescribeImageTagsRequest(input *DescribeImageTagsInput) (req *request.Request, output *DescribeImageTagsOutput) { @@ -670,16 +669,17 @@ func (c *ECRPublic) DescribeImageTagsRequest(input *DescribeImageTagsInput) (req // API operation DescribeImageTags for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeImageTags func (c *ECRPublic) DescribeImageTags(input *DescribeImageTagsInput) (*DescribeImageTagsOutput, error) { @@ -711,15 +711,14 @@ func (c *ECRPublic) DescribeImageTagsWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeImageTags operation. -// pageNum := 0 -// err := client.DescribeImageTagsPages(params, -// func(page *ecrpublic.DescribeImageTagsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeImageTags operation. +// pageNum := 0 +// err := client.DescribeImageTagsPages(params, +// func(page *ecrpublic.DescribeImageTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECRPublic) DescribeImageTagsPages(input *DescribeImageTagsInput, fn func(*DescribeImageTagsOutput, bool) bool) error { return c.DescribeImageTagsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -771,14 +770,13 @@ const opDescribeImages = "DescribeImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImagesRequest method. +// req, resp := client.DescribeImagesRequest(params) // -// // Example sending a request using the DescribeImagesRequest method. -// req, resp := client.DescribeImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeImages func (c *ECRPublic) DescribeImagesRequest(input *DescribeImagesInput) (req *request.Request, output *DescribeImagesOutput) { @@ -820,19 +818,20 @@ func (c *ECRPublic) DescribeImagesRequest(input *DescribeImagesInput) (req *requ // API operation DescribeImages for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ImageNotFoundException -// The image requested does not exist in the specified repository. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. +// +// - ImageNotFoundException +// The image requested does not exist in the specified repository. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeImages func (c *ECRPublic) DescribeImages(input *DescribeImagesInput) (*DescribeImagesOutput, error) { @@ -864,15 +863,14 @@ func (c *ECRPublic) DescribeImagesWithContext(ctx aws.Context, input *DescribeIm // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeImages operation. -// pageNum := 0 -// err := client.DescribeImagesPages(params, -// func(page *ecrpublic.DescribeImagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeImages operation. +// pageNum := 0 +// err := client.DescribeImagesPages(params, +// func(page *ecrpublic.DescribeImagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECRPublic) DescribeImagesPages(input *DescribeImagesInput, fn func(*DescribeImagesOutput, bool) bool) error { return c.DescribeImagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -924,14 +922,13 @@ const opDescribeRegistries = "DescribeRegistries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRegistriesRequest method. +// req, resp := client.DescribeRegistriesRequest(params) // -// // Example sending a request using the DescribeRegistriesRequest method. -// req, resp := client.DescribeRegistriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeRegistries func (c *ECRPublic) DescribeRegistriesRequest(input *DescribeRegistriesInput) (req *request.Request, output *DescribeRegistriesOutput) { @@ -968,15 +965,16 @@ func (c *ECRPublic) DescribeRegistriesRequest(input *DescribeRegistriesInput) (r // API operation DescribeRegistries for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * UnsupportedCommandException -// The action is not supported in this Region. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - UnsupportedCommandException +// The action is not supported in this Region. +// +// - ServerException +// These errors are usually caused by a server-side issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeRegistries func (c *ECRPublic) DescribeRegistries(input *DescribeRegistriesInput) (*DescribeRegistriesOutput, error) { @@ -1008,15 +1006,14 @@ func (c *ECRPublic) DescribeRegistriesWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeRegistries operation. -// pageNum := 0 -// err := client.DescribeRegistriesPages(params, -// func(page *ecrpublic.DescribeRegistriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeRegistries operation. +// pageNum := 0 +// err := client.DescribeRegistriesPages(params, +// func(page *ecrpublic.DescribeRegistriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECRPublic) DescribeRegistriesPages(input *DescribeRegistriesInput, fn func(*DescribeRegistriesOutput, bool) bool) error { return c.DescribeRegistriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1068,14 +1065,13 @@ const opDescribeRepositories = "DescribeRepositories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRepositoriesRequest method. +// req, resp := client.DescribeRepositoriesRequest(params) // -// // Example sending a request using the DescribeRepositoriesRequest method. -// req, resp := client.DescribeRepositoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeRepositories func (c *ECRPublic) DescribeRepositoriesRequest(input *DescribeRepositoriesInput) (req *request.Request, output *DescribeRepositoriesOutput) { @@ -1112,16 +1108,17 @@ func (c *ECRPublic) DescribeRepositoriesRequest(input *DescribeRepositoriesInput // API operation DescribeRepositories for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/DescribeRepositories func (c *ECRPublic) DescribeRepositories(input *DescribeRepositoriesInput) (*DescribeRepositoriesOutput, error) { @@ -1153,15 +1150,14 @@ func (c *ECRPublic) DescribeRepositoriesWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeRepositories operation. -// pageNum := 0 -// err := client.DescribeRepositoriesPages(params, -// func(page *ecrpublic.DescribeRepositoriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeRepositories operation. +// pageNum := 0 +// err := client.DescribeRepositoriesPages(params, +// func(page *ecrpublic.DescribeRepositoriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECRPublic) DescribeRepositoriesPages(input *DescribeRepositoriesInput, fn func(*DescribeRepositoriesOutput, bool) bool) error { return c.DescribeRepositoriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1213,14 +1209,13 @@ const opGetAuthorizationToken = "GetAuthorizationToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAuthorizationTokenRequest method. +// req, resp := client.GetAuthorizationTokenRequest(params) // -// // Example sending a request using the GetAuthorizationTokenRequest method. -// req, resp := client.GetAuthorizationTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetAuthorizationToken func (c *ECRPublic) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInput) (req *request.Request, output *GetAuthorizationTokenOutput) { @@ -1255,12 +1250,13 @@ func (c *ECRPublic) GetAuthorizationTokenRequest(input *GetAuthorizationTokenInp // API operation GetAuthorizationToken for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetAuthorizationToken func (c *ECRPublic) GetAuthorizationToken(input *GetAuthorizationTokenInput) (*GetAuthorizationTokenOutput, error) { @@ -1300,14 +1296,13 @@ const opGetRegistryCatalogData = "GetRegistryCatalogData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRegistryCatalogDataRequest method. +// req, resp := client.GetRegistryCatalogDataRequest(params) // -// // Example sending a request using the GetRegistryCatalogDataRequest method. -// req, resp := client.GetRegistryCatalogDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRegistryCatalogData func (c *ECRPublic) GetRegistryCatalogDataRequest(input *GetRegistryCatalogDataInput) (req *request.Request, output *GetRegistryCatalogDataOutput) { @@ -1338,11 +1333,12 @@ func (c *ECRPublic) GetRegistryCatalogDataRequest(input *GetRegistryCatalogDataI // API operation GetRegistryCatalogData for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * UnsupportedCommandException -// The action is not supported in this Region. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - UnsupportedCommandException +// The action is not supported in this Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRegistryCatalogData func (c *ECRPublic) GetRegistryCatalogData(input *GetRegistryCatalogDataInput) (*GetRegistryCatalogDataOutput, error) { @@ -1382,14 +1378,13 @@ const opGetRepositoryCatalogData = "GetRepositoryCatalogData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRepositoryCatalogDataRequest method. +// req, resp := client.GetRepositoryCatalogDataRequest(params) // -// // Example sending a request using the GetRepositoryCatalogDataRequest method. -// req, resp := client.GetRepositoryCatalogDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRepositoryCatalogData func (c *ECRPublic) GetRepositoryCatalogDataRequest(input *GetRepositoryCatalogDataInput) (req *request.Request, output *GetRepositoryCatalogDataOutput) { @@ -1421,16 +1416,17 @@ func (c *ECRPublic) GetRepositoryCatalogDataRequest(input *GetRepositoryCatalogD // API operation GetRepositoryCatalogData for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRepositoryCatalogData func (c *ECRPublic) GetRepositoryCatalogData(input *GetRepositoryCatalogDataInput) (*GetRepositoryCatalogDataOutput, error) { @@ -1470,14 +1466,13 @@ const opGetRepositoryPolicy = "GetRepositoryPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRepositoryPolicyRequest method. +// req, resp := client.GetRepositoryPolicyRequest(params) // -// // Example sending a request using the GetRepositoryPolicyRequest method. -// req, resp := client.GetRepositoryPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRepositoryPolicy func (c *ECRPublic) GetRepositoryPolicyRequest(input *GetRepositoryPolicyInput) (req *request.Request, output *GetRepositoryPolicyOutput) { @@ -1508,20 +1503,21 @@ func (c *ECRPublic) GetRepositoryPolicyRequest(input *GetRepositoryPolicyInput) // API operation GetRepositoryPolicy for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * RepositoryPolicyNotFoundException -// The specified repository and registry combination does not have an associated -// repository policy. +// - RepositoryPolicyNotFoundException +// The specified repository and registry combination does not have an associated +// repository policy. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/GetRepositoryPolicy func (c *ECRPublic) GetRepositoryPolicy(input *GetRepositoryPolicyInput) (*GetRepositoryPolicyOutput, error) { @@ -1561,14 +1557,13 @@ const opInitiateLayerUpload = "InitiateLayerUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InitiateLayerUploadRequest method. +// req, resp := client.InitiateLayerUploadRequest(params) // -// // Example sending a request using the InitiateLayerUploadRequest method. -// req, resp := client.InitiateLayerUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/InitiateLayerUpload func (c *ECRPublic) InitiateLayerUploadRequest(input *InitiateLayerUploadInput) (req *request.Request, output *InitiateLayerUploadOutput) { @@ -1607,22 +1602,23 @@ func (c *ECRPublic) InitiateLayerUploadRequest(input *InitiateLayerUploadInput) // API operation InitiateLayerUpload for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * RegistryNotFoundException -// The registry does not exist. +// - RegistryNotFoundException +// The registry does not exist. // -// * UnsupportedCommandException -// The action is not supported in this Region. +// - UnsupportedCommandException +// The action is not supported in this Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/InitiateLayerUpload func (c *ECRPublic) InitiateLayerUpload(input *InitiateLayerUploadInput) (*InitiateLayerUploadOutput, error) { @@ -1662,14 +1658,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/ListTagsForResource func (c *ECRPublic) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1700,16 +1695,17 @@ func (c *ECRPublic) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. +// +// - ServerException +// These errors are usually caused by a server-side issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/ListTagsForResource func (c *ECRPublic) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1749,14 +1745,13 @@ const opPutImage = "PutImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutImageRequest method. +// req, resp := client.PutImageRequest(params) // -// // Example sending a request using the PutImageRequest method. -// req, resp := client.PutImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutImage func (c *ECRPublic) PutImageRequest(input *PutImageInput) (req *request.Request, output *PutImageOutput) { @@ -1795,46 +1790,47 @@ func (c *ECRPublic) PutImageRequest(input *PutImageInput) (req *request.Request, // API operation PutImage for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * ImageAlreadyExistsException -// The specified image has already been pushed, and there were no changes to -// the manifest or image tag after the last push. +// - ImageAlreadyExistsException +// The specified image has already been pushed, and there were no changes to +// the manifest or image tag after the last push. // -// * LayersNotFoundException -// The specified layers could not be found, or the specified layer is not valid -// for this repository. +// - LayersNotFoundException +// The specified layers could not be found, or the specified layer is not valid +// for this repository. // -// * ReferencedImagesNotFoundException -// The manifest list is referencing an image that does not exist. +// - ReferencedImagesNotFoundException +// The manifest list is referencing an image that does not exist. // -// * LimitExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. For more information, see Amazon ECR Service Quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) -// in the Amazon Elastic Container Registry User Guide. +// - LimitExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. For more information, see Amazon ECR Service Quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) +// in the Amazon Elastic Container Registry User Guide. // -// * ImageTagAlreadyExistsException -// The specified image is tagged with a tag that already exists. The repository -// is configured for tag immutability. +// - ImageTagAlreadyExistsException +// The specified image is tagged with a tag that already exists. The repository +// is configured for tag immutability. // -// * ImageDigestDoesNotMatchException -// The specified image digest does not match the digest that Amazon ECR calculated -// for the image. +// - ImageDigestDoesNotMatchException +// The specified image digest does not match the digest that Amazon ECR calculated +// for the image. // -// * RegistryNotFoundException -// The registry does not exist. +// - RegistryNotFoundException +// The registry does not exist. // -// * UnsupportedCommandException -// The action is not supported in this Region. +// - UnsupportedCommandException +// The action is not supported in this Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutImage func (c *ECRPublic) PutImage(input *PutImageInput) (*PutImageOutput, error) { @@ -1874,14 +1870,13 @@ const opPutRegistryCatalogData = "PutRegistryCatalogData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRegistryCatalogDataRequest method. +// req, resp := client.PutRegistryCatalogDataRequest(params) // -// // Example sending a request using the PutRegistryCatalogDataRequest method. -// req, resp := client.PutRegistryCatalogDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutRegistryCatalogData func (c *ECRPublic) PutRegistryCatalogDataRequest(input *PutRegistryCatalogDataInput) (req *request.Request, output *PutRegistryCatalogDataOutput) { @@ -1912,15 +1907,16 @@ func (c *ECRPublic) PutRegistryCatalogDataRequest(input *PutRegistryCatalogDataI // API operation PutRegistryCatalogData for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * UnsupportedCommandException -// The action is not supported in this Region. +// - UnsupportedCommandException +// The action is not supported in this Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutRegistryCatalogData func (c *ECRPublic) PutRegistryCatalogData(input *PutRegistryCatalogDataInput) (*PutRegistryCatalogDataOutput, error) { @@ -1960,14 +1956,13 @@ const opPutRepositoryCatalogData = "PutRepositoryCatalogData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRepositoryCatalogDataRequest method. +// req, resp := client.PutRepositoryCatalogDataRequest(params) // -// // Example sending a request using the PutRepositoryCatalogDataRequest method. -// req, resp := client.PutRepositoryCatalogDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutRepositoryCatalogData func (c *ECRPublic) PutRepositoryCatalogDataRequest(input *PutRepositoryCatalogDataInput) (req *request.Request, output *PutRepositoryCatalogDataOutput) { @@ -1998,16 +1993,17 @@ func (c *ECRPublic) PutRepositoryCatalogDataRequest(input *PutRepositoryCatalogD // API operation PutRepositoryCatalogData for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/PutRepositoryCatalogData func (c *ECRPublic) PutRepositoryCatalogData(input *PutRepositoryCatalogDataInput) (*PutRepositoryCatalogDataOutput, error) { @@ -2047,14 +2043,13 @@ const opSetRepositoryPolicy = "SetRepositoryPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetRepositoryPolicyRequest method. +// req, resp := client.SetRepositoryPolicyRequest(params) // -// // Example sending a request using the SetRepositoryPolicyRequest method. -// req, resp := client.SetRepositoryPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/SetRepositoryPolicy func (c *ECRPublic) SetRepositoryPolicyRequest(input *SetRepositoryPolicyInput) (req *request.Request, output *SetRepositoryPolicyOutput) { @@ -2088,16 +2083,17 @@ func (c *ECRPublic) SetRepositoryPolicyRequest(input *SetRepositoryPolicyInput) // API operation SetRepositoryPolicy for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/SetRepositoryPolicy func (c *ECRPublic) SetRepositoryPolicy(input *SetRepositoryPolicyInput) (*SetRepositoryPolicyOutput, error) { @@ -2137,14 +2133,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/TagResource func (c *ECRPublic) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2179,25 +2174,26 @@ func (c *ECRPublic) TagResourceRequest(input *TagResourceInput) (req *request.Re // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * InvalidTagParameterException -// An invalid parameter has been specified. Tag keys can have a maximum character -// length of 128 characters, and tag values can have a maximum length of 256 -// characters. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - InvalidTagParameterException +// An invalid parameter has been specified. Tag keys can have a maximum character +// length of 128 characters, and tag values can have a maximum length of 256 +// characters. // -// * TooManyTagsException -// The list of tags on the repository is over the limit. The maximum number -// of tags that can be applied to a repository is 50. +// - TooManyTagsException +// The list of tags on the repository is over the limit. The maximum number +// of tags that can be applied to a repository is 50. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/TagResource func (c *ECRPublic) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2237,14 +2233,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/UntagResource func (c *ECRPublic) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2276,25 +2271,26 @@ func (c *ECRPublic) UntagResourceRequest(input *UntagResourceInput) (req *reques // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * InvalidTagParameterException -// An invalid parameter has been specified. Tag keys can have a maximum character -// length of 128 characters, and tag values can have a maximum length of 256 -// characters. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * TooManyTagsException -// The list of tags on the repository is over the limit. The maximum number -// of tags that can be applied to a repository is 50. +// - InvalidTagParameterException +// An invalid parameter has been specified. Tag keys can have a maximum character +// length of 128 characters, and tag values can have a maximum length of 256 +// characters. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - TooManyTagsException +// The list of tags on the repository is over the limit. The maximum number +// of tags that can be applied to a repository is 50. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. +// +// - ServerException +// These errors are usually caused by a server-side issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/UntagResource func (c *ECRPublic) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2334,14 +2330,13 @@ const opUploadLayerPart = "UploadLayerPart" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UploadLayerPartRequest method. +// req, resp := client.UploadLayerPartRequest(params) // -// // Example sending a request using the UploadLayerPartRequest method. -// req, resp := client.UploadLayerPartRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/UploadLayerPart func (c *ECRPublic) UploadLayerPartRequest(input *UploadLayerPartInput) (req *request.Request, output *UploadLayerPartOutput) { @@ -2380,35 +2375,36 @@ func (c *ECRPublic) UploadLayerPartRequest(input *UploadLayerPartInput) (req *re // API operation UploadLayerPart for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * InvalidLayerPartException -// The layer part size is not valid, or the first byte specified is not consecutive -// to the last byte of a previous layer part upload. +// - InvalidLayerPartException +// The layer part size is not valid, or the first byte specified is not consecutive +// to the last byte of a previous layer part upload. // -// * RepositoryNotFoundException -// The specified repository could not be found. Check the spelling of the specified -// repository and ensure that you are performing operations on the correct registry. +// - RepositoryNotFoundException +// The specified repository could not be found. Check the spelling of the specified +// repository and ensure that you are performing operations on the correct registry. // -// * UploadNotFoundException -// The upload could not be found, or the specified upload ID is not valid for -// this repository. +// - UploadNotFoundException +// The upload could not be found, or the specified upload ID is not valid for +// this repository. // -// * LimitExceededException -// The operation did not succeed because it would have exceeded a service limit -// for your account. For more information, see Amazon ECR Service Quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) -// in the Amazon Elastic Container Registry User Guide. +// - LimitExceededException +// The operation did not succeed because it would have exceeded a service limit +// for your account. For more information, see Amazon ECR Service Quotas (https://docs.aws.amazon.com/AmazonECR/latest/userguide/service-quotas.html) +// in the Amazon Elastic Container Registry User Guide. // -// * RegistryNotFoundException -// The registry does not exist. +// - RegistryNotFoundException +// The registry does not exist. // -// * UnsupportedCommandException -// The action is not supported in this Region. +// - UnsupportedCommandException +// The action is not supported in this Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecr-public-2020-10-30/UploadLayerPart func (c *ECRPublic) UploadLayerPart(input *UploadLayerPartInput) (*UploadLayerPartOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/doc.go index 840ed5685ff0..c916b8e76c22 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/doc.go @@ -17,7 +17,7 @@ // See ecrpublic package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ecrpublic/ // -// Using the Client +// # Using the Client // // To contact Amazon Elastic Container Registry Public with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/ecrpubliciface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/ecrpubliciface/interface.go index 11c20d2b55d7..adf91fba6326 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/ecrpubliciface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/ecrpubliciface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Elastic Container Registry Public. -// func myFunc(svc ecrpubliciface.ECRPublicAPI) bool { -// // Make svc.BatchCheckLayerAvailability request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Elastic Container Registry Public. +// func myFunc(svc ecrpubliciface.ECRPublicAPI) bool { +// // Make svc.BatchCheckLayerAvailability request +// } // -// func main() { -// sess := session.New() -// svc := ecrpublic.New(sess) +// func main() { +// sess := session.New() +// svc := ecrpublic.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockECRPublicClient struct { -// ecrpubliciface.ECRPublicAPI -// } -// func (m *mockECRPublicClient) BatchCheckLayerAvailability(input *ecrpublic.BatchCheckLayerAvailabilityInput) (*ecrpublic.BatchCheckLayerAvailabilityOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockECRPublicClient struct { +// ecrpubliciface.ECRPublicAPI +// } +// func (m *mockECRPublicClient) BatchCheckLayerAvailability(input *ecrpublic.BatchCheckLayerAvailabilityInput) (*ecrpublic.BatchCheckLayerAvailabilityOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockECRPublicClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockECRPublicClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/service.go index 22820cc281c6..4802a5a34a5b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecrpublic/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ECRPublic client from just a session. -// svc := ecrpublic.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ECRPublic client with additional configuration -// svc := ecrpublic.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ECRPublic client from just a session. +// svc := ecrpublic.New(mySession) +// +// // Create a ECRPublic client with additional configuration +// svc := ecrpublic.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ECRPublic { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/api.go index 985c96d86c37..87a845dfc8b8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/api.go @@ -29,14 +29,13 @@ const opCreateCapacityProvider = "CreateCapacityProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCapacityProviderRequest method. +// req, resp := client.CreateCapacityProviderRequest(params) // -// // Example sending a request using the CreateCapacityProviderRequest method. -// req, resp := client.CreateCapacityProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCapacityProvider func (c *ECS) CreateCapacityProviderRequest(input *CreateCapacityProviderInput) (req *request.Request, output *CreateCapacityProviderOutput) { @@ -74,28 +73,29 @@ func (c *ECS) CreateCapacityProviderRequest(input *CreateCapacityProviderInput) // API operation CreateCapacityProvider for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // -// * LimitExceededException -// The limit for the resource was exceeded. +// - LimitExceededException +// The limit for the resource was exceeded. // -// * UpdateInProgressException -// There's already a current Amazon ECS container agent update in progress on -// the container instance that's specified. If the container agent becomes disconnected -// while it's in a transitional stage, such as PENDING or STAGING, the update -// process can get stuck in that state. However, when the agent reconnects, -// it resumes where it stopped previously. +// - UpdateInProgressException +// There's already a current Amazon ECS container agent update in progress on +// the container instance that's specified. If the container agent becomes disconnected +// while it's in a transitional stage, such as PENDING or STAGING, the update +// process can get stuck in that state. However, when the agent reconnects, +// it resumes where it stopped previously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCapacityProvider func (c *ECS) CreateCapacityProvider(input *CreateCapacityProviderInput) (*CreateCapacityProviderOutput, error) { @@ -135,14 +135,13 @@ const opCreateCluster = "CreateCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClusterRequest method. +// req, resp := client.CreateClusterRequest(params) // -// // Example sending a request using the CreateClusterRequest method. -// req, resp := client.CreateClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCluster func (c *ECS) CreateClusterRequest(input *CreateClusterInput) (req *request.Request, output *CreateClusterOutput) { @@ -183,18 +182,19 @@ func (c *ECS) CreateClusterRequest(input *CreateClusterInput) (req *request.Requ // API operation CreateCluster for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateCluster func (c *ECS) CreateCluster(input *CreateClusterInput) (*CreateClusterOutput, error) { @@ -234,14 +234,13 @@ const opCreateService = "CreateService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateServiceRequest method. +// req, resp := client.CreateServiceRequest(params) // -// // Example sending a request using the CreateServiceRequest method. -// req, resp := client.CreateServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService func (c *ECS) CreateServiceRequest(input *CreateServiceInput) (req *request.Request, output *CreateServiceOutput) { @@ -280,22 +279,22 @@ func (c *ECS) CreateServiceRequest(input *CreateServiceInput) (req *request.Requ // // There are two service scheduler strategies available: // -// * REPLICA - The replica scheduling strategy places and maintains your -// desired number of tasks across your cluster. By default, the service scheduler -// spreads tasks across Availability Zones. You can use task placement strategies -// and constraints to customize task placement decisions. For more information, -// see Service Scheduler Concepts (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html) -// in the Amazon Elastic Container Service Developer Guide. -// -// * DAEMON - The daemon scheduling strategy deploys exactly one task on -// each active container instance that meets all of the task placement constraints -// that you specify in your cluster. The service scheduler also evaluates -// the task placement constraints for running tasks. It also stops tasks -// that don't meet the placement constraints. When using this strategy, you -// don't need to specify a desired number of tasks, a task placement strategy, -// or use Service Auto Scaling policies. For more information, see Service -// Scheduler Concepts (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html) -// in the Amazon Elastic Container Service Developer Guide. +// - REPLICA - The replica scheduling strategy places and maintains your +// desired number of tasks across your cluster. By default, the service scheduler +// spreads tasks across Availability Zones. You can use task placement strategies +// and constraints to customize task placement decisions. For more information, +// see Service Scheduler Concepts (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html) +// in the Amazon Elastic Container Service Developer Guide. +// +// - DAEMON - The daemon scheduling strategy deploys exactly one task on +// each active container instance that meets all of the task placement constraints +// that you specify in your cluster. The service scheduler also evaluates +// the task placement constraints for running tasks. It also stops tasks +// that don't meet the placement constraints. When using this strategy, you +// don't need to specify a desired number of tasks, a task placement strategy, +// or use Service Auto Scaling policies. For more information, see Service +// Scheduler Concepts (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html) +// in the Amazon Elastic Container Service Developer Guide. // // You can optionally specify a deployment configuration for your service. The // deployment is initiated by changing properties. For example, the deployment @@ -350,21 +349,21 @@ func (c *ECS) CreateServiceRequest(input *CreateServiceInput) (req *request.Requ // When the service scheduler launches new tasks, it determines task placement // in your cluster using the following logic: // -// * Determine which of the container instances in your cluster can support -// the task definition of your service. For example, they have the required -// CPU, memory, ports, and container instance attributes. -// -// * By default, the service scheduler attempts to balance tasks across Availability -// Zones in this manner. This is the case even if you can choose a different -// placement strategy with the placementStrategy parameter. Sort the valid -// container instances, giving priority to instances that have the fewest -// number of running tasks for this service in their respective Availability -// Zone. For example, if zone A has one running service task and zones B -// and C each have zero, valid container instances in either zone B or C -// are considered optimal for placement. Place the new service task on a -// valid container instance in an optimal Availability Zone based on the -// previous steps, favoring container instances with the fewest number of -// running tasks for this service. +// - Determine which of the container instances in your cluster can support +// the task definition of your service. For example, they have the required +// CPU, memory, ports, and container instance attributes. +// +// - By default, the service scheduler attempts to balance tasks across Availability +// Zones in this manner. This is the case even if you can choose a different +// placement strategy with the placementStrategy parameter. Sort the valid +// container instances, giving priority to instances that have the fewest +// number of running tasks for this service in their respective Availability +// Zone. For example, if zone A has one running service task and zones B +// and C each have zero, valid container instances in either zone B or C +// are considered optimal for placement. Place the new service task on a +// valid container instance in an optimal Availability Zone based on the +// previous steps, favoring container instances with the fewest number of +// running tasks for this service. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -374,35 +373,36 @@ func (c *ECS) CreateServiceRequest(input *CreateServiceInput) (req *request.Requ // API operation CreateService for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // -// * UnsupportedFeatureException -// The specified task isn't supported in this Region. +// - UnsupportedFeatureException +// The specified task isn't supported in this Region. // -// * PlatformUnknownException -// The specified platform version doesn't exist. +// - PlatformUnknownException +// The specified platform version doesn't exist. // -// * PlatformTaskDefinitionIncompatibilityException -// The specified platform version doesn't satisfy the required capabilities -// of the task definition. +// - PlatformTaskDefinitionIncompatibilityException +// The specified platform version doesn't satisfy the required capabilities +// of the task definition. // -// * AccessDeniedException -// You don't have authorization to perform the requested action. +// - AccessDeniedException +// You don't have authorization to perform the requested action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService func (c *ECS) CreateService(input *CreateServiceInput) (*CreateServiceOutput, error) { @@ -442,14 +442,13 @@ const opCreateTaskSet = "CreateTaskSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTaskSetRequest method. +// req, resp := client.CreateTaskSetRequest(params) // -// // Example sending a request using the CreateTaskSetRequest method. -// req, resp := client.CreateTaskSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateTaskSet func (c *ECS) CreateTaskSetRequest(input *CreateTaskSetInput) (req *request.Request, output *CreateTaskSetOutput) { @@ -483,43 +482,44 @@ func (c *ECS) CreateTaskSetRequest(input *CreateTaskSetInput) (req *request.Requ // API operation CreateTaskSet for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // -// * UnsupportedFeatureException -// The specified task isn't supported in this Region. +// - UnsupportedFeatureException +// The specified task isn't supported in this Region. // -// * PlatformUnknownException -// The specified platform version doesn't exist. +// - PlatformUnknownException +// The specified platform version doesn't exist. // -// * PlatformTaskDefinitionIncompatibilityException -// The specified platform version doesn't satisfy the required capabilities -// of the task definition. +// - PlatformTaskDefinitionIncompatibilityException +// The specified platform version doesn't satisfy the required capabilities +// of the task definition. // -// * AccessDeniedException -// You don't have authorization to perform the requested action. +// - AccessDeniedException +// You don't have authorization to perform the requested action. // -// * ServiceNotFoundException -// The specified service wasn't found. You can view your available services -// with ListServices. Amazon ECS services are cluster specific and Region specific. +// - ServiceNotFoundException +// The specified service wasn't found. You can view your available services +// with ListServices. Amazon ECS services are cluster specific and Region specific. // -// * ServiceNotActiveException -// The specified service isn't active. You can't update a service that's inactive. -// If you have previously deleted a service, you can re-create it with CreateService. +// - ServiceNotActiveException +// The specified service isn't active. You can't update a service that's inactive. +// If you have previously deleted a service, you can re-create it with CreateService. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateTaskSet func (c *ECS) CreateTaskSet(input *CreateTaskSetInput) (*CreateTaskSetOutput, error) { @@ -559,14 +559,13 @@ const opDeleteAccountSetting = "DeleteAccountSetting" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccountSettingRequest method. +// req, resp := client.DeleteAccountSettingRequest(params) // -// // Example sending a request using the DeleteAccountSettingRequest method. -// req, resp := client.DeleteAccountSettingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAccountSetting func (c *ECS) DeleteAccountSettingRequest(input *DeleteAccountSettingInput) (req *request.Request, output *DeleteAccountSettingOutput) { @@ -598,18 +597,19 @@ func (c *ECS) DeleteAccountSettingRequest(input *DeleteAccountSettingInput) (req // API operation DeleteAccountSetting for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAccountSetting func (c *ECS) DeleteAccountSetting(input *DeleteAccountSettingInput) (*DeleteAccountSettingOutput, error) { @@ -649,14 +649,13 @@ const opDeleteAttributes = "DeleteAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAttributesRequest method. +// req, resp := client.DeleteAttributesRequest(params) // -// // Example sending a request using the DeleteAttributesRequest method. -// req, resp := client.DeleteAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributes func (c *ECS) DeleteAttributesRequest(input *DeleteAttributesInput) (req *request.Request, output *DeleteAttributesOutput) { @@ -687,18 +686,19 @@ func (c *ECS) DeleteAttributesRequest(input *DeleteAttributesInput) (req *reques // API operation DeleteAttributes for usage and error information. // // Returned Error Types: -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. // -// * TargetNotFoundException -// The specified target wasn't found. You can view your available container -// instances with ListContainerInstances. Amazon ECS container instances are -// cluster-specific and Region-specific. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. +// +// - TargetNotFoundException +// The specified target wasn't found. You can view your available container +// instances with ListContainerInstances. Amazon ECS container instances are +// cluster-specific and Region-specific. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAttributes func (c *ECS) DeleteAttributes(input *DeleteAttributesInput) (*DeleteAttributesOutput, error) { @@ -738,14 +738,13 @@ const opDeleteCapacityProvider = "DeleteCapacityProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCapacityProviderRequest method. +// req, resp := client.DeleteCapacityProviderRequest(params) // -// // Example sending a request using the DeleteCapacityProviderRequest method. -// req, resp := client.DeleteCapacityProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProvider func (c *ECS) DeleteCapacityProviderRequest(input *DeleteCapacityProviderInput) (req *request.Request, output *DeleteCapacityProviderOutput) { @@ -790,18 +789,19 @@ func (c *ECS) DeleteCapacityProviderRequest(input *DeleteCapacityProviderInput) // API operation DeleteCapacityProvider for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCapacityProvider func (c *ECS) DeleteCapacityProvider(input *DeleteCapacityProviderInput) (*DeleteCapacityProviderOutput, error) { @@ -841,14 +841,13 @@ const opDeleteCluster = "DeleteCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClusterRequest method. +// req, resp := client.DeleteClusterRequest(params) // -// // Example sending a request using the DeleteClusterRequest method. -// req, resp := client.DeleteClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCluster func (c *ECS) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Request, output *DeleteClusterOutput) { @@ -886,42 +885,43 @@ func (c *ECS) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Requ // API operation DeleteCluster for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. -// -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. -// -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. -// -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. -// -// * ClusterContainsContainerInstancesException -// You can't delete a cluster that has registered container instances. First, -// deregister the container instances before you can delete the cluster. For -// more information, see DeregisterContainerInstance. -// -// * ClusterContainsServicesException -// You can't delete a cluster that contains services. First, update the service -// to reduce its desired task count to 0, and then delete the service. For more -// information, see UpdateService and DeleteService. -// -// * ClusterContainsTasksException -// You can't delete a cluster that has active tasks. -// -// * UpdateInProgressException -// There's already a current Amazon ECS container agent update in progress on -// the container instance that's specified. If the container agent becomes disconnected -// while it's in a transitional stage, such as PENDING or STAGING, the update -// process can get stuck in that state. However, when the agent reconnects, -// it resumes where it stopped previously. +// +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. +// +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. +// +// - ClusterContainsContainerInstancesException +// You can't delete a cluster that has registered container instances. First, +// deregister the container instances before you can delete the cluster. For +// more information, see DeregisterContainerInstance. +// +// - ClusterContainsServicesException +// You can't delete a cluster that contains services. First, update the service +// to reduce its desired task count to 0, and then delete the service. For more +// information, see UpdateService and DeleteService. +// +// - ClusterContainsTasksException +// You can't delete a cluster that has active tasks. +// +// - UpdateInProgressException +// There's already a current Amazon ECS container agent update in progress on +// the container instance that's specified. If the container agent becomes disconnected +// while it's in a transitional stage, such as PENDING or STAGING, the update +// process can get stuck in that state. However, when the agent reconnects, +// it resumes where it stopped previously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteCluster func (c *ECS) DeleteCluster(input *DeleteClusterInput) (*DeleteClusterOutput, error) { @@ -961,14 +961,13 @@ const opDeleteService = "DeleteService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServiceRequest method. +// req, resp := client.DeleteServiceRequest(params) // -// // Example sending a request using the DeleteServiceRequest method. -// req, resp := client.DeleteServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService func (c *ECS) DeleteServiceRequest(input *DeleteServiceInput) (req *request.Request, output *DeleteServiceOutput) { @@ -1016,26 +1015,27 @@ func (c *ECS) DeleteServiceRequest(input *DeleteServiceInput) (req *request.Requ // API operation DeleteService for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // -// * ServiceNotFoundException -// The specified service wasn't found. You can view your available services -// with ListServices. Amazon ECS services are cluster specific and Region specific. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. +// +// - ServiceNotFoundException +// The specified service wasn't found. You can view your available services +// with ListServices. Amazon ECS services are cluster specific and Region specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService func (c *ECS) DeleteService(input *DeleteServiceInput) (*DeleteServiceOutput, error) { @@ -1075,14 +1075,13 @@ const opDeleteTaskSet = "DeleteTaskSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTaskSetRequest method. +// req, resp := client.DeleteTaskSetRequest(params) // -// // Example sending a request using the DeleteTaskSetRequest method. -// req, resp := client.DeleteTaskSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteTaskSet func (c *ECS) DeleteTaskSetRequest(input *DeleteTaskSetInput) (req *request.Request, output *DeleteTaskSetOutput) { @@ -1116,41 +1115,42 @@ func (c *ECS) DeleteTaskSetRequest(input *DeleteTaskSetInput) (req *request.Requ // API operation DeleteTaskSet for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // -// * UnsupportedFeatureException -// The specified task isn't supported in this Region. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // -// * AccessDeniedException -// You don't have authorization to perform the requested action. +// - UnsupportedFeatureException +// The specified task isn't supported in this Region. // -// * ServiceNotFoundException -// The specified service wasn't found. You can view your available services -// with ListServices. Amazon ECS services are cluster specific and Region specific. +// - AccessDeniedException +// You don't have authorization to perform the requested action. // -// * ServiceNotActiveException -// The specified service isn't active. You can't update a service that's inactive. -// If you have previously deleted a service, you can re-create it with CreateService. +// - ServiceNotFoundException +// The specified service wasn't found. You can view your available services +// with ListServices. Amazon ECS services are cluster specific and Region specific. // -// * TaskSetNotFoundException -// The specified task set wasn't found. You can view your available task sets -// with DescribeTaskSets. Task sets are specific to each cluster, service and -// Region. +// - ServiceNotActiveException +// The specified service isn't active. You can't update a service that's inactive. +// If you have previously deleted a service, you can re-create it with CreateService. +// +// - TaskSetNotFoundException +// The specified task set wasn't found. You can view your available task sets +// with DescribeTaskSets. Task sets are specific to each cluster, service and +// Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteTaskSet func (c *ECS) DeleteTaskSet(input *DeleteTaskSetInput) (*DeleteTaskSetOutput, error) { @@ -1190,14 +1190,13 @@ const opDeregisterContainerInstance = "DeregisterContainerInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterContainerInstanceRequest method. +// req, resp := client.DeregisterContainerInstanceRequest(params) // -// // Example sending a request using the DeregisterContainerInstanceRequest method. -// req, resp := client.DeregisterContainerInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstance func (c *ECS) DeregisterContainerInstanceRequest(input *DeregisterContainerInstanceInput) (req *request.Request, output *DeregisterContainerInstanceOutput) { @@ -1242,22 +1241,23 @@ func (c *ECS) DeregisterContainerInstanceRequest(input *DeregisterContainerInsta // API operation DeregisterContainerInstance for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. +// +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterContainerInstance func (c *ECS) DeregisterContainerInstance(input *DeregisterContainerInstanceInput) (*DeregisterContainerInstanceOutput, error) { @@ -1297,14 +1297,13 @@ const opDeregisterTaskDefinition = "DeregisterTaskDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterTaskDefinitionRequest method. +// req, resp := client.DeregisterTaskDefinitionRequest(params) // -// // Example sending a request using the DeregisterTaskDefinitionRequest method. -// req, resp := client.DeregisterTaskDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition func (c *ECS) DeregisterTaskDefinitionRequest(input *DeregisterTaskDefinitionInput) (req *request.Request, output *DeregisterTaskDefinitionOutput) { @@ -1349,18 +1348,19 @@ func (c *ECS) DeregisterTaskDefinitionRequest(input *DeregisterTaskDefinitionInp // API operation DeregisterTaskDefinition for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition func (c *ECS) DeregisterTaskDefinition(input *DeregisterTaskDefinitionInput) (*DeregisterTaskDefinitionOutput, error) { @@ -1400,14 +1400,13 @@ const opDescribeCapacityProviders = "DescribeCapacityProviders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCapacityProvidersRequest method. +// req, resp := client.DescribeCapacityProvidersRequest(params) // -// // Example sending a request using the DescribeCapacityProvidersRequest method. -// req, resp := client.DescribeCapacityProvidersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeCapacityProviders func (c *ECS) DescribeCapacityProvidersRequest(input *DescribeCapacityProvidersInput) (req *request.Request, output *DescribeCapacityProvidersOutput) { @@ -1438,18 +1437,19 @@ func (c *ECS) DescribeCapacityProvidersRequest(input *DescribeCapacityProvidersI // API operation DescribeCapacityProviders for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeCapacityProviders func (c *ECS) DescribeCapacityProviders(input *DescribeCapacityProvidersInput) (*DescribeCapacityProvidersOutput, error) { @@ -1489,14 +1489,13 @@ const opDescribeClusters = "DescribeClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClustersRequest method. +// req, resp := client.DescribeClustersRequest(params) // -// // Example sending a request using the DescribeClustersRequest method. -// req, resp := client.DescribeClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClusters func (c *ECS) DescribeClustersRequest(input *DescribeClustersInput) (req *request.Request, output *DescribeClustersOutput) { @@ -1527,18 +1526,19 @@ func (c *ECS) DescribeClustersRequest(input *DescribeClustersInput) (req *reques // API operation DescribeClusters for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeClusters func (c *ECS) DescribeClusters(input *DescribeClustersInput) (*DescribeClustersOutput, error) { @@ -1578,14 +1578,13 @@ const opDescribeContainerInstances = "DescribeContainerInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeContainerInstancesRequest method. +// req, resp := client.DescribeContainerInstancesRequest(params) // -// // Example sending a request using the DescribeContainerInstancesRequest method. -// req, resp := client.DescribeContainerInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstances func (c *ECS) DescribeContainerInstancesRequest(input *DescribeContainerInstancesInput) (req *request.Request, output *DescribeContainerInstancesOutput) { @@ -1617,22 +1616,23 @@ func (c *ECS) DescribeContainerInstancesRequest(input *DescribeContainerInstance // API operation DescribeContainerInstances for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. +// +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeContainerInstances func (c *ECS) DescribeContainerInstances(input *DescribeContainerInstancesInput) (*DescribeContainerInstancesOutput, error) { @@ -1672,14 +1672,13 @@ const opDescribeServices = "DescribeServices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeServicesRequest method. +// req, resp := client.DescribeServicesRequest(params) // -// // Example sending a request using the DescribeServicesRequest method. -// req, resp := client.DescribeServicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServices func (c *ECS) DescribeServicesRequest(input *DescribeServicesInput) (req *request.Request, output *DescribeServicesOutput) { @@ -1710,22 +1709,23 @@ func (c *ECS) DescribeServicesRequest(input *DescribeServicesInput) (req *reques // API operation DescribeServices for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. +// +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeServices func (c *ECS) DescribeServices(input *DescribeServicesInput) (*DescribeServicesOutput, error) { @@ -1765,14 +1765,13 @@ const opDescribeTaskDefinition = "DescribeTaskDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTaskDefinitionRequest method. +// req, resp := client.DescribeTaskDefinitionRequest(params) // -// // Example sending a request using the DescribeTaskDefinitionRequest method. -// req, resp := client.DescribeTaskDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinition func (c *ECS) DescribeTaskDefinitionRequest(input *DescribeTaskDefinitionInput) (req *request.Request, output *DescribeTaskDefinitionOutput) { @@ -1808,18 +1807,19 @@ func (c *ECS) DescribeTaskDefinitionRequest(input *DescribeTaskDefinitionInput) // API operation DescribeTaskDefinition for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskDefinition func (c *ECS) DescribeTaskDefinition(input *DescribeTaskDefinitionInput) (*DescribeTaskDefinitionOutput, error) { @@ -1859,14 +1859,13 @@ const opDescribeTaskSets = "DescribeTaskSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTaskSetsRequest method. +// req, resp := client.DescribeTaskSetsRequest(params) // -// // Example sending a request using the DescribeTaskSetsRequest method. -// req, resp := client.DescribeTaskSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskSets func (c *ECS) DescribeTaskSetsRequest(input *DescribeTaskSetsInput) (req *request.Request, output *DescribeTaskSetsOutput) { @@ -1900,36 +1899,37 @@ func (c *ECS) DescribeTaskSetsRequest(input *DescribeTaskSetsInput) (req *reques // API operation DescribeTaskSets for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // -// * UnsupportedFeatureException -// The specified task isn't supported in this Region. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // -// * AccessDeniedException -// You don't have authorization to perform the requested action. +// - UnsupportedFeatureException +// The specified task isn't supported in this Region. // -// * ServiceNotFoundException -// The specified service wasn't found. You can view your available services -// with ListServices. Amazon ECS services are cluster specific and Region specific. +// - AccessDeniedException +// You don't have authorization to perform the requested action. // -// * ServiceNotActiveException -// The specified service isn't active. You can't update a service that's inactive. -// If you have previously deleted a service, you can re-create it with CreateService. +// - ServiceNotFoundException +// The specified service wasn't found. You can view your available services +// with ListServices. Amazon ECS services are cluster specific and Region specific. +// +// - ServiceNotActiveException +// The specified service isn't active. You can't update a service that's inactive. +// If you have previously deleted a service, you can re-create it with CreateService. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTaskSets func (c *ECS) DescribeTaskSets(input *DescribeTaskSetsInput) (*DescribeTaskSetsOutput, error) { @@ -1969,14 +1969,13 @@ const opDescribeTasks = "DescribeTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTasksRequest method. +// req, resp := client.DescribeTasksRequest(params) // -// // Example sending a request using the DescribeTasksRequest method. -// req, resp := client.DescribeTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasks func (c *ECS) DescribeTasksRequest(input *DescribeTasksInput) (req *request.Request, output *DescribeTasksOutput) { @@ -2007,22 +2006,23 @@ func (c *ECS) DescribeTasksRequest(input *DescribeTasksInput) (req *request.Requ // API operation DescribeTasks for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. +// +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DescribeTasks func (c *ECS) DescribeTasks(input *DescribeTasksInput) (*DescribeTasksOutput, error) { @@ -2062,14 +2062,13 @@ const opDiscoverPollEndpoint = "DiscoverPollEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DiscoverPollEndpointRequest method. +// req, resp := client.DiscoverPollEndpointRequest(params) // -// // Example sending a request using the DiscoverPollEndpointRequest method. -// req, resp := client.DiscoverPollEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpoint func (c *ECS) DiscoverPollEndpointRequest(input *DiscoverPollEndpointInput) (req *request.Request, output *DiscoverPollEndpointOutput) { @@ -2090,7 +2089,6 @@ func (c *ECS) DiscoverPollEndpointRequest(input *DiscoverPollEndpointInput) (req // DiscoverPollEndpoint API operation for Amazon EC2 Container Service. // -// // This action is only used by the Amazon ECS agent, and it is not intended // for use outside of the agent. // @@ -2104,14 +2102,15 @@ func (c *ECS) DiscoverPollEndpointRequest(input *DiscoverPollEndpointInput) (req // API operation DiscoverPollEndpoint for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DiscoverPollEndpoint func (c *ECS) DiscoverPollEndpoint(input *DiscoverPollEndpointInput) (*DiscoverPollEndpointOutput, error) { @@ -2151,14 +2150,13 @@ const opExecuteCommand = "ExecuteCommand" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExecuteCommandRequest method. +// req, resp := client.ExecuteCommandRequest(params) // -// // Example sending a request using the ExecuteCommandRequest method. -// req, resp := client.ExecuteCommandRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ExecuteCommand func (c *ECS) ExecuteCommandRequest(input *ExecuteCommandInput) (req *request.Request, output *ExecuteCommandOutput) { @@ -2189,40 +2187,41 @@ func (c *ECS) ExecuteCommandRequest(input *ExecuteCommandInput) (req *request.Re // API operation ExecuteCommand for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // -// * AccessDeniedException -// You don't have authorization to perform the requested action. +// - AccessDeniedException +// You don't have authorization to perform the requested action. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // -// * TargetNotConnectedException -// The execute command cannot run. This error can be caused by any of the following -// configuration issues: +// - TargetNotConnectedException +// The execute command cannot run. This error can be caused by any of the following +// configuration issues: // -// * Incorrect IAM permissions +// - Incorrect IAM permissions // -// * The SSM agent is not installed or is not running +// - The SSM agent is not installed or is not running // -// * There is an interface Amazon VPC endpoint for Amazon ECS, but there -// is not one for for Systems Manager Session Manager +// - There is an interface Amazon VPC endpoint for Amazon ECS, but there +// is not one for for Systems Manager Session Manager // -// For information about how to troubleshoot the issues, see Troubleshooting -// issues with ECS Exec (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html) -// in the Amazon Elastic Container Service Developer Guide. +// For information about how to troubleshoot the issues, see Troubleshooting +// issues with ECS Exec (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html) +// in the Amazon Elastic Container Service Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ExecuteCommand func (c *ECS) ExecuteCommand(input *ExecuteCommandInput) (*ExecuteCommandOutput, error) { @@ -2262,14 +2261,13 @@ const opListAccountSettings = "ListAccountSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccountSettingsRequest method. +// req, resp := client.ListAccountSettingsRequest(params) // -// // Example sending a request using the ListAccountSettingsRequest method. -// req, resp := client.ListAccountSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAccountSettings func (c *ECS) ListAccountSettingsRequest(input *ListAccountSettingsInput) (req *request.Request, output *ListAccountSettingsOutput) { @@ -2306,18 +2304,19 @@ func (c *ECS) ListAccountSettingsRequest(input *ListAccountSettingsInput) (req * // API operation ListAccountSettings for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAccountSettings func (c *ECS) ListAccountSettings(input *ListAccountSettingsInput) (*ListAccountSettingsOutput, error) { @@ -2349,15 +2348,14 @@ func (c *ECS) ListAccountSettingsWithContext(ctx aws.Context, input *ListAccount // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccountSettings operation. -// pageNum := 0 -// err := client.ListAccountSettingsPages(params, -// func(page *ecs.ListAccountSettingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccountSettings operation. +// pageNum := 0 +// err := client.ListAccountSettingsPages(params, +// func(page *ecs.ListAccountSettingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECS) ListAccountSettingsPages(input *ListAccountSettingsInput, fn func(*ListAccountSettingsOutput, bool) bool) error { return c.ListAccountSettingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2409,14 +2407,13 @@ const opListAttributes = "ListAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAttributesRequest method. +// req, resp := client.ListAttributesRequest(params) // -// // Example sending a request using the ListAttributesRequest method. -// req, resp := client.ListAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributes func (c *ECS) ListAttributesRequest(input *ListAttributesInput) (req *request.Request, output *ListAttributesOutput) { @@ -2459,13 +2456,14 @@ func (c *ECS) ListAttributesRequest(input *ListAttributesInput) (req *request.Re // API operation ListAttributes for usage and error information. // // Returned Error Types: -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListAttributes func (c *ECS) ListAttributes(input *ListAttributesInput) (*ListAttributesOutput, error) { @@ -2497,15 +2495,14 @@ func (c *ECS) ListAttributesWithContext(ctx aws.Context, input *ListAttributesIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAttributes operation. -// pageNum := 0 -// err := client.ListAttributesPages(params, -// func(page *ecs.ListAttributesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAttributes operation. +// pageNum := 0 +// err := client.ListAttributesPages(params, +// func(page *ecs.ListAttributesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECS) ListAttributesPages(input *ListAttributesInput, fn func(*ListAttributesOutput, bool) bool) error { return c.ListAttributesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2557,14 +2554,13 @@ const opListClusters = "ListClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListClustersRequest method. +// req, resp := client.ListClustersRequest(params) // -// // Example sending a request using the ListClustersRequest method. -// req, resp := client.ListClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClusters func (c *ECS) ListClustersRequest(input *ListClustersInput) (req *request.Request, output *ListClustersOutput) { @@ -2601,18 +2597,19 @@ func (c *ECS) ListClustersRequest(input *ListClustersInput) (req *request.Reques // API operation ListClusters for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListClusters func (c *ECS) ListClusters(input *ListClustersInput) (*ListClustersOutput, error) { @@ -2644,15 +2641,14 @@ func (c *ECS) ListClustersWithContext(ctx aws.Context, input *ListClustersInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListClusters operation. -// pageNum := 0 -// err := client.ListClustersPages(params, -// func(page *ecs.ListClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListClusters operation. +// pageNum := 0 +// err := client.ListClustersPages(params, +// func(page *ecs.ListClustersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECS) ListClustersPages(input *ListClustersInput, fn func(*ListClustersOutput, bool) bool) error { return c.ListClustersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2704,14 +2700,13 @@ const opListContainerInstances = "ListContainerInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListContainerInstancesRequest method. +// req, resp := client.ListContainerInstancesRequest(params) // -// // Example sending a request using the ListContainerInstancesRequest method. -// req, resp := client.ListContainerInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstances func (c *ECS) ListContainerInstancesRequest(input *ListContainerInstancesInput) (req *request.Request, output *ListContainerInstancesOutput) { @@ -2752,22 +2747,23 @@ func (c *ECS) ListContainerInstancesRequest(input *ListContainerInstancesInput) // API operation ListContainerInstances for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. +// +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListContainerInstances func (c *ECS) ListContainerInstances(input *ListContainerInstancesInput) (*ListContainerInstancesOutput, error) { @@ -2799,15 +2795,14 @@ func (c *ECS) ListContainerInstancesWithContext(ctx aws.Context, input *ListCont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListContainerInstances operation. -// pageNum := 0 -// err := client.ListContainerInstancesPages(params, -// func(page *ecs.ListContainerInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListContainerInstances operation. +// pageNum := 0 +// err := client.ListContainerInstancesPages(params, +// func(page *ecs.ListContainerInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECS) ListContainerInstancesPages(input *ListContainerInstancesInput, fn func(*ListContainerInstancesOutput, bool) bool) error { return c.ListContainerInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2859,14 +2854,13 @@ const opListServices = "ListServices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServicesRequest method. +// req, resp := client.ListServicesRequest(params) // -// // Example sending a request using the ListServicesRequest method. -// req, resp := client.ListServicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServices func (c *ECS) ListServicesRequest(input *ListServicesInput) (req *request.Request, output *ListServicesOutput) { @@ -2904,22 +2898,23 @@ func (c *ECS) ListServicesRequest(input *ListServicesInput) (req *request.Reques // API operation ListServices for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. +// +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListServices func (c *ECS) ListServices(input *ListServicesInput) (*ListServicesOutput, error) { @@ -2951,15 +2946,14 @@ func (c *ECS) ListServicesWithContext(ctx aws.Context, input *ListServicesInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServices operation. -// pageNum := 0 -// err := client.ListServicesPages(params, -// func(page *ecs.ListServicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServices operation. +// pageNum := 0 +// err := client.ListServicesPages(params, +// func(page *ecs.ListServicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECS) ListServicesPages(input *ListServicesInput, fn func(*ListServicesOutput, bool) bool) error { return c.ListServicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3011,14 +3005,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTagsForResource func (c *ECS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -3049,22 +3042,23 @@ func (c *ECS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTagsForResource func (c *ECS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3104,14 +3098,13 @@ const opListTaskDefinitionFamilies = "ListTaskDefinitionFamilies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTaskDefinitionFamiliesRequest method. +// req, resp := client.ListTaskDefinitionFamiliesRequest(params) // -// // Example sending a request using the ListTaskDefinitionFamiliesRequest method. -// req, resp := client.ListTaskDefinitionFamiliesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamilies func (c *ECS) ListTaskDefinitionFamiliesRequest(input *ListTaskDefinitionFamiliesInput) (req *request.Request, output *ListTaskDefinitionFamiliesOutput) { @@ -3154,18 +3147,19 @@ func (c *ECS) ListTaskDefinitionFamiliesRequest(input *ListTaskDefinitionFamilie // API operation ListTaskDefinitionFamilies for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitionFamilies func (c *ECS) ListTaskDefinitionFamilies(input *ListTaskDefinitionFamiliesInput) (*ListTaskDefinitionFamiliesOutput, error) { @@ -3197,15 +3191,14 @@ func (c *ECS) ListTaskDefinitionFamiliesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTaskDefinitionFamilies operation. -// pageNum := 0 -// err := client.ListTaskDefinitionFamiliesPages(params, -// func(page *ecs.ListTaskDefinitionFamiliesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTaskDefinitionFamilies operation. +// pageNum := 0 +// err := client.ListTaskDefinitionFamiliesPages(params, +// func(page *ecs.ListTaskDefinitionFamiliesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECS) ListTaskDefinitionFamiliesPages(input *ListTaskDefinitionFamiliesInput, fn func(*ListTaskDefinitionFamiliesOutput, bool) bool) error { return c.ListTaskDefinitionFamiliesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3257,14 +3250,13 @@ const opListTaskDefinitions = "ListTaskDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTaskDefinitionsRequest method. +// req, resp := client.ListTaskDefinitionsRequest(params) // -// // Example sending a request using the ListTaskDefinitionsRequest method. -// req, resp := client.ListTaskDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitions func (c *ECS) ListTaskDefinitionsRequest(input *ListTaskDefinitionsInput) (req *request.Request, output *ListTaskDefinitionsOutput) { @@ -3303,18 +3295,19 @@ func (c *ECS) ListTaskDefinitionsRequest(input *ListTaskDefinitionsInput) (req * // API operation ListTaskDefinitions for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTaskDefinitions func (c *ECS) ListTaskDefinitions(input *ListTaskDefinitionsInput) (*ListTaskDefinitionsOutput, error) { @@ -3346,15 +3339,14 @@ func (c *ECS) ListTaskDefinitionsWithContext(ctx aws.Context, input *ListTaskDef // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTaskDefinitions operation. -// pageNum := 0 -// err := client.ListTaskDefinitionsPages(params, -// func(page *ecs.ListTaskDefinitionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTaskDefinitions operation. +// pageNum := 0 +// err := client.ListTaskDefinitionsPages(params, +// func(page *ecs.ListTaskDefinitionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECS) ListTaskDefinitionsPages(input *ListTaskDefinitionsInput, fn func(*ListTaskDefinitionsOutput, bool) bool) error { return c.ListTaskDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3406,14 +3398,13 @@ const opListTasks = "ListTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTasksRequest method. +// req, resp := client.ListTasksRequest(params) // -// // Example sending a request using the ListTasksRequest method. -// req, resp := client.ListTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasks func (c *ECS) ListTasksRequest(input *ListTasksInput) (req *request.Request, output *ListTasksOutput) { @@ -3455,26 +3446,27 @@ func (c *ECS) ListTasksRequest(input *ListTasksInput) (req *request.Request, out // API operation ListTasks for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // -// * ServiceNotFoundException -// The specified service wasn't found. You can view your available services -// with ListServices. Amazon ECS services are cluster specific and Region specific. +// - ServiceNotFoundException +// The specified service wasn't found. You can view your available services +// with ListServices. Amazon ECS services are cluster specific and Region specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ListTasks func (c *ECS) ListTasks(input *ListTasksInput) (*ListTasksOutput, error) { @@ -3506,15 +3498,14 @@ func (c *ECS) ListTasksWithContext(ctx aws.Context, input *ListTasksInput, opts // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTasks operation. -// pageNum := 0 -// err := client.ListTasksPages(params, -// func(page *ecs.ListTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTasks operation. +// pageNum := 0 +// err := client.ListTasksPages(params, +// func(page *ecs.ListTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ECS) ListTasksPages(input *ListTasksInput, fn func(*ListTasksOutput, bool) bool) error { return c.ListTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3566,14 +3557,13 @@ const opPutAccountSetting = "PutAccountSetting" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAccountSettingRequest method. +// req, resp := client.PutAccountSettingRequest(params) // -// // Example sending a request using the PutAccountSettingRequest method. -// req, resp := client.PutAccountSettingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSetting func (c *ECS) PutAccountSettingRequest(input *PutAccountSettingInput) (req *request.Request, output *PutAccountSettingOutput) { @@ -3632,18 +3622,19 @@ func (c *ECS) PutAccountSettingRequest(input *PutAccountSettingInput) (req *requ // API operation PutAccountSetting for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSetting func (c *ECS) PutAccountSetting(input *PutAccountSettingInput) (*PutAccountSettingOutput, error) { @@ -3683,14 +3674,13 @@ const opPutAccountSettingDefault = "PutAccountSettingDefault" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAccountSettingDefaultRequest method. +// req, resp := client.PutAccountSettingDefaultRequest(params) // -// // Example sending a request using the PutAccountSettingDefaultRequest method. -// req, resp := client.PutAccountSettingDefaultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSettingDefault func (c *ECS) PutAccountSettingDefaultRequest(input *PutAccountSettingDefaultInput) (req *request.Request, output *PutAccountSettingDefaultOutput) { @@ -3723,18 +3713,19 @@ func (c *ECS) PutAccountSettingDefaultRequest(input *PutAccountSettingDefaultInp // API operation PutAccountSettingDefault for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSettingDefault func (c *ECS) PutAccountSettingDefault(input *PutAccountSettingDefaultInput) (*PutAccountSettingDefaultOutput, error) { @@ -3774,14 +3765,13 @@ const opPutAttributes = "PutAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAttributesRequest method. +// req, resp := client.PutAttributesRequest(params) // -// // Example sending a request using the PutAttributesRequest method. -// req, resp := client.PutAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributes func (c *ECS) PutAttributesRequest(input *PutAttributesInput) (req *request.Request, output *PutAttributesOutput) { @@ -3816,23 +3806,24 @@ func (c *ECS) PutAttributesRequest(input *PutAttributesInput) (req *request.Requ // API operation PutAttributes for usage and error information. // // Returned Error Types: -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. // -// * TargetNotFoundException -// The specified target wasn't found. You can view your available container -// instances with ListContainerInstances. Amazon ECS container instances are -// cluster-specific and Region-specific. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // -// * AttributeLimitExceededException -// You can apply up to 10 custom attributes for each resource. You can view -// the attributes of a resource with ListAttributes. You can remove existing -// attributes on a resource with DeleteAttributes. +// - TargetNotFoundException +// The specified target wasn't found. You can view your available container +// instances with ListContainerInstances. Amazon ECS container instances are +// cluster-specific and Region-specific. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - AttributeLimitExceededException +// You can apply up to 10 custom attributes for each resource. You can view +// the attributes of a resource with ListAttributes. You can remove existing +// attributes on a resource with DeleteAttributes. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAttributes func (c *ECS) PutAttributes(input *PutAttributesInput) (*PutAttributesOutput, error) { @@ -3872,14 +3863,13 @@ const opPutClusterCapacityProviders = "PutClusterCapacityProviders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutClusterCapacityProvidersRequest method. +// req, resp := client.PutClusterCapacityProvidersRequest(params) // -// // Example sending a request using the PutClusterCapacityProvidersRequest method. -// req, resp := client.PutClusterCapacityProvidersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutClusterCapacityProviders func (c *ECS) PutClusterCapacityProvidersRequest(input *PutClusterCapacityProvidersInput) (req *request.Request, output *PutClusterCapacityProvidersOutput) { @@ -3926,32 +3916,33 @@ func (c *ECS) PutClusterCapacityProvidersRequest(input *PutClusterCapacityProvid // API operation PutClusterCapacityProviders for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // -// * ResourceInUseException -// The specified resource is in-use and can't be removed. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // -// * UpdateInProgressException -// There's already a current Amazon ECS container agent update in progress on -// the container instance that's specified. If the container agent becomes disconnected -// while it's in a transitional stage, such as PENDING or STAGING, the update -// process can get stuck in that state. However, when the agent reconnects, -// it resumes where it stopped previously. +// - ResourceInUseException +// The specified resource is in-use and can't be removed. +// +// - UpdateInProgressException +// There's already a current Amazon ECS container agent update in progress on +// the container instance that's specified. If the container agent becomes disconnected +// while it's in a transitional stage, such as PENDING or STAGING, the update +// process can get stuck in that state. However, when the agent reconnects, +// it resumes where it stopped previously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutClusterCapacityProviders func (c *ECS) PutClusterCapacityProviders(input *PutClusterCapacityProvidersInput) (*PutClusterCapacityProvidersOutput, error) { @@ -3991,14 +3982,13 @@ const opRegisterContainerInstance = "RegisterContainerInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterContainerInstanceRequest method. +// req, resp := client.RegisterContainerInstanceRequest(params) // -// // Example sending a request using the RegisterContainerInstanceRequest method. -// req, resp := client.RegisterContainerInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstance func (c *ECS) RegisterContainerInstanceRequest(input *RegisterContainerInstanceInput) (req *request.Request, output *RegisterContainerInstanceOutput) { @@ -4019,7 +4009,6 @@ func (c *ECS) RegisterContainerInstanceRequest(input *RegisterContainerInstanceI // RegisterContainerInstance API operation for Amazon EC2 Container Service. // -// // This action is only used by the Amazon ECS agent, and it is not intended // for use outside of the agent. // @@ -4034,18 +4023,19 @@ func (c *ECS) RegisterContainerInstanceRequest(input *RegisterContainerInstanceI // API operation RegisterContainerInstance for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterContainerInstance func (c *ECS) RegisterContainerInstance(input *RegisterContainerInstanceInput) (*RegisterContainerInstanceOutput, error) { @@ -4085,14 +4075,13 @@ const opRegisterTaskDefinition = "RegisterTaskDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterTaskDefinitionRequest method. +// req, resp := client.RegisterTaskDefinitionRequest(params) // -// // Example sending a request using the RegisterTaskDefinitionRequest method. -// req, resp := client.RegisterTaskDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinition func (c *ECS) RegisterTaskDefinitionRequest(input *RegisterTaskDefinitionInput) (req *request.Request, output *RegisterTaskDefinitionOutput) { @@ -4143,18 +4132,19 @@ func (c *ECS) RegisterTaskDefinitionRequest(input *RegisterTaskDefinitionInput) // API operation RegisterTaskDefinition for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinition func (c *ECS) RegisterTaskDefinition(input *RegisterTaskDefinitionInput) (*RegisterTaskDefinitionOutput, error) { @@ -4194,14 +4184,13 @@ const opRunTask = "RunTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RunTaskRequest method. +// req, resp := client.RunTaskRequest(params) // -// // Example sending a request using the RunTaskRequest method. -// req, resp := client.RunTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTask func (c *ECS) RunTaskRequest(input *RunTaskInput) (req *request.Request, output *RunTaskOutput) { @@ -4241,17 +4230,17 @@ func (c *ECS) RunTaskRequest(input *RunTaskInput) (req *request.Request, output // // To manage eventual consistency, you can do the following: // -// * Confirm the state of the resource before you run a command to modify -// it. Run the DescribeTasks command using an exponential backoff algorithm -// to ensure that you allow enough time for the previous command to propagate -// through the system. To do this, run the DescribeTasks command repeatedly, -// starting with a couple of seconds of wait time and increasing gradually -// up to five minutes of wait time. +// - Confirm the state of the resource before you run a command to modify +// it. Run the DescribeTasks command using an exponential backoff algorithm +// to ensure that you allow enough time for the previous command to propagate +// through the system. To do this, run the DescribeTasks command repeatedly, +// starting with a couple of seconds of wait time and increasing gradually +// up to five minutes of wait time. // -// * Add wait time between subsequent commands, even if the DescribeTasks -// command returns an accurate response. Apply an exponential backoff algorithm -// starting with a couple of seconds of wait time, and increase gradually -// up to about five minutes of wait time. +// - Add wait time between subsequent commands, even if the DescribeTasks +// command returns an accurate response. Apply an exponential backoff algorithm +// starting with a couple of seconds of wait time, and increase gradually +// up to about five minutes of wait time. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4261,39 +4250,40 @@ func (c *ECS) RunTaskRequest(input *RunTaskInput) (req *request.Request, output // API operation RunTask for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // -// * UnsupportedFeatureException -// The specified task isn't supported in this Region. +// - UnsupportedFeatureException +// The specified task isn't supported in this Region. // -// * PlatformUnknownException -// The specified platform version doesn't exist. +// - PlatformUnknownException +// The specified platform version doesn't exist. // -// * PlatformTaskDefinitionIncompatibilityException -// The specified platform version doesn't satisfy the required capabilities -// of the task definition. +// - PlatformTaskDefinitionIncompatibilityException +// The specified platform version doesn't satisfy the required capabilities +// of the task definition. // -// * AccessDeniedException -// You don't have authorization to perform the requested action. +// - AccessDeniedException +// You don't have authorization to perform the requested action. // -// * BlockedException -// Your Amazon Web Services account was blocked. For more information, contact -// Amazon Web Services Support (http://aws.amazon.com/contact-us/). +// - BlockedException +// Your Amazon Web Services account was blocked. For more information, contact +// Amazon Web Services Support (http://aws.amazon.com/contact-us/). // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RunTask func (c *ECS) RunTask(input *RunTaskInput) (*RunTaskOutput, error) { @@ -4333,14 +4323,13 @@ const opStartTask = "StartTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartTaskRequest method. +// req, resp := client.StartTaskRequest(params) // -// // Example sending a request using the StartTaskRequest method. -// req, resp := client.StartTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTask func (c *ECS) StartTaskRequest(input *StartTaskInput) (req *request.Request, output *StartTaskOutput) { @@ -4376,22 +4365,23 @@ func (c *ECS) StartTaskRequest(input *StartTaskInput) (req *request.Request, out // API operation StartTask for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StartTask func (c *ECS) StartTask(input *StartTaskInput) (*StartTaskOutput, error) { @@ -4431,14 +4421,13 @@ const opStopTask = "StopTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopTaskRequest method. +// req, resp := client.StopTaskRequest(params) // -// // Example sending a request using the StopTaskRequest method. -// req, resp := client.StopTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTask func (c *ECS) StopTaskRequest(input *StopTaskInput) (req *request.Request, output *StopTaskOutput) { @@ -4481,22 +4470,23 @@ func (c *ECS) StopTaskRequest(input *StopTaskInput) (req *request.Request, outpu // API operation StopTask for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTask func (c *ECS) StopTask(input *StopTaskInput) (*StopTaskOutput, error) { @@ -4536,14 +4526,13 @@ const opSubmitAttachmentStateChanges = "SubmitAttachmentStateChanges" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SubmitAttachmentStateChangesRequest method. +// req, resp := client.SubmitAttachmentStateChangesRequest(params) // -// // Example sending a request using the SubmitAttachmentStateChangesRequest method. -// req, resp := client.SubmitAttachmentStateChangesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitAttachmentStateChanges func (c *ECS) SubmitAttachmentStateChangesRequest(input *SubmitAttachmentStateChangesInput) (req *request.Request, output *SubmitAttachmentStateChangesOutput) { @@ -4564,7 +4553,6 @@ func (c *ECS) SubmitAttachmentStateChangesRequest(input *SubmitAttachmentStateCh // SubmitAttachmentStateChanges API operation for Amazon EC2 Container Service. // -// // This action is only used by the Amazon ECS agent, and it is not intended // for use outside of the agent. // @@ -4578,21 +4566,22 @@ func (c *ECS) SubmitAttachmentStateChangesRequest(input *SubmitAttachmentStateCh // API operation SubmitAttachmentStateChanges for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * AccessDeniedException -// You don't have authorization to perform the requested action. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - AccessDeniedException +// You don't have authorization to perform the requested action. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitAttachmentStateChanges func (c *ECS) SubmitAttachmentStateChanges(input *SubmitAttachmentStateChangesInput) (*SubmitAttachmentStateChangesOutput, error) { @@ -4632,14 +4621,13 @@ const opSubmitContainerStateChange = "SubmitContainerStateChange" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SubmitContainerStateChangeRequest method. +// req, resp := client.SubmitContainerStateChangeRequest(params) // -// // Example sending a request using the SubmitContainerStateChangeRequest method. -// req, resp := client.SubmitContainerStateChangeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChange func (c *ECS) SubmitContainerStateChangeRequest(input *SubmitContainerStateChangeInput) (req *request.Request, output *SubmitContainerStateChangeOutput) { @@ -4660,7 +4648,6 @@ func (c *ECS) SubmitContainerStateChangeRequest(input *SubmitContainerStateChang // SubmitContainerStateChange API operation for Amazon EC2 Container Service. // -// // This action is only used by the Amazon ECS agent, and it is not intended // for use outside of the agent. // @@ -4674,17 +4661,18 @@ func (c *ECS) SubmitContainerStateChangeRequest(input *SubmitContainerStateChang // API operation SubmitContainerStateChange for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * AccessDeniedException -// You don't have authorization to perform the requested action. +// - AccessDeniedException +// You don't have authorization to perform the requested action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitContainerStateChange func (c *ECS) SubmitContainerStateChange(input *SubmitContainerStateChangeInput) (*SubmitContainerStateChangeOutput, error) { @@ -4724,14 +4712,13 @@ const opSubmitTaskStateChange = "SubmitTaskStateChange" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SubmitTaskStateChangeRequest method. +// req, resp := client.SubmitTaskStateChangeRequest(params) // -// // Example sending a request using the SubmitTaskStateChangeRequest method. -// req, resp := client.SubmitTaskStateChangeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChange func (c *ECS) SubmitTaskStateChangeRequest(input *SubmitTaskStateChangeInput) (req *request.Request, output *SubmitTaskStateChangeOutput) { @@ -4752,7 +4739,6 @@ func (c *ECS) SubmitTaskStateChangeRequest(input *SubmitTaskStateChangeInput) (r // SubmitTaskStateChange API operation for Amazon EC2 Container Service. // -// // This action is only used by the Amazon ECS agent, and it is not intended // for use outside of the agent. // @@ -4766,21 +4752,22 @@ func (c *ECS) SubmitTaskStateChangeRequest(input *SubmitTaskStateChangeInput) (r // API operation SubmitTaskStateChange for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * AccessDeniedException -// You don't have authorization to perform the requested action. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - AccessDeniedException +// You don't have authorization to perform the requested action. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChange func (c *ECS) SubmitTaskStateChange(input *SubmitTaskStateChangeInput) (*SubmitTaskStateChangeOutput, error) { @@ -4820,14 +4807,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TagResource func (c *ECS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -4862,25 +4848,26 @@ func (c *ECS) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * ResourceNotFoundException -// The specified resource wasn't found. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ResourceNotFoundException +// The specified resource wasn't found. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TagResource func (c *ECS) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4920,14 +4907,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UntagResource func (c *ECS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4959,25 +4945,26 @@ func (c *ECS) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * ResourceNotFoundException -// The specified resource wasn't found. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ResourceNotFoundException +// The specified resource wasn't found. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UntagResource func (c *ECS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -5017,14 +5004,13 @@ const opUpdateCapacityProvider = "UpdateCapacityProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCapacityProviderRequest method. +// req, resp := client.UpdateCapacityProviderRequest(params) // -// // Example sending a request using the UpdateCapacityProviderRequest method. -// req, resp := client.UpdateCapacityProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateCapacityProvider func (c *ECS) UpdateCapacityProviderRequest(input *UpdateCapacityProviderInput) (req *request.Request, output *UpdateCapacityProviderOutput) { @@ -5055,18 +5041,19 @@ func (c *ECS) UpdateCapacityProviderRequest(input *UpdateCapacityProviderInput) // API operation UpdateCapacityProvider for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateCapacityProvider func (c *ECS) UpdateCapacityProvider(input *UpdateCapacityProviderInput) (*UpdateCapacityProviderOutput, error) { @@ -5106,14 +5093,13 @@ const opUpdateCluster = "UpdateCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateClusterRequest method. +// req, resp := client.UpdateClusterRequest(params) // -// // Example sending a request using the UpdateClusterRequest method. -// req, resp := client.UpdateClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateCluster func (c *ECS) UpdateClusterRequest(input *UpdateClusterInput) (req *request.Request, output *UpdateClusterOutput) { @@ -5144,22 +5130,23 @@ func (c *ECS) UpdateClusterRequest(input *UpdateClusterInput) (req *request.Requ // API operation UpdateCluster for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateCluster func (c *ECS) UpdateCluster(input *UpdateClusterInput) (*UpdateClusterOutput, error) { @@ -5199,14 +5186,13 @@ const opUpdateClusterSettings = "UpdateClusterSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateClusterSettingsRequest method. +// req, resp := client.UpdateClusterSettingsRequest(params) // -// // Example sending a request using the UpdateClusterSettingsRequest method. -// req, resp := client.UpdateClusterSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateClusterSettings func (c *ECS) UpdateClusterSettingsRequest(input *UpdateClusterSettingsInput) (req *request.Request, output *UpdateClusterSettingsOutput) { @@ -5237,22 +5223,23 @@ func (c *ECS) UpdateClusterSettingsRequest(input *UpdateClusterSettingsInput) (r // API operation UpdateClusterSettings for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateClusterSettings func (c *ECS) UpdateClusterSettings(input *UpdateClusterSettingsInput) (*UpdateClusterSettingsOutput, error) { @@ -5292,14 +5279,13 @@ const opUpdateContainerAgent = "UpdateContainerAgent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContainerAgentRequest method. +// req, resp := client.UpdateContainerAgentRequest(params) // -// // Example sending a request using the UpdateContainerAgentRequest method. -// req, resp := client.UpdateContainerAgentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgent func (c *ECS) UpdateContainerAgentRequest(input *UpdateContainerAgentInput) (req *request.Request, output *UpdateContainerAgentOutput) { @@ -5346,40 +5332,41 @@ func (c *ECS) UpdateContainerAgentRequest(input *UpdateContainerAgentInput) (req // API operation UpdateContainerAgent for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. -// -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. -// -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. -// -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. -// -// * UpdateInProgressException -// There's already a current Amazon ECS container agent update in progress on -// the container instance that's specified. If the container agent becomes disconnected -// while it's in a transitional stage, such as PENDING or STAGING, the update -// process can get stuck in that state. However, when the agent reconnects, -// it resumes where it stopped previously. -// -// * NoUpdateAvailableException -// There's no update available for this Amazon ECS container agent. This might -// be because the agent is already running the latest version or because it's -// so old that there's no update path to the current version. -// -// * MissingVersionException -// Amazon ECS can't determine the current version of the Amazon ECS container -// agent on the container instance and doesn't have enough information to proceed -// with an update. This could be because the agent running on the container -// instance is a previous or custom version that doesn't use our version information. +// +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. +// +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. +// +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. +// +// - UpdateInProgressException +// There's already a current Amazon ECS container agent update in progress on +// the container instance that's specified. If the container agent becomes disconnected +// while it's in a transitional stage, such as PENDING or STAGING, the update +// process can get stuck in that state. However, when the agent reconnects, +// it resumes where it stopped previously. +// +// - NoUpdateAvailableException +// There's no update available for this Amazon ECS container agent. This might +// be because the agent is already running the latest version or because it's +// so old that there's no update path to the current version. +// +// - MissingVersionException +// Amazon ECS can't determine the current version of the Amazon ECS container +// agent on the container instance and doesn't have enough information to proceed +// with an update. This could be because the agent running on the container +// instance is a previous or custom version that doesn't use our version information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerAgent func (c *ECS) UpdateContainerAgent(input *UpdateContainerAgentInput) (*UpdateContainerAgentOutput, error) { @@ -5419,14 +5406,13 @@ const opUpdateContainerInstancesState = "UpdateContainerInstancesState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContainerInstancesStateRequest method. +// req, resp := client.UpdateContainerInstancesStateRequest(params) // -// // Example sending a request using the UpdateContainerInstancesStateRequest method. -// req, resp := client.UpdateContainerInstancesStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesState func (c *ECS) UpdateContainerInstancesStateRequest(input *UpdateContainerInstancesStateInput) (req *request.Request, output *UpdateContainerInstancesStateOutput) { @@ -5468,23 +5454,23 @@ func (c *ECS) UpdateContainerInstancesStateRequest(input *UpdateContainerInstanc // parameters, minimumHealthyPercent and maximumPercent. You can change the // deployment configuration of your service using UpdateService. // -// * If minimumHealthyPercent is below 100%, the scheduler can ignore desiredCount -// temporarily during task replacement. For example, desiredCount is four -// tasks, a minimum of 50% allows the scheduler to stop two existing tasks -// before starting two new tasks. If the minimum is 100%, the service scheduler -// can't remove existing tasks until the replacement tasks are considered -// healthy. Tasks for services that do not use a load balancer are considered -// healthy if they're in the RUNNING state. Tasks for services that use a -// load balancer are considered healthy if they're in the RUNNING state and -// are reported as healthy by the load balancer. -// -// * The maximumPercent parameter represents an upper limit on the number -// of running tasks during task replacement. You can use this to define the -// replacement batch size. For example, if desiredCount is four tasks, a -// maximum of 200% starts four new tasks before stopping the four tasks to -// be drained, provided that the cluster resources required to do this are -// available. If the maximum is 100%, then replacement tasks can't start -// until the draining tasks have stopped. +// - If minimumHealthyPercent is below 100%, the scheduler can ignore desiredCount +// temporarily during task replacement. For example, desiredCount is four +// tasks, a minimum of 50% allows the scheduler to stop two existing tasks +// before starting two new tasks. If the minimum is 100%, the service scheduler +// can't remove existing tasks until the replacement tasks are considered +// healthy. Tasks for services that do not use a load balancer are considered +// healthy if they're in the RUNNING state. Tasks for services that use a +// load balancer are considered healthy if they're in the RUNNING state and +// are reported as healthy by the load balancer. +// +// - The maximumPercent parameter represents an upper limit on the number +// of running tasks during task replacement. You can use this to define the +// replacement batch size. For example, if desiredCount is four tasks, a +// maximum of 200% starts four new tasks before stopping the four tasks to +// be drained, provided that the cluster resources required to do this are +// available. If the maximum is 100%, then replacement tasks can't start +// until the draining tasks have stopped. // // Any PENDING or RUNNING tasks that do not belong to a service aren't affected. // You must wait for them to finish or stop them manually. @@ -5504,22 +5490,23 @@ func (c *ECS) UpdateContainerInstancesStateRequest(input *UpdateContainerInstanc // API operation UpdateContainerInstancesState for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. +// +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateContainerInstancesState func (c *ECS) UpdateContainerInstancesState(input *UpdateContainerInstancesStateInput) (*UpdateContainerInstancesStateOutput, error) { @@ -5559,14 +5546,13 @@ const opUpdateService = "UpdateService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServiceRequest method. +// req, resp := client.UpdateServiceRequest(params) // -// // Example sending a request using the UpdateServiceRequest method. -// req, resp := client.UpdateServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService func (c *ECS) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Request, output *UpdateServiceOutput) { @@ -5587,7 +5573,6 @@ func (c *ECS) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Requ // UpdateService API operation for Amazon EC2 Container Service. // -// // Updating the task placement strategies and constraints on an Amazon ECS service // remains in preview and is a Beta Service as defined by and subject to the // Beta Service Participation Service Terms located at https://aws.amazon.com/service-terms @@ -5638,19 +5623,19 @@ func (c *ECS) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Requ // uses the deployment configuration parameters, minimumHealthyPercent and maximumPercent, // to determine the deployment strategy. // -// * If minimumHealthyPercent is below 100%, the scheduler can ignore desiredCount -// temporarily during a deployment. For example, if desiredCount is four -// tasks, a minimum of 50% allows the scheduler to stop two existing tasks -// before starting two new tasks. Tasks for services that don't use a load -// balancer are considered healthy if they're in the RUNNING state. Tasks -// for services that use a load balancer are considered healthy if they're -// in the RUNNING state and are reported as healthy by the load balancer. +// - If minimumHealthyPercent is below 100%, the scheduler can ignore desiredCount +// temporarily during a deployment. For example, if desiredCount is four +// tasks, a minimum of 50% allows the scheduler to stop two existing tasks +// before starting two new tasks. Tasks for services that don't use a load +// balancer are considered healthy if they're in the RUNNING state. Tasks +// for services that use a load balancer are considered healthy if they're +// in the RUNNING state and are reported as healthy by the load balancer. // -// * The maximumPercent parameter represents an upper limit on the number -// of running tasks during a deployment. You can use it to define the deployment -// batch size. For example, if desiredCount is four tasks, a maximum of 200% -// starts four new tasks before stopping the four older tasks (provided that -// the cluster resources required to do this are available). +// - The maximumPercent parameter represents an upper limit on the number +// of running tasks during a deployment. You can use it to define the deployment +// batch size. For example, if desiredCount is four tasks, a maximum of 200% +// starts four new tasks before stopping the four older tasks (provided that +// the cluster resources required to do this are available). // // When UpdateService stops a task during a deployment, the equivalent of docker // stop is issued to the containers running in the task. This results in a SIGTERM @@ -5661,32 +5646,32 @@ func (c *ECS) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Requ // When the service scheduler launches new tasks, it determines task placement // in your cluster with the following logic. // -// * Determine which of the container instances in your cluster can support -// your service's task definition. For example, they have the required CPU, -// memory, ports, and container instance attributes. -// -// * By default, the service scheduler attempts to balance tasks across Availability -// Zones in this manner even though you can choose a different placement -// strategy. Sort the valid container instances by the fewest number of running -// tasks for this service in the same Availability Zone as the instance. -// For example, if zone A has one running service task and zones B and C -// each have zero, valid container instances in either zone B or C are considered -// optimal for placement. Place the new service task on a valid container -// instance in an optimal Availability Zone (based on the previous steps), -// favoring container instances with the fewest number of running tasks for -// this service. +// - Determine which of the container instances in your cluster can support +// your service's task definition. For example, they have the required CPU, +// memory, ports, and container instance attributes. +// +// - By default, the service scheduler attempts to balance tasks across Availability +// Zones in this manner even though you can choose a different placement +// strategy. Sort the valid container instances by the fewest number of running +// tasks for this service in the same Availability Zone as the instance. +// For example, if zone A has one running service task and zones B and C +// each have zero, valid container instances in either zone B or C are considered +// optimal for placement. Place the new service task on a valid container +// instance in an optimal Availability Zone (based on the previous steps), +// favoring container instances with the fewest number of running tasks for +// this service. // // When the service scheduler stops running tasks, it attempts to maintain balance // across the Availability Zones in your cluster using the following logic: // -// * Sort the container instances by the largest number of running tasks -// for this service in the same Availability Zone as the instance. For example, -// if zone A has one running service task and zones B and C each have two, -// container instances in either zone B or C are considered optimal for termination. +// - Sort the container instances by the largest number of running tasks +// for this service in the same Availability Zone as the instance. For example, +// if zone A has one running service task and zones B and C each have two, +// container instances in either zone B or C are considered optimal for termination. // -// * Stop the task on a container instance in an optimal Availability Zone -// (based on the previous steps), favoring container instances with the largest -// number of running tasks for this service. +// - Stop the task on a container instance in an optimal Availability Zone +// (based on the previous steps), favoring container instances with the largest +// number of running tasks for this service. // // You must have a service-linked role when you update any of the following // service properties. If you specified a custom IAM role when you created the @@ -5695,9 +5680,9 @@ func (c *ECS) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Requ // more information, see Service-linked roles (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html) // in the Amazon Elastic Container Service Developer Guide. // -// * loadBalancers, +// - loadBalancers, // -// * serviceRegistries +// - serviceRegistries // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5707,40 +5692,41 @@ func (c *ECS) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Requ // API operation UpdateService for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // -// * ServiceNotFoundException -// The specified service wasn't found. You can view your available services -// with ListServices. Amazon ECS services are cluster specific and Region specific. +// - ServiceNotFoundException +// The specified service wasn't found. You can view your available services +// with ListServices. Amazon ECS services are cluster specific and Region specific. // -// * ServiceNotActiveException -// The specified service isn't active. You can't update a service that's inactive. -// If you have previously deleted a service, you can re-create it with CreateService. +// - ServiceNotActiveException +// The specified service isn't active. You can't update a service that's inactive. +// If you have previously deleted a service, you can re-create it with CreateService. // -// * PlatformUnknownException -// The specified platform version doesn't exist. +// - PlatformUnknownException +// The specified platform version doesn't exist. // -// * PlatformTaskDefinitionIncompatibilityException -// The specified platform version doesn't satisfy the required capabilities -// of the task definition. +// - PlatformTaskDefinitionIncompatibilityException +// The specified platform version doesn't satisfy the required capabilities +// of the task definition. // -// * AccessDeniedException -// You don't have authorization to perform the requested action. +// - AccessDeniedException +// You don't have authorization to perform the requested action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService func (c *ECS) UpdateService(input *UpdateServiceInput) (*UpdateServiceOutput, error) { @@ -5780,14 +5766,13 @@ const opUpdateServicePrimaryTaskSet = "UpdateServicePrimaryTaskSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServicePrimaryTaskSetRequest method. +// req, resp := client.UpdateServicePrimaryTaskSetRequest(params) // -// // Example sending a request using the UpdateServicePrimaryTaskSetRequest method. -// req, resp := client.UpdateServicePrimaryTaskSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServicePrimaryTaskSet func (c *ECS) UpdateServicePrimaryTaskSetRequest(input *UpdateServicePrimaryTaskSetInput) (req *request.Request, output *UpdateServicePrimaryTaskSetOutput) { @@ -5822,41 +5807,42 @@ func (c *ECS) UpdateServicePrimaryTaskSetRequest(input *UpdateServicePrimaryTask // API operation UpdateServicePrimaryTaskSet for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // -// * UnsupportedFeatureException -// The specified task isn't supported in this Region. +// - UnsupportedFeatureException +// The specified task isn't supported in this Region. // -// * ServiceNotFoundException -// The specified service wasn't found. You can view your available services -// with ListServices. Amazon ECS services are cluster specific and Region specific. +// - ServiceNotFoundException +// The specified service wasn't found. You can view your available services +// with ListServices. Amazon ECS services are cluster specific and Region specific. // -// * ServiceNotActiveException -// The specified service isn't active. You can't update a service that's inactive. -// If you have previously deleted a service, you can re-create it with CreateService. +// - ServiceNotActiveException +// The specified service isn't active. You can't update a service that's inactive. +// If you have previously deleted a service, you can re-create it with CreateService. // -// * TaskSetNotFoundException -// The specified task set wasn't found. You can view your available task sets -// with DescribeTaskSets. Task sets are specific to each cluster, service and -// Region. +// - TaskSetNotFoundException +// The specified task set wasn't found. You can view your available task sets +// with DescribeTaskSets. Task sets are specific to each cluster, service and +// Region. // -// * AccessDeniedException -// You don't have authorization to perform the requested action. +// - AccessDeniedException +// You don't have authorization to perform the requested action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServicePrimaryTaskSet func (c *ECS) UpdateServicePrimaryTaskSet(input *UpdateServicePrimaryTaskSetInput) (*UpdateServicePrimaryTaskSetOutput, error) { @@ -5896,14 +5882,13 @@ const opUpdateTaskSet = "UpdateTaskSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTaskSetRequest method. +// req, resp := client.UpdateTaskSetRequest(params) // -// // Example sending a request using the UpdateTaskSetRequest method. -// req, resp := client.UpdateTaskSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateTaskSet func (c *ECS) UpdateTaskSetRequest(input *UpdateTaskSetInput) (req *request.Request, output *UpdateTaskSetOutput) { @@ -5936,41 +5921,42 @@ func (c *ECS) UpdateTaskSetRequest(input *UpdateTaskSetInput) (req *request.Requ // API operation UpdateTaskSet for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server issue. // -// * ClientException -// These errors are usually caused by a client action. This client action might -// be using an action or resource on behalf of a user that doesn't have permissions -// to use the action or resource,. Or, it might be specifying an identifier -// that isn't valid. +// - ServerException +// These errors are usually caused by a server issue. +// +// - ClientException +// These errors are usually caused by a client action. This client action might +// be using an action or resource on behalf of a user that doesn't have permissions +// to use the action or resource,. Or, it might be specifying an identifier +// that isn't valid. // -// * InvalidParameterException -// The specified parameter isn't valid. Review the available parameters for -// the API request. +// - InvalidParameterException +// The specified parameter isn't valid. Review the available parameters for +// the API request. // -// * ClusterNotFoundException -// The specified cluster wasn't found. You can view your available clusters -// with ListClusters. Amazon ECS clusters are Region specific. +// - ClusterNotFoundException +// The specified cluster wasn't found. You can view your available clusters +// with ListClusters. Amazon ECS clusters are Region specific. // -// * UnsupportedFeatureException -// The specified task isn't supported in this Region. +// - UnsupportedFeatureException +// The specified task isn't supported in this Region. // -// * AccessDeniedException -// You don't have authorization to perform the requested action. +// - AccessDeniedException +// You don't have authorization to perform the requested action. // -// * ServiceNotFoundException -// The specified service wasn't found. You can view your available services -// with ListServices. Amazon ECS services are cluster specific and Region specific. +// - ServiceNotFoundException +// The specified service wasn't found. You can view your available services +// with ListServices. Amazon ECS services are cluster specific and Region specific. // -// * ServiceNotActiveException -// The specified service isn't active. You can't update a service that's inactive. -// If you have previously deleted a service, you can re-create it with CreateService. +// - ServiceNotActiveException +// The specified service isn't active. You can't update a service that's inactive. +// If you have previously deleted a service, you can re-create it with CreateService. // -// * TaskSetNotFoundException -// The specified task set wasn't found. You can view your available task sets -// with DescribeTaskSets. Task sets are specific to each cluster, service and -// Region. +// - TaskSetNotFoundException +// The specified task set wasn't found. You can view your available task sets +// with DescribeTaskSets. Task sets are specific to each cluster, service and +// Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateTaskSet func (c *ECS) UpdateTaskSet(input *UpdateTaskSetInput) (*UpdateTaskSetOutput, error) { @@ -8663,9 +8649,9 @@ func (s *ContainerDefinition) SetWorkingDirectory(v string) *ContainerDefinition // For tasks that use the Fargate launch type, the task or service requires // the following platforms: // -// * Linux platform version 1.3.0 or later. +// - Linux platform version 1.3.0 or later. // -// * Windows platform version 1.0.0 or later. +// - Windows platform version 1.0.0 or later. type ContainerDependency struct { _ struct{} `type:"structure"` @@ -11172,7 +11158,6 @@ func (s *Deployment) SetUpdatedAt(v time.Time) *Deployment { return s } -// // The deployment circuit breaker can only be used for services using the rolling // update (ECS) deployment type that aren't behind a Classic Load Balancer. // @@ -12829,9 +12814,9 @@ func (s *EFSVolumeConfiguration) SetTransitEncryptionPort(v int64) *EFSVolumeCon // This parameter is only supported for tasks hosted on Fargate using the following // platform versions: // -// * Linux platform version 1.4.0 or later. +// - Linux platform version 1.4.0 or later. // -// * Windows platform version 1.0.0 or later. +// - Windows platform version 1.0.0 or later. type EnvironmentFile struct { _ struct{} `type:"structure"` @@ -13552,25 +13537,25 @@ func (s *FirelensConfiguration) SetType(v string) *FirelensConfiguration { // // The following describes the possible healthStatus values for a container: // -// * HEALTHY-The container health check has passed successfully. +// - HEALTHY-The container health check has passed successfully. // -// * UNHEALTHY-The container health check has failed. +// - UNHEALTHY-The container health check has failed. // -// * UNKNOWN-The container health check is being evaluated or there's no -// container health check defined. +// - UNKNOWN-The container health check is being evaluated or there's no +// container health check defined. // // The following describes the possible healthStatus values for a task. The // container health check status of nonessential containers do not have an effect // on the health status of a task. // -// * HEALTHY-All essential containers within the task have passed their health -// checks. +// - HEALTHY-All essential containers within the task have passed their health +// checks. // -// * UNHEALTHY-One or more essential containers have failed their health -// check. +// - UNHEALTHY-One or more essential containers have failed their health +// check. // -// * UNKNOWN-The essential containers within the task are still having their -// health checks evaluated or there are no container health checks defined. +// - UNKNOWN-The essential containers within the task are still having their +// health checks evaluated or there are no container health checks defined. // // If a task is run manually, and not as part of a service, the task will continue // its lifecycle regardless of its health status. For tasks that are part of @@ -13579,16 +13564,16 @@ func (s *FirelensConfiguration) SetType(v string) *FirelensConfiguration { // // The following are notes about container health check support: // -// * Container health checks require version 1.17.0 or greater of the Amazon -// ECS container agent. For more information, see Updating the Amazon ECS -// Container Agent (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html). +// - Container health checks require version 1.17.0 or greater of the Amazon +// ECS container agent. For more information, see Updating the Amazon ECS +// Container Agent (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html). // -// * Container health checks are supported for Fargate tasks if you're using -// platform version 1.1.0 or greater. For more information, see Fargate Platform -// Versions (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html). +// - Container health checks are supported for Fargate tasks if you're using +// platform version 1.1.0 or greater. For more information, see Fargate Platform +// Versions (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html). // -// * Container health checks aren't supported for tasks that are part of -// a service that's configured to use a Classic Load Balancer. +// - Container health checks aren't supported for tasks that are part of +// a service that's configured to use a Classic Load Balancer. type HealthCheck struct { _ struct{} `type:"structure"` @@ -15650,26 +15635,26 @@ func (s *LoadBalancer) SetTargetGroupArn(v string) *LoadBalancer { // // Understand the following when specifying a log configuration for your containers. // -// * Amazon ECS currently supports a subset of the logging drivers available -// to the Docker daemon (shown in the valid values below). Additional log -// drivers may be available in future releases of the Amazon ECS container -// agent. -// -// * This parameter requires version 1.18 of the Docker Remote API or greater -// on your container instance. -// -// * For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container -// agent must register the available logging drivers with the ECS_AVAILABLE_LOGGING_DRIVERS -// environment variable before containers placed on that instance can use -// these log configuration options. For more information, see Amazon ECS -// container agent configuration (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) -// in the Amazon Elastic Container Service Developer Guide. -// -// * For tasks that are on Fargate, because you don't have access to the -// underlying infrastructure your tasks are hosted on, any additional software -// needed must be installed outside of the task. For example, the Fluentd -// output aggregators or a remote host running Logstash to send Gelf logs -// to. +// - Amazon ECS currently supports a subset of the logging drivers available +// to the Docker daemon (shown in the valid values below). Additional log +// drivers may be available in future releases of the Amazon ECS container +// agent. +// +// - This parameter requires version 1.18 of the Docker Remote API or greater +// on your container instance. +// +// - For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container +// agent must register the available logging drivers with the ECS_AVAILABLE_LOGGING_DRIVERS +// environment variable before containers placed on that instance can use +// these log configuration options. For more information, see Amazon ECS +// container agent configuration (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) +// in the Amazon Elastic Container Service Developer Guide. +// +// - For tasks that are on Fargate, because you don't have access to the +// underlying infrastructure your tasks are hosted on, any additional software +// needed must be installed outside of the task. For example, the Fluentd +// output aggregators or a remote host running Logstash to send Gelf logs +// to. type LogConfiguration struct { _ struct{} `type:"structure"` @@ -18826,11 +18811,11 @@ func (s *Scale) SetValue(v float64) *Scale { // An object representing the secret to expose to your container. Secrets can // be exposed to a container in the following ways: // -// * To inject sensitive data into your containers as environment variables, -// use the secrets container definition parameter. +// - To inject sensitive data into your containers as environment variables, +// use the secrets container definition parameter. // -// * To reference sensitive information in the log configuration of a container, -// use the secretOptions container definition parameter. +// - To reference sensitive information in the log configuration of a container, +// use the secretOptions container definition parameter. // // For more information, see Specifying Sensitive Data (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html) // in the Amazon Elastic Container Service Developer Guide. @@ -20496,14 +20481,14 @@ func (s *SubmitTaskStateChangeOutput) SetAcknowledgment(v string) *SubmitTaskSta // for multiple containers in a single task. This task also uses either the // awsvpc or host network mode. It does it for the following reasons. // -// * For tasks that use the awsvpc network mode, if you set systemControls -// for any container, it applies to all containers in the task. If you set -// different systemControls for multiple containers in a single task, the -// container that's started last determines which systemControls take effect. +// - For tasks that use the awsvpc network mode, if you set systemControls +// for any container, it applies to all containers in the task. If you set +// different systemControls for multiple containers in a single task, the +// container that's started last determines which systemControls take effect. // -// * For tasks that use the host network mode, the systemControls parameter -// applies to the container instance's kernel parameter and that of all containers -// of any tasks running on that container instance. +// - For tasks that use the host network mode, the systemControls parameter +// applies to the container instance's kernel parameter and that of all containers +// of any tasks running on that container instance. type SystemControl struct { _ struct{} `type:"structure"` @@ -20549,26 +20534,26 @@ func (s *SystemControl) SetValue(v string) *SystemControl { // // The following basic restrictions apply to tags: // -// * Maximum number of tags per resource - 50 +// - Maximum number of tags per resource - 50 // -// * For each resource, each tag key must be unique, and each tag key can -// have only one value. +// - For each resource, each tag key must be unique, and each tag key can +// have only one value. // -// * Maximum key length - 128 Unicode characters in UTF-8 +// - Maximum key length - 128 Unicode characters in UTF-8 // -// * Maximum value length - 256 Unicode characters in UTF-8 +// - Maximum value length - 256 Unicode characters in UTF-8 // -// * If your tagging schema is used across multiple services and resources, -// remember that other services may have restrictions on allowed characters. -// Generally allowed characters are: letters, numbers, and spaces representable -// in UTF-8, and the following characters: + - = . _ : / @. +// - If your tagging schema is used across multiple services and resources, +// remember that other services may have restrictions on allowed characters. +// Generally allowed characters are: letters, numbers, and spaces representable +// in UTF-8, and the following characters: + - = . _ : / @. // -// * Tag keys and values are case-sensitive. +// - Tag keys and values are case-sensitive. // -// * Do not use aws:, AWS:, or any upper or lowercase combination of such -// as a prefix for either keys or values as it is reserved for Amazon Web -// Services use. You cannot edit or delete tag keys or values with this prefix. -// Tags with this prefix do not count against your tags per resource limit. +// - Do not use aws:, AWS:, or any upper or lowercase combination of such +// as a prefix for either keys or values as it is reserved for Amazon Web +// Services use. You cannot edit or delete tag keys or values with this prefix. +// Tags with this prefix do not count against your tags per resource limit. type Tag struct { _ struct{} `type:"structure"` @@ -20744,12 +20729,12 @@ func (s TagResourceOutput) GoString() string { // The execute command cannot run. This error can be caused by any of the following // configuration issues: // -// * Incorrect IAM permissions +// - Incorrect IAM permissions // -// * The SSM agent is not installed or is not running +// - The SSM agent is not installed or is not running // -// * There is an interface Amazon VPC endpoint for Amazon ECS, but there -// is not one for for Systems Manager Session Manager +// - There is an interface Amazon VPC endpoint for Amazon ECS, but there +// is not one for for Systems Manager Session Manager // // For information about how to troubleshoot the issues, see Troubleshooting // issues with ECS Exec (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html) diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/doc.go index 6c10c55e768c..9d8f32402b34 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/doc.go @@ -26,7 +26,7 @@ // See ecs package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ecs/ // -// Using the Client +// # Using the Client // // To contact Amazon EC2 Container Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/ecsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/ecsiface/interface.go index 69437f4ae2c9..e5012b58e3cc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/ecsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/ecsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon EC2 Container Service. -// func myFunc(svc ecsiface.ECSAPI) bool { -// // Make svc.CreateCapacityProvider request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon EC2 Container Service. +// func myFunc(svc ecsiface.ECSAPI) bool { +// // Make svc.CreateCapacityProvider request +// } // -// func main() { -// sess := session.New() -// svc := ecs.New(sess) +// func main() { +// sess := session.New() +// svc := ecs.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockECSClient struct { -// ecsiface.ECSAPI -// } -// func (m *mockECSClient) CreateCapacityProvider(input *ecs.CreateCapacityProviderInput) (*ecs.CreateCapacityProviderOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockECSClient struct { +// ecsiface.ECSAPI +// } +// func (m *mockECSClient) CreateCapacityProvider(input *ecs.CreateCapacityProviderInput) (*ecs.CreateCapacityProviderOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockECSClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockECSClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/examples_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/examples_test.go index d29ff695f04c..8192953f0697 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/examples_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/examples_test.go @@ -60,8 +60,8 @@ func ExampleECS_CreateCluster_shared00() { // To create a new service // -// This example creates a service in your default region called ``ecs-simple-service``. -// The service uses the ``hello_world`` task definition and it maintains 10 copies of +// This example creates a service in your default region called “ecs-simple-service“. +// The service uses the “hello_world“ task definition and it maintains 10 copies of // that task. func ExampleECS_CreateService_shared00() { svc := ecs.New(session.New()) @@ -107,8 +107,8 @@ func ExampleECS_CreateService_shared00() { // To create a new service behind a load balancer // -// This example creates a service in your default region called ``ecs-simple-service-elb``. -// The service uses the ``ecs-demo`` task definition and it maintains 10 copies of that +// This example creates a service in your default region called “ecs-simple-service-elb“. +// The service uses the “ecs-demo“ task definition and it maintains 10 copies of that // task. You must reference an existing load balancer in the same region by its name. func ExampleECS_CreateService_shared01() { svc := ecs.New(session.New()) @@ -426,7 +426,7 @@ func ExampleECS_DescribeContainerInstances_shared00() { // To describe a service // -// This example provides descriptive information about the service named ``ecs-simple-service``. +// This example provides descriptive information about the service named “ecs-simple-service“. func ExampleECS_DescribeServices_shared00() { svc := ecs.New(session.New()) input := &ecs.DescribeServicesInput{ @@ -901,7 +901,7 @@ func ExampleECS_ListTasks_shared00() { // To list the tasks on a particular container instance // -// This example lists the tasks of a specified container instance. Specifying a ``containerInstance`` +// This example lists the tasks of a specified container instance. Specifying a “containerInstance“ // value limits the results to tasks that belong to that container instance. func ExampleECS_ListTasks_shared01() { svc := ecs.New(session.New()) diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/service.go index 3f331e45d452..513dd6cb6a50 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ecs/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ECS client from just a session. -// svc := ecs.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ECS client with additional configuration -// svc := ecs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ECS client from just a session. +// svc := ecs.New(mySession) +// +// // Create a ECS client with additional configuration +// svc := ecs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ECS { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/api.go index c3f3a84432c9..b670de4186ab 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/api.go @@ -29,14 +29,13 @@ const opCreateAccessPoint = "CreateAccessPoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAccessPointRequest method. +// req, resp := client.CreateAccessPointRequest(params) // -// // Example sending a request using the CreateAccessPointRequest method. -// req, resp := client.CreateAccessPointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateAccessPoint func (c *EFS) CreateAccessPointRequest(input *CreateAccessPointInput) (req *request.Request, output *CreateAccessPointOutput) { @@ -77,33 +76,34 @@ func (c *EFS) CreateAccessPointRequest(input *CreateAccessPointInput) (req *requ // API operation CreateAccessPoint for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * AccessPointAlreadyExists -// Returned if the access point that you are trying to create already exists, -// with the creation token you provided in the request. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. +// +// - AccessPointAlreadyExists +// Returned if the access point that you are trying to create already exists, +// with the creation token you provided in the request. // -// * IncorrectFileSystemLifeCycleState -// Returned if the file system's lifecycle state is not "available". +// - IncorrectFileSystemLifeCycleState +// Returned if the file system's lifecycle state is not "available". // -// * InternalServerError -// Returned if an error occurred on the server side. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. // -// * AccessPointLimitExceeded -// Returned if the Amazon Web Services account has already created the maximum -// number of access points allowed per file system. For more informaton, see -// https://docs.aws.amazon.com/efs/latest/ug/limits.html#limits-efs-resources-per-account-per-region -// (https://docs.aws.amazon.com/efs/latest/ug/limits.html#limits-efs-resources-per-account-per-region). +// - AccessPointLimitExceeded +// Returned if the Amazon Web Services account has already created the maximum +// number of access points allowed per file system. For more informaton, see +// https://docs.aws.amazon.com/efs/latest/ug/limits.html#limits-efs-resources-per-account-per-region +// (https://docs.aws.amazon.com/efs/latest/ug/limits.html#limits-efs-resources-per-account-per-region). // -// * ThrottlingException -// Returned when the CreateAccessPoint API action is called too quickly and -// the number of Access Points in the account is nearing the limit of 120. +// - ThrottlingException +// Returned when the CreateAccessPoint API action is called too quickly and +// the number of Access Points in the account is nearing the limit of 120. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateAccessPoint func (c *EFS) CreateAccessPoint(input *CreateAccessPointInput) (*CreateAccessPointOutput, error) { @@ -143,14 +143,13 @@ const opCreateFileSystem = "CreateFileSystem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFileSystemRequest method. +// req, resp := client.CreateFileSystemRequest(params) // -// // Example sending a request using the CreateFileSystemRequest method. -// req, resp := client.CreateFileSystemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystem func (c *EFS) CreateFileSystemRequest(input *CreateFileSystemInput) (req *request.Request, output *FileSystemDescription) { @@ -177,10 +176,10 @@ func (c *EFS) CreateFileSystemRequest(input *CreateFileSystemInput) (req *reques // not currently exist that is owned by the caller's Amazon Web Services account // with the specified creation token, this operation does the following: // -// * Creates a new, empty file system. The file system will have an Amazon -// EFS assigned ID, and an initial lifecycle state creating. +// - Creates a new, empty file system. The file system will have an Amazon +// EFS assigned ID, and an initial lifecycle state creating. // -// * Returns with the description of the created file system. +// - Returns with the description of the created file system. // // Otherwise, this operation returns a FileSystemAlreadyExists error with the // ID of the existing file system. @@ -233,36 +232,37 @@ func (c *EFS) CreateFileSystemRequest(input *CreateFileSystemInput) (req *reques // API operation CreateFileSystem for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. // -// * FileSystemAlreadyExists -// Returned if the file system you are trying to create already exists, with -// the creation token you provided. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * FileSystemLimitExceeded -// Returned if the Amazon Web Services account has already created the maximum -// number of file systems allowed per account. +// - FileSystemAlreadyExists +// Returned if the file system you are trying to create already exists, with +// the creation token you provided. // -// * InsufficientThroughputCapacity -// Returned if there's not enough capacity to provision additional throughput. -// This value might be returned when you try to create a file system in provisioned -// throughput mode, when you attempt to increase the provisioned throughput -// of an existing file system, or when you attempt to change an existing file -// system from Bursting Throughput to Provisioned Throughput mode. Try again -// later. +// - FileSystemLimitExceeded +// Returned if the Amazon Web Services account has already created the maximum +// number of file systems allowed per account. // -// * ThroughputLimitExceeded -// Returned if the throughput mode or amount of provisioned throughput can't -// be changed because the throughput limit of 1024 MiB/s has been reached. +// - InsufficientThroughputCapacity +// Returned if there's not enough capacity to provision additional throughput. +// This value might be returned when you try to create a file system in provisioned +// throughput mode, when you attempt to increase the provisioned throughput +// of an existing file system, or when you attempt to change an existing file +// system from Bursting Throughput to Provisioned Throughput mode. Try again +// later. // -// * UnsupportedAvailabilityZone -// Returned if the requested Amazon EFS functionality is not available in the -// specified Availability Zone. +// - ThroughputLimitExceeded +// Returned if the throughput mode or amount of provisioned throughput can't +// be changed because the throughput limit of 1024 MiB/s has been reached. +// +// - UnsupportedAvailabilityZone +// Returned if the requested Amazon EFS functionality is not available in the +// specified Availability Zone. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateFileSystem func (c *EFS) CreateFileSystem(input *CreateFileSystemInput) (*FileSystemDescription, error) { @@ -302,14 +302,13 @@ const opCreateMountTarget = "CreateMountTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMountTargetRequest method. +// req, resp := client.CreateMountTargetRequest(params) // -// // Example sending a request using the CreateMountTargetRequest method. -// req, resp := client.CreateMountTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateMountTarget func (c *EFS) CreateMountTargetRequest(input *CreateMountTargetInput) (req *request.Request, output *MountTargetDescription) { @@ -354,13 +353,13 @@ func (c *EFS) CreateMountTargetRequest(input *CreateMountTargetInput) (req *requ // // In the request, provide the following: // -// * The file system ID for which you are creating the mount target. +// - The file system ID for which you are creating the mount target. // -// * A subnet ID, which determines the following: The VPC in which Amazon -// EFS creates the mount target The Availability Zone in which Amazon EFS -// creates the mount target The IP address range from which Amazon EFS selects -// the IP address of the mount target (if you don't specify an IP address -// in the request) +// - A subnet ID, which determines the following: The VPC in which Amazon +// EFS creates the mount target The Availability Zone in which Amazon EFS +// creates the mount target The IP address range from which Amazon EFS selects +// the IP address of the mount target (if you don't specify an IP address +// in the request) // // After creating the mount target, Amazon EFS returns a response that includes, // a MountTargetId and an IpAddress. You use this IP address when mounting the @@ -376,31 +375,31 @@ func (c *EFS) CreateMountTargetRequest(input *CreateMountTargetInput) (req *requ // subnet specified in the request to add another mount target must meet the // following requirements: // -// * Must belong to the same VPC as the subnets of the existing mount targets +// - Must belong to the same VPC as the subnets of the existing mount targets // -// * Must not be in the same Availability Zone as any of the subnets of the -// existing mount targets +// - Must not be in the same Availability Zone as any of the subnets of the +// existing mount targets // // If the request satisfies the requirements, Amazon EFS does the following: // -// * Creates a new mount target in the specified subnet. -// -// * Also creates a new network interface in the subnet as follows: If the -// request provides an IpAddress, Amazon EFS assigns that IP address to the -// network interface. Otherwise, Amazon EFS assigns a free address in the -// subnet (in the same way that the Amazon EC2 CreateNetworkInterface call -// does when a request does not specify a primary private IP address). If -// the request provides SecurityGroups, this network interface is associated -// with those security groups. Otherwise, it belongs to the default security -// group for the subnet's VPC. Assigns the description Mount target fsmt-id -// for file system fs-id where fsmt-id is the mount target ID, and fs-id -// is the FileSystemId. Sets the requesterManaged property of the network -// interface to true, and the requesterId value to EFS. Each Amazon EFS mount -// target has one corresponding requester-managed EC2 network interface. -// After the network interface is created, Amazon EFS sets the NetworkInterfaceId -// field in the mount target's description to the network interface ID, and -// the IpAddress field to its address. If network interface creation fails, -// the entire CreateMountTarget operation fails. +// - Creates a new mount target in the specified subnet. +// +// - Also creates a new network interface in the subnet as follows: If the +// request provides an IpAddress, Amazon EFS assigns that IP address to the +// network interface. Otherwise, Amazon EFS assigns a free address in the +// subnet (in the same way that the Amazon EC2 CreateNetworkInterface call +// does when a request does not specify a primary private IP address). If +// the request provides SecurityGroups, this network interface is associated +// with those security groups. Otherwise, it belongs to the default security +// group for the subnet's VPC. Assigns the description Mount target fsmt-id +// for file system fs-id where fsmt-id is the mount target ID, and fs-id +// is the FileSystemId. Sets the requesterManaged property of the network +// interface to true, and the requesterId value to EFS. Each Amazon EFS mount +// target has one corresponding requester-managed EC2 network interface. +// After the network interface is created, Amazon EFS sets the NetworkInterfaceId +// field in the mount target's description to the network interface ID, and +// the IpAddress field to its address. If network interface creation fails, +// the entire CreateMountTarget operation fails. // // The CreateMountTarget call returns only after creating the network interface, // but while the mount target state is still creating, you can check the mount @@ -419,15 +418,15 @@ func (c *EFS) CreateMountTargetRequest(input *CreateMountTargetInput) (req *requ // This operation requires permissions for the following action on the file // system: // -// * elasticfilesystem:CreateMountTarget +// - elasticfilesystem:CreateMountTarget // // This operation also requires permissions for the following Amazon EC2 actions: // -// * ec2:DescribeSubnets +// - ec2:DescribeSubnets // -// * ec2:DescribeNetworkInterfaces +// - ec2:DescribeNetworkInterfaces // -// * ec2:CreateNetworkInterface +// - ec2:CreateNetworkInterface // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -437,59 +436,60 @@ func (c *EFS) CreateMountTargetRequest(input *CreateMountTargetInput) (req *requ // API operation CreateMountTarget for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * IncorrectFileSystemLifeCycleState -// Returned if the file system's lifecycle state is not "available". +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. // -// * MountTargetConflict -// Returned if the mount target would violate one of the specified restrictions -// based on the file system's existing mount targets. +// - IncorrectFileSystemLifeCycleState +// Returned if the file system's lifecycle state is not "available". // -// * SubnetNotFound -// Returned if there is no subnet with ID SubnetId provided in the request. +// - MountTargetConflict +// Returned if the mount target would violate one of the specified restrictions +// based on the file system's existing mount targets. // -// * NoFreeAddressesInSubnet -// Returned if IpAddress was not specified in the request and there are no free -// IP addresses in the subnet. +// - SubnetNotFound +// Returned if there is no subnet with ID SubnetId provided in the request. // -// * IpAddressInUse -// Returned if the request specified an IpAddress that is already in use in -// the subnet. +// - NoFreeAddressesInSubnet +// Returned if IpAddress was not specified in the request and there are no free +// IP addresses in the subnet. // -// * NetworkInterfaceLimitExceeded -// The calling account has reached the limit for elastic network interfaces -// for the specific Amazon Web Services Region. Either delete some network interfaces -// or request that the account quota be raised. For more information, see Amazon -// VPC Quotas (https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html) -// in the Amazon VPC User Guide (see the Network interfaces per Region entry -// in the Network interfaces table). +// - IpAddressInUse +// Returned if the request specified an IpAddress that is already in use in +// the subnet. // -// * SecurityGroupLimitExceeded -// Returned if the size of SecurityGroups specified in the request is greater -// than five. +// - NetworkInterfaceLimitExceeded +// The calling account has reached the limit for elastic network interfaces +// for the specific Amazon Web Services Region. Either delete some network interfaces +// or request that the account quota be raised. For more information, see Amazon +// VPC Quotas (https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Appendix_Limits.html) +// in the Amazon VPC User Guide (see the Network interfaces per Region entry +// in the Network interfaces table). // -// * SecurityGroupNotFound -// Returned if one of the specified security groups doesn't exist in the subnet's -// virtual private cloud (VPC). +// - SecurityGroupLimitExceeded +// Returned if the size of SecurityGroups specified in the request is greater +// than five. // -// * UnsupportedAvailabilityZone -// Returned if the requested Amazon EFS functionality is not available in the -// specified Availability Zone. +// - SecurityGroupNotFound +// Returned if one of the specified security groups doesn't exist in the subnet's +// virtual private cloud (VPC). // -// * AvailabilityZonesMismatch -// Returned if the Availability Zone that was specified for a mount target is -// different from the Availability Zone that was specified for One Zone storage. -// For more information, see Regional and One Zone storage redundancy (https://docs.aws.amazon.com/efs/latest/ug/availability-durability.html). +// - UnsupportedAvailabilityZone +// Returned if the requested Amazon EFS functionality is not available in the +// specified Availability Zone. +// +// - AvailabilityZonesMismatch +// Returned if the Availability Zone that was specified for a mount target is +// different from the Availability Zone that was specified for One Zone storage. +// For more information, see Regional and One Zone storage redundancy (https://docs.aws.amazon.com/efs/latest/ug/availability-durability.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateMountTarget func (c *EFS) CreateMountTarget(input *CreateMountTargetInput) (*MountTargetDescription, error) { @@ -529,14 +529,13 @@ const opCreateReplicationConfiguration = "CreateReplicationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReplicationConfigurationRequest method. +// req, resp := client.CreateReplicationConfigurationRequest(params) // -// // Example sending a request using the CreateReplicationConfigurationRequest method. -// req, resp := client.CreateReplicationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateReplicationConfiguration func (c *EFS) CreateReplicationConfigurationRequest(input *CreateReplicationConfigurationInput) (req *request.Request, output *CreateReplicationConfigurationOutput) { @@ -563,50 +562,50 @@ func (c *EFS) CreateReplicationConfigurationRequest(input *CreateReplicationConf // in the Amazon EFS User Guide. The replication configuration specifies the // following: // -// * Source file system - An existing EFS file system that you want replicated. -// The source file system cannot be a destination file system in an existing -// replication configuration. -// -// * Destination file system configuration - The configuration of the destination -// file system to which the source file system will be replicated. There -// can only be one destination file system in a replication configuration. -// The destination file system configuration consists of the following properties: -// Amazon Web Services Region - The Amazon Web Services Region in which the -// destination file system is created. Amazon EFS replication is available -// in all Amazon Web Services Regions that Amazon EFS is available in, except -// Africa (Cape Town), Asia Pacific (Hong Kong), Asia Pacific (Jakarta), -// Europe (Milan), and Middle East (Bahrain). Availability Zone - If you -// want the destination file system to use EFS One Zone availability and -// durability, you must specify the Availability Zone to create the file -// system in. For more information about EFS storage classes, see Amazon -// EFS storage classes (https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html) -// in the Amazon EFS User Guide. Encryption - All destination file systems -// are created with encryption at rest enabled. You can specify the Key Management -// Service (KMS) key that is used to encrypt the destination file system. -// If you don't specify a KMS key, your service-managed KMS key for Amazon -// EFS is used. After the file system is created, you cannot change the KMS -// key. +// - Source file system - An existing EFS file system that you want replicated. +// The source file system cannot be a destination file system in an existing +// replication configuration. +// +// - Destination file system configuration - The configuration of the destination +// file system to which the source file system will be replicated. There +// can only be one destination file system in a replication configuration. +// The destination file system configuration consists of the following properties: +// Amazon Web Services Region - The Amazon Web Services Region in which the +// destination file system is created. Amazon EFS replication is available +// in all Amazon Web Services Regions that Amazon EFS is available in, except +// Africa (Cape Town), Asia Pacific (Hong Kong), Asia Pacific (Jakarta), +// Europe (Milan), and Middle East (Bahrain). Availability Zone - If you +// want the destination file system to use EFS One Zone availability and +// durability, you must specify the Availability Zone to create the file +// system in. For more information about EFS storage classes, see Amazon +// EFS storage classes (https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html) +// in the Amazon EFS User Guide. Encryption - All destination file systems +// are created with encryption at rest enabled. You can specify the Key Management +// Service (KMS) key that is used to encrypt the destination file system. +// If you don't specify a KMS key, your service-managed KMS key for Amazon +// EFS is used. After the file system is created, you cannot change the KMS +// key. // // The following properties are set by default: // -// * Performance mode - The destination file system's performance mode matches -// that of the source file system, unless the destination file system uses -// EFS One Zone storage. In that case, the General Purpose performance mode -// is used. The performance mode cannot be changed. +// - Performance mode - The destination file system's performance mode matches +// that of the source file system, unless the destination file system uses +// EFS One Zone storage. In that case, the General Purpose performance mode +// is used. The performance mode cannot be changed. // -// * Throughput mode - The destination file system uses the Bursting Throughput -// mode by default. After the file system is created, you can modify the -// throughput mode. +// - Throughput mode - The destination file system uses the Bursting Throughput +// mode by default. After the file system is created, you can modify the +// throughput mode. // // The following properties are turned off by default: // -// * Lifecycle management - EFS lifecycle management and EFS Intelligent-Tiering -// are not enabled on the destination file system. After the destination -// file system is created, you can enable EFS lifecycle management and EFS -// Intelligent-Tiering. +// - Lifecycle management - EFS lifecycle management and EFS Intelligent-Tiering +// are not enabled on the destination file system. After the destination +// file system is created, you can enable EFS lifecycle management and EFS +// Intelligent-Tiering. // -// * Automatic backups - Automatic daily backups not enabled on the destination -// file system. After the file system is created, you can change this setting. +// - Automatic backups - Automatic daily backups not enabled on the destination +// file system. After the file system is created, you can change this setting. // // For more information, see Amazon EFS replication (https://docs.aws.amazon.com/efs/latest/ug/efs-replication.html) // in the Amazon EFS User Guide. @@ -619,46 +618,47 @@ func (c *EFS) CreateReplicationConfigurationRequest(input *CreateReplicationConf // API operation CreateReplicationConfiguration for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * IncorrectFileSystemLifeCycleState -// Returned if the file system's lifecycle state is not "available". +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. // -// * ValidationException -// Returned if the Backup service is not available in the Amazon Web Services -// Region in which the request was made. +// - IncorrectFileSystemLifeCycleState +// Returned if the file system's lifecycle state is not "available". // -// * ReplicationNotFound -// Returned if the specified file system does not have a replication configuration. +// - ValidationException +// Returned if the Backup service is not available in the Amazon Web Services +// Region in which the request was made. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - ReplicationNotFound +// Returned if the specified file system does not have a replication configuration. // -// * UnsupportedAvailabilityZone -// Returned if the requested Amazon EFS functionality is not available in the -// specified Availability Zone. +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. // -// * FileSystemLimitExceeded -// Returned if the Amazon Web Services account has already created the maximum -// number of file systems allowed per account. +// - UnsupportedAvailabilityZone +// Returned if the requested Amazon EFS functionality is not available in the +// specified Availability Zone. // -// * InsufficientThroughputCapacity -// Returned if there's not enough capacity to provision additional throughput. -// This value might be returned when you try to create a file system in provisioned -// throughput mode, when you attempt to increase the provisioned throughput -// of an existing file system, or when you attempt to change an existing file -// system from Bursting Throughput to Provisioned Throughput mode. Try again -// later. +// - FileSystemLimitExceeded +// Returned if the Amazon Web Services account has already created the maximum +// number of file systems allowed per account. // -// * ThroughputLimitExceeded -// Returned if the throughput mode or amount of provisioned throughput can't -// be changed because the throughput limit of 1024 MiB/s has been reached. +// - InsufficientThroughputCapacity +// Returned if there's not enough capacity to provision additional throughput. +// This value might be returned when you try to create a file system in provisioned +// throughput mode, when you attempt to increase the provisioned throughput +// of an existing file system, or when you attempt to change an existing file +// system from Bursting Throughput to Provisioned Throughput mode. Try again +// later. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - ThroughputLimitExceeded +// Returned if the throughput mode or amount of provisioned throughput can't +// be changed because the throughput limit of 1024 MiB/s has been reached. +// +// - InternalServerError +// Returned if an error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateReplicationConfiguration func (c *EFS) CreateReplicationConfiguration(input *CreateReplicationConfigurationInput) (*CreateReplicationConfigurationOutput, error) { @@ -698,14 +698,13 @@ const opCreateTags = "CreateTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTagsRequest method. +// req, resp := client.CreateTagsRequest(params) // -// // Example sending a request using the CreateTagsRequest method. -// req, resp := client.CreateTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTags // @@ -732,7 +731,6 @@ func (c *EFS) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, o // CreateTags API operation for Amazon Elastic File System. // -// // DEPRECATED - CreateTags is deprecated and not maintained. To create tags // for EFS resources, use the API action. // @@ -752,16 +750,17 @@ func (c *EFS) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, o // API operation CreateTags for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. +// +// - InternalServerError +// Returned if an error occurred on the server side. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateTags // @@ -805,14 +804,13 @@ const opDeleteAccessPoint = "DeleteAccessPoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccessPointRequest method. +// req, resp := client.DeleteAccessPointRequest(params) // -// // Example sending a request using the DeleteAccessPointRequest method. -// req, resp := client.DeleteAccessPointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteAccessPoint func (c *EFS) DeleteAccessPointRequest(input *DeleteAccessPointInput) (req *request.Request, output *DeleteAccessPointOutput) { @@ -850,16 +848,17 @@ func (c *EFS) DeleteAccessPointRequest(input *DeleteAccessPointInput) (req *requ // API operation DeleteAccessPoint for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. // -// * AccessPointNotFound -// Returned if the specified AccessPointId value doesn't exist in the requester's -// Amazon Web Services account. +// - InternalServerError +// Returned if an error occurred on the server side. +// +// - AccessPointNotFound +// Returned if the specified AccessPointId value doesn't exist in the requester's +// Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteAccessPoint func (c *EFS) DeleteAccessPoint(input *DeleteAccessPointInput) (*DeleteAccessPointOutput, error) { @@ -899,14 +898,13 @@ const opDeleteFileSystem = "DeleteFileSystem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFileSystemRequest method. +// req, resp := client.DeleteFileSystemRequest(params) // -// // Example sending a request using the DeleteFileSystemRequest method. -// req, resp := client.DeleteFileSystemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystem func (c *EFS) DeleteFileSystemRequest(input *DeleteFileSystemInput) (req *request.Request, output *DeleteFileSystemOutput) { @@ -960,19 +958,20 @@ func (c *EFS) DeleteFileSystemRequest(input *DeleteFileSystemInput) (req *reques // API operation DeleteFileSystem for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * FileSystemInUse -// Returned if a file system has mount targets. +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. +// +// - FileSystemInUse +// Returned if a file system has mount targets. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystem func (c *EFS) DeleteFileSystem(input *DeleteFileSystemInput) (*DeleteFileSystemOutput, error) { @@ -1012,14 +1011,13 @@ const opDeleteFileSystemPolicy = "DeleteFileSystemPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFileSystemPolicyRequest method. +// req, resp := client.DeleteFileSystemPolicyRequest(params) // -// // Example sending a request using the DeleteFileSystemPolicyRequest method. -// req, resp := client.DeleteFileSystemPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystemPolicy func (c *EFS) DeleteFileSystemPolicyRequest(input *DeleteFileSystemPolicyInput) (req *request.Request, output *DeleteFileSystemPolicyOutput) { @@ -1057,19 +1055,20 @@ func (c *EFS) DeleteFileSystemPolicyRequest(input *DeleteFileSystemPolicyInput) // API operation DeleteFileSystemPolicy for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * IncorrectFileSystemLifeCycleState -// Returned if the file system's lifecycle state is not "available". +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. +// +// - IncorrectFileSystemLifeCycleState +// Returned if the file system's lifecycle state is not "available". // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteFileSystemPolicy func (c *EFS) DeleteFileSystemPolicy(input *DeleteFileSystemPolicyInput) (*DeleteFileSystemPolicyOutput, error) { @@ -1109,14 +1108,13 @@ const opDeleteMountTarget = "DeleteMountTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMountTargetRequest method. +// req, resp := client.DeleteMountTargetRequest(params) // -// // Example sending a request using the DeleteMountTargetRequest method. -// req, resp := client.DeleteMountTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteMountTarget func (c *EFS) DeleteMountTargetRequest(input *DeleteMountTargetInput) (req *request.Request, output *DeleteMountTargetOutput) { @@ -1152,7 +1150,7 @@ func (c *EFS) DeleteMountTargetRequest(input *DeleteMountTargetInput) (req *requ // This operation requires permissions for the following action on the file // system: // -// * elasticfilesystem:DeleteMountTarget +// - elasticfilesystem:DeleteMountTarget // // The DeleteMountTarget call returns while the mount target state is still // deleting. You can check the mount target deletion by calling the DescribeMountTargets @@ -1162,7 +1160,7 @@ func (c *EFS) DeleteMountTargetRequest(input *DeleteMountTargetInput) (req *requ // The operation also requires permissions for the following Amazon EC2 action // on the mount target's network interface: // -// * ec2:DeleteNetworkInterface +// - ec2:DeleteNetworkInterface // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1172,20 +1170,21 @@ func (c *EFS) DeleteMountTargetRequest(input *DeleteMountTargetInput) (req *requ // API operation DeleteMountTarget for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. // -// * DependencyTimeout -// The service timed out trying to fulfill the request, and the client should -// try the call again. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * MountTargetNotFound -// Returned if there is no mount target with the specified ID found in the caller's -// Amazon Web Services account. +// - DependencyTimeout +// The service timed out trying to fulfill the request, and the client should +// try the call again. +// +// - MountTargetNotFound +// Returned if there is no mount target with the specified ID found in the caller's +// Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteMountTarget func (c *EFS) DeleteMountTarget(input *DeleteMountTargetInput) (*DeleteMountTargetOutput, error) { @@ -1225,14 +1224,13 @@ const opDeleteReplicationConfiguration = "DeleteReplicationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReplicationConfigurationRequest method. +// req, resp := client.DeleteReplicationConfigurationRequest(params) // -// // Example sending a request using the DeleteReplicationConfigurationRequest method. -// req, resp := client.DeleteReplicationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteReplicationConfiguration func (c *EFS) DeleteReplicationConfigurationRequest(input *DeleteReplicationConfigurationInput) (req *request.Request, output *DeleteReplicationConfigurationOutput) { @@ -1269,19 +1267,20 @@ func (c *EFS) DeleteReplicationConfigurationRequest(input *DeleteReplicationConf // API operation DeleteReplicationConfiguration for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. +// +// - InternalServerError +// Returned if an error occurred on the server side. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. // -// * ReplicationNotFound -// Returned if the specified file system does not have a replication configuration. +// - ReplicationNotFound +// Returned if the specified file system does not have a replication configuration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteReplicationConfiguration func (c *EFS) DeleteReplicationConfiguration(input *DeleteReplicationConfigurationInput) (*DeleteReplicationConfigurationOutput, error) { @@ -1321,14 +1320,13 @@ const opDeleteTags = "DeleteTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTagsRequest method. +// req, resp := client.DeleteTagsRequest(params) // -// // Example sending a request using the DeleteTagsRequest method. -// req, resp := client.DeleteTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteTags // @@ -1355,7 +1353,6 @@ func (c *EFS) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, o // DeleteTags API operation for Amazon Elastic File System. // -// // DEPRECATED - DeleteTags is deprecated and not maintained. To remove tags // from EFS resources, use the API action. // @@ -1376,16 +1373,17 @@ func (c *EFS) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, o // API operation DeleteTags for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - InternalServerError +// Returned if an error occurred on the server side. +// +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DeleteTags // @@ -1429,14 +1427,13 @@ const opDescribeAccessPoints = "DescribeAccessPoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccessPointsRequest method. +// req, resp := client.DescribeAccessPointsRequest(params) // -// // Example sending a request using the DescribeAccessPointsRequest method. -// req, resp := client.DescribeAccessPointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeAccessPoints func (c *EFS) DescribeAccessPointsRequest(input *DescribeAccessPointsInput) (req *request.Request, output *DescribeAccessPointsOutput) { @@ -1479,20 +1476,21 @@ func (c *EFS) DescribeAccessPointsRequest(input *DescribeAccessPointsInput) (req // API operation DescribeAccessPoints for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * AccessPointNotFound -// Returned if the specified AccessPointId value doesn't exist in the requester's -// Amazon Web Services account. +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. +// +// - AccessPointNotFound +// Returned if the specified AccessPointId value doesn't exist in the requester's +// Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeAccessPoints func (c *EFS) DescribeAccessPoints(input *DescribeAccessPointsInput) (*DescribeAccessPointsOutput, error) { @@ -1524,15 +1522,14 @@ func (c *EFS) DescribeAccessPointsWithContext(ctx aws.Context, input *DescribeAc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAccessPoints operation. -// pageNum := 0 -// err := client.DescribeAccessPointsPages(params, -// func(page *efs.DescribeAccessPointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAccessPoints operation. +// pageNum := 0 +// err := client.DescribeAccessPointsPages(params, +// func(page *efs.DescribeAccessPointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EFS) DescribeAccessPointsPages(input *DescribeAccessPointsInput, fn func(*DescribeAccessPointsOutput, bool) bool) error { return c.DescribeAccessPointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1584,14 +1581,13 @@ const opDescribeAccountPreferences = "DescribeAccountPreferences" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountPreferencesRequest method. +// req, resp := client.DescribeAccountPreferencesRequest(params) // -// // Example sending a request using the DescribeAccountPreferencesRequest method. -// req, resp := client.DescribeAccountPreferencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeAccountPreferences func (c *EFS) DescribeAccountPreferencesRequest(input *DescribeAccountPreferencesInput) (req *request.Request, output *DescribeAccountPreferencesOutput) { @@ -1624,8 +1620,8 @@ func (c *EFS) DescribeAccountPreferencesRequest(input *DescribeAccountPreference // API operation DescribeAccountPreferences for usage and error information. // // Returned Error Types: -// * InternalServerError -// Returned if an error occurred on the server side. +// - InternalServerError +// Returned if an error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeAccountPreferences func (c *EFS) DescribeAccountPreferences(input *DescribeAccountPreferencesInput) (*DescribeAccountPreferencesOutput, error) { @@ -1665,14 +1661,13 @@ const opDescribeBackupPolicy = "DescribeBackupPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBackupPolicyRequest method. +// req, resp := client.DescribeBackupPolicyRequest(params) // -// // Example sending a request using the DescribeBackupPolicyRequest method. -// req, resp := client.DescribeBackupPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeBackupPolicy func (c *EFS) DescribeBackupPolicyRequest(input *DescribeBackupPolicyInput) (req *request.Request, output *DescribeBackupPolicyOutput) { @@ -1703,24 +1698,25 @@ func (c *EFS) DescribeBackupPolicyRequest(input *DescribeBackupPolicyInput) (req // API operation DescribeBackupPolicy for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. +// +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * PolicyNotFound -// Returned if the default file system policy is in effect for the EFS file -// system specified. +// - PolicyNotFound +// Returned if the default file system policy is in effect for the EFS file +// system specified. // -// * ValidationException -// Returned if the Backup service is not available in the Amazon Web Services -// Region in which the request was made. +// - ValidationException +// Returned if the Backup service is not available in the Amazon Web Services +// Region in which the request was made. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeBackupPolicy func (c *EFS) DescribeBackupPolicy(input *DescribeBackupPolicyInput) (*DescribeBackupPolicyOutput, error) { @@ -1760,14 +1756,13 @@ const opDescribeFileSystemPolicy = "DescribeFileSystemPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFileSystemPolicyRequest method. +// req, resp := client.DescribeFileSystemPolicyRequest(params) // -// // Example sending a request using the DescribeFileSystemPolicyRequest method. -// req, resp := client.DescribeFileSystemPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystemPolicy func (c *EFS) DescribeFileSystemPolicyRequest(input *DescribeFileSystemPolicyInput) (req *request.Request, output *DescribeFileSystemPolicyOutput) { @@ -1801,20 +1796,21 @@ func (c *EFS) DescribeFileSystemPolicyRequest(input *DescribeFileSystemPolicyInp // API operation DescribeFileSystemPolicy for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. +// +// - InternalServerError +// Returned if an error occurred on the server side. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. // -// * PolicyNotFound -// Returned if the default file system policy is in effect for the EFS file -// system specified. +// - PolicyNotFound +// Returned if the default file system policy is in effect for the EFS file +// system specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystemPolicy func (c *EFS) DescribeFileSystemPolicy(input *DescribeFileSystemPolicyInput) (*DescribeFileSystemPolicyOutput, error) { @@ -1854,14 +1850,13 @@ const opDescribeFileSystems = "DescribeFileSystems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFileSystemsRequest method. +// req, resp := client.DescribeFileSystemsRequest(params) // -// // Example sending a request using the DescribeFileSystemsRequest method. -// req, resp := client.DescribeFileSystemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystems func (c *EFS) DescribeFileSystemsRequest(input *DescribeFileSystemsInput) (req *request.Request, output *DescribeFileSystemsOutput) { @@ -1922,16 +1917,17 @@ func (c *EFS) DescribeFileSystemsRequest(input *DescribeFileSystemsInput) (req * // API operation DescribeFileSystems for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. +// +// - InternalServerError +// Returned if an error occurred on the server side. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeFileSystems func (c *EFS) DescribeFileSystems(input *DescribeFileSystemsInput) (*DescribeFileSystemsOutput, error) { @@ -1963,15 +1959,14 @@ func (c *EFS) DescribeFileSystemsWithContext(ctx aws.Context, input *DescribeFil // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeFileSystems operation. -// pageNum := 0 -// err := client.DescribeFileSystemsPages(params, -// func(page *efs.DescribeFileSystemsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeFileSystems operation. +// pageNum := 0 +// err := client.DescribeFileSystemsPages(params, +// func(page *efs.DescribeFileSystemsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EFS) DescribeFileSystemsPages(input *DescribeFileSystemsInput, fn func(*DescribeFileSystemsOutput, bool) bool) error { return c.DescribeFileSystemsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2023,14 +2018,13 @@ const opDescribeLifecycleConfiguration = "DescribeLifecycleConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLifecycleConfigurationRequest method. +// req, resp := client.DescribeLifecycleConfigurationRequest(params) // -// // Example sending a request using the DescribeLifecycleConfigurationRequest method. -// req, resp := client.DescribeLifecycleConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeLifecycleConfiguration func (c *EFS) DescribeLifecycleConfigurationRequest(input *DescribeLifecycleConfigurationInput) (req *request.Request, output *DescribeLifecycleConfigurationOutput) { @@ -2071,16 +2065,17 @@ func (c *EFS) DescribeLifecycleConfigurationRequest(input *DescribeLifecycleConf // API operation DescribeLifecycleConfiguration for usage and error information. // // Returned Error Types: -// * InternalServerError -// Returned if an error occurred on the server side. // -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. +// +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeLifecycleConfiguration func (c *EFS) DescribeLifecycleConfiguration(input *DescribeLifecycleConfigurationInput) (*DescribeLifecycleConfigurationOutput, error) { @@ -2120,14 +2115,13 @@ const opDescribeMountTargetSecurityGroups = "DescribeMountTargetSecurityGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMountTargetSecurityGroupsRequest method. +// req, resp := client.DescribeMountTargetSecurityGroupsRequest(params) // -// // Example sending a request using the DescribeMountTargetSecurityGroupsRequest method. -// req, resp := client.DescribeMountTargetSecurityGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroups func (c *EFS) DescribeMountTargetSecurityGroupsRequest(input *DescribeMountTargetSecurityGroupsInput) (req *request.Request, output *DescribeMountTargetSecurityGroupsOutput) { @@ -2154,11 +2148,11 @@ func (c *EFS) DescribeMountTargetSecurityGroupsRequest(input *DescribeMountTarge // // This operation requires permissions for the following actions: // -// * elasticfilesystem:DescribeMountTargetSecurityGroups action on the mount -// target's file system. +// - elasticfilesystem:DescribeMountTargetSecurityGroups action on the mount +// target's file system. // -// * ec2:DescribeNetworkInterfaceAttribute action on the mount target's network -// interface. +// - ec2:DescribeNetworkInterfaceAttribute action on the mount target's network +// interface. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2168,19 +2162,20 @@ func (c *EFS) DescribeMountTargetSecurityGroupsRequest(input *DescribeMountTarge // API operation DescribeMountTargetSecurityGroups for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. +// +// - InternalServerError +// Returned if an error occurred on the server side. // -// * MountTargetNotFound -// Returned if there is no mount target with the specified ID found in the caller's -// Amazon Web Services account. +// - MountTargetNotFound +// Returned if there is no mount target with the specified ID found in the caller's +// Amazon Web Services account. // -// * IncorrectMountTargetState -// Returned if the mount target is not in the correct state for the operation. +// - IncorrectMountTargetState +// Returned if the mount target is not in the correct state for the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargetSecurityGroups func (c *EFS) DescribeMountTargetSecurityGroups(input *DescribeMountTargetSecurityGroupsInput) (*DescribeMountTargetSecurityGroupsOutput, error) { @@ -2220,14 +2215,13 @@ const opDescribeMountTargets = "DescribeMountTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMountTargetsRequest method. +// req, resp := client.DescribeMountTargetsRequest(params) // -// // Example sending a request using the DescribeMountTargetsRequest method. -// req, resp := client.DescribeMountTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargets func (c *EFS) DescribeMountTargetsRequest(input *DescribeMountTargetsInput) (req *request.Request, output *DescribeMountTargetsOutput) { @@ -2264,24 +2258,25 @@ func (c *EFS) DescribeMountTargetsRequest(input *DescribeMountTargetsInput) (req // API operation DescribeMountTargets for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. +// +// - InternalServerError +// Returned if an error occurred on the server side. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. // -// * MountTargetNotFound -// Returned if there is no mount target with the specified ID found in the caller's -// Amazon Web Services account. +// - MountTargetNotFound +// Returned if there is no mount target with the specified ID found in the caller's +// Amazon Web Services account. // -// * AccessPointNotFound -// Returned if the specified AccessPointId value doesn't exist in the requester's -// Amazon Web Services account. +// - AccessPointNotFound +// Returned if the specified AccessPointId value doesn't exist in the requester's +// Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargets func (c *EFS) DescribeMountTargets(input *DescribeMountTargetsInput) (*DescribeMountTargetsOutput, error) { @@ -2321,14 +2316,13 @@ const opDescribeReplicationConfigurations = "DescribeReplicationConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReplicationConfigurationsRequest method. +// req, resp := client.DescribeReplicationConfigurationsRequest(params) // -// // Example sending a request using the DescribeReplicationConfigurationsRequest method. -// req, resp := client.DescribeReplicationConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeReplicationConfigurations func (c *EFS) DescribeReplicationConfigurationsRequest(input *DescribeReplicationConfigurationsInput) (req *request.Request, output *DescribeReplicationConfigurationsOutput) { @@ -2361,23 +2355,24 @@ func (c *EFS) DescribeReplicationConfigurationsRequest(input *DescribeReplicatio // API operation DescribeReplicationConfigurations for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. +// +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * ReplicationNotFound -// Returned if the specified file system does not have a replication configuration. +// - ReplicationNotFound +// Returned if the specified file system does not have a replication configuration. // -// * ValidationException -// Returned if the Backup service is not available in the Amazon Web Services -// Region in which the request was made. +// - ValidationException +// Returned if the Backup service is not available in the Amazon Web Services +// Region in which the request was made. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeReplicationConfigurations func (c *EFS) DescribeReplicationConfigurations(input *DescribeReplicationConfigurationsInput) (*DescribeReplicationConfigurationsOutput, error) { @@ -2417,14 +2412,13 @@ const opDescribeTags = "DescribeTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTagsRequest method. +// req, resp := client.DescribeTagsRequest(params) // -// // Example sending a request using the DescribeTagsRequest method. -// req, resp := client.DescribeTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTags // @@ -2456,7 +2450,6 @@ func (c *EFS) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Reques // DescribeTags API operation for Amazon Elastic File System. // -// // DEPRECATED - The DescribeTags action is deprecated and not maintained. To // view tags associated with EFS resources, use the ListTagsForResource API // action. @@ -2476,16 +2469,17 @@ func (c *EFS) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Reques // API operation DescribeTags for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - InternalServerError +// Returned if an error occurred on the server side. +// +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeTags // @@ -2521,15 +2515,14 @@ func (c *EFS) DescribeTagsWithContext(ctx aws.Context, input *DescribeTagsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTags operation. -// pageNum := 0 -// err := client.DescribeTagsPages(params, -// func(page *efs.DescribeTagsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTags operation. +// pageNum := 0 +// err := client.DescribeTagsPages(params, +// func(page *efs.DescribeTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) // // Deprecated: Use ListTagsForResource. func (c *EFS) DescribeTagsPages(input *DescribeTagsInput, fn func(*DescribeTagsOutput, bool) bool) error { @@ -2585,14 +2578,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ListTagsForResource func (c *EFS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2633,20 +2625,21 @@ func (c *EFS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * AccessPointNotFound -// Returned if the specified AccessPointId value doesn't exist in the requester's -// Amazon Web Services account. +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. +// +// - AccessPointNotFound +// Returned if the specified AccessPointId value doesn't exist in the requester's +// Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ListTagsForResource func (c *EFS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2678,15 +2671,14 @@ func (c *EFS) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsFor // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *efs.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *efs.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EFS) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2738,14 +2730,13 @@ const opModifyMountTargetSecurityGroups = "ModifyMountTargetSecurityGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyMountTargetSecurityGroupsRequest method. +// req, resp := client.ModifyMountTargetSecurityGroupsRequest(params) // -// // Example sending a request using the ModifyMountTargetSecurityGroupsRequest method. -// req, resp := client.ModifyMountTargetSecurityGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroups func (c *EFS) ModifyMountTargetSecurityGroupsRequest(input *ModifyMountTargetSecurityGroupsInput) (req *request.Request, output *ModifyMountTargetSecurityGroupsOutput) { @@ -2778,11 +2769,11 @@ func (c *EFS) ModifyMountTargetSecurityGroupsRequest(input *ModifyMountTargetSec // // The operation requires permissions for the following actions: // -// * elasticfilesystem:ModifyMountTargetSecurityGroups action on the mount -// target's file system. +// - elasticfilesystem:ModifyMountTargetSecurityGroups action on the mount +// target's file system. // -// * ec2:ModifyNetworkInterfaceAttribute action on the mount target's network -// interface. +// - ec2:ModifyNetworkInterfaceAttribute action on the mount target's network +// interface. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2792,27 +2783,28 @@ func (c *EFS) ModifyMountTargetSecurityGroupsRequest(input *ModifyMountTargetSec // API operation ModifyMountTargetSecurityGroups for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. +// +// - InternalServerError +// Returned if an error occurred on the server side. // -// * MountTargetNotFound -// Returned if there is no mount target with the specified ID found in the caller's -// Amazon Web Services account. +// - MountTargetNotFound +// Returned if there is no mount target with the specified ID found in the caller's +// Amazon Web Services account. // -// * IncorrectMountTargetState -// Returned if the mount target is not in the correct state for the operation. +// - IncorrectMountTargetState +// Returned if the mount target is not in the correct state for the operation. // -// * SecurityGroupLimitExceeded -// Returned if the size of SecurityGroups specified in the request is greater -// than five. +// - SecurityGroupLimitExceeded +// Returned if the size of SecurityGroups specified in the request is greater +// than five. // -// * SecurityGroupNotFound -// Returned if one of the specified security groups doesn't exist in the subnet's -// virtual private cloud (VPC). +// - SecurityGroupNotFound +// Returned if one of the specified security groups doesn't exist in the subnet's +// virtual private cloud (VPC). // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ModifyMountTargetSecurityGroups func (c *EFS) ModifyMountTargetSecurityGroups(input *ModifyMountTargetSecurityGroupsInput) (*ModifyMountTargetSecurityGroupsOutput, error) { @@ -2852,14 +2844,13 @@ const opPutAccountPreferences = "PutAccountPreferences" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAccountPreferencesRequest method. +// req, resp := client.PutAccountPreferencesRequest(params) // -// // Example sending a request using the PutAccountPreferencesRequest method. -// req, resp := client.PutAccountPreferencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutAccountPreferences func (c *EFS) PutAccountPreferencesRequest(input *PutAccountPreferencesInput) (req *request.Request, output *PutAccountPreferencesOutput) { @@ -2900,12 +2891,13 @@ func (c *EFS) PutAccountPreferencesRequest(input *PutAccountPreferencesInput) (r // API operation PutAccountPreferences for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. +// +// - InternalServerError +// Returned if an error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutAccountPreferences func (c *EFS) PutAccountPreferences(input *PutAccountPreferencesInput) (*PutAccountPreferencesOutput, error) { @@ -2945,14 +2937,13 @@ const opPutBackupPolicy = "PutBackupPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBackupPolicyRequest method. +// req, resp := client.PutBackupPolicyRequest(params) // -// // Example sending a request using the PutBackupPolicyRequest method. -// req, resp := client.PutBackupPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutBackupPolicy func (c *EFS) PutBackupPolicyRequest(input *PutBackupPolicyInput) (req *request.Request, output *PutBackupPolicyOutput) { @@ -2984,23 +2975,24 @@ func (c *EFS) PutBackupPolicyRequest(input *PutBackupPolicyInput) (req *request. // API operation PutBackupPolicy for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. +// +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. // -// * IncorrectFileSystemLifeCycleState -// Returned if the file system's lifecycle state is not "available". +// - IncorrectFileSystemLifeCycleState +// Returned if the file system's lifecycle state is not "available". // -// * InternalServerError -// Returned if an error occurred on the server side. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * ValidationException -// Returned if the Backup service is not available in the Amazon Web Services -// Region in which the request was made. +// - ValidationException +// Returned if the Backup service is not available in the Amazon Web Services +// Region in which the request was made. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutBackupPolicy func (c *EFS) PutBackupPolicy(input *PutBackupPolicyInput) (*PutBackupPolicyOutput, error) { @@ -3040,14 +3032,13 @@ const opPutFileSystemPolicy = "PutFileSystemPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutFileSystemPolicyRequest method. +// req, resp := client.PutFileSystemPolicyRequest(params) // -// // Example sending a request using the PutFileSystemPolicyRequest method. -// req, resp := client.PutFileSystemPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutFileSystemPolicy func (c *EFS) PutFileSystemPolicyRequest(input *PutFileSystemPolicyInput) (req *request.Request, output *PutFileSystemPolicyOutput) { @@ -3090,24 +3081,25 @@ func (c *EFS) PutFileSystemPolicyRequest(input *PutFileSystemPolicyInput) (req * // API operation PutFileSystemPolicy for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * InvalidPolicyException -// Returned if the FileSystemPolicy is malformed or contains an error such as -// a parameter value that is not valid or a missing required parameter. Returned -// in the case of a policy lockout safety check error. +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. // -// * IncorrectFileSystemLifeCycleState -// Returned if the file system's lifecycle state is not "available". +// - InvalidPolicyException +// Returned if the FileSystemPolicy is malformed or contains an error such as +// a parameter value that is not valid or a missing required parameter. Returned +// in the case of a policy lockout safety check error. +// +// - IncorrectFileSystemLifeCycleState +// Returned if the file system's lifecycle state is not "available". // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutFileSystemPolicy func (c *EFS) PutFileSystemPolicy(input *PutFileSystemPolicyInput) (*PutFileSystemPolicyOutput, error) { @@ -3147,14 +3139,13 @@ const opPutLifecycleConfiguration = "PutLifecycleConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutLifecycleConfigurationRequest method. +// req, resp := client.PutLifecycleConfigurationRequest(params) // -// // Example sending a request using the PutLifecycleConfigurationRequest method. -// req, resp := client.PutLifecycleConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutLifecycleConfiguration func (c *EFS) PutLifecycleConfigurationRequest(input *PutLifecycleConfigurationInput) (req *request.Request, output *PutLifecycleConfigurationOutput) { @@ -3179,15 +3170,15 @@ func (c *EFS) PutLifecycleConfigurationRequest(input *PutLifecycleConfigurationI // A LifecycleConfiguration consists of one or more LifecyclePolicy objects // that define the following: // -// * EFS Lifecycle management - When Amazon EFS automatically transitions -// files in a file system into the lower-cost Infrequent Access (IA) storage -// class. To enable EFS Lifecycle management, set the value of TransitionToIA -// to one of the available options. +// - EFS Lifecycle management - When Amazon EFS automatically transitions +// files in a file system into the lower-cost Infrequent Access (IA) storage +// class. To enable EFS Lifecycle management, set the value of TransitionToIA +// to one of the available options. // -// * EFS Intelligent tiering - When Amazon EFS automatically transitions -// files from IA back into the file system's primary storage class (Standard -// or One Zone Standard. To enable EFS Intelligent Tiering, set the value -// of TransitionToPrimaryStorageClass to AFTER_1_ACCESS. +// - EFS Intelligent tiering - When Amazon EFS automatically transitions +// files from IA back into the file system's primary storage class (Standard +// or One Zone Standard. To enable EFS Intelligent Tiering, set the value +// of TransitionToPrimaryStorageClass to AFTER_1_ACCESS. // // For more information, see EFS Lifecycle Management (https://docs.aws.amazon.com/efs/latest/ug/lifecycle-management-efs.html). // @@ -3200,15 +3191,15 @@ func (c *EFS) PutLifecycleConfigurationRequest(input *PutLifecycleConfigurationI // // In the request, specify the following: // -// * The ID for the file system for which you are enabling, disabling, or -// modifying lifecycle management and intelligent tiering. +// - The ID for the file system for which you are enabling, disabling, or +// modifying lifecycle management and intelligent tiering. // -// * A LifecyclePolicies array of LifecyclePolicy objects that define when -// files are moved into IA storage, and when they are moved back to Standard -// storage. Amazon EFS requires that each LifecyclePolicy object have only -// have a single transition, so the LifecyclePolicies array needs to be structured -// with separate LifecyclePolicy objects. See the example requests in the -// following section for more information. +// - A LifecyclePolicies array of LifecyclePolicy objects that define when +// files are moved into IA storage, and when they are moved back to Standard +// storage. Amazon EFS requires that each LifecyclePolicy object have only +// have a single transition, so the LifecyclePolicies array needs to be structured +// with separate LifecyclePolicy objects. See the example requests in the +// following section for more information. // // This operation requires permissions for the elasticfilesystem:PutLifecycleConfiguration // operation. @@ -3225,19 +3216,20 @@ func (c *EFS) PutLifecycleConfigurationRequest(input *PutLifecycleConfigurationI // API operation PutLifecycleConfiguration for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * IncorrectFileSystemLifeCycleState -// Returned if the file system's lifecycle state is not "available". +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. +// +// - IncorrectFileSystemLifeCycleState +// Returned if the file system's lifecycle state is not "available". // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutLifecycleConfiguration func (c *EFS) PutLifecycleConfiguration(input *PutLifecycleConfigurationInput) (*PutLifecycleConfigurationOutput, error) { @@ -3277,14 +3269,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/TagResource func (c *EFS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3320,20 +3311,21 @@ func (c *EFS) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * AccessPointNotFound -// Returned if the specified AccessPointId value doesn't exist in the requester's -// Amazon Web Services account. +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. +// +// - AccessPointNotFound +// Returned if the specified AccessPointId value doesn't exist in the requester's +// Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/TagResource func (c *EFS) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3373,14 +3365,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/UntagResource func (c *EFS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3416,20 +3407,21 @@ func (c *EFS) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InternalServerError -// Returned if an error occurred on the server side. +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. // -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. +// - InternalServerError +// Returned if an error occurred on the server side. // -// * AccessPointNotFound -// Returned if the specified AccessPointId value doesn't exist in the requester's -// Amazon Web Services account. +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. +// +// - AccessPointNotFound +// Returned if the specified AccessPointId value doesn't exist in the requester's +// Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/UntagResource func (c *EFS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3469,14 +3461,13 @@ const opUpdateFileSystem = "UpdateFileSystem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFileSystemRequest method. +// req, resp := client.UpdateFileSystemRequest(params) // -// // Example sending a request using the UpdateFileSystemRequest method. -// req, resp := client.UpdateFileSystemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/UpdateFileSystem func (c *EFS) UpdateFileSystemRequest(input *UpdateFileSystemInput) (req *request.Request, output *UpdateFileSystemOutput) { @@ -3508,35 +3499,36 @@ func (c *EFS) UpdateFileSystemRequest(input *UpdateFileSystemInput) (req *reques // API operation UpdateFileSystem for usage and error information. // // Returned Error Types: -// * BadRequest -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. -// -// * FileSystemNotFound -// Returned if the specified FileSystemId value doesn't exist in the requester's -// Amazon Web Services account. -// -// * IncorrectFileSystemLifeCycleState -// Returned if the file system's lifecycle state is not "available". -// -// * InsufficientThroughputCapacity -// Returned if there's not enough capacity to provision additional throughput. -// This value might be returned when you try to create a file system in provisioned -// throughput mode, when you attempt to increase the provisioned throughput -// of an existing file system, or when you attempt to change an existing file -// system from Bursting Throughput to Provisioned Throughput mode. Try again -// later. -// -// * InternalServerError -// Returned if an error occurred on the server side. -// -// * ThroughputLimitExceeded -// Returned if the throughput mode or amount of provisioned throughput can't -// be changed because the throughput limit of 1024 MiB/s has been reached. -// -// * TooManyRequests -// Returned if you don’t wait at least 24 hours before either changing the -// throughput mode, or decreasing the Provisioned Throughput value. +// +// - BadRequest +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. +// +// - FileSystemNotFound +// Returned if the specified FileSystemId value doesn't exist in the requester's +// Amazon Web Services account. +// +// - IncorrectFileSystemLifeCycleState +// Returned if the file system's lifecycle state is not "available". +// +// - InsufficientThroughputCapacity +// Returned if there's not enough capacity to provision additional throughput. +// This value might be returned when you try to create a file system in provisioned +// throughput mode, when you attempt to increase the provisioned throughput +// of an existing file system, or when you attempt to change an existing file +// system from Bursting Throughput to Provisioned Throughput mode. Try again +// later. +// +// - InternalServerError +// Returned if an error occurred on the server side. +// +// - ThroughputLimitExceeded +// Returned if the throughput mode or amount of provisioned throughput can't +// be changed because the throughput limit of 1024 MiB/s has been reached. +// +// - TooManyRequests +// Returned if you don’t wait at least 24 hours before either changing the +// throughput mode, or decreasing the Provisioned Throughput value. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/UpdateFileSystem func (c *EFS) UpdateFileSystem(input *UpdateFileSystemInput) (*UpdateFileSystemOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/doc.go index 2184ca29b980..77ae8e37268d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/doc.go @@ -16,7 +16,7 @@ // See efs package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/efs/ // -// Using the Client +// # Using the Client // // To contact Amazon Elastic File System with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/efsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/efsiface/interface.go index 5b0ccda2c50d..8f302c138dba 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/efsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/efsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Elastic File System. -// func myFunc(svc efsiface.EFSAPI) bool { -// // Make svc.CreateAccessPoint request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Elastic File System. +// func myFunc(svc efsiface.EFSAPI) bool { +// // Make svc.CreateAccessPoint request +// } // -// func main() { -// sess := session.New() -// svc := efs.New(sess) +// func main() { +// sess := session.New() +// svc := efs.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockEFSClient struct { -// efsiface.EFSAPI -// } -// func (m *mockEFSClient) CreateAccessPoint(input *efs.CreateAccessPointInput) (*efs.CreateAccessPointOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockEFSClient struct { +// efsiface.EFSAPI +// } +// func (m *mockEFSClient) CreateAccessPoint(input *efs.CreateAccessPointInput) (*efs.CreateAccessPointOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockEFSClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockEFSClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/service.go index 90c2fc407bea..3c33f477c7a5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/efs/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a EFS client from just a session. -// svc := efs.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a EFS client with additional configuration -// svc := efs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a EFS client from just a session. +// svc := efs.New(mySession) +// +// // Create a EFS client with additional configuration +// svc := efs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *EFS { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/api.go index 61e885a84800..5000e88fe50d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/api.go @@ -29,14 +29,13 @@ const opAssociateEncryptionConfig = "AssociateEncryptionConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateEncryptionConfigRequest method. +// req, resp := client.AssociateEncryptionConfigRequest(params) // -// // Example sending a request using the AssociateEncryptionConfigRequest method. -// req, resp := client.AssociateEncryptionConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/AssociateEncryptionConfig func (c *EKS) AssociateEncryptionConfigRequest(input *AssociateEncryptionConfigInput) (req *request.Request, output *AssociateEncryptionConfigOutput) { @@ -71,29 +70,30 @@ func (c *EKS) AssociateEncryptionConfigRequest(input *AssociateEncryptionConfigI // API operation AssociateEncryptionConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/AssociateEncryptionConfig func (c *EKS) AssociateEncryptionConfig(input *AssociateEncryptionConfigInput) (*AssociateEncryptionConfigOutput, error) { @@ -133,14 +133,13 @@ const opAssociateIdentityProviderConfig = "AssociateIdentityProviderConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateIdentityProviderConfigRequest method. +// req, resp := client.AssociateIdentityProviderConfigRequest(params) // -// // Example sending a request using the AssociateIdentityProviderConfigRequest method. -// req, resp := client.AssociateIdentityProviderConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/AssociateIdentityProviderConfig func (c *EKS) AssociateIdentityProviderConfigRequest(input *AssociateIdentityProviderConfigInput) (req *request.Request, output *AssociateIdentityProviderConfigOutput) { @@ -179,29 +178,30 @@ func (c *EKS) AssociateIdentityProviderConfigRequest(input *AssociateIdentityPro // API operation AssociateIdentityProviderConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ResourceInUseException -// The specified resource is in use. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ResourceInUseException +// The specified resource is in use. // -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. +// +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/AssociateIdentityProviderConfig func (c *EKS) AssociateIdentityProviderConfig(input *AssociateIdentityProviderConfigInput) (*AssociateIdentityProviderConfigOutput, error) { @@ -241,14 +241,13 @@ const opCreateAddon = "CreateAddon" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAddonRequest method. +// req, resp := client.CreateAddonRequest(params) // -// // Example sending a request using the CreateAddonRequest method. -// req, resp := client.CreateAddonRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateAddon func (c *EKS) CreateAddonRequest(input *CreateAddonInput) (req *request.Request, output *CreateAddonOutput) { @@ -287,29 +286,30 @@ func (c *EKS) CreateAddonRequest(input *CreateAddonInput) (req *request.Request, // API operation CreateAddon for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - ResourceInUseException +// The specified resource is in use. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. +// +// - ServerException +// These errors are usually caused by a server-side issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateAddon func (c *EKS) CreateAddon(input *CreateAddonInput) (*CreateAddonOutput, error) { @@ -349,14 +349,13 @@ const opCreateCluster = "CreateCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClusterRequest method. +// req, resp := client.CreateClusterRequest(params) // -// // Example sending a request using the CreateClusterRequest method. -// req, resp := client.CreateClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateCluster func (c *EKS) CreateClusterRequest(input *CreateClusterInput) (req *request.Request, output *CreateClusterOutput) { @@ -411,32 +410,33 @@ func (c *EKS) CreateClusterRequest(input *CreateClusterInput) (req *request.Requ // API operation CreateCluster for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. // -// * ResourceLimitExceededException -// You have encountered a service limit on the specified resource. +// - ResourceInUseException +// The specified resource is in use. +// +// - ResourceLimitExceededException +// You have encountered a service limit on the specified resource. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. +// - ServiceUnavailableException +// The service is unavailable. Back off and retry the operation. // -// * UnsupportedAvailabilityZoneException -// At least one of your specified cluster subnets is in an Availability Zone -// that does not support Amazon EKS. The exception output specifies the supported -// Availability Zones for your account, from which you can choose subnets for -// your cluster. +// - UnsupportedAvailabilityZoneException +// At least one of your specified cluster subnets is in an Availability Zone +// that does not support Amazon EKS. The exception output specifies the supported +// Availability Zones for your account, from which you can choose subnets for +// your cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateCluster func (c *EKS) CreateCluster(input *CreateClusterInput) (*CreateClusterOutput, error) { @@ -476,14 +476,13 @@ const opCreateFargateProfile = "CreateFargateProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFargateProfileRequest method. +// req, resp := client.CreateFargateProfileRequest(params) // -// // Example sending a request using the CreateFargateProfileRequest method. -// req, resp := client.CreateFargateProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateFargateProfile func (c *EKS) CreateFargateProfileRequest(input *CreateFargateProfileInput) (req *request.Request, output *CreateFargateProfileOutput) { @@ -545,30 +544,31 @@ func (c *EKS) CreateFargateProfileRequest(input *CreateFargateProfileInput) (req // API operation CreateFargateProfile for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ResourceLimitExceededException -// You have encountered a service limit on the specified resource. +// - ResourceLimitExceededException +// You have encountered a service limit on the specified resource. // -// * UnsupportedAvailabilityZoneException -// At least one of your specified cluster subnets is in an Availability Zone -// that does not support Amazon EKS. The exception output specifies the supported -// Availability Zones for your account, from which you can choose subnets for -// your cluster. +// - UnsupportedAvailabilityZoneException +// At least one of your specified cluster subnets is in an Availability Zone +// that does not support Amazon EKS. The exception output specifies the supported +// Availability Zones for your account, from which you can choose subnets for +// your cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateFargateProfile func (c *EKS) CreateFargateProfile(input *CreateFargateProfileInput) (*CreateFargateProfileOutput, error) { @@ -608,14 +608,13 @@ const opCreateNodegroup = "CreateNodegroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNodegroupRequest method. +// req, resp := client.CreateNodegroupRequest(params) // -// // Example sending a request using the CreateNodegroupRequest method. -// req, resp := client.CreateNodegroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateNodegroup func (c *EKS) CreateNodegroupRequest(input *CreateNodegroupInput) (req *request.Request, output *CreateNodegroupOutput) { @@ -657,30 +656,31 @@ func (c *EKS) CreateNodegroupRequest(input *CreateNodegroupInput) (req *request. // API operation CreateNodegroup for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. // -// * ResourceLimitExceededException -// You have encountered a service limit on the specified resource. +// - ResourceInUseException +// The specified resource is in use. +// +// - ResourceLimitExceededException +// You have encountered a service limit on the specified resource. // -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. +// - ServiceUnavailableException +// The service is unavailable. Back off and retry the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateNodegroup func (c *EKS) CreateNodegroup(input *CreateNodegroupInput) (*CreateNodegroupOutput, error) { @@ -720,14 +720,13 @@ const opDeleteAddon = "DeleteAddon" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAddonRequest method. +// req, resp := client.DeleteAddonRequest(params) // -// // Example sending a request using the DeleteAddonRequest method. -// req, resp := client.DeleteAddonRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteAddon func (c *EKS) DeleteAddonRequest(input *DeleteAddonInput) (req *request.Request, output *DeleteAddonOutput) { @@ -761,26 +760,27 @@ func (c *EKS) DeleteAddonRequest(input *DeleteAddonInput) (req *request.Request, // API operation DeleteAddon for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. +// +// - ServerException +// These errors are usually caused by a server-side issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteAddon func (c *EKS) DeleteAddon(input *DeleteAddonInput) (*DeleteAddonOutput, error) { @@ -820,14 +820,13 @@ const opDeleteCluster = "DeleteCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClusterRequest method. +// req, resp := client.DeleteClusterRequest(params) // -// // Example sending a request using the DeleteClusterRequest method. -// req, resp := client.DeleteClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteCluster func (c *EKS) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Request, output *DeleteClusterOutput) { @@ -869,24 +868,25 @@ func (c *EKS) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Requ // API operation DeleteCluster for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ResourceInUseException +// The specified resource is in use. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - ServiceUnavailableException +// The service is unavailable. Back off and retry the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteCluster func (c *EKS) DeleteCluster(input *DeleteClusterInput) (*DeleteClusterOutput, error) { @@ -926,14 +926,13 @@ const opDeleteFargateProfile = "DeleteFargateProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFargateProfileRequest method. +// req, resp := client.DeleteFargateProfileRequest(params) // -// // Example sending a request using the DeleteFargateProfileRequest method. -// req, resp := client.DeleteFargateProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteFargateProfile func (c *EKS) DeleteFargateProfileRequest(input *DeleteFargateProfileInput) (req *request.Request, output *DeleteFargateProfileOutput) { @@ -974,22 +973,23 @@ func (c *EKS) DeleteFargateProfileRequest(input *DeleteFargateProfileInput) (req // API operation DeleteFargateProfile for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteFargateProfile func (c *EKS) DeleteFargateProfile(input *DeleteFargateProfileInput) (*DeleteFargateProfileOutput, error) { @@ -1029,14 +1029,13 @@ const opDeleteNodegroup = "DeleteNodegroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNodegroupRequest method. +// req, resp := client.DeleteNodegroupRequest(params) // -// // Example sending a request using the DeleteNodegroupRequest method. -// req, resp := client.DeleteNodegroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteNodegroup func (c *EKS) DeleteNodegroupRequest(input *DeleteNodegroupInput) (req *request.Request, output *DeleteNodegroupOutput) { @@ -1067,28 +1066,29 @@ func (c *EKS) DeleteNodegroupRequest(input *DeleteNodegroupInput) (req *request. // API operation DeleteNodegroup for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ResourceInUseException +// The specified resource is in use. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - ServiceUnavailableException +// The service is unavailable. Back off and retry the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteNodegroup func (c *EKS) DeleteNodegroup(input *DeleteNodegroupInput) (*DeleteNodegroupOutput, error) { @@ -1128,14 +1128,13 @@ const opDeregisterCluster = "DeregisterCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterClusterRequest method. +// req, resp := client.DeregisterClusterRequest(params) // -// // Example sending a request using the DeregisterClusterRequest method. -// req, resp := client.DeregisterClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeregisterCluster func (c *EKS) DeregisterClusterRequest(input *DeregisterClusterInput) (req *request.Request, output *DeregisterClusterOutput) { @@ -1167,31 +1166,32 @@ func (c *EKS) DeregisterClusterRequest(input *DeregisterClusterInput) (req *requ // API operation DeregisterCluster for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ResourceInUseException +// The specified resource is in use. +// +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. +// - ServiceUnavailableException +// The service is unavailable. Back off and retry the operation. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeregisterCluster func (c *EKS) DeregisterCluster(input *DeregisterClusterInput) (*DeregisterClusterOutput, error) { @@ -1231,14 +1231,13 @@ const opDescribeAddon = "DescribeAddon" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAddonRequest method. +// req, resp := client.DescribeAddonRequest(params) // -// // Example sending a request using the DescribeAddonRequest method. -// req, resp := client.DescribeAddonRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeAddon func (c *EKS) DescribeAddonRequest(input *DescribeAddonInput) (req *request.Request, output *DescribeAddonOutput) { @@ -1269,26 +1268,27 @@ func (c *EKS) DescribeAddonRequest(input *DescribeAddonInput) (req *request.Requ // API operation DescribeAddon for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeAddon func (c *EKS) DescribeAddon(input *DescribeAddonInput) (*DescribeAddonOutput, error) { @@ -1328,14 +1328,13 @@ const opDescribeAddonVersions = "DescribeAddonVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAddonVersionsRequest method. +// req, resp := client.DescribeAddonVersionsRequest(params) // -// // Example sending a request using the DescribeAddonVersionsRequest method. -// req, resp := client.DescribeAddonVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeAddonVersions func (c *EKS) DescribeAddonVersionsRequest(input *DescribeAddonVersionsInput) (req *request.Request, output *DescribeAddonVersionsOutput) { @@ -1372,17 +1371,18 @@ func (c *EKS) DescribeAddonVersionsRequest(input *DescribeAddonVersionsInput) (r // API operation DescribeAddonVersions for usage and error information. // // Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeAddonVersions func (c *EKS) DescribeAddonVersions(input *DescribeAddonVersionsInput) (*DescribeAddonVersionsOutput, error) { @@ -1414,15 +1414,14 @@ func (c *EKS) DescribeAddonVersionsWithContext(ctx aws.Context, input *DescribeA // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAddonVersions operation. -// pageNum := 0 -// err := client.DescribeAddonVersionsPages(params, -// func(page *eks.DescribeAddonVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAddonVersions operation. +// pageNum := 0 +// err := client.DescribeAddonVersionsPages(params, +// func(page *eks.DescribeAddonVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EKS) DescribeAddonVersionsPages(input *DescribeAddonVersionsInput, fn func(*DescribeAddonVersionsOutput, bool) bool) error { return c.DescribeAddonVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1474,14 +1473,13 @@ const opDescribeCluster = "DescribeCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClusterRequest method. +// req, resp := client.DescribeClusterRequest(params) // -// // Example sending a request using the DescribeClusterRequest method. -// req, resp := client.DescribeClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeCluster func (c *EKS) DescribeClusterRequest(input *DescribeClusterInput) (req *request.Request, output *DescribeClusterOutput) { @@ -1520,21 +1518,22 @@ func (c *EKS) DescribeClusterRequest(input *DescribeClusterInput) (req *request. // API operation DescribeCluster for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. +// +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. +// - ServiceUnavailableException +// The service is unavailable. Back off and retry the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeCluster func (c *EKS) DescribeCluster(input *DescribeClusterInput) (*DescribeClusterOutput, error) { @@ -1574,14 +1573,13 @@ const opDescribeFargateProfile = "DescribeFargateProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFargateProfileRequest method. +// req, resp := client.DescribeFargateProfileRequest(params) // -// // Example sending a request using the DescribeFargateProfileRequest method. -// req, resp := client.DescribeFargateProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeFargateProfile func (c *EKS) DescribeFargateProfileRequest(input *DescribeFargateProfileInput) (req *request.Request, output *DescribeFargateProfileOutput) { @@ -1612,22 +1610,23 @@ func (c *EKS) DescribeFargateProfileRequest(input *DescribeFargateProfileInput) // API operation DescribeFargateProfile for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeFargateProfile func (c *EKS) DescribeFargateProfile(input *DescribeFargateProfileInput) (*DescribeFargateProfileOutput, error) { @@ -1667,14 +1666,13 @@ const opDescribeIdentityProviderConfig = "DescribeIdentityProviderConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIdentityProviderConfigRequest method. +// req, resp := client.DescribeIdentityProviderConfigRequest(params) // -// // Example sending a request using the DescribeIdentityProviderConfigRequest method. -// req, resp := client.DescribeIdentityProviderConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeIdentityProviderConfig func (c *EKS) DescribeIdentityProviderConfigRequest(input *DescribeIdentityProviderConfigInput) (req *request.Request, output *DescribeIdentityProviderConfigOutput) { @@ -1705,25 +1703,26 @@ func (c *EKS) DescribeIdentityProviderConfigRequest(input *DescribeIdentityProvi // API operation DescribeIdentityProviderConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - ServiceUnavailableException +// The service is unavailable. Back off and retry the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeIdentityProviderConfig func (c *EKS) DescribeIdentityProviderConfig(input *DescribeIdentityProviderConfigInput) (*DescribeIdentityProviderConfigOutput, error) { @@ -1763,14 +1762,13 @@ const opDescribeNodegroup = "DescribeNodegroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNodegroupRequest method. +// req, resp := client.DescribeNodegroupRequest(params) // -// // Example sending a request using the DescribeNodegroupRequest method. -// req, resp := client.DescribeNodegroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeNodegroup func (c *EKS) DescribeNodegroupRequest(input *DescribeNodegroupInput) (req *request.Request, output *DescribeNodegroupOutput) { @@ -1801,25 +1799,26 @@ func (c *EKS) DescribeNodegroupRequest(input *DescribeNodegroupInput) (req *requ // API operation DescribeNodegroup for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - ServiceUnavailableException +// The service is unavailable. Back off and retry the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeNodegroup func (c *EKS) DescribeNodegroup(input *DescribeNodegroupInput) (*DescribeNodegroupOutput, error) { @@ -1859,14 +1858,13 @@ const opDescribeUpdate = "DescribeUpdate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUpdateRequest method. +// req, resp := client.DescribeUpdateRequest(params) // -// // Example sending a request using the DescribeUpdateRequest method. -// req, resp := client.DescribeUpdateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeUpdate func (c *EKS) DescribeUpdateRequest(input *DescribeUpdateInput) (req *request.Request, output *DescribeUpdateOutput) { @@ -1902,22 +1900,23 @@ func (c *EKS) DescribeUpdateRequest(input *DescribeUpdateInput) (req *request.Re // API operation DescribeUpdate for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeUpdate func (c *EKS) DescribeUpdate(input *DescribeUpdateInput) (*DescribeUpdateOutput, error) { @@ -1957,14 +1956,13 @@ const opDisassociateIdentityProviderConfig = "DisassociateIdentityProviderConfig // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateIdentityProviderConfigRequest method. +// req, resp := client.DisassociateIdentityProviderConfigRequest(params) // -// // Example sending a request using the DisassociateIdentityProviderConfigRequest method. -// req, resp := client.DisassociateIdentityProviderConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DisassociateIdentityProviderConfig func (c *EKS) DisassociateIdentityProviderConfigRequest(input *DisassociateIdentityProviderConfigInput) (req *request.Request, output *DisassociateIdentityProviderConfigOutput) { @@ -1998,29 +1996,30 @@ func (c *EKS) DisassociateIdentityProviderConfigRequest(input *DisassociateIdent // API operation DisassociateIdentityProviderConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ResourceInUseException -// The specified resource is in use. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ResourceInUseException +// The specified resource is in use. // -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. +// +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DisassociateIdentityProviderConfig func (c *EKS) DisassociateIdentityProviderConfig(input *DisassociateIdentityProviderConfigInput) (*DisassociateIdentityProviderConfigOutput, error) { @@ -2060,14 +2059,13 @@ const opListAddons = "ListAddons" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAddonsRequest method. +// req, resp := client.ListAddonsRequest(params) // -// // Example sending a request using the ListAddonsRequest method. -// req, resp := client.ListAddonsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListAddons func (c *EKS) ListAddonsRequest(input *ListAddonsInput) (req *request.Request, output *ListAddonsOutput) { @@ -2104,26 +2102,27 @@ func (c *EKS) ListAddonsRequest(input *ListAddonsInput) (req *request.Request, o // API operation ListAddons for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListAddons func (c *EKS) ListAddons(input *ListAddonsInput) (*ListAddonsOutput, error) { @@ -2155,15 +2154,14 @@ func (c *EKS) ListAddonsWithContext(ctx aws.Context, input *ListAddonsInput, opt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAddons operation. -// pageNum := 0 -// err := client.ListAddonsPages(params, -// func(page *eks.ListAddonsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAddons operation. +// pageNum := 0 +// err := client.ListAddonsPages(params, +// func(page *eks.ListAddonsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EKS) ListAddonsPages(input *ListAddonsInput, fn func(*ListAddonsOutput, bool) bool) error { return c.ListAddonsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2215,14 +2213,13 @@ const opListClusters = "ListClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListClustersRequest method. +// req, resp := client.ListClustersRequest(params) // -// // Example sending a request using the ListClustersRequest method. -// req, resp := client.ListClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListClusters func (c *EKS) ListClustersRequest(input *ListClustersInput) (req *request.Request, output *ListClustersOutput) { @@ -2260,20 +2257,21 @@ func (c *EKS) ListClustersRequest(input *ListClustersInput) (req *request.Reques // API operation ListClusters for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - ServiceUnavailableException +// The service is unavailable. Back off and retry the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListClusters func (c *EKS) ListClusters(input *ListClustersInput) (*ListClustersOutput, error) { @@ -2305,15 +2303,14 @@ func (c *EKS) ListClustersWithContext(ctx aws.Context, input *ListClustersInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListClusters operation. -// pageNum := 0 -// err := client.ListClustersPages(params, -// func(page *eks.ListClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListClusters operation. +// pageNum := 0 +// err := client.ListClustersPages(params, +// func(page *eks.ListClustersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EKS) ListClustersPages(input *ListClustersInput, fn func(*ListClustersOutput, bool) bool) error { return c.ListClustersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2365,14 +2362,13 @@ const opListFargateProfiles = "ListFargateProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFargateProfilesRequest method. +// req, resp := client.ListFargateProfilesRequest(params) // -// // Example sending a request using the ListFargateProfilesRequest method. -// req, resp := client.ListFargateProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListFargateProfiles func (c *EKS) ListFargateProfilesRequest(input *ListFargateProfilesInput) (req *request.Request, output *ListFargateProfilesOutput) { @@ -2410,22 +2406,23 @@ func (c *EKS) ListFargateProfilesRequest(input *ListFargateProfilesInput) (req * // API operation ListFargateProfiles for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. +// +// - ServerException +// These errors are usually caused by a server-side issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListFargateProfiles func (c *EKS) ListFargateProfiles(input *ListFargateProfilesInput) (*ListFargateProfilesOutput, error) { @@ -2457,15 +2454,14 @@ func (c *EKS) ListFargateProfilesWithContext(ctx aws.Context, input *ListFargate // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFargateProfiles operation. -// pageNum := 0 -// err := client.ListFargateProfilesPages(params, -// func(page *eks.ListFargateProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFargateProfiles operation. +// pageNum := 0 +// err := client.ListFargateProfilesPages(params, +// func(page *eks.ListFargateProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EKS) ListFargateProfilesPages(input *ListFargateProfilesInput, fn func(*ListFargateProfilesOutput, bool) bool) error { return c.ListFargateProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2517,14 +2513,13 @@ const opListIdentityProviderConfigs = "ListIdentityProviderConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIdentityProviderConfigsRequest method. +// req, resp := client.ListIdentityProviderConfigsRequest(params) // -// // Example sending a request using the ListIdentityProviderConfigsRequest method. -// req, resp := client.ListIdentityProviderConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListIdentityProviderConfigs func (c *EKS) ListIdentityProviderConfigsRequest(input *ListIdentityProviderConfigsInput) (req *request.Request, output *ListIdentityProviderConfigsOutput) { @@ -2561,25 +2556,26 @@ func (c *EKS) ListIdentityProviderConfigsRequest(input *ListIdentityProviderConf // API operation ListIdentityProviderConfigs for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. +// - ServiceUnavailableException +// The service is unavailable. Back off and retry the operation. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListIdentityProviderConfigs func (c *EKS) ListIdentityProviderConfigs(input *ListIdentityProviderConfigsInput) (*ListIdentityProviderConfigsOutput, error) { @@ -2611,15 +2607,14 @@ func (c *EKS) ListIdentityProviderConfigsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListIdentityProviderConfigs operation. -// pageNum := 0 -// err := client.ListIdentityProviderConfigsPages(params, -// func(page *eks.ListIdentityProviderConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListIdentityProviderConfigs operation. +// pageNum := 0 +// err := client.ListIdentityProviderConfigsPages(params, +// func(page *eks.ListIdentityProviderConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EKS) ListIdentityProviderConfigsPages(input *ListIdentityProviderConfigsInput, fn func(*ListIdentityProviderConfigsOutput, bool) bool) error { return c.ListIdentityProviderConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2671,14 +2666,13 @@ const opListNodegroups = "ListNodegroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNodegroupsRequest method. +// req, resp := client.ListNodegroupsRequest(params) // -// // Example sending a request using the ListNodegroupsRequest method. -// req, resp := client.ListNodegroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListNodegroups func (c *EKS) ListNodegroupsRequest(input *ListNodegroupsInput) (req *request.Request, output *ListNodegroupsOutput) { @@ -2717,25 +2711,26 @@ func (c *EKS) ListNodegroupsRequest(input *ListNodegroupsInput) (req *request.Re // API operation ListNodegroups for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. +// - ServiceUnavailableException +// The service is unavailable. Back off and retry the operation. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListNodegroups func (c *EKS) ListNodegroups(input *ListNodegroupsInput) (*ListNodegroupsOutput, error) { @@ -2767,15 +2762,14 @@ func (c *EKS) ListNodegroupsWithContext(ctx aws.Context, input *ListNodegroupsIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNodegroups operation. -// pageNum := 0 -// err := client.ListNodegroupsPages(params, -// func(page *eks.ListNodegroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNodegroups operation. +// pageNum := 0 +// err := client.ListNodegroupsPages(params, +// func(page *eks.ListNodegroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EKS) ListNodegroupsPages(input *ListNodegroupsInput, fn func(*ListNodegroupsOutput, bool) bool) error { return c.ListNodegroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2827,14 +2821,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListTagsForResource func (c *EKS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2865,13 +2858,14 @@ func (c *EKS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// This exception is thrown if the request contains a semantic error. The precise -// meaning will depend on the API, and will be documented in the error message. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - BadRequestException +// This exception is thrown if the request contains a semantic error. The precise +// meaning will depend on the API, and will be documented in the error message. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListTagsForResource func (c *EKS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2911,14 +2905,13 @@ const opListUpdates = "ListUpdates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUpdatesRequest method. +// req, resp := client.ListUpdatesRequest(params) // -// // Example sending a request using the ListUpdatesRequest method. -// req, resp := client.ListUpdatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListUpdates func (c *EKS) ListUpdatesRequest(input *ListUpdatesInput) (req *request.Request, output *ListUpdatesOutput) { @@ -2956,22 +2949,23 @@ func (c *EKS) ListUpdatesRequest(input *ListUpdatesInput) (req *request.Request, // API operation ListUpdates for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ServerException +// These errors are usually caused by a server-side issue. +// +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListUpdates func (c *EKS) ListUpdates(input *ListUpdatesInput) (*ListUpdatesOutput, error) { @@ -3003,15 +2997,14 @@ func (c *EKS) ListUpdatesWithContext(ctx aws.Context, input *ListUpdatesInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUpdates operation. -// pageNum := 0 -// err := client.ListUpdatesPages(params, -// func(page *eks.ListUpdatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUpdates operation. +// pageNum := 0 +// err := client.ListUpdatesPages(params, +// func(page *eks.ListUpdatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EKS) ListUpdatesPages(input *ListUpdatesInput, fn func(*ListUpdatesOutput, bool) bool) error { return c.ListUpdatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3063,14 +3056,13 @@ const opRegisterCluster = "RegisterCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterClusterRequest method. +// req, resp := client.RegisterClusterRequest(params) // -// // Example sending a request using the RegisterClusterRequest method. -// req, resp := client.RegisterClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RegisterCluster func (c *EKS) RegisterClusterRequest(input *RegisterClusterInput) (req *request.Request, output *RegisterClusterOutput) { @@ -3116,37 +3108,38 @@ func (c *EKS) RegisterClusterRequest(input *RegisterClusterInput) (req *request. // API operation RegisterCluster for usage and error information. // // Returned Error Types: -// * ResourceLimitExceededException -// You have encountered a service limit on the specified resource. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ResourceLimitExceededException +// You have encountered a service limit on the specified resource. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. +// - ServiceUnavailableException +// The service is unavailable. Back off and retry the operation. // -// * ResourceInUseException -// The specified resource is in use. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ResourcePropagationDelayException -// Required resources (such as service-linked roles) were created and are still -// propagating. Retry later. +// - ResourceInUseException +// The specified resource is in use. +// +// - ResourcePropagationDelayException +// Required resources (such as service-linked roles) were created and are still +// propagating. Retry later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RegisterCluster func (c *EKS) RegisterCluster(input *RegisterClusterInput) (*RegisterClusterOutput, error) { @@ -3186,14 +3179,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/TagResource func (c *EKS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3231,13 +3223,14 @@ func (c *EKS) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// This exception is thrown if the request contains a semantic error. The precise -// meaning will depend on the API, and will be documented in the error message. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - BadRequestException +// This exception is thrown if the request contains a semantic error. The precise +// meaning will depend on the API, and will be documented in the error message. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/TagResource func (c *EKS) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3277,14 +3270,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UntagResource func (c *EKS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3316,13 +3308,14 @@ func (c *EKS) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// This exception is thrown if the request contains a semantic error. The precise -// meaning will depend on the API, and will be documented in the error message. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - BadRequestException +// This exception is thrown if the request contains a semantic error. The precise +// meaning will depend on the API, and will be documented in the error message. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UntagResource func (c *EKS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3362,14 +3355,13 @@ const opUpdateAddon = "UpdateAddon" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAddonRequest method. +// req, resp := client.UpdateAddonRequest(params) // -// // Example sending a request using the UpdateAddonRequest method. -// req, resp := client.UpdateAddonRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateAddon func (c *EKS) UpdateAddonRequest(input *UpdateAddonInput) (req *request.Request, output *UpdateAddonOutput) { @@ -3400,29 +3392,30 @@ func (c *EKS) UpdateAddonRequest(input *UpdateAddonInput) (req *request.Request, // API operation UpdateAddon for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - ResourceInUseException +// The specified resource is in use. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. +// +// - ServerException +// These errors are usually caused by a server-side issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateAddon func (c *EKS) UpdateAddon(input *UpdateAddonInput) (*UpdateAddonOutput, error) { @@ -3462,14 +3455,13 @@ const opUpdateClusterConfig = "UpdateClusterConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateClusterConfigRequest method. +// req, resp := client.UpdateClusterConfigRequest(params) // -// // Example sending a request using the UpdateClusterConfigRequest method. -// req, resp := client.UpdateClusterConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterConfig func (c *EKS) UpdateClusterConfigRequest(input *UpdateClusterConfigInput) (req *request.Request, output *UpdateClusterConfigOutput) { @@ -3526,29 +3518,30 @@ func (c *EKS) UpdateClusterConfigRequest(input *UpdateClusterConfigInput) (req * // API operation UpdateClusterConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterConfig func (c *EKS) UpdateClusterConfig(input *UpdateClusterConfigInput) (*UpdateClusterConfigOutput, error) { @@ -3588,14 +3581,13 @@ const opUpdateClusterVersion = "UpdateClusterVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateClusterVersionRequest method. +// req, resp := client.UpdateClusterVersionRequest(params) // -// // Example sending a request using the UpdateClusterVersionRequest method. -// req, resp := client.UpdateClusterVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterVersion func (c *EKS) UpdateClusterVersionRequest(input *UpdateClusterVersionInput) (req *request.Request, output *UpdateClusterVersionOutput) { @@ -3638,29 +3630,30 @@ func (c *EKS) UpdateClusterVersionRequest(input *UpdateClusterVersionInput) (req // API operation UpdateClusterVersion for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterVersion func (c *EKS) UpdateClusterVersion(input *UpdateClusterVersionInput) (*UpdateClusterVersionOutput, error) { @@ -3700,14 +3693,13 @@ const opUpdateNodegroupConfig = "UpdateNodegroupConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNodegroupConfigRequest method. +// req, resp := client.UpdateNodegroupConfigRequest(params) // -// // Example sending a request using the UpdateNodegroupConfigRequest method. -// req, resp := client.UpdateNodegroupConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateNodegroupConfig func (c *EKS) UpdateNodegroupConfigRequest(input *UpdateNodegroupConfigInput) (req *request.Request, output *UpdateNodegroupConfigOutput) { @@ -3742,29 +3734,30 @@ func (c *EKS) UpdateNodegroupConfigRequest(input *UpdateNodegroupConfigInput) (r // API operation UpdateNodegroupConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateNodegroupConfig func (c *EKS) UpdateNodegroupConfig(input *UpdateNodegroupConfigInput) (*UpdateNodegroupConfigOutput, error) { @@ -3804,14 +3797,13 @@ const opUpdateNodegroupVersion = "UpdateNodegroupVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNodegroupVersionRequest method. +// req, resp := client.UpdateNodegroupVersionRequest(params) // -// // Example sending a request using the UpdateNodegroupVersionRequest method. -// req, resp := client.UpdateNodegroupVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateNodegroupVersion func (c *EKS) UpdateNodegroupVersionRequest(input *UpdateNodegroupVersionInput) (req *request.Request, output *UpdateNodegroupVersionOutput) { @@ -3866,29 +3858,30 @@ func (c *EKS) UpdateNodegroupVersionRequest(input *UpdateNodegroupVersionInput) // API operation UpdateNodegroupVersion for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. // -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - ClientException +// These errors are usually caused by a client action. Actions can include using +// an action or resource on behalf of a user that doesn't have permissions to +// use the action or resource or specifying an identifier that is not valid. // -// * ServerException -// These errors are usually caused by a server-side issue. +// - ServerException +// These errors are usually caused by a server-side issue. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. +// - ResourceNotFoundException +// The specified resource could not be found. You can view your available clusters +// with ListClusters. You can view your available managed node groups with ListNodegroups. +// Amazon EKS clusters and node groups are Region-specific. // -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. +// - InvalidRequestException +// The request is invalid given the state of the cluster. Check the state of +// the cluster and the associated operations. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateNodegroupVersion func (c *EKS) UpdateNodegroupVersion(input *UpdateNodegroupVersionInput) (*UpdateNodegroupVersionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/doc.go index 259f749df6af..e8bcc7e905b0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/doc.go @@ -22,7 +22,7 @@ // See eks package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/eks/ // -// Using the Client +// # Using the Client // // To contact Amazon Elastic Kubernetes Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/eksiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/eksiface/interface.go index 54f926b75b69..5502043fad60 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/eksiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/eksiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Elastic Kubernetes Service. -// func myFunc(svc eksiface.EKSAPI) bool { -// // Make svc.AssociateEncryptionConfig request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Elastic Kubernetes Service. +// func myFunc(svc eksiface.EKSAPI) bool { +// // Make svc.AssociateEncryptionConfig request +// } // -// func main() { -// sess := session.New() -// svc := eks.New(sess) +// func main() { +// sess := session.New() +// svc := eks.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockEKSClient struct { -// eksiface.EKSAPI -// } -// func (m *mockEKSClient) AssociateEncryptionConfig(input *eks.AssociateEncryptionConfigInput) (*eks.AssociateEncryptionConfigOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockEKSClient struct { +// eksiface.EKSAPI +// } +// func (m *mockEKSClient) AssociateEncryptionConfig(input *eks.AssociateEncryptionConfigInput) (*eks.AssociateEncryptionConfigOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockEKSClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockEKSClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/service.go index e3bf2a3d9604..64a518ec1723 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eks/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a EKS client from just a session. -// svc := eks.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a EKS client with additional configuration -// svc := eks.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a EKS client from just a session. +// svc := eks.New(mySession) +// +// // Create a EKS client with additional configuration +// svc := eks.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *EKS { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/api.go index 1c664637f49d..f7050ab6d5ab 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/api.go @@ -29,14 +29,13 @@ const opAddTagsToResource = "AddTagsToResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsToResourceRequest method. +// req, resp := client.AddTagsToResourceRequest(params) // -// // Example sending a request using the AddTagsToResourceRequest method. -// req, resp := client.AddTagsToResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AddTagsToResource func (c *ElastiCache) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *TagListMessage) { @@ -81,46 +80,47 @@ func (c *ElastiCache) AddTagsToResourceRequest(input *AddTagsToResourceInput) (r // API operation AddTagsToResource for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" -// The requested cluster ID does not refer to an existing cluster. // -// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" -// The requested cache parameter group name does not refer to an existing cache -// parameter group. +// - ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" +// The requested cluster ID does not refer to an existing cluster. +// +// - ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" +// The requested cache parameter group name does not refer to an existing cache +// parameter group. // -// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" -// The requested cache security group name does not refer to an existing cache -// security group. +// - ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" +// The requested cache security group name does not refer to an existing cache +// security group. // -// * ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" -// The requested cache subnet group name does not refer to an existing cache -// subnet group. +// - ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" +// The requested cache subnet group name does not refer to an existing cache +// subnet group. // -// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" -// The requested replication group is not in the available state. +// - ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" +// The requested replication group is not in the available state. // -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. // -// * ErrCodeReservedCacheNodeNotFoundFault "ReservedCacheNodeNotFound" -// The requested reserved cache node was not found. +// - ErrCodeReservedCacheNodeNotFoundFault "ReservedCacheNodeNotFound" +// The requested reserved cache node was not found. // -// * ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault" -// The requested snapshot name does not refer to an existing snapshot. +// - ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault" +// The requested snapshot name does not refer to an existing snapshot. // -// * ErrCodeUserNotFoundFault "UserNotFound" -// The user does not exist or could not be found. +// - ErrCodeUserNotFoundFault "UserNotFound" +// The user does not exist or could not be found. // -// * ErrCodeUserGroupNotFoundFault "UserGroupNotFound" -// The user group was not found or does not exist +// - ErrCodeUserGroupNotFoundFault "UserGroupNotFound" +// The user group was not found or does not exist // -// * ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" -// The request cannot be processed because it would cause the resource to have -// more than the allowed number of tags. The maximum number of tags permitted -// on a resource is 50. +// - ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" +// The request cannot be processed because it would cause the resource to have +// more than the allowed number of tags. The maximum number of tags permitted +// on a resource is 50. // -// * ErrCodeInvalidARNFault "InvalidARN" -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ErrCodeInvalidARNFault "InvalidARN" +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AddTagsToResource func (c *ElastiCache) AddTagsToResource(input *AddTagsToResourceInput) (*TagListMessage, error) { @@ -160,14 +160,13 @@ const opAuthorizeCacheSecurityGroupIngress = "AuthorizeCacheSecurityGroupIngress // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AuthorizeCacheSecurityGroupIngressRequest method. +// req, resp := client.AuthorizeCacheSecurityGroupIngressRequest(params) // -// // Example sending a request using the AuthorizeCacheSecurityGroupIngressRequest method. -// req, resp := client.AuthorizeCacheSecurityGroupIngressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AuthorizeCacheSecurityGroupIngress func (c *ElastiCache) AuthorizeCacheSecurityGroupIngressRequest(input *AuthorizeCacheSecurityGroupIngressInput) (req *request.Request, output *AuthorizeCacheSecurityGroupIngressOutput) { @@ -203,22 +202,23 @@ func (c *ElastiCache) AuthorizeCacheSecurityGroupIngressRequest(input *Authorize // API operation AuthorizeCacheSecurityGroupIngress for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" -// The requested cache security group name does not refer to an existing cache -// security group. // -// * ErrCodeInvalidCacheSecurityGroupStateFault "InvalidCacheSecurityGroupState" -// The current state of the cache security group does not allow deletion. +// - ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" +// The requested cache security group name does not refer to an existing cache +// security group. // -// * ErrCodeAuthorizationAlreadyExistsFault "AuthorizationAlreadyExists" -// The specified Amazon EC2 security group is already authorized for the specified -// cache security group. +// - ErrCodeInvalidCacheSecurityGroupStateFault "InvalidCacheSecurityGroupState" +// The current state of the cache security group does not allow deletion. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeAuthorizationAlreadyExistsFault "AuthorizationAlreadyExists" +// The specified Amazon EC2 security group is already authorized for the specified +// cache security group. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/AuthorizeCacheSecurityGroupIngress func (c *ElastiCache) AuthorizeCacheSecurityGroupIngress(input *AuthorizeCacheSecurityGroupIngressInput) (*AuthorizeCacheSecurityGroupIngressOutput, error) { @@ -258,14 +258,13 @@ const opBatchApplyUpdateAction = "BatchApplyUpdateAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchApplyUpdateActionRequest method. +// req, resp := client.BatchApplyUpdateActionRequest(params) // -// // Example sending a request using the BatchApplyUpdateActionRequest method. -// req, resp := client.BatchApplyUpdateActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/BatchApplyUpdateAction func (c *ElastiCache) BatchApplyUpdateActionRequest(input *BatchApplyUpdateActionInput) (req *request.Request, output *BatchApplyUpdateActionOutput) { @@ -297,11 +296,12 @@ func (c *ElastiCache) BatchApplyUpdateActionRequest(input *BatchApplyUpdateActio // API operation BatchApplyUpdateAction for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceUpdateNotFoundFault "ServiceUpdateNotFoundFault" -// The service update doesn't exist // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeServiceUpdateNotFoundFault "ServiceUpdateNotFoundFault" +// The service update doesn't exist +// +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/BatchApplyUpdateAction func (c *ElastiCache) BatchApplyUpdateAction(input *BatchApplyUpdateActionInput) (*BatchApplyUpdateActionOutput, error) { @@ -341,14 +341,13 @@ const opBatchStopUpdateAction = "BatchStopUpdateAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchStopUpdateActionRequest method. +// req, resp := client.BatchStopUpdateActionRequest(params) // -// // Example sending a request using the BatchStopUpdateActionRequest method. -// req, resp := client.BatchStopUpdateActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/BatchStopUpdateAction func (c *ElastiCache) BatchStopUpdateActionRequest(input *BatchStopUpdateActionInput) (req *request.Request, output *BatchStopUpdateActionOutput) { @@ -380,11 +379,12 @@ func (c *ElastiCache) BatchStopUpdateActionRequest(input *BatchStopUpdateActionI // API operation BatchStopUpdateAction for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceUpdateNotFoundFault "ServiceUpdateNotFoundFault" -// The service update doesn't exist // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeServiceUpdateNotFoundFault "ServiceUpdateNotFoundFault" +// The service update doesn't exist +// +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/BatchStopUpdateAction func (c *ElastiCache) BatchStopUpdateAction(input *BatchStopUpdateActionInput) (*BatchStopUpdateActionOutput, error) { @@ -424,14 +424,13 @@ const opCompleteMigration = "CompleteMigration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CompleteMigrationRequest method. +// req, resp := client.CompleteMigrationRequest(params) // -// // Example sending a request using the CompleteMigrationRequest method. -// req, resp := client.CompleteMigrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CompleteMigration func (c *ElastiCache) CompleteMigrationRequest(input *CompleteMigrationInput) (req *request.Request, output *CompleteMigrationOutput) { @@ -462,14 +461,15 @@ func (c *ElastiCache) CompleteMigrationRequest(input *CompleteMigrationInput) (r // API operation CompleteMigration for usage and error information. // // Returned Error Codes: -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. // -// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" -// The requested replication group is not in the available state. +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. +// +// - ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" +// The requested replication group is not in the available state. // -// * ErrCodeReplicationGroupNotUnderMigrationFault "ReplicationGroupNotUnderMigrationFault" -// The designated replication group is not available for data migration. +// - ErrCodeReplicationGroupNotUnderMigrationFault "ReplicationGroupNotUnderMigrationFault" +// The designated replication group is not available for data migration. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CompleteMigration func (c *ElastiCache) CompleteMigration(input *CompleteMigrationInput) (*CompleteMigrationOutput, error) { @@ -509,14 +509,13 @@ const opCopySnapshot = "CopySnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopySnapshotRequest method. +// req, resp := client.CopySnapshotRequest(params) // -// // Example sending a request using the CopySnapshotRequest method. -// req, resp := client.CopySnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshot func (c *ElastiCache) CopySnapshotRequest(input *CopySnapshotInput) (req *request.Request, output *CopySnapshotOutput) { @@ -552,47 +551,47 @@ func (c *ElastiCache) CopySnapshotRequest(input *CopySnapshotInput) (req *reques // // Error Messages // -// * Error Message: The S3 bucket %s is outside of the region. Solution: -// Create an Amazon S3 bucket in the same region as your snapshot. For more -// information, see Step 1: Create an Amazon S3 Bucket (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-create-s3-bucket) -// in the ElastiCache User Guide. -// -// * Error Message: The S3 bucket %s does not exist. Solution: Create an -// Amazon S3 bucket in the same region as your snapshot. For more information, -// see Step 1: Create an Amazon S3 Bucket (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-create-s3-bucket) -// in the ElastiCache User Guide. -// -// * Error Message: The S3 bucket %s is not owned by the authenticated user. -// Solution: Create an Amazon S3 bucket in the same region as your snapshot. -// For more information, see Step 1: Create an Amazon S3 Bucket (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-create-s3-bucket) -// in the ElastiCache User Guide. -// -// * Error Message: The authenticated user does not have sufficient permissions -// to perform the desired activity. Solution: Contact your system administrator -// to get the needed permissions. -// -// * Error Message: The S3 bucket %s already contains an object with key -// %s. Solution: Give the TargetSnapshotName a new and unique value. If exporting -// a snapshot, you could alternatively create a new Amazon S3 bucket and -// use this same value for TargetSnapshotName. -// -// * Error Message: ElastiCache has not been granted READ permissions %s -// on the S3 Bucket. Solution: Add List and Read permissions on the bucket. -// For more information, see Step 2: Grant ElastiCache Access to Your Amazon -// S3 Bucket (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-grant-access) -// in the ElastiCache User Guide. -// -// * Error Message: ElastiCache has not been granted WRITE permissions %s -// on the S3 Bucket. Solution: Add Upload/Delete permissions on the bucket. -// For more information, see Step 2: Grant ElastiCache Access to Your Amazon -// S3 Bucket (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-grant-access) -// in the ElastiCache User Guide. -// -// * Error Message: ElastiCache has not been granted READ_ACP permissions -// %s on the S3 Bucket. Solution: Add View Permissions on the bucket. For -// more information, see Step 2: Grant ElastiCache Access to Your Amazon -// S3 Bucket (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-grant-access) -// in the ElastiCache User Guide. +// - Error Message: The S3 bucket %s is outside of the region. Solution: +// Create an Amazon S3 bucket in the same region as your snapshot. For more +// information, see Step 1: Create an Amazon S3 Bucket (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-create-s3-bucket) +// in the ElastiCache User Guide. +// +// - Error Message: The S3 bucket %s does not exist. Solution: Create an +// Amazon S3 bucket in the same region as your snapshot. For more information, +// see Step 1: Create an Amazon S3 Bucket (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-create-s3-bucket) +// in the ElastiCache User Guide. +// +// - Error Message: The S3 bucket %s is not owned by the authenticated user. +// Solution: Create an Amazon S3 bucket in the same region as your snapshot. +// For more information, see Step 1: Create an Amazon S3 Bucket (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-create-s3-bucket) +// in the ElastiCache User Guide. +// +// - Error Message: The authenticated user does not have sufficient permissions +// to perform the desired activity. Solution: Contact your system administrator +// to get the needed permissions. +// +// - Error Message: The S3 bucket %s already contains an object with key +// %s. Solution: Give the TargetSnapshotName a new and unique value. If exporting +// a snapshot, you could alternatively create a new Amazon S3 bucket and +// use this same value for TargetSnapshotName. +// +// - Error Message: ElastiCache has not been granted READ permissions %s +// on the S3 Bucket. Solution: Add List and Read permissions on the bucket. +// For more information, see Step 2: Grant ElastiCache Access to Your Amazon +// S3 Bucket (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-grant-access) +// in the ElastiCache User Guide. +// +// - Error Message: ElastiCache has not been granted WRITE permissions %s +// on the S3 Bucket. Solution: Add Upload/Delete permissions on the bucket. +// For more information, see Step 2: Grant ElastiCache Access to Your Amazon +// S3 Bucket (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-grant-access) +// in the ElastiCache User Guide. +// +// - Error Message: ElastiCache has not been granted READ_ACP permissions +// %s on the S3 Bucket. Solution: Add View Permissions on the bucket. For +// more information, see Step 2: Grant ElastiCache Access to Your Amazon +// S3 Bucket (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/backups-exporting.html#backups-exporting-grant-access) +// in the ElastiCache User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -602,30 +601,31 @@ func (c *ElastiCache) CopySnapshotRequest(input *CopySnapshotInput) (req *reques // API operation CopySnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeSnapshotAlreadyExistsFault "SnapshotAlreadyExistsFault" -// You already have a snapshot with the given name. // -// * ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault" -// The requested snapshot name does not refer to an existing snapshot. +// - ErrCodeSnapshotAlreadyExistsFault "SnapshotAlreadyExistsFault" +// You already have a snapshot with the given name. +// +// - ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault" +// The requested snapshot name does not refer to an existing snapshot. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceededFault" -// The request cannot be processed because it would exceed the maximum number -// of snapshots. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceededFault" +// The request cannot be processed because it would exceed the maximum number +// of snapshots. // -// * ErrCodeInvalidSnapshotStateFault "InvalidSnapshotState" -// The current state of the snapshot does not allow the requested operation -// to occur. +// - ErrCodeInvalidSnapshotStateFault "InvalidSnapshotState" +// The current state of the snapshot does not allow the requested operation +// to occur. // -// * ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" -// The request cannot be processed because it would cause the resource to have -// more than the allowed number of tags. The maximum number of tags permitted -// on a resource is 50. +// - ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" +// The request cannot be processed because it would cause the resource to have +// more than the allowed number of tags. The maximum number of tags permitted +// on a resource is 50. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CopySnapshot func (c *ElastiCache) CopySnapshot(input *CopySnapshotInput) (*CopySnapshotOutput, error) { @@ -665,14 +665,13 @@ const opCreateCacheCluster = "CreateCacheCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCacheClusterRequest method. +// req, resp := client.CreateCacheClusterRequest(params) // -// // Example sending a request using the CreateCacheClusterRequest method. -// req, resp := client.CreateCacheClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheCluster func (c *ElastiCache) CreateCacheClusterRequest(input *CreateCacheClusterInput) (req *request.Request, output *CreateCacheClusterOutput) { @@ -706,57 +705,58 @@ func (c *ElastiCache) CreateCacheClusterRequest(input *CreateCacheClusterInput) // API operation CreateCacheCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. // -// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" -// The requested replication group is not in the available state. +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. // -// * ErrCodeCacheClusterAlreadyExistsFault "CacheClusterAlreadyExists" -// You already have a cluster with the given identifier. +// - ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" +// The requested replication group is not in the available state. // -// * ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity" -// The requested cache node type is not available in the specified Availability -// Zone. For more information, see InsufficientCacheClusterCapacity (http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY) -// in the ElastiCache User Guide. +// - ErrCodeCacheClusterAlreadyExistsFault "CacheClusterAlreadyExists" +// You already have a cluster with the given identifier. // -// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" -// The requested cache security group name does not refer to an existing cache -// security group. +// - ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity" +// The requested cache node type is not available in the specified Availability +// Zone. For more information, see InsufficientCacheClusterCapacity (http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY) +// in the ElastiCache User Guide. // -// * ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" -// The requested cache subnet group name does not refer to an existing cache -// subnet group. +// - ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" +// The requested cache security group name does not refer to an existing cache +// security group. // -// * ErrCodeClusterQuotaForCustomerExceededFault "ClusterQuotaForCustomerExceeded" -// The request cannot be processed because it would exceed the allowed number -// of clusters per customer. +// - ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" +// The requested cache subnet group name does not refer to an existing cache +// subnet group. // -// * ErrCodeNodeQuotaForClusterExceededFault "NodeQuotaForClusterExceeded" -// The request cannot be processed because it would exceed the allowed number -// of cache nodes in a single cluster. +// - ErrCodeClusterQuotaForCustomerExceededFault "ClusterQuotaForCustomerExceeded" +// The request cannot be processed because it would exceed the allowed number +// of clusters per customer. // -// * ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded" -// The request cannot be processed because it would exceed the allowed number -// of cache nodes per customer. +// - ErrCodeNodeQuotaForClusterExceededFault "NodeQuotaForClusterExceeded" +// The request cannot be processed because it would exceed the allowed number +// of cache nodes in a single cluster. // -// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" -// The requested cache parameter group name does not refer to an existing cache -// parameter group. +// - ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded" +// The request cannot be processed because it would exceed the allowed number +// of cache nodes per customer. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The VPC network is in an invalid state. +// - ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" +// The requested cache parameter group name does not refer to an existing cache +// parameter group. // -// * ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" -// The request cannot be processed because it would cause the resource to have -// more than the allowed number of tags. The maximum number of tags permitted -// on a resource is 50. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The VPC network is in an invalid state. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" +// The request cannot be processed because it would cause the resource to have +// more than the allowed number of tags. The maximum number of tags permitted +// on a resource is 50. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheCluster func (c *ElastiCache) CreateCacheCluster(input *CreateCacheClusterInput) (*CreateCacheClusterOutput, error) { @@ -796,14 +796,13 @@ const opCreateCacheParameterGroup = "CreateCacheParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCacheParameterGroupRequest method. +// req, resp := client.CreateCacheParameterGroupRequest(params) // -// // Example sending a request using the CreateCacheParameterGroupRequest method. -// req, resp := client.CreateCacheParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheParameterGroup func (c *ElastiCache) CreateCacheParameterGroupRequest(input *CreateCacheParameterGroupInput) (req *request.Request, output *CreateCacheParameterGroupOutput) { @@ -833,11 +832,11 @@ func (c *ElastiCache) CreateCacheParameterGroupRequest(input *CreateCacheParamet // created CacheParameterGroup you can change the values of specific parameters. // For more information, see: // -// * ModifyCacheParameterGroup (https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_ModifyCacheParameterGroup.html) -// in the ElastiCache API Reference. +// - ModifyCacheParameterGroup (https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_ModifyCacheParameterGroup.html) +// in the ElastiCache API Reference. // -// * Parameters and Parameter Groups (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ParameterGroups.html) -// in the ElastiCache User Guide. +// - Parameters and Parameter Groups (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ParameterGroups.html) +// in the ElastiCache User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -847,27 +846,28 @@ func (c *ElastiCache) CreateCacheParameterGroupRequest(input *CreateCacheParamet // API operation CreateCacheParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheParameterGroupQuotaExceededFault "CacheParameterGroupQuotaExceeded" -// The request cannot be processed because it would exceed the maximum number -// of cache security groups. // -// * ErrCodeCacheParameterGroupAlreadyExistsFault "CacheParameterGroupAlreadyExists" -// A cache parameter group with the requested name already exists. +// - ErrCodeCacheParameterGroupQuotaExceededFault "CacheParameterGroupQuotaExceeded" +// The request cannot be processed because it would exceed the maximum number +// of cache security groups. // -// * ErrCodeInvalidCacheParameterGroupStateFault "InvalidCacheParameterGroupState" -// The current state of the cache parameter group does not allow the requested -// operation to occur. +// - ErrCodeCacheParameterGroupAlreadyExistsFault "CacheParameterGroupAlreadyExists" +// A cache parameter group with the requested name already exists. // -// * ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" -// The request cannot be processed because it would cause the resource to have -// more than the allowed number of tags. The maximum number of tags permitted -// on a resource is 50. +// - ErrCodeInvalidCacheParameterGroupStateFault "InvalidCacheParameterGroupState" +// The current state of the cache parameter group does not allow the requested +// operation to occur. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" +// The request cannot be processed because it would cause the resource to have +// more than the allowed number of tags. The maximum number of tags permitted +// on a resource is 50. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheParameterGroup func (c *ElastiCache) CreateCacheParameterGroup(input *CreateCacheParameterGroupInput) (*CreateCacheParameterGroupOutput, error) { @@ -907,14 +907,13 @@ const opCreateCacheSecurityGroup = "CreateCacheSecurityGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCacheSecurityGroupRequest method. +// req, resp := client.CreateCacheSecurityGroupRequest(params) // -// // Example sending a request using the CreateCacheSecurityGroupRequest method. -// req, resp := client.CreateCacheSecurityGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSecurityGroup func (c *ElastiCache) CreateCacheSecurityGroupRequest(input *CreateCacheSecurityGroupInput) (req *request.Request, output *CreateCacheSecurityGroupOutput) { @@ -951,23 +950,24 @@ func (c *ElastiCache) CreateCacheSecurityGroupRequest(input *CreateCacheSecurity // API operation CreateCacheSecurityGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheSecurityGroupAlreadyExistsFault "CacheSecurityGroupAlreadyExists" -// A cache security group with the specified name already exists. // -// * ErrCodeCacheSecurityGroupQuotaExceededFault "QuotaExceeded.CacheSecurityGroup" -// The request cannot be processed because it would exceed the allowed number -// of cache security groups. +// - ErrCodeCacheSecurityGroupAlreadyExistsFault "CacheSecurityGroupAlreadyExists" +// A cache security group with the specified name already exists. // -// * ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" -// The request cannot be processed because it would cause the resource to have -// more than the allowed number of tags. The maximum number of tags permitted -// on a resource is 50. +// - ErrCodeCacheSecurityGroupQuotaExceededFault "QuotaExceeded.CacheSecurityGroup" +// The request cannot be processed because it would exceed the allowed number +// of cache security groups. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" +// The request cannot be processed because it would cause the resource to have +// more than the allowed number of tags. The maximum number of tags permitted +// on a resource is 50. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSecurityGroup func (c *ElastiCache) CreateCacheSecurityGroup(input *CreateCacheSecurityGroupInput) (*CreateCacheSecurityGroupOutput, error) { @@ -1007,14 +1007,13 @@ const opCreateCacheSubnetGroup = "CreateCacheSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCacheSubnetGroupRequest method. +// req, resp := client.CreateCacheSubnetGroupRequest(params) // -// // Example sending a request using the CreateCacheSubnetGroupRequest method. -// req, resp := client.CreateCacheSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSubnetGroup func (c *ElastiCache) CreateCacheSubnetGroupRequest(input *CreateCacheSubnetGroupInput) (req *request.Request, output *CreateCacheSubnetGroupOutput) { @@ -1048,31 +1047,32 @@ func (c *ElastiCache) CreateCacheSubnetGroupRequest(input *CreateCacheSubnetGrou // API operation CreateCacheSubnetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheSubnetGroupAlreadyExistsFault "CacheSubnetGroupAlreadyExists" -// The requested cache subnet group name is already in use by an existing cache -// subnet group. // -// * ErrCodeCacheSubnetGroupQuotaExceededFault "CacheSubnetGroupQuotaExceeded" -// The request cannot be processed because it would exceed the allowed number -// of cache subnet groups. +// - ErrCodeCacheSubnetGroupAlreadyExistsFault "CacheSubnetGroupAlreadyExists" +// The requested cache subnet group name is already in use by an existing cache +// subnet group. // -// * ErrCodeCacheSubnetQuotaExceededFault "CacheSubnetQuotaExceededFault" -// The request cannot be processed because it would exceed the allowed number -// of subnets in a cache subnet group. +// - ErrCodeCacheSubnetGroupQuotaExceededFault "CacheSubnetGroupQuotaExceeded" +// The request cannot be processed because it would exceed the allowed number +// of cache subnet groups. // -// * ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" -// The request cannot be processed because it would cause the resource to have -// more than the allowed number of tags. The maximum number of tags permitted -// on a resource is 50. +// - ErrCodeCacheSubnetQuotaExceededFault "CacheSubnetQuotaExceededFault" +// The request cannot be processed because it would exceed the allowed number +// of subnets in a cache subnet group. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// An invalid subnet identifier was specified. +// - ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" +// The request cannot be processed because it would cause the resource to have +// more than the allowed number of tags. The maximum number of tags permitted +// on a resource is 50. // -// * ErrCodeSubnetNotAllowedFault "SubnetNotAllowedFault" -// At least one subnet ID does not match the other subnet IDs. This mismatch -// typically occurs when a user sets one subnet ID to a regional Availability -// Zone and a different one to an outpost. Or when a user sets the subnet ID -// to an Outpost when not subscribed on this service. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// An invalid subnet identifier was specified. +// +// - ErrCodeSubnetNotAllowedFault "SubnetNotAllowedFault" +// At least one subnet ID does not match the other subnet IDs. This mismatch +// typically occurs when a user sets one subnet ID to a regional Availability +// Zone and a different one to an outpost. Or when a user sets the subnet ID +// to an Outpost when not subscribed on this service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateCacheSubnetGroup func (c *ElastiCache) CreateCacheSubnetGroup(input *CreateCacheSubnetGroupInput) (*CreateCacheSubnetGroupOutput, error) { @@ -1112,14 +1112,13 @@ const opCreateGlobalReplicationGroup = "CreateGlobalReplicationGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGlobalReplicationGroupRequest method. +// req, resp := client.CreateGlobalReplicationGroupRequest(params) // -// // Example sending a request using the CreateGlobalReplicationGroupRequest method. -// req, resp := client.CreateGlobalReplicationGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateGlobalReplicationGroup func (c *ElastiCache) CreateGlobalReplicationGroupRequest(input *CreateGlobalReplicationGroupInput) (req *request.Request, output *CreateGlobalReplicationGroupOutput) { @@ -1146,10 +1145,10 @@ func (c *ElastiCache) CreateGlobalReplicationGroupRequest(input *CreateGlobalRep // reads and disaster recovery across regions. For more information, see Replication // Across Regions Using Global Datastore (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Redis-Global-Datastore.html). // -// * The GlobalReplicationGroupIdSuffix is the name of the Global datastore. +// - The GlobalReplicationGroupIdSuffix is the name of the Global datastore. // -// * The PrimaryReplicationGroupId represents the name of the primary cluster -// that accepts writes and will replicate updates to the secondary cluster. +// - The PrimaryReplicationGroupId represents the name of the primary cluster +// that accepts writes and will replicate updates to the secondary cluster. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1159,20 +1158,21 @@ func (c *ElastiCache) CreateGlobalReplicationGroupRequest(input *CreateGlobalRep // API operation CreateGlobalReplicationGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. // -// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" -// The requested replication group is not in the available state. +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. +// +// - ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" +// The requested replication group is not in the available state. // -// * ErrCodeGlobalReplicationGroupAlreadyExistsFault "GlobalReplicationGroupAlreadyExistsFault" -// The Global datastore name already exists. +// - ErrCodeGlobalReplicationGroupAlreadyExistsFault "GlobalReplicationGroupAlreadyExistsFault" +// The Global datastore name already exists. // -// * ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" -// The specified service linked role (SLR) was not found. +// - ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" +// The specified service linked role (SLR) was not found. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateGlobalReplicationGroup func (c *ElastiCache) CreateGlobalReplicationGroup(input *CreateGlobalReplicationGroupInput) (*CreateGlobalReplicationGroupOutput, error) { @@ -1212,14 +1212,13 @@ const opCreateReplicationGroup = "CreateReplicationGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReplicationGroupRequest method. +// req, resp := client.CreateReplicationGroupRequest(params) // -// // Example sending a request using the CreateReplicationGroupRequest method. -// req, resp := client.CreateReplicationGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroup func (c *ElastiCache) CreateReplicationGroupRequest(input *CreateReplicationGroupInput) (req *request.Request, output *CreateReplicationGroupOutput) { @@ -1285,74 +1284,75 @@ func (c *ElastiCache) CreateReplicationGroupRequest(input *CreateReplicationGrou // API operation CreateReplicationGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" -// The requested cluster ID does not refer to an existing cluster. // -// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" -// The requested cluster is not in the available state. +// - ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" +// The requested cluster ID does not refer to an existing cluster. +// +// - ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" +// The requested cluster is not in the available state. // -// * ErrCodeReplicationGroupAlreadyExistsFault "ReplicationGroupAlreadyExists" -// The specified replication group already exists. +// - ErrCodeReplicationGroupAlreadyExistsFault "ReplicationGroupAlreadyExists" +// The specified replication group already exists. // -// * ErrCodeInvalidUserGroupStateFault "InvalidUserGroupState" -// The user group is not in an active state. +// - ErrCodeInvalidUserGroupStateFault "InvalidUserGroupState" +// The user group is not in an active state. // -// * ErrCodeUserGroupNotFoundFault "UserGroupNotFound" -// The user group was not found or does not exist +// - ErrCodeUserGroupNotFoundFault "UserGroupNotFound" +// The user group was not found or does not exist // -// * ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity" -// The requested cache node type is not available in the specified Availability -// Zone. For more information, see InsufficientCacheClusterCapacity (http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY) -// in the ElastiCache User Guide. +// - ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity" +// The requested cache node type is not available in the specified Availability +// Zone. For more information, see InsufficientCacheClusterCapacity (http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY) +// in the ElastiCache User Guide. // -// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" -// The requested cache security group name does not refer to an existing cache -// security group. +// - ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" +// The requested cache security group name does not refer to an existing cache +// security group. // -// * ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" -// The requested cache subnet group name does not refer to an existing cache -// subnet group. +// - ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" +// The requested cache subnet group name does not refer to an existing cache +// subnet group. // -// * ErrCodeClusterQuotaForCustomerExceededFault "ClusterQuotaForCustomerExceeded" -// The request cannot be processed because it would exceed the allowed number -// of clusters per customer. +// - ErrCodeClusterQuotaForCustomerExceededFault "ClusterQuotaForCustomerExceeded" +// The request cannot be processed because it would exceed the allowed number +// of clusters per customer. // -// * ErrCodeNodeQuotaForClusterExceededFault "NodeQuotaForClusterExceeded" -// The request cannot be processed because it would exceed the allowed number -// of cache nodes in a single cluster. +// - ErrCodeNodeQuotaForClusterExceededFault "NodeQuotaForClusterExceeded" +// The request cannot be processed because it would exceed the allowed number +// of cache nodes in a single cluster. // -// * ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded" -// The request cannot be processed because it would exceed the allowed number -// of cache nodes per customer. +// - ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded" +// The request cannot be processed because it would exceed the allowed number +// of cache nodes per customer. // -// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" -// The requested cache parameter group name does not refer to an existing cache -// parameter group. +// - ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" +// The requested cache parameter group name does not refer to an existing cache +// parameter group. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The VPC network is in an invalid state. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The VPC network is in an invalid state. // -// * ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" -// The request cannot be processed because it would cause the resource to have -// more than the allowed number of tags. The maximum number of tags permitted -// on a resource is 50. +// - ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" +// The request cannot be processed because it would cause the resource to have +// more than the allowed number of tags. The maximum number of tags permitted +// on a resource is 50. // -// * ErrCodeNodeGroupsPerReplicationGroupQuotaExceededFault "NodeGroupsPerReplicationGroupQuotaExceeded" -// The request cannot be processed because it would exceed the maximum allowed -// number of node groups (shards) in a single replication group. The default -// maximum is 90 +// - ErrCodeNodeGroupsPerReplicationGroupQuotaExceededFault "NodeGroupsPerReplicationGroupQuotaExceeded" +// The request cannot be processed because it would exceed the maximum allowed +// number of node groups (shards) in a single replication group. The default +// maximum is 90 // -// * ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" -// The Global datastore does not exist +// - ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" +// The Global datastore does not exist // -// * ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" -// The Global datastore is not available or in primary-only state. +// - ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" +// The Global datastore is not available or in primary-only state. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateReplicationGroup func (c *ElastiCache) CreateReplicationGroup(input *CreateReplicationGroupInput) (*CreateReplicationGroupOutput, error) { @@ -1392,14 +1392,13 @@ const opCreateSnapshot = "CreateSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSnapshotRequest method. +// req, resp := client.CreateSnapshotRequest(params) // -// // Example sending a request using the CreateSnapshotRequest method. -// req, resp := client.CreateSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshot func (c *ElastiCache) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Request, output *CreateSnapshotOutput) { @@ -1433,46 +1432,47 @@ func (c *ElastiCache) CreateSnapshotRequest(input *CreateSnapshotInput) (req *re // API operation CreateSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeSnapshotAlreadyExistsFault "SnapshotAlreadyExistsFault" -// You already have a snapshot with the given name. // -// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" -// The requested cluster ID does not refer to an existing cluster. +// - ErrCodeSnapshotAlreadyExistsFault "SnapshotAlreadyExistsFault" +// You already have a snapshot with the given name. +// +// - ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" +// The requested cluster ID does not refer to an existing cluster. // -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. // -// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" -// The requested cluster is not in the available state. +// - ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" +// The requested cluster is not in the available state. // -// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" -// The requested replication group is not in the available state. +// - ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" +// The requested replication group is not in the available state. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceededFault" -// The request cannot be processed because it would exceed the maximum number -// of snapshots. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceededFault" +// The request cannot be processed because it would exceed the maximum number +// of snapshots. // -// * ErrCodeSnapshotFeatureNotSupportedFault "SnapshotFeatureNotSupportedFault" -// You attempted one of the following operations: +// - ErrCodeSnapshotFeatureNotSupportedFault "SnapshotFeatureNotSupportedFault" +// You attempted one of the following operations: // -// * Creating a snapshot of a Redis cluster running on a cache.t1.micro cache -// node. +// - Creating a snapshot of a Redis cluster running on a cache.t1.micro cache +// node. // -// * Creating a snapshot of a cluster that is running Memcached rather than -// Redis. +// - Creating a snapshot of a cluster that is running Memcached rather than +// Redis. // -// Neither of these are supported by ElastiCache. +// Neither of these are supported by ElastiCache. // -// * ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" -// The request cannot be processed because it would cause the resource to have -// more than the allowed number of tags. The maximum number of tags permitted -// on a resource is 50. +// - ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" +// The request cannot be processed because it would cause the resource to have +// more than the allowed number of tags. The maximum number of tags permitted +// on a resource is 50. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateSnapshot func (c *ElastiCache) CreateSnapshot(input *CreateSnapshotInput) (*CreateSnapshotOutput, error) { @@ -1512,14 +1512,13 @@ const opCreateUser = "CreateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserRequest method. +// req, resp := client.CreateUserRequest(params) // -// // Example sending a request using the CreateUserRequest method. -// req, resp := client.CreateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateUser func (c *ElastiCache) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) { @@ -1551,28 +1550,29 @@ func (c *ElastiCache) CreateUserRequest(input *CreateUserInput) (req *request.Re // API operation CreateUser for usage and error information. // // Returned Error Codes: -// * ErrCodeUserAlreadyExistsFault "UserAlreadyExists" -// A user with this ID already exists. // -// * ErrCodeUserQuotaExceededFault "UserQuotaExceeded" -// The quota of users has been exceeded. +// - ErrCodeUserAlreadyExistsFault "UserAlreadyExists" +// A user with this ID already exists. +// +// - ErrCodeUserQuotaExceededFault "UserQuotaExceeded" +// The quota of users has been exceeded. // -// * ErrCodeDuplicateUserNameFault "DuplicateUserName" -// A user with this username already exists. +// - ErrCodeDuplicateUserNameFault "DuplicateUserName" +// A user with this username already exists. // -// * ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" -// The specified service linked role (SLR) was not found. +// - ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" +// The specified service linked role (SLR) was not found. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // -// * ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" -// The request cannot be processed because it would cause the resource to have -// more than the allowed number of tags. The maximum number of tags permitted -// on a resource is 50. +// - ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" +// The request cannot be processed because it would cause the resource to have +// more than the allowed number of tags. The maximum number of tags permitted +// on a resource is 50. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateUser func (c *ElastiCache) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) { @@ -1612,14 +1612,13 @@ const opCreateUserGroup = "CreateUserGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserGroupRequest method. +// req, resp := client.CreateUserGroupRequest(params) // -// // Example sending a request using the CreateUserGroupRequest method. -// req, resp := client.CreateUserGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateUserGroup func (c *ElastiCache) CreateUserGroupRequest(input *CreateUserGroupInput) (req *request.Request, output *CreateUserGroupOutput) { @@ -1651,31 +1650,32 @@ func (c *ElastiCache) CreateUserGroupRequest(input *CreateUserGroupInput) (req * // API operation CreateUserGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeUserNotFoundFault "UserNotFound" -// The user does not exist or could not be found. // -// * ErrCodeDuplicateUserNameFault "DuplicateUserName" -// A user with this username already exists. +// - ErrCodeUserNotFoundFault "UserNotFound" +// The user does not exist or could not be found. +// +// - ErrCodeDuplicateUserNameFault "DuplicateUserName" +// A user with this username already exists. // -// * ErrCodeUserGroupAlreadyExistsFault "UserGroupAlreadyExists" -// The user group with this ID already exists. +// - ErrCodeUserGroupAlreadyExistsFault "UserGroupAlreadyExists" +// The user group with this ID already exists. // -// * ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" -// The specified service linked role (SLR) was not found. +// - ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" +// The specified service linked role (SLR) was not found. // -// * ErrCodeDefaultUserRequired "DefaultUserRequired" -// You must add default user to a user group. +// - ErrCodeDefaultUserRequired "DefaultUserRequired" +// You must add default user to a user group. // -// * ErrCodeUserGroupQuotaExceededFault "UserGroupQuotaExceeded" -// The number of users exceeds the user group limit. +// - ErrCodeUserGroupQuotaExceededFault "UserGroupQuotaExceeded" +// The number of users exceeds the user group limit. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" -// The request cannot be processed because it would cause the resource to have -// more than the allowed number of tags. The maximum number of tags permitted -// on a resource is 50. +// - ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" +// The request cannot be processed because it would cause the resource to have +// more than the allowed number of tags. The maximum number of tags permitted +// on a resource is 50. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/CreateUserGroup func (c *ElastiCache) CreateUserGroup(input *CreateUserGroupInput) (*CreateUserGroupOutput, error) { @@ -1715,14 +1715,13 @@ const opDecreaseNodeGroupsInGlobalReplicationGroup = "DecreaseNodeGroupsInGlobal // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DecreaseNodeGroupsInGlobalReplicationGroupRequest method. +// req, resp := client.DecreaseNodeGroupsInGlobalReplicationGroupRequest(params) // -// // Example sending a request using the DecreaseNodeGroupsInGlobalReplicationGroupRequest method. -// req, resp := client.DecreaseNodeGroupsInGlobalReplicationGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DecreaseNodeGroupsInGlobalReplicationGroup func (c *ElastiCache) DecreaseNodeGroupsInGlobalReplicationGroupRequest(input *DecreaseNodeGroupsInGlobalReplicationGroupInput) (req *request.Request, output *DecreaseNodeGroupsInGlobalReplicationGroupOutput) { @@ -1743,7 +1742,7 @@ func (c *ElastiCache) DecreaseNodeGroupsInGlobalReplicationGroupRequest(input *D // DecreaseNodeGroupsInGlobalReplicationGroup API operation for Amazon ElastiCache. // -// Decreases the number of node groups in a Global datastore +// # Decreases the number of node groups in a Global datastore // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1753,17 +1752,18 @@ func (c *ElastiCache) DecreaseNodeGroupsInGlobalReplicationGroupRequest(input *D // API operation DecreaseNodeGroupsInGlobalReplicationGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" -// The Global datastore does not exist // -// * ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" -// The Global datastore is not available or in primary-only state. +// - ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" +// The Global datastore does not exist // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" +// The Global datastore is not available or in primary-only state. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DecreaseNodeGroupsInGlobalReplicationGroup func (c *ElastiCache) DecreaseNodeGroupsInGlobalReplicationGroup(input *DecreaseNodeGroupsInGlobalReplicationGroupInput) (*DecreaseNodeGroupsInGlobalReplicationGroupOutput, error) { @@ -1803,14 +1803,13 @@ const opDecreaseReplicaCount = "DecreaseReplicaCount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DecreaseReplicaCountRequest method. +// req, resp := client.DecreaseReplicaCountRequest(params) // -// // Example sending a request using the DecreaseReplicaCountRequest method. -// req, resp := client.DecreaseReplicaCountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DecreaseReplicaCount func (c *ElastiCache) DecreaseReplicaCountRequest(input *DecreaseReplicaCountInput) (req *request.Request, output *DecreaseReplicaCountOutput) { @@ -1844,47 +1843,48 @@ func (c *ElastiCache) DecreaseReplicaCountRequest(input *DecreaseReplicaCountInp // API operation DecreaseReplicaCount for usage and error information. // // Returned Error Codes: -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. // -// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" -// The requested replication group is not in the available state. +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. // -// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" -// The requested cluster is not in the available state. +// - ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" +// The requested replication group is not in the available state. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The VPC network is in an invalid state. +// - ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" +// The requested cluster is not in the available state. // -// * ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity" -// The requested cache node type is not available in the specified Availability -// Zone. For more information, see InsufficientCacheClusterCapacity (http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY) -// in the ElastiCache User Guide. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The VPC network is in an invalid state. // -// * ErrCodeClusterQuotaForCustomerExceededFault "ClusterQuotaForCustomerExceeded" -// The request cannot be processed because it would exceed the allowed number -// of clusters per customer. +// - ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity" +// The requested cache node type is not available in the specified Availability +// Zone. For more information, see InsufficientCacheClusterCapacity (http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY) +// in the ElastiCache User Guide. // -// * ErrCodeNodeGroupsPerReplicationGroupQuotaExceededFault "NodeGroupsPerReplicationGroupQuotaExceeded" -// The request cannot be processed because it would exceed the maximum allowed -// number of node groups (shards) in a single replication group. The default -// maximum is 90 +// - ErrCodeClusterQuotaForCustomerExceededFault "ClusterQuotaForCustomerExceeded" +// The request cannot be processed because it would exceed the allowed number +// of clusters per customer. // -// * ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded" -// The request cannot be processed because it would exceed the allowed number -// of cache nodes per customer. +// - ErrCodeNodeGroupsPerReplicationGroupQuotaExceededFault "NodeGroupsPerReplicationGroupQuotaExceeded" +// The request cannot be processed because it would exceed the maximum allowed +// number of node groups (shards) in a single replication group. The default +// maximum is 90 // -// * ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" -// The specified service linked role (SLR) was not found. +// - ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded" +// The request cannot be processed because it would exceed the allowed number +// of cache nodes per customer. // -// * ErrCodeNoOperationFault "NoOperationFault" -// The operation was not performed because no changes were required. +// - ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" +// The specified service linked role (SLR) was not found. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeNoOperationFault "NoOperationFault" +// The operation was not performed because no changes were required. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DecreaseReplicaCount func (c *ElastiCache) DecreaseReplicaCount(input *DecreaseReplicaCountInput) (*DecreaseReplicaCountOutput, error) { @@ -1924,14 +1924,13 @@ const opDeleteCacheCluster = "DeleteCacheCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCacheClusterRequest method. +// req, resp := client.DeleteCacheClusterRequest(params) // -// // Example sending a request using the DeleteCacheClusterRequest method. -// req, resp := client.DeleteCacheClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheCluster func (c *ElastiCache) DeleteCacheClusterRequest(input *DeleteCacheClusterInput) (req *request.Request, output *DeleteCacheClusterOutput) { @@ -1959,19 +1958,19 @@ func (c *ElastiCache) DeleteCacheClusterRequest(input *DeleteCacheClusterInput) // // This operation is not valid for: // -// * Redis (cluster mode enabled) clusters +// - Redis (cluster mode enabled) clusters // -// * Redis (cluster mode disabled) clusters +// - Redis (cluster mode disabled) clusters // -// * A cluster that is the last read replica of a replication group +// - A cluster that is the last read replica of a replication group // -// * A cluster that is the primary node of a replication group +// - A cluster that is the primary node of a replication group // -// * A node group (shard) that has Multi-AZ mode enabled +// - A node group (shard) that has Multi-AZ mode enabled // -// * A cluster from a Redis (cluster mode enabled) replication group +// - A cluster from a Redis (cluster mode enabled) replication group // -// * A cluster that is not in the available state +// - A cluster that is not in the available state // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1981,35 +1980,36 @@ func (c *ElastiCache) DeleteCacheClusterRequest(input *DeleteCacheClusterInput) // API operation DeleteCacheCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" -// The requested cluster ID does not refer to an existing cluster. // -// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" -// The requested cluster is not in the available state. +// - ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" +// The requested cluster ID does not refer to an existing cluster. // -// * ErrCodeSnapshotAlreadyExistsFault "SnapshotAlreadyExistsFault" -// You already have a snapshot with the given name. +// - ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" +// The requested cluster is not in the available state. // -// * ErrCodeSnapshotFeatureNotSupportedFault "SnapshotFeatureNotSupportedFault" -// You attempted one of the following operations: +// - ErrCodeSnapshotAlreadyExistsFault "SnapshotAlreadyExistsFault" +// You already have a snapshot with the given name. // -// * Creating a snapshot of a Redis cluster running on a cache.t1.micro cache -// node. +// - ErrCodeSnapshotFeatureNotSupportedFault "SnapshotFeatureNotSupportedFault" +// You attempted one of the following operations: // -// * Creating a snapshot of a cluster that is running Memcached rather than -// Redis. +// - Creating a snapshot of a Redis cluster running on a cache.t1.micro cache +// node. // -// Neither of these are supported by ElastiCache. +// - Creating a snapshot of a cluster that is running Memcached rather than +// Redis. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceededFault" -// The request cannot be processed because it would exceed the maximum number -// of snapshots. +// Neither of these are supported by ElastiCache. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceededFault" +// The request cannot be processed because it would exceed the maximum number +// of snapshots. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheCluster func (c *ElastiCache) DeleteCacheCluster(input *DeleteCacheClusterInput) (*DeleteCacheClusterOutput, error) { @@ -2049,14 +2049,13 @@ const opDeleteCacheParameterGroup = "DeleteCacheParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCacheParameterGroupRequest method. +// req, resp := client.DeleteCacheParameterGroupRequest(params) // -// // Example sending a request using the DeleteCacheParameterGroupRequest method. -// req, resp := client.DeleteCacheParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheParameterGroup func (c *ElastiCache) DeleteCacheParameterGroupRequest(input *DeleteCacheParameterGroupInput) (req *request.Request, output *DeleteCacheParameterGroupOutput) { @@ -2090,19 +2089,20 @@ func (c *ElastiCache) DeleteCacheParameterGroupRequest(input *DeleteCacheParamet // API operation DeleteCacheParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidCacheParameterGroupStateFault "InvalidCacheParameterGroupState" -// The current state of the cache parameter group does not allow the requested -// operation to occur. // -// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" -// The requested cache parameter group name does not refer to an existing cache -// parameter group. +// - ErrCodeInvalidCacheParameterGroupStateFault "InvalidCacheParameterGroupState" +// The current state of the cache parameter group does not allow the requested +// operation to occur. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" +// The requested cache parameter group name does not refer to an existing cache +// parameter group. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheParameterGroup func (c *ElastiCache) DeleteCacheParameterGroup(input *DeleteCacheParameterGroupInput) (*DeleteCacheParameterGroupOutput, error) { @@ -2142,14 +2142,13 @@ const opDeleteCacheSecurityGroup = "DeleteCacheSecurityGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCacheSecurityGroupRequest method. +// req, resp := client.DeleteCacheSecurityGroupRequest(params) // -// // Example sending a request using the DeleteCacheSecurityGroupRequest method. -// req, resp := client.DeleteCacheSecurityGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSecurityGroup func (c *ElastiCache) DeleteCacheSecurityGroupRequest(input *DeleteCacheSecurityGroupInput) (req *request.Request, output *DeleteCacheSecurityGroupOutput) { @@ -2183,18 +2182,19 @@ func (c *ElastiCache) DeleteCacheSecurityGroupRequest(input *DeleteCacheSecurity // API operation DeleteCacheSecurityGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidCacheSecurityGroupStateFault "InvalidCacheSecurityGroupState" -// The current state of the cache security group does not allow deletion. // -// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" -// The requested cache security group name does not refer to an existing cache -// security group. +// - ErrCodeInvalidCacheSecurityGroupStateFault "InvalidCacheSecurityGroupState" +// The current state of the cache security group does not allow deletion. +// +// - ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" +// The requested cache security group name does not refer to an existing cache +// security group. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSecurityGroup func (c *ElastiCache) DeleteCacheSecurityGroup(input *DeleteCacheSecurityGroupInput) (*DeleteCacheSecurityGroupOutput, error) { @@ -2234,14 +2234,13 @@ const opDeleteCacheSubnetGroup = "DeleteCacheSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCacheSubnetGroupRequest method. +// req, resp := client.DeleteCacheSubnetGroupRequest(params) // -// // Example sending a request using the DeleteCacheSubnetGroupRequest method. -// req, resp := client.DeleteCacheSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSubnetGroup func (c *ElastiCache) DeleteCacheSubnetGroupRequest(input *DeleteCacheSubnetGroupInput) (req *request.Request, output *DeleteCacheSubnetGroupOutput) { @@ -2276,12 +2275,13 @@ func (c *ElastiCache) DeleteCacheSubnetGroupRequest(input *DeleteCacheSubnetGrou // API operation DeleteCacheSubnetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheSubnetGroupInUse "CacheSubnetGroupInUse" -// The requested cache subnet group is currently in use. // -// * ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" -// The requested cache subnet group name does not refer to an existing cache -// subnet group. +// - ErrCodeCacheSubnetGroupInUse "CacheSubnetGroupInUse" +// The requested cache subnet group is currently in use. +// +// - ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" +// The requested cache subnet group name does not refer to an existing cache +// subnet group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteCacheSubnetGroup func (c *ElastiCache) DeleteCacheSubnetGroup(input *DeleteCacheSubnetGroupInput) (*DeleteCacheSubnetGroupOutput, error) { @@ -2321,14 +2321,13 @@ const opDeleteGlobalReplicationGroup = "DeleteGlobalReplicationGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGlobalReplicationGroupRequest method. +// req, resp := client.DeleteGlobalReplicationGroupRequest(params) // -// // Example sending a request using the DeleteGlobalReplicationGroupRequest method. -// req, resp := client.DeleteGlobalReplicationGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteGlobalReplicationGroup func (c *ElastiCache) DeleteGlobalReplicationGroupRequest(input *DeleteGlobalReplicationGroupInput) (req *request.Request, output *DeleteGlobalReplicationGroupOutput) { @@ -2351,12 +2350,12 @@ func (c *ElastiCache) DeleteGlobalReplicationGroupRequest(input *DeleteGlobalRep // // Deleting a Global datastore is a two-step process: // -// * First, you must DisassociateGlobalReplicationGroup to remove the secondary -// clusters in the Global datastore. +// - First, you must DisassociateGlobalReplicationGroup to remove the secondary +// clusters in the Global datastore. // -// * Once the Global datastore contains only the primary cluster, you can -// use the DeleteGlobalReplicationGroup API to delete the Global datastore -// while retainining the primary cluster using RetainPrimaryReplicationGroup=true. +// - Once the Global datastore contains only the primary cluster, you can +// use the DeleteGlobalReplicationGroup API to delete the Global datastore +// while retainining the primary cluster using RetainPrimaryReplicationGroup=true. // // Since the Global Datastore has only a primary cluster, you can delete the // Global Datastore while retaining the primary by setting RetainPrimaryReplicationGroup=true. @@ -2375,14 +2374,15 @@ func (c *ElastiCache) DeleteGlobalReplicationGroupRequest(input *DeleteGlobalRep // API operation DeleteGlobalReplicationGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" -// The Global datastore does not exist // -// * ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" -// The Global datastore is not available or in primary-only state. +// - ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" +// The Global datastore does not exist +// +// - ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" +// The Global datastore is not available or in primary-only state. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteGlobalReplicationGroup func (c *ElastiCache) DeleteGlobalReplicationGroup(input *DeleteGlobalReplicationGroupInput) (*DeleteGlobalReplicationGroupOutput, error) { @@ -2422,14 +2422,13 @@ const opDeleteReplicationGroup = "DeleteReplicationGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReplicationGroupRequest method. +// req, resp := client.DeleteReplicationGroupRequest(params) // -// // Example sending a request using the DeleteReplicationGroupRequest method. -// req, resp := client.DeleteReplicationGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroup func (c *ElastiCache) DeleteReplicationGroupRequest(input *DeleteReplicationGroupInput) (req *request.Request, output *DeleteReplicationGroupOutput) { @@ -2470,35 +2469,36 @@ func (c *ElastiCache) DeleteReplicationGroupRequest(input *DeleteReplicationGrou // API operation DeleteReplicationGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. // -// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" -// The requested replication group is not in the available state. +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. +// +// - ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" +// The requested replication group is not in the available state. // -// * ErrCodeSnapshotAlreadyExistsFault "SnapshotAlreadyExistsFault" -// You already have a snapshot with the given name. +// - ErrCodeSnapshotAlreadyExistsFault "SnapshotAlreadyExistsFault" +// You already have a snapshot with the given name. // -// * ErrCodeSnapshotFeatureNotSupportedFault "SnapshotFeatureNotSupportedFault" -// You attempted one of the following operations: +// - ErrCodeSnapshotFeatureNotSupportedFault "SnapshotFeatureNotSupportedFault" +// You attempted one of the following operations: // -// * Creating a snapshot of a Redis cluster running on a cache.t1.micro cache -// node. +// - Creating a snapshot of a Redis cluster running on a cache.t1.micro cache +// node. // -// * Creating a snapshot of a cluster that is running Memcached rather than -// Redis. +// - Creating a snapshot of a cluster that is running Memcached rather than +// Redis. // -// Neither of these are supported by ElastiCache. +// Neither of these are supported by ElastiCache. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceededFault" -// The request cannot be processed because it would exceed the maximum number -// of snapshots. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceededFault" +// The request cannot be processed because it would exceed the maximum number +// of snapshots. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteReplicationGroup func (c *ElastiCache) DeleteReplicationGroup(input *DeleteReplicationGroupInput) (*DeleteReplicationGroupOutput, error) { @@ -2538,14 +2538,13 @@ const opDeleteSnapshot = "DeleteSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSnapshotRequest method. +// req, resp := client.DeleteSnapshotRequest(params) // -// // Example sending a request using the DeleteSnapshotRequest method. -// req, resp := client.DeleteSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteSnapshot func (c *ElastiCache) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *request.Request, output *DeleteSnapshotOutput) { @@ -2580,18 +2579,19 @@ func (c *ElastiCache) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *re // API operation DeleteSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault" -// The requested snapshot name does not refer to an existing snapshot. // -// * ErrCodeInvalidSnapshotStateFault "InvalidSnapshotState" -// The current state of the snapshot does not allow the requested operation -// to occur. +// - ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault" +// The requested snapshot name does not refer to an existing snapshot. +// +// - ErrCodeInvalidSnapshotStateFault "InvalidSnapshotState" +// The current state of the snapshot does not allow the requested operation +// to occur. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteSnapshot func (c *ElastiCache) DeleteSnapshot(input *DeleteSnapshotInput) (*DeleteSnapshotOutput, error) { @@ -2631,14 +2631,13 @@ const opDeleteUser = "DeleteUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserRequest method. +// req, resp := client.DeleteUserRequest(params) // -// // Example sending a request using the DeleteUserRequest method. -// req, resp := client.DeleteUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteUser func (c *ElastiCache) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { @@ -2671,20 +2670,21 @@ func (c *ElastiCache) DeleteUserRequest(input *DeleteUserInput) (req *request.Re // API operation DeleteUser for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidUserStateFault "InvalidUserState" -// The user is not in active state. // -// * ErrCodeUserNotFoundFault "UserNotFound" -// The user does not exist or could not be found. +// - ErrCodeInvalidUserStateFault "InvalidUserState" +// The user is not in active state. // -// * ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" -// The specified service linked role (SLR) was not found. +// - ErrCodeUserNotFoundFault "UserNotFound" +// The user does not exist or could not be found. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" +// The specified service linked role (SLR) was not found. // -// * ErrCodeDefaultUserAssociatedToUserGroupFault "DefaultUserAssociatedToUserGroup" -// The default user assigned to the user group. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeDefaultUserAssociatedToUserGroupFault "DefaultUserAssociatedToUserGroup" +// The default user assigned to the user group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteUser func (c *ElastiCache) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { @@ -2724,14 +2724,13 @@ const opDeleteUserGroup = "DeleteUserGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserGroupRequest method. +// req, resp := client.DeleteUserGroupRequest(params) // -// // Example sending a request using the DeleteUserGroupRequest method. -// req, resp := client.DeleteUserGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteUserGroup func (c *ElastiCache) DeleteUserGroupRequest(input *DeleteUserGroupInput) (req *request.Request, output *DeleteUserGroupOutput) { @@ -2764,17 +2763,18 @@ func (c *ElastiCache) DeleteUserGroupRequest(input *DeleteUserGroupInput) (req * // API operation DeleteUserGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeUserGroupNotFoundFault "UserGroupNotFound" -// The user group was not found or does not exist // -// * ErrCodeInvalidUserGroupStateFault "InvalidUserGroupState" -// The user group is not in an active state. +// - ErrCodeUserGroupNotFoundFault "UserGroupNotFound" +// The user group was not found or does not exist // -// * ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" -// The specified service linked role (SLR) was not found. +// - ErrCodeInvalidUserGroupStateFault "InvalidUserGroupState" +// The user group is not in an active state. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" +// The specified service linked role (SLR) was not found. +// +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DeleteUserGroup func (c *ElastiCache) DeleteUserGroup(input *DeleteUserGroupInput) (*DeleteUserGroupOutput, error) { @@ -2814,14 +2814,13 @@ const opDescribeCacheClusters = "DescribeCacheClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCacheClustersRequest method. +// req, resp := client.DescribeCacheClustersRequest(params) // -// // Example sending a request using the DescribeCacheClustersRequest method. -// req, resp := client.DescribeCacheClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheClusters func (c *ElastiCache) DescribeCacheClustersRequest(input *DescribeCacheClustersInput) (req *request.Request, output *DescribeCacheClustersOutput) { @@ -2879,14 +2878,15 @@ func (c *ElastiCache) DescribeCacheClustersRequest(input *DescribeCacheClustersI // API operation DescribeCacheClusters for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" -// The requested cluster ID does not refer to an existing cluster. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" +// The requested cluster ID does not refer to an existing cluster. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheClusters func (c *ElastiCache) DescribeCacheClusters(input *DescribeCacheClustersInput) (*DescribeCacheClustersOutput, error) { @@ -2918,15 +2918,14 @@ func (c *ElastiCache) DescribeCacheClustersWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCacheClusters operation. -// pageNum := 0 -// err := client.DescribeCacheClustersPages(params, -// func(page *elasticache.DescribeCacheClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCacheClusters operation. +// pageNum := 0 +// err := client.DescribeCacheClustersPages(params, +// func(page *elasticache.DescribeCacheClustersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeCacheClustersPages(input *DescribeCacheClustersInput, fn func(*DescribeCacheClustersOutput, bool) bool) error { return c.DescribeCacheClustersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2978,14 +2977,13 @@ const opDescribeCacheEngineVersions = "DescribeCacheEngineVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCacheEngineVersionsRequest method. +// req, resp := client.DescribeCacheEngineVersionsRequest(params) // -// // Example sending a request using the DescribeCacheEngineVersionsRequest method. -// req, resp := client.DescribeCacheEngineVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheEngineVersions func (c *ElastiCache) DescribeCacheEngineVersionsRequest(input *DescribeCacheEngineVersionsInput) (req *request.Request, output *DescribeCacheEngineVersionsOutput) { @@ -3050,15 +3048,14 @@ func (c *ElastiCache) DescribeCacheEngineVersionsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCacheEngineVersions operation. -// pageNum := 0 -// err := client.DescribeCacheEngineVersionsPages(params, -// func(page *elasticache.DescribeCacheEngineVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCacheEngineVersions operation. +// pageNum := 0 +// err := client.DescribeCacheEngineVersionsPages(params, +// func(page *elasticache.DescribeCacheEngineVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeCacheEngineVersionsPages(input *DescribeCacheEngineVersionsInput, fn func(*DescribeCacheEngineVersionsOutput, bool) bool) error { return c.DescribeCacheEngineVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3110,14 +3107,13 @@ const opDescribeCacheParameterGroups = "DescribeCacheParameterGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCacheParameterGroupsRequest method. +// req, resp := client.DescribeCacheParameterGroupsRequest(params) // -// // Example sending a request using the DescribeCacheParameterGroupsRequest method. -// req, resp := client.DescribeCacheParameterGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameterGroups func (c *ElastiCache) DescribeCacheParameterGroupsRequest(input *DescribeCacheParameterGroupsInput) (req *request.Request, output *DescribeCacheParameterGroupsOutput) { @@ -3156,15 +3152,16 @@ func (c *ElastiCache) DescribeCacheParameterGroupsRequest(input *DescribeCachePa // API operation DescribeCacheParameterGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" -// The requested cache parameter group name does not refer to an existing cache -// parameter group. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" +// The requested cache parameter group name does not refer to an existing cache +// parameter group. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameterGroups func (c *ElastiCache) DescribeCacheParameterGroups(input *DescribeCacheParameterGroupsInput) (*DescribeCacheParameterGroupsOutput, error) { @@ -3196,15 +3193,14 @@ func (c *ElastiCache) DescribeCacheParameterGroupsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCacheParameterGroups operation. -// pageNum := 0 -// err := client.DescribeCacheParameterGroupsPages(params, -// func(page *elasticache.DescribeCacheParameterGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCacheParameterGroups operation. +// pageNum := 0 +// err := client.DescribeCacheParameterGroupsPages(params, +// func(page *elasticache.DescribeCacheParameterGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeCacheParameterGroupsPages(input *DescribeCacheParameterGroupsInput, fn func(*DescribeCacheParameterGroupsOutput, bool) bool) error { return c.DescribeCacheParameterGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3256,14 +3252,13 @@ const opDescribeCacheParameters = "DescribeCacheParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCacheParametersRequest method. +// req, resp := client.DescribeCacheParametersRequest(params) // -// // Example sending a request using the DescribeCacheParametersRequest method. -// req, resp := client.DescribeCacheParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameters func (c *ElastiCache) DescribeCacheParametersRequest(input *DescribeCacheParametersInput) (req *request.Request, output *DescribeCacheParametersOutput) { @@ -3300,15 +3295,16 @@ func (c *ElastiCache) DescribeCacheParametersRequest(input *DescribeCacheParamet // API operation DescribeCacheParameters for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" -// The requested cache parameter group name does not refer to an existing cache -// parameter group. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" +// The requested cache parameter group name does not refer to an existing cache +// parameter group. +// +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheParameters func (c *ElastiCache) DescribeCacheParameters(input *DescribeCacheParametersInput) (*DescribeCacheParametersOutput, error) { @@ -3340,15 +3336,14 @@ func (c *ElastiCache) DescribeCacheParametersWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCacheParameters operation. -// pageNum := 0 -// err := client.DescribeCacheParametersPages(params, -// func(page *elasticache.DescribeCacheParametersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCacheParameters operation. +// pageNum := 0 +// err := client.DescribeCacheParametersPages(params, +// func(page *elasticache.DescribeCacheParametersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeCacheParametersPages(input *DescribeCacheParametersInput, fn func(*DescribeCacheParametersOutput, bool) bool) error { return c.DescribeCacheParametersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3400,14 +3395,13 @@ const opDescribeCacheSecurityGroups = "DescribeCacheSecurityGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCacheSecurityGroupsRequest method. +// req, resp := client.DescribeCacheSecurityGroupsRequest(params) // -// // Example sending a request using the DescribeCacheSecurityGroupsRequest method. -// req, resp := client.DescribeCacheSecurityGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSecurityGroups func (c *ElastiCache) DescribeCacheSecurityGroupsRequest(input *DescribeCacheSecurityGroupsInput) (req *request.Request, output *DescribeCacheSecurityGroupsOutput) { @@ -3446,15 +3440,16 @@ func (c *ElastiCache) DescribeCacheSecurityGroupsRequest(input *DescribeCacheSec // API operation DescribeCacheSecurityGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" -// The requested cache security group name does not refer to an existing cache -// security group. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" +// The requested cache security group name does not refer to an existing cache +// security group. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSecurityGroups func (c *ElastiCache) DescribeCacheSecurityGroups(input *DescribeCacheSecurityGroupsInput) (*DescribeCacheSecurityGroupsOutput, error) { @@ -3486,15 +3481,14 @@ func (c *ElastiCache) DescribeCacheSecurityGroupsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCacheSecurityGroups operation. -// pageNum := 0 -// err := client.DescribeCacheSecurityGroupsPages(params, -// func(page *elasticache.DescribeCacheSecurityGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCacheSecurityGroups operation. +// pageNum := 0 +// err := client.DescribeCacheSecurityGroupsPages(params, +// func(page *elasticache.DescribeCacheSecurityGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeCacheSecurityGroupsPages(input *DescribeCacheSecurityGroupsInput, fn func(*DescribeCacheSecurityGroupsOutput, bool) bool) error { return c.DescribeCacheSecurityGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3546,14 +3540,13 @@ const opDescribeCacheSubnetGroups = "DescribeCacheSubnetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCacheSubnetGroupsRequest method. +// req, resp := client.DescribeCacheSubnetGroupsRequest(params) // -// // Example sending a request using the DescribeCacheSubnetGroupsRequest method. -// req, resp := client.DescribeCacheSubnetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSubnetGroups func (c *ElastiCache) DescribeCacheSubnetGroupsRequest(input *DescribeCacheSubnetGroupsInput) (req *request.Request, output *DescribeCacheSubnetGroupsOutput) { @@ -3593,9 +3586,9 @@ func (c *ElastiCache) DescribeCacheSubnetGroupsRequest(input *DescribeCacheSubne // API operation DescribeCacheSubnetGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" -// The requested cache subnet group name does not refer to an existing cache -// subnet group. +// - ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" +// The requested cache subnet group name does not refer to an existing cache +// subnet group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeCacheSubnetGroups func (c *ElastiCache) DescribeCacheSubnetGroups(input *DescribeCacheSubnetGroupsInput) (*DescribeCacheSubnetGroupsOutput, error) { @@ -3627,15 +3620,14 @@ func (c *ElastiCache) DescribeCacheSubnetGroupsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCacheSubnetGroups operation. -// pageNum := 0 -// err := client.DescribeCacheSubnetGroupsPages(params, -// func(page *elasticache.DescribeCacheSubnetGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCacheSubnetGroups operation. +// pageNum := 0 +// err := client.DescribeCacheSubnetGroupsPages(params, +// func(page *elasticache.DescribeCacheSubnetGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeCacheSubnetGroupsPages(input *DescribeCacheSubnetGroupsInput, fn func(*DescribeCacheSubnetGroupsOutput, bool) bool) error { return c.DescribeCacheSubnetGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3687,14 +3679,13 @@ const opDescribeEngineDefaultParameters = "DescribeEngineDefaultParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEngineDefaultParametersRequest method. +// req, resp := client.DescribeEngineDefaultParametersRequest(params) // -// // Example sending a request using the DescribeEngineDefaultParametersRequest method. -// req, resp := client.DescribeEngineDefaultParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEngineDefaultParameters func (c *ElastiCache) DescribeEngineDefaultParametersRequest(input *DescribeEngineDefaultParametersInput) (req *request.Request, output *DescribeEngineDefaultParametersOutput) { @@ -3732,11 +3723,12 @@ func (c *ElastiCache) DescribeEngineDefaultParametersRequest(input *DescribeEngi // API operation DescribeEngineDefaultParameters for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEngineDefaultParameters func (c *ElastiCache) DescribeEngineDefaultParameters(input *DescribeEngineDefaultParametersInput) (*DescribeEngineDefaultParametersOutput, error) { @@ -3768,15 +3760,14 @@ func (c *ElastiCache) DescribeEngineDefaultParametersWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEngineDefaultParameters operation. -// pageNum := 0 -// err := client.DescribeEngineDefaultParametersPages(params, -// func(page *elasticache.DescribeEngineDefaultParametersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEngineDefaultParameters operation. +// pageNum := 0 +// err := client.DescribeEngineDefaultParametersPages(params, +// func(page *elasticache.DescribeEngineDefaultParametersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeEngineDefaultParametersPages(input *DescribeEngineDefaultParametersInput, fn func(*DescribeEngineDefaultParametersOutput, bool) bool) error { return c.DescribeEngineDefaultParametersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3828,14 +3819,13 @@ const opDescribeEvents = "DescribeEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventsRequest method. +// req, resp := client.DescribeEventsRequest(params) // -// // Example sending a request using the DescribeEventsRequest method. -// req, resp := client.DescribeEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEvents func (c *ElastiCache) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { @@ -3877,11 +3867,12 @@ func (c *ElastiCache) DescribeEventsRequest(input *DescribeEventsInput) (req *re // API operation DescribeEvents for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeEvents func (c *ElastiCache) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error) { @@ -3913,15 +3904,14 @@ func (c *ElastiCache) DescribeEventsWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEvents operation. -// pageNum := 0 -// err := client.DescribeEventsPages(params, -// func(page *elasticache.DescribeEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEvents operation. +// pageNum := 0 +// err := client.DescribeEventsPages(params, +// func(page *elasticache.DescribeEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeEventsPages(input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool) error { return c.DescribeEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3973,14 +3963,13 @@ const opDescribeGlobalReplicationGroups = "DescribeGlobalReplicationGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGlobalReplicationGroupsRequest method. +// req, resp := client.DescribeGlobalReplicationGroupsRequest(params) // -// // Example sending a request using the DescribeGlobalReplicationGroupsRequest method. -// req, resp := client.DescribeGlobalReplicationGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeGlobalReplicationGroups func (c *ElastiCache) DescribeGlobalReplicationGroupsRequest(input *DescribeGlobalReplicationGroupsInput) (req *request.Request, output *DescribeGlobalReplicationGroupsOutput) { @@ -4018,14 +4007,15 @@ func (c *ElastiCache) DescribeGlobalReplicationGroupsRequest(input *DescribeGlob // API operation DescribeGlobalReplicationGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" -// The Global datastore does not exist // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" +// The Global datastore does not exist +// +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeGlobalReplicationGroups func (c *ElastiCache) DescribeGlobalReplicationGroups(input *DescribeGlobalReplicationGroupsInput) (*DescribeGlobalReplicationGroupsOutput, error) { @@ -4057,15 +4047,14 @@ func (c *ElastiCache) DescribeGlobalReplicationGroupsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeGlobalReplicationGroups operation. -// pageNum := 0 -// err := client.DescribeGlobalReplicationGroupsPages(params, -// func(page *elasticache.DescribeGlobalReplicationGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeGlobalReplicationGroups operation. +// pageNum := 0 +// err := client.DescribeGlobalReplicationGroupsPages(params, +// func(page *elasticache.DescribeGlobalReplicationGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeGlobalReplicationGroupsPages(input *DescribeGlobalReplicationGroupsInput, fn func(*DescribeGlobalReplicationGroupsOutput, bool) bool) error { return c.DescribeGlobalReplicationGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4117,14 +4106,13 @@ const opDescribeReplicationGroups = "DescribeReplicationGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReplicationGroupsRequest method. +// req, resp := client.DescribeReplicationGroupsRequest(params) // -// // Example sending a request using the DescribeReplicationGroupsRequest method. -// req, resp := client.DescribeReplicationGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReplicationGroups func (c *ElastiCache) DescribeReplicationGroupsRequest(input *DescribeReplicationGroupsInput) (req *request.Request, output *DescribeReplicationGroupsOutput) { @@ -4165,14 +4153,15 @@ func (c *ElastiCache) DescribeReplicationGroupsRequest(input *DescribeReplicatio // API operation DescribeReplicationGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReplicationGroups func (c *ElastiCache) DescribeReplicationGroups(input *DescribeReplicationGroupsInput) (*DescribeReplicationGroupsOutput, error) { @@ -4204,15 +4193,14 @@ func (c *ElastiCache) DescribeReplicationGroupsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReplicationGroups operation. -// pageNum := 0 -// err := client.DescribeReplicationGroupsPages(params, -// func(page *elasticache.DescribeReplicationGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReplicationGroups operation. +// pageNum := 0 +// err := client.DescribeReplicationGroupsPages(params, +// func(page *elasticache.DescribeReplicationGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeReplicationGroupsPages(input *DescribeReplicationGroupsInput, fn func(*DescribeReplicationGroupsOutput, bool) bool) error { return c.DescribeReplicationGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4264,14 +4252,13 @@ const opDescribeReservedCacheNodes = "DescribeReservedCacheNodes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservedCacheNodesRequest method. +// req, resp := client.DescribeReservedCacheNodesRequest(params) // -// // Example sending a request using the DescribeReservedCacheNodesRequest method. -// req, resp := client.DescribeReservedCacheNodesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodes func (c *ElastiCache) DescribeReservedCacheNodesRequest(input *DescribeReservedCacheNodesInput) (req *request.Request, output *DescribeReservedCacheNodesOutput) { @@ -4309,14 +4296,15 @@ func (c *ElastiCache) DescribeReservedCacheNodesRequest(input *DescribeReservedC // API operation DescribeReservedCacheNodes for usage and error information. // // Returned Error Codes: -// * ErrCodeReservedCacheNodeNotFoundFault "ReservedCacheNodeNotFound" -// The requested reserved cache node was not found. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeReservedCacheNodeNotFoundFault "ReservedCacheNodeNotFound" +// The requested reserved cache node was not found. +// +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodes func (c *ElastiCache) DescribeReservedCacheNodes(input *DescribeReservedCacheNodesInput) (*DescribeReservedCacheNodesOutput, error) { @@ -4348,15 +4336,14 @@ func (c *ElastiCache) DescribeReservedCacheNodesWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReservedCacheNodes operation. -// pageNum := 0 -// err := client.DescribeReservedCacheNodesPages(params, -// func(page *elasticache.DescribeReservedCacheNodesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReservedCacheNodes operation. +// pageNum := 0 +// err := client.DescribeReservedCacheNodesPages(params, +// func(page *elasticache.DescribeReservedCacheNodesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeReservedCacheNodesPages(input *DescribeReservedCacheNodesInput, fn func(*DescribeReservedCacheNodesOutput, bool) bool) error { return c.DescribeReservedCacheNodesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4408,14 +4395,13 @@ const opDescribeReservedCacheNodesOfferings = "DescribeReservedCacheNodesOfferin // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservedCacheNodesOfferingsRequest method. +// req, resp := client.DescribeReservedCacheNodesOfferingsRequest(params) // -// // Example sending a request using the DescribeReservedCacheNodesOfferingsRequest method. -// req, resp := client.DescribeReservedCacheNodesOfferingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodesOfferings func (c *ElastiCache) DescribeReservedCacheNodesOfferingsRequest(input *DescribeReservedCacheNodesOfferingsInput) (req *request.Request, output *DescribeReservedCacheNodesOfferingsOutput) { @@ -4452,14 +4438,15 @@ func (c *ElastiCache) DescribeReservedCacheNodesOfferingsRequest(input *Describe // API operation DescribeReservedCacheNodesOfferings for usage and error information. // // Returned Error Codes: -// * ErrCodeReservedCacheNodesOfferingNotFoundFault "ReservedCacheNodesOfferingNotFound" -// The requested cache node offering does not exist. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeReservedCacheNodesOfferingNotFoundFault "ReservedCacheNodesOfferingNotFound" +// The requested cache node offering does not exist. +// +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeReservedCacheNodesOfferings func (c *ElastiCache) DescribeReservedCacheNodesOfferings(input *DescribeReservedCacheNodesOfferingsInput) (*DescribeReservedCacheNodesOfferingsOutput, error) { @@ -4491,15 +4478,14 @@ func (c *ElastiCache) DescribeReservedCacheNodesOfferingsWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReservedCacheNodesOfferings operation. -// pageNum := 0 -// err := client.DescribeReservedCacheNodesOfferingsPages(params, -// func(page *elasticache.DescribeReservedCacheNodesOfferingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReservedCacheNodesOfferings operation. +// pageNum := 0 +// err := client.DescribeReservedCacheNodesOfferingsPages(params, +// func(page *elasticache.DescribeReservedCacheNodesOfferingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeReservedCacheNodesOfferingsPages(input *DescribeReservedCacheNodesOfferingsInput, fn func(*DescribeReservedCacheNodesOfferingsOutput, bool) bool) error { return c.DescribeReservedCacheNodesOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4551,14 +4537,13 @@ const opDescribeServiceUpdates = "DescribeServiceUpdates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeServiceUpdatesRequest method. +// req, resp := client.DescribeServiceUpdatesRequest(params) // -// // Example sending a request using the DescribeServiceUpdatesRequest method. -// req, resp := client.DescribeServiceUpdatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeServiceUpdates func (c *ElastiCache) DescribeServiceUpdatesRequest(input *DescribeServiceUpdatesInput) (req *request.Request, output *DescribeServiceUpdatesOutput) { @@ -4585,7 +4570,7 @@ func (c *ElastiCache) DescribeServiceUpdatesRequest(input *DescribeServiceUpdate // DescribeServiceUpdates API operation for Amazon ElastiCache. // -// Returns details of the service updates +// # Returns details of the service updates // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4595,14 +4580,15 @@ func (c *ElastiCache) DescribeServiceUpdatesRequest(input *DescribeServiceUpdate // API operation DescribeServiceUpdates for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceUpdateNotFoundFault "ServiceUpdateNotFoundFault" -// The service update doesn't exist // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeServiceUpdateNotFoundFault "ServiceUpdateNotFoundFault" +// The service update doesn't exist // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeServiceUpdates func (c *ElastiCache) DescribeServiceUpdates(input *DescribeServiceUpdatesInput) (*DescribeServiceUpdatesOutput, error) { @@ -4634,15 +4620,14 @@ func (c *ElastiCache) DescribeServiceUpdatesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeServiceUpdates operation. -// pageNum := 0 -// err := client.DescribeServiceUpdatesPages(params, -// func(page *elasticache.DescribeServiceUpdatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeServiceUpdates operation. +// pageNum := 0 +// err := client.DescribeServiceUpdatesPages(params, +// func(page *elasticache.DescribeServiceUpdatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeServiceUpdatesPages(input *DescribeServiceUpdatesInput, fn func(*DescribeServiceUpdatesOutput, bool) bool) error { return c.DescribeServiceUpdatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4694,14 +4679,13 @@ const opDescribeSnapshots = "DescribeSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSnapshotsRequest method. +// req, resp := client.DescribeSnapshotsRequest(params) // -// // Example sending a request using the DescribeSnapshotsRequest method. -// req, resp := client.DescribeSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeSnapshots func (c *ElastiCache) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req *request.Request, output *DescribeSnapshotsOutput) { @@ -4743,17 +4727,18 @@ func (c *ElastiCache) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (r // API operation DescribeSnapshots for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" -// The requested cluster ID does not refer to an existing cluster. // -// * ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault" -// The requested snapshot name does not refer to an existing snapshot. +// - ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" +// The requested cluster ID does not refer to an existing cluster. +// +// - ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault" +// The requested snapshot name does not refer to an existing snapshot. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeSnapshots func (c *ElastiCache) DescribeSnapshots(input *DescribeSnapshotsInput) (*DescribeSnapshotsOutput, error) { @@ -4785,15 +4770,14 @@ func (c *ElastiCache) DescribeSnapshotsWithContext(ctx aws.Context, input *Descr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSnapshots operation. -// pageNum := 0 -// err := client.DescribeSnapshotsPages(params, -// func(page *elasticache.DescribeSnapshotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSnapshots operation. +// pageNum := 0 +// err := client.DescribeSnapshotsPages(params, +// func(page *elasticache.DescribeSnapshotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeSnapshotsPages(input *DescribeSnapshotsInput, fn func(*DescribeSnapshotsOutput, bool) bool) error { return c.DescribeSnapshotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4845,14 +4829,13 @@ const opDescribeUpdateActions = "DescribeUpdateActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUpdateActionsRequest method. +// req, resp := client.DescribeUpdateActionsRequest(params) // -// // Example sending a request using the DescribeUpdateActionsRequest method. -// req, resp := client.DescribeUpdateActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeUpdateActions func (c *ElastiCache) DescribeUpdateActionsRequest(input *DescribeUpdateActionsInput) (req *request.Request, output *DescribeUpdateActionsOutput) { @@ -4879,7 +4862,7 @@ func (c *ElastiCache) DescribeUpdateActionsRequest(input *DescribeUpdateActionsI // DescribeUpdateActions API operation for Amazon ElastiCache. // -// Returns details of the update actions +// # Returns details of the update actions // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4889,11 +4872,12 @@ func (c *ElastiCache) DescribeUpdateActionsRequest(input *DescribeUpdateActionsI // API operation DescribeUpdateActions for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeUpdateActions func (c *ElastiCache) DescribeUpdateActions(input *DescribeUpdateActionsInput) (*DescribeUpdateActionsOutput, error) { @@ -4925,15 +4909,14 @@ func (c *ElastiCache) DescribeUpdateActionsWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeUpdateActions operation. -// pageNum := 0 -// err := client.DescribeUpdateActionsPages(params, -// func(page *elasticache.DescribeUpdateActionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeUpdateActions operation. +// pageNum := 0 +// err := client.DescribeUpdateActionsPages(params, +// func(page *elasticache.DescribeUpdateActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeUpdateActionsPages(input *DescribeUpdateActionsInput, fn func(*DescribeUpdateActionsOutput, bool) bool) error { return c.DescribeUpdateActionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4985,14 +4968,13 @@ const opDescribeUserGroups = "DescribeUserGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserGroupsRequest method. +// req, resp := client.DescribeUserGroupsRequest(params) // -// // Example sending a request using the DescribeUserGroupsRequest method. -// req, resp := client.DescribeUserGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeUserGroups func (c *ElastiCache) DescribeUserGroupsRequest(input *DescribeUserGroupsInput) (req *request.Request, output *DescribeUserGroupsOutput) { @@ -5029,14 +5011,15 @@ func (c *ElastiCache) DescribeUserGroupsRequest(input *DescribeUserGroupsInput) // API operation DescribeUserGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeUserGroupNotFoundFault "UserGroupNotFound" -// The user group was not found or does not exist // -// * ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" -// The specified service linked role (SLR) was not found. +// - ErrCodeUserGroupNotFoundFault "UserGroupNotFound" +// The user group was not found or does not exist // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" +// The specified service linked role (SLR) was not found. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeUserGroups func (c *ElastiCache) DescribeUserGroups(input *DescribeUserGroupsInput) (*DescribeUserGroupsOutput, error) { @@ -5068,15 +5051,14 @@ func (c *ElastiCache) DescribeUserGroupsWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeUserGroups operation. -// pageNum := 0 -// err := client.DescribeUserGroupsPages(params, -// func(page *elasticache.DescribeUserGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeUserGroups operation. +// pageNum := 0 +// err := client.DescribeUserGroupsPages(params, +// func(page *elasticache.DescribeUserGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeUserGroupsPages(input *DescribeUserGroupsInput, fn func(*DescribeUserGroupsOutput, bool) bool) error { return c.DescribeUserGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5128,14 +5110,13 @@ const opDescribeUsers = "DescribeUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUsersRequest method. +// req, resp := client.DescribeUsersRequest(params) // -// // Example sending a request using the DescribeUsersRequest method. -// req, resp := client.DescribeUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeUsers func (c *ElastiCache) DescribeUsersRequest(input *DescribeUsersInput) (req *request.Request, output *DescribeUsersOutput) { @@ -5172,14 +5153,15 @@ func (c *ElastiCache) DescribeUsersRequest(input *DescribeUsersInput) (req *requ // API operation DescribeUsers for usage and error information. // // Returned Error Codes: -// * ErrCodeUserNotFoundFault "UserNotFound" -// The user does not exist or could not be found. // -// * ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" -// The specified service linked role (SLR) was not found. +// - ErrCodeUserNotFoundFault "UserNotFound" +// The user does not exist or could not be found. +// +// - ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" +// The specified service linked role (SLR) was not found. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DescribeUsers func (c *ElastiCache) DescribeUsers(input *DescribeUsersInput) (*DescribeUsersOutput, error) { @@ -5211,15 +5193,14 @@ func (c *ElastiCache) DescribeUsersWithContext(ctx aws.Context, input *DescribeU // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeUsers operation. -// pageNum := 0 -// err := client.DescribeUsersPages(params, -// func(page *elasticache.DescribeUsersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeUsers operation. +// pageNum := 0 +// err := client.DescribeUsersPages(params, +// func(page *elasticache.DescribeUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElastiCache) DescribeUsersPages(input *DescribeUsersInput, fn func(*DescribeUsersOutput, bool) bool) error { return c.DescribeUsersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5271,14 +5252,13 @@ const opDisassociateGlobalReplicationGroup = "DisassociateGlobalReplicationGroup // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateGlobalReplicationGroupRequest method. +// req, resp := client.DisassociateGlobalReplicationGroupRequest(params) // -// // Example sending a request using the DisassociateGlobalReplicationGroupRequest method. -// req, resp := client.DisassociateGlobalReplicationGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DisassociateGlobalReplicationGroup func (c *ElastiCache) DisassociateGlobalReplicationGroupRequest(input *DisassociateGlobalReplicationGroupInput) (req *request.Request, output *DisassociateGlobalReplicationGroupOutput) { @@ -5311,17 +5291,18 @@ func (c *ElastiCache) DisassociateGlobalReplicationGroupRequest(input *Disassoci // API operation DisassociateGlobalReplicationGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" -// The Global datastore does not exist // -// * ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" -// The Global datastore is not available or in primary-only state. +// - ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" +// The Global datastore does not exist +// +// - ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" +// The Global datastore is not available or in primary-only state. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/DisassociateGlobalReplicationGroup func (c *ElastiCache) DisassociateGlobalReplicationGroup(input *DisassociateGlobalReplicationGroupInput) (*DisassociateGlobalReplicationGroupOutput, error) { @@ -5361,14 +5342,13 @@ const opFailoverGlobalReplicationGroup = "FailoverGlobalReplicationGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the FailoverGlobalReplicationGroupRequest method. +// req, resp := client.FailoverGlobalReplicationGroupRequest(params) // -// // Example sending a request using the FailoverGlobalReplicationGroupRequest method. -// req, resp := client.FailoverGlobalReplicationGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/FailoverGlobalReplicationGroup func (c *ElastiCache) FailoverGlobalReplicationGroupRequest(input *FailoverGlobalReplicationGroupInput) (req *request.Request, output *FailoverGlobalReplicationGroupOutput) { @@ -5401,17 +5381,18 @@ func (c *ElastiCache) FailoverGlobalReplicationGroupRequest(input *FailoverGloba // API operation FailoverGlobalReplicationGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" -// The Global datastore does not exist // -// * ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" -// The Global datastore is not available or in primary-only state. +// - ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" +// The Global datastore does not exist +// +// - ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" +// The Global datastore is not available or in primary-only state. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/FailoverGlobalReplicationGroup func (c *ElastiCache) FailoverGlobalReplicationGroup(input *FailoverGlobalReplicationGroupInput) (*FailoverGlobalReplicationGroupOutput, error) { @@ -5451,14 +5432,13 @@ const opIncreaseNodeGroupsInGlobalReplicationGroup = "IncreaseNodeGroupsInGlobal // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the IncreaseNodeGroupsInGlobalReplicationGroupRequest method. +// req, resp := client.IncreaseNodeGroupsInGlobalReplicationGroupRequest(params) // -// // Example sending a request using the IncreaseNodeGroupsInGlobalReplicationGroupRequest method. -// req, resp := client.IncreaseNodeGroupsInGlobalReplicationGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/IncreaseNodeGroupsInGlobalReplicationGroup func (c *ElastiCache) IncreaseNodeGroupsInGlobalReplicationGroupRequest(input *IncreaseNodeGroupsInGlobalReplicationGroupInput) (req *request.Request, output *IncreaseNodeGroupsInGlobalReplicationGroupOutput) { @@ -5479,7 +5459,7 @@ func (c *ElastiCache) IncreaseNodeGroupsInGlobalReplicationGroupRequest(input *I // IncreaseNodeGroupsInGlobalReplicationGroup API operation for Amazon ElastiCache. // -// Increase the number of node groups in the Global datastore +// # Increase the number of node groups in the Global datastore // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5489,14 +5469,15 @@ func (c *ElastiCache) IncreaseNodeGroupsInGlobalReplicationGroupRequest(input *I // API operation IncreaseNodeGroupsInGlobalReplicationGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" -// The Global datastore does not exist // -// * ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" -// The Global datastore is not available or in primary-only state. +// - ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" +// The Global datastore does not exist +// +// - ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" +// The Global datastore is not available or in primary-only state. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/IncreaseNodeGroupsInGlobalReplicationGroup func (c *ElastiCache) IncreaseNodeGroupsInGlobalReplicationGroup(input *IncreaseNodeGroupsInGlobalReplicationGroupInput) (*IncreaseNodeGroupsInGlobalReplicationGroupOutput, error) { @@ -5536,14 +5517,13 @@ const opIncreaseReplicaCount = "IncreaseReplicaCount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the IncreaseReplicaCountRequest method. +// req, resp := client.IncreaseReplicaCountRequest(params) // -// // Example sending a request using the IncreaseReplicaCountRequest method. -// req, resp := client.IncreaseReplicaCountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/IncreaseReplicaCount func (c *ElastiCache) IncreaseReplicaCountRequest(input *IncreaseReplicaCountInput) (req *request.Request, output *IncreaseReplicaCountOutput) { @@ -5577,47 +5557,48 @@ func (c *ElastiCache) IncreaseReplicaCountRequest(input *IncreaseReplicaCountInp // API operation IncreaseReplicaCount for usage and error information. // // Returned Error Codes: -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. // -// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" -// The requested replication group is not in the available state. +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. +// +// - ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" +// The requested replication group is not in the available state. // -// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" -// The requested cluster is not in the available state. +// - ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" +// The requested cluster is not in the available state. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The VPC network is in an invalid state. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The VPC network is in an invalid state. // -// * ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity" -// The requested cache node type is not available in the specified Availability -// Zone. For more information, see InsufficientCacheClusterCapacity (http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY) -// in the ElastiCache User Guide. +// - ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity" +// The requested cache node type is not available in the specified Availability +// Zone. For more information, see InsufficientCacheClusterCapacity (http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY) +// in the ElastiCache User Guide. // -// * ErrCodeClusterQuotaForCustomerExceededFault "ClusterQuotaForCustomerExceeded" -// The request cannot be processed because it would exceed the allowed number -// of clusters per customer. +// - ErrCodeClusterQuotaForCustomerExceededFault "ClusterQuotaForCustomerExceeded" +// The request cannot be processed because it would exceed the allowed number +// of clusters per customer. // -// * ErrCodeNodeGroupsPerReplicationGroupQuotaExceededFault "NodeGroupsPerReplicationGroupQuotaExceeded" -// The request cannot be processed because it would exceed the maximum allowed -// number of node groups (shards) in a single replication group. The default -// maximum is 90 +// - ErrCodeNodeGroupsPerReplicationGroupQuotaExceededFault "NodeGroupsPerReplicationGroupQuotaExceeded" +// The request cannot be processed because it would exceed the maximum allowed +// number of node groups (shards) in a single replication group. The default +// maximum is 90 // -// * ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded" -// The request cannot be processed because it would exceed the allowed number -// of cache nodes per customer. +// - ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded" +// The request cannot be processed because it would exceed the allowed number +// of cache nodes per customer. // -// * ErrCodeNoOperationFault "NoOperationFault" -// The operation was not performed because no changes were required. +// - ErrCodeNoOperationFault "NoOperationFault" +// The operation was not performed because no changes were required. // -// * ErrCodeInvalidKMSKeyFault "InvalidKMSKeyFault" -// The KMS key supplied is not valid. +// - ErrCodeInvalidKMSKeyFault "InvalidKMSKeyFault" +// The KMS key supplied is not valid. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/IncreaseReplicaCount func (c *ElastiCache) IncreaseReplicaCount(input *IncreaseReplicaCountInput) (*IncreaseReplicaCountOutput, error) { @@ -5657,14 +5638,13 @@ const opListAllowedNodeTypeModifications = "ListAllowedNodeTypeModifications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAllowedNodeTypeModificationsRequest method. +// req, resp := client.ListAllowedNodeTypeModificationsRequest(params) // -// // Example sending a request using the ListAllowedNodeTypeModificationsRequest method. -// req, resp := client.ListAllowedNodeTypeModificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListAllowedNodeTypeModifications func (c *ElastiCache) ListAllowedNodeTypeModificationsRequest(input *ListAllowedNodeTypeModificationsInput) (req *request.Request, output *ListAllowedNodeTypeModificationsOutput) { @@ -5700,17 +5680,18 @@ func (c *ElastiCache) ListAllowedNodeTypeModificationsRequest(input *ListAllowed // API operation ListAllowedNodeTypeModifications for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" -// The requested cluster ID does not refer to an existing cluster. // -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. +// - ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" +// The requested cluster ID does not refer to an existing cluster. +// +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListAllowedNodeTypeModifications func (c *ElastiCache) ListAllowedNodeTypeModifications(input *ListAllowedNodeTypeModificationsInput) (*ListAllowedNodeTypeModificationsOutput, error) { @@ -5750,14 +5731,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListTagsForResource func (c *ElastiCache) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *TagListMessage) { @@ -5797,41 +5777,42 @@ func (c *ElastiCache) ListTagsForResourceRequest(input *ListTagsForResourceInput // API operation ListTagsForResource for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" -// The requested cluster ID does not refer to an existing cluster. // -// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" -// The requested cache parameter group name does not refer to an existing cache -// parameter group. +// - ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" +// The requested cluster ID does not refer to an existing cluster. // -// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" -// The requested cache security group name does not refer to an existing cache -// security group. +// - ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" +// The requested cache parameter group name does not refer to an existing cache +// parameter group. // -// * ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" -// The requested cache subnet group name does not refer to an existing cache -// subnet group. +// - ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" +// The requested cache security group name does not refer to an existing cache +// security group. // -// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" -// The requested replication group is not in the available state. +// - ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" +// The requested cache subnet group name does not refer to an existing cache +// subnet group. // -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. +// - ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" +// The requested replication group is not in the available state. // -// * ErrCodeReservedCacheNodeNotFoundFault "ReservedCacheNodeNotFound" -// The requested reserved cache node was not found. +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. // -// * ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault" -// The requested snapshot name does not refer to an existing snapshot. +// - ErrCodeReservedCacheNodeNotFoundFault "ReservedCacheNodeNotFound" +// The requested reserved cache node was not found. // -// * ErrCodeUserNotFoundFault "UserNotFound" -// The user does not exist or could not be found. +// - ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault" +// The requested snapshot name does not refer to an existing snapshot. // -// * ErrCodeUserGroupNotFoundFault "UserGroupNotFound" -// The user group was not found or does not exist +// - ErrCodeUserNotFoundFault "UserNotFound" +// The user does not exist or could not be found. // -// * ErrCodeInvalidARNFault "InvalidARN" -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ErrCodeUserGroupNotFoundFault "UserGroupNotFound" +// The user group was not found or does not exist +// +// - ErrCodeInvalidARNFault "InvalidARN" +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ListTagsForResource func (c *ElastiCache) ListTagsForResource(input *ListTagsForResourceInput) (*TagListMessage, error) { @@ -5871,14 +5852,13 @@ const opModifyCacheCluster = "ModifyCacheCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyCacheClusterRequest method. +// req, resp := client.ModifyCacheClusterRequest(params) // -// // Example sending a request using the ModifyCacheClusterRequest method. -// req, resp := client.ModifyCacheClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheCluster func (c *ElastiCache) ModifyCacheClusterRequest(input *ModifyCacheClusterInput) (req *request.Request, output *ModifyCacheClusterOutput) { @@ -5911,44 +5891,45 @@ func (c *ElastiCache) ModifyCacheClusterRequest(input *ModifyCacheClusterInput) // API operation ModifyCacheCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" -// The requested cluster is not in the available state. // -// * ErrCodeInvalidCacheSecurityGroupStateFault "InvalidCacheSecurityGroupState" -// The current state of the cache security group does not allow deletion. +// - ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" +// The requested cluster is not in the available state. // -// * ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity" -// The requested cache node type is not available in the specified Availability -// Zone. For more information, see InsufficientCacheClusterCapacity (http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY) -// in the ElastiCache User Guide. +// - ErrCodeInvalidCacheSecurityGroupStateFault "InvalidCacheSecurityGroupState" +// The current state of the cache security group does not allow deletion. // -// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" -// The requested cluster ID does not refer to an existing cluster. +// - ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity" +// The requested cache node type is not available in the specified Availability +// Zone. For more information, see InsufficientCacheClusterCapacity (http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY) +// in the ElastiCache User Guide. // -// * ErrCodeNodeQuotaForClusterExceededFault "NodeQuotaForClusterExceeded" -// The request cannot be processed because it would exceed the allowed number -// of cache nodes in a single cluster. +// - ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" +// The requested cluster ID does not refer to an existing cluster. // -// * ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded" -// The request cannot be processed because it would exceed the allowed number -// of cache nodes per customer. +// - ErrCodeNodeQuotaForClusterExceededFault "NodeQuotaForClusterExceeded" +// The request cannot be processed because it would exceed the allowed number +// of cache nodes in a single cluster. // -// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" -// The requested cache security group name does not refer to an existing cache -// security group. +// - ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded" +// The request cannot be processed because it would exceed the allowed number +// of cache nodes per customer. // -// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" -// The requested cache parameter group name does not refer to an existing cache -// parameter group. +// - ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" +// The requested cache security group name does not refer to an existing cache +// security group. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The VPC network is in an invalid state. +// - ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" +// The requested cache parameter group name does not refer to an existing cache +// parameter group. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The VPC network is in an invalid state. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheCluster func (c *ElastiCache) ModifyCacheCluster(input *ModifyCacheClusterInput) (*ModifyCacheClusterOutput, error) { @@ -5988,14 +5969,13 @@ const opModifyCacheParameterGroup = "ModifyCacheParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyCacheParameterGroupRequest method. +// req, resp := client.ModifyCacheParameterGroupRequest(params) // -// // Example sending a request using the ModifyCacheParameterGroupRequest method. -// req, resp := client.ModifyCacheParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheParameterGroup func (c *ElastiCache) ModifyCacheParameterGroupRequest(input *ModifyCacheParameterGroupInput) (req *request.Request, output *CacheParameterGroupNameMessage) { @@ -6028,22 +6008,23 @@ func (c *ElastiCache) ModifyCacheParameterGroupRequest(input *ModifyCacheParamet // API operation ModifyCacheParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" -// The requested cache parameter group name does not refer to an existing cache -// parameter group. // -// * ErrCodeInvalidCacheParameterGroupStateFault "InvalidCacheParameterGroupState" -// The current state of the cache parameter group does not allow the requested -// operation to occur. +// - ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" +// The requested cache parameter group name does not refer to an existing cache +// parameter group. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidCacheParameterGroupStateFault "InvalidCacheParameterGroupState" +// The current state of the cache parameter group does not allow the requested +// operation to occur. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" -// The Global datastore is not available or in primary-only state. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. +// +// - ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" +// The Global datastore is not available or in primary-only state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheParameterGroup func (c *ElastiCache) ModifyCacheParameterGroup(input *ModifyCacheParameterGroupInput) (*CacheParameterGroupNameMessage, error) { @@ -6083,14 +6064,13 @@ const opModifyCacheSubnetGroup = "ModifyCacheSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyCacheSubnetGroupRequest method. +// req, resp := client.ModifyCacheSubnetGroupRequest(params) // -// // Example sending a request using the ModifyCacheSubnetGroupRequest method. -// req, resp := client.ModifyCacheSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheSubnetGroup func (c *ElastiCache) ModifyCacheSubnetGroupRequest(input *ModifyCacheSubnetGroupInput) (req *request.Request, output *ModifyCacheSubnetGroupOutput) { @@ -6121,25 +6101,26 @@ func (c *ElastiCache) ModifyCacheSubnetGroupRequest(input *ModifyCacheSubnetGrou // API operation ModifyCacheSubnetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" -// The requested cache subnet group name does not refer to an existing cache -// subnet group. // -// * ErrCodeCacheSubnetQuotaExceededFault "CacheSubnetQuotaExceededFault" -// The request cannot be processed because it would exceed the allowed number -// of subnets in a cache subnet group. +// - ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" +// The requested cache subnet group name does not refer to an existing cache +// subnet group. // -// * ErrCodeSubnetInUse "SubnetInUse" -// The requested subnet is being used by another cache subnet group. +// - ErrCodeCacheSubnetQuotaExceededFault "CacheSubnetQuotaExceededFault" +// The request cannot be processed because it would exceed the allowed number +// of subnets in a cache subnet group. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// An invalid subnet identifier was specified. +// - ErrCodeSubnetInUse "SubnetInUse" +// The requested subnet is being used by another cache subnet group. // -// * ErrCodeSubnetNotAllowedFault "SubnetNotAllowedFault" -// At least one subnet ID does not match the other subnet IDs. This mismatch -// typically occurs when a user sets one subnet ID to a regional Availability -// Zone and a different one to an outpost. Or when a user sets the subnet ID -// to an Outpost when not subscribed on this service. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// An invalid subnet identifier was specified. +// +// - ErrCodeSubnetNotAllowedFault "SubnetNotAllowedFault" +// At least one subnet ID does not match the other subnet IDs. This mismatch +// typically occurs when a user sets one subnet ID to a regional Availability +// Zone and a different one to an outpost. Or when a user sets the subnet ID +// to an Outpost when not subscribed on this service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyCacheSubnetGroup func (c *ElastiCache) ModifyCacheSubnetGroup(input *ModifyCacheSubnetGroupInput) (*ModifyCacheSubnetGroupOutput, error) { @@ -6179,14 +6160,13 @@ const opModifyGlobalReplicationGroup = "ModifyGlobalReplicationGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyGlobalReplicationGroupRequest method. +// req, resp := client.ModifyGlobalReplicationGroupRequest(params) // -// // Example sending a request using the ModifyGlobalReplicationGroupRequest method. -// req, resp := client.ModifyGlobalReplicationGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyGlobalReplicationGroup func (c *ElastiCache) ModifyGlobalReplicationGroupRequest(input *ModifyGlobalReplicationGroupInput) (req *request.Request, output *ModifyGlobalReplicationGroupOutput) { @@ -6217,14 +6197,15 @@ func (c *ElastiCache) ModifyGlobalReplicationGroupRequest(input *ModifyGlobalRep // API operation ModifyGlobalReplicationGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" -// The Global datastore does not exist // -// * ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" -// The Global datastore is not available or in primary-only state. +// - ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" +// The Global datastore does not exist +// +// - ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" +// The Global datastore is not available or in primary-only state. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyGlobalReplicationGroup func (c *ElastiCache) ModifyGlobalReplicationGroup(input *ModifyGlobalReplicationGroupInput) (*ModifyGlobalReplicationGroupOutput, error) { @@ -6264,14 +6245,13 @@ const opModifyReplicationGroup = "ModifyReplicationGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyReplicationGroupRequest method. +// req, resp := client.ModifyReplicationGroupRequest(params) // -// // Example sending a request using the ModifyReplicationGroupRequest method. -// req, resp := client.ModifyReplicationGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroup func (c *ElastiCache) ModifyReplicationGroupRequest(input *ModifyReplicationGroupInput) (req *request.Request, output *ModifyReplicationGroupOutput) { @@ -6294,11 +6274,11 @@ func (c *ElastiCache) ModifyReplicationGroupRequest(input *ModifyReplicationGrou // // Modifies the settings for a replication group. // -// * Scaling for Amazon ElastiCache for Redis (cluster mode enabled) (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/scaling-redis-cluster-mode-enabled.html) -// in the ElastiCache User Guide +// - Scaling for Amazon ElastiCache for Redis (cluster mode enabled) (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/scaling-redis-cluster-mode-enabled.html) +// in the ElastiCache User Guide // -// * ModifyReplicationGroupShardConfiguration (https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_ModifyReplicationGroupShardConfiguration.html) -// in the ElastiCache API Reference +// - ModifyReplicationGroupShardConfiguration (https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_ModifyReplicationGroupShardConfiguration.html) +// in the ElastiCache API Reference // // This operation is valid for Redis only. // @@ -6310,59 +6290,60 @@ func (c *ElastiCache) ModifyReplicationGroupRequest(input *ModifyReplicationGrou // API operation ModifyReplicationGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. // -// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" -// The requested replication group is not in the available state. +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. +// +// - ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" +// The requested replication group is not in the available state. // -// * ErrCodeInvalidUserGroupStateFault "InvalidUserGroupState" -// The user group is not in an active state. +// - ErrCodeInvalidUserGroupStateFault "InvalidUserGroupState" +// The user group is not in an active state. // -// * ErrCodeUserGroupNotFoundFault "UserGroupNotFound" -// The user group was not found or does not exist +// - ErrCodeUserGroupNotFoundFault "UserGroupNotFound" +// The user group was not found or does not exist // -// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" -// The requested cluster is not in the available state. +// - ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" +// The requested cluster is not in the available state. // -// * ErrCodeInvalidCacheSecurityGroupStateFault "InvalidCacheSecurityGroupState" -// The current state of the cache security group does not allow deletion. +// - ErrCodeInvalidCacheSecurityGroupStateFault "InvalidCacheSecurityGroupState" +// The current state of the cache security group does not allow deletion. // -// * ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity" -// The requested cache node type is not available in the specified Availability -// Zone. For more information, see InsufficientCacheClusterCapacity (http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY) -// in the ElastiCache User Guide. +// - ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity" +// The requested cache node type is not available in the specified Availability +// Zone. For more information, see InsufficientCacheClusterCapacity (http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY) +// in the ElastiCache User Guide. // -// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" -// The requested cluster ID does not refer to an existing cluster. +// - ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" +// The requested cluster ID does not refer to an existing cluster. // -// * ErrCodeNodeQuotaForClusterExceededFault "NodeQuotaForClusterExceeded" -// The request cannot be processed because it would exceed the allowed number -// of cache nodes in a single cluster. +// - ErrCodeNodeQuotaForClusterExceededFault "NodeQuotaForClusterExceeded" +// The request cannot be processed because it would exceed the allowed number +// of cache nodes in a single cluster. // -// * ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded" -// The request cannot be processed because it would exceed the allowed number -// of cache nodes per customer. +// - ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded" +// The request cannot be processed because it would exceed the allowed number +// of cache nodes per customer. // -// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" -// The requested cache security group name does not refer to an existing cache -// security group. +// - ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" +// The requested cache security group name does not refer to an existing cache +// security group. // -// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" -// The requested cache parameter group name does not refer to an existing cache -// parameter group. +// - ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" +// The requested cache parameter group name does not refer to an existing cache +// parameter group. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The VPC network is in an invalid state. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The VPC network is in an invalid state. // -// * ErrCodeInvalidKMSKeyFault "InvalidKMSKeyFault" -// The KMS key supplied is not valid. +// - ErrCodeInvalidKMSKeyFault "InvalidKMSKeyFault" +// The KMS key supplied is not valid. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroup func (c *ElastiCache) ModifyReplicationGroup(input *ModifyReplicationGroupInput) (*ModifyReplicationGroupOutput, error) { @@ -6402,14 +6383,13 @@ const opModifyReplicationGroupShardConfiguration = "ModifyReplicationGroupShardC // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyReplicationGroupShardConfigurationRequest method. +// req, resp := client.ModifyReplicationGroupShardConfigurationRequest(params) // -// // Example sending a request using the ModifyReplicationGroupShardConfigurationRequest method. -// req, resp := client.ModifyReplicationGroupShardConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfiguration func (c *ElastiCache) ModifyReplicationGroupShardConfigurationRequest(input *ModifyReplicationGroupShardConfigurationInput) (req *request.Request, output *ModifyReplicationGroupShardConfigurationOutput) { @@ -6441,40 +6421,41 @@ func (c *ElastiCache) ModifyReplicationGroupShardConfigurationRequest(input *Mod // API operation ModifyReplicationGroupShardConfiguration for usage and error information. // // Returned Error Codes: -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. // -// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" -// The requested replication group is not in the available state. +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. +// +// - ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" +// The requested replication group is not in the available state. // -// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" -// The requested cluster is not in the available state. +// - ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" +// The requested cluster is not in the available state. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The VPC network is in an invalid state. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The VPC network is in an invalid state. // -// * ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity" -// The requested cache node type is not available in the specified Availability -// Zone. For more information, see InsufficientCacheClusterCapacity (http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY) -// in the ElastiCache User Guide. +// - ErrCodeInsufficientCacheClusterCapacityFault "InsufficientCacheClusterCapacity" +// The requested cache node type is not available in the specified Availability +// Zone. For more information, see InsufficientCacheClusterCapacity (http://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ErrorMessages.html#ErrorMessages.INSUFFICIENT_CACHE_CLUSTER_CAPACITY) +// in the ElastiCache User Guide. // -// * ErrCodeNodeGroupsPerReplicationGroupQuotaExceededFault "NodeGroupsPerReplicationGroupQuotaExceeded" -// The request cannot be processed because it would exceed the maximum allowed -// number of node groups (shards) in a single replication group. The default -// maximum is 90 +// - ErrCodeNodeGroupsPerReplicationGroupQuotaExceededFault "NodeGroupsPerReplicationGroupQuotaExceeded" +// The request cannot be processed because it would exceed the maximum allowed +// number of node groups (shards) in a single replication group. The default +// maximum is 90 // -// * ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded" -// The request cannot be processed because it would exceed the allowed number -// of cache nodes per customer. +// - ErrCodeNodeQuotaForCustomerExceededFault "NodeQuotaForCustomerExceeded" +// The request cannot be processed because it would exceed the allowed number +// of cache nodes per customer. // -// * ErrCodeInvalidKMSKeyFault "InvalidKMSKeyFault" -// The KMS key supplied is not valid. +// - ErrCodeInvalidKMSKeyFault "InvalidKMSKeyFault" +// The KMS key supplied is not valid. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyReplicationGroupShardConfiguration func (c *ElastiCache) ModifyReplicationGroupShardConfiguration(input *ModifyReplicationGroupShardConfigurationInput) (*ModifyReplicationGroupShardConfigurationOutput, error) { @@ -6514,14 +6495,13 @@ const opModifyUser = "ModifyUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyUserRequest method. +// req, resp := client.ModifyUserRequest(params) // -// // Example sending a request using the ModifyUserRequest method. -// req, resp := client.ModifyUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyUser func (c *ElastiCache) ModifyUserRequest(input *ModifyUserInput) (req *request.Request, output *ModifyUserOutput) { @@ -6552,20 +6532,21 @@ func (c *ElastiCache) ModifyUserRequest(input *ModifyUserInput) (req *request.Re // API operation ModifyUser for usage and error information. // // Returned Error Codes: -// * ErrCodeUserNotFoundFault "UserNotFound" -// The user does not exist or could not be found. // -// * ErrCodeInvalidUserStateFault "InvalidUserState" -// The user is not in active state. +// - ErrCodeUserNotFoundFault "UserNotFound" +// The user does not exist or could not be found. +// +// - ErrCodeInvalidUserStateFault "InvalidUserState" +// The user is not in active state. // -// * ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" -// The specified service linked role (SLR) was not found. +// - ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" +// The specified service linked role (SLR) was not found. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyUser func (c *ElastiCache) ModifyUser(input *ModifyUserInput) (*ModifyUserOutput, error) { @@ -6605,14 +6586,13 @@ const opModifyUserGroup = "ModifyUserGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyUserGroupRequest method. +// req, resp := client.ModifyUserGroupRequest(params) // -// // Example sending a request using the ModifyUserGroupRequest method. -// req, resp := client.ModifyUserGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyUserGroup func (c *ElastiCache) ModifyUserGroupRequest(input *ModifyUserGroupInput) (req *request.Request, output *ModifyUserGroupOutput) { @@ -6643,29 +6623,30 @@ func (c *ElastiCache) ModifyUserGroupRequest(input *ModifyUserGroupInput) (req * // API operation ModifyUserGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeUserGroupNotFoundFault "UserGroupNotFound" -// The user group was not found or does not exist // -// * ErrCodeUserNotFoundFault "UserNotFound" -// The user does not exist or could not be found. +// - ErrCodeUserGroupNotFoundFault "UserGroupNotFound" +// The user group was not found or does not exist +// +// - ErrCodeUserNotFoundFault "UserNotFound" +// The user does not exist or could not be found. // -// * ErrCodeDuplicateUserNameFault "DuplicateUserName" -// A user with this username already exists. +// - ErrCodeDuplicateUserNameFault "DuplicateUserName" +// A user with this username already exists. // -// * ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" -// The specified service linked role (SLR) was not found. +// - ErrCodeServiceLinkedRoleNotFoundFault "ServiceLinkedRoleNotFoundFault" +// The specified service linked role (SLR) was not found. // -// * ErrCodeDefaultUserRequired "DefaultUserRequired" -// You must add default user to a user group. +// - ErrCodeDefaultUserRequired "DefaultUserRequired" +// You must add default user to a user group. // -// * ErrCodeInvalidUserGroupStateFault "InvalidUserGroupState" -// The user group is not in an active state. +// - ErrCodeInvalidUserGroupStateFault "InvalidUserGroupState" +// The user group is not in an active state. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ModifyUserGroup func (c *ElastiCache) ModifyUserGroup(input *ModifyUserGroupInput) (*ModifyUserGroupOutput, error) { @@ -6705,14 +6686,13 @@ const opPurchaseReservedCacheNodesOffering = "PurchaseReservedCacheNodesOffering // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PurchaseReservedCacheNodesOfferingRequest method. +// req, resp := client.PurchaseReservedCacheNodesOfferingRequest(params) // -// // Example sending a request using the PurchaseReservedCacheNodesOfferingRequest method. -// req, resp := client.PurchaseReservedCacheNodesOfferingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PurchaseReservedCacheNodesOffering func (c *ElastiCache) PurchaseReservedCacheNodesOfferingRequest(input *PurchaseReservedCacheNodesOfferingInput) (req *request.Request, output *PurchaseReservedCacheNodesOfferingOutput) { @@ -6747,26 +6727,27 @@ func (c *ElastiCache) PurchaseReservedCacheNodesOfferingRequest(input *PurchaseR // API operation PurchaseReservedCacheNodesOffering for usage and error information. // // Returned Error Codes: -// * ErrCodeReservedCacheNodesOfferingNotFoundFault "ReservedCacheNodesOfferingNotFound" -// The requested cache node offering does not exist. // -// * ErrCodeReservedCacheNodeAlreadyExistsFault "ReservedCacheNodeAlreadyExists" -// You already have a reservation with the given identifier. +// - ErrCodeReservedCacheNodesOfferingNotFoundFault "ReservedCacheNodesOfferingNotFound" +// The requested cache node offering does not exist. // -// * ErrCodeReservedCacheNodeQuotaExceededFault "ReservedCacheNodeQuotaExceeded" -// The request cannot be processed because it would exceed the user's cache -// node quota. +// - ErrCodeReservedCacheNodeAlreadyExistsFault "ReservedCacheNodeAlreadyExists" +// You already have a reservation with the given identifier. // -// * ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" -// The request cannot be processed because it would cause the resource to have -// more than the allowed number of tags. The maximum number of tags permitted -// on a resource is 50. +// - ErrCodeReservedCacheNodeQuotaExceededFault "ReservedCacheNodeQuotaExceeded" +// The request cannot be processed because it would exceed the user's cache +// node quota. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeTagQuotaPerResourceExceeded "TagQuotaPerResourceExceeded" +// The request cannot be processed because it would cause the resource to have +// more than the allowed number of tags. The maximum number of tags permitted +// on a resource is 50. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. +// +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/PurchaseReservedCacheNodesOffering func (c *ElastiCache) PurchaseReservedCacheNodesOffering(input *PurchaseReservedCacheNodesOfferingInput) (*PurchaseReservedCacheNodesOfferingOutput, error) { @@ -6806,14 +6787,13 @@ const opRebalanceSlotsInGlobalReplicationGroup = "RebalanceSlotsInGlobalReplicat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebalanceSlotsInGlobalReplicationGroupRequest method. +// req, resp := client.RebalanceSlotsInGlobalReplicationGroupRequest(params) // -// // Example sending a request using the RebalanceSlotsInGlobalReplicationGroupRequest method. -// req, resp := client.RebalanceSlotsInGlobalReplicationGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebalanceSlotsInGlobalReplicationGroup func (c *ElastiCache) RebalanceSlotsInGlobalReplicationGroupRequest(input *RebalanceSlotsInGlobalReplicationGroupInput) (req *request.Request, output *RebalanceSlotsInGlobalReplicationGroupOutput) { @@ -6845,14 +6825,15 @@ func (c *ElastiCache) RebalanceSlotsInGlobalReplicationGroupRequest(input *Rebal // API operation RebalanceSlotsInGlobalReplicationGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" -// The Global datastore does not exist // -// * ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" -// The Global datastore is not available or in primary-only state. +// - ErrCodeGlobalReplicationGroupNotFoundFault "GlobalReplicationGroupNotFoundFault" +// The Global datastore does not exist // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" +// The Global datastore is not available or in primary-only state. +// +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebalanceSlotsInGlobalReplicationGroup func (c *ElastiCache) RebalanceSlotsInGlobalReplicationGroup(input *RebalanceSlotsInGlobalReplicationGroupInput) (*RebalanceSlotsInGlobalReplicationGroupOutput, error) { @@ -6892,14 +6873,13 @@ const opRebootCacheCluster = "RebootCacheCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebootCacheClusterRequest method. +// req, resp := client.RebootCacheClusterRequest(params) // -// // Example sending a request using the RebootCacheClusterRequest method. -// req, resp := client.RebootCacheClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheCluster func (c *ElastiCache) RebootCacheClusterRequest(input *RebootCacheClusterInput) (req *request.Request, output *RebootCacheClusterOutput) { @@ -6946,11 +6926,12 @@ func (c *ElastiCache) RebootCacheClusterRequest(input *RebootCacheClusterInput) // API operation RebootCacheCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" -// The requested cluster is not in the available state. // -// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" -// The requested cluster ID does not refer to an existing cluster. +// - ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" +// The requested cluster is not in the available state. +// +// - ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" +// The requested cluster ID does not refer to an existing cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RebootCacheCluster func (c *ElastiCache) RebootCacheCluster(input *RebootCacheClusterInput) (*RebootCacheClusterOutput, error) { @@ -6990,14 +6971,13 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsFromResourceRequest method. +// req, resp := client.RemoveTagsFromResourceRequest(params) // -// // Example sending a request using the RemoveTagsFromResourceRequest method. -// req, resp := client.RemoveTagsFromResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RemoveTagsFromResource func (c *ElastiCache) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *TagListMessage) { @@ -7033,44 +7013,45 @@ func (c *ElastiCache) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourc // API operation RemoveTagsFromResource for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" -// The requested cluster ID does not refer to an existing cluster. // -// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" -// The requested cache parameter group name does not refer to an existing cache -// parameter group. +// - ErrCodeCacheClusterNotFoundFault "CacheClusterNotFound" +// The requested cluster ID does not refer to an existing cluster. // -// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" -// The requested cache security group name does not refer to an existing cache -// security group. +// - ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" +// The requested cache parameter group name does not refer to an existing cache +// parameter group. // -// * ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" -// The requested cache subnet group name does not refer to an existing cache -// subnet group. +// - ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" +// The requested cache security group name does not refer to an existing cache +// security group. // -// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" -// The requested replication group is not in the available state. +// - ErrCodeCacheSubnetGroupNotFoundFault "CacheSubnetGroupNotFoundFault" +// The requested cache subnet group name does not refer to an existing cache +// subnet group. // -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. +// - ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" +// The requested replication group is not in the available state. // -// * ErrCodeReservedCacheNodeNotFoundFault "ReservedCacheNodeNotFound" -// The requested reserved cache node was not found. +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. // -// * ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault" -// The requested snapshot name does not refer to an existing snapshot. +// - ErrCodeReservedCacheNodeNotFoundFault "ReservedCacheNodeNotFound" +// The requested reserved cache node was not found. // -// * ErrCodeUserNotFoundFault "UserNotFound" -// The user does not exist or could not be found. +// - ErrCodeSnapshotNotFoundFault "SnapshotNotFoundFault" +// The requested snapshot name does not refer to an existing snapshot. // -// * ErrCodeUserGroupNotFoundFault "UserGroupNotFound" -// The user group was not found or does not exist +// - ErrCodeUserNotFoundFault "UserNotFound" +// The user does not exist or could not be found. // -// * ErrCodeInvalidARNFault "InvalidARN" -// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// - ErrCodeUserGroupNotFoundFault "UserGroupNotFound" +// The user group was not found or does not exist // -// * ErrCodeTagNotFoundFault "TagNotFound" -// The requested tag was not found on this resource. +// - ErrCodeInvalidARNFault "InvalidARN" +// The requested Amazon Resource Name (ARN) does not refer to an existing resource. +// +// - ErrCodeTagNotFoundFault "TagNotFound" +// The requested tag was not found on this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RemoveTagsFromResource func (c *ElastiCache) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*TagListMessage, error) { @@ -7110,14 +7091,13 @@ const opResetCacheParameterGroup = "ResetCacheParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetCacheParameterGroupRequest method. +// req, resp := client.ResetCacheParameterGroupRequest(params) // -// // Example sending a request using the ResetCacheParameterGroupRequest method. -// req, resp := client.ResetCacheParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ResetCacheParameterGroup func (c *ElastiCache) ResetCacheParameterGroupRequest(input *ResetCacheParameterGroupInput) (req *request.Request, output *CacheParameterGroupNameMessage) { @@ -7151,22 +7131,23 @@ func (c *ElastiCache) ResetCacheParameterGroupRequest(input *ResetCacheParameter // API operation ResetCacheParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidCacheParameterGroupStateFault "InvalidCacheParameterGroupState" -// The current state of the cache parameter group does not allow the requested -// operation to occur. // -// * ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" -// The requested cache parameter group name does not refer to an existing cache -// parameter group. +// - ErrCodeInvalidCacheParameterGroupStateFault "InvalidCacheParameterGroupState" +// The current state of the cache parameter group does not allow the requested +// operation to occur. +// +// - ErrCodeCacheParameterGroupNotFoundFault "CacheParameterGroupNotFound" +// The requested cache parameter group name does not refer to an existing cache +// parameter group. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // -// * ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" -// The Global datastore is not available or in primary-only state. +// - ErrCodeInvalidGlobalReplicationGroupStateFault "InvalidGlobalReplicationGroupState" +// The Global datastore is not available or in primary-only state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/ResetCacheParameterGroup func (c *ElastiCache) ResetCacheParameterGroup(input *ResetCacheParameterGroupInput) (*CacheParameterGroupNameMessage, error) { @@ -7206,14 +7187,13 @@ const opRevokeCacheSecurityGroupIngress = "RevokeCacheSecurityGroupIngress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeCacheSecurityGroupIngressRequest method. +// req, resp := client.RevokeCacheSecurityGroupIngressRequest(params) // -// // Example sending a request using the RevokeCacheSecurityGroupIngressRequest method. -// req, resp := client.RevokeCacheSecurityGroupIngressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RevokeCacheSecurityGroupIngress func (c *ElastiCache) RevokeCacheSecurityGroupIngressRequest(input *RevokeCacheSecurityGroupIngressInput) (req *request.Request, output *RevokeCacheSecurityGroupIngressOutput) { @@ -7245,22 +7225,23 @@ func (c *ElastiCache) RevokeCacheSecurityGroupIngressRequest(input *RevokeCacheS // API operation RevokeCacheSecurityGroupIngress for usage and error information. // // Returned Error Codes: -// * ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" -// The requested cache security group name does not refer to an existing cache -// security group. // -// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" -// The specified Amazon EC2 security group is not authorized for the specified -// cache security group. +// - ErrCodeCacheSecurityGroupNotFoundFault "CacheSecurityGroupNotFound" +// The requested cache security group name does not refer to an existing cache +// security group. +// +// - ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// The specified Amazon EC2 security group is not authorized for the specified +// cache security group. // -// * ErrCodeInvalidCacheSecurityGroupStateFault "InvalidCacheSecurityGroupState" -// The current state of the cache security group does not allow deletion. +// - ErrCodeInvalidCacheSecurityGroupStateFault "InvalidCacheSecurityGroupState" +// The current state of the cache security group does not allow deletion. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/RevokeCacheSecurityGroupIngress func (c *ElastiCache) RevokeCacheSecurityGroupIngress(input *RevokeCacheSecurityGroupIngressInput) (*RevokeCacheSecurityGroupIngressOutput, error) { @@ -7300,14 +7281,13 @@ const opStartMigration = "StartMigration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMigrationRequest method. +// req, resp := client.StartMigrationRequest(params) // -// // Example sending a request using the StartMigrationRequest method. -// req, resp := client.StartMigrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/StartMigration func (c *ElastiCache) StartMigrationRequest(input *StartMigrationInput) (req *request.Request, output *StartMigrationOutput) { @@ -7338,17 +7318,18 @@ func (c *ElastiCache) StartMigrationRequest(input *StartMigrationInput) (req *re // API operation StartMigration for usage and error information. // // Returned Error Codes: -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. // -// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" -// The requested replication group is not in the available state. +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. +// +// - ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" +// The requested replication group is not in the available state. // -// * ErrCodeReplicationGroupAlreadyUnderMigrationFault "ReplicationGroupAlreadyUnderMigrationFault" -// The targeted replication group is not available. +// - ErrCodeReplicationGroupAlreadyUnderMigrationFault "ReplicationGroupAlreadyUnderMigrationFault" +// The targeted replication group is not available. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/StartMigration func (c *ElastiCache) StartMigration(input *StartMigrationInput) (*StartMigrationOutput, error) { @@ -7388,14 +7369,13 @@ const opTestFailover = "TestFailover" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestFailoverRequest method. +// req, resp := client.TestFailoverRequest(params) // -// // Example sending a request using the TestFailoverRequest method. -// req, resp := client.TestFailoverRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailover func (c *ElastiCache) TestFailoverRequest(input *TestFailoverInput) (req *request.Request, output *TestFailoverOutput) { @@ -7428,29 +7408,29 @@ func (c *ElastiCache) TestFailoverRequest(input *TestFailoverInput) (req *reques // // Note the following // -// * A customer can use this operation to test automatic failover on up to -// 5 shards (called node groups in the ElastiCache API and Amazon CLI) in -// any rolling 24-hour period. -// -// * If calling this operation on shards in different clusters (called replication -// groups in the API and CLI), the calls can be made concurrently. -// -// * If calling this operation multiple times on different shards in the -// same Redis (cluster mode enabled) replication group, the first node replacement -// must complete before a subsequent call can be made. -// -// * To determine whether the node replacement is complete you can check -// Events using the Amazon ElastiCache console, the Amazon CLI, or the ElastiCache -// API. Look for the following automatic failover related events, listed -// here in order of occurrance: Replication group message: Test Failover -// API called for node group Cache cluster message: Failover -// from primary node to replica node completed -// Replication group message: Failover from primary node -// to replica node completed Cache cluster message: Recovering -// cache nodes Cache cluster message: Finished recovery for cache -// nodes For more information see: Viewing ElastiCache Events (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ECEvents.Viewing.html) -// in the ElastiCache User Guide DescribeEvents (https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_DescribeEvents.html) -// in the ElastiCache API Reference +// - A customer can use this operation to test automatic failover on up to +// 5 shards (called node groups in the ElastiCache API and Amazon CLI) in +// any rolling 24-hour period. +// +// - If calling this operation on shards in different clusters (called replication +// groups in the API and CLI), the calls can be made concurrently. +// +// - If calling this operation multiple times on different shards in the +// same Redis (cluster mode enabled) replication group, the first node replacement +// must complete before a subsequent call can be made. +// +// - To determine whether the node replacement is complete you can check +// Events using the Amazon ElastiCache console, the Amazon CLI, or the ElastiCache +// API. Look for the following automatic failover related events, listed +// here in order of occurrance: Replication group message: Test Failover +// API called for node group Cache cluster message: Failover +// from primary node to replica node completed +// Replication group message: Failover from primary node +// to replica node completed Cache cluster message: Recovering +// cache nodes Cache cluster message: Finished recovery for cache +// nodes For more information see: Viewing ElastiCache Events (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/ECEvents.Viewing.html) +// in the ElastiCache User Guide DescribeEvents (https://docs.aws.amazon.com/AmazonElastiCache/latest/APIReference/API_DescribeEvents.html) +// in the ElastiCache API Reference // // Also see, Testing Multi-AZ (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/AutoFailover.html#auto-failover-test) // in the ElastiCache User Guide. @@ -7463,34 +7443,35 @@ func (c *ElastiCache) TestFailoverRequest(input *TestFailoverInput) (req *reques // API operation TestFailover for usage and error information. // // Returned Error Codes: -// * ErrCodeAPICallRateForCustomerExceededFault "APICallRateForCustomerExceeded" -// The customer has exceeded the allowed rate of API calls. // -// * ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" -// The requested cluster is not in the available state. +// - ErrCodeAPICallRateForCustomerExceededFault "APICallRateForCustomerExceeded" +// The customer has exceeded the allowed rate of API calls. +// +// - ErrCodeInvalidCacheClusterStateFault "InvalidCacheClusterState" +// The requested cluster is not in the available state. // -// * ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" -// The requested replication group is not in the available state. +// - ErrCodeInvalidReplicationGroupStateFault "InvalidReplicationGroupState" +// The requested replication group is not in the available state. // -// * ErrCodeNodeGroupNotFoundFault "NodeGroupNotFoundFault" -// The node group specified by the NodeGroupId parameter could not be found. -// Please verify that the node group exists and that you spelled the NodeGroupId -// value correctly. +// - ErrCodeNodeGroupNotFoundFault "NodeGroupNotFoundFault" +// The node group specified by the NodeGroupId parameter could not be found. +// Please verify that the node group exists and that you spelled the NodeGroupId +// value correctly. // -// * ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" -// The specified replication group does not exist. +// - ErrCodeReplicationGroupNotFoundFault "ReplicationGroupNotFoundFault" +// The specified replication group does not exist. // -// * ErrCodeTestFailoverNotAvailableFault "TestFailoverNotAvailableFault" -// The TestFailover action is not available. +// - ErrCodeTestFailoverNotAvailableFault "TestFailoverNotAvailableFault" +// The TestFailover action is not available. // -// * ErrCodeInvalidKMSKeyFault "InvalidKMSKeyFault" -// The KMS key supplied is not valid. +// - ErrCodeInvalidKMSKeyFault "InvalidKMSKeyFault" +// The KMS key supplied is not valid. // -// * ErrCodeInvalidParameterValueException "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeInvalidParameterValueException "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" -// Two or more incompatible parameters were specified. +// - ErrCodeInvalidParameterCombinationException "InvalidParameterCombination" +// Two or more incompatible parameters were specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticache-2015-02-02/TestFailover func (c *ElastiCache) TestFailover(input *TestFailoverInput) (*TestFailoverOutput, error) { @@ -8468,52 +8449,52 @@ func (s *CacheEngineVersion) SetEngineVersion(v string) *CacheEngineVersion { // the current generation types provide more memory and computational power // at lower cost when compared to their equivalent previous generation counterparts. // -// * General purpose: Current generation: M6g node types: (available only -// for Redis engine version 5.0.6 onward and for Memcached engine version -// 1.5.16 onward): cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, -// cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge -// For region availability, see Supported Node Types (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) -// M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, -// cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, -// cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available -// only for Redis engine version 5.0.6 onward and for Memcached engine version -// 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 -// node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: -// cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not -// recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, -// cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, -// cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge -// -// * Compute optimized: Previous generation: (not recommended) C1 node types: -// cache.c1.xlarge -// -// * Memory optimized with data tiering: Current generation: R6gd node types -// (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, -// cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, -// cache.r6gd.16xlarge -// -// * Memory optimized: Current generation: R6g node types (available only -// for Redis engine version 5.0.6 onward and for Memcached engine version -// 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, -// cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge -// For region availability, see Supported Node Types (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) -// R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, -// cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, -// cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge -// Previous generation: (not recommended) M2 node types: cache.m2.xlarge, -// cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, -// cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge +// - General purpose: Current generation: M6g node types: (available only +// for Redis engine version 5.0.6 onward and for Memcached engine version +// 1.5.16 onward): cache.m6g.large, cache.m6g.xlarge, cache.m6g.2xlarge, +// cache.m6g.4xlarge, cache.m6g.8xlarge, cache.m6g.12xlarge, cache.m6g.16xlarge +// For region availability, see Supported Node Types (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) +// M5 node types: cache.m5.large, cache.m5.xlarge, cache.m5.2xlarge, cache.m5.4xlarge, +// cache.m5.12xlarge, cache.m5.24xlarge M4 node types: cache.m4.large, cache.m4.xlarge, +// cache.m4.2xlarge, cache.m4.4xlarge, cache.m4.10xlarge T4g node types (available +// only for Redis engine version 5.0.6 onward and for Memcached engine version +// 1.5.16 onward): cache.t4g.micro, cache.t4g.small, cache.t4g.medium T3 +// node types: cache.t3.micro, cache.t3.small, cache.t3.medium T2 node types: +// cache.t2.micro, cache.t2.small, cache.t2.medium Previous generation: (not +// recommended) T1 node types: cache.t1.micro M1 node types: cache.m1.small, +// cache.m1.medium, cache.m1.large, cache.m1.xlarge M3 node types: cache.m3.medium, +// cache.m3.large, cache.m3.xlarge, cache.m3.2xlarge +// +// - Compute optimized: Previous generation: (not recommended) C1 node types: +// cache.c1.xlarge +// +// - Memory optimized with data tiering: Current generation: R6gd node types +// (available only for Redis engine version 6.2 onward). cache.r6gd.xlarge, +// cache.r6gd.2xlarge, cache.r6gd.4xlarge, cache.r6gd.8xlarge, cache.r6gd.12xlarge, +// cache.r6gd.16xlarge +// +// - Memory optimized: Current generation: R6g node types (available only +// for Redis engine version 5.0.6 onward and for Memcached engine version +// 1.5.16 onward). cache.r6g.large, cache.r6g.xlarge, cache.r6g.2xlarge, +// cache.r6g.4xlarge, cache.r6g.8xlarge, cache.r6g.12xlarge, cache.r6g.16xlarge +// For region availability, see Supported Node Types (https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html#CacheNodes.SupportedTypesByRegion) +// R5 node types: cache.r5.large, cache.r5.xlarge, cache.r5.2xlarge, cache.r5.4xlarge, +// cache.r5.12xlarge, cache.r5.24xlarge R4 node types: cache.r4.large, cache.r4.xlarge, +// cache.r4.2xlarge, cache.r4.4xlarge, cache.r4.8xlarge, cache.r4.16xlarge +// Previous generation: (not recommended) M2 node types: cache.m2.xlarge, +// cache.m2.2xlarge, cache.m2.4xlarge R3 node types: cache.r3.large, cache.r3.xlarge, +// cache.r3.2xlarge, cache.r3.4xlarge, cache.r3.8xlarge // // Additional node type info // -// * All current generation instance types are created in Amazon VPC by default. +// - All current generation instance types are created in Amazon VPC by default. // -// * Redis append-only files (AOF) are not supported for T1 or T2 instances. +// - Redis append-only files (AOF) are not supported for T1 or T2 instances. // -// * Redis Multi-AZ with automatic failover is not supported on T1 instances. +// - Redis Multi-AZ with automatic failover is not supported on T1 instances. // -// * Redis configuration variables appendonly and appendfsync are not supported -// on Redis version 2.8.22 and later. +// - Redis configuration variables appendonly and appendfsync are not supported +// on Redis version 2.8.22 and later. type CacheNode struct { _ struct{} `type:"structure"` @@ -8934,9 +8915,9 @@ func (s *CacheParameterGroup) SetIsGlobal(v bool) *CacheParameterGroup { // Represents the output of one of the following operations: // -// * ModifyCacheParameterGroup +// - ModifyCacheParameterGroup // -// * ResetCacheParameterGroup +// - ResetCacheParameterGroup type CacheParameterGroupNameMessage struct { _ struct{} `type:"structure"` @@ -9021,11 +9002,11 @@ func (s *CacheParameterGroupStatus) SetParameterApplyStatus(v string) *CachePara // Represents the output of one of the following operations: // -// * AuthorizeCacheSecurityGroupIngress +// - AuthorizeCacheSecurityGroupIngress // -// * CreateCacheSecurityGroup +// - CreateCacheSecurityGroup // -// * RevokeCacheSecurityGroupIngress +// - RevokeCacheSecurityGroupIngress type CacheSecurityGroup struct { _ struct{} `type:"structure"` @@ -9139,9 +9120,9 @@ func (s *CacheSecurityGroupMembership) SetStatus(v string) *CacheSecurityGroupMe // Represents the output of one of the following operations: // -// * CreateCacheSubnetGroup +// - CreateCacheSubnetGroup // -// * ModifyCacheSubnetGroup +// - ModifyCacheSubnetGroup type CacheSubnetGroup struct { _ struct{} `type:"structure"` @@ -15680,8 +15661,8 @@ func (s *GlobalNodeGroup) SetSlots(v string) *GlobalNodeGroup { // accepts only reads. The primary cluster automatically replicates updates // to the secondary cluster. // -// * The GlobalReplicationGroupIdSuffix represents the name of the Global -// datastore, which is what you use to associate a secondary cluster. +// - The GlobalReplicationGroupIdSuffix represents the name of the Global +// datastore, which is what you use to associate a secondary cluster. type GlobalReplicationGroup struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/doc.go index 317affdc7c31..e78d72d08763 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/doc.go @@ -20,7 +20,7 @@ // See elasticache package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/elasticache/ // -// Using the Client +// # Using the Client // // To contact Amazon ElastiCache with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/elasticacheiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/elasticacheiface/interface.go index 81918db98222..13ce87e5f26a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/elasticacheiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/elasticacheiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon ElastiCache. -// func myFunc(svc elasticacheiface.ElastiCacheAPI) bool { -// // Make svc.AddTagsToResource request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon ElastiCache. +// func myFunc(svc elasticacheiface.ElastiCacheAPI) bool { +// // Make svc.AddTagsToResource request +// } // -// func main() { -// sess := session.New() -// svc := elasticache.New(sess) +// func main() { +// sess := session.New() +// svc := elasticache.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockElastiCacheClient struct { -// elasticacheiface.ElastiCacheAPI -// } -// func (m *mockElastiCacheClient) AddTagsToResource(input *elasticache.AddTagsToResourceInput) (*elasticache.TagListMessage, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockElastiCacheClient struct { +// elasticacheiface.ElastiCacheAPI +// } +// func (m *mockElastiCacheClient) AddTagsToResource(input *elasticache.AddTagsToResourceInput) (*elasticache.TagListMessage, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockElastiCacheClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockElastiCacheClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/service.go index 843a372eee7a..6d4271c5d391 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticache/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ElastiCache client from just a session. -// svc := elasticache.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ElastiCache client with additional configuration -// svc := elasticache.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ElastiCache client from just a session. +// svc := elasticache.New(mySession) +// +// // Create a ElastiCache client with additional configuration +// svc := elasticache.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ElastiCache { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/api.go index 035582db4d75..08cfc4b994a3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/api.go @@ -29,14 +29,13 @@ const opAbortEnvironmentUpdate = "AbortEnvironmentUpdate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AbortEnvironmentUpdateRequest method. +// req, resp := client.AbortEnvironmentUpdateRequest(params) // -// // Example sending a request using the AbortEnvironmentUpdateRequest method. -// req, resp := client.AbortEnvironmentUpdateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate func (c *ElasticBeanstalk) AbortEnvironmentUpdateRequest(input *AbortEnvironmentUpdateInput) (req *request.Request, output *AbortEnvironmentUpdateOutput) { @@ -69,9 +68,9 @@ func (c *ElasticBeanstalk) AbortEnvironmentUpdateRequest(input *AbortEnvironment // API operation AbortEnvironmentUpdate for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AbortEnvironmentUpdate func (c *ElasticBeanstalk) AbortEnvironmentUpdate(input *AbortEnvironmentUpdateInput) (*AbortEnvironmentUpdateOutput, error) { @@ -111,14 +110,13 @@ const opApplyEnvironmentManagedAction = "ApplyEnvironmentManagedAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ApplyEnvironmentManagedActionRequest method. +// req, resp := client.ApplyEnvironmentManagedActionRequest(params) // -// // Example sending a request using the ApplyEnvironmentManagedActionRequest method. -// req, resp := client.ApplyEnvironmentManagedActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedAction func (c *ElasticBeanstalk) ApplyEnvironmentManagedActionRequest(input *ApplyEnvironmentManagedActionInput) (req *request.Request, output *ApplyEnvironmentManagedActionOutput) { @@ -151,11 +149,12 @@ func (c *ElasticBeanstalk) ApplyEnvironmentManagedActionRequest(input *ApplyEnvi // API operation ApplyEnvironmentManagedAction for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceException "ElasticBeanstalkServiceException" -// A generic service exception has occurred. // -// * ErrCodeManagedActionInvalidStateException "ManagedActionInvalidStateException" -// Cannot modify the managed action in its current state. +// - ErrCodeServiceException "ElasticBeanstalkServiceException" +// A generic service exception has occurred. +// +// - ErrCodeManagedActionInvalidStateException "ManagedActionInvalidStateException" +// Cannot modify the managed action in its current state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ApplyEnvironmentManagedAction func (c *ElasticBeanstalk) ApplyEnvironmentManagedAction(input *ApplyEnvironmentManagedActionInput) (*ApplyEnvironmentManagedActionOutput, error) { @@ -195,14 +194,13 @@ const opAssociateEnvironmentOperationsRole = "AssociateEnvironmentOperationsRole // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateEnvironmentOperationsRoleRequest method. +// req, resp := client.AssociateEnvironmentOperationsRoleRequest(params) // -// // Example sending a request using the AssociateEnvironmentOperationsRoleRequest method. -// req, resp := client.AssociateEnvironmentOperationsRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AssociateEnvironmentOperationsRole func (c *ElasticBeanstalk) AssociateEnvironmentOperationsRoleRequest(input *AssociateEnvironmentOperationsRoleInput) (req *request.Request, output *AssociateEnvironmentOperationsRoleOutput) { @@ -238,9 +236,9 @@ func (c *ElasticBeanstalk) AssociateEnvironmentOperationsRoleRequest(input *Asso // API operation AssociateEnvironmentOperationsRole for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/AssociateEnvironmentOperationsRole func (c *ElasticBeanstalk) AssociateEnvironmentOperationsRole(input *AssociateEnvironmentOperationsRoleInput) (*AssociateEnvironmentOperationsRoleOutput, error) { @@ -280,14 +278,13 @@ const opCheckDNSAvailability = "CheckDNSAvailability" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CheckDNSAvailabilityRequest method. +// req, resp := client.CheckDNSAvailabilityRequest(params) // -// // Example sending a request using the CheckDNSAvailabilityRequest method. -// req, resp := client.CheckDNSAvailabilityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CheckDNSAvailability func (c *ElasticBeanstalk) CheckDNSAvailabilityRequest(input *CheckDNSAvailabilityInput) (req *request.Request, output *CheckDNSAvailabilityOutput) { @@ -354,14 +351,13 @@ const opComposeEnvironments = "ComposeEnvironments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ComposeEnvironmentsRequest method. +// req, resp := client.ComposeEnvironmentsRequest(params) // -// // Example sending a request using the ComposeEnvironmentsRequest method. -// req, resp := client.ComposeEnvironmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironments func (c *ElasticBeanstalk) ComposeEnvironmentsRequest(input *ComposeEnvironmentsInput) (req *request.Request, output *EnvironmentDescriptionsMessage) { @@ -398,12 +394,13 @@ func (c *ElasticBeanstalk) ComposeEnvironmentsRequest(input *ComposeEnvironments // API operation ComposeEnvironments for usage and error information. // // Returned Error Codes: -// * ErrCodeTooManyEnvironmentsException "TooManyEnvironmentsException" -// The specified account has reached its limit of environments. // -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. +// - ErrCodeTooManyEnvironmentsException "TooManyEnvironmentsException" +// The specified account has reached its limit of environments. +// +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ComposeEnvironments func (c *ElasticBeanstalk) ComposeEnvironments(input *ComposeEnvironmentsInput) (*EnvironmentDescriptionsMessage, error) { @@ -443,14 +440,13 @@ const opCreateApplication = "CreateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationRequest method. +// req, resp := client.CreateApplicationRequest(params) // -// // Example sending a request using the CreateApplicationRequest method. -// req, resp := client.CreateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplication func (c *ElasticBeanstalk) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *ApplicationDescriptionMessage) { @@ -482,8 +478,8 @@ func (c *ElasticBeanstalk) CreateApplicationRequest(input *CreateApplicationInpu // API operation CreateApplication for usage and error information. // // Returned Error Codes: -// * ErrCodeTooManyApplicationsException "TooManyApplicationsException" -// The specified account has reached its limit of applications. +// - ErrCodeTooManyApplicationsException "TooManyApplicationsException" +// The specified account has reached its limit of applications. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplication func (c *ElasticBeanstalk) CreateApplication(input *CreateApplicationInput) (*ApplicationDescriptionMessage, error) { @@ -523,14 +519,13 @@ const opCreateApplicationVersion = "CreateApplicationVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationVersionRequest method. +// req, resp := client.CreateApplicationVersionRequest(params) // -// // Example sending a request using the CreateApplicationVersionRequest method. -// req, resp := client.CreateApplicationVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationVersion func (c *ElasticBeanstalk) CreateApplicationVersionRequest(input *CreateApplicationVersionInput) (req *request.Request, output *ApplicationVersionDescriptionMessage) { @@ -559,7 +554,7 @@ func (c *ElasticBeanstalk) CreateApplicationVersionRequest(input *CreateApplicat // // Specify a build in an AWS CodeBuild with SourceBuildInformation and BuildConfiguration. // -// Specify a source bundle in S3 with SourceBundle +// # Specify a source bundle in S3 with SourceBundle // // Omit both SourceBuildInformation and SourceBundle to use the default sample // application. @@ -577,28 +572,29 @@ func (c *ElasticBeanstalk) CreateApplicationVersionRequest(input *CreateApplicat // API operation CreateApplicationVersion for usage and error information. // // Returned Error Codes: -// * ErrCodeTooManyApplicationsException "TooManyApplicationsException" -// The specified account has reached its limit of applications. // -// * ErrCodeTooManyApplicationVersionsException "TooManyApplicationVersionsException" -// The specified account has reached its limit of application versions. +// - ErrCodeTooManyApplicationsException "TooManyApplicationsException" +// The specified account has reached its limit of applications. // -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. +// - ErrCodeTooManyApplicationVersionsException "TooManyApplicationVersionsException" +// The specified account has reached its limit of application versions. // -// * ErrCodeS3LocationNotInServiceRegionException "S3LocationNotInServiceRegionException" -// The specified S3 bucket does not belong to the S3 region in which the service -// is running. The following regions are supported: +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. // -// * IAD/us-east-1 +// - ErrCodeS3LocationNotInServiceRegionException "S3LocationNotInServiceRegionException" +// The specified S3 bucket does not belong to the S3 region in which the service +// is running. The following regions are supported: // -// * PDX/us-west-2 +// - IAD/us-east-1 // -// * DUB/eu-west-1 +// - PDX/us-west-2 // -// * ErrCodeCodeBuildNotInServiceRegionException "CodeBuildNotInServiceRegionException" -// AWS CodeBuild is not available in the specified region. +// - DUB/eu-west-1 +// +// - ErrCodeCodeBuildNotInServiceRegionException "CodeBuildNotInServiceRegionException" +// AWS CodeBuild is not available in the specified region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateApplicationVersion func (c *ElasticBeanstalk) CreateApplicationVersion(input *CreateApplicationVersionInput) (*ApplicationVersionDescriptionMessage, error) { @@ -638,14 +634,13 @@ const opCreateConfigurationTemplate = "CreateConfigurationTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConfigurationTemplateRequest method. +// req, resp := client.CreateConfigurationTemplateRequest(params) // -// // Example sending a request using the CreateConfigurationTemplateRequest method. -// req, resp := client.CreateConfigurationTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplate func (c *ElasticBeanstalk) CreateConfigurationTemplateRequest(input *CreateConfigurationTemplateInput) (req *request.Request, output *ConfigurationSettingsDescription) { @@ -677,11 +672,11 @@ func (c *ElasticBeanstalk) CreateConfigurationTemplateRequest(input *CreateConfi // // Related Topics // -// * DescribeConfigurationOptions +// - DescribeConfigurationOptions // -// * DescribeConfigurationSettings +// - DescribeConfigurationSettings // -// * ListAvailableSolutionStacks +// - ListAvailableSolutionStacks // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -691,15 +686,16 @@ func (c *ElasticBeanstalk) CreateConfigurationTemplateRequest(input *CreateConfi // API operation CreateConfigurationTemplate for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. // -// * ErrCodeTooManyBucketsException "TooManyBucketsException" -// The specified account has reached its limit of Amazon S3 buckets. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. +// +// - ErrCodeTooManyBucketsException "TooManyBucketsException" +// The specified account has reached its limit of Amazon S3 buckets. // -// * ErrCodeTooManyConfigurationTemplatesException "TooManyConfigurationTemplatesException" -// The specified account has reached its limit of configuration templates. +// - ErrCodeTooManyConfigurationTemplatesException "TooManyConfigurationTemplatesException" +// The specified account has reached its limit of configuration templates. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateConfigurationTemplate func (c *ElasticBeanstalk) CreateConfigurationTemplate(input *CreateConfigurationTemplateInput) (*ConfigurationSettingsDescription, error) { @@ -739,14 +735,13 @@ const opCreateEnvironment = "CreateEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEnvironmentRequest method. +// req, resp := client.CreateEnvironmentRequest(params) // -// // Example sending a request using the CreateEnvironmentRequest method. -// req, resp := client.CreateEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateEnvironment func (c *ElasticBeanstalk) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req *request.Request, output *EnvironmentDescription) { @@ -778,12 +773,13 @@ func (c *ElasticBeanstalk) CreateEnvironmentRequest(input *CreateEnvironmentInpu // API operation CreateEnvironment for usage and error information. // // Returned Error Codes: -// * ErrCodeTooManyEnvironmentsException "TooManyEnvironmentsException" -// The specified account has reached its limit of environments. // -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. +// - ErrCodeTooManyEnvironmentsException "TooManyEnvironmentsException" +// The specified account has reached its limit of environments. +// +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateEnvironment func (c *ElasticBeanstalk) CreateEnvironment(input *CreateEnvironmentInput) (*EnvironmentDescription, error) { @@ -823,14 +819,13 @@ const opCreatePlatformVersion = "CreatePlatformVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePlatformVersionRequest method. +// req, resp := client.CreatePlatformVersionRequest(params) // -// // Example sending a request using the CreatePlatformVersionRequest method. -// req, resp := client.CreatePlatformVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreatePlatformVersion func (c *ElasticBeanstalk) CreatePlatformVersionRequest(input *CreatePlatformVersionInput) (req *request.Request, output *CreatePlatformVersionOutput) { @@ -861,16 +856,17 @@ func (c *ElasticBeanstalk) CreatePlatformVersionRequest(input *CreatePlatformVer // API operation CreatePlatformVersion for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. // -// * ErrCodeServiceException "ElasticBeanstalkServiceException" -// A generic service exception has occurred. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. +// +// - ErrCodeServiceException "ElasticBeanstalkServiceException" +// A generic service exception has occurred. // -// * ErrCodeTooManyPlatformsException "TooManyPlatformsException" -// You have exceeded the maximum number of allowed platforms associated with -// the account. +// - ErrCodeTooManyPlatformsException "TooManyPlatformsException" +// You have exceeded the maximum number of allowed platforms associated with +// the account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreatePlatformVersion func (c *ElasticBeanstalk) CreatePlatformVersion(input *CreatePlatformVersionInput) (*CreatePlatformVersionOutput, error) { @@ -910,14 +906,13 @@ const opCreateStorageLocation = "CreateStorageLocation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStorageLocationRequest method. +// req, resp := client.CreateStorageLocationRequest(params) // -// // Example sending a request using the CreateStorageLocationRequest method. -// req, resp := client.CreateStorageLocationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateStorageLocation func (c *ElasticBeanstalk) CreateStorageLocationRequest(input *CreateStorageLocationInput) (req *request.Request, output *CreateStorageLocationOutput) { @@ -952,15 +947,16 @@ func (c *ElasticBeanstalk) CreateStorageLocationRequest(input *CreateStorageLoca // API operation CreateStorageLocation for usage and error information. // // Returned Error Codes: -// * ErrCodeTooManyBucketsException "TooManyBucketsException" -// The specified account has reached its limit of Amazon S3 buckets. // -// * ErrCodeS3SubscriptionRequiredException "S3SubscriptionRequiredException" -// The specified account does not have a subscription to Amazon S3. +// - ErrCodeTooManyBucketsException "TooManyBucketsException" +// The specified account has reached its limit of Amazon S3 buckets. +// +// - ErrCodeS3SubscriptionRequiredException "S3SubscriptionRequiredException" +// The specified account does not have a subscription to Amazon S3. // -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/CreateStorageLocation func (c *ElasticBeanstalk) CreateStorageLocation(input *CreateStorageLocationInput) (*CreateStorageLocationOutput, error) { @@ -1000,14 +996,13 @@ const opDeleteApplication = "DeleteApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationRequest method. +// req, resp := client.DeleteApplicationRequest(params) // -// // Example sending a request using the DeleteApplicationRequest method. -// req, resp := client.DeleteApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplication func (c *ElasticBeanstalk) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) { @@ -1043,9 +1038,9 @@ func (c *ElasticBeanstalk) DeleteApplicationRequest(input *DeleteApplicationInpu // API operation DeleteApplication for usage and error information. // // Returned Error Codes: -// * ErrCodeOperationInProgressException "OperationInProgressFailure" -// Unable to perform the specified operation because another operation that -// effects an element in this activity is already in progress. +// - ErrCodeOperationInProgressException "OperationInProgressFailure" +// Unable to perform the specified operation because another operation that +// effects an element in this activity is already in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplication func (c *ElasticBeanstalk) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) { @@ -1085,14 +1080,13 @@ const opDeleteApplicationVersion = "DeleteApplicationVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationVersionRequest method. +// req, resp := client.DeleteApplicationVersionRequest(params) // -// // Example sending a request using the DeleteApplicationVersionRequest method. -// req, resp := client.DeleteApplicationVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationVersion func (c *ElasticBeanstalk) DeleteApplicationVersionRequest(input *DeleteApplicationVersionInput) (req *request.Request, output *DeleteApplicationVersionOutput) { @@ -1127,27 +1121,28 @@ func (c *ElasticBeanstalk) DeleteApplicationVersionRequest(input *DeleteApplicat // API operation DeleteApplicationVersion for usage and error information. // // Returned Error Codes: -// * ErrCodeSourceBundleDeletionException "SourceBundleDeletionFailure" -// Unable to delete the Amazon S3 source bundle associated with the application -// version. The application version was deleted successfully. // -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. +// - ErrCodeSourceBundleDeletionException "SourceBundleDeletionFailure" +// Unable to delete the Amazon S3 source bundle associated with the application +// version. The application version was deleted successfully. +// +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. // -// * ErrCodeOperationInProgressException "OperationInProgressFailure" -// Unable to perform the specified operation because another operation that -// effects an element in this activity is already in progress. +// - ErrCodeOperationInProgressException "OperationInProgressFailure" +// Unable to perform the specified operation because another operation that +// effects an element in this activity is already in progress. // -// * ErrCodeS3LocationNotInServiceRegionException "S3LocationNotInServiceRegionException" -// The specified S3 bucket does not belong to the S3 region in which the service -// is running. The following regions are supported: +// - ErrCodeS3LocationNotInServiceRegionException "S3LocationNotInServiceRegionException" +// The specified S3 bucket does not belong to the S3 region in which the service +// is running. The following regions are supported: // -// * IAD/us-east-1 +// - IAD/us-east-1 // -// * PDX/us-west-2 +// - PDX/us-west-2 // -// * DUB/eu-west-1 +// - DUB/eu-west-1 // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteApplicationVersion func (c *ElasticBeanstalk) DeleteApplicationVersion(input *DeleteApplicationVersionInput) (*DeleteApplicationVersionOutput, error) { @@ -1187,14 +1182,13 @@ const opDeleteConfigurationTemplate = "DeleteConfigurationTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigurationTemplateRequest method. +// req, resp := client.DeleteConfigurationTemplateRequest(params) // -// // Example sending a request using the DeleteConfigurationTemplateRequest method. -// req, resp := client.DeleteConfigurationTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteConfigurationTemplate func (c *ElasticBeanstalk) DeleteConfigurationTemplateRequest(input *DeleteConfigurationTemplateInput) (req *request.Request, output *DeleteConfigurationTemplateOutput) { @@ -1230,9 +1224,9 @@ func (c *ElasticBeanstalk) DeleteConfigurationTemplateRequest(input *DeleteConfi // API operation DeleteConfigurationTemplate for usage and error information. // // Returned Error Codes: -// * ErrCodeOperationInProgressException "OperationInProgressFailure" -// Unable to perform the specified operation because another operation that -// effects an element in this activity is already in progress. +// - ErrCodeOperationInProgressException "OperationInProgressFailure" +// Unable to perform the specified operation because another operation that +// effects an element in this activity is already in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteConfigurationTemplate func (c *ElasticBeanstalk) DeleteConfigurationTemplate(input *DeleteConfigurationTemplateInput) (*DeleteConfigurationTemplateOutput, error) { @@ -1272,14 +1266,13 @@ const opDeleteEnvironmentConfiguration = "DeleteEnvironmentConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEnvironmentConfigurationRequest method. +// req, resp := client.DeleteEnvironmentConfigurationRequest(params) // -// // Example sending a request using the DeleteEnvironmentConfigurationRequest method. -// req, resp := client.DeleteEnvironmentConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeleteEnvironmentConfiguration func (c *ElasticBeanstalk) DeleteEnvironmentConfigurationRequest(input *DeleteEnvironmentConfigurationInput) (req *request.Request, output *DeleteEnvironmentConfigurationOutput) { @@ -1354,14 +1347,13 @@ const opDeletePlatformVersion = "DeletePlatformVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePlatformVersionRequest method. +// req, resp := client.DeletePlatformVersionRequest(params) // -// // Example sending a request using the DeletePlatformVersionRequest method. -// req, resp := client.DeletePlatformVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeletePlatformVersion func (c *ElasticBeanstalk) DeletePlatformVersionRequest(input *DeletePlatformVersionInput) (req *request.Request, output *DeletePlatformVersionOutput) { @@ -1392,20 +1384,21 @@ func (c *ElasticBeanstalk) DeletePlatformVersionRequest(input *DeletePlatformVer // API operation DeletePlatformVersion for usage and error information. // // Returned Error Codes: -// * ErrCodeOperationInProgressException "OperationInProgressFailure" -// Unable to perform the specified operation because another operation that -// effects an element in this activity is already in progress. // -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. +// - ErrCodeOperationInProgressException "OperationInProgressFailure" +// Unable to perform the specified operation because another operation that +// effects an element in this activity is already in progress. +// +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. // -// * ErrCodeServiceException "ElasticBeanstalkServiceException" -// A generic service exception has occurred. +// - ErrCodeServiceException "ElasticBeanstalkServiceException" +// A generic service exception has occurred. // -// * ErrCodePlatformVersionStillReferencedException "PlatformVersionStillReferencedException" -// You cannot delete the platform version because there are still environments -// running on it. +// - ErrCodePlatformVersionStillReferencedException "PlatformVersionStillReferencedException" +// You cannot delete the platform version because there are still environments +// running on it. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DeletePlatformVersion func (c *ElasticBeanstalk) DeletePlatformVersion(input *DeletePlatformVersionInput) (*DeletePlatformVersionOutput, error) { @@ -1445,14 +1438,13 @@ const opDescribeAccountAttributes = "DescribeAccountAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountAttributesRequest method. +// req, resp := client.DescribeAccountAttributesRequest(params) // -// // Example sending a request using the DescribeAccountAttributesRequest method. -// req, resp := client.DescribeAccountAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeAccountAttributes func (c *ElasticBeanstalk) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput) { @@ -1486,9 +1478,9 @@ func (c *ElasticBeanstalk) DescribeAccountAttributesRequest(input *DescribeAccou // API operation DescribeAccountAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeAccountAttributes func (c *ElasticBeanstalk) DescribeAccountAttributes(input *DescribeAccountAttributesInput) (*DescribeAccountAttributesOutput, error) { @@ -1528,14 +1520,13 @@ const opDescribeApplicationVersions = "DescribeApplicationVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApplicationVersionsRequest method. +// req, resp := client.DescribeApplicationVersionsRequest(params) // -// // Example sending a request using the DescribeApplicationVersionsRequest method. -// req, resp := client.DescribeApplicationVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplicationVersions func (c *ElasticBeanstalk) DescribeApplicationVersionsRequest(input *DescribeApplicationVersionsInput) (req *request.Request, output *DescribeApplicationVersionsOutput) { @@ -1602,14 +1593,13 @@ const opDescribeApplications = "DescribeApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApplicationsRequest method. +// req, resp := client.DescribeApplicationsRequest(params) // -// // Example sending a request using the DescribeApplicationsRequest method. -// req, resp := client.DescribeApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeApplications func (c *ElasticBeanstalk) DescribeApplicationsRequest(input *DescribeApplicationsInput) (req *request.Request, output *DescribeApplicationsOutput) { @@ -1676,14 +1666,13 @@ const opDescribeConfigurationOptions = "DescribeConfigurationOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConfigurationOptionsRequest method. +// req, resp := client.DescribeConfigurationOptionsRequest(params) // -// // Example sending a request using the DescribeConfigurationOptionsRequest method. -// req, resp := client.DescribeConfigurationOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationOptions func (c *ElasticBeanstalk) DescribeConfigurationOptionsRequest(input *DescribeConfigurationOptionsInput) (req *request.Request, output *DescribeConfigurationOptionsOutput) { @@ -1718,8 +1707,8 @@ func (c *ElasticBeanstalk) DescribeConfigurationOptionsRequest(input *DescribeCo // API operation DescribeConfigurationOptions for usage and error information. // // Returned Error Codes: -// * ErrCodeTooManyBucketsException "TooManyBucketsException" -// The specified account has reached its limit of Amazon S3 buckets. +// - ErrCodeTooManyBucketsException "TooManyBucketsException" +// The specified account has reached its limit of Amazon S3 buckets. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationOptions func (c *ElasticBeanstalk) DescribeConfigurationOptions(input *DescribeConfigurationOptionsInput) (*DescribeConfigurationOptionsOutput, error) { @@ -1759,14 +1748,13 @@ const opDescribeConfigurationSettings = "DescribeConfigurationSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConfigurationSettingsRequest method. +// req, resp := client.DescribeConfigurationSettingsRequest(params) // -// // Example sending a request using the DescribeConfigurationSettingsRequest method. -// req, resp := client.DescribeConfigurationSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationSettings func (c *ElasticBeanstalk) DescribeConfigurationSettingsRequest(input *DescribeConfigurationSettingsInput) (req *request.Request, output *DescribeConfigurationSettingsOutput) { @@ -1799,7 +1787,7 @@ func (c *ElasticBeanstalk) DescribeConfigurationSettingsRequest(input *DescribeC // // Related Topics // -// * DeleteEnvironmentConfiguration +// - DeleteEnvironmentConfiguration // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1809,8 +1797,8 @@ func (c *ElasticBeanstalk) DescribeConfigurationSettingsRequest(input *DescribeC // API operation DescribeConfigurationSettings for usage and error information. // // Returned Error Codes: -// * ErrCodeTooManyBucketsException "TooManyBucketsException" -// The specified account has reached its limit of Amazon S3 buckets. +// - ErrCodeTooManyBucketsException "TooManyBucketsException" +// The specified account has reached its limit of Amazon S3 buckets. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeConfigurationSettings func (c *ElasticBeanstalk) DescribeConfigurationSettings(input *DescribeConfigurationSettingsInput) (*DescribeConfigurationSettingsOutput, error) { @@ -1850,14 +1838,13 @@ const opDescribeEnvironmentHealth = "DescribeEnvironmentHealth" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEnvironmentHealthRequest method. +// req, resp := client.DescribeEnvironmentHealthRequest(params) // -// // Example sending a request using the DescribeEnvironmentHealthRequest method. -// req, resp := client.DescribeEnvironmentHealthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealth func (c *ElasticBeanstalk) DescribeEnvironmentHealthRequest(input *DescribeEnvironmentHealthInput) (req *request.Request, output *DescribeEnvironmentHealthOutput) { @@ -1890,12 +1877,13 @@ func (c *ElasticBeanstalk) DescribeEnvironmentHealthRequest(input *DescribeEnvir // API operation DescribeEnvironmentHealth for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidRequestException "InvalidRequestException" -// One or more input parameters is not valid. Please correct the input parameters -// and try the operation again. // -// * ErrCodeServiceException "ElasticBeanstalkServiceException" -// A generic service exception has occurred. +// - ErrCodeInvalidRequestException "InvalidRequestException" +// One or more input parameters is not valid. Please correct the input parameters +// and try the operation again. +// +// - ErrCodeServiceException "ElasticBeanstalkServiceException" +// A generic service exception has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentHealth func (c *ElasticBeanstalk) DescribeEnvironmentHealth(input *DescribeEnvironmentHealthInput) (*DescribeEnvironmentHealthOutput, error) { @@ -1935,14 +1923,13 @@ const opDescribeEnvironmentManagedActionHistory = "DescribeEnvironmentManagedAct // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEnvironmentManagedActionHistoryRequest method. +// req, resp := client.DescribeEnvironmentManagedActionHistoryRequest(params) // -// // Example sending a request using the DescribeEnvironmentManagedActionHistoryRequest method. -// req, resp := client.DescribeEnvironmentManagedActionHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistory func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionHistoryRequest(input *DescribeEnvironmentManagedActionHistoryInput) (req *request.Request, output *DescribeEnvironmentManagedActionHistoryOutput) { @@ -1979,8 +1966,8 @@ func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionHistoryRequest(input // API operation DescribeEnvironmentManagedActionHistory for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceException "ElasticBeanstalkServiceException" -// A generic service exception has occurred. +// - ErrCodeServiceException "ElasticBeanstalkServiceException" +// A generic service exception has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActionHistory func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionHistory(input *DescribeEnvironmentManagedActionHistoryInput) (*DescribeEnvironmentManagedActionHistoryOutput, error) { @@ -2012,15 +1999,14 @@ func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionHistoryWithContext(ct // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEnvironmentManagedActionHistory operation. -// pageNum := 0 -// err := client.DescribeEnvironmentManagedActionHistoryPages(params, -// func(page *elasticbeanstalk.DescribeEnvironmentManagedActionHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEnvironmentManagedActionHistory operation. +// pageNum := 0 +// err := client.DescribeEnvironmentManagedActionHistoryPages(params, +// func(page *elasticbeanstalk.DescribeEnvironmentManagedActionHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionHistoryPages(input *DescribeEnvironmentManagedActionHistoryInput, fn func(*DescribeEnvironmentManagedActionHistoryOutput, bool) bool) error { return c.DescribeEnvironmentManagedActionHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2072,14 +2058,13 @@ const opDescribeEnvironmentManagedActions = "DescribeEnvironmentManagedActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEnvironmentManagedActionsRequest method. +// req, resp := client.DescribeEnvironmentManagedActionsRequest(params) // -// // Example sending a request using the DescribeEnvironmentManagedActionsRequest method. -// req, resp := client.DescribeEnvironmentManagedActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActions func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionsRequest(input *DescribeEnvironmentManagedActionsInput) (req *request.Request, output *DescribeEnvironmentManagedActionsOutput) { @@ -2110,8 +2095,8 @@ func (c *ElasticBeanstalk) DescribeEnvironmentManagedActionsRequest(input *Descr // API operation DescribeEnvironmentManagedActions for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceException "ElasticBeanstalkServiceException" -// A generic service exception has occurred. +// - ErrCodeServiceException "ElasticBeanstalkServiceException" +// A generic service exception has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentManagedActions func (c *ElasticBeanstalk) DescribeEnvironmentManagedActions(input *DescribeEnvironmentManagedActionsInput) (*DescribeEnvironmentManagedActionsOutput, error) { @@ -2151,14 +2136,13 @@ const opDescribeEnvironmentResources = "DescribeEnvironmentResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEnvironmentResourcesRequest method. +// req, resp := client.DescribeEnvironmentResourcesRequest(params) // -// // Example sending a request using the DescribeEnvironmentResourcesRequest method. -// req, resp := client.DescribeEnvironmentResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentResources func (c *ElasticBeanstalk) DescribeEnvironmentResourcesRequest(input *DescribeEnvironmentResourcesInput) (req *request.Request, output *DescribeEnvironmentResourcesOutput) { @@ -2189,9 +2173,9 @@ func (c *ElasticBeanstalk) DescribeEnvironmentResourcesRequest(input *DescribeEn // API operation DescribeEnvironmentResources for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironmentResources func (c *ElasticBeanstalk) DescribeEnvironmentResources(input *DescribeEnvironmentResourcesInput) (*DescribeEnvironmentResourcesOutput, error) { @@ -2231,14 +2215,13 @@ const opDescribeEnvironments = "DescribeEnvironments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEnvironmentsRequest method. +// req, resp := client.DescribeEnvironmentsRequest(params) // -// // Example sending a request using the DescribeEnvironmentsRequest method. -// req, resp := client.DescribeEnvironmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEnvironments func (c *ElasticBeanstalk) DescribeEnvironmentsRequest(input *DescribeEnvironmentsInput) (req *request.Request, output *EnvironmentDescriptionsMessage) { @@ -2305,14 +2288,13 @@ const opDescribeEvents = "DescribeEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventsRequest method. +// req, resp := client.DescribeEventsRequest(params) // -// // Example sending a request using the DescribeEventsRequest method. -// req, resp := client.DescribeEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeEvents func (c *ElasticBeanstalk) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { @@ -2379,15 +2361,14 @@ func (c *ElasticBeanstalk) DescribeEventsWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEvents operation. -// pageNum := 0 -// err := client.DescribeEventsPages(params, -// func(page *elasticbeanstalk.DescribeEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEvents operation. +// pageNum := 0 +// err := client.DescribeEventsPages(params, +// func(page *elasticbeanstalk.DescribeEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticBeanstalk) DescribeEventsPages(input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool) error { return c.DescribeEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2439,14 +2420,13 @@ const opDescribeInstancesHealth = "DescribeInstancesHealth" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstancesHealthRequest method. +// req, resp := client.DescribeInstancesHealthRequest(params) // -// // Example sending a request using the DescribeInstancesHealthRequest method. -// req, resp := client.DescribeInstancesHealthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealth func (c *ElasticBeanstalk) DescribeInstancesHealthRequest(input *DescribeInstancesHealthInput) (req *request.Request, output *DescribeInstancesHealthOutput) { @@ -2478,12 +2458,13 @@ func (c *ElasticBeanstalk) DescribeInstancesHealthRequest(input *DescribeInstanc // API operation DescribeInstancesHealth for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidRequestException "InvalidRequestException" -// One or more input parameters is not valid. Please correct the input parameters -// and try the operation again. // -// * ErrCodeServiceException "ElasticBeanstalkServiceException" -// A generic service exception has occurred. +// - ErrCodeInvalidRequestException "InvalidRequestException" +// One or more input parameters is not valid. Please correct the input parameters +// and try the operation again. +// +// - ErrCodeServiceException "ElasticBeanstalkServiceException" +// A generic service exception has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribeInstancesHealth func (c *ElasticBeanstalk) DescribeInstancesHealth(input *DescribeInstancesHealthInput) (*DescribeInstancesHealthOutput, error) { @@ -2523,14 +2504,13 @@ const opDescribePlatformVersion = "DescribePlatformVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePlatformVersionRequest method. +// req, resp := client.DescribePlatformVersionRequest(params) // -// // Example sending a request using the DescribePlatformVersionRequest method. -// req, resp := client.DescribePlatformVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribePlatformVersion func (c *ElasticBeanstalk) DescribePlatformVersionRequest(input *DescribePlatformVersionInput) (req *request.Request, output *DescribePlatformVersionOutput) { @@ -2565,12 +2545,13 @@ func (c *ElasticBeanstalk) DescribePlatformVersionRequest(input *DescribePlatfor // API operation DescribePlatformVersion for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. // -// * ErrCodeServiceException "ElasticBeanstalkServiceException" -// A generic service exception has occurred. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. +// +// - ErrCodeServiceException "ElasticBeanstalkServiceException" +// A generic service exception has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DescribePlatformVersion func (c *ElasticBeanstalk) DescribePlatformVersion(input *DescribePlatformVersionInput) (*DescribePlatformVersionOutput, error) { @@ -2610,14 +2591,13 @@ const opDisassociateEnvironmentOperationsRole = "DisassociateEnvironmentOperatio // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateEnvironmentOperationsRoleRequest method. +// req, resp := client.DisassociateEnvironmentOperationsRoleRequest(params) // -// // Example sending a request using the DisassociateEnvironmentOperationsRoleRequest method. -// req, resp := client.DisassociateEnvironmentOperationsRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DisassociateEnvironmentOperationsRole func (c *ElasticBeanstalk) DisassociateEnvironmentOperationsRoleRequest(input *DisassociateEnvironmentOperationsRoleInput) (req *request.Request, output *DisassociateEnvironmentOperationsRoleOutput) { @@ -2653,9 +2633,9 @@ func (c *ElasticBeanstalk) DisassociateEnvironmentOperationsRoleRequest(input *D // API operation DisassociateEnvironmentOperationsRole for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/DisassociateEnvironmentOperationsRole func (c *ElasticBeanstalk) DisassociateEnvironmentOperationsRole(input *DisassociateEnvironmentOperationsRoleInput) (*DisassociateEnvironmentOperationsRoleOutput, error) { @@ -2695,14 +2675,13 @@ const opListAvailableSolutionStacks = "ListAvailableSolutionStacks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAvailableSolutionStacksRequest method. +// req, resp := client.ListAvailableSolutionStacksRequest(params) // -// // Example sending a request using the ListAvailableSolutionStacksRequest method. -// req, resp := client.ListAvailableSolutionStacksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListAvailableSolutionStacks func (c *ElasticBeanstalk) ListAvailableSolutionStacksRequest(input *ListAvailableSolutionStacksInput) (req *request.Request, output *ListAvailableSolutionStacksOutput) { @@ -2770,14 +2749,13 @@ const opListPlatformBranches = "ListPlatformBranches" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPlatformBranchesRequest method. +// req, resp := client.ListPlatformBranchesRequest(params) // -// // Example sending a request using the ListPlatformBranchesRequest method. -// req, resp := client.ListPlatformBranchesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformBranches func (c *ElasticBeanstalk) ListPlatformBranchesRequest(input *ListPlatformBranchesInput) (req *request.Request, output *ListPlatformBranchesOutput) { @@ -2846,15 +2824,14 @@ func (c *ElasticBeanstalk) ListPlatformBranchesWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPlatformBranches operation. -// pageNum := 0 -// err := client.ListPlatformBranchesPages(params, -// func(page *elasticbeanstalk.ListPlatformBranchesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPlatformBranches operation. +// pageNum := 0 +// err := client.ListPlatformBranchesPages(params, +// func(page *elasticbeanstalk.ListPlatformBranchesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticBeanstalk) ListPlatformBranchesPages(input *ListPlatformBranchesInput, fn func(*ListPlatformBranchesOutput, bool) bool) error { return c.ListPlatformBranchesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2906,14 +2883,13 @@ const opListPlatformVersions = "ListPlatformVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPlatformVersionsRequest method. +// req, resp := client.ListPlatformVersionsRequest(params) // -// // Example sending a request using the ListPlatformVersionsRequest method. -// req, resp := client.ListPlatformVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformVersions func (c *ElasticBeanstalk) ListPlatformVersionsRequest(input *ListPlatformVersionsInput) (req *request.Request, output *ListPlatformVersionsOutput) { @@ -2955,12 +2931,13 @@ func (c *ElasticBeanstalk) ListPlatformVersionsRequest(input *ListPlatformVersio // API operation ListPlatformVersions for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. // -// * ErrCodeServiceException "ElasticBeanstalkServiceException" -// A generic service exception has occurred. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. +// +// - ErrCodeServiceException "ElasticBeanstalkServiceException" +// A generic service exception has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListPlatformVersions func (c *ElasticBeanstalk) ListPlatformVersions(input *ListPlatformVersionsInput) (*ListPlatformVersionsOutput, error) { @@ -2992,15 +2969,14 @@ func (c *ElasticBeanstalk) ListPlatformVersionsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPlatformVersions operation. -// pageNum := 0 -// err := client.ListPlatformVersionsPages(params, -// func(page *elasticbeanstalk.ListPlatformVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPlatformVersions operation. +// pageNum := 0 +// err := client.ListPlatformVersionsPages(params, +// func(page *elasticbeanstalk.ListPlatformVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticBeanstalk) ListPlatformVersionsPages(input *ListPlatformVersionsInput, fn func(*ListPlatformVersionsOutput, bool) bool) error { return c.ListPlatformVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3052,14 +3028,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListTagsForResource func (c *ElasticBeanstalk) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -3094,16 +3069,17 @@ func (c *ElasticBeanstalk) ListTagsForResourceRequest(input *ListTagsForResource // API operation ListTagsForResource for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. // -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// A resource doesn't exist for the specified Amazon Resource Name (ARN). +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. +// +// - ErrCodeResourceNotFoundException "ResourceNotFoundException" +// A resource doesn't exist for the specified Amazon Resource Name (ARN). // -// * ErrCodeResourceTypeNotSupportedException "ResourceTypeNotSupportedException" -// The type of the specified Amazon Resource Name (ARN) isn't supported for -// this operation. +// - ErrCodeResourceTypeNotSupportedException "ResourceTypeNotSupportedException" +// The type of the specified Amazon Resource Name (ARN) isn't supported for +// this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ListTagsForResource func (c *ElasticBeanstalk) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3143,14 +3119,13 @@ const opRebuildEnvironment = "RebuildEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebuildEnvironmentRequest method. +// req, resp := client.RebuildEnvironmentRequest(params) // -// // Example sending a request using the RebuildEnvironmentRequest method. -// req, resp := client.RebuildEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RebuildEnvironment func (c *ElasticBeanstalk) RebuildEnvironmentRequest(input *RebuildEnvironmentInput) (req *request.Request, output *RebuildEnvironmentOutput) { @@ -3183,9 +3158,9 @@ func (c *ElasticBeanstalk) RebuildEnvironmentRequest(input *RebuildEnvironmentIn // API operation RebuildEnvironment for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RebuildEnvironment func (c *ElasticBeanstalk) RebuildEnvironment(input *RebuildEnvironmentInput) (*RebuildEnvironmentOutput, error) { @@ -3225,14 +3200,13 @@ const opRequestEnvironmentInfo = "RequestEnvironmentInfo" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RequestEnvironmentInfoRequest method. +// req, resp := client.RequestEnvironmentInfoRequest(params) // -// // Example sending a request using the RequestEnvironmentInfoRequest method. -// req, resp := client.RequestEnvironmentInfoRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RequestEnvironmentInfo func (c *ElasticBeanstalk) RequestEnvironmentInfoRequest(input *RequestEnvironmentInfoInput) (req *request.Request, output *RequestEnvironmentInfoOutput) { @@ -3268,7 +3242,7 @@ func (c *ElasticBeanstalk) RequestEnvironmentInfoRequest(input *RequestEnvironme // // Related Topics // -// * RetrieveEnvironmentInfo +// - RetrieveEnvironmentInfo // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3314,14 +3288,13 @@ const opRestartAppServer = "RestartAppServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestartAppServerRequest method. +// req, resp := client.RestartAppServerRequest(params) // -// // Example sending a request using the RestartAppServerRequest method. -// req, resp := client.RestartAppServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RestartAppServer func (c *ElasticBeanstalk) RestartAppServerRequest(input *RestartAppServerInput) (req *request.Request, output *RestartAppServerOutput) { @@ -3390,14 +3363,13 @@ const opRetrieveEnvironmentInfo = "RetrieveEnvironmentInfo" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RetrieveEnvironmentInfoRequest method. +// req, resp := client.RetrieveEnvironmentInfoRequest(params) // -// // Example sending a request using the RetrieveEnvironmentInfoRequest method. -// req, resp := client.RetrieveEnvironmentInfoRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RetrieveEnvironmentInfo func (c *ElasticBeanstalk) RetrieveEnvironmentInfoRequest(input *RetrieveEnvironmentInfoInput) (req *request.Request, output *RetrieveEnvironmentInfoOutput) { @@ -3422,7 +3394,7 @@ func (c *ElasticBeanstalk) RetrieveEnvironmentInfoRequest(input *RetrieveEnviron // // Related Topics // -// * RequestEnvironmentInfo +// - RequestEnvironmentInfo // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3468,14 +3440,13 @@ const opSwapEnvironmentCNAMEs = "SwapEnvironmentCNAMEs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SwapEnvironmentCNAMEsRequest method. +// req, resp := client.SwapEnvironmentCNAMEsRequest(params) // -// // Example sending a request using the SwapEnvironmentCNAMEsRequest method. -// req, resp := client.SwapEnvironmentCNAMEsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/SwapEnvironmentCNAMEs func (c *ElasticBeanstalk) SwapEnvironmentCNAMEsRequest(input *SwapEnvironmentCNAMEsInput) (req *request.Request, output *SwapEnvironmentCNAMEsOutput) { @@ -3543,14 +3514,13 @@ const opTerminateEnvironment = "TerminateEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TerminateEnvironmentRequest method. +// req, resp := client.TerminateEnvironmentRequest(params) // -// // Example sending a request using the TerminateEnvironmentRequest method. -// req, resp := client.TerminateEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironment func (c *ElasticBeanstalk) TerminateEnvironmentRequest(input *TerminateEnvironmentInput) (req *request.Request, output *EnvironmentDescription) { @@ -3581,9 +3551,9 @@ func (c *ElasticBeanstalk) TerminateEnvironmentRequest(input *TerminateEnvironme // API operation TerminateEnvironment for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/TerminateEnvironment func (c *ElasticBeanstalk) TerminateEnvironment(input *TerminateEnvironmentInput) (*EnvironmentDescription, error) { @@ -3623,14 +3593,13 @@ const opUpdateApplication = "UpdateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationRequest method. +// req, resp := client.UpdateApplicationRequest(params) // -// // Example sending a request using the UpdateApplicationRequest method. -// req, resp := client.UpdateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplication func (c *ElasticBeanstalk) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *ApplicationDescriptionMessage) { @@ -3700,14 +3669,13 @@ const opUpdateApplicationResourceLifecycle = "UpdateApplicationResourceLifecycle // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationResourceLifecycleRequest method. +// req, resp := client.UpdateApplicationResourceLifecycleRequest(params) // -// // Example sending a request using the UpdateApplicationResourceLifecycleRequest method. -// req, resp := client.UpdateApplicationResourceLifecycleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationResourceLifecycle func (c *ElasticBeanstalk) UpdateApplicationResourceLifecycleRequest(input *UpdateApplicationResourceLifecycleInput) (req *request.Request, output *UpdateApplicationResourceLifecycleOutput) { @@ -3738,9 +3706,9 @@ func (c *ElasticBeanstalk) UpdateApplicationResourceLifecycleRequest(input *Upda // API operation UpdateApplicationResourceLifecycle for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationResourceLifecycle func (c *ElasticBeanstalk) UpdateApplicationResourceLifecycle(input *UpdateApplicationResourceLifecycleInput) (*UpdateApplicationResourceLifecycleOutput, error) { @@ -3780,14 +3748,13 @@ const opUpdateApplicationVersion = "UpdateApplicationVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationVersionRequest method. +// req, resp := client.UpdateApplicationVersionRequest(params) // -// // Example sending a request using the UpdateApplicationVersionRequest method. -// req, resp := client.UpdateApplicationVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateApplicationVersion func (c *ElasticBeanstalk) UpdateApplicationVersionRequest(input *UpdateApplicationVersionInput) (req *request.Request, output *ApplicationVersionDescriptionMessage) { @@ -3857,14 +3824,13 @@ const opUpdateConfigurationTemplate = "UpdateConfigurationTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConfigurationTemplateRequest method. +// req, resp := client.UpdateConfigurationTemplateRequest(params) // -// // Example sending a request using the UpdateConfigurationTemplateRequest method. -// req, resp := client.UpdateConfigurationTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateConfigurationTemplate func (c *ElasticBeanstalk) UpdateConfigurationTemplateRequest(input *UpdateConfigurationTemplateInput) (req *request.Request, output *ConfigurationSettingsDescription) { @@ -3893,7 +3859,7 @@ func (c *ElasticBeanstalk) UpdateConfigurationTemplateRequest(input *UpdateConfi // // Related Topics // -// * DescribeConfigurationOptions +// - DescribeConfigurationOptions // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3903,12 +3869,13 @@ func (c *ElasticBeanstalk) UpdateConfigurationTemplateRequest(input *UpdateConfi // API operation UpdateConfigurationTemplate for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. // -// * ErrCodeTooManyBucketsException "TooManyBucketsException" -// The specified account has reached its limit of Amazon S3 buckets. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. +// +// - ErrCodeTooManyBucketsException "TooManyBucketsException" +// The specified account has reached its limit of Amazon S3 buckets. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateConfigurationTemplate func (c *ElasticBeanstalk) UpdateConfigurationTemplate(input *UpdateConfigurationTemplateInput) (*ConfigurationSettingsDescription, error) { @@ -3948,14 +3915,13 @@ const opUpdateEnvironment = "UpdateEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEnvironmentRequest method. +// req, resp := client.UpdateEnvironmentRequest(params) // -// // Example sending a request using the UpdateEnvironmentRequest method. -// req, resp := client.UpdateEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateEnvironment func (c *ElasticBeanstalk) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *request.Request, output *EnvironmentDescription) { @@ -3996,12 +3962,13 @@ func (c *ElasticBeanstalk) UpdateEnvironmentRequest(input *UpdateEnvironmentInpu // API operation UpdateEnvironment for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. // -// * ErrCodeTooManyBucketsException "TooManyBucketsException" -// The specified account has reached its limit of Amazon S3 buckets. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. +// +// - ErrCodeTooManyBucketsException "TooManyBucketsException" +// The specified account has reached its limit of Amazon S3 buckets. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateEnvironment func (c *ElasticBeanstalk) UpdateEnvironment(input *UpdateEnvironmentInput) (*EnvironmentDescription, error) { @@ -4041,14 +4008,13 @@ const opUpdateTagsForResource = "UpdateTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTagsForResourceRequest method. +// req, resp := client.UpdateTagsForResourceRequest(params) // -// // Example sending a request using the UpdateTagsForResourceRequest method. -// req, resp := client.UpdateTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResource func (c *ElasticBeanstalk) UpdateTagsForResourceRequest(input *UpdateTagsForResourceInput) (req *request.Request, output *UpdateTagsForResourceOutput) { @@ -4101,27 +4067,28 @@ func (c *ElasticBeanstalk) UpdateTagsForResourceRequest(input *UpdateTagsForReso // API operation UpdateTagsForResource for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. // -// * ErrCodeOperationInProgressException "OperationInProgressFailure" -// Unable to perform the specified operation because another operation that -// effects an element in this activity is already in progress. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. +// +// - ErrCodeOperationInProgressException "OperationInProgressFailure" +// Unable to perform the specified operation because another operation that +// effects an element in this activity is already in progress. // -// * ErrCodeTooManyTagsException "TooManyTagsException" -// The number of tags in the resource would exceed the number of tags that each -// resource can have. +// - ErrCodeTooManyTagsException "TooManyTagsException" +// The number of tags in the resource would exceed the number of tags that each +// resource can have. // -// To calculate this, the operation considers both the number of tags the resource -// already has and the tags this operation would add if it succeeded. +// To calculate this, the operation considers both the number of tags the resource +// already has and the tags this operation would add if it succeeded. // -// * ErrCodeResourceNotFoundException "ResourceNotFoundException" -// A resource doesn't exist for the specified Amazon Resource Name (ARN). +// - ErrCodeResourceNotFoundException "ResourceNotFoundException" +// A resource doesn't exist for the specified Amazon Resource Name (ARN). // -// * ErrCodeResourceTypeNotSupportedException "ResourceTypeNotSupportedException" -// The type of the specified Amazon Resource Name (ARN) isn't supported for -// this operation. +// - ErrCodeResourceTypeNotSupportedException "ResourceTypeNotSupportedException" +// The type of the specified Amazon Resource Name (ARN) isn't supported for +// this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/UpdateTagsForResource func (c *ElasticBeanstalk) UpdateTagsForResource(input *UpdateTagsForResourceInput) (*UpdateTagsForResourceOutput, error) { @@ -4161,14 +4128,13 @@ const opValidateConfigurationSettings = "ValidateConfigurationSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ValidateConfigurationSettingsRequest method. +// req, resp := client.ValidateConfigurationSettingsRequest(params) // -// // Example sending a request using the ValidateConfigurationSettingsRequest method. -// req, resp := client.ValidateConfigurationSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ValidateConfigurationSettings func (c *ElasticBeanstalk) ValidateConfigurationSettingsRequest(input *ValidateConfigurationSettingsInput) (req *request.Request, output *ValidateConfigurationSettingsOutput) { @@ -4203,12 +4169,13 @@ func (c *ElasticBeanstalk) ValidateConfigurationSettingsRequest(input *ValidateC // API operation ValidateConfigurationSettings for usage and error information. // // Returned Error Codes: -// * ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" -// The specified account does not have sufficient privileges for one or more -// AWS services. // -// * ErrCodeTooManyBucketsException "TooManyBucketsException" -// The specified account has reached its limit of Amazon S3 buckets. +// - ErrCodeInsufficientPrivilegesException "InsufficientPrivilegesException" +// The specified account does not have sufficient privileges for one or more +// AWS services. +// +// - ErrCodeTooManyBucketsException "TooManyBucketsException" +// The specified account has reached its limit of Amazon S3 buckets. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/ValidateConfigurationSettings func (c *ElasticBeanstalk) ValidateConfigurationSettings(input *ValidateConfigurationSettingsInput) (*ValidateConfigurationSettingsOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/doc.go index 9e4abcaea29c..a76cfcbe7436 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/doc.go @@ -15,7 +15,7 @@ // (IDE) Toolkits, and command line tools that enable you to access the API, // go to Tools for Amazon Web Services (http://aws.amazon.com/tools/). // -// Endpoints +// # Endpoints // // For a list of region-specific endpoints that AWS Elastic Beanstalk supports, // go to Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#elasticbeanstalk_region) @@ -26,7 +26,7 @@ // See elasticbeanstalk package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/elasticbeanstalk/ // -// Using the Client +// # Using the Client // // To contact AWS Elastic Beanstalk with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/elasticbeanstalkiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/elasticbeanstalkiface/interface.go index b4627970ad44..8c727d3cc1d4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/elasticbeanstalkiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/elasticbeanstalkiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Elastic Beanstalk. -// func myFunc(svc elasticbeanstalkiface.ElasticBeanstalkAPI) bool { -// // Make svc.AbortEnvironmentUpdate request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Elastic Beanstalk. +// func myFunc(svc elasticbeanstalkiface.ElasticBeanstalkAPI) bool { +// // Make svc.AbortEnvironmentUpdate request +// } // -// func main() { -// sess := session.New() -// svc := elasticbeanstalk.New(sess) +// func main() { +// sess := session.New() +// svc := elasticbeanstalk.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockElasticBeanstalkClient struct { -// elasticbeanstalkiface.ElasticBeanstalkAPI -// } -// func (m *mockElasticBeanstalkClient) AbortEnvironmentUpdate(input *elasticbeanstalk.AbortEnvironmentUpdateInput) (*elasticbeanstalk.AbortEnvironmentUpdateOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockElasticBeanstalkClient struct { +// elasticbeanstalkiface.ElasticBeanstalkAPI +// } +// func (m *mockElasticBeanstalkClient) AbortEnvironmentUpdate(input *elasticbeanstalk.AbortEnvironmentUpdateInput) (*elasticbeanstalk.AbortEnvironmentUpdateOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockElasticBeanstalkClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockElasticBeanstalkClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/service.go index 211770af9d37..ea55d06dee4c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticbeanstalk/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ElasticBeanstalk client from just a session. -// svc := elasticbeanstalk.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ElasticBeanstalk client with additional configuration -// svc := elasticbeanstalk.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ElasticBeanstalk client from just a session. +// svc := elasticbeanstalk.New(mySession) +// +// // Create a ElasticBeanstalk client with additional configuration +// svc := elasticbeanstalk.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ElasticBeanstalk { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/api.go index a3de74e8d8f2..2793e4631bf0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/api.go @@ -28,14 +28,13 @@ const opDescribeAcceleratorOfferings = "DescribeAcceleratorOfferings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAcceleratorOfferingsRequest method. +// req, resp := client.DescribeAcceleratorOfferingsRequest(params) // -// // Example sending a request using the DescribeAcceleratorOfferingsRequest method. -// req, resp := client.DescribeAcceleratorOfferingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/DescribeAcceleratorOfferings func (c *ElasticInference) DescribeAcceleratorOfferingsRequest(input *DescribeAcceleratorOfferingsInput) (req *request.Request, output *DescribeAcceleratorOfferingsOutput) { @@ -67,14 +66,15 @@ func (c *ElasticInference) DescribeAcceleratorOfferingsRequest(input *DescribeAc // API operation DescribeAcceleratorOfferings for usage and error information. // // Returned Error Types: -// * BadRequestException -// Raised when a malformed input has been provided to the API. // -// * ResourceNotFoundException -// Raised when the requested resource cannot be found. +// - BadRequestException +// Raised when a malformed input has been provided to the API. +// +// - ResourceNotFoundException +// Raised when the requested resource cannot be found. // -// * InternalServerException -// Raised when an unexpected error occurred during request processing. +// - InternalServerException +// Raised when an unexpected error occurred during request processing. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/DescribeAcceleratorOfferings func (c *ElasticInference) DescribeAcceleratorOfferings(input *DescribeAcceleratorOfferingsInput) (*DescribeAcceleratorOfferingsOutput, error) { @@ -114,14 +114,13 @@ const opDescribeAcceleratorTypes = "DescribeAcceleratorTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAcceleratorTypesRequest method. +// req, resp := client.DescribeAcceleratorTypesRequest(params) // -// // Example sending a request using the DescribeAcceleratorTypesRequest method. -// req, resp := client.DescribeAcceleratorTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/DescribeAcceleratorTypes func (c *ElasticInference) DescribeAcceleratorTypesRequest(input *DescribeAcceleratorTypesInput) (req *request.Request, output *DescribeAcceleratorTypesOutput) { @@ -153,8 +152,8 @@ func (c *ElasticInference) DescribeAcceleratorTypesRequest(input *DescribeAccele // API operation DescribeAcceleratorTypes for usage and error information. // // Returned Error Types: -// * InternalServerException -// Raised when an unexpected error occurred during request processing. +// - InternalServerException +// Raised when an unexpected error occurred during request processing. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/DescribeAcceleratorTypes func (c *ElasticInference) DescribeAcceleratorTypes(input *DescribeAcceleratorTypesInput) (*DescribeAcceleratorTypesOutput, error) { @@ -194,14 +193,13 @@ const opDescribeAccelerators = "DescribeAccelerators" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAcceleratorsRequest method. +// req, resp := client.DescribeAcceleratorsRequest(params) // -// // Example sending a request using the DescribeAcceleratorsRequest method. -// req, resp := client.DescribeAcceleratorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/DescribeAccelerators func (c *ElasticInference) DescribeAcceleratorsRequest(input *DescribeAcceleratorsInput) (req *request.Request, output *DescribeAcceleratorsOutput) { @@ -239,14 +237,15 @@ func (c *ElasticInference) DescribeAcceleratorsRequest(input *DescribeAccelerato // API operation DescribeAccelerators for usage and error information. // // Returned Error Types: -// * BadRequestException -// Raised when a malformed input has been provided to the API. // -// * ResourceNotFoundException -// Raised when the requested resource cannot be found. +// - BadRequestException +// Raised when a malformed input has been provided to the API. +// +// - ResourceNotFoundException +// Raised when the requested resource cannot be found. // -// * InternalServerException -// Raised when an unexpected error occurred during request processing. +// - InternalServerException +// Raised when an unexpected error occurred during request processing. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/DescribeAccelerators func (c *ElasticInference) DescribeAccelerators(input *DescribeAcceleratorsInput) (*DescribeAcceleratorsOutput, error) { @@ -278,15 +277,14 @@ func (c *ElasticInference) DescribeAcceleratorsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAccelerators operation. -// pageNum := 0 -// err := client.DescribeAcceleratorsPages(params, -// func(page *elasticinference.DescribeAcceleratorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAccelerators operation. +// pageNum := 0 +// err := client.DescribeAcceleratorsPages(params, +// func(page *elasticinference.DescribeAcceleratorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticInference) DescribeAcceleratorsPages(input *DescribeAcceleratorsInput, fn func(*DescribeAcceleratorsOutput, bool) bool) error { return c.DescribeAcceleratorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -338,14 +336,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/ListTagsForResource func (c *ElasticInference) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -376,14 +373,15 @@ func (c *ElasticInference) ListTagsForResourceRequest(input *ListTagsForResource // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// Raised when a malformed input has been provided to the API. // -// * ResourceNotFoundException -// Raised when the requested resource cannot be found. +// - BadRequestException +// Raised when a malformed input has been provided to the API. +// +// - ResourceNotFoundException +// Raised when the requested resource cannot be found. // -// * InternalServerException -// Raised when an unexpected error occurred during request processing. +// - InternalServerException +// Raised when an unexpected error occurred during request processing. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/ListTagsForResource func (c *ElasticInference) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -423,14 +421,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/TagResource func (c *ElasticInference) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -462,14 +459,15 @@ func (c *ElasticInference) TagResourceRequest(input *TagResourceInput) (req *req // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// Raised when a malformed input has been provided to the API. // -// * ResourceNotFoundException -// Raised when the requested resource cannot be found. +// - BadRequestException +// Raised when a malformed input has been provided to the API. // -// * InternalServerException -// Raised when an unexpected error occurred during request processing. +// - ResourceNotFoundException +// Raised when the requested resource cannot be found. +// +// - InternalServerException +// Raised when an unexpected error occurred during request processing. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/TagResource func (c *ElasticInference) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -509,14 +507,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/UntagResource func (c *ElasticInference) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -548,14 +545,15 @@ func (c *ElasticInference) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// Raised when a malformed input has been provided to the API. // -// * ResourceNotFoundException -// Raised when the requested resource cannot be found. +// - BadRequestException +// Raised when a malformed input has been provided to the API. +// +// - ResourceNotFoundException +// Raised when the requested resource cannot be found. // -// * InternalServerException -// Raised when an unexpected error occurred during request processing. +// - InternalServerException +// Raised when an unexpected error occurred during request processing. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/UntagResource func (c *ElasticInference) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/doc.go index d8614b7166a8..2967eabf1d18 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/doc.go @@ -10,7 +10,7 @@ // See elasticinference package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/elasticinference/ // -// Using the Client +// # Using the Client // // To contact Amazon Elastic Inference with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/elasticinferenceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/elasticinferenceiface/interface.go index a3a57487ac10..41b0f2062998 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/elasticinferenceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/elasticinferenceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Elastic Inference. -// func myFunc(svc elasticinferenceiface.ElasticInferenceAPI) bool { -// // Make svc.DescribeAcceleratorOfferings request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Elastic Inference. +// func myFunc(svc elasticinferenceiface.ElasticInferenceAPI) bool { +// // Make svc.DescribeAcceleratorOfferings request +// } // -// func main() { -// sess := session.New() -// svc := elasticinference.New(sess) +// func main() { +// sess := session.New() +// svc := elasticinference.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockElasticInferenceClient struct { -// elasticinferenceiface.ElasticInferenceAPI -// } -// func (m *mockElasticInferenceClient) DescribeAcceleratorOfferings(input *elasticinference.DescribeAcceleratorOfferingsInput) (*elasticinference.DescribeAcceleratorOfferingsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockElasticInferenceClient struct { +// elasticinferenceiface.ElasticInferenceAPI +// } +// func (m *mockElasticInferenceClient) DescribeAcceleratorOfferings(input *elasticinference.DescribeAcceleratorOfferingsInput) (*elasticinference.DescribeAcceleratorOfferingsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockElasticInferenceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockElasticInferenceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/service.go index 2bf268e1b1f0..61551ab3db51 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticinference/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ElasticInference client from just a session. -// svc := elasticinference.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ElasticInference client with additional configuration -// svc := elasticinference.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ElasticInference client from just a session. +// svc := elasticinference.New(mySession) +// +// // Create a ElasticInference client with additional configuration +// svc := elasticinference.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ElasticInference { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/api.go index e97ddeb9d267..5e4ede127551 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/api.go @@ -29,14 +29,13 @@ const opAcceptInboundCrossClusterSearchConnection = "AcceptInboundCrossClusterSe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptInboundCrossClusterSearchConnectionRequest method. +// req, resp := client.AcceptInboundCrossClusterSearchConnectionRequest(params) // -// // Example sending a request using the AcceptInboundCrossClusterSearchConnectionRequest method. -// req, resp := client.AcceptInboundCrossClusterSearchConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) AcceptInboundCrossClusterSearchConnectionRequest(input *AcceptInboundCrossClusterSearchConnectionInput) (req *request.Request, output *AcceptInboundCrossClusterSearchConnectionOutput) { op := &request.Operation{ Name: opAcceptInboundCrossClusterSearchConnection, @@ -66,18 +65,18 @@ func (c *ElasticsearchService) AcceptInboundCrossClusterSearchConnectionRequest( // API operation AcceptInboundCrossClusterSearchConnection for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. func (c *ElasticsearchService) AcceptInboundCrossClusterSearchConnection(input *AcceptInboundCrossClusterSearchConnectionInput) (*AcceptInboundCrossClusterSearchConnectionOutput, error) { req, out := c.AcceptInboundCrossClusterSearchConnectionRequest(input) return out, req.Send() @@ -115,14 +114,13 @@ const opAddTags = "AddTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsRequest method. +// req, resp := client.AddTagsRequest(params) // -// // Example sending a request using the AddTagsRequest method. -// req, resp := client.AddTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) { op := &request.Operation{ Name: opAddTags, @@ -154,22 +152,22 @@ func (c *ElasticsearchService) AddTagsRequest(input *AddTagsInput) (req *request // API operation AddTags for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - BaseException +// An error occurred while processing the request. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. func (c *ElasticsearchService) AddTags(input *AddTagsInput) (*AddTagsOutput, error) { req, out := c.AddTagsRequest(input) return out, req.Send() @@ -207,14 +205,13 @@ const opAssociatePackage = "AssociatePackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociatePackageRequest method. +// req, resp := client.AssociatePackageRequest(params) // -// // Example sending a request using the AssociatePackageRequest method. -// req, resp := client.AssociatePackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) AssociatePackageRequest(input *AssociatePackageInput) (req *request.Request, output *AssociatePackageOutput) { op := &request.Operation{ Name: opAssociatePackage, @@ -243,30 +240,30 @@ func (c *ElasticsearchService) AssociatePackageRequest(input *AssociatePackageIn // API operation AssociatePackage for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. // -// * ConflictException -// An error occurred because the client attempts to remove a resource that is -// currently in use. Returns HTTP status code 409. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // +// - ConflictException +// An error occurred because the client attempts to remove a resource that is +// currently in use. Returns HTTP status code 409. func (c *ElasticsearchService) AssociatePackage(input *AssociatePackageInput) (*AssociatePackageOutput, error) { req, out := c.AssociatePackageRequest(input) return out, req.Send() @@ -304,14 +301,13 @@ const opCancelElasticsearchServiceSoftwareUpdate = "CancelElasticsearchServiceSo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelElasticsearchServiceSoftwareUpdateRequest method. +// req, resp := client.CancelElasticsearchServiceSoftwareUpdateRequest(params) // -// // Example sending a request using the CancelElasticsearchServiceSoftwareUpdateRequest method. -// req, resp := client.CancelElasticsearchServiceSoftwareUpdateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) CancelElasticsearchServiceSoftwareUpdateRequest(input *CancelElasticsearchServiceSoftwareUpdateInput) (req *request.Request, output *CancelElasticsearchServiceSoftwareUpdateOutput) { op := &request.Operation{ Name: opCancelElasticsearchServiceSoftwareUpdate, @@ -342,22 +338,22 @@ func (c *ElasticsearchService) CancelElasticsearchServiceSoftwareUpdateRequest(i // API operation CancelElasticsearchServiceSoftwareUpdate for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) CancelElasticsearchServiceSoftwareUpdate(input *CancelElasticsearchServiceSoftwareUpdateInput) (*CancelElasticsearchServiceSoftwareUpdateOutput, error) { req, out := c.CancelElasticsearchServiceSoftwareUpdateRequest(input) return out, req.Send() @@ -395,14 +391,13 @@ const opCreateElasticsearchDomain = "CreateElasticsearchDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateElasticsearchDomainRequest method. +// req, resp := client.CreateElasticsearchDomainRequest(params) // -// // Example sending a request using the CreateElasticsearchDomainRequest method. -// req, resp := client.CreateElasticsearchDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) CreateElasticsearchDomainRequest(input *CreateElasticsearchDomainInput) (req *request.Request, output *CreateElasticsearchDomainOutput) { op := &request.Operation{ Name: opCreateElasticsearchDomain, @@ -433,34 +428,34 @@ func (c *ElasticsearchService) CreateElasticsearchDomainRequest(input *CreateEla // API operation CreateElasticsearchDomain for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - BaseException +// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // -// * InvalidTypeException -// An exception for trying to create or access sub-resource that is either invalid -// or not supported. Gives http status code of 409. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - InvalidTypeException +// An exception for trying to create or access sub-resource that is either invalid +// or not supported. Gives http status code of 409. // -// * ResourceAlreadyExistsException -// An exception for creating a resource that already exists. Gives http status -// code of 400. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceAlreadyExistsException +// An exception for creating a resource that already exists. Gives http status +// code of 400. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) CreateElasticsearchDomain(input *CreateElasticsearchDomainInput) (*CreateElasticsearchDomainOutput, error) { req, out := c.CreateElasticsearchDomainRequest(input) return out, req.Send() @@ -498,14 +493,13 @@ const opCreateOutboundCrossClusterSearchConnection = "CreateOutboundCrossCluster // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOutboundCrossClusterSearchConnectionRequest method. +// req, resp := client.CreateOutboundCrossClusterSearchConnectionRequest(params) // -// // Example sending a request using the CreateOutboundCrossClusterSearchConnectionRequest method. -// req, resp := client.CreateOutboundCrossClusterSearchConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) CreateOutboundCrossClusterSearchConnectionRequest(input *CreateOutboundCrossClusterSearchConnectionInput) (req *request.Request, output *CreateOutboundCrossClusterSearchConnectionOutput) { op := &request.Operation{ Name: opCreateOutboundCrossClusterSearchConnection, @@ -535,23 +529,23 @@ func (c *ElasticsearchService) CreateOutboundCrossClusterSearchConnectionRequest // API operation CreateOutboundCrossClusterSearchConnection for usage and error information. // // Returned Error Types: -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * ResourceAlreadyExistsException -// An exception for creating a resource that already exists. Gives http status -// code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - ResourceAlreadyExistsException +// An exception for creating a resource that already exists. Gives http status +// code of 400. // +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. func (c *ElasticsearchService) CreateOutboundCrossClusterSearchConnection(input *CreateOutboundCrossClusterSearchConnectionInput) (*CreateOutboundCrossClusterSearchConnectionOutput, error) { req, out := c.CreateOutboundCrossClusterSearchConnectionRequest(input) return out, req.Send() @@ -589,14 +583,13 @@ const opCreatePackage = "CreatePackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePackageRequest method. +// req, resp := client.CreatePackageRequest(params) // -// // Example sending a request using the CreatePackageRequest method. -// req, resp := client.CreatePackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) CreatePackageRequest(input *CreatePackageInput) (req *request.Request, output *CreatePackageOutput) { op := &request.Operation{ Name: opCreatePackage, @@ -625,34 +618,34 @@ func (c *ElasticsearchService) CreatePackageRequest(input *CreatePackageInput) ( // API operation CreatePackage for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * InvalidTypeException -// An exception for trying to create or access sub-resource that is either invalid -// or not supported. Gives http status code of 409. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * ResourceAlreadyExistsException -// An exception for creating a resource that already exists. Gives http status -// code of 400. +// - InvalidTypeException +// An exception for trying to create or access sub-resource that is either invalid +// or not supported. Gives http status code of 409. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - ResourceAlreadyExistsException +// An exception for creating a resource that already exists. Gives http status +// code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) CreatePackage(input *CreatePackageInput) (*CreatePackageOutput, error) { req, out := c.CreatePackageRequest(input) return out, req.Send() @@ -690,14 +683,13 @@ const opDeleteElasticsearchDomain = "DeleteElasticsearchDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteElasticsearchDomainRequest method. +// req, resp := client.DeleteElasticsearchDomainRequest(params) // -// // Example sending a request using the DeleteElasticsearchDomainRequest method. -// req, resp := client.DeleteElasticsearchDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DeleteElasticsearchDomainRequest(input *DeleteElasticsearchDomainInput) (req *request.Request, output *DeleteElasticsearchDomainOutput) { op := &request.Operation{ Name: opDeleteElasticsearchDomain, @@ -727,22 +719,22 @@ func (c *ElasticsearchService) DeleteElasticsearchDomainRequest(input *DeleteEla // API operation DeleteElasticsearchDomain for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) DeleteElasticsearchDomain(input *DeleteElasticsearchDomainInput) (*DeleteElasticsearchDomainOutput, error) { req, out := c.DeleteElasticsearchDomainRequest(input) return out, req.Send() @@ -780,14 +772,13 @@ const opDeleteElasticsearchServiceRole = "DeleteElasticsearchServiceRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteElasticsearchServiceRoleRequest method. +// req, resp := client.DeleteElasticsearchServiceRoleRequest(params) // -// // Example sending a request using the DeleteElasticsearchServiceRoleRequest method. -// req, resp := client.DeleteElasticsearchServiceRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DeleteElasticsearchServiceRoleRequest(input *DeleteElasticsearchServiceRoleInput) (req *request.Request, output *DeleteElasticsearchServiceRoleOutput) { op := &request.Operation{ Name: opDeleteElasticsearchServiceRole, @@ -821,18 +812,18 @@ func (c *ElasticsearchService) DeleteElasticsearchServiceRoleRequest(input *Dele // API operation DeleteElasticsearchServiceRole for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) DeleteElasticsearchServiceRole(input *DeleteElasticsearchServiceRoleInput) (*DeleteElasticsearchServiceRoleOutput, error) { req, out := c.DeleteElasticsearchServiceRoleRequest(input) return out, req.Send() @@ -870,14 +861,13 @@ const opDeleteInboundCrossClusterSearchConnection = "DeleteInboundCrossClusterSe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInboundCrossClusterSearchConnectionRequest method. +// req, resp := client.DeleteInboundCrossClusterSearchConnectionRequest(params) // -// // Example sending a request using the DeleteInboundCrossClusterSearchConnectionRequest method. -// req, resp := client.DeleteInboundCrossClusterSearchConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DeleteInboundCrossClusterSearchConnectionRequest(input *DeleteInboundCrossClusterSearchConnectionInput) (req *request.Request, output *DeleteInboundCrossClusterSearchConnectionOutput) { op := &request.Operation{ Name: opDeleteInboundCrossClusterSearchConnection, @@ -907,14 +897,14 @@ func (c *ElasticsearchService) DeleteInboundCrossClusterSearchConnectionRequest( // API operation DeleteInboundCrossClusterSearchConnection for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. func (c *ElasticsearchService) DeleteInboundCrossClusterSearchConnection(input *DeleteInboundCrossClusterSearchConnectionInput) (*DeleteInboundCrossClusterSearchConnectionOutput, error) { req, out := c.DeleteInboundCrossClusterSearchConnectionRequest(input) return out, req.Send() @@ -952,14 +942,13 @@ const opDeleteOutboundCrossClusterSearchConnection = "DeleteOutboundCrossCluster // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOutboundCrossClusterSearchConnectionRequest method. +// req, resp := client.DeleteOutboundCrossClusterSearchConnectionRequest(params) // -// // Example sending a request using the DeleteOutboundCrossClusterSearchConnectionRequest method. -// req, resp := client.DeleteOutboundCrossClusterSearchConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DeleteOutboundCrossClusterSearchConnectionRequest(input *DeleteOutboundCrossClusterSearchConnectionInput) (req *request.Request, output *DeleteOutboundCrossClusterSearchConnectionOutput) { op := &request.Operation{ Name: opDeleteOutboundCrossClusterSearchConnection, @@ -989,14 +978,14 @@ func (c *ElasticsearchService) DeleteOutboundCrossClusterSearchConnectionRequest // API operation DeleteOutboundCrossClusterSearchConnection for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. func (c *ElasticsearchService) DeleteOutboundCrossClusterSearchConnection(input *DeleteOutboundCrossClusterSearchConnectionInput) (*DeleteOutboundCrossClusterSearchConnectionOutput, error) { req, out := c.DeleteOutboundCrossClusterSearchConnectionRequest(input) return out, req.Send() @@ -1034,14 +1023,13 @@ const opDeletePackage = "DeletePackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePackageRequest method. +// req, resp := client.DeletePackageRequest(params) // -// // Example sending a request using the DeletePackageRequest method. -// req, resp := client.DeletePackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DeletePackageRequest(input *DeletePackageInput) (req *request.Request, output *DeletePackageOutput) { op := &request.Operation{ Name: opDeletePackage, @@ -1070,30 +1058,30 @@ func (c *ElasticsearchService) DeletePackageRequest(input *DeletePackageInput) ( // API operation DeletePackage for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. // -// * ConflictException -// An error occurred because the client attempts to remove a resource that is -// currently in use. Returns HTTP status code 409. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // +// - ConflictException +// An error occurred because the client attempts to remove a resource that is +// currently in use. Returns HTTP status code 409. func (c *ElasticsearchService) DeletePackage(input *DeletePackageInput) (*DeletePackageOutput, error) { req, out := c.DeletePackageRequest(input) return out, req.Send() @@ -1131,14 +1119,13 @@ const opDescribeDomainAutoTunes = "DescribeDomainAutoTunes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainAutoTunesRequest method. +// req, resp := client.DescribeDomainAutoTunesRequest(params) // -// // Example sending a request using the DescribeDomainAutoTunesRequest method. -// req, resp := client.DescribeDomainAutoTunesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DescribeDomainAutoTunesRequest(input *DescribeDomainAutoTunesInput) (req *request.Request, output *DescribeDomainAutoTunesOutput) { op := &request.Operation{ Name: opDescribeDomainAutoTunes, @@ -1174,22 +1161,22 @@ func (c *ElasticsearchService) DescribeDomainAutoTunesRequest(input *DescribeDom // API operation DescribeDomainAutoTunes for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) DescribeDomainAutoTunes(input *DescribeDomainAutoTunesInput) (*DescribeDomainAutoTunesOutput, error) { req, out := c.DescribeDomainAutoTunesRequest(input) return out, req.Send() @@ -1219,15 +1206,14 @@ func (c *ElasticsearchService) DescribeDomainAutoTunesWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDomainAutoTunes operation. -// pageNum := 0 -// err := client.DescribeDomainAutoTunesPages(params, -// func(page *elasticsearchservice.DescribeDomainAutoTunesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDomainAutoTunes operation. +// pageNum := 0 +// err := client.DescribeDomainAutoTunesPages(params, +// func(page *elasticsearchservice.DescribeDomainAutoTunesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticsearchService) DescribeDomainAutoTunesPages(input *DescribeDomainAutoTunesInput, fn func(*DescribeDomainAutoTunesOutput, bool) bool) error { return c.DescribeDomainAutoTunesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1279,14 +1265,13 @@ const opDescribeDomainChangeProgress = "DescribeDomainChangeProgress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainChangeProgressRequest method. +// req, resp := client.DescribeDomainChangeProgressRequest(params) // -// // Example sending a request using the DescribeDomainChangeProgressRequest method. -// req, resp := client.DescribeDomainChangeProgressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DescribeDomainChangeProgressRequest(input *DescribeDomainChangeProgressInput) (req *request.Request, output *DescribeDomainChangeProgressOutput) { op := &request.Operation{ Name: opDescribeDomainChangeProgress, @@ -1316,22 +1301,22 @@ func (c *ElasticsearchService) DescribeDomainChangeProgressRequest(input *Descri // API operation DescribeDomainChangeProgress for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) DescribeDomainChangeProgress(input *DescribeDomainChangeProgressInput) (*DescribeDomainChangeProgressOutput, error) { req, out := c.DescribeDomainChangeProgressRequest(input) return out, req.Send() @@ -1369,14 +1354,13 @@ const opDescribeElasticsearchDomain = "DescribeElasticsearchDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeElasticsearchDomainRequest method. +// req, resp := client.DescribeElasticsearchDomainRequest(params) // -// // Example sending a request using the DescribeElasticsearchDomainRequest method. -// req, resp := client.DescribeElasticsearchDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DescribeElasticsearchDomainRequest(input *DescribeElasticsearchDomainInput) (req *request.Request, output *DescribeElasticsearchDomainOutput) { op := &request.Operation{ Name: opDescribeElasticsearchDomain, @@ -1406,22 +1390,22 @@ func (c *ElasticsearchService) DescribeElasticsearchDomainRequest(input *Describ // API operation DescribeElasticsearchDomain for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) DescribeElasticsearchDomain(input *DescribeElasticsearchDomainInput) (*DescribeElasticsearchDomainOutput, error) { req, out := c.DescribeElasticsearchDomainRequest(input) return out, req.Send() @@ -1459,14 +1443,13 @@ const opDescribeElasticsearchDomainConfig = "DescribeElasticsearchDomainConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeElasticsearchDomainConfigRequest method. +// req, resp := client.DescribeElasticsearchDomainConfigRequest(params) // -// // Example sending a request using the DescribeElasticsearchDomainConfigRequest method. -// req, resp := client.DescribeElasticsearchDomainConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DescribeElasticsearchDomainConfigRequest(input *DescribeElasticsearchDomainConfigInput) (req *request.Request, output *DescribeElasticsearchDomainConfigOutput) { op := &request.Operation{ Name: opDescribeElasticsearchDomainConfig, @@ -1497,22 +1480,22 @@ func (c *ElasticsearchService) DescribeElasticsearchDomainConfigRequest(input *D // API operation DescribeElasticsearchDomainConfig for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) DescribeElasticsearchDomainConfig(input *DescribeElasticsearchDomainConfigInput) (*DescribeElasticsearchDomainConfigOutput, error) { req, out := c.DescribeElasticsearchDomainConfigRequest(input) return out, req.Send() @@ -1550,14 +1533,13 @@ const opDescribeElasticsearchDomains = "DescribeElasticsearchDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeElasticsearchDomainsRequest method. +// req, resp := client.DescribeElasticsearchDomainsRequest(params) // -// // Example sending a request using the DescribeElasticsearchDomainsRequest method. -// req, resp := client.DescribeElasticsearchDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DescribeElasticsearchDomainsRequest(input *DescribeElasticsearchDomainsInput) (req *request.Request, output *DescribeElasticsearchDomainsOutput) { op := &request.Operation{ Name: opDescribeElasticsearchDomains, @@ -1587,18 +1569,18 @@ func (c *ElasticsearchService) DescribeElasticsearchDomainsRequest(input *Descri // API operation DescribeElasticsearchDomains for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) DescribeElasticsearchDomains(input *DescribeElasticsearchDomainsInput) (*DescribeElasticsearchDomainsOutput, error) { req, out := c.DescribeElasticsearchDomainsRequest(input) return out, req.Send() @@ -1636,14 +1618,13 @@ const opDescribeElasticsearchInstanceTypeLimits = "DescribeElasticsearchInstance // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeElasticsearchInstanceTypeLimitsRequest method. +// req, resp := client.DescribeElasticsearchInstanceTypeLimitsRequest(params) // -// // Example sending a request using the DescribeElasticsearchInstanceTypeLimitsRequest method. -// req, resp := client.DescribeElasticsearchInstanceTypeLimitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DescribeElasticsearchInstanceTypeLimitsRequest(input *DescribeElasticsearchInstanceTypeLimitsInput) (req *request.Request, output *DescribeElasticsearchInstanceTypeLimitsOutput) { op := &request.Operation{ Name: opDescribeElasticsearchInstanceTypeLimits, @@ -1674,30 +1655,30 @@ func (c *ElasticsearchService) DescribeElasticsearchInstanceTypeLimitsRequest(in // API operation DescribeElasticsearchInstanceTypeLimits for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * InvalidTypeException -// An exception for trying to create or access sub-resource that is either invalid -// or not supported. Gives http status code of 409. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - InvalidTypeException +// An exception for trying to create or access sub-resource that is either invalid +// or not supported. Gives http status code of 409. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) DescribeElasticsearchInstanceTypeLimits(input *DescribeElasticsearchInstanceTypeLimitsInput) (*DescribeElasticsearchInstanceTypeLimitsOutput, error) { req, out := c.DescribeElasticsearchInstanceTypeLimitsRequest(input) return out, req.Send() @@ -1735,14 +1716,13 @@ const opDescribeInboundCrossClusterSearchConnections = "DescribeInboundCrossClus // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInboundCrossClusterSearchConnectionsRequest method. +// req, resp := client.DescribeInboundCrossClusterSearchConnectionsRequest(params) // -// // Example sending a request using the DescribeInboundCrossClusterSearchConnectionsRequest method. -// req, resp := client.DescribeInboundCrossClusterSearchConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DescribeInboundCrossClusterSearchConnectionsRequest(input *DescribeInboundCrossClusterSearchConnectionsInput) (req *request.Request, output *DescribeInboundCrossClusterSearchConnectionsOutput) { op := &request.Operation{ Name: opDescribeInboundCrossClusterSearchConnections, @@ -1778,14 +1758,14 @@ func (c *ElasticsearchService) DescribeInboundCrossClusterSearchConnectionsReque // API operation DescribeInboundCrossClusterSearchConnections for usage and error information. // // Returned Error Types: -// * InvalidPaginationTokenException -// The request processing has failed because of invalid pagination token provided -// by customer. Returns an HTTP status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - InvalidPaginationTokenException +// The request processing has failed because of invalid pagination token provided +// by customer. Returns an HTTP status code of 400. // +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. func (c *ElasticsearchService) DescribeInboundCrossClusterSearchConnections(input *DescribeInboundCrossClusterSearchConnectionsInput) (*DescribeInboundCrossClusterSearchConnectionsOutput, error) { req, out := c.DescribeInboundCrossClusterSearchConnectionsRequest(input) return out, req.Send() @@ -1815,15 +1795,14 @@ func (c *ElasticsearchService) DescribeInboundCrossClusterSearchConnectionsWithC // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInboundCrossClusterSearchConnections operation. -// pageNum := 0 -// err := client.DescribeInboundCrossClusterSearchConnectionsPages(params, -// func(page *elasticsearchservice.DescribeInboundCrossClusterSearchConnectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInboundCrossClusterSearchConnections operation. +// pageNum := 0 +// err := client.DescribeInboundCrossClusterSearchConnectionsPages(params, +// func(page *elasticsearchservice.DescribeInboundCrossClusterSearchConnectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticsearchService) DescribeInboundCrossClusterSearchConnectionsPages(input *DescribeInboundCrossClusterSearchConnectionsInput, fn func(*DescribeInboundCrossClusterSearchConnectionsOutput, bool) bool) error { return c.DescribeInboundCrossClusterSearchConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1875,14 +1854,13 @@ const opDescribeOutboundCrossClusterSearchConnections = "DescribeOutboundCrossCl // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOutboundCrossClusterSearchConnectionsRequest method. +// req, resp := client.DescribeOutboundCrossClusterSearchConnectionsRequest(params) // -// // Example sending a request using the DescribeOutboundCrossClusterSearchConnectionsRequest method. -// req, resp := client.DescribeOutboundCrossClusterSearchConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DescribeOutboundCrossClusterSearchConnectionsRequest(input *DescribeOutboundCrossClusterSearchConnectionsInput) (req *request.Request, output *DescribeOutboundCrossClusterSearchConnectionsOutput) { op := &request.Operation{ Name: opDescribeOutboundCrossClusterSearchConnections, @@ -1917,14 +1895,14 @@ func (c *ElasticsearchService) DescribeOutboundCrossClusterSearchConnectionsRequ // API operation DescribeOutboundCrossClusterSearchConnections for usage and error information. // // Returned Error Types: -// * InvalidPaginationTokenException -// The request processing has failed because of invalid pagination token provided -// by customer. Returns an HTTP status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - InvalidPaginationTokenException +// The request processing has failed because of invalid pagination token provided +// by customer. Returns an HTTP status code of 400. // +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. func (c *ElasticsearchService) DescribeOutboundCrossClusterSearchConnections(input *DescribeOutboundCrossClusterSearchConnectionsInput) (*DescribeOutboundCrossClusterSearchConnectionsOutput, error) { req, out := c.DescribeOutboundCrossClusterSearchConnectionsRequest(input) return out, req.Send() @@ -1954,15 +1932,14 @@ func (c *ElasticsearchService) DescribeOutboundCrossClusterSearchConnectionsWith // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOutboundCrossClusterSearchConnections operation. -// pageNum := 0 -// err := client.DescribeOutboundCrossClusterSearchConnectionsPages(params, -// func(page *elasticsearchservice.DescribeOutboundCrossClusterSearchConnectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOutboundCrossClusterSearchConnections operation. +// pageNum := 0 +// err := client.DescribeOutboundCrossClusterSearchConnectionsPages(params, +// func(page *elasticsearchservice.DescribeOutboundCrossClusterSearchConnectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticsearchService) DescribeOutboundCrossClusterSearchConnectionsPages(input *DescribeOutboundCrossClusterSearchConnectionsInput, fn func(*DescribeOutboundCrossClusterSearchConnectionsOutput, bool) bool) error { return c.DescribeOutboundCrossClusterSearchConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2014,14 +1991,13 @@ const opDescribePackages = "DescribePackages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePackagesRequest method. +// req, resp := client.DescribePackagesRequest(params) // -// // Example sending a request using the DescribePackagesRequest method. -// req, resp := client.DescribePackagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DescribePackagesRequest(input *DescribePackagesInput) (req *request.Request, output *DescribePackagesOutput) { op := &request.Operation{ Name: opDescribePackages, @@ -2057,26 +2033,26 @@ func (c *ElasticsearchService) DescribePackagesRequest(input *DescribePackagesIn // API operation DescribePackages for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) DescribePackages(input *DescribePackagesInput) (*DescribePackagesOutput, error) { req, out := c.DescribePackagesRequest(input) return out, req.Send() @@ -2106,15 +2082,14 @@ func (c *ElasticsearchService) DescribePackagesWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePackages operation. -// pageNum := 0 -// err := client.DescribePackagesPages(params, -// func(page *elasticsearchservice.DescribePackagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePackages operation. +// pageNum := 0 +// err := client.DescribePackagesPages(params, +// func(page *elasticsearchservice.DescribePackagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticsearchService) DescribePackagesPages(input *DescribePackagesInput, fn func(*DescribePackagesOutput, bool) bool) error { return c.DescribePackagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2166,14 +2141,13 @@ const opDescribeReservedElasticsearchInstanceOfferings = "DescribeReservedElasti // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservedElasticsearchInstanceOfferingsRequest method. +// req, resp := client.DescribeReservedElasticsearchInstanceOfferingsRequest(params) // -// // Example sending a request using the DescribeReservedElasticsearchInstanceOfferingsRequest method. -// req, resp := client.DescribeReservedElasticsearchInstanceOfferingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DescribeReservedElasticsearchInstanceOfferingsRequest(input *DescribeReservedElasticsearchInstanceOfferingsInput) (req *request.Request, output *DescribeReservedElasticsearchInstanceOfferingsOutput) { op := &request.Operation{ Name: opDescribeReservedElasticsearchInstanceOfferings, @@ -2208,23 +2182,23 @@ func (c *ElasticsearchService) DescribeReservedElasticsearchInstanceOfferingsReq // API operation DescribeReservedElasticsearchInstanceOfferings for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. func (c *ElasticsearchService) DescribeReservedElasticsearchInstanceOfferings(input *DescribeReservedElasticsearchInstanceOfferingsInput) (*DescribeReservedElasticsearchInstanceOfferingsOutput, error) { req, out := c.DescribeReservedElasticsearchInstanceOfferingsRequest(input) return out, req.Send() @@ -2254,15 +2228,14 @@ func (c *ElasticsearchService) DescribeReservedElasticsearchInstanceOfferingsWit // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReservedElasticsearchInstanceOfferings operation. -// pageNum := 0 -// err := client.DescribeReservedElasticsearchInstanceOfferingsPages(params, -// func(page *elasticsearchservice.DescribeReservedElasticsearchInstanceOfferingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReservedElasticsearchInstanceOfferings operation. +// pageNum := 0 +// err := client.DescribeReservedElasticsearchInstanceOfferingsPages(params, +// func(page *elasticsearchservice.DescribeReservedElasticsearchInstanceOfferingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticsearchService) DescribeReservedElasticsearchInstanceOfferingsPages(input *DescribeReservedElasticsearchInstanceOfferingsInput, fn func(*DescribeReservedElasticsearchInstanceOfferingsOutput, bool) bool) error { return c.DescribeReservedElasticsearchInstanceOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2314,14 +2287,13 @@ const opDescribeReservedElasticsearchInstances = "DescribeReservedElasticsearchI // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservedElasticsearchInstancesRequest method. +// req, resp := client.DescribeReservedElasticsearchInstancesRequest(params) // -// // Example sending a request using the DescribeReservedElasticsearchInstancesRequest method. -// req, resp := client.DescribeReservedElasticsearchInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DescribeReservedElasticsearchInstancesRequest(input *DescribeReservedElasticsearchInstancesInput) (req *request.Request, output *DescribeReservedElasticsearchInstancesOutput) { op := &request.Operation{ Name: opDescribeReservedElasticsearchInstances, @@ -2356,23 +2328,23 @@ func (c *ElasticsearchService) DescribeReservedElasticsearchInstancesRequest(inp // API operation DescribeReservedElasticsearchInstances for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. func (c *ElasticsearchService) DescribeReservedElasticsearchInstances(input *DescribeReservedElasticsearchInstancesInput) (*DescribeReservedElasticsearchInstancesOutput, error) { req, out := c.DescribeReservedElasticsearchInstancesRequest(input) return out, req.Send() @@ -2402,15 +2374,14 @@ func (c *ElasticsearchService) DescribeReservedElasticsearchInstancesWithContext // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReservedElasticsearchInstances operation. -// pageNum := 0 -// err := client.DescribeReservedElasticsearchInstancesPages(params, -// func(page *elasticsearchservice.DescribeReservedElasticsearchInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReservedElasticsearchInstances operation. +// pageNum := 0 +// err := client.DescribeReservedElasticsearchInstancesPages(params, +// func(page *elasticsearchservice.DescribeReservedElasticsearchInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticsearchService) DescribeReservedElasticsearchInstancesPages(input *DescribeReservedElasticsearchInstancesInput, fn func(*DescribeReservedElasticsearchInstancesOutput, bool) bool) error { return c.DescribeReservedElasticsearchInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2462,14 +2433,13 @@ const opDissociatePackage = "DissociatePackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DissociatePackageRequest method. +// req, resp := client.DissociatePackageRequest(params) // -// // Example sending a request using the DissociatePackageRequest method. -// req, resp := client.DissociatePackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) DissociatePackageRequest(input *DissociatePackageInput) (req *request.Request, output *DissociatePackageOutput) { op := &request.Operation{ Name: opDissociatePackage, @@ -2498,30 +2468,30 @@ func (c *ElasticsearchService) DissociatePackageRequest(input *DissociatePackage // API operation DissociatePackage for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. // -// * ConflictException -// An error occurred because the client attempts to remove a resource that is -// currently in use. Returns HTTP status code 409. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // +// - ConflictException +// An error occurred because the client attempts to remove a resource that is +// currently in use. Returns HTTP status code 409. func (c *ElasticsearchService) DissociatePackage(input *DissociatePackageInput) (*DissociatePackageOutput, error) { req, out := c.DissociatePackageRequest(input) return out, req.Send() @@ -2559,14 +2529,13 @@ const opGetCompatibleElasticsearchVersions = "GetCompatibleElasticsearchVersions // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCompatibleElasticsearchVersionsRequest method. +// req, resp := client.GetCompatibleElasticsearchVersionsRequest(params) // -// // Example sending a request using the GetCompatibleElasticsearchVersionsRequest method. -// req, resp := client.GetCompatibleElasticsearchVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) GetCompatibleElasticsearchVersionsRequest(input *GetCompatibleElasticsearchVersionsInput) (req *request.Request, output *GetCompatibleElasticsearchVersionsOutput) { op := &request.Operation{ Name: opGetCompatibleElasticsearchVersions, @@ -2597,26 +2566,26 @@ func (c *ElasticsearchService) GetCompatibleElasticsearchVersionsRequest(input * // API operation GetCompatibleElasticsearchVersions for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - BaseException +// An error occurred while processing the request. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. func (c *ElasticsearchService) GetCompatibleElasticsearchVersions(input *GetCompatibleElasticsearchVersionsInput) (*GetCompatibleElasticsearchVersionsOutput, error) { req, out := c.GetCompatibleElasticsearchVersionsRequest(input) return out, req.Send() @@ -2654,14 +2623,13 @@ const opGetPackageVersionHistory = "GetPackageVersionHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPackageVersionHistoryRequest method. +// req, resp := client.GetPackageVersionHistoryRequest(params) // -// // Example sending a request using the GetPackageVersionHistoryRequest method. -// req, resp := client.GetPackageVersionHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) GetPackageVersionHistoryRequest(input *GetPackageVersionHistoryInput) (req *request.Request, output *GetPackageVersionHistoryOutput) { op := &request.Operation{ Name: opGetPackageVersionHistory, @@ -2697,26 +2665,26 @@ func (c *ElasticsearchService) GetPackageVersionHistoryRequest(input *GetPackage // API operation GetPackageVersionHistory for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) GetPackageVersionHistory(input *GetPackageVersionHistoryInput) (*GetPackageVersionHistoryOutput, error) { req, out := c.GetPackageVersionHistoryRequest(input) return out, req.Send() @@ -2746,15 +2714,14 @@ func (c *ElasticsearchService) GetPackageVersionHistoryWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetPackageVersionHistory operation. -// pageNum := 0 -// err := client.GetPackageVersionHistoryPages(params, -// func(page *elasticsearchservice.GetPackageVersionHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetPackageVersionHistory operation. +// pageNum := 0 +// err := client.GetPackageVersionHistoryPages(params, +// func(page *elasticsearchservice.GetPackageVersionHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticsearchService) GetPackageVersionHistoryPages(input *GetPackageVersionHistoryInput, fn func(*GetPackageVersionHistoryOutput, bool) bool) error { return c.GetPackageVersionHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2806,14 +2773,13 @@ const opGetUpgradeHistory = "GetUpgradeHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUpgradeHistoryRequest method. +// req, resp := client.GetUpgradeHistoryRequest(params) // -// // Example sending a request using the GetUpgradeHistoryRequest method. -// req, resp := client.GetUpgradeHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) GetUpgradeHistoryRequest(input *GetUpgradeHistoryInput) (req *request.Request, output *GetUpgradeHistoryOutput) { op := &request.Operation{ Name: opGetUpgradeHistory, @@ -2849,26 +2815,26 @@ func (c *ElasticsearchService) GetUpgradeHistoryRequest(input *GetUpgradeHistory // API operation GetUpgradeHistory for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - BaseException +// An error occurred while processing the request. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. func (c *ElasticsearchService) GetUpgradeHistory(input *GetUpgradeHistoryInput) (*GetUpgradeHistoryOutput, error) { req, out := c.GetUpgradeHistoryRequest(input) return out, req.Send() @@ -2898,15 +2864,14 @@ func (c *ElasticsearchService) GetUpgradeHistoryWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetUpgradeHistory operation. -// pageNum := 0 -// err := client.GetUpgradeHistoryPages(params, -// func(page *elasticsearchservice.GetUpgradeHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetUpgradeHistory operation. +// pageNum := 0 +// err := client.GetUpgradeHistoryPages(params, +// func(page *elasticsearchservice.GetUpgradeHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticsearchService) GetUpgradeHistoryPages(input *GetUpgradeHistoryInput, fn func(*GetUpgradeHistoryOutput, bool) bool) error { return c.GetUpgradeHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2958,14 +2923,13 @@ const opGetUpgradeStatus = "GetUpgradeStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUpgradeStatusRequest method. +// req, resp := client.GetUpgradeStatusRequest(params) // -// // Example sending a request using the GetUpgradeStatusRequest method. -// req, resp := client.GetUpgradeStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) GetUpgradeStatusRequest(input *GetUpgradeStatusInput) (req *request.Request, output *GetUpgradeStatusOutput) { op := &request.Operation{ Name: opGetUpgradeStatus, @@ -2995,26 +2959,26 @@ func (c *ElasticsearchService) GetUpgradeStatusRequest(input *GetUpgradeStatusIn // API operation GetUpgradeStatus for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - BaseException +// An error occurred while processing the request. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. func (c *ElasticsearchService) GetUpgradeStatus(input *GetUpgradeStatusInput) (*GetUpgradeStatusOutput, error) { req, out := c.GetUpgradeStatusRequest(input) return out, req.Send() @@ -3052,14 +3016,13 @@ const opListDomainNames = "ListDomainNames" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainNamesRequest method. +// req, resp := client.ListDomainNamesRequest(params) // -// // Example sending a request using the ListDomainNamesRequest method. -// req, resp := client.ListDomainNamesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) ListDomainNamesRequest(input *ListDomainNamesInput) (req *request.Request, output *ListDomainNamesOutput) { op := &request.Operation{ Name: opListDomainNames, @@ -3089,13 +3052,13 @@ func (c *ElasticsearchService) ListDomainNamesRequest(input *ListDomainNamesInpu // API operation ListDomainNames for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - BaseException +// An error occurred while processing the request. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) ListDomainNames(input *ListDomainNamesInput) (*ListDomainNamesOutput, error) { req, out := c.ListDomainNamesRequest(input) return out, req.Send() @@ -3133,14 +3096,13 @@ const opListDomainsForPackage = "ListDomainsForPackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainsForPackageRequest method. +// req, resp := client.ListDomainsForPackageRequest(params) // -// // Example sending a request using the ListDomainsForPackageRequest method. -// req, resp := client.ListDomainsForPackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) ListDomainsForPackageRequest(input *ListDomainsForPackageInput) (req *request.Request, output *ListDomainsForPackageOutput) { op := &request.Operation{ Name: opListDomainsForPackage, @@ -3175,26 +3137,26 @@ func (c *ElasticsearchService) ListDomainsForPackageRequest(input *ListDomainsFo // API operation ListDomainsForPackage for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) ListDomainsForPackage(input *ListDomainsForPackageInput) (*ListDomainsForPackageOutput, error) { req, out := c.ListDomainsForPackageRequest(input) return out, req.Send() @@ -3224,15 +3186,14 @@ func (c *ElasticsearchService) ListDomainsForPackageWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDomainsForPackage operation. -// pageNum := 0 -// err := client.ListDomainsForPackagePages(params, -// func(page *elasticsearchservice.ListDomainsForPackageOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDomainsForPackage operation. +// pageNum := 0 +// err := client.ListDomainsForPackagePages(params, +// func(page *elasticsearchservice.ListDomainsForPackageOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticsearchService) ListDomainsForPackagePages(input *ListDomainsForPackageInput, fn func(*ListDomainsForPackageOutput, bool) bool) error { return c.ListDomainsForPackagePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3284,14 +3245,13 @@ const opListElasticsearchInstanceTypes = "ListElasticsearchInstanceTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListElasticsearchInstanceTypesRequest method. +// req, resp := client.ListElasticsearchInstanceTypesRequest(params) // -// // Example sending a request using the ListElasticsearchInstanceTypesRequest method. -// req, resp := client.ListElasticsearchInstanceTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) ListElasticsearchInstanceTypesRequest(input *ListElasticsearchInstanceTypesInput) (req *request.Request, output *ListElasticsearchInstanceTypesOutput) { op := &request.Operation{ Name: opListElasticsearchInstanceTypes, @@ -3316,7 +3276,7 @@ func (c *ElasticsearchService) ListElasticsearchInstanceTypesRequest(input *List // ListElasticsearchInstanceTypes API operation for Amazon Elasticsearch Service. // -// List all Elasticsearch instance types that are supported for given ElasticsearchVersion +// # List all Elasticsearch instance types that are supported for given ElasticsearchVersion // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3326,22 +3286,22 @@ func (c *ElasticsearchService) ListElasticsearchInstanceTypesRequest(input *List // API operation ListElasticsearchInstanceTypes for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) ListElasticsearchInstanceTypes(input *ListElasticsearchInstanceTypesInput) (*ListElasticsearchInstanceTypesOutput, error) { req, out := c.ListElasticsearchInstanceTypesRequest(input) return out, req.Send() @@ -3371,15 +3331,14 @@ func (c *ElasticsearchService) ListElasticsearchInstanceTypesWithContext(ctx aws // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListElasticsearchInstanceTypes operation. -// pageNum := 0 -// err := client.ListElasticsearchInstanceTypesPages(params, -// func(page *elasticsearchservice.ListElasticsearchInstanceTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListElasticsearchInstanceTypes operation. +// pageNum := 0 +// err := client.ListElasticsearchInstanceTypesPages(params, +// func(page *elasticsearchservice.ListElasticsearchInstanceTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticsearchService) ListElasticsearchInstanceTypesPages(input *ListElasticsearchInstanceTypesInput, fn func(*ListElasticsearchInstanceTypesOutput, bool) bool) error { return c.ListElasticsearchInstanceTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3431,14 +3390,13 @@ const opListElasticsearchVersions = "ListElasticsearchVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListElasticsearchVersionsRequest method. +// req, resp := client.ListElasticsearchVersionsRequest(params) // -// // Example sending a request using the ListElasticsearchVersionsRequest method. -// req, resp := client.ListElasticsearchVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) ListElasticsearchVersionsRequest(input *ListElasticsearchVersionsInput) (req *request.Request, output *ListElasticsearchVersionsOutput) { op := &request.Operation{ Name: opListElasticsearchVersions, @@ -3463,7 +3421,7 @@ func (c *ElasticsearchService) ListElasticsearchVersionsRequest(input *ListElast // ListElasticsearchVersions API operation for Amazon Elasticsearch Service. // -// List all supported Elasticsearch versions +// # List all supported Elasticsearch versions // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3473,22 +3431,22 @@ func (c *ElasticsearchService) ListElasticsearchVersionsRequest(input *ListElast // API operation ListElasticsearchVersions for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) ListElasticsearchVersions(input *ListElasticsearchVersionsInput) (*ListElasticsearchVersionsOutput, error) { req, out := c.ListElasticsearchVersionsRequest(input) return out, req.Send() @@ -3518,15 +3476,14 @@ func (c *ElasticsearchService) ListElasticsearchVersionsWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListElasticsearchVersions operation. -// pageNum := 0 -// err := client.ListElasticsearchVersionsPages(params, -// func(page *elasticsearchservice.ListElasticsearchVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListElasticsearchVersions operation. +// pageNum := 0 +// err := client.ListElasticsearchVersionsPages(params, +// func(page *elasticsearchservice.ListElasticsearchVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticsearchService) ListElasticsearchVersionsPages(input *ListElasticsearchVersionsInput, fn func(*ListElasticsearchVersionsOutput, bool) bool) error { return c.ListElasticsearchVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3578,14 +3535,13 @@ const opListPackagesForDomain = "ListPackagesForDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPackagesForDomainRequest method. +// req, resp := client.ListPackagesForDomainRequest(params) // -// // Example sending a request using the ListPackagesForDomainRequest method. -// req, resp := client.ListPackagesForDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) ListPackagesForDomainRequest(input *ListPackagesForDomainInput) (req *request.Request, output *ListPackagesForDomainOutput) { op := &request.Operation{ Name: opListPackagesForDomain, @@ -3620,26 +3576,26 @@ func (c *ElasticsearchService) ListPackagesForDomainRequest(input *ListPackagesF // API operation ListPackagesForDomain for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) ListPackagesForDomain(input *ListPackagesForDomainInput) (*ListPackagesForDomainOutput, error) { req, out := c.ListPackagesForDomainRequest(input) return out, req.Send() @@ -3669,15 +3625,14 @@ func (c *ElasticsearchService) ListPackagesForDomainWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPackagesForDomain operation. -// pageNum := 0 -// err := client.ListPackagesForDomainPages(params, -// func(page *elasticsearchservice.ListPackagesForDomainOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPackagesForDomain operation. +// pageNum := 0 +// err := client.ListPackagesForDomainPages(params, +// func(page *elasticsearchservice.ListPackagesForDomainOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticsearchService) ListPackagesForDomainPages(input *ListPackagesForDomainInput, fn func(*ListPackagesForDomainOutput, bool) bool) error { return c.ListPackagesForDomainPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3729,14 +3684,13 @@ const opListTags = "ListTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsRequest method. +// req, resp := client.ListTagsRequest(params) // -// // Example sending a request using the ListTagsRequest method. -// req, resp := client.ListTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { op := &request.Operation{ Name: opListTags, @@ -3765,22 +3719,22 @@ func (c *ElasticsearchService) ListTagsRequest(input *ListTagsInput) (req *reque // API operation ListTags for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - BaseException +// An error occurred while processing the request. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. func (c *ElasticsearchService) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { req, out := c.ListTagsRequest(input) return out, req.Send() @@ -3818,14 +3772,13 @@ const opPurchaseReservedElasticsearchInstanceOffering = "PurchaseReservedElastic // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PurchaseReservedElasticsearchInstanceOfferingRequest method. +// req, resp := client.PurchaseReservedElasticsearchInstanceOfferingRequest(params) // -// // Example sending a request using the PurchaseReservedElasticsearchInstanceOfferingRequest method. -// req, resp := client.PurchaseReservedElasticsearchInstanceOfferingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) PurchaseReservedElasticsearchInstanceOfferingRequest(input *PurchaseReservedElasticsearchInstanceOfferingInput) (req *request.Request, output *PurchaseReservedElasticsearchInstanceOfferingOutput) { op := &request.Operation{ Name: opPurchaseReservedElasticsearchInstanceOffering, @@ -3854,31 +3807,31 @@ func (c *ElasticsearchService) PurchaseReservedElasticsearchInstanceOfferingRequ // API operation PurchaseReservedElasticsearchInstanceOffering for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. // -// * ResourceAlreadyExistsException -// An exception for creating a resource that already exists. Gives http status -// code of 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - ResourceAlreadyExistsException +// An exception for creating a resource that already exists. Gives http status +// code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. func (c *ElasticsearchService) PurchaseReservedElasticsearchInstanceOffering(input *PurchaseReservedElasticsearchInstanceOfferingInput) (*PurchaseReservedElasticsearchInstanceOfferingOutput, error) { req, out := c.PurchaseReservedElasticsearchInstanceOfferingRequest(input) return out, req.Send() @@ -3916,14 +3869,13 @@ const opRejectInboundCrossClusterSearchConnection = "RejectInboundCrossClusterSe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectInboundCrossClusterSearchConnectionRequest method. +// req, resp := client.RejectInboundCrossClusterSearchConnectionRequest(params) // -// // Example sending a request using the RejectInboundCrossClusterSearchConnectionRequest method. -// req, resp := client.RejectInboundCrossClusterSearchConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) RejectInboundCrossClusterSearchConnectionRequest(input *RejectInboundCrossClusterSearchConnectionInput) (req *request.Request, output *RejectInboundCrossClusterSearchConnectionOutput) { op := &request.Operation{ Name: opRejectInboundCrossClusterSearchConnection, @@ -3953,14 +3905,14 @@ func (c *ElasticsearchService) RejectInboundCrossClusterSearchConnectionRequest( // API operation RejectInboundCrossClusterSearchConnection for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. func (c *ElasticsearchService) RejectInboundCrossClusterSearchConnection(input *RejectInboundCrossClusterSearchConnectionInput) (*RejectInboundCrossClusterSearchConnectionOutput, error) { req, out := c.RejectInboundCrossClusterSearchConnectionRequest(input) return out, req.Send() @@ -3998,14 +3950,13 @@ const opRemoveTags = "RemoveTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsRequest method. +// req, resp := client.RemoveTagsRequest(params) // -// // Example sending a request using the RemoveTagsRequest method. -// req, resp := client.RemoveTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) { op := &request.Operation{ Name: opRemoveTags, @@ -4035,18 +3986,18 @@ func (c *ElasticsearchService) RemoveTagsRequest(input *RemoveTagsInput) (req *r // API operation RemoveTags for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - BaseException +// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. func (c *ElasticsearchService) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) { req, out := c.RemoveTagsRequest(input) return out, req.Send() @@ -4084,14 +4035,13 @@ const opStartElasticsearchServiceSoftwareUpdate = "StartElasticsearchServiceSoft // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartElasticsearchServiceSoftwareUpdateRequest method. +// req, resp := client.StartElasticsearchServiceSoftwareUpdateRequest(params) // -// // Example sending a request using the StartElasticsearchServiceSoftwareUpdateRequest method. -// req, resp := client.StartElasticsearchServiceSoftwareUpdateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) StartElasticsearchServiceSoftwareUpdateRequest(input *StartElasticsearchServiceSoftwareUpdateInput) (req *request.Request, output *StartElasticsearchServiceSoftwareUpdateOutput) { op := &request.Operation{ Name: opStartElasticsearchServiceSoftwareUpdate, @@ -4120,22 +4070,22 @@ func (c *ElasticsearchService) StartElasticsearchServiceSoftwareUpdateRequest(in // API operation StartElasticsearchServiceSoftwareUpdate for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) StartElasticsearchServiceSoftwareUpdate(input *StartElasticsearchServiceSoftwareUpdateInput) (*StartElasticsearchServiceSoftwareUpdateOutput, error) { req, out := c.StartElasticsearchServiceSoftwareUpdateRequest(input) return out, req.Send() @@ -4173,14 +4123,13 @@ const opUpdateElasticsearchDomainConfig = "UpdateElasticsearchDomainConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateElasticsearchDomainConfigRequest method. +// req, resp := client.UpdateElasticsearchDomainConfigRequest(params) // -// // Example sending a request using the UpdateElasticsearchDomainConfigRequest method. -// req, resp := client.UpdateElasticsearchDomainConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) UpdateElasticsearchDomainConfigRequest(input *UpdateElasticsearchDomainConfigInput) (req *request.Request, output *UpdateElasticsearchDomainConfigOutput) { op := &request.Operation{ Name: opUpdateElasticsearchDomainConfig, @@ -4210,30 +4159,30 @@ func (c *ElasticsearchService) UpdateElasticsearchDomainConfigRequest(input *Upd // API operation UpdateElasticsearchDomainConfig for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * InvalidTypeException -// An exception for trying to create or access sub-resource that is either invalid -// or not supported. Gives http status code of 409. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - InvalidTypeException +// An exception for trying to create or access sub-resource that is either invalid +// or not supported. Gives http status code of 409. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) UpdateElasticsearchDomainConfig(input *UpdateElasticsearchDomainConfigInput) (*UpdateElasticsearchDomainConfigOutput, error) { req, out := c.UpdateElasticsearchDomainConfigRequest(input) return out, req.Send() @@ -4271,14 +4220,13 @@ const opUpdatePackage = "UpdatePackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePackageRequest method. +// req, resp := client.UpdatePackageRequest(params) // -// // Example sending a request using the UpdatePackageRequest method. -// req, resp := client.UpdatePackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) UpdatePackageRequest(input *UpdatePackageInput) (req *request.Request, output *UpdatePackageOutput) { op := &request.Operation{ Name: opUpdatePackage, @@ -4307,30 +4255,30 @@ func (c *ElasticsearchService) UpdatePackageRequest(input *UpdatePackageInput) ( // API operation UpdatePackage for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. // +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. func (c *ElasticsearchService) UpdatePackage(input *UpdatePackageInput) (*UpdatePackageOutput, error) { req, out := c.UpdatePackageRequest(input) return out, req.Send() @@ -4368,14 +4316,13 @@ const opUpgradeElasticsearchDomain = "UpgradeElasticsearchDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpgradeElasticsearchDomainRequest method. +// req, resp := client.UpgradeElasticsearchDomainRequest(params) // -// // Example sending a request using the UpgradeElasticsearchDomainRequest method. -// req, resp := client.UpgradeElasticsearchDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticsearchService) UpgradeElasticsearchDomainRequest(input *UpgradeElasticsearchDomainInput) (req *request.Request, output *UpgradeElasticsearchDomainOutput) { op := &request.Operation{ Name: opUpgradeElasticsearchDomain, @@ -4405,30 +4352,30 @@ func (c *ElasticsearchService) UpgradeElasticsearchDomainRequest(input *UpgradeE // API operation UpgradeElasticsearchDomain for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - BaseException +// An error occurred while processing the request. // -// * ResourceAlreadyExistsException -// An exception for creating a resource that already exists. Gives http status -// code of 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - ResourceAlreadyExistsException +// An exception for creating a resource that already exists. Gives http status +// code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. func (c *ElasticsearchService) UpgradeElasticsearchDomain(input *UpgradeElasticsearchDomainInput) (*UpgradeElasticsearchDomainOutput, error) { req, out := c.UpgradeElasticsearchDomainRequest(input) return out, req.Send() @@ -4792,12 +4739,12 @@ func (s *AdditionalLimit) SetLimitValues(v []*string) *AdditionalLimit { // Status of the advanced options for the specified Elasticsearch domain. Currently, // the following advanced options are available: // -// * Option to allow references to indices in an HTTP request body. Must -// be false when configuring access to individual sub-resources. By default, -// the value is true. See Configuration Advanced Options for more information. +// - Option to allow references to indices in an HTTP request body. Must +// be false when configuring access to individual sub-resources. By default, +// the value is true. See Configuration Advanced Options for more information. // -// * Option to specify the percentage of heap space that is allocated to -// field data. By default, this setting is unbounded. +// - Option to specify the percentage of heap space that is allocated to +// field data. By default, this setting is unbounded. // // For more information, see Configuring Advanced Options (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options). type AdvancedOptionsStatus struct { @@ -11451,11 +11398,12 @@ func (s *ListTagsOutput) SetTagList(v []*Tag) *ListTagsOutput { // Log Publishing option that is set for given domain. Attributes and their // details: -// * CloudWatchLogsLogGroupArn: ARN of the Cloudwatch log group to which -// log needs to be published. // -// * Enabled: Whether the log publishing for given log type is enabled or -// not +// - CloudWatchLogsLogGroupArn: ARN of the Cloudwatch log group to which +// log needs to be published. +// +// - Enabled: Whether the log publishing for given log type is enabled or +// not type LogPublishingOption struct { _ struct{} `type:"structure"` @@ -14923,18 +14871,19 @@ func InboundCrossClusterSearchConnectionStatusCode_Values() []string { } // Type of Log File, it can be one of the following: -// * INDEX_SLOW_LOGS: Index slow logs contain insert requests that took more -// time than configured index query log threshold to execute. // -// * SEARCH_SLOW_LOGS: Search slow logs contain search queries that took -// more time than configured search query log threshold to execute. +// - INDEX_SLOW_LOGS: Index slow logs contain insert requests that took more +// time than configured index query log threshold to execute. +// +// - SEARCH_SLOW_LOGS: Search slow logs contain search queries that took +// more time than configured search query log threshold to execute. // -// * ES_APPLICATION_LOGS: Elasticsearch application logs contain information -// about errors and warnings raised during the operation of the service and -// can be useful for troubleshooting. +// - ES_APPLICATION_LOGS: Elasticsearch application logs contain information +// about errors and warnings raised during the operation of the service and +// can be useful for troubleshooting. // -// * AUDIT_LOGS: Audit logs contain records of user requests for access from -// the domain. +// - AUDIT_LOGS: Audit logs contain records of user requests for access from +// the domain. const ( // LogTypeIndexSlowLogs is a LogType enum value LogTypeIndexSlowLogs = "INDEX_SLOW_LOGS" @@ -14961,10 +14910,10 @@ func LogType_Values() []string { // The state of a requested change. One of the following: // -// * Processing: The request change is still in-process. +// - Processing: The request change is still in-process. // -// * Active: The request change is processed and deployed to the Elasticsearch -// domain. +// - Active: The request change is processed and deployed to the Elasticsearch +// domain. const ( // OptionStateRequiresIndexDocuments is a OptionState enum value OptionStateRequiresIndexDocuments = "RequiresIndexDocuments" diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/doc.go index fa8988a22d2a..b97b9b43effa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/doc.go @@ -18,7 +18,7 @@ // See elasticsearchservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/elasticsearchservice/ // -// Using the Client +// # Using the Client // // To contact Amazon Elasticsearch Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/elasticsearchserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/elasticsearchserviceiface/interface.go index ad2b87fe4781..62453ed0d332 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/elasticsearchserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/elasticsearchserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Elasticsearch Service. -// func myFunc(svc elasticsearchserviceiface.ElasticsearchServiceAPI) bool { -// // Make svc.AcceptInboundCrossClusterSearchConnection request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Elasticsearch Service. +// func myFunc(svc elasticsearchserviceiface.ElasticsearchServiceAPI) bool { +// // Make svc.AcceptInboundCrossClusterSearchConnection request +// } // -// func main() { -// sess := session.New() -// svc := elasticsearchservice.New(sess) +// func main() { +// sess := session.New() +// svc := elasticsearchservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockElasticsearchServiceClient struct { -// elasticsearchserviceiface.ElasticsearchServiceAPI -// } -// func (m *mockElasticsearchServiceClient) AcceptInboundCrossClusterSearchConnection(input *elasticsearchservice.AcceptInboundCrossClusterSearchConnectionInput) (*elasticsearchservice.AcceptInboundCrossClusterSearchConnectionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockElasticsearchServiceClient struct { +// elasticsearchserviceiface.ElasticsearchServiceAPI +// } +// func (m *mockElasticsearchServiceClient) AcceptInboundCrossClusterSearchConnection(input *elasticsearchservice.AcceptInboundCrossClusterSearchConnectionInput) (*elasticsearchservice.AcceptInboundCrossClusterSearchConnectionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockElasticsearchServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockElasticsearchServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/service.go index 38ac8852b32f..20a1c12d5f9f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elasticsearchservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ElasticsearchService client from just a session. -// svc := elasticsearchservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ElasticsearchService client with additional configuration -// svc := elasticsearchservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ElasticsearchService client from just a session. +// svc := elasticsearchservice.New(mySession) +// +// // Create a ElasticsearchService client with additional configuration +// svc := elasticsearchservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ElasticsearchService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/api.go index e46ed58504ae..2ea5c8b09db4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/api.go @@ -28,14 +28,13 @@ const opCancelJob = "CancelJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelJobRequest method. +// req, resp := client.CancelJobRequest(params) // -// // Example sending a request using the CancelJobRequest method. -// req, resp := client.CancelJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) CancelJobRequest(input *CancelJobInput) (req *request.Request, output *CancelJobOutput) { op := &request.Operation{ Name: opCancelJob, @@ -69,27 +68,27 @@ func (c *ElasticTranscoder) CancelJobRequest(input *CancelJobInput) (req *reques // API operation CancelJob for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * ResourceNotFoundException -// The requested resource does not exist or is not available. For example, the -// pipeline to which you're trying to add a job doesn't exist or is still being -// created. +// - IncompatibleVersionException // -// * ResourceInUseException -// The resource you are attempting to change is in use. For example, you are -// attempting to delete a pipeline that is currently in use. +// - ResourceNotFoundException +// The requested resource does not exist or is not available. For example, the +// pipeline to which you're trying to add a job doesn't exist or is still being +// created. // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - ResourceInUseException +// The resource you are attempting to change is in use. For example, you are +// attempting to delete a pipeline that is currently in use. // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) CancelJob(input *CancelJobInput) (*CancelJobOutput, error) { req, out := c.CancelJobRequest(input) return out, req.Send() @@ -127,14 +126,13 @@ const opCreateJob = "CreateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateJobRequest method. +// req, resp := client.CreateJobRequest(params) // -// // Example sending a request using the CreateJobRequest method. -// req, resp := client.CreateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobResponse) { op := &request.Operation{ Name: opCreateJob, @@ -169,27 +167,27 @@ func (c *ElasticTranscoder) CreateJobRequest(input *CreateJobInput) (req *reques // API operation CreateJob for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * ResourceNotFoundException -// The requested resource does not exist or is not available. For example, the -// pipeline to which you're trying to add a job doesn't exist or is still being -// created. +// - IncompatibleVersionException // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - ResourceNotFoundException +// The requested resource does not exist or is not available. For example, the +// pipeline to which you're trying to add a job doesn't exist or is still being +// created. // -// * LimitExceededException -// Too many operations for a given AWS account. For example, the number of pipelines -// exceeds the maximum allowed. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - LimitExceededException +// Too many operations for a given AWS account. For example, the number of pipelines +// exceeds the maximum allowed. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) CreateJob(input *CreateJobInput) (*CreateJobResponse, error) { req, out := c.CreateJobRequest(input) return out, req.Send() @@ -227,14 +225,13 @@ const opCreatePipeline = "CreatePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePipelineRequest method. +// req, resp := client.CreatePipelineRequest(params) // -// // Example sending a request using the CreatePipelineRequest method. -// req, resp := client.CreatePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) CreatePipelineRequest(input *CreatePipelineInput) (req *request.Request, output *CreatePipelineOutput) { op := &request.Operation{ Name: opCreatePipeline, @@ -263,27 +260,27 @@ func (c *ElasticTranscoder) CreatePipelineRequest(input *CreatePipelineInput) (r // API operation CreatePipeline for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - IncompatibleVersionException // -// * ResourceNotFoundException -// The requested resource does not exist or is not available. For example, the -// pipeline to which you're trying to add a job doesn't exist or is still being -// created. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // -// * LimitExceededException -// Too many operations for a given AWS account. For example, the number of pipelines -// exceeds the maximum allowed. +// - ResourceNotFoundException +// The requested resource does not exist or is not available. For example, the +// pipeline to which you're trying to add a job doesn't exist or is still being +// created. // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - LimitExceededException +// Too many operations for a given AWS account. For example, the number of pipelines +// exceeds the maximum allowed. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error) { req, out := c.CreatePipelineRequest(input) return out, req.Send() @@ -321,14 +318,13 @@ const opCreatePreset = "CreatePreset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePresetRequest method. +// req, resp := client.CreatePresetRequest(params) // -// // Example sending a request using the CreatePresetRequest method. -// req, resp := client.CreatePresetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) CreatePresetRequest(input *CreatePresetInput) (req *request.Request, output *CreatePresetOutput) { op := &request.Operation{ Name: opCreatePreset, @@ -371,22 +367,22 @@ func (c *ElasticTranscoder) CreatePresetRequest(input *CreatePresetInput) (req * // API operation CreatePreset for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - IncompatibleVersionException // -// * LimitExceededException -// Too many operations for a given AWS account. For example, the number of pipelines -// exceeds the maximum allowed. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - LimitExceededException +// Too many operations for a given AWS account. For example, the number of pipelines +// exceeds the maximum allowed. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) CreatePreset(input *CreatePresetInput) (*CreatePresetOutput, error) { req, out := c.CreatePresetRequest(input) return out, req.Send() @@ -424,14 +420,13 @@ const opDeletePipeline = "DeletePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePipelineRequest method. +// req, resp := client.DeletePipelineRequest(params) // -// // Example sending a request using the DeletePipelineRequest method. -// req, resp := client.DeletePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) DeletePipelineRequest(input *DeletePipelineInput) (req *request.Request, output *DeletePipelineOutput) { op := &request.Operation{ Name: opDeletePipeline, @@ -465,27 +460,27 @@ func (c *ElasticTranscoder) DeletePipelineRequest(input *DeletePipelineInput) (r // API operation DeletePipeline for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * ResourceNotFoundException -// The requested resource does not exist or is not available. For example, the -// pipeline to which you're trying to add a job doesn't exist or is still being -// created. +// - IncompatibleVersionException // -// * ResourceInUseException -// The resource you are attempting to change is in use. For example, you are -// attempting to delete a pipeline that is currently in use. +// - ResourceNotFoundException +// The requested resource does not exist or is not available. For example, the +// pipeline to which you're trying to add a job doesn't exist or is still being +// created. // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - ResourceInUseException +// The resource you are attempting to change is in use. For example, you are +// attempting to delete a pipeline that is currently in use. // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error) { req, out := c.DeletePipelineRequest(input) return out, req.Send() @@ -523,14 +518,13 @@ const opDeletePreset = "DeletePreset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePresetRequest method. +// req, resp := client.DeletePresetRequest(params) // -// // Example sending a request using the DeletePresetRequest method. -// req, resp := client.DeletePresetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) DeletePresetRequest(input *DeletePresetInput) (req *request.Request, output *DeletePresetOutput) { op := &request.Operation{ Name: opDeletePreset, @@ -562,23 +556,23 @@ func (c *ElasticTranscoder) DeletePresetRequest(input *DeletePresetInput) (req * // API operation DeletePreset for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * ResourceNotFoundException -// The requested resource does not exist or is not available. For example, the -// pipeline to which you're trying to add a job doesn't exist or is still being -// created. +// - IncompatibleVersionException // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - ResourceNotFoundException +// The requested resource does not exist or is not available. For example, the +// pipeline to which you're trying to add a job doesn't exist or is still being +// created. // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) DeletePreset(input *DeletePresetInput) (*DeletePresetOutput, error) { req, out := c.DeletePresetRequest(input) return out, req.Send() @@ -616,14 +610,13 @@ const opListJobsByPipeline = "ListJobsByPipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobsByPipelineRequest method. +// req, resp := client.ListJobsByPipelineRequest(params) // -// // Example sending a request using the ListJobsByPipelineRequest method. -// req, resp := client.ListJobsByPipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) ListJobsByPipelineRequest(input *ListJobsByPipelineInput) (req *request.Request, output *ListJobsByPipelineOutput) { op := &request.Operation{ Name: opListJobsByPipeline, @@ -662,23 +655,23 @@ func (c *ElasticTranscoder) ListJobsByPipelineRequest(input *ListJobsByPipelineI // API operation ListJobsByPipeline for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * ResourceNotFoundException -// The requested resource does not exist or is not available. For example, the -// pipeline to which you're trying to add a job doesn't exist or is still being -// created. +// - IncompatibleVersionException // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - ResourceNotFoundException +// The requested resource does not exist or is not available. For example, the +// pipeline to which you're trying to add a job doesn't exist or is still being +// created. // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) ListJobsByPipeline(input *ListJobsByPipelineInput) (*ListJobsByPipelineOutput, error) { req, out := c.ListJobsByPipelineRequest(input) return out, req.Send() @@ -708,15 +701,14 @@ func (c *ElasticTranscoder) ListJobsByPipelineWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobsByPipeline operation. -// pageNum := 0 -// err := client.ListJobsByPipelinePages(params, -// func(page *elastictranscoder.ListJobsByPipelineOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobsByPipeline operation. +// pageNum := 0 +// err := client.ListJobsByPipelinePages(params, +// func(page *elastictranscoder.ListJobsByPipelineOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticTranscoder) ListJobsByPipelinePages(input *ListJobsByPipelineInput, fn func(*ListJobsByPipelineOutput, bool) bool) error { return c.ListJobsByPipelinePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -768,14 +760,13 @@ const opListJobsByStatus = "ListJobsByStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobsByStatusRequest method. +// req, resp := client.ListJobsByStatusRequest(params) // -// // Example sending a request using the ListJobsByStatusRequest method. -// req, resp := client.ListJobsByStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) ListJobsByStatusRequest(input *ListJobsByStatusInput) (req *request.Request, output *ListJobsByStatusOutput) { op := &request.Operation{ Name: opListJobsByStatus, @@ -812,23 +803,23 @@ func (c *ElasticTranscoder) ListJobsByStatusRequest(input *ListJobsByStatusInput // API operation ListJobsByStatus for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * ResourceNotFoundException -// The requested resource does not exist or is not available. For example, the -// pipeline to which you're trying to add a job doesn't exist or is still being -// created. +// - IncompatibleVersionException // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - ResourceNotFoundException +// The requested resource does not exist or is not available. For example, the +// pipeline to which you're trying to add a job doesn't exist or is still being +// created. // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) ListJobsByStatus(input *ListJobsByStatusInput) (*ListJobsByStatusOutput, error) { req, out := c.ListJobsByStatusRequest(input) return out, req.Send() @@ -858,15 +849,14 @@ func (c *ElasticTranscoder) ListJobsByStatusWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobsByStatus operation. -// pageNum := 0 -// err := client.ListJobsByStatusPages(params, -// func(page *elastictranscoder.ListJobsByStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobsByStatus operation. +// pageNum := 0 +// err := client.ListJobsByStatusPages(params, +// func(page *elastictranscoder.ListJobsByStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticTranscoder) ListJobsByStatusPages(input *ListJobsByStatusInput, fn func(*ListJobsByStatusOutput, bool) bool) error { return c.ListJobsByStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -918,14 +908,13 @@ const opListPipelines = "ListPipelines" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPipelinesRequest method. +// req, resp := client.ListPipelinesRequest(params) // -// // Example sending a request using the ListPipelinesRequest method. -// req, resp := client.ListPipelinesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) ListPipelinesRequest(input *ListPipelinesInput) (req *request.Request, output *ListPipelinesOutput) { op := &request.Operation{ Name: opListPipelines, @@ -961,18 +950,18 @@ func (c *ElasticTranscoder) ListPipelinesRequest(input *ListPipelinesInput) (req // API operation ListPipelines for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - IncompatibleVersionException // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) ListPipelines(input *ListPipelinesInput) (*ListPipelinesOutput, error) { req, out := c.ListPipelinesRequest(input) return out, req.Send() @@ -1002,15 +991,14 @@ func (c *ElasticTranscoder) ListPipelinesWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPipelines operation. -// pageNum := 0 -// err := client.ListPipelinesPages(params, -// func(page *elastictranscoder.ListPipelinesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPipelines operation. +// pageNum := 0 +// err := client.ListPipelinesPages(params, +// func(page *elastictranscoder.ListPipelinesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticTranscoder) ListPipelinesPages(input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool) error { return c.ListPipelinesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1062,14 +1050,13 @@ const opListPresets = "ListPresets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPresetsRequest method. +// req, resp := client.ListPresetsRequest(params) // -// // Example sending a request using the ListPresetsRequest method. -// req, resp := client.ListPresetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) ListPresetsRequest(input *ListPresetsInput) (req *request.Request, output *ListPresetsOutput) { op := &request.Operation{ Name: opListPresets, @@ -1105,18 +1092,18 @@ func (c *ElasticTranscoder) ListPresetsRequest(input *ListPresetsInput) (req *re // API operation ListPresets for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - IncompatibleVersionException // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) ListPresets(input *ListPresetsInput) (*ListPresetsOutput, error) { req, out := c.ListPresetsRequest(input) return out, req.Send() @@ -1146,15 +1133,14 @@ func (c *ElasticTranscoder) ListPresetsWithContext(ctx aws.Context, input *ListP // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPresets operation. -// pageNum := 0 -// err := client.ListPresetsPages(params, -// func(page *elastictranscoder.ListPresetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPresets operation. +// pageNum := 0 +// err := client.ListPresetsPages(params, +// func(page *elastictranscoder.ListPresetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ElasticTranscoder) ListPresetsPages(input *ListPresetsInput, fn func(*ListPresetsOutput, bool) bool) error { return c.ListPresetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1206,14 +1192,13 @@ const opReadJob = "ReadJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReadJobRequest method. +// req, resp := client.ReadJobRequest(params) // -// // Example sending a request using the ReadJobRequest method. -// req, resp := client.ReadJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) ReadJobRequest(input *ReadJobInput) (req *request.Request, output *ReadJobOutput) { op := &request.Operation{ Name: opReadJob, @@ -1242,23 +1227,23 @@ func (c *ElasticTranscoder) ReadJobRequest(input *ReadJobInput) (req *request.Re // API operation ReadJob for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * ResourceNotFoundException -// The requested resource does not exist or is not available. For example, the -// pipeline to which you're trying to add a job doesn't exist or is still being -// created. +// - IncompatibleVersionException // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - ResourceNotFoundException +// The requested resource does not exist or is not available. For example, the +// pipeline to which you're trying to add a job doesn't exist or is still being +// created. // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) ReadJob(input *ReadJobInput) (*ReadJobOutput, error) { req, out := c.ReadJobRequest(input) return out, req.Send() @@ -1296,14 +1281,13 @@ const opReadPipeline = "ReadPipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReadPipelineRequest method. +// req, resp := client.ReadPipelineRequest(params) // -// // Example sending a request using the ReadPipelineRequest method. -// req, resp := client.ReadPipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) ReadPipelineRequest(input *ReadPipelineInput) (req *request.Request, output *ReadPipelineOutput) { op := &request.Operation{ Name: opReadPipeline, @@ -1332,23 +1316,23 @@ func (c *ElasticTranscoder) ReadPipelineRequest(input *ReadPipelineInput) (req * // API operation ReadPipeline for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * ResourceNotFoundException -// The requested resource does not exist or is not available. For example, the -// pipeline to which you're trying to add a job doesn't exist or is still being -// created. +// - IncompatibleVersionException // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - ResourceNotFoundException +// The requested resource does not exist or is not available. For example, the +// pipeline to which you're trying to add a job doesn't exist or is still being +// created. // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) ReadPipeline(input *ReadPipelineInput) (*ReadPipelineOutput, error) { req, out := c.ReadPipelineRequest(input) return out, req.Send() @@ -1386,14 +1370,13 @@ const opReadPreset = "ReadPreset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReadPresetRequest method. +// req, resp := client.ReadPresetRequest(params) // -// // Example sending a request using the ReadPresetRequest method. -// req, resp := client.ReadPresetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) ReadPresetRequest(input *ReadPresetInput) (req *request.Request, output *ReadPresetOutput) { op := &request.Operation{ Name: opReadPreset, @@ -1422,23 +1405,23 @@ func (c *ElasticTranscoder) ReadPresetRequest(input *ReadPresetInput) (req *requ // API operation ReadPreset for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * ResourceNotFoundException -// The requested resource does not exist or is not available. For example, the -// pipeline to which you're trying to add a job doesn't exist or is still being -// created. +// - IncompatibleVersionException // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - ResourceNotFoundException +// The requested resource does not exist or is not available. For example, the +// pipeline to which you're trying to add a job doesn't exist or is still being +// created. // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) ReadPreset(input *ReadPresetInput) (*ReadPresetOutput, error) { req, out := c.ReadPresetRequest(input) return out, req.Send() @@ -1476,14 +1459,13 @@ const opTestRole = "TestRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestRoleRequest method. +// req, resp := client.TestRoleRequest(params) // -// // Example sending a request using the TestRoleRequest method. -// req, resp := client.TestRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // Deprecated: TestRole has been deprecated func (c *ElasticTranscoder) TestRoleRequest(input *TestRoleInput) (req *request.Request, output *TestRoleOutput) { @@ -1523,23 +1505,23 @@ func (c *ElasticTranscoder) TestRoleRequest(input *TestRoleInput) (req *request. // API operation TestRole for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * ResourceNotFoundException -// The requested resource does not exist or is not available. For example, the -// pipeline to which you're trying to add a job doesn't exist or is still being -// created. +// - IncompatibleVersionException // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - ResourceNotFoundException +// The requested resource does not exist or is not available. For example, the +// pipeline to which you're trying to add a job doesn't exist or is still being +// created. // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. // // Deprecated: TestRole has been deprecated func (c *ElasticTranscoder) TestRole(input *TestRoleInput) (*TestRoleOutput, error) { @@ -1581,14 +1563,13 @@ const opUpdatePipeline = "UpdatePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePipelineRequest method. +// req, resp := client.UpdatePipelineRequest(params) // -// // Example sending a request using the UpdatePipelineRequest method. -// req, resp := client.UpdatePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) UpdatePipelineRequest(input *UpdatePipelineInput) (req *request.Request, output *UpdatePipelineOutput) { op := &request.Operation{ Name: opUpdatePipeline, @@ -1622,27 +1603,27 @@ func (c *ElasticTranscoder) UpdatePipelineRequest(input *UpdatePipelineInput) (r // API operation UpdatePipeline for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - IncompatibleVersionException // -// * ResourceInUseException -// The resource you are attempting to change is in use. For example, you are -// attempting to delete a pipeline that is currently in use. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // -// * ResourceNotFoundException -// The requested resource does not exist or is not available. For example, the -// pipeline to which you're trying to add a job doesn't exist or is still being -// created. +// - ResourceInUseException +// The resource you are attempting to change is in use. For example, you are +// attempting to delete a pipeline that is currently in use. // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - ResourceNotFoundException +// The requested resource does not exist or is not available. For example, the +// pipeline to which you're trying to add a job doesn't exist or is still being +// created. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) UpdatePipeline(input *UpdatePipelineInput) (*UpdatePipelineOutput, error) { req, out := c.UpdatePipelineRequest(input) return out, req.Send() @@ -1680,14 +1661,13 @@ const opUpdatePipelineNotifications = "UpdatePipelineNotifications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePipelineNotificationsRequest method. +// req, resp := client.UpdatePipelineNotificationsRequest(params) // -// // Example sending a request using the UpdatePipelineNotificationsRequest method. -// req, resp := client.UpdatePipelineNotificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) UpdatePipelineNotificationsRequest(input *UpdatePipelineNotificationsInput) (req *request.Request, output *UpdatePipelineNotificationsOutput) { op := &request.Operation{ Name: opUpdatePipelineNotifications, @@ -1720,27 +1700,27 @@ func (c *ElasticTranscoder) UpdatePipelineNotificationsRequest(input *UpdatePipe // API operation UpdatePipelineNotifications for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * ResourceNotFoundException -// The requested resource does not exist or is not available. For example, the -// pipeline to which you're trying to add a job doesn't exist or is still being -// created. +// - IncompatibleVersionException // -// * ResourceInUseException -// The resource you are attempting to change is in use. For example, you are -// attempting to delete a pipeline that is currently in use. +// - ResourceNotFoundException +// The requested resource does not exist or is not available. For example, the +// pipeline to which you're trying to add a job doesn't exist or is still being +// created. // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - ResourceInUseException +// The resource you are attempting to change is in use. For example, you are +// attempting to delete a pipeline that is currently in use. // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) UpdatePipelineNotifications(input *UpdatePipelineNotificationsInput) (*UpdatePipelineNotificationsOutput, error) { req, out := c.UpdatePipelineNotificationsRequest(input) return out, req.Send() @@ -1778,14 +1758,13 @@ const opUpdatePipelineStatus = "UpdatePipelineStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePipelineStatusRequest method. +// req, resp := client.UpdatePipelineStatusRequest(params) // -// // Example sending a request using the UpdatePipelineStatusRequest method. -// req, resp := client.UpdatePipelineStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *ElasticTranscoder) UpdatePipelineStatusRequest(input *UpdatePipelineStatusInput) (req *request.Request, output *UpdatePipelineStatusOutput) { op := &request.Operation{ Name: opUpdatePipelineStatus, @@ -1821,27 +1800,27 @@ func (c *ElasticTranscoder) UpdatePipelineStatusRequest(input *UpdatePipelineSta // API operation UpdatePipelineStatus for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more required parameter values were not provided in the request. // -// * IncompatibleVersionException +// - ValidationException +// One or more required parameter values were not provided in the request. // -// * ResourceNotFoundException -// The requested resource does not exist or is not available. For example, the -// pipeline to which you're trying to add a job doesn't exist or is still being -// created. +// - IncompatibleVersionException // -// * ResourceInUseException -// The resource you are attempting to change is in use. For example, you are -// attempting to delete a pipeline that is currently in use. +// - ResourceNotFoundException +// The requested resource does not exist or is not available. For example, the +// pipeline to which you're trying to add a job doesn't exist or is still being +// created. // -// * AccessDeniedException -// General authentication failure. The request was not signed correctly. +// - ResourceInUseException +// The resource you are attempting to change is in use. For example, you are +// attempting to delete a pipeline that is currently in use. // -// * InternalServiceException -// Elastic Transcoder encountered an unexpected exception while trying to fulfill -// the request. +// - AccessDeniedException +// General authentication failure. The request was not signed correctly. // +// - InternalServiceException +// Elastic Transcoder encountered an unexpected exception while trying to fulfill +// the request. func (c *ElasticTranscoder) UpdatePipelineStatus(input *UpdatePipelineStatusInput) (*UpdatePipelineStatusOutput, error) { req, out := c.UpdatePipelineStatusRequest(input) return out, req.Send() @@ -4956,7 +4935,6 @@ func (s *JobInput) SetTimeSpan(v *TimeSpan) *JobInput { return s } -// // Outputs recommended instead. // // If you specified one output for a job, information about that output. If diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/doc.go index 436dd5827019..9eddec3a6dba 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/doc.go @@ -8,7 +8,7 @@ // See elastictranscoder package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/elastictranscoder/ // -// Using the Client +// # Using the Client // // To contact Amazon Elastic Transcoder with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/elastictranscoderiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/elastictranscoderiface/interface.go index 18fb74a8d4db..e0c41fedd0f3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/elastictranscoderiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/elastictranscoderiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Elastic Transcoder. -// func myFunc(svc elastictranscoderiface.ElasticTranscoderAPI) bool { -// // Make svc.CancelJob request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Elastic Transcoder. +// func myFunc(svc elastictranscoderiface.ElasticTranscoderAPI) bool { +// // Make svc.CancelJob request +// } // -// func main() { -// sess := session.New() -// svc := elastictranscoder.New(sess) +// func main() { +// sess := session.New() +// svc := elastictranscoder.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockElasticTranscoderClient struct { -// elastictranscoderiface.ElasticTranscoderAPI -// } -// func (m *mockElasticTranscoderClient) CancelJob(input *elastictranscoder.CancelJobInput) (*elastictranscoder.CancelJobOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockElasticTranscoderClient struct { +// elastictranscoderiface.ElasticTranscoderAPI +// } +// func (m *mockElasticTranscoderClient) CancelJob(input *elastictranscoder.CancelJobInput) (*elastictranscoder.CancelJobOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockElasticTranscoderClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockElasticTranscoderClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/service.go index a84d45b57404..39ddbe89fcc7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elastictranscoder/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ElasticTranscoder client from just a session. -// svc := elastictranscoder.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ElasticTranscoder client with additional configuration -// svc := elastictranscoder.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ElasticTranscoder client from just a session. +// svc := elastictranscoder.New(mySession) +// +// // Create a ElasticTranscoder client with additional configuration +// svc := elastictranscoder.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ElasticTranscoder { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/api.go index 17cf7d4bbd74..0118924cbc74 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/api.go @@ -29,14 +29,13 @@ const opAddTags = "AddTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsRequest method. +// req, resp := client.AddTagsRequest(params) // -// // Example sending a request using the AddTagsRequest method. -// req, resp := client.AddTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTags func (c *ELB) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) { @@ -75,15 +74,16 @@ func (c *ELB) AddTagsRequest(input *AddTagsInput) (req *request.Request, output // API operation AddTags for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeTooManyTagsException "TooManyTags" -// The quota for the number of tags that can be assigned to a load balancer -// has been reached. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeTooManyTagsException "TooManyTags" +// The quota for the number of tags that can be assigned to a load balancer +// has been reached. // -// * ErrCodeDuplicateTagKeysException "DuplicateTagKeys" -// A tag key was specified more than once. +// - ErrCodeDuplicateTagKeysException "DuplicateTagKeys" +// A tag key was specified more than once. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AddTags func (c *ELB) AddTags(input *AddTagsInput) (*AddTagsOutput, error) { @@ -123,14 +123,13 @@ const opApplySecurityGroupsToLoadBalancer = "ApplySecurityGroupsToLoadBalancer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ApplySecurityGroupsToLoadBalancerRequest method. +// req, resp := client.ApplySecurityGroupsToLoadBalancerRequest(params) // -// // Example sending a request using the ApplySecurityGroupsToLoadBalancerRequest method. -// req, resp := client.ApplySecurityGroupsToLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancer func (c *ELB) ApplySecurityGroupsToLoadBalancerRequest(input *ApplySecurityGroupsToLoadBalancerInput) (req *request.Request, output *ApplySecurityGroupsToLoadBalancerOutput) { @@ -166,14 +165,15 @@ func (c *ELB) ApplySecurityGroupsToLoadBalancerRequest(input *ApplySecurityGroup // API operation ApplySecurityGroupsToLoadBalancer for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration change is not valid. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration change is not valid. // -// * ErrCodeInvalidSecurityGroupException "InvalidSecurityGroup" -// One or more of the specified security groups do not exist. +// - ErrCodeInvalidSecurityGroupException "InvalidSecurityGroup" +// One or more of the specified security groups do not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ApplySecurityGroupsToLoadBalancer func (c *ELB) ApplySecurityGroupsToLoadBalancer(input *ApplySecurityGroupsToLoadBalancerInput) (*ApplySecurityGroupsToLoadBalancerOutput, error) { @@ -213,14 +213,13 @@ const opAttachLoadBalancerToSubnets = "AttachLoadBalancerToSubnets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachLoadBalancerToSubnetsRequest method. +// req, resp := client.AttachLoadBalancerToSubnetsRequest(params) // -// // Example sending a request using the AttachLoadBalancerToSubnetsRequest method. -// req, resp := client.AttachLoadBalancerToSubnetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnets func (c *ELB) AttachLoadBalancerToSubnetsRequest(input *AttachLoadBalancerToSubnetsInput) (req *request.Request, output *AttachLoadBalancerToSubnetsOutput) { @@ -257,17 +256,18 @@ func (c *ELB) AttachLoadBalancerToSubnetsRequest(input *AttachLoadBalancerToSubn // API operation AttachLoadBalancerToSubnets for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration change is not valid. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration change is not valid. // -// * ErrCodeSubnetNotFoundException "SubnetNotFound" -// One or more of the specified subnets do not exist. +// - ErrCodeSubnetNotFoundException "SubnetNotFound" +// One or more of the specified subnets do not exist. // -// * ErrCodeInvalidSubnetException "InvalidSubnet" -// The specified VPC has no associated Internet gateway. +// - ErrCodeInvalidSubnetException "InvalidSubnet" +// The specified VPC has no associated Internet gateway. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/AttachLoadBalancerToSubnets func (c *ELB) AttachLoadBalancerToSubnets(input *AttachLoadBalancerToSubnetsInput) (*AttachLoadBalancerToSubnetsOutput, error) { @@ -307,14 +307,13 @@ const opConfigureHealthCheck = "ConfigureHealthCheck" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfigureHealthCheckRequest method. +// req, resp := client.ConfigureHealthCheckRequest(params) // -// // Example sending a request using the ConfigureHealthCheckRequest method. -// req, resp := client.ConfigureHealthCheckRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheck func (c *ELB) ConfigureHealthCheckRequest(input *ConfigureHealthCheckInput) (req *request.Request, output *ConfigureHealthCheckOutput) { @@ -350,8 +349,8 @@ func (c *ELB) ConfigureHealthCheckRequest(input *ConfigureHealthCheckInput) (req // API operation ConfigureHealthCheck for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ConfigureHealthCheck func (c *ELB) ConfigureHealthCheck(input *ConfigureHealthCheckInput) (*ConfigureHealthCheckOutput, error) { @@ -391,14 +390,13 @@ const opCreateAppCookieStickinessPolicy = "CreateAppCookieStickinessPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppCookieStickinessPolicyRequest method. +// req, resp := client.CreateAppCookieStickinessPolicyRequest(params) // -// // Example sending a request using the CreateAppCookieStickinessPolicyRequest method. -// req, resp := client.CreateAppCookieStickinessPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicy func (c *ELB) CreateAppCookieStickinessPolicyRequest(input *CreateAppCookieStickinessPolicyInput) (req *request.Request, output *CreateAppCookieStickinessPolicyOutput) { @@ -444,17 +442,18 @@ func (c *ELB) CreateAppCookieStickinessPolicyRequest(input *CreateAppCookieStick // API operation CreateAppCookieStickinessPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeDuplicatePolicyNameException "DuplicatePolicyName" -// A policy with the specified name already exists for this load balancer. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeDuplicatePolicyNameException "DuplicatePolicyName" +// A policy with the specified name already exists for this load balancer. // -// * ErrCodeTooManyPoliciesException "TooManyPolicies" -// The quota for the number of policies for this load balancer has been reached. +// - ErrCodeTooManyPoliciesException "TooManyPolicies" +// The quota for the number of policies for this load balancer has been reached. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration change is not valid. +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration change is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicy func (c *ELB) CreateAppCookieStickinessPolicy(input *CreateAppCookieStickinessPolicyInput) (*CreateAppCookieStickinessPolicyOutput, error) { @@ -494,14 +493,13 @@ const opCreateLBCookieStickinessPolicy = "CreateLBCookieStickinessPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLBCookieStickinessPolicyRequest method. +// req, resp := client.CreateLBCookieStickinessPolicyRequest(params) // -// // Example sending a request using the CreateLBCookieStickinessPolicyRequest method. -// req, resp := client.CreateLBCookieStickinessPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicy func (c *ELB) CreateLBCookieStickinessPolicyRequest(input *CreateLBCookieStickinessPolicyInput) (req *request.Request, output *CreateLBCookieStickinessPolicyOutput) { @@ -549,17 +547,18 @@ func (c *ELB) CreateLBCookieStickinessPolicyRequest(input *CreateLBCookieStickin // API operation CreateLBCookieStickinessPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeDuplicatePolicyNameException "DuplicatePolicyName" -// A policy with the specified name already exists for this load balancer. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. // -// * ErrCodeTooManyPoliciesException "TooManyPolicies" -// The quota for the number of policies for this load balancer has been reached. +// - ErrCodeDuplicatePolicyNameException "DuplicatePolicyName" +// A policy with the specified name already exists for this load balancer. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration change is not valid. +// - ErrCodeTooManyPoliciesException "TooManyPolicies" +// The quota for the number of policies for this load balancer has been reached. +// +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration change is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLBCookieStickinessPolicy func (c *ELB) CreateLBCookieStickinessPolicy(input *CreateLBCookieStickinessPolicyInput) (*CreateLBCookieStickinessPolicyOutput, error) { @@ -599,14 +598,13 @@ const opCreateLoadBalancer = "CreateLoadBalancer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLoadBalancerRequest method. +// req, resp := client.CreateLoadBalancerRequest(params) // -// // Example sending a request using the CreateLoadBalancerRequest method. -// req, resp := client.CreateLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancer func (c *ELB) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *request.Request, output *CreateLoadBalancerOutput) { @@ -649,46 +647,47 @@ func (c *ELB) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *re // API operation CreateLoadBalancer for usage and error information. // // Returned Error Codes: -// * ErrCodeDuplicateAccessPointNameException "DuplicateLoadBalancerName" -// The specified load balancer name already exists for this account. // -// * ErrCodeTooManyAccessPointsException "TooManyLoadBalancers" -// The quota for the number of load balancers has been reached. +// - ErrCodeDuplicateAccessPointNameException "DuplicateLoadBalancerName" +// The specified load balancer name already exists for this account. +// +// - ErrCodeTooManyAccessPointsException "TooManyLoadBalancers" +// The quota for the number of load balancers has been reached. // -// * ErrCodeCertificateNotFoundException "CertificateNotFound" -// The specified ARN does not refer to a valid SSL certificate in AWS Identity -// and Access Management (IAM) or AWS Certificate Manager (ACM). Note that if -// you recently uploaded the certificate to IAM, this error might indicate that -// the certificate is not fully available yet. +// - ErrCodeCertificateNotFoundException "CertificateNotFound" +// The specified ARN does not refer to a valid SSL certificate in AWS Identity +// and Access Management (IAM) or AWS Certificate Manager (ACM). Note that if +// you recently uploaded the certificate to IAM, this error might indicate that +// the certificate is not fully available yet. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration change is not valid. +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration change is not valid. // -// * ErrCodeSubnetNotFoundException "SubnetNotFound" -// One or more of the specified subnets do not exist. +// - ErrCodeSubnetNotFoundException "SubnetNotFound" +// One or more of the specified subnets do not exist. // -// * ErrCodeInvalidSubnetException "InvalidSubnet" -// The specified VPC has no associated Internet gateway. +// - ErrCodeInvalidSubnetException "InvalidSubnet" +// The specified VPC has no associated Internet gateway. // -// * ErrCodeInvalidSecurityGroupException "InvalidSecurityGroup" -// One or more of the specified security groups do not exist. +// - ErrCodeInvalidSecurityGroupException "InvalidSecurityGroup" +// One or more of the specified security groups do not exist. // -// * ErrCodeInvalidSchemeException "InvalidScheme" -// The specified value for the schema is not valid. You can only specify a scheme -// for load balancers in a VPC. +// - ErrCodeInvalidSchemeException "InvalidScheme" +// The specified value for the schema is not valid. You can only specify a scheme +// for load balancers in a VPC. // -// * ErrCodeTooManyTagsException "TooManyTags" -// The quota for the number of tags that can be assigned to a load balancer -// has been reached. +// - ErrCodeTooManyTagsException "TooManyTags" +// The quota for the number of tags that can be assigned to a load balancer +// has been reached. // -// * ErrCodeDuplicateTagKeysException "DuplicateTagKeys" -// A tag key was specified more than once. +// - ErrCodeDuplicateTagKeysException "DuplicateTagKeys" +// A tag key was specified more than once. // -// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol" -// The specified protocol or signature version is not supported. +// - ErrCodeUnsupportedProtocolException "UnsupportedProtocol" +// The specified protocol or signature version is not supported. // -// * ErrCodeOperationNotPermittedException "OperationNotPermitted" -// This operation is not allowed. +// - ErrCodeOperationNotPermittedException "OperationNotPermitted" +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancer func (c *ELB) CreateLoadBalancer(input *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error) { @@ -728,14 +727,13 @@ const opCreateLoadBalancerListeners = "CreateLoadBalancerListeners" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLoadBalancerListenersRequest method. +// req, resp := client.CreateLoadBalancerListenersRequest(params) // -// // Example sending a request using the CreateLoadBalancerListenersRequest method. -// req, resp := client.CreateLoadBalancerListenersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListeners func (c *ELB) CreateLoadBalancerListenersRequest(input *CreateLoadBalancerListenersInput) (req *request.Request, output *CreateLoadBalancerListenersOutput) { @@ -773,24 +771,25 @@ func (c *ELB) CreateLoadBalancerListenersRequest(input *CreateLoadBalancerListen // API operation CreateLoadBalancerListeners for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeDuplicateListenerException "DuplicateListener" -// A listener already exists for the specified load balancer name and port, -// but with a different instance port, protocol, or SSL certificate. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeDuplicateListenerException "DuplicateListener" +// A listener already exists for the specified load balancer name and port, +// but with a different instance port, protocol, or SSL certificate. // -// * ErrCodeCertificateNotFoundException "CertificateNotFound" -// The specified ARN does not refer to a valid SSL certificate in AWS Identity -// and Access Management (IAM) or AWS Certificate Manager (ACM). Note that if -// you recently uploaded the certificate to IAM, this error might indicate that -// the certificate is not fully available yet. +// - ErrCodeCertificateNotFoundException "CertificateNotFound" +// The specified ARN does not refer to a valid SSL certificate in AWS Identity +// and Access Management (IAM) or AWS Certificate Manager (ACM). Note that if +// you recently uploaded the certificate to IAM, this error might indicate that +// the certificate is not fully available yet. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration change is not valid. +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration change is not valid. // -// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol" -// The specified protocol or signature version is not supported. +// - ErrCodeUnsupportedProtocolException "UnsupportedProtocol" +// The specified protocol or signature version is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerListeners func (c *ELB) CreateLoadBalancerListeners(input *CreateLoadBalancerListenersInput) (*CreateLoadBalancerListenersOutput, error) { @@ -830,14 +829,13 @@ const opCreateLoadBalancerPolicy = "CreateLoadBalancerPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLoadBalancerPolicyRequest method. +// req, resp := client.CreateLoadBalancerPolicyRequest(params) // -// // Example sending a request using the CreateLoadBalancerPolicyRequest method. -// req, resp := client.CreateLoadBalancerPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicy func (c *ELB) CreateLoadBalancerPolicyRequest(input *CreateLoadBalancerPolicyInput) (req *request.Request, output *CreateLoadBalancerPolicyOutput) { @@ -873,20 +871,21 @@ func (c *ELB) CreateLoadBalancerPolicyRequest(input *CreateLoadBalancerPolicyInp // API operation CreateLoadBalancerPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodePolicyTypeNotFoundException "PolicyTypeNotFound" -// One or more of the specified policy types do not exist. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodePolicyTypeNotFoundException "PolicyTypeNotFound" +// One or more of the specified policy types do not exist. // -// * ErrCodeDuplicatePolicyNameException "DuplicatePolicyName" -// A policy with the specified name already exists for this load balancer. +// - ErrCodeDuplicatePolicyNameException "DuplicatePolicyName" +// A policy with the specified name already exists for this load balancer. // -// * ErrCodeTooManyPoliciesException "TooManyPolicies" -// The quota for the number of policies for this load balancer has been reached. +// - ErrCodeTooManyPoliciesException "TooManyPolicies" +// The quota for the number of policies for this load balancer has been reached. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration change is not valid. +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration change is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateLoadBalancerPolicy func (c *ELB) CreateLoadBalancerPolicy(input *CreateLoadBalancerPolicyInput) (*CreateLoadBalancerPolicyOutput, error) { @@ -926,14 +925,13 @@ const opDeleteLoadBalancer = "DeleteLoadBalancer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLoadBalancerRequest method. +// req, resp := client.DeleteLoadBalancerRequest(params) // -// // Example sending a request using the DeleteLoadBalancerRequest method. -// req, resp := client.DeleteLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancer func (c *ELB) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (req *request.Request, output *DeleteLoadBalancerOutput) { @@ -1010,14 +1008,13 @@ const opDeleteLoadBalancerListeners = "DeleteLoadBalancerListeners" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLoadBalancerListenersRequest method. +// req, resp := client.DeleteLoadBalancerListenersRequest(params) // -// // Example sending a request using the DeleteLoadBalancerListenersRequest method. -// req, resp := client.DeleteLoadBalancerListenersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListeners func (c *ELB) DeleteLoadBalancerListenersRequest(input *DeleteLoadBalancerListenersInput) (req *request.Request, output *DeleteLoadBalancerListenersOutput) { @@ -1049,8 +1046,8 @@ func (c *ELB) DeleteLoadBalancerListenersRequest(input *DeleteLoadBalancerListen // API operation DeleteLoadBalancerListeners for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerListeners func (c *ELB) DeleteLoadBalancerListeners(input *DeleteLoadBalancerListenersInput) (*DeleteLoadBalancerListenersOutput, error) { @@ -1090,14 +1087,13 @@ const opDeleteLoadBalancerPolicy = "DeleteLoadBalancerPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLoadBalancerPolicyRequest method. +// req, resp := client.DeleteLoadBalancerPolicyRequest(params) // -// // Example sending a request using the DeleteLoadBalancerPolicyRequest method. -// req, resp := client.DeleteLoadBalancerPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicy func (c *ELB) DeleteLoadBalancerPolicyRequest(input *DeleteLoadBalancerPolicyInput) (req *request.Request, output *DeleteLoadBalancerPolicyOutput) { @@ -1130,11 +1126,12 @@ func (c *ELB) DeleteLoadBalancerPolicyRequest(input *DeleteLoadBalancerPolicyInp // API operation DeleteLoadBalancerPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration change is not valid. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration change is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeleteLoadBalancerPolicy func (c *ELB) DeleteLoadBalancerPolicy(input *DeleteLoadBalancerPolicyInput) (*DeleteLoadBalancerPolicyOutput, error) { @@ -1174,14 +1171,13 @@ const opDeregisterInstancesFromLoadBalancer = "DeregisterInstancesFromLoadBalanc // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterInstancesFromLoadBalancerRequest method. +// req, resp := client.DeregisterInstancesFromLoadBalancerRequest(params) // -// // Example sending a request using the DeregisterInstancesFromLoadBalancerRequest method. -// req, resp := client.DeregisterInstancesFromLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterInstancesFromLoadBalancer func (c *ELB) DeregisterInstancesFromLoadBalancerRequest(input *DeregisterInstancesFromLoadBalancerInput) (req *request.Request, output *DeregisterInstancesFromLoadBalancerOutput) { @@ -1220,11 +1216,12 @@ func (c *ELB) DeregisterInstancesFromLoadBalancerRequest(input *DeregisterInstan // API operation DeregisterInstancesFromLoadBalancer for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeInvalidEndPointException "InvalidInstance" -// The specified endpoint is not valid. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeInvalidEndPointException "InvalidInstance" +// The specified endpoint is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DeregisterInstancesFromLoadBalancer func (c *ELB) DeregisterInstancesFromLoadBalancer(input *DeregisterInstancesFromLoadBalancerInput) (*DeregisterInstancesFromLoadBalancerOutput, error) { @@ -1264,14 +1261,13 @@ const opDescribeAccountLimits = "DescribeAccountLimits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountLimitsRequest method. +// req, resp := client.DescribeAccountLimitsRequest(params) // -// // Example sending a request using the DescribeAccountLimitsRequest method. -// req, resp := client.DescribeAccountLimitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeAccountLimits func (c *ELB) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) (req *request.Request, output *DescribeAccountLimitsOutput) { @@ -1342,14 +1338,13 @@ const opDescribeInstanceHealth = "DescribeInstanceHealth" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceHealthRequest method. +// req, resp := client.DescribeInstanceHealthRequest(params) // -// // Example sending a request using the DescribeInstanceHealthRequest method. -// req, resp := client.DescribeInstanceHealthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeInstanceHealth func (c *ELB) DescribeInstanceHealthRequest(input *DescribeInstanceHealthInput) (req *request.Request, output *DescribeInstanceHealthOutput) { @@ -1385,11 +1380,12 @@ func (c *ELB) DescribeInstanceHealthRequest(input *DescribeInstanceHealthInput) // API operation DescribeInstanceHealth for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeInvalidEndPointException "InvalidInstance" -// The specified endpoint is not valid. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeInvalidEndPointException "InvalidInstance" +// The specified endpoint is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeInstanceHealth func (c *ELB) DescribeInstanceHealth(input *DescribeInstanceHealthInput) (*DescribeInstanceHealthOutput, error) { @@ -1429,14 +1425,13 @@ const opDescribeLoadBalancerAttributes = "DescribeLoadBalancerAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLoadBalancerAttributesRequest method. +// req, resp := client.DescribeLoadBalancerAttributesRequest(params) // -// // Example sending a request using the DescribeLoadBalancerAttributesRequest method. -// req, resp := client.DescribeLoadBalancerAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributes func (c *ELB) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalancerAttributesInput) (req *request.Request, output *DescribeLoadBalancerAttributesOutput) { @@ -1467,11 +1462,12 @@ func (c *ELB) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalancerA // API operation DescribeLoadBalancerAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeLoadBalancerAttributeNotFoundException "LoadBalancerAttributeNotFound" -// The specified load balancer attribute does not exist. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeLoadBalancerAttributeNotFoundException "LoadBalancerAttributeNotFound" +// The specified load balancer attribute does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerAttributes func (c *ELB) DescribeLoadBalancerAttributes(input *DescribeLoadBalancerAttributesInput) (*DescribeLoadBalancerAttributesOutput, error) { @@ -1511,14 +1507,13 @@ const opDescribeLoadBalancerPolicies = "DescribeLoadBalancerPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLoadBalancerPoliciesRequest method. +// req, resp := client.DescribeLoadBalancerPoliciesRequest(params) // -// // Example sending a request using the DescribeLoadBalancerPoliciesRequest method. -// req, resp := client.DescribeLoadBalancerPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicies func (c *ELB) DescribeLoadBalancerPoliciesRequest(input *DescribeLoadBalancerPoliciesInput) (req *request.Request, output *DescribeLoadBalancerPoliciesOutput) { @@ -1556,11 +1551,12 @@ func (c *ELB) DescribeLoadBalancerPoliciesRequest(input *DescribeLoadBalancerPol // API operation DescribeLoadBalancerPolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodePolicyNotFoundException "PolicyNotFound" -// One or more of the specified policies do not exist. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodePolicyNotFoundException "PolicyNotFound" +// One or more of the specified policies do not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicies func (c *ELB) DescribeLoadBalancerPolicies(input *DescribeLoadBalancerPoliciesInput) (*DescribeLoadBalancerPoliciesOutput, error) { @@ -1600,14 +1596,13 @@ const opDescribeLoadBalancerPolicyTypes = "DescribeLoadBalancerPolicyTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLoadBalancerPolicyTypesRequest method. +// req, resp := client.DescribeLoadBalancerPolicyTypesRequest(params) // -// // Example sending a request using the DescribeLoadBalancerPolicyTypesRequest method. -// req, resp := client.DescribeLoadBalancerPolicyTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypes func (c *ELB) DescribeLoadBalancerPolicyTypesRequest(input *DescribeLoadBalancerPolicyTypesInput) (req *request.Request, output *DescribeLoadBalancerPolicyTypesOutput) { @@ -1649,8 +1644,8 @@ func (c *ELB) DescribeLoadBalancerPolicyTypesRequest(input *DescribeLoadBalancer // API operation DescribeLoadBalancerPolicyTypes for usage and error information. // // Returned Error Codes: -// * ErrCodePolicyTypeNotFoundException "PolicyTypeNotFound" -// One or more of the specified policy types do not exist. +// - ErrCodePolicyTypeNotFoundException "PolicyTypeNotFound" +// One or more of the specified policy types do not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancerPolicyTypes func (c *ELB) DescribeLoadBalancerPolicyTypes(input *DescribeLoadBalancerPolicyTypesInput) (*DescribeLoadBalancerPolicyTypesOutput, error) { @@ -1690,14 +1685,13 @@ const opDescribeLoadBalancers = "DescribeLoadBalancers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLoadBalancersRequest method. +// req, resp := client.DescribeLoadBalancersRequest(params) // -// // Example sending a request using the DescribeLoadBalancersRequest method. -// req, resp := client.DescribeLoadBalancersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancers func (c *ELB) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) (req *request.Request, output *DescribeLoadBalancersOutput) { @@ -1735,12 +1729,13 @@ func (c *ELB) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) (r // API operation DescribeLoadBalancers for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeDependencyThrottleException "DependencyThrottle" -// A request made by Elastic Load Balancing to another service exceeds the maximum -// request rate permitted for your account. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeDependencyThrottleException "DependencyThrottle" +// A request made by Elastic Load Balancing to another service exceeds the maximum +// request rate permitted for your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeLoadBalancers func (c *ELB) DescribeLoadBalancers(input *DescribeLoadBalancersInput) (*DescribeLoadBalancersOutput, error) { @@ -1772,15 +1767,14 @@ func (c *ELB) DescribeLoadBalancersWithContext(ctx aws.Context, input *DescribeL // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeLoadBalancers operation. -// pageNum := 0 -// err := client.DescribeLoadBalancersPages(params, -// func(page *elb.DescribeLoadBalancersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeLoadBalancers operation. +// pageNum := 0 +// err := client.DescribeLoadBalancersPages(params, +// func(page *elb.DescribeLoadBalancersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ELB) DescribeLoadBalancersPages(input *DescribeLoadBalancersInput, fn func(*DescribeLoadBalancersOutput, bool) bool) error { return c.DescribeLoadBalancersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1832,14 +1826,13 @@ const opDescribeTags = "DescribeTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTagsRequest method. +// req, resp := client.DescribeTagsRequest(params) // -// // Example sending a request using the DescribeTagsRequest method. -// req, resp := client.DescribeTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTags func (c *ELB) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { @@ -1870,8 +1863,8 @@ func (c *ELB) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Reques // API operation DescribeTags for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DescribeTags func (c *ELB) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { @@ -1911,14 +1904,13 @@ const opDetachLoadBalancerFromSubnets = "DetachLoadBalancerFromSubnets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachLoadBalancerFromSubnetsRequest method. +// req, resp := client.DetachLoadBalancerFromSubnetsRequest(params) // -// // Example sending a request using the DetachLoadBalancerFromSubnetsRequest method. -// req, resp := client.DetachLoadBalancerFromSubnetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnets func (c *ELB) DetachLoadBalancerFromSubnetsRequest(input *DetachLoadBalancerFromSubnetsInput) (req *request.Request, output *DetachLoadBalancerFromSubnetsOutput) { @@ -1954,11 +1946,12 @@ func (c *ELB) DetachLoadBalancerFromSubnetsRequest(input *DetachLoadBalancerFrom // API operation DetachLoadBalancerFromSubnets for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration change is not valid. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration change is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DetachLoadBalancerFromSubnets func (c *ELB) DetachLoadBalancerFromSubnets(input *DetachLoadBalancerFromSubnetsInput) (*DetachLoadBalancerFromSubnetsOutput, error) { @@ -1998,14 +1991,13 @@ const opDisableAvailabilityZonesForLoadBalancer = "DisableAvailabilityZonesForLo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableAvailabilityZonesForLoadBalancerRequest method. +// req, resp := client.DisableAvailabilityZonesForLoadBalancerRequest(params) // -// // Example sending a request using the DisableAvailabilityZonesForLoadBalancerRequest method. -// req, resp := client.DisableAvailabilityZonesForLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DisableAvailabilityZonesForLoadBalancer func (c *ELB) DisableAvailabilityZonesForLoadBalancerRequest(input *DisableAvailabilityZonesForLoadBalancerInput) (req *request.Request, output *DisableAvailabilityZonesForLoadBalancerOutput) { @@ -2048,11 +2040,12 @@ func (c *ELB) DisableAvailabilityZonesForLoadBalancerRequest(input *DisableAvail // API operation DisableAvailabilityZonesForLoadBalancer for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration change is not valid. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration change is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/DisableAvailabilityZonesForLoadBalancer func (c *ELB) DisableAvailabilityZonesForLoadBalancer(input *DisableAvailabilityZonesForLoadBalancerInput) (*DisableAvailabilityZonesForLoadBalancerOutput, error) { @@ -2092,14 +2085,13 @@ const opEnableAvailabilityZonesForLoadBalancer = "EnableAvailabilityZonesForLoad // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableAvailabilityZonesForLoadBalancerRequest method. +// req, resp := client.EnableAvailabilityZonesForLoadBalancerRequest(params) // -// // Example sending a request using the EnableAvailabilityZonesForLoadBalancerRequest method. -// req, resp := client.EnableAvailabilityZonesForLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/EnableAvailabilityZonesForLoadBalancer func (c *ELB) EnableAvailabilityZonesForLoadBalancerRequest(input *EnableAvailabilityZonesForLoadBalancerInput) (req *request.Request, output *EnableAvailabilityZonesForLoadBalancerOutput) { @@ -2138,8 +2130,8 @@ func (c *ELB) EnableAvailabilityZonesForLoadBalancerRequest(input *EnableAvailab // API operation EnableAvailabilityZonesForLoadBalancer for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/EnableAvailabilityZonesForLoadBalancer func (c *ELB) EnableAvailabilityZonesForLoadBalancer(input *EnableAvailabilityZonesForLoadBalancerInput) (*EnableAvailabilityZonesForLoadBalancerOutput, error) { @@ -2179,14 +2171,13 @@ const opModifyLoadBalancerAttributes = "ModifyLoadBalancerAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyLoadBalancerAttributesRequest method. +// req, resp := client.ModifyLoadBalancerAttributesRequest(params) // -// // Example sending a request using the ModifyLoadBalancerAttributesRequest method. -// req, resp := client.ModifyLoadBalancerAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributes func (c *ELB) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAttributesInput) (req *request.Request, output *ModifyLoadBalancerAttributesOutput) { @@ -2216,13 +2207,13 @@ func (c *ELB) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAttri // // For more information, see the following in the Classic Load Balancers Guide: // -// * Cross-Zone Load Balancing (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-crosszone-lb.html) +// - Cross-Zone Load Balancing (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/enable-disable-crosszone-lb.html) // -// * Connection Draining (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html) +// - Connection Draining (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html) // -// * Access Logs (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/access-log-collection.html) +// - Access Logs (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/access-log-collection.html) // -// * Idle Connection Timeout (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html) +// - Idle Connection Timeout (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-idle-timeout.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2232,14 +2223,15 @@ func (c *ELB) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAttri // API operation ModifyLoadBalancerAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeLoadBalancerAttributeNotFoundException "LoadBalancerAttributeNotFound" -// The specified load balancer attribute does not exist. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeLoadBalancerAttributeNotFoundException "LoadBalancerAttributeNotFound" +// The specified load balancer attribute does not exist. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration change is not valid. +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration change is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/ModifyLoadBalancerAttributes func (c *ELB) ModifyLoadBalancerAttributes(input *ModifyLoadBalancerAttributesInput) (*ModifyLoadBalancerAttributesOutput, error) { @@ -2279,14 +2271,13 @@ const opRegisterInstancesWithLoadBalancer = "RegisterInstancesWithLoadBalancer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterInstancesWithLoadBalancerRequest method. +// req, resp := client.RegisterInstancesWithLoadBalancerRequest(params) // -// // Example sending a request using the RegisterInstancesWithLoadBalancerRequest method. -// req, resp := client.RegisterInstancesWithLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterInstancesWithLoadBalancer func (c *ELB) RegisterInstancesWithLoadBalancerRequest(input *RegisterInstancesWithLoadBalancerInput) (req *request.Request, output *RegisterInstancesWithLoadBalancerOutput) { @@ -2339,11 +2330,12 @@ func (c *ELB) RegisterInstancesWithLoadBalancerRequest(input *RegisterInstancesW // API operation RegisterInstancesWithLoadBalancer for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeInvalidEndPointException "InvalidInstance" -// The specified endpoint is not valid. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeInvalidEndPointException "InvalidInstance" +// The specified endpoint is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RegisterInstancesWithLoadBalancer func (c *ELB) RegisterInstancesWithLoadBalancer(input *RegisterInstancesWithLoadBalancerInput) (*RegisterInstancesWithLoadBalancerOutput, error) { @@ -2383,14 +2375,13 @@ const opRemoveTags = "RemoveTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsRequest method. +// req, resp := client.RemoveTagsRequest(params) // -// // Example sending a request using the RemoveTagsRequest method. -// req, resp := client.RemoveTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTags func (c *ELB) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) { @@ -2422,8 +2413,8 @@ func (c *ELB) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, o // API operation RemoveTags for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/RemoveTags func (c *ELB) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) { @@ -2463,14 +2454,13 @@ const opSetLoadBalancerListenerSSLCertificate = "SetLoadBalancerListenerSSLCerti // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetLoadBalancerListenerSSLCertificateRequest method. +// req, resp := client.SetLoadBalancerListenerSSLCertificateRequest(params) // -// // Example sending a request using the SetLoadBalancerListenerSSLCertificateRequest method. -// req, resp := client.SetLoadBalancerListenerSSLCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificate func (c *ELB) SetLoadBalancerListenerSSLCertificateRequest(input *SetLoadBalancerListenerSSLCertificateInput) (req *request.Request, output *SetLoadBalancerListenerSSLCertificateOutput) { @@ -2508,23 +2498,24 @@ func (c *ELB) SetLoadBalancerListenerSSLCertificateRequest(input *SetLoadBalance // API operation SetLoadBalancerListenerSSLCertificate for usage and error information. // // Returned Error Codes: -// * ErrCodeCertificateNotFoundException "CertificateNotFound" -// The specified ARN does not refer to a valid SSL certificate in AWS Identity -// and Access Management (IAM) or AWS Certificate Manager (ACM). Note that if -// you recently uploaded the certificate to IAM, this error might indicate that -// the certificate is not fully available yet. // -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. +// - ErrCodeCertificateNotFoundException "CertificateNotFound" +// The specified ARN does not refer to a valid SSL certificate in AWS Identity +// and Access Management (IAM) or AWS Certificate Manager (ACM). Note that if +// you recently uploaded the certificate to IAM, this error might indicate that +// the certificate is not fully available yet. +// +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. // -// * ErrCodeListenerNotFoundException "ListenerNotFound" -// The load balancer does not have a listener configured at the specified port. +// - ErrCodeListenerNotFoundException "ListenerNotFound" +// The load balancer does not have a listener configured at the specified port. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration change is not valid. +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration change is not valid. // -// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol" -// The specified protocol or signature version is not supported. +// - ErrCodeUnsupportedProtocolException "UnsupportedProtocol" +// The specified protocol or signature version is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerListenerSSLCertificate func (c *ELB) SetLoadBalancerListenerSSLCertificate(input *SetLoadBalancerListenerSSLCertificateInput) (*SetLoadBalancerListenerSSLCertificateOutput, error) { @@ -2564,14 +2555,13 @@ const opSetLoadBalancerPoliciesForBackendServer = "SetLoadBalancerPoliciesForBac // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetLoadBalancerPoliciesForBackendServerRequest method. +// req, resp := client.SetLoadBalancerPoliciesForBackendServerRequest(params) // -// // Example sending a request using the SetLoadBalancerPoliciesForBackendServerRequest method. -// req, resp := client.SetLoadBalancerPoliciesForBackendServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServer func (c *ELB) SetLoadBalancerPoliciesForBackendServerRequest(input *SetLoadBalancerPoliciesForBackendServerInput) (req *request.Request, output *SetLoadBalancerPoliciesForBackendServerOutput) { @@ -2618,14 +2608,15 @@ func (c *ELB) SetLoadBalancerPoliciesForBackendServerRequest(input *SetLoadBalan // API operation SetLoadBalancerPoliciesForBackendServer for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodePolicyNotFoundException "PolicyNotFound" -// One or more of the specified policies do not exist. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration change is not valid. +// - ErrCodePolicyNotFoundException "PolicyNotFound" +// One or more of the specified policies do not exist. +// +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration change is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesForBackendServer func (c *ELB) SetLoadBalancerPoliciesForBackendServer(input *SetLoadBalancerPoliciesForBackendServerInput) (*SetLoadBalancerPoliciesForBackendServerOutput, error) { @@ -2665,14 +2656,13 @@ const opSetLoadBalancerPoliciesOfListener = "SetLoadBalancerPoliciesOfListener" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetLoadBalancerPoliciesOfListenerRequest method. +// req, resp := client.SetLoadBalancerPoliciesOfListenerRequest(params) // -// // Example sending a request using the SetLoadBalancerPoliciesOfListenerRequest method. -// req, resp := client.SetLoadBalancerPoliciesOfListenerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListener func (c *ELB) SetLoadBalancerPoliciesOfListenerRequest(input *SetLoadBalancerPoliciesOfListenerInput) (req *request.Request, output *SetLoadBalancerPoliciesOfListenerOutput) { @@ -2713,17 +2703,18 @@ func (c *ELB) SetLoadBalancerPoliciesOfListenerRequest(input *SetLoadBalancerPol // API operation SetLoadBalancerPoliciesOfListener for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodePolicyNotFoundException "PolicyNotFound" -// One or more of the specified policies do not exist. +// - ErrCodeAccessPointNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodePolicyNotFoundException "PolicyNotFound" +// One or more of the specified policies do not exist. // -// * ErrCodeListenerNotFoundException "ListenerNotFound" -// The load balancer does not have a listener configured at the specified port. +// - ErrCodeListenerNotFoundException "ListenerNotFound" +// The load balancer does not have a listener configured at the specified port. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration change is not valid. +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration change is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListener func (c *ELB) SetLoadBalancerPoliciesOfListener(input *SetLoadBalancerPoliciesOfListenerInput) (*SetLoadBalancerPoliciesOfListenerOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/doc.go index 5fa8e5154e58..c4815ced0c54 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/doc.go @@ -32,7 +32,7 @@ // See elb package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/elb/ // -// Using the Client +// # Using the Client // // To contact Elastic Load Balancing with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/elbiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/elbiface/interface.go index 2a194c3087a0..9f994571b400 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/elbiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/elbiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Elastic Load Balancing. -// func myFunc(svc elbiface.ELBAPI) bool { -// // Make svc.AddTags request -// } +// // myFunc uses an SDK service client to make a request to +// // Elastic Load Balancing. +// func myFunc(svc elbiface.ELBAPI) bool { +// // Make svc.AddTags request +// } // -// func main() { -// sess := session.New() -// svc := elb.New(sess) +// func main() { +// sess := session.New() +// svc := elb.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockELBClient struct { -// elbiface.ELBAPI -// } -// func (m *mockELBClient) AddTags(input *elb.AddTagsInput) (*elb.AddTagsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockELBClient struct { +// elbiface.ELBAPI +// } +// func (m *mockELBClient) AddTags(input *elb.AddTagsInput) (*elb.AddTagsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockELBClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockELBClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/service.go index 63860c837087..b4393a363364 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elb/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ELB client from just a session. -// svc := elb.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ELB client with additional configuration -// svc := elb.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ELB client from just a session. +// svc := elb.New(mySession) +// +// // Create a ELB client with additional configuration +// svc := elb.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ELB { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/api.go index b126ec14ce44..04a0e61ae08c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/api.go @@ -29,14 +29,13 @@ const opAddListenerCertificates = "AddListenerCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddListenerCertificatesRequest method. +// req, resp := client.AddListenerCertificatesRequest(params) // -// // Example sending a request using the AddListenerCertificatesRequest method. -// req, resp := client.AddListenerCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificates func (c *ELBV2) AddListenerCertificatesRequest(input *AddListenerCertificatesInput) (req *request.Request, output *AddListenerCertificatesOutput) { @@ -75,14 +74,15 @@ func (c *ELBV2) AddListenerCertificatesRequest(input *AddListenerCertificatesInp // API operation AddListenerCertificates for usage and error information. // // Returned Error Codes: -// * ErrCodeListenerNotFoundException "ListenerNotFound" -// The specified listener does not exist. // -// * ErrCodeTooManyCertificatesException "TooManyCertificates" -// You've reached the limit on the number of certificates per load balancer. +// - ErrCodeListenerNotFoundException "ListenerNotFound" +// The specified listener does not exist. +// +// - ErrCodeTooManyCertificatesException "TooManyCertificates" +// You've reached the limit on the number of certificates per load balancer. // -// * ErrCodeCertificateNotFoundException "CertificateNotFound" -// The specified certificate does not exist. +// - ErrCodeCertificateNotFoundException "CertificateNotFound" +// The specified certificate does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddListenerCertificates func (c *ELBV2) AddListenerCertificates(input *AddListenerCertificatesInput) (*AddListenerCertificatesOutput, error) { @@ -122,14 +122,13 @@ const opAddTags = "AddTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsRequest method. +// req, resp := client.AddTagsRequest(params) // -// // Example sending a request using the AddTagsRequest method. -// req, resp := client.AddTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTags func (c *ELBV2) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) { @@ -166,23 +165,24 @@ func (c *ELBV2) AddTagsRequest(input *AddTagsInput) (req *request.Request, outpu // API operation AddTags for usage and error information. // // Returned Error Codes: -// * ErrCodeDuplicateTagKeysException "DuplicateTagKeys" -// A tag key was specified more than once. // -// * ErrCodeTooManyTagsException "TooManyTags" -// You've reached the limit on the number of tags per load balancer. +// - ErrCodeDuplicateTagKeysException "DuplicateTagKeys" +// A tag key was specified more than once. +// +// - ErrCodeTooManyTagsException "TooManyTags" +// You've reached the limit on the number of tags per load balancer. // -// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. +// - ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. // -// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" -// The specified target group does not exist. +// - ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" +// The specified target group does not exist. // -// * ErrCodeListenerNotFoundException "ListenerNotFound" -// The specified listener does not exist. +// - ErrCodeListenerNotFoundException "ListenerNotFound" +// The specified listener does not exist. // -// * ErrCodeRuleNotFoundException "RuleNotFound" -// The specified rule does not exist. +// - ErrCodeRuleNotFoundException "RuleNotFound" +// The specified rule does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AddTags func (c *ELBV2) AddTags(input *AddTagsInput) (*AddTagsOutput, error) { @@ -222,14 +222,13 @@ const opCreateListener = "CreateListener" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateListenerRequest method. +// req, resp := client.CreateListenerRequest(params) // -// // Example sending a request using the CreateListenerRequest method. -// req, resp := client.CreateListenerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListener func (c *ELBV2) CreateListenerRequest(input *CreateListenerInput) (req *request.Request, output *CreateListenerOutput) { @@ -255,11 +254,11 @@ func (c *ELBV2) CreateListenerRequest(input *CreateListenerInput) (req *request. // // For more information, see the following: // -// * Listeners for your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html) +// - Listeners for your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html) // -// * Listeners for your Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html) +// - Listeners for your Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html) // -// * Listeners for your Gateway Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-listeners.html) +// - Listeners for your Gateway Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-listeners.html) // // This operation is idempotent, which means that it completes at most one time. // If you attempt to create multiple listeners with the same settings, each @@ -273,62 +272,63 @@ func (c *ELBV2) CreateListenerRequest(input *CreateListenerInput) (req *request. // API operation CreateListener for usage and error information. // // Returned Error Codes: -// * ErrCodeDuplicateListenerException "DuplicateListener" -// A listener with the specified port already exists. // -// * ErrCodeTooManyListenersException "TooManyListeners" -// You've reached the limit on the number of listeners per load balancer. +// - ErrCodeDuplicateListenerException "DuplicateListener" +// A listener with the specified port already exists. +// +// - ErrCodeTooManyListenersException "TooManyListeners" +// You've reached the limit on the number of listeners per load balancer. // -// * ErrCodeTooManyCertificatesException "TooManyCertificates" -// You've reached the limit on the number of certificates per load balancer. +// - ErrCodeTooManyCertificatesException "TooManyCertificates" +// You've reached the limit on the number of certificates per load balancer. // -// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. +// - ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. // -// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" -// The specified target group does not exist. +// - ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" +// The specified target group does not exist. // -// * ErrCodeTargetGroupAssociationLimitException "TargetGroupAssociationLimit" -// You've reached the limit on the number of load balancers per target group. +// - ErrCodeTargetGroupAssociationLimitException "TargetGroupAssociationLimit" +// You've reached the limit on the number of load balancers per target group. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration is not valid. +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration is not valid. // -// * ErrCodeIncompatibleProtocolsException "IncompatibleProtocols" -// The specified configuration is not valid with this protocol. +// - ErrCodeIncompatibleProtocolsException "IncompatibleProtocols" +// The specified configuration is not valid with this protocol. // -// * ErrCodeSSLPolicyNotFoundException "SSLPolicyNotFound" -// The specified SSL policy does not exist. +// - ErrCodeSSLPolicyNotFoundException "SSLPolicyNotFound" +// The specified SSL policy does not exist. // -// * ErrCodeCertificateNotFoundException "CertificateNotFound" -// The specified certificate does not exist. +// - ErrCodeCertificateNotFoundException "CertificateNotFound" +// The specified certificate does not exist. // -// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol" -// The specified protocol is not supported. +// - ErrCodeUnsupportedProtocolException "UnsupportedProtocol" +// The specified protocol is not supported. // -// * ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId" -// You've reached the limit on the number of times a target can be registered -// with a load balancer. +// - ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId" +// You've reached the limit on the number of times a target can be registered +// with a load balancer. // -// * ErrCodeTooManyTargetsException "TooManyTargets" -// You've reached the limit on the number of targets. +// - ErrCodeTooManyTargetsException "TooManyTargets" +// You've reached the limit on the number of targets. // -// * ErrCodeTooManyActionsException "TooManyActions" -// You've reached the limit on the number of actions per rule. +// - ErrCodeTooManyActionsException "TooManyActions" +// You've reached the limit on the number of actions per rule. // -// * ErrCodeInvalidLoadBalancerActionException "InvalidLoadBalancerAction" -// The requested action is not valid. +// - ErrCodeInvalidLoadBalancerActionException "InvalidLoadBalancerAction" +// The requested action is not valid. // -// * ErrCodeTooManyUniqueTargetGroupsPerLoadBalancerException "TooManyUniqueTargetGroupsPerLoadBalancer" -// You've reached the limit on the number of unique target groups per load balancer -// across all listeners. If a target group is used by multiple actions for a -// load balancer, it is counted as only one use. +// - ErrCodeTooManyUniqueTargetGroupsPerLoadBalancerException "TooManyUniqueTargetGroupsPerLoadBalancer" +// You've reached the limit on the number of unique target groups per load balancer +// across all listeners. If a target group is used by multiple actions for a +// load balancer, it is counted as only one use. // -// * ErrCodeALPNPolicyNotSupportedException "ALPNPolicyNotFound" -// The specified ALPN policy is not supported. +// - ErrCodeALPNPolicyNotSupportedException "ALPNPolicyNotFound" +// The specified ALPN policy is not supported. // -// * ErrCodeTooManyTagsException "TooManyTags" -// You've reached the limit on the number of tags per load balancer. +// - ErrCodeTooManyTagsException "TooManyTags" +// You've reached the limit on the number of tags per load balancer. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateListener func (c *ELBV2) CreateListener(input *CreateListenerInput) (*CreateListenerOutput, error) { @@ -368,14 +368,13 @@ const opCreateLoadBalancer = "CreateLoadBalancer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLoadBalancerRequest method. +// req, resp := client.CreateLoadBalancerRequest(params) // -// // Example sending a request using the CreateLoadBalancerRequest method. -// req, resp := client.CreateLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer func (c *ELBV2) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *request.Request, output *CreateLoadBalancerOutput) { @@ -401,11 +400,11 @@ func (c *ELBV2) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req * // // For more information, see the following: // -// * Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html) +// - Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html) // -// * Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html) +// - Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html) // -// * Gateway Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-load-balancers.html) +// - Gateway Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-load-balancers.html) // // This operation is idempotent, which means that it completes at most one time. // If you attempt to create multiple load balancers with the same settings, @@ -419,45 +418,46 @@ func (c *ELBV2) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req * // API operation CreateLoadBalancer for usage and error information. // // Returned Error Codes: -// * ErrCodeDuplicateLoadBalancerNameException "DuplicateLoadBalancerName" -// A load balancer with the specified name already exists. // -// * ErrCodeTooManyLoadBalancersException "TooManyLoadBalancers" -// You've reached the limit on the number of load balancers for your Amazon -// Web Services account. +// - ErrCodeDuplicateLoadBalancerNameException "DuplicateLoadBalancerName" +// A load balancer with the specified name already exists. +// +// - ErrCodeTooManyLoadBalancersException "TooManyLoadBalancers" +// You've reached the limit on the number of load balancers for your Amazon +// Web Services account. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration is not valid. +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration is not valid. // -// * ErrCodeSubnetNotFoundException "SubnetNotFound" -// The specified subnet does not exist. +// - ErrCodeSubnetNotFoundException "SubnetNotFound" +// The specified subnet does not exist. // -// * ErrCodeInvalidSubnetException "InvalidSubnet" -// The specified subnet is out of available addresses. +// - ErrCodeInvalidSubnetException "InvalidSubnet" +// The specified subnet is out of available addresses. // -// * ErrCodeInvalidSecurityGroupException "InvalidSecurityGroup" -// The specified security group does not exist. +// - ErrCodeInvalidSecurityGroupException "InvalidSecurityGroup" +// The specified security group does not exist. // -// * ErrCodeInvalidSchemeException "InvalidScheme" -// The requested scheme is not valid. +// - ErrCodeInvalidSchemeException "InvalidScheme" +// The requested scheme is not valid. // -// * ErrCodeTooManyTagsException "TooManyTags" -// You've reached the limit on the number of tags per load balancer. +// - ErrCodeTooManyTagsException "TooManyTags" +// You've reached the limit on the number of tags per load balancer. // -// * ErrCodeDuplicateTagKeysException "DuplicateTagKeys" -// A tag key was specified more than once. +// - ErrCodeDuplicateTagKeysException "DuplicateTagKeys" +// A tag key was specified more than once. // -// * ErrCodeResourceInUseException "ResourceInUse" -// A specified resource is in use. +// - ErrCodeResourceInUseException "ResourceInUse" +// A specified resource is in use. // -// * ErrCodeAllocationIdNotFoundException "AllocationIdNotFound" -// The specified allocation ID does not exist. +// - ErrCodeAllocationIdNotFoundException "AllocationIdNotFound" +// The specified allocation ID does not exist. // -// * ErrCodeAvailabilityZoneNotSupportedException "AvailabilityZoneNotSupported" -// The specified Availability Zone is not supported. +// - ErrCodeAvailabilityZoneNotSupportedException "AvailabilityZoneNotSupported" +// The specified Availability Zone is not supported. // -// * ErrCodeOperationNotPermittedException "OperationNotPermitted" -// This operation is not allowed. +// - ErrCodeOperationNotPermittedException "OperationNotPermitted" +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer func (c *ELBV2) CreateLoadBalancer(input *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error) { @@ -497,14 +497,13 @@ const opCreateRule = "CreateRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRuleRequest method. +// req, resp := client.CreateRuleRequest(params) // -// // Example sending a request using the CreateRuleRequest method. -// req, resp := client.CreateRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRule func (c *ELBV2) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, output *CreateRuleOutput) { @@ -543,54 +542,55 @@ func (c *ELBV2) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, // API operation CreateRule for usage and error information. // // Returned Error Codes: -// * ErrCodePriorityInUseException "PriorityInUse" -// The specified priority is in use. // -// * ErrCodeTooManyTargetGroupsException "TooManyTargetGroups" -// You've reached the limit on the number of target groups for your Amazon Web -// Services account. +// - ErrCodePriorityInUseException "PriorityInUse" +// The specified priority is in use. +// +// - ErrCodeTooManyTargetGroupsException "TooManyTargetGroups" +// You've reached the limit on the number of target groups for your Amazon Web +// Services account. // -// * ErrCodeTooManyRulesException "TooManyRules" -// You've reached the limit on the number of rules per load balancer. +// - ErrCodeTooManyRulesException "TooManyRules" +// You've reached the limit on the number of rules per load balancer. // -// * ErrCodeTargetGroupAssociationLimitException "TargetGroupAssociationLimit" -// You've reached the limit on the number of load balancers per target group. +// - ErrCodeTargetGroupAssociationLimitException "TargetGroupAssociationLimit" +// You've reached the limit on the number of load balancers per target group. // -// * ErrCodeIncompatibleProtocolsException "IncompatibleProtocols" -// The specified configuration is not valid with this protocol. +// - ErrCodeIncompatibleProtocolsException "IncompatibleProtocols" +// The specified configuration is not valid with this protocol. // -// * ErrCodeListenerNotFoundException "ListenerNotFound" -// The specified listener does not exist. +// - ErrCodeListenerNotFoundException "ListenerNotFound" +// The specified listener does not exist. // -// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" -// The specified target group does not exist. +// - ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" +// The specified target group does not exist. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration is not valid. +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration is not valid. // -// * ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId" -// You've reached the limit on the number of times a target can be registered -// with a load balancer. +// - ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId" +// You've reached the limit on the number of times a target can be registered +// with a load balancer. // -// * ErrCodeTooManyTargetsException "TooManyTargets" -// You've reached the limit on the number of targets. +// - ErrCodeTooManyTargetsException "TooManyTargets" +// You've reached the limit on the number of targets. // -// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol" -// The specified protocol is not supported. +// - ErrCodeUnsupportedProtocolException "UnsupportedProtocol" +// The specified protocol is not supported. // -// * ErrCodeTooManyActionsException "TooManyActions" -// You've reached the limit on the number of actions per rule. +// - ErrCodeTooManyActionsException "TooManyActions" +// You've reached the limit on the number of actions per rule. // -// * ErrCodeInvalidLoadBalancerActionException "InvalidLoadBalancerAction" -// The requested action is not valid. +// - ErrCodeInvalidLoadBalancerActionException "InvalidLoadBalancerAction" +// The requested action is not valid. // -// * ErrCodeTooManyUniqueTargetGroupsPerLoadBalancerException "TooManyUniqueTargetGroupsPerLoadBalancer" -// You've reached the limit on the number of unique target groups per load balancer -// across all listeners. If a target group is used by multiple actions for a -// load balancer, it is counted as only one use. +// - ErrCodeTooManyUniqueTargetGroupsPerLoadBalancerException "TooManyUniqueTargetGroupsPerLoadBalancer" +// You've reached the limit on the number of unique target groups per load balancer +// across all listeners. If a target group is used by multiple actions for a +// load balancer, it is counted as only one use. // -// * ErrCodeTooManyTagsException "TooManyTags" -// You've reached the limit on the number of tags per load balancer. +// - ErrCodeTooManyTagsException "TooManyTags" +// You've reached the limit on the number of tags per load balancer. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateRule func (c *ELBV2) CreateRule(input *CreateRuleInput) (*CreateRuleOutput, error) { @@ -630,14 +630,13 @@ const opCreateTargetGroup = "CreateTargetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTargetGroupRequest method. +// req, resp := client.CreateTargetGroupRequest(params) // -// // Example sending a request using the CreateTargetGroupRequest method. -// req, resp := client.CreateTargetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroup func (c *ELBV2) CreateTargetGroupRequest(input *CreateTargetGroupInput) (req *request.Request, output *CreateTargetGroupOutput) { @@ -662,11 +661,11 @@ func (c *ELBV2) CreateTargetGroupRequest(input *CreateTargetGroupInput) (req *re // // For more information, see the following: // -// * Target groups for your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html) +// - Target groups for your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html) // -// * Target groups for your Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html) +// - Target groups for your Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html) // -// * Target groups for your Gateway Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html) +// - Target groups for your Gateway Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html) // // This operation is idempotent, which means that it completes at most one time. // If you attempt to create multiple target groups with the same settings, each @@ -680,18 +679,19 @@ func (c *ELBV2) CreateTargetGroupRequest(input *CreateTargetGroupInput) (req *re // API operation CreateTargetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDuplicateTargetGroupNameException "DuplicateTargetGroupName" -// A target group with the specified name already exists. // -// * ErrCodeTooManyTargetGroupsException "TooManyTargetGroups" -// You've reached the limit on the number of target groups for your Amazon Web -// Services account. +// - ErrCodeDuplicateTargetGroupNameException "DuplicateTargetGroupName" +// A target group with the specified name already exists. +// +// - ErrCodeTooManyTargetGroupsException "TooManyTargetGroups" +// You've reached the limit on the number of target groups for your Amazon Web +// Services account. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration is not valid. +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration is not valid. // -// * ErrCodeTooManyTagsException "TooManyTags" -// You've reached the limit on the number of tags per load balancer. +// - ErrCodeTooManyTagsException "TooManyTags" +// You've reached the limit on the number of tags per load balancer. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroup func (c *ELBV2) CreateTargetGroup(input *CreateTargetGroupInput) (*CreateTargetGroupOutput, error) { @@ -731,14 +731,13 @@ const opDeleteListener = "DeleteListener" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteListenerRequest method. +// req, resp := client.DeleteListenerRequest(params) // -// // Example sending a request using the DeleteListenerRequest method. -// req, resp := client.DeleteListenerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListener func (c *ELBV2) DeleteListenerRequest(input *DeleteListenerInput) (req *request.Request, output *DeleteListenerOutput) { @@ -773,11 +772,12 @@ func (c *ELBV2) DeleteListenerRequest(input *DeleteListenerInput) (req *request. // API operation DeleteListener for usage and error information. // // Returned Error Codes: -// * ErrCodeListenerNotFoundException "ListenerNotFound" -// The specified listener does not exist. // -// * ErrCodeResourceInUseException "ResourceInUse" -// A specified resource is in use. +// - ErrCodeListenerNotFoundException "ListenerNotFound" +// The specified listener does not exist. +// +// - ErrCodeResourceInUseException "ResourceInUse" +// A specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteListener func (c *ELBV2) DeleteListener(input *DeleteListenerInput) (*DeleteListenerOutput, error) { @@ -817,14 +817,13 @@ const opDeleteLoadBalancer = "DeleteLoadBalancer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLoadBalancerRequest method. +// req, resp := client.DeleteLoadBalancerRequest(params) // -// // Example sending a request using the DeleteLoadBalancerRequest method. -// req, resp := client.DeleteLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancer func (c *ELBV2) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (req *request.Request, output *DeleteLoadBalancerOutput) { @@ -865,14 +864,15 @@ func (c *ELBV2) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (req * // API operation DeleteLoadBalancer for usage and error information. // // Returned Error Codes: -// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeOperationNotPermittedException "OperationNotPermitted" -// This operation is not allowed. +// - ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeOperationNotPermittedException "OperationNotPermitted" +// This operation is not allowed. // -// * ErrCodeResourceInUseException "ResourceInUse" -// A specified resource is in use. +// - ErrCodeResourceInUseException "ResourceInUse" +// A specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteLoadBalancer func (c *ELBV2) DeleteLoadBalancer(input *DeleteLoadBalancerInput) (*DeleteLoadBalancerOutput, error) { @@ -912,14 +912,13 @@ const opDeleteRule = "DeleteRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRuleRequest method. +// req, resp := client.DeleteRuleRequest(params) // -// // Example sending a request using the DeleteRuleRequest method. -// req, resp := client.DeleteRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRule func (c *ELBV2) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, output *DeleteRuleOutput) { @@ -953,11 +952,12 @@ func (c *ELBV2) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, // API operation DeleteRule for usage and error information. // // Returned Error Codes: -// * ErrCodeRuleNotFoundException "RuleNotFound" -// The specified rule does not exist. // -// * ErrCodeOperationNotPermittedException "OperationNotPermitted" -// This operation is not allowed. +// - ErrCodeRuleNotFoundException "RuleNotFound" +// The specified rule does not exist. +// +// - ErrCodeOperationNotPermittedException "OperationNotPermitted" +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteRule func (c *ELBV2) DeleteRule(input *DeleteRuleInput) (*DeleteRuleOutput, error) { @@ -997,14 +997,13 @@ const opDeleteTargetGroup = "DeleteTargetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTargetGroupRequest method. +// req, resp := client.DeleteTargetGroupRequest(params) // -// // Example sending a request using the DeleteTargetGroupRequest method. -// req, resp := client.DeleteTargetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroup func (c *ELBV2) DeleteTargetGroupRequest(input *DeleteTargetGroupInput) (req *request.Request, output *DeleteTargetGroupOutput) { @@ -1041,8 +1040,8 @@ func (c *ELBV2) DeleteTargetGroupRequest(input *DeleteTargetGroupInput) (req *re // API operation DeleteTargetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceInUseException "ResourceInUse" -// A specified resource is in use. +// - ErrCodeResourceInUseException "ResourceInUse" +// A specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeleteTargetGroup func (c *ELBV2) DeleteTargetGroup(input *DeleteTargetGroupInput) (*DeleteTargetGroupOutput, error) { @@ -1082,14 +1081,13 @@ const opDeregisterTargets = "DeregisterTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterTargetsRequest method. +// req, resp := client.DeregisterTargetsRequest(params) // -// // Example sending a request using the DeregisterTargetsRequest method. -// req, resp := client.DeregisterTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargets func (c *ELBV2) DeregisterTargetsRequest(input *DeregisterTargetsInput) (req *request.Request, output *DeregisterTargetsOutput) { @@ -1123,12 +1121,13 @@ func (c *ELBV2) DeregisterTargetsRequest(input *DeregisterTargetsInput) (req *re // API operation DeregisterTargets for usage and error information. // // Returned Error Codes: -// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" -// The specified target group does not exist. // -// * ErrCodeInvalidTargetException "InvalidTarget" -// The specified target does not exist, is not in the same VPC as the target -// group, or has an unsupported instance type. +// - ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" +// The specified target group does not exist. +// +// - ErrCodeInvalidTargetException "InvalidTarget" +// The specified target does not exist, is not in the same VPC as the target +// group, or has an unsupported instance type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DeregisterTargets func (c *ELBV2) DeregisterTargets(input *DeregisterTargetsInput) (*DeregisterTargetsOutput, error) { @@ -1168,14 +1167,13 @@ const opDescribeAccountLimits = "DescribeAccountLimits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountLimitsRequest method. +// req, resp := client.DescribeAccountLimitsRequest(params) // -// // Example sending a request using the DescribeAccountLimitsRequest method. -// req, resp := client.DescribeAccountLimitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeAccountLimits func (c *ELBV2) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) (req *request.Request, output *DescribeAccountLimitsOutput) { @@ -1201,11 +1199,11 @@ func (c *ELBV2) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) // // For more information, see the following: // -// * Quotas for your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html) +// - Quotas for your Application Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html) // -// * Quotas for your Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html) +// - Quotas for your Network Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html) // -// * Quotas for your Gateway Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/quotas-limits.html) +// - Quotas for your Gateway Load Balancers (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/quotas-limits.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1251,14 +1249,13 @@ const opDescribeListenerCertificates = "DescribeListenerCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeListenerCertificatesRequest method. +// req, resp := client.DescribeListenerCertificatesRequest(params) // -// // Example sending a request using the DescribeListenerCertificatesRequest method. -// req, resp := client.DescribeListenerCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificates func (c *ELBV2) DescribeListenerCertificatesRequest(input *DescribeListenerCertificatesInput) (req *request.Request, output *DescribeListenerCertificatesOutput) { @@ -1298,8 +1295,8 @@ func (c *ELBV2) DescribeListenerCertificatesRequest(input *DescribeListenerCerti // API operation DescribeListenerCertificates for usage and error information. // // Returned Error Codes: -// * ErrCodeListenerNotFoundException "ListenerNotFound" -// The specified listener does not exist. +// - ErrCodeListenerNotFoundException "ListenerNotFound" +// The specified listener does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListenerCertificates func (c *ELBV2) DescribeListenerCertificates(input *DescribeListenerCertificatesInput) (*DescribeListenerCertificatesOutput, error) { @@ -1339,14 +1336,13 @@ const opDescribeListeners = "DescribeListeners" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeListenersRequest method. +// req, resp := client.DescribeListenersRequest(params) // -// // Example sending a request using the DescribeListenersRequest method. -// req, resp := client.DescribeListenersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListeners func (c *ELBV2) DescribeListenersRequest(input *DescribeListenersInput) (req *request.Request, output *DescribeListenersOutput) { @@ -1385,14 +1381,15 @@ func (c *ELBV2) DescribeListenersRequest(input *DescribeListenersInput) (req *re // API operation DescribeListeners for usage and error information. // // Returned Error Codes: -// * ErrCodeListenerNotFoundException "ListenerNotFound" -// The specified listener does not exist. // -// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. +// - ErrCodeListenerNotFoundException "ListenerNotFound" +// The specified listener does not exist. // -// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol" -// The specified protocol is not supported. +// - ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeUnsupportedProtocolException "UnsupportedProtocol" +// The specified protocol is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeListeners func (c *ELBV2) DescribeListeners(input *DescribeListenersInput) (*DescribeListenersOutput, error) { @@ -1424,15 +1421,14 @@ func (c *ELBV2) DescribeListenersWithContext(ctx aws.Context, input *DescribeLis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeListeners operation. -// pageNum := 0 -// err := client.DescribeListenersPages(params, -// func(page *elbv2.DescribeListenersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeListeners operation. +// pageNum := 0 +// err := client.DescribeListenersPages(params, +// func(page *elbv2.DescribeListenersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ELBV2) DescribeListenersPages(input *DescribeListenersInput, fn func(*DescribeListenersOutput, bool) bool) error { return c.DescribeListenersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1484,14 +1480,13 @@ const opDescribeLoadBalancerAttributes = "DescribeLoadBalancerAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLoadBalancerAttributesRequest method. +// req, resp := client.DescribeLoadBalancerAttributesRequest(params) // -// // Example sending a request using the DescribeLoadBalancerAttributesRequest method. -// req, resp := client.DescribeLoadBalancerAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributes func (c *ELBV2) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalancerAttributesInput) (req *request.Request, output *DescribeLoadBalancerAttributesOutput) { @@ -1517,14 +1512,14 @@ func (c *ELBV2) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalance // // For more information, see the following: // -// * Load balancer attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#load-balancer-attributes) -// in the Application Load Balancers Guide +// - Load balancer attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#load-balancer-attributes) +// in the Application Load Balancers Guide // -// * Load balancer attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#load-balancer-attributes) -// in the Network Load Balancers Guide +// - Load balancer attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#load-balancer-attributes) +// in the Network Load Balancers Guide // -// * Load balancer attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-load-balancers.html#load-balancer-attributes) -// in the Gateway Load Balancers Guide +// - Load balancer attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-load-balancers.html#load-balancer-attributes) +// in the Gateway Load Balancers Guide // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1534,8 +1529,8 @@ func (c *ELBV2) DescribeLoadBalancerAttributesRequest(input *DescribeLoadBalance // API operation DescribeLoadBalancerAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. +// - ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancerAttributes func (c *ELBV2) DescribeLoadBalancerAttributes(input *DescribeLoadBalancerAttributesInput) (*DescribeLoadBalancerAttributesOutput, error) { @@ -1575,14 +1570,13 @@ const opDescribeLoadBalancers = "DescribeLoadBalancers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLoadBalancersRequest method. +// req, resp := client.DescribeLoadBalancersRequest(params) // -// // Example sending a request using the DescribeLoadBalancersRequest method. -// req, resp := client.DescribeLoadBalancersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancers func (c *ELBV2) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) (req *request.Request, output *DescribeLoadBalancersOutput) { @@ -1619,8 +1613,8 @@ func (c *ELBV2) DescribeLoadBalancersRequest(input *DescribeLoadBalancersInput) // API operation DescribeLoadBalancers for usage and error information. // // Returned Error Codes: -// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. +// - ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeLoadBalancers func (c *ELBV2) DescribeLoadBalancers(input *DescribeLoadBalancersInput) (*DescribeLoadBalancersOutput, error) { @@ -1652,15 +1646,14 @@ func (c *ELBV2) DescribeLoadBalancersWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeLoadBalancers operation. -// pageNum := 0 -// err := client.DescribeLoadBalancersPages(params, -// func(page *elbv2.DescribeLoadBalancersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeLoadBalancers operation. +// pageNum := 0 +// err := client.DescribeLoadBalancersPages(params, +// func(page *elbv2.DescribeLoadBalancersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ELBV2) DescribeLoadBalancersPages(input *DescribeLoadBalancersInput, fn func(*DescribeLoadBalancersOutput, bool) bool) error { return c.DescribeLoadBalancersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1712,14 +1705,13 @@ const opDescribeRules = "DescribeRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRulesRequest method. +// req, resp := client.DescribeRulesRequest(params) // -// // Example sending a request using the DescribeRulesRequest method. -// req, resp := client.DescribeRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRules func (c *ELBV2) DescribeRulesRequest(input *DescribeRulesInput) (req *request.Request, output *DescribeRulesOutput) { @@ -1751,14 +1743,15 @@ func (c *ELBV2) DescribeRulesRequest(input *DescribeRulesInput) (req *request.Re // API operation DescribeRules for usage and error information. // // Returned Error Codes: -// * ErrCodeListenerNotFoundException "ListenerNotFound" -// The specified listener does not exist. // -// * ErrCodeRuleNotFoundException "RuleNotFound" -// The specified rule does not exist. +// - ErrCodeListenerNotFoundException "ListenerNotFound" +// The specified listener does not exist. // -// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol" -// The specified protocol is not supported. +// - ErrCodeRuleNotFoundException "RuleNotFound" +// The specified rule does not exist. +// +// - ErrCodeUnsupportedProtocolException "UnsupportedProtocol" +// The specified protocol is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeRules func (c *ELBV2) DescribeRules(input *DescribeRulesInput) (*DescribeRulesOutput, error) { @@ -1798,14 +1791,13 @@ const opDescribeSSLPolicies = "DescribeSSLPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSSLPoliciesRequest method. +// req, resp := client.DescribeSSLPoliciesRequest(params) // -// // Example sending a request using the DescribeSSLPoliciesRequest method. -// req, resp := client.DescribeSSLPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPolicies func (c *ELBV2) DescribeSSLPoliciesRequest(input *DescribeSSLPoliciesInput) (req *request.Request, output *DescribeSSLPoliciesOutput) { @@ -1840,8 +1832,8 @@ func (c *ELBV2) DescribeSSLPoliciesRequest(input *DescribeSSLPoliciesInput) (req // API operation DescribeSSLPolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeSSLPolicyNotFoundException "SSLPolicyNotFound" -// The specified SSL policy does not exist. +// - ErrCodeSSLPolicyNotFoundException "SSLPolicyNotFound" +// The specified SSL policy does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeSSLPolicies func (c *ELBV2) DescribeSSLPolicies(input *DescribeSSLPoliciesInput) (*DescribeSSLPoliciesOutput, error) { @@ -1881,14 +1873,13 @@ const opDescribeTags = "DescribeTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTagsRequest method. +// req, resp := client.DescribeTagsRequest(params) // -// // Example sending a request using the DescribeTagsRequest method. -// req, resp := client.DescribeTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTags func (c *ELBV2) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { @@ -1921,17 +1912,18 @@ func (c *ELBV2) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Requ // API operation DescribeTags for usage and error information. // // Returned Error Codes: -// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" -// The specified target group does not exist. +// - ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" +// The specified target group does not exist. // -// * ErrCodeListenerNotFoundException "ListenerNotFound" -// The specified listener does not exist. +// - ErrCodeListenerNotFoundException "ListenerNotFound" +// The specified listener does not exist. // -// * ErrCodeRuleNotFoundException "RuleNotFound" -// The specified rule does not exist. +// - ErrCodeRuleNotFoundException "RuleNotFound" +// The specified rule does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTags func (c *ELBV2) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { @@ -1971,14 +1963,13 @@ const opDescribeTargetGroupAttributes = "DescribeTargetGroupAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTargetGroupAttributesRequest method. +// req, resp := client.DescribeTargetGroupAttributesRequest(params) // -// // Example sending a request using the DescribeTargetGroupAttributesRequest method. -// req, resp := client.DescribeTargetGroupAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributes func (c *ELBV2) DescribeTargetGroupAttributesRequest(input *DescribeTargetGroupAttributesInput) (req *request.Request, output *DescribeTargetGroupAttributesOutput) { @@ -2003,14 +1994,14 @@ func (c *ELBV2) DescribeTargetGroupAttributesRequest(input *DescribeTargetGroupA // // For more information, see the following: // -// * Target group attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#target-group-attributes) -// in the Application Load Balancers Guide +// - Target group attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#target-group-attributes) +// in the Application Load Balancers Guide // -// * Target group attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#target-group-attributes) -// in the Network Load Balancers Guide +// - Target group attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#target-group-attributes) +// in the Network Load Balancers Guide // -// * Target group attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html#target-group-attributes) -// in the Gateway Load Balancers Guide +// - Target group attributes (https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html#target-group-attributes) +// in the Gateway Load Balancers Guide // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2020,8 +2011,8 @@ func (c *ELBV2) DescribeTargetGroupAttributesRequest(input *DescribeTargetGroupA // API operation DescribeTargetGroupAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" -// The specified target group does not exist. +// - ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" +// The specified target group does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroupAttributes func (c *ELBV2) DescribeTargetGroupAttributes(input *DescribeTargetGroupAttributesInput) (*DescribeTargetGroupAttributesOutput, error) { @@ -2061,14 +2052,13 @@ const opDescribeTargetGroups = "DescribeTargetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTargetGroupsRequest method. +// req, resp := client.DescribeTargetGroupsRequest(params) // -// // Example sending a request using the DescribeTargetGroupsRequest method. -// req, resp := client.DescribeTargetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroups func (c *ELBV2) DescribeTargetGroupsRequest(input *DescribeTargetGroupsInput) (req *request.Request, output *DescribeTargetGroupsOutput) { @@ -2108,11 +2098,12 @@ func (c *ELBV2) DescribeTargetGroupsRequest(input *DescribeTargetGroupsInput) (r // API operation DescribeTargetGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" -// The specified target group does not exist. +// - ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" +// The specified target group does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroups func (c *ELBV2) DescribeTargetGroups(input *DescribeTargetGroupsInput) (*DescribeTargetGroupsOutput, error) { @@ -2144,15 +2135,14 @@ func (c *ELBV2) DescribeTargetGroupsWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTargetGroups operation. -// pageNum := 0 -// err := client.DescribeTargetGroupsPages(params, -// func(page *elbv2.DescribeTargetGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTargetGroups operation. +// pageNum := 0 +// err := client.DescribeTargetGroupsPages(params, +// func(page *elbv2.DescribeTargetGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ELBV2) DescribeTargetGroupsPages(input *DescribeTargetGroupsInput, fn func(*DescribeTargetGroupsOutput, bool) bool) error { return c.DescribeTargetGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2204,14 +2194,13 @@ const opDescribeTargetHealth = "DescribeTargetHealth" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTargetHealthRequest method. +// req, resp := client.DescribeTargetHealthRequest(params) // -// // Example sending a request using the DescribeTargetHealthRequest method. -// req, resp := client.DescribeTargetHealthRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealth func (c *ELBV2) DescribeTargetHealthRequest(input *DescribeTargetHealthInput) (req *request.Request, output *DescribeTargetHealthOutput) { @@ -2242,16 +2231,17 @@ func (c *ELBV2) DescribeTargetHealthRequest(input *DescribeTargetHealthInput) (r // API operation DescribeTargetHealth for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidTargetException "InvalidTarget" -// The specified target does not exist, is not in the same VPC as the target -// group, or has an unsupported instance type. // -// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" -// The specified target group does not exist. +// - ErrCodeInvalidTargetException "InvalidTarget" +// The specified target does not exist, is not in the same VPC as the target +// group, or has an unsupported instance type. +// +// - ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" +// The specified target group does not exist. // -// * ErrCodeHealthUnavailableException "HealthUnavailable" -// The health of the specified targets could not be retrieved due to an internal -// error. +// - ErrCodeHealthUnavailableException "HealthUnavailable" +// The health of the specified targets could not be retrieved due to an internal +// error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetHealth func (c *ELBV2) DescribeTargetHealth(input *DescribeTargetHealthInput) (*DescribeTargetHealthOutput, error) { @@ -2291,14 +2281,13 @@ const opModifyListener = "ModifyListener" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyListenerRequest method. +// req, resp := client.ModifyListenerRequest(params) // -// // Example sending a request using the ModifyListenerRequest method. -// req, resp := client.ModifyListenerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListener func (c *ELBV2) ModifyListenerRequest(input *ModifyListenerInput) (req *request.Request, output *ModifyListenerOutput) { @@ -2339,59 +2328,60 @@ func (c *ELBV2) ModifyListenerRequest(input *ModifyListenerInput) (req *request. // API operation ModifyListener for usage and error information. // // Returned Error Codes: -// * ErrCodeDuplicateListenerException "DuplicateListener" -// A listener with the specified port already exists. // -// * ErrCodeTooManyListenersException "TooManyListeners" -// You've reached the limit on the number of listeners per load balancer. +// - ErrCodeDuplicateListenerException "DuplicateListener" +// A listener with the specified port already exists. +// +// - ErrCodeTooManyListenersException "TooManyListeners" +// You've reached the limit on the number of listeners per load balancer. // -// * ErrCodeTooManyCertificatesException "TooManyCertificates" -// You've reached the limit on the number of certificates per load balancer. +// - ErrCodeTooManyCertificatesException "TooManyCertificates" +// You've reached the limit on the number of certificates per load balancer. // -// * ErrCodeListenerNotFoundException "ListenerNotFound" -// The specified listener does not exist. +// - ErrCodeListenerNotFoundException "ListenerNotFound" +// The specified listener does not exist. // -// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" -// The specified target group does not exist. +// - ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" +// The specified target group does not exist. // -// * ErrCodeTargetGroupAssociationLimitException "TargetGroupAssociationLimit" -// You've reached the limit on the number of load balancers per target group. +// - ErrCodeTargetGroupAssociationLimitException "TargetGroupAssociationLimit" +// You've reached the limit on the number of load balancers per target group. // -// * ErrCodeIncompatibleProtocolsException "IncompatibleProtocols" -// The specified configuration is not valid with this protocol. +// - ErrCodeIncompatibleProtocolsException "IncompatibleProtocols" +// The specified configuration is not valid with this protocol. // -// * ErrCodeSSLPolicyNotFoundException "SSLPolicyNotFound" -// The specified SSL policy does not exist. +// - ErrCodeSSLPolicyNotFoundException "SSLPolicyNotFound" +// The specified SSL policy does not exist. // -// * ErrCodeCertificateNotFoundException "CertificateNotFound" -// The specified certificate does not exist. +// - ErrCodeCertificateNotFoundException "CertificateNotFound" +// The specified certificate does not exist. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration is not valid. +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration is not valid. // -// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol" -// The specified protocol is not supported. +// - ErrCodeUnsupportedProtocolException "UnsupportedProtocol" +// The specified protocol is not supported. // -// * ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId" -// You've reached the limit on the number of times a target can be registered -// with a load balancer. +// - ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId" +// You've reached the limit on the number of times a target can be registered +// with a load balancer. // -// * ErrCodeTooManyTargetsException "TooManyTargets" -// You've reached the limit on the number of targets. +// - ErrCodeTooManyTargetsException "TooManyTargets" +// You've reached the limit on the number of targets. // -// * ErrCodeTooManyActionsException "TooManyActions" -// You've reached the limit on the number of actions per rule. +// - ErrCodeTooManyActionsException "TooManyActions" +// You've reached the limit on the number of actions per rule. // -// * ErrCodeInvalidLoadBalancerActionException "InvalidLoadBalancerAction" -// The requested action is not valid. +// - ErrCodeInvalidLoadBalancerActionException "InvalidLoadBalancerAction" +// The requested action is not valid. // -// * ErrCodeTooManyUniqueTargetGroupsPerLoadBalancerException "TooManyUniqueTargetGroupsPerLoadBalancer" -// You've reached the limit on the number of unique target groups per load balancer -// across all listeners. If a target group is used by multiple actions for a -// load balancer, it is counted as only one use. +// - ErrCodeTooManyUniqueTargetGroupsPerLoadBalancerException "TooManyUniqueTargetGroupsPerLoadBalancer" +// You've reached the limit on the number of unique target groups per load balancer +// across all listeners. If a target group is used by multiple actions for a +// load balancer, it is counted as only one use. // -// * ErrCodeALPNPolicyNotSupportedException "ALPNPolicyNotFound" -// The specified ALPN policy is not supported. +// - ErrCodeALPNPolicyNotSupportedException "ALPNPolicyNotFound" +// The specified ALPN policy is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyListener func (c *ELBV2) ModifyListener(input *ModifyListenerInput) (*ModifyListenerOutput, error) { @@ -2431,14 +2421,13 @@ const opModifyLoadBalancerAttributes = "ModifyLoadBalancerAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyLoadBalancerAttributesRequest method. +// req, resp := client.ModifyLoadBalancerAttributesRequest(params) // -// // Example sending a request using the ModifyLoadBalancerAttributesRequest method. -// req, resp := client.ModifyLoadBalancerAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributes func (c *ELBV2) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAttributesInput) (req *request.Request, output *ModifyLoadBalancerAttributesOutput) { @@ -2474,11 +2463,12 @@ func (c *ELBV2) ModifyLoadBalancerAttributesRequest(input *ModifyLoadBalancerAtt // API operation ModifyLoadBalancerAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration is not valid. +// - ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyLoadBalancerAttributes func (c *ELBV2) ModifyLoadBalancerAttributes(input *ModifyLoadBalancerAttributesInput) (*ModifyLoadBalancerAttributesOutput, error) { @@ -2518,14 +2508,13 @@ const opModifyRule = "ModifyRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyRuleRequest method. +// req, resp := client.ModifyRuleRequest(params) // -// // Example sending a request using the ModifyRuleRequest method. -// req, resp := client.ModifyRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRule func (c *ELBV2) ModifyRuleRequest(input *ModifyRuleInput) (req *request.Request, output *ModifyRuleOutput) { @@ -2561,41 +2550,42 @@ func (c *ELBV2) ModifyRuleRequest(input *ModifyRuleInput) (req *request.Request, // API operation ModifyRule for usage and error information. // // Returned Error Codes: -// * ErrCodeTargetGroupAssociationLimitException "TargetGroupAssociationLimit" -// You've reached the limit on the number of load balancers per target group. // -// * ErrCodeIncompatibleProtocolsException "IncompatibleProtocols" -// The specified configuration is not valid with this protocol. +// - ErrCodeTargetGroupAssociationLimitException "TargetGroupAssociationLimit" +// You've reached the limit on the number of load balancers per target group. +// +// - ErrCodeIncompatibleProtocolsException "IncompatibleProtocols" +// The specified configuration is not valid with this protocol. // -// * ErrCodeRuleNotFoundException "RuleNotFound" -// The specified rule does not exist. +// - ErrCodeRuleNotFoundException "RuleNotFound" +// The specified rule does not exist. // -// * ErrCodeOperationNotPermittedException "OperationNotPermitted" -// This operation is not allowed. +// - ErrCodeOperationNotPermittedException "OperationNotPermitted" +// This operation is not allowed. // -// * ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId" -// You've reached the limit on the number of times a target can be registered -// with a load balancer. +// - ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId" +// You've reached the limit on the number of times a target can be registered +// with a load balancer. // -// * ErrCodeTooManyTargetsException "TooManyTargets" -// You've reached the limit on the number of targets. +// - ErrCodeTooManyTargetsException "TooManyTargets" +// You've reached the limit on the number of targets. // -// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" -// The specified target group does not exist. +// - ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" +// The specified target group does not exist. // -// * ErrCodeUnsupportedProtocolException "UnsupportedProtocol" -// The specified protocol is not supported. +// - ErrCodeUnsupportedProtocolException "UnsupportedProtocol" +// The specified protocol is not supported. // -// * ErrCodeTooManyActionsException "TooManyActions" -// You've reached the limit on the number of actions per rule. +// - ErrCodeTooManyActionsException "TooManyActions" +// You've reached the limit on the number of actions per rule. // -// * ErrCodeInvalidLoadBalancerActionException "InvalidLoadBalancerAction" -// The requested action is not valid. +// - ErrCodeInvalidLoadBalancerActionException "InvalidLoadBalancerAction" +// The requested action is not valid. // -// * ErrCodeTooManyUniqueTargetGroupsPerLoadBalancerException "TooManyUniqueTargetGroupsPerLoadBalancer" -// You've reached the limit on the number of unique target groups per load balancer -// across all listeners. If a target group is used by multiple actions for a -// load balancer, it is counted as only one use. +// - ErrCodeTooManyUniqueTargetGroupsPerLoadBalancerException "TooManyUniqueTargetGroupsPerLoadBalancer" +// You've reached the limit on the number of unique target groups per load balancer +// across all listeners. If a target group is used by multiple actions for a +// load balancer, it is counted as only one use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyRule func (c *ELBV2) ModifyRule(input *ModifyRuleInput) (*ModifyRuleOutput, error) { @@ -2635,14 +2625,13 @@ const opModifyTargetGroup = "ModifyTargetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyTargetGroupRequest method. +// req, resp := client.ModifyTargetGroupRequest(params) // -// // Example sending a request using the ModifyTargetGroupRequest method. -// req, resp := client.ModifyTargetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroup func (c *ELBV2) ModifyTargetGroupRequest(input *ModifyTargetGroupInput) (req *request.Request, output *ModifyTargetGroupOutput) { @@ -2674,11 +2663,12 @@ func (c *ELBV2) ModifyTargetGroupRequest(input *ModifyTargetGroupInput) (req *re // API operation ModifyTargetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" -// The specified target group does not exist. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration is not valid. +// - ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" +// The specified target group does not exist. +// +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroup func (c *ELBV2) ModifyTargetGroup(input *ModifyTargetGroupInput) (*ModifyTargetGroupOutput, error) { @@ -2718,14 +2708,13 @@ const opModifyTargetGroupAttributes = "ModifyTargetGroupAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyTargetGroupAttributesRequest method. +// req, resp := client.ModifyTargetGroupAttributesRequest(params) // -// // Example sending a request using the ModifyTargetGroupAttributesRequest method. -// req, resp := client.ModifyTargetGroupAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributes func (c *ELBV2) ModifyTargetGroupAttributesRequest(input *ModifyTargetGroupAttributesInput) (req *request.Request, output *ModifyTargetGroupAttributesOutput) { @@ -2756,11 +2745,12 @@ func (c *ELBV2) ModifyTargetGroupAttributesRequest(input *ModifyTargetGroupAttri // API operation ModifyTargetGroupAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" -// The specified target group does not exist. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration is not valid. +// - ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" +// The specified target group does not exist. +// +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupAttributes func (c *ELBV2) ModifyTargetGroupAttributes(input *ModifyTargetGroupAttributesInput) (*ModifyTargetGroupAttributesOutput, error) { @@ -2800,14 +2790,13 @@ const opRegisterTargets = "RegisterTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterTargetsRequest method. +// req, resp := client.RegisterTargetsRequest(params) // -// // Example sending a request using the RegisterTargetsRequest method. -// req, resp := client.RegisterTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargets func (c *ELBV2) RegisterTargetsRequest(input *RegisterTargetsInput) (req *request.Request, output *RegisterTargetsOutput) { @@ -2852,19 +2841,20 @@ func (c *ELBV2) RegisterTargetsRequest(input *RegisterTargetsInput) (req *reques // API operation RegisterTargets for usage and error information. // // Returned Error Codes: -// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" -// The specified target group does not exist. // -// * ErrCodeTooManyTargetsException "TooManyTargets" -// You've reached the limit on the number of targets. +// - ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" +// The specified target group does not exist. +// +// - ErrCodeTooManyTargetsException "TooManyTargets" +// You've reached the limit on the number of targets. // -// * ErrCodeInvalidTargetException "InvalidTarget" -// The specified target does not exist, is not in the same VPC as the target -// group, or has an unsupported instance type. +// - ErrCodeInvalidTargetException "InvalidTarget" +// The specified target does not exist, is not in the same VPC as the target +// group, or has an unsupported instance type. // -// * ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId" -// You've reached the limit on the number of times a target can be registered -// with a load balancer. +// - ErrCodeTooManyRegistrationsForTargetIdException "TooManyRegistrationsForTargetId" +// You've reached the limit on the number of times a target can be registered +// with a load balancer. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RegisterTargets func (c *ELBV2) RegisterTargets(input *RegisterTargetsInput) (*RegisterTargetsOutput, error) { @@ -2904,14 +2894,13 @@ const opRemoveListenerCertificates = "RemoveListenerCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveListenerCertificatesRequest method. +// req, resp := client.RemoveListenerCertificatesRequest(params) // -// // Example sending a request using the RemoveListenerCertificatesRequest method. -// req, resp := client.RemoveListenerCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificates func (c *ELBV2) RemoveListenerCertificatesRequest(input *RemoveListenerCertificatesInput) (req *request.Request, output *RemoveListenerCertificatesOutput) { @@ -2944,11 +2933,12 @@ func (c *ELBV2) RemoveListenerCertificatesRequest(input *RemoveListenerCertifica // API operation RemoveListenerCertificates for usage and error information. // // Returned Error Codes: -// * ErrCodeListenerNotFoundException "ListenerNotFound" -// The specified listener does not exist. // -// * ErrCodeOperationNotPermittedException "OperationNotPermitted" -// This operation is not allowed. +// - ErrCodeListenerNotFoundException "ListenerNotFound" +// The specified listener does not exist. +// +// - ErrCodeOperationNotPermittedException "OperationNotPermitted" +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveListenerCertificates func (c *ELBV2) RemoveListenerCertificates(input *RemoveListenerCertificatesInput) (*RemoveListenerCertificatesOutput, error) { @@ -2988,14 +2978,13 @@ const opRemoveTags = "RemoveTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsRequest method. +// req, resp := client.RemoveTagsRequest(params) // -// // Example sending a request using the RemoveTagsRequest method. -// req, resp := client.RemoveTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTags func (c *ELBV2) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) { @@ -3029,20 +3018,21 @@ func (c *ELBV2) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, // API operation RemoveTags for usage and error information. // // Returned Error Codes: -// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" -// The specified target group does not exist. +// - ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeTargetGroupNotFoundException "TargetGroupNotFound" +// The specified target group does not exist. // -// * ErrCodeListenerNotFoundException "ListenerNotFound" -// The specified listener does not exist. +// - ErrCodeListenerNotFoundException "ListenerNotFound" +// The specified listener does not exist. // -// * ErrCodeRuleNotFoundException "RuleNotFound" -// The specified rule does not exist. +// - ErrCodeRuleNotFoundException "RuleNotFound" +// The specified rule does not exist. // -// * ErrCodeTooManyTagsException "TooManyTags" -// You've reached the limit on the number of tags per load balancer. +// - ErrCodeTooManyTagsException "TooManyTags" +// You've reached the limit on the number of tags per load balancer. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/RemoveTags func (c *ELBV2) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) { @@ -3082,14 +3072,13 @@ const opSetIpAddressType = "SetIpAddressType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetIpAddressTypeRequest method. +// req, resp := client.SetIpAddressTypeRequest(params) // -// // Example sending a request using the SetIpAddressTypeRequest method. -// req, resp := client.SetIpAddressTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressType func (c *ELBV2) SetIpAddressTypeRequest(input *SetIpAddressTypeInput) (req *request.Request, output *SetIpAddressTypeOutput) { @@ -3121,14 +3110,15 @@ func (c *ELBV2) SetIpAddressTypeRequest(input *SetIpAddressTypeInput) (req *requ // API operation SetIpAddressType for usage and error information. // // Returned Error Codes: -// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration is not valid. +// - ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration is not valid. // -// * ErrCodeInvalidSubnetException "InvalidSubnet" -// The specified subnet is out of available addresses. +// - ErrCodeInvalidSubnetException "InvalidSubnet" +// The specified subnet is out of available addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressType func (c *ELBV2) SetIpAddressType(input *SetIpAddressTypeInput) (*SetIpAddressTypeOutput, error) { @@ -3168,14 +3158,13 @@ const opSetRulePriorities = "SetRulePriorities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetRulePrioritiesRequest method. +// req, resp := client.SetRulePrioritiesRequest(params) // -// // Example sending a request using the SetRulePrioritiesRequest method. -// req, resp := client.SetRulePrioritiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePriorities func (c *ELBV2) SetRulePrioritiesRequest(input *SetRulePrioritiesInput) (req *request.Request, output *SetRulePrioritiesOutput) { @@ -3210,14 +3199,15 @@ func (c *ELBV2) SetRulePrioritiesRequest(input *SetRulePrioritiesInput) (req *re // API operation SetRulePriorities for usage and error information. // // Returned Error Codes: -// * ErrCodeRuleNotFoundException "RuleNotFound" -// The specified rule does not exist. // -// * ErrCodePriorityInUseException "PriorityInUse" -// The specified priority is in use. +// - ErrCodeRuleNotFoundException "RuleNotFound" +// The specified rule does not exist. +// +// - ErrCodePriorityInUseException "PriorityInUse" +// The specified priority is in use. // -// * ErrCodeOperationNotPermittedException "OperationNotPermitted" -// This operation is not allowed. +// - ErrCodeOperationNotPermittedException "OperationNotPermitted" +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetRulePriorities func (c *ELBV2) SetRulePriorities(input *SetRulePrioritiesInput) (*SetRulePrioritiesOutput, error) { @@ -3257,14 +3247,13 @@ const opSetSecurityGroups = "SetSecurityGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetSecurityGroupsRequest method. +// req, resp := client.SetSecurityGroupsRequest(params) // -// // Example sending a request using the SetSecurityGroupsRequest method. -// req, resp := client.SetSecurityGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroups func (c *ELBV2) SetSecurityGroupsRequest(input *SetSecurityGroupsInput) (req *request.Request, output *SetSecurityGroupsOutput) { @@ -3300,14 +3289,15 @@ func (c *ELBV2) SetSecurityGroupsRequest(input *SetSecurityGroupsInput) (req *re // API operation SetSecurityGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration is not valid. +// - ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration is not valid. // -// * ErrCodeInvalidSecurityGroupException "InvalidSecurityGroup" -// The specified security group does not exist. +// - ErrCodeInvalidSecurityGroupException "InvalidSecurityGroup" +// The specified security group does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroups func (c *ELBV2) SetSecurityGroups(input *SetSecurityGroupsInput) (*SetSecurityGroupsOutput, error) { @@ -3347,14 +3337,13 @@ const opSetSubnets = "SetSubnets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetSubnetsRequest method. +// req, resp := client.SetSubnetsRequest(params) // -// // Example sending a request using the SetSubnetsRequest method. -// req, resp := client.SetSubnetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets func (c *ELBV2) SetSubnetsRequest(input *SetSubnetsInput) (req *request.Request, output *SetSubnetsOutput) { @@ -3391,23 +3380,24 @@ func (c *ELBV2) SetSubnetsRequest(input *SetSubnetsInput) (req *request.Request, // API operation SetSubnets for usage and error information. // // Returned Error Codes: -// * ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" -// The specified load balancer does not exist. // -// * ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" -// The requested configuration is not valid. +// - ErrCodeLoadBalancerNotFoundException "LoadBalancerNotFound" +// The specified load balancer does not exist. +// +// - ErrCodeInvalidConfigurationRequestException "InvalidConfigurationRequest" +// The requested configuration is not valid. // -// * ErrCodeSubnetNotFoundException "SubnetNotFound" -// The specified subnet does not exist. +// - ErrCodeSubnetNotFoundException "SubnetNotFound" +// The specified subnet does not exist. // -// * ErrCodeInvalidSubnetException "InvalidSubnet" -// The specified subnet is out of available addresses. +// - ErrCodeInvalidSubnetException "InvalidSubnet" +// The specified subnet is out of available addresses. // -// * ErrCodeAllocationIdNotFoundException "AllocationIdNotFound" -// The specified allocation ID does not exist. +// - ErrCodeAllocationIdNotFoundException "AllocationIdNotFound" +// The specified allocation ID does not exist. // -// * ErrCodeAvailabilityZoneNotSupportedException "AvailabilityZoneNotSupported" -// The specified Availability Zone is not supported. +// - ErrCodeAvailabilityZoneNotSupportedException "AvailabilityZoneNotSupported" +// The specified Availability Zone is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets func (c *ELBV2) SetSubnets(input *SetSubnetsInput) (*SetSubnetsOutput, error) { @@ -8224,15 +8214,15 @@ func (s *QueryStringKeyValuePair) SetValue(v string) *QueryStringKeyValuePair { // // You can reuse URI components using the following reserved keywords: // -// * #{protocol} +// - #{protocol} // -// * #{host} +// - #{host} // -// * #{port} +// - #{port} // -// * #{path} (the leading "/" is removed) +// - #{path} (the leading "/" is removed) // -// * #{query} +// - #{query} // // For example, you can change the path to "/new/#{path}", the hostname to "example.#{host}", // or the query to "#{query}&value=xyz". diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/doc.go index e542d15bcc42..486753a06552 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/doc.go @@ -18,13 +18,13 @@ // Load Balancers, Network Load Balancers, Gateway Load Balancers, and Classic // Load Balancers. This reference covers the following load balancer types: // -// * Application Load Balancer - Operates at the application layer (layer -// 7) and supports HTTP and HTTPS. +// - Application Load Balancer - Operates at the application layer (layer +// 7) and supports HTTP and HTTPS. // -// * Network Load Balancer - Operates at the transport layer (layer 4) and -// supports TCP, TLS, and UDP. +// - Network Load Balancer - Operates at the transport layer (layer 4) and +// supports TCP, TLS, and UDP. // -// * Gateway Load Balancer - Operates at the network layer (layer 3). +// - Gateway Load Balancer - Operates at the network layer (layer 3). // // For more information, see the Elastic Load Balancing User Guide (https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/). // @@ -36,7 +36,7 @@ // See elbv2 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/elbv2/ // -// Using the Client +// # Using the Client // // To contact Elastic Load Balancing with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/elbv2iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/elbv2iface/interface.go index 863dce3a1160..04eafb233c1a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/elbv2iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/elbv2iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Elastic Load Balancing. -// func myFunc(svc elbv2iface.ELBV2API) bool { -// // Make svc.AddListenerCertificates request -// } +// // myFunc uses an SDK service client to make a request to +// // Elastic Load Balancing. +// func myFunc(svc elbv2iface.ELBV2API) bool { +// // Make svc.AddListenerCertificates request +// } // -// func main() { -// sess := session.New() -// svc := elbv2.New(sess) +// func main() { +// sess := session.New() +// svc := elbv2.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockELBV2Client struct { -// elbv2iface.ELBV2API -// } -// func (m *mockELBV2Client) AddListenerCertificates(input *elbv2.AddListenerCertificatesInput) (*elbv2.AddListenerCertificatesOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockELBV2Client struct { +// elbv2iface.ELBV2API +// } +// func (m *mockELBV2Client) AddListenerCertificates(input *elbv2.AddListenerCertificatesInput) (*elbv2.AddListenerCertificatesOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockELBV2Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockELBV2Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/service.go index 4c422dd85ada..cd4d22c81e6a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/elbv2/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ELBV2 client from just a session. -// svc := elbv2.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ELBV2 client with additional configuration -// svc := elbv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ELBV2 client from just a session. +// svc := elbv2.New(mySession) +// +// // Create a ELBV2 client with additional configuration +// svc := elbv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ELBV2 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/api.go index 6e47442b5578..665c0bd32beb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/api.go @@ -29,14 +29,13 @@ const opAddInstanceFleet = "AddInstanceFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddInstanceFleetRequest method. +// req, resp := client.AddInstanceFleetRequest(params) // -// // Example sending a request using the AddInstanceFleetRequest method. -// req, resp := client.AddInstanceFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleet func (c *EMR) AddInstanceFleetRequest(input *AddInstanceFleetInput) (req *request.Request, output *AddInstanceFleetOutput) { @@ -70,12 +69,13 @@ func (c *EMR) AddInstanceFleetRequest(input *AddInstanceFleetInput) (req *reques // API operation AddInstanceFleet for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceFleet func (c *EMR) AddInstanceFleet(input *AddInstanceFleetInput) (*AddInstanceFleetOutput, error) { @@ -115,14 +115,13 @@ const opAddInstanceGroups = "AddInstanceGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddInstanceGroupsRequest method. +// req, resp := client.AddInstanceGroupsRequest(params) // -// // Example sending a request using the AddInstanceGroupsRequest method. -// req, resp := client.AddInstanceGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceGroups func (c *EMR) AddInstanceGroupsRequest(input *AddInstanceGroupsInput) (req *request.Request, output *AddInstanceGroupsOutput) { @@ -153,9 +152,9 @@ func (c *EMR) AddInstanceGroupsRequest(input *AddInstanceGroupsInput) (req *requ // API operation AddInstanceGroups for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddInstanceGroups func (c *EMR) AddInstanceGroups(input *AddInstanceGroupsInput) (*AddInstanceGroupsOutput, error) { @@ -195,14 +194,13 @@ const opAddJobFlowSteps = "AddJobFlowSteps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddJobFlowStepsRequest method. +// req, resp := client.AddJobFlowStepsRequest(params) // -// // Example sending a request using the AddJobFlowStepsRequest method. -// req, resp := client.AddJobFlowStepsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowSteps func (c *EMR) AddJobFlowStepsRequest(input *AddJobFlowStepsInput) (req *request.Request, output *AddJobFlowStepsOutput) { @@ -258,9 +256,9 @@ func (c *EMR) AddJobFlowStepsRequest(input *AddJobFlowStepsInput) (req *request. // API operation AddJobFlowSteps for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowSteps func (c *EMR) AddJobFlowSteps(input *AddJobFlowStepsInput) (*AddJobFlowStepsOutput, error) { @@ -300,14 +298,13 @@ const opAddTags = "AddTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsRequest method. +// req, resp := client.AddTagsRequest(params) // -// // Example sending a request using the AddTagsRequest method. -// req, resp := client.AddTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTags func (c *EMR) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) { @@ -342,12 +339,13 @@ func (c *EMR) AddTagsRequest(input *AddTagsInput) (req *request.Request, output // API operation AddTags for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddTags func (c *EMR) AddTags(input *AddTagsInput) (*AddTagsOutput, error) { @@ -387,14 +385,13 @@ const opCancelSteps = "CancelSteps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelStepsRequest method. +// req, resp := client.CancelStepsRequest(params) // -// // Example sending a request using the CancelStepsRequest method. -// req, resp := client.CancelStepsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelSteps func (c *EMR) CancelStepsRequest(input *CancelStepsInput) (req *request.Request, output *CancelStepsOutput) { @@ -431,12 +428,13 @@ func (c *EMR) CancelStepsRequest(input *CancelStepsInput) (req *request.Request, // API operation CancelSteps for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CancelSteps func (c *EMR) CancelSteps(input *CancelStepsInput) (*CancelStepsOutput, error) { @@ -476,14 +474,13 @@ const opCreateSecurityConfiguration = "CreateSecurityConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSecurityConfigurationRequest method. +// req, resp := client.CreateSecurityConfigurationRequest(params) // -// // Example sending a request using the CreateSecurityConfigurationRequest method. -// req, resp := client.CreateSecurityConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfiguration func (c *EMR) CreateSecurityConfigurationRequest(input *CreateSecurityConfigurationInput) (req *request.Request, output *CreateSecurityConfigurationOutput) { @@ -515,12 +512,13 @@ func (c *EMR) CreateSecurityConfigurationRequest(input *CreateSecurityConfigurat // API operation CreateSecurityConfiguration for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateSecurityConfiguration func (c *EMR) CreateSecurityConfiguration(input *CreateSecurityConfigurationInput) (*CreateSecurityConfigurationOutput, error) { @@ -560,14 +558,13 @@ const opCreateStudio = "CreateStudio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStudioRequest method. +// req, resp := client.CreateStudioRequest(params) // -// // Example sending a request using the CreateStudioRequest method. -// req, resp := client.CreateStudioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateStudio func (c *EMR) CreateStudioRequest(input *CreateStudioInput) (req *request.Request, output *CreateStudioOutput) { @@ -598,12 +595,13 @@ func (c *EMR) CreateStudioRequest(input *CreateStudioInput) (req *request.Reques // API operation CreateStudio for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateStudio func (c *EMR) CreateStudio(input *CreateStudioInput) (*CreateStudioOutput, error) { @@ -643,14 +641,13 @@ const opCreateStudioSessionMapping = "CreateStudioSessionMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStudioSessionMappingRequest method. +// req, resp := client.CreateStudioSessionMappingRequest(params) // -// // Example sending a request using the CreateStudioSessionMappingRequest method. -// req, resp := client.CreateStudioSessionMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateStudioSessionMapping func (c *EMR) CreateStudioSessionMappingRequest(input *CreateStudioSessionMappingInput) (req *request.Request, output *CreateStudioSessionMappingOutput) { @@ -687,12 +684,13 @@ func (c *EMR) CreateStudioSessionMappingRequest(input *CreateStudioSessionMappin // API operation CreateStudioSessionMapping for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateStudioSessionMapping func (c *EMR) CreateStudioSessionMapping(input *CreateStudioSessionMappingInput) (*CreateStudioSessionMappingOutput, error) { @@ -732,14 +730,13 @@ const opDeleteSecurityConfiguration = "DeleteSecurityConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSecurityConfigurationRequest method. +// req, resp := client.DeleteSecurityConfigurationRequest(params) // -// // Example sending a request using the DeleteSecurityConfigurationRequest method. -// req, resp := client.DeleteSecurityConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfiguration func (c *EMR) DeleteSecurityConfigurationRequest(input *DeleteSecurityConfigurationInput) (req *request.Request, output *DeleteSecurityConfigurationOutput) { @@ -771,12 +768,13 @@ func (c *EMR) DeleteSecurityConfigurationRequest(input *DeleteSecurityConfigurat // API operation DeleteSecurityConfiguration for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteSecurityConfiguration func (c *EMR) DeleteSecurityConfiguration(input *DeleteSecurityConfigurationInput) (*DeleteSecurityConfigurationOutput, error) { @@ -816,14 +814,13 @@ const opDeleteStudio = "DeleteStudio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStudioRequest method. +// req, resp := client.DeleteStudioRequest(params) // -// // Example sending a request using the DeleteStudioRequest method. -// req, resp := client.DeleteStudioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteStudio func (c *EMR) DeleteStudioRequest(input *DeleteStudioInput) (req *request.Request, output *DeleteStudioOutput) { @@ -855,12 +852,13 @@ func (c *EMR) DeleteStudioRequest(input *DeleteStudioInput) (req *request.Reques // API operation DeleteStudio for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteStudio func (c *EMR) DeleteStudio(input *DeleteStudioInput) (*DeleteStudioOutput, error) { @@ -900,14 +898,13 @@ const opDeleteStudioSessionMapping = "DeleteStudioSessionMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStudioSessionMappingRequest method. +// req, resp := client.DeleteStudioSessionMappingRequest(params) // -// // Example sending a request using the DeleteStudioSessionMappingRequest method. -// req, resp := client.DeleteStudioSessionMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteStudioSessionMapping func (c *EMR) DeleteStudioSessionMappingRequest(input *DeleteStudioSessionMappingInput) (req *request.Request, output *DeleteStudioSessionMappingOutput) { @@ -939,12 +936,13 @@ func (c *EMR) DeleteStudioSessionMappingRequest(input *DeleteStudioSessionMappin // API operation DeleteStudioSessionMapping for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteStudioSessionMapping func (c *EMR) DeleteStudioSessionMapping(input *DeleteStudioSessionMappingInput) (*DeleteStudioSessionMappingOutput, error) { @@ -984,14 +982,13 @@ const opDescribeCluster = "DescribeCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClusterRequest method. +// req, resp := client.DescribeClusterRequest(params) // -// // Example sending a request using the DescribeClusterRequest method. -// req, resp := client.DescribeClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeCluster func (c *EMR) DescribeClusterRequest(input *DescribeClusterInput) (req *request.Request, output *DescribeClusterOutput) { @@ -1023,12 +1020,13 @@ func (c *EMR) DescribeClusterRequest(input *DescribeClusterInput) (req *request. // API operation DescribeCluster for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeCluster func (c *EMR) DescribeCluster(input *DescribeClusterInput) (*DescribeClusterOutput, error) { @@ -1068,14 +1066,13 @@ const opDescribeJobFlows = "DescribeJobFlows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobFlowsRequest method. +// req, resp := client.DescribeJobFlowsRequest(params) // -// // Example sending a request using the DescribeJobFlowsRequest method. -// req, resp := client.DescribeJobFlowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeJobFlows // @@ -1115,10 +1112,10 @@ func (c *EMR) DescribeJobFlowsRequest(input *DescribeJobFlowsInput) (req *reques // If no parameters are supplied, then job flows matching either of the following // criteria are returned: // -// * Job flows created and completed in the last two weeks +// - Job flows created and completed in the last two weeks // -// * Job flows created within the last two months that are in one of the -// following states: RUNNING, WAITING, SHUTTING_DOWN, STARTING +// - Job flows created within the last two months that are in one of the +// following states: RUNNING, WAITING, SHUTTING_DOWN, STARTING // // Amazon EMR can return a maximum of 512 job flow descriptions. // @@ -1130,9 +1127,9 @@ func (c *EMR) DescribeJobFlowsRequest(input *DescribeJobFlowsInput) (req *reques // API operation DescribeJobFlows for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeJobFlows // @@ -1176,14 +1173,13 @@ const opDescribeNotebookExecution = "DescribeNotebookExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNotebookExecutionRequest method. +// req, resp := client.DescribeNotebookExecutionRequest(params) // -// // Example sending a request using the DescribeNotebookExecutionRequest method. -// req, resp := client.DescribeNotebookExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeNotebookExecution func (c *EMR) DescribeNotebookExecutionRequest(input *DescribeNotebookExecutionInput) (req *request.Request, output *DescribeNotebookExecutionOutput) { @@ -1214,12 +1210,13 @@ func (c *EMR) DescribeNotebookExecutionRequest(input *DescribeNotebookExecutionI // API operation DescribeNotebookExecution for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeNotebookExecution func (c *EMR) DescribeNotebookExecution(input *DescribeNotebookExecutionInput) (*DescribeNotebookExecutionOutput, error) { @@ -1259,14 +1256,13 @@ const opDescribeReleaseLabel = "DescribeReleaseLabel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReleaseLabelRequest method. +// req, resp := client.DescribeReleaseLabelRequest(params) // -// // Example sending a request using the DescribeReleaseLabelRequest method. -// req, resp := client.DescribeReleaseLabelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeReleaseLabel func (c *EMR) DescribeReleaseLabelRequest(input *DescribeReleaseLabelInput) (req *request.Request, output *DescribeReleaseLabelOutput) { @@ -1300,12 +1296,13 @@ func (c *EMR) DescribeReleaseLabelRequest(input *DescribeReleaseLabelInput) (req // API operation DescribeReleaseLabel for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeReleaseLabel func (c *EMR) DescribeReleaseLabel(input *DescribeReleaseLabelInput) (*DescribeReleaseLabelOutput, error) { @@ -1345,14 +1342,13 @@ const opDescribeSecurityConfiguration = "DescribeSecurityConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSecurityConfigurationRequest method. +// req, resp := client.DescribeSecurityConfigurationRequest(params) // -// // Example sending a request using the DescribeSecurityConfigurationRequest method. -// req, resp := client.DescribeSecurityConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfiguration func (c *EMR) DescribeSecurityConfigurationRequest(input *DescribeSecurityConfigurationInput) (req *request.Request, output *DescribeSecurityConfigurationOutput) { @@ -1384,12 +1380,13 @@ func (c *EMR) DescribeSecurityConfigurationRequest(input *DescribeSecurityConfig // API operation DescribeSecurityConfiguration for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeSecurityConfiguration func (c *EMR) DescribeSecurityConfiguration(input *DescribeSecurityConfigurationInput) (*DescribeSecurityConfigurationOutput, error) { @@ -1429,14 +1426,13 @@ const opDescribeStep = "DescribeStep" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStepRequest method. +// req, resp := client.DescribeStepRequest(params) // -// // Example sending a request using the DescribeStepRequest method. -// req, resp := client.DescribeStepRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStep func (c *EMR) DescribeStepRequest(input *DescribeStepInput) (req *request.Request, output *DescribeStepOutput) { @@ -1467,12 +1463,13 @@ func (c *EMR) DescribeStepRequest(input *DescribeStepInput) (req *request.Reques // API operation DescribeStep for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStep func (c *EMR) DescribeStep(input *DescribeStepInput) (*DescribeStepOutput, error) { @@ -1512,14 +1509,13 @@ const opDescribeStudio = "DescribeStudio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStudioRequest method. +// req, resp := client.DescribeStudioRequest(params) // -// // Example sending a request using the DescribeStudioRequest method. -// req, resp := client.DescribeStudioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStudio func (c *EMR) DescribeStudioRequest(input *DescribeStudioInput) (req *request.Request, output *DescribeStudioOutput) { @@ -1551,12 +1547,13 @@ func (c *EMR) DescribeStudioRequest(input *DescribeStudioInput) (req *request.Re // API operation DescribeStudio for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeStudio func (c *EMR) DescribeStudio(input *DescribeStudioInput) (*DescribeStudioOutput, error) { @@ -1596,14 +1593,13 @@ const opGetAutoTerminationPolicy = "GetAutoTerminationPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAutoTerminationPolicyRequest method. +// req, resp := client.GetAutoTerminationPolicyRequest(params) // -// // Example sending a request using the GetAutoTerminationPolicyRequest method. -// req, resp := client.GetAutoTerminationPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetAutoTerminationPolicy func (c *EMR) GetAutoTerminationPolicyRequest(input *GetAutoTerminationPolicyInput) (req *request.Request, output *GetAutoTerminationPolicyOutput) { @@ -1670,14 +1666,13 @@ const opGetBlockPublicAccessConfiguration = "GetBlockPublicAccessConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBlockPublicAccessConfigurationRequest method. +// req, resp := client.GetBlockPublicAccessConfigurationRequest(params) // -// // Example sending a request using the GetBlockPublicAccessConfigurationRequest method. -// req, resp := client.GetBlockPublicAccessConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetBlockPublicAccessConfiguration func (c *EMR) GetBlockPublicAccessConfigurationRequest(input *GetBlockPublicAccessConfigurationInput) (req *request.Request, output *GetBlockPublicAccessConfigurationOutput) { @@ -1711,12 +1706,13 @@ func (c *EMR) GetBlockPublicAccessConfigurationRequest(input *GetBlockPublicAcce // API operation GetBlockPublicAccessConfiguration for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetBlockPublicAccessConfiguration func (c *EMR) GetBlockPublicAccessConfiguration(input *GetBlockPublicAccessConfigurationInput) (*GetBlockPublicAccessConfigurationOutput, error) { @@ -1756,14 +1752,13 @@ const opGetManagedScalingPolicy = "GetManagedScalingPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetManagedScalingPolicyRequest method. +// req, resp := client.GetManagedScalingPolicyRequest(params) // -// // Example sending a request using the GetManagedScalingPolicyRequest method. -// req, resp := client.GetManagedScalingPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetManagedScalingPolicy func (c *EMR) GetManagedScalingPolicyRequest(input *GetManagedScalingPolicyInput) (req *request.Request, output *GetManagedScalingPolicyOutput) { @@ -1830,14 +1825,13 @@ const opGetStudioSessionMapping = "GetStudioSessionMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStudioSessionMappingRequest method. +// req, resp := client.GetStudioSessionMappingRequest(params) // -// // Example sending a request using the GetStudioSessionMappingRequest method. -// req, resp := client.GetStudioSessionMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetStudioSessionMapping func (c *EMR) GetStudioSessionMappingRequest(input *GetStudioSessionMappingInput) (req *request.Request, output *GetStudioSessionMappingOutput) { @@ -1869,12 +1863,13 @@ func (c *EMR) GetStudioSessionMappingRequest(input *GetStudioSessionMappingInput // API operation GetStudioSessionMapping for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetStudioSessionMapping func (c *EMR) GetStudioSessionMapping(input *GetStudioSessionMappingInput) (*GetStudioSessionMappingOutput, error) { @@ -1914,14 +1909,13 @@ const opListBootstrapActions = "ListBootstrapActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBootstrapActionsRequest method. +// req, resp := client.ListBootstrapActionsRequest(params) // -// // Example sending a request using the ListBootstrapActionsRequest method. -// req, resp := client.ListBootstrapActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActions func (c *EMR) ListBootstrapActionsRequest(input *ListBootstrapActionsInput) (req *request.Request, output *ListBootstrapActionsOutput) { @@ -1958,12 +1952,13 @@ func (c *EMR) ListBootstrapActionsRequest(input *ListBootstrapActionsInput) (req // API operation ListBootstrapActions for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListBootstrapActions func (c *EMR) ListBootstrapActions(input *ListBootstrapActionsInput) (*ListBootstrapActionsOutput, error) { @@ -1995,15 +1990,14 @@ func (c *EMR) ListBootstrapActionsWithContext(ctx aws.Context, input *ListBootst // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBootstrapActions operation. -// pageNum := 0 -// err := client.ListBootstrapActionsPages(params, -// func(page *emr.ListBootstrapActionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBootstrapActions operation. +// pageNum := 0 +// err := client.ListBootstrapActionsPages(params, +// func(page *emr.ListBootstrapActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMR) ListBootstrapActionsPages(input *ListBootstrapActionsInput, fn func(*ListBootstrapActionsOutput, bool) bool) error { return c.ListBootstrapActionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2055,14 +2049,13 @@ const opListClusters = "ListClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListClustersRequest method. +// req, resp := client.ListClustersRequest(params) // -// // Example sending a request using the ListClustersRequest method. -// req, resp := client.ListClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClusters func (c *EMR) ListClustersRequest(input *ListClustersInput) (req *request.Request, output *ListClustersOutput) { @@ -2104,12 +2097,13 @@ func (c *EMR) ListClustersRequest(input *ListClustersInput) (req *request.Reques // API operation ListClusters for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListClusters func (c *EMR) ListClusters(input *ListClustersInput) (*ListClustersOutput, error) { @@ -2141,15 +2135,14 @@ func (c *EMR) ListClustersWithContext(ctx aws.Context, input *ListClustersInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListClusters operation. -// pageNum := 0 -// err := client.ListClustersPages(params, -// func(page *emr.ListClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListClusters operation. +// pageNum := 0 +// err := client.ListClustersPages(params, +// func(page *emr.ListClustersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMR) ListClustersPages(input *ListClustersInput, fn func(*ListClustersOutput, bool) bool) error { return c.ListClustersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2201,14 +2194,13 @@ const opListInstanceFleets = "ListInstanceFleets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInstanceFleetsRequest method. +// req, resp := client.ListInstanceFleetsRequest(params) // -// // Example sending a request using the ListInstanceFleetsRequest method. -// req, resp := client.ListInstanceFleetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets func (c *EMR) ListInstanceFleetsRequest(input *ListInstanceFleetsInput) (req *request.Request, output *ListInstanceFleetsOutput) { @@ -2248,12 +2240,13 @@ func (c *EMR) ListInstanceFleetsRequest(input *ListInstanceFleetsInput) (req *re // API operation ListInstanceFleets for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets func (c *EMR) ListInstanceFleets(input *ListInstanceFleetsInput) (*ListInstanceFleetsOutput, error) { @@ -2285,15 +2278,14 @@ func (c *EMR) ListInstanceFleetsWithContext(ctx aws.Context, input *ListInstance // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInstanceFleets operation. -// pageNum := 0 -// err := client.ListInstanceFleetsPages(params, -// func(page *emr.ListInstanceFleetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInstanceFleets operation. +// pageNum := 0 +// err := client.ListInstanceFleetsPages(params, +// func(page *emr.ListInstanceFleetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMR) ListInstanceFleetsPages(input *ListInstanceFleetsInput, fn func(*ListInstanceFleetsOutput, bool) bool) error { return c.ListInstanceFleetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2345,14 +2337,13 @@ const opListInstanceGroups = "ListInstanceGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInstanceGroupsRequest method. +// req, resp := client.ListInstanceGroupsRequest(params) // -// // Example sending a request using the ListInstanceGroupsRequest method. -// req, resp := client.ListInstanceGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroups func (c *EMR) ListInstanceGroupsRequest(input *ListInstanceGroupsInput) (req *request.Request, output *ListInstanceGroupsOutput) { @@ -2389,12 +2380,13 @@ func (c *EMR) ListInstanceGroupsRequest(input *ListInstanceGroupsInput) (req *re // API operation ListInstanceGroups for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceGroups func (c *EMR) ListInstanceGroups(input *ListInstanceGroupsInput) (*ListInstanceGroupsOutput, error) { @@ -2426,15 +2418,14 @@ func (c *EMR) ListInstanceGroupsWithContext(ctx aws.Context, input *ListInstance // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInstanceGroups operation. -// pageNum := 0 -// err := client.ListInstanceGroupsPages(params, -// func(page *emr.ListInstanceGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInstanceGroups operation. +// pageNum := 0 +// err := client.ListInstanceGroupsPages(params, +// func(page *emr.ListInstanceGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMR) ListInstanceGroupsPages(input *ListInstanceGroupsInput, fn func(*ListInstanceGroupsOutput, bool) bool) error { return c.ListInstanceGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2486,14 +2477,13 @@ const opListInstances = "ListInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInstancesRequest method. +// req, resp := client.ListInstancesRequest(params) // -// // Example sending a request using the ListInstancesRequest method. -// req, resp := client.ListInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstances func (c *EMR) ListInstancesRequest(input *ListInstancesInput) (req *request.Request, output *ListInstancesOutput) { @@ -2533,12 +2523,13 @@ func (c *EMR) ListInstancesRequest(input *ListInstancesInput) (req *request.Requ // API operation ListInstances for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstances func (c *EMR) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error) { @@ -2570,15 +2561,14 @@ func (c *EMR) ListInstancesWithContext(ctx aws.Context, input *ListInstancesInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInstances operation. -// pageNum := 0 -// err := client.ListInstancesPages(params, -// func(page *emr.ListInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInstances operation. +// pageNum := 0 +// err := client.ListInstancesPages(params, +// func(page *emr.ListInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMR) ListInstancesPages(input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool) error { return c.ListInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2630,14 +2620,13 @@ const opListNotebookExecutions = "ListNotebookExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNotebookExecutionsRequest method. +// req, resp := client.ListNotebookExecutionsRequest(params) // -// // Example sending a request using the ListNotebookExecutionsRequest method. -// req, resp := client.ListNotebookExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListNotebookExecutions func (c *EMR) ListNotebookExecutionsRequest(input *ListNotebookExecutionsInput) (req *request.Request, output *ListNotebookExecutionsOutput) { @@ -2677,12 +2666,13 @@ func (c *EMR) ListNotebookExecutionsRequest(input *ListNotebookExecutionsInput) // API operation ListNotebookExecutions for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListNotebookExecutions func (c *EMR) ListNotebookExecutions(input *ListNotebookExecutionsInput) (*ListNotebookExecutionsOutput, error) { @@ -2714,15 +2704,14 @@ func (c *EMR) ListNotebookExecutionsWithContext(ctx aws.Context, input *ListNote // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNotebookExecutions operation. -// pageNum := 0 -// err := client.ListNotebookExecutionsPages(params, -// func(page *emr.ListNotebookExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNotebookExecutions operation. +// pageNum := 0 +// err := client.ListNotebookExecutionsPages(params, +// func(page *emr.ListNotebookExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMR) ListNotebookExecutionsPages(input *ListNotebookExecutionsInput, fn func(*ListNotebookExecutionsOutput, bool) bool) error { return c.ListNotebookExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2774,14 +2763,13 @@ const opListReleaseLabels = "ListReleaseLabels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReleaseLabelsRequest method. +// req, resp := client.ListReleaseLabelsRequest(params) // -// // Example sending a request using the ListReleaseLabelsRequest method. -// req, resp := client.ListReleaseLabelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListReleaseLabels func (c *EMR) ListReleaseLabelsRequest(input *ListReleaseLabelsInput) (req *request.Request, output *ListReleaseLabelsOutput) { @@ -2818,12 +2806,13 @@ func (c *EMR) ListReleaseLabelsRequest(input *ListReleaseLabelsInput) (req *requ // API operation ListReleaseLabels for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListReleaseLabels func (c *EMR) ListReleaseLabels(input *ListReleaseLabelsInput) (*ListReleaseLabelsOutput, error) { @@ -2855,15 +2844,14 @@ func (c *EMR) ListReleaseLabelsWithContext(ctx aws.Context, input *ListReleaseLa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListReleaseLabels operation. -// pageNum := 0 -// err := client.ListReleaseLabelsPages(params, -// func(page *emr.ListReleaseLabelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListReleaseLabels operation. +// pageNum := 0 +// err := client.ListReleaseLabelsPages(params, +// func(page *emr.ListReleaseLabelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMR) ListReleaseLabelsPages(input *ListReleaseLabelsInput, fn func(*ListReleaseLabelsOutput, bool) bool) error { return c.ListReleaseLabelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2915,14 +2903,13 @@ const opListSecurityConfigurations = "ListSecurityConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSecurityConfigurationsRequest method. +// req, resp := client.ListSecurityConfigurationsRequest(params) // -// // Example sending a request using the ListSecurityConfigurationsRequest method. -// req, resp := client.ListSecurityConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurations func (c *EMR) ListSecurityConfigurationsRequest(input *ListSecurityConfigurationsInput) (req *request.Request, output *ListSecurityConfigurationsOutput) { @@ -2962,12 +2949,13 @@ func (c *EMR) ListSecurityConfigurationsRequest(input *ListSecurityConfiguration // API operation ListSecurityConfigurations for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSecurityConfigurations func (c *EMR) ListSecurityConfigurations(input *ListSecurityConfigurationsInput) (*ListSecurityConfigurationsOutput, error) { @@ -2999,15 +2987,14 @@ func (c *EMR) ListSecurityConfigurationsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSecurityConfigurations operation. -// pageNum := 0 -// err := client.ListSecurityConfigurationsPages(params, -// func(page *emr.ListSecurityConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSecurityConfigurations operation. +// pageNum := 0 +// err := client.ListSecurityConfigurationsPages(params, +// func(page *emr.ListSecurityConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMR) ListSecurityConfigurationsPages(input *ListSecurityConfigurationsInput, fn func(*ListSecurityConfigurationsOutput, bool) bool) error { return c.ListSecurityConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3059,14 +3046,13 @@ const opListSteps = "ListSteps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStepsRequest method. +// req, resp := client.ListStepsRequest(params) // -// // Example sending a request using the ListStepsRequest method. -// req, resp := client.ListStepsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSteps func (c *EMR) ListStepsRequest(input *ListStepsInput) (req *request.Request, output *ListStepsOutput) { @@ -3107,12 +3093,13 @@ func (c *EMR) ListStepsRequest(input *ListStepsInput) (req *request.Request, out // API operation ListSteps for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSteps func (c *EMR) ListSteps(input *ListStepsInput) (*ListStepsOutput, error) { @@ -3144,15 +3131,14 @@ func (c *EMR) ListStepsWithContext(ctx aws.Context, input *ListStepsInput, opts // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSteps operation. -// pageNum := 0 -// err := client.ListStepsPages(params, -// func(page *emr.ListStepsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSteps operation. +// pageNum := 0 +// err := client.ListStepsPages(params, +// func(page *emr.ListStepsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMR) ListStepsPages(input *ListStepsInput, fn func(*ListStepsOutput, bool) bool) error { return c.ListStepsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3204,14 +3190,13 @@ const opListStudioSessionMappings = "ListStudioSessionMappings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStudioSessionMappingsRequest method. +// req, resp := client.ListStudioSessionMappingsRequest(params) // -// // Example sending a request using the ListStudioSessionMappingsRequest method. -// req, resp := client.ListStudioSessionMappingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStudioSessionMappings func (c *EMR) ListStudioSessionMappingsRequest(input *ListStudioSessionMappingsInput) (req *request.Request, output *ListStudioSessionMappingsOutput) { @@ -3249,12 +3234,13 @@ func (c *EMR) ListStudioSessionMappingsRequest(input *ListStudioSessionMappingsI // API operation ListStudioSessionMappings for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStudioSessionMappings func (c *EMR) ListStudioSessionMappings(input *ListStudioSessionMappingsInput) (*ListStudioSessionMappingsOutput, error) { @@ -3286,15 +3272,14 @@ func (c *EMR) ListStudioSessionMappingsWithContext(ctx aws.Context, input *ListS // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStudioSessionMappings operation. -// pageNum := 0 -// err := client.ListStudioSessionMappingsPages(params, -// func(page *emr.ListStudioSessionMappingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStudioSessionMappings operation. +// pageNum := 0 +// err := client.ListStudioSessionMappingsPages(params, +// func(page *emr.ListStudioSessionMappingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMR) ListStudioSessionMappingsPages(input *ListStudioSessionMappingsInput, fn func(*ListStudioSessionMappingsOutput, bool) bool) error { return c.ListStudioSessionMappingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3346,14 +3331,13 @@ const opListStudios = "ListStudios" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStudiosRequest method. +// req, resp := client.ListStudiosRequest(params) // -// // Example sending a request using the ListStudiosRequest method. -// req, resp := client.ListStudiosRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStudios func (c *EMR) ListStudiosRequest(input *ListStudiosInput) (req *request.Request, output *ListStudiosOutput) { @@ -3392,12 +3376,13 @@ func (c *EMR) ListStudiosRequest(input *ListStudiosInput) (req *request.Request, // API operation ListStudios for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListStudios func (c *EMR) ListStudios(input *ListStudiosInput) (*ListStudiosOutput, error) { @@ -3429,15 +3414,14 @@ func (c *EMR) ListStudiosWithContext(ctx aws.Context, input *ListStudiosInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStudios operation. -// pageNum := 0 -// err := client.ListStudiosPages(params, -// func(page *emr.ListStudiosOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStudios operation. +// pageNum := 0 +// err := client.ListStudiosPages(params, +// func(page *emr.ListStudiosOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMR) ListStudiosPages(input *ListStudiosInput, fn func(*ListStudiosOutput, bool) bool) error { return c.ListStudiosPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3489,14 +3473,13 @@ const opModifyCluster = "ModifyCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyClusterRequest method. +// req, resp := client.ModifyClusterRequest(params) // -// // Example sending a request using the ModifyClusterRequest method. -// req, resp := client.ModifyClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyCluster func (c *EMR) ModifyClusterRequest(input *ModifyClusterInput) (req *request.Request, output *ModifyClusterOutput) { @@ -3528,12 +3511,13 @@ func (c *EMR) ModifyClusterRequest(input *ModifyClusterInput) (req *request.Requ // API operation ModifyCluster for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyCluster func (c *EMR) ModifyCluster(input *ModifyClusterInput) (*ModifyClusterOutput, error) { @@ -3573,14 +3557,13 @@ const opModifyInstanceFleet = "ModifyInstanceFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyInstanceFleetRequest method. +// req, resp := client.ModifyInstanceFleetRequest(params) // -// // Example sending a request using the ModifyInstanceFleetRequest method. -// req, resp := client.ModifyInstanceFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleet func (c *EMR) ModifyInstanceFleetRequest(input *ModifyInstanceFleetInput) (req *request.Request, output *ModifyInstanceFleetOutput) { @@ -3617,12 +3600,13 @@ func (c *EMR) ModifyInstanceFleetRequest(input *ModifyInstanceFleetInput) (req * // API operation ModifyInstanceFleet for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceFleet func (c *EMR) ModifyInstanceFleet(input *ModifyInstanceFleetInput) (*ModifyInstanceFleetOutput, error) { @@ -3662,14 +3646,13 @@ const opModifyInstanceGroups = "ModifyInstanceGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyInstanceGroupsRequest method. +// req, resp := client.ModifyInstanceGroupsRequest(params) // -// // Example sending a request using the ModifyInstanceGroupsRequest method. -// req, resp := client.ModifyInstanceGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceGroups func (c *EMR) ModifyInstanceGroupsRequest(input *ModifyInstanceGroupsInput) (req *request.Request, output *ModifyInstanceGroupsOutput) { @@ -3704,9 +3687,9 @@ func (c *EMR) ModifyInstanceGroupsRequest(input *ModifyInstanceGroupsInput) (req // API operation ModifyInstanceGroups for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyInstanceGroups func (c *EMR) ModifyInstanceGroups(input *ModifyInstanceGroupsInput) (*ModifyInstanceGroupsOutput, error) { @@ -3746,14 +3729,13 @@ const opPutAutoScalingPolicy = "PutAutoScalingPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAutoScalingPolicyRequest method. +// req, resp := client.PutAutoScalingPolicyRequest(params) // -// // Example sending a request using the PutAutoScalingPolicyRequest method. -// req, resp := client.PutAutoScalingPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicy func (c *EMR) PutAutoScalingPolicyRequest(input *PutAutoScalingPolicyInput) (req *request.Request, output *PutAutoScalingPolicyOutput) { @@ -3823,14 +3805,13 @@ const opPutAutoTerminationPolicy = "PutAutoTerminationPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAutoTerminationPolicyRequest method. +// req, resp := client.PutAutoTerminationPolicyRequest(params) // -// // Example sending a request using the PutAutoTerminationPolicyRequest method. -// req, resp := client.PutAutoTerminationPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoTerminationPolicy func (c *EMR) PutAutoTerminationPolicyRequest(input *PutAutoTerminationPolicyInput) (req *request.Request, output *PutAutoTerminationPolicyOutput) { @@ -3852,7 +3833,6 @@ func (c *EMR) PutAutoTerminationPolicyRequest(input *PutAutoTerminationPolicyInp // PutAutoTerminationPolicy API operation for Amazon EMR. // -// // Auto-termination is supported in Amazon EMR versions 5.30.0 and 6.1.0 and // later. For more information, see Using an auto-termination policy (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-auto-termination-policy.html). // @@ -3905,14 +3885,13 @@ const opPutBlockPublicAccessConfiguration = "PutBlockPublicAccessConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBlockPublicAccessConfigurationRequest method. +// req, resp := client.PutBlockPublicAccessConfigurationRequest(params) // -// // Example sending a request using the PutBlockPublicAccessConfigurationRequest method. -// req, resp := client.PutBlockPublicAccessConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutBlockPublicAccessConfiguration func (c *EMR) PutBlockPublicAccessConfigurationRequest(input *PutBlockPublicAccessConfigurationInput) (req *request.Request, output *PutBlockPublicAccessConfigurationOutput) { @@ -3947,12 +3926,13 @@ func (c *EMR) PutBlockPublicAccessConfigurationRequest(input *PutBlockPublicAcce // API operation PutBlockPublicAccessConfiguration for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutBlockPublicAccessConfiguration func (c *EMR) PutBlockPublicAccessConfiguration(input *PutBlockPublicAccessConfigurationInput) (*PutBlockPublicAccessConfigurationOutput, error) { @@ -3992,14 +3972,13 @@ const opPutManagedScalingPolicy = "PutManagedScalingPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutManagedScalingPolicyRequest method. +// req, resp := client.PutManagedScalingPolicyRequest(params) // -// // Example sending a request using the PutManagedScalingPolicyRequest method. -// req, resp := client.PutManagedScalingPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutManagedScalingPolicy func (c *EMR) PutManagedScalingPolicyRequest(input *PutManagedScalingPolicyInput) (req *request.Request, output *PutManagedScalingPolicyOutput) { @@ -4070,14 +4049,13 @@ const opRemoveAutoScalingPolicy = "RemoveAutoScalingPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveAutoScalingPolicyRequest method. +// req, resp := client.RemoveAutoScalingPolicyRequest(params) // -// // Example sending a request using the RemoveAutoScalingPolicyRequest method. -// req, resp := client.RemoveAutoScalingPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoScalingPolicy func (c *EMR) RemoveAutoScalingPolicyRequest(input *RemoveAutoScalingPolicyInput) (req *request.Request, output *RemoveAutoScalingPolicyOutput) { @@ -4146,14 +4124,13 @@ const opRemoveAutoTerminationPolicy = "RemoveAutoTerminationPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveAutoTerminationPolicyRequest method. +// req, resp := client.RemoveAutoTerminationPolicyRequest(params) // -// // Example sending a request using the RemoveAutoTerminationPolicyRequest method. -// req, resp := client.RemoveAutoTerminationPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveAutoTerminationPolicy func (c *EMR) RemoveAutoTerminationPolicyRequest(input *RemoveAutoTerminationPolicyInput) (req *request.Request, output *RemoveAutoTerminationPolicyOutput) { @@ -4221,14 +4198,13 @@ const opRemoveManagedScalingPolicy = "RemoveManagedScalingPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveManagedScalingPolicyRequest method. +// req, resp := client.RemoveManagedScalingPolicyRequest(params) // -// // Example sending a request using the RemoveManagedScalingPolicyRequest method. -// req, resp := client.RemoveManagedScalingPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveManagedScalingPolicy func (c *EMR) RemoveManagedScalingPolicyRequest(input *RemoveManagedScalingPolicyInput) (req *request.Request, output *RemoveManagedScalingPolicyOutput) { @@ -4296,14 +4272,13 @@ const opRemoveTags = "RemoveTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsRequest method. +// req, resp := client.RemoveTagsRequest(params) // -// // Example sending a request using the RemoveTagsRequest method. -// req, resp := client.RemoveTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveTags func (c *EMR) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) { @@ -4340,12 +4315,13 @@ func (c *EMR) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, o // API operation RemoveTags for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RemoveTags func (c *EMR) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) { @@ -4385,14 +4361,13 @@ const opRunJobFlow = "RunJobFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RunJobFlowRequest method. +// req, resp := client.RunJobFlowRequest(params) // -// // Example sending a request using the RunJobFlowRequest method. -// req, resp := client.RunJobFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlow func (c *EMR) RunJobFlowRequest(input *RunJobFlowInput) (req *request.Request, output *RunJobFlowOutput) { @@ -4449,9 +4424,9 @@ func (c *EMR) RunJobFlowRequest(input *RunJobFlowInput) (req *request.Request, o // API operation RunJobFlow for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlow func (c *EMR) RunJobFlow(input *RunJobFlowInput) (*RunJobFlowOutput, error) { @@ -4491,14 +4466,13 @@ const opSetTerminationProtection = "SetTerminationProtection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetTerminationProtectionRequest method. +// req, resp := client.SetTerminationProtectionRequest(params) // -// // Example sending a request using the SetTerminationProtectionRequest method. -// req, resp := client.SetTerminationProtectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetTerminationProtection func (c *EMR) SetTerminationProtectionRequest(input *SetTerminationProtectionInput) (req *request.Request, output *SetTerminationProtectionOutput) { @@ -4546,9 +4520,9 @@ func (c *EMR) SetTerminationProtectionRequest(input *SetTerminationProtectionInp // API operation SetTerminationProtection for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetTerminationProtection func (c *EMR) SetTerminationProtection(input *SetTerminationProtectionInput) (*SetTerminationProtectionOutput, error) { @@ -4588,14 +4562,13 @@ const opSetVisibleToAllUsers = "SetVisibleToAllUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetVisibleToAllUsersRequest method. +// req, resp := client.SetVisibleToAllUsersRequest(params) // -// // Example sending a request using the SetVisibleToAllUsersRequest method. -// req, resp := client.SetVisibleToAllUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsers func (c *EMR) SetVisibleToAllUsersRequest(input *SetVisibleToAllUsersInput) (req *request.Request, output *SetVisibleToAllUsersOutput) { @@ -4617,7 +4590,6 @@ func (c *EMR) SetVisibleToAllUsersRequest(input *SetVisibleToAllUsersInput) (req // SetVisibleToAllUsers API operation for Amazon EMR. // -// // The SetVisibleToAllUsers parameter is no longer supported. Your cluster may // be visible to all users in your account. To restrict cluster access using // an IAM policy, see Identity and Access Management for EMR (https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-access-iam.html). @@ -4644,9 +4616,9 @@ func (c *EMR) SetVisibleToAllUsersRequest(input *SetVisibleToAllUsersInput) (req // API operation SetVisibleToAllUsers for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SetVisibleToAllUsers func (c *EMR) SetVisibleToAllUsers(input *SetVisibleToAllUsersInput) (*SetVisibleToAllUsersOutput, error) { @@ -4686,14 +4658,13 @@ const opStartNotebookExecution = "StartNotebookExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartNotebookExecutionRequest method. +// req, resp := client.StartNotebookExecutionRequest(params) // -// // Example sending a request using the StartNotebookExecutionRequest method. -// req, resp := client.StartNotebookExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StartNotebookExecution func (c *EMR) StartNotebookExecutionRequest(input *StartNotebookExecutionInput) (req *request.Request, output *StartNotebookExecutionOutput) { @@ -4724,12 +4695,13 @@ func (c *EMR) StartNotebookExecutionRequest(input *StartNotebookExecutionInput) // API operation StartNotebookExecution for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StartNotebookExecution func (c *EMR) StartNotebookExecution(input *StartNotebookExecutionInput) (*StartNotebookExecutionOutput, error) { @@ -4769,14 +4741,13 @@ const opStopNotebookExecution = "StopNotebookExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopNotebookExecutionRequest method. +// req, resp := client.StopNotebookExecutionRequest(params) // -// // Example sending a request using the StopNotebookExecutionRequest method. -// req, resp := client.StopNotebookExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StopNotebookExecution func (c *EMR) StopNotebookExecutionRequest(input *StopNotebookExecutionInput) (req *request.Request, output *StopNotebookExecutionOutput) { @@ -4808,12 +4779,13 @@ func (c *EMR) StopNotebookExecutionRequest(input *StopNotebookExecutionInput) (r // API operation StopNotebookExecution for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StopNotebookExecution func (c *EMR) StopNotebookExecution(input *StopNotebookExecutionInput) (*StopNotebookExecutionOutput, error) { @@ -4853,14 +4825,13 @@ const opTerminateJobFlows = "TerminateJobFlows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TerminateJobFlowsRequest method. +// req, resp := client.TerminateJobFlowsRequest(params) // -// // Example sending a request using the TerminateJobFlowsRequest method. -// req, resp := client.TerminateJobFlowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlows func (c *EMR) TerminateJobFlowsRequest(input *TerminateJobFlowsInput) (req *request.Request, output *TerminateJobFlowsOutput) { @@ -4901,9 +4872,9 @@ func (c *EMR) TerminateJobFlowsRequest(input *TerminateJobFlowsInput) (req *requ // API operation TerminateJobFlows for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/TerminateJobFlows func (c *EMR) TerminateJobFlows(input *TerminateJobFlowsInput) (*TerminateJobFlowsOutput, error) { @@ -4943,14 +4914,13 @@ const opUpdateStudio = "UpdateStudio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStudioRequest method. +// req, resp := client.UpdateStudioRequest(params) // -// // Example sending a request using the UpdateStudioRequest method. -// req, resp := client.UpdateStudioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/UpdateStudio func (c *EMR) UpdateStudioRequest(input *UpdateStudioInput) (req *request.Request, output *UpdateStudioOutput) { @@ -4983,12 +4953,13 @@ func (c *EMR) UpdateStudioRequest(input *UpdateStudioInput) (req *request.Reques // API operation UpdateStudio for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the Amazon EMR -// service. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerException +// This exception occurs when there is an internal failure in the Amazon EMR +// service. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/UpdateStudio func (c *EMR) UpdateStudio(input *UpdateStudioInput) (*UpdateStudioOutput, error) { @@ -5028,14 +4999,13 @@ const opUpdateStudioSessionMapping = "UpdateStudioSessionMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStudioSessionMappingRequest method. +// req, resp := client.UpdateStudioSessionMappingRequest(params) // -// // Example sending a request using the UpdateStudioSessionMappingRequest method. -// req, resp := client.UpdateStudioSessionMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/UpdateStudioSessionMapping func (c *EMR) UpdateStudioSessionMappingRequest(input *UpdateStudioSessionMappingInput) (req *request.Request, output *UpdateStudioSessionMappingOutput) { @@ -5068,12 +5038,13 @@ func (c *EMR) UpdateStudioSessionMappingRequest(input *UpdateStudioSessionMappin // API operation UpdateStudioSessionMapping for usage and error information. // // Returned Error Types: -// * InternalServerError -// Indicates that an error occurred while processing the request and that the -// request was not completed. // -// * InvalidRequestException -// This exception occurs when there is something wrong with user input. +// - InternalServerError +// Indicates that an error occurred while processing the request and that the +// request was not completed. +// +// - InvalidRequestException +// This exception occurs when there is something wrong with user input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/UpdateStudioSessionMapping func (c *EMR) UpdateStudioSessionMapping(input *UpdateStudioSessionMappingInput) (*UpdateStudioSessionMappingOutput, error) { @@ -7123,7 +7094,6 @@ func (s *ComputeLimits) SetUnitType(v string) *ComputeLimits { return s } -// // Amazon EMR releases 4.x or later. // // An optional configuration specification to be used when provisioning cluster diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/doc.go index f984588d2464..3b8c7b64a5ef 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/doc.go @@ -14,7 +14,7 @@ // See emr package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/emr/ // -// Using the Client +// # Using the Client // // To contact Amazon EMR with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/emriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/emriface/interface.go index ca6e9da050fa..ce7d0aa2a2b6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/emriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/emriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon EMR. -// func myFunc(svc emriface.EMRAPI) bool { -// // Make svc.AddInstanceFleet request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon EMR. +// func myFunc(svc emriface.EMRAPI) bool { +// // Make svc.AddInstanceFleet request +// } // -// func main() { -// sess := session.New() -// svc := emr.New(sess) +// func main() { +// sess := session.New() +// svc := emr.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockEMRClient struct { -// emriface.EMRAPI -// } -// func (m *mockEMRClient) AddInstanceFleet(input *emr.AddInstanceFleetInput) (*emr.AddInstanceFleetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockEMRClient struct { +// emriface.EMRAPI +// } +// func (m *mockEMRClient) AddInstanceFleet(input *emr.AddInstanceFleetInput) (*emr.AddInstanceFleetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockEMRClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockEMRClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/service.go index ae0ff03ab986..963ca618e066 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emr/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a EMR client from just a session. -// svc := emr.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a EMR client with additional configuration -// svc := emr.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a EMR client from just a session. +// svc := emr.New(mySession) +// +// // Create a EMR client with additional configuration +// svc := emr.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *EMR { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/api.go index 5c389bfec671..c377ac6135f6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/api.go @@ -29,14 +29,13 @@ const opCancelJobRun = "CancelJobRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelJobRunRequest method. +// req, resp := client.CancelJobRunRequest(params) // -// // Example sending a request using the CancelJobRunRequest method. -// req, resp := client.CancelJobRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CancelJobRun func (c *EMRContainers) CancelJobRunRequest(input *CancelJobRunInput) (req *request.Request, output *CancelJobRunOutput) { @@ -68,11 +67,12 @@ func (c *EMRContainers) CancelJobRunRequest(input *CancelJobRunInput) (req *requ // API operation CancelJobRun for usage and error information. // // Returned Error Types: -// * ValidationException -// There are invalid parameters in the client request. // -// * InternalServerException -// This is an internal server exception. +// - ValidationException +// There are invalid parameters in the client request. +// +// - InternalServerException +// This is an internal server exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CancelJobRun func (c *EMRContainers) CancelJobRun(input *CancelJobRunInput) (*CancelJobRunOutput, error) { @@ -112,14 +112,13 @@ const opCreateManagedEndpoint = "CreateManagedEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateManagedEndpointRequest method. +// req, resp := client.CreateManagedEndpointRequest(params) // -// // Example sending a request using the CreateManagedEndpointRequest method. -// req, resp := client.CreateManagedEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CreateManagedEndpoint func (c *EMRContainers) CreateManagedEndpointRequest(input *CreateManagedEndpointInput) (req *request.Request, output *CreateManagedEndpointOutput) { @@ -152,14 +151,15 @@ func (c *EMRContainers) CreateManagedEndpointRequest(input *CreateManagedEndpoin // API operation CreateManagedEndpoint for usage and error information. // // Returned Error Types: -// * ValidationException -// There are invalid parameters in the client request. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// There are invalid parameters in the client request. // -// * InternalServerException -// This is an internal server exception. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServerException +// This is an internal server exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CreateManagedEndpoint func (c *EMRContainers) CreateManagedEndpoint(input *CreateManagedEndpointInput) (*CreateManagedEndpointOutput, error) { @@ -199,14 +199,13 @@ const opCreateVirtualCluster = "CreateVirtualCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVirtualClusterRequest method. +// req, resp := client.CreateVirtualClusterRequest(params) // -// // Example sending a request using the CreateVirtualClusterRequest method. -// req, resp := client.CreateVirtualClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CreateVirtualCluster func (c *EMRContainers) CreateVirtualClusterRequest(input *CreateVirtualClusterInput) (req *request.Request, output *CreateVirtualClusterOutput) { @@ -242,14 +241,15 @@ func (c *EMRContainers) CreateVirtualClusterRequest(input *CreateVirtualClusterI // API operation CreateVirtualCluster for usage and error information. // // Returned Error Types: -// * ValidationException -// There are invalid parameters in the client request. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// There are invalid parameters in the client request. // -// * InternalServerException -// This is an internal server exception. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServerException +// This is an internal server exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CreateVirtualCluster func (c *EMRContainers) CreateVirtualCluster(input *CreateVirtualClusterInput) (*CreateVirtualClusterOutput, error) { @@ -289,14 +289,13 @@ const opDeleteManagedEndpoint = "DeleteManagedEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteManagedEndpointRequest method. +// req, resp := client.DeleteManagedEndpointRequest(params) // -// // Example sending a request using the DeleteManagedEndpointRequest method. -// req, resp := client.DeleteManagedEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DeleteManagedEndpoint func (c *EMRContainers) DeleteManagedEndpointRequest(input *DeleteManagedEndpointInput) (req *request.Request, output *DeleteManagedEndpointOutput) { @@ -329,11 +328,12 @@ func (c *EMRContainers) DeleteManagedEndpointRequest(input *DeleteManagedEndpoin // API operation DeleteManagedEndpoint for usage and error information. // // Returned Error Types: -// * ValidationException -// There are invalid parameters in the client request. // -// * InternalServerException -// This is an internal server exception. +// - ValidationException +// There are invalid parameters in the client request. +// +// - InternalServerException +// This is an internal server exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DeleteManagedEndpoint func (c *EMRContainers) DeleteManagedEndpoint(input *DeleteManagedEndpointInput) (*DeleteManagedEndpointOutput, error) { @@ -373,14 +373,13 @@ const opDeleteVirtualCluster = "DeleteVirtualCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVirtualClusterRequest method. +// req, resp := client.DeleteVirtualClusterRequest(params) // -// // Example sending a request using the DeleteVirtualClusterRequest method. -// req, resp := client.DeleteVirtualClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DeleteVirtualCluster func (c *EMRContainers) DeleteVirtualClusterRequest(input *DeleteVirtualClusterInput) (req *request.Request, output *DeleteVirtualClusterOutput) { @@ -416,11 +415,12 @@ func (c *EMRContainers) DeleteVirtualClusterRequest(input *DeleteVirtualClusterI // API operation DeleteVirtualCluster for usage and error information. // // Returned Error Types: -// * ValidationException -// There are invalid parameters in the client request. // -// * InternalServerException -// This is an internal server exception. +// - ValidationException +// There are invalid parameters in the client request. +// +// - InternalServerException +// This is an internal server exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DeleteVirtualCluster func (c *EMRContainers) DeleteVirtualCluster(input *DeleteVirtualClusterInput) (*DeleteVirtualClusterOutput, error) { @@ -460,14 +460,13 @@ const opDescribeJobRun = "DescribeJobRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobRunRequest method. +// req, resp := client.DescribeJobRunRequest(params) // -// // Example sending a request using the DescribeJobRunRequest method. -// req, resp := client.DescribeJobRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeJobRun func (c *EMRContainers) DescribeJobRunRequest(input *DescribeJobRunInput) (req *request.Request, output *DescribeJobRunOutput) { @@ -500,14 +499,15 @@ func (c *EMRContainers) DescribeJobRunRequest(input *DescribeJobRunInput) (req * // API operation DescribeJobRun for usage and error information. // // Returned Error Types: -// * ValidationException -// There are invalid parameters in the client request. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// There are invalid parameters in the client request. // -// * InternalServerException -// This is an internal server exception. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServerException +// This is an internal server exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeJobRun func (c *EMRContainers) DescribeJobRun(input *DescribeJobRunInput) (*DescribeJobRunOutput, error) { @@ -547,14 +547,13 @@ const opDescribeManagedEndpoint = "DescribeManagedEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeManagedEndpointRequest method. +// req, resp := client.DescribeManagedEndpointRequest(params) // -// // Example sending a request using the DescribeManagedEndpointRequest method. -// req, resp := client.DescribeManagedEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeManagedEndpoint func (c *EMRContainers) DescribeManagedEndpointRequest(input *DescribeManagedEndpointInput) (req *request.Request, output *DescribeManagedEndpointOutput) { @@ -587,14 +586,15 @@ func (c *EMRContainers) DescribeManagedEndpointRequest(input *DescribeManagedEnd // API operation DescribeManagedEndpoint for usage and error information. // // Returned Error Types: -// * ValidationException -// There are invalid parameters in the client request. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// There are invalid parameters in the client request. // -// * InternalServerException -// This is an internal server exception. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServerException +// This is an internal server exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeManagedEndpoint func (c *EMRContainers) DescribeManagedEndpoint(input *DescribeManagedEndpointInput) (*DescribeManagedEndpointOutput, error) { @@ -634,14 +634,13 @@ const opDescribeVirtualCluster = "DescribeVirtualCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVirtualClusterRequest method. +// req, resp := client.DescribeVirtualClusterRequest(params) // -// // Example sending a request using the DescribeVirtualClusterRequest method. -// req, resp := client.DescribeVirtualClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeVirtualCluster func (c *EMRContainers) DescribeVirtualClusterRequest(input *DescribeVirtualClusterInput) (req *request.Request, output *DescribeVirtualClusterOutput) { @@ -677,14 +676,15 @@ func (c *EMRContainers) DescribeVirtualClusterRequest(input *DescribeVirtualClus // API operation DescribeVirtualCluster for usage and error information. // // Returned Error Types: -// * ValidationException -// There are invalid parameters in the client request. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// There are invalid parameters in the client request. // -// * InternalServerException -// This is an internal server exception. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServerException +// This is an internal server exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeVirtualCluster func (c *EMRContainers) DescribeVirtualCluster(input *DescribeVirtualClusterInput) (*DescribeVirtualClusterOutput, error) { @@ -724,14 +724,13 @@ const opListJobRuns = "ListJobRuns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobRunsRequest method. +// req, resp := client.ListJobRunsRequest(params) // -// // Example sending a request using the ListJobRunsRequest method. -// req, resp := client.ListJobRunsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListJobRuns func (c *EMRContainers) ListJobRunsRequest(input *ListJobRunsInput) (req *request.Request, output *ListJobRunsOutput) { @@ -770,11 +769,12 @@ func (c *EMRContainers) ListJobRunsRequest(input *ListJobRunsInput) (req *reques // API operation ListJobRuns for usage and error information. // // Returned Error Types: -// * ValidationException -// There are invalid parameters in the client request. // -// * InternalServerException -// This is an internal server exception. +// - ValidationException +// There are invalid parameters in the client request. +// +// - InternalServerException +// This is an internal server exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListJobRuns func (c *EMRContainers) ListJobRuns(input *ListJobRunsInput) (*ListJobRunsOutput, error) { @@ -806,15 +806,14 @@ func (c *EMRContainers) ListJobRunsWithContext(ctx aws.Context, input *ListJobRu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobRuns operation. -// pageNum := 0 -// err := client.ListJobRunsPages(params, -// func(page *emrcontainers.ListJobRunsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobRuns operation. +// pageNum := 0 +// err := client.ListJobRunsPages(params, +// func(page *emrcontainers.ListJobRunsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMRContainers) ListJobRunsPages(input *ListJobRunsInput, fn func(*ListJobRunsOutput, bool) bool) error { return c.ListJobRunsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -866,14 +865,13 @@ const opListManagedEndpoints = "ListManagedEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListManagedEndpointsRequest method. +// req, resp := client.ListManagedEndpointsRequest(params) // -// // Example sending a request using the ListManagedEndpointsRequest method. -// req, resp := client.ListManagedEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListManagedEndpoints func (c *EMRContainers) ListManagedEndpointsRequest(input *ListManagedEndpointsInput) (req *request.Request, output *ListManagedEndpointsOutput) { @@ -912,11 +910,12 @@ func (c *EMRContainers) ListManagedEndpointsRequest(input *ListManagedEndpointsI // API operation ListManagedEndpoints for usage and error information. // // Returned Error Types: -// * ValidationException -// There are invalid parameters in the client request. // -// * InternalServerException -// This is an internal server exception. +// - ValidationException +// There are invalid parameters in the client request. +// +// - InternalServerException +// This is an internal server exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListManagedEndpoints func (c *EMRContainers) ListManagedEndpoints(input *ListManagedEndpointsInput) (*ListManagedEndpointsOutput, error) { @@ -948,15 +947,14 @@ func (c *EMRContainers) ListManagedEndpointsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListManagedEndpoints operation. -// pageNum := 0 -// err := client.ListManagedEndpointsPages(params, -// func(page *emrcontainers.ListManagedEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListManagedEndpoints operation. +// pageNum := 0 +// err := client.ListManagedEndpointsPages(params, +// func(page *emrcontainers.ListManagedEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMRContainers) ListManagedEndpointsPages(input *ListManagedEndpointsInput, fn func(*ListManagedEndpointsOutput, bool) bool) error { return c.ListManagedEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1008,14 +1006,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListTagsForResource func (c *EMRContainers) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1046,14 +1043,15 @@ func (c *EMRContainers) ListTagsForResourceRequest(input *ListTagsForResourceInp // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// This is an internal server exception. // -// * ValidationException -// There are invalid parameters in the client request. +// - InternalServerException +// This is an internal server exception. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// There are invalid parameters in the client request. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListTagsForResource func (c *EMRContainers) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1093,14 +1091,13 @@ const opListVirtualClusters = "ListVirtualClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVirtualClustersRequest method. +// req, resp := client.ListVirtualClustersRequest(params) // -// // Example sending a request using the ListVirtualClustersRequest method. -// req, resp := client.ListVirtualClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListVirtualClusters func (c *EMRContainers) ListVirtualClustersRequest(input *ListVirtualClustersInput) (req *request.Request, output *ListVirtualClustersOutput) { @@ -1142,11 +1139,12 @@ func (c *EMRContainers) ListVirtualClustersRequest(input *ListVirtualClustersInp // API operation ListVirtualClusters for usage and error information. // // Returned Error Types: -// * ValidationException -// There are invalid parameters in the client request. // -// * InternalServerException -// This is an internal server exception. +// - ValidationException +// There are invalid parameters in the client request. +// +// - InternalServerException +// This is an internal server exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListVirtualClusters func (c *EMRContainers) ListVirtualClusters(input *ListVirtualClustersInput) (*ListVirtualClustersOutput, error) { @@ -1178,15 +1176,14 @@ func (c *EMRContainers) ListVirtualClustersWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVirtualClusters operation. -// pageNum := 0 -// err := client.ListVirtualClustersPages(params, -// func(page *emrcontainers.ListVirtualClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVirtualClusters operation. +// pageNum := 0 +// err := client.ListVirtualClustersPages(params, +// func(page *emrcontainers.ListVirtualClustersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMRContainers) ListVirtualClustersPages(input *ListVirtualClustersInput, fn func(*ListVirtualClustersOutput, bool) bool) error { return c.ListVirtualClustersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1238,14 +1235,13 @@ const opStartJobRun = "StartJobRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartJobRunRequest method. +// req, resp := client.StartJobRunRequest(params) // -// // Example sending a request using the StartJobRunRequest method. -// req, resp := client.StartJobRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/StartJobRun func (c *EMRContainers) StartJobRunRequest(input *StartJobRunInput) (req *request.Request, output *StartJobRunOutput) { @@ -1277,14 +1273,15 @@ func (c *EMRContainers) StartJobRunRequest(input *StartJobRunInput) (req *reques // API operation StartJobRun for usage and error information. // // Returned Error Types: -// * ValidationException -// There are invalid parameters in the client request. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// There are invalid parameters in the client request. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServerException -// This is an internal server exception. +// - InternalServerException +// This is an internal server exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/StartJobRun func (c *EMRContainers) StartJobRun(input *StartJobRunInput) (*StartJobRunOutput, error) { @@ -1324,14 +1321,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/TagResource func (c *EMRContainers) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1371,14 +1367,15 @@ func (c *EMRContainers) TagResourceRequest(input *TagResourceInput) (req *reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// This is an internal server exception. // -// * ValidationException -// There are invalid parameters in the client request. +// - InternalServerException +// This is an internal server exception. +// +// - ValidationException +// There are invalid parameters in the client request. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/TagResource func (c *EMRContainers) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1418,14 +1415,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/UntagResource func (c *EMRContainers) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1457,14 +1453,15 @@ func (c *EMRContainers) UntagResourceRequest(input *UntagResourceInput) (req *re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// This is an internal server exception. // -// * ValidationException -// There are invalid parameters in the client request. +// - InternalServerException +// This is an internal server exception. +// +// - ValidationException +// There are invalid parameters in the client request. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/UntagResource func (c *EMRContainers) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/doc.go index 663d89f79a67..891f37f465f6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/doc.go @@ -13,23 +13,23 @@ // Amazon EMR containers is the API name for Amazon EMR on EKS. The emr-containers // prefix is used in the following scenarios: // -// * It is the prefix in the CLI commands for Amazon EMR on EKS. For example, -// aws emr-containers start-job-run. +// - It is the prefix in the CLI commands for Amazon EMR on EKS. For example, +// aws emr-containers start-job-run. // -// * It is the prefix before IAM policy actions for Amazon EMR on EKS. For -// example, "Action": [ "emr-containers:StartJobRun"]. For more information, -// see Policy actions for Amazon EMR on EKS (https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-actions). +// - It is the prefix before IAM policy actions for Amazon EMR on EKS. For +// example, "Action": [ "emr-containers:StartJobRun"]. For more information, +// see Policy actions for Amazon EMR on EKS (https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-actions). // -// * It is the prefix used in Amazon EMR on EKS service endpoints. For example, -// emr-containers.us-east-2.amazonaws.com. For more information, see Amazon -// EMR on EKS Service Endpoints (https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/service-quotas.html#service-endpoints). +// - It is the prefix used in Amazon EMR on EKS service endpoints. For example, +// emr-containers.us-east-2.amazonaws.com. For more information, see Amazon +// EMR on EKS Service Endpoints (https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/service-quotas.html#service-endpoints). // // See https://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01 for more information on this service. // // See emrcontainers package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/emrcontainers/ // -// Using the Client +// # Using the Client // // To contact Amazon EMR Containers with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/emrcontainersiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/emrcontainersiface/interface.go index 6c44bd661ea9..2afaa691e205 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/emrcontainersiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/emrcontainersiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon EMR Containers. -// func myFunc(svc emrcontainersiface.EMRContainersAPI) bool { -// // Make svc.CancelJobRun request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon EMR Containers. +// func myFunc(svc emrcontainersiface.EMRContainersAPI) bool { +// // Make svc.CancelJobRun request +// } // -// func main() { -// sess := session.New() -// svc := emrcontainers.New(sess) +// func main() { +// sess := session.New() +// svc := emrcontainers.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockEMRContainersClient struct { -// emrcontainersiface.EMRContainersAPI -// } -// func (m *mockEMRContainersClient) CancelJobRun(input *emrcontainers.CancelJobRunInput) (*emrcontainers.CancelJobRunOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockEMRContainersClient struct { +// emrcontainersiface.EMRContainersAPI +// } +// func (m *mockEMRContainersClient) CancelJobRun(input *emrcontainers.CancelJobRunInput) (*emrcontainers.CancelJobRunOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockEMRContainersClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockEMRContainersClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/service.go index 5f15511c231b..cd34d83130e6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrcontainers/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a EMRContainers client from just a session. -// svc := emrcontainers.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a EMRContainers client with additional configuration -// svc := emrcontainers.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a EMRContainers client from just a session. +// svc := emrcontainers.New(mySession) +// +// // Create a EMRContainers client with additional configuration +// svc := emrcontainers.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *EMRContainers { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/api.go index 056f84196d96..3fff389d3438 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/api.go @@ -29,14 +29,13 @@ const opCancelJobRun = "CancelJobRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelJobRunRequest method. +// req, resp := client.CancelJobRunRequest(params) // -// // Example sending a request using the CancelJobRunRequest method. -// req, resp := client.CancelJobRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CancelJobRun func (c *EMRServerless) CancelJobRunRequest(input *CancelJobRunInput) (req *request.Request, output *CancelJobRunOutput) { @@ -67,14 +66,15 @@ func (c *EMRServerless) CancelJobRunRequest(input *CancelJobRunInput) (req *requ // API operation CancelJobRun for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServerException -// Request processing failed because of an error or failure with the service. +// - InternalServerException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CancelJobRun func (c *EMRServerless) CancelJobRun(input *CancelJobRunInput) (*CancelJobRunOutput, error) { @@ -114,14 +114,13 @@ const opCreateApplication = "CreateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationRequest method. +// req, resp := client.CreateApplicationRequest(params) // -// // Example sending a request using the CreateApplicationRequest method. -// req, resp := client.CreateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CreateApplication func (c *EMRServerless) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput) { @@ -152,15 +151,16 @@ func (c *EMRServerless) CreateApplicationRequest(input *CreateApplicationInput) // API operation CreateApplication for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. // -// * InternalServerException -// Request processing failed because of an error or failure with the service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - InternalServerException +// Request processing failed because of an error or failure with the service. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CreateApplication func (c *EMRServerless) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error) { @@ -200,14 +200,13 @@ const opDeleteApplication = "DeleteApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationRequest method. +// req, resp := client.DeleteApplicationRequest(params) // -// // Example sending a request using the DeleteApplicationRequest method. -// req, resp := client.DeleteApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/DeleteApplication func (c *EMRServerless) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) { @@ -240,14 +239,15 @@ func (c *EMRServerless) DeleteApplicationRequest(input *DeleteApplicationInput) // API operation DeleteApplication for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServerException -// Request processing failed because of an error or failure with the service. +// - InternalServerException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/DeleteApplication func (c *EMRServerless) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) { @@ -287,14 +287,13 @@ const opGetApplication = "GetApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApplicationRequest method. +// req, resp := client.GetApplicationRequest(params) // -// // Example sending a request using the GetApplicationRequest method. -// req, resp := client.GetApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetApplication func (c *EMRServerless) GetApplicationRequest(input *GetApplicationInput) (req *request.Request, output *GetApplicationOutput) { @@ -325,14 +324,15 @@ func (c *EMRServerless) GetApplicationRequest(input *GetApplicationInput) (req * // API operation GetApplication for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServerException -// Request processing failed because of an error or failure with the service. +// - InternalServerException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetApplication func (c *EMRServerless) GetApplication(input *GetApplicationInput) (*GetApplicationOutput, error) { @@ -372,14 +372,13 @@ const opGetJobRun = "GetJobRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobRunRequest method. +// req, resp := client.GetJobRunRequest(params) // -// // Example sending a request using the GetJobRunRequest method. -// req, resp := client.GetJobRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetJobRun func (c *EMRServerless) GetJobRunRequest(input *GetJobRunInput) (req *request.Request, output *GetJobRunOutput) { @@ -410,14 +409,15 @@ func (c *EMRServerless) GetJobRunRequest(input *GetJobRunInput) (req *request.Re // API operation GetJobRun for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServerException -// Request processing failed because of an error or failure with the service. +// - InternalServerException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetJobRun func (c *EMRServerless) GetJobRun(input *GetJobRunInput) (*GetJobRunOutput, error) { @@ -457,14 +457,13 @@ const opListApplications = "ListApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationsRequest method. +// req, resp := client.ListApplicationsRequest(params) // -// // Example sending a request using the ListApplicationsRequest method. -// req, resp := client.ListApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListApplications func (c *EMRServerless) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput) { @@ -501,11 +500,12 @@ func (c *EMRServerless) ListApplicationsRequest(input *ListApplicationsInput) (r // API operation ListApplications for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. // -// * InternalServerException -// Request processing failed because of an error or failure with the service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - InternalServerException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListApplications func (c *EMRServerless) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error) { @@ -537,15 +537,14 @@ func (c *EMRServerless) ListApplicationsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplications operation. -// pageNum := 0 -// err := client.ListApplicationsPages(params, -// func(page *emrserverless.ListApplicationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplications operation. +// pageNum := 0 +// err := client.ListApplicationsPages(params, +// func(page *emrserverless.ListApplicationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMRServerless) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error { return c.ListApplicationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -597,14 +596,13 @@ const opListJobRuns = "ListJobRuns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobRunsRequest method. +// req, resp := client.ListJobRunsRequest(params) // -// // Example sending a request using the ListJobRunsRequest method. -// req, resp := client.ListJobRunsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListJobRuns func (c *EMRServerless) ListJobRunsRequest(input *ListJobRunsInput) (req *request.Request, output *ListJobRunsOutput) { @@ -641,11 +639,12 @@ func (c *EMRServerless) ListJobRunsRequest(input *ListJobRunsInput) (req *reques // API operation ListJobRuns for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. // -// * InternalServerException -// Request processing failed because of an error or failure with the service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - InternalServerException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListJobRuns func (c *EMRServerless) ListJobRuns(input *ListJobRunsInput) (*ListJobRunsOutput, error) { @@ -677,15 +676,14 @@ func (c *EMRServerless) ListJobRunsWithContext(ctx aws.Context, input *ListJobRu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobRuns operation. -// pageNum := 0 -// err := client.ListJobRunsPages(params, -// func(page *emrserverless.ListJobRunsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobRuns operation. +// pageNum := 0 +// err := client.ListJobRunsPages(params, +// func(page *emrserverless.ListJobRunsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *EMRServerless) ListJobRunsPages(input *ListJobRunsInput, fn func(*ListJobRunsOutput, bool) bool) error { return c.ListJobRunsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -737,14 +735,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListTagsForResource func (c *EMRServerless) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -775,14 +772,15 @@ func (c *EMRServerless) ListTagsForResourceRequest(input *ListTagsForResourceInp // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * InternalServerException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServerException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListTagsForResource func (c *EMRServerless) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -822,14 +820,13 @@ const opStartApplication = "StartApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartApplicationRequest method. +// req, resp := client.StartApplicationRequest(params) // -// // Example sending a request using the StartApplicationRequest method. -// req, resp := client.StartApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StartApplication func (c *EMRServerless) StartApplicationRequest(input *StartApplicationInput) (req *request.Request, output *StartApplicationOutput) { @@ -861,17 +858,18 @@ func (c *EMRServerless) StartApplicationRequest(input *StartApplicationInput) (r // API operation StartApplication for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * InternalServerException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ServiceQuotaExceededException -// The maximum number of resources per account has been reached. +// - InternalServerException +// Request processing failed because of an error or failure with the service. +// +// - ServiceQuotaExceededException +// The maximum number of resources per account has been reached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StartApplication func (c *EMRServerless) StartApplication(input *StartApplicationInput) (*StartApplicationOutput, error) { @@ -911,14 +909,13 @@ const opStartJobRun = "StartJobRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartJobRunRequest method. +// req, resp := client.StartJobRunRequest(params) // -// // Example sending a request using the StartJobRunRequest method. -// req, resp := client.StartJobRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StartJobRun func (c *EMRServerless) StartJobRunRequest(input *StartJobRunInput) (req *request.Request, output *StartJobRunOutput) { @@ -949,18 +946,19 @@ func (c *EMRServerless) StartJobRunRequest(input *StartJobRunInput) (req *reques // API operation StartJobRun for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * InternalServerException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ConflictException -// The request could not be processed because of conflict in the current state -// of the resource. +// - InternalServerException +// Request processing failed because of an error or failure with the service. +// +// - ConflictException +// The request could not be processed because of conflict in the current state +// of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StartJobRun func (c *EMRServerless) StartJobRun(input *StartJobRunInput) (*StartJobRunOutput, error) { @@ -1000,14 +998,13 @@ const opStopApplication = "StopApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopApplicationRequest method. +// req, resp := client.StopApplicationRequest(params) // -// // Example sending a request using the StopApplicationRequest method. -// req, resp := client.StopApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StopApplication func (c *EMRServerless) StopApplicationRequest(input *StopApplicationInput) (req *request.Request, output *StopApplicationOutput) { @@ -1041,14 +1038,15 @@ func (c *EMRServerless) StopApplicationRequest(input *StopApplicationInput) (req // API operation StopApplication for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * InternalServerException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServerException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/StopApplication func (c *EMRServerless) StopApplication(input *StopApplicationInput) (*StopApplicationOutput, error) { @@ -1088,14 +1086,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/TagResource func (c *EMRServerless) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1132,14 +1129,15 @@ func (c *EMRServerless) TagResourceRequest(input *TagResourceInput) (req *reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * InternalServerException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServerException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/TagResource func (c *EMRServerless) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1179,14 +1177,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UntagResource func (c *EMRServerless) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1218,14 +1215,15 @@ func (c *EMRServerless) UntagResourceRequest(input *UntagResourceInput) (req *re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * InternalServerException -// Request processing failed because of an error or failure with the service. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalServerException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UntagResource func (c *EMRServerless) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1265,14 +1263,13 @@ const opUpdateApplication = "UpdateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationRequest method. +// req, resp := client.UpdateApplicationRequest(params) // -// // Example sending a request using the UpdateApplicationRequest method. -// req, resp := client.UpdateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplication func (c *EMRServerless) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) { @@ -1304,14 +1301,15 @@ func (c *EMRServerless) UpdateApplicationRequest(input *UpdateApplicationInput) // API operation UpdateApplication for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalServerException -// Request processing failed because of an error or failure with the service. +// - InternalServerException +// Request processing failed because of an error or failure with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplication func (c *EMRServerless) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/doc.go index 4cf7bca4cf51..7e1f09129f7c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/doc.go @@ -12,22 +12,22 @@ // The API reference to Amazon EMR Serverless is emr-serverless. The emr-serverless // prefix is used in the following scenarios: // -// * It is the prefix in the CLI commands for Amazon EMR Serverless. For -// example, aws emr-serverless start-job-run. +// - It is the prefix in the CLI commands for Amazon EMR Serverless. For +// example, aws emr-serverless start-job-run. // -// * It is the prefix before IAM policy actions for Amazon EMR Serverless. -// For example, "Action": ["emr-serverless:StartJobRun"]. For more information, -// see Policy actions for Amazon EMR Serverless (https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-actions). +// - It is the prefix before IAM policy actions for Amazon EMR Serverless. +// For example, "Action": ["emr-serverless:StartJobRun"]. For more information, +// see Policy actions for Amazon EMR Serverless (https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-actions). // -// * It is the prefix used in Amazon EMR Serverless service endpoints. For -// example, emr-serverless.us-east-2.amazonaws.com. +// - It is the prefix used in Amazon EMR Serverless service endpoints. For +// example, emr-serverless.us-east-2.amazonaws.com. // // See https://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13 for more information on this service. // // See emrserverless package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/emrserverless/ // -// Using the Client +// # Using the Client // // To contact EMR Serverless with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/emrserverlessiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/emrserverlessiface/interface.go index 7610da5309c7..2a3b06a4153e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/emrserverlessiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/emrserverlessiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // EMR Serverless. -// func myFunc(svc emrserverlessiface.EMRServerlessAPI) bool { -// // Make svc.CancelJobRun request -// } +// // myFunc uses an SDK service client to make a request to +// // EMR Serverless. +// func myFunc(svc emrserverlessiface.EMRServerlessAPI) bool { +// // Make svc.CancelJobRun request +// } // -// func main() { -// sess := session.New() -// svc := emrserverless.New(sess) +// func main() { +// sess := session.New() +// svc := emrserverless.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockEMRServerlessClient struct { -// emrserverlessiface.EMRServerlessAPI -// } -// func (m *mockEMRServerlessClient) CancelJobRun(input *emrserverless.CancelJobRunInput) (*emrserverless.CancelJobRunOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockEMRServerlessClient struct { +// emrserverlessiface.EMRServerlessAPI +// } +// func (m *mockEMRServerlessClient) CancelJobRun(input *emrserverless.CancelJobRunInput) (*emrserverless.CancelJobRunOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockEMRServerlessClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockEMRServerlessClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/service.go index 1d1d192c41e2..8d306fc96ec7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/emrserverless/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a EMRServerless client from just a session. -// svc := emrserverless.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a EMRServerless client with additional configuration -// svc := emrserverless.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a EMRServerless client from just a session. +// svc := emrserverless.New(mySession) +// +// // Create a EMRServerless client with additional configuration +// svc := emrserverless.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *EMRServerless { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/api.go index 388f6c264813..e9bb62c86dad 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/api.go @@ -29,14 +29,13 @@ const opActivateEventSource = "ActivateEventSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ActivateEventSourceRequest method. +// req, resp := client.ActivateEventSourceRequest(params) // -// // Example sending a request using the ActivateEventSourceRequest method. -// req, resp := client.ActivateEventSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ActivateEventSource func (c *EventBridge) ActivateEventSourceRequest(input *ActivateEventSourceInput) (req *request.Request, output *ActivateEventSourceOutput) { @@ -69,20 +68,21 @@ func (c *EventBridge) ActivateEventSourceRequest(input *ActivateEventSourceInput // API operation ActivateEventSource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InvalidStateException -// The specified state is not a valid state for an event source. +// - InvalidStateException +// The specified state is not a valid state for an event source. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ActivateEventSource func (c *EventBridge) ActivateEventSource(input *ActivateEventSourceInput) (*ActivateEventSourceOutput, error) { @@ -122,14 +122,13 @@ const opCancelReplay = "CancelReplay" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelReplayRequest method. +// req, resp := client.CancelReplayRequest(params) // -// // Example sending a request using the CancelReplayRequest method. -// req, resp := client.CancelReplayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CancelReplay func (c *EventBridge) CancelReplayRequest(input *CancelReplayInput) (req *request.Request, output *CancelReplayOutput) { @@ -160,18 +159,19 @@ func (c *EventBridge) CancelReplayRequest(input *CancelReplayInput) (req *reques // API operation CancelReplay for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * IllegalStatusException -// An error occurred because a replay can be canceled only when the state is -// Running or Starting. +// - IllegalStatusException +// An error occurred because a replay can be canceled only when the state is +// Running or Starting. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CancelReplay func (c *EventBridge) CancelReplay(input *CancelReplayInput) (*CancelReplayOutput, error) { @@ -211,14 +211,13 @@ const opCreateApiDestination = "CreateApiDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApiDestinationRequest method. +// req, resp := client.CreateApiDestinationRequest(params) // -// // Example sending a request using the CreateApiDestinationRequest method. -// req, resp := client.CreateApiDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateApiDestination func (c *EventBridge) CreateApiDestinationRequest(input *CreateApiDestinationInput) (req *request.Request, output *CreateApiDestinationOutput) { @@ -250,18 +249,19 @@ func (c *EventBridge) CreateApiDestinationRequest(input *CreateApiDestinationInp // API operation CreateApiDestination for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource you are trying to create already exists. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ResourceAlreadyExistsException +// The resource you are trying to create already exists. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateApiDestination func (c *EventBridge) CreateApiDestination(input *CreateApiDestinationInput) (*CreateApiDestinationOutput, error) { @@ -301,14 +301,13 @@ const opCreateArchive = "CreateArchive" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateArchiveRequest method. +// req, resp := client.CreateArchiveRequest(params) // -// // Example sending a request using the CreateArchiveRequest method. -// req, resp := client.CreateArchiveRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateArchive func (c *EventBridge) CreateArchiveRequest(input *CreateArchiveInput) (req *request.Request, output *CreateArchiveOutput) { @@ -344,24 +343,25 @@ func (c *EventBridge) CreateArchiveRequest(input *CreateArchiveInput) (req *requ // API operation CreateArchive for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceAlreadyExistsException -// The resource you are trying to create already exists. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ResourceAlreadyExistsException +// The resource you are trying to create already exists. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - InternalException +// This exception occurs due to unexpected causes. // -// * InvalidEventPatternException -// The event pattern is not valid. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. +// +// - InvalidEventPatternException +// The event pattern is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateArchive func (c *EventBridge) CreateArchive(input *CreateArchiveInput) (*CreateArchiveOutput, error) { @@ -401,14 +401,13 @@ const opCreateConnection = "CreateConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConnectionRequest method. +// req, resp := client.CreateConnectionRequest(params) // -// // Example sending a request using the CreateConnectionRequest method. -// req, resp := client.CreateConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateConnection func (c *EventBridge) CreateConnectionRequest(input *CreateConnectionInput) (req *request.Request, output *CreateConnectionOutput) { @@ -440,15 +439,16 @@ func (c *EventBridge) CreateConnectionRequest(input *CreateConnectionInput) (req // API operation CreateConnection for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource you are trying to create already exists. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - ResourceAlreadyExistsException +// The resource you are trying to create already exists. // -// * InternalException -// This exception occurs due to unexpected causes. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateConnection func (c *EventBridge) CreateConnection(input *CreateConnectionInput) (*CreateConnectionOutput, error) { @@ -488,14 +488,13 @@ const opCreateEndpoint = "CreateEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEndpointRequest method. +// req, resp := client.CreateEndpointRequest(params) // -// // Example sending a request using the CreateEndpointRequest method. -// req, resp := client.CreateEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateEndpoint func (c *EventBridge) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput) { @@ -531,15 +530,16 @@ func (c *EventBridge) CreateEndpointRequest(input *CreateEndpointInput) (req *re // API operation CreateEndpoint for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource you are trying to create already exists. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - ResourceAlreadyExistsException +// The resource you are trying to create already exists. // -// * InternalException -// This exception occurs due to unexpected causes. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateEndpoint func (c *EventBridge) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error) { @@ -579,14 +579,13 @@ const opCreateEventBus = "CreateEventBus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEventBusRequest method. +// req, resp := client.CreateEventBusRequest(params) // -// // Example sending a request using the CreateEventBusRequest method. -// req, resp := client.CreateEventBusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateEventBus func (c *EventBridge) CreateEventBusRequest(input *CreateEventBusInput) (req *request.Request, output *CreateEventBusOutput) { @@ -620,27 +619,28 @@ func (c *EventBridge) CreateEventBusRequest(input *CreateEventBusInput) (req *re // API operation CreateEventBus for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource you are trying to create already exists. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ResourceAlreadyExistsException +// The resource you are trying to create already exists. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * InvalidStateException -// The specified state is not a valid state for an event source. +// - InvalidStateException +// The specified state is not a valid state for an event source. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreateEventBus func (c *EventBridge) CreateEventBus(input *CreateEventBusInput) (*CreateEventBusOutput, error) { @@ -680,14 +680,13 @@ const opCreatePartnerEventSource = "CreatePartnerEventSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePartnerEventSourceRequest method. +// req, resp := client.CreatePartnerEventSourceRequest(params) // -// // Example sending a request using the CreatePartnerEventSourceRequest method. -// req, resp := client.CreatePartnerEventSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreatePartnerEventSource func (c *EventBridge) CreatePartnerEventSourceRequest(input *CreatePartnerEventSourceInput) (req *request.Request, output *CreatePartnerEventSourceOutput) { @@ -744,21 +743,22 @@ func (c *EventBridge) CreatePartnerEventSourceRequest(input *CreatePartnerEventS // API operation CreatePartnerEventSource for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource you are trying to create already exists. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceAlreadyExistsException +// The resource you are trying to create already exists. +// +// - InternalException +// This exception occurs due to unexpected causes. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/CreatePartnerEventSource func (c *EventBridge) CreatePartnerEventSource(input *CreatePartnerEventSourceInput) (*CreatePartnerEventSourceOutput, error) { @@ -798,14 +798,13 @@ const opDeactivateEventSource = "DeactivateEventSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeactivateEventSourceRequest method. +// req, resp := client.DeactivateEventSourceRequest(params) // -// // Example sending a request using the DeactivateEventSourceRequest method. -// req, resp := client.DeactivateEventSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeactivateEventSource func (c *EventBridge) DeactivateEventSourceRequest(input *DeactivateEventSourceInput) (req *request.Request, output *DeactivateEventSourceOutput) { @@ -843,20 +842,21 @@ func (c *EventBridge) DeactivateEventSourceRequest(input *DeactivateEventSourceI // API operation DeactivateEventSource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InvalidStateException -// The specified state is not a valid state for an event source. +// - InvalidStateException +// The specified state is not a valid state for an event source. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeactivateEventSource func (c *EventBridge) DeactivateEventSource(input *DeactivateEventSourceInput) (*DeactivateEventSourceOutput, error) { @@ -896,14 +896,13 @@ const opDeauthorizeConnection = "DeauthorizeConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeauthorizeConnectionRequest method. +// req, resp := client.DeauthorizeConnectionRequest(params) // -// // Example sending a request using the DeauthorizeConnectionRequest method. -// req, resp := client.DeauthorizeConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeauthorizeConnection func (c *EventBridge) DeauthorizeConnectionRequest(input *DeauthorizeConnectionInput) (req *request.Request, output *DeauthorizeConnectionOutput) { @@ -936,14 +935,15 @@ func (c *EventBridge) DeauthorizeConnectionRequest(input *DeauthorizeConnectionI // API operation DeauthorizeConnection for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeauthorizeConnection func (c *EventBridge) DeauthorizeConnection(input *DeauthorizeConnectionInput) (*DeauthorizeConnectionOutput, error) { @@ -983,14 +983,13 @@ const opDeleteApiDestination = "DeleteApiDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApiDestinationRequest method. +// req, resp := client.DeleteApiDestinationRequest(params) // -// // Example sending a request using the DeleteApiDestinationRequest method. -// req, resp := client.DeleteApiDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteApiDestination func (c *EventBridge) DeleteApiDestinationRequest(input *DeleteApiDestinationInput) (req *request.Request, output *DeleteApiDestinationOutput) { @@ -1022,14 +1021,15 @@ func (c *EventBridge) DeleteApiDestinationRequest(input *DeleteApiDestinationInp // API operation DeleteApiDestination for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteApiDestination func (c *EventBridge) DeleteApiDestination(input *DeleteApiDestinationInput) (*DeleteApiDestinationOutput, error) { @@ -1069,14 +1069,13 @@ const opDeleteArchive = "DeleteArchive" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteArchiveRequest method. +// req, resp := client.DeleteArchiveRequest(params) // -// // Example sending a request using the DeleteArchiveRequest method. -// req, resp := client.DeleteArchiveRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteArchive func (c *EventBridge) DeleteArchiveRequest(input *DeleteArchiveInput) (req *request.Request, output *DeleteArchiveOutput) { @@ -1108,14 +1107,15 @@ func (c *EventBridge) DeleteArchiveRequest(input *DeleteArchiveInput) (req *requ // API operation DeleteArchive for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteArchive func (c *EventBridge) DeleteArchive(input *DeleteArchiveInput) (*DeleteArchiveOutput, error) { @@ -1155,14 +1155,13 @@ const opDeleteConnection = "DeleteConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConnectionRequest method. +// req, resp := client.DeleteConnectionRequest(params) // -// // Example sending a request using the DeleteConnectionRequest method. -// req, resp := client.DeleteConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteConnection func (c *EventBridge) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput) { @@ -1193,14 +1192,15 @@ func (c *EventBridge) DeleteConnectionRequest(input *DeleteConnectionInput) (req // API operation DeleteConnection for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteConnection func (c *EventBridge) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error) { @@ -1240,14 +1240,13 @@ const opDeleteEndpoint = "DeleteEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEndpointRequest method. +// req, resp := client.DeleteEndpointRequest(params) // -// // Example sending a request using the DeleteEndpointRequest method. -// req, resp := client.DeleteEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteEndpoint func (c *EventBridge) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) { @@ -1282,14 +1281,15 @@ func (c *EventBridge) DeleteEndpointRequest(input *DeleteEndpointInput) (req *re // API operation DeleteEndpoint for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteEndpoint func (c *EventBridge) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) { @@ -1329,14 +1329,13 @@ const opDeleteEventBus = "DeleteEventBus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventBusRequest method. +// req, resp := client.DeleteEventBusRequest(params) // -// // Example sending a request using the DeleteEventBusRequest method. -// req, resp := client.DeleteEventBusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteEventBus func (c *EventBridge) DeleteEventBusRequest(input *DeleteEventBusInput) (req *request.Request, output *DeleteEventBusOutput) { @@ -1370,11 +1369,12 @@ func (c *EventBridge) DeleteEventBusRequest(input *DeleteEventBusInput) (req *re // API operation DeleteEventBus for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteEventBus func (c *EventBridge) DeleteEventBus(input *DeleteEventBusInput) (*DeleteEventBusOutput, error) { @@ -1414,14 +1414,13 @@ const opDeletePartnerEventSource = "DeletePartnerEventSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePartnerEventSourceRequest method. +// req, resp := client.DeletePartnerEventSourceRequest(params) // -// // Example sending a request using the DeletePartnerEventSourceRequest method. -// req, resp := client.DeletePartnerEventSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeletePartnerEventSource func (c *EventBridge) DeletePartnerEventSourceRequest(input *DeletePartnerEventSourceInput) (req *request.Request, output *DeletePartnerEventSourceOutput) { @@ -1457,14 +1456,15 @@ func (c *EventBridge) DeletePartnerEventSourceRequest(input *DeletePartnerEventS // API operation DeletePartnerEventSource for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - InternalException +// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. +// +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeletePartnerEventSource func (c *EventBridge) DeletePartnerEventSource(input *DeletePartnerEventSourceInput) (*DeletePartnerEventSourceOutput, error) { @@ -1504,14 +1504,13 @@ const opDeleteRule = "DeleteRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRuleRequest method. +// req, resp := client.DeleteRuleRequest(params) // -// // Example sending a request using the DeleteRuleRequest method. -// req, resp := client.DeleteRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteRule func (c *EventBridge) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, output *DeleteRuleOutput) { @@ -1559,22 +1558,23 @@ func (c *EventBridge) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Re // API operation DeleteRule for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. +// +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ResourceNotFoundException +// An entity that you specified does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DeleteRule func (c *EventBridge) DeleteRule(input *DeleteRuleInput) (*DeleteRuleOutput, error) { @@ -1614,14 +1614,13 @@ const opDescribeApiDestination = "DescribeApiDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApiDestinationRequest method. +// req, resp := client.DescribeApiDestinationRequest(params) // -// // Example sending a request using the DescribeApiDestinationRequest method. -// req, resp := client.DescribeApiDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeApiDestination func (c *EventBridge) DescribeApiDestinationRequest(input *DescribeApiDestinationInput) (req *request.Request, output *DescribeApiDestinationOutput) { @@ -1652,11 +1651,12 @@ func (c *EventBridge) DescribeApiDestinationRequest(input *DescribeApiDestinatio // API operation DescribeApiDestination for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeApiDestination func (c *EventBridge) DescribeApiDestination(input *DescribeApiDestinationInput) (*DescribeApiDestinationOutput, error) { @@ -1696,14 +1696,13 @@ const opDescribeArchive = "DescribeArchive" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeArchiveRequest method. +// req, resp := client.DescribeArchiveRequest(params) // -// // Example sending a request using the DescribeArchiveRequest method. -// req, resp := client.DescribeArchiveRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeArchive func (c *EventBridge) DescribeArchiveRequest(input *DescribeArchiveInput) (req *request.Request, output *DescribeArchiveOutput) { @@ -1734,14 +1733,15 @@ func (c *EventBridge) DescribeArchiveRequest(input *DescribeArchiveInput) (req * // API operation DescribeArchive for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource you are trying to create already exists. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ResourceAlreadyExistsException +// The resource you are trying to create already exists. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeArchive func (c *EventBridge) DescribeArchive(input *DescribeArchiveInput) (*DescribeArchiveOutput, error) { @@ -1781,14 +1781,13 @@ const opDescribeConnection = "DescribeConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConnectionRequest method. +// req, resp := client.DescribeConnectionRequest(params) // -// // Example sending a request using the DescribeConnectionRequest method. -// req, resp := client.DescribeConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeConnection func (c *EventBridge) DescribeConnectionRequest(input *DescribeConnectionInput) (req *request.Request, output *DescribeConnectionOutput) { @@ -1819,11 +1818,12 @@ func (c *EventBridge) DescribeConnectionRequest(input *DescribeConnectionInput) // API operation DescribeConnection for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeConnection func (c *EventBridge) DescribeConnection(input *DescribeConnectionInput) (*DescribeConnectionOutput, error) { @@ -1863,14 +1863,13 @@ const opDescribeEndpoint = "DescribeEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointRequest method. +// req, resp := client.DescribeEndpointRequest(params) // -// // Example sending a request using the DescribeEndpointRequest method. -// req, resp := client.DescribeEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeEndpoint func (c *EventBridge) DescribeEndpointRequest(input *DescribeEndpointInput) (req *request.Request, output *DescribeEndpointOutput) { @@ -1904,11 +1903,12 @@ func (c *EventBridge) DescribeEndpointRequest(input *DescribeEndpointInput) (req // API operation DescribeEndpoint for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeEndpoint func (c *EventBridge) DescribeEndpoint(input *DescribeEndpointInput) (*DescribeEndpointOutput, error) { @@ -1948,14 +1948,13 @@ const opDescribeEventBus = "DescribeEventBus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventBusRequest method. +// req, resp := client.DescribeEventBusRequest(params) // -// // Example sending a request using the DescribeEventBusRequest method. -// req, resp := client.DescribeEventBusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeEventBus func (c *EventBridge) DescribeEventBusRequest(input *DescribeEventBusInput) (req *request.Request, output *DescribeEventBusOutput) { @@ -1995,11 +1994,12 @@ func (c *EventBridge) DescribeEventBusRequest(input *DescribeEventBusInput) (req // API operation DescribeEventBus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeEventBus func (c *EventBridge) DescribeEventBus(input *DescribeEventBusInput) (*DescribeEventBusOutput, error) { @@ -2039,14 +2039,13 @@ const opDescribeEventSource = "DescribeEventSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventSourceRequest method. +// req, resp := client.DescribeEventSourceRequest(params) // -// // Example sending a request using the DescribeEventSourceRequest method. -// req, resp := client.DescribeEventSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeEventSource func (c *EventBridge) DescribeEventSourceRequest(input *DescribeEventSourceInput) (req *request.Request, output *DescribeEventSourceOutput) { @@ -2078,14 +2077,15 @@ func (c *EventBridge) DescribeEventSourceRequest(input *DescribeEventSourceInput // API operation DescribeEventSource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeEventSource func (c *EventBridge) DescribeEventSource(input *DescribeEventSourceInput) (*DescribeEventSourceOutput, error) { @@ -2125,14 +2125,13 @@ const opDescribePartnerEventSource = "DescribePartnerEventSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePartnerEventSourceRequest method. +// req, resp := client.DescribePartnerEventSourceRequest(params) // -// // Example sending a request using the DescribePartnerEventSourceRequest method. -// req, resp := client.DescribePartnerEventSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribePartnerEventSource func (c *EventBridge) DescribePartnerEventSourceRequest(input *DescribePartnerEventSourceInput) (req *request.Request, output *DescribePartnerEventSourceOutput) { @@ -2167,14 +2166,15 @@ func (c *EventBridge) DescribePartnerEventSourceRequest(input *DescribePartnerEv // API operation DescribePartnerEventSource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribePartnerEventSource func (c *EventBridge) DescribePartnerEventSource(input *DescribePartnerEventSourceInput) (*DescribePartnerEventSourceOutput, error) { @@ -2214,14 +2214,13 @@ const opDescribeReplay = "DescribeReplay" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReplayRequest method. +// req, resp := client.DescribeReplayRequest(params) // -// // Example sending a request using the DescribeReplayRequest method. -// req, resp := client.DescribeReplayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeReplay func (c *EventBridge) DescribeReplayRequest(input *DescribeReplayInput) (req *request.Request, output *DescribeReplayOutput) { @@ -2260,11 +2259,12 @@ func (c *EventBridge) DescribeReplayRequest(input *DescribeReplayInput) (req *re // API operation DescribeReplay for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeReplay func (c *EventBridge) DescribeReplay(input *DescribeReplayInput) (*DescribeReplayOutput, error) { @@ -2304,14 +2304,13 @@ const opDescribeRule = "DescribeRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRuleRequest method. +// req, resp := client.DescribeRuleRequest(params) // -// // Example sending a request using the DescribeRuleRequest method. -// req, resp := client.DescribeRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeRule func (c *EventBridge) DescribeRuleRequest(input *DescribeRuleInput) (req *request.Request, output *DescribeRuleOutput) { @@ -2345,11 +2344,12 @@ func (c *EventBridge) DescribeRuleRequest(input *DescribeRuleInput) (req *reques // API operation DescribeRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DescribeRule func (c *EventBridge) DescribeRule(input *DescribeRuleInput) (*DescribeRuleOutput, error) { @@ -2389,14 +2389,13 @@ const opDisableRule = "DisableRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableRuleRequest method. +// req, resp := client.DisableRuleRequest(params) // -// // Example sending a request using the DisableRuleRequest method. -// req, resp := client.DisableRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DisableRule func (c *EventBridge) DisableRuleRequest(input *DisableRuleInput) (req *request.Request, output *DisableRuleOutput) { @@ -2432,22 +2431,23 @@ func (c *EventBridge) DisableRuleRequest(input *DisableRuleInput) (req *request. // API operation DisableRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/DisableRule func (c *EventBridge) DisableRule(input *DisableRuleInput) (*DisableRuleOutput, error) { @@ -2487,14 +2487,13 @@ const opEnableRule = "EnableRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableRuleRequest method. +// req, resp := client.EnableRuleRequest(params) // -// // Example sending a request using the EnableRuleRequest method. -// req, resp := client.EnableRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/EnableRule func (c *EventBridge) EnableRuleRequest(input *EnableRuleInput) (req *request.Request, output *EnableRuleOutput) { @@ -2530,22 +2529,23 @@ func (c *EventBridge) EnableRuleRequest(input *EnableRuleInput) (req *request.Re // API operation EnableRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/EnableRule func (c *EventBridge) EnableRule(input *EnableRuleInput) (*EnableRuleOutput, error) { @@ -2585,14 +2585,13 @@ const opListApiDestinations = "ListApiDestinations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApiDestinationsRequest method. +// req, resp := client.ListApiDestinationsRequest(params) // -// // Example sending a request using the ListApiDestinationsRequest method. -// req, resp := client.ListApiDestinationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListApiDestinations func (c *EventBridge) ListApiDestinationsRequest(input *ListApiDestinationsInput) (req *request.Request, output *ListApiDestinationsOutput) { @@ -2623,8 +2622,8 @@ func (c *EventBridge) ListApiDestinationsRequest(input *ListApiDestinationsInput // API operation ListApiDestinations for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListApiDestinations func (c *EventBridge) ListApiDestinations(input *ListApiDestinationsInput) (*ListApiDestinationsOutput, error) { @@ -2664,14 +2663,13 @@ const opListArchives = "ListArchives" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListArchivesRequest method. +// req, resp := client.ListArchivesRequest(params) // -// // Example sending a request using the ListArchivesRequest method. -// req, resp := client.ListArchivesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListArchives func (c *EventBridge) ListArchivesRequest(input *ListArchivesInput) (req *request.Request, output *ListArchivesOutput) { @@ -2703,11 +2701,12 @@ func (c *EventBridge) ListArchivesRequest(input *ListArchivesInput) (req *reques // API operation ListArchives for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListArchives func (c *EventBridge) ListArchives(input *ListArchivesInput) (*ListArchivesOutput, error) { @@ -2747,14 +2746,13 @@ const opListConnections = "ListConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConnectionsRequest method. +// req, resp := client.ListConnectionsRequest(params) // -// // Example sending a request using the ListConnectionsRequest method. -// req, resp := client.ListConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListConnections func (c *EventBridge) ListConnectionsRequest(input *ListConnectionsInput) (req *request.Request, output *ListConnectionsOutput) { @@ -2785,8 +2783,8 @@ func (c *EventBridge) ListConnectionsRequest(input *ListConnectionsInput) (req * // API operation ListConnections for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListConnections func (c *EventBridge) ListConnections(input *ListConnectionsInput) (*ListConnectionsOutput, error) { @@ -2826,14 +2824,13 @@ const opListEndpoints = "ListEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEndpointsRequest method. +// req, resp := client.ListEndpointsRequest(params) // -// // Example sending a request using the ListEndpointsRequest method. -// req, resp := client.ListEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListEndpoints func (c *EventBridge) ListEndpointsRequest(input *ListEndpointsInput) (req *request.Request, output *ListEndpointsOutput) { @@ -2867,8 +2864,8 @@ func (c *EventBridge) ListEndpointsRequest(input *ListEndpointsInput) (req *requ // API operation ListEndpoints for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListEndpoints func (c *EventBridge) ListEndpoints(input *ListEndpointsInput) (*ListEndpointsOutput, error) { @@ -2908,14 +2905,13 @@ const opListEventBuses = "ListEventBuses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventBusesRequest method. +// req, resp := client.ListEventBusesRequest(params) // -// // Example sending a request using the ListEventBusesRequest method. -// req, resp := client.ListEventBusesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListEventBuses func (c *EventBridge) ListEventBusesRequest(input *ListEventBusesInput) (req *request.Request, output *ListEventBusesOutput) { @@ -2947,8 +2943,8 @@ func (c *EventBridge) ListEventBusesRequest(input *ListEventBusesInput) (req *re // API operation ListEventBuses for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListEventBuses func (c *EventBridge) ListEventBuses(input *ListEventBusesInput) (*ListEventBusesOutput, error) { @@ -2988,14 +2984,13 @@ const opListEventSources = "ListEventSources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventSourcesRequest method. +// req, resp := client.ListEventSourcesRequest(params) // -// // Example sending a request using the ListEventSourcesRequest method. -// req, resp := client.ListEventSourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListEventSources func (c *EventBridge) ListEventSourcesRequest(input *ListEventSourcesInput) (req *request.Request, output *ListEventSourcesOutput) { @@ -3028,11 +3023,12 @@ func (c *EventBridge) ListEventSourcesRequest(input *ListEventSourcesInput) (req // API operation ListEventSources for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListEventSources func (c *EventBridge) ListEventSources(input *ListEventSourcesInput) (*ListEventSourcesOutput, error) { @@ -3072,14 +3068,13 @@ const opListPartnerEventSourceAccounts = "ListPartnerEventSourceAccounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPartnerEventSourceAccountsRequest method. +// req, resp := client.ListPartnerEventSourceAccountsRequest(params) // -// // Example sending a request using the ListPartnerEventSourceAccountsRequest method. -// req, resp := client.ListPartnerEventSourceAccountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListPartnerEventSourceAccounts func (c *EventBridge) ListPartnerEventSourceAccountsRequest(input *ListPartnerEventSourceAccountsInput) (req *request.Request, output *ListPartnerEventSourceAccountsOutput) { @@ -3112,14 +3107,15 @@ func (c *EventBridge) ListPartnerEventSourceAccountsRequest(input *ListPartnerEv // API operation ListPartnerEventSourceAccounts for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListPartnerEventSourceAccounts func (c *EventBridge) ListPartnerEventSourceAccounts(input *ListPartnerEventSourceAccountsInput) (*ListPartnerEventSourceAccountsOutput, error) { @@ -3159,14 +3155,13 @@ const opListPartnerEventSources = "ListPartnerEventSources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPartnerEventSourcesRequest method. +// req, resp := client.ListPartnerEventSourcesRequest(params) // -// // Example sending a request using the ListPartnerEventSourcesRequest method. -// req, resp := client.ListPartnerEventSourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListPartnerEventSources func (c *EventBridge) ListPartnerEventSourcesRequest(input *ListPartnerEventSourcesInput) (req *request.Request, output *ListPartnerEventSourcesOutput) { @@ -3199,11 +3194,12 @@ func (c *EventBridge) ListPartnerEventSourcesRequest(input *ListPartnerEventSour // API operation ListPartnerEventSources for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListPartnerEventSources func (c *EventBridge) ListPartnerEventSources(input *ListPartnerEventSourcesInput) (*ListPartnerEventSourcesOutput, error) { @@ -3243,14 +3239,13 @@ const opListReplays = "ListReplays" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReplaysRequest method. +// req, resp := client.ListReplaysRequest(params) // -// // Example sending a request using the ListReplaysRequest method. -// req, resp := client.ListReplaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListReplays func (c *EventBridge) ListReplaysRequest(input *ListReplaysInput) (req *request.Request, output *ListReplaysOutput) { @@ -3282,8 +3277,8 @@ func (c *EventBridge) ListReplaysRequest(input *ListReplaysInput) (req *request. // API operation ListReplays for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListReplays func (c *EventBridge) ListReplays(input *ListReplaysInput) (*ListReplaysOutput, error) { @@ -3323,14 +3318,13 @@ const opListRuleNamesByTarget = "ListRuleNamesByTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRuleNamesByTargetRequest method. +// req, resp := client.ListRuleNamesByTargetRequest(params) // -// // Example sending a request using the ListRuleNamesByTargetRequest method. -// req, resp := client.ListRuleNamesByTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListRuleNamesByTarget func (c *EventBridge) ListRuleNamesByTargetRequest(input *ListRuleNamesByTargetInput) (req *request.Request, output *ListRuleNamesByTargetOutput) { @@ -3362,11 +3356,12 @@ func (c *EventBridge) ListRuleNamesByTargetRequest(input *ListRuleNamesByTargetI // API operation ListRuleNamesByTarget for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListRuleNamesByTarget func (c *EventBridge) ListRuleNamesByTarget(input *ListRuleNamesByTargetInput) (*ListRuleNamesByTargetOutput, error) { @@ -3406,14 +3401,13 @@ const opListRules = "ListRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRulesRequest method. +// req, resp := client.ListRulesRequest(params) // -// // Example sending a request using the ListRulesRequest method. -// req, resp := client.ListRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListRules func (c *EventBridge) ListRulesRequest(input *ListRulesInput) (req *request.Request, output *ListRulesOutput) { @@ -3448,11 +3442,12 @@ func (c *EventBridge) ListRulesRequest(input *ListRulesInput) (req *request.Requ // API operation ListRules for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListRules func (c *EventBridge) ListRules(input *ListRulesInput) (*ListRulesOutput, error) { @@ -3492,14 +3487,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListTagsForResource func (c *EventBridge) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -3531,11 +3525,12 @@ func (c *EventBridge) ListTagsForResourceRequest(input *ListTagsForResourceInput // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListTagsForResource func (c *EventBridge) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3575,14 +3570,13 @@ const opListTargetsByRule = "ListTargetsByRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTargetsByRuleRequest method. +// req, resp := client.ListTargetsByRuleRequest(params) // -// // Example sending a request using the ListTargetsByRuleRequest method. -// req, resp := client.ListTargetsByRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListTargetsByRule func (c *EventBridge) ListTargetsByRuleRequest(input *ListTargetsByRuleInput) (req *request.Request, output *ListTargetsByRuleOutput) { @@ -3613,11 +3607,12 @@ func (c *EventBridge) ListTargetsByRuleRequest(input *ListTargetsByRuleInput) (r // API operation ListTargetsByRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListTargetsByRule func (c *EventBridge) ListTargetsByRule(input *ListTargetsByRuleInput) (*ListTargetsByRuleOutput, error) { @@ -3657,14 +3652,13 @@ const opPutEvents = "PutEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEventsRequest method. +// req, resp := client.PutEventsRequest(params) // -// // Example sending a request using the PutEventsRequest method. -// req, resp := client.PutEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutEvents func (c *EventBridge) PutEventsRequest(input *PutEventsInput) (req *request.Request, output *PutEventsOutput) { @@ -3700,8 +3694,8 @@ func (c *EventBridge) PutEventsRequest(input *PutEventsInput) (req *request.Requ // API operation PutEvents for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutEvents func (c *EventBridge) PutEvents(input *PutEventsInput) (*PutEventsOutput, error) { @@ -3741,14 +3735,13 @@ const opPutPartnerEvents = "PutPartnerEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPartnerEventsRequest method. +// req, resp := client.PutPartnerEventsRequest(params) // -// // Example sending a request using the PutPartnerEventsRequest method. -// req, resp := client.PutPartnerEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutPartnerEvents func (c *EventBridge) PutPartnerEventsRequest(input *PutPartnerEventsInput) (req *request.Request, output *PutPartnerEventsOutput) { @@ -3780,11 +3773,12 @@ func (c *EventBridge) PutPartnerEventsRequest(input *PutPartnerEventsInput) (req // API operation PutPartnerEvents for usage and error information. // // Returned Error Types: -// * InternalException -// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutPartnerEvents func (c *EventBridge) PutPartnerEvents(input *PutPartnerEventsInput) (*PutPartnerEventsOutput, error) { @@ -3824,14 +3818,13 @@ const opPutPermission = "PutPermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPermissionRequest method. +// req, resp := client.PutPermissionRequest(params) // -// // Example sending a request using the PutPermissionRequest method. -// req, resp := client.PutPermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutPermission func (c *EventBridge) PutPermissionRequest(input *PutPermissionInput) (req *request.Request, output *PutPermissionOutput) { @@ -3883,20 +3876,21 @@ func (c *EventBridge) PutPermissionRequest(input *PutPermissionInput) (req *requ // API operation PutPermission for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * PolicyLengthExceededException -// The event bus policy is too long. For more information, see the limits. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - PolicyLengthExceededException +// The event bus policy is too long. For more information, see the limits. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutPermission func (c *EventBridge) PutPermission(input *PutPermissionInput) (*PutPermissionOutput, error) { @@ -3936,14 +3930,13 @@ const opPutRule = "PutRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRuleRequest method. +// req, resp := client.PutRuleRequest(params) // -// // Example sending a request using the PutRuleRequest method. -// req, resp := client.PutRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutRule func (c *EventBridge) PutRuleRequest(input *PutRuleInput) (req *request.Request, output *PutRuleOutput) { @@ -4029,29 +4022,30 @@ func (c *EventBridge) PutRuleRequest(input *PutRuleInput) (req *request.Request, // API operation PutRule for usage and error information. // // Returned Error Types: -// * InvalidEventPatternException -// The event pattern is not valid. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - InvalidEventPatternException +// The event pattern is not valid. +// +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ResourceNotFoundException +// An entity that you specified does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutRule func (c *EventBridge) PutRule(input *PutRuleInput) (*PutRuleOutput, error) { @@ -4091,14 +4085,13 @@ const opPutTargets = "PutTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutTargetsRequest method. +// req, resp := client.PutTargetsRequest(params) // -// // Example sending a request using the PutTargetsRequest method. -// req, resp := client.PutTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutTargets func (c *EventBridge) PutTargetsRequest(input *PutTargetsInput) (req *request.Request, output *PutTargetsOutput) { @@ -4128,61 +4121,61 @@ func (c *EventBridge) PutTargetsRequest(input *PutTargetsInput) (req *request.Re // // You can configure the following as targets for Events: // -// * API destination (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html) +// - API destination (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-destinations.html) // -// * API Gateway (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-gateway-target.html) +// - API Gateway (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-api-gateway-target.html) // -// * Batch job queue +// - Batch job queue // -// * CloudWatch group +// - CloudWatch group // -// * CodeBuild project +// - CodeBuild project // -// * CodePipeline +// - CodePipeline // -// * EC2 CreateSnapshot API call +// - EC2 CreateSnapshot API call // -// * EC2 Image Builder +// - EC2 Image Builder // -// * EC2 RebootInstances API call +// - EC2 RebootInstances API call // -// * EC2 StopInstances API call +// - EC2 StopInstances API call // -// * EC2 TerminateInstances API call +// - EC2 TerminateInstances API call // -// * ECS task +// - ECS task // -// * Event bus in a different account or Region (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cross-account.html) +// - Event bus in a different account or Region (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cross-account.html) // -// * Event bus in the same account and Region (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-bus-to-bus.html) +// - Event bus in the same account and Region (https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-bus-to-bus.html) // -// * Firehose delivery stream +// - Firehose delivery stream // -// * Glue workflow +// - Glue workflow // -// * Incident Manager response plan (https://docs.aws.amazon.com/incident-manager/latest/userguide/incident-creation.html#incident-tracking-auto-eventbridge) +// - Incident Manager response plan (https://docs.aws.amazon.com/incident-manager/latest/userguide/incident-creation.html#incident-tracking-auto-eventbridge) // -// * Inspector assessment template +// - Inspector assessment template // -// * Kinesis stream +// - Kinesis stream // -// * Lambda function +// - Lambda function // -// * Redshift cluster +// - Redshift cluster // -// * SageMaker Pipeline +// - SageMaker Pipeline // -// * SNS topic +// - SNS topic // -// * SQS queue +// - SQS queue // -// * Step Functions state machine +// - Step Functions state machine // -// * Systems Manager Automation +// - Systems Manager Automation // -// * Systems Manager OpsItem +// - Systems Manager OpsItem // -// * Systems Manager Run Command +// - Systems Manager Run Command // // Creating rules with built-in targets is supported only in the Amazon Web // Services Management Console. The built-in targets are EC2 CreateSnapshot @@ -4229,21 +4222,21 @@ func (c *EventBridge) PutTargetsRequest(input *PutTargetsInput) (req *request.Re // Input, InputPath, and InputTransformer are mutually exclusive and optional // parameters of a target. When a rule is triggered due to a matched event: // -// * If none of the following arguments are specified for a target, then -// the entire event is passed to the target in JSON format (unless the target -// is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from -// the event is passed to the target). +// - If none of the following arguments are specified for a target, then +// the entire event is passed to the target in JSON format (unless the target +// is Amazon EC2 Run Command or Amazon ECS task, in which case nothing from +// the event is passed to the target). // -// * If Input is specified in the form of valid JSON, then the matched event -// is overridden with this constant. +// - If Input is specified in the form of valid JSON, then the matched event +// is overridden with this constant. // -// * If InputPath is specified in the form of JSONPath (for example, $.detail), -// then only the part of the event specified in the path is passed to the -// target (for example, only the detail part of the event is passed). +// - If InputPath is specified in the form of JSONPath (for example, $.detail), +// then only the part of the event specified in the path is passed to the +// target (for example, only the detail part of the event is passed). // -// * If InputTransformer is specified, then one or more specified JSONPaths -// are extracted from the event and used as values in a template that you -// specify as the input to the target. +// - If InputTransformer is specified, then one or more specified JSONPaths +// are extracted from the event and used as values in a template that you +// specify as the input to the target. // // When you specify InputPath or InputTransformer, you must use JSON dot notation, // not bracket notation. @@ -4265,26 +4258,27 @@ func (c *EventBridge) PutTargetsRequest(input *PutTargetsInput) (req *request.Re // API operation PutTargets for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/PutTargets func (c *EventBridge) PutTargets(input *PutTargetsInput) (*PutTargetsOutput, error) { @@ -4324,14 +4318,13 @@ const opRemovePermission = "RemovePermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemovePermissionRequest method. +// req, resp := client.RemovePermissionRequest(params) // -// // Example sending a request using the RemovePermissionRequest method. -// req, resp := client.RemovePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/RemovePermission func (c *EventBridge) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput) { @@ -4367,17 +4360,18 @@ func (c *EventBridge) RemovePermissionRequest(input *RemovePermissionInput) (req // API operation RemovePermission for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - InternalException +// This exception occurs due to unexpected causes. // -// * OperationDisabledException -// The operation you are attempting is not available in this region. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. +// +// - OperationDisabledException +// The operation you are attempting is not available in this region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/RemovePermission func (c *EventBridge) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error) { @@ -4417,14 +4411,13 @@ const opRemoveTargets = "RemoveTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTargetsRequest method. +// req, resp := client.RemoveTargetsRequest(params) // -// // Example sending a request using the RemoveTargetsRequest method. -// req, resp := client.RemoveTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/RemoveTargets func (c *EventBridge) RemoveTargetsRequest(input *RemoveTargetsInput) (req *request.Request, output *RemoveTargetsOutput) { @@ -4469,22 +4462,23 @@ func (c *EventBridge) RemoveTargetsRequest(input *RemoveTargetsInput) (req *requ // API operation RemoveTargets for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/RemoveTargets func (c *EventBridge) RemoveTargets(input *RemoveTargetsInput) (*RemoveTargetsOutput, error) { @@ -4524,14 +4518,13 @@ const opStartReplay = "StartReplay" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartReplayRequest method. +// req, resp := client.StartReplayRequest(params) // -// // Example sending a request using the StartReplayRequest method. -// req, resp := client.StartReplayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/StartReplay func (c *EventBridge) StartReplayRequest(input *StartReplayInput) (req *request.Request, output *StartReplayOutput) { @@ -4570,21 +4563,22 @@ func (c *EventBridge) StartReplayRequest(input *StartReplayInput) (req *request. // API operation StartReplay for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ResourceAlreadyExistsException -// The resource you are trying to create already exists. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - ResourceAlreadyExistsException +// The resource you are trying to create already exists. // -// * InvalidEventPatternException -// The event pattern is not valid. +// - InvalidEventPatternException +// The event pattern is not valid. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/StartReplay func (c *EventBridge) StartReplay(input *StartReplayInput) (*StartReplayOutput, error) { @@ -4624,14 +4618,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/TagResource func (c *EventBridge) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -4678,22 +4671,23 @@ func (c *EventBridge) TagResourceRequest(input *TagResourceInput) (req *request. // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/TagResource func (c *EventBridge) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4733,14 +4727,13 @@ const opTestEventPattern = "TestEventPattern" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestEventPatternRequest method. +// req, resp := client.TestEventPatternRequest(params) // -// // Example sending a request using the TestEventPatternRequest method. -// req, resp := client.TestEventPatternRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/TestEventPattern func (c *EventBridge) TestEventPatternRequest(input *TestEventPatternInput) (req *request.Request, output *TestEventPatternOutput) { @@ -4777,11 +4770,12 @@ func (c *EventBridge) TestEventPatternRequest(input *TestEventPatternInput) (req // API operation TestEventPattern for usage and error information. // // Returned Error Types: -// * InvalidEventPatternException -// The event pattern is not valid. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InvalidEventPatternException +// The event pattern is not valid. +// +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/TestEventPattern func (c *EventBridge) TestEventPattern(input *TestEventPatternInput) (*TestEventPatternOutput, error) { @@ -4821,14 +4815,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UntagResource func (c *EventBridge) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4861,22 +4854,23 @@ func (c *EventBridge) UntagResourceRequest(input *UntagResourceInput) (req *requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - InternalException +// This exception occurs due to unexpected causes. // -// * ManagedRuleException -// This rule was created by an Amazon Web Services service on behalf of your -// account. It is managed by that service. If you see this error in response -// to DeleteRule or RemoveTargets, you can use the Force parameter in those -// calls to delete the rule or remove targets from the rule. You cannot modify -// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, -// TagResource, or UntagResource. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. +// +// - ManagedRuleException +// This rule was created by an Amazon Web Services service on behalf of your +// account. It is managed by that service. If you see this error in response +// to DeleteRule or RemoveTargets, you can use the Force parameter in those +// calls to delete the rule or remove targets from the rule. You cannot modify +// these managed rules by using DisableRule, EnableRule, PutTargets, PutRule, +// TagResource, or UntagResource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UntagResource func (c *EventBridge) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -4916,14 +4910,13 @@ const opUpdateApiDestination = "UpdateApiDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApiDestinationRequest method. +// req, resp := client.UpdateApiDestinationRequest(params) // -// // Example sending a request using the UpdateApiDestinationRequest method. -// req, resp := client.UpdateApiDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateApiDestination func (c *EventBridge) UpdateApiDestinationRequest(input *UpdateApiDestinationInput) (req *request.Request, output *UpdateApiDestinationOutput) { @@ -4954,18 +4947,19 @@ func (c *EventBridge) UpdateApiDestinationRequest(input *UpdateApiDestinationInp // API operation UpdateApiDestination for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateApiDestination func (c *EventBridge) UpdateApiDestination(input *UpdateApiDestinationInput) (*UpdateApiDestinationOutput, error) { @@ -5005,14 +4999,13 @@ const opUpdateArchive = "UpdateArchive" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateArchiveRequest method. +// req, resp := client.UpdateArchiveRequest(params) // -// // Example sending a request using the UpdateArchiveRequest method. -// req, resp := client.UpdateArchiveRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateArchive func (c *EventBridge) UpdateArchiveRequest(input *UpdateArchiveInput) (req *request.Request, output *UpdateArchiveOutput) { @@ -5043,21 +5036,22 @@ func (c *EventBridge) UpdateArchiveRequest(input *UpdateArchiveInput) (req *requ // API operation UpdateArchive for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. +// +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // -// * InvalidEventPatternException -// The event pattern is not valid. +// - InvalidEventPatternException +// The event pattern is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateArchive func (c *EventBridge) UpdateArchive(input *UpdateArchiveInput) (*UpdateArchiveOutput, error) { @@ -5097,14 +5091,13 @@ const opUpdateConnection = "UpdateConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConnectionRequest method. +// req, resp := client.UpdateConnectionRequest(params) // -// // Example sending a request using the UpdateConnectionRequest method. -// req, resp := client.UpdateConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateConnection func (c *EventBridge) UpdateConnectionRequest(input *UpdateConnectionInput) (req *request.Request, output *UpdateConnectionOutput) { @@ -5135,18 +5128,19 @@ func (c *EventBridge) UpdateConnectionRequest(input *UpdateConnectionInput) (req // API operation UpdateConnection for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. // -// * ResourceNotFoundException -// An entity that you specified does not exist. +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InternalException -// This exception occurs due to unexpected causes. +// - ResourceNotFoundException +// An entity that you specified does not exist. // -// * LimitExceededException -// The request failed because it attempted to create resource beyond the allowed -// service quota. +// - InternalException +// This exception occurs due to unexpected causes. +// +// - LimitExceededException +// The request failed because it attempted to create resource beyond the allowed +// service quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateConnection func (c *EventBridge) UpdateConnection(input *UpdateConnectionInput) (*UpdateConnectionOutput, error) { @@ -5186,14 +5180,13 @@ const opUpdateEndpoint = "UpdateEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEndpointRequest method. +// req, resp := client.UpdateEndpointRequest(params) // -// // Example sending a request using the UpdateEndpointRequest method. -// req, resp := client.UpdateEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateEndpoint func (c *EventBridge) UpdateEndpointRequest(input *UpdateEndpointInput) (req *request.Request, output *UpdateEndpointOutput) { @@ -5227,14 +5220,15 @@ func (c *EventBridge) UpdateEndpointRequest(input *UpdateEndpointInput) (req *re // API operation UpdateEndpoint for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An entity that you specified does not exist. // -// * ConcurrentModificationException -// There is concurrent modification on a rule, target, archive, or replay. +// - ResourceNotFoundException +// An entity that you specified does not exist. +// +// - ConcurrentModificationException +// There is concurrent modification on a rule, target, archive, or replay. // -// * InternalException -// This exception occurs due to unexpected causes. +// - InternalException +// This exception occurs due to unexpected causes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/UpdateEndpoint func (c *EventBridge) UpdateEndpoint(input *UpdateEndpointInput) (*UpdateEndpointOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/doc.go index 5396d5f2ae78..1f238af3220d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/doc.go @@ -10,14 +10,14 @@ // use rules to take action on a predetermined schedule. For example, you can // configure rules to: // -// * Automatically invoke an Lambda function to update DNS entries when an -// event notifies you that Amazon EC2 instance enters the running state. +// - Automatically invoke an Lambda function to update DNS entries when an +// event notifies you that Amazon EC2 instance enters the running state. // -// * Direct specific API records from CloudTrail to an Amazon Kinesis data -// stream for detailed analysis of potential security or availability risks. +// - Direct specific API records from CloudTrail to an Amazon Kinesis data +// stream for detailed analysis of potential security or availability risks. // -// * Periodically invoke a built-in target to create a snapshot of an Amazon -// EBS volume. +// - Periodically invoke a built-in target to create a snapshot of an Amazon +// EBS volume. // // For more information about the features of Amazon EventBridge, see the Amazon // EventBridge User Guide (https://docs.aws.amazon.com/eventbridge/latest/userguide). @@ -27,7 +27,7 @@ // See eventbridge package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/eventbridge/ // -// Using the Client +// # Using the Client // // To contact Amazon EventBridge with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/eventbridgeiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/eventbridgeiface/interface.go index c55cd890c080..ed85c4c0ac9e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/eventbridgeiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/eventbridgeiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon EventBridge. -// func myFunc(svc eventbridgeiface.EventBridgeAPI) bool { -// // Make svc.ActivateEventSource request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon EventBridge. +// func myFunc(svc eventbridgeiface.EventBridgeAPI) bool { +// // Make svc.ActivateEventSource request +// } // -// func main() { -// sess := session.New() -// svc := eventbridge.New(sess) +// func main() { +// sess := session.New() +// svc := eventbridge.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockEventBridgeClient struct { -// eventbridgeiface.EventBridgeAPI -// } -// func (m *mockEventBridgeClient) ActivateEventSource(input *eventbridge.ActivateEventSourceInput) (*eventbridge.ActivateEventSourceOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockEventBridgeClient struct { +// eventbridgeiface.EventBridgeAPI +// } +// func (m *mockEventBridgeClient) ActivateEventSource(input *eventbridge.ActivateEventSourceInput) (*eventbridge.ActivateEventSourceOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockEventBridgeClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockEventBridgeClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/service.go index 1d1dd24138b6..5208690036eb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/eventbridge/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a EventBridge client from just a session. -// svc := eventbridge.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a EventBridge client with additional configuration -// svc := eventbridge.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a EventBridge client from just a session. +// svc := eventbridge.New(mySession) +// +// // Create a EventBridge client with additional configuration +// svc := eventbridge.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *EventBridge { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/api.go index 121621740d53..8f88c4049e32 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/api.go @@ -28,14 +28,13 @@ const opCreateEnvironment = "CreateEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEnvironmentRequest method. +// req, resp := client.CreateEnvironmentRequest(params) // -// // Example sending a request using the CreateEnvironmentRequest method. -// req, resp := client.CreateEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/CreateEnvironment func (c *Finspace) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req *request.Request, output *CreateEnvironmentOutput) { @@ -66,26 +65,27 @@ func (c *Finspace) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req // API operation CreateEnvironment for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ServiceQuotaExceededException -// You have exceeded your service quota. To perform the requested action, remove -// some of the relevant resources, or use Service Quotas to request a service -// quota increase. +// - ServiceQuotaExceededException +// You have exceeded your service quota. To perform the requested action, remove +// some of the relevant resources, or use Service Quotas to request a service +// quota increase. // -// * LimitExceededException -// A service limit or quota is exceeded. +// - LimitExceededException +// A service limit or quota is exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/CreateEnvironment func (c *Finspace) CreateEnvironment(input *CreateEnvironmentInput) (*CreateEnvironmentOutput, error) { @@ -125,14 +125,13 @@ const opDeleteEnvironment = "DeleteEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEnvironmentRequest method. +// req, resp := client.DeleteEnvironmentRequest(params) // -// // Example sending a request using the DeleteEnvironmentRequest method. -// req, resp := client.DeleteEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteEnvironment func (c *Finspace) DeleteEnvironmentRequest(input *DeleteEnvironmentInput) (req *request.Request, output *DeleteEnvironmentOutput) { @@ -164,21 +163,22 @@ func (c *Finspace) DeleteEnvironmentRequest(input *DeleteEnvironmentInput) (req // API operation DeleteEnvironment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/DeleteEnvironment func (c *Finspace) DeleteEnvironment(input *DeleteEnvironmentInput) (*DeleteEnvironmentOutput, error) { @@ -218,14 +218,13 @@ const opGetEnvironment = "GetEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEnvironmentRequest method. +// req, resp := client.GetEnvironmentRequest(params) // -// // Example sending a request using the GetEnvironmentRequest method. -// req, resp := client.GetEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/GetEnvironment func (c *Finspace) GetEnvironmentRequest(input *GetEnvironmentInput) (req *request.Request, output *GetEnvironmentOutput) { @@ -256,18 +255,19 @@ func (c *Finspace) GetEnvironmentRequest(input *GetEnvironmentInput) (req *reque // API operation GetEnvironment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/GetEnvironment func (c *Finspace) GetEnvironment(input *GetEnvironmentInput) (*GetEnvironmentOutput, error) { @@ -307,14 +307,13 @@ const opListEnvironments = "ListEnvironments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEnvironmentsRequest method. +// req, resp := client.ListEnvironmentsRequest(params) // -// // Example sending a request using the ListEnvironmentsRequest method. -// req, resp := client.ListEnvironmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListEnvironments func (c *Finspace) ListEnvironmentsRequest(input *ListEnvironmentsInput) (req *request.Request, output *ListEnvironmentsOutput) { @@ -345,12 +344,13 @@ func (c *Finspace) ListEnvironmentsRequest(input *ListEnvironmentsInput) (req *r // API operation ListEnvironments for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListEnvironments func (c *Finspace) ListEnvironments(input *ListEnvironmentsInput) (*ListEnvironmentsOutput, error) { @@ -390,14 +390,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListTagsForResource func (c *Finspace) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -428,15 +427,16 @@ func (c *Finspace) ListTagsForResourceRequest(input *ListTagsForResourceInput) ( // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * InvalidRequestException -// The request is invalid. Something is wrong with the input to the request. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - InvalidRequestException +// The request is invalid. Something is wrong with the input to the request. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/ListTagsForResource func (c *Finspace) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -476,14 +476,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/TagResource func (c *Finspace) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -515,15 +514,16 @@ func (c *Finspace) TagResourceRequest(input *TagResourceInput) (req *request.Req // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * InvalidRequestException -// The request is invalid. Something is wrong with the input to the request. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - InvalidRequestException +// The request is invalid. Something is wrong with the input to the request. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/TagResource func (c *Finspace) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -563,14 +563,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/UntagResource func (c *Finspace) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -602,15 +601,16 @@ func (c *Finspace) UntagResourceRequest(input *UntagResourceInput) (req *request // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * InvalidRequestException -// The request is invalid. Something is wrong with the input to the request. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - InvalidRequestException +// The request is invalid. Something is wrong with the input to the request. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/UntagResource func (c *Finspace) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -650,14 +650,13 @@ const opUpdateEnvironment = "UpdateEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEnvironmentRequest method. +// req, resp := client.UpdateEnvironmentRequest(params) // -// // Example sending a request using the UpdateEnvironmentRequest method. -// req, resp := client.UpdateEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/UpdateEnvironment func (c *Finspace) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *request.Request, output *UpdateEnvironmentOutput) { @@ -688,21 +687,22 @@ func (c *Finspace) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req // API operation UpdateEnvironment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2021-03-12/UpdateEnvironment func (c *Finspace) UpdateEnvironment(input *UpdateEnvironmentInput) (*UpdateEnvironmentOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/doc.go index d642869c85ba..f469623b9cee 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/doc.go @@ -10,7 +10,7 @@ // See finspace package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/finspace/ // -// Using the Client +// # Using the Client // // To contact FinSpace User Environment Management service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/finspaceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/finspaceiface/interface.go index 3c3675160c8e..1eafe2137427 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/finspaceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/finspaceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // FinSpace User Environment Management service. -// func myFunc(svc finspaceiface.FinspaceAPI) bool { -// // Make svc.CreateEnvironment request -// } +// // myFunc uses an SDK service client to make a request to +// // FinSpace User Environment Management service. +// func myFunc(svc finspaceiface.FinspaceAPI) bool { +// // Make svc.CreateEnvironment request +// } // -// func main() { -// sess := session.New() -// svc := finspace.New(sess) +// func main() { +// sess := session.New() +// svc := finspace.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockFinspaceClient struct { -// finspaceiface.FinspaceAPI -// } -// func (m *mockFinspaceClient) CreateEnvironment(input *finspace.CreateEnvironmentInput) (*finspace.CreateEnvironmentOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockFinspaceClient struct { +// finspaceiface.FinspaceAPI +// } +// func (m *mockFinspaceClient) CreateEnvironment(input *finspace.CreateEnvironmentInput) (*finspace.CreateEnvironmentOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockFinspaceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockFinspaceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/service.go index 60f7dde42253..c1c6a95c1e7f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspace/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Finspace client from just a session. -// svc := finspace.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Finspace client with additional configuration -// svc := finspace.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Finspace client from just a session. +// svc := finspace.New(mySession) +// +// // Create a Finspace client with additional configuration +// svc := finspace.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Finspace { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/api.go index 6b8c409a5fb5..596e133a29d7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/api.go @@ -27,14 +27,13 @@ const opCreateChangeset = "CreateChangeset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChangesetRequest method. +// req, resp := client.CreateChangesetRequest(params) // -// // Example sending a request using the CreateChangesetRequest method. -// req, resp := client.CreateChangesetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateChangeset func (c *FinSpaceData) CreateChangesetRequest(input *CreateChangesetInput) (req *request.Request, output *CreateChangesetOutput) { @@ -65,27 +64,28 @@ func (c *FinSpaceData) CreateChangesetRequest(input *CreateChangesetInput) (req // API operation CreateChangeset for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * LimitExceededException -// A limit has exceeded. +// - LimitExceededException +// A limit has exceeded. // -// * ConflictException -// The request conflicts with an existing resource. +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateChangeset func (c *FinSpaceData) CreateChangeset(input *CreateChangesetInput) (*CreateChangesetOutput, error) { @@ -125,14 +125,13 @@ const opCreateDataView = "CreateDataView" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataViewRequest method. +// req, resp := client.CreateDataViewRequest(params) // -// // Example sending a request using the CreateDataViewRequest method. -// req, resp := client.CreateDataViewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateDataView func (c *FinSpaceData) CreateDataViewRequest(input *CreateDataViewInput) (req *request.Request, output *CreateDataViewOutput) { @@ -163,24 +162,25 @@ func (c *FinSpaceData) CreateDataViewRequest(input *CreateDataViewInput) (req *r // API operation CreateDataView for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * LimitExceededException -// A limit has exceeded. +// - LimitExceededException +// A limit has exceeded. // -// * ConflictException -// The request conflicts with an existing resource. +// - ConflictException +// The request conflicts with an existing resource. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateDataView func (c *FinSpaceData) CreateDataView(input *CreateDataViewInput) (*CreateDataViewOutput, error) { @@ -220,14 +220,13 @@ const opCreateDataset = "CreateDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatasetRequest method. +// req, resp := client.CreateDatasetRequest(params) // -// // Example sending a request using the CreateDatasetRequest method. -// req, resp := client.CreateDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateDataset func (c *FinSpaceData) CreateDatasetRequest(input *CreateDatasetInput) (req *request.Request, output *CreateDatasetOutput) { @@ -258,27 +257,28 @@ func (c *FinSpaceData) CreateDatasetRequest(input *CreateDatasetInput) (req *req // API operation CreateDataset for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * LimitExceededException -// A limit has exceeded. +// - LimitExceededException +// A limit has exceeded. // -// * ConflictException -// The request conflicts with an existing resource. +// - ConflictException +// The request conflicts with an existing resource. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateDataset func (c *FinSpaceData) CreateDataset(input *CreateDatasetInput) (*CreateDatasetOutput, error) { @@ -318,14 +318,13 @@ const opCreatePermissionGroup = "CreatePermissionGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePermissionGroupRequest method. +// req, resp := client.CreatePermissionGroupRequest(params) // -// // Example sending a request using the CreatePermissionGroupRequest method. -// req, resp := client.CreatePermissionGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreatePermissionGroup func (c *FinSpaceData) CreatePermissionGroupRequest(input *CreatePermissionGroupInput) (req *request.Request, output *CreatePermissionGroupOutput) { @@ -357,24 +356,25 @@ func (c *FinSpaceData) CreatePermissionGroupRequest(input *CreatePermissionGroup // API operation CreatePermissionGroup for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. // -// * LimitExceededException -// A limit has exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// The request conflicts with an existing resource. +// - LimitExceededException +// A limit has exceeded. +// +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreatePermissionGroup func (c *FinSpaceData) CreatePermissionGroup(input *CreatePermissionGroupInput) (*CreatePermissionGroupOutput, error) { @@ -414,14 +414,13 @@ const opCreateUser = "CreateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserRequest method. +// req, resp := client.CreateUserRequest(params) // -// // Example sending a request using the CreateUserRequest method. -// req, resp := client.CreateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateUser func (c *FinSpaceData) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) { @@ -452,24 +451,25 @@ func (c *FinSpaceData) CreateUserRequest(input *CreateUserInput) (req *request.R // API operation CreateUser for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. // -// * LimitExceededException -// A limit has exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// The request conflicts with an existing resource. +// - LimitExceededException +// A limit has exceeded. +// +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/CreateUser func (c *FinSpaceData) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) { @@ -509,14 +509,13 @@ const opDeleteDataset = "DeleteDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatasetRequest method. +// req, resp := client.DeleteDatasetRequest(params) // -// // Example sending a request using the DeleteDatasetRequest method. -// req, resp := client.DeleteDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DeleteDataset func (c *FinSpaceData) DeleteDatasetRequest(input *DeleteDatasetInput) (req *request.Request, output *DeleteDatasetOutput) { @@ -547,27 +546,28 @@ func (c *FinSpaceData) DeleteDatasetRequest(input *DeleteDatasetInput) (req *req // API operation DeleteDataset for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * LimitExceededException -// A limit has exceeded. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ConflictException -// The request conflicts with an existing resource. +// - LimitExceededException +// A limit has exceeded. +// +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DeleteDataset func (c *FinSpaceData) DeleteDataset(input *DeleteDatasetInput) (*DeleteDatasetOutput, error) { @@ -607,14 +607,13 @@ const opDeletePermissionGroup = "DeletePermissionGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePermissionGroupRequest method. +// req, resp := client.DeletePermissionGroupRequest(params) // -// // Example sending a request using the DeletePermissionGroupRequest method. -// req, resp := client.DeletePermissionGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DeletePermissionGroup func (c *FinSpaceData) DeletePermissionGroupRequest(input *DeletePermissionGroupInput) (req *request.Request, output *DeletePermissionGroupOutput) { @@ -645,27 +644,28 @@ func (c *FinSpaceData) DeletePermissionGroupRequest(input *DeletePermissionGroup // API operation DeletePermissionGroup for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * LimitExceededException -// A limit has exceeded. +// - LimitExceededException +// A limit has exceeded. // -// * ConflictException -// The request conflicts with an existing resource. +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DeletePermissionGroup func (c *FinSpaceData) DeletePermissionGroup(input *DeletePermissionGroupInput) (*DeletePermissionGroupOutput, error) { @@ -705,14 +705,13 @@ const opDisableUser = "DisableUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableUserRequest method. +// req, resp := client.DisableUserRequest(params) // -// // Example sending a request using the DisableUserRequest method. -// req, resp := client.DisableUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DisableUser func (c *FinSpaceData) DisableUserRequest(input *DisableUserInput) (req *request.Request, output *DisableUserOutput) { @@ -743,24 +742,25 @@ func (c *FinSpaceData) DisableUserRequest(input *DisableUserInput) (req *request // API operation DisableUser for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ConflictException -// The request conflicts with an existing resource. +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/DisableUser func (c *FinSpaceData) DisableUser(input *DisableUserInput) (*DisableUserOutput, error) { @@ -800,14 +800,13 @@ const opEnableUser = "EnableUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableUserRequest method. +// req, resp := client.EnableUserRequest(params) // -// // Example sending a request using the EnableUserRequest method. -// req, resp := client.EnableUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/EnableUser func (c *FinSpaceData) EnableUserRequest(input *EnableUserInput) (req *request.Request, output *EnableUserOutput) { @@ -838,27 +837,28 @@ func (c *FinSpaceData) EnableUserRequest(input *EnableUserInput) (req *request.R // API operation EnableUser for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * LimitExceededException -// A limit has exceeded. +// - LimitExceededException +// A limit has exceeded. // -// * ConflictException -// The request conflicts with an existing resource. +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/EnableUser func (c *FinSpaceData) EnableUser(input *EnableUserInput) (*EnableUserOutput, error) { @@ -898,14 +898,13 @@ const opGetChangeset = "GetChangeset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetChangesetRequest method. +// req, resp := client.GetChangesetRequest(params) // -// // Example sending a request using the GetChangesetRequest method. -// req, resp := client.GetChangesetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetChangeset func (c *FinSpaceData) GetChangesetRequest(input *GetChangesetInput) (req *request.Request, output *GetChangesetOutput) { @@ -936,24 +935,25 @@ func (c *FinSpaceData) GetChangesetRequest(input *GetChangesetInput) (req *reque // API operation GetChangeset for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// The request conflicts with an existing resource. +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetChangeset func (c *FinSpaceData) GetChangeset(input *GetChangesetInput) (*GetChangesetOutput, error) { @@ -993,14 +993,13 @@ const opGetDataView = "GetDataView" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDataViewRequest method. +// req, resp := client.GetDataViewRequest(params) // -// // Example sending a request using the GetDataViewRequest method. -// req, resp := client.GetDataViewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetDataView func (c *FinSpaceData) GetDataViewRequest(input *GetDataViewInput) (req *request.Request, output *GetDataViewOutput) { @@ -1031,21 +1030,22 @@ func (c *FinSpaceData) GetDataViewRequest(input *GetDataViewInput) (req *request // API operation GetDataView for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request conflicts with an existing resource. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. +// +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetDataView func (c *FinSpaceData) GetDataView(input *GetDataViewInput) (*GetDataViewOutput, error) { @@ -1085,14 +1085,13 @@ const opGetDataset = "GetDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDatasetRequest method. +// req, resp := client.GetDatasetRequest(params) // -// // Example sending a request using the GetDatasetRequest method. -// req, resp := client.GetDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetDataset func (c *FinSpaceData) GetDatasetRequest(input *GetDatasetInput) (req *request.Request, output *GetDatasetOutput) { @@ -1123,24 +1122,25 @@ func (c *FinSpaceData) GetDatasetRequest(input *GetDatasetInput) (req *request.R // API operation GetDataset for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// The request conflicts with an existing resource. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetDataset func (c *FinSpaceData) GetDataset(input *GetDatasetInput) (*GetDatasetOutput, error) { @@ -1180,14 +1180,13 @@ const opGetProgrammaticAccessCredentials = "GetProgrammaticAccessCredentials" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetProgrammaticAccessCredentialsRequest method. +// req, resp := client.GetProgrammaticAccessCredentialsRequest(params) // -// // Example sending a request using the GetProgrammaticAccessCredentialsRequest method. -// req, resp := client.GetProgrammaticAccessCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetProgrammaticAccessCredentials func (c *FinSpaceData) GetProgrammaticAccessCredentialsRequest(input *GetProgrammaticAccessCredentialsInput) (req *request.Request, output *GetProgrammaticAccessCredentialsOutput) { @@ -1218,18 +1217,19 @@ func (c *FinSpaceData) GetProgrammaticAccessCredentialsRequest(input *GetProgram // API operation GetProgrammaticAccessCredentials for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetProgrammaticAccessCredentials func (c *FinSpaceData) GetProgrammaticAccessCredentials(input *GetProgrammaticAccessCredentialsInput) (*GetProgrammaticAccessCredentialsOutput, error) { @@ -1269,14 +1269,13 @@ const opGetUser = "GetUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUserRequest method. +// req, resp := client.GetUserRequest(params) // -// // Example sending a request using the GetUserRequest method. -// req, resp := client.GetUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetUser func (c *FinSpaceData) GetUserRequest(input *GetUserInput) (req *request.Request, output *GetUserOutput) { @@ -1307,21 +1306,22 @@ func (c *FinSpaceData) GetUserRequest(input *GetUserInput) (req *request.Request // API operation GetUser for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetUser func (c *FinSpaceData) GetUser(input *GetUserInput) (*GetUserOutput, error) { @@ -1361,14 +1361,13 @@ const opGetWorkingLocation = "GetWorkingLocation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWorkingLocationRequest method. +// req, resp := client.GetWorkingLocationRequest(params) // -// // Example sending a request using the GetWorkingLocationRequest method. -// req, resp := client.GetWorkingLocationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetWorkingLocation func (c *FinSpaceData) GetWorkingLocationRequest(input *GetWorkingLocationInput) (req *request.Request, output *GetWorkingLocationOutput) { @@ -1400,18 +1399,19 @@ func (c *FinSpaceData) GetWorkingLocationRequest(input *GetWorkingLocationInput) // API operation GetWorkingLocation for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/GetWorkingLocation func (c *FinSpaceData) GetWorkingLocation(input *GetWorkingLocationInput) (*GetWorkingLocationOutput, error) { @@ -1451,14 +1451,13 @@ const opListChangesets = "ListChangesets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChangesetsRequest method. +// req, resp := client.ListChangesetsRequest(params) // -// // Example sending a request using the ListChangesetsRequest method. -// req, resp := client.ListChangesetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListChangesets func (c *FinSpaceData) ListChangesetsRequest(input *ListChangesetsInput) (req *request.Request, output *ListChangesetsOutput) { @@ -1495,24 +1494,25 @@ func (c *FinSpaceData) ListChangesetsRequest(input *ListChangesetsInput) (req *r // API operation ListChangesets for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// The request conflicts with an existing resource. +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListChangesets func (c *FinSpaceData) ListChangesets(input *ListChangesetsInput) (*ListChangesetsOutput, error) { @@ -1544,15 +1544,14 @@ func (c *FinSpaceData) ListChangesetsWithContext(ctx aws.Context, input *ListCha // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChangesets operation. -// pageNum := 0 -// err := client.ListChangesetsPages(params, -// func(page *finspacedata.ListChangesetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChangesets operation. +// pageNum := 0 +// err := client.ListChangesetsPages(params, +// func(page *finspacedata.ListChangesetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FinSpaceData) ListChangesetsPages(input *ListChangesetsInput, fn func(*ListChangesetsOutput, bool) bool) error { return c.ListChangesetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1604,14 +1603,13 @@ const opListDataViews = "ListDataViews" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDataViewsRequest method. +// req, resp := client.ListDataViewsRequest(params) // -// // Example sending a request using the ListDataViewsRequest method. -// req, resp := client.ListDataViewsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListDataViews func (c *FinSpaceData) ListDataViewsRequest(input *ListDataViewsInput) (req *request.Request, output *ListDataViewsOutput) { @@ -1648,21 +1646,22 @@ func (c *FinSpaceData) ListDataViewsRequest(input *ListDataViewsInput) (req *req // API operation ListDataViews for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ConflictException -// The request conflicts with an existing resource. +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListDataViews func (c *FinSpaceData) ListDataViews(input *ListDataViewsInput) (*ListDataViewsOutput, error) { @@ -1694,15 +1693,14 @@ func (c *FinSpaceData) ListDataViewsWithContext(ctx aws.Context, input *ListData // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDataViews operation. -// pageNum := 0 -// err := client.ListDataViewsPages(params, -// func(page *finspacedata.ListDataViewsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDataViews operation. +// pageNum := 0 +// err := client.ListDataViewsPages(params, +// func(page *finspacedata.ListDataViewsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FinSpaceData) ListDataViewsPages(input *ListDataViewsInput, fn func(*ListDataViewsOutput, bool) bool) error { return c.ListDataViewsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1754,14 +1752,13 @@ const opListDatasets = "ListDatasets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetsRequest method. +// req, resp := client.ListDatasetsRequest(params) // -// // Example sending a request using the ListDatasetsRequest method. -// req, resp := client.ListDatasetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListDatasets func (c *FinSpaceData) ListDatasetsRequest(input *ListDatasetsInput) (req *request.Request, output *ListDatasetsOutput) { @@ -1798,21 +1795,22 @@ func (c *FinSpaceData) ListDatasetsRequest(input *ListDatasetsInput) (req *reque // API operation ListDatasets for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request conflicts with an existing resource. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ConflictException +// The request conflicts with an existing resource. +// +// - ResourceNotFoundException +// One or more resources can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListDatasets func (c *FinSpaceData) ListDatasets(input *ListDatasetsInput) (*ListDatasetsOutput, error) { @@ -1844,15 +1842,14 @@ func (c *FinSpaceData) ListDatasetsWithContext(ctx aws.Context, input *ListDatas // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatasets operation. -// pageNum := 0 -// err := client.ListDatasetsPages(params, -// func(page *finspacedata.ListDatasetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatasets operation. +// pageNum := 0 +// err := client.ListDatasetsPages(params, +// func(page *finspacedata.ListDatasetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FinSpaceData) ListDatasetsPages(input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool) error { return c.ListDatasetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1904,14 +1901,13 @@ const opListPermissionGroups = "ListPermissionGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPermissionGroupsRequest method. +// req, resp := client.ListPermissionGroupsRequest(params) // -// // Example sending a request using the ListPermissionGroupsRequest method. -// req, resp := client.ListPermissionGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListPermissionGroups func (c *FinSpaceData) ListPermissionGroupsRequest(input *ListPermissionGroupsInput) (req *request.Request, output *ListPermissionGroupsOutput) { @@ -1948,18 +1944,19 @@ func (c *FinSpaceData) ListPermissionGroupsRequest(input *ListPermissionGroupsIn // API operation ListPermissionGroups for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListPermissionGroups func (c *FinSpaceData) ListPermissionGroups(input *ListPermissionGroupsInput) (*ListPermissionGroupsOutput, error) { @@ -1991,15 +1988,14 @@ func (c *FinSpaceData) ListPermissionGroupsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPermissionGroups operation. -// pageNum := 0 -// err := client.ListPermissionGroupsPages(params, -// func(page *finspacedata.ListPermissionGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPermissionGroups operation. +// pageNum := 0 +// err := client.ListPermissionGroupsPages(params, +// func(page *finspacedata.ListPermissionGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FinSpaceData) ListPermissionGroupsPages(input *ListPermissionGroupsInput, fn func(*ListPermissionGroupsOutput, bool) bool) error { return c.ListPermissionGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2051,14 +2047,13 @@ const opListUsers = "ListUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUsersRequest method. +// req, resp := client.ListUsersRequest(params) // -// // Example sending a request using the ListUsersRequest method. -// req, resp := client.ListUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListUsers func (c *FinSpaceData) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) { @@ -2095,18 +2090,19 @@ func (c *FinSpaceData) ListUsersRequest(input *ListUsersInput) (req *request.Req // API operation ListUsers for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ListUsers func (c *FinSpaceData) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) { @@ -2138,15 +2134,14 @@ func (c *FinSpaceData) ListUsersWithContext(ctx aws.Context, input *ListUsersInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUsers operation. -// pageNum := 0 -// err := client.ListUsersPages(params, -// func(page *finspacedata.ListUsersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUsers operation. +// pageNum := 0 +// err := client.ListUsersPages(params, +// func(page *finspacedata.ListUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FinSpaceData) ListUsersPages(input *ListUsersInput, fn func(*ListUsersOutput, bool) bool) error { return c.ListUsersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2198,14 +2193,13 @@ const opResetUserPassword = "ResetUserPassword" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetUserPasswordRequest method. +// req, resp := client.ResetUserPasswordRequest(params) // -// // Example sending a request using the ResetUserPasswordRequest method. -// req, resp := client.ResetUserPasswordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ResetUserPassword func (c *FinSpaceData) ResetUserPasswordRequest(input *ResetUserPasswordInput) (req *request.Request, output *ResetUserPasswordOutput) { @@ -2238,24 +2232,25 @@ func (c *FinSpaceData) ResetUserPasswordRequest(input *ResetUserPasswordInput) ( // API operation ResetUserPassword for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// The request conflicts with an existing resource. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/ResetUserPassword func (c *FinSpaceData) ResetUserPassword(input *ResetUserPasswordInput) (*ResetUserPasswordOutput, error) { @@ -2295,14 +2290,13 @@ const opUpdateChangeset = "UpdateChangeset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateChangesetRequest method. +// req, resp := client.UpdateChangesetRequest(params) // -// // Example sending a request using the UpdateChangesetRequest method. -// req, resp := client.UpdateChangesetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdateChangeset func (c *FinSpaceData) UpdateChangesetRequest(input *UpdateChangesetInput) (req *request.Request, output *UpdateChangesetOutput) { @@ -2333,24 +2327,25 @@ func (c *FinSpaceData) UpdateChangesetRequest(input *UpdateChangesetInput) (req // API operation UpdateChangeset for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// The request conflicts with an existing resource. +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdateChangeset func (c *FinSpaceData) UpdateChangeset(input *UpdateChangesetInput) (*UpdateChangesetOutput, error) { @@ -2390,14 +2385,13 @@ const opUpdateDataset = "UpdateDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDatasetRequest method. +// req, resp := client.UpdateDatasetRequest(params) // -// // Example sending a request using the UpdateDatasetRequest method. -// req, resp := client.UpdateDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdateDataset func (c *FinSpaceData) UpdateDatasetRequest(input *UpdateDatasetInput) (req *request.Request, output *UpdateDatasetOutput) { @@ -2428,24 +2422,25 @@ func (c *FinSpaceData) UpdateDatasetRequest(input *UpdateDatasetInput) (req *req // API operation UpdateDataset for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// The request conflicts with an existing resource. +// - ConflictException +// The request conflicts with an existing resource. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdateDataset func (c *FinSpaceData) UpdateDataset(input *UpdateDatasetInput) (*UpdateDatasetOutput, error) { @@ -2485,14 +2480,13 @@ const opUpdatePermissionGroup = "UpdatePermissionGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePermissionGroupRequest method. +// req, resp := client.UpdatePermissionGroupRequest(params) // -// // Example sending a request using the UpdatePermissionGroupRequest method. -// req, resp := client.UpdatePermissionGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdatePermissionGroup func (c *FinSpaceData) UpdatePermissionGroupRequest(input *UpdatePermissionGroupInput) (req *request.Request, output *UpdatePermissionGroupOutput) { @@ -2523,24 +2517,25 @@ func (c *FinSpaceData) UpdatePermissionGroupRequest(input *UpdatePermissionGroup // API operation UpdatePermissionGroup for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// The request conflicts with an existing resource. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdatePermissionGroup func (c *FinSpaceData) UpdatePermissionGroup(input *UpdatePermissionGroupInput) (*UpdatePermissionGroupOutput, error) { @@ -2580,14 +2575,13 @@ const opUpdateUser = "UpdateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserRequest method. +// req, resp := client.UpdateUserRequest(params) // -// // Example sending a request using the UpdateUserRequest method. -// req, resp := client.UpdateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdateUser func (c *FinSpaceData) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput) { @@ -2619,24 +2613,25 @@ func (c *FinSpaceData) UpdateUserRequest(input *UpdateUserInput) (req *request.R // API operation UpdateUser for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ConflictException -// The request conflicts with an existing resource. +// - ConflictException +// The request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/finspace-2020-07-13/UpdateUser func (c *FinSpaceData) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) { @@ -6869,17 +6864,17 @@ func (s *ResourceNotFoundException) RequestID() string { // // The following is a list of valid dataset permissions that you can apply: // -// * ViewDatasetDetails +// - ViewDatasetDetails // -// * ReadDatasetDetails +// - ReadDatasetDetails // -// * AddDatasetData +// - AddDatasetData // -// * CreateDataView +// - CreateDataView // -// * EditDatasetMetadata +// - EditDatasetMetadata // -// * DeleteDataset +// - DeleteDataset // // For more information on the dataset permissions, see Supported Dataset Permissions // (https://docs.aws.amazon.com/finspace/latest/userguide/managing-user-permissions.html#supported-dataset-permissions) diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/doc.go index 7ae580914723..cdd908677f56 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/doc.go @@ -10,7 +10,7 @@ // See finspacedata package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/finspacedata/ // -// Using the Client +// # Using the Client // // To contact FinSpace Public API with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/finspacedataiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/finspacedataiface/interface.go index 332fdb9bcc95..15f94dfc2560 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/finspacedataiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/finspacedataiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // FinSpace Public API. -// func myFunc(svc finspacedataiface.FinSpaceDataAPI) bool { -// // Make svc.CreateChangeset request -// } +// // myFunc uses an SDK service client to make a request to +// // FinSpace Public API. +// func myFunc(svc finspacedataiface.FinSpaceDataAPI) bool { +// // Make svc.CreateChangeset request +// } // -// func main() { -// sess := session.New() -// svc := finspacedata.New(sess) +// func main() { +// sess := session.New() +// svc := finspacedata.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockFinSpaceDataClient struct { -// finspacedataiface.FinSpaceDataAPI -// } -// func (m *mockFinSpaceDataClient) CreateChangeset(input *finspacedata.CreateChangesetInput) (*finspacedata.CreateChangesetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockFinSpaceDataClient struct { +// finspacedataiface.FinSpaceDataAPI +// } +// func (m *mockFinSpaceDataClient) CreateChangeset(input *finspacedata.CreateChangesetInput) (*finspacedata.CreateChangesetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockFinSpaceDataClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockFinSpaceDataClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/service.go index fe8d2824df7d..841b887ebdaf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/finspacedata/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a FinSpaceData client from just a session. -// svc := finspacedata.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a FinSpaceData client with additional configuration -// svc := finspacedata.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a FinSpaceData client from just a session. +// svc := finspacedata.New(mySession) +// +// // Create a FinSpaceData client with additional configuration +// svc := finspacedata.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *FinSpaceData { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/api.go index 86aef57ff155..085bae6d33e1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/api.go @@ -29,14 +29,13 @@ const opCreateDeliveryStream = "CreateDeliveryStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeliveryStreamRequest method. +// req, resp := client.CreateDeliveryStreamRequest(params) // -// // Example sending a request using the CreateDeliveryStreamRequest method. -// req, resp := client.CreateDeliveryStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CreateDeliveryStream func (c *Firehose) CreateDeliveryStreamRequest(input *CreateDeliveryStreamInput) (req *request.Request, output *CreateDeliveryStreamOutput) { @@ -102,18 +101,18 @@ func (c *Firehose) CreateDeliveryStreamRequest(input *CreateDeliveryStreamInput) // // A few notes about Amazon Redshift as a destination: // -// * An Amazon Redshift destination requires an S3 bucket as intermediate -// location. Kinesis Data Firehose first delivers data to Amazon S3 and then -// uses COPY syntax to load data into an Amazon Redshift table. This is specified -// in the RedshiftDestinationConfiguration.S3Configuration parameter. +// - An Amazon Redshift destination requires an S3 bucket as intermediate +// location. Kinesis Data Firehose first delivers data to Amazon S3 and then +// uses COPY syntax to load data into an Amazon Redshift table. This is specified +// in the RedshiftDestinationConfiguration.S3Configuration parameter. // -// * The compression formats SNAPPY or ZIP cannot be specified in RedshiftDestinationConfiguration.S3Configuration -// because the Amazon Redshift COPY operation that reads from the S3 bucket -// doesn't support these compression formats. +// - The compression formats SNAPPY or ZIP cannot be specified in RedshiftDestinationConfiguration.S3Configuration +// because the Amazon Redshift COPY operation that reads from the S3 bucket +// doesn't support these compression formats. // -// * We strongly recommend that you use the user name and password you provide -// exclusively with Kinesis Data Firehose, and that the permissions for the -// account are restricted for Amazon Redshift INSERT permissions. +// - We strongly recommend that you use the user name and password you provide +// exclusively with Kinesis Data Firehose, and that the permissions for the +// account are restricted for Amazon Redshift INSERT permissions. // // Kinesis Data Firehose assumes the IAM role that is configured as part of // the destination. The role should allow the Kinesis Data Firehose principal @@ -130,20 +129,21 @@ func (c *Firehose) CreateDeliveryStreamRequest(input *CreateDeliveryStreamInput) // API operation CreateDeliveryStream for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The specified input parameter has a value that is not valid. // -// * LimitExceededException -// You have already reached the limit for a requested resource. +// - InvalidArgumentException +// The specified input parameter has a value that is not valid. +// +// - LimitExceededException +// You have already reached the limit for a requested resource. // -// * ResourceInUseException -// The resource is already in use and not available for this operation. +// - ResourceInUseException +// The resource is already in use and not available for this operation. // -// * InvalidKMSResourceException -// Kinesis Data Firehose throws this exception when an attempt to put records -// or to start or stop delivery stream encryption fails. This happens when the -// KMS service throws one of the following exception types: AccessDeniedException, -// InvalidStateException, DisabledException, or NotFoundException. +// - InvalidKMSResourceException +// Kinesis Data Firehose throws this exception when an attempt to put records +// or to start or stop delivery stream encryption fails. This happens when the +// KMS service throws one of the following exception types: AccessDeniedException, +// InvalidStateException, DisabledException, or NotFoundException. // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/CreateDeliveryStream func (c *Firehose) CreateDeliveryStream(input *CreateDeliveryStreamInput) (*CreateDeliveryStreamOutput, error) { @@ -183,14 +183,13 @@ const opDeleteDeliveryStream = "DeleteDeliveryStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDeliveryStreamRequest method. +// req, resp := client.DeleteDeliveryStreamRequest(params) // -// // Example sending a request using the DeleteDeliveryStreamRequest method. -// req, resp := client.DeleteDeliveryStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeleteDeliveryStream func (c *Firehose) DeleteDeliveryStreamRequest(input *DeleteDeliveryStreamInput) (req *request.Request, output *DeleteDeliveryStreamOutput) { @@ -233,11 +232,12 @@ func (c *Firehose) DeleteDeliveryStreamRequest(input *DeleteDeliveryStreamInput) // API operation DeleteDeliveryStream for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The resource is already in use and not available for this operation. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceInUseException +// The resource is already in use and not available for this operation. +// +// - ResourceNotFoundException +// The specified resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DeleteDeliveryStream func (c *Firehose) DeleteDeliveryStream(input *DeleteDeliveryStreamInput) (*DeleteDeliveryStreamOutput, error) { @@ -277,14 +277,13 @@ const opDescribeDeliveryStream = "DescribeDeliveryStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDeliveryStreamRequest method. +// req, resp := client.DescribeDeliveryStreamRequest(params) // -// // Example sending a request using the DescribeDeliveryStreamRequest method. -// req, resp := client.DescribeDeliveryStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DescribeDeliveryStream func (c *Firehose) DescribeDeliveryStreamRequest(input *DescribeDeliveryStreamInput) (req *request.Request, output *DescribeDeliveryStreamOutput) { @@ -324,8 +323,8 @@ func (c *Firehose) DescribeDeliveryStreamRequest(input *DescribeDeliveryStreamIn // API operation DescribeDeliveryStream for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/DescribeDeliveryStream func (c *Firehose) DescribeDeliveryStream(input *DescribeDeliveryStreamInput) (*DescribeDeliveryStreamOutput, error) { @@ -365,14 +364,13 @@ const opListDeliveryStreams = "ListDeliveryStreams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeliveryStreamsRequest method. +// req, resp := client.ListDeliveryStreamsRequest(params) // -// // Example sending a request using the ListDeliveryStreamsRequest method. -// req, resp := client.ListDeliveryStreamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ListDeliveryStreams func (c *Firehose) ListDeliveryStreamsRequest(input *ListDeliveryStreamsInput) (req *request.Request, output *ListDeliveryStreamsOutput) { @@ -447,14 +445,13 @@ const opListTagsForDeliveryStream = "ListTagsForDeliveryStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForDeliveryStreamRequest method. +// req, resp := client.ListTagsForDeliveryStreamRequest(params) // -// // Example sending a request using the ListTagsForDeliveryStreamRequest method. -// req, resp := client.ListTagsForDeliveryStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ListTagsForDeliveryStream func (c *Firehose) ListTagsForDeliveryStreamRequest(input *ListTagsForDeliveryStreamInput) (req *request.Request, output *ListTagsForDeliveryStreamOutput) { @@ -486,14 +483,15 @@ func (c *Firehose) ListTagsForDeliveryStreamRequest(input *ListTagsForDeliverySt // API operation ListTagsForDeliveryStream for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * InvalidArgumentException -// The specified input parameter has a value that is not valid. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - InvalidArgumentException +// The specified input parameter has a value that is not valid. // -// * LimitExceededException -// You have already reached the limit for a requested resource. +// - LimitExceededException +// You have already reached the limit for a requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/ListTagsForDeliveryStream func (c *Firehose) ListTagsForDeliveryStream(input *ListTagsForDeliveryStreamInput) (*ListTagsForDeliveryStreamOutput, error) { @@ -533,14 +531,13 @@ const opPutRecord = "PutRecord" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRecordRequest method. +// req, resp := client.PutRecordRequest(params) // -// // Example sending a request using the PutRecordRequest method. -// req, resp := client.PutRecordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecord func (c *Firehose) PutRecordRequest(input *PutRecordInput) (req *request.Request, output *PutRecordOutput) { @@ -607,23 +604,24 @@ func (c *Firehose) PutRecordRequest(input *PutRecordInput) (req *request.Request // API operation PutRecord for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * InvalidArgumentException -// The specified input parameter has a value that is not valid. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InvalidKMSResourceException -// Kinesis Data Firehose throws this exception when an attempt to put records -// or to start or stop delivery stream encryption fails. This happens when the -// KMS service throws one of the following exception types: AccessDeniedException, -// InvalidStateException, DisabledException, or NotFoundException. +// - InvalidArgumentException +// The specified input parameter has a value that is not valid. // -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. If you continue -// to see the exception, throughput limits for the delivery stream may have -// been exceeded. For more information about limits and how to request an increase, -// see Amazon Kinesis Data Firehose Limits (https://docs.aws.amazon.com/firehose/latest/dev/limits.html). +// - InvalidKMSResourceException +// Kinesis Data Firehose throws this exception when an attempt to put records +// or to start or stop delivery stream encryption fails. This happens when the +// KMS service throws one of the following exception types: AccessDeniedException, +// InvalidStateException, DisabledException, or NotFoundException. +// +// - ServiceUnavailableException +// The service is unavailable. Back off and retry the operation. If you continue +// to see the exception, throughput limits for the delivery stream may have +// been exceeded. For more information about limits and how to request an increase, +// see Amazon Kinesis Data Firehose Limits (https://docs.aws.amazon.com/firehose/latest/dev/limits.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecord func (c *Firehose) PutRecord(input *PutRecordInput) (*PutRecordOutput, error) { @@ -663,14 +661,13 @@ const opPutRecordBatch = "PutRecordBatch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRecordBatchRequest method. +// req, resp := client.PutRecordBatchRequest(params) // -// // Example sending a request using the PutRecordBatchRequest method. -// req, resp := client.PutRecordBatchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordBatch func (c *Firehose) PutRecordBatchRequest(input *PutRecordBatchInput) (req *request.Request, output *PutRecordBatchOutput) { @@ -760,23 +757,24 @@ func (c *Firehose) PutRecordBatchRequest(input *PutRecordBatchInput) (req *reque // API operation PutRecordBatch for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * InvalidArgumentException -// The specified input parameter has a value that is not valid. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InvalidKMSResourceException -// Kinesis Data Firehose throws this exception when an attempt to put records -// or to start or stop delivery stream encryption fails. This happens when the -// KMS service throws one of the following exception types: AccessDeniedException, -// InvalidStateException, DisabledException, or NotFoundException. +// - InvalidArgumentException +// The specified input parameter has a value that is not valid. // -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. If you continue -// to see the exception, throughput limits for the delivery stream may have -// been exceeded. For more information about limits and how to request an increase, -// see Amazon Kinesis Data Firehose Limits (https://docs.aws.amazon.com/firehose/latest/dev/limits.html). +// - InvalidKMSResourceException +// Kinesis Data Firehose throws this exception when an attempt to put records +// or to start or stop delivery stream encryption fails. This happens when the +// KMS service throws one of the following exception types: AccessDeniedException, +// InvalidStateException, DisabledException, or NotFoundException. +// +// - ServiceUnavailableException +// The service is unavailable. Back off and retry the operation. If you continue +// to see the exception, throughput limits for the delivery stream may have +// been exceeded. For more information about limits and how to request an increase, +// see Amazon Kinesis Data Firehose Limits (https://docs.aws.amazon.com/firehose/latest/dev/limits.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/PutRecordBatch func (c *Firehose) PutRecordBatch(input *PutRecordBatchInput) (*PutRecordBatchOutput, error) { @@ -816,14 +814,13 @@ const opStartDeliveryStreamEncryption = "StartDeliveryStreamEncryption" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDeliveryStreamEncryptionRequest method. +// req, resp := client.StartDeliveryStreamEncryptionRequest(params) // -// // Example sending a request using the StartDeliveryStreamEncryptionRequest method. -// req, resp := client.StartDeliveryStreamEncryptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/StartDeliveryStreamEncryption func (c *Firehose) StartDeliveryStreamEncryptionRequest(input *StartDeliveryStreamEncryptionInput) (req *request.Request, output *StartDeliveryStreamEncryptionOutput) { @@ -896,23 +893,24 @@ func (c *Firehose) StartDeliveryStreamEncryptionRequest(input *StartDeliveryStre // API operation StartDeliveryStreamEncryption for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ResourceInUseException -// The resource is already in use and not available for this operation. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ResourceInUseException +// The resource is already in use and not available for this operation. // -// * InvalidArgumentException -// The specified input parameter has a value that is not valid. +// - InvalidArgumentException +// The specified input parameter has a value that is not valid. // -// * LimitExceededException -// You have already reached the limit for a requested resource. +// - LimitExceededException +// You have already reached the limit for a requested resource. // -// * InvalidKMSResourceException -// Kinesis Data Firehose throws this exception when an attempt to put records -// or to start or stop delivery stream encryption fails. This happens when the -// KMS service throws one of the following exception types: AccessDeniedException, -// InvalidStateException, DisabledException, or NotFoundException. +// - InvalidKMSResourceException +// Kinesis Data Firehose throws this exception when an attempt to put records +// or to start or stop delivery stream encryption fails. This happens when the +// KMS service throws one of the following exception types: AccessDeniedException, +// InvalidStateException, DisabledException, or NotFoundException. // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/StartDeliveryStreamEncryption func (c *Firehose) StartDeliveryStreamEncryption(input *StartDeliveryStreamEncryptionInput) (*StartDeliveryStreamEncryptionOutput, error) { @@ -952,14 +950,13 @@ const opStopDeliveryStreamEncryption = "StopDeliveryStreamEncryption" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopDeliveryStreamEncryptionRequest method. +// req, resp := client.StopDeliveryStreamEncryptionRequest(params) // -// // Example sending a request using the StopDeliveryStreamEncryptionRequest method. -// req, resp := client.StopDeliveryStreamEncryptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/StopDeliveryStreamEncryption func (c *Firehose) StopDeliveryStreamEncryptionRequest(input *StopDeliveryStreamEncryptionInput) (req *request.Request, output *StopDeliveryStreamEncryptionOutput) { @@ -1013,17 +1010,18 @@ func (c *Firehose) StopDeliveryStreamEncryptionRequest(input *StopDeliveryStream // API operation StopDeliveryStreamEncryption for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ResourceInUseException -// The resource is already in use and not available for this operation. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ResourceInUseException +// The resource is already in use and not available for this operation. // -// * InvalidArgumentException -// The specified input parameter has a value that is not valid. +// - InvalidArgumentException +// The specified input parameter has a value that is not valid. // -// * LimitExceededException -// You have already reached the limit for a requested resource. +// - LimitExceededException +// You have already reached the limit for a requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/StopDeliveryStreamEncryption func (c *Firehose) StopDeliveryStreamEncryption(input *StopDeliveryStreamEncryptionInput) (*StopDeliveryStreamEncryptionOutput, error) { @@ -1063,14 +1061,13 @@ const opTagDeliveryStream = "TagDeliveryStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagDeliveryStreamRequest method. +// req, resp := client.TagDeliveryStreamRequest(params) // -// // Example sending a request using the TagDeliveryStreamRequest method. -// req, resp := client.TagDeliveryStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/TagDeliveryStream func (c *Firehose) TagDeliveryStreamRequest(input *TagDeliveryStreamInput) (req *request.Request, output *TagDeliveryStreamOutput) { @@ -1113,17 +1110,18 @@ func (c *Firehose) TagDeliveryStreamRequest(input *TagDeliveryStreamInput) (req // API operation TagDeliveryStream for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ResourceInUseException -// The resource is already in use and not available for this operation. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InvalidArgumentException -// The specified input parameter has a value that is not valid. +// - ResourceInUseException +// The resource is already in use and not available for this operation. // -// * LimitExceededException -// You have already reached the limit for a requested resource. +// - InvalidArgumentException +// The specified input parameter has a value that is not valid. +// +// - LimitExceededException +// You have already reached the limit for a requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/TagDeliveryStream func (c *Firehose) TagDeliveryStream(input *TagDeliveryStreamInput) (*TagDeliveryStreamOutput, error) { @@ -1163,14 +1161,13 @@ const opUntagDeliveryStream = "UntagDeliveryStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagDeliveryStreamRequest method. +// req, resp := client.UntagDeliveryStreamRequest(params) // -// // Example sending a request using the UntagDeliveryStreamRequest method. -// req, resp := client.UntagDeliveryStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/UntagDeliveryStream func (c *Firehose) UntagDeliveryStreamRequest(input *UntagDeliveryStreamInput) (req *request.Request, output *UntagDeliveryStreamOutput) { @@ -1207,17 +1204,18 @@ func (c *Firehose) UntagDeliveryStreamRequest(input *UntagDeliveryStreamInput) ( // API operation UntagDeliveryStream for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ResourceInUseException -// The resource is already in use and not available for this operation. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ResourceInUseException +// The resource is already in use and not available for this operation. // -// * InvalidArgumentException -// The specified input parameter has a value that is not valid. +// - InvalidArgumentException +// The specified input parameter has a value that is not valid. // -// * LimitExceededException -// You have already reached the limit for a requested resource. +// - LimitExceededException +// You have already reached the limit for a requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/UntagDeliveryStream func (c *Firehose) UntagDeliveryStream(input *UntagDeliveryStreamInput) (*UntagDeliveryStreamOutput, error) { @@ -1257,14 +1255,13 @@ const opUpdateDestination = "UpdateDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDestinationRequest method. +// req, resp := client.UpdateDestinationRequest(params) // -// // Example sending a request using the UpdateDestinationRequest method. -// req, resp := client.UpdateDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/UpdateDestination func (c *Firehose) UpdateDestinationRequest(input *UpdateDestinationInput) (req *request.Request, output *UpdateDestinationOutput) { @@ -1325,18 +1322,19 @@ func (c *Firehose) UpdateDestinationRequest(input *UpdateDestinationInput) (req // API operation UpdateDestination for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The specified input parameter has a value that is not valid. // -// * ResourceInUseException -// The resource is already in use and not available for this operation. +// - InvalidArgumentException +// The specified input parameter has a value that is not valid. +// +// - ResourceInUseException +// The resource is already in use and not available for this operation. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConcurrentModificationException -// Another modification has already happened. Fetch VersionId again and use -// it to update the destination. +// - ConcurrentModificationException +// Another modification has already happened. Fetch VersionId again and use +// it to update the destination. // // See also, https://docs.aws.amazon.com/goto/WebAPI/firehose-2015-08-04/UpdateDestination func (c *Firehose) UpdateDestination(input *UpdateDestinationInput) (*UpdateDestinationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/doc.go index 32bec009c2f8..db41e932889b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/doc.go @@ -12,7 +12,7 @@ // See firehose package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/firehose/ // -// Using the Client +// # Using the Client // // To contact Amazon Kinesis Firehose with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/firehoseiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/firehoseiface/interface.go index ed013d379c74..7d40fa13dc43 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/firehoseiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/firehoseiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Kinesis Firehose. -// func myFunc(svc firehoseiface.FirehoseAPI) bool { -// // Make svc.CreateDeliveryStream request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Kinesis Firehose. +// func myFunc(svc firehoseiface.FirehoseAPI) bool { +// // Make svc.CreateDeliveryStream request +// } // -// func main() { -// sess := session.New() -// svc := firehose.New(sess) +// func main() { +// sess := session.New() +// svc := firehose.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockFirehoseClient struct { -// firehoseiface.FirehoseAPI -// } -// func (m *mockFirehoseClient) CreateDeliveryStream(input *firehose.CreateDeliveryStreamInput) (*firehose.CreateDeliveryStreamOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockFirehoseClient struct { +// firehoseiface.FirehoseAPI +// } +// func (m *mockFirehoseClient) CreateDeliveryStream(input *firehose.CreateDeliveryStreamInput) (*firehose.CreateDeliveryStreamOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockFirehoseClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockFirehoseClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/service.go index 047394e34f05..81fb7ab310a7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/firehose/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Firehose client from just a session. -// svc := firehose.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Firehose client with additional configuration -// svc := firehose.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Firehose client from just a session. +// svc := firehose.New(mySession) +// +// // Create a Firehose client with additional configuration +// svc := firehose.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Firehose { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/api.go index 553c7469960a..d7d0b3889e1f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/api.go @@ -29,14 +29,13 @@ const opCreateExperimentTemplate = "CreateExperimentTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateExperimentTemplateRequest method. +// req, resp := client.CreateExperimentTemplateRequest(params) // -// // Example sending a request using the CreateExperimentTemplateRequest method. -// req, resp := client.CreateExperimentTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateExperimentTemplate func (c *FIS) CreateExperimentTemplateRequest(input *CreateExperimentTemplateInput) (req *request.Request, output *CreateExperimentTemplateOutput) { @@ -61,17 +60,17 @@ func (c *FIS) CreateExperimentTemplateRequest(input *CreateExperimentTemplateInp // // An experiment template includes the following components: // -// * Targets: A target can be a specific resource in your Amazon Web Services -// environment, or one or more resources that match criteria that you specify, -// for example, resources that have specific tags. +// - Targets: A target can be a specific resource in your Amazon Web Services +// environment, or one or more resources that match criteria that you specify, +// for example, resources that have specific tags. // -// * Actions: The actions to carry out on the target. You can specify multiple -// actions, the duration of each action, and when to start each action during -// an experiment. +// - Actions: The actions to carry out on the target. You can specify multiple +// actions, the duration of each action, and when to start each action during +// an experiment. // -// * Stop conditions: If a stop condition is triggered while an experiment -// is running, the experiment is automatically stopped. You can define a -// stop condition as a CloudWatch alarm. +// - Stop conditions: If a stop condition is triggered while an experiment +// is running, the experiment is automatically stopped. You can define a +// stop condition as a CloudWatch alarm. // // For more information, see Experiment templates (https://docs.aws.amazon.com/fis/latest/userguide/experiment-templates.html) // in the Fault Injection Simulator User Guide. @@ -84,18 +83,19 @@ func (c *FIS) CreateExperimentTemplateRequest(input *CreateExperimentTemplateInp // API operation CreateExperimentTemplate for usage and error information. // // Returned Error Types: -// * ValidationException -// The specified input is not valid, or fails to satisfy the constraints for -// the request. // -// * ConflictException -// The request could not be processed because of a conflict. +// - ValidationException +// The specified input is not valid, or fails to satisfy the constraints for +// the request. +// +// - ConflictException +// The request could not be processed because of a conflict. // -// * ResourceNotFoundException -// The specified resource cannot be found. +// - ResourceNotFoundException +// The specified resource cannot be found. // -// * ServiceQuotaExceededException -// You have exceeded your service quota. +// - ServiceQuotaExceededException +// You have exceeded your service quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/CreateExperimentTemplate func (c *FIS) CreateExperimentTemplate(input *CreateExperimentTemplateInput) (*CreateExperimentTemplateOutput, error) { @@ -135,14 +135,13 @@ const opDeleteExperimentTemplate = "DeleteExperimentTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteExperimentTemplateRequest method. +// req, resp := client.DeleteExperimentTemplateRequest(params) // -// // Example sending a request using the DeleteExperimentTemplateRequest method. -// req, resp := client.DeleteExperimentTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/DeleteExperimentTemplate func (c *FIS) DeleteExperimentTemplateRequest(input *DeleteExperimentTemplateInput) (req *request.Request, output *DeleteExperimentTemplateOutput) { @@ -173,12 +172,13 @@ func (c *FIS) DeleteExperimentTemplateRequest(input *DeleteExperimentTemplateInp // API operation DeleteExperimentTemplate for usage and error information. // // Returned Error Types: -// * ValidationException -// The specified input is not valid, or fails to satisfy the constraints for -// the request. // -// * ResourceNotFoundException -// The specified resource cannot be found. +// - ValidationException +// The specified input is not valid, or fails to satisfy the constraints for +// the request. +// +// - ResourceNotFoundException +// The specified resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/DeleteExperimentTemplate func (c *FIS) DeleteExperimentTemplate(input *DeleteExperimentTemplateInput) (*DeleteExperimentTemplateOutput, error) { @@ -218,14 +218,13 @@ const opGetAction = "GetAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetActionRequest method. +// req, resp := client.GetActionRequest(params) // -// // Example sending a request using the GetActionRequest method. -// req, resp := client.GetActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetAction func (c *FIS) GetActionRequest(input *GetActionInput) (req *request.Request, output *GetActionOutput) { @@ -256,12 +255,13 @@ func (c *FIS) GetActionRequest(input *GetActionInput) (req *request.Request, out // API operation GetAction for usage and error information. // // Returned Error Types: -// * ValidationException -// The specified input is not valid, or fails to satisfy the constraints for -// the request. // -// * ResourceNotFoundException -// The specified resource cannot be found. +// - ValidationException +// The specified input is not valid, or fails to satisfy the constraints for +// the request. +// +// - ResourceNotFoundException +// The specified resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetAction func (c *FIS) GetAction(input *GetActionInput) (*GetActionOutput, error) { @@ -301,14 +301,13 @@ const opGetExperiment = "GetExperiment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetExperimentRequest method. +// req, resp := client.GetExperimentRequest(params) // -// // Example sending a request using the GetExperimentRequest method. -// req, resp := client.GetExperimentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperiment func (c *FIS) GetExperimentRequest(input *GetExperimentInput) (req *request.Request, output *GetExperimentOutput) { @@ -339,12 +338,13 @@ func (c *FIS) GetExperimentRequest(input *GetExperimentInput) (req *request.Requ // API operation GetExperiment for usage and error information. // // Returned Error Types: -// * ValidationException -// The specified input is not valid, or fails to satisfy the constraints for -// the request. // -// * ResourceNotFoundException -// The specified resource cannot be found. +// - ValidationException +// The specified input is not valid, or fails to satisfy the constraints for +// the request. +// +// - ResourceNotFoundException +// The specified resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperiment func (c *FIS) GetExperiment(input *GetExperimentInput) (*GetExperimentOutput, error) { @@ -384,14 +384,13 @@ const opGetExperimentTemplate = "GetExperimentTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetExperimentTemplateRequest method. +// req, resp := client.GetExperimentTemplateRequest(params) // -// // Example sending a request using the GetExperimentTemplateRequest method. -// req, resp := client.GetExperimentTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperimentTemplate func (c *FIS) GetExperimentTemplateRequest(input *GetExperimentTemplateInput) (req *request.Request, output *GetExperimentTemplateOutput) { @@ -422,12 +421,13 @@ func (c *FIS) GetExperimentTemplateRequest(input *GetExperimentTemplateInput) (r // API operation GetExperimentTemplate for usage and error information. // // Returned Error Types: -// * ValidationException -// The specified input is not valid, or fails to satisfy the constraints for -// the request. // -// * ResourceNotFoundException -// The specified resource cannot be found. +// - ValidationException +// The specified input is not valid, or fails to satisfy the constraints for +// the request. +// +// - ResourceNotFoundException +// The specified resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetExperimentTemplate func (c *FIS) GetExperimentTemplate(input *GetExperimentTemplateInput) (*GetExperimentTemplateOutput, error) { @@ -467,14 +467,13 @@ const opGetTargetResourceType = "GetTargetResourceType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTargetResourceTypeRequest method. +// req, resp := client.GetTargetResourceTypeRequest(params) // -// // Example sending a request using the GetTargetResourceTypeRequest method. -// req, resp := client.GetTargetResourceTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetTargetResourceType func (c *FIS) GetTargetResourceTypeRequest(input *GetTargetResourceTypeInput) (req *request.Request, output *GetTargetResourceTypeOutput) { @@ -505,12 +504,13 @@ func (c *FIS) GetTargetResourceTypeRequest(input *GetTargetResourceTypeInput) (r // API operation GetTargetResourceType for usage and error information. // // Returned Error Types: -// * ValidationException -// The specified input is not valid, or fails to satisfy the constraints for -// the request. // -// * ResourceNotFoundException -// The specified resource cannot be found. +// - ValidationException +// The specified input is not valid, or fails to satisfy the constraints for +// the request. +// +// - ResourceNotFoundException +// The specified resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/GetTargetResourceType func (c *FIS) GetTargetResourceType(input *GetTargetResourceTypeInput) (*GetTargetResourceTypeOutput, error) { @@ -550,14 +550,13 @@ const opListActions = "ListActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListActionsRequest method. +// req, resp := client.ListActionsRequest(params) // -// // Example sending a request using the ListActionsRequest method. -// req, resp := client.ListActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListActions func (c *FIS) ListActionsRequest(input *ListActionsInput) (req *request.Request, output *ListActionsOutput) { @@ -594,9 +593,9 @@ func (c *FIS) ListActionsRequest(input *ListActionsInput) (req *request.Request, // API operation ListActions for usage and error information. // // Returned Error Types: -// * ValidationException -// The specified input is not valid, or fails to satisfy the constraints for -// the request. +// - ValidationException +// The specified input is not valid, or fails to satisfy the constraints for +// the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListActions func (c *FIS) ListActions(input *ListActionsInput) (*ListActionsOutput, error) { @@ -628,15 +627,14 @@ func (c *FIS) ListActionsWithContext(ctx aws.Context, input *ListActionsInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListActions operation. -// pageNum := 0 -// err := client.ListActionsPages(params, -// func(page *fis.ListActionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListActions operation. +// pageNum := 0 +// err := client.ListActionsPages(params, +// func(page *fis.ListActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FIS) ListActionsPages(input *ListActionsInput, fn func(*ListActionsOutput, bool) bool) error { return c.ListActionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -688,14 +686,13 @@ const opListExperimentTemplates = "ListExperimentTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExperimentTemplatesRequest method. +// req, resp := client.ListExperimentTemplatesRequest(params) // -// // Example sending a request using the ListExperimentTemplatesRequest method. -// req, resp := client.ListExperimentTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListExperimentTemplates func (c *FIS) ListExperimentTemplatesRequest(input *ListExperimentTemplatesInput) (req *request.Request, output *ListExperimentTemplatesOutput) { @@ -732,9 +729,9 @@ func (c *FIS) ListExperimentTemplatesRequest(input *ListExperimentTemplatesInput // API operation ListExperimentTemplates for usage and error information. // // Returned Error Types: -// * ValidationException -// The specified input is not valid, or fails to satisfy the constraints for -// the request. +// - ValidationException +// The specified input is not valid, or fails to satisfy the constraints for +// the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListExperimentTemplates func (c *FIS) ListExperimentTemplates(input *ListExperimentTemplatesInput) (*ListExperimentTemplatesOutput, error) { @@ -766,15 +763,14 @@ func (c *FIS) ListExperimentTemplatesWithContext(ctx aws.Context, input *ListExp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExperimentTemplates operation. -// pageNum := 0 -// err := client.ListExperimentTemplatesPages(params, -// func(page *fis.ListExperimentTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExperimentTemplates operation. +// pageNum := 0 +// err := client.ListExperimentTemplatesPages(params, +// func(page *fis.ListExperimentTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FIS) ListExperimentTemplatesPages(input *ListExperimentTemplatesInput, fn func(*ListExperimentTemplatesOutput, bool) bool) error { return c.ListExperimentTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -826,14 +822,13 @@ const opListExperiments = "ListExperiments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExperimentsRequest method. +// req, resp := client.ListExperimentsRequest(params) // -// // Example sending a request using the ListExperimentsRequest method. -// req, resp := client.ListExperimentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListExperiments func (c *FIS) ListExperimentsRequest(input *ListExperimentsInput) (req *request.Request, output *ListExperimentsOutput) { @@ -870,9 +865,9 @@ func (c *FIS) ListExperimentsRequest(input *ListExperimentsInput) (req *request. // API operation ListExperiments for usage and error information. // // Returned Error Types: -// * ValidationException -// The specified input is not valid, or fails to satisfy the constraints for -// the request. +// - ValidationException +// The specified input is not valid, or fails to satisfy the constraints for +// the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListExperiments func (c *FIS) ListExperiments(input *ListExperimentsInput) (*ListExperimentsOutput, error) { @@ -904,15 +899,14 @@ func (c *FIS) ListExperimentsWithContext(ctx aws.Context, input *ListExperiments // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExperiments operation. -// pageNum := 0 -// err := client.ListExperimentsPages(params, -// func(page *fis.ListExperimentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExperiments operation. +// pageNum := 0 +// err := client.ListExperimentsPages(params, +// func(page *fis.ListExperimentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FIS) ListExperimentsPages(input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool) error { return c.ListExperimentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -964,14 +958,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListTagsForResource func (c *FIS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1038,14 +1031,13 @@ const opListTargetResourceTypes = "ListTargetResourceTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTargetResourceTypesRequest method. +// req, resp := client.ListTargetResourceTypesRequest(params) // -// // Example sending a request using the ListTargetResourceTypesRequest method. -// req, resp := client.ListTargetResourceTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListTargetResourceTypes func (c *FIS) ListTargetResourceTypesRequest(input *ListTargetResourceTypesInput) (req *request.Request, output *ListTargetResourceTypesOutput) { @@ -1082,9 +1074,9 @@ func (c *FIS) ListTargetResourceTypesRequest(input *ListTargetResourceTypesInput // API operation ListTargetResourceTypes for usage and error information. // // Returned Error Types: -// * ValidationException -// The specified input is not valid, or fails to satisfy the constraints for -// the request. +// - ValidationException +// The specified input is not valid, or fails to satisfy the constraints for +// the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/ListTargetResourceTypes func (c *FIS) ListTargetResourceTypes(input *ListTargetResourceTypesInput) (*ListTargetResourceTypesOutput, error) { @@ -1116,15 +1108,14 @@ func (c *FIS) ListTargetResourceTypesWithContext(ctx aws.Context, input *ListTar // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTargetResourceTypes operation. -// pageNum := 0 -// err := client.ListTargetResourceTypesPages(params, -// func(page *fis.ListTargetResourceTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTargetResourceTypes operation. +// pageNum := 0 +// err := client.ListTargetResourceTypesPages(params, +// func(page *fis.ListTargetResourceTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FIS) ListTargetResourceTypesPages(input *ListTargetResourceTypesInput, fn func(*ListTargetResourceTypesOutput, bool) bool) error { return c.ListTargetResourceTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1176,14 +1167,13 @@ const opStartExperiment = "StartExperiment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartExperimentRequest method. +// req, resp := client.StartExperimentRequest(params) // -// // Example sending a request using the StartExperimentRequest method. -// req, resp := client.StartExperimentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StartExperiment func (c *FIS) StartExperimentRequest(input *StartExperimentInput) (req *request.Request, output *StartExperimentOutput) { @@ -1214,18 +1204,19 @@ func (c *FIS) StartExperimentRequest(input *StartExperimentInput) (req *request. // API operation StartExperiment for usage and error information. // // Returned Error Types: -// * ValidationException -// The specified input is not valid, or fails to satisfy the constraints for -// the request. // -// * ConflictException -// The request could not be processed because of a conflict. +// - ValidationException +// The specified input is not valid, or fails to satisfy the constraints for +// the request. // -// * ResourceNotFoundException -// The specified resource cannot be found. +// - ConflictException +// The request could not be processed because of a conflict. // -// * ServiceQuotaExceededException -// You have exceeded your service quota. +// - ResourceNotFoundException +// The specified resource cannot be found. +// +// - ServiceQuotaExceededException +// You have exceeded your service quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StartExperiment func (c *FIS) StartExperiment(input *StartExperimentInput) (*StartExperimentOutput, error) { @@ -1265,14 +1256,13 @@ const opStopExperiment = "StopExperiment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopExperimentRequest method. +// req, resp := client.StopExperimentRequest(params) // -// // Example sending a request using the StopExperimentRequest method. -// req, resp := client.StopExperimentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StopExperiment func (c *FIS) StopExperimentRequest(input *StopExperimentInput) (req *request.Request, output *StopExperimentOutput) { @@ -1303,12 +1293,13 @@ func (c *FIS) StopExperimentRequest(input *StopExperimentInput) (req *request.Re // API operation StopExperiment for usage and error information. // // Returned Error Types: -// * ValidationException -// The specified input is not valid, or fails to satisfy the constraints for -// the request. // -// * ResourceNotFoundException -// The specified resource cannot be found. +// - ValidationException +// The specified input is not valid, or fails to satisfy the constraints for +// the request. +// +// - ResourceNotFoundException +// The specified resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/StopExperiment func (c *FIS) StopExperiment(input *StopExperimentInput) (*StopExperimentOutput, error) { @@ -1348,14 +1339,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/TagResource func (c *FIS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1423,14 +1413,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UntagResource func (c *FIS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1498,14 +1487,13 @@ const opUpdateExperimentTemplate = "UpdateExperimentTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateExperimentTemplateRequest method. +// req, resp := client.UpdateExperimentTemplateRequest(params) // -// // Example sending a request using the UpdateExperimentTemplateRequest method. -// req, resp := client.UpdateExperimentTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateExperimentTemplate func (c *FIS) UpdateExperimentTemplateRequest(input *UpdateExperimentTemplateInput) (req *request.Request, output *UpdateExperimentTemplateOutput) { @@ -1536,15 +1524,16 @@ func (c *FIS) UpdateExperimentTemplateRequest(input *UpdateExperimentTemplateInp // API operation UpdateExperimentTemplate for usage and error information. // // Returned Error Types: -// * ValidationException -// The specified input is not valid, or fails to satisfy the constraints for -// the request. // -// * ResourceNotFoundException -// The specified resource cannot be found. +// - ValidationException +// The specified input is not valid, or fails to satisfy the constraints for +// the request. +// +// - ResourceNotFoundException +// The specified resource cannot be found. // -// * ServiceQuotaExceededException -// You have exceeded your service quota. +// - ServiceQuotaExceededException +// You have exceeded your service quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fis-2020-12-01/UpdateExperimentTemplate func (c *FIS) UpdateExperimentTemplate(input *UpdateExperimentTemplateInput) (*UpdateExperimentTemplateOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/doc.go index f1d069e049cb..c94844c58c4d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/doc.go @@ -12,7 +12,7 @@ // See fis package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/fis/ // -// Using the Client +// # Using the Client // // To contact AWS Fault Injection Simulator with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/fisiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/fisiface/interface.go index c491568023c9..3c5b0c793274 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/fisiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/fisiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Fault Injection Simulator. -// func myFunc(svc fisiface.FISAPI) bool { -// // Make svc.CreateExperimentTemplate request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Fault Injection Simulator. +// func myFunc(svc fisiface.FISAPI) bool { +// // Make svc.CreateExperimentTemplate request +// } // -// func main() { -// sess := session.New() -// svc := fis.New(sess) +// func main() { +// sess := session.New() +// svc := fis.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockFISClient struct { -// fisiface.FISAPI -// } -// func (m *mockFISClient) CreateExperimentTemplate(input *fis.CreateExperimentTemplateInput) (*fis.CreateExperimentTemplateOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockFISClient struct { +// fisiface.FISAPI +// } +// func (m *mockFISClient) CreateExperimentTemplate(input *fis.CreateExperimentTemplateInput) (*fis.CreateExperimentTemplateOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockFISClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockFISClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/service.go index 0aedf754b041..93507c5a391d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fis/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a FIS client from just a session. -// svc := fis.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a FIS client with additional configuration -// svc := fis.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a FIS client from just a session. +// svc := fis.New(mySession) +// +// // Create a FIS client with additional configuration +// svc := fis.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *FIS { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/api.go index dc67aa99ebd8..8077ca7424b0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/api.go @@ -29,14 +29,13 @@ const opAssociateAdminAccount = "AssociateAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateAdminAccountRequest method. +// req, resp := client.AssociateAdminAccountRequest(params) // -// // Example sending a request using the AssociateAdminAccountRequest method. -// req, resp := client.AssociateAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/AssociateAdminAccount func (c *FMS) AssociateAdminAccountRequest(input *AssociateAdminAccountInput) (req *request.Request, output *AssociateAdminAccountOutput) { @@ -74,29 +73,30 @@ func (c *FMS) AssociateAdminAccountRequest(input *AssociateAdminAccountInput) (r // API operation AssociateAdminAccount for usage and error information. // // Returned Error Types: -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. -// -// * InvalidInputException -// The parameters of the request were invalid. -// -// * ResourceNotFoundException -// The specified resource was not found. -// -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. -// -// * LimitExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// policy objects that you can create for an Amazon Web Services account. For -// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) -// in the WAF Developer Guide. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InvalidInputException +// The parameters of the request were invalid. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - LimitExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// policy objects that you can create for an Amazon Web Services account. For +// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) +// in the WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/AssociateAdminAccount func (c *FMS) AssociateAdminAccount(input *AssociateAdminAccountInput) (*AssociateAdminAccountOutput, error) { @@ -136,14 +136,13 @@ const opAssociateThirdPartyFirewall = "AssociateThirdPartyFirewall" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateThirdPartyFirewallRequest method. +// req, resp := client.AssociateThirdPartyFirewallRequest(params) // -// // Example sending a request using the AssociateThirdPartyFirewallRequest method. -// req, resp := client.AssociateThirdPartyFirewallRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/AssociateThirdPartyFirewall func (c *FMS) AssociateThirdPartyFirewallRequest(input *AssociateThirdPartyFirewallInput) (req *request.Request, output *AssociateThirdPartyFirewallOutput) { @@ -177,23 +176,24 @@ func (c *FMS) AssociateThirdPartyFirewallRequest(input *AssociateThirdPartyFirew // API operation AssociateThirdPartyFirewall for usage and error information. // // Returned Error Types: -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. // -// * InvalidInputException -// The parameters of the request were invalid. +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InvalidInputException +// The parameters of the request were invalid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/AssociateThirdPartyFirewall func (c *FMS) AssociateThirdPartyFirewall(input *AssociateThirdPartyFirewallInput) (*AssociateThirdPartyFirewallOutput, error) { @@ -233,14 +233,13 @@ const opDeleteAppsList = "DeleteAppsList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppsListRequest method. +// req, resp := client.DeleteAppsListRequest(params) // -// // Example sending a request using the DeleteAppsListRequest method. -// req, resp := client.DeleteAppsListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeleteAppsList func (c *FMS) DeleteAppsListRequest(input *DeleteAppsListInput) (req *request.Request, output *DeleteAppsListOutput) { @@ -272,20 +271,21 @@ func (c *FMS) DeleteAppsListRequest(input *DeleteAppsListInput) (req *request.Re // API operation DeleteAppsList for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeleteAppsList func (c *FMS) DeleteAppsList(input *DeleteAppsListInput) (*DeleteAppsListOutput, error) { @@ -325,14 +325,13 @@ const opDeleteNotificationChannel = "DeleteNotificationChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNotificationChannelRequest method. +// req, resp := client.DeleteNotificationChannelRequest(params) // -// // Example sending a request using the DeleteNotificationChannelRequest method. -// req, resp := client.DeleteNotificationChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeleteNotificationChannel func (c *FMS) DeleteNotificationChannelRequest(input *DeleteNotificationChannelInput) (req *request.Request, output *DeleteNotificationChannelOutput) { @@ -366,20 +365,21 @@ func (c *FMS) DeleteNotificationChannelRequest(input *DeleteNotificationChannelI // API operation DeleteNotificationChannel for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeleteNotificationChannel func (c *FMS) DeleteNotificationChannel(input *DeleteNotificationChannelInput) (*DeleteNotificationChannelOutput, error) { @@ -419,14 +419,13 @@ const opDeletePolicy = "DeletePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePolicyRequest method. +// req, resp := client.DeletePolicyRequest(params) // -// // Example sending a request using the DeletePolicyRequest method. -// req, resp := client.DeletePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeletePolicy func (c *FMS) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Request, output *DeletePolicyOutput) { @@ -458,29 +457,30 @@ func (c *FMS) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Reques // API operation DeletePolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. -// -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. -// -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. -// -// * InvalidInputException -// The parameters of the request were invalid. -// -// * LimitExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// policy objects that you can create for an Amazon Web Services account. For -// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) -// in the WAF Developer Guide. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidInputException +// The parameters of the request were invalid. +// +// - LimitExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// policy objects that you can create for an Amazon Web Services account. For +// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) +// in the WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeletePolicy func (c *FMS) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error) { @@ -520,14 +520,13 @@ const opDeleteProtocolsList = "DeleteProtocolsList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProtocolsListRequest method. +// req, resp := client.DeleteProtocolsListRequest(params) // -// // Example sending a request using the DeleteProtocolsListRequest method. -// req, resp := client.DeleteProtocolsListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeleteProtocolsList func (c *FMS) DeleteProtocolsListRequest(input *DeleteProtocolsListInput) (req *request.Request, output *DeleteProtocolsListOutput) { @@ -559,20 +558,21 @@ func (c *FMS) DeleteProtocolsListRequest(input *DeleteProtocolsListInput) (req * // API operation DeleteProtocolsList for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DeleteProtocolsList func (c *FMS) DeleteProtocolsList(input *DeleteProtocolsListInput) (*DeleteProtocolsListOutput, error) { @@ -612,14 +612,13 @@ const opDisassociateAdminAccount = "DisassociateAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateAdminAccountRequest method. +// req, resp := client.DisassociateAdminAccountRequest(params) // -// // Example sending a request using the DisassociateAdminAccountRequest method. -// req, resp := client.DisassociateAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DisassociateAdminAccount func (c *FMS) DisassociateAdminAccountRequest(input *DisassociateAdminAccountInput) (req *request.Request, output *DisassociateAdminAccountOutput) { @@ -653,20 +652,21 @@ func (c *FMS) DisassociateAdminAccountRequest(input *DisassociateAdminAccountInp // API operation DisassociateAdminAccount for usage and error information. // // Returned Error Types: -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DisassociateAdminAccount func (c *FMS) DisassociateAdminAccount(input *DisassociateAdminAccountInput) (*DisassociateAdminAccountOutput, error) { @@ -706,14 +706,13 @@ const opDisassociateThirdPartyFirewall = "DisassociateThirdPartyFirewall" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateThirdPartyFirewallRequest method. +// req, resp := client.DisassociateThirdPartyFirewallRequest(params) // -// // Example sending a request using the DisassociateThirdPartyFirewallRequest method. -// req, resp := client.DisassociateThirdPartyFirewallRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DisassociateThirdPartyFirewall func (c *FMS) DisassociateThirdPartyFirewallRequest(input *DisassociateThirdPartyFirewallInput) (req *request.Request, output *DisassociateThirdPartyFirewallOutput) { @@ -747,23 +746,24 @@ func (c *FMS) DisassociateThirdPartyFirewallRequest(input *DisassociateThirdPart // API operation DisassociateThirdPartyFirewall for usage and error information. // // Returned Error Types: -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. // -// * InvalidInputException -// The parameters of the request were invalid. +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InvalidInputException +// The parameters of the request were invalid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/DisassociateThirdPartyFirewall func (c *FMS) DisassociateThirdPartyFirewall(input *DisassociateThirdPartyFirewallInput) (*DisassociateThirdPartyFirewallOutput, error) { @@ -803,14 +803,13 @@ const opGetAdminAccount = "GetAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAdminAccountRequest method. +// req, resp := client.GetAdminAccountRequest(params) // -// // Example sending a request using the GetAdminAccountRequest method. -// req, resp := client.GetAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetAdminAccount func (c *FMS) GetAdminAccountRequest(input *GetAdminAccountInput) (req *request.Request, output *GetAdminAccountOutput) { @@ -842,20 +841,21 @@ func (c *FMS) GetAdminAccountRequest(input *GetAdminAccountInput) (req *request. // API operation GetAdminAccount for usage and error information. // // Returned Error Types: -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetAdminAccount func (c *FMS) GetAdminAccount(input *GetAdminAccountInput) (*GetAdminAccountOutput, error) { @@ -895,14 +895,13 @@ const opGetAppsList = "GetAppsList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAppsListRequest method. +// req, resp := client.GetAppsListRequest(params) // -// // Example sending a request using the GetAppsListRequest method. -// req, resp := client.GetAppsListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetAppsList func (c *FMS) GetAppsListRequest(input *GetAppsListInput) (req *request.Request, output *GetAppsListOutput) { @@ -933,20 +932,21 @@ func (c *FMS) GetAppsListRequest(input *GetAppsListInput) (req *request.Request, // API operation GetAppsList for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetAppsList func (c *FMS) GetAppsList(input *GetAppsListInput) (*GetAppsListOutput, error) { @@ -986,14 +986,13 @@ const opGetComplianceDetail = "GetComplianceDetail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetComplianceDetailRequest method. +// req, resp := client.GetComplianceDetailRequest(params) // -// // Example sending a request using the GetComplianceDetailRequest method. -// req, resp := client.GetComplianceDetailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetComplianceDetail func (c *FMS) GetComplianceDetailRequest(input *GetComplianceDetailInput) (req *request.Request, output *GetComplianceDetailOutput) { @@ -1018,22 +1017,22 @@ func (c *FMS) GetComplianceDetailRequest(input *GetComplianceDetailInput) (req * // Details include resources that are in and out of compliance with the specified // policy. // -// * Resources are considered noncompliant for WAF and Shield Advanced policies -// if the specified policy has not been applied to them. +// - Resources are considered noncompliant for WAF and Shield Advanced policies +// if the specified policy has not been applied to them. // -// * Resources are considered noncompliant for security group policies if -// they are in scope of the policy, they violate one or more of the policy -// rules, and remediation is disabled or not possible. +// - Resources are considered noncompliant for security group policies if +// they are in scope of the policy, they violate one or more of the policy +// rules, and remediation is disabled or not possible. // -// * Resources are considered noncompliant for Network Firewall policies -// if a firewall is missing in the VPC, if the firewall endpoint isn't set -// up in an expected Availability Zone and subnet, if a subnet created by -// the Firewall Manager doesn't have the expected route table, and for modifications -// to a firewall policy that violate the Firewall Manager policy's rules. +// - Resources are considered noncompliant for Network Firewall policies +// if a firewall is missing in the VPC, if the firewall endpoint isn't set +// up in an expected Availability Zone and subnet, if a subnet created by +// the Firewall Manager doesn't have the expected route table, and for modifications +// to a firewall policy that violate the Firewall Manager policy's rules. // -// * Resources are considered noncompliant for DNS Firewall policies if a -// DNS Firewall rule group is missing from the rule group associations for -// the VPC. +// - Resources are considered noncompliant for DNS Firewall policies if a +// DNS Firewall rule group is missing from the rule group associations for +// the VPC. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1043,23 +1042,24 @@ func (c *FMS) GetComplianceDetailRequest(input *GetComplianceDetailInput) (req * // API operation GetComplianceDetail for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidInputException -// The parameters of the request were invalid. +// - InvalidInputException +// The parameters of the request were invalid. // -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetComplianceDetail func (c *FMS) GetComplianceDetail(input *GetComplianceDetailInput) (*GetComplianceDetailOutput, error) { @@ -1099,14 +1099,13 @@ const opGetNotificationChannel = "GetNotificationChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNotificationChannelRequest method. +// req, resp := client.GetNotificationChannelRequest(params) // -// // Example sending a request using the GetNotificationChannelRequest method. -// req, resp := client.GetNotificationChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetNotificationChannel func (c *FMS) GetNotificationChannelRequest(input *GetNotificationChannelInput) (req *request.Request, output *GetNotificationChannelOutput) { @@ -1138,20 +1137,21 @@ func (c *FMS) GetNotificationChannelRequest(input *GetNotificationChannelInput) // API operation GetNotificationChannel for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetNotificationChannel func (c *FMS) GetNotificationChannel(input *GetNotificationChannelInput) (*GetNotificationChannelOutput, error) { @@ -1191,14 +1191,13 @@ const opGetPolicy = "GetPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPolicyRequest method. +// req, resp := client.GetPolicyRequest(params) // -// // Example sending a request using the GetPolicyRequest method. -// req, resp := client.GetPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetPolicy func (c *FMS) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput) { @@ -1229,23 +1228,24 @@ func (c *FMS) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, out // API operation GetPolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. // -// * InvalidTypeException -// The value of the Type parameter is invalid. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidTypeException +// The value of the Type parameter is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetPolicy func (c *FMS) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error) { @@ -1285,14 +1285,13 @@ const opGetProtectionStatus = "GetProtectionStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetProtectionStatusRequest method. +// req, resp := client.GetProtectionStatusRequest(params) // -// // Example sending a request using the GetProtectionStatusRequest method. -// req, resp := client.GetProtectionStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetProtectionStatus func (c *FMS) GetProtectionStatusRequest(input *GetProtectionStatusInput) (req *request.Request, output *GetProtectionStatusOutput) { @@ -1325,15 +1324,16 @@ func (c *FMS) GetProtectionStatusRequest(input *GetProtectionStatusInput) (req * // API operation GetProtectionStatus for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The parameters of the request were invalid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidInputException +// The parameters of the request were invalid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetProtectionStatus func (c *FMS) GetProtectionStatus(input *GetProtectionStatusInput) (*GetProtectionStatusOutput, error) { @@ -1373,14 +1373,13 @@ const opGetProtocolsList = "GetProtocolsList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetProtocolsListRequest method. +// req, resp := client.GetProtocolsListRequest(params) // -// // Example sending a request using the GetProtocolsListRequest method. -// req, resp := client.GetProtocolsListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetProtocolsList func (c *FMS) GetProtocolsListRequest(input *GetProtocolsListInput) (req *request.Request, output *GetProtocolsListOutput) { @@ -1411,20 +1410,21 @@ func (c *FMS) GetProtocolsListRequest(input *GetProtocolsListInput) (req *reques // API operation GetProtocolsList for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetProtocolsList func (c *FMS) GetProtocolsList(input *GetProtocolsListInput) (*GetProtocolsListOutput, error) { @@ -1464,14 +1464,13 @@ const opGetThirdPartyFirewallAssociationStatus = "GetThirdPartyFirewallAssociati // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetThirdPartyFirewallAssociationStatusRequest method. +// req, resp := client.GetThirdPartyFirewallAssociationStatusRequest(params) // -// // Example sending a request using the GetThirdPartyFirewallAssociationStatusRequest method. -// req, resp := client.GetThirdPartyFirewallAssociationStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetThirdPartyFirewallAssociationStatus func (c *FMS) GetThirdPartyFirewallAssociationStatusRequest(input *GetThirdPartyFirewallAssociationStatusInput) (req *request.Request, output *GetThirdPartyFirewallAssociationStatusOutput) { @@ -1503,23 +1502,24 @@ func (c *FMS) GetThirdPartyFirewallAssociationStatusRequest(input *GetThirdParty // API operation GetThirdPartyFirewallAssociationStatus for usage and error information. // // Returned Error Types: -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. // -// * InvalidInputException -// The parameters of the request were invalid. +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidInputException +// The parameters of the request were invalid. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetThirdPartyFirewallAssociationStatus func (c *FMS) GetThirdPartyFirewallAssociationStatus(input *GetThirdPartyFirewallAssociationStatusInput) (*GetThirdPartyFirewallAssociationStatusOutput, error) { @@ -1559,14 +1559,13 @@ const opGetViolationDetails = "GetViolationDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetViolationDetailsRequest method. +// req, resp := client.GetViolationDetailsRequest(params) // -// // Example sending a request using the GetViolationDetailsRequest method. -// req, resp := client.GetViolationDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetViolationDetails func (c *FMS) GetViolationDetailsRequest(input *GetViolationDetailsInput) (req *request.Request, output *GetViolationDetailsOutput) { @@ -1598,15 +1597,16 @@ func (c *FMS) GetViolationDetailsRequest(input *GetViolationDetailsInput) (req * // API operation GetViolationDetails for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidInputException -// The parameters of the request were invalid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidInputException +// The parameters of the request were invalid. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetViolationDetails func (c *FMS) GetViolationDetails(input *GetViolationDetailsInput) (*GetViolationDetailsOutput, error) { @@ -1646,14 +1646,13 @@ const opListAppsLists = "ListAppsLists" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppsListsRequest method. +// req, resp := client.ListAppsListsRequest(params) // -// // Example sending a request using the ListAppsListsRequest method. -// req, resp := client.ListAppsListsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListAppsLists func (c *FMS) ListAppsListsRequest(input *ListAppsListsInput) (req *request.Request, output *ListAppsListsOutput) { @@ -1690,26 +1689,27 @@ func (c *FMS) ListAppsListsRequest(input *ListAppsListsInput) (req *request.Requ // API operation ListAppsLists for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. -// -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. -// -// * LimitExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// policy objects that you can create for an Amazon Web Services account. For -// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) -// in the WAF Developer Guide. -// -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - LimitExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// policy objects that you can create for an Amazon Web Services account. For +// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) +// in the WAF Developer Guide. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListAppsLists func (c *FMS) ListAppsLists(input *ListAppsListsInput) (*ListAppsListsOutput, error) { @@ -1741,15 +1741,14 @@ func (c *FMS) ListAppsListsWithContext(ctx aws.Context, input *ListAppsListsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppsLists operation. -// pageNum := 0 -// err := client.ListAppsListsPages(params, -// func(page *fms.ListAppsListsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppsLists operation. +// pageNum := 0 +// err := client.ListAppsListsPages(params, +// func(page *fms.ListAppsListsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FMS) ListAppsListsPages(input *ListAppsListsInput, fn func(*ListAppsListsOutput, bool) bool) error { return c.ListAppsListsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1801,14 +1800,13 @@ const opListComplianceStatus = "ListComplianceStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListComplianceStatusRequest method. +// req, resp := client.ListComplianceStatusRequest(params) // -// // Example sending a request using the ListComplianceStatusRequest method. -// req, resp := client.ListComplianceStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListComplianceStatus func (c *FMS) ListComplianceStatusRequest(input *ListComplianceStatusInput) (req *request.Request, output *ListComplianceStatusOutput) { @@ -1847,12 +1845,13 @@ func (c *FMS) ListComplianceStatusRequest(input *ListComplianceStatusInput) (req // API operation ListComplianceStatus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListComplianceStatus func (c *FMS) ListComplianceStatus(input *ListComplianceStatusInput) (*ListComplianceStatusOutput, error) { @@ -1884,15 +1883,14 @@ func (c *FMS) ListComplianceStatusWithContext(ctx aws.Context, input *ListCompli // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListComplianceStatus operation. -// pageNum := 0 -// err := client.ListComplianceStatusPages(params, -// func(page *fms.ListComplianceStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListComplianceStatus operation. +// pageNum := 0 +// err := client.ListComplianceStatusPages(params, +// func(page *fms.ListComplianceStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FMS) ListComplianceStatusPages(input *ListComplianceStatusInput, fn func(*ListComplianceStatusOutput, bool) bool) error { return c.ListComplianceStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1944,14 +1942,13 @@ const opListMemberAccounts = "ListMemberAccounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMemberAccountsRequest method. +// req, resp := client.ListMemberAccountsRequest(params) // -// // Example sending a request using the ListMemberAccountsRequest method. -// req, resp := client.ListMemberAccountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListMemberAccounts func (c *FMS) ListMemberAccountsRequest(input *ListMemberAccountsInput) (req *request.Request, output *ListMemberAccountsOutput) { @@ -1992,12 +1989,13 @@ func (c *FMS) ListMemberAccountsRequest(input *ListMemberAccountsInput) (req *re // API operation ListMemberAccounts for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListMemberAccounts func (c *FMS) ListMemberAccounts(input *ListMemberAccountsInput) (*ListMemberAccountsOutput, error) { @@ -2029,15 +2027,14 @@ func (c *FMS) ListMemberAccountsWithContext(ctx aws.Context, input *ListMemberAc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMemberAccounts operation. -// pageNum := 0 -// err := client.ListMemberAccountsPages(params, -// func(page *fms.ListMemberAccountsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMemberAccounts operation. +// pageNum := 0 +// err := client.ListMemberAccountsPages(params, +// func(page *fms.ListMemberAccountsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FMS) ListMemberAccountsPages(input *ListMemberAccountsInput, fn func(*ListMemberAccountsOutput, bool) bool) error { return c.ListMemberAccountsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2089,14 +2086,13 @@ const opListPolicies = "ListPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPoliciesRequest method. +// req, resp := client.ListPoliciesRequest(params) // -// // Example sending a request using the ListPoliciesRequest method. -// req, resp := client.ListPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListPolicies func (c *FMS) ListPoliciesRequest(input *ListPoliciesInput) (req *request.Request, output *ListPoliciesOutput) { @@ -2133,26 +2129,27 @@ func (c *FMS) ListPoliciesRequest(input *ListPoliciesInput) (req *request.Reques // API operation ListPolicies for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. -// -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. -// -// * LimitExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// policy objects that you can create for an Amazon Web Services account. For -// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) -// in the WAF Developer Guide. -// -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - LimitExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// policy objects that you can create for an Amazon Web Services account. For +// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) +// in the WAF Developer Guide. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListPolicies func (c *FMS) ListPolicies(input *ListPoliciesInput) (*ListPoliciesOutput, error) { @@ -2184,15 +2181,14 @@ func (c *FMS) ListPoliciesWithContext(ctx aws.Context, input *ListPoliciesInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPolicies operation. -// pageNum := 0 -// err := client.ListPoliciesPages(params, -// func(page *fms.ListPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPolicies operation. +// pageNum := 0 +// err := client.ListPoliciesPages(params, +// func(page *fms.ListPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FMS) ListPoliciesPages(input *ListPoliciesInput, fn func(*ListPoliciesOutput, bool) bool) error { return c.ListPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2244,14 +2240,13 @@ const opListProtocolsLists = "ListProtocolsLists" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProtocolsListsRequest method. +// req, resp := client.ListProtocolsListsRequest(params) // -// // Example sending a request using the ListProtocolsListsRequest method. -// req, resp := client.ListProtocolsListsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListProtocolsLists func (c *FMS) ListProtocolsListsRequest(input *ListProtocolsListsInput) (req *request.Request, output *ListProtocolsListsOutput) { @@ -2288,20 +2283,21 @@ func (c *FMS) ListProtocolsListsRequest(input *ListProtocolsListsInput) (req *re // API operation ListProtocolsLists for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListProtocolsLists func (c *FMS) ListProtocolsLists(input *ListProtocolsListsInput) (*ListProtocolsListsOutput, error) { @@ -2333,15 +2329,14 @@ func (c *FMS) ListProtocolsListsWithContext(ctx aws.Context, input *ListProtocol // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProtocolsLists operation. -// pageNum := 0 -// err := client.ListProtocolsListsPages(params, -// func(page *fms.ListProtocolsListsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProtocolsLists operation. +// pageNum := 0 +// err := client.ListProtocolsListsPages(params, +// func(page *fms.ListProtocolsListsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FMS) ListProtocolsListsPages(input *ListProtocolsListsInput, fn func(*ListProtocolsListsOutput, bool) bool) error { return c.ListProtocolsListsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2393,14 +2388,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListTagsForResource func (c *FMS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2431,23 +2425,24 @@ func (c *FMS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidInputException -// The parameters of the request were invalid. +// - InvalidInputException +// The parameters of the request were invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListTagsForResource func (c *FMS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2487,14 +2482,13 @@ const opListThirdPartyFirewallFirewallPolicies = "ListThirdPartyFirewallFirewall // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThirdPartyFirewallFirewallPoliciesRequest method. +// req, resp := client.ListThirdPartyFirewallFirewallPoliciesRequest(params) // -// // Example sending a request using the ListThirdPartyFirewallFirewallPoliciesRequest method. -// req, resp := client.ListThirdPartyFirewallFirewallPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListThirdPartyFirewallFirewallPolicies func (c *FMS) ListThirdPartyFirewallFirewallPoliciesRequest(input *ListThirdPartyFirewallFirewallPoliciesInput) (req *request.Request, output *ListThirdPartyFirewallFirewallPoliciesOutput) { @@ -2532,23 +2526,24 @@ func (c *FMS) ListThirdPartyFirewallFirewallPoliciesRequest(input *ListThirdPart // API operation ListThirdPartyFirewallFirewallPolicies for usage and error information. // // Returned Error Types: -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. // -// * InvalidInputException -// The parameters of the request were invalid. +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidInputException +// The parameters of the request were invalid. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListThirdPartyFirewallFirewallPolicies func (c *FMS) ListThirdPartyFirewallFirewallPolicies(input *ListThirdPartyFirewallFirewallPoliciesInput) (*ListThirdPartyFirewallFirewallPoliciesOutput, error) { @@ -2580,15 +2575,14 @@ func (c *FMS) ListThirdPartyFirewallFirewallPoliciesWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListThirdPartyFirewallFirewallPolicies operation. -// pageNum := 0 -// err := client.ListThirdPartyFirewallFirewallPoliciesPages(params, -// func(page *fms.ListThirdPartyFirewallFirewallPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListThirdPartyFirewallFirewallPolicies operation. +// pageNum := 0 +// err := client.ListThirdPartyFirewallFirewallPoliciesPages(params, +// func(page *fms.ListThirdPartyFirewallFirewallPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FMS) ListThirdPartyFirewallFirewallPoliciesPages(input *ListThirdPartyFirewallFirewallPoliciesInput, fn func(*ListThirdPartyFirewallFirewallPoliciesOutput, bool) bool) error { return c.ListThirdPartyFirewallFirewallPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2640,14 +2634,13 @@ const opPutAppsList = "PutAppsList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAppsListRequest method. +// req, resp := client.PutAppsListRequest(params) // -// // Example sending a request using the PutAppsListRequest method. -// req, resp := client.PutAppsListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutAppsList func (c *FMS) PutAppsListRequest(input *PutAppsListInput) (req *request.Request, output *PutAppsListOutput) { @@ -2678,29 +2671,30 @@ func (c *FMS) PutAppsListRequest(input *PutAppsListInput) (req *request.Request, // API operation PutAppsList for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. -// -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. -// -// * InvalidInputException -// The parameters of the request were invalid. -// -// * LimitExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// policy objects that you can create for an Amazon Web Services account. For -// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) -// in the WAF Developer Guide. -// -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InvalidInputException +// The parameters of the request were invalid. +// +// - LimitExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// policy objects that you can create for an Amazon Web Services account. For +// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) +// in the WAF Developer Guide. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutAppsList func (c *FMS) PutAppsList(input *PutAppsListInput) (*PutAppsListOutput, error) { @@ -2740,14 +2734,13 @@ const opPutNotificationChannel = "PutNotificationChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutNotificationChannelRequest method. +// req, resp := client.PutNotificationChannelRequest(params) // -// // Example sending a request using the PutNotificationChannelRequest method. -// req, resp := client.PutNotificationChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutNotificationChannel func (c *FMS) PutNotificationChannelRequest(input *PutNotificationChannelInput) (req *request.Request, output *PutNotificationChannelOutput) { @@ -2786,20 +2779,21 @@ func (c *FMS) PutNotificationChannelRequest(input *PutNotificationChannelInput) // API operation PutNotificationChannel for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutNotificationChannel func (c *FMS) PutNotificationChannel(input *PutNotificationChannelInput) (*PutNotificationChannelOutput, error) { @@ -2839,14 +2833,13 @@ const opPutPolicy = "PutPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPolicyRequest method. +// req, resp := client.PutPolicyRequest(params) // -// // Example sending a request using the PutPolicyRequest method. -// req, resp := client.PutPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutPolicy func (c *FMS) PutPolicyRequest(input *PutPolicyInput) (req *request.Request, output *PutPolicyOutput) { @@ -2871,22 +2864,22 @@ func (c *FMS) PutPolicyRequest(input *PutPolicyInput) (req *request.Request, out // // Firewall Manager provides the following types of policies: // -// * An WAF policy (type WAFV2), which defines rule groups to run first in -// the corresponding WAF web ACL and rule groups to run last in the web ACL. +// - An WAF policy (type WAFV2), which defines rule groups to run first in +// the corresponding WAF web ACL and rule groups to run last in the web ACL. // -// * An WAF Classic policy (type WAF), which defines a rule group. +// - An WAF Classic policy (type WAF), which defines a rule group. // -// * A Shield Advanced policy, which applies Shield Advanced protection to -// specified accounts and resources. +// - A Shield Advanced policy, which applies Shield Advanced protection to +// specified accounts and resources. // -// * A security group policy, which manages VPC security groups across your -// Amazon Web Services organization. +// - A security group policy, which manages VPC security groups across your +// Amazon Web Services organization. // -// * An Network Firewall policy, which provides firewall rules to filter -// network traffic in specified Amazon VPCs. +// - An Network Firewall policy, which provides firewall rules to filter +// network traffic in specified Amazon VPCs. // -// * A DNS Firewall policy, which provides Route 53 Resolver DNS Firewall -// rules to filter DNS queries for specified VPCs. +// - A DNS Firewall policy, which provides Route 53 Resolver DNS Firewall +// rules to filter DNS queries for specified VPCs. // // Each policy is specific to one of the types. If you want to enforce more // than one policy type across accounts, create multiple policies. You can create @@ -2904,32 +2897,33 @@ func (c *FMS) PutPolicyRequest(input *PutPolicyInput) (req *request.Request, out // API operation PutPolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. // -// * InvalidInputException -// The parameters of the request were invalid. +// - InvalidInputException +// The parameters of the request were invalid. // -// * LimitExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// policy objects that you can create for an Amazon Web Services account. For -// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) -// in the WAF Developer Guide. +// - LimitExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// policy objects that you can create for an Amazon Web Services account. For +// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) +// in the WAF Developer Guide. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidTypeException -// The value of the Type parameter is invalid. +// - InvalidTypeException +// The value of the Type parameter is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutPolicy func (c *FMS) PutPolicy(input *PutPolicyInput) (*PutPolicyOutput, error) { @@ -2969,14 +2963,13 @@ const opPutProtocolsList = "PutProtocolsList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutProtocolsListRequest method. +// req, resp := client.PutProtocolsListRequest(params) // -// // Example sending a request using the PutProtocolsListRequest method. -// req, resp := client.PutProtocolsListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutProtocolsList func (c *FMS) PutProtocolsListRequest(input *PutProtocolsListInput) (req *request.Request, output *PutProtocolsListOutput) { @@ -3007,29 +3000,30 @@ func (c *FMS) PutProtocolsListRequest(input *PutProtocolsListInput) (req *reques // API operation PutProtocolsList for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. -// -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. -// -// * InvalidInputException -// The parameters of the request were invalid. -// -// * LimitExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// policy objects that you can create for an Amazon Web Services account. For -// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) -// in the WAF Developer Guide. -// -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InvalidInputException +// The parameters of the request were invalid. +// +// - LimitExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// policy objects that you can create for an Amazon Web Services account. For +// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) +// in the WAF Developer Guide. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutProtocolsList func (c *FMS) PutProtocolsList(input *PutProtocolsListInput) (*PutProtocolsListOutput, error) { @@ -3069,14 +3063,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/TagResource func (c *FMS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3108,29 +3101,30 @@ func (c *FMS) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. -// -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. -// -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. -// -// * InvalidInputException -// The parameters of the request were invalid. -// -// * LimitExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// policy objects that you can create for an Amazon Web Services account. For -// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) -// in the WAF Developer Guide. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidInputException +// The parameters of the request were invalid. +// +// - LimitExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// policy objects that you can create for an Amazon Web Services account. For +// more information, see Firewall Manager Limits (https://docs.aws.amazon.com/waf/latest/developerguide/fms-limits.html) +// in the WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/TagResource func (c *FMS) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3170,14 +3164,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/UntagResource func (c *FMS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3209,23 +3202,24 @@ func (c *FMS) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. -// -// * InvalidOperationException -// The operation failed because there was nothing to do or the operation wasn't -// possible. For example, you might have submitted an AssociateAdminAccount -// request for an account ID that was already set as the Firewall Manager administrator. -// Or you might have tried to access a Region that's disabled by default, and -// that you need to enable for the Firewall Manager administrator account and -// for Organizations before you can access it. -// -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. -// -// * InvalidInputException -// The parameters of the request were invalid. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidOperationException +// The operation failed because there was nothing to do or the operation wasn't +// possible. For example, you might have submitted an AssociateAdminAccount +// request for an account ID that was already set as the Firewall Manager administrator. +// Or you might have tried to access a Region that's disabled by default, and +// that you need to enable for the Firewall Manager administrator account and +// for Organizations before you can access it. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidInputException +// The parameters of the request were invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/UntagResource func (c *FMS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/doc.go index 89e3dea8d12a..2e223d339cb7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/doc.go @@ -17,7 +17,7 @@ // See fms package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/fms/ // -// Using the Client +// # Using the Client // // To contact Firewall Management Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/fmsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/fmsiface/interface.go index 66431126e993..3a57466d1846 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/fmsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/fmsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Firewall Management Service. -// func myFunc(svc fmsiface.FMSAPI) bool { -// // Make svc.AssociateAdminAccount request -// } +// // myFunc uses an SDK service client to make a request to +// // Firewall Management Service. +// func myFunc(svc fmsiface.FMSAPI) bool { +// // Make svc.AssociateAdminAccount request +// } // -// func main() { -// sess := session.New() -// svc := fms.New(sess) +// func main() { +// sess := session.New() +// svc := fms.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockFMSClient struct { -// fmsiface.FMSAPI -// } -// func (m *mockFMSClient) AssociateAdminAccount(input *fms.AssociateAdminAccountInput) (*fms.AssociateAdminAccountOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockFMSClient struct { +// fmsiface.FMSAPI +// } +// func (m *mockFMSClient) AssociateAdminAccount(input *fms.AssociateAdminAccountInput) (*fms.AssociateAdminAccountOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockFMSClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockFMSClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/service.go index 9e74ed21ce7c..21ddc248842f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fms/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a FMS client from just a session. -// svc := fms.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a FMS client with additional configuration -// svc := fms.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a FMS client from just a session. +// svc := fms.New(mySession) +// +// // Create a FMS client with additional configuration +// svc := fms.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *FMS { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/api.go index e2aee0e4052c..82aa4ee932d6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/api.go @@ -27,14 +27,13 @@ const opQueryForecast = "QueryForecast" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the QueryForecastRequest method. +// req, resp := client.QueryForecastRequest(params) // -// // Example sending a request using the QueryForecastRequest method. -// req, resp := client.QueryForecastRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecastquery-2018-06-26/QueryForecast func (c *ForecastQueryService) QueryForecastRequest(input *QueryForecastInput) (req *request.Request, output *QueryForecastOutput) { @@ -79,21 +78,22 @@ func (c *ForecastQueryService) QueryForecastRequest(input *QueryForecastInput) ( // API operation QueryForecast for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// We can't find that resource. Check the information that you've provided and -// try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// We can't find that resource. Check the information that you've provided and +// try again. +// +// - ResourceInUseException +// The specified resource is in use. // -// * InvalidInputException -// The value is invalid or is too long. +// - InvalidInputException +// The value is invalid or is too long. // -// * LimitExceededException -// The limit on the number of requests per second has been exceeded. +// - LimitExceededException +// The limit on the number of requests per second has been exceeded. // -// * InvalidNextTokenException -// The token is not valid. Tokens expire after 24 hours. +// - InvalidNextTokenException +// The token is not valid. Tokens expire after 24 hours. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecastquery-2018-06-26/QueryForecast func (c *ForecastQueryService) QueryForecast(input *QueryForecastInput) (*QueryForecastOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/doc.go index 14a216b98fc7..bb30ad4b5832 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/doc.go @@ -10,7 +10,7 @@ // See forecastqueryservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/forecastqueryservice/ // -// Using the Client +// # Using the Client // // To contact Amazon Forecast Query Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/forecastqueryserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/forecastqueryserviceiface/interface.go index f622825ceaac..cf6d7c9ada97 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/forecastqueryserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/forecastqueryserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Forecast Query Service. -// func myFunc(svc forecastqueryserviceiface.ForecastQueryServiceAPI) bool { -// // Make svc.QueryForecast request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Forecast Query Service. +// func myFunc(svc forecastqueryserviceiface.ForecastQueryServiceAPI) bool { +// // Make svc.QueryForecast request +// } // -// func main() { -// sess := session.New() -// svc := forecastqueryservice.New(sess) +// func main() { +// sess := session.New() +// svc := forecastqueryservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockForecastQueryServiceClient struct { -// forecastqueryserviceiface.ForecastQueryServiceAPI -// } -// func (m *mockForecastQueryServiceClient) QueryForecast(input *forecastqueryservice.QueryForecastInput) (*forecastqueryservice.QueryForecastOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockForecastQueryServiceClient struct { +// forecastqueryserviceiface.ForecastQueryServiceAPI +// } +// func (m *mockForecastQueryServiceClient) QueryForecast(input *forecastqueryservice.QueryForecastInput) (*forecastqueryservice.QueryForecastOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockForecastQueryServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockForecastQueryServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/service.go index e3437573a94c..e78eef952020 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastqueryservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ForecastQueryService client from just a session. -// svc := forecastqueryservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ForecastQueryService client with additional configuration -// svc := forecastqueryservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ForecastQueryService client from just a session. +// svc := forecastqueryservice.New(mySession) +// +// // Create a ForecastQueryService client with additional configuration +// svc := forecastqueryservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ForecastQueryService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/api.go index caa958246a59..76d9706c26d5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/api.go @@ -29,14 +29,13 @@ const opCreateAutoPredictor = "CreateAutoPredictor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAutoPredictorRequest method. +// req, resp := client.CreateAutoPredictorRequest(params) // -// // Example sending a request using the CreateAutoPredictorRequest method. -// req, resp := client.CreateAutoPredictorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateAutoPredictor func (c *ForecastService) CreateAutoPredictorRequest(input *CreateAutoPredictorInput) (req *request.Request, output *CreateAutoPredictorOutput) { @@ -64,29 +63,29 @@ func (c *ForecastService) CreateAutoPredictorRequest(input *CreateAutoPredictorI // You can use CreateAutoPredictor to create new predictors or upgrade/retrain // existing predictors. // -// Creating new predictors +// # Creating new predictors // // The following parameters are required when creating a new predictor: // -// * PredictorName - A unique name for the predictor. +// - PredictorName - A unique name for the predictor. // -// * DatasetGroupArn - The ARN of the dataset group used to train the predictor. +// - DatasetGroupArn - The ARN of the dataset group used to train the predictor. // -// * ForecastFrequency - The granularity of your forecasts (hourly, daily, -// weekly, etc). +// - ForecastFrequency - The granularity of your forecasts (hourly, daily, +// weekly, etc). // -// * ForecastHorizon - The number of time-steps that the model predicts. -// The forecast horizon is also called the prediction length. +// - ForecastHorizon - The number of time-steps that the model predicts. +// The forecast horizon is also called the prediction length. // // When creating a new predictor, do not specify a value for ReferencePredictorArn. // -// Upgrading and retraining predictors +// # Upgrading and retraining predictors // // The following parameters are required when retraining or upgrading a predictor: // -// * PredictorName - A unique name for the predictor. +// - PredictorName - A unique name for the predictor. // -// * ReferencePredictorArn - The ARN of the predictor to retrain or upgrade. +// - ReferencePredictorArn - The ARN of the predictor to retrain or upgrade. // // When upgrading or retraining a predictor, only specify values for the ReferencePredictorArn // and PredictorName. @@ -99,22 +98,23 @@ func (c *ForecastService) CreateAutoPredictorRequest(input *CreateAutoPredictorI // API operation CreateAutoPredictor for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceAlreadyExistsException -// There is already a resource with this name. Try again with a different name. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceAlreadyExistsException +// There is already a resource with this name. Try again with a different name. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // -// * LimitExceededException -// The limit on the number of resources per account has been exceeded. +// - LimitExceededException +// The limit on the number of resources per account has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateAutoPredictor func (c *ForecastService) CreateAutoPredictor(input *CreateAutoPredictorInput) (*CreateAutoPredictorOutput, error) { @@ -154,14 +154,13 @@ const opCreateDataset = "CreateDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatasetRequest method. +// req, resp := client.CreateDatasetRequest(params) // -// // Example sending a request using the CreateDatasetRequest method. -// req, resp := client.CreateDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateDataset func (c *ForecastService) CreateDatasetRequest(input *CreateDatasetInput) (req *request.Request, output *CreateDatasetOutput) { @@ -186,16 +185,16 @@ func (c *ForecastService) CreateDatasetRequest(input *CreateDatasetInput) (req * // you provide helps Forecast understand how to consume the data for model training. // This includes the following: // -// * DataFrequency - How frequently your historical time-series data is collected. +// - DataFrequency - How frequently your historical time-series data is collected. // -// * Domain and DatasetType - Each dataset has an associated dataset domain -// and a type within the domain. Amazon Forecast provides a list of predefined -// domains and types within each domain. For each unique dataset domain and -// type within the domain, Amazon Forecast requires your data to include -// a minimum set of predefined fields. +// - Domain and DatasetType - Each dataset has an associated dataset domain +// and a type within the domain. Amazon Forecast provides a list of predefined +// domains and types within each domain. For each unique dataset domain and +// type within the domain, Amazon Forecast requires your data to include +// a minimum set of predefined fields. // -// * Schema - A schema specifies the fields in the dataset, including the -// field name and data type. +// - Schema - A schema specifies the fields in the dataset, including the +// field name and data type. // // After creating a dataset, you import your training data into it and add the // dataset to a dataset group. You use the dataset group to create a predictor. @@ -219,15 +218,16 @@ func (c *ForecastService) CreateDatasetRequest(input *CreateDatasetInput) (req * // API operation CreateDataset for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceAlreadyExistsException -// There is already a resource with this name. Try again with a different name. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceAlreadyExistsException +// There is already a resource with this name. Try again with a different name. // -// * LimitExceededException -// The limit on the number of resources per account has been exceeded. +// - LimitExceededException +// The limit on the number of resources per account has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateDataset func (c *ForecastService) CreateDataset(input *CreateDatasetInput) (*CreateDatasetOutput, error) { @@ -267,14 +267,13 @@ const opCreateDatasetGroup = "CreateDatasetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatasetGroupRequest method. +// req, resp := client.CreateDatasetGroupRequest(params) // -// // Example sending a request using the CreateDatasetGroupRequest method. -// req, resp := client.CreateDatasetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateDatasetGroup func (c *ForecastService) CreateDatasetGroupRequest(input *CreateDatasetGroupInput) (req *request.Request, output *CreateDatasetGroupOutput) { @@ -319,22 +318,23 @@ func (c *ForecastService) CreateDatasetGroupRequest(input *CreateDatasetGroupInp // API operation CreateDatasetGroup for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceAlreadyExistsException -// There is already a resource with this name. Try again with a different name. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceAlreadyExistsException +// There is already a resource with this name. Try again with a different name. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // -// * LimitExceededException -// The limit on the number of resources per account has been exceeded. +// - LimitExceededException +// The limit on the number of resources per account has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateDatasetGroup func (c *ForecastService) CreateDatasetGroup(input *CreateDatasetGroupInput) (*CreateDatasetGroupOutput, error) { @@ -374,14 +374,13 @@ const opCreateDatasetImportJob = "CreateDatasetImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatasetImportJobRequest method. +// req, resp := client.CreateDatasetImportJobRequest(params) // -// // Example sending a request using the CreateDatasetImportJobRequest method. -// req, resp := client.CreateDatasetImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateDatasetImportJob func (c *ForecastService) CreateDatasetImportJobRequest(input *CreateDatasetImportJobInput) (req *request.Request, output *CreateDatasetImportJobOutput) { @@ -437,22 +436,23 @@ func (c *ForecastService) CreateDatasetImportJobRequest(input *CreateDatasetImpo // API operation CreateDatasetImportJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceAlreadyExistsException -// There is already a resource with this name. Try again with a different name. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceAlreadyExistsException +// There is already a resource with this name. Try again with a different name. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // -// * LimitExceededException -// The limit on the number of resources per account has been exceeded. +// - LimitExceededException +// The limit on the number of resources per account has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateDatasetImportJob func (c *ForecastService) CreateDatasetImportJob(input *CreateDatasetImportJobInput) (*CreateDatasetImportJobOutput, error) { @@ -492,14 +492,13 @@ const opCreateExplainability = "CreateExplainability" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateExplainabilityRequest method. +// req, resp := client.CreateExplainabilityRequest(params) // -// // Example sending a request using the CreateExplainabilityRequest method. -// req, resp := client.CreateExplainabilityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateExplainability func (c *ForecastService) CreateExplainabilityRequest(input *CreateExplainabilityInput) (req *request.Request, output *CreateExplainabilityOutput) { @@ -520,7 +519,6 @@ func (c *ForecastService) CreateExplainabilityRequest(input *CreateExplainabilit // CreateExplainability API operation for Amazon Forecast Service. // -// // Explainability is only available for Forecasts and Predictors generated from // an AutoPredictor (CreateAutoPredictor) // @@ -540,7 +538,7 @@ func (c *ForecastService) CreateExplainabilityRequest(input *CreateExplainabilit // provide a Predictor ARN. To receive Impact scores for specific time series // and time points, provide a Forecast ARN. // -// CreateExplainability with a Predictor ARN +// # CreateExplainability with a Predictor ARN // // You can only have one Explainability resource per predictor. If you already // enabled ExplainPredictor in CreateAutoPredictor, that predictor already has @@ -548,52 +546,52 @@ func (c *ForecastService) CreateExplainabilityRequest(input *CreateExplainabilit // // The following parameters are required when providing a Predictor ARN: // -// * ExplainabilityName - A unique name for the Explainability. +// - ExplainabilityName - A unique name for the Explainability. // -// * ResourceArn - The Arn of the predictor. +// - ResourceArn - The Arn of the predictor. // -// * TimePointGranularity - Must be set to “ALL”. +// - TimePointGranularity - Must be set to “ALL”. // -// * TimeSeriesGranularity - Must be set to “ALL”. +// - TimeSeriesGranularity - Must be set to “ALL”. // // Do not specify a value for the following parameters: // -// * DataSource - Only valid when TimeSeriesGranularity is “SPECIFIC”. +// - DataSource - Only valid when TimeSeriesGranularity is “SPECIFIC”. // -// * Schema - Only valid when TimeSeriesGranularity is “SPECIFIC”. +// - Schema - Only valid when TimeSeriesGranularity is “SPECIFIC”. // -// * StartDateTime - Only valid when TimePointGranularity is “SPECIFIC”. +// - StartDateTime - Only valid when TimePointGranularity is “SPECIFIC”. // -// * EndDateTime - Only valid when TimePointGranularity is “SPECIFIC”. +// - EndDateTime - Only valid when TimePointGranularity is “SPECIFIC”. // -// CreateExplainability with a Forecast ARN +// # CreateExplainability with a Forecast ARN // // You can specify a maximum of 50 time series and 500 time points. // // The following parameters are required when providing a Predictor ARN: // -// * ExplainabilityName - A unique name for the Explainability. +// - ExplainabilityName - A unique name for the Explainability. // -// * ResourceArn - The Arn of the forecast. +// - ResourceArn - The Arn of the forecast. // -// * TimePointGranularity - Either “ALL” or “SPECIFIC”. +// - TimePointGranularity - Either “ALL” or “SPECIFIC”. // -// * TimeSeriesGranularity - Either “ALL” or “SPECIFIC”. +// - TimeSeriesGranularity - Either “ALL” or “SPECIFIC”. // // If you set TimeSeriesGranularity to “SPECIFIC”, you must also provide // the following: // -// * DataSource - The S3 location of the CSV file specifying your time series. +// - DataSource - The S3 location of the CSV file specifying your time series. // -// * Schema - The Schema defines the attributes and attribute types listed -// in the Data Source. +// - Schema - The Schema defines the attributes and attribute types listed +// in the Data Source. // // If you set TimePointGranularity to “SPECIFIC”, you must also provide // the following: // -// * StartDateTime - The first timestamp in the range of time points. +// - StartDateTime - The first timestamp in the range of time points. // -// * EndDateTime - The last timestamp in the range of time points. +// - EndDateTime - The last timestamp in the range of time points. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -603,22 +601,23 @@ func (c *ForecastService) CreateExplainabilityRequest(input *CreateExplainabilit // API operation CreateExplainability for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceAlreadyExistsException -// There is already a resource with this name. Try again with a different name. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - ResourceAlreadyExistsException +// There is already a resource with this name. Try again with a different name. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * LimitExceededException -// The limit on the number of resources per account has been exceeded. +// - ResourceInUseException +// The specified resource is in use. +// +// - LimitExceededException +// The limit on the number of resources per account has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateExplainability func (c *ForecastService) CreateExplainability(input *CreateExplainabilityInput) (*CreateExplainabilityOutput, error) { @@ -658,14 +657,13 @@ const opCreateExplainabilityExport = "CreateExplainabilityExport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateExplainabilityExportRequest method. +// req, resp := client.CreateExplainabilityExportRequest(params) // -// // Example sending a request using the CreateExplainabilityExportRequest method. -// req, resp := client.CreateExplainabilityExportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateExplainabilityExport func (c *ForecastService) CreateExplainabilityExportRequest(input *CreateExplainabilityExportInput) (req *request.Request, output *CreateExplainabilityExportOutput) { @@ -706,22 +704,23 @@ func (c *ForecastService) CreateExplainabilityExportRequest(input *CreateExplain // API operation CreateExplainabilityExport for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceAlreadyExistsException -// There is already a resource with this name. Try again with a different name. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - ResourceAlreadyExistsException +// There is already a resource with this name. Try again with a different name. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * LimitExceededException -// The limit on the number of resources per account has been exceeded. +// - ResourceInUseException +// The specified resource is in use. +// +// - LimitExceededException +// The limit on the number of resources per account has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateExplainabilityExport func (c *ForecastService) CreateExplainabilityExport(input *CreateExplainabilityExportInput) (*CreateExplainabilityExportOutput, error) { @@ -761,14 +760,13 @@ const opCreateForecast = "CreateForecast" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateForecastRequest method. +// req, resp := client.CreateForecastRequest(params) // -// // Example sending a request using the CreateForecastRequest method. -// req, resp := client.CreateForecastRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateForecast func (c *ForecastService) CreateForecastRequest(input *CreateForecastInput) (req *request.Request, output *CreateForecastOutput) { @@ -817,22 +815,23 @@ func (c *ForecastService) CreateForecastRequest(input *CreateForecastInput) (req // API operation CreateForecast for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceAlreadyExistsException -// There is already a resource with this name. Try again with a different name. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceAlreadyExistsException +// There is already a resource with this name. Try again with a different name. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // -// * LimitExceededException -// The limit on the number of resources per account has been exceeded. +// - LimitExceededException +// The limit on the number of resources per account has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateForecast func (c *ForecastService) CreateForecast(input *CreateForecastInput) (*CreateForecastOutput, error) { @@ -872,14 +871,13 @@ const opCreateForecastExportJob = "CreateForecastExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateForecastExportJobRequest method. +// req, resp := client.CreateForecastExportJobRequest(params) // -// // Example sending a request using the CreateForecastExportJobRequest method. -// req, resp := client.CreateForecastExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateForecastExportJob func (c *ForecastService) CreateForecastExportJobRequest(input *CreateForecastExportJobInput) (req *request.Request, output *CreateForecastExportJobOutput) { @@ -929,22 +927,23 @@ func (c *ForecastService) CreateForecastExportJobRequest(input *CreateForecastEx // API operation CreateForecastExportJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceAlreadyExistsException -// There is already a resource with this name. Try again with a different name. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceAlreadyExistsException +// There is already a resource with this name. Try again with a different name. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // -// * LimitExceededException -// The limit on the number of resources per account has been exceeded. +// - LimitExceededException +// The limit on the number of resources per account has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateForecastExportJob func (c *ForecastService) CreateForecastExportJob(input *CreateForecastExportJobInput) (*CreateForecastExportJobOutput, error) { @@ -984,14 +983,13 @@ const opCreateMonitor = "CreateMonitor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMonitorRequest method. +// req, resp := client.CreateMonitorRequest(params) // -// // Example sending a request using the CreateMonitorRequest method. -// req, resp := client.CreateMonitorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateMonitor func (c *ForecastService) CreateMonitorRequest(input *CreateMonitorInput) (req *request.Request, output *CreateMonitorOutput) { @@ -1024,22 +1022,23 @@ func (c *ForecastService) CreateMonitorRequest(input *CreateMonitorInput) (req * // API operation CreateMonitor for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceAlreadyExistsException -// There is already a resource with this name. Try again with a different name. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceAlreadyExistsException +// There is already a resource with this name. Try again with a different name. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // -// * LimitExceededException -// The limit on the number of resources per account has been exceeded. +// - LimitExceededException +// The limit on the number of resources per account has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreateMonitor func (c *ForecastService) CreateMonitor(input *CreateMonitorInput) (*CreateMonitorOutput, error) { @@ -1079,14 +1078,13 @@ const opCreatePredictor = "CreatePredictor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePredictorRequest method. +// req, resp := client.CreatePredictorRequest(params) // -// // Example sending a request using the CreatePredictorRequest method. -// req, resp := client.CreatePredictorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreatePredictor func (c *ForecastService) CreatePredictorRequest(input *CreatePredictorInput) (req *request.Request, output *CreatePredictorOutput) { @@ -1107,7 +1105,6 @@ func (c *ForecastService) CreatePredictorRequest(input *CreatePredictorInput) (r // CreatePredictor API operation for Amazon Forecast Service. // -// // This operation creates a legacy predictor that does not include all the predictor // functionalities provided by Amazon Forecast. To create a predictor that is // compatible with all aspects of Forecast, use CreateAutoPredictor. @@ -1137,7 +1134,7 @@ func (c *ForecastService) CreatePredictorRequest(input *CreatePredictorInput) (r // and 0.9 (P90) quantiles. You can choose custom forecast types to train and // evaluate your predictor by setting the ForecastTypes. // -// AutoML +// # AutoML // // If you want Amazon Forecast to evaluate each algorithm and choose the one // that minimizes the objective function, set PerformAutoML to true. The objective @@ -1147,13 +1144,13 @@ func (c *ForecastService) CreatePredictorRequest(input *CreatePredictorInput) (r // // When AutoML is enabled, the following properties are disallowed: // -// * AlgorithmArn +// - AlgorithmArn // -// * HPOConfig +// - HPOConfig // -// * PerformHPO +// - PerformHPO // -// * TrainingParameters +// - TrainingParameters // // To get a list of all of your predictors, use the ListPredictors operation. // @@ -1169,22 +1166,23 @@ func (c *ForecastService) CreatePredictorRequest(input *CreatePredictorInput) (r // API operation CreatePredictor for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceAlreadyExistsException -// There is already a resource with this name. Try again with a different name. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - ResourceAlreadyExistsException +// There is already a resource with this name. Try again with a different name. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * LimitExceededException -// The limit on the number of resources per account has been exceeded. +// - ResourceInUseException +// The specified resource is in use. +// +// - LimitExceededException +// The limit on the number of resources per account has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreatePredictor func (c *ForecastService) CreatePredictor(input *CreatePredictorInput) (*CreatePredictorOutput, error) { @@ -1224,14 +1222,13 @@ const opCreatePredictorBacktestExportJob = "CreatePredictorBacktestExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePredictorBacktestExportJobRequest method. +// req, resp := client.CreatePredictorBacktestExportJobRequest(params) // -// // Example sending a request using the CreatePredictorBacktestExportJobRequest method. -// req, resp := client.CreatePredictorBacktestExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreatePredictorBacktestExportJob func (c *ForecastService) CreatePredictorBacktestExportJobRequest(input *CreatePredictorBacktestExportJobInput) (req *request.Request, output *CreatePredictorBacktestExportJobOutput) { @@ -1278,22 +1275,23 @@ func (c *ForecastService) CreatePredictorBacktestExportJobRequest(input *CreateP // API operation CreatePredictorBacktestExportJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceAlreadyExistsException -// There is already a resource with this name. Try again with a different name. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - ResourceAlreadyExistsException +// There is already a resource with this name. Try again with a different name. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * LimitExceededException -// The limit on the number of resources per account has been exceeded. +// - ResourceInUseException +// The specified resource is in use. +// +// - LimitExceededException +// The limit on the number of resources per account has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/CreatePredictorBacktestExportJob func (c *ForecastService) CreatePredictorBacktestExportJob(input *CreatePredictorBacktestExportJobInput) (*CreatePredictorBacktestExportJobOutput, error) { @@ -1333,14 +1331,13 @@ const opDeleteDataset = "DeleteDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatasetRequest method. +// req, resp := client.DeleteDatasetRequest(params) // -// // Example sending a request using the DeleteDatasetRequest method. -// req, resp := client.DeleteDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteDataset func (c *ForecastService) DeleteDatasetRequest(input *DeleteDatasetInput) (req *request.Request, output *DeleteDatasetOutput) { @@ -1381,16 +1378,17 @@ func (c *ForecastService) DeleteDatasetRequest(input *DeleteDatasetInput) (req * // API operation DeleteDataset for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. +// +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteDataset func (c *ForecastService) DeleteDataset(input *DeleteDatasetInput) (*DeleteDatasetOutput, error) { @@ -1430,14 +1428,13 @@ const opDeleteDatasetGroup = "DeleteDatasetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatasetGroupRequest method. +// req, resp := client.DeleteDatasetGroupRequest(params) // -// // Example sending a request using the DeleteDatasetGroupRequest method. -// req, resp := client.DeleteDatasetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteDatasetGroup func (c *ForecastService) DeleteDatasetGroupRequest(input *DeleteDatasetGroupInput) (req *request.Request, output *DeleteDatasetGroupOutput) { @@ -1475,16 +1472,17 @@ func (c *ForecastService) DeleteDatasetGroupRequest(input *DeleteDatasetGroupInp // API operation DeleteDatasetGroup for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. +// +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteDatasetGroup func (c *ForecastService) DeleteDatasetGroup(input *DeleteDatasetGroupInput) (*DeleteDatasetGroupOutput, error) { @@ -1524,14 +1522,13 @@ const opDeleteDatasetImportJob = "DeleteDatasetImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatasetImportJobRequest method. +// req, resp := client.DeleteDatasetImportJobRequest(params) // -// // Example sending a request using the DeleteDatasetImportJobRequest method. -// req, resp := client.DeleteDatasetImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteDatasetImportJob func (c *ForecastService) DeleteDatasetImportJobRequest(input *DeleteDatasetImportJobInput) (req *request.Request, output *DeleteDatasetImportJobOutput) { @@ -1567,16 +1564,17 @@ func (c *ForecastService) DeleteDatasetImportJobRequest(input *DeleteDatasetImpo // API operation DeleteDatasetImportJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteDatasetImportJob func (c *ForecastService) DeleteDatasetImportJob(input *DeleteDatasetImportJobInput) (*DeleteDatasetImportJobOutput, error) { @@ -1616,14 +1614,13 @@ const opDeleteExplainability = "DeleteExplainability" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteExplainabilityRequest method. +// req, resp := client.DeleteExplainabilityRequest(params) // -// // Example sending a request using the DeleteExplainabilityRequest method. -// req, resp := client.DeleteExplainabilityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteExplainability func (c *ForecastService) DeleteExplainabilityRequest(input *DeleteExplainabilityInput) (req *request.Request, output *DeleteExplainabilityOutput) { @@ -1658,16 +1655,17 @@ func (c *ForecastService) DeleteExplainabilityRequest(input *DeleteExplainabilit // API operation DeleteExplainability for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteExplainability func (c *ForecastService) DeleteExplainability(input *DeleteExplainabilityInput) (*DeleteExplainabilityOutput, error) { @@ -1707,14 +1705,13 @@ const opDeleteExplainabilityExport = "DeleteExplainabilityExport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteExplainabilityExportRequest method. +// req, resp := client.DeleteExplainabilityExportRequest(params) // -// // Example sending a request using the DeleteExplainabilityExportRequest method. -// req, resp := client.DeleteExplainabilityExportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteExplainabilityExport func (c *ForecastService) DeleteExplainabilityExportRequest(input *DeleteExplainabilityExportInput) (req *request.Request, output *DeleteExplainabilityExportOutput) { @@ -1746,16 +1743,17 @@ func (c *ForecastService) DeleteExplainabilityExportRequest(input *DeleteExplain // API operation DeleteExplainabilityExport for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteExplainabilityExport func (c *ForecastService) DeleteExplainabilityExport(input *DeleteExplainabilityExportInput) (*DeleteExplainabilityExportOutput, error) { @@ -1795,14 +1793,13 @@ const opDeleteForecast = "DeleteForecast" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteForecastRequest method. +// req, resp := client.DeleteForecastRequest(params) // -// // Example sending a request using the DeleteForecastRequest method. -// req, resp := client.DeleteForecastRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteForecast func (c *ForecastService) DeleteForecastRequest(input *DeleteForecastInput) (req *request.Request, output *DeleteForecastOutput) { @@ -1839,16 +1836,17 @@ func (c *ForecastService) DeleteForecastRequest(input *DeleteForecastInput) (req // API operation DeleteForecast for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteForecast func (c *ForecastService) DeleteForecast(input *DeleteForecastInput) (*DeleteForecastOutput, error) { @@ -1888,14 +1886,13 @@ const opDeleteForecastExportJob = "DeleteForecastExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteForecastExportJobRequest method. +// req, resp := client.DeleteForecastExportJobRequest(params) // -// // Example sending a request using the DeleteForecastExportJobRequest method. -// req, resp := client.DeleteForecastExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteForecastExportJob func (c *ForecastService) DeleteForecastExportJobRequest(input *DeleteForecastExportJobInput) (req *request.Request, output *DeleteForecastExportJobOutput) { @@ -1929,16 +1926,17 @@ func (c *ForecastService) DeleteForecastExportJobRequest(input *DeleteForecastEx // API operation DeleteForecastExportJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteForecastExportJob func (c *ForecastService) DeleteForecastExportJob(input *DeleteForecastExportJobInput) (*DeleteForecastExportJobOutput, error) { @@ -1978,14 +1976,13 @@ const opDeleteMonitor = "DeleteMonitor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMonitorRequest method. +// req, resp := client.DeleteMonitorRequest(params) // -// // Example sending a request using the DeleteMonitorRequest method. -// req, resp := client.DeleteMonitorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteMonitor func (c *ForecastService) DeleteMonitorRequest(input *DeleteMonitorInput) (req *request.Request, output *DeleteMonitorOutput) { @@ -2018,16 +2015,17 @@ func (c *ForecastService) DeleteMonitorRequest(input *DeleteMonitorInput) (req * // API operation DeleteMonitor for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteMonitor func (c *ForecastService) DeleteMonitor(input *DeleteMonitorInput) (*DeleteMonitorOutput, error) { @@ -2067,14 +2065,13 @@ const opDeletePredictor = "DeletePredictor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePredictorRequest method. +// req, resp := client.DeletePredictorRequest(params) // -// // Example sending a request using the DeletePredictorRequest method. -// req, resp := client.DeletePredictorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeletePredictor func (c *ForecastService) DeletePredictorRequest(input *DeletePredictorInput) (req *request.Request, output *DeletePredictorOutput) { @@ -2108,16 +2105,17 @@ func (c *ForecastService) DeletePredictorRequest(input *DeletePredictorInput) (r // API operation DeletePredictor for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeletePredictor func (c *ForecastService) DeletePredictor(input *DeletePredictorInput) (*DeletePredictorOutput, error) { @@ -2157,14 +2155,13 @@ const opDeletePredictorBacktestExportJob = "DeletePredictorBacktestExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePredictorBacktestExportJobRequest method. +// req, resp := client.DeletePredictorBacktestExportJobRequest(params) // -// // Example sending a request using the DeletePredictorBacktestExportJobRequest method. -// req, resp := client.DeletePredictorBacktestExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeletePredictorBacktestExportJob func (c *ForecastService) DeletePredictorBacktestExportJobRequest(input *DeletePredictorBacktestExportJobInput) (req *request.Request, output *DeletePredictorBacktestExportJobOutput) { @@ -2196,16 +2193,17 @@ func (c *ForecastService) DeletePredictorBacktestExportJobRequest(input *DeleteP // API operation DeletePredictorBacktestExportJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeletePredictorBacktestExportJob func (c *ForecastService) DeletePredictorBacktestExportJob(input *DeletePredictorBacktestExportJobInput) (*DeletePredictorBacktestExportJobOutput, error) { @@ -2245,14 +2243,13 @@ const opDeleteResourceTree = "DeleteResourceTree" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourceTreeRequest method. +// req, resp := client.DeleteResourceTreeRequest(params) // -// // Example sending a request using the DeleteResourceTreeRequest method. -// req, resp := client.DeleteResourceTreeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteResourceTree func (c *ForecastService) DeleteResourceTreeRequest(input *DeleteResourceTreeInput) (req *request.Request, output *DeleteResourceTreeOutput) { @@ -2283,15 +2280,15 @@ func (c *ForecastService) DeleteResourceTreeRequest(input *DeleteResourceTreeInp // // Amazon Forecast resources possess the following parent-child resource hierarchies: // -// * Dataset: dataset import jobs +// - Dataset: dataset import jobs // -// * Dataset Group: predictors, predictor backtest export jobs, forecasts, -// forecast export jobs +// - Dataset Group: predictors, predictor backtest export jobs, forecasts, +// forecast export jobs // -// * Predictor: predictor backtest export jobs, forecasts, forecast export -// jobs +// - Predictor: predictor backtest export jobs, forecasts, forecast export +// jobs // -// * Forecast: forecast export jobs +// - Forecast: forecast export jobs // // DeleteResourceTree will only delete Amazon Forecast resources, and will not // delete datasets or exported files stored in Amazon S3. @@ -2304,16 +2301,17 @@ func (c *ForecastService) DeleteResourceTreeRequest(input *DeleteResourceTreeInp // API operation DeleteResourceTree for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. +// +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DeleteResourceTree func (c *ForecastService) DeleteResourceTree(input *DeleteResourceTreeInput) (*DeleteResourceTreeOutput, error) { @@ -2353,14 +2351,13 @@ const opDescribeAutoPredictor = "DescribeAutoPredictor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAutoPredictorRequest method. +// req, resp := client.DescribeAutoPredictorRequest(params) // -// // Example sending a request using the DescribeAutoPredictorRequest method. -// req, resp := client.DescribeAutoPredictorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeAutoPredictor func (c *ForecastService) DescribeAutoPredictorRequest(input *DescribeAutoPredictorInput) (req *request.Request, output *DescribeAutoPredictorOutput) { @@ -2391,13 +2388,14 @@ func (c *ForecastService) DescribeAutoPredictorRequest(input *DescribeAutoPredic // API operation DescribeAutoPredictor for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeAutoPredictor func (c *ForecastService) DescribeAutoPredictor(input *DescribeAutoPredictorInput) (*DescribeAutoPredictorOutput, error) { @@ -2437,14 +2435,13 @@ const opDescribeDataset = "DescribeDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDatasetRequest method. +// req, resp := client.DescribeDatasetRequest(params) // -// // Example sending a request using the DescribeDatasetRequest method. -// req, resp := client.DescribeDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeDataset func (c *ForecastService) DescribeDatasetRequest(input *DescribeDatasetInput) (req *request.Request, output *DescribeDatasetOutput) { @@ -2471,11 +2468,11 @@ func (c *ForecastService) DescribeDatasetRequest(input *DescribeDatasetInput) (r // In addition to listing the parameters specified in the CreateDataset request, // this operation includes the following dataset properties: // -// * CreationTime +// - CreationTime // -// * LastModificationTime +// - LastModificationTime // -// * Status +// - Status // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2485,13 +2482,14 @@ func (c *ForecastService) DescribeDatasetRequest(input *DescribeDatasetInput) (r // API operation DescribeDataset for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeDataset func (c *ForecastService) DescribeDataset(input *DescribeDatasetInput) (*DescribeDatasetOutput, error) { @@ -2531,14 +2529,13 @@ const opDescribeDatasetGroup = "DescribeDatasetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDatasetGroupRequest method. +// req, resp := client.DescribeDatasetGroupRequest(params) // -// // Example sending a request using the DescribeDatasetGroupRequest method. -// req, resp := client.DescribeDatasetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeDatasetGroup func (c *ForecastService) DescribeDatasetGroupRequest(input *DescribeDatasetGroupInput) (req *request.Request, output *DescribeDatasetGroupOutput) { @@ -2565,13 +2562,13 @@ func (c *ForecastService) DescribeDatasetGroupRequest(input *DescribeDatasetGrou // In addition to listing the parameters provided in the CreateDatasetGroup // request, this operation includes the following properties: // -// * DatasetArns - The datasets belonging to the group. +// - DatasetArns - The datasets belonging to the group. // -// * CreationTime +// - CreationTime // -// * LastModificationTime +// - LastModificationTime // -// * Status +// - Status // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2581,13 +2578,14 @@ func (c *ForecastService) DescribeDatasetGroupRequest(input *DescribeDatasetGrou // API operation DescribeDatasetGroup for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeDatasetGroup func (c *ForecastService) DescribeDatasetGroup(input *DescribeDatasetGroupInput) (*DescribeDatasetGroupOutput, error) { @@ -2627,14 +2625,13 @@ const opDescribeDatasetImportJob = "DescribeDatasetImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDatasetImportJobRequest method. +// req, resp := client.DescribeDatasetImportJobRequest(params) // -// // Example sending a request using the DescribeDatasetImportJobRequest method. -// req, resp := client.DescribeDatasetImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeDatasetImportJob func (c *ForecastService) DescribeDatasetImportJobRequest(input *DescribeDatasetImportJobInput) (req *request.Request, output *DescribeDatasetImportJobOutput) { @@ -2661,17 +2658,17 @@ func (c *ForecastService) DescribeDatasetImportJobRequest(input *DescribeDataset // In addition to listing the parameters provided in the CreateDatasetImportJob // request, this operation includes the following properties: // -// * CreationTime +// - CreationTime // -// * LastModificationTime +// - LastModificationTime // -// * DataSize +// - DataSize // -// * FieldStatistics +// - FieldStatistics // -// * Status +// - Status // -// * Message - If an error occurred, information about the error. +// - Message - If an error occurred, information about the error. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2681,13 +2678,14 @@ func (c *ForecastService) DescribeDatasetImportJobRequest(input *DescribeDataset // API operation DescribeDatasetImportJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeDatasetImportJob func (c *ForecastService) DescribeDatasetImportJob(input *DescribeDatasetImportJobInput) (*DescribeDatasetImportJobOutput, error) { @@ -2727,14 +2725,13 @@ const opDescribeExplainability = "DescribeExplainability" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExplainabilityRequest method. +// req, resp := client.DescribeExplainabilityRequest(params) // -// // Example sending a request using the DescribeExplainabilityRequest method. -// req, resp := client.DescribeExplainabilityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeExplainability func (c *ForecastService) DescribeExplainabilityRequest(input *DescribeExplainabilityInput) (req *request.Request, output *DescribeExplainabilityOutput) { @@ -2766,13 +2763,14 @@ func (c *ForecastService) DescribeExplainabilityRequest(input *DescribeExplainab // API operation DescribeExplainability for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeExplainability func (c *ForecastService) DescribeExplainability(input *DescribeExplainabilityInput) (*DescribeExplainabilityOutput, error) { @@ -2812,14 +2810,13 @@ const opDescribeExplainabilityExport = "DescribeExplainabilityExport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExplainabilityExportRequest method. +// req, resp := client.DescribeExplainabilityExportRequest(params) // -// // Example sending a request using the DescribeExplainabilityExportRequest method. -// req, resp := client.DescribeExplainabilityExportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeExplainabilityExport func (c *ForecastService) DescribeExplainabilityExportRequest(input *DescribeExplainabilityExportInput) (req *request.Request, output *DescribeExplainabilityExportOutput) { @@ -2851,13 +2848,14 @@ func (c *ForecastService) DescribeExplainabilityExportRequest(input *DescribeExp // API operation DescribeExplainabilityExport for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeExplainabilityExport func (c *ForecastService) DescribeExplainabilityExport(input *DescribeExplainabilityExportInput) (*DescribeExplainabilityExportOutput, error) { @@ -2897,14 +2895,13 @@ const opDescribeForecast = "DescribeForecast" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeForecastRequest method. +// req, resp := client.DescribeForecastRequest(params) // -// // Example sending a request using the DescribeForecastRequest method. -// req, resp := client.DescribeForecastRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecast func (c *ForecastService) DescribeForecastRequest(input *DescribeForecastInput) (req *request.Request, output *DescribeForecastOutput) { @@ -2930,15 +2927,15 @@ func (c *ForecastService) DescribeForecastRequest(input *DescribeForecastInput) // In addition to listing the properties provided in the CreateForecast request, // this operation lists the following properties: // -// * DatasetGroupArn - The dataset group that provided the training data. +// - DatasetGroupArn - The dataset group that provided the training data. // -// * CreationTime +// - CreationTime // -// * LastModificationTime +// - LastModificationTime // -// * Status +// - Status // -// * Message - If an error occurred, information about the error. +// - Message - If an error occurred, information about the error. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2948,13 +2945,14 @@ func (c *ForecastService) DescribeForecastRequest(input *DescribeForecastInput) // API operation DescribeForecast for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecast func (c *ForecastService) DescribeForecast(input *DescribeForecastInput) (*DescribeForecastOutput, error) { @@ -2994,14 +2992,13 @@ const opDescribeForecastExportJob = "DescribeForecastExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeForecastExportJobRequest method. +// req, resp := client.DescribeForecastExportJobRequest(params) // -// // Example sending a request using the DescribeForecastExportJobRequest method. -// req, resp := client.DescribeForecastExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecastExportJob func (c *ForecastService) DescribeForecastExportJobRequest(input *DescribeForecastExportJobInput) (req *request.Request, output *DescribeForecastExportJobOutput) { @@ -3028,13 +3025,13 @@ func (c *ForecastService) DescribeForecastExportJobRequest(input *DescribeForeca // In addition to listing the properties provided by the user in the CreateForecastExportJob // request, this operation lists the following properties: // -// * CreationTime +// - CreationTime // -// * LastModificationTime +// - LastModificationTime // -// * Status +// - Status // -// * Message - If an error occurred, information about the error. +// - Message - If an error occurred, information about the error. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3044,13 +3041,14 @@ func (c *ForecastService) DescribeForecastExportJobRequest(input *DescribeForeca // API operation DescribeForecastExportJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeForecastExportJob func (c *ForecastService) DescribeForecastExportJob(input *DescribeForecastExportJobInput) (*DescribeForecastExportJobOutput, error) { @@ -3090,14 +3088,13 @@ const opDescribeMonitor = "DescribeMonitor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMonitorRequest method. +// req, resp := client.DescribeMonitorRequest(params) // -// // Example sending a request using the DescribeMonitorRequest method. -// req, resp := client.DescribeMonitorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeMonitor func (c *ForecastService) DescribeMonitorRequest(input *DescribeMonitorInput) (req *request.Request, output *DescribeMonitorOutput) { @@ -3121,19 +3118,19 @@ func (c *ForecastService) DescribeMonitorRequest(input *DescribeMonitorInput) (r // Describes a monitor resource. In addition to listing the properties provided // in the CreateMonitor request, this operation lists the following properties: // -// * Baseline +// - Baseline // -// * CreationTime +// - CreationTime // -// * LastEvaluationTime +// - LastEvaluationTime // -// * LastEvaluationState +// - LastEvaluationState // -// * LastModificationTime +// - LastModificationTime // -// * Message +// - Message // -// * Status +// - Status // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3143,13 +3140,14 @@ func (c *ForecastService) DescribeMonitorRequest(input *DescribeMonitorInput) (r // API operation DescribeMonitor for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribeMonitor func (c *ForecastService) DescribeMonitor(input *DescribeMonitorInput) (*DescribeMonitorOutput, error) { @@ -3189,14 +3187,13 @@ const opDescribePredictor = "DescribePredictor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePredictorRequest method. +// req, resp := client.DescribePredictorRequest(params) // -// // Example sending a request using the DescribePredictorRequest method. -// req, resp := client.DescribePredictorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictor func (c *ForecastService) DescribePredictorRequest(input *DescribePredictorInput) (req *request.Request, output *DescribePredictorOutput) { @@ -3217,7 +3214,6 @@ func (c *ForecastService) DescribePredictorRequest(input *DescribePredictorInput // DescribePredictor API operation for Amazon Forecast Service. // -// // This operation is only valid for legacy predictors created with CreatePredictor. // If you are not using a legacy predictor, use DescribeAutoPredictor. // @@ -3226,19 +3222,19 @@ func (c *ForecastService) DescribePredictorRequest(input *DescribePredictorInput // In addition to listing the properties provided in the CreatePredictor request, // this operation lists the following properties: // -// * DatasetImportJobArns - The dataset import jobs used to import training -// data. +// - DatasetImportJobArns - The dataset import jobs used to import training +// data. // -// * AutoMLAlgorithmArns - If AutoML is performed, the algorithms that were -// evaluated. +// - AutoMLAlgorithmArns - If AutoML is performed, the algorithms that were +// evaluated. // -// * CreationTime +// - CreationTime // -// * LastModificationTime +// - LastModificationTime // -// * Status +// - Status // -// * Message - If an error occurred, information about the error. +// - Message - If an error occurred, information about the error. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3248,13 +3244,14 @@ func (c *ForecastService) DescribePredictorRequest(input *DescribePredictorInput // API operation DescribePredictor for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictor func (c *ForecastService) DescribePredictor(input *DescribePredictorInput) (*DescribePredictorOutput, error) { @@ -3294,14 +3291,13 @@ const opDescribePredictorBacktestExportJob = "DescribePredictorBacktestExportJob // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePredictorBacktestExportJobRequest method. +// req, resp := client.DescribePredictorBacktestExportJobRequest(params) // -// // Example sending a request using the DescribePredictorBacktestExportJobRequest method. -// req, resp := client.DescribePredictorBacktestExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorBacktestExportJob func (c *ForecastService) DescribePredictorBacktestExportJobRequest(input *DescribePredictorBacktestExportJobInput) (req *request.Request, output *DescribePredictorBacktestExportJobOutput) { @@ -3328,13 +3324,13 @@ func (c *ForecastService) DescribePredictorBacktestExportJobRequest(input *Descr // In addition to listing the properties provided by the user in the CreatePredictorBacktestExportJob // request, this operation lists the following properties: // -// * CreationTime +// - CreationTime // -// * LastModificationTime +// - LastModificationTime // -// * Status +// - Status // -// * Message (if an error occurred) +// - Message (if an error occurred) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3344,13 +3340,14 @@ func (c *ForecastService) DescribePredictorBacktestExportJobRequest(input *Descr // API operation DescribePredictorBacktestExportJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/DescribePredictorBacktestExportJob func (c *ForecastService) DescribePredictorBacktestExportJob(input *DescribePredictorBacktestExportJobInput) (*DescribePredictorBacktestExportJobOutput, error) { @@ -3390,14 +3387,13 @@ const opGetAccuracyMetrics = "GetAccuracyMetrics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccuracyMetricsRequest method. +// req, resp := client.GetAccuracyMetricsRequest(params) // -// // Example sending a request using the GetAccuracyMetricsRequest method. -// req, resp := client.GetAccuracyMetricsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/GetAccuracyMetrics func (c *ForecastService) GetAccuracyMetricsRequest(input *GetAccuracyMetricsInput) (req *request.Request, output *GetAccuracyMetricsOutput) { @@ -3446,16 +3442,17 @@ func (c *ForecastService) GetAccuracyMetricsRequest(input *GetAccuracyMetricsInp // API operation GetAccuracyMetrics for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/GetAccuracyMetrics func (c *ForecastService) GetAccuracyMetrics(input *GetAccuracyMetricsInput) (*GetAccuracyMetricsOutput, error) { @@ -3495,14 +3492,13 @@ const opListDatasetGroups = "ListDatasetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetGroupsRequest method. +// req, resp := client.ListDatasetGroupsRequest(params) // -// // Example sending a request using the ListDatasetGroupsRequest method. -// req, resp := client.ListDatasetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListDatasetGroups func (c *ForecastService) ListDatasetGroupsRequest(input *ListDatasetGroupsInput) (req *request.Request, output *ListDatasetGroupsOutput) { @@ -3544,8 +3540,8 @@ func (c *ForecastService) ListDatasetGroupsRequest(input *ListDatasetGroupsInput // API operation ListDatasetGroups for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The token is not valid. Tokens expire after 24 hours. +// - InvalidNextTokenException +// The token is not valid. Tokens expire after 24 hours. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListDatasetGroups func (c *ForecastService) ListDatasetGroups(input *ListDatasetGroupsInput) (*ListDatasetGroupsOutput, error) { @@ -3577,15 +3573,14 @@ func (c *ForecastService) ListDatasetGroupsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatasetGroups operation. -// pageNum := 0 -// err := client.ListDatasetGroupsPages(params, -// func(page *forecastservice.ListDatasetGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatasetGroups operation. +// pageNum := 0 +// err := client.ListDatasetGroupsPages(params, +// func(page *forecastservice.ListDatasetGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ForecastService) ListDatasetGroupsPages(input *ListDatasetGroupsInput, fn func(*ListDatasetGroupsOutput, bool) bool) error { return c.ListDatasetGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3637,14 +3632,13 @@ const opListDatasetImportJobs = "ListDatasetImportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetImportJobsRequest method. +// req, resp := client.ListDatasetImportJobsRequest(params) // -// // Example sending a request using the ListDatasetImportJobsRequest method. -// req, resp := client.ListDatasetImportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListDatasetImportJobs func (c *ForecastService) ListDatasetImportJobsRequest(input *ListDatasetImportJobsInput) (req *request.Request, output *ListDatasetImportJobsOutput) { @@ -3687,12 +3681,13 @@ func (c *ForecastService) ListDatasetImportJobsRequest(input *ListDatasetImportJ // API operation ListDatasetImportJobs for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The token is not valid. Tokens expire after 24 hours. // -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. +// - InvalidNextTokenException +// The token is not valid. Tokens expire after 24 hours. +// +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListDatasetImportJobs func (c *ForecastService) ListDatasetImportJobs(input *ListDatasetImportJobsInput) (*ListDatasetImportJobsOutput, error) { @@ -3724,15 +3719,14 @@ func (c *ForecastService) ListDatasetImportJobsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatasetImportJobs operation. -// pageNum := 0 -// err := client.ListDatasetImportJobsPages(params, -// func(page *forecastservice.ListDatasetImportJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatasetImportJobs operation. +// pageNum := 0 +// err := client.ListDatasetImportJobsPages(params, +// func(page *forecastservice.ListDatasetImportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ForecastService) ListDatasetImportJobsPages(input *ListDatasetImportJobsInput, fn func(*ListDatasetImportJobsOutput, bool) bool) error { return c.ListDatasetImportJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3784,14 +3778,13 @@ const opListDatasets = "ListDatasets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetsRequest method. +// req, resp := client.ListDatasetsRequest(params) // -// // Example sending a request using the ListDatasetsRequest method. -// req, resp := client.ListDatasetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListDatasets func (c *ForecastService) ListDatasetsRequest(input *ListDatasetsInput) (req *request.Request, output *ListDatasetsOutput) { @@ -3832,8 +3825,8 @@ func (c *ForecastService) ListDatasetsRequest(input *ListDatasetsInput) (req *re // API operation ListDatasets for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The token is not valid. Tokens expire after 24 hours. +// - InvalidNextTokenException +// The token is not valid. Tokens expire after 24 hours. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListDatasets func (c *ForecastService) ListDatasets(input *ListDatasetsInput) (*ListDatasetsOutput, error) { @@ -3865,15 +3858,14 @@ func (c *ForecastService) ListDatasetsWithContext(ctx aws.Context, input *ListDa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatasets operation. -// pageNum := 0 -// err := client.ListDatasetsPages(params, -// func(page *forecastservice.ListDatasetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatasets operation. +// pageNum := 0 +// err := client.ListDatasetsPages(params, +// func(page *forecastservice.ListDatasetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ForecastService) ListDatasetsPages(input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool) error { return c.ListDatasetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3925,14 +3917,13 @@ const opListExplainabilities = "ListExplainabilities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExplainabilitiesRequest method. +// req, resp := client.ListExplainabilitiesRequest(params) // -// // Example sending a request using the ListExplainabilitiesRequest method. -// req, resp := client.ListExplainabilitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListExplainabilities func (c *ForecastService) ListExplainabilitiesRequest(input *ListExplainabilitiesInput) (req *request.Request, output *ListExplainabilitiesOutput) { @@ -3974,12 +3965,13 @@ func (c *ForecastService) ListExplainabilitiesRequest(input *ListExplainabilitie // API operation ListExplainabilities for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The token is not valid. Tokens expire after 24 hours. // -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. +// - InvalidNextTokenException +// The token is not valid. Tokens expire after 24 hours. +// +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListExplainabilities func (c *ForecastService) ListExplainabilities(input *ListExplainabilitiesInput) (*ListExplainabilitiesOutput, error) { @@ -4011,15 +4003,14 @@ func (c *ForecastService) ListExplainabilitiesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExplainabilities operation. -// pageNum := 0 -// err := client.ListExplainabilitiesPages(params, -// func(page *forecastservice.ListExplainabilitiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExplainabilities operation. +// pageNum := 0 +// err := client.ListExplainabilitiesPages(params, +// func(page *forecastservice.ListExplainabilitiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ForecastService) ListExplainabilitiesPages(input *ListExplainabilitiesInput, fn func(*ListExplainabilitiesOutput, bool) bool) error { return c.ListExplainabilitiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4071,14 +4062,13 @@ const opListExplainabilityExports = "ListExplainabilityExports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExplainabilityExportsRequest method. +// req, resp := client.ListExplainabilityExportsRequest(params) // -// // Example sending a request using the ListExplainabilityExportsRequest method. -// req, resp := client.ListExplainabilityExportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListExplainabilityExports func (c *ForecastService) ListExplainabilityExportsRequest(input *ListExplainabilityExportsInput) (req *request.Request, output *ListExplainabilityExportsOutput) { @@ -4120,12 +4110,13 @@ func (c *ForecastService) ListExplainabilityExportsRequest(input *ListExplainabi // API operation ListExplainabilityExports for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The token is not valid. Tokens expire after 24 hours. // -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. +// - InvalidNextTokenException +// The token is not valid. Tokens expire after 24 hours. +// +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListExplainabilityExports func (c *ForecastService) ListExplainabilityExports(input *ListExplainabilityExportsInput) (*ListExplainabilityExportsOutput, error) { @@ -4157,15 +4148,14 @@ func (c *ForecastService) ListExplainabilityExportsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExplainabilityExports operation. -// pageNum := 0 -// err := client.ListExplainabilityExportsPages(params, -// func(page *forecastservice.ListExplainabilityExportsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExplainabilityExports operation. +// pageNum := 0 +// err := client.ListExplainabilityExportsPages(params, +// func(page *forecastservice.ListExplainabilityExportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ForecastService) ListExplainabilityExportsPages(input *ListExplainabilityExportsInput, fn func(*ListExplainabilityExportsOutput, bool) bool) error { return c.ListExplainabilityExportsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4217,14 +4207,13 @@ const opListForecastExportJobs = "ListForecastExportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListForecastExportJobsRequest method. +// req, resp := client.ListForecastExportJobsRequest(params) // -// // Example sending a request using the ListForecastExportJobsRequest method. -// req, resp := client.ListForecastExportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListForecastExportJobs func (c *ForecastService) ListForecastExportJobsRequest(input *ListForecastExportJobsInput) (req *request.Request, output *ListForecastExportJobsOutput) { @@ -4265,12 +4254,13 @@ func (c *ForecastService) ListForecastExportJobsRequest(input *ListForecastExpor // API operation ListForecastExportJobs for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The token is not valid. Tokens expire after 24 hours. // -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. +// - InvalidNextTokenException +// The token is not valid. Tokens expire after 24 hours. +// +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListForecastExportJobs func (c *ForecastService) ListForecastExportJobs(input *ListForecastExportJobsInput) (*ListForecastExportJobsOutput, error) { @@ -4302,15 +4292,14 @@ func (c *ForecastService) ListForecastExportJobsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListForecastExportJobs operation. -// pageNum := 0 -// err := client.ListForecastExportJobsPages(params, -// func(page *forecastservice.ListForecastExportJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListForecastExportJobs operation. +// pageNum := 0 +// err := client.ListForecastExportJobsPages(params, +// func(page *forecastservice.ListForecastExportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ForecastService) ListForecastExportJobsPages(input *ListForecastExportJobsInput, fn func(*ListForecastExportJobsOutput, bool) bool) error { return c.ListForecastExportJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4362,14 +4351,13 @@ const opListForecasts = "ListForecasts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListForecastsRequest method. +// req, resp := client.ListForecastsRequest(params) // -// // Example sending a request using the ListForecastsRequest method. -// req, resp := client.ListForecastsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListForecasts func (c *ForecastService) ListForecastsRequest(input *ListForecastsInput) (req *request.Request, output *ListForecastsOutput) { @@ -4410,12 +4398,13 @@ func (c *ForecastService) ListForecastsRequest(input *ListForecastsInput) (req * // API operation ListForecasts for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The token is not valid. Tokens expire after 24 hours. // -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. +// - InvalidNextTokenException +// The token is not valid. Tokens expire after 24 hours. +// +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListForecasts func (c *ForecastService) ListForecasts(input *ListForecastsInput) (*ListForecastsOutput, error) { @@ -4447,15 +4436,14 @@ func (c *ForecastService) ListForecastsWithContext(ctx aws.Context, input *ListF // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListForecasts operation. -// pageNum := 0 -// err := client.ListForecastsPages(params, -// func(page *forecastservice.ListForecastsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListForecasts operation. +// pageNum := 0 +// err := client.ListForecastsPages(params, +// func(page *forecastservice.ListForecastsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ForecastService) ListForecastsPages(input *ListForecastsInput, fn func(*ListForecastsOutput, bool) bool) error { return c.ListForecastsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4507,14 +4495,13 @@ const opListMonitorEvaluations = "ListMonitorEvaluations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMonitorEvaluationsRequest method. +// req, resp := client.ListMonitorEvaluationsRequest(params) // -// // Example sending a request using the ListMonitorEvaluationsRequest method. -// req, resp := client.ListMonitorEvaluationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListMonitorEvaluations func (c *ForecastService) ListMonitorEvaluationsRequest(input *ListMonitorEvaluationsInput) (req *request.Request, output *ListMonitorEvaluationsOutput) { @@ -4555,16 +4542,17 @@ func (c *ForecastService) ListMonitorEvaluationsRequest(input *ListMonitorEvalua // API operation ListMonitorEvaluations for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The token is not valid. Tokens expire after 24 hours. // -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. +// - InvalidNextTokenException +// The token is not valid. Tokens expire after 24 hours. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListMonitorEvaluations func (c *ForecastService) ListMonitorEvaluations(input *ListMonitorEvaluationsInput) (*ListMonitorEvaluationsOutput, error) { @@ -4596,15 +4584,14 @@ func (c *ForecastService) ListMonitorEvaluationsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMonitorEvaluations operation. -// pageNum := 0 -// err := client.ListMonitorEvaluationsPages(params, -// func(page *forecastservice.ListMonitorEvaluationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMonitorEvaluations operation. +// pageNum := 0 +// err := client.ListMonitorEvaluationsPages(params, +// func(page *forecastservice.ListMonitorEvaluationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ForecastService) ListMonitorEvaluationsPages(input *ListMonitorEvaluationsInput, fn func(*ListMonitorEvaluationsOutput, bool) bool) error { return c.ListMonitorEvaluationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4656,14 +4643,13 @@ const opListMonitors = "ListMonitors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMonitorsRequest method. +// req, resp := client.ListMonitorsRequest(params) // -// // Example sending a request using the ListMonitorsRequest method. -// req, resp := client.ListMonitorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListMonitors func (c *ForecastService) ListMonitorsRequest(input *ListMonitorsInput) (req *request.Request, output *ListMonitorsOutput) { @@ -4704,12 +4690,13 @@ func (c *ForecastService) ListMonitorsRequest(input *ListMonitorsInput) (req *re // API operation ListMonitors for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The token is not valid. Tokens expire after 24 hours. // -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. +// - InvalidNextTokenException +// The token is not valid. Tokens expire after 24 hours. +// +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListMonitors func (c *ForecastService) ListMonitors(input *ListMonitorsInput) (*ListMonitorsOutput, error) { @@ -4741,15 +4728,14 @@ func (c *ForecastService) ListMonitorsWithContext(ctx aws.Context, input *ListMo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMonitors operation. -// pageNum := 0 -// err := client.ListMonitorsPages(params, -// func(page *forecastservice.ListMonitorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMonitors operation. +// pageNum := 0 +// err := client.ListMonitorsPages(params, +// func(page *forecastservice.ListMonitorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ForecastService) ListMonitorsPages(input *ListMonitorsInput, fn func(*ListMonitorsOutput, bool) bool) error { return c.ListMonitorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4801,14 +4787,13 @@ const opListPredictorBacktestExportJobs = "ListPredictorBacktestExportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPredictorBacktestExportJobsRequest method. +// req, resp := client.ListPredictorBacktestExportJobsRequest(params) // -// // Example sending a request using the ListPredictorBacktestExportJobsRequest method. -// req, resp := client.ListPredictorBacktestExportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListPredictorBacktestExportJobs func (c *ForecastService) ListPredictorBacktestExportJobsRequest(input *ListPredictorBacktestExportJobsInput) (req *request.Request, output *ListPredictorBacktestExportJobsOutput) { @@ -4850,12 +4835,13 @@ func (c *ForecastService) ListPredictorBacktestExportJobsRequest(input *ListPred // API operation ListPredictorBacktestExportJobs for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The token is not valid. Tokens expire after 24 hours. // -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. +// - InvalidNextTokenException +// The token is not valid. Tokens expire after 24 hours. +// +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListPredictorBacktestExportJobs func (c *ForecastService) ListPredictorBacktestExportJobs(input *ListPredictorBacktestExportJobsInput) (*ListPredictorBacktestExportJobsOutput, error) { @@ -4887,15 +4873,14 @@ func (c *ForecastService) ListPredictorBacktestExportJobsWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPredictorBacktestExportJobs operation. -// pageNum := 0 -// err := client.ListPredictorBacktestExportJobsPages(params, -// func(page *forecastservice.ListPredictorBacktestExportJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPredictorBacktestExportJobs operation. +// pageNum := 0 +// err := client.ListPredictorBacktestExportJobsPages(params, +// func(page *forecastservice.ListPredictorBacktestExportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ForecastService) ListPredictorBacktestExportJobsPages(input *ListPredictorBacktestExportJobsInput, fn func(*ListPredictorBacktestExportJobsOutput, bool) bool) error { return c.ListPredictorBacktestExportJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4947,14 +4932,13 @@ const opListPredictors = "ListPredictors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPredictorsRequest method. +// req, resp := client.ListPredictorsRequest(params) // -// // Example sending a request using the ListPredictorsRequest method. -// req, resp := client.ListPredictorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListPredictors func (c *ForecastService) ListPredictorsRequest(input *ListPredictorsInput) (req *request.Request, output *ListPredictorsOutput) { @@ -4997,12 +4981,13 @@ func (c *ForecastService) ListPredictorsRequest(input *ListPredictorsInput) (req // API operation ListPredictors for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The token is not valid. Tokens expire after 24 hours. // -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. +// - InvalidNextTokenException +// The token is not valid. Tokens expire after 24 hours. +// +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListPredictors func (c *ForecastService) ListPredictors(input *ListPredictorsInput) (*ListPredictorsOutput, error) { @@ -5034,15 +5019,14 @@ func (c *ForecastService) ListPredictorsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPredictors operation. -// pageNum := 0 -// err := client.ListPredictorsPages(params, -// func(page *forecastservice.ListPredictorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPredictors operation. +// pageNum := 0 +// err := client.ListPredictorsPages(params, +// func(page *forecastservice.ListPredictorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ForecastService) ListPredictorsPages(input *ListPredictorsInput, fn func(*ListPredictorsOutput, bool) bool) error { return c.ListPredictorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5094,14 +5078,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListTagsForResource func (c *ForecastService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -5132,13 +5115,14 @@ func (c *ForecastService) ListTagsForResourceRequest(input *ListTagsForResourceI // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. // -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. +// +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ListTagsForResource func (c *ForecastService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -5178,14 +5162,13 @@ const opResumeResource = "ResumeResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResumeResourceRequest method. +// req, resp := client.ResumeResourceRequest(params) // -// // Example sending a request using the ResumeResourceRequest method. -// req, resp := client.ResumeResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ResumeResource func (c *ForecastService) ResumeResourceRequest(input *ResumeResourceInput) (req *request.Request, output *ResumeResourceOutput) { @@ -5217,19 +5200,20 @@ func (c *ForecastService) ResumeResourceRequest(input *ResumeResourceInput) (req // API operation ResumeResource for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * LimitExceededException -// The limit on the number of resources per account has been exceeded. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - LimitExceededException +// The limit on the number of resources per account has been exceeded. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/ResumeResource func (c *ForecastService) ResumeResource(input *ResumeResourceInput) (*ResumeResourceOutput, error) { @@ -5269,14 +5253,13 @@ const opStopResource = "StopResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopResourceRequest method. +// req, resp := client.StopResourceRequest(params) // -// // Example sending a request using the StopResourceRequest method. -// req, resp := client.StopResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/StopResource func (c *ForecastService) StopResourceRequest(input *StopResourceInput) (req *request.Request, output *StopResourceOutput) { @@ -5306,19 +5289,19 @@ func (c *ForecastService) StopResourceRequest(input *StopResourceInput) (req *re // This operation can be applied to the following resources (and their corresponding // child resources): // -// * Dataset Import Job +// - Dataset Import Job // -// * Predictor Job +// - Predictor Job // -// * Forecast Job +// - Forecast Job // -// * Forecast Export Job +// - Forecast Export Job // -// * Predictor Backtest Export Job +// - Predictor Backtest Export Job // -// * Explainability Job +// - Explainability Job // -// * Explainability Export Job +// - Explainability Export Job // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5328,16 +5311,17 @@ func (c *ForecastService) StopResourceRequest(input *StopResourceInput) (req *re // API operation StopResource for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * LimitExceededException -// The limit on the number of resources per account has been exceeded. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. +// +// - LimitExceededException +// The limit on the number of resources per account has been exceeded. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/StopResource func (c *ForecastService) StopResource(input *StopResourceInput) (*StopResourceOutput, error) { @@ -5377,14 +5361,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/TagResource func (c *ForecastService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -5419,16 +5402,17 @@ func (c *ForecastService) TagResourceRequest(input *TagResourceInput) (req *requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. // -// * LimitExceededException -// The limit on the number of resources per account has been exceeded. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. +// +// - LimitExceededException +// The limit on the number of resources per account has been exceeded. // -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/TagResource func (c *ForecastService) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -5468,14 +5452,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/UntagResource func (c *ForecastService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -5507,13 +5490,14 @@ func (c *ForecastService) UntagResourceRequest(input *UntagResourceInput) (req * // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. // -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. +// +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/UntagResource func (c *ForecastService) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -5553,14 +5537,13 @@ const opUpdateDatasetGroup = "UpdateDatasetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDatasetGroupRequest method. +// req, resp := client.UpdateDatasetGroupRequest(params) // -// // Example sending a request using the UpdateDatasetGroupRequest method. -// req, resp := client.UpdateDatasetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/UpdateDatasetGroup func (c *ForecastService) UpdateDatasetGroupRequest(input *UpdateDatasetGroupInput) (req *request.Request, output *UpdateDatasetGroupOutput) { @@ -5596,16 +5579,17 @@ func (c *ForecastService) UpdateDatasetGroupRequest(input *UpdateDatasetGroupInp // API operation UpdateDatasetGroup for usage and error information. // // Returned Error Types: -// * InvalidInputException -// We can't process the request because it includes an invalid value or a value -// that exceeds the valid range. // -// * ResourceNotFoundException -// We can't find a resource with that Amazon Resource Name (ARN). Check the -// ARN and try again. +// - InvalidInputException +// We can't process the request because it includes an invalid value or a value +// that exceeds the valid range. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// We can't find a resource with that Amazon Resource Name (ARN). Check the +// ARN and try again. +// +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/forecast-2018-06-26/UpdateDatasetGroup func (c *ForecastService) UpdateDatasetGroup(input *UpdateDatasetGroupInput) (*UpdateDatasetGroupOutput, error) { @@ -5632,7 +5616,7 @@ func (c *ForecastService) UpdateDatasetGroupWithContext(ctx aws.Context, input * // Describes an additional dataset. This object is part of the DataConfig object. // Forecast supports the Weather Index and Holidays additional datasets. // -// Weather Index +// # Weather Index // // The Amazon Forecast Weather Index is a built-in dataset that incorporates // historical and projected weather information into your model. The Weather @@ -5640,7 +5624,7 @@ func (c *ForecastService) UpdateDatasetGroupWithContext(ctx aws.Context, input * // data and up to 14 days of projected weather data. For more information, see // Amazon Forecast Weather Index (https://docs.aws.amazon.com/forecast/latest/dg/weather.html). // -// Holidays +// # Holidays // // Holidays is a built-in dataset that incorporates national holiday information // into your model. It provides native support for the holiday calendars of @@ -12480,7 +12464,6 @@ func (s *ExplainabilitySummary) SetStatus(v string) *ExplainabilitySummary { return s } -// // This object belongs to the CreatePredictor operation. If you created your // predictor with CreateAutoPredictor, see AttributeConfig. // @@ -12578,7 +12561,6 @@ func (s *Featurization) SetFeaturizationPipeline(v []*FeaturizationMethod) *Feat return s } -// // This object belongs to the CreatePredictor operation. If you created your // predictor with CreateAutoPredictor, see AttributeConfig. // @@ -13292,7 +13274,6 @@ func (s *HyperParameterTuningJobConfig) SetParameterRanges(v *ParameterRanges) * return s } -// // This object belongs to the CreatePredictor operation. If you created your // predictor with CreateAutoPredictor, see DataConfig. // @@ -16887,7 +16868,6 @@ func (s StopResourceOutput) GoString() string { return s.String() } -// // This object belongs to the CreatePredictor operation. If you created your // predictor with CreateAutoPredictor, see AdditionalDataset. // @@ -16895,7 +16875,7 @@ func (s StopResourceOutput) GoString() string { // of the InputDataConfig object. Forecast supports the Weather Index and Holidays // built-in featurizations. // -// Weather Index +// # Weather Index // // The Amazon Forecast Weather Index is a built-in featurization that incorporates // historical and projected weather information into your model. The Weather @@ -16903,7 +16883,7 @@ func (s StopResourceOutput) GoString() string { // data and up to 14 days of projected weather data. For more information, see // Amazon Forecast Weather Index (https://docs.aws.amazon.com/forecast/latest/dg/weather.html). // -// Holidays +// # Holidays // // Holidays is a built-in featurization that incorporates a feature-engineered // dataset of national holiday information into your model. It provides native @@ -17118,29 +17098,29 @@ func (s *SupplementaryFeature) SetValue(v string) *SupplementaryFeature { // // The following basic restrictions apply to tags: // -// * Maximum number of tags per resource - 50. +// - Maximum number of tags per resource - 50. // -// * For each resource, each tag key must be unique, and each tag key can -// have only one value. +// - For each resource, each tag key must be unique, and each tag key can +// have only one value. // -// * Maximum key length - 128 Unicode characters in UTF-8. +// - Maximum key length - 128 Unicode characters in UTF-8. // -// * Maximum value length - 256 Unicode characters in UTF-8. +// - Maximum value length - 256 Unicode characters in UTF-8. // -// * If your tagging schema is used across multiple services and resources, -// remember that other services may have restrictions on allowed characters. -// Generally allowed characters are: letters, numbers, and spaces representable -// in UTF-8, and the following characters: + - = . _ : / @. +// - If your tagging schema is used across multiple services and resources, +// remember that other services may have restrictions on allowed characters. +// Generally allowed characters are: letters, numbers, and spaces representable +// in UTF-8, and the following characters: + - = . _ : / @. // -// * Tag keys and values are case sensitive. +// - Tag keys and values are case sensitive. // -// * Do not use aws:, AWS:, or any upper or lowercase combination of such -// as a prefix for keys as it is reserved for AWS use. You cannot edit or -// delete tag keys with this prefix. Values can have this prefix. If a tag -// value has aws as its prefix but the key does not, then Forecast considers -// it to be a user tag and will count against the limit of 50 tags. Tags -// with only the key prefix of aws do not count against your tags per resource -// limit. +// - Do not use aws:, AWS:, or any upper or lowercase combination of such +// as a prefix for keys as it is reserved for AWS use. You cannot edit or +// delete tag keys with this prefix. Values can have this prefix. If a tag +// value has aws as its prefix but the key does not, then Forecast considers +// it to be a user tag and will count against the limit of 50 tags. Tags +// with only the key prefix of aws do not count against your tags per resource +// limit. type Tag struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/doc.go index fe4d4b24c598..e158f14be38a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/doc.go @@ -10,7 +10,7 @@ // See forecastservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/forecastservice/ // -// Using the Client +// # Using the Client // // To contact Amazon Forecast Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/forecastserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/forecastserviceiface/interface.go index 6be8bdd37e5f..70d44d5293a9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/forecastserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/forecastserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Forecast Service. -// func myFunc(svc forecastserviceiface.ForecastServiceAPI) bool { -// // Make svc.CreateAutoPredictor request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Forecast Service. +// func myFunc(svc forecastserviceiface.ForecastServiceAPI) bool { +// // Make svc.CreateAutoPredictor request +// } // -// func main() { -// sess := session.New() -// svc := forecastservice.New(sess) +// func main() { +// sess := session.New() +// svc := forecastservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockForecastServiceClient struct { -// forecastserviceiface.ForecastServiceAPI -// } -// func (m *mockForecastServiceClient) CreateAutoPredictor(input *forecastservice.CreateAutoPredictorInput) (*forecastservice.CreateAutoPredictorOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockForecastServiceClient struct { +// forecastserviceiface.ForecastServiceAPI +// } +// func (m *mockForecastServiceClient) CreateAutoPredictor(input *forecastservice.CreateAutoPredictorInput) (*forecastservice.CreateAutoPredictorOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockForecastServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockForecastServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/service.go index 82be72b777de..84b354128401 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/forecastservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ForecastService client from just a session. -// svc := forecastservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ForecastService client with additional configuration -// svc := forecastservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ForecastService client from just a session. +// svc := forecastservice.New(mySession) +// +// // Create a ForecastService client with additional configuration +// svc := forecastservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ForecastService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/api.go index 05e16e7763df..fd285b519443 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/api.go @@ -28,14 +28,13 @@ const opBatchCreateVariable = "BatchCreateVariable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchCreateVariableRequest method. +// req, resp := client.BatchCreateVariableRequest(params) // -// // Example sending a request using the BatchCreateVariableRequest method. -// req, resp := client.BatchCreateVariableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/BatchCreateVariable func (c *FraudDetector) BatchCreateVariableRequest(input *BatchCreateVariableInput) (req *request.Request, output *BatchCreateVariableOutput) { @@ -66,19 +65,20 @@ func (c *FraudDetector) BatchCreateVariableRequest(input *BatchCreateVariableInp // API operation BatchCreateVariable for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/BatchCreateVariable func (c *FraudDetector) BatchCreateVariable(input *BatchCreateVariableInput) (*BatchCreateVariableOutput, error) { @@ -118,14 +118,13 @@ const opBatchGetVariable = "BatchGetVariable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetVariableRequest method. +// req, resp := client.BatchGetVariableRequest(params) // -// // Example sending a request using the BatchGetVariableRequest method. -// req, resp := client.BatchGetVariableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/BatchGetVariable func (c *FraudDetector) BatchGetVariableRequest(input *BatchGetVariableInput) (req *request.Request, output *BatchGetVariableOutput) { @@ -156,19 +155,20 @@ func (c *FraudDetector) BatchGetVariableRequest(input *BatchGetVariableInput) (r // API operation BatchGetVariable for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/BatchGetVariable func (c *FraudDetector) BatchGetVariable(input *BatchGetVariableInput) (*BatchGetVariableOutput, error) { @@ -208,14 +208,13 @@ const opCancelBatchImportJob = "CancelBatchImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelBatchImportJobRequest method. +// req, resp := client.CancelBatchImportJobRequest(params) // -// // Example sending a request using the CancelBatchImportJobRequest method. -// req, resp := client.CancelBatchImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CancelBatchImportJob func (c *FraudDetector) CancelBatchImportJobRequest(input *CancelBatchImportJobInput) (req *request.Request, output *CancelBatchImportJobOutput) { @@ -247,22 +246,23 @@ func (c *FraudDetector) CancelBatchImportJobRequest(input *CancelBatchImportJobI // API operation CancelBatchImportJob for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CancelBatchImportJob func (c *FraudDetector) CancelBatchImportJob(input *CancelBatchImportJobInput) (*CancelBatchImportJobOutput, error) { @@ -302,14 +302,13 @@ const opCancelBatchPredictionJob = "CancelBatchPredictionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelBatchPredictionJobRequest method. +// req, resp := client.CancelBatchPredictionJobRequest(params) // -// // Example sending a request using the CancelBatchPredictionJobRequest method. -// req, resp := client.CancelBatchPredictionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CancelBatchPredictionJob func (c *FraudDetector) CancelBatchPredictionJobRequest(input *CancelBatchPredictionJobInput) (req *request.Request, output *CancelBatchPredictionJobOutput) { @@ -341,22 +340,23 @@ func (c *FraudDetector) CancelBatchPredictionJobRequest(input *CancelBatchPredic // API operation CancelBatchPredictionJob for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CancelBatchPredictionJob func (c *FraudDetector) CancelBatchPredictionJob(input *CancelBatchPredictionJobInput) (*CancelBatchPredictionJobOutput, error) { @@ -396,14 +396,13 @@ const opCreateBatchImportJob = "CreateBatchImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBatchImportJobRequest method. +// req, resp := client.CreateBatchImportJobRequest(params) // -// // Example sending a request using the CreateBatchImportJobRequest method. -// req, resp := client.CreateBatchImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateBatchImportJob func (c *FraudDetector) CreateBatchImportJobRequest(input *CreateBatchImportJobInput) (req *request.Request, output *CreateBatchImportJobOutput) { @@ -435,22 +434,23 @@ func (c *FraudDetector) CreateBatchImportJobRequest(input *CreateBatchImportJobI // API operation CreateBatchImportJob for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateBatchImportJob func (c *FraudDetector) CreateBatchImportJob(input *CreateBatchImportJobInput) (*CreateBatchImportJobOutput, error) { @@ -490,14 +490,13 @@ const opCreateBatchPredictionJob = "CreateBatchPredictionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBatchPredictionJobRequest method. +// req, resp := client.CreateBatchPredictionJobRequest(params) // -// // Example sending a request using the CreateBatchPredictionJobRequest method. -// req, resp := client.CreateBatchPredictionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateBatchPredictionJob func (c *FraudDetector) CreateBatchPredictionJobRequest(input *CreateBatchPredictionJobInput) (req *request.Request, output *CreateBatchPredictionJobOutput) { @@ -529,22 +528,23 @@ func (c *FraudDetector) CreateBatchPredictionJobRequest(input *CreateBatchPredic // API operation CreateBatchPredictionJob for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateBatchPredictionJob func (c *FraudDetector) CreateBatchPredictionJob(input *CreateBatchPredictionJobInput) (*CreateBatchPredictionJobOutput, error) { @@ -584,14 +584,13 @@ const opCreateDetectorVersion = "CreateDetectorVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDetectorVersionRequest method. +// req, resp := client.CreateDetectorVersionRequest(params) // -// // Example sending a request using the CreateDetectorVersionRequest method. -// req, resp := client.CreateDetectorVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateDetectorVersion func (c *FraudDetector) CreateDetectorVersionRequest(input *CreateDetectorVersionInput) (req *request.Request, output *CreateDetectorVersionOutput) { @@ -622,22 +621,23 @@ func (c *FraudDetector) CreateDetectorVersionRequest(input *CreateDetectorVersio // API operation CreateDetectorVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateDetectorVersion func (c *FraudDetector) CreateDetectorVersion(input *CreateDetectorVersionInput) (*CreateDetectorVersionOutput, error) { @@ -677,14 +677,13 @@ const opCreateModel = "CreateModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateModelRequest method. +// req, resp := client.CreateModelRequest(params) // -// // Example sending a request using the CreateModelRequest method. -// req, resp := client.CreateModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateModel func (c *FraudDetector) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput) { @@ -716,19 +715,20 @@ func (c *FraudDetector) CreateModelRequest(input *CreateModelInput) (req *reques // API operation CreateModel for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateModel func (c *FraudDetector) CreateModel(input *CreateModelInput) (*CreateModelOutput, error) { @@ -768,14 +768,13 @@ const opCreateModelVersion = "CreateModelVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateModelVersionRequest method. +// req, resp := client.CreateModelVersionRequest(params) // -// // Example sending a request using the CreateModelVersionRequest method. -// req, resp := client.CreateModelVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateModelVersion func (c *FraudDetector) CreateModelVersionRequest(input *CreateModelVersionInput) (req *request.Request, output *CreateModelVersionOutput) { @@ -806,22 +805,23 @@ func (c *FraudDetector) CreateModelVersionRequest(input *CreateModelVersionInput // API operation CreateModelVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * InternalServerException -// An exception indicating an internal server error. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - InternalServerException +// An exception indicating an internal server error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateModelVersion func (c *FraudDetector) CreateModelVersion(input *CreateModelVersionInput) (*CreateModelVersionOutput, error) { @@ -861,14 +861,13 @@ const opCreateRule = "CreateRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRuleRequest method. +// req, resp := client.CreateRuleRequest(params) // -// // Example sending a request using the CreateRuleRequest method. -// req, resp := client.CreateRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateRule func (c *FraudDetector) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, output *CreateRuleOutput) { @@ -899,19 +898,20 @@ func (c *FraudDetector) CreateRuleRequest(input *CreateRuleInput) (req *request. // API operation CreateRule for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateRule func (c *FraudDetector) CreateRule(input *CreateRuleInput) (*CreateRuleOutput, error) { @@ -951,14 +951,13 @@ const opCreateVariable = "CreateVariable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVariableRequest method. +// req, resp := client.CreateVariableRequest(params) // -// // Example sending a request using the CreateVariableRequest method. -// req, resp := client.CreateVariableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateVariable func (c *FraudDetector) CreateVariableRequest(input *CreateVariableInput) (req *request.Request, output *CreateVariableOutput) { @@ -990,19 +989,20 @@ func (c *FraudDetector) CreateVariableRequest(input *CreateVariableInput) (req * // API operation CreateVariable for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateVariable func (c *FraudDetector) CreateVariable(input *CreateVariableInput) (*CreateVariableOutput, error) { @@ -1042,14 +1042,13 @@ const opDeleteBatchImportJob = "DeleteBatchImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBatchImportJobRequest method. +// req, resp := client.DeleteBatchImportJobRequest(params) // -// // Example sending a request using the DeleteBatchImportJobRequest method. -// req, resp := client.DeleteBatchImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteBatchImportJob func (c *FraudDetector) DeleteBatchImportJobRequest(input *DeleteBatchImportJobInput) (req *request.Request, output *DeleteBatchImportJobOutput) { @@ -1081,19 +1080,20 @@ func (c *FraudDetector) DeleteBatchImportJobRequest(input *DeleteBatchImportJobI // API operation DeleteBatchImportJob for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteBatchImportJob func (c *FraudDetector) DeleteBatchImportJob(input *DeleteBatchImportJobInput) (*DeleteBatchImportJobOutput, error) { @@ -1133,14 +1133,13 @@ const opDeleteBatchPredictionJob = "DeleteBatchPredictionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBatchPredictionJobRequest method. +// req, resp := client.DeleteBatchPredictionJobRequest(params) // -// // Example sending a request using the DeleteBatchPredictionJobRequest method. -// req, resp := client.DeleteBatchPredictionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteBatchPredictionJob func (c *FraudDetector) DeleteBatchPredictionJobRequest(input *DeleteBatchPredictionJobInput) (req *request.Request, output *DeleteBatchPredictionJobOutput) { @@ -1172,19 +1171,20 @@ func (c *FraudDetector) DeleteBatchPredictionJobRequest(input *DeleteBatchPredic // API operation DeleteBatchPredictionJob for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteBatchPredictionJob func (c *FraudDetector) DeleteBatchPredictionJob(input *DeleteBatchPredictionJobInput) (*DeleteBatchPredictionJobOutput, error) { @@ -1224,14 +1224,13 @@ const opDeleteDetector = "DeleteDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDetectorRequest method. +// req, resp := client.DeleteDetectorRequest(params) // -// // Example sending a request using the DeleteDetectorRequest method. -// req, resp := client.DeleteDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteDetector func (c *FraudDetector) DeleteDetectorRequest(input *DeleteDetectorInput) (req *request.Request, output *DeleteDetectorOutput) { @@ -1267,22 +1266,23 @@ func (c *FraudDetector) DeleteDetectorRequest(input *DeleteDetectorInput) (req * // API operation DeleteDetector for usage and error information. // // Returned Error Types: -// * ConflictException -// An exception indicating there was a conflict during a delete operation. // -// * ValidationException -// An exception indicating a specified value is not allowed. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteDetector func (c *FraudDetector) DeleteDetector(input *DeleteDetectorInput) (*DeleteDetectorOutput, error) { @@ -1322,14 +1322,13 @@ const opDeleteDetectorVersion = "DeleteDetectorVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDetectorVersionRequest method. +// req, resp := client.DeleteDetectorVersionRequest(params) // -// // Example sending a request using the DeleteDetectorVersionRequest method. -// req, resp := client.DeleteDetectorVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteDetectorVersion func (c *FraudDetector) DeleteDetectorVersionRequest(input *DeleteDetectorVersionInput) (req *request.Request, output *DeleteDetectorVersionOutput) { @@ -1365,25 +1364,26 @@ func (c *FraudDetector) DeleteDetectorVersionRequest(input *DeleteDetectorVersio // API operation DeleteDetectorVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteDetectorVersion func (c *FraudDetector) DeleteDetectorVersion(input *DeleteDetectorVersionInput) (*DeleteDetectorVersionOutput, error) { @@ -1423,14 +1423,13 @@ const opDeleteEntityType = "DeleteEntityType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEntityTypeRequest method. +// req, resp := client.DeleteEntityTypeRequest(params) // -// // Example sending a request using the DeleteEntityTypeRequest method. -// req, resp := client.DeleteEntityTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEntityType func (c *FraudDetector) DeleteEntityTypeRequest(input *DeleteEntityTypeInput) (req *request.Request, output *DeleteEntityTypeOutput) { @@ -1467,22 +1466,23 @@ func (c *FraudDetector) DeleteEntityTypeRequest(input *DeleteEntityTypeInput) (r // API operation DeleteEntityType for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEntityType func (c *FraudDetector) DeleteEntityType(input *DeleteEntityTypeInput) (*DeleteEntityTypeOutput, error) { @@ -1522,14 +1522,13 @@ const opDeleteEvent = "DeleteEvent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventRequest method. +// req, resp := client.DeleteEventRequest(params) // -// // Example sending a request using the DeleteEventRequest method. -// req, resp := client.DeleteEventRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEvent func (c *FraudDetector) DeleteEventRequest(input *DeleteEventInput) (req *request.Request, output *DeleteEventOutput) { @@ -1564,19 +1563,20 @@ func (c *FraudDetector) DeleteEventRequest(input *DeleteEventInput) (req *reques // API operation DeleteEvent for usage and error information. // // Returned Error Types: -// * InternalServerException -// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. +// +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * ValidationException -// An exception indicating a specified value is not allowed. +// - ValidationException +// An exception indicating a specified value is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEvent func (c *FraudDetector) DeleteEvent(input *DeleteEventInput) (*DeleteEventOutput, error) { @@ -1616,14 +1616,13 @@ const opDeleteEventType = "DeleteEventType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventTypeRequest method. +// req, resp := client.DeleteEventTypeRequest(params) // -// // Example sending a request using the DeleteEventTypeRequest method. -// req, resp := client.DeleteEventTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEventType func (c *FraudDetector) DeleteEventTypeRequest(input *DeleteEventTypeInput) (req *request.Request, output *DeleteEventTypeOutput) { @@ -1660,22 +1659,23 @@ func (c *FraudDetector) DeleteEventTypeRequest(input *DeleteEventTypeInput) (req // API operation DeleteEventType for usage and error information. // // Returned Error Types: -// * ConflictException -// An exception indicating there was a conflict during a delete operation. // -// * ValidationException -// An exception indicating a specified value is not allowed. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. +// +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEventType func (c *FraudDetector) DeleteEventType(input *DeleteEventTypeInput) (*DeleteEventTypeOutput, error) { @@ -1715,14 +1715,13 @@ const opDeleteEventsByEventType = "DeleteEventsByEventType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventsByEventTypeRequest method. +// req, resp := client.DeleteEventsByEventTypeRequest(params) // -// // Example sending a request using the DeleteEventsByEventTypeRequest method. -// req, resp := client.DeleteEventsByEventTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEventsByEventType func (c *FraudDetector) DeleteEventsByEventTypeRequest(input *DeleteEventsByEventTypeInput) (req *request.Request, output *DeleteEventsByEventTypeOutput) { @@ -1753,25 +1752,26 @@ func (c *FraudDetector) DeleteEventsByEventTypeRequest(input *DeleteEventsByEven // API operation DeleteEventsByEventType for usage and error information. // // Returned Error Types: -// * ConflictException -// An exception indicating there was a conflict during a delete operation. // -// * ValidationException -// An exception indicating a specified value is not allowed. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. +// +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEventsByEventType func (c *FraudDetector) DeleteEventsByEventType(input *DeleteEventsByEventTypeInput) (*DeleteEventsByEventTypeOutput, error) { @@ -1811,14 +1811,13 @@ const opDeleteExternalModel = "DeleteExternalModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteExternalModelRequest method. +// req, resp := client.DeleteExternalModelRequest(params) // -// // Example sending a request using the DeleteExternalModelRequest method. -// req, resp := client.DeleteExternalModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteExternalModel func (c *FraudDetector) DeleteExternalModelRequest(input *DeleteExternalModelInput) (req *request.Request, output *DeleteExternalModelOutput) { @@ -1854,22 +1853,23 @@ func (c *FraudDetector) DeleteExternalModelRequest(input *DeleteExternalModelInp // API operation DeleteExternalModel for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteExternalModel func (c *FraudDetector) DeleteExternalModel(input *DeleteExternalModelInput) (*DeleteExternalModelOutput, error) { @@ -1909,14 +1909,13 @@ const opDeleteLabel = "DeleteLabel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLabelRequest method. +// req, resp := client.DeleteLabelRequest(params) // -// // Example sending a request using the DeleteLabelRequest method. -// req, resp := client.DeleteLabelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteLabel func (c *FraudDetector) DeleteLabelRequest(input *DeleteLabelInput) (req *request.Request, output *DeleteLabelOutput) { @@ -1957,17 +1956,18 @@ func (c *FraudDetector) DeleteLabelRequest(input *DeleteLabelInput) (req *reques // API operation DeleteLabel for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // -// * InternalServerException -// An exception indicating an internal server error. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - InternalServerException +// An exception indicating an internal server error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteLabel func (c *FraudDetector) DeleteLabel(input *DeleteLabelInput) (*DeleteLabelOutput, error) { @@ -2007,14 +2007,13 @@ const opDeleteModel = "DeleteModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteModelRequest method. +// req, resp := client.DeleteModelRequest(params) // -// // Example sending a request using the DeleteModelRequest method. -// req, resp := client.DeleteModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModel func (c *FraudDetector) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput) { @@ -2052,22 +2051,23 @@ func (c *FraudDetector) DeleteModelRequest(input *DeleteModelInput) (req *reques // API operation DeleteModel for usage and error information. // // Returned Error Types: -// * ConflictException -// An exception indicating there was a conflict during a delete operation. // -// * ValidationException -// An exception indicating a specified value is not allowed. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModel func (c *FraudDetector) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error) { @@ -2107,14 +2107,13 @@ const opDeleteModelVersion = "DeleteModelVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteModelVersionRequest method. +// req, resp := client.DeleteModelVersionRequest(params) // -// // Example sending a request using the DeleteModelVersionRequest method. -// req, resp := client.DeleteModelVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModelVersion func (c *FraudDetector) DeleteModelVersionRequest(input *DeleteModelVersionInput) (req *request.Request, output *DeleteModelVersionOutput) { @@ -2152,22 +2151,23 @@ func (c *FraudDetector) DeleteModelVersionRequest(input *DeleteModelVersionInput // API operation DeleteModelVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModelVersion func (c *FraudDetector) DeleteModelVersion(input *DeleteModelVersionInput) (*DeleteModelVersionOutput, error) { @@ -2207,14 +2207,13 @@ const opDeleteOutcome = "DeleteOutcome" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOutcomeRequest method. +// req, resp := client.DeleteOutcomeRequest(params) // -// // Example sending a request using the DeleteOutcomeRequest method. -// req, resp := client.DeleteOutcomeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteOutcome func (c *FraudDetector) DeleteOutcomeRequest(input *DeleteOutcomeInput) (req *request.Request, output *DeleteOutcomeOutput) { @@ -2251,22 +2250,23 @@ func (c *FraudDetector) DeleteOutcomeRequest(input *DeleteOutcomeInput) (req *re // API operation DeleteOutcome for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteOutcome func (c *FraudDetector) DeleteOutcome(input *DeleteOutcomeInput) (*DeleteOutcomeOutput, error) { @@ -2306,14 +2306,13 @@ const opDeleteRule = "DeleteRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRuleRequest method. +// req, resp := client.DeleteRuleRequest(params) // -// // Example sending a request using the DeleteRuleRequest method. -// req, resp := client.DeleteRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteRule func (c *FraudDetector) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, output *DeleteRuleOutput) { @@ -2349,22 +2348,23 @@ func (c *FraudDetector) DeleteRuleRequest(input *DeleteRuleInput) (req *request. // API operation DeleteRule for usage and error information. // // Returned Error Types: -// * ConflictException -// An exception indicating there was a conflict during a delete operation. // -// * ValidationException -// An exception indicating a specified value is not allowed. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. +// +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteRule func (c *FraudDetector) DeleteRule(input *DeleteRuleInput) (*DeleteRuleOutput, error) { @@ -2404,14 +2404,13 @@ const opDeleteVariable = "DeleteVariable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVariableRequest method. +// req, resp := client.DeleteVariableRequest(params) // -// // Example sending a request using the DeleteVariableRequest method. -// req, resp := client.DeleteVariableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteVariable func (c *FraudDetector) DeleteVariableRequest(input *DeleteVariableInput) (req *request.Request, output *DeleteVariableOutput) { @@ -2453,22 +2452,23 @@ func (c *FraudDetector) DeleteVariableRequest(input *DeleteVariableInput) (req * // API operation DeleteVariable for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteVariable func (c *FraudDetector) DeleteVariable(input *DeleteVariableInput) (*DeleteVariableOutput, error) { @@ -2508,14 +2508,13 @@ const opDescribeDetector = "DescribeDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDetectorRequest method. +// req, resp := client.DescribeDetectorRequest(params) // -// // Example sending a request using the DescribeDetectorRequest method. -// req, resp := client.DescribeDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DescribeDetector func (c *FraudDetector) DescribeDetectorRequest(input *DescribeDetectorInput) (req *request.Request, output *DescribeDetectorOutput) { @@ -2546,22 +2545,23 @@ func (c *FraudDetector) DescribeDetectorRequest(input *DescribeDetectorInput) (r // API operation DescribeDetector for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DescribeDetector func (c *FraudDetector) DescribeDetector(input *DescribeDetectorInput) (*DescribeDetectorOutput, error) { @@ -2601,14 +2601,13 @@ const opDescribeModelVersions = "DescribeModelVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeModelVersionsRequest method. +// req, resp := client.DescribeModelVersionsRequest(params) // -// // Example sending a request using the DescribeModelVersionsRequest method. -// req, resp := client.DescribeModelVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DescribeModelVersions func (c *FraudDetector) DescribeModelVersionsRequest(input *DescribeModelVersionsInput) (req *request.Request, output *DescribeModelVersionsOutput) { @@ -2647,22 +2646,23 @@ func (c *FraudDetector) DescribeModelVersionsRequest(input *DescribeModelVersion // API operation DescribeModelVersions for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DescribeModelVersions func (c *FraudDetector) DescribeModelVersions(input *DescribeModelVersionsInput) (*DescribeModelVersionsOutput, error) { @@ -2694,15 +2694,14 @@ func (c *FraudDetector) DescribeModelVersionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeModelVersions operation. -// pageNum := 0 -// err := client.DescribeModelVersionsPages(params, -// func(page *frauddetector.DescribeModelVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeModelVersions operation. +// pageNum := 0 +// err := client.DescribeModelVersionsPages(params, +// func(page *frauddetector.DescribeModelVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FraudDetector) DescribeModelVersionsPages(input *DescribeModelVersionsInput, fn func(*DescribeModelVersionsOutput, bool) bool) error { return c.DescribeModelVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2754,14 +2753,13 @@ const opGetBatchImportJobs = "GetBatchImportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBatchImportJobsRequest method. +// req, resp := client.GetBatchImportJobsRequest(params) // -// // Example sending a request using the GetBatchImportJobsRequest method. -// req, resp := client.GetBatchImportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetBatchImportJobs func (c *FraudDetector) GetBatchImportJobsRequest(input *GetBatchImportJobsInput) (req *request.Request, output *GetBatchImportJobsOutput) { @@ -2803,22 +2801,23 @@ func (c *FraudDetector) GetBatchImportJobsRequest(input *GetBatchImportJobsInput // API operation GetBatchImportJobs for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetBatchImportJobs func (c *FraudDetector) GetBatchImportJobs(input *GetBatchImportJobsInput) (*GetBatchImportJobsOutput, error) { @@ -2850,15 +2849,14 @@ func (c *FraudDetector) GetBatchImportJobsWithContext(ctx aws.Context, input *Ge // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetBatchImportJobs operation. -// pageNum := 0 -// err := client.GetBatchImportJobsPages(params, -// func(page *frauddetector.GetBatchImportJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetBatchImportJobs operation. +// pageNum := 0 +// err := client.GetBatchImportJobsPages(params, +// func(page *frauddetector.GetBatchImportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FraudDetector) GetBatchImportJobsPages(input *GetBatchImportJobsInput, fn func(*GetBatchImportJobsOutput, bool) bool) error { return c.GetBatchImportJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2910,14 +2908,13 @@ const opGetBatchPredictionJobs = "GetBatchPredictionJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBatchPredictionJobsRequest method. +// req, resp := client.GetBatchPredictionJobsRequest(params) // -// // Example sending a request using the GetBatchPredictionJobsRequest method. -// req, resp := client.GetBatchPredictionJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetBatchPredictionJobs func (c *FraudDetector) GetBatchPredictionJobsRequest(input *GetBatchPredictionJobsInput) (req *request.Request, output *GetBatchPredictionJobsOutput) { @@ -2959,22 +2956,23 @@ func (c *FraudDetector) GetBatchPredictionJobsRequest(input *GetBatchPredictionJ // API operation GetBatchPredictionJobs for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetBatchPredictionJobs func (c *FraudDetector) GetBatchPredictionJobs(input *GetBatchPredictionJobsInput) (*GetBatchPredictionJobsOutput, error) { @@ -3006,15 +3004,14 @@ func (c *FraudDetector) GetBatchPredictionJobsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetBatchPredictionJobs operation. -// pageNum := 0 -// err := client.GetBatchPredictionJobsPages(params, -// func(page *frauddetector.GetBatchPredictionJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetBatchPredictionJobs operation. +// pageNum := 0 +// err := client.GetBatchPredictionJobsPages(params, +// func(page *frauddetector.GetBatchPredictionJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FraudDetector) GetBatchPredictionJobsPages(input *GetBatchPredictionJobsInput, fn func(*GetBatchPredictionJobsOutput, bool) bool) error { return c.GetBatchPredictionJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3066,14 +3063,13 @@ const opGetDeleteEventsByEventTypeStatus = "GetDeleteEventsByEventTypeStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeleteEventsByEventTypeStatusRequest method. +// req, resp := client.GetDeleteEventsByEventTypeStatusRequest(params) // -// // Example sending a request using the GetDeleteEventsByEventTypeStatusRequest method. -// req, resp := client.GetDeleteEventsByEventTypeStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDeleteEventsByEventTypeStatus func (c *FraudDetector) GetDeleteEventsByEventTypeStatusRequest(input *GetDeleteEventsByEventTypeStatusInput) (req *request.Request, output *GetDeleteEventsByEventTypeStatusOutput) { @@ -3104,22 +3100,23 @@ func (c *FraudDetector) GetDeleteEventsByEventTypeStatusRequest(input *GetDelete // API operation GetDeleteEventsByEventTypeStatus for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDeleteEventsByEventTypeStatus func (c *FraudDetector) GetDeleteEventsByEventTypeStatus(input *GetDeleteEventsByEventTypeStatusInput) (*GetDeleteEventsByEventTypeStatusOutput, error) { @@ -3159,14 +3156,13 @@ const opGetDetectorVersion = "GetDetectorVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDetectorVersionRequest method. +// req, resp := client.GetDetectorVersionRequest(params) // -// // Example sending a request using the GetDetectorVersionRequest method. -// req, resp := client.GetDetectorVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDetectorVersion func (c *FraudDetector) GetDetectorVersionRequest(input *GetDetectorVersionInput) (req *request.Request, output *GetDetectorVersionOutput) { @@ -3197,22 +3193,23 @@ func (c *FraudDetector) GetDetectorVersionRequest(input *GetDetectorVersionInput // API operation GetDetectorVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDetectorVersion func (c *FraudDetector) GetDetectorVersion(input *GetDetectorVersionInput) (*GetDetectorVersionOutput, error) { @@ -3252,14 +3249,13 @@ const opGetDetectors = "GetDetectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDetectorsRequest method. +// req, resp := client.GetDetectorsRequest(params) // -// // Example sending a request using the GetDetectorsRequest method. -// req, resp := client.GetDetectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDetectors func (c *FraudDetector) GetDetectorsRequest(input *GetDetectorsInput) (req *request.Request, output *GetDetectorsOutput) { @@ -3301,22 +3297,23 @@ func (c *FraudDetector) GetDetectorsRequest(input *GetDetectorsInput) (req *requ // API operation GetDetectors for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDetectors func (c *FraudDetector) GetDetectors(input *GetDetectorsInput) (*GetDetectorsOutput, error) { @@ -3348,15 +3345,14 @@ func (c *FraudDetector) GetDetectorsWithContext(ctx aws.Context, input *GetDetec // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetDetectors operation. -// pageNum := 0 -// err := client.GetDetectorsPages(params, -// func(page *frauddetector.GetDetectorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetDetectors operation. +// pageNum := 0 +// err := client.GetDetectorsPages(params, +// func(page *frauddetector.GetDetectorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FraudDetector) GetDetectorsPages(input *GetDetectorsInput, fn func(*GetDetectorsOutput, bool) bool) error { return c.GetDetectorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3408,14 +3404,13 @@ const opGetEntityTypes = "GetEntityTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEntityTypesRequest method. +// req, resp := client.GetEntityTypesRequest(params) // -// // Example sending a request using the GetEntityTypesRequest method. -// req, resp := client.GetEntityTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEntityTypes func (c *FraudDetector) GetEntityTypesRequest(input *GetEntityTypesInput) (req *request.Request, output *GetEntityTypesOutput) { @@ -3457,22 +3452,23 @@ func (c *FraudDetector) GetEntityTypesRequest(input *GetEntityTypesInput) (req * // API operation GetEntityTypes for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEntityTypes func (c *FraudDetector) GetEntityTypes(input *GetEntityTypesInput) (*GetEntityTypesOutput, error) { @@ -3504,15 +3500,14 @@ func (c *FraudDetector) GetEntityTypesWithContext(ctx aws.Context, input *GetEnt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetEntityTypes operation. -// pageNum := 0 -// err := client.GetEntityTypesPages(params, -// func(page *frauddetector.GetEntityTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetEntityTypes operation. +// pageNum := 0 +// err := client.GetEntityTypesPages(params, +// func(page *frauddetector.GetEntityTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FraudDetector) GetEntityTypesPages(input *GetEntityTypesInput, fn func(*GetEntityTypesOutput, bool) bool) error { return c.GetEntityTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3564,14 +3559,13 @@ const opGetEvent = "GetEvent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEventRequest method. +// req, resp := client.GetEventRequest(params) // -// // Example sending a request using the GetEventRequest method. -// req, resp := client.GetEventRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEvent func (c *FraudDetector) GetEventRequest(input *GetEventInput) (req *request.Request, output *GetEventOutput) { @@ -3603,22 +3597,23 @@ func (c *FraudDetector) GetEventRequest(input *GetEventInput) (req *request.Requ // API operation GetEvent for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEvent func (c *FraudDetector) GetEvent(input *GetEventInput) (*GetEventOutput, error) { @@ -3658,14 +3653,13 @@ const opGetEventPrediction = "GetEventPrediction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEventPredictionRequest method. +// req, resp := client.GetEventPredictionRequest(params) // -// // Example sending a request using the GetEventPredictionRequest method. -// req, resp := client.GetEventPredictionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventPrediction func (c *FraudDetector) GetEventPredictionRequest(input *GetEventPredictionInput) (req *request.Request, output *GetEventPredictionOutput) { @@ -3697,29 +3691,30 @@ func (c *FraudDetector) GetEventPredictionRequest(input *GetEventPredictionInput // API operation GetEventPrediction for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // -// * ResourceUnavailableException -// An exception indicating that the attached customer-owned (external) model -// threw an exception when Amazon Fraud Detector invoked the model. +// - ResourceUnavailableException +// An exception indicating that the attached customer-owned (external) model +// threw an exception when Amazon Fraud Detector invoked the model. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventPrediction func (c *FraudDetector) GetEventPrediction(input *GetEventPredictionInput) (*GetEventPredictionOutput, error) { @@ -3759,14 +3754,13 @@ const opGetEventPredictionMetadata = "GetEventPredictionMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEventPredictionMetadataRequest method. +// req, resp := client.GetEventPredictionMetadataRequest(params) // -// // Example sending a request using the GetEventPredictionMetadataRequest method. -// req, resp := client.GetEventPredictionMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventPredictionMetadata func (c *FraudDetector) GetEventPredictionMetadataRequest(input *GetEventPredictionMetadataInput) (req *request.Request, output *GetEventPredictionMetadataOutput) { @@ -3799,22 +3793,23 @@ func (c *FraudDetector) GetEventPredictionMetadataRequest(input *GetEventPredict // API operation GetEventPredictionMetadata for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * InternalServerException -// An exception indicating an internal server error. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - InternalServerException +// An exception indicating an internal server error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventPredictionMetadata func (c *FraudDetector) GetEventPredictionMetadata(input *GetEventPredictionMetadataInput) (*GetEventPredictionMetadataOutput, error) { @@ -3854,14 +3849,13 @@ const opGetEventTypes = "GetEventTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEventTypesRequest method. +// req, resp := client.GetEventTypesRequest(params) // -// // Example sending a request using the GetEventTypesRequest method. -// req, resp := client.GetEventTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventTypes func (c *FraudDetector) GetEventTypesRequest(input *GetEventTypesInput) (req *request.Request, output *GetEventTypesOutput) { @@ -3903,22 +3897,23 @@ func (c *FraudDetector) GetEventTypesRequest(input *GetEventTypesInput) (req *re // API operation GetEventTypes for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventTypes func (c *FraudDetector) GetEventTypes(input *GetEventTypesInput) (*GetEventTypesOutput, error) { @@ -3950,15 +3945,14 @@ func (c *FraudDetector) GetEventTypesWithContext(ctx aws.Context, input *GetEven // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetEventTypes operation. -// pageNum := 0 -// err := client.GetEventTypesPages(params, -// func(page *frauddetector.GetEventTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetEventTypes operation. +// pageNum := 0 +// err := client.GetEventTypesPages(params, +// func(page *frauddetector.GetEventTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FraudDetector) GetEventTypesPages(input *GetEventTypesInput, fn func(*GetEventTypesOutput, bool) bool) error { return c.GetEventTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4010,14 +4004,13 @@ const opGetExternalModels = "GetExternalModels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetExternalModelsRequest method. +// req, resp := client.GetExternalModelsRequest(params) // -// // Example sending a request using the GetExternalModelsRequest method. -// req, resp := client.GetExternalModelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetExternalModels func (c *FraudDetector) GetExternalModelsRequest(input *GetExternalModelsInput) (req *request.Request, output *GetExternalModelsOutput) { @@ -4059,22 +4052,23 @@ func (c *FraudDetector) GetExternalModelsRequest(input *GetExternalModelsInput) // API operation GetExternalModels for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetExternalModels func (c *FraudDetector) GetExternalModels(input *GetExternalModelsInput) (*GetExternalModelsOutput, error) { @@ -4106,15 +4100,14 @@ func (c *FraudDetector) GetExternalModelsWithContext(ctx aws.Context, input *Get // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetExternalModels operation. -// pageNum := 0 -// err := client.GetExternalModelsPages(params, -// func(page *frauddetector.GetExternalModelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetExternalModels operation. +// pageNum := 0 +// err := client.GetExternalModelsPages(params, +// func(page *frauddetector.GetExternalModelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FraudDetector) GetExternalModelsPages(input *GetExternalModelsInput, fn func(*GetExternalModelsOutput, bool) bool) error { return c.GetExternalModelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4166,14 +4159,13 @@ const opGetKMSEncryptionKey = "GetKMSEncryptionKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetKMSEncryptionKeyRequest method. +// req, resp := client.GetKMSEncryptionKeyRequest(params) // -// // Example sending a request using the GetKMSEncryptionKeyRequest method. -// req, resp := client.GetKMSEncryptionKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetKMSEncryptionKey func (c *FraudDetector) GetKMSEncryptionKeyRequest(input *GetKMSEncryptionKeyInput) (req *request.Request, output *GetKMSEncryptionKeyOutput) { @@ -4205,19 +4197,20 @@ func (c *FraudDetector) GetKMSEncryptionKeyRequest(input *GetKMSEncryptionKeyInp // API operation GetKMSEncryptionKey for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. +// +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetKMSEncryptionKey func (c *FraudDetector) GetKMSEncryptionKey(input *GetKMSEncryptionKeyInput) (*GetKMSEncryptionKeyOutput, error) { @@ -4257,14 +4250,13 @@ const opGetLabels = "GetLabels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLabelsRequest method. +// req, resp := client.GetLabelsRequest(params) // -// // Example sending a request using the GetLabelsRequest method. -// req, resp := client.GetLabelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetLabels func (c *FraudDetector) GetLabelsRequest(input *GetLabelsInput) (req *request.Request, output *GetLabelsOutput) { @@ -4306,22 +4298,23 @@ func (c *FraudDetector) GetLabelsRequest(input *GetLabelsInput) (req *request.Re // API operation GetLabels for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetLabels func (c *FraudDetector) GetLabels(input *GetLabelsInput) (*GetLabelsOutput, error) { @@ -4353,15 +4346,14 @@ func (c *FraudDetector) GetLabelsWithContext(ctx aws.Context, input *GetLabelsIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetLabels operation. -// pageNum := 0 -// err := client.GetLabelsPages(params, -// func(page *frauddetector.GetLabelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetLabels operation. +// pageNum := 0 +// err := client.GetLabelsPages(params, +// func(page *frauddetector.GetLabelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FraudDetector) GetLabelsPages(input *GetLabelsInput, fn func(*GetLabelsOutput, bool) bool) error { return c.GetLabelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4413,14 +4405,13 @@ const opGetModelVersion = "GetModelVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetModelVersionRequest method. +// req, resp := client.GetModelVersionRequest(params) // -// // Example sending a request using the GetModelVersionRequest method. -// req, resp := client.GetModelVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetModelVersion func (c *FraudDetector) GetModelVersionRequest(input *GetModelVersionInput) (req *request.Request, output *GetModelVersionOutput) { @@ -4451,22 +4442,23 @@ func (c *FraudDetector) GetModelVersionRequest(input *GetModelVersionInput) (req // API operation GetModelVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetModelVersion func (c *FraudDetector) GetModelVersion(input *GetModelVersionInput) (*GetModelVersionOutput, error) { @@ -4506,14 +4498,13 @@ const opGetModels = "GetModels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetModelsRequest method. +// req, resp := client.GetModelsRequest(params) // -// // Example sending a request using the GetModelsRequest method. -// req, resp := client.GetModelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetModels func (c *FraudDetector) GetModelsRequest(input *GetModelsInput) (req *request.Request, output *GetModelsOutput) { @@ -4560,22 +4551,23 @@ func (c *FraudDetector) GetModelsRequest(input *GetModelsInput) (req *request.Re // API operation GetModels for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetModels func (c *FraudDetector) GetModels(input *GetModelsInput) (*GetModelsOutput, error) { @@ -4607,15 +4599,14 @@ func (c *FraudDetector) GetModelsWithContext(ctx aws.Context, input *GetModelsIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetModels operation. -// pageNum := 0 -// err := client.GetModelsPages(params, -// func(page *frauddetector.GetModelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetModels operation. +// pageNum := 0 +// err := client.GetModelsPages(params, +// func(page *frauddetector.GetModelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FraudDetector) GetModelsPages(input *GetModelsInput, fn func(*GetModelsOutput, bool) bool) error { return c.GetModelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4667,14 +4658,13 @@ const opGetOutcomes = "GetOutcomes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOutcomesRequest method. +// req, resp := client.GetOutcomesRequest(params) // -// // Example sending a request using the GetOutcomesRequest method. -// req, resp := client.GetOutcomesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetOutcomes func (c *FraudDetector) GetOutcomesRequest(input *GetOutcomesInput) (req *request.Request, output *GetOutcomesOutput) { @@ -4716,22 +4706,23 @@ func (c *FraudDetector) GetOutcomesRequest(input *GetOutcomesInput) (req *reques // API operation GetOutcomes for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetOutcomes func (c *FraudDetector) GetOutcomes(input *GetOutcomesInput) (*GetOutcomesOutput, error) { @@ -4763,15 +4754,14 @@ func (c *FraudDetector) GetOutcomesWithContext(ctx aws.Context, input *GetOutcom // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetOutcomes operation. -// pageNum := 0 -// err := client.GetOutcomesPages(params, -// func(page *frauddetector.GetOutcomesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetOutcomes operation. +// pageNum := 0 +// err := client.GetOutcomesPages(params, +// func(page *frauddetector.GetOutcomesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FraudDetector) GetOutcomesPages(input *GetOutcomesInput, fn func(*GetOutcomesOutput, bool) bool) error { return c.GetOutcomesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4823,14 +4813,13 @@ const opGetRules = "GetRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRulesRequest method. +// req, resp := client.GetRulesRequest(params) // -// // Example sending a request using the GetRulesRequest method. -// req, resp := client.GetRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetRules func (c *FraudDetector) GetRulesRequest(input *GetRulesInput) (req *request.Request, output *GetRulesOutput) { @@ -4875,22 +4864,23 @@ func (c *FraudDetector) GetRulesRequest(input *GetRulesInput) (req *request.Requ // API operation GetRules for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetRules func (c *FraudDetector) GetRules(input *GetRulesInput) (*GetRulesOutput, error) { @@ -4922,15 +4912,14 @@ func (c *FraudDetector) GetRulesWithContext(ctx aws.Context, input *GetRulesInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetRules operation. -// pageNum := 0 -// err := client.GetRulesPages(params, -// func(page *frauddetector.GetRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetRules operation. +// pageNum := 0 +// err := client.GetRulesPages(params, +// func(page *frauddetector.GetRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FraudDetector) GetRulesPages(input *GetRulesInput, fn func(*GetRulesOutput, bool) bool) error { return c.GetRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4982,14 +4971,13 @@ const opGetVariables = "GetVariables" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVariablesRequest method. +// req, resp := client.GetVariablesRequest(params) // -// // Example sending a request using the GetVariablesRequest method. -// req, resp := client.GetVariablesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetVariables func (c *FraudDetector) GetVariablesRequest(input *GetVariablesInput) (req *request.Request, output *GetVariablesOutput) { @@ -5031,22 +5019,23 @@ func (c *FraudDetector) GetVariablesRequest(input *GetVariablesInput) (req *requ // API operation GetVariables for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetVariables func (c *FraudDetector) GetVariables(input *GetVariablesInput) (*GetVariablesOutput, error) { @@ -5078,15 +5067,14 @@ func (c *FraudDetector) GetVariablesWithContext(ctx aws.Context, input *GetVaria // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetVariables operation. -// pageNum := 0 -// err := client.GetVariablesPages(params, -// func(page *frauddetector.GetVariablesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetVariables operation. +// pageNum := 0 +// err := client.GetVariablesPages(params, +// func(page *frauddetector.GetVariablesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FraudDetector) GetVariablesPages(input *GetVariablesInput, fn func(*GetVariablesOutput, bool) bool) error { return c.GetVariablesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5138,14 +5126,13 @@ const opListEventPredictions = "ListEventPredictions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventPredictionsRequest method. +// req, resp := client.ListEventPredictionsRequest(params) // -// // Example sending a request using the ListEventPredictionsRequest method. -// req, resp := client.ListEventPredictionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ListEventPredictions func (c *FraudDetector) ListEventPredictionsRequest(input *ListEventPredictionsInput) (req *request.Request, output *ListEventPredictionsOutput) { @@ -5193,19 +5180,20 @@ func (c *FraudDetector) ListEventPredictionsRequest(input *ListEventPredictionsI // API operation ListEventPredictions for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ListEventPredictions func (c *FraudDetector) ListEventPredictions(input *ListEventPredictionsInput) (*ListEventPredictionsOutput, error) { @@ -5237,15 +5225,14 @@ func (c *FraudDetector) ListEventPredictionsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEventPredictions operation. -// pageNum := 0 -// err := client.ListEventPredictionsPages(params, -// func(page *frauddetector.ListEventPredictionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEventPredictions operation. +// pageNum := 0 +// err := client.ListEventPredictionsPages(params, +// func(page *frauddetector.ListEventPredictionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FraudDetector) ListEventPredictionsPages(input *ListEventPredictionsInput, fn func(*ListEventPredictionsOutput, bool) bool) error { return c.ListEventPredictionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5297,14 +5284,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ListTagsForResource func (c *FraudDetector) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -5344,19 +5330,20 @@ func (c *FraudDetector) ListTagsForResourceRequest(input *ListTagsForResourceInp // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ListTagsForResource func (c *FraudDetector) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -5388,15 +5375,14 @@ func (c *FraudDetector) ListTagsForResourceWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *frauddetector.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *frauddetector.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FraudDetector) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5448,14 +5434,13 @@ const opPutDetector = "PutDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDetectorRequest method. +// req, resp := client.PutDetectorRequest(params) // -// // Example sending a request using the PutDetectorRequest method. -// req, resp := client.PutDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutDetector func (c *FraudDetector) PutDetectorRequest(input *PutDetectorInput) (req *request.Request, output *PutDetectorOutput) { @@ -5487,22 +5472,23 @@ func (c *FraudDetector) PutDetectorRequest(input *PutDetectorInput) (req *reques // API operation PutDetector for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutDetector func (c *FraudDetector) PutDetector(input *PutDetectorInput) (*PutDetectorOutput, error) { @@ -5542,14 +5528,13 @@ const opPutEntityType = "PutEntityType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEntityTypeRequest method. +// req, resp := client.PutEntityTypeRequest(params) // -// // Example sending a request using the PutEntityTypeRequest method. -// req, resp := client.PutEntityTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEntityType func (c *FraudDetector) PutEntityTypeRequest(input *PutEntityTypeInput) (req *request.Request, output *PutEntityTypeOutput) { @@ -5584,22 +5569,23 @@ func (c *FraudDetector) PutEntityTypeRequest(input *PutEntityTypeInput) (req *re // API operation PutEntityType for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEntityType func (c *FraudDetector) PutEntityType(input *PutEntityTypeInput) (*PutEntityTypeOutput, error) { @@ -5639,14 +5625,13 @@ const opPutEventType = "PutEventType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEventTypeRequest method. +// req, resp := client.PutEventTypeRequest(params) // -// // Example sending a request using the PutEventTypeRequest method. -// req, resp := client.PutEventTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEventType func (c *FraudDetector) PutEventTypeRequest(input *PutEventTypeInput) (req *request.Request, output *PutEventTypeOutput) { @@ -5684,22 +5669,23 @@ func (c *FraudDetector) PutEventTypeRequest(input *PutEventTypeInput) (req *requ // API operation PutEventType for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEventType func (c *FraudDetector) PutEventType(input *PutEventTypeInput) (*PutEventTypeOutput, error) { @@ -5739,14 +5725,13 @@ const opPutExternalModel = "PutExternalModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutExternalModelRequest method. +// req, resp := client.PutExternalModelRequest(params) // -// // Example sending a request using the PutExternalModelRequest method. -// req, resp := client.PutExternalModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutExternalModel func (c *FraudDetector) PutExternalModelRequest(input *PutExternalModelInput) (req *request.Request, output *PutExternalModelOutput) { @@ -5780,22 +5765,23 @@ func (c *FraudDetector) PutExternalModelRequest(input *PutExternalModelInput) (r // API operation PutExternalModel for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutExternalModel func (c *FraudDetector) PutExternalModel(input *PutExternalModelInput) (*PutExternalModelOutput, error) { @@ -5835,14 +5821,13 @@ const opPutKMSEncryptionKey = "PutKMSEncryptionKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutKMSEncryptionKeyRequest method. +// req, resp := client.PutKMSEncryptionKeyRequest(params) // -// // Example sending a request using the PutKMSEncryptionKeyRequest method. -// req, resp := client.PutKMSEncryptionKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutKMSEncryptionKey func (c *FraudDetector) PutKMSEncryptionKeyRequest(input *PutKMSEncryptionKeyInput) (req *request.Request, output *PutKMSEncryptionKeyOutput) { @@ -5874,25 +5859,26 @@ func (c *FraudDetector) PutKMSEncryptionKeyRequest(input *PutKMSEncryptionKeyInp // API operation PutKMSEncryptionKey for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutKMSEncryptionKey func (c *FraudDetector) PutKMSEncryptionKey(input *PutKMSEncryptionKeyInput) (*PutKMSEncryptionKeyOutput, error) { @@ -5932,14 +5918,13 @@ const opPutLabel = "PutLabel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutLabelRequest method. +// req, resp := client.PutLabelRequest(params) // -// // Example sending a request using the PutLabelRequest method. -// req, resp := client.PutLabelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutLabel func (c *FraudDetector) PutLabelRequest(input *PutLabelInput) (req *request.Request, output *PutLabelOutput) { @@ -5973,22 +5958,23 @@ func (c *FraudDetector) PutLabelRequest(input *PutLabelInput) (req *request.Requ // API operation PutLabel for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutLabel func (c *FraudDetector) PutLabel(input *PutLabelInput) (*PutLabelOutput, error) { @@ -6028,14 +6014,13 @@ const opPutOutcome = "PutOutcome" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutOutcomeRequest method. +// req, resp := client.PutOutcomeRequest(params) // -// // Example sending a request using the PutOutcomeRequest method. -// req, resp := client.PutOutcomeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutOutcome func (c *FraudDetector) PutOutcomeRequest(input *PutOutcomeInput) (req *request.Request, output *PutOutcomeOutput) { @@ -6067,22 +6052,23 @@ func (c *FraudDetector) PutOutcomeRequest(input *PutOutcomeInput) (req *request. // API operation PutOutcome for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutOutcome func (c *FraudDetector) PutOutcome(input *PutOutcomeInput) (*PutOutcomeOutput, error) { @@ -6122,14 +6108,13 @@ const opSendEvent = "SendEvent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendEventRequest method. +// req, resp := client.SendEventRequest(params) // -// // Example sending a request using the SendEventRequest method. -// req, resp := client.SendEventRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/SendEvent func (c *FraudDetector) SendEventRequest(input *SendEventInput) (req *request.Request, output *SendEventOutput) { @@ -6163,25 +6148,26 @@ func (c *FraudDetector) SendEventRequest(input *SendEventInput) (req *request.Re // API operation SendEvent for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/SendEvent func (c *FraudDetector) SendEvent(input *SendEventInput) (*SendEventOutput, error) { @@ -6221,14 +6207,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TagResource func (c *FraudDetector) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -6260,19 +6245,20 @@ func (c *FraudDetector) TagResourceRequest(input *TagResourceInput) (req *reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TagResource func (c *FraudDetector) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -6312,14 +6298,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UntagResource func (c *FraudDetector) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -6351,19 +6336,20 @@ func (c *FraudDetector) UntagResourceRequest(input *UntagResourceInput) (req *re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UntagResource func (c *FraudDetector) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -6403,14 +6389,13 @@ const opUpdateDetectorVersion = "UpdateDetectorVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDetectorVersionRequest method. +// req, resp := client.UpdateDetectorVersionRequest(params) // -// // Example sending a request using the UpdateDetectorVersionRequest method. -// req, resp := client.UpdateDetectorVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersion func (c *FraudDetector) UpdateDetectorVersionRequest(input *UpdateDetectorVersionInput) (req *request.Request, output *UpdateDetectorVersionOutput) { @@ -6444,25 +6429,26 @@ func (c *FraudDetector) UpdateDetectorVersionRequest(input *UpdateDetectorVersio // API operation UpdateDetectorVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersion func (c *FraudDetector) UpdateDetectorVersion(input *UpdateDetectorVersionInput) (*UpdateDetectorVersionOutput, error) { @@ -6502,14 +6488,13 @@ const opUpdateDetectorVersionMetadata = "UpdateDetectorVersionMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDetectorVersionMetadataRequest method. +// req, resp := client.UpdateDetectorVersionMetadataRequest(params) // -// // Example sending a request using the UpdateDetectorVersionMetadataRequest method. -// req, resp := client.UpdateDetectorVersionMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersionMetadata func (c *FraudDetector) UpdateDetectorVersionMetadataRequest(input *UpdateDetectorVersionMetadataInput) (req *request.Request, output *UpdateDetectorVersionMetadataOutput) { @@ -6542,22 +6527,23 @@ func (c *FraudDetector) UpdateDetectorVersionMetadataRequest(input *UpdateDetect // API operation UpdateDetectorVersionMetadata for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersionMetadata func (c *FraudDetector) UpdateDetectorVersionMetadata(input *UpdateDetectorVersionMetadataInput) (*UpdateDetectorVersionMetadataOutput, error) { @@ -6597,14 +6583,13 @@ const opUpdateDetectorVersionStatus = "UpdateDetectorVersionStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDetectorVersionStatusRequest method. +// req, resp := client.UpdateDetectorVersionStatusRequest(params) // -// // Example sending a request using the UpdateDetectorVersionStatusRequest method. -// req, resp := client.UpdateDetectorVersionStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersionStatus func (c *FraudDetector) UpdateDetectorVersionStatusRequest(input *UpdateDetectorVersionStatusInput) (req *request.Request, output *UpdateDetectorVersionStatusOutput) { @@ -6638,25 +6623,26 @@ func (c *FraudDetector) UpdateDetectorVersionStatusRequest(input *UpdateDetector // API operation UpdateDetectorVersionStatus for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersionStatus func (c *FraudDetector) UpdateDetectorVersionStatus(input *UpdateDetectorVersionStatusInput) (*UpdateDetectorVersionStatusOutput, error) { @@ -6696,14 +6682,13 @@ const opUpdateEventLabel = "UpdateEventLabel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEventLabelRequest method. +// req, resp := client.UpdateEventLabelRequest(params) // -// // Example sending a request using the UpdateEventLabelRequest method. -// req, resp := client.UpdateEventLabelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateEventLabel func (c *FraudDetector) UpdateEventLabelRequest(input *UpdateEventLabelInput) (req *request.Request, output *UpdateEventLabelOutput) { @@ -6735,25 +6720,26 @@ func (c *FraudDetector) UpdateEventLabelRequest(input *UpdateEventLabelInput) (r // API operation UpdateEventLabel for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateEventLabel func (c *FraudDetector) UpdateEventLabel(input *UpdateEventLabelInput) (*UpdateEventLabelOutput, error) { @@ -6793,14 +6779,13 @@ const opUpdateModel = "UpdateModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateModelRequest method. +// req, resp := client.UpdateModelRequest(params) // -// // Example sending a request using the UpdateModelRequest method. -// req, resp := client.UpdateModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModel func (c *FraudDetector) UpdateModelRequest(input *UpdateModelInput) (req *request.Request, output *UpdateModelOutput) { @@ -6832,25 +6817,26 @@ func (c *FraudDetector) UpdateModelRequest(input *UpdateModelInput) (req *reques // API operation UpdateModel for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * InternalServerException -// An exception indicating an internal server error. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - InternalServerException +// An exception indicating an internal server error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ThrottlingException +// An exception indicating a throttling error. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModel func (c *FraudDetector) UpdateModel(input *UpdateModelInput) (*UpdateModelOutput, error) { @@ -6890,14 +6876,13 @@ const opUpdateModelVersion = "UpdateModelVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateModelVersionRequest method. +// req, resp := client.UpdateModelVersionRequest(params) // -// // Example sending a request using the UpdateModelVersionRequest method. -// req, resp := client.UpdateModelVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModelVersion func (c *FraudDetector) UpdateModelVersionRequest(input *UpdateModelVersionInput) (req *request.Request, output *UpdateModelVersionOutput) { @@ -6932,25 +6917,26 @@ func (c *FraudDetector) UpdateModelVersionRequest(input *UpdateModelVersionInput // API operation UpdateModelVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * ThrottlingException -// An exception indicating a throttling error. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * InternalServerException -// An exception indicating an internal server error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - InternalServerException +// An exception indicating an internal server error. +// +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModelVersion func (c *FraudDetector) UpdateModelVersion(input *UpdateModelVersionInput) (*UpdateModelVersionOutput, error) { @@ -6990,14 +6976,13 @@ const opUpdateModelVersionStatus = "UpdateModelVersionStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateModelVersionStatusRequest method. +// req, resp := client.UpdateModelVersionStatusRequest(params) // -// // Example sending a request using the UpdateModelVersionStatusRequest method. -// req, resp := client.UpdateModelVersionStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModelVersionStatus func (c *FraudDetector) UpdateModelVersionStatusRequest(input *UpdateModelVersionStatusInput) (req *request.Request, output *UpdateModelVersionStatusOutput) { @@ -7035,25 +7020,26 @@ func (c *FraudDetector) UpdateModelVersionStatusRequest(input *UpdateModelVersio // API operation UpdateModelVersionStatus for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModelVersionStatus func (c *FraudDetector) UpdateModelVersionStatus(input *UpdateModelVersionStatusInput) (*UpdateModelVersionStatusOutput, error) { @@ -7093,14 +7079,13 @@ const opUpdateRuleMetadata = "UpdateRuleMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRuleMetadataRequest method. +// req, resp := client.UpdateRuleMetadataRequest(params) // -// // Example sending a request using the UpdateRuleMetadataRequest method. -// req, resp := client.UpdateRuleMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateRuleMetadata func (c *FraudDetector) UpdateRuleMetadataRequest(input *UpdateRuleMetadataInput) (req *request.Request, output *UpdateRuleMetadataOutput) { @@ -7132,25 +7117,26 @@ func (c *FraudDetector) UpdateRuleMetadataRequest(input *UpdateRuleMetadataInput // API operation UpdateRuleMetadata for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateRuleMetadata func (c *FraudDetector) UpdateRuleMetadata(input *UpdateRuleMetadataInput) (*UpdateRuleMetadataOutput, error) { @@ -7190,14 +7176,13 @@ const opUpdateRuleVersion = "UpdateRuleVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRuleVersionRequest method. +// req, resp := client.UpdateRuleVersionRequest(params) // -// // Example sending a request using the UpdateRuleVersionRequest method. -// req, resp := client.UpdateRuleVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateRuleVersion func (c *FraudDetector) UpdateRuleVersionRequest(input *UpdateRuleVersionInput) (req *request.Request, output *UpdateRuleVersionOutput) { @@ -7229,25 +7214,26 @@ func (c *FraudDetector) UpdateRuleVersionRequest(input *UpdateRuleVersionInput) // API operation UpdateRuleVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateRuleVersion func (c *FraudDetector) UpdateRuleVersion(input *UpdateRuleVersionInput) (*UpdateRuleVersionOutput, error) { @@ -7287,14 +7273,13 @@ const opUpdateVariable = "UpdateVariable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVariableRequest method. +// req, resp := client.UpdateVariableRequest(params) // -// // Example sending a request using the UpdateVariableRequest method. -// req, resp := client.UpdateVariableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateVariable func (c *FraudDetector) UpdateVariableRequest(input *UpdateVariableInput) (req *request.Request, output *UpdateVariableOutput) { @@ -7326,25 +7311,26 @@ func (c *FraudDetector) UpdateVariableRequest(input *UpdateVariableInput) (req * // API operation UpdateVariable for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. +// - ValidationException +// An exception indicating a specified value is not allowed. +// +// - ResourceNotFoundException +// An exception indicating the specified resource was not found. // -// * InternalServerException -// An exception indicating an internal server error. +// - InternalServerException +// An exception indicating an internal server error. // -// * ThrottlingException -// An exception indicating a throttling error. +// - ThrottlingException +// An exception indicating a throttling error. // -// * AccessDeniedException -// An exception indicating Amazon Fraud Detector does not have the needed permissions. -// This can occur if you submit a request, such as PutExternalModel, that specifies -// a role that is not in your account. +// - AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. // -// * ConflictException -// An exception indicating there was a conflict during a delete operation. +// - ConflictException +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateVariable func (c *FraudDetector) UpdateVariable(input *UpdateVariableInput) (*UpdateVariableOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/doc.go index a983e922d05a..e6a5b9841c20 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/doc.go @@ -13,7 +13,7 @@ // See frauddetector package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/frauddetector/ // -// Using the Client +// # Using the Client // // To contact Amazon Fraud Detector with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/frauddetectoriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/frauddetectoriface/interface.go index 271929c671ba..f44ac39110aa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/frauddetectoriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/frauddetectoriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Fraud Detector. -// func myFunc(svc frauddetectoriface.FraudDetectorAPI) bool { -// // Make svc.BatchCreateVariable request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Fraud Detector. +// func myFunc(svc frauddetectoriface.FraudDetectorAPI) bool { +// // Make svc.BatchCreateVariable request +// } // -// func main() { -// sess := session.New() -// svc := frauddetector.New(sess) +// func main() { +// sess := session.New() +// svc := frauddetector.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockFraudDetectorClient struct { -// frauddetectoriface.FraudDetectorAPI -// } -// func (m *mockFraudDetectorClient) BatchCreateVariable(input *frauddetector.BatchCreateVariableInput) (*frauddetector.BatchCreateVariableOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockFraudDetectorClient struct { +// frauddetectoriface.FraudDetectorAPI +// } +// func (m *mockFraudDetectorClient) BatchCreateVariable(input *frauddetector.BatchCreateVariableInput) (*frauddetector.BatchCreateVariableOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockFraudDetectorClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockFraudDetectorClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/service.go index 6c17beb50699..b839d04d8eae 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/frauddetector/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a FraudDetector client from just a session. -// svc := frauddetector.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a FraudDetector client with additional configuration -// svc := frauddetector.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a FraudDetector client from just a session. +// svc := frauddetector.New(mySession) +// +// // Create a FraudDetector client with additional configuration +// svc := frauddetector.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *FraudDetector { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/api.go index b34f35e0aa10..3277b0e80f90 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/api.go @@ -29,14 +29,13 @@ const opAssociateFileSystemAliases = "AssociateFileSystemAliases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateFileSystemAliasesRequest method. +// req, resp := client.AssociateFileSystemAliasesRequest(params) // -// // Example sending a request using the AssociateFileSystemAliasesRequest method. -// req, resp := client.AssociateFileSystemAliasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/AssociateFileSystemAliases func (c *FSx) AssociateFileSystemAliasesRequest(input *AssociateFileSystemAliasesInput) (req *request.Request, output *AssociateFileSystemAliasesOutput) { @@ -79,14 +78,15 @@ func (c *FSx) AssociateFileSystemAliasesRequest(input *AssociateFileSystemAliase // API operation AssociateFileSystemAliases for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/AssociateFileSystemAliases func (c *FSx) AssociateFileSystemAliases(input *AssociateFileSystemAliasesInput) (*AssociateFileSystemAliasesOutput, error) { @@ -126,14 +126,13 @@ const opCancelDataRepositoryTask = "CancelDataRepositoryTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelDataRepositoryTaskRequest method. +// req, resp := client.CancelDataRepositoryTaskRequest(params) // -// // Example sending a request using the CancelDataRepositoryTaskRequest method. -// req, resp := client.CancelDataRepositoryTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CancelDataRepositoryTask func (c *FSx) CancelDataRepositoryTaskRequest(input *CancelDataRepositoryTaskInput) (req *request.Request, output *CancelDataRepositoryTaskOutput) { @@ -158,12 +157,12 @@ func (c *FSx) CancelDataRepositoryTaskRequest(input *CancelDataRepositoryTaskInp // is in either the PENDING or EXECUTING state. When you cancel a task, Amazon // FSx does the following. // -// * Any files that FSx has already exported are not reverted. +// - Any files that FSx has already exported are not reverted. // -// * FSx continues to export any files that are "in-flight" when the cancel -// operation is received. +// - FSx continues to export any files that are "in-flight" when the cancel +// operation is received. // -// * FSx does not export any files that have not yet been exported. +// - FSx does not export any files that have not yet been exported. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -173,21 +172,22 @@ func (c *FSx) CancelDataRepositoryTaskRequest(input *CancelDataRepositoryTaskInp // API operation CancelDataRepositoryTask for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * UnsupportedOperation -// The requested operation is not supported for this resource or API. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * DataRepositoryTaskNotFound -// The data repository task or tasks you specified could not be found. +// - UnsupportedOperation +// The requested operation is not supported for this resource or API. // -// * DataRepositoryTaskEnded -// The data repository task could not be canceled because the task has already -// ended. +// - DataRepositoryTaskNotFound +// The data repository task or tasks you specified could not be found. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - DataRepositoryTaskEnded +// The data repository task could not be canceled because the task has already +// ended. +// +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CancelDataRepositoryTask func (c *FSx) CancelDataRepositoryTask(input *CancelDataRepositoryTaskInput) (*CancelDataRepositoryTaskOutput, error) { @@ -227,14 +227,13 @@ const opCopyBackup = "CopyBackup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyBackupRequest method. +// req, resp := client.CopyBackupRequest(params) // -// // Example sending a request using the CopyBackupRequest method. -// req, resp := client.CopyBackupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CopyBackup func (c *FSx) CopyBackupRequest(input *CopyBackupInput) (req *request.Request, output *CopyBackupOutput) { @@ -292,44 +291,45 @@ func (c *FSx) CopyBackupRequest(input *CopyBackupInput) (req *request.Request, o // API operation CopyBackup for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * BackupNotFound -// No Amazon FSx backups were found based upon the supplied parameters. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - BackupNotFound +// No Amazon FSx backups were found based upon the supplied parameters. // -// * ServiceLimitExceeded -// An error indicating that a particular service limit was exceeded. You can -// increase some service limits by contacting Amazon Web Services Support. +// - ServiceLimitExceeded +// An error indicating that a particular service limit was exceeded. You can +// increase some service limits by contacting Amazon Web Services Support. // -// * UnsupportedOperation -// The requested operation is not supported for this resource or API. +// - UnsupportedOperation +// The requested operation is not supported for this resource or API. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // -// * InvalidSourceKmsKey -// The Key Management Service (KMS) key of the source backup is not valid. +// - InvalidSourceKmsKey +// The Key Management Service (KMS) key of the source backup is not valid. // -// * InvalidDestinationKmsKey -// The Key Management Service (KMS) key of the destination backup is not valid. +// - InvalidDestinationKmsKey +// The Key Management Service (KMS) key of the destination backup is not valid. // -// * InvalidRegion -// The Region provided for SourceRegion is not valid or is in a different Amazon -// Web Services partition. +// - InvalidRegion +// The Region provided for SourceRegion is not valid or is in a different Amazon +// Web Services partition. // -// * SourceBackupUnavailable -// The request was rejected because the lifecycle status of the source backup -// isn't AVAILABLE. +// - SourceBackupUnavailable +// The request was rejected because the lifecycle status of the source backup +// isn't AVAILABLE. // -// * IncompatibleRegionForMultiAZ -// Amazon FSx doesn't support Multi-AZ Windows File Server copy backup in the -// destination Region, so the copied backup can't be restored. +// - IncompatibleRegionForMultiAZ +// Amazon FSx doesn't support Multi-AZ Windows File Server copy backup in the +// destination Region, so the copied backup can't be restored. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CopyBackup func (c *FSx) CopyBackup(input *CopyBackupInput) (*CopyBackupOutput, error) { @@ -369,14 +369,13 @@ const opCreateBackup = "CreateBackup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBackupRequest method. +// req, resp := client.CreateBackupRequest(params) // -// // Example sending a request using the CreateBackupRequest method. -// req, resp := client.CreateBackupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateBackup func (c *FSx) CreateBackupRequest(input *CreateBackupInput) (req *request.Request, output *CreateBackupOutput) { @@ -406,22 +405,22 @@ func (c *FSx) CreateBackupRequest(input *CreateBackupInput) (req *request.Reques // For Amazon FSx for Lustre file systems, you can create a backup only for // file systems that have the following configuration: // -// * A Persistent deployment type +// - A Persistent deployment type // -// * Are not linked to a data repository +// - Are not linked to a data repository // // For more information about backups, see the following: // -// * For Amazon FSx for Lustre, see Working with FSx for Lustre backups (https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html). +// - For Amazon FSx for Lustre, see Working with FSx for Lustre backups (https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html). // -// * For Amazon FSx for Windows, see Working with FSx for Windows backups -// (https://docs.aws.amazon.com/fsx/latest/WindowsGuide/using-backups.html). +// - For Amazon FSx for Windows, see Working with FSx for Windows backups +// (https://docs.aws.amazon.com/fsx/latest/WindowsGuide/using-backups.html). // -// * For Amazon FSx for NetApp ONTAP, see Working with FSx for NetApp ONTAP -// backups (https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/using-backups.html). +// - For Amazon FSx for NetApp ONTAP, see Working with FSx for NetApp ONTAP +// backups (https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/using-backups.html). // -// * For Amazon FSx for OpenZFS, see Working with FSx for OpenZFS backups -// (https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/using-backups.html). +// - For Amazon FSx for OpenZFS, see Working with FSx for OpenZFS backups +// (https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/using-backups.html). // // If a backup with the specified client request token exists and the parameters // match, this operation returns the description of the existing backup. If @@ -430,10 +429,10 @@ func (c *FSx) CreateBackupRequest(input *CreateBackupInput) (req *request.Reques // with the specified client request token doesn't exist, CreateBackup does // the following: // -// * Creates a new Amazon FSx backup with an assigned ID, and an initial -// lifecycle state of CREATING. +// - Creates a new Amazon FSx backup with an assigned ID, and an initial +// lifecycle state of CREATING. // -// * Returns the description of the backup. +// - Returns the description of the backup. // // By using the idempotent operation, you can retry a CreateBackup operation // without the risk of creating an extra backup. This approach can be useful @@ -455,33 +454,34 @@ func (c *FSx) CreateBackupRequest(input *CreateBackupInput) (req *request.Reques // API operation CreateBackup for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * UnsupportedOperation -// The requested operation is not supported for this resource or API. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - UnsupportedOperation +// The requested operation is not supported for this resource or API. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. // -// * VolumeNotFound -// No Amazon FSx volumes were found based upon the supplied parameters. +// - VolumeNotFound +// No Amazon FSx volumes were found based upon the supplied parameters. // -// * BackupInProgress -// Another backup is already under way. Wait for completion before initiating -// additional backups of this file system. +// - BackupInProgress +// Another backup is already under way. Wait for completion before initiating +// additional backups of this file system. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * ServiceLimitExceeded -// An error indicating that a particular service limit was exceeded. You can -// increase some service limits by contacting Amazon Web Services Support. +// - ServiceLimitExceeded +// An error indicating that a particular service limit was exceeded. You can +// increase some service limits by contacting Amazon Web Services Support. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateBackup func (c *FSx) CreateBackup(input *CreateBackupInput) (*CreateBackupOutput, error) { @@ -521,14 +521,13 @@ const opCreateDataRepositoryAssociation = "CreateDataRepositoryAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataRepositoryAssociationRequest method. +// req, resp := client.CreateDataRepositoryAssociationRequest(params) // -// // Example sending a request using the CreateDataRepositoryAssociationRequest method. -// req, resp := client.CreateDataRepositoryAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateDataRepositoryAssociation func (c *FSx) CreateDataRepositoryAssociationRequest(input *CreateDataRepositoryAssociationInput) (req *request.Request, output *CreateDataRepositoryAssociationOutput) { @@ -569,26 +568,27 @@ func (c *FSx) CreateDataRepositoryAssociationRequest(input *CreateDataRepository // API operation CreateDataRepositoryAssociation for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * UnsupportedOperation -// The requested operation is not supported for this resource or API. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - UnsupportedOperation +// The requested operation is not supported for this resource or API. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. // -// * ServiceLimitExceeded -// An error indicating that a particular service limit was exceeded. You can -// increase some service limits by contacting Amazon Web Services Support. +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - ServiceLimitExceeded +// An error indicating that a particular service limit was exceeded. You can +// increase some service limits by contacting Amazon Web Services Support. +// +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateDataRepositoryAssociation func (c *FSx) CreateDataRepositoryAssociation(input *CreateDataRepositoryAssociationInput) (*CreateDataRepositoryAssociationOutput, error) { @@ -628,14 +628,13 @@ const opCreateDataRepositoryTask = "CreateDataRepositoryTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataRepositoryTaskRequest method. +// req, resp := client.CreateDataRepositoryTaskRequest(params) // -// // Example sending a request using the CreateDataRepositoryTaskRequest method. -// req, resp := client.CreateDataRepositoryTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateDataRepositoryTask func (c *FSx) CreateDataRepositoryTaskRequest(input *CreateDataRepositoryTaskInput) (req *request.Request, output *CreateDataRepositoryTaskOutput) { @@ -675,30 +674,31 @@ func (c *FSx) CreateDataRepositoryTaskRequest(input *CreateDataRepositoryTaskInp // API operation CreateDataRepositoryTask for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * UnsupportedOperation -// The requested operation is not supported for this resource or API. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - UnsupportedOperation +// The requested operation is not supported for this resource or API. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. // -// * ServiceLimitExceeded -// An error indicating that a particular service limit was exceeded. You can -// increase some service limits by contacting Amazon Web Services Support. +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - ServiceLimitExceeded +// An error indicating that a particular service limit was exceeded. You can +// increase some service limits by contacting Amazon Web Services Support. // -// * DataRepositoryTaskExecuting -// An existing data repository task is currently executing on the file system. -// Wait until the existing task has completed, then create the new task. +// - InternalServerError +// A generic error indicating a server-side failure. +// +// - DataRepositoryTaskExecuting +// An existing data repository task is currently executing on the file system. +// Wait until the existing task has completed, then create the new task. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateDataRepositoryTask func (c *FSx) CreateDataRepositoryTask(input *CreateDataRepositoryTaskInput) (*CreateDataRepositoryTaskOutput, error) { @@ -738,14 +738,13 @@ const opCreateFileSystem = "CreateFileSystem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFileSystemRequest method. +// req, resp := client.CreateFileSystemRequest(params) // -// // Example sending a request using the CreateFileSystemRequest method. -// req, resp := client.CreateFileSystemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystem func (c *FSx) CreateFileSystemRequest(input *CreateFileSystemInput) (req *request.Request, output *CreateFileSystemOutput) { @@ -769,13 +768,13 @@ func (c *FSx) CreateFileSystemRequest(input *CreateFileSystemInput) (req *reques // Creates a new, empty Amazon FSx file system. You can create the following // supported Amazon FSx file systems using the CreateFileSystem API operation: // -// * Amazon FSx for Lustre +// - Amazon FSx for Lustre // -// * Amazon FSx for NetApp ONTAP +// - Amazon FSx for NetApp ONTAP // -// * Amazon FSx for OpenZFS +// - Amazon FSx for OpenZFS // -// * Amazon FSx for Windows File Server +// - Amazon FSx for Windows File Server // // This operation requires a client request token in the request that Amazon // FSx uses to ensure idempotent creation. This means that calling the operation @@ -795,10 +794,10 @@ func (c *FSx) CreateFileSystemRequest(input *CreateFileSystemInput) (req *reques // with the specified client request token doesn't exist, CreateFileSystem does // the following: // -// * Creates a new, empty Amazon FSx file system with an assigned ID, and -// an initial lifecycle state of CREATING. +// - Creates a new, empty Amazon FSx file system with an assigned ID, and +// an initial lifecycle state of CREATING. // -// * Returns the description of the file system in JSON format. +// - Returns the description of the file system in JSON format. // // This operation requires a client request token in the request that Amazon // FSx uses to ensure idempotent creation. This means that calling the operation @@ -824,39 +823,40 @@ func (c *FSx) CreateFileSystemRequest(input *CreateFileSystemInput) (req *reques // API operation CreateFileSystem for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * ActiveDirectoryError -// An Active Directory error. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - ActiveDirectoryError +// An Active Directory error. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * InvalidImportPath -// The path provided for data repository import isn't valid. +// - InvalidImportPath +// The path provided for data repository import isn't valid. // -// * InvalidExportPath -// The path provided for data repository export isn't valid. +// - InvalidExportPath +// The path provided for data repository export isn't valid. // -// * InvalidNetworkSettings -// One or more network settings specified in the request are invalid. +// - InvalidNetworkSettings +// One or more network settings specified in the request are invalid. // -// * InvalidPerUnitStorageThroughput -// An invalid value for PerUnitStorageThroughput was provided. Please create -// your file system again, using a valid value. +// - InvalidPerUnitStorageThroughput +// An invalid value for PerUnitStorageThroughput was provided. Please create +// your file system again, using a valid value. // -// * ServiceLimitExceeded -// An error indicating that a particular service limit was exceeded. You can -// increase some service limits by contacting Amazon Web Services Support. +// - ServiceLimitExceeded +// An error indicating that a particular service limit was exceeded. You can +// increase some service limits by contacting Amazon Web Services Support. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // -// * MissingFileSystemConfiguration -// A file system configuration is required for this operation. +// - MissingFileSystemConfiguration +// A file system configuration is required for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystem func (c *FSx) CreateFileSystem(input *CreateFileSystemInput) (*CreateFileSystemOutput, error) { @@ -896,14 +896,13 @@ const opCreateFileSystemFromBackup = "CreateFileSystemFromBackup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFileSystemFromBackupRequest method. +// req, resp := client.CreateFileSystemFromBackupRequest(params) // -// // Example sending a request using the CreateFileSystemFromBackupRequest method. -// req, resp := client.CreateFileSystemFromBackupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemFromBackup func (c *FSx) CreateFileSystemFromBackupRequest(input *CreateFileSystemFromBackupInput) (req *request.Request, output *CreateFileSystemFromBackupOutput) { @@ -934,10 +933,10 @@ func (c *FSx) CreateFileSystemFromBackupRequest(input *CreateFileSystemFromBacku // with the specified client request token doesn't exist, this operation does // the following: // -// * Creates a new Amazon FSx file system from backup with an assigned ID, -// and an initial lifecycle state of CREATING. +// - Creates a new Amazon FSx file system from backup with an assigned ID, +// and an initial lifecycle state of CREATING. // -// * Returns the description of the file system. +// - Returns the description of the file system. // // Parameters like the Active Directory, default share name, automatic backup, // and backup settings default to the parameters of the file system that was @@ -964,36 +963,37 @@ func (c *FSx) CreateFileSystemFromBackupRequest(input *CreateFileSystemFromBacku // API operation CreateFileSystemFromBackup for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * ActiveDirectoryError -// An Active Directory error. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - ActiveDirectoryError +// An Active Directory error. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * InvalidNetworkSettings -// One or more network settings specified in the request are invalid. +// - InvalidNetworkSettings +// One or more network settings specified in the request are invalid. // -// * InvalidPerUnitStorageThroughput -// An invalid value for PerUnitStorageThroughput was provided. Please create -// your file system again, using a valid value. +// - InvalidPerUnitStorageThroughput +// An invalid value for PerUnitStorageThroughput was provided. Please create +// your file system again, using a valid value. // -// * ServiceLimitExceeded -// An error indicating that a particular service limit was exceeded. You can -// increase some service limits by contacting Amazon Web Services Support. +// - ServiceLimitExceeded +// An error indicating that a particular service limit was exceeded. You can +// increase some service limits by contacting Amazon Web Services Support. // -// * BackupNotFound -// No Amazon FSx backups were found based upon the supplied parameters. +// - BackupNotFound +// No Amazon FSx backups were found based upon the supplied parameters. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // -// * MissingFileSystemConfiguration -// A file system configuration is required for this operation. +// - MissingFileSystemConfiguration +// A file system configuration is required for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemFromBackup func (c *FSx) CreateFileSystemFromBackup(input *CreateFileSystemFromBackupInput) (*CreateFileSystemFromBackupOutput, error) { @@ -1033,14 +1033,13 @@ const opCreateSnapshot = "CreateSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSnapshotRequest method. +// req, resp := client.CreateSnapshotRequest(params) // -// // Example sending a request using the CreateSnapshotRequest method. -// req, resp := client.CreateSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateSnapshot func (c *FSx) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Request, output *CreateSnapshotOutput) { @@ -1072,10 +1071,10 @@ func (c *FSx) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Re // with the specified client request token doesn't exist, CreateSnapshot does // the following: // -// * Creates a new OpenZFS snapshot with an assigned ID, and an initial lifecycle -// state of CREATING. +// - Creates a new OpenZFS snapshot with an assigned ID, and an initial lifecycle +// state of CREATING. // -// * Returns the description of the snapshot. +// - Returns the description of the snapshot. // // By using the idempotent operation, you can retry a CreateSnapshot operation // without the risk of creating an extra snapshot. This approach can be useful @@ -1097,18 +1096,19 @@ func (c *FSx) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Re // API operation CreateSnapshot for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * VolumeNotFound -// No Amazon FSx volumes were found based upon the supplied parameters. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - VolumeNotFound +// No Amazon FSx volumes were found based upon the supplied parameters. // -// * ServiceLimitExceeded -// An error indicating that a particular service limit was exceeded. You can -// increase some service limits by contacting Amazon Web Services Support. +// - ServiceLimitExceeded +// An error indicating that a particular service limit was exceeded. You can +// increase some service limits by contacting Amazon Web Services Support. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateSnapshot func (c *FSx) CreateSnapshot(input *CreateSnapshotInput) (*CreateSnapshotOutput, error) { @@ -1148,14 +1148,13 @@ const opCreateStorageVirtualMachine = "CreateStorageVirtualMachine" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStorageVirtualMachineRequest method. +// req, resp := client.CreateStorageVirtualMachineRequest(params) // -// // Example sending a request using the CreateStorageVirtualMachineRequest method. -// req, resp := client.CreateStorageVirtualMachineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateStorageVirtualMachine func (c *FSx) CreateStorageVirtualMachineRequest(input *CreateStorageVirtualMachineInput) (req *request.Request, output *CreateStorageVirtualMachineOutput) { @@ -1187,29 +1186,30 @@ func (c *FSx) CreateStorageVirtualMachineRequest(input *CreateStorageVirtualMach // API operation CreateStorageVirtualMachine for usage and error information. // // Returned Error Types: -// * ActiveDirectoryError -// An Active Directory error. // -// * BadRequest -// A generic error indicating a failure with a client request. +// - ActiveDirectoryError +// An Active Directory error. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * ServiceLimitExceeded -// An error indicating that a particular service limit was exceeded. You can -// increase some service limits by contacting Amazon Web Services Support. +// - InternalServerError +// A generic error indicating a server-side failure. // -// * UnsupportedOperation -// The requested operation is not supported for this resource or API. +// - ServiceLimitExceeded +// An error indicating that a particular service limit was exceeded. You can +// increase some service limits by contacting Amazon Web Services Support. +// +// - UnsupportedOperation +// The requested operation is not supported for this resource or API. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateStorageVirtualMachine func (c *FSx) CreateStorageVirtualMachine(input *CreateStorageVirtualMachineInput) (*CreateStorageVirtualMachineOutput, error) { @@ -1249,14 +1249,13 @@ const opCreateVolume = "CreateVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVolumeRequest method. +// req, resp := client.CreateVolumeRequest(params) // -// // Example sending a request using the CreateVolumeRequest method. -// req, resp := client.CreateVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateVolume func (c *FSx) CreateVolumeRequest(input *CreateVolumeInput) (req *request.Request, output *CreateVolumeOutput) { @@ -1287,32 +1286,33 @@ func (c *FSx) CreateVolumeRequest(input *CreateVolumeInput) (req *request.Reques // API operation CreateVolume for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * MissingVolumeConfiguration -// A volume configuration is required for this operation. +// - InternalServerError +// A generic error indicating a server-side failure. // -// * ServiceLimitExceeded -// An error indicating that a particular service limit was exceeded. You can -// increase some service limits by contacting Amazon Web Services Support. +// - MissingVolumeConfiguration +// A volume configuration is required for this operation. // -// * StorageVirtualMachineNotFound -// No FSx for ONTAP SVMs were found based upon the supplied parameters. +// - ServiceLimitExceeded +// An error indicating that a particular service limit was exceeded. You can +// increase some service limits by contacting Amazon Web Services Support. // -// * UnsupportedOperation -// The requested operation is not supported for this resource or API. +// - StorageVirtualMachineNotFound +// No FSx for ONTAP SVMs were found based upon the supplied parameters. +// +// - UnsupportedOperation +// The requested operation is not supported for this resource or API. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateVolume func (c *FSx) CreateVolume(input *CreateVolumeInput) (*CreateVolumeOutput, error) { @@ -1352,14 +1352,13 @@ const opCreateVolumeFromBackup = "CreateVolumeFromBackup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVolumeFromBackupRequest method. +// req, resp := client.CreateVolumeFromBackupRequest(params) // -// // Example sending a request using the CreateVolumeFromBackupRequest method. -// req, resp := client.CreateVolumeFromBackupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateVolumeFromBackup func (c *FSx) CreateVolumeFromBackupRequest(input *CreateVolumeFromBackupInput) (req *request.Request, output *CreateVolumeFromBackupOutput) { @@ -1391,32 +1390,33 @@ func (c *FSx) CreateVolumeFromBackupRequest(input *CreateVolumeFromBackupInput) // API operation CreateVolumeFromBackup for usage and error information. // // Returned Error Types: -// * BackupNotFound -// No Amazon FSx backups were found based upon the supplied parameters. // -// * BadRequest -// A generic error indicating a failure with a client request. +// - BackupNotFound +// No Amazon FSx backups were found based upon the supplied parameters. +// +// - BadRequest +// A generic error indicating a failure with a client request. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // -// * MissingVolumeConfiguration -// A volume configuration is required for this operation. +// - MissingVolumeConfiguration +// A volume configuration is required for this operation. // -// * ServiceLimitExceeded -// An error indicating that a particular service limit was exceeded. You can -// increase some service limits by contacting Amazon Web Services Support. +// - ServiceLimitExceeded +// An error indicating that a particular service limit was exceeded. You can +// increase some service limits by contacting Amazon Web Services Support. // -// * StorageVirtualMachineNotFound -// No FSx for ONTAP SVMs were found based upon the supplied parameters. +// - StorageVirtualMachineNotFound +// No FSx for ONTAP SVMs were found based upon the supplied parameters. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateVolumeFromBackup func (c *FSx) CreateVolumeFromBackup(input *CreateVolumeFromBackupInput) (*CreateVolumeFromBackupOutput, error) { @@ -1456,14 +1456,13 @@ const opDeleteBackup = "DeleteBackup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBackupRequest method. +// req, resp := client.DeleteBackupRequest(params) // -// // Example sending a request using the DeleteBackupRequest method. -// req, resp := client.DeleteBackupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteBackup func (c *FSx) DeleteBackupRequest(input *DeleteBackupInput) (req *request.Request, output *DeleteBackupOutput) { @@ -1501,29 +1500,30 @@ func (c *FSx) DeleteBackupRequest(input *DeleteBackupInput) (req *request.Reques // API operation DeleteBackup for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * BackupInProgress -// Another backup is already under way. Wait for completion before initiating -// additional backups of this file system. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - BackupInProgress +// Another backup is already under way. Wait for completion before initiating +// additional backups of this file system. // -// * BackupNotFound -// No Amazon FSx backups were found based upon the supplied parameters. +// - BackupNotFound +// No Amazon FSx backups were found based upon the supplied parameters. // -// * BackupRestoring -// You can't delete a backup while it's being used to restore a file system. +// - BackupRestoring +// You can't delete a backup while it's being used to restore a file system. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // -// * BackupBeingCopied -// You can't delete a backup while it's being copied. +// - BackupBeingCopied +// You can't delete a backup while it's being copied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteBackup func (c *FSx) DeleteBackup(input *DeleteBackupInput) (*DeleteBackupOutput, error) { @@ -1563,14 +1563,13 @@ const opDeleteDataRepositoryAssociation = "DeleteDataRepositoryAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDataRepositoryAssociationRequest method. +// req, resp := client.DeleteDataRepositoryAssociationRequest(params) // -// // Example sending a request using the DeleteDataRepositoryAssociationRequest method. -// req, resp := client.DeleteDataRepositoryAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteDataRepositoryAssociation func (c *FSx) DeleteDataRepositoryAssociationRequest(input *DeleteDataRepositoryAssociationInput) (req *request.Request, output *DeleteDataRepositoryAssociationOutput) { @@ -1606,23 +1605,24 @@ func (c *FSx) DeleteDataRepositoryAssociationRequest(input *DeleteDataRepository // API operation DeleteDataRepositoryAssociation for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * DataRepositoryAssociationNotFound -// No data repository associations were found based upon the supplied parameters. +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * ServiceLimitExceeded -// An error indicating that a particular service limit was exceeded. You can -// increase some service limits by contacting Amazon Web Services Support. +// - DataRepositoryAssociationNotFound +// No data repository associations were found based upon the supplied parameters. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - ServiceLimitExceeded +// An error indicating that a particular service limit was exceeded. You can +// increase some service limits by contacting Amazon Web Services Support. +// +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteDataRepositoryAssociation func (c *FSx) DeleteDataRepositoryAssociation(input *DeleteDataRepositoryAssociationInput) (*DeleteDataRepositoryAssociationOutput, error) { @@ -1662,14 +1662,13 @@ const opDeleteFileSystem = "DeleteFileSystem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFileSystemRequest method. +// req, resp := client.DeleteFileSystemRequest(params) // -// // Example sending a request using the DeleteFileSystemRequest method. -// req, resp := client.DeleteFileSystemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteFileSystem func (c *FSx) DeleteFileSystemRequest(input *DeleteFileSystemInput) (req *request.Request, output *DeleteFileSystemOutput) { @@ -1724,23 +1723,24 @@ func (c *FSx) DeleteFileSystemRequest(input *DeleteFileSystemInput) (req *reques // API operation DeleteFileSystem for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. // -// * ServiceLimitExceeded -// An error indicating that a particular service limit was exceeded. You can -// increase some service limits by contacting Amazon Web Services Support. +// - ServiceLimitExceeded +// An error indicating that a particular service limit was exceeded. You can +// increase some service limits by contacting Amazon Web Services Support. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteFileSystem func (c *FSx) DeleteFileSystem(input *DeleteFileSystemInput) (*DeleteFileSystemOutput, error) { @@ -1780,14 +1780,13 @@ const opDeleteSnapshot = "DeleteSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSnapshotRequest method. +// req, resp := client.DeleteSnapshotRequest(params) // -// // Example sending a request using the DeleteSnapshotRequest method. -// req, resp := client.DeleteSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteSnapshot func (c *FSx) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *request.Request, output *DeleteSnapshotOutput) { @@ -1823,14 +1822,15 @@ func (c *FSx) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *request.Re // API operation DeleteSnapshot for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - InternalServerError +// A generic error indicating a server-side failure. // -// * SnapshotNotFound -// No Amazon FSx snapshots were found based on the supplied parameters. +// - SnapshotNotFound +// No Amazon FSx snapshots were found based on the supplied parameters. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteSnapshot func (c *FSx) DeleteSnapshot(input *DeleteSnapshotInput) (*DeleteSnapshotOutput, error) { @@ -1870,14 +1870,13 @@ const opDeleteStorageVirtualMachine = "DeleteStorageVirtualMachine" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStorageVirtualMachineRequest method. +// req, resp := client.DeleteStorageVirtualMachineRequest(params) // -// // Example sending a request using the DeleteStorageVirtualMachineRequest method. -// req, resp := client.DeleteStorageVirtualMachineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteStorageVirtualMachine func (c *FSx) DeleteStorageVirtualMachineRequest(input *DeleteStorageVirtualMachineInput) (req *request.Request, output *DeleteStorageVirtualMachineOutput) { @@ -1910,19 +1909,20 @@ func (c *FSx) DeleteStorageVirtualMachineRequest(input *DeleteStorageVirtualMach // API operation DeleteStorageVirtualMachine for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // -// * StorageVirtualMachineNotFound -// No FSx for ONTAP SVMs were found based upon the supplied parameters. +// - StorageVirtualMachineNotFound +// No FSx for ONTAP SVMs were found based upon the supplied parameters. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteStorageVirtualMachine func (c *FSx) DeleteStorageVirtualMachine(input *DeleteStorageVirtualMachineInput) (*DeleteStorageVirtualMachineOutput, error) { @@ -1962,14 +1962,13 @@ const opDeleteVolume = "DeleteVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVolumeRequest method. +// req, resp := client.DeleteVolumeRequest(params) // -// // Example sending a request using the DeleteVolumeRequest method. -// req, resp := client.DeleteVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteVolume func (c *FSx) DeleteVolumeRequest(input *DeleteVolumeInput) (req *request.Request, output *DeleteVolumeOutput) { @@ -2000,19 +1999,20 @@ func (c *FSx) DeleteVolumeRequest(input *DeleteVolumeInput) (req *request.Reques // API operation DeleteVolume for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * VolumeNotFound -// No Amazon FSx volumes were found based upon the supplied parameters. +// - InternalServerError +// A generic error indicating a server-side failure. +// +// - VolumeNotFound +// No Amazon FSx volumes were found based upon the supplied parameters. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteVolume func (c *FSx) DeleteVolume(input *DeleteVolumeInput) (*DeleteVolumeOutput, error) { @@ -2052,14 +2052,13 @@ const opDescribeBackups = "DescribeBackups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBackupsRequest method. +// req, resp := client.DescribeBackupsRequest(params) // -// // Example sending a request using the DescribeBackupsRequest method. -// req, resp := client.DescribeBackupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeBackups func (c *FSx) DescribeBackupsRequest(input *DescribeBackupsInput) (req *request.Request, output *DescribeBackupsOutput) { @@ -2104,12 +2103,12 @@ func (c *FSx) DescribeBackupsRequest(input *DescribeBackupsInput) (req *request. // // When using this operation, keep the following in mind: // -// * The operation might return fewer than the MaxResults value of backup -// descriptions while still including a NextToken value. +// - The operation might return fewer than the MaxResults value of backup +// descriptions while still including a NextToken value. // -// * The order of the backups returned in the response of one DescribeBackups -// call and the order of the backups returned across the responses of a multi-call -// iteration is unspecified. +// - The order of the backups returned in the response of one DescribeBackups +// call and the order of the backups returned across the responses of a multi-call +// iteration is unspecified. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2119,20 +2118,21 @@ func (c *FSx) DescribeBackupsRequest(input *DescribeBackupsInput) (req *request. // API operation DescribeBackups for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * VolumeNotFound -// No Amazon FSx volumes were found based upon the supplied parameters. +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. // -// * BackupNotFound -// No Amazon FSx backups were found based upon the supplied parameters. +// - VolumeNotFound +// No Amazon FSx volumes were found based upon the supplied parameters. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - BackupNotFound +// No Amazon FSx backups were found based upon the supplied parameters. +// +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeBackups func (c *FSx) DescribeBackups(input *DescribeBackupsInput) (*DescribeBackupsOutput, error) { @@ -2164,15 +2164,14 @@ func (c *FSx) DescribeBackupsWithContext(ctx aws.Context, input *DescribeBackups // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeBackups operation. -// pageNum := 0 -// err := client.DescribeBackupsPages(params, -// func(page *fsx.DescribeBackupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeBackups operation. +// pageNum := 0 +// err := client.DescribeBackupsPages(params, +// func(page *fsx.DescribeBackupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FSx) DescribeBackupsPages(input *DescribeBackupsInput, fn func(*DescribeBackupsOutput, bool) bool) error { return c.DescribeBackupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2224,14 +2223,13 @@ const opDescribeDataRepositoryAssociations = "DescribeDataRepositoryAssociations // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDataRepositoryAssociationsRequest method. +// req, resp := client.DescribeDataRepositoryAssociationsRequest(params) // -// // Example sending a request using the DescribeDataRepositoryAssociationsRequest method. -// req, resp := client.DescribeDataRepositoryAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeDataRepositoryAssociations func (c *FSx) DescribeDataRepositoryAssociationsRequest(input *DescribeDataRepositoryAssociationsInput) (req *request.Request, output *DescribeDataRepositoryAssociationsOutput) { @@ -2286,20 +2284,21 @@ func (c *FSx) DescribeDataRepositoryAssociationsRequest(input *DescribeDataRepos // API operation DescribeDataRepositoryAssociations for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * DataRepositoryAssociationNotFound -// No data repository associations were found based upon the supplied parameters. +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. // -// * InvalidDataRepositoryType -// You have filtered the response to a data repository type that is not supported. +// - DataRepositoryAssociationNotFound +// No data repository associations were found based upon the supplied parameters. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InvalidDataRepositoryType +// You have filtered the response to a data repository type that is not supported. +// +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeDataRepositoryAssociations func (c *FSx) DescribeDataRepositoryAssociations(input *DescribeDataRepositoryAssociationsInput) (*DescribeDataRepositoryAssociationsOutput, error) { @@ -2331,15 +2330,14 @@ func (c *FSx) DescribeDataRepositoryAssociationsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDataRepositoryAssociations operation. -// pageNum := 0 -// err := client.DescribeDataRepositoryAssociationsPages(params, -// func(page *fsx.DescribeDataRepositoryAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDataRepositoryAssociations operation. +// pageNum := 0 +// err := client.DescribeDataRepositoryAssociationsPages(params, +// func(page *fsx.DescribeDataRepositoryAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FSx) DescribeDataRepositoryAssociationsPages(input *DescribeDataRepositoryAssociationsInput, fn func(*DescribeDataRepositoryAssociationsOutput, bool) bool) error { return c.DescribeDataRepositoryAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2391,14 +2389,13 @@ const opDescribeDataRepositoryTasks = "DescribeDataRepositoryTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDataRepositoryTasksRequest method. +// req, resp := client.DescribeDataRepositoryTasksRequest(params) // -// // Example sending a request using the DescribeDataRepositoryTasksRequest method. -// req, resp := client.DescribeDataRepositoryTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeDataRepositoryTasks func (c *FSx) DescribeDataRepositoryTasksRequest(input *DescribeDataRepositoryTasksInput) (req *request.Request, output *DescribeDataRepositoryTasksOutput) { @@ -2447,17 +2444,18 @@ func (c *FSx) DescribeDataRepositoryTasksRequest(input *DescribeDataRepositoryTa // API operation DescribeDataRepositoryTasks for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. // -// * DataRepositoryTaskNotFound -// The data repository task or tasks you specified could not be found. +// - DataRepositoryTaskNotFound +// The data repository task or tasks you specified could not be found. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeDataRepositoryTasks func (c *FSx) DescribeDataRepositoryTasks(input *DescribeDataRepositoryTasksInput) (*DescribeDataRepositoryTasksOutput, error) { @@ -2489,15 +2487,14 @@ func (c *FSx) DescribeDataRepositoryTasksWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDataRepositoryTasks operation. -// pageNum := 0 -// err := client.DescribeDataRepositoryTasksPages(params, -// func(page *fsx.DescribeDataRepositoryTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDataRepositoryTasks operation. +// pageNum := 0 +// err := client.DescribeDataRepositoryTasksPages(params, +// func(page *fsx.DescribeDataRepositoryTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FSx) DescribeDataRepositoryTasksPages(input *DescribeDataRepositoryTasksInput, fn func(*DescribeDataRepositoryTasksOutput, bool) bool) error { return c.DescribeDataRepositoryTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2549,14 +2546,13 @@ const opDescribeFileSystemAliases = "DescribeFileSystemAliases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFileSystemAliasesRequest method. +// req, resp := client.DescribeFileSystemAliasesRequest(params) // -// // Example sending a request using the DescribeFileSystemAliasesRequest method. -// req, resp := client.DescribeFileSystemAliasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileSystemAliases func (c *FSx) DescribeFileSystemAliasesRequest(input *DescribeFileSystemAliasesInput) (req *request.Request, output *DescribeFileSystemAliasesOutput) { @@ -2597,14 +2593,15 @@ func (c *FSx) DescribeFileSystemAliasesRequest(input *DescribeFileSystemAliasesI // API operation DescribeFileSystemAliases for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileSystemAliases func (c *FSx) DescribeFileSystemAliases(input *DescribeFileSystemAliasesInput) (*DescribeFileSystemAliasesOutput, error) { @@ -2636,15 +2633,14 @@ func (c *FSx) DescribeFileSystemAliasesWithContext(ctx aws.Context, input *Descr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeFileSystemAliases operation. -// pageNum := 0 -// err := client.DescribeFileSystemAliasesPages(params, -// func(page *fsx.DescribeFileSystemAliasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeFileSystemAliases operation. +// pageNum := 0 +// err := client.DescribeFileSystemAliasesPages(params, +// func(page *fsx.DescribeFileSystemAliasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FSx) DescribeFileSystemAliasesPages(input *DescribeFileSystemAliasesInput, fn func(*DescribeFileSystemAliasesOutput, bool) bool) error { return c.DescribeFileSystemAliasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2696,14 +2692,13 @@ const opDescribeFileSystems = "DescribeFileSystems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFileSystemsRequest method. +// req, resp := client.DescribeFileSystemsRequest(params) // -// // Example sending a request using the DescribeFileSystemsRequest method. -// req, resp := client.DescribeFileSystemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileSystems func (c *FSx) DescribeFileSystemsRequest(input *DescribeFileSystemsInput) (req *request.Request, output *DescribeFileSystemsOutput) { @@ -2748,12 +2743,12 @@ func (c *FSx) DescribeFileSystemsRequest(input *DescribeFileSystemsInput) (req * // // When using this operation, keep the following in mind: // -// * The implementation might return fewer than MaxResults file system descriptions -// while still including a NextToken value. +// - The implementation might return fewer than MaxResults file system descriptions +// while still including a NextToken value. // -// * The order of file systems returned in the response of one DescribeFileSystems -// call and the order of file systems returned across the responses of a -// multicall iteration is unspecified. +// - The order of file systems returned in the response of one DescribeFileSystems +// call and the order of file systems returned across the responses of a +// multicall iteration is unspecified. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2763,14 +2758,15 @@ func (c *FSx) DescribeFileSystemsRequest(input *DescribeFileSystemsInput) (req * // API operation DescribeFileSystems for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeFileSystems func (c *FSx) DescribeFileSystems(input *DescribeFileSystemsInput) (*DescribeFileSystemsOutput, error) { @@ -2802,15 +2798,14 @@ func (c *FSx) DescribeFileSystemsWithContext(ctx aws.Context, input *DescribeFil // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeFileSystems operation. -// pageNum := 0 -// err := client.DescribeFileSystemsPages(params, -// func(page *fsx.DescribeFileSystemsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeFileSystems operation. +// pageNum := 0 +// err := client.DescribeFileSystemsPages(params, +// func(page *fsx.DescribeFileSystemsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FSx) DescribeFileSystemsPages(input *DescribeFileSystemsInput, fn func(*DescribeFileSystemsOutput, bool) bool) error { return c.DescribeFileSystemsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2862,14 +2857,13 @@ const opDescribeSnapshots = "DescribeSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSnapshotsRequest method. +// req, resp := client.DescribeSnapshotsRequest(params) // -// // Example sending a request using the DescribeSnapshotsRequest method. -// req, resp := client.DescribeSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeSnapshots func (c *FSx) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req *request.Request, output *DescribeSnapshotsOutput) { @@ -2914,12 +2908,12 @@ func (c *FSx) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req *requ // // When using this operation, keep the following in mind: // -// * The operation might return fewer than the MaxResults value of snapshot -// descriptions while still including a NextToken value. +// - The operation might return fewer than the MaxResults value of snapshot +// descriptions while still including a NextToken value. // -// * The order of snapshots returned in the response of one DescribeSnapshots -// call and the order of backups returned across the responses of a multi-call -// iteration is unspecified. +// - The order of snapshots returned in the response of one DescribeSnapshots +// call and the order of backups returned across the responses of a multi-call +// iteration is unspecified. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2929,14 +2923,15 @@ func (c *FSx) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req *requ // API operation DescribeSnapshots for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - InternalServerError +// A generic error indicating a server-side failure. // -// * SnapshotNotFound -// No Amazon FSx snapshots were found based on the supplied parameters. +// - SnapshotNotFound +// No Amazon FSx snapshots were found based on the supplied parameters. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeSnapshots func (c *FSx) DescribeSnapshots(input *DescribeSnapshotsInput) (*DescribeSnapshotsOutput, error) { @@ -2968,15 +2963,14 @@ func (c *FSx) DescribeSnapshotsWithContext(ctx aws.Context, input *DescribeSnaps // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSnapshots operation. -// pageNum := 0 -// err := client.DescribeSnapshotsPages(params, -// func(page *fsx.DescribeSnapshotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSnapshots operation. +// pageNum := 0 +// err := client.DescribeSnapshotsPages(params, +// func(page *fsx.DescribeSnapshotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FSx) DescribeSnapshotsPages(input *DescribeSnapshotsInput, fn func(*DescribeSnapshotsOutput, bool) bool) error { return c.DescribeSnapshotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3028,14 +3022,13 @@ const opDescribeStorageVirtualMachines = "DescribeStorageVirtualMachines" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStorageVirtualMachinesRequest method. +// req, resp := client.DescribeStorageVirtualMachinesRequest(params) // -// // Example sending a request using the DescribeStorageVirtualMachinesRequest method. -// req, resp := client.DescribeStorageVirtualMachinesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeStorageVirtualMachines func (c *FSx) DescribeStorageVirtualMachinesRequest(input *DescribeStorageVirtualMachinesInput) (req *request.Request, output *DescribeStorageVirtualMachinesOutput) { @@ -3073,14 +3066,15 @@ func (c *FSx) DescribeStorageVirtualMachinesRequest(input *DescribeStorageVirtua // API operation DescribeStorageVirtualMachines for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - InternalServerError +// A generic error indicating a server-side failure. // -// * StorageVirtualMachineNotFound -// No FSx for ONTAP SVMs were found based upon the supplied parameters. +// - StorageVirtualMachineNotFound +// No FSx for ONTAP SVMs were found based upon the supplied parameters. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeStorageVirtualMachines func (c *FSx) DescribeStorageVirtualMachines(input *DescribeStorageVirtualMachinesInput) (*DescribeStorageVirtualMachinesOutput, error) { @@ -3112,15 +3106,14 @@ func (c *FSx) DescribeStorageVirtualMachinesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeStorageVirtualMachines operation. -// pageNum := 0 -// err := client.DescribeStorageVirtualMachinesPages(params, -// func(page *fsx.DescribeStorageVirtualMachinesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeStorageVirtualMachines operation. +// pageNum := 0 +// err := client.DescribeStorageVirtualMachinesPages(params, +// func(page *fsx.DescribeStorageVirtualMachinesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FSx) DescribeStorageVirtualMachinesPages(input *DescribeStorageVirtualMachinesInput, fn func(*DescribeStorageVirtualMachinesOutput, bool) bool) error { return c.DescribeStorageVirtualMachinesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3172,14 +3165,13 @@ const opDescribeVolumes = "DescribeVolumes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVolumesRequest method. +// req, resp := client.DescribeVolumesRequest(params) // -// // Example sending a request using the DescribeVolumesRequest method. -// req, resp := client.DescribeVolumesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeVolumes func (c *FSx) DescribeVolumesRequest(input *DescribeVolumesInput) (req *request.Request, output *DescribeVolumesOutput) { @@ -3217,14 +3209,15 @@ func (c *FSx) DescribeVolumesRequest(input *DescribeVolumesInput) (req *request. // API operation DescribeVolumes for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * VolumeNotFound -// No Amazon FSx volumes were found based upon the supplied parameters. +// - InternalServerError +// A generic error indicating a server-side failure. +// +// - VolumeNotFound +// No Amazon FSx volumes were found based upon the supplied parameters. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeVolumes func (c *FSx) DescribeVolumes(input *DescribeVolumesInput) (*DescribeVolumesOutput, error) { @@ -3256,15 +3249,14 @@ func (c *FSx) DescribeVolumesWithContext(ctx aws.Context, input *DescribeVolumes // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeVolumes operation. -// pageNum := 0 -// err := client.DescribeVolumesPages(params, -// func(page *fsx.DescribeVolumesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeVolumes operation. +// pageNum := 0 +// err := client.DescribeVolumesPages(params, +// func(page *fsx.DescribeVolumesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FSx) DescribeVolumesPages(input *DescribeVolumesInput, fn func(*DescribeVolumesOutput, bool) bool) error { return c.DescribeVolumesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3316,14 +3308,13 @@ const opDisassociateFileSystemAliases = "DisassociateFileSystemAliases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateFileSystemAliasesRequest method. +// req, resp := client.DisassociateFileSystemAliasesRequest(params) // -// // Example sending a request using the DisassociateFileSystemAliasesRequest method. -// req, resp := client.DisassociateFileSystemAliasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DisassociateFileSystemAliases func (c *FSx) DisassociateFileSystemAliasesRequest(input *DisassociateFileSystemAliasesInput) (req *request.Request, output *DisassociateFileSystemAliasesOutput) { @@ -3363,14 +3354,15 @@ func (c *FSx) DisassociateFileSystemAliasesRequest(input *DisassociateFileSystem // API operation DisassociateFileSystemAliases for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. +// +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DisassociateFileSystemAliases func (c *FSx) DisassociateFileSystemAliases(input *DisassociateFileSystemAliasesInput) (*DisassociateFileSystemAliasesOutput, error) { @@ -3410,14 +3402,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/ListTagsForResource func (c *FSx) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -3460,12 +3451,12 @@ func (c *FSx) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // // When using this action, keep the following in mind: // -// * The implementation might return fewer than MaxResults file system descriptions -// while still including a NextToken value. +// - The implementation might return fewer than MaxResults file system descriptions +// while still including a NextToken value. // -// * The order of tags returned in the response of one ListTagsForResource -// call and the order of tags returned across the responses of a multi-call -// iteration is unspecified. +// - The order of tags returned in the response of one ListTagsForResource +// call and the order of tags returned across the responses of a multi-call +// iteration is unspecified. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3475,21 +3466,22 @@ func (c *FSx) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * ResourceNotFound -// The resource specified by the Amazon Resource Name (ARN) can't be found. +// - InternalServerError +// A generic error indicating a server-side failure. // -// * NotServiceResourceError -// The resource specified for the tagging operation is not a resource type owned -// by Amazon FSx. Use the API of the relevant service to perform the operation. +// - ResourceNotFound +// The resource specified by the Amazon Resource Name (ARN) can't be found. // -// * ResourceDoesNotSupportTagging -// The resource specified does not support tagging. +// - NotServiceResourceError +// The resource specified for the tagging operation is not a resource type owned +// by Amazon FSx. Use the API of the relevant service to perform the operation. +// +// - ResourceDoesNotSupportTagging +// The resource specified does not support tagging. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/ListTagsForResource func (c *FSx) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3521,15 +3513,14 @@ func (c *FSx) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsFor // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *fsx.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *fsx.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *FSx) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3581,14 +3572,13 @@ const opReleaseFileSystemNfsV3Locks = "ReleaseFileSystemNfsV3Locks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReleaseFileSystemNfsV3LocksRequest method. +// req, resp := client.ReleaseFileSystemNfsV3LocksRequest(params) // -// // Example sending a request using the ReleaseFileSystemNfsV3LocksRequest method. -// req, resp := client.ReleaseFileSystemNfsV3LocksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/ReleaseFileSystemNfsV3Locks func (c *FSx) ReleaseFileSystemNfsV3LocksRequest(input *ReleaseFileSystemNfsV3LocksInput) (req *request.Request, output *ReleaseFileSystemNfsV3LocksOutput) { @@ -3619,23 +3609,24 @@ func (c *FSx) ReleaseFileSystemNfsV3LocksRequest(input *ReleaseFileSystemNfsV3Lo // API operation ReleaseFileSystemNfsV3Locks for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * ServiceLimitExceeded -// An error indicating that a particular service limit was exceeded. You can -// increase some service limits by contacting Amazon Web Services Support. +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - ServiceLimitExceeded +// An error indicating that a particular service limit was exceeded. You can +// increase some service limits by contacting Amazon Web Services Support. +// +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/ReleaseFileSystemNfsV3Locks func (c *FSx) ReleaseFileSystemNfsV3Locks(input *ReleaseFileSystemNfsV3LocksInput) (*ReleaseFileSystemNfsV3LocksOutput, error) { @@ -3675,14 +3666,13 @@ const opRestoreVolumeFromSnapshot = "RestoreVolumeFromSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreVolumeFromSnapshotRequest method. +// req, resp := client.RestoreVolumeFromSnapshotRequest(params) // -// // Example sending a request using the RestoreVolumeFromSnapshotRequest method. -// req, resp := client.RestoreVolumeFromSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/RestoreVolumeFromSnapshot func (c *FSx) RestoreVolumeFromSnapshotRequest(input *RestoreVolumeFromSnapshotInput) (req *request.Request, output *RestoreVolumeFromSnapshotOutput) { @@ -3714,14 +3704,15 @@ func (c *FSx) RestoreVolumeFromSnapshotRequest(input *RestoreVolumeFromSnapshotI // API operation RestoreVolumeFromSnapshot for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * VolumeNotFound -// No Amazon FSx volumes were found based upon the supplied parameters. +// - InternalServerError +// A generic error indicating a server-side failure. +// +// - VolumeNotFound +// No Amazon FSx volumes were found based upon the supplied parameters. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/RestoreVolumeFromSnapshot func (c *FSx) RestoreVolumeFromSnapshot(input *RestoreVolumeFromSnapshotInput) (*RestoreVolumeFromSnapshotOutput, error) { @@ -3761,14 +3752,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/TagResource func (c *FSx) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3800,21 +3790,22 @@ func (c *FSx) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - InternalServerError +// A generic error indicating a server-side failure. // -// * ResourceNotFound -// The resource specified by the Amazon Resource Name (ARN) can't be found. +// - ResourceNotFound +// The resource specified by the Amazon Resource Name (ARN) can't be found. // -// * NotServiceResourceError -// The resource specified for the tagging operation is not a resource type owned -// by Amazon FSx. Use the API of the relevant service to perform the operation. +// - NotServiceResourceError +// The resource specified for the tagging operation is not a resource type owned +// by Amazon FSx. Use the API of the relevant service to perform the operation. // -// * ResourceDoesNotSupportTagging -// The resource specified does not support tagging. +// - ResourceDoesNotSupportTagging +// The resource specified does not support tagging. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/TagResource func (c *FSx) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3854,14 +3845,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UntagResource func (c *FSx) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3893,21 +3883,22 @@ func (c *FSx) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - InternalServerError +// A generic error indicating a server-side failure. // -// * ResourceNotFound -// The resource specified by the Amazon Resource Name (ARN) can't be found. +// - ResourceNotFound +// The resource specified by the Amazon Resource Name (ARN) can't be found. // -// * NotServiceResourceError -// The resource specified for the tagging operation is not a resource type owned -// by Amazon FSx. Use the API of the relevant service to perform the operation. +// - NotServiceResourceError +// The resource specified for the tagging operation is not a resource type owned +// by Amazon FSx. Use the API of the relevant service to perform the operation. // -// * ResourceDoesNotSupportTagging -// The resource specified does not support tagging. +// - ResourceDoesNotSupportTagging +// The resource specified does not support tagging. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UntagResource func (c *FSx) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3947,14 +3938,13 @@ const opUpdateDataRepositoryAssociation = "UpdateDataRepositoryAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDataRepositoryAssociationRequest method. +// req, resp := client.UpdateDataRepositoryAssociationRequest(params) // -// // Example sending a request using the UpdateDataRepositoryAssociationRequest method. -// req, resp := client.UpdateDataRepositoryAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateDataRepositoryAssociation func (c *FSx) UpdateDataRepositoryAssociationRequest(input *UpdateDataRepositoryAssociationInput) (req *request.Request, output *UpdateDataRepositoryAssociationOutput) { @@ -3987,23 +3977,24 @@ func (c *FSx) UpdateDataRepositoryAssociationRequest(input *UpdateDataRepository // API operation UpdateDataRepositoryAssociation for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * DataRepositoryAssociationNotFound -// No data repository associations were found based upon the supplied parameters. +// - DataRepositoryAssociationNotFound +// No data repository associations were found based upon the supplied parameters. // -// * ServiceLimitExceeded -// An error indicating that a particular service limit was exceeded. You can -// increase some service limits by contacting Amazon Web Services Support. +// - ServiceLimitExceeded +// An error indicating that a particular service limit was exceeded. You can +// increase some service limits by contacting Amazon Web Services Support. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateDataRepositoryAssociation func (c *FSx) UpdateDataRepositoryAssociation(input *UpdateDataRepositoryAssociationInput) (*UpdateDataRepositoryAssociationOutput, error) { @@ -4043,14 +4034,13 @@ const opUpdateFileSystem = "UpdateFileSystem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFileSystemRequest method. +// req, resp := client.UpdateFileSystemRequest(params) // -// // Example sending a request using the UpdateFileSystemRequest method. -// req, resp := client.UpdateFileSystemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateFileSystem func (c *FSx) UpdateFileSystemRequest(input *UpdateFileSystemInput) (req *request.Request, output *UpdateFileSystemOutput) { @@ -4077,67 +4067,67 @@ func (c *FSx) UpdateFileSystemRequest(input *UpdateFileSystemInput) (req *reques // For Amazon FSx for Windows File Server file systems, you can update the following // properties: // -// * AuditLogConfiguration +// - AuditLogConfiguration // -// * AutomaticBackupRetentionDays +// - AutomaticBackupRetentionDays // -// * DailyAutomaticBackupStartTime +// - DailyAutomaticBackupStartTime // -// * SelfManagedActiveDirectoryConfiguration +// - SelfManagedActiveDirectoryConfiguration // -// * StorageCapacity +// - StorageCapacity // -// * ThroughputCapacity +// - ThroughputCapacity // -// * WeeklyMaintenanceStartTime +// - WeeklyMaintenanceStartTime // // For Amazon FSx for Lustre file systems, you can update the following properties: // -// * AutoImportPolicy +// - AutoImportPolicy // -// * AutomaticBackupRetentionDays +// - AutomaticBackupRetentionDays // -// * DailyAutomaticBackupStartTime +// - DailyAutomaticBackupStartTime // -// * DataCompressionType +// - DataCompressionType // -// * LustreRootSquashConfiguration +// - LustreRootSquashConfiguration // -// * StorageCapacity +// - StorageCapacity // -// * WeeklyMaintenanceStartTime +// - WeeklyMaintenanceStartTime // // For Amazon FSx for NetApp ONTAP file systems, you can update the following // properties: // -// * AutomaticBackupRetentionDays +// - AutomaticBackupRetentionDays // -// * DailyAutomaticBackupStartTime +// - DailyAutomaticBackupStartTime // -// * DiskIopsConfiguration +// - DiskIopsConfiguration // -// * FsxAdminPassword +// - FsxAdminPassword // -// * StorageCapacity +// - StorageCapacity // -// * ThroughputCapacity +// - ThroughputCapacity // -// * WeeklyMaintenanceStartTime +// - WeeklyMaintenanceStartTime // // For the Amazon FSx for OpenZFS file systems, you can update the following // properties: // -// * AutomaticBackupRetentionDays +// - AutomaticBackupRetentionDays // -// * CopyTagsToBackups +// - CopyTagsToBackups // -// * CopyTagsToVolumes +// - CopyTagsToVolumes // -// * DailyAutomaticBackupStartTime +// - DailyAutomaticBackupStartTime // -// * ThroughputCapacity +// - ThroughputCapacity // -// * WeeklyMaintenanceStartTime +// - WeeklyMaintenanceStartTime // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4147,29 +4137,30 @@ func (c *FSx) UpdateFileSystemRequest(input *UpdateFileSystemInput) (req *reques // API operation UpdateFileSystem for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * UnsupportedOperation -// The requested operation is not supported for this resource or API. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - UnsupportedOperation +// The requested operation is not supported for this resource or API. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * FileSystemNotFound -// No Amazon FSx file systems were found based upon supplied parameters. +// - InternalServerError +// A generic error indicating a server-side failure. // -// * MissingFileSystemConfiguration -// A file system configuration is required for this operation. +// - FileSystemNotFound +// No Amazon FSx file systems were found based upon supplied parameters. // -// * ServiceLimitExceeded -// An error indicating that a particular service limit was exceeded. You can -// increase some service limits by contacting Amazon Web Services Support. +// - MissingFileSystemConfiguration +// A file system configuration is required for this operation. +// +// - ServiceLimitExceeded +// An error indicating that a particular service limit was exceeded. You can +// increase some service limits by contacting Amazon Web Services Support. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateFileSystem func (c *FSx) UpdateFileSystem(input *UpdateFileSystemInput) (*UpdateFileSystemOutput, error) { @@ -4209,14 +4200,13 @@ const opUpdateSnapshot = "UpdateSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSnapshotRequest method. +// req, resp := client.UpdateSnapshotRequest(params) // -// // Example sending a request using the UpdateSnapshotRequest method. -// req, resp := client.UpdateSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateSnapshot func (c *FSx) UpdateSnapshotRequest(input *UpdateSnapshotInput) (req *request.Request, output *UpdateSnapshotOutput) { @@ -4247,14 +4237,15 @@ func (c *FSx) UpdateSnapshotRequest(input *UpdateSnapshotInput) (req *request.Re // API operation UpdateSnapshot for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * SnapshotNotFound -// No Amazon FSx snapshots were found based on the supplied parameters. +// - BadRequest +// A generic error indicating a failure with a client request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - SnapshotNotFound +// No Amazon FSx snapshots were found based on the supplied parameters. +// +// - InternalServerError +// A generic error indicating a server-side failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateSnapshot func (c *FSx) UpdateSnapshot(input *UpdateSnapshotInput) (*UpdateSnapshotOutput, error) { @@ -4294,14 +4285,13 @@ const opUpdateStorageVirtualMachine = "UpdateStorageVirtualMachine" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStorageVirtualMachineRequest method. +// req, resp := client.UpdateStorageVirtualMachineRequest(params) // -// // Example sending a request using the UpdateStorageVirtualMachineRequest method. -// req, resp := client.UpdateStorageVirtualMachineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateStorageVirtualMachine func (c *FSx) UpdateStorageVirtualMachineRequest(input *UpdateStorageVirtualMachineInput) (req *request.Request, output *UpdateStorageVirtualMachineOutput) { @@ -4332,22 +4322,23 @@ func (c *FSx) UpdateStorageVirtualMachineRequest(input *UpdateStorageVirtualMach // API operation UpdateStorageVirtualMachine for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // -// * StorageVirtualMachineNotFound -// No FSx for ONTAP SVMs were found based upon the supplied parameters. +// - StorageVirtualMachineNotFound +// No FSx for ONTAP SVMs were found based upon the supplied parameters. // -// * UnsupportedOperation -// The requested operation is not supported for this resource or API. +// - UnsupportedOperation +// The requested operation is not supported for this resource or API. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateStorageVirtualMachine func (c *FSx) UpdateStorageVirtualMachine(input *UpdateStorageVirtualMachineInput) (*UpdateStorageVirtualMachineOutput, error) { @@ -4387,14 +4378,13 @@ const opUpdateVolume = "UpdateVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVolumeRequest method. +// req, resp := client.UpdateVolumeRequest(params) // -// // Example sending a request using the UpdateVolumeRequest method. -// req, resp := client.UpdateVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateVolume func (c *FSx) UpdateVolumeRequest(input *UpdateVolumeInput) (req *request.Request, output *UpdateVolumeOutput) { @@ -4426,22 +4416,23 @@ func (c *FSx) UpdateVolumeRequest(input *UpdateVolumeInput) (req *request.Reques // API operation UpdateVolume for usage and error information. // // Returned Error Types: -// * BadRequest -// A generic error indicating a failure with a client request. // -// * IncompatibleParameterError -// The error returned when a second request is received with the same client -// request token but different parameters settings. A client request token should -// always uniquely identify a single request. +// - BadRequest +// A generic error indicating a failure with a client request. +// +// - IncompatibleParameterError +// The error returned when a second request is received with the same client +// request token but different parameters settings. A client request token should +// always uniquely identify a single request. // -// * InternalServerError -// A generic error indicating a server-side failure. +// - InternalServerError +// A generic error indicating a server-side failure. // -// * MissingVolumeConfiguration -// A volume configuration is required for this operation. +// - MissingVolumeConfiguration +// A volume configuration is required for this operation. // -// * VolumeNotFound -// No Amazon FSx volumes were found based upon the supplied parameters. +// - VolumeNotFound +// No Amazon FSx volumes were found based upon the supplied parameters. // // See also, https://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/UpdateVolume func (c *FSx) UpdateVolume(input *UpdateVolumeInput) (*UpdateVolumeOutput, error) { @@ -7116,13 +7107,13 @@ func (s *CreateFileSystemInput) SetWindowsConfiguration(v *CreateFileSystemWindo // deployment type. Instead, use CreateDataRepositoryAssociation to create a // data repository association to link your Lustre file system to a data repository. // -// * AutoImportPolicy +// - AutoImportPolicy // -// * ExportPath +// - ExportPath // -// * ImportedChunkSize +// - ImportedChunkSize // -// * ImportPath +// - ImportPath type CreateFileSystemLustreConfiguration struct { _ struct{} `type:"structure"` @@ -9225,11 +9216,11 @@ func (s *CreateVolumeOutput) SetVolume(v *Volume) *CreateVolumeOutput { // for Lustre file system to an Amazon S3 bucket. The data repository association // configuration object is returned in the response of the following operations: // -// * CreateDataRepositoryAssociation +// - CreateDataRepositoryAssociation // -// * UpdateDataRepositoryAssociation +// - UpdateDataRepositoryAssociation // -// * DescribeDataRepositoryAssociations +// - DescribeDataRepositoryAssociations // // Data repository associations are supported only for file systems with the // Persistent_2 deployment type. @@ -14223,9 +14214,9 @@ func (s *LustreLogConfiguration) SetLevel(v string) *LustreLogConfiguration { // Error and warning events can be logged from the following data repository // operations: // -// * Automatic export +// - Automatic export // -// * Data repository tasks +// - Data repository tasks // // To learn more about Lustre logging, see Logging to Amazon CloudWatch Logs // (https://docs.aws.amazon.com/fsx/latest/LustreGuide/cw-event-logging.html). @@ -17266,17 +17257,17 @@ func (s TagResourceOutput) GoString() string { // // Valid tiering policies are the following: // -// * SNAPSHOT_ONLY - (Default value) moves cold snapshots to the capacity -// pool storage tier. +// - SNAPSHOT_ONLY - (Default value) moves cold snapshots to the capacity +// pool storage tier. // -// * AUTO - moves cold user data and snapshots to the capacity pool storage -// tier based on your access patterns. +// - AUTO - moves cold user data and snapshots to the capacity pool storage +// tier based on your access patterns. // -// * ALL - moves all user data blocks in both the active file system and -// Snapshot copies to the storage pool tier. +// - ALL - moves all user data blocks in both the active file system and +// Snapshot copies to the storage pool tier. // -// * NONE - keeps a volume's data in the primary storage tier, preventing -// it from being moved to the capacity pool tier. +// - NONE - keeps a volume's data in the primary storage tier, preventing +// it from being moved to the capacity pool tier. type TieringPolicy struct { _ struct{} `type:"structure"` @@ -19724,41 +19715,41 @@ func ActiveDirectoryErrorType_Values() []string { // Describes the type of administrative action, as follows: // -// * FILE_SYSTEM_UPDATE - A file system update administrative action initiated -// from the Amazon FSx console, API (UpdateFileSystem), or CLI (update-file-system). -// -// * STORAGE_OPTIMIZATION - After the FILE_SYSTEM_UPDATE task to increase -// a file system's storage capacity has been completed successfully, a STORAGE_OPTIMIZATION -// task starts. For Windows and ONTAP, storage optimization is the process -// of migrating the file system data to newer larger disks. For Lustre, storage -// optimization consists of rebalancing the data across the existing and -// newly added file servers. You can track the storage-optimization progress -// using the ProgressPercent property. When STORAGE_OPTIMIZATION has been -// completed successfully, the parent FILE_SYSTEM_UPDATE action status changes -// to COMPLETED. For more information, see Managing storage capacity (https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-storage-capacity.html) -// in the Amazon FSx for Windows File Server User Guide, Managing storage -// and throughput capacity (https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html) -// in the Amazon FSx for Lustre User Guide, and Managing storage capacity -// and provisioned IOPS (https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-storage-capacity.html) -// in the Amazon FSx for NetApp ONTAP User Guide. -// -// * FILE_SYSTEM_ALIAS_ASSOCIATION - A file system update to associate a -// new Domain Name System (DNS) alias with the file system. For more information, -// see AssociateFileSystemAliases (https://docs.aws.amazon.com/fsx/latest/APIReference/API_AssociateFileSystemAliases.html). -// -// * FILE_SYSTEM_ALIAS_DISASSOCIATION - A file system update to disassociate -// a DNS alias from the file system. For more information, see DisassociateFileSystemAliases -// (https://docs.aws.amazon.com/fsx/latest/APIReference/API_DisassociateFileSystemAliases.html). -// -// * VOLUME_UPDATE - A volume update to an Amazon FSx for NetApp ONTAP or -// Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API -// (UpdateVolume), or CLI (update-volume). -// -// * SNAPSHOT_UPDATE - A snapshot update to an Amazon FSx for OpenZFS volume -// initiated from the Amazon FSx console, API (UpdateSnapshot), or CLI (update-snapshot). -// -// * RELEASE_NFS_V3_LOCKS - Tracks the release of Network File System (NFS) -// V3 locks on an Amazon FSx for OpenZFS file system. +// - FILE_SYSTEM_UPDATE - A file system update administrative action initiated +// from the Amazon FSx console, API (UpdateFileSystem), or CLI (update-file-system). +// +// - STORAGE_OPTIMIZATION - After the FILE_SYSTEM_UPDATE task to increase +// a file system's storage capacity has been completed successfully, a STORAGE_OPTIMIZATION +// task starts. For Windows and ONTAP, storage optimization is the process +// of migrating the file system data to newer larger disks. For Lustre, storage +// optimization consists of rebalancing the data across the existing and +// newly added file servers. You can track the storage-optimization progress +// using the ProgressPercent property. When STORAGE_OPTIMIZATION has been +// completed successfully, the parent FILE_SYSTEM_UPDATE action status changes +// to COMPLETED. For more information, see Managing storage capacity (https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-storage-capacity.html) +// in the Amazon FSx for Windows File Server User Guide, Managing storage +// and throughput capacity (https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html) +// in the Amazon FSx for Lustre User Guide, and Managing storage capacity +// and provisioned IOPS (https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-storage-capacity.html) +// in the Amazon FSx for NetApp ONTAP User Guide. +// +// - FILE_SYSTEM_ALIAS_ASSOCIATION - A file system update to associate a +// new Domain Name System (DNS) alias with the file system. For more information, +// see AssociateFileSystemAliases (https://docs.aws.amazon.com/fsx/latest/APIReference/API_AssociateFileSystemAliases.html). +// +// - FILE_SYSTEM_ALIAS_DISASSOCIATION - A file system update to disassociate +// a DNS alias from the file system. For more information, see DisassociateFileSystemAliases +// (https://docs.aws.amazon.com/fsx/latest/APIReference/API_DisassociateFileSystemAliases.html). +// +// - VOLUME_UPDATE - A volume update to an Amazon FSx for NetApp ONTAP or +// Amazon FSx for OpenZFS volume initiated from the Amazon FSx console, API +// (UpdateVolume), or CLI (update-volume). +// +// - SNAPSHOT_UPDATE - A snapshot update to an Amazon FSx for OpenZFS volume +// initiated from the Amazon FSx console, API (UpdateSnapshot), or CLI (update-snapshot). +// +// - RELEASE_NFS_V3_LOCKS - Tracks the release of Network File System (NFS) +// V3 locks on an Amazon FSx for OpenZFS file system. const ( // AdministrativeActionTypeFileSystemUpdate is a AdministrativeActionType enum value AdministrativeActionTypeFileSystemUpdate = "FILE_SYSTEM_UPDATE" @@ -19849,21 +19840,21 @@ func AutoImportPolicyType_Values() []string { // The lifecycle status of the backup. // -// * AVAILABLE - The backup is fully available. +// - AVAILABLE - The backup is fully available. // -// * PENDING - For user-initiated backups on Lustre file systems only; Amazon -// FSx hasn't started creating the backup. +// - PENDING - For user-initiated backups on Lustre file systems only; Amazon +// FSx hasn't started creating the backup. // -// * CREATING - Amazon FSx is creating the new user-initiated backup. +// - CREATING - Amazon FSx is creating the new user-initiated backup. // -// * TRANSFERRING - For user-initiated backups on Lustre file systems only; -// Amazon FSx is backing up the file system. +// - TRANSFERRING - For user-initiated backups on Lustre file systems only; +// Amazon FSx is backing up the file system. // -// * COPYING - Amazon FSx is copying the backup. +// - COPYING - Amazon FSx is copying the backup. // -// * DELETED - Amazon FSx deleted the backup and it's no longer available. +// - DELETED - Amazon FSx deleted the backup and it's no longer available. // -// * FAILED - Amazon FSx couldn't finish the backup. +// - FAILED - Amazon FSx couldn't finish the backup. const ( // BackupLifecycleAvailable is a BackupLifecycle enum value BackupLifecycleAvailable = "AVAILABLE" diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/doc.go index 0c23c396c480..71300a5895a3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/doc.go @@ -11,7 +11,7 @@ // See fsx package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/fsx/ // -// Using the Client +// # Using the Client // // To contact Amazon FSx with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/fsxiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/fsxiface/interface.go index 8b09b4182f0a..13e767165935 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/fsxiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/fsxiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon FSx. -// func myFunc(svc fsxiface.FSxAPI) bool { -// // Make svc.AssociateFileSystemAliases request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon FSx. +// func myFunc(svc fsxiface.FSxAPI) bool { +// // Make svc.AssociateFileSystemAliases request +// } // -// func main() { -// sess := session.New() -// svc := fsx.New(sess) +// func main() { +// sess := session.New() +// svc := fsx.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockFSxClient struct { -// fsxiface.FSxAPI -// } -// func (m *mockFSxClient) AssociateFileSystemAliases(input *fsx.AssociateFileSystemAliasesInput) (*fsx.AssociateFileSystemAliasesOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockFSxClient struct { +// fsxiface.FSxAPI +// } +// func (m *mockFSxClient) AssociateFileSystemAliases(input *fsx.AssociateFileSystemAliasesInput) (*fsx.AssociateFileSystemAliasesOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockFSxClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockFSxClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/service.go index 9f5227723973..272c87fe124d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/fsx/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a FSx client from just a session. -// svc := fsx.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a FSx client with additional configuration -// svc := fsx.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a FSx client from just a session. +// svc := fsx.New(mySession) +// +// // Create a FSx client with additional configuration +// svc := fsx.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *FSx { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/api.go index 81dfc3599752..05ee8178b804 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/api.go @@ -29,14 +29,13 @@ const opAcceptMatch = "AcceptMatch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptMatchRequest method. +// req, resp := client.AcceptMatchRequest(params) // -// // Example sending a request using the AcceptMatchRequest method. -// req, resp := client.AcceptMatchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/AcceptMatch func (c *GameLift) AcceptMatchRequest(input *AcceptMatchInput) (req *request.Request, output *AcceptMatchOutput) { @@ -83,12 +82,12 @@ func (c *GameLift) AcceptMatchRequest(input *AcceptMatchInput) (req *request.Req // // Learn more // -// Add FlexMatch to a game client (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-client.html) +// Add FlexMatch to a game client (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-client.html) // -// FlexMatch events (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-events.html) -// (reference) +// FlexMatch events (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-events.html) +// (reference) // -// Related actions +// # Related actions // // StartMatchmaking | DescribeMatchmaking | StopMatchmaking | AcceptMatch | // StartMatchBackfill | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -101,21 +100,22 @@ func (c *GameLift) AcceptMatchRequest(input *AcceptMatchInput) (req *request.Req // API operation AcceptMatch for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/AcceptMatch func (c *GameLift) AcceptMatch(input *AcceptMatchInput) (*AcceptMatchOutput, error) { @@ -155,14 +155,13 @@ const opClaimGameServer = "ClaimGameServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ClaimGameServerRequest method. +// req, resp := client.ClaimGameServerRequest(params) // -// // Example sending a request using the ClaimGameServerRequest method. -// req, resp := client.ClaimGameServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ClaimGameServer func (c *GameLift) ClaimGameServerRequest(input *ClaimGameServerInput) (req *request.Request, output *ClaimGameServerOutput) { @@ -209,19 +208,19 @@ func (c *GameLift) ClaimGameServerRequest(input *ClaimGameServerInput) (req *req // If you try to claim a specific game server, this request will fail in the // following cases: // -// * If the game server utilization status is UTILIZED. +// - If the game server utilization status is UTILIZED. // -// * If the game server claim status is CLAIMED. +// - If the game server claim status is CLAIMED. // // When claiming a specific game server, this request will succeed even if the // game server is running on an instance in DRAINING status. To avoid this, // first check the instance status by calling DescribeGameServerInstances. // -// Learn more +// # Learn more // // GameLift FleetIQ Guide (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html) // -// Related actions +// # Related actions // // RegisterGameServer | ListGameServers | ClaimGameServer | DescribeGameServer // | UpdateGameServer | DeregisterGameServer | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/reference-awssdk-fleetiq.html) @@ -234,31 +233,32 @@ func (c *GameLift) ClaimGameServerRequest(input *ClaimGameServerInput) (req *req // API operation ClaimGameServer for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * OutOfCapacityException -// The specified game server group has no available game servers to fulfill -// a ClaimGameServer request. Clients can retry such requests immediately or -// after a waiting period. +// - OutOfCapacityException +// The specified game server group has no available game servers to fulfill +// a ClaimGameServer request. Clients can retry such requests immediately or +// after a waiting period. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ClaimGameServer func (c *GameLift) ClaimGameServer(input *ClaimGameServerInput) (*ClaimGameServerOutput, error) { @@ -298,14 +298,13 @@ const opCreateAlias = "CreateAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAliasRequest method. +// req, resp := client.CreateAliasRequest(params) // -// // Example sending a request using the CreateAliasRequest method. -// req, resp := client.CreateAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateAlias func (c *GameLift) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, output *CreateAliasOutput) { @@ -344,7 +343,7 @@ func (c *GameLift) CreateAliasRequest(input *CreateAliasInput) (req *request.Req // an alias ID and an ARN. You can reassign an alias to another fleet by calling // UpdateAlias. // -// Related actions +// # Related actions // // CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias // | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -357,31 +356,32 @@ func (c *GameLift) CreateAliasRequest(input *CreateAliasInput) (req *request.Req // API operation CreateAlias for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * LimitExceededException -// The requested operation would cause the resource to exceed the allowed service -// limit. Resolve the issue before retrying. +// - LimitExceededException +// The requested operation would cause the resource to exceed the allowed service +// limit. Resolve the issue before retrying. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateAlias func (c *GameLift) CreateAlias(input *CreateAliasInput) (*CreateAliasOutput, error) { @@ -421,14 +421,13 @@ const opCreateBuild = "CreateBuild" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBuildRequest method. +// req, resp := client.CreateBuildRequest(params) // -// // Example sending a request using the CreateBuildRequest method. -// req, resp := client.CreateBuildRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateBuild func (c *GameLift) CreateBuildRequest(input *CreateBuildInput) (req *request.Request, output *CreateBuildOutput) { @@ -461,33 +460,33 @@ func (c *GameLift) CreateBuildRequest(input *CreateBuildInput) (req *request.Req // // The CreateBuild operation can used in the following scenarios: // -// * To create a new game build with build files that are in an Amazon S3 -// location under an Amazon Web Services account that you control. To use -// this option, you must first give Amazon GameLift access to the Amazon -// S3 bucket. With permissions in place, call CreateBuild and specify a build -// name, operating system, and the Amazon S3 storage location of your game -// build. -// -// * To directly upload your build files to a GameLift Amazon S3 location. -// To use this option, first call CreateBuild and specify a build name and -// operating system. This operation creates a new build resource and also -// returns an Amazon S3 location with temporary access credentials. Use the -// credentials to manually upload your build files to the specified Amazon -// S3 location. For more information, see Uploading Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html) -// in the Amazon S3 Developer Guide. Build files can be uploaded to the GameLift -// Amazon S3 location once only; that can't be updated. +// - To create a new game build with build files that are in an Amazon S3 +// location under an Amazon Web Services account that you control. To use +// this option, you must first give Amazon GameLift access to the Amazon +// S3 bucket. With permissions in place, call CreateBuild and specify a build +// name, operating system, and the Amazon S3 storage location of your game +// build. +// +// - To directly upload your build files to a GameLift Amazon S3 location. +// To use this option, first call CreateBuild and specify a build name and +// operating system. This operation creates a new build resource and also +// returns an Amazon S3 location with temporary access credentials. Use the +// credentials to manually upload your build files to the specified Amazon +// S3 location. For more information, see Uploading Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html) +// in the Amazon S3 Developer Guide. Build files can be uploaded to the GameLift +// Amazon S3 location once only; that can't be updated. // // If successful, this operation creates a new build resource with a unique // build ID and places it in INITIALIZED status. A build must be in READY status // before you can create fleets with it. // -// Learn more +// # Learn more // // Uploading Your Game (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-intro.html) // -// Create a Build with Files in Amazon S3 (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-cli-uploading.html#gamelift-build-cli-uploading-create-build) +// Create a Build with Files in Amazon S3 (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-cli-uploading.html#gamelift-build-cli-uploading-create-build) // -// Related actions +// # Related actions // // CreateBuild | ListBuilds | DescribeBuild | UpdateBuild | DeleteBuild | All // APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -500,27 +499,28 @@ func (c *GameLift) CreateBuildRequest(input *CreateBuildInput) (req *request.Req // API operation CreateBuild for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateBuild func (c *GameLift) CreateBuild(input *CreateBuildInput) (*CreateBuildOutput, error) { @@ -560,14 +560,13 @@ const opCreateFleet = "CreateFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFleetRequest method. +// req, resp := client.CreateFleetRequest(params) // -// // Example sending a request using the CreateFleetRequest method. -// req, resp := client.CreateFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateFleet func (c *GameLift) CreateFleetRequest(input *CreateFleetInput) (req *request.Request, output *CreateFleetOutput) { @@ -626,7 +625,7 @@ func (c *GameLift) CreateFleetRequest(input *CreateFleetInput) (req *request.Req // of each remote location reaches ACTIVE, you can set capacity by location // using UpdateFleetCapacity. // -// Learn more +// # Learn more // // Setting up fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // @@ -634,7 +633,7 @@ func (c *GameLift) CreateFleetRequest(input *CreateFleetInput) (req *request.Req // // Multi-location fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // -// Related actions +// # Related actions // // CreateFleet | UpdateFleetCapacity | PutScalingPolicy | DescribeEC2InstanceLimits // | DescribeFleetAttributes | DescribeFleetLocationAttributes | UpdateFleetAttributes @@ -648,38 +647,39 @@ func (c *GameLift) CreateFleetRequest(input *CreateFleetInput) (req *request.Req // API operation CreateFleet for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * LimitExceededException -// The requested operation would cause the resource to exceed the allowed service -// limit. Resolve the issue before retrying. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - LimitExceededException +// The requested operation would cause the resource to exceed the allowed service +// limit. Resolve the issue before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. +// +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateFleet func (c *GameLift) CreateFleet(input *CreateFleetInput) (*CreateFleetOutput, error) { @@ -719,14 +719,13 @@ const opCreateFleetLocations = "CreateFleetLocations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFleetLocationsRequest method. +// req, resp := client.CreateFleetLocationsRequest(params) // -// // Example sending a request using the CreateFleetLocationsRequest method. -// req, resp := client.CreateFleetLocationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateFleetLocations func (c *GameLift) CreateFleetLocationsRequest(input *CreateFleetLocationsInput) (req *request.Request, output *CreateFleetLocationsOutput) { @@ -767,13 +766,13 @@ func (c *GameLift) CreateFleetLocationsRequest(input *CreateFleetLocationsInput) // After a location status becomes ACTIVE, you can adjust the location's capacity // as needed with UpdateFleetCapacity. // -// Learn more +// # Learn more // // Setting up fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // // Multi-location fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // -// Related actions +// # Related actions // // CreateFleetLocations | DescribeFleetLocationAttributes | DescribeFleetLocationCapacity // | DescribeFleetLocationUtilization | DescribeFleetAttributes | DescribeFleetCapacity @@ -788,29 +787,30 @@ func (c *GameLift) CreateFleetLocationsRequest(input *CreateFleetLocationsInput) // API operation CreateFleetLocations for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InvalidFleetStatusException -// The requested operation would cause a conflict with the current state of -// a resource associated with the request and/or the fleet. Resolve the conflict -// before retrying. +// - InvalidFleetStatusException +// The requested operation would cause a conflict with the current state of +// a resource associated with the request and/or the fleet. Resolve the conflict +// before retrying. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateFleetLocations func (c *GameLift) CreateFleetLocations(input *CreateFleetLocationsInput) (*CreateFleetLocationsOutput, error) { @@ -850,14 +850,13 @@ const opCreateGameServerGroup = "CreateGameServerGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGameServerGroupRequest method. +// req, resp := client.CreateGameServerGroupRequest(params) // -// // Example sending a request using the CreateGameServerGroupRequest method. -// req, resp := client.CreateGameServerGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateGameServerGroup func (c *GameLift) CreateGameServerGroupRequest(input *CreateGameServerGroupInput) (req *request.Request, output *CreateGameServerGroupOutput) { @@ -890,17 +889,17 @@ func (c *GameLift) CreateGameServerGroupRequest(input *CreateGameServerGroupInpu // // Before creating a new game server group, you must have the following: // -// * An Amazon Elastic Compute Cloud launch template that specifies how to -// launch Amazon Elastic Compute Cloud instances with your game server build. -// For more information, see Launching an Instance from a Launch Template -// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) -// in the Amazon Elastic Compute Cloud User Guide. +// - An Amazon Elastic Compute Cloud launch template that specifies how to +// launch Amazon Elastic Compute Cloud instances with your game server build. +// For more information, see Launching an Instance from a Launch Template +// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) +// in the Amazon Elastic Compute Cloud User Guide. // -// * An IAM role that extends limited access to your Amazon Web Services -// account to allow GameLift FleetIQ to create and interact with the Auto -// Scaling group. For more information, see Create IAM roles for cross-service -// interaction (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-iam-permissions-roles.html) -// in the GameLift FleetIQ Developer Guide. +// - An IAM role that extends limited access to your Amazon Web Services +// account to allow GameLift FleetIQ to create and interact with the Auto +// Scaling group. For more information, see Create IAM roles for cross-service +// interaction (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-iam-permissions-roles.html) +// in the GameLift FleetIQ Developer Guide. // // To create a new game server group, specify a unique group name, IAM role // and Amazon Elastic Compute Cloud launch template, and provide a list of instance @@ -916,11 +915,11 @@ func (c *GameLift) CreateGameServerGroupRequest(input *CreateGameServerGroupInpu // group properties are periodically updated by GameLift FleetIQ as part of // its balancing activities to optimize for availability and cost. // -// Learn more +// # Learn more // // GameLift FleetIQ Guide (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html) // -// Related actions +// # Related actions // // CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | // UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup @@ -934,26 +933,27 @@ func (c *GameLift) CreateGameServerGroupRequest(input *CreateGameServerGroupInpu // API operation CreateGameServerGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * LimitExceededException -// The requested operation would cause the resource to exceed the allowed service -// limit. Resolve the issue before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - LimitExceededException +// The requested operation would cause the resource to exceed the allowed service +// limit. Resolve the issue before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateGameServerGroup func (c *GameLift) CreateGameServerGroup(input *CreateGameServerGroupInput) (*CreateGameServerGroupOutput, error) { @@ -993,14 +993,13 @@ const opCreateGameSession = "CreateGameSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGameSessionRequest method. +// req, resp := client.CreateGameSessionRequest(params) // -// // Example sending a request using the CreateGameSessionRequest method. -// req, resp := client.CreateGameSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateGameSession func (c *GameLift) CreateGameSessionRequest(input *CreateGameSessionInput) (req *request.Request, output *CreateGameSessionOutput) { @@ -1035,12 +1034,12 @@ func (c *GameLift) CreateGameSessionRequest(input *CreateGameSessionInput) (req // // This operation can be used in the following ways: // -// * To create a game session on an instance in a fleet's home Region, provide -// a fleet or alias ID along with your game session configuration. +// - To create a game session on an instance in a fleet's home Region, provide +// a fleet or alias ID along with your game session configuration. // -// * To create a game session on an instance in a fleet's remote location, -// provide a fleet or alias ID and a location name, along with your game -// session configuration. +// - To create a game session on an instance in a fleet's remote location, +// provide a fleet or alias ID and a location name, along with your game +// session configuration. // // If successful, a workflow is initiated to start a new game session. A GameSession // object is returned containing the game session configuration and status. @@ -1055,11 +1054,11 @@ func (c *GameLift) CreateGameSessionRequest(input *CreateGameSessionInput) (req // // Available in Amazon GameLift Local. // -// Learn more +// # Learn more // // Start a game session (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html#gamelift-sdk-server-startsession) // -// Related actions +// # Related actions // // CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions // | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | @@ -1074,53 +1073,54 @@ func (c *GameLift) CreateGameSessionRequest(input *CreateGameSessionInput) (req // API operation CreateGameSession for usage and error information. // // Returned Error Types: -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. -// -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. -// -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. -// -// * InvalidFleetStatusException -// The requested operation would cause a conflict with the current state of -// a resource associated with the request and/or the fleet. Resolve the conflict -// before retrying. -// -// * TerminalRoutingStrategyException -// The service is unable to resolve the routing for a particular alias because -// it has a terminal RoutingStrategy associated with it. The message returned -// in this exception is the message defined in the routing strategy itself. -// Such requests should only be retried if the routing strategy for the specified -// alias is modified. -// -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. -// -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. -// -// * FleetCapacityExceededException -// The specified fleet has no available instances to fulfill a CreateGameSession -// request. Clients can retry such requests immediately or after a waiting period. -// -// * LimitExceededException -// The requested operation would cause the resource to exceed the allowed service -// limit. Resolve the issue before retrying. -// -// * IdempotentParameterMismatchException -// A game session with this custom ID string already exists in this fleet. Resolve -// this conflict before retrying this request. -// -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidFleetStatusException +// The requested operation would cause a conflict with the current state of +// a resource associated with the request and/or the fleet. Resolve the conflict +// before retrying. +// +// - TerminalRoutingStrategyException +// The service is unable to resolve the routing for a particular alias because +// it has a terminal RoutingStrategy associated with it. The message returned +// in this exception is the message defined in the routing strategy itself. +// Such requests should only be retried if the routing strategy for the specified +// alias is modified. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. +// +// - FleetCapacityExceededException +// The specified fleet has no available instances to fulfill a CreateGameSession +// request. Clients can retry such requests immediately or after a waiting period. +// +// - LimitExceededException +// The requested operation would cause the resource to exceed the allowed service +// limit. Resolve the issue before retrying. +// +// - IdempotentParameterMismatchException +// A game session with this custom ID string already exists in this fleet. Resolve +// this conflict before retrying this request. +// +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateGameSession func (c *GameLift) CreateGameSession(input *CreateGameSessionInput) (*CreateGameSessionOutput, error) { @@ -1160,14 +1160,13 @@ const opCreateGameSessionQueue = "CreateGameSessionQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGameSessionQueueRequest method. +// req, resp := client.CreateGameSessionQueueRequest(params) // -// // Example sending a request using the CreateGameSessionQueueRequest method. -// req, resp := client.CreateGameSessionQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateGameSessionQueue func (c *GameLift) CreateGameSessionQueueRequest(input *CreateGameSessionQueueInput) (req *request.Request, output *CreateGameSessionQueueOutput) { @@ -1222,11 +1221,11 @@ func (c *GameLift) CreateGameSessionQueueRequest(input *CreateGameSessionQueueIn // // Learn more // -// Design a game session queue (https://docs.aws.amazon.com/gamelift/latest/developerguide/queues-design.html) +// Design a game session queue (https://docs.aws.amazon.com/gamelift/latest/developerguide/queues-design.html) // -// Create a game session queue (https://docs.aws.amazon.com/gamelift/latest/developerguide/queues-creating.html) +// Create a game session queue (https://docs.aws.amazon.com/gamelift/latest/developerguide/queues-creating.html) // -// Related actions +// # Related actions // // CreateGameSessionQueue (https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateGameSessionQueue.html) // | DescribeGameSessionQueues (https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessionQueues.html) @@ -1242,30 +1241,31 @@ func (c *GameLift) CreateGameSessionQueueRequest(input *CreateGameSessionQueueIn // API operation CreateGameSessionQueue for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * LimitExceededException -// The requested operation would cause the resource to exceed the allowed service -// limit. Resolve the issue before retrying. +// - LimitExceededException +// The requested operation would cause the resource to exceed the allowed service +// limit. Resolve the issue before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateGameSessionQueue func (c *GameLift) CreateGameSessionQueue(input *CreateGameSessionQueueInput) (*CreateGameSessionQueueOutput, error) { @@ -1305,14 +1305,13 @@ const opCreateMatchmakingConfiguration = "CreateMatchmakingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMatchmakingConfigurationRequest method. +// req, resp := client.CreateMatchmakingConfigurationRequest(params) // -// // Example sending a request using the CreateMatchmakingConfigurationRequest method. -// req, resp := client.CreateMatchmakingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateMatchmakingConfiguration func (c *GameLift) CreateMatchmakingConfigurationRequest(input *CreateMatchmakingConfigurationInput) (req *request.Request, output *CreateMatchmakingConfigurationOutput) { @@ -1357,11 +1356,11 @@ func (c *GameLift) CreateMatchmakingConfigurationRequest(input *CreateMatchmakin // // Learn more // -// Design a FlexMatch matchmaker (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-configuration.html) +// Design a FlexMatch matchmaker (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-configuration.html) // -// Set up FlexMatch event notification (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-notification.html) +// Set up FlexMatch event notification (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-notification.html) // -// Related actions +// # Related actions // // CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration // | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets @@ -1376,30 +1375,31 @@ func (c *GameLift) CreateMatchmakingConfigurationRequest(input *CreateMatchmakin // API operation CreateMatchmakingConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * LimitExceededException -// The requested operation would cause the resource to exceed the allowed service -// limit. Resolve the issue before retrying. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - LimitExceededException +// The requested operation would cause the resource to exceed the allowed service +// limit. Resolve the issue before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateMatchmakingConfiguration func (c *GameLift) CreateMatchmakingConfiguration(input *CreateMatchmakingConfigurationInput) (*CreateMatchmakingConfigurationOutput, error) { @@ -1439,14 +1439,13 @@ const opCreateMatchmakingRuleSet = "CreateMatchmakingRuleSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMatchmakingRuleSetRequest method. +// req, resp := client.CreateMatchmakingRuleSetRequest(params) // -// // Example sending a request using the CreateMatchmakingRuleSetRequest method. -// req, resp := client.CreateMatchmakingRuleSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateMatchmakingRuleSet func (c *GameLift) CreateMatchmakingRuleSetRequest(input *CreateMatchmakingRuleSetInput) (req *request.Request, output *CreateMatchmakingRuleSetOutput) { @@ -1482,13 +1481,13 @@ func (c *GameLift) CreateMatchmakingRuleSetRequest(input *CreateMatchmakingRuleS // // Learn more // -// * Build a rule set (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-rulesets.html) +// - Build a rule set (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-rulesets.html) // -// * Design a matchmaker (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-configuration.html) +// - Design a matchmaker (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-configuration.html) // -// * Matchmaking with FlexMatch (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-intro.html) +// - Matchmaking with FlexMatch (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-intro.html) // -// Related actions +// # Related actions // // CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration // | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets @@ -1503,22 +1502,23 @@ func (c *GameLift) CreateMatchmakingRuleSetRequest(input *CreateMatchmakingRuleS // API operation CreateMatchmakingRuleSet for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateMatchmakingRuleSet func (c *GameLift) CreateMatchmakingRuleSet(input *CreateMatchmakingRuleSetInput) (*CreateMatchmakingRuleSetOutput, error) { @@ -1558,14 +1558,13 @@ const opCreatePlayerSession = "CreatePlayerSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePlayerSessionRequest method. +// req, resp := client.CreatePlayerSessionRequest(params) // -// // Example sending a request using the CreatePlayerSessionRequest method. -// req, resp := client.CreatePlayerSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreatePlayerSession func (c *GameLift) CreatePlayerSessionRequest(input *CreatePlayerSessionInput) (req *request.Request, output *CreatePlayerSessionOutput) { @@ -1604,7 +1603,7 @@ func (c *GameLift) CreatePlayerSessionRequest(input *CreatePlayerSessionInput) ( // // Available in Amazon GameLift Local. // -// Related actions +// # Related actions // // CreatePlayerSession | CreatePlayerSessions | DescribePlayerSessions | StartGameSessionPlacement // | DescribeGameSessionPlacement | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -1617,37 +1616,38 @@ func (c *GameLift) CreatePlayerSessionRequest(input *CreatePlayerSessionInput) ( // API operation CreatePlayerSession for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. -// -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. -// -// * InvalidGameSessionStatusException -// The requested operation would cause a conflict with the current state of -// a resource associated with the request and/or the game instance. Resolve -// the conflict before retrying. -// -// * GameSessionFullException -// The game instance is currently full and cannot allow the requested player(s) -// to join. Clients can retry such requests immediately or after a waiting period. -// -// * TerminalRoutingStrategyException -// The service is unable to resolve the routing for a particular alias because -// it has a terminal RoutingStrategy associated with it. The message returned -// in this exception is the message defined in the routing strategy itself. -// Such requests should only be retried if the routing strategy for the specified -// alias is modified. -// -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. -// -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidGameSessionStatusException +// The requested operation would cause a conflict with the current state of +// a resource associated with the request and/or the game instance. Resolve +// the conflict before retrying. +// +// - GameSessionFullException +// The game instance is currently full and cannot allow the requested player(s) +// to join. Clients can retry such requests immediately or after a waiting period. +// +// - TerminalRoutingStrategyException +// The service is unable to resolve the routing for a particular alias because +// it has a terminal RoutingStrategy associated with it. The message returned +// in this exception is the message defined in the routing strategy itself. +// Such requests should only be retried if the routing strategy for the specified +// alias is modified. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreatePlayerSession func (c *GameLift) CreatePlayerSession(input *CreatePlayerSessionInput) (*CreatePlayerSessionOutput, error) { @@ -1687,14 +1687,13 @@ const opCreatePlayerSessions = "CreatePlayerSessions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePlayerSessionsRequest method. +// req, resp := client.CreatePlayerSessionsRequest(params) // -// // Example sending a request using the CreatePlayerSessionsRequest method. -// req, resp := client.CreatePlayerSessionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreatePlayerSessions func (c *GameLift) CreatePlayerSessionsRequest(input *CreatePlayerSessionsInput) (req *request.Request, output *CreatePlayerSessionsOutput) { @@ -1733,7 +1732,7 @@ func (c *GameLift) CreatePlayerSessionsRequest(input *CreatePlayerSessionsInput) // // Available in Amazon GameLift Local. // -// Related actions +// # Related actions // // CreatePlayerSession | CreatePlayerSessions | DescribePlayerSessions | StartGameSessionPlacement // | DescribeGameSessionPlacement | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -1746,37 +1745,38 @@ func (c *GameLift) CreatePlayerSessionsRequest(input *CreatePlayerSessionsInput) // API operation CreatePlayerSessions for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. -// -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. -// -// * InvalidGameSessionStatusException -// The requested operation would cause a conflict with the current state of -// a resource associated with the request and/or the game instance. Resolve -// the conflict before retrying. -// -// * GameSessionFullException -// The game instance is currently full and cannot allow the requested player(s) -// to join. Clients can retry such requests immediately or after a waiting period. -// -// * TerminalRoutingStrategyException -// The service is unable to resolve the routing for a particular alias because -// it has a terminal RoutingStrategy associated with it. The message returned -// in this exception is the message defined in the routing strategy itself. -// Such requests should only be retried if the routing strategy for the specified -// alias is modified. -// -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. -// -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidGameSessionStatusException +// The requested operation would cause a conflict with the current state of +// a resource associated with the request and/or the game instance. Resolve +// the conflict before retrying. +// +// - GameSessionFullException +// The game instance is currently full and cannot allow the requested player(s) +// to join. Clients can retry such requests immediately or after a waiting period. +// +// - TerminalRoutingStrategyException +// The service is unable to resolve the routing for a particular alias because +// it has a terminal RoutingStrategy associated with it. The message returned +// in this exception is the message defined in the routing strategy itself. +// Such requests should only be retried if the routing strategy for the specified +// alias is modified. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreatePlayerSessions func (c *GameLift) CreatePlayerSessions(input *CreatePlayerSessionsInput) (*CreatePlayerSessionsOutput, error) { @@ -1816,14 +1816,13 @@ const opCreateScript = "CreateScript" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateScriptRequest method. +// req, resp := client.CreateScriptRequest(params) // -// // Example sending a request using the CreateScriptRequest method. -// req, resp := client.CreateScriptRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateScript func (c *GameLift) CreateScriptRequest(input *CreateScriptInput) (req *request.Request, output *CreateScriptOutput) { @@ -1854,12 +1853,12 @@ func (c *GameLift) CreateScriptRequest(input *CreateScriptInput) (req *request.R // file(s). The script files and all dependencies must be zipped into a single // file. You can pull the zip file from either of these locations: // -// * A locally available directory. Use the ZipFile parameter for this option. +// - A locally available directory. Use the ZipFile parameter for this option. // -// * An Amazon Simple Storage Service (Amazon S3) bucket under your Amazon -// Web Services account. Use the StorageLocation parameter for this option. -// You'll need to have an Identity Access Management (IAM) role that allows -// the Amazon GameLift service to access your S3 bucket. +// - An Amazon Simple Storage Service (Amazon S3) bucket under your Amazon +// Web Services account. Use the StorageLocation parameter for this option. +// You'll need to have an Identity Access Management (IAM) role that allows +// the Amazon GameLift service to access your S3 bucket. // // If the call is successful, a new script record is created with a unique script // ID. If the script file is provided as a local file, the file is uploaded @@ -1867,13 +1866,13 @@ func (c *GameLift) CreateScriptRequest(input *CreateScriptInput) (req *request.R // reflects this location. If the script file is provided as an S3 bucket, Amazon // GameLift accesses the file at this storage location as needed for deployment. // -// Learn more +// # Learn more // // Amazon GameLift Realtime Servers (https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-intro.html) // // Set Up a Role for Amazon GameLift Access (https://docs.aws.amazon.com/gamelift/latest/developerguide/setting-up-role.html) // -// Related actions +// # Related actions // // CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript // | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -1886,27 +1885,28 @@ func (c *GameLift) CreateScriptRequest(input *CreateScriptInput) (req *request.R // API operation CreateScript for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateScript func (c *GameLift) CreateScript(input *CreateScriptInput) (*CreateScriptOutput, error) { @@ -1946,14 +1946,13 @@ const opCreateVpcPeeringAuthorization = "CreateVpcPeeringAuthorization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVpcPeeringAuthorizationRequest method. +// req, resp := client.CreateVpcPeeringAuthorizationRequest(params) // -// // Example sending a request using the CreateVpcPeeringAuthorizationRequest method. -// req, resp := client.CreateVpcPeeringAuthorizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateVpcPeeringAuthorization func (c *GameLift) CreateVpcPeeringAuthorizationRequest(input *CreateVpcPeeringAuthorizationInput) (req *request.Request, output *CreateVpcPeeringAuthorizationOutput) { @@ -2005,7 +2004,7 @@ func (c *GameLift) CreateVpcPeeringAuthorizationRequest(input *CreateVpcPeeringA // to DeleteVpcPeeringAuthorization. You must create or delete the peering connection // while the authorization is valid. // -// Related actions +// # Related actions // // CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization // | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection @@ -2019,21 +2018,22 @@ func (c *GameLift) CreateVpcPeeringAuthorizationRequest(input *CreateVpcPeeringA // API operation CreateVpcPeeringAuthorization for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateVpcPeeringAuthorization func (c *GameLift) CreateVpcPeeringAuthorization(input *CreateVpcPeeringAuthorizationInput) (*CreateVpcPeeringAuthorizationOutput, error) { @@ -2073,14 +2073,13 @@ const opCreateVpcPeeringConnection = "CreateVpcPeeringConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVpcPeeringConnectionRequest method. +// req, resp := client.CreateVpcPeeringConnectionRequest(params) // -// // Example sending a request using the CreateVpcPeeringConnectionRequest method. -// req, resp := client.CreateVpcPeeringConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateVpcPeeringConnection func (c *GameLift) CreateVpcPeeringConnectionRequest(input *CreateVpcPeeringConnectionInput) (req *request.Request, output *CreateVpcPeeringConnectionOutput) { @@ -2127,7 +2126,7 @@ func (c *GameLift) CreateVpcPeeringConnectionRequest(input *CreateVpcPeeringConn // can use continuous polling to track the request's status using DescribeVpcPeeringConnections, // or by monitoring fleet events for success or failure using DescribeFleetEvents. // -// Related actions +// # Related actions // // CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization // | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection @@ -2141,21 +2140,22 @@ func (c *GameLift) CreateVpcPeeringConnectionRequest(input *CreateVpcPeeringConn // API operation CreateVpcPeeringConnection for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/CreateVpcPeeringConnection func (c *GameLift) CreateVpcPeeringConnection(input *CreateVpcPeeringConnectionInput) (*CreateVpcPeeringConnectionOutput, error) { @@ -2195,14 +2195,13 @@ const opDeleteAlias = "DeleteAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAliasRequest method. +// req, resp := client.DeleteAliasRequest(params) // -// // Example sending a request using the DeleteAliasRequest method. -// req, resp := client.DeleteAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteAlias func (c *GameLift) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Request, output *DeleteAliasOutput) { @@ -2228,7 +2227,7 @@ func (c *GameLift) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Req // attempting to access a server process using the deleted alias receive an // error. To delete an alias, specify the alias ID to be deleted. // -// Related actions +// # Related actions // // CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias // | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -2241,26 +2240,27 @@ func (c *GameLift) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Req // API operation DeleteAlias for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteAlias func (c *GameLift) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error) { @@ -2300,14 +2300,13 @@ const opDeleteBuild = "DeleteBuild" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBuildRequest method. +// req, resp := client.DeleteBuildRequest(params) // -// // Example sending a request using the DeleteBuildRequest method. -// req, resp := client.DeleteBuildRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteBuild func (c *GameLift) DeleteBuildRequest(input *DeleteBuildInput) (req *request.Request, output *DeleteBuildOutput) { @@ -2338,9 +2337,9 @@ func (c *GameLift) DeleteBuildRequest(input *DeleteBuildInput) (req *request.Req // // Learn more // -// Upload a Custom Server Build (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-intro.html) +// Upload a Custom Server Build (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-intro.html) // -// Related actions +// # Related actions // // CreateBuild | ListBuilds | DescribeBuild | UpdateBuild | DeleteBuild | All // APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -2353,26 +2352,27 @@ func (c *GameLift) DeleteBuildRequest(input *DeleteBuildInput) (req *request.Req // API operation DeleteBuild for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteBuild func (c *GameLift) DeleteBuild(input *DeleteBuildInput) (*DeleteBuildOutput, error) { @@ -2412,14 +2412,13 @@ const opDeleteFleet = "DeleteFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFleetRequest method. +// req, resp := client.DeleteFleetRequest(params) // -// // Example sending a request using the DeleteFleetRequest method. -// req, resp := client.DeleteFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteFleet func (c *GameLift) DeleteFleetRequest(input *DeleteFleetInput) (req *request.Request, output *DeleteFleetOutput) { @@ -2454,11 +2453,11 @@ func (c *GameLift) DeleteFleetRequest(input *DeleteFleetInput) (req *request.Req // process the fleet status is changed to DELETING. When completed, the status // switches to TERMINATED and the fleet event FLEET_DELETED is sent. // -// Learn more +// # Learn more // // Setting up GameLift Fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // -// Related actions +// # Related actions // // CreateFleetLocations | UpdateFleetAttributes | UpdateFleetCapacity | UpdateFleetPortSettings // | UpdateRuntimeConfiguration | StopFleetActions | StartFleetActions | PutScalingPolicy @@ -2473,31 +2472,32 @@ func (c *GameLift) DeleteFleetRequest(input *DeleteFleetInput) (req *request.Req // API operation DeleteFleet for usage and error information. // // Returned Error Types: -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InvalidFleetStatusException -// The requested operation would cause a conflict with the current state of -// a resource associated with the request and/or the fleet. Resolve the conflict -// before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - InvalidFleetStatusException +// The requested operation would cause a conflict with the current state of +// a resource associated with the request and/or the fleet. Resolve the conflict +// before retrying. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteFleet func (c *GameLift) DeleteFleet(input *DeleteFleetInput) (*DeleteFleetOutput, error) { @@ -2537,14 +2537,13 @@ const opDeleteFleetLocations = "DeleteFleetLocations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFleetLocationsRequest method. +// req, resp := client.DeleteFleetLocationsRequest(params) // -// // Example sending a request using the DeleteFleetLocationsRequest method. -// req, resp := client.DeleteFleetLocationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteFleetLocations func (c *GameLift) DeleteFleetLocationsRequest(input *DeleteFleetLocationsInput) (req *request.Request, output *DeleteFleetLocationsOutput) { @@ -2576,11 +2575,11 @@ func (c *GameLift) DeleteFleetLocationsRequest(input *DeleteFleetLocationsInput) // to shut down existing server processes and terminate instances in each location // being deleted. When completed, the location status changes to TERMINATED. // -// Learn more +// # Learn more // // Setting up GameLift fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // -// Related actions +// # Related actions // // CreateFleetLocations | DescribeFleetLocationAttributes | DescribeFleetLocationCapacity // | DescribeFleetLocationUtilization | DescribeFleetAttributes | DescribeFleetCapacity @@ -2595,24 +2594,25 @@ func (c *GameLift) DeleteFleetLocationsRequest(input *DeleteFleetLocationsInput) // API operation DeleteFleetLocations for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteFleetLocations func (c *GameLift) DeleteFleetLocations(input *DeleteFleetLocationsInput) (*DeleteFleetLocationsOutput, error) { @@ -2652,14 +2652,13 @@ const opDeleteGameServerGroup = "DeleteGameServerGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGameServerGroupRequest method. +// req, resp := client.DeleteGameServerGroupRequest(params) // -// // Example sending a request using the DeleteGameServerGroupRequest method. -// req, resp := client.DeleteGameServerGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteGameServerGroup func (c *GameLift) DeleteGameServerGroupRequest(input *DeleteGameServerGroupInput) (req *request.Request, output *DeleteGameServerGroupOutput) { @@ -2688,11 +2687,11 @@ func (c *GameLift) DeleteGameServerGroupRequest(input *DeleteGameServerGroupInpu // deleting the game server group. Depending on the type of delete operation // selected, this operation might affect these resources: // -// * The game server group +// - The game server group // -// * The corresponding Auto Scaling group +// - The corresponding Auto Scaling group // -// * All game servers that are currently running in the group +// - All game servers that are currently running in the group // // To delete a game server group, identify the game server group to delete and // specify the type of delete operation to initiate. Game server groups can @@ -2707,11 +2706,11 @@ func (c *GameLift) DeleteGameServerGroupRequest(input *DeleteGameServerGroupInpu // // GameLift FleetIQ emits delete events to Amazon CloudWatch. // -// Learn more +// # Learn more // // GameLift FleetIQ Guide (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html) // -// Related actions +// # Related actions // // CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | // UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup @@ -2725,21 +2724,22 @@ func (c *GameLift) DeleteGameServerGroupRequest(input *DeleteGameServerGroupInpu // API operation DeleteGameServerGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteGameServerGroup func (c *GameLift) DeleteGameServerGroup(input *DeleteGameServerGroupInput) (*DeleteGameServerGroupOutput, error) { @@ -2779,14 +2779,13 @@ const opDeleteGameSessionQueue = "DeleteGameSessionQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGameSessionQueueRequest method. +// req, resp := client.DeleteGameSessionQueueRequest(params) // -// // Example sending a request using the DeleteGameSessionQueueRequest method. -// req, resp := client.DeleteGameSessionQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteGameSessionQueue func (c *GameLift) DeleteGameSessionQueueRequest(input *DeleteGameSessionQueueInput) (req *request.Request, output *DeleteGameSessionQueueOutput) { @@ -2815,9 +2814,9 @@ func (c *GameLift) DeleteGameSessionQueueRequest(input *DeleteGameSessionQueueIn // // Learn more // -// Using Multi-Region Queues (https://docs.aws.amazon.com/gamelift/latest/developerguide/queues-intro.html) +// Using Multi-Region Queues (https://docs.aws.amazon.com/gamelift/latest/developerguide/queues-intro.html) // -// Related actions +// # Related actions // // CreateGameSessionQueue (https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateGameSessionQueue.html) // | DescribeGameSessionQueues (https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessionQueues.html) @@ -2833,26 +2832,27 @@ func (c *GameLift) DeleteGameSessionQueueRequest(input *DeleteGameSessionQueueIn // API operation DeleteGameSessionQueue for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteGameSessionQueue func (c *GameLift) DeleteGameSessionQueue(input *DeleteGameSessionQueueInput) (*DeleteGameSessionQueueOutput, error) { @@ -2892,14 +2892,13 @@ const opDeleteMatchmakingConfiguration = "DeleteMatchmakingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMatchmakingConfigurationRequest method. +// req, resp := client.DeleteMatchmakingConfigurationRequest(params) // -// // Example sending a request using the DeleteMatchmakingConfigurationRequest method. -// req, resp := client.DeleteMatchmakingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteMatchmakingConfiguration func (c *GameLift) DeleteMatchmakingConfigurationRequest(input *DeleteMatchmakingConfigurationInput) (req *request.Request, output *DeleteMatchmakingConfigurationOutput) { @@ -2925,7 +2924,7 @@ func (c *GameLift) DeleteMatchmakingConfigurationRequest(input *DeleteMatchmakin // the configuration name. A matchmaking configuration cannot be deleted if // it is being used in any active matchmaking tickets. // -// Related actions +// # Related actions // // CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration // | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets @@ -2940,26 +2939,27 @@ func (c *GameLift) DeleteMatchmakingConfigurationRequest(input *DeleteMatchmakin // API operation DeleteMatchmakingConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteMatchmakingConfiguration func (c *GameLift) DeleteMatchmakingConfiguration(input *DeleteMatchmakingConfigurationInput) (*DeleteMatchmakingConfigurationOutput, error) { @@ -2999,14 +2999,13 @@ const opDeleteMatchmakingRuleSet = "DeleteMatchmakingRuleSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMatchmakingRuleSetRequest method. +// req, resp := client.DeleteMatchmakingRuleSetRequest(params) // -// // Example sending a request using the DeleteMatchmakingRuleSetRequest method. -// req, resp := client.DeleteMatchmakingRuleSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteMatchmakingRuleSet func (c *GameLift) DeleteMatchmakingRuleSetRequest(input *DeleteMatchmakingRuleSetInput) (req *request.Request, output *DeleteMatchmakingRuleSetOutput) { @@ -3034,9 +3033,9 @@ func (c *GameLift) DeleteMatchmakingRuleSetRequest(input *DeleteMatchmakingRuleS // // Learn more // -// * Build a rule set (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-rulesets.html) +// - Build a rule set (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-rulesets.html) // -// Related actions +// # Related actions // // CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration // | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets @@ -3051,26 +3050,27 @@ func (c *GameLift) DeleteMatchmakingRuleSetRequest(input *DeleteMatchmakingRuleS // API operation DeleteMatchmakingRuleSet for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteMatchmakingRuleSet func (c *GameLift) DeleteMatchmakingRuleSet(input *DeleteMatchmakingRuleSetInput) (*DeleteMatchmakingRuleSetOutput, error) { @@ -3110,14 +3110,13 @@ const opDeleteScalingPolicy = "DeleteScalingPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteScalingPolicyRequest method. +// req, resp := client.DeleteScalingPolicyRequest(params) // -// // Example sending a request using the DeleteScalingPolicyRequest method. -// req, resp := client.DeleteScalingPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteScalingPolicy func (c *GameLift) DeleteScalingPolicyRequest(input *DeleteScalingPolicyInput) (req *request.Request, output *DeleteScalingPolicyOutput) { @@ -3146,7 +3145,7 @@ func (c *GameLift) DeleteScalingPolicyRequest(input *DeleteScalingPolicyInput) ( // To temporarily suspend scaling policies, call StopFleetActions. This operation // suspends all policies for the fleet. // -// Related actions +// # Related actions // // DescribeFleetCapacity | UpdateFleetCapacity | DescribeEC2InstanceLimits | // PutScalingPolicy | DescribeScalingPolicies | DeleteScalingPolicy | StopFleetActions @@ -3160,21 +3159,22 @@ func (c *GameLift) DeleteScalingPolicyRequest(input *DeleteScalingPolicyInput) ( // API operation DeleteScalingPolicy for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteScalingPolicy func (c *GameLift) DeleteScalingPolicy(input *DeleteScalingPolicyInput) (*DeleteScalingPolicyOutput, error) { @@ -3214,14 +3214,13 @@ const opDeleteScript = "DeleteScript" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteScriptRequest method. +// req, resp := client.DeleteScriptRequest(params) // -// // Example sending a request using the DeleteScriptRequest method. -// req, resp := client.DeleteScriptRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteScript func (c *GameLift) DeleteScriptRequest(input *DeleteScriptInput) (req *request.Request, output *DeleteScriptOutput) { @@ -3253,11 +3252,11 @@ func (c *GameLift) DeleteScriptRequest(input *DeleteScriptInput) (req *request.R // record no longer exists, the instance will go into an error state and be // unable to host game sessions. // -// Learn more +// # Learn more // // Amazon GameLift Realtime Servers (https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-intro.html) // -// Related actions +// # Related actions // // CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript // | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -3270,26 +3269,27 @@ func (c *GameLift) DeleteScriptRequest(input *DeleteScriptInput) (req *request.R // API operation DeleteScript for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteScript func (c *GameLift) DeleteScript(input *DeleteScriptInput) (*DeleteScriptOutput, error) { @@ -3329,14 +3329,13 @@ const opDeleteVpcPeeringAuthorization = "DeleteVpcPeeringAuthorization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVpcPeeringAuthorizationRequest method. +// req, resp := client.DeleteVpcPeeringAuthorizationRequest(params) // -// // Example sending a request using the DeleteVpcPeeringAuthorizationRequest method. -// req, resp := client.DeleteVpcPeeringAuthorizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteVpcPeeringAuthorization func (c *GameLift) DeleteVpcPeeringAuthorizationRequest(input *DeleteVpcPeeringAuthorizationInput) (req *request.Request, output *DeleteVpcPeeringAuthorizationOutput) { @@ -3361,7 +3360,7 @@ func (c *GameLift) DeleteVpcPeeringAuthorizationRequest(input *DeleteVpcPeeringA // Cancels a pending VPC peering authorization for the specified VPC. If you // need to delete an existing VPC peering connection, call DeleteVpcPeeringConnection. // -// Related actions +// # Related actions // // CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization // | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection @@ -3375,21 +3374,22 @@ func (c *GameLift) DeleteVpcPeeringAuthorizationRequest(input *DeleteVpcPeeringA // API operation DeleteVpcPeeringAuthorization for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteVpcPeeringAuthorization func (c *GameLift) DeleteVpcPeeringAuthorization(input *DeleteVpcPeeringAuthorizationInput) (*DeleteVpcPeeringAuthorizationOutput, error) { @@ -3429,14 +3429,13 @@ const opDeleteVpcPeeringConnection = "DeleteVpcPeeringConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVpcPeeringConnectionRequest method. +// req, resp := client.DeleteVpcPeeringConnectionRequest(params) // -// // Example sending a request using the DeleteVpcPeeringConnectionRequest method. -// req, resp := client.DeleteVpcPeeringConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteVpcPeeringConnection func (c *GameLift) DeleteVpcPeeringConnectionRequest(input *DeleteVpcPeeringConnectionInput) (req *request.Request, output *DeleteVpcPeeringConnectionOutput) { @@ -3468,7 +3467,7 @@ func (c *GameLift) DeleteVpcPeeringConnectionRequest(input *DeleteVpcPeeringConn // the connection to delete by the connection ID and fleet ID. If successful, // the connection is removed. // -// Related actions +// # Related actions // // CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization // | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection @@ -3482,21 +3481,22 @@ func (c *GameLift) DeleteVpcPeeringConnectionRequest(input *DeleteVpcPeeringConn // API operation DeleteVpcPeeringConnection for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeleteVpcPeeringConnection func (c *GameLift) DeleteVpcPeeringConnection(input *DeleteVpcPeeringConnectionInput) (*DeleteVpcPeeringConnectionOutput, error) { @@ -3536,14 +3536,13 @@ const opDeregisterGameServer = "DeregisterGameServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterGameServerRequest method. +// req, resp := client.DeregisterGameServerRequest(params) // -// // Example sending a request using the DeregisterGameServerRequest method. -// req, resp := client.DeregisterGameServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeregisterGameServer func (c *GameLift) DeregisterGameServerRequest(input *DeregisterGameServerInput) (req *request.Request, output *DeregisterGameServerOutput) { @@ -3576,11 +3575,11 @@ func (c *GameLift) DeregisterGameServerRequest(input *DeregisterGameServerInput) // ID. If successful, this operation emits a CloudWatch event with termination // timestamp and reason. // -// Learn more +// # Learn more // // GameLift FleetIQ Guide (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html) // -// Related actions +// # Related actions // // RegisterGameServer | ListGameServers | ClaimGameServer | DescribeGameServer // | UpdateGameServer | DeregisterGameServer | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/reference-awssdk-fleetiq.html) @@ -3593,21 +3592,22 @@ func (c *GameLift) DeregisterGameServerRequest(input *DeregisterGameServerInput) // API operation DeregisterGameServer for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DeregisterGameServer func (c *GameLift) DeregisterGameServer(input *DeregisterGameServerInput) (*DeregisterGameServerOutput, error) { @@ -3647,14 +3647,13 @@ const opDescribeAlias = "DescribeAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAliasRequest method. +// req, resp := client.DescribeAliasRequest(params) // -// // Example sending a request using the DescribeAliasRequest method. -// req, resp := client.DescribeAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeAlias func (c *GameLift) DescribeAliasRequest(input *DescribeAliasInput) (req *request.Request, output *DescribeAliasOutput) { @@ -3681,7 +3680,7 @@ func (c *GameLift) DescribeAliasRequest(input *DescribeAliasInput) (req *request // To get alias properties, specify the alias ID. If successful, the requested // alias record is returned. // -// Related actions +// # Related actions // // CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias // | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -3694,21 +3693,22 @@ func (c *GameLift) DescribeAliasRequest(input *DescribeAliasInput) (req *request // API operation DescribeAlias for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeAlias func (c *GameLift) DescribeAlias(input *DescribeAliasInput) (*DescribeAliasOutput, error) { @@ -3748,14 +3748,13 @@ const opDescribeBuild = "DescribeBuild" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBuildRequest method. +// req, resp := client.DescribeBuildRequest(params) // -// // Example sending a request using the DescribeBuildRequest method. -// req, resp := client.DescribeBuildRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeBuild func (c *GameLift) DescribeBuildRequest(input *DescribeBuildInput) (req *request.Request, output *DescribeBuildOutput) { @@ -3782,9 +3781,9 @@ func (c *GameLift) DescribeBuildRequest(input *DescribeBuildInput) (req *request // // Learn more // -// Upload a Custom Server Build (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-intro.html) +// Upload a Custom Server Build (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-intro.html) // -// Related actions +// # Related actions // // CreateBuild | ListBuilds | DescribeBuild | UpdateBuild | DeleteBuild | All // APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -3797,21 +3796,22 @@ func (c *GameLift) DescribeBuildRequest(input *DescribeBuildInput) (req *request // API operation DescribeBuild for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeBuild func (c *GameLift) DescribeBuild(input *DescribeBuildInput) (*DescribeBuildOutput, error) { @@ -3851,14 +3851,13 @@ const opDescribeEC2InstanceLimits = "DescribeEC2InstanceLimits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEC2InstanceLimitsRequest method. +// req, resp := client.DescribeEC2InstanceLimitsRequest(params) // -// // Example sending a request using the DescribeEC2InstanceLimitsRequest method. -// req, resp := client.DescribeEC2InstanceLimitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeEC2InstanceLimits func (c *GameLift) DescribeEC2InstanceLimitsRequest(input *DescribeEC2InstanceLimitsInput) (req *request.Request, output *DescribeEC2InstanceLimitsOutput) { @@ -3897,40 +3896,40 @@ func (c *GameLift) DescribeEC2InstanceLimitsRequest(input *DescribeEC2InstanceLi // specify the location. For example, the following requests all return different // results: // -// * Request specifies the Region ap-northeast-1 with no location. The result -// is limits and usage data on all instance types that are deployed in us-east-2, -// by all of the fleets that reside in ap-northeast-1. +// - Request specifies the Region ap-northeast-1 with no location. The result +// is limits and usage data on all instance types that are deployed in us-east-2, +// by all of the fleets that reside in ap-northeast-1. // -// * Request specifies the Region us-east-1 with location ca-central-1. The -// result is limits and usage data on all instance types that are deployed -// in ca-central-1, by all of the fleets that reside in us-east-2. These -// limits do not affect fleets in any other Regions that deploy instances -// to ca-central-1. +// - Request specifies the Region us-east-1 with location ca-central-1. The +// result is limits and usage data on all instance types that are deployed +// in ca-central-1, by all of the fleets that reside in us-east-2. These +// limits do not affect fleets in any other Regions that deploy instances +// to ca-central-1. // -// * Request specifies the Region eu-west-1 with location ca-central-1. The -// result is limits and usage data on all instance types that are deployed -// in ca-central-1, by all of the fleets that reside in eu-west-1. +// - Request specifies the Region eu-west-1 with location ca-central-1. The +// result is limits and usage data on all instance types that are deployed +// in ca-central-1, by all of the fleets that reside in eu-west-1. // // This operation can be used in the following ways: // -// * To get limit and usage data for all instance types that are deployed -// in an Amazon Web Services Region by fleets that reside in the same Region: -// Specify the Region only. Optionally, specify a single instance type to -// retrieve information for. +// - To get limit and usage data for all instance types that are deployed +// in an Amazon Web Services Region by fleets that reside in the same Region: +// Specify the Region only. Optionally, specify a single instance type to +// retrieve information for. // -// * To get limit and usage data for all instance types that are deployed -// to a remote location by fleets that reside in different Amazon Web Services -// Region: Provide both the Amazon Web Services Region and the remote location. -// Optionally, specify a single instance type to retrieve information for. +// - To get limit and usage data for all instance types that are deployed +// to a remote location by fleets that reside in different Amazon Web Services +// Region: Provide both the Amazon Web Services Region and the remote location. +// Optionally, specify a single instance type to retrieve information for. // // If successful, an EC2InstanceLimits object is returned with limits and usage // data for each requested instance type. // -// Learn more +// # Learn more // // Setting up GameLift fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // -// Related actions +// # Related actions // // CreateFleet | UpdateFleetCapacity | PutScalingPolicy | DescribeEC2InstanceLimits // | DescribeFleetAttributes | DescribeFleetLocationAttributes | UpdateFleetAttributes @@ -3944,20 +3943,21 @@ func (c *GameLift) DescribeEC2InstanceLimitsRequest(input *DescribeEC2InstanceLi // API operation DescribeEC2InstanceLimits for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeEC2InstanceLimits func (c *GameLift) DescribeEC2InstanceLimits(input *DescribeEC2InstanceLimitsInput) (*DescribeEC2InstanceLimitsOutput, error) { @@ -3997,14 +3997,13 @@ const opDescribeFleetAttributes = "DescribeFleetAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFleetAttributesRequest method. +// req, resp := client.DescribeFleetAttributesRequest(params) // -// // Example sending a request using the DescribeFleetAttributesRequest method. -// req, resp := client.DescribeFleetAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetAttributes func (c *GameLift) DescribeFleetAttributesRequest(input *DescribeFleetAttributesInput) (req *request.Request, output *DescribeFleetAttributesOutput) { @@ -4036,10 +4035,10 @@ func (c *GameLift) DescribeFleetAttributesRequest(input *DescribeFleetAttributes // // This operation can be used in the following ways: // -// * To get attributes for one or more specific fleets, provide a list of -// fleet IDs or fleet ARNs. +// - To get attributes for one or more specific fleets, provide a list of +// fleet IDs or fleet ARNs. // -// * To get attributes for all fleets, do not provide a fleet identifier. +// - To get attributes for all fleets, do not provide a fleet identifier. // // When requesting attributes for multiple fleets, use the pagination parameters // to retrieve results as a set of sequential pages. @@ -4051,11 +4050,11 @@ func (c *GameLift) DescribeFleetAttributesRequest(input *DescribeFleetAttributes // If a request exceeds this limit, the request fails and the error message // contains the maximum allowed number. // -// Learn more +// # Learn more // // Setting up GameLift fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // -// Related actions +// # Related actions // // ListFleets | DescribeEC2InstanceLimits | DescribeFleetAttributes | DescribeFleetCapacity // | DescribeFleetEvents | DescribeFleetLocationAttributes | DescribeFleetPortSettings @@ -4070,21 +4069,22 @@ func (c *GameLift) DescribeFleetAttributesRequest(input *DescribeFleetAttributes // API operation DescribeFleetAttributes for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetAttributes func (c *GameLift) DescribeFleetAttributes(input *DescribeFleetAttributesInput) (*DescribeFleetAttributesOutput, error) { @@ -4116,15 +4116,14 @@ func (c *GameLift) DescribeFleetAttributesWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeFleetAttributes operation. -// pageNum := 0 -// err := client.DescribeFleetAttributesPages(params, -// func(page *gamelift.DescribeFleetAttributesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeFleetAttributes operation. +// pageNum := 0 +// err := client.DescribeFleetAttributesPages(params, +// func(page *gamelift.DescribeFleetAttributesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) DescribeFleetAttributesPages(input *DescribeFleetAttributesInput, fn func(*DescribeFleetAttributesOutput, bool) bool) error { return c.DescribeFleetAttributesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4176,14 +4175,13 @@ const opDescribeFleetCapacity = "DescribeFleetCapacity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFleetCapacityRequest method. +// req, resp := client.DescribeFleetCapacityRequest(params) // -// // Example sending a request using the DescribeFleetCapacityRequest method. -// req, resp := client.DescribeFleetCapacityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetCapacity func (c *GameLift) DescribeFleetCapacityRequest(input *DescribeFleetCapacityInput) (req *request.Request, output *DescribeFleetCapacityOutput) { @@ -4218,10 +4216,10 @@ func (c *GameLift) DescribeFleetCapacityRequest(input *DescribeFleetCapacityInpu // // This operation can be used in the following ways: // -// * To get capacity data for one or more specific fleets, provide a list -// of fleet IDs or fleet ARNs. +// - To get capacity data for one or more specific fleets, provide a list +// of fleet IDs or fleet ARNs. // -// * To get capacity data for all fleets, do not provide a fleet identifier. +// - To get capacity data for all fleets, do not provide a fleet identifier. // // When requesting multiple fleets, use the pagination parameters to retrieve // results as a set of sequential pages. @@ -4235,13 +4233,13 @@ func (c *GameLift) DescribeFleetCapacityRequest(input *DescribeFleetCapacityInpu // one request. If a request exceeds this limit, the request fails and the error // message includes the maximum allowed. // -// Learn more +// # Learn more // // Setting up GameLift fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // // GameLift metrics for fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html#gamelift-metrics-fleet) // -// Related actions +// # Related actions // // ListFleets | DescribeEC2InstanceLimits | DescribeFleetAttributes | DescribeFleetCapacity // | DescribeFleetEvents | DescribeFleetLocationAttributes | DescribeFleetPortSettings @@ -4256,21 +4254,22 @@ func (c *GameLift) DescribeFleetCapacityRequest(input *DescribeFleetCapacityInpu // API operation DescribeFleetCapacity for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetCapacity func (c *GameLift) DescribeFleetCapacity(input *DescribeFleetCapacityInput) (*DescribeFleetCapacityOutput, error) { @@ -4302,15 +4301,14 @@ func (c *GameLift) DescribeFleetCapacityWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeFleetCapacity operation. -// pageNum := 0 -// err := client.DescribeFleetCapacityPages(params, -// func(page *gamelift.DescribeFleetCapacityOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeFleetCapacity operation. +// pageNum := 0 +// err := client.DescribeFleetCapacityPages(params, +// func(page *gamelift.DescribeFleetCapacityOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) DescribeFleetCapacityPages(input *DescribeFleetCapacityInput, fn func(*DescribeFleetCapacityOutput, bool) bool) error { return c.DescribeFleetCapacityPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4362,14 +4360,13 @@ const opDescribeFleetEvents = "DescribeFleetEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFleetEventsRequest method. +// req, resp := client.DescribeFleetEventsRequest(params) // -// // Example sending a request using the DescribeFleetEventsRequest method. -// req, resp := client.DescribeFleetEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetEvents func (c *GameLift) DescribeFleetEventsRequest(input *DescribeFleetEventsInput) (req *request.Request, output *DescribeFleetEventsOutput) { @@ -4407,11 +4404,11 @@ func (c *GameLift) DescribeFleetEventsRequest(input *DescribeFleetEventsInput) ( // If successful, a collection of event log entries matching the request are // returned. // -// Learn more +// # Learn more // // Setting up GameLift fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // -// Related actions +// # Related actions // // ListFleets | DescribeEC2InstanceLimits | DescribeFleetAttributes | DescribeFleetCapacity // | DescribeFleetEvents | DescribeFleetLocationAttributes | DescribeFleetPortSettings @@ -4426,21 +4423,22 @@ func (c *GameLift) DescribeFleetEventsRequest(input *DescribeFleetEventsInput) ( // API operation DescribeFleetEvents for usage and error information. // // Returned Error Types: -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetEvents func (c *GameLift) DescribeFleetEvents(input *DescribeFleetEventsInput) (*DescribeFleetEventsOutput, error) { @@ -4472,15 +4470,14 @@ func (c *GameLift) DescribeFleetEventsWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeFleetEvents operation. -// pageNum := 0 -// err := client.DescribeFleetEventsPages(params, -// func(page *gamelift.DescribeFleetEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeFleetEvents operation. +// pageNum := 0 +// err := client.DescribeFleetEventsPages(params, +// func(page *gamelift.DescribeFleetEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) DescribeFleetEventsPages(input *DescribeFleetEventsInput, fn func(*DescribeFleetEventsOutput, bool) bool) error { return c.DescribeFleetEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4532,14 +4529,13 @@ const opDescribeFleetLocationAttributes = "DescribeFleetLocationAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFleetLocationAttributesRequest method. +// req, resp := client.DescribeFleetLocationAttributesRequest(params) // -// // Example sending a request using the DescribeFleetLocationAttributesRequest method. -// req, resp := client.DescribeFleetLocationAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetLocationAttributes func (c *GameLift) DescribeFleetLocationAttributesRequest(input *DescribeFleetLocationAttributesInput) (req *request.Request, output *DescribeFleetLocationAttributesOutput) { @@ -4571,11 +4567,11 @@ func (c *GameLift) DescribeFleetLocationAttributesRequest(input *DescribeFleetLo // // This operation can be used in the following ways: // -// * To get data for specific locations, provide a fleet identifier and a -// list of locations. Location data is returned in the order that it is requested. +// - To get data for specific locations, provide a fleet identifier and a +// list of locations. Location data is returned in the order that it is requested. // -// * To get data for all locations, provide a fleet identifier only. Location -// data is returned in no particular order. +// - To get data for all locations, provide a fleet identifier only. Location +// data is returned in no particular order. // // When requesting attributes for multiple locations, use the pagination parameters // to retrieve results as a set of sequential pages. @@ -4585,11 +4581,11 @@ func (c *GameLift) DescribeFleetLocationAttributesRequest(input *DescribeFleetLo // is returned. This operation does not return the home Region. To get information // on a fleet's home Region, call DescribeFleetAttributes. // -// Learn more +// # Learn more // // Setting up GameLift fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // -// Related actions +// # Related actions // // CreateFleetLocations | DescribeFleetLocationAttributes | DescribeFleetLocationCapacity // | DescribeFleetLocationUtilization | DescribeFleetAttributes | DescribeFleetCapacity @@ -4604,24 +4600,25 @@ func (c *GameLift) DescribeFleetLocationAttributesRequest(input *DescribeFleetLo // API operation DescribeFleetLocationAttributes for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetLocationAttributes func (c *GameLift) DescribeFleetLocationAttributes(input *DescribeFleetLocationAttributesInput) (*DescribeFleetLocationAttributesOutput, error) { @@ -4653,15 +4650,14 @@ func (c *GameLift) DescribeFleetLocationAttributesWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeFleetLocationAttributes operation. -// pageNum := 0 -// err := client.DescribeFleetLocationAttributesPages(params, -// func(page *gamelift.DescribeFleetLocationAttributesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeFleetLocationAttributes operation. +// pageNum := 0 +// err := client.DescribeFleetLocationAttributesPages(params, +// func(page *gamelift.DescribeFleetLocationAttributesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) DescribeFleetLocationAttributesPages(input *DescribeFleetLocationAttributesInput, fn func(*DescribeFleetLocationAttributesOutput, bool) bool) error { return c.DescribeFleetLocationAttributesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4713,14 +4709,13 @@ const opDescribeFleetLocationCapacity = "DescribeFleetLocationCapacity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFleetLocationCapacityRequest method. +// req, resp := client.DescribeFleetLocationCapacityRequest(params) // -// // Example sending a request using the DescribeFleetLocationCapacityRequest method. -// req, resp := client.DescribeFleetLocationCapacityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetLocationCapacity func (c *GameLift) DescribeFleetLocationCapacityRequest(input *DescribeFleetLocationCapacityInput) (req *request.Request, output *DescribeFleetLocationCapacityOutput) { @@ -4752,13 +4747,13 @@ func (c *GameLift) DescribeFleetLocationCapacityRequest(input *DescribeFleetLoca // If successful, a FleetCapacity object is returned for the requested fleet // location. // -// Learn more +// # Learn more // // Setting up GameLift fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // // GameLift metrics for fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html#gamelift-metrics-fleet) // -// Related actions +// # Related actions // // CreateFleetLocations | DescribeFleetLocationAttributes | DescribeFleetLocationCapacity // | DescribeFleetLocationUtilization | DescribeFleetAttributes | DescribeFleetCapacity @@ -4773,24 +4768,25 @@ func (c *GameLift) DescribeFleetLocationCapacityRequest(input *DescribeFleetLoca // API operation DescribeFleetLocationCapacity for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetLocationCapacity func (c *GameLift) DescribeFleetLocationCapacity(input *DescribeFleetLocationCapacityInput) (*DescribeFleetLocationCapacityOutput, error) { @@ -4830,14 +4826,13 @@ const opDescribeFleetLocationUtilization = "DescribeFleetLocationUtilization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFleetLocationUtilizationRequest method. +// req, resp := client.DescribeFleetLocationUtilizationRequest(params) // -// // Example sending a request using the DescribeFleetLocationUtilizationRequest method. -// req, resp := client.DescribeFleetLocationUtilizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetLocationUtilization func (c *GameLift) DescribeFleetLocationUtilizationRequest(input *DescribeFleetLocationUtilizationInput) (req *request.Request, output *DescribeFleetLocationUtilizationOutput) { @@ -4869,13 +4864,13 @@ func (c *GameLift) DescribeFleetLocationUtilizationRequest(input *DescribeFleetL // If successful, a FleetUtilization object is returned for the requested fleet // location. // -// Learn more +// # Learn more // // Setting up GameLift fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // // GameLift metrics for fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html#gamelift-metrics-fleet) // -// Related actions +// # Related actions // // CreateFleetLocations | DescribeFleetLocationAttributes | DescribeFleetLocationCapacity // | DescribeFleetLocationUtilization | DescribeFleetAttributes | DescribeFleetCapacity @@ -4890,24 +4885,25 @@ func (c *GameLift) DescribeFleetLocationUtilizationRequest(input *DescribeFleetL // API operation DescribeFleetLocationUtilization for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetLocationUtilization func (c *GameLift) DescribeFleetLocationUtilization(input *DescribeFleetLocationUtilizationInput) (*DescribeFleetLocationUtilizationOutput, error) { @@ -4947,14 +4943,13 @@ const opDescribeFleetPortSettings = "DescribeFleetPortSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFleetPortSettingsRequest method. +// req, resp := client.DescribeFleetPortSettingsRequest(params) // -// // Example sending a request using the DescribeFleetPortSettingsRequest method. -// req, resp := client.DescribeFleetPortSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetPortSettings func (c *GameLift) DescribeFleetPortSettingsRequest(input *DescribeFleetPortSettingsInput) (req *request.Request, output *DescribeFleetPortSettingsOutput) { @@ -4982,22 +4977,22 @@ func (c *GameLift) DescribeFleetPortSettingsRequest(input *DescribeFleetPortSett // // This operation can be used in the following ways: // -// * To retrieve the inbound connection permissions for a fleet, identify -// the fleet's unique identifier. +// - To retrieve the inbound connection permissions for a fleet, identify +// the fleet's unique identifier. // -// * To check the status of recent updates to a fleet remote location, specify -// the fleet ID and a location. Port setting updates can take time to propagate -// across all locations. +// - To check the status of recent updates to a fleet remote location, specify +// the fleet ID and a location. Port setting updates can take time to propagate +// across all locations. // // If successful, a set of IpPermission objects is returned for the requested // fleet ID. When a location is specified, a pending status is included. If // the requested fleet has been deleted, the result set is empty. // -// Learn more +// # Learn more // // Setting up GameLift fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // -// Related actions +// # Related actions // // ListFleets | DescribeEC2InstanceLimits | DescribeFleetAttributes | DescribeFleetCapacity // | DescribeFleetEvents | DescribeFleetLocationAttributes | DescribeFleetPortSettings @@ -5012,21 +5007,22 @@ func (c *GameLift) DescribeFleetPortSettingsRequest(input *DescribeFleetPortSett // API operation DescribeFleetPortSettings for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetPortSettings func (c *GameLift) DescribeFleetPortSettings(input *DescribeFleetPortSettingsInput) (*DescribeFleetPortSettingsOutput, error) { @@ -5066,14 +5062,13 @@ const opDescribeFleetUtilization = "DescribeFleetUtilization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFleetUtilizationRequest method. +// req, resp := client.DescribeFleetUtilizationRequest(params) // -// // Example sending a request using the DescribeFleetUtilizationRequest method. -// req, resp := client.DescribeFleetUtilizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetUtilization func (c *GameLift) DescribeFleetUtilizationRequest(input *DescribeFleetUtilizationInput) (req *request.Request, output *DescribeFleetUtilizationOutput) { @@ -5108,10 +5103,10 @@ func (c *GameLift) DescribeFleetUtilizationRequest(input *DescribeFleetUtilizati // // This operation can be used in the following ways: // -// * To get utilization data for one or more specific fleets, provide a list -// of fleet IDs or fleet ARNs. +// - To get utilization data for one or more specific fleets, provide a list +// of fleet IDs or fleet ARNs. // -// * To get utilization data for all fleets, do not provide a fleet identifier. +// - To get utilization data for all fleets, do not provide a fleet identifier. // // When requesting multiple fleets, use the pagination parameters to retrieve // results as a set of sequential pages. @@ -5124,13 +5119,13 @@ func (c *GameLift) DescribeFleetUtilizationRequest(input *DescribeFleetUtilizati // If a request exceeds this limit, the request fails and the error message // includes the maximum allowed. // -// Learn more +// # Learn more // // Setting up GameLift Fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // // GameLift Metrics for Fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html#gamelift-metrics-fleet) // -// Related actions +// # Related actions // // ListFleets | DescribeEC2InstanceLimits | DescribeFleetAttributes | DescribeFleetCapacity // | DescribeFleetEvents | DescribeFleetLocationAttributes | DescribeFleetPortSettings @@ -5145,21 +5140,22 @@ func (c *GameLift) DescribeFleetUtilizationRequest(input *DescribeFleetUtilizati // API operation DescribeFleetUtilization for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeFleetUtilization func (c *GameLift) DescribeFleetUtilization(input *DescribeFleetUtilizationInput) (*DescribeFleetUtilizationOutput, error) { @@ -5191,15 +5187,14 @@ func (c *GameLift) DescribeFleetUtilizationWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeFleetUtilization operation. -// pageNum := 0 -// err := client.DescribeFleetUtilizationPages(params, -// func(page *gamelift.DescribeFleetUtilizationOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeFleetUtilization operation. +// pageNum := 0 +// err := client.DescribeFleetUtilizationPages(params, +// func(page *gamelift.DescribeFleetUtilizationOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) DescribeFleetUtilizationPages(input *DescribeFleetUtilizationInput, fn func(*DescribeFleetUtilizationOutput, bool) bool) error { return c.DescribeFleetUtilizationPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5251,14 +5246,13 @@ const opDescribeGameServer = "DescribeGameServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGameServerRequest method. +// req, resp := client.DescribeGameServerRequest(params) // -// // Example sending a request using the DescribeGameServerRequest method. -// req, resp := client.DescribeGameServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameServer func (c *GameLift) DescribeGameServerRequest(input *DescribeGameServerInput) (req *request.Request, output *DescribeGameServerOutput) { @@ -5289,11 +5283,11 @@ func (c *GameLift) DescribeGameServerRequest(input *DescribeGameServerInput) (re // To retrieve game server information, specify the game server ID. If successful, // the requested game server object is returned. // -// Learn more +// # Learn more // // GameLift FleetIQ Guide (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html) // -// Related actions +// # Related actions // // RegisterGameServer | ListGameServers | ClaimGameServer | DescribeGameServer // | UpdateGameServer | DeregisterGameServer | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/reference-awssdk-fleetiq.html) @@ -5306,21 +5300,22 @@ func (c *GameLift) DescribeGameServerRequest(input *DescribeGameServerInput) (re // API operation DescribeGameServer for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameServer func (c *GameLift) DescribeGameServer(input *DescribeGameServerInput) (*DescribeGameServerOutput, error) { @@ -5360,14 +5355,13 @@ const opDescribeGameServerGroup = "DescribeGameServerGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGameServerGroupRequest method. +// req, resp := client.DescribeGameServerGroupRequest(params) // -// // Example sending a request using the DescribeGameServerGroupRequest method. -// req, resp := client.DescribeGameServerGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameServerGroup func (c *GameLift) DescribeGameServerGroupRequest(input *DescribeGameServerGroupInput) (req *request.Request, output *DescribeGameServerGroupOutput) { @@ -5399,11 +5393,11 @@ func (c *GameLift) DescribeGameServerGroupRequest(input *DescribeGameServerGroup // To get attributes for a game server group, provide a group name or ARN value. // If successful, a GameServerGroup object is returned. // -// Learn more +// # Learn more // // GameLift FleetIQ Guide (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html) // -// Related actions +// # Related actions // // CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | // UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup @@ -5417,21 +5411,22 @@ func (c *GameLift) DescribeGameServerGroupRequest(input *DescribeGameServerGroup // API operation DescribeGameServerGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameServerGroup func (c *GameLift) DescribeGameServerGroup(input *DescribeGameServerGroupInput) (*DescribeGameServerGroupOutput, error) { @@ -5471,14 +5466,13 @@ const opDescribeGameServerInstances = "DescribeGameServerInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGameServerInstancesRequest method. +// req, resp := client.DescribeGameServerInstancesRequest(params) // -// // Example sending a request using the DescribeGameServerInstancesRequest method. -// req, resp := client.DescribeGameServerInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameServerInstances func (c *GameLift) DescribeGameServerInstancesRequest(input *DescribeGameServerInstancesInput) (req *request.Request, output *DescribeGameServerInstancesOutput) { @@ -5525,11 +5519,11 @@ func (c *GameLift) DescribeGameServerInstancesRequest(input *DescribeGameServerI // in errors. Instead, as a best practice, cache the results and refresh your // cache no more than once every 10 seconds. // -// Learn more +// # Learn more // // GameLift FleetIQ Guide (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html) // -// Related actions +// # Related actions // // CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | // UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup @@ -5543,21 +5537,22 @@ func (c *GameLift) DescribeGameServerInstancesRequest(input *DescribeGameServerI // API operation DescribeGameServerInstances for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameServerInstances func (c *GameLift) DescribeGameServerInstances(input *DescribeGameServerInstancesInput) (*DescribeGameServerInstancesOutput, error) { @@ -5589,15 +5584,14 @@ func (c *GameLift) DescribeGameServerInstancesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeGameServerInstances operation. -// pageNum := 0 -// err := client.DescribeGameServerInstancesPages(params, -// func(page *gamelift.DescribeGameServerInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeGameServerInstances operation. +// pageNum := 0 +// err := client.DescribeGameServerInstancesPages(params, +// func(page *gamelift.DescribeGameServerInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) DescribeGameServerInstancesPages(input *DescribeGameServerInstancesInput, fn func(*DescribeGameServerInstancesOutput, bool) bool) error { return c.DescribeGameServerInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5649,14 +5643,13 @@ const opDescribeGameSessionDetails = "DescribeGameSessionDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGameSessionDetailsRequest method. +// req, resp := client.DescribeGameSessionDetailsRequest(params) // -// // Example sending a request using the DescribeGameSessionDetailsRequest method. -// req, resp := client.DescribeGameSessionDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionDetails func (c *GameLift) DescribeGameSessionDetailsRequest(input *DescribeGameSessionDetailsInput) (req *request.Request, output *DescribeGameSessionDetailsOutput) { @@ -5692,19 +5685,19 @@ func (c *GameLift) DescribeGameSessionDetailsRequest(input *DescribeGameSessionD // // This operation can be used in the following ways: // -// * To retrieve details for all game sessions that are currently running -// on all locations in a fleet, provide a fleet or alias ID, with an optional -// status filter. This approach returns details from the fleet's home Region -// and all remote locations. +// - To retrieve details for all game sessions that are currently running +// on all locations in a fleet, provide a fleet or alias ID, with an optional +// status filter. This approach returns details from the fleet's home Region +// and all remote locations. // -// * To retrieve details for all game sessions that are currently running -// on a specific fleet location, provide a fleet or alias ID and a location -// name, with optional status filter. The location can be the fleet's home -// Region or any remote location. +// - To retrieve details for all game sessions that are currently running +// on a specific fleet location, provide a fleet or alias ID and a location +// name, with optional status filter. The location can be the fleet's home +// Region or any remote location. // -// * To retrieve details for a specific game session, provide the game session -// ID. This approach looks for the game session ID in all fleets that reside -// in the Amazon Web Services Region defined in the request. +// - To retrieve details for a specific game session, provide the game session +// ID. This approach looks for the game session ID in all fleets that reside +// in the Amazon Web Services Region defined in the request. // // Use the pagination parameters to retrieve results as a set of sequential // pages. @@ -5712,11 +5705,11 @@ func (c *GameLift) DescribeGameSessionDetailsRequest(input *DescribeGameSessionD // If successful, a GameSessionDetail object is returned for each game session // that matches the request. // -// Learn more +// # Learn more // // Find a game session (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html#gamelift-sdk-client-api-find) // -// Related actions +// # Related actions // // CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions // | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | @@ -5731,31 +5724,32 @@ func (c *GameLift) DescribeGameSessionDetailsRequest(input *DescribeGameSessionD // API operation DescribeGameSessionDetails for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * TerminalRoutingStrategyException -// The service is unable to resolve the routing for a particular alias because -// it has a terminal RoutingStrategy associated with it. The message returned -// in this exception is the message defined in the routing strategy itself. -// Such requests should only be retried if the routing strategy for the specified -// alias is modified. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - TerminalRoutingStrategyException +// The service is unable to resolve the routing for a particular alias because +// it has a terminal RoutingStrategy associated with it. The message returned +// in this exception is the message defined in the routing strategy itself. +// Such requests should only be retried if the routing strategy for the specified +// alias is modified. +// +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionDetails func (c *GameLift) DescribeGameSessionDetails(input *DescribeGameSessionDetailsInput) (*DescribeGameSessionDetailsOutput, error) { @@ -5787,15 +5781,14 @@ func (c *GameLift) DescribeGameSessionDetailsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeGameSessionDetails operation. -// pageNum := 0 -// err := client.DescribeGameSessionDetailsPages(params, -// func(page *gamelift.DescribeGameSessionDetailsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeGameSessionDetails operation. +// pageNum := 0 +// err := client.DescribeGameSessionDetailsPages(params, +// func(page *gamelift.DescribeGameSessionDetailsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) DescribeGameSessionDetailsPages(input *DescribeGameSessionDetailsInput, fn func(*DescribeGameSessionDetailsOutput, bool) bool) error { return c.DescribeGameSessionDetailsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5847,14 +5840,13 @@ const opDescribeGameSessionPlacement = "DescribeGameSessionPlacement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGameSessionPlacementRequest method. +// req, resp := client.DescribeGameSessionPlacementRequest(params) // -// // Example sending a request using the DescribeGameSessionPlacementRequest method. -// req, resp := client.DescribeGameSessionPlacementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionPlacement func (c *GameLift) DescribeGameSessionPlacementRequest(input *DescribeGameSessionPlacementInput) (req *request.Request, output *DescribeGameSessionPlacementOutput) { @@ -5889,7 +5881,7 @@ func (c *GameLift) DescribeGameSessionPlacementRequest(input *DescribeGameSessio // // If successful, a GameSessionPlacement object is returned. // -// Related actions +// # Related actions // // CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions // | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | @@ -5904,21 +5896,22 @@ func (c *GameLift) DescribeGameSessionPlacementRequest(input *DescribeGameSessio // API operation DescribeGameSessionPlacement for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionPlacement func (c *GameLift) DescribeGameSessionPlacement(input *DescribeGameSessionPlacementInput) (*DescribeGameSessionPlacementOutput, error) { @@ -5958,14 +5951,13 @@ const opDescribeGameSessionQueues = "DescribeGameSessionQueues" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGameSessionQueuesRequest method. +// req, resp := client.DescribeGameSessionQueuesRequest(params) // -// // Example sending a request using the DescribeGameSessionQueuesRequest method. -// req, resp := client.DescribeGameSessionQueuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionQueues func (c *GameLift) DescribeGameSessionQueuesRequest(input *DescribeGameSessionQueuesInput) (req *request.Request, output *DescribeGameSessionQueuesOutput) { @@ -6000,9 +5992,9 @@ func (c *GameLift) DescribeGameSessionQueuesRequest(input *DescribeGameSessionQu // // Learn more // -// View Your Queues (https://docs.aws.amazon.com/gamelift/latest/developerguide/queues-console.html) +// View Your Queues (https://docs.aws.amazon.com/gamelift/latest/developerguide/queues-console.html) // -// Related actions +// # Related actions // // CreateGameSessionQueue (https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateGameSessionQueue.html) // | DescribeGameSessionQueues (https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessionQueues.html) @@ -6018,21 +6010,22 @@ func (c *GameLift) DescribeGameSessionQueuesRequest(input *DescribeGameSessionQu // API operation DescribeGameSessionQueues for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. +// +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessionQueues func (c *GameLift) DescribeGameSessionQueues(input *DescribeGameSessionQueuesInput) (*DescribeGameSessionQueuesOutput, error) { @@ -6064,15 +6057,14 @@ func (c *GameLift) DescribeGameSessionQueuesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeGameSessionQueues operation. -// pageNum := 0 -// err := client.DescribeGameSessionQueuesPages(params, -// func(page *gamelift.DescribeGameSessionQueuesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeGameSessionQueues operation. +// pageNum := 0 +// err := client.DescribeGameSessionQueuesPages(params, +// func(page *gamelift.DescribeGameSessionQueuesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) DescribeGameSessionQueuesPages(input *DescribeGameSessionQueuesInput, fn func(*DescribeGameSessionQueuesOutput, bool) bool) error { return c.DescribeGameSessionQueuesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6124,14 +6116,13 @@ const opDescribeGameSessions = "DescribeGameSessions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGameSessionsRequest method. +// req, resp := client.DescribeGameSessionsRequest(params) // -// // Example sending a request using the DescribeGameSessionsRequest method. -// req, resp := client.DescribeGameSessionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessions func (c *GameLift) DescribeGameSessionsRequest(input *DescribeGameSessionsInput) (req *request.Request, output *DescribeGameSessionsOutput) { @@ -6173,19 +6164,19 @@ func (c *GameLift) DescribeGameSessionsRequest(input *DescribeGameSessionsInput) // // This operation can be used in the following ways: // -// * To retrieve all game sessions that are currently running on all locations -// in a fleet, provide a fleet or alias ID, with an optional status filter. -// This approach returns all game sessions in the fleet's home Region and -// all remote locations. +// - To retrieve all game sessions that are currently running on all locations +// in a fleet, provide a fleet or alias ID, with an optional status filter. +// This approach returns all game sessions in the fleet's home Region and +// all remote locations. // -// * To retrieve all game sessions that are currently running on a specific -// fleet location, provide a fleet or alias ID and a location name, with -// optional status filter. The location can be the fleet's home Region or -// any remote location. +// - To retrieve all game sessions that are currently running on a specific +// fleet location, provide a fleet or alias ID and a location name, with +// optional status filter. The location can be the fleet's home Region or +// any remote location. // -// * To retrieve a specific game session, provide the game session ID. This -// approach looks for the game session ID in all fleets that reside in the -// Amazon Web Services Region defined in the request. +// - To retrieve a specific game session, provide the game session ID. This +// approach looks for the game session ID in all fleets that reside in the +// Amazon Web Services Region defined in the request. // // Use the pagination parameters to retrieve results as a set of sequential // pages. @@ -6202,11 +6193,11 @@ func (c *GameLift) DescribeGameSessionsRequest(input *DescribeGameSessionsInput) // // Available in Amazon GameLift Local. // -// Learn more +// # Learn more // // Find a game session (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-client-api.html#gamelift-sdk-client-api-find) // -// Related actions +// # Related actions // // CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions // | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | @@ -6221,31 +6212,32 @@ func (c *GameLift) DescribeGameSessionsRequest(input *DescribeGameSessionsInput) // API operation DescribeGameSessions for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * TerminalRoutingStrategyException -// The service is unable to resolve the routing for a particular alias because -// it has a terminal RoutingStrategy associated with it. The message returned -// in this exception is the message defined in the routing strategy itself. -// Such requests should only be retried if the routing strategy for the specified -// alias is modified. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - TerminalRoutingStrategyException +// The service is unable to resolve the routing for a particular alias because +// it has a terminal RoutingStrategy associated with it. The message returned +// in this exception is the message defined in the routing strategy itself. +// Such requests should only be retried if the routing strategy for the specified +// alias is modified. +// +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeGameSessions func (c *GameLift) DescribeGameSessions(input *DescribeGameSessionsInput) (*DescribeGameSessionsOutput, error) { @@ -6277,15 +6269,14 @@ func (c *GameLift) DescribeGameSessionsWithContext(ctx aws.Context, input *Descr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeGameSessions operation. -// pageNum := 0 -// err := client.DescribeGameSessionsPages(params, -// func(page *gamelift.DescribeGameSessionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeGameSessions operation. +// pageNum := 0 +// err := client.DescribeGameSessionsPages(params, +// func(page *gamelift.DescribeGameSessionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) DescribeGameSessionsPages(input *DescribeGameSessionsInput, fn func(*DescribeGameSessionsOutput, bool) bool) error { return c.DescribeGameSessionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6337,14 +6328,13 @@ const opDescribeInstances = "DescribeInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstancesRequest method. +// req, resp := client.DescribeInstancesRequest(params) // -// // Example sending a request using the DescribeInstancesRequest method. -// req, resp := client.DescribeInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeInstances func (c *GameLift) DescribeInstancesRequest(input *DescribeInstancesInput) (req *request.Request, output *DescribeInstancesOutput) { @@ -6376,14 +6366,14 @@ func (c *GameLift) DescribeInstancesRequest(input *DescribeInstancesInput) (req // // This operation can be used in the following ways: // -// * To get information on all instances that are deployed to a fleet's home -// Region, provide the fleet ID. +// - To get information on all instances that are deployed to a fleet's home +// Region, provide the fleet ID. // -// * To get information on all instances that are deployed to a fleet's remote -// location, provide the fleet ID and location name. +// - To get information on all instances that are deployed to a fleet's remote +// location, provide the fleet ID and location name. // -// * To get information on a specific instance in a fleet, provide the fleet -// ID and instance ID. +// - To get information on a specific instance in a fleet, provide the fleet +// ID and instance ID. // // Use the pagination parameters to retrieve results as a set of sequential // pages. @@ -6391,13 +6381,13 @@ func (c *GameLift) DescribeInstancesRequest(input *DescribeInstancesInput) (req // If successful, an Instance object is returned for each requested instance. // Instances are not returned in any particular order. // -// Learn more +// # Learn more // // Remotely Access Fleet Instances (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-remote-access.html) // // Debug Fleet Issues (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-debug.html) // -// Related actions +// # Related actions // // DescribeInstances | GetInstanceAccess | DescribeEC2InstanceLimits | All APIs // by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -6410,24 +6400,25 @@ func (c *GameLift) DescribeInstancesRequest(input *DescribeInstancesInput) (req // API operation DescribeInstances for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeInstances func (c *GameLift) DescribeInstances(input *DescribeInstancesInput) (*DescribeInstancesOutput, error) { @@ -6459,15 +6450,14 @@ func (c *GameLift) DescribeInstancesWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInstances operation. -// pageNum := 0 -// err := client.DescribeInstancesPages(params, -// func(page *gamelift.DescribeInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInstances operation. +// pageNum := 0 +// err := client.DescribeInstancesPages(params, +// func(page *gamelift.DescribeInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) DescribeInstancesPages(input *DescribeInstancesInput, fn func(*DescribeInstancesOutput, bool) bool) error { return c.DescribeInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6519,14 +6509,13 @@ const opDescribeMatchmaking = "DescribeMatchmaking" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMatchmakingRequest method. +// req, resp := client.DescribeMatchmakingRequest(params) // -// // Example sending a request using the DescribeMatchmakingRequest method. -// req, resp := client.DescribeMatchmakingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeMatchmaking func (c *GameLift) DescribeMatchmakingRequest(input *DescribeMatchmakingInput) (req *request.Request, output *DescribeMatchmakingOutput) { @@ -6564,11 +6553,11 @@ func (c *GameLift) DescribeMatchmakingRequest(input *DescribeMatchmakingInput) ( // // Learn more // -// Add FlexMatch to a game client (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-client.html) +// Add FlexMatch to a game client (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-client.html) // -// Set Up FlexMatch event notification (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-notification.html) +// Set Up FlexMatch event notification (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-notification.html) // -// Related actions +// # Related actions // // StartMatchmaking | DescribeMatchmaking | StopMatchmaking | AcceptMatch | // StartMatchBackfill | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -6581,17 +6570,18 @@ func (c *GameLift) DescribeMatchmakingRequest(input *DescribeMatchmakingInput) ( // API operation DescribeMatchmaking for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeMatchmaking func (c *GameLift) DescribeMatchmaking(input *DescribeMatchmakingInput) (*DescribeMatchmakingOutput, error) { @@ -6631,14 +6621,13 @@ const opDescribeMatchmakingConfigurations = "DescribeMatchmakingConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMatchmakingConfigurationsRequest method. +// req, resp := client.DescribeMatchmakingConfigurationsRequest(params) // -// // Example sending a request using the DescribeMatchmakingConfigurationsRequest method. -// req, resp := client.DescribeMatchmakingConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeMatchmakingConfigurations func (c *GameLift) DescribeMatchmakingConfigurationsRequest(input *DescribeMatchmakingConfigurationsInput) (req *request.Request, output *DescribeMatchmakingConfigurationsOutput) { @@ -6679,9 +6668,9 @@ func (c *GameLift) DescribeMatchmakingConfigurationsRequest(input *DescribeMatch // // Learn more // -// Setting up FlexMatch matchmakers (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/matchmaker-build.html) +// Setting up FlexMatch matchmakers (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/matchmaker-build.html) // -// Related actions +// # Related actions // // CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration // | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets @@ -6696,17 +6685,18 @@ func (c *GameLift) DescribeMatchmakingConfigurationsRequest(input *DescribeMatch // API operation DescribeMatchmakingConfigurations for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeMatchmakingConfigurations func (c *GameLift) DescribeMatchmakingConfigurations(input *DescribeMatchmakingConfigurationsInput) (*DescribeMatchmakingConfigurationsOutput, error) { @@ -6738,15 +6728,14 @@ func (c *GameLift) DescribeMatchmakingConfigurationsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeMatchmakingConfigurations operation. -// pageNum := 0 -// err := client.DescribeMatchmakingConfigurationsPages(params, -// func(page *gamelift.DescribeMatchmakingConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeMatchmakingConfigurations operation. +// pageNum := 0 +// err := client.DescribeMatchmakingConfigurationsPages(params, +// func(page *gamelift.DescribeMatchmakingConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) DescribeMatchmakingConfigurationsPages(input *DescribeMatchmakingConfigurationsInput, fn func(*DescribeMatchmakingConfigurationsOutput, bool) bool) error { return c.DescribeMatchmakingConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6798,14 +6787,13 @@ const opDescribeMatchmakingRuleSets = "DescribeMatchmakingRuleSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMatchmakingRuleSetsRequest method. +// req, resp := client.DescribeMatchmakingRuleSetsRequest(params) // -// // Example sending a request using the DescribeMatchmakingRuleSetsRequest method. -// req, resp := client.DescribeMatchmakingRuleSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeMatchmakingRuleSets func (c *GameLift) DescribeMatchmakingRuleSetsRequest(input *DescribeMatchmakingRuleSetsInput) (req *request.Request, output *DescribeMatchmakingRuleSetsOutput) { @@ -6840,9 +6828,9 @@ func (c *GameLift) DescribeMatchmakingRuleSetsRequest(input *DescribeMatchmaking // // Learn more // -// * Build a rule set (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-rulesets.html) +// - Build a rule set (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-rulesets.html) // -// Related actions +// # Related actions // // CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration // | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets @@ -6857,21 +6845,22 @@ func (c *GameLift) DescribeMatchmakingRuleSetsRequest(input *DescribeMatchmaking // API operation DescribeMatchmakingRuleSets for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeMatchmakingRuleSets func (c *GameLift) DescribeMatchmakingRuleSets(input *DescribeMatchmakingRuleSetsInput) (*DescribeMatchmakingRuleSetsOutput, error) { @@ -6903,15 +6892,14 @@ func (c *GameLift) DescribeMatchmakingRuleSetsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeMatchmakingRuleSets operation. -// pageNum := 0 -// err := client.DescribeMatchmakingRuleSetsPages(params, -// func(page *gamelift.DescribeMatchmakingRuleSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeMatchmakingRuleSets operation. +// pageNum := 0 +// err := client.DescribeMatchmakingRuleSetsPages(params, +// func(page *gamelift.DescribeMatchmakingRuleSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) DescribeMatchmakingRuleSetsPages(input *DescribeMatchmakingRuleSetsInput, fn func(*DescribeMatchmakingRuleSetsOutput, bool) bool) error { return c.DescribeMatchmakingRuleSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6963,14 +6951,13 @@ const opDescribePlayerSessions = "DescribePlayerSessions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePlayerSessionsRequest method. +// req, resp := client.DescribePlayerSessionsRequest(params) // -// // Example sending a request using the DescribePlayerSessionsRequest method. -// req, resp := client.DescribePlayerSessionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribePlayerSessions func (c *GameLift) DescribePlayerSessionsRequest(input *DescribePlayerSessionsInput) (req *request.Request, output *DescribePlayerSessionsOutput) { @@ -7001,14 +6988,14 @@ func (c *GameLift) DescribePlayerSessionsRequest(input *DescribePlayerSessionsIn // // This action can be used in the following ways: // -// * To retrieve a specific player session, provide the player session ID -// only. +// - To retrieve a specific player session, provide the player session ID +// only. // -// * To retrieve all player sessions in a game session, provide the game -// session ID only. +// - To retrieve all player sessions in a game session, provide the game +// session ID only. // -// * To retrieve all player sessions for a specific player, provide a player -// ID only. +// - To retrieve all player sessions for a specific player, provide a player +// ID only. // // To request player sessions, specify either a player session ID, game session // ID, or player ID. You can filter this request by player session status. Use @@ -7019,7 +7006,7 @@ func (c *GameLift) DescribePlayerSessionsRequest(input *DescribePlayerSessionsIn // // Available in Amazon GameLift Local. // -// Related actions +// # Related actions // // CreatePlayerSession | CreatePlayerSessions | DescribePlayerSessions | StartGameSessionPlacement // | DescribeGameSessionPlacement | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -7032,21 +7019,22 @@ func (c *GameLift) DescribePlayerSessionsRequest(input *DescribePlayerSessionsIn // API operation DescribePlayerSessions for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribePlayerSessions func (c *GameLift) DescribePlayerSessions(input *DescribePlayerSessionsInput) (*DescribePlayerSessionsOutput, error) { @@ -7078,15 +7066,14 @@ func (c *GameLift) DescribePlayerSessionsWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePlayerSessions operation. -// pageNum := 0 -// err := client.DescribePlayerSessionsPages(params, -// func(page *gamelift.DescribePlayerSessionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePlayerSessions operation. +// pageNum := 0 +// err := client.DescribePlayerSessionsPages(params, +// func(page *gamelift.DescribePlayerSessionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) DescribePlayerSessionsPages(input *DescribePlayerSessionsInput, fn func(*DescribePlayerSessionsOutput, bool) bool) error { return c.DescribePlayerSessionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7138,14 +7125,13 @@ const opDescribeRuntimeConfiguration = "DescribeRuntimeConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRuntimeConfigurationRequest method. +// req, resp := client.DescribeRuntimeConfigurationRequest(params) // -// // Example sending a request using the DescribeRuntimeConfigurationRequest method. -// req, resp := client.DescribeRuntimeConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeRuntimeConfiguration func (c *GameLift) DescribeRuntimeConfigurationRequest(input *DescribeRuntimeConfigurationInput) (req *request.Request, output *DescribeRuntimeConfigurationOutput) { @@ -7176,13 +7162,13 @@ func (c *GameLift) DescribeRuntimeConfigurationRequest(input *DescribeRuntimeCon // If successful, a RuntimeConfiguration object is returned for the requested // fleet. If the requested fleet has been deleted, the result set is empty. // -// Learn more +// # Learn more // // Setting up GameLift fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // // Running multiple processes on a fleet (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-multiprocess.html) // -// Related actions +// # Related actions // // ListFleets | DescribeEC2InstanceLimits | DescribeFleetAttributes | DescribeFleetCapacity // | DescribeFleetEvents | DescribeFleetLocationAttributes | DescribeFleetPortSettings @@ -7197,21 +7183,22 @@ func (c *GameLift) DescribeRuntimeConfigurationRequest(input *DescribeRuntimeCon // API operation DescribeRuntimeConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeRuntimeConfiguration func (c *GameLift) DescribeRuntimeConfiguration(input *DescribeRuntimeConfigurationInput) (*DescribeRuntimeConfigurationOutput, error) { @@ -7251,14 +7238,13 @@ const opDescribeScalingPolicies = "DescribeScalingPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScalingPoliciesRequest method. +// req, resp := client.DescribeScalingPoliciesRequest(params) // -// // Example sending a request using the DescribeScalingPoliciesRequest method. -// req, resp := client.DescribeScalingPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeScalingPolicies func (c *GameLift) DescribeScalingPoliciesRequest(input *DescribeScalingPoliciesInput) (req *request.Request, output *DescribeScalingPoliciesOutput) { @@ -7297,7 +7283,7 @@ func (c *GameLift) DescribeScalingPoliciesRequest(input *DescribeScalingPolicies // remains ACTIVE. To see whether a fleet's scaling policies are in force or // suspended, call DescribeFleetAttributes and check the stopped actions. // -// Related actions +// # Related actions // // DescribeFleetCapacity | UpdateFleetCapacity | DescribeEC2InstanceLimits | // PutScalingPolicy | DescribeScalingPolicies | DeleteScalingPolicy | StopFleetActions @@ -7311,24 +7297,25 @@ func (c *GameLift) DescribeScalingPoliciesRequest(input *DescribeScalingPolicies // API operation DescribeScalingPolicies for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeScalingPolicies func (c *GameLift) DescribeScalingPolicies(input *DescribeScalingPoliciesInput) (*DescribeScalingPoliciesOutput, error) { @@ -7360,15 +7347,14 @@ func (c *GameLift) DescribeScalingPoliciesWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeScalingPolicies operation. -// pageNum := 0 -// err := client.DescribeScalingPoliciesPages(params, -// func(page *gamelift.DescribeScalingPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeScalingPolicies operation. +// pageNum := 0 +// err := client.DescribeScalingPoliciesPages(params, +// func(page *gamelift.DescribeScalingPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) DescribeScalingPoliciesPages(input *DescribeScalingPoliciesInput, fn func(*DescribeScalingPoliciesOutput, bool) bool) error { return c.DescribeScalingPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7420,14 +7406,13 @@ const opDescribeScript = "DescribeScript" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScriptRequest method. +// req, resp := client.DescribeScriptRequest(params) // -// // Example sending a request using the DescribeScriptRequest method. -// req, resp := client.DescribeScriptRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeScript func (c *GameLift) DescribeScriptRequest(input *DescribeScriptInput) (req *request.Request, output *DescribeScriptOutput) { @@ -7453,11 +7438,11 @@ func (c *GameLift) DescribeScriptRequest(input *DescribeScriptInput) (req *reque // To request a script record, specify the script ID. If successful, an object // containing the script properties is returned. // -// Learn more +// # Learn more // // Amazon GameLift Realtime Servers (https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-intro.html) // -// Related actions +// # Related actions // // CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript // | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -7470,21 +7455,22 @@ func (c *GameLift) DescribeScriptRequest(input *DescribeScriptInput) (req *reque // API operation DescribeScript for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeScript func (c *GameLift) DescribeScript(input *DescribeScriptInput) (*DescribeScriptOutput, error) { @@ -7524,14 +7510,13 @@ const opDescribeVpcPeeringAuthorizations = "DescribeVpcPeeringAuthorizations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpcPeeringAuthorizationsRequest method. +// req, resp := client.DescribeVpcPeeringAuthorizationsRequest(params) // -// // Example sending a request using the DescribeVpcPeeringAuthorizationsRequest method. -// req, resp := client.DescribeVpcPeeringAuthorizationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeVpcPeeringAuthorizations func (c *GameLift) DescribeVpcPeeringAuthorizationsRequest(input *DescribeVpcPeeringAuthorizationsInput) (req *request.Request, output *DescribeVpcPeeringAuthorizationsOutput) { @@ -7557,7 +7542,7 @@ func (c *GameLift) DescribeVpcPeeringAuthorizationsRequest(input *DescribeVpcPee // and requests for peering. This includes those initiated and received by this // account. // -// Related actions +// # Related actions // // CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization // | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection @@ -7571,17 +7556,18 @@ func (c *GameLift) DescribeVpcPeeringAuthorizationsRequest(input *DescribeVpcPee // API operation DescribeVpcPeeringAuthorizations for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeVpcPeeringAuthorizations func (c *GameLift) DescribeVpcPeeringAuthorizations(input *DescribeVpcPeeringAuthorizationsInput) (*DescribeVpcPeeringAuthorizationsOutput, error) { @@ -7621,14 +7607,13 @@ const opDescribeVpcPeeringConnections = "DescribeVpcPeeringConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVpcPeeringConnectionsRequest method. +// req, resp := client.DescribeVpcPeeringConnectionsRequest(params) // -// // Example sending a request using the DescribeVpcPeeringConnectionsRequest method. -// req, resp := client.DescribeVpcPeeringConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeVpcPeeringConnections func (c *GameLift) DescribeVpcPeeringConnectionsRequest(input *DescribeVpcPeeringConnectionsInput) (req *request.Request, output *DescribeVpcPeeringConnectionsOutput) { @@ -7659,7 +7644,7 @@ func (c *GameLift) DescribeVpcPeeringConnectionsRequest(input *DescribeVpcPeerin // connections. Active connections identify the IpV4 CIDR block that the VPC // uses to connect. // -// Related actions +// # Related actions // // CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization // | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection @@ -7673,21 +7658,22 @@ func (c *GameLift) DescribeVpcPeeringConnectionsRequest(input *DescribeVpcPeerin // API operation DescribeVpcPeeringConnections for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeVpcPeeringConnections func (c *GameLift) DescribeVpcPeeringConnections(input *DescribeVpcPeeringConnectionsInput) (*DescribeVpcPeeringConnectionsOutput, error) { @@ -7727,14 +7713,13 @@ const opGetGameSessionLogUrl = "GetGameSessionLogUrl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGameSessionLogUrlRequest method. +// req, resp := client.GetGameSessionLogUrlRequest(params) // -// // Example sending a request using the GetGameSessionLogUrlRequest method. -// req, resp := client.GetGameSessionLogUrlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/GetGameSessionLogUrl func (c *GameLift) GetGameSessionLogUrlRequest(input *GetGameSessionLogUrlInput) (req *request.Request, output *GetGameSessionLogUrlOutput) { @@ -7763,7 +7748,7 @@ func (c *GameLift) GetGameSessionLogUrlRequest(input *GetGameSessionLogUrlInput) // page for maximum log file sizes. Log files that exceed this limit are not // saved. // -// Related actions +// # Related actions // // CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions // | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | @@ -7778,21 +7763,22 @@ func (c *GameLift) GetGameSessionLogUrlRequest(input *GetGameSessionLogUrlInput) // API operation GetGameSessionLogUrl for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/GetGameSessionLogUrl func (c *GameLift) GetGameSessionLogUrl(input *GetGameSessionLogUrlInput) (*GetGameSessionLogUrlOutput, error) { @@ -7832,14 +7818,13 @@ const opGetInstanceAccess = "GetInstanceAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInstanceAccessRequest method. +// req, resp := client.GetInstanceAccessRequest(params) // -// // Example sending a request using the GetInstanceAccessRequest method. -// req, resp := client.GetInstanceAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/GetInstanceAccess func (c *GameLift) GetInstanceAccessRequest(input *GetInstanceAccessInput) (req *request.Request, output *GetInstanceAccessOutput) { @@ -7877,13 +7862,13 @@ func (c *GameLift) GetInstanceAccessRequest(input *GetInstanceAccessInput) (req // DescribeInstances. If successful, an InstanceAccess object is returned that // contains the instance's IP address and a set of credentials. // -// Learn more +// # Learn more // // Remotely Access Fleet Instances (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-remote-access.html) // // Debug Fleet Issues (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-debug.html) // -// Related actions +// # Related actions // // DescribeInstances | GetInstanceAccess | DescribeEC2InstanceLimits | All APIs // by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -7896,21 +7881,22 @@ func (c *GameLift) GetInstanceAccessRequest(input *GetInstanceAccessInput) (req // API operation GetInstanceAccess for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/GetInstanceAccess func (c *GameLift) GetInstanceAccess(input *GetInstanceAccessInput) (*GetInstanceAccessOutput, error) { @@ -7950,14 +7936,13 @@ const opListAliases = "ListAliases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAliasesRequest method. +// req, resp := client.ListAliasesRequest(params) // -// // Example sending a request using the ListAliasesRequest method. -// req, resp := client.ListAliasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListAliases func (c *GameLift) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, output *ListAliasesOutput) { @@ -7990,7 +7975,7 @@ func (c *GameLift) ListAliasesRequest(input *ListAliasesInput) (req *request.Req // // Returned aliases are not listed in any particular order. // -// Related actions +// # Related actions // // CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias // | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -8003,17 +7988,18 @@ func (c *GameLift) ListAliasesRequest(input *ListAliasesInput) (req *request.Req // API operation ListAliases for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListAliases func (c *GameLift) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error) { @@ -8045,15 +8031,14 @@ func (c *GameLift) ListAliasesWithContext(ctx aws.Context, input *ListAliasesInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAliases operation. -// pageNum := 0 -// err := client.ListAliasesPages(params, -// func(page *gamelift.ListAliasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAliases operation. +// pageNum := 0 +// err := client.ListAliasesPages(params, +// func(page *gamelift.ListAliasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) ListAliasesPages(input *ListAliasesInput, fn func(*ListAliasesOutput, bool) bool) error { return c.ListAliasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8105,14 +8090,13 @@ const opListBuilds = "ListBuilds" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBuildsRequest method. +// req, resp := client.ListBuildsRequest(params) // -// // Example sending a request using the ListBuildsRequest method. -// req, resp := client.ListBuildsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListBuilds func (c *GameLift) ListBuildsRequest(input *ListBuildsInput) (req *request.Request, output *ListBuildsOutput) { @@ -8148,9 +8132,9 @@ func (c *GameLift) ListBuildsRequest(input *ListBuildsInput) (req *request.Reque // // Learn more // -// Upload a Custom Server Build (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-intro.html) +// Upload a Custom Server Build (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-intro.html) // -// Related actions +// # Related actions // // CreateBuild | ListBuilds | DescribeBuild | UpdateBuild | DeleteBuild | All // APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -8163,17 +8147,18 @@ func (c *GameLift) ListBuildsRequest(input *ListBuildsInput) (req *request.Reque // API operation ListBuilds for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListBuilds func (c *GameLift) ListBuilds(input *ListBuildsInput) (*ListBuildsOutput, error) { @@ -8205,15 +8190,14 @@ func (c *GameLift) ListBuildsWithContext(ctx aws.Context, input *ListBuildsInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBuilds operation. -// pageNum := 0 -// err := client.ListBuildsPages(params, -// func(page *gamelift.ListBuildsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBuilds operation. +// pageNum := 0 +// err := client.ListBuildsPages(params, +// func(page *gamelift.ListBuildsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) ListBuildsPages(input *ListBuildsInput, fn func(*ListBuildsOutput, bool) bool) error { return c.ListBuildsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8265,14 +8249,13 @@ const opListFleets = "ListFleets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFleetsRequest method. +// req, resp := client.ListFleetsRequest(params) // -// // Example sending a request using the ListFleetsRequest method. -// req, resp := client.ListFleetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListFleets func (c *GameLift) ListFleetsRequest(input *ListFleetsInput) (req *request.Request, output *ListFleetsOutput) { @@ -8310,14 +8293,14 @@ func (c *GameLift) ListFleetsRequest(input *ListFleetsInput) (req *request.Reque // // This operation can be used in the following ways: // -// * To get a list of all fleets in a Region, don't provide a build or script -// identifier. +// - To get a list of all fleets in a Region, don't provide a build or script +// identifier. // -// * To get a list of all fleets where a specific custom game build is deployed, -// provide the build ID. +// - To get a list of all fleets where a specific custom game build is deployed, +// provide the build ID. // -// * To get a list of all Realtime Servers fleets with a specific configuration -// script, provide the script ID. +// - To get a list of all Realtime Servers fleets with a specific configuration +// script, provide the script ID. // // Use the pagination parameters to retrieve results as a set of sequential // pages. @@ -8327,11 +8310,11 @@ func (c *GameLift) ListFleetsRequest(input *ListFleetsInput) (req *request.Reque // // Fleet resources are not listed in a particular order. // -// Learn more +// # Learn more // // Setting up GameLift fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // -// Related actions +// # Related actions // // CreateFleet | UpdateFleetCapacity | PutScalingPolicy | DescribeEC2InstanceLimits // | DescribeFleetAttributes | DescribeFleetLocationAttributes | UpdateFleetAttributes @@ -8345,21 +8328,22 @@ func (c *GameLift) ListFleetsRequest(input *ListFleetsInput) (req *request.Reque // API operation ListFleets for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListFleets func (c *GameLift) ListFleets(input *ListFleetsInput) (*ListFleetsOutput, error) { @@ -8391,15 +8375,14 @@ func (c *GameLift) ListFleetsWithContext(ctx aws.Context, input *ListFleetsInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFleets operation. -// pageNum := 0 -// err := client.ListFleetsPages(params, -// func(page *gamelift.ListFleetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFleets operation. +// pageNum := 0 +// err := client.ListFleetsPages(params, +// func(page *gamelift.ListFleetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) ListFleetsPages(input *ListFleetsInput, fn func(*ListFleetsOutput, bool) bool) error { return c.ListFleetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8451,14 +8434,13 @@ const opListGameServerGroups = "ListGameServerGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGameServerGroupsRequest method. +// req, resp := client.ListGameServerGroupsRequest(params) // -// // Example sending a request using the ListGameServerGroupsRequest method. -// req, resp := client.ListGameServerGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListGameServerGroups func (c *GameLift) ListGameServerGroupsRequest(input *ListGameServerGroupsInput) (req *request.Request, output *ListGameServerGroupsOutput) { @@ -8492,11 +8474,11 @@ func (c *GameLift) ListGameServerGroupsRequest(input *ListGameServerGroupsInput) // Amazon Web Services account for the selected Region. Use the pagination parameters // to retrieve results in a set of sequential segments. // -// Learn more +// # Learn more // // GameLift FleetIQ Guide (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html) // -// Related actions +// # Related actions // // CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | // UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup @@ -8510,17 +8492,18 @@ func (c *GameLift) ListGameServerGroupsRequest(input *ListGameServerGroupsInput) // API operation ListGameServerGroups for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListGameServerGroups func (c *GameLift) ListGameServerGroups(input *ListGameServerGroupsInput) (*ListGameServerGroupsOutput, error) { @@ -8552,15 +8535,14 @@ func (c *GameLift) ListGameServerGroupsWithContext(ctx aws.Context, input *ListG // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGameServerGroups operation. -// pageNum := 0 -// err := client.ListGameServerGroupsPages(params, -// func(page *gamelift.ListGameServerGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGameServerGroups operation. +// pageNum := 0 +// err := client.ListGameServerGroupsPages(params, +// func(page *gamelift.ListGameServerGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) ListGameServerGroupsPages(input *ListGameServerGroupsInput, fn func(*ListGameServerGroupsOutput, bool) bool) error { return c.ListGameServerGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8612,14 +8594,13 @@ const opListGameServers = "ListGameServers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGameServersRequest method. +// req, resp := client.ListGameServersRequest(params) // -// // Example sending a request using the ListGameServersRequest method. -// req, resp := client.ListGameServersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListGameServers func (c *GameLift) ListGameServersRequest(input *ListGameServersInput) (req *request.Request, output *ListGameServersOutput) { @@ -8654,11 +8635,11 @@ func (c *GameLift) ListGameServersRequest(input *ListGameServersInput) (req *req // age. Use the pagination parameters to retrieve results in a set of sequential // segments. // -// Learn more +// # Learn more // // GameLift FleetIQ Guide (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html) // -// Related actions +// # Related actions // // RegisterGameServer | ListGameServers | ClaimGameServer | DescribeGameServer // | UpdateGameServer | DeregisterGameServer | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/reference-awssdk-fleetiq.html) @@ -8671,17 +8652,18 @@ func (c *GameLift) ListGameServersRequest(input *ListGameServersInput) (req *req // API operation ListGameServers for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListGameServers func (c *GameLift) ListGameServers(input *ListGameServersInput) (*ListGameServersOutput, error) { @@ -8713,15 +8695,14 @@ func (c *GameLift) ListGameServersWithContext(ctx aws.Context, input *ListGameSe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGameServers operation. -// pageNum := 0 -// err := client.ListGameServersPages(params, -// func(page *gamelift.ListGameServersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGameServers operation. +// pageNum := 0 +// err := client.ListGameServersPages(params, +// func(page *gamelift.ListGameServersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) ListGameServersPages(input *ListGameServersInput, fn func(*ListGameServersOutput, bool) bool) error { return c.ListGameServersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8773,14 +8754,13 @@ const opListScripts = "ListScripts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListScriptsRequest method. +// req, resp := client.ListScriptsRequest(params) // -// // Example sending a request using the ListScriptsRequest method. -// req, resp := client.ListScriptsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListScripts func (c *GameLift) ListScriptsRequest(input *ListScriptsInput) (req *request.Request, output *ListScriptsOutput) { @@ -8810,11 +8790,11 @@ func (c *GameLift) ListScriptsRequest(input *ListScriptsInput) (req *request.Req // Retrieves script records for all Realtime scripts that are associated with // the Amazon Web Services account in use. // -// Learn more +// # Learn more // // Amazon GameLift Realtime Servers (https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-intro.html) // -// Related actions +// # Related actions // // CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript // | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -8827,17 +8807,18 @@ func (c *GameLift) ListScriptsRequest(input *ListScriptsInput) (req *request.Req // API operation ListScripts for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListScripts func (c *GameLift) ListScripts(input *ListScriptsInput) (*ListScriptsOutput, error) { @@ -8869,15 +8850,14 @@ func (c *GameLift) ListScriptsWithContext(ctx aws.Context, input *ListScriptsInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListScripts operation. -// pageNum := 0 -// err := client.ListScriptsPages(params, -// func(page *gamelift.ListScriptsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListScripts operation. +// pageNum := 0 +// err := client.ListScriptsPages(params, +// func(page *gamelift.ListScriptsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) ListScriptsPages(input *ListScriptsInput, fn func(*ListScriptsOutput, bool) bool) error { return c.ListScriptsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8929,14 +8909,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListTagsForResource func (c *GameLift) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -8962,30 +8941,30 @@ func (c *GameLift) ListTagsForResourceRequest(input *ListTagsForResourceInput) ( // This operation handles the permissions necessary to manage tags for the following // GameLift resource types: // -// * Build +// - Build // -// * Script +// - Script // -// * Fleet +// - Fleet // -// * Alias +// - Alias // -// * GameSessionQueue +// - GameSessionQueue // -// * MatchmakingConfiguration +// - MatchmakingConfiguration // -// * MatchmakingRuleSet +// - MatchmakingRuleSet // // To list tags for a resource, specify the unique ARN value for the resource. // -// Learn more +// # Learn more // // Tagging Amazon Web Services Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) // in the Amazon Web Services General Reference // -// Amazon Web Services Tagging Strategies (http://aws.amazon.com/answers/account-management/aws-tagging-strategies/) +// Amazon Web Services Tagging Strategies (http://aws.amazon.com/answers/account-management/aws-tagging-strategies/) // -// Related actions +// # Related actions // // TagResource | UntagResource | ListTagsForResource | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) // @@ -8997,23 +8976,24 @@ func (c *GameLift) ListTagsForResourceRequest(input *ListTagsForResourceInput) ( // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ListTagsForResource func (c *GameLift) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -9053,14 +9033,13 @@ const opPutScalingPolicy = "PutScalingPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutScalingPolicyRequest method. +// req, resp := client.PutScalingPolicyRequest(params) // -// // Example sending a request using the PutScalingPolicyRequest method. -// req, resp := client.PutScalingPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/PutScalingPolicy func (c *GameLift) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req *request.Request, output *PutScalingPolicyOutput) { @@ -9103,7 +9082,7 @@ func (c *GameLift) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req *r // Learn more about how to work with auto-scaling in Set Up Fleet Automatic // Scaling (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-autoscaling.html). // -// Target-based policy +// # Target-based policy // // A target-based policy tracks a single metric: PercentAvailableGameSessions. // This metric tells us how much of a fleet's hosting capacity is ready to host @@ -9127,7 +9106,7 @@ func (c *GameLift) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req *r // created. If the fleet's auto-scaling actions are temporarily suspended, the // new policy will be in force once the fleet actions are restarted. // -// Rule-based policy +// # Rule-based policy // // A rule-based policy tracks specified fleet metric, sets a threshold value, // and specifies the type of action to initiate when triggered. With a rule-based @@ -9156,7 +9135,7 @@ func (c *GameLift) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req *r // successfully created. If the fleet's auto-scaling actions are temporarily // suspended, the new policy will be in force once the fleet actions are restarted. // -// Related actions +// # Related actions // // DescribeFleetCapacity | UpdateFleetCapacity | DescribeEC2InstanceLimits | // PutScalingPolicy | DescribeScalingPolicies | DeleteScalingPolicy | StopFleetActions @@ -9170,21 +9149,22 @@ func (c *GameLift) PutScalingPolicyRequest(input *PutScalingPolicyInput) (req *r // API operation PutScalingPolicy for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/PutScalingPolicy func (c *GameLift) PutScalingPolicy(input *PutScalingPolicyInput) (*PutScalingPolicyOutput, error) { @@ -9224,14 +9204,13 @@ const opRegisterGameServer = "RegisterGameServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterGameServerRequest method. +// req, resp := client.RegisterGameServerRequest(params) // -// // Example sending a request using the RegisterGameServerRequest method. -// req, resp := client.RegisterGameServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/RegisterGameServer func (c *GameLift) RegisterGameServerRequest(input *RegisterGameServerInput) (req *request.Request, output *RegisterGameServerOutput) { @@ -9273,11 +9252,11 @@ func (c *GameLift) RegisterGameServerRequest(input *RegisterGameServerInput) (re // on is in the process of shutting down as part of instance balancing or scale-down // activity. // -// Learn more +// # Learn more // // GameLift FleetIQ Guide (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html) // -// Related actions +// # Related actions // // RegisterGameServer | ListGameServers | ClaimGameServer | DescribeGameServer // | UpdateGameServer | DeregisterGameServer | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/reference-awssdk-fleetiq.html) @@ -9290,26 +9269,27 @@ func (c *GameLift) RegisterGameServerRequest(input *RegisterGameServerInput) (re // API operation RegisterGameServer for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * LimitExceededException -// The requested operation would cause the resource to exceed the allowed service -// limit. Resolve the issue before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - LimitExceededException +// The requested operation would cause the resource to exceed the allowed service +// limit. Resolve the issue before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/RegisterGameServer func (c *GameLift) RegisterGameServer(input *RegisterGameServerInput) (*RegisterGameServerOutput, error) { @@ -9349,14 +9329,13 @@ const opRequestUploadCredentials = "RequestUploadCredentials" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RequestUploadCredentialsRequest method. +// req, resp := client.RequestUploadCredentialsRequest(params) // -// // Example sending a request using the RequestUploadCredentialsRequest method. -// req, resp := client.RequestUploadCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/RequestUploadCredentials func (c *GameLift) RequestUploadCredentialsRequest(input *RequestUploadCredentialsInput) (req *request.Request, output *RequestUploadCredentialsOutput) { @@ -9387,9 +9366,9 @@ func (c *GameLift) RequestUploadCredentialsRequest(input *RequestUploadCredentia // // Learn more // -// Create a Build with Files in S3 (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-cli-uploading.html#gamelift-build-cli-uploading-create-build) +// Create a Build with Files in S3 (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-cli-uploading.html#gamelift-build-cli-uploading-create-build) // -// Related actions +// # Related actions // // CreateBuild | ListBuilds | DescribeBuild | UpdateBuild | DeleteBuild | All // APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -9402,21 +9381,22 @@ func (c *GameLift) RequestUploadCredentialsRequest(input *RequestUploadCredentia // API operation RequestUploadCredentials for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/RequestUploadCredentials func (c *GameLift) RequestUploadCredentials(input *RequestUploadCredentialsInput) (*RequestUploadCredentialsOutput, error) { @@ -9456,14 +9436,13 @@ const opResolveAlias = "ResolveAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResolveAliasRequest method. +// req, resp := client.ResolveAliasRequest(params) // -// // Example sending a request using the ResolveAliasRequest method. -// req, resp := client.ResolveAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ResolveAlias func (c *GameLift) ResolveAliasRequest(input *ResolveAliasInput) (req *request.Request, output *ResolveAliasOutput) { @@ -9486,7 +9465,7 @@ func (c *GameLift) ResolveAliasRequest(input *ResolveAliasInput) (req *request.R // // Retrieves the fleet ID that an alias is currently pointing to. // -// Related actions +// # Related actions // // CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias // | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -9499,28 +9478,29 @@ func (c *GameLift) ResolveAliasRequest(input *ResolveAliasInput) (req *request.R // API operation ResolveAlias for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * TerminalRoutingStrategyException -// The service is unable to resolve the routing for a particular alias because -// it has a terminal RoutingStrategy associated with it. The message returned -// in this exception is the message defined in the routing strategy itself. -// Such requests should only be retried if the routing strategy for the specified -// alias is modified. +// - TerminalRoutingStrategyException +// The service is unable to resolve the routing for a particular alias because +// it has a terminal RoutingStrategy associated with it. The message returned +// in this exception is the message defined in the routing strategy itself. +// Such requests should only be retried if the routing strategy for the specified +// alias is modified. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ResolveAlias func (c *GameLift) ResolveAlias(input *ResolveAliasInput) (*ResolveAliasOutput, error) { @@ -9560,14 +9540,13 @@ const opResumeGameServerGroup = "ResumeGameServerGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResumeGameServerGroupRequest method. +// req, resp := client.ResumeGameServerGroupRequest(params) // -// // Example sending a request using the ResumeGameServerGroupRequest method. -// req, resp := client.ResumeGameServerGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ResumeGameServerGroup func (c *GameLift) ResumeGameServerGroupRequest(input *ResumeGameServerGroupInput) (req *request.Request, output *ResumeGameServerGroupOutput) { @@ -9602,11 +9581,11 @@ func (c *GameLift) ResumeGameServerGroupRequest(input *ResumeGameServerGroupInpu // to be resumed. If successful, a GameServerGroup object is returned showing // that the resumed activity is no longer listed in SuspendedActions. // -// Learn more +// # Learn more // // GameLift FleetIQ Guide (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html) // -// Related actions +// # Related actions // // CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | // UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup @@ -9620,21 +9599,22 @@ func (c *GameLift) ResumeGameServerGroupRequest(input *ResumeGameServerGroupInpu // API operation ResumeGameServerGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ResumeGameServerGroup func (c *GameLift) ResumeGameServerGroup(input *ResumeGameServerGroupInput) (*ResumeGameServerGroupOutput, error) { @@ -9674,14 +9654,13 @@ const opSearchGameSessions = "SearchGameSessions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchGameSessionsRequest method. +// req, resp := client.SearchGameSessionsRequest(params) // -// // Example sending a request using the SearchGameSessionsRequest method. -// req, resp := client.SearchGameSessionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/SearchGameSessions func (c *GameLift) SearchGameSessionsRequest(input *SearchGameSessionsInput) (req *request.Request, output *SearchGameSessionsOutput) { @@ -9724,14 +9703,14 @@ func (c *GameLift) SearchGameSessionsRequest(input *SearchGameSessionsInput) (re // // This operation can be used in the following ways: // -// * To search all game sessions that are currently running on all locations -// in a fleet, provide a fleet or alias ID. This approach returns game sessions -// in the fleet's home Region and all remote locations that fit the search -// criteria. +// - To search all game sessions that are currently running on all locations +// in a fleet, provide a fleet or alias ID. This approach returns game sessions +// in the fleet's home Region and all remote locations that fit the search +// criteria. // -// * To search all game sessions that are currently running on a specific -// fleet location, provide a fleet or alias ID and a location name. For location, -// you can specify a fleet's home Region or any remote location. +// - To search all game sessions that are currently running on a specific +// fleet location, provide a fleet or alias ID and a location name. For location, +// you can specify a fleet's home Region or any remote location. // // Use the pagination parameters to retrieve results as a set of sequential // pages. @@ -9742,43 +9721,43 @@ func (c *GameLift) SearchGameSessionsRequest(input *SearchGameSessionsInput) (re // // You can search or sort by the following game session attributes: // -// * gameSessionId -- A unique identifier for the game session. You can use -// either a GameSessionId or GameSessionArn value. +// - gameSessionId -- A unique identifier for the game session. You can use +// either a GameSessionId or GameSessionArn value. // -// * gameSessionName -- Name assigned to a game session. This value is set -// when requesting a new game session with CreateGameSession or updating -// with UpdateGameSession. Game session names do not need to be unique to -// a game session. +// - gameSessionName -- Name assigned to a game session. This value is set +// when requesting a new game session with CreateGameSession or updating +// with UpdateGameSession. Game session names do not need to be unique to +// a game session. // -// * gameSessionProperties -- Custom data defined in a game session's GameProperty -// parameter. GameProperty values are stored as key:value pairs; the filter -// expression must indicate the key and a string to search the data values -// for. For example, to search for game sessions with custom data containing -// the key:value pair "gameMode:brawl", specify the following: gameSessionProperties.gameMode -// = "brawl". All custom data values are searched as strings. +// - gameSessionProperties -- Custom data defined in a game session's GameProperty +// parameter. GameProperty values are stored as key:value pairs; the filter +// expression must indicate the key and a string to search the data values +// for. For example, to search for game sessions with custom data containing +// the key:value pair "gameMode:brawl", specify the following: gameSessionProperties.gameMode +// = "brawl". All custom data values are searched as strings. // -// * maximumSessions -- Maximum number of player sessions allowed for a game -// session. This value is set when requesting a new game session with CreateGameSession -// or updating with UpdateGameSession. +// - maximumSessions -- Maximum number of player sessions allowed for a game +// session. This value is set when requesting a new game session with CreateGameSession +// or updating with UpdateGameSession. // -// * creationTimeMillis -- Value indicating when a game session was created. -// It is expressed in Unix time as milliseconds. +// - creationTimeMillis -- Value indicating when a game session was created. +// It is expressed in Unix time as milliseconds. // -// * playerSessionCount -- Number of players currently connected to a game -// session. This value changes rapidly as players join the session or drop -// out. +// - playerSessionCount -- Number of players currently connected to a game +// session. This value changes rapidly as players join the session or drop +// out. // -// * hasAvailablePlayerSessions -- Boolean value indicating whether a game -// session has reached its maximum number of players. It is highly recommended -// that all search requests include this filter attribute to optimize search -// performance and return only sessions that players can join. +// - hasAvailablePlayerSessions -- Boolean value indicating whether a game +// session has reached its maximum number of players. It is highly recommended +// that all search requests include this filter attribute to optimize search +// performance and return only sessions that players can join. // // Returned values for playerSessionCount and hasAvailablePlayerSessions change // quickly as players join sessions and others drop out. Results should be considered // a snapshot in time. Be sure to refresh search results often, and handle sessions // that fill up before a player can join. // -// Related actions +// # Related actions // // CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions // | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | @@ -9793,31 +9772,32 @@ func (c *GameLift) SearchGameSessionsRequest(input *SearchGameSessionsInput) (re // API operation SearchGameSessions for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * TerminalRoutingStrategyException -// The service is unable to resolve the routing for a particular alias because -// it has a terminal RoutingStrategy associated with it. The message returned -// in this exception is the message defined in the routing strategy itself. -// Such requests should only be retried if the routing strategy for the specified -// alias is modified. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - TerminalRoutingStrategyException +// The service is unable to resolve the routing for a particular alias because +// it has a terminal RoutingStrategy associated with it. The message returned +// in this exception is the message defined in the routing strategy itself. +// Such requests should only be retried if the routing strategy for the specified +// alias is modified. +// +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/SearchGameSessions func (c *GameLift) SearchGameSessions(input *SearchGameSessionsInput) (*SearchGameSessionsOutput, error) { @@ -9849,15 +9829,14 @@ func (c *GameLift) SearchGameSessionsWithContext(ctx aws.Context, input *SearchG // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchGameSessions operation. -// pageNum := 0 -// err := client.SearchGameSessionsPages(params, -// func(page *gamelift.SearchGameSessionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchGameSessions operation. +// pageNum := 0 +// err := client.SearchGameSessionsPages(params, +// func(page *gamelift.SearchGameSessionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameLift) SearchGameSessionsPages(input *SearchGameSessionsInput, fn func(*SearchGameSessionsOutput, bool) bool) error { return c.SearchGameSessionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9909,14 +9888,13 @@ const opStartFleetActions = "StartFleetActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartFleetActionsRequest method. +// req, resp := client.StartFleetActionsRequest(params) // -// // Example sending a request using the StartFleetActionsRequest method. -// req, resp := client.StartFleetActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartFleetActions func (c *GameLift) StartFleetActionsRequest(input *StartFleetActionsInput) (req *request.Request, output *StartFleetActionsOutput) { @@ -9944,22 +9922,22 @@ func (c *GameLift) StartFleetActionsRequest(input *StartFleetActionsInput) (req // // This operation can be used in the following ways: // -// * To restart actions on instances in the fleet's home Region, provide -// a fleet ID and the type of actions to resume. +// - To restart actions on instances in the fleet's home Region, provide +// a fleet ID and the type of actions to resume. // -// * To restart actions on instances in one of the fleet's remote locations, -// provide a fleet ID, a location name, and the type of actions to resume. +// - To restart actions on instances in one of the fleet's remote locations, +// provide a fleet ID, a location name, and the type of actions to resume. // // If successful, GameLift once again initiates scaling events as triggered // by the fleet's scaling policies. If actions on the fleet location were never // stopped, this operation will have no effect. You can view a fleet's stopped // actions using DescribeFleetAttributes or DescribeFleetLocationAttributes. // -// Learn more +// # Learn more // // Setting up GameLift fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // -// Related actions +// # Related actions // // CreateFleet | UpdateFleetCapacity | PutScalingPolicy | DescribeEC2InstanceLimits // | DescribeFleetAttributes | DescribeFleetLocationAttributes | UpdateFleetAttributes @@ -9973,24 +9951,25 @@ func (c *GameLift) StartFleetActionsRequest(input *StartFleetActionsInput) (req // API operation StartFleetActions for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartFleetActions func (c *GameLift) StartFleetActions(input *StartFleetActionsInput) (*StartFleetActionsOutput, error) { @@ -10030,14 +10009,13 @@ const opStartGameSessionPlacement = "StartGameSessionPlacement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartGameSessionPlacementRequest method. +// req, resp := client.StartGameSessionPlacementRequest(params) // -// // Example sending a request using the StartGameSessionPlacementRequest method. -// req, resp := client.StartGameSessionPlacementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartGameSessionPlacement func (c *GameLift) StartGameSessionPlacementRequest(input *StartGameSessionPlacementInput) (req *request.Request, output *StartGameSessionPlacementOutput) { @@ -10081,17 +10059,17 @@ func (c *GameLift) StartGameSessionPlacementRequest(input *StartGameSessionPlace // // To place a new game session request, specify the following: // -// * The queue name and a set of game session properties and settings +// - The queue name and a set of game session properties and settings // -// * A unique ID (such as a UUID) for the placement. You use this ID to track -// the status of the placement request +// - A unique ID (such as a UUID) for the placement. You use this ID to track +// the status of the placement request // -// * (Optional) A set of player data and a unique player ID for each player -// that you are joining to the new game session (player data is optional, -// but if you include it, you must also provide a unique ID for each player) +// - (Optional) A set of player data and a unique player ID for each player +// that you are joining to the new game session (player data is optional, +// but if you include it, you must also provide a unique ID for each player) // -// * Latency data for all players (if you want to optimize game play for -// the players) +// - Latency data for all players (if you want to optimize game play for +// the players) // // If successful, a new game session placement is created. // @@ -10101,7 +10079,7 @@ func (c *GameLift) StartGameSessionPlacementRequest(input *StartGameSessionPlace // placement request times out, you can resubmit the request or retry it with // a different queue. // -// Related actions +// # Related actions // // CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions // | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | @@ -10116,21 +10094,22 @@ func (c *GameLift) StartGameSessionPlacementRequest(input *StartGameSessionPlace // API operation StartGameSessionPlacement for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartGameSessionPlacement func (c *GameLift) StartGameSessionPlacement(input *StartGameSessionPlacementInput) (*StartGameSessionPlacementOutput, error) { @@ -10170,14 +10149,13 @@ const opStartMatchBackfill = "StartMatchBackfill" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMatchBackfillRequest method. +// req, resp := client.StartMatchBackfillRequest(params) // -// // Example sending a request using the StartMatchBackfillRequest method. -// req, resp := client.StartMatchBackfillRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartMatchBackfill func (c *GameLift) StartMatchBackfillRequest(input *StartMatchBackfillInput) (req *request.Request, output *StartMatchBackfillOutput) { @@ -10231,14 +10209,14 @@ func (c *GameLift) StartMatchBackfillRequest(input *StartMatchBackfillInput) (re // // Learn more // -// Backfill existing games with FlexMatch (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-backfill.html) +// Backfill existing games with FlexMatch (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-backfill.html) // -// Matchmaking events (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-events.html) -// (reference) +// Matchmaking events (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-events.html) +// (reference) // -// How GameLift FlexMatch works (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/gamelift-match.html) +// How GameLift FlexMatch works (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/gamelift-match.html) // -// Related actions +// # Related actions // // StartMatchmaking | DescribeMatchmaking | StopMatchmaking | AcceptMatch | // StartMatchBackfill | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -10251,21 +10229,22 @@ func (c *GameLift) StartMatchBackfillRequest(input *StartMatchBackfillInput) (re // API operation StartMatchBackfill for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartMatchBackfill func (c *GameLift) StartMatchBackfill(input *StartMatchBackfillInput) (*StartMatchBackfillOutput, error) { @@ -10305,14 +10284,13 @@ const opStartMatchmaking = "StartMatchmaking" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMatchmakingRequest method. +// req, resp := client.StartMatchmakingRequest(params) // -// // Example sending a request using the StartMatchmakingRequest method. -// req, resp := client.StartMatchmakingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartMatchmaking func (c *GameLift) StartMatchmakingRequest(input *StartMatchmakingInput) (req *request.Request, output *StartMatchmakingOutput) { @@ -10354,13 +10332,13 @@ func (c *GameLift) StartMatchmakingRequest(input *StartMatchmakingInput) (req *r // // Learn more // -// Add FlexMatch to a game client (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-client.html) +// Add FlexMatch to a game client (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-client.html) // -// Set Up FlexMatch event notification (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-notification.html) +// Set Up FlexMatch event notification (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-notification.html) // -// How GameLift FlexMatch works (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/gamelift-match.html) +// How GameLift FlexMatch works (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/gamelift-match.html) // -// Related actions +// # Related actions // // StartMatchmaking | DescribeMatchmaking | StopMatchmaking | AcceptMatch | // StartMatchBackfill | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -10373,21 +10351,22 @@ func (c *GameLift) StartMatchmakingRequest(input *StartMatchmakingInput) (req *r // API operation StartMatchmaking for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StartMatchmaking func (c *GameLift) StartMatchmaking(input *StartMatchmakingInput) (*StartMatchmakingOutput, error) { @@ -10427,14 +10406,13 @@ const opStopFleetActions = "StopFleetActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopFleetActionsRequest method. +// req, resp := client.StopFleetActionsRequest(params) // -// // Example sending a request using the StopFleetActionsRequest method. -// req, resp := client.StopFleetActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StopFleetActions func (c *GameLift) StopFleetActionsRequest(input *StopFleetActionsInput) (req *request.Request, output *StopFleetActionsOutput) { @@ -10466,22 +10444,22 @@ func (c *GameLift) StopFleetActionsRequest(input *StopFleetActionsInput) (req *r // // This operation can be used in the following ways: // -// * To stop actions on instances in the fleet's home Region, provide a fleet -// ID and the type of actions to suspend. +// - To stop actions on instances in the fleet's home Region, provide a fleet +// ID and the type of actions to suspend. // -// * To stop actions on instances in one of the fleet's remote locations, -// provide a fleet ID, a location name, and the type of actions to suspend. +// - To stop actions on instances in one of the fleet's remote locations, +// provide a fleet ID, a location name, and the type of actions to suspend. // // If successful, GameLift no longer initiates scaling events except in response // to manual changes using UpdateFleetCapacity. You can view a fleet's stopped // actions using DescribeFleetAttributes or DescribeFleetLocationAttributes. // Suspended activity can be restarted using StartFleetActions. // -// Learn more +// # Learn more // // Setting up GameLift Fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // -// Related actions +// # Related actions // // CreateFleet | UpdateFleetCapacity | PutScalingPolicy | DescribeEC2InstanceLimits // | DescribeFleetAttributes | DescribeFleetLocationAttributes | UpdateFleetAttributes @@ -10495,24 +10473,25 @@ func (c *GameLift) StopFleetActionsRequest(input *StopFleetActionsInput) (req *r // API operation StopFleetActions for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StopFleetActions func (c *GameLift) StopFleetActions(input *StopFleetActionsInput) (*StopFleetActionsOutput, error) { @@ -10552,14 +10531,13 @@ const opStopGameSessionPlacement = "StopGameSessionPlacement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopGameSessionPlacementRequest method. +// req, resp := client.StopGameSessionPlacementRequest(params) // -// // Example sending a request using the StopGameSessionPlacementRequest method. -// req, resp := client.StopGameSessionPlacementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StopGameSessionPlacement func (c *GameLift) StopGameSessionPlacementRequest(input *StopGameSessionPlacementInput) (req *request.Request, output *StopGameSessionPlacementOutput) { @@ -10584,7 +10562,7 @@ func (c *GameLift) StopGameSessionPlacementRequest(input *StopGameSessionPlaceme // provide the placement ID values. If successful, the placement is moved to // CANCELLED status. // -// Related actions +// # Related actions // // CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions // | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | @@ -10599,21 +10577,22 @@ func (c *GameLift) StopGameSessionPlacementRequest(input *StopGameSessionPlaceme // API operation StopGameSessionPlacement for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StopGameSessionPlacement func (c *GameLift) StopGameSessionPlacement(input *StopGameSessionPlacementInput) (*StopGameSessionPlacementOutput, error) { @@ -10653,14 +10632,13 @@ const opStopMatchmaking = "StopMatchmaking" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopMatchmakingRequest method. +// req, resp := client.StopMatchmakingRequest(params) // -// // Example sending a request using the StopMatchmakingRequest method. -// req, resp := client.StopMatchmakingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StopMatchmaking func (c *GameLift) StopMatchmakingRequest(input *StopMatchmakingInput) (req *request.Request, output *StopMatchmakingOutput) { @@ -10696,9 +10674,9 @@ func (c *GameLift) StopMatchmakingRequest(input *StopMatchmakingInput) (req *req // // Learn more // -// Add FlexMatch to a game client (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-client.html) +// Add FlexMatch to a game client (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-client.html) // -// Related actions +// # Related actions // // StartMatchmaking | DescribeMatchmaking | StopMatchmaking | AcceptMatch | // StartMatchBackfill | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -10711,21 +10689,22 @@ func (c *GameLift) StopMatchmakingRequest(input *StopMatchmakingInput) (req *req // API operation StopMatchmaking for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/StopMatchmaking func (c *GameLift) StopMatchmaking(input *StopMatchmakingInput) (*StopMatchmakingOutput, error) { @@ -10765,14 +10744,13 @@ const opSuspendGameServerGroup = "SuspendGameServerGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SuspendGameServerGroupRequest method. +// req, resp := client.SuspendGameServerGroupRequest(params) // -// // Example sending a request using the SuspendGameServerGroupRequest method. -// req, resp := client.SuspendGameServerGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/SuspendGameServerGroup func (c *GameLift) SuspendGameServerGroupRequest(input *SuspendGameServerGroupInput) (req *request.Request, output *SuspendGameServerGroupOutput) { @@ -10800,24 +10778,24 @@ func (c *GameLift) SuspendGameServerGroupRequest(input *SuspendGameServerGroupIn // or the game server group. You can restart activity by calling ResumeGameServerGroup. // You can suspend the following activity: // -// * Instance type replacement - This activity evaluates the current game -// hosting viability of all Spot instance types that are defined for the -// game server group. It updates the Auto Scaling group to remove nonviable -// Spot Instance types, which have a higher chance of game server interruptions. -// It then balances capacity across the remaining viable Spot Instance types. -// When this activity is suspended, the Auto Scaling group continues with -// its current balance, regardless of viability. Instance protection, utilization -// metrics, and capacity scaling activities continue to be active. +// - Instance type replacement - This activity evaluates the current game +// hosting viability of all Spot instance types that are defined for the +// game server group. It updates the Auto Scaling group to remove nonviable +// Spot Instance types, which have a higher chance of game server interruptions. +// It then balances capacity across the remaining viable Spot Instance types. +// When this activity is suspended, the Auto Scaling group continues with +// its current balance, regardless of viability. Instance protection, utilization +// metrics, and capacity scaling activities continue to be active. // // To suspend activity, specify a game server group ARN and the type of activity // to be suspended. If successful, a GameServerGroup object is returned showing // that the activity is listed in SuspendedActions. // -// Learn more +// # Learn more // // GameLift FleetIQ Guide (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html) // -// Related actions +// # Related actions // // CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | // UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup @@ -10831,21 +10809,22 @@ func (c *GameLift) SuspendGameServerGroupRequest(input *SuspendGameServerGroupIn // API operation SuspendGameServerGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/SuspendGameServerGroup func (c *GameLift) SuspendGameServerGroup(input *SuspendGameServerGroupInput) (*SuspendGameServerGroupOutput, error) { @@ -10885,14 +10864,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/TagResource func (c *GameLift) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -10921,33 +10899,33 @@ func (c *GameLift) TagResourceRequest(input *TagResourceInput) (req *request.Req // the permissions necessary to manage tags for the following GameLift resource // types: // -// * Build +// - Build // -// * Script +// - Script // -// * Fleet +// - Fleet // -// * Alias +// - Alias // -// * GameSessionQueue +// - GameSessionQueue // -// * MatchmakingConfiguration +// - MatchmakingConfiguration // -// * MatchmakingRuleSet +// - MatchmakingRuleSet // // To add a tag to a resource, specify the unique ARN value for the resource // and provide a tag list containing one or more tags. The operation succeeds // even if the list includes tags that are already assigned to the specified // resource. // -// Learn more +// # Learn more // // Tagging Amazon Web Services Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) // in the Amazon Web Services General Reference // -// Amazon Web Services Tagging Strategies (http://aws.amazon.com/answers/account-management/aws-tagging-strategies/) +// Amazon Web Services Tagging Strategies (http://aws.amazon.com/answers/account-management/aws-tagging-strategies/) // -// Related actions +// # Related actions // // TagResource | UntagResource | ListTagsForResource | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) // @@ -10959,23 +10937,24 @@ func (c *GameLift) TagResourceRequest(input *TagResourceInput) (req *request.Req // API operation TagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/TagResource func (c *GameLift) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -11015,14 +10994,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UntagResource func (c *GameLift) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -11049,33 +11027,33 @@ func (c *GameLift) UntagResourceRequest(input *UntagResourceInput) (req *request // operation handles the permissions necessary to manage tags for the following // GameLift resource types: // -// * Build +// - Build // -// * Script +// - Script // -// * Fleet +// - Fleet // -// * Alias +// - Alias // -// * GameSessionQueue +// - GameSessionQueue // -// * MatchmakingConfiguration +// - MatchmakingConfiguration // -// * MatchmakingRuleSet +// - MatchmakingRuleSet // // To remove a tag from a resource, specify the unique ARN value for the resource // and provide a string list containing one or more tags to be removed. This // operation succeeds even if the list includes tags that are not currently // assigned to the specified resource. // -// Learn more +// # Learn more // // Tagging Amazon Web Services Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) // in the Amazon Web Services General Reference // -// Amazon Web Services Tagging Strategies (http://aws.amazon.com/answers/account-management/aws-tagging-strategies/) +// Amazon Web Services Tagging Strategies (http://aws.amazon.com/answers/account-management/aws-tagging-strategies/) // -// Related actions +// # Related actions // // TagResource | UntagResource | ListTagsForResource | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) // @@ -11087,23 +11065,24 @@ func (c *GameLift) UntagResourceRequest(input *UntagResourceInput) (req *request // API operation UntagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * TaggingFailedException -// The requested tagging operation did not succeed. This may be due to invalid -// tag format or the maximum tag limit may have been exceeded. Resolve the issue -// before retrying. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - TaggingFailedException +// The requested tagging operation did not succeed. This may be due to invalid +// tag format or the maximum tag limit may have been exceeded. Resolve the issue +// before retrying. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UntagResource func (c *GameLift) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -11143,14 +11122,13 @@ const opUpdateAlias = "UpdateAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAliasRequest method. +// req, resp := client.UpdateAliasRequest(params) // -// // Example sending a request using the UpdateAliasRequest method. -// req, resp := client.UpdateAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateAlias func (c *GameLift) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Request, output *UpdateAliasOutput) { @@ -11176,7 +11154,7 @@ func (c *GameLift) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Req // alias to another fleet, provide an updated routing strategy. If successful, // the updated alias record is returned. // -// Related actions +// # Related actions // // CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias // | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -11189,21 +11167,22 @@ func (c *GameLift) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Req // API operation UpdateAlias for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateAlias func (c *GameLift) UpdateAlias(input *UpdateAliasInput) (*UpdateAliasOutput, error) { @@ -11243,14 +11222,13 @@ const opUpdateBuild = "UpdateBuild" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBuildRequest method. +// req, resp := client.UpdateBuildRequest(params) // -// // Example sending a request using the UpdateBuildRequest method. -// req, resp := client.UpdateBuildRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateBuild func (c *GameLift) UpdateBuildRequest(input *UpdateBuildInput) (req *request.Request, output *UpdateBuildOutput) { @@ -11278,9 +11256,9 @@ func (c *GameLift) UpdateBuildRequest(input *UpdateBuildInput) (req *request.Req // // Learn more // -// Upload a Custom Server Build (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-intro.html) +// Upload a Custom Server Build (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-build-intro.html) // -// Related actions +// # Related actions // // CreateBuild | ListBuilds | DescribeBuild | UpdateBuild | DeleteBuild | All // APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -11293,21 +11271,22 @@ func (c *GameLift) UpdateBuildRequest(input *UpdateBuildInput) (req *request.Req // API operation UpdateBuild for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateBuild func (c *GameLift) UpdateBuild(input *UpdateBuildInput) (*UpdateBuildOutput, error) { @@ -11347,14 +11326,13 @@ const opUpdateFleetAttributes = "UpdateFleetAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFleetAttributesRequest method. +// req, resp := client.UpdateFleetAttributesRequest(params) // -// // Example sending a request using the UpdateFleetAttributesRequest method. -// req, resp := client.UpdateFleetAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetAttributes func (c *GameLift) UpdateFleetAttributesRequest(input *UpdateFleetAttributesInput) (req *request.Request, output *UpdateFleetAttributesOutput) { @@ -11383,11 +11361,11 @@ func (c *GameLift) UpdateFleetAttributesRequest(input *UpdateFleetAttributesInpu // // If successful, an updated FleetAttributes object is returned. // -// Learn more +// # Learn more // // Setting up GameLift fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // -// Related actions +// # Related actions // // CreateFleetLocations | UpdateFleetAttributes | UpdateFleetCapacity | UpdateFleetPortSettings // | UpdateRuntimeConfiguration | StopFleetActions | StartFleetActions | PutScalingPolicy @@ -11402,35 +11380,36 @@ func (c *GameLift) UpdateFleetAttributesRequest(input *UpdateFleetAttributesInpu // API operation UpdateFleetAttributes for usage and error information. // // Returned Error Types: -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InvalidFleetStatusException -// The requested operation would cause a conflict with the current state of -// a resource associated with the request and/or the fleet. Resolve the conflict -// before retrying. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * LimitExceededException -// The requested operation would cause the resource to exceed the allowed service -// limit. Resolve the issue before retrying. +// - InvalidFleetStatusException +// The requested operation would cause a conflict with the current state of +// a resource associated with the request and/or the fleet. Resolve the conflict +// before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - LimitExceededException +// The requested operation would cause the resource to exceed the allowed service +// limit. Resolve the issue before retrying. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetAttributes func (c *GameLift) UpdateFleetAttributes(input *UpdateFleetAttributesInput) (*UpdateFleetAttributesOutput, error) { @@ -11470,14 +11449,13 @@ const opUpdateFleetCapacity = "UpdateFleetCapacity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFleetCapacityRequest method. +// req, resp := client.UpdateFleetCapacityRequest(params) // -// // Example sending a request using the UpdateFleetCapacityRequest method. -// req, resp := client.UpdateFleetCapacityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetCapacity func (c *GameLift) UpdateFleetCapacityRequest(input *UpdateFleetCapacityInput) (req *request.Request, output *UpdateFleetCapacityOutput) { @@ -11504,25 +11482,25 @@ func (c *GameLift) UpdateFleetCapacityRequest(input *UpdateFleetCapacityInput) ( // be hosted based on the fleet configuration. Use this operation to set the // following fleet capacity properties: // -// * Minimum/maximum size: Set hard limits on fleet capacity. GameLift cannot -// set the fleet's capacity to a value outside of this range, whether the -// capacity is changed manually or through automatic scaling. +// - Minimum/maximum size: Set hard limits on fleet capacity. GameLift cannot +// set the fleet's capacity to a value outside of this range, whether the +// capacity is changed manually or through automatic scaling. // -// * Desired capacity: Manually set the number of Amazon EC2 instances to -// be maintained in a fleet location. Before changing a fleet's desired capacity, -// you may want to call DescribeEC2InstanceLimits to get the maximum capacity -// of the fleet's Amazon EC2 instance type. Alternatively, consider using -// automatic scaling to adjust capacity based on player demand. +// - Desired capacity: Manually set the number of Amazon EC2 instances to +// be maintained in a fleet location. Before changing a fleet's desired capacity, +// you may want to call DescribeEC2InstanceLimits to get the maximum capacity +// of the fleet's Amazon EC2 instance type. Alternatively, consider using +// automatic scaling to adjust capacity based on player demand. // // This operation can be used in the following ways: // -// * To update capacity for a fleet's home Region, or if the fleet has no -// remote locations, omit the Location parameter. The fleet must be in ACTIVE -// status. +// - To update capacity for a fleet's home Region, or if the fleet has no +// remote locations, omit the Location parameter. The fleet must be in ACTIVE +// status. // -// * To update capacity for a fleet's remote location, include the Location -// parameter set to the location to be updated. The location must be in ACTIVE -// status. +// - To update capacity for a fleet's remote location, include the Location +// parameter set to the location to be updated. The location must be in ACTIVE +// status. // // If successful, capacity settings are updated immediately. In response a change // in desired capacity, GameLift initiates steps to start new instances or terminate @@ -11532,11 +11510,11 @@ func (c *GameLift) UpdateFleetCapacityRequest(input *UpdateFleetCapacityInput) ( // or DescribeFleetLocationCapacity. If the requested desired instance count // is higher than the instance type's limit, the LimitExceeded exception occurs. // -// Learn more +// # Learn more // // Scaling fleet capacity (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-manage-capacity.html) // -// Related actions +// # Related actions // // CreateFleetLocations | UpdateFleetAttributes | UpdateFleetCapacity | UpdateFleetPortSettings // | UpdateRuntimeConfiguration | StopFleetActions | StartFleetActions | PutScalingPolicy @@ -11551,38 +11529,39 @@ func (c *GameLift) UpdateFleetCapacityRequest(input *UpdateFleetCapacityInput) ( // API operation UpdateFleetCapacity for usage and error information. // // Returned Error Types: -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * LimitExceededException -// The requested operation would cause the resource to exceed the allowed service -// limit. Resolve the issue before retrying. +// - LimitExceededException +// The requested operation would cause the resource to exceed the allowed service +// limit. Resolve the issue before retrying. // -// * InvalidFleetStatusException -// The requested operation would cause a conflict with the current state of -// a resource associated with the request and/or the fleet. Resolve the conflict -// before retrying. +// - InvalidFleetStatusException +// The requested operation would cause a conflict with the current state of +// a resource associated with the request and/or the fleet. Resolve the conflict +// before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetCapacity func (c *GameLift) UpdateFleetCapacity(input *UpdateFleetCapacityInput) (*UpdateFleetCapacityOutput, error) { @@ -11622,14 +11601,13 @@ const opUpdateFleetPortSettings = "UpdateFleetPortSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFleetPortSettingsRequest method. +// req, resp := client.UpdateFleetPortSettingsRequest(params) // -// // Example sending a request using the UpdateFleetPortSettingsRequest method. -// req, resp := client.UpdateFleetPortSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetPortSettings func (c *GameLift) UpdateFleetPortSettingsRequest(input *UpdateFleetPortSettingsInput) (req *request.Request, output *UpdateFleetPortSettingsOutput) { @@ -11663,11 +11641,11 @@ func (c *GameLift) UpdateFleetPortSettingsRequest(input *UpdateFleetPortSettings // all locations. You can check the status of updates in each location by calling // DescribeFleetPortSettings with a location name. // -// Learn more +// # Learn more // // Setting up GameLift fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // -// Related actions +// # Related actions // // CreateFleetLocations | UpdateFleetAttributes | UpdateFleetCapacity | UpdateFleetPortSettings // | UpdateRuntimeConfiguration | StopFleetActions | StartFleetActions | PutScalingPolicy @@ -11682,35 +11660,36 @@ func (c *GameLift) UpdateFleetPortSettingsRequest(input *UpdateFleetPortSettings // API operation UpdateFleetPortSettings for usage and error information. // // Returned Error Types: -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. +// +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * InvalidFleetStatusException -// The requested operation would cause a conflict with the current state of -// a resource associated with the request and/or the fleet. Resolve the conflict -// before retrying. +// - InvalidFleetStatusException +// The requested operation would cause a conflict with the current state of +// a resource associated with the request and/or the fleet. Resolve the conflict +// before retrying. // -// * LimitExceededException -// The requested operation would cause the resource to exceed the allowed service -// limit. Resolve the issue before retrying. +// - LimitExceededException +// The requested operation would cause the resource to exceed the allowed service +// limit. Resolve the issue before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateFleetPortSettings func (c *GameLift) UpdateFleetPortSettings(input *UpdateFleetPortSettingsInput) (*UpdateFleetPortSettingsOutput, error) { @@ -11750,14 +11729,13 @@ const opUpdateGameServer = "UpdateGameServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGameServerRequest method. +// req, resp := client.UpdateGameServerRequest(params) // -// // Example sending a request using the UpdateGameServerRequest method. -// req, resp := client.UpdateGameServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateGameServer func (c *GameLift) UpdateGameServerRequest(input *UpdateGameServerInput) (req *request.Request, output *UpdateGameServerOutput) { @@ -11788,28 +11766,28 @@ func (c *GameLift) UpdateGameServerRequest(input *UpdateGameServerInput) (req *r // Use this operation to update the following types of game server information. // You can make all three types of updates in the same request: // -// * To update the game server's utilization status, identify the game server -// and game server group and specify the current utilization status. Use -// this status to identify when game servers are currently hosting games -// and when they are available to be claimed. +// - To update the game server's utilization status, identify the game server +// and game server group and specify the current utilization status. Use +// this status to identify when game servers are currently hosting games +// and when they are available to be claimed. // -// * To report health status, identify the game server and game server group -// and set health check to HEALTHY. If a game server does not report health -// status for a certain length of time, the game server is no longer considered -// healthy. As a result, it will be eventually deregistered from the game -// server group to avoid affecting utilization metrics. The best practice -// is to report health every 60 seconds. +// - To report health status, identify the game server and game server group +// and set health check to HEALTHY. If a game server does not report health +// status for a certain length of time, the game server is no longer considered +// healthy. As a result, it will be eventually deregistered from the game +// server group to avoid affecting utilization metrics. The best practice +// is to report health every 60 seconds. // -// * To change game server metadata, provide updated game server data. +// - To change game server metadata, provide updated game server data. // // Once a game server is successfully updated, the relevant statuses and timestamps // are updated. // -// Learn more +// # Learn more // // GameLift FleetIQ Guide (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html) // -// Related actions +// # Related actions // // RegisterGameServer | ListGameServers | ClaimGameServer | DescribeGameServer // | UpdateGameServer | DeregisterGameServer | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/reference-awssdk-fleetiq.html) @@ -11822,21 +11800,22 @@ func (c *GameLift) UpdateGameServerRequest(input *UpdateGameServerInput) (req *r // API operation UpdateGameServer for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateGameServer func (c *GameLift) UpdateGameServer(input *UpdateGameServerInput) (*UpdateGameServerOutput, error) { @@ -11876,14 +11855,13 @@ const opUpdateGameServerGroup = "UpdateGameServerGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGameServerGroupRequest method. +// req, resp := client.UpdateGameServerGroupRequest(params) // -// // Example sending a request using the UpdateGameServerGroupRequest method. -// req, resp := client.UpdateGameServerGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateGameServerGroup func (c *GameLift) UpdateGameServerGroupRequest(input *UpdateGameServerGroupInput) (req *request.Request, output *UpdateGameServerGroupOutput) { @@ -11917,11 +11895,11 @@ func (c *GameLift) UpdateGameServerGroupRequest(input *UpdateGameServerGroupInpu // to ensure that GameLift FleetIQ can continue to perform instance balancing // activity. If successful, a GameServerGroup object is returned. // -// Learn more +// # Learn more // // GameLift FleetIQ Guide (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/gsg-intro.html) // -// Related actions +// # Related actions // // CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | // UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup @@ -11935,21 +11913,22 @@ func (c *GameLift) UpdateGameServerGroupRequest(input *UpdateGameServerGroupInpu // API operation UpdateGameServerGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateGameServerGroup func (c *GameLift) UpdateGameServerGroup(input *UpdateGameServerGroupInput) (*UpdateGameServerGroupOutput, error) { @@ -11989,14 +11968,13 @@ const opUpdateGameSession = "UpdateGameSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGameSessionRequest method. +// req, resp := client.UpdateGameSessionRequest(params) // -// // Example sending a request using the UpdateGameSessionRequest method. -// req, resp := client.UpdateGameSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateGameSession func (c *GameLift) UpdateGameSessionRequest(input *UpdateGameSessionInput) (req *request.Request, output *UpdateGameSessionOutput) { @@ -12024,7 +12002,7 @@ func (c *GameLift) UpdateGameSessionRequest(input *UpdateGameSessionInput) (req // // If successful, the updated GameSession object is returned. // -// Related actions +// # Related actions // // CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions // | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | @@ -12039,31 +12017,32 @@ func (c *GameLift) UpdateGameSessionRequest(input *UpdateGameSessionInput) (req // API operation UpdateGameSession for usage and error information. // // Returned Error Types: -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. // -// * ConflictException -// The requested operation would cause a conflict with the current state of -// a service resource associated with the request. Resolve the conflict before -// retrying this request. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - ConflictException +// The requested operation would cause a conflict with the current state of +// a service resource associated with the request. Resolve the conflict before +// retrying this request. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * InvalidGameSessionStatusException -// The requested operation would cause a conflict with the current state of -// a resource associated with the request and/or the game instance. Resolve -// the conflict before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InvalidGameSessionStatusException +// The requested operation would cause a conflict with the current state of +// a resource associated with the request and/or the game instance. Resolve +// the conflict before retrying. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateGameSession func (c *GameLift) UpdateGameSession(input *UpdateGameSessionInput) (*UpdateGameSessionOutput, error) { @@ -12103,14 +12082,13 @@ const opUpdateGameSessionQueue = "UpdateGameSessionQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGameSessionQueueRequest method. +// req, resp := client.UpdateGameSessionQueueRequest(params) // -// // Example sending a request using the UpdateGameSessionQueueRequest method. -// req, resp := client.UpdateGameSessionQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateGameSessionQueue func (c *GameLift) UpdateGameSessionQueueRequest(input *UpdateGameSessionQueueInput) (req *request.Request, output *UpdateGameSessionQueueOutput) { @@ -12138,9 +12116,9 @@ func (c *GameLift) UpdateGameSessionQueueRequest(input *UpdateGameSessionQueueIn // // Learn more // -// Using Multi-Region Queues (https://docs.aws.amazon.com/gamelift/latest/developerguide/queues-intro.html) +// Using Multi-Region Queues (https://docs.aws.amazon.com/gamelift/latest/developerguide/queues-intro.html) // -// Related actions +// # Related actions // // CreateGameSessionQueue (https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateGameSessionQueue.html) // | DescribeGameSessionQueues (https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessionQueues.html) @@ -12156,21 +12134,22 @@ func (c *GameLift) UpdateGameSessionQueueRequest(input *UpdateGameSessionQueueIn // API operation UpdateGameSessionQueue for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. +// +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateGameSessionQueue func (c *GameLift) UpdateGameSessionQueue(input *UpdateGameSessionQueueInput) (*UpdateGameSessionQueueOutput, error) { @@ -12210,14 +12189,13 @@ const opUpdateMatchmakingConfiguration = "UpdateMatchmakingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMatchmakingConfigurationRequest method. +// req, resp := client.UpdateMatchmakingConfigurationRequest(params) // -// // Example sending a request using the UpdateMatchmakingConfigurationRequest method. -// req, resp := client.UpdateMatchmakingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateMatchmakingConfiguration func (c *GameLift) UpdateMatchmakingConfigurationRequest(input *UpdateMatchmakingConfigurationInput) (req *request.Request, output *UpdateMatchmakingConfigurationOutput) { @@ -12245,9 +12223,9 @@ func (c *GameLift) UpdateMatchmakingConfigurationRequest(input *UpdateMatchmakin // // Learn more // -// Design a FlexMatch matchmaker (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-configuration.html) +// Design a FlexMatch matchmaker (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-configuration.html) // -// Related actions +// # Related actions // // CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration // | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets @@ -12262,21 +12240,22 @@ func (c *GameLift) UpdateMatchmakingConfigurationRequest(input *UpdateMatchmakin // API operation UpdateMatchmakingConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. +// +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateMatchmakingConfiguration func (c *GameLift) UpdateMatchmakingConfiguration(input *UpdateMatchmakingConfigurationInput) (*UpdateMatchmakingConfigurationOutput, error) { @@ -12316,14 +12295,13 @@ const opUpdateRuntimeConfiguration = "UpdateRuntimeConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRuntimeConfigurationRequest method. +// req, resp := client.UpdateRuntimeConfigurationRequest(params) // -// // Example sending a request using the UpdateRuntimeConfigurationRequest method. -// req, resp := client.UpdateRuntimeConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateRuntimeConfiguration func (c *GameLift) UpdateRuntimeConfigurationRequest(input *UpdateRuntimeConfigurationInput) (req *request.Request, output *UpdateRuntimeConfigurationOutput) { @@ -12359,11 +12337,11 @@ func (c *GameLift) UpdateRuntimeConfigurationRequest(input *UpdateRuntimeConfigu // they shut down. Updating a fleet's runtime configuration never affects existing // server processes. // -// Learn more +// # Learn more // // Setting up GameLift fleets (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html) // -// Related actions +// # Related actions // // CreateFleetLocations | UpdateFleetAttributes | UpdateFleetCapacity | UpdateFleetPortSettings // | UpdateRuntimeConfiguration | StopFleetActions | StartFleetActions | PutScalingPolicy @@ -12378,26 +12356,27 @@ func (c *GameLift) UpdateRuntimeConfigurationRequest(input *UpdateRuntimeConfigu // API operation UpdateRuntimeConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. +// +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * InvalidFleetStatusException -// The requested operation would cause a conflict with the current state of -// a resource associated with the request and/or the fleet. Resolve the conflict -// before retrying. +// - InvalidFleetStatusException +// The requested operation would cause a conflict with the current state of +// a resource associated with the request and/or the fleet. Resolve the conflict +// before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateRuntimeConfiguration func (c *GameLift) UpdateRuntimeConfiguration(input *UpdateRuntimeConfigurationInput) (*UpdateRuntimeConfigurationOutput, error) { @@ -12437,14 +12416,13 @@ const opUpdateScript = "UpdateScript" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateScriptRequest method. +// req, resp := client.UpdateScriptRequest(params) // -// // Example sending a request using the UpdateScriptRequest method. -// req, resp := client.UpdateScriptRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateScript func (c *GameLift) UpdateScriptRequest(input *UpdateScriptInput) (req *request.Request, output *UpdateScriptOutput) { @@ -12480,11 +12458,11 @@ func (c *GameLift) UpdateScriptRequest(input *UpdateScriptInput) (req *request.R // script is updated and acquired by a fleet instance, the new version is used // for all new game sessions. // -// Learn more +// # Learn more // // Amazon GameLift Realtime Servers (https://docs.aws.amazon.com/gamelift/latest/developerguide/realtime-intro.html) // -// Related actions +// # Related actions // // CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript // | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -12497,21 +12475,22 @@ func (c *GameLift) UpdateScriptRequest(input *UpdateScriptInput) (req *request.R // API operation UpdateScript for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The client failed authentication. Clients should not retry such requests. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnauthorizedException +// The client failed authentication. Clients should not retry such requests. // -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. +// - NotFoundException +// A service resource associated with the request could not be found. Clients +// should not retry such requests. +// +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/UpdateScript func (c *GameLift) UpdateScript(input *UpdateScriptInput) (*UpdateScriptOutput, error) { @@ -12551,14 +12530,13 @@ const opValidateMatchmakingRuleSet = "ValidateMatchmakingRuleSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ValidateMatchmakingRuleSetRequest method. +// req, resp := client.ValidateMatchmakingRuleSetRequest(params) // -// // Example sending a request using the ValidateMatchmakingRuleSetRequest method. -// req, resp := client.ValidateMatchmakingRuleSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ValidateMatchmakingRuleSet func (c *GameLift) ValidateMatchmakingRuleSetRequest(input *ValidateMatchmakingRuleSetInput) (req *request.Request, output *ValidateMatchmakingRuleSetOutput) { @@ -12586,9 +12564,9 @@ func (c *GameLift) ValidateMatchmakingRuleSetRequest(input *ValidateMatchmakingR // // Learn more // -// * Build a rule set (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-rulesets.html) +// - Build a rule set (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-rulesets.html) // -// Related actions +// # Related actions // // CreateMatchmakingConfiguration | DescribeMatchmakingConfigurations | UpdateMatchmakingConfiguration // | DeleteMatchmakingConfiguration | CreateMatchmakingRuleSet | DescribeMatchmakingRuleSets @@ -12603,17 +12581,18 @@ func (c *GameLift) ValidateMatchmakingRuleSetRequest(input *ValidateMatchmakingR // API operation ValidateMatchmakingRuleSet for usage and error information. // // Returned Error Types: -// * InternalServiceException -// The service encountered an unrecoverable internal failure while processing -// the request. Clients can retry such requests immediately or after a waiting -// period. // -// * UnsupportedRegionException -// The requested operation is not supported in the Region specified. +// - InternalServiceException +// The service encountered an unrecoverable internal failure while processing +// the request. Clients can retry such requests immediately or after a waiting +// period. // -// * InvalidRequestException -// One or more parameter values in the request are invalid. Correct the invalid -// parameter values before retrying. +// - UnsupportedRegionException +// The requested operation is not supported in the Region specified. +// +// - InvalidRequestException +// One or more parameter values in the request are invalid. Correct the invalid +// parameter values before retrying. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/ValidateMatchmakingRuleSet func (c *GameLift) ValidateMatchmakingRuleSet(input *ValidateMatchmakingRuleSetInput) (*ValidateMatchmakingRuleSetOutput, error) { @@ -12738,7 +12717,7 @@ func (s AcceptMatchOutput) GoString() string { // Properties that describe an alias resource. // -// Related actions +// # Related actions // // CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias // | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -12967,7 +12946,7 @@ func (s *AwsCredentials) SetSessionToken(v string) *AwsCredentials { // Properties describing a custom game build. // -// Related actions +// # Related actions // // CreateBuild | ListBuilds | DescribeBuild | UpdateBuild | DeleteBuild | All // APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -20338,7 +20317,7 @@ func (s *EC2InstanceCounts) SetTERMINATING(v int64) *EC2InstanceCounts { // GameLift. You can request an limit increase for your account by using the // Service limits page in the GameLift console. // -// Related actions +// # Related actions // // DescribeEC2InstanceLimits type EC2InstanceLimit struct { @@ -20406,7 +20385,7 @@ func (s *EC2InstanceLimit) SetLocation(v string) *EC2InstanceLimit { // fleet). In addition to tracking activity, event codes and messages can provide // additional information for troubleshooting and debugging problems. // -// Related actions +// # Related actions // // DescribeFleetEvents type Event struct { @@ -20693,7 +20672,7 @@ func (s *FilterConfiguration) SetAllowedLocations(v []*string) *FilterConfigurat // Describes a GameLift fleet of game hosting resources. // -// Related actions +// # Related actions // // CreateFleet | DescribeFleetAttributes type FleetAttributes struct { @@ -20987,7 +20966,7 @@ func (s *FleetAttributes) SetTerminationTime(v time.Time) *FleetAttributes { // Current resource capacity settings in a specified fleet or location. The // location value might refer to a fleet's remote location or its home Region. // -// Related actions +// # Related actions // // DescribeFleetCapacity (https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetCapacity.html) // | DescribeFleetLocationCapacity (https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetLocationCapacity.html) @@ -21133,7 +21112,7 @@ func (s *FleetCapacityExceededException) RequestID() string { // Current resource utilization statistics in a specified fleet or location. // The location value might refer to a fleet's remote location or its home Region. // -// Related actions +// # Related actions // // DescribeFleetUtilization | DescribeFleetLocationUtilization type FleetUtilization struct { @@ -21302,7 +21281,7 @@ func (s *GameProperty) SetValue(v string) *GameProperty { // by calling DeregisterGameServer. A game server is claimed to host a game // session by calling ClaimGameServer. // -// Related actions +// # Related actions // // RegisterGameServer | ListGameServers | ClaimGameServer | DescribeGameServer // | UpdateGameServer | DeregisterGameServer | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/fleetiqguide/reference-awssdk-fleetiq.html) @@ -21468,7 +21447,7 @@ func (s *GameServer) SetUtilizationStatus(v string) *GameServer { // can be temporarily suspended and resumed by calling SuspendGameServerGroup // and ResumeGameServerGroup, respectively. // -// Related actions +// # Related actions // // CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | // UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup @@ -21742,7 +21721,7 @@ func (s *GameServerGroupAutoScalingPolicy) SetTargetTrackingConfiguration(v *Tar // // Retrieve game server instances for a game server group by calling DescribeGameServerInstances. // -// Related actions +// # Related actions // // CreateGameServerGroup | ListGameServerGroups | DescribeGameServerGroup | // UpdateGameServerGroup | DeleteGameServerGroup | ResumeGameServerGroup | SuspendGameServerGroup @@ -21832,7 +21811,7 @@ func (s *GameServerInstance) SetInstanceStatus(v string) *GameServerInstance { // means you can reuse idempotency token values after this time. Game session // logs are retained for 14 days. // -// Related actions +// # Related actions // // CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions // | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | @@ -22271,11 +22250,11 @@ func (s *GameSessionFullException) RequestID() string { // // Game session placement-related operations include: // -// * StartGameSessionPlacement +// - StartGameSessionPlacement // -// * DescribeGameSessionPlacement +// - DescribeGameSessionPlacement // -// * StopGameSessionPlacement +// - StopGameSessionPlacement type GameSessionPlacement struct { _ struct{} `type:"structure"` @@ -22518,7 +22497,7 @@ func (s *GameSessionPlacement) SetStatus(v string) *GameSessionPlacement { // for new game sessions. A queue can be used on its own or as part of a matchmaking // solution. // -// Related actions +// # Related actions // // CreateGameSessionQueue (https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateGameSessionQueue.html) // | DescribeGameSessionQueues (https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeGameSessionQueues.html) @@ -22950,7 +22929,7 @@ func (s *IdempotentParameterMismatchException) RequestID() string { // Represents an EC2 instance of virtual computing resources that hosts one // or more game servers. In GameLift, a fleet can contain zero or more instances. // -// Related actions +// # Related actions // // DescribeInstances type Instance struct { @@ -23548,7 +23527,7 @@ func (s *InvalidRequestException) RequestID() string { // For Realtime Servers fleets, GameLift automatically opens two port ranges, // one for TCP messaging and one for UDP. // -// Related actions +// # Related actions // // DescribeFleetPortSettings type IpPermission struct { @@ -24602,7 +24581,7 @@ func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput // Represents a location in a multi-location fleet. // -// Related actions +// # Related actions // // DescribeFleetLocationAttributes type LocationAttributes struct { @@ -24659,7 +24638,7 @@ func (s *LocationAttributes) SetUpdateStatus(v string) *LocationAttributes { // A remote location where a multi-location fleet can deploy EC2 instances for // game hosting. // -// Related actions +// # Related actions // // CreateFleet (https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateFleet.html) type LocationConfiguration struct { @@ -24712,7 +24691,7 @@ func (s *LocationConfiguration) SetLocation(v string) *LocationConfiguration { // and preparing it for game hosting, and then removing all instances and deleting // the location from the fleet. // -// Related actions +// # Related actions // // CreateFleet | CreateFleetLocations | DeleteFleetLocations type LocationState struct { @@ -25037,30 +25016,30 @@ func (s *MatchmakingConfiguration) SetRuleSetName(v string) *MatchmakingConfigur // and examples showing how to construct a rule set, see Build a FlexMatch rule // set (https://docs.aws.amazon.com/gamelift/latest/flexmatchguide/match-rulesets.html). // -// * Teams -- Required. A rule set must define one or multiple teams for -// the match and set minimum and maximum team sizes. For example, a rule -// set might describe a 4x4 match that requires all eight slots to be filled. -// -// * Player attributes -- Optional. These attributes specify a set of player -// characteristics to evaluate when looking for a match. Matchmaking requests -// that use a rule set with player attributes must provide the corresponding -// attribute values. For example, an attribute might specify a player's skill -// or level. -// -// * Rules -- Optional. Rules define how to evaluate potential players for -// a match based on player attributes. A rule might specify minimum requirements -// for individual players, teams, or entire matches. For example, a rule -// might require each player to meet a certain skill level, each team to -// have at least one player in a certain role, or the match to have a minimum -// average skill level. or may describe an entire group--such as all teams -// must be evenly matched or have at least one player in a certain role. -// -// * Expansions -- Optional. Expansions allow you to relax the rules after -// a period of time when no acceptable matches are found. This feature lets -// you balance getting players into games in a reasonable amount of time -// instead of making them wait indefinitely for the best possible match. -// For example, you might use an expansion to increase the maximum skill -// variance between players after 30 seconds. +// - Teams -- Required. A rule set must define one or multiple teams for +// the match and set minimum and maximum team sizes. For example, a rule +// set might describe a 4x4 match that requires all eight slots to be filled. +// +// - Player attributes -- Optional. These attributes specify a set of player +// characteristics to evaluate when looking for a match. Matchmaking requests +// that use a rule set with player attributes must provide the corresponding +// attribute values. For example, an attribute might specify a player's skill +// or level. +// +// - Rules -- Optional. Rules define how to evaluate potential players for +// a match based on player attributes. A rule might specify minimum requirements +// for individual players, teams, or entire matches. For example, a rule +// might require each player to meet a certain skill level, each team to +// have at least one player in a certain role, or the match to have a minimum +// average skill level. or may describe an entire group--such as all teams +// must be evenly matched or have at least one player in a certain role. +// +// - Expansions -- Optional. Expansions allow you to relax the rules after +// a period of time when no acceptable matches are found. This feature lets +// you balance getting players into games in a reasonable amount of time +// instead of making them wait indefinitely for the best possible match. +// For example, you might use an expansion to increase the maximum skill +// variance between players after 30 seconds. type MatchmakingRuleSet struct { _ struct{} `type:"structure"` @@ -25433,7 +25412,7 @@ func (s *OutOfCapacityException) RequestID() string { // retrieve full details on a player session, call DescribePlayerSessions with // the player session ID. // -// Related actions +// # Related actions // // CreatePlayerSession | CreatePlayerSessions | DescribePlayerSessions | StartGameSessionPlacement // | DescribeGameSessionPlacement | StopGameSessionPlacement | All APIs by task @@ -25709,7 +25688,7 @@ func (s *PlayerLatencyPolicy) SetPolicyDurationSeconds(v int64) *PlayerLatencyPo // is validated. After the game session ends, player sessions information is // retained for 30 days and then removed. // -// Related actions +// # Related actions // // CreatePlayerSession | CreatePlayerSessions | DescribePlayerSessions | StartGameSessionPlacement // | DescribeGameSessionPlacement | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -25878,20 +25857,20 @@ func (s *PlayerSession) SetTerminationTime(v time.Time) *PlayerSession { // new game sessions with available game servers. When defined, this configuration // replaces the default FleetIQ prioritization process, which is as follows: // -// * If player latency data is included in a game session request, destinations -// and locations are prioritized first based on lowest average latency (1), -// then on lowest hosting cost (2), then on destination list order (3), and -// finally on location (alphabetical) (4). This approach ensures that the -// queue's top priority is to place game sessions where average player latency -// is lowest, and--if latency is the same--where the hosting cost is less, -// etc. -// -// * If player latency data is not included, destinations and locations are -// prioritized first on destination list order (1), and then on location -// (alphabetical) (2). This approach ensures that the queue's top priority -// is to place game sessions on the first destination fleet listed. If that -// fleet has multiple locations, the game session is placed on the first -// location (when listed alphabetically). +// - If player latency data is included in a game session request, destinations +// and locations are prioritized first based on lowest average latency (1), +// then on lowest hosting cost (2), then on destination list order (3), and +// finally on location (alphabetical) (4). This approach ensures that the +// queue's top priority is to place game sessions where average player latency +// is lowest, and--if latency is the same--where the hosting cost is less, +// etc. +// +// - If player latency data is not included, destinations and locations are +// prioritized first on destination list order (1), and then on location +// (alphabetical) (2). This approach ensures that the queue's top priority +// is to place game sessions on the first destination fleet listed. If that +// fleet has multiple locations, the game session is placed on the first +// location (when listed alphabetically). // // Changing the priority order will affect how game sessions are placed. // @@ -26688,7 +26667,7 @@ func (s *ResumeGameServerGroupOutput) SetGameServerGroup(v *GameServerGroup) *Re // The routing configuration for a fleet alias. // -// Related actions +// # Related actions // // CreateAlias | ListAliases | DescribeAlias | UpdateAlias | DeleteAlias | ResolveAlias // | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -26762,7 +26741,7 @@ func (s *RoutingStrategy) SetType(v string) *RoutingStrategy { // of the ConcurrentExecutions parameter for each ServerProcess. Learn more // about Running Multiple Processes on a Fleet (https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-multiprocess.html). // -// Related actions +// # Related actions // // DescribeRuntimeConfiguration | UpdateRuntimeConfiguration type RuntimeConfiguration struct { @@ -26942,7 +26921,7 @@ func (s *S3Location) SetRoleArn(v string) *S3Location { // Rule that controls how a fleet is scaled. Scaling policies are uniquely identified // by the combination of name and fleet ID. // -// Related actions +// # Related actions // // DescribeFleetCapacity | UpdateFleetCapacity | DescribeEC2InstanceLimits | // PutScalingPolicy | DescribeScalingPolicies | DeleteScalingPolicy | StopFleetActions @@ -27172,7 +27151,7 @@ func (s *ScalingPolicy) SetUpdateStatus(v string) *ScalingPolicy { // Properties describing a Realtime script. // -// Related actions +// # Related actions // // CreateScript | ListScripts | DescribeScript | UpdateScript | DeleteScript // | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) @@ -28549,14 +28528,14 @@ func (s *SuspendGameServerGroupOutput) SetGameServerGroup(v *GameServerGroup) *S // A label that can be assigned to a GameLift resource. // -// Learn more +// # Learn more // // Tagging Amazon Web Services Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html) // in the Amazon Web Services General Reference // -// Amazon Web Services Tagging Strategies (http://aws.amazon.com/answers/account-management/aws-tagging-strategies/) +// Amazon Web Services Tagging Strategies (http://aws.amazon.com/answers/account-management/aws-tagging-strategies/) // -// Related actions +// # Related actions // // TagResource | UntagResource | ListTagsForResource | All APIs by task (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets) type Tag struct { @@ -28800,7 +28779,7 @@ func (s *TaggingFailedException) RequestID() string { // specifies settings as needed for the target based policy, including the target // value. // -// Related actions +// # Related actions // // DescribeFleetCapacity | UpdateFleetCapacity | DescribeEC2InstanceLimits | // PutScalingPolicy | DescribeScalingPolicies | DeleteScalingPolicy | StopFleetActions @@ -31045,7 +31024,7 @@ func (s *ValidateMatchmakingRuleSetOutput) SetValid(v bool) *ValidateMatchmaking // to. This authorization must exist and be valid for the peering connection // to be established. Authorizations are valid for 24 hours after they are issued. // -// Related actions +// # Related actions // // CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization // | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection @@ -31129,7 +31108,7 @@ func (s *VpcPeeringAuthorization) SetPeerVpcId(v string) *VpcPeeringAuthorizatio // for an active peering connection or a pending connection that has not yet // been established. // -// Related actions +// # Related actions // // CreateVpcPeeringAuthorization | DescribeVpcPeeringAuthorizations | DeleteVpcPeeringAuthorization // | CreateVpcPeeringConnection | DescribeVpcPeeringConnections | DeleteVpcPeeringConnection diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/doc.go index b73438a06a8d..3a585eb1a694 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/doc.go @@ -9,51 +9,51 @@ // GameLift helps you deliver high-performance, high-reliability, low-cost game // servers while dynamically scaling your resource usage to meet player demand. // -// About GameLift solutions +// # About GameLift solutions // // Get more information on these GameLift solutions in the GameLift Developer // Guide (https://docs.aws.amazon.com/gamelift/latest/developerguide/). // -// * GameLift managed hosting -- GameLift offers a fully managed service -// to set up and maintain computing machines for hosting, manage game session -// and player session life cycle, and handle security, storage, and performance -// tracking. You can use automatic scaling tools to balance player demand -// and hosting costs, configure your game session management to minimize -// player latency, and add FlexMatch for matchmaking. +// - GameLift managed hosting -- GameLift offers a fully managed service +// to set up and maintain computing machines for hosting, manage game session +// and player session life cycle, and handle security, storage, and performance +// tracking. You can use automatic scaling tools to balance player demand +// and hosting costs, configure your game session management to minimize +// player latency, and add FlexMatch for matchmaking. // -// * Managed hosting with Realtime Servers -- With GameLift Realtime Servers, -// you can quickly configure and set up ready-to-go game servers for your -// game. Realtime Servers provides a game server framework with core GameLift -// infrastructure already built in. Then use the full range of GameLift managed -// hosting features, including FlexMatch, for your game. +// - Managed hosting with Realtime Servers -- With GameLift Realtime Servers, +// you can quickly configure and set up ready-to-go game servers for your +// game. Realtime Servers provides a game server framework with core GameLift +// infrastructure already built in. Then use the full range of GameLift managed +// hosting features, including FlexMatch, for your game. // -// * GameLift FleetIQ -- Use GameLift FleetIQ as a standalone service while -// hosting your games using EC2 instances and Auto Scaling groups. GameLift -// FleetIQ provides optimizations for game hosting, including boosting the -// viability of low-cost Spot Instances gaming. For a complete solution, -// pair the GameLift FleetIQ and FlexMatch standalone services. +// - GameLift FleetIQ -- Use GameLift FleetIQ as a standalone service while +// hosting your games using EC2 instances and Auto Scaling groups. GameLift +// FleetIQ provides optimizations for game hosting, including boosting the +// viability of low-cost Spot Instances gaming. For a complete solution, +// pair the GameLift FleetIQ and FlexMatch standalone services. // -// * GameLift FlexMatch -- Add matchmaking to your game hosting solution. -// FlexMatch is a customizable matchmaking service for multiplayer games. -// Use FlexMatch as integrated with GameLift managed hosting or incorporate -// FlexMatch as a standalone service into your own hosting solution. +// - GameLift FlexMatch -- Add matchmaking to your game hosting solution. +// FlexMatch is a customizable matchmaking service for multiplayer games. +// Use FlexMatch as integrated with GameLift managed hosting or incorporate +// FlexMatch as a standalone service into your own hosting solution. // -// About this API Reference +// # About this API Reference // // This reference guide describes the low-level service API for Amazon Web Services. // With each topic in this guide, you can find links to language-specific SDK // guides and the Amazon Web Services CLI reference. Useful links: // -// * GameLift API operations listed by tasks (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html) +// - GameLift API operations listed by tasks (https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html) // -// * GameLift tools and resources (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-components.html) +// - GameLift tools and resources (https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-components.html) // // See https://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01 for more information on this service. // // See gamelift package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/gamelift/ // -// Using the Client +// # Using the Client // // To contact Amazon GameLift with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/gameliftiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/gameliftiface/interface.go index 2685600de831..0044fa16cc5a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/gameliftiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/gameliftiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon GameLift. -// func myFunc(svc gameliftiface.GameLiftAPI) bool { -// // Make svc.AcceptMatch request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon GameLift. +// func myFunc(svc gameliftiface.GameLiftAPI) bool { +// // Make svc.AcceptMatch request +// } // -// func main() { -// sess := session.New() -// svc := gamelift.New(sess) +// func main() { +// sess := session.New() +// svc := gamelift.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockGameLiftClient struct { -// gameliftiface.GameLiftAPI -// } -// func (m *mockGameLiftClient) AcceptMatch(input *gamelift.AcceptMatchInput) (*gamelift.AcceptMatchOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockGameLiftClient struct { +// gameliftiface.GameLiftAPI +// } +// func (m *mockGameLiftClient) AcceptMatch(input *gamelift.AcceptMatchInput) (*gamelift.AcceptMatchOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockGameLiftClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockGameLiftClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/service.go index 163af5d66082..ce9bf3b3d6da 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamelift/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a GameLift client from just a session. -// svc := gamelift.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a GameLift client with additional configuration -// svc := gamelift.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a GameLift client from just a session. +// svc := gamelift.New(mySession) +// +// // Create a GameLift client with additional configuration +// svc := gamelift.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *GameLift { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/api.go index b3eebd27d135..577f07ece4c3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/api.go @@ -29,14 +29,13 @@ const opCreateGame = "CreateGame" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGameRequest method. +// req, resp := client.CreateGameRequest(params) // -// // Example sending a request using the CreateGameRequest method. -// req, resp := client.CreateGameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/CreateGame func (c *GameSparks) CreateGameRequest(input *CreateGameInput) (req *request.Request, output *CreateGameOutput) { @@ -68,23 +67,24 @@ func (c *GameSparks) CreateGameRequest(input *CreateGameInput) (req *request.Req // API operation CreateGame for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ConflictException -// The resource already exists, or another operation is in progress. +// - ConflictException +// The resource already exists, or another operation is in progress. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // -// * ServiceQuotaExceededException -// The request would result in exceeding service quota. +// - ServiceQuotaExceededException +// The request would result in exceeding service quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/CreateGame func (c *GameSparks) CreateGame(input *CreateGameInput) (*CreateGameOutput, error) { @@ -124,14 +124,13 @@ const opCreateSnapshot = "CreateSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSnapshotRequest method. +// req, resp := client.CreateSnapshotRequest(params) // -// // Example sending a request using the CreateSnapshotRequest method. -// req, resp := client.CreateSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/CreateSnapshot func (c *GameSparks) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Request, output *CreateSnapshotOutput) { @@ -162,23 +161,24 @@ func (c *GameSparks) CreateSnapshotRequest(input *CreateSnapshotInput) (req *req // API operation CreateSnapshot for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// The resource already exists, or another operation is in progress. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ConflictException +// The resource already exists, or another operation is in progress. // -// * InternalServerException -// The service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/CreateSnapshot func (c *GameSparks) CreateSnapshot(input *CreateSnapshotInput) (*CreateSnapshotOutput, error) { @@ -218,14 +218,13 @@ const opCreateStage = "CreateStage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStageRequest method. +// req, resp := client.CreateStageRequest(params) // -// // Example sending a request using the CreateStageRequest method. -// req, resp := client.CreateStageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/CreateStage func (c *GameSparks) CreateStageRequest(input *CreateStageInput) (req *request.Request, output *CreateStageOutput) { @@ -256,23 +255,24 @@ func (c *GameSparks) CreateStageRequest(input *CreateStageInput) (req *request.R // API operation CreateStage for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// The resource already exists, or another operation is in progress. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ConflictException +// The resource already exists, or another operation is in progress. // -// * InternalServerException -// The service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/CreateStage func (c *GameSparks) CreateStage(input *CreateStageInput) (*CreateStageOutput, error) { @@ -312,14 +312,13 @@ const opDeleteGame = "DeleteGame" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGameRequest method. +// req, resp := client.DeleteGameRequest(params) // -// // Example sending a request using the DeleteGameRequest method. -// req, resp := client.DeleteGameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/DeleteGame func (c *GameSparks) DeleteGameRequest(input *DeleteGameInput) (req *request.Request, output *DeleteGameOutput) { @@ -351,20 +350,21 @@ func (c *GameSparks) DeleteGameRequest(input *DeleteGameInput) (req *request.Req // API operation DeleteGame for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ConflictException -// The resource already exists, or another operation is in progress. +// - ConflictException +// The resource already exists, or another operation is in progress. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/DeleteGame func (c *GameSparks) DeleteGame(input *DeleteGameInput) (*DeleteGameOutput, error) { @@ -404,14 +404,13 @@ const opDeleteStage = "DeleteStage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStageRequest method. +// req, resp := client.DeleteStageRequest(params) // -// // Example sending a request using the DeleteStageRequest method. -// req, resp := client.DeleteStageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/DeleteStage func (c *GameSparks) DeleteStageRequest(input *DeleteStageInput) (req *request.Request, output *DeleteStageOutput) { @@ -443,23 +442,24 @@ func (c *GameSparks) DeleteStageRequest(input *DeleteStageInput) (req *request.R // API operation DeleteStage for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ConflictException -// The resource already exists, or another operation is in progress. +// - ConflictException +// The resource already exists, or another operation is in progress. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/DeleteStage func (c *GameSparks) DeleteStage(input *DeleteStageInput) (*DeleteStageOutput, error) { @@ -499,14 +499,13 @@ const opDisconnectPlayer = "DisconnectPlayer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisconnectPlayerRequest method. +// req, resp := client.DisconnectPlayerRequest(params) // -// // Example sending a request using the DisconnectPlayerRequest method. -// req, resp := client.DisconnectPlayerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/DisconnectPlayer func (c *GameSparks) DisconnectPlayerRequest(input *DisconnectPlayerInput) (req *request.Request, output *DisconnectPlayerOutput) { @@ -540,20 +539,21 @@ func (c *GameSparks) DisconnectPlayerRequest(input *DisconnectPlayerInput) (req // API operation DisconnectPlayer for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/DisconnectPlayer func (c *GameSparks) DisconnectPlayer(input *DisconnectPlayerInput) (*DisconnectPlayerOutput, error) { @@ -593,14 +593,13 @@ const opExportSnapshot = "ExportSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportSnapshotRequest method. +// req, resp := client.ExportSnapshotRequest(params) // -// // Example sending a request using the ExportSnapshotRequest method. -// req, resp := client.ExportSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ExportSnapshot func (c *GameSparks) ExportSnapshotRequest(input *ExportSnapshotInput) (req *request.Request, output *ExportSnapshotOutput) { @@ -631,20 +630,21 @@ func (c *GameSparks) ExportSnapshotRequest(input *ExportSnapshotInput) (req *req // API operation ExportSnapshot for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * InternalServerException -// The service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ExportSnapshot func (c *GameSparks) ExportSnapshot(input *ExportSnapshotInput) (*ExportSnapshotOutput, error) { @@ -684,14 +684,13 @@ const opGetExtension = "GetExtension" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetExtensionRequest method. +// req, resp := client.GetExtensionRequest(params) // -// // Example sending a request using the GetExtensionRequest method. -// req, resp := client.GetExtensionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetExtension func (c *GameSparks) GetExtensionRequest(input *GetExtensionInput) (req *request.Request, output *GetExtensionOutput) { @@ -722,20 +721,21 @@ func (c *GameSparks) GetExtensionRequest(input *GetExtensionInput) (req *request // API operation GetExtension for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * InternalServerException -// The service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetExtension func (c *GameSparks) GetExtension(input *GetExtensionInput) (*GetExtensionOutput, error) { @@ -775,14 +775,13 @@ const opGetExtensionVersion = "GetExtensionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetExtensionVersionRequest method. +// req, resp := client.GetExtensionVersionRequest(params) // -// // Example sending a request using the GetExtensionVersionRequest method. -// req, resp := client.GetExtensionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetExtensionVersion func (c *GameSparks) GetExtensionVersionRequest(input *GetExtensionVersionInput) (req *request.Request, output *GetExtensionVersionOutput) { @@ -813,20 +812,21 @@ func (c *GameSparks) GetExtensionVersionRequest(input *GetExtensionVersionInput) // API operation GetExtensionVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * InternalServerException -// The service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetExtensionVersion func (c *GameSparks) GetExtensionVersion(input *GetExtensionVersionInput) (*GetExtensionVersionOutput, error) { @@ -866,14 +866,13 @@ const opGetGame = "GetGame" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGameRequest method. +// req, resp := client.GetGameRequest(params) // -// // Example sending a request using the GetGameRequest method. -// req, resp := client.GetGameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetGame func (c *GameSparks) GetGameRequest(input *GetGameInput) (req *request.Request, output *GetGameOutput) { @@ -904,20 +903,21 @@ func (c *GameSparks) GetGameRequest(input *GetGameInput) (req *request.Request, // API operation GetGame for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * InternalServerException -// The service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetGame func (c *GameSparks) GetGame(input *GetGameInput) (*GetGameOutput, error) { @@ -957,14 +957,13 @@ const opGetGameConfiguration = "GetGameConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGameConfigurationRequest method. +// req, resp := client.GetGameConfigurationRequest(params) // -// // Example sending a request using the GetGameConfigurationRequest method. -// req, resp := client.GetGameConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetGameConfiguration func (c *GameSparks) GetGameConfigurationRequest(input *GetGameConfigurationInput) (req *request.Request, output *GetGameConfigurationOutput) { @@ -995,20 +994,21 @@ func (c *GameSparks) GetGameConfigurationRequest(input *GetGameConfigurationInpu // API operation GetGameConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetGameConfiguration func (c *GameSparks) GetGameConfiguration(input *GetGameConfigurationInput) (*GetGameConfigurationOutput, error) { @@ -1048,14 +1048,13 @@ const opGetGeneratedCodeJob = "GetGeneratedCodeJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGeneratedCodeJobRequest method. +// req, resp := client.GetGeneratedCodeJobRequest(params) // -// // Example sending a request using the GetGeneratedCodeJobRequest method. -// req, resp := client.GetGeneratedCodeJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetGeneratedCodeJob func (c *GameSparks) GetGeneratedCodeJobRequest(input *GetGeneratedCodeJobInput) (req *request.Request, output *GetGeneratedCodeJobOutput) { @@ -1086,20 +1085,21 @@ func (c *GameSparks) GetGeneratedCodeJobRequest(input *GetGeneratedCodeJobInput) // API operation GetGeneratedCodeJob for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetGeneratedCodeJob func (c *GameSparks) GetGeneratedCodeJob(input *GetGeneratedCodeJobInput) (*GetGeneratedCodeJobOutput, error) { @@ -1139,14 +1139,13 @@ const opGetPlayerConnectionStatus = "GetPlayerConnectionStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPlayerConnectionStatusRequest method. +// req, resp := client.GetPlayerConnectionStatusRequest(params) // -// // Example sending a request using the GetPlayerConnectionStatusRequest method. -// req, resp := client.GetPlayerConnectionStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetPlayerConnectionStatus func (c *GameSparks) GetPlayerConnectionStatusRequest(input *GetPlayerConnectionStatusInput) (req *request.Request, output *GetPlayerConnectionStatusOutput) { @@ -1180,20 +1179,21 @@ func (c *GameSparks) GetPlayerConnectionStatusRequest(input *GetPlayerConnection // API operation GetPlayerConnectionStatus for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetPlayerConnectionStatus func (c *GameSparks) GetPlayerConnectionStatus(input *GetPlayerConnectionStatusInput) (*GetPlayerConnectionStatusOutput, error) { @@ -1233,14 +1233,13 @@ const opGetSnapshot = "GetSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSnapshotRequest method. +// req, resp := client.GetSnapshotRequest(params) // -// // Example sending a request using the GetSnapshotRequest method. -// req, resp := client.GetSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetSnapshot func (c *GameSparks) GetSnapshotRequest(input *GetSnapshotInput) (req *request.Request, output *GetSnapshotOutput) { @@ -1271,20 +1270,21 @@ func (c *GameSparks) GetSnapshotRequest(input *GetSnapshotInput) (req *request.R // API operation GetSnapshot for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetSnapshot func (c *GameSparks) GetSnapshot(input *GetSnapshotInput) (*GetSnapshotOutput, error) { @@ -1324,14 +1324,13 @@ const opGetStage = "GetStage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStageRequest method. +// req, resp := client.GetStageRequest(params) // -// // Example sending a request using the GetStageRequest method. -// req, resp := client.GetStageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetStage func (c *GameSparks) GetStageRequest(input *GetStageInput) (req *request.Request, output *GetStageOutput) { @@ -1362,20 +1361,21 @@ func (c *GameSparks) GetStageRequest(input *GetStageInput) (req *request.Request // API operation GetStage for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetStage func (c *GameSparks) GetStage(input *GetStageInput) (*GetStageOutput, error) { @@ -1415,14 +1415,13 @@ const opGetStageDeployment = "GetStageDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStageDeploymentRequest method. +// req, resp := client.GetStageDeploymentRequest(params) // -// // Example sending a request using the GetStageDeploymentRequest method. -// req, resp := client.GetStageDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetStageDeployment func (c *GameSparks) GetStageDeploymentRequest(input *GetStageDeploymentInput) (req *request.Request, output *GetStageDeploymentOutput) { @@ -1453,20 +1452,21 @@ func (c *GameSparks) GetStageDeploymentRequest(input *GetStageDeploymentInput) ( // API operation GetStageDeployment for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * InternalServerException -// The service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/GetStageDeployment func (c *GameSparks) GetStageDeployment(input *GetStageDeploymentInput) (*GetStageDeploymentOutput, error) { @@ -1506,14 +1506,13 @@ const opImportGameConfiguration = "ImportGameConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportGameConfigurationRequest method. +// req, resp := client.ImportGameConfigurationRequest(params) // -// // Example sending a request using the ImportGameConfigurationRequest method. -// req, resp := client.ImportGameConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ImportGameConfiguration func (c *GameSparks) ImportGameConfigurationRequest(input *ImportGameConfigurationInput) (req *request.Request, output *ImportGameConfigurationOutput) { @@ -1548,23 +1547,24 @@ func (c *GameSparks) ImportGameConfigurationRequest(input *ImportGameConfigurati // API operation ImportGameConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * InternalServerException -// The service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * ServiceQuotaExceededException -// The request would result in exceeding service quota. +// - InternalServerException +// The service encountered an internal error. +// +// - ServiceQuotaExceededException +// The request would result in exceeding service quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ImportGameConfiguration func (c *GameSparks) ImportGameConfiguration(input *ImportGameConfigurationInput) (*ImportGameConfigurationOutput, error) { @@ -1604,14 +1604,13 @@ const opListExtensionVersions = "ListExtensionVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExtensionVersionsRequest method. +// req, resp := client.ListExtensionVersionsRequest(params) // -// // Example sending a request using the ListExtensionVersionsRequest method. -// req, resp := client.ListExtensionVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListExtensionVersions func (c *GameSparks) ListExtensionVersionsRequest(input *ListExtensionVersionsInput) (req *request.Request, output *ListExtensionVersionsOutput) { @@ -1652,20 +1651,21 @@ func (c *GameSparks) ListExtensionVersionsRequest(input *ListExtensionVersionsIn // API operation ListExtensionVersions for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * InternalServerException -// The service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListExtensionVersions func (c *GameSparks) ListExtensionVersions(input *ListExtensionVersionsInput) (*ListExtensionVersionsOutput, error) { @@ -1697,15 +1697,14 @@ func (c *GameSparks) ListExtensionVersionsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExtensionVersions operation. -// pageNum := 0 -// err := client.ListExtensionVersionsPages(params, -// func(page *gamesparks.ListExtensionVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExtensionVersions operation. +// pageNum := 0 +// err := client.ListExtensionVersionsPages(params, +// func(page *gamesparks.ListExtensionVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameSparks) ListExtensionVersionsPages(input *ListExtensionVersionsInput, fn func(*ListExtensionVersionsOutput, bool) bool) error { return c.ListExtensionVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1757,14 +1756,13 @@ const opListExtensions = "ListExtensions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExtensionsRequest method. +// req, resp := client.ListExtensionsRequest(params) // -// // Example sending a request using the ListExtensionsRequest method. -// req, resp := client.ListExtensionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListExtensions func (c *GameSparks) ListExtensionsRequest(input *ListExtensionsInput) (req *request.Request, output *ListExtensionsOutput) { @@ -1803,17 +1801,18 @@ func (c *GameSparks) ListExtensionsRequest(input *ListExtensionsInput) (req *req // API operation ListExtensions for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListExtensions func (c *GameSparks) ListExtensions(input *ListExtensionsInput) (*ListExtensionsOutput, error) { @@ -1845,15 +1844,14 @@ func (c *GameSparks) ListExtensionsWithContext(ctx aws.Context, input *ListExten // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExtensions operation. -// pageNum := 0 -// err := client.ListExtensionsPages(params, -// func(page *gamesparks.ListExtensionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExtensions operation. +// pageNum := 0 +// err := client.ListExtensionsPages(params, +// func(page *gamesparks.ListExtensionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameSparks) ListExtensionsPages(input *ListExtensionsInput, fn func(*ListExtensionsOutput, bool) bool) error { return c.ListExtensionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1905,14 +1903,13 @@ const opListGames = "ListGames" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGamesRequest method. +// req, resp := client.ListGamesRequest(params) // -// // Example sending a request using the ListGamesRequest method. -// req, resp := client.ListGamesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListGames func (c *GameSparks) ListGamesRequest(input *ListGamesInput) (req *request.Request, output *ListGamesOutput) { @@ -1949,17 +1946,18 @@ func (c *GameSparks) ListGamesRequest(input *ListGamesInput) (req *request.Reque // API operation ListGames for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListGames func (c *GameSparks) ListGames(input *ListGamesInput) (*ListGamesOutput, error) { @@ -1991,15 +1989,14 @@ func (c *GameSparks) ListGamesWithContext(ctx aws.Context, input *ListGamesInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGames operation. -// pageNum := 0 -// err := client.ListGamesPages(params, -// func(page *gamesparks.ListGamesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGames operation. +// pageNum := 0 +// err := client.ListGamesPages(params, +// func(page *gamesparks.ListGamesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameSparks) ListGamesPages(input *ListGamesInput, fn func(*ListGamesOutput, bool) bool) error { return c.ListGamesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2051,14 +2048,13 @@ const opListGeneratedCodeJobs = "ListGeneratedCodeJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGeneratedCodeJobsRequest method. +// req, resp := client.ListGeneratedCodeJobsRequest(params) // -// // Example sending a request using the ListGeneratedCodeJobsRequest method. -// req, resp := client.ListGeneratedCodeJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListGeneratedCodeJobs func (c *GameSparks) ListGeneratedCodeJobsRequest(input *ListGeneratedCodeJobsInput) (req *request.Request, output *ListGeneratedCodeJobsOutput) { @@ -2095,20 +2091,21 @@ func (c *GameSparks) ListGeneratedCodeJobsRequest(input *ListGeneratedCodeJobsIn // API operation ListGeneratedCodeJobs for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * InternalServerException -// The service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListGeneratedCodeJobs func (c *GameSparks) ListGeneratedCodeJobs(input *ListGeneratedCodeJobsInput) (*ListGeneratedCodeJobsOutput, error) { @@ -2140,15 +2137,14 @@ func (c *GameSparks) ListGeneratedCodeJobsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGeneratedCodeJobs operation. -// pageNum := 0 -// err := client.ListGeneratedCodeJobsPages(params, -// func(page *gamesparks.ListGeneratedCodeJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGeneratedCodeJobs operation. +// pageNum := 0 +// err := client.ListGeneratedCodeJobsPages(params, +// func(page *gamesparks.ListGeneratedCodeJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameSparks) ListGeneratedCodeJobsPages(input *ListGeneratedCodeJobsInput, fn func(*ListGeneratedCodeJobsOutput, bool) bool) error { return c.ListGeneratedCodeJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2200,14 +2196,13 @@ const opListSnapshots = "ListSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSnapshotsRequest method. +// req, resp := client.ListSnapshotsRequest(params) // -// // Example sending a request using the ListSnapshotsRequest method. -// req, resp := client.ListSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListSnapshots func (c *GameSparks) ListSnapshotsRequest(input *ListSnapshotsInput) (req *request.Request, output *ListSnapshotsOutput) { @@ -2244,20 +2239,21 @@ func (c *GameSparks) ListSnapshotsRequest(input *ListSnapshotsInput) (req *reque // API operation ListSnapshots for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListSnapshots func (c *GameSparks) ListSnapshots(input *ListSnapshotsInput) (*ListSnapshotsOutput, error) { @@ -2289,15 +2285,14 @@ func (c *GameSparks) ListSnapshotsWithContext(ctx aws.Context, input *ListSnapsh // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSnapshots operation. -// pageNum := 0 -// err := client.ListSnapshotsPages(params, -// func(page *gamesparks.ListSnapshotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSnapshots operation. +// pageNum := 0 +// err := client.ListSnapshotsPages(params, +// func(page *gamesparks.ListSnapshotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameSparks) ListSnapshotsPages(input *ListSnapshotsInput, fn func(*ListSnapshotsOutput, bool) bool) error { return c.ListSnapshotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2349,14 +2344,13 @@ const opListStageDeployments = "ListStageDeployments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStageDeploymentsRequest method. +// req, resp := client.ListStageDeploymentsRequest(params) // -// // Example sending a request using the ListStageDeploymentsRequest method. -// req, resp := client.ListStageDeploymentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListStageDeployments func (c *GameSparks) ListStageDeploymentsRequest(input *ListStageDeploymentsInput) (req *request.Request, output *ListStageDeploymentsOutput) { @@ -2393,20 +2387,21 @@ func (c *GameSparks) ListStageDeploymentsRequest(input *ListStageDeploymentsInpu // API operation ListStageDeployments for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListStageDeployments func (c *GameSparks) ListStageDeployments(input *ListStageDeploymentsInput) (*ListStageDeploymentsOutput, error) { @@ -2438,15 +2433,14 @@ func (c *GameSparks) ListStageDeploymentsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStageDeployments operation. -// pageNum := 0 -// err := client.ListStageDeploymentsPages(params, -// func(page *gamesparks.ListStageDeploymentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStageDeployments operation. +// pageNum := 0 +// err := client.ListStageDeploymentsPages(params, +// func(page *gamesparks.ListStageDeploymentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameSparks) ListStageDeploymentsPages(input *ListStageDeploymentsInput, fn func(*ListStageDeploymentsOutput, bool) bool) error { return c.ListStageDeploymentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2498,14 +2492,13 @@ const opListStages = "ListStages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStagesRequest method. +// req, resp := client.ListStagesRequest(params) // -// // Example sending a request using the ListStagesRequest method. -// req, resp := client.ListStagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListStages func (c *GameSparks) ListStagesRequest(input *ListStagesInput) (req *request.Request, output *ListStagesOutput) { @@ -2542,20 +2535,21 @@ func (c *GameSparks) ListStagesRequest(input *ListStagesInput) (req *request.Req // API operation ListStages for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * InternalServerException -// The service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListStages func (c *GameSparks) ListStages(input *ListStagesInput) (*ListStagesOutput, error) { @@ -2587,15 +2581,14 @@ func (c *GameSparks) ListStagesWithContext(ctx aws.Context, input *ListStagesInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStages operation. -// pageNum := 0 -// err := client.ListStagesPages(params, -// func(page *gamesparks.ListStagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStages operation. +// pageNum := 0 +// err := client.ListStagesPages(params, +// func(page *gamesparks.ListStagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GameSparks) ListStagesPages(input *ListStagesInput, fn func(*ListStagesOutput, bool) bool) error { return c.ListStagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2647,14 +2640,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListTagsForResource func (c *GameSparks) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2685,14 +2677,15 @@ func (c *GameSparks) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/ListTagsForResource func (c *GameSparks) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2732,14 +2725,13 @@ const opStartGeneratedCodeJob = "StartGeneratedCodeJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartGeneratedCodeJobRequest method. +// req, resp := client.StartGeneratedCodeJobRequest(params) // -// // Example sending a request using the StartGeneratedCodeJobRequest method. -// req, resp := client.StartGeneratedCodeJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/StartGeneratedCodeJob func (c *GameSparks) StartGeneratedCodeJobRequest(input *StartGeneratedCodeJobInput) (req *request.Request, output *StartGeneratedCodeJobOutput) { @@ -2772,20 +2764,21 @@ func (c *GameSparks) StartGeneratedCodeJobRequest(input *StartGeneratedCodeJobIn // API operation StartGeneratedCodeJob for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * InternalServerException -// The service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/StartGeneratedCodeJob func (c *GameSparks) StartGeneratedCodeJob(input *StartGeneratedCodeJobInput) (*StartGeneratedCodeJobOutput, error) { @@ -2825,14 +2818,13 @@ const opStartStageDeployment = "StartStageDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartStageDeploymentRequest method. +// req, resp := client.StartStageDeploymentRequest(params) // -// // Example sending a request using the StartStageDeploymentRequest method. -// req, resp := client.StartStageDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/StartStageDeployment func (c *GameSparks) StartStageDeploymentRequest(input *StartStageDeploymentInput) (req *request.Request, output *StartStageDeploymentOutput) { @@ -2871,23 +2863,24 @@ func (c *GameSparks) StartStageDeploymentRequest(input *StartStageDeploymentInpu // API operation StartStageDeployment for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// The resource already exists, or another operation is in progress. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ConflictException +// The resource already exists, or another operation is in progress. // -// * InternalServerException -// The service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/StartStageDeployment func (c *GameSparks) StartStageDeployment(input *StartStageDeploymentInput) (*StartStageDeploymentOutput, error) { @@ -2927,14 +2920,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/TagResource func (c *GameSparks) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2966,14 +2958,15 @@ func (c *GameSparks) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerException -// The service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/TagResource func (c *GameSparks) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3013,14 +3006,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UntagResource func (c *GameSparks) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3052,14 +3044,15 @@ func (c *GameSparks) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerException -// The service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. +// +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UntagResource func (c *GameSparks) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3099,14 +3092,13 @@ const opUpdateGame = "UpdateGame" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGameRequest method. +// req, resp := client.UpdateGameRequest(params) // -// // Example sending a request using the UpdateGameRequest method. -// req, resp := client.UpdateGameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateGame func (c *GameSparks) UpdateGameRequest(input *UpdateGameInput) (req *request.Request, output *UpdateGameOutput) { @@ -3137,20 +3129,21 @@ func (c *GameSparks) UpdateGameRequest(input *UpdateGameInput) (req *request.Req // API operation UpdateGame for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateGame func (c *GameSparks) UpdateGame(input *UpdateGameInput) (*UpdateGameOutput, error) { @@ -3190,14 +3183,13 @@ const opUpdateGameConfiguration = "UpdateGameConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGameConfigurationRequest method. +// req, resp := client.UpdateGameConfigurationRequest(params) // -// // Example sending a request using the UpdateGameConfigurationRequest method. -// req, resp := client.UpdateGameConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateGameConfiguration func (c *GameSparks) UpdateGameConfigurationRequest(input *UpdateGameConfigurationInput) (req *request.Request, output *UpdateGameConfigurationOutput) { @@ -3228,23 +3220,24 @@ func (c *GameSparks) UpdateGameConfigurationRequest(input *UpdateGameConfigurati // API operation UpdateGameConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // -// * ServiceQuotaExceededException -// The request would result in exceeding service quota. +// - ServiceQuotaExceededException +// The request would result in exceeding service quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateGameConfiguration func (c *GameSparks) UpdateGameConfiguration(input *UpdateGameConfigurationInput) (*UpdateGameConfigurationOutput, error) { @@ -3284,14 +3277,13 @@ const opUpdateSnapshot = "UpdateSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSnapshotRequest method. +// req, resp := client.UpdateSnapshotRequest(params) // -// // Example sending a request using the UpdateSnapshotRequest method. -// req, resp := client.UpdateSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateSnapshot func (c *GameSparks) UpdateSnapshotRequest(input *UpdateSnapshotInput) (req *request.Request, output *UpdateSnapshotOutput) { @@ -3322,20 +3314,21 @@ func (c *GameSparks) UpdateSnapshotRequest(input *UpdateSnapshotInput) (req *req // API operation UpdateSnapshot for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateSnapshot func (c *GameSparks) UpdateSnapshot(input *UpdateSnapshotInput) (*UpdateSnapshotOutput, error) { @@ -3375,14 +3368,13 @@ const opUpdateStage = "UpdateStage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStageRequest method. +// req, resp := client.UpdateStageRequest(params) // -// // Example sending a request using the UpdateStageRequest method. -// req, resp := client.UpdateStageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateStage func (c *GameSparks) UpdateStageRequest(input *UpdateStageInput) (req *request.Request, output *UpdateStageOutput) { @@ -3413,20 +3405,21 @@ func (c *GameSparks) UpdateStageRequest(input *UpdateStageInput) (req *request.R // API operation UpdateStage for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// One of the parameters in the request is invalid. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InternalServerException -// The service encountered an internal error. +// - InternalServerException +// The service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/gamesparks-2021-08-17/UpdateStage func (c *GameSparks) UpdateStage(input *UpdateStageInput) (*UpdateStageOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/doc.go index b7999c17f15c..2a1c6b6186a4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/doc.go @@ -8,7 +8,7 @@ // See gamesparks package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/gamesparks/ // -// Using the Client +// # Using the Client // // To contact GameSparks with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/gamesparksiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/gamesparksiface/interface.go index 3414c7fd1553..c8326238bb54 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/gamesparksiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/gamesparksiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // GameSparks. -// func myFunc(svc gamesparksiface.GameSparksAPI) bool { -// // Make svc.CreateGame request -// } +// // myFunc uses an SDK service client to make a request to +// // GameSparks. +// func myFunc(svc gamesparksiface.GameSparksAPI) bool { +// // Make svc.CreateGame request +// } // -// func main() { -// sess := session.New() -// svc := gamesparks.New(sess) +// func main() { +// sess := session.New() +// svc := gamesparks.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockGameSparksClient struct { -// gamesparksiface.GameSparksAPI -// } -// func (m *mockGameSparksClient) CreateGame(input *gamesparks.CreateGameInput) (*gamesparks.CreateGameOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockGameSparksClient struct { +// gamesparksiface.GameSparksAPI +// } +// func (m *mockGameSparksClient) CreateGame(input *gamesparks.CreateGameInput) (*gamesparks.CreateGameOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockGameSparksClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockGameSparksClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/service.go index 8311ccaadd7d..287cf0c7dd59 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gamesparks/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a GameSparks client from just a session. -// svc := gamesparks.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a GameSparks client with additional configuration -// svc := gamesparks.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a GameSparks client from just a session. +// svc := gamesparks.New(mySession) +// +// // Create a GameSparks client with additional configuration +// svc := gamesparks.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *GameSparks { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/api.go index 13db0666098c..19c91d2a128f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/api.go @@ -29,14 +29,13 @@ const opAbortMultipartUpload = "AbortMultipartUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AbortMultipartUploadRequest method. +// req, resp := client.AbortMultipartUploadRequest(params) // -// // Example sending a request using the AbortMultipartUploadRequest method. -// req, resp := client.AbortMultipartUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) (req *request.Request, output *AbortMultipartUploadOutput) { op := &request.Operation{ Name: opAbortMultipartUpload, @@ -85,19 +84,19 @@ func (c *Glacier) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) // API operation AbortMultipartUpload for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) AbortMultipartUpload(input *AbortMultipartUploadInput) (*AbortMultipartUploadOutput, error) { req, out := c.AbortMultipartUploadRequest(input) return out, req.Send() @@ -135,14 +134,13 @@ const opAbortVaultLock = "AbortVaultLock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AbortVaultLockRequest method. +// req, resp := client.AbortVaultLockRequest(params) // -// // Example sending a request using the AbortVaultLockRequest method. -// req, resp := client.AbortVaultLockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) AbortVaultLockRequest(input *AbortVaultLockInput) (req *request.Request, output *AbortVaultLockOutput) { op := &request.Operation{ Name: opAbortVaultLock, @@ -187,19 +185,19 @@ func (c *Glacier) AbortVaultLockRequest(input *AbortVaultLockInput) (req *reques // API operation AbortVaultLock for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) AbortVaultLock(input *AbortVaultLockInput) (*AbortVaultLockOutput, error) { req, out := c.AbortVaultLockRequest(input) return out, req.Send() @@ -237,14 +235,13 @@ const opAddTagsToVault = "AddTagsToVault" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsToVaultRequest method. +// req, resp := client.AddTagsToVaultRequest(params) // -// // Example sending a request using the AddTagsToVaultRequest method. -// req, resp := client.AddTagsToVaultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) AddTagsToVaultRequest(input *AddTagsToVaultInput) (req *request.Request, output *AddTagsToVaultOutput) { op := &request.Operation{ Name: opAddTagsToVault, @@ -279,22 +276,22 @@ func (c *Glacier) AddTagsToVaultRequest(input *AddTagsToVaultInput) (req *reques // API operation AddTagsToVault for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // -// * LimitExceededException -// Returned if the request results in a vault or account limit being exceeded. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - LimitExceededException +// Returned if the request results in a vault or account limit being exceeded. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) AddTagsToVault(input *AddTagsToVaultInput) (*AddTagsToVaultOutput, error) { req, out := c.AddTagsToVaultRequest(input) return out, req.Send() @@ -332,14 +329,13 @@ const opCompleteMultipartUpload = "CompleteMultipartUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CompleteMultipartUploadRequest method. +// req, resp := client.CompleteMultipartUploadRequest(params) // -// // Example sending a request using the CompleteMultipartUploadRequest method. -// req, resp := client.CompleteMultipartUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) CompleteMultipartUploadRequest(input *CompleteMultipartUploadInput) (req *request.Request, output *ArchiveCreationOutput) { op := &request.Operation{ Name: opCompleteMultipartUpload, @@ -411,19 +407,19 @@ func (c *Glacier) CompleteMultipartUploadRequest(input *CompleteMultipartUploadI // API operation CompleteMultipartUpload for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) CompleteMultipartUpload(input *CompleteMultipartUploadInput) (*ArchiveCreationOutput, error) { req, out := c.CompleteMultipartUploadRequest(input) return out, req.Send() @@ -461,14 +457,13 @@ const opCompleteVaultLock = "CompleteVaultLock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CompleteVaultLockRequest method. +// req, resp := client.CompleteVaultLockRequest(params) // -// // Example sending a request using the CompleteVaultLockRequest method. -// req, resp := client.CompleteVaultLockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) CompleteVaultLockRequest(input *CompleteVaultLockInput) (req *request.Request, output *CompleteVaultLockOutput) { op := &request.Operation{ Name: opCompleteVaultLock, @@ -512,19 +507,19 @@ func (c *Glacier) CompleteVaultLockRequest(input *CompleteVaultLockInput) (req * // API operation CompleteVaultLock for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) CompleteVaultLock(input *CompleteVaultLockInput) (*CompleteVaultLockOutput, error) { req, out := c.CompleteVaultLockRequest(input) return out, req.Send() @@ -562,14 +557,13 @@ const opCreateVault = "CreateVault" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVaultRequest method. +// req, resp := client.CreateVaultRequest(params) // -// // Example sending a request using the CreateVaultRequest method. -// req, resp := client.CreateVaultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) CreateVaultRequest(input *CreateVaultInput) (req *request.Request, output *CreateVaultOutput) { op := &request.Operation{ Name: opCreateVault, @@ -595,10 +589,10 @@ func (c *Glacier) CreateVaultRequest(input *CreateVaultInput) (req *request.Requ // // You must use the following guidelines when naming a vault. // -// * Names can be between 1 and 255 characters long. +// - Names can be between 1 and 255 characters long. // -// * Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), -// and '.' (period). +// - Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), +// and '.' (period). // // This operation is idempotent. // @@ -621,18 +615,18 @@ func (c *Glacier) CreateVaultRequest(input *CreateVaultInput) (req *request.Requ // API operation CreateVault for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // -// * LimitExceededException -// Returned if the request results in a vault or account limit being exceeded. +// - ServiceUnavailableException +// Returned if the service cannot complete the request. // +// - LimitExceededException +// Returned if the request results in a vault or account limit being exceeded. func (c *Glacier) CreateVault(input *CreateVaultInput) (*CreateVaultOutput, error) { req, out := c.CreateVaultRequest(input) return out, req.Send() @@ -670,14 +664,13 @@ const opDeleteArchive = "DeleteArchive" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteArchiveRequest method. +// req, resp := client.DeleteArchiveRequest(params) // -// // Example sending a request using the DeleteArchiveRequest method. -// req, resp := client.DeleteArchiveRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) DeleteArchiveRequest(input *DeleteArchiveInput) (req *request.Request, output *DeleteArchiveOutput) { op := &request.Operation{ Name: opDeleteArchive, @@ -701,13 +694,13 @@ func (c *Glacier) DeleteArchiveRequest(input *DeleteArchiveInput) (req *request. // a retrieval of this archive will fail. Archive retrievals that are in progress // for this archive ID may or may not succeed according to the following scenarios: // -// * If the archive retrieval job is actively preparing the data for download -// when Amazon S3 Glacier receives the delete archive request, the archival -// retrieval operation might fail. +// - If the archive retrieval job is actively preparing the data for download +// when Amazon S3 Glacier receives the delete archive request, the archival +// retrieval operation might fail. // -// * If the archive retrieval job has successfully prepared the archive for -// download when Amazon S3 Glacier receives the delete archive request, you -// will be able to download the output. +// - If the archive retrieval job has successfully prepared the archive for +// download when Amazon S3 Glacier receives the delete archive request, you +// will be able to download the output. // // This operation is idempotent. Attempting to delete an already-deleted archive // does not result in an error. @@ -731,19 +724,19 @@ func (c *Glacier) DeleteArchiveRequest(input *DeleteArchiveInput) (req *request. // API operation DeleteArchive for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) DeleteArchive(input *DeleteArchiveInput) (*DeleteArchiveOutput, error) { req, out := c.DeleteArchiveRequest(input) return out, req.Send() @@ -781,14 +774,13 @@ const opDeleteVault = "DeleteVault" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVaultRequest method. +// req, resp := client.DeleteVaultRequest(params) // -// // Example sending a request using the DeleteVaultRequest method. -// req, resp := client.DeleteVaultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) DeleteVaultRequest(input *DeleteVaultInput) (req *request.Request, output *DeleteVaultOutput) { op := &request.Operation{ Name: opDeleteVault, @@ -840,19 +832,19 @@ func (c *Glacier) DeleteVaultRequest(input *DeleteVaultInput) (req *request.Requ // API operation DeleteVault for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) DeleteVault(input *DeleteVaultInput) (*DeleteVaultOutput, error) { req, out := c.DeleteVaultRequest(input) return out, req.Send() @@ -890,14 +882,13 @@ const opDeleteVaultAccessPolicy = "DeleteVaultAccessPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVaultAccessPolicyRequest method. +// req, resp := client.DeleteVaultAccessPolicyRequest(params) // -// // Example sending a request using the DeleteVaultAccessPolicyRequest method. -// req, resp := client.DeleteVaultAccessPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) DeleteVaultAccessPolicyRequest(input *DeleteVaultAccessPolicyInput) (req *request.Request, output *DeleteVaultAccessPolicyOutput) { op := &request.Operation{ Name: opDeleteVaultAccessPolicy, @@ -936,19 +927,19 @@ func (c *Glacier) DeleteVaultAccessPolicyRequest(input *DeleteVaultAccessPolicyI // API operation DeleteVaultAccessPolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) DeleteVaultAccessPolicy(input *DeleteVaultAccessPolicyInput) (*DeleteVaultAccessPolicyOutput, error) { req, out := c.DeleteVaultAccessPolicyRequest(input) return out, req.Send() @@ -986,14 +977,13 @@ const opDeleteVaultNotifications = "DeleteVaultNotifications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVaultNotificationsRequest method. +// req, resp := client.DeleteVaultNotificationsRequest(params) // -// // Example sending a request using the DeleteVaultNotificationsRequest method. -// req, resp := client.DeleteVaultNotificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) DeleteVaultNotificationsRequest(input *DeleteVaultNotificationsInput) (req *request.Request, output *DeleteVaultNotificationsOutput) { op := &request.Operation{ Name: opDeleteVaultNotifications, @@ -1037,19 +1027,19 @@ func (c *Glacier) DeleteVaultNotificationsRequest(input *DeleteVaultNotification // API operation DeleteVaultNotifications for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) DeleteVaultNotifications(input *DeleteVaultNotificationsInput) (*DeleteVaultNotificationsOutput, error) { req, out := c.DeleteVaultNotificationsRequest(input) return out, req.Send() @@ -1087,14 +1077,13 @@ const opDescribeJob = "DescribeJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobRequest method. +// req, resp := client.DescribeJobRequest(params) // -// // Example sending a request using the DescribeJobRequest method. -// req, resp := client.DescribeJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) DescribeJobRequest(input *DescribeJobInput) (req *request.Request, output *JobDescription) { op := &request.Operation{ Name: opDescribeJob, @@ -1145,19 +1134,19 @@ func (c *Glacier) DescribeJobRequest(input *DescribeJobInput) (req *request.Requ // API operation DescribeJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) DescribeJob(input *DescribeJobInput) (*JobDescription, error) { req, out := c.DescribeJobRequest(input) return out, req.Send() @@ -1195,14 +1184,13 @@ const opDescribeVault = "DescribeVault" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVaultRequest method. +// req, resp := client.DescribeVaultRequest(params) // -// // Example sending a request using the DescribeVaultRequest method. -// req, resp := client.DescribeVaultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) DescribeVaultRequest(input *DescribeVaultInput) (req *request.Request, output *DescribeVaultOutput) { op := &request.Operation{ Name: opDescribeVault, @@ -1250,19 +1238,19 @@ func (c *Glacier) DescribeVaultRequest(input *DescribeVaultInput) (req *request. // API operation DescribeVault for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) DescribeVault(input *DescribeVaultInput) (*DescribeVaultOutput, error) { req, out := c.DescribeVaultRequest(input) return out, req.Send() @@ -1300,14 +1288,13 @@ const opGetDataRetrievalPolicy = "GetDataRetrievalPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDataRetrievalPolicyRequest method. +// req, resp := client.GetDataRetrievalPolicyRequest(params) // -// // Example sending a request using the GetDataRetrievalPolicyRequest method. -// req, resp := client.GetDataRetrievalPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) GetDataRetrievalPolicyRequest(input *GetDataRetrievalPolicyInput) (req *request.Request, output *GetDataRetrievalPolicyOutput) { op := &request.Operation{ Name: opGetDataRetrievalPolicy, @@ -1338,15 +1325,15 @@ func (c *Glacier) GetDataRetrievalPolicyRequest(input *GetDataRetrievalPolicyInp // API operation GetDataRetrievalPolicy for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) GetDataRetrievalPolicy(input *GetDataRetrievalPolicyInput) (*GetDataRetrievalPolicyOutput, error) { req, out := c.GetDataRetrievalPolicyRequest(input) return out, req.Send() @@ -1384,14 +1371,13 @@ const opGetJobOutput = "GetJobOutput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobOutputRequest method. +// req, resp := client.GetJobOutputRequest(params) // -// // Example sending a request using the GetJobOutputRequest method. -// req, resp := client.GetJobOutputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) GetJobOutputRequest(input *GetJobOutputInput) (req *request.Request, output *GetJobOutputOutput) { op := &request.Operation{ Name: opGetJobOutput, @@ -1463,19 +1449,19 @@ func (c *Glacier) GetJobOutputRequest(input *GetJobOutputInput) (req *request.Re // API operation GetJobOutput for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) GetJobOutput(input *GetJobOutputInput) (*GetJobOutputOutput, error) { req, out := c.GetJobOutputRequest(input) return out, req.Send() @@ -1513,14 +1499,13 @@ const opGetVaultAccessPolicy = "GetVaultAccessPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVaultAccessPolicyRequest method. +// req, resp := client.GetVaultAccessPolicyRequest(params) // -// // Example sending a request using the GetVaultAccessPolicyRequest method. -// req, resp := client.GetVaultAccessPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) GetVaultAccessPolicyRequest(input *GetVaultAccessPolicyInput) (req *request.Request, output *GetVaultAccessPolicyOutput) { op := &request.Operation{ Name: opGetVaultAccessPolicy, @@ -1554,19 +1539,19 @@ func (c *Glacier) GetVaultAccessPolicyRequest(input *GetVaultAccessPolicyInput) // API operation GetVaultAccessPolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) GetVaultAccessPolicy(input *GetVaultAccessPolicyInput) (*GetVaultAccessPolicyOutput, error) { req, out := c.GetVaultAccessPolicyRequest(input) return out, req.Send() @@ -1604,14 +1589,13 @@ const opGetVaultLock = "GetVaultLock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVaultLockRequest method. +// req, resp := client.GetVaultLockRequest(params) // -// // Example sending a request using the GetVaultLockRequest method. -// req, resp := client.GetVaultLockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) GetVaultLockRequest(input *GetVaultLockInput) (req *request.Request, output *GetVaultLockOutput) { op := &request.Operation{ Name: opGetVaultLock, @@ -1633,14 +1617,14 @@ func (c *Glacier) GetVaultLockRequest(input *GetVaultLockInput) (req *request.Re // This operation retrieves the following attributes from the lock-policy subresource // set on the specified vault: // -// * The vault lock policy set on the vault. +// - The vault lock policy set on the vault. // -// * The state of the vault lock, which is either InProgess or Locked. +// - The state of the vault lock, which is either InProgess or Locked. // -// * When the lock ID expires. The lock ID is used to complete the vault -// locking process. +// - When the lock ID expires. The lock ID is used to complete the vault +// locking process. // -// * When the vault lock was initiated and put into the InProgress state. +// - When the vault lock was initiated and put into the InProgress state. // // A vault lock is put into the InProgress state by calling InitiateVaultLock. // A vault lock is put into the Locked state by calling CompleteVaultLock. You @@ -1659,19 +1643,19 @@ func (c *Glacier) GetVaultLockRequest(input *GetVaultLockInput) (req *request.Re // API operation GetVaultLock for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) GetVaultLock(input *GetVaultLockInput) (*GetVaultLockOutput, error) { req, out := c.GetVaultLockRequest(input) return out, req.Send() @@ -1709,14 +1693,13 @@ const opGetVaultNotifications = "GetVaultNotifications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVaultNotificationsRequest method. +// req, resp := client.GetVaultNotificationsRequest(params) // -// // Example sending a request using the GetVaultNotificationsRequest method. -// req, resp := client.GetVaultNotificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) GetVaultNotificationsRequest(input *GetVaultNotificationsInput) (req *request.Request, output *GetVaultNotificationsOutput) { op := &request.Operation{ Name: opGetVaultNotifications, @@ -1763,19 +1746,19 @@ func (c *Glacier) GetVaultNotificationsRequest(input *GetVaultNotificationsInput // API operation GetVaultNotifications for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) GetVaultNotifications(input *GetVaultNotificationsInput) (*GetVaultNotificationsOutput, error) { req, out := c.GetVaultNotificationsRequest(input) return out, req.Send() @@ -1813,14 +1796,13 @@ const opInitiateJob = "InitiateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InitiateJobRequest method. +// req, resp := client.InitiateJobRequest(params) // -// // Example sending a request using the InitiateJobRequest method. -// req, resp := client.InitiateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) InitiateJobRequest(input *InitiateJobInput) (req *request.Request, output *InitiateJobOutput) { op := &request.Operation{ Name: opInitiateJob, @@ -1852,28 +1834,28 @@ func (c *Glacier) InitiateJobRequest(input *InitiateJobInput) (req *request.Requ // API operation InitiateJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * PolicyEnforcedException -// Returned if a retrieval job would exceed the current data policy's retrieval -// rate limit. For more information about data retrieval policies, +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - PolicyEnforcedException +// Returned if a retrieval job would exceed the current data policy's retrieval +// rate limit. For more information about data retrieval policies, // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * InsufficientCapacityException -// Returned if there is insufficient capacity to process this expedited request. -// This error only applies to expedited retrievals and not to standard or bulk -// retrievals. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - InsufficientCapacityException +// Returned if there is insufficient capacity to process this expedited request. +// This error only applies to expedited retrievals and not to standard or bulk +// retrievals. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) InitiateJob(input *InitiateJobInput) (*InitiateJobOutput, error) { req, out := c.InitiateJobRequest(input) return out, req.Send() @@ -1911,14 +1893,13 @@ const opInitiateMultipartUpload = "InitiateMultipartUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InitiateMultipartUploadRequest method. +// req, resp := client.InitiateMultipartUploadRequest(params) // -// // Example sending a request using the InitiateMultipartUploadRequest method. -// req, resp := client.InitiateMultipartUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) InitiateMultipartUploadRequest(input *InitiateMultipartUploadInput) (req *request.Request, output *InitiateMultipartUploadOutput) { op := &request.Operation{ Name: opInitiateMultipartUpload, @@ -1982,19 +1963,19 @@ func (c *Glacier) InitiateMultipartUploadRequest(input *InitiateMultipartUploadI // API operation InitiateMultipartUpload for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) InitiateMultipartUpload(input *InitiateMultipartUploadInput) (*InitiateMultipartUploadOutput, error) { req, out := c.InitiateMultipartUploadRequest(input) return out, req.Send() @@ -2032,14 +2013,13 @@ const opInitiateVaultLock = "InitiateVaultLock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InitiateVaultLockRequest method. +// req, resp := client.InitiateVaultLockRequest(params) // -// // Example sending a request using the InitiateVaultLockRequest method. -// req, resp := client.InitiateVaultLockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) InitiateVaultLockRequest(input *InitiateVaultLockInput) (req *request.Request, output *InitiateVaultLockOutput) { op := &request.Operation{ Name: opInitiateVaultLock, @@ -2060,11 +2040,11 @@ func (c *Glacier) InitiateVaultLockRequest(input *InitiateVaultLockInput) (req * // // This operation initiates the vault locking process by doing the following: // -// * Installing a vault lock policy on the specified vault. +// - Installing a vault lock policy on the specified vault. // -// * Setting the lock state of vault lock to InProgress. +// - Setting the lock state of vault lock to InProgress. // -// * Returning a lock ID, which is used to complete the vault locking process. +// - Returning a lock ID, which is used to complete the vault locking process. // // You can set one vault lock policy for each vault and this policy can be up // to 20 KB in size. For more information about vault lock policies, see Amazon @@ -2096,19 +2076,19 @@ func (c *Glacier) InitiateVaultLockRequest(input *InitiateVaultLockInput) (req * // API operation InitiateVaultLock for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) InitiateVaultLock(input *InitiateVaultLockInput) (*InitiateVaultLockOutput, error) { req, out := c.InitiateVaultLockRequest(input) return out, req.Send() @@ -2146,14 +2126,13 @@ const opListJobs = "ListJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobsRequest method. +// req, resp := client.ListJobsRequest(params) // -// // Example sending a request using the ListJobsRequest method. -// req, resp := client.ListJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { op := &request.Operation{ Name: opListJobs, @@ -2223,19 +2202,19 @@ func (c *Glacier) ListJobsRequest(input *ListJobsInput) (req *request.Request, o // API operation ListJobs for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { req, out := c.ListJobsRequest(input) return out, req.Send() @@ -2265,15 +2244,14 @@ func (c *Glacier) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobs operation. -// pageNum := 0 -// err := client.ListJobsPages(params, -// func(page *glacier.ListJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobs operation. +// pageNum := 0 +// err := client.ListJobsPages(params, +// func(page *glacier.ListJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glacier) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error { return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2325,14 +2303,13 @@ const opListMultipartUploads = "ListMultipartUploads" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMultipartUploadsRequest method. +// req, resp := client.ListMultipartUploadsRequest(params) // -// // Example sending a request using the ListMultipartUploadsRequest method. -// req, resp := client.ListMultipartUploadsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) (req *request.Request, output *ListMultipartUploadsOutput) { op := &request.Operation{ Name: opListMultipartUploads, @@ -2396,19 +2373,19 @@ func (c *Glacier) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) // API operation ListMultipartUploads for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) ListMultipartUploads(input *ListMultipartUploadsInput) (*ListMultipartUploadsOutput, error) { req, out := c.ListMultipartUploadsRequest(input) return out, req.Send() @@ -2438,15 +2415,14 @@ func (c *Glacier) ListMultipartUploadsWithContext(ctx aws.Context, input *ListMu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMultipartUploads operation. -// pageNum := 0 -// err := client.ListMultipartUploadsPages(params, -// func(page *glacier.ListMultipartUploadsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMultipartUploads operation. +// pageNum := 0 +// err := client.ListMultipartUploadsPages(params, +// func(page *glacier.ListMultipartUploadsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glacier) ListMultipartUploadsPages(input *ListMultipartUploadsInput, fn func(*ListMultipartUploadsOutput, bool) bool) error { return c.ListMultipartUploadsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2498,14 +2474,13 @@ const opListParts = "ListParts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPartsRequest method. +// req, resp := client.ListPartsRequest(params) // -// // Example sending a request using the ListPartsRequest method. -// req, resp := client.ListPartsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) ListPartsRequest(input *ListPartsInput) (req *request.Request, output *ListPartsOutput) { op := &request.Operation{ Name: opListParts, @@ -2563,19 +2538,19 @@ func (c *Glacier) ListPartsRequest(input *ListPartsInput) (req *request.Request, // API operation ListParts for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) ListParts(input *ListPartsInput) (*ListPartsOutput, error) { req, out := c.ListPartsRequest(input) return out, req.Send() @@ -2605,15 +2580,14 @@ func (c *Glacier) ListPartsWithContext(ctx aws.Context, input *ListPartsInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListParts operation. -// pageNum := 0 -// err := client.ListPartsPages(params, -// func(page *glacier.ListPartsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListParts operation. +// pageNum := 0 +// err := client.ListPartsPages(params, +// func(page *glacier.ListPartsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glacier) ListPartsPages(input *ListPartsInput, fn func(*ListPartsOutput, bool) bool) error { return c.ListPartsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2665,14 +2639,13 @@ const opListProvisionedCapacity = "ListProvisionedCapacity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProvisionedCapacityRequest method. +// req, resp := client.ListProvisionedCapacityRequest(params) // -// // Example sending a request using the ListProvisionedCapacityRequest method. -// req, resp := client.ListProvisionedCapacityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) ListProvisionedCapacityRequest(input *ListProvisionedCapacityInput) (req *request.Request, output *ListProvisionedCapacityOutput) { op := &request.Operation{ Name: opListProvisionedCapacity, @@ -2702,15 +2675,15 @@ func (c *Glacier) ListProvisionedCapacityRequest(input *ListProvisionedCapacityI // API operation ListProvisionedCapacity for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) ListProvisionedCapacity(input *ListProvisionedCapacityInput) (*ListProvisionedCapacityOutput, error) { req, out := c.ListProvisionedCapacityRequest(input) return out, req.Send() @@ -2748,14 +2721,13 @@ const opListTagsForVault = "ListTagsForVault" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForVaultRequest method. +// req, resp := client.ListTagsForVaultRequest(params) // -// // Example sending a request using the ListTagsForVaultRequest method. -// req, resp := client.ListTagsForVaultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) ListTagsForVaultRequest(input *ListTagsForVaultInput) (req *request.Request, output *ListTagsForVaultOutput) { op := &request.Operation{ Name: opListTagsForVault, @@ -2786,19 +2758,19 @@ func (c *Glacier) ListTagsForVaultRequest(input *ListTagsForVaultInput) (req *re // API operation ListTagsForVault for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) ListTagsForVault(input *ListTagsForVaultInput) (*ListTagsForVaultOutput, error) { req, out := c.ListTagsForVaultRequest(input) return out, req.Send() @@ -2836,14 +2808,13 @@ const opListVaults = "ListVaults" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVaultsRequest method. +// req, resp := client.ListVaultsRequest(params) // -// // Example sending a request using the ListVaultsRequest method. -// req, resp := client.ListVaultsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) ListVaultsRequest(input *ListVaultsInput) (req *request.Request, output *ListVaultsOutput) { op := &request.Operation{ Name: opListVaults, @@ -2898,19 +2869,19 @@ func (c *Glacier) ListVaultsRequest(input *ListVaultsInput) (req *request.Reques // API operation ListVaults for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) ListVaults(input *ListVaultsInput) (*ListVaultsOutput, error) { req, out := c.ListVaultsRequest(input) return out, req.Send() @@ -2940,15 +2911,14 @@ func (c *Glacier) ListVaultsWithContext(ctx aws.Context, input *ListVaultsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVaults operation. -// pageNum := 0 -// err := client.ListVaultsPages(params, -// func(page *glacier.ListVaultsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVaults operation. +// pageNum := 0 +// err := client.ListVaultsPages(params, +// func(page *glacier.ListVaultsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glacier) ListVaultsPages(input *ListVaultsInput, fn func(*ListVaultsOutput, bool) bool) error { return c.ListVaultsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3000,14 +2970,13 @@ const opPurchaseProvisionedCapacity = "PurchaseProvisionedCapacity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PurchaseProvisionedCapacityRequest method. +// req, resp := client.PurchaseProvisionedCapacityRequest(params) // -// // Example sending a request using the PurchaseProvisionedCapacityRequest method. -// req, resp := client.PurchaseProvisionedCapacityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) PurchaseProvisionedCapacityRequest(input *PurchaseProvisionedCapacityInput) (req *request.Request, output *PurchaseProvisionedCapacityOutput) { op := &request.Operation{ Name: opPurchaseProvisionedCapacity, @@ -3036,18 +3005,18 @@ func (c *Glacier) PurchaseProvisionedCapacityRequest(input *PurchaseProvisionedC // API operation PurchaseProvisionedCapacity for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * LimitExceededException -// Returned if the request results in a vault or account limit being exceeded. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - LimitExceededException +// Returned if the request results in a vault or account limit being exceeded. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) PurchaseProvisionedCapacity(input *PurchaseProvisionedCapacityInput) (*PurchaseProvisionedCapacityOutput, error) { req, out := c.PurchaseProvisionedCapacityRequest(input) return out, req.Send() @@ -3085,14 +3054,13 @@ const opRemoveTagsFromVault = "RemoveTagsFromVault" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsFromVaultRequest method. +// req, resp := client.RemoveTagsFromVaultRequest(params) // -// // Example sending a request using the RemoveTagsFromVaultRequest method. -// req, resp := client.RemoveTagsFromVaultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) RemoveTagsFromVaultRequest(input *RemoveTagsFromVaultInput) (req *request.Request, output *RemoveTagsFromVaultOutput) { op := &request.Operation{ Name: opRemoveTagsFromVault, @@ -3126,19 +3094,19 @@ func (c *Glacier) RemoveTagsFromVaultRequest(input *RemoveTagsFromVaultInput) (r // API operation RemoveTagsFromVault for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) RemoveTagsFromVault(input *RemoveTagsFromVaultInput) (*RemoveTagsFromVaultOutput, error) { req, out := c.RemoveTagsFromVaultRequest(input) return out, req.Send() @@ -3176,14 +3144,13 @@ const opSetDataRetrievalPolicy = "SetDataRetrievalPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetDataRetrievalPolicyRequest method. +// req, resp := client.SetDataRetrievalPolicyRequest(params) // -// // Example sending a request using the SetDataRetrievalPolicyRequest method. -// req, resp := client.SetDataRetrievalPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) SetDataRetrievalPolicyRequest(input *SetDataRetrievalPolicyInput) (req *request.Request, output *SetDataRetrievalPolicyOutput) { op := &request.Operation{ Name: opSetDataRetrievalPolicy, @@ -3219,15 +3186,15 @@ func (c *Glacier) SetDataRetrievalPolicyRequest(input *SetDataRetrievalPolicyInp // API operation SetDataRetrievalPolicy for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) SetDataRetrievalPolicy(input *SetDataRetrievalPolicyInput) (*SetDataRetrievalPolicyOutput, error) { req, out := c.SetDataRetrievalPolicyRequest(input) return out, req.Send() @@ -3265,14 +3232,13 @@ const opSetVaultAccessPolicy = "SetVaultAccessPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetVaultAccessPolicyRequest method. +// req, resp := client.SetVaultAccessPolicyRequest(params) // -// // Example sending a request using the SetVaultAccessPolicyRequest method. -// req, resp := client.SetVaultAccessPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) SetVaultAccessPolicyRequest(input *SetVaultAccessPolicyInput) (req *request.Request, output *SetVaultAccessPolicyOutput) { op := &request.Operation{ Name: opSetVaultAccessPolicy, @@ -3308,19 +3274,19 @@ func (c *Glacier) SetVaultAccessPolicyRequest(input *SetVaultAccessPolicyInput) // API operation SetVaultAccessPolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) SetVaultAccessPolicy(input *SetVaultAccessPolicyInput) (*SetVaultAccessPolicyOutput, error) { req, out := c.SetVaultAccessPolicyRequest(input) return out, req.Send() @@ -3358,14 +3324,13 @@ const opSetVaultNotifications = "SetVaultNotifications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetVaultNotificationsRequest method. +// req, resp := client.SetVaultNotificationsRequest(params) // -// // Example sending a request using the SetVaultNotificationsRequest method. -// req, resp := client.SetVaultNotificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) SetVaultNotificationsRequest(input *SetVaultNotificationsInput) (req *request.Request, output *SetVaultNotificationsOutput) { op := &request.Operation{ Name: opSetVaultNotifications, @@ -3397,15 +3362,15 @@ func (c *Glacier) SetVaultNotificationsRequest(input *SetVaultNotificationsInput // notifications to the topic. You can configure a vault to publish a notification // for the following vault events: // -// * ArchiveRetrievalCompleted This event occurs when a job that was initiated -// for an archive retrieval is completed (InitiateJob). The status of the -// completed job can be "Succeeded" or "Failed". The notification sent to -// the SNS topic is the same output as returned from DescribeJob. +// - ArchiveRetrievalCompleted This event occurs when a job that was initiated +// for an archive retrieval is completed (InitiateJob). The status of the +// completed job can be "Succeeded" or "Failed". The notification sent to +// the SNS topic is the same output as returned from DescribeJob. // -// * InventoryRetrievalCompleted This event occurs when a job that was initiated -// for an inventory retrieval is completed (InitiateJob). The status of the -// completed job can be "Succeeded" or "Failed". The notification sent to -// the SNS topic is the same output as returned from DescribeJob. +// - InventoryRetrievalCompleted This event occurs when a job that was initiated +// for an inventory retrieval is completed (InitiateJob). The status of the +// completed job can be "Succeeded" or "Failed". The notification sent to +// the SNS topic is the same output as returned from DescribeJob. // // An AWS account has full permission to perform all operations (actions). However, // AWS Identity and Access Management (IAM) users don't have any permissions @@ -3426,19 +3391,19 @@ func (c *Glacier) SetVaultNotificationsRequest(input *SetVaultNotificationsInput // API operation SetVaultNotifications for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) SetVaultNotifications(input *SetVaultNotificationsInput) (*SetVaultNotificationsOutput, error) { req, out := c.SetVaultNotificationsRequest(input) return out, req.Send() @@ -3476,14 +3441,13 @@ const opUploadArchive = "UploadArchive" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UploadArchiveRequest method. +// req, resp := client.UploadArchiveRequest(params) // -// // Example sending a request using the UploadArchiveRequest method. -// req, resp := client.UploadArchiveRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) UploadArchiveRequest(input *UploadArchiveInput) (req *request.Request, output *ArchiveCreationOutput) { op := &request.Operation{ Name: opUploadArchive, @@ -3547,23 +3511,23 @@ func (c *Glacier) UploadArchiveRequest(input *UploadArchiveInput) (req *request. // API operation UploadArchive for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * RequestTimeoutException -// Returned if, when uploading an archive, Amazon S3 Glacier times out while -// receiving the upload. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - RequestTimeoutException +// Returned if, when uploading an archive, Amazon S3 Glacier times out while +// receiving the upload. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) UploadArchive(input *UploadArchiveInput) (*ArchiveCreationOutput, error) { req, out := c.UploadArchiveRequest(input) return out, req.Send() @@ -3601,14 +3565,13 @@ const opUploadMultipartPart = "UploadMultipartPart" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UploadMultipartPartRequest method. +// req, resp := client.UploadMultipartPartRequest(params) // -// // Example sending a request using the UploadMultipartPartRequest method. -// req, resp := client.UploadMultipartPartRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Glacier) UploadMultipartPartRequest(input *UploadMultipartPartInput) (req *request.Request, output *UploadMultipartPartOutput) { op := &request.Operation{ Name: opUploadMultipartPart, @@ -3634,27 +3597,27 @@ func (c *Glacier) UploadMultipartPartRequest(input *UploadMultipartPartInput) (r // Amazon Glacier rejects your upload part request if any of the following conditions // is true: // -// * SHA256 tree hash does not matchTo ensure that part data is not corrupted -// in transmission, you compute a SHA256 tree hash of the part and include -// it in your request. Upon receiving the part data, Amazon S3 Glacier also -// computes a SHA256 tree hash. If these hash values don't match, the operation -// fails. For information about computing a SHA256 tree hash, see Computing -// Checksums (https://docs.aws.amazon.com/amazonglacier/latest/dev/checksum-calculations.html). -// -// * Part size does not matchThe size of each part except the last must match -// the size specified in the corresponding InitiateMultipartUpload request. -// The size of the last part must be the same size as, or smaller than, the -// specified size. If you upload a part whose size is smaller than the part -// size you specified in your initiate multipart upload request and that -// part is not the last part, then the upload part request will succeed. -// However, the subsequent Complete Multipart Upload request will fail. -// -// * Range does not alignThe byte range value in the request does not align -// with the part size specified in the corresponding initiate request. For -// example, if you specify a part size of 4194304 bytes (4 MB), then 0 to -// 4194303 bytes (4 MB - 1) and 4194304 (4 MB) to 8388607 (8 MB - 1) are -// valid part ranges. However, if you set a range value of 2 MB to 6 MB, -// the range does not align with the part size and the upload will fail. +// - SHA256 tree hash does not matchTo ensure that part data is not corrupted +// in transmission, you compute a SHA256 tree hash of the part and include +// it in your request. Upon receiving the part data, Amazon S3 Glacier also +// computes a SHA256 tree hash. If these hash values don't match, the operation +// fails. For information about computing a SHA256 tree hash, see Computing +// Checksums (https://docs.aws.amazon.com/amazonglacier/latest/dev/checksum-calculations.html). +// +// - Part size does not matchThe size of each part except the last must match +// the size specified in the corresponding InitiateMultipartUpload request. +// The size of the last part must be the same size as, or smaller than, the +// specified size. If you upload a part whose size is smaller than the part +// size you specified in your initiate multipart upload request and that +// part is not the last part, then the upload part request will succeed. +// However, the subsequent Complete Multipart Upload request will fail. +// +// - Range does not alignThe byte range value in the request does not align +// with the part size specified in the corresponding initiate request. For +// example, if you specify a part size of 4194304 bytes (4 MB), then 0 to +// 4194303 bytes (4 MB - 1) and 4194304 (4 MB) to 8388607 (8 MB - 1) are +// valid part ranges. However, if you set a range value of 2 MB to 6 MB, +// the range does not align with the part size and the upload will fail. // // This operation is idempotent. If you upload the same part multiple times, // the data included in the most recent request overwrites the previously uploaded @@ -3679,23 +3642,23 @@ func (c *Glacier) UploadMultipartPartRequest(input *UploadMultipartPartInput) (r // API operation UploadMultipartPart for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Returned if the specified resource (such as a vault, upload ID, or job ID) -// doesn't exist. // -// * InvalidParameterValueException -// Returned if a parameter of the request is incorrectly specified. +// - ResourceNotFoundException +// Returned if the specified resource (such as a vault, upload ID, or job ID) +// doesn't exist. // -// * MissingParameterValueException -// Returned if a required header or parameter is missing from the request. +// - InvalidParameterValueException +// Returned if a parameter of the request is incorrectly specified. // -// * RequestTimeoutException -// Returned if, when uploading an archive, Amazon S3 Glacier times out while -// receiving the upload. +// - MissingParameterValueException +// Returned if a required header or parameter is missing from the request. // -// * ServiceUnavailableException -// Returned if the service cannot complete the request. +// - RequestTimeoutException +// Returned if, when uploading an archive, Amazon S3 Glacier times out while +// receiving the upload. // +// - ServiceUnavailableException +// Returned if the service cannot complete the request. func (c *Glacier) UploadMultipartPart(input *UploadMultipartPartInput) (*UploadMultipartPartOutput, error) { req, out := c.UploadMultipartPartRequest(input) return out, req.Send() diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/doc.go index 980905224668..08eba5572dc0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/doc.go @@ -24,20 +24,22 @@ // If you are a first-time user of Glacier, we recommend that you begin by reading // the following sections in the Amazon S3 Glacier Developer Guide: // -// * What is Amazon S3 Glacier (https://docs.aws.amazon.com/amazonglacier/latest/dev/introduction.html) -// - This section of the Developer Guide describes the underlying data model, -// the operations it supports, and the AWS SDKs that you can use to interact -// with the service. +// - What is Amazon S3 Glacier (https://docs.aws.amazon.com/amazonglacier/latest/dev/introduction.html) // -// * Getting Started with Amazon S3 Glacier (https://docs.aws.amazon.com/amazonglacier/latest/dev/amazon-glacier-getting-started.html) -// - The Getting Started section walks you through the process of creating -// a vault, uploading archives, creating jobs to download archives, retrieving -// the job output, and deleting archives. +// - This section of the Developer Guide describes the underlying data model, +// the operations it supports, and the AWS SDKs that you can use to interact +// with the service. +// +// - Getting Started with Amazon S3 Glacier (https://docs.aws.amazon.com/amazonglacier/latest/dev/amazon-glacier-getting-started.html) +// +// - The Getting Started section walks you through the process of creating +// a vault, uploading archives, creating jobs to download archives, retrieving +// the job output, and deleting archives. // // See glacier package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/glacier/ // -// Using the Client +// # Using the Client // // To contact Amazon Glacier with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/glacieriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/glacieriface/interface.go index 0658b6319de4..8ae661d65a46 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/glacieriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/glacieriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Glacier. -// func myFunc(svc glacieriface.GlacierAPI) bool { -// // Make svc.AbortMultipartUpload request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Glacier. +// func myFunc(svc glacieriface.GlacierAPI) bool { +// // Make svc.AbortMultipartUpload request +// } // -// func main() { -// sess := session.New() -// svc := glacier.New(sess) +// func main() { +// sess := session.New() +// svc := glacier.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockGlacierClient struct { -// glacieriface.GlacierAPI -// } -// func (m *mockGlacierClient) AbortMultipartUpload(input *glacier.AbortMultipartUploadInput) (*glacier.AbortMultipartUploadOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockGlacierClient struct { +// glacieriface.GlacierAPI +// } +// func (m *mockGlacierClient) AbortMultipartUpload(input *glacier.AbortMultipartUploadInput) (*glacier.AbortMultipartUploadOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockGlacierClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockGlacierClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/service.go index 7314bb5d6103..56051cbfa99b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glacier/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Glacier client from just a session. -// svc := glacier.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Glacier client with additional configuration -// svc := glacier.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Glacier client from just a session. +// svc := glacier.New(mySession) +// +// // Create a Glacier client with additional configuration +// svc := glacier.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Glacier { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/api.go index 4697421cd77d..b5e52768fd59 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/api.go @@ -29,14 +29,13 @@ const opAddCustomRoutingEndpoints = "AddCustomRoutingEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddCustomRoutingEndpointsRequest method. +// req, resp := client.AddCustomRoutingEndpointsRequest(params) // -// // Example sending a request using the AddCustomRoutingEndpointsRequest method. -// req, resp := client.AddCustomRoutingEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AddCustomRoutingEndpoints func (c *GlobalAccelerator) AddCustomRoutingEndpointsRequest(input *AddCustomRoutingEndpointsInput) (req *request.Request, output *AddCustomRoutingEndpointsOutput) { @@ -83,27 +82,28 @@ func (c *GlobalAccelerator) AddCustomRoutingEndpointsRequest(input *AddCustomRou // API operation AddCustomRoutingEndpoints for usage and error information. // // Returned Error Types: -// * EndpointAlreadyExistsException -// The endpoint that you specified doesn't exist. // -// * EndpointGroupNotFoundException -// The endpoint group that you specified doesn't exist. +// - EndpointAlreadyExistsException +// The endpoint that you specified doesn't exist. +// +// - EndpointGroupNotFoundException +// The endpoint group that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * LimitExceededException -// Processing your request would cause you to exceed an AWS Global Accelerator -// limit. +// - LimitExceededException +// Processing your request would cause you to exceed an AWS Global Accelerator +// limit. // -// * AccessDeniedException -// You don't have access permission. +// - AccessDeniedException +// You don't have access permission. // -// * ConflictException -// You can't use both of those options. +// - ConflictException +// You can't use both of those options. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AddCustomRoutingEndpoints func (c *GlobalAccelerator) AddCustomRoutingEndpoints(input *AddCustomRoutingEndpointsInput) (*AddCustomRoutingEndpointsOutput, error) { @@ -143,14 +143,13 @@ const opAdvertiseByoipCidr = "AdvertiseByoipCidr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AdvertiseByoipCidrRequest method. +// req, resp := client.AdvertiseByoipCidrRequest(params) // -// // Example sending a request using the AdvertiseByoipCidrRequest method. -// req, resp := client.AdvertiseByoipCidrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AdvertiseByoipCidr func (c *GlobalAccelerator) AdvertiseByoipCidrRequest(input *AdvertiseByoipCidrInput) (req *request.Request, output *AdvertiseByoipCidrOutput) { @@ -189,21 +188,22 @@ func (c *GlobalAccelerator) AdvertiseByoipCidrRequest(input *AdvertiseByoipCidrI // API operation AdvertiseByoipCidr for usage and error information. // // Returned Error Types: -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. +// +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * AccessDeniedException -// You don't have access permission. +// - AccessDeniedException +// You don't have access permission. // -// * ByoipCidrNotFoundException -// The CIDR that you specified was not found or is incorrect. +// - ByoipCidrNotFoundException +// The CIDR that you specified was not found or is incorrect. // -// * IncorrectCidrStateException -// The CIDR that you specified is not valid for this action. For example, the -// state of the CIDR might be incorrect for this action. +// - IncorrectCidrStateException +// The CIDR that you specified is not valid for this action. For example, the +// state of the CIDR might be incorrect for this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AdvertiseByoipCidr func (c *GlobalAccelerator) AdvertiseByoipCidr(input *AdvertiseByoipCidrInput) (*AdvertiseByoipCidrOutput, error) { @@ -243,14 +243,13 @@ const opAllowCustomRoutingTraffic = "AllowCustomRoutingTraffic" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AllowCustomRoutingTrafficRequest method. +// req, resp := client.AllowCustomRoutingTrafficRequest(params) // -// // Example sending a request using the AllowCustomRoutingTrafficRequest method. -// req, resp := client.AllowCustomRoutingTrafficRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AllowCustomRoutingTraffic func (c *GlobalAccelerator) AllowCustomRoutingTrafficRequest(input *AllowCustomRoutingTrafficInput) (req *request.Request, output *AllowCustomRoutingTrafficOutput) { @@ -290,11 +289,12 @@ func (c *GlobalAccelerator) AllowCustomRoutingTrafficRequest(input *AllowCustomR // API operation AllowCustomRoutingTraffic for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/AllowCustomRoutingTraffic func (c *GlobalAccelerator) AllowCustomRoutingTraffic(input *AllowCustomRoutingTrafficInput) (*AllowCustomRoutingTrafficOutput, error) { @@ -334,14 +334,13 @@ const opCreateAccelerator = "CreateAccelerator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAcceleratorRequest method. +// req, resp := client.CreateAcceleratorRequest(params) // -// // Example sending a request using the CreateAcceleratorRequest method. -// req, resp := client.CreateAcceleratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateAccelerator func (c *GlobalAccelerator) CreateAcceleratorRequest(input *CreateAcceleratorInput) (req *request.Request, output *CreateAcceleratorOutput) { @@ -378,15 +377,16 @@ func (c *GlobalAccelerator) CreateAcceleratorRequest(input *CreateAcceleratorInp // API operation CreateAccelerator for usage and error information. // // Returned Error Types: -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * LimitExceededException -// Processing your request would cause you to exceed an AWS Global Accelerator -// limit. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - LimitExceededException +// Processing your request would cause you to exceed an AWS Global Accelerator +// limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateAccelerator func (c *GlobalAccelerator) CreateAccelerator(input *CreateAcceleratorInput) (*CreateAcceleratorOutput, error) { @@ -426,14 +426,13 @@ const opCreateCustomRoutingAccelerator = "CreateCustomRoutingAccelerator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCustomRoutingAcceleratorRequest method. +// req, resp := client.CreateCustomRoutingAcceleratorRequest(params) // -// // Example sending a request using the CreateCustomRoutingAcceleratorRequest method. -// req, resp := client.CreateCustomRoutingAcceleratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCustomRoutingAccelerator func (c *GlobalAccelerator) CreateCustomRoutingAcceleratorRequest(input *CreateCustomRoutingAcceleratorInput) (req *request.Request, output *CreateCustomRoutingAcceleratorOutput) { @@ -476,18 +475,19 @@ func (c *GlobalAccelerator) CreateCustomRoutingAcceleratorRequest(input *CreateC // API operation CreateCustomRoutingAccelerator for usage and error information. // // Returned Error Types: -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. +// +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * LimitExceededException -// Processing your request would cause you to exceed an AWS Global Accelerator -// limit. +// - LimitExceededException +// Processing your request would cause you to exceed an AWS Global Accelerator +// limit. // -// * AccessDeniedException -// You don't have access permission. +// - AccessDeniedException +// You don't have access permission. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCustomRoutingAccelerator func (c *GlobalAccelerator) CreateCustomRoutingAccelerator(input *CreateCustomRoutingAcceleratorInput) (*CreateCustomRoutingAcceleratorOutput, error) { @@ -527,14 +527,13 @@ const opCreateCustomRoutingEndpointGroup = "CreateCustomRoutingEndpointGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCustomRoutingEndpointGroupRequest method. +// req, resp := client.CreateCustomRoutingEndpointGroupRequest(params) // -// // Example sending a request using the CreateCustomRoutingEndpointGroupRequest method. -// req, resp := client.CreateCustomRoutingEndpointGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCustomRoutingEndpointGroup func (c *GlobalAccelerator) CreateCustomRoutingEndpointGroupRequest(input *CreateCustomRoutingEndpointGroupInput) (req *request.Request, output *CreateCustomRoutingEndpointGroupOutput) { @@ -566,31 +565,32 @@ func (c *GlobalAccelerator) CreateCustomRoutingEndpointGroupRequest(input *Creat // API operation CreateCustomRoutingEndpointGroup for usage and error information. // // Returned Error Types: -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. // -// * EndpointGroupAlreadyExistsException -// The endpoint group that you specified already exists. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. +// +// - EndpointGroupAlreadyExistsException +// The endpoint group that you specified already exists. // -// * ListenerNotFoundException -// The listener that you specified doesn't exist. +// - ListenerNotFoundException +// The listener that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * InvalidPortRangeException -// The port numbers that you specified are not valid numbers or are not unique -// for this accelerator. +// - InvalidPortRangeException +// The port numbers that you specified are not valid numbers or are not unique +// for this accelerator. // -// * LimitExceededException -// Processing your request would cause you to exceed an AWS Global Accelerator -// limit. +// - LimitExceededException +// Processing your request would cause you to exceed an AWS Global Accelerator +// limit. // -// * AccessDeniedException -// You don't have access permission. +// - AccessDeniedException +// You don't have access permission. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCustomRoutingEndpointGroup func (c *GlobalAccelerator) CreateCustomRoutingEndpointGroup(input *CreateCustomRoutingEndpointGroupInput) (*CreateCustomRoutingEndpointGroupOutput, error) { @@ -630,14 +630,13 @@ const opCreateCustomRoutingListener = "CreateCustomRoutingListener" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCustomRoutingListenerRequest method. +// req, resp := client.CreateCustomRoutingListenerRequest(params) // -// // Example sending a request using the CreateCustomRoutingListenerRequest method. -// req, resp := client.CreateCustomRoutingListenerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCustomRoutingListener func (c *GlobalAccelerator) CreateCustomRoutingListenerRequest(input *CreateCustomRoutingListenerInput) (req *request.Request, output *CreateCustomRoutingListenerOutput) { @@ -670,22 +669,23 @@ func (c *GlobalAccelerator) CreateCustomRoutingListenerRequest(input *CreateCust // API operation CreateCustomRoutingListener for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * InvalidPortRangeException -// The port numbers that you specified are not valid numbers or are not unique -// for this accelerator. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InvalidPortRangeException +// The port numbers that you specified are not valid numbers or are not unique +// for this accelerator. // -// * LimitExceededException -// Processing your request would cause you to exceed an AWS Global Accelerator -// limit. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. +// +// - LimitExceededException +// Processing your request would cause you to exceed an AWS Global Accelerator +// limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateCustomRoutingListener func (c *GlobalAccelerator) CreateCustomRoutingListener(input *CreateCustomRoutingListenerInput) (*CreateCustomRoutingListenerOutput, error) { @@ -725,14 +725,13 @@ const opCreateEndpointGroup = "CreateEndpointGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEndpointGroupRequest method. +// req, resp := client.CreateEndpointGroupRequest(params) // -// // Example sending a request using the CreateEndpointGroupRequest method. -// req, resp := client.CreateEndpointGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateEndpointGroup func (c *GlobalAccelerator) CreateEndpointGroupRequest(input *CreateEndpointGroupInput) (req *request.Request, output *CreateEndpointGroupOutput) { @@ -765,27 +764,28 @@ func (c *GlobalAccelerator) CreateEndpointGroupRequest(input *CreateEndpointGrou // API operation CreateEndpointGroup for usage and error information. // // Returned Error Types: -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. // -// * EndpointGroupAlreadyExistsException -// The endpoint group that you specified already exists. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. // -// * ListenerNotFoundException -// The listener that you specified doesn't exist. +// - EndpointGroupAlreadyExistsException +// The endpoint group that you specified already exists. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - ListenerNotFoundException +// The listener that you specified doesn't exist. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * LimitExceededException -// Processing your request would cause you to exceed an AWS Global Accelerator -// limit. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * AccessDeniedException -// You don't have access permission. +// - LimitExceededException +// Processing your request would cause you to exceed an AWS Global Accelerator +// limit. +// +// - AccessDeniedException +// You don't have access permission. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateEndpointGroup func (c *GlobalAccelerator) CreateEndpointGroup(input *CreateEndpointGroupInput) (*CreateEndpointGroupOutput, error) { @@ -825,14 +825,13 @@ const opCreateListener = "CreateListener" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateListenerRequest method. +// req, resp := client.CreateListenerRequest(params) // -// // Example sending a request using the CreateListenerRequest method. -// req, resp := client.CreateListenerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateListener func (c *GlobalAccelerator) CreateListenerRequest(input *CreateListenerInput) (req *request.Request, output *CreateListenerOutput) { @@ -865,22 +864,23 @@ func (c *GlobalAccelerator) CreateListenerRequest(input *CreateListenerInput) (r // API operation CreateListener for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * InvalidPortRangeException -// The port numbers that you specified are not valid numbers or are not unique -// for this accelerator. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InvalidPortRangeException +// The port numbers that you specified are not valid numbers or are not unique +// for this accelerator. // -// * LimitExceededException -// Processing your request would cause you to exceed an AWS Global Accelerator -// limit. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. +// +// - LimitExceededException +// Processing your request would cause you to exceed an AWS Global Accelerator +// limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/CreateListener func (c *GlobalAccelerator) CreateListener(input *CreateListenerInput) (*CreateListenerOutput, error) { @@ -920,14 +920,13 @@ const opDeleteAccelerator = "DeleteAccelerator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAcceleratorRequest method. +// req, resp := client.DeleteAcceleratorRequest(params) // -// // Example sending a request using the DeleteAcceleratorRequest method. -// req, resp := client.DeleteAcceleratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteAccelerator func (c *GlobalAccelerator) DeleteAcceleratorRequest(input *DeleteAcceleratorInput) (req *request.Request, output *DeleteAcceleratorOutput) { @@ -976,22 +975,23 @@ func (c *GlobalAccelerator) DeleteAcceleratorRequest(input *DeleteAcceleratorInp // API operation DeleteAccelerator for usage and error information. // // Returned Error Types: -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. // -// * AcceleratorNotDisabledException -// The accelerator that you specified could not be disabled. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. +// +// - AcceleratorNotDisabledException +// The accelerator that you specified could not be disabled. // -// * AssociatedListenerFoundException -// The accelerator that you specified has a listener associated with it. You -// must remove all dependent resources from an accelerator before you can delete -// it. +// - AssociatedListenerFoundException +// The accelerator that you specified has a listener associated with it. You +// must remove all dependent resources from an accelerator before you can delete +// it. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InvalidArgumentException +// An argument that you specified is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteAccelerator func (c *GlobalAccelerator) DeleteAccelerator(input *DeleteAcceleratorInput) (*DeleteAcceleratorOutput, error) { @@ -1031,14 +1031,13 @@ const opDeleteCustomRoutingAccelerator = "DeleteCustomRoutingAccelerator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomRoutingAcceleratorRequest method. +// req, resp := client.DeleteCustomRoutingAcceleratorRequest(params) // -// // Example sending a request using the DeleteCustomRoutingAcceleratorRequest method. -// req, resp := client.DeleteCustomRoutingAcceleratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingAccelerator func (c *GlobalAccelerator) DeleteCustomRoutingAcceleratorRequest(input *DeleteCustomRoutingAcceleratorInput) (req *request.Request, output *DeleteCustomRoutingAcceleratorOutput) { @@ -1086,22 +1085,23 @@ func (c *GlobalAccelerator) DeleteCustomRoutingAcceleratorRequest(input *DeleteC // API operation DeleteCustomRoutingAccelerator for usage and error information. // // Returned Error Types: -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. // -// * AcceleratorNotDisabledException -// The accelerator that you specified could not be disabled. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. +// +// - AcceleratorNotDisabledException +// The accelerator that you specified could not be disabled. // -// * AssociatedListenerFoundException -// The accelerator that you specified has a listener associated with it. You -// must remove all dependent resources from an accelerator before you can delete -// it. +// - AssociatedListenerFoundException +// The accelerator that you specified has a listener associated with it. You +// must remove all dependent resources from an accelerator before you can delete +// it. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InvalidArgumentException +// An argument that you specified is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingAccelerator func (c *GlobalAccelerator) DeleteCustomRoutingAccelerator(input *DeleteCustomRoutingAcceleratorInput) (*DeleteCustomRoutingAcceleratorOutput, error) { @@ -1141,14 +1141,13 @@ const opDeleteCustomRoutingEndpointGroup = "DeleteCustomRoutingEndpointGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomRoutingEndpointGroupRequest method. +// req, resp := client.DeleteCustomRoutingEndpointGroupRequest(params) // -// // Example sending a request using the DeleteCustomRoutingEndpointGroupRequest method. -// req, resp := client.DeleteCustomRoutingEndpointGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingEndpointGroup func (c *GlobalAccelerator) DeleteCustomRoutingEndpointGroupRequest(input *DeleteCustomRoutingEndpointGroupInput) (req *request.Request, output *DeleteCustomRoutingEndpointGroupOutput) { @@ -1180,14 +1179,15 @@ func (c *GlobalAccelerator) DeleteCustomRoutingEndpointGroupRequest(input *Delet // API operation DeleteCustomRoutingEndpointGroup for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * EndpointGroupNotFoundException -// The endpoint group that you specified doesn't exist. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - EndpointGroupNotFoundException +// The endpoint group that you specified doesn't exist. +// +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingEndpointGroup func (c *GlobalAccelerator) DeleteCustomRoutingEndpointGroup(input *DeleteCustomRoutingEndpointGroupInput) (*DeleteCustomRoutingEndpointGroupOutput, error) { @@ -1227,14 +1227,13 @@ const opDeleteCustomRoutingListener = "DeleteCustomRoutingListener" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomRoutingListenerRequest method. +// req, resp := client.DeleteCustomRoutingListenerRequest(params) // -// // Example sending a request using the DeleteCustomRoutingListenerRequest method. -// req, resp := client.DeleteCustomRoutingListenerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingListener func (c *GlobalAccelerator) DeleteCustomRoutingListenerRequest(input *DeleteCustomRoutingListenerInput) (req *request.Request, output *DeleteCustomRoutingListenerOutput) { @@ -1266,19 +1265,20 @@ func (c *GlobalAccelerator) DeleteCustomRoutingListenerRequest(input *DeleteCust // API operation DeleteCustomRoutingListener for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * ListenerNotFoundException -// The listener that you specified doesn't exist. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - ListenerNotFoundException +// The listener that you specified doesn't exist. // -// * AssociatedEndpointGroupFoundException -// The listener that you specified has an endpoint group associated with it. -// You must remove all dependent resources from a listener before you can delete -// it. +// - AssociatedEndpointGroupFoundException +// The listener that you specified has an endpoint group associated with it. +// You must remove all dependent resources from a listener before you can delete +// it. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteCustomRoutingListener func (c *GlobalAccelerator) DeleteCustomRoutingListener(input *DeleteCustomRoutingListenerInput) (*DeleteCustomRoutingListenerOutput, error) { @@ -1318,14 +1318,13 @@ const opDeleteEndpointGroup = "DeleteEndpointGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEndpointGroupRequest method. +// req, resp := client.DeleteEndpointGroupRequest(params) // -// // Example sending a request using the DeleteEndpointGroupRequest method. -// req, resp := client.DeleteEndpointGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteEndpointGroup func (c *GlobalAccelerator) DeleteEndpointGroupRequest(input *DeleteEndpointGroupInput) (req *request.Request, output *DeleteEndpointGroupOutput) { @@ -1357,14 +1356,15 @@ func (c *GlobalAccelerator) DeleteEndpointGroupRequest(input *DeleteEndpointGrou // API operation DeleteEndpointGroup for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * EndpointGroupNotFoundException -// The endpoint group that you specified doesn't exist. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - EndpointGroupNotFoundException +// The endpoint group that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteEndpointGroup func (c *GlobalAccelerator) DeleteEndpointGroup(input *DeleteEndpointGroupInput) (*DeleteEndpointGroupOutput, error) { @@ -1404,14 +1404,13 @@ const opDeleteListener = "DeleteListener" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteListenerRequest method. +// req, resp := client.DeleteListenerRequest(params) // -// // Example sending a request using the DeleteListenerRequest method. -// req, resp := client.DeleteListenerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteListener func (c *GlobalAccelerator) DeleteListenerRequest(input *DeleteListenerInput) (req *request.Request, output *DeleteListenerOutput) { @@ -1443,19 +1442,20 @@ func (c *GlobalAccelerator) DeleteListenerRequest(input *DeleteListenerInput) (r // API operation DeleteListener for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * ListenerNotFoundException -// The listener that you specified doesn't exist. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - ListenerNotFoundException +// The listener that you specified doesn't exist. // -// * AssociatedEndpointGroupFoundException -// The listener that you specified has an endpoint group associated with it. -// You must remove all dependent resources from a listener before you can delete -// it. +// - AssociatedEndpointGroupFoundException +// The listener that you specified has an endpoint group associated with it. +// You must remove all dependent resources from a listener before you can delete +// it. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeleteListener func (c *GlobalAccelerator) DeleteListener(input *DeleteListenerInput) (*DeleteListenerOutput, error) { @@ -1495,14 +1495,13 @@ const opDenyCustomRoutingTraffic = "DenyCustomRoutingTraffic" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DenyCustomRoutingTrafficRequest method. +// req, resp := client.DenyCustomRoutingTrafficRequest(params) // -// // Example sending a request using the DenyCustomRoutingTrafficRequest method. -// req, resp := client.DenyCustomRoutingTrafficRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DenyCustomRoutingTraffic func (c *GlobalAccelerator) DenyCustomRoutingTrafficRequest(input *DenyCustomRoutingTrafficInput) (req *request.Request, output *DenyCustomRoutingTrafficOutput) { @@ -1542,11 +1541,12 @@ func (c *GlobalAccelerator) DenyCustomRoutingTrafficRequest(input *DenyCustomRou // API operation DenyCustomRoutingTraffic for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DenyCustomRoutingTraffic func (c *GlobalAccelerator) DenyCustomRoutingTraffic(input *DenyCustomRoutingTrafficInput) (*DenyCustomRoutingTrafficOutput, error) { @@ -1586,14 +1586,13 @@ const opDeprovisionByoipCidr = "DeprovisionByoipCidr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeprovisionByoipCidrRequest method. +// req, resp := client.DeprovisionByoipCidrRequest(params) // -// // Example sending a request using the DeprovisionByoipCidrRequest method. -// req, resp := client.DeprovisionByoipCidrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeprovisionByoipCidr func (c *GlobalAccelerator) DeprovisionByoipCidrRequest(input *DeprovisionByoipCidrInput) (req *request.Request, output *DeprovisionByoipCidrOutput) { @@ -1634,21 +1633,22 @@ func (c *GlobalAccelerator) DeprovisionByoipCidrRequest(input *DeprovisionByoipC // API operation DeprovisionByoipCidr for usage and error information. // // Returned Error Types: -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * AccessDeniedException -// You don't have access permission. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * ByoipCidrNotFoundException -// The CIDR that you specified was not found or is incorrect. +// - AccessDeniedException +// You don't have access permission. // -// * IncorrectCidrStateException -// The CIDR that you specified is not valid for this action. For example, the -// state of the CIDR might be incorrect for this action. +// - ByoipCidrNotFoundException +// The CIDR that you specified was not found or is incorrect. +// +// - IncorrectCidrStateException +// The CIDR that you specified is not valid for this action. For example, the +// state of the CIDR might be incorrect for this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DeprovisionByoipCidr func (c *GlobalAccelerator) DeprovisionByoipCidr(input *DeprovisionByoipCidrInput) (*DeprovisionByoipCidrOutput, error) { @@ -1688,14 +1688,13 @@ const opDescribeAccelerator = "DescribeAccelerator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAcceleratorRequest method. +// req, resp := client.DescribeAcceleratorRequest(params) // -// // Example sending a request using the DescribeAcceleratorRequest method. -// req, resp := client.DescribeAcceleratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeAccelerator func (c *GlobalAccelerator) DescribeAcceleratorRequest(input *DescribeAcceleratorInput) (req *request.Request, output *DescribeAcceleratorOutput) { @@ -1726,14 +1725,15 @@ func (c *GlobalAccelerator) DescribeAcceleratorRequest(input *DescribeAccelerato // API operation DescribeAccelerator for usage and error information. // // Returned Error Types: -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. +// +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InvalidArgumentException +// An argument that you specified is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeAccelerator func (c *GlobalAccelerator) DescribeAccelerator(input *DescribeAcceleratorInput) (*DescribeAcceleratorOutput, error) { @@ -1773,14 +1773,13 @@ const opDescribeAcceleratorAttributes = "DescribeAcceleratorAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAcceleratorAttributesRequest method. +// req, resp := client.DescribeAcceleratorAttributesRequest(params) // -// // Example sending a request using the DescribeAcceleratorAttributesRequest method. -// req, resp := client.DescribeAcceleratorAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeAcceleratorAttributes func (c *GlobalAccelerator) DescribeAcceleratorAttributesRequest(input *DescribeAcceleratorAttributesInput) (req *request.Request, output *DescribeAcceleratorAttributesOutput) { @@ -1811,14 +1810,15 @@ func (c *GlobalAccelerator) DescribeAcceleratorAttributesRequest(input *Describe // API operation DescribeAcceleratorAttributes for usage and error information. // // Returned Error Types: -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. +// +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InvalidArgumentException +// An argument that you specified is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeAcceleratorAttributes func (c *GlobalAccelerator) DescribeAcceleratorAttributes(input *DescribeAcceleratorAttributesInput) (*DescribeAcceleratorAttributesOutput, error) { @@ -1858,14 +1858,13 @@ const opDescribeCustomRoutingAccelerator = "DescribeCustomRoutingAccelerator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCustomRoutingAcceleratorRequest method. +// req, resp := client.DescribeCustomRoutingAcceleratorRequest(params) // -// // Example sending a request using the DescribeCustomRoutingAcceleratorRequest method. -// req, resp := client.DescribeCustomRoutingAcceleratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingAccelerator func (c *GlobalAccelerator) DescribeCustomRoutingAcceleratorRequest(input *DescribeCustomRoutingAcceleratorInput) (req *request.Request, output *DescribeCustomRoutingAcceleratorOutput) { @@ -1896,14 +1895,15 @@ func (c *GlobalAccelerator) DescribeCustomRoutingAcceleratorRequest(input *Descr // API operation DescribeCustomRoutingAccelerator for usage and error information. // // Returned Error Types: -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. +// +// - InvalidArgumentException +// An argument that you specified is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingAccelerator func (c *GlobalAccelerator) DescribeCustomRoutingAccelerator(input *DescribeCustomRoutingAcceleratorInput) (*DescribeCustomRoutingAcceleratorOutput, error) { @@ -1943,14 +1943,13 @@ const opDescribeCustomRoutingAcceleratorAttributes = "DescribeCustomRoutingAccel // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCustomRoutingAcceleratorAttributesRequest method. +// req, resp := client.DescribeCustomRoutingAcceleratorAttributesRequest(params) // -// // Example sending a request using the DescribeCustomRoutingAcceleratorAttributesRequest method. -// req, resp := client.DescribeCustomRoutingAcceleratorAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingAcceleratorAttributes func (c *GlobalAccelerator) DescribeCustomRoutingAcceleratorAttributesRequest(input *DescribeCustomRoutingAcceleratorAttributesInput) (req *request.Request, output *DescribeCustomRoutingAcceleratorAttributesOutput) { @@ -1981,14 +1980,15 @@ func (c *GlobalAccelerator) DescribeCustomRoutingAcceleratorAttributesRequest(in // API operation DescribeCustomRoutingAcceleratorAttributes for usage and error information. // // Returned Error Types: -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. +// +// - InvalidArgumentException +// An argument that you specified is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingAcceleratorAttributes func (c *GlobalAccelerator) DescribeCustomRoutingAcceleratorAttributes(input *DescribeCustomRoutingAcceleratorAttributesInput) (*DescribeCustomRoutingAcceleratorAttributesOutput, error) { @@ -2028,14 +2028,13 @@ const opDescribeCustomRoutingEndpointGroup = "DescribeCustomRoutingEndpointGroup // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCustomRoutingEndpointGroupRequest method. +// req, resp := client.DescribeCustomRoutingEndpointGroupRequest(params) // -// // Example sending a request using the DescribeCustomRoutingEndpointGroupRequest method. -// req, resp := client.DescribeCustomRoutingEndpointGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingEndpointGroup func (c *GlobalAccelerator) DescribeCustomRoutingEndpointGroupRequest(input *DescribeCustomRoutingEndpointGroupInput) (req *request.Request, output *DescribeCustomRoutingEndpointGroupOutput) { @@ -2066,14 +2065,15 @@ func (c *GlobalAccelerator) DescribeCustomRoutingEndpointGroupRequest(input *Des // API operation DescribeCustomRoutingEndpointGroup for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * EndpointGroupNotFoundException -// The endpoint group that you specified doesn't exist. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - EndpointGroupNotFoundException +// The endpoint group that you specified doesn't exist. +// +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingEndpointGroup func (c *GlobalAccelerator) DescribeCustomRoutingEndpointGroup(input *DescribeCustomRoutingEndpointGroupInput) (*DescribeCustomRoutingEndpointGroupOutput, error) { @@ -2113,14 +2113,13 @@ const opDescribeCustomRoutingListener = "DescribeCustomRoutingListener" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCustomRoutingListenerRequest method. +// req, resp := client.DescribeCustomRoutingListenerRequest(params) // -// // Example sending a request using the DescribeCustomRoutingListenerRequest method. -// req, resp := client.DescribeCustomRoutingListenerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingListener func (c *GlobalAccelerator) DescribeCustomRoutingListenerRequest(input *DescribeCustomRoutingListenerInput) (req *request.Request, output *DescribeCustomRoutingListenerOutput) { @@ -2151,14 +2150,15 @@ func (c *GlobalAccelerator) DescribeCustomRoutingListenerRequest(input *Describe // API operation DescribeCustomRoutingListener for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * ListenerNotFoundException -// The listener that you specified doesn't exist. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - ListenerNotFoundException +// The listener that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeCustomRoutingListener func (c *GlobalAccelerator) DescribeCustomRoutingListener(input *DescribeCustomRoutingListenerInput) (*DescribeCustomRoutingListenerOutput, error) { @@ -2198,14 +2198,13 @@ const opDescribeEndpointGroup = "DescribeEndpointGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointGroupRequest method. +// req, resp := client.DescribeEndpointGroupRequest(params) // -// // Example sending a request using the DescribeEndpointGroupRequest method. -// req, resp := client.DescribeEndpointGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeEndpointGroup func (c *GlobalAccelerator) DescribeEndpointGroupRequest(input *DescribeEndpointGroupInput) (req *request.Request, output *DescribeEndpointGroupOutput) { @@ -2236,14 +2235,15 @@ func (c *GlobalAccelerator) DescribeEndpointGroupRequest(input *DescribeEndpoint // API operation DescribeEndpointGroup for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * EndpointGroupNotFoundException -// The endpoint group that you specified doesn't exist. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - EndpointGroupNotFoundException +// The endpoint group that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeEndpointGroup func (c *GlobalAccelerator) DescribeEndpointGroup(input *DescribeEndpointGroupInput) (*DescribeEndpointGroupOutput, error) { @@ -2283,14 +2283,13 @@ const opDescribeListener = "DescribeListener" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeListenerRequest method. +// req, resp := client.DescribeListenerRequest(params) // -// // Example sending a request using the DescribeListenerRequest method. -// req, resp := client.DescribeListenerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeListener func (c *GlobalAccelerator) DescribeListenerRequest(input *DescribeListenerInput) (req *request.Request, output *DescribeListenerOutput) { @@ -2321,14 +2320,15 @@ func (c *GlobalAccelerator) DescribeListenerRequest(input *DescribeListenerInput // API operation DescribeListener for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * ListenerNotFoundException -// The listener that you specified doesn't exist. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - ListenerNotFoundException +// The listener that you specified doesn't exist. +// +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/DescribeListener func (c *GlobalAccelerator) DescribeListener(input *DescribeListenerInput) (*DescribeListenerOutput, error) { @@ -2368,14 +2368,13 @@ const opListAccelerators = "ListAccelerators" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAcceleratorsRequest method. +// req, resp := client.ListAcceleratorsRequest(params) // -// // Example sending a request using the ListAcceleratorsRequest method. -// req, resp := client.ListAcceleratorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListAccelerators func (c *GlobalAccelerator) ListAcceleratorsRequest(input *ListAcceleratorsInput) (req *request.Request, output *ListAcceleratorsOutput) { @@ -2412,14 +2411,15 @@ func (c *GlobalAccelerator) ListAcceleratorsRequest(input *ListAcceleratorsInput // API operation ListAccelerators for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * InvalidNextTokenException -// There isn't another item to return. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - InvalidNextTokenException +// There isn't another item to return. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListAccelerators func (c *GlobalAccelerator) ListAccelerators(input *ListAcceleratorsInput) (*ListAcceleratorsOutput, error) { @@ -2451,15 +2451,14 @@ func (c *GlobalAccelerator) ListAcceleratorsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccelerators operation. -// pageNum := 0 -// err := client.ListAcceleratorsPages(params, -// func(page *globalaccelerator.ListAcceleratorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccelerators operation. +// pageNum := 0 +// err := client.ListAcceleratorsPages(params, +// func(page *globalaccelerator.ListAcceleratorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlobalAccelerator) ListAcceleratorsPages(input *ListAcceleratorsInput, fn func(*ListAcceleratorsOutput, bool) bool) error { return c.ListAcceleratorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2511,14 +2510,13 @@ const opListByoipCidrs = "ListByoipCidrs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListByoipCidrsRequest method. +// req, resp := client.ListByoipCidrsRequest(params) // -// // Example sending a request using the ListByoipCidrsRequest method. -// req, resp := client.ListByoipCidrsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListByoipCidrs func (c *GlobalAccelerator) ListByoipCidrsRequest(input *ListByoipCidrsInput) (req *request.Request, output *ListByoipCidrsOutput) { @@ -2557,17 +2555,18 @@ func (c *GlobalAccelerator) ListByoipCidrsRequest(input *ListByoipCidrsInput) (r // API operation ListByoipCidrs for usage and error information. // // Returned Error Types: -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * AccessDeniedException -// You don't have access permission. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * InvalidNextTokenException -// There isn't another item to return. +// - AccessDeniedException +// You don't have access permission. +// +// - InvalidNextTokenException +// There isn't another item to return. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListByoipCidrs func (c *GlobalAccelerator) ListByoipCidrs(input *ListByoipCidrsInput) (*ListByoipCidrsOutput, error) { @@ -2599,15 +2598,14 @@ func (c *GlobalAccelerator) ListByoipCidrsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListByoipCidrs operation. -// pageNum := 0 -// err := client.ListByoipCidrsPages(params, -// func(page *globalaccelerator.ListByoipCidrsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListByoipCidrs operation. +// pageNum := 0 +// err := client.ListByoipCidrsPages(params, +// func(page *globalaccelerator.ListByoipCidrsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlobalAccelerator) ListByoipCidrsPages(input *ListByoipCidrsInput, fn func(*ListByoipCidrsOutput, bool) bool) error { return c.ListByoipCidrsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2659,14 +2657,13 @@ const opListCustomRoutingAccelerators = "ListCustomRoutingAccelerators" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCustomRoutingAcceleratorsRequest method. +// req, resp := client.ListCustomRoutingAcceleratorsRequest(params) // -// // Example sending a request using the ListCustomRoutingAcceleratorsRequest method. -// req, resp := client.ListCustomRoutingAcceleratorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingAccelerators func (c *GlobalAccelerator) ListCustomRoutingAcceleratorsRequest(input *ListCustomRoutingAcceleratorsInput) (req *request.Request, output *ListCustomRoutingAcceleratorsOutput) { @@ -2703,14 +2700,15 @@ func (c *GlobalAccelerator) ListCustomRoutingAcceleratorsRequest(input *ListCust // API operation ListCustomRoutingAccelerators for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * InvalidNextTokenException -// There isn't another item to return. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - InvalidNextTokenException +// There isn't another item to return. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingAccelerators func (c *GlobalAccelerator) ListCustomRoutingAccelerators(input *ListCustomRoutingAcceleratorsInput) (*ListCustomRoutingAcceleratorsOutput, error) { @@ -2742,15 +2740,14 @@ func (c *GlobalAccelerator) ListCustomRoutingAcceleratorsWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCustomRoutingAccelerators operation. -// pageNum := 0 -// err := client.ListCustomRoutingAcceleratorsPages(params, -// func(page *globalaccelerator.ListCustomRoutingAcceleratorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCustomRoutingAccelerators operation. +// pageNum := 0 +// err := client.ListCustomRoutingAcceleratorsPages(params, +// func(page *globalaccelerator.ListCustomRoutingAcceleratorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlobalAccelerator) ListCustomRoutingAcceleratorsPages(input *ListCustomRoutingAcceleratorsInput, fn func(*ListCustomRoutingAcceleratorsOutput, bool) bool) error { return c.ListCustomRoutingAcceleratorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2802,14 +2799,13 @@ const opListCustomRoutingEndpointGroups = "ListCustomRoutingEndpointGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCustomRoutingEndpointGroupsRequest method. +// req, resp := client.ListCustomRoutingEndpointGroupsRequest(params) // -// // Example sending a request using the ListCustomRoutingEndpointGroupsRequest method. -// req, resp := client.ListCustomRoutingEndpointGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingEndpointGroups func (c *GlobalAccelerator) ListCustomRoutingEndpointGroupsRequest(input *ListCustomRoutingEndpointGroupsInput) (req *request.Request, output *ListCustomRoutingEndpointGroupsOutput) { @@ -2847,17 +2843,18 @@ func (c *GlobalAccelerator) ListCustomRoutingEndpointGroupsRequest(input *ListCu // API operation ListCustomRoutingEndpointGroups for usage and error information. // // Returned Error Types: -// * ListenerNotFoundException -// The listener that you specified doesn't exist. // -// * InvalidNextTokenException -// There isn't another item to return. +// - ListenerNotFoundException +// The listener that you specified doesn't exist. +// +// - InvalidNextTokenException +// There isn't another item to return. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingEndpointGroups func (c *GlobalAccelerator) ListCustomRoutingEndpointGroups(input *ListCustomRoutingEndpointGroupsInput) (*ListCustomRoutingEndpointGroupsOutput, error) { @@ -2889,15 +2886,14 @@ func (c *GlobalAccelerator) ListCustomRoutingEndpointGroupsWithContext(ctx aws.C // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCustomRoutingEndpointGroups operation. -// pageNum := 0 -// err := client.ListCustomRoutingEndpointGroupsPages(params, -// func(page *globalaccelerator.ListCustomRoutingEndpointGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCustomRoutingEndpointGroups operation. +// pageNum := 0 +// err := client.ListCustomRoutingEndpointGroupsPages(params, +// func(page *globalaccelerator.ListCustomRoutingEndpointGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlobalAccelerator) ListCustomRoutingEndpointGroupsPages(input *ListCustomRoutingEndpointGroupsInput, fn func(*ListCustomRoutingEndpointGroupsOutput, bool) bool) error { return c.ListCustomRoutingEndpointGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2949,14 +2945,13 @@ const opListCustomRoutingListeners = "ListCustomRoutingListeners" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCustomRoutingListenersRequest method. +// req, resp := client.ListCustomRoutingListenersRequest(params) // -// // Example sending a request using the ListCustomRoutingListenersRequest method. -// req, resp := client.ListCustomRoutingListenersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingListeners func (c *GlobalAccelerator) ListCustomRoutingListenersRequest(input *ListCustomRoutingListenersInput) (req *request.Request, output *ListCustomRoutingListenersOutput) { @@ -2993,17 +2988,18 @@ func (c *GlobalAccelerator) ListCustomRoutingListenersRequest(input *ListCustomR // API operation ListCustomRoutingListeners for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. // -// * InvalidNextTokenException -// There isn't another item to return. +// - InvalidNextTokenException +// There isn't another item to return. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingListeners func (c *GlobalAccelerator) ListCustomRoutingListeners(input *ListCustomRoutingListenersInput) (*ListCustomRoutingListenersOutput, error) { @@ -3035,15 +3031,14 @@ func (c *GlobalAccelerator) ListCustomRoutingListenersWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCustomRoutingListeners operation. -// pageNum := 0 -// err := client.ListCustomRoutingListenersPages(params, -// func(page *globalaccelerator.ListCustomRoutingListenersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCustomRoutingListeners operation. +// pageNum := 0 +// err := client.ListCustomRoutingListenersPages(params, +// func(page *globalaccelerator.ListCustomRoutingListenersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlobalAccelerator) ListCustomRoutingListenersPages(input *ListCustomRoutingListenersInput, fn func(*ListCustomRoutingListenersOutput, bool) bool) error { return c.ListCustomRoutingListenersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3095,14 +3090,13 @@ const opListCustomRoutingPortMappings = "ListCustomRoutingPortMappings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCustomRoutingPortMappingsRequest method. +// req, resp := client.ListCustomRoutingPortMappingsRequest(params) // -// // Example sending a request using the ListCustomRoutingPortMappingsRequest method. -// req, resp := client.ListCustomRoutingPortMappingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingPortMappings func (c *GlobalAccelerator) ListCustomRoutingPortMappingsRequest(input *ListCustomRoutingPortMappingsInput) (req *request.Request, output *ListCustomRoutingPortMappingsOutput) { @@ -3153,20 +3147,21 @@ func (c *GlobalAccelerator) ListCustomRoutingPortMappingsRequest(input *ListCust // API operation ListCustomRoutingPortMappings for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * InvalidNextTokenException -// There isn't another item to return. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - InvalidNextTokenException +// There isn't another item to return. // -// * EndpointGroupNotFoundException -// The endpoint group that you specified doesn't exist. +// - EndpointGroupNotFoundException +// The endpoint group that you specified doesn't exist. // -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingPortMappings func (c *GlobalAccelerator) ListCustomRoutingPortMappings(input *ListCustomRoutingPortMappingsInput) (*ListCustomRoutingPortMappingsOutput, error) { @@ -3198,15 +3193,14 @@ func (c *GlobalAccelerator) ListCustomRoutingPortMappingsWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCustomRoutingPortMappings operation. -// pageNum := 0 -// err := client.ListCustomRoutingPortMappingsPages(params, -// func(page *globalaccelerator.ListCustomRoutingPortMappingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCustomRoutingPortMappings operation. +// pageNum := 0 +// err := client.ListCustomRoutingPortMappingsPages(params, +// func(page *globalaccelerator.ListCustomRoutingPortMappingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlobalAccelerator) ListCustomRoutingPortMappingsPages(input *ListCustomRoutingPortMappingsInput, fn func(*ListCustomRoutingPortMappingsOutput, bool) bool) error { return c.ListCustomRoutingPortMappingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3258,14 +3252,13 @@ const opListCustomRoutingPortMappingsByDestination = "ListCustomRoutingPortMappi // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCustomRoutingPortMappingsByDestinationRequest method. +// req, resp := client.ListCustomRoutingPortMappingsByDestinationRequest(params) // -// // Example sending a request using the ListCustomRoutingPortMappingsByDestinationRequest method. -// req, resp := client.ListCustomRoutingPortMappingsByDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingPortMappingsByDestination func (c *GlobalAccelerator) ListCustomRoutingPortMappingsByDestinationRequest(input *ListCustomRoutingPortMappingsByDestinationInput) (req *request.Request, output *ListCustomRoutingPortMappingsByDestinationOutput) { @@ -3306,17 +3299,18 @@ func (c *GlobalAccelerator) ListCustomRoutingPortMappingsByDestinationRequest(in // API operation ListCustomRoutingPortMappingsByDestination for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * InvalidNextTokenException -// There isn't another item to return. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * EndpointNotFoundException -// The endpoint that you specified doesn't exist. +// - InvalidNextTokenException +// There isn't another item to return. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - EndpointNotFoundException +// The endpoint that you specified doesn't exist. +// +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListCustomRoutingPortMappingsByDestination func (c *GlobalAccelerator) ListCustomRoutingPortMappingsByDestination(input *ListCustomRoutingPortMappingsByDestinationInput) (*ListCustomRoutingPortMappingsByDestinationOutput, error) { @@ -3348,15 +3342,14 @@ func (c *GlobalAccelerator) ListCustomRoutingPortMappingsByDestinationWithContex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCustomRoutingPortMappingsByDestination operation. -// pageNum := 0 -// err := client.ListCustomRoutingPortMappingsByDestinationPages(params, -// func(page *globalaccelerator.ListCustomRoutingPortMappingsByDestinationOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCustomRoutingPortMappingsByDestination operation. +// pageNum := 0 +// err := client.ListCustomRoutingPortMappingsByDestinationPages(params, +// func(page *globalaccelerator.ListCustomRoutingPortMappingsByDestinationOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlobalAccelerator) ListCustomRoutingPortMappingsByDestinationPages(input *ListCustomRoutingPortMappingsByDestinationInput, fn func(*ListCustomRoutingPortMappingsByDestinationOutput, bool) bool) error { return c.ListCustomRoutingPortMappingsByDestinationPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3408,14 +3401,13 @@ const opListEndpointGroups = "ListEndpointGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEndpointGroupsRequest method. +// req, resp := client.ListEndpointGroupsRequest(params) // -// // Example sending a request using the ListEndpointGroupsRequest method. -// req, resp := client.ListEndpointGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListEndpointGroups func (c *GlobalAccelerator) ListEndpointGroupsRequest(input *ListEndpointGroupsInput) (req *request.Request, output *ListEndpointGroupsOutput) { @@ -3452,17 +3444,18 @@ func (c *GlobalAccelerator) ListEndpointGroupsRequest(input *ListEndpointGroupsI // API operation ListEndpointGroups for usage and error information. // // Returned Error Types: -// * ListenerNotFoundException -// The listener that you specified doesn't exist. // -// * InvalidNextTokenException -// There isn't another item to return. +// - ListenerNotFoundException +// The listener that you specified doesn't exist. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InvalidNextTokenException +// There isn't another item to return. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListEndpointGroups func (c *GlobalAccelerator) ListEndpointGroups(input *ListEndpointGroupsInput) (*ListEndpointGroupsOutput, error) { @@ -3494,15 +3487,14 @@ func (c *GlobalAccelerator) ListEndpointGroupsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEndpointGroups operation. -// pageNum := 0 -// err := client.ListEndpointGroupsPages(params, -// func(page *globalaccelerator.ListEndpointGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEndpointGroups operation. +// pageNum := 0 +// err := client.ListEndpointGroupsPages(params, +// func(page *globalaccelerator.ListEndpointGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlobalAccelerator) ListEndpointGroupsPages(input *ListEndpointGroupsInput, fn func(*ListEndpointGroupsOutput, bool) bool) error { return c.ListEndpointGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3554,14 +3546,13 @@ const opListListeners = "ListListeners" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListListenersRequest method. +// req, resp := client.ListListenersRequest(params) // -// // Example sending a request using the ListListenersRequest method. -// req, resp := client.ListListenersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListListeners func (c *GlobalAccelerator) ListListenersRequest(input *ListListenersInput) (req *request.Request, output *ListListenersOutput) { @@ -3598,17 +3589,18 @@ func (c *GlobalAccelerator) ListListenersRequest(input *ListListenersInput) (req // API operation ListListeners for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * InvalidNextTokenException -// There isn't another item to return. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InvalidNextTokenException +// There isn't another item to return. +// +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListListeners func (c *GlobalAccelerator) ListListeners(input *ListListenersInput) (*ListListenersOutput, error) { @@ -3640,15 +3632,14 @@ func (c *GlobalAccelerator) ListListenersWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListListeners operation. -// pageNum := 0 -// err := client.ListListenersPages(params, -// func(page *globalaccelerator.ListListenersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListListeners operation. +// pageNum := 0 +// err := client.ListListenersPages(params, +// func(page *globalaccelerator.ListListenersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlobalAccelerator) ListListenersPages(input *ListListenersInput, fn func(*ListListenersOutput, bool) bool) error { return c.ListListenersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3700,14 +3691,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListTagsForResource func (c *GlobalAccelerator) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -3741,14 +3731,15 @@ func (c *GlobalAccelerator) ListTagsForResourceRequest(input *ListTagsForResourc // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. +// +// - InvalidArgumentException +// An argument that you specified is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ListTagsForResource func (c *GlobalAccelerator) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3788,14 +3779,13 @@ const opProvisionByoipCidr = "ProvisionByoipCidr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ProvisionByoipCidrRequest method. +// req, resp := client.ProvisionByoipCidrRequest(params) // -// // Example sending a request using the ProvisionByoipCidrRequest method. -// req, resp := client.ProvisionByoipCidrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ProvisionByoipCidr func (c *GlobalAccelerator) ProvisionByoipCidrRequest(input *ProvisionByoipCidrInput) (req *request.Request, output *ProvisionByoipCidrOutput) { @@ -3832,22 +3822,23 @@ func (c *GlobalAccelerator) ProvisionByoipCidrRequest(input *ProvisionByoipCidrI // API operation ProvisionByoipCidr for usage and error information. // // Returned Error Types: -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * LimitExceededException -// Processing your request would cause you to exceed an AWS Global Accelerator -// limit. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * AccessDeniedException -// You don't have access permission. +// - LimitExceededException +// Processing your request would cause you to exceed an AWS Global Accelerator +// limit. // -// * IncorrectCidrStateException -// The CIDR that you specified is not valid for this action. For example, the -// state of the CIDR might be incorrect for this action. +// - AccessDeniedException +// You don't have access permission. +// +// - IncorrectCidrStateException +// The CIDR that you specified is not valid for this action. For example, the +// state of the CIDR might be incorrect for this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/ProvisionByoipCidr func (c *GlobalAccelerator) ProvisionByoipCidr(input *ProvisionByoipCidrInput) (*ProvisionByoipCidrOutput, error) { @@ -3887,14 +3878,13 @@ const opRemoveCustomRoutingEndpoints = "RemoveCustomRoutingEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveCustomRoutingEndpointsRequest method. +// req, resp := client.RemoveCustomRoutingEndpointsRequest(params) // -// // Example sending a request using the RemoveCustomRoutingEndpointsRequest method. -// req, resp := client.RemoveCustomRoutingEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/RemoveCustomRoutingEndpoints func (c *GlobalAccelerator) RemoveCustomRoutingEndpointsRequest(input *RemoveCustomRoutingEndpointsInput) (req *request.Request, output *RemoveCustomRoutingEndpointsOutput) { @@ -3926,23 +3916,24 @@ func (c *GlobalAccelerator) RemoveCustomRoutingEndpointsRequest(input *RemoveCus // API operation RemoveCustomRoutingEndpoints for usage and error information. // // Returned Error Types: -// * EndpointGroupNotFoundException -// The endpoint group that you specified doesn't exist. // -// * EndpointNotFoundException -// The endpoint that you specified doesn't exist. +// - EndpointGroupNotFoundException +// The endpoint group that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - EndpointNotFoundException +// The endpoint that you specified doesn't exist. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * AccessDeniedException -// You don't have access permission. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * ConflictException -// You can't use both of those options. +// - AccessDeniedException +// You don't have access permission. +// +// - ConflictException +// You can't use both of those options. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/RemoveCustomRoutingEndpoints func (c *GlobalAccelerator) RemoveCustomRoutingEndpoints(input *RemoveCustomRoutingEndpointsInput) (*RemoveCustomRoutingEndpointsOutput, error) { @@ -3982,14 +3973,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/TagResource func (c *GlobalAccelerator) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -4024,14 +4014,15 @@ func (c *GlobalAccelerator) TagResourceRequest(input *TagResourceInput) (req *re // API operation TagResource for usage and error information. // // Returned Error Types: -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. +// +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InvalidArgumentException +// An argument that you specified is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/TagResource func (c *GlobalAccelerator) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4071,14 +4062,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UntagResource func (c *GlobalAccelerator) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4116,14 +4106,15 @@ func (c *GlobalAccelerator) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. +// +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InvalidArgumentException +// An argument that you specified is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UntagResource func (c *GlobalAccelerator) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -4163,14 +4154,13 @@ const opUpdateAccelerator = "UpdateAccelerator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAcceleratorRequest method. +// req, resp := client.UpdateAcceleratorRequest(params) // -// // Example sending a request using the UpdateAcceleratorRequest method. -// req, resp := client.UpdateAcceleratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateAccelerator func (c *GlobalAccelerator) UpdateAcceleratorRequest(input *UpdateAcceleratorInput) (req *request.Request, output *UpdateAcceleratorOutput) { @@ -4205,14 +4195,15 @@ func (c *GlobalAccelerator) UpdateAcceleratorRequest(input *UpdateAcceleratorInp // API operation UpdateAccelerator for usage and error information. // // Returned Error Types: -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. +// +// - InvalidArgumentException +// An argument that you specified is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateAccelerator func (c *GlobalAccelerator) UpdateAccelerator(input *UpdateAcceleratorInput) (*UpdateAcceleratorOutput, error) { @@ -4252,14 +4243,13 @@ const opUpdateAcceleratorAttributes = "UpdateAcceleratorAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAcceleratorAttributesRequest method. +// req, resp := client.UpdateAcceleratorAttributesRequest(params) // -// // Example sending a request using the UpdateAcceleratorAttributesRequest method. -// req, resp := client.UpdateAcceleratorAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateAcceleratorAttributes func (c *GlobalAccelerator) UpdateAcceleratorAttributesRequest(input *UpdateAcceleratorAttributesInput) (req *request.Request, output *UpdateAcceleratorAttributesOutput) { @@ -4290,17 +4280,18 @@ func (c *GlobalAccelerator) UpdateAcceleratorAttributesRequest(input *UpdateAcce // API operation UpdateAcceleratorAttributes for usage and error information. // // Returned Error Types: -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. +// +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * AccessDeniedException -// You don't have access permission. +// - AccessDeniedException +// You don't have access permission. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateAcceleratorAttributes func (c *GlobalAccelerator) UpdateAcceleratorAttributes(input *UpdateAcceleratorAttributesInput) (*UpdateAcceleratorAttributesOutput, error) { @@ -4340,14 +4331,13 @@ const opUpdateCustomRoutingAccelerator = "UpdateCustomRoutingAccelerator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCustomRoutingAcceleratorRequest method. +// req, resp := client.UpdateCustomRoutingAcceleratorRequest(params) // -// // Example sending a request using the UpdateCustomRoutingAcceleratorRequest method. -// req, resp := client.UpdateCustomRoutingAcceleratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingAccelerator func (c *GlobalAccelerator) UpdateCustomRoutingAcceleratorRequest(input *UpdateCustomRoutingAcceleratorInput) (req *request.Request, output *UpdateCustomRoutingAcceleratorOutput) { @@ -4378,14 +4368,15 @@ func (c *GlobalAccelerator) UpdateCustomRoutingAcceleratorRequest(input *UpdateC // API operation UpdateCustomRoutingAccelerator for usage and error information. // // Returned Error Types: -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. +// +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InvalidArgumentException +// An argument that you specified is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingAccelerator func (c *GlobalAccelerator) UpdateCustomRoutingAccelerator(input *UpdateCustomRoutingAcceleratorInput) (*UpdateCustomRoutingAcceleratorOutput, error) { @@ -4425,14 +4416,13 @@ const opUpdateCustomRoutingAcceleratorAttributes = "UpdateCustomRoutingAccelerat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCustomRoutingAcceleratorAttributesRequest method. +// req, resp := client.UpdateCustomRoutingAcceleratorAttributesRequest(params) // -// // Example sending a request using the UpdateCustomRoutingAcceleratorAttributesRequest method. -// req, resp := client.UpdateCustomRoutingAcceleratorAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingAcceleratorAttributes func (c *GlobalAccelerator) UpdateCustomRoutingAcceleratorAttributesRequest(input *UpdateCustomRoutingAcceleratorAttributesInput) (req *request.Request, output *UpdateCustomRoutingAcceleratorAttributesOutput) { @@ -4463,17 +4453,18 @@ func (c *GlobalAccelerator) UpdateCustomRoutingAcceleratorAttributesRequest(inpu // API operation UpdateCustomRoutingAcceleratorAttributes for usage and error information. // // Returned Error Types: -// * AcceleratorNotFoundException -// The accelerator that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - AcceleratorNotFoundException +// The accelerator that you specified doesn't exist. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * AccessDeniedException -// You don't have access permission. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - AccessDeniedException +// You don't have access permission. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingAcceleratorAttributes func (c *GlobalAccelerator) UpdateCustomRoutingAcceleratorAttributes(input *UpdateCustomRoutingAcceleratorAttributesInput) (*UpdateCustomRoutingAcceleratorAttributesOutput, error) { @@ -4513,14 +4504,13 @@ const opUpdateCustomRoutingListener = "UpdateCustomRoutingListener" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCustomRoutingListenerRequest method. +// req, resp := client.UpdateCustomRoutingListenerRequest(params) // -// // Example sending a request using the UpdateCustomRoutingListenerRequest method. -// req, resp := client.UpdateCustomRoutingListenerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingListener func (c *GlobalAccelerator) UpdateCustomRoutingListenerRequest(input *UpdateCustomRoutingListenerInput) (req *request.Request, output *UpdateCustomRoutingListenerOutput) { @@ -4551,22 +4541,23 @@ func (c *GlobalAccelerator) UpdateCustomRoutingListenerRequest(input *UpdateCust // API operation UpdateCustomRoutingListener for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * InvalidPortRangeException -// The port numbers that you specified are not valid numbers or are not unique -// for this accelerator. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - InvalidPortRangeException +// The port numbers that you specified are not valid numbers or are not unique +// for this accelerator. // -// * ListenerNotFoundException -// The listener that you specified doesn't exist. +// - ListenerNotFoundException +// The listener that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * LimitExceededException -// Processing your request would cause you to exceed an AWS Global Accelerator -// limit. +// - LimitExceededException +// Processing your request would cause you to exceed an AWS Global Accelerator +// limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateCustomRoutingListener func (c *GlobalAccelerator) UpdateCustomRoutingListener(input *UpdateCustomRoutingListenerInput) (*UpdateCustomRoutingListenerOutput, error) { @@ -4606,14 +4597,13 @@ const opUpdateEndpointGroup = "UpdateEndpointGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEndpointGroupRequest method. +// req, resp := client.UpdateEndpointGroupRequest(params) // -// // Example sending a request using the UpdateEndpointGroupRequest method. -// req, resp := client.UpdateEndpointGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateEndpointGroup func (c *GlobalAccelerator) UpdateEndpointGroupRequest(input *UpdateEndpointGroupInput) (req *request.Request, output *UpdateEndpointGroupOutput) { @@ -4645,21 +4635,22 @@ func (c *GlobalAccelerator) UpdateEndpointGroupRequest(input *UpdateEndpointGrou // API operation UpdateEndpointGroup for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * EndpointGroupNotFoundException -// The endpoint group that you specified doesn't exist. +// - InvalidArgumentException +// An argument that you specified is invalid. +// +// - EndpointGroupNotFoundException +// The endpoint group that you specified doesn't exist. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. // -// * LimitExceededException -// Processing your request would cause you to exceed an AWS Global Accelerator -// limit. +// - LimitExceededException +// Processing your request would cause you to exceed an AWS Global Accelerator +// limit. // -// * AccessDeniedException -// You don't have access permission. +// - AccessDeniedException +// You don't have access permission. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateEndpointGroup func (c *GlobalAccelerator) UpdateEndpointGroup(input *UpdateEndpointGroupInput) (*UpdateEndpointGroupOutput, error) { @@ -4699,14 +4690,13 @@ const opUpdateListener = "UpdateListener" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateListenerRequest method. +// req, resp := client.UpdateListenerRequest(params) // -// // Example sending a request using the UpdateListenerRequest method. -// req, resp := client.UpdateListenerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateListener func (c *GlobalAccelerator) UpdateListenerRequest(input *UpdateListenerInput) (req *request.Request, output *UpdateListenerOutput) { @@ -4737,22 +4727,23 @@ func (c *GlobalAccelerator) UpdateListenerRequest(input *UpdateListenerInput) (r // API operation UpdateListener for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// An argument that you specified is invalid. // -// * InvalidPortRangeException -// The port numbers that you specified are not valid numbers or are not unique -// for this accelerator. +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * ListenerNotFoundException -// The listener that you specified doesn't exist. +// - InvalidPortRangeException +// The port numbers that you specified are not valid numbers or are not unique +// for this accelerator. // -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. +// - ListenerNotFoundException +// The listener that you specified doesn't exist. // -// * LimitExceededException -// Processing your request would cause you to exceed an AWS Global Accelerator -// limit. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. +// +// - LimitExceededException +// Processing your request would cause you to exceed an AWS Global Accelerator +// limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/UpdateListener func (c *GlobalAccelerator) UpdateListener(input *UpdateListenerInput) (*UpdateListenerOutput, error) { @@ -4792,14 +4783,13 @@ const opWithdrawByoipCidr = "WithdrawByoipCidr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the WithdrawByoipCidrRequest method. +// req, resp := client.WithdrawByoipCidrRequest(params) // -// // Example sending a request using the WithdrawByoipCidrRequest method. -// req, resp := client.WithdrawByoipCidrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/WithdrawByoipCidr func (c *GlobalAccelerator) WithdrawByoipCidrRequest(input *WithdrawByoipCidrInput) (req *request.Request, output *WithdrawByoipCidrOutput) { @@ -4838,21 +4828,22 @@ func (c *GlobalAccelerator) WithdrawByoipCidrRequest(input *WithdrawByoipCidrInp // API operation WithdrawByoipCidr for usage and error information. // // Returned Error Types: -// * InternalServiceErrorException -// There was an internal error for AWS Global Accelerator. // -// * InvalidArgumentException -// An argument that you specified is invalid. +// - InternalServiceErrorException +// There was an internal error for AWS Global Accelerator. +// +// - InvalidArgumentException +// An argument that you specified is invalid. // -// * AccessDeniedException -// You don't have access permission. +// - AccessDeniedException +// You don't have access permission. // -// * ByoipCidrNotFoundException -// The CIDR that you specified was not found or is incorrect. +// - ByoipCidrNotFoundException +// The CIDR that you specified was not found or is incorrect. // -// * IncorrectCidrStateException -// The CIDR that you specified is not valid for this action. For example, the -// state of the CIDR might be incorrect for this action. +// - IncorrectCidrStateException +// The CIDR that you specified is not valid for this action. For example, the +// state of the CIDR might be incorrect for this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08/WithdrawByoipCidr func (c *GlobalAccelerator) WithdrawByoipCidr(input *WithdrawByoipCidrInput) (*WithdrawByoipCidrOutput, error) { @@ -5701,47 +5692,47 @@ func (s *AssociatedListenerFoundException) RequestID() string { // The following describes each BYOIP State that your IP address range can be // in. // -// * PENDING_PROVISIONING — You’ve submitted a request to provision an -// IP address range but it is not yet provisioned with AWS Global Accelerator. +// - PENDING_PROVISIONING — You’ve submitted a request to provision an +// IP address range but it is not yet provisioned with AWS Global Accelerator. // -// * READY — The address range is provisioned with AWS Global Accelerator -// and can be advertised. +// - READY — The address range is provisioned with AWS Global Accelerator +// and can be advertised. // -// * PENDING_ADVERTISING — You’ve submitted a request for AWS Global -// Accelerator to advertise an address range but it is not yet being advertised. +// - PENDING_ADVERTISING — You’ve submitted a request for AWS Global +// Accelerator to advertise an address range but it is not yet being advertised. // -// * ADVERTISING — The address range is being advertised by AWS Global -// Accelerator. +// - ADVERTISING — The address range is being advertised by AWS Global +// Accelerator. // -// * PENDING_WITHDRAWING — You’ve submitted a request to withdraw an -// address range from being advertised but it is still being advertised by -// AWS Global Accelerator. +// - PENDING_WITHDRAWING — You’ve submitted a request to withdraw an +// address range from being advertised but it is still being advertised by +// AWS Global Accelerator. // -// * PENDING_DEPROVISIONING — You’ve submitted a request to deprovision -// an address range from AWS Global Accelerator but it is still provisioned. +// - PENDING_DEPROVISIONING — You’ve submitted a request to deprovision +// an address range from AWS Global Accelerator but it is still provisioned. // -// * DEPROVISIONED — The address range is deprovisioned from AWS Global -// Accelerator. +// - DEPROVISIONED — The address range is deprovisioned from AWS Global +// Accelerator. // -// * FAILED_PROVISION — The request to provision the address range from -// AWS Global Accelerator was not successful. Please make sure that you provide -// all of the correct information, and try again. If the request fails a -// second time, contact AWS support. +// - FAILED_PROVISION — The request to provision the address range from +// AWS Global Accelerator was not successful. Please make sure that you provide +// all of the correct information, and try again. If the request fails a +// second time, contact AWS support. // -// * FAILED_ADVERTISING — The request for AWS Global Accelerator to advertise -// the address range was not successful. Please make sure that you provide -// all of the correct information, and try again. If the request fails a -// second time, contact AWS support. +// - FAILED_ADVERTISING — The request for AWS Global Accelerator to advertise +// the address range was not successful. Please make sure that you provide +// all of the correct information, and try again. If the request fails a +// second time, contact AWS support. // -// * FAILED_WITHDRAW — The request to withdraw the address range from advertising -// by AWS Global Accelerator was not successful. Please make sure that you -// provide all of the correct information, and try again. If the request -// fails a second time, contact AWS support. +// - FAILED_WITHDRAW — The request to withdraw the address range from advertising +// by AWS Global Accelerator was not successful. Please make sure that you +// provide all of the correct information, and try again. If the request +// fails a second time, contact AWS support. // -// * FAILED_DEPROVISION — The request to deprovision the address range -// from AWS Global Accelerator was not successful. Please make sure that -// you provide all of the correct information, and try again. If the request -// fails a second time, contact AWS support. +// - FAILED_DEPROVISION — The request to deprovision the address range +// from AWS Global Accelerator was not successful. Please make sure that +// you provide all of the correct information, and try again. If the request +// fails a second time, contact AWS support. type ByoipCidr struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/doc.go index dceaa3889804..861b561e280a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/doc.go @@ -12,14 +12,14 @@ // the performance of your applications for local and global users. Depending // on the type of accelerator you choose, you can gain additional benefits. // -// * By using a standard accelerator, you can improve availability of your -// internet applications that are used by a global audience. With a standard -// accelerator, Global Accelerator directs traffic to optimal endpoints over -// the AWS global network. +// - By using a standard accelerator, you can improve availability of your +// internet applications that are used by a global audience. With a standard +// accelerator, Global Accelerator directs traffic to optimal endpoints over +// the AWS global network. // -// * For other scenarios, you might choose a custom routing accelerator. -// With a custom routing accelerator, you can use application logic to directly -// map one or more users to a specific endpoint among many endpoints. +// - For other scenarios, you might choose a custom routing accelerator. +// With a custom routing accelerator, you can use application logic to directly +// map one or more users to a specific endpoint among many endpoints. // // Global Accelerator is a global service that supports endpoints in multiple // AWS Regions but you must specify the US West (Oregon) Region to create or @@ -58,7 +58,7 @@ // // AWS Global Accelerator includes the following components: // -// Static IP addresses +// # Static IP addresses // // Global Accelerator provides you with a set of two static IP addresses that // are anycast from the AWS edge network. If you bring your own IP address range @@ -80,7 +80,7 @@ // Accelerator to delete an accelerator. For more information, see Tag-based // policies (https://docs.aws.amazon.com/global-accelerator/latest/dg/access-control-manage-access-tag-policies.html). // -// Accelerator +// # Accelerator // // An accelerator directs traffic to endpoints over the AWS global network to // improve the performance of your internet applications. Each accelerator includes @@ -88,25 +88,25 @@ // // There are two types of accelerators: // -// * A standard accelerator directs traffic to the optimal AWS endpoint based -// on several factors, including the user’s location, the health of the -// endpoint, and the endpoint weights that you configure. This improves the -// availability and performance of your applications. Endpoints can be Network -// Load Balancers, Application Load Balancers, Amazon EC2 instances, or Elastic -// IP addresses. -// -// * A custom routing accelerator directs traffic to one of possibly thousands -// of Amazon EC2 instances running in a single or multiple virtual private -// clouds (VPCs). With custom routing, listener ports are mapped to statically -// associate port ranges with VPC subnets, which allows Global Accelerator -// to determine an EC2 instance IP address at the time of connection. By -// default, all port mapping destinations in a VPC subnet can't receive traffic. -// You can choose to configure all destinations in the subnet to receive -// traffic, or to specify individual port mappings that can receive traffic. +// - A standard accelerator directs traffic to the optimal AWS endpoint based +// on several factors, including the user’s location, the health of the +// endpoint, and the endpoint weights that you configure. This improves the +// availability and performance of your applications. Endpoints can be Network +// Load Balancers, Application Load Balancers, Amazon EC2 instances, or Elastic +// IP addresses. +// +// - A custom routing accelerator directs traffic to one of possibly thousands +// of Amazon EC2 instances running in a single or multiple virtual private +// clouds (VPCs). With custom routing, listener ports are mapped to statically +// associate port ranges with VPC subnets, which allows Global Accelerator +// to determine an EC2 instance IP address at the time of connection. By +// default, all port mapping destinations in a VPC subnet can't receive traffic. +// You can choose to configure all destinations in the subnet to receive +// traffic, or to specify individual port mappings that can receive traffic. // // For more information, see Types of accelerators (https://docs.aws.amazon.com/global-accelerator/latest/dg/introduction-accelerator-types.html). // -// DNS name +// # DNS name // // Global Accelerator assigns each accelerator a default Domain Name System // (DNS) name, similar to a1234567890abcdef.awsglobalaccelerator.com, that points @@ -116,7 +116,7 @@ // to your accelerator, or set up DNS records to route traffic using your own // custom domain name. // -// Network zone +// # Network zone // // A network zone services the static IP addresses for your accelerator from // a unique IP subnet. Similar to an AWS Availability Zone, a network zone is @@ -127,7 +127,7 @@ // client applications can retry on the healthy static IP address from the other // isolated network zone. // -// Listener +// # Listener // // A listener processes inbound connections from clients to Global Accelerator, // based on the port (or port range) and protocol (or protocols) that you configure. @@ -138,7 +138,7 @@ // to. With a standard accelerator, traffic is distributed to optimal endpoints // within the endpoint groups associated with a listener. // -// Endpoint group +// # Endpoint group // // Each endpoint group is associated with a specific AWS Region. Endpoint groups // include one or more endpoints in the Region. With a standard accelerator, @@ -147,7 +147,7 @@ // The traffic dial lets you easily do performance testing or blue/green deployment // testing, for example, for new releases across different AWS Regions. // -// Endpoint +// # Endpoint // // An endpoint is a resource that Global Accelerator directs traffic to. // @@ -168,7 +168,7 @@ // See globalaccelerator package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/globalaccelerator/ // -// Using the Client +// # Using the Client // // To contact AWS Global Accelerator with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/globalacceleratoriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/globalacceleratoriface/interface.go index e540e608f88f..34be66004c87 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/globalacceleratoriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/globalacceleratoriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Global Accelerator. -// func myFunc(svc globalacceleratoriface.GlobalAcceleratorAPI) bool { -// // Make svc.AddCustomRoutingEndpoints request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Global Accelerator. +// func myFunc(svc globalacceleratoriface.GlobalAcceleratorAPI) bool { +// // Make svc.AddCustomRoutingEndpoints request +// } // -// func main() { -// sess := session.New() -// svc := globalaccelerator.New(sess) +// func main() { +// sess := session.New() +// svc := globalaccelerator.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockGlobalAcceleratorClient struct { -// globalacceleratoriface.GlobalAcceleratorAPI -// } -// func (m *mockGlobalAcceleratorClient) AddCustomRoutingEndpoints(input *globalaccelerator.AddCustomRoutingEndpointsInput) (*globalaccelerator.AddCustomRoutingEndpointsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockGlobalAcceleratorClient struct { +// globalacceleratoriface.GlobalAcceleratorAPI +// } +// func (m *mockGlobalAcceleratorClient) AddCustomRoutingEndpoints(input *globalaccelerator.AddCustomRoutingEndpointsInput) (*globalaccelerator.AddCustomRoutingEndpointsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockGlobalAcceleratorClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockGlobalAcceleratorClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/service.go index cc8aae11e91f..77c63a6b463a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/globalaccelerator/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a GlobalAccelerator client from just a session. -// svc := globalaccelerator.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a GlobalAccelerator client with additional configuration -// svc := globalaccelerator.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a GlobalAccelerator client from just a session. +// svc := globalaccelerator.New(mySession) +// +// // Create a GlobalAccelerator client with additional configuration +// svc := globalaccelerator.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *GlobalAccelerator { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/api.go index aac8842c40ed..54db6113b0b8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/api.go @@ -29,14 +29,13 @@ const opBatchCreatePartition = "BatchCreatePartition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchCreatePartitionRequest method. +// req, resp := client.BatchCreatePartitionRequest(params) // -// // Example sending a request using the BatchCreatePartitionRequest method. -// req, resp := client.BatchCreatePartitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchCreatePartition func (c *Glue) BatchCreatePartitionRequest(input *BatchCreatePartitionInput) (req *request.Request, output *BatchCreatePartitionOutput) { @@ -67,26 +66,27 @@ func (c *Glue) BatchCreatePartitionRequest(input *BatchCreatePartitionInput) (re // API operation BatchCreatePartition for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AlreadyExistsException -// A resource to be created or added already exists. +// - InvalidInputException +// The input provided was not valid. +// +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchCreatePartition func (c *Glue) BatchCreatePartition(input *BatchCreatePartitionInput) (*BatchCreatePartitionOutput, error) { @@ -126,14 +126,13 @@ const opBatchDeleteConnection = "BatchDeleteConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteConnectionRequest method. +// req, resp := client.BatchDeleteConnectionRequest(params) // -// // Example sending a request using the BatchDeleteConnectionRequest method. -// req, resp := client.BatchDeleteConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteConnection func (c *Glue) BatchDeleteConnectionRequest(input *BatchDeleteConnectionInput) (req *request.Request, output *BatchDeleteConnectionOutput) { @@ -164,11 +163,12 @@ func (c *Glue) BatchDeleteConnectionRequest(input *BatchDeleteConnectionInput) ( // API operation BatchDeleteConnection for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteConnection func (c *Glue) BatchDeleteConnection(input *BatchDeleteConnectionInput) (*BatchDeleteConnectionOutput, error) { @@ -208,14 +208,13 @@ const opBatchDeletePartition = "BatchDeletePartition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeletePartitionRequest method. +// req, resp := client.BatchDeletePartitionRequest(params) // -// // Example sending a request using the BatchDeletePartitionRequest method. -// req, resp := client.BatchDeletePartitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeletePartition func (c *Glue) BatchDeletePartitionRequest(input *BatchDeletePartitionInput) (req *request.Request, output *BatchDeletePartitionOutput) { @@ -246,17 +245,18 @@ func (c *Glue) BatchDeletePartitionRequest(input *BatchDeletePartitionInput) (re // API operation BatchDeletePartition for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeletePartition func (c *Glue) BatchDeletePartition(input *BatchDeletePartitionInput) (*BatchDeletePartitionOutput, error) { @@ -296,14 +296,13 @@ const opBatchDeleteTable = "BatchDeleteTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteTableRequest method. +// req, resp := client.BatchDeleteTableRequest(params) // -// // Example sending a request using the BatchDeleteTableRequest method. -// req, resp := client.BatchDeleteTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTable func (c *Glue) BatchDeleteTableRequest(input *BatchDeleteTableInput) (req *request.Request, output *BatchDeleteTableOutput) { @@ -343,23 +342,24 @@ func (c *Glue) BatchDeleteTableRequest(input *BatchDeleteTableInput) (req *reque // API operation BatchDeleteTable for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * EncryptionException -// An encryption operation failed. +// - OperationTimeoutException +// The operation timed out. // -// * ResourceNotReadyException -// A resource was not ready for a transaction. +// - EncryptionException +// An encryption operation failed. +// +// - ResourceNotReadyException +// A resource was not ready for a transaction. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTable func (c *Glue) BatchDeleteTable(input *BatchDeleteTableInput) (*BatchDeleteTableOutput, error) { @@ -399,14 +399,13 @@ const opBatchDeleteTableVersion = "BatchDeleteTableVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteTableVersionRequest method. +// req, resp := client.BatchDeleteTableVersionRequest(params) // -// // Example sending a request using the BatchDeleteTableVersionRequest method. -// req, resp := client.BatchDeleteTableVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTableVersion func (c *Glue) BatchDeleteTableVersionRequest(input *BatchDeleteTableVersionInput) (req *request.Request, output *BatchDeleteTableVersionOutput) { @@ -437,17 +436,18 @@ func (c *Glue) BatchDeleteTableVersionRequest(input *BatchDeleteTableVersionInpu // API operation BatchDeleteTableVersion for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchDeleteTableVersion func (c *Glue) BatchDeleteTableVersion(input *BatchDeleteTableVersionInput) (*BatchDeleteTableVersionOutput, error) { @@ -487,14 +487,13 @@ const opBatchGetBlueprints = "BatchGetBlueprints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetBlueprintsRequest method. +// req, resp := client.BatchGetBlueprintsRequest(params) // -// // Example sending a request using the BatchGetBlueprintsRequest method. -// req, resp := client.BatchGetBlueprintsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetBlueprints func (c *Glue) BatchGetBlueprintsRequest(input *BatchGetBlueprintsInput) (req *request.Request, output *BatchGetBlueprintsOutput) { @@ -525,14 +524,15 @@ func (c *Glue) BatchGetBlueprintsRequest(input *BatchGetBlueprintsInput) (req *r // API operation BatchGetBlueprints for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetBlueprints func (c *Glue) BatchGetBlueprints(input *BatchGetBlueprintsInput) (*BatchGetBlueprintsOutput, error) { @@ -572,14 +572,13 @@ const opBatchGetCrawlers = "BatchGetCrawlers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetCrawlersRequest method. +// req, resp := client.BatchGetCrawlersRequest(params) // -// // Example sending a request using the BatchGetCrawlersRequest method. -// req, resp := client.BatchGetCrawlersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetCrawlers func (c *Glue) BatchGetCrawlersRequest(input *BatchGetCrawlersInput) (req *request.Request, output *BatchGetCrawlersOutput) { @@ -613,11 +612,12 @@ func (c *Glue) BatchGetCrawlersRequest(input *BatchGetCrawlersInput) (req *reque // API operation BatchGetCrawlers for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetCrawlers func (c *Glue) BatchGetCrawlers(input *BatchGetCrawlersInput) (*BatchGetCrawlersOutput, error) { @@ -657,14 +657,13 @@ const opBatchGetCustomEntityTypes = "BatchGetCustomEntityTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetCustomEntityTypesRequest method. +// req, resp := client.BatchGetCustomEntityTypesRequest(params) // -// // Example sending a request using the BatchGetCustomEntityTypesRequest method. -// req, resp := client.BatchGetCustomEntityTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetCustomEntityTypes func (c *Glue) BatchGetCustomEntityTypesRequest(input *BatchGetCustomEntityTypesInput) (req *request.Request, output *BatchGetCustomEntityTypesOutput) { @@ -695,14 +694,15 @@ func (c *Glue) BatchGetCustomEntityTypesRequest(input *BatchGetCustomEntityTypes // API operation BatchGetCustomEntityTypes for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetCustomEntityTypes func (c *Glue) BatchGetCustomEntityTypes(input *BatchGetCustomEntityTypesInput) (*BatchGetCustomEntityTypesOutput, error) { @@ -742,14 +742,13 @@ const opBatchGetDevEndpoints = "BatchGetDevEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetDevEndpointsRequest method. +// req, resp := client.BatchGetDevEndpointsRequest(params) // -// // Example sending a request using the BatchGetDevEndpointsRequest method. -// req, resp := client.BatchGetDevEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetDevEndpoints func (c *Glue) BatchGetDevEndpointsRequest(input *BatchGetDevEndpointsInput) (req *request.Request, output *BatchGetDevEndpointsOutput) { @@ -783,17 +782,18 @@ func (c *Glue) BatchGetDevEndpointsRequest(input *BatchGetDevEndpointsInput) (re // API operation BatchGetDevEndpoints for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to a resource was denied. // -// * InternalServiceException -// An internal service error occurred. +// - AccessDeniedException +// Access to a resource was denied. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetDevEndpoints func (c *Glue) BatchGetDevEndpoints(input *BatchGetDevEndpointsInput) (*BatchGetDevEndpointsOutput, error) { @@ -833,14 +833,13 @@ const opBatchGetJobs = "BatchGetJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetJobsRequest method. +// req, resp := client.BatchGetJobsRequest(params) // -// // Example sending a request using the BatchGetJobsRequest method. -// req, resp := client.BatchGetJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetJobs func (c *Glue) BatchGetJobsRequest(input *BatchGetJobsInput) (req *request.Request, output *BatchGetJobsOutput) { @@ -874,14 +873,15 @@ func (c *Glue) BatchGetJobsRequest(input *BatchGetJobsInput) (req *request.Reque // API operation BatchGetJobs for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - OperationTimeoutException +// The operation timed out. +// +// - InvalidInputException +// The input provided was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetJobs func (c *Glue) BatchGetJobs(input *BatchGetJobsInput) (*BatchGetJobsOutput, error) { @@ -921,14 +921,13 @@ const opBatchGetPartition = "BatchGetPartition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetPartitionRequest method. +// req, resp := client.BatchGetPartitionRequest(params) // -// // Example sending a request using the BatchGetPartitionRequest method. -// req, resp := client.BatchGetPartitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartition func (c *Glue) BatchGetPartitionRequest(input *BatchGetPartitionInput) (req *request.Request, output *BatchGetPartitionOutput) { @@ -959,23 +958,24 @@ func (c *Glue) BatchGetPartitionRequest(input *BatchGetPartitionInput) (req *req // API operation BatchGetPartition for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // -// * InvalidStateException -// An error that indicates your data is in an invalid state. +// - InvalidStateException +// An error that indicates your data is in an invalid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetPartition func (c *Glue) BatchGetPartition(input *BatchGetPartitionInput) (*BatchGetPartitionOutput, error) { @@ -1015,14 +1015,13 @@ const opBatchGetTriggers = "BatchGetTriggers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetTriggersRequest method. +// req, resp := client.BatchGetTriggersRequest(params) // -// // Example sending a request using the BatchGetTriggersRequest method. -// req, resp := client.BatchGetTriggersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetTriggers func (c *Glue) BatchGetTriggersRequest(input *BatchGetTriggersInput) (req *request.Request, output *BatchGetTriggersOutput) { @@ -1056,14 +1055,15 @@ func (c *Glue) BatchGetTriggersRequest(input *BatchGetTriggersInput) (req *reque // API operation BatchGetTriggers for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetTriggers func (c *Glue) BatchGetTriggers(input *BatchGetTriggersInput) (*BatchGetTriggersOutput, error) { @@ -1103,14 +1103,13 @@ const opBatchGetWorkflows = "BatchGetWorkflows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetWorkflowsRequest method. +// req, resp := client.BatchGetWorkflowsRequest(params) // -// // Example sending a request using the BatchGetWorkflowsRequest method. -// req, resp := client.BatchGetWorkflowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetWorkflows func (c *Glue) BatchGetWorkflowsRequest(input *BatchGetWorkflowsInput) (req *request.Request, output *BatchGetWorkflowsOutput) { @@ -1144,14 +1143,15 @@ func (c *Glue) BatchGetWorkflowsRequest(input *BatchGetWorkflowsInput) (req *req // API operation BatchGetWorkflows for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - OperationTimeoutException +// The operation timed out. +// +// - InvalidInputException +// The input provided was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetWorkflows func (c *Glue) BatchGetWorkflows(input *BatchGetWorkflowsInput) (*BatchGetWorkflowsOutput, error) { @@ -1191,14 +1191,13 @@ const opBatchStopJobRun = "BatchStopJobRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchStopJobRunRequest method. +// req, resp := client.BatchStopJobRunRequest(params) // -// // Example sending a request using the BatchStopJobRunRequest method. -// req, resp := client.BatchStopJobRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRun func (c *Glue) BatchStopJobRunRequest(input *BatchStopJobRunInput) (req *request.Request, output *BatchStopJobRunOutput) { @@ -1229,14 +1228,15 @@ func (c *Glue) BatchStopJobRunRequest(input *BatchStopJobRunInput) (req *request // API operation BatchStopJobRun for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchStopJobRun func (c *Glue) BatchStopJobRun(input *BatchStopJobRunInput) (*BatchStopJobRunOutput, error) { @@ -1276,14 +1276,13 @@ const opBatchUpdatePartition = "BatchUpdatePartition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchUpdatePartitionRequest method. +// req, resp := client.BatchUpdatePartitionRequest(params) // -// // Example sending a request using the BatchUpdatePartitionRequest method. -// req, resp := client.BatchUpdatePartitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchUpdatePartition func (c *Glue) BatchUpdatePartitionRequest(input *BatchUpdatePartitionInput) (req *request.Request, output *BatchUpdatePartitionOutput) { @@ -1314,20 +1313,21 @@ func (c *Glue) BatchUpdatePartitionRequest(input *BatchUpdatePartitionInput) (re // API operation BatchUpdatePartition for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - InternalServiceException +// An internal service error occurred. +// +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchUpdatePartition func (c *Glue) BatchUpdatePartition(input *BatchUpdatePartitionInput) (*BatchUpdatePartitionOutput, error) { @@ -1367,14 +1367,13 @@ const opCancelMLTaskRun = "CancelMLTaskRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelMLTaskRunRequest method. +// req, resp := client.CancelMLTaskRunRequest(params) // -// // Example sending a request using the CancelMLTaskRunRequest method. -// req, resp := client.CancelMLTaskRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CancelMLTaskRun func (c *Glue) CancelMLTaskRunRequest(input *CancelMLTaskRunInput) (req *request.Request, output *CancelMLTaskRunOutput) { @@ -1408,17 +1407,18 @@ func (c *Glue) CancelMLTaskRunRequest(input *CancelMLTaskRunInput) (req *request // API operation CancelMLTaskRun for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CancelMLTaskRun func (c *Glue) CancelMLTaskRun(input *CancelMLTaskRunInput) (*CancelMLTaskRunOutput, error) { @@ -1458,14 +1458,13 @@ const opCancelStatement = "CancelStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelStatementRequest method. +// req, resp := client.CancelStatementRequest(params) // -// // Example sending a request using the CancelStatementRequest method. -// req, resp := client.CancelStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CancelStatement func (c *Glue) CancelStatementRequest(input *CancelStatementInput) (req *request.Request, output *CancelStatementOutput) { @@ -1497,23 +1496,24 @@ func (c *Glue) CancelStatementRequest(input *CancelStatementInput) (req *request // API operation CancelStatement for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to a resource was denied. // -// * EntityNotFoundException -// A specified entity does not exist +// - AccessDeniedException +// Access to a resource was denied. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * IllegalSessionStateException -// The session is in an invalid state to perform a requested operation. +// - IllegalSessionStateException +// The session is in an invalid state to perform a requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CancelStatement func (c *Glue) CancelStatement(input *CancelStatementInput) (*CancelStatementOutput, error) { @@ -1553,14 +1553,13 @@ const opCheckSchemaVersionValidity = "CheckSchemaVersionValidity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CheckSchemaVersionValidityRequest method. +// req, resp := client.CheckSchemaVersionValidityRequest(params) // -// // Example sending a request using the CheckSchemaVersionValidityRequest method. -// req, resp := client.CheckSchemaVersionValidityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CheckSchemaVersionValidity func (c *Glue) CheckSchemaVersionValidityRequest(input *CheckSchemaVersionValidityInput) (req *request.Request, output *CheckSchemaVersionValidityOutput) { @@ -1593,14 +1592,15 @@ func (c *Glue) CheckSchemaVersionValidityRequest(input *CheckSchemaVersionValidi // API operation CheckSchemaVersionValidity for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - AccessDeniedException +// Access to a resource was denied. +// +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CheckSchemaVersionValidity func (c *Glue) CheckSchemaVersionValidity(input *CheckSchemaVersionValidityInput) (*CheckSchemaVersionValidityOutput, error) { @@ -1640,14 +1640,13 @@ const opCreateBlueprint = "CreateBlueprint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBlueprintRequest method. +// req, resp := client.CreateBlueprintRequest(params) // -// // Example sending a request using the CreateBlueprintRequest method. -// req, resp := client.CreateBlueprintRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateBlueprint func (c *Glue) CreateBlueprintRequest(input *CreateBlueprintInput) (req *request.Request, output *CreateBlueprintOutput) { @@ -1678,20 +1677,21 @@ func (c *Glue) CreateBlueprintRequest(input *CreateBlueprintInput) (req *request // API operation CreateBlueprint for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// A resource to be created or added already exists. // -// * InvalidInputException -// The input provided was not valid. +// - AlreadyExistsException +// A resource to be created or added already exists. +// +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateBlueprint func (c *Glue) CreateBlueprint(input *CreateBlueprintInput) (*CreateBlueprintOutput, error) { @@ -1731,14 +1731,13 @@ const opCreateClassifier = "CreateClassifier" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClassifierRequest method. +// req, resp := client.CreateClassifierRequest(params) // -// // Example sending a request using the CreateClassifierRequest method. -// req, resp := client.CreateClassifierRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifier func (c *Glue) CreateClassifierRequest(input *CreateClassifierInput) (req *request.Request, output *CreateClassifierOutput) { @@ -1772,14 +1771,15 @@ func (c *Glue) CreateClassifierRequest(input *CreateClassifierInput) (req *reque // API operation CreateClassifier for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// A resource to be created or added already exists. // -// * InvalidInputException -// The input provided was not valid. +// - AlreadyExistsException +// A resource to be created or added already exists. +// +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateClassifier func (c *Glue) CreateClassifier(input *CreateClassifierInput) (*CreateClassifierOutput, error) { @@ -1819,14 +1819,13 @@ const opCreateConnection = "CreateConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConnectionRequest method. +// req, resp := client.CreateConnectionRequest(params) // -// // Example sending a request using the CreateConnectionRequest method. -// req, resp := client.CreateConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnection func (c *Glue) CreateConnectionRequest(input *CreateConnectionInput) (req *request.Request, output *CreateConnectionOutput) { @@ -1858,20 +1857,21 @@ func (c *Glue) CreateConnectionRequest(input *CreateConnectionInput) (req *reque // API operation CreateConnection for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// A resource to be created or added already exists. // -// * InvalidInputException -// The input provided was not valid. +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. +// +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateConnection func (c *Glue) CreateConnection(input *CreateConnectionInput) (*CreateConnectionOutput, error) { @@ -1911,14 +1911,13 @@ const opCreateCrawler = "CreateCrawler" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCrawlerRequest method. +// req, resp := client.CreateCrawlerRequest(params) // -// // Example sending a request using the CreateCrawlerRequest method. -// req, resp := client.CreateCrawlerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawler func (c *Glue) CreateCrawlerRequest(input *CreateCrawlerInput) (req *request.Request, output *CreateCrawlerOutput) { @@ -1952,17 +1951,18 @@ func (c *Glue) CreateCrawlerRequest(input *CreateCrawlerInput) (req *request.Req // API operation CreateCrawler for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AlreadyExistsException -// A resource to be created or added already exists. +// - InvalidInputException +// The input provided was not valid. +// +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCrawler func (c *Glue) CreateCrawler(input *CreateCrawlerInput) (*CreateCrawlerOutput, error) { @@ -2002,14 +2002,13 @@ const opCreateCustomEntityType = "CreateCustomEntityType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCustomEntityTypeRequest method. +// req, resp := client.CreateCustomEntityTypeRequest(params) // -// // Example sending a request using the CreateCustomEntityTypeRequest method. -// req, resp := client.CreateCustomEntityTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCustomEntityType func (c *Glue) CreateCustomEntityTypeRequest(input *CreateCustomEntityTypeInput) (req *request.Request, output *CreateCustomEntityTypeOutput) { @@ -2045,26 +2044,27 @@ func (c *Glue) CreateCustomEntityTypeRequest(input *CreateCustomEntityTypeInput) // API operation CreateCustomEntityType for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to a resource was denied. // -// * AlreadyExistsException -// A resource to be created or added already exists. +// - AccessDeniedException +// Access to a resource was denied. +// +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * IdempotentParameterMismatchException -// The same unique identifier was associated with two different records. +// - IdempotentParameterMismatchException +// The same unique identifier was associated with two different records. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateCustomEntityType func (c *Glue) CreateCustomEntityType(input *CreateCustomEntityTypeInput) (*CreateCustomEntityTypeOutput, error) { @@ -2104,14 +2104,13 @@ const opCreateDatabase = "CreateDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatabaseRequest method. +// req, resp := client.CreateDatabaseRequest(params) // -// // Example sending a request using the CreateDatabaseRequest method. -// req, resp := client.CreateDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabase func (c *Glue) CreateDatabaseRequest(input *CreateDatabaseInput) (req *request.Request, output *CreateDatabaseOutput) { @@ -2143,26 +2142,27 @@ func (c *Glue) CreateDatabaseRequest(input *CreateDatabaseInput) (req *request.R // API operation CreateDatabase for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AlreadyExistsException -// A resource to be created or added already exists. +// - InvalidInputException +// The input provided was not valid. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * InternalServiceException -// An internal service error occurred. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * EncryptionException -// An encryption operation failed. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - EncryptionException +// An encryption operation failed. +// +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDatabase func (c *Glue) CreateDatabase(input *CreateDatabaseInput) (*CreateDatabaseOutput, error) { @@ -2202,14 +2202,13 @@ const opCreateDevEndpoint = "CreateDevEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDevEndpointRequest method. +// req, resp := client.CreateDevEndpointRequest(params) // -// // Example sending a request using the CreateDevEndpointRequest method. -// req, resp := client.CreateDevEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpoint func (c *Glue) CreateDevEndpointRequest(input *CreateDevEndpointInput) (req *request.Request, output *CreateDevEndpointOutput) { @@ -2240,29 +2239,30 @@ func (c *Glue) CreateDevEndpointRequest(input *CreateDevEndpointInput) (req *req // API operation CreateDevEndpoint for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to a resource was denied. // -// * AlreadyExistsException -// A resource to be created or added already exists. +// - AccessDeniedException +// Access to a resource was denied. +// +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * IdempotentParameterMismatchException -// The same unique identifier was associated with two different records. +// - IdempotentParameterMismatchException +// The same unique identifier was associated with two different records. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * ValidationException -// A value could not be validated. +// - ValidationException +// A value could not be validated. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateDevEndpoint func (c *Glue) CreateDevEndpoint(input *CreateDevEndpointInput) (*CreateDevEndpointOutput, error) { @@ -2302,14 +2302,13 @@ const opCreateJob = "CreateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateJobRequest method. +// req, resp := client.CreateJobRequest(params) // -// // Example sending a request using the CreateJobRequest method. -// req, resp := client.CreateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJob func (c *Glue) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobOutput) { @@ -2340,26 +2339,27 @@ func (c *Glue) CreateJobRequest(input *CreateJobInput) (req *request.Request, ou // API operation CreateJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * IdempotentParameterMismatchException -// The same unique identifier was associated with two different records. +// - InvalidInputException +// The input provided was not valid. +// +// - IdempotentParameterMismatchException +// The same unique identifier was associated with two different records. // -// * AlreadyExistsException -// A resource to be created or added already exists. +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateJob func (c *Glue) CreateJob(input *CreateJobInput) (*CreateJobOutput, error) { @@ -2399,14 +2399,13 @@ const opCreateMLTransform = "CreateMLTransform" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMLTransformRequest method. +// req, resp := client.CreateMLTransformRequest(params) // -// // Example sending a request using the CreateMLTransformRequest method. -// req, resp := client.CreateMLTransformRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateMLTransform func (c *Glue) CreateMLTransformRequest(input *CreateMLTransformInput) (req *request.Request, output *CreateMLTransformOutput) { @@ -2449,26 +2448,27 @@ func (c *Glue) CreateMLTransformRequest(input *CreateMLTransformInput) (req *req // API operation CreateMLTransform for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// A resource to be created or added already exists. // -// * InvalidInputException -// The input provided was not valid. +// - AlreadyExistsException +// A resource to be created or added already exists. +// +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * IdempotentParameterMismatchException -// The same unique identifier was associated with two different records. +// - IdempotentParameterMismatchException +// The same unique identifier was associated with two different records. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateMLTransform func (c *Glue) CreateMLTransform(input *CreateMLTransformInput) (*CreateMLTransformOutput, error) { @@ -2508,14 +2508,13 @@ const opCreatePartition = "CreatePartition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePartitionRequest method. +// req, resp := client.CreatePartitionRequest(params) // -// // Example sending a request using the CreatePartitionRequest method. -// req, resp := client.CreatePartitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartition func (c *Glue) CreatePartitionRequest(input *CreatePartitionInput) (req *request.Request, output *CreatePartitionOutput) { @@ -2547,26 +2546,27 @@ func (c *Glue) CreatePartitionRequest(input *CreatePartitionInput) (req *request // API operation CreatePartition for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AlreadyExistsException -// A resource to be created or added already exists. +// - InvalidInputException +// The input provided was not valid. +// +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartition func (c *Glue) CreatePartition(input *CreatePartitionInput) (*CreatePartitionOutput, error) { @@ -2606,14 +2606,13 @@ const opCreatePartitionIndex = "CreatePartitionIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePartitionIndexRequest method. +// req, resp := client.CreatePartitionIndexRequest(params) // -// // Example sending a request using the CreatePartitionIndexRequest method. -// req, resp := client.CreatePartitionIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionIndex func (c *Glue) CreatePartitionIndexRequest(input *CreatePartitionIndexInput) (req *request.Request, output *CreatePartitionIndexOutput) { @@ -2645,26 +2644,27 @@ func (c *Glue) CreatePartitionIndexRequest(input *CreatePartitionIndexInput) (re // API operation CreatePartitionIndex for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// A resource to be created or added already exists. // -// * InvalidInputException -// The input provided was not valid. +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * EncryptionException -// An encryption operation failed. +// - OperationTimeoutException +// The operation timed out. +// +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreatePartitionIndex func (c *Glue) CreatePartitionIndex(input *CreatePartitionIndexInput) (*CreatePartitionIndexOutput, error) { @@ -2704,14 +2704,13 @@ const opCreateRegistry = "CreateRegistry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRegistryRequest method. +// req, resp := client.CreateRegistryRequest(params) // -// // Example sending a request using the CreateRegistryRequest method. -// req, resp := client.CreateRegistryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateRegistry func (c *Glue) CreateRegistryRequest(input *CreateRegistryInput) (req *request.Request, output *CreateRegistryOutput) { @@ -2742,23 +2741,24 @@ func (c *Glue) CreateRegistryRequest(input *CreateRegistryInput) (req *request.R // API operation CreateRegistry for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. +// +// - AccessDeniedException +// Access to a resource was denied. // -// * AlreadyExistsException -// A resource to be created or added already exists. +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateRegistry func (c *Glue) CreateRegistry(input *CreateRegistryInput) (*CreateRegistryOutput, error) { @@ -2798,14 +2798,13 @@ const opCreateSchema = "CreateSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSchemaRequest method. +// req, resp := client.CreateSchemaRequest(params) // -// // Example sending a request using the CreateSchemaRequest method. -// req, resp := client.CreateSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSchema func (c *Glue) CreateSchemaRequest(input *CreateSchemaInput) (req *request.Request, output *CreateSchemaOutput) { @@ -2847,26 +2846,27 @@ func (c *Glue) CreateSchemaRequest(input *CreateSchemaInput) (req *request.Reque // API operation CreateSchema for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. +// +// - AccessDeniedException +// Access to a resource was denied. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * AlreadyExistsException -// A resource to be created or added already exists. +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSchema func (c *Glue) CreateSchema(input *CreateSchemaInput) (*CreateSchemaOutput, error) { @@ -2906,14 +2906,13 @@ const opCreateScript = "CreateScript" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateScriptRequest method. +// req, resp := client.CreateScriptRequest(params) // -// // Example sending a request using the CreateScriptRequest method. -// req, resp := client.CreateScriptRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScript func (c *Glue) CreateScriptRequest(input *CreateScriptInput) (req *request.Request, output *CreateScriptOutput) { @@ -2944,14 +2943,15 @@ func (c *Glue) CreateScriptRequest(input *CreateScriptInput) (req *request.Reque // API operation CreateScript for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateScript func (c *Glue) CreateScript(input *CreateScriptInput) (*CreateScriptOutput, error) { @@ -2991,14 +2991,13 @@ const opCreateSecurityConfiguration = "CreateSecurityConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSecurityConfigurationRequest method. +// req, resp := client.CreateSecurityConfigurationRequest(params) // -// // Example sending a request using the CreateSecurityConfigurationRequest method. -// req, resp := client.CreateSecurityConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSecurityConfiguration func (c *Glue) CreateSecurityConfigurationRequest(input *CreateSecurityConfigurationInput) (req *request.Request, output *CreateSecurityConfigurationOutput) { @@ -3033,20 +3032,21 @@ func (c *Glue) CreateSecurityConfigurationRequest(input *CreateSecurityConfigura // API operation CreateSecurityConfiguration for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// A resource to be created or added already exists. // -// * InvalidInputException -// The input provided was not valid. +// - AlreadyExistsException +// A resource to be created or added already exists. +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSecurityConfiguration func (c *Glue) CreateSecurityConfiguration(input *CreateSecurityConfigurationInput) (*CreateSecurityConfigurationOutput, error) { @@ -3086,14 +3086,13 @@ const opCreateSession = "CreateSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSessionRequest method. +// req, resp := client.CreateSessionRequest(params) // -// // Example sending a request using the CreateSessionRequest method. -// req, resp := client.CreateSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSession func (c *Glue) CreateSessionRequest(input *CreateSessionInput) (req *request.Request, output *CreateSessionOutput) { @@ -3124,29 +3123,30 @@ func (c *Glue) CreateSessionRequest(input *CreateSessionInput) (req *request.Req // API operation CreateSession for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to a resource was denied. // -// * IdempotentParameterMismatchException -// The same unique identifier was associated with two different records. +// - AccessDeniedException +// Access to a resource was denied. +// +// - IdempotentParameterMismatchException +// The same unique identifier was associated with two different records. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * ValidationException -// A value could not be validated. +// - ValidationException +// A value could not be validated. // -// * AlreadyExistsException -// A resource to be created or added already exists. +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateSession func (c *Glue) CreateSession(input *CreateSessionInput) (*CreateSessionOutput, error) { @@ -3186,14 +3186,13 @@ const opCreateTable = "CreateTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTableRequest method. +// req, resp := client.CreateTableRequest(params) // -// // Example sending a request using the CreateTableRequest method. -// req, resp := client.CreateTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable func (c *Glue) CreateTableRequest(input *CreateTableInput) (req *request.Request, output *CreateTableOutput) { @@ -3225,32 +3224,33 @@ func (c *Glue) CreateTableRequest(input *CreateTableInput) (req *request.Request // API operation CreateTable for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// A resource to be created or added already exists. // -// * InvalidInputException -// The input provided was not valid. +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * EncryptionException -// An encryption operation failed. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - EncryptionException +// An encryption operation failed. // -// * ResourceNotReadyException -// A resource was not ready for a transaction. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. +// +// - ResourceNotReadyException +// A resource was not ready for a transaction. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTable func (c *Glue) CreateTable(input *CreateTableInput) (*CreateTableOutput, error) { @@ -3290,14 +3290,13 @@ const opCreateTrigger = "CreateTrigger" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTriggerRequest method. +// req, resp := client.CreateTriggerRequest(params) // -// // Example sending a request using the CreateTriggerRequest method. -// req, resp := client.CreateTriggerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTrigger func (c *Glue) CreateTriggerRequest(input *CreateTriggerInput) (req *request.Request, output *CreateTriggerOutput) { @@ -3328,29 +3327,30 @@ func (c *Glue) CreateTriggerRequest(input *CreateTriggerInput) (req *request.Req // API operation CreateTrigger for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// A resource to be created or added already exists. // -// * EntityNotFoundException -// A specified entity does not exist +// - AlreadyExistsException +// A resource to be created or added already exists. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * IdempotentParameterMismatchException -// The same unique identifier was associated with two different records. +// - IdempotentParameterMismatchException +// The same unique identifier was associated with two different records. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateTrigger func (c *Glue) CreateTrigger(input *CreateTriggerInput) (*CreateTriggerOutput, error) { @@ -3390,14 +3390,13 @@ const opCreateUserDefinedFunction = "CreateUserDefinedFunction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserDefinedFunctionRequest method. +// req, resp := client.CreateUserDefinedFunctionRequest(params) // -// // Example sending a request using the CreateUserDefinedFunctionRequest method. -// req, resp := client.CreateUserDefinedFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunction func (c *Glue) CreateUserDefinedFunctionRequest(input *CreateUserDefinedFunctionInput) (req *request.Request, output *CreateUserDefinedFunctionOutput) { @@ -3429,26 +3428,27 @@ func (c *Glue) CreateUserDefinedFunctionRequest(input *CreateUserDefinedFunction // API operation CreateUserDefinedFunction for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// A resource to be created or added already exists. // -// * InvalidInputException -// The input provided was not valid. +// - AlreadyExistsException +// A resource to be created or added already exists. +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateUserDefinedFunction func (c *Glue) CreateUserDefinedFunction(input *CreateUserDefinedFunctionInput) (*CreateUserDefinedFunctionOutput, error) { @@ -3488,14 +3488,13 @@ const opCreateWorkflow = "CreateWorkflow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorkflowRequest method. +// req, resp := client.CreateWorkflowRequest(params) // -// // Example sending a request using the CreateWorkflowRequest method. -// req, resp := client.CreateWorkflowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateWorkflow func (c *Glue) CreateWorkflowRequest(input *CreateWorkflowInput) (req *request.Request, output *CreateWorkflowOutput) { @@ -3526,23 +3525,24 @@ func (c *Glue) CreateWorkflowRequest(input *CreateWorkflowInput) (req *request.R // API operation CreateWorkflow for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// A resource to be created or added already exists. // -// * InvalidInputException -// The input provided was not valid. +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. +// +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CreateWorkflow func (c *Glue) CreateWorkflow(input *CreateWorkflowInput) (*CreateWorkflowOutput, error) { @@ -3582,14 +3582,13 @@ const opDeleteBlueprint = "DeleteBlueprint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBlueprintRequest method. +// req, resp := client.DeleteBlueprintRequest(params) // -// // Example sending a request using the DeleteBlueprintRequest method. -// req, resp := client.DeleteBlueprintRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteBlueprint func (c *Glue) DeleteBlueprintRequest(input *DeleteBlueprintInput) (req *request.Request, output *DeleteBlueprintOutput) { @@ -3620,14 +3619,15 @@ func (c *Glue) DeleteBlueprintRequest(input *DeleteBlueprintInput) (req *request // API operation DeleteBlueprint for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. +// +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteBlueprint func (c *Glue) DeleteBlueprint(input *DeleteBlueprintInput) (*DeleteBlueprintOutput, error) { @@ -3667,14 +3667,13 @@ const opDeleteClassifier = "DeleteClassifier" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClassifierRequest method. +// req, resp := client.DeleteClassifierRequest(params) // -// // Example sending a request using the DeleteClassifierRequest method. -// req, resp := client.DeleteClassifierRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifier func (c *Glue) DeleteClassifierRequest(input *DeleteClassifierInput) (req *request.Request, output *DeleteClassifierOutput) { @@ -3706,11 +3705,12 @@ func (c *Glue) DeleteClassifierRequest(input *DeleteClassifierInput) (req *reque // API operation DeleteClassifier for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - EntityNotFoundException +// A specified entity does not exist +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteClassifier func (c *Glue) DeleteClassifier(input *DeleteClassifierInput) (*DeleteClassifierOutput, error) { @@ -3750,14 +3750,13 @@ const opDeleteColumnStatisticsForPartition = "DeleteColumnStatisticsForPartition // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteColumnStatisticsForPartitionRequest method. +// req, resp := client.DeleteColumnStatisticsForPartitionRequest(params) // -// // Example sending a request using the DeleteColumnStatisticsForPartitionRequest method. -// req, resp := client.DeleteColumnStatisticsForPartitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForPartition func (c *Glue) DeleteColumnStatisticsForPartitionRequest(input *DeleteColumnStatisticsForPartitionInput) (req *request.Request, output *DeleteColumnStatisticsForPartitionOutput) { @@ -3792,20 +3791,21 @@ func (c *Glue) DeleteColumnStatisticsForPartitionRequest(input *DeleteColumnStat // API operation DeleteColumnStatisticsForPartition for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * EncryptionException -// An encryption operation failed. +// - OperationTimeoutException +// The operation timed out. +// +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForPartition func (c *Glue) DeleteColumnStatisticsForPartition(input *DeleteColumnStatisticsForPartitionInput) (*DeleteColumnStatisticsForPartitionOutput, error) { @@ -3845,14 +3845,13 @@ const opDeleteColumnStatisticsForTable = "DeleteColumnStatisticsForTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteColumnStatisticsForTableRequest method. +// req, resp := client.DeleteColumnStatisticsForTableRequest(params) // -// // Example sending a request using the DeleteColumnStatisticsForTableRequest method. -// req, resp := client.DeleteColumnStatisticsForTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForTable func (c *Glue) DeleteColumnStatisticsForTableRequest(input *DeleteColumnStatisticsForTableInput) (req *request.Request, output *DeleteColumnStatisticsForTableOutput) { @@ -3887,20 +3886,21 @@ func (c *Glue) DeleteColumnStatisticsForTableRequest(input *DeleteColumnStatisti // API operation DeleteColumnStatisticsForTable for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteColumnStatisticsForTable func (c *Glue) DeleteColumnStatisticsForTable(input *DeleteColumnStatisticsForTableInput) (*DeleteColumnStatisticsForTableOutput, error) { @@ -3940,14 +3940,13 @@ const opDeleteConnection = "DeleteConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConnectionRequest method. +// req, resp := client.DeleteConnectionRequest(params) // -// // Example sending a request using the DeleteConnectionRequest method. -// req, resp := client.DeleteConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnection func (c *Glue) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput) { @@ -3979,11 +3978,12 @@ func (c *Glue) DeleteConnectionRequest(input *DeleteConnectionInput) (req *reque // API operation DeleteConnection for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - EntityNotFoundException +// A specified entity does not exist +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteConnection func (c *Glue) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error) { @@ -4023,14 +4023,13 @@ const opDeleteCrawler = "DeleteCrawler" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCrawlerRequest method. +// req, resp := client.DeleteCrawlerRequest(params) // -// // Example sending a request using the DeleteCrawlerRequest method. -// req, resp := client.DeleteCrawlerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawler func (c *Glue) DeleteCrawlerRequest(input *DeleteCrawlerInput) (req *request.Request, output *DeleteCrawlerOutput) { @@ -4063,17 +4062,18 @@ func (c *Glue) DeleteCrawlerRequest(input *DeleteCrawlerInput) (req *request.Req // API operation DeleteCrawler for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * CrawlerRunningException -// The operation cannot be performed because the crawler is already running. +// - EntityNotFoundException +// A specified entity does not exist // -// * SchedulerTransitioningException -// The specified scheduler is transitioning. +// - CrawlerRunningException +// The operation cannot be performed because the crawler is already running. // -// * OperationTimeoutException -// The operation timed out. +// - SchedulerTransitioningException +// The specified scheduler is transitioning. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCrawler func (c *Glue) DeleteCrawler(input *DeleteCrawlerInput) (*DeleteCrawlerOutput, error) { @@ -4113,14 +4113,13 @@ const opDeleteCustomEntityType = "DeleteCustomEntityType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomEntityTypeRequest method. +// req, resp := client.DeleteCustomEntityTypeRequest(params) // -// // Example sending a request using the DeleteCustomEntityTypeRequest method. -// req, resp := client.DeleteCustomEntityTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCustomEntityType func (c *Glue) DeleteCustomEntityTypeRequest(input *DeleteCustomEntityTypeInput) (req *request.Request, output *DeleteCustomEntityTypeOutput) { @@ -4151,20 +4150,21 @@ func (c *Glue) DeleteCustomEntityTypeRequest(input *DeleteCustomEntityTypeInput) // API operation DeleteCustomEntityType for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * AccessDeniedException -// Access to a resource was denied. +// - EntityNotFoundException +// A specified entity does not exist +// +// - AccessDeniedException +// Access to a resource was denied. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteCustomEntityType func (c *Glue) DeleteCustomEntityType(input *DeleteCustomEntityTypeInput) (*DeleteCustomEntityTypeOutput, error) { @@ -4204,14 +4204,13 @@ const opDeleteDatabase = "DeleteDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatabaseRequest method. +// req, resp := client.DeleteDatabaseRequest(params) // -// // Example sending a request using the DeleteDatabaseRequest method. -// req, resp := client.DeleteDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabase func (c *Glue) DeleteDatabaseRequest(input *DeleteDatabaseInput) (req *request.Request, output *DeleteDatabaseOutput) { @@ -4253,20 +4252,21 @@ func (c *Glue) DeleteDatabaseRequest(input *DeleteDatabaseInput) (req *request.R // API operation DeleteDatabase for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDatabase func (c *Glue) DeleteDatabase(input *DeleteDatabaseInput) (*DeleteDatabaseOutput, error) { @@ -4306,14 +4306,13 @@ const opDeleteDevEndpoint = "DeleteDevEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDevEndpointRequest method. +// req, resp := client.DeleteDevEndpointRequest(params) // -// // Example sending a request using the DeleteDevEndpointRequest method. -// req, resp := client.DeleteDevEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpoint func (c *Glue) DeleteDevEndpointRequest(input *DeleteDevEndpointInput) (req *request.Request, output *DeleteDevEndpointOutput) { @@ -4345,17 +4344,18 @@ func (c *Glue) DeleteDevEndpointRequest(input *DeleteDevEndpointInput) (req *req // API operation DeleteDevEndpoint for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - OperationTimeoutException +// The operation timed out. +// +// - InvalidInputException +// The input provided was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteDevEndpoint func (c *Glue) DeleteDevEndpoint(input *DeleteDevEndpointInput) (*DeleteDevEndpointOutput, error) { @@ -4395,14 +4395,13 @@ const opDeleteJob = "DeleteJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteJobRequest method. +// req, resp := client.DeleteJobRequest(params) // -// // Example sending a request using the DeleteJobRequest method. -// req, resp := client.DeleteJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJob func (c *Glue) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, output *DeleteJobOutput) { @@ -4434,14 +4433,15 @@ func (c *Glue) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, ou // API operation DeleteJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteJob func (c *Glue) DeleteJob(input *DeleteJobInput) (*DeleteJobOutput, error) { @@ -4481,14 +4481,13 @@ const opDeleteMLTransform = "DeleteMLTransform" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMLTransformRequest method. +// req, resp := client.DeleteMLTransformRequest(params) // -// // Example sending a request using the DeleteMLTransformRequest method. -// req, resp := client.DeleteMLTransformRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteMLTransform func (c *Glue) DeleteMLTransformRequest(input *DeleteMLTransformInput) (req *request.Request, output *DeleteMLTransformOutput) { @@ -4524,17 +4523,18 @@ func (c *Glue) DeleteMLTransformRequest(input *DeleteMLTransformInput) (req *req // API operation DeleteMLTransform for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteMLTransform func (c *Glue) DeleteMLTransform(input *DeleteMLTransformInput) (*DeleteMLTransformOutput, error) { @@ -4574,14 +4574,13 @@ const opDeletePartition = "DeletePartition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePartitionRequest method. +// req, resp := client.DeletePartitionRequest(params) // -// // Example sending a request using the DeletePartitionRequest method. -// req, resp := client.DeletePartitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartition func (c *Glue) DeletePartitionRequest(input *DeletePartitionInput) (req *request.Request, output *DeletePartitionOutput) { @@ -4613,17 +4612,18 @@ func (c *Glue) DeletePartitionRequest(input *DeletePartitionInput) (req *request // API operation DeletePartition for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartition func (c *Glue) DeletePartition(input *DeletePartitionInput) (*DeletePartitionOutput, error) { @@ -4663,14 +4663,13 @@ const opDeletePartitionIndex = "DeletePartitionIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePartitionIndexRequest method. +// req, resp := client.DeletePartitionIndexRequest(params) // -// // Example sending a request using the DeletePartitionIndexRequest method. -// req, resp := client.DeletePartitionIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartitionIndex func (c *Glue) DeletePartitionIndexRequest(input *DeletePartitionIndexInput) (req *request.Request, output *DeletePartitionIndexOutput) { @@ -4702,23 +4701,24 @@ func (c *Glue) DeletePartitionIndexRequest(input *DeletePartitionIndexInput) (re // API operation DeletePartitionIndex for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - OperationTimeoutException +// The operation timed out. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. // -// * ConflictException -// The CreatePartitions API was called on a table that has indexes enabled. +// - EntityNotFoundException +// A specified entity does not exist // -// * EncryptionException -// An encryption operation failed. +// - ConflictException +// The CreatePartitions API was called on a table that has indexes enabled. +// +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeletePartitionIndex func (c *Glue) DeletePartitionIndex(input *DeletePartitionIndexInput) (*DeletePartitionIndexOutput, error) { @@ -4758,14 +4758,13 @@ const opDeleteRegistry = "DeleteRegistry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRegistryRequest method. +// req, resp := client.DeleteRegistryRequest(params) // -// // Example sending a request using the DeleteRegistryRequest method. -// req, resp := client.DeleteRegistryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteRegistry func (c *Glue) DeleteRegistryRequest(input *DeleteRegistryInput) (req *request.Request, output *DeleteRegistryOutput) { @@ -4800,17 +4799,18 @@ func (c *Glue) DeleteRegistryRequest(input *DeleteRegistryInput) (req *request.R // API operation DeleteRegistry for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - EntityNotFoundException +// A specified entity does not exist // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - AccessDeniedException +// Access to a resource was denied. +// +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteRegistry func (c *Glue) DeleteRegistry(input *DeleteRegistryInput) (*DeleteRegistryOutput, error) { @@ -4850,14 +4850,13 @@ const opDeleteResourcePolicy = "DeleteResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourcePolicyRequest method. +// req, resp := client.DeleteResourcePolicyRequest(params) // -// // Example sending a request using the DeleteResourcePolicyRequest method. -// req, resp := client.DeleteResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicy func (c *Glue) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { @@ -4889,20 +4888,21 @@ func (c *Glue) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (re // API operation DeleteResourcePolicy for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * ConditionCheckFailureException -// A specified condition was not satisfied. +// - ConditionCheckFailureException +// A specified condition was not satisfied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteResourcePolicy func (c *Glue) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { @@ -4942,14 +4942,13 @@ const opDeleteSchema = "DeleteSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSchemaRequest method. +// req, resp := client.DeleteSchemaRequest(params) // -// // Example sending a request using the DeleteSchemaRequest method. -// req, resp := client.DeleteSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchema func (c *Glue) DeleteSchemaRequest(input *DeleteSchemaInput) (req *request.Request, output *DeleteSchemaOutput) { @@ -4984,17 +4983,18 @@ func (c *Glue) DeleteSchemaRequest(input *DeleteSchemaInput) (req *request.Reque // API operation DeleteSchema for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchema func (c *Glue) DeleteSchema(input *DeleteSchemaInput) (*DeleteSchemaOutput, error) { @@ -5034,14 +5034,13 @@ const opDeleteSchemaVersions = "DeleteSchemaVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSchemaVersionsRequest method. +// req, resp := client.DeleteSchemaVersionsRequest(params) // -// // Example sending a request using the DeleteSchemaVersionsRequest method. -// req, resp := client.DeleteSchemaVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaVersions func (c *Glue) DeleteSchemaVersionsRequest(input *DeleteSchemaVersionsInput) (req *request.Request, output *DeleteSchemaVersionsOutput) { @@ -5088,17 +5087,18 @@ func (c *Glue) DeleteSchemaVersionsRequest(input *DeleteSchemaVersionsInput) (re // API operation DeleteSchemaVersions for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - EntityNotFoundException +// A specified entity does not exist // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - AccessDeniedException +// Access to a resource was denied. +// +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSchemaVersions func (c *Glue) DeleteSchemaVersions(input *DeleteSchemaVersionsInput) (*DeleteSchemaVersionsOutput, error) { @@ -5138,14 +5138,13 @@ const opDeleteSecurityConfiguration = "DeleteSecurityConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSecurityConfigurationRequest method. +// req, resp := client.DeleteSecurityConfigurationRequest(params) // -// // Example sending a request using the DeleteSecurityConfigurationRequest method. -// req, resp := client.DeleteSecurityConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSecurityConfiguration func (c *Glue) DeleteSecurityConfigurationRequest(input *DeleteSecurityConfigurationInput) (req *request.Request, output *DeleteSecurityConfigurationOutput) { @@ -5177,17 +5176,18 @@ func (c *Glue) DeleteSecurityConfigurationRequest(input *DeleteSecurityConfigura // API operation DeleteSecurityConfiguration for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSecurityConfiguration func (c *Glue) DeleteSecurityConfiguration(input *DeleteSecurityConfigurationInput) (*DeleteSecurityConfigurationOutput, error) { @@ -5227,14 +5227,13 @@ const opDeleteSession = "DeleteSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSessionRequest method. +// req, resp := client.DeleteSessionRequest(params) // -// // Example sending a request using the DeleteSessionRequest method. -// req, resp := client.DeleteSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSession func (c *Glue) DeleteSessionRequest(input *DeleteSessionInput) (req *request.Request, output *DeleteSessionOutput) { @@ -5265,23 +5264,24 @@ func (c *Glue) DeleteSessionRequest(input *DeleteSessionInput) (req *request.Req // API operation DeleteSession for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to a resource was denied. // -// * InternalServiceException -// An internal service error occurred. +// - AccessDeniedException +// Access to a resource was denied. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * IllegalSessionStateException -// The session is in an invalid state to perform a requested operation. +// - IllegalSessionStateException +// The session is in an invalid state to perform a requested operation. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteSession func (c *Glue) DeleteSession(input *DeleteSessionInput) (*DeleteSessionOutput, error) { @@ -5321,14 +5321,13 @@ const opDeleteTable = "DeleteTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTableRequest method. +// req, resp := client.DeleteTableRequest(params) // -// // Example sending a request using the DeleteTableRequest method. -// req, resp := client.DeleteTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable func (c *Glue) DeleteTableRequest(input *DeleteTableInput) (req *request.Request, output *DeleteTableOutput) { @@ -5368,23 +5367,24 @@ func (c *Glue) DeleteTableRequest(input *DeleteTableInput) (req *request.Request // API operation DeleteTable for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - OperationTimeoutException +// The operation timed out. // -// * ResourceNotReadyException -// A resource was not ready for a transaction. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. +// +// - ResourceNotReadyException +// A resource was not ready for a transaction. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTable func (c *Glue) DeleteTable(input *DeleteTableInput) (*DeleteTableOutput, error) { @@ -5424,14 +5424,13 @@ const opDeleteTableVersion = "DeleteTableVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTableVersionRequest method. +// req, resp := client.DeleteTableVersionRequest(params) // -// // Example sending a request using the DeleteTableVersionRequest method. -// req, resp := client.DeleteTableVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableVersion func (c *Glue) DeleteTableVersionRequest(input *DeleteTableVersionInput) (req *request.Request, output *DeleteTableVersionOutput) { @@ -5463,17 +5462,18 @@ func (c *Glue) DeleteTableVersionRequest(input *DeleteTableVersionInput) (req *r // API operation DeleteTableVersion for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableVersion func (c *Glue) DeleteTableVersion(input *DeleteTableVersionInput) (*DeleteTableVersionOutput, error) { @@ -5513,14 +5513,13 @@ const opDeleteTrigger = "DeleteTrigger" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTriggerRequest method. +// req, resp := client.DeleteTriggerRequest(params) // -// // Example sending a request using the DeleteTriggerRequest method. -// req, resp := client.DeleteTriggerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTrigger func (c *Glue) DeleteTriggerRequest(input *DeleteTriggerInput) (req *request.Request, output *DeleteTriggerOutput) { @@ -5552,17 +5551,18 @@ func (c *Glue) DeleteTriggerRequest(input *DeleteTriggerInput) (req *request.Req // API operation DeleteTrigger for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTrigger func (c *Glue) DeleteTrigger(input *DeleteTriggerInput) (*DeleteTriggerOutput, error) { @@ -5602,14 +5602,13 @@ const opDeleteUserDefinedFunction = "DeleteUserDefinedFunction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserDefinedFunctionRequest method. +// req, resp := client.DeleteUserDefinedFunctionRequest(params) // -// // Example sending a request using the DeleteUserDefinedFunctionRequest method. -// req, resp := client.DeleteUserDefinedFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunction func (c *Glue) DeleteUserDefinedFunctionRequest(input *DeleteUserDefinedFunctionInput) (req *request.Request, output *DeleteUserDefinedFunctionOutput) { @@ -5641,17 +5640,18 @@ func (c *Glue) DeleteUserDefinedFunctionRequest(input *DeleteUserDefinedFunction // API operation DeleteUserDefinedFunction for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteUserDefinedFunction func (c *Glue) DeleteUserDefinedFunction(input *DeleteUserDefinedFunctionInput) (*DeleteUserDefinedFunctionOutput, error) { @@ -5691,14 +5691,13 @@ const opDeleteWorkflow = "DeleteWorkflow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorkflowRequest method. +// req, resp := client.DeleteWorkflowRequest(params) // -// // Example sending a request using the DeleteWorkflowRequest method. -// req, resp := client.DeleteWorkflowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteWorkflow func (c *Glue) DeleteWorkflowRequest(input *DeleteWorkflowInput) (req *request.Request, output *DeleteWorkflowOutput) { @@ -5729,17 +5728,18 @@ func (c *Glue) DeleteWorkflowRequest(input *DeleteWorkflowInput) (req *request.R // API operation DeleteWorkflow for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteWorkflow func (c *Glue) DeleteWorkflow(input *DeleteWorkflowInput) (*DeleteWorkflowOutput, error) { @@ -5779,14 +5779,13 @@ const opGetBlueprint = "GetBlueprint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBlueprintRequest method. +// req, resp := client.GetBlueprintRequest(params) // -// // Example sending a request using the GetBlueprintRequest method. -// req, resp := client.GetBlueprintRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetBlueprint func (c *Glue) GetBlueprintRequest(input *GetBlueprintInput) (req *request.Request, output *GetBlueprintOutput) { @@ -5817,17 +5816,18 @@ func (c *Glue) GetBlueprintRequest(input *GetBlueprintInput) (req *request.Reque // API operation GetBlueprint for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetBlueprint func (c *Glue) GetBlueprint(input *GetBlueprintInput) (*GetBlueprintOutput, error) { @@ -5867,14 +5867,13 @@ const opGetBlueprintRun = "GetBlueprintRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBlueprintRunRequest method. +// req, resp := client.GetBlueprintRunRequest(params) // -// // Example sending a request using the GetBlueprintRunRequest method. -// req, resp := client.GetBlueprintRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetBlueprintRun func (c *Glue) GetBlueprintRunRequest(input *GetBlueprintRunInput) (req *request.Request, output *GetBlueprintRunOutput) { @@ -5905,14 +5904,15 @@ func (c *Glue) GetBlueprintRunRequest(input *GetBlueprintRunInput) (req *request // API operation GetBlueprintRun for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetBlueprintRun func (c *Glue) GetBlueprintRun(input *GetBlueprintRunInput) (*GetBlueprintRunOutput, error) { @@ -5952,14 +5952,13 @@ const opGetBlueprintRuns = "GetBlueprintRuns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBlueprintRunsRequest method. +// req, resp := client.GetBlueprintRunsRequest(params) // -// // Example sending a request using the GetBlueprintRunsRequest method. -// req, resp := client.GetBlueprintRunsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetBlueprintRuns func (c *Glue) GetBlueprintRunsRequest(input *GetBlueprintRunsInput) (req *request.Request, output *GetBlueprintRunsOutput) { @@ -5996,17 +5995,18 @@ func (c *Glue) GetBlueprintRunsRequest(input *GetBlueprintRunsInput) (req *reque // API operation GetBlueprintRuns for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetBlueprintRuns func (c *Glue) GetBlueprintRuns(input *GetBlueprintRunsInput) (*GetBlueprintRunsOutput, error) { @@ -6038,15 +6038,14 @@ func (c *Glue) GetBlueprintRunsWithContext(ctx aws.Context, input *GetBlueprintR // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetBlueprintRuns operation. -// pageNum := 0 -// err := client.GetBlueprintRunsPages(params, -// func(page *glue.GetBlueprintRunsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetBlueprintRuns operation. +// pageNum := 0 +// err := client.GetBlueprintRunsPages(params, +// func(page *glue.GetBlueprintRunsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetBlueprintRunsPages(input *GetBlueprintRunsInput, fn func(*GetBlueprintRunsOutput, bool) bool) error { return c.GetBlueprintRunsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6098,14 +6097,13 @@ const opGetCatalogImportStatus = "GetCatalogImportStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCatalogImportStatusRequest method. +// req, resp := client.GetCatalogImportStatusRequest(params) // -// // Example sending a request using the GetCatalogImportStatusRequest method. -// req, resp := client.GetCatalogImportStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatus func (c *Glue) GetCatalogImportStatusRequest(input *GetCatalogImportStatusInput) (req *request.Request, output *GetCatalogImportStatusOutput) { @@ -6136,11 +6134,12 @@ func (c *Glue) GetCatalogImportStatusRequest(input *GetCatalogImportStatusInput) // API operation GetCatalogImportStatus for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCatalogImportStatus func (c *Glue) GetCatalogImportStatus(input *GetCatalogImportStatusInput) (*GetCatalogImportStatusOutput, error) { @@ -6180,14 +6179,13 @@ const opGetClassifier = "GetClassifier" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetClassifierRequest method. +// req, resp := client.GetClassifierRequest(params) // -// // Example sending a request using the GetClassifierRequest method. -// req, resp := client.GetClassifierRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier func (c *Glue) GetClassifierRequest(input *GetClassifierInput) (req *request.Request, output *GetClassifierOutput) { @@ -6218,11 +6216,12 @@ func (c *Glue) GetClassifierRequest(input *GetClassifierInput) (req *request.Req // API operation GetClassifier for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - EntityNotFoundException +// A specified entity does not exist +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifier func (c *Glue) GetClassifier(input *GetClassifierInput) (*GetClassifierOutput, error) { @@ -6262,14 +6261,13 @@ const opGetClassifiers = "GetClassifiers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetClassifiersRequest method. +// req, resp := client.GetClassifiersRequest(params) // -// // Example sending a request using the GetClassifiersRequest method. -// req, resp := client.GetClassifiersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers func (c *Glue) GetClassifiersRequest(input *GetClassifiersInput) (req *request.Request, output *GetClassifiersOutput) { @@ -6306,8 +6304,8 @@ func (c *Glue) GetClassifiersRequest(input *GetClassifiersInput) (req *request.R // API operation GetClassifiers for usage and error information. // // Returned Error Types: -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetClassifiers func (c *Glue) GetClassifiers(input *GetClassifiersInput) (*GetClassifiersOutput, error) { @@ -6339,15 +6337,14 @@ func (c *Glue) GetClassifiersWithContext(ctx aws.Context, input *GetClassifiersI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetClassifiers operation. -// pageNum := 0 -// err := client.GetClassifiersPages(params, -// func(page *glue.GetClassifiersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetClassifiers operation. +// pageNum := 0 +// err := client.GetClassifiersPages(params, +// func(page *glue.GetClassifiersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetClassifiersPages(input *GetClassifiersInput, fn func(*GetClassifiersOutput, bool) bool) error { return c.GetClassifiersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6399,14 +6396,13 @@ const opGetColumnStatisticsForPartition = "GetColumnStatisticsForPartition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetColumnStatisticsForPartitionRequest method. +// req, resp := client.GetColumnStatisticsForPartitionRequest(params) // -// // Example sending a request using the GetColumnStatisticsForPartitionRequest method. -// req, resp := client.GetColumnStatisticsForPartitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForPartition func (c *Glue) GetColumnStatisticsForPartitionRequest(input *GetColumnStatisticsForPartitionInput) (req *request.Request, output *GetColumnStatisticsForPartitionOutput) { @@ -6440,20 +6436,21 @@ func (c *Glue) GetColumnStatisticsForPartitionRequest(input *GetColumnStatistics // API operation GetColumnStatisticsForPartition for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForPartition func (c *Glue) GetColumnStatisticsForPartition(input *GetColumnStatisticsForPartitionInput) (*GetColumnStatisticsForPartitionOutput, error) { @@ -6493,14 +6490,13 @@ const opGetColumnStatisticsForTable = "GetColumnStatisticsForTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetColumnStatisticsForTableRequest method. +// req, resp := client.GetColumnStatisticsForTableRequest(params) // -// // Example sending a request using the GetColumnStatisticsForTableRequest method. -// req, resp := client.GetColumnStatisticsForTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForTable func (c *Glue) GetColumnStatisticsForTableRequest(input *GetColumnStatisticsForTableInput) (req *request.Request, output *GetColumnStatisticsForTableOutput) { @@ -6534,20 +6530,21 @@ func (c *Glue) GetColumnStatisticsForTableRequest(input *GetColumnStatisticsForT // API operation GetColumnStatisticsForTable for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * EncryptionException -// An encryption operation failed. +// - OperationTimeoutException +// The operation timed out. +// +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetColumnStatisticsForTable func (c *Glue) GetColumnStatisticsForTable(input *GetColumnStatisticsForTableInput) (*GetColumnStatisticsForTableOutput, error) { @@ -6587,14 +6584,13 @@ const opGetConnection = "GetConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConnectionRequest method. +// req, resp := client.GetConnectionRequest(params) // -// // Example sending a request using the GetConnectionRequest method. -// req, resp := client.GetConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnection func (c *Glue) GetConnectionRequest(input *GetConnectionInput) (req *request.Request, output *GetConnectionOutput) { @@ -6625,17 +6621,18 @@ func (c *Glue) GetConnectionRequest(input *GetConnectionInput) (req *request.Req // API operation GetConnection for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - EntityNotFoundException +// A specified entity does not exist +// +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnection func (c *Glue) GetConnection(input *GetConnectionInput) (*GetConnectionOutput, error) { @@ -6675,14 +6672,13 @@ const opGetConnections = "GetConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConnectionsRequest method. +// req, resp := client.GetConnectionsRequest(params) // -// // Example sending a request using the GetConnectionsRequest method. -// req, resp := client.GetConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnections func (c *Glue) GetConnectionsRequest(input *GetConnectionsInput) (req *request.Request, output *GetConnectionsOutput) { @@ -6719,17 +6715,18 @@ func (c *Glue) GetConnectionsRequest(input *GetConnectionsInput) (req *request.R // API operation GetConnections for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - EntityNotFoundException +// A specified entity does not exist +// +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetConnections func (c *Glue) GetConnections(input *GetConnectionsInput) (*GetConnectionsOutput, error) { @@ -6761,15 +6758,14 @@ func (c *Glue) GetConnectionsWithContext(ctx aws.Context, input *GetConnectionsI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetConnections operation. -// pageNum := 0 -// err := client.GetConnectionsPages(params, -// func(page *glue.GetConnectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetConnections operation. +// pageNum := 0 +// err := client.GetConnectionsPages(params, +// func(page *glue.GetConnectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetConnectionsPages(input *GetConnectionsInput, fn func(*GetConnectionsOutput, bool) bool) error { return c.GetConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6821,14 +6817,13 @@ const opGetCrawler = "GetCrawler" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCrawlerRequest method. +// req, resp := client.GetCrawlerRequest(params) // -// // Example sending a request using the GetCrawlerRequest method. -// req, resp := client.GetCrawlerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler func (c *Glue) GetCrawlerRequest(input *GetCrawlerInput) (req *request.Request, output *GetCrawlerOutput) { @@ -6859,11 +6854,12 @@ func (c *Glue) GetCrawlerRequest(input *GetCrawlerInput) (req *request.Request, // API operation GetCrawler for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - EntityNotFoundException +// A specified entity does not exist +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawler func (c *Glue) GetCrawler(input *GetCrawlerInput) (*GetCrawlerOutput, error) { @@ -6903,14 +6899,13 @@ const opGetCrawlerMetrics = "GetCrawlerMetrics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCrawlerMetricsRequest method. +// req, resp := client.GetCrawlerMetricsRequest(params) // -// // Example sending a request using the GetCrawlerMetricsRequest method. -// req, resp := client.GetCrawlerMetricsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetrics func (c *Glue) GetCrawlerMetricsRequest(input *GetCrawlerMetricsInput) (req *request.Request, output *GetCrawlerMetricsOutput) { @@ -6947,8 +6942,8 @@ func (c *Glue) GetCrawlerMetricsRequest(input *GetCrawlerMetricsInput) (req *req // API operation GetCrawlerMetrics for usage and error information. // // Returned Error Types: -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlerMetrics func (c *Glue) GetCrawlerMetrics(input *GetCrawlerMetricsInput) (*GetCrawlerMetricsOutput, error) { @@ -6980,15 +6975,14 @@ func (c *Glue) GetCrawlerMetricsWithContext(ctx aws.Context, input *GetCrawlerMe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetCrawlerMetrics operation. -// pageNum := 0 -// err := client.GetCrawlerMetricsPages(params, -// func(page *glue.GetCrawlerMetricsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetCrawlerMetrics operation. +// pageNum := 0 +// err := client.GetCrawlerMetricsPages(params, +// func(page *glue.GetCrawlerMetricsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetCrawlerMetricsPages(input *GetCrawlerMetricsInput, fn func(*GetCrawlerMetricsOutput, bool) bool) error { return c.GetCrawlerMetricsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7040,14 +7034,13 @@ const opGetCrawlers = "GetCrawlers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCrawlersRequest method. +// req, resp := client.GetCrawlersRequest(params) // -// // Example sending a request using the GetCrawlersRequest method. -// req, resp := client.GetCrawlersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers func (c *Glue) GetCrawlersRequest(input *GetCrawlersInput) (req *request.Request, output *GetCrawlersOutput) { @@ -7084,8 +7077,8 @@ func (c *Glue) GetCrawlersRequest(input *GetCrawlersInput) (req *request.Request // API operation GetCrawlers for usage and error information. // // Returned Error Types: -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCrawlers func (c *Glue) GetCrawlers(input *GetCrawlersInput) (*GetCrawlersOutput, error) { @@ -7117,15 +7110,14 @@ func (c *Glue) GetCrawlersWithContext(ctx aws.Context, input *GetCrawlersInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetCrawlers operation. -// pageNum := 0 -// err := client.GetCrawlersPages(params, -// func(page *glue.GetCrawlersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetCrawlers operation. +// pageNum := 0 +// err := client.GetCrawlersPages(params, +// func(page *glue.GetCrawlersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetCrawlersPages(input *GetCrawlersInput, fn func(*GetCrawlersOutput, bool) bool) error { return c.GetCrawlersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7177,14 +7169,13 @@ const opGetCustomEntityType = "GetCustomEntityType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCustomEntityTypeRequest method. +// req, resp := client.GetCustomEntityTypeRequest(params) // -// // Example sending a request using the GetCustomEntityTypeRequest method. -// req, resp := client.GetCustomEntityTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCustomEntityType func (c *Glue) GetCustomEntityTypeRequest(input *GetCustomEntityTypeInput) (req *request.Request, output *GetCustomEntityTypeOutput) { @@ -7215,20 +7206,21 @@ func (c *Glue) GetCustomEntityTypeRequest(input *GetCustomEntityTypeInput) (req // API operation GetCustomEntityType for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * AccessDeniedException -// Access to a resource was denied. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - AccessDeniedException +// Access to a resource was denied. // -// * InvalidInputException -// The input provided was not valid. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetCustomEntityType func (c *Glue) GetCustomEntityType(input *GetCustomEntityTypeInput) (*GetCustomEntityTypeOutput, error) { @@ -7268,14 +7260,13 @@ const opGetDataCatalogEncryptionSettings = "GetDataCatalogEncryptionSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDataCatalogEncryptionSettingsRequest method. +// req, resp := client.GetDataCatalogEncryptionSettingsRequest(params) // -// // Example sending a request using the GetDataCatalogEncryptionSettingsRequest method. -// req, resp := client.GetDataCatalogEncryptionSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataCatalogEncryptionSettings func (c *Glue) GetDataCatalogEncryptionSettingsRequest(input *GetDataCatalogEncryptionSettingsInput) (req *request.Request, output *GetDataCatalogEncryptionSettingsOutput) { @@ -7306,14 +7297,15 @@ func (c *Glue) GetDataCatalogEncryptionSettingsRequest(input *GetDataCatalogEncr // API operation GetDataCatalogEncryptionSettings for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InternalServiceException +// An internal service error occurred. +// +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataCatalogEncryptionSettings func (c *Glue) GetDataCatalogEncryptionSettings(input *GetDataCatalogEncryptionSettingsInput) (*GetDataCatalogEncryptionSettingsOutput, error) { @@ -7353,14 +7345,13 @@ const opGetDatabase = "GetDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDatabaseRequest method. +// req, resp := client.GetDatabaseRequest(params) // -// // Example sending a request using the GetDatabaseRequest method. -// req, resp := client.GetDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase func (c *Glue) GetDatabaseRequest(input *GetDatabaseInput) (req *request.Request, output *GetDatabaseOutput) { @@ -7391,20 +7382,21 @@ func (c *Glue) GetDatabaseRequest(input *GetDatabaseInput) (req *request.Request // API operation GetDatabase for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabase func (c *Glue) GetDatabase(input *GetDatabaseInput) (*GetDatabaseOutput, error) { @@ -7444,14 +7436,13 @@ const opGetDatabases = "GetDatabases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDatabasesRequest method. +// req, resp := client.GetDatabasesRequest(params) // -// // Example sending a request using the GetDatabasesRequest method. -// req, resp := client.GetDatabasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases func (c *Glue) GetDatabasesRequest(input *GetDatabasesInput) (req *request.Request, output *GetDatabasesOutput) { @@ -7488,17 +7479,18 @@ func (c *Glue) GetDatabasesRequest(input *GetDatabasesInput) (req *request.Reque // API operation GetDatabases for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * EncryptionException -// An encryption operation failed. +// - OperationTimeoutException +// The operation timed out. +// +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDatabases func (c *Glue) GetDatabases(input *GetDatabasesInput) (*GetDatabasesOutput, error) { @@ -7530,15 +7522,14 @@ func (c *Glue) GetDatabasesWithContext(ctx aws.Context, input *GetDatabasesInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetDatabases operation. -// pageNum := 0 -// err := client.GetDatabasesPages(params, -// func(page *glue.GetDatabasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetDatabases operation. +// pageNum := 0 +// err := client.GetDatabasesPages(params, +// func(page *glue.GetDatabasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetDatabasesPages(input *GetDatabasesInput, fn func(*GetDatabasesOutput, bool) bool) error { return c.GetDatabasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7590,14 +7581,13 @@ const opGetDataflowGraph = "GetDataflowGraph" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDataflowGraphRequest method. +// req, resp := client.GetDataflowGraphRequest(params) // -// // Example sending a request using the GetDataflowGraphRequest method. -// req, resp := client.GetDataflowGraphRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraph func (c *Glue) GetDataflowGraphRequest(input *GetDataflowGraphInput) (req *request.Request, output *GetDataflowGraphOutput) { @@ -7628,14 +7618,15 @@ func (c *Glue) GetDataflowGraphRequest(input *GetDataflowGraphInput) (req *reque // API operation GetDataflowGraph for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataflowGraph func (c *Glue) GetDataflowGraph(input *GetDataflowGraphInput) (*GetDataflowGraphOutput, error) { @@ -7675,14 +7666,13 @@ const opGetDevEndpoint = "GetDevEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDevEndpointRequest method. +// req, resp := client.GetDevEndpointRequest(params) // -// // Example sending a request using the GetDevEndpointRequest method. -// req, resp := client.GetDevEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoint func (c *Glue) GetDevEndpointRequest(input *GetDevEndpointInput) (req *request.Request, output *GetDevEndpointOutput) { @@ -7718,17 +7708,18 @@ func (c *Glue) GetDevEndpointRequest(input *GetDevEndpointInput) (req *request.R // API operation GetDevEndpoint for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoint func (c *Glue) GetDevEndpoint(input *GetDevEndpointInput) (*GetDevEndpointOutput, error) { @@ -7768,14 +7759,13 @@ const opGetDevEndpoints = "GetDevEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDevEndpointsRequest method. +// req, resp := client.GetDevEndpointsRequest(params) // -// // Example sending a request using the GetDevEndpointsRequest method. -// req, resp := client.GetDevEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoints func (c *Glue) GetDevEndpointsRequest(input *GetDevEndpointsInput) (req *request.Request, output *GetDevEndpointsOutput) { @@ -7817,17 +7807,18 @@ func (c *Glue) GetDevEndpointsRequest(input *GetDevEndpointsInput) (req *request // API operation GetDevEndpoints for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDevEndpoints func (c *Glue) GetDevEndpoints(input *GetDevEndpointsInput) (*GetDevEndpointsOutput, error) { @@ -7859,15 +7850,14 @@ func (c *Glue) GetDevEndpointsWithContext(ctx aws.Context, input *GetDevEndpoint // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetDevEndpoints operation. -// pageNum := 0 -// err := client.GetDevEndpointsPages(params, -// func(page *glue.GetDevEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetDevEndpoints operation. +// pageNum := 0 +// err := client.GetDevEndpointsPages(params, +// func(page *glue.GetDevEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetDevEndpointsPages(input *GetDevEndpointsInput, fn func(*GetDevEndpointsOutput, bool) bool) error { return c.GetDevEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7919,14 +7909,13 @@ const opGetJob = "GetJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobRequest method. +// req, resp := client.GetJobRequest(params) // -// // Example sending a request using the GetJobRequest method. -// req, resp := client.GetJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob func (c *Glue) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput) { @@ -7957,17 +7946,18 @@ func (c *Glue) GetJobRequest(input *GetJobInput) (req *request.Request, output * // API operation GetJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJob func (c *Glue) GetJob(input *GetJobInput) (*GetJobOutput, error) { @@ -8007,14 +7997,13 @@ const opGetJobBookmark = "GetJobBookmark" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobBookmarkRequest method. +// req, resp := client.GetJobBookmarkRequest(params) // -// // Example sending a request using the GetJobBookmarkRequest method. -// req, resp := client.GetJobBookmarkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmark func (c *Glue) GetJobBookmarkRequest(input *GetJobBookmarkInput) (req *request.Request, output *GetJobBookmarkOutput) { @@ -8045,20 +8034,21 @@ func (c *Glue) GetJobBookmarkRequest(input *GetJobBookmarkInput) (req *request.R // API operation GetJobBookmark for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * ValidationException -// A value could not be validated. +// - OperationTimeoutException +// The operation timed out. +// +// - ValidationException +// A value could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobBookmark func (c *Glue) GetJobBookmark(input *GetJobBookmarkInput) (*GetJobBookmarkOutput, error) { @@ -8098,14 +8088,13 @@ const opGetJobRun = "GetJobRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobRunRequest method. +// req, resp := client.GetJobRunRequest(params) // -// // Example sending a request using the GetJobRunRequest method. -// req, resp := client.GetJobRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun func (c *Glue) GetJobRunRequest(input *GetJobRunInput) (req *request.Request, output *GetJobRunOutput) { @@ -8136,17 +8125,18 @@ func (c *Glue) GetJobRunRequest(input *GetJobRunInput) (req *request.Request, ou // API operation GetJobRun for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRun func (c *Glue) GetJobRun(input *GetJobRunInput) (*GetJobRunOutput, error) { @@ -8186,14 +8176,13 @@ const opGetJobRuns = "GetJobRuns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobRunsRequest method. +// req, resp := client.GetJobRunsRequest(params) // -// // Example sending a request using the GetJobRunsRequest method. -// req, resp := client.GetJobRunsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns func (c *Glue) GetJobRunsRequest(input *GetJobRunsInput) (req *request.Request, output *GetJobRunsOutput) { @@ -8230,17 +8219,18 @@ func (c *Glue) GetJobRunsRequest(input *GetJobRunsInput) (req *request.Request, // API operation GetJobRuns for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobRuns func (c *Glue) GetJobRuns(input *GetJobRunsInput) (*GetJobRunsOutput, error) { @@ -8272,15 +8262,14 @@ func (c *Glue) GetJobRunsWithContext(ctx aws.Context, input *GetJobRunsInput, op // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetJobRuns operation. -// pageNum := 0 -// err := client.GetJobRunsPages(params, -// func(page *glue.GetJobRunsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetJobRuns operation. +// pageNum := 0 +// err := client.GetJobRunsPages(params, +// func(page *glue.GetJobRunsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetJobRunsPages(input *GetJobRunsInput, fn func(*GetJobRunsOutput, bool) bool) error { return c.GetJobRunsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8332,14 +8321,13 @@ const opGetJobs = "GetJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobsRequest method. +// req, resp := client.GetJobsRequest(params) // -// // Example sending a request using the GetJobsRequest method. -// req, resp := client.GetJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs func (c *Glue) GetJobsRequest(input *GetJobsInput) (req *request.Request, output *GetJobsOutput) { @@ -8376,17 +8364,18 @@ func (c *Glue) GetJobsRequest(input *GetJobsInput) (req *request.Request, output // API operation GetJobs for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetJobs func (c *Glue) GetJobs(input *GetJobsInput) (*GetJobsOutput, error) { @@ -8418,15 +8407,14 @@ func (c *Glue) GetJobsWithContext(ctx aws.Context, input *GetJobsInput, opts ... // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetJobs operation. -// pageNum := 0 -// err := client.GetJobsPages(params, -// func(page *glue.GetJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetJobs operation. +// pageNum := 0 +// err := client.GetJobsPages(params, +// func(page *glue.GetJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetJobsPages(input *GetJobsInput, fn func(*GetJobsOutput, bool) bool) error { return c.GetJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8478,14 +8466,13 @@ const opGetMLTaskRun = "GetMLTaskRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMLTaskRunRequest method. +// req, resp := client.GetMLTaskRunRequest(params) // -// // Example sending a request using the GetMLTaskRunRequest method. -// req, resp := client.GetMLTaskRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRun func (c *Glue) GetMLTaskRunRequest(input *GetMLTaskRunInput) (req *request.Request, output *GetMLTaskRunOutput) { @@ -8520,17 +8507,18 @@ func (c *Glue) GetMLTaskRunRequest(input *GetMLTaskRunInput) (req *request.Reque // API operation GetMLTaskRun for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRun func (c *Glue) GetMLTaskRun(input *GetMLTaskRunInput) (*GetMLTaskRunOutput, error) { @@ -8570,14 +8558,13 @@ const opGetMLTaskRuns = "GetMLTaskRuns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMLTaskRunsRequest method. +// req, resp := client.GetMLTaskRunsRequest(params) // -// // Example sending a request using the GetMLTaskRunsRequest method. -// req, resp := client.GetMLTaskRunsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRuns func (c *Glue) GetMLTaskRunsRequest(input *GetMLTaskRunsInput) (req *request.Request, output *GetMLTaskRunsOutput) { @@ -8620,17 +8607,18 @@ func (c *Glue) GetMLTaskRunsRequest(input *GetMLTaskRunsInput) (req *request.Req // API operation GetMLTaskRuns for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - OperationTimeoutException +// The operation timed out. +// +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTaskRuns func (c *Glue) GetMLTaskRuns(input *GetMLTaskRunsInput) (*GetMLTaskRunsOutput, error) { @@ -8662,15 +8650,14 @@ func (c *Glue) GetMLTaskRunsWithContext(ctx aws.Context, input *GetMLTaskRunsInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetMLTaskRuns operation. -// pageNum := 0 -// err := client.GetMLTaskRunsPages(params, -// func(page *glue.GetMLTaskRunsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetMLTaskRuns operation. +// pageNum := 0 +// err := client.GetMLTaskRunsPages(params, +// func(page *glue.GetMLTaskRunsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetMLTaskRunsPages(input *GetMLTaskRunsInput, fn func(*GetMLTaskRunsOutput, bool) bool) error { return c.GetMLTaskRunsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8722,14 +8709,13 @@ const opGetMLTransform = "GetMLTransform" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMLTransformRequest method. +// req, resp := client.GetMLTransformRequest(params) // -// // Example sending a request using the GetMLTransformRequest method. -// req, resp := client.GetMLTransformRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransform func (c *Glue) GetMLTransformRequest(input *GetMLTransformInput) (req *request.Request, output *GetMLTransformOutput) { @@ -8764,17 +8750,18 @@ func (c *Glue) GetMLTransformRequest(input *GetMLTransformInput) (req *request.R // API operation GetMLTransform for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - OperationTimeoutException +// The operation timed out. +// +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransform func (c *Glue) GetMLTransform(input *GetMLTransformInput) (*GetMLTransformOutput, error) { @@ -8814,14 +8801,13 @@ const opGetMLTransforms = "GetMLTransforms" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMLTransformsRequest method. +// req, resp := client.GetMLTransformsRequest(params) // -// // Example sending a request using the GetMLTransformsRequest method. -// req, resp := client.GetMLTransformsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransforms func (c *Glue) GetMLTransformsRequest(input *GetMLTransformsInput) (req *request.Request, output *GetMLTransformsOutput) { @@ -8862,17 +8848,18 @@ func (c *Glue) GetMLTransformsRequest(input *GetMLTransformsInput) (req *request // API operation GetMLTransforms for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMLTransforms func (c *Glue) GetMLTransforms(input *GetMLTransformsInput) (*GetMLTransformsOutput, error) { @@ -8904,15 +8891,14 @@ func (c *Glue) GetMLTransformsWithContext(ctx aws.Context, input *GetMLTransform // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetMLTransforms operation. -// pageNum := 0 -// err := client.GetMLTransformsPages(params, -// func(page *glue.GetMLTransformsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetMLTransforms operation. +// pageNum := 0 +// err := client.GetMLTransformsPages(params, +// func(page *glue.GetMLTransformsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetMLTransformsPages(input *GetMLTransformsInput, fn func(*GetMLTransformsOutput, bool) bool) error { return c.GetMLTransformsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8964,14 +8950,13 @@ const opGetMapping = "GetMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMappingRequest method. +// req, resp := client.GetMappingRequest(params) // -// // Example sending a request using the GetMappingRequest method. -// req, resp := client.GetMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMapping func (c *Glue) GetMappingRequest(input *GetMappingInput) (req *request.Request, output *GetMappingOutput) { @@ -9002,17 +8987,18 @@ func (c *Glue) GetMappingRequest(input *GetMappingInput) (req *request.Request, // API operation GetMapping for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetMapping func (c *Glue) GetMapping(input *GetMappingInput) (*GetMappingOutput, error) { @@ -9052,14 +9038,13 @@ const opGetPartition = "GetPartition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPartitionRequest method. +// req, resp := client.GetPartitionRequest(params) // -// // Example sending a request using the GetPartitionRequest method. -// req, resp := client.GetPartitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition func (c *Glue) GetPartitionRequest(input *GetPartitionInput) (req *request.Request, output *GetPartitionOutput) { @@ -9090,20 +9075,21 @@ func (c *Glue) GetPartitionRequest(input *GetPartitionInput) (req *request.Reque // API operation GetPartition for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartition func (c *Glue) GetPartition(input *GetPartitionInput) (*GetPartitionOutput, error) { @@ -9143,14 +9129,13 @@ const opGetPartitionIndexes = "GetPartitionIndexes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPartitionIndexesRequest method. +// req, resp := client.GetPartitionIndexesRequest(params) // -// // Example sending a request using the GetPartitionIndexesRequest method. -// req, resp := client.GetPartitionIndexesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionIndexes func (c *Glue) GetPartitionIndexesRequest(input *GetPartitionIndexesInput) (req *request.Request, output *GetPartitionIndexesOutput) { @@ -9187,20 +9172,21 @@ func (c *Glue) GetPartitionIndexesRequest(input *GetPartitionIndexesInput) (req // API operation GetPartitionIndexes for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - OperationTimeoutException +// The operation timed out. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. // -// * ConflictException -// The CreatePartitions API was called on a table that has indexes enabled. +// - EntityNotFoundException +// A specified entity does not exist +// +// - ConflictException +// The CreatePartitions API was called on a table that has indexes enabled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitionIndexes func (c *Glue) GetPartitionIndexes(input *GetPartitionIndexesInput) (*GetPartitionIndexesOutput, error) { @@ -9232,15 +9218,14 @@ func (c *Glue) GetPartitionIndexesWithContext(ctx aws.Context, input *GetPartiti // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetPartitionIndexes operation. -// pageNum := 0 -// err := client.GetPartitionIndexesPages(params, -// func(page *glue.GetPartitionIndexesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetPartitionIndexes operation. +// pageNum := 0 +// err := client.GetPartitionIndexesPages(params, +// func(page *glue.GetPartitionIndexesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetPartitionIndexesPages(input *GetPartitionIndexesInput, fn func(*GetPartitionIndexesOutput, bool) bool) error { return c.GetPartitionIndexesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9292,14 +9277,13 @@ const opGetPartitions = "GetPartitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPartitionsRequest method. +// req, resp := client.GetPartitionsRequest(params) // -// // Example sending a request using the GetPartitionsRequest method. -// req, resp := client.GetPartitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions func (c *Glue) GetPartitionsRequest(input *GetPartitionsInput) (req *request.Request, output *GetPartitionsOutput) { @@ -9336,26 +9320,27 @@ func (c *Glue) GetPartitionsRequest(input *GetPartitionsInput) (req *request.Req // API operation GetPartitions for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - InternalServiceException +// An internal service error occurred. // -// * InvalidStateException -// An error that indicates your data is in an invalid state. +// - EncryptionException +// An encryption operation failed. // -// * ResourceNotReadyException -// A resource was not ready for a transaction. +// - InvalidStateException +// An error that indicates your data is in an invalid state. +// +// - ResourceNotReadyException +// A resource was not ready for a transaction. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPartitions func (c *Glue) GetPartitions(input *GetPartitionsInput) (*GetPartitionsOutput, error) { @@ -9387,15 +9372,14 @@ func (c *Glue) GetPartitionsWithContext(ctx aws.Context, input *GetPartitionsInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetPartitions operation. -// pageNum := 0 -// err := client.GetPartitionsPages(params, -// func(page *glue.GetPartitionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetPartitions operation. +// pageNum := 0 +// err := client.GetPartitionsPages(params, +// func(page *glue.GetPartitionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetPartitionsPages(input *GetPartitionsInput, fn func(*GetPartitionsOutput, bool) bool) error { return c.GetPartitionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9447,14 +9431,13 @@ const opGetPlan = "GetPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPlanRequest method. +// req, resp := client.GetPlanRequest(params) // -// // Example sending a request using the GetPlanRequest method. -// req, resp := client.GetPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlan func (c *Glue) GetPlanRequest(input *GetPlanInput) (req *request.Request, output *GetPlanOutput) { @@ -9485,14 +9468,15 @@ func (c *Glue) GetPlanRequest(input *GetPlanInput) (req *request.Request, output // API operation GetPlan for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetPlan func (c *Glue) GetPlan(input *GetPlanInput) (*GetPlanOutput, error) { @@ -9532,14 +9516,13 @@ const opGetRegistry = "GetRegistry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRegistryRequest method. +// req, resp := client.GetRegistryRequest(params) // -// // Example sending a request using the GetRegistryRequest method. -// req, resp := client.GetRegistryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetRegistry func (c *Glue) GetRegistryRequest(input *GetRegistryInput) (req *request.Request, output *GetRegistryOutput) { @@ -9570,17 +9553,18 @@ func (c *Glue) GetRegistryRequest(input *GetRegistryInput) (req *request.Request // API operation GetRegistry for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. +// +// - AccessDeniedException +// Access to a resource was denied. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetRegistry func (c *Glue) GetRegistry(input *GetRegistryInput) (*GetRegistryOutput, error) { @@ -9620,14 +9604,13 @@ const opGetResourcePolicies = "GetResourcePolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourcePoliciesRequest method. +// req, resp := client.GetResourcePoliciesRequest(params) // -// // Example sending a request using the GetResourcePoliciesRequest method. -// req, resp := client.GetResourcePoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicies func (c *Glue) GetResourcePoliciesRequest(input *GetResourcePoliciesInput) (req *request.Request, output *GetResourcePoliciesOutput) { @@ -9670,17 +9653,18 @@ func (c *Glue) GetResourcePoliciesRequest(input *GetResourcePoliciesInput) (req // API operation GetResourcePolicies for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - InvalidInputException +// The input provided was not valid. +// +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicies func (c *Glue) GetResourcePolicies(input *GetResourcePoliciesInput) (*GetResourcePoliciesOutput, error) { @@ -9712,15 +9696,14 @@ func (c *Glue) GetResourcePoliciesWithContext(ctx aws.Context, input *GetResourc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetResourcePolicies operation. -// pageNum := 0 -// err := client.GetResourcePoliciesPages(params, -// func(page *glue.GetResourcePoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetResourcePolicies operation. +// pageNum := 0 +// err := client.GetResourcePoliciesPages(params, +// func(page *glue.GetResourcePoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetResourcePoliciesPages(input *GetResourcePoliciesInput, fn func(*GetResourcePoliciesOutput, bool) bool) error { return c.GetResourcePoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9772,14 +9755,13 @@ const opGetResourcePolicy = "GetResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourcePolicyRequest method. +// req, resp := client.GetResourcePolicyRequest(params) // -// // Example sending a request using the GetResourcePolicyRequest method. -// req, resp := client.GetResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicy func (c *Glue) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput) { @@ -9810,17 +9792,18 @@ func (c *Glue) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *req // API operation GetResourcePolicy for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - OperationTimeoutException +// The operation timed out. +// +// - InvalidInputException +// The input provided was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetResourcePolicy func (c *Glue) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error) { @@ -9860,14 +9843,13 @@ const opGetSchema = "GetSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSchemaRequest method. +// req, resp := client.GetSchemaRequest(params) // -// // Example sending a request using the GetSchemaRequest method. -// req, resp := client.GetSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchema func (c *Glue) GetSchemaRequest(input *GetSchemaInput) (req *request.Request, output *GetSchemaOutput) { @@ -9898,17 +9880,18 @@ func (c *Glue) GetSchemaRequest(input *GetSchemaInput) (req *request.Request, ou // API operation GetSchema for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. +// +// - AccessDeniedException +// Access to a resource was denied. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchema func (c *Glue) GetSchema(input *GetSchemaInput) (*GetSchemaOutput, error) { @@ -9948,14 +9931,13 @@ const opGetSchemaByDefinition = "GetSchemaByDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSchemaByDefinitionRequest method. +// req, resp := client.GetSchemaByDefinitionRequest(params) // -// // Example sending a request using the GetSchemaByDefinitionRequest method. -// req, resp := client.GetSchemaByDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaByDefinition func (c *Glue) GetSchemaByDefinitionRequest(input *GetSchemaByDefinitionInput) (req *request.Request, output *GetSchemaByDefinitionOutput) { @@ -9991,17 +9973,18 @@ func (c *Glue) GetSchemaByDefinitionRequest(input *GetSchemaByDefinitionInput) ( // API operation GetSchemaByDefinition for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. +// +// - AccessDeniedException +// Access to a resource was denied. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaByDefinition func (c *Glue) GetSchemaByDefinition(input *GetSchemaByDefinitionInput) (*GetSchemaByDefinitionOutput, error) { @@ -10041,14 +10024,13 @@ const opGetSchemaVersion = "GetSchemaVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSchemaVersionRequest method. +// req, resp := client.GetSchemaVersionRequest(params) // -// // Example sending a request using the GetSchemaVersionRequest method. -// req, resp := client.GetSchemaVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersion func (c *Glue) GetSchemaVersionRequest(input *GetSchemaVersionInput) (req *request.Request, output *GetSchemaVersionOutput) { @@ -10081,17 +10063,18 @@ func (c *Glue) GetSchemaVersionRequest(input *GetSchemaVersionInput) (req *reque // API operation GetSchemaVersion for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - AccessDeniedException +// Access to a resource was denied. // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersion func (c *Glue) GetSchemaVersion(input *GetSchemaVersionInput) (*GetSchemaVersionOutput, error) { @@ -10131,14 +10114,13 @@ const opGetSchemaVersionsDiff = "GetSchemaVersionsDiff" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSchemaVersionsDiffRequest method. +// req, resp := client.GetSchemaVersionsDiffRequest(params) // -// // Example sending a request using the GetSchemaVersionsDiffRequest method. -// req, resp := client.GetSchemaVersionsDiffRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionsDiff func (c *Glue) GetSchemaVersionsDiffRequest(input *GetSchemaVersionsDiffInput) (req *request.Request, output *GetSchemaVersionsDiffOutput) { @@ -10173,17 +10155,18 @@ func (c *Glue) GetSchemaVersionsDiffRequest(input *GetSchemaVersionsDiffInput) ( // API operation GetSchemaVersionsDiff for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSchemaVersionsDiff func (c *Glue) GetSchemaVersionsDiff(input *GetSchemaVersionsDiffInput) (*GetSchemaVersionsDiffOutput, error) { @@ -10223,14 +10206,13 @@ const opGetSecurityConfiguration = "GetSecurityConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSecurityConfigurationRequest method. +// req, resp := client.GetSecurityConfigurationRequest(params) // -// // Example sending a request using the GetSecurityConfigurationRequest method. -// req, resp := client.GetSecurityConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfiguration func (c *Glue) GetSecurityConfigurationRequest(input *GetSecurityConfigurationInput) (req *request.Request, output *GetSecurityConfigurationOutput) { @@ -10261,17 +10243,18 @@ func (c *Glue) GetSecurityConfigurationRequest(input *GetSecurityConfigurationIn // API operation GetSecurityConfiguration for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfiguration func (c *Glue) GetSecurityConfiguration(input *GetSecurityConfigurationInput) (*GetSecurityConfigurationOutput, error) { @@ -10311,14 +10294,13 @@ const opGetSecurityConfigurations = "GetSecurityConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSecurityConfigurationsRequest method. +// req, resp := client.GetSecurityConfigurationsRequest(params) // -// // Example sending a request using the GetSecurityConfigurationsRequest method. -// req, resp := client.GetSecurityConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurations func (c *Glue) GetSecurityConfigurationsRequest(input *GetSecurityConfigurationsInput) (req *request.Request, output *GetSecurityConfigurationsOutput) { @@ -10355,17 +10337,18 @@ func (c *Glue) GetSecurityConfigurationsRequest(input *GetSecurityConfigurations // API operation GetSecurityConfigurations for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSecurityConfigurations func (c *Glue) GetSecurityConfigurations(input *GetSecurityConfigurationsInput) (*GetSecurityConfigurationsOutput, error) { @@ -10397,15 +10380,14 @@ func (c *Glue) GetSecurityConfigurationsWithContext(ctx aws.Context, input *GetS // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetSecurityConfigurations operation. -// pageNum := 0 -// err := client.GetSecurityConfigurationsPages(params, -// func(page *glue.GetSecurityConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetSecurityConfigurations operation. +// pageNum := 0 +// err := client.GetSecurityConfigurationsPages(params, +// func(page *glue.GetSecurityConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetSecurityConfigurationsPages(input *GetSecurityConfigurationsInput, fn func(*GetSecurityConfigurationsOutput, bool) bool) error { return c.GetSecurityConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10457,14 +10439,13 @@ const opGetSession = "GetSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSessionRequest method. +// req, resp := client.GetSessionRequest(params) // -// // Example sending a request using the GetSessionRequest method. -// req, resp := client.GetSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSession func (c *Glue) GetSessionRequest(input *GetSessionInput) (req *request.Request, output *GetSessionOutput) { @@ -10495,20 +10476,21 @@ func (c *Glue) GetSessionRequest(input *GetSessionInput) (req *request.Request, // API operation GetSession for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to a resource was denied. // -// * EntityNotFoundException -// A specified entity does not exist +// - AccessDeniedException +// Access to a resource was denied. // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - OperationTimeoutException +// The operation timed out. +// +// - InvalidInputException +// The input provided was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetSession func (c *Glue) GetSession(input *GetSessionInput) (*GetSessionOutput, error) { @@ -10548,14 +10530,13 @@ const opGetStatement = "GetStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStatementRequest method. +// req, resp := client.GetStatementRequest(params) // -// // Example sending a request using the GetStatementRequest method. -// req, resp := client.GetStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetStatement func (c *Glue) GetStatementRequest(input *GetStatementInput) (req *request.Request, output *GetStatementOutput) { @@ -10586,23 +10567,24 @@ func (c *Glue) GetStatementRequest(input *GetStatementInput) (req *request.Reque // API operation GetStatement for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to a resource was denied. // -// * EntityNotFoundException -// A specified entity does not exist +// - AccessDeniedException +// Access to a resource was denied. // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - OperationTimeoutException +// The operation timed out. // -// * IllegalSessionStateException -// The session is in an invalid state to perform a requested operation. +// - InvalidInputException +// The input provided was not valid. +// +// - IllegalSessionStateException +// The session is in an invalid state to perform a requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetStatement func (c *Glue) GetStatement(input *GetStatementInput) (*GetStatementOutput, error) { @@ -10642,14 +10624,13 @@ const opGetTable = "GetTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTableRequest method. +// req, resp := client.GetTableRequest(params) // -// // Example sending a request using the GetTableRequest method. -// req, resp := client.GetTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable func (c *Glue) GetTableRequest(input *GetTableInput) (req *request.Request, output *GetTableOutput) { @@ -10680,23 +10661,24 @@ func (c *Glue) GetTableRequest(input *GetTableInput) (req *request.Request, outp // API operation GetTable for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * EncryptionException -// An encryption operation failed. +// - OperationTimeoutException +// The operation timed out. // -// * ResourceNotReadyException -// A resource was not ready for a transaction. +// - EncryptionException +// An encryption operation failed. +// +// - ResourceNotReadyException +// A resource was not ready for a transaction. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTable func (c *Glue) GetTable(input *GetTableInput) (*GetTableOutput, error) { @@ -10736,14 +10718,13 @@ const opGetTableVersion = "GetTableVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTableVersionRequest method. +// req, resp := client.GetTableVersionRequest(params) // -// // Example sending a request using the GetTableVersionRequest method. -// req, resp := client.GetTableVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersion func (c *Glue) GetTableVersionRequest(input *GetTableVersionInput) (req *request.Request, output *GetTableVersionOutput) { @@ -10774,20 +10755,21 @@ func (c *Glue) GetTableVersionRequest(input *GetTableVersionInput) (req *request // API operation GetTableVersion for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersion func (c *Glue) GetTableVersion(input *GetTableVersionInput) (*GetTableVersionOutput, error) { @@ -10827,14 +10809,13 @@ const opGetTableVersions = "GetTableVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTableVersionsRequest method. +// req, resp := client.GetTableVersionsRequest(params) // -// // Example sending a request using the GetTableVersionsRequest method. -// req, resp := client.GetTableVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersions func (c *Glue) GetTableVersionsRequest(input *GetTableVersionsInput) (req *request.Request, output *GetTableVersionsOutput) { @@ -10872,20 +10853,21 @@ func (c *Glue) GetTableVersionsRequest(input *GetTableVersionsInput) (req *reque // API operation GetTableVersions for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableVersions func (c *Glue) GetTableVersions(input *GetTableVersionsInput) (*GetTableVersionsOutput, error) { @@ -10917,15 +10899,14 @@ func (c *Glue) GetTableVersionsWithContext(ctx aws.Context, input *GetTableVersi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTableVersions operation. -// pageNum := 0 -// err := client.GetTableVersionsPages(params, -// func(page *glue.GetTableVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTableVersions operation. +// pageNum := 0 +// err := client.GetTableVersionsPages(params, +// func(page *glue.GetTableVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetTableVersionsPages(input *GetTableVersionsInput, fn func(*GetTableVersionsOutput, bool) bool) error { return c.GetTableVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10977,14 +10958,13 @@ const opGetTables = "GetTables" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTablesRequest method. +// req, resp := client.GetTablesRequest(params) // -// // Example sending a request using the GetTablesRequest method. -// req, resp := client.GetTablesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables func (c *Glue) GetTablesRequest(input *GetTablesInput) (req *request.Request, output *GetTablesOutput) { @@ -11021,20 +11001,21 @@ func (c *Glue) GetTablesRequest(input *GetTablesInput) (req *request.Request, ou // API operation GetTables for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTables func (c *Glue) GetTables(input *GetTablesInput) (*GetTablesOutput, error) { @@ -11066,15 +11047,14 @@ func (c *Glue) GetTablesWithContext(ctx aws.Context, input *GetTablesInput, opts // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTables operation. -// pageNum := 0 -// err := client.GetTablesPages(params, -// func(page *glue.GetTablesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTables operation. +// pageNum := 0 +// err := client.GetTablesPages(params, +// func(page *glue.GetTablesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetTablesPages(input *GetTablesInput, fn func(*GetTablesOutput, bool) bool) error { return c.GetTablesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11126,14 +11106,13 @@ const opGetTags = "GetTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTagsRequest method. +// req, resp := client.GetTagsRequest(params) // -// // Example sending a request using the GetTagsRequest method. -// req, resp := client.GetTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTags func (c *Glue) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput) { @@ -11164,17 +11143,18 @@ func (c *Glue) GetTagsRequest(input *GetTagsInput) (req *request.Request, output // API operation GetTags for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTags func (c *Glue) GetTags(input *GetTagsInput) (*GetTagsOutput, error) { @@ -11214,14 +11194,13 @@ const opGetTrigger = "GetTrigger" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTriggerRequest method. +// req, resp := client.GetTriggerRequest(params) // -// // Example sending a request using the GetTriggerRequest method. -// req, resp := client.GetTriggerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger func (c *Glue) GetTriggerRequest(input *GetTriggerInput) (req *request.Request, output *GetTriggerOutput) { @@ -11252,17 +11231,18 @@ func (c *Glue) GetTriggerRequest(input *GetTriggerInput) (req *request.Request, // API operation GetTrigger for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTrigger func (c *Glue) GetTrigger(input *GetTriggerInput) (*GetTriggerOutput, error) { @@ -11302,14 +11282,13 @@ const opGetTriggers = "GetTriggers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTriggersRequest method. +// req, resp := client.GetTriggersRequest(params) // -// // Example sending a request using the GetTriggersRequest method. -// req, resp := client.GetTriggersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers func (c *Glue) GetTriggersRequest(input *GetTriggersInput) (req *request.Request, output *GetTriggersOutput) { @@ -11346,17 +11325,18 @@ func (c *Glue) GetTriggersRequest(input *GetTriggersInput) (req *request.Request // API operation GetTriggers for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTriggers func (c *Glue) GetTriggers(input *GetTriggersInput) (*GetTriggersOutput, error) { @@ -11388,15 +11368,14 @@ func (c *Glue) GetTriggersWithContext(ctx aws.Context, input *GetTriggersInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTriggers operation. -// pageNum := 0 -// err := client.GetTriggersPages(params, -// func(page *glue.GetTriggersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTriggers operation. +// pageNum := 0 +// err := client.GetTriggersPages(params, +// func(page *glue.GetTriggersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetTriggersPages(input *GetTriggersInput, fn func(*GetTriggersOutput, bool) bool) error { return c.GetTriggersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11448,14 +11427,13 @@ const opGetUnfilteredPartitionMetadata = "GetUnfilteredPartitionMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUnfilteredPartitionMetadataRequest method. +// req, resp := client.GetUnfilteredPartitionMetadataRequest(params) // -// // Example sending a request using the GetUnfilteredPartitionMetadataRequest method. -// req, resp := client.GetUnfilteredPartitionMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUnfilteredPartitionMetadata func (c *Glue) GetUnfilteredPartitionMetadataRequest(input *GetUnfilteredPartitionMetadataInput) (req *request.Request, output *GetUnfilteredPartitionMetadataOutput) { @@ -11484,22 +11462,23 @@ func (c *Glue) GetUnfilteredPartitionMetadataRequest(input *GetUnfilteredPartiti // API operation GetUnfilteredPartitionMetadata for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // -// * PermissionTypeMismatchException +// - PermissionTypeMismatchException // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUnfilteredPartitionMetadata func (c *Glue) GetUnfilteredPartitionMetadata(input *GetUnfilteredPartitionMetadataInput) (*GetUnfilteredPartitionMetadataOutput, error) { @@ -11539,14 +11518,13 @@ const opGetUnfilteredPartitionsMetadata = "GetUnfilteredPartitionsMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUnfilteredPartitionsMetadataRequest method. +// req, resp := client.GetUnfilteredPartitionsMetadataRequest(params) // -// // Example sending a request using the GetUnfilteredPartitionsMetadataRequest method. -// req, resp := client.GetUnfilteredPartitionsMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUnfilteredPartitionsMetadata func (c *Glue) GetUnfilteredPartitionsMetadataRequest(input *GetUnfilteredPartitionsMetadataInput) (req *request.Request, output *GetUnfilteredPartitionsMetadataOutput) { @@ -11581,22 +11559,23 @@ func (c *Glue) GetUnfilteredPartitionsMetadataRequest(input *GetUnfilteredPartit // API operation GetUnfilteredPartitionsMetadata for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // -// * PermissionTypeMismatchException +// - PermissionTypeMismatchException // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUnfilteredPartitionsMetadata func (c *Glue) GetUnfilteredPartitionsMetadata(input *GetUnfilteredPartitionsMetadataInput) (*GetUnfilteredPartitionsMetadataOutput, error) { @@ -11628,15 +11607,14 @@ func (c *Glue) GetUnfilteredPartitionsMetadataWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetUnfilteredPartitionsMetadata operation. -// pageNum := 0 -// err := client.GetUnfilteredPartitionsMetadataPages(params, -// func(page *glue.GetUnfilteredPartitionsMetadataOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetUnfilteredPartitionsMetadata operation. +// pageNum := 0 +// err := client.GetUnfilteredPartitionsMetadataPages(params, +// func(page *glue.GetUnfilteredPartitionsMetadataOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetUnfilteredPartitionsMetadataPages(input *GetUnfilteredPartitionsMetadataInput, fn func(*GetUnfilteredPartitionsMetadataOutput, bool) bool) error { return c.GetUnfilteredPartitionsMetadataPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11688,14 +11666,13 @@ const opGetUnfilteredTableMetadata = "GetUnfilteredTableMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUnfilteredTableMetadataRequest method. +// req, resp := client.GetUnfilteredTableMetadataRequest(params) // -// // Example sending a request using the GetUnfilteredTableMetadataRequest method. -// req, resp := client.GetUnfilteredTableMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUnfilteredTableMetadata func (c *Glue) GetUnfilteredTableMetadataRequest(input *GetUnfilteredTableMetadataInput) (req *request.Request, output *GetUnfilteredTableMetadataOutput) { @@ -11724,22 +11701,23 @@ func (c *Glue) GetUnfilteredTableMetadataRequest(input *GetUnfilteredTableMetada // API operation GetUnfilteredTableMetadata for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // -// * PermissionTypeMismatchException +// - PermissionTypeMismatchException // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUnfilteredTableMetadata func (c *Glue) GetUnfilteredTableMetadata(input *GetUnfilteredTableMetadataInput) (*GetUnfilteredTableMetadataOutput, error) { @@ -11779,14 +11757,13 @@ const opGetUserDefinedFunction = "GetUserDefinedFunction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUserDefinedFunctionRequest method. +// req, resp := client.GetUserDefinedFunctionRequest(params) // -// // Example sending a request using the GetUserDefinedFunctionRequest method. -// req, resp := client.GetUserDefinedFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction func (c *Glue) GetUserDefinedFunctionRequest(input *GetUserDefinedFunctionInput) (req *request.Request, output *GetUserDefinedFunctionOutput) { @@ -11817,20 +11794,21 @@ func (c *Glue) GetUserDefinedFunctionRequest(input *GetUserDefinedFunctionInput) // API operation GetUserDefinedFunction for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunction func (c *Glue) GetUserDefinedFunction(input *GetUserDefinedFunctionInput) (*GetUserDefinedFunctionOutput, error) { @@ -11870,14 +11848,13 @@ const opGetUserDefinedFunctions = "GetUserDefinedFunctions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUserDefinedFunctionsRequest method. +// req, resp := client.GetUserDefinedFunctionsRequest(params) // -// // Example sending a request using the GetUserDefinedFunctionsRequest method. -// req, resp := client.GetUserDefinedFunctionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions func (c *Glue) GetUserDefinedFunctionsRequest(input *GetUserDefinedFunctionsInput) (req *request.Request, output *GetUserDefinedFunctionsOutput) { @@ -11914,20 +11891,21 @@ func (c *Glue) GetUserDefinedFunctionsRequest(input *GetUserDefinedFunctionsInpu // API operation GetUserDefinedFunctions for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetUserDefinedFunctions func (c *Glue) GetUserDefinedFunctions(input *GetUserDefinedFunctionsInput) (*GetUserDefinedFunctionsOutput, error) { @@ -11959,15 +11937,14 @@ func (c *Glue) GetUserDefinedFunctionsWithContext(ctx aws.Context, input *GetUse // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetUserDefinedFunctions operation. -// pageNum := 0 -// err := client.GetUserDefinedFunctionsPages(params, -// func(page *glue.GetUserDefinedFunctionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetUserDefinedFunctions operation. +// pageNum := 0 +// err := client.GetUserDefinedFunctionsPages(params, +// func(page *glue.GetUserDefinedFunctionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetUserDefinedFunctionsPages(input *GetUserDefinedFunctionsInput, fn func(*GetUserDefinedFunctionsOutput, bool) bool) error { return c.GetUserDefinedFunctionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12019,14 +11996,13 @@ const opGetWorkflow = "GetWorkflow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWorkflowRequest method. +// req, resp := client.GetWorkflowRequest(params) // -// // Example sending a request using the GetWorkflowRequest method. -// req, resp := client.GetWorkflowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflow func (c *Glue) GetWorkflowRequest(input *GetWorkflowInput) (req *request.Request, output *GetWorkflowOutput) { @@ -12057,17 +12033,18 @@ func (c *Glue) GetWorkflowRequest(input *GetWorkflowInput) (req *request.Request // API operation GetWorkflow for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflow func (c *Glue) GetWorkflow(input *GetWorkflowInput) (*GetWorkflowOutput, error) { @@ -12107,14 +12084,13 @@ const opGetWorkflowRun = "GetWorkflowRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWorkflowRunRequest method. +// req, resp := client.GetWorkflowRunRequest(params) // -// // Example sending a request using the GetWorkflowRunRequest method. -// req, resp := client.GetWorkflowRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRun func (c *Glue) GetWorkflowRunRequest(input *GetWorkflowRunInput) (req *request.Request, output *GetWorkflowRunOutput) { @@ -12145,17 +12121,18 @@ func (c *Glue) GetWorkflowRunRequest(input *GetWorkflowRunInput) (req *request.R // API operation GetWorkflowRun for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRun func (c *Glue) GetWorkflowRun(input *GetWorkflowRunInput) (*GetWorkflowRunOutput, error) { @@ -12195,14 +12172,13 @@ const opGetWorkflowRunProperties = "GetWorkflowRunProperties" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWorkflowRunPropertiesRequest method. +// req, resp := client.GetWorkflowRunPropertiesRequest(params) // -// // Example sending a request using the GetWorkflowRunPropertiesRequest method. -// req, resp := client.GetWorkflowRunPropertiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRunProperties func (c *Glue) GetWorkflowRunPropertiesRequest(input *GetWorkflowRunPropertiesInput) (req *request.Request, output *GetWorkflowRunPropertiesOutput) { @@ -12233,17 +12209,18 @@ func (c *Glue) GetWorkflowRunPropertiesRequest(input *GetWorkflowRunPropertiesIn // API operation GetWorkflowRunProperties for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRunProperties func (c *Glue) GetWorkflowRunProperties(input *GetWorkflowRunPropertiesInput) (*GetWorkflowRunPropertiesOutput, error) { @@ -12283,14 +12260,13 @@ const opGetWorkflowRuns = "GetWorkflowRuns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWorkflowRunsRequest method. +// req, resp := client.GetWorkflowRunsRequest(params) // -// // Example sending a request using the GetWorkflowRunsRequest method. -// req, resp := client.GetWorkflowRunsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRuns func (c *Glue) GetWorkflowRunsRequest(input *GetWorkflowRunsInput) (req *request.Request, output *GetWorkflowRunsOutput) { @@ -12327,17 +12303,18 @@ func (c *Glue) GetWorkflowRunsRequest(input *GetWorkflowRunsInput) (req *request // API operation GetWorkflowRuns for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetWorkflowRuns func (c *Glue) GetWorkflowRuns(input *GetWorkflowRunsInput) (*GetWorkflowRunsOutput, error) { @@ -12369,15 +12346,14 @@ func (c *Glue) GetWorkflowRunsWithContext(ctx aws.Context, input *GetWorkflowRun // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetWorkflowRuns operation. -// pageNum := 0 -// err := client.GetWorkflowRunsPages(params, -// func(page *glue.GetWorkflowRunsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetWorkflowRuns operation. +// pageNum := 0 +// err := client.GetWorkflowRunsPages(params, +// func(page *glue.GetWorkflowRunsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) GetWorkflowRunsPages(input *GetWorkflowRunsInput, fn func(*GetWorkflowRunsOutput, bool) bool) error { return c.GetWorkflowRunsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12429,14 +12405,13 @@ const opImportCatalogToGlue = "ImportCatalogToGlue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportCatalogToGlueRequest method. +// req, resp := client.ImportCatalogToGlueRequest(params) // -// // Example sending a request using the ImportCatalogToGlueRequest method. -// req, resp := client.ImportCatalogToGlueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlue func (c *Glue) ImportCatalogToGlueRequest(input *ImportCatalogToGlueInput) (req *request.Request, output *ImportCatalogToGlueOutput) { @@ -12468,11 +12443,12 @@ func (c *Glue) ImportCatalogToGlueRequest(input *ImportCatalogToGlueInput) (req // API operation ImportCatalogToGlue for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ImportCatalogToGlue func (c *Glue) ImportCatalogToGlue(input *ImportCatalogToGlueInput) (*ImportCatalogToGlueOutput, error) { @@ -12512,14 +12488,13 @@ const opListBlueprints = "ListBlueprints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBlueprintsRequest method. +// req, resp := client.ListBlueprintsRequest(params) // -// // Example sending a request using the ListBlueprintsRequest method. -// req, resp := client.ListBlueprintsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListBlueprints func (c *Glue) ListBlueprintsRequest(input *ListBlueprintsInput) (req *request.Request, output *ListBlueprintsOutput) { @@ -12556,14 +12531,15 @@ func (c *Glue) ListBlueprintsRequest(input *ListBlueprintsInput) (req *request.R // API operation ListBlueprints for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListBlueprints func (c *Glue) ListBlueprints(input *ListBlueprintsInput) (*ListBlueprintsOutput, error) { @@ -12595,15 +12571,14 @@ func (c *Glue) ListBlueprintsWithContext(ctx aws.Context, input *ListBlueprintsI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBlueprints operation. -// pageNum := 0 -// err := client.ListBlueprintsPages(params, -// func(page *glue.ListBlueprintsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBlueprints operation. +// pageNum := 0 +// err := client.ListBlueprintsPages(params, +// func(page *glue.ListBlueprintsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) ListBlueprintsPages(input *ListBlueprintsInput, fn func(*ListBlueprintsOutput, bool) bool) error { return c.ListBlueprintsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12655,14 +12630,13 @@ const opListCrawlers = "ListCrawlers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCrawlersRequest method. +// req, resp := client.ListCrawlersRequest(params) // -// // Example sending a request using the ListCrawlersRequest method. -// req, resp := client.ListCrawlersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListCrawlers func (c *Glue) ListCrawlersRequest(input *ListCrawlersInput) (req *request.Request, output *ListCrawlersOutput) { @@ -12705,8 +12679,8 @@ func (c *Glue) ListCrawlersRequest(input *ListCrawlersInput) (req *request.Reque // API operation ListCrawlers for usage and error information. // // Returned Error Types: -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListCrawlers func (c *Glue) ListCrawlers(input *ListCrawlersInput) (*ListCrawlersOutput, error) { @@ -12738,15 +12712,14 @@ func (c *Glue) ListCrawlersWithContext(ctx aws.Context, input *ListCrawlersInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCrawlers operation. -// pageNum := 0 -// err := client.ListCrawlersPages(params, -// func(page *glue.ListCrawlersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCrawlers operation. +// pageNum := 0 +// err := client.ListCrawlersPages(params, +// func(page *glue.ListCrawlersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) ListCrawlersPages(input *ListCrawlersInput, fn func(*ListCrawlersOutput, bool) bool) error { return c.ListCrawlersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12798,14 +12771,13 @@ const opListCustomEntityTypes = "ListCustomEntityTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCustomEntityTypesRequest method. +// req, resp := client.ListCustomEntityTypesRequest(params) // -// // Example sending a request using the ListCustomEntityTypesRequest method. -// req, resp := client.ListCustomEntityTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListCustomEntityTypes func (c *Glue) ListCustomEntityTypesRequest(input *ListCustomEntityTypesInput) (req *request.Request, output *ListCustomEntityTypesOutput) { @@ -12842,14 +12814,15 @@ func (c *Glue) ListCustomEntityTypesRequest(input *ListCustomEntityTypesInput) ( // API operation ListCustomEntityTypes for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. +// +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListCustomEntityTypes func (c *Glue) ListCustomEntityTypes(input *ListCustomEntityTypesInput) (*ListCustomEntityTypesOutput, error) { @@ -12881,15 +12854,14 @@ func (c *Glue) ListCustomEntityTypesWithContext(ctx aws.Context, input *ListCust // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCustomEntityTypes operation. -// pageNum := 0 -// err := client.ListCustomEntityTypesPages(params, -// func(page *glue.ListCustomEntityTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCustomEntityTypes operation. +// pageNum := 0 +// err := client.ListCustomEntityTypesPages(params, +// func(page *glue.ListCustomEntityTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) ListCustomEntityTypesPages(input *ListCustomEntityTypesInput, fn func(*ListCustomEntityTypesOutput, bool) bool) error { return c.ListCustomEntityTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12941,14 +12913,13 @@ const opListDevEndpoints = "ListDevEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDevEndpointsRequest method. +// req, resp := client.ListDevEndpointsRequest(params) // -// // Example sending a request using the ListDevEndpointsRequest method. -// req, resp := client.ListDevEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListDevEndpoints func (c *Glue) ListDevEndpointsRequest(input *ListDevEndpointsInput) (req *request.Request, output *ListDevEndpointsOutput) { @@ -12991,17 +12962,18 @@ func (c *Glue) ListDevEndpointsRequest(input *ListDevEndpointsInput) (req *reque // API operation ListDevEndpoints for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListDevEndpoints func (c *Glue) ListDevEndpoints(input *ListDevEndpointsInput) (*ListDevEndpointsOutput, error) { @@ -13033,15 +13005,14 @@ func (c *Glue) ListDevEndpointsWithContext(ctx aws.Context, input *ListDevEndpoi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDevEndpoints operation. -// pageNum := 0 -// err := client.ListDevEndpointsPages(params, -// func(page *glue.ListDevEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDevEndpoints operation. +// pageNum := 0 +// err := client.ListDevEndpointsPages(params, +// func(page *glue.ListDevEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) ListDevEndpointsPages(input *ListDevEndpointsInput, fn func(*ListDevEndpointsOutput, bool) bool) error { return c.ListDevEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13093,14 +13064,13 @@ const opListJobs = "ListJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobsRequest method. +// req, resp := client.ListJobsRequest(params) // -// // Example sending a request using the ListJobsRequest method. -// req, resp := client.ListJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListJobs func (c *Glue) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { @@ -13143,17 +13113,18 @@ func (c *Glue) ListJobsRequest(input *ListJobsInput) (req *request.Request, outp // API operation ListJobs for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListJobs func (c *Glue) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { @@ -13185,15 +13156,14 @@ func (c *Glue) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts . // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobs operation. -// pageNum := 0 -// err := client.ListJobsPages(params, -// func(page *glue.ListJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobs operation. +// pageNum := 0 +// err := client.ListJobsPages(params, +// func(page *glue.ListJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error { return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13245,14 +13215,13 @@ const opListMLTransforms = "ListMLTransforms" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMLTransformsRequest method. +// req, resp := client.ListMLTransformsRequest(params) // -// // Example sending a request using the ListMLTransformsRequest method. -// req, resp := client.ListMLTransformsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListMLTransforms func (c *Glue) ListMLTransformsRequest(input *ListMLTransformsInput) (req *request.Request, output *ListMLTransformsOutput) { @@ -13293,17 +13262,18 @@ func (c *Glue) ListMLTransformsRequest(input *ListMLTransformsInput) (req *reque // API operation ListMLTransforms for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListMLTransforms func (c *Glue) ListMLTransforms(input *ListMLTransformsInput) (*ListMLTransformsOutput, error) { @@ -13335,15 +13305,14 @@ func (c *Glue) ListMLTransformsWithContext(ctx aws.Context, input *ListMLTransfo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMLTransforms operation. -// pageNum := 0 -// err := client.ListMLTransformsPages(params, -// func(page *glue.ListMLTransformsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMLTransforms operation. +// pageNum := 0 +// err := client.ListMLTransformsPages(params, +// func(page *glue.ListMLTransformsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) ListMLTransformsPages(input *ListMLTransformsInput, fn func(*ListMLTransformsOutput, bool) bool) error { return c.ListMLTransformsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13395,14 +13364,13 @@ const opListRegistries = "ListRegistries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRegistriesRequest method. +// req, resp := client.ListRegistriesRequest(params) // -// // Example sending a request using the ListRegistriesRequest method. -// req, resp := client.ListRegistriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListRegistries func (c *Glue) ListRegistriesRequest(input *ListRegistriesInput) (req *request.Request, output *ListRegistriesOutput) { @@ -13441,14 +13409,15 @@ func (c *Glue) ListRegistriesRequest(input *ListRegistriesInput) (req *request.R // API operation ListRegistries for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. +// +// - AccessDeniedException +// Access to a resource was denied. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListRegistries func (c *Glue) ListRegistries(input *ListRegistriesInput) (*ListRegistriesOutput, error) { @@ -13480,15 +13449,14 @@ func (c *Glue) ListRegistriesWithContext(ctx aws.Context, input *ListRegistriesI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRegistries operation. -// pageNum := 0 -// err := client.ListRegistriesPages(params, -// func(page *glue.ListRegistriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRegistries operation. +// pageNum := 0 +// err := client.ListRegistriesPages(params, +// func(page *glue.ListRegistriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) ListRegistriesPages(input *ListRegistriesInput, fn func(*ListRegistriesOutput, bool) bool) error { return c.ListRegistriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13540,14 +13508,13 @@ const opListSchemaVersions = "ListSchemaVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSchemaVersionsRequest method. +// req, resp := client.ListSchemaVersionsRequest(params) // -// // Example sending a request using the ListSchemaVersionsRequest method. -// req, resp := client.ListSchemaVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemaVersions func (c *Glue) ListSchemaVersionsRequest(input *ListSchemaVersionsInput) (req *request.Request, output *ListSchemaVersionsOutput) { @@ -13586,17 +13553,18 @@ func (c *Glue) ListSchemaVersionsRequest(input *ListSchemaVersionsInput) (req *r // API operation ListSchemaVersions for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. +// +// - AccessDeniedException +// Access to a resource was denied. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemaVersions func (c *Glue) ListSchemaVersions(input *ListSchemaVersionsInput) (*ListSchemaVersionsOutput, error) { @@ -13628,15 +13596,14 @@ func (c *Glue) ListSchemaVersionsWithContext(ctx aws.Context, input *ListSchemaV // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSchemaVersions operation. -// pageNum := 0 -// err := client.ListSchemaVersionsPages(params, -// func(page *glue.ListSchemaVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSchemaVersions operation. +// pageNum := 0 +// err := client.ListSchemaVersionsPages(params, +// func(page *glue.ListSchemaVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) ListSchemaVersionsPages(input *ListSchemaVersionsInput, fn func(*ListSchemaVersionsOutput, bool) bool) error { return c.ListSchemaVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13688,14 +13655,13 @@ const opListSchemas = "ListSchemas" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSchemasRequest method. +// req, resp := client.ListSchemasRequest(params) // -// // Example sending a request using the ListSchemasRequest method. -// req, resp := client.ListSchemasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemas func (c *Glue) ListSchemasRequest(input *ListSchemasInput) (req *request.Request, output *ListSchemasOutput) { @@ -13737,17 +13703,18 @@ func (c *Glue) ListSchemasRequest(input *ListSchemasInput) (req *request.Request // API operation ListSchemas for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. +// +// - AccessDeniedException +// Access to a resource was denied. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSchemas func (c *Glue) ListSchemas(input *ListSchemasInput) (*ListSchemasOutput, error) { @@ -13779,15 +13746,14 @@ func (c *Glue) ListSchemasWithContext(ctx aws.Context, input *ListSchemasInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSchemas operation. -// pageNum := 0 -// err := client.ListSchemasPages(params, -// func(page *glue.ListSchemasOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSchemas operation. +// pageNum := 0 +// err := client.ListSchemasPages(params, +// func(page *glue.ListSchemasOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) ListSchemasPages(input *ListSchemasInput, fn func(*ListSchemasOutput, bool) bool) error { return c.ListSchemasPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13839,14 +13805,13 @@ const opListSessions = "ListSessions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSessionsRequest method. +// req, resp := client.ListSessionsRequest(params) // -// // Example sending a request using the ListSessionsRequest method. -// req, resp := client.ListSessionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSessions func (c *Glue) ListSessionsRequest(input *ListSessionsInput) (req *request.Request, output *ListSessionsOutput) { @@ -13883,17 +13848,18 @@ func (c *Glue) ListSessionsRequest(input *ListSessionsInput) (req *request.Reque // API operation ListSessions for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to a resource was denied. // -// * InvalidInputException -// The input provided was not valid. +// - AccessDeniedException +// Access to a resource was denied. +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListSessions func (c *Glue) ListSessions(input *ListSessionsInput) (*ListSessionsOutput, error) { @@ -13925,15 +13891,14 @@ func (c *Glue) ListSessionsWithContext(ctx aws.Context, input *ListSessionsInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSessions operation. -// pageNum := 0 -// err := client.ListSessionsPages(params, -// func(page *glue.ListSessionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSessions operation. +// pageNum := 0 +// err := client.ListSessionsPages(params, +// func(page *glue.ListSessionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) ListSessionsPages(input *ListSessionsInput, fn func(*ListSessionsOutput, bool) bool) error { return c.ListSessionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13985,14 +13950,13 @@ const opListStatements = "ListStatements" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStatementsRequest method. +// req, resp := client.ListStatementsRequest(params) // -// // Example sending a request using the ListStatementsRequest method. -// req, resp := client.ListStatementsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListStatements func (c *Glue) ListStatementsRequest(input *ListStatementsInput) (req *request.Request, output *ListStatementsOutput) { @@ -14023,23 +13987,24 @@ func (c *Glue) ListStatementsRequest(input *ListStatementsInput) (req *request.R // API operation ListStatements for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to a resource was denied. // -// * EntityNotFoundException -// A specified entity does not exist +// - AccessDeniedException +// Access to a resource was denied. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * IllegalSessionStateException -// The session is in an invalid state to perform a requested operation. +// - IllegalSessionStateException +// The session is in an invalid state to perform a requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListStatements func (c *Glue) ListStatements(input *ListStatementsInput) (*ListStatementsOutput, error) { @@ -14079,14 +14044,13 @@ const opListTriggers = "ListTriggers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTriggersRequest method. +// req, resp := client.ListTriggersRequest(params) // -// // Example sending a request using the ListTriggersRequest method. -// req, resp := client.ListTriggersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggers func (c *Glue) ListTriggersRequest(input *ListTriggersInput) (req *request.Request, output *ListTriggersOutput) { @@ -14129,17 +14093,18 @@ func (c *Glue) ListTriggersRequest(input *ListTriggersInput) (req *request.Reque // API operation ListTriggers for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTriggers func (c *Glue) ListTriggers(input *ListTriggersInput) (*ListTriggersOutput, error) { @@ -14171,15 +14136,14 @@ func (c *Glue) ListTriggersWithContext(ctx aws.Context, input *ListTriggersInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTriggers operation. -// pageNum := 0 -// err := client.ListTriggersPages(params, -// func(page *glue.ListTriggersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTriggers operation. +// pageNum := 0 +// err := client.ListTriggersPages(params, +// func(page *glue.ListTriggersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) ListTriggersPages(input *ListTriggersInput, fn func(*ListTriggersOutput, bool) bool) error { return c.ListTriggersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14231,14 +14195,13 @@ const opListWorkflows = "ListWorkflows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorkflowsRequest method. +// req, resp := client.ListWorkflowsRequest(params) // -// // Example sending a request using the ListWorkflowsRequest method. -// req, resp := client.ListWorkflowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflows func (c *Glue) ListWorkflowsRequest(input *ListWorkflowsInput) (req *request.Request, output *ListWorkflowsOutput) { @@ -14275,14 +14238,15 @@ func (c *Glue) ListWorkflowsRequest(input *ListWorkflowsInput) (req *request.Req // API operation ListWorkflows for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListWorkflows func (c *Glue) ListWorkflows(input *ListWorkflowsInput) (*ListWorkflowsOutput, error) { @@ -14314,15 +14278,14 @@ func (c *Glue) ListWorkflowsWithContext(ctx aws.Context, input *ListWorkflowsInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorkflows operation. -// pageNum := 0 -// err := client.ListWorkflowsPages(params, -// func(page *glue.ListWorkflowsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorkflows operation. +// pageNum := 0 +// err := client.ListWorkflowsPages(params, +// func(page *glue.ListWorkflowsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) ListWorkflowsPages(input *ListWorkflowsInput, fn func(*ListWorkflowsOutput, bool) bool) error { return c.ListWorkflowsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14374,14 +14337,13 @@ const opPutDataCatalogEncryptionSettings = "PutDataCatalogEncryptionSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDataCatalogEncryptionSettingsRequest method. +// req, resp := client.PutDataCatalogEncryptionSettingsRequest(params) // -// // Example sending a request using the PutDataCatalogEncryptionSettingsRequest method. -// req, resp := client.PutDataCatalogEncryptionSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutDataCatalogEncryptionSettings func (c *Glue) PutDataCatalogEncryptionSettingsRequest(input *PutDataCatalogEncryptionSettingsInput) (req *request.Request, output *PutDataCatalogEncryptionSettingsOutput) { @@ -14415,14 +14377,15 @@ func (c *Glue) PutDataCatalogEncryptionSettingsRequest(input *PutDataCatalogEncr // API operation PutDataCatalogEncryptionSettings for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutDataCatalogEncryptionSettings func (c *Glue) PutDataCatalogEncryptionSettings(input *PutDataCatalogEncryptionSettingsInput) (*PutDataCatalogEncryptionSettingsOutput, error) { @@ -14462,14 +14425,13 @@ const opPutResourcePolicy = "PutResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutResourcePolicyRequest method. +// req, resp := client.PutResourcePolicyRequest(params) // -// // Example sending a request using the PutResourcePolicyRequest method. -// req, resp := client.PutResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicy func (c *Glue) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { @@ -14500,20 +14462,21 @@ func (c *Glue) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *req // API operation PutResourcePolicy for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * ConditionCheckFailureException -// A specified condition was not satisfied. +// - ConditionCheckFailureException +// A specified condition was not satisfied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutResourcePolicy func (c *Glue) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { @@ -14553,14 +14516,13 @@ const opPutSchemaVersionMetadata = "PutSchemaVersionMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutSchemaVersionMetadataRequest method. +// req, resp := client.PutSchemaVersionMetadataRequest(params) // -// // Example sending a request using the PutSchemaVersionMetadataRequest method. -// req, resp := client.PutSchemaVersionMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutSchemaVersionMetadata func (c *Glue) PutSchemaVersionMetadataRequest(input *PutSchemaVersionMetadataInput) (req *request.Request, output *PutSchemaVersionMetadataOutput) { @@ -14593,20 +14555,21 @@ func (c *Glue) PutSchemaVersionMetadataRequest(input *PutSchemaVersionMetadataIn // API operation PutSchemaVersionMetadata for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. +// +// - AccessDeniedException +// Access to a resource was denied. // -// * AlreadyExistsException -// A resource to be created or added already exists. +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutSchemaVersionMetadata func (c *Glue) PutSchemaVersionMetadata(input *PutSchemaVersionMetadataInput) (*PutSchemaVersionMetadataOutput, error) { @@ -14646,14 +14609,13 @@ const opPutWorkflowRunProperties = "PutWorkflowRunProperties" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutWorkflowRunPropertiesRequest method. +// req, resp := client.PutWorkflowRunPropertiesRequest(params) // -// // Example sending a request using the PutWorkflowRunPropertiesRequest method. -// req, resp := client.PutWorkflowRunPropertiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunProperties func (c *Glue) PutWorkflowRunPropertiesRequest(input *PutWorkflowRunPropertiesInput) (req *request.Request, output *PutWorkflowRunPropertiesOutput) { @@ -14687,26 +14649,27 @@ func (c *Glue) PutWorkflowRunPropertiesRequest(input *PutWorkflowRunPropertiesIn // API operation PutWorkflowRunProperties for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// A resource to be created or added already exists. // -// * EntityNotFoundException -// A specified entity does not exist +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. +// +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/PutWorkflowRunProperties func (c *Glue) PutWorkflowRunProperties(input *PutWorkflowRunPropertiesInput) (*PutWorkflowRunPropertiesOutput, error) { @@ -14746,14 +14709,13 @@ const opQuerySchemaVersionMetadata = "QuerySchemaVersionMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the QuerySchemaVersionMetadataRequest method. +// req, resp := client.QuerySchemaVersionMetadataRequest(params) // -// // Example sending a request using the QuerySchemaVersionMetadataRequest method. -// req, resp := client.QuerySchemaVersionMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/QuerySchemaVersionMetadata func (c *Glue) QuerySchemaVersionMetadataRequest(input *QuerySchemaVersionMetadataInput) (req *request.Request, output *QuerySchemaVersionMetadataOutput) { @@ -14784,14 +14746,15 @@ func (c *Glue) QuerySchemaVersionMetadataRequest(input *QuerySchemaVersionMetada // API operation QuerySchemaVersionMetadata for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. +// +// - AccessDeniedException +// Access to a resource was denied. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/QuerySchemaVersionMetadata func (c *Glue) QuerySchemaVersionMetadata(input *QuerySchemaVersionMetadataInput) (*QuerySchemaVersionMetadataOutput, error) { @@ -14831,14 +14794,13 @@ const opRegisterSchemaVersion = "RegisterSchemaVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterSchemaVersionRequest method. +// req, resp := client.RegisterSchemaVersionRequest(params) // -// // Example sending a request using the RegisterSchemaVersionRequest method. -// req, resp := client.RegisterSchemaVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegisterSchemaVersion func (c *Glue) RegisterSchemaVersionRequest(input *RegisterSchemaVersionInput) (req *request.Request, output *RegisterSchemaVersionOutput) { @@ -14881,23 +14843,24 @@ func (c *Glue) RegisterSchemaVersionRequest(input *RegisterSchemaVersionInput) ( // API operation RegisterSchemaVersion for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. +// +// - AccessDeniedException +// Access to a resource was denied. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RegisterSchemaVersion func (c *Glue) RegisterSchemaVersion(input *RegisterSchemaVersionInput) (*RegisterSchemaVersionOutput, error) { @@ -14937,14 +14900,13 @@ const opRemoveSchemaVersionMetadata = "RemoveSchemaVersionMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveSchemaVersionMetadataRequest method. +// req, resp := client.RemoveSchemaVersionMetadataRequest(params) // -// // Example sending a request using the RemoveSchemaVersionMetadataRequest method. -// req, resp := client.RemoveSchemaVersionMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RemoveSchemaVersionMetadata func (c *Glue) RemoveSchemaVersionMetadataRequest(input *RemoveSchemaVersionMetadataInput) (req *request.Request, output *RemoveSchemaVersionMetadataOutput) { @@ -14976,14 +14938,15 @@ func (c *Glue) RemoveSchemaVersionMetadataRequest(input *RemoveSchemaVersionMeta // API operation RemoveSchemaVersionMetadata for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - AccessDeniedException +// Access to a resource was denied. +// +// - EntityNotFoundException +// A specified entity does not exist // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RemoveSchemaVersionMetadata func (c *Glue) RemoveSchemaVersionMetadata(input *RemoveSchemaVersionMetadataInput) (*RemoveSchemaVersionMetadataOutput, error) { @@ -15023,14 +14986,13 @@ const opResetJobBookmark = "ResetJobBookmark" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetJobBookmarkRequest method. +// req, resp := client.ResetJobBookmarkRequest(params) // -// // Example sending a request using the ResetJobBookmarkRequest method. -// req, resp := client.ResetJobBookmarkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark func (c *Glue) ResetJobBookmarkRequest(input *ResetJobBookmarkInput) (req *request.Request, output *ResetJobBookmarkOutput) { @@ -15061,17 +15023,18 @@ func (c *Glue) ResetJobBookmarkRequest(input *ResetJobBookmarkInput) (req *reque // API operation ResetJobBookmark for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResetJobBookmark func (c *Glue) ResetJobBookmark(input *ResetJobBookmarkInput) (*ResetJobBookmarkOutput, error) { @@ -15111,14 +15074,13 @@ const opResumeWorkflowRun = "ResumeWorkflowRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResumeWorkflowRunRequest method. +// req, resp := client.ResumeWorkflowRunRequest(params) // -// // Example sending a request using the ResumeWorkflowRunRequest method. -// req, resp := client.ResumeWorkflowRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResumeWorkflowRun func (c *Glue) ResumeWorkflowRunRequest(input *ResumeWorkflowRunInput) (req *request.Request, output *ResumeWorkflowRunOutput) { @@ -15151,23 +15113,24 @@ func (c *Glue) ResumeWorkflowRunRequest(input *ResumeWorkflowRunInput) (req *req // API operation ResumeWorkflowRun for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentRunsExceededException -// Too many jobs are being run concurrently. +// - ConcurrentRunsExceededException +// Too many jobs are being run concurrently. // -// * IllegalWorkflowStateException -// The workflow is in an invalid state to perform a requested operation. +// - IllegalWorkflowStateException +// The workflow is in an invalid state to perform a requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ResumeWorkflowRun func (c *Glue) ResumeWorkflowRun(input *ResumeWorkflowRunInput) (*ResumeWorkflowRunOutput, error) { @@ -15207,14 +15170,13 @@ const opRunStatement = "RunStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RunStatementRequest method. +// req, resp := client.RunStatementRequest(params) // -// // Example sending a request using the RunStatementRequest method. -// req, resp := client.RunStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RunStatement func (c *Glue) RunStatementRequest(input *RunStatementInput) (req *request.Request, output *RunStatementOutput) { @@ -15245,29 +15207,30 @@ func (c *Glue) RunStatementRequest(input *RunStatementInput) (req *request.Reque // API operation RunStatement for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * AccessDeniedException -// Access to a resource was denied. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - AccessDeniedException +// Access to a resource was denied. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - OperationTimeoutException +// The operation timed out. // -// * ValidationException -// A value could not be validated. +// - InvalidInputException +// The input provided was not valid. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ValidationException +// A value could not be validated. // -// * IllegalSessionStateException -// The session is in an invalid state to perform a requested operation. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. +// +// - IllegalSessionStateException +// The session is in an invalid state to perform a requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RunStatement func (c *Glue) RunStatement(input *RunStatementInput) (*RunStatementOutput, error) { @@ -15307,14 +15270,13 @@ const opSearchTables = "SearchTables" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchTablesRequest method. +// req, resp := client.SearchTablesRequest(params) // -// // Example sending a request using the SearchTablesRequest method. -// req, resp := client.SearchTablesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables func (c *Glue) SearchTablesRequest(input *SearchTablesInput) (req *request.Request, output *SearchTablesOutput) { @@ -15360,14 +15322,15 @@ func (c *Glue) SearchTablesRequest(input *SearchTablesInput) (req *request.Reque // API operation SearchTables for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/SearchTables func (c *Glue) SearchTables(input *SearchTablesInput) (*SearchTablesOutput, error) { @@ -15399,15 +15362,14 @@ func (c *Glue) SearchTablesWithContext(ctx aws.Context, input *SearchTablesInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchTables operation. -// pageNum := 0 -// err := client.SearchTablesPages(params, -// func(page *glue.SearchTablesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchTables operation. +// pageNum := 0 +// err := client.SearchTablesPages(params, +// func(page *glue.SearchTablesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Glue) SearchTablesPages(input *SearchTablesInput, fn func(*SearchTablesOutput, bool) bool) error { return c.SearchTablesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15459,14 +15421,13 @@ const opStartBlueprintRun = "StartBlueprintRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartBlueprintRunRequest method. +// req, resp := client.StartBlueprintRunRequest(params) // -// // Example sending a request using the StartBlueprintRunRequest method. -// req, resp := client.StartBlueprintRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartBlueprintRun func (c *Glue) StartBlueprintRunRequest(input *StartBlueprintRunInput) (req *request.Request, output *StartBlueprintRunOutput) { @@ -15497,22 +15458,23 @@ func (c *Glue) StartBlueprintRunRequest(input *StartBlueprintRunInput) (req *req // API operation StartBlueprintRun for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. +// +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * IllegalBlueprintStateException +// - IllegalBlueprintStateException // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartBlueprintRun func (c *Glue) StartBlueprintRun(input *StartBlueprintRunInput) (*StartBlueprintRunOutput, error) { @@ -15552,14 +15514,13 @@ const opStartCrawler = "StartCrawler" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartCrawlerRequest method. +// req, resp := client.StartCrawlerRequest(params) // -// // Example sending a request using the StartCrawlerRequest method. -// req, resp := client.StartCrawlerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler func (c *Glue) StartCrawlerRequest(input *StartCrawlerInput) (req *request.Request, output *StartCrawlerOutput) { @@ -15592,14 +15553,15 @@ func (c *Glue) StartCrawlerRequest(input *StartCrawlerInput) (req *request.Reque // API operation StartCrawler for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * CrawlerRunningException -// The operation cannot be performed because the crawler is already running. +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - CrawlerRunningException +// The operation cannot be performed because the crawler is already running. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawler func (c *Glue) StartCrawler(input *StartCrawlerInput) (*StartCrawlerOutput, error) { @@ -15639,14 +15601,13 @@ const opStartCrawlerSchedule = "StartCrawlerSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartCrawlerScheduleRequest method. +// req, resp := client.StartCrawlerScheduleRequest(params) // -// // Example sending a request using the StartCrawlerScheduleRequest method. -// req, resp := client.StartCrawlerScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule func (c *Glue) StartCrawlerScheduleRequest(input *StartCrawlerScheduleInput) (req *request.Request, output *StartCrawlerScheduleOutput) { @@ -15679,20 +15640,21 @@ func (c *Glue) StartCrawlerScheduleRequest(input *StartCrawlerScheduleInput) (re // API operation StartCrawlerSchedule for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * SchedulerRunningException -// The specified scheduler is already running. +// - EntityNotFoundException +// A specified entity does not exist +// +// - SchedulerRunningException +// The specified scheduler is already running. // -// * SchedulerTransitioningException -// The specified scheduler is transitioning. +// - SchedulerTransitioningException +// The specified scheduler is transitioning. // -// * NoScheduleException -// There is no applicable schedule. +// - NoScheduleException +// There is no applicable schedule. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartCrawlerSchedule func (c *Glue) StartCrawlerSchedule(input *StartCrawlerScheduleInput) (*StartCrawlerScheduleOutput, error) { @@ -15732,14 +15694,13 @@ const opStartExportLabelsTaskRun = "StartExportLabelsTaskRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartExportLabelsTaskRunRequest method. +// req, resp := client.StartExportLabelsTaskRunRequest(params) // -// // Example sending a request using the StartExportLabelsTaskRunRequest method. -// req, resp := client.StartExportLabelsTaskRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartExportLabelsTaskRun func (c *Glue) StartExportLabelsTaskRunRequest(input *StartExportLabelsTaskRunInput) (req *request.Request, output *StartExportLabelsTaskRunOutput) { @@ -15778,17 +15739,18 @@ func (c *Glue) StartExportLabelsTaskRunRequest(input *StartExportLabelsTaskRunIn // API operation StartExportLabelsTaskRun for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartExportLabelsTaskRun func (c *Glue) StartExportLabelsTaskRun(input *StartExportLabelsTaskRunInput) (*StartExportLabelsTaskRunOutput, error) { @@ -15828,14 +15790,13 @@ const opStartImportLabelsTaskRun = "StartImportLabelsTaskRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartImportLabelsTaskRunRequest method. +// req, resp := client.StartImportLabelsTaskRunRequest(params) // -// // Example sending a request using the StartImportLabelsTaskRunRequest method. -// req, resp := client.StartImportLabelsTaskRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartImportLabelsTaskRun func (c *Glue) StartImportLabelsTaskRunRequest(input *StartImportLabelsTaskRunInput) (req *request.Request, output *StartImportLabelsTaskRunOutput) { @@ -15891,20 +15852,21 @@ func (c *Glue) StartImportLabelsTaskRunRequest(input *StartImportLabelsTaskRunIn // API operation StartImportLabelsTaskRun for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. +// +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartImportLabelsTaskRun func (c *Glue) StartImportLabelsTaskRun(input *StartImportLabelsTaskRunInput) (*StartImportLabelsTaskRunOutput, error) { @@ -15944,14 +15906,13 @@ const opStartJobRun = "StartJobRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartJobRunRequest method. +// req, resp := client.StartJobRunRequest(params) // -// // Example sending a request using the StartJobRunRequest method. -// req, resp := client.StartJobRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun func (c *Glue) StartJobRunRequest(input *StartJobRunInput) (req *request.Request, output *StartJobRunOutput) { @@ -15982,23 +15943,24 @@ func (c *Glue) StartJobRunRequest(input *StartJobRunInput) (req *request.Request // API operation StartJobRun for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * ConcurrentRunsExceededException -// Too many jobs are being run concurrently. +// - ConcurrentRunsExceededException +// Too many jobs are being run concurrently. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartJobRun func (c *Glue) StartJobRun(input *StartJobRunInput) (*StartJobRunOutput, error) { @@ -16038,14 +16000,13 @@ const opStartMLEvaluationTaskRun = "StartMLEvaluationTaskRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMLEvaluationTaskRunRequest method. +// req, resp := client.StartMLEvaluationTaskRunRequest(params) // -// // Example sending a request using the StartMLEvaluationTaskRunRequest method. -// req, resp := client.StartMLEvaluationTaskRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLEvaluationTaskRun func (c *Glue) StartMLEvaluationTaskRunRequest(input *StartMLEvaluationTaskRunInput) (req *request.Request, output *StartMLEvaluationTaskRunOutput) { @@ -16083,23 +16044,24 @@ func (c *Glue) StartMLEvaluationTaskRunRequest(input *StartMLEvaluationTaskRunIn // API operation StartMLEvaluationTaskRun for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * ConcurrentRunsExceededException -// Too many jobs are being run concurrently. +// - ConcurrentRunsExceededException +// Too many jobs are being run concurrently. // -// * MLTransformNotReadyException -// The machine learning transform is not ready to run. +// - MLTransformNotReadyException +// The machine learning transform is not ready to run. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLEvaluationTaskRun func (c *Glue) StartMLEvaluationTaskRun(input *StartMLEvaluationTaskRunInput) (*StartMLEvaluationTaskRunOutput, error) { @@ -16139,14 +16101,13 @@ const opStartMLLabelingSetGenerationTaskRun = "StartMLLabelingSetGenerationTaskR // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMLLabelingSetGenerationTaskRunRequest method. +// req, resp := client.StartMLLabelingSetGenerationTaskRunRequest(params) // -// // Example sending a request using the StartMLLabelingSetGenerationTaskRunRequest method. -// req, resp := client.StartMLLabelingSetGenerationTaskRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLLabelingSetGenerationTaskRun func (c *Glue) StartMLLabelingSetGenerationTaskRunRequest(input *StartMLLabelingSetGenerationTaskRunInput) (req *request.Request, output *StartMLLabelingSetGenerationTaskRunOutput) { @@ -16190,20 +16151,21 @@ func (c *Glue) StartMLLabelingSetGenerationTaskRunRequest(input *StartMLLabeling // API operation StartMLLabelingSetGenerationTaskRun for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentRunsExceededException -// Too many jobs are being run concurrently. +// - InternalServiceException +// An internal service error occurred. +// +// - ConcurrentRunsExceededException +// Too many jobs are being run concurrently. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartMLLabelingSetGenerationTaskRun func (c *Glue) StartMLLabelingSetGenerationTaskRun(input *StartMLLabelingSetGenerationTaskRunInput) (*StartMLLabelingSetGenerationTaskRunOutput, error) { @@ -16243,14 +16205,13 @@ const opStartTrigger = "StartTrigger" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartTriggerRequest method. +// req, resp := client.StartTriggerRequest(params) // -// // Example sending a request using the StartTriggerRequest method. -// req, resp := client.StartTriggerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger func (c *Glue) StartTriggerRequest(input *StartTriggerInput) (req *request.Request, output *StartTriggerOutput) { @@ -16282,23 +16243,24 @@ func (c *Glue) StartTriggerRequest(input *StartTriggerInput) (req *request.Reque // API operation StartTrigger for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * ConcurrentRunsExceededException -// Too many jobs are being run concurrently. +// - ConcurrentRunsExceededException +// Too many jobs are being run concurrently. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartTrigger func (c *Glue) StartTrigger(input *StartTriggerInput) (*StartTriggerOutput, error) { @@ -16338,14 +16300,13 @@ const opStartWorkflowRun = "StartWorkflowRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartWorkflowRunRequest method. +// req, resp := client.StartWorkflowRunRequest(params) // -// // Example sending a request using the StartWorkflowRunRequest method. -// req, resp := client.StartWorkflowRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartWorkflowRun func (c *Glue) StartWorkflowRunRequest(input *StartWorkflowRunInput) (req *request.Request, output *StartWorkflowRunOutput) { @@ -16376,23 +16337,24 @@ func (c *Glue) StartWorkflowRunRequest(input *StartWorkflowRunInput) (req *reque // API operation StartWorkflowRun for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * ConcurrentRunsExceededException -// Too many jobs are being run concurrently. +// - ConcurrentRunsExceededException +// Too many jobs are being run concurrently. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StartWorkflowRun func (c *Glue) StartWorkflowRun(input *StartWorkflowRunInput) (*StartWorkflowRunOutput, error) { @@ -16432,14 +16394,13 @@ const opStopCrawler = "StopCrawler" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopCrawlerRequest method. +// req, resp := client.StopCrawlerRequest(params) // -// // Example sending a request using the StopCrawlerRequest method. -// req, resp := client.StopCrawlerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler func (c *Glue) StopCrawlerRequest(input *StopCrawlerInput) (req *request.Request, output *StopCrawlerOutput) { @@ -16471,17 +16432,18 @@ func (c *Glue) StopCrawlerRequest(input *StopCrawlerInput) (req *request.Request // API operation StopCrawler for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * CrawlerNotRunningException -// The specified crawler is not running. +// - EntityNotFoundException +// A specified entity does not exist // -// * CrawlerStoppingException -// The specified crawler is stopping. +// - CrawlerNotRunningException +// The specified crawler is not running. // -// * OperationTimeoutException -// The operation timed out. +// - CrawlerStoppingException +// The specified crawler is stopping. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawler func (c *Glue) StopCrawler(input *StopCrawlerInput) (*StopCrawlerOutput, error) { @@ -16521,14 +16483,13 @@ const opStopCrawlerSchedule = "StopCrawlerSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopCrawlerScheduleRequest method. +// req, resp := client.StopCrawlerScheduleRequest(params) // -// // Example sending a request using the StopCrawlerScheduleRequest method. -// req, resp := client.StopCrawlerScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule func (c *Glue) StopCrawlerScheduleRequest(input *StopCrawlerScheduleInput) (req *request.Request, output *StopCrawlerScheduleOutput) { @@ -16561,17 +16522,18 @@ func (c *Glue) StopCrawlerScheduleRequest(input *StopCrawlerScheduleInput) (req // API operation StopCrawlerSchedule for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * SchedulerNotRunningException -// The specified scheduler is not running. +// - EntityNotFoundException +// A specified entity does not exist // -// * SchedulerTransitioningException -// The specified scheduler is transitioning. +// - SchedulerNotRunningException +// The specified scheduler is not running. // -// * OperationTimeoutException -// The operation timed out. +// - SchedulerTransitioningException +// The specified scheduler is transitioning. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopCrawlerSchedule func (c *Glue) StopCrawlerSchedule(input *StopCrawlerScheduleInput) (*StopCrawlerScheduleOutput, error) { @@ -16611,14 +16573,13 @@ const opStopSession = "StopSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopSessionRequest method. +// req, resp := client.StopSessionRequest(params) // -// // Example sending a request using the StopSessionRequest method. -// req, resp := client.StopSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopSession func (c *Glue) StopSessionRequest(input *StopSessionInput) (req *request.Request, output *StopSessionOutput) { @@ -16649,23 +16610,24 @@ func (c *Glue) StopSessionRequest(input *StopSessionInput) (req *request.Request // API operation StopSession for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to a resource was denied. // -// * InternalServiceException -// An internal service error occurred. +// - AccessDeniedException +// Access to a resource was denied. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - OperationTimeoutException +// The operation timed out. // -// * IllegalSessionStateException -// The session is in an invalid state to perform a requested operation. +// - InvalidInputException +// The input provided was not valid. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - IllegalSessionStateException +// The session is in an invalid state to perform a requested operation. +// +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopSession func (c *Glue) StopSession(input *StopSessionInput) (*StopSessionOutput, error) { @@ -16705,14 +16667,13 @@ const opStopTrigger = "StopTrigger" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopTriggerRequest method. +// req, resp := client.StopTriggerRequest(params) // -// // Example sending a request using the StopTriggerRequest method. -// req, resp := client.StopTriggerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger func (c *Glue) StopTriggerRequest(input *StopTriggerInput) (req *request.Request, output *StopTriggerOutput) { @@ -16743,20 +16704,21 @@ func (c *Glue) StopTriggerRequest(input *StopTriggerInput) (req *request.Request // API operation StopTrigger for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopTrigger func (c *Glue) StopTrigger(input *StopTriggerInput) (*StopTriggerOutput, error) { @@ -16796,14 +16758,13 @@ const opStopWorkflowRun = "StopWorkflowRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopWorkflowRunRequest method. +// req, resp := client.StopWorkflowRunRequest(params) // -// // Example sending a request using the StopWorkflowRunRequest method. -// req, resp := client.StopWorkflowRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRun func (c *Glue) StopWorkflowRunRequest(input *StopWorkflowRunInput) (req *request.Request, output *StopWorkflowRunOutput) { @@ -16835,20 +16796,21 @@ func (c *Glue) StopWorkflowRunRequest(input *StopWorkflowRunInput) (req *request // API operation StopWorkflowRun for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * IllegalWorkflowStateException -// The workflow is in an invalid state to perform a requested operation. +// - IllegalWorkflowStateException +// The workflow is in an invalid state to perform a requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/StopWorkflowRun func (c *Glue) StopWorkflowRun(input *StopWorkflowRunInput) (*StopWorkflowRunOutput, error) { @@ -16888,14 +16850,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TagResource func (c *Glue) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -16929,17 +16890,18 @@ func (c *Glue) TagResourceRequest(input *TagResourceInput) (req *request.Request // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * EntityNotFoundException -// A specified entity does not exist +// - OperationTimeoutException +// The operation timed out. +// +// - EntityNotFoundException +// A specified entity does not exist // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TagResource func (c *Glue) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -16979,14 +16941,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UntagResource func (c *Glue) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -17018,17 +16979,18 @@ func (c *Glue) UntagResourceRequest(input *UntagResourceInput) (req *request.Req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UntagResource func (c *Glue) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -17068,14 +17030,13 @@ const opUpdateBlueprint = "UpdateBlueprint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBlueprintRequest method. +// req, resp := client.UpdateBlueprintRequest(params) // -// // Example sending a request using the UpdateBlueprintRequest method. -// req, resp := client.UpdateBlueprintRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateBlueprint func (c *Glue) UpdateBlueprintRequest(input *UpdateBlueprintInput) (req *request.Request, output *UpdateBlueprintOutput) { @@ -17106,22 +17067,23 @@ func (c *Glue) UpdateBlueprintRequest(input *UpdateBlueprintInput) (req *request // API operation UpdateBlueprint for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - EntityNotFoundException +// A specified entity does not exist +// +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * IllegalBlueprintStateException +// - IllegalBlueprintStateException // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateBlueprint func (c *Glue) UpdateBlueprint(input *UpdateBlueprintInput) (*UpdateBlueprintOutput, error) { @@ -17161,14 +17123,13 @@ const opUpdateClassifier = "UpdateClassifier" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateClassifierRequest method. +// req, resp := client.UpdateClassifierRequest(params) // -// // Example sending a request using the UpdateClassifierRequest method. -// req, resp := client.UpdateClassifierRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier func (c *Glue) UpdateClassifierRequest(input *UpdateClassifierInput) (req *request.Request, output *UpdateClassifierOutput) { @@ -17201,17 +17162,18 @@ func (c *Glue) UpdateClassifierRequest(input *UpdateClassifierInput) (req *reque // API operation UpdateClassifier for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * VersionMismatchException -// There was a version conflict. +// - InvalidInputException +// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - VersionMismatchException +// There was a version conflict. // -// * OperationTimeoutException -// The operation timed out. +// - EntityNotFoundException +// A specified entity does not exist +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateClassifier func (c *Glue) UpdateClassifier(input *UpdateClassifierInput) (*UpdateClassifierOutput, error) { @@ -17251,14 +17213,13 @@ const opUpdateColumnStatisticsForPartition = "UpdateColumnStatisticsForPartition // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateColumnStatisticsForPartitionRequest method. +// req, resp := client.UpdateColumnStatisticsForPartitionRequest(params) // -// // Example sending a request using the UpdateColumnStatisticsForPartitionRequest method. -// req, resp := client.UpdateColumnStatisticsForPartitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForPartition func (c *Glue) UpdateColumnStatisticsForPartitionRequest(input *UpdateColumnStatisticsForPartitionInput) (req *request.Request, output *UpdateColumnStatisticsForPartitionOutput) { @@ -17292,20 +17253,21 @@ func (c *Glue) UpdateColumnStatisticsForPartitionRequest(input *UpdateColumnStat // API operation UpdateColumnStatisticsForPartition for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForPartition func (c *Glue) UpdateColumnStatisticsForPartition(input *UpdateColumnStatisticsForPartitionInput) (*UpdateColumnStatisticsForPartitionOutput, error) { @@ -17345,14 +17307,13 @@ const opUpdateColumnStatisticsForTable = "UpdateColumnStatisticsForTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateColumnStatisticsForTableRequest method. +// req, resp := client.UpdateColumnStatisticsForTableRequest(params) // -// // Example sending a request using the UpdateColumnStatisticsForTableRequest method. -// req, resp := client.UpdateColumnStatisticsForTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForTable func (c *Glue) UpdateColumnStatisticsForTableRequest(input *UpdateColumnStatisticsForTableInput) (req *request.Request, output *UpdateColumnStatisticsForTableOutput) { @@ -17386,20 +17347,21 @@ func (c *Glue) UpdateColumnStatisticsForTableRequest(input *UpdateColumnStatisti // API operation UpdateColumnStatisticsForTable for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateColumnStatisticsForTable func (c *Glue) UpdateColumnStatisticsForTable(input *UpdateColumnStatisticsForTableInput) (*UpdateColumnStatisticsForTableOutput, error) { @@ -17439,14 +17401,13 @@ const opUpdateConnection = "UpdateConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConnectionRequest method. +// req, resp := client.UpdateConnectionRequest(params) // -// // Example sending a request using the UpdateConnectionRequest method. -// req, resp := client.UpdateConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection func (c *Glue) UpdateConnectionRequest(input *UpdateConnectionInput) (req *request.Request, output *UpdateConnectionOutput) { @@ -17478,20 +17439,21 @@ func (c *Glue) UpdateConnectionRequest(input *UpdateConnectionInput) (req *reque // API operation UpdateConnection for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - EntityNotFoundException +// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - InvalidInputException +// The input provided was not valid. +// +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateConnection func (c *Glue) UpdateConnection(input *UpdateConnectionInput) (*UpdateConnectionOutput, error) { @@ -17531,14 +17493,13 @@ const opUpdateCrawler = "UpdateCrawler" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCrawlerRequest method. +// req, resp := client.UpdateCrawlerRequest(params) // -// // Example sending a request using the UpdateCrawlerRequest method. -// req, resp := client.UpdateCrawlerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler func (c *Glue) UpdateCrawlerRequest(input *UpdateCrawlerInput) (req *request.Request, output *UpdateCrawlerOutput) { @@ -17571,20 +17532,21 @@ func (c *Glue) UpdateCrawlerRequest(input *UpdateCrawlerInput) (req *request.Req // API operation UpdateCrawler for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * VersionMismatchException -// There was a version conflict. +// - InvalidInputException +// The input provided was not valid. +// +// - VersionMismatchException +// There was a version conflict. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * CrawlerRunningException -// The operation cannot be performed because the crawler is already running. +// - CrawlerRunningException +// The operation cannot be performed because the crawler is already running. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawler func (c *Glue) UpdateCrawler(input *UpdateCrawlerInput) (*UpdateCrawlerOutput, error) { @@ -17624,14 +17586,13 @@ const opUpdateCrawlerSchedule = "UpdateCrawlerSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCrawlerScheduleRequest method. +// req, resp := client.UpdateCrawlerScheduleRequest(params) // -// // Example sending a request using the UpdateCrawlerScheduleRequest method. -// req, resp := client.UpdateCrawlerScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule func (c *Glue) UpdateCrawlerScheduleRequest(input *UpdateCrawlerScheduleInput) (req *request.Request, output *UpdateCrawlerScheduleOutput) { @@ -17663,20 +17624,21 @@ func (c *Glue) UpdateCrawlerScheduleRequest(input *UpdateCrawlerScheduleInput) ( // API operation UpdateCrawlerSchedule for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * VersionMismatchException -// There was a version conflict. +// - VersionMismatchException +// There was a version conflict. // -// * SchedulerTransitioningException -// The specified scheduler is transitioning. +// - SchedulerTransitioningException +// The specified scheduler is transitioning. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateCrawlerSchedule func (c *Glue) UpdateCrawlerSchedule(input *UpdateCrawlerScheduleInput) (*UpdateCrawlerScheduleOutput, error) { @@ -17716,14 +17678,13 @@ const opUpdateDatabase = "UpdateDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDatabaseRequest method. +// req, resp := client.UpdateDatabaseRequest(params) // -// // Example sending a request using the UpdateDatabaseRequest method. -// req, resp := client.UpdateDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase func (c *Glue) UpdateDatabaseRequest(input *UpdateDatabaseInput) (req *request.Request, output *UpdateDatabaseOutput) { @@ -17755,23 +17716,24 @@ func (c *Glue) UpdateDatabaseRequest(input *UpdateDatabaseInput) (req *request.R // API operation UpdateDatabase for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * EncryptionException -// An encryption operation failed. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - EncryptionException +// An encryption operation failed. +// +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDatabase func (c *Glue) UpdateDatabase(input *UpdateDatabaseInput) (*UpdateDatabaseOutput, error) { @@ -17811,14 +17773,13 @@ const opUpdateDevEndpoint = "UpdateDevEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDevEndpointRequest method. +// req, resp := client.UpdateDevEndpointRequest(params) // -// // Example sending a request using the UpdateDevEndpointRequest method. -// req, resp := client.UpdateDevEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint func (c *Glue) UpdateDevEndpointRequest(input *UpdateDevEndpointInput) (req *request.Request, output *UpdateDevEndpointOutput) { @@ -17850,20 +17811,21 @@ func (c *Glue) UpdateDevEndpointRequest(input *UpdateDevEndpointInput) (req *req // API operation UpdateDevEndpoint for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * ValidationException -// A value could not be validated. +// - ValidationException +// A value could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateDevEndpoint func (c *Glue) UpdateDevEndpoint(input *UpdateDevEndpointInput) (*UpdateDevEndpointOutput, error) { @@ -17903,14 +17865,13 @@ const opUpdateJob = "UpdateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateJobRequest method. +// req, resp := client.UpdateJobRequest(params) // -// // Example sending a request using the UpdateJobRequest method. -// req, resp := client.UpdateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob func (c *Glue) UpdateJobRequest(input *UpdateJobInput) (req *request.Request, output *UpdateJobOutput) { @@ -17941,20 +17902,21 @@ func (c *Glue) UpdateJobRequest(input *UpdateJobInput) (req *request.Request, ou // API operation UpdateJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateJob func (c *Glue) UpdateJob(input *UpdateJobInput) (*UpdateJobOutput, error) { @@ -17994,14 +17956,13 @@ const opUpdateMLTransform = "UpdateMLTransform" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMLTransformRequest method. +// req, resp := client.UpdateMLTransformRequest(params) // -// // Example sending a request using the UpdateMLTransformRequest method. -// req, resp := client.UpdateMLTransformRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateMLTransform func (c *Glue) UpdateMLTransformRequest(input *UpdateMLTransformInput) (req *request.Request, output *UpdateMLTransformOutput) { @@ -18037,20 +17998,21 @@ func (c *Glue) UpdateMLTransformRequest(input *UpdateMLTransformInput) (req *req // API operation UpdateMLTransform for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - OperationTimeoutException +// The operation timed out. // -// * AccessDeniedException -// Access to a resource was denied. +// - InternalServiceException +// An internal service error occurred. +// +// - AccessDeniedException +// Access to a resource was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateMLTransform func (c *Glue) UpdateMLTransform(input *UpdateMLTransformInput) (*UpdateMLTransformOutput, error) { @@ -18090,14 +18052,13 @@ const opUpdatePartition = "UpdatePartition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePartitionRequest method. +// req, resp := client.UpdatePartitionRequest(params) // -// // Example sending a request using the UpdatePartitionRequest method. -// req, resp := client.UpdatePartitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition func (c *Glue) UpdatePartitionRequest(input *UpdatePartitionInput) (req *request.Request, output *UpdatePartitionOutput) { @@ -18129,20 +18090,21 @@ func (c *Glue) UpdatePartitionRequest(input *UpdatePartitionInput) (req *request // API operation UpdatePartition for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdatePartition func (c *Glue) UpdatePartition(input *UpdatePartitionInput) (*UpdatePartitionOutput, error) { @@ -18182,14 +18144,13 @@ const opUpdateRegistry = "UpdateRegistry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRegistryRequest method. +// req, resp := client.UpdateRegistryRequest(params) // -// // Example sending a request using the UpdateRegistryRequest method. -// req, resp := client.UpdateRegistryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateRegistry func (c *Glue) UpdateRegistryRequest(input *UpdateRegistryInput) (req *request.Request, output *UpdateRegistryOutput) { @@ -18222,20 +18183,21 @@ func (c *Glue) UpdateRegistryRequest(input *UpdateRegistryInput) (req *request.R // API operation UpdateRegistry for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. +// +// - AccessDeniedException +// Access to a resource was denied. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateRegistry func (c *Glue) UpdateRegistry(input *UpdateRegistryInput) (*UpdateRegistryOutput, error) { @@ -18275,14 +18237,13 @@ const opUpdateSchema = "UpdateSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSchemaRequest method. +// req, resp := client.UpdateSchemaRequest(params) // -// // Example sending a request using the UpdateSchemaRequest method. -// req, resp := client.UpdateSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateSchema func (c *Glue) UpdateSchemaRequest(input *UpdateSchemaInput) (req *request.Request, output *UpdateSchemaOutput) { @@ -18325,20 +18286,21 @@ func (c *Glue) UpdateSchemaRequest(input *UpdateSchemaInput) (req *request.Reque // API operation UpdateSchema for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - AccessDeniedException +// Access to a resource was denied. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. +// +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateSchema func (c *Glue) UpdateSchema(input *UpdateSchemaInput) (*UpdateSchemaOutput, error) { @@ -18378,14 +18340,13 @@ const opUpdateTable = "UpdateTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTableRequest method. +// req, resp := client.UpdateTableRequest(params) // -// // Example sending a request using the UpdateTableRequest method. -// req, resp := client.UpdateTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable func (c *Glue) UpdateTableRequest(input *UpdateTableInput) (req *request.Request, output *UpdateTableOutput) { @@ -18417,29 +18378,30 @@ func (c *Glue) UpdateTableRequest(input *UpdateTableInput) (req *request.Request // API operation UpdateTable for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * EncryptionException -// An encryption operation failed. +// - EncryptionException +// An encryption operation failed. // -// * ResourceNotReadyException -// A resource was not ready for a transaction. +// - ResourceNotReadyException +// A resource was not ready for a transaction. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTable func (c *Glue) UpdateTable(input *UpdateTableInput) (*UpdateTableOutput, error) { @@ -18479,14 +18441,13 @@ const opUpdateTrigger = "UpdateTrigger" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTriggerRequest method. +// req, resp := client.UpdateTriggerRequest(params) // -// // Example sending a request using the UpdateTriggerRequest method. -// req, resp := client.UpdateTriggerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger func (c *Glue) UpdateTriggerRequest(input *UpdateTriggerInput) (req *request.Request, output *UpdateTriggerOutput) { @@ -18517,20 +18478,21 @@ func (c *Glue) UpdateTriggerRequest(input *UpdateTriggerInput) (req *request.Req // API operation UpdateTrigger for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateTrigger func (c *Glue) UpdateTrigger(input *UpdateTriggerInput) (*UpdateTriggerOutput, error) { @@ -18570,14 +18532,13 @@ const opUpdateUserDefinedFunction = "UpdateUserDefinedFunction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserDefinedFunctionRequest method. +// req, resp := client.UpdateUserDefinedFunctionRequest(params) // -// // Example sending a request using the UpdateUserDefinedFunctionRequest method. -// req, resp := client.UpdateUserDefinedFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction func (c *Glue) UpdateUserDefinedFunctionRequest(input *UpdateUserDefinedFunctionInput) (req *request.Request, output *UpdateUserDefinedFunctionOutput) { @@ -18609,20 +18570,21 @@ func (c *Glue) UpdateUserDefinedFunctionRequest(input *UpdateUserDefinedFunction // API operation UpdateUserDefinedFunction for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * EncryptionException -// An encryption operation failed. +// - OperationTimeoutException +// The operation timed out. +// +// - EncryptionException +// An encryption operation failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateUserDefinedFunction func (c *Glue) UpdateUserDefinedFunction(input *UpdateUserDefinedFunctionInput) (*UpdateUserDefinedFunctionOutput, error) { @@ -18662,14 +18624,13 @@ const opUpdateWorkflow = "UpdateWorkflow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWorkflowRequest method. +// req, resp := client.UpdateWorkflowRequest(params) // -// // Example sending a request using the UpdateWorkflowRequest method. -// req, resp := client.UpdateWorkflowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflow func (c *Glue) UpdateWorkflowRequest(input *UpdateWorkflowInput) (req *request.Request, output *UpdateWorkflowOutput) { @@ -18700,20 +18661,21 @@ func (c *Glue) UpdateWorkflowRequest(input *UpdateWorkflowInput) (req *request.R // API operation UpdateWorkflow for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/UpdateWorkflow func (c *Glue) UpdateWorkflow(input *UpdateWorkflowInput) (*UpdateWorkflowOutput, error) { @@ -19431,17 +19393,17 @@ func (s *AuditContext) SetRequestedColumns(v []*string) *AuditContext { // the partitions at fault and try registering the index again. The most common // set of errors that can occur are categorized as follows: // -// * EncryptedPartitionError: The partitions are encrypted. +// - EncryptedPartitionError: The partitions are encrypted. // -// * InvalidPartitionTypeDataError: The partition value doesn't match the -// data type for that partition column. +// - InvalidPartitionTypeDataError: The partition value doesn't match the +// data type for that partition column. // -// * MissingPartitionValueError: The partitions are encrypted. +// - MissingPartitionValueError: The partitions are encrypted. // -// * UnsupportedPartitionCharacterError: Characters inside the partition -// value are not supported. For example: U+0000 , U+0001, U+0002. +// - UnsupportedPartitionCharacterError: Characters inside the partition +// value are not supported. For example: U+0000 , U+0001, U+0002. // -// * InternalError: Any error which does not belong to other error codes. +// - InternalError: Any error which does not belong to other error codes. type BackfillError struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/doc.go index c5e813f9aac9..376cd7bc3617 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/doc.go @@ -10,7 +10,7 @@ // See glue package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/glue/ // -// Using the Client +// # Using the Client // // To contact AWS Glue with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/glueiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/glueiface/interface.go index 9878f48ec4d8..83d7ba51d460 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/glueiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/glueiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Glue. -// func myFunc(svc glueiface.GlueAPI) bool { -// // Make svc.BatchCreatePartition request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Glue. +// func myFunc(svc glueiface.GlueAPI) bool { +// // Make svc.BatchCreatePartition request +// } // -// func main() { -// sess := session.New() -// svc := glue.New(sess) +// func main() { +// sess := session.New() +// svc := glue.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockGlueClient struct { -// glueiface.GlueAPI -// } -// func (m *mockGlueClient) BatchCreatePartition(input *glue.BatchCreatePartitionInput) (*glue.BatchCreatePartitionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockGlueClient struct { +// glueiface.GlueAPI +// } +// func (m *mockGlueClient) BatchCreatePartition(input *glue.BatchCreatePartitionInput) (*glue.BatchCreatePartitionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockGlueClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockGlueClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/service.go index 23983c1875e7..ad477bb69edc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/glue/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Glue client from just a session. -// svc := glue.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Glue client with additional configuration -// svc := glue.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Glue client from just a session. +// svc := glue.New(mySession) +// +// // Create a Glue client with additional configuration +// svc := glue.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Glue { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/api.go index 2672cbd07922..fdf3d4e75a40 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/api.go @@ -29,14 +29,13 @@ const opBatchDeleteRecipeVersion = "BatchDeleteRecipeVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteRecipeVersionRequest method. +// req, resp := client.BatchDeleteRecipeVersionRequest(params) // -// // Example sending a request using the BatchDeleteRecipeVersionRequest method. -// req, resp := client.BatchDeleteRecipeVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/BatchDeleteRecipeVersion func (c *GlueDataBrew) BatchDeleteRecipeVersionRequest(input *BatchDeleteRecipeVersionInput) (req *request.Request, output *BatchDeleteRecipeVersionOutput) { @@ -61,25 +60,25 @@ func (c *GlueDataBrew) BatchDeleteRecipeVersionRequest(input *BatchDeleteRecipeV // // The entire request will be rejected if: // -// * The recipe does not exist. +// - The recipe does not exist. // -// * There is an invalid version identifier in the list of versions. +// - There is an invalid version identifier in the list of versions. // -// * The version list is empty. +// - The version list is empty. // -// * The version list size exceeds 50. +// - The version list size exceeds 50. // -// * The version list contains duplicate entries. +// - The version list contains duplicate entries. // // The request will complete successfully, but with partial failures, if: // -// * A version does not exist. +// - A version does not exist. // -// * A version is being used by a job. +// - A version is being used by a job. // -// * You specify LATEST_WORKING, but it's being used by a project. +// - You specify LATEST_WORKING, but it's being used by a project. // -// * The version fails to be deleted. +// - The version fails to be deleted. // // The LATEST_WORKING version will only be deleted if the recipe has no other // versions. If you try to delete LATEST_WORKING while other versions exist @@ -94,14 +93,15 @@ func (c *GlueDataBrew) BatchDeleteRecipeVersionRequest(input *BatchDeleteRecipeV // API operation BatchDeleteRecipeVersion for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/BatchDeleteRecipeVersion func (c *GlueDataBrew) BatchDeleteRecipeVersion(input *BatchDeleteRecipeVersionInput) (*BatchDeleteRecipeVersionOutput, error) { @@ -141,14 +141,13 @@ const opCreateDataset = "CreateDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatasetRequest method. +// req, resp := client.CreateDatasetRequest(params) // -// // Example sending a request using the CreateDatasetRequest method. -// req, resp := client.CreateDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateDataset func (c *GlueDataBrew) CreateDatasetRequest(input *CreateDatasetInput) (req *request.Request, output *CreateDatasetOutput) { @@ -179,17 +178,18 @@ func (c *GlueDataBrew) CreateDatasetRequest(input *CreateDatasetInput) (req *req // API operation CreateDataset for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to the specified resource was denied. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - AccessDeniedException +// Access to the specified resource was denied. // -// * ServiceQuotaExceededException -// A service quota is exceeded. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ValidationException -// The input parameters for this request failed validation. +// - ServiceQuotaExceededException +// A service quota is exceeded. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateDataset func (c *GlueDataBrew) CreateDataset(input *CreateDatasetInput) (*CreateDatasetOutput, error) { @@ -229,14 +229,13 @@ const opCreateProfileJob = "CreateProfileJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProfileJobRequest method. +// req, resp := client.CreateProfileJobRequest(params) // -// // Example sending a request using the CreateProfileJobRequest method. -// req, resp := client.CreateProfileJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateProfileJob func (c *GlueDataBrew) CreateProfileJobRequest(input *CreateProfileJobInput) (req *request.Request, output *CreateProfileJobOutput) { @@ -267,20 +266,21 @@ func (c *GlueDataBrew) CreateProfileJobRequest(input *CreateProfileJobInput) (re // API operation CreateProfileJob for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to the specified resource was denied. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - AccessDeniedException +// Access to the specified resource was denied. +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ServiceQuotaExceededException -// A service quota is exceeded. +// - ServiceQuotaExceededException +// A service quota is exceeded. // -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateProfileJob func (c *GlueDataBrew) CreateProfileJob(input *CreateProfileJobInput) (*CreateProfileJobOutput, error) { @@ -320,14 +320,13 @@ const opCreateProject = "CreateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProjectRequest method. +// req, resp := client.CreateProjectRequest(params) // -// // Example sending a request using the CreateProjectRequest method. -// req, resp := client.CreateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateProject func (c *GlueDataBrew) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) { @@ -358,17 +357,18 @@ func (c *GlueDataBrew) CreateProjectRequest(input *CreateProjectInput) (req *req // API operation CreateProject for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * InternalServerException -// An internal service failure occurred. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - InternalServerException +// An internal service failure occurred. // -// * ServiceQuotaExceededException -// A service quota is exceeded. +// - ServiceQuotaExceededException +// A service quota is exceeded. // -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateProject func (c *GlueDataBrew) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) { @@ -408,14 +408,13 @@ const opCreateRecipe = "CreateRecipe" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRecipeRequest method. +// req, resp := client.CreateRecipeRequest(params) // -// // Example sending a request using the CreateRecipeRequest method. -// req, resp := client.CreateRecipeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateRecipe func (c *GlueDataBrew) CreateRecipeRequest(input *CreateRecipeInput) (req *request.Request, output *CreateRecipeOutput) { @@ -446,14 +445,15 @@ func (c *GlueDataBrew) CreateRecipeRequest(input *CreateRecipeInput) (req *reque // API operation CreateRecipe for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * ServiceQuotaExceededException -// A service quota is exceeded. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ValidationException -// The input parameters for this request failed validation. +// - ServiceQuotaExceededException +// A service quota is exceeded. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateRecipe func (c *GlueDataBrew) CreateRecipe(input *CreateRecipeInput) (*CreateRecipeOutput, error) { @@ -493,14 +493,13 @@ const opCreateRecipeJob = "CreateRecipeJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRecipeJobRequest method. +// req, resp := client.CreateRecipeJobRequest(params) // -// // Example sending a request using the CreateRecipeJobRequest method. -// req, resp := client.CreateRecipeJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateRecipeJob func (c *GlueDataBrew) CreateRecipeJobRequest(input *CreateRecipeJobInput) (req *request.Request, output *CreateRecipeJobOutput) { @@ -532,20 +531,21 @@ func (c *GlueDataBrew) CreateRecipeJobRequest(input *CreateRecipeJobInput) (req // API operation CreateRecipeJob for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to the specified resource was denied. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - AccessDeniedException +// Access to the specified resource was denied. +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ServiceQuotaExceededException -// A service quota is exceeded. +// - ServiceQuotaExceededException +// A service quota is exceeded. // -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateRecipeJob func (c *GlueDataBrew) CreateRecipeJob(input *CreateRecipeJobInput) (*CreateRecipeJobOutput, error) { @@ -585,14 +585,13 @@ const opCreateRuleset = "CreateRuleset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRulesetRequest method. +// req, resp := client.CreateRulesetRequest(params) // -// // Example sending a request using the CreateRulesetRequest method. -// req, resp := client.CreateRulesetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateRuleset func (c *GlueDataBrew) CreateRulesetRequest(input *CreateRulesetInput) (req *request.Request, output *CreateRulesetOutput) { @@ -624,14 +623,15 @@ func (c *GlueDataBrew) CreateRulesetRequest(input *CreateRulesetInput) (req *req // API operation CreateRuleset for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * ServiceQuotaExceededException -// A service quota is exceeded. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ServiceQuotaExceededException +// A service quota is exceeded. // -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateRuleset func (c *GlueDataBrew) CreateRuleset(input *CreateRulesetInput) (*CreateRulesetOutput, error) { @@ -671,14 +671,13 @@ const opCreateSchedule = "CreateSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateScheduleRequest method. +// req, resp := client.CreateScheduleRequest(params) // -// // Example sending a request using the CreateScheduleRequest method. -// req, resp := client.CreateScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateSchedule func (c *GlueDataBrew) CreateScheduleRequest(input *CreateScheduleInput) (req *request.Request, output *CreateScheduleOutput) { @@ -710,14 +709,15 @@ func (c *GlueDataBrew) CreateScheduleRequest(input *CreateScheduleInput) (req *r // API operation CreateSchedule for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * ServiceQuotaExceededException -// A service quota is exceeded. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ValidationException -// The input parameters for this request failed validation. +// - ServiceQuotaExceededException +// A service quota is exceeded. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateSchedule func (c *GlueDataBrew) CreateSchedule(input *CreateScheduleInput) (*CreateScheduleOutput, error) { @@ -757,14 +757,13 @@ const opDeleteDataset = "DeleteDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatasetRequest method. +// req, resp := client.DeleteDatasetRequest(params) // -// // Example sending a request using the DeleteDatasetRequest method. -// req, resp := client.DeleteDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DeleteDataset func (c *GlueDataBrew) DeleteDatasetRequest(input *DeleteDatasetInput) (req *request.Request, output *DeleteDatasetOutput) { @@ -795,14 +794,15 @@ func (c *GlueDataBrew) DeleteDatasetRequest(input *DeleteDatasetInput) (req *req // API operation DeleteDataset for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DeleteDataset func (c *GlueDataBrew) DeleteDataset(input *DeleteDatasetInput) (*DeleteDatasetOutput, error) { @@ -842,14 +842,13 @@ const opDeleteJob = "DeleteJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteJobRequest method. +// req, resp := client.DeleteJobRequest(params) // -// // Example sending a request using the DeleteJobRequest method. -// req, resp := client.DeleteJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DeleteJob func (c *GlueDataBrew) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, output *DeleteJobOutput) { @@ -880,14 +879,15 @@ func (c *GlueDataBrew) DeleteJobRequest(input *DeleteJobInput) (req *request.Req // API operation DeleteJob for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DeleteJob func (c *GlueDataBrew) DeleteJob(input *DeleteJobInput) (*DeleteJobOutput, error) { @@ -927,14 +927,13 @@ const opDeleteProject = "DeleteProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProjectRequest method. +// req, resp := client.DeleteProjectRequest(params) // -// // Example sending a request using the DeleteProjectRequest method. -// req, resp := client.DeleteProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DeleteProject func (c *GlueDataBrew) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) { @@ -965,14 +964,15 @@ func (c *GlueDataBrew) DeleteProjectRequest(input *DeleteProjectInput) (req *req // API operation DeleteProject for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DeleteProject func (c *GlueDataBrew) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) { @@ -1012,14 +1012,13 @@ const opDeleteRecipeVersion = "DeleteRecipeVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRecipeVersionRequest method. +// req, resp := client.DeleteRecipeVersionRequest(params) // -// // Example sending a request using the DeleteRecipeVersionRequest method. -// req, resp := client.DeleteRecipeVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DeleteRecipeVersion func (c *GlueDataBrew) DeleteRecipeVersionRequest(input *DeleteRecipeVersionInput) (req *request.Request, output *DeleteRecipeVersionOutput) { @@ -1050,14 +1049,15 @@ func (c *GlueDataBrew) DeleteRecipeVersionRequest(input *DeleteRecipeVersionInpu // API operation DeleteRecipeVersion for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DeleteRecipeVersion func (c *GlueDataBrew) DeleteRecipeVersion(input *DeleteRecipeVersionInput) (*DeleteRecipeVersionOutput, error) { @@ -1097,14 +1097,13 @@ const opDeleteRuleset = "DeleteRuleset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRulesetRequest method. +// req, resp := client.DeleteRulesetRequest(params) // -// // Example sending a request using the DeleteRulesetRequest method. -// req, resp := client.DeleteRulesetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DeleteRuleset func (c *GlueDataBrew) DeleteRulesetRequest(input *DeleteRulesetInput) (req *request.Request, output *DeleteRulesetOutput) { @@ -1135,14 +1134,15 @@ func (c *GlueDataBrew) DeleteRulesetRequest(input *DeleteRulesetInput) (req *req // API operation DeleteRuleset for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DeleteRuleset func (c *GlueDataBrew) DeleteRuleset(input *DeleteRulesetInput) (*DeleteRulesetOutput, error) { @@ -1182,14 +1182,13 @@ const opDeleteSchedule = "DeleteSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteScheduleRequest method. +// req, resp := client.DeleteScheduleRequest(params) // -// // Example sending a request using the DeleteScheduleRequest method. -// req, resp := client.DeleteScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DeleteSchedule func (c *GlueDataBrew) DeleteScheduleRequest(input *DeleteScheduleInput) (req *request.Request, output *DeleteScheduleOutput) { @@ -1220,11 +1219,12 @@ func (c *GlueDataBrew) DeleteScheduleRequest(input *DeleteScheduleInput) (req *r // API operation DeleteSchedule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DeleteSchedule func (c *GlueDataBrew) DeleteSchedule(input *DeleteScheduleInput) (*DeleteScheduleOutput, error) { @@ -1264,14 +1264,13 @@ const opDescribeDataset = "DescribeDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDatasetRequest method. +// req, resp := client.DescribeDatasetRequest(params) // -// // Example sending a request using the DescribeDatasetRequest method. -// req, resp := client.DescribeDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeDataset func (c *GlueDataBrew) DescribeDatasetRequest(input *DescribeDatasetInput) (req *request.Request, output *DescribeDatasetOutput) { @@ -1302,11 +1301,12 @@ func (c *GlueDataBrew) DescribeDatasetRequest(input *DescribeDatasetInput) (req // API operation DescribeDataset for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeDataset func (c *GlueDataBrew) DescribeDataset(input *DescribeDatasetInput) (*DescribeDatasetOutput, error) { @@ -1346,14 +1346,13 @@ const opDescribeJob = "DescribeJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobRequest method. +// req, resp := client.DescribeJobRequest(params) // -// // Example sending a request using the DescribeJobRequest method. -// req, resp := client.DescribeJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeJob func (c *GlueDataBrew) DescribeJobRequest(input *DescribeJobInput) (req *request.Request, output *DescribeJobOutput) { @@ -1384,11 +1383,12 @@ func (c *GlueDataBrew) DescribeJobRequest(input *DescribeJobInput) (req *request // API operation DescribeJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeJob func (c *GlueDataBrew) DescribeJob(input *DescribeJobInput) (*DescribeJobOutput, error) { @@ -1428,14 +1428,13 @@ const opDescribeJobRun = "DescribeJobRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobRunRequest method. +// req, resp := client.DescribeJobRunRequest(params) // -// // Example sending a request using the DescribeJobRunRequest method. -// req, resp := client.DescribeJobRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeJobRun func (c *GlueDataBrew) DescribeJobRunRequest(input *DescribeJobRunInput) (req *request.Request, output *DescribeJobRunOutput) { @@ -1466,11 +1465,12 @@ func (c *GlueDataBrew) DescribeJobRunRequest(input *DescribeJobRunInput) (req *r // API operation DescribeJobRun for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeJobRun func (c *GlueDataBrew) DescribeJobRun(input *DescribeJobRunInput) (*DescribeJobRunOutput, error) { @@ -1510,14 +1510,13 @@ const opDescribeProject = "DescribeProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProjectRequest method. +// req, resp := client.DescribeProjectRequest(params) // -// // Example sending a request using the DescribeProjectRequest method. -// req, resp := client.DescribeProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeProject func (c *GlueDataBrew) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput) { @@ -1548,11 +1547,12 @@ func (c *GlueDataBrew) DescribeProjectRequest(input *DescribeProjectInput) (req // API operation DescribeProject for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeProject func (c *GlueDataBrew) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error) { @@ -1592,14 +1592,13 @@ const opDescribeRecipe = "DescribeRecipe" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRecipeRequest method. +// req, resp := client.DescribeRecipeRequest(params) // -// // Example sending a request using the DescribeRecipeRequest method. -// req, resp := client.DescribeRecipeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeRecipe func (c *GlueDataBrew) DescribeRecipeRequest(input *DescribeRecipeInput) (req *request.Request, output *DescribeRecipeOutput) { @@ -1631,11 +1630,12 @@ func (c *GlueDataBrew) DescribeRecipeRequest(input *DescribeRecipeInput) (req *r // API operation DescribeRecipe for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeRecipe func (c *GlueDataBrew) DescribeRecipe(input *DescribeRecipeInput) (*DescribeRecipeOutput, error) { @@ -1675,14 +1675,13 @@ const opDescribeRuleset = "DescribeRuleset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRulesetRequest method. +// req, resp := client.DescribeRulesetRequest(params) // -// // Example sending a request using the DescribeRulesetRequest method. -// req, resp := client.DescribeRulesetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeRuleset func (c *GlueDataBrew) DescribeRulesetRequest(input *DescribeRulesetInput) (req *request.Request, output *DescribeRulesetOutput) { @@ -1713,11 +1712,12 @@ func (c *GlueDataBrew) DescribeRulesetRequest(input *DescribeRulesetInput) (req // API operation DescribeRuleset for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeRuleset func (c *GlueDataBrew) DescribeRuleset(input *DescribeRulesetInput) (*DescribeRulesetOutput, error) { @@ -1757,14 +1757,13 @@ const opDescribeSchedule = "DescribeSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScheduleRequest method. +// req, resp := client.DescribeScheduleRequest(params) // -// // Example sending a request using the DescribeScheduleRequest method. -// req, resp := client.DescribeScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeSchedule func (c *GlueDataBrew) DescribeScheduleRequest(input *DescribeScheduleInput) (req *request.Request, output *DescribeScheduleOutput) { @@ -1795,11 +1794,12 @@ func (c *GlueDataBrew) DescribeScheduleRequest(input *DescribeScheduleInput) (re // API operation DescribeSchedule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/DescribeSchedule func (c *GlueDataBrew) DescribeSchedule(input *DescribeScheduleInput) (*DescribeScheduleOutput, error) { @@ -1839,14 +1839,13 @@ const opListDatasets = "ListDatasets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetsRequest method. +// req, resp := client.ListDatasetsRequest(params) // -// // Example sending a request using the ListDatasetsRequest method. -// req, resp := client.ListDatasetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListDatasets func (c *GlueDataBrew) ListDatasetsRequest(input *ListDatasetsInput) (req *request.Request, output *ListDatasetsOutput) { @@ -1883,8 +1882,8 @@ func (c *GlueDataBrew) ListDatasetsRequest(input *ListDatasetsInput) (req *reque // API operation ListDatasets for usage and error information. // // Returned Error Types: -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListDatasets func (c *GlueDataBrew) ListDatasets(input *ListDatasetsInput) (*ListDatasetsOutput, error) { @@ -1916,15 +1915,14 @@ func (c *GlueDataBrew) ListDatasetsWithContext(ctx aws.Context, input *ListDatas // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatasets operation. -// pageNum := 0 -// err := client.ListDatasetsPages(params, -// func(page *gluedatabrew.ListDatasetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatasets operation. +// pageNum := 0 +// err := client.ListDatasetsPages(params, +// func(page *gluedatabrew.ListDatasetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlueDataBrew) ListDatasetsPages(input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool) error { return c.ListDatasetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1976,14 +1974,13 @@ const opListJobRuns = "ListJobRuns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobRunsRequest method. +// req, resp := client.ListJobRunsRequest(params) // -// // Example sending a request using the ListJobRunsRequest method. -// req, resp := client.ListJobRunsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListJobRuns func (c *GlueDataBrew) ListJobRunsRequest(input *ListJobRunsInput) (req *request.Request, output *ListJobRunsOutput) { @@ -2020,11 +2017,12 @@ func (c *GlueDataBrew) ListJobRunsRequest(input *ListJobRunsInput) (req *request // API operation ListJobRuns for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListJobRuns func (c *GlueDataBrew) ListJobRuns(input *ListJobRunsInput) (*ListJobRunsOutput, error) { @@ -2056,15 +2054,14 @@ func (c *GlueDataBrew) ListJobRunsWithContext(ctx aws.Context, input *ListJobRun // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobRuns operation. -// pageNum := 0 -// err := client.ListJobRunsPages(params, -// func(page *gluedatabrew.ListJobRunsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobRuns operation. +// pageNum := 0 +// err := client.ListJobRunsPages(params, +// func(page *gluedatabrew.ListJobRunsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlueDataBrew) ListJobRunsPages(input *ListJobRunsInput, fn func(*ListJobRunsOutput, bool) bool) error { return c.ListJobRunsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2116,14 +2113,13 @@ const opListJobs = "ListJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobsRequest method. +// req, resp := client.ListJobsRequest(params) // -// // Example sending a request using the ListJobsRequest method. -// req, resp := client.ListJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListJobs func (c *GlueDataBrew) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { @@ -2160,8 +2156,8 @@ func (c *GlueDataBrew) ListJobsRequest(input *ListJobsInput) (req *request.Reque // API operation ListJobs for usage and error information. // // Returned Error Types: -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListJobs func (c *GlueDataBrew) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { @@ -2193,15 +2189,14 @@ func (c *GlueDataBrew) ListJobsWithContext(ctx aws.Context, input *ListJobsInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobs operation. -// pageNum := 0 -// err := client.ListJobsPages(params, -// func(page *gluedatabrew.ListJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobs operation. +// pageNum := 0 +// err := client.ListJobsPages(params, +// func(page *gluedatabrew.ListJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlueDataBrew) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error { return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2253,14 +2248,13 @@ const opListProjects = "ListProjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProjectsRequest method. +// req, resp := client.ListProjectsRequest(params) // -// // Example sending a request using the ListProjectsRequest method. -// req, resp := client.ListProjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListProjects func (c *GlueDataBrew) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) { @@ -2297,8 +2291,8 @@ func (c *GlueDataBrew) ListProjectsRequest(input *ListProjectsInput) (req *reque // API operation ListProjects for usage and error information. // // Returned Error Types: -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListProjects func (c *GlueDataBrew) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error) { @@ -2330,15 +2324,14 @@ func (c *GlueDataBrew) ListProjectsWithContext(ctx aws.Context, input *ListProje // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProjects operation. -// pageNum := 0 -// err := client.ListProjectsPages(params, -// func(page *gluedatabrew.ListProjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProjects operation. +// pageNum := 0 +// err := client.ListProjectsPages(params, +// func(page *gluedatabrew.ListProjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlueDataBrew) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error { return c.ListProjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2390,14 +2383,13 @@ const opListRecipeVersions = "ListRecipeVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRecipeVersionsRequest method. +// req, resp := client.ListRecipeVersionsRequest(params) // -// // Example sending a request using the ListRecipeVersionsRequest method. -// req, resp := client.ListRecipeVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListRecipeVersions func (c *GlueDataBrew) ListRecipeVersionsRequest(input *ListRecipeVersionsInput) (req *request.Request, output *ListRecipeVersionsOutput) { @@ -2434,8 +2426,8 @@ func (c *GlueDataBrew) ListRecipeVersionsRequest(input *ListRecipeVersionsInput) // API operation ListRecipeVersions for usage and error information. // // Returned Error Types: -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListRecipeVersions func (c *GlueDataBrew) ListRecipeVersions(input *ListRecipeVersionsInput) (*ListRecipeVersionsOutput, error) { @@ -2467,15 +2459,14 @@ func (c *GlueDataBrew) ListRecipeVersionsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRecipeVersions operation. -// pageNum := 0 -// err := client.ListRecipeVersionsPages(params, -// func(page *gluedatabrew.ListRecipeVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRecipeVersions operation. +// pageNum := 0 +// err := client.ListRecipeVersionsPages(params, +// func(page *gluedatabrew.ListRecipeVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlueDataBrew) ListRecipeVersionsPages(input *ListRecipeVersionsInput, fn func(*ListRecipeVersionsOutput, bool) bool) error { return c.ListRecipeVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2527,14 +2518,13 @@ const opListRecipes = "ListRecipes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRecipesRequest method. +// req, resp := client.ListRecipesRequest(params) // -// // Example sending a request using the ListRecipesRequest method. -// req, resp := client.ListRecipesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListRecipes func (c *GlueDataBrew) ListRecipesRequest(input *ListRecipesInput) (req *request.Request, output *ListRecipesOutput) { @@ -2571,8 +2561,8 @@ func (c *GlueDataBrew) ListRecipesRequest(input *ListRecipesInput) (req *request // API operation ListRecipes for usage and error information. // // Returned Error Types: -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListRecipes func (c *GlueDataBrew) ListRecipes(input *ListRecipesInput) (*ListRecipesOutput, error) { @@ -2604,15 +2594,14 @@ func (c *GlueDataBrew) ListRecipesWithContext(ctx aws.Context, input *ListRecipe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRecipes operation. -// pageNum := 0 -// err := client.ListRecipesPages(params, -// func(page *gluedatabrew.ListRecipesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRecipes operation. +// pageNum := 0 +// err := client.ListRecipesPages(params, +// func(page *gluedatabrew.ListRecipesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlueDataBrew) ListRecipesPages(input *ListRecipesInput, fn func(*ListRecipesOutput, bool) bool) error { return c.ListRecipesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2664,14 +2653,13 @@ const opListRulesets = "ListRulesets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRulesetsRequest method. +// req, resp := client.ListRulesetsRequest(params) // -// // Example sending a request using the ListRulesetsRequest method. -// req, resp := client.ListRulesetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListRulesets func (c *GlueDataBrew) ListRulesetsRequest(input *ListRulesetsInput) (req *request.Request, output *ListRulesetsOutput) { @@ -2709,11 +2697,12 @@ func (c *GlueDataBrew) ListRulesetsRequest(input *ListRulesetsInput) (req *reque // API operation ListRulesets for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListRulesets func (c *GlueDataBrew) ListRulesets(input *ListRulesetsInput) (*ListRulesetsOutput, error) { @@ -2745,15 +2734,14 @@ func (c *GlueDataBrew) ListRulesetsWithContext(ctx aws.Context, input *ListRules // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRulesets operation. -// pageNum := 0 -// err := client.ListRulesetsPages(params, -// func(page *gluedatabrew.ListRulesetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRulesets operation. +// pageNum := 0 +// err := client.ListRulesetsPages(params, +// func(page *gluedatabrew.ListRulesetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlueDataBrew) ListRulesetsPages(input *ListRulesetsInput, fn func(*ListRulesetsOutput, bool) bool) error { return c.ListRulesetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2805,14 +2793,13 @@ const opListSchedules = "ListSchedules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSchedulesRequest method. +// req, resp := client.ListSchedulesRequest(params) // -// // Example sending a request using the ListSchedulesRequest method. -// req, resp := client.ListSchedulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListSchedules func (c *GlueDataBrew) ListSchedulesRequest(input *ListSchedulesInput) (req *request.Request, output *ListSchedulesOutput) { @@ -2849,8 +2836,8 @@ func (c *GlueDataBrew) ListSchedulesRequest(input *ListSchedulesInput) (req *req // API operation ListSchedules for usage and error information. // // Returned Error Types: -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListSchedules func (c *GlueDataBrew) ListSchedules(input *ListSchedulesInput) (*ListSchedulesOutput, error) { @@ -2882,15 +2869,14 @@ func (c *GlueDataBrew) ListSchedulesWithContext(ctx aws.Context, input *ListSche // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSchedules operation. -// pageNum := 0 -// err := client.ListSchedulesPages(params, -// func(page *gluedatabrew.ListSchedulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSchedules operation. +// pageNum := 0 +// err := client.ListSchedulesPages(params, +// func(page *gluedatabrew.ListSchedulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GlueDataBrew) ListSchedulesPages(input *ListSchedulesInput, fn func(*ListSchedulesOutput, bool) bool) error { return c.ListSchedulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2942,14 +2928,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListTagsForResource func (c *GlueDataBrew) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2980,14 +2965,15 @@ func (c *GlueDataBrew) ListTagsForResourceRequest(input *ListTagsForResourceInpu // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal service failure occurred. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InternalServerException +// An internal service failure occurred. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/ListTagsForResource func (c *GlueDataBrew) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3027,14 +3013,13 @@ const opPublishRecipe = "PublishRecipe" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PublishRecipeRequest method. +// req, resp := client.PublishRecipeRequest(params) // -// // Example sending a request using the PublishRecipeRequest method. -// req, resp := client.PublishRecipeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/PublishRecipe func (c *GlueDataBrew) PublishRecipeRequest(input *PublishRecipeInput) (req *request.Request, output *PublishRecipeOutput) { @@ -3065,14 +3050,15 @@ func (c *GlueDataBrew) PublishRecipeRequest(input *PublishRecipeInput) (req *req // API operation PublishRecipe for usage and error information. // // Returned Error Types: -// * ValidationException -// The input parameters for this request failed validation. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ValidationException +// The input parameters for this request failed validation. // -// * ServiceQuotaExceededException -// A service quota is exceeded. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ServiceQuotaExceededException +// A service quota is exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/PublishRecipe func (c *GlueDataBrew) PublishRecipe(input *PublishRecipeInput) (*PublishRecipeOutput, error) { @@ -3112,14 +3098,13 @@ const opSendProjectSessionAction = "SendProjectSessionAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendProjectSessionActionRequest method. +// req, resp := client.SendProjectSessionActionRequest(params) // -// // Example sending a request using the SendProjectSessionActionRequest method. -// req, resp := client.SendProjectSessionActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/SendProjectSessionAction func (c *GlueDataBrew) SendProjectSessionActionRequest(input *SendProjectSessionActionInput) (req *request.Request, output *SendProjectSessionActionOutput) { @@ -3151,14 +3136,15 @@ func (c *GlueDataBrew) SendProjectSessionActionRequest(input *SendProjectSession // API operation SendProjectSessionAction for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/SendProjectSessionAction func (c *GlueDataBrew) SendProjectSessionAction(input *SendProjectSessionActionInput) (*SendProjectSessionActionOutput, error) { @@ -3198,14 +3184,13 @@ const opStartJobRun = "StartJobRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartJobRunRequest method. +// req, resp := client.StartJobRunRequest(params) // -// // Example sending a request using the StartJobRunRequest method. -// req, resp := client.StartJobRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/StartJobRun func (c *GlueDataBrew) StartJobRunRequest(input *StartJobRunInput) (req *request.Request, output *StartJobRunOutput) { @@ -3236,17 +3221,18 @@ func (c *GlueDataBrew) StartJobRunRequest(input *StartJobRunInput) (req *request // API operation StartJobRun for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ServiceQuotaExceededException -// A service quota is exceeded. +// - ServiceQuotaExceededException +// A service quota is exceeded. // -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/StartJobRun func (c *GlueDataBrew) StartJobRun(input *StartJobRunInput) (*StartJobRunOutput, error) { @@ -3286,14 +3272,13 @@ const opStartProjectSession = "StartProjectSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartProjectSessionRequest method. +// req, resp := client.StartProjectSessionRequest(params) // -// // Example sending a request using the StartProjectSessionRequest method. -// req, resp := client.StartProjectSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/StartProjectSession func (c *GlueDataBrew) StartProjectSessionRequest(input *StartProjectSessionInput) (req *request.Request, output *StartProjectSessionOutput) { @@ -3325,17 +3310,18 @@ func (c *GlueDataBrew) StartProjectSessionRequest(input *StartProjectSessionInpu // API operation StartProjectSession for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ServiceQuotaExceededException -// A service quota is exceeded. +// - ServiceQuotaExceededException +// A service quota is exceeded. // -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/StartProjectSession func (c *GlueDataBrew) StartProjectSession(input *StartProjectSessionInput) (*StartProjectSessionOutput, error) { @@ -3375,14 +3361,13 @@ const opStopJobRun = "StopJobRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopJobRunRequest method. +// req, resp := client.StopJobRunRequest(params) // -// // Example sending a request using the StopJobRunRequest method. -// req, resp := client.StopJobRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/StopJobRun func (c *GlueDataBrew) StopJobRunRequest(input *StopJobRunInput) (req *request.Request, output *StopJobRunOutput) { @@ -3413,11 +3398,12 @@ func (c *GlueDataBrew) StopJobRunRequest(input *StopJobRunInput) (req *request.R // API operation StopJobRun for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/StopJobRun func (c *GlueDataBrew) StopJobRun(input *StopJobRunInput) (*StopJobRunOutput, error) { @@ -3457,14 +3443,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/TagResource func (c *GlueDataBrew) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3497,14 +3482,15 @@ func (c *GlueDataBrew) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal service failure occurred. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InternalServerException +// An internal service failure occurred. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/TagResource func (c *GlueDataBrew) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3544,14 +3530,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UntagResource func (c *GlueDataBrew) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3583,14 +3568,15 @@ func (c *GlueDataBrew) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal service failure occurred. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InternalServerException +// An internal service failure occurred. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UntagResource func (c *GlueDataBrew) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3630,14 +3616,13 @@ const opUpdateDataset = "UpdateDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDatasetRequest method. +// req, resp := client.UpdateDatasetRequest(params) // -// // Example sending a request using the UpdateDatasetRequest method. -// req, resp := client.UpdateDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UpdateDataset func (c *GlueDataBrew) UpdateDatasetRequest(input *UpdateDatasetInput) (req *request.Request, output *UpdateDatasetOutput) { @@ -3668,14 +3653,15 @@ func (c *GlueDataBrew) UpdateDatasetRequest(input *UpdateDatasetInput) (req *req // API operation UpdateDataset for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to the specified resource was denied. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - AccessDeniedException +// Access to the specified resource was denied. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UpdateDataset func (c *GlueDataBrew) UpdateDataset(input *UpdateDatasetInput) (*UpdateDatasetOutput, error) { @@ -3715,14 +3701,13 @@ const opUpdateProfileJob = "UpdateProfileJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProfileJobRequest method. +// req, resp := client.UpdateProfileJobRequest(params) // -// // Example sending a request using the UpdateProfileJobRequest method. -// req, resp := client.UpdateProfileJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UpdateProfileJob func (c *GlueDataBrew) UpdateProfileJobRequest(input *UpdateProfileJobInput) (req *request.Request, output *UpdateProfileJobOutput) { @@ -3753,14 +3738,15 @@ func (c *GlueDataBrew) UpdateProfileJobRequest(input *UpdateProfileJobInput) (re // API operation UpdateProfileJob for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to the specified resource was denied. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - AccessDeniedException +// Access to the specified resource was denied. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UpdateProfileJob func (c *GlueDataBrew) UpdateProfileJob(input *UpdateProfileJobInput) (*UpdateProfileJobOutput, error) { @@ -3800,14 +3786,13 @@ const opUpdateProject = "UpdateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProjectRequest method. +// req, resp := client.UpdateProjectRequest(params) // -// // Example sending a request using the UpdateProjectRequest method. -// req, resp := client.UpdateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UpdateProject func (c *GlueDataBrew) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput) { @@ -3838,11 +3823,12 @@ func (c *GlueDataBrew) UpdateProjectRequest(input *UpdateProjectInput) (req *req // API operation UpdateProject for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UpdateProject func (c *GlueDataBrew) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error) { @@ -3882,14 +3868,13 @@ const opUpdateRecipe = "UpdateRecipe" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRecipeRequest method. +// req, resp := client.UpdateRecipeRequest(params) // -// // Example sending a request using the UpdateRecipeRequest method. -// req, resp := client.UpdateRecipeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UpdateRecipe func (c *GlueDataBrew) UpdateRecipeRequest(input *UpdateRecipeInput) (req *request.Request, output *UpdateRecipeOutput) { @@ -3920,11 +3905,12 @@ func (c *GlueDataBrew) UpdateRecipeRequest(input *UpdateRecipeInput) (req *reque // API operation UpdateRecipe for usage and error information. // // Returned Error Types: -// * ValidationException -// The input parameters for this request failed validation. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ValidationException +// The input parameters for this request failed validation. +// +// - ResourceNotFoundException +// One or more resources can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UpdateRecipe func (c *GlueDataBrew) UpdateRecipe(input *UpdateRecipeInput) (*UpdateRecipeOutput, error) { @@ -3964,14 +3950,13 @@ const opUpdateRecipeJob = "UpdateRecipeJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRecipeJobRequest method. +// req, resp := client.UpdateRecipeJobRequest(params) // -// // Example sending a request using the UpdateRecipeJobRequest method. -// req, resp := client.UpdateRecipeJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UpdateRecipeJob func (c *GlueDataBrew) UpdateRecipeJobRequest(input *UpdateRecipeJobInput) (req *request.Request, output *UpdateRecipeJobOutput) { @@ -4002,14 +3987,15 @@ func (c *GlueDataBrew) UpdateRecipeJobRequest(input *UpdateRecipeJobInput) (req // API operation UpdateRecipeJob for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to the specified resource was denied. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - AccessDeniedException +// Access to the specified resource was denied. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UpdateRecipeJob func (c *GlueDataBrew) UpdateRecipeJob(input *UpdateRecipeJobInput) (*UpdateRecipeJobOutput, error) { @@ -4049,14 +4035,13 @@ const opUpdateRuleset = "UpdateRuleset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRulesetRequest method. +// req, resp := client.UpdateRulesetRequest(params) // -// // Example sending a request using the UpdateRulesetRequest method. -// req, resp := client.UpdateRulesetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UpdateRuleset func (c *GlueDataBrew) UpdateRulesetRequest(input *UpdateRulesetInput) (req *request.Request, output *UpdateRulesetOutput) { @@ -4087,11 +4072,12 @@ func (c *GlueDataBrew) UpdateRulesetRequest(input *UpdateRulesetInput) (req *req // API operation UpdateRuleset for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * ValidationException -// The input parameters for this request failed validation. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UpdateRuleset func (c *GlueDataBrew) UpdateRuleset(input *UpdateRulesetInput) (*UpdateRulesetOutput, error) { @@ -4131,14 +4117,13 @@ const opUpdateSchedule = "UpdateSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateScheduleRequest method. +// req, resp := client.UpdateScheduleRequest(params) // -// // Example sending a request using the UpdateScheduleRequest method. -// req, resp := client.UpdateScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UpdateSchedule func (c *GlueDataBrew) UpdateScheduleRequest(input *UpdateScheduleInput) (req *request.Request, output *UpdateScheduleOutput) { @@ -4169,14 +4154,15 @@ func (c *GlueDataBrew) UpdateScheduleRequest(input *UpdateScheduleInput) (req *r // API operation UpdateSchedule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * ServiceQuotaExceededException -// A service quota is exceeded. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - ServiceQuotaExceededException +// A service quota is exceeded. // -// * ValidationException -// The input parameters for this request failed validation. +// - ValidationException +// The input parameters for this request failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/UpdateSchedule func (c *GlueDataBrew) UpdateSchedule(input *UpdateScheduleInput) (*UpdateScheduleOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/doc.go index 4344970010b4..c6f16e0e7356 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/doc.go @@ -14,7 +14,7 @@ // See gluedatabrew package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/gluedatabrew/ // -// Using the Client +// # Using the Client // // To contact AWS Glue DataBrew with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/gluedatabrewiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/gluedatabrewiface/interface.go index b89b93b3559d..6a5cacd62bab 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/gluedatabrewiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/gluedatabrewiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Glue DataBrew. -// func myFunc(svc gluedatabrewiface.GlueDataBrewAPI) bool { -// // Make svc.BatchDeleteRecipeVersion request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Glue DataBrew. +// func myFunc(svc gluedatabrewiface.GlueDataBrewAPI) bool { +// // Make svc.BatchDeleteRecipeVersion request +// } // -// func main() { -// sess := session.New() -// svc := gluedatabrew.New(sess) +// func main() { +// sess := session.New() +// svc := gluedatabrew.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockGlueDataBrewClient struct { -// gluedatabrewiface.GlueDataBrewAPI -// } -// func (m *mockGlueDataBrewClient) BatchDeleteRecipeVersion(input *gluedatabrew.BatchDeleteRecipeVersionInput) (*gluedatabrew.BatchDeleteRecipeVersionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockGlueDataBrewClient struct { +// gluedatabrewiface.GlueDataBrewAPI +// } +// func (m *mockGlueDataBrewClient) BatchDeleteRecipeVersion(input *gluedatabrew.BatchDeleteRecipeVersionInput) (*gluedatabrew.BatchDeleteRecipeVersionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockGlueDataBrewClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockGlueDataBrewClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/service.go index eb61119afaa9..508bc00263a1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/gluedatabrew/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a GlueDataBrew client from just a session. -// svc := gluedatabrew.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a GlueDataBrew client with additional configuration -// svc := gluedatabrew.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a GlueDataBrew client from just a session. +// svc := gluedatabrew.New(mySession) +// +// // Create a GlueDataBrew client with additional configuration +// svc := gluedatabrew.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *GlueDataBrew { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/api.go index 827c9d5ce404..73a6f5e1478d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/api.go @@ -28,14 +28,13 @@ const opAssociateRoleToGroup = "AssociateRoleToGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateRoleToGroupRequest method. +// req, resp := client.AssociateRoleToGroupRequest(params) // -// // Example sending a request using the AssociateRoleToGroupRequest method. -// req, resp := client.AssociateRoleToGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/AssociateRoleToGroup func (c *Greengrass) AssociateRoleToGroupRequest(input *AssociateRoleToGroupInput) (req *request.Request, output *AssociateRoleToGroupOutput) { @@ -68,11 +67,12 @@ func (c *Greengrass) AssociateRoleToGroupRequest(input *AssociateRoleToGroupInpu // API operation AssociateRoleToGroup for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. // -// * InternalServerErrorException -// General error information. +// - BadRequestException +// General error information. +// +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/AssociateRoleToGroup func (c *Greengrass) AssociateRoleToGroup(input *AssociateRoleToGroupInput) (*AssociateRoleToGroupOutput, error) { @@ -112,14 +112,13 @@ const opAssociateServiceRoleToAccount = "AssociateServiceRoleToAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateServiceRoleToAccountRequest method. +// req, resp := client.AssociateServiceRoleToAccountRequest(params) // -// // Example sending a request using the AssociateServiceRoleToAccountRequest method. -// req, resp := client.AssociateServiceRoleToAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/AssociateServiceRoleToAccount func (c *Greengrass) AssociateServiceRoleToAccountRequest(input *AssociateServiceRoleToAccountInput) (req *request.Request, output *AssociateServiceRoleToAccountOutput) { @@ -143,7 +142,7 @@ func (c *Greengrass) AssociateServiceRoleToAccountRequest(input *AssociateServic // Associates a role with your account. AWS IoT Greengrass will use the role // to access your Lambda functions and AWS IoT resources. This is necessary // for deployments to succeed. The role must have at least minimum permissions -// in the policy ''AWSGreengrassResourceAccessRolePolicy''. +// in the policy ”AWSGreengrassResourceAccessRolePolicy”. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -153,11 +152,12 @@ func (c *Greengrass) AssociateServiceRoleToAccountRequest(input *AssociateServic // API operation AssociateServiceRoleToAccount for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. // -// * InternalServerErrorException -// General error information. +// - BadRequestException +// General error information. +// +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/AssociateServiceRoleToAccount func (c *Greengrass) AssociateServiceRoleToAccount(input *AssociateServiceRoleToAccountInput) (*AssociateServiceRoleToAccountOutput, error) { @@ -197,14 +197,13 @@ const opCreateConnectorDefinition = "CreateConnectorDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConnectorDefinitionRequest method. +// req, resp := client.CreateConnectorDefinitionRequest(params) // -// // Example sending a request using the CreateConnectorDefinitionRequest method. -// req, resp := client.CreateConnectorDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateConnectorDefinition func (c *Greengrass) CreateConnectorDefinitionRequest(input *CreateConnectorDefinitionInput) (req *request.Request, output *CreateConnectorDefinitionOutput) { @@ -226,7 +225,7 @@ func (c *Greengrass) CreateConnectorDefinitionRequest(input *CreateConnectorDefi // CreateConnectorDefinition API operation for AWS Greengrass. // // Creates a connector definition. You may provide the initial version of the -// connector definition now or use ''CreateConnectorDefinitionVersion'' at a +// connector definition now or use ”CreateConnectorDefinitionVersion” at a // later time. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -237,8 +236,8 @@ func (c *Greengrass) CreateConnectorDefinitionRequest(input *CreateConnectorDefi // API operation CreateConnectorDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateConnectorDefinition func (c *Greengrass) CreateConnectorDefinition(input *CreateConnectorDefinitionInput) (*CreateConnectorDefinitionOutput, error) { @@ -278,14 +277,13 @@ const opCreateConnectorDefinitionVersion = "CreateConnectorDefinitionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConnectorDefinitionVersionRequest method. +// req, resp := client.CreateConnectorDefinitionVersionRequest(params) // -// // Example sending a request using the CreateConnectorDefinitionVersionRequest method. -// req, resp := client.CreateConnectorDefinitionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateConnectorDefinitionVersion func (c *Greengrass) CreateConnectorDefinitionVersionRequest(input *CreateConnectorDefinitionVersionInput) (req *request.Request, output *CreateConnectorDefinitionVersionOutput) { @@ -316,8 +314,8 @@ func (c *Greengrass) CreateConnectorDefinitionVersionRequest(input *CreateConnec // API operation CreateConnectorDefinitionVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateConnectorDefinitionVersion func (c *Greengrass) CreateConnectorDefinitionVersion(input *CreateConnectorDefinitionVersionInput) (*CreateConnectorDefinitionVersionOutput, error) { @@ -357,14 +355,13 @@ const opCreateCoreDefinition = "CreateCoreDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCoreDefinitionRequest method. +// req, resp := client.CreateCoreDefinitionRequest(params) // -// // Example sending a request using the CreateCoreDefinitionRequest method. -// req, resp := client.CreateCoreDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateCoreDefinition func (c *Greengrass) CreateCoreDefinitionRequest(input *CreateCoreDefinitionInput) (req *request.Request, output *CreateCoreDefinitionOutput) { @@ -386,7 +383,7 @@ func (c *Greengrass) CreateCoreDefinitionRequest(input *CreateCoreDefinitionInpu // CreateCoreDefinition API operation for AWS Greengrass. // // Creates a core definition. You may provide the initial version of the core -// definition now or use ''CreateCoreDefinitionVersion'' at a later time. Greengrass +// definition now or use ”CreateCoreDefinitionVersion” at a later time. Greengrass // groups must each contain exactly one Greengrass core. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -397,8 +394,8 @@ func (c *Greengrass) CreateCoreDefinitionRequest(input *CreateCoreDefinitionInpu // API operation CreateCoreDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateCoreDefinition func (c *Greengrass) CreateCoreDefinition(input *CreateCoreDefinitionInput) (*CreateCoreDefinitionOutput, error) { @@ -438,14 +435,13 @@ const opCreateCoreDefinitionVersion = "CreateCoreDefinitionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCoreDefinitionVersionRequest method. +// req, resp := client.CreateCoreDefinitionVersionRequest(params) // -// // Example sending a request using the CreateCoreDefinitionVersionRequest method. -// req, resp := client.CreateCoreDefinitionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateCoreDefinitionVersion func (c *Greengrass) CreateCoreDefinitionVersionRequest(input *CreateCoreDefinitionVersionInput) (req *request.Request, output *CreateCoreDefinitionVersionOutput) { @@ -477,8 +473,8 @@ func (c *Greengrass) CreateCoreDefinitionVersionRequest(input *CreateCoreDefinit // API operation CreateCoreDefinitionVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateCoreDefinitionVersion func (c *Greengrass) CreateCoreDefinitionVersion(input *CreateCoreDefinitionVersionInput) (*CreateCoreDefinitionVersionOutput, error) { @@ -518,14 +514,13 @@ const opCreateDeployment = "CreateDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeploymentRequest method. +// req, resp := client.CreateDeploymentRequest(params) // -// // Example sending a request using the CreateDeploymentRequest method. -// req, resp := client.CreateDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeployment func (c *Greengrass) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *CreateDeploymentOutput) { @@ -546,8 +541,8 @@ func (c *Greengrass) CreateDeploymentRequest(input *CreateDeploymentInput) (req // CreateDeployment API operation for AWS Greengrass. // -// Creates a deployment. ''CreateDeployment'' requests are idempotent with respect -// to the ''X-Amzn-Client-Token'' token and the request parameters. +// Creates a deployment. ”CreateDeployment” requests are idempotent with respect +// to the ”X-Amzn-Client-Token” token and the request parameters. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -557,8 +552,8 @@ func (c *Greengrass) CreateDeploymentRequest(input *CreateDeploymentInput) (req // API operation CreateDeployment for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeployment func (c *Greengrass) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error) { @@ -598,14 +593,13 @@ const opCreateDeviceDefinition = "CreateDeviceDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeviceDefinitionRequest method. +// req, resp := client.CreateDeviceDefinitionRequest(params) // -// // Example sending a request using the CreateDeviceDefinitionRequest method. -// req, resp := client.CreateDeviceDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeviceDefinition func (c *Greengrass) CreateDeviceDefinitionRequest(input *CreateDeviceDefinitionInput) (req *request.Request, output *CreateDeviceDefinitionOutput) { @@ -627,7 +621,7 @@ func (c *Greengrass) CreateDeviceDefinitionRequest(input *CreateDeviceDefinition // CreateDeviceDefinition API operation for AWS Greengrass. // // Creates a device definition. You may provide the initial version of the device -// definition now or use ''CreateDeviceDefinitionVersion'' at a later time. +// definition now or use ”CreateDeviceDefinitionVersion” at a later time. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -637,8 +631,8 @@ func (c *Greengrass) CreateDeviceDefinitionRequest(input *CreateDeviceDefinition // API operation CreateDeviceDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeviceDefinition func (c *Greengrass) CreateDeviceDefinition(input *CreateDeviceDefinitionInput) (*CreateDeviceDefinitionOutput, error) { @@ -678,14 +672,13 @@ const opCreateDeviceDefinitionVersion = "CreateDeviceDefinitionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeviceDefinitionVersionRequest method. +// req, resp := client.CreateDeviceDefinitionVersionRequest(params) // -// // Example sending a request using the CreateDeviceDefinitionVersionRequest method. -// req, resp := client.CreateDeviceDefinitionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeviceDefinitionVersion func (c *Greengrass) CreateDeviceDefinitionVersionRequest(input *CreateDeviceDefinitionVersionInput) (req *request.Request, output *CreateDeviceDefinitionVersionOutput) { @@ -716,8 +709,8 @@ func (c *Greengrass) CreateDeviceDefinitionVersionRequest(input *CreateDeviceDef // API operation CreateDeviceDefinitionVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateDeviceDefinitionVersion func (c *Greengrass) CreateDeviceDefinitionVersion(input *CreateDeviceDefinitionVersionInput) (*CreateDeviceDefinitionVersionOutput, error) { @@ -757,14 +750,13 @@ const opCreateFunctionDefinition = "CreateFunctionDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFunctionDefinitionRequest method. +// req, resp := client.CreateFunctionDefinitionRequest(params) // -// // Example sending a request using the CreateFunctionDefinitionRequest method. -// req, resp := client.CreateFunctionDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateFunctionDefinition func (c *Greengrass) CreateFunctionDefinitionRequest(input *CreateFunctionDefinitionInput) (req *request.Request, output *CreateFunctionDefinitionOutput) { @@ -788,7 +780,7 @@ func (c *Greengrass) CreateFunctionDefinitionRequest(input *CreateFunctionDefini // Creates a Lambda function definition which contains a list of Lambda functions // and their configurations to be used in a group. You can create an initial // version of the definition by providing a list of Lambda functions and their -// configurations now, or use ''CreateFunctionDefinitionVersion'' later. +// configurations now, or use ”CreateFunctionDefinitionVersion” later. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -798,8 +790,8 @@ func (c *Greengrass) CreateFunctionDefinitionRequest(input *CreateFunctionDefini // API operation CreateFunctionDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateFunctionDefinition func (c *Greengrass) CreateFunctionDefinition(input *CreateFunctionDefinitionInput) (*CreateFunctionDefinitionOutput, error) { @@ -839,14 +831,13 @@ const opCreateFunctionDefinitionVersion = "CreateFunctionDefinitionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFunctionDefinitionVersionRequest method. +// req, resp := client.CreateFunctionDefinitionVersionRequest(params) // -// // Example sending a request using the CreateFunctionDefinitionVersionRequest method. -// req, resp := client.CreateFunctionDefinitionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateFunctionDefinitionVersion func (c *Greengrass) CreateFunctionDefinitionVersionRequest(input *CreateFunctionDefinitionVersionInput) (req *request.Request, output *CreateFunctionDefinitionVersionOutput) { @@ -877,8 +868,8 @@ func (c *Greengrass) CreateFunctionDefinitionVersionRequest(input *CreateFunctio // API operation CreateFunctionDefinitionVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateFunctionDefinitionVersion func (c *Greengrass) CreateFunctionDefinitionVersion(input *CreateFunctionDefinitionVersionInput) (*CreateFunctionDefinitionVersionOutput, error) { @@ -918,14 +909,13 @@ const opCreateGroup = "CreateGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGroupRequest method. +// req, resp := client.CreateGroupRequest(params) // -// // Example sending a request using the CreateGroupRequest method. -// req, resp := client.CreateGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroup func (c *Greengrass) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput) { @@ -947,7 +937,7 @@ func (c *Greengrass) CreateGroupRequest(input *CreateGroupInput) (req *request.R // CreateGroup API operation for AWS Greengrass. // // Creates a group. You may provide the initial version of the group or use -// ''CreateGroupVersion'' at a later time. Tip: You can use the ''gg_group_setup'' +// ”CreateGroupVersion” at a later time. Tip: You can use the ”gg_group_setup” // package (https://github.com/awslabs/aws-greengrass-group-setup) as a library // or command-line application to create and deploy Greengrass groups. // @@ -959,8 +949,8 @@ func (c *Greengrass) CreateGroupRequest(input *CreateGroupInput) (req *request.R // API operation CreateGroup for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroup func (c *Greengrass) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error) { @@ -1000,14 +990,13 @@ const opCreateGroupCertificateAuthority = "CreateGroupCertificateAuthority" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGroupCertificateAuthorityRequest method. +// req, resp := client.CreateGroupCertificateAuthorityRequest(params) // -// // Example sending a request using the CreateGroupCertificateAuthorityRequest method. -// req, resp := client.CreateGroupCertificateAuthorityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupCertificateAuthority func (c *Greengrass) CreateGroupCertificateAuthorityRequest(input *CreateGroupCertificateAuthorityInput) (req *request.Request, output *CreateGroupCertificateAuthorityOutput) { @@ -1039,11 +1028,12 @@ func (c *Greengrass) CreateGroupCertificateAuthorityRequest(input *CreateGroupCe // API operation CreateGroupCertificateAuthority for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. // -// * InternalServerErrorException -// General error information. +// - BadRequestException +// General error information. +// +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupCertificateAuthority func (c *Greengrass) CreateGroupCertificateAuthority(input *CreateGroupCertificateAuthorityInput) (*CreateGroupCertificateAuthorityOutput, error) { @@ -1083,14 +1073,13 @@ const opCreateGroupVersion = "CreateGroupVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGroupVersionRequest method. +// req, resp := client.CreateGroupVersionRequest(params) // -// // Example sending a request using the CreateGroupVersionRequest method. -// req, resp := client.CreateGroupVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupVersion func (c *Greengrass) CreateGroupVersionRequest(input *CreateGroupVersionInput) (req *request.Request, output *CreateGroupVersionOutput) { @@ -1121,8 +1110,8 @@ func (c *Greengrass) CreateGroupVersionRequest(input *CreateGroupVersionInput) ( // API operation CreateGroupVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateGroupVersion func (c *Greengrass) CreateGroupVersion(input *CreateGroupVersionInput) (*CreateGroupVersionOutput, error) { @@ -1162,14 +1151,13 @@ const opCreateLoggerDefinition = "CreateLoggerDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLoggerDefinitionRequest method. +// req, resp := client.CreateLoggerDefinitionRequest(params) // -// // Example sending a request using the CreateLoggerDefinitionRequest method. -// req, resp := client.CreateLoggerDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateLoggerDefinition func (c *Greengrass) CreateLoggerDefinitionRequest(input *CreateLoggerDefinitionInput) (req *request.Request, output *CreateLoggerDefinitionOutput) { @@ -1191,7 +1179,7 @@ func (c *Greengrass) CreateLoggerDefinitionRequest(input *CreateLoggerDefinition // CreateLoggerDefinition API operation for AWS Greengrass. // // Creates a logger definition. You may provide the initial version of the logger -// definition now or use ''CreateLoggerDefinitionVersion'' at a later time. +// definition now or use ”CreateLoggerDefinitionVersion” at a later time. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1201,8 +1189,8 @@ func (c *Greengrass) CreateLoggerDefinitionRequest(input *CreateLoggerDefinition // API operation CreateLoggerDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateLoggerDefinition func (c *Greengrass) CreateLoggerDefinition(input *CreateLoggerDefinitionInput) (*CreateLoggerDefinitionOutput, error) { @@ -1242,14 +1230,13 @@ const opCreateLoggerDefinitionVersion = "CreateLoggerDefinitionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLoggerDefinitionVersionRequest method. +// req, resp := client.CreateLoggerDefinitionVersionRequest(params) // -// // Example sending a request using the CreateLoggerDefinitionVersionRequest method. -// req, resp := client.CreateLoggerDefinitionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateLoggerDefinitionVersion func (c *Greengrass) CreateLoggerDefinitionVersionRequest(input *CreateLoggerDefinitionVersionInput) (req *request.Request, output *CreateLoggerDefinitionVersionOutput) { @@ -1280,8 +1267,8 @@ func (c *Greengrass) CreateLoggerDefinitionVersionRequest(input *CreateLoggerDef // API operation CreateLoggerDefinitionVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateLoggerDefinitionVersion func (c *Greengrass) CreateLoggerDefinitionVersion(input *CreateLoggerDefinitionVersionInput) (*CreateLoggerDefinitionVersionOutput, error) { @@ -1321,14 +1308,13 @@ const opCreateResourceDefinition = "CreateResourceDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResourceDefinitionRequest method. +// req, resp := client.CreateResourceDefinitionRequest(params) // -// // Example sending a request using the CreateResourceDefinitionRequest method. -// req, resp := client.CreateResourceDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateResourceDefinition func (c *Greengrass) CreateResourceDefinitionRequest(input *CreateResourceDefinitionInput) (req *request.Request, output *CreateResourceDefinitionOutput) { @@ -1351,7 +1337,7 @@ func (c *Greengrass) CreateResourceDefinitionRequest(input *CreateResourceDefini // // Creates a resource definition which contains a list of resources to be used // in a group. You can create an initial version of the definition by providing -// a list of resources now, or use ''CreateResourceDefinitionVersion'' later. +// a list of resources now, or use ”CreateResourceDefinitionVersion” later. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1361,8 +1347,8 @@ func (c *Greengrass) CreateResourceDefinitionRequest(input *CreateResourceDefini // API operation CreateResourceDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateResourceDefinition func (c *Greengrass) CreateResourceDefinition(input *CreateResourceDefinitionInput) (*CreateResourceDefinitionOutput, error) { @@ -1402,14 +1388,13 @@ const opCreateResourceDefinitionVersion = "CreateResourceDefinitionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResourceDefinitionVersionRequest method. +// req, resp := client.CreateResourceDefinitionVersionRequest(params) // -// // Example sending a request using the CreateResourceDefinitionVersionRequest method. -// req, resp := client.CreateResourceDefinitionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateResourceDefinitionVersion func (c *Greengrass) CreateResourceDefinitionVersionRequest(input *CreateResourceDefinitionVersionInput) (req *request.Request, output *CreateResourceDefinitionVersionOutput) { @@ -1440,8 +1425,8 @@ func (c *Greengrass) CreateResourceDefinitionVersionRequest(input *CreateResourc // API operation CreateResourceDefinitionVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateResourceDefinitionVersion func (c *Greengrass) CreateResourceDefinitionVersion(input *CreateResourceDefinitionVersionInput) (*CreateResourceDefinitionVersionOutput, error) { @@ -1481,14 +1466,13 @@ const opCreateSoftwareUpdateJob = "CreateSoftwareUpdateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSoftwareUpdateJobRequest method. +// req, resp := client.CreateSoftwareUpdateJobRequest(params) // -// // Example sending a request using the CreateSoftwareUpdateJobRequest method. -// req, resp := client.CreateSoftwareUpdateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSoftwareUpdateJob func (c *Greengrass) CreateSoftwareUpdateJobRequest(input *CreateSoftwareUpdateJobInput) (req *request.Request, output *CreateSoftwareUpdateJobOutput) { @@ -1522,11 +1506,12 @@ func (c *Greengrass) CreateSoftwareUpdateJobRequest(input *CreateSoftwareUpdateJ // API operation CreateSoftwareUpdateJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. // -// * InternalServerErrorException -// General error information. +// - BadRequestException +// General error information. +// +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSoftwareUpdateJob func (c *Greengrass) CreateSoftwareUpdateJob(input *CreateSoftwareUpdateJobInput) (*CreateSoftwareUpdateJobOutput, error) { @@ -1566,14 +1551,13 @@ const opCreateSubscriptionDefinition = "CreateSubscriptionDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSubscriptionDefinitionRequest method. +// req, resp := client.CreateSubscriptionDefinitionRequest(params) // -// // Example sending a request using the CreateSubscriptionDefinitionRequest method. -// req, resp := client.CreateSubscriptionDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSubscriptionDefinition func (c *Greengrass) CreateSubscriptionDefinitionRequest(input *CreateSubscriptionDefinitionInput) (req *request.Request, output *CreateSubscriptionDefinitionOutput) { @@ -1595,7 +1579,7 @@ func (c *Greengrass) CreateSubscriptionDefinitionRequest(input *CreateSubscripti // CreateSubscriptionDefinition API operation for AWS Greengrass. // // Creates a subscription definition. You may provide the initial version of -// the subscription definition now or use ''CreateSubscriptionDefinitionVersion'' +// the subscription definition now or use ”CreateSubscriptionDefinitionVersion” // at a later time. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -1606,8 +1590,8 @@ func (c *Greengrass) CreateSubscriptionDefinitionRequest(input *CreateSubscripti // API operation CreateSubscriptionDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSubscriptionDefinition func (c *Greengrass) CreateSubscriptionDefinition(input *CreateSubscriptionDefinitionInput) (*CreateSubscriptionDefinitionOutput, error) { @@ -1647,14 +1631,13 @@ const opCreateSubscriptionDefinitionVersion = "CreateSubscriptionDefinitionVersi // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSubscriptionDefinitionVersionRequest method. +// req, resp := client.CreateSubscriptionDefinitionVersionRequest(params) // -// // Example sending a request using the CreateSubscriptionDefinitionVersionRequest method. -// req, resp := client.CreateSubscriptionDefinitionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSubscriptionDefinitionVersion func (c *Greengrass) CreateSubscriptionDefinitionVersionRequest(input *CreateSubscriptionDefinitionVersionInput) (req *request.Request, output *CreateSubscriptionDefinitionVersionOutput) { @@ -1685,8 +1668,8 @@ func (c *Greengrass) CreateSubscriptionDefinitionVersionRequest(input *CreateSub // API operation CreateSubscriptionDefinitionVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/CreateSubscriptionDefinitionVersion func (c *Greengrass) CreateSubscriptionDefinitionVersion(input *CreateSubscriptionDefinitionVersionInput) (*CreateSubscriptionDefinitionVersionOutput, error) { @@ -1726,14 +1709,13 @@ const opDeleteConnectorDefinition = "DeleteConnectorDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConnectorDefinitionRequest method. +// req, resp := client.DeleteConnectorDefinitionRequest(params) // -// // Example sending a request using the DeleteConnectorDefinitionRequest method. -// req, resp := client.DeleteConnectorDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteConnectorDefinition func (c *Greengrass) DeleteConnectorDefinitionRequest(input *DeleteConnectorDefinitionInput) (req *request.Request, output *DeleteConnectorDefinitionOutput) { @@ -1765,8 +1747,8 @@ func (c *Greengrass) DeleteConnectorDefinitionRequest(input *DeleteConnectorDefi // API operation DeleteConnectorDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteConnectorDefinition func (c *Greengrass) DeleteConnectorDefinition(input *DeleteConnectorDefinitionInput) (*DeleteConnectorDefinitionOutput, error) { @@ -1806,14 +1788,13 @@ const opDeleteCoreDefinition = "DeleteCoreDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCoreDefinitionRequest method. +// req, resp := client.DeleteCoreDefinitionRequest(params) // -// // Example sending a request using the DeleteCoreDefinitionRequest method. -// req, resp := client.DeleteCoreDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteCoreDefinition func (c *Greengrass) DeleteCoreDefinitionRequest(input *DeleteCoreDefinitionInput) (req *request.Request, output *DeleteCoreDefinitionOutput) { @@ -1845,8 +1826,8 @@ func (c *Greengrass) DeleteCoreDefinitionRequest(input *DeleteCoreDefinitionInpu // API operation DeleteCoreDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteCoreDefinition func (c *Greengrass) DeleteCoreDefinition(input *DeleteCoreDefinitionInput) (*DeleteCoreDefinitionOutput, error) { @@ -1886,14 +1867,13 @@ const opDeleteDeviceDefinition = "DeleteDeviceDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDeviceDefinitionRequest method. +// req, resp := client.DeleteDeviceDefinitionRequest(params) // -// // Example sending a request using the DeleteDeviceDefinitionRequest method. -// req, resp := client.DeleteDeviceDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteDeviceDefinition func (c *Greengrass) DeleteDeviceDefinitionRequest(input *DeleteDeviceDefinitionInput) (req *request.Request, output *DeleteDeviceDefinitionOutput) { @@ -1925,8 +1905,8 @@ func (c *Greengrass) DeleteDeviceDefinitionRequest(input *DeleteDeviceDefinition // API operation DeleteDeviceDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteDeviceDefinition func (c *Greengrass) DeleteDeviceDefinition(input *DeleteDeviceDefinitionInput) (*DeleteDeviceDefinitionOutput, error) { @@ -1966,14 +1946,13 @@ const opDeleteFunctionDefinition = "DeleteFunctionDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFunctionDefinitionRequest method. +// req, resp := client.DeleteFunctionDefinitionRequest(params) // -// // Example sending a request using the DeleteFunctionDefinitionRequest method. -// req, resp := client.DeleteFunctionDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteFunctionDefinition func (c *Greengrass) DeleteFunctionDefinitionRequest(input *DeleteFunctionDefinitionInput) (req *request.Request, output *DeleteFunctionDefinitionOutput) { @@ -2005,8 +1984,8 @@ func (c *Greengrass) DeleteFunctionDefinitionRequest(input *DeleteFunctionDefini // API operation DeleteFunctionDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteFunctionDefinition func (c *Greengrass) DeleteFunctionDefinition(input *DeleteFunctionDefinitionInput) (*DeleteFunctionDefinitionOutput, error) { @@ -2046,14 +2025,13 @@ const opDeleteGroup = "DeleteGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGroupRequest method. +// req, resp := client.DeleteGroupRequest(params) // -// // Example sending a request using the DeleteGroupRequest method. -// req, resp := client.DeleteGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteGroup func (c *Greengrass) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput) { @@ -2085,8 +2063,8 @@ func (c *Greengrass) DeleteGroupRequest(input *DeleteGroupInput) (req *request.R // API operation DeleteGroup for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteGroup func (c *Greengrass) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error) { @@ -2126,14 +2104,13 @@ const opDeleteLoggerDefinition = "DeleteLoggerDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLoggerDefinitionRequest method. +// req, resp := client.DeleteLoggerDefinitionRequest(params) // -// // Example sending a request using the DeleteLoggerDefinitionRequest method. -// req, resp := client.DeleteLoggerDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteLoggerDefinition func (c *Greengrass) DeleteLoggerDefinitionRequest(input *DeleteLoggerDefinitionInput) (req *request.Request, output *DeleteLoggerDefinitionOutput) { @@ -2165,8 +2142,8 @@ func (c *Greengrass) DeleteLoggerDefinitionRequest(input *DeleteLoggerDefinition // API operation DeleteLoggerDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteLoggerDefinition func (c *Greengrass) DeleteLoggerDefinition(input *DeleteLoggerDefinitionInput) (*DeleteLoggerDefinitionOutput, error) { @@ -2206,14 +2183,13 @@ const opDeleteResourceDefinition = "DeleteResourceDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourceDefinitionRequest method. +// req, resp := client.DeleteResourceDefinitionRequest(params) // -// // Example sending a request using the DeleteResourceDefinitionRequest method. -// req, resp := client.DeleteResourceDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteResourceDefinition func (c *Greengrass) DeleteResourceDefinitionRequest(input *DeleteResourceDefinitionInput) (req *request.Request, output *DeleteResourceDefinitionOutput) { @@ -2245,8 +2221,8 @@ func (c *Greengrass) DeleteResourceDefinitionRequest(input *DeleteResourceDefini // API operation DeleteResourceDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteResourceDefinition func (c *Greengrass) DeleteResourceDefinition(input *DeleteResourceDefinitionInput) (*DeleteResourceDefinitionOutput, error) { @@ -2286,14 +2262,13 @@ const opDeleteSubscriptionDefinition = "DeleteSubscriptionDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSubscriptionDefinitionRequest method. +// req, resp := client.DeleteSubscriptionDefinitionRequest(params) // -// // Example sending a request using the DeleteSubscriptionDefinitionRequest method. -// req, resp := client.DeleteSubscriptionDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteSubscriptionDefinition func (c *Greengrass) DeleteSubscriptionDefinitionRequest(input *DeleteSubscriptionDefinitionInput) (req *request.Request, output *DeleteSubscriptionDefinitionOutput) { @@ -2325,8 +2300,8 @@ func (c *Greengrass) DeleteSubscriptionDefinitionRequest(input *DeleteSubscripti // API operation DeleteSubscriptionDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DeleteSubscriptionDefinition func (c *Greengrass) DeleteSubscriptionDefinition(input *DeleteSubscriptionDefinitionInput) (*DeleteSubscriptionDefinitionOutput, error) { @@ -2366,14 +2341,13 @@ const opDisassociateRoleFromGroup = "DisassociateRoleFromGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateRoleFromGroupRequest method. +// req, resp := client.DisassociateRoleFromGroupRequest(params) // -// // Example sending a request using the DisassociateRoleFromGroupRequest method. -// req, resp := client.DisassociateRoleFromGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DisassociateRoleFromGroup func (c *Greengrass) DisassociateRoleFromGroupRequest(input *DisassociateRoleFromGroupInput) (req *request.Request, output *DisassociateRoleFromGroupOutput) { @@ -2404,11 +2378,12 @@ func (c *Greengrass) DisassociateRoleFromGroupRequest(input *DisassociateRoleFro // API operation DisassociateRoleFromGroup for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. // -// * InternalServerErrorException -// General error information. +// - BadRequestException +// General error information. +// +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DisassociateRoleFromGroup func (c *Greengrass) DisassociateRoleFromGroup(input *DisassociateRoleFromGroupInput) (*DisassociateRoleFromGroupOutput, error) { @@ -2448,14 +2423,13 @@ const opDisassociateServiceRoleFromAccount = "DisassociateServiceRoleFromAccount // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateServiceRoleFromAccountRequest method. +// req, resp := client.DisassociateServiceRoleFromAccountRequest(params) // -// // Example sending a request using the DisassociateServiceRoleFromAccountRequest method. -// req, resp := client.DisassociateServiceRoleFromAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DisassociateServiceRoleFromAccount func (c *Greengrass) DisassociateServiceRoleFromAccountRequest(input *DisassociateServiceRoleFromAccountInput) (req *request.Request, output *DisassociateServiceRoleFromAccountOutput) { @@ -2487,8 +2461,8 @@ func (c *Greengrass) DisassociateServiceRoleFromAccountRequest(input *Disassocia // API operation DisassociateServiceRoleFromAccount for usage and error information. // // Returned Error Types: -// * InternalServerErrorException -// General error information. +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/DisassociateServiceRoleFromAccount func (c *Greengrass) DisassociateServiceRoleFromAccount(input *DisassociateServiceRoleFromAccountInput) (*DisassociateServiceRoleFromAccountOutput, error) { @@ -2528,14 +2502,13 @@ const opGetAssociatedRole = "GetAssociatedRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssociatedRoleRequest method. +// req, resp := client.GetAssociatedRoleRequest(params) // -// // Example sending a request using the GetAssociatedRoleRequest method. -// req, resp := client.GetAssociatedRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetAssociatedRole func (c *Greengrass) GetAssociatedRoleRequest(input *GetAssociatedRoleInput) (req *request.Request, output *GetAssociatedRoleOutput) { @@ -2566,11 +2539,12 @@ func (c *Greengrass) GetAssociatedRoleRequest(input *GetAssociatedRoleInput) (re // API operation GetAssociatedRole for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. // -// * InternalServerErrorException -// General error information. +// - BadRequestException +// General error information. +// +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetAssociatedRole func (c *Greengrass) GetAssociatedRole(input *GetAssociatedRoleInput) (*GetAssociatedRoleOutput, error) { @@ -2610,14 +2584,13 @@ const opGetBulkDeploymentStatus = "GetBulkDeploymentStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBulkDeploymentStatusRequest method. +// req, resp := client.GetBulkDeploymentStatusRequest(params) // -// // Example sending a request using the GetBulkDeploymentStatusRequest method. -// req, resp := client.GetBulkDeploymentStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetBulkDeploymentStatus func (c *Greengrass) GetBulkDeploymentStatusRequest(input *GetBulkDeploymentStatusInput) (req *request.Request, output *GetBulkDeploymentStatusOutput) { @@ -2648,8 +2621,8 @@ func (c *Greengrass) GetBulkDeploymentStatusRequest(input *GetBulkDeploymentStat // API operation GetBulkDeploymentStatus for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetBulkDeploymentStatus func (c *Greengrass) GetBulkDeploymentStatus(input *GetBulkDeploymentStatusInput) (*GetBulkDeploymentStatusOutput, error) { @@ -2689,14 +2662,13 @@ const opGetConnectivityInfo = "GetConnectivityInfo" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConnectivityInfoRequest method. +// req, resp := client.GetConnectivityInfoRequest(params) // -// // Example sending a request using the GetConnectivityInfoRequest method. -// req, resp := client.GetConnectivityInfoRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectivityInfo func (c *Greengrass) GetConnectivityInfoRequest(input *GetConnectivityInfoInput) (req *request.Request, output *GetConnectivityInfoOutput) { @@ -2727,11 +2699,12 @@ func (c *Greengrass) GetConnectivityInfoRequest(input *GetConnectivityInfoInput) // API operation GetConnectivityInfo for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. // -// * InternalServerErrorException -// General error information. +// - BadRequestException +// General error information. +// +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectivityInfo func (c *Greengrass) GetConnectivityInfo(input *GetConnectivityInfoInput) (*GetConnectivityInfoOutput, error) { @@ -2771,14 +2744,13 @@ const opGetConnectorDefinition = "GetConnectorDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConnectorDefinitionRequest method. +// req, resp := client.GetConnectorDefinitionRequest(params) // -// // Example sending a request using the GetConnectorDefinitionRequest method. -// req, resp := client.GetConnectorDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectorDefinition func (c *Greengrass) GetConnectorDefinitionRequest(input *GetConnectorDefinitionInput) (req *request.Request, output *GetConnectorDefinitionOutput) { @@ -2809,8 +2781,8 @@ func (c *Greengrass) GetConnectorDefinitionRequest(input *GetConnectorDefinition // API operation GetConnectorDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectorDefinition func (c *Greengrass) GetConnectorDefinition(input *GetConnectorDefinitionInput) (*GetConnectorDefinitionOutput, error) { @@ -2850,14 +2822,13 @@ const opGetConnectorDefinitionVersion = "GetConnectorDefinitionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConnectorDefinitionVersionRequest method. +// req, resp := client.GetConnectorDefinitionVersionRequest(params) // -// // Example sending a request using the GetConnectorDefinitionVersionRequest method. -// req, resp := client.GetConnectorDefinitionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectorDefinitionVersion func (c *Greengrass) GetConnectorDefinitionVersionRequest(input *GetConnectorDefinitionVersionInput) (req *request.Request, output *GetConnectorDefinitionVersionOutput) { @@ -2891,8 +2862,8 @@ func (c *Greengrass) GetConnectorDefinitionVersionRequest(input *GetConnectorDef // API operation GetConnectorDefinitionVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetConnectorDefinitionVersion func (c *Greengrass) GetConnectorDefinitionVersion(input *GetConnectorDefinitionVersionInput) (*GetConnectorDefinitionVersionOutput, error) { @@ -2932,14 +2903,13 @@ const opGetCoreDefinition = "GetCoreDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCoreDefinitionRequest method. +// req, resp := client.GetCoreDefinitionRequest(params) // -// // Example sending a request using the GetCoreDefinitionRequest method. -// req, resp := client.GetCoreDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetCoreDefinition func (c *Greengrass) GetCoreDefinitionRequest(input *GetCoreDefinitionInput) (req *request.Request, output *GetCoreDefinitionOutput) { @@ -2970,8 +2940,8 @@ func (c *Greengrass) GetCoreDefinitionRequest(input *GetCoreDefinitionInput) (re // API operation GetCoreDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetCoreDefinition func (c *Greengrass) GetCoreDefinition(input *GetCoreDefinitionInput) (*GetCoreDefinitionOutput, error) { @@ -3011,14 +2981,13 @@ const opGetCoreDefinitionVersion = "GetCoreDefinitionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCoreDefinitionVersionRequest method. +// req, resp := client.GetCoreDefinitionVersionRequest(params) // -// // Example sending a request using the GetCoreDefinitionVersionRequest method. -// req, resp := client.GetCoreDefinitionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetCoreDefinitionVersion func (c *Greengrass) GetCoreDefinitionVersionRequest(input *GetCoreDefinitionVersionInput) (req *request.Request, output *GetCoreDefinitionVersionOutput) { @@ -3049,8 +3018,8 @@ func (c *Greengrass) GetCoreDefinitionVersionRequest(input *GetCoreDefinitionVer // API operation GetCoreDefinitionVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetCoreDefinitionVersion func (c *Greengrass) GetCoreDefinitionVersion(input *GetCoreDefinitionVersionInput) (*GetCoreDefinitionVersionOutput, error) { @@ -3090,14 +3059,13 @@ const opGetDeploymentStatus = "GetDeploymentStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeploymentStatusRequest method. +// req, resp := client.GetDeploymentStatusRequest(params) // -// // Example sending a request using the GetDeploymentStatusRequest method. -// req, resp := client.GetDeploymentStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeploymentStatus func (c *Greengrass) GetDeploymentStatusRequest(input *GetDeploymentStatusInput) (req *request.Request, output *GetDeploymentStatusOutput) { @@ -3128,8 +3096,8 @@ func (c *Greengrass) GetDeploymentStatusRequest(input *GetDeploymentStatusInput) // API operation GetDeploymentStatus for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeploymentStatus func (c *Greengrass) GetDeploymentStatus(input *GetDeploymentStatusInput) (*GetDeploymentStatusOutput, error) { @@ -3169,14 +3137,13 @@ const opGetDeviceDefinition = "GetDeviceDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeviceDefinitionRequest method. +// req, resp := client.GetDeviceDefinitionRequest(params) // -// // Example sending a request using the GetDeviceDefinitionRequest method. -// req, resp := client.GetDeviceDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeviceDefinition func (c *Greengrass) GetDeviceDefinitionRequest(input *GetDeviceDefinitionInput) (req *request.Request, output *GetDeviceDefinitionOutput) { @@ -3207,8 +3174,8 @@ func (c *Greengrass) GetDeviceDefinitionRequest(input *GetDeviceDefinitionInput) // API operation GetDeviceDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeviceDefinition func (c *Greengrass) GetDeviceDefinition(input *GetDeviceDefinitionInput) (*GetDeviceDefinitionOutput, error) { @@ -3248,14 +3215,13 @@ const opGetDeviceDefinitionVersion = "GetDeviceDefinitionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeviceDefinitionVersionRequest method. +// req, resp := client.GetDeviceDefinitionVersionRequest(params) // -// // Example sending a request using the GetDeviceDefinitionVersionRequest method. -// req, resp := client.GetDeviceDefinitionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeviceDefinitionVersion func (c *Greengrass) GetDeviceDefinitionVersionRequest(input *GetDeviceDefinitionVersionInput) (req *request.Request, output *GetDeviceDefinitionVersionOutput) { @@ -3286,8 +3252,8 @@ func (c *Greengrass) GetDeviceDefinitionVersionRequest(input *GetDeviceDefinitio // API operation GetDeviceDefinitionVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetDeviceDefinitionVersion func (c *Greengrass) GetDeviceDefinitionVersion(input *GetDeviceDefinitionVersionInput) (*GetDeviceDefinitionVersionOutput, error) { @@ -3327,14 +3293,13 @@ const opGetFunctionDefinition = "GetFunctionDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFunctionDefinitionRequest method. +// req, resp := client.GetFunctionDefinitionRequest(params) // -// // Example sending a request using the GetFunctionDefinitionRequest method. -// req, resp := client.GetFunctionDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetFunctionDefinition func (c *Greengrass) GetFunctionDefinitionRequest(input *GetFunctionDefinitionInput) (req *request.Request, output *GetFunctionDefinitionOutput) { @@ -3366,8 +3331,8 @@ func (c *Greengrass) GetFunctionDefinitionRequest(input *GetFunctionDefinitionIn // API operation GetFunctionDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetFunctionDefinition func (c *Greengrass) GetFunctionDefinition(input *GetFunctionDefinitionInput) (*GetFunctionDefinitionOutput, error) { @@ -3407,14 +3372,13 @@ const opGetFunctionDefinitionVersion = "GetFunctionDefinitionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFunctionDefinitionVersionRequest method. +// req, resp := client.GetFunctionDefinitionVersionRequest(params) // -// // Example sending a request using the GetFunctionDefinitionVersionRequest method. -// req, resp := client.GetFunctionDefinitionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetFunctionDefinitionVersion func (c *Greengrass) GetFunctionDefinitionVersionRequest(input *GetFunctionDefinitionVersionInput) (req *request.Request, output *GetFunctionDefinitionVersionOutput) { @@ -3446,8 +3410,8 @@ func (c *Greengrass) GetFunctionDefinitionVersionRequest(input *GetFunctionDefin // API operation GetFunctionDefinitionVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetFunctionDefinitionVersion func (c *Greengrass) GetFunctionDefinitionVersion(input *GetFunctionDefinitionVersionInput) (*GetFunctionDefinitionVersionOutput, error) { @@ -3487,14 +3451,13 @@ const opGetGroup = "GetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGroupRequest method. +// req, resp := client.GetGroupRequest(params) // -// // Example sending a request using the GetGroupRequest method. -// req, resp := client.GetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroup func (c *Greengrass) GetGroupRequest(input *GetGroupInput) (req *request.Request, output *GetGroupOutput) { @@ -3525,8 +3488,8 @@ func (c *Greengrass) GetGroupRequest(input *GetGroupInput) (req *request.Request // API operation GetGroup for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroup func (c *Greengrass) GetGroup(input *GetGroupInput) (*GetGroupOutput, error) { @@ -3566,14 +3529,13 @@ const opGetGroupCertificateAuthority = "GetGroupCertificateAuthority" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGroupCertificateAuthorityRequest method. +// req, resp := client.GetGroupCertificateAuthorityRequest(params) // -// // Example sending a request using the GetGroupCertificateAuthorityRequest method. -// req, resp := client.GetGroupCertificateAuthorityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupCertificateAuthority func (c *Greengrass) GetGroupCertificateAuthorityRequest(input *GetGroupCertificateAuthorityInput) (req *request.Request, output *GetGroupCertificateAuthorityOutput) { @@ -3604,11 +3566,12 @@ func (c *Greengrass) GetGroupCertificateAuthorityRequest(input *GetGroupCertific // API operation GetGroupCertificateAuthority for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. // -// * InternalServerErrorException -// General error information. +// - BadRequestException +// General error information. +// +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupCertificateAuthority func (c *Greengrass) GetGroupCertificateAuthority(input *GetGroupCertificateAuthorityInput) (*GetGroupCertificateAuthorityOutput, error) { @@ -3648,14 +3611,13 @@ const opGetGroupCertificateConfiguration = "GetGroupCertificateConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGroupCertificateConfigurationRequest method. +// req, resp := client.GetGroupCertificateConfigurationRequest(params) // -// // Example sending a request using the GetGroupCertificateConfigurationRequest method. -// req, resp := client.GetGroupCertificateConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupCertificateConfiguration func (c *Greengrass) GetGroupCertificateConfigurationRequest(input *GetGroupCertificateConfigurationInput) (req *request.Request, output *GetGroupCertificateConfigurationOutput) { @@ -3686,11 +3648,12 @@ func (c *Greengrass) GetGroupCertificateConfigurationRequest(input *GetGroupCert // API operation GetGroupCertificateConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. // -// * InternalServerErrorException -// General error information. +// - BadRequestException +// General error information. +// +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupCertificateConfiguration func (c *Greengrass) GetGroupCertificateConfiguration(input *GetGroupCertificateConfigurationInput) (*GetGroupCertificateConfigurationOutput, error) { @@ -3730,14 +3693,13 @@ const opGetGroupVersion = "GetGroupVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGroupVersionRequest method. +// req, resp := client.GetGroupVersionRequest(params) // -// // Example sending a request using the GetGroupVersionRequest method. -// req, resp := client.GetGroupVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupVersion func (c *Greengrass) GetGroupVersionRequest(input *GetGroupVersionInput) (req *request.Request, output *GetGroupVersionOutput) { @@ -3768,8 +3730,8 @@ func (c *Greengrass) GetGroupVersionRequest(input *GetGroupVersionInput) (req *r // API operation GetGroupVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetGroupVersion func (c *Greengrass) GetGroupVersion(input *GetGroupVersionInput) (*GetGroupVersionOutput, error) { @@ -3809,14 +3771,13 @@ const opGetLoggerDefinition = "GetLoggerDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLoggerDefinitionRequest method. +// req, resp := client.GetLoggerDefinitionRequest(params) // -// // Example sending a request using the GetLoggerDefinitionRequest method. -// req, resp := client.GetLoggerDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetLoggerDefinition func (c *Greengrass) GetLoggerDefinitionRequest(input *GetLoggerDefinitionInput) (req *request.Request, output *GetLoggerDefinitionOutput) { @@ -3847,8 +3808,8 @@ func (c *Greengrass) GetLoggerDefinitionRequest(input *GetLoggerDefinitionInput) // API operation GetLoggerDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetLoggerDefinition func (c *Greengrass) GetLoggerDefinition(input *GetLoggerDefinitionInput) (*GetLoggerDefinitionOutput, error) { @@ -3888,14 +3849,13 @@ const opGetLoggerDefinitionVersion = "GetLoggerDefinitionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLoggerDefinitionVersionRequest method. +// req, resp := client.GetLoggerDefinitionVersionRequest(params) // -// // Example sending a request using the GetLoggerDefinitionVersionRequest method. -// req, resp := client.GetLoggerDefinitionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetLoggerDefinitionVersion func (c *Greengrass) GetLoggerDefinitionVersionRequest(input *GetLoggerDefinitionVersionInput) (req *request.Request, output *GetLoggerDefinitionVersionOutput) { @@ -3926,8 +3886,8 @@ func (c *Greengrass) GetLoggerDefinitionVersionRequest(input *GetLoggerDefinitio // API operation GetLoggerDefinitionVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetLoggerDefinitionVersion func (c *Greengrass) GetLoggerDefinitionVersion(input *GetLoggerDefinitionVersionInput) (*GetLoggerDefinitionVersionOutput, error) { @@ -3967,14 +3927,13 @@ const opGetResourceDefinition = "GetResourceDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceDefinitionRequest method. +// req, resp := client.GetResourceDefinitionRequest(params) // -// // Example sending a request using the GetResourceDefinitionRequest method. -// req, resp := client.GetResourceDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetResourceDefinition func (c *Greengrass) GetResourceDefinitionRequest(input *GetResourceDefinitionInput) (req *request.Request, output *GetResourceDefinitionOutput) { @@ -4006,8 +3965,8 @@ func (c *Greengrass) GetResourceDefinitionRequest(input *GetResourceDefinitionIn // API operation GetResourceDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetResourceDefinition func (c *Greengrass) GetResourceDefinition(input *GetResourceDefinitionInput) (*GetResourceDefinitionOutput, error) { @@ -4047,14 +4006,13 @@ const opGetResourceDefinitionVersion = "GetResourceDefinitionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceDefinitionVersionRequest method. +// req, resp := client.GetResourceDefinitionVersionRequest(params) // -// // Example sending a request using the GetResourceDefinitionVersionRequest method. -// req, resp := client.GetResourceDefinitionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetResourceDefinitionVersion func (c *Greengrass) GetResourceDefinitionVersionRequest(input *GetResourceDefinitionVersionInput) (req *request.Request, output *GetResourceDefinitionVersionOutput) { @@ -4086,8 +4044,8 @@ func (c *Greengrass) GetResourceDefinitionVersionRequest(input *GetResourceDefin // API operation GetResourceDefinitionVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetResourceDefinitionVersion func (c *Greengrass) GetResourceDefinitionVersion(input *GetResourceDefinitionVersionInput) (*GetResourceDefinitionVersionOutput, error) { @@ -4127,14 +4085,13 @@ const opGetServiceRoleForAccount = "GetServiceRoleForAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceRoleForAccountRequest method. +// req, resp := client.GetServiceRoleForAccountRequest(params) // -// // Example sending a request using the GetServiceRoleForAccountRequest method. -// req, resp := client.GetServiceRoleForAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetServiceRoleForAccount func (c *Greengrass) GetServiceRoleForAccountRequest(input *GetServiceRoleForAccountInput) (req *request.Request, output *GetServiceRoleForAccountOutput) { @@ -4165,8 +4122,8 @@ func (c *Greengrass) GetServiceRoleForAccountRequest(input *GetServiceRoleForAcc // API operation GetServiceRoleForAccount for usage and error information. // // Returned Error Types: -// * InternalServerErrorException -// General error information. +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetServiceRoleForAccount func (c *Greengrass) GetServiceRoleForAccount(input *GetServiceRoleForAccountInput) (*GetServiceRoleForAccountOutput, error) { @@ -4206,14 +4163,13 @@ const opGetSubscriptionDefinition = "GetSubscriptionDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSubscriptionDefinitionRequest method. +// req, resp := client.GetSubscriptionDefinitionRequest(params) // -// // Example sending a request using the GetSubscriptionDefinitionRequest method. -// req, resp := client.GetSubscriptionDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinition func (c *Greengrass) GetSubscriptionDefinitionRequest(input *GetSubscriptionDefinitionInput) (req *request.Request, output *GetSubscriptionDefinitionOutput) { @@ -4244,8 +4200,8 @@ func (c *Greengrass) GetSubscriptionDefinitionRequest(input *GetSubscriptionDefi // API operation GetSubscriptionDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinition func (c *Greengrass) GetSubscriptionDefinition(input *GetSubscriptionDefinitionInput) (*GetSubscriptionDefinitionOutput, error) { @@ -4285,14 +4241,13 @@ const opGetSubscriptionDefinitionVersion = "GetSubscriptionDefinitionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSubscriptionDefinitionVersionRequest method. +// req, resp := client.GetSubscriptionDefinitionVersionRequest(params) // -// // Example sending a request using the GetSubscriptionDefinitionVersionRequest method. -// req, resp := client.GetSubscriptionDefinitionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinitionVersion func (c *Greengrass) GetSubscriptionDefinitionVersionRequest(input *GetSubscriptionDefinitionVersionInput) (req *request.Request, output *GetSubscriptionDefinitionVersionOutput) { @@ -4323,8 +4278,8 @@ func (c *Greengrass) GetSubscriptionDefinitionVersionRequest(input *GetSubscript // API operation GetSubscriptionDefinitionVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetSubscriptionDefinitionVersion func (c *Greengrass) GetSubscriptionDefinitionVersion(input *GetSubscriptionDefinitionVersionInput) (*GetSubscriptionDefinitionVersionOutput, error) { @@ -4364,14 +4319,13 @@ const opGetThingRuntimeConfiguration = "GetThingRuntimeConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetThingRuntimeConfigurationRequest method. +// req, resp := client.GetThingRuntimeConfigurationRequest(params) // -// // Example sending a request using the GetThingRuntimeConfigurationRequest method. -// req, resp := client.GetThingRuntimeConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetThingRuntimeConfiguration func (c *Greengrass) GetThingRuntimeConfigurationRequest(input *GetThingRuntimeConfigurationInput) (req *request.Request, output *GetThingRuntimeConfigurationOutput) { @@ -4402,11 +4356,12 @@ func (c *Greengrass) GetThingRuntimeConfigurationRequest(input *GetThingRuntimeC // API operation GetThingRuntimeConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. // -// * InternalServerErrorException -// General error information. +// - BadRequestException +// General error information. +// +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetThingRuntimeConfiguration func (c *Greengrass) GetThingRuntimeConfiguration(input *GetThingRuntimeConfigurationInput) (*GetThingRuntimeConfigurationOutput, error) { @@ -4446,14 +4401,13 @@ const opListBulkDeploymentDetailedReports = "ListBulkDeploymentDetailedReports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBulkDeploymentDetailedReportsRequest method. +// req, resp := client.ListBulkDeploymentDetailedReportsRequest(params) // -// // Example sending a request using the ListBulkDeploymentDetailedReportsRequest method. -// req, resp := client.ListBulkDeploymentDetailedReportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListBulkDeploymentDetailedReports func (c *Greengrass) ListBulkDeploymentDetailedReportsRequest(input *ListBulkDeploymentDetailedReportsInput) (req *request.Request, output *ListBulkDeploymentDetailedReportsOutput) { @@ -4485,8 +4439,8 @@ func (c *Greengrass) ListBulkDeploymentDetailedReportsRequest(input *ListBulkDep // API operation ListBulkDeploymentDetailedReports for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListBulkDeploymentDetailedReports func (c *Greengrass) ListBulkDeploymentDetailedReports(input *ListBulkDeploymentDetailedReportsInput) (*ListBulkDeploymentDetailedReportsOutput, error) { @@ -4526,14 +4480,13 @@ const opListBulkDeployments = "ListBulkDeployments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBulkDeploymentsRequest method. +// req, resp := client.ListBulkDeploymentsRequest(params) // -// // Example sending a request using the ListBulkDeploymentsRequest method. -// req, resp := client.ListBulkDeploymentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListBulkDeployments func (c *Greengrass) ListBulkDeploymentsRequest(input *ListBulkDeploymentsInput) (req *request.Request, output *ListBulkDeploymentsOutput) { @@ -4564,8 +4517,8 @@ func (c *Greengrass) ListBulkDeploymentsRequest(input *ListBulkDeploymentsInput) // API operation ListBulkDeployments for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListBulkDeployments func (c *Greengrass) ListBulkDeployments(input *ListBulkDeploymentsInput) (*ListBulkDeploymentsOutput, error) { @@ -4605,14 +4558,13 @@ const opListConnectorDefinitionVersions = "ListConnectorDefinitionVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConnectorDefinitionVersionsRequest method. +// req, resp := client.ListConnectorDefinitionVersionsRequest(params) // -// // Example sending a request using the ListConnectorDefinitionVersionsRequest method. -// req, resp := client.ListConnectorDefinitionVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListConnectorDefinitionVersions func (c *Greengrass) ListConnectorDefinitionVersionsRequest(input *ListConnectorDefinitionVersionsInput) (req *request.Request, output *ListConnectorDefinitionVersionsOutput) { @@ -4645,8 +4597,8 @@ func (c *Greengrass) ListConnectorDefinitionVersionsRequest(input *ListConnector // API operation ListConnectorDefinitionVersions for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListConnectorDefinitionVersions func (c *Greengrass) ListConnectorDefinitionVersions(input *ListConnectorDefinitionVersionsInput) (*ListConnectorDefinitionVersionsOutput, error) { @@ -4686,14 +4638,13 @@ const opListConnectorDefinitions = "ListConnectorDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConnectorDefinitionsRequest method. +// req, resp := client.ListConnectorDefinitionsRequest(params) // -// // Example sending a request using the ListConnectorDefinitionsRequest method. -// req, resp := client.ListConnectorDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListConnectorDefinitions func (c *Greengrass) ListConnectorDefinitionsRequest(input *ListConnectorDefinitionsInput) (req *request.Request, output *ListConnectorDefinitionsOutput) { @@ -4760,14 +4711,13 @@ const opListCoreDefinitionVersions = "ListCoreDefinitionVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCoreDefinitionVersionsRequest method. +// req, resp := client.ListCoreDefinitionVersionsRequest(params) // -// // Example sending a request using the ListCoreDefinitionVersionsRequest method. -// req, resp := client.ListCoreDefinitionVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListCoreDefinitionVersions func (c *Greengrass) ListCoreDefinitionVersionsRequest(input *ListCoreDefinitionVersionsInput) (req *request.Request, output *ListCoreDefinitionVersionsOutput) { @@ -4798,8 +4748,8 @@ func (c *Greengrass) ListCoreDefinitionVersionsRequest(input *ListCoreDefinition // API operation ListCoreDefinitionVersions for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListCoreDefinitionVersions func (c *Greengrass) ListCoreDefinitionVersions(input *ListCoreDefinitionVersionsInput) (*ListCoreDefinitionVersionsOutput, error) { @@ -4839,14 +4789,13 @@ const opListCoreDefinitions = "ListCoreDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCoreDefinitionsRequest method. +// req, resp := client.ListCoreDefinitionsRequest(params) // -// // Example sending a request using the ListCoreDefinitionsRequest method. -// req, resp := client.ListCoreDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListCoreDefinitions func (c *Greengrass) ListCoreDefinitionsRequest(input *ListCoreDefinitionsInput) (req *request.Request, output *ListCoreDefinitionsOutput) { @@ -4913,14 +4862,13 @@ const opListDeployments = "ListDeployments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeploymentsRequest method. +// req, resp := client.ListDeploymentsRequest(params) // -// // Example sending a request using the ListDeploymentsRequest method. -// req, resp := client.ListDeploymentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeployments func (c *Greengrass) ListDeploymentsRequest(input *ListDeploymentsInput) (req *request.Request, output *ListDeploymentsOutput) { @@ -4951,8 +4899,8 @@ func (c *Greengrass) ListDeploymentsRequest(input *ListDeploymentsInput) (req *r // API operation ListDeployments for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeployments func (c *Greengrass) ListDeployments(input *ListDeploymentsInput) (*ListDeploymentsOutput, error) { @@ -4992,14 +4940,13 @@ const opListDeviceDefinitionVersions = "ListDeviceDefinitionVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeviceDefinitionVersionsRequest method. +// req, resp := client.ListDeviceDefinitionVersionsRequest(params) // -// // Example sending a request using the ListDeviceDefinitionVersionsRequest method. -// req, resp := client.ListDeviceDefinitionVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeviceDefinitionVersions func (c *Greengrass) ListDeviceDefinitionVersionsRequest(input *ListDeviceDefinitionVersionsInput) (req *request.Request, output *ListDeviceDefinitionVersionsOutput) { @@ -5030,8 +4977,8 @@ func (c *Greengrass) ListDeviceDefinitionVersionsRequest(input *ListDeviceDefini // API operation ListDeviceDefinitionVersions for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeviceDefinitionVersions func (c *Greengrass) ListDeviceDefinitionVersions(input *ListDeviceDefinitionVersionsInput) (*ListDeviceDefinitionVersionsOutput, error) { @@ -5071,14 +5018,13 @@ const opListDeviceDefinitions = "ListDeviceDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeviceDefinitionsRequest method. +// req, resp := client.ListDeviceDefinitionsRequest(params) // -// // Example sending a request using the ListDeviceDefinitionsRequest method. -// req, resp := client.ListDeviceDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListDeviceDefinitions func (c *Greengrass) ListDeviceDefinitionsRequest(input *ListDeviceDefinitionsInput) (req *request.Request, output *ListDeviceDefinitionsOutput) { @@ -5145,14 +5091,13 @@ const opListFunctionDefinitionVersions = "ListFunctionDefinitionVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFunctionDefinitionVersionsRequest method. +// req, resp := client.ListFunctionDefinitionVersionsRequest(params) // -// // Example sending a request using the ListFunctionDefinitionVersionsRequest method. -// req, resp := client.ListFunctionDefinitionVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListFunctionDefinitionVersions func (c *Greengrass) ListFunctionDefinitionVersionsRequest(input *ListFunctionDefinitionVersionsInput) (req *request.Request, output *ListFunctionDefinitionVersionsOutput) { @@ -5183,8 +5128,8 @@ func (c *Greengrass) ListFunctionDefinitionVersionsRequest(input *ListFunctionDe // API operation ListFunctionDefinitionVersions for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListFunctionDefinitionVersions func (c *Greengrass) ListFunctionDefinitionVersions(input *ListFunctionDefinitionVersionsInput) (*ListFunctionDefinitionVersionsOutput, error) { @@ -5224,14 +5169,13 @@ const opListFunctionDefinitions = "ListFunctionDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFunctionDefinitionsRequest method. +// req, resp := client.ListFunctionDefinitionsRequest(params) // -// // Example sending a request using the ListFunctionDefinitionsRequest method. -// req, resp := client.ListFunctionDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListFunctionDefinitions func (c *Greengrass) ListFunctionDefinitionsRequest(input *ListFunctionDefinitionsInput) (req *request.Request, output *ListFunctionDefinitionsOutput) { @@ -5298,14 +5242,13 @@ const opListGroupCertificateAuthorities = "ListGroupCertificateAuthorities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroupCertificateAuthoritiesRequest method. +// req, resp := client.ListGroupCertificateAuthoritiesRequest(params) // -// // Example sending a request using the ListGroupCertificateAuthoritiesRequest method. -// req, resp := client.ListGroupCertificateAuthoritiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroupCertificateAuthorities func (c *Greengrass) ListGroupCertificateAuthoritiesRequest(input *ListGroupCertificateAuthoritiesInput) (req *request.Request, output *ListGroupCertificateAuthoritiesOutput) { @@ -5336,11 +5279,12 @@ func (c *Greengrass) ListGroupCertificateAuthoritiesRequest(input *ListGroupCert // API operation ListGroupCertificateAuthorities for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. // -// * InternalServerErrorException -// General error information. +// - BadRequestException +// General error information. +// +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroupCertificateAuthorities func (c *Greengrass) ListGroupCertificateAuthorities(input *ListGroupCertificateAuthoritiesInput) (*ListGroupCertificateAuthoritiesOutput, error) { @@ -5380,14 +5324,13 @@ const opListGroupVersions = "ListGroupVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroupVersionsRequest method. +// req, resp := client.ListGroupVersionsRequest(params) // -// // Example sending a request using the ListGroupVersionsRequest method. -// req, resp := client.ListGroupVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroupVersions func (c *Greengrass) ListGroupVersionsRequest(input *ListGroupVersionsInput) (req *request.Request, output *ListGroupVersionsOutput) { @@ -5418,8 +5361,8 @@ func (c *Greengrass) ListGroupVersionsRequest(input *ListGroupVersionsInput) (re // API operation ListGroupVersions for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroupVersions func (c *Greengrass) ListGroupVersions(input *ListGroupVersionsInput) (*ListGroupVersionsOutput, error) { @@ -5459,14 +5402,13 @@ const opListGroups = "ListGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroupsRequest method. +// req, resp := client.ListGroupsRequest(params) // -// // Example sending a request using the ListGroupsRequest method. -// req, resp := client.ListGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListGroups func (c *Greengrass) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput) { @@ -5533,14 +5475,13 @@ const opListLoggerDefinitionVersions = "ListLoggerDefinitionVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLoggerDefinitionVersionsRequest method. +// req, resp := client.ListLoggerDefinitionVersionsRequest(params) // -// // Example sending a request using the ListLoggerDefinitionVersionsRequest method. -// req, resp := client.ListLoggerDefinitionVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListLoggerDefinitionVersions func (c *Greengrass) ListLoggerDefinitionVersionsRequest(input *ListLoggerDefinitionVersionsInput) (req *request.Request, output *ListLoggerDefinitionVersionsOutput) { @@ -5571,8 +5512,8 @@ func (c *Greengrass) ListLoggerDefinitionVersionsRequest(input *ListLoggerDefini // API operation ListLoggerDefinitionVersions for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListLoggerDefinitionVersions func (c *Greengrass) ListLoggerDefinitionVersions(input *ListLoggerDefinitionVersionsInput) (*ListLoggerDefinitionVersionsOutput, error) { @@ -5612,14 +5553,13 @@ const opListLoggerDefinitions = "ListLoggerDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLoggerDefinitionsRequest method. +// req, resp := client.ListLoggerDefinitionsRequest(params) // -// // Example sending a request using the ListLoggerDefinitionsRequest method. -// req, resp := client.ListLoggerDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListLoggerDefinitions func (c *Greengrass) ListLoggerDefinitionsRequest(input *ListLoggerDefinitionsInput) (req *request.Request, output *ListLoggerDefinitionsOutput) { @@ -5686,14 +5626,13 @@ const opListResourceDefinitionVersions = "ListResourceDefinitionVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourceDefinitionVersionsRequest method. +// req, resp := client.ListResourceDefinitionVersionsRequest(params) // -// // Example sending a request using the ListResourceDefinitionVersionsRequest method. -// req, resp := client.ListResourceDefinitionVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListResourceDefinitionVersions func (c *Greengrass) ListResourceDefinitionVersionsRequest(input *ListResourceDefinitionVersionsInput) (req *request.Request, output *ListResourceDefinitionVersionsOutput) { @@ -5724,8 +5663,8 @@ func (c *Greengrass) ListResourceDefinitionVersionsRequest(input *ListResourceDe // API operation ListResourceDefinitionVersions for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListResourceDefinitionVersions func (c *Greengrass) ListResourceDefinitionVersions(input *ListResourceDefinitionVersionsInput) (*ListResourceDefinitionVersionsOutput, error) { @@ -5765,14 +5704,13 @@ const opListResourceDefinitions = "ListResourceDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourceDefinitionsRequest method. +// req, resp := client.ListResourceDefinitionsRequest(params) // -// // Example sending a request using the ListResourceDefinitionsRequest method. -// req, resp := client.ListResourceDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListResourceDefinitions func (c *Greengrass) ListResourceDefinitionsRequest(input *ListResourceDefinitionsInput) (req *request.Request, output *ListResourceDefinitionsOutput) { @@ -5839,14 +5777,13 @@ const opListSubscriptionDefinitionVersions = "ListSubscriptionDefinitionVersions // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSubscriptionDefinitionVersionsRequest method. +// req, resp := client.ListSubscriptionDefinitionVersionsRequest(params) // -// // Example sending a request using the ListSubscriptionDefinitionVersionsRequest method. -// req, resp := client.ListSubscriptionDefinitionVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListSubscriptionDefinitionVersions func (c *Greengrass) ListSubscriptionDefinitionVersionsRequest(input *ListSubscriptionDefinitionVersionsInput) (req *request.Request, output *ListSubscriptionDefinitionVersionsOutput) { @@ -5877,8 +5814,8 @@ func (c *Greengrass) ListSubscriptionDefinitionVersionsRequest(input *ListSubscr // API operation ListSubscriptionDefinitionVersions for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListSubscriptionDefinitionVersions func (c *Greengrass) ListSubscriptionDefinitionVersions(input *ListSubscriptionDefinitionVersionsInput) (*ListSubscriptionDefinitionVersionsOutput, error) { @@ -5918,14 +5855,13 @@ const opListSubscriptionDefinitions = "ListSubscriptionDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSubscriptionDefinitionsRequest method. +// req, resp := client.ListSubscriptionDefinitionsRequest(params) // -// // Example sending a request using the ListSubscriptionDefinitionsRequest method. -// req, resp := client.ListSubscriptionDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListSubscriptionDefinitions func (c *Greengrass) ListSubscriptionDefinitionsRequest(input *ListSubscriptionDefinitionsInput) (req *request.Request, output *ListSubscriptionDefinitionsOutput) { @@ -5992,14 +5928,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListTagsForResource func (c *Greengrass) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -6030,8 +5965,8 @@ func (c *Greengrass) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ListTagsForResource func (c *Greengrass) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -6071,14 +6006,13 @@ const opResetDeployments = "ResetDeployments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetDeploymentsRequest method. +// req, resp := client.ResetDeploymentsRequest(params) // -// // Example sending a request using the ResetDeploymentsRequest method. -// req, resp := client.ResetDeploymentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ResetDeployments func (c *Greengrass) ResetDeploymentsRequest(input *ResetDeploymentsInput) (req *request.Request, output *ResetDeploymentsOutput) { @@ -6109,8 +6043,8 @@ func (c *Greengrass) ResetDeploymentsRequest(input *ResetDeploymentsInput) (req // API operation ResetDeployments for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/ResetDeployments func (c *Greengrass) ResetDeployments(input *ResetDeploymentsInput) (*ResetDeploymentsOutput, error) { @@ -6150,14 +6084,13 @@ const opStartBulkDeployment = "StartBulkDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartBulkDeploymentRequest method. +// req, resp := client.StartBulkDeploymentRequest(params) // -// // Example sending a request using the StartBulkDeploymentRequest method. -// req, resp := client.StartBulkDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/StartBulkDeployment func (c *Greengrass) StartBulkDeploymentRequest(input *StartBulkDeploymentInput) (req *request.Request, output *StartBulkDeploymentOutput) { @@ -6181,7 +6114,7 @@ func (c *Greengrass) StartBulkDeploymentRequest(input *StartBulkDeploymentInput) // Deploys multiple groups in one operation. This action starts the bulk deployment // of a specified set of group versions. Each group version deployment will // be triggered with an adaptive rate that has a fixed upper limit. We recommend -// that you include an ''X-Amzn-Client-Token'' token in every ''StartBulkDeployment'' +// that you include an ”X-Amzn-Client-Token” token in every ”StartBulkDeployment” // request. These requests are idempotent with respect to the token and the // request parameters. // @@ -6193,8 +6126,8 @@ func (c *Greengrass) StartBulkDeploymentRequest(input *StartBulkDeploymentInput) // API operation StartBulkDeployment for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/StartBulkDeployment func (c *Greengrass) StartBulkDeployment(input *StartBulkDeploymentInput) (*StartBulkDeploymentOutput, error) { @@ -6234,14 +6167,13 @@ const opStopBulkDeployment = "StopBulkDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopBulkDeploymentRequest method. +// req, resp := client.StopBulkDeploymentRequest(params) // -// // Example sending a request using the StopBulkDeploymentRequest method. -// req, resp := client.StopBulkDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/StopBulkDeployment func (c *Greengrass) StopBulkDeploymentRequest(input *StopBulkDeploymentInput) (req *request.Request, output *StopBulkDeploymentOutput) { @@ -6264,8 +6196,8 @@ func (c *Greengrass) StopBulkDeploymentRequest(input *StopBulkDeploymentInput) ( // StopBulkDeployment API operation for AWS Greengrass. // // Stops the execution of a bulk deployment. This action returns a status of -// ''Stopping'' until the deployment is stopped. You cannot start a new bulk -// deployment while a previous deployment is in the ''Stopping'' state. This +// ”Stopping” until the deployment is stopped. You cannot start a new bulk +// deployment while a previous deployment is in the ”Stopping” state. This // action doesn't rollback completed deployments or cancel pending deployments. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -6276,8 +6208,8 @@ func (c *Greengrass) StopBulkDeploymentRequest(input *StopBulkDeploymentInput) ( // API operation StopBulkDeployment for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/StopBulkDeployment func (c *Greengrass) StopBulkDeployment(input *StopBulkDeploymentInput) (*StopBulkDeploymentOutput, error) { @@ -6317,14 +6249,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/TagResource func (c *Greengrass) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -6358,8 +6289,8 @@ func (c *Greengrass) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/TagResource func (c *Greengrass) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -6399,14 +6330,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UntagResource func (c *Greengrass) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -6438,8 +6368,8 @@ func (c *Greengrass) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UntagResource func (c *Greengrass) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -6479,14 +6409,13 @@ const opUpdateConnectivityInfo = "UpdateConnectivityInfo" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConnectivityInfoRequest method. +// req, resp := client.UpdateConnectivityInfoRequest(params) // -// // Example sending a request using the UpdateConnectivityInfoRequest method. -// req, resp := client.UpdateConnectivityInfoRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateConnectivityInfo func (c *Greengrass) UpdateConnectivityInfoRequest(input *UpdateConnectivityInfoInput) (req *request.Request, output *UpdateConnectivityInfoOutput) { @@ -6519,11 +6448,12 @@ func (c *Greengrass) UpdateConnectivityInfoRequest(input *UpdateConnectivityInfo // API operation UpdateConnectivityInfo for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. // -// * InternalServerErrorException -// General error information. +// - BadRequestException +// General error information. +// +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateConnectivityInfo func (c *Greengrass) UpdateConnectivityInfo(input *UpdateConnectivityInfoInput) (*UpdateConnectivityInfoOutput, error) { @@ -6563,14 +6493,13 @@ const opUpdateConnectorDefinition = "UpdateConnectorDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConnectorDefinitionRequest method. +// req, resp := client.UpdateConnectorDefinitionRequest(params) // -// // Example sending a request using the UpdateConnectorDefinitionRequest method. -// req, resp := client.UpdateConnectorDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateConnectorDefinition func (c *Greengrass) UpdateConnectorDefinitionRequest(input *UpdateConnectorDefinitionInput) (req *request.Request, output *UpdateConnectorDefinitionOutput) { @@ -6602,8 +6531,8 @@ func (c *Greengrass) UpdateConnectorDefinitionRequest(input *UpdateConnectorDefi // API operation UpdateConnectorDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateConnectorDefinition func (c *Greengrass) UpdateConnectorDefinition(input *UpdateConnectorDefinitionInput) (*UpdateConnectorDefinitionOutput, error) { @@ -6643,14 +6572,13 @@ const opUpdateCoreDefinition = "UpdateCoreDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCoreDefinitionRequest method. +// req, resp := client.UpdateCoreDefinitionRequest(params) // -// // Example sending a request using the UpdateCoreDefinitionRequest method. -// req, resp := client.UpdateCoreDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateCoreDefinition func (c *Greengrass) UpdateCoreDefinitionRequest(input *UpdateCoreDefinitionInput) (req *request.Request, output *UpdateCoreDefinitionOutput) { @@ -6682,8 +6610,8 @@ func (c *Greengrass) UpdateCoreDefinitionRequest(input *UpdateCoreDefinitionInpu // API operation UpdateCoreDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateCoreDefinition func (c *Greengrass) UpdateCoreDefinition(input *UpdateCoreDefinitionInput) (*UpdateCoreDefinitionOutput, error) { @@ -6723,14 +6651,13 @@ const opUpdateDeviceDefinition = "UpdateDeviceDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDeviceDefinitionRequest method. +// req, resp := client.UpdateDeviceDefinitionRequest(params) // -// // Example sending a request using the UpdateDeviceDefinitionRequest method. -// req, resp := client.UpdateDeviceDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateDeviceDefinition func (c *Greengrass) UpdateDeviceDefinitionRequest(input *UpdateDeviceDefinitionInput) (req *request.Request, output *UpdateDeviceDefinitionOutput) { @@ -6762,8 +6689,8 @@ func (c *Greengrass) UpdateDeviceDefinitionRequest(input *UpdateDeviceDefinition // API operation UpdateDeviceDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateDeviceDefinition func (c *Greengrass) UpdateDeviceDefinition(input *UpdateDeviceDefinitionInput) (*UpdateDeviceDefinitionOutput, error) { @@ -6803,14 +6730,13 @@ const opUpdateFunctionDefinition = "UpdateFunctionDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFunctionDefinitionRequest method. +// req, resp := client.UpdateFunctionDefinitionRequest(params) // -// // Example sending a request using the UpdateFunctionDefinitionRequest method. -// req, resp := client.UpdateFunctionDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateFunctionDefinition func (c *Greengrass) UpdateFunctionDefinitionRequest(input *UpdateFunctionDefinitionInput) (req *request.Request, output *UpdateFunctionDefinitionOutput) { @@ -6842,8 +6768,8 @@ func (c *Greengrass) UpdateFunctionDefinitionRequest(input *UpdateFunctionDefini // API operation UpdateFunctionDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateFunctionDefinition func (c *Greengrass) UpdateFunctionDefinition(input *UpdateFunctionDefinitionInput) (*UpdateFunctionDefinitionOutput, error) { @@ -6883,14 +6809,13 @@ const opUpdateGroup = "UpdateGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGroupRequest method. +// req, resp := client.UpdateGroupRequest(params) // -// // Example sending a request using the UpdateGroupRequest method. -// req, resp := client.UpdateGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateGroup func (c *Greengrass) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput) { @@ -6922,8 +6847,8 @@ func (c *Greengrass) UpdateGroupRequest(input *UpdateGroupInput) (req *request.R // API operation UpdateGroup for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateGroup func (c *Greengrass) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error) { @@ -6963,14 +6888,13 @@ const opUpdateGroupCertificateConfiguration = "UpdateGroupCertificateConfigurati // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGroupCertificateConfigurationRequest method. +// req, resp := client.UpdateGroupCertificateConfigurationRequest(params) // -// // Example sending a request using the UpdateGroupCertificateConfigurationRequest method. -// req, resp := client.UpdateGroupCertificateConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateGroupCertificateConfiguration func (c *Greengrass) UpdateGroupCertificateConfigurationRequest(input *UpdateGroupCertificateConfigurationInput) (req *request.Request, output *UpdateGroupCertificateConfigurationOutput) { @@ -7001,11 +6925,12 @@ func (c *Greengrass) UpdateGroupCertificateConfigurationRequest(input *UpdateGro // API operation UpdateGroupCertificateConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. // -// * InternalServerErrorException -// General error information. +// - BadRequestException +// General error information. +// +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateGroupCertificateConfiguration func (c *Greengrass) UpdateGroupCertificateConfiguration(input *UpdateGroupCertificateConfigurationInput) (*UpdateGroupCertificateConfigurationOutput, error) { @@ -7045,14 +6970,13 @@ const opUpdateLoggerDefinition = "UpdateLoggerDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLoggerDefinitionRequest method. +// req, resp := client.UpdateLoggerDefinitionRequest(params) // -// // Example sending a request using the UpdateLoggerDefinitionRequest method. -// req, resp := client.UpdateLoggerDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateLoggerDefinition func (c *Greengrass) UpdateLoggerDefinitionRequest(input *UpdateLoggerDefinitionInput) (req *request.Request, output *UpdateLoggerDefinitionOutput) { @@ -7084,8 +7008,8 @@ func (c *Greengrass) UpdateLoggerDefinitionRequest(input *UpdateLoggerDefinition // API operation UpdateLoggerDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateLoggerDefinition func (c *Greengrass) UpdateLoggerDefinition(input *UpdateLoggerDefinitionInput) (*UpdateLoggerDefinitionOutput, error) { @@ -7125,14 +7049,13 @@ const opUpdateResourceDefinition = "UpdateResourceDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResourceDefinitionRequest method. +// req, resp := client.UpdateResourceDefinitionRequest(params) // -// // Example sending a request using the UpdateResourceDefinitionRequest method. -// req, resp := client.UpdateResourceDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateResourceDefinition func (c *Greengrass) UpdateResourceDefinitionRequest(input *UpdateResourceDefinitionInput) (req *request.Request, output *UpdateResourceDefinitionOutput) { @@ -7164,8 +7087,8 @@ func (c *Greengrass) UpdateResourceDefinitionRequest(input *UpdateResourceDefini // API operation UpdateResourceDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateResourceDefinition func (c *Greengrass) UpdateResourceDefinition(input *UpdateResourceDefinitionInput) (*UpdateResourceDefinitionOutput, error) { @@ -7205,14 +7128,13 @@ const opUpdateSubscriptionDefinition = "UpdateSubscriptionDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSubscriptionDefinitionRequest method. +// req, resp := client.UpdateSubscriptionDefinitionRequest(params) // -// // Example sending a request using the UpdateSubscriptionDefinitionRequest method. -// req, resp := client.UpdateSubscriptionDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateSubscriptionDefinition func (c *Greengrass) UpdateSubscriptionDefinitionRequest(input *UpdateSubscriptionDefinitionInput) (req *request.Request, output *UpdateSubscriptionDefinitionOutput) { @@ -7244,8 +7166,8 @@ func (c *Greengrass) UpdateSubscriptionDefinitionRequest(input *UpdateSubscripti // API operation UpdateSubscriptionDefinition for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. +// - BadRequestException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateSubscriptionDefinition func (c *Greengrass) UpdateSubscriptionDefinition(input *UpdateSubscriptionDefinitionInput) (*UpdateSubscriptionDefinitionOutput, error) { @@ -7285,14 +7207,13 @@ const opUpdateThingRuntimeConfiguration = "UpdateThingRuntimeConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateThingRuntimeConfigurationRequest method. +// req, resp := client.UpdateThingRuntimeConfigurationRequest(params) // -// // Example sending a request using the UpdateThingRuntimeConfigurationRequest method. -// req, resp := client.UpdateThingRuntimeConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateThingRuntimeConfiguration func (c *Greengrass) UpdateThingRuntimeConfigurationRequest(input *UpdateThingRuntimeConfigurationInput) (req *request.Request, output *UpdateThingRuntimeConfigurationOutput) { @@ -7324,11 +7245,12 @@ func (c *Greengrass) UpdateThingRuntimeConfigurationRequest(input *UpdateThingRu // API operation UpdateThingRuntimeConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// General error information. // -// * InternalServerErrorException -// General error information. +// - BadRequestException +// General error information. +// +// - InternalServerErrorException +// General error information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/UpdateThingRuntimeConfiguration func (c *Greengrass) UpdateThingRuntimeConfiguration(input *UpdateThingRuntimeConfigurationInput) (*UpdateThingRuntimeConfigurationOutput, error) { @@ -12251,8 +12173,8 @@ func (s *FunctionExecutionConfig) SetRunAs(v *FunctionRunAsConfig) *FunctionExec // Lambda function. You can specify one or both values to override the default // values. We recommend that you avoid running as root unless absolutely necessary // to minimize the risk of unintended changes or malicious attacks. To run as -// root, you must set ''IsolationMode'' to ''NoContainer'' and update config.json -// in ''greengrass-root/config'' to set ''allowFunctionsToRunAsRoot'' to ''yes''. +// root, you must set ”IsolationMode” to ”NoContainer” and update config.json +// in ”greengrass-root/config” to set ”allowFunctionsToRunAsRoot” to ”yes”. type FunctionRunAsConfig struct { _ struct{} `type:"structure"` @@ -17958,9 +17880,9 @@ func (s *ResourceAccessPolicy) SetResourceId(v string) *ResourceAccessPolicy { } // A container for resource data. The container takes only one of the following -// supported resource data types: ''LocalDeviceResourceData'', ''LocalVolumeResourceData'', -// ''SageMakerMachineLearningModelResourceData'', ''S3MachineLearningModelResourceData'', -// ''SecretsManagerSecretResourceData''. +// supported resource data types: ”LocalDeviceResourceData”, ”LocalVolumeResourceData”, +// ”SageMakerMachineLearningModelResourceData”, ”S3MachineLearningModelResourceData”, +// ”SecretsManagerSecretResourceData”. type ResourceDataContainer struct { _ struct{} `type:"structure"` @@ -19972,8 +19894,8 @@ func ConfigurationSyncStatus_Values() []string { } } -// The type of deployment. When used for ''CreateDeployment'', only ''NewDeployment'' -// and ''Redeployment'' are valid. +// The type of deployment. When used for ”CreateDeployment”, only ”NewDeployment” +// and ”Redeployment” are valid. const ( // DeploymentTypeNewDeployment is a DeploymentType enum value DeploymentTypeNewDeployment = "NewDeployment" diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/doc.go index c4b86ff1f297..e186eebf7ac7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/doc.go @@ -15,7 +15,7 @@ // See greengrass package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/greengrass/ // -// Using the Client +// # Using the Client // // To contact AWS Greengrass with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/greengrassiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/greengrassiface/interface.go index c931374149b6..6697608db735 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/greengrassiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/greengrassiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Greengrass. -// func myFunc(svc greengrassiface.GreengrassAPI) bool { -// // Make svc.AssociateRoleToGroup request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Greengrass. +// func myFunc(svc greengrassiface.GreengrassAPI) bool { +// // Make svc.AssociateRoleToGroup request +// } // -// func main() { -// sess := session.New() -// svc := greengrass.New(sess) +// func main() { +// sess := session.New() +// svc := greengrass.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockGreengrassClient struct { -// greengrassiface.GreengrassAPI -// } -// func (m *mockGreengrassClient) AssociateRoleToGroup(input *greengrass.AssociateRoleToGroupInput) (*greengrass.AssociateRoleToGroupOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockGreengrassClient struct { +// greengrassiface.GreengrassAPI +// } +// func (m *mockGreengrassClient) AssociateRoleToGroup(input *greengrass.AssociateRoleToGroupInput) (*greengrass.AssociateRoleToGroupOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockGreengrassClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockGreengrassClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/service.go index 8589ff7559f9..cb85304a7127 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrass/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Greengrass client from just a session. -// svc := greengrass.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Greengrass client with additional configuration -// svc := greengrass.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Greengrass client from just a session. +// svc := greengrass.New(mySession) +// +// // Create a Greengrass client with additional configuration +// svc := greengrass.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Greengrass { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/api.go index de03c6a51166..24cf8e941059 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/api.go @@ -29,14 +29,13 @@ const opAssociateServiceRoleToAccount = "AssociateServiceRoleToAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateServiceRoleToAccountRequest method. +// req, resp := client.AssociateServiceRoleToAccountRequest(params) // -// // Example sending a request using the AssociateServiceRoleToAccountRequest method. -// req, resp := client.AssociateServiceRoleToAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/AssociateServiceRoleToAccount func (c *GreengrassV2) AssociateServiceRoleToAccountRequest(input *AssociateServiceRoleToAccountInput) (req *request.Request, output *AssociateServiceRoleToAccountOutput) { @@ -75,12 +74,13 @@ func (c *GreengrassV2) AssociateServiceRoleToAccountRequest(input *AssociateServ // API operation AssociateServiceRoleToAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/AssociateServiceRoleToAccount func (c *GreengrassV2) AssociateServiceRoleToAccount(input *AssociateServiceRoleToAccountInput) (*AssociateServiceRoleToAccountOutput, error) { @@ -120,14 +120,13 @@ const opBatchAssociateClientDeviceWithCoreDevice = "BatchAssociateClientDeviceWi // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchAssociateClientDeviceWithCoreDeviceRequest method. +// req, resp := client.BatchAssociateClientDeviceWithCoreDeviceRequest(params) // -// // Example sending a request using the BatchAssociateClientDeviceWithCoreDeviceRequest method. -// req, resp := client.BatchAssociateClientDeviceWithCoreDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/BatchAssociateClientDeviceWithCoreDevice func (c *GreengrassV2) BatchAssociateClientDeviceWithCoreDeviceRequest(input *BatchAssociateClientDeviceWithCoreDeviceInput) (req *request.Request, output *BatchAssociateClientDeviceWithCoreDeviceOutput) { @@ -170,23 +169,24 @@ func (c *GreengrassV2) BatchAssociateClientDeviceWithCoreDeviceRequest(input *Ba // API operation BatchAssociateClientDeviceWithCoreDevice for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/BatchAssociateClientDeviceWithCoreDevice func (c *GreengrassV2) BatchAssociateClientDeviceWithCoreDevice(input *BatchAssociateClientDeviceWithCoreDeviceInput) (*BatchAssociateClientDeviceWithCoreDeviceOutput, error) { @@ -226,14 +226,13 @@ const opBatchDisassociateClientDeviceFromCoreDevice = "BatchDisassociateClientDe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDisassociateClientDeviceFromCoreDeviceRequest method. +// req, resp := client.BatchDisassociateClientDeviceFromCoreDeviceRequest(params) // -// // Example sending a request using the BatchDisassociateClientDeviceFromCoreDeviceRequest method. -// req, resp := client.BatchDisassociateClientDeviceFromCoreDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/BatchDisassociateClientDeviceFromCoreDevice func (c *GreengrassV2) BatchDisassociateClientDeviceFromCoreDeviceRequest(input *BatchDisassociateClientDeviceFromCoreDeviceInput) (req *request.Request, output *BatchDisassociateClientDeviceFromCoreDeviceOutput) { @@ -267,23 +266,24 @@ func (c *GreengrassV2) BatchDisassociateClientDeviceFromCoreDeviceRequest(input // API operation BatchDisassociateClientDeviceFromCoreDevice for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/BatchDisassociateClientDeviceFromCoreDevice func (c *GreengrassV2) BatchDisassociateClientDeviceFromCoreDevice(input *BatchDisassociateClientDeviceFromCoreDeviceInput) (*BatchDisassociateClientDeviceFromCoreDeviceOutput, error) { @@ -323,14 +323,13 @@ const opCancelDeployment = "CancelDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelDeploymentRequest method. +// req, resp := client.CancelDeploymentRequest(params) // -// // Example sending a request using the CancelDeploymentRequest method. -// req, resp := client.CancelDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/CancelDeployment func (c *GreengrassV2) CancelDeploymentRequest(input *CancelDeploymentInput) (req *request.Request, output *CancelDeploymentOutput) { @@ -363,27 +362,28 @@ func (c *GreengrassV2) CancelDeploymentRequest(input *CancelDeploymentInput) (re // API operation CancelDeployment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource can't be found. // -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. +// - ResourceNotFoundException +// The requested resource can't be found. +// +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/CancelDeployment func (c *GreengrassV2) CancelDeployment(input *CancelDeploymentInput) (*CancelDeploymentOutput, error) { @@ -423,14 +423,13 @@ const opCreateComponentVersion = "CreateComponentVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateComponentVersionRequest method. +// req, resp := client.CreateComponentVersionRequest(params) // -// // Example sending a request using the CreateComponentVersionRequest method. -// req, resp := client.CreateComponentVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/CreateComponentVersion func (c *GreengrassV2) CreateComponentVersionRequest(input *CreateComponentVersionInput) (req *request.Request, output *CreateComponentVersionOutput) { @@ -458,24 +457,24 @@ func (c *GreengrassV2) CreateComponentVersionRequest(input *CreateComponentVersi // // You can use this operation to do the following: // -// * Create components from recipes Create a component from a recipe, which -// is a file that defines the component's metadata, parameters, dependencies, -// lifecycle, artifacts, and platform capability. For more information, see -// IoT Greengrass component recipe reference (https://docs.aws.amazon.com/greengrass/v2/developerguide/component-recipe-reference.html) -// in the IoT Greengrass V2 Developer Guide. To create a component from a -// recipe, specify inlineRecipe when you call this operation. -// -// * Create components from Lambda functions Create a component from an Lambda -// function that runs on IoT Greengrass. This creates a recipe and artifacts -// from the Lambda function's deployment package. You can use this operation -// to migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass V2. -// This function only accepts Lambda functions that use the following runtimes: -// Python 2.7 – python2.7 Python 3.7 – python3.7 Python 3.8 – python3.8 -// Python 3.9 – python3.9 Java 8 – java8 Java 11 – java11 Node.js 10 -// – nodejs10.x Node.js 12 – nodejs12.x Node.js 14 – nodejs14.x To -// create a component from a Lambda function, specify lambdaFunction when -// you call this operation. IoT Greengrass currently supports Lambda functions -// on only Linux core devices. +// - Create components from recipes Create a component from a recipe, which +// is a file that defines the component's metadata, parameters, dependencies, +// lifecycle, artifacts, and platform capability. For more information, see +// IoT Greengrass component recipe reference (https://docs.aws.amazon.com/greengrass/v2/developerguide/component-recipe-reference.html) +// in the IoT Greengrass V2 Developer Guide. To create a component from a +// recipe, specify inlineRecipe when you call this operation. +// +// - Create components from Lambda functions Create a component from an Lambda +// function that runs on IoT Greengrass. This creates a recipe and artifacts +// from the Lambda function's deployment package. You can use this operation +// to migrate Lambda functions from IoT Greengrass V1 to IoT Greengrass V2. +// This function only accepts Lambda functions that use the following runtimes: +// Python 2.7 – python2.7 Python 3.7 – python3.7 Python 3.8 – python3.8 +// Python 3.9 – python3.9 Java 8 – java8 Java 11 – java11 Node.js 10 +// – nodejs10.x Node.js 12 – nodejs12.x Node.js 14 – nodejs14.x To +// create a component from a Lambda function, specify lambdaFunction when +// you call this operation. IoT Greengrass currently supports Lambda functions +// on only Linux core devices. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -485,33 +484,34 @@ func (c *GreengrassV2) CreateComponentVersionRequest(input *CreateComponentVersi // API operation CreateComponentVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * ServiceQuotaExceededException -// Your request exceeds a service quota. For example, you might have the maximum -// number of components that you can create. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - ServiceQuotaExceededException +// Your request exceeds a service quota. For example, you might have the maximum +// number of components that you can create. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // -// * RequestAlreadyInProgressException -// The request is already in progress. This exception occurs when you use a -// client token for multiple requests while IoT Greengrass is still processing -// an earlier request that uses the same client token. +// - RequestAlreadyInProgressException +// The request is already in progress. This exception occurs when you use a +// client token for multiple requests while IoT Greengrass is still processing +// an earlier request that uses the same client token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/CreateComponentVersion func (c *GreengrassV2) CreateComponentVersion(input *CreateComponentVersionInput) (*CreateComponentVersionOutput, error) { @@ -551,14 +551,13 @@ const opCreateDeployment = "CreateDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeploymentRequest method. +// req, resp := client.CreateDeploymentRequest(params) // -// // Example sending a request using the CreateDeploymentRequest method. -// req, resp := client.CreateDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/CreateDeployment func (c *GreengrassV2) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *CreateDeploymentOutput) { @@ -603,32 +602,33 @@ func (c *GreengrassV2) CreateDeploymentRequest(input *CreateDeploymentInput) (re // API operation CreateDeployment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource can't be found. // -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. +// - ResourceNotFoundException +// The requested resource can't be found. +// +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // -// * RequestAlreadyInProgressException -// The request is already in progress. This exception occurs when you use a -// client token for multiple requests while IoT Greengrass is still processing -// an earlier request that uses the same client token. +// - RequestAlreadyInProgressException +// The request is already in progress. This exception occurs when you use a +// client token for multiple requests while IoT Greengrass is still processing +// an earlier request that uses the same client token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/CreateDeployment func (c *GreengrassV2) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error) { @@ -668,14 +668,13 @@ const opDeleteComponent = "DeleteComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteComponentRequest method. +// req, resp := client.DeleteComponentRequest(params) // -// // Example sending a request using the DeleteComponentRequest method. -// req, resp := client.DeleteComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DeleteComponent func (c *GreengrassV2) DeleteComponentRequest(input *DeleteComponentInput) (req *request.Request, output *DeleteComponentOutput) { @@ -712,27 +711,28 @@ func (c *GreengrassV2) DeleteComponentRequest(input *DeleteComponentInput) (req // API operation DeleteComponent for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - AccessDeniedException +// You don't have permission to perform the action. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DeleteComponent func (c *GreengrassV2) DeleteComponent(input *DeleteComponentInput) (*DeleteComponentOutput, error) { @@ -772,14 +772,13 @@ const opDeleteCoreDevice = "DeleteCoreDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCoreDeviceRequest method. +// req, resp := client.DeleteCoreDeviceRequest(params) // -// // Example sending a request using the DeleteCoreDeviceRequest method. -// req, resp := client.DeleteCoreDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DeleteCoreDevice func (c *GreengrassV2) DeleteCoreDeviceRequest(input *DeleteCoreDeviceInput) (req *request.Request, output *DeleteCoreDeviceOutput) { @@ -815,27 +814,28 @@ func (c *GreengrassV2) DeleteCoreDeviceRequest(input *DeleteCoreDeviceInput) (re // API operation DeleteCoreDevice for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DeleteCoreDevice func (c *GreengrassV2) DeleteCoreDevice(input *DeleteCoreDeviceInput) (*DeleteCoreDeviceOutput, error) { @@ -875,14 +875,13 @@ const opDeleteDeployment = "DeleteDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDeploymentRequest method. +// req, resp := client.DeleteDeploymentRequest(params) // -// // Example sending a request using the DeleteDeploymentRequest method. -// req, resp := client.DeleteDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DeleteDeployment func (c *GreengrassV2) DeleteDeploymentRequest(input *DeleteDeploymentInput) (req *request.Request, output *DeleteDeploymentOutput) { @@ -920,27 +919,28 @@ func (c *GreengrassV2) DeleteDeploymentRequest(input *DeleteDeploymentInput) (re // API operation DeleteDeployment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource can't be found. // -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. +// - ResourceNotFoundException +// The requested resource can't be found. +// +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DeleteDeployment func (c *GreengrassV2) DeleteDeployment(input *DeleteDeploymentInput) (*DeleteDeploymentOutput, error) { @@ -980,14 +980,13 @@ const opDescribeComponent = "DescribeComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeComponentRequest method. +// req, resp := client.DescribeComponentRequest(params) // -// // Example sending a request using the DescribeComponentRequest method. -// req, resp := client.DescribeComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DescribeComponent func (c *GreengrassV2) DescribeComponentRequest(input *DescribeComponentInput) (req *request.Request, output *DescribeComponentOutput) { @@ -1018,23 +1017,24 @@ func (c *GreengrassV2) DescribeComponentRequest(input *DescribeComponentInput) ( // API operation DescribeComponent for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - AccessDeniedException +// You don't have permission to perform the action. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DescribeComponent func (c *GreengrassV2) DescribeComponent(input *DescribeComponentInput) (*DescribeComponentOutput, error) { @@ -1074,14 +1074,13 @@ const opDisassociateServiceRoleFromAccount = "DisassociateServiceRoleFromAccount // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateServiceRoleFromAccountRequest method. +// req, resp := client.DisassociateServiceRoleFromAccountRequest(params) // -// // Example sending a request using the DisassociateServiceRoleFromAccountRequest method. -// req, resp := client.DisassociateServiceRoleFromAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DisassociateServiceRoleFromAccount func (c *GreengrassV2) DisassociateServiceRoleFromAccountRequest(input *DisassociateServiceRoleFromAccountInput) (req *request.Request, output *DisassociateServiceRoleFromAccountOutput) { @@ -1117,8 +1116,8 @@ func (c *GreengrassV2) DisassociateServiceRoleFromAccountRequest(input *Disassoc // API operation DisassociateServiceRoleFromAccount for usage and error information. // // Returned Error Types: -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/DisassociateServiceRoleFromAccount func (c *GreengrassV2) DisassociateServiceRoleFromAccount(input *DisassociateServiceRoleFromAccountInput) (*DisassociateServiceRoleFromAccountOutput, error) { @@ -1158,14 +1157,13 @@ const opGetComponent = "GetComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetComponentRequest method. +// req, resp := client.GetComponentRequest(params) // -// // Example sending a request using the GetComponentRequest method. -// req, resp := client.GetComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/GetComponent func (c *GreengrassV2) GetComponentRequest(input *GetComponentInput) (req *request.Request, output *GetComponentOutput) { @@ -1197,23 +1195,24 @@ func (c *GreengrassV2) GetComponentRequest(input *GetComponentInput) (req *reque // API operation GetComponent for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. +// +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/GetComponent func (c *GreengrassV2) GetComponent(input *GetComponentInput) (*GetComponentOutput, error) { @@ -1253,14 +1252,13 @@ const opGetComponentVersionArtifact = "GetComponentVersionArtifact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetComponentVersionArtifactRequest method. +// req, resp := client.GetComponentVersionArtifactRequest(params) // -// // Example sending a request using the GetComponentVersionArtifactRequest method. -// req, resp := client.GetComponentVersionArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/GetComponentVersionArtifact func (c *GreengrassV2) GetComponentVersionArtifactRequest(input *GetComponentVersionArtifactInput) (req *request.Request, output *GetComponentVersionArtifactOutput) { @@ -1293,23 +1291,24 @@ func (c *GreengrassV2) GetComponentVersionArtifactRequest(input *GetComponentVer // API operation GetComponentVersionArtifact for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. +// +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/GetComponentVersionArtifact func (c *GreengrassV2) GetComponentVersionArtifact(input *GetComponentVersionArtifactInput) (*GetComponentVersionArtifactOutput, error) { @@ -1349,14 +1348,13 @@ const opGetConnectivityInfo = "GetConnectivityInfo" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConnectivityInfoRequest method. +// req, resp := client.GetConnectivityInfoRequest(params) // -// // Example sending a request using the GetConnectivityInfoRequest method. -// req, resp := client.GetConnectivityInfoRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/GetConnectivityInfo func (c *GreengrassV2) GetConnectivityInfoRequest(input *GetConnectivityInfoInput) (req *request.Request, output *GetConnectivityInfoOutput) { @@ -1395,12 +1393,13 @@ func (c *GreengrassV2) GetConnectivityInfoRequest(input *GetConnectivityInfoInpu // API operation GetConnectivityInfo for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/GetConnectivityInfo func (c *GreengrassV2) GetConnectivityInfo(input *GetConnectivityInfoInput) (*GetConnectivityInfoOutput, error) { @@ -1440,14 +1439,13 @@ const opGetCoreDevice = "GetCoreDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCoreDeviceRequest method. +// req, resp := client.GetCoreDeviceRequest(params) // -// // Example sending a request using the GetCoreDeviceRequest method. -// req, resp := client.GetCoreDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/GetCoreDevice func (c *GreengrassV2) GetCoreDeviceRequest(input *GetCoreDeviceInput) (req *request.Request, output *GetCoreDeviceOutput) { @@ -1478,15 +1476,15 @@ func (c *GreengrassV2) GetCoreDeviceRequest(input *GetCoreDeviceInput) (req *req // // Core devices send status updates at the following times: // -// * When the IoT Greengrass Core software starts +// - When the IoT Greengrass Core software starts // -// * When the core device receives a deployment from the Amazon Web Services -// Cloud +// - When the core device receives a deployment from the Amazon Web Services +// Cloud // -// * When the status of any component on the core device becomes BROKEN +// - When the status of any component on the core device becomes BROKEN // -// * At a regular interval that you can configure (https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss), -// which defaults to 24 hours +// - At a regular interval that you can configure (https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss), +// which defaults to 24 hours // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1496,23 +1494,24 @@ func (c *GreengrassV2) GetCoreDeviceRequest(input *GetCoreDeviceInput) (req *req // API operation GetCoreDevice for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. +// +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/GetCoreDevice func (c *GreengrassV2) GetCoreDevice(input *GetCoreDeviceInput) (*GetCoreDeviceOutput, error) { @@ -1552,14 +1551,13 @@ const opGetDeployment = "GetDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeploymentRequest method. +// req, resp := client.GetDeploymentRequest(params) // -// // Example sending a request using the GetDeploymentRequest method. -// req, resp := client.GetDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/GetDeployment func (c *GreengrassV2) GetDeploymentRequest(input *GetDeploymentInput) (req *request.Request, output *GetDeploymentOutput) { @@ -1591,23 +1589,24 @@ func (c *GreengrassV2) GetDeploymentRequest(input *GetDeploymentInput) (req *req // API operation GetDeployment for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. +// +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/GetDeployment func (c *GreengrassV2) GetDeployment(input *GetDeploymentInput) (*GetDeploymentOutput, error) { @@ -1647,14 +1646,13 @@ const opGetServiceRoleForAccount = "GetServiceRoleForAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceRoleForAccountRequest method. +// req, resp := client.GetServiceRoleForAccountRequest(params) // -// // Example sending a request using the GetServiceRoleForAccountRequest method. -// req, resp := client.GetServiceRoleForAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/GetServiceRoleForAccount func (c *GreengrassV2) GetServiceRoleForAccountRequest(input *GetServiceRoleForAccountInput) (req *request.Request, output *GetServiceRoleForAccountOutput) { @@ -1690,8 +1688,8 @@ func (c *GreengrassV2) GetServiceRoleForAccountRequest(input *GetServiceRoleForA // API operation GetServiceRoleForAccount for usage and error information. // // Returned Error Types: -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/GetServiceRoleForAccount func (c *GreengrassV2) GetServiceRoleForAccount(input *GetServiceRoleForAccountInput) (*GetServiceRoleForAccountOutput, error) { @@ -1731,14 +1729,13 @@ const opListClientDevicesAssociatedWithCoreDevice = "ListClientDevicesAssociated // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListClientDevicesAssociatedWithCoreDeviceRequest method. +// req, resp := client.ListClientDevicesAssociatedWithCoreDeviceRequest(params) // -// // Example sending a request using the ListClientDevicesAssociatedWithCoreDeviceRequest method. -// req, resp := client.ListClientDevicesAssociatedWithCoreDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListClientDevicesAssociatedWithCoreDevice func (c *GreengrassV2) ListClientDevicesAssociatedWithCoreDeviceRequest(input *ListClientDevicesAssociatedWithCoreDeviceInput) (req *request.Request, output *ListClientDevicesAssociatedWithCoreDeviceOutput) { @@ -1776,23 +1773,24 @@ func (c *GreengrassV2) ListClientDevicesAssociatedWithCoreDeviceRequest(input *L // API operation ListClientDevicesAssociatedWithCoreDevice for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListClientDevicesAssociatedWithCoreDevice func (c *GreengrassV2) ListClientDevicesAssociatedWithCoreDevice(input *ListClientDevicesAssociatedWithCoreDeviceInput) (*ListClientDevicesAssociatedWithCoreDeviceOutput, error) { @@ -1824,15 +1822,14 @@ func (c *GreengrassV2) ListClientDevicesAssociatedWithCoreDeviceWithContext(ctx // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListClientDevicesAssociatedWithCoreDevice operation. -// pageNum := 0 -// err := client.ListClientDevicesAssociatedWithCoreDevicePages(params, -// func(page *greengrassv2.ListClientDevicesAssociatedWithCoreDeviceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListClientDevicesAssociatedWithCoreDevice operation. +// pageNum := 0 +// err := client.ListClientDevicesAssociatedWithCoreDevicePages(params, +// func(page *greengrassv2.ListClientDevicesAssociatedWithCoreDeviceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GreengrassV2) ListClientDevicesAssociatedWithCoreDevicePages(input *ListClientDevicesAssociatedWithCoreDeviceInput, fn func(*ListClientDevicesAssociatedWithCoreDeviceOutput, bool) bool) error { return c.ListClientDevicesAssociatedWithCoreDevicePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1884,14 +1881,13 @@ const opListComponentVersions = "ListComponentVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListComponentVersionsRequest method. +// req, resp := client.ListComponentVersionsRequest(params) // -// // Example sending a request using the ListComponentVersionsRequest method. -// req, resp := client.ListComponentVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListComponentVersions func (c *GreengrassV2) ListComponentVersionsRequest(input *ListComponentVersionsInput) (req *request.Request, output *ListComponentVersionsOutput) { @@ -1929,23 +1925,24 @@ func (c *GreengrassV2) ListComponentVersionsRequest(input *ListComponentVersions // API operation ListComponentVersions for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. +// +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListComponentVersions func (c *GreengrassV2) ListComponentVersions(input *ListComponentVersionsInput) (*ListComponentVersionsOutput, error) { @@ -1977,15 +1974,14 @@ func (c *GreengrassV2) ListComponentVersionsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListComponentVersions operation. -// pageNum := 0 -// err := client.ListComponentVersionsPages(params, -// func(page *greengrassv2.ListComponentVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListComponentVersions operation. +// pageNum := 0 +// err := client.ListComponentVersionsPages(params, +// func(page *greengrassv2.ListComponentVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GreengrassV2) ListComponentVersionsPages(input *ListComponentVersionsInput, fn func(*ListComponentVersionsOutput, bool) bool) error { return c.ListComponentVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2037,14 +2033,13 @@ const opListComponents = "ListComponents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListComponentsRequest method. +// req, resp := client.ListComponentsRequest(params) // -// // Example sending a request using the ListComponentsRequest method. -// req, resp := client.ListComponentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListComponents func (c *GreengrassV2) ListComponentsRequest(input *ListComponentsInput) (req *request.Request, output *ListComponentsOutput) { @@ -2082,23 +2077,24 @@ func (c *GreengrassV2) ListComponentsRequest(input *ListComponentsInput) (req *r // API operation ListComponents for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - AccessDeniedException +// You don't have permission to perform the action. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListComponents func (c *GreengrassV2) ListComponents(input *ListComponentsInput) (*ListComponentsOutput, error) { @@ -2130,15 +2126,14 @@ func (c *GreengrassV2) ListComponentsWithContext(ctx aws.Context, input *ListCom // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListComponents operation. -// pageNum := 0 -// err := client.ListComponentsPages(params, -// func(page *greengrassv2.ListComponentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListComponents operation. +// pageNum := 0 +// err := client.ListComponentsPages(params, +// func(page *greengrassv2.ListComponentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GreengrassV2) ListComponentsPages(input *ListComponentsInput, fn func(*ListComponentsOutput, bool) bool) error { return c.ListComponentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2190,14 +2185,13 @@ const opListCoreDevices = "ListCoreDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCoreDevicesRequest method. +// req, resp := client.ListCoreDevicesRequest(params) // -// // Example sending a request using the ListCoreDevicesRequest method. -// req, resp := client.ListCoreDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListCoreDevices func (c *GreengrassV2) ListCoreDevicesRequest(input *ListCoreDevicesInput) (req *request.Request, output *ListCoreDevicesOutput) { @@ -2234,15 +2228,15 @@ func (c *GreengrassV2) ListCoreDevicesRequest(input *ListCoreDevicesInput) (req // // Core devices send status updates at the following times: // -// * When the IoT Greengrass Core software starts +// - When the IoT Greengrass Core software starts // -// * When the core device receives a deployment from the Amazon Web Services -// Cloud +// - When the core device receives a deployment from the Amazon Web Services +// Cloud // -// * When the status of any component on the core device becomes BROKEN +// - When the status of any component on the core device becomes BROKEN // -// * At a regular interval that you can configure (https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss), -// which defaults to 24 hours +// - At a regular interval that you can configure (https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss), +// which defaults to 24 hours // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2252,20 +2246,21 @@ func (c *GreengrassV2) ListCoreDevicesRequest(input *ListCoreDevicesInput) (req // API operation ListCoreDevices for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. +// +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListCoreDevices func (c *GreengrassV2) ListCoreDevices(input *ListCoreDevicesInput) (*ListCoreDevicesOutput, error) { @@ -2297,15 +2292,14 @@ func (c *GreengrassV2) ListCoreDevicesWithContext(ctx aws.Context, input *ListCo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCoreDevices operation. -// pageNum := 0 -// err := client.ListCoreDevicesPages(params, -// func(page *greengrassv2.ListCoreDevicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCoreDevices operation. +// pageNum := 0 +// err := client.ListCoreDevicesPages(params, +// func(page *greengrassv2.ListCoreDevicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GreengrassV2) ListCoreDevicesPages(input *ListCoreDevicesInput, fn func(*ListCoreDevicesOutput, bool) bool) error { return c.ListCoreDevicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2357,14 +2351,13 @@ const opListDeployments = "ListDeployments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeploymentsRequest method. +// req, resp := client.ListDeploymentsRequest(params) // -// // Example sending a request using the ListDeploymentsRequest method. -// req, resp := client.ListDeploymentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListDeployments func (c *GreengrassV2) ListDeploymentsRequest(input *ListDeploymentsInput) (req *request.Request, output *ListDeploymentsOutput) { @@ -2401,20 +2394,21 @@ func (c *GreengrassV2) ListDeploymentsRequest(input *ListDeploymentsInput) (req // API operation ListDeployments for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - AccessDeniedException +// You don't have permission to perform the action. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListDeployments func (c *GreengrassV2) ListDeployments(input *ListDeploymentsInput) (*ListDeploymentsOutput, error) { @@ -2446,15 +2440,14 @@ func (c *GreengrassV2) ListDeploymentsWithContext(ctx aws.Context, input *ListDe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDeployments operation. -// pageNum := 0 -// err := client.ListDeploymentsPages(params, -// func(page *greengrassv2.ListDeploymentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDeployments operation. +// pageNum := 0 +// err := client.ListDeploymentsPages(params, +// func(page *greengrassv2.ListDeploymentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GreengrassV2) ListDeploymentsPages(input *ListDeploymentsInput, fn func(*ListDeploymentsOutput, bool) bool) error { return c.ListDeploymentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2506,14 +2499,13 @@ const opListEffectiveDeployments = "ListEffectiveDeployments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEffectiveDeploymentsRequest method. +// req, resp := client.ListEffectiveDeploymentsRequest(params) // -// // Example sending a request using the ListEffectiveDeploymentsRequest method. -// req, resp := client.ListEffectiveDeploymentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListEffectiveDeployments func (c *GreengrassV2) ListEffectiveDeploymentsRequest(input *ListEffectiveDeploymentsInput) (req *request.Request, output *ListEffectiveDeploymentsOutput) { @@ -2551,23 +2543,24 @@ func (c *GreengrassV2) ListEffectiveDeploymentsRequest(input *ListEffectiveDeplo // API operation ListEffectiveDeployments for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. +// +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListEffectiveDeployments func (c *GreengrassV2) ListEffectiveDeployments(input *ListEffectiveDeploymentsInput) (*ListEffectiveDeploymentsOutput, error) { @@ -2599,15 +2592,14 @@ func (c *GreengrassV2) ListEffectiveDeploymentsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEffectiveDeployments operation. -// pageNum := 0 -// err := client.ListEffectiveDeploymentsPages(params, -// func(page *greengrassv2.ListEffectiveDeploymentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEffectiveDeployments operation. +// pageNum := 0 +// err := client.ListEffectiveDeploymentsPages(params, +// func(page *greengrassv2.ListEffectiveDeploymentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GreengrassV2) ListEffectiveDeploymentsPages(input *ListEffectiveDeploymentsInput, fn func(*ListEffectiveDeploymentsOutput, bool) bool) error { return c.ListEffectiveDeploymentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2659,14 +2651,13 @@ const opListInstalledComponents = "ListInstalledComponents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInstalledComponentsRequest method. +// req, resp := client.ListInstalledComponentsRequest(params) // -// // Example sending a request using the ListInstalledComponentsRequest method. -// req, resp := client.ListInstalledComponentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListInstalledComponents func (c *GreengrassV2) ListInstalledComponentsRequest(input *ListInstalledComponentsInput) (req *request.Request, output *ListInstalledComponentsOutput) { @@ -2705,15 +2696,15 @@ func (c *GreengrassV2) ListInstalledComponentsRequest(input *ListInstalledCompon // // Core devices send status updates at the following times: // -// * When the IoT Greengrass Core software starts +// - When the IoT Greengrass Core software starts // -// * When the core device receives a deployment from the Amazon Web Services -// Cloud +// - When the core device receives a deployment from the Amazon Web Services +// Cloud // -// * When the status of any component on the core device becomes BROKEN +// - When the status of any component on the core device becomes BROKEN // -// * At a regular interval that you can configure (https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss), -// which defaults to 24 hours +// - At a regular interval that you can configure (https://docs.aws.amazon.com/greengrass/v2/developerguide/greengrass-nucleus-component.html#greengrass-nucleus-component-configuration-fss), +// which defaults to 24 hours // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2723,23 +2714,24 @@ func (c *GreengrassV2) ListInstalledComponentsRequest(input *ListInstalledCompon // API operation ListInstalledComponents for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListInstalledComponents func (c *GreengrassV2) ListInstalledComponents(input *ListInstalledComponentsInput) (*ListInstalledComponentsOutput, error) { @@ -2771,15 +2763,14 @@ func (c *GreengrassV2) ListInstalledComponentsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInstalledComponents operation. -// pageNum := 0 -// err := client.ListInstalledComponentsPages(params, -// func(page *greengrassv2.ListInstalledComponentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInstalledComponents operation. +// pageNum := 0 +// err := client.ListInstalledComponentsPages(params, +// func(page *greengrassv2.ListInstalledComponentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GreengrassV2) ListInstalledComponentsPages(input *ListInstalledComponentsInput, fn func(*ListInstalledComponentsOutput, bool) bool) error { return c.ListInstalledComponentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2831,14 +2822,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListTagsForResource func (c *GreengrassV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2869,15 +2859,16 @@ func (c *GreengrassV2) ListTagsForResourceRequest(input *ListTagsForResourceInpu // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. // -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - ResourceNotFoundException +// The requested resource can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ListTagsForResource func (c *GreengrassV2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2917,14 +2908,13 @@ const opResolveComponentCandidates = "ResolveComponentCandidates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResolveComponentCandidatesRequest method. +// req, resp := client.ResolveComponentCandidatesRequest(params) // -// // Example sending a request using the ResolveComponentCandidatesRequest method. -// req, resp := client.ResolveComponentCandidatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ResolveComponentCandidates func (c *GreengrassV2) ResolveComponentCandidatesRequest(input *ResolveComponentCandidatesInput) (req *request.Request, output *ResolveComponentCandidatesOutput) { @@ -2972,27 +2962,28 @@ func (c *GreengrassV2) ResolveComponentCandidatesRequest(input *ResolveComponent // API operation ResolveComponentCandidates for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * AccessDeniedException -// You don't have permission to perform the action. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - AccessDeniedException +// You don't have permission to perform the action. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a request rate quota. For example, you might have exceeded -// the amount of times that you can retrieve device or deployment status per -// second. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - ThrottlingException +// Your request exceeded a request rate quota. For example, you might have exceeded +// the amount of times that you can retrieve device or deployment status per +// second. +// +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/ResolveComponentCandidates func (c *GreengrassV2) ResolveComponentCandidates(input *ResolveComponentCandidatesInput) (*ResolveComponentCandidatesOutput, error) { @@ -3032,14 +3023,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/TagResource func (c *GreengrassV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3072,15 +3062,16 @@ func (c *GreengrassV2) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. // -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - ResourceNotFoundException +// The requested resource can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/TagResource func (c *GreengrassV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3120,14 +3111,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/UntagResource func (c *GreengrassV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3159,15 +3149,16 @@ func (c *GreengrassV2) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. // -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - ResourceNotFoundException +// The requested resource can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/UntagResource func (c *GreengrassV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3207,14 +3198,13 @@ const opUpdateConnectivityInfo = "UpdateConnectivityInfo" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConnectivityInfoRequest method. +// req, resp := client.UpdateConnectivityInfoRequest(params) // -// // Example sending a request using the UpdateConnectivityInfoRequest method. -// req, resp := client.UpdateConnectivityInfoRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/UpdateConnectivityInfo func (c *GreengrassV2) UpdateConnectivityInfoRequest(input *UpdateConnectivityInfoInput) (req *request.Request, output *UpdateConnectivityInfoOutput) { @@ -3253,12 +3243,13 @@ func (c *GreengrassV2) UpdateConnectivityInfoRequest(input *UpdateConnectivityIn // API operation UpdateConnectivityInfo for usage and error information. // // Returned Error Types: -// * ValidationException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. // -// * InternalServerException -// IoT Greengrass can't process your request right now. Try again later. +// - ValidationException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. +// +// - InternalServerException +// IoT Greengrass can't process your request right now. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/greengrassv2-2020-11-30/UpdateConnectivityInfo func (c *GreengrassV2) UpdateConnectivityInfo(input *UpdateConnectivityInfoInput) (*UpdateConnectivityInfoOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/doc.go index 79bebba48647..62869af843ab 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/doc.go @@ -25,7 +25,7 @@ // See greengrassv2 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/greengrassv2/ // -// Using the Client +// # Using the Client // // To contact AWS IoT Greengrass V2 with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/greengrassv2iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/greengrassv2iface/interface.go index 540010f31996..0b07419a4e07 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/greengrassv2iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/greengrassv2iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT Greengrass V2. -// func myFunc(svc greengrassv2iface.GreengrassV2API) bool { -// // Make svc.AssociateServiceRoleToAccount request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT Greengrass V2. +// func myFunc(svc greengrassv2iface.GreengrassV2API) bool { +// // Make svc.AssociateServiceRoleToAccount request +// } // -// func main() { -// sess := session.New() -// svc := greengrassv2.New(sess) +// func main() { +// sess := session.New() +// svc := greengrassv2.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockGreengrassV2Client struct { -// greengrassv2iface.GreengrassV2API -// } -// func (m *mockGreengrassV2Client) AssociateServiceRoleToAccount(input *greengrassv2.AssociateServiceRoleToAccountInput) (*greengrassv2.AssociateServiceRoleToAccountOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockGreengrassV2Client struct { +// greengrassv2iface.GreengrassV2API +// } +// func (m *mockGreengrassV2Client) AssociateServiceRoleToAccount(input *greengrassv2.AssociateServiceRoleToAccountInput) (*greengrassv2.AssociateServiceRoleToAccountOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockGreengrassV2Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockGreengrassV2Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/service.go index 2fe32e728fd3..1c22057d080e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/greengrassv2/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a GreengrassV2 client from just a session. -// svc := greengrassv2.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a GreengrassV2 client with additional configuration -// svc := greengrassv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a GreengrassV2 client from just a session. +// svc := greengrassv2.New(mySession) +// +// // Create a GreengrassV2 client with additional configuration +// svc := greengrassv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *GreengrassV2 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/api.go index f4668f4de573..e19e2aa7cd0b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/api.go @@ -29,14 +29,13 @@ const opCancelContact = "CancelContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelContactRequest method. +// req, resp := client.CancelContactRequest(params) // -// // Example sending a request using the CancelContactRequest method. -// req, resp := client.CancelContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/CancelContact func (c *GroundStation) CancelContactRequest(input *CancelContactInput) (req *request.Request, output *CancelContactOutput) { @@ -67,14 +66,15 @@ func (c *GroundStation) CancelContactRequest(input *CancelContactInput) (req *re // API operation CancelContact for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. +// +// - DependencyException +// Dependency encountered an error. // -// * ResourceNotFoundException -// Resource was not found. +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/CancelContact func (c *GroundStation) CancelContact(input *CancelContactInput) (*CancelContactOutput, error) { @@ -114,14 +114,13 @@ const opCreateConfig = "CreateConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConfigRequest method. +// req, resp := client.CreateConfigRequest(params) // -// // Example sending a request using the CreateConfigRequest method. -// req, resp := client.CreateConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/CreateConfig func (c *GroundStation) CreateConfigRequest(input *CreateConfigInput) (req *request.Request, output *CreateConfigOutput) { @@ -154,17 +153,18 @@ func (c *GroundStation) CreateConfigRequest(input *CreateConfigInput) (req *requ // API operation CreateConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. +// +// - DependencyException +// Dependency encountered an error. // -// * ResourceLimitExceededException -// Account limits for this resource have been exceeded. +// - ResourceLimitExceededException +// Account limits for this resource have been exceeded. // -// * ResourceNotFoundException -// Resource was not found. +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/CreateConfig func (c *GroundStation) CreateConfig(input *CreateConfigInput) (*CreateConfigOutput, error) { @@ -204,14 +204,13 @@ const opCreateDataflowEndpointGroup = "CreateDataflowEndpointGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataflowEndpointGroupRequest method. +// req, resp := client.CreateDataflowEndpointGroupRequest(params) // -// // Example sending a request using the CreateDataflowEndpointGroupRequest method. -// req, resp := client.CreateDataflowEndpointGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/CreateDataflowEndpointGroup func (c *GroundStation) CreateDataflowEndpointGroupRequest(input *CreateDataflowEndpointGroupInput) (req *request.Request, output *CreateDataflowEndpointGroupOutput) { @@ -249,14 +248,15 @@ func (c *GroundStation) CreateDataflowEndpointGroupRequest(input *CreateDataflow // API operation CreateDataflowEndpointGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. +// +// - DependencyException +// Dependency encountered an error. // -// * ResourceNotFoundException -// Resource was not found. +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/CreateDataflowEndpointGroup func (c *GroundStation) CreateDataflowEndpointGroup(input *CreateDataflowEndpointGroupInput) (*CreateDataflowEndpointGroupOutput, error) { @@ -296,14 +296,13 @@ const opCreateMissionProfile = "CreateMissionProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMissionProfileRequest method. +// req, resp := client.CreateMissionProfileRequest(params) // -// // Example sending a request using the CreateMissionProfileRequest method. -// req, resp := client.CreateMissionProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/CreateMissionProfile func (c *GroundStation) CreateMissionProfileRequest(input *CreateMissionProfileInput) (req *request.Request, output *CreateMissionProfileOutput) { @@ -337,14 +336,15 @@ func (c *GroundStation) CreateMissionProfileRequest(input *CreateMissionProfileI // API operation CreateMissionProfile for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ResourceNotFoundException -// Resource was not found. +// - DependencyException +// Dependency encountered an error. +// +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/CreateMissionProfile func (c *GroundStation) CreateMissionProfile(input *CreateMissionProfileInput) (*CreateMissionProfileOutput, error) { @@ -384,14 +384,13 @@ const opDeleteConfig = "DeleteConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigRequest method. +// req, resp := client.DeleteConfigRequest(params) // -// // Example sending a request using the DeleteConfigRequest method. -// req, resp := client.DeleteConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/DeleteConfig func (c *GroundStation) DeleteConfigRequest(input *DeleteConfigInput) (req *request.Request, output *DeleteConfigOutput) { @@ -422,14 +421,15 @@ func (c *GroundStation) DeleteConfigRequest(input *DeleteConfigInput) (req *requ // API operation DeleteConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ResourceNotFoundException -// Resource was not found. +// - DependencyException +// Dependency encountered an error. +// +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/DeleteConfig func (c *GroundStation) DeleteConfig(input *DeleteConfigInput) (*DeleteConfigOutput, error) { @@ -469,14 +469,13 @@ const opDeleteDataflowEndpointGroup = "DeleteDataflowEndpointGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDataflowEndpointGroupRequest method. +// req, resp := client.DeleteDataflowEndpointGroupRequest(params) // -// // Example sending a request using the DeleteDataflowEndpointGroupRequest method. -// req, resp := client.DeleteDataflowEndpointGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/DeleteDataflowEndpointGroup func (c *GroundStation) DeleteDataflowEndpointGroupRequest(input *DeleteDataflowEndpointGroupInput) (req *request.Request, output *DeleteDataflowEndpointGroupOutput) { @@ -507,14 +506,15 @@ func (c *GroundStation) DeleteDataflowEndpointGroupRequest(input *DeleteDataflow // API operation DeleteDataflowEndpointGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ResourceNotFoundException -// Resource was not found. +// - DependencyException +// Dependency encountered an error. +// +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/DeleteDataflowEndpointGroup func (c *GroundStation) DeleteDataflowEndpointGroup(input *DeleteDataflowEndpointGroupInput) (*DeleteDataflowEndpointGroupOutput, error) { @@ -554,14 +554,13 @@ const opDeleteMissionProfile = "DeleteMissionProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMissionProfileRequest method. +// req, resp := client.DeleteMissionProfileRequest(params) // -// // Example sending a request using the DeleteMissionProfileRequest method. -// req, resp := client.DeleteMissionProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/DeleteMissionProfile func (c *GroundStation) DeleteMissionProfileRequest(input *DeleteMissionProfileInput) (req *request.Request, output *DeleteMissionProfileOutput) { @@ -592,14 +591,15 @@ func (c *GroundStation) DeleteMissionProfileRequest(input *DeleteMissionProfileI // API operation DeleteMissionProfile for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. +// +// - DependencyException +// Dependency encountered an error. // -// * ResourceNotFoundException -// Resource was not found. +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/DeleteMissionProfile func (c *GroundStation) DeleteMissionProfile(input *DeleteMissionProfileInput) (*DeleteMissionProfileOutput, error) { @@ -639,14 +639,13 @@ const opDescribeContact = "DescribeContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeContactRequest method. +// req, resp := client.DescribeContactRequest(params) // -// // Example sending a request using the DescribeContactRequest method. -// req, resp := client.DescribeContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/DescribeContact func (c *GroundStation) DescribeContactRequest(input *DescribeContactInput) (req *request.Request, output *DescribeContactOutput) { @@ -677,14 +676,15 @@ func (c *GroundStation) DescribeContactRequest(input *DescribeContactInput) (req // API operation DescribeContact for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. +// +// - DependencyException +// Dependency encountered an error. // -// * ResourceNotFoundException -// Resource was not found. +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/DescribeContact func (c *GroundStation) DescribeContact(input *DescribeContactInput) (*DescribeContactOutput, error) { @@ -724,14 +724,13 @@ const opGetConfig = "GetConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConfigRequest method. +// req, resp := client.GetConfigRequest(params) // -// // Example sending a request using the GetConfigRequest method. -// req, resp := client.GetConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/GetConfig func (c *GroundStation) GetConfigRequest(input *GetConfigInput) (req *request.Request, output *GetConfigOutput) { @@ -764,14 +763,15 @@ func (c *GroundStation) GetConfigRequest(input *GetConfigInput) (req *request.Re // API operation GetConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. +// +// - DependencyException +// Dependency encountered an error. // -// * ResourceNotFoundException -// Resource was not found. +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/GetConfig func (c *GroundStation) GetConfig(input *GetConfigInput) (*GetConfigOutput, error) { @@ -811,14 +811,13 @@ const opGetDataflowEndpointGroup = "GetDataflowEndpointGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDataflowEndpointGroupRequest method. +// req, resp := client.GetDataflowEndpointGroupRequest(params) // -// // Example sending a request using the GetDataflowEndpointGroupRequest method. -// req, resp := client.GetDataflowEndpointGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/GetDataflowEndpointGroup func (c *GroundStation) GetDataflowEndpointGroupRequest(input *GetDataflowEndpointGroupInput) (req *request.Request, output *GetDataflowEndpointGroupOutput) { @@ -849,14 +848,15 @@ func (c *GroundStation) GetDataflowEndpointGroupRequest(input *GetDataflowEndpoi // API operation GetDataflowEndpointGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. +// +// - DependencyException +// Dependency encountered an error. // -// * ResourceNotFoundException -// Resource was not found. +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/GetDataflowEndpointGroup func (c *GroundStation) GetDataflowEndpointGroup(input *GetDataflowEndpointGroupInput) (*GetDataflowEndpointGroupOutput, error) { @@ -896,14 +896,13 @@ const opGetMinuteUsage = "GetMinuteUsage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMinuteUsageRequest method. +// req, resp := client.GetMinuteUsageRequest(params) // -// // Example sending a request using the GetMinuteUsageRequest method. -// req, resp := client.GetMinuteUsageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/GetMinuteUsage func (c *GroundStation) GetMinuteUsageRequest(input *GetMinuteUsageInput) (req *request.Request, output *GetMinuteUsageOutput) { @@ -934,14 +933,15 @@ func (c *GroundStation) GetMinuteUsageRequest(input *GetMinuteUsageInput) (req * // API operation GetMinuteUsage for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ResourceNotFoundException -// Resource was not found. +// - DependencyException +// Dependency encountered an error. +// +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/GetMinuteUsage func (c *GroundStation) GetMinuteUsage(input *GetMinuteUsageInput) (*GetMinuteUsageOutput, error) { @@ -981,14 +981,13 @@ const opGetMissionProfile = "GetMissionProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMissionProfileRequest method. +// req, resp := client.GetMissionProfileRequest(params) // -// // Example sending a request using the GetMissionProfileRequest method. -// req, resp := client.GetMissionProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/GetMissionProfile func (c *GroundStation) GetMissionProfileRequest(input *GetMissionProfileInput) (req *request.Request, output *GetMissionProfileOutput) { @@ -1019,14 +1018,15 @@ func (c *GroundStation) GetMissionProfileRequest(input *GetMissionProfileInput) // API operation GetMissionProfile for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ResourceNotFoundException -// Resource was not found. +// - DependencyException +// Dependency encountered an error. +// +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/GetMissionProfile func (c *GroundStation) GetMissionProfile(input *GetMissionProfileInput) (*GetMissionProfileOutput, error) { @@ -1066,14 +1066,13 @@ const opGetSatellite = "GetSatellite" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSatelliteRequest method. +// req, resp := client.GetSatelliteRequest(params) // -// // Example sending a request using the GetSatelliteRequest method. -// req, resp := client.GetSatelliteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/GetSatellite func (c *GroundStation) GetSatelliteRequest(input *GetSatelliteInput) (req *request.Request, output *GetSatelliteOutput) { @@ -1104,14 +1103,15 @@ func (c *GroundStation) GetSatelliteRequest(input *GetSatelliteInput) (req *requ // API operation GetSatellite for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ResourceNotFoundException -// Resource was not found. +// - DependencyException +// Dependency encountered an error. +// +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/GetSatellite func (c *GroundStation) GetSatellite(input *GetSatelliteInput) (*GetSatelliteOutput, error) { @@ -1151,14 +1151,13 @@ const opListConfigs = "ListConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConfigsRequest method. +// req, resp := client.ListConfigsRequest(params) // -// // Example sending a request using the ListConfigsRequest method. -// req, resp := client.ListConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ListConfigs func (c *GroundStation) ListConfigsRequest(input *ListConfigsInput) (req *request.Request, output *ListConfigsOutput) { @@ -1195,14 +1194,15 @@ func (c *GroundStation) ListConfigsRequest(input *ListConfigsInput) (req *reques // API operation ListConfigs for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. +// +// - DependencyException +// Dependency encountered an error. // -// * ResourceNotFoundException -// Resource was not found. +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ListConfigs func (c *GroundStation) ListConfigs(input *ListConfigsInput) (*ListConfigsOutput, error) { @@ -1234,15 +1234,14 @@ func (c *GroundStation) ListConfigsWithContext(ctx aws.Context, input *ListConfi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListConfigs operation. -// pageNum := 0 -// err := client.ListConfigsPages(params, -// func(page *groundstation.ListConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListConfigs operation. +// pageNum := 0 +// err := client.ListConfigsPages(params, +// func(page *groundstation.ListConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GroundStation) ListConfigsPages(input *ListConfigsInput, fn func(*ListConfigsOutput, bool) bool) error { return c.ListConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1294,14 +1293,13 @@ const opListContacts = "ListContacts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListContactsRequest method. +// req, resp := client.ListContactsRequest(params) // -// // Example sending a request using the ListContactsRequest method. -// req, resp := client.ListContactsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ListContacts func (c *GroundStation) ListContactsRequest(input *ListContactsInput) (req *request.Request, output *ListContactsOutput) { @@ -1341,14 +1339,15 @@ func (c *GroundStation) ListContactsRequest(input *ListContactsInput) (req *requ // API operation ListContacts for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ResourceNotFoundException -// Resource was not found. +// - DependencyException +// Dependency encountered an error. +// +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ListContacts func (c *GroundStation) ListContacts(input *ListContactsInput) (*ListContactsOutput, error) { @@ -1380,15 +1379,14 @@ func (c *GroundStation) ListContactsWithContext(ctx aws.Context, input *ListCont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListContacts operation. -// pageNum := 0 -// err := client.ListContactsPages(params, -// func(page *groundstation.ListContactsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListContacts operation. +// pageNum := 0 +// err := client.ListContactsPages(params, +// func(page *groundstation.ListContactsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GroundStation) ListContactsPages(input *ListContactsInput, fn func(*ListContactsOutput, bool) bool) error { return c.ListContactsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1440,14 +1438,13 @@ const opListDataflowEndpointGroups = "ListDataflowEndpointGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDataflowEndpointGroupsRequest method. +// req, resp := client.ListDataflowEndpointGroupsRequest(params) // -// // Example sending a request using the ListDataflowEndpointGroupsRequest method. -// req, resp := client.ListDataflowEndpointGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ListDataflowEndpointGroups func (c *GroundStation) ListDataflowEndpointGroupsRequest(input *ListDataflowEndpointGroupsInput) (req *request.Request, output *ListDataflowEndpointGroupsOutput) { @@ -1484,14 +1481,15 @@ func (c *GroundStation) ListDataflowEndpointGroupsRequest(input *ListDataflowEnd // API operation ListDataflowEndpointGroups for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. +// +// - DependencyException +// Dependency encountered an error. // -// * ResourceNotFoundException -// Resource was not found. +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ListDataflowEndpointGroups func (c *GroundStation) ListDataflowEndpointGroups(input *ListDataflowEndpointGroupsInput) (*ListDataflowEndpointGroupsOutput, error) { @@ -1523,15 +1521,14 @@ func (c *GroundStation) ListDataflowEndpointGroupsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDataflowEndpointGroups operation. -// pageNum := 0 -// err := client.ListDataflowEndpointGroupsPages(params, -// func(page *groundstation.ListDataflowEndpointGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDataflowEndpointGroups operation. +// pageNum := 0 +// err := client.ListDataflowEndpointGroupsPages(params, +// func(page *groundstation.ListDataflowEndpointGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GroundStation) ListDataflowEndpointGroupsPages(input *ListDataflowEndpointGroupsInput, fn func(*ListDataflowEndpointGroupsOutput, bool) bool) error { return c.ListDataflowEndpointGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1583,14 +1580,13 @@ const opListGroundStations = "ListGroundStations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroundStationsRequest method. +// req, resp := client.ListGroundStationsRequest(params) // -// // Example sending a request using the ListGroundStationsRequest method. -// req, resp := client.ListGroundStationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ListGroundStations func (c *GroundStation) ListGroundStationsRequest(input *ListGroundStationsInput) (req *request.Request, output *ListGroundStationsOutput) { @@ -1627,14 +1623,15 @@ func (c *GroundStation) ListGroundStationsRequest(input *ListGroundStationsInput // API operation ListGroundStations for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. +// +// - DependencyException +// Dependency encountered an error. // -// * ResourceNotFoundException -// Resource was not found. +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ListGroundStations func (c *GroundStation) ListGroundStations(input *ListGroundStationsInput) (*ListGroundStationsOutput, error) { @@ -1666,15 +1663,14 @@ func (c *GroundStation) ListGroundStationsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGroundStations operation. -// pageNum := 0 -// err := client.ListGroundStationsPages(params, -// func(page *groundstation.ListGroundStationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGroundStations operation. +// pageNum := 0 +// err := client.ListGroundStationsPages(params, +// func(page *groundstation.ListGroundStationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GroundStation) ListGroundStationsPages(input *ListGroundStationsInput, fn func(*ListGroundStationsOutput, bool) bool) error { return c.ListGroundStationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1726,14 +1722,13 @@ const opListMissionProfiles = "ListMissionProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMissionProfilesRequest method. +// req, resp := client.ListMissionProfilesRequest(params) // -// // Example sending a request using the ListMissionProfilesRequest method. -// req, resp := client.ListMissionProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ListMissionProfiles func (c *GroundStation) ListMissionProfilesRequest(input *ListMissionProfilesInput) (req *request.Request, output *ListMissionProfilesOutput) { @@ -1770,14 +1765,15 @@ func (c *GroundStation) ListMissionProfilesRequest(input *ListMissionProfilesInp // API operation ListMissionProfiles for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ResourceNotFoundException -// Resource was not found. +// - DependencyException +// Dependency encountered an error. +// +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ListMissionProfiles func (c *GroundStation) ListMissionProfiles(input *ListMissionProfilesInput) (*ListMissionProfilesOutput, error) { @@ -1809,15 +1805,14 @@ func (c *GroundStation) ListMissionProfilesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMissionProfiles operation. -// pageNum := 0 -// err := client.ListMissionProfilesPages(params, -// func(page *groundstation.ListMissionProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMissionProfiles operation. +// pageNum := 0 +// err := client.ListMissionProfilesPages(params, +// func(page *groundstation.ListMissionProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GroundStation) ListMissionProfilesPages(input *ListMissionProfilesInput, fn func(*ListMissionProfilesOutput, bool) bool) error { return c.ListMissionProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1869,14 +1864,13 @@ const opListSatellites = "ListSatellites" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSatellitesRequest method. +// req, resp := client.ListSatellitesRequest(params) // -// // Example sending a request using the ListSatellitesRequest method. -// req, resp := client.ListSatellitesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ListSatellites func (c *GroundStation) ListSatellitesRequest(input *ListSatellitesInput) (req *request.Request, output *ListSatellitesOutput) { @@ -1913,14 +1907,15 @@ func (c *GroundStation) ListSatellitesRequest(input *ListSatellitesInput) (req * // API operation ListSatellites for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ResourceNotFoundException -// Resource was not found. +// - DependencyException +// Dependency encountered an error. +// +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ListSatellites func (c *GroundStation) ListSatellites(input *ListSatellitesInput) (*ListSatellitesOutput, error) { @@ -1952,15 +1947,14 @@ func (c *GroundStation) ListSatellitesWithContext(ctx aws.Context, input *ListSa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSatellites operation. -// pageNum := 0 -// err := client.ListSatellitesPages(params, -// func(page *groundstation.ListSatellitesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSatellites operation. +// pageNum := 0 +// err := client.ListSatellitesPages(params, +// func(page *groundstation.ListSatellitesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GroundStation) ListSatellitesPages(input *ListSatellitesInput, fn func(*ListSatellitesOutput, bool) bool) error { return c.ListSatellitesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2012,14 +2006,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ListTagsForResource func (c *GroundStation) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2050,14 +2043,15 @@ func (c *GroundStation) ListTagsForResourceRequest(input *ListTagsForResourceInp // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. +// +// - DependencyException +// Dependency encountered an error. // -// * ResourceNotFoundException -// Resource was not found. +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ListTagsForResource func (c *GroundStation) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2097,14 +2091,13 @@ const opReserveContact = "ReserveContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReserveContactRequest method. +// req, resp := client.ReserveContactRequest(params) // -// // Example sending a request using the ReserveContactRequest method. -// req, resp := client.ReserveContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ReserveContact func (c *GroundStation) ReserveContactRequest(input *ReserveContactInput) (req *request.Request, output *ReserveContactOutput) { @@ -2135,14 +2128,15 @@ func (c *GroundStation) ReserveContactRequest(input *ReserveContactInput) (req * // API operation ReserveContact for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. +// +// - DependencyException +// Dependency encountered an error. // -// * ResourceNotFoundException -// Resource was not found. +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/ReserveContact func (c *GroundStation) ReserveContact(input *ReserveContactInput) (*ReserveContactOutput, error) { @@ -2182,14 +2176,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/TagResource func (c *GroundStation) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2221,14 +2214,15 @@ func (c *GroundStation) TagResourceRequest(input *TagResourceInput) (req *reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ResourceNotFoundException -// Resource was not found. +// - DependencyException +// Dependency encountered an error. +// +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/TagResource func (c *GroundStation) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2268,14 +2262,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/UntagResource func (c *GroundStation) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2307,14 +2300,15 @@ func (c *GroundStation) UntagResourceRequest(input *UntagResourceInput) (req *re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ResourceNotFoundException -// Resource was not found. +// - DependencyException +// Dependency encountered an error. +// +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/UntagResource func (c *GroundStation) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2354,14 +2348,13 @@ const opUpdateConfig = "UpdateConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConfigRequest method. +// req, resp := client.UpdateConfigRequest(params) // -// // Example sending a request using the UpdateConfigRequest method. -// req, resp := client.UpdateConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/UpdateConfig func (c *GroundStation) UpdateConfigRequest(input *UpdateConfigInput) (req *request.Request, output *UpdateConfigOutput) { @@ -2395,14 +2388,15 @@ func (c *GroundStation) UpdateConfigRequest(input *UpdateConfigInput) (req *requ // API operation UpdateConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. // -// * ResourceNotFoundException -// Resource was not found. +// - DependencyException +// Dependency encountered an error. +// +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/UpdateConfig func (c *GroundStation) UpdateConfig(input *UpdateConfigInput) (*UpdateConfigOutput, error) { @@ -2442,14 +2436,13 @@ const opUpdateMissionProfile = "UpdateMissionProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMissionProfileRequest method. +// req, resp := client.UpdateMissionProfileRequest(params) // -// // Example sending a request using the UpdateMissionProfileRequest method. -// req, resp := client.UpdateMissionProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/UpdateMissionProfile func (c *GroundStation) UpdateMissionProfileRequest(input *UpdateMissionProfileInput) (req *request.Request, output *UpdateMissionProfileOutput) { @@ -2483,14 +2476,15 @@ func (c *GroundStation) UpdateMissionProfileRequest(input *UpdateMissionProfileI // API operation UpdateMissionProfile for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters are not valid. // -// * DependencyException -// Dependency encountered an error. +// - InvalidParameterException +// One or more parameters are not valid. +// +// - DependencyException +// Dependency encountered an error. // -// * ResourceNotFoundException -// Resource was not found. +// - ResourceNotFoundException +// Resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/UpdateMissionProfile func (c *GroundStation) UpdateMissionProfile(input *UpdateMissionProfileInput) (*UpdateMissionProfileOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/doc.go index 2066d0f57185..e8a9b9568d7c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/doc.go @@ -14,7 +14,7 @@ // See groundstation package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/groundstation/ // -// Using the Client +// # Using the Client // // To contact AWS Ground Station with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/groundstationiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/groundstationiface/interface.go index 29e8bb2f0095..bb7414ea956b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/groundstationiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/groundstationiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Ground Station. -// func myFunc(svc groundstationiface.GroundStationAPI) bool { -// // Make svc.CancelContact request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Ground Station. +// func myFunc(svc groundstationiface.GroundStationAPI) bool { +// // Make svc.CancelContact request +// } // -// func main() { -// sess := session.New() -// svc := groundstation.New(sess) +// func main() { +// sess := session.New() +// svc := groundstation.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockGroundStationClient struct { -// groundstationiface.GroundStationAPI -// } -// func (m *mockGroundStationClient) CancelContact(input *groundstation.CancelContactInput) (*groundstation.CancelContactOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockGroundStationClient struct { +// groundstationiface.GroundStationAPI +// } +// func (m *mockGroundStationClient) CancelContact(input *groundstation.CancelContactInput) (*groundstation.CancelContactOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockGroundStationClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockGroundStationClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/service.go index 5d70afd3d8c0..101abb580202 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/groundstation/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a GroundStation client from just a session. -// svc := groundstation.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a GroundStation client with additional configuration -// svc := groundstation.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a GroundStation client from just a session. +// svc := groundstation.New(mySession) +// +// // Create a GroundStation client with additional configuration +// svc := groundstation.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *GroundStation { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/api.go index 9e0482984f01..72458a0922b0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/api.go @@ -29,14 +29,13 @@ const opAcceptInvitation = "AcceptInvitation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptInvitationRequest method. +// req, resp := client.AcceptInvitationRequest(params) // -// // Example sending a request using the AcceptInvitationRequest method. -// req, resp := client.AcceptInvitationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitation func (c *GuardDuty) AcceptInvitationRequest(input *AcceptInvitationInput) (req *request.Request, output *AcceptInvitationOutput) { @@ -68,11 +67,12 @@ func (c *GuardDuty) AcceptInvitationRequest(input *AcceptInvitationInput) (req * // API operation AcceptInvitation for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AcceptInvitation func (c *GuardDuty) AcceptInvitation(input *AcceptInvitationInput) (*AcceptInvitationOutput, error) { @@ -112,14 +112,13 @@ const opArchiveFindings = "ArchiveFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ArchiveFindingsRequest method. +// req, resp := client.ArchiveFindingsRequest(params) // -// // Example sending a request using the ArchiveFindingsRequest method. -// req, resp := client.ArchiveFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindings func (c *GuardDuty) ArchiveFindingsRequest(input *ArchiveFindingsInput) (req *request.Request, output *ArchiveFindingsOutput) { @@ -154,11 +153,12 @@ func (c *GuardDuty) ArchiveFindingsRequest(input *ArchiveFindingsInput) (req *re // API operation ArchiveFindings for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ArchiveFindings func (c *GuardDuty) ArchiveFindings(input *ArchiveFindingsInput) (*ArchiveFindingsOutput, error) { @@ -198,14 +198,13 @@ const opCreateDetector = "CreateDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDetectorRequest method. +// req, resp := client.CreateDetectorRequest(params) // -// // Example sending a request using the CreateDetectorRequest method. -// req, resp := client.CreateDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetector func (c *GuardDuty) CreateDetectorRequest(input *CreateDetectorInput) (req *request.Request, output *CreateDetectorOutput) { @@ -240,11 +239,12 @@ func (c *GuardDuty) CreateDetectorRequest(input *CreateDetectorInput) (req *requ // API operation CreateDetector for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetector func (c *GuardDuty) CreateDetector(input *CreateDetectorInput) (*CreateDetectorOutput, error) { @@ -284,14 +284,13 @@ const opCreateFilter = "CreateFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFilterRequest method. +// req, resp := client.CreateFilterRequest(params) // -// // Example sending a request using the CreateFilterRequest method. -// req, resp := client.CreateFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateFilter func (c *GuardDuty) CreateFilterRequest(input *CreateFilterInput) (req *request.Request, output *CreateFilterOutput) { @@ -322,11 +321,12 @@ func (c *GuardDuty) CreateFilterRequest(input *CreateFilterInput) (req *request. // API operation CreateFilter for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateFilter func (c *GuardDuty) CreateFilter(input *CreateFilterInput) (*CreateFilterOutput, error) { @@ -366,14 +366,13 @@ const opCreateIPSet = "CreateIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIPSetRequest method. +// req, resp := client.CreateIPSetRequest(params) // -// // Example sending a request using the CreateIPSetRequest method. -// req, resp := client.CreateIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSet func (c *GuardDuty) CreateIPSetRequest(input *CreateIPSetInput) (req *request.Request, output *CreateIPSetOutput) { @@ -408,11 +407,12 @@ func (c *GuardDuty) CreateIPSetRequest(input *CreateIPSetInput) (req *request.Re // API operation CreateIPSet for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateIPSet func (c *GuardDuty) CreateIPSet(input *CreateIPSetInput) (*CreateIPSetOutput, error) { @@ -452,14 +452,13 @@ const opCreateMembers = "CreateMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMembersRequest method. +// req, resp := client.CreateMembersRequest(params) // -// // Example sending a request using the CreateMembersRequest method. -// req, resp := client.CreateMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembers func (c *GuardDuty) CreateMembersRequest(input *CreateMembersInput) (req *request.Request, output *CreateMembersOutput) { @@ -502,11 +501,12 @@ func (c *GuardDuty) CreateMembersRequest(input *CreateMembersInput) (req *reques // API operation CreateMembers for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateMembers func (c *GuardDuty) CreateMembers(input *CreateMembersInput) (*CreateMembersOutput, error) { @@ -546,14 +546,13 @@ const opCreatePublishingDestination = "CreatePublishingDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePublishingDestinationRequest method. +// req, resp := client.CreatePublishingDestinationRequest(params) // -// // Example sending a request using the CreatePublishingDestinationRequest method. -// req, resp := client.CreatePublishingDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreatePublishingDestination func (c *GuardDuty) CreatePublishingDestinationRequest(input *CreatePublishingDestinationInput) (req *request.Request, output *CreatePublishingDestinationOutput) { @@ -585,11 +584,12 @@ func (c *GuardDuty) CreatePublishingDestinationRequest(input *CreatePublishingDe // API operation CreatePublishingDestination for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreatePublishingDestination func (c *GuardDuty) CreatePublishingDestination(input *CreatePublishingDestinationInput) (*CreatePublishingDestinationOutput, error) { @@ -629,14 +629,13 @@ const opCreateSampleFindings = "CreateSampleFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSampleFindingsRequest method. +// req, resp := client.CreateSampleFindingsRequest(params) // -// // Example sending a request using the CreateSampleFindingsRequest method. -// req, resp := client.CreateSampleFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindings func (c *GuardDuty) CreateSampleFindingsRequest(input *CreateSampleFindingsInput) (req *request.Request, output *CreateSampleFindingsOutput) { @@ -670,11 +669,12 @@ func (c *GuardDuty) CreateSampleFindingsRequest(input *CreateSampleFindingsInput // API operation CreateSampleFindings for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateSampleFindings func (c *GuardDuty) CreateSampleFindings(input *CreateSampleFindingsInput) (*CreateSampleFindingsOutput, error) { @@ -714,14 +714,13 @@ const opCreateThreatIntelSet = "CreateThreatIntelSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateThreatIntelSetRequest method. +// req, resp := client.CreateThreatIntelSetRequest(params) // -// // Example sending a request using the CreateThreatIntelSetRequest method. -// req, resp := client.CreateThreatIntelSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSet func (c *GuardDuty) CreateThreatIntelSetRequest(input *CreateThreatIntelSetInput) (req *request.Request, output *CreateThreatIntelSetOutput) { @@ -754,11 +753,12 @@ func (c *GuardDuty) CreateThreatIntelSetRequest(input *CreateThreatIntelSetInput // API operation CreateThreatIntelSet for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateThreatIntelSet func (c *GuardDuty) CreateThreatIntelSet(input *CreateThreatIntelSetInput) (*CreateThreatIntelSetOutput, error) { @@ -798,14 +798,13 @@ const opDeclineInvitations = "DeclineInvitations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeclineInvitationsRequest method. +// req, resp := client.DeclineInvitationsRequest(params) // -// // Example sending a request using the DeclineInvitationsRequest method. -// req, resp := client.DeclineInvitationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitations func (c *GuardDuty) DeclineInvitationsRequest(input *DeclineInvitationsInput) (req *request.Request, output *DeclineInvitationsOutput) { @@ -837,11 +836,12 @@ func (c *GuardDuty) DeclineInvitationsRequest(input *DeclineInvitationsInput) (r // API operation DeclineInvitations for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeclineInvitations func (c *GuardDuty) DeclineInvitations(input *DeclineInvitationsInput) (*DeclineInvitationsOutput, error) { @@ -881,14 +881,13 @@ const opDeleteDetector = "DeleteDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDetectorRequest method. +// req, resp := client.DeleteDetectorRequest(params) // -// // Example sending a request using the DeleteDetectorRequest method. -// req, resp := client.DeleteDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetector func (c *GuardDuty) DeleteDetectorRequest(input *DeleteDetectorInput) (req *request.Request, output *DeleteDetectorOutput) { @@ -920,11 +919,12 @@ func (c *GuardDuty) DeleteDetectorRequest(input *DeleteDetectorInput) (req *requ // API operation DeleteDetector for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteDetector func (c *GuardDuty) DeleteDetector(input *DeleteDetectorInput) (*DeleteDetectorOutput, error) { @@ -964,14 +964,13 @@ const opDeleteFilter = "DeleteFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFilterRequest method. +// req, resp := client.DeleteFilterRequest(params) // -// // Example sending a request using the DeleteFilterRequest method. -// req, resp := client.DeleteFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteFilter func (c *GuardDuty) DeleteFilterRequest(input *DeleteFilterInput) (req *request.Request, output *DeleteFilterOutput) { @@ -1003,11 +1002,12 @@ func (c *GuardDuty) DeleteFilterRequest(input *DeleteFilterInput) (req *request. // API operation DeleteFilter for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteFilter func (c *GuardDuty) DeleteFilter(input *DeleteFilterInput) (*DeleteFilterOutput, error) { @@ -1047,14 +1047,13 @@ const opDeleteIPSet = "DeleteIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIPSetRequest method. +// req, resp := client.DeleteIPSetRequest(params) // -// // Example sending a request using the DeleteIPSetRequest method. -// req, resp := client.DeleteIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSet func (c *GuardDuty) DeleteIPSetRequest(input *DeleteIPSetInput) (req *request.Request, output *DeleteIPSetOutput) { @@ -1087,11 +1086,12 @@ func (c *GuardDuty) DeleteIPSetRequest(input *DeleteIPSetInput) (req *request.Re // API operation DeleteIPSet for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteIPSet func (c *GuardDuty) DeleteIPSet(input *DeleteIPSetInput) (*DeleteIPSetOutput, error) { @@ -1131,14 +1131,13 @@ const opDeleteInvitations = "DeleteInvitations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInvitationsRequest method. +// req, resp := client.DeleteInvitationsRequest(params) // -// // Example sending a request using the DeleteInvitationsRequest method. -// req, resp := client.DeleteInvitationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitations func (c *GuardDuty) DeleteInvitationsRequest(input *DeleteInvitationsInput) (req *request.Request, output *DeleteInvitationsOutput) { @@ -1170,11 +1169,12 @@ func (c *GuardDuty) DeleteInvitationsRequest(input *DeleteInvitationsInput) (req // API operation DeleteInvitations for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteInvitations func (c *GuardDuty) DeleteInvitations(input *DeleteInvitationsInput) (*DeleteInvitationsOutput, error) { @@ -1214,14 +1214,13 @@ const opDeleteMembers = "DeleteMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMembersRequest method. +// req, resp := client.DeleteMembersRequest(params) // -// // Example sending a request using the DeleteMembersRequest method. -// req, resp := client.DeleteMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembers func (c *GuardDuty) DeleteMembersRequest(input *DeleteMembersInput) (req *request.Request, output *DeleteMembersOutput) { @@ -1253,11 +1252,12 @@ func (c *GuardDuty) DeleteMembersRequest(input *DeleteMembersInput) (req *reques // API operation DeleteMembers for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteMembers func (c *GuardDuty) DeleteMembers(input *DeleteMembersInput) (*DeleteMembersOutput, error) { @@ -1297,14 +1297,13 @@ const opDeletePublishingDestination = "DeletePublishingDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePublishingDestinationRequest method. +// req, resp := client.DeletePublishingDestinationRequest(params) // -// // Example sending a request using the DeletePublishingDestinationRequest method. -// req, resp := client.DeletePublishingDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeletePublishingDestination func (c *GuardDuty) DeletePublishingDestinationRequest(input *DeletePublishingDestinationInput) (req *request.Request, output *DeletePublishingDestinationOutput) { @@ -1336,11 +1335,12 @@ func (c *GuardDuty) DeletePublishingDestinationRequest(input *DeletePublishingDe // API operation DeletePublishingDestination for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeletePublishingDestination func (c *GuardDuty) DeletePublishingDestination(input *DeletePublishingDestinationInput) (*DeletePublishingDestinationOutput, error) { @@ -1380,14 +1380,13 @@ const opDeleteThreatIntelSet = "DeleteThreatIntelSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteThreatIntelSetRequest method. +// req, resp := client.DeleteThreatIntelSetRequest(params) // -// // Example sending a request using the DeleteThreatIntelSetRequest method. -// req, resp := client.DeleteThreatIntelSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSet func (c *GuardDuty) DeleteThreatIntelSetRequest(input *DeleteThreatIntelSetInput) (req *request.Request, output *DeleteThreatIntelSetOutput) { @@ -1419,11 +1418,12 @@ func (c *GuardDuty) DeleteThreatIntelSetRequest(input *DeleteThreatIntelSetInput // API operation DeleteThreatIntelSet for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DeleteThreatIntelSet func (c *GuardDuty) DeleteThreatIntelSet(input *DeleteThreatIntelSetInput) (*DeleteThreatIntelSetOutput, error) { @@ -1463,14 +1463,13 @@ const opDescribeOrganizationConfiguration = "DescribeOrganizationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrganizationConfigurationRequest method. +// req, resp := client.DescribeOrganizationConfigurationRequest(params) // -// // Example sending a request using the DescribeOrganizationConfigurationRequest method. -// req, resp := client.DescribeOrganizationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfiguration func (c *GuardDuty) DescribeOrganizationConfigurationRequest(input *DescribeOrganizationConfigurationInput) (req *request.Request, output *DescribeOrganizationConfigurationOutput) { @@ -1502,11 +1501,12 @@ func (c *GuardDuty) DescribeOrganizationConfigurationRequest(input *DescribeOrga // API operation DescribeOrganizationConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfiguration func (c *GuardDuty) DescribeOrganizationConfiguration(input *DescribeOrganizationConfigurationInput) (*DescribeOrganizationConfigurationOutput, error) { @@ -1546,14 +1546,13 @@ const opDescribePublishingDestination = "DescribePublishingDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePublishingDestinationRequest method. +// req, resp := client.DescribePublishingDestinationRequest(params) // -// // Example sending a request using the DescribePublishingDestinationRequest method. -// req, resp := client.DescribePublishingDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribePublishingDestination func (c *GuardDuty) DescribePublishingDestinationRequest(input *DescribePublishingDestinationInput) (req *request.Request, output *DescribePublishingDestinationOutput) { @@ -1585,11 +1584,12 @@ func (c *GuardDuty) DescribePublishingDestinationRequest(input *DescribePublishi // API operation DescribePublishingDestination for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribePublishingDestination func (c *GuardDuty) DescribePublishingDestination(input *DescribePublishingDestinationInput) (*DescribePublishingDestinationOutput, error) { @@ -1629,14 +1629,13 @@ const opDisableOrganizationAdminAccount = "DisableOrganizationAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableOrganizationAdminAccountRequest method. +// req, resp := client.DisableOrganizationAdminAccountRequest(params) // -// // Example sending a request using the DisableOrganizationAdminAccountRequest method. -// req, resp := client.DisableOrganizationAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisableOrganizationAdminAccount func (c *GuardDuty) DisableOrganizationAdminAccountRequest(input *DisableOrganizationAdminAccountInput) (req *request.Request, output *DisableOrganizationAdminAccountOutput) { @@ -1669,11 +1668,12 @@ func (c *GuardDuty) DisableOrganizationAdminAccountRequest(input *DisableOrganiz // API operation DisableOrganizationAdminAccount for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisableOrganizationAdminAccount func (c *GuardDuty) DisableOrganizationAdminAccount(input *DisableOrganizationAdminAccountInput) (*DisableOrganizationAdminAccountOutput, error) { @@ -1713,14 +1713,13 @@ const opDisassociateFromMasterAccount = "DisassociateFromMasterAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateFromMasterAccountRequest method. +// req, resp := client.DisassociateFromMasterAccountRequest(params) // -// // Example sending a request using the DisassociateFromMasterAccountRequest method. -// req, resp := client.DisassociateFromMasterAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccount func (c *GuardDuty) DisassociateFromMasterAccountRequest(input *DisassociateFromMasterAccountInput) (req *request.Request, output *DisassociateFromMasterAccountOutput) { @@ -1753,11 +1752,12 @@ func (c *GuardDuty) DisassociateFromMasterAccountRequest(input *DisassociateFrom // API operation DisassociateFromMasterAccount for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateFromMasterAccount func (c *GuardDuty) DisassociateFromMasterAccount(input *DisassociateFromMasterAccountInput) (*DisassociateFromMasterAccountOutput, error) { @@ -1797,14 +1797,13 @@ const opDisassociateMembers = "DisassociateMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateMembersRequest method. +// req, resp := client.DisassociateMembersRequest(params) // -// // Example sending a request using the DisassociateMembersRequest method. -// req, resp := client.DisassociateMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembers func (c *GuardDuty) DisassociateMembersRequest(input *DisassociateMembersInput) (req *request.Request, output *DisassociateMembersOutput) { @@ -1839,11 +1838,12 @@ func (c *GuardDuty) DisassociateMembersRequest(input *DisassociateMembersInput) // API operation DisassociateMembers for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DisassociateMembers func (c *GuardDuty) DisassociateMembers(input *DisassociateMembersInput) (*DisassociateMembersOutput, error) { @@ -1883,14 +1883,13 @@ const opEnableOrganizationAdminAccount = "EnableOrganizationAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableOrganizationAdminAccountRequest method. +// req, resp := client.EnableOrganizationAdminAccountRequest(params) // -// // Example sending a request using the EnableOrganizationAdminAccountRequest method. -// req, resp := client.EnableOrganizationAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/EnableOrganizationAdminAccount func (c *GuardDuty) EnableOrganizationAdminAccountRequest(input *EnableOrganizationAdminAccountInput) (req *request.Request, output *EnableOrganizationAdminAccountOutput) { @@ -1923,11 +1922,12 @@ func (c *GuardDuty) EnableOrganizationAdminAccountRequest(input *EnableOrganizat // API operation EnableOrganizationAdminAccount for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/EnableOrganizationAdminAccount func (c *GuardDuty) EnableOrganizationAdminAccount(input *EnableOrganizationAdminAccountInput) (*EnableOrganizationAdminAccountOutput, error) { @@ -1967,14 +1967,13 @@ const opGetDetector = "GetDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDetectorRequest method. +// req, resp := client.GetDetectorRequest(params) // -// // Example sending a request using the GetDetectorRequest method. -// req, resp := client.GetDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetector func (c *GuardDuty) GetDetectorRequest(input *GetDetectorInput) (req *request.Request, output *GetDetectorOutput) { @@ -2005,11 +2004,12 @@ func (c *GuardDuty) GetDetectorRequest(input *GetDetectorInput) (req *request.Re // API operation GetDetector for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetector func (c *GuardDuty) GetDetector(input *GetDetectorInput) (*GetDetectorOutput, error) { @@ -2049,14 +2049,13 @@ const opGetFilter = "GetFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFilterRequest method. +// req, resp := client.GetFilterRequest(params) // -// // Example sending a request using the GetFilterRequest method. -// req, resp := client.GetFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFilter func (c *GuardDuty) GetFilterRequest(input *GetFilterInput) (req *request.Request, output *GetFilterOutput) { @@ -2087,11 +2086,12 @@ func (c *GuardDuty) GetFilterRequest(input *GetFilterInput) (req *request.Reques // API operation GetFilter for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFilter func (c *GuardDuty) GetFilter(input *GetFilterInput) (*GetFilterOutput, error) { @@ -2131,14 +2131,13 @@ const opGetFindings = "GetFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFindingsRequest method. +// req, resp := client.GetFindingsRequest(params) // -// // Example sending a request using the GetFindingsRequest method. -// req, resp := client.GetFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindings func (c *GuardDuty) GetFindingsRequest(input *GetFindingsInput) (req *request.Request, output *GetFindingsOutput) { @@ -2169,11 +2168,12 @@ func (c *GuardDuty) GetFindingsRequest(input *GetFindingsInput) (req *request.Re // API operation GetFindings for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindings func (c *GuardDuty) GetFindings(input *GetFindingsInput) (*GetFindingsOutput, error) { @@ -2213,14 +2213,13 @@ const opGetFindingsStatistics = "GetFindingsStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFindingsStatisticsRequest method. +// req, resp := client.GetFindingsStatisticsRequest(params) // -// // Example sending a request using the GetFindingsStatisticsRequest method. -// req, resp := client.GetFindingsStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatistics func (c *GuardDuty) GetFindingsStatisticsRequest(input *GetFindingsStatisticsInput) (req *request.Request, output *GetFindingsStatisticsOutput) { @@ -2251,11 +2250,12 @@ func (c *GuardDuty) GetFindingsStatisticsRequest(input *GetFindingsStatisticsInp // API operation GetFindingsStatistics for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatistics func (c *GuardDuty) GetFindingsStatistics(input *GetFindingsStatisticsInput) (*GetFindingsStatisticsOutput, error) { @@ -2295,14 +2295,13 @@ const opGetIPSet = "GetIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIPSetRequest method. +// req, resp := client.GetIPSetRequest(params) // -// // Example sending a request using the GetIPSetRequest method. -// req, resp := client.GetIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSet func (c *GuardDuty) GetIPSetRequest(input *GetIPSetInput) (req *request.Request, output *GetIPSetOutput) { @@ -2333,11 +2332,12 @@ func (c *GuardDuty) GetIPSetRequest(input *GetIPSetInput) (req *request.Request, // API operation GetIPSet for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetIPSet func (c *GuardDuty) GetIPSet(input *GetIPSetInput) (*GetIPSetOutput, error) { @@ -2377,14 +2377,13 @@ const opGetInvitationsCount = "GetInvitationsCount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInvitationsCountRequest method. +// req, resp := client.GetInvitationsCountRequest(params) // -// // Example sending a request using the GetInvitationsCountRequest method. -// req, resp := client.GetInvitationsCountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCount func (c *GuardDuty) GetInvitationsCountRequest(input *GetInvitationsCountInput) (req *request.Request, output *GetInvitationsCountOutput) { @@ -2416,11 +2415,12 @@ func (c *GuardDuty) GetInvitationsCountRequest(input *GetInvitationsCountInput) // API operation GetInvitationsCount for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetInvitationsCount func (c *GuardDuty) GetInvitationsCount(input *GetInvitationsCountInput) (*GetInvitationsCountOutput, error) { @@ -2460,14 +2460,13 @@ const opGetMasterAccount = "GetMasterAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMasterAccountRequest method. +// req, resp := client.GetMasterAccountRequest(params) // -// // Example sending a request using the GetMasterAccountRequest method. -// req, resp := client.GetMasterAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccount func (c *GuardDuty) GetMasterAccountRequest(input *GetMasterAccountInput) (req *request.Request, output *GetMasterAccountOutput) { @@ -2499,11 +2498,12 @@ func (c *GuardDuty) GetMasterAccountRequest(input *GetMasterAccountInput) (req * // API operation GetMasterAccount for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMasterAccount func (c *GuardDuty) GetMasterAccount(input *GetMasterAccountInput) (*GetMasterAccountOutput, error) { @@ -2543,14 +2543,13 @@ const opGetMemberDetectors = "GetMemberDetectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMemberDetectorsRequest method. +// req, resp := client.GetMemberDetectorsRequest(params) // -// // Example sending a request using the GetMemberDetectorsRequest method. -// req, resp := client.GetMemberDetectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMemberDetectors func (c *GuardDuty) GetMemberDetectorsRequest(input *GetMemberDetectorsInput) (req *request.Request, output *GetMemberDetectorsOutput) { @@ -2581,11 +2580,12 @@ func (c *GuardDuty) GetMemberDetectorsRequest(input *GetMemberDetectorsInput) (r // API operation GetMemberDetectors for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMemberDetectors func (c *GuardDuty) GetMemberDetectors(input *GetMemberDetectorsInput) (*GetMemberDetectorsOutput, error) { @@ -2625,14 +2625,13 @@ const opGetMembers = "GetMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMembersRequest method. +// req, resp := client.GetMembersRequest(params) // -// // Example sending a request using the GetMembersRequest method. -// req, resp := client.GetMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembers func (c *GuardDuty) GetMembersRequest(input *GetMembersInput) (req *request.Request, output *GetMembersOutput) { @@ -2664,11 +2663,12 @@ func (c *GuardDuty) GetMembersRequest(input *GetMembersInput) (req *request.Requ // API operation GetMembers for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMembers func (c *GuardDuty) GetMembers(input *GetMembersInput) (*GetMembersOutput, error) { @@ -2708,14 +2708,13 @@ const opGetThreatIntelSet = "GetThreatIntelSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetThreatIntelSetRequest method. +// req, resp := client.GetThreatIntelSetRequest(params) // -// // Example sending a request using the GetThreatIntelSetRequest method. -// req, resp := client.GetThreatIntelSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSet func (c *GuardDuty) GetThreatIntelSetRequest(input *GetThreatIntelSetInput) (req *request.Request, output *GetThreatIntelSetOutput) { @@ -2746,11 +2745,12 @@ func (c *GuardDuty) GetThreatIntelSetRequest(input *GetThreatIntelSetInput) (req // API operation GetThreatIntelSet for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetThreatIntelSet func (c *GuardDuty) GetThreatIntelSet(input *GetThreatIntelSetInput) (*GetThreatIntelSetOutput, error) { @@ -2790,14 +2790,13 @@ const opGetUsageStatistics = "GetUsageStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUsageStatisticsRequest method. +// req, resp := client.GetUsageStatisticsRequest(params) // -// // Example sending a request using the GetUsageStatisticsRequest method. -// req, resp := client.GetUsageStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetUsageStatistics func (c *GuardDuty) GetUsageStatisticsRequest(input *GetUsageStatisticsInput) (req *request.Request, output *GetUsageStatisticsOutput) { @@ -2839,11 +2838,12 @@ func (c *GuardDuty) GetUsageStatisticsRequest(input *GetUsageStatisticsInput) (r // API operation GetUsageStatistics for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetUsageStatistics func (c *GuardDuty) GetUsageStatistics(input *GetUsageStatisticsInput) (*GetUsageStatisticsOutput, error) { @@ -2875,15 +2875,14 @@ func (c *GuardDuty) GetUsageStatisticsWithContext(ctx aws.Context, input *GetUsa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetUsageStatistics operation. -// pageNum := 0 -// err := client.GetUsageStatisticsPages(params, -// func(page *guardduty.GetUsageStatisticsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetUsageStatistics operation. +// pageNum := 0 +// err := client.GetUsageStatisticsPages(params, +// func(page *guardduty.GetUsageStatisticsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GuardDuty) GetUsageStatisticsPages(input *GetUsageStatisticsInput, fn func(*GetUsageStatisticsOutput, bool) bool) error { return c.GetUsageStatisticsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2935,14 +2934,13 @@ const opInviteMembers = "InviteMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InviteMembersRequest method. +// req, resp := client.InviteMembersRequest(params) // -// // Example sending a request using the InviteMembersRequest method. -// req, resp := client.InviteMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembers func (c *GuardDuty) InviteMembersRequest(input *InviteMembersInput) (req *request.Request, output *InviteMembersOutput) { @@ -2976,11 +2974,12 @@ func (c *GuardDuty) InviteMembersRequest(input *InviteMembersInput) (req *reques // API operation InviteMembers for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/InviteMembers func (c *GuardDuty) InviteMembers(input *InviteMembersInput) (*InviteMembersOutput, error) { @@ -3020,14 +3019,13 @@ const opListDetectors = "ListDetectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDetectorsRequest method. +// req, resp := client.ListDetectorsRequest(params) // -// // Example sending a request using the ListDetectorsRequest method. -// req, resp := client.ListDetectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectors func (c *GuardDuty) ListDetectorsRequest(input *ListDetectorsInput) (req *request.Request, output *ListDetectorsOutput) { @@ -3064,11 +3062,12 @@ func (c *GuardDuty) ListDetectorsRequest(input *ListDetectorsInput) (req *reques // API operation ListDetectors for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListDetectors func (c *GuardDuty) ListDetectors(input *ListDetectorsInput) (*ListDetectorsOutput, error) { @@ -3100,15 +3099,14 @@ func (c *GuardDuty) ListDetectorsWithContext(ctx aws.Context, input *ListDetecto // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDetectors operation. -// pageNum := 0 -// err := client.ListDetectorsPages(params, -// func(page *guardduty.ListDetectorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDetectors operation. +// pageNum := 0 +// err := client.ListDetectorsPages(params, +// func(page *guardduty.ListDetectorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GuardDuty) ListDetectorsPages(input *ListDetectorsInput, fn func(*ListDetectorsOutput, bool) bool) error { return c.ListDetectorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3160,14 +3158,13 @@ const opListFilters = "ListFilters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFiltersRequest method. +// req, resp := client.ListFiltersRequest(params) // -// // Example sending a request using the ListFiltersRequest method. -// req, resp := client.ListFiltersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFilters func (c *GuardDuty) ListFiltersRequest(input *ListFiltersInput) (req *request.Request, output *ListFiltersOutput) { @@ -3204,11 +3201,12 @@ func (c *GuardDuty) ListFiltersRequest(input *ListFiltersInput) (req *request.Re // API operation ListFilters for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFilters func (c *GuardDuty) ListFilters(input *ListFiltersInput) (*ListFiltersOutput, error) { @@ -3240,15 +3238,14 @@ func (c *GuardDuty) ListFiltersWithContext(ctx aws.Context, input *ListFiltersIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFilters operation. -// pageNum := 0 -// err := client.ListFiltersPages(params, -// func(page *guardduty.ListFiltersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFilters operation. +// pageNum := 0 +// err := client.ListFiltersPages(params, +// func(page *guardduty.ListFiltersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GuardDuty) ListFiltersPages(input *ListFiltersInput, fn func(*ListFiltersOutput, bool) bool) error { return c.ListFiltersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3300,14 +3297,13 @@ const opListFindings = "ListFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFindingsRequest method. +// req, resp := client.ListFindingsRequest(params) // -// // Example sending a request using the ListFindingsRequest method. -// req, resp := client.ListFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindings func (c *GuardDuty) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput) { @@ -3344,11 +3340,12 @@ func (c *GuardDuty) ListFindingsRequest(input *ListFindingsInput) (req *request. // API operation ListFindings for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListFindings func (c *GuardDuty) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error) { @@ -3380,15 +3377,14 @@ func (c *GuardDuty) ListFindingsWithContext(ctx aws.Context, input *ListFindings // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFindings operation. -// pageNum := 0 -// err := client.ListFindingsPages(params, -// func(page *guardduty.ListFindingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFindings operation. +// pageNum := 0 +// err := client.ListFindingsPages(params, +// func(page *guardduty.ListFindingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GuardDuty) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error { return c.ListFindingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3440,14 +3436,13 @@ const opListIPSets = "ListIPSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIPSetsRequest method. +// req, resp := client.ListIPSetsRequest(params) // -// // Example sending a request using the ListIPSetsRequest method. -// req, resp := client.ListIPSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSets func (c *GuardDuty) ListIPSetsRequest(input *ListIPSetsInput) (req *request.Request, output *ListIPSetsOutput) { @@ -3486,11 +3481,12 @@ func (c *GuardDuty) ListIPSetsRequest(input *ListIPSetsInput) (req *request.Requ // API operation ListIPSets for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListIPSets func (c *GuardDuty) ListIPSets(input *ListIPSetsInput) (*ListIPSetsOutput, error) { @@ -3522,15 +3518,14 @@ func (c *GuardDuty) ListIPSetsWithContext(ctx aws.Context, input *ListIPSetsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListIPSets operation. -// pageNum := 0 -// err := client.ListIPSetsPages(params, -// func(page *guardduty.ListIPSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListIPSets operation. +// pageNum := 0 +// err := client.ListIPSetsPages(params, +// func(page *guardduty.ListIPSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GuardDuty) ListIPSetsPages(input *ListIPSetsInput, fn func(*ListIPSetsOutput, bool) bool) error { return c.ListIPSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3582,14 +3577,13 @@ const opListInvitations = "ListInvitations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInvitationsRequest method. +// req, resp := client.ListInvitationsRequest(params) // -// // Example sending a request using the ListInvitationsRequest method. -// req, resp := client.ListInvitationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitations func (c *GuardDuty) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput) { @@ -3627,11 +3621,12 @@ func (c *GuardDuty) ListInvitationsRequest(input *ListInvitationsInput) (req *re // API operation ListInvitations for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListInvitations func (c *GuardDuty) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error) { @@ -3663,15 +3658,14 @@ func (c *GuardDuty) ListInvitationsWithContext(ctx aws.Context, input *ListInvit // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInvitations operation. -// pageNum := 0 -// err := client.ListInvitationsPages(params, -// func(page *guardduty.ListInvitationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInvitations operation. +// pageNum := 0 +// err := client.ListInvitationsPages(params, +// func(page *guardduty.ListInvitationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GuardDuty) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error { return c.ListInvitationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3723,14 +3717,13 @@ const opListMembers = "ListMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMembersRequest method. +// req, resp := client.ListMembersRequest(params) // -// // Example sending a request using the ListMembersRequest method. -// req, resp := client.ListMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembers func (c *GuardDuty) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput) { @@ -3768,11 +3761,12 @@ func (c *GuardDuty) ListMembersRequest(input *ListMembersInput) (req *request.Re // API operation ListMembers for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembers func (c *GuardDuty) ListMembers(input *ListMembersInput) (*ListMembersOutput, error) { @@ -3804,15 +3798,14 @@ func (c *GuardDuty) ListMembersWithContext(ctx aws.Context, input *ListMembersIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMembers operation. -// pageNum := 0 -// err := client.ListMembersPages(params, -// func(page *guardduty.ListMembersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMembers operation. +// pageNum := 0 +// err := client.ListMembersPages(params, +// func(page *guardduty.ListMembersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GuardDuty) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error { return c.ListMembersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3864,14 +3857,13 @@ const opListOrganizationAdminAccounts = "ListOrganizationAdminAccounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOrganizationAdminAccountsRequest method. +// req, resp := client.ListOrganizationAdminAccountsRequest(params) // -// // Example sending a request using the ListOrganizationAdminAccountsRequest method. -// req, resp := client.ListOrganizationAdminAccountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListOrganizationAdminAccounts func (c *GuardDuty) ListOrganizationAdminAccountsRequest(input *ListOrganizationAdminAccountsInput) (req *request.Request, output *ListOrganizationAdminAccountsOutput) { @@ -3908,11 +3900,12 @@ func (c *GuardDuty) ListOrganizationAdminAccountsRequest(input *ListOrganization // API operation ListOrganizationAdminAccounts for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListOrganizationAdminAccounts func (c *GuardDuty) ListOrganizationAdminAccounts(input *ListOrganizationAdminAccountsInput) (*ListOrganizationAdminAccountsOutput, error) { @@ -3944,15 +3937,14 @@ func (c *GuardDuty) ListOrganizationAdminAccountsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOrganizationAdminAccounts operation. -// pageNum := 0 -// err := client.ListOrganizationAdminAccountsPages(params, -// func(page *guardduty.ListOrganizationAdminAccountsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOrganizationAdminAccounts operation. +// pageNum := 0 +// err := client.ListOrganizationAdminAccountsPages(params, +// func(page *guardduty.ListOrganizationAdminAccountsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GuardDuty) ListOrganizationAdminAccountsPages(input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool) error { return c.ListOrganizationAdminAccountsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4004,14 +3996,13 @@ const opListPublishingDestinations = "ListPublishingDestinations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPublishingDestinationsRequest method. +// req, resp := client.ListPublishingDestinationsRequest(params) // -// // Example sending a request using the ListPublishingDestinationsRequest method. -// req, resp := client.ListPublishingDestinationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListPublishingDestinations func (c *GuardDuty) ListPublishingDestinationsRequest(input *ListPublishingDestinationsInput) (req *request.Request, output *ListPublishingDestinationsOutput) { @@ -4048,11 +4039,12 @@ func (c *GuardDuty) ListPublishingDestinationsRequest(input *ListPublishingDesti // API operation ListPublishingDestinations for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListPublishingDestinations func (c *GuardDuty) ListPublishingDestinations(input *ListPublishingDestinationsInput) (*ListPublishingDestinationsOutput, error) { @@ -4084,15 +4076,14 @@ func (c *GuardDuty) ListPublishingDestinationsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPublishingDestinations operation. -// pageNum := 0 -// err := client.ListPublishingDestinationsPages(params, -// func(page *guardduty.ListPublishingDestinationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPublishingDestinations operation. +// pageNum := 0 +// err := client.ListPublishingDestinationsPages(params, +// func(page *guardduty.ListPublishingDestinationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GuardDuty) ListPublishingDestinationsPages(input *ListPublishingDestinationsInput, fn func(*ListPublishingDestinationsOutput, bool) bool) error { return c.ListPublishingDestinationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4144,14 +4135,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListTagsForResource func (c *GuardDuty) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4185,11 +4175,12 @@ func (c *GuardDuty) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListTagsForResource func (c *GuardDuty) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4229,14 +4220,13 @@ const opListThreatIntelSets = "ListThreatIntelSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThreatIntelSetsRequest method. +// req, resp := client.ListThreatIntelSetsRequest(params) // -// // Example sending a request using the ListThreatIntelSetsRequest method. -// req, resp := client.ListThreatIntelSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSets func (c *GuardDuty) ListThreatIntelSetsRequest(input *ListThreatIntelSetsInput) (req *request.Request, output *ListThreatIntelSetsOutput) { @@ -4275,11 +4265,12 @@ func (c *GuardDuty) ListThreatIntelSetsRequest(input *ListThreatIntelSetsInput) // API operation ListThreatIntelSets for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListThreatIntelSets func (c *GuardDuty) ListThreatIntelSets(input *ListThreatIntelSetsInput) (*ListThreatIntelSetsOutput, error) { @@ -4311,15 +4302,14 @@ func (c *GuardDuty) ListThreatIntelSetsWithContext(ctx aws.Context, input *ListT // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListThreatIntelSets operation. -// pageNum := 0 -// err := client.ListThreatIntelSetsPages(params, -// func(page *guardduty.ListThreatIntelSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListThreatIntelSets operation. +// pageNum := 0 +// err := client.ListThreatIntelSetsPages(params, +// func(page *guardduty.ListThreatIntelSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *GuardDuty) ListThreatIntelSetsPages(input *ListThreatIntelSetsInput, fn func(*ListThreatIntelSetsOutput, bool) bool) error { return c.ListThreatIntelSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4371,14 +4361,13 @@ const opStartMonitoringMembers = "StartMonitoringMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMonitoringMembersRequest method. +// req, resp := client.StartMonitoringMembersRequest(params) // -// // Example sending a request using the StartMonitoringMembersRequest method. -// req, resp := client.StartMonitoringMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembers func (c *GuardDuty) StartMonitoringMembersRequest(input *StartMonitoringMembersInput) (req *request.Request, output *StartMonitoringMembersOutput) { @@ -4411,11 +4400,12 @@ func (c *GuardDuty) StartMonitoringMembersRequest(input *StartMonitoringMembersI // API operation StartMonitoringMembers for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMonitoringMembers func (c *GuardDuty) StartMonitoringMembers(input *StartMonitoringMembersInput) (*StartMonitoringMembersOutput, error) { @@ -4455,14 +4445,13 @@ const opStopMonitoringMembers = "StopMonitoringMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopMonitoringMembersRequest method. +// req, resp := client.StopMonitoringMembersRequest(params) // -// // Example sending a request using the StopMonitoringMembersRequest method. -// req, resp := client.StopMonitoringMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembers func (c *GuardDuty) StopMonitoringMembersRequest(input *StopMonitoringMembersInput) (req *request.Request, output *StopMonitoringMembersOutput) { @@ -4494,11 +4483,12 @@ func (c *GuardDuty) StopMonitoringMembersRequest(input *StopMonitoringMembersInp // API operation StopMonitoringMembers for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StopMonitoringMembers func (c *GuardDuty) StopMonitoringMembers(input *StopMonitoringMembersInput) (*StopMonitoringMembersOutput, error) { @@ -4538,14 +4528,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/TagResource func (c *GuardDuty) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -4577,11 +4566,12 @@ func (c *GuardDuty) TagResourceRequest(input *TagResourceInput) (req *request.Re // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/TagResource func (c *GuardDuty) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4621,14 +4611,13 @@ const opUnarchiveFindings = "UnarchiveFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnarchiveFindingsRequest method. +// req, resp := client.UnarchiveFindingsRequest(params) // -// // Example sending a request using the UnarchiveFindingsRequest method. -// req, resp := client.UnarchiveFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindings func (c *GuardDuty) UnarchiveFindingsRequest(input *UnarchiveFindingsInput) (req *request.Request, output *UnarchiveFindingsOutput) { @@ -4660,11 +4649,12 @@ func (c *GuardDuty) UnarchiveFindingsRequest(input *UnarchiveFindingsInput) (req // API operation UnarchiveFindings for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnarchiveFindings func (c *GuardDuty) UnarchiveFindings(input *UnarchiveFindingsInput) (*UnarchiveFindingsOutput, error) { @@ -4704,14 +4694,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UntagResource func (c *GuardDuty) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4743,11 +4732,12 @@ func (c *GuardDuty) UntagResourceRequest(input *UntagResourceInput) (req *reques // API operation UntagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UntagResource func (c *GuardDuty) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -4787,14 +4777,13 @@ const opUpdateDetector = "UpdateDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDetectorRequest method. +// req, resp := client.UpdateDetectorRequest(params) // -// // Example sending a request using the UpdateDetectorRequest method. -// req, resp := client.UpdateDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetector func (c *GuardDuty) UpdateDetectorRequest(input *UpdateDetectorInput) (req *request.Request, output *UpdateDetectorOutput) { @@ -4826,11 +4815,12 @@ func (c *GuardDuty) UpdateDetectorRequest(input *UpdateDetectorInput) (req *requ // API operation UpdateDetector for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetector func (c *GuardDuty) UpdateDetector(input *UpdateDetectorInput) (*UpdateDetectorOutput, error) { @@ -4870,14 +4860,13 @@ const opUpdateFilter = "UpdateFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFilterRequest method. +// req, resp := client.UpdateFilterRequest(params) // -// // Example sending a request using the UpdateFilterRequest method. -// req, resp := client.UpdateFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFilter func (c *GuardDuty) UpdateFilterRequest(input *UpdateFilterInput) (req *request.Request, output *UpdateFilterOutput) { @@ -4908,11 +4897,12 @@ func (c *GuardDuty) UpdateFilterRequest(input *UpdateFilterInput) (req *request. // API operation UpdateFilter for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFilter func (c *GuardDuty) UpdateFilter(input *UpdateFilterInput) (*UpdateFilterOutput, error) { @@ -4952,14 +4942,13 @@ const opUpdateFindingsFeedback = "UpdateFindingsFeedback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFindingsFeedbackRequest method. +// req, resp := client.UpdateFindingsFeedbackRequest(params) // -// // Example sending a request using the UpdateFindingsFeedbackRequest method. -// req, resp := client.UpdateFindingsFeedbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedback func (c *GuardDuty) UpdateFindingsFeedbackRequest(input *UpdateFindingsFeedbackInput) (req *request.Request, output *UpdateFindingsFeedbackOutput) { @@ -4991,11 +4980,12 @@ func (c *GuardDuty) UpdateFindingsFeedbackRequest(input *UpdateFindingsFeedbackI // API operation UpdateFindingsFeedback for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateFindingsFeedback func (c *GuardDuty) UpdateFindingsFeedback(input *UpdateFindingsFeedbackInput) (*UpdateFindingsFeedbackOutput, error) { @@ -5035,14 +5025,13 @@ const opUpdateIPSet = "UpdateIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIPSetRequest method. +// req, resp := client.UpdateIPSetRequest(params) // -// // Example sending a request using the UpdateIPSetRequest method. -// req, resp := client.UpdateIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSet func (c *GuardDuty) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Request, output *UpdateIPSetOutput) { @@ -5074,11 +5063,12 @@ func (c *GuardDuty) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Re // API operation UpdateIPSet for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateIPSet func (c *GuardDuty) UpdateIPSet(input *UpdateIPSetInput) (*UpdateIPSetOutput, error) { @@ -5118,14 +5108,13 @@ const opUpdateMemberDetectors = "UpdateMemberDetectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMemberDetectorsRequest method. +// req, resp := client.UpdateMemberDetectorsRequest(params) // -// // Example sending a request using the UpdateMemberDetectorsRequest method. -// req, resp := client.UpdateMemberDetectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateMemberDetectors func (c *GuardDuty) UpdateMemberDetectorsRequest(input *UpdateMemberDetectorsInput) (req *request.Request, output *UpdateMemberDetectorsOutput) { @@ -5156,11 +5145,12 @@ func (c *GuardDuty) UpdateMemberDetectorsRequest(input *UpdateMemberDetectorsInp // API operation UpdateMemberDetectors for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateMemberDetectors func (c *GuardDuty) UpdateMemberDetectors(input *UpdateMemberDetectorsInput) (*UpdateMemberDetectorsOutput, error) { @@ -5200,14 +5190,13 @@ const opUpdateOrganizationConfiguration = "UpdateOrganizationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateOrganizationConfigurationRequest method. +// req, resp := client.UpdateOrganizationConfigurationRequest(params) // -// // Example sending a request using the UpdateOrganizationConfigurationRequest method. -// req, resp := client.UpdateOrganizationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfiguration func (c *GuardDuty) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput) { @@ -5239,11 +5228,12 @@ func (c *GuardDuty) UpdateOrganizationConfigurationRequest(input *UpdateOrganiza // API operation UpdateOrganizationConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfiguration func (c *GuardDuty) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error) { @@ -5283,14 +5273,13 @@ const opUpdatePublishingDestination = "UpdatePublishingDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePublishingDestinationRequest method. +// req, resp := client.UpdatePublishingDestinationRequest(params) // -// // Example sending a request using the UpdatePublishingDestinationRequest method. -// req, resp := client.UpdatePublishingDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdatePublishingDestination func (c *GuardDuty) UpdatePublishingDestinationRequest(input *UpdatePublishingDestinationInput) (req *request.Request, output *UpdatePublishingDestinationOutput) { @@ -5322,11 +5311,12 @@ func (c *GuardDuty) UpdatePublishingDestinationRequest(input *UpdatePublishingDe // API operation UpdatePublishingDestination for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdatePublishingDestination func (c *GuardDuty) UpdatePublishingDestination(input *UpdatePublishingDestinationInput) (*UpdatePublishingDestinationOutput, error) { @@ -5366,14 +5356,13 @@ const opUpdateThreatIntelSet = "UpdateThreatIntelSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateThreatIntelSetRequest method. +// req, resp := client.UpdateThreatIntelSetRequest(params) // -// // Example sending a request using the UpdateThreatIntelSetRequest method. -// req, resp := client.UpdateThreatIntelSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSet func (c *GuardDuty) UpdateThreatIntelSetRequest(input *UpdateThreatIntelSetInput) (req *request.Request, output *UpdateThreatIntelSetOutput) { @@ -5405,11 +5394,12 @@ func (c *GuardDuty) UpdateThreatIntelSetRequest(input *UpdateThreatIntelSetInput // API operation UpdateThreatIntelSet for usage and error information. // // Returned Error Types: -// * BadRequestException -// A bad request exception object. // -// * InternalServerErrorException -// An internal server error exception object. +// - BadRequestException +// A bad request exception object. +// +// - InternalServerErrorException +// An internal server error exception object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateThreatIntelSet func (c *GuardDuty) UpdateThreatIntelSet(input *UpdateThreatIntelSetInput) (*UpdateThreatIntelSetOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/doc.go index 0305c50b1b0f..fad65397edb6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/doc.go @@ -28,7 +28,7 @@ // See guardduty package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/guardduty/ // -// Using the Client +// # Using the Client // // To contact Amazon GuardDuty with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/guarddutyiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/guarddutyiface/interface.go index b44a8ae17b06..f32b69ee58bd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/guarddutyiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/guarddutyiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon GuardDuty. -// func myFunc(svc guarddutyiface.GuardDutyAPI) bool { -// // Make svc.AcceptInvitation request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon GuardDuty. +// func myFunc(svc guarddutyiface.GuardDutyAPI) bool { +// // Make svc.AcceptInvitation request +// } // -// func main() { -// sess := session.New() -// svc := guardduty.New(sess) +// func main() { +// sess := session.New() +// svc := guardduty.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockGuardDutyClient struct { -// guarddutyiface.GuardDutyAPI -// } -// func (m *mockGuardDutyClient) AcceptInvitation(input *guardduty.AcceptInvitationInput) (*guardduty.AcceptInvitationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockGuardDutyClient struct { +// guarddutyiface.GuardDutyAPI +// } +// func (m *mockGuardDutyClient) AcceptInvitation(input *guardduty.AcceptInvitationInput) (*guardduty.AcceptInvitationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockGuardDutyClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockGuardDutyClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/service.go index 6a97ba9965e8..b8bc28e5cb3c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/guardduty/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a GuardDuty client from just a session. -// svc := guardduty.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a GuardDuty client with additional configuration -// svc := guardduty.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a GuardDuty client from just a session. +// svc := guardduty.New(mySession) +// +// // Create a GuardDuty client with additional configuration +// svc := guardduty.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *GuardDuty { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/api.go index b2e8b5e1ff9e..dd31ee448d42 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/api.go @@ -29,14 +29,13 @@ const opDescribeAffectedAccountsForOrganization = "DescribeAffectedAccountsForOr // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAffectedAccountsForOrganizationRequest method. +// req, resp := client.DescribeAffectedAccountsForOrganizationRequest(params) // -// // Example sending a request using the DescribeAffectedAccountsForOrganizationRequest method. -// req, resp := client.DescribeAffectedAccountsForOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedAccountsForOrganization func (c *Health) DescribeAffectedAccountsForOrganizationRequest(input *DescribeAffectedAccountsForOrganizationInput) (req *request.Request, output *DescribeAffectedAccountsForOrganizationOutput) { @@ -83,8 +82,8 @@ func (c *Health) DescribeAffectedAccountsForOrganizationRequest(input *DescribeA // API operation DescribeAffectedAccountsForOrganization for usage and error information. // // Returned Error Types: -// * InvalidPaginationToken -// The specified pagination token (nextToken) is not valid. +// - InvalidPaginationToken +// The specified pagination token (nextToken) is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedAccountsForOrganization func (c *Health) DescribeAffectedAccountsForOrganization(input *DescribeAffectedAccountsForOrganizationInput) (*DescribeAffectedAccountsForOrganizationOutput, error) { @@ -116,15 +115,14 @@ func (c *Health) DescribeAffectedAccountsForOrganizationWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAffectedAccountsForOrganization operation. -// pageNum := 0 -// err := client.DescribeAffectedAccountsForOrganizationPages(params, -// func(page *health.DescribeAffectedAccountsForOrganizationOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAffectedAccountsForOrganization operation. +// pageNum := 0 +// err := client.DescribeAffectedAccountsForOrganizationPages(params, +// func(page *health.DescribeAffectedAccountsForOrganizationOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Health) DescribeAffectedAccountsForOrganizationPages(input *DescribeAffectedAccountsForOrganizationInput, fn func(*DescribeAffectedAccountsForOrganizationOutput, bool) bool) error { return c.DescribeAffectedAccountsForOrganizationPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -176,14 +174,13 @@ const opDescribeAffectedEntities = "DescribeAffectedEntities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAffectedEntitiesRequest method. +// req, resp := client.DescribeAffectedEntitiesRequest(params) // -// // Example sending a request using the DescribeAffectedEntitiesRequest method. -// req, resp := client.DescribeAffectedEntitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedEntities func (c *Health) DescribeAffectedEntitiesRequest(input *DescribeAffectedEntitiesInput) (req *request.Request, output *DescribeAffectedEntitiesOutput) { @@ -219,13 +216,13 @@ func (c *Health) DescribeAffectedEntitiesRequest(input *DescribeAffectedEntities // // At least one event ARN is required. // -// * This API operation uses pagination. Specify the nextToken parameter -// in the next request to return more results. +// - This API operation uses pagination. Specify the nextToken parameter +// in the next request to return more results. // -// * This operation supports resource-level permissions. You can use this -// operation to allow or deny access to specific Health events. For more -// information, see Resource- and action-based conditions (https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html#resource-action-based-conditions) -// in the Health User Guide. +// - This operation supports resource-level permissions. You can use this +// operation to allow or deny access to specific Health events. For more +// information, see Resource- and action-based conditions (https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html#resource-action-based-conditions) +// in the Health User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -235,11 +232,12 @@ func (c *Health) DescribeAffectedEntitiesRequest(input *DescribeAffectedEntities // API operation DescribeAffectedEntities for usage and error information. // // Returned Error Types: -// * InvalidPaginationToken -// The specified pagination token (nextToken) is not valid. // -// * UnsupportedLocale -// The specified locale is not supported. +// - InvalidPaginationToken +// The specified pagination token (nextToken) is not valid. +// +// - UnsupportedLocale +// The specified locale is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedEntities func (c *Health) DescribeAffectedEntities(input *DescribeAffectedEntitiesInput) (*DescribeAffectedEntitiesOutput, error) { @@ -271,15 +269,14 @@ func (c *Health) DescribeAffectedEntitiesWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAffectedEntities operation. -// pageNum := 0 -// err := client.DescribeAffectedEntitiesPages(params, -// func(page *health.DescribeAffectedEntitiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAffectedEntities operation. +// pageNum := 0 +// err := client.DescribeAffectedEntitiesPages(params, +// func(page *health.DescribeAffectedEntitiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Health) DescribeAffectedEntitiesPages(input *DescribeAffectedEntitiesInput, fn func(*DescribeAffectedEntitiesOutput, bool) bool) error { return c.DescribeAffectedEntitiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -331,14 +328,13 @@ const opDescribeAffectedEntitiesForOrganization = "DescribeAffectedEntitiesForOr // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAffectedEntitiesForOrganizationRequest method. +// req, resp := client.DescribeAffectedEntitiesForOrganizationRequest(params) // -// // Example sending a request using the DescribeAffectedEntitiesForOrganizationRequest method. -// req, resp := client.DescribeAffectedEntitiesForOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedEntitiesForOrganization func (c *Health) DescribeAffectedEntitiesForOrganizationRequest(input *DescribeAffectedEntitiesForOrganizationInput) (req *request.Request, output *DescribeAffectedEntitiesForOrganizationOutput) { @@ -378,13 +374,13 @@ func (c *Health) DescribeAffectedEntitiesForOrganizationRequest(input *DescribeA // (https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html) // operation from your organization's management account. // -// * This API operation uses pagination. Specify the nextToken parameter -// in the next request to return more results. +// - This API operation uses pagination. Specify the nextToken parameter +// in the next request to return more results. // -// * This operation doesn't support resource-level permissions. You can't -// use this operation to allow or deny access to specific Health events. -// For more information, see Resource- and action-based conditions (https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html#resource-action-based-conditions) -// in the Health User Guide. +// - This operation doesn't support resource-level permissions. You can't +// use this operation to allow or deny access to specific Health events. +// For more information, see Resource- and action-based conditions (https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html#resource-action-based-conditions) +// in the Health User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -394,11 +390,12 @@ func (c *Health) DescribeAffectedEntitiesForOrganizationRequest(input *DescribeA // API operation DescribeAffectedEntitiesForOrganization for usage and error information. // // Returned Error Types: -// * InvalidPaginationToken -// The specified pagination token (nextToken) is not valid. // -// * UnsupportedLocale -// The specified locale is not supported. +// - InvalidPaginationToken +// The specified pagination token (nextToken) is not valid. +// +// - UnsupportedLocale +// The specified locale is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeAffectedEntitiesForOrganization func (c *Health) DescribeAffectedEntitiesForOrganization(input *DescribeAffectedEntitiesForOrganizationInput) (*DescribeAffectedEntitiesForOrganizationOutput, error) { @@ -430,15 +427,14 @@ func (c *Health) DescribeAffectedEntitiesForOrganizationWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAffectedEntitiesForOrganization operation. -// pageNum := 0 -// err := client.DescribeAffectedEntitiesForOrganizationPages(params, -// func(page *health.DescribeAffectedEntitiesForOrganizationOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAffectedEntitiesForOrganization operation. +// pageNum := 0 +// err := client.DescribeAffectedEntitiesForOrganizationPages(params, +// func(page *health.DescribeAffectedEntitiesForOrganizationOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Health) DescribeAffectedEntitiesForOrganizationPages(input *DescribeAffectedEntitiesForOrganizationInput, fn func(*DescribeAffectedEntitiesForOrganizationOutput, bool) bool) error { return c.DescribeAffectedEntitiesForOrganizationPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -490,14 +486,13 @@ const opDescribeEntityAggregates = "DescribeEntityAggregates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEntityAggregatesRequest method. +// req, resp := client.DescribeEntityAggregatesRequest(params) // -// // Example sending a request using the DescribeEntityAggregatesRequest method. -// req, resp := client.DescribeEntityAggregatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEntityAggregates func (c *Health) DescribeEntityAggregatesRequest(input *DescribeEntityAggregatesInput) (req *request.Request, output *DescribeEntityAggregatesOutput) { @@ -565,14 +560,13 @@ const opDescribeEventAggregates = "DescribeEventAggregates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventAggregatesRequest method. +// req, resp := client.DescribeEventAggregatesRequest(params) // -// // Example sending a request using the DescribeEventAggregatesRequest method. -// req, resp := client.DescribeEventAggregatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventAggregates func (c *Health) DescribeEventAggregatesRequest(input *DescribeEventAggregatesInput) (req *request.Request, output *DescribeEventAggregatesOutput) { @@ -614,8 +608,8 @@ func (c *Health) DescribeEventAggregatesRequest(input *DescribeEventAggregatesIn // API operation DescribeEventAggregates for usage and error information. // // Returned Error Types: -// * InvalidPaginationToken -// The specified pagination token (nextToken) is not valid. +// - InvalidPaginationToken +// The specified pagination token (nextToken) is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventAggregates func (c *Health) DescribeEventAggregates(input *DescribeEventAggregatesInput) (*DescribeEventAggregatesOutput, error) { @@ -647,15 +641,14 @@ func (c *Health) DescribeEventAggregatesWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEventAggregates operation. -// pageNum := 0 -// err := client.DescribeEventAggregatesPages(params, -// func(page *health.DescribeEventAggregatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEventAggregates operation. +// pageNum := 0 +// err := client.DescribeEventAggregatesPages(params, +// func(page *health.DescribeEventAggregatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Health) DescribeEventAggregatesPages(input *DescribeEventAggregatesInput, fn func(*DescribeEventAggregatesOutput, bool) bool) error { return c.DescribeEventAggregatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -707,14 +700,13 @@ const opDescribeEventDetails = "DescribeEventDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventDetailsRequest method. +// req, resp := client.DescribeEventDetailsRequest(params) // -// // Example sending a request using the DescribeEventDetailsRequest method. -// req, resp := client.DescribeEventDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventDetails func (c *Health) DescribeEventDetailsRequest(input *DescribeEventDetailsInput) (req *request.Request, output *DescribeEventDetailsOutput) { @@ -759,8 +751,8 @@ func (c *Health) DescribeEventDetailsRequest(input *DescribeEventDetailsInput) ( // API operation DescribeEventDetails for usage and error information. // // Returned Error Types: -// * UnsupportedLocale -// The specified locale is not supported. +// - UnsupportedLocale +// The specified locale is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventDetails func (c *Health) DescribeEventDetails(input *DescribeEventDetailsInput) (*DescribeEventDetailsOutput, error) { @@ -800,14 +792,13 @@ const opDescribeEventDetailsForOrganization = "DescribeEventDetailsForOrganizati // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventDetailsForOrganizationRequest method. +// req, resp := client.DescribeEventDetailsForOrganizationRequest(params) // -// // Example sending a request using the DescribeEventDetailsForOrganizationRequest method. -// req, resp := client.DescribeEventDetailsForOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventDetailsForOrganization func (c *Health) DescribeEventDetailsForOrganizationRequest(input *DescribeEventDetailsForOrganizationInput) (req *request.Request, output *DescribeEventDetailsForOrganizationOutput) { @@ -846,15 +837,15 @@ func (c *Health) DescribeEventDetailsForOrganizationRequest(input *DescribeEvent // the organizationEventDetailFilters object in the request. Depending on the // Health event type, note the following differences: // -// * To return event details for a public event, you must specify a null -// value for the awsAccountId parameter. If you specify an account ID for -// a public event, Health returns an error message because public events -// aren't specific to an account. +// - To return event details for a public event, you must specify a null +// value for the awsAccountId parameter. If you specify an account ID for +// a public event, Health returns an error message because public events +// aren't specific to an account. // -// * To return event details for an event that is specific to an account -// in your organization, you must specify the awsAccountId parameter in the -// request. If you don't specify an account ID, Health returns an error message -// because the event is specific to an account in your organization. +// - To return event details for an event that is specific to an account +// in your organization, you must specify the awsAccountId parameter in the +// request. If you don't specify an account ID, Health returns an error message +// because the event is specific to an account in your organization. // // For more information, see Event (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html). // @@ -871,8 +862,8 @@ func (c *Health) DescribeEventDetailsForOrganizationRequest(input *DescribeEvent // API operation DescribeEventDetailsForOrganization for usage and error information. // // Returned Error Types: -// * UnsupportedLocale -// The specified locale is not supported. +// - UnsupportedLocale +// The specified locale is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventDetailsForOrganization func (c *Health) DescribeEventDetailsForOrganization(input *DescribeEventDetailsForOrganizationInput) (*DescribeEventDetailsForOrganizationOutput, error) { @@ -912,14 +903,13 @@ const opDescribeEventTypes = "DescribeEventTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventTypesRequest method. +// req, resp := client.DescribeEventTypesRequest(params) // -// // Example sending a request using the DescribeEventTypesRequest method. -// req, resp := client.DescribeEventTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventTypes func (c *Health) DescribeEventTypesRequest(input *DescribeEventTypesInput) (req *request.Request, output *DescribeEventTypesOutput) { @@ -966,11 +956,12 @@ func (c *Health) DescribeEventTypesRequest(input *DescribeEventTypesInput) (req // API operation DescribeEventTypes for usage and error information. // // Returned Error Types: -// * InvalidPaginationToken -// The specified pagination token (nextToken) is not valid. // -// * UnsupportedLocale -// The specified locale is not supported. +// - InvalidPaginationToken +// The specified pagination token (nextToken) is not valid. +// +// - UnsupportedLocale +// The specified locale is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventTypes func (c *Health) DescribeEventTypes(input *DescribeEventTypesInput) (*DescribeEventTypesOutput, error) { @@ -1002,15 +993,14 @@ func (c *Health) DescribeEventTypesWithContext(ctx aws.Context, input *DescribeE // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEventTypes operation. -// pageNum := 0 -// err := client.DescribeEventTypesPages(params, -// func(page *health.DescribeEventTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEventTypes operation. +// pageNum := 0 +// err := client.DescribeEventTypesPages(params, +// func(page *health.DescribeEventTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Health) DescribeEventTypesPages(input *DescribeEventTypesInput, fn func(*DescribeEventTypesOutput, bool) bool) error { return c.DescribeEventTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1062,14 +1052,13 @@ const opDescribeEvents = "DescribeEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventsRequest method. +// req, resp := client.DescribeEventsRequest(params) // -// // Example sending a request using the DescribeEventsRequest method. -// req, resp := client.DescribeEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEvents func (c *Health) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { @@ -1106,16 +1095,16 @@ func (c *Health) DescribeEventsRequest(input *DescribeEventsInput) (req *request // If no filter criteria are specified, all events are returned. Results are // sorted by lastModifiedTime, starting with the most recent event. // -// * When you call the DescribeEvents operation and specify an entity for -// the entityValues parameter, Health might return public events that aren't -// specific to that resource. For example, if you call DescribeEvents and -// specify an ID for an Amazon Elastic Compute Cloud (Amazon EC2) instance, -// Health might return events that aren't specific to that resource or service. -// To get events that are specific to a service, use the services parameter -// in the filter object. For more information, see Event (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html). +// - When you call the DescribeEvents operation and specify an entity for +// the entityValues parameter, Health might return public events that aren't +// specific to that resource. For example, if you call DescribeEvents and +// specify an ID for an Amazon Elastic Compute Cloud (Amazon EC2) instance, +// Health might return events that aren't specific to that resource or service. +// To get events that are specific to a service, use the services parameter +// in the filter object. For more information, see Event (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html). // -// * This API operation uses pagination. Specify the nextToken parameter -// in the next request to return more results. +// - This API operation uses pagination. Specify the nextToken parameter +// in the next request to return more results. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1125,11 +1114,12 @@ func (c *Health) DescribeEventsRequest(input *DescribeEventsInput) (req *request // API operation DescribeEvents for usage and error information. // // Returned Error Types: -// * InvalidPaginationToken -// The specified pagination token (nextToken) is not valid. // -// * UnsupportedLocale -// The specified locale is not supported. +// - InvalidPaginationToken +// The specified pagination token (nextToken) is not valid. +// +// - UnsupportedLocale +// The specified locale is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEvents func (c *Health) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error) { @@ -1161,15 +1151,14 @@ func (c *Health) DescribeEventsWithContext(ctx aws.Context, input *DescribeEvent // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEvents operation. -// pageNum := 0 -// err := client.DescribeEventsPages(params, -// func(page *health.DescribeEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEvents operation. +// pageNum := 0 +// err := client.DescribeEventsPages(params, +// func(page *health.DescribeEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Health) DescribeEventsPages(input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool) error { return c.DescribeEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1221,14 +1210,13 @@ const opDescribeEventsForOrganization = "DescribeEventsForOrganization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventsForOrganizationRequest method. +// req, resp := client.DescribeEventsForOrganizationRequest(params) // -// // Example sending a request using the DescribeEventsForOrganizationRequest method. -// req, resp := client.DescribeEventsForOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventsForOrganization func (c *Health) DescribeEventsForOrganizationRequest(input *DescribeEventsForOrganizationInput) (req *request.Request, output *DescribeEventsForOrganizationOutput) { @@ -1262,11 +1250,11 @@ func (c *Health) DescribeEventsForOrganizationRequest(input *DescribeEventsForOr // or any affected resources. To retrieve that information, use the following // operations: // -// * DescribeAffectedAccountsForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedAccountsForOrganization.html) +// - DescribeAffectedAccountsForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedAccountsForOrganization.html) // -// * DescribeEventDetailsForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html) +// - DescribeEventDetailsForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeEventDetailsForOrganization.html) // -// * DescribeAffectedEntitiesForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html) +// - DescribeAffectedEntitiesForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeAffectedEntitiesForOrganization.html) // // If you don't specify a filter, the DescribeEventsForOrganizations returns // all events across your organization. Results are sorted by lastModifiedTime, @@ -1291,11 +1279,12 @@ func (c *Health) DescribeEventsForOrganizationRequest(input *DescribeEventsForOr // API operation DescribeEventsForOrganization for usage and error information. // // Returned Error Types: -// * InvalidPaginationToken -// The specified pagination token (nextToken) is not valid. // -// * UnsupportedLocale -// The specified locale is not supported. +// - InvalidPaginationToken +// The specified pagination token (nextToken) is not valid. +// +// - UnsupportedLocale +// The specified locale is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeEventsForOrganization func (c *Health) DescribeEventsForOrganization(input *DescribeEventsForOrganizationInput) (*DescribeEventsForOrganizationOutput, error) { @@ -1327,15 +1316,14 @@ func (c *Health) DescribeEventsForOrganizationWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEventsForOrganization operation. -// pageNum := 0 -// err := client.DescribeEventsForOrganizationPages(params, -// func(page *health.DescribeEventsForOrganizationOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEventsForOrganization operation. +// pageNum := 0 +// err := client.DescribeEventsForOrganizationPages(params, +// func(page *health.DescribeEventsForOrganizationOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Health) DescribeEventsForOrganizationPages(input *DescribeEventsForOrganizationInput, fn func(*DescribeEventsForOrganizationOutput, bool) bool) error { return c.DescribeEventsForOrganizationPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1387,14 +1375,13 @@ const opDescribeHealthServiceStatusForOrganization = "DescribeHealthServiceStatu // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHealthServiceStatusForOrganizationRequest method. +// req, resp := client.DescribeHealthServiceStatusForOrganizationRequest(params) // -// // Example sending a request using the DescribeHealthServiceStatusForOrganizationRequest method. -// req, resp := client.DescribeHealthServiceStatusForOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DescribeHealthServiceStatusForOrganization func (c *Health) DescribeHealthServiceStatusForOrganizationRequest(input *DescribeHealthServiceStatusForOrganizationInput) (req *request.Request, output *DescribeHealthServiceStatusForOrganizationOutput) { @@ -1464,14 +1451,13 @@ const opDisableHealthServiceAccessForOrganization = "DisableHealthServiceAccessF // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableHealthServiceAccessForOrganizationRequest method. +// req, resp := client.DisableHealthServiceAccessForOrganizationRequest(params) // -// // Example sending a request using the DisableHealthServiceAccessForOrganizationRequest method. -// req, resp := client.DisableHealthServiceAccessForOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DisableHealthServiceAccessForOrganization func (c *Health) DisableHealthServiceAccessForOrganizationRequest(input *DisableHealthServiceAccessForOrganizationInput) (req *request.Request, output *DisableHealthServiceAccessForOrganizationOutput) { @@ -1521,12 +1507,12 @@ func (c *Health) DisableHealthServiceAccessForOrganizationRequest(input *Disable // API operation DisableHealthServiceAccessForOrganization for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// EnableHealthServiceAccessForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html) -// is already in progress. Wait for the action to complete before trying again. -// To get the current status, use the DescribeHealthServiceStatusForOrganization -// (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeHealthServiceStatusForOrganization.html) -// operation. +// - ConcurrentModificationException +// EnableHealthServiceAccessForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html) +// is already in progress. Wait for the action to complete before trying again. +// To get the current status, use the DescribeHealthServiceStatusForOrganization +// (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeHealthServiceStatusForOrganization.html) +// operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/DisableHealthServiceAccessForOrganization func (c *Health) DisableHealthServiceAccessForOrganization(input *DisableHealthServiceAccessForOrganizationInput) (*DisableHealthServiceAccessForOrganizationOutput, error) { @@ -1566,14 +1552,13 @@ const opEnableHealthServiceAccessForOrganization = "EnableHealthServiceAccessFor // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableHealthServiceAccessForOrganizationRequest method. +// req, resp := client.EnableHealthServiceAccessForOrganizationRequest(params) // -// // Example sending a request using the EnableHealthServiceAccessForOrganizationRequest method. -// req, resp := client.EnableHealthServiceAccessForOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EnableHealthServiceAccessForOrganization func (c *Health) EnableHealthServiceAccessForOrganizationRequest(input *EnableHealthServiceAccessForOrganizationInput) (req *request.Request, output *EnableHealthServiceAccessForOrganizationOutput) { @@ -1604,15 +1589,15 @@ func (c *Health) EnableHealthServiceAccessForOrganizationRequest(input *EnableHe // // To call this operation, you must meet the following requirements: // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan from Amazon Web Services Support (http://aws.amazon.com/premiumsupport/) -// to use the Health API. If you call the Health API from an Amazon Web Services -// account that doesn't have a Business, Enterprise On-Ramp, or Enterprise -// Support plan, you receive a SubscriptionRequiredException error. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan from Amazon Web Services Support (http://aws.amazon.com/premiumsupport/) +// to use the Health API. If you call the Health API from an Amazon Web Services +// account that doesn't have a Business, Enterprise On-Ramp, or Enterprise +// Support plan, you receive a SubscriptionRequiredException error. // -// * You must have permission to call this operation from the organization's -// management account. For example IAM policies, see Health identity-based -// policy examples (https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html). +// - You must have permission to call this operation from the organization's +// management account. For example IAM policies, see Health identity-based +// policy examples (https://docs.aws.amazon.com/health/latest/ug/security_iam_id-based-policy-examples.html). // // If you don't have the required support plan, you can instead use the Health // console to enable the organizational view feature. For more information, @@ -1627,12 +1612,12 @@ func (c *Health) EnableHealthServiceAccessForOrganizationRequest(input *EnableHe // API operation EnableHealthServiceAccessForOrganization for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// EnableHealthServiceAccessForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html) -// is already in progress. Wait for the action to complete before trying again. -// To get the current status, use the DescribeHealthServiceStatusForOrganization -// (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeHealthServiceStatusForOrganization.html) -// operation. +// - ConcurrentModificationException +// EnableHealthServiceAccessForOrganization (https://docs.aws.amazon.com/health/latest/APIReference/API_EnableHealthServiceAccessForOrganization.html) +// is already in progress. Wait for the action to complete before trying again. +// To get the current status, use the DescribeHealthServiceStatusForOrganization +// (https://docs.aws.amazon.com/health/latest/APIReference/API_DescribeHealthServiceStatusForOrganization.html) +// operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04/EnableHealthServiceAccessForOrganization func (c *Health) EnableHealthServiceAccessForOrganization(input *EnableHealthServiceAccessForOrganizationInput) (*EnableHealthServiceAccessForOrganizationOutput, error) { @@ -3438,16 +3423,16 @@ func (s *EntityFilter) SetTags(v []map[string]*string) *EntityFilter { // // Health events can be public or account-specific: // -// * Public events might be service events that are not specific to an Amazon -// Web Services account. For example, if there is an issue with an Amazon -// Web Services Region, Health provides information about the event, even -// if you don't use services or resources in that Region. +// - Public events might be service events that are not specific to an Amazon +// Web Services account. For example, if there is an issue with an Amazon +// Web Services Region, Health provides information about the event, even +// if you don't use services or resources in that Region. // -// * Account-specific events are specific to either your Amazon Web Services -// account or an account in your organization. For example, if there's an -// issue with Amazon Elastic Compute Cloud in a Region that you use, Health -// provides information about the event and the affected resources in the -// account. +// - Account-specific events are specific to either your Amazon Web Services +// account or an account in your organization. For example, if there's an +// issue with Amazon Elastic Compute Cloud in a Region that you use, Health +// provides information about the event and the affected resources in the +// account. // // You can determine if an event is public or account-specific by using the // eventScopeCode parameter. For more information, see eventScopeCode (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html#AWSHealth-Type-Event-eventScopeCode). diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/doc.go index 16171ba942dd..af8ce5291e91 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/doc.go @@ -8,19 +8,19 @@ // You can use the API operations to get information about events that might // affect your Amazon Web Services services and resources. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan from Amazon Web Services Support (http://aws.amazon.com/premiumsupport/) -// to use the Health API. If you call the Health API from an Amazon Web Services -// account that doesn't have a Business, Enterprise On-Ramp, or Enterprise -// Support plan, you receive a SubscriptionRequiredException error. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan from Amazon Web Services Support (http://aws.amazon.com/premiumsupport/) +// to use the Health API. If you call the Health API from an Amazon Web Services +// account that doesn't have a Business, Enterprise On-Ramp, or Enterprise +// Support plan, you receive a SubscriptionRequiredException error. // -// * You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) -// to call the Health API operations. Health supports a multi-Region application -// architecture and has two regional endpoints in an active-passive configuration. -// You can use the high availability endpoint example to determine which -// Amazon Web Services Region is active, so that you can get the latest information -// from the API. For more information, see Accessing the Health API (https://docs.aws.amazon.com/health/latest/ug/health-api.html) -// in the Health User Guide. +// - You can use the Health endpoint health.us-east-1.amazonaws.com (HTTPS) +// to call the Health API operations. Health supports a multi-Region application +// architecture and has two regional endpoints in an active-passive configuration. +// You can use the high availability endpoint example to determine which +// Amazon Web Services Region is active, so that you can get the latest information +// from the API. For more information, see Accessing the Health API (https://docs.aws.amazon.com/health/latest/ug/health-api.html) +// in the Health User Guide. // // For authentication of requests, Health uses the Signature Version 4 Signing // Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). @@ -37,21 +37,21 @@ // When you use the Health API operations to return Health events, see the following // recommendations: // -// * Use the eventScopeCode (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html#AWSHealth-Type-Event-eventScopeCode) -// parameter to specify whether to return Health events that are public or -// account-specific. +// - Use the eventScopeCode (https://docs.aws.amazon.com/health/latest/APIReference/API_Event.html#AWSHealth-Type-Event-eventScopeCode) +// parameter to specify whether to return Health events that are public or +// account-specific. // -// * Use pagination to view all events from the response. For example, if -// you call the DescribeEventsForOrganization operation to get all events -// in your organization, you might receive several page results. Specify -// the nextToken in the next request to return more results. +// - Use pagination to view all events from the response. For example, if +// you call the DescribeEventsForOrganization operation to get all events +// in your organization, you might receive several page results. Specify +// the nextToken in the next request to return more results. // // See https://docs.aws.amazon.com/goto/WebAPI/health-2016-08-04 for more information on this service. // // See health package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/health/ // -// Using the Client +// # Using the Client // // To contact AWS Health APIs and Notifications with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/healthiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/healthiface/interface.go index 98571c0bb6b1..cc522d58f00b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/healthiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/healthiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Health APIs and Notifications. -// func myFunc(svc healthiface.HealthAPI) bool { -// // Make svc.DescribeAffectedAccountsForOrganization request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Health APIs and Notifications. +// func myFunc(svc healthiface.HealthAPI) bool { +// // Make svc.DescribeAffectedAccountsForOrganization request +// } // -// func main() { -// sess := session.New() -// svc := health.New(sess) +// func main() { +// sess := session.New() +// svc := health.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockHealthClient struct { -// healthiface.HealthAPI -// } -// func (m *mockHealthClient) DescribeAffectedAccountsForOrganization(input *health.DescribeAffectedAccountsForOrganizationInput) (*health.DescribeAffectedAccountsForOrganizationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockHealthClient struct { +// healthiface.HealthAPI +// } +// func (m *mockHealthClient) DescribeAffectedAccountsForOrganization(input *health.DescribeAffectedAccountsForOrganizationInput) (*health.DescribeAffectedAccountsForOrganizationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockHealthClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockHealthClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/service.go index 54f248a990cd..94e2deb2f18b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/health/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Health client from just a session. -// svc := health.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Health client with additional configuration -// svc := health.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Health client from just a session. +// svc := health.New(mySession) +// +// // Create a Health client with additional configuration +// svc := health.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Health { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/api.go index 48d8d98e9dd2..c9514aefe313 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/api.go @@ -29,14 +29,13 @@ const opCreateFHIRDatastore = "CreateFHIRDatastore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFHIRDatastoreRequest method. +// req, resp := client.CreateFHIRDatastoreRequest(params) // -// // Example sending a request using the CreateFHIRDatastoreRequest method. -// req, resp := client.CreateFHIRDatastoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/CreateFHIRDatastore func (c *HealthLake) CreateFHIRDatastoreRequest(input *CreateFHIRDatastoreInput) (req *request.Request, output *CreateFHIRDatastoreOutput) { @@ -67,18 +66,19 @@ func (c *HealthLake) CreateFHIRDatastoreRequest(input *CreateFHIRDatastoreInput) // API operation CreateFHIRDatastore for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input parameter was invalid. // -// * ThrottlingException -// The user has exceeded their maximum number of allowed calls to the given -// API. +// - ValidationException +// The user input parameter was invalid. +// +// - ThrottlingException +// The user has exceeded their maximum number of allowed calls to the given +// API. // -// * AccessDeniedException -// Access is denied. Your account is not authorized to perform this operation. +// - AccessDeniedException +// Access is denied. Your account is not authorized to perform this operation. // -// * InternalServerException -// Unknown error occurs in the service. +// - InternalServerException +// Unknown error occurs in the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/CreateFHIRDatastore func (c *HealthLake) CreateFHIRDatastore(input *CreateFHIRDatastoreInput) (*CreateFHIRDatastoreOutput, error) { @@ -118,14 +118,13 @@ const opDeleteFHIRDatastore = "DeleteFHIRDatastore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFHIRDatastoreRequest method. +// req, resp := client.DeleteFHIRDatastoreRequest(params) // -// // Example sending a request using the DeleteFHIRDatastoreRequest method. -// req, resp := client.DeleteFHIRDatastoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DeleteFHIRDatastore func (c *HealthLake) DeleteFHIRDatastoreRequest(input *DeleteFHIRDatastoreInput) (req *request.Request, output *DeleteFHIRDatastoreOutput) { @@ -156,25 +155,26 @@ func (c *HealthLake) DeleteFHIRDatastoreRequest(input *DeleteFHIRDatastoreInput) // API operation DeleteFHIRDatastore for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access is denied. Your account is not authorized to perform this operation. // -// * ConflictException -// The Data Store is in a transition state and the user requested action can -// not be performed. +// - AccessDeniedException +// Access is denied. Your account is not authorized to perform this operation. +// +// - ConflictException +// The Data Store is in a transition state and the user requested action can +// not be performed. // -// * ValidationException -// The user input parameter was invalid. +// - ValidationException +// The user input parameter was invalid. // -// * ResourceNotFoundException -// The requested Data Store was not found. +// - ResourceNotFoundException +// The requested Data Store was not found. // -// * ThrottlingException -// The user has exceeded their maximum number of allowed calls to the given -// API. +// - ThrottlingException +// The user has exceeded their maximum number of allowed calls to the given +// API. // -// * InternalServerException -// Unknown error occurs in the service. +// - InternalServerException +// Unknown error occurs in the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DeleteFHIRDatastore func (c *HealthLake) DeleteFHIRDatastore(input *DeleteFHIRDatastoreInput) (*DeleteFHIRDatastoreOutput, error) { @@ -214,14 +214,13 @@ const opDescribeFHIRDatastore = "DescribeFHIRDatastore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFHIRDatastoreRequest method. +// req, resp := client.DescribeFHIRDatastoreRequest(params) // -// // Example sending a request using the DescribeFHIRDatastoreRequest method. -// req, resp := client.DescribeFHIRDatastoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRDatastore func (c *HealthLake) DescribeFHIRDatastoreRequest(input *DescribeFHIRDatastoreInput) (req *request.Request, output *DescribeFHIRDatastoreOutput) { @@ -254,18 +253,19 @@ func (c *HealthLake) DescribeFHIRDatastoreRequest(input *DescribeFHIRDatastoreIn // API operation DescribeFHIRDatastore for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input parameter was invalid. // -// * ResourceNotFoundException -// The requested Data Store was not found. +// - ValidationException +// The user input parameter was invalid. +// +// - ResourceNotFoundException +// The requested Data Store was not found. // -// * ThrottlingException -// The user has exceeded their maximum number of allowed calls to the given -// API. +// - ThrottlingException +// The user has exceeded their maximum number of allowed calls to the given +// API. // -// * InternalServerException -// Unknown error occurs in the service. +// - InternalServerException +// Unknown error occurs in the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRDatastore func (c *HealthLake) DescribeFHIRDatastore(input *DescribeFHIRDatastoreInput) (*DescribeFHIRDatastoreOutput, error) { @@ -305,14 +305,13 @@ const opDescribeFHIRExportJob = "DescribeFHIRExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFHIRExportJobRequest method. +// req, resp := client.DescribeFHIRExportJobRequest(params) // -// // Example sending a request using the DescribeFHIRExportJobRequest method. -// req, resp := client.DescribeFHIRExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRExportJob func (c *HealthLake) DescribeFHIRExportJobRequest(input *DescribeFHIRExportJobInput) (req *request.Request, output *DescribeFHIRExportJobOutput) { @@ -344,18 +343,19 @@ func (c *HealthLake) DescribeFHIRExportJobRequest(input *DescribeFHIRExportJobIn // API operation DescribeFHIRExportJob for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input parameter was invalid. // -// * ResourceNotFoundException -// The requested Data Store was not found. +// - ValidationException +// The user input parameter was invalid. +// +// - ResourceNotFoundException +// The requested Data Store was not found. // -// * ThrottlingException -// The user has exceeded their maximum number of allowed calls to the given -// API. +// - ThrottlingException +// The user has exceeded their maximum number of allowed calls to the given +// API. // -// * InternalServerException -// Unknown error occurs in the service. +// - InternalServerException +// Unknown error occurs in the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRExportJob func (c *HealthLake) DescribeFHIRExportJob(input *DescribeFHIRExportJobInput) (*DescribeFHIRExportJobOutput, error) { @@ -395,14 +395,13 @@ const opDescribeFHIRImportJob = "DescribeFHIRImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFHIRImportJobRequest method. +// req, resp := client.DescribeFHIRImportJobRequest(params) // -// // Example sending a request using the DescribeFHIRImportJobRequest method. -// req, resp := client.DescribeFHIRImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRImportJob func (c *HealthLake) DescribeFHIRImportJobRequest(input *DescribeFHIRImportJobInput) (req *request.Request, output *DescribeFHIRImportJobOutput) { @@ -434,18 +433,19 @@ func (c *HealthLake) DescribeFHIRImportJobRequest(input *DescribeFHIRImportJobIn // API operation DescribeFHIRImportJob for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input parameter was invalid. // -// * ResourceNotFoundException -// The requested Data Store was not found. +// - ValidationException +// The user input parameter was invalid. +// +// - ResourceNotFoundException +// The requested Data Store was not found. // -// * ThrottlingException -// The user has exceeded their maximum number of allowed calls to the given -// API. +// - ThrottlingException +// The user has exceeded their maximum number of allowed calls to the given +// API. // -// * InternalServerException -// Unknown error occurs in the service. +// - InternalServerException +// Unknown error occurs in the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/DescribeFHIRImportJob func (c *HealthLake) DescribeFHIRImportJob(input *DescribeFHIRImportJobInput) (*DescribeFHIRImportJobOutput, error) { @@ -485,14 +485,13 @@ const opListFHIRDatastores = "ListFHIRDatastores" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFHIRDatastoresRequest method. +// req, resp := client.ListFHIRDatastoresRequest(params) // -// // Example sending a request using the ListFHIRDatastoresRequest method. -// req, resp := client.ListFHIRDatastoresRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRDatastores func (c *HealthLake) ListFHIRDatastoresRequest(input *ListFHIRDatastoresInput) (req *request.Request, output *ListFHIRDatastoresOutput) { @@ -530,15 +529,16 @@ func (c *HealthLake) ListFHIRDatastoresRequest(input *ListFHIRDatastoresInput) ( // API operation ListFHIRDatastores for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input parameter was invalid. // -// * ThrottlingException -// The user has exceeded their maximum number of allowed calls to the given -// API. +// - ValidationException +// The user input parameter was invalid. +// +// - ThrottlingException +// The user has exceeded their maximum number of allowed calls to the given +// API. // -// * InternalServerException -// Unknown error occurs in the service. +// - InternalServerException +// Unknown error occurs in the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRDatastores func (c *HealthLake) ListFHIRDatastores(input *ListFHIRDatastoresInput) (*ListFHIRDatastoresOutput, error) { @@ -570,15 +570,14 @@ func (c *HealthLake) ListFHIRDatastoresWithContext(ctx aws.Context, input *ListF // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFHIRDatastores operation. -// pageNum := 0 -// err := client.ListFHIRDatastoresPages(params, -// func(page *healthlake.ListFHIRDatastoresOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFHIRDatastores operation. +// pageNum := 0 +// err := client.ListFHIRDatastoresPages(params, +// func(page *healthlake.ListFHIRDatastoresOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *HealthLake) ListFHIRDatastoresPages(input *ListFHIRDatastoresInput, fn func(*ListFHIRDatastoresOutput, bool) bool) error { return c.ListFHIRDatastoresPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -630,14 +629,13 @@ const opListFHIRExportJobs = "ListFHIRExportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFHIRExportJobsRequest method. +// req, resp := client.ListFHIRExportJobsRequest(params) // -// // Example sending a request using the ListFHIRExportJobsRequest method. -// req, resp := client.ListFHIRExportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRExportJobs func (c *HealthLake) ListFHIRExportJobsRequest(input *ListFHIRExportJobsInput) (req *request.Request, output *ListFHIRExportJobsOutput) { @@ -674,21 +672,22 @@ func (c *HealthLake) ListFHIRExportJobsRequest(input *ListFHIRExportJobsInput) ( // API operation ListFHIRExportJobs for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input parameter was invalid. // -// * ResourceNotFoundException -// The requested Data Store was not found. +// - ValidationException +// The user input parameter was invalid. +// +// - ResourceNotFoundException +// The requested Data Store was not found. // -// * AccessDeniedException -// Access is denied. Your account is not authorized to perform this operation. +// - AccessDeniedException +// Access is denied. Your account is not authorized to perform this operation. // -// * ThrottlingException -// The user has exceeded their maximum number of allowed calls to the given -// API. +// - ThrottlingException +// The user has exceeded their maximum number of allowed calls to the given +// API. // -// * InternalServerException -// Unknown error occurs in the service. +// - InternalServerException +// Unknown error occurs in the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRExportJobs func (c *HealthLake) ListFHIRExportJobs(input *ListFHIRExportJobsInput) (*ListFHIRExportJobsOutput, error) { @@ -720,15 +719,14 @@ func (c *HealthLake) ListFHIRExportJobsWithContext(ctx aws.Context, input *ListF // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFHIRExportJobs operation. -// pageNum := 0 -// err := client.ListFHIRExportJobsPages(params, -// func(page *healthlake.ListFHIRExportJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFHIRExportJobs operation. +// pageNum := 0 +// err := client.ListFHIRExportJobsPages(params, +// func(page *healthlake.ListFHIRExportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *HealthLake) ListFHIRExportJobsPages(input *ListFHIRExportJobsInput, fn func(*ListFHIRExportJobsOutput, bool) bool) error { return c.ListFHIRExportJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -780,14 +778,13 @@ const opListFHIRImportJobs = "ListFHIRImportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFHIRImportJobsRequest method. +// req, resp := client.ListFHIRImportJobsRequest(params) // -// // Example sending a request using the ListFHIRImportJobsRequest method. -// req, resp := client.ListFHIRImportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRImportJobs func (c *HealthLake) ListFHIRImportJobsRequest(input *ListFHIRImportJobsInput) (req *request.Request, output *ListFHIRImportJobsOutput) { @@ -824,21 +821,22 @@ func (c *HealthLake) ListFHIRImportJobsRequest(input *ListFHIRImportJobsInput) ( // API operation ListFHIRImportJobs for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input parameter was invalid. // -// * ResourceNotFoundException -// The requested Data Store was not found. +// - ValidationException +// The user input parameter was invalid. // -// * AccessDeniedException -// Access is denied. Your account is not authorized to perform this operation. +// - ResourceNotFoundException +// The requested Data Store was not found. // -// * ThrottlingException -// The user has exceeded their maximum number of allowed calls to the given -// API. +// - AccessDeniedException +// Access is denied. Your account is not authorized to perform this operation. // -// * InternalServerException -// Unknown error occurs in the service. +// - ThrottlingException +// The user has exceeded their maximum number of allowed calls to the given +// API. +// +// - InternalServerException +// Unknown error occurs in the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListFHIRImportJobs func (c *HealthLake) ListFHIRImportJobs(input *ListFHIRImportJobsInput) (*ListFHIRImportJobsOutput, error) { @@ -870,15 +868,14 @@ func (c *HealthLake) ListFHIRImportJobsWithContext(ctx aws.Context, input *ListF // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFHIRImportJobs operation. -// pageNum := 0 -// err := client.ListFHIRImportJobsPages(params, -// func(page *healthlake.ListFHIRImportJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFHIRImportJobs operation. +// pageNum := 0 +// err := client.ListFHIRImportJobsPages(params, +// func(page *healthlake.ListFHIRImportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *HealthLake) ListFHIRImportJobsPages(input *ListFHIRImportJobsInput, fn func(*ListFHIRImportJobsOutput, bool) bool) error { return c.ListFHIRImportJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -930,14 +927,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListTagsForResource func (c *HealthLake) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -968,11 +964,12 @@ func (c *HealthLake) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input parameter was invalid. // -// * ResourceNotFoundException -// The requested Data Store was not found. +// - ValidationException +// The user input parameter was invalid. +// +// - ResourceNotFoundException +// The requested Data Store was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/ListTagsForResource func (c *HealthLake) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1012,14 +1009,13 @@ const opStartFHIRExportJob = "StartFHIRExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartFHIRExportJobRequest method. +// req, resp := client.StartFHIRExportJobRequest(params) // -// // Example sending a request using the StartFHIRExportJobRequest method. -// req, resp := client.StartFHIRExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/StartFHIRExportJob func (c *HealthLake) StartFHIRExportJobRequest(input *StartFHIRExportJobInput) (req *request.Request, output *StartFHIRExportJobOutput) { @@ -1050,21 +1046,22 @@ func (c *HealthLake) StartFHIRExportJobRequest(input *StartFHIRExportJobInput) ( // API operation StartFHIRExportJob for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input parameter was invalid. // -// * ThrottlingException -// The user has exceeded their maximum number of allowed calls to the given -// API. +// - ValidationException +// The user input parameter was invalid. // -// * AccessDeniedException -// Access is denied. Your account is not authorized to perform this operation. +// - ThrottlingException +// The user has exceeded their maximum number of allowed calls to the given +// API. // -// * ResourceNotFoundException -// The requested Data Store was not found. +// - AccessDeniedException +// Access is denied. Your account is not authorized to perform this operation. // -// * InternalServerException -// Unknown error occurs in the service. +// - ResourceNotFoundException +// The requested Data Store was not found. +// +// - InternalServerException +// Unknown error occurs in the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/StartFHIRExportJob func (c *HealthLake) StartFHIRExportJob(input *StartFHIRExportJobInput) (*StartFHIRExportJobOutput, error) { @@ -1104,14 +1101,13 @@ const opStartFHIRImportJob = "StartFHIRImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartFHIRImportJobRequest method. +// req, resp := client.StartFHIRImportJobRequest(params) // -// // Example sending a request using the StartFHIRImportJobRequest method. -// req, resp := client.StartFHIRImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/StartFHIRImportJob func (c *HealthLake) StartFHIRImportJobRequest(input *StartFHIRImportJobInput) (req *request.Request, output *StartFHIRImportJobOutput) { @@ -1142,21 +1138,22 @@ func (c *HealthLake) StartFHIRImportJobRequest(input *StartFHIRImportJobInput) ( // API operation StartFHIRImportJob for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input parameter was invalid. // -// * ThrottlingException -// The user has exceeded their maximum number of allowed calls to the given -// API. +// - ValidationException +// The user input parameter was invalid. // -// * AccessDeniedException -// Access is denied. Your account is not authorized to perform this operation. +// - ThrottlingException +// The user has exceeded their maximum number of allowed calls to the given +// API. // -// * ResourceNotFoundException -// The requested Data Store was not found. +// - AccessDeniedException +// Access is denied. Your account is not authorized to perform this operation. // -// * InternalServerException -// Unknown error occurs in the service. +// - ResourceNotFoundException +// The requested Data Store was not found. +// +// - InternalServerException +// Unknown error occurs in the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/StartFHIRImportJob func (c *HealthLake) StartFHIRImportJob(input *StartFHIRImportJobInput) (*StartFHIRImportJobOutput, error) { @@ -1196,14 +1193,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/TagResource func (c *HealthLake) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1235,11 +1231,12 @@ func (c *HealthLake) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input parameter was invalid. // -// * ResourceNotFoundException -// The requested Data Store was not found. +// - ValidationException +// The user input parameter was invalid. +// +// - ResourceNotFoundException +// The requested Data Store was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/TagResource func (c *HealthLake) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1279,14 +1276,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/UntagResource func (c *HealthLake) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1318,11 +1314,12 @@ func (c *HealthLake) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input parameter was invalid. // -// * ResourceNotFoundException -// The requested Data Store was not found. +// - ValidationException +// The user input parameter was invalid. +// +// - ResourceNotFoundException +// The requested Data Store was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/healthlake-2017-07-01/UntagResource func (c *HealthLake) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/doc.go index 1af2080c4dbc..3d73533ea6fc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/doc.go @@ -12,7 +12,7 @@ // See healthlake package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/healthlake/ // -// Using the Client +// # Using the Client // // To contact Amazon HealthLake with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/healthlakeiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/healthlakeiface/interface.go index f91d89482111..05dc00a21994 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/healthlakeiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/healthlakeiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon HealthLake. -// func myFunc(svc healthlakeiface.HealthLakeAPI) bool { -// // Make svc.CreateFHIRDatastore request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon HealthLake. +// func myFunc(svc healthlakeiface.HealthLakeAPI) bool { +// // Make svc.CreateFHIRDatastore request +// } // -// func main() { -// sess := session.New() -// svc := healthlake.New(sess) +// func main() { +// sess := session.New() +// svc := healthlake.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockHealthLakeClient struct { -// healthlakeiface.HealthLakeAPI -// } -// func (m *mockHealthLakeClient) CreateFHIRDatastore(input *healthlake.CreateFHIRDatastoreInput) (*healthlake.CreateFHIRDatastoreOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockHealthLakeClient struct { +// healthlakeiface.HealthLakeAPI +// } +// func (m *mockHealthLakeClient) CreateFHIRDatastore(input *healthlake.CreateFHIRDatastoreInput) (*healthlake.CreateFHIRDatastoreOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockHealthLakeClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockHealthLakeClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/service.go index 398e76cf9fd0..952d2f0c9ed3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/healthlake/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a HealthLake client from just a session. -// svc := healthlake.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a HealthLake client with additional configuration -// svc := healthlake.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a HealthLake client from just a session. +// svc := healthlake.New(mySession) +// +// // Create a HealthLake client with additional configuration +// svc := healthlake.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *HealthLake { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/api.go index 1a8ec34c324f..03b05b69f2a7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/api.go @@ -29,14 +29,13 @@ const opBatchCreateTableRows = "BatchCreateTableRows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchCreateTableRowsRequest method. +// req, resp := client.BatchCreateTableRowsRequest(params) // -// // Example sending a request using the BatchCreateTableRowsRequest method. -// req, resp := client.BatchCreateTableRowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchCreateTableRows func (c *Honeycode) BatchCreateTableRowsRequest(input *BatchCreateTableRowsInput) (req *request.Request, output *BatchCreateTableRowsOutput) { @@ -76,33 +75,34 @@ func (c *Honeycode) BatchCreateTableRowsRequest(input *BatchCreateTableRowsInput // API operation BatchCreateTableRows for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. Check that the -// workbook is owned by you and your IAM policy allows access to the resource -// in the request. // -// * InternalServerException -// There were unexpected errors from the server. +// - AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the resource +// in the request. +// +// - InternalServerException +// There were unexpected errors from the server. // -// * RequestTimeoutException -// The request timed out. +// - RequestTimeoutException +// The request timed out. // -// * ResourceNotFoundException -// A Workbook, Table, App, Screen or Screen Automation was not found with the -// given ID. +// - ResourceNotFoundException +// A Workbook, Table, App, Screen or Screen Automation was not found with the +// given ID. // -// * ServiceQuotaExceededException -// The request caused service quota to be breached. +// - ServiceQuotaExceededException +// The request caused service quota to be breached. // -// * ServiceUnavailableException -// Remote service is unreachable. +// - ServiceUnavailableException +// Remote service is unreachable. // -// * ThrottlingException -// Tps(transactions per second) rate reached. +// - ThrottlingException +// Tps(transactions per second) rate reached. // -// * ValidationException -// Request is invalid. The message in the response contains details on why the -// request is invalid. +// - ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchCreateTableRows func (c *Honeycode) BatchCreateTableRows(input *BatchCreateTableRowsInput) (*BatchCreateTableRowsOutput, error) { @@ -142,14 +142,13 @@ const opBatchDeleteTableRows = "BatchDeleteTableRows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteTableRowsRequest method. +// req, resp := client.BatchDeleteTableRowsRequest(params) // -// // Example sending a request using the BatchDeleteTableRowsRequest method. -// req, resp := client.BatchDeleteTableRowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchDeleteTableRows func (c *Honeycode) BatchDeleteTableRowsRequest(input *BatchDeleteTableRowsInput) (req *request.Request, output *BatchDeleteTableRowsOutput) { @@ -182,30 +181,31 @@ func (c *Honeycode) BatchDeleteTableRowsRequest(input *BatchDeleteTableRowsInput // API operation BatchDeleteTableRows for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. Check that the -// workbook is owned by you and your IAM policy allows access to the resource -// in the request. // -// * InternalServerException -// There were unexpected errors from the server. +// - AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the resource +// in the request. // -// * ResourceNotFoundException -// A Workbook, Table, App, Screen or Screen Automation was not found with the -// given ID. +// - InternalServerException +// There were unexpected errors from the server. // -// * ServiceUnavailableException -// Remote service is unreachable. +// - ResourceNotFoundException +// A Workbook, Table, App, Screen or Screen Automation was not found with the +// given ID. // -// * ValidationException -// Request is invalid. The message in the response contains details on why the -// request is invalid. +// - ServiceUnavailableException +// Remote service is unreachable. // -// * RequestTimeoutException -// The request timed out. +// - ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. // -// * ThrottlingException -// Tps(transactions per second) rate reached. +// - RequestTimeoutException +// The request timed out. +// +// - ThrottlingException +// Tps(transactions per second) rate reached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchDeleteTableRows func (c *Honeycode) BatchDeleteTableRows(input *BatchDeleteTableRowsInput) (*BatchDeleteTableRowsOutput, error) { @@ -245,14 +245,13 @@ const opBatchUpdateTableRows = "BatchUpdateTableRows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchUpdateTableRowsRequest method. +// req, resp := client.BatchUpdateTableRowsRequest(params) // -// // Example sending a request using the BatchUpdateTableRowsRequest method. -// req, resp := client.BatchUpdateTableRowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchUpdateTableRows func (c *Honeycode) BatchUpdateTableRowsRequest(input *BatchUpdateTableRowsInput) (req *request.Request, output *BatchUpdateTableRowsOutput) { @@ -289,30 +288,31 @@ func (c *Honeycode) BatchUpdateTableRowsRequest(input *BatchUpdateTableRowsInput // API operation BatchUpdateTableRows for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. Check that the -// workbook is owned by you and your IAM policy allows access to the resource -// in the request. // -// * InternalServerException -// There were unexpected errors from the server. +// - AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the resource +// in the request. // -// * ResourceNotFoundException -// A Workbook, Table, App, Screen or Screen Automation was not found with the -// given ID. +// - InternalServerException +// There were unexpected errors from the server. // -// * ServiceUnavailableException -// Remote service is unreachable. +// - ResourceNotFoundException +// A Workbook, Table, App, Screen or Screen Automation was not found with the +// given ID. // -// * ValidationException -// Request is invalid. The message in the response contains details on why the -// request is invalid. +// - ServiceUnavailableException +// Remote service is unreachable. // -// * RequestTimeoutException -// The request timed out. +// - ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. // -// * ThrottlingException -// Tps(transactions per second) rate reached. +// - RequestTimeoutException +// The request timed out. +// +// - ThrottlingException +// Tps(transactions per second) rate reached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchUpdateTableRows func (c *Honeycode) BatchUpdateTableRows(input *BatchUpdateTableRowsInput) (*BatchUpdateTableRowsOutput, error) { @@ -352,14 +352,13 @@ const opBatchUpsertTableRows = "BatchUpsertTableRows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchUpsertTableRowsRequest method. +// req, resp := client.BatchUpsertTableRowsRequest(params) // -// // Example sending a request using the BatchUpsertTableRowsRequest method. -// req, resp := client.BatchUpsertTableRowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchUpsertTableRows func (c *Honeycode) BatchUpsertTableRowsRequest(input *BatchUpsertTableRowsInput) (req *request.Request, output *BatchUpsertTableRowsOutput) { @@ -402,33 +401,34 @@ func (c *Honeycode) BatchUpsertTableRowsRequest(input *BatchUpsertTableRowsInput // API operation BatchUpsertTableRows for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. Check that the -// workbook is owned by you and your IAM policy allows access to the resource -// in the request. // -// * InternalServerException -// There were unexpected errors from the server. +// - AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the resource +// in the request. // -// * RequestTimeoutException -// The request timed out. +// - InternalServerException +// There were unexpected errors from the server. // -// * ResourceNotFoundException -// A Workbook, Table, App, Screen or Screen Automation was not found with the -// given ID. +// - RequestTimeoutException +// The request timed out. // -// * ServiceQuotaExceededException -// The request caused service quota to be breached. +// - ResourceNotFoundException +// A Workbook, Table, App, Screen or Screen Automation was not found with the +// given ID. // -// * ServiceUnavailableException -// Remote service is unreachable. +// - ServiceQuotaExceededException +// The request caused service quota to be breached. // -// * ThrottlingException -// Tps(transactions per second) rate reached. +// - ServiceUnavailableException +// Remote service is unreachable. // -// * ValidationException -// Request is invalid. The message in the response contains details on why the -// request is invalid. +// - ThrottlingException +// Tps(transactions per second) rate reached. +// +// - ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/BatchUpsertTableRows func (c *Honeycode) BatchUpsertTableRows(input *BatchUpsertTableRowsInput) (*BatchUpsertTableRowsOutput, error) { @@ -468,14 +468,13 @@ const opDescribeTableDataImportJob = "DescribeTableDataImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTableDataImportJobRequest method. +// req, resp := client.DescribeTableDataImportJobRequest(params) // -// // Example sending a request using the DescribeTableDataImportJobRequest method. -// req, resp := client.DescribeTableDataImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/DescribeTableDataImportJob func (c *Honeycode) DescribeTableDataImportJobRequest(input *DescribeTableDataImportJobInput) (req *request.Request, output *DescribeTableDataImportJobOutput) { @@ -507,30 +506,31 @@ func (c *Honeycode) DescribeTableDataImportJobRequest(input *DescribeTableDataIm // API operation DescribeTableDataImportJob for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. Check that the -// workbook is owned by you and your IAM policy allows access to the resource -// in the request. // -// * InternalServerException -// There were unexpected errors from the server. +// - AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the resource +// in the request. // -// * ResourceNotFoundException -// A Workbook, Table, App, Screen or Screen Automation was not found with the -// given ID. +// - InternalServerException +// There were unexpected errors from the server. // -// * ServiceUnavailableException -// Remote service is unreachable. +// - ResourceNotFoundException +// A Workbook, Table, App, Screen or Screen Automation was not found with the +// given ID. // -// * ThrottlingException -// Tps(transactions per second) rate reached. +// - ServiceUnavailableException +// Remote service is unreachable. // -// * ValidationException -// Request is invalid. The message in the response contains details on why the -// request is invalid. +// - ThrottlingException +// Tps(transactions per second) rate reached. // -// * RequestTimeoutException -// The request timed out. +// - ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. +// +// - RequestTimeoutException +// The request timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/DescribeTableDataImportJob func (c *Honeycode) DescribeTableDataImportJob(input *DescribeTableDataImportJobInput) (*DescribeTableDataImportJobOutput, error) { @@ -570,14 +570,13 @@ const opGetScreenData = "GetScreenData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetScreenDataRequest method. +// req, resp := client.GetScreenDataRequest(params) // -// // Example sending a request using the GetScreenDataRequest method. -// req, resp := client.GetScreenDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/GetScreenData func (c *Honeycode) GetScreenDataRequest(input *GetScreenDataInput) (req *request.Request, output *GetScreenDataOutput) { @@ -610,30 +609,31 @@ func (c *Honeycode) GetScreenDataRequest(input *GetScreenDataInput) (req *reques // API operation GetScreenData for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. Check that the -// workbook is owned by you and your IAM policy allows access to the resource -// in the request. // -// * InternalServerException -// There were unexpected errors from the server. +// - AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the resource +// in the request. // -// * RequestTimeoutException -// The request timed out. +// - InternalServerException +// There were unexpected errors from the server. // -// * ResourceNotFoundException -// A Workbook, Table, App, Screen or Screen Automation was not found with the -// given ID. +// - RequestTimeoutException +// The request timed out. // -// * ServiceUnavailableException -// Remote service is unreachable. +// - ResourceNotFoundException +// A Workbook, Table, App, Screen or Screen Automation was not found with the +// given ID. // -// * ThrottlingException -// Tps(transactions per second) rate reached. +// - ServiceUnavailableException +// Remote service is unreachable. // -// * ValidationException -// Request is invalid. The message in the response contains details on why the -// request is invalid. +// - ThrottlingException +// Tps(transactions per second) rate reached. +// +// - ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/GetScreenData func (c *Honeycode) GetScreenData(input *GetScreenDataInput) (*GetScreenDataOutput, error) { @@ -673,14 +673,13 @@ const opInvokeScreenAutomation = "InvokeScreenAutomation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InvokeScreenAutomationRequest method. +// req, resp := client.InvokeScreenAutomationRequest(params) // -// // Example sending a request using the InvokeScreenAutomationRequest method. -// req, resp := client.InvokeScreenAutomationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/InvokeScreenAutomation func (c *Honeycode) InvokeScreenAutomationRequest(input *InvokeScreenAutomationInput) (req *request.Request, output *InvokeScreenAutomationOutput) { @@ -714,39 +713,40 @@ func (c *Honeycode) InvokeScreenAutomationRequest(input *InvokeScreenAutomationI // API operation InvokeScreenAutomation for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. Check that the -// workbook is owned by you and your IAM policy allows access to the resource -// in the request. // -// * InternalServerException -// There were unexpected errors from the server. +// - AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the resource +// in the request. // -// * ResourceNotFoundException -// A Workbook, Table, App, Screen or Screen Automation was not found with the -// given ID. +// - InternalServerException +// There were unexpected errors from the server. // -// * ValidationException -// Request is invalid. The message in the response contains details on why the -// request is invalid. +// - ResourceNotFoundException +// A Workbook, Table, App, Screen or Screen Automation was not found with the +// given ID. // -// * ThrottlingException -// Tps(transactions per second) rate reached. +// - ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. // -// * ServiceUnavailableException -// Remote service is unreachable. +// - ThrottlingException +// Tps(transactions per second) rate reached. // -// * AutomationExecutionException -// The automation execution did not end successfully. +// - ServiceUnavailableException +// Remote service is unreachable. // -// * AutomationExecutionTimeoutException -// The automation execution timed out. +// - AutomationExecutionException +// The automation execution did not end successfully. // -// * RequestTimeoutException -// The request timed out. +// - AutomationExecutionTimeoutException +// The automation execution timed out. // -// * ServiceQuotaExceededException -// The request caused service quota to be breached. +// - RequestTimeoutException +// The request timed out. +// +// - ServiceQuotaExceededException +// The request caused service quota to be breached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/InvokeScreenAutomation func (c *Honeycode) InvokeScreenAutomation(input *InvokeScreenAutomationInput) (*InvokeScreenAutomationOutput, error) { @@ -786,14 +786,13 @@ const opListTableColumns = "ListTableColumns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTableColumnsRequest method. +// req, resp := client.ListTableColumnsRequest(params) // -// // Example sending a request using the ListTableColumnsRequest method. -// req, resp := client.ListTableColumnsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTableColumns func (c *Honeycode) ListTableColumnsRequest(input *ListTableColumnsInput) (req *request.Request, output *ListTableColumnsOutput) { @@ -831,30 +830,31 @@ func (c *Honeycode) ListTableColumnsRequest(input *ListTableColumnsInput) (req * // API operation ListTableColumns for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. Check that the -// workbook is owned by you and your IAM policy allows access to the resource -// in the request. // -// * InternalServerException -// There were unexpected errors from the server. +// - AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the resource +// in the request. // -// * RequestTimeoutException -// The request timed out. +// - InternalServerException +// There were unexpected errors from the server. // -// * ResourceNotFoundException -// A Workbook, Table, App, Screen or Screen Automation was not found with the -// given ID. +// - RequestTimeoutException +// The request timed out. // -// * ServiceUnavailableException -// Remote service is unreachable. +// - ResourceNotFoundException +// A Workbook, Table, App, Screen or Screen Automation was not found with the +// given ID. // -// * ThrottlingException -// Tps(transactions per second) rate reached. +// - ServiceUnavailableException +// Remote service is unreachable. // -// * ValidationException -// Request is invalid. The message in the response contains details on why the -// request is invalid. +// - ThrottlingException +// Tps(transactions per second) rate reached. +// +// - ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTableColumns func (c *Honeycode) ListTableColumns(input *ListTableColumnsInput) (*ListTableColumnsOutput, error) { @@ -886,15 +886,14 @@ func (c *Honeycode) ListTableColumnsWithContext(ctx aws.Context, input *ListTabl // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTableColumns operation. -// pageNum := 0 -// err := client.ListTableColumnsPages(params, -// func(page *honeycode.ListTableColumnsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTableColumns operation. +// pageNum := 0 +// err := client.ListTableColumnsPages(params, +// func(page *honeycode.ListTableColumnsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Honeycode) ListTableColumnsPages(input *ListTableColumnsInput, fn func(*ListTableColumnsOutput, bool) bool) error { return c.ListTableColumnsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -946,14 +945,13 @@ const opListTableRows = "ListTableRows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTableRowsRequest method. +// req, resp := client.ListTableRowsRequest(params) // -// // Example sending a request using the ListTableRowsRequest method. -// req, resp := client.ListTableRowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTableRows func (c *Honeycode) ListTableRowsRequest(input *ListTableRowsInput) (req *request.Request, output *ListTableRowsOutput) { @@ -991,30 +989,31 @@ func (c *Honeycode) ListTableRowsRequest(input *ListTableRowsInput) (req *reques // API operation ListTableRows for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. Check that the -// workbook is owned by you and your IAM policy allows access to the resource -// in the request. // -// * InternalServerException -// There were unexpected errors from the server. +// - AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the resource +// in the request. +// +// - InternalServerException +// There were unexpected errors from the server. // -// * ResourceNotFoundException -// A Workbook, Table, App, Screen or Screen Automation was not found with the -// given ID. +// - ResourceNotFoundException +// A Workbook, Table, App, Screen or Screen Automation was not found with the +// given ID. // -// * ServiceUnavailableException -// Remote service is unreachable. +// - ServiceUnavailableException +// Remote service is unreachable. // -// * ValidationException -// Request is invalid. The message in the response contains details on why the -// request is invalid. +// - ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. // -// * RequestTimeoutException -// The request timed out. +// - RequestTimeoutException +// The request timed out. // -// * ThrottlingException -// Tps(transactions per second) rate reached. +// - ThrottlingException +// Tps(transactions per second) rate reached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTableRows func (c *Honeycode) ListTableRows(input *ListTableRowsInput) (*ListTableRowsOutput, error) { @@ -1046,15 +1045,14 @@ func (c *Honeycode) ListTableRowsWithContext(ctx aws.Context, input *ListTableRo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTableRows operation. -// pageNum := 0 -// err := client.ListTableRowsPages(params, -// func(page *honeycode.ListTableRowsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTableRows operation. +// pageNum := 0 +// err := client.ListTableRowsPages(params, +// func(page *honeycode.ListTableRowsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Honeycode) ListTableRowsPages(input *ListTableRowsInput, fn func(*ListTableRowsOutput, bool) bool) error { return c.ListTableRowsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1106,14 +1104,13 @@ const opListTables = "ListTables" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTablesRequest method. +// req, resp := client.ListTablesRequest(params) // -// // Example sending a request using the ListTablesRequest method. -// req, resp := client.ListTablesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTables func (c *Honeycode) ListTablesRequest(input *ListTablesInput) (req *request.Request, output *ListTablesOutput) { @@ -1150,30 +1147,31 @@ func (c *Honeycode) ListTablesRequest(input *ListTablesInput) (req *request.Requ // API operation ListTables for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. Check that the -// workbook is owned by you and your IAM policy allows access to the resource -// in the request. // -// * InternalServerException -// There were unexpected errors from the server. +// - AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the resource +// in the request. +// +// - InternalServerException +// There were unexpected errors from the server. // -// * RequestTimeoutException -// The request timed out. +// - RequestTimeoutException +// The request timed out. // -// * ResourceNotFoundException -// A Workbook, Table, App, Screen or Screen Automation was not found with the -// given ID. +// - ResourceNotFoundException +// A Workbook, Table, App, Screen or Screen Automation was not found with the +// given ID. // -// * ServiceUnavailableException -// Remote service is unreachable. +// - ServiceUnavailableException +// Remote service is unreachable. // -// * ThrottlingException -// Tps(transactions per second) rate reached. +// - ThrottlingException +// Tps(transactions per second) rate reached. // -// * ValidationException -// Request is invalid. The message in the response contains details on why the -// request is invalid. +// - ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTables func (c *Honeycode) ListTables(input *ListTablesInput) (*ListTablesOutput, error) { @@ -1205,15 +1203,14 @@ func (c *Honeycode) ListTablesWithContext(ctx aws.Context, input *ListTablesInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTables operation. -// pageNum := 0 -// err := client.ListTablesPages(params, -// func(page *honeycode.ListTablesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTables operation. +// pageNum := 0 +// err := client.ListTablesPages(params, +// func(page *honeycode.ListTablesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Honeycode) ListTablesPages(input *ListTablesInput, fn func(*ListTablesOutput, bool) bool) error { return c.ListTablesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1265,14 +1262,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTagsForResource func (c *Honeycode) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1303,30 +1299,31 @@ func (c *Honeycode) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. Check that the -// workbook is owned by you and your IAM policy allows access to the resource -// in the request. // -// * InternalServerException -// There were unexpected errors from the server. +// - AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the resource +// in the request. // -// * RequestTimeoutException -// The request timed out. +// - InternalServerException +// There were unexpected errors from the server. // -// * ResourceNotFoundException -// A Workbook, Table, App, Screen or Screen Automation was not found with the -// given ID. +// - RequestTimeoutException +// The request timed out. // -// * ServiceUnavailableException -// Remote service is unreachable. +// - ResourceNotFoundException +// A Workbook, Table, App, Screen or Screen Automation was not found with the +// given ID. // -// * ThrottlingException -// Tps(transactions per second) rate reached. +// - ServiceUnavailableException +// Remote service is unreachable. // -// * ValidationException -// Request is invalid. The message in the response contains details on why the -// request is invalid. +// - ThrottlingException +// Tps(transactions per second) rate reached. +// +// - ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/ListTagsForResource func (c *Honeycode) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1366,14 +1363,13 @@ const opQueryTableRows = "QueryTableRows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the QueryTableRowsRequest method. +// req, resp := client.QueryTableRowsRequest(params) // -// // Example sending a request using the QueryTableRowsRequest method. -// req, resp := client.QueryTableRowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/QueryTableRows func (c *Honeycode) QueryTableRowsRequest(input *QueryTableRowsInput) (req *request.Request, output *QueryTableRowsOutput) { @@ -1411,30 +1407,31 @@ func (c *Honeycode) QueryTableRowsRequest(input *QueryTableRowsInput) (req *requ // API operation QueryTableRows for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. Check that the -// workbook is owned by you and your IAM policy allows access to the resource -// in the request. // -// * InternalServerException -// There were unexpected errors from the server. +// - AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the resource +// in the request. // -// * RequestTimeoutException -// The request timed out. +// - InternalServerException +// There were unexpected errors from the server. // -// * ResourceNotFoundException -// A Workbook, Table, App, Screen or Screen Automation was not found with the -// given ID. +// - RequestTimeoutException +// The request timed out. // -// * ServiceUnavailableException -// Remote service is unreachable. +// - ResourceNotFoundException +// A Workbook, Table, App, Screen or Screen Automation was not found with the +// given ID. // -// * ThrottlingException -// Tps(transactions per second) rate reached. +// - ServiceUnavailableException +// Remote service is unreachable. // -// * ValidationException -// Request is invalid. The message in the response contains details on why the -// request is invalid. +// - ThrottlingException +// Tps(transactions per second) rate reached. +// +// - ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/QueryTableRows func (c *Honeycode) QueryTableRows(input *QueryTableRowsInput) (*QueryTableRowsOutput, error) { @@ -1466,15 +1463,14 @@ func (c *Honeycode) QueryTableRowsWithContext(ctx aws.Context, input *QueryTable // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a QueryTableRows operation. -// pageNum := 0 -// err := client.QueryTableRowsPages(params, -// func(page *honeycode.QueryTableRowsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a QueryTableRows operation. +// pageNum := 0 +// err := client.QueryTableRowsPages(params, +// func(page *honeycode.QueryTableRowsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Honeycode) QueryTableRowsPages(input *QueryTableRowsInput, fn func(*QueryTableRowsOutput, bool) bool) error { return c.QueryTableRowsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1526,14 +1522,13 @@ const opStartTableDataImportJob = "StartTableDataImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartTableDataImportJobRequest method. +// req, resp := client.StartTableDataImportJobRequest(params) // -// // Example sending a request using the StartTableDataImportJobRequest method. -// req, resp := client.StartTableDataImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/StartTableDataImportJob func (c *Honeycode) StartTableDataImportJobRequest(input *StartTableDataImportJobInput) (req *request.Request, output *StartTableDataImportJobOutput) { @@ -1567,33 +1562,34 @@ func (c *Honeycode) StartTableDataImportJobRequest(input *StartTableDataImportJo // API operation StartTableDataImportJob for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. Check that the -// workbook is owned by you and your IAM policy allows access to the resource -// in the request. // -// * InternalServerException -// There were unexpected errors from the server. +// - AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the resource +// in the request. +// +// - InternalServerException +// There were unexpected errors from the server. // -// * ResourceNotFoundException -// A Workbook, Table, App, Screen or Screen Automation was not found with the -// given ID. +// - ResourceNotFoundException +// A Workbook, Table, App, Screen or Screen Automation was not found with the +// given ID. // -// * ServiceUnavailableException -// Remote service is unreachable. +// - ServiceUnavailableException +// Remote service is unreachable. // -// * ThrottlingException -// Tps(transactions per second) rate reached. +// - ThrottlingException +// Tps(transactions per second) rate reached. // -// * ValidationException -// Request is invalid. The message in the response contains details on why the -// request is invalid. +// - ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. // -// * RequestTimeoutException -// The request timed out. +// - RequestTimeoutException +// The request timed out. // -// * ServiceQuotaExceededException -// The request caused service quota to be breached. +// - ServiceQuotaExceededException +// The request caused service quota to be breached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/StartTableDataImportJob func (c *Honeycode) StartTableDataImportJob(input *StartTableDataImportJobInput) (*StartTableDataImportJobOutput, error) { @@ -1633,14 +1629,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/TagResource func (c *Honeycode) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1673,30 +1668,31 @@ func (c *Honeycode) TagResourceRequest(input *TagResourceInput) (req *request.Re // API operation TagResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. Check that the -// workbook is owned by you and your IAM policy allows access to the resource -// in the request. // -// * InternalServerException -// There were unexpected errors from the server. +// - AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the resource +// in the request. +// +// - InternalServerException +// There were unexpected errors from the server. // -// * RequestTimeoutException -// The request timed out. +// - RequestTimeoutException +// The request timed out. // -// * ResourceNotFoundException -// A Workbook, Table, App, Screen or Screen Automation was not found with the -// given ID. +// - ResourceNotFoundException +// A Workbook, Table, App, Screen or Screen Automation was not found with the +// given ID. // -// * ServiceUnavailableException -// Remote service is unreachable. +// - ServiceUnavailableException +// Remote service is unreachable. // -// * ThrottlingException -// Tps(transactions per second) rate reached. +// - ThrottlingException +// Tps(transactions per second) rate reached. // -// * ValidationException -// Request is invalid. The message in the response contains details on why the -// request is invalid. +// - ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/TagResource func (c *Honeycode) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1736,14 +1732,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/UntagResource func (c *Honeycode) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1776,30 +1771,31 @@ func (c *Honeycode) UntagResourceRequest(input *UntagResourceInput) (req *reques // API operation UntagResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. Check that the -// workbook is owned by you and your IAM policy allows access to the resource -// in the request. // -// * InternalServerException -// There were unexpected errors from the server. +// - AccessDeniedException +// You do not have sufficient access to perform this action. Check that the +// workbook is owned by you and your IAM policy allows access to the resource +// in the request. +// +// - InternalServerException +// There were unexpected errors from the server. // -// * RequestTimeoutException -// The request timed out. +// - RequestTimeoutException +// The request timed out. // -// * ResourceNotFoundException -// A Workbook, Table, App, Screen or Screen Automation was not found with the -// given ID. +// - ResourceNotFoundException +// A Workbook, Table, App, Screen or Screen Automation was not found with the +// given ID. // -// * ServiceUnavailableException -// Remote service is unreachable. +// - ServiceUnavailableException +// Remote service is unreachable. // -// * ThrottlingException -// Tps(transactions per second) rate reached. +// - ThrottlingException +// Tps(transactions per second) rate reached. // -// * ValidationException -// Request is invalid. The message in the response contains details on why the -// request is invalid. +// - ValidationException +// Request is invalid. The message in the response contains details on why the +// request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/honeycode-2020-03-01/UntagResource func (c *Honeycode) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/doc.go index 508b24221247..9de4839e19a0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/doc.go @@ -13,7 +13,7 @@ // See honeycode package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/honeycode/ // -// Using the Client +// # Using the Client // // To contact Amazon Honeycode with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/honeycodeiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/honeycodeiface/interface.go index 255e5f237d9b..0ce16361911c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/honeycodeiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/honeycodeiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Honeycode. -// func myFunc(svc honeycodeiface.HoneycodeAPI) bool { -// // Make svc.BatchCreateTableRows request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Honeycode. +// func myFunc(svc honeycodeiface.HoneycodeAPI) bool { +// // Make svc.BatchCreateTableRows request +// } // -// func main() { -// sess := session.New() -// svc := honeycode.New(sess) +// func main() { +// sess := session.New() +// svc := honeycode.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockHoneycodeClient struct { -// honeycodeiface.HoneycodeAPI -// } -// func (m *mockHoneycodeClient) BatchCreateTableRows(input *honeycode.BatchCreateTableRowsInput) (*honeycode.BatchCreateTableRowsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockHoneycodeClient struct { +// honeycodeiface.HoneycodeAPI +// } +// func (m *mockHoneycodeClient) BatchCreateTableRows(input *honeycode.BatchCreateTableRowsInput) (*honeycode.BatchCreateTableRowsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockHoneycodeClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockHoneycodeClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/service.go index be1809c540ef..0912178e0cc5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/honeycode/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Honeycode client from just a session. -// svc := honeycode.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Honeycode client with additional configuration -// svc := honeycode.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Honeycode client from just a session. +// svc := honeycode.New(mySession) +// +// // Create a Honeycode client with additional configuration +// svc := honeycode.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Honeycode { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/api.go index 6f5c490580f5..0e132c2e4a97 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/api.go @@ -29,14 +29,13 @@ const opAddClientIDToOpenIDConnectProvider = "AddClientIDToOpenIDConnectProvider // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddClientIDToOpenIDConnectProviderRequest method. +// req, resp := client.AddClientIDToOpenIDConnectProviderRequest(params) // -// // Example sending a request using the AddClientIDToOpenIDConnectProviderRequest method. -// req, resp := client.AddClientIDToOpenIDConnectProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddClientIDToOpenIDConnectProvider func (c *IAM) AddClientIDToOpenIDConnectProviderRequest(input *AddClientIDToOpenIDConnectProviderInput) (req *request.Request, output *AddClientIDToOpenIDConnectProviderOutput) { @@ -72,22 +71,23 @@ func (c *IAM) AddClientIDToOpenIDConnectProviderRequest(input *AddClientIDToOpen // API operation AddClientIDToOpenIDConnectProvider for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddClientIDToOpenIDConnectProvider func (c *IAM) AddClientIDToOpenIDConnectProvider(input *AddClientIDToOpenIDConnectProviderInput) (*AddClientIDToOpenIDConnectProviderOutput, error) { @@ -127,14 +127,13 @@ const opAddRoleToInstanceProfile = "AddRoleToInstanceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddRoleToInstanceProfileRequest method. +// req, resp := client.AddRoleToInstanceProfileRequest(params) // -// // Example sending a request using the AddRoleToInstanceProfileRequest method. -// req, resp := client.AddRoleToInstanceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddRoleToInstanceProfile func (c *IAM) AddRoleToInstanceProfileRequest(input *AddRoleToInstanceProfileInput) (req *request.Request, output *AddRoleToInstanceProfileOutput) { @@ -180,28 +179,29 @@ func (c *IAM) AddRoleToInstanceProfileRequest(input *AddRoleToInstanceProfileInp // API operation AddRoleToInstanceProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. // -// * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" -// The request was rejected because only the service that depends on the service-linked -// role can modify or delete the role on your behalf. The error message includes -// the name of the service that depends on this service-linked role. You must -// request the change through that service. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeUnmodifiableEntityException "UnmodifiableEntity" +// The request was rejected because only the service that depends on the service-linked +// role can modify or delete the role on your behalf. The error message includes +// the name of the service that depends on this service-linked role. You must +// request the change through that service. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddRoleToInstanceProfile func (c *IAM) AddRoleToInstanceProfile(input *AddRoleToInstanceProfileInput) (*AddRoleToInstanceProfileOutput, error) { @@ -241,14 +241,13 @@ const opAddUserToGroup = "AddUserToGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddUserToGroupRequest method. +// req, resp := client.AddUserToGroupRequest(params) // -// // Example sending a request using the AddUserToGroupRequest method. -// req, resp := client.AddUserToGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddUserToGroup func (c *IAM) AddUserToGroupRequest(input *AddUserToGroupInput) (req *request.Request, output *AddUserToGroupOutput) { @@ -280,18 +279,19 @@ func (c *IAM) AddUserToGroupRequest(input *AddUserToGroupInput) (req *request.Re // API operation AddUserToGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AddUserToGroup func (c *IAM) AddUserToGroup(input *AddUserToGroupInput) (*AddUserToGroupOutput, error) { @@ -331,14 +331,13 @@ const opAttachGroupPolicy = "AttachGroupPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachGroupPolicyRequest method. +// req, resp := client.AttachGroupPolicyRequest(params) // -// // Example sending a request using the AttachGroupPolicyRequest method. -// req, resp := client.AttachGroupPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachGroupPolicy func (c *IAM) AttachGroupPolicyRequest(input *AttachGroupPolicyInput) (req *request.Request, output *AttachGroupPolicyOutput) { @@ -381,26 +380,27 @@ func (c *IAM) AttachGroupPolicyRequest(input *AttachGroupPolicyInput) (req *requ // API operation AttachGroupPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodePolicyNotAttachableException "PolicyNotAttachable" -// The request failed because Amazon Web Services service role policies can -// only be attached to the service-linked role for that service. +// - ErrCodePolicyNotAttachableException "PolicyNotAttachable" +// The request failed because Amazon Web Services service role policies can +// only be attached to the service-linked role for that service. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachGroupPolicy func (c *IAM) AttachGroupPolicy(input *AttachGroupPolicyInput) (*AttachGroupPolicyOutput, error) { @@ -440,14 +440,13 @@ const opAttachRolePolicy = "AttachRolePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachRolePolicyRequest method. +// req, resp := client.AttachRolePolicyRequest(params) // -// // Example sending a request using the AttachRolePolicyRequest method. -// req, resp := client.AttachRolePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachRolePolicy func (c *IAM) AttachRolePolicyRequest(input *AttachRolePolicyInput) (req *request.Request, output *AttachRolePolicyOutput) { @@ -494,32 +493,33 @@ func (c *IAM) AttachRolePolicyRequest(input *AttachRolePolicyInput) (req *reques // API operation AttachRolePolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" -// The request was rejected because only the service that depends on the service-linked -// role can modify or delete the role on your behalf. The error message includes -// the name of the service that depends on this service-linked role. You must -// request the change through that service. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodePolicyNotAttachableException "PolicyNotAttachable" -// The request failed because Amazon Web Services service role policies can -// only be attached to the service-linked role for that service. +// - ErrCodeUnmodifiableEntityException "UnmodifiableEntity" +// The request was rejected because only the service that depends on the service-linked +// role can modify or delete the role on your behalf. The error message includes +// the name of the service that depends on this service-linked role. You must +// request the change through that service. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodePolicyNotAttachableException "PolicyNotAttachable" +// The request failed because Amazon Web Services service role policies can +// only be attached to the service-linked role for that service. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachRolePolicy func (c *IAM) AttachRolePolicy(input *AttachRolePolicyInput) (*AttachRolePolicyOutput, error) { @@ -559,14 +559,13 @@ const opAttachUserPolicy = "AttachUserPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachUserPolicyRequest method. +// req, resp := client.AttachUserPolicyRequest(params) // -// // Example sending a request using the AttachUserPolicyRequest method. -// req, resp := client.AttachUserPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachUserPolicy func (c *IAM) AttachUserPolicyRequest(input *AttachUserPolicyInput) (req *request.Request, output *AttachUserPolicyOutput) { @@ -609,26 +608,27 @@ func (c *IAM) AttachUserPolicyRequest(input *AttachUserPolicyInput) (req *reques // API operation AttachUserPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodePolicyNotAttachableException "PolicyNotAttachable" -// The request failed because Amazon Web Services service role policies can -// only be attached to the service-linked role for that service. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodePolicyNotAttachableException "PolicyNotAttachable" +// The request failed because Amazon Web Services service role policies can +// only be attached to the service-linked role for that service. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/AttachUserPolicy func (c *IAM) AttachUserPolicy(input *AttachUserPolicyInput) (*AttachUserPolicyOutput, error) { @@ -668,14 +668,13 @@ const opChangePassword = "ChangePassword" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ChangePasswordRequest method. +// req, resp := client.ChangePasswordRequest(params) // -// // Example sending a request using the ChangePasswordRequest method. -// req, resp := client.ChangePasswordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ChangePassword func (c *IAM) ChangePasswordRequest(input *ChangePasswordInput) (req *request.Request, output *ChangePasswordOutput) { @@ -716,32 +715,33 @@ func (c *IAM) ChangePasswordRequest(input *ChangePasswordInput) (req *request.Re // API operation ChangePassword for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidUserTypeException "InvalidUserType" -// The request was rejected because the type of user for the transaction was -// incorrect. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeInvalidUserTypeException "InvalidUserType" +// The request was rejected because the type of user for the transaction was +// incorrect. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeEntityTemporarilyUnmodifiableException "EntityTemporarilyUnmodifiable" -// The request was rejected because it referenced an entity that is temporarily -// unmodifiable, such as a user name that was deleted and then recreated. The -// error indicates that the request is likely to succeed if you try again after -// waiting several minutes. The error message describes the entity. +// - ErrCodeEntityTemporarilyUnmodifiableException "EntityTemporarilyUnmodifiable" +// The request was rejected because it referenced an entity that is temporarily +// unmodifiable, such as a user name that was deleted and then recreated. The +// error indicates that the request is likely to succeed if you try again after +// waiting several minutes. The error message describes the entity. // -// * ErrCodePasswordPolicyViolationException "PasswordPolicyViolation" -// The request was rejected because the provided password did not meet the requirements -// imposed by the account password policy. +// - ErrCodePasswordPolicyViolationException "PasswordPolicyViolation" +// The request was rejected because the provided password did not meet the requirements +// imposed by the account password policy. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ChangePassword func (c *IAM) ChangePassword(input *ChangePasswordInput) (*ChangePasswordOutput, error) { @@ -781,14 +781,13 @@ const opCreateAccessKey = "CreateAccessKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAccessKeyRequest method. +// req, resp := client.CreateAccessKeyRequest(params) // -// // Example sending a request using the CreateAccessKeyRequest method. -// req, resp := client.CreateAccessKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccessKey func (c *IAM) CreateAccessKeyRequest(input *CreateAccessKeyInput) (req *request.Request, output *CreateAccessKeyOutput) { @@ -838,18 +837,19 @@ func (c *IAM) CreateAccessKeyRequest(input *CreateAccessKeyInput) (req *request. // API operation CreateAccessKey for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccessKey func (c *IAM) CreateAccessKey(input *CreateAccessKeyInput) (*CreateAccessKeyOutput, error) { @@ -889,14 +889,13 @@ const opCreateAccountAlias = "CreateAccountAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAccountAliasRequest method. +// req, resp := client.CreateAccountAliasRequest(params) // -// // Example sending a request using the CreateAccountAliasRequest method. -// req, resp := client.CreateAccountAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccountAlias func (c *IAM) CreateAccountAliasRequest(input *CreateAccountAliasInput) (req *request.Request, output *CreateAccountAliasOutput) { @@ -931,18 +930,19 @@ func (c *IAM) CreateAccountAliasRequest(input *CreateAccountAliasInput) (req *re // API operation CreateAccountAlias for usage and error information. // // Returned Error Codes: -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateAccountAlias func (c *IAM) CreateAccountAlias(input *CreateAccountAliasInput) (*CreateAccountAliasOutput, error) { @@ -982,14 +982,13 @@ const opCreateGroup = "CreateGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGroupRequest method. +// req, resp := client.CreateGroupRequest(params) // -// // Example sending a request using the CreateGroupRequest method. -// req, resp := client.CreateGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateGroup func (c *IAM) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput) { @@ -1024,22 +1023,23 @@ func (c *IAM) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, // API operation CreateGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. // -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateGroup func (c *IAM) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error) { @@ -1079,14 +1079,13 @@ const opCreateInstanceProfile = "CreateInstanceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInstanceProfileRequest method. +// req, resp := client.CreateInstanceProfileRequest(params) // -// // Example sending a request using the CreateInstanceProfileRequest method. -// req, resp := client.CreateInstanceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateInstanceProfile func (c *IAM) CreateInstanceProfileRequest(input *CreateInstanceProfileInput) (req *request.Request, output *CreateInstanceProfileOutput) { @@ -1124,27 +1123,28 @@ func (c *IAM) CreateInstanceProfileRequest(input *CreateInstanceProfileInput) (r // API operation CreateInstanceProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateInstanceProfile func (c *IAM) CreateInstanceProfile(input *CreateInstanceProfileInput) (*CreateInstanceProfileOutput, error) { @@ -1184,14 +1184,13 @@ const opCreateLoginProfile = "CreateLoginProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLoginProfileRequest method. +// req, resp := client.CreateLoginProfileRequest(params) // -// // Example sending a request using the CreateLoginProfileRequest method. -// req, resp := client.CreateLoginProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateLoginProfile func (c *IAM) CreateLoginProfileRequest(input *CreateLoginProfileInput) (req *request.Request, output *CreateLoginProfileOutput) { @@ -1232,26 +1231,27 @@ func (c *IAM) CreateLoginProfileRequest(input *CreateLoginProfileInput) (req *re // API operation CreateLoginProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. +// +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodePasswordPolicyViolationException "PasswordPolicyViolation" -// The request was rejected because the provided password did not meet the requirements -// imposed by the account password policy. +// - ErrCodePasswordPolicyViolationException "PasswordPolicyViolation" +// The request was rejected because the provided password did not meet the requirements +// imposed by the account password policy. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateLoginProfile func (c *IAM) CreateLoginProfile(input *CreateLoginProfileInput) (*CreateLoginProfileOutput, error) { @@ -1291,14 +1291,13 @@ const opCreateOpenIDConnectProvider = "CreateOpenIDConnectProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOpenIDConnectProviderRequest method. +// req, resp := client.CreateOpenIDConnectProviderRequest(params) // -// // Example sending a request using the CreateOpenIDConnectProviderRequest method. -// req, resp := client.CreateOpenIDConnectProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateOpenIDConnectProvider func (c *IAM) CreateOpenIDConnectProviderRequest(input *CreateOpenIDConnectProviderInput) (req *request.Request, output *CreateOpenIDConnectProviderOutput) { @@ -1336,13 +1335,13 @@ func (c *IAM) CreateOpenIDConnectProviderRequest(input *CreateOpenIDConnectProvi // // When you create the IAM OIDC provider, you specify the following: // -// * The URL of the OIDC identity provider (IdP) to trust +// - The URL of the OIDC identity provider (IdP) to trust // -// * A list of client IDs (also known as audiences) that identify the application -// or applications allowed to authenticate using the OIDC provider +// - A list of client IDs (also known as audiences) that identify the application +// or applications allowed to authenticate using the OIDC provider // -// * A list of thumbprints of one or more server certificates that the IdP -// uses +// - A list of thumbprints of one or more server certificates that the IdP +// uses // // You get all of this information from the OIDC IdP you want to use to access // Amazon Web Services. @@ -1366,27 +1365,28 @@ func (c *IAM) CreateOpenIDConnectProviderRequest(input *CreateOpenIDConnectProvi // API operation CreateOpenIDConnectProvider for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. // -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateOpenIDConnectProvider func (c *IAM) CreateOpenIDConnectProvider(input *CreateOpenIDConnectProviderInput) (*CreateOpenIDConnectProviderOutput, error) { @@ -1426,14 +1426,13 @@ const opCreatePolicy = "CreatePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePolicyRequest method. +// req, resp := client.CreatePolicyRequest(params) // -// // Example sending a request using the CreatePolicyRequest method. -// req, resp := client.CreatePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicy func (c *IAM) CreatePolicyRequest(input *CreatePolicyInput) (req *request.Request, output *CreatePolicyOutput) { @@ -1477,31 +1476,32 @@ func (c *IAM) CreatePolicyRequest(input *CreatePolicyInput) (req *request.Reques // API operation CreatePolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" -// The request was rejected because the policy document was malformed. The error -// message describes the specific error. +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" +// The request was rejected because the policy document was malformed. The error +// message describes the specific error. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicy func (c *IAM) CreatePolicy(input *CreatePolicyInput) (*CreatePolicyOutput, error) { @@ -1541,14 +1541,13 @@ const opCreatePolicyVersion = "CreatePolicyVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePolicyVersionRequest method. +// req, resp := client.CreatePolicyVersionRequest(params) // -// // Example sending a request using the CreatePolicyVersionRequest method. -// req, resp := client.CreatePolicyVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyVersion func (c *IAM) CreatePolicyVersionRequest(input *CreatePolicyVersionInput) (req *request.Request, output *CreatePolicyVersionOutput) { @@ -1590,26 +1589,27 @@ func (c *IAM) CreatePolicyVersionRequest(input *CreatePolicyVersionInput) (req * // API operation CreatePolicyVersion for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" -// The request was rejected because the policy document was malformed. The error -// message describes the specific error. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" +// The request was rejected because the policy document was malformed. The error +// message describes the specific error. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreatePolicyVersion func (c *IAM) CreatePolicyVersion(input *CreatePolicyVersionInput) (*CreatePolicyVersionOutput, error) { @@ -1649,14 +1649,13 @@ const opCreateRole = "CreateRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRoleRequest method. +// req, resp := client.CreateRoleRequest(params) // -// // Example sending a request using the CreateRoleRequest method. -// req, resp := client.CreateRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateRole func (c *IAM) CreateRoleRequest(input *CreateRoleInput) (req *request.Request, output *CreateRoleOutput) { @@ -1691,31 +1690,32 @@ func (c *IAM) CreateRoleRequest(input *CreateRoleInput) (req *request.Request, o // API operation CreateRole for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. // -// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" -// The request was rejected because the policy document was malformed. The error -// message describes the specific error. +// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" +// The request was rejected because the policy document was malformed. The error +// message describes the specific error. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateRole func (c *IAM) CreateRole(input *CreateRoleInput) (*CreateRoleOutput, error) { @@ -1755,14 +1755,13 @@ const opCreateSAMLProvider = "CreateSAMLProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSAMLProviderRequest method. +// req, resp := client.CreateSAMLProviderRequest(params) // -// // Example sending a request using the CreateSAMLProviderRequest method. -// req, resp := client.CreateSAMLProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateSAMLProvider func (c *IAM) CreateSAMLProviderRequest(input *CreateSAMLProviderInput) (req *request.Request, output *CreateSAMLProviderOutput) { @@ -1814,27 +1813,28 @@ func (c *IAM) CreateSAMLProviderRequest(input *CreateSAMLProviderInput) (req *re // API operation CreateSAMLProvider for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. // -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateSAMLProvider func (c *IAM) CreateSAMLProvider(input *CreateSAMLProviderInput) (*CreateSAMLProviderOutput, error) { @@ -1874,14 +1874,13 @@ const opCreateServiceLinkedRole = "CreateServiceLinkedRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateServiceLinkedRoleRequest method. +// req, resp := client.CreateServiceLinkedRoleRequest(params) // -// // Example sending a request using the CreateServiceLinkedRoleRequest method. -// req, resp := client.CreateServiceLinkedRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceLinkedRole func (c *IAM) CreateServiceLinkedRoleRequest(input *CreateServiceLinkedRoleInput) (req *request.Request, output *CreateServiceLinkedRoleOutput) { @@ -1922,22 +1921,23 @@ func (c *IAM) CreateServiceLinkedRoleRequest(input *CreateServiceLinkedRoleInput // API operation CreateServiceLinkedRole for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceLinkedRole func (c *IAM) CreateServiceLinkedRole(input *CreateServiceLinkedRoleInput) (*CreateServiceLinkedRoleOutput, error) { @@ -1977,14 +1977,13 @@ const opCreateServiceSpecificCredential = "CreateServiceSpecificCredential" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateServiceSpecificCredentialRequest method. +// req, resp := client.CreateServiceSpecificCredentialRequest(params) // -// // Example sending a request using the CreateServiceSpecificCredentialRequest method. -// req, resp := client.CreateServiceSpecificCredentialRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceSpecificCredential func (c *IAM) CreateServiceSpecificCredentialRequest(input *CreateServiceSpecificCredentialInput) (req *request.Request, output *CreateServiceSpecificCredentialOutput) { @@ -2030,17 +2029,18 @@ func (c *IAM) CreateServiceSpecificCredentialRequest(input *CreateServiceSpecifi // API operation CreateServiceSpecificCredential for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceNotSupportedException "NotSupportedService" -// The specified service does not support service-specific credentials. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceNotSupportedException "NotSupportedService" +// The specified service does not support service-specific credentials. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceSpecificCredential func (c *IAM) CreateServiceSpecificCredential(input *CreateServiceSpecificCredentialInput) (*CreateServiceSpecificCredentialOutput, error) { @@ -2080,14 +2080,13 @@ const opCreateUser = "CreateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserRequest method. +// req, resp := client.CreateUserRequest(params) // -// // Example sending a request using the CreateUserRequest method. -// req, resp := client.CreateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateUser func (c *IAM) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) { @@ -2122,31 +2121,32 @@ func (c *IAM) CreateUserRequest(input *CreateUserInput) (req *request.Request, o // API operation CreateUser for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. // -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateUser func (c *IAM) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) { @@ -2186,14 +2186,13 @@ const opCreateVirtualMFADevice = "CreateVirtualMFADevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVirtualMFADeviceRequest method. +// req, resp := client.CreateVirtualMFADeviceRequest(params) // -// // Example sending a request using the CreateVirtualMFADeviceRequest method. -// req, resp := client.CreateVirtualMFADeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateVirtualMFADevice func (c *IAM) CreateVirtualMFADeviceRequest(input *CreateVirtualMFADeviceInput) (req *request.Request, output *CreateVirtualMFADeviceOutput) { @@ -2238,27 +2237,28 @@ func (c *IAM) CreateVirtualMFADeviceRequest(input *CreateVirtualMFADeviceInput) // API operation CreateVirtualMFADevice for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateVirtualMFADevice func (c *IAM) CreateVirtualMFADevice(input *CreateVirtualMFADeviceInput) (*CreateVirtualMFADeviceOutput, error) { @@ -2298,14 +2298,13 @@ const opDeactivateMFADevice = "DeactivateMFADevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeactivateMFADeviceRequest method. +// req, resp := client.DeactivateMFADeviceRequest(params) // -// // Example sending a request using the DeactivateMFADeviceRequest method. -// req, resp := client.DeactivateMFADeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeactivateMFADevice func (c *IAM) DeactivateMFADeviceRequest(input *DeactivateMFADeviceInput) (req *request.Request, output *DeactivateMFADeviceOutput) { @@ -2342,24 +2341,25 @@ func (c *IAM) DeactivateMFADeviceRequest(input *DeactivateMFADeviceInput) (req * // API operation DeactivateMFADevice for usage and error information. // // Returned Error Codes: -// * ErrCodeEntityTemporarilyUnmodifiableException "EntityTemporarilyUnmodifiable" -// The request was rejected because it referenced an entity that is temporarily -// unmodifiable, such as a user name that was deleted and then recreated. The -// error indicates that the request is likely to succeed if you try again after -// waiting several minutes. The error message describes the entity. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeEntityTemporarilyUnmodifiableException "EntityTemporarilyUnmodifiable" +// The request was rejected because it referenced an entity that is temporarily +// unmodifiable, such as a user name that was deleted and then recreated. The +// error indicates that the request is likely to succeed if you try again after +// waiting several minutes. The error message describes the entity. +// +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeactivateMFADevice func (c *IAM) DeactivateMFADevice(input *DeactivateMFADeviceInput) (*DeactivateMFADeviceOutput, error) { @@ -2399,14 +2399,13 @@ const opDeleteAccessKey = "DeleteAccessKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccessKeyRequest method. +// req, resp := client.DeleteAccessKeyRequest(params) // -// // Example sending a request using the DeleteAccessKeyRequest method. -// req, resp := client.DeleteAccessKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccessKey func (c *IAM) DeleteAccessKeyRequest(input *DeleteAccessKeyInput) (req *request.Request, output *DeleteAccessKeyOutput) { @@ -2444,18 +2443,19 @@ func (c *IAM) DeleteAccessKeyRequest(input *DeleteAccessKeyInput) (req *request. // API operation DeleteAccessKey for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccessKey func (c *IAM) DeleteAccessKey(input *DeleteAccessKeyInput) (*DeleteAccessKeyOutput, error) { @@ -2495,14 +2495,13 @@ const opDeleteAccountAlias = "DeleteAccountAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccountAliasRequest method. +// req, resp := client.DeleteAccountAliasRequest(params) // -// // Example sending a request using the DeleteAccountAliasRequest method. -// req, resp := client.DeleteAccountAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountAlias func (c *IAM) DeleteAccountAliasRequest(input *DeleteAccountAliasInput) (req *request.Request, output *DeleteAccountAliasOutput) { @@ -2537,18 +2536,19 @@ func (c *IAM) DeleteAccountAliasRequest(input *DeleteAccountAliasInput) (req *re // API operation DeleteAccountAlias for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountAlias func (c *IAM) DeleteAccountAlias(input *DeleteAccountAliasInput) (*DeleteAccountAliasOutput, error) { @@ -2588,14 +2588,13 @@ const opDeleteAccountPasswordPolicy = "DeleteAccountPasswordPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccountPasswordPolicyRequest method. +// req, resp := client.DeleteAccountPasswordPolicyRequest(params) // -// // Example sending a request using the DeleteAccountPasswordPolicyRequest method. -// req, resp := client.DeleteAccountPasswordPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountPasswordPolicy func (c *IAM) DeleteAccountPasswordPolicyRequest(input *DeleteAccountPasswordPolicyInput) (req *request.Request, output *DeleteAccountPasswordPolicyOutput) { @@ -2628,18 +2627,19 @@ func (c *IAM) DeleteAccountPasswordPolicyRequest(input *DeleteAccountPasswordPol // API operation DeleteAccountPasswordPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteAccountPasswordPolicy func (c *IAM) DeleteAccountPasswordPolicy(input *DeleteAccountPasswordPolicyInput) (*DeleteAccountPasswordPolicyOutput, error) { @@ -2679,14 +2679,13 @@ const opDeleteGroup = "DeleteGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGroupRequest method. +// req, resp := client.DeleteGroupRequest(params) // -// // Example sending a request using the DeleteGroupRequest method. -// req, resp := client.DeleteGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroup func (c *IAM) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput) { @@ -2719,22 +2718,23 @@ func (c *IAM) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, // API operation DeleteGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeDeleteConflictException "DeleteConflict" -// The request was rejected because it attempted to delete a resource that has -// attached subordinate entities. The error message describes these entities. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeDeleteConflictException "DeleteConflict" +// The request was rejected because it attempted to delete a resource that has +// attached subordinate entities. The error message describes these entities. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroup func (c *IAM) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error) { @@ -2774,14 +2774,13 @@ const opDeleteGroupPolicy = "DeleteGroupPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGroupPolicyRequest method. +// req, resp := client.DeleteGroupPolicyRequest(params) // -// // Example sending a request using the DeleteGroupPolicyRequest method. -// req, resp := client.DeleteGroupPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupPolicy func (c *IAM) DeleteGroupPolicyRequest(input *DeleteGroupPolicyInput) (req *request.Request, output *DeleteGroupPolicyOutput) { @@ -2819,18 +2818,19 @@ func (c *IAM) DeleteGroupPolicyRequest(input *DeleteGroupPolicyInput) (req *requ // API operation DeleteGroupPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteGroupPolicy func (c *IAM) DeleteGroupPolicy(input *DeleteGroupPolicyInput) (*DeleteGroupPolicyOutput, error) { @@ -2870,14 +2870,13 @@ const opDeleteInstanceProfile = "DeleteInstanceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInstanceProfileRequest method. +// req, resp := client.DeleteInstanceProfileRequest(params) // -// // Example sending a request using the DeleteInstanceProfileRequest method. -// req, resp := client.DeleteInstanceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteInstanceProfile func (c *IAM) DeleteInstanceProfileRequest(input *DeleteInstanceProfileInput) (req *request.Request, output *DeleteInstanceProfileOutput) { @@ -2918,22 +2917,23 @@ func (c *IAM) DeleteInstanceProfileRequest(input *DeleteInstanceProfileInput) (r // API operation DeleteInstanceProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeDeleteConflictException "DeleteConflict" -// The request was rejected because it attempted to delete a resource that has -// attached subordinate entities. The error message describes these entities. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeDeleteConflictException "DeleteConflict" +// The request was rejected because it attempted to delete a resource that has +// attached subordinate entities. The error message describes these entities. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteInstanceProfile func (c *IAM) DeleteInstanceProfile(input *DeleteInstanceProfileInput) (*DeleteInstanceProfileOutput, error) { @@ -2973,14 +2973,13 @@ const opDeleteLoginProfile = "DeleteLoginProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLoginProfileRequest method. +// req, resp := client.DeleteLoginProfileRequest(params) // -// // Example sending a request using the DeleteLoginProfileRequest method. -// req, resp := client.DeleteLoginProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteLoginProfile func (c *IAM) DeleteLoginProfileRequest(input *DeleteLoginProfileInput) (req *request.Request, output *DeleteLoginProfileOutput) { @@ -3025,24 +3024,25 @@ func (c *IAM) DeleteLoginProfileRequest(input *DeleteLoginProfileInput) (req *re // API operation DeleteLoginProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeEntityTemporarilyUnmodifiableException "EntityTemporarilyUnmodifiable" -// The request was rejected because it referenced an entity that is temporarily -// unmodifiable, such as a user name that was deleted and then recreated. The -// error indicates that the request is likely to succeed if you try again after -// waiting several minutes. The error message describes the entity. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeEntityTemporarilyUnmodifiableException "EntityTemporarilyUnmodifiable" +// The request was rejected because it referenced an entity that is temporarily +// unmodifiable, such as a user name that was deleted and then recreated. The +// error indicates that the request is likely to succeed if you try again after +// waiting several minutes. The error message describes the entity. +// +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteLoginProfile func (c *IAM) DeleteLoginProfile(input *DeleteLoginProfileInput) (*DeleteLoginProfileOutput, error) { @@ -3082,14 +3082,13 @@ const opDeleteOpenIDConnectProvider = "DeleteOpenIDConnectProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOpenIDConnectProviderRequest method. +// req, resp := client.DeleteOpenIDConnectProviderRequest(params) // -// // Example sending a request using the DeleteOpenIDConnectProviderRequest method. -// req, resp := client.DeleteOpenIDConnectProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteOpenIDConnectProvider func (c *IAM) DeleteOpenIDConnectProviderRequest(input *DeleteOpenIDConnectProviderInput) (req *request.Request, output *DeleteOpenIDConnectProviderOutput) { @@ -3128,17 +3127,18 @@ func (c *IAM) DeleteOpenIDConnectProviderRequest(input *DeleteOpenIDConnectProvi // API operation DeleteOpenIDConnectProvider for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteOpenIDConnectProvider func (c *IAM) DeleteOpenIDConnectProvider(input *DeleteOpenIDConnectProviderInput) (*DeleteOpenIDConnectProviderOutput, error) { @@ -3178,14 +3178,13 @@ const opDeletePolicy = "DeletePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePolicyRequest method. +// req, resp := client.DeletePolicyRequest(params) // -// // Example sending a request using the DeletePolicyRequest method. -// req, resp := client.DeletePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicy func (c *IAM) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Request, output *DeletePolicyOutput) { @@ -3214,18 +3213,18 @@ func (c *IAM) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Reques // must delete all the policy's versions. The following steps describe the process // for deleting a managed policy: // -// * Detach the policy from all users, groups, and roles that the policy -// is attached to, using DetachUserPolicy, DetachGroupPolicy, or DetachRolePolicy. -// To list all the users, groups, and roles that a policy is attached to, -// use ListEntitiesForPolicy. +// - Detach the policy from all users, groups, and roles that the policy +// is attached to, using DetachUserPolicy, DetachGroupPolicy, or DetachRolePolicy. +// To list all the users, groups, and roles that a policy is attached to, +// use ListEntitiesForPolicy. // -// * Delete all versions of the policy using DeletePolicyVersion. To list -// the policy's versions, use ListPolicyVersions. You cannot use DeletePolicyVersion -// to delete the version that is marked as the default version. You delete -// the policy's default version in the next step of the process. +// - Delete all versions of the policy using DeletePolicyVersion. To list +// the policy's versions, use ListPolicyVersions. You cannot use DeletePolicyVersion +// to delete the version that is marked as the default version. You delete +// the policy's default version in the next step of the process. // -// * Delete the policy (this automatically deletes the policy's default version) -// using this operation. +// - Delete the policy (this automatically deletes the policy's default version) +// using this operation. // // For information about managed policies, see Managed policies and inline policies // (https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) @@ -3239,26 +3238,27 @@ func (c *IAM) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Reques // API operation DeletePolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeDeleteConflictException "DeleteConflict" -// The request was rejected because it attempted to delete a resource that has -// attached subordinate entities. The error message describes these entities. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeDeleteConflictException "DeleteConflict" +// The request was rejected because it attempted to delete a resource that has +// attached subordinate entities. The error message describes these entities. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicy func (c *IAM) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error) { @@ -3298,14 +3298,13 @@ const opDeletePolicyVersion = "DeletePolicyVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePolicyVersionRequest method. +// req, resp := client.DeletePolicyVersionRequest(params) // -// // Example sending a request using the DeletePolicyVersionRequest method. -// req, resp := client.DeletePolicyVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyVersion func (c *IAM) DeletePolicyVersionRequest(input *DeletePolicyVersionInput) (req *request.Request, output *DeletePolicyVersionOutput) { @@ -3345,26 +3344,27 @@ func (c *IAM) DeletePolicyVersionRequest(input *DeletePolicyVersionInput) (req * // API operation DeletePolicyVersion for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeDeleteConflictException "DeleteConflict" -// The request was rejected because it attempted to delete a resource that has -// attached subordinate entities. The error message describes these entities. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeDeleteConflictException "DeleteConflict" +// The request was rejected because it attempted to delete a resource that has +// attached subordinate entities. The error message describes these entities. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyVersion func (c *IAM) DeletePolicyVersion(input *DeletePolicyVersionInput) (*DeletePolicyVersionOutput, error) { @@ -3404,14 +3404,13 @@ const opDeleteRole = "DeleteRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRoleRequest method. +// req, resp := client.DeleteRoleRequest(params) // -// // Example sending a request using the DeleteRoleRequest method. -// req, resp := client.DeleteRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRole func (c *IAM) DeleteRoleRequest(input *DeleteRoleInput) (req *request.Request, output *DeleteRoleOutput) { @@ -3449,33 +3448,34 @@ func (c *IAM) DeleteRoleRequest(input *DeleteRoleInput) (req *request.Request, o // API operation DeleteRole for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. -// -// * ErrCodeDeleteConflictException "DeleteConflict" -// The request was rejected because it attempted to delete a resource that has -// attached subordinate entities. The error message describes these entities. -// -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. -// -// * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" -// The request was rejected because only the service that depends on the service-linked -// role can modify or delete the role on your behalf. The error message includes -// the name of the service that depends on this service-linked role. You must -// request the change through that service. -// -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. -// -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeDeleteConflictException "DeleteConflict" +// The request was rejected because it attempted to delete a resource that has +// attached subordinate entities. The error message describes these entities. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeUnmodifiableEntityException "UnmodifiableEntity" +// The request was rejected because only the service that depends on the service-linked +// role can modify or delete the role on your behalf. The error message includes +// the name of the service that depends on this service-linked role. You must +// request the change through that service. +// +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRole func (c *IAM) DeleteRole(input *DeleteRoleInput) (*DeleteRoleOutput, error) { @@ -3515,14 +3515,13 @@ const opDeleteRolePermissionsBoundary = "DeleteRolePermissionsBoundary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRolePermissionsBoundaryRequest method. +// req, resp := client.DeleteRolePermissionsBoundaryRequest(params) // -// // Example sending a request using the DeleteRolePermissionsBoundaryRequest method. -// req, resp := client.DeleteRolePermissionsBoundaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRolePermissionsBoundary func (c *IAM) DeleteRolePermissionsBoundaryRequest(input *DeleteRolePermissionsBoundaryInput) (req *request.Request, output *DeleteRolePermissionsBoundaryOutput) { @@ -3558,19 +3557,20 @@ func (c *IAM) DeleteRolePermissionsBoundaryRequest(input *DeleteRolePermissionsB // API operation DeleteRolePermissionsBoundary for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" -// The request was rejected because only the service that depends on the service-linked -// role can modify or delete the role on your behalf. The error message includes -// the name of the service that depends on this service-linked role. You must -// request the change through that service. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeUnmodifiableEntityException "UnmodifiableEntity" +// The request was rejected because only the service that depends on the service-linked +// role can modify or delete the role on your behalf. The error message includes +// the name of the service that depends on this service-linked role. You must +// request the change through that service. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRolePermissionsBoundary func (c *IAM) DeleteRolePermissionsBoundary(input *DeleteRolePermissionsBoundaryInput) (*DeleteRolePermissionsBoundaryOutput, error) { @@ -3610,14 +3610,13 @@ const opDeleteRolePolicy = "DeleteRolePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRolePolicyRequest method. +// req, resp := client.DeleteRolePolicyRequest(params) // -// // Example sending a request using the DeleteRolePolicyRequest method. -// req, resp := client.DeleteRolePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRolePolicy func (c *IAM) DeleteRolePolicyRequest(input *DeleteRolePolicyInput) (req *request.Request, output *DeleteRolePolicyOutput) { @@ -3655,24 +3654,25 @@ func (c *IAM) DeleteRolePolicyRequest(input *DeleteRolePolicyInput) (req *reques // API operation DeleteRolePolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" -// The request was rejected because only the service that depends on the service-linked -// role can modify or delete the role on your behalf. The error message includes -// the name of the service that depends on this service-linked role. You must -// request the change through that service. +// - ErrCodeUnmodifiableEntityException "UnmodifiableEntity" +// The request was rejected because only the service that depends on the service-linked +// role can modify or delete the role on your behalf. The error message includes +// the name of the service that depends on this service-linked role. You must +// request the change through that service. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteRolePolicy func (c *IAM) DeleteRolePolicy(input *DeleteRolePolicyInput) (*DeleteRolePolicyOutput, error) { @@ -3712,14 +3712,13 @@ const opDeleteSAMLProvider = "DeleteSAMLProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSAMLProviderRequest method. +// req, resp := client.DeleteSAMLProviderRequest(params) // -// // Example sending a request using the DeleteSAMLProviderRequest method. -// req, resp := client.DeleteSAMLProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSAMLProvider func (c *IAM) DeleteSAMLProviderRequest(input *DeleteSAMLProviderInput) (req *request.Request, output *DeleteSAMLProviderOutput) { @@ -3758,22 +3757,23 @@ func (c *IAM) DeleteSAMLProviderRequest(input *DeleteSAMLProviderInput) (req *re // API operation DeleteSAMLProvider for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSAMLProvider func (c *IAM) DeleteSAMLProvider(input *DeleteSAMLProviderInput) (*DeleteSAMLProviderOutput, error) { @@ -3813,14 +3813,13 @@ const opDeleteSSHPublicKey = "DeleteSSHPublicKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSSHPublicKeyRequest method. +// req, resp := client.DeleteSSHPublicKeyRequest(params) // -// // Example sending a request using the DeleteSSHPublicKeyRequest method. -// req, resp := client.DeleteSSHPublicKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSSHPublicKey func (c *IAM) DeleteSSHPublicKeyRequest(input *DeleteSSHPublicKeyInput) (req *request.Request, output *DeleteSSHPublicKeyOutput) { @@ -3858,9 +3857,9 @@ func (c *IAM) DeleteSSHPublicKeyRequest(input *DeleteSSHPublicKeyInput) (req *re // API operation DeleteSSHPublicKey for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSSHPublicKey func (c *IAM) DeleteSSHPublicKey(input *DeleteSSHPublicKeyInput) (*DeleteSSHPublicKeyOutput, error) { @@ -3900,14 +3899,13 @@ const opDeleteServerCertificate = "DeleteServerCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServerCertificateRequest method. +// req, resp := client.DeleteServerCertificateRequest(params) // -// // Example sending a request using the DeleteServerCertificateRequest method. -// req, resp := client.DeleteServerCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServerCertificate func (c *IAM) DeleteServerCertificateRequest(input *DeleteServerCertificateInput) (req *request.Request, output *DeleteServerCertificateOutput) { @@ -3954,22 +3952,23 @@ func (c *IAM) DeleteServerCertificateRequest(input *DeleteServerCertificateInput // API operation DeleteServerCertificate for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeDeleteConflictException "DeleteConflict" -// The request was rejected because it attempted to delete a resource that has -// attached subordinate entities. The error message describes these entities. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeDeleteConflictException "DeleteConflict" +// The request was rejected because it attempted to delete a resource that has +// attached subordinate entities. The error message describes these entities. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServerCertificate func (c *IAM) DeleteServerCertificate(input *DeleteServerCertificateInput) (*DeleteServerCertificateOutput, error) { @@ -4009,14 +4008,13 @@ const opDeleteServiceLinkedRole = "DeleteServiceLinkedRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServiceLinkedRoleRequest method. +// req, resp := client.DeleteServiceLinkedRoleRequest(params) // -// // Example sending a request using the DeleteServiceLinkedRoleRequest method. -// req, resp := client.DeleteServiceLinkedRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceLinkedRole func (c *IAM) DeleteServiceLinkedRoleRequest(input *DeleteServiceLinkedRoleInput) (req *request.Request, output *DeleteServiceLinkedRoleOutput) { @@ -4066,18 +4064,19 @@ func (c *IAM) DeleteServiceLinkedRoleRequest(input *DeleteServiceLinkedRoleInput // API operation DeleteServiceLinkedRole for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceLinkedRole func (c *IAM) DeleteServiceLinkedRole(input *DeleteServiceLinkedRoleInput) (*DeleteServiceLinkedRoleOutput, error) { @@ -4117,14 +4116,13 @@ const opDeleteServiceSpecificCredential = "DeleteServiceSpecificCredential" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServiceSpecificCredentialRequest method. +// req, resp := client.DeleteServiceSpecificCredentialRequest(params) // -// // Example sending a request using the DeleteServiceSpecificCredentialRequest method. -// req, resp := client.DeleteServiceSpecificCredentialRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceSpecificCredential func (c *IAM) DeleteServiceSpecificCredentialRequest(input *DeleteServiceSpecificCredentialInput) (req *request.Request, output *DeleteServiceSpecificCredentialOutput) { @@ -4156,9 +4154,9 @@ func (c *IAM) DeleteServiceSpecificCredentialRequest(input *DeleteServiceSpecifi // API operation DeleteServiceSpecificCredential for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteServiceSpecificCredential func (c *IAM) DeleteServiceSpecificCredential(input *DeleteServiceSpecificCredentialInput) (*DeleteServiceSpecificCredentialOutput, error) { @@ -4198,14 +4196,13 @@ const opDeleteSigningCertificate = "DeleteSigningCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSigningCertificateRequest method. +// req, resp := client.DeleteSigningCertificateRequest(params) // -// // Example sending a request using the DeleteSigningCertificateRequest method. -// req, resp := client.DeleteSigningCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSigningCertificate func (c *IAM) DeleteSigningCertificateRequest(input *DeleteSigningCertificateInput) (req *request.Request, output *DeleteSigningCertificateOutput) { @@ -4244,18 +4241,19 @@ func (c *IAM) DeleteSigningCertificateRequest(input *DeleteSigningCertificateInp // API operation DeleteSigningCertificate for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteSigningCertificate func (c *IAM) DeleteSigningCertificate(input *DeleteSigningCertificateInput) (*DeleteSigningCertificateOutput, error) { @@ -4295,14 +4293,13 @@ const opDeleteUser = "DeleteUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserRequest method. +// req, resp := client.DeleteUserRequest(params) // -// // Example sending a request using the DeleteUserRequest method. -// req, resp := client.DeleteUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUser func (c *IAM) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { @@ -4330,23 +4327,23 @@ func (c *IAM) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, o // see Deleting an IAM user (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_manage.html#id_users_deleting_cli). // Before attempting to delete a user, remove the following items: // -// * Password (DeleteLoginProfile) +// - Password (DeleteLoginProfile) // -// * Access keys (DeleteAccessKey) +// - Access keys (DeleteAccessKey) // -// * Signing certificate (DeleteSigningCertificate) +// - Signing certificate (DeleteSigningCertificate) // -// * SSH public key (DeleteSSHPublicKey) +// - SSH public key (DeleteSSHPublicKey) // -// * Git credentials (DeleteServiceSpecificCredential) +// - Git credentials (DeleteServiceSpecificCredential) // -// * Multi-factor authentication (MFA) device (DeactivateMFADevice, DeleteVirtualMFADevice) +// - Multi-factor authentication (MFA) device (DeactivateMFADevice, DeleteVirtualMFADevice) // -// * Inline policies (DeleteUserPolicy) +// - Inline policies (DeleteUserPolicy) // -// * Attached managed policies (DetachUserPolicy) +// - Attached managed policies (DetachUserPolicy) // -// * Group memberships (RemoveUserFromGroup) +// - Group memberships (RemoveUserFromGroup) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4356,27 +4353,28 @@ func (c *IAM) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, o // API operation DeleteUser for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeDeleteConflictException "DeleteConflict" -// The request was rejected because it attempted to delete a resource that has -// attached subordinate entities. The error message describes these entities. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeDeleteConflictException "DeleteConflict" +// The request was rejected because it attempted to delete a resource that has +// attached subordinate entities. The error message describes these entities. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUser func (c *IAM) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { @@ -4416,14 +4414,13 @@ const opDeleteUserPermissionsBoundary = "DeleteUserPermissionsBoundary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserPermissionsBoundaryRequest method. +// req, resp := client.DeleteUserPermissionsBoundaryRequest(params) // -// // Example sending a request using the DeleteUserPermissionsBoundaryRequest method. -// req, resp := client.DeleteUserPermissionsBoundaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserPermissionsBoundary func (c *IAM) DeleteUserPermissionsBoundaryRequest(input *DeleteUserPermissionsBoundaryInput) (req *request.Request, output *DeleteUserPermissionsBoundaryOutput) { @@ -4459,13 +4456,14 @@ func (c *IAM) DeleteUserPermissionsBoundaryRequest(input *DeleteUserPermissionsB // API operation DeleteUserPermissionsBoundary for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserPermissionsBoundary func (c *IAM) DeleteUserPermissionsBoundary(input *DeleteUserPermissionsBoundaryInput) (*DeleteUserPermissionsBoundaryOutput, error) { @@ -4505,14 +4503,13 @@ const opDeleteUserPolicy = "DeleteUserPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserPolicyRequest method. +// req, resp := client.DeleteUserPolicyRequest(params) // -// // Example sending a request using the DeleteUserPolicyRequest method. -// req, resp := client.DeleteUserPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserPolicy func (c *IAM) DeleteUserPolicyRequest(input *DeleteUserPolicyInput) (req *request.Request, output *DeleteUserPolicyOutput) { @@ -4550,18 +4547,19 @@ func (c *IAM) DeleteUserPolicyRequest(input *DeleteUserPolicyInput) (req *reques // API operation DeleteUserPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteUserPolicy func (c *IAM) DeleteUserPolicy(input *DeleteUserPolicyInput) (*DeleteUserPolicyOutput, error) { @@ -4601,14 +4599,13 @@ const opDeleteVirtualMFADevice = "DeleteVirtualMFADevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVirtualMFADeviceRequest method. +// req, resp := client.DeleteVirtualMFADeviceRequest(params) // -// // Example sending a request using the DeleteVirtualMFADeviceRequest method. -// req, resp := client.DeleteVirtualMFADeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteVirtualMFADevice func (c *IAM) DeleteVirtualMFADeviceRequest(input *DeleteVirtualMFADeviceInput) (req *request.Request, output *DeleteVirtualMFADeviceOutput) { @@ -4643,22 +4640,23 @@ func (c *IAM) DeleteVirtualMFADeviceRequest(input *DeleteVirtualMFADeviceInput) // API operation DeleteVirtualMFADevice for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeDeleteConflictException "DeleteConflict" -// The request was rejected because it attempted to delete a resource that has -// attached subordinate entities. The error message describes these entities. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeDeleteConflictException "DeleteConflict" +// The request was rejected because it attempted to delete a resource that has +// attached subordinate entities. The error message describes these entities. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteVirtualMFADevice func (c *IAM) DeleteVirtualMFADevice(input *DeleteVirtualMFADeviceInput) (*DeleteVirtualMFADeviceOutput, error) { @@ -4698,14 +4696,13 @@ const opDetachGroupPolicy = "DetachGroupPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachGroupPolicyRequest method. +// req, resp := client.DetachGroupPolicyRequest(params) // -// // Example sending a request using the DetachGroupPolicyRequest method. -// req, resp := client.DetachGroupPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachGroupPolicy func (c *IAM) DetachGroupPolicyRequest(input *DetachGroupPolicyInput) (req *request.Request, output *DetachGroupPolicyOutput) { @@ -4742,22 +4739,23 @@ func (c *IAM) DetachGroupPolicyRequest(input *DetachGroupPolicyInput) (req *requ // API operation DetachGroupPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachGroupPolicy func (c *IAM) DetachGroupPolicy(input *DetachGroupPolicyInput) (*DetachGroupPolicyOutput, error) { @@ -4797,14 +4795,13 @@ const opDetachRolePolicy = "DetachRolePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachRolePolicyRequest method. +// req, resp := client.DetachRolePolicyRequest(params) // -// // Example sending a request using the DetachRolePolicyRequest method. -// req, resp := client.DetachRolePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachRolePolicy func (c *IAM) DetachRolePolicyRequest(input *DetachRolePolicyInput) (req *request.Request, output *DetachRolePolicyOutput) { @@ -4841,28 +4838,29 @@ func (c *IAM) DetachRolePolicyRequest(input *DetachRolePolicyInput) (req *reques // API operation DetachRolePolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" -// The request was rejected because only the service that depends on the service-linked -// role can modify or delete the role on your behalf. The error message includes -// the name of the service that depends on this service-linked role. You must -// request the change through that service. +// - ErrCodeUnmodifiableEntityException "UnmodifiableEntity" +// The request was rejected because only the service that depends on the service-linked +// role can modify or delete the role on your behalf. The error message includes +// the name of the service that depends on this service-linked role. You must +// request the change through that service. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachRolePolicy func (c *IAM) DetachRolePolicy(input *DetachRolePolicyInput) (*DetachRolePolicyOutput, error) { @@ -4902,14 +4900,13 @@ const opDetachUserPolicy = "DetachUserPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachUserPolicyRequest method. +// req, resp := client.DetachUserPolicyRequest(params) // -// // Example sending a request using the DetachUserPolicyRequest method. -// req, resp := client.DetachUserPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachUserPolicy func (c *IAM) DetachUserPolicyRequest(input *DetachUserPolicyInput) (req *request.Request, output *DetachUserPolicyOutput) { @@ -4946,22 +4943,23 @@ func (c *IAM) DetachUserPolicyRequest(input *DetachUserPolicyInput) (req *reques // API operation DetachUserPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DetachUserPolicy func (c *IAM) DetachUserPolicy(input *DetachUserPolicyInput) (*DetachUserPolicyOutput, error) { @@ -5001,14 +4999,13 @@ const opEnableMFADevice = "EnableMFADevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableMFADeviceRequest method. +// req, resp := client.EnableMFADeviceRequest(params) // -// // Example sending a request using the EnableMFADeviceRequest method. -// req, resp := client.EnableMFADeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableMFADevice func (c *IAM) EnableMFADeviceRequest(input *EnableMFADeviceInput) (req *request.Request, output *EnableMFADeviceOutput) { @@ -5042,32 +5039,33 @@ func (c *IAM) EnableMFADeviceRequest(input *EnableMFADeviceInput) (req *request. // API operation EnableMFADevice for usage and error information. // // Returned Error Codes: -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. // -// * ErrCodeEntityTemporarilyUnmodifiableException "EntityTemporarilyUnmodifiable" -// The request was rejected because it referenced an entity that is temporarily -// unmodifiable, such as a user name that was deleted and then recreated. The -// error indicates that the request is likely to succeed if you try again after -// waiting several minutes. The error message describes the entity. +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. +// +// - ErrCodeEntityTemporarilyUnmodifiableException "EntityTemporarilyUnmodifiable" +// The request was rejected because it referenced an entity that is temporarily +// unmodifiable, such as a user name that was deleted and then recreated. The +// error indicates that the request is likely to succeed if you try again after +// waiting several minutes. The error message describes the entity. // -// * ErrCodeInvalidAuthenticationCodeException "InvalidAuthenticationCode" -// The request was rejected because the authentication code was not recognized. -// The error message describes the specific error. +// - ErrCodeInvalidAuthenticationCodeException "InvalidAuthenticationCode" +// The request was rejected because the authentication code was not recognized. +// The error message describes the specific error. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableMFADevice func (c *IAM) EnableMFADevice(input *EnableMFADeviceInput) (*EnableMFADeviceOutput, error) { @@ -5107,14 +5105,13 @@ const opGenerateCredentialReport = "GenerateCredentialReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateCredentialReportRequest method. +// req, resp := client.GenerateCredentialReportRequest(params) // -// // Example sending a request using the GenerateCredentialReportRequest method. -// req, resp := client.GenerateCredentialReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateCredentialReport func (c *IAM) GenerateCredentialReportRequest(input *GenerateCredentialReportInput) (req *request.Request, output *GenerateCredentialReportOutput) { @@ -5147,14 +5144,15 @@ func (c *IAM) GenerateCredentialReportRequest(input *GenerateCredentialReportInp // API operation GenerateCredentialReport for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateCredentialReport func (c *IAM) GenerateCredentialReport(input *GenerateCredentialReportInput) (*GenerateCredentialReportOutput, error) { @@ -5194,14 +5192,13 @@ const opGenerateOrganizationsAccessReport = "GenerateOrganizationsAccessReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateOrganizationsAccessReportRequest method. +// req, resp := client.GenerateOrganizationsAccessReportRequest(params) // -// // Example sending a request using the GenerateOrganizationsAccessReportRequest method. -// req, resp := client.GenerateOrganizationsAccessReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateOrganizationsAccessReport func (c *IAM) GenerateOrganizationsAccessReportRequest(input *GenerateOrganizationsAccessReportInput) (req *request.Request, output *GenerateOrganizationsAccessReportOutput) { @@ -5270,63 +5267,63 @@ func (c *IAM) GenerateOrganizationsAccessReportRequest(input *GenerateOrganizati // entity path without specifying the optional Organizations policy ID. The // type of entity that you specify determines the data returned in the report. // -// * Root – When you specify the organizations root as the entity, the -// resulting report lists all of the services allowed by SCPs that are attached -// to your root. For each service, the report includes data for all accounts -// in your organization except the management account, because the management -// account is not limited by SCPs. +// - Root – When you specify the organizations root as the entity, the +// resulting report lists all of the services allowed by SCPs that are attached +// to your root. For each service, the report includes data for all accounts +// in your organization except the management account, because the management +// account is not limited by SCPs. // -// * OU – When you specify an organizational unit (OU) as the entity, the -// resulting report lists all of the services allowed by SCPs that are attached -// to the OU and its parents. For each service, the report includes data -// for all accounts in the OU or its children. This data excludes the management -// account, because the management account is not limited by SCPs. +// - OU – When you specify an organizational unit (OU) as the entity, the +// resulting report lists all of the services allowed by SCPs that are attached +// to the OU and its parents. For each service, the report includes data +// for all accounts in the OU or its children. This data excludes the management +// account, because the management account is not limited by SCPs. // -// * management account – When you specify the management account, the -// resulting report lists all Amazon Web Services services, because the management -// account is not limited by SCPs. For each service, the report includes -// data for only the management account. +// - management account – When you specify the management account, the +// resulting report lists all Amazon Web Services services, because the management +// account is not limited by SCPs. For each service, the report includes +// data for only the management account. // -// * Account – When you specify another account as the entity, the resulting -// report lists all of the services allowed by SCPs that are attached to -// the account and its parents. For each service, the report includes data -// for only the specified account. +// - Account – When you specify another account as the entity, the resulting +// report lists all of the services allowed by SCPs that are attached to +// the account and its parents. For each service, the report includes data +// for only the specified account. // // To generate a service last accessed data report for policies, specify an // entity path and the optional Organizations policy ID. The type of entity // that you specify determines the data returned for each service. // -// * Root – When you specify the root entity and a policy ID, the resulting -// report lists all of the services that are allowed by the specified SCP. -// For each service, the report includes data for all accounts in your organization -// to which the SCP applies. This data excludes the management account, because -// the management account is not limited by SCPs. If the SCP is not attached -// to any entities in the organization, then the report will return a list -// of services with no data. -// -// * OU – When you specify an OU entity and a policy ID, the resulting -// report lists all of the services that are allowed by the specified SCP. -// For each service, the report includes data for all accounts in the OU -// or its children to which the SCP applies. This means that other accounts -// outside the OU that are affected by the SCP might not be included in the -// data. This data excludes the management account, because the management -// account is not limited by SCPs. If the SCP is not attached to the OU or -// one of its children, the report will return a list of services with no -// data. -// -// * management account – When you specify the management account, the -// resulting report lists all Amazon Web Services services, because the management -// account is not limited by SCPs. If you specify a policy ID in the CLI -// or API, the policy is ignored. For each service, the report includes data -// for only the management account. -// -// * Account – When you specify another account entity and a policy ID, -// the resulting report lists all of the services that are allowed by the -// specified SCP. For each service, the report includes data for only the -// specified account. This means that other accounts in the organization -// that are affected by the SCP might not be included in the data. If the -// SCP is not attached to the account, the report will return a list of services -// with no data. +// - Root – When you specify the root entity and a policy ID, the resulting +// report lists all of the services that are allowed by the specified SCP. +// For each service, the report includes data for all accounts in your organization +// to which the SCP applies. This data excludes the management account, because +// the management account is not limited by SCPs. If the SCP is not attached +// to any entities in the organization, then the report will return a list +// of services with no data. +// +// - OU – When you specify an OU entity and a policy ID, the resulting +// report lists all of the services that are allowed by the specified SCP. +// For each service, the report includes data for all accounts in the OU +// or its children to which the SCP applies. This means that other accounts +// outside the OU that are affected by the SCP might not be included in the +// data. This data excludes the management account, because the management +// account is not limited by SCPs. If the SCP is not attached to the OU or +// one of its children, the report will return a list of services with no +// data. +// +// - management account – When you specify the management account, the +// resulting report lists all Amazon Web Services services, because the management +// account is not limited by SCPs. If you specify a policy ID in the CLI +// or API, the policy is ignored. For each service, the report includes data +// for only the management account. +// +// - Account – When you specify another account entity and a policy ID, +// the resulting report lists all of the services that are allowed by the +// specified SCP. For each service, the report includes data for only the +// specified account. This means that other accounts in the organization +// that are affected by the SCP might not be included in the data. If the +// SCP is not attached to the account, the report will return a list of services +// with no data. // // Service last accessed data does not use other policy types when determining // whether a principal could access a service. These other policy types include @@ -5348,9 +5345,9 @@ func (c *IAM) GenerateOrganizationsAccessReportRequest(input *GenerateOrganizati // API operation GenerateOrganizationsAccessReport for usage and error information. // // Returned Error Codes: -// * ErrCodeReportGenerationLimitExceededException "ReportGenerationLimitExceeded" -// The request failed because the maximum number of concurrent requests for -// this account are already running. +// - ErrCodeReportGenerationLimitExceededException "ReportGenerationLimitExceeded" +// The request failed because the maximum number of concurrent requests for +// this account are already running. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateOrganizationsAccessReport func (c *IAM) GenerateOrganizationsAccessReport(input *GenerateOrganizationsAccessReportInput) (*GenerateOrganizationsAccessReportOutput, error) { @@ -5390,14 +5387,13 @@ const opGenerateServiceLastAccessedDetails = "GenerateServiceLastAccessedDetails // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateServiceLastAccessedDetailsRequest method. +// req, resp := client.GenerateServiceLastAccessedDetailsRequest(params) // -// // Example sending a request using the GenerateServiceLastAccessedDetailsRequest method. -// req, resp := client.GenerateServiceLastAccessedDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateServiceLastAccessedDetails func (c *IAM) GenerateServiceLastAccessedDetailsRequest(input *GenerateServiceLastAccessedDetailsInput) (req *request.Request, output *GenerateServiceLastAccessedDetailsOutput) { @@ -5440,17 +5436,17 @@ func (c *IAM) GenerateServiceLastAccessedDetailsRequest(input *GenerateServiceLa // parameter in the following operations to retrieve the following details from // your report: // -// * GetServiceLastAccessedDetails – Use this operation for users, groups, -// roles, or policies to list every Amazon Web Services service that the -// resource could access using permissions policies. For each service, the -// response includes information about the most recent access attempt. The -// JobId returned by GenerateServiceLastAccessedDetail must be used by the -// same role within a session, or by the same user when used to call GetServiceLastAccessedDetail. +// - GetServiceLastAccessedDetails – Use this operation for users, groups, +// roles, or policies to list every Amazon Web Services service that the +// resource could access using permissions policies. For each service, the +// response includes information about the most recent access attempt. The +// JobId returned by GenerateServiceLastAccessedDetail must be used by the +// same role within a session, or by the same user when used to call GetServiceLastAccessedDetail. // -// * GetServiceLastAccessedDetailsWithEntities – Use this operation for -// groups and policies to list information about the associated entities -// (users or roles) that attempted to access a specific Amazon Web Services -// service. +// - GetServiceLastAccessedDetailsWithEntities – Use this operation for +// groups and policies to list information about the associated entities +// (users or roles) that attempted to access a specific Amazon Web Services +// service. // // To check the status of the GenerateServiceLastAccessedDetails request, use // the JobId parameter in the same operations and test the JobStatus response @@ -5480,13 +5476,14 @@ func (c *IAM) GenerateServiceLastAccessedDetailsRequest(input *GenerateServiceLa // API operation GenerateServiceLastAccessedDetails for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateServiceLastAccessedDetails func (c *IAM) GenerateServiceLastAccessedDetails(input *GenerateServiceLastAccessedDetailsInput) (*GenerateServiceLastAccessedDetailsOutput, error) { @@ -5526,14 +5523,13 @@ const opGetAccessKeyLastUsed = "GetAccessKeyLastUsed" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccessKeyLastUsedRequest method. +// req, resp := client.GetAccessKeyLastUsedRequest(params) // -// // Example sending a request using the GetAccessKeyLastUsedRequest method. -// req, resp := client.GetAccessKeyLastUsedRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccessKeyLastUsed func (c *IAM) GetAccessKeyLastUsedRequest(input *GetAccessKeyLastUsedInput) (req *request.Request, output *GetAccessKeyLastUsedOutput) { @@ -5567,9 +5563,9 @@ func (c *IAM) GetAccessKeyLastUsedRequest(input *GetAccessKeyLastUsedInput) (req // API operation GetAccessKeyLastUsed for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccessKeyLastUsed func (c *IAM) GetAccessKeyLastUsed(input *GetAccessKeyLastUsedInput) (*GetAccessKeyLastUsedOutput, error) { @@ -5609,14 +5605,13 @@ const opGetAccountAuthorizationDetails = "GetAccountAuthorizationDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountAuthorizationDetailsRequest method. +// req, resp := client.GetAccountAuthorizationDetailsRequest(params) // -// // Example sending a request using the GetAccountAuthorizationDetailsRequest method. -// req, resp := client.GetAccountAuthorizationDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountAuthorizationDetails func (c *IAM) GetAccountAuthorizationDetailsRequest(input *GetAccountAuthorizationDetailsInput) (req *request.Request, output *GetAccountAuthorizationDetailsOutput) { @@ -5665,9 +5660,9 @@ func (c *IAM) GetAccountAuthorizationDetailsRequest(input *GetAccountAuthorizati // API operation GetAccountAuthorizationDetails for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountAuthorizationDetails func (c *IAM) GetAccountAuthorizationDetails(input *GetAccountAuthorizationDetailsInput) (*GetAccountAuthorizationDetailsOutput, error) { @@ -5699,15 +5694,14 @@ func (c *IAM) GetAccountAuthorizationDetailsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetAccountAuthorizationDetails operation. -// pageNum := 0 -// err := client.GetAccountAuthorizationDetailsPages(params, -// func(page *iam.GetAccountAuthorizationDetailsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetAccountAuthorizationDetails operation. +// pageNum := 0 +// err := client.GetAccountAuthorizationDetailsPages(params, +// func(page *iam.GetAccountAuthorizationDetailsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) GetAccountAuthorizationDetailsPages(input *GetAccountAuthorizationDetailsInput, fn func(*GetAccountAuthorizationDetailsOutput, bool) bool) error { return c.GetAccountAuthorizationDetailsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5759,14 +5753,13 @@ const opGetAccountPasswordPolicy = "GetAccountPasswordPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountPasswordPolicyRequest method. +// req, resp := client.GetAccountPasswordPolicyRequest(params) // -// // Example sending a request using the GetAccountPasswordPolicyRequest method. -// req, resp := client.GetAccountPasswordPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountPasswordPolicy func (c *IAM) GetAccountPasswordPolicyRequest(input *GetAccountPasswordPolicyInput) (req *request.Request, output *GetAccountPasswordPolicyOutput) { @@ -5800,13 +5793,14 @@ func (c *IAM) GetAccountPasswordPolicyRequest(input *GetAccountPasswordPolicyInp // API operation GetAccountPasswordPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountPasswordPolicy func (c *IAM) GetAccountPasswordPolicy(input *GetAccountPasswordPolicyInput) (*GetAccountPasswordPolicyOutput, error) { @@ -5846,14 +5840,13 @@ const opGetAccountSummary = "GetAccountSummary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountSummaryRequest method. +// req, resp := client.GetAccountSummaryRequest(params) // -// // Example sending a request using the GetAccountSummaryRequest method. -// req, resp := client.GetAccountSummaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountSummary func (c *IAM) GetAccountSummaryRequest(input *GetAccountSummaryInput) (req *request.Request, output *GetAccountSummaryOutput) { @@ -5888,9 +5881,9 @@ func (c *IAM) GetAccountSummaryRequest(input *GetAccountSummaryInput) (req *requ // API operation GetAccountSummary for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetAccountSummary func (c *IAM) GetAccountSummary(input *GetAccountSummaryInput) (*GetAccountSummaryOutput, error) { @@ -5930,14 +5923,13 @@ const opGetContextKeysForCustomPolicy = "GetContextKeysForCustomPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContextKeysForCustomPolicyRequest method. +// req, resp := client.GetContextKeysForCustomPolicyRequest(params) // -// // Example sending a request using the GetContextKeysForCustomPolicyRequest method. -// req, resp := client.GetContextKeysForCustomPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForCustomPolicy func (c *IAM) GetContextKeysForCustomPolicyRequest(input *GetContextKeysForCustomPolicyInput) (req *request.Request, output *GetContextKeysForPolicyResponse) { @@ -5978,9 +5970,9 @@ func (c *IAM) GetContextKeysForCustomPolicyRequest(input *GetContextKeysForCusto // API operation GetContextKeysForCustomPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForCustomPolicy func (c *IAM) GetContextKeysForCustomPolicy(input *GetContextKeysForCustomPolicyInput) (*GetContextKeysForPolicyResponse, error) { @@ -6020,14 +6012,13 @@ const opGetContextKeysForPrincipalPolicy = "GetContextKeysForPrincipalPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContextKeysForPrincipalPolicyRequest method. +// req, resp := client.GetContextKeysForPrincipalPolicyRequest(params) // -// // Example sending a request using the GetContextKeysForPrincipalPolicyRequest method. -// req, resp := client.GetContextKeysForPrincipalPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForPrincipalPolicy func (c *IAM) GetContextKeysForPrincipalPolicyRequest(input *GetContextKeysForPrincipalPolicyInput) (req *request.Request, output *GetContextKeysForPolicyResponse) { @@ -6074,13 +6065,14 @@ func (c *IAM) GetContextKeysForPrincipalPolicyRequest(input *GetContextKeysForPr // API operation GetContextKeysForPrincipalPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetContextKeysForPrincipalPolicy func (c *IAM) GetContextKeysForPrincipalPolicy(input *GetContextKeysForPrincipalPolicyInput) (*GetContextKeysForPolicyResponse, error) { @@ -6120,14 +6112,13 @@ const opGetCredentialReport = "GetCredentialReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCredentialReportRequest method. +// req, resp := client.GetCredentialReportRequest(params) // -// // Example sending a request using the GetCredentialReportRequest method. -// req, resp := client.GetCredentialReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetCredentialReport func (c *IAM) GetCredentialReportRequest(input *GetCredentialReportInput) (req *request.Request, output *GetCredentialReportOutput) { @@ -6160,23 +6151,24 @@ func (c *IAM) GetCredentialReportRequest(input *GetCredentialReportInput) (req * // API operation GetCredentialReport for usage and error information. // // Returned Error Codes: -// * ErrCodeCredentialReportNotPresentException "ReportNotPresent" -// The request was rejected because the credential report does not exist. To -// generate a credential report, use GenerateCredentialReport. // -// * ErrCodeCredentialReportExpiredException "ReportExpired" -// The request was rejected because the most recent credential report has expired. -// To generate a new credential report, use GenerateCredentialReport. For more -// information about credential report expiration, see Getting credential reports -// (https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html) -// in the IAM User Guide. +// - ErrCodeCredentialReportNotPresentException "ReportNotPresent" +// The request was rejected because the credential report does not exist. To +// generate a credential report, use GenerateCredentialReport. +// +// - ErrCodeCredentialReportExpiredException "ReportExpired" +// The request was rejected because the most recent credential report has expired. +// To generate a new credential report, use GenerateCredentialReport. For more +// information about credential report expiration, see Getting credential reports +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html) +// in the IAM User Guide. // -// * ErrCodeCredentialReportNotReadyException "ReportInProgress" -// The request was rejected because the credential report is still being generated. +// - ErrCodeCredentialReportNotReadyException "ReportInProgress" +// The request was rejected because the credential report is still being generated. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetCredentialReport func (c *IAM) GetCredentialReport(input *GetCredentialReportInput) (*GetCredentialReportOutput, error) { @@ -6216,14 +6208,13 @@ const opGetGroup = "GetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGroupRequest method. +// req, resp := client.GetGroupRequest(params) // -// // Example sending a request using the GetGroupRequest method. -// req, resp := client.GetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroup func (c *IAM) GetGroupRequest(input *GetGroupInput) (req *request.Request, output *GetGroupOutput) { @@ -6261,13 +6252,14 @@ func (c *IAM) GetGroupRequest(input *GetGroupInput) (req *request.Request, outpu // API operation GetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroup func (c *IAM) GetGroup(input *GetGroupInput) (*GetGroupOutput, error) { @@ -6299,15 +6291,14 @@ func (c *IAM) GetGroupWithContext(ctx aws.Context, input *GetGroupInput, opts .. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetGroup operation. -// pageNum := 0 -// err := client.GetGroupPages(params, -// func(page *iam.GetGroupOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetGroup operation. +// pageNum := 0 +// err := client.GetGroupPages(params, +// func(page *iam.GetGroupOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) GetGroupPages(input *GetGroupInput, fn func(*GetGroupOutput, bool) bool) error { return c.GetGroupPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6359,14 +6350,13 @@ const opGetGroupPolicy = "GetGroupPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGroupPolicyRequest method. +// req, resp := client.GetGroupPolicyRequest(params) // -// // Example sending a request using the GetGroupPolicyRequest method. -// req, resp := client.GetGroupPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupPolicy func (c *IAM) GetGroupPolicyRequest(input *GetGroupPolicyInput) (req *request.Request, output *GetGroupPolicyOutput) { @@ -6413,13 +6403,14 @@ func (c *IAM) GetGroupPolicyRequest(input *GetGroupPolicyInput) (req *request.Re // API operation GetGroupPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupPolicy func (c *IAM) GetGroupPolicy(input *GetGroupPolicyInput) (*GetGroupPolicyOutput, error) { @@ -6459,14 +6450,13 @@ const opGetInstanceProfile = "GetInstanceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInstanceProfileRequest method. +// req, resp := client.GetInstanceProfileRequest(params) // -// // Example sending a request using the GetInstanceProfileRequest method. -// req, resp := client.GetInstanceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetInstanceProfile func (c *IAM) GetInstanceProfileRequest(input *GetInstanceProfileInput) (req *request.Request, output *GetInstanceProfileOutput) { @@ -6500,13 +6490,14 @@ func (c *IAM) GetInstanceProfileRequest(input *GetInstanceProfileInput) (req *re // API operation GetInstanceProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetInstanceProfile func (c *IAM) GetInstanceProfile(input *GetInstanceProfileInput) (*GetInstanceProfileOutput, error) { @@ -6546,14 +6537,13 @@ const opGetLoginProfile = "GetLoginProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLoginProfileRequest method. +// req, resp := client.GetLoginProfileRequest(params) // -// // Example sending a request using the GetLoginProfileRequest method. -// req, resp := client.GetLoginProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetLoginProfile func (c *IAM) GetLoginProfileRequest(input *GetLoginProfileInput) (req *request.Request, output *GetLoginProfileOutput) { @@ -6596,13 +6586,14 @@ func (c *IAM) GetLoginProfileRequest(input *GetLoginProfileInput) (req *request. // API operation GetLoginProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetLoginProfile func (c *IAM) GetLoginProfile(input *GetLoginProfileInput) (*GetLoginProfileOutput, error) { @@ -6642,14 +6633,13 @@ const opGetOpenIDConnectProvider = "GetOpenIDConnectProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOpenIDConnectProviderRequest method. +// req, resp := client.GetOpenIDConnectProviderRequest(params) // -// // Example sending a request using the GetOpenIDConnectProviderRequest method. -// req, resp := client.GetOpenIDConnectProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOpenIDConnectProvider func (c *IAM) GetOpenIDConnectProviderRequest(input *GetOpenIDConnectProviderInput) (req *request.Request, output *GetOpenIDConnectProviderOutput) { @@ -6681,17 +6671,18 @@ func (c *IAM) GetOpenIDConnectProviderRequest(input *GetOpenIDConnectProviderInp // API operation GetOpenIDConnectProvider for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOpenIDConnectProvider func (c *IAM) GetOpenIDConnectProvider(input *GetOpenIDConnectProviderInput) (*GetOpenIDConnectProviderOutput, error) { @@ -6731,14 +6722,13 @@ const opGetOrganizationsAccessReport = "GetOrganizationsAccessReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOrganizationsAccessReportRequest method. +// req, resp := client.GetOrganizationsAccessReportRequest(params) // -// // Example sending a request using the GetOrganizationsAccessReportRequest method. -// req, resp := client.GetOrganizationsAccessReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOrganizationsAccessReport func (c *IAM) GetOrganizationsAccessReportRequest(input *GetOrganizationsAccessReportInput) (req *request.Request, output *GetOrganizationsAccessReportOutput) { @@ -6788,9 +6778,9 @@ func (c *IAM) GetOrganizationsAccessReportRequest(input *GetOrganizationsAccessR // API operation GetOrganizationsAccessReport for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOrganizationsAccessReport func (c *IAM) GetOrganizationsAccessReport(input *GetOrganizationsAccessReportInput) (*GetOrganizationsAccessReportOutput, error) { @@ -6830,14 +6820,13 @@ const opGetPolicy = "GetPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPolicyRequest method. +// req, resp := client.GetPolicyRequest(params) // -// // Example sending a request using the GetPolicyRequest method. -// req, resp := client.GetPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicy func (c *IAM) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput) { @@ -6881,17 +6870,18 @@ func (c *IAM) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, out // API operation GetPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicy func (c *IAM) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error) { @@ -6931,14 +6921,13 @@ const opGetPolicyVersion = "GetPolicyVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPolicyVersionRequest method. +// req, resp := client.GetPolicyVersionRequest(params) // -// // Example sending a request using the GetPolicyVersionRequest method. -// req, resp := client.GetPolicyVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyVersion func (c *IAM) GetPolicyVersionRequest(input *GetPolicyVersionInput) (req *request.Request, output *GetPolicyVersionOutput) { @@ -6990,17 +6979,18 @@ func (c *IAM) GetPolicyVersionRequest(input *GetPolicyVersionInput) (req *reques // API operation GetPolicyVersion for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetPolicyVersion func (c *IAM) GetPolicyVersion(input *GetPolicyVersionInput) (*GetPolicyVersionOutput, error) { @@ -7040,14 +7030,13 @@ const opGetRole = "GetRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRoleRequest method. +// req, resp := client.GetRoleRequest(params) // -// // Example sending a request using the GetRoleRequest method. -// req, resp := client.GetRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRole func (c *IAM) GetRoleRequest(input *GetRoleInput) (req *request.Request, output *GetRoleOutput) { @@ -7086,13 +7075,14 @@ func (c *IAM) GetRoleRequest(input *GetRoleInput) (req *request.Request, output // API operation GetRole for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRole func (c *IAM) GetRole(input *GetRoleInput) (*GetRoleOutput, error) { @@ -7132,14 +7122,13 @@ const opGetRolePolicy = "GetRolePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRolePolicyRequest method. +// req, resp := client.GetRolePolicyRequest(params) // -// // Example sending a request using the GetRolePolicyRequest method. -// req, resp := client.GetRolePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRolePolicy func (c *IAM) GetRolePolicyRequest(input *GetRolePolicyInput) (req *request.Request, output *GetRolePolicyOutput) { @@ -7189,13 +7178,14 @@ func (c *IAM) GetRolePolicyRequest(input *GetRolePolicyInput) (req *request.Requ // API operation GetRolePolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRolePolicy func (c *IAM) GetRolePolicy(input *GetRolePolicyInput) (*GetRolePolicyOutput, error) { @@ -7235,14 +7225,13 @@ const opGetSAMLProvider = "GetSAMLProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSAMLProviderRequest method. +// req, resp := client.GetSAMLProviderRequest(params) // -// // Example sending a request using the GetSAMLProviderRequest method. -// req, resp := client.GetSAMLProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSAMLProvider func (c *IAM) GetSAMLProviderRequest(input *GetSAMLProviderInput) (req *request.Request, output *GetSAMLProviderOutput) { @@ -7276,17 +7265,18 @@ func (c *IAM) GetSAMLProviderRequest(input *GetSAMLProviderInput) (req *request. // API operation GetSAMLProvider for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSAMLProvider func (c *IAM) GetSAMLProvider(input *GetSAMLProviderInput) (*GetSAMLProviderOutput, error) { @@ -7326,14 +7316,13 @@ const opGetSSHPublicKey = "GetSSHPublicKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSSHPublicKeyRequest method. +// req, resp := client.GetSSHPublicKeyRequest(params) // -// // Example sending a request using the GetSSHPublicKeyRequest method. -// req, resp := client.GetSSHPublicKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSSHPublicKey func (c *IAM) GetSSHPublicKeyRequest(input *GetSSHPublicKeyInput) (req *request.Request, output *GetSSHPublicKeyOutput) { @@ -7370,13 +7359,14 @@ func (c *IAM) GetSSHPublicKeyRequest(input *GetSSHPublicKeyInput) (req *request. // API operation GetSSHPublicKey for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeUnrecognizedPublicKeyEncodingException "UnrecognizedPublicKeyEncoding" -// The request was rejected because the public key encoding format is unsupported -// or unrecognized. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeUnrecognizedPublicKeyEncodingException "UnrecognizedPublicKeyEncoding" +// The request was rejected because the public key encoding format is unsupported +// or unrecognized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetSSHPublicKey func (c *IAM) GetSSHPublicKey(input *GetSSHPublicKeyInput) (*GetSSHPublicKeyOutput, error) { @@ -7416,14 +7406,13 @@ const opGetServerCertificate = "GetServerCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServerCertificateRequest method. +// req, resp := client.GetServerCertificateRequest(params) // -// // Example sending a request using the GetServerCertificateRequest method. -// req, resp := client.GetServerCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServerCertificate func (c *IAM) GetServerCertificateRequest(input *GetServerCertificateInput) (req *request.Request, output *GetServerCertificateOutput) { @@ -7459,13 +7448,14 @@ func (c *IAM) GetServerCertificateRequest(input *GetServerCertificateInput) (req // API operation GetServerCertificate for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServerCertificate func (c *IAM) GetServerCertificate(input *GetServerCertificateInput) (*GetServerCertificateOutput, error) { @@ -7505,14 +7495,13 @@ const opGetServiceLastAccessedDetails = "GetServiceLastAccessedDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceLastAccessedDetailsRequest method. +// req, resp := client.GetServiceLastAccessedDetailsRequest(params) // -// // Example sending a request using the GetServiceLastAccessedDetailsRequest method. -// req, resp := client.GetServiceLastAccessedDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLastAccessedDetails func (c *IAM) GetServiceLastAccessedDetailsRequest(input *GetServiceLastAccessedDetailsInput) (req *request.Request, output *GetServiceLastAccessedDetailsOutput) { @@ -7560,15 +7549,15 @@ func (c *IAM) GetServiceLastAccessedDetailsRequest(input *GetServiceLastAccessed // following entity, depending on the resource ARN that you used to generate // the report: // -// * User – Returns the user ARN that you used to generate the report +// - User – Returns the user ARN that you used to generate the report // -// * Group – Returns the ARN of the group member (user) that last attempted -// to access the service +// - Group – Returns the ARN of the group member (user) that last attempted +// to access the service // -// * Role – Returns the role ARN that you used to generate the report +// - Role – Returns the role ARN that you used to generate the report // -// * Policy – Returns the ARN of the user or role that last used the policy -// to attempt to access the service +// - Policy – Returns the ARN of the user or role that last used the policy +// to attempt to access the service // // By default, the list is sorted by service namespace. // @@ -7589,13 +7578,14 @@ func (c *IAM) GetServiceLastAccessedDetailsRequest(input *GetServiceLastAccessed // API operation GetServiceLastAccessedDetails for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLastAccessedDetails func (c *IAM) GetServiceLastAccessedDetails(input *GetServiceLastAccessedDetailsInput) (*GetServiceLastAccessedDetailsOutput, error) { @@ -7635,14 +7625,13 @@ const opGetServiceLastAccessedDetailsWithEntities = "GetServiceLastAccessedDetai // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceLastAccessedDetailsWithEntitiesRequest method. +// req, resp := client.GetServiceLastAccessedDetailsWithEntitiesRequest(params) // -// // Example sending a request using the GetServiceLastAccessedDetailsWithEntitiesRequest method. -// req, resp := client.GetServiceLastAccessedDetailsWithEntitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLastAccessedDetailsWithEntities func (c *IAM) GetServiceLastAccessedDetailsWithEntitiesRequest(input *GetServiceLastAccessedDetailsWithEntitiesInput) (req *request.Request, output *GetServiceLastAccessedDetailsWithEntitiesOutput) { @@ -7669,13 +7658,13 @@ func (c *IAM) GetServiceLastAccessedDetailsWithEntitiesRequest(input *GetService // that could have used group or policy permissions to access the specified // service. // -// * Group – For a group report, this operation returns a list of users -// in the group that could have used the group’s policies in an attempt -// to access the service. +// - Group – For a group report, this operation returns a list of users +// in the group that could have used the group’s policies in an attempt +// to access the service. // -// * Policy – For a policy report, this operation returns a list of entities -// (users or roles) that could have used the policy in an attempt to access -// the service. +// - Policy – For a policy report, this operation returns a list of entities +// (users or roles) that could have used the policy in an attempt to access +// the service. // // You can also use this operation for user or role reports to retrieve details // about those entities. @@ -7694,13 +7683,14 @@ func (c *IAM) GetServiceLastAccessedDetailsWithEntitiesRequest(input *GetService // API operation GetServiceLastAccessedDetailsWithEntities for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLastAccessedDetailsWithEntities func (c *IAM) GetServiceLastAccessedDetailsWithEntities(input *GetServiceLastAccessedDetailsWithEntitiesInput) (*GetServiceLastAccessedDetailsWithEntitiesOutput, error) { @@ -7740,14 +7730,13 @@ const opGetServiceLinkedRoleDeletionStatus = "GetServiceLinkedRoleDeletionStatus // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceLinkedRoleDeletionStatusRequest method. +// req, resp := client.GetServiceLinkedRoleDeletionStatusRequest(params) // -// // Example sending a request using the GetServiceLinkedRoleDeletionStatusRequest method. -// req, resp := client.GetServiceLinkedRoleDeletionStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLinkedRoleDeletionStatus func (c *IAM) GetServiceLinkedRoleDeletionStatusRequest(input *GetServiceLinkedRoleDeletionStatusInput) (req *request.Request, output *GetServiceLinkedRoleDeletionStatusOutput) { @@ -7783,17 +7772,18 @@ func (c *IAM) GetServiceLinkedRoleDeletionStatusRequest(input *GetServiceLinkedR // API operation GetServiceLinkedRoleDeletionStatus for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetServiceLinkedRoleDeletionStatus func (c *IAM) GetServiceLinkedRoleDeletionStatus(input *GetServiceLinkedRoleDeletionStatusInput) (*GetServiceLinkedRoleDeletionStatusOutput, error) { @@ -7833,14 +7823,13 @@ const opGetUser = "GetUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUserRequest method. +// req, resp := client.GetUserRequest(params) // -// // Example sending a request using the GetUserRequest method. -// req, resp := client.GetUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUser func (c *IAM) GetUserRequest(input *GetUserInput) (req *request.Request, output *GetUserOutput) { @@ -7876,13 +7865,14 @@ func (c *IAM) GetUserRequest(input *GetUserInput) (req *request.Request, output // API operation GetUser for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUser func (c *IAM) GetUser(input *GetUserInput) (*GetUserOutput, error) { @@ -7922,14 +7912,13 @@ const opGetUserPolicy = "GetUserPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUserPolicyRequest method. +// req, resp := client.GetUserPolicyRequest(params) // -// // Example sending a request using the GetUserPolicyRequest method. -// req, resp := client.GetUserPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserPolicy func (c *IAM) GetUserPolicyRequest(input *GetUserPolicyInput) (req *request.Request, output *GetUserPolicyOutput) { @@ -7976,13 +7965,14 @@ func (c *IAM) GetUserPolicyRequest(input *GetUserPolicyInput) (req *request.Requ // API operation GetUserPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserPolicy func (c *IAM) GetUserPolicy(input *GetUserPolicyInput) (*GetUserPolicyOutput, error) { @@ -8022,14 +8012,13 @@ const opListAccessKeys = "ListAccessKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccessKeysRequest method. +// req, resp := client.ListAccessKeysRequest(params) // -// // Example sending a request using the ListAccessKeysRequest method. -// req, resp := client.ListAccessKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccessKeys func (c *IAM) ListAccessKeysRequest(input *ListAccessKeysInput) (req *request.Request, output *ListAccessKeysOutput) { @@ -8080,13 +8069,14 @@ func (c *IAM) ListAccessKeysRequest(input *ListAccessKeysInput) (req *request.Re // API operation ListAccessKeys for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccessKeys func (c *IAM) ListAccessKeys(input *ListAccessKeysInput) (*ListAccessKeysOutput, error) { @@ -8118,15 +8108,14 @@ func (c *IAM) ListAccessKeysWithContext(ctx aws.Context, input *ListAccessKeysIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccessKeys operation. -// pageNum := 0 -// err := client.ListAccessKeysPages(params, -// func(page *iam.ListAccessKeysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccessKeys operation. +// pageNum := 0 +// err := client.ListAccessKeysPages(params, +// func(page *iam.ListAccessKeysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListAccessKeysPages(input *ListAccessKeysInput, fn func(*ListAccessKeysOutput, bool) bool) error { return c.ListAccessKeysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8178,14 +8167,13 @@ const opListAccountAliases = "ListAccountAliases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccountAliasesRequest method. +// req, resp := client.ListAccountAliasesRequest(params) // -// // Example sending a request using the ListAccountAliasesRequest method. -// req, resp := client.ListAccountAliasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccountAliases func (c *IAM) ListAccountAliasesRequest(input *ListAccountAliasesInput) (req *request.Request, output *ListAccountAliasesOutput) { @@ -8226,9 +8214,9 @@ func (c *IAM) ListAccountAliasesRequest(input *ListAccountAliasesInput) (req *re // API operation ListAccountAliases for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAccountAliases func (c *IAM) ListAccountAliases(input *ListAccountAliasesInput) (*ListAccountAliasesOutput, error) { @@ -8260,15 +8248,14 @@ func (c *IAM) ListAccountAliasesWithContext(ctx aws.Context, input *ListAccountA // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccountAliases operation. -// pageNum := 0 -// err := client.ListAccountAliasesPages(params, -// func(page *iam.ListAccountAliasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccountAliases operation. +// pageNum := 0 +// err := client.ListAccountAliasesPages(params, +// func(page *iam.ListAccountAliasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListAccountAliasesPages(input *ListAccountAliasesInput, fn func(*ListAccountAliasesOutput, bool) bool) error { return c.ListAccountAliasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8320,14 +8307,13 @@ const opListAttachedGroupPolicies = "ListAttachedGroupPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAttachedGroupPoliciesRequest method. +// req, resp := client.ListAttachedGroupPoliciesRequest(params) // -// // Example sending a request using the ListAttachedGroupPoliciesRequest method. -// req, resp := client.ListAttachedGroupPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedGroupPolicies func (c *IAM) ListAttachedGroupPoliciesRequest(input *ListAttachedGroupPoliciesInput) (req *request.Request, output *ListAttachedGroupPoliciesOutput) { @@ -8375,17 +8361,18 @@ func (c *IAM) ListAttachedGroupPoliciesRequest(input *ListAttachedGroupPoliciesI // API operation ListAttachedGroupPolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedGroupPolicies func (c *IAM) ListAttachedGroupPolicies(input *ListAttachedGroupPoliciesInput) (*ListAttachedGroupPoliciesOutput, error) { @@ -8417,15 +8404,14 @@ func (c *IAM) ListAttachedGroupPoliciesWithContext(ctx aws.Context, input *ListA // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAttachedGroupPolicies operation. -// pageNum := 0 -// err := client.ListAttachedGroupPoliciesPages(params, -// func(page *iam.ListAttachedGroupPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAttachedGroupPolicies operation. +// pageNum := 0 +// err := client.ListAttachedGroupPoliciesPages(params, +// func(page *iam.ListAttachedGroupPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListAttachedGroupPoliciesPages(input *ListAttachedGroupPoliciesInput, fn func(*ListAttachedGroupPoliciesOutput, bool) bool) error { return c.ListAttachedGroupPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8477,14 +8463,13 @@ const opListAttachedRolePolicies = "ListAttachedRolePolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAttachedRolePoliciesRequest method. +// req, resp := client.ListAttachedRolePoliciesRequest(params) // -// // Example sending a request using the ListAttachedRolePoliciesRequest method. -// req, resp := client.ListAttachedRolePoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedRolePolicies func (c *IAM) ListAttachedRolePoliciesRequest(input *ListAttachedRolePoliciesInput) (req *request.Request, output *ListAttachedRolePoliciesOutput) { @@ -8532,17 +8517,18 @@ func (c *IAM) ListAttachedRolePoliciesRequest(input *ListAttachedRolePoliciesInp // API operation ListAttachedRolePolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedRolePolicies func (c *IAM) ListAttachedRolePolicies(input *ListAttachedRolePoliciesInput) (*ListAttachedRolePoliciesOutput, error) { @@ -8574,15 +8560,14 @@ func (c *IAM) ListAttachedRolePoliciesWithContext(ctx aws.Context, input *ListAt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAttachedRolePolicies operation. -// pageNum := 0 -// err := client.ListAttachedRolePoliciesPages(params, -// func(page *iam.ListAttachedRolePoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAttachedRolePolicies operation. +// pageNum := 0 +// err := client.ListAttachedRolePoliciesPages(params, +// func(page *iam.ListAttachedRolePoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListAttachedRolePoliciesPages(input *ListAttachedRolePoliciesInput, fn func(*ListAttachedRolePoliciesOutput, bool) bool) error { return c.ListAttachedRolePoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8634,14 +8619,13 @@ const opListAttachedUserPolicies = "ListAttachedUserPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAttachedUserPoliciesRequest method. +// req, resp := client.ListAttachedUserPoliciesRequest(params) // -// // Example sending a request using the ListAttachedUserPoliciesRequest method. -// req, resp := client.ListAttachedUserPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedUserPolicies func (c *IAM) ListAttachedUserPoliciesRequest(input *ListAttachedUserPoliciesInput) (req *request.Request, output *ListAttachedUserPoliciesOutput) { @@ -8689,17 +8673,18 @@ func (c *IAM) ListAttachedUserPoliciesRequest(input *ListAttachedUserPoliciesInp // API operation ListAttachedUserPolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListAttachedUserPolicies func (c *IAM) ListAttachedUserPolicies(input *ListAttachedUserPoliciesInput) (*ListAttachedUserPoliciesOutput, error) { @@ -8731,15 +8716,14 @@ func (c *IAM) ListAttachedUserPoliciesWithContext(ctx aws.Context, input *ListAt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAttachedUserPolicies operation. -// pageNum := 0 -// err := client.ListAttachedUserPoliciesPages(params, -// func(page *iam.ListAttachedUserPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAttachedUserPolicies operation. +// pageNum := 0 +// err := client.ListAttachedUserPoliciesPages(params, +// func(page *iam.ListAttachedUserPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListAttachedUserPoliciesPages(input *ListAttachedUserPoliciesInput, fn func(*ListAttachedUserPoliciesOutput, bool) bool) error { return c.ListAttachedUserPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8791,14 +8775,13 @@ const opListEntitiesForPolicy = "ListEntitiesForPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEntitiesForPolicyRequest method. +// req, resp := client.ListEntitiesForPolicyRequest(params) // -// // Example sending a request using the ListEntitiesForPolicyRequest method. -// req, resp := client.ListEntitiesForPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListEntitiesForPolicy func (c *IAM) ListEntitiesForPolicyRequest(input *ListEntitiesForPolicyInput) (req *request.Request, output *ListEntitiesForPolicyOutput) { @@ -8843,17 +8826,18 @@ func (c *IAM) ListEntitiesForPolicyRequest(input *ListEntitiesForPolicyInput) (r // API operation ListEntitiesForPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListEntitiesForPolicy func (c *IAM) ListEntitiesForPolicy(input *ListEntitiesForPolicyInput) (*ListEntitiesForPolicyOutput, error) { @@ -8885,15 +8869,14 @@ func (c *IAM) ListEntitiesForPolicyWithContext(ctx aws.Context, input *ListEntit // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEntitiesForPolicy operation. -// pageNum := 0 -// err := client.ListEntitiesForPolicyPages(params, -// func(page *iam.ListEntitiesForPolicyOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEntitiesForPolicy operation. +// pageNum := 0 +// err := client.ListEntitiesForPolicyPages(params, +// func(page *iam.ListEntitiesForPolicyOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListEntitiesForPolicyPages(input *ListEntitiesForPolicyInput, fn func(*ListEntitiesForPolicyOutput, bool) bool) error { return c.ListEntitiesForPolicyPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8945,14 +8928,13 @@ const opListGroupPolicies = "ListGroupPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroupPoliciesRequest method. +// req, resp := client.ListGroupPoliciesRequest(params) // -// // Example sending a request using the ListGroupPoliciesRequest method. -// req, resp := client.ListGroupPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupPolicies func (c *IAM) ListGroupPoliciesRequest(input *ListGroupPoliciesInput) (req *request.Request, output *ListGroupPoliciesOutput) { @@ -9000,13 +8982,14 @@ func (c *IAM) ListGroupPoliciesRequest(input *ListGroupPoliciesInput) (req *requ // API operation ListGroupPolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupPolicies func (c *IAM) ListGroupPolicies(input *ListGroupPoliciesInput) (*ListGroupPoliciesOutput, error) { @@ -9038,15 +9021,14 @@ func (c *IAM) ListGroupPoliciesWithContext(ctx aws.Context, input *ListGroupPoli // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGroupPolicies operation. -// pageNum := 0 -// err := client.ListGroupPoliciesPages(params, -// func(page *iam.ListGroupPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGroupPolicies operation. +// pageNum := 0 +// err := client.ListGroupPoliciesPages(params, +// func(page *iam.ListGroupPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListGroupPoliciesPages(input *ListGroupPoliciesInput, fn func(*ListGroupPoliciesOutput, bool) bool) error { return c.ListGroupPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9098,14 +9080,13 @@ const opListGroups = "ListGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroupsRequest method. +// req, resp := client.ListGroupsRequest(params) // -// // Example sending a request using the ListGroupsRequest method. -// req, resp := client.ListGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroups func (c *IAM) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput) { @@ -9144,9 +9125,9 @@ func (c *IAM) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, o // API operation ListGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroups func (c *IAM) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error) { @@ -9178,15 +9159,14 @@ func (c *IAM) ListGroupsWithContext(ctx aws.Context, input *ListGroupsInput, opt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGroups operation. -// pageNum := 0 -// err := client.ListGroupsPages(params, -// func(page *iam.ListGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGroups operation. +// pageNum := 0 +// err := client.ListGroupsPages(params, +// func(page *iam.ListGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListGroupsPages(input *ListGroupsInput, fn func(*ListGroupsOutput, bool) bool) error { return c.ListGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9238,14 +9218,13 @@ const opListGroupsForUser = "ListGroupsForUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroupsForUserRequest method. +// req, resp := client.ListGroupsForUserRequest(params) // -// // Example sending a request using the ListGroupsForUserRequest method. -// req, resp := client.ListGroupsForUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsForUser func (c *IAM) ListGroupsForUserRequest(input *ListGroupsForUserInput) (req *request.Request, output *ListGroupsForUserOutput) { @@ -9284,13 +9263,14 @@ func (c *IAM) ListGroupsForUserRequest(input *ListGroupsForUserInput) (req *requ // API operation ListGroupsForUser for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListGroupsForUser func (c *IAM) ListGroupsForUser(input *ListGroupsForUserInput) (*ListGroupsForUserOutput, error) { @@ -9322,15 +9302,14 @@ func (c *IAM) ListGroupsForUserWithContext(ctx aws.Context, input *ListGroupsFor // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGroupsForUser operation. -// pageNum := 0 -// err := client.ListGroupsForUserPages(params, -// func(page *iam.ListGroupsForUserOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGroupsForUser operation. +// pageNum := 0 +// err := client.ListGroupsForUserPages(params, +// func(page *iam.ListGroupsForUserOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListGroupsForUserPages(input *ListGroupsForUserInput, fn func(*ListGroupsForUserOutput, bool) bool) error { return c.ListGroupsForUserPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9382,14 +9361,13 @@ const opListInstanceProfileTags = "ListInstanceProfileTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInstanceProfileTagsRequest method. +// req, resp := client.ListInstanceProfileTagsRequest(params) // -// // Example sending a request using the ListInstanceProfileTagsRequest method. -// req, resp := client.ListInstanceProfileTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfileTags func (c *IAM) ListInstanceProfileTagsRequest(input *ListInstanceProfileTagsInput) (req *request.Request, output *ListInstanceProfileTagsOutput) { @@ -9423,13 +9401,14 @@ func (c *IAM) ListInstanceProfileTagsRequest(input *ListInstanceProfileTagsInput // API operation ListInstanceProfileTags for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfileTags func (c *IAM) ListInstanceProfileTags(input *ListInstanceProfileTagsInput) (*ListInstanceProfileTagsOutput, error) { @@ -9469,14 +9448,13 @@ const opListInstanceProfiles = "ListInstanceProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInstanceProfilesRequest method. +// req, resp := client.ListInstanceProfilesRequest(params) // -// // Example sending a request using the ListInstanceProfilesRequest method. -// req, resp := client.ListInstanceProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfiles func (c *IAM) ListInstanceProfilesRequest(input *ListInstanceProfilesInput) (req *request.Request, output *ListInstanceProfilesOutput) { @@ -9522,9 +9500,9 @@ func (c *IAM) ListInstanceProfilesRequest(input *ListInstanceProfilesInput) (req // API operation ListInstanceProfiles for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfiles func (c *IAM) ListInstanceProfiles(input *ListInstanceProfilesInput) (*ListInstanceProfilesOutput, error) { @@ -9556,15 +9534,14 @@ func (c *IAM) ListInstanceProfilesWithContext(ctx aws.Context, input *ListInstan // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInstanceProfiles operation. -// pageNum := 0 -// err := client.ListInstanceProfilesPages(params, -// func(page *iam.ListInstanceProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInstanceProfiles operation. +// pageNum := 0 +// err := client.ListInstanceProfilesPages(params, +// func(page *iam.ListInstanceProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListInstanceProfilesPages(input *ListInstanceProfilesInput, fn func(*ListInstanceProfilesOutput, bool) bool) error { return c.ListInstanceProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9616,14 +9593,13 @@ const opListInstanceProfilesForRole = "ListInstanceProfilesForRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInstanceProfilesForRoleRequest method. +// req, resp := client.ListInstanceProfilesForRoleRequest(params) // -// // Example sending a request using the ListInstanceProfilesForRoleRequest method. -// req, resp := client.ListInstanceProfilesForRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesForRole func (c *IAM) ListInstanceProfilesForRoleRequest(input *ListInstanceProfilesForRoleInput) (req *request.Request, output *ListInstanceProfilesForRoleOutput) { @@ -9664,13 +9640,14 @@ func (c *IAM) ListInstanceProfilesForRoleRequest(input *ListInstanceProfilesForR // API operation ListInstanceProfilesForRole for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListInstanceProfilesForRole func (c *IAM) ListInstanceProfilesForRole(input *ListInstanceProfilesForRoleInput) (*ListInstanceProfilesForRoleOutput, error) { @@ -9702,15 +9679,14 @@ func (c *IAM) ListInstanceProfilesForRoleWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInstanceProfilesForRole operation. -// pageNum := 0 -// err := client.ListInstanceProfilesForRolePages(params, -// func(page *iam.ListInstanceProfilesForRoleOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInstanceProfilesForRole operation. +// pageNum := 0 +// err := client.ListInstanceProfilesForRolePages(params, +// func(page *iam.ListInstanceProfilesForRoleOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListInstanceProfilesForRolePages(input *ListInstanceProfilesForRoleInput, fn func(*ListInstanceProfilesForRoleOutput, bool) bool) error { return c.ListInstanceProfilesForRolePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9762,14 +9738,13 @@ const opListMFADeviceTags = "ListMFADeviceTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMFADeviceTagsRequest method. +// req, resp := client.ListMFADeviceTagsRequest(params) // -// // Example sending a request using the ListMFADeviceTagsRequest method. -// req, resp := client.ListMFADeviceTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListMFADeviceTags func (c *IAM) ListMFADeviceTagsRequest(input *ListMFADeviceTagsInput) (req *request.Request, output *ListMFADeviceTagsOutput) { @@ -9803,17 +9778,18 @@ func (c *IAM) ListMFADeviceTagsRequest(input *ListMFADeviceTagsInput) (req *requ // API operation ListMFADeviceTags for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListMFADeviceTags func (c *IAM) ListMFADeviceTags(input *ListMFADeviceTagsInput) (*ListMFADeviceTagsOutput, error) { @@ -9853,14 +9829,13 @@ const opListMFADevices = "ListMFADevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMFADevicesRequest method. +// req, resp := client.ListMFADevicesRequest(params) // -// // Example sending a request using the ListMFADevicesRequest method. -// req, resp := client.ListMFADevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListMFADevices func (c *IAM) ListMFADevicesRequest(input *ListMFADevicesInput) (req *request.Request, output *ListMFADevicesOutput) { @@ -9903,13 +9878,14 @@ func (c *IAM) ListMFADevicesRequest(input *ListMFADevicesInput) (req *request.Re // API operation ListMFADevices for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListMFADevices func (c *IAM) ListMFADevices(input *ListMFADevicesInput) (*ListMFADevicesOutput, error) { @@ -9941,15 +9917,14 @@ func (c *IAM) ListMFADevicesWithContext(ctx aws.Context, input *ListMFADevicesIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMFADevices operation. -// pageNum := 0 -// err := client.ListMFADevicesPages(params, -// func(page *iam.ListMFADevicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMFADevices operation. +// pageNum := 0 +// err := client.ListMFADevicesPages(params, +// func(page *iam.ListMFADevicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListMFADevicesPages(input *ListMFADevicesInput, fn func(*ListMFADevicesOutput, bool) bool) error { return c.ListMFADevicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10001,14 +9976,13 @@ const opListOpenIDConnectProviderTags = "ListOpenIDConnectProviderTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOpenIDConnectProviderTagsRequest method. +// req, resp := client.ListOpenIDConnectProviderTagsRequest(params) // -// // Example sending a request using the ListOpenIDConnectProviderTagsRequest method. -// req, resp := client.ListOpenIDConnectProviderTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListOpenIDConnectProviderTags func (c *IAM) ListOpenIDConnectProviderTagsRequest(input *ListOpenIDConnectProviderTagsInput) (req *request.Request, output *ListOpenIDConnectProviderTagsOutput) { @@ -10044,17 +10018,18 @@ func (c *IAM) ListOpenIDConnectProviderTagsRequest(input *ListOpenIDConnectProvi // API operation ListOpenIDConnectProviderTags for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListOpenIDConnectProviderTags func (c *IAM) ListOpenIDConnectProviderTags(input *ListOpenIDConnectProviderTagsInput) (*ListOpenIDConnectProviderTagsOutput, error) { @@ -10094,14 +10069,13 @@ const opListOpenIDConnectProviders = "ListOpenIDConnectProviders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOpenIDConnectProvidersRequest method. +// req, resp := client.ListOpenIDConnectProvidersRequest(params) // -// // Example sending a request using the ListOpenIDConnectProvidersRequest method. -// req, resp := client.ListOpenIDConnectProvidersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListOpenIDConnectProviders func (c *IAM) ListOpenIDConnectProvidersRequest(input *ListOpenIDConnectProvidersInput) (req *request.Request, output *ListOpenIDConnectProvidersOutput) { @@ -10138,9 +10112,9 @@ func (c *IAM) ListOpenIDConnectProvidersRequest(input *ListOpenIDConnectProvider // API operation ListOpenIDConnectProviders for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListOpenIDConnectProviders func (c *IAM) ListOpenIDConnectProviders(input *ListOpenIDConnectProvidersInput) (*ListOpenIDConnectProvidersOutput, error) { @@ -10180,14 +10154,13 @@ const opListPolicies = "ListPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPoliciesRequest method. +// req, resp := client.ListPoliciesRequest(params) // -// // Example sending a request using the ListPoliciesRequest method. -// req, resp := client.ListPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicies func (c *IAM) ListPoliciesRequest(input *ListPoliciesInput) (req *request.Request, output *ListPoliciesOutput) { @@ -10242,9 +10215,9 @@ func (c *IAM) ListPoliciesRequest(input *ListPoliciesInput) (req *request.Reques // API operation ListPolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicies func (c *IAM) ListPolicies(input *ListPoliciesInput) (*ListPoliciesOutput, error) { @@ -10276,15 +10249,14 @@ func (c *IAM) ListPoliciesWithContext(ctx aws.Context, input *ListPoliciesInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPolicies operation. -// pageNum := 0 -// err := client.ListPoliciesPages(params, -// func(page *iam.ListPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPolicies operation. +// pageNum := 0 +// err := client.ListPoliciesPages(params, +// func(page *iam.ListPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListPoliciesPages(input *ListPoliciesInput, fn func(*ListPoliciesOutput, bool) bool) error { return c.ListPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10336,14 +10308,13 @@ const opListPoliciesGrantingServiceAccess = "ListPoliciesGrantingServiceAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPoliciesGrantingServiceAccessRequest method. +// req, resp := client.ListPoliciesGrantingServiceAccessRequest(params) // -// // Example sending a request using the ListPoliciesGrantingServiceAccessRequest method. -// req, resp := client.ListPoliciesGrantingServiceAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPoliciesGrantingServiceAccess func (c *IAM) ListPoliciesGrantingServiceAccessRequest(input *ListPoliciesGrantingServiceAccessInput) (req *request.Request, output *ListPoliciesGrantingServiceAccessOutput) { @@ -10377,17 +10348,17 @@ func (c *IAM) ListPoliciesGrantingServiceAccessRequest(input *ListPoliciesGranti // The list of policies returned by the operation depends on the ARN of the // identity that you provide. // -// * User – The list of policies includes the managed and inline policies -// that are attached to the user directly. The list also includes any additional -// managed and inline policies that are attached to the group to which the -// user belongs. +// - User – The list of policies includes the managed and inline policies +// that are attached to the user directly. The list also includes any additional +// managed and inline policies that are attached to the group to which the +// user belongs. // -// * Group – The list of policies includes only the managed and inline -// policies that are attached to the group directly. Policies that are attached -// to the group’s user are not included. +// - Group – The list of policies includes only the managed and inline +// policies that are attached to the group directly. Policies that are attached +// to the group’s user are not included. // -// * Role – The list of policies includes only the managed and inline policies -// that are attached to the role. +// - Role – The list of policies includes only the managed and inline policies +// that are attached to the role. // // For each managed policy, this operation returns the ARN and policy name. // For each inline policy, it returns the policy name and the entity to which @@ -10407,13 +10378,14 @@ func (c *IAM) ListPoliciesGrantingServiceAccessRequest(input *ListPoliciesGranti // API operation ListPoliciesGrantingServiceAccess for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPoliciesGrantingServiceAccess func (c *IAM) ListPoliciesGrantingServiceAccess(input *ListPoliciesGrantingServiceAccessInput) (*ListPoliciesGrantingServiceAccessOutput, error) { @@ -10453,14 +10425,13 @@ const opListPolicyTags = "ListPolicyTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPolicyTagsRequest method. +// req, resp := client.ListPolicyTagsRequest(params) // -// // Example sending a request using the ListPolicyTagsRequest method. -// req, resp := client.ListPolicyTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicyTags func (c *IAM) ListPolicyTagsRequest(input *ListPolicyTagsInput) (req *request.Request, output *ListPolicyTagsOutput) { @@ -10494,17 +10465,18 @@ func (c *IAM) ListPolicyTagsRequest(input *ListPolicyTagsInput) (req *request.Re // API operation ListPolicyTags for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicyTags func (c *IAM) ListPolicyTags(input *ListPolicyTagsInput) (*ListPolicyTagsOutput, error) { @@ -10544,14 +10516,13 @@ const opListPolicyVersions = "ListPolicyVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPolicyVersionsRequest method. +// req, resp := client.ListPolicyVersionsRequest(params) // -// // Example sending a request using the ListPolicyVersionsRequest method. -// req, resp := client.ListPolicyVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicyVersions func (c *IAM) ListPolicyVersionsRequest(input *ListPolicyVersionsInput) (req *request.Request, output *ListPolicyVersionsOutput) { @@ -10593,17 +10564,18 @@ func (c *IAM) ListPolicyVersionsRequest(input *ListPolicyVersionsInput) (req *re // API operation ListPolicyVersions for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListPolicyVersions func (c *IAM) ListPolicyVersions(input *ListPolicyVersionsInput) (*ListPolicyVersionsOutput, error) { @@ -10635,15 +10607,14 @@ func (c *IAM) ListPolicyVersionsWithContext(ctx aws.Context, input *ListPolicyVe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPolicyVersions operation. -// pageNum := 0 -// err := client.ListPolicyVersionsPages(params, -// func(page *iam.ListPolicyVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPolicyVersions operation. +// pageNum := 0 +// err := client.ListPolicyVersionsPages(params, +// func(page *iam.ListPolicyVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListPolicyVersionsPages(input *ListPolicyVersionsInput, fn func(*ListPolicyVersionsOutput, bool) bool) error { return c.ListPolicyVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10695,14 +10666,13 @@ const opListRolePolicies = "ListRolePolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRolePoliciesRequest method. +// req, resp := client.ListRolePoliciesRequest(params) // -// // Example sending a request using the ListRolePoliciesRequest method. -// req, resp := client.ListRolePoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolePolicies func (c *IAM) ListRolePoliciesRequest(input *ListRolePoliciesInput) (req *request.Request, output *ListRolePoliciesOutput) { @@ -10749,13 +10719,14 @@ func (c *IAM) ListRolePoliciesRequest(input *ListRolePoliciesInput) (req *reques // API operation ListRolePolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRolePolicies func (c *IAM) ListRolePolicies(input *ListRolePoliciesInput) (*ListRolePoliciesOutput, error) { @@ -10787,15 +10758,14 @@ func (c *IAM) ListRolePoliciesWithContext(ctx aws.Context, input *ListRolePolici // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRolePolicies operation. -// pageNum := 0 -// err := client.ListRolePoliciesPages(params, -// func(page *iam.ListRolePoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRolePolicies operation. +// pageNum := 0 +// err := client.ListRolePoliciesPages(params, +// func(page *iam.ListRolePoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListRolePoliciesPages(input *ListRolePoliciesInput, fn func(*ListRolePoliciesOutput, bool) bool) error { return c.ListRolePoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10847,14 +10817,13 @@ const opListRoleTags = "ListRoleTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRoleTagsRequest method. +// req, resp := client.ListRoleTagsRequest(params) // -// // Example sending a request using the ListRoleTagsRequest method. -// req, resp := client.ListRoleTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRoleTags func (c *IAM) ListRoleTagsRequest(input *ListRoleTagsInput) (req *request.Request, output *ListRoleTagsOutput) { @@ -10888,13 +10857,14 @@ func (c *IAM) ListRoleTagsRequest(input *ListRoleTagsInput) (req *request.Reques // API operation ListRoleTags for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRoleTags func (c *IAM) ListRoleTags(input *ListRoleTagsInput) (*ListRoleTagsOutput, error) { @@ -10934,14 +10904,13 @@ const opListRoles = "ListRoles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRolesRequest method. +// req, resp := client.ListRolesRequest(params) // -// // Example sending a request using the ListRolesRequest method. -// req, resp := client.ListRolesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRoles func (c *IAM) ListRolesRequest(input *ListRolesInput) (req *request.Request, output *ListRolesOutput) { @@ -10987,9 +10956,9 @@ func (c *IAM) ListRolesRequest(input *ListRolesInput) (req *request.Request, out // API operation ListRoles for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListRoles func (c *IAM) ListRoles(input *ListRolesInput) (*ListRolesOutput, error) { @@ -11021,15 +10990,14 @@ func (c *IAM) ListRolesWithContext(ctx aws.Context, input *ListRolesInput, opts // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRoles operation. -// pageNum := 0 -// err := client.ListRolesPages(params, -// func(page *iam.ListRolesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRoles operation. +// pageNum := 0 +// err := client.ListRolesPages(params, +// func(page *iam.ListRolesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListRolesPages(input *ListRolesInput, fn func(*ListRolesOutput, bool) bool) error { return c.ListRolesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11081,14 +11049,13 @@ const opListSAMLProviderTags = "ListSAMLProviderTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSAMLProviderTagsRequest method. +// req, resp := client.ListSAMLProviderTagsRequest(params) // -// // Example sending a request using the ListSAMLProviderTagsRequest method. -// req, resp := client.ListSAMLProviderTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSAMLProviderTags func (c *IAM) ListSAMLProviderTagsRequest(input *ListSAMLProviderTagsInput) (req *request.Request, output *ListSAMLProviderTagsOutput) { @@ -11124,17 +11091,18 @@ func (c *IAM) ListSAMLProviderTagsRequest(input *ListSAMLProviderTagsInput) (req // API operation ListSAMLProviderTags for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSAMLProviderTags func (c *IAM) ListSAMLProviderTags(input *ListSAMLProviderTagsInput) (*ListSAMLProviderTagsOutput, error) { @@ -11174,14 +11142,13 @@ const opListSAMLProviders = "ListSAMLProviders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSAMLProvidersRequest method. +// req, resp := client.ListSAMLProvidersRequest(params) // -// // Example sending a request using the ListSAMLProvidersRequest method. -// req, resp := client.ListSAMLProvidersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSAMLProviders func (c *IAM) ListSAMLProvidersRequest(input *ListSAMLProvidersInput) (req *request.Request, output *ListSAMLProvidersOutput) { @@ -11218,9 +11185,9 @@ func (c *IAM) ListSAMLProvidersRequest(input *ListSAMLProvidersInput) (req *requ // API operation ListSAMLProviders for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSAMLProviders func (c *IAM) ListSAMLProviders(input *ListSAMLProvidersInput) (*ListSAMLProvidersOutput, error) { @@ -11260,14 +11227,13 @@ const opListSSHPublicKeys = "ListSSHPublicKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSSHPublicKeysRequest method. +// req, resp := client.ListSSHPublicKeysRequest(params) // -// // Example sending a request using the ListSSHPublicKeysRequest method. -// req, resp := client.ListSSHPublicKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSSHPublicKeys func (c *IAM) ListSSHPublicKeysRequest(input *ListSSHPublicKeysInput) (req *request.Request, output *ListSSHPublicKeysOutput) { @@ -11314,9 +11280,9 @@ func (c *IAM) ListSSHPublicKeysRequest(input *ListSSHPublicKeysInput) (req *requ // API operation ListSSHPublicKeys for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSSHPublicKeys func (c *IAM) ListSSHPublicKeys(input *ListSSHPublicKeysInput) (*ListSSHPublicKeysOutput, error) { @@ -11348,15 +11314,14 @@ func (c *IAM) ListSSHPublicKeysWithContext(ctx aws.Context, input *ListSSHPublic // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSSHPublicKeys operation. -// pageNum := 0 -// err := client.ListSSHPublicKeysPages(params, -// func(page *iam.ListSSHPublicKeysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSSHPublicKeys operation. +// pageNum := 0 +// err := client.ListSSHPublicKeysPages(params, +// func(page *iam.ListSSHPublicKeysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListSSHPublicKeysPages(input *ListSSHPublicKeysInput, fn func(*ListSSHPublicKeysOutput, bool) bool) error { return c.ListSSHPublicKeysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11408,14 +11373,13 @@ const opListServerCertificateTags = "ListServerCertificateTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServerCertificateTagsRequest method. +// req, resp := client.ListServerCertificateTagsRequest(params) // -// // Example sending a request using the ListServerCertificateTagsRequest method. -// req, resp := client.ListServerCertificateTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServerCertificateTags func (c *IAM) ListServerCertificateTagsRequest(input *ListServerCertificateTagsInput) (req *request.Request, output *ListServerCertificateTagsOutput) { @@ -11455,13 +11419,14 @@ func (c *IAM) ListServerCertificateTagsRequest(input *ListServerCertificateTagsI // API operation ListServerCertificateTags for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServerCertificateTags func (c *IAM) ListServerCertificateTags(input *ListServerCertificateTagsInput) (*ListServerCertificateTagsOutput, error) { @@ -11501,14 +11466,13 @@ const opListServerCertificates = "ListServerCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServerCertificatesRequest method. +// req, resp := client.ListServerCertificatesRequest(params) // -// // Example sending a request using the ListServerCertificatesRequest method. -// req, resp := client.ListServerCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServerCertificates func (c *IAM) ListServerCertificatesRequest(input *ListServerCertificatesInput) (req *request.Request, output *ListServerCertificatesOutput) { @@ -11558,9 +11522,9 @@ func (c *IAM) ListServerCertificatesRequest(input *ListServerCertificatesInput) // API operation ListServerCertificates for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServerCertificates func (c *IAM) ListServerCertificates(input *ListServerCertificatesInput) (*ListServerCertificatesOutput, error) { @@ -11592,15 +11556,14 @@ func (c *IAM) ListServerCertificatesWithContext(ctx aws.Context, input *ListServ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServerCertificates operation. -// pageNum := 0 -// err := client.ListServerCertificatesPages(params, -// func(page *iam.ListServerCertificatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServerCertificates operation. +// pageNum := 0 +// err := client.ListServerCertificatesPages(params, +// func(page *iam.ListServerCertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListServerCertificatesPages(input *ListServerCertificatesInput, fn func(*ListServerCertificatesOutput, bool) bool) error { return c.ListServerCertificatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11652,14 +11615,13 @@ const opListServiceSpecificCredentials = "ListServiceSpecificCredentials" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServiceSpecificCredentialsRequest method. +// req, resp := client.ListServiceSpecificCredentialsRequest(params) // -// // Example sending a request using the ListServiceSpecificCredentialsRequest method. -// req, resp := client.ListServiceSpecificCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServiceSpecificCredentials func (c *IAM) ListServiceSpecificCredentialsRequest(input *ListServiceSpecificCredentialsInput) (req *request.Request, output *ListServiceSpecificCredentialsOutput) { @@ -11696,12 +11658,13 @@ func (c *IAM) ListServiceSpecificCredentialsRequest(input *ListServiceSpecificCr // API operation ListServiceSpecificCredentials for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceNotSupportedException "NotSupportedService" -// The specified service does not support service-specific credentials. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceNotSupportedException "NotSupportedService" +// The specified service does not support service-specific credentials. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListServiceSpecificCredentials func (c *IAM) ListServiceSpecificCredentials(input *ListServiceSpecificCredentialsInput) (*ListServiceSpecificCredentialsOutput, error) { @@ -11741,14 +11704,13 @@ const opListSigningCertificates = "ListSigningCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSigningCertificatesRequest method. +// req, resp := client.ListSigningCertificatesRequest(params) // -// // Example sending a request using the ListSigningCertificatesRequest method. -// req, resp := client.ListSigningCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSigningCertificates func (c *IAM) ListSigningCertificatesRequest(input *ListSigningCertificatesInput) (req *request.Request, output *ListSigningCertificatesOutput) { @@ -11796,13 +11758,14 @@ func (c *IAM) ListSigningCertificatesRequest(input *ListSigningCertificatesInput // API operation ListSigningCertificates for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListSigningCertificates func (c *IAM) ListSigningCertificates(input *ListSigningCertificatesInput) (*ListSigningCertificatesOutput, error) { @@ -11834,15 +11797,14 @@ func (c *IAM) ListSigningCertificatesWithContext(ctx aws.Context, input *ListSig // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSigningCertificates operation. -// pageNum := 0 -// err := client.ListSigningCertificatesPages(params, -// func(page *iam.ListSigningCertificatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSigningCertificates operation. +// pageNum := 0 +// err := client.ListSigningCertificatesPages(params, +// func(page *iam.ListSigningCertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListSigningCertificatesPages(input *ListSigningCertificatesInput, fn func(*ListSigningCertificatesOutput, bool) bool) error { return c.ListSigningCertificatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11894,14 +11856,13 @@ const opListUserPolicies = "ListUserPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUserPoliciesRequest method. +// req, resp := client.ListUserPoliciesRequest(params) // -// // Example sending a request using the ListUserPoliciesRequest method. -// req, resp := client.ListUserPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUserPolicies func (c *IAM) ListUserPoliciesRequest(input *ListUserPoliciesInput) (req *request.Request, output *ListUserPoliciesOutput) { @@ -11947,13 +11908,14 @@ func (c *IAM) ListUserPoliciesRequest(input *ListUserPoliciesInput) (req *reques // API operation ListUserPolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUserPolicies func (c *IAM) ListUserPolicies(input *ListUserPoliciesInput) (*ListUserPoliciesOutput, error) { @@ -11985,15 +11947,14 @@ func (c *IAM) ListUserPoliciesWithContext(ctx aws.Context, input *ListUserPolici // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUserPolicies operation. -// pageNum := 0 -// err := client.ListUserPoliciesPages(params, -// func(page *iam.ListUserPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUserPolicies operation. +// pageNum := 0 +// err := client.ListUserPoliciesPages(params, +// func(page *iam.ListUserPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListUserPoliciesPages(input *ListUserPoliciesInput, fn func(*ListUserPoliciesOutput, bool) bool) error { return c.ListUserPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12045,14 +12006,13 @@ const opListUserTags = "ListUserTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUserTagsRequest method. +// req, resp := client.ListUserTagsRequest(params) // -// // Example sending a request using the ListUserTagsRequest method. -// req, resp := client.ListUserTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUserTags func (c *IAM) ListUserTagsRequest(input *ListUserTagsInput) (req *request.Request, output *ListUserTagsOutput) { @@ -12092,13 +12052,14 @@ func (c *IAM) ListUserTagsRequest(input *ListUserTagsInput) (req *request.Reques // API operation ListUserTags for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUserTags func (c *IAM) ListUserTags(input *ListUserTagsInput) (*ListUserTagsOutput, error) { @@ -12130,15 +12091,14 @@ func (c *IAM) ListUserTagsWithContext(ctx aws.Context, input *ListUserTagsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUserTags operation. -// pageNum := 0 -// err := client.ListUserTagsPages(params, -// func(page *iam.ListUserTagsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUserTags operation. +// pageNum := 0 +// err := client.ListUserTagsPages(params, +// func(page *iam.ListUserTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListUserTagsPages(input *ListUserTagsInput, fn func(*ListUserTagsOutput, bool) bool) error { return c.ListUserTagsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12190,14 +12150,13 @@ const opListUsers = "ListUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUsersRequest method. +// req, resp := client.ListUsersRequest(params) // -// // Example sending a request using the ListUsersRequest method. -// req, resp := client.ListUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUsers func (c *IAM) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) { @@ -12243,9 +12202,9 @@ func (c *IAM) ListUsersRequest(input *ListUsersInput) (req *request.Request, out // API operation ListUsers for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListUsers func (c *IAM) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) { @@ -12277,15 +12236,14 @@ func (c *IAM) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, opts // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUsers operation. -// pageNum := 0 -// err := client.ListUsersPages(params, -// func(page *iam.ListUsersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUsers operation. +// pageNum := 0 +// err := client.ListUsersPages(params, +// func(page *iam.ListUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListUsersPages(input *ListUsersInput, fn func(*ListUsersOutput, bool) bool) error { return c.ListUsersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12337,14 +12295,13 @@ const opListVirtualMFADevices = "ListVirtualMFADevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVirtualMFADevicesRequest method. +// req, resp := client.ListVirtualMFADevicesRequest(params) // -// // Example sending a request using the ListVirtualMFADevicesRequest method. -// req, resp := client.ListVirtualMFADevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListVirtualMFADevices func (c *IAM) ListVirtualMFADevicesRequest(input *ListVirtualMFADevicesInput) (req *request.Request, output *ListVirtualMFADevicesOutput) { @@ -12419,15 +12376,14 @@ func (c *IAM) ListVirtualMFADevicesWithContext(ctx aws.Context, input *ListVirtu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVirtualMFADevices operation. -// pageNum := 0 -// err := client.ListVirtualMFADevicesPages(params, -// func(page *iam.ListVirtualMFADevicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVirtualMFADevices operation. +// pageNum := 0 +// err := client.ListVirtualMFADevicesPages(params, +// func(page *iam.ListVirtualMFADevicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) ListVirtualMFADevicesPages(input *ListVirtualMFADevicesInput, fn func(*ListVirtualMFADevicesOutput, bool) bool) error { return c.ListVirtualMFADevicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12479,14 +12435,13 @@ const opPutGroupPolicy = "PutGroupPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutGroupPolicyRequest method. +// req, resp := client.PutGroupPolicyRequest(params) // -// // Example sending a request using the PutGroupPolicyRequest method. -// req, resp := client.PutGroupPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutGroupPolicy func (c *IAM) PutGroupPolicyRequest(input *PutGroupPolicyInput) (req *request.Request, output *PutGroupPolicyOutput) { @@ -12534,22 +12489,23 @@ func (c *IAM) PutGroupPolicyRequest(input *PutGroupPolicyInput) (req *request.Re // API operation PutGroupPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. // -// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" -// The request was rejected because the policy document was malformed. The error -// message describes the specific error. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" +// The request was rejected because the policy document was malformed. The error +// message describes the specific error. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutGroupPolicy func (c *IAM) PutGroupPolicy(input *PutGroupPolicyInput) (*PutGroupPolicyOutput, error) { @@ -12589,14 +12545,13 @@ const opPutRolePermissionsBoundary = "PutRolePermissionsBoundary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRolePermissionsBoundaryRequest method. +// req, resp := client.PutRolePermissionsBoundaryRequest(params) // -// // Example sending a request using the PutRolePermissionsBoundaryRequest method. -// req, resp := client.PutRolePermissionsBoundaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutRolePermissionsBoundary func (c *IAM) PutRolePermissionsBoundaryRequest(input *PutRolePermissionsBoundaryInput) (req *request.Request, output *PutRolePermissionsBoundaryOutput) { @@ -12640,27 +12595,28 @@ func (c *IAM) PutRolePermissionsBoundaryRequest(input *PutRolePermissionsBoundar // API operation PutRolePermissionsBoundary for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" -// The request was rejected because only the service that depends on the service-linked -// role can modify or delete the role on your behalf. The error message includes -// the name of the service that depends on this service-linked role. You must -// request the change through that service. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodePolicyNotAttachableException "PolicyNotAttachable" -// The request failed because Amazon Web Services service role policies can -// only be attached to the service-linked role for that service. +// - ErrCodeUnmodifiableEntityException "UnmodifiableEntity" +// The request was rejected because only the service that depends on the service-linked +// role can modify or delete the role on your behalf. The error message includes +// the name of the service that depends on this service-linked role. You must +// request the change through that service. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodePolicyNotAttachableException "PolicyNotAttachable" +// The request failed because Amazon Web Services service role policies can +// only be attached to the service-linked role for that service. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutRolePermissionsBoundary func (c *IAM) PutRolePermissionsBoundary(input *PutRolePermissionsBoundaryInput) (*PutRolePermissionsBoundaryOutput, error) { @@ -12700,14 +12656,13 @@ const opPutRolePolicy = "PutRolePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRolePolicyRequest method. +// req, resp := client.PutRolePolicyRequest(params) // -// // Example sending a request using the PutRolePolicyRequest method. -// req, resp := client.PutRolePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutRolePolicy func (c *IAM) PutRolePolicyRequest(input *PutRolePolicyInput) (req *request.Request, output *PutRolePolicyOutput) { @@ -12761,28 +12716,29 @@ func (c *IAM) PutRolePolicyRequest(input *PutRolePolicyInput) (req *request.Requ // API operation PutRolePolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. // -// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" -// The request was rejected because the policy document was malformed. The error -// message describes the specific error. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" +// The request was rejected because the policy document was malformed. The error +// message describes the specific error. // -// * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" -// The request was rejected because only the service that depends on the service-linked -// role can modify or delete the role on your behalf. The error message includes -// the name of the service that depends on this service-linked role. You must -// request the change through that service. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeUnmodifiableEntityException "UnmodifiableEntity" +// The request was rejected because only the service that depends on the service-linked +// role can modify or delete the role on your behalf. The error message includes +// the name of the service that depends on this service-linked role. You must +// request the change through that service. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutRolePolicy func (c *IAM) PutRolePolicy(input *PutRolePolicyInput) (*PutRolePolicyOutput, error) { @@ -12822,14 +12778,13 @@ const opPutUserPermissionsBoundary = "PutUserPermissionsBoundary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutUserPermissionsBoundaryRequest method. +// req, resp := client.PutUserPermissionsBoundaryRequest(params) // -// // Example sending a request using the PutUserPermissionsBoundaryRequest method. -// req, resp := client.PutUserPermissionsBoundaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutUserPermissionsBoundary func (c *IAM) PutUserPermissionsBoundaryRequest(input *PutUserPermissionsBoundaryInput) (req *request.Request, output *PutUserPermissionsBoundaryOutput) { @@ -12871,21 +12826,22 @@ func (c *IAM) PutUserPermissionsBoundaryRequest(input *PutUserPermissionsBoundar // API operation PutUserPermissionsBoundary for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodePolicyNotAttachableException "PolicyNotAttachable" -// The request failed because Amazon Web Services service role policies can -// only be attached to the service-linked role for that service. +// - ErrCodePolicyNotAttachableException "PolicyNotAttachable" +// The request failed because Amazon Web Services service role policies can +// only be attached to the service-linked role for that service. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutUserPermissionsBoundary func (c *IAM) PutUserPermissionsBoundary(input *PutUserPermissionsBoundaryInput) (*PutUserPermissionsBoundaryOutput, error) { @@ -12925,14 +12881,13 @@ const opPutUserPolicy = "PutUserPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutUserPolicyRequest method. +// req, resp := client.PutUserPolicyRequest(params) // -// // Example sending a request using the PutUserPolicyRequest method. -// req, resp := client.PutUserPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutUserPolicy func (c *IAM) PutUserPolicyRequest(input *PutUserPolicyInput) (req *request.Request, output *PutUserPolicyOutput) { @@ -12980,22 +12935,23 @@ func (c *IAM) PutUserPolicyRequest(input *PutUserPolicyInput) (req *request.Requ // API operation PutUserPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. // -// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" -// The request was rejected because the policy document was malformed. The error -// message describes the specific error. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" +// The request was rejected because the policy document was malformed. The error +// message describes the specific error. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/PutUserPolicy func (c *IAM) PutUserPolicy(input *PutUserPolicyInput) (*PutUserPolicyOutput, error) { @@ -13035,14 +12991,13 @@ const opRemoveClientIDFromOpenIDConnectProvider = "RemoveClientIDFromOpenIDConne // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveClientIDFromOpenIDConnectProviderRequest method. +// req, resp := client.RemoveClientIDFromOpenIDConnectProviderRequest(params) // -// // Example sending a request using the RemoveClientIDFromOpenIDConnectProviderRequest method. -// req, resp := client.RemoveClientIDFromOpenIDConnectProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveClientIDFromOpenIDConnectProvider func (c *IAM) RemoveClientIDFromOpenIDConnectProviderRequest(input *RemoveClientIDFromOpenIDConnectProviderInput) (req *request.Request, output *RemoveClientIDFromOpenIDConnectProviderOutput) { @@ -13079,17 +13034,18 @@ func (c *IAM) RemoveClientIDFromOpenIDConnectProviderRequest(input *RemoveClient // API operation RemoveClientIDFromOpenIDConnectProvider for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveClientIDFromOpenIDConnectProvider func (c *IAM) RemoveClientIDFromOpenIDConnectProvider(input *RemoveClientIDFromOpenIDConnectProviderInput) (*RemoveClientIDFromOpenIDConnectProviderOutput, error) { @@ -13129,14 +13085,13 @@ const opRemoveRoleFromInstanceProfile = "RemoveRoleFromInstanceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveRoleFromInstanceProfileRequest method. +// req, resp := client.RemoveRoleFromInstanceProfileRequest(params) // -// // Example sending a request using the RemoveRoleFromInstanceProfileRequest method. -// req, resp := client.RemoveRoleFromInstanceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveRoleFromInstanceProfile func (c *IAM) RemoveRoleFromInstanceProfileRequest(input *RemoveRoleFromInstanceProfileInput) (req *request.Request, output *RemoveRoleFromInstanceProfileOutput) { @@ -13177,24 +13132,25 @@ func (c *IAM) RemoveRoleFromInstanceProfileRequest(input *RemoveRoleFromInstance // API operation RemoveRoleFromInstanceProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" -// The request was rejected because only the service that depends on the service-linked -// role can modify or delete the role on your behalf. The error message includes -// the name of the service that depends on this service-linked role. You must -// request the change through that service. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeUnmodifiableEntityException "UnmodifiableEntity" +// The request was rejected because only the service that depends on the service-linked +// role can modify or delete the role on your behalf. The error message includes +// the name of the service that depends on this service-linked role. You must +// request the change through that service. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveRoleFromInstanceProfile func (c *IAM) RemoveRoleFromInstanceProfile(input *RemoveRoleFromInstanceProfileInput) (*RemoveRoleFromInstanceProfileOutput, error) { @@ -13234,14 +13190,13 @@ const opRemoveUserFromGroup = "RemoveUserFromGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveUserFromGroupRequest method. +// req, resp := client.RemoveUserFromGroupRequest(params) // -// // Example sending a request using the RemoveUserFromGroupRequest method. -// req, resp := client.RemoveUserFromGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveUserFromGroup func (c *IAM) RemoveUserFromGroupRequest(input *RemoveUserFromGroupInput) (req *request.Request, output *RemoveUserFromGroupOutput) { @@ -13273,18 +13228,19 @@ func (c *IAM) RemoveUserFromGroupRequest(input *RemoveUserFromGroupInput) (req * // API operation RemoveUserFromGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RemoveUserFromGroup func (c *IAM) RemoveUserFromGroup(input *RemoveUserFromGroupInput) (*RemoveUserFromGroupOutput, error) { @@ -13324,14 +13280,13 @@ const opResetServiceSpecificCredential = "ResetServiceSpecificCredential" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetServiceSpecificCredentialRequest method. +// req, resp := client.ResetServiceSpecificCredentialRequest(params) // -// // Example sending a request using the ResetServiceSpecificCredentialRequest method. -// req, resp := client.ResetServiceSpecificCredentialRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResetServiceSpecificCredential func (c *IAM) ResetServiceSpecificCredentialRequest(input *ResetServiceSpecificCredentialInput) (req *request.Request, output *ResetServiceSpecificCredentialOutput) { @@ -13365,9 +13320,9 @@ func (c *IAM) ResetServiceSpecificCredentialRequest(input *ResetServiceSpecificC // API operation ResetServiceSpecificCredential for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResetServiceSpecificCredential func (c *IAM) ResetServiceSpecificCredential(input *ResetServiceSpecificCredentialInput) (*ResetServiceSpecificCredentialOutput, error) { @@ -13407,14 +13362,13 @@ const opResyncMFADevice = "ResyncMFADevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResyncMFADeviceRequest method. +// req, resp := client.ResyncMFADeviceRequest(params) // -// // Example sending a request using the ResyncMFADeviceRequest method. -// req, resp := client.ResyncMFADeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResyncMFADevice func (c *IAM) ResyncMFADeviceRequest(input *ResyncMFADeviceInput) (req *request.Request, output *ResyncMFADeviceOutput) { @@ -13451,22 +13405,23 @@ func (c *IAM) ResyncMFADeviceRequest(input *ResyncMFADeviceInput) (req *request. // API operation ResyncMFADevice for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidAuthenticationCodeException "InvalidAuthenticationCode" -// The request was rejected because the authentication code was not recognized. -// The error message describes the specific error. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeInvalidAuthenticationCodeException "InvalidAuthenticationCode" +// The request was rejected because the authentication code was not recognized. +// The error message describes the specific error. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ResyncMFADevice func (c *IAM) ResyncMFADevice(input *ResyncMFADeviceInput) (*ResyncMFADeviceOutput, error) { @@ -13506,14 +13461,13 @@ const opSetDefaultPolicyVersion = "SetDefaultPolicyVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetDefaultPolicyVersionRequest method. +// req, resp := client.SetDefaultPolicyVersionRequest(params) // -// // Example sending a request using the SetDefaultPolicyVersionRequest method. -// req, resp := client.SetDefaultPolicyVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SetDefaultPolicyVersion func (c *IAM) SetDefaultPolicyVersionRequest(input *SetDefaultPolicyVersionInput) (req *request.Request, output *SetDefaultPolicyVersionOutput) { @@ -13554,22 +13508,23 @@ func (c *IAM) SetDefaultPolicyVersionRequest(input *SetDefaultPolicyVersionInput // API operation SetDefaultPolicyVersion for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SetDefaultPolicyVersion func (c *IAM) SetDefaultPolicyVersion(input *SetDefaultPolicyVersionInput) (*SetDefaultPolicyVersionOutput, error) { @@ -13609,14 +13564,13 @@ const opSetSecurityTokenServicePreferences = "SetSecurityTokenServicePreferences // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetSecurityTokenServicePreferencesRequest method. +// req, resp := client.SetSecurityTokenServicePreferencesRequest(params) // -// // Example sending a request using the SetSecurityTokenServicePreferencesRequest method. -// req, resp := client.SetSecurityTokenServicePreferencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SetSecurityTokenServicePreferences func (c *IAM) SetSecurityTokenServicePreferencesRequest(input *SetSecurityTokenServicePreferencesInput) (req *request.Request, output *SetSecurityTokenServicePreferencesOutput) { @@ -13670,9 +13624,9 @@ func (c *IAM) SetSecurityTokenServicePreferencesRequest(input *SetSecurityTokenS // API operation SetSecurityTokenServicePreferences for usage and error information. // // Returned Error Codes: -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SetSecurityTokenServicePreferences func (c *IAM) SetSecurityTokenServicePreferences(input *SetSecurityTokenServicePreferencesInput) (*SetSecurityTokenServicePreferencesOutput, error) { @@ -13712,14 +13666,13 @@ const opSimulateCustomPolicy = "SimulateCustomPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SimulateCustomPolicyRequest method. +// req, resp := client.SimulateCustomPolicyRequest(params) // -// // Example sending a request using the SimulateCustomPolicyRequest method. -// req, resp := client.SimulateCustomPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulateCustomPolicy func (c *IAM) SimulateCustomPolicyRequest(input *SimulateCustomPolicyInput) (req *request.Request, output *SimulatePolicyResponse) { @@ -13779,13 +13732,14 @@ func (c *IAM) SimulateCustomPolicyRequest(input *SimulateCustomPolicyInput) (req // API operation SimulateCustomPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. // -// * ErrCodePolicyEvaluationException "PolicyEvaluation" -// The request failed because a provided policy could not be successfully evaluated. -// An additional detailed message indicates the source of the failure. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodePolicyEvaluationException "PolicyEvaluation" +// The request failed because a provided policy could not be successfully evaluated. +// An additional detailed message indicates the source of the failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulateCustomPolicy func (c *IAM) SimulateCustomPolicy(input *SimulateCustomPolicyInput) (*SimulatePolicyResponse, error) { @@ -13817,15 +13771,14 @@ func (c *IAM) SimulateCustomPolicyWithContext(ctx aws.Context, input *SimulateCu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SimulateCustomPolicy operation. -// pageNum := 0 -// err := client.SimulateCustomPolicyPages(params, -// func(page *iam.SimulatePolicyResponse, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SimulateCustomPolicy operation. +// pageNum := 0 +// err := client.SimulateCustomPolicyPages(params, +// func(page *iam.SimulatePolicyResponse, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) SimulateCustomPolicyPages(input *SimulateCustomPolicyInput, fn func(*SimulatePolicyResponse, bool) bool) error { return c.SimulateCustomPolicyPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13877,14 +13830,13 @@ const opSimulatePrincipalPolicy = "SimulatePrincipalPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SimulatePrincipalPolicyRequest method. +// req, resp := client.SimulatePrincipalPolicyRequest(params) // -// // Example sending a request using the SimulatePrincipalPolicyRequest method. -// req, resp := client.SimulatePrincipalPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulatePrincipalPolicy func (c *IAM) SimulatePrincipalPolicyRequest(input *SimulatePrincipalPolicyInput) (req *request.Request, output *SimulatePolicyResponse) { @@ -13953,17 +13905,18 @@ func (c *IAM) SimulatePrincipalPolicyRequest(input *SimulatePrincipalPolicyInput // API operation SimulatePrincipalPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodePolicyEvaluationException "PolicyEvaluation" -// The request failed because a provided policy could not be successfully evaluated. -// An additional detailed message indicates the source of the failure. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodePolicyEvaluationException "PolicyEvaluation" +// The request failed because a provided policy could not be successfully evaluated. +// An additional detailed message indicates the source of the failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/SimulatePrincipalPolicy func (c *IAM) SimulatePrincipalPolicy(input *SimulatePrincipalPolicyInput) (*SimulatePolicyResponse, error) { @@ -13995,15 +13948,14 @@ func (c *IAM) SimulatePrincipalPolicyWithContext(ctx aws.Context, input *Simulat // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SimulatePrincipalPolicy operation. -// pageNum := 0 -// err := client.SimulatePrincipalPolicyPages(params, -// func(page *iam.SimulatePolicyResponse, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SimulatePrincipalPolicy operation. +// pageNum := 0 +// err := client.SimulatePrincipalPolicyPages(params, +// func(page *iam.SimulatePolicyResponse, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IAM) SimulatePrincipalPolicyPages(input *SimulatePrincipalPolicyInput, fn func(*SimulatePolicyResponse, bool) bool) error { return c.SimulatePrincipalPolicyPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14055,14 +14007,13 @@ const opTagInstanceProfile = "TagInstanceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagInstanceProfileRequest method. +// req, resp := client.TagInstanceProfileRequest(params) // -// // Example sending a request using the TagInstanceProfileRequest method. -// req, resp := client.TagInstanceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagInstanceProfile func (c *IAM) TagInstanceProfileRequest(input *TagInstanceProfileInput) (req *request.Request, output *TagInstanceProfileOutput) { @@ -14090,27 +14041,27 @@ func (c *IAM) TagInstanceProfileRequest(input *TagInstanceProfileInput) (req *re // Each tag consists of a key name and an associated value. By assigning tags // to your resources, you can do the following: // -// * Administrative grouping and discovery - Attach tags to resources to -// aid in organization and search. For example, you could search for all -// resources with the key name Project and the value MyImportantProject. -// Or search for all resources with the key name Cost Center and the value -// 41200. +// - Administrative grouping and discovery - Attach tags to resources to +// aid in organization and search. For example, you could search for all +// resources with the key name Project and the value MyImportantProject. +// Or search for all resources with the key name Cost Center and the value +// 41200. // -// * Access control - Include tags in IAM user-based and resource-based policies. -// You can use tags to restrict access to only an IAM instance profile that -// has a specified tag attached. For examples of policies that show how to -// use tags to control access, see Control access using IAM tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) -// in the IAM User Guide. +// - Access control - Include tags in IAM user-based and resource-based policies. +// You can use tags to restrict access to only an IAM instance profile that +// has a specified tag attached. For examples of policies that show how to +// use tags to control access, see Control access using IAM tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) +// in the IAM User Guide. // -// * If any one of the tags is invalid or if you exceed the allowed maximum -// number of tags, then the entire request fails and the resource is not -// created. For more information about tagging, see Tagging IAM resources -// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the -// IAM User Guide. +// - If any one of the tags is invalid or if you exceed the allowed maximum +// number of tags, then the entire request fails and the resource is not +// created. For more information about tagging, see Tagging IAM resources +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the +// IAM User Guide. // -// * Amazon Web Services always interprets the tag Value as a single string. -// If you need to store an array, you can store comma-separated values in -// the string. However, you must interpret the value in your code. +// - Amazon Web Services always interprets the tag Value as a single string. +// If you need to store an array, you can store comma-separated values in +// the string. However, you must interpret the value in your code. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -14120,27 +14071,28 @@ func (c *IAM) TagInstanceProfileRequest(input *TagInstanceProfileInput) (req *re // API operation TagInstanceProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagInstanceProfile func (c *IAM) TagInstanceProfile(input *TagInstanceProfileInput) (*TagInstanceProfileOutput, error) { @@ -14180,14 +14132,13 @@ const opTagMFADevice = "TagMFADevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagMFADeviceRequest method. +// req, resp := client.TagMFADeviceRequest(params) // -// // Example sending a request using the TagMFADeviceRequest method. -// req, resp := client.TagMFADeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagMFADevice func (c *IAM) TagMFADeviceRequest(input *TagMFADeviceInput) (req *request.Request, output *TagMFADeviceOutput) { @@ -14216,27 +14167,27 @@ func (c *IAM) TagMFADeviceRequest(input *TagMFADeviceInput) (req *request.Reques // A tag consists of a key name and an associated value. By assigning tags to // your resources, you can do the following: // -// * Administrative grouping and discovery - Attach tags to resources to -// aid in organization and search. For example, you could search for all -// resources with the key name Project and the value MyImportantProject. -// Or search for all resources with the key name Cost Center and the value -// 41200. +// - Administrative grouping and discovery - Attach tags to resources to +// aid in organization and search. For example, you could search for all +// resources with the key name Project and the value MyImportantProject. +// Or search for all resources with the key name Cost Center and the value +// 41200. // -// * Access control - Include tags in IAM user-based and resource-based policies. -// You can use tags to restrict access to only an IAM virtual MFA device -// that has a specified tag attached. For examples of policies that show -// how to use tags to control access, see Control access using IAM tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) -// in the IAM User Guide. +// - Access control - Include tags in IAM user-based and resource-based policies. +// You can use tags to restrict access to only an IAM virtual MFA device +// that has a specified tag attached. For examples of policies that show +// how to use tags to control access, see Control access using IAM tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) +// in the IAM User Guide. // -// * If any one of the tags is invalid or if you exceed the allowed maximum -// number of tags, then the entire request fails and the resource is not -// created. For more information about tagging, see Tagging IAM resources -// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the -// IAM User Guide. +// - If any one of the tags is invalid or if you exceed the allowed maximum +// number of tags, then the entire request fails and the resource is not +// created. For more information about tagging, see Tagging IAM resources +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the +// IAM User Guide. // -// * Amazon Web Services always interprets the tag Value as a single string. -// If you need to store an array, you can store comma-separated values in -// the string. However, you must interpret the value in your code. +// - Amazon Web Services always interprets the tag Value as a single string. +// If you need to store an array, you can store comma-separated values in +// the string. However, you must interpret the value in your code. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -14246,27 +14197,28 @@ func (c *IAM) TagMFADeviceRequest(input *TagMFADeviceInput) (req *request.Reques // API operation TagMFADevice for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagMFADevice func (c *IAM) TagMFADevice(input *TagMFADeviceInput) (*TagMFADeviceOutput, error) { @@ -14306,14 +14258,13 @@ const opTagOpenIDConnectProvider = "TagOpenIDConnectProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagOpenIDConnectProviderRequest method. +// req, resp := client.TagOpenIDConnectProviderRequest(params) // -// // Example sending a request using the TagOpenIDConnectProviderRequest method. -// req, resp := client.TagOpenIDConnectProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagOpenIDConnectProvider func (c *IAM) TagOpenIDConnectProviderRequest(input *TagOpenIDConnectProviderInput) (req *request.Request, output *TagOpenIDConnectProviderOutput) { @@ -14344,27 +14295,27 @@ func (c *IAM) TagOpenIDConnectProviderRequest(input *TagOpenIDConnectProviderInp // A tag consists of a key name and an associated value. By assigning tags to // your resources, you can do the following: // -// * Administrative grouping and discovery - Attach tags to resources to -// aid in organization and search. For example, you could search for all -// resources with the key name Project and the value MyImportantProject. -// Or search for all resources with the key name Cost Center and the value -// 41200. +// - Administrative grouping and discovery - Attach tags to resources to +// aid in organization and search. For example, you could search for all +// resources with the key name Project and the value MyImportantProject. +// Or search for all resources with the key name Cost Center and the value +// 41200. // -// * Access control - Include tags in IAM user-based and resource-based policies. -// You can use tags to restrict access to only an OIDC provider that has -// a specified tag attached. For examples of policies that show how to use -// tags to control access, see Control access using IAM tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) -// in the IAM User Guide. +// - Access control - Include tags in IAM user-based and resource-based policies. +// You can use tags to restrict access to only an OIDC provider that has +// a specified tag attached. For examples of policies that show how to use +// tags to control access, see Control access using IAM tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) +// in the IAM User Guide. // -// * If any one of the tags is invalid or if you exceed the allowed maximum -// number of tags, then the entire request fails and the resource is not -// created. For more information about tagging, see Tagging IAM resources -// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the -// IAM User Guide. +// - If any one of the tags is invalid or if you exceed the allowed maximum +// number of tags, then the entire request fails and the resource is not +// created. For more information about tagging, see Tagging IAM resources +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the +// IAM User Guide. // -// * Amazon Web Services always interprets the tag Value as a single string. -// If you need to store an array, you can store comma-separated values in -// the string. However, you must interpret the value in your code. +// - Amazon Web Services always interprets the tag Value as a single string. +// If you need to store an array, you can store comma-separated values in +// the string. However, you must interpret the value in your code. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -14374,27 +14325,28 @@ func (c *IAM) TagOpenIDConnectProviderRequest(input *TagOpenIDConnectProviderInp // API operation TagOpenIDConnectProvider for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagOpenIDConnectProvider func (c *IAM) TagOpenIDConnectProvider(input *TagOpenIDConnectProviderInput) (*TagOpenIDConnectProviderOutput, error) { @@ -14434,14 +14386,13 @@ const opTagPolicy = "TagPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagPolicyRequest method. +// req, resp := client.TagPolicyRequest(params) // -// // Example sending a request using the TagPolicyRequest method. -// req, resp := client.TagPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagPolicy func (c *IAM) TagPolicyRequest(input *TagPolicyInput) (req *request.Request, output *TagPolicyOutput) { @@ -14469,27 +14420,27 @@ func (c *IAM) TagPolicyRequest(input *TagPolicyInput) (req *request.Request, out // A tag consists of a key name and an associated value. By assigning tags to // your resources, you can do the following: // -// * Administrative grouping and discovery - Attach tags to resources to -// aid in organization and search. For example, you could search for all -// resources with the key name Project and the value MyImportantProject. -// Or search for all resources with the key name Cost Center and the value -// 41200. +// - Administrative grouping and discovery - Attach tags to resources to +// aid in organization and search. For example, you could search for all +// resources with the key name Project and the value MyImportantProject. +// Or search for all resources with the key name Cost Center and the value +// 41200. // -// * Access control - Include tags in IAM user-based and resource-based policies. -// You can use tags to restrict access to only an IAM customer managed policy -// that has a specified tag attached. For examples of policies that show -// how to use tags to control access, see Control access using IAM tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) -// in the IAM User Guide. +// - Access control - Include tags in IAM user-based and resource-based policies. +// You can use tags to restrict access to only an IAM customer managed policy +// that has a specified tag attached. For examples of policies that show +// how to use tags to control access, see Control access using IAM tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) +// in the IAM User Guide. // -// * If any one of the tags is invalid or if you exceed the allowed maximum -// number of tags, then the entire request fails and the resource is not -// created. For more information about tagging, see Tagging IAM resources -// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the -// IAM User Guide. +// - If any one of the tags is invalid or if you exceed the allowed maximum +// number of tags, then the entire request fails and the resource is not +// created. For more information about tagging, see Tagging IAM resources +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the +// IAM User Guide. // -// * Amazon Web Services always interprets the tag Value as a single string. -// If you need to store an array, you can store comma-separated values in -// the string. However, you must interpret the value in your code. +// - Amazon Web Services always interprets the tag Value as a single string. +// If you need to store an array, you can store comma-separated values in +// the string. However, you must interpret the value in your code. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -14499,27 +14450,28 @@ func (c *IAM) TagPolicyRequest(input *TagPolicyInput) (req *request.Request, out // API operation TagPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagPolicy func (c *IAM) TagPolicy(input *TagPolicyInput) (*TagPolicyOutput, error) { @@ -14559,14 +14511,13 @@ const opTagRole = "TagRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagRoleRequest method. +// req, resp := client.TagRoleRequest(params) // -// // Example sending a request using the TagRoleRequest method. -// req, resp := client.TagRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagRole func (c *IAM) TagRoleRequest(input *TagRoleInput) (req *request.Request, output *TagRoleOutput) { @@ -14595,31 +14546,31 @@ func (c *IAM) TagRoleRequest(input *TagRoleInput) (req *request.Request, output // A tag consists of a key name and an associated value. By assigning tags to // your resources, you can do the following: // -// * Administrative grouping and discovery - Attach tags to resources to -// aid in organization and search. For example, you could search for all -// resources with the key name Project and the value MyImportantProject. -// Or search for all resources with the key name Cost Center and the value -// 41200. +// - Administrative grouping and discovery - Attach tags to resources to +// aid in organization and search. For example, you could search for all +// resources with the key name Project and the value MyImportantProject. +// Or search for all resources with the key name Cost Center and the value +// 41200. // -// * Access control - Include tags in IAM user-based and resource-based policies. -// You can use tags to restrict access to only an IAM role that has a specified -// tag attached. You can also restrict access to only those resources that -// have a certain tag attached. For examples of policies that show how to -// use tags to control access, see Control access using IAM tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) -// in the IAM User Guide. +// - Access control - Include tags in IAM user-based and resource-based policies. +// You can use tags to restrict access to only an IAM role that has a specified +// tag attached. You can also restrict access to only those resources that +// have a certain tag attached. For examples of policies that show how to +// use tags to control access, see Control access using IAM tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) +// in the IAM User Guide. // -// * Cost allocation - Use tags to help track which individuals and teams -// are using which Amazon Web Services resources. +// - Cost allocation - Use tags to help track which individuals and teams +// are using which Amazon Web Services resources. // -// * If any one of the tags is invalid or if you exceed the allowed maximum -// number of tags, then the entire request fails and the resource is not -// created. For more information about tagging, see Tagging IAM resources -// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the -// IAM User Guide. +// - If any one of the tags is invalid or if you exceed the allowed maximum +// number of tags, then the entire request fails and the resource is not +// created. For more information about tagging, see Tagging IAM resources +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the +// IAM User Guide. // -// * Amazon Web Services always interprets the tag Value as a single string. -// If you need to store an array, you can store comma-separated values in -// the string. However, you must interpret the value in your code. +// - Amazon Web Services always interprets the tag Value as a single string. +// If you need to store an array, you can store comma-separated values in +// the string. However, you must interpret the value in your code. // // For more information about tagging, see Tagging IAM identities (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) // in the IAM User Guide. @@ -14632,27 +14583,28 @@ func (c *IAM) TagRoleRequest(input *TagRoleInput) (req *request.Request, output // API operation TagRole for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagRole func (c *IAM) TagRole(input *TagRoleInput) (*TagRoleOutput, error) { @@ -14692,14 +14644,13 @@ const opTagSAMLProvider = "TagSAMLProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagSAMLProviderRequest method. +// req, resp := client.TagSAMLProviderRequest(params) // -// // Example sending a request using the TagSAMLProviderRequest method. -// req, resp := client.TagSAMLProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagSAMLProvider func (c *IAM) TagSAMLProviderRequest(input *TagSAMLProviderInput) (req *request.Request, output *TagSAMLProviderOutput) { @@ -14730,27 +14681,27 @@ func (c *IAM) TagSAMLProviderRequest(input *TagSAMLProviderInput) (req *request. // A tag consists of a key name and an associated value. By assigning tags to // your resources, you can do the following: // -// * Administrative grouping and discovery - Attach tags to resources to -// aid in organization and search. For example, you could search for all -// resources with the key name Project and the value MyImportantProject. -// Or search for all resources with the key name Cost Center and the value -// 41200. +// - Administrative grouping and discovery - Attach tags to resources to +// aid in organization and search. For example, you could search for all +// resources with the key name Project and the value MyImportantProject. +// Or search for all resources with the key name Cost Center and the value +// 41200. // -// * Access control - Include tags in IAM user-based and resource-based policies. -// You can use tags to restrict access to only a SAML identity provider that -// has a specified tag attached. For examples of policies that show how to -// use tags to control access, see Control access using IAM tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) -// in the IAM User Guide. +// - Access control - Include tags in IAM user-based and resource-based policies. +// You can use tags to restrict access to only a SAML identity provider that +// has a specified tag attached. For examples of policies that show how to +// use tags to control access, see Control access using IAM tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) +// in the IAM User Guide. // -// * If any one of the tags is invalid or if you exceed the allowed maximum -// number of tags, then the entire request fails and the resource is not -// created. For more information about tagging, see Tagging IAM resources -// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the -// IAM User Guide. +// - If any one of the tags is invalid or if you exceed the allowed maximum +// number of tags, then the entire request fails and the resource is not +// created. For more information about tagging, see Tagging IAM resources +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the +// IAM User Guide. // -// * Amazon Web Services always interprets the tag Value as a single string. -// If you need to store an array, you can store comma-separated values in -// the string. However, you must interpret the value in your code. +// - Amazon Web Services always interprets the tag Value as a single string. +// If you need to store an array, you can store comma-separated values in +// the string. However, you must interpret the value in your code. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -14760,27 +14711,28 @@ func (c *IAM) TagSAMLProviderRequest(input *TagSAMLProviderInput) (req *request. // API operation TagSAMLProvider for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagSAMLProvider func (c *IAM) TagSAMLProvider(input *TagSAMLProviderInput) (*TagSAMLProviderOutput, error) { @@ -14820,14 +14772,13 @@ const opTagServerCertificate = "TagServerCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagServerCertificateRequest method. +// req, resp := client.TagServerCertificateRequest(params) // -// // Example sending a request using the TagServerCertificateRequest method. -// req, resp := client.TagServerCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagServerCertificate func (c *IAM) TagServerCertificateRequest(input *TagServerCertificateInput) (req *request.Request, output *TagServerCertificateOutput) { @@ -14861,30 +14812,30 @@ func (c *IAM) TagServerCertificateRequest(input *TagServerCertificateInput) (req // A tag consists of a key name and an associated value. By assigning tags to // your resources, you can do the following: // -// * Administrative grouping and discovery - Attach tags to resources to -// aid in organization and search. For example, you could search for all -// resources with the key name Project and the value MyImportantProject. -// Or search for all resources with the key name Cost Center and the value -// 41200. +// - Administrative grouping and discovery - Attach tags to resources to +// aid in organization and search. For example, you could search for all +// resources with the key name Project and the value MyImportantProject. +// Or search for all resources with the key name Cost Center and the value +// 41200. // -// * Access control - Include tags in IAM user-based and resource-based policies. -// You can use tags to restrict access to only a server certificate that -// has a specified tag attached. For examples of policies that show how to -// use tags to control access, see Control access using IAM tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) -// in the IAM User Guide. +// - Access control - Include tags in IAM user-based and resource-based policies. +// You can use tags to restrict access to only a server certificate that +// has a specified tag attached. For examples of policies that show how to +// use tags to control access, see Control access using IAM tags (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) +// in the IAM User Guide. // -// * Cost allocation - Use tags to help track which individuals and teams -// are using which Amazon Web Services resources. +// - Cost allocation - Use tags to help track which individuals and teams +// are using which Amazon Web Services resources. // -// * If any one of the tags is invalid or if you exceed the allowed maximum -// number of tags, then the entire request fails and the resource is not -// created. For more information about tagging, see Tagging IAM resources -// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the -// IAM User Guide. +// - If any one of the tags is invalid or if you exceed the allowed maximum +// number of tags, then the entire request fails and the resource is not +// created. For more information about tagging, see Tagging IAM resources +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the +// IAM User Guide. // -// * Amazon Web Services always interprets the tag Value as a single string. -// If you need to store an array, you can store comma-separated values in -// the string. However, you must interpret the value in your code. +// - Amazon Web Services always interprets the tag Value as a single string. +// If you need to store an array, you can store comma-separated values in +// the string. However, you must interpret the value in your code. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -14894,27 +14845,28 @@ func (c *IAM) TagServerCertificateRequest(input *TagServerCertificateInput) (req // API operation TagServerCertificate for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagServerCertificate func (c *IAM) TagServerCertificate(input *TagServerCertificateInput) (*TagServerCertificateOutput, error) { @@ -14954,14 +14906,13 @@ const opTagUser = "TagUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagUserRequest method. +// req, resp := client.TagUserRequest(params) // -// // Example sending a request using the TagUserRequest method. -// req, resp := client.TagUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagUser func (c *IAM) TagUserRequest(input *TagUserInput) (req *request.Request, output *TagUserOutput) { @@ -14989,32 +14940,32 @@ func (c *IAM) TagUserRequest(input *TagUserInput) (req *request.Request, output // A tag consists of a key name and an associated value. By assigning tags to // your resources, you can do the following: // -// * Administrative grouping and discovery - Attach tags to resources to -// aid in organization and search. For example, you could search for all -// resources with the key name Project and the value MyImportantProject. -// Or search for all resources with the key name Cost Center and the value -// 41200. -// -// * Access control - Include tags in IAM user-based and resource-based policies. -// You can use tags to restrict access to only an IAM requesting user that -// has a specified tag attached. You can also restrict access to only those -// resources that have a certain tag attached. For examples of policies that -// show how to use tags to control access, see Control access using IAM tags -// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) in -// the IAM User Guide. -// -// * Cost allocation - Use tags to help track which individuals and teams -// are using which Amazon Web Services resources. -// -// * If any one of the tags is invalid or if you exceed the allowed maximum -// number of tags, then the entire request fails and the resource is not -// created. For more information about tagging, see Tagging IAM resources -// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the -// IAM User Guide. -// -// * Amazon Web Services always interprets the tag Value as a single string. -// If you need to store an array, you can store comma-separated values in -// the string. However, you must interpret the value in your code. +// - Administrative grouping and discovery - Attach tags to resources to +// aid in organization and search. For example, you could search for all +// resources with the key name Project and the value MyImportantProject. +// Or search for all resources with the key name Cost Center and the value +// 41200. +// +// - Access control - Include tags in IAM user-based and resource-based policies. +// You can use tags to restrict access to only an IAM requesting user that +// has a specified tag attached. You can also restrict access to only those +// resources that have a certain tag attached. For examples of policies that +// show how to use tags to control access, see Control access using IAM tags +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_tags.html) in +// the IAM User Guide. +// +// - Cost allocation - Use tags to help track which individuals and teams +// are using which Amazon Web Services resources. +// +// - If any one of the tags is invalid or if you exceed the allowed maximum +// number of tags, then the entire request fails and the resource is not +// created. For more information about tagging, see Tagging IAM resources +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the +// IAM User Guide. +// +// - Amazon Web Services always interprets the tag Value as a single string. +// If you need to store an array, you can store comma-separated values in +// the string. However, you must interpret the value in your code. // // For more information about tagging, see Tagging IAM identities (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) // in the IAM User Guide. @@ -15027,27 +14978,28 @@ func (c *IAM) TagUserRequest(input *TagUserInput) (req *request.Request, output // API operation TagUser for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TagUser func (c *IAM) TagUser(input *TagUserInput) (*TagUserOutput, error) { @@ -15087,14 +15039,13 @@ const opUntagInstanceProfile = "UntagInstanceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagInstanceProfileRequest method. +// req, resp := client.UntagInstanceProfileRequest(params) // -// // Example sending a request using the UntagInstanceProfileRequest method. -// req, resp := client.UntagInstanceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagInstanceProfile func (c *IAM) UntagInstanceProfileRequest(input *UntagInstanceProfileInput) (req *request.Request, output *UntagInstanceProfileOutput) { @@ -15128,22 +15079,23 @@ func (c *IAM) UntagInstanceProfileRequest(input *UntagInstanceProfileInput) (req // API operation UntagInstanceProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagInstanceProfile func (c *IAM) UntagInstanceProfile(input *UntagInstanceProfileInput) (*UntagInstanceProfileOutput, error) { @@ -15183,14 +15135,13 @@ const opUntagMFADevice = "UntagMFADevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagMFADeviceRequest method. +// req, resp := client.UntagMFADeviceRequest(params) // -// // Example sending a request using the UntagMFADeviceRequest method. -// req, resp := client.UntagMFADeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagMFADevice func (c *IAM) UntagMFADeviceRequest(input *UntagMFADeviceInput) (req *request.Request, output *UntagMFADeviceOutput) { @@ -15225,22 +15176,23 @@ func (c *IAM) UntagMFADeviceRequest(input *UntagMFADeviceInput) (req *request.Re // API operation UntagMFADevice for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagMFADevice func (c *IAM) UntagMFADevice(input *UntagMFADeviceInput) (*UntagMFADeviceOutput, error) { @@ -15280,14 +15232,13 @@ const opUntagOpenIDConnectProvider = "UntagOpenIDConnectProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagOpenIDConnectProviderRequest method. +// req, resp := client.UntagOpenIDConnectProviderRequest(params) // -// // Example sending a request using the UntagOpenIDConnectProviderRequest method. -// req, resp := client.UntagOpenIDConnectProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagOpenIDConnectProvider func (c *IAM) UntagOpenIDConnectProviderRequest(input *UntagOpenIDConnectProviderInput) (req *request.Request, output *UntagOpenIDConnectProviderOutput) { @@ -15323,22 +15274,23 @@ func (c *IAM) UntagOpenIDConnectProviderRequest(input *UntagOpenIDConnectProvide // API operation UntagOpenIDConnectProvider for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagOpenIDConnectProvider func (c *IAM) UntagOpenIDConnectProvider(input *UntagOpenIDConnectProviderInput) (*UntagOpenIDConnectProviderOutput, error) { @@ -15378,14 +15330,13 @@ const opUntagPolicy = "UntagPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagPolicyRequest method. +// req, resp := client.UntagPolicyRequest(params) // -// // Example sending a request using the UntagPolicyRequest method. -// req, resp := client.UntagPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagPolicy func (c *IAM) UntagPolicyRequest(input *UntagPolicyInput) (req *request.Request, output *UntagPolicyOutput) { @@ -15419,22 +15370,23 @@ func (c *IAM) UntagPolicyRequest(input *UntagPolicyInput) (req *request.Request, // API operation UntagPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagPolicy func (c *IAM) UntagPolicy(input *UntagPolicyInput) (*UntagPolicyOutput, error) { @@ -15474,14 +15426,13 @@ const opUntagRole = "UntagRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagRoleRequest method. +// req, resp := client.UntagRoleRequest(params) // -// // Example sending a request using the UntagRoleRequest method. -// req, resp := client.UntagRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagRole func (c *IAM) UntagRoleRequest(input *UntagRoleInput) (req *request.Request, output *UntagRoleOutput) { @@ -15515,18 +15466,19 @@ func (c *IAM) UntagRoleRequest(input *UntagRoleInput) (req *request.Request, out // API operation UntagRole for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagRole func (c *IAM) UntagRole(input *UntagRoleInput) (*UntagRoleOutput, error) { @@ -15566,14 +15518,13 @@ const opUntagSAMLProvider = "UntagSAMLProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagSAMLProviderRequest method. +// req, resp := client.UntagSAMLProviderRequest(params) // -// // Example sending a request using the UntagSAMLProviderRequest method. -// req, resp := client.UntagSAMLProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagSAMLProvider func (c *IAM) UntagSAMLProviderRequest(input *UntagSAMLProviderInput) (req *request.Request, output *UntagSAMLProviderOutput) { @@ -15609,22 +15560,23 @@ func (c *IAM) UntagSAMLProviderRequest(input *UntagSAMLProviderInput) (req *requ // API operation UntagSAMLProvider for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagSAMLProvider func (c *IAM) UntagSAMLProvider(input *UntagSAMLProviderInput) (*UntagSAMLProviderOutput, error) { @@ -15664,14 +15616,13 @@ const opUntagServerCertificate = "UntagServerCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagServerCertificateRequest method. +// req, resp := client.UntagServerCertificateRequest(params) // -// // Example sending a request using the UntagServerCertificateRequest method. -// req, resp := client.UntagServerCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagServerCertificate func (c *IAM) UntagServerCertificateRequest(input *UntagServerCertificateInput) (req *request.Request, output *UntagServerCertificateOutput) { @@ -15711,22 +15662,23 @@ func (c *IAM) UntagServerCertificateRequest(input *UntagServerCertificateInput) // API operation UntagServerCertificate for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagServerCertificate func (c *IAM) UntagServerCertificate(input *UntagServerCertificateInput) (*UntagServerCertificateOutput, error) { @@ -15766,14 +15718,13 @@ const opUntagUser = "UntagUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagUserRequest method. +// req, resp := client.UntagUserRequest(params) // -// // Example sending a request using the UntagUserRequest method. -// req, resp := client.UntagUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagUser func (c *IAM) UntagUserRequest(input *UntagUserInput) (req *request.Request, output *UntagUserOutput) { @@ -15807,18 +15758,19 @@ func (c *IAM) UntagUserRequest(input *UntagUserInput) (req *request.Request, out // API operation UntagUser for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagUser func (c *IAM) UntagUser(input *UntagUserInput) (*UntagUserOutput, error) { @@ -15858,14 +15810,13 @@ const opUpdateAccessKey = "UpdateAccessKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAccessKeyRequest method. +// req, resp := client.UpdateAccessKeyRequest(params) // -// // Example sending a request using the UpdateAccessKeyRequest method. -// req, resp := client.UpdateAccessKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccessKey func (c *IAM) UpdateAccessKeyRequest(input *UpdateAccessKeyInput) (req *request.Request, output *UpdateAccessKeyOutput) { @@ -15909,18 +15860,19 @@ func (c *IAM) UpdateAccessKeyRequest(input *UpdateAccessKeyInput) (req *request. // API operation UpdateAccessKey for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccessKey func (c *IAM) UpdateAccessKey(input *UpdateAccessKeyInput) (*UpdateAccessKeyOutput, error) { @@ -15960,14 +15912,13 @@ const opUpdateAccountPasswordPolicy = "UpdateAccountPasswordPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAccountPasswordPolicyRequest method. +// req, resp := client.UpdateAccountPasswordPolicyRequest(params) // -// // Example sending a request using the UpdateAccountPasswordPolicyRequest method. -// req, resp := client.UpdateAccountPasswordPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccountPasswordPolicy func (c *IAM) UpdateAccountPasswordPolicyRequest(input *UpdateAccountPasswordPolicyInput) (req *request.Request, output *UpdateAccountPasswordPolicyOutput) { @@ -16010,22 +15961,23 @@ func (c *IAM) UpdateAccountPasswordPolicyRequest(input *UpdateAccountPasswordPol // API operation UpdateAccountPasswordPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" -// The request was rejected because the policy document was malformed. The error -// message describes the specific error. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" +// The request was rejected because the policy document was malformed. The error +// message describes the specific error. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAccountPasswordPolicy func (c *IAM) UpdateAccountPasswordPolicy(input *UpdateAccountPasswordPolicyInput) (*UpdateAccountPasswordPolicyOutput, error) { @@ -16065,14 +16017,13 @@ const opUpdateAssumeRolePolicy = "UpdateAssumeRolePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAssumeRolePolicyRequest method. +// req, resp := client.UpdateAssumeRolePolicyRequest(params) // -// // Example sending a request using the UpdateAssumeRolePolicyRequest method. -// req, resp := client.UpdateAssumeRolePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAssumeRolePolicy func (c *IAM) UpdateAssumeRolePolicyRequest(input *UpdateAssumeRolePolicyInput) (req *request.Request, output *UpdateAssumeRolePolicyOutput) { @@ -16107,28 +16058,29 @@ func (c *IAM) UpdateAssumeRolePolicyRequest(input *UpdateAssumeRolePolicyInput) // API operation UpdateAssumeRolePolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" -// The request was rejected because the policy document was malformed. The error -// message describes the specific error. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" +// The request was rejected because the policy document was malformed. The error +// message describes the specific error. // -// * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" -// The request was rejected because only the service that depends on the service-linked -// role can modify or delete the role on your behalf. The error message includes -// the name of the service that depends on this service-linked role. You must -// request the change through that service. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeUnmodifiableEntityException "UnmodifiableEntity" +// The request was rejected because only the service that depends on the service-linked +// role can modify or delete the role on your behalf. The error message includes +// the name of the service that depends on this service-linked role. You must +// request the change through that service. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateAssumeRolePolicy func (c *IAM) UpdateAssumeRolePolicy(input *UpdateAssumeRolePolicyInput) (*UpdateAssumeRolePolicyOutput, error) { @@ -16168,14 +16120,13 @@ const opUpdateGroup = "UpdateGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGroupRequest method. +// req, resp := client.UpdateGroupRequest(params) // -// // Example sending a request using the UpdateGroupRequest method. -// req, resp := client.UpdateGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateGroup func (c *IAM) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput) { @@ -16218,22 +16169,23 @@ func (c *IAM) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, // API operation UpdateGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateGroup func (c *IAM) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error) { @@ -16273,14 +16225,13 @@ const opUpdateLoginProfile = "UpdateLoginProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLoginProfileRequest method. +// req, resp := client.UpdateLoginProfileRequest(params) // -// // Example sending a request using the UpdateLoginProfileRequest method. -// req, resp := client.UpdateLoginProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateLoginProfile func (c *IAM) UpdateLoginProfileRequest(input *UpdateLoginProfileInput) (req *request.Request, output *UpdateLoginProfileOutput) { @@ -16319,28 +16270,29 @@ func (c *IAM) UpdateLoginProfileRequest(input *UpdateLoginProfileInput) (req *re // API operation UpdateLoginProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeEntityTemporarilyUnmodifiableException "EntityTemporarilyUnmodifiable" -// The request was rejected because it referenced an entity that is temporarily -// unmodifiable, such as a user name that was deleted and then recreated. The -// error indicates that the request is likely to succeed if you try again after -// waiting several minutes. The error message describes the entity. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeEntityTemporarilyUnmodifiableException "EntityTemporarilyUnmodifiable" +// The request was rejected because it referenced an entity that is temporarily +// unmodifiable, such as a user name that was deleted and then recreated. The +// error indicates that the request is likely to succeed if you try again after +// waiting several minutes. The error message describes the entity. +// +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodePasswordPolicyViolationException "PasswordPolicyViolation" -// The request was rejected because the provided password did not meet the requirements -// imposed by the account password policy. +// - ErrCodePasswordPolicyViolationException "PasswordPolicyViolation" +// The request was rejected because the provided password did not meet the requirements +// imposed by the account password policy. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateLoginProfile func (c *IAM) UpdateLoginProfile(input *UpdateLoginProfileInput) (*UpdateLoginProfileOutput, error) { @@ -16380,14 +16332,13 @@ const opUpdateOpenIDConnectProviderThumbprint = "UpdateOpenIDConnectProviderThum // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateOpenIDConnectProviderThumbprintRequest method. +// req, resp := client.UpdateOpenIDConnectProviderThumbprintRequest(params) // -// // Example sending a request using the UpdateOpenIDConnectProviderThumbprintRequest method. -// req, resp := client.UpdateOpenIDConnectProviderThumbprintRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateOpenIDConnectProviderThumbprint func (c *IAM) UpdateOpenIDConnectProviderThumbprintRequest(input *UpdateOpenIDConnectProviderThumbprintInput) (req *request.Request, output *UpdateOpenIDConnectProviderThumbprintOutput) { @@ -16440,17 +16391,18 @@ func (c *IAM) UpdateOpenIDConnectProviderThumbprintRequest(input *UpdateOpenIDCo // API operation UpdateOpenIDConnectProviderThumbprint for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateOpenIDConnectProviderThumbprint func (c *IAM) UpdateOpenIDConnectProviderThumbprint(input *UpdateOpenIDConnectProviderThumbprintInput) (*UpdateOpenIDConnectProviderThumbprintOutput, error) { @@ -16490,14 +16442,13 @@ const opUpdateRole = "UpdateRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRoleRequest method. +// req, resp := client.UpdateRoleRequest(params) // -// // Example sending a request using the UpdateRoleRequest method. -// req, resp := client.UpdateRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRole func (c *IAM) UpdateRoleRequest(input *UpdateRoleInput) (req *request.Request, output *UpdateRoleOutput) { @@ -16529,19 +16480,20 @@ func (c *IAM) UpdateRoleRequest(input *UpdateRoleInput) (req *request.Request, o // API operation UpdateRole for usage and error information. // // Returned Error Codes: -// * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" -// The request was rejected because only the service that depends on the service-linked -// role can modify or delete the role on your behalf. The error message includes -// the name of the service that depends on this service-linked role. You must -// request the change through that service. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeUnmodifiableEntityException "UnmodifiableEntity" +// The request was rejected because only the service that depends on the service-linked +// role can modify or delete the role on your behalf. The error message includes +// the name of the service that depends on this service-linked role. You must +// request the change through that service. +// +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRole func (c *IAM) UpdateRole(input *UpdateRoleInput) (*UpdateRoleOutput, error) { @@ -16581,14 +16533,13 @@ const opUpdateRoleDescription = "UpdateRoleDescription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRoleDescriptionRequest method. +// req, resp := client.UpdateRoleDescriptionRequest(params) // -// // Example sending a request using the UpdateRoleDescriptionRequest method. -// req, resp := client.UpdateRoleDescriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRoleDescription func (c *IAM) UpdateRoleDescriptionRequest(input *UpdateRoleDescriptionInput) (req *request.Request, output *UpdateRoleDescriptionOutput) { @@ -16622,19 +16573,20 @@ func (c *IAM) UpdateRoleDescriptionRequest(input *UpdateRoleDescriptionInput) (r // API operation UpdateRoleDescription for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeUnmodifiableEntityException "UnmodifiableEntity" -// The request was rejected because only the service that depends on the service-linked -// role can modify or delete the role on your behalf. The error message includes -// the name of the service that depends on this service-linked role. You must -// request the change through that service. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeUnmodifiableEntityException "UnmodifiableEntity" +// The request was rejected because only the service that depends on the service-linked +// role can modify or delete the role on your behalf. The error message includes +// the name of the service that depends on this service-linked role. You must +// request the change through that service. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRoleDescription func (c *IAM) UpdateRoleDescription(input *UpdateRoleDescriptionInput) (*UpdateRoleDescriptionOutput, error) { @@ -16674,14 +16626,13 @@ const opUpdateSAMLProvider = "UpdateSAMLProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSAMLProviderRequest method. +// req, resp := client.UpdateSAMLProviderRequest(params) // -// // Example sending a request using the UpdateSAMLProviderRequest method. -// req, resp := client.UpdateSAMLProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSAMLProvider func (c *IAM) UpdateSAMLProviderRequest(input *UpdateSAMLProviderInput) (req *request.Request, output *UpdateSAMLProviderOutput) { @@ -16714,22 +16665,23 @@ func (c *IAM) UpdateSAMLProviderRequest(input *UpdateSAMLProviderInput) (req *re // API operation UpdateSAMLProvider for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSAMLProvider func (c *IAM) UpdateSAMLProvider(input *UpdateSAMLProviderInput) (*UpdateSAMLProviderOutput, error) { @@ -16769,14 +16721,13 @@ const opUpdateSSHPublicKey = "UpdateSSHPublicKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSSHPublicKeyRequest method. +// req, resp := client.UpdateSSHPublicKeyRequest(params) // -// // Example sending a request using the UpdateSSHPublicKeyRequest method. -// req, resp := client.UpdateSSHPublicKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSSHPublicKey func (c *IAM) UpdateSSHPublicKeyRequest(input *UpdateSSHPublicKeyInput) (req *request.Request, output *UpdateSSHPublicKeyOutput) { @@ -16817,9 +16768,9 @@ func (c *IAM) UpdateSSHPublicKeyRequest(input *UpdateSSHPublicKeyInput) (req *re // API operation UpdateSSHPublicKey for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSSHPublicKey func (c *IAM) UpdateSSHPublicKey(input *UpdateSSHPublicKeyInput) (*UpdateSSHPublicKeyOutput, error) { @@ -16859,14 +16810,13 @@ const opUpdateServerCertificate = "UpdateServerCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServerCertificateRequest method. +// req, resp := client.UpdateServerCertificateRequest(params) // -// // Example sending a request using the UpdateServerCertificateRequest method. -// req, resp := client.UpdateServerCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServerCertificate func (c *IAM) UpdateServerCertificateRequest(input *UpdateServerCertificateInput) (req *request.Request, output *UpdateServerCertificateOutput) { @@ -16917,22 +16867,23 @@ func (c *IAM) UpdateServerCertificateRequest(input *UpdateServerCertificateInput // API operation UpdateServerCertificate for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServerCertificate func (c *IAM) UpdateServerCertificate(input *UpdateServerCertificateInput) (*UpdateServerCertificateOutput, error) { @@ -16972,14 +16923,13 @@ const opUpdateServiceSpecificCredential = "UpdateServiceSpecificCredential" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServiceSpecificCredentialRequest method. +// req, resp := client.UpdateServiceSpecificCredentialRequest(params) // -// // Example sending a request using the UpdateServiceSpecificCredentialRequest method. -// req, resp := client.UpdateServiceSpecificCredentialRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServiceSpecificCredential func (c *IAM) UpdateServiceSpecificCredentialRequest(input *UpdateServiceSpecificCredentialInput) (req *request.Request, output *UpdateServiceSpecificCredentialOutput) { @@ -17014,9 +16964,9 @@ func (c *IAM) UpdateServiceSpecificCredentialRequest(input *UpdateServiceSpecifi // API operation UpdateServiceSpecificCredential for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServiceSpecificCredential func (c *IAM) UpdateServiceSpecificCredential(input *UpdateServiceSpecificCredentialInput) (*UpdateServiceSpecificCredentialOutput, error) { @@ -17056,14 +17006,13 @@ const opUpdateSigningCertificate = "UpdateSigningCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSigningCertificateRequest method. +// req, resp := client.UpdateSigningCertificateRequest(params) // -// // Example sending a request using the UpdateSigningCertificateRequest method. -// req, resp := client.UpdateSigningCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSigningCertificate func (c *IAM) UpdateSigningCertificateRequest(input *UpdateSigningCertificateInput) (req *request.Request, output *UpdateSigningCertificateOutput) { @@ -17104,18 +17053,19 @@ func (c *IAM) UpdateSigningCertificateRequest(input *UpdateSigningCertificateInp // API operation UpdateSigningCertificate for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. // -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateSigningCertificate func (c *IAM) UpdateSigningCertificate(input *UpdateSigningCertificateInput) (*UpdateSigningCertificateOutput, error) { @@ -17155,14 +17105,13 @@ const opUpdateUser = "UpdateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserRequest method. +// req, resp := client.UpdateUserRequest(params) // -// // Example sending a request using the UpdateUserRequest method. -// req, resp := client.UpdateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateUser func (c *IAM) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput) { @@ -17205,33 +17154,34 @@ func (c *IAM) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, o // API operation UpdateUser for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. -// -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. -// -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. -// -// * ErrCodeEntityTemporarilyUnmodifiableException "EntityTemporarilyUnmodifiable" -// The request was rejected because it referenced an entity that is temporarily -// unmodifiable, such as a user name that was deleted and then recreated. The -// error indicates that the request is likely to succeed if you try again after -// waiting several minutes. The error message describes the entity. -// -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. -// -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. +// +// - ErrCodeEntityTemporarilyUnmodifiableException "EntityTemporarilyUnmodifiable" +// The request was rejected because it referenced an entity that is temporarily +// unmodifiable, such as a user name that was deleted and then recreated. The +// error indicates that the request is likely to succeed if you try again after +// waiting several minutes. The error message describes the entity. +// +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. +// +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateUser func (c *IAM) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) { @@ -17271,14 +17221,13 @@ const opUploadSSHPublicKey = "UploadSSHPublicKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UploadSSHPublicKeyRequest method. +// req, resp := client.UploadSSHPublicKeyRequest(params) // -// // Example sending a request using the UploadSSHPublicKeyRequest method. -// req, resp := client.UploadSSHPublicKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSSHPublicKey func (c *IAM) UploadSSHPublicKeyRequest(input *UploadSSHPublicKeyInput) (req *request.Request, output *UploadSSHPublicKeyOutput) { @@ -17315,26 +17264,27 @@ func (c *IAM) UploadSSHPublicKeyRequest(input *UploadSSHPublicKeyInput) (req *re // API operation UploadSSHPublicKey for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. // -// * ErrCodeInvalidPublicKeyException "InvalidPublicKey" -// The request was rejected because the public key is malformed or otherwise -// invalid. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeDuplicateSSHPublicKeyException "DuplicateSSHPublicKey" -// The request was rejected because the SSH public key is already associated -// with the specified IAM user. +// - ErrCodeInvalidPublicKeyException "InvalidPublicKey" +// The request was rejected because the public key is malformed or otherwise +// invalid. // -// * ErrCodeUnrecognizedPublicKeyEncodingException "UnrecognizedPublicKeyEncoding" -// The request was rejected because the public key encoding format is unsupported -// or unrecognized. +// - ErrCodeDuplicateSSHPublicKeyException "DuplicateSSHPublicKey" +// The request was rejected because the SSH public key is already associated +// with the specified IAM user. +// +// - ErrCodeUnrecognizedPublicKeyEncodingException "UnrecognizedPublicKeyEncoding" +// The request was rejected because the public key encoding format is unsupported +// or unrecognized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSSHPublicKey func (c *IAM) UploadSSHPublicKey(input *UploadSSHPublicKeyInput) (*UploadSSHPublicKeyOutput, error) { @@ -17374,14 +17324,13 @@ const opUploadServerCertificate = "UploadServerCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UploadServerCertificateRequest method. +// req, resp := client.UploadServerCertificateRequest(params) // -// // Example sending a request using the UploadServerCertificateRequest method. -// req, resp := client.UploadServerCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadServerCertificate func (c *IAM) UploadServerCertificateRequest(input *UploadServerCertificateInput) (req *request.Request, output *UploadServerCertificateOutput) { @@ -17439,35 +17388,36 @@ func (c *IAM) UploadServerCertificateRequest(input *UploadServerCertificateInput // API operation UploadServerCertificate for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. // -// * ErrCodeInvalidInputException "InvalidInput" -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeInvalidInputException "InvalidInput" +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. // -// * ErrCodeMalformedCertificateException "MalformedCertificate" -// The request was rejected because the certificate was malformed or expired. -// The error message describes the specific error. +// - ErrCodeMalformedCertificateException "MalformedCertificate" +// The request was rejected because the certificate was malformed or expired. +// The error message describes the specific error. // -// * ErrCodeKeyPairMismatchException "KeyPairMismatch" -// The request was rejected because the public key certificate and the private -// key do not match. +// - ErrCodeKeyPairMismatchException "KeyPairMismatch" +// The request was rejected because the public key certificate and the private +// key do not match. // -// * ErrCodeConcurrentModificationException "ConcurrentModification" -// The request was rejected because multiple requests to change this object -// were submitted simultaneously. Wait a few minutes and submit your request -// again. +// - ErrCodeConcurrentModificationException "ConcurrentModification" +// The request was rejected because multiple requests to change this object +// were submitted simultaneously. Wait a few minutes and submit your request +// again. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadServerCertificate func (c *IAM) UploadServerCertificate(input *UploadServerCertificateInput) (*UploadServerCertificateOutput, error) { @@ -17507,14 +17457,13 @@ const opUploadSigningCertificate = "UploadSigningCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UploadSigningCertificateRequest method. +// req, resp := client.UploadSigningCertificateRequest(params) // -// // Example sending a request using the UploadSigningCertificateRequest method. -// req, resp := client.UploadSigningCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSigningCertificate func (c *IAM) UploadSigningCertificateRequest(input *UploadSigningCertificateInput) (req *request.Request, output *UploadSigningCertificateOutput) { @@ -17567,33 +17516,34 @@ func (c *IAM) UploadSigningCertificateRequest(input *UploadSigningCertificateInp // API operation UploadSigningCertificate for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceeded" -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account limits. The error message describes -// the limit exceeded. // -// * ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" -// The request was rejected because it attempted to create a resource that already -// exists. +// - ErrCodeLimitExceededException "LimitExceeded" +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account limits. The error message describes +// the limit exceeded. +// +// - ErrCodeEntityAlreadyExistsException "EntityAlreadyExists" +// The request was rejected because it attempted to create a resource that already +// exists. // -// * ErrCodeMalformedCertificateException "MalformedCertificate" -// The request was rejected because the certificate was malformed or expired. -// The error message describes the specific error. +// - ErrCodeMalformedCertificateException "MalformedCertificate" +// The request was rejected because the certificate was malformed or expired. +// The error message describes the specific error. // -// * ErrCodeInvalidCertificateException "InvalidCertificate" -// The request was rejected because the certificate is invalid. +// - ErrCodeInvalidCertificateException "InvalidCertificate" +// The request was rejected because the certificate is invalid. // -// * ErrCodeDuplicateCertificateException "DuplicateCertificate" -// The request was rejected because the same certificate is associated with -// an IAM user in the account. +// - ErrCodeDuplicateCertificateException "DuplicateCertificate" +// The request was rejected because the same certificate is associated with +// an IAM user in the account. // -// * ErrCodeNoSuchEntityException "NoSuchEntity" -// The request was rejected because it referenced a resource entity that does -// not exist. The error message describes the resource. +// - ErrCodeNoSuchEntityException "NoSuchEntity" +// The request was rejected because it referenced a resource entity that does +// not exist. The error message describes the resource. // -// * ErrCodeServiceFailureException "ServiceFailure" -// The request processing has failed because of an unknown error, exception -// or failure. +// - ErrCodeServiceFailureException "ServiceFailure" +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UploadSigningCertificate func (c *IAM) UploadSigningCertificate(input *UploadSigningCertificateInput) (*UploadSigningCertificateOutput, error) { @@ -26685,11 +26635,11 @@ func (s *GetUserPolicyOutput) SetUserName(v string) *GetUserPolicyOutput { // // This data type is used as a response element in the following operations: // -// * CreateGroup +// - CreateGroup // -// * GetGroup +// - GetGroup // -// * ListGroups +// - ListGroups type Group struct { _ struct{} `type:"structure"` @@ -26876,13 +26826,13 @@ func (s *GroupDetail) SetPath(v string) *GroupDetail { // // This data type is used as a response element in the following operations: // -// * CreateInstanceProfile +// - CreateInstanceProfile // -// * GetInstanceProfile +// - GetInstanceProfile // -// * ListInstanceProfiles +// - ListInstanceProfiles // -// * ListInstanceProfilesForRole +// - ListInstanceProfilesForRole type InstanceProfile struct { _ struct{} `type:"structure"` @@ -40071,11 +40021,11 @@ func (s *UploadSigningCertificateOutput) SetCertificate(v *SigningCertificate) * // // This data type is used as a response element in the following operations: // -// * CreateUser +// - CreateUser // -// * GetUser +// - GetUser // -// * ListUsers +// - ListUsers type User struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/doc.go index c8a978b6eefa..e87adfc6b166 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/doc.go @@ -15,7 +15,7 @@ // See iam package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/iam/ // -// Using the Client +// # Using the Client // // To contact AWS Identity and Access Management with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/iamiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/iamiface/interface.go index bf72ff3fcb2c..e0e3d2154f61 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/iamiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/iamiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Identity and Access Management. -// func myFunc(svc iamiface.IAMAPI) bool { -// // Make svc.AddClientIDToOpenIDConnectProvider request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Identity and Access Management. +// func myFunc(svc iamiface.IAMAPI) bool { +// // Make svc.AddClientIDToOpenIDConnectProvider request +// } // -// func main() { -// sess := session.New() -// svc := iam.New(sess) +// func main() { +// sess := session.New() +// svc := iam.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIAMClient struct { -// iamiface.IAMAPI -// } -// func (m *mockIAMClient) AddClientIDToOpenIDConnectProvider(input *iam.AddClientIDToOpenIDConnectProviderInput) (*iam.AddClientIDToOpenIDConnectProviderOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIAMClient struct { +// iamiface.IAMAPI +// } +// func (m *mockIAMClient) AddClientIDToOpenIDConnectProvider(input *iam.AddClientIDToOpenIDConnectProviderInput) (*iam.AddClientIDToOpenIDConnectProviderOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIAMClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIAMClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/service.go index a4df42c09518..a8444f39a1f2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iam/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IAM client from just a session. -// svc := iam.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IAM client with additional configuration -// svc := iam.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IAM client from just a session. +// svc := iam.New(mySession) +// +// // Create a IAM client with additional configuration +// svc := iam.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IAM { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/api.go index a532b3e8f8fd..9bbb7b6cb90f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/api.go @@ -27,14 +27,13 @@ const opDescribeGroup = "DescribeGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGroupRequest method. +// req, resp := client.DescribeGroupRequest(params) // -// // Example sending a request using the DescribeGroupRequest method. -// req, resp := client.DescribeGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/DescribeGroup func (c *IdentityStore) DescribeGroupRequest(input *DescribeGroupInput) (req *request.Request, output *DescribeGroupOutput) { @@ -65,22 +64,23 @@ func (c *IdentityStore) DescribeGroupRequest(input *DescribeGroupInput) (req *re // API operation DescribeGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure with an internal server. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure with an internal server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/DescribeGroup func (c *IdentityStore) DescribeGroup(input *DescribeGroupInput) (*DescribeGroupOutput, error) { @@ -120,14 +120,13 @@ const opDescribeUser = "DescribeUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserRequest method. +// req, resp := client.DescribeUserRequest(params) // -// // Example sending a request using the DescribeUserRequest method. -// req, resp := client.DescribeUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/DescribeUser func (c *IdentityStore) DescribeUserRequest(input *DescribeUserInput) (req *request.Request, output *DescribeUserOutput) { @@ -158,22 +157,23 @@ func (c *IdentityStore) DescribeUserRequest(input *DescribeUserInput) (req *requ // API operation DescribeUser for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request failed because it contains a syntax error. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure with an internal server. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure with an internal server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/DescribeUser func (c *IdentityStore) DescribeUser(input *DescribeUserInput) (*DescribeUserOutput, error) { @@ -213,14 +213,13 @@ const opListGroups = "ListGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroupsRequest method. +// req, resp := client.ListGroupsRequest(params) // -// // Example sending a request using the ListGroupsRequest method. -// req, resp := client.ListGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/ListGroups func (c *IdentityStore) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput) { @@ -260,22 +259,23 @@ func (c *IdentityStore) ListGroupsRequest(input *ListGroupsInput) (req *request. // API operation ListGroups for usage and error information. // // Returned Error Types: -// * ValidationException -// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request failed because it contains a syntax error. // -// * ResourceNotFoundException -// Indicates that a requested resource is not found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure with an internal server. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure with an internal server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/ListGroups func (c *IdentityStore) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error) { @@ -307,15 +307,14 @@ func (c *IdentityStore) ListGroupsWithContext(ctx aws.Context, input *ListGroups // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGroups operation. -// pageNum := 0 -// err := client.ListGroupsPages(params, -// func(page *identitystore.ListGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGroups operation. +// pageNum := 0 +// err := client.ListGroupsPages(params, +// func(page *identitystore.ListGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IdentityStore) ListGroupsPages(input *ListGroupsInput, fn func(*ListGroupsOutput, bool) bool) error { return c.ListGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -367,14 +366,13 @@ const opListUsers = "ListUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUsersRequest method. +// req, resp := client.ListUsersRequest(params) // -// // Example sending a request using the ListUsersRequest method. -// req, resp := client.ListUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/ListUsers func (c *IdentityStore) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) { @@ -414,22 +412,23 @@ func (c *IdentityStore) ListUsersRequest(input *ListUsersInput) (req *request.Re // API operation ListUsers for usage and error information. // // Returned Error Types: -// * ValidationException -// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request failed because it contains a syntax error. // -// * ResourceNotFoundException -// Indicates that a requested resource is not found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure with an internal server. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure with an internal server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/identitystore-2020-06-15/ListUsers func (c *IdentityStore) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) { @@ -461,15 +460,14 @@ func (c *IdentityStore) ListUsersWithContext(ctx aws.Context, input *ListUsersIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUsers operation. -// pageNum := 0 -// err := client.ListUsersPages(params, -// func(page *identitystore.ListUsersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUsers operation. +// pageNum := 0 +// err := client.ListUsersPages(params, +// func(page *identitystore.ListUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IdentityStore) ListUsersPages(input *ListUsersInput, fn func(*ListUsersOutput, bool) bool) error { return c.ListUsersPagesWithContext(aws.BackgroundContext(), input, fn) } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/doc.go index b964230ba4fe..72d023b8a557 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/doc.go @@ -12,7 +12,7 @@ // See identitystore package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/identitystore/ // -// Using the Client +// # Using the Client // // To contact AWS SSO Identity Store with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/identitystoreiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/identitystoreiface/interface.go index 23a11e3c41bf..24e7a4e23025 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/identitystoreiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/identitystoreiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS SSO Identity Store. -// func myFunc(svc identitystoreiface.IdentityStoreAPI) bool { -// // Make svc.DescribeGroup request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS SSO Identity Store. +// func myFunc(svc identitystoreiface.IdentityStoreAPI) bool { +// // Make svc.DescribeGroup request +// } // -// func main() { -// sess := session.New() -// svc := identitystore.New(sess) +// func main() { +// sess := session.New() +// svc := identitystore.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIdentityStoreClient struct { -// identitystoreiface.IdentityStoreAPI -// } -// func (m *mockIdentityStoreClient) DescribeGroup(input *identitystore.DescribeGroupInput) (*identitystore.DescribeGroupOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIdentityStoreClient struct { +// identitystoreiface.IdentityStoreAPI +// } +// func (m *mockIdentityStoreClient) DescribeGroup(input *identitystore.DescribeGroupInput) (*identitystore.DescribeGroupOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIdentityStoreClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIdentityStoreClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/service.go index a7fb767291c6..079d04e9617a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/identitystore/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IdentityStore client from just a session. -// svc := identitystore.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IdentityStore client with additional configuration -// svc := identitystore.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IdentityStore client from just a session. +// svc := identitystore.New(mySession) +// +// // Create a IdentityStore client with additional configuration +// svc := identitystore.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IdentityStore { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/api.go index 9e21f35e0dcc..d6807bc7e9d9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/api.go @@ -28,14 +28,13 @@ const opCancelImageCreation = "CancelImageCreation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelImageCreationRequest method. +// req, resp := client.CancelImageCreationRequest(params) // -// // Example sending a request using the CancelImageCreationRequest method. -// req, resp := client.CancelImageCreationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CancelImageCreation func (c *Imagebuilder) CancelImageCreationRequest(input *CancelImageCreationInput) (req *request.Request, output *CancelImageCreationOutput) { @@ -67,33 +66,34 @@ func (c *Imagebuilder) CancelImageCreationRequest(input *CancelImageCreationInpu // API operation CancelImageCreation for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * IdempotentParameterMismatchException -// You have specified a client token for an operation using parameter values -// that differ from a previous request that used the same client token. +// - IdempotentParameterMismatchException +// You have specified a client token for an operation using parameter values +// that differ from a previous request that used the same client token. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // -// * ResourceInUseException -// The resource that you are trying to operate on is currently in use. Review -// the message details and retry later. +// - ResourceInUseException +// The resource that you are trying to operate on is currently in use. Review +// the message details and retry later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CancelImageCreation func (c *Imagebuilder) CancelImageCreation(input *CancelImageCreationInput) (*CancelImageCreationOutput, error) { @@ -133,14 +133,13 @@ const opCreateComponent = "CreateComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateComponentRequest method. +// req, resp := client.CreateComponentRequest(params) // -// // Example sending a request using the CreateComponentRequest method. -// req, resp := client.CreateComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateComponent func (c *Imagebuilder) CreateComponentRequest(input *CreateComponentInput) (req *request.Request, output *CreateComponentOutput) { @@ -165,10 +164,10 @@ func (c *Imagebuilder) CreateComponentRequest(input *CreateComponentInput) (req // your image. The component is based on a YAML document that you specify using // exactly one of the following methods: // -// * Inline, using the data property in the request body. +// - Inline, using the data property in the request body. // -// * A URL that points to a YAML document file stored in Amazon S3, using -// the uri property in the request body. +// - A URL that points to a YAML document file stored in Amazon S3, using +// the uri property in the request body. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -178,44 +177,45 @@ func (c *Imagebuilder) CreateComponentRequest(input *CreateComponentInput) (req // API operation CreateComponent for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * IdempotentParameterMismatchException -// You have specified a client token for an operation using parameter values -// that differ from a previous request that used the same client token. +// - IdempotentParameterMismatchException +// You have specified a client token for an operation using parameter values +// that differ from a previous request that used the same client token. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // -// * InvalidVersionNumberException -// Your version number is out of bounds or does not follow the required syntax. +// - InvalidVersionNumberException +// Your version number is out of bounds or does not follow the required syntax. // -// * ResourceInUseException -// The resource that you are trying to operate on is currently in use. Review -// the message details and retry later. +// - ResourceInUseException +// The resource that you are trying to operate on is currently in use. Review +// the message details and retry later. // -// * InvalidParameterCombinationException -// You have specified two or more mutually exclusive parameters. Review the -// error message for details. +// - InvalidParameterCombinationException +// You have specified two or more mutually exclusive parameters. Review the +// error message for details. // -// * ServiceQuotaExceededException -// You have exceeded the number of permitted resources or operations for this -// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder). +// - ServiceQuotaExceededException +// You have exceeded the number of permitted resources or operations for this +// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder). // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateComponent func (c *Imagebuilder) CreateComponent(input *CreateComponentInput) (*CreateComponentOutput, error) { @@ -255,14 +255,13 @@ const opCreateContainerRecipe = "CreateContainerRecipe" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateContainerRecipeRequest method. +// req, resp := client.CreateContainerRecipeRequest(params) // -// // Example sending a request using the CreateContainerRecipeRequest method. -// req, resp := client.CreateContainerRecipeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateContainerRecipe func (c *Imagebuilder) CreateContainerRecipeRequest(input *CreateContainerRecipeInput) (req *request.Request, output *CreateContainerRecipeOutput) { @@ -294,43 +293,44 @@ func (c *Imagebuilder) CreateContainerRecipeRequest(input *CreateContainerRecipe // API operation CreateContainerRecipe for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * IdempotentParameterMismatchException -// You have specified a client token for an operation using parameter values -// that differ from a previous request that used the same client token. +// - IdempotentParameterMismatchException +// You have specified a client token for an operation using parameter values +// that differ from a previous request that used the same client token. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // -// * InvalidVersionNumberException -// Your version number is out of bounds or does not follow the required syntax. +// - InvalidVersionNumberException +// Your version number is out of bounds or does not follow the required syntax. // -// * ResourceInUseException -// The resource that you are trying to operate on is currently in use. Review -// the message details and retry later. +// - ResourceInUseException +// The resource that you are trying to operate on is currently in use. Review +// the message details and retry later. // -// * ResourceAlreadyExistsException -// The resource that you are trying to create already exists. +// - ResourceAlreadyExistsException +// The resource that you are trying to create already exists. // -// * ServiceQuotaExceededException -// You have exceeded the number of permitted resources or operations for this -// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder). +// - ServiceQuotaExceededException +// You have exceeded the number of permitted resources or operations for this +// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder). // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateContainerRecipe func (c *Imagebuilder) CreateContainerRecipe(input *CreateContainerRecipeInput) (*CreateContainerRecipeOutput, error) { @@ -370,14 +370,13 @@ const opCreateDistributionConfiguration = "CreateDistributionConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDistributionConfigurationRequest method. +// req, resp := client.CreateDistributionConfigurationRequest(params) // -// // Example sending a request using the CreateDistributionConfigurationRequest method. -// req, resp := client.CreateDistributionConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateDistributionConfiguration func (c *Imagebuilder) CreateDistributionConfigurationRequest(input *CreateDistributionConfigurationInput) (req *request.Request, output *CreateDistributionConfigurationOutput) { @@ -409,44 +408,45 @@ func (c *Imagebuilder) CreateDistributionConfigurationRequest(input *CreateDistr // API operation CreateDistributionConfiguration for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * IdempotentParameterMismatchException -// You have specified a client token for an operation using parameter values -// that differ from a previous request that used the same client token. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - IdempotentParameterMismatchException +// You have specified a client token for an operation using parameter values +// that differ from a previous request that used the same client token. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * ResourceInUseException -// The resource that you are trying to operate on is currently in use. Review -// the message details and retry later. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // -// * ResourceAlreadyExistsException -// The resource that you are trying to create already exists. +// - ResourceInUseException +// The resource that you are trying to operate on is currently in use. Review +// the message details and retry later. // -// * InvalidParameterCombinationException -// You have specified two or more mutually exclusive parameters. Review the -// error message for details. +// - ResourceAlreadyExistsException +// The resource that you are trying to create already exists. // -// * ServiceQuotaExceededException -// You have exceeded the number of permitted resources or operations for this -// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder). +// - InvalidParameterCombinationException +// You have specified two or more mutually exclusive parameters. Review the +// error message for details. +// +// - ServiceQuotaExceededException +// You have exceeded the number of permitted resources or operations for this +// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder). // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateDistributionConfiguration func (c *Imagebuilder) CreateDistributionConfiguration(input *CreateDistributionConfigurationInput) (*CreateDistributionConfigurationOutput, error) { @@ -486,14 +486,13 @@ const opCreateImage = "CreateImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateImageRequest method. +// req, resp := client.CreateImageRequest(params) // -// // Example sending a request using the CreateImageRequest method. -// req, resp := client.CreateImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImage func (c *Imagebuilder) CreateImageRequest(input *CreateImageInput) (req *request.Request, output *CreateImageOutput) { @@ -527,37 +526,38 @@ func (c *Imagebuilder) CreateImageRequest(input *CreateImageInput) (req *request // API operation CreateImage for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * IdempotentParameterMismatchException -// You have specified a client token for an operation using parameter values -// that differ from a previous request that used the same client token. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - IdempotentParameterMismatchException +// You have specified a client token for an operation using parameter values +// that differ from a previous request that used the same client token. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * ResourceInUseException -// The resource that you are trying to operate on is currently in use. Review -// the message details and retry later. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // -// * ServiceQuotaExceededException -// You have exceeded the number of permitted resources or operations for this -// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder). +// - ResourceInUseException +// The resource that you are trying to operate on is currently in use. Review +// the message details and retry later. +// +// - ServiceQuotaExceededException +// You have exceeded the number of permitted resources or operations for this +// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder). // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImage func (c *Imagebuilder) CreateImage(input *CreateImageInput) (*CreateImageOutput, error) { @@ -597,14 +597,13 @@ const opCreateImagePipeline = "CreateImagePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateImagePipelineRequest method. +// req, resp := client.CreateImagePipelineRequest(params) // -// // Example sending a request using the CreateImagePipelineRequest method. -// req, resp := client.CreateImagePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImagePipeline func (c *Imagebuilder) CreateImagePipelineRequest(input *CreateImagePipelineInput) (req *request.Request, output *CreateImagePipelineOutput) { @@ -636,40 +635,41 @@ func (c *Imagebuilder) CreateImagePipelineRequest(input *CreateImagePipelineInpu // API operation CreateImagePipeline for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * IdempotentParameterMismatchException -// You have specified a client token for an operation using parameter values -// that differ from a previous request that used the same client token. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - IdempotentParameterMismatchException +// You have specified a client token for an operation using parameter values +// that differ from a previous request that used the same client token. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * ResourceInUseException -// The resource that you are trying to operate on is currently in use. Review -// the message details and retry later. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // -// * ResourceAlreadyExistsException -// The resource that you are trying to create already exists. +// - ResourceInUseException +// The resource that you are trying to operate on is currently in use. Review +// the message details and retry later. // -// * ServiceQuotaExceededException -// You have exceeded the number of permitted resources or operations for this -// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder). +// - ResourceAlreadyExistsException +// The resource that you are trying to create already exists. +// +// - ServiceQuotaExceededException +// You have exceeded the number of permitted resources or operations for this +// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder). // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImagePipeline func (c *Imagebuilder) CreateImagePipeline(input *CreateImagePipelineInput) (*CreateImagePipelineOutput, error) { @@ -709,14 +709,13 @@ const opCreateImageRecipe = "CreateImageRecipe" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateImageRecipeRequest method. +// req, resp := client.CreateImageRecipeRequest(params) // -// // Example sending a request using the CreateImageRecipeRequest method. -// req, resp := client.CreateImageRecipeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImageRecipe func (c *Imagebuilder) CreateImageRecipeRequest(input *CreateImageRecipeInput) (req *request.Request, output *CreateImageRecipeOutput) { @@ -748,43 +747,44 @@ func (c *Imagebuilder) CreateImageRecipeRequest(input *CreateImageRecipeInput) ( // API operation CreateImageRecipe for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * IdempotentParameterMismatchException -// You have specified a client token for an operation using parameter values -// that differ from a previous request that used the same client token. +// - IdempotentParameterMismatchException +// You have specified a client token for an operation using parameter values +// that differ from a previous request that used the same client token. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // -// * InvalidVersionNumberException -// Your version number is out of bounds or does not follow the required syntax. +// - InvalidVersionNumberException +// Your version number is out of bounds or does not follow the required syntax. // -// * ResourceInUseException -// The resource that you are trying to operate on is currently in use. Review -// the message details and retry later. +// - ResourceInUseException +// The resource that you are trying to operate on is currently in use. Review +// the message details and retry later. // -// * ResourceAlreadyExistsException -// The resource that you are trying to create already exists. +// - ResourceAlreadyExistsException +// The resource that you are trying to create already exists. // -// * ServiceQuotaExceededException -// You have exceeded the number of permitted resources or operations for this -// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder). +// - ServiceQuotaExceededException +// You have exceeded the number of permitted resources or operations for this +// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder). // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateImageRecipe func (c *Imagebuilder) CreateImageRecipe(input *CreateImageRecipeInput) (*CreateImageRecipeOutput, error) { @@ -824,14 +824,13 @@ const opCreateInfrastructureConfiguration = "CreateInfrastructureConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInfrastructureConfigurationRequest method. +// req, resp := client.CreateInfrastructureConfigurationRequest(params) // -// // Example sending a request using the CreateInfrastructureConfigurationRequest method. -// req, resp := client.CreateInfrastructureConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateInfrastructureConfiguration func (c *Imagebuilder) CreateInfrastructureConfigurationRequest(input *CreateInfrastructureConfigurationInput) (req *request.Request, output *CreateInfrastructureConfigurationOutput) { @@ -863,40 +862,41 @@ func (c *Imagebuilder) CreateInfrastructureConfigurationRequest(input *CreateInf // API operation CreateInfrastructureConfiguration for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * IdempotentParameterMismatchException -// You have specified a client token for an operation using parameter values -// that differ from a previous request that used the same client token. +// - IdempotentParameterMismatchException +// You have specified a client token for an operation using parameter values +// that differ from a previous request that used the same client token. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // -// * ResourceInUseException -// The resource that you are trying to operate on is currently in use. Review -// the message details and retry later. +// - ResourceInUseException +// The resource that you are trying to operate on is currently in use. Review +// the message details and retry later. // -// * ResourceAlreadyExistsException -// The resource that you are trying to create already exists. +// - ResourceAlreadyExistsException +// The resource that you are trying to create already exists. // -// * ServiceQuotaExceededException -// You have exceeded the number of permitted resources or operations for this -// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder). +// - ServiceQuotaExceededException +// You have exceeded the number of permitted resources or operations for this +// service. For service quotas, see EC2 Image Builder endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/imagebuilder.html#limits_imagebuilder). // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/CreateInfrastructureConfiguration func (c *Imagebuilder) CreateInfrastructureConfiguration(input *CreateInfrastructureConfigurationInput) (*CreateInfrastructureConfigurationOutput, error) { @@ -936,14 +936,13 @@ const opDeleteComponent = "DeleteComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteComponentRequest method. +// req, resp := client.DeleteComponentRequest(params) // -// // Example sending a request using the DeleteComponentRequest method. -// req, resp := client.DeleteComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteComponent func (c *Imagebuilder) DeleteComponentRequest(input *DeleteComponentInput) (req *request.Request, output *DeleteComponentOutput) { @@ -974,29 +973,30 @@ func (c *Imagebuilder) DeleteComponentRequest(input *DeleteComponentInput) (req // API operation DeleteComponent for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // -// * ResourceDependencyException -// You have attempted to mutate or delete a resource with a dependency that -// prohibits this action. See the error message for more details. +// - ResourceDependencyException +// You have attempted to mutate or delete a resource with a dependency that +// prohibits this action. See the error message for more details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteComponent func (c *Imagebuilder) DeleteComponent(input *DeleteComponentInput) (*DeleteComponentOutput, error) { @@ -1036,14 +1036,13 @@ const opDeleteContainerRecipe = "DeleteContainerRecipe" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteContainerRecipeRequest method. +// req, resp := client.DeleteContainerRecipeRequest(params) // -// // Example sending a request using the DeleteContainerRecipeRequest method. -// req, resp := client.DeleteContainerRecipeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteContainerRecipe func (c *Imagebuilder) DeleteContainerRecipeRequest(input *DeleteContainerRecipeInput) (req *request.Request, output *DeleteContainerRecipeOutput) { @@ -1074,29 +1073,30 @@ func (c *Imagebuilder) DeleteContainerRecipeRequest(input *DeleteContainerRecipe // API operation DeleteContainerRecipe for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // -// * ResourceDependencyException -// You have attempted to mutate or delete a resource with a dependency that -// prohibits this action. See the error message for more details. +// - ResourceDependencyException +// You have attempted to mutate or delete a resource with a dependency that +// prohibits this action. See the error message for more details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteContainerRecipe func (c *Imagebuilder) DeleteContainerRecipe(input *DeleteContainerRecipeInput) (*DeleteContainerRecipeOutput, error) { @@ -1136,14 +1136,13 @@ const opDeleteDistributionConfiguration = "DeleteDistributionConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDistributionConfigurationRequest method. +// req, resp := client.DeleteDistributionConfigurationRequest(params) // -// // Example sending a request using the DeleteDistributionConfigurationRequest method. -// req, resp := client.DeleteDistributionConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteDistributionConfiguration func (c *Imagebuilder) DeleteDistributionConfigurationRequest(input *DeleteDistributionConfigurationInput) (req *request.Request, output *DeleteDistributionConfigurationOutput) { @@ -1174,29 +1173,30 @@ func (c *Imagebuilder) DeleteDistributionConfigurationRequest(input *DeleteDistr // API operation DeleteDistributionConfiguration for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * ResourceDependencyException -// You have attempted to mutate or delete a resource with a dependency that -// prohibits this action. See the error message for more details. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. +// +// - ResourceDependencyException +// You have attempted to mutate or delete a resource with a dependency that +// prohibits this action. See the error message for more details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteDistributionConfiguration func (c *Imagebuilder) DeleteDistributionConfiguration(input *DeleteDistributionConfigurationInput) (*DeleteDistributionConfigurationOutput, error) { @@ -1236,14 +1236,13 @@ const opDeleteImage = "DeleteImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteImageRequest method. +// req, resp := client.DeleteImageRequest(params) // -// // Example sending a request using the DeleteImageRequest method. -// req, resp := client.DeleteImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImage func (c *Imagebuilder) DeleteImageRequest(input *DeleteImageInput) (req *request.Request, output *DeleteImageOutput) { @@ -1269,14 +1268,14 @@ func (c *Imagebuilder) DeleteImageRequest(input *DeleteImageInput) (req *request // You must clean those up separately, using the appropriate Amazon EC2 or Amazon // ECR console actions, or API or CLI commands. // -// * To deregister an EC2 Linux AMI, see Deregister your Linux AMI (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html) -// in the Amazon EC2 User Guide . +// - To deregister an EC2 Linux AMI, see Deregister your Linux AMI (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/deregister-ami.html) +// in the Amazon EC2 User Guide . // -// * To deregister an EC2 Windows AMI, see Deregister your Windows AMI (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/deregister-ami.html) -// in the Amazon EC2 Windows Guide . +// - To deregister an EC2 Windows AMI, see Deregister your Windows AMI (https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/deregister-ami.html) +// in the Amazon EC2 Windows Guide . // -// * To delete a container image from Amazon ECR, see Deleting an image (https://docs.aws.amazon.com/AmazonECR/latest/userguide/delete_image.html) -// in the Amazon ECR User Guide. +// - To delete a container image from Amazon ECR, see Deleting an image (https://docs.aws.amazon.com/AmazonECR/latest/userguide/delete_image.html) +// in the Amazon ECR User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1286,29 +1285,30 @@ func (c *Imagebuilder) DeleteImageRequest(input *DeleteImageInput) (req *request // API operation DeleteImage for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * ResourceDependencyException -// You have attempted to mutate or delete a resource with a dependency that -// prohibits this action. See the error message for more details. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. +// +// - ResourceDependencyException +// You have attempted to mutate or delete a resource with a dependency that +// prohibits this action. See the error message for more details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImage func (c *Imagebuilder) DeleteImage(input *DeleteImageInput) (*DeleteImageOutput, error) { @@ -1348,14 +1348,13 @@ const opDeleteImagePipeline = "DeleteImagePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteImagePipelineRequest method. +// req, resp := client.DeleteImagePipelineRequest(params) // -// // Example sending a request using the DeleteImagePipelineRequest method. -// req, resp := client.DeleteImagePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImagePipeline func (c *Imagebuilder) DeleteImagePipelineRequest(input *DeleteImagePipelineInput) (req *request.Request, output *DeleteImagePipelineOutput) { @@ -1386,29 +1385,30 @@ func (c *Imagebuilder) DeleteImagePipelineRequest(input *DeleteImagePipelineInpu // API operation DeleteImagePipeline for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * ResourceDependencyException -// You have attempted to mutate or delete a resource with a dependency that -// prohibits this action. See the error message for more details. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. +// +// - ResourceDependencyException +// You have attempted to mutate or delete a resource with a dependency that +// prohibits this action. See the error message for more details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImagePipeline func (c *Imagebuilder) DeleteImagePipeline(input *DeleteImagePipelineInput) (*DeleteImagePipelineOutput, error) { @@ -1448,14 +1448,13 @@ const opDeleteImageRecipe = "DeleteImageRecipe" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteImageRecipeRequest method. +// req, resp := client.DeleteImageRecipeRequest(params) // -// // Example sending a request using the DeleteImageRecipeRequest method. -// req, resp := client.DeleteImageRecipeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImageRecipe func (c *Imagebuilder) DeleteImageRecipeRequest(input *DeleteImageRecipeInput) (req *request.Request, output *DeleteImageRecipeOutput) { @@ -1486,29 +1485,30 @@ func (c *Imagebuilder) DeleteImageRecipeRequest(input *DeleteImageRecipeInput) ( // API operation DeleteImageRecipe for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // -// * ResourceDependencyException -// You have attempted to mutate or delete a resource with a dependency that -// prohibits this action. See the error message for more details. +// - ResourceDependencyException +// You have attempted to mutate or delete a resource with a dependency that +// prohibits this action. See the error message for more details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteImageRecipe func (c *Imagebuilder) DeleteImageRecipe(input *DeleteImageRecipeInput) (*DeleteImageRecipeOutput, error) { @@ -1548,14 +1548,13 @@ const opDeleteInfrastructureConfiguration = "DeleteInfrastructureConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInfrastructureConfigurationRequest method. +// req, resp := client.DeleteInfrastructureConfigurationRequest(params) // -// // Example sending a request using the DeleteInfrastructureConfigurationRequest method. -// req, resp := client.DeleteInfrastructureConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteInfrastructureConfiguration func (c *Imagebuilder) DeleteInfrastructureConfigurationRequest(input *DeleteInfrastructureConfigurationInput) (req *request.Request, output *DeleteInfrastructureConfigurationOutput) { @@ -1586,29 +1585,30 @@ func (c *Imagebuilder) DeleteInfrastructureConfigurationRequest(input *DeleteInf // API operation DeleteInfrastructureConfiguration for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // -// * ResourceDependencyException -// You have attempted to mutate or delete a resource with a dependency that -// prohibits this action. See the error message for more details. +// - ResourceDependencyException +// You have attempted to mutate or delete a resource with a dependency that +// prohibits this action. See the error message for more details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/DeleteInfrastructureConfiguration func (c *Imagebuilder) DeleteInfrastructureConfiguration(input *DeleteInfrastructureConfigurationInput) (*DeleteInfrastructureConfigurationOutput, error) { @@ -1648,14 +1648,13 @@ const opGetComponent = "GetComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetComponentRequest method. +// req, resp := client.GetComponentRequest(params) // -// // Example sending a request using the GetComponentRequest method. -// req, resp := client.GetComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponent func (c *Imagebuilder) GetComponentRequest(input *GetComponentInput) (req *request.Request, output *GetComponentOutput) { @@ -1686,25 +1685,26 @@ func (c *Imagebuilder) GetComponentRequest(input *GetComponentInput) (req *reque // API operation GetComponent for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponent func (c *Imagebuilder) GetComponent(input *GetComponentInput) (*GetComponentOutput, error) { @@ -1744,14 +1744,13 @@ const opGetComponentPolicy = "GetComponentPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetComponentPolicyRequest method. +// req, resp := client.GetComponentPolicyRequest(params) // -// // Example sending a request using the GetComponentPolicyRequest method. -// req, resp := client.GetComponentPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponentPolicy func (c *Imagebuilder) GetComponentPolicyRequest(input *GetComponentPolicyInput) (req *request.Request, output *GetComponentPolicyOutput) { @@ -1782,23 +1781,24 @@ func (c *Imagebuilder) GetComponentPolicyRequest(input *GetComponentPolicyInput) // API operation GetComponentPolicy for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * ResourceNotFoundException -// At least one of the resources referenced by your request does not exist. +// - ResourceNotFoundException +// At least one of the resources referenced by your request does not exist. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetComponentPolicy func (c *Imagebuilder) GetComponentPolicy(input *GetComponentPolicyInput) (*GetComponentPolicyOutput, error) { @@ -1838,14 +1838,13 @@ const opGetContainerRecipe = "GetContainerRecipe" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContainerRecipeRequest method. +// req, resp := client.GetContainerRecipeRequest(params) // -// // Example sending a request using the GetContainerRecipeRequest method. -// req, resp := client.GetContainerRecipeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipe func (c *Imagebuilder) GetContainerRecipeRequest(input *GetContainerRecipeInput) (req *request.Request, output *GetContainerRecipeOutput) { @@ -1876,25 +1875,26 @@ func (c *Imagebuilder) GetContainerRecipeRequest(input *GetContainerRecipeInput) // API operation GetContainerRecipe for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. +// +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipe func (c *Imagebuilder) GetContainerRecipe(input *GetContainerRecipeInput) (*GetContainerRecipeOutput, error) { @@ -1934,14 +1934,13 @@ const opGetContainerRecipePolicy = "GetContainerRecipePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContainerRecipePolicyRequest method. +// req, resp := client.GetContainerRecipePolicyRequest(params) // -// // Example sending a request using the GetContainerRecipePolicyRequest method. -// req, resp := client.GetContainerRecipePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipePolicy func (c *Imagebuilder) GetContainerRecipePolicyRequest(input *GetContainerRecipePolicyInput) (req *request.Request, output *GetContainerRecipePolicyOutput) { @@ -1972,23 +1971,24 @@ func (c *Imagebuilder) GetContainerRecipePolicyRequest(input *GetContainerRecipe // API operation GetContainerRecipePolicy for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * ResourceNotFoundException -// At least one of the resources referenced by your request does not exist. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ResourceNotFoundException +// At least one of the resources referenced by your request does not exist. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. +// +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetContainerRecipePolicy func (c *Imagebuilder) GetContainerRecipePolicy(input *GetContainerRecipePolicyInput) (*GetContainerRecipePolicyOutput, error) { @@ -2028,14 +2028,13 @@ const opGetDistributionConfiguration = "GetDistributionConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDistributionConfigurationRequest method. +// req, resp := client.GetDistributionConfigurationRequest(params) // -// // Example sending a request using the GetDistributionConfigurationRequest method. -// req, resp := client.GetDistributionConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetDistributionConfiguration func (c *Imagebuilder) GetDistributionConfigurationRequest(input *GetDistributionConfigurationInput) (req *request.Request, output *GetDistributionConfigurationOutput) { @@ -2066,25 +2065,26 @@ func (c *Imagebuilder) GetDistributionConfigurationRequest(input *GetDistributio // API operation GetDistributionConfiguration for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. +// +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetDistributionConfiguration func (c *Imagebuilder) GetDistributionConfiguration(input *GetDistributionConfigurationInput) (*GetDistributionConfigurationOutput, error) { @@ -2124,14 +2124,13 @@ const opGetImage = "GetImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetImageRequest method. +// req, resp := client.GetImageRequest(params) // -// // Example sending a request using the GetImageRequest method. -// req, resp := client.GetImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImage func (c *Imagebuilder) GetImageRequest(input *GetImageInput) (req *request.Request, output *GetImageOutput) { @@ -2162,25 +2161,26 @@ func (c *Imagebuilder) GetImageRequest(input *GetImageInput) (req *request.Reque // API operation GetImage for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImage func (c *Imagebuilder) GetImage(input *GetImageInput) (*GetImageOutput, error) { @@ -2220,14 +2220,13 @@ const opGetImagePipeline = "GetImagePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetImagePipelineRequest method. +// req, resp := client.GetImagePipelineRequest(params) // -// // Example sending a request using the GetImagePipelineRequest method. -// req, resp := client.GetImagePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImagePipeline func (c *Imagebuilder) GetImagePipelineRequest(input *GetImagePipelineInput) (req *request.Request, output *GetImagePipelineOutput) { @@ -2258,25 +2257,26 @@ func (c *Imagebuilder) GetImagePipelineRequest(input *GetImagePipelineInput) (re // API operation GetImagePipeline for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImagePipeline func (c *Imagebuilder) GetImagePipeline(input *GetImagePipelineInput) (*GetImagePipelineOutput, error) { @@ -2316,14 +2316,13 @@ const opGetImagePolicy = "GetImagePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetImagePolicyRequest method. +// req, resp := client.GetImagePolicyRequest(params) // -// // Example sending a request using the GetImagePolicyRequest method. -// req, resp := client.GetImagePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImagePolicy func (c *Imagebuilder) GetImagePolicyRequest(input *GetImagePolicyInput) (req *request.Request, output *GetImagePolicyOutput) { @@ -2354,23 +2353,24 @@ func (c *Imagebuilder) GetImagePolicyRequest(input *GetImagePolicyInput) (req *r // API operation GetImagePolicy for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * ResourceNotFoundException -// At least one of the resources referenced by your request does not exist. +// - ResourceNotFoundException +// At least one of the resources referenced by your request does not exist. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImagePolicy func (c *Imagebuilder) GetImagePolicy(input *GetImagePolicyInput) (*GetImagePolicyOutput, error) { @@ -2410,14 +2410,13 @@ const opGetImageRecipe = "GetImageRecipe" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetImageRecipeRequest method. +// req, resp := client.GetImageRecipeRequest(params) // -// // Example sending a request using the GetImageRecipeRequest method. -// req, resp := client.GetImageRecipeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipe func (c *Imagebuilder) GetImageRecipeRequest(input *GetImageRecipeInput) (req *request.Request, output *GetImageRecipeOutput) { @@ -2448,25 +2447,26 @@ func (c *Imagebuilder) GetImageRecipeRequest(input *GetImageRecipeInput) (req *r // API operation GetImageRecipe for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipe func (c *Imagebuilder) GetImageRecipe(input *GetImageRecipeInput) (*GetImageRecipeOutput, error) { @@ -2506,14 +2506,13 @@ const opGetImageRecipePolicy = "GetImageRecipePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetImageRecipePolicyRequest method. +// req, resp := client.GetImageRecipePolicyRequest(params) // -// // Example sending a request using the GetImageRecipePolicyRequest method. -// req, resp := client.GetImageRecipePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipePolicy func (c *Imagebuilder) GetImageRecipePolicyRequest(input *GetImageRecipePolicyInput) (req *request.Request, output *GetImageRecipePolicyOutput) { @@ -2544,23 +2543,24 @@ func (c *Imagebuilder) GetImageRecipePolicyRequest(input *GetImageRecipePolicyIn // API operation GetImageRecipePolicy for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * ResourceNotFoundException -// At least one of the resources referenced by your request does not exist. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ResourceNotFoundException +// At least one of the resources referenced by your request does not exist. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. +// +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetImageRecipePolicy func (c *Imagebuilder) GetImageRecipePolicy(input *GetImageRecipePolicyInput) (*GetImageRecipePolicyOutput, error) { @@ -2600,14 +2600,13 @@ const opGetInfrastructureConfiguration = "GetInfrastructureConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInfrastructureConfigurationRequest method. +// req, resp := client.GetInfrastructureConfigurationRequest(params) // -// // Example sending a request using the GetInfrastructureConfigurationRequest method. -// req, resp := client.GetInfrastructureConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetInfrastructureConfiguration func (c *Imagebuilder) GetInfrastructureConfigurationRequest(input *GetInfrastructureConfigurationInput) (req *request.Request, output *GetInfrastructureConfigurationOutput) { @@ -2638,25 +2637,26 @@ func (c *Imagebuilder) GetInfrastructureConfigurationRequest(input *GetInfrastru // API operation GetInfrastructureConfiguration for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. +// +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/GetInfrastructureConfiguration func (c *Imagebuilder) GetInfrastructureConfiguration(input *GetInfrastructureConfigurationInput) (*GetInfrastructureConfigurationOutput, error) { @@ -2696,14 +2696,13 @@ const opImportComponent = "ImportComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportComponentRequest method. +// req, resp := client.ImportComponentRequest(params) // -// // Example sending a request using the ImportComponentRequest method. -// req, resp := client.ImportComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportComponent func (c *Imagebuilder) ImportComponentRequest(input *ImportComponentInput) (req *request.Request, output *ImportComponentOutput) { @@ -2734,40 +2733,41 @@ func (c *Imagebuilder) ImportComponentRequest(input *ImportComponentInput) (req // API operation ImportComponent for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * IdempotentParameterMismatchException -// You have specified a client token for an operation using parameter values -// that differ from a previous request that used the same client token. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - IdempotentParameterMismatchException +// You have specified a client token for an operation using parameter values +// that differ from a previous request that used the same client token. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * InvalidVersionNumberException -// Your version number is out of bounds or does not follow the required syntax. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // -// * ResourceInUseException -// The resource that you are trying to operate on is currently in use. Review -// the message details and retry later. +// - InvalidVersionNumberException +// Your version number is out of bounds or does not follow the required syntax. // -// * InvalidParameterCombinationException -// You have specified two or more mutually exclusive parameters. Review the -// error message for details. +// - ResourceInUseException +// The resource that you are trying to operate on is currently in use. Review +// the message details and retry later. +// +// - InvalidParameterCombinationException +// You have specified two or more mutually exclusive parameters. Review the +// error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportComponent func (c *Imagebuilder) ImportComponent(input *ImportComponentInput) (*ImportComponentOutput, error) { @@ -2807,14 +2807,13 @@ const opImportVmImage = "ImportVmImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportVmImageRequest method. +// req, resp := client.ImportVmImageRequest(params) // -// // Example sending a request using the ImportVmImageRequest method. -// req, resp := client.ImportVmImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportVmImage func (c *Imagebuilder) ImportVmImageRequest(input *ImportVmImageInput) (req *request.Request, output *ImportVmImageOutput) { @@ -2853,16 +2852,17 @@ func (c *Imagebuilder) ImportVmImageRequest(input *ImportVmImageInput) (req *req // API operation ImportVmImage for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ImportVmImage func (c *Imagebuilder) ImportVmImage(input *ImportVmImageInput) (*ImportVmImageOutput, error) { @@ -2902,14 +2902,13 @@ const opListComponentBuildVersions = "ListComponentBuildVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListComponentBuildVersionsRequest method. +// req, resp := client.ListComponentBuildVersionsRequest(params) // -// // Example sending a request using the ListComponentBuildVersionsRequest method. -// req, resp := client.ListComponentBuildVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponentBuildVersions func (c *Imagebuilder) ListComponentBuildVersionsRequest(input *ListComponentBuildVersionsInput) (req *request.Request, output *ListComponentBuildVersionsOutput) { @@ -2954,28 +2953,29 @@ func (c *Imagebuilder) ListComponentBuildVersionsRequest(input *ListComponentBui // API operation ListComponentBuildVersions for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * InvalidPaginationTokenException -// You have provided an invalid pagination token in your request. +// - InvalidPaginationTokenException +// You have provided an invalid pagination token in your request. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponentBuildVersions func (c *Imagebuilder) ListComponentBuildVersions(input *ListComponentBuildVersionsInput) (*ListComponentBuildVersionsOutput, error) { @@ -3007,15 +3007,14 @@ func (c *Imagebuilder) ListComponentBuildVersionsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListComponentBuildVersions operation. -// pageNum := 0 -// err := client.ListComponentBuildVersionsPages(params, -// func(page *imagebuilder.ListComponentBuildVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListComponentBuildVersions operation. +// pageNum := 0 +// err := client.ListComponentBuildVersionsPages(params, +// func(page *imagebuilder.ListComponentBuildVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Imagebuilder) ListComponentBuildVersionsPages(input *ListComponentBuildVersionsInput, fn func(*ListComponentBuildVersionsOutput, bool) bool) error { return c.ListComponentBuildVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3067,14 +3066,13 @@ const opListComponents = "ListComponents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListComponentsRequest method. +// req, resp := client.ListComponentsRequest(params) // -// // Example sending a request using the ListComponentsRequest method. -// req, resp := client.ListComponentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponents func (c *Imagebuilder) ListComponentsRequest(input *ListComponentsInput) (req *request.Request, output *ListComponentsOutput) { @@ -3119,28 +3117,29 @@ func (c *Imagebuilder) ListComponentsRequest(input *ListComponentsInput) (req *r // API operation ListComponents for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidPaginationTokenException -// You have provided an invalid pagination token in your request. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - InvalidPaginationTokenException +// You have provided an invalid pagination token in your request. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. +// +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListComponents func (c *Imagebuilder) ListComponents(input *ListComponentsInput) (*ListComponentsOutput, error) { @@ -3172,15 +3171,14 @@ func (c *Imagebuilder) ListComponentsWithContext(ctx aws.Context, input *ListCom // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListComponents operation. -// pageNum := 0 -// err := client.ListComponentsPages(params, -// func(page *imagebuilder.ListComponentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListComponents operation. +// pageNum := 0 +// err := client.ListComponentsPages(params, +// func(page *imagebuilder.ListComponentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Imagebuilder) ListComponentsPages(input *ListComponentsInput, fn func(*ListComponentsOutput, bool) bool) error { return c.ListComponentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3232,14 +3230,13 @@ const opListContainerRecipes = "ListContainerRecipes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListContainerRecipesRequest method. +// req, resp := client.ListContainerRecipesRequest(params) // -// // Example sending a request using the ListContainerRecipesRequest method. -// req, resp := client.ListContainerRecipesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListContainerRecipes func (c *Imagebuilder) ListContainerRecipesRequest(input *ListContainerRecipesInput) (req *request.Request, output *ListContainerRecipesOutput) { @@ -3276,28 +3273,29 @@ func (c *Imagebuilder) ListContainerRecipesRequest(input *ListContainerRecipesIn // API operation ListContainerRecipes for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidPaginationTokenException -// You have provided an invalid pagination token in your request. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - InvalidPaginationTokenException +// You have provided an invalid pagination token in your request. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. +// +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListContainerRecipes func (c *Imagebuilder) ListContainerRecipes(input *ListContainerRecipesInput) (*ListContainerRecipesOutput, error) { @@ -3329,15 +3327,14 @@ func (c *Imagebuilder) ListContainerRecipesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListContainerRecipes operation. -// pageNum := 0 -// err := client.ListContainerRecipesPages(params, -// func(page *imagebuilder.ListContainerRecipesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListContainerRecipes operation. +// pageNum := 0 +// err := client.ListContainerRecipesPages(params, +// func(page *imagebuilder.ListContainerRecipesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Imagebuilder) ListContainerRecipesPages(input *ListContainerRecipesInput, fn func(*ListContainerRecipesOutput, bool) bool) error { return c.ListContainerRecipesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3389,14 +3386,13 @@ const opListDistributionConfigurations = "ListDistributionConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDistributionConfigurationsRequest method. +// req, resp := client.ListDistributionConfigurationsRequest(params) // -// // Example sending a request using the ListDistributionConfigurationsRequest method. -// req, resp := client.ListDistributionConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListDistributionConfigurations func (c *Imagebuilder) ListDistributionConfigurationsRequest(input *ListDistributionConfigurationsInput) (req *request.Request, output *ListDistributionConfigurationsOutput) { @@ -3433,28 +3429,29 @@ func (c *Imagebuilder) ListDistributionConfigurationsRequest(input *ListDistribu // API operation ListDistributionConfigurations for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * InvalidPaginationTokenException -// You have provided an invalid pagination token in your request. +// - InvalidPaginationTokenException +// You have provided an invalid pagination token in your request. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListDistributionConfigurations func (c *Imagebuilder) ListDistributionConfigurations(input *ListDistributionConfigurationsInput) (*ListDistributionConfigurationsOutput, error) { @@ -3486,15 +3483,14 @@ func (c *Imagebuilder) ListDistributionConfigurationsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDistributionConfigurations operation. -// pageNum := 0 -// err := client.ListDistributionConfigurationsPages(params, -// func(page *imagebuilder.ListDistributionConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDistributionConfigurations operation. +// pageNum := 0 +// err := client.ListDistributionConfigurationsPages(params, +// func(page *imagebuilder.ListDistributionConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Imagebuilder) ListDistributionConfigurationsPages(input *ListDistributionConfigurationsInput, fn func(*ListDistributionConfigurationsOutput, bool) bool) error { return c.ListDistributionConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3546,14 +3542,13 @@ const opListImageBuildVersions = "ListImageBuildVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListImageBuildVersionsRequest method. +// req, resp := client.ListImageBuildVersionsRequest(params) // -// // Example sending a request using the ListImageBuildVersionsRequest method. -// req, resp := client.ListImageBuildVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageBuildVersions func (c *Imagebuilder) ListImageBuildVersionsRequest(input *ListImageBuildVersionsInput) (req *request.Request, output *ListImageBuildVersionsOutput) { @@ -3590,28 +3585,29 @@ func (c *Imagebuilder) ListImageBuildVersionsRequest(input *ListImageBuildVersio // API operation ListImageBuildVersions for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * InvalidPaginationTokenException -// You have provided an invalid pagination token in your request. +// - InvalidPaginationTokenException +// You have provided an invalid pagination token in your request. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageBuildVersions func (c *Imagebuilder) ListImageBuildVersions(input *ListImageBuildVersionsInput) (*ListImageBuildVersionsOutput, error) { @@ -3643,15 +3639,14 @@ func (c *Imagebuilder) ListImageBuildVersionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListImageBuildVersions operation. -// pageNum := 0 -// err := client.ListImageBuildVersionsPages(params, -// func(page *imagebuilder.ListImageBuildVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListImageBuildVersions operation. +// pageNum := 0 +// err := client.ListImageBuildVersionsPages(params, +// func(page *imagebuilder.ListImageBuildVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Imagebuilder) ListImageBuildVersionsPages(input *ListImageBuildVersionsInput, fn func(*ListImageBuildVersionsOutput, bool) bool) error { return c.ListImageBuildVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3703,14 +3698,13 @@ const opListImagePackages = "ListImagePackages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListImagePackagesRequest method. +// req, resp := client.ListImagePackagesRequest(params) // -// // Example sending a request using the ListImagePackagesRequest method. -// req, resp := client.ListImagePackagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePackages func (c *Imagebuilder) ListImagePackagesRequest(input *ListImagePackagesInput) (req *request.Request, output *ListImagePackagesOutput) { @@ -3748,31 +3742,32 @@ func (c *Imagebuilder) ListImagePackagesRequest(input *ListImagePackagesInput) ( // API operation ListImagePackages for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidPaginationTokenException -// You have provided an invalid pagination token in your request. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ResourceNotFoundException -// At least one of the resources referenced by your request does not exist. +// - InvalidPaginationTokenException +// You have provided an invalid pagination token in your request. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ResourceNotFoundException +// At least one of the resources referenced by your request does not exist. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. +// +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePackages func (c *Imagebuilder) ListImagePackages(input *ListImagePackagesInput) (*ListImagePackagesOutput, error) { @@ -3804,15 +3799,14 @@ func (c *Imagebuilder) ListImagePackagesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListImagePackages operation. -// pageNum := 0 -// err := client.ListImagePackagesPages(params, -// func(page *imagebuilder.ListImagePackagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListImagePackages operation. +// pageNum := 0 +// err := client.ListImagePackagesPages(params, +// func(page *imagebuilder.ListImagePackagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Imagebuilder) ListImagePackagesPages(input *ListImagePackagesInput, fn func(*ListImagePackagesOutput, bool) bool) error { return c.ListImagePackagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3864,14 +3858,13 @@ const opListImagePipelineImages = "ListImagePipelineImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListImagePipelineImagesRequest method. +// req, resp := client.ListImagePipelineImagesRequest(params) // -// // Example sending a request using the ListImagePipelineImagesRequest method. -// req, resp := client.ListImagePipelineImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePipelineImages func (c *Imagebuilder) ListImagePipelineImagesRequest(input *ListImagePipelineImagesInput) (req *request.Request, output *ListImagePipelineImagesOutput) { @@ -3908,31 +3901,32 @@ func (c *Imagebuilder) ListImagePipelineImagesRequest(input *ListImagePipelineIm // API operation ListImagePipelineImages for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * InvalidPaginationTokenException -// You have provided an invalid pagination token in your request. +// - InvalidPaginationTokenException +// You have provided an invalid pagination token in your request. // -// * ResourceNotFoundException -// At least one of the resources referenced by your request does not exist. +// - ResourceNotFoundException +// At least one of the resources referenced by your request does not exist. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePipelineImages func (c *Imagebuilder) ListImagePipelineImages(input *ListImagePipelineImagesInput) (*ListImagePipelineImagesOutput, error) { @@ -3964,15 +3958,14 @@ func (c *Imagebuilder) ListImagePipelineImagesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListImagePipelineImages operation. -// pageNum := 0 -// err := client.ListImagePipelineImagesPages(params, -// func(page *imagebuilder.ListImagePipelineImagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListImagePipelineImages operation. +// pageNum := 0 +// err := client.ListImagePipelineImagesPages(params, +// func(page *imagebuilder.ListImagePipelineImagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Imagebuilder) ListImagePipelineImagesPages(input *ListImagePipelineImagesInput, fn func(*ListImagePipelineImagesOutput, bool) bool) error { return c.ListImagePipelineImagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4024,14 +4017,13 @@ const opListImagePipelines = "ListImagePipelines" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListImagePipelinesRequest method. +// req, resp := client.ListImagePipelinesRequest(params) // -// // Example sending a request using the ListImagePipelinesRequest method. -// req, resp := client.ListImagePipelinesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePipelines func (c *Imagebuilder) ListImagePipelinesRequest(input *ListImagePipelinesInput) (req *request.Request, output *ListImagePipelinesOutput) { @@ -4068,28 +4060,29 @@ func (c *Imagebuilder) ListImagePipelinesRequest(input *ListImagePipelinesInput) // API operation ListImagePipelines for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * InvalidPaginationTokenException -// You have provided an invalid pagination token in your request. +// - InvalidPaginationTokenException +// You have provided an invalid pagination token in your request. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImagePipelines func (c *Imagebuilder) ListImagePipelines(input *ListImagePipelinesInput) (*ListImagePipelinesOutput, error) { @@ -4121,15 +4114,14 @@ func (c *Imagebuilder) ListImagePipelinesWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListImagePipelines operation. -// pageNum := 0 -// err := client.ListImagePipelinesPages(params, -// func(page *imagebuilder.ListImagePipelinesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListImagePipelines operation. +// pageNum := 0 +// err := client.ListImagePipelinesPages(params, +// func(page *imagebuilder.ListImagePipelinesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Imagebuilder) ListImagePipelinesPages(input *ListImagePipelinesInput, fn func(*ListImagePipelinesOutput, bool) bool) error { return c.ListImagePipelinesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4181,14 +4173,13 @@ const opListImageRecipes = "ListImageRecipes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListImageRecipesRequest method. +// req, resp := client.ListImageRecipesRequest(params) // -// // Example sending a request using the ListImageRecipesRequest method. -// req, resp := client.ListImageRecipesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageRecipes func (c *Imagebuilder) ListImageRecipesRequest(input *ListImageRecipesInput) (req *request.Request, output *ListImageRecipesOutput) { @@ -4225,28 +4216,29 @@ func (c *Imagebuilder) ListImageRecipesRequest(input *ListImageRecipesInput) (re // API operation ListImageRecipes for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidPaginationTokenException -// You have provided an invalid pagination token in your request. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - InvalidPaginationTokenException +// You have provided an invalid pagination token in your request. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. +// +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImageRecipes func (c *Imagebuilder) ListImageRecipes(input *ListImageRecipesInput) (*ListImageRecipesOutput, error) { @@ -4278,15 +4270,14 @@ func (c *Imagebuilder) ListImageRecipesWithContext(ctx aws.Context, input *ListI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListImageRecipes operation. -// pageNum := 0 -// err := client.ListImageRecipesPages(params, -// func(page *imagebuilder.ListImageRecipesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListImageRecipes operation. +// pageNum := 0 +// err := client.ListImageRecipesPages(params, +// func(page *imagebuilder.ListImageRecipesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Imagebuilder) ListImageRecipesPages(input *ListImageRecipesInput, fn func(*ListImageRecipesOutput, bool) bool) error { return c.ListImageRecipesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4338,14 +4329,13 @@ const opListImages = "ListImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListImagesRequest method. +// req, resp := client.ListImagesRequest(params) // -// // Example sending a request using the ListImagesRequest method. -// req, resp := client.ListImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImages func (c *Imagebuilder) ListImagesRequest(input *ListImagesInput) (req *request.Request, output *ListImagesOutput) { @@ -4382,28 +4372,29 @@ func (c *Imagebuilder) ListImagesRequest(input *ListImagesInput) (req *request.R // API operation ListImages for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidPaginationTokenException -// You have provided an invalid pagination token in your request. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - InvalidPaginationTokenException +// You have provided an invalid pagination token in your request. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. +// +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListImages func (c *Imagebuilder) ListImages(input *ListImagesInput) (*ListImagesOutput, error) { @@ -4435,15 +4426,14 @@ func (c *Imagebuilder) ListImagesWithContext(ctx aws.Context, input *ListImagesI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListImages operation. -// pageNum := 0 -// err := client.ListImagesPages(params, -// func(page *imagebuilder.ListImagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListImages operation. +// pageNum := 0 +// err := client.ListImagesPages(params, +// func(page *imagebuilder.ListImagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Imagebuilder) ListImagesPages(input *ListImagesInput, fn func(*ListImagesOutput, bool) bool) error { return c.ListImagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4495,14 +4485,13 @@ const opListInfrastructureConfigurations = "ListInfrastructureConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInfrastructureConfigurationsRequest method. +// req, resp := client.ListInfrastructureConfigurationsRequest(params) // -// // Example sending a request using the ListInfrastructureConfigurationsRequest method. -// req, resp := client.ListInfrastructureConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListInfrastructureConfigurations func (c *Imagebuilder) ListInfrastructureConfigurationsRequest(input *ListInfrastructureConfigurationsInput) (req *request.Request, output *ListInfrastructureConfigurationsOutput) { @@ -4539,28 +4528,29 @@ func (c *Imagebuilder) ListInfrastructureConfigurationsRequest(input *ListInfras // API operation ListInfrastructureConfigurations for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * InvalidPaginationTokenException -// You have provided an invalid pagination token in your request. +// - InvalidPaginationTokenException +// You have provided an invalid pagination token in your request. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListInfrastructureConfigurations func (c *Imagebuilder) ListInfrastructureConfigurations(input *ListInfrastructureConfigurationsInput) (*ListInfrastructureConfigurationsOutput, error) { @@ -4592,15 +4582,14 @@ func (c *Imagebuilder) ListInfrastructureConfigurationsWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInfrastructureConfigurations operation. -// pageNum := 0 -// err := client.ListInfrastructureConfigurationsPages(params, -// func(page *imagebuilder.ListInfrastructureConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInfrastructureConfigurations operation. +// pageNum := 0 +// err := client.ListInfrastructureConfigurationsPages(params, +// func(page *imagebuilder.ListInfrastructureConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Imagebuilder) ListInfrastructureConfigurationsPages(input *ListInfrastructureConfigurationsInput, fn func(*ListInfrastructureConfigurationsOutput, bool) bool) error { return c.ListInfrastructureConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4652,14 +4641,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListTagsForResource func (c *Imagebuilder) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4690,15 +4678,16 @@ func (c *Imagebuilder) ListTagsForResourceRequest(input *ListTagsForResourceInpu // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ResourceNotFoundException -// At least one of the resources referenced by your request does not exist. +// - ResourceNotFoundException +// At least one of the resources referenced by your request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/ListTagsForResource func (c *Imagebuilder) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4738,14 +4727,13 @@ const opPutComponentPolicy = "PutComponentPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutComponentPolicyRequest method. +// req, resp := client.PutComponentPolicyRequest(params) // -// // Example sending a request using the PutComponentPolicyRequest method. -// req, resp := client.PutComponentPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutComponentPolicy func (c *Imagebuilder) PutComponentPolicyRequest(input *PutComponentPolicyInput) (req *request.Request, output *PutComponentPolicyOutput) { @@ -4781,31 +4769,32 @@ func (c *Imagebuilder) PutComponentPolicyRequest(input *PutComponentPolicyInput) // API operation PutComponentPolicy for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * InvalidParameterValueException -// The value that you provided for the specified parameter is invalid. +// - InvalidParameterValueException +// The value that you provided for the specified parameter is invalid. // -// * ResourceNotFoundException -// At least one of the resources referenced by your request does not exist. +// - ResourceNotFoundException +// At least one of the resources referenced by your request does not exist. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutComponentPolicy func (c *Imagebuilder) PutComponentPolicy(input *PutComponentPolicyInput) (*PutComponentPolicyOutput, error) { @@ -4845,14 +4834,13 @@ const opPutContainerRecipePolicy = "PutContainerRecipePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutContainerRecipePolicyRequest method. +// req, resp := client.PutContainerRecipePolicyRequest(params) // -// // Example sending a request using the PutContainerRecipePolicyRequest method. -// req, resp := client.PutContainerRecipePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutContainerRecipePolicy func (c *Imagebuilder) PutContainerRecipePolicyRequest(input *PutContainerRecipePolicyInput) (req *request.Request, output *PutContainerRecipePolicyOutput) { @@ -4888,31 +4876,32 @@ func (c *Imagebuilder) PutContainerRecipePolicyRequest(input *PutContainerRecipe // API operation PutContainerRecipePolicy for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * InvalidParameterValueException -// The value that you provided for the specified parameter is invalid. +// - InvalidParameterValueException +// The value that you provided for the specified parameter is invalid. // -// * ResourceNotFoundException -// At least one of the resources referenced by your request does not exist. +// - ResourceNotFoundException +// At least one of the resources referenced by your request does not exist. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutContainerRecipePolicy func (c *Imagebuilder) PutContainerRecipePolicy(input *PutContainerRecipePolicyInput) (*PutContainerRecipePolicyOutput, error) { @@ -4952,14 +4941,13 @@ const opPutImagePolicy = "PutImagePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutImagePolicyRequest method. +// req, resp := client.PutImagePolicyRequest(params) // -// // Example sending a request using the PutImagePolicyRequest method. -// req, resp := client.PutImagePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImagePolicy func (c *Imagebuilder) PutImagePolicyRequest(input *PutImagePolicyInput) (req *request.Request, output *PutImagePolicyOutput) { @@ -4995,31 +4983,32 @@ func (c *Imagebuilder) PutImagePolicyRequest(input *PutImagePolicyInput) (req *r // API operation PutImagePolicy for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * InvalidParameterValueException -// The value that you provided for the specified parameter is invalid. +// - InvalidParameterValueException +// The value that you provided for the specified parameter is invalid. // -// * ResourceNotFoundException -// At least one of the resources referenced by your request does not exist. +// - ResourceNotFoundException +// At least one of the resources referenced by your request does not exist. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImagePolicy func (c *Imagebuilder) PutImagePolicy(input *PutImagePolicyInput) (*PutImagePolicyOutput, error) { @@ -5059,14 +5048,13 @@ const opPutImageRecipePolicy = "PutImageRecipePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutImageRecipePolicyRequest method. +// req, resp := client.PutImageRecipePolicyRequest(params) // -// // Example sending a request using the PutImageRecipePolicyRequest method. -// req, resp := client.PutImageRecipePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImageRecipePolicy func (c *Imagebuilder) PutImageRecipePolicyRequest(input *PutImageRecipePolicyInput) (req *request.Request, output *PutImageRecipePolicyOutput) { @@ -5102,31 +5090,32 @@ func (c *Imagebuilder) PutImageRecipePolicyRequest(input *PutImageRecipePolicyIn // API operation PutImageRecipePolicy for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidParameterValueException -// The value that you provided for the specified parameter is invalid. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ResourceNotFoundException -// At least one of the resources referenced by your request does not exist. +// - InvalidParameterValueException +// The value that you provided for the specified parameter is invalid. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ResourceNotFoundException +// At least one of the resources referenced by your request does not exist. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. +// +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/PutImageRecipePolicy func (c *Imagebuilder) PutImageRecipePolicy(input *PutImageRecipePolicyInput) (*PutImageRecipePolicyOutput, error) { @@ -5166,14 +5155,13 @@ const opStartImagePipelineExecution = "StartImagePipelineExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartImagePipelineExecutionRequest method. +// req, resp := client.StartImagePipelineExecutionRequest(params) // -// // Example sending a request using the StartImagePipelineExecutionRequest method. -// req, resp := client.StartImagePipelineExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/StartImagePipelineExecution func (c *Imagebuilder) StartImagePipelineExecutionRequest(input *StartImagePipelineExecutionInput) (req *request.Request, output *StartImagePipelineExecutionOutput) { @@ -5204,36 +5192,37 @@ func (c *Imagebuilder) StartImagePipelineExecutionRequest(input *StartImagePipel // API operation StartImagePipelineExecution for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * ResourceNotFoundException -// At least one of the resources referenced by your request does not exist. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * IdempotentParameterMismatchException -// You have specified a client token for an operation using parameter values -// that differ from a previous request that used the same client token. +// - ResourceNotFoundException +// At least one of the resources referenced by your request does not exist. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - IdempotentParameterMismatchException +// You have specified a client token for an operation using parameter values +// that differ from a previous request that used the same client token. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * ResourceInUseException -// The resource that you are trying to operate on is currently in use. Review -// the message details and retry later. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. +// +// - ResourceInUseException +// The resource that you are trying to operate on is currently in use. Review +// the message details and retry later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/StartImagePipelineExecution func (c *Imagebuilder) StartImagePipelineExecution(input *StartImagePipelineExecutionInput) (*StartImagePipelineExecutionOutput, error) { @@ -5273,14 +5262,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/TagResource func (c *Imagebuilder) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -5312,15 +5300,16 @@ func (c *Imagebuilder) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ResourceNotFoundException -// At least one of the resources referenced by your request does not exist. +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. +// +// - ResourceNotFoundException +// At least one of the resources referenced by your request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/TagResource func (c *Imagebuilder) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -5360,14 +5349,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UntagResource func (c *Imagebuilder) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -5399,15 +5387,16 @@ func (c *Imagebuilder) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - InvalidParameterException +// The specified parameter is invalid. Review the available parameters for the +// API request. // -// * ResourceNotFoundException -// At least one of the resources referenced by your request does not exist. +// - ResourceNotFoundException +// At least one of the resources referenced by your request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UntagResource func (c *Imagebuilder) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -5447,14 +5436,13 @@ const opUpdateDistributionConfiguration = "UpdateDistributionConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDistributionConfigurationRequest method. +// req, resp := client.UpdateDistributionConfigurationRequest(params) // -// // Example sending a request using the UpdateDistributionConfigurationRequest method. -// req, resp := client.UpdateDistributionConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateDistributionConfiguration func (c *Imagebuilder) UpdateDistributionConfigurationRequest(input *UpdateDistributionConfigurationInput) (req *request.Request, output *UpdateDistributionConfigurationOutput) { @@ -5486,37 +5474,38 @@ func (c *Imagebuilder) UpdateDistributionConfigurationRequest(input *UpdateDistr // API operation UpdateDistributionConfiguration for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * IdempotentParameterMismatchException -// You have specified a client token for an operation using parameter values -// that differ from a previous request that used the same client token. +// - IdempotentParameterMismatchException +// You have specified a client token for an operation using parameter values +// that differ from a previous request that used the same client token. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // -// * ResourceInUseException -// The resource that you are trying to operate on is currently in use. Review -// the message details and retry later. +// - ResourceInUseException +// The resource that you are trying to operate on is currently in use. Review +// the message details and retry later. // -// * InvalidParameterCombinationException -// You have specified two or more mutually exclusive parameters. Review the -// error message for details. +// - InvalidParameterCombinationException +// You have specified two or more mutually exclusive parameters. Review the +// error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateDistributionConfiguration func (c *Imagebuilder) UpdateDistributionConfiguration(input *UpdateDistributionConfigurationInput) (*UpdateDistributionConfigurationOutput, error) { @@ -5556,14 +5545,13 @@ const opUpdateImagePipeline = "UpdateImagePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateImagePipelineRequest method. +// req, resp := client.UpdateImagePipelineRequest(params) // -// // Example sending a request using the UpdateImagePipelineRequest method. -// req, resp := client.UpdateImagePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateImagePipeline func (c *Imagebuilder) UpdateImagePipelineRequest(input *UpdateImagePipelineInput) (req *request.Request, output *UpdateImagePipelineOutput) { @@ -5599,33 +5587,34 @@ func (c *Imagebuilder) UpdateImagePipelineRequest(input *UpdateImagePipelineInpu // API operation UpdateImagePipeline for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * IdempotentParameterMismatchException -// You have specified a client token for an operation using parameter values -// that differ from a previous request that used the same client token. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - IdempotentParameterMismatchException +// You have specified a client token for an operation using parameter values +// that differ from a previous request that used the same client token. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * ResourceInUseException -// The resource that you are trying to operate on is currently in use. Review -// the message details and retry later. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. +// +// - ResourceInUseException +// The resource that you are trying to operate on is currently in use. Review +// the message details and retry later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateImagePipeline func (c *Imagebuilder) UpdateImagePipeline(input *UpdateImagePipelineInput) (*UpdateImagePipelineOutput, error) { @@ -5665,14 +5654,13 @@ const opUpdateInfrastructureConfiguration = "UpdateInfrastructureConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateInfrastructureConfigurationRequest method. +// req, resp := client.UpdateInfrastructureConfigurationRequest(params) // -// // Example sending a request using the UpdateInfrastructureConfigurationRequest method. -// req, resp := client.UpdateInfrastructureConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateInfrastructureConfiguration func (c *Imagebuilder) UpdateInfrastructureConfigurationRequest(input *UpdateInfrastructureConfigurationInput) (req *request.Request, output *UpdateInfrastructureConfigurationOutput) { @@ -5704,33 +5692,34 @@ func (c *Imagebuilder) UpdateInfrastructureConfigurationRequest(input *UpdateInf // API operation UpdateInfrastructureConfiguration for usage and error information. // // Returned Error Types: -// * ServiceException -// This exception is thrown when the service encounters an unrecoverable exception. // -// * ClientException -// These errors are usually caused by a client action, such as using an action -// or resource on behalf of a user that doesn't have permissions to use the -// action or resource, or specifying an invalid resource identifier. +// - ServiceException +// This exception is thrown when the service encounters an unrecoverable exception. +// +// - ClientException +// These errors are usually caused by a client action, such as using an action +// or resource on behalf of a user that doesn't have permissions to use the +// action or resource, or specifying an invalid resource identifier. // -// * ServiceUnavailableException -// The service is unable to process your request at this time. +// - ServiceUnavailableException +// The service is unable to process your request at this time. // -// * InvalidRequestException -// You have made a request for an action that is not supported by the service. +// - InvalidRequestException +// You have made a request for an action that is not supported by the service. // -// * IdempotentParameterMismatchException -// You have specified a client token for an operation using parameter values -// that differ from a previous request that used the same client token. +// - IdempotentParameterMismatchException +// You have specified a client token for an operation using parameter values +// that differ from a previous request that used the same client token. // -// * ForbiddenException -// You are not authorized to perform the requested operation. +// - ForbiddenException +// You are not authorized to perform the requested operation. // -// * CallRateLimitExceededException -// You have exceeded the permitted request rate for the specific operation. +// - CallRateLimitExceededException +// You have exceeded the permitted request rate for the specific operation. // -// * ResourceInUseException -// The resource that you are trying to operate on is currently in use. Review -// the message details and retry later. +// - ResourceInUseException +// The resource that you are trying to operate on is currently in use. Review +// the message details and retry later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/imagebuilder-2019-12-02/UpdateInfrastructureConfiguration func (c *Imagebuilder) UpdateInfrastructureConfiguration(input *UpdateInfrastructureConfigurationInput) (*UpdateInfrastructureConfigurationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/doc.go index e3a93071e753..5e95b58bf968 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/doc.go @@ -13,7 +13,7 @@ // See imagebuilder package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/imagebuilder/ // -// Using the Client +// # Using the Client // // To contact EC2 Image Builder with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/imagebuilderiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/imagebuilderiface/interface.go index 8d5c0f71073c..414153493792 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/imagebuilderiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/imagebuilderiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // EC2 Image Builder. -// func myFunc(svc imagebuilderiface.ImagebuilderAPI) bool { -// // Make svc.CancelImageCreation request -// } +// // myFunc uses an SDK service client to make a request to +// // EC2 Image Builder. +// func myFunc(svc imagebuilderiface.ImagebuilderAPI) bool { +// // Make svc.CancelImageCreation request +// } // -// func main() { -// sess := session.New() -// svc := imagebuilder.New(sess) +// func main() { +// sess := session.New() +// svc := imagebuilder.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockImagebuilderClient struct { -// imagebuilderiface.ImagebuilderAPI -// } -// func (m *mockImagebuilderClient) CancelImageCreation(input *imagebuilder.CancelImageCreationInput) (*imagebuilder.CancelImageCreationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockImagebuilderClient struct { +// imagebuilderiface.ImagebuilderAPI +// } +// func (m *mockImagebuilderClient) CancelImageCreation(input *imagebuilder.CancelImageCreationInput) (*imagebuilder.CancelImageCreationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockImagebuilderClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockImagebuilderClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/service.go index 1b9526aea9d4..b805f1d38a04 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/imagebuilder/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Imagebuilder client from just a session. -// svc := imagebuilder.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Imagebuilder client with additional configuration -// svc := imagebuilder.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Imagebuilder client from just a session. +// svc := imagebuilder.New(mySession) +// +// // Create a Imagebuilder client with additional configuration +// svc := imagebuilder.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Imagebuilder { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/api.go index 3aaba91c6582..74eb916b455e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/api.go @@ -29,14 +29,13 @@ const opAddAttributesToFindings = "AddAttributesToFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddAttributesToFindingsRequest method. +// req, resp := client.AddAttributesToFindingsRequest(params) // -// // Example sending a request using the AddAttributesToFindingsRequest method. -// req, resp := client.AddAttributesToFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AddAttributesToFindings func (c *Inspector) AddAttributesToFindingsRequest(input *AddAttributesToFindingsInput) (req *request.Request, output *AddAttributesToFindingsOutput) { @@ -68,22 +67,23 @@ func (c *Inspector) AddAttributesToFindingsRequest(input *AddAttributesToFinding // API operation AddAttributesToFindings for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/AddAttributesToFindings func (c *Inspector) AddAttributesToFindings(input *AddAttributesToFindingsInput) (*AddAttributesToFindingsOutput, error) { @@ -123,14 +123,13 @@ const opCreateAssessmentTarget = "CreateAssessmentTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAssessmentTargetRequest method. +// req, resp := client.CreateAssessmentTargetRequest(params) // -// // Example sending a request using the CreateAssessmentTargetRequest method. -// req, resp := client.CreateAssessmentTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTarget func (c *Inspector) CreateAssessmentTargetRequest(input *CreateAssessmentTargetInput) (req *request.Request, output *CreateAssessmentTargetOutput) { @@ -169,30 +168,31 @@ func (c *Inspector) CreateAssessmentTargetRequest(input *CreateAssessmentTargetI // API operation CreateAssessmentTarget for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error code describes the limit exceeded. +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current AWS account limits. The error code describes the limit exceeded. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * InvalidCrossAccountRoleException -// Amazon Inspector cannot assume the cross-account role that it needs to list -// your EC2 instances during the assessment run. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - InvalidCrossAccountRoleException +// Amazon Inspector cannot assume the cross-account role that it needs to list +// your EC2 instances during the assessment run. +// +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTarget func (c *Inspector) CreateAssessmentTarget(input *CreateAssessmentTargetInput) (*CreateAssessmentTargetOutput, error) { @@ -232,14 +232,13 @@ const opCreateAssessmentTemplate = "CreateAssessmentTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAssessmentTemplateRequest method. +// req, resp := client.CreateAssessmentTemplateRequest(params) // -// // Example sending a request using the CreateAssessmentTemplateRequest method. -// req, resp := client.CreateAssessmentTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplate func (c *Inspector) CreateAssessmentTemplateRequest(input *CreateAssessmentTemplateInput) (req *request.Request, output *CreateAssessmentTemplateOutput) { @@ -274,26 +273,27 @@ func (c *Inspector) CreateAssessmentTemplateRequest(input *CreateAssessmentTempl // API operation CreateAssessmentTemplate for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error code describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current AWS account limits. The error code describes the limit exceeded. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateAssessmentTemplate func (c *Inspector) CreateAssessmentTemplate(input *CreateAssessmentTemplateInput) (*CreateAssessmentTemplateOutput, error) { @@ -333,14 +333,13 @@ const opCreateExclusionsPreview = "CreateExclusionsPreview" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateExclusionsPreviewRequest method. +// req, resp := client.CreateExclusionsPreviewRequest(params) // -// // Example sending a request using the CreateExclusionsPreviewRequest method. -// req, resp := client.CreateExclusionsPreviewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateExclusionsPreview func (c *Inspector) CreateExclusionsPreviewRequest(input *CreateExclusionsPreviewInput) (req *request.Request, output *CreateExclusionsPreviewOutput) { @@ -373,26 +372,27 @@ func (c *Inspector) CreateExclusionsPreviewRequest(input *CreateExclusionsPrevie // API operation CreateExclusionsPreview for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. // -// * PreviewGenerationInProgressException -// The request is rejected. The specified assessment template is currently generating -// an exclusions preview. +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - PreviewGenerationInProgressException +// The request is rejected. The specified assessment template is currently generating +// an exclusions preview. // -// * InternalException -// Internal server error. +// - InternalException +// Internal server error. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateExclusionsPreview func (c *Inspector) CreateExclusionsPreview(input *CreateExclusionsPreviewInput) (*CreateExclusionsPreviewOutput, error) { @@ -432,14 +432,13 @@ const opCreateResourceGroup = "CreateResourceGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResourceGroupRequest method. +// req, resp := client.CreateResourceGroupRequest(params) // -// // Example sending a request using the CreateResourceGroupRequest method. -// req, resp := client.CreateResourceGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroup func (c *Inspector) CreateResourceGroupRequest(input *CreateResourceGroupInput) (req *request.Request, output *CreateResourceGroupOutput) { @@ -473,22 +472,23 @@ func (c *Inspector) CreateResourceGroupRequest(input *CreateResourceGroupInput) // API operation CreateResourceGroup for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error code describes the limit exceeded. +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current AWS account limits. The error code describes the limit exceeded. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. +// +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/CreateResourceGroup func (c *Inspector) CreateResourceGroup(input *CreateResourceGroupInput) (*CreateResourceGroupOutput, error) { @@ -528,14 +528,13 @@ const opDeleteAssessmentRun = "DeleteAssessmentRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAssessmentRunRequest method. +// req, resp := client.DeleteAssessmentRunRequest(params) // -// // Example sending a request using the DeleteAssessmentRunRequest method. -// req, resp := client.DeleteAssessmentRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentRun func (c *Inspector) DeleteAssessmentRunRequest(input *DeleteAssessmentRunInput) (req *request.Request, output *DeleteAssessmentRunOutput) { @@ -568,26 +567,27 @@ func (c *Inspector) DeleteAssessmentRunRequest(input *DeleteAssessmentRunInput) // API operation DeleteAssessmentRun for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. // -// * AssessmentRunInProgressException -// You cannot perform a specified action if an assessment run is currently in -// progress. +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AssessmentRunInProgressException +// You cannot perform a specified action if an assessment run is currently in +// progress. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. +// +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentRun func (c *Inspector) DeleteAssessmentRun(input *DeleteAssessmentRunInput) (*DeleteAssessmentRunOutput, error) { @@ -627,14 +627,13 @@ const opDeleteAssessmentTarget = "DeleteAssessmentTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAssessmentTargetRequest method. +// req, resp := client.DeleteAssessmentTargetRequest(params) // -// // Example sending a request using the DeleteAssessmentTargetRequest method. -// req, resp := client.DeleteAssessmentTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTarget func (c *Inspector) DeleteAssessmentTargetRequest(input *DeleteAssessmentTargetInput) (req *request.Request, output *DeleteAssessmentTargetOutput) { @@ -667,26 +666,27 @@ func (c *Inspector) DeleteAssessmentTargetRequest(input *DeleteAssessmentTargetI // API operation DeleteAssessmentTarget for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AssessmentRunInProgressException -// You cannot perform a specified action if an assessment run is currently in -// progress. +// - AssessmentRunInProgressException +// You cannot perform a specified action if an assessment run is currently in +// progress. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTarget func (c *Inspector) DeleteAssessmentTarget(input *DeleteAssessmentTargetInput) (*DeleteAssessmentTargetOutput, error) { @@ -726,14 +726,13 @@ const opDeleteAssessmentTemplate = "DeleteAssessmentTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAssessmentTemplateRequest method. +// req, resp := client.DeleteAssessmentTemplateRequest(params) // -// // Example sending a request using the DeleteAssessmentTemplateRequest method. -// req, resp := client.DeleteAssessmentTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTemplate func (c *Inspector) DeleteAssessmentTemplateRequest(input *DeleteAssessmentTemplateInput) (req *request.Request, output *DeleteAssessmentTemplateOutput) { @@ -766,26 +765,27 @@ func (c *Inspector) DeleteAssessmentTemplateRequest(input *DeleteAssessmentTempl // API operation DeleteAssessmentTemplate for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AssessmentRunInProgressException -// You cannot perform a specified action if an assessment run is currently in -// progress. +// - AssessmentRunInProgressException +// You cannot perform a specified action if an assessment run is currently in +// progress. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DeleteAssessmentTemplate func (c *Inspector) DeleteAssessmentTemplate(input *DeleteAssessmentTemplateInput) (*DeleteAssessmentTemplateOutput, error) { @@ -825,14 +825,13 @@ const opDescribeAssessmentRuns = "DescribeAssessmentRuns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAssessmentRunsRequest method. +// req, resp := client.DescribeAssessmentRunsRequest(params) // -// // Example sending a request using the DescribeAssessmentRunsRequest method. -// req, resp := client.DescribeAssessmentRunsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentRuns func (c *Inspector) DescribeAssessmentRunsRequest(input *DescribeAssessmentRunsInput) (req *request.Request, output *DescribeAssessmentRunsOutput) { @@ -864,12 +863,13 @@ func (c *Inspector) DescribeAssessmentRunsRequest(input *DescribeAssessmentRunsI // API operation DescribeAssessmentRuns for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentRuns func (c *Inspector) DescribeAssessmentRuns(input *DescribeAssessmentRunsInput) (*DescribeAssessmentRunsOutput, error) { @@ -909,14 +909,13 @@ const opDescribeAssessmentTargets = "DescribeAssessmentTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAssessmentTargetsRequest method. +// req, resp := client.DescribeAssessmentTargetsRequest(params) // -// // Example sending a request using the DescribeAssessmentTargetsRequest method. -// req, resp := client.DescribeAssessmentTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTargets func (c *Inspector) DescribeAssessmentTargetsRequest(input *DescribeAssessmentTargetsInput) (req *request.Request, output *DescribeAssessmentTargetsOutput) { @@ -948,12 +947,13 @@ func (c *Inspector) DescribeAssessmentTargetsRequest(input *DescribeAssessmentTa // API operation DescribeAssessmentTargets for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTargets func (c *Inspector) DescribeAssessmentTargets(input *DescribeAssessmentTargetsInput) (*DescribeAssessmentTargetsOutput, error) { @@ -993,14 +993,13 @@ const opDescribeAssessmentTemplates = "DescribeAssessmentTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAssessmentTemplatesRequest method. +// req, resp := client.DescribeAssessmentTemplatesRequest(params) // -// // Example sending a request using the DescribeAssessmentTemplatesRequest method. -// req, resp := client.DescribeAssessmentTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTemplates func (c *Inspector) DescribeAssessmentTemplatesRequest(input *DescribeAssessmentTemplatesInput) (req *request.Request, output *DescribeAssessmentTemplatesOutput) { @@ -1032,12 +1031,13 @@ func (c *Inspector) DescribeAssessmentTemplatesRequest(input *DescribeAssessment // API operation DescribeAssessmentTemplates for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeAssessmentTemplates func (c *Inspector) DescribeAssessmentTemplates(input *DescribeAssessmentTemplatesInput) (*DescribeAssessmentTemplatesOutput, error) { @@ -1077,14 +1077,13 @@ const opDescribeCrossAccountAccessRole = "DescribeCrossAccountAccessRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCrossAccountAccessRoleRequest method. +// req, resp := client.DescribeCrossAccountAccessRoleRequest(params) // -// // Example sending a request using the DescribeCrossAccountAccessRoleRequest method. -// req, resp := client.DescribeCrossAccountAccessRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeCrossAccountAccessRole func (c *Inspector) DescribeCrossAccountAccessRoleRequest(input *DescribeCrossAccountAccessRoleInput) (req *request.Request, output *DescribeCrossAccountAccessRoleOutput) { @@ -1115,8 +1114,8 @@ func (c *Inspector) DescribeCrossAccountAccessRoleRequest(input *DescribeCrossAc // API operation DescribeCrossAccountAccessRole for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. +// - InternalException +// Internal server error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeCrossAccountAccessRole func (c *Inspector) DescribeCrossAccountAccessRole(input *DescribeCrossAccountAccessRoleInput) (*DescribeCrossAccountAccessRoleOutput, error) { @@ -1156,14 +1155,13 @@ const opDescribeExclusions = "DescribeExclusions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExclusionsRequest method. +// req, resp := client.DescribeExclusionsRequest(params) // -// // Example sending a request using the DescribeExclusionsRequest method. -// req, resp := client.DescribeExclusionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeExclusions func (c *Inspector) DescribeExclusionsRequest(input *DescribeExclusionsInput) (req *request.Request, output *DescribeExclusionsOutput) { @@ -1194,12 +1192,13 @@ func (c *Inspector) DescribeExclusionsRequest(input *DescribeExclusionsInput) (r // API operation DescribeExclusions for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeExclusions func (c *Inspector) DescribeExclusions(input *DescribeExclusionsInput) (*DescribeExclusionsOutput, error) { @@ -1239,14 +1238,13 @@ const opDescribeFindings = "DescribeFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFindingsRequest method. +// req, resp := client.DescribeFindingsRequest(params) // -// // Example sending a request using the DescribeFindingsRequest method. -// req, resp := client.DescribeFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeFindings func (c *Inspector) DescribeFindingsRequest(input *DescribeFindingsInput) (req *request.Request, output *DescribeFindingsOutput) { @@ -1277,12 +1275,13 @@ func (c *Inspector) DescribeFindingsRequest(input *DescribeFindingsInput) (req * // API operation DescribeFindings for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeFindings func (c *Inspector) DescribeFindings(input *DescribeFindingsInput) (*DescribeFindingsOutput, error) { @@ -1322,14 +1321,13 @@ const opDescribeResourceGroups = "DescribeResourceGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeResourceGroupsRequest method. +// req, resp := client.DescribeResourceGroupsRequest(params) // -// // Example sending a request using the DescribeResourceGroupsRequest method. -// req, resp := client.DescribeResourceGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeResourceGroups func (c *Inspector) DescribeResourceGroupsRequest(input *DescribeResourceGroupsInput) (req *request.Request, output *DescribeResourceGroupsOutput) { @@ -1361,12 +1359,13 @@ func (c *Inspector) DescribeResourceGroupsRequest(input *DescribeResourceGroupsI // API operation DescribeResourceGroups for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeResourceGroups func (c *Inspector) DescribeResourceGroups(input *DescribeResourceGroupsInput) (*DescribeResourceGroupsOutput, error) { @@ -1406,14 +1405,13 @@ const opDescribeRulesPackages = "DescribeRulesPackages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRulesPackagesRequest method. +// req, resp := client.DescribeRulesPackagesRequest(params) // -// // Example sending a request using the DescribeRulesPackagesRequest method. -// req, resp := client.DescribeRulesPackagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeRulesPackages func (c *Inspector) DescribeRulesPackagesRequest(input *DescribeRulesPackagesInput) (req *request.Request, output *DescribeRulesPackagesOutput) { @@ -1445,12 +1443,13 @@ func (c *Inspector) DescribeRulesPackagesRequest(input *DescribeRulesPackagesInp // API operation DescribeRulesPackages for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/DescribeRulesPackages func (c *Inspector) DescribeRulesPackages(input *DescribeRulesPackagesInput) (*DescribeRulesPackagesOutput, error) { @@ -1490,14 +1489,13 @@ const opGetAssessmentReport = "GetAssessmentReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssessmentReportRequest method. +// req, resp := client.GetAssessmentReportRequest(params) // -// // Example sending a request using the GetAssessmentReportRequest method. -// req, resp := client.GetAssessmentReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetAssessmentReport func (c *Inspector) GetAssessmentReportRequest(input *GetAssessmentReportInput) (req *request.Request, output *GetAssessmentReportOutput) { @@ -1529,33 +1527,34 @@ func (c *Inspector) GetAssessmentReportRequest(input *GetAssessmentReportInput) // API operation GetAssessmentReport for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * AssessmentRunInProgressException -// You cannot perform a specified action if an assessment run is currently in -// progress. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // -// * UnsupportedFeatureException -// Used by the GetAssessmentReport API. The request was rejected because you -// tried to generate a report for an assessment run that existed before reporting -// was supported in Amazon Inspector. You can only generate reports for assessment -// runs that took place or will take place after generating reports in Amazon -// Inspector became available. +// - AssessmentRunInProgressException +// You cannot perform a specified action if an assessment run is currently in +// progress. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - UnsupportedFeatureException +// Used by the GetAssessmentReport API. The request was rejected because you +// tried to generate a report for an assessment run that existed before reporting +// was supported in Amazon Inspector. You can only generate reports for assessment +// runs that took place or will take place after generating reports in Amazon +// Inspector became available. +// +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetAssessmentReport func (c *Inspector) GetAssessmentReport(input *GetAssessmentReportInput) (*GetAssessmentReportOutput, error) { @@ -1595,14 +1594,13 @@ const opGetExclusionsPreview = "GetExclusionsPreview" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetExclusionsPreviewRequest method. +// req, resp := client.GetExclusionsPreviewRequest(params) // -// // Example sending a request using the GetExclusionsPreviewRequest method. -// req, resp := client.GetExclusionsPreviewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetExclusionsPreview func (c *Inspector) GetExclusionsPreviewRequest(input *GetExclusionsPreviewInput) (req *request.Request, output *GetExclusionsPreviewOutput) { @@ -1641,19 +1639,20 @@ func (c *Inspector) GetExclusionsPreviewRequest(input *GetExclusionsPreviewInput // API operation GetExclusionsPreview for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. // -// * InternalException -// Internal server error. +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - InternalException +// Internal server error. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetExclusionsPreview func (c *Inspector) GetExclusionsPreview(input *GetExclusionsPreviewInput) (*GetExclusionsPreviewOutput, error) { @@ -1685,15 +1684,14 @@ func (c *Inspector) GetExclusionsPreviewWithContext(ctx aws.Context, input *GetE // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetExclusionsPreview operation. -// pageNum := 0 -// err := client.GetExclusionsPreviewPages(params, -// func(page *inspector.GetExclusionsPreviewOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetExclusionsPreview operation. +// pageNum := 0 +// err := client.GetExclusionsPreviewPages(params, +// func(page *inspector.GetExclusionsPreviewOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector) GetExclusionsPreviewPages(input *GetExclusionsPreviewInput, fn func(*GetExclusionsPreviewOutput, bool) bool) error { return c.GetExclusionsPreviewPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1745,14 +1743,13 @@ const opGetTelemetryMetadata = "GetTelemetryMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTelemetryMetadataRequest method. +// req, resp := client.GetTelemetryMetadataRequest(params) // -// // Example sending a request using the GetTelemetryMetadataRequest method. -// req, resp := client.GetTelemetryMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetTelemetryMetadata func (c *Inspector) GetTelemetryMetadataRequest(input *GetTelemetryMetadataInput) (req *request.Request, output *GetTelemetryMetadataOutput) { @@ -1784,19 +1781,20 @@ func (c *Inspector) GetTelemetryMetadataRequest(input *GetTelemetryMetadataInput // API operation GetTelemetryMetadata for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. +// +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/GetTelemetryMetadata func (c *Inspector) GetTelemetryMetadata(input *GetTelemetryMetadataInput) (*GetTelemetryMetadataOutput, error) { @@ -1836,14 +1834,13 @@ const opListAssessmentRunAgents = "ListAssessmentRunAgents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssessmentRunAgentsRequest method. +// req, resp := client.ListAssessmentRunAgentsRequest(params) // -// // Example sending a request using the ListAssessmentRunAgentsRequest method. -// req, resp := client.ListAssessmentRunAgentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunAgents func (c *Inspector) ListAssessmentRunAgentsRequest(input *ListAssessmentRunAgentsInput) (req *request.Request, output *ListAssessmentRunAgentsOutput) { @@ -1881,19 +1878,20 @@ func (c *Inspector) ListAssessmentRunAgentsRequest(input *ListAssessmentRunAgent // API operation ListAssessmentRunAgents for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRunAgents func (c *Inspector) ListAssessmentRunAgents(input *ListAssessmentRunAgentsInput) (*ListAssessmentRunAgentsOutput, error) { @@ -1925,15 +1923,14 @@ func (c *Inspector) ListAssessmentRunAgentsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssessmentRunAgents operation. -// pageNum := 0 -// err := client.ListAssessmentRunAgentsPages(params, -// func(page *inspector.ListAssessmentRunAgentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssessmentRunAgents operation. +// pageNum := 0 +// err := client.ListAssessmentRunAgentsPages(params, +// func(page *inspector.ListAssessmentRunAgentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector) ListAssessmentRunAgentsPages(input *ListAssessmentRunAgentsInput, fn func(*ListAssessmentRunAgentsOutput, bool) bool) error { return c.ListAssessmentRunAgentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1985,14 +1982,13 @@ const opListAssessmentRuns = "ListAssessmentRuns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssessmentRunsRequest method. +// req, resp := client.ListAssessmentRunsRequest(params) // -// // Example sending a request using the ListAssessmentRunsRequest method. -// req, resp := client.ListAssessmentRunsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRuns func (c *Inspector) ListAssessmentRunsRequest(input *ListAssessmentRunsInput) (req *request.Request, output *ListAssessmentRunsOutput) { @@ -2030,19 +2026,20 @@ func (c *Inspector) ListAssessmentRunsRequest(input *ListAssessmentRunsInput) (r // API operation ListAssessmentRuns for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. +// +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentRuns func (c *Inspector) ListAssessmentRuns(input *ListAssessmentRunsInput) (*ListAssessmentRunsOutput, error) { @@ -2074,15 +2071,14 @@ func (c *Inspector) ListAssessmentRunsWithContext(ctx aws.Context, input *ListAs // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssessmentRuns operation. -// pageNum := 0 -// err := client.ListAssessmentRunsPages(params, -// func(page *inspector.ListAssessmentRunsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssessmentRuns operation. +// pageNum := 0 +// err := client.ListAssessmentRunsPages(params, +// func(page *inspector.ListAssessmentRunsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector) ListAssessmentRunsPages(input *ListAssessmentRunsInput, fn func(*ListAssessmentRunsOutput, bool) bool) error { return c.ListAssessmentRunsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2134,14 +2130,13 @@ const opListAssessmentTargets = "ListAssessmentTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssessmentTargetsRequest method. +// req, resp := client.ListAssessmentTargetsRequest(params) // -// // Example sending a request using the ListAssessmentTargetsRequest method. -// req, resp := client.ListAssessmentTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargets func (c *Inspector) ListAssessmentTargetsRequest(input *ListAssessmentTargetsInput) (req *request.Request, output *ListAssessmentTargetsOutput) { @@ -2180,15 +2175,16 @@ func (c *Inspector) ListAssessmentTargetsRequest(input *ListAssessmentTargetsInp // API operation ListAssessmentTargets for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. +// +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTargets func (c *Inspector) ListAssessmentTargets(input *ListAssessmentTargetsInput) (*ListAssessmentTargetsOutput, error) { @@ -2220,15 +2216,14 @@ func (c *Inspector) ListAssessmentTargetsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssessmentTargets operation. -// pageNum := 0 -// err := client.ListAssessmentTargetsPages(params, -// func(page *inspector.ListAssessmentTargetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssessmentTargets operation. +// pageNum := 0 +// err := client.ListAssessmentTargetsPages(params, +// func(page *inspector.ListAssessmentTargetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector) ListAssessmentTargetsPages(input *ListAssessmentTargetsInput, fn func(*ListAssessmentTargetsOutput, bool) bool) error { return c.ListAssessmentTargetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2280,14 +2275,13 @@ const opListAssessmentTemplates = "ListAssessmentTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssessmentTemplatesRequest method. +// req, resp := client.ListAssessmentTemplatesRequest(params) // -// // Example sending a request using the ListAssessmentTemplatesRequest method. -// req, resp := client.ListAssessmentTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTemplates func (c *Inspector) ListAssessmentTemplatesRequest(input *ListAssessmentTemplatesInput) (req *request.Request, output *ListAssessmentTemplatesOutput) { @@ -2325,19 +2319,20 @@ func (c *Inspector) ListAssessmentTemplatesRequest(input *ListAssessmentTemplate // API operation ListAssessmentTemplates for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. +// +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListAssessmentTemplates func (c *Inspector) ListAssessmentTemplates(input *ListAssessmentTemplatesInput) (*ListAssessmentTemplatesOutput, error) { @@ -2369,15 +2364,14 @@ func (c *Inspector) ListAssessmentTemplatesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssessmentTemplates operation. -// pageNum := 0 -// err := client.ListAssessmentTemplatesPages(params, -// func(page *inspector.ListAssessmentTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssessmentTemplates operation. +// pageNum := 0 +// err := client.ListAssessmentTemplatesPages(params, +// func(page *inspector.ListAssessmentTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector) ListAssessmentTemplatesPages(input *ListAssessmentTemplatesInput, fn func(*ListAssessmentTemplatesOutput, bool) bool) error { return c.ListAssessmentTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2429,14 +2423,13 @@ const opListEventSubscriptions = "ListEventSubscriptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventSubscriptionsRequest method. +// req, resp := client.ListEventSubscriptionsRequest(params) // -// // Example sending a request using the ListEventSubscriptionsRequest method. -// req, resp := client.ListEventSubscriptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListEventSubscriptions func (c *Inspector) ListEventSubscriptionsRequest(input *ListEventSubscriptionsInput) (req *request.Request, output *ListEventSubscriptionsOutput) { @@ -2475,19 +2468,20 @@ func (c *Inspector) ListEventSubscriptionsRequest(input *ListEventSubscriptionsI // API operation ListEventSubscriptions for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. +// +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListEventSubscriptions func (c *Inspector) ListEventSubscriptions(input *ListEventSubscriptionsInput) (*ListEventSubscriptionsOutput, error) { @@ -2519,15 +2513,14 @@ func (c *Inspector) ListEventSubscriptionsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEventSubscriptions operation. -// pageNum := 0 -// err := client.ListEventSubscriptionsPages(params, -// func(page *inspector.ListEventSubscriptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEventSubscriptions operation. +// pageNum := 0 +// err := client.ListEventSubscriptionsPages(params, +// func(page *inspector.ListEventSubscriptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector) ListEventSubscriptionsPages(input *ListEventSubscriptionsInput, fn func(*ListEventSubscriptionsOutput, bool) bool) error { return c.ListEventSubscriptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2579,14 +2572,13 @@ const opListExclusions = "ListExclusions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExclusionsRequest method. +// req, resp := client.ListExclusionsRequest(params) // -// // Example sending a request using the ListExclusionsRequest method. -// req, resp := client.ListExclusionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListExclusions func (c *Inspector) ListExclusionsRequest(input *ListExclusionsInput) (req *request.Request, output *ListExclusionsOutput) { @@ -2623,19 +2615,20 @@ func (c *Inspector) ListExclusionsRequest(input *ListExclusionsInput) (req *requ // API operation ListExclusions for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListExclusions func (c *Inspector) ListExclusions(input *ListExclusionsInput) (*ListExclusionsOutput, error) { @@ -2667,15 +2660,14 @@ func (c *Inspector) ListExclusionsWithContext(ctx aws.Context, input *ListExclus // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExclusions operation. -// pageNum := 0 -// err := client.ListExclusionsPages(params, -// func(page *inspector.ListExclusionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExclusions operation. +// pageNum := 0 +// err := client.ListExclusionsPages(params, +// func(page *inspector.ListExclusionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector) ListExclusionsPages(input *ListExclusionsInput, fn func(*ListExclusionsOutput, bool) bool) error { return c.ListExclusionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2727,14 +2719,13 @@ const opListFindings = "ListFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFindingsRequest method. +// req, resp := client.ListFindingsRequest(params) // -// // Example sending a request using the ListFindingsRequest method. -// req, resp := client.ListFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListFindings func (c *Inspector) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput) { @@ -2772,19 +2763,20 @@ func (c *Inspector) ListFindingsRequest(input *ListFindingsInput) (req *request. // API operation ListFindings for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListFindings func (c *Inspector) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error) { @@ -2816,15 +2808,14 @@ func (c *Inspector) ListFindingsWithContext(ctx aws.Context, input *ListFindings // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFindings operation. -// pageNum := 0 -// err := client.ListFindingsPages(params, -// func(page *inspector.ListFindingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFindings operation. +// pageNum := 0 +// err := client.ListFindingsPages(params, +// func(page *inspector.ListFindingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error { return c.ListFindingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2876,14 +2867,13 @@ const opListRulesPackages = "ListRulesPackages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRulesPackagesRequest method. +// req, resp := client.ListRulesPackagesRequest(params) // -// // Example sending a request using the ListRulesPackagesRequest method. -// req, resp := client.ListRulesPackagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackages func (c *Inspector) ListRulesPackagesRequest(input *ListRulesPackagesInput) (req *request.Request, output *ListRulesPackagesOutput) { @@ -2920,15 +2910,16 @@ func (c *Inspector) ListRulesPackagesRequest(input *ListRulesPackagesInput) (req // API operation ListRulesPackages for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListRulesPackages func (c *Inspector) ListRulesPackages(input *ListRulesPackagesInput) (*ListRulesPackagesOutput, error) { @@ -2960,15 +2951,14 @@ func (c *Inspector) ListRulesPackagesWithContext(ctx aws.Context, input *ListRul // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRulesPackages operation. -// pageNum := 0 -// err := client.ListRulesPackagesPages(params, -// func(page *inspector.ListRulesPackagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRulesPackages operation. +// pageNum := 0 +// err := client.ListRulesPackagesPages(params, +// func(page *inspector.ListRulesPackagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector) ListRulesPackagesPages(input *ListRulesPackagesInput, fn func(*ListRulesPackagesOutput, bool) bool) error { return c.ListRulesPackagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3020,14 +3010,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListTagsForResource func (c *Inspector) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -3058,19 +3047,20 @@ func (c *Inspector) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. +// +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/ListTagsForResource func (c *Inspector) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3110,14 +3100,13 @@ const opPreviewAgents = "PreviewAgents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PreviewAgentsRequest method. +// req, resp := client.PreviewAgentsRequest(params) // -// // Example sending a request using the PreviewAgentsRequest method. -// req, resp := client.PreviewAgentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgents func (c *Inspector) PreviewAgentsRequest(input *PreviewAgentsInput) (req *request.Request, output *PreviewAgentsOutput) { @@ -3155,23 +3144,24 @@ func (c *Inspector) PreviewAgentsRequest(input *PreviewAgentsInput) (req *reques // API operation PreviewAgents for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // -// * InvalidCrossAccountRoleException -// Amazon Inspector cannot assume the cross-account role that it needs to list -// your EC2 instances during the assessment run. +// - InvalidCrossAccountRoleException +// Amazon Inspector cannot assume the cross-account role that it needs to list +// your EC2 instances during the assessment run. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/PreviewAgents func (c *Inspector) PreviewAgents(input *PreviewAgentsInput) (*PreviewAgentsOutput, error) { @@ -3203,15 +3193,14 @@ func (c *Inspector) PreviewAgentsWithContext(ctx aws.Context, input *PreviewAgen // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a PreviewAgents operation. -// pageNum := 0 -// err := client.PreviewAgentsPages(params, -// func(page *inspector.PreviewAgentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a PreviewAgents operation. +// pageNum := 0 +// err := client.PreviewAgentsPages(params, +// func(page *inspector.PreviewAgentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector) PreviewAgentsPages(input *PreviewAgentsInput, fn func(*PreviewAgentsOutput, bool) bool) error { return c.PreviewAgentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3263,14 +3252,13 @@ const opRegisterCrossAccountAccessRole = "RegisterCrossAccountAccessRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterCrossAccountAccessRoleRequest method. +// req, resp := client.RegisterCrossAccountAccessRoleRequest(params) // -// // Example sending a request using the RegisterCrossAccountAccessRoleRequest method. -// req, resp := client.RegisterCrossAccountAccessRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RegisterCrossAccountAccessRole func (c *Inspector) RegisterCrossAccountAccessRoleRequest(input *RegisterCrossAccountAccessRoleInput) (req *request.Request, output *RegisterCrossAccountAccessRoleOutput) { @@ -3303,22 +3291,23 @@ func (c *Inspector) RegisterCrossAccountAccessRoleRequest(input *RegisterCrossAc // API operation RegisterCrossAccountAccessRole for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * InvalidCrossAccountRoleException -// Amazon Inspector cannot assume the cross-account role that it needs to list -// your EC2 instances during the assessment run. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - InvalidCrossAccountRoleException +// Amazon Inspector cannot assume the cross-account role that it needs to list +// your EC2 instances during the assessment run. +// +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RegisterCrossAccountAccessRole func (c *Inspector) RegisterCrossAccountAccessRole(input *RegisterCrossAccountAccessRoleInput) (*RegisterCrossAccountAccessRoleOutput, error) { @@ -3358,14 +3347,13 @@ const opRemoveAttributesFromFindings = "RemoveAttributesFromFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveAttributesFromFindingsRequest method. +// req, resp := client.RemoveAttributesFromFindingsRequest(params) // -// // Example sending a request using the RemoveAttributesFromFindingsRequest method. -// req, resp := client.RemoveAttributesFromFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RemoveAttributesFromFindings func (c *Inspector) RemoveAttributesFromFindingsRequest(input *RemoveAttributesFromFindingsInput) (req *request.Request, output *RemoveAttributesFromFindingsOutput) { @@ -3398,22 +3386,23 @@ func (c *Inspector) RemoveAttributesFromFindingsRequest(input *RemoveAttributesF // API operation RemoveAttributesFromFindings for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/RemoveAttributesFromFindings func (c *Inspector) RemoveAttributesFromFindings(input *RemoveAttributesFromFindingsInput) (*RemoveAttributesFromFindingsOutput, error) { @@ -3453,14 +3442,13 @@ const opSetTagsForResource = "SetTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetTagsForResourceRequest method. +// req, resp := client.SetTagsForResourceRequest(params) // -// // Example sending a request using the SetTagsForResourceRequest method. -// req, resp := client.SetTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SetTagsForResource func (c *Inspector) SetTagsForResourceRequest(input *SetTagsForResourceInput) (req *request.Request, output *SetTagsForResourceOutput) { @@ -3493,22 +3481,23 @@ func (c *Inspector) SetTagsForResourceRequest(input *SetTagsForResourceInput) (r // API operation SetTagsForResource for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SetTagsForResource func (c *Inspector) SetTagsForResource(input *SetTagsForResourceInput) (*SetTagsForResourceOutput, error) { @@ -3548,14 +3537,13 @@ const opStartAssessmentRun = "StartAssessmentRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartAssessmentRunRequest method. +// req, resp := client.StartAssessmentRunRequest(params) // -// // Example sending a request using the StartAssessmentRunRequest method. -// req, resp := client.StartAssessmentRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StartAssessmentRun func (c *Inspector) StartAssessmentRunRequest(input *StartAssessmentRunInput) (req *request.Request, output *StartAssessmentRunOutput) { @@ -3588,34 +3576,35 @@ func (c *Inspector) StartAssessmentRunRequest(input *StartAssessmentRunInput) (r // API operation StartAssessmentRun for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error code describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current AWS account limits. The error code describes the limit exceeded. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // -// * InvalidCrossAccountRoleException -// Amazon Inspector cannot assume the cross-account role that it needs to list -// your EC2 instances during the assessment run. +// - InvalidCrossAccountRoleException +// Amazon Inspector cannot assume the cross-account role that it needs to list +// your EC2 instances during the assessment run. // -// * AgentsAlreadyRunningAssessmentException -// You started an assessment run, but one of the instances is already participating -// in another assessment run. +// - AgentsAlreadyRunningAssessmentException +// You started an assessment run, but one of the instances is already participating +// in another assessment run. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StartAssessmentRun func (c *Inspector) StartAssessmentRun(input *StartAssessmentRunInput) (*StartAssessmentRunOutput, error) { @@ -3655,14 +3644,13 @@ const opStopAssessmentRun = "StopAssessmentRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopAssessmentRunRequest method. +// req, resp := client.StopAssessmentRunRequest(params) // -// // Example sending a request using the StopAssessmentRunRequest method. -// req, resp := client.StopAssessmentRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StopAssessmentRun func (c *Inspector) StopAssessmentRunRequest(input *StopAssessmentRunInput) (req *request.Request, output *StopAssessmentRunOutput) { @@ -3694,22 +3682,23 @@ func (c *Inspector) StopAssessmentRunRequest(input *StopAssessmentRunInput) (req // API operation StopAssessmentRun for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. +// +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/StopAssessmentRun func (c *Inspector) StopAssessmentRun(input *StopAssessmentRunInput) (*StopAssessmentRunOutput, error) { @@ -3749,14 +3738,13 @@ const opSubscribeToEvent = "SubscribeToEvent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SubscribeToEventRequest method. +// req, resp := client.SubscribeToEventRequest(params) // -// // Example sending a request using the SubscribeToEventRequest method. -// req, resp := client.SubscribeToEventRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SubscribeToEvent func (c *Inspector) SubscribeToEventRequest(input *SubscribeToEventInput) (req *request.Request, output *SubscribeToEventOutput) { @@ -3789,26 +3777,27 @@ func (c *Inspector) SubscribeToEventRequest(input *SubscribeToEventInput) (req * // API operation SubscribeToEvent for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current AWS account limits. The error code describes the limit exceeded. +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current AWS account limits. The error code describes the limit exceeded. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. +// +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/SubscribeToEvent func (c *Inspector) SubscribeToEvent(input *SubscribeToEventInput) (*SubscribeToEventOutput, error) { @@ -3848,14 +3837,13 @@ const opUnsubscribeFromEvent = "UnsubscribeFromEvent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnsubscribeFromEventRequest method. +// req, resp := client.UnsubscribeFromEventRequest(params) // -// // Example sending a request using the UnsubscribeFromEventRequest method. -// req, resp := client.UnsubscribeFromEventRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UnsubscribeFromEvent func (c *Inspector) UnsubscribeFromEventRequest(input *UnsubscribeFromEventInput) (req *request.Request, output *UnsubscribeFromEventOutput) { @@ -3888,22 +3876,23 @@ func (c *Inspector) UnsubscribeFromEventRequest(input *UnsubscribeFromEventInput // API operation UnsubscribeFromEvent for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UnsubscribeFromEvent func (c *Inspector) UnsubscribeFromEvent(input *UnsubscribeFromEventInput) (*UnsubscribeFromEventOutput, error) { @@ -3943,14 +3932,13 @@ const opUpdateAssessmentTarget = "UpdateAssessmentTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAssessmentTargetRequest method. +// req, resp := client.UpdateAssessmentTargetRequest(params) // -// // Example sending a request using the UpdateAssessmentTargetRequest method. -// req, resp := client.UpdateAssessmentTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UpdateAssessmentTarget func (c *Inspector) UpdateAssessmentTargetRequest(input *UpdateAssessmentTargetInput) (req *request.Request, output *UpdateAssessmentTargetOutput) { @@ -3986,22 +3974,23 @@ func (c *Inspector) UpdateAssessmentTargetRequest(input *UpdateAssessmentTargetI // API operation UpdateAssessmentTarget for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because an invalid or out-of-range value was supplied -// for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because an invalid or out-of-range value was supplied +// for an input parameter. // -// * AccessDeniedException -// You do not have required permissions to access the requested resource. +// - AccessDeniedException +// You do not have required permissions to access the requested resource. // -// * NoSuchEntityException -// The request was rejected because it referenced an entity that does not exist. -// The error code describes the entity. +// - NoSuchEntityException +// The request was rejected because it referenced an entity that does not exist. +// The error code describes the entity. // -// * ServiceTemporarilyUnavailableException -// The serice is temporary unavailable. +// - ServiceTemporarilyUnavailableException +// The serice is temporary unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector-2016-02-16/UpdateAssessmentTarget func (c *Inspector) UpdateAssessmentTarget(input *UpdateAssessmentTargetInput) (*UpdateAssessmentTargetOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/doc.go index 7b0b15bd1720..8137add4aa93 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/doc.go @@ -12,7 +12,7 @@ // See inspector package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/inspector/ // -// Using the Client +// # Using the Client // // To contact Amazon Inspector with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/inspectoriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/inspectoriface/interface.go index 092bb4a3506e..56ca02ad76fd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/inspectoriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/inspectoriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Inspector. -// func myFunc(svc inspectoriface.InspectorAPI) bool { -// // Make svc.AddAttributesToFindings request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Inspector. +// func myFunc(svc inspectoriface.InspectorAPI) bool { +// // Make svc.AddAttributesToFindings request +// } // -// func main() { -// sess := session.New() -// svc := inspector.New(sess) +// func main() { +// sess := session.New() +// svc := inspector.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockInspectorClient struct { -// inspectoriface.InspectorAPI -// } -// func (m *mockInspectorClient) AddAttributesToFindings(input *inspector.AddAttributesToFindingsInput) (*inspector.AddAttributesToFindingsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockInspectorClient struct { +// inspectoriface.InspectorAPI +// } +// func (m *mockInspectorClient) AddAttributesToFindings(input *inspector.AddAttributesToFindingsInput) (*inspector.AddAttributesToFindingsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockInspectorClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockInspectorClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/service.go index 55e7ee0a7e76..049e7ff6e897 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Inspector client from just a session. -// svc := inspector.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Inspector client with additional configuration -// svc := inspector.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Inspector client from just a session. +// svc := inspector.New(mySession) +// +// // Create a Inspector client with additional configuration +// svc := inspector.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Inspector { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/api.go index 56a2a91fde6e..a855dbfcacd5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/api.go @@ -29,14 +29,13 @@ const opAssociateMember = "AssociateMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateMemberRequest method. +// req, resp := client.AssociateMemberRequest(params) // -// // Example sending a request using the AssociateMemberRequest method. -// req, resp := client.AssociateMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AssociateMember func (c *Inspector2) AssociateMemberRequest(input *AssociateMemberInput) (req *request.Request, output *AssociateMemberOutput) { @@ -68,19 +67,20 @@ func (c *Inspector2) AssociateMemberRequest(input *AssociateMemberInput) (req *r // API operation AssociateMember for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/AssociateMember func (c *Inspector2) AssociateMember(input *AssociateMemberInput) (*AssociateMemberOutput, error) { @@ -120,14 +120,13 @@ const opBatchGetAccountStatus = "BatchGetAccountStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetAccountStatusRequest method. +// req, resp := client.BatchGetAccountStatusRequest(params) // -// // Example sending a request using the BatchGetAccountStatusRequest method. -// req, resp := client.BatchGetAccountStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetAccountStatus func (c *Inspector2) BatchGetAccountStatusRequest(input *BatchGetAccountStatusInput) (req *request.Request, output *BatchGetAccountStatusOutput) { @@ -159,23 +158,24 @@ func (c *Inspector2) BatchGetAccountStatusRequest(input *BatchGetAccountStatusIn // API operation BatchGetAccountStatus for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ResourceNotFoundException -// The operation tried to access an invalid resource. Make sure the resource -// is specified correctly. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetAccountStatus func (c *Inspector2) BatchGetAccountStatus(input *BatchGetAccountStatusInput) (*BatchGetAccountStatusOutput, error) { @@ -215,14 +215,13 @@ const opBatchGetFreeTrialInfo = "BatchGetFreeTrialInfo" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetFreeTrialInfoRequest method. +// req, resp := client.BatchGetFreeTrialInfoRequest(params) // -// // Example sending a request using the BatchGetFreeTrialInfoRequest method. -// req, resp := client.BatchGetFreeTrialInfoRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFreeTrialInfo func (c *Inspector2) BatchGetFreeTrialInfoRequest(input *BatchGetFreeTrialInfoInput) (req *request.Request, output *BatchGetFreeTrialInfoOutput) { @@ -253,19 +252,20 @@ func (c *Inspector2) BatchGetFreeTrialInfoRequest(input *BatchGetFreeTrialInfoIn // API operation BatchGetFreeTrialInfo for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/BatchGetFreeTrialInfo func (c *Inspector2) BatchGetFreeTrialInfo(input *BatchGetFreeTrialInfoInput) (*BatchGetFreeTrialInfoOutput, error) { @@ -305,14 +305,13 @@ const opCancelFindingsReport = "CancelFindingsReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelFindingsReportRequest method. +// req, resp := client.CancelFindingsReportRequest(params) // -// // Example sending a request using the CancelFindingsReportRequest method. -// req, resp := client.CancelFindingsReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelFindingsReport func (c *Inspector2) CancelFindingsReportRequest(input *CancelFindingsReportInput) (req *request.Request, output *CancelFindingsReportOutput) { @@ -343,23 +342,24 @@ func (c *Inspector2) CancelFindingsReportRequest(input *CancelFindingsReportInpu // API operation CancelFindingsReport for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ResourceNotFoundException -// The operation tried to access an invalid resource. Make sure the resource -// is specified correctly. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CancelFindingsReport func (c *Inspector2) CancelFindingsReport(input *CancelFindingsReportInput) (*CancelFindingsReportOutput, error) { @@ -399,14 +399,13 @@ const opCreateFilter = "CreateFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFilterRequest method. +// req, resp := client.CreateFilterRequest(params) // -// // Example sending a request using the CreateFilterRequest method. -// req, resp := client.CreateFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFilter func (c *Inspector2) CreateFilterRequest(input *CreateFilterInput) (req *request.Request, output *CreateFilterOutput) { @@ -437,27 +436,28 @@ func (c *Inspector2) CreateFilterRequest(input *CreateFilterInput) (req *request // API operation CreateFilter for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// You have exceeded your service quota. To perform the requested action, remove -// some of the relevant resources, or use Service Quotas to request a service -// quota increase. // -// * BadRequestException -// One or more tags submitted as part of the request is not valid. +// - ServiceQuotaExceededException +// You have exceeded your service quota. To perform the requested action, remove +// some of the relevant resources, or use Service Quotas to request a service +// quota increase. // -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. +// - BadRequestException +// One or more tags submitted as part of the request is not valid. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFilter func (c *Inspector2) CreateFilter(input *CreateFilterInput) (*CreateFilterOutput, error) { @@ -497,14 +497,13 @@ const opCreateFindingsReport = "CreateFindingsReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFindingsReportRequest method. +// req, resp := client.CreateFindingsReportRequest(params) // -// // Example sending a request using the CreateFindingsReportRequest method. -// req, resp := client.CreateFindingsReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFindingsReport func (c *Inspector2) CreateFindingsReportRequest(input *CreateFindingsReportInput) (req *request.Request, output *CreateFindingsReportOutput) { @@ -535,23 +534,24 @@ func (c *Inspector2) CreateFindingsReportRequest(input *CreateFindingsReportInpu // API operation CreateFindingsReport for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The operation tried to access an invalid resource. Make sure the resource -// is specified correctly. +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/CreateFindingsReport func (c *Inspector2) CreateFindingsReport(input *CreateFindingsReportInput) (*CreateFindingsReportOutput, error) { @@ -591,14 +591,13 @@ const opDeleteFilter = "DeleteFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFilterRequest method. +// req, resp := client.DeleteFilterRequest(params) // -// // Example sending a request using the DeleteFilterRequest method. -// req, resp := client.DeleteFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DeleteFilter func (c *Inspector2) DeleteFilterRequest(input *DeleteFilterInput) (req *request.Request, output *DeleteFilterOutput) { @@ -629,23 +628,24 @@ func (c *Inspector2) DeleteFilterRequest(input *DeleteFilterInput) (req *request // API operation DeleteFilter for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The operation tried to access an invalid resource. Make sure the resource -// is specified correctly. +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DeleteFilter func (c *Inspector2) DeleteFilter(input *DeleteFilterInput) (*DeleteFilterOutput, error) { @@ -685,14 +685,13 @@ const opDescribeOrganizationConfiguration = "DescribeOrganizationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrganizationConfigurationRequest method. +// req, resp := client.DescribeOrganizationConfigurationRequest(params) // -// // Example sending a request using the DescribeOrganizationConfigurationRequest method. -// req, resp := client.DescribeOrganizationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DescribeOrganizationConfiguration func (c *Inspector2) DescribeOrganizationConfigurationRequest(input *DescribeOrganizationConfigurationInput) (req *request.Request, output *DescribeOrganizationConfigurationOutput) { @@ -724,19 +723,20 @@ func (c *Inspector2) DescribeOrganizationConfigurationRequest(input *DescribeOrg // API operation DescribeOrganizationConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DescribeOrganizationConfiguration func (c *Inspector2) DescribeOrganizationConfiguration(input *DescribeOrganizationConfigurationInput) (*DescribeOrganizationConfigurationOutput, error) { @@ -776,14 +776,13 @@ const opDisable = "Disable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableRequest method. +// req, resp := client.DisableRequest(params) // -// // Example sending a request using the DisableRequest method. -// req, resp := client.DisableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Disable func (c *Inspector2) DisableRequest(input *DisableInput) (req *request.Request, output *DisableOutput) { @@ -815,23 +814,24 @@ func (c *Inspector2) DisableRequest(input *DisableInput) (req *request.Request, // API operation Disable for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The operation tried to access an invalid resource. Make sure the resource -// is specified correctly. +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Disable func (c *Inspector2) Disable(input *DisableInput) (*DisableOutput, error) { @@ -871,14 +871,13 @@ const opDisableDelegatedAdminAccount = "DisableDelegatedAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableDelegatedAdminAccountRequest method. +// req, resp := client.DisableDelegatedAdminAccountRequest(params) // -// // Example sending a request using the DisableDelegatedAdminAccountRequest method. -// req, resp := client.DisableDelegatedAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisableDelegatedAdminAccount func (c *Inspector2) DisableDelegatedAdminAccountRequest(input *DisableDelegatedAdminAccountInput) (req *request.Request, output *DisableDelegatedAdminAccountOutput) { @@ -909,26 +908,27 @@ func (c *Inspector2) DisableDelegatedAdminAccountRequest(input *DisableDelegated // API operation DisableDelegatedAdminAccount for usage and error information. // // Returned Error Types: -// * ConflictException -// A conflict occurred. // -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. +// - ConflictException +// A conflict occurred. +// +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The operation tried to access an invalid resource. Make sure the resource -// is specified correctly. +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisableDelegatedAdminAccount func (c *Inspector2) DisableDelegatedAdminAccount(input *DisableDelegatedAdminAccountInput) (*DisableDelegatedAdminAccountOutput, error) { @@ -968,14 +968,13 @@ const opDisassociateMember = "DisassociateMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateMemberRequest method. +// req, resp := client.DisassociateMemberRequest(params) // -// // Example sending a request using the DisassociateMemberRequest method. -// req, resp := client.DisassociateMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisassociateMember func (c *Inspector2) DisassociateMemberRequest(input *DisassociateMemberInput) (req *request.Request, output *DisassociateMemberOutput) { @@ -1006,19 +1005,20 @@ func (c *Inspector2) DisassociateMemberRequest(input *DisassociateMemberInput) ( // API operation DisassociateMember for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/DisassociateMember func (c *Inspector2) DisassociateMember(input *DisassociateMemberInput) (*DisassociateMemberOutput, error) { @@ -1058,14 +1058,13 @@ const opEnable = "Enable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableRequest method. +// req, resp := client.EnableRequest(params) // -// // Example sending a request using the EnableRequest method. -// req, resp := client.EnableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Enable func (c *Inspector2) EnableRequest(input *EnableInput) (req *request.Request, output *EnableOutput) { @@ -1096,23 +1095,24 @@ func (c *Inspector2) EnableRequest(input *EnableInput) (req *request.Request, ou // API operation Enable for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ResourceNotFoundException -// The operation tried to access an invalid resource. Make sure the resource -// is specified correctly. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/Enable func (c *Inspector2) Enable(input *EnableInput) (*EnableOutput, error) { @@ -1152,14 +1152,13 @@ const opEnableDelegatedAdminAccount = "EnableDelegatedAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableDelegatedAdminAccountRequest method. +// req, resp := client.EnableDelegatedAdminAccountRequest(params) // -// // Example sending a request using the EnableDelegatedAdminAccountRequest method. -// req, resp := client.EnableDelegatedAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EnableDelegatedAdminAccount func (c *Inspector2) EnableDelegatedAdminAccountRequest(input *EnableDelegatedAdminAccountInput) (req *request.Request, output *EnableDelegatedAdminAccountOutput) { @@ -1191,26 +1190,27 @@ func (c *Inspector2) EnableDelegatedAdminAccountRequest(input *EnableDelegatedAd // API operation EnableDelegatedAdminAccount for usage and error information. // // Returned Error Types: -// * ConflictException -// A conflict occurred. // -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. +// - ConflictException +// A conflict occurred. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ResourceNotFoundException -// The operation tried to access an invalid resource. Make sure the resource -// is specified correctly. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/EnableDelegatedAdminAccount func (c *Inspector2) EnableDelegatedAdminAccount(input *EnableDelegatedAdminAccountInput) (*EnableDelegatedAdminAccountOutput, error) { @@ -1250,14 +1250,13 @@ const opGetDelegatedAdminAccount = "GetDelegatedAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDelegatedAdminAccountRequest method. +// req, resp := client.GetDelegatedAdminAccountRequest(params) // -// // Example sending a request using the GetDelegatedAdminAccountRequest method. -// req, resp := client.GetDelegatedAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetDelegatedAdminAccount func (c *Inspector2) GetDelegatedAdminAccountRequest(input *GetDelegatedAdminAccountInput) (req *request.Request, output *GetDelegatedAdminAccountOutput) { @@ -1289,23 +1288,24 @@ func (c *Inspector2) GetDelegatedAdminAccountRequest(input *GetDelegatedAdminAcc // API operation GetDelegatedAdminAccount for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The operation tried to access an invalid resource. Make sure the resource -// is specified correctly. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetDelegatedAdminAccount func (c *Inspector2) GetDelegatedAdminAccount(input *GetDelegatedAdminAccountInput) (*GetDelegatedAdminAccountOutput, error) { @@ -1345,14 +1345,13 @@ const opGetFindingsReportStatus = "GetFindingsReportStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFindingsReportStatusRequest method. +// req, resp := client.GetFindingsReportStatusRequest(params) // -// // Example sending a request using the GetFindingsReportStatusRequest method. -// req, resp := client.GetFindingsReportStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetFindingsReportStatus func (c *Inspector2) GetFindingsReportStatusRequest(input *GetFindingsReportStatusInput) (req *request.Request, output *GetFindingsReportStatusOutput) { @@ -1383,23 +1382,24 @@ func (c *Inspector2) GetFindingsReportStatusRequest(input *GetFindingsReportStat // API operation GetFindingsReportStatus for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ResourceNotFoundException -// The operation tried to access an invalid resource. Make sure the resource -// is specified correctly. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetFindingsReportStatus func (c *Inspector2) GetFindingsReportStatus(input *GetFindingsReportStatusInput) (*GetFindingsReportStatusOutput, error) { @@ -1439,14 +1439,13 @@ const opGetMember = "GetMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMemberRequest method. +// req, resp := client.GetMemberRequest(params) // -// // Example sending a request using the GetMemberRequest method. -// req, resp := client.GetMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetMember func (c *Inspector2) GetMemberRequest(input *GetMemberInput) (req *request.Request, output *GetMemberOutput) { @@ -1477,23 +1476,24 @@ func (c *Inspector2) GetMemberRequest(input *GetMemberInput) (req *request.Reque // API operation GetMember for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ResourceNotFoundException -// The operation tried to access an invalid resource. Make sure the resource -// is specified correctly. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/GetMember func (c *Inspector2) GetMember(input *GetMemberInput) (*GetMemberOutput, error) { @@ -1533,14 +1533,13 @@ const opListAccountPermissions = "ListAccountPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccountPermissionsRequest method. +// req, resp := client.ListAccountPermissionsRequest(params) // -// // Example sending a request using the ListAccountPermissionsRequest method. -// req, resp := client.ListAccountPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListAccountPermissions func (c *Inspector2) ListAccountPermissionsRequest(input *ListAccountPermissionsInput) (req *request.Request, output *ListAccountPermissionsOutput) { @@ -1577,19 +1576,20 @@ func (c *Inspector2) ListAccountPermissionsRequest(input *ListAccountPermissions // API operation ListAccountPermissions for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListAccountPermissions func (c *Inspector2) ListAccountPermissions(input *ListAccountPermissionsInput) (*ListAccountPermissionsOutput, error) { @@ -1621,15 +1621,14 @@ func (c *Inspector2) ListAccountPermissionsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccountPermissions operation. -// pageNum := 0 -// err := client.ListAccountPermissionsPages(params, -// func(page *inspector2.ListAccountPermissionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccountPermissions operation. +// pageNum := 0 +// err := client.ListAccountPermissionsPages(params, +// func(page *inspector2.ListAccountPermissionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector2) ListAccountPermissionsPages(input *ListAccountPermissionsInput, fn func(*ListAccountPermissionsOutput, bool) bool) error { return c.ListAccountPermissionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1681,14 +1680,13 @@ const opListCoverage = "ListCoverage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCoverageRequest method. +// req, resp := client.ListCoverageRequest(params) // -// // Example sending a request using the ListCoverageRequest method. -// req, resp := client.ListCoverageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverage func (c *Inspector2) ListCoverageRequest(input *ListCoverageInput) (req *request.Request, output *ListCoverageOutput) { @@ -1725,16 +1723,17 @@ func (c *Inspector2) ListCoverageRequest(input *ListCoverageInput) (req *request // API operation ListCoverage for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. +// +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverage func (c *Inspector2) ListCoverage(input *ListCoverageInput) (*ListCoverageOutput, error) { @@ -1766,15 +1765,14 @@ func (c *Inspector2) ListCoverageWithContext(ctx aws.Context, input *ListCoverag // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCoverage operation. -// pageNum := 0 -// err := client.ListCoveragePages(params, -// func(page *inspector2.ListCoverageOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCoverage operation. +// pageNum := 0 +// err := client.ListCoveragePages(params, +// func(page *inspector2.ListCoverageOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector2) ListCoveragePages(input *ListCoverageInput, fn func(*ListCoverageOutput, bool) bool) error { return c.ListCoveragePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1826,14 +1824,13 @@ const opListCoverageStatistics = "ListCoverageStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCoverageStatisticsRequest method. +// req, resp := client.ListCoverageStatisticsRequest(params) // -// // Example sending a request using the ListCoverageStatisticsRequest method. -// req, resp := client.ListCoverageStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverageStatistics func (c *Inspector2) ListCoverageStatisticsRequest(input *ListCoverageStatisticsInput) (req *request.Request, output *ListCoverageStatisticsOutput) { @@ -1870,16 +1867,17 @@ func (c *Inspector2) ListCoverageStatisticsRequest(input *ListCoverageStatistics // API operation ListCoverageStatistics for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. +// +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListCoverageStatistics func (c *Inspector2) ListCoverageStatistics(input *ListCoverageStatisticsInput) (*ListCoverageStatisticsOutput, error) { @@ -1911,15 +1909,14 @@ func (c *Inspector2) ListCoverageStatisticsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCoverageStatistics operation. -// pageNum := 0 -// err := client.ListCoverageStatisticsPages(params, -// func(page *inspector2.ListCoverageStatisticsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCoverageStatistics operation. +// pageNum := 0 +// err := client.ListCoverageStatisticsPages(params, +// func(page *inspector2.ListCoverageStatisticsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector2) ListCoverageStatisticsPages(input *ListCoverageStatisticsInput, fn func(*ListCoverageStatisticsOutput, bool) bool) error { return c.ListCoverageStatisticsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1971,14 +1968,13 @@ const opListDelegatedAdminAccounts = "ListDelegatedAdminAccounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDelegatedAdminAccountsRequest method. +// req, resp := client.ListDelegatedAdminAccountsRequest(params) // -// // Example sending a request using the ListDelegatedAdminAccountsRequest method. -// req, resp := client.ListDelegatedAdminAccountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListDelegatedAdminAccounts func (c *Inspector2) ListDelegatedAdminAccountsRequest(input *ListDelegatedAdminAccountsInput) (req *request.Request, output *ListDelegatedAdminAccountsOutput) { @@ -2016,19 +2012,20 @@ func (c *Inspector2) ListDelegatedAdminAccountsRequest(input *ListDelegatedAdmin // API operation ListDelegatedAdminAccounts for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListDelegatedAdminAccounts func (c *Inspector2) ListDelegatedAdminAccounts(input *ListDelegatedAdminAccountsInput) (*ListDelegatedAdminAccountsOutput, error) { @@ -2060,15 +2057,14 @@ func (c *Inspector2) ListDelegatedAdminAccountsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDelegatedAdminAccounts operation. -// pageNum := 0 -// err := client.ListDelegatedAdminAccountsPages(params, -// func(page *inspector2.ListDelegatedAdminAccountsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDelegatedAdminAccounts operation. +// pageNum := 0 +// err := client.ListDelegatedAdminAccountsPages(params, +// func(page *inspector2.ListDelegatedAdminAccountsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector2) ListDelegatedAdminAccountsPages(input *ListDelegatedAdminAccountsInput, fn func(*ListDelegatedAdminAccountsOutput, bool) bool) error { return c.ListDelegatedAdminAccountsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2120,14 +2116,13 @@ const opListFilters = "ListFilters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFiltersRequest method. +// req, resp := client.ListFiltersRequest(params) // -// // Example sending a request using the ListFiltersRequest method. -// req, resp := client.ListFiltersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFilters func (c *Inspector2) ListFiltersRequest(input *ListFiltersInput) (req *request.Request, output *ListFiltersOutput) { @@ -2164,19 +2159,20 @@ func (c *Inspector2) ListFiltersRequest(input *ListFiltersInput) (req *request.R // API operation ListFilters for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFilters func (c *Inspector2) ListFilters(input *ListFiltersInput) (*ListFiltersOutput, error) { @@ -2208,15 +2204,14 @@ func (c *Inspector2) ListFiltersWithContext(ctx aws.Context, input *ListFiltersI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFilters operation. -// pageNum := 0 -// err := client.ListFiltersPages(params, -// func(page *inspector2.ListFiltersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFilters operation. +// pageNum := 0 +// err := client.ListFiltersPages(params, +// func(page *inspector2.ListFiltersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector2) ListFiltersPages(input *ListFiltersInput, fn func(*ListFiltersOutput, bool) bool) error { return c.ListFiltersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2268,14 +2263,13 @@ const opListFindingAggregations = "ListFindingAggregations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFindingAggregationsRequest method. +// req, resp := client.ListFindingAggregationsRequest(params) // -// // Example sending a request using the ListFindingAggregationsRequest method. -// req, resp := client.ListFindingAggregationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindingAggregations func (c *Inspector2) ListFindingAggregationsRequest(input *ListFindingAggregationsInput) (req *request.Request, output *ListFindingAggregationsOutput) { @@ -2312,16 +2306,17 @@ func (c *Inspector2) ListFindingAggregationsRequest(input *ListFindingAggregatio // API operation ListFindingAggregations for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindingAggregations func (c *Inspector2) ListFindingAggregations(input *ListFindingAggregationsInput) (*ListFindingAggregationsOutput, error) { @@ -2353,15 +2348,14 @@ func (c *Inspector2) ListFindingAggregationsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFindingAggregations operation. -// pageNum := 0 -// err := client.ListFindingAggregationsPages(params, -// func(page *inspector2.ListFindingAggregationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFindingAggregations operation. +// pageNum := 0 +// err := client.ListFindingAggregationsPages(params, +// func(page *inspector2.ListFindingAggregationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector2) ListFindingAggregationsPages(input *ListFindingAggregationsInput, fn func(*ListFindingAggregationsOutput, bool) bool) error { return c.ListFindingAggregationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2413,14 +2407,13 @@ const opListFindings = "ListFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFindingsRequest method. +// req, resp := client.ListFindingsRequest(params) // -// // Example sending a request using the ListFindingsRequest method. -// req, resp := client.ListFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindings func (c *Inspector2) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput) { @@ -2457,16 +2450,17 @@ func (c *Inspector2) ListFindingsRequest(input *ListFindingsInput) (req *request // API operation ListFindings for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. +// +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListFindings func (c *Inspector2) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error) { @@ -2498,15 +2492,14 @@ func (c *Inspector2) ListFindingsWithContext(ctx aws.Context, input *ListFinding // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFindings operation. -// pageNum := 0 -// err := client.ListFindingsPages(params, -// func(page *inspector2.ListFindingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFindings operation. +// pageNum := 0 +// err := client.ListFindingsPages(params, +// func(page *inspector2.ListFindingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector2) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error { return c.ListFindingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2558,14 +2551,13 @@ const opListMembers = "ListMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMembersRequest method. +// req, resp := client.ListMembersRequest(params) // -// // Example sending a request using the ListMembersRequest method. -// req, resp := client.ListMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListMembers func (c *Inspector2) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput) { @@ -2603,19 +2595,20 @@ func (c *Inspector2) ListMembersRequest(input *ListMembersInput) (req *request.R // API operation ListMembers for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListMembers func (c *Inspector2) ListMembers(input *ListMembersInput) (*ListMembersOutput, error) { @@ -2647,15 +2640,14 @@ func (c *Inspector2) ListMembersWithContext(ctx aws.Context, input *ListMembersI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMembers operation. -// pageNum := 0 -// err := client.ListMembersPages(params, -// func(page *inspector2.ListMembersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMembers operation. +// pageNum := 0 +// err := client.ListMembersPages(params, +// func(page *inspector2.ListMembersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector2) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error { return c.ListMembersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2707,14 +2699,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListTagsForResource func (c *Inspector2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2745,20 +2736,21 @@ func (c *Inspector2) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * ResourceNotFoundException -// The operation tried to access an invalid resource. Make sure the resource -// is specified correctly. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListTagsForResource func (c *Inspector2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2798,14 +2790,13 @@ const opListUsageTotals = "ListUsageTotals" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUsageTotalsRequest method. +// req, resp := client.ListUsageTotalsRequest(params) // -// // Example sending a request using the ListUsageTotalsRequest method. -// req, resp := client.ListUsageTotalsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListUsageTotals func (c *Inspector2) ListUsageTotalsRequest(input *ListUsageTotalsInput) (req *request.Request, output *ListUsageTotalsOutput) { @@ -2842,19 +2833,20 @@ func (c *Inspector2) ListUsageTotalsRequest(input *ListUsageTotalsInput) (req *r // API operation ListUsageTotals for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/ListUsageTotals func (c *Inspector2) ListUsageTotals(input *ListUsageTotalsInput) (*ListUsageTotalsOutput, error) { @@ -2886,15 +2878,14 @@ func (c *Inspector2) ListUsageTotalsWithContext(ctx aws.Context, input *ListUsag // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUsageTotals operation. -// pageNum := 0 -// err := client.ListUsageTotalsPages(params, -// func(page *inspector2.ListUsageTotalsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUsageTotals operation. +// pageNum := 0 +// err := client.ListUsageTotalsPages(params, +// func(page *inspector2.ListUsageTotalsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Inspector2) ListUsageTotalsPages(input *ListUsageTotalsInput, fn func(*ListUsageTotalsOutput, bool) bool) error { return c.ListUsageTotalsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2946,14 +2937,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/TagResource func (c *Inspector2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2985,23 +2975,24 @@ func (c *Inspector2) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// One or more tags submitted as part of the request is not valid. // -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. +// - BadRequestException +// One or more tags submitted as part of the request is not valid. +// +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ResourceNotFoundException -// The operation tried to access an invalid resource. Make sure the resource -// is specified correctly. +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/TagResource func (c *Inspector2) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3041,14 +3032,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UntagResource func (c *Inspector2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3080,20 +3070,21 @@ func (c *Inspector2) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * ResourceNotFoundException -// The operation tried to access an invalid resource. Make sure the resource -// is specified correctly. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. +// +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UntagResource func (c *Inspector2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3133,14 +3124,13 @@ const opUpdateFilter = "UpdateFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFilterRequest method. +// req, resp := client.UpdateFilterRequest(params) // -// // Example sending a request using the UpdateFilterRequest method. -// req, resp := client.UpdateFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateFilter func (c *Inspector2) UpdateFilterRequest(input *UpdateFilterInput) (req *request.Request, output *UpdateFilterOutput) { @@ -3172,23 +3162,24 @@ func (c *Inspector2) UpdateFilterRequest(input *UpdateFilterInput) (req *request // API operation UpdateFilter for usage and error information. // // Returned Error Types: -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The operation tried to access an invalid resource. Make sure the resource -// is specified correctly. +// - ResourceNotFoundException +// The operation tried to access an invalid resource. Make sure the resource +// is specified correctly. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateFilter func (c *Inspector2) UpdateFilter(input *UpdateFilterInput) (*UpdateFilterOutput, error) { @@ -3228,14 +3219,13 @@ const opUpdateOrganizationConfiguration = "UpdateOrganizationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateOrganizationConfigurationRequest method. +// req, resp := client.UpdateOrganizationConfigurationRequest(params) // -// // Example sending a request using the UpdateOrganizationConfigurationRequest method. -// req, resp := client.UpdateOrganizationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrganizationConfiguration func (c *Inspector2) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput) { @@ -3266,19 +3256,20 @@ func (c *Inspector2) UpdateOrganizationConfigurationRequest(input *UpdateOrganiz // API operation UpdateOrganizationConfiguration for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ValidationException -// The request has failed validation due to missing required fields or having -// invalid inputs. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ValidationException +// The request has failed validation due to missing required fields or having +// invalid inputs. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * InternalServerException -// The request has failed due to an internal failure of the Amazon Inspector -// service. +// - InternalServerException +// The request has failed due to an internal failure of the Amazon Inspector +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/inspector2-2020-06-08/UpdateOrganizationConfiguration func (c *Inspector2) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/doc.go index 8e11d4dec6d5..d7b4d4d541b9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/doc.go @@ -12,7 +12,7 @@ // See inspector2 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/inspector2/ // -// Using the Client +// # Using the Client // // To contact Inspector2 with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/inspector2iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/inspector2iface/interface.go index 7b6cd4a119af..459524796a66 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/inspector2iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/inspector2iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Inspector2. -// func myFunc(svc inspector2iface.Inspector2API) bool { -// // Make svc.AssociateMember request -// } +// // myFunc uses an SDK service client to make a request to +// // Inspector2. +// func myFunc(svc inspector2iface.Inspector2API) bool { +// // Make svc.AssociateMember request +// } // -// func main() { -// sess := session.New() -// svc := inspector2.New(sess) +// func main() { +// sess := session.New() +// svc := inspector2.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockInspector2Client struct { -// inspector2iface.Inspector2API -// } -// func (m *mockInspector2Client) AssociateMember(input *inspector2.AssociateMemberInput) (*inspector2.AssociateMemberOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockInspector2Client struct { +// inspector2iface.Inspector2API +// } +// func (m *mockInspector2Client) AssociateMember(input *inspector2.AssociateMemberInput) (*inspector2.AssociateMemberOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockInspector2Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockInspector2Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/service.go index 4bd2ac43bc93..e649b5a11860 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/inspector2/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Inspector2 client from just a session. -// svc := inspector2.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Inspector2 client with additional configuration -// svc := inspector2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Inspector2 client from just a session. +// svc := inspector2.New(mySession) +// +// // Create a Inspector2 client with additional configuration +// svc := inspector2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Inspector2 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/api.go index aea9e68575d4..70d1abc7f1f5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/api.go @@ -29,14 +29,13 @@ const opAcceptCertificateTransfer = "AcceptCertificateTransfer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptCertificateTransferRequest method. +// req, resp := client.AcceptCertificateTransferRequest(params) // -// // Example sending a request using the AcceptCertificateTransferRequest method. -// req, resp := client.AcceptCertificateTransferRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) AcceptCertificateTransferRequest(input *AcceptCertificateTransferInput) (req *request.Request, output *AcceptCertificateTransferOutput) { op := &request.Operation{ Name: opAcceptCertificateTransfer, @@ -73,28 +72,28 @@ func (c *IoT) AcceptCertificateTransferRequest(input *AcceptCertificateTransferI // API operation AcceptCertificateTransfer for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * TransferAlreadyCompletedException -// You can't revert the certificate transfer because the transfer is already -// complete. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - TransferAlreadyCompletedException +// You can't revert the certificate transfer because the transfer is already +// complete. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) AcceptCertificateTransfer(input *AcceptCertificateTransferInput) (*AcceptCertificateTransferOutput, error) { req, out := c.AcceptCertificateTransferRequest(input) return out, req.Send() @@ -132,14 +131,13 @@ const opAddThingToBillingGroup = "AddThingToBillingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddThingToBillingGroupRequest method. +// req, resp := client.AddThingToBillingGroupRequest(params) // -// // Example sending a request using the AddThingToBillingGroupRequest method. -// req, resp := client.AddThingToBillingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) AddThingToBillingGroupRequest(input *AddThingToBillingGroupInput) (req *request.Request, output *AddThingToBillingGroupOutput) { op := &request.Operation{ Name: opAddThingToBillingGroup, @@ -172,18 +170,18 @@ func (c *IoT) AddThingToBillingGroupRequest(input *AddThingToBillingGroupInput) // API operation AddThingToBillingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) AddThingToBillingGroup(input *AddThingToBillingGroupInput) (*AddThingToBillingGroupOutput, error) { req, out := c.AddThingToBillingGroupRequest(input) return out, req.Send() @@ -221,14 +219,13 @@ const opAddThingToThingGroup = "AddThingToThingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddThingToThingGroupRequest method. +// req, resp := client.AddThingToThingGroupRequest(params) // -// // Example sending a request using the AddThingToThingGroupRequest method. -// req, resp := client.AddThingToThingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) AddThingToThingGroupRequest(input *AddThingToThingGroupInput) (req *request.Request, output *AddThingToThingGroupOutput) { op := &request.Operation{ Name: opAddThingToThingGroup, @@ -261,18 +258,18 @@ func (c *IoT) AddThingToThingGroupRequest(input *AddThingToThingGroupInput) (req // API operation AddThingToThingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) AddThingToThingGroup(input *AddThingToThingGroupInput) (*AddThingToThingGroupOutput, error) { req, out := c.AddThingToThingGroupRequest(input) return out, req.Send() @@ -310,14 +307,13 @@ const opAssociateTargetsWithJob = "AssociateTargetsWithJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateTargetsWithJobRequest method. +// req, resp := client.AssociateTargetsWithJobRequest(params) // -// // Example sending a request using the AssociateTargetsWithJobRequest method. -// req, resp := client.AssociateTargetsWithJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) AssociateTargetsWithJobRequest(input *AssociateTargetsWithJobInput) (req *request.Request, output *AssociateTargetsWithJobOutput) { op := &request.Operation{ Name: opAssociateTargetsWithJob, @@ -339,12 +335,12 @@ func (c *IoT) AssociateTargetsWithJobRequest(input *AssociateTargetsWithJobInput // Associates a group with a continuous job. The following criteria must be // met: // -// * The job must have been created with the targetSelection field set to -// "CONTINUOUS". +// - The job must have been created with the targetSelection field set to +// "CONTINUOUS". // -// * The job status must currently be "IN_PROGRESS". +// - The job status must currently be "IN_PROGRESS". // -// * The total number of targets associated with a job must not exceed 100. +// - The total number of targets associated with a job must not exceed 100. // // Requires permission to access the AssociateTargetsWithJob (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) // action. @@ -357,21 +353,21 @@ func (c *IoT) AssociateTargetsWithJobRequest(input *AssociateTargetsWithJobInput // API operation AssociateTargetsWithJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * LimitExceededException -// A limit has been exceeded. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - LimitExceededException +// A limit has been exceeded. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ThrottlingException +// The rate exceeds the limit. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) AssociateTargetsWithJob(input *AssociateTargetsWithJobInput) (*AssociateTargetsWithJobOutput, error) { req, out := c.AssociateTargetsWithJobRequest(input) return out, req.Send() @@ -409,14 +405,13 @@ const opAttachPolicy = "AttachPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachPolicyRequest method. +// req, resp := client.AttachPolicyRequest(params) // -// // Example sending a request using the AttachPolicyRequest method. -// req, resp := client.AttachPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) AttachPolicyRequest(input *AttachPolicyInput) (req *request.Request, output *AttachPolicyOutput) { op := &request.Operation{ Name: opAttachPolicy, @@ -450,27 +445,27 @@ func (c *IoT) AttachPolicyRequest(input *AttachPolicyInput) (req *request.Reques // API operation AttachPolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * LimitExceededException -// A limit has been exceeded. +// - InternalFailureException +// An unexpected error has occurred. // +// - LimitExceededException +// A limit has been exceeded. func (c *IoT) AttachPolicy(input *AttachPolicyInput) (*AttachPolicyOutput, error) { req, out := c.AttachPolicyRequest(input) return out, req.Send() @@ -508,14 +503,13 @@ const opAttachPrincipalPolicy = "AttachPrincipalPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachPrincipalPolicyRequest method. +// req, resp := client.AttachPrincipalPolicyRequest(params) // -// // Example sending a request using the AttachPrincipalPolicyRequest method. -// req, resp := client.AttachPrincipalPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // Deprecated: AttachPrincipalPolicy has been deprecated func (c *IoT) AttachPrincipalPolicyRequest(input *AttachPrincipalPolicyInput) (req *request.Request, output *AttachPrincipalPolicyOutput) { @@ -556,27 +550,27 @@ func (c *IoT) AttachPrincipalPolicyRequest(input *AttachPrincipalPolicyInput) (r // API operation AttachPrincipalPolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * LimitExceededException -// A limit has been exceeded. +// - InternalFailureException +// An unexpected error has occurred. // +// - LimitExceededException +// A limit has been exceeded. // // Deprecated: AttachPrincipalPolicy has been deprecated func (c *IoT) AttachPrincipalPolicy(input *AttachPrincipalPolicyInput) (*AttachPrincipalPolicyOutput, error) { @@ -618,14 +612,13 @@ const opAttachSecurityProfile = "AttachSecurityProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachSecurityProfileRequest method. +// req, resp := client.AttachSecurityProfileRequest(params) // -// // Example sending a request using the AttachSecurityProfileRequest method. -// req, resp := client.AttachSecurityProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) AttachSecurityProfileRequest(input *AttachSecurityProfileInput) (req *request.Request, output *AttachSecurityProfileOutput) { op := &request.Operation{ Name: opAttachSecurityProfile, @@ -660,25 +653,25 @@ func (c *IoT) AttachSecurityProfileRequest(input *AttachSecurityProfileInput) (r // API operation AttachSecurityProfile for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * LimitExceededException -// A limit has been exceeded. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * VersionConflictException -// An exception thrown when the version of an entity specified with the expectedVersion -// parameter does not match the latest version in the system. +// - LimitExceededException +// A limit has been exceeded. // -// * ThrottlingException -// The rate exceeds the limit. +// - VersionConflictException +// An exception thrown when the version of an entity specified with the expectedVersion +// parameter does not match the latest version in the system. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) AttachSecurityProfile(input *AttachSecurityProfileInput) (*AttachSecurityProfileOutput, error) { req, out := c.AttachSecurityProfileRequest(input) return out, req.Send() @@ -716,14 +709,13 @@ const opAttachThingPrincipal = "AttachThingPrincipal" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachThingPrincipalRequest method. +// req, resp := client.AttachThingPrincipalRequest(params) // -// // Example sending a request using the AttachThingPrincipalRequest method. -// req, resp := client.AttachThingPrincipalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) AttachThingPrincipalRequest(input *AttachThingPrincipalInput) (req *request.Request, output *AttachThingPrincipalOutput) { op := &request.Operation{ Name: opAttachThingPrincipal, @@ -758,24 +750,24 @@ func (c *IoT) AttachThingPrincipalRequest(input *AttachThingPrincipalInput) (req // API operation AttachThingPrincipal for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) AttachThingPrincipal(input *AttachThingPrincipalInput) (*AttachThingPrincipalOutput, error) { req, out := c.AttachThingPrincipalRequest(input) return out, req.Send() @@ -813,14 +805,13 @@ const opCancelAuditMitigationActionsTask = "CancelAuditMitigationActionsTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelAuditMitigationActionsTaskRequest method. +// req, resp := client.CancelAuditMitigationActionsTaskRequest(params) // -// // Example sending a request using the CancelAuditMitigationActionsTaskRequest method. -// req, resp := client.CancelAuditMitigationActionsTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CancelAuditMitigationActionsTaskRequest(input *CancelAuditMitigationActionsTaskInput) (req *request.Request, output *CancelAuditMitigationActionsTaskOutput) { op := &request.Operation{ Name: opCancelAuditMitigationActionsTask, @@ -854,18 +845,18 @@ func (c *IoT) CancelAuditMitigationActionsTaskRequest(input *CancelAuditMitigati // API operation CancelAuditMitigationActionsTask for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CancelAuditMitigationActionsTask(input *CancelAuditMitigationActionsTaskInput) (*CancelAuditMitigationActionsTaskOutput, error) { req, out := c.CancelAuditMitigationActionsTaskRequest(input) return out, req.Send() @@ -903,14 +894,13 @@ const opCancelAuditTask = "CancelAuditTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelAuditTaskRequest method. +// req, resp := client.CancelAuditTaskRequest(params) // -// // Example sending a request using the CancelAuditTaskRequest method. -// req, resp := client.CancelAuditTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CancelAuditTaskRequest(input *CancelAuditTaskInput) (req *request.Request, output *CancelAuditTaskOutput) { op := &request.Operation{ Name: opCancelAuditTask, @@ -944,18 +934,18 @@ func (c *IoT) CancelAuditTaskRequest(input *CancelAuditTaskInput) (req *request. // API operation CancelAuditTask for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CancelAuditTask(input *CancelAuditTaskInput) (*CancelAuditTaskOutput, error) { req, out := c.CancelAuditTaskRequest(input) return out, req.Send() @@ -993,14 +983,13 @@ const opCancelCertificateTransfer = "CancelCertificateTransfer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelCertificateTransferRequest method. +// req, resp := client.CancelCertificateTransferRequest(params) // -// // Example sending a request using the CancelCertificateTransferRequest method. -// req, resp := client.CancelCertificateTransferRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CancelCertificateTransferRequest(input *CancelCertificateTransferInput) (req *request.Request, output *CancelCertificateTransferOutput) { op := &request.Operation{ Name: opCancelCertificateTransfer, @@ -1042,28 +1031,28 @@ func (c *IoT) CancelCertificateTransferRequest(input *CancelCertificateTransferI // API operation CancelCertificateTransfer for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * TransferAlreadyCompletedException -// You can't revert the certificate transfer because the transfer is already -// complete. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - TransferAlreadyCompletedException +// You can't revert the certificate transfer because the transfer is already +// complete. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CancelCertificateTransfer(input *CancelCertificateTransferInput) (*CancelCertificateTransferOutput, error) { req, out := c.CancelCertificateTransferRequest(input) return out, req.Send() @@ -1101,14 +1090,13 @@ const opCancelDetectMitigationActionsTask = "CancelDetectMitigationActionsTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelDetectMitigationActionsTaskRequest method. +// req, resp := client.CancelDetectMitigationActionsTaskRequest(params) // -// // Example sending a request using the CancelDetectMitigationActionsTaskRequest method. -// req, resp := client.CancelDetectMitigationActionsTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CancelDetectMitigationActionsTaskRequest(input *CancelDetectMitigationActionsTaskInput) (req *request.Request, output *CancelDetectMitigationActionsTaskOutput) { op := &request.Operation{ Name: opCancelDetectMitigationActionsTask, @@ -1141,18 +1129,18 @@ func (c *IoT) CancelDetectMitigationActionsTaskRequest(input *CancelDetectMitiga // API operation CancelDetectMitigationActionsTask for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CancelDetectMitigationActionsTask(input *CancelDetectMitigationActionsTaskInput) (*CancelDetectMitigationActionsTaskOutput, error) { req, out := c.CancelDetectMitigationActionsTaskRequest(input) return out, req.Send() @@ -1190,14 +1178,13 @@ const opCancelJob = "CancelJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelJobRequest method. +// req, resp := client.CancelJobRequest(params) // -// // Example sending a request using the CancelJobRequest method. -// req, resp := client.CancelJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CancelJobRequest(input *CancelJobInput) (req *request.Request, output *CancelJobOutput) { op := &request.Operation{ Name: opCancelJob, @@ -1229,21 +1216,21 @@ func (c *IoT) CancelJobRequest(input *CancelJobInput) (req *request.Request, out // API operation CancelJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ThrottlingException +// The rate exceeds the limit. // -// * LimitExceededException -// A limit has been exceeded. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - LimitExceededException +// A limit has been exceeded. func (c *IoT) CancelJob(input *CancelJobInput) (*CancelJobOutput, error) { req, out := c.CancelJobRequest(input) return out, req.Send() @@ -1281,14 +1268,13 @@ const opCancelJobExecution = "CancelJobExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelJobExecutionRequest method. +// req, resp := client.CancelJobExecutionRequest(params) // -// // Example sending a request using the CancelJobExecutionRequest method. -// req, resp := client.CancelJobExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CancelJobExecutionRequest(input *CancelJobExecutionInput) (req *request.Request, output *CancelJobExecutionOutput) { op := &request.Operation{ Name: opCancelJobExecution, @@ -1321,27 +1307,27 @@ func (c *IoT) CancelJobExecutionRequest(input *CancelJobExecutionInput) (req *re // API operation CancelJobExecution for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidStateTransitionException -// An attempt was made to change to an invalid state, for example by deleting -// a job or a job execution which is "IN_PROGRESS" without setting the force -// parameter. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidStateTransitionException +// An attempt was made to change to an invalid state, for example by deleting +// a job or a job execution which is "IN_PROGRESS" without setting the force +// parameter. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ThrottlingException +// The rate exceeds the limit. // -// * VersionConflictException -// An exception thrown when the version of an entity specified with the expectedVersion -// parameter does not match the latest version in the system. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - VersionConflictException +// An exception thrown when the version of an entity specified with the expectedVersion +// parameter does not match the latest version in the system. func (c *IoT) CancelJobExecution(input *CancelJobExecutionInput) (*CancelJobExecutionOutput, error) { req, out := c.CancelJobExecutionRequest(input) return out, req.Send() @@ -1379,14 +1365,13 @@ const opClearDefaultAuthorizer = "ClearDefaultAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ClearDefaultAuthorizerRequest method. +// req, resp := client.ClearDefaultAuthorizerRequest(params) // -// // Example sending a request using the ClearDefaultAuthorizerRequest method. -// req, resp := client.ClearDefaultAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ClearDefaultAuthorizerRequest(input *ClearDefaultAuthorizerInput) (req *request.Request, output *ClearDefaultAuthorizerOutput) { op := &request.Operation{ Name: opClearDefaultAuthorizer, @@ -1419,24 +1404,24 @@ func (c *IoT) ClearDefaultAuthorizerRequest(input *ClearDefaultAuthorizerInput) // API operation ClearDefaultAuthorizer for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ClearDefaultAuthorizer(input *ClearDefaultAuthorizerInput) (*ClearDefaultAuthorizerOutput, error) { req, out := c.ClearDefaultAuthorizerRequest(input) return out, req.Send() @@ -1474,14 +1459,13 @@ const opConfirmTopicRuleDestination = "ConfirmTopicRuleDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfirmTopicRuleDestinationRequest method. +// req, resp := client.ConfirmTopicRuleDestinationRequest(params) // -// // Example sending a request using the ConfirmTopicRuleDestinationRequest method. -// req, resp := client.ConfirmTopicRuleDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ConfirmTopicRuleDestinationRequest(input *ConfirmTopicRuleDestinationInput) (req *request.Request, output *ConfirmTopicRuleDestinationOutput) { op := &request.Operation{ Name: opConfirmTopicRuleDestination, @@ -1517,22 +1501,22 @@ func (c *IoT) ConfirmTopicRuleDestinationRequest(input *ConfirmTopicRuleDestinat // API operation ConfirmTopicRuleDestination for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ConflictingResourceUpdateException -// A conflicting resource update exception. This exception is thrown when two -// pending updates cause a conflict. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - ConflictingResourceUpdateException +// A conflicting resource update exception. This exception is thrown when two +// pending updates cause a conflict. func (c *IoT) ConfirmTopicRuleDestination(input *ConfirmTopicRuleDestinationInput) (*ConfirmTopicRuleDestinationOutput, error) { req, out := c.ConfirmTopicRuleDestinationRequest(input) return out, req.Send() @@ -1570,14 +1554,13 @@ const opCreateAuditSuppression = "CreateAuditSuppression" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAuditSuppressionRequest method. +// req, resp := client.CreateAuditSuppressionRequest(params) // -// // Example sending a request using the CreateAuditSuppressionRequest method. -// req, resp := client.CreateAuditSuppressionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateAuditSuppressionRequest(input *CreateAuditSuppressionInput) (req *request.Request, output *CreateAuditSuppressionOutput) { op := &request.Operation{ Name: opCreateAuditSuppression, @@ -1610,21 +1593,21 @@ func (c *IoT) CreateAuditSuppressionRequest(input *CreateAuditSuppressionInput) // API operation CreateAuditSuppression for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * LimitExceededException -// A limit has been exceeded. +// - InternalFailureException +// An unexpected error has occurred. // +// - LimitExceededException +// A limit has been exceeded. func (c *IoT) CreateAuditSuppression(input *CreateAuditSuppressionInput) (*CreateAuditSuppressionOutput, error) { req, out := c.CreateAuditSuppressionRequest(input) return out, req.Send() @@ -1662,14 +1645,13 @@ const opCreateAuthorizer = "CreateAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAuthorizerRequest method. +// req, resp := client.CreateAuthorizerRequest(params) // -// // Example sending a request using the CreateAuthorizerRequest method. -// req, resp := client.CreateAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateAuthorizerRequest(input *CreateAuthorizerInput) (req *request.Request, output *CreateAuthorizerOutput) { op := &request.Operation{ Name: opCreateAuthorizer, @@ -1701,27 +1683,27 @@ func (c *IoT) CreateAuthorizerRequest(input *CreateAuthorizerInput) (req *reques // API operation CreateAuthorizer for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource already exists. // -// * InvalidRequestException -// The request is not valid. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * LimitExceededException -// A limit has been exceeded. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - LimitExceededException +// A limit has been exceeded. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CreateAuthorizer(input *CreateAuthorizerInput) (*CreateAuthorizerOutput, error) { req, out := c.CreateAuthorizerRequest(input) return out, req.Send() @@ -1759,14 +1741,13 @@ const opCreateBillingGroup = "CreateBillingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBillingGroupRequest method. +// req, resp := client.CreateBillingGroupRequest(params) // -// // Example sending a request using the CreateBillingGroupRequest method. -// req, resp := client.CreateBillingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateBillingGroupRequest(input *CreateBillingGroupInput) (req *request.Request, output *CreateBillingGroupOutput) { op := &request.Operation{ Name: opCreateBillingGroup, @@ -1798,18 +1779,18 @@ func (c *IoT) CreateBillingGroupRequest(input *CreateBillingGroupInput) (req *re // API operation CreateBillingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CreateBillingGroup(input *CreateBillingGroupInput) (*CreateBillingGroupOutput, error) { req, out := c.CreateBillingGroupRequest(input) return out, req.Send() @@ -1847,14 +1828,13 @@ const opCreateCertificateFromCsr = "CreateCertificateFromCsr" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCertificateFromCsrRequest method. +// req, resp := client.CreateCertificateFromCsrRequest(params) // -// // Example sending a request using the CreateCertificateFromCsrRequest method. -// req, resp := client.CreateCertificateFromCsrRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateCertificateFromCsrRequest(input *CreateCertificateFromCsrInput) (req *request.Request, output *CreateCertificateFromCsrOutput) { op := &request.Operation{ Name: opCreateCertificateFromCsr, @@ -1928,21 +1908,21 @@ func (c *IoT) CreateCertificateFromCsrRequest(input *CreateCertificateFromCsrInp // API operation CreateCertificateFromCsr for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CreateCertificateFromCsr(input *CreateCertificateFromCsrInput) (*CreateCertificateFromCsrOutput, error) { req, out := c.CreateCertificateFromCsrRequest(input) return out, req.Send() @@ -1980,14 +1960,13 @@ const opCreateCustomMetric = "CreateCustomMetric" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCustomMetricRequest method. +// req, resp := client.CreateCustomMetricRequest(params) // -// // Example sending a request using the CreateCustomMetricRequest method. -// req, resp := client.CreateCustomMetricRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateCustomMetricRequest(input *CreateCustomMetricInput) (req *request.Request, output *CreateCustomMetricOutput) { op := &request.Operation{ Name: opCreateCustomMetric, @@ -2020,21 +1999,21 @@ func (c *IoT) CreateCustomMetricRequest(input *CreateCustomMetricInput) (req *re // API operation CreateCustomMetric for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * LimitExceededException -// A limit has been exceeded. +// - InvalidRequestException +// The request is not valid. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - LimitExceededException +// A limit has been exceeded. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CreateCustomMetric(input *CreateCustomMetricInput) (*CreateCustomMetricOutput, error) { req, out := c.CreateCustomMetricRequest(input) return out, req.Send() @@ -2072,14 +2051,13 @@ const opCreateDimension = "CreateDimension" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDimensionRequest method. +// req, resp := client.CreateDimensionRequest(params) // -// // Example sending a request using the CreateDimensionRequest method. -// req, resp := client.CreateDimensionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateDimensionRequest(input *CreateDimensionInput) (req *request.Request, output *CreateDimensionOutput) { op := &request.Operation{ Name: opCreateDimension, @@ -2114,21 +2092,21 @@ func (c *IoT) CreateDimensionRequest(input *CreateDimensionInput) (req *request. // API operation CreateDimension for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * LimitExceededException -// A limit has been exceeded. +// - InvalidRequestException +// The request is not valid. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - LimitExceededException +// A limit has been exceeded. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceAlreadyExistsException +// The resource already exists. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) CreateDimension(input *CreateDimensionInput) (*CreateDimensionOutput, error) { req, out := c.CreateDimensionRequest(input) return out, req.Send() @@ -2166,14 +2144,13 @@ const opCreateDomainConfiguration = "CreateDomainConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDomainConfigurationRequest method. +// req, resp := client.CreateDomainConfigurationRequest(params) // -// // Example sending a request using the CreateDomainConfigurationRequest method. -// req, resp := client.CreateDomainConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateDomainConfigurationRequest(input *CreateDomainConfigurationInput) (req *request.Request, output *CreateDomainConfigurationOutput) { op := &request.Operation{ Name: opCreateDomainConfiguration, @@ -2205,30 +2182,30 @@ func (c *IoT) CreateDomainConfigurationRequest(input *CreateDomainConfigurationI // API operation CreateDomainConfiguration for usage and error information. // // Returned Error Types: -// * LimitExceededException -// A limit has been exceeded. // -// * CertificateValidationException -// The certificate is invalid. +// - LimitExceededException +// A limit has been exceeded. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - CertificateValidationException +// The certificate is invalid. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) CreateDomainConfiguration(input *CreateDomainConfigurationInput) (*CreateDomainConfigurationOutput, error) { req, out := c.CreateDomainConfigurationRequest(input) return out, req.Send() @@ -2266,14 +2243,13 @@ const opCreateDynamicThingGroup = "CreateDynamicThingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDynamicThingGroupRequest method. +// req, resp := client.CreateDynamicThingGroupRequest(params) // -// // Example sending a request using the CreateDynamicThingGroupRequest method. -// req, resp := client.CreateDynamicThingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateDynamicThingGroupRequest(input *CreateDynamicThingGroupInput) (req *request.Request, output *CreateDynamicThingGroupOutput) { op := &request.Operation{ Name: opCreateDynamicThingGroup, @@ -2305,27 +2281,27 @@ func (c *IoT) CreateDynamicThingGroupRequest(input *CreateDynamicThingGroupInput // API operation CreateDynamicThingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * InvalidQueryException -// The query is invalid. +// - InternalFailureException +// An unexpected error has occurred. // -// * LimitExceededException -// A limit has been exceeded. +// - InvalidQueryException +// The query is invalid. // +// - LimitExceededException +// A limit has been exceeded. func (c *IoT) CreateDynamicThingGroup(input *CreateDynamicThingGroupInput) (*CreateDynamicThingGroupOutput, error) { req, out := c.CreateDynamicThingGroupRequest(input) return out, req.Send() @@ -2363,14 +2339,13 @@ const opCreateFleetMetric = "CreateFleetMetric" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFleetMetricRequest method. +// req, resp := client.CreateFleetMetricRequest(params) // -// // Example sending a request using the CreateFleetMetricRequest method. -// req, resp := client.CreateFleetMetricRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateFleetMetricRequest(input *CreateFleetMetricInput) (req *request.Request, output *CreateFleetMetricOutput) { op := &request.Operation{ Name: opCreateFleetMetric, @@ -2402,39 +2377,39 @@ func (c *IoT) CreateFleetMetricRequest(input *CreateFleetMetricInput) (req *requ // API operation CreateFleetMetric for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * LimitExceededException -// A limit has been exceeded. +// - InternalFailureException +// An unexpected error has occurred. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - LimitExceededException +// A limit has been exceeded. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * InvalidQueryException -// The query is invalid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InvalidAggregationException -// The aggregation is invalid. +// - InvalidQueryException +// The query is invalid. // -// * IndexNotReadyException -// The index is not ready. +// - InvalidAggregationException +// The aggregation is invalid. // +// - IndexNotReadyException +// The index is not ready. func (c *IoT) CreateFleetMetric(input *CreateFleetMetricInput) (*CreateFleetMetricOutput, error) { req, out := c.CreateFleetMetricRequest(input) return out, req.Send() @@ -2472,14 +2447,13 @@ const opCreateJob = "CreateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateJobRequest method. +// req, resp := client.CreateJobRequest(params) // -// // Example sending a request using the CreateJobRequest method. -// req, resp := client.CreateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobOutput) { op := &request.Operation{ Name: opCreateJob, @@ -2511,24 +2485,24 @@ func (c *IoT) CreateJobRequest(input *CreateJobInput) (req *request.Request, out // API operation CreateJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * LimitExceededException -// A limit has been exceeded. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * ThrottlingException -// The rate exceeds the limit. +// - LimitExceededException +// A limit has been exceeded. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ThrottlingException +// The rate exceeds the limit. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) CreateJob(input *CreateJobInput) (*CreateJobOutput, error) { req, out := c.CreateJobRequest(input) return out, req.Send() @@ -2566,14 +2540,13 @@ const opCreateJobTemplate = "CreateJobTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateJobTemplateRequest method. +// req, resp := client.CreateJobTemplateRequest(params) // -// // Example sending a request using the CreateJobTemplateRequest method. -// req, resp := client.CreateJobTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateJobTemplateRequest(input *CreateJobTemplateInput) (req *request.Request, output *CreateJobTemplateOutput) { op := &request.Operation{ Name: opCreateJobTemplate, @@ -2605,24 +2578,24 @@ func (c *IoT) CreateJobTemplateRequest(input *CreateJobTemplateInput) (req *requ // API operation CreateJobTemplate for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ConflictException -// A resource with the same name already exists. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * LimitExceededException -// A limit has been exceeded. +// - ConflictException +// A resource with the same name already exists. // -// * ThrottlingException -// The rate exceeds the limit. +// - LimitExceededException +// A limit has been exceeded. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CreateJobTemplate(input *CreateJobTemplateInput) (*CreateJobTemplateOutput, error) { req, out := c.CreateJobTemplateRequest(input) return out, req.Send() @@ -2660,14 +2633,13 @@ const opCreateKeysAndCertificate = "CreateKeysAndCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateKeysAndCertificateRequest method. +// req, resp := client.CreateKeysAndCertificateRequest(params) // -// // Example sending a request using the CreateKeysAndCertificateRequest method. -// req, resp := client.CreateKeysAndCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateKeysAndCertificateRequest(input *CreateKeysAndCertificateInput) (req *request.Request, output *CreateKeysAndCertificateOutput) { op := &request.Operation{ Name: opCreateKeysAndCertificate, @@ -2704,21 +2676,21 @@ func (c *IoT) CreateKeysAndCertificateRequest(input *CreateKeysAndCertificateInp // API operation CreateKeysAndCertificate for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CreateKeysAndCertificate(input *CreateKeysAndCertificateInput) (*CreateKeysAndCertificateOutput, error) { req, out := c.CreateKeysAndCertificateRequest(input) return out, req.Send() @@ -2756,14 +2728,13 @@ const opCreateMitigationAction = "CreateMitigationAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMitigationActionRequest method. +// req, resp := client.CreateMitigationActionRequest(params) // -// // Example sending a request using the CreateMitigationActionRequest method. -// req, resp := client.CreateMitigationActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateMitigationActionRequest(input *CreateMitigationActionInput) (req *request.Request, output *CreateMitigationActionOutput) { op := &request.Operation{ Name: opCreateMitigationAction, @@ -2798,21 +2769,21 @@ func (c *IoT) CreateMitigationActionRequest(input *CreateMitigationActionInput) // API operation CreateMitigationAction for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InvalidRequestException +// The request is not valid. // -// * LimitExceededException -// A limit has been exceeded. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * ThrottlingException -// The rate exceeds the limit. +// - LimitExceededException +// A limit has been exceeded. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CreateMitigationAction(input *CreateMitigationActionInput) (*CreateMitigationActionOutput, error) { req, out := c.CreateMitigationActionRequest(input) return out, req.Send() @@ -2850,14 +2821,13 @@ const opCreateOTAUpdate = "CreateOTAUpdate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOTAUpdateRequest method. +// req, resp := client.CreateOTAUpdateRequest(params) // -// // Example sending a request using the CreateOTAUpdateRequest method. -// req, resp := client.CreateOTAUpdateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateOTAUpdateRequest(input *CreateOTAUpdateInput) (req *request.Request, output *CreateOTAUpdateOutput) { op := &request.Operation{ Name: opCreateOTAUpdate, @@ -2889,30 +2859,30 @@ func (c *IoT) CreateOTAUpdateRequest(input *CreateOTAUpdateInput) (req *request. // API operation CreateOTAUpdate for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * LimitExceededException -// A limit has been exceeded. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - LimitExceededException +// A limit has been exceeded. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * InternalFailureException -// An unexpected error has occurred. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// An unexpected error has occurred. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) CreateOTAUpdate(input *CreateOTAUpdateInput) (*CreateOTAUpdateOutput, error) { req, out := c.CreateOTAUpdateRequest(input) return out, req.Send() @@ -2950,14 +2920,13 @@ const opCreatePolicy = "CreatePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePolicyRequest method. +// req, resp := client.CreatePolicyRequest(params) // -// // Example sending a request using the CreatePolicyRequest method. -// req, resp := client.CreatePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreatePolicyRequest(input *CreatePolicyInput) (req *request.Request, output *CreatePolicyOutput) { op := &request.Operation{ Name: opCreatePolicy, @@ -2993,27 +2962,27 @@ func (c *IoT) CreatePolicyRequest(input *CreatePolicyInput) (req *request.Reques // API operation CreatePolicy for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource already exists. // -// * MalformedPolicyException -// The policy documentation is not valid. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * InvalidRequestException -// The request is not valid. +// - MalformedPolicyException +// The policy documentation is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CreatePolicy(input *CreatePolicyInput) (*CreatePolicyOutput, error) { req, out := c.CreatePolicyRequest(input) return out, req.Send() @@ -3051,14 +3020,13 @@ const opCreatePolicyVersion = "CreatePolicyVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePolicyVersionRequest method. +// req, resp := client.CreatePolicyVersionRequest(params) // -// // Example sending a request using the CreatePolicyVersionRequest method. -// req, resp := client.CreatePolicyVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreatePolicyVersionRequest(input *CreatePolicyVersionInput) (req *request.Request, output *CreatePolicyVersionOutput) { op := &request.Operation{ Name: opCreatePolicyVersion, @@ -3097,30 +3065,30 @@ func (c *IoT) CreatePolicyVersionRequest(input *CreatePolicyVersionInput) (req * // API operation CreatePolicyVersion for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * MalformedPolicyException -// The policy documentation is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * VersionsLimitExceededException -// The number of policy versions exceeds the limit. +// - MalformedPolicyException +// The policy documentation is not valid. // -// * InvalidRequestException -// The request is not valid. +// - VersionsLimitExceededException +// The number of policy versions exceeds the limit. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CreatePolicyVersion(input *CreatePolicyVersionInput) (*CreatePolicyVersionOutput, error) { req, out := c.CreatePolicyVersionRequest(input) return out, req.Send() @@ -3158,14 +3126,13 @@ const opCreateProvisioningClaim = "CreateProvisioningClaim" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProvisioningClaimRequest method. +// req, resp := client.CreateProvisioningClaimRequest(params) // -// // Example sending a request using the CreateProvisioningClaimRequest method. -// req, resp := client.CreateProvisioningClaimRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateProvisioningClaimRequest(input *CreateProvisioningClaimInput) (req *request.Request, output *CreateProvisioningClaimOutput) { op := &request.Operation{ Name: opCreateProvisioningClaim, @@ -3197,24 +3164,24 @@ func (c *IoT) CreateProvisioningClaimRequest(input *CreateProvisioningClaimInput // API operation CreateProvisioningClaim for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CreateProvisioningClaim(input *CreateProvisioningClaimInput) (*CreateProvisioningClaimOutput, error) { req, out := c.CreateProvisioningClaimRequest(input) return out, req.Send() @@ -3252,14 +3219,13 @@ const opCreateProvisioningTemplate = "CreateProvisioningTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProvisioningTemplateRequest method. +// req, resp := client.CreateProvisioningTemplateRequest(params) // -// // Example sending a request using the CreateProvisioningTemplateRequest method. -// req, resp := client.CreateProvisioningTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateProvisioningTemplateRequest(input *CreateProvisioningTemplateInput) (req *request.Request, output *CreateProvisioningTemplateOutput) { op := &request.Operation{ Name: opCreateProvisioningTemplate, @@ -3291,24 +3257,24 @@ func (c *IoT) CreateProvisioningTemplateRequest(input *CreateProvisioningTemplat // API operation CreateProvisioningTemplate for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * LimitExceededException -// A limit has been exceeded. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - LimitExceededException +// A limit has been exceeded. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - ResourceAlreadyExistsException +// The resource already exists. func (c *IoT) CreateProvisioningTemplate(input *CreateProvisioningTemplateInput) (*CreateProvisioningTemplateOutput, error) { req, out := c.CreateProvisioningTemplateRequest(input) return out, req.Send() @@ -3346,14 +3312,13 @@ const opCreateProvisioningTemplateVersion = "CreateProvisioningTemplateVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProvisioningTemplateVersionRequest method. +// req, resp := client.CreateProvisioningTemplateVersionRequest(params) // -// // Example sending a request using the CreateProvisioningTemplateVersionRequest method. -// req, resp := client.CreateProvisioningTemplateVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateProvisioningTemplateVersionRequest(input *CreateProvisioningTemplateVersionInput) (req *request.Request, output *CreateProvisioningTemplateVersionOutput) { op := &request.Operation{ Name: opCreateProvisioningTemplateVersion, @@ -3385,28 +3350,28 @@ func (c *IoT) CreateProvisioningTemplateVersionRequest(input *CreateProvisioning // API operation CreateProvisioningTemplateVersion for usage and error information. // // Returned Error Types: -// * VersionsLimitExceededException -// The number of policy versions exceeds the limit. // -// * InternalFailureException -// An unexpected error has occurred. +// - VersionsLimitExceededException +// The number of policy versions exceeds the limit. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ThrottlingException +// The rate exceeds the limit. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ConflictingResourceUpdateException -// A conflicting resource update exception. This exception is thrown when two -// pending updates cause a conflict. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - ConflictingResourceUpdateException +// A conflicting resource update exception. This exception is thrown when two +// pending updates cause a conflict. func (c *IoT) CreateProvisioningTemplateVersion(input *CreateProvisioningTemplateVersionInput) (*CreateProvisioningTemplateVersionOutput, error) { req, out := c.CreateProvisioningTemplateVersionRequest(input) return out, req.Send() @@ -3444,14 +3409,13 @@ const opCreateRoleAlias = "CreateRoleAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRoleAliasRequest method. +// req, resp := client.CreateRoleAliasRequest(params) // -// // Example sending a request using the CreateRoleAliasRequest method. -// req, resp := client.CreateRoleAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateRoleAliasRequest(input *CreateRoleAliasInput) (req *request.Request, output *CreateRoleAliasOutput) { op := &request.Operation{ Name: opCreateRoleAlias, @@ -3483,27 +3447,27 @@ func (c *IoT) CreateRoleAliasRequest(input *CreateRoleAliasInput) (req *request. // API operation CreateRoleAlias for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource already exists. // -// * InvalidRequestException -// The request is not valid. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * LimitExceededException -// A limit has been exceeded. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - LimitExceededException +// A limit has been exceeded. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CreateRoleAlias(input *CreateRoleAliasInput) (*CreateRoleAliasOutput, error) { req, out := c.CreateRoleAliasRequest(input) return out, req.Send() @@ -3541,14 +3505,13 @@ const opCreateScheduledAudit = "CreateScheduledAudit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateScheduledAuditRequest method. +// req, resp := client.CreateScheduledAuditRequest(params) // -// // Example sending a request using the CreateScheduledAuditRequest method. -// req, resp := client.CreateScheduledAuditRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateScheduledAuditRequest(input *CreateScheduledAuditInput) (req *request.Request, output *CreateScheduledAuditOutput) { op := &request.Operation{ Name: opCreateScheduledAudit, @@ -3580,21 +3543,21 @@ func (c *IoT) CreateScheduledAuditRequest(input *CreateScheduledAuditInput) (req // API operation CreateScheduledAudit for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * LimitExceededException -// A limit has been exceeded. +// - InternalFailureException +// An unexpected error has occurred. // +// - LimitExceededException +// A limit has been exceeded. func (c *IoT) CreateScheduledAudit(input *CreateScheduledAuditInput) (*CreateScheduledAuditOutput, error) { req, out := c.CreateScheduledAuditRequest(input) return out, req.Send() @@ -3632,14 +3595,13 @@ const opCreateSecurityProfile = "CreateSecurityProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSecurityProfileRequest method. +// req, resp := client.CreateSecurityProfileRequest(params) // -// // Example sending a request using the CreateSecurityProfileRequest method. -// req, resp := client.CreateSecurityProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateSecurityProfileRequest(input *CreateSecurityProfileInput) (req *request.Request, output *CreateSecurityProfileOutput) { op := &request.Operation{ Name: opCreateSecurityProfile, @@ -3671,18 +3633,18 @@ func (c *IoT) CreateSecurityProfileRequest(input *CreateSecurityProfileInput) (r // API operation CreateSecurityProfile for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CreateSecurityProfile(input *CreateSecurityProfileInput) (*CreateSecurityProfileOutput, error) { req, out := c.CreateSecurityProfileRequest(input) return out, req.Send() @@ -3720,14 +3682,13 @@ const opCreateStream = "CreateStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStreamRequest method. +// req, resp := client.CreateStreamRequest(params) // -// // Example sending a request using the CreateStreamRequest method. -// req, resp := client.CreateStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateStreamRequest(input *CreateStreamInput) (req *request.Request, output *CreateStreamOutput) { op := &request.Operation{ Name: opCreateStream, @@ -3761,30 +3722,30 @@ func (c *IoT) CreateStreamRequest(input *CreateStreamInput) (req *request.Reques // API operation CreateStream for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * LimitExceededException -// A limit has been exceeded. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - LimitExceededException +// A limit has been exceeded. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CreateStream(input *CreateStreamInput) (*CreateStreamOutput, error) { req, out := c.CreateStreamRequest(input) return out, req.Send() @@ -3822,14 +3783,13 @@ const opCreateThing = "CreateThing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateThingRequest method. +// req, resp := client.CreateThingRequest(params) // -// // Example sending a request using the CreateThingRequest method. -// req, resp := client.CreateThingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateThingRequest(input *CreateThingInput) (req *request.Request, output *CreateThingOutput) { op := &request.Operation{ Name: opCreateThing, @@ -3867,27 +3827,27 @@ func (c *IoT) CreateThingRequest(input *CreateThingInput) (req *request.Request, // API operation CreateThing for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InternalFailureException +// An unexpected error has occurred. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceAlreadyExistsException +// The resource already exists. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) CreateThing(input *CreateThingInput) (*CreateThingOutput, error) { req, out := c.CreateThingRequest(input) return out, req.Send() @@ -3925,14 +3885,13 @@ const opCreateThingGroup = "CreateThingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateThingGroupRequest method. +// req, resp := client.CreateThingGroupRequest(params) // -// // Example sending a request using the CreateThingGroupRequest method. -// req, resp := client.CreateThingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateThingGroupRequest(input *CreateThingGroupInput) (req *request.Request, output *CreateThingGroupOutput) { op := &request.Operation{ Name: opCreateThingGroup, @@ -3967,18 +3926,18 @@ func (c *IoT) CreateThingGroupRequest(input *CreateThingGroupInput) (req *reques // API operation CreateThingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) CreateThingGroup(input *CreateThingGroupInput) (*CreateThingGroupOutput, error) { req, out := c.CreateThingGroupRequest(input) return out, req.Send() @@ -4016,14 +3975,13 @@ const opCreateThingType = "CreateThingType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateThingTypeRequest method. +// req, resp := client.CreateThingTypeRequest(params) // -// // Example sending a request using the CreateThingTypeRequest method. -// req, resp := client.CreateThingTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateThingTypeRequest(input *CreateThingTypeInput) (req *request.Request, output *CreateThingTypeOutput) { op := &request.Operation{ Name: opCreateThingType, @@ -4055,24 +4013,24 @@ func (c *IoT) CreateThingTypeRequest(input *CreateThingTypeInput) (req *request. // API operation CreateThingType for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceAlreadyExistsException +// The resource already exists. func (c *IoT) CreateThingType(input *CreateThingTypeInput) (*CreateThingTypeOutput, error) { req, out := c.CreateThingTypeRequest(input) return out, req.Send() @@ -4110,14 +4068,13 @@ const opCreateTopicRule = "CreateTopicRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTopicRuleRequest method. +// req, resp := client.CreateTopicRuleRequest(params) // -// // Example sending a request using the CreateTopicRuleRequest method. -// req, resp := client.CreateTopicRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateTopicRuleRequest(input *CreateTopicRuleInput) (req *request.Request, output *CreateTopicRuleOutput) { op := &request.Operation{ Name: opCreateTopicRule, @@ -4152,25 +4109,25 @@ func (c *IoT) CreateTopicRuleRequest(input *CreateTopicRuleInput) (req *request. // API operation CreateTopicRule for usage and error information. // // Returned Error Types: -// * SqlParseException -// The Rule-SQL expression can't be parsed correctly. // -// * InternalException -// An unexpected error has occurred. +// - SqlParseException +// The Rule-SQL expression can't be parsed correctly. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InvalidRequestException +// The request is not valid. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * ConflictingResourceUpdateException -// A conflicting resource update exception. This exception is thrown when two -// pending updates cause a conflict. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - ConflictingResourceUpdateException +// A conflicting resource update exception. This exception is thrown when two +// pending updates cause a conflict. func (c *IoT) CreateTopicRule(input *CreateTopicRuleInput) (*CreateTopicRuleOutput, error) { req, out := c.CreateTopicRuleRequest(input) return out, req.Send() @@ -4208,14 +4165,13 @@ const opCreateTopicRuleDestination = "CreateTopicRuleDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTopicRuleDestinationRequest method. +// req, resp := client.CreateTopicRuleDestinationRequest(params) // -// // Example sending a request using the CreateTopicRuleDestinationRequest method. -// req, resp := client.CreateTopicRuleDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) CreateTopicRuleDestinationRequest(input *CreateTopicRuleDestinationInput) (req *request.Request, output *CreateTopicRuleDestinationOutput) { op := &request.Operation{ Name: opCreateTopicRuleDestination, @@ -4248,22 +4204,22 @@ func (c *IoT) CreateTopicRuleDestinationRequest(input *CreateTopicRuleDestinatio // API operation CreateTopicRuleDestination for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InvalidRequestException +// The request is not valid. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * ConflictingResourceUpdateException -// A conflicting resource update exception. This exception is thrown when two -// pending updates cause a conflict. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - ConflictingResourceUpdateException +// A conflicting resource update exception. This exception is thrown when two +// pending updates cause a conflict. func (c *IoT) CreateTopicRuleDestination(input *CreateTopicRuleDestinationInput) (*CreateTopicRuleDestinationOutput, error) { req, out := c.CreateTopicRuleDestinationRequest(input) return out, req.Send() @@ -4301,14 +4257,13 @@ const opDeleteAccountAuditConfiguration = "DeleteAccountAuditConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccountAuditConfigurationRequest method. +// req, resp := client.DeleteAccountAuditConfigurationRequest(params) // -// // Example sending a request using the DeleteAccountAuditConfigurationRequest method. -// req, resp := client.DeleteAccountAuditConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteAccountAuditConfigurationRequest(input *DeleteAccountAuditConfigurationInput) (req *request.Request, output *DeleteAccountAuditConfigurationOutput) { op := &request.Operation{ Name: opDeleteAccountAuditConfiguration, @@ -4343,18 +4298,18 @@ func (c *IoT) DeleteAccountAuditConfigurationRequest(input *DeleteAccountAuditCo // API operation DeleteAccountAuditConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeleteAccountAuditConfiguration(input *DeleteAccountAuditConfigurationInput) (*DeleteAccountAuditConfigurationOutput, error) { req, out := c.DeleteAccountAuditConfigurationRequest(input) return out, req.Send() @@ -4392,14 +4347,13 @@ const opDeleteAuditSuppression = "DeleteAuditSuppression" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAuditSuppressionRequest method. +// req, resp := client.DeleteAuditSuppressionRequest(params) // -// // Example sending a request using the DeleteAuditSuppressionRequest method. -// req, resp := client.DeleteAuditSuppressionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteAuditSuppressionRequest(input *DeleteAuditSuppressionInput) (req *request.Request, output *DeleteAuditSuppressionOutput) { op := &request.Operation{ Name: opDeleteAuditSuppression, @@ -4432,15 +4386,15 @@ func (c *IoT) DeleteAuditSuppressionRequest(input *DeleteAuditSuppressionInput) // API operation DeleteAuditSuppression for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeleteAuditSuppression(input *DeleteAuditSuppressionInput) (*DeleteAuditSuppressionOutput, error) { req, out := c.DeleteAuditSuppressionRequest(input) return out, req.Send() @@ -4478,14 +4432,13 @@ const opDeleteAuthorizer = "DeleteAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAuthorizerRequest method. +// req, resp := client.DeleteAuthorizerRequest(params) // -// // Example sending a request using the DeleteAuthorizerRequest method. -// req, resp := client.DeleteAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) (req *request.Request, output *DeleteAuthorizerOutput) { op := &request.Operation{ Name: opDeleteAuthorizer, @@ -4518,27 +4471,27 @@ func (c *IoT) DeleteAuthorizerRequest(input *DeleteAuthorizerInput) (req *reques // API operation DeleteAuthorizer for usage and error information. // // Returned Error Types: -// * DeleteConflictException -// You can't delete the resource because it is attached to one or more resources. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - DeleteConflictException +// You can't delete the resource because it is attached to one or more resources. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeleteAuthorizer(input *DeleteAuthorizerInput) (*DeleteAuthorizerOutput, error) { req, out := c.DeleteAuthorizerRequest(input) return out, req.Send() @@ -4576,14 +4529,13 @@ const opDeleteBillingGroup = "DeleteBillingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBillingGroupRequest method. +// req, resp := client.DeleteBillingGroupRequest(params) // -// // Example sending a request using the DeleteBillingGroupRequest method. -// req, resp := client.DeleteBillingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteBillingGroupRequest(input *DeleteBillingGroupInput) (req *request.Request, output *DeleteBillingGroupOutput) { op := &request.Operation{ Name: opDeleteBillingGroup, @@ -4616,19 +4568,19 @@ func (c *IoT) DeleteBillingGroupRequest(input *DeleteBillingGroupInput) (req *re // API operation DeleteBillingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * VersionConflictException -// An exception thrown when the version of an entity specified with the expectedVersion -// parameter does not match the latest version in the system. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - VersionConflictException +// An exception thrown when the version of an entity specified with the expectedVersion +// parameter does not match the latest version in the system. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeleteBillingGroup(input *DeleteBillingGroupInput) (*DeleteBillingGroupOutput, error) { req, out := c.DeleteBillingGroupRequest(input) return out, req.Send() @@ -4666,14 +4618,13 @@ const opDeleteCACertificate = "DeleteCACertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCACertificateRequest method. +// req, resp := client.DeleteCACertificateRequest(params) // -// // Example sending a request using the DeleteCACertificateRequest method. -// req, resp := client.DeleteCACertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteCACertificateRequest(input *DeleteCACertificateInput) (req *request.Request, output *DeleteCACertificateOutput) { op := &request.Operation{ Name: opDeleteCACertificate, @@ -4706,27 +4657,27 @@ func (c *IoT) DeleteCACertificateRequest(input *DeleteCACertificateInput) (req * // API operation DeleteCACertificate for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * CertificateStateException -// The certificate operation is not allowed. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - CertificateStateException +// The certificate operation is not allowed. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) DeleteCACertificate(input *DeleteCACertificateInput) (*DeleteCACertificateOutput, error) { req, out := c.DeleteCACertificateRequest(input) return out, req.Send() @@ -4764,14 +4715,13 @@ const opDeleteCertificate = "DeleteCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCertificateRequest method. +// req, resp := client.DeleteCertificateRequest(params) // -// // Example sending a request using the DeleteCertificateRequest method. -// req, resp := client.DeleteCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteCertificateRequest(input *DeleteCertificateInput) (req *request.Request, output *DeleteCertificateOutput) { op := &request.Operation{ Name: opDeleteCertificate, @@ -4809,30 +4759,30 @@ func (c *IoT) DeleteCertificateRequest(input *DeleteCertificateInput) (req *requ // API operation DeleteCertificate for usage and error information. // // Returned Error Types: -// * CertificateStateException -// The certificate operation is not allowed. // -// * DeleteConflictException -// You can't delete the resource because it is attached to one or more resources. +// - CertificateStateException +// The certificate operation is not allowed. // -// * InvalidRequestException -// The request is not valid. +// - DeleteConflictException +// You can't delete the resource because it is attached to one or more resources. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) DeleteCertificate(input *DeleteCertificateInput) (*DeleteCertificateOutput, error) { req, out := c.DeleteCertificateRequest(input) return out, req.Send() @@ -4870,14 +4820,13 @@ const opDeleteCustomMetric = "DeleteCustomMetric" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomMetricRequest method. +// req, resp := client.DeleteCustomMetricRequest(params) // -// // Example sending a request using the DeleteCustomMetricRequest method. -// req, resp := client.DeleteCustomMetricRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteCustomMetricRequest(input *DeleteCustomMetricInput) (req *request.Request, output *DeleteCustomMetricOutput) { op := &request.Operation{ Name: opDeleteCustomMetric, @@ -4915,15 +4864,15 @@ func (c *IoT) DeleteCustomMetricRequest(input *DeleteCustomMetricInput) (req *re // API operation DeleteCustomMetric for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeleteCustomMetric(input *DeleteCustomMetricInput) (*DeleteCustomMetricOutput, error) { req, out := c.DeleteCustomMetricRequest(input) return out, req.Send() @@ -4961,14 +4910,13 @@ const opDeleteDimension = "DeleteDimension" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDimensionRequest method. +// req, resp := client.DeleteDimensionRequest(params) // -// // Example sending a request using the DeleteDimensionRequest method. -// req, resp := client.DeleteDimensionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteDimensionRequest(input *DeleteDimensionInput) (req *request.Request, output *DeleteDimensionOutput) { op := &request.Operation{ Name: opDeleteDimension, @@ -5001,15 +4949,15 @@ func (c *IoT) DeleteDimensionRequest(input *DeleteDimensionInput) (req *request. // API operation DeleteDimension for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) DeleteDimension(input *DeleteDimensionInput) (*DeleteDimensionOutput, error) { req, out := c.DeleteDimensionRequest(input) return out, req.Send() @@ -5047,14 +4995,13 @@ const opDeleteDomainConfiguration = "DeleteDomainConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainConfigurationRequest method. +// req, resp := client.DeleteDomainConfigurationRequest(params) // -// // Example sending a request using the DeleteDomainConfigurationRequest method. -// req, resp := client.DeleteDomainConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteDomainConfigurationRequest(input *DeleteDomainConfigurationInput) (req *request.Request, output *DeleteDomainConfigurationOutput) { op := &request.Operation{ Name: opDeleteDomainConfiguration, @@ -5087,24 +5034,24 @@ func (c *IoT) DeleteDomainConfigurationRequest(input *DeleteDomainConfigurationI // API operation DeleteDomainConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // +// - InvalidRequestException +// The request is not valid. func (c *IoT) DeleteDomainConfiguration(input *DeleteDomainConfigurationInput) (*DeleteDomainConfigurationOutput, error) { req, out := c.DeleteDomainConfigurationRequest(input) return out, req.Send() @@ -5142,14 +5089,13 @@ const opDeleteDynamicThingGroup = "DeleteDynamicThingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDynamicThingGroupRequest method. +// req, resp := client.DeleteDynamicThingGroupRequest(params) // -// // Example sending a request using the DeleteDynamicThingGroupRequest method. -// req, resp := client.DeleteDynamicThingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteDynamicThingGroupRequest(input *DeleteDynamicThingGroupInput) (req *request.Request, output *DeleteDynamicThingGroupOutput) { op := &request.Operation{ Name: opDeleteDynamicThingGroup, @@ -5182,19 +5128,19 @@ func (c *IoT) DeleteDynamicThingGroupRequest(input *DeleteDynamicThingGroupInput // API operation DeleteDynamicThingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * VersionConflictException -// An exception thrown when the version of an entity specified with the expectedVersion -// parameter does not match the latest version in the system. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - VersionConflictException +// An exception thrown when the version of an entity specified with the expectedVersion +// parameter does not match the latest version in the system. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeleteDynamicThingGroup(input *DeleteDynamicThingGroupInput) (*DeleteDynamicThingGroupOutput, error) { req, out := c.DeleteDynamicThingGroupRequest(input) return out, req.Send() @@ -5232,14 +5178,13 @@ const opDeleteFleetMetric = "DeleteFleetMetric" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFleetMetricRequest method. +// req, resp := client.DeleteFleetMetricRequest(params) // -// // Example sending a request using the DeleteFleetMetricRequest method. -// req, resp := client.DeleteFleetMetricRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteFleetMetricRequest(input *DeleteFleetMetricInput) (req *request.Request, output *DeleteFleetMetricOutput) { op := &request.Operation{ Name: opDeleteFleetMetric, @@ -5273,25 +5218,25 @@ func (c *IoT) DeleteFleetMetricRequest(input *DeleteFleetMetricInput) (req *requ // API operation DeleteFleetMetric for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * VersionConflictException -// An exception thrown when the version of an entity specified with the expectedVersion -// parameter does not match the latest version in the system. +// - InternalFailureException +// An unexpected error has occurred. // +// - VersionConflictException +// An exception thrown when the version of an entity specified with the expectedVersion +// parameter does not match the latest version in the system. func (c *IoT) DeleteFleetMetric(input *DeleteFleetMetricInput) (*DeleteFleetMetricOutput, error) { req, out := c.DeleteFleetMetricRequest(input) return out, req.Send() @@ -5329,14 +5274,13 @@ const opDeleteJob = "DeleteJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteJobRequest method. +// req, resp := client.DeleteJobRequest(params) // -// // Example sending a request using the DeleteJobRequest method. -// req, resp := client.DeleteJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, output *DeleteJobOutput) { op := &request.Operation{ Name: opDeleteJob, @@ -5378,26 +5322,26 @@ func (c *IoT) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, out // API operation DeleteJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidStateTransitionException -// An attempt was made to change to an invalid state, for example by deleting -// a job or a job execution which is "IN_PROGRESS" without setting the force -// parameter. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidStateTransitionException +// An attempt was made to change to an invalid state, for example by deleting +// a job or a job execution which is "IN_PROGRESS" without setting the force +// parameter. // -// * LimitExceededException -// A limit has been exceeded. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - LimitExceededException +// A limit has been exceeded. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ThrottlingException +// The rate exceeds the limit. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) DeleteJob(input *DeleteJobInput) (*DeleteJobOutput, error) { req, out := c.DeleteJobRequest(input) return out, req.Send() @@ -5435,14 +5379,13 @@ const opDeleteJobExecution = "DeleteJobExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteJobExecutionRequest method. +// req, resp := client.DeleteJobExecutionRequest(params) // -// // Example sending a request using the DeleteJobExecutionRequest method. -// req, resp := client.DeleteJobExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteJobExecutionRequest(input *DeleteJobExecutionInput) (req *request.Request, output *DeleteJobExecutionOutput) { op := &request.Operation{ Name: opDeleteJobExecution, @@ -5475,23 +5418,23 @@ func (c *IoT) DeleteJobExecutionRequest(input *DeleteJobExecutionInput) (req *re // API operation DeleteJobExecution for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InvalidStateTransitionException -// An attempt was made to change to an invalid state, for example by deleting -// a job or a job execution which is "IN_PROGRESS" without setting the force -// parameter. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidStateTransitionException +// An attempt was made to change to an invalid state, for example by deleting +// a job or a job execution which is "IN_PROGRESS" without setting the force +// parameter. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ThrottlingException +// The rate exceeds the limit. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) DeleteJobExecution(input *DeleteJobExecutionInput) (*DeleteJobExecutionOutput, error) { req, out := c.DeleteJobExecutionRequest(input) return out, req.Send() @@ -5529,14 +5472,13 @@ const opDeleteJobTemplate = "DeleteJobTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteJobTemplateRequest method. +// req, resp := client.DeleteJobTemplateRequest(params) // -// // Example sending a request using the DeleteJobTemplateRequest method. -// req, resp := client.DeleteJobTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteJobTemplateRequest(input *DeleteJobTemplateInput) (req *request.Request, output *DeleteJobTemplateOutput) { op := &request.Operation{ Name: opDeleteJobTemplate, @@ -5566,18 +5508,18 @@ func (c *IoT) DeleteJobTemplateRequest(input *DeleteJobTemplateInput) (req *requ // API operation DeleteJobTemplate for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeleteJobTemplate(input *DeleteJobTemplateInput) (*DeleteJobTemplateOutput, error) { req, out := c.DeleteJobTemplateRequest(input) return out, req.Send() @@ -5615,14 +5557,13 @@ const opDeleteMitigationAction = "DeleteMitigationAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMitigationActionRequest method. +// req, resp := client.DeleteMitigationActionRequest(params) // -// // Example sending a request using the DeleteMitigationActionRequest method. -// req, resp := client.DeleteMitigationActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteMitigationActionRequest(input *DeleteMitigationActionInput) (req *request.Request, output *DeleteMitigationActionOutput) { op := &request.Operation{ Name: opDeleteMitigationAction, @@ -5655,15 +5596,15 @@ func (c *IoT) DeleteMitigationActionRequest(input *DeleteMitigationActionInput) // API operation DeleteMitigationAction for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeleteMitigationAction(input *DeleteMitigationActionInput) (*DeleteMitigationActionOutput, error) { req, out := c.DeleteMitigationActionRequest(input) return out, req.Send() @@ -5701,14 +5642,13 @@ const opDeleteOTAUpdate = "DeleteOTAUpdate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOTAUpdateRequest method. +// req, resp := client.DeleteOTAUpdateRequest(params) // -// // Example sending a request using the DeleteOTAUpdateRequest method. -// req, resp := client.DeleteOTAUpdateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteOTAUpdateRequest(input *DeleteOTAUpdateInput) (req *request.Request, output *DeleteOTAUpdateOutput) { op := &request.Operation{ Name: opDeleteOTAUpdate, @@ -5741,28 +5681,28 @@ func (c *IoT) DeleteOTAUpdateRequest(input *DeleteOTAUpdateInput) (req *request. // API operation DeleteOTAUpdate for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * InternalFailureException -// An unexpected error has occurred. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// An unexpected error has occurred. // -// * VersionConflictException -// An exception thrown when the version of an entity specified with the expectedVersion -// parameter does not match the latest version in the system. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - VersionConflictException +// An exception thrown when the version of an entity specified with the expectedVersion +// parameter does not match the latest version in the system. func (c *IoT) DeleteOTAUpdate(input *DeleteOTAUpdateInput) (*DeleteOTAUpdateOutput, error) { req, out := c.DeleteOTAUpdateRequest(input) return out, req.Send() @@ -5800,14 +5740,13 @@ const opDeletePolicy = "DeletePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePolicyRequest method. +// req, resp := client.DeletePolicyRequest(params) // -// // Example sending a request using the DeletePolicyRequest method. -// req, resp := client.DeletePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Request, output *DeletePolicyOutput) { op := &request.Operation{ Name: opDeletePolicy, @@ -5854,27 +5793,27 @@ func (c *IoT) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Reques // API operation DeletePolicy for usage and error information. // // Returned Error Types: -// * DeleteConflictException -// You can't delete the resource because it is attached to one or more resources. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - DeleteConflictException +// You can't delete the resource because it is attached to one or more resources. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error) { req, out := c.DeletePolicyRequest(input) return out, req.Send() @@ -5912,14 +5851,13 @@ const opDeletePolicyVersion = "DeletePolicyVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePolicyVersionRequest method. +// req, resp := client.DeletePolicyVersionRequest(params) // -// // Example sending a request using the DeletePolicyVersionRequest method. -// req, resp := client.DeletePolicyVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeletePolicyVersionRequest(input *DeletePolicyVersionInput) (req *request.Request, output *DeletePolicyVersionOutput) { op := &request.Operation{ Name: opDeletePolicyVersion, @@ -5955,27 +5893,27 @@ func (c *IoT) DeletePolicyVersionRequest(input *DeletePolicyVersionInput) (req * // API operation DeletePolicyVersion for usage and error information. // // Returned Error Types: -// * DeleteConflictException -// You can't delete the resource because it is attached to one or more resources. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - DeleteConflictException +// You can't delete the resource because it is attached to one or more resources. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeletePolicyVersion(input *DeletePolicyVersionInput) (*DeletePolicyVersionOutput, error) { req, out := c.DeletePolicyVersionRequest(input) return out, req.Send() @@ -6013,14 +5951,13 @@ const opDeleteProvisioningTemplate = "DeleteProvisioningTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProvisioningTemplateRequest method. +// req, resp := client.DeleteProvisioningTemplateRequest(params) // -// // Example sending a request using the DeleteProvisioningTemplateRequest method. -// req, resp := client.DeleteProvisioningTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteProvisioningTemplateRequest(input *DeleteProvisioningTemplateInput) (req *request.Request, output *DeleteProvisioningTemplateOutput) { op := &request.Operation{ Name: opDeleteProvisioningTemplate, @@ -6053,28 +5990,28 @@ func (c *IoT) DeleteProvisioningTemplateRequest(input *DeleteProvisioningTemplat // API operation DeleteProvisioningTemplate for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * DeleteConflictException -// You can't delete the resource because it is attached to one or more resources. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - DeleteConflictException +// You can't delete the resource because it is attached to one or more resources. // -// * ConflictingResourceUpdateException -// A conflicting resource update exception. This exception is thrown when two -// pending updates cause a conflict. +// - ThrottlingException +// The rate exceeds the limit. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ConflictingResourceUpdateException +// A conflicting resource update exception. This exception is thrown when two +// pending updates cause a conflict. // +// - UnauthorizedException +// You are not authorized to perform this operation. func (c *IoT) DeleteProvisioningTemplate(input *DeleteProvisioningTemplateInput) (*DeleteProvisioningTemplateOutput, error) { req, out := c.DeleteProvisioningTemplateRequest(input) return out, req.Send() @@ -6112,14 +6049,13 @@ const opDeleteProvisioningTemplateVersion = "DeleteProvisioningTemplateVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProvisioningTemplateVersionRequest method. +// req, resp := client.DeleteProvisioningTemplateVersionRequest(params) // -// // Example sending a request using the DeleteProvisioningTemplateVersionRequest method. -// req, resp := client.DeleteProvisioningTemplateVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteProvisioningTemplateVersionRequest(input *DeleteProvisioningTemplateVersionInput) (req *request.Request, output *DeleteProvisioningTemplateVersionOutput) { op := &request.Operation{ Name: opDeleteProvisioningTemplateVersion, @@ -6152,28 +6088,28 @@ func (c *IoT) DeleteProvisioningTemplateVersionRequest(input *DeleteProvisioning // API operation DeleteProvisioningTemplateVersion for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ThrottlingException +// The rate exceeds the limit. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ConflictingResourceUpdateException -// A conflicting resource update exception. This exception is thrown when two -// pending updates cause a conflict. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * DeleteConflictException -// You can't delete the resource because it is attached to one or more resources. +// - ConflictingResourceUpdateException +// A conflicting resource update exception. This exception is thrown when two +// pending updates cause a conflict. // +// - DeleteConflictException +// You can't delete the resource because it is attached to one or more resources. func (c *IoT) DeleteProvisioningTemplateVersion(input *DeleteProvisioningTemplateVersionInput) (*DeleteProvisioningTemplateVersionOutput, error) { req, out := c.DeleteProvisioningTemplateVersionRequest(input) return out, req.Send() @@ -6211,14 +6147,13 @@ const opDeleteRegistrationCode = "DeleteRegistrationCode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRegistrationCodeRequest method. +// req, resp := client.DeleteRegistrationCodeRequest(params) // -// // Example sending a request using the DeleteRegistrationCodeRequest method. -// req, resp := client.DeleteRegistrationCodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteRegistrationCodeRequest(input *DeleteRegistrationCodeInput) (req *request.Request, output *DeleteRegistrationCodeOutput) { op := &request.Operation{ Name: opDeleteRegistrationCode, @@ -6251,21 +6186,21 @@ func (c *IoT) DeleteRegistrationCodeRequest(input *DeleteRegistrationCodeInput) // API operation DeleteRegistrationCode for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The rate exceeds the limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ThrottlingException +// The rate exceeds the limit. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeleteRegistrationCode(input *DeleteRegistrationCodeInput) (*DeleteRegistrationCodeOutput, error) { req, out := c.DeleteRegistrationCodeRequest(input) return out, req.Send() @@ -6303,14 +6238,13 @@ const opDeleteRoleAlias = "DeleteRoleAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRoleAliasRequest method. +// req, resp := client.DeleteRoleAliasRequest(params) // -// // Example sending a request using the DeleteRoleAliasRequest method. -// req, resp := client.DeleteRoleAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteRoleAliasRequest(input *DeleteRoleAliasInput) (req *request.Request, output *DeleteRoleAliasOutput) { op := &request.Operation{ Name: opDeleteRoleAlias, @@ -6330,7 +6264,7 @@ func (c *IoT) DeleteRoleAliasRequest(input *DeleteRoleAliasInput) (req *request. // DeleteRoleAlias API operation for AWS IoT. // -// Deletes a role alias +// # Deletes a role alias // // Requires permission to access the DeleteRoleAlias (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) // action. @@ -6343,27 +6277,27 @@ func (c *IoT) DeleteRoleAliasRequest(input *DeleteRoleAliasInput) (req *request. // API operation DeleteRoleAlias for usage and error information. // // Returned Error Types: -// * DeleteConflictException -// You can't delete the resource because it is attached to one or more resources. // -// * InvalidRequestException -// The request is not valid. +// - DeleteConflictException +// You can't delete the resource because it is attached to one or more resources. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) DeleteRoleAlias(input *DeleteRoleAliasInput) (*DeleteRoleAliasOutput, error) { req, out := c.DeleteRoleAliasRequest(input) return out, req.Send() @@ -6401,14 +6335,13 @@ const opDeleteScheduledAudit = "DeleteScheduledAudit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteScheduledAuditRequest method. +// req, resp := client.DeleteScheduledAuditRequest(params) // -// // Example sending a request using the DeleteScheduledAuditRequest method. -// req, resp := client.DeleteScheduledAuditRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteScheduledAuditRequest(input *DeleteScheduledAuditInput) (req *request.Request, output *DeleteScheduledAuditOutput) { op := &request.Operation{ Name: opDeleteScheduledAudit, @@ -6441,18 +6374,18 @@ func (c *IoT) DeleteScheduledAuditRequest(input *DeleteScheduledAuditInput) (req // API operation DeleteScheduledAudit for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeleteScheduledAudit(input *DeleteScheduledAuditInput) (*DeleteScheduledAuditOutput, error) { req, out := c.DeleteScheduledAuditRequest(input) return out, req.Send() @@ -6490,14 +6423,13 @@ const opDeleteSecurityProfile = "DeleteSecurityProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSecurityProfileRequest method. +// req, resp := client.DeleteSecurityProfileRequest(params) // -// // Example sending a request using the DeleteSecurityProfileRequest method. -// req, resp := client.DeleteSecurityProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteSecurityProfileRequest(input *DeleteSecurityProfileInput) (req *request.Request, output *DeleteSecurityProfileOutput) { op := &request.Operation{ Name: opDeleteSecurityProfile, @@ -6530,19 +6462,19 @@ func (c *IoT) DeleteSecurityProfileRequest(input *DeleteSecurityProfileInput) (r // API operation DeleteSecurityProfile for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * VersionConflictException -// An exception thrown when the version of an entity specified with the expectedVersion -// parameter does not match the latest version in the system. +// - InternalFailureException +// An unexpected error has occurred. // +// - VersionConflictException +// An exception thrown when the version of an entity specified with the expectedVersion +// parameter does not match the latest version in the system. func (c *IoT) DeleteSecurityProfile(input *DeleteSecurityProfileInput) (*DeleteSecurityProfileOutput, error) { req, out := c.DeleteSecurityProfileRequest(input) return out, req.Send() @@ -6580,14 +6512,13 @@ const opDeleteStream = "DeleteStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStreamRequest method. +// req, resp := client.DeleteStreamRequest(params) // -// // Example sending a request using the DeleteStreamRequest method. -// req, resp := client.DeleteStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteStreamRequest(input *DeleteStreamInput) (req *request.Request, output *DeleteStreamOutput) { op := &request.Operation{ Name: opDeleteStream, @@ -6620,27 +6551,27 @@ func (c *IoT) DeleteStreamRequest(input *DeleteStreamInput) (req *request.Reques // API operation DeleteStream for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * DeleteConflictException -// You can't delete the resource because it is attached to one or more resources. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - DeleteConflictException +// You can't delete the resource because it is attached to one or more resources. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeleteStream(input *DeleteStreamInput) (*DeleteStreamOutput, error) { req, out := c.DeleteStreamRequest(input) return out, req.Send() @@ -6678,14 +6609,13 @@ const opDeleteThing = "DeleteThing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteThingRequest method. +// req, resp := client.DeleteThingRequest(params) // -// // Example sending a request using the DeleteThingRequest method. -// req, resp := client.DeleteThingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteThingRequest(input *DeleteThingInput) (req *request.Request, output *DeleteThingOutput) { op := &request.Operation{ Name: opDeleteThing, @@ -6719,28 +6649,28 @@ func (c *IoT) DeleteThingRequest(input *DeleteThingInput) (req *request.Request, // API operation DeleteThing for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * VersionConflictException -// An exception thrown when the version of an entity specified with the expectedVersion -// parameter does not match the latest version in the system. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - VersionConflictException +// An exception thrown when the version of an entity specified with the expectedVersion +// parameter does not match the latest version in the system. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeleteThing(input *DeleteThingInput) (*DeleteThingOutput, error) { req, out := c.DeleteThingRequest(input) return out, req.Send() @@ -6778,14 +6708,13 @@ const opDeleteThingGroup = "DeleteThingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteThingGroupRequest method. +// req, resp := client.DeleteThingGroupRequest(params) // -// // Example sending a request using the DeleteThingGroupRequest method. -// req, resp := client.DeleteThingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteThingGroupRequest(input *DeleteThingGroupInput) (req *request.Request, output *DeleteThingGroupOutput) { op := &request.Operation{ Name: opDeleteThingGroup, @@ -6818,19 +6747,19 @@ func (c *IoT) DeleteThingGroupRequest(input *DeleteThingGroupInput) (req *reques // API operation DeleteThingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * VersionConflictException -// An exception thrown when the version of an entity specified with the expectedVersion -// parameter does not match the latest version in the system. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - VersionConflictException +// An exception thrown when the version of an entity specified with the expectedVersion +// parameter does not match the latest version in the system. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeleteThingGroup(input *DeleteThingGroupInput) (*DeleteThingGroupOutput, error) { req, out := c.DeleteThingGroupRequest(input) return out, req.Send() @@ -6868,14 +6797,13 @@ const opDeleteThingType = "DeleteThingType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteThingTypeRequest method. +// req, resp := client.DeleteThingTypeRequest(params) // -// // Example sending a request using the DeleteThingTypeRequest method. -// req, resp := client.DeleteThingTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteThingTypeRequest(input *DeleteThingTypeInput) (req *request.Request, output *DeleteThingTypeOutput) { op := &request.Operation{ Name: opDeleteThingType, @@ -6912,24 +6840,24 @@ func (c *IoT) DeleteThingTypeRequest(input *DeleteThingTypeInput) (req *request. // API operation DeleteThingType for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeleteThingType(input *DeleteThingTypeInput) (*DeleteThingTypeOutput, error) { req, out := c.DeleteThingTypeRequest(input) return out, req.Send() @@ -6967,14 +6895,13 @@ const opDeleteTopicRule = "DeleteTopicRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTopicRuleRequest method. +// req, resp := client.DeleteTopicRuleRequest(params) // -// // Example sending a request using the DeleteTopicRuleRequest method. -// req, resp := client.DeleteTopicRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteTopicRuleRequest(input *DeleteTopicRuleInput) (req *request.Request, output *DeleteTopicRuleOutput) { op := &request.Operation{ Name: opDeleteTopicRule, @@ -7007,22 +6934,22 @@ func (c *IoT) DeleteTopicRuleRequest(input *DeleteTopicRuleInput) (req *request. // API operation DeleteTopicRule for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ConflictingResourceUpdateException -// A conflicting resource update exception. This exception is thrown when two -// pending updates cause a conflict. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - ConflictingResourceUpdateException +// A conflicting resource update exception. This exception is thrown when two +// pending updates cause a conflict. func (c *IoT) DeleteTopicRule(input *DeleteTopicRuleInput) (*DeleteTopicRuleOutput, error) { req, out := c.DeleteTopicRuleRequest(input) return out, req.Send() @@ -7060,14 +6987,13 @@ const opDeleteTopicRuleDestination = "DeleteTopicRuleDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTopicRuleDestinationRequest method. +// req, resp := client.DeleteTopicRuleDestinationRequest(params) // -// // Example sending a request using the DeleteTopicRuleDestinationRequest method. -// req, resp := client.DeleteTopicRuleDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteTopicRuleDestinationRequest(input *DeleteTopicRuleDestinationInput) (req *request.Request, output *DeleteTopicRuleDestinationOutput) { op := &request.Operation{ Name: opDeleteTopicRuleDestination, @@ -7100,22 +7026,22 @@ func (c *IoT) DeleteTopicRuleDestinationRequest(input *DeleteTopicRuleDestinatio // API operation DeleteTopicRuleDestination for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ConflictingResourceUpdateException -// A conflicting resource update exception. This exception is thrown when two -// pending updates cause a conflict. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - ConflictingResourceUpdateException +// A conflicting resource update exception. This exception is thrown when two +// pending updates cause a conflict. func (c *IoT) DeleteTopicRuleDestination(input *DeleteTopicRuleDestinationInput) (*DeleteTopicRuleDestinationOutput, error) { req, out := c.DeleteTopicRuleDestinationRequest(input) return out, req.Send() @@ -7153,14 +7079,13 @@ const opDeleteV2LoggingLevel = "DeleteV2LoggingLevel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteV2LoggingLevelRequest method. +// req, resp := client.DeleteV2LoggingLevelRequest(params) // -// // Example sending a request using the DeleteV2LoggingLevelRequest method. -// req, resp := client.DeleteV2LoggingLevelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeleteV2LoggingLevelRequest(input *DeleteV2LoggingLevelInput) (req *request.Request, output *DeleteV2LoggingLevelOutput) { op := &request.Operation{ Name: opDeleteV2LoggingLevel, @@ -7193,15 +7118,15 @@ func (c *IoT) DeleteV2LoggingLevelRequest(input *DeleteV2LoggingLevelInput) (req // API operation DeleteV2LoggingLevel for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) DeleteV2LoggingLevel(input *DeleteV2LoggingLevelInput) (*DeleteV2LoggingLevelOutput, error) { req, out := c.DeleteV2LoggingLevelRequest(input) return out, req.Send() @@ -7239,14 +7164,13 @@ const opDeprecateThingType = "DeprecateThingType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeprecateThingTypeRequest method. +// req, resp := client.DeprecateThingTypeRequest(params) // -// // Example sending a request using the DeprecateThingTypeRequest method. -// req, resp := client.DeprecateThingTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DeprecateThingTypeRequest(input *DeprecateThingTypeInput) (req *request.Request, output *DeprecateThingTypeOutput) { op := &request.Operation{ Name: opDeprecateThingType, @@ -7280,24 +7204,24 @@ func (c *IoT) DeprecateThingTypeRequest(input *DeprecateThingTypeInput) (req *re // API operation DeprecateThingType for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DeprecateThingType(input *DeprecateThingTypeInput) (*DeprecateThingTypeOutput, error) { req, out := c.DeprecateThingTypeRequest(input) return out, req.Send() @@ -7335,14 +7259,13 @@ const opDescribeAccountAuditConfiguration = "DescribeAccountAuditConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountAuditConfigurationRequest method. +// req, resp := client.DescribeAccountAuditConfigurationRequest(params) // -// // Example sending a request using the DescribeAccountAuditConfigurationRequest method. -// req, resp := client.DescribeAccountAuditConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeAccountAuditConfigurationRequest(input *DescribeAccountAuditConfigurationInput) (req *request.Request, output *DescribeAccountAuditConfigurationOutput) { op := &request.Operation{ Name: opDescribeAccountAuditConfiguration, @@ -7376,12 +7299,12 @@ func (c *IoT) DescribeAccountAuditConfigurationRequest(input *DescribeAccountAud // API operation DescribeAccountAuditConfiguration for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The rate exceeds the limit. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeAccountAuditConfiguration(input *DescribeAccountAuditConfigurationInput) (*DescribeAccountAuditConfigurationOutput, error) { req, out := c.DescribeAccountAuditConfigurationRequest(input) return out, req.Send() @@ -7419,14 +7342,13 @@ const opDescribeAuditFinding = "DescribeAuditFinding" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAuditFindingRequest method. +// req, resp := client.DescribeAuditFindingRequest(params) // -// // Example sending a request using the DescribeAuditFindingRequest method. -// req, resp := client.DescribeAuditFindingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeAuditFindingRequest(input *DescribeAuditFindingInput) (req *request.Request, output *DescribeAuditFindingOutput) { op := &request.Operation{ Name: opDescribeAuditFinding, @@ -7460,18 +7382,18 @@ func (c *IoT) DescribeAuditFindingRequest(input *DescribeAuditFindingInput) (req // API operation DescribeAuditFinding for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeAuditFinding(input *DescribeAuditFindingInput) (*DescribeAuditFindingOutput, error) { req, out := c.DescribeAuditFindingRequest(input) return out, req.Send() @@ -7509,14 +7431,13 @@ const opDescribeAuditMitigationActionsTask = "DescribeAuditMitigationActionsTask // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAuditMitigationActionsTaskRequest method. +// req, resp := client.DescribeAuditMitigationActionsTaskRequest(params) // -// // Example sending a request using the DescribeAuditMitigationActionsTaskRequest method. -// req, resp := client.DescribeAuditMitigationActionsTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeAuditMitigationActionsTaskRequest(input *DescribeAuditMitigationActionsTaskInput) (req *request.Request, output *DescribeAuditMitigationActionsTaskOutput) { op := &request.Operation{ Name: opDescribeAuditMitigationActionsTask, @@ -7548,18 +7469,18 @@ func (c *IoT) DescribeAuditMitigationActionsTaskRequest(input *DescribeAuditMiti // API operation DescribeAuditMitigationActionsTask for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeAuditMitigationActionsTask(input *DescribeAuditMitigationActionsTaskInput) (*DescribeAuditMitigationActionsTaskOutput, error) { req, out := c.DescribeAuditMitigationActionsTaskRequest(input) return out, req.Send() @@ -7597,14 +7518,13 @@ const opDescribeAuditSuppression = "DescribeAuditSuppression" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAuditSuppressionRequest method. +// req, resp := client.DescribeAuditSuppressionRequest(params) // -// // Example sending a request using the DescribeAuditSuppressionRequest method. -// req, resp := client.DescribeAuditSuppressionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeAuditSuppressionRequest(input *DescribeAuditSuppressionInput) (req *request.Request, output *DescribeAuditSuppressionOutput) { op := &request.Operation{ Name: opDescribeAuditSuppression, @@ -7633,18 +7553,18 @@ func (c *IoT) DescribeAuditSuppressionRequest(input *DescribeAuditSuppressionInp // API operation DescribeAuditSuppression for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeAuditSuppression(input *DescribeAuditSuppressionInput) (*DescribeAuditSuppressionOutput, error) { req, out := c.DescribeAuditSuppressionRequest(input) return out, req.Send() @@ -7682,14 +7602,13 @@ const opDescribeAuditTask = "DescribeAuditTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAuditTaskRequest method. +// req, resp := client.DescribeAuditTaskRequest(params) // -// // Example sending a request using the DescribeAuditTaskRequest method. -// req, resp := client.DescribeAuditTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeAuditTaskRequest(input *DescribeAuditTaskInput) (req *request.Request, output *DescribeAuditTaskOutput) { op := &request.Operation{ Name: opDescribeAuditTask, @@ -7721,18 +7640,18 @@ func (c *IoT) DescribeAuditTaskRequest(input *DescribeAuditTaskInput) (req *requ // API operation DescribeAuditTask for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeAuditTask(input *DescribeAuditTaskInput) (*DescribeAuditTaskOutput, error) { req, out := c.DescribeAuditTaskRequest(input) return out, req.Send() @@ -7770,14 +7689,13 @@ const opDescribeAuthorizer = "DescribeAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAuthorizerRequest method. +// req, resp := client.DescribeAuthorizerRequest(params) // -// // Example sending a request using the DescribeAuthorizerRequest method. -// req, resp := client.DescribeAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeAuthorizerRequest(input *DescribeAuthorizerInput) (req *request.Request, output *DescribeAuthorizerOutput) { op := &request.Operation{ Name: opDescribeAuthorizer, @@ -7809,24 +7727,24 @@ func (c *IoT) DescribeAuthorizerRequest(input *DescribeAuthorizerInput) (req *re // API operation DescribeAuthorizer for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeAuthorizer(input *DescribeAuthorizerInput) (*DescribeAuthorizerOutput, error) { req, out := c.DescribeAuthorizerRequest(input) return out, req.Send() @@ -7864,14 +7782,13 @@ const opDescribeBillingGroup = "DescribeBillingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBillingGroupRequest method. +// req, resp := client.DescribeBillingGroupRequest(params) // -// // Example sending a request using the DescribeBillingGroupRequest method. -// req, resp := client.DescribeBillingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeBillingGroupRequest(input *DescribeBillingGroupInput) (req *request.Request, output *DescribeBillingGroupOutput) { op := &request.Operation{ Name: opDescribeBillingGroup, @@ -7903,18 +7820,18 @@ func (c *IoT) DescribeBillingGroupRequest(input *DescribeBillingGroupInput) (req // API operation DescribeBillingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) DescribeBillingGroup(input *DescribeBillingGroupInput) (*DescribeBillingGroupOutput, error) { req, out := c.DescribeBillingGroupRequest(input) return out, req.Send() @@ -7952,14 +7869,13 @@ const opDescribeCACertificate = "DescribeCACertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCACertificateRequest method. +// req, resp := client.DescribeCACertificateRequest(params) // -// // Example sending a request using the DescribeCACertificateRequest method. -// req, resp := client.DescribeCACertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeCACertificateRequest(input *DescribeCACertificateInput) (req *request.Request, output *DescribeCACertificateOutput) { op := &request.Operation{ Name: opDescribeCACertificate, @@ -7991,24 +7907,24 @@ func (c *IoT) DescribeCACertificateRequest(input *DescribeCACertificateInput) (r // API operation DescribeCACertificate for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) DescribeCACertificate(input *DescribeCACertificateInput) (*DescribeCACertificateOutput, error) { req, out := c.DescribeCACertificateRequest(input) return out, req.Send() @@ -8046,14 +7962,13 @@ const opDescribeCertificate = "DescribeCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCertificateRequest method. +// req, resp := client.DescribeCertificateRequest(params) // -// // Example sending a request using the DescribeCertificateRequest method. -// req, resp := client.DescribeCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeCertificateRequest(input *DescribeCertificateInput) (req *request.Request, output *DescribeCertificateOutput) { op := &request.Operation{ Name: opDescribeCertificate, @@ -8085,24 +8000,24 @@ func (c *IoT) DescribeCertificateRequest(input *DescribeCertificateInput) (req * // API operation DescribeCertificate for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) DescribeCertificate(input *DescribeCertificateInput) (*DescribeCertificateOutput, error) { req, out := c.DescribeCertificateRequest(input) return out, req.Send() @@ -8140,14 +8055,13 @@ const opDescribeCustomMetric = "DescribeCustomMetric" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCustomMetricRequest method. +// req, resp := client.DescribeCustomMetricRequest(params) // -// // Example sending a request using the DescribeCustomMetricRequest method. -// req, resp := client.DescribeCustomMetricRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeCustomMetricRequest(input *DescribeCustomMetricInput) (req *request.Request, output *DescribeCustomMetricOutput) { op := &request.Operation{ Name: opDescribeCustomMetric, @@ -8179,18 +8093,18 @@ func (c *IoT) DescribeCustomMetricRequest(input *DescribeCustomMetricInput) (req // API operation DescribeCustomMetric for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeCustomMetric(input *DescribeCustomMetricInput) (*DescribeCustomMetricOutput, error) { req, out := c.DescribeCustomMetricRequest(input) return out, req.Send() @@ -8228,14 +8142,13 @@ const opDescribeDefaultAuthorizer = "DescribeDefaultAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDefaultAuthorizerRequest method. +// req, resp := client.DescribeDefaultAuthorizerRequest(params) // -// // Example sending a request using the DescribeDefaultAuthorizerRequest method. -// req, resp := client.DescribeDefaultAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeDefaultAuthorizerRequest(input *DescribeDefaultAuthorizerInput) (req *request.Request, output *DescribeDefaultAuthorizerOutput) { op := &request.Operation{ Name: opDescribeDefaultAuthorizer, @@ -8267,24 +8180,24 @@ func (c *IoT) DescribeDefaultAuthorizerRequest(input *DescribeDefaultAuthorizerI // API operation DescribeDefaultAuthorizer for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeDefaultAuthorizer(input *DescribeDefaultAuthorizerInput) (*DescribeDefaultAuthorizerOutput, error) { req, out := c.DescribeDefaultAuthorizerRequest(input) return out, req.Send() @@ -8322,14 +8235,13 @@ const opDescribeDetectMitigationActionsTask = "DescribeDetectMitigationActionsTa // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDetectMitigationActionsTaskRequest method. +// req, resp := client.DescribeDetectMitigationActionsTaskRequest(params) // -// // Example sending a request using the DescribeDetectMitigationActionsTaskRequest method. -// req, resp := client.DescribeDetectMitigationActionsTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeDetectMitigationActionsTaskRequest(input *DescribeDetectMitigationActionsTaskInput) (req *request.Request, output *DescribeDetectMitigationActionsTaskOutput) { op := &request.Operation{ Name: opDescribeDetectMitigationActionsTask, @@ -8361,18 +8273,18 @@ func (c *IoT) DescribeDetectMitigationActionsTaskRequest(input *DescribeDetectMi // API operation DescribeDetectMitigationActionsTask for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeDetectMitigationActionsTask(input *DescribeDetectMitigationActionsTaskInput) (*DescribeDetectMitigationActionsTaskOutput, error) { req, out := c.DescribeDetectMitigationActionsTaskRequest(input) return out, req.Send() @@ -8410,14 +8322,13 @@ const opDescribeDimension = "DescribeDimension" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDimensionRequest method. +// req, resp := client.DescribeDimensionRequest(params) // -// // Example sending a request using the DescribeDimensionRequest method. -// req, resp := client.DescribeDimensionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeDimensionRequest(input *DescribeDimensionInput) (req *request.Request, output *DescribeDimensionOutput) { op := &request.Operation{ Name: opDescribeDimension, @@ -8450,18 +8361,18 @@ func (c *IoT) DescribeDimensionRequest(input *DescribeDimensionInput) (req *requ // API operation DescribeDimension for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) DescribeDimension(input *DescribeDimensionInput) (*DescribeDimensionOutput, error) { req, out := c.DescribeDimensionRequest(input) return out, req.Send() @@ -8499,14 +8410,13 @@ const opDescribeDomainConfiguration = "DescribeDomainConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainConfigurationRequest method. +// req, resp := client.DescribeDomainConfigurationRequest(params) // -// // Example sending a request using the DescribeDomainConfigurationRequest method. -// req, resp := client.DescribeDomainConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeDomainConfigurationRequest(input *DescribeDomainConfigurationInput) (req *request.Request, output *DescribeDomainConfigurationOutput) { op := &request.Operation{ Name: opDescribeDomainConfiguration, @@ -8538,24 +8448,24 @@ func (c *IoT) DescribeDomainConfigurationRequest(input *DescribeDomainConfigurat // API operation DescribeDomainConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ThrottlingException +// The rate exceeds the limit. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - InvalidRequestException +// The request is not valid. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeDomainConfiguration(input *DescribeDomainConfigurationInput) (*DescribeDomainConfigurationOutput, error) { req, out := c.DescribeDomainConfigurationRequest(input) return out, req.Send() @@ -8593,14 +8503,13 @@ const opDescribeEndpoint = "DescribeEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointRequest method. +// req, resp := client.DescribeEndpointRequest(params) // -// // Example sending a request using the DescribeEndpointRequest method. -// req, resp := client.DescribeEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeEndpointRequest(input *DescribeEndpointInput) (req *request.Request, output *DescribeEndpointOutput) { op := &request.Operation{ Name: opDescribeEndpoint, @@ -8633,18 +8542,18 @@ func (c *IoT) DescribeEndpointRequest(input *DescribeEndpointInput) (req *reques // API operation DescribeEndpoint for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) DescribeEndpoint(input *DescribeEndpointInput) (*DescribeEndpointOutput, error) { req, out := c.DescribeEndpointRequest(input) return out, req.Send() @@ -8682,14 +8591,13 @@ const opDescribeEventConfigurations = "DescribeEventConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventConfigurationsRequest method. +// req, resp := client.DescribeEventConfigurationsRequest(params) // -// // Example sending a request using the DescribeEventConfigurationsRequest method. -// req, resp := client.DescribeEventConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeEventConfigurationsRequest(input *DescribeEventConfigurationsInput) (req *request.Request, output *DescribeEventConfigurationsOutput) { op := &request.Operation{ Name: opDescribeEventConfigurations, @@ -8721,12 +8629,12 @@ func (c *IoT) DescribeEventConfigurationsRequest(input *DescribeEventConfigurati // API operation DescribeEventConfigurations for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - InternalFailureException +// An unexpected error has occurred. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) DescribeEventConfigurations(input *DescribeEventConfigurationsInput) (*DescribeEventConfigurationsOutput, error) { req, out := c.DescribeEventConfigurationsRequest(input) return out, req.Send() @@ -8764,14 +8672,13 @@ const opDescribeFleetMetric = "DescribeFleetMetric" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFleetMetricRequest method. +// req, resp := client.DescribeFleetMetricRequest(params) // -// // Example sending a request using the DescribeFleetMetricRequest method. -// req, resp := client.DescribeFleetMetricRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeFleetMetricRequest(input *DescribeFleetMetricInput) (req *request.Request, output *DescribeFleetMetricOutput) { op := &request.Operation{ Name: opDescribeFleetMetric, @@ -8803,24 +8710,24 @@ func (c *IoT) DescribeFleetMetricRequest(input *DescribeFleetMetricInput) (req * // API operation DescribeFleetMetric for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) DescribeFleetMetric(input *DescribeFleetMetricInput) (*DescribeFleetMetricOutput, error) { req, out := c.DescribeFleetMetricRequest(input) return out, req.Send() @@ -8858,14 +8765,13 @@ const opDescribeIndex = "DescribeIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIndexRequest method. +// req, resp := client.DescribeIndexRequest(params) // -// // Example sending a request using the DescribeIndexRequest method. -// req, resp := client.DescribeIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeIndexRequest(input *DescribeIndexInput) (req *request.Request, output *DescribeIndexOutput) { op := &request.Operation{ Name: opDescribeIndex, @@ -8897,24 +8803,24 @@ func (c *IoT) DescribeIndexRequest(input *DescribeIndexInput) (req *request.Requ // API operation DescribeIndex for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) DescribeIndex(input *DescribeIndexInput) (*DescribeIndexOutput, error) { req, out := c.DescribeIndexRequest(input) return out, req.Send() @@ -8952,14 +8858,13 @@ const opDescribeJob = "DescribeJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobRequest method. +// req, resp := client.DescribeJobRequest(params) // -// // Example sending a request using the DescribeJobRequest method. -// req, resp := client.DescribeJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeJobRequest(input *DescribeJobInput) (req *request.Request, output *DescribeJobOutput) { op := &request.Operation{ Name: opDescribeJob, @@ -8991,18 +8896,18 @@ func (c *IoT) DescribeJobRequest(input *DescribeJobInput) (req *request.Request, // API operation DescribeJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ThrottlingException +// The rate exceeds the limit. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) DescribeJob(input *DescribeJobInput) (*DescribeJobOutput, error) { req, out := c.DescribeJobRequest(input) return out, req.Send() @@ -9040,14 +8945,13 @@ const opDescribeJobExecution = "DescribeJobExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobExecutionRequest method. +// req, resp := client.DescribeJobExecutionRequest(params) // -// // Example sending a request using the DescribeJobExecutionRequest method. -// req, resp := client.DescribeJobExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeJobExecutionRequest(input *DescribeJobExecutionInput) (req *request.Request, output *DescribeJobExecutionOutput) { op := &request.Operation{ Name: opDescribeJobExecution, @@ -9079,18 +8983,18 @@ func (c *IoT) DescribeJobExecutionRequest(input *DescribeJobExecutionInput) (req // API operation DescribeJobExecution for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ThrottlingException +// The rate exceeds the limit. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) DescribeJobExecution(input *DescribeJobExecutionInput) (*DescribeJobExecutionOutput, error) { req, out := c.DescribeJobExecutionRequest(input) return out, req.Send() @@ -9128,14 +9032,13 @@ const opDescribeJobTemplate = "DescribeJobTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobTemplateRequest method. +// req, resp := client.DescribeJobTemplateRequest(params) // -// // Example sending a request using the DescribeJobTemplateRequest method. -// req, resp := client.DescribeJobTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeJobTemplateRequest(input *DescribeJobTemplateInput) (req *request.Request, output *DescribeJobTemplateOutput) { op := &request.Operation{ Name: opDescribeJobTemplate, @@ -9164,18 +9067,18 @@ func (c *IoT) DescribeJobTemplateRequest(input *DescribeJobTemplateInput) (req * // API operation DescribeJobTemplate for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeJobTemplate(input *DescribeJobTemplateInput) (*DescribeJobTemplateOutput, error) { req, out := c.DescribeJobTemplateRequest(input) return out, req.Send() @@ -9213,14 +9116,13 @@ const opDescribeManagedJobTemplate = "DescribeManagedJobTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeManagedJobTemplateRequest method. +// req, resp := client.DescribeManagedJobTemplateRequest(params) // -// // Example sending a request using the DescribeManagedJobTemplateRequest method. -// req, resp := client.DescribeManagedJobTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeManagedJobTemplateRequest(input *DescribeManagedJobTemplateInput) (req *request.Request, output *DescribeManagedJobTemplateOutput) { op := &request.Operation{ Name: opDescribeManagedJobTemplate, @@ -9249,19 +9151,19 @@ func (c *IoT) DescribeManagedJobTemplateRequest(input *DescribeManagedJobTemplat // API operation DescribeManagedJobTemplate for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalServerException -// Internal error from the service that indicates an unexpected error or that -// the service is unavailable. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalServerException +// Internal error from the service that indicates an unexpected error or that +// the service is unavailable. func (c *IoT) DescribeManagedJobTemplate(input *DescribeManagedJobTemplateInput) (*DescribeManagedJobTemplateOutput, error) { req, out := c.DescribeManagedJobTemplateRequest(input) return out, req.Send() @@ -9299,14 +9201,13 @@ const opDescribeMitigationAction = "DescribeMitigationAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMitigationActionRequest method. +// req, resp := client.DescribeMitigationActionRequest(params) // -// // Example sending a request using the DescribeMitigationActionRequest method. -// req, resp := client.DescribeMitigationActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeMitigationActionRequest(input *DescribeMitigationActionInput) (req *request.Request, output *DescribeMitigationActionOutput) { op := &request.Operation{ Name: opDescribeMitigationAction, @@ -9338,18 +9239,18 @@ func (c *IoT) DescribeMitigationActionRequest(input *DescribeMitigationActionInp // API operation DescribeMitigationAction for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeMitigationAction(input *DescribeMitigationActionInput) (*DescribeMitigationActionOutput, error) { req, out := c.DescribeMitigationActionRequest(input) return out, req.Send() @@ -9387,14 +9288,13 @@ const opDescribeProvisioningTemplate = "DescribeProvisioningTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProvisioningTemplateRequest method. +// req, resp := client.DescribeProvisioningTemplateRequest(params) // -// // Example sending a request using the DescribeProvisioningTemplateRequest method. -// req, resp := client.DescribeProvisioningTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeProvisioningTemplateRequest(input *DescribeProvisioningTemplateInput) (req *request.Request, output *DescribeProvisioningTemplateOutput) { op := &request.Operation{ Name: opDescribeProvisioningTemplate, @@ -9426,21 +9326,21 @@ func (c *IoT) DescribeProvisioningTemplateRequest(input *DescribeProvisioningTem // API operation DescribeProvisioningTemplate for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // +// - UnauthorizedException +// You are not authorized to perform this operation. func (c *IoT) DescribeProvisioningTemplate(input *DescribeProvisioningTemplateInput) (*DescribeProvisioningTemplateOutput, error) { req, out := c.DescribeProvisioningTemplateRequest(input) return out, req.Send() @@ -9478,14 +9378,13 @@ const opDescribeProvisioningTemplateVersion = "DescribeProvisioningTemplateVersi // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProvisioningTemplateVersionRequest method. +// req, resp := client.DescribeProvisioningTemplateVersionRequest(params) // -// // Example sending a request using the DescribeProvisioningTemplateVersionRequest method. -// req, resp := client.DescribeProvisioningTemplateVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeProvisioningTemplateVersionRequest(input *DescribeProvisioningTemplateVersionInput) (req *request.Request, output *DescribeProvisioningTemplateVersionOutput) { op := &request.Operation{ Name: opDescribeProvisioningTemplateVersion, @@ -9517,21 +9416,21 @@ func (c *IoT) DescribeProvisioningTemplateVersionRequest(input *DescribeProvisio // API operation DescribeProvisioningTemplateVersion for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ThrottlingException +// The rate exceeds the limit. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ResourceNotFoundException +// The specified resource does not exist. // +// - UnauthorizedException +// You are not authorized to perform this operation. func (c *IoT) DescribeProvisioningTemplateVersion(input *DescribeProvisioningTemplateVersionInput) (*DescribeProvisioningTemplateVersionOutput, error) { req, out := c.DescribeProvisioningTemplateVersionRequest(input) return out, req.Send() @@ -9569,14 +9468,13 @@ const opDescribeRoleAlias = "DescribeRoleAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRoleAliasRequest method. +// req, resp := client.DescribeRoleAliasRequest(params) // -// // Example sending a request using the DescribeRoleAliasRequest method. -// req, resp := client.DescribeRoleAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeRoleAliasRequest(input *DescribeRoleAliasInput) (req *request.Request, output *DescribeRoleAliasOutput) { op := &request.Operation{ Name: opDescribeRoleAlias, @@ -9608,24 +9506,24 @@ func (c *IoT) DescribeRoleAliasRequest(input *DescribeRoleAliasInput) (req *requ // API operation DescribeRoleAlias for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) DescribeRoleAlias(input *DescribeRoleAliasInput) (*DescribeRoleAliasOutput, error) { req, out := c.DescribeRoleAliasRequest(input) return out, req.Send() @@ -9663,14 +9561,13 @@ const opDescribeScheduledAudit = "DescribeScheduledAudit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScheduledAuditRequest method. +// req, resp := client.DescribeScheduledAuditRequest(params) // -// // Example sending a request using the DescribeScheduledAuditRequest method. -// req, resp := client.DescribeScheduledAuditRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeScheduledAuditRequest(input *DescribeScheduledAuditInput) (req *request.Request, output *DescribeScheduledAuditOutput) { op := &request.Operation{ Name: opDescribeScheduledAudit, @@ -9702,18 +9599,18 @@ func (c *IoT) DescribeScheduledAuditRequest(input *DescribeScheduledAuditInput) // API operation DescribeScheduledAudit for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeScheduledAudit(input *DescribeScheduledAuditInput) (*DescribeScheduledAuditOutput, error) { req, out := c.DescribeScheduledAuditRequest(input) return out, req.Send() @@ -9751,14 +9648,13 @@ const opDescribeSecurityProfile = "DescribeSecurityProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSecurityProfileRequest method. +// req, resp := client.DescribeSecurityProfileRequest(params) // -// // Example sending a request using the DescribeSecurityProfileRequest method. -// req, resp := client.DescribeSecurityProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeSecurityProfileRequest(input *DescribeSecurityProfileInput) (req *request.Request, output *DescribeSecurityProfileOutput) { op := &request.Operation{ Name: opDescribeSecurityProfile, @@ -9790,18 +9686,18 @@ func (c *IoT) DescribeSecurityProfileRequest(input *DescribeSecurityProfileInput // API operation DescribeSecurityProfile for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeSecurityProfile(input *DescribeSecurityProfileInput) (*DescribeSecurityProfileOutput, error) { req, out := c.DescribeSecurityProfileRequest(input) return out, req.Send() @@ -9839,14 +9735,13 @@ const opDescribeStream = "DescribeStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStreamRequest method. +// req, resp := client.DescribeStreamRequest(params) // -// // Example sending a request using the DescribeStreamRequest method. -// req, resp := client.DescribeStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeStreamRequest(input *DescribeStreamInput) (req *request.Request, output *DescribeStreamOutput) { op := &request.Operation{ Name: opDescribeStream, @@ -9878,24 +9773,24 @@ func (c *IoT) DescribeStreamRequest(input *DescribeStreamInput) (req *request.Re // API operation DescribeStream for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeStream(input *DescribeStreamInput) (*DescribeStreamOutput, error) { req, out := c.DescribeStreamRequest(input) return out, req.Send() @@ -9933,14 +9828,13 @@ const opDescribeThing = "DescribeThing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeThingRequest method. +// req, resp := client.DescribeThingRequest(params) // -// // Example sending a request using the DescribeThingRequest method. -// req, resp := client.DescribeThingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeThingRequest(input *DescribeThingInput) (req *request.Request, output *DescribeThingOutput) { op := &request.Operation{ Name: opDescribeThing, @@ -9972,24 +9866,24 @@ func (c *IoT) DescribeThingRequest(input *DescribeThingInput) (req *request.Requ // API operation DescribeThing for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeThing(input *DescribeThingInput) (*DescribeThingOutput, error) { req, out := c.DescribeThingRequest(input) return out, req.Send() @@ -10027,14 +9921,13 @@ const opDescribeThingGroup = "DescribeThingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeThingGroupRequest method. +// req, resp := client.DescribeThingGroupRequest(params) // -// // Example sending a request using the DescribeThingGroupRequest method. -// req, resp := client.DescribeThingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeThingGroupRequest(input *DescribeThingGroupInput) (req *request.Request, output *DescribeThingGroupOutput) { op := &request.Operation{ Name: opDescribeThingGroup, @@ -10066,18 +9959,18 @@ func (c *IoT) DescribeThingGroupRequest(input *DescribeThingGroupInput) (req *re // API operation DescribeThingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) DescribeThingGroup(input *DescribeThingGroupInput) (*DescribeThingGroupOutput, error) { req, out := c.DescribeThingGroupRequest(input) return out, req.Send() @@ -10115,14 +10008,13 @@ const opDescribeThingRegistrationTask = "DescribeThingRegistrationTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeThingRegistrationTaskRequest method. +// req, resp := client.DescribeThingRegistrationTaskRequest(params) // -// // Example sending a request using the DescribeThingRegistrationTaskRequest method. -// req, resp := client.DescribeThingRegistrationTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeThingRegistrationTaskRequest(input *DescribeThingRegistrationTaskInput) (req *request.Request, output *DescribeThingRegistrationTaskOutput) { op := &request.Operation{ Name: opDescribeThingRegistrationTask, @@ -10154,21 +10046,21 @@ func (c *IoT) DescribeThingRegistrationTaskRequest(input *DescribeThingRegistrat // API operation DescribeThingRegistrationTask for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * InternalFailureException -// An unexpected error has occurred. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) DescribeThingRegistrationTask(input *DescribeThingRegistrationTaskInput) (*DescribeThingRegistrationTaskOutput, error) { req, out := c.DescribeThingRegistrationTaskRequest(input) return out, req.Send() @@ -10206,14 +10098,13 @@ const opDescribeThingType = "DescribeThingType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeThingTypeRequest method. +// req, resp := client.DescribeThingTypeRequest(params) // -// // Example sending a request using the DescribeThingTypeRequest method. -// req, resp := client.DescribeThingTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DescribeThingTypeRequest(input *DescribeThingTypeInput) (req *request.Request, output *DescribeThingTypeOutput) { op := &request.Operation{ Name: opDescribeThingType, @@ -10245,24 +10136,24 @@ func (c *IoT) DescribeThingTypeRequest(input *DescribeThingTypeInput) (req *requ // API operation DescribeThingType for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DescribeThingType(input *DescribeThingTypeInput) (*DescribeThingTypeOutput, error) { req, out := c.DescribeThingTypeRequest(input) return out, req.Send() @@ -10300,14 +10191,13 @@ const opDetachPolicy = "DetachPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachPolicyRequest method. +// req, resp := client.DetachPolicyRequest(params) // -// // Example sending a request using the DetachPolicyRequest method. -// req, resp := client.DetachPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DetachPolicyRequest(input *DetachPolicyInput) (req *request.Request, output *DetachPolicyOutput) { op := &request.Operation{ Name: opDetachPolicy, @@ -10343,24 +10233,24 @@ func (c *IoT) DetachPolicyRequest(input *DetachPolicyInput) (req *request.Reques // API operation DetachPolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * LimitExceededException -// A limit has been exceeded. +// - InternalFailureException +// An unexpected error has occurred. // +// - LimitExceededException +// A limit has been exceeded. func (c *IoT) DetachPolicy(input *DetachPolicyInput) (*DetachPolicyOutput, error) { req, out := c.DetachPolicyRequest(input) return out, req.Send() @@ -10398,14 +10288,13 @@ const opDetachPrincipalPolicy = "DetachPrincipalPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachPrincipalPolicyRequest method. +// req, resp := client.DetachPrincipalPolicyRequest(params) // -// // Example sending a request using the DetachPrincipalPolicyRequest method. -// req, resp := client.DetachPrincipalPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // Deprecated: DetachPrincipalPolicy has been deprecated func (c *IoT) DetachPrincipalPolicyRequest(input *DetachPrincipalPolicyInput) (req *request.Request, output *DetachPrincipalPolicyOutput) { @@ -10445,24 +10334,24 @@ func (c *IoT) DetachPrincipalPolicyRequest(input *DetachPrincipalPolicyInput) (r // API operation DetachPrincipalPolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. // // Deprecated: DetachPrincipalPolicy has been deprecated func (c *IoT) DetachPrincipalPolicy(input *DetachPrincipalPolicyInput) (*DetachPrincipalPolicyOutput, error) { @@ -10504,14 +10393,13 @@ const opDetachSecurityProfile = "DetachSecurityProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachSecurityProfileRequest method. +// req, resp := client.DetachSecurityProfileRequest(params) // -// // Example sending a request using the DetachSecurityProfileRequest method. -// req, resp := client.DetachSecurityProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DetachSecurityProfileRequest(input *DetachSecurityProfileInput) (req *request.Request, output *DetachSecurityProfileOutput) { op := &request.Operation{ Name: opDetachSecurityProfile, @@ -10545,18 +10433,18 @@ func (c *IoT) DetachSecurityProfileRequest(input *DetachSecurityProfileInput) (r // API operation DetachSecurityProfile for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DetachSecurityProfile(input *DetachSecurityProfileInput) (*DetachSecurityProfileOutput, error) { req, out := c.DetachSecurityProfileRequest(input) return out, req.Send() @@ -10594,14 +10482,13 @@ const opDetachThingPrincipal = "DetachThingPrincipal" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachThingPrincipalRequest method. +// req, resp := client.DetachThingPrincipalRequest(params) // -// // Example sending a request using the DetachThingPrincipalRequest method. -// req, resp := client.DetachThingPrincipalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DetachThingPrincipalRequest(input *DetachThingPrincipalInput) (req *request.Request, output *DetachThingPrincipalOutput) { op := &request.Operation{ Name: opDetachThingPrincipal, @@ -10639,24 +10526,24 @@ func (c *IoT) DetachThingPrincipalRequest(input *DetachThingPrincipalInput) (req // API operation DetachThingPrincipal for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) DetachThingPrincipal(input *DetachThingPrincipalInput) (*DetachThingPrincipalOutput, error) { req, out := c.DetachThingPrincipalRequest(input) return out, req.Send() @@ -10694,14 +10581,13 @@ const opDisableTopicRule = "DisableTopicRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableTopicRuleRequest method. +// req, resp := client.DisableTopicRuleRequest(params) // -// // Example sending a request using the DisableTopicRuleRequest method. -// req, resp := client.DisableTopicRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) DisableTopicRuleRequest(input *DisableTopicRuleInput) (req *request.Request, output *DisableTopicRuleOutput) { op := &request.Operation{ Name: opDisableTopicRule, @@ -10734,22 +10620,22 @@ func (c *IoT) DisableTopicRuleRequest(input *DisableTopicRuleInput) (req *reques // API operation DisableTopicRule for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ConflictingResourceUpdateException -// A conflicting resource update exception. This exception is thrown when two -// pending updates cause a conflict. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - ConflictingResourceUpdateException +// A conflicting resource update exception. This exception is thrown when two +// pending updates cause a conflict. func (c *IoT) DisableTopicRule(input *DisableTopicRuleInput) (*DisableTopicRuleOutput, error) { req, out := c.DisableTopicRuleRequest(input) return out, req.Send() @@ -10787,14 +10673,13 @@ const opEnableTopicRule = "EnableTopicRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableTopicRuleRequest method. +// req, resp := client.EnableTopicRuleRequest(params) // -// // Example sending a request using the EnableTopicRuleRequest method. -// req, resp := client.EnableTopicRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) EnableTopicRuleRequest(input *EnableTopicRuleInput) (req *request.Request, output *EnableTopicRuleOutput) { op := &request.Operation{ Name: opEnableTopicRule, @@ -10827,22 +10712,22 @@ func (c *IoT) EnableTopicRuleRequest(input *EnableTopicRuleInput) (req *request. // API operation EnableTopicRule for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ConflictingResourceUpdateException -// A conflicting resource update exception. This exception is thrown when two -// pending updates cause a conflict. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - ConflictingResourceUpdateException +// A conflicting resource update exception. This exception is thrown when two +// pending updates cause a conflict. func (c *IoT) EnableTopicRule(input *EnableTopicRuleInput) (*EnableTopicRuleOutput, error) { req, out := c.EnableTopicRuleRequest(input) return out, req.Send() @@ -10880,14 +10765,13 @@ const opGetBehaviorModelTrainingSummaries = "GetBehaviorModelTrainingSummaries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBehaviorModelTrainingSummariesRequest method. +// req, resp := client.GetBehaviorModelTrainingSummariesRequest(params) // -// // Example sending a request using the GetBehaviorModelTrainingSummariesRequest method. -// req, resp := client.GetBehaviorModelTrainingSummariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetBehaviorModelTrainingSummariesRequest(input *GetBehaviorModelTrainingSummariesInput) (req *request.Request, output *GetBehaviorModelTrainingSummariesOutput) { op := &request.Operation{ Name: opGetBehaviorModelTrainingSummaries, @@ -10925,18 +10809,18 @@ func (c *IoT) GetBehaviorModelTrainingSummariesRequest(input *GetBehaviorModelTr // API operation GetBehaviorModelTrainingSummaries for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) GetBehaviorModelTrainingSummaries(input *GetBehaviorModelTrainingSummariesInput) (*GetBehaviorModelTrainingSummariesOutput, error) { req, out := c.GetBehaviorModelTrainingSummariesRequest(input) return out, req.Send() @@ -10966,15 +10850,14 @@ func (c *IoT) GetBehaviorModelTrainingSummariesWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetBehaviorModelTrainingSummaries operation. -// pageNum := 0 -// err := client.GetBehaviorModelTrainingSummariesPages(params, -// func(page *iot.GetBehaviorModelTrainingSummariesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetBehaviorModelTrainingSummaries operation. +// pageNum := 0 +// err := client.GetBehaviorModelTrainingSummariesPages(params, +// func(page *iot.GetBehaviorModelTrainingSummariesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) GetBehaviorModelTrainingSummariesPages(input *GetBehaviorModelTrainingSummariesInput, fn func(*GetBehaviorModelTrainingSummariesOutput, bool) bool) error { return c.GetBehaviorModelTrainingSummariesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11026,14 +10909,13 @@ const opGetBucketsAggregation = "GetBucketsAggregation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketsAggregationRequest method. +// req, resp := client.GetBucketsAggregationRequest(params) // -// // Example sending a request using the GetBucketsAggregationRequest method. -// req, resp := client.GetBucketsAggregationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetBucketsAggregationRequest(input *GetBucketsAggregationInput) (req *request.Request, output *GetBucketsAggregationOutput) { op := &request.Operation{ Name: opGetBucketsAggregation, @@ -11065,33 +10947,33 @@ func (c *IoT) GetBucketsAggregationRequest(input *GetBucketsAggregationInput) (r // API operation GetBucketsAggregation for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // -// * InvalidQueryException -// The query is invalid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InvalidAggregationException -// The aggregation is invalid. +// - InvalidQueryException +// The query is invalid. // -// * IndexNotReadyException -// The index is not ready. +// - InvalidAggregationException +// The aggregation is invalid. // +// - IndexNotReadyException +// The index is not ready. func (c *IoT) GetBucketsAggregation(input *GetBucketsAggregationInput) (*GetBucketsAggregationOutput, error) { req, out := c.GetBucketsAggregationRequest(input) return out, req.Send() @@ -11129,14 +11011,13 @@ const opGetCardinality = "GetCardinality" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCardinalityRequest method. +// req, resp := client.GetCardinalityRequest(params) // -// // Example sending a request using the GetCardinalityRequest method. -// req, resp := client.GetCardinalityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetCardinalityRequest(input *GetCardinalityInput) (req *request.Request, output *GetCardinalityOutput) { op := &request.Operation{ Name: opGetCardinality, @@ -11168,33 +11049,33 @@ func (c *IoT) GetCardinalityRequest(input *GetCardinalityInput) (req *request.Re // API operation GetCardinality for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // -// * InvalidQueryException -// The query is invalid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InvalidAggregationException -// The aggregation is invalid. +// - InvalidQueryException +// The query is invalid. // -// * IndexNotReadyException -// The index is not ready. +// - InvalidAggregationException +// The aggregation is invalid. // +// - IndexNotReadyException +// The index is not ready. func (c *IoT) GetCardinality(input *GetCardinalityInput) (*GetCardinalityOutput, error) { req, out := c.GetCardinalityRequest(input) return out, req.Send() @@ -11232,14 +11113,13 @@ const opGetEffectivePolicies = "GetEffectivePolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEffectivePoliciesRequest method. +// req, resp := client.GetEffectivePoliciesRequest(params) // -// // Example sending a request using the GetEffectivePoliciesRequest method. -// req, resp := client.GetEffectivePoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetEffectivePoliciesRequest(input *GetEffectivePoliciesInput) (req *request.Request, output *GetEffectivePoliciesOutput) { op := &request.Operation{ Name: opGetEffectivePolicies, @@ -11272,27 +11152,27 @@ func (c *IoT) GetEffectivePoliciesRequest(input *GetEffectivePoliciesInput) (req // API operation GetEffectivePolicies for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * LimitExceededException -// A limit has been exceeded. +// - InternalFailureException +// An unexpected error has occurred. // +// - LimitExceededException +// A limit has been exceeded. func (c *IoT) GetEffectivePolicies(input *GetEffectivePoliciesInput) (*GetEffectivePoliciesOutput, error) { req, out := c.GetEffectivePoliciesRequest(input) return out, req.Send() @@ -11330,14 +11210,13 @@ const opGetIndexingConfiguration = "GetIndexingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIndexingConfigurationRequest method. +// req, resp := client.GetIndexingConfigurationRequest(params) // -// // Example sending a request using the GetIndexingConfigurationRequest method. -// req, resp := client.GetIndexingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetIndexingConfigurationRequest(input *GetIndexingConfigurationInput) (req *request.Request, output *GetIndexingConfigurationOutput) { op := &request.Operation{ Name: opGetIndexingConfiguration, @@ -11369,21 +11248,21 @@ func (c *IoT) GetIndexingConfigurationRequest(input *GetIndexingConfigurationInp // API operation GetIndexingConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) GetIndexingConfiguration(input *GetIndexingConfigurationInput) (*GetIndexingConfigurationOutput, error) { req, out := c.GetIndexingConfigurationRequest(input) return out, req.Send() @@ -11421,14 +11300,13 @@ const opGetJobDocument = "GetJobDocument" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobDocumentRequest method. +// req, resp := client.GetJobDocumentRequest(params) // -// // Example sending a request using the GetJobDocumentRequest method. -// req, resp := client.GetJobDocumentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetJobDocumentRequest(input *GetJobDocumentInput) (req *request.Request, output *GetJobDocumentOutput) { op := &request.Operation{ Name: opGetJobDocument, @@ -11460,18 +11338,18 @@ func (c *IoT) GetJobDocumentRequest(input *GetJobDocumentInput) (req *request.Re // API operation GetJobDocument for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ThrottlingException +// The rate exceeds the limit. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) GetJobDocument(input *GetJobDocumentInput) (*GetJobDocumentOutput, error) { req, out := c.GetJobDocumentRequest(input) return out, req.Send() @@ -11509,14 +11387,13 @@ const opGetLoggingOptions = "GetLoggingOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLoggingOptionsRequest method. +// req, resp := client.GetLoggingOptionsRequest(params) // -// // Example sending a request using the GetLoggingOptionsRequest method. -// req, resp := client.GetLoggingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetLoggingOptionsRequest(input *GetLoggingOptionsInput) (req *request.Request, output *GetLoggingOptionsOutput) { op := &request.Operation{ Name: opGetLoggingOptions, @@ -11550,15 +11427,15 @@ func (c *IoT) GetLoggingOptionsRequest(input *GetLoggingOptionsInput) (req *requ // API operation GetLoggingOptions for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) GetLoggingOptions(input *GetLoggingOptionsInput) (*GetLoggingOptionsOutput, error) { req, out := c.GetLoggingOptionsRequest(input) return out, req.Send() @@ -11596,14 +11473,13 @@ const opGetOTAUpdate = "GetOTAUpdate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOTAUpdateRequest method. +// req, resp := client.GetOTAUpdateRequest(params) // -// // Example sending a request using the GetOTAUpdateRequest method. -// req, resp := client.GetOTAUpdateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetOTAUpdateRequest(input *GetOTAUpdateInput) (req *request.Request, output *GetOTAUpdateOutput) { op := &request.Operation{ Name: opGetOTAUpdate, @@ -11635,24 +11511,24 @@ func (c *IoT) GetOTAUpdateRequest(input *GetOTAUpdateInput) (req *request.Reques // API operation GetOTAUpdate for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * InternalFailureException -// An unexpected error has occurred. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// An unexpected error has occurred. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) GetOTAUpdate(input *GetOTAUpdateInput) (*GetOTAUpdateOutput, error) { req, out := c.GetOTAUpdateRequest(input) return out, req.Send() @@ -11690,14 +11566,13 @@ const opGetPercentiles = "GetPercentiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPercentilesRequest method. +// req, resp := client.GetPercentilesRequest(params) // -// // Example sending a request using the GetPercentilesRequest method. -// req, resp := client.GetPercentilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetPercentilesRequest(input *GetPercentilesInput) (req *request.Request, output *GetPercentilesOutput) { op := &request.Operation{ Name: opGetPercentiles, @@ -11738,33 +11613,33 @@ func (c *IoT) GetPercentilesRequest(input *GetPercentilesInput) (req *request.Re // API operation GetPercentiles for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // -// * InvalidQueryException -// The query is invalid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InvalidAggregationException -// The aggregation is invalid. +// - InvalidQueryException +// The query is invalid. // -// * IndexNotReadyException -// The index is not ready. +// - InvalidAggregationException +// The aggregation is invalid. // +// - IndexNotReadyException +// The index is not ready. func (c *IoT) GetPercentiles(input *GetPercentilesInput) (*GetPercentilesOutput, error) { req, out := c.GetPercentilesRequest(input) return out, req.Send() @@ -11802,14 +11677,13 @@ const opGetPolicy = "GetPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPolicyRequest method. +// req, resp := client.GetPolicyRequest(params) // -// // Example sending a request using the GetPolicyRequest method. -// req, resp := client.GetPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput) { op := &request.Operation{ Name: opGetPolicy, @@ -11842,24 +11716,24 @@ func (c *IoT) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, out // API operation GetPolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error) { req, out := c.GetPolicyRequest(input) return out, req.Send() @@ -11897,14 +11771,13 @@ const opGetPolicyVersion = "GetPolicyVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPolicyVersionRequest method. +// req, resp := client.GetPolicyVersionRequest(params) // -// // Example sending a request using the GetPolicyVersionRequest method. -// req, resp := client.GetPolicyVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetPolicyVersionRequest(input *GetPolicyVersionInput) (req *request.Request, output *GetPolicyVersionOutput) { op := &request.Operation{ Name: opGetPolicyVersion, @@ -11936,24 +11809,24 @@ func (c *IoT) GetPolicyVersionRequest(input *GetPolicyVersionInput) (req *reques // API operation GetPolicyVersion for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) GetPolicyVersion(input *GetPolicyVersionInput) (*GetPolicyVersionOutput, error) { req, out := c.GetPolicyVersionRequest(input) return out, req.Send() @@ -11991,14 +11864,13 @@ const opGetRegistrationCode = "GetRegistrationCode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRegistrationCodeRequest method. +// req, resp := client.GetRegistrationCodeRequest(params) // -// // Example sending a request using the GetRegistrationCodeRequest method. -// req, resp := client.GetRegistrationCodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetRegistrationCodeRequest(input *GetRegistrationCodeInput) (req *request.Request, output *GetRegistrationCodeOutput) { op := &request.Operation{ Name: opGetRegistrationCode, @@ -12030,21 +11902,21 @@ func (c *IoT) GetRegistrationCodeRequest(input *GetRegistrationCodeInput) (req * // API operation GetRegistrationCode for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The rate exceeds the limit. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // +// - InvalidRequestException +// The request is not valid. func (c *IoT) GetRegistrationCode(input *GetRegistrationCodeInput) (*GetRegistrationCodeOutput, error) { req, out := c.GetRegistrationCodeRequest(input) return out, req.Send() @@ -12082,14 +11954,13 @@ const opGetStatistics = "GetStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStatisticsRequest method. +// req, resp := client.GetStatisticsRequest(params) // -// // Example sending a request using the GetStatisticsRequest method. -// req, resp := client.GetStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetStatisticsRequest(input *GetStatisticsInput) (req *request.Request, output *GetStatisticsOutput) { op := &request.Operation{ Name: opGetStatistics, @@ -12123,33 +11994,33 @@ func (c *IoT) GetStatisticsRequest(input *GetStatisticsInput) (req *request.Requ // API operation GetStatistics for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // -// * InvalidQueryException -// The query is invalid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InvalidAggregationException -// The aggregation is invalid. +// - InvalidQueryException +// The query is invalid. // -// * IndexNotReadyException -// The index is not ready. +// - InvalidAggregationException +// The aggregation is invalid. // +// - IndexNotReadyException +// The index is not ready. func (c *IoT) GetStatistics(input *GetStatisticsInput) (*GetStatisticsOutput, error) { req, out := c.GetStatisticsRequest(input) return out, req.Send() @@ -12187,14 +12058,13 @@ const opGetTopicRule = "GetTopicRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTopicRuleRequest method. +// req, resp := client.GetTopicRuleRequest(params) // -// // Example sending a request using the GetTopicRuleRequest method. -// req, resp := client.GetTopicRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetTopicRuleRequest(input *GetTopicRuleInput) (req *request.Request, output *GetTopicRuleOutput) { op := &request.Operation{ Name: opGetTopicRule, @@ -12226,18 +12096,18 @@ func (c *IoT) GetTopicRuleRequest(input *GetTopicRuleInput) (req *request.Reques // API operation GetTopicRule for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - UnauthorizedException +// You are not authorized to perform this operation. func (c *IoT) GetTopicRule(input *GetTopicRuleInput) (*GetTopicRuleOutput, error) { req, out := c.GetTopicRuleRequest(input) return out, req.Send() @@ -12275,14 +12145,13 @@ const opGetTopicRuleDestination = "GetTopicRuleDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTopicRuleDestinationRequest method. +// req, resp := client.GetTopicRuleDestinationRequest(params) // -// // Example sending a request using the GetTopicRuleDestinationRequest method. -// req, resp := client.GetTopicRuleDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetTopicRuleDestinationRequest(input *GetTopicRuleDestinationInput) (req *request.Request, output *GetTopicRuleDestinationOutput) { op := &request.Operation{ Name: opGetTopicRuleDestination, @@ -12314,18 +12183,18 @@ func (c *IoT) GetTopicRuleDestinationRequest(input *GetTopicRuleDestinationInput // API operation GetTopicRuleDestination for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - UnauthorizedException +// You are not authorized to perform this operation. func (c *IoT) GetTopicRuleDestination(input *GetTopicRuleDestinationInput) (*GetTopicRuleDestinationOutput, error) { req, out := c.GetTopicRuleDestinationRequest(input) return out, req.Send() @@ -12363,14 +12232,13 @@ const opGetV2LoggingOptions = "GetV2LoggingOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetV2LoggingOptionsRequest method. +// req, resp := client.GetV2LoggingOptionsRequest(params) // -// // Example sending a request using the GetV2LoggingOptionsRequest method. -// req, resp := client.GetV2LoggingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) GetV2LoggingOptionsRequest(input *GetV2LoggingOptionsInput) (req *request.Request, output *GetV2LoggingOptionsOutput) { op := &request.Operation{ Name: opGetV2LoggingOptions, @@ -12402,15 +12270,15 @@ func (c *IoT) GetV2LoggingOptionsRequest(input *GetV2LoggingOptionsInput) (req * // API operation GetV2LoggingOptions for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * NotConfiguredException -// The resource is not configured. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - NotConfiguredException +// The resource is not configured. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) GetV2LoggingOptions(input *GetV2LoggingOptionsInput) (*GetV2LoggingOptionsOutput, error) { req, out := c.GetV2LoggingOptionsRequest(input) return out, req.Send() @@ -12448,14 +12316,13 @@ const opListActiveViolations = "ListActiveViolations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListActiveViolationsRequest method. +// req, resp := client.ListActiveViolationsRequest(params) // -// // Example sending a request using the ListActiveViolationsRequest method. -// req, resp := client.ListActiveViolationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListActiveViolationsRequest(input *ListActiveViolationsInput) (req *request.Request, output *ListActiveViolationsOutput) { op := &request.Operation{ Name: opListActiveViolations, @@ -12493,18 +12360,18 @@ func (c *IoT) ListActiveViolationsRequest(input *ListActiveViolationsInput) (req // API operation ListActiveViolations for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListActiveViolations(input *ListActiveViolationsInput) (*ListActiveViolationsOutput, error) { req, out := c.ListActiveViolationsRequest(input) return out, req.Send() @@ -12534,15 +12401,14 @@ func (c *IoT) ListActiveViolationsWithContext(ctx aws.Context, input *ListActive // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListActiveViolations operation. -// pageNum := 0 -// err := client.ListActiveViolationsPages(params, -// func(page *iot.ListActiveViolationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListActiveViolations operation. +// pageNum := 0 +// err := client.ListActiveViolationsPages(params, +// func(page *iot.ListActiveViolationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListActiveViolationsPages(input *ListActiveViolationsInput, fn func(*ListActiveViolationsOutput, bool) bool) error { return c.ListActiveViolationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12594,14 +12460,13 @@ const opListAttachedPolicies = "ListAttachedPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAttachedPoliciesRequest method. +// req, resp := client.ListAttachedPoliciesRequest(params) // -// // Example sending a request using the ListAttachedPoliciesRequest method. -// req, resp := client.ListAttachedPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListAttachedPoliciesRequest(input *ListAttachedPoliciesInput) (req *request.Request, output *ListAttachedPoliciesOutput) { op := &request.Operation{ Name: opListAttachedPolicies, @@ -12639,27 +12504,27 @@ func (c *IoT) ListAttachedPoliciesRequest(input *ListAttachedPoliciesInput) (req // API operation ListAttachedPolicies for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * LimitExceededException -// A limit has been exceeded. +// - InternalFailureException +// An unexpected error has occurred. // +// - LimitExceededException +// A limit has been exceeded. func (c *IoT) ListAttachedPolicies(input *ListAttachedPoliciesInput) (*ListAttachedPoliciesOutput, error) { req, out := c.ListAttachedPoliciesRequest(input) return out, req.Send() @@ -12689,15 +12554,14 @@ func (c *IoT) ListAttachedPoliciesWithContext(ctx aws.Context, input *ListAttach // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAttachedPolicies operation. -// pageNum := 0 -// err := client.ListAttachedPoliciesPages(params, -// func(page *iot.ListAttachedPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAttachedPolicies operation. +// pageNum := 0 +// err := client.ListAttachedPoliciesPages(params, +// func(page *iot.ListAttachedPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListAttachedPoliciesPages(input *ListAttachedPoliciesInput, fn func(*ListAttachedPoliciesOutput, bool) bool) error { return c.ListAttachedPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12749,14 +12613,13 @@ const opListAuditFindings = "ListAuditFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAuditFindingsRequest method. +// req, resp := client.ListAuditFindingsRequest(params) // -// // Example sending a request using the ListAuditFindingsRequest method. -// req, resp := client.ListAuditFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListAuditFindingsRequest(input *ListAuditFindingsInput) (req *request.Request, output *ListAuditFindingsOutput) { op := &request.Operation{ Name: opListAuditFindings, @@ -12795,15 +12658,15 @@ func (c *IoT) ListAuditFindingsRequest(input *ListAuditFindingsInput) (req *requ // API operation ListAuditFindings for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListAuditFindings(input *ListAuditFindingsInput) (*ListAuditFindingsOutput, error) { req, out := c.ListAuditFindingsRequest(input) return out, req.Send() @@ -12833,15 +12696,14 @@ func (c *IoT) ListAuditFindingsWithContext(ctx aws.Context, input *ListAuditFind // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAuditFindings operation. -// pageNum := 0 -// err := client.ListAuditFindingsPages(params, -// func(page *iot.ListAuditFindingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAuditFindings operation. +// pageNum := 0 +// err := client.ListAuditFindingsPages(params, +// func(page *iot.ListAuditFindingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListAuditFindingsPages(input *ListAuditFindingsInput, fn func(*ListAuditFindingsOutput, bool) bool) error { return c.ListAuditFindingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12893,14 +12755,13 @@ const opListAuditMitigationActionsExecutions = "ListAuditMitigationActionsExecut // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAuditMitigationActionsExecutionsRequest method. +// req, resp := client.ListAuditMitigationActionsExecutionsRequest(params) // -// // Example sending a request using the ListAuditMitigationActionsExecutionsRequest method. -// req, resp := client.ListAuditMitigationActionsExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListAuditMitigationActionsExecutionsRequest(input *ListAuditMitigationActionsExecutionsInput) (req *request.Request, output *ListAuditMitigationActionsExecutionsOutput) { op := &request.Operation{ Name: opListAuditMitigationActionsExecutions, @@ -12938,15 +12799,15 @@ func (c *IoT) ListAuditMitigationActionsExecutionsRequest(input *ListAuditMitiga // API operation ListAuditMitigationActionsExecutions for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListAuditMitigationActionsExecutions(input *ListAuditMitigationActionsExecutionsInput) (*ListAuditMitigationActionsExecutionsOutput, error) { req, out := c.ListAuditMitigationActionsExecutionsRequest(input) return out, req.Send() @@ -12976,15 +12837,14 @@ func (c *IoT) ListAuditMitigationActionsExecutionsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAuditMitigationActionsExecutions operation. -// pageNum := 0 -// err := client.ListAuditMitigationActionsExecutionsPages(params, -// func(page *iot.ListAuditMitigationActionsExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAuditMitigationActionsExecutions operation. +// pageNum := 0 +// err := client.ListAuditMitigationActionsExecutionsPages(params, +// func(page *iot.ListAuditMitigationActionsExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListAuditMitigationActionsExecutionsPages(input *ListAuditMitigationActionsExecutionsInput, fn func(*ListAuditMitigationActionsExecutionsOutput, bool) bool) error { return c.ListAuditMitigationActionsExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13036,14 +12896,13 @@ const opListAuditMitigationActionsTasks = "ListAuditMitigationActionsTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAuditMitigationActionsTasksRequest method. +// req, resp := client.ListAuditMitigationActionsTasksRequest(params) // -// // Example sending a request using the ListAuditMitigationActionsTasksRequest method. -// req, resp := client.ListAuditMitigationActionsTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListAuditMitigationActionsTasksRequest(input *ListAuditMitigationActionsTasksInput) (req *request.Request, output *ListAuditMitigationActionsTasksOutput) { op := &request.Operation{ Name: opListAuditMitigationActionsTasks, @@ -13081,15 +12940,15 @@ func (c *IoT) ListAuditMitigationActionsTasksRequest(input *ListAuditMitigationA // API operation ListAuditMitigationActionsTasks for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListAuditMitigationActionsTasks(input *ListAuditMitigationActionsTasksInput) (*ListAuditMitigationActionsTasksOutput, error) { req, out := c.ListAuditMitigationActionsTasksRequest(input) return out, req.Send() @@ -13119,15 +12978,14 @@ func (c *IoT) ListAuditMitigationActionsTasksWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAuditMitigationActionsTasks operation. -// pageNum := 0 -// err := client.ListAuditMitigationActionsTasksPages(params, -// func(page *iot.ListAuditMitigationActionsTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAuditMitigationActionsTasks operation. +// pageNum := 0 +// err := client.ListAuditMitigationActionsTasksPages(params, +// func(page *iot.ListAuditMitigationActionsTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListAuditMitigationActionsTasksPages(input *ListAuditMitigationActionsTasksInput, fn func(*ListAuditMitigationActionsTasksOutput, bool) bool) error { return c.ListAuditMitigationActionsTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13179,14 +13037,13 @@ const opListAuditSuppressions = "ListAuditSuppressions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAuditSuppressionsRequest method. +// req, resp := client.ListAuditSuppressionsRequest(params) // -// // Example sending a request using the ListAuditSuppressionsRequest method. -// req, resp := client.ListAuditSuppressionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListAuditSuppressionsRequest(input *ListAuditSuppressionsInput) (req *request.Request, output *ListAuditSuppressionsOutput) { op := &request.Operation{ Name: opListAuditSuppressions, @@ -13224,15 +13081,15 @@ func (c *IoT) ListAuditSuppressionsRequest(input *ListAuditSuppressionsInput) (r // API operation ListAuditSuppressions for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListAuditSuppressions(input *ListAuditSuppressionsInput) (*ListAuditSuppressionsOutput, error) { req, out := c.ListAuditSuppressionsRequest(input) return out, req.Send() @@ -13262,15 +13119,14 @@ func (c *IoT) ListAuditSuppressionsWithContext(ctx aws.Context, input *ListAudit // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAuditSuppressions operation. -// pageNum := 0 -// err := client.ListAuditSuppressionsPages(params, -// func(page *iot.ListAuditSuppressionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAuditSuppressions operation. +// pageNum := 0 +// err := client.ListAuditSuppressionsPages(params, +// func(page *iot.ListAuditSuppressionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListAuditSuppressionsPages(input *ListAuditSuppressionsInput, fn func(*ListAuditSuppressionsOutput, bool) bool) error { return c.ListAuditSuppressionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13322,14 +13178,13 @@ const opListAuditTasks = "ListAuditTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAuditTasksRequest method. +// req, resp := client.ListAuditTasksRequest(params) // -// // Example sending a request using the ListAuditTasksRequest method. -// req, resp := client.ListAuditTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListAuditTasksRequest(input *ListAuditTasksInput) (req *request.Request, output *ListAuditTasksOutput) { op := &request.Operation{ Name: opListAuditTasks, @@ -13368,15 +13223,15 @@ func (c *IoT) ListAuditTasksRequest(input *ListAuditTasksInput) (req *request.Re // API operation ListAuditTasks for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListAuditTasks(input *ListAuditTasksInput) (*ListAuditTasksOutput, error) { req, out := c.ListAuditTasksRequest(input) return out, req.Send() @@ -13406,15 +13261,14 @@ func (c *IoT) ListAuditTasksWithContext(ctx aws.Context, input *ListAuditTasksIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAuditTasks operation. -// pageNum := 0 -// err := client.ListAuditTasksPages(params, -// func(page *iot.ListAuditTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAuditTasks operation. +// pageNum := 0 +// err := client.ListAuditTasksPages(params, +// func(page *iot.ListAuditTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListAuditTasksPages(input *ListAuditTasksInput, fn func(*ListAuditTasksOutput, bool) bool) error { return c.ListAuditTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13466,14 +13320,13 @@ const opListAuthorizers = "ListAuthorizers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAuthorizersRequest method. +// req, resp := client.ListAuthorizersRequest(params) // -// // Example sending a request using the ListAuthorizersRequest method. -// req, resp := client.ListAuthorizersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListAuthorizersRequest(input *ListAuthorizersInput) (req *request.Request, output *ListAuthorizersOutput) { op := &request.Operation{ Name: opListAuthorizers, @@ -13511,21 +13364,21 @@ func (c *IoT) ListAuthorizersRequest(input *ListAuthorizersInput) (req *request. // API operation ListAuthorizers for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListAuthorizers(input *ListAuthorizersInput) (*ListAuthorizersOutput, error) { req, out := c.ListAuthorizersRequest(input) return out, req.Send() @@ -13555,15 +13408,14 @@ func (c *IoT) ListAuthorizersWithContext(ctx aws.Context, input *ListAuthorizers // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAuthorizers operation. -// pageNum := 0 -// err := client.ListAuthorizersPages(params, -// func(page *iot.ListAuthorizersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAuthorizers operation. +// pageNum := 0 +// err := client.ListAuthorizersPages(params, +// func(page *iot.ListAuthorizersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListAuthorizersPages(input *ListAuthorizersInput, fn func(*ListAuthorizersOutput, bool) bool) error { return c.ListAuthorizersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13615,14 +13467,13 @@ const opListBillingGroups = "ListBillingGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBillingGroupsRequest method. +// req, resp := client.ListBillingGroupsRequest(params) // -// // Example sending a request using the ListBillingGroupsRequest method. -// req, resp := client.ListBillingGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListBillingGroupsRequest(input *ListBillingGroupsInput) (req *request.Request, output *ListBillingGroupsOutput) { op := &request.Operation{ Name: opListBillingGroups, @@ -13660,18 +13511,18 @@ func (c *IoT) ListBillingGroupsRequest(input *ListBillingGroupsInput) (req *requ // API operation ListBillingGroups for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) ListBillingGroups(input *ListBillingGroupsInput) (*ListBillingGroupsOutput, error) { req, out := c.ListBillingGroupsRequest(input) return out, req.Send() @@ -13701,15 +13552,14 @@ func (c *IoT) ListBillingGroupsWithContext(ctx aws.Context, input *ListBillingGr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBillingGroups operation. -// pageNum := 0 -// err := client.ListBillingGroupsPages(params, -// func(page *iot.ListBillingGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBillingGroups operation. +// pageNum := 0 +// err := client.ListBillingGroupsPages(params, +// func(page *iot.ListBillingGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListBillingGroupsPages(input *ListBillingGroupsInput, fn func(*ListBillingGroupsOutput, bool) bool) error { return c.ListBillingGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13761,14 +13611,13 @@ const opListCACertificates = "ListCACertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCACertificatesRequest method. +// req, resp := client.ListCACertificatesRequest(params) // -// // Example sending a request using the ListCACertificatesRequest method. -// req, resp := client.ListCACertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListCACertificatesRequest(input *ListCACertificatesInput) (req *request.Request, output *ListCACertificatesOutput) { op := &request.Operation{ Name: opListCACertificates, @@ -13809,21 +13658,21 @@ func (c *IoT) ListCACertificatesRequest(input *ListCACertificatesInput) (req *re // API operation ListCACertificates for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListCACertificates(input *ListCACertificatesInput) (*ListCACertificatesOutput, error) { req, out := c.ListCACertificatesRequest(input) return out, req.Send() @@ -13853,15 +13702,14 @@ func (c *IoT) ListCACertificatesWithContext(ctx aws.Context, input *ListCACertif // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCACertificates operation. -// pageNum := 0 -// err := client.ListCACertificatesPages(params, -// func(page *iot.ListCACertificatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCACertificates operation. +// pageNum := 0 +// err := client.ListCACertificatesPages(params, +// func(page *iot.ListCACertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListCACertificatesPages(input *ListCACertificatesInput, fn func(*ListCACertificatesOutput, bool) bool) error { return c.ListCACertificatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13913,14 +13761,13 @@ const opListCertificates = "ListCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCertificatesRequest method. +// req, resp := client.ListCertificatesRequest(params) // -// // Example sending a request using the ListCertificatesRequest method. -// req, resp := client.ListCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListCertificatesRequest(input *ListCertificatesInput) (req *request.Request, output *ListCertificatesOutput) { op := &request.Operation{ Name: opListCertificates, @@ -13961,21 +13808,21 @@ func (c *IoT) ListCertificatesRequest(input *ListCertificatesInput) (req *reques // API operation ListCertificates for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListCertificates(input *ListCertificatesInput) (*ListCertificatesOutput, error) { req, out := c.ListCertificatesRequest(input) return out, req.Send() @@ -14005,15 +13852,14 @@ func (c *IoT) ListCertificatesWithContext(ctx aws.Context, input *ListCertificat // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCertificates operation. -// pageNum := 0 -// err := client.ListCertificatesPages(params, -// func(page *iot.ListCertificatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCertificates operation. +// pageNum := 0 +// err := client.ListCertificatesPages(params, +// func(page *iot.ListCertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListCertificatesPages(input *ListCertificatesInput, fn func(*ListCertificatesOutput, bool) bool) error { return c.ListCertificatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14065,14 +13911,13 @@ const opListCertificatesByCA = "ListCertificatesByCA" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCertificatesByCARequest method. +// req, resp := client.ListCertificatesByCARequest(params) // -// // Example sending a request using the ListCertificatesByCARequest method. -// req, resp := client.ListCertificatesByCARequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListCertificatesByCARequest(input *ListCertificatesByCAInput) (req *request.Request, output *ListCertificatesByCAOutput) { op := &request.Operation{ Name: opListCertificatesByCA, @@ -14110,21 +13955,21 @@ func (c *IoT) ListCertificatesByCARequest(input *ListCertificatesByCAInput) (req // API operation ListCertificatesByCA for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListCertificatesByCA(input *ListCertificatesByCAInput) (*ListCertificatesByCAOutput, error) { req, out := c.ListCertificatesByCARequest(input) return out, req.Send() @@ -14154,15 +13999,14 @@ func (c *IoT) ListCertificatesByCAWithContext(ctx aws.Context, input *ListCertif // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCertificatesByCA operation. -// pageNum := 0 -// err := client.ListCertificatesByCAPages(params, -// func(page *iot.ListCertificatesByCAOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCertificatesByCA operation. +// pageNum := 0 +// err := client.ListCertificatesByCAPages(params, +// func(page *iot.ListCertificatesByCAOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListCertificatesByCAPages(input *ListCertificatesByCAInput, fn func(*ListCertificatesByCAOutput, bool) bool) error { return c.ListCertificatesByCAPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14214,14 +14058,13 @@ const opListCustomMetrics = "ListCustomMetrics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCustomMetricsRequest method. +// req, resp := client.ListCustomMetricsRequest(params) // -// // Example sending a request using the ListCustomMetricsRequest method. -// req, resp := client.ListCustomMetricsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListCustomMetricsRequest(input *ListCustomMetricsInput) (req *request.Request, output *ListCustomMetricsOutput) { op := &request.Operation{ Name: opListCustomMetrics, @@ -14259,15 +14102,15 @@ func (c *IoT) ListCustomMetricsRequest(input *ListCustomMetricsInput) (req *requ // API operation ListCustomMetrics for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListCustomMetrics(input *ListCustomMetricsInput) (*ListCustomMetricsOutput, error) { req, out := c.ListCustomMetricsRequest(input) return out, req.Send() @@ -14297,15 +14140,14 @@ func (c *IoT) ListCustomMetricsWithContext(ctx aws.Context, input *ListCustomMet // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCustomMetrics operation. -// pageNum := 0 -// err := client.ListCustomMetricsPages(params, -// func(page *iot.ListCustomMetricsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCustomMetrics operation. +// pageNum := 0 +// err := client.ListCustomMetricsPages(params, +// func(page *iot.ListCustomMetricsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListCustomMetricsPages(input *ListCustomMetricsInput, fn func(*ListCustomMetricsOutput, bool) bool) error { return c.ListCustomMetricsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14357,14 +14199,13 @@ const opListDetectMitigationActionsExecutions = "ListDetectMitigationActionsExec // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDetectMitigationActionsExecutionsRequest method. +// req, resp := client.ListDetectMitigationActionsExecutionsRequest(params) // -// // Example sending a request using the ListDetectMitigationActionsExecutionsRequest method. -// req, resp := client.ListDetectMitigationActionsExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListDetectMitigationActionsExecutionsRequest(input *ListDetectMitigationActionsExecutionsInput) (req *request.Request, output *ListDetectMitigationActionsExecutionsOutput) { op := &request.Operation{ Name: opListDetectMitigationActionsExecutions, @@ -14403,15 +14244,15 @@ func (c *IoT) ListDetectMitigationActionsExecutionsRequest(input *ListDetectMiti // API operation ListDetectMitigationActionsExecutions for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListDetectMitigationActionsExecutions(input *ListDetectMitigationActionsExecutionsInput) (*ListDetectMitigationActionsExecutionsOutput, error) { req, out := c.ListDetectMitigationActionsExecutionsRequest(input) return out, req.Send() @@ -14441,15 +14282,14 @@ func (c *IoT) ListDetectMitigationActionsExecutionsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDetectMitigationActionsExecutions operation. -// pageNum := 0 -// err := client.ListDetectMitigationActionsExecutionsPages(params, -// func(page *iot.ListDetectMitigationActionsExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDetectMitigationActionsExecutions operation. +// pageNum := 0 +// err := client.ListDetectMitigationActionsExecutionsPages(params, +// func(page *iot.ListDetectMitigationActionsExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListDetectMitigationActionsExecutionsPages(input *ListDetectMitigationActionsExecutionsInput, fn func(*ListDetectMitigationActionsExecutionsOutput, bool) bool) error { return c.ListDetectMitigationActionsExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14501,14 +14341,13 @@ const opListDetectMitigationActionsTasks = "ListDetectMitigationActionsTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDetectMitigationActionsTasksRequest method. +// req, resp := client.ListDetectMitigationActionsTasksRequest(params) // -// // Example sending a request using the ListDetectMitigationActionsTasksRequest method. -// req, resp := client.ListDetectMitigationActionsTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListDetectMitigationActionsTasksRequest(input *ListDetectMitigationActionsTasksInput) (req *request.Request, output *ListDetectMitigationActionsTasksOutput) { op := &request.Operation{ Name: opListDetectMitigationActionsTasks, @@ -14546,15 +14385,15 @@ func (c *IoT) ListDetectMitigationActionsTasksRequest(input *ListDetectMitigatio // API operation ListDetectMitigationActionsTasks for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListDetectMitigationActionsTasks(input *ListDetectMitigationActionsTasksInput) (*ListDetectMitigationActionsTasksOutput, error) { req, out := c.ListDetectMitigationActionsTasksRequest(input) return out, req.Send() @@ -14584,15 +14423,14 @@ func (c *IoT) ListDetectMitigationActionsTasksWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDetectMitigationActionsTasks operation. -// pageNum := 0 -// err := client.ListDetectMitigationActionsTasksPages(params, -// func(page *iot.ListDetectMitigationActionsTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDetectMitigationActionsTasks operation. +// pageNum := 0 +// err := client.ListDetectMitigationActionsTasksPages(params, +// func(page *iot.ListDetectMitigationActionsTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListDetectMitigationActionsTasksPages(input *ListDetectMitigationActionsTasksInput, fn func(*ListDetectMitigationActionsTasksOutput, bool) bool) error { return c.ListDetectMitigationActionsTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14644,14 +14482,13 @@ const opListDimensions = "ListDimensions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDimensionsRequest method. +// req, resp := client.ListDimensionsRequest(params) // -// // Example sending a request using the ListDimensionsRequest method. -// req, resp := client.ListDimensionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListDimensionsRequest(input *ListDimensionsInput) (req *request.Request, output *ListDimensionsOutput) { op := &request.Operation{ Name: opListDimensions, @@ -14690,15 +14527,15 @@ func (c *IoT) ListDimensionsRequest(input *ListDimensionsInput) (req *request.Re // API operation ListDimensions for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) ListDimensions(input *ListDimensionsInput) (*ListDimensionsOutput, error) { req, out := c.ListDimensionsRequest(input) return out, req.Send() @@ -14728,15 +14565,14 @@ func (c *IoT) ListDimensionsWithContext(ctx aws.Context, input *ListDimensionsIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDimensions operation. -// pageNum := 0 -// err := client.ListDimensionsPages(params, -// func(page *iot.ListDimensionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDimensions operation. +// pageNum := 0 +// err := client.ListDimensionsPages(params, +// func(page *iot.ListDimensionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListDimensionsPages(input *ListDimensionsInput, fn func(*ListDimensionsOutput, bool) bool) error { return c.ListDimensionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14788,14 +14624,13 @@ const opListDomainConfigurations = "ListDomainConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainConfigurationsRequest method. +// req, resp := client.ListDomainConfigurationsRequest(params) // -// // Example sending a request using the ListDomainConfigurationsRequest method. -// req, resp := client.ListDomainConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListDomainConfigurationsRequest(input *ListDomainConfigurationsInput) (req *request.Request, output *ListDomainConfigurationsOutput) { op := &request.Operation{ Name: opListDomainConfigurations, @@ -14834,21 +14669,21 @@ func (c *IoT) ListDomainConfigurationsRequest(input *ListDomainConfigurationsInp // API operation ListDomainConfigurations for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListDomainConfigurations(input *ListDomainConfigurationsInput) (*ListDomainConfigurationsOutput, error) { req, out := c.ListDomainConfigurationsRequest(input) return out, req.Send() @@ -14878,15 +14713,14 @@ func (c *IoT) ListDomainConfigurationsWithContext(ctx aws.Context, input *ListDo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDomainConfigurations operation. -// pageNum := 0 -// err := client.ListDomainConfigurationsPages(params, -// func(page *iot.ListDomainConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDomainConfigurations operation. +// pageNum := 0 +// err := client.ListDomainConfigurationsPages(params, +// func(page *iot.ListDomainConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListDomainConfigurationsPages(input *ListDomainConfigurationsInput, fn func(*ListDomainConfigurationsOutput, bool) bool) error { return c.ListDomainConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14938,14 +14772,13 @@ const opListFleetMetrics = "ListFleetMetrics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFleetMetricsRequest method. +// req, resp := client.ListFleetMetricsRequest(params) // -// // Example sending a request using the ListFleetMetricsRequest method. -// req, resp := client.ListFleetMetricsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListFleetMetricsRequest(input *ListFleetMetricsInput) (req *request.Request, output *ListFleetMetricsOutput) { op := &request.Operation{ Name: opListFleetMetrics, @@ -14983,21 +14816,21 @@ func (c *IoT) ListFleetMetricsRequest(input *ListFleetMetricsInput) (req *reques // API operation ListFleetMetrics for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListFleetMetrics(input *ListFleetMetricsInput) (*ListFleetMetricsOutput, error) { req, out := c.ListFleetMetricsRequest(input) return out, req.Send() @@ -15027,15 +14860,14 @@ func (c *IoT) ListFleetMetricsWithContext(ctx aws.Context, input *ListFleetMetri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFleetMetrics operation. -// pageNum := 0 -// err := client.ListFleetMetricsPages(params, -// func(page *iot.ListFleetMetricsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFleetMetrics operation. +// pageNum := 0 +// err := client.ListFleetMetricsPages(params, +// func(page *iot.ListFleetMetricsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListFleetMetricsPages(input *ListFleetMetricsInput, fn func(*ListFleetMetricsOutput, bool) bool) error { return c.ListFleetMetricsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15087,14 +14919,13 @@ const opListIndices = "ListIndices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIndicesRequest method. +// req, resp := client.ListIndicesRequest(params) // -// // Example sending a request using the ListIndicesRequest method. -// req, resp := client.ListIndicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListIndicesRequest(input *ListIndicesInput) (req *request.Request, output *ListIndicesOutput) { op := &request.Operation{ Name: opListIndices, @@ -15132,21 +14963,21 @@ func (c *IoT) ListIndicesRequest(input *ListIndicesInput) (req *request.Request, // API operation ListIndices for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListIndices(input *ListIndicesInput) (*ListIndicesOutput, error) { req, out := c.ListIndicesRequest(input) return out, req.Send() @@ -15176,15 +15007,14 @@ func (c *IoT) ListIndicesWithContext(ctx aws.Context, input *ListIndicesInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListIndices operation. -// pageNum := 0 -// err := client.ListIndicesPages(params, -// func(page *iot.ListIndicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListIndices operation. +// pageNum := 0 +// err := client.ListIndicesPages(params, +// func(page *iot.ListIndicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListIndicesPages(input *ListIndicesInput, fn func(*ListIndicesOutput, bool) bool) error { return c.ListIndicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15236,14 +15066,13 @@ const opListJobExecutionsForJob = "ListJobExecutionsForJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobExecutionsForJobRequest method. +// req, resp := client.ListJobExecutionsForJobRequest(params) // -// // Example sending a request using the ListJobExecutionsForJobRequest method. -// req, resp := client.ListJobExecutionsForJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListJobExecutionsForJobRequest(input *ListJobExecutionsForJobInput) (req *request.Request, output *ListJobExecutionsForJobOutput) { op := &request.Operation{ Name: opListJobExecutionsForJob, @@ -15281,18 +15110,18 @@ func (c *IoT) ListJobExecutionsForJobRequest(input *ListJobExecutionsForJobInput // API operation ListJobExecutionsForJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ThrottlingException +// The rate exceeds the limit. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) ListJobExecutionsForJob(input *ListJobExecutionsForJobInput) (*ListJobExecutionsForJobOutput, error) { req, out := c.ListJobExecutionsForJobRequest(input) return out, req.Send() @@ -15322,15 +15151,14 @@ func (c *IoT) ListJobExecutionsForJobWithContext(ctx aws.Context, input *ListJob // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobExecutionsForJob operation. -// pageNum := 0 -// err := client.ListJobExecutionsForJobPages(params, -// func(page *iot.ListJobExecutionsForJobOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobExecutionsForJob operation. +// pageNum := 0 +// err := client.ListJobExecutionsForJobPages(params, +// func(page *iot.ListJobExecutionsForJobOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListJobExecutionsForJobPages(input *ListJobExecutionsForJobInput, fn func(*ListJobExecutionsForJobOutput, bool) bool) error { return c.ListJobExecutionsForJobPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15382,14 +15210,13 @@ const opListJobExecutionsForThing = "ListJobExecutionsForThing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobExecutionsForThingRequest method. +// req, resp := client.ListJobExecutionsForThingRequest(params) // -// // Example sending a request using the ListJobExecutionsForThingRequest method. -// req, resp := client.ListJobExecutionsForThingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListJobExecutionsForThingRequest(input *ListJobExecutionsForThingInput) (req *request.Request, output *ListJobExecutionsForThingOutput) { op := &request.Operation{ Name: opListJobExecutionsForThing, @@ -15427,18 +15254,18 @@ func (c *IoT) ListJobExecutionsForThingRequest(input *ListJobExecutionsForThingI // API operation ListJobExecutionsForThing for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ThrottlingException +// The rate exceeds the limit. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) ListJobExecutionsForThing(input *ListJobExecutionsForThingInput) (*ListJobExecutionsForThingOutput, error) { req, out := c.ListJobExecutionsForThingRequest(input) return out, req.Send() @@ -15468,15 +15295,14 @@ func (c *IoT) ListJobExecutionsForThingWithContext(ctx aws.Context, input *ListJ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobExecutionsForThing operation. -// pageNum := 0 -// err := client.ListJobExecutionsForThingPages(params, -// func(page *iot.ListJobExecutionsForThingOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobExecutionsForThing operation. +// pageNum := 0 +// err := client.ListJobExecutionsForThingPages(params, +// func(page *iot.ListJobExecutionsForThingOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListJobExecutionsForThingPages(input *ListJobExecutionsForThingInput, fn func(*ListJobExecutionsForThingOutput, bool) bool) error { return c.ListJobExecutionsForThingPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15528,14 +15354,13 @@ const opListJobTemplates = "ListJobTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobTemplatesRequest method. +// req, resp := client.ListJobTemplatesRequest(params) // -// // Example sending a request using the ListJobTemplatesRequest method. -// req, resp := client.ListJobTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListJobTemplatesRequest(input *ListJobTemplatesInput) (req *request.Request, output *ListJobTemplatesOutput) { op := &request.Operation{ Name: opListJobTemplates, @@ -15573,15 +15398,15 @@ func (c *IoT) ListJobTemplatesRequest(input *ListJobTemplatesInput) (req *reques // API operation ListJobTemplates for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListJobTemplates(input *ListJobTemplatesInput) (*ListJobTemplatesOutput, error) { req, out := c.ListJobTemplatesRequest(input) return out, req.Send() @@ -15611,15 +15436,14 @@ func (c *IoT) ListJobTemplatesWithContext(ctx aws.Context, input *ListJobTemplat // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobTemplates operation. -// pageNum := 0 -// err := client.ListJobTemplatesPages(params, -// func(page *iot.ListJobTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobTemplates operation. +// pageNum := 0 +// err := client.ListJobTemplatesPages(params, +// func(page *iot.ListJobTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListJobTemplatesPages(input *ListJobTemplatesInput, fn func(*ListJobTemplatesOutput, bool) bool) error { return c.ListJobTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15671,14 +15495,13 @@ const opListJobs = "ListJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobsRequest method. +// req, resp := client.ListJobsRequest(params) // -// // Example sending a request using the ListJobsRequest method. -// req, resp := client.ListJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { op := &request.Operation{ Name: opListJobs, @@ -15716,18 +15539,18 @@ func (c *IoT) ListJobsRequest(input *ListJobsInput) (req *request.Request, outpu // API operation ListJobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ThrottlingException +// The rate exceeds the limit. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { req, out := c.ListJobsRequest(input) return out, req.Send() @@ -15757,15 +15580,14 @@ func (c *IoT) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, opts .. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobs operation. -// pageNum := 0 -// err := client.ListJobsPages(params, -// func(page *iot.ListJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobs operation. +// pageNum := 0 +// err := client.ListJobsPages(params, +// func(page *iot.ListJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error { return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15817,14 +15639,13 @@ const opListManagedJobTemplates = "ListManagedJobTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListManagedJobTemplatesRequest method. +// req, resp := client.ListManagedJobTemplatesRequest(params) // -// // Example sending a request using the ListManagedJobTemplatesRequest method. -// req, resp := client.ListManagedJobTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListManagedJobTemplatesRequest(input *ListManagedJobTemplatesInput) (req *request.Request, output *ListManagedJobTemplatesOutput) { op := &request.Operation{ Name: opListManagedJobTemplates, @@ -15853,19 +15674,19 @@ func (c *IoT) ListManagedJobTemplatesRequest(input *ListManagedJobTemplatesInput // API operation ListManagedJobTemplates for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalServerException -// Internal error from the service that indicates an unexpected error or that -// the service is unavailable. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalServerException +// Internal error from the service that indicates an unexpected error or that +// the service is unavailable. func (c *IoT) ListManagedJobTemplates(input *ListManagedJobTemplatesInput) (*ListManagedJobTemplatesOutput, error) { req, out := c.ListManagedJobTemplatesRequest(input) return out, req.Send() @@ -15903,14 +15724,13 @@ const opListMetricValues = "ListMetricValues" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMetricValuesRequest method. +// req, resp := client.ListMetricValuesRequest(params) // -// // Example sending a request using the ListMetricValuesRequest method. -// req, resp := client.ListMetricValuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListMetricValuesRequest(input *ListMetricValuesInput) (req *request.Request, output *ListMetricValuesOutput) { op := &request.Operation{ Name: opListMetricValues, @@ -15947,18 +15767,18 @@ func (c *IoT) ListMetricValuesRequest(input *ListMetricValuesInput) (req *reques // API operation ListMetricValues for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) ListMetricValues(input *ListMetricValuesInput) (*ListMetricValuesOutput, error) { req, out := c.ListMetricValuesRequest(input) return out, req.Send() @@ -15988,15 +15808,14 @@ func (c *IoT) ListMetricValuesWithContext(ctx aws.Context, input *ListMetricValu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMetricValues operation. -// pageNum := 0 -// err := client.ListMetricValuesPages(params, -// func(page *iot.ListMetricValuesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMetricValues operation. +// pageNum := 0 +// err := client.ListMetricValuesPages(params, +// func(page *iot.ListMetricValuesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListMetricValuesPages(input *ListMetricValuesInput, fn func(*ListMetricValuesOutput, bool) bool) error { return c.ListMetricValuesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16048,14 +15867,13 @@ const opListMitigationActions = "ListMitigationActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMitigationActionsRequest method. +// req, resp := client.ListMitigationActionsRequest(params) // -// // Example sending a request using the ListMitigationActionsRequest method. -// req, resp := client.ListMitigationActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListMitigationActionsRequest(input *ListMitigationActionsInput) (req *request.Request, output *ListMitigationActionsOutput) { op := &request.Operation{ Name: opListMitigationActions, @@ -16093,15 +15911,15 @@ func (c *IoT) ListMitigationActionsRequest(input *ListMitigationActionsInput) (r // API operation ListMitigationActions for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListMitigationActions(input *ListMitigationActionsInput) (*ListMitigationActionsOutput, error) { req, out := c.ListMitigationActionsRequest(input) return out, req.Send() @@ -16131,15 +15949,14 @@ func (c *IoT) ListMitigationActionsWithContext(ctx aws.Context, input *ListMitig // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMitigationActions operation. -// pageNum := 0 -// err := client.ListMitigationActionsPages(params, -// func(page *iot.ListMitigationActionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMitigationActions operation. +// pageNum := 0 +// err := client.ListMitigationActionsPages(params, +// func(page *iot.ListMitigationActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListMitigationActionsPages(input *ListMitigationActionsInput, fn func(*ListMitigationActionsOutput, bool) bool) error { return c.ListMitigationActionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16191,14 +16008,13 @@ const opListOTAUpdates = "ListOTAUpdates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOTAUpdatesRequest method. +// req, resp := client.ListOTAUpdatesRequest(params) // -// // Example sending a request using the ListOTAUpdatesRequest method. -// req, resp := client.ListOTAUpdatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListOTAUpdatesRequest(input *ListOTAUpdatesInput) (req *request.Request, output *ListOTAUpdatesOutput) { op := &request.Operation{ Name: opListOTAUpdates, @@ -16236,21 +16052,21 @@ func (c *IoT) ListOTAUpdatesRequest(input *ListOTAUpdatesInput) (req *request.Re // API operation ListOTAUpdates for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * InternalFailureException -// An unexpected error has occurred. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// An unexpected error has occurred. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) ListOTAUpdates(input *ListOTAUpdatesInput) (*ListOTAUpdatesOutput, error) { req, out := c.ListOTAUpdatesRequest(input) return out, req.Send() @@ -16280,15 +16096,14 @@ func (c *IoT) ListOTAUpdatesWithContext(ctx aws.Context, input *ListOTAUpdatesIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOTAUpdates operation. -// pageNum := 0 -// err := client.ListOTAUpdatesPages(params, -// func(page *iot.ListOTAUpdatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOTAUpdates operation. +// pageNum := 0 +// err := client.ListOTAUpdatesPages(params, +// func(page *iot.ListOTAUpdatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListOTAUpdatesPages(input *ListOTAUpdatesInput, fn func(*ListOTAUpdatesOutput, bool) bool) error { return c.ListOTAUpdatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16340,14 +16155,13 @@ const opListOutgoingCertificates = "ListOutgoingCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOutgoingCertificatesRequest method. +// req, resp := client.ListOutgoingCertificatesRequest(params) // -// // Example sending a request using the ListOutgoingCertificatesRequest method. -// req, resp := client.ListOutgoingCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListOutgoingCertificatesRequest(input *ListOutgoingCertificatesInput) (req *request.Request, output *ListOutgoingCertificatesOutput) { op := &request.Operation{ Name: opListOutgoingCertificates, @@ -16385,21 +16199,21 @@ func (c *IoT) ListOutgoingCertificatesRequest(input *ListOutgoingCertificatesInp // API operation ListOutgoingCertificates for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListOutgoingCertificates(input *ListOutgoingCertificatesInput) (*ListOutgoingCertificatesOutput, error) { req, out := c.ListOutgoingCertificatesRequest(input) return out, req.Send() @@ -16429,15 +16243,14 @@ func (c *IoT) ListOutgoingCertificatesWithContext(ctx aws.Context, input *ListOu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOutgoingCertificates operation. -// pageNum := 0 -// err := client.ListOutgoingCertificatesPages(params, -// func(page *iot.ListOutgoingCertificatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOutgoingCertificates operation. +// pageNum := 0 +// err := client.ListOutgoingCertificatesPages(params, +// func(page *iot.ListOutgoingCertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListOutgoingCertificatesPages(input *ListOutgoingCertificatesInput, fn func(*ListOutgoingCertificatesOutput, bool) bool) error { return c.ListOutgoingCertificatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16489,14 +16302,13 @@ const opListPolicies = "ListPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPoliciesRequest method. +// req, resp := client.ListPoliciesRequest(params) // -// // Example sending a request using the ListPoliciesRequest method. -// req, resp := client.ListPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListPoliciesRequest(input *ListPoliciesInput) (req *request.Request, output *ListPoliciesOutput) { op := &request.Operation{ Name: opListPolicies, @@ -16534,21 +16346,21 @@ func (c *IoT) ListPoliciesRequest(input *ListPoliciesInput) (req *request.Reques // API operation ListPolicies for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListPolicies(input *ListPoliciesInput) (*ListPoliciesOutput, error) { req, out := c.ListPoliciesRequest(input) return out, req.Send() @@ -16578,15 +16390,14 @@ func (c *IoT) ListPoliciesWithContext(ctx aws.Context, input *ListPoliciesInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPolicies operation. -// pageNum := 0 -// err := client.ListPoliciesPages(params, -// func(page *iot.ListPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPolicies operation. +// pageNum := 0 +// err := client.ListPoliciesPages(params, +// func(page *iot.ListPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListPoliciesPages(input *ListPoliciesInput, fn func(*ListPoliciesOutput, bool) bool) error { return c.ListPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16638,14 +16449,13 @@ const opListPolicyPrincipals = "ListPolicyPrincipals" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPolicyPrincipalsRequest method. +// req, resp := client.ListPolicyPrincipalsRequest(params) // -// // Example sending a request using the ListPolicyPrincipalsRequest method. -// req, resp := client.ListPolicyPrincipalsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // Deprecated: ListPolicyPrincipals has been deprecated func (c *IoT) ListPolicyPrincipalsRequest(input *ListPolicyPrincipalsInput) (req *request.Request, output *ListPolicyPrincipalsOutput) { @@ -16690,24 +16500,24 @@ func (c *IoT) ListPolicyPrincipalsRequest(input *ListPolicyPrincipalsInput) (req // API operation ListPolicyPrincipals for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. // // Deprecated: ListPolicyPrincipals has been deprecated func (c *IoT) ListPolicyPrincipals(input *ListPolicyPrincipalsInput) (*ListPolicyPrincipalsOutput, error) { @@ -16741,15 +16551,14 @@ func (c *IoT) ListPolicyPrincipalsWithContext(ctx aws.Context, input *ListPolicy // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPolicyPrincipals operation. -// pageNum := 0 -// err := client.ListPolicyPrincipalsPages(params, -// func(page *iot.ListPolicyPrincipalsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPolicyPrincipals operation. +// pageNum := 0 +// err := client.ListPolicyPrincipalsPages(params, +// func(page *iot.ListPolicyPrincipalsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) // // Deprecated: ListPolicyPrincipalsPages has been deprecated func (c *IoT) ListPolicyPrincipalsPages(input *ListPolicyPrincipalsInput, fn func(*ListPolicyPrincipalsOutput, bool) bool) error { @@ -16805,14 +16614,13 @@ const opListPolicyVersions = "ListPolicyVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPolicyVersionsRequest method. +// req, resp := client.ListPolicyVersionsRequest(params) // -// // Example sending a request using the ListPolicyVersionsRequest method. -// req, resp := client.ListPolicyVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListPolicyVersionsRequest(input *ListPolicyVersionsInput) (req *request.Request, output *ListPolicyVersionsOutput) { op := &request.Operation{ Name: opListPolicyVersions, @@ -16844,24 +16652,24 @@ func (c *IoT) ListPolicyVersionsRequest(input *ListPolicyVersionsInput) (req *re // API operation ListPolicyVersions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListPolicyVersions(input *ListPolicyVersionsInput) (*ListPolicyVersionsOutput, error) { req, out := c.ListPolicyVersionsRequest(input) return out, req.Send() @@ -16899,14 +16707,13 @@ const opListPrincipalPolicies = "ListPrincipalPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPrincipalPoliciesRequest method. +// req, resp := client.ListPrincipalPoliciesRequest(params) // -// // Example sending a request using the ListPrincipalPoliciesRequest method. -// req, resp := client.ListPrincipalPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // Deprecated: ListPrincipalPolicies has been deprecated func (c *IoT) ListPrincipalPoliciesRequest(input *ListPrincipalPoliciesInput) (req *request.Request, output *ListPrincipalPoliciesOutput) { @@ -16952,24 +16759,24 @@ func (c *IoT) ListPrincipalPoliciesRequest(input *ListPrincipalPoliciesInput) (r // API operation ListPrincipalPolicies for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. // // Deprecated: ListPrincipalPolicies has been deprecated func (c *IoT) ListPrincipalPolicies(input *ListPrincipalPoliciesInput) (*ListPrincipalPoliciesOutput, error) { @@ -17003,15 +16810,14 @@ func (c *IoT) ListPrincipalPoliciesWithContext(ctx aws.Context, input *ListPrinc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPrincipalPolicies operation. -// pageNum := 0 -// err := client.ListPrincipalPoliciesPages(params, -// func(page *iot.ListPrincipalPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPrincipalPolicies operation. +// pageNum := 0 +// err := client.ListPrincipalPoliciesPages(params, +// func(page *iot.ListPrincipalPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) // // Deprecated: ListPrincipalPoliciesPages has been deprecated func (c *IoT) ListPrincipalPoliciesPages(input *ListPrincipalPoliciesInput, fn func(*ListPrincipalPoliciesOutput, bool) bool) error { @@ -17067,14 +16873,13 @@ const opListPrincipalThings = "ListPrincipalThings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPrincipalThingsRequest method. +// req, resp := client.ListPrincipalThingsRequest(params) // -// // Example sending a request using the ListPrincipalThingsRequest method. -// req, resp := client.ListPrincipalThingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListPrincipalThingsRequest(input *ListPrincipalThingsInput) (req *request.Request, output *ListPrincipalThingsOutput) { op := &request.Operation{ Name: opListPrincipalThings, @@ -17114,24 +16919,24 @@ func (c *IoT) ListPrincipalThingsRequest(input *ListPrincipalThingsInput) (req * // API operation ListPrincipalThings for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) ListPrincipalThings(input *ListPrincipalThingsInput) (*ListPrincipalThingsOutput, error) { req, out := c.ListPrincipalThingsRequest(input) return out, req.Send() @@ -17161,15 +16966,14 @@ func (c *IoT) ListPrincipalThingsWithContext(ctx aws.Context, input *ListPrincip // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPrincipalThings operation. -// pageNum := 0 -// err := client.ListPrincipalThingsPages(params, -// func(page *iot.ListPrincipalThingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPrincipalThings operation. +// pageNum := 0 +// err := client.ListPrincipalThingsPages(params, +// func(page *iot.ListPrincipalThingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListPrincipalThingsPages(input *ListPrincipalThingsInput, fn func(*ListPrincipalThingsOutput, bool) bool) error { return c.ListPrincipalThingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17221,14 +17025,13 @@ const opListProvisioningTemplateVersions = "ListProvisioningTemplateVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProvisioningTemplateVersionsRequest method. +// req, resp := client.ListProvisioningTemplateVersionsRequest(params) // -// // Example sending a request using the ListProvisioningTemplateVersionsRequest method. -// req, resp := client.ListProvisioningTemplateVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListProvisioningTemplateVersionsRequest(input *ListProvisioningTemplateVersionsInput) (req *request.Request, output *ListProvisioningTemplateVersionsOutput) { op := &request.Operation{ Name: opListProvisioningTemplateVersions, @@ -17266,21 +17069,21 @@ func (c *IoT) ListProvisioningTemplateVersionsRequest(input *ListProvisioningTem // API operation ListProvisioningTemplateVersions for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ThrottlingException +// The rate exceeds the limit. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ResourceNotFoundException +// The specified resource does not exist. // +// - UnauthorizedException +// You are not authorized to perform this operation. func (c *IoT) ListProvisioningTemplateVersions(input *ListProvisioningTemplateVersionsInput) (*ListProvisioningTemplateVersionsOutput, error) { req, out := c.ListProvisioningTemplateVersionsRequest(input) return out, req.Send() @@ -17310,15 +17113,14 @@ func (c *IoT) ListProvisioningTemplateVersionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProvisioningTemplateVersions operation. -// pageNum := 0 -// err := client.ListProvisioningTemplateVersionsPages(params, -// func(page *iot.ListProvisioningTemplateVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProvisioningTemplateVersions operation. +// pageNum := 0 +// err := client.ListProvisioningTemplateVersionsPages(params, +// func(page *iot.ListProvisioningTemplateVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListProvisioningTemplateVersionsPages(input *ListProvisioningTemplateVersionsInput, fn func(*ListProvisioningTemplateVersionsOutput, bool) bool) error { return c.ListProvisioningTemplateVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17370,14 +17172,13 @@ const opListProvisioningTemplates = "ListProvisioningTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProvisioningTemplatesRequest method. +// req, resp := client.ListProvisioningTemplatesRequest(params) // -// // Example sending a request using the ListProvisioningTemplatesRequest method. -// req, resp := client.ListProvisioningTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListProvisioningTemplatesRequest(input *ListProvisioningTemplatesInput) (req *request.Request, output *ListProvisioningTemplatesOutput) { op := &request.Operation{ Name: opListProvisioningTemplates, @@ -17415,18 +17216,18 @@ func (c *IoT) ListProvisioningTemplatesRequest(input *ListProvisioningTemplatesI // API operation ListProvisioningTemplates for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // +// - UnauthorizedException +// You are not authorized to perform this operation. func (c *IoT) ListProvisioningTemplates(input *ListProvisioningTemplatesInput) (*ListProvisioningTemplatesOutput, error) { req, out := c.ListProvisioningTemplatesRequest(input) return out, req.Send() @@ -17456,15 +17257,14 @@ func (c *IoT) ListProvisioningTemplatesWithContext(ctx aws.Context, input *ListP // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProvisioningTemplates operation. -// pageNum := 0 -// err := client.ListProvisioningTemplatesPages(params, -// func(page *iot.ListProvisioningTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProvisioningTemplates operation. +// pageNum := 0 +// err := client.ListProvisioningTemplatesPages(params, +// func(page *iot.ListProvisioningTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListProvisioningTemplatesPages(input *ListProvisioningTemplatesInput, fn func(*ListProvisioningTemplatesOutput, bool) bool) error { return c.ListProvisioningTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17516,14 +17316,13 @@ const opListRoleAliases = "ListRoleAliases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRoleAliasesRequest method. +// req, resp := client.ListRoleAliasesRequest(params) // -// // Example sending a request using the ListRoleAliasesRequest method. -// req, resp := client.ListRoleAliasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListRoleAliasesRequest(input *ListRoleAliasesInput) (req *request.Request, output *ListRoleAliasesOutput) { op := &request.Operation{ Name: opListRoleAliases, @@ -17561,21 +17360,21 @@ func (c *IoT) ListRoleAliasesRequest(input *ListRoleAliasesInput) (req *request. // API operation ListRoleAliases for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListRoleAliases(input *ListRoleAliasesInput) (*ListRoleAliasesOutput, error) { req, out := c.ListRoleAliasesRequest(input) return out, req.Send() @@ -17605,15 +17404,14 @@ func (c *IoT) ListRoleAliasesWithContext(ctx aws.Context, input *ListRoleAliases // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRoleAliases operation. -// pageNum := 0 -// err := client.ListRoleAliasesPages(params, -// func(page *iot.ListRoleAliasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRoleAliases operation. +// pageNum := 0 +// err := client.ListRoleAliasesPages(params, +// func(page *iot.ListRoleAliasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListRoleAliasesPages(input *ListRoleAliasesInput, fn func(*ListRoleAliasesOutput, bool) bool) error { return c.ListRoleAliasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17665,14 +17463,13 @@ const opListScheduledAudits = "ListScheduledAudits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListScheduledAuditsRequest method. +// req, resp := client.ListScheduledAuditsRequest(params) // -// // Example sending a request using the ListScheduledAuditsRequest method. -// req, resp := client.ListScheduledAuditsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListScheduledAuditsRequest(input *ListScheduledAuditsInput) (req *request.Request, output *ListScheduledAuditsOutput) { op := &request.Operation{ Name: opListScheduledAudits, @@ -17710,15 +17507,15 @@ func (c *IoT) ListScheduledAuditsRequest(input *ListScheduledAuditsInput) (req * // API operation ListScheduledAudits for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListScheduledAudits(input *ListScheduledAuditsInput) (*ListScheduledAuditsOutput, error) { req, out := c.ListScheduledAuditsRequest(input) return out, req.Send() @@ -17748,15 +17545,14 @@ func (c *IoT) ListScheduledAuditsWithContext(ctx aws.Context, input *ListSchedul // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListScheduledAudits operation. -// pageNum := 0 -// err := client.ListScheduledAuditsPages(params, -// func(page *iot.ListScheduledAuditsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListScheduledAudits operation. +// pageNum := 0 +// err := client.ListScheduledAuditsPages(params, +// func(page *iot.ListScheduledAuditsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListScheduledAuditsPages(input *ListScheduledAuditsInput, fn func(*ListScheduledAuditsOutput, bool) bool) error { return c.ListScheduledAuditsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17808,14 +17604,13 @@ const opListSecurityProfiles = "ListSecurityProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSecurityProfilesRequest method. +// req, resp := client.ListSecurityProfilesRequest(params) // -// // Example sending a request using the ListSecurityProfilesRequest method. -// req, resp := client.ListSecurityProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListSecurityProfilesRequest(input *ListSecurityProfilesInput) (req *request.Request, output *ListSecurityProfilesOutput) { op := &request.Operation{ Name: opListSecurityProfiles, @@ -17856,18 +17651,18 @@ func (c *IoT) ListSecurityProfilesRequest(input *ListSecurityProfilesInput) (req // API operation ListSecurityProfiles for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) ListSecurityProfiles(input *ListSecurityProfilesInput) (*ListSecurityProfilesOutput, error) { req, out := c.ListSecurityProfilesRequest(input) return out, req.Send() @@ -17897,15 +17692,14 @@ func (c *IoT) ListSecurityProfilesWithContext(ctx aws.Context, input *ListSecuri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSecurityProfiles operation. -// pageNum := 0 -// err := client.ListSecurityProfilesPages(params, -// func(page *iot.ListSecurityProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSecurityProfiles operation. +// pageNum := 0 +// err := client.ListSecurityProfilesPages(params, +// func(page *iot.ListSecurityProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListSecurityProfilesPages(input *ListSecurityProfilesInput, fn func(*ListSecurityProfilesOutput, bool) bool) error { return c.ListSecurityProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17957,14 +17751,13 @@ const opListSecurityProfilesForTarget = "ListSecurityProfilesForTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSecurityProfilesForTargetRequest method. +// req, resp := client.ListSecurityProfilesForTargetRequest(params) // -// // Example sending a request using the ListSecurityProfilesForTargetRequest method. -// req, resp := client.ListSecurityProfilesForTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListSecurityProfilesForTargetRequest(input *ListSecurityProfilesForTargetInput) (req *request.Request, output *ListSecurityProfilesForTargetOutput) { op := &request.Operation{ Name: opListSecurityProfilesForTarget, @@ -18002,18 +17795,18 @@ func (c *IoT) ListSecurityProfilesForTargetRequest(input *ListSecurityProfilesFo // API operation ListSecurityProfilesForTarget for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) ListSecurityProfilesForTarget(input *ListSecurityProfilesForTargetInput) (*ListSecurityProfilesForTargetOutput, error) { req, out := c.ListSecurityProfilesForTargetRequest(input) return out, req.Send() @@ -18043,15 +17836,14 @@ func (c *IoT) ListSecurityProfilesForTargetWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSecurityProfilesForTarget operation. -// pageNum := 0 -// err := client.ListSecurityProfilesForTargetPages(params, -// func(page *iot.ListSecurityProfilesForTargetOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSecurityProfilesForTarget operation. +// pageNum := 0 +// err := client.ListSecurityProfilesForTargetPages(params, +// func(page *iot.ListSecurityProfilesForTargetOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListSecurityProfilesForTargetPages(input *ListSecurityProfilesForTargetInput, fn func(*ListSecurityProfilesForTargetOutput, bool) bool) error { return c.ListSecurityProfilesForTargetPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18103,14 +17895,13 @@ const opListStreams = "ListStreams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStreamsRequest method. +// req, resp := client.ListStreamsRequest(params) // -// // Example sending a request using the ListStreamsRequest method. -// req, resp := client.ListStreamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListStreamsRequest(input *ListStreamsInput) (req *request.Request, output *ListStreamsOutput) { op := &request.Operation{ Name: opListStreams, @@ -18148,21 +17939,21 @@ func (c *IoT) ListStreamsRequest(input *ListStreamsInput) (req *request.Request, // API operation ListStreams for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListStreams(input *ListStreamsInput) (*ListStreamsOutput, error) { req, out := c.ListStreamsRequest(input) return out, req.Send() @@ -18192,15 +17983,14 @@ func (c *IoT) ListStreamsWithContext(ctx aws.Context, input *ListStreamsInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStreams operation. -// pageNum := 0 -// err := client.ListStreamsPages(params, -// func(page *iot.ListStreamsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStreams operation. +// pageNum := 0 +// err := client.ListStreamsPages(params, +// func(page *iot.ListStreamsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListStreamsPages(input *ListStreamsInput, fn func(*ListStreamsOutput, bool) bool) error { return c.ListStreamsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18252,14 +18042,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ Name: opListTagsForResource, @@ -18297,18 +18086,18 @@ func (c *IoT) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { req, out := c.ListTagsForResourceRequest(input) return out, req.Send() @@ -18338,15 +18127,14 @@ func (c *IoT) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsFor // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *iot.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *iot.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18398,14 +18186,13 @@ const opListTargetsForPolicy = "ListTargetsForPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTargetsForPolicyRequest method. +// req, resp := client.ListTargetsForPolicyRequest(params) // -// // Example sending a request using the ListTargetsForPolicyRequest method. -// req, resp := client.ListTargetsForPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListTargetsForPolicyRequest(input *ListTargetsForPolicyInput) (req *request.Request, output *ListTargetsForPolicyOutput) { op := &request.Operation{ Name: opListTargetsForPolicy, @@ -18443,27 +18230,27 @@ func (c *IoT) ListTargetsForPolicyRequest(input *ListTargetsForPolicyInput) (req // API operation ListTargetsForPolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * LimitExceededException -// A limit has been exceeded. +// - InternalFailureException +// An unexpected error has occurred. // +// - LimitExceededException +// A limit has been exceeded. func (c *IoT) ListTargetsForPolicy(input *ListTargetsForPolicyInput) (*ListTargetsForPolicyOutput, error) { req, out := c.ListTargetsForPolicyRequest(input) return out, req.Send() @@ -18493,15 +18280,14 @@ func (c *IoT) ListTargetsForPolicyWithContext(ctx aws.Context, input *ListTarget // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTargetsForPolicy operation. -// pageNum := 0 -// err := client.ListTargetsForPolicyPages(params, -// func(page *iot.ListTargetsForPolicyOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTargetsForPolicy operation. +// pageNum := 0 +// err := client.ListTargetsForPolicyPages(params, +// func(page *iot.ListTargetsForPolicyOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListTargetsForPolicyPages(input *ListTargetsForPolicyInput, fn func(*ListTargetsForPolicyOutput, bool) bool) error { return c.ListTargetsForPolicyPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18553,14 +18339,13 @@ const opListTargetsForSecurityProfile = "ListTargetsForSecurityProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTargetsForSecurityProfileRequest method. +// req, resp := client.ListTargetsForSecurityProfileRequest(params) // -// // Example sending a request using the ListTargetsForSecurityProfileRequest method. -// req, resp := client.ListTargetsForSecurityProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListTargetsForSecurityProfileRequest(input *ListTargetsForSecurityProfileInput) (req *request.Request, output *ListTargetsForSecurityProfileOutput) { op := &request.Operation{ Name: opListTargetsForSecurityProfile, @@ -18599,18 +18384,18 @@ func (c *IoT) ListTargetsForSecurityProfileRequest(input *ListTargetsForSecurity // API operation ListTargetsForSecurityProfile for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListTargetsForSecurityProfile(input *ListTargetsForSecurityProfileInput) (*ListTargetsForSecurityProfileOutput, error) { req, out := c.ListTargetsForSecurityProfileRequest(input) return out, req.Send() @@ -18640,15 +18425,14 @@ func (c *IoT) ListTargetsForSecurityProfileWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTargetsForSecurityProfile operation. -// pageNum := 0 -// err := client.ListTargetsForSecurityProfilePages(params, -// func(page *iot.ListTargetsForSecurityProfileOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTargetsForSecurityProfile operation. +// pageNum := 0 +// err := client.ListTargetsForSecurityProfilePages(params, +// func(page *iot.ListTargetsForSecurityProfileOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListTargetsForSecurityProfilePages(input *ListTargetsForSecurityProfileInput, fn func(*ListTargetsForSecurityProfileOutput, bool) bool) error { return c.ListTargetsForSecurityProfilePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18700,14 +18484,13 @@ const opListThingGroups = "ListThingGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThingGroupsRequest method. +// req, resp := client.ListThingGroupsRequest(params) // -// // Example sending a request using the ListThingGroupsRequest method. -// req, resp := client.ListThingGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListThingGroupsRequest(input *ListThingGroupsInput) (req *request.Request, output *ListThingGroupsOutput) { op := &request.Operation{ Name: opListThingGroups, @@ -18745,18 +18528,18 @@ func (c *IoT) ListThingGroupsRequest(input *ListThingGroupsInput) (req *request. // API operation ListThingGroups for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) ListThingGroups(input *ListThingGroupsInput) (*ListThingGroupsOutput, error) { req, out := c.ListThingGroupsRequest(input) return out, req.Send() @@ -18786,15 +18569,14 @@ func (c *IoT) ListThingGroupsWithContext(ctx aws.Context, input *ListThingGroups // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListThingGroups operation. -// pageNum := 0 -// err := client.ListThingGroupsPages(params, -// func(page *iot.ListThingGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListThingGroups operation. +// pageNum := 0 +// err := client.ListThingGroupsPages(params, +// func(page *iot.ListThingGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListThingGroupsPages(input *ListThingGroupsInput, fn func(*ListThingGroupsOutput, bool) bool) error { return c.ListThingGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18846,14 +18628,13 @@ const opListThingGroupsForThing = "ListThingGroupsForThing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThingGroupsForThingRequest method. +// req, resp := client.ListThingGroupsForThingRequest(params) // -// // Example sending a request using the ListThingGroupsForThingRequest method. -// req, resp := client.ListThingGroupsForThingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListThingGroupsForThingRequest(input *ListThingGroupsForThingInput) (req *request.Request, output *ListThingGroupsForThingOutput) { op := &request.Operation{ Name: opListThingGroupsForThing, @@ -18891,18 +18672,18 @@ func (c *IoT) ListThingGroupsForThingRequest(input *ListThingGroupsForThingInput // API operation ListThingGroupsForThing for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) ListThingGroupsForThing(input *ListThingGroupsForThingInput) (*ListThingGroupsForThingOutput, error) { req, out := c.ListThingGroupsForThingRequest(input) return out, req.Send() @@ -18932,15 +18713,14 @@ func (c *IoT) ListThingGroupsForThingWithContext(ctx aws.Context, input *ListThi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListThingGroupsForThing operation. -// pageNum := 0 -// err := client.ListThingGroupsForThingPages(params, -// func(page *iot.ListThingGroupsForThingOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListThingGroupsForThing operation. +// pageNum := 0 +// err := client.ListThingGroupsForThingPages(params, +// func(page *iot.ListThingGroupsForThingOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListThingGroupsForThingPages(input *ListThingGroupsForThingInput, fn func(*ListThingGroupsForThingOutput, bool) bool) error { return c.ListThingGroupsForThingPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18992,14 +18772,13 @@ const opListThingPrincipals = "ListThingPrincipals" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThingPrincipalsRequest method. +// req, resp := client.ListThingPrincipalsRequest(params) // -// // Example sending a request using the ListThingPrincipalsRequest method. -// req, resp := client.ListThingPrincipalsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListThingPrincipalsRequest(input *ListThingPrincipalsInput) (req *request.Request, output *ListThingPrincipalsOutput) { op := &request.Operation{ Name: opListThingPrincipals, @@ -19039,24 +18818,24 @@ func (c *IoT) ListThingPrincipalsRequest(input *ListThingPrincipalsInput) (req * // API operation ListThingPrincipals for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) ListThingPrincipals(input *ListThingPrincipalsInput) (*ListThingPrincipalsOutput, error) { req, out := c.ListThingPrincipalsRequest(input) return out, req.Send() @@ -19086,15 +18865,14 @@ func (c *IoT) ListThingPrincipalsWithContext(ctx aws.Context, input *ListThingPr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListThingPrincipals operation. -// pageNum := 0 -// err := client.ListThingPrincipalsPages(params, -// func(page *iot.ListThingPrincipalsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListThingPrincipals operation. +// pageNum := 0 +// err := client.ListThingPrincipalsPages(params, +// func(page *iot.ListThingPrincipalsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListThingPrincipalsPages(input *ListThingPrincipalsInput, fn func(*ListThingPrincipalsOutput, bool) bool) error { return c.ListThingPrincipalsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19146,14 +18924,13 @@ const opListThingRegistrationTaskReports = "ListThingRegistrationTaskReports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThingRegistrationTaskReportsRequest method. +// req, resp := client.ListThingRegistrationTaskReportsRequest(params) // -// // Example sending a request using the ListThingRegistrationTaskReportsRequest method. -// req, resp := client.ListThingRegistrationTaskReportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListThingRegistrationTaskReportsRequest(input *ListThingRegistrationTaskReportsInput) (req *request.Request, output *ListThingRegistrationTaskReportsOutput) { op := &request.Operation{ Name: opListThingRegistrationTaskReports, @@ -19188,18 +18965,18 @@ func (c *IoT) ListThingRegistrationTaskReportsRequest(input *ListThingRegistrati // API operation ListThingRegistrationTaskReports for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * InternalFailureException -// An unexpected error has occurred. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListThingRegistrationTaskReports(input *ListThingRegistrationTaskReportsInput) (*ListThingRegistrationTaskReportsOutput, error) { req, out := c.ListThingRegistrationTaskReportsRequest(input) return out, req.Send() @@ -19229,15 +19006,14 @@ func (c *IoT) ListThingRegistrationTaskReportsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListThingRegistrationTaskReports operation. -// pageNum := 0 -// err := client.ListThingRegistrationTaskReportsPages(params, -// func(page *iot.ListThingRegistrationTaskReportsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListThingRegistrationTaskReports operation. +// pageNum := 0 +// err := client.ListThingRegistrationTaskReportsPages(params, +// func(page *iot.ListThingRegistrationTaskReportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListThingRegistrationTaskReportsPages(input *ListThingRegistrationTaskReportsInput, fn func(*ListThingRegistrationTaskReportsOutput, bool) bool) error { return c.ListThingRegistrationTaskReportsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19289,14 +19065,13 @@ const opListThingRegistrationTasks = "ListThingRegistrationTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThingRegistrationTasksRequest method. +// req, resp := client.ListThingRegistrationTasksRequest(params) // -// // Example sending a request using the ListThingRegistrationTasksRequest method. -// req, resp := client.ListThingRegistrationTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListThingRegistrationTasksRequest(input *ListThingRegistrationTasksInput) (req *request.Request, output *ListThingRegistrationTasksOutput) { op := &request.Operation{ Name: opListThingRegistrationTasks, @@ -19334,18 +19109,18 @@ func (c *IoT) ListThingRegistrationTasksRequest(input *ListThingRegistrationTask // API operation ListThingRegistrationTasks for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * InternalFailureException -// An unexpected error has occurred. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListThingRegistrationTasks(input *ListThingRegistrationTasksInput) (*ListThingRegistrationTasksOutput, error) { req, out := c.ListThingRegistrationTasksRequest(input) return out, req.Send() @@ -19375,15 +19150,14 @@ func (c *IoT) ListThingRegistrationTasksWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListThingRegistrationTasks operation. -// pageNum := 0 -// err := client.ListThingRegistrationTasksPages(params, -// func(page *iot.ListThingRegistrationTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListThingRegistrationTasks operation. +// pageNum := 0 +// err := client.ListThingRegistrationTasksPages(params, +// func(page *iot.ListThingRegistrationTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListThingRegistrationTasksPages(input *ListThingRegistrationTasksInput, fn func(*ListThingRegistrationTasksOutput, bool) bool) error { return c.ListThingRegistrationTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19435,14 +19209,13 @@ const opListThingTypes = "ListThingTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThingTypesRequest method. +// req, resp := client.ListThingTypesRequest(params) // -// // Example sending a request using the ListThingTypesRequest method. -// req, resp := client.ListThingTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListThingTypesRequest(input *ListThingTypesInput) (req *request.Request, output *ListThingTypesOutput) { op := &request.Operation{ Name: opListThingTypes, @@ -19480,21 +19253,21 @@ func (c *IoT) ListThingTypesRequest(input *ListThingTypesInput) (req *request.Re // API operation ListThingTypes for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListThingTypes(input *ListThingTypesInput) (*ListThingTypesOutput, error) { req, out := c.ListThingTypesRequest(input) return out, req.Send() @@ -19524,15 +19297,14 @@ func (c *IoT) ListThingTypesWithContext(ctx aws.Context, input *ListThingTypesIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListThingTypes operation. -// pageNum := 0 -// err := client.ListThingTypesPages(params, -// func(page *iot.ListThingTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListThingTypes operation. +// pageNum := 0 +// err := client.ListThingTypesPages(params, +// func(page *iot.ListThingTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListThingTypesPages(input *ListThingTypesInput, fn func(*ListThingTypesOutput, bool) bool) error { return c.ListThingTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19584,14 +19356,13 @@ const opListThings = "ListThings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThingsRequest method. +// req, resp := client.ListThingsRequest(params) // -// // Example sending a request using the ListThingsRequest method. -// req, resp := client.ListThingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListThingsRequest(input *ListThingsInput) (req *request.Request, output *ListThingsOutput) { op := &request.Operation{ Name: opListThings, @@ -19636,21 +19407,21 @@ func (c *IoT) ListThingsRequest(input *ListThingsInput) (req *request.Request, o // API operation ListThings for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListThings(input *ListThingsInput) (*ListThingsOutput, error) { req, out := c.ListThingsRequest(input) return out, req.Send() @@ -19680,15 +19451,14 @@ func (c *IoT) ListThingsWithContext(ctx aws.Context, input *ListThingsInput, opt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListThings operation. -// pageNum := 0 -// err := client.ListThingsPages(params, -// func(page *iot.ListThingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListThings operation. +// pageNum := 0 +// err := client.ListThingsPages(params, +// func(page *iot.ListThingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListThingsPages(input *ListThingsInput, fn func(*ListThingsOutput, bool) bool) error { return c.ListThingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19740,14 +19510,13 @@ const opListThingsInBillingGroup = "ListThingsInBillingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThingsInBillingGroupRequest method. +// req, resp := client.ListThingsInBillingGroupRequest(params) // -// // Example sending a request using the ListThingsInBillingGroupRequest method. -// req, resp := client.ListThingsInBillingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListThingsInBillingGroupRequest(input *ListThingsInBillingGroupInput) (req *request.Request, output *ListThingsInBillingGroupOutput) { op := &request.Operation{ Name: opListThingsInBillingGroup, @@ -19785,18 +19554,18 @@ func (c *IoT) ListThingsInBillingGroupRequest(input *ListThingsInBillingGroupInp // API operation ListThingsInBillingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) ListThingsInBillingGroup(input *ListThingsInBillingGroupInput) (*ListThingsInBillingGroupOutput, error) { req, out := c.ListThingsInBillingGroupRequest(input) return out, req.Send() @@ -19826,15 +19595,14 @@ func (c *IoT) ListThingsInBillingGroupWithContext(ctx aws.Context, input *ListTh // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListThingsInBillingGroup operation. -// pageNum := 0 -// err := client.ListThingsInBillingGroupPages(params, -// func(page *iot.ListThingsInBillingGroupOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListThingsInBillingGroup operation. +// pageNum := 0 +// err := client.ListThingsInBillingGroupPages(params, +// func(page *iot.ListThingsInBillingGroupOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListThingsInBillingGroupPages(input *ListThingsInBillingGroupInput, fn func(*ListThingsInBillingGroupOutput, bool) bool) error { return c.ListThingsInBillingGroupPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19886,14 +19654,13 @@ const opListThingsInThingGroup = "ListThingsInThingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThingsInThingGroupRequest method. +// req, resp := client.ListThingsInThingGroupRequest(params) // -// // Example sending a request using the ListThingsInThingGroupRequest method. -// req, resp := client.ListThingsInThingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListThingsInThingGroupRequest(input *ListThingsInThingGroupInput) (req *request.Request, output *ListThingsInThingGroupOutput) { op := &request.Operation{ Name: opListThingsInThingGroup, @@ -19931,18 +19698,18 @@ func (c *IoT) ListThingsInThingGroupRequest(input *ListThingsInThingGroupInput) // API operation ListThingsInThingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) ListThingsInThingGroup(input *ListThingsInThingGroupInput) (*ListThingsInThingGroupOutput, error) { req, out := c.ListThingsInThingGroupRequest(input) return out, req.Send() @@ -19972,15 +19739,14 @@ func (c *IoT) ListThingsInThingGroupWithContext(ctx aws.Context, input *ListThin // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListThingsInThingGroup operation. -// pageNum := 0 -// err := client.ListThingsInThingGroupPages(params, -// func(page *iot.ListThingsInThingGroupOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListThingsInThingGroup operation. +// pageNum := 0 +// err := client.ListThingsInThingGroupPages(params, +// func(page *iot.ListThingsInThingGroupOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListThingsInThingGroupPages(input *ListThingsInThingGroupInput, fn func(*ListThingsInThingGroupOutput, bool) bool) error { return c.ListThingsInThingGroupPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -20032,14 +19798,13 @@ const opListTopicRuleDestinations = "ListTopicRuleDestinations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTopicRuleDestinationsRequest method. +// req, resp := client.ListTopicRuleDestinationsRequest(params) // -// // Example sending a request using the ListTopicRuleDestinationsRequest method. -// req, resp := client.ListTopicRuleDestinationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListTopicRuleDestinationsRequest(input *ListTopicRuleDestinationsInput) (req *request.Request, output *ListTopicRuleDestinationsOutput) { op := &request.Operation{ Name: opListTopicRuleDestinations, @@ -20077,18 +19842,18 @@ func (c *IoT) ListTopicRuleDestinationsRequest(input *ListTopicRuleDestinationsI // API operation ListTopicRuleDestinations for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - UnauthorizedException +// You are not authorized to perform this operation. func (c *IoT) ListTopicRuleDestinations(input *ListTopicRuleDestinationsInput) (*ListTopicRuleDestinationsOutput, error) { req, out := c.ListTopicRuleDestinationsRequest(input) return out, req.Send() @@ -20118,15 +19883,14 @@ func (c *IoT) ListTopicRuleDestinationsWithContext(ctx aws.Context, input *ListT // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTopicRuleDestinations operation. -// pageNum := 0 -// err := client.ListTopicRuleDestinationsPages(params, -// func(page *iot.ListTopicRuleDestinationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTopicRuleDestinations operation. +// pageNum := 0 +// err := client.ListTopicRuleDestinationsPages(params, +// func(page *iot.ListTopicRuleDestinationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListTopicRuleDestinationsPages(input *ListTopicRuleDestinationsInput, fn func(*ListTopicRuleDestinationsOutput, bool) bool) error { return c.ListTopicRuleDestinationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -20178,14 +19942,13 @@ const opListTopicRules = "ListTopicRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTopicRulesRequest method. +// req, resp := client.ListTopicRulesRequest(params) // -// // Example sending a request using the ListTopicRulesRequest method. -// req, resp := client.ListTopicRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListTopicRulesRequest(input *ListTopicRulesInput) (req *request.Request, output *ListTopicRulesOutput) { op := &request.Operation{ Name: opListTopicRules, @@ -20223,15 +19986,15 @@ func (c *IoT) ListTopicRulesRequest(input *ListTopicRulesInput) (req *request.Re // API operation ListTopicRules for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) ListTopicRules(input *ListTopicRulesInput) (*ListTopicRulesOutput, error) { req, out := c.ListTopicRulesRequest(input) return out, req.Send() @@ -20261,15 +20024,14 @@ func (c *IoT) ListTopicRulesWithContext(ctx aws.Context, input *ListTopicRulesIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTopicRules operation. -// pageNum := 0 -// err := client.ListTopicRulesPages(params, -// func(page *iot.ListTopicRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTopicRules operation. +// pageNum := 0 +// err := client.ListTopicRulesPages(params, +// func(page *iot.ListTopicRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListTopicRulesPages(input *ListTopicRulesInput, fn func(*ListTopicRulesOutput, bool) bool) error { return c.ListTopicRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -20321,14 +20083,13 @@ const opListV2LoggingLevels = "ListV2LoggingLevels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListV2LoggingLevelsRequest method. +// req, resp := client.ListV2LoggingLevelsRequest(params) // -// // Example sending a request using the ListV2LoggingLevelsRequest method. -// req, resp := client.ListV2LoggingLevelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListV2LoggingLevelsRequest(input *ListV2LoggingLevelsInput) (req *request.Request, output *ListV2LoggingLevelsOutput) { op := &request.Operation{ Name: opListV2LoggingLevels, @@ -20366,18 +20127,18 @@ func (c *IoT) ListV2LoggingLevelsRequest(input *ListV2LoggingLevelsInput) (req * // API operation ListV2LoggingLevels for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * NotConfiguredException -// The resource is not configured. +// - InternalException +// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - NotConfiguredException +// The resource is not configured. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) ListV2LoggingLevels(input *ListV2LoggingLevelsInput) (*ListV2LoggingLevelsOutput, error) { req, out := c.ListV2LoggingLevelsRequest(input) return out, req.Send() @@ -20407,15 +20168,14 @@ func (c *IoT) ListV2LoggingLevelsWithContext(ctx aws.Context, input *ListV2Loggi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListV2LoggingLevels operation. -// pageNum := 0 -// err := client.ListV2LoggingLevelsPages(params, -// func(page *iot.ListV2LoggingLevelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListV2LoggingLevels operation. +// pageNum := 0 +// err := client.ListV2LoggingLevelsPages(params, +// func(page *iot.ListV2LoggingLevelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListV2LoggingLevelsPages(input *ListV2LoggingLevelsInput, fn func(*ListV2LoggingLevelsOutput, bool) bool) error { return c.ListV2LoggingLevelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -20467,14 +20227,13 @@ const opListViolationEvents = "ListViolationEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListViolationEventsRequest method. +// req, resp := client.ListViolationEventsRequest(params) // -// // Example sending a request using the ListViolationEventsRequest method. -// req, resp := client.ListViolationEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ListViolationEventsRequest(input *ListViolationEventsInput) (req *request.Request, output *ListViolationEventsOutput) { op := &request.Operation{ Name: opListViolationEvents, @@ -20514,15 +20273,15 @@ func (c *IoT) ListViolationEventsRequest(input *ListViolationEventsInput) (req * // API operation ListViolationEvents for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ListViolationEvents(input *ListViolationEventsInput) (*ListViolationEventsOutput, error) { req, out := c.ListViolationEventsRequest(input) return out, req.Send() @@ -20552,15 +20311,14 @@ func (c *IoT) ListViolationEventsWithContext(ctx aws.Context, input *ListViolati // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListViolationEvents operation. -// pageNum := 0 -// err := client.ListViolationEventsPages(params, -// func(page *iot.ListViolationEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListViolationEvents operation. +// pageNum := 0 +// err := client.ListViolationEventsPages(params, +// func(page *iot.ListViolationEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT) ListViolationEventsPages(input *ListViolationEventsInput, fn func(*ListViolationEventsOutput, bool) bool) error { return c.ListViolationEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -20612,14 +20370,13 @@ const opPutVerificationStateOnViolation = "PutVerificationStateOnViolation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutVerificationStateOnViolationRequest method. +// req, resp := client.PutVerificationStateOnViolationRequest(params) // -// // Example sending a request using the PutVerificationStateOnViolationRequest method. -// req, resp := client.PutVerificationStateOnViolationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) PutVerificationStateOnViolationRequest(input *PutVerificationStateOnViolationInput) (req *request.Request, output *PutVerificationStateOnViolationOutput) { op := &request.Operation{ Name: opPutVerificationStateOnViolation, @@ -20650,15 +20407,15 @@ func (c *IoT) PutVerificationStateOnViolationRequest(input *PutVerificationState // API operation PutVerificationStateOnViolation for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) PutVerificationStateOnViolation(input *PutVerificationStateOnViolationInput) (*PutVerificationStateOnViolationOutput, error) { req, out := c.PutVerificationStateOnViolationRequest(input) return out, req.Send() @@ -20696,14 +20453,13 @@ const opRegisterCACertificate = "RegisterCACertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterCACertificateRequest method. +// req, resp := client.RegisterCACertificateRequest(params) // -// // Example sending a request using the RegisterCACertificateRequest method. -// req, resp := client.RegisterCACertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) RegisterCACertificateRequest(input *RegisterCACertificateInput) (req *request.Request, output *RegisterCACertificateOutput) { op := &request.Operation{ Name: opRegisterCACertificate, @@ -20741,33 +20497,33 @@ func (c *IoT) RegisterCACertificateRequest(input *RegisterCACertificateInput) (r // API operation RegisterCACertificate for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource already exists. // -// * RegistrationCodeValidationException -// The registration code is invalid. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * InvalidRequestException -// The request is not valid. +// - RegistrationCodeValidationException +// The registration code is invalid. // -// * CertificateValidationException -// The certificate is invalid. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - CertificateValidationException +// The certificate is invalid. // -// * LimitExceededException -// A limit has been exceeded. +// - ThrottlingException +// The rate exceeds the limit. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - LimitExceededException +// A limit has been exceeded. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) RegisterCACertificate(input *RegisterCACertificateInput) (*RegisterCACertificateOutput, error) { req, out := c.RegisterCACertificateRequest(input) return out, req.Send() @@ -20805,14 +20561,13 @@ const opRegisterCertificate = "RegisterCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterCertificateRequest method. +// req, resp := client.RegisterCertificateRequest(params) // -// // Example sending a request using the RegisterCertificateRequest method. -// req, resp := client.RegisterCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) RegisterCertificateRequest(input *RegisterCertificateInput) (req *request.Request, output *RegisterCertificateOutput) { op := &request.Operation{ Name: opRegisterCertificate, @@ -20846,35 +20601,35 @@ func (c *IoT) RegisterCertificateRequest(input *RegisterCertificateInput) (req * // API operation RegisterCertificate for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource already exists. // -// * InvalidRequestException -// The request is not valid. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * CertificateValidationException -// The certificate is invalid. +// - InvalidRequestException +// The request is not valid. // -// * CertificateStateException -// The certificate operation is not allowed. +// - CertificateValidationException +// The certificate is invalid. // -// * CertificateConflictException -// Unable to verify the CA certificate used to sign the device certificate you -// are attempting to register. This is happens when you have registered more -// than one CA certificate that has the same subject field and public key. +// - CertificateStateException +// The certificate operation is not allowed. // -// * ThrottlingException -// The rate exceeds the limit. +// - CertificateConflictException +// Unable to verify the CA certificate used to sign the device certificate you +// are attempting to register. This is happens when you have registered more +// than one CA certificate that has the same subject field and public key. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) RegisterCertificate(input *RegisterCertificateInput) (*RegisterCertificateOutput, error) { req, out := c.RegisterCertificateRequest(input) return out, req.Send() @@ -20912,14 +20667,13 @@ const opRegisterCertificateWithoutCA = "RegisterCertificateWithoutCA" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterCertificateWithoutCARequest method. +// req, resp := client.RegisterCertificateWithoutCARequest(params) // -// // Example sending a request using the RegisterCertificateWithoutCARequest method. -// req, resp := client.RegisterCertificateWithoutCARequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) RegisterCertificateWithoutCARequest(input *RegisterCertificateWithoutCAInput) (req *request.Request, output *RegisterCertificateWithoutCAOutput) { op := &request.Operation{ Name: opRegisterCertificateWithoutCA, @@ -20950,30 +20704,30 @@ func (c *IoT) RegisterCertificateWithoutCARequest(input *RegisterCertificateWith // API operation RegisterCertificateWithoutCA for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The resource already exists. // -// * InvalidRequestException -// The request is not valid. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * CertificateStateException -// The certificate operation is not allowed. +// - InvalidRequestException +// The request is not valid. // -// * CertificateValidationException -// The certificate is invalid. +// - CertificateStateException +// The certificate operation is not allowed. // -// * ThrottlingException -// The rate exceeds the limit. +// - CertificateValidationException +// The certificate is invalid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) RegisterCertificateWithoutCA(input *RegisterCertificateWithoutCAInput) (*RegisterCertificateWithoutCAOutput, error) { req, out := c.RegisterCertificateWithoutCARequest(input) return out, req.Send() @@ -21011,14 +20765,13 @@ const opRegisterThing = "RegisterThing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterThingRequest method. +// req, resp := client.RegisterThingRequest(params) // -// // Example sending a request using the RegisterThingRequest method. -// req, resp := client.RegisterThingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) RegisterThingRequest(input *RegisterThingInput) (req *request.Request, output *RegisterThingOutput) { op := &request.Operation{ Name: opRegisterThing, @@ -21055,28 +20808,28 @@ func (c *IoT) RegisterThingRequest(input *RegisterThingInput) (req *request.Requ // API operation RegisterThing for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * ConflictingResourceUpdateException -// A conflicting resource update exception. This exception is thrown when two -// pending updates cause a conflict. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceRegistrationFailureException -// The resource registration failed. +// - ConflictingResourceUpdateException +// A conflicting resource update exception. This exception is thrown when two +// pending updates cause a conflict. // +// - ResourceRegistrationFailureException +// The resource registration failed. func (c *IoT) RegisterThing(input *RegisterThingInput) (*RegisterThingOutput, error) { req, out := c.RegisterThingRequest(input) return out, req.Send() @@ -21114,14 +20867,13 @@ const opRejectCertificateTransfer = "RejectCertificateTransfer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectCertificateTransferRequest method. +// req, resp := client.RejectCertificateTransferRequest(params) // -// // Example sending a request using the RejectCertificateTransferRequest method. -// req, resp := client.RejectCertificateTransferRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) RejectCertificateTransferRequest(input *RejectCertificateTransferInput) (req *request.Request, output *RejectCertificateTransferOutput) { op := &request.Operation{ Name: opRejectCertificateTransfer, @@ -21162,28 +20914,28 @@ func (c *IoT) RejectCertificateTransferRequest(input *RejectCertificateTransferI // API operation RejectCertificateTransfer for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * TransferAlreadyCompletedException -// You can't revert the certificate transfer because the transfer is already -// complete. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - TransferAlreadyCompletedException +// You can't revert the certificate transfer because the transfer is already +// complete. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) RejectCertificateTransfer(input *RejectCertificateTransferInput) (*RejectCertificateTransferOutput, error) { req, out := c.RejectCertificateTransferRequest(input) return out, req.Send() @@ -21221,14 +20973,13 @@ const opRemoveThingFromBillingGroup = "RemoveThingFromBillingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveThingFromBillingGroupRequest method. +// req, resp := client.RemoveThingFromBillingGroupRequest(params) // -// // Example sending a request using the RemoveThingFromBillingGroupRequest method. -// req, resp := client.RemoveThingFromBillingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) RemoveThingFromBillingGroupRequest(input *RemoveThingFromBillingGroupInput) (req *request.Request, output *RemoveThingFromBillingGroupOutput) { op := &request.Operation{ Name: opRemoveThingFromBillingGroup, @@ -21264,18 +21015,18 @@ func (c *IoT) RemoveThingFromBillingGroupRequest(input *RemoveThingFromBillingGr // API operation RemoveThingFromBillingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) RemoveThingFromBillingGroup(input *RemoveThingFromBillingGroupInput) (*RemoveThingFromBillingGroupOutput, error) { req, out := c.RemoveThingFromBillingGroupRequest(input) return out, req.Send() @@ -21313,14 +21064,13 @@ const opRemoveThingFromThingGroup = "RemoveThingFromThingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveThingFromThingGroupRequest method. +// req, resp := client.RemoveThingFromThingGroupRequest(params) // -// // Example sending a request using the RemoveThingFromThingGroupRequest method. -// req, resp := client.RemoveThingFromThingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) RemoveThingFromThingGroupRequest(input *RemoveThingFromThingGroupInput) (req *request.Request, output *RemoveThingFromThingGroupOutput) { op := &request.Operation{ Name: opRemoveThingFromThingGroup, @@ -21357,18 +21107,18 @@ func (c *IoT) RemoveThingFromThingGroupRequest(input *RemoveThingFromThingGroupI // API operation RemoveThingFromThingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) RemoveThingFromThingGroup(input *RemoveThingFromThingGroupInput) (*RemoveThingFromThingGroupOutput, error) { req, out := c.RemoveThingFromThingGroupRequest(input) return out, req.Send() @@ -21406,14 +21156,13 @@ const opReplaceTopicRule = "ReplaceTopicRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReplaceTopicRuleRequest method. +// req, resp := client.ReplaceTopicRuleRequest(params) // -// // Example sending a request using the ReplaceTopicRuleRequest method. -// req, resp := client.ReplaceTopicRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ReplaceTopicRuleRequest(input *ReplaceTopicRuleInput) (req *request.Request, output *ReplaceTopicRuleOutput) { op := &request.Operation{ Name: opReplaceTopicRule, @@ -21448,25 +21197,25 @@ func (c *IoT) ReplaceTopicRuleRequest(input *ReplaceTopicRuleInput) (req *reques // API operation ReplaceTopicRule for usage and error information. // // Returned Error Types: -// * SqlParseException -// The Rule-SQL expression can't be parsed correctly. // -// * InternalException -// An unexpected error has occurred. +// - SqlParseException +// The Rule-SQL expression can't be parsed correctly. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ConflictingResourceUpdateException -// A conflicting resource update exception. This exception is thrown when two -// pending updates cause a conflict. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - ConflictingResourceUpdateException +// A conflicting resource update exception. This exception is thrown when two +// pending updates cause a conflict. func (c *IoT) ReplaceTopicRule(input *ReplaceTopicRuleInput) (*ReplaceTopicRuleOutput, error) { req, out := c.ReplaceTopicRuleRequest(input) return out, req.Send() @@ -21504,14 +21253,13 @@ const opSearchIndex = "SearchIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchIndexRequest method. +// req, resp := client.SearchIndexRequest(params) // -// // Example sending a request using the SearchIndexRequest method. -// req, resp := client.SearchIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) SearchIndexRequest(input *SearchIndexInput) (req *request.Request, output *SearchIndexOutput) { op := &request.Operation{ Name: opSearchIndex, @@ -21543,30 +21291,30 @@ func (c *IoT) SearchIndexRequest(input *SearchIndexInput) (req *request.Request, // API operation SearchIndex for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // -// * InvalidQueryException -// The query is invalid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * IndexNotReadyException -// The index is not ready. +// - InvalidQueryException +// The query is invalid. // +// - IndexNotReadyException +// The index is not ready. func (c *IoT) SearchIndex(input *SearchIndexInput) (*SearchIndexOutput, error) { req, out := c.SearchIndexRequest(input) return out, req.Send() @@ -21604,14 +21352,13 @@ const opSetDefaultAuthorizer = "SetDefaultAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetDefaultAuthorizerRequest method. +// req, resp := client.SetDefaultAuthorizerRequest(params) // -// // Example sending a request using the SetDefaultAuthorizerRequest method. -// req, resp := client.SetDefaultAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) SetDefaultAuthorizerRequest(input *SetDefaultAuthorizerInput) (req *request.Request, output *SetDefaultAuthorizerOutput) { op := &request.Operation{ Name: opSetDefaultAuthorizer, @@ -21644,27 +21391,27 @@ func (c *IoT) SetDefaultAuthorizerRequest(input *SetDefaultAuthorizerInput) (req // API operation SetDefaultAuthorizer for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceAlreadyExistsException +// The resource already exists. func (c *IoT) SetDefaultAuthorizer(input *SetDefaultAuthorizerInput) (*SetDefaultAuthorizerOutput, error) { req, out := c.SetDefaultAuthorizerRequest(input) return out, req.Send() @@ -21702,14 +21449,13 @@ const opSetDefaultPolicyVersion = "SetDefaultPolicyVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetDefaultPolicyVersionRequest method. +// req, resp := client.SetDefaultPolicyVersionRequest(params) // -// // Example sending a request using the SetDefaultPolicyVersionRequest method. -// req, resp := client.SetDefaultPolicyVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) SetDefaultPolicyVersionRequest(input *SetDefaultPolicyVersionInput) (req *request.Request, output *SetDefaultPolicyVersionOutput) { op := &request.Operation{ Name: opSetDefaultPolicyVersion, @@ -21745,24 +21491,24 @@ func (c *IoT) SetDefaultPolicyVersionRequest(input *SetDefaultPolicyVersionInput // API operation SetDefaultPolicyVersion for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) SetDefaultPolicyVersion(input *SetDefaultPolicyVersionInput) (*SetDefaultPolicyVersionOutput, error) { req, out := c.SetDefaultPolicyVersionRequest(input) return out, req.Send() @@ -21800,14 +21546,13 @@ const opSetLoggingOptions = "SetLoggingOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetLoggingOptionsRequest method. +// req, resp := client.SetLoggingOptionsRequest(params) // -// // Example sending a request using the SetLoggingOptionsRequest method. -// req, resp := client.SetLoggingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) SetLoggingOptionsRequest(input *SetLoggingOptionsInput) (req *request.Request, output *SetLoggingOptionsOutput) { op := &request.Operation{ Name: opSetLoggingOptions, @@ -21842,15 +21587,15 @@ func (c *IoT) SetLoggingOptionsRequest(input *SetLoggingOptionsInput) (req *requ // API operation SetLoggingOptions for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) SetLoggingOptions(input *SetLoggingOptionsInput) (*SetLoggingOptionsOutput, error) { req, out := c.SetLoggingOptionsRequest(input) return out, req.Send() @@ -21888,14 +21633,13 @@ const opSetV2LoggingLevel = "SetV2LoggingLevel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetV2LoggingLevelRequest method. +// req, resp := client.SetV2LoggingLevelRequest(params) // -// // Example sending a request using the SetV2LoggingLevelRequest method. -// req, resp := client.SetV2LoggingLevelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) SetV2LoggingLevelRequest(input *SetV2LoggingLevelInput) (req *request.Request, output *SetV2LoggingLevelOutput) { op := &request.Operation{ Name: opSetV2LoggingLevel, @@ -21928,21 +21672,21 @@ func (c *IoT) SetV2LoggingLevelRequest(input *SetV2LoggingLevelInput) (req *requ // API operation SetV2LoggingLevel for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * NotConfiguredException -// The resource is not configured. +// - InternalException +// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - NotConfiguredException +// The resource is not configured. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // -// * LimitExceededException -// A limit has been exceeded. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - LimitExceededException +// A limit has been exceeded. func (c *IoT) SetV2LoggingLevel(input *SetV2LoggingLevelInput) (*SetV2LoggingLevelOutput, error) { req, out := c.SetV2LoggingLevelRequest(input) return out, req.Send() @@ -21980,14 +21724,13 @@ const opSetV2LoggingOptions = "SetV2LoggingOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetV2LoggingOptionsRequest method. +// req, resp := client.SetV2LoggingOptionsRequest(params) // -// // Example sending a request using the SetV2LoggingOptionsRequest method. -// req, resp := client.SetV2LoggingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) SetV2LoggingOptionsRequest(input *SetV2LoggingOptionsInput) (req *request.Request, output *SetV2LoggingOptionsOutput) { op := &request.Operation{ Name: opSetV2LoggingOptions, @@ -22020,15 +21763,15 @@ func (c *IoT) SetV2LoggingOptionsRequest(input *SetV2LoggingOptionsInput) (req * // API operation SetV2LoggingOptions for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) SetV2LoggingOptions(input *SetV2LoggingOptionsInput) (*SetV2LoggingOptionsOutput, error) { req, out := c.SetV2LoggingOptionsRequest(input) return out, req.Send() @@ -22066,14 +21809,13 @@ const opStartAuditMitigationActionsTask = "StartAuditMitigationActionsTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartAuditMitigationActionsTaskRequest method. +// req, resp := client.StartAuditMitigationActionsTaskRequest(params) // -// // Example sending a request using the StartAuditMitigationActionsTaskRequest method. -// req, resp := client.StartAuditMitigationActionsTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) StartAuditMitigationActionsTaskRequest(input *StartAuditMitigationActionsTaskInput) (req *request.Request, output *StartAuditMitigationActionsTaskOutput) { op := &request.Operation{ Name: opStartAuditMitigationActionsTask, @@ -22105,22 +21847,22 @@ func (c *IoT) StartAuditMitigationActionsTaskRequest(input *StartAuditMitigation // API operation StartAuditMitigationActionsTask for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * TaskAlreadyExistsException -// This exception occurs if you attempt to start a task with the same task-id -// as an existing task but with a different clientRequestToken. +// - InvalidRequestException +// The request is not valid. // -// * LimitExceededException -// A limit has been exceeded. +// - TaskAlreadyExistsException +// This exception occurs if you attempt to start a task with the same task-id +// as an existing task but with a different clientRequestToken. // -// * ThrottlingException -// The rate exceeds the limit. +// - LimitExceededException +// A limit has been exceeded. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) StartAuditMitigationActionsTask(input *StartAuditMitigationActionsTaskInput) (*StartAuditMitigationActionsTaskOutput, error) { req, out := c.StartAuditMitigationActionsTaskRequest(input) return out, req.Send() @@ -22158,14 +21900,13 @@ const opStartDetectMitigationActionsTask = "StartDetectMitigationActionsTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDetectMitigationActionsTaskRequest method. +// req, resp := client.StartDetectMitigationActionsTaskRequest(params) // -// // Example sending a request using the StartDetectMitigationActionsTaskRequest method. -// req, resp := client.StartDetectMitigationActionsTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) StartDetectMitigationActionsTaskRequest(input *StartDetectMitigationActionsTaskInput) (req *request.Request, output *StartDetectMitigationActionsTaskOutput) { op := &request.Operation{ Name: opStartDetectMitigationActionsTask, @@ -22197,22 +21938,22 @@ func (c *IoT) StartDetectMitigationActionsTaskRequest(input *StartDetectMitigati // API operation StartDetectMitigationActionsTask for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * TaskAlreadyExistsException -// This exception occurs if you attempt to start a task with the same task-id -// as an existing task but with a different clientRequestToken. +// - InvalidRequestException +// The request is not valid. // -// * LimitExceededException -// A limit has been exceeded. +// - TaskAlreadyExistsException +// This exception occurs if you attempt to start a task with the same task-id +// as an existing task but with a different clientRequestToken. // -// * ThrottlingException -// The rate exceeds the limit. +// - LimitExceededException +// A limit has been exceeded. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) StartDetectMitigationActionsTask(input *StartDetectMitigationActionsTaskInput) (*StartDetectMitigationActionsTaskOutput, error) { req, out := c.StartDetectMitigationActionsTaskRequest(input) return out, req.Send() @@ -22250,14 +21991,13 @@ const opStartOnDemandAuditTask = "StartOnDemandAuditTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartOnDemandAuditTaskRequest method. +// req, resp := client.StartOnDemandAuditTaskRequest(params) // -// // Example sending a request using the StartOnDemandAuditTaskRequest method. -// req, resp := client.StartOnDemandAuditTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) StartOnDemandAuditTaskRequest(input *StartOnDemandAuditTaskInput) (req *request.Request, output *StartOnDemandAuditTaskOutput) { op := &request.Operation{ Name: opStartOnDemandAuditTask, @@ -22289,18 +22029,18 @@ func (c *IoT) StartOnDemandAuditTaskRequest(input *StartOnDemandAuditTaskInput) // API operation StartOnDemandAuditTask for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * LimitExceededException -// A limit has been exceeded. +// - InternalFailureException +// An unexpected error has occurred. // +// - LimitExceededException +// A limit has been exceeded. func (c *IoT) StartOnDemandAuditTask(input *StartOnDemandAuditTaskInput) (*StartOnDemandAuditTaskOutput, error) { req, out := c.StartOnDemandAuditTaskRequest(input) return out, req.Send() @@ -22338,14 +22078,13 @@ const opStartThingRegistrationTask = "StartThingRegistrationTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartThingRegistrationTaskRequest method. +// req, resp := client.StartThingRegistrationTaskRequest(params) // -// // Example sending a request using the StartThingRegistrationTaskRequest method. -// req, resp := client.StartThingRegistrationTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) StartThingRegistrationTaskRequest(input *StartThingRegistrationTaskInput) (req *request.Request, output *StartThingRegistrationTaskOutput) { op := &request.Operation{ Name: opStartThingRegistrationTask, @@ -22377,18 +22116,18 @@ func (c *IoT) StartThingRegistrationTaskRequest(input *StartThingRegistrationTas // API operation StartThingRegistrationTask for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * InternalFailureException -// An unexpected error has occurred. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) StartThingRegistrationTask(input *StartThingRegistrationTaskInput) (*StartThingRegistrationTaskOutput, error) { req, out := c.StartThingRegistrationTaskRequest(input) return out, req.Send() @@ -22426,14 +22165,13 @@ const opStopThingRegistrationTask = "StopThingRegistrationTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopThingRegistrationTaskRequest method. +// req, resp := client.StopThingRegistrationTaskRequest(params) // -// // Example sending a request using the StopThingRegistrationTaskRequest method. -// req, resp := client.StopThingRegistrationTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) StopThingRegistrationTaskRequest(input *StopThingRegistrationTaskInput) (req *request.Request, output *StopThingRegistrationTaskOutput) { op := &request.Operation{ Name: opStopThingRegistrationTask, @@ -22466,21 +22204,21 @@ func (c *IoT) StopThingRegistrationTaskRequest(input *StopThingRegistrationTaskI // API operation StopThingRegistrationTask for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * InternalFailureException -// An unexpected error has occurred. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) StopThingRegistrationTask(input *StopThingRegistrationTaskInput) (*StopThingRegistrationTaskOutput, error) { req, out := c.StopThingRegistrationTaskRequest(input) return out, req.Send() @@ -22518,14 +22256,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { op := &request.Operation{ Name: opTagResource, @@ -22559,21 +22296,21 @@ func (c *IoT) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * LimitExceededException -// A limit has been exceeded. +// - ThrottlingException +// The rate exceeds the limit. // +// - LimitExceededException +// A limit has been exceeded. func (c *IoT) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) return out, req.Send() @@ -22611,14 +22348,13 @@ const opTestAuthorization = "TestAuthorization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestAuthorizationRequest method. +// req, resp := client.TestAuthorizationRequest(params) // -// // Example sending a request using the TestAuthorizationRequest method. -// req, resp := client.TestAuthorizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) TestAuthorizationRequest(input *TestAuthorizationInput) (req *request.Request, output *TestAuthorizationOutput) { op := &request.Operation{ Name: opTestAuthorization, @@ -22652,27 +22388,27 @@ func (c *IoT) TestAuthorizationRequest(input *TestAuthorizationInput) (req *requ // API operation TestAuthorization for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * LimitExceededException -// A limit has been exceeded. +// - InternalFailureException +// An unexpected error has occurred. // +// - LimitExceededException +// A limit has been exceeded. func (c *IoT) TestAuthorization(input *TestAuthorizationInput) (*TestAuthorizationOutput, error) { req, out := c.TestAuthorizationRequest(input) return out, req.Send() @@ -22710,14 +22446,13 @@ const opTestInvokeAuthorizer = "TestInvokeAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestInvokeAuthorizerRequest method. +// req, resp := client.TestInvokeAuthorizerRequest(params) // -// // Example sending a request using the TestInvokeAuthorizerRequest method. -// req, resp := client.TestInvokeAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) TestInvokeAuthorizerRequest(input *TestInvokeAuthorizerInput) (req *request.Request, output *TestInvokeAuthorizerOutput) { op := &request.Operation{ Name: opTestInvokeAuthorizer, @@ -22751,27 +22486,27 @@ func (c *IoT) TestInvokeAuthorizerRequest(input *TestInvokeAuthorizerInput) (req // API operation TestInvokeAuthorizer for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * InvalidResponseException -// The response is invalid. +// - InternalFailureException +// An unexpected error has occurred. // +// - InvalidResponseException +// The response is invalid. func (c *IoT) TestInvokeAuthorizer(input *TestInvokeAuthorizerInput) (*TestInvokeAuthorizerOutput, error) { req, out := c.TestInvokeAuthorizerRequest(input) return out, req.Send() @@ -22809,14 +22544,13 @@ const opTransferCertificate = "TransferCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TransferCertificateRequest method. +// req, resp := client.TransferCertificateRequest(params) // -// // Example sending a request using the TransferCertificateRequest method. -// req, resp := client.TransferCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) TransferCertificateRequest(input *TransferCertificateInput) (req *request.Request, output *TransferCertificateOutput) { op := &request.Operation{ Name: opTransferCertificate, @@ -22860,31 +22594,31 @@ func (c *IoT) TransferCertificateRequest(input *TransferCertificateInput) (req * // API operation TransferCertificate for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * CertificateStateException -// The certificate operation is not allowed. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * TransferConflictException -// You can't transfer the certificate because authorization policies are still -// attached. +// - CertificateStateException +// The certificate operation is not allowed. // -// * ThrottlingException -// The rate exceeds the limit. +// - TransferConflictException +// You can't transfer the certificate because authorization policies are still +// attached. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) TransferCertificate(input *TransferCertificateInput) (*TransferCertificateOutput, error) { req, out := c.TransferCertificateRequest(input) return out, req.Send() @@ -22922,14 +22656,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { op := &request.Operation{ Name: opUntagResource, @@ -22962,18 +22695,18 @@ func (c *IoT) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { req, out := c.UntagResourceRequest(input) return out, req.Send() @@ -23011,14 +22744,13 @@ const opUpdateAccountAuditConfiguration = "UpdateAccountAuditConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAccountAuditConfigurationRequest method. +// req, resp := client.UpdateAccountAuditConfigurationRequest(params) // -// // Example sending a request using the UpdateAccountAuditConfigurationRequest method. -// req, resp := client.UpdateAccountAuditConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateAccountAuditConfigurationRequest(input *UpdateAccountAuditConfigurationInput) (req *request.Request, output *UpdateAccountAuditConfigurationOutput) { op := &request.Operation{ Name: opUpdateAccountAuditConfiguration, @@ -23053,15 +22785,15 @@ func (c *IoT) UpdateAccountAuditConfigurationRequest(input *UpdateAccountAuditCo // API operation UpdateAccountAuditConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) UpdateAccountAuditConfiguration(input *UpdateAccountAuditConfigurationInput) (*UpdateAccountAuditConfigurationOutput, error) { req, out := c.UpdateAccountAuditConfigurationRequest(input) return out, req.Send() @@ -23099,14 +22831,13 @@ const opUpdateAuditSuppression = "UpdateAuditSuppression" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAuditSuppressionRequest method. +// req, resp := client.UpdateAuditSuppressionRequest(params) // -// // Example sending a request using the UpdateAuditSuppressionRequest method. -// req, resp := client.UpdateAuditSuppressionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateAuditSuppressionRequest(input *UpdateAuditSuppressionInput) (req *request.Request, output *UpdateAuditSuppressionOutput) { op := &request.Operation{ Name: opUpdateAuditSuppression, @@ -23136,18 +22867,18 @@ func (c *IoT) UpdateAuditSuppressionRequest(input *UpdateAuditSuppressionInput) // API operation UpdateAuditSuppression for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) UpdateAuditSuppression(input *UpdateAuditSuppressionInput) (*UpdateAuditSuppressionOutput, error) { req, out := c.UpdateAuditSuppressionRequest(input) return out, req.Send() @@ -23185,14 +22916,13 @@ const opUpdateAuthorizer = "UpdateAuthorizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAuthorizerRequest method. +// req, resp := client.UpdateAuthorizerRequest(params) // -// // Example sending a request using the UpdateAuthorizerRequest method. -// req, resp := client.UpdateAuthorizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) (req *request.Request, output *UpdateAuthorizerOutput) { op := &request.Operation{ Name: opUpdateAuthorizer, @@ -23224,27 +22954,27 @@ func (c *IoT) UpdateAuthorizerRequest(input *UpdateAuthorizerInput) (req *reques // API operation UpdateAuthorizer for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * LimitExceededException -// A limit has been exceeded. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - LimitExceededException +// A limit has been exceeded. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) UpdateAuthorizer(input *UpdateAuthorizerInput) (*UpdateAuthorizerOutput, error) { req, out := c.UpdateAuthorizerRequest(input) return out, req.Send() @@ -23282,14 +23012,13 @@ const opUpdateBillingGroup = "UpdateBillingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBillingGroupRequest method. +// req, resp := client.UpdateBillingGroupRequest(params) // -// // Example sending a request using the UpdateBillingGroupRequest method. -// req, resp := client.UpdateBillingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateBillingGroupRequest(input *UpdateBillingGroupInput) (req *request.Request, output *UpdateBillingGroupOutput) { op := &request.Operation{ Name: opUpdateBillingGroup, @@ -23321,22 +23050,22 @@ func (c *IoT) UpdateBillingGroupRequest(input *UpdateBillingGroupInput) (req *re // API operation UpdateBillingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * VersionConflictException -// An exception thrown when the version of an entity specified with the expectedVersion -// parameter does not match the latest version in the system. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - VersionConflictException +// An exception thrown when the version of an entity specified with the expectedVersion +// parameter does not match the latest version in the system. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) UpdateBillingGroup(input *UpdateBillingGroupInput) (*UpdateBillingGroupOutput, error) { req, out := c.UpdateBillingGroupRequest(input) return out, req.Send() @@ -23374,14 +23103,13 @@ const opUpdateCACertificate = "UpdateCACertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCACertificateRequest method. +// req, resp := client.UpdateCACertificateRequest(params) // -// // Example sending a request using the UpdateCACertificateRequest method. -// req, resp := client.UpdateCACertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateCACertificateRequest(input *UpdateCACertificateInput) (req *request.Request, output *UpdateCACertificateOutput) { op := &request.Operation{ Name: opUpdateCACertificate, @@ -23414,24 +23142,24 @@ func (c *IoT) UpdateCACertificateRequest(input *UpdateCACertificateInput) (req * // API operation UpdateCACertificate for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) UpdateCACertificate(input *UpdateCACertificateInput) (*UpdateCACertificateOutput, error) { req, out := c.UpdateCACertificateRequest(input) return out, req.Send() @@ -23469,14 +23197,13 @@ const opUpdateCertificate = "UpdateCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCertificateRequest method. +// req, resp := client.UpdateCertificateRequest(params) // -// // Example sending a request using the UpdateCertificateRequest method. -// req, resp := client.UpdateCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateCertificateRequest(input *UpdateCertificateInput) (req *request.Request, output *UpdateCertificateOutput) { op := &request.Operation{ Name: opUpdateCertificate, @@ -23516,27 +23243,27 @@ func (c *IoT) UpdateCertificateRequest(input *UpdateCertificateInput) (req *requ // API operation UpdateCertificate for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * CertificateStateException -// The certificate operation is not allowed. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - CertificateStateException +// The certificate operation is not allowed. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) UpdateCertificate(input *UpdateCertificateInput) (*UpdateCertificateOutput, error) { req, out := c.UpdateCertificateRequest(input) return out, req.Send() @@ -23574,14 +23301,13 @@ const opUpdateCustomMetric = "UpdateCustomMetric" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCustomMetricRequest method. +// req, resp := client.UpdateCustomMetricRequest(params) // -// // Example sending a request using the UpdateCustomMetricRequest method. -// req, resp := client.UpdateCustomMetricRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateCustomMetricRequest(input *UpdateCustomMetricInput) (req *request.Request, output *UpdateCustomMetricOutput) { op := &request.Operation{ Name: opUpdateCustomMetric, @@ -23613,18 +23339,18 @@ func (c *IoT) UpdateCustomMetricRequest(input *UpdateCustomMetricInput) (req *re // API operation UpdateCustomMetric for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) UpdateCustomMetric(input *UpdateCustomMetricInput) (*UpdateCustomMetricOutput, error) { req, out := c.UpdateCustomMetricRequest(input) return out, req.Send() @@ -23662,14 +23388,13 @@ const opUpdateDimension = "UpdateDimension" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDimensionRequest method. +// req, resp := client.UpdateDimensionRequest(params) // -// // Example sending a request using the UpdateDimensionRequest method. -// req, resp := client.UpdateDimensionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateDimensionRequest(input *UpdateDimensionInput) (req *request.Request, output *UpdateDimensionOutput) { op := &request.Operation{ Name: opUpdateDimension, @@ -23702,18 +23427,18 @@ func (c *IoT) UpdateDimensionRequest(input *UpdateDimensionInput) (req *request. // API operation UpdateDimension for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) UpdateDimension(input *UpdateDimensionInput) (*UpdateDimensionOutput, error) { req, out := c.UpdateDimensionRequest(input) return out, req.Send() @@ -23751,14 +23476,13 @@ const opUpdateDomainConfiguration = "UpdateDomainConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDomainConfigurationRequest method. +// req, resp := client.UpdateDomainConfigurationRequest(params) // -// // Example sending a request using the UpdateDomainConfigurationRequest method. -// req, resp := client.UpdateDomainConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateDomainConfigurationRequest(input *UpdateDomainConfigurationInput) (req *request.Request, output *UpdateDomainConfigurationOutput) { op := &request.Operation{ Name: opUpdateDomainConfiguration, @@ -23791,27 +23515,27 @@ func (c *IoT) UpdateDomainConfigurationRequest(input *UpdateDomainConfigurationI // API operation UpdateDomainConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * CertificateValidationException -// The certificate is invalid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - CertificateValidationException +// The certificate is invalid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) UpdateDomainConfiguration(input *UpdateDomainConfigurationInput) (*UpdateDomainConfigurationOutput, error) { req, out := c.UpdateDomainConfigurationRequest(input) return out, req.Send() @@ -23849,14 +23573,13 @@ const opUpdateDynamicThingGroup = "UpdateDynamicThingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDynamicThingGroupRequest method. +// req, resp := client.UpdateDynamicThingGroupRequest(params) // -// // Example sending a request using the UpdateDynamicThingGroupRequest method. -// req, resp := client.UpdateDynamicThingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateDynamicThingGroupRequest(input *UpdateDynamicThingGroupInput) (req *request.Request, output *UpdateDynamicThingGroupOutput) { op := &request.Operation{ Name: opUpdateDynamicThingGroup, @@ -23888,25 +23611,25 @@ func (c *IoT) UpdateDynamicThingGroupRequest(input *UpdateDynamicThingGroupInput // API operation UpdateDynamicThingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * VersionConflictException -// An exception thrown when the version of an entity specified with the expectedVersion -// parameter does not match the latest version in the system. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - VersionConflictException +// An exception thrown when the version of an entity specified with the expectedVersion +// parameter does not match the latest version in the system. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // -// * InvalidQueryException -// The query is invalid. +// - ResourceNotFoundException +// The specified resource does not exist. // +// - InvalidQueryException +// The query is invalid. func (c *IoT) UpdateDynamicThingGroup(input *UpdateDynamicThingGroupInput) (*UpdateDynamicThingGroupOutput, error) { req, out := c.UpdateDynamicThingGroupRequest(input) return out, req.Send() @@ -23944,14 +23667,13 @@ const opUpdateEventConfigurations = "UpdateEventConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEventConfigurationsRequest method. +// req, resp := client.UpdateEventConfigurationsRequest(params) // -// // Example sending a request using the UpdateEventConfigurationsRequest method. -// req, resp := client.UpdateEventConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateEventConfigurationsRequest(input *UpdateEventConfigurationsInput) (req *request.Request, output *UpdateEventConfigurationsOutput) { op := &request.Operation{ Name: opUpdateEventConfigurations, @@ -23984,15 +23706,15 @@ func (c *IoT) UpdateEventConfigurationsRequest(input *UpdateEventConfigurationsI // API operation UpdateEventConfigurations for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InternalFailureException +// An unexpected error has occurred. // +// - ThrottlingException +// The rate exceeds the limit. func (c *IoT) UpdateEventConfigurations(input *UpdateEventConfigurationsInput) (*UpdateEventConfigurationsOutput, error) { req, out := c.UpdateEventConfigurationsRequest(input) return out, req.Send() @@ -24030,14 +23752,13 @@ const opUpdateFleetMetric = "UpdateFleetMetric" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFleetMetricRequest method. +// req, resp := client.UpdateFleetMetricRequest(params) // -// // Example sending a request using the UpdateFleetMetricRequest method. -// req, resp := client.UpdateFleetMetricRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateFleetMetricRequest(input *UpdateFleetMetricInput) (req *request.Request, output *UpdateFleetMetricOutput) { op := &request.Operation{ Name: opUpdateFleetMetric, @@ -24070,37 +23791,37 @@ func (c *IoT) UpdateFleetMetricRequest(input *UpdateFleetMetricInput) (req *requ // API operation UpdateFleetMetric for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // -// * InvalidQueryException -// The query is invalid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InvalidAggregationException -// The aggregation is invalid. +// - InvalidQueryException +// The query is invalid. // -// * VersionConflictException -// An exception thrown when the version of an entity specified with the expectedVersion -// parameter does not match the latest version in the system. +// - InvalidAggregationException +// The aggregation is invalid. // -// * IndexNotReadyException -// The index is not ready. +// - VersionConflictException +// An exception thrown when the version of an entity specified with the expectedVersion +// parameter does not match the latest version in the system. // +// - IndexNotReadyException +// The index is not ready. func (c *IoT) UpdateFleetMetric(input *UpdateFleetMetricInput) (*UpdateFleetMetricOutput, error) { req, out := c.UpdateFleetMetricRequest(input) return out, req.Send() @@ -24138,14 +23859,13 @@ const opUpdateIndexingConfiguration = "UpdateIndexingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIndexingConfigurationRequest method. +// req, resp := client.UpdateIndexingConfigurationRequest(params) // -// // Example sending a request using the UpdateIndexingConfigurationRequest method. -// req, resp := client.UpdateIndexingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateIndexingConfigurationRequest(input *UpdateIndexingConfigurationInput) (req *request.Request, output *UpdateIndexingConfigurationOutput) { op := &request.Operation{ Name: opUpdateIndexingConfiguration, @@ -24178,21 +23898,21 @@ func (c *IoT) UpdateIndexingConfigurationRequest(input *UpdateIndexingConfigurat // API operation UpdateIndexingConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) UpdateIndexingConfiguration(input *UpdateIndexingConfigurationInput) (*UpdateIndexingConfigurationOutput, error) { req, out := c.UpdateIndexingConfigurationRequest(input) return out, req.Send() @@ -24230,14 +23950,13 @@ const opUpdateJob = "UpdateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateJobRequest method. +// req, resp := client.UpdateJobRequest(params) // -// // Example sending a request using the UpdateJobRequest method. -// req, resp := client.UpdateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateJobRequest(input *UpdateJobInput) (req *request.Request, output *UpdateJobOutput) { op := &request.Operation{ Name: opUpdateJob, @@ -24270,18 +23989,18 @@ func (c *IoT) UpdateJobRequest(input *UpdateJobInput) (req *request.Request, out // API operation UpdateJob for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ThrottlingException +// The rate exceeds the limit. // +// - ServiceUnavailableException +// The service is temporarily unavailable. func (c *IoT) UpdateJob(input *UpdateJobInput) (*UpdateJobOutput, error) { req, out := c.UpdateJobRequest(input) return out, req.Send() @@ -24319,14 +24038,13 @@ const opUpdateMitigationAction = "UpdateMitigationAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMitigationActionRequest method. +// req, resp := client.UpdateMitigationActionRequest(params) // -// // Example sending a request using the UpdateMitigationActionRequest method. -// req, resp := client.UpdateMitigationActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateMitigationActionRequest(input *UpdateMitigationActionInput) (req *request.Request, output *UpdateMitigationActionOutput) { op := &request.Operation{ Name: opUpdateMitigationAction, @@ -24358,18 +24076,18 @@ func (c *IoT) UpdateMitigationActionRequest(input *UpdateMitigationActionInput) // API operation UpdateMitigationAction for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) UpdateMitigationAction(input *UpdateMitigationActionInput) (*UpdateMitigationActionOutput, error) { req, out := c.UpdateMitigationActionRequest(input) return out, req.Send() @@ -24407,14 +24125,13 @@ const opUpdateProvisioningTemplate = "UpdateProvisioningTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProvisioningTemplateRequest method. +// req, resp := client.UpdateProvisioningTemplateRequest(params) // -// // Example sending a request using the UpdateProvisioningTemplateRequest method. -// req, resp := client.UpdateProvisioningTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateProvisioningTemplateRequest(input *UpdateProvisioningTemplateInput) (req *request.Request, output *UpdateProvisioningTemplateOutput) { op := &request.Operation{ Name: opUpdateProvisioningTemplate, @@ -24447,22 +24164,22 @@ func (c *IoT) UpdateProvisioningTemplateRequest(input *UpdateProvisioningTemplat // API operation UpdateProvisioningTemplate for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ConflictingResourceUpdateException -// A conflicting resource update exception. This exception is thrown when two -// pending updates cause a conflict. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - ConflictingResourceUpdateException +// A conflicting resource update exception. This exception is thrown when two +// pending updates cause a conflict. func (c *IoT) UpdateProvisioningTemplate(input *UpdateProvisioningTemplateInput) (*UpdateProvisioningTemplateOutput, error) { req, out := c.UpdateProvisioningTemplateRequest(input) return out, req.Send() @@ -24500,14 +24217,13 @@ const opUpdateRoleAlias = "UpdateRoleAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRoleAliasRequest method. +// req, resp := client.UpdateRoleAliasRequest(params) // -// // Example sending a request using the UpdateRoleAliasRequest method. -// req, resp := client.UpdateRoleAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateRoleAliasRequest(input *UpdateRoleAliasInput) (req *request.Request, output *UpdateRoleAliasOutput) { op := &request.Operation{ Name: opUpdateRoleAlias, @@ -24539,24 +24255,24 @@ func (c *IoT) UpdateRoleAliasRequest(input *UpdateRoleAliasInput) (req *request. // API operation UpdateRoleAlias for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) UpdateRoleAlias(input *UpdateRoleAliasInput) (*UpdateRoleAliasOutput, error) { req, out := c.UpdateRoleAliasRequest(input) return out, req.Send() @@ -24594,14 +24310,13 @@ const opUpdateScheduledAudit = "UpdateScheduledAudit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateScheduledAuditRequest method. +// req, resp := client.UpdateScheduledAuditRequest(params) // -// // Example sending a request using the UpdateScheduledAuditRequest method. -// req, resp := client.UpdateScheduledAuditRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateScheduledAuditRequest(input *UpdateScheduledAuditInput) (req *request.Request, output *UpdateScheduledAuditOutput) { op := &request.Operation{ Name: opUpdateScheduledAudit, @@ -24634,18 +24349,18 @@ func (c *IoT) UpdateScheduledAuditRequest(input *UpdateScheduledAuditInput) (req // API operation UpdateScheduledAudit for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) UpdateScheduledAudit(input *UpdateScheduledAuditInput) (*UpdateScheduledAuditOutput, error) { req, out := c.UpdateScheduledAuditRequest(input) return out, req.Send() @@ -24683,14 +24398,13 @@ const opUpdateSecurityProfile = "UpdateSecurityProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSecurityProfileRequest method. +// req, resp := client.UpdateSecurityProfileRequest(params) // -// // Example sending a request using the UpdateSecurityProfileRequest method. -// req, resp := client.UpdateSecurityProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateSecurityProfileRequest(input *UpdateSecurityProfileInput) (req *request.Request, output *UpdateSecurityProfileOutput) { op := &request.Operation{ Name: opUpdateSecurityProfile, @@ -24722,22 +24436,22 @@ func (c *IoT) UpdateSecurityProfileRequest(input *UpdateSecurityProfileInput) (r // API operation UpdateSecurityProfile for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * VersionConflictException -// An exception thrown when the version of an entity specified with the expectedVersion -// parameter does not match the latest version in the system. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - VersionConflictException +// An exception thrown when the version of an entity specified with the expectedVersion +// parameter does not match the latest version in the system. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) UpdateSecurityProfile(input *UpdateSecurityProfileInput) (*UpdateSecurityProfileOutput, error) { req, out := c.UpdateSecurityProfileRequest(input) return out, req.Send() @@ -24775,14 +24489,13 @@ const opUpdateStream = "UpdateStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStreamRequest method. +// req, resp := client.UpdateStreamRequest(params) // -// // Example sending a request using the UpdateStreamRequest method. -// req, resp := client.UpdateStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateStreamRequest(input *UpdateStreamInput) (req *request.Request, output *UpdateStreamOutput) { op := &request.Operation{ Name: opUpdateStream, @@ -24814,24 +24527,24 @@ func (c *IoT) UpdateStreamRequest(input *UpdateStreamInput) (req *request.Reques // API operation UpdateStream for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) UpdateStream(input *UpdateStreamInput) (*UpdateStreamOutput, error) { req, out := c.UpdateStreamRequest(input) return out, req.Send() @@ -24869,14 +24582,13 @@ const opUpdateThing = "UpdateThing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateThingRequest method. +// req, resp := client.UpdateThingRequest(params) // -// // Example sending a request using the UpdateThingRequest method. -// req, resp := client.UpdateThingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateThingRequest(input *UpdateThingInput) (req *request.Request, output *UpdateThingOutput) { op := &request.Operation{ Name: opUpdateThing, @@ -24909,28 +24621,28 @@ func (c *IoT) UpdateThingRequest(input *UpdateThingInput) (req *request.Request, // API operation UpdateThing for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * VersionConflictException -// An exception thrown when the version of an entity specified with the expectedVersion -// parameter does not match the latest version in the system. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - VersionConflictException +// An exception thrown when the version of an entity specified with the expectedVersion +// parameter does not match the latest version in the system. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) UpdateThing(input *UpdateThingInput) (*UpdateThingOutput, error) { req, out := c.UpdateThingRequest(input) return out, req.Send() @@ -24968,14 +24680,13 @@ const opUpdateThingGroup = "UpdateThingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateThingGroupRequest method. +// req, resp := client.UpdateThingGroupRequest(params) // -// // Example sending a request using the UpdateThingGroupRequest method. -// req, resp := client.UpdateThingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateThingGroupRequest(input *UpdateThingGroupInput) (req *request.Request, output *UpdateThingGroupOutput) { op := &request.Operation{ Name: opUpdateThingGroup, @@ -25007,22 +24718,22 @@ func (c *IoT) UpdateThingGroupRequest(input *UpdateThingGroupInput) (req *reques // API operation UpdateThingGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * VersionConflictException -// An exception thrown when the version of an entity specified with the expectedVersion -// parameter does not match the latest version in the system. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - VersionConflictException +// An exception thrown when the version of an entity specified with the expectedVersion +// parameter does not match the latest version in the system. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) UpdateThingGroup(input *UpdateThingGroupInput) (*UpdateThingGroupOutput, error) { req, out := c.UpdateThingGroupRequest(input) return out, req.Send() @@ -25060,14 +24771,13 @@ const opUpdateThingGroupsForThing = "UpdateThingGroupsForThing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateThingGroupsForThingRequest method. +// req, resp := client.UpdateThingGroupsForThingRequest(params) // -// // Example sending a request using the UpdateThingGroupsForThingRequest method. -// req, resp := client.UpdateThingGroupsForThingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateThingGroupsForThingRequest(input *UpdateThingGroupsForThingInput) (req *request.Request, output *UpdateThingGroupsForThingOutput) { op := &request.Operation{ Name: opUpdateThingGroupsForThing, @@ -25100,18 +24810,18 @@ func (c *IoT) UpdateThingGroupsForThingRequest(input *UpdateThingGroupsForThingI // API operation UpdateThingGroupsForThing for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalFailureException +// An unexpected error has occurred. // +// - ResourceNotFoundException +// The specified resource does not exist. func (c *IoT) UpdateThingGroupsForThing(input *UpdateThingGroupsForThingInput) (*UpdateThingGroupsForThingOutput, error) { req, out := c.UpdateThingGroupsForThingRequest(input) return out, req.Send() @@ -25149,14 +24859,13 @@ const opUpdateTopicRuleDestination = "UpdateTopicRuleDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTopicRuleDestinationRequest method. +// req, resp := client.UpdateTopicRuleDestinationRequest(params) // -// // Example sending a request using the UpdateTopicRuleDestinationRequest method. -// req, resp := client.UpdateTopicRuleDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) UpdateTopicRuleDestinationRequest(input *UpdateTopicRuleDestinationInput) (req *request.Request, output *UpdateTopicRuleDestinationOutput) { op := &request.Operation{ Name: opUpdateTopicRuleDestination, @@ -25190,22 +24899,22 @@ func (c *IoT) UpdateTopicRuleDestinationRequest(input *UpdateTopicRuleDestinatio // API operation UpdateTopicRuleDestination for usage and error information. // // Returned Error Types: -// * InternalException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalException +// An unexpected error has occurred. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ConflictingResourceUpdateException -// A conflicting resource update exception. This exception is thrown when two -// pending updates cause a conflict. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - ConflictingResourceUpdateException +// A conflicting resource update exception. This exception is thrown when two +// pending updates cause a conflict. func (c *IoT) UpdateTopicRuleDestination(input *UpdateTopicRuleDestinationInput) (*UpdateTopicRuleDestinationOutput, error) { req, out := c.UpdateTopicRuleDestinationRequest(input) return out, req.Send() @@ -25243,14 +24952,13 @@ const opValidateSecurityProfileBehaviors = "ValidateSecurityProfileBehaviors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ValidateSecurityProfileBehaviorsRequest method. +// req, resp := client.ValidateSecurityProfileBehaviorsRequest(params) // -// // Example sending a request using the ValidateSecurityProfileBehaviorsRequest method. -// req, resp := client.ValidateSecurityProfileBehaviorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoT) ValidateSecurityProfileBehaviorsRequest(input *ValidateSecurityProfileBehaviorsInput) (req *request.Request, output *ValidateSecurityProfileBehaviorsOutput) { op := &request.Operation{ Name: opValidateSecurityProfileBehaviors, @@ -25282,15 +24990,15 @@ func (c *IoT) ValidateSecurityProfileBehaviorsRequest(input *ValidateSecurityPro // API operation ValidateSecurityProfileBehaviors for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ThrottlingException +// The rate exceeds the limit. // +// - InternalFailureException +// An unexpected error has occurred. func (c *IoT) ValidateSecurityProfileBehaviors(input *ValidateSecurityProfileBehaviorsInput) (*ValidateSecurityProfileBehaviorsOutput, error) { req, out := c.ValidateSecurityProfileBehaviorsRequest(input) return out, req.Send() @@ -43007,11 +42715,11 @@ func (s *DocumentParameter) SetRegex(v string) *DocumentParameter { // with an Amazon Web Services-managed domain (for example, dbc123defghijk.iot.us-west-2.amazonaws.com), // a customer managed domain, or a default endpoint. // -// * Data +// - Data // -// * Jobs +// - Jobs // -// * CredentialProvider +// - CredentialProvider type DomainConfigurationSummary struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/doc.go index d992d68c7eef..b29ab042e060 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/doc.go @@ -27,7 +27,7 @@ // See iot package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/iot/ // -// Using the Client +// # Using the Client // // To contact AWS IoT with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/iotiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/iotiface/interface.go index c398405322ac..18c3bf2d37e6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/iotiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/iotiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT. -// func myFunc(svc iotiface.IoTAPI) bool { -// // Make svc.AcceptCertificateTransfer request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT. +// func myFunc(svc iotiface.IoTAPI) bool { +// // Make svc.AcceptCertificateTransfer request +// } // -// func main() { -// sess := session.New() -// svc := iot.New(sess) +// func main() { +// sess := session.New() +// svc := iot.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIoTClient struct { -// iotiface.IoTAPI -// } -// func (m *mockIoTClient) AcceptCertificateTransfer(input *iot.AcceptCertificateTransferInput) (*iot.AcceptCertificateTransferOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIoTClient struct { +// iotiface.IoTAPI +// } +// func (m *mockIoTClient) AcceptCertificateTransfer(input *iot.AcceptCertificateTransferInput) (*iot.AcceptCertificateTransferOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIoTClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIoTClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/service.go index f1e0e4ec7121..dc5d2704e524 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IoT client from just a session. -// svc := iot.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IoT client with additional configuration -// svc := iot.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IoT client from just a session. +// svc := iot.New(mySession) +// +// // Create a IoT client with additional configuration +// svc := iot.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoT { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/api.go index f7e025eca4aa..6a8eaf29d3aa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/api.go @@ -29,14 +29,13 @@ const opClaimDevicesByClaimCode = "ClaimDevicesByClaimCode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ClaimDevicesByClaimCodeRequest method. +// req, resp := client.ClaimDevicesByClaimCodeRequest(params) // -// // Example sending a request using the ClaimDevicesByClaimCodeRequest method. -// req, resp := client.ClaimDevicesByClaimCodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ClaimDevicesByClaimCode func (c *IoT1ClickDevicesService) ClaimDevicesByClaimCodeRequest(input *ClaimDevicesByClaimCodeInput) (req *request.Request, output *ClaimDevicesByClaimCodeOutput) { @@ -68,11 +67,12 @@ func (c *IoT1ClickDevicesService) ClaimDevicesByClaimCodeRequest(input *ClaimDev // API operation ClaimDevicesByClaimCode for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * InternalFailureException +// - InvalidRequestException +// +// - InternalFailureException // -// * ForbiddenException +// - ForbiddenException // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ClaimDevicesByClaimCode func (c *IoT1ClickDevicesService) ClaimDevicesByClaimCode(input *ClaimDevicesByClaimCodeInput) (*ClaimDevicesByClaimCodeOutput, error) { @@ -112,14 +112,13 @@ const opDescribeDevice = "DescribeDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDeviceRequest method. +// req, resp := client.DescribeDeviceRequest(params) // -// // Example sending a request using the DescribeDeviceRequest method. -// req, resp := client.DescribeDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/DescribeDevice func (c *IoT1ClickDevicesService) DescribeDeviceRequest(input *DescribeDeviceInput) (req *request.Request, output *DescribeDeviceOutput) { @@ -151,11 +150,12 @@ func (c *IoT1ClickDevicesService) DescribeDeviceRequest(input *DescribeDeviceInp // API operation DescribeDevice for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InvalidRequestException +// - ResourceNotFoundException +// +// - InvalidRequestException // -// * InternalFailureException +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/DescribeDevice func (c *IoT1ClickDevicesService) DescribeDevice(input *DescribeDeviceInput) (*DescribeDeviceOutput, error) { @@ -195,14 +195,13 @@ const opFinalizeDeviceClaim = "FinalizeDeviceClaim" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the FinalizeDeviceClaimRequest method. +// req, resp := client.FinalizeDeviceClaimRequest(params) // -// // Example sending a request using the FinalizeDeviceClaimRequest method. -// req, resp := client.FinalizeDeviceClaimRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/FinalizeDeviceClaim func (c *IoT1ClickDevicesService) FinalizeDeviceClaimRequest(input *FinalizeDeviceClaimInput) (req *request.Request, output *FinalizeDeviceClaimOutput) { @@ -237,15 +236,16 @@ func (c *IoT1ClickDevicesService) FinalizeDeviceClaimRequest(input *FinalizeDevi // API operation FinalizeDeviceClaim for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InvalidRequestException +// - ResourceNotFoundException +// +// - InvalidRequestException // -// * InternalFailureException +// - InternalFailureException // -// * PreconditionFailedException +// - PreconditionFailedException // -// * ResourceConflictException +// - ResourceConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/FinalizeDeviceClaim func (c *IoT1ClickDevicesService) FinalizeDeviceClaim(input *FinalizeDeviceClaimInput) (*FinalizeDeviceClaimOutput, error) { @@ -285,14 +285,13 @@ const opGetDeviceMethods = "GetDeviceMethods" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeviceMethodsRequest method. +// req, resp := client.GetDeviceMethodsRequest(params) // -// // Example sending a request using the GetDeviceMethodsRequest method. -// req, resp := client.GetDeviceMethodsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/GetDeviceMethods func (c *IoT1ClickDevicesService) GetDeviceMethodsRequest(input *GetDeviceMethodsInput) (req *request.Request, output *GetDeviceMethodsOutput) { @@ -323,11 +322,12 @@ func (c *IoT1ClickDevicesService) GetDeviceMethodsRequest(input *GetDeviceMethod // API operation GetDeviceMethods for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InvalidRequestException +// - ResourceNotFoundException // -// * InternalFailureException +// - InvalidRequestException +// +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/GetDeviceMethods func (c *IoT1ClickDevicesService) GetDeviceMethods(input *GetDeviceMethodsInput) (*GetDeviceMethodsOutput, error) { @@ -367,14 +367,13 @@ const opInitiateDeviceClaim = "InitiateDeviceClaim" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InitiateDeviceClaimRequest method. +// req, resp := client.InitiateDeviceClaimRequest(params) // -// // Example sending a request using the InitiateDeviceClaimRequest method. -// req, resp := client.InitiateDeviceClaimRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/InitiateDeviceClaim func (c *IoT1ClickDevicesService) InitiateDeviceClaimRequest(input *InitiateDeviceClaimInput) (req *request.Request, output *InitiateDeviceClaimOutput) { @@ -409,13 +408,14 @@ func (c *IoT1ClickDevicesService) InitiateDeviceClaimRequest(input *InitiateDevi // API operation InitiateDeviceClaim for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InvalidRequestException +// - ResourceNotFoundException +// +// - InvalidRequestException // -// * InternalFailureException +// - InternalFailureException // -// * ResourceConflictException +// - ResourceConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/InitiateDeviceClaim func (c *IoT1ClickDevicesService) InitiateDeviceClaim(input *InitiateDeviceClaimInput) (*InitiateDeviceClaimOutput, error) { @@ -455,14 +455,13 @@ const opInvokeDeviceMethod = "InvokeDeviceMethod" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InvokeDeviceMethodRequest method. +// req, resp := client.InvokeDeviceMethodRequest(params) // -// // Example sending a request using the InvokeDeviceMethodRequest method. -// req, resp := client.InvokeDeviceMethodRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/InvokeDeviceMethod func (c *IoT1ClickDevicesService) InvokeDeviceMethodRequest(input *InvokeDeviceMethodInput) (req *request.Request, output *InvokeDeviceMethodOutput) { @@ -494,17 +493,18 @@ func (c *IoT1ClickDevicesService) InvokeDeviceMethodRequest(input *InvokeDeviceM // API operation InvokeDeviceMethod for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * PreconditionFailedException +// - InvalidRequestException +// +// - PreconditionFailedException // -// * InternalFailureException +// - InternalFailureException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * RangeNotSatisfiableException +// - RangeNotSatisfiableException // -// * ResourceConflictException +// - ResourceConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/InvokeDeviceMethod func (c *IoT1ClickDevicesService) InvokeDeviceMethod(input *InvokeDeviceMethodInput) (*InvokeDeviceMethodOutput, error) { @@ -544,14 +544,13 @@ const opListDeviceEvents = "ListDeviceEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeviceEventsRequest method. +// req, resp := client.ListDeviceEventsRequest(params) // -// // Example sending a request using the ListDeviceEventsRequest method. -// req, resp := client.ListDeviceEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListDeviceEvents func (c *IoT1ClickDevicesService) ListDeviceEventsRequest(input *ListDeviceEventsInput) (req *request.Request, output *ListDeviceEventsOutput) { @@ -583,13 +582,14 @@ func (c *IoT1ClickDevicesService) ListDeviceEventsRequest(input *ListDeviceEvent // API operation ListDeviceEvents for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * RangeNotSatisfiableException +// - ResourceNotFoundException // -// * InvalidRequestException +// - RangeNotSatisfiableException // -// * InternalFailureException +// - InvalidRequestException +// +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListDeviceEvents func (c *IoT1ClickDevicesService) ListDeviceEvents(input *ListDeviceEventsInput) (*ListDeviceEventsOutput, error) { @@ -629,14 +629,13 @@ const opListDevices = "ListDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDevicesRequest method. +// req, resp := client.ListDevicesRequest(params) // -// // Example sending a request using the ListDevicesRequest method. -// req, resp := client.ListDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListDevices func (c *IoT1ClickDevicesService) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput) { @@ -667,11 +666,12 @@ func (c *IoT1ClickDevicesService) ListDevicesRequest(input *ListDevicesInput) (r // API operation ListDevices for usage and error information. // // Returned Error Types: -// * RangeNotSatisfiableException // -// * InvalidRequestException +// - RangeNotSatisfiableException // -// * InternalFailureException +// - InvalidRequestException +// +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListDevices func (c *IoT1ClickDevicesService) ListDevices(input *ListDevicesInput) (*ListDevicesOutput, error) { @@ -711,14 +711,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListTagsForResource func (c *IoT1ClickDevicesService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -749,9 +748,10 @@ func (c *IoT1ClickDevicesService) ListTagsForResourceRequest(input *ListTagsForR // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InternalFailureException +// - ResourceNotFoundException +// +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/ListTagsForResource func (c *IoT1ClickDevicesService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -791,14 +791,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/TagResource func (c *IoT1ClickDevicesService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -832,11 +831,12 @@ func (c *IoT1ClickDevicesService) TagResourceRequest(input *TagResourceInput) (r // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InvalidRequestException +// - ResourceNotFoundException +// +// - InvalidRequestException // -// * InternalFailureException +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/TagResource func (c *IoT1ClickDevicesService) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -876,14 +876,13 @@ const opUnclaimDevice = "UnclaimDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnclaimDeviceRequest method. +// req, resp := client.UnclaimDeviceRequest(params) // -// // Example sending a request using the UnclaimDeviceRequest method. -// req, resp := client.UnclaimDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/UnclaimDevice func (c *IoT1ClickDevicesService) UnclaimDeviceRequest(input *UnclaimDeviceInput) (req *request.Request, output *UnclaimDeviceOutput) { @@ -914,11 +913,12 @@ func (c *IoT1ClickDevicesService) UnclaimDeviceRequest(input *UnclaimDeviceInput // API operation UnclaimDevice for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InvalidRequestException +// - ResourceNotFoundException +// +// - InvalidRequestException // -// * InternalFailureException +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/UnclaimDevice func (c *IoT1ClickDevicesService) UnclaimDevice(input *UnclaimDeviceInput) (*UnclaimDeviceOutput, error) { @@ -958,14 +958,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/UntagResource func (c *IoT1ClickDevicesService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -998,11 +997,12 @@ func (c *IoT1ClickDevicesService) UntagResourceRequest(input *UntagResourceInput // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InvalidRequestException +// - ResourceNotFoundException // -// * InternalFailureException +// - InvalidRequestException +// +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/UntagResource func (c *IoT1ClickDevicesService) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1042,14 +1042,13 @@ const opUpdateDeviceState = "UpdateDeviceState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDeviceStateRequest method. +// req, resp := client.UpdateDeviceStateRequest(params) // -// // Example sending a request using the UpdateDeviceStateRequest method. -// req, resp := client.UpdateDeviceStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/UpdateDeviceState func (c *IoT1ClickDevicesService) UpdateDeviceStateRequest(input *UpdateDeviceStateInput) (req *request.Request, output *UpdateDeviceStateOutput) { @@ -1082,11 +1081,12 @@ func (c *IoT1ClickDevicesService) UpdateDeviceStateRequest(input *UpdateDeviceSt // API operation UpdateDeviceState for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InvalidRequestException +// - ResourceNotFoundException +// +// - InvalidRequestException // -// * InternalFailureException +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/devices-2018-05-14/UpdateDeviceState func (c *IoT1ClickDevicesService) UpdateDeviceState(input *UpdateDeviceStateInput) (*UpdateDeviceStateOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/doc.go index 9c524ef3a029..3c87a6e42478 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/doc.go @@ -12,7 +12,7 @@ // See iot1clickdevicesservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/iot1clickdevicesservice/ // -// Using the Client +// # Using the Client // // To contact AWS IoT 1-Click Devices Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/iot1clickdevicesserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/iot1clickdevicesserviceiface/interface.go index f9be42e1390e..e0970ad6a641 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/iot1clickdevicesserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/iot1clickdevicesserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT 1-Click Devices Service. -// func myFunc(svc iot1clickdevicesserviceiface.IoT1ClickDevicesServiceAPI) bool { -// // Make svc.ClaimDevicesByClaimCode request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT 1-Click Devices Service. +// func myFunc(svc iot1clickdevicesserviceiface.IoT1ClickDevicesServiceAPI) bool { +// // Make svc.ClaimDevicesByClaimCode request +// } // -// func main() { -// sess := session.New() -// svc := iot1clickdevicesservice.New(sess) +// func main() { +// sess := session.New() +// svc := iot1clickdevicesservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIoT1ClickDevicesServiceClient struct { -// iot1clickdevicesserviceiface.IoT1ClickDevicesServiceAPI -// } -// func (m *mockIoT1ClickDevicesServiceClient) ClaimDevicesByClaimCode(input *iot1clickdevicesservice.ClaimDevicesByClaimCodeInput) (*iot1clickdevicesservice.ClaimDevicesByClaimCodeOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIoT1ClickDevicesServiceClient struct { +// iot1clickdevicesserviceiface.IoT1ClickDevicesServiceAPI +// } +// func (m *mockIoT1ClickDevicesServiceClient) ClaimDevicesByClaimCode(input *iot1clickdevicesservice.ClaimDevicesByClaimCodeInput) (*iot1clickdevicesservice.ClaimDevicesByClaimCodeOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIoT1ClickDevicesServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIoT1ClickDevicesServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/service.go index 405105c4c6b0..c89427a0e3d5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickdevicesservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IoT1ClickDevicesService client from just a session. -// svc := iot1clickdevicesservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IoT1ClickDevicesService client with additional configuration -// svc := iot1clickdevicesservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IoT1ClickDevicesService client from just a session. +// svc := iot1clickdevicesservice.New(mySession) +// +// // Create a IoT1ClickDevicesService client with additional configuration +// svc := iot1clickdevicesservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoT1ClickDevicesService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/api.go index 2fc33ba7fd21..08165df6be26 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/api.go @@ -29,14 +29,13 @@ const opAssociateDeviceWithPlacement = "AssociateDeviceWithPlacement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateDeviceWithPlacementRequest method. +// req, resp := client.AssociateDeviceWithPlacementRequest(params) // -// // Example sending a request using the AssociateDeviceWithPlacementRequest method. -// req, resp := client.AssociateDeviceWithPlacementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/AssociateDeviceWithPlacement func (c *IoT1ClickProjects) AssociateDeviceWithPlacementRequest(input *AssociateDeviceWithPlacementInput) (req *request.Request, output *AssociateDeviceWithPlacementOutput) { @@ -68,13 +67,14 @@ func (c *IoT1ClickProjects) AssociateDeviceWithPlacementRequest(input *Associate // API operation AssociateDeviceWithPlacement for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException +// +// - InvalidRequestException // -// * ResourceConflictException +// - ResourceConflictException // -// * ResourceNotFoundException +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/AssociateDeviceWithPlacement func (c *IoT1ClickProjects) AssociateDeviceWithPlacement(input *AssociateDeviceWithPlacementInput) (*AssociateDeviceWithPlacementOutput, error) { @@ -114,14 +114,13 @@ const opCreatePlacement = "CreatePlacement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePlacementRequest method. +// req, resp := client.CreatePlacementRequest(params) // -// // Example sending a request using the CreatePlacementRequest method. -// req, resp := client.CreatePlacementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/CreatePlacement func (c *IoT1ClickProjects) CreatePlacementRequest(input *CreatePlacementInput) (req *request.Request, output *CreatePlacementOutput) { @@ -153,13 +152,14 @@ func (c *IoT1ClickProjects) CreatePlacementRequest(input *CreatePlacementInput) // API operation CreatePlacement for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException // -// * ResourceConflictException +// - InvalidRequestException // -// * ResourceNotFoundException +// - ResourceConflictException +// +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/CreatePlacement func (c *IoT1ClickProjects) CreatePlacement(input *CreatePlacementInput) (*CreatePlacementOutput, error) { @@ -199,14 +199,13 @@ const opCreateProject = "CreateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProjectRequest method. +// req, resp := client.CreateProjectRequest(params) // -// // Example sending a request using the CreateProjectRequest method. -// req, resp := client.CreateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/CreateProject func (c *IoT1ClickProjects) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) { @@ -239,11 +238,12 @@ func (c *IoT1ClickProjects) CreateProjectRequest(input *CreateProjectInput) (req // API operation CreateProject for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException // -// * ResourceConflictException +// - InvalidRequestException +// +// - ResourceConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/CreateProject func (c *IoT1ClickProjects) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) { @@ -283,14 +283,13 @@ const opDeletePlacement = "DeletePlacement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePlacementRequest method. +// req, resp := client.DeletePlacementRequest(params) // -// // Example sending a request using the DeletePlacementRequest method. -// req, resp := client.DeletePlacementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/DeletePlacement func (c *IoT1ClickProjects) DeletePlacementRequest(input *DeletePlacementInput) (req *request.Request, output *DeletePlacementOutput) { @@ -325,13 +324,14 @@ func (c *IoT1ClickProjects) DeletePlacementRequest(input *DeletePlacementInput) // API operation DeletePlacement for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException // -// * ResourceNotFoundException +// - InvalidRequestException // -// * TooManyRequestsException +// - ResourceNotFoundException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/DeletePlacement func (c *IoT1ClickProjects) DeletePlacement(input *DeletePlacementInput) (*DeletePlacementOutput, error) { @@ -371,14 +371,13 @@ const opDeleteProject = "DeleteProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProjectRequest method. +// req, resp := client.DeleteProjectRequest(params) // -// // Example sending a request using the DeleteProjectRequest method. -// req, resp := client.DeleteProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/DeleteProject func (c *IoT1ClickProjects) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) { @@ -413,13 +412,14 @@ func (c *IoT1ClickProjects) DeleteProjectRequest(input *DeleteProjectInput) (req // API operation DeleteProject for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException // -// * ResourceNotFoundException +// - InvalidRequestException // -// * TooManyRequestsException +// - ResourceNotFoundException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/DeleteProject func (c *IoT1ClickProjects) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) { @@ -459,14 +459,13 @@ const opDescribePlacement = "DescribePlacement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePlacementRequest method. +// req, resp := client.DescribePlacementRequest(params) // -// // Example sending a request using the DescribePlacementRequest method. -// req, resp := client.DescribePlacementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/DescribePlacement func (c *IoT1ClickProjects) DescribePlacementRequest(input *DescribePlacementInput) (req *request.Request, output *DescribePlacementOutput) { @@ -497,11 +496,12 @@ func (c *IoT1ClickProjects) DescribePlacementRequest(input *DescribePlacementInp // API operation DescribePlacement for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException // -// * ResourceNotFoundException +// - InvalidRequestException +// +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/DescribePlacement func (c *IoT1ClickProjects) DescribePlacement(input *DescribePlacementInput) (*DescribePlacementOutput, error) { @@ -541,14 +541,13 @@ const opDescribeProject = "DescribeProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProjectRequest method. +// req, resp := client.DescribeProjectRequest(params) // -// // Example sending a request using the DescribeProjectRequest method. -// req, resp := client.DescribeProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/DescribeProject func (c *IoT1ClickProjects) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput) { @@ -579,11 +578,12 @@ func (c *IoT1ClickProjects) DescribeProjectRequest(input *DescribeProjectInput) // API operation DescribeProject for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException // -// * ResourceNotFoundException +// - InvalidRequestException +// +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/DescribeProject func (c *IoT1ClickProjects) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error) { @@ -623,14 +623,13 @@ const opDisassociateDeviceFromPlacement = "DisassociateDeviceFromPlacement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateDeviceFromPlacementRequest method. +// req, resp := client.DisassociateDeviceFromPlacementRequest(params) // -// // Example sending a request using the DisassociateDeviceFromPlacementRequest method. -// req, resp := client.DisassociateDeviceFromPlacementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/DisassociateDeviceFromPlacement func (c *IoT1ClickProjects) DisassociateDeviceFromPlacementRequest(input *DisassociateDeviceFromPlacementInput) (req *request.Request, output *DisassociateDeviceFromPlacementOutput) { @@ -662,13 +661,14 @@ func (c *IoT1ClickProjects) DisassociateDeviceFromPlacementRequest(input *Disass // API operation DisassociateDeviceFromPlacement for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException // -// * ResourceNotFoundException +// - InvalidRequestException // -// * TooManyRequestsException +// - ResourceNotFoundException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/DisassociateDeviceFromPlacement func (c *IoT1ClickProjects) DisassociateDeviceFromPlacement(input *DisassociateDeviceFromPlacementInput) (*DisassociateDeviceFromPlacementOutput, error) { @@ -708,14 +708,13 @@ const opGetDevicesInPlacement = "GetDevicesInPlacement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDevicesInPlacementRequest method. +// req, resp := client.GetDevicesInPlacementRequest(params) // -// // Example sending a request using the GetDevicesInPlacementRequest method. -// req, resp := client.GetDevicesInPlacementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/GetDevicesInPlacement func (c *IoT1ClickProjects) GetDevicesInPlacementRequest(input *GetDevicesInPlacementInput) (req *request.Request, output *GetDevicesInPlacementOutput) { @@ -746,11 +745,12 @@ func (c *IoT1ClickProjects) GetDevicesInPlacementRequest(input *GetDevicesInPlac // API operation GetDevicesInPlacement for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException // -// * ResourceNotFoundException +// - InvalidRequestException +// +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/GetDevicesInPlacement func (c *IoT1ClickProjects) GetDevicesInPlacement(input *GetDevicesInPlacementInput) (*GetDevicesInPlacementOutput, error) { @@ -790,14 +790,13 @@ const opListPlacements = "ListPlacements" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPlacementsRequest method. +// req, resp := client.ListPlacementsRequest(params) // -// // Example sending a request using the ListPlacementsRequest method. -// req, resp := client.ListPlacementsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/ListPlacements func (c *IoT1ClickProjects) ListPlacementsRequest(input *ListPlacementsInput) (req *request.Request, output *ListPlacementsOutput) { @@ -834,11 +833,12 @@ func (c *IoT1ClickProjects) ListPlacementsRequest(input *ListPlacementsInput) (r // API operation ListPlacements for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException +// +// - InvalidRequestException // -// * ResourceNotFoundException +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/ListPlacements func (c *IoT1ClickProjects) ListPlacements(input *ListPlacementsInput) (*ListPlacementsOutput, error) { @@ -870,15 +870,14 @@ func (c *IoT1ClickProjects) ListPlacementsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPlacements operation. -// pageNum := 0 -// err := client.ListPlacementsPages(params, -// func(page *iot1clickprojects.ListPlacementsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPlacements operation. +// pageNum := 0 +// err := client.ListPlacementsPages(params, +// func(page *iot1clickprojects.ListPlacementsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT1ClickProjects) ListPlacementsPages(input *ListPlacementsInput, fn func(*ListPlacementsOutput, bool) bool) error { return c.ListPlacementsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -930,14 +929,13 @@ const opListProjects = "ListProjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProjectsRequest method. +// req, resp := client.ListProjectsRequest(params) // -// // Example sending a request using the ListProjectsRequest method. -// req, resp := client.ListProjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/ListProjects func (c *IoT1ClickProjects) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) { @@ -975,9 +973,10 @@ func (c *IoT1ClickProjects) ListProjectsRequest(input *ListProjectsInput) (req * // API operation ListProjects for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException +// +// - InvalidRequestException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/ListProjects func (c *IoT1ClickProjects) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error) { @@ -1009,15 +1008,14 @@ func (c *IoT1ClickProjects) ListProjectsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProjects operation. -// pageNum := 0 -// err := client.ListProjectsPages(params, -// func(page *iot1clickprojects.ListProjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProjects operation. +// pageNum := 0 +// err := client.ListProjectsPages(params, +// func(page *iot1clickprojects.ListProjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoT1ClickProjects) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error { return c.ListProjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1069,14 +1067,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/ListTagsForResource func (c *IoT1ClickProjects) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1108,11 +1105,12 @@ func (c *IoT1ClickProjects) ListTagsForResourceRequest(input *ListTagsForResourc // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException +// +// - InvalidRequestException // -// * ResourceNotFoundException +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/ListTagsForResource func (c *IoT1ClickProjects) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1152,14 +1150,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/TagResource func (c *IoT1ClickProjects) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1193,11 +1190,12 @@ func (c *IoT1ClickProjects) TagResourceRequest(input *TagResourceInput) (req *re // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException +// +// - InvalidRequestException // -// * ResourceNotFoundException +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/TagResource func (c *IoT1ClickProjects) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1237,14 +1235,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/UntagResource func (c *IoT1ClickProjects) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1276,11 +1273,12 @@ func (c *IoT1ClickProjects) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException +// +// - InvalidRequestException // -// * ResourceNotFoundException +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/UntagResource func (c *IoT1ClickProjects) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1320,14 +1318,13 @@ const opUpdatePlacement = "UpdatePlacement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePlacementRequest method. +// req, resp := client.UpdatePlacementRequest(params) // -// // Example sending a request using the UpdatePlacementRequest method. -// req, resp := client.UpdatePlacementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/UpdatePlacement func (c *IoT1ClickProjects) UpdatePlacementRequest(input *UpdatePlacementInput) (req *request.Request, output *UpdatePlacementOutput) { @@ -1360,13 +1357,14 @@ func (c *IoT1ClickProjects) UpdatePlacementRequest(input *UpdatePlacementInput) // API operation UpdatePlacement for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException +// +// - InvalidRequestException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/UpdatePlacement func (c *IoT1ClickProjects) UpdatePlacement(input *UpdatePlacementInput) (*UpdatePlacementOutput, error) { @@ -1406,14 +1404,13 @@ const opUpdateProject = "UpdateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProjectRequest method. +// req, resp := client.UpdateProjectRequest(params) // -// // Example sending a request using the UpdateProjectRequest method. -// req, resp := client.UpdateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/UpdateProject func (c *IoT1ClickProjects) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput) { @@ -1448,13 +1445,14 @@ func (c *IoT1ClickProjects) UpdateProjectRequest(input *UpdateProjectInput) (req // API operation UpdateProject for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * InvalidRequestException +// - InternalFailureException +// +// - InvalidRequestException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14/UpdateProject func (c *IoT1ClickProjects) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/doc.go index 97cdf7c6ae48..6c13abb2f679 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/doc.go @@ -3,14 +3,14 @@ // Package iot1clickprojects provides the client and types for making API // requests to AWS IoT 1-Click Projects Service. // -// The AWS IoT 1-Click Projects API Reference +// # The AWS IoT 1-Click Projects API Reference // // See https://docs.aws.amazon.com/goto/WebAPI/iot1click-projects-2018-05-14 for more information on this service. // // See iot1clickprojects package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/iot1clickprojects/ // -// Using the Client +// # Using the Client // // To contact AWS IoT 1-Click Projects Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/iot1clickprojectsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/iot1clickprojectsiface/interface.go index 7a200bf3a6e9..13cae5bc50c2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/iot1clickprojectsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/iot1clickprojectsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT 1-Click Projects Service. -// func myFunc(svc iot1clickprojectsiface.IoT1ClickProjectsAPI) bool { -// // Make svc.AssociateDeviceWithPlacement request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT 1-Click Projects Service. +// func myFunc(svc iot1clickprojectsiface.IoT1ClickProjectsAPI) bool { +// // Make svc.AssociateDeviceWithPlacement request +// } // -// func main() { -// sess := session.New() -// svc := iot1clickprojects.New(sess) +// func main() { +// sess := session.New() +// svc := iot1clickprojects.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIoT1ClickProjectsClient struct { -// iot1clickprojectsiface.IoT1ClickProjectsAPI -// } -// func (m *mockIoT1ClickProjectsClient) AssociateDeviceWithPlacement(input *iot1clickprojects.AssociateDeviceWithPlacementInput) (*iot1clickprojects.AssociateDeviceWithPlacementOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIoT1ClickProjectsClient struct { +// iot1clickprojectsiface.IoT1ClickProjectsAPI +// } +// func (m *mockIoT1ClickProjectsClient) AssociateDeviceWithPlacement(input *iot1clickprojects.AssociateDeviceWithPlacementInput) (*iot1clickprojects.AssociateDeviceWithPlacementOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIoT1ClickProjectsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIoT1ClickProjectsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/service.go index 1f5a00c6bf82..c340c7e5b3c1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iot1clickprojects/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IoT1ClickProjects client from just a session. -// svc := iot1clickprojects.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IoT1ClickProjects client with additional configuration -// svc := iot1clickprojects.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IoT1ClickProjects client from just a session. +// svc := iot1clickprojects.New(mySession) +// +// // Create a IoT1ClickProjects client with additional configuration +// svc := iot1clickprojects.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoT1ClickProjects { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/api.go index c604eb14f3d8..58a92061a0f3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/api.go @@ -29,14 +29,13 @@ const opBatchPutMessage = "BatchPutMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchPutMessageRequest method. +// req, resp := client.BatchPutMessageRequest(params) // -// // Example sending a request using the BatchPutMessageRequest method. -// req, resp := client.BatchPutMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/BatchPutMessage func (c *IoTAnalytics) BatchPutMessageRequest(input *BatchPutMessageInput) (req *request.Request, output *BatchPutMessageOutput) { @@ -67,20 +66,21 @@ func (c *IoTAnalytics) BatchPutMessageRequest(input *BatchPutMessageInput) (req // API operation BatchPutMessage for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource with the specified name could not be found. // -// * InvalidRequestException -// The request was not valid. +// - ResourceNotFoundException +// A resource with the specified name could not be found. +// +// - InvalidRequestException +// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/BatchPutMessage func (c *IoTAnalytics) BatchPutMessage(input *BatchPutMessageInput) (*BatchPutMessageOutput, error) { @@ -120,14 +120,13 @@ const opCancelPipelineReprocessing = "CancelPipelineReprocessing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelPipelineReprocessingRequest method. +// req, resp := client.CancelPipelineReprocessingRequest(params) // -// // Example sending a request using the CancelPipelineReprocessingRequest method. -// req, resp := client.CancelPipelineReprocessingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CancelPipelineReprocessing func (c *IoTAnalytics) CancelPipelineReprocessingRequest(input *CancelPipelineReprocessingInput) (req *request.Request, output *CancelPipelineReprocessingOutput) { @@ -159,20 +158,21 @@ func (c *IoTAnalytics) CancelPipelineReprocessingRequest(input *CancelPipelineRe // API operation CancelPipelineReprocessing for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource with the specified name could not be found. // -// * InvalidRequestException -// The request was not valid. +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * InternalFailureException -// There was an internal failure. +// - InvalidRequestException +// The request was not valid. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CancelPipelineReprocessing func (c *IoTAnalytics) CancelPipelineReprocessing(input *CancelPipelineReprocessingInput) (*CancelPipelineReprocessingOutput, error) { @@ -212,14 +212,13 @@ const opCreateChannel = "CreateChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChannelRequest method. +// req, resp := client.CreateChannelRequest(params) // -// // Example sending a request using the CreateChannelRequest method. -// req, resp := client.CreateChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CreateChannel func (c *IoTAnalytics) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput) { @@ -251,23 +250,24 @@ func (c *IoTAnalytics) CreateChannelRequest(input *CreateChannelInput) (req *req // API operation CreateChannel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceAlreadyExistsException -// A resource with the same name already exists. +// - InvalidRequestException +// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - ResourceAlreadyExistsException +// A resource with the same name already exists. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * LimitExceededException -// The command caused an internal limit to be exceeded. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - LimitExceededException +// The command caused an internal limit to be exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CreateChannel func (c *IoTAnalytics) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error) { @@ -307,14 +307,13 @@ const opCreateDataset = "CreateDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatasetRequest method. +// req, resp := client.CreateDatasetRequest(params) // -// // Example sending a request using the CreateDatasetRequest method. -// req, resp := client.CreateDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CreateDataset func (c *IoTAnalytics) CreateDatasetRequest(input *CreateDatasetInput) (req *request.Request, output *CreateDatasetOutput) { @@ -349,23 +348,24 @@ func (c *IoTAnalytics) CreateDatasetRequest(input *CreateDatasetInput) (req *req // API operation CreateDataset for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceAlreadyExistsException -// A resource with the same name already exists. +// - InvalidRequestException +// The request was not valid. +// +// - ResourceAlreadyExistsException +// A resource with the same name already exists. // -// * InternalFailureException -// There was an internal failure. +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * LimitExceededException -// The command caused an internal limit to be exceeded. +// - LimitExceededException +// The command caused an internal limit to be exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CreateDataset func (c *IoTAnalytics) CreateDataset(input *CreateDatasetInput) (*CreateDatasetOutput, error) { @@ -405,14 +405,13 @@ const opCreateDatasetContent = "CreateDatasetContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatasetContentRequest method. +// req, resp := client.CreateDatasetContentRequest(params) // -// // Example sending a request using the CreateDatasetContentRequest method. -// req, resp := client.CreateDatasetContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CreateDatasetContent func (c *IoTAnalytics) CreateDatasetContentRequest(input *CreateDatasetContentInput) (req *request.Request, output *CreateDatasetContentOutput) { @@ -444,20 +443,21 @@ func (c *IoTAnalytics) CreateDatasetContentRequest(input *CreateDatasetContentIn // API operation CreateDatasetContent for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. +// +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * InternalFailureException -// There was an internal failure. +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CreateDatasetContent func (c *IoTAnalytics) CreateDatasetContent(input *CreateDatasetContentInput) (*CreateDatasetContentOutput, error) { @@ -497,14 +497,13 @@ const opCreateDatastore = "CreateDatastore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatastoreRequest method. +// req, resp := client.CreateDatastoreRequest(params) // -// // Example sending a request using the CreateDatastoreRequest method. -// req, resp := client.CreateDatastoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CreateDatastore func (c *IoTAnalytics) CreateDatastoreRequest(input *CreateDatastoreInput) (req *request.Request, output *CreateDatastoreOutput) { @@ -535,23 +534,24 @@ func (c *IoTAnalytics) CreateDatastoreRequest(input *CreateDatastoreInput) (req // API operation CreateDatastore for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceAlreadyExistsException -// A resource with the same name already exists. +// - InvalidRequestException +// The request was not valid. +// +// - ResourceAlreadyExistsException +// A resource with the same name already exists. // -// * InternalFailureException -// There was an internal failure. +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * LimitExceededException -// The command caused an internal limit to be exceeded. +// - LimitExceededException +// The command caused an internal limit to be exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CreateDatastore func (c *IoTAnalytics) CreateDatastore(input *CreateDatastoreInput) (*CreateDatastoreOutput, error) { @@ -591,14 +591,13 @@ const opCreatePipeline = "CreatePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePipelineRequest method. +// req, resp := client.CreatePipelineRequest(params) // -// // Example sending a request using the CreatePipelineRequest method. -// req, resp := client.CreatePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CreatePipeline func (c *IoTAnalytics) CreatePipelineRequest(input *CreatePipelineInput) (req *request.Request, output *CreatePipelineOutput) { @@ -632,23 +631,24 @@ func (c *IoTAnalytics) CreatePipelineRequest(input *CreatePipelineInput) (req *r // API operation CreatePipeline for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceAlreadyExistsException -// A resource with the same name already exists. +// - InvalidRequestException +// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - ResourceAlreadyExistsException +// A resource with the same name already exists. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * LimitExceededException -// The command caused an internal limit to be exceeded. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - LimitExceededException +// The command caused an internal limit to be exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/CreatePipeline func (c *IoTAnalytics) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error) { @@ -688,14 +688,13 @@ const opDeleteChannel = "DeleteChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelRequest method. +// req, resp := client.DeleteChannelRequest(params) // -// // Example sending a request using the DeleteChannelRequest method. -// req, resp := client.DeleteChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DeleteChannel func (c *IoTAnalytics) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput) { @@ -727,20 +726,21 @@ func (c *IoTAnalytics) DeleteChannelRequest(input *DeleteChannelInput) (req *req // API operation DeleteChannel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DeleteChannel func (c *IoTAnalytics) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error) { @@ -780,14 +780,13 @@ const opDeleteDataset = "DeleteDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatasetRequest method. +// req, resp := client.DeleteDatasetRequest(params) // -// // Example sending a request using the DeleteDatasetRequest method. -// req, resp := client.DeleteDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DeleteDataset func (c *IoTAnalytics) DeleteDatasetRequest(input *DeleteDatasetInput) (req *request.Request, output *DeleteDatasetOutput) { @@ -822,20 +821,21 @@ func (c *IoTAnalytics) DeleteDatasetRequest(input *DeleteDatasetInput) (req *req // API operation DeleteDataset for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DeleteDataset func (c *IoTAnalytics) DeleteDataset(input *DeleteDatasetInput) (*DeleteDatasetOutput, error) { @@ -875,14 +875,13 @@ const opDeleteDatasetContent = "DeleteDatasetContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatasetContentRequest method. +// req, resp := client.DeleteDatasetContentRequest(params) // -// // Example sending a request using the DeleteDatasetContentRequest method. -// req, resp := client.DeleteDatasetContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DeleteDatasetContent func (c *IoTAnalytics) DeleteDatasetContentRequest(input *DeleteDatasetContentInput) (req *request.Request, output *DeleteDatasetContentOutput) { @@ -914,20 +913,21 @@ func (c *IoTAnalytics) DeleteDatasetContentRequest(input *DeleteDatasetContentIn // API operation DeleteDatasetContent for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DeleteDatasetContent func (c *IoTAnalytics) DeleteDatasetContent(input *DeleteDatasetContentInput) (*DeleteDatasetContentOutput, error) { @@ -967,14 +967,13 @@ const opDeleteDatastore = "DeleteDatastore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatastoreRequest method. +// req, resp := client.DeleteDatastoreRequest(params) // -// // Example sending a request using the DeleteDatastoreRequest method. -// req, resp := client.DeleteDatastoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DeleteDatastore func (c *IoTAnalytics) DeleteDatastoreRequest(input *DeleteDatastoreInput) (req *request.Request, output *DeleteDatastoreOutput) { @@ -1006,20 +1005,21 @@ func (c *IoTAnalytics) DeleteDatastoreRequest(input *DeleteDatastoreInput) (req // API operation DeleteDatastore for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. +// +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * InternalFailureException -// There was an internal failure. +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DeleteDatastore func (c *IoTAnalytics) DeleteDatastore(input *DeleteDatastoreInput) (*DeleteDatastoreOutput, error) { @@ -1059,14 +1059,13 @@ const opDeletePipeline = "DeletePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePipelineRequest method. +// req, resp := client.DeletePipelineRequest(params) // -// // Example sending a request using the DeletePipelineRequest method. -// req, resp := client.DeletePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DeletePipeline func (c *IoTAnalytics) DeletePipelineRequest(input *DeletePipelineInput) (req *request.Request, output *DeletePipelineOutput) { @@ -1098,20 +1097,21 @@ func (c *IoTAnalytics) DeletePipelineRequest(input *DeletePipelineInput) (req *r // API operation DeletePipeline for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. +// +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * InternalFailureException -// There was an internal failure. +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DeletePipeline func (c *IoTAnalytics) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error) { @@ -1151,14 +1151,13 @@ const opDescribeChannel = "DescribeChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelRequest method. +// req, resp := client.DescribeChannelRequest(params) // -// // Example sending a request using the DescribeChannelRequest method. -// req, resp := client.DescribeChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DescribeChannel func (c *IoTAnalytics) DescribeChannelRequest(input *DescribeChannelInput) (req *request.Request, output *DescribeChannelOutput) { @@ -1189,20 +1188,21 @@ func (c *IoTAnalytics) DescribeChannelRequest(input *DescribeChannelInput) (req // API operation DescribeChannel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. +// +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * InternalFailureException -// There was an internal failure. +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DescribeChannel func (c *IoTAnalytics) DescribeChannel(input *DescribeChannelInput) (*DescribeChannelOutput, error) { @@ -1242,14 +1242,13 @@ const opDescribeDataset = "DescribeDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDatasetRequest method. +// req, resp := client.DescribeDatasetRequest(params) // -// // Example sending a request using the DescribeDatasetRequest method. -// req, resp := client.DescribeDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DescribeDataset func (c *IoTAnalytics) DescribeDatasetRequest(input *DescribeDatasetInput) (req *request.Request, output *DescribeDatasetOutput) { @@ -1280,20 +1279,21 @@ func (c *IoTAnalytics) DescribeDatasetRequest(input *DescribeDatasetInput) (req // API operation DescribeDataset for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. +// +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * InternalFailureException -// There was an internal failure. +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DescribeDataset func (c *IoTAnalytics) DescribeDataset(input *DescribeDatasetInput) (*DescribeDatasetOutput, error) { @@ -1333,14 +1333,13 @@ const opDescribeDatastore = "DescribeDatastore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDatastoreRequest method. +// req, resp := client.DescribeDatastoreRequest(params) // -// // Example sending a request using the DescribeDatastoreRequest method. -// req, resp := client.DescribeDatastoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DescribeDatastore func (c *IoTAnalytics) DescribeDatastoreRequest(input *DescribeDatastoreInput) (req *request.Request, output *DescribeDatastoreOutput) { @@ -1371,20 +1370,21 @@ func (c *IoTAnalytics) DescribeDatastoreRequest(input *DescribeDatastoreInput) ( // API operation DescribeDatastore for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. +// +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * InternalFailureException -// There was an internal failure. +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DescribeDatastore func (c *IoTAnalytics) DescribeDatastore(input *DescribeDatastoreInput) (*DescribeDatastoreOutput, error) { @@ -1424,14 +1424,13 @@ const opDescribeLoggingOptions = "DescribeLoggingOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLoggingOptionsRequest method. +// req, resp := client.DescribeLoggingOptionsRequest(params) // -// // Example sending a request using the DescribeLoggingOptionsRequest method. -// req, resp := client.DescribeLoggingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DescribeLoggingOptions func (c *IoTAnalytics) DescribeLoggingOptionsRequest(input *DescribeLoggingOptionsInput) (req *request.Request, output *DescribeLoggingOptionsOutput) { @@ -1462,20 +1461,21 @@ func (c *IoTAnalytics) DescribeLoggingOptionsRequest(input *DescribeLoggingOptio // API operation DescribeLoggingOptions for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DescribeLoggingOptions func (c *IoTAnalytics) DescribeLoggingOptions(input *DescribeLoggingOptionsInput) (*DescribeLoggingOptionsOutput, error) { @@ -1515,14 +1515,13 @@ const opDescribePipeline = "DescribePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePipelineRequest method. +// req, resp := client.DescribePipelineRequest(params) // -// // Example sending a request using the DescribePipelineRequest method. -// req, resp := client.DescribePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DescribePipeline func (c *IoTAnalytics) DescribePipelineRequest(input *DescribePipelineInput) (req *request.Request, output *DescribePipelineOutput) { @@ -1553,20 +1552,21 @@ func (c *IoTAnalytics) DescribePipelineRequest(input *DescribePipelineInput) (re // API operation DescribePipeline for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/DescribePipeline func (c *IoTAnalytics) DescribePipeline(input *DescribePipelineInput) (*DescribePipelineOutput, error) { @@ -1606,14 +1606,13 @@ const opGetDatasetContent = "GetDatasetContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDatasetContentRequest method. +// req, resp := client.GetDatasetContentRequest(params) // -// // Example sending a request using the GetDatasetContentRequest method. -// req, resp := client.GetDatasetContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/GetDatasetContent func (c *IoTAnalytics) GetDatasetContentRequest(input *GetDatasetContentInput) (req *request.Request, output *GetDatasetContentOutput) { @@ -1644,20 +1643,21 @@ func (c *IoTAnalytics) GetDatasetContentRequest(input *GetDatasetContentInput) ( // API operation GetDatasetContent for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/GetDatasetContent func (c *IoTAnalytics) GetDatasetContent(input *GetDatasetContentInput) (*GetDatasetContentOutput, error) { @@ -1697,14 +1697,13 @@ const opListChannels = "ListChannels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelsRequest method. +// req, resp := client.ListChannelsRequest(params) // -// // Example sending a request using the ListChannelsRequest method. -// req, resp := client.ListChannelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ListChannels func (c *IoTAnalytics) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput) { @@ -1741,17 +1740,18 @@ func (c *IoTAnalytics) ListChannelsRequest(input *ListChannelsInput) (req *reque // API operation ListChannels for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - InvalidRequestException +// The request was not valid. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ListChannels func (c *IoTAnalytics) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error) { @@ -1783,15 +1783,14 @@ func (c *IoTAnalytics) ListChannelsWithContext(ctx aws.Context, input *ListChann // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannels operation. -// pageNum := 0 -// err := client.ListChannelsPages(params, -// func(page *iotanalytics.ListChannelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannels operation. +// pageNum := 0 +// err := client.ListChannelsPages(params, +// func(page *iotanalytics.ListChannelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTAnalytics) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error { return c.ListChannelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1843,14 +1842,13 @@ const opListDatasetContents = "ListDatasetContents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetContentsRequest method. +// req, resp := client.ListDatasetContentsRequest(params) // -// // Example sending a request using the ListDatasetContentsRequest method. -// req, resp := client.ListDatasetContentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ListDatasetContents func (c *IoTAnalytics) ListDatasetContentsRequest(input *ListDatasetContentsInput) (req *request.Request, output *ListDatasetContentsOutput) { @@ -1887,20 +1885,21 @@ func (c *IoTAnalytics) ListDatasetContentsRequest(input *ListDatasetContentsInpu // API operation ListDatasetContents for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - InvalidRequestException +// The request was not valid. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// A resource with the specified name could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ListDatasetContents func (c *IoTAnalytics) ListDatasetContents(input *ListDatasetContentsInput) (*ListDatasetContentsOutput, error) { @@ -1932,15 +1931,14 @@ func (c *IoTAnalytics) ListDatasetContentsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatasetContents operation. -// pageNum := 0 -// err := client.ListDatasetContentsPages(params, -// func(page *iotanalytics.ListDatasetContentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatasetContents operation. +// pageNum := 0 +// err := client.ListDatasetContentsPages(params, +// func(page *iotanalytics.ListDatasetContentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTAnalytics) ListDatasetContentsPages(input *ListDatasetContentsInput, fn func(*ListDatasetContentsOutput, bool) bool) error { return c.ListDatasetContentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1992,14 +1990,13 @@ const opListDatasets = "ListDatasets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetsRequest method. +// req, resp := client.ListDatasetsRequest(params) // -// // Example sending a request using the ListDatasetsRequest method. -// req, resp := client.ListDatasetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ListDatasets func (c *IoTAnalytics) ListDatasetsRequest(input *ListDatasetsInput) (req *request.Request, output *ListDatasetsOutput) { @@ -2036,17 +2033,18 @@ func (c *IoTAnalytics) ListDatasetsRequest(input *ListDatasetsInput) (req *reque // API operation ListDatasets for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - InvalidRequestException +// The request was not valid. +// +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ListDatasets func (c *IoTAnalytics) ListDatasets(input *ListDatasetsInput) (*ListDatasetsOutput, error) { @@ -2078,15 +2076,14 @@ func (c *IoTAnalytics) ListDatasetsWithContext(ctx aws.Context, input *ListDatas // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatasets operation. -// pageNum := 0 -// err := client.ListDatasetsPages(params, -// func(page *iotanalytics.ListDatasetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatasets operation. +// pageNum := 0 +// err := client.ListDatasetsPages(params, +// func(page *iotanalytics.ListDatasetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTAnalytics) ListDatasetsPages(input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool) error { return c.ListDatasetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2138,14 +2135,13 @@ const opListDatastores = "ListDatastores" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatastoresRequest method. +// req, resp := client.ListDatastoresRequest(params) // -// // Example sending a request using the ListDatastoresRequest method. -// req, resp := client.ListDatastoresRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ListDatastores func (c *IoTAnalytics) ListDatastoresRequest(input *ListDatastoresInput) (req *request.Request, output *ListDatastoresOutput) { @@ -2182,17 +2178,18 @@ func (c *IoTAnalytics) ListDatastoresRequest(input *ListDatastoresInput) (req *r // API operation ListDatastores for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - InvalidRequestException +// The request was not valid. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ListDatastores func (c *IoTAnalytics) ListDatastores(input *ListDatastoresInput) (*ListDatastoresOutput, error) { @@ -2224,15 +2221,14 @@ func (c *IoTAnalytics) ListDatastoresWithContext(ctx aws.Context, input *ListDat // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatastores operation. -// pageNum := 0 -// err := client.ListDatastoresPages(params, -// func(page *iotanalytics.ListDatastoresOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatastores operation. +// pageNum := 0 +// err := client.ListDatastoresPages(params, +// func(page *iotanalytics.ListDatastoresOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTAnalytics) ListDatastoresPages(input *ListDatastoresInput, fn func(*ListDatastoresOutput, bool) bool) error { return c.ListDatastoresPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2284,14 +2280,13 @@ const opListPipelines = "ListPipelines" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPipelinesRequest method. +// req, resp := client.ListPipelinesRequest(params) // -// // Example sending a request using the ListPipelinesRequest method. -// req, resp := client.ListPipelinesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ListPipelines func (c *IoTAnalytics) ListPipelinesRequest(input *ListPipelinesInput) (req *request.Request, output *ListPipelinesOutput) { @@ -2328,17 +2323,18 @@ func (c *IoTAnalytics) ListPipelinesRequest(input *ListPipelinesInput) (req *req // API operation ListPipelines for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - InvalidRequestException +// The request was not valid. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ListPipelines func (c *IoTAnalytics) ListPipelines(input *ListPipelinesInput) (*ListPipelinesOutput, error) { @@ -2370,15 +2366,14 @@ func (c *IoTAnalytics) ListPipelinesWithContext(ctx aws.Context, input *ListPipe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPipelines operation. -// pageNum := 0 -// err := client.ListPipelinesPages(params, -// func(page *iotanalytics.ListPipelinesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPipelines operation. +// pageNum := 0 +// err := client.ListPipelinesPages(params, +// func(page *iotanalytics.ListPipelinesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTAnalytics) ListPipelinesPages(input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool) error { return c.ListPipelinesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2430,14 +2425,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ListTagsForResource func (c *IoTAnalytics) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2468,23 +2462,24 @@ func (c *IoTAnalytics) ListTagsForResourceRequest(input *ListTagsForResourceInpu // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - InvalidRequestException +// The request was not valid. +// +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * LimitExceededException -// The command caused an internal limit to be exceeded. +// - LimitExceededException +// The command caused an internal limit to be exceeded. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - ResourceNotFoundException +// A resource with the specified name could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/ListTagsForResource func (c *IoTAnalytics) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2524,14 +2519,13 @@ const opPutLoggingOptions = "PutLoggingOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutLoggingOptionsRequest method. +// req, resp := client.PutLoggingOptionsRequest(params) // -// // Example sending a request using the PutLoggingOptionsRequest method. -// req, resp := client.PutLoggingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/PutLoggingOptions func (c *IoTAnalytics) PutLoggingOptionsRequest(input *PutLoggingOptionsInput) (req *request.Request, output *PutLoggingOptionsOutput) { @@ -2568,17 +2562,18 @@ func (c *IoTAnalytics) PutLoggingOptionsRequest(input *PutLoggingOptionsInput) ( // API operation PutLoggingOptions for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - InvalidRequestException +// The request was not valid. +// +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/PutLoggingOptions func (c *IoTAnalytics) PutLoggingOptions(input *PutLoggingOptionsInput) (*PutLoggingOptionsOutput, error) { @@ -2618,14 +2613,13 @@ const opRunPipelineActivity = "RunPipelineActivity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RunPipelineActivityRequest method. +// req, resp := client.RunPipelineActivityRequest(params) // -// // Example sending a request using the RunPipelineActivityRequest method. -// req, resp := client.RunPipelineActivityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/RunPipelineActivity func (c *IoTAnalytics) RunPipelineActivityRequest(input *RunPipelineActivityInput) (req *request.Request, output *RunPipelineActivityOutput) { @@ -2656,17 +2650,18 @@ func (c *IoTAnalytics) RunPipelineActivityRequest(input *RunPipelineActivityInpu // API operation RunPipelineActivity for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - InvalidRequestException +// The request was not valid. +// +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/RunPipelineActivity func (c *IoTAnalytics) RunPipelineActivity(input *RunPipelineActivityInput) (*RunPipelineActivityOutput, error) { @@ -2706,14 +2701,13 @@ const opSampleChannelData = "SampleChannelData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SampleChannelDataRequest method. +// req, resp := client.SampleChannelDataRequest(params) // -// // Example sending a request using the SampleChannelDataRequest method. -// req, resp := client.SampleChannelDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/SampleChannelData func (c *IoTAnalytics) SampleChannelDataRequest(input *SampleChannelDataInput) (req *request.Request, output *SampleChannelDataOutput) { @@ -2745,20 +2739,21 @@ func (c *IoTAnalytics) SampleChannelDataRequest(input *SampleChannelDataInput) ( // API operation SampleChannelData for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/SampleChannelData func (c *IoTAnalytics) SampleChannelData(input *SampleChannelDataInput) (*SampleChannelDataOutput, error) { @@ -2798,14 +2793,13 @@ const opStartPipelineReprocessing = "StartPipelineReprocessing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartPipelineReprocessingRequest method. +// req, resp := client.StartPipelineReprocessingRequest(params) // -// // Example sending a request using the StartPipelineReprocessingRequest method. -// req, resp := client.StartPipelineReprocessingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/StartPipelineReprocessing func (c *IoTAnalytics) StartPipelineReprocessingRequest(input *StartPipelineReprocessingInput) (req *request.Request, output *StartPipelineReprocessingOutput) { @@ -2836,23 +2830,24 @@ func (c *IoTAnalytics) StartPipelineReprocessingRequest(input *StartPipelineRepr // API operation StartPipelineReprocessing for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A resource with the specified name could not be found. // -// * ResourceAlreadyExistsException -// A resource with the same name already exists. +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * InvalidRequestException -// The request was not valid. +// - ResourceAlreadyExistsException +// A resource with the same name already exists. // -// * InternalFailureException -// There was an internal failure. +// - InvalidRequestException +// The request was not valid. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. +// +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/StartPipelineReprocessing func (c *IoTAnalytics) StartPipelineReprocessing(input *StartPipelineReprocessingInput) (*StartPipelineReprocessingOutput, error) { @@ -2892,14 +2887,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/TagResource func (c *IoTAnalytics) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2932,23 +2926,24 @@ func (c *IoTAnalytics) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - InvalidRequestException +// The request was not valid. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * LimitExceededException -// The command caused an internal limit to be exceeded. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - LimitExceededException +// The command caused an internal limit to be exceeded. +// +// - ResourceNotFoundException +// A resource with the specified name could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/TagResource func (c *IoTAnalytics) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2988,14 +2983,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/UntagResource func (c *IoTAnalytics) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3027,23 +3021,24 @@ func (c *IoTAnalytics) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * InternalFailureException -// There was an internal failure. +// - InvalidRequestException +// The request was not valid. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - InternalFailureException +// There was an internal failure. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * LimitExceededException -// The command caused an internal limit to be exceeded. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - LimitExceededException +// The command caused an internal limit to be exceeded. +// +// - ResourceNotFoundException +// A resource with the specified name could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/UntagResource func (c *IoTAnalytics) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3083,14 +3078,13 @@ const opUpdateChannel = "UpdateChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateChannelRequest method. +// req, resp := client.UpdateChannelRequest(params) // -// // Example sending a request using the UpdateChannelRequest method. -// req, resp := client.UpdateChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/UpdateChannel func (c *IoTAnalytics) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput) { @@ -3122,20 +3116,21 @@ func (c *IoTAnalytics) UpdateChannelRequest(input *UpdateChannelInput) (req *req // API operation UpdateChannel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. +// +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * InternalFailureException -// There was an internal failure. +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/UpdateChannel func (c *IoTAnalytics) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error) { @@ -3175,14 +3170,13 @@ const opUpdateDataset = "UpdateDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDatasetRequest method. +// req, resp := client.UpdateDatasetRequest(params) // -// // Example sending a request using the UpdateDatasetRequest method. -// req, resp := client.UpdateDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/UpdateDataset func (c *IoTAnalytics) UpdateDatasetRequest(input *UpdateDatasetInput) (req *request.Request, output *UpdateDatasetOutput) { @@ -3214,20 +3208,21 @@ func (c *IoTAnalytics) UpdateDatasetRequest(input *UpdateDatasetInput) (req *req // API operation UpdateDataset for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. +// +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * InternalFailureException -// There was an internal failure. +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/UpdateDataset func (c *IoTAnalytics) UpdateDataset(input *UpdateDatasetInput) (*UpdateDatasetOutput, error) { @@ -3267,14 +3262,13 @@ const opUpdateDatastore = "UpdateDatastore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDatastoreRequest method. +// req, resp := client.UpdateDatastoreRequest(params) // -// // Example sending a request using the UpdateDatastoreRequest method. -// req, resp := client.UpdateDatastoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/UpdateDatastore func (c *IoTAnalytics) UpdateDatastoreRequest(input *UpdateDatastoreInput) (req *request.Request, output *UpdateDatastoreOutput) { @@ -3306,20 +3300,21 @@ func (c *IoTAnalytics) UpdateDatastoreRequest(input *UpdateDatastoreInput) (req // API operation UpdateDatastore for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. +// +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * InternalFailureException -// There was an internal failure. +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/UpdateDatastore func (c *IoTAnalytics) UpdateDatastore(input *UpdateDatastoreInput) (*UpdateDatastoreOutput, error) { @@ -3359,14 +3354,13 @@ const opUpdatePipeline = "UpdatePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePipelineRequest method. +// req, resp := client.UpdatePipelineRequest(params) // -// // Example sending a request using the UpdatePipelineRequest method. -// req, resp := client.UpdatePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/UpdatePipeline func (c *IoTAnalytics) UpdatePipelineRequest(input *UpdatePipelineInput) (req *request.Request, output *UpdatePipelineOutput) { @@ -3400,23 +3394,24 @@ func (c *IoTAnalytics) UpdatePipelineRequest(input *UpdatePipelineInput) (req *r // API operation UpdatePipeline for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was not valid. // -// * ResourceNotFoundException -// A resource with the specified name could not be found. +// - InvalidRequestException +// The request was not valid. +// +// - ResourceNotFoundException +// A resource with the specified name could not be found. // -// * InternalFailureException -// There was an internal failure. +// - InternalFailureException +// There was an internal failure. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * LimitExceededException -// The command caused an internal limit to be exceeded. +// - LimitExceededException +// The command caused an internal limit to be exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotanalytics-2017-11-27/UpdatePipeline func (c *IoTAnalytics) UpdatePipeline(input *UpdatePipelineInput) (*UpdatePipelineOutput, error) { @@ -7348,12 +7343,12 @@ func (s *DeltaTime) SetTimeExpression(v string) *DeltaTime { // A structure that contains the configuration information of a delta time session // window. // -// DeltaTime (https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_DeltaTime.html) -// specifies a time interval. You can use DeltaTime to create dataset contents -// with data that has arrived in the data store since the last execution. For -// an example of DeltaTime, see Creating a SQL dataset with a delta window -// (CLI) (https://docs.aws.amazon.com/iotanalytics/latest/userguide/automate-create-dataset.html#automate-example6) -// in the IoT Analytics User Guide. +// DeltaTime (https://docs.aws.amazon.com/iotanalytics/latest/APIReference/API_DeltaTime.html) +// specifies a time interval. You can use DeltaTime to create dataset contents +// with data that has arrived in the data store since the last execution. For +// an example of DeltaTime, see Creating a SQL dataset with a delta window +// (CLI) (https://docs.aws.amazon.com/iotanalytics/latest/userguide/automate-create-dataset.html#automate-example6) +// in the IoT Analytics User Guide. type DeltaTimeSessionWindowConfiguration struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/doc.go index f2f68f2e26d0..4d157a024287 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/doc.go @@ -33,7 +33,7 @@ // See iotanalytics package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/iotanalytics/ // -// Using the Client +// # Using the Client // // To contact AWS IoT Analytics with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/iotanalyticsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/iotanalyticsiface/interface.go index abf857341f48..69b55767f586 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/iotanalyticsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/iotanalyticsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT Analytics. -// func myFunc(svc iotanalyticsiface.IoTAnalyticsAPI) bool { -// // Make svc.BatchPutMessage request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT Analytics. +// func myFunc(svc iotanalyticsiface.IoTAnalyticsAPI) bool { +// // Make svc.BatchPutMessage request +// } // -// func main() { -// sess := session.New() -// svc := iotanalytics.New(sess) +// func main() { +// sess := session.New() +// svc := iotanalytics.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIoTAnalyticsClient struct { -// iotanalyticsiface.IoTAnalyticsAPI -// } -// func (m *mockIoTAnalyticsClient) BatchPutMessage(input *iotanalytics.BatchPutMessageInput) (*iotanalytics.BatchPutMessageOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIoTAnalyticsClient struct { +// iotanalyticsiface.IoTAnalyticsAPI +// } +// func (m *mockIoTAnalyticsClient) BatchPutMessage(input *iotanalytics.BatchPutMessageInput) (*iotanalytics.BatchPutMessageOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIoTAnalyticsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIoTAnalyticsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/service.go index cc23125308f5..01747a9baebf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotanalytics/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IoTAnalytics client from just a session. -// svc := iotanalytics.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IoTAnalytics client with additional configuration -// svc := iotanalytics.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IoTAnalytics client from just a session. +// svc := iotanalytics.New(mySession) +// +// // Create a IoTAnalytics client with additional configuration +// svc := iotanalytics.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoTAnalytics { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/api.go index b535f39f9e5e..e3f46d1b3227 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/api.go @@ -28,14 +28,13 @@ const opDeleteThingShadow = "DeleteThingShadow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteThingShadowRequest method. +// req, resp := client.DeleteThingShadowRequest(params) // -// // Example sending a request using the DeleteThingShadowRequest method. -// req, resp := client.DeleteThingShadowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoTDataPlane) DeleteThingShadowRequest(input *DeleteThingShadowInput) (req *request.Request, output *DeleteThingShadowOutput) { op := &request.Operation{ Name: opDeleteThingShadow, @@ -70,30 +69,30 @@ func (c *IoTDataPlane) DeleteThingShadowRequest(input *DeleteThingShadowInput) ( // API operation DeleteThingShadow for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * MethodNotAllowedException -// The specified combination of HTTP verb and URI is not supported. +// - InternalFailureException +// An unexpected error has occurred. // -// * UnsupportedDocumentEncodingException -// The document encoding is not supported. +// - MethodNotAllowedException +// The specified combination of HTTP verb and URI is not supported. // +// - UnsupportedDocumentEncodingException +// The document encoding is not supported. func (c *IoTDataPlane) DeleteThingShadow(input *DeleteThingShadowInput) (*DeleteThingShadowOutput, error) { req, out := c.DeleteThingShadowRequest(input) return out, req.Send() @@ -131,14 +130,13 @@ const opGetRetainedMessage = "GetRetainedMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRetainedMessageRequest method. +// req, resp := client.GetRetainedMessageRequest(params) // -// // Example sending a request using the GetRetainedMessageRequest method. -// req, resp := client.GetRetainedMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoTDataPlane) GetRetainedMessageRequest(input *GetRetainedMessageInput) (req *request.Request, output *GetRetainedMessageOutput) { op := &request.Operation{ Name: opGetRetainedMessage, @@ -177,27 +175,27 @@ func (c *IoTDataPlane) GetRetainedMessageRequest(input *GetRetainedMessageInput) // API operation GetRetainedMessage for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * MethodNotAllowedException -// The specified combination of HTTP verb and URI is not supported. +// - InternalFailureException +// An unexpected error has occurred. // +// - MethodNotAllowedException +// The specified combination of HTTP verb and URI is not supported. func (c *IoTDataPlane) GetRetainedMessage(input *GetRetainedMessageInput) (*GetRetainedMessageOutput, error) { req, out := c.GetRetainedMessageRequest(input) return out, req.Send() @@ -235,14 +233,13 @@ const opGetThingShadow = "GetThingShadow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetThingShadowRequest method. +// req, resp := client.GetThingShadowRequest(params) // -// // Example sending a request using the GetThingShadowRequest method. -// req, resp := client.GetThingShadowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoTDataPlane) GetThingShadowRequest(input *GetThingShadowInput) (req *request.Request, output *GetThingShadowOutput) { op := &request.Operation{ Name: opGetThingShadow, @@ -277,30 +274,30 @@ func (c *IoTDataPlane) GetThingShadowRequest(input *GetThingShadowInput) (req *r // API operation GetThingShadow for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * MethodNotAllowedException -// The specified combination of HTTP verb and URI is not supported. +// - InternalFailureException +// An unexpected error has occurred. // -// * UnsupportedDocumentEncodingException -// The document encoding is not supported. +// - MethodNotAllowedException +// The specified combination of HTTP verb and URI is not supported. // +// - UnsupportedDocumentEncodingException +// The document encoding is not supported. func (c *IoTDataPlane) GetThingShadow(input *GetThingShadowInput) (*GetThingShadowOutput, error) { req, out := c.GetThingShadowRequest(input) return out, req.Send() @@ -338,14 +335,13 @@ const opListNamedShadowsForThing = "ListNamedShadowsForThing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNamedShadowsForThingRequest method. +// req, resp := client.ListNamedShadowsForThingRequest(params) // -// // Example sending a request using the ListNamedShadowsForThingRequest method. -// req, resp := client.ListNamedShadowsForThingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoTDataPlane) ListNamedShadowsForThingRequest(input *ListNamedShadowsForThingInput) (req *request.Request, output *ListNamedShadowsForThingOutput) { op := &request.Operation{ Name: opListNamedShadowsForThing, @@ -377,27 +373,27 @@ func (c *IoTDataPlane) ListNamedShadowsForThingRequest(input *ListNamedShadowsFo // API operation ListNamedShadowsForThing for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidRequestException -// The request is not valid. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * MethodNotAllowedException -// The specified combination of HTTP verb and URI is not supported. +// - InternalFailureException +// An unexpected error has occurred. // +// - MethodNotAllowedException +// The specified combination of HTTP verb and URI is not supported. func (c *IoTDataPlane) ListNamedShadowsForThing(input *ListNamedShadowsForThingInput) (*ListNamedShadowsForThingOutput, error) { req, out := c.ListNamedShadowsForThingRequest(input) return out, req.Send() @@ -435,14 +431,13 @@ const opListRetainedMessages = "ListRetainedMessages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRetainedMessagesRequest method. +// req, resp := client.ListRetainedMessagesRequest(params) // -// // Example sending a request using the ListRetainedMessagesRequest method. -// req, resp := client.ListRetainedMessagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoTDataPlane) ListRetainedMessagesRequest(input *ListRetainedMessagesInput) (req *request.Request, output *ListRetainedMessagesOutput) { op := &request.Operation{ Name: opListRetainedMessages, @@ -491,24 +486,24 @@ func (c *IoTDataPlane) ListRetainedMessagesRequest(input *ListRetainedMessagesIn // API operation ListRetainedMessages for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * MethodNotAllowedException -// The specified combination of HTTP verb and URI is not supported. +// - InternalFailureException +// An unexpected error has occurred. // +// - MethodNotAllowedException +// The specified combination of HTTP verb and URI is not supported. func (c *IoTDataPlane) ListRetainedMessages(input *ListRetainedMessagesInput) (*ListRetainedMessagesOutput, error) { req, out := c.ListRetainedMessagesRequest(input) return out, req.Send() @@ -538,15 +533,14 @@ func (c *IoTDataPlane) ListRetainedMessagesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRetainedMessages operation. -// pageNum := 0 -// err := client.ListRetainedMessagesPages(params, -// func(page *iotdataplane.ListRetainedMessagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRetainedMessages operation. +// pageNum := 0 +// err := client.ListRetainedMessagesPages(params, +// func(page *iotdataplane.ListRetainedMessagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTDataPlane) ListRetainedMessagesPages(input *ListRetainedMessagesInput, fn func(*ListRetainedMessagesOutput, bool) bool) error { return c.ListRetainedMessagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -598,14 +592,13 @@ const opPublish = "Publish" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PublishRequest method. +// req, resp := client.PublishRequest(params) // -// // Example sending a request using the PublishRequest method. -// req, resp := client.PublishRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoTDataPlane) PublishRequest(input *PublishInput) (req *request.Request, output *PublishOutput) { op := &request.Operation{ Name: opPublish, @@ -644,18 +637,18 @@ func (c *IoTDataPlane) PublishRequest(input *PublishInput) (req *request.Request // API operation Publish for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - InvalidRequestException +// The request is not valid. // -// * MethodNotAllowedException -// The specified combination of HTTP verb and URI is not supported. +// - UnauthorizedException +// You are not authorized to perform this operation. // +// - MethodNotAllowedException +// The specified combination of HTTP verb and URI is not supported. func (c *IoTDataPlane) Publish(input *PublishInput) (*PublishOutput, error) { req, out := c.PublishRequest(input) return out, req.Send() @@ -693,14 +686,13 @@ const opUpdateThingShadow = "UpdateThingShadow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateThingShadowRequest method. +// req, resp := client.UpdateThingShadowRequest(params) // -// // Example sending a request using the UpdateThingShadowRequest method. -// req, resp := client.UpdateThingShadowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *IoTDataPlane) UpdateThingShadowRequest(input *UpdateThingShadowInput) (req *request.Request, output *UpdateThingShadowOutput) { op := &request.Operation{ Name: opUpdateThingShadow, @@ -735,33 +727,33 @@ func (c *IoTDataPlane) UpdateThingShadowRequest(input *UpdateThingShadowInput) ( // API operation UpdateThingShadow for usage and error information. // // Returned Error Types: -// * ConflictException -// The specified version does not match the version of the document. // -// * RequestEntityTooLargeException -// The payload exceeds the maximum size allowed. +// - ConflictException +// The specified version does not match the version of the document. // -// * InvalidRequestException -// The request is not valid. +// - RequestEntityTooLargeException +// The payload exceeds the maximum size allowed. // -// * ThrottlingException -// The rate exceeds the limit. +// - InvalidRequestException +// The request is not valid. // -// * UnauthorizedException -// You are not authorized to perform this operation. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this operation. // -// * InternalFailureException -// An unexpected error has occurred. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * MethodNotAllowedException -// The specified combination of HTTP verb and URI is not supported. +// - InternalFailureException +// An unexpected error has occurred. // -// * UnsupportedDocumentEncodingException -// The document encoding is not supported. +// - MethodNotAllowedException +// The specified combination of HTTP verb and URI is not supported. // +// - UnsupportedDocumentEncodingException +// The document encoding is not supported. func (c *IoTDataPlane) UpdateThingShadow(input *UpdateThingShadowInput) (*UpdateThingShadowOutput, error) { req, out := c.UpdateThingShadowRequest(input) return out, req.Send() diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/doc.go index 605e25ef8c68..251ee8bd6f7e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/doc.go @@ -20,7 +20,7 @@ // See iotdataplane package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/iotdataplane/ // -// Using the Client +// # Using the Client // // To contact AWS IoT Data Plane with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/iotdataplaneiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/iotdataplaneiface/interface.go index 5716767d154f..6f5243eb1f05 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/iotdataplaneiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/iotdataplaneiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT Data Plane. -// func myFunc(svc iotdataplaneiface.IoTDataPlaneAPI) bool { -// // Make svc.DeleteThingShadow request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT Data Plane. +// func myFunc(svc iotdataplaneiface.IoTDataPlaneAPI) bool { +// // Make svc.DeleteThingShadow request +// } // -// func main() { -// sess := session.New() -// svc := iotdataplane.New(sess) +// func main() { +// sess := session.New() +// svc := iotdataplane.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIoTDataPlaneClient struct { -// iotdataplaneiface.IoTDataPlaneAPI -// } -// func (m *mockIoTDataPlaneClient) DeleteThingShadow(input *iotdataplane.DeleteThingShadowInput) (*iotdataplane.DeleteThingShadowOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIoTDataPlaneClient struct { +// iotdataplaneiface.IoTDataPlaneAPI +// } +// func (m *mockIoTDataPlaneClient) DeleteThingShadow(input *iotdataplane.DeleteThingShadowInput) (*iotdataplane.DeleteThingShadowOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIoTDataPlaneClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIoTDataPlaneClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/service.go index 6a566536c2b3..9a5637374679 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdataplane/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IoTDataPlane client from just a session. -// svc := iotdataplane.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IoTDataPlane client with additional configuration -// svc := iotdataplane.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IoTDataPlane client from just a session. +// svc := iotdataplane.New(mySession) +// +// // Create a IoTDataPlane client with additional configuration +// svc := iotdataplane.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoTDataPlane { var c client.Config if v, ok := p.(client.ConfigNoResolveEndpointProvider); ok { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/api.go index 6c0c3f5a3a5e..8c3f25a97403 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/api.go @@ -29,14 +29,13 @@ const opCreateSuiteDefinition = "CreateSuiteDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSuiteDefinitionRequest method. +// req, resp := client.CreateSuiteDefinitionRequest(params) // -// // Example sending a request using the CreateSuiteDefinitionRequest method. -// req, resp := client.CreateSuiteDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/CreateSuiteDefinition func (c *IoTDeviceAdvisor) CreateSuiteDefinitionRequest(input *CreateSuiteDefinitionInput) (req *request.Request, output *CreateSuiteDefinitionOutput) { @@ -70,11 +69,12 @@ func (c *IoTDeviceAdvisor) CreateSuiteDefinitionRequest(input *CreateSuiteDefini // API operation CreateSuiteDefinition for usage and error information. // // Returned Error Types: -// * ValidationException -// Sends a validation exception. // -// * InternalServerException -// Sends an Internal Failure exception. +// - ValidationException +// Sends a validation exception. +// +// - InternalServerException +// Sends an Internal Failure exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/CreateSuiteDefinition func (c *IoTDeviceAdvisor) CreateSuiteDefinition(input *CreateSuiteDefinitionInput) (*CreateSuiteDefinitionOutput, error) { @@ -114,14 +114,13 @@ const opDeleteSuiteDefinition = "DeleteSuiteDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSuiteDefinitionRequest method. +// req, resp := client.DeleteSuiteDefinitionRequest(params) // -// // Example sending a request using the DeleteSuiteDefinitionRequest method. -// req, resp := client.DeleteSuiteDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/DeleteSuiteDefinition func (c *IoTDeviceAdvisor) DeleteSuiteDefinitionRequest(input *DeleteSuiteDefinitionInput) (req *request.Request, output *DeleteSuiteDefinitionOutput) { @@ -156,11 +155,12 @@ func (c *IoTDeviceAdvisor) DeleteSuiteDefinitionRequest(input *DeleteSuiteDefini // API operation DeleteSuiteDefinition for usage and error information. // // Returned Error Types: -// * ValidationException -// Sends a validation exception. // -// * InternalServerException -// Sends an Internal Failure exception. +// - ValidationException +// Sends a validation exception. +// +// - InternalServerException +// Sends an Internal Failure exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/DeleteSuiteDefinition func (c *IoTDeviceAdvisor) DeleteSuiteDefinition(input *DeleteSuiteDefinitionInput) (*DeleteSuiteDefinitionOutput, error) { @@ -200,14 +200,13 @@ const opGetEndpoint = "GetEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEndpointRequest method. +// req, resp := client.GetEndpointRequest(params) // -// // Example sending a request using the GetEndpointRequest method. -// req, resp := client.GetEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/GetEndpoint func (c *IoTDeviceAdvisor) GetEndpointRequest(input *GetEndpointInput) (req *request.Request, output *GetEndpointOutput) { @@ -238,14 +237,15 @@ func (c *IoTDeviceAdvisor) GetEndpointRequest(input *GetEndpointInput) (req *req // API operation GetEndpoint for usage and error information. // // Returned Error Types: -// * ValidationException -// Sends a validation exception. // -// * InternalServerException -// Sends an Internal Failure exception. +// - ValidationException +// Sends a validation exception. +// +// - InternalServerException +// Sends an Internal Failure exception. // -// * ResourceNotFoundException -// Sends a Resource Not Found exception. +// - ResourceNotFoundException +// Sends a Resource Not Found exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/GetEndpoint func (c *IoTDeviceAdvisor) GetEndpoint(input *GetEndpointInput) (*GetEndpointOutput, error) { @@ -285,14 +285,13 @@ const opGetSuiteDefinition = "GetSuiteDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSuiteDefinitionRequest method. +// req, resp := client.GetSuiteDefinitionRequest(params) // -// // Example sending a request using the GetSuiteDefinitionRequest method. -// req, resp := client.GetSuiteDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/GetSuiteDefinition func (c *IoTDeviceAdvisor) GetSuiteDefinitionRequest(input *GetSuiteDefinitionInput) (req *request.Request, output *GetSuiteDefinitionOutput) { @@ -326,14 +325,15 @@ func (c *IoTDeviceAdvisor) GetSuiteDefinitionRequest(input *GetSuiteDefinitionIn // API operation GetSuiteDefinition for usage and error information. // // Returned Error Types: -// * ValidationException -// Sends a validation exception. // -// * InternalServerException -// Sends an Internal Failure exception. +// - ValidationException +// Sends a validation exception. +// +// - InternalServerException +// Sends an Internal Failure exception. // -// * ResourceNotFoundException -// Sends a Resource Not Found exception. +// - ResourceNotFoundException +// Sends a Resource Not Found exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/GetSuiteDefinition func (c *IoTDeviceAdvisor) GetSuiteDefinition(input *GetSuiteDefinitionInput) (*GetSuiteDefinitionOutput, error) { @@ -373,14 +373,13 @@ const opGetSuiteRun = "GetSuiteRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSuiteRunRequest method. +// req, resp := client.GetSuiteRunRequest(params) // -// // Example sending a request using the GetSuiteRunRequest method. -// req, resp := client.GetSuiteRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/GetSuiteRun func (c *IoTDeviceAdvisor) GetSuiteRunRequest(input *GetSuiteRunInput) (req *request.Request, output *GetSuiteRunOutput) { @@ -414,14 +413,15 @@ func (c *IoTDeviceAdvisor) GetSuiteRunRequest(input *GetSuiteRunInput) (req *req // API operation GetSuiteRun for usage and error information. // // Returned Error Types: -// * ValidationException -// Sends a validation exception. // -// * InternalServerException -// Sends an Internal Failure exception. +// - ValidationException +// Sends a validation exception. +// +// - InternalServerException +// Sends an Internal Failure exception. // -// * ResourceNotFoundException -// Sends a Resource Not Found exception. +// - ResourceNotFoundException +// Sends a Resource Not Found exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/GetSuiteRun func (c *IoTDeviceAdvisor) GetSuiteRun(input *GetSuiteRunInput) (*GetSuiteRunOutput, error) { @@ -461,14 +461,13 @@ const opGetSuiteRunReport = "GetSuiteRunReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSuiteRunReportRequest method. +// req, resp := client.GetSuiteRunReportRequest(params) // -// // Example sending a request using the GetSuiteRunReportRequest method. -// req, resp := client.GetSuiteRunReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/GetSuiteRunReport func (c *IoTDeviceAdvisor) GetSuiteRunReportRequest(input *GetSuiteRunReportInput) (req *request.Request, output *GetSuiteRunReportOutput) { @@ -503,14 +502,15 @@ func (c *IoTDeviceAdvisor) GetSuiteRunReportRequest(input *GetSuiteRunReportInpu // API operation GetSuiteRunReport for usage and error information. // // Returned Error Types: -// * ValidationException -// Sends a validation exception. // -// * InternalServerException -// Sends an Internal Failure exception. +// - ValidationException +// Sends a validation exception. +// +// - InternalServerException +// Sends an Internal Failure exception. // -// * ResourceNotFoundException -// Sends a Resource Not Found exception. +// - ResourceNotFoundException +// Sends a Resource Not Found exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/GetSuiteRunReport func (c *IoTDeviceAdvisor) GetSuiteRunReport(input *GetSuiteRunReportInput) (*GetSuiteRunReportOutput, error) { @@ -550,14 +550,13 @@ const opListSuiteDefinitions = "ListSuiteDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSuiteDefinitionsRequest method. +// req, resp := client.ListSuiteDefinitionsRequest(params) // -// // Example sending a request using the ListSuiteDefinitionsRequest method. -// req, resp := client.ListSuiteDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/ListSuiteDefinitions func (c *IoTDeviceAdvisor) ListSuiteDefinitionsRequest(input *ListSuiteDefinitionsInput) (req *request.Request, output *ListSuiteDefinitionsOutput) { @@ -597,11 +596,12 @@ func (c *IoTDeviceAdvisor) ListSuiteDefinitionsRequest(input *ListSuiteDefinitio // API operation ListSuiteDefinitions for usage and error information. // // Returned Error Types: -// * ValidationException -// Sends a validation exception. // -// * InternalServerException -// Sends an Internal Failure exception. +// - ValidationException +// Sends a validation exception. +// +// - InternalServerException +// Sends an Internal Failure exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/ListSuiteDefinitions func (c *IoTDeviceAdvisor) ListSuiteDefinitions(input *ListSuiteDefinitionsInput) (*ListSuiteDefinitionsOutput, error) { @@ -633,15 +633,14 @@ func (c *IoTDeviceAdvisor) ListSuiteDefinitionsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSuiteDefinitions operation. -// pageNum := 0 -// err := client.ListSuiteDefinitionsPages(params, -// func(page *iotdeviceadvisor.ListSuiteDefinitionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSuiteDefinitions operation. +// pageNum := 0 +// err := client.ListSuiteDefinitionsPages(params, +// func(page *iotdeviceadvisor.ListSuiteDefinitionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTDeviceAdvisor) ListSuiteDefinitionsPages(input *ListSuiteDefinitionsInput, fn func(*ListSuiteDefinitionsOutput, bool) bool) error { return c.ListSuiteDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -693,14 +692,13 @@ const opListSuiteRuns = "ListSuiteRuns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSuiteRunsRequest method. +// req, resp := client.ListSuiteRunsRequest(params) // -// // Example sending a request using the ListSuiteRunsRequest method. -// req, resp := client.ListSuiteRunsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/ListSuiteRuns func (c *IoTDeviceAdvisor) ListSuiteRunsRequest(input *ListSuiteRunsInput) (req *request.Request, output *ListSuiteRunsOutput) { @@ -741,11 +739,12 @@ func (c *IoTDeviceAdvisor) ListSuiteRunsRequest(input *ListSuiteRunsInput) (req // API operation ListSuiteRuns for usage and error information. // // Returned Error Types: -// * ValidationException -// Sends a validation exception. // -// * InternalServerException -// Sends an Internal Failure exception. +// - ValidationException +// Sends a validation exception. +// +// - InternalServerException +// Sends an Internal Failure exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/ListSuiteRuns func (c *IoTDeviceAdvisor) ListSuiteRuns(input *ListSuiteRunsInput) (*ListSuiteRunsOutput, error) { @@ -777,15 +776,14 @@ func (c *IoTDeviceAdvisor) ListSuiteRunsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSuiteRuns operation. -// pageNum := 0 -// err := client.ListSuiteRunsPages(params, -// func(page *iotdeviceadvisor.ListSuiteRunsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSuiteRuns operation. +// pageNum := 0 +// err := client.ListSuiteRunsPages(params, +// func(page *iotdeviceadvisor.ListSuiteRunsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTDeviceAdvisor) ListSuiteRunsPages(input *ListSuiteRunsInput, fn func(*ListSuiteRunsOutput, bool) bool) error { return c.ListSuiteRunsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -837,14 +835,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/ListTagsForResource func (c *IoTDeviceAdvisor) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -878,14 +875,15 @@ func (c *IoTDeviceAdvisor) ListTagsForResourceRequest(input *ListTagsForResource // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// Sends an Internal Failure exception. // -// * ValidationException -// Sends a validation exception. +// - InternalServerException +// Sends an Internal Failure exception. // -// * ResourceNotFoundException -// Sends a Resource Not Found exception. +// - ValidationException +// Sends a validation exception. +// +// - ResourceNotFoundException +// Sends a Resource Not Found exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/ListTagsForResource func (c *IoTDeviceAdvisor) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -925,14 +923,13 @@ const opStartSuiteRun = "StartSuiteRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartSuiteRunRequest method. +// req, resp := client.StartSuiteRunRequest(params) // -// // Example sending a request using the StartSuiteRunRequest method. -// req, resp := client.StartSuiteRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/StartSuiteRun func (c *IoTDeviceAdvisor) StartSuiteRunRequest(input *StartSuiteRunInput) (req *request.Request, output *StartSuiteRunOutput) { @@ -966,14 +963,15 @@ func (c *IoTDeviceAdvisor) StartSuiteRunRequest(input *StartSuiteRunInput) (req // API operation StartSuiteRun for usage and error information. // // Returned Error Types: -// * ValidationException -// Sends a validation exception. // -// * InternalServerException -// Sends an Internal Failure exception. +// - ValidationException +// Sends a validation exception. // -// * ConflictException -// Sends a Conflict Exception. +// - InternalServerException +// Sends an Internal Failure exception. +// +// - ConflictException +// Sends a Conflict Exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/StartSuiteRun func (c *IoTDeviceAdvisor) StartSuiteRun(input *StartSuiteRunInput) (*StartSuiteRunOutput, error) { @@ -1013,14 +1011,13 @@ const opStopSuiteRun = "StopSuiteRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopSuiteRunRequest method. +// req, resp := client.StopSuiteRunRequest(params) // -// // Example sending a request using the StopSuiteRunRequest method. -// req, resp := client.StopSuiteRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/StopSuiteRun func (c *IoTDeviceAdvisor) StopSuiteRunRequest(input *StopSuiteRunInput) (req *request.Request, output *StopSuiteRunOutput) { @@ -1055,14 +1052,15 @@ func (c *IoTDeviceAdvisor) StopSuiteRunRequest(input *StopSuiteRunInput) (req *r // API operation StopSuiteRun for usage and error information. // // Returned Error Types: -// * ValidationException -// Sends a validation exception. // -// * ResourceNotFoundException -// Sends a Resource Not Found exception. +// - ValidationException +// Sends a validation exception. // -// * InternalServerException -// Sends an Internal Failure exception. +// - ResourceNotFoundException +// Sends a Resource Not Found exception. +// +// - InternalServerException +// Sends an Internal Failure exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/StopSuiteRun func (c *IoTDeviceAdvisor) StopSuiteRun(input *StopSuiteRunInput) (*StopSuiteRunOutput, error) { @@ -1102,14 +1100,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/TagResource func (c *IoTDeviceAdvisor) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1144,14 +1141,15 @@ func (c *IoTDeviceAdvisor) TagResourceRequest(input *TagResourceInput) (req *req // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// Sends an Internal Failure exception. // -// * ValidationException -// Sends a validation exception. +// - InternalServerException +// Sends an Internal Failure exception. // -// * ResourceNotFoundException -// Sends a Resource Not Found exception. +// - ValidationException +// Sends a validation exception. +// +// - ResourceNotFoundException +// Sends a Resource Not Found exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/TagResource func (c *IoTDeviceAdvisor) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1191,14 +1189,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/UntagResource func (c *IoTDeviceAdvisor) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1233,14 +1230,15 @@ func (c *IoTDeviceAdvisor) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// Sends an Internal Failure exception. // -// * ValidationException -// Sends a validation exception. +// - InternalServerException +// Sends an Internal Failure exception. // -// * ResourceNotFoundException -// Sends a Resource Not Found exception. +// - ValidationException +// Sends a validation exception. +// +// - ResourceNotFoundException +// Sends a Resource Not Found exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/UntagResource func (c *IoTDeviceAdvisor) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1280,14 +1278,13 @@ const opUpdateSuiteDefinition = "UpdateSuiteDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSuiteDefinitionRequest method. +// req, resp := client.UpdateSuiteDefinitionRequest(params) // -// // Example sending a request using the UpdateSuiteDefinitionRequest method. -// req, resp := client.UpdateSuiteDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/UpdateSuiteDefinition func (c *IoTDeviceAdvisor) UpdateSuiteDefinitionRequest(input *UpdateSuiteDefinitionInput) (req *request.Request, output *UpdateSuiteDefinitionOutput) { @@ -1321,11 +1318,12 @@ func (c *IoTDeviceAdvisor) UpdateSuiteDefinitionRequest(input *UpdateSuiteDefini // API operation UpdateSuiteDefinition for usage and error information. // // Returned Error Types: -// * ValidationException -// Sends a validation exception. // -// * InternalServerException -// Sends an Internal Failure exception. +// - ValidationException +// Sends a validation exception. +// +// - InternalServerException +// Sends an Internal Failure exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotdeviceadvisor-2020-09-18/UpdateSuiteDefinition func (c *IoTDeviceAdvisor) UpdateSuiteDefinition(input *UpdateSuiteDefinitionInput) (*UpdateSuiteDefinitionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/doc.go index f905f33b4452..7aa58602b66b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/doc.go @@ -20,7 +20,7 @@ // See iotdeviceadvisor package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/iotdeviceadvisor/ // -// Using the Client +// # Using the Client // // To contact AWS IoT Core Device Advisor with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/iotdeviceadvisoriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/iotdeviceadvisoriface/interface.go index c89f02a46beb..2099e424eba8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/iotdeviceadvisoriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/iotdeviceadvisoriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT Core Device Advisor. -// func myFunc(svc iotdeviceadvisoriface.IoTDeviceAdvisorAPI) bool { -// // Make svc.CreateSuiteDefinition request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT Core Device Advisor. +// func myFunc(svc iotdeviceadvisoriface.IoTDeviceAdvisorAPI) bool { +// // Make svc.CreateSuiteDefinition request +// } // -// func main() { -// sess := session.New() -// svc := iotdeviceadvisor.New(sess) +// func main() { +// sess := session.New() +// svc := iotdeviceadvisor.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIoTDeviceAdvisorClient struct { -// iotdeviceadvisoriface.IoTDeviceAdvisorAPI -// } -// func (m *mockIoTDeviceAdvisorClient) CreateSuiteDefinition(input *iotdeviceadvisor.CreateSuiteDefinitionInput) (*iotdeviceadvisor.CreateSuiteDefinitionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIoTDeviceAdvisorClient struct { +// iotdeviceadvisoriface.IoTDeviceAdvisorAPI +// } +// func (m *mockIoTDeviceAdvisorClient) CreateSuiteDefinition(input *iotdeviceadvisor.CreateSuiteDefinitionInput) (*iotdeviceadvisor.CreateSuiteDefinitionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIoTDeviceAdvisorClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIoTDeviceAdvisorClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/service.go index b36a88415f58..f579d56eca8a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotdeviceadvisor/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IoTDeviceAdvisor client from just a session. -// svc := iotdeviceadvisor.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IoTDeviceAdvisor client with additional configuration -// svc := iotdeviceadvisor.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IoTDeviceAdvisor client from just a session. +// svc := iotdeviceadvisor.New(mySession) +// +// // Create a IoTDeviceAdvisor client with additional configuration +// svc := iotdeviceadvisor.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoTDeviceAdvisor { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/api.go index c10a56a6f51f..53f31706a462 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/api.go @@ -29,14 +29,13 @@ const opCreateAlarmModel = "CreateAlarmModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAlarmModelRequest method. +// req, resp := client.CreateAlarmModelRequest(params) // -// // Example sending a request using the CreateAlarmModelRequest method. -// req, resp := client.CreateAlarmModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/CreateAlarmModel func (c *IoTEvents) CreateAlarmModelRequest(input *CreateAlarmModelInput) (req *request.Request, output *CreateAlarmModelOutput) { @@ -70,26 +69,27 @@ func (c *IoTEvents) CreateAlarmModelRequest(input *CreateAlarmModelInput) (req * // API operation CreateAlarmModel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceInUseException -// The resource is in use. +// - InvalidRequestException +// The request was invalid. +// +// - ResourceInUseException +// The resource is in use. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/CreateAlarmModel func (c *IoTEvents) CreateAlarmModel(input *CreateAlarmModelInput) (*CreateAlarmModelOutput, error) { @@ -129,14 +129,13 @@ const opCreateDetectorModel = "CreateDetectorModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDetectorModelRequest method. +// req, resp := client.CreateDetectorModelRequest(params) // -// // Example sending a request using the CreateDetectorModelRequest method. -// req, resp := client.CreateDetectorModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/CreateDetectorModel func (c *IoTEvents) CreateDetectorModelRequest(input *CreateDetectorModelInput) (req *request.Request, output *CreateDetectorModelOutput) { @@ -167,26 +166,27 @@ func (c *IoTEvents) CreateDetectorModelRequest(input *CreateDetectorModelInput) // API operation CreateDetectorModel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceInUseException -// The resource is in use. +// - InvalidRequestException +// The request was invalid. +// +// - ResourceInUseException +// The resource is in use. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * LimitExceededException -// A limit was exceeded. +// - LimitExceededException +// A limit was exceeded. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/CreateDetectorModel func (c *IoTEvents) CreateDetectorModel(input *CreateDetectorModelInput) (*CreateDetectorModelOutput, error) { @@ -226,14 +226,13 @@ const opCreateInput = "CreateInput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInputRequest method. +// req, resp := client.CreateInputRequest(params) // -// // Example sending a request using the CreateInputRequest method. -// req, resp := client.CreateInputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/CreateInput func (c *IoTEvents) CreateInputRequest(input *CreateInputInput) (req *request.Request, output *CreateInputOutput) { @@ -264,20 +263,21 @@ func (c *IoTEvents) CreateInputRequest(input *CreateInputInput) (req *request.Re // API operation CreateInput for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - InvalidRequestException +// The request was invalid. +// +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - ResourceAlreadyExistsException +// The resource already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/CreateInput func (c *IoTEvents) CreateInput(input *CreateInputInput) (*CreateInputOutput, error) { @@ -317,14 +317,13 @@ const opDeleteAlarmModel = "DeleteAlarmModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAlarmModelRequest method. +// req, resp := client.DeleteAlarmModelRequest(params) // -// // Example sending a request using the DeleteAlarmModelRequest method. -// req, resp := client.DeleteAlarmModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DeleteAlarmModel func (c *IoTEvents) DeleteAlarmModelRequest(input *DeleteAlarmModelInput) (req *request.Request, output *DeleteAlarmModelOutput) { @@ -357,23 +356,24 @@ func (c *IoTEvents) DeleteAlarmModelRequest(input *DeleteAlarmModelInput) (req * // API operation DeleteAlarmModel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceInUseException -// The resource is in use. +// - InvalidRequestException +// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - ResourceInUseException +// The resource is in use. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ResourceNotFoundException +// The resource was not found. // -// * InternalFailureException -// An internal failure occurred. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DeleteAlarmModel func (c *IoTEvents) DeleteAlarmModel(input *DeleteAlarmModelInput) (*DeleteAlarmModelOutput, error) { @@ -413,14 +413,13 @@ const opDeleteDetectorModel = "DeleteDetectorModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDetectorModelRequest method. +// req, resp := client.DeleteDetectorModelRequest(params) // -// // Example sending a request using the DeleteDetectorModelRequest method. -// req, resp := client.DeleteDetectorModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DeleteDetectorModel func (c *IoTEvents) DeleteDetectorModelRequest(input *DeleteDetectorModelInput) (req *request.Request, output *DeleteDetectorModelOutput) { @@ -453,23 +452,24 @@ func (c *IoTEvents) DeleteDetectorModelRequest(input *DeleteDetectorModelInput) // API operation DeleteDetectorModel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceInUseException -// The resource is in use. +// - InvalidRequestException +// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - ResourceInUseException +// The resource is in use. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ResourceNotFoundException +// The resource was not found. // -// * InternalFailureException -// An internal failure occurred. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DeleteDetectorModel func (c *IoTEvents) DeleteDetectorModel(input *DeleteDetectorModelInput) (*DeleteDetectorModelOutput, error) { @@ -509,14 +509,13 @@ const opDeleteInput = "DeleteInput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInputRequest method. +// req, resp := client.DeleteInputRequest(params) // -// // Example sending a request using the DeleteInputRequest method. -// req, resp := client.DeleteInputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DeleteInput func (c *IoTEvents) DeleteInputRequest(input *DeleteInputInput) (req *request.Request, output *DeleteInputOutput) { @@ -548,23 +547,24 @@ func (c *IoTEvents) DeleteInputRequest(input *DeleteInputInput) (req *request.Re // API operation DeleteInput for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - InvalidRequestException +// The request was invalid. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ResourceNotFoundException +// The resource was not found. // -// * InternalFailureException -// An internal failure occurred. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceInUseException -// The resource is in use. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ResourceInUseException +// The resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DeleteInput func (c *IoTEvents) DeleteInput(input *DeleteInputInput) (*DeleteInputOutput, error) { @@ -604,14 +604,13 @@ const opDescribeAlarmModel = "DescribeAlarmModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAlarmModelRequest method. +// req, resp := client.DescribeAlarmModelRequest(params) // -// // Example sending a request using the DescribeAlarmModelRequest method. -// req, resp := client.DescribeAlarmModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeAlarmModel func (c *IoTEvents) DescribeAlarmModelRequest(input *DescribeAlarmModelInput) (req *request.Request, output *DescribeAlarmModelOutput) { @@ -643,20 +642,21 @@ func (c *IoTEvents) DescribeAlarmModelRequest(input *DescribeAlarmModelInput) (r // API operation DescribeAlarmModel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - InvalidRequestException +// The request was invalid. +// +// - ResourceNotFoundException +// The resource was not found. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeAlarmModel func (c *IoTEvents) DescribeAlarmModel(input *DescribeAlarmModelInput) (*DescribeAlarmModelOutput, error) { @@ -696,14 +696,13 @@ const opDescribeDetectorModel = "DescribeDetectorModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDetectorModelRequest method. +// req, resp := client.DescribeDetectorModelRequest(params) // -// // Example sending a request using the DescribeDetectorModelRequest method. -// req, resp := client.DescribeDetectorModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeDetectorModel func (c *IoTEvents) DescribeDetectorModelRequest(input *DescribeDetectorModelInput) (req *request.Request, output *DescribeDetectorModelOutput) { @@ -735,20 +734,21 @@ func (c *IoTEvents) DescribeDetectorModelRequest(input *DescribeDetectorModelInp // API operation DescribeDetectorModel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - InvalidRequestException +// The request was invalid. +// +// - ResourceNotFoundException +// The resource was not found. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeDetectorModel func (c *IoTEvents) DescribeDetectorModel(input *DescribeDetectorModelInput) (*DescribeDetectorModelOutput, error) { @@ -788,14 +788,13 @@ const opDescribeDetectorModelAnalysis = "DescribeDetectorModelAnalysis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDetectorModelAnalysisRequest method. +// req, resp := client.DescribeDetectorModelAnalysisRequest(params) // -// // Example sending a request using the DescribeDetectorModelAnalysisRequest method. -// req, resp := client.DescribeDetectorModelAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeDetectorModelAnalysis func (c *IoTEvents) DescribeDetectorModelAnalysisRequest(input *DescribeDetectorModelAnalysisInput) (req *request.Request, output *DescribeDetectorModelAnalysisOutput) { @@ -829,20 +828,21 @@ func (c *IoTEvents) DescribeDetectorModelAnalysisRequest(input *DescribeDetector // API operation DescribeDetectorModelAnalysis for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - InvalidRequestException +// The request was invalid. +// +// - ResourceNotFoundException +// The resource was not found. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeDetectorModelAnalysis func (c *IoTEvents) DescribeDetectorModelAnalysis(input *DescribeDetectorModelAnalysisInput) (*DescribeDetectorModelAnalysisOutput, error) { @@ -882,14 +882,13 @@ const opDescribeInput = "DescribeInput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInputRequest method. +// req, resp := client.DescribeInputRequest(params) // -// // Example sending a request using the DescribeInputRequest method. -// req, resp := client.DescribeInputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeInput func (c *IoTEvents) DescribeInputRequest(input *DescribeInputInput) (req *request.Request, output *DescribeInputOutput) { @@ -920,20 +919,21 @@ func (c *IoTEvents) DescribeInputRequest(input *DescribeInputInput) (req *reques // API operation DescribeInput for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - InvalidRequestException +// The request was invalid. +// +// - ResourceNotFoundException +// The resource was not found. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeInput func (c *IoTEvents) DescribeInput(input *DescribeInputInput) (*DescribeInputOutput, error) { @@ -973,14 +973,13 @@ const opDescribeLoggingOptions = "DescribeLoggingOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLoggingOptionsRequest method. +// req, resp := client.DescribeLoggingOptionsRequest(params) // -// // Example sending a request using the DescribeLoggingOptionsRequest method. -// req, resp := client.DescribeLoggingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeLoggingOptions func (c *IoTEvents) DescribeLoggingOptionsRequest(input *DescribeLoggingOptionsInput) (req *request.Request, output *DescribeLoggingOptionsOutput) { @@ -1011,23 +1010,24 @@ func (c *IoTEvents) DescribeLoggingOptionsRequest(input *DescribeLoggingOptionsI // API operation DescribeLoggingOptions for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - InvalidRequestException +// The request was invalid. // -// * InternalFailureException -// An internal failure occurred. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * ResourceNotFoundException -// The resource was not found. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ResourceNotFoundException +// The resource was not found. // -// * UnsupportedOperationException -// The requested operation is not supported. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - UnsupportedOperationException +// The requested operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/DescribeLoggingOptions func (c *IoTEvents) DescribeLoggingOptions(input *DescribeLoggingOptionsInput) (*DescribeLoggingOptionsOutput, error) { @@ -1067,14 +1067,13 @@ const opGetDetectorModelAnalysisResults = "GetDetectorModelAnalysisResults" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDetectorModelAnalysisResultsRequest method. +// req, resp := client.GetDetectorModelAnalysisResultsRequest(params) // -// // Example sending a request using the GetDetectorModelAnalysisResultsRequest method. -// req, resp := client.GetDetectorModelAnalysisResultsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/GetDetectorModelAnalysisResults func (c *IoTEvents) GetDetectorModelAnalysisResultsRequest(input *GetDetectorModelAnalysisResultsInput) (req *request.Request, output *GetDetectorModelAnalysisResultsOutput) { @@ -1108,20 +1107,21 @@ func (c *IoTEvents) GetDetectorModelAnalysisResultsRequest(input *GetDetectorMod // API operation GetDetectorModelAnalysisResults for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - InvalidRequestException +// The request was invalid. +// +// - ResourceNotFoundException +// The resource was not found. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/GetDetectorModelAnalysisResults func (c *IoTEvents) GetDetectorModelAnalysisResults(input *GetDetectorModelAnalysisResultsInput) (*GetDetectorModelAnalysisResultsOutput, error) { @@ -1161,14 +1161,13 @@ const opListAlarmModelVersions = "ListAlarmModelVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAlarmModelVersionsRequest method. +// req, resp := client.ListAlarmModelVersionsRequest(params) // -// // Example sending a request using the ListAlarmModelVersionsRequest method. -// req, resp := client.ListAlarmModelVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListAlarmModelVersions func (c *IoTEvents) ListAlarmModelVersionsRequest(input *ListAlarmModelVersionsInput) (req *request.Request, output *ListAlarmModelVersionsOutput) { @@ -1200,20 +1199,21 @@ func (c *IoTEvents) ListAlarmModelVersionsRequest(input *ListAlarmModelVersionsI // API operation ListAlarmModelVersions for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - InvalidRequestException +// The request was invalid. +// +// - ResourceNotFoundException +// The resource was not found. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListAlarmModelVersions func (c *IoTEvents) ListAlarmModelVersions(input *ListAlarmModelVersionsInput) (*ListAlarmModelVersionsOutput, error) { @@ -1253,14 +1253,13 @@ const opListAlarmModels = "ListAlarmModels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAlarmModelsRequest method. +// req, resp := client.ListAlarmModelsRequest(params) // -// // Example sending a request using the ListAlarmModelsRequest method. -// req, resp := client.ListAlarmModelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListAlarmModels func (c *IoTEvents) ListAlarmModelsRequest(input *ListAlarmModelsInput) (req *request.Request, output *ListAlarmModelsOutput) { @@ -1292,17 +1291,18 @@ func (c *IoTEvents) ListAlarmModelsRequest(input *ListAlarmModelsInput) (req *re // API operation ListAlarmModels for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - InvalidRequestException +// The request was invalid. // -// * InternalFailureException -// An internal failure occurred. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListAlarmModels func (c *IoTEvents) ListAlarmModels(input *ListAlarmModelsInput) (*ListAlarmModelsOutput, error) { @@ -1342,14 +1342,13 @@ const opListDetectorModelVersions = "ListDetectorModelVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDetectorModelVersionsRequest method. +// req, resp := client.ListDetectorModelVersionsRequest(params) // -// // Example sending a request using the ListDetectorModelVersionsRequest method. -// req, resp := client.ListDetectorModelVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListDetectorModelVersions func (c *IoTEvents) ListDetectorModelVersionsRequest(input *ListDetectorModelVersionsInput) (req *request.Request, output *ListDetectorModelVersionsOutput) { @@ -1381,20 +1380,21 @@ func (c *IoTEvents) ListDetectorModelVersionsRequest(input *ListDetectorModelVer // API operation ListDetectorModelVersions for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - InvalidRequestException +// The request was invalid. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ResourceNotFoundException +// The resource was not found. // -// * InternalFailureException -// An internal failure occurred. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListDetectorModelVersions func (c *IoTEvents) ListDetectorModelVersions(input *ListDetectorModelVersionsInput) (*ListDetectorModelVersionsOutput, error) { @@ -1434,14 +1434,13 @@ const opListDetectorModels = "ListDetectorModels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDetectorModelsRequest method. +// req, resp := client.ListDetectorModelsRequest(params) // -// // Example sending a request using the ListDetectorModelsRequest method. -// req, resp := client.ListDetectorModelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListDetectorModels func (c *IoTEvents) ListDetectorModelsRequest(input *ListDetectorModelsInput) (req *request.Request, output *ListDetectorModelsOutput) { @@ -1473,17 +1472,18 @@ func (c *IoTEvents) ListDetectorModelsRequest(input *ListDetectorModelsInput) (r // API operation ListDetectorModels for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - InvalidRequestException +// The request was invalid. // -// * InternalFailureException -// An internal failure occurred. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListDetectorModels func (c *IoTEvents) ListDetectorModels(input *ListDetectorModelsInput) (*ListDetectorModelsOutput, error) { @@ -1523,14 +1523,13 @@ const opListInputRoutings = "ListInputRoutings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInputRoutingsRequest method. +// req, resp := client.ListInputRoutingsRequest(params) // -// // Example sending a request using the ListInputRoutingsRequest method. -// req, resp := client.ListInputRoutingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListInputRoutings func (c *IoTEvents) ListInputRoutingsRequest(input *ListInputRoutingsInput) (req *request.Request, output *ListInputRoutingsOutput) { @@ -1561,20 +1560,21 @@ func (c *IoTEvents) ListInputRoutingsRequest(input *ListInputRoutingsInput) (req // API operation ListInputRoutings for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - InvalidRequestException +// The request was invalid. +// +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ResourceNotFoundException -// The resource was not found. +// - ResourceNotFoundException +// The resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListInputRoutings func (c *IoTEvents) ListInputRoutings(input *ListInputRoutingsInput) (*ListInputRoutingsOutput, error) { @@ -1614,14 +1614,13 @@ const opListInputs = "ListInputs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInputsRequest method. +// req, resp := client.ListInputsRequest(params) // -// // Example sending a request using the ListInputsRequest method. -// req, resp := client.ListInputsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListInputs func (c *IoTEvents) ListInputsRequest(input *ListInputsInput) (req *request.Request, output *ListInputsOutput) { @@ -1652,17 +1651,18 @@ func (c *IoTEvents) ListInputsRequest(input *ListInputsInput) (req *request.Requ // API operation ListInputs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - InvalidRequestException +// The request was invalid. +// +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListInputs func (c *IoTEvents) ListInputs(input *ListInputsInput) (*ListInputsOutput, error) { @@ -1702,14 +1702,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListTagsForResource func (c *IoTEvents) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1740,20 +1739,21 @@ func (c *IoTEvents) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - InvalidRequestException +// The request was invalid. +// +// - ResourceNotFoundException +// The resource was not found. // -// * ResourceInUseException -// The resource is in use. +// - ResourceInUseException +// The resource is in use. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/ListTagsForResource func (c *IoTEvents) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1793,14 +1793,13 @@ const opPutLoggingOptions = "PutLoggingOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutLoggingOptionsRequest method. +// req, resp := client.PutLoggingOptionsRequest(params) // -// // Example sending a request using the PutLoggingOptionsRequest method. -// req, resp := client.PutLoggingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/PutLoggingOptions func (c *IoTEvents) PutLoggingOptionsRequest(input *PutLoggingOptionsInput) (req *request.Request, output *PutLoggingOptionsOutput) { @@ -1837,23 +1836,24 @@ func (c *IoTEvents) PutLoggingOptionsRequest(input *PutLoggingOptionsInput) (req // API operation PutLoggingOptions for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - InvalidRequestException +// The request was invalid. +// +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * UnsupportedOperationException -// The requested operation is not supported. +// - UnsupportedOperationException +// The requested operation is not supported. // -// * ResourceInUseException -// The resource is in use. +// - ResourceInUseException +// The resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/PutLoggingOptions func (c *IoTEvents) PutLoggingOptions(input *PutLoggingOptionsInput) (*PutLoggingOptionsOutput, error) { @@ -1893,14 +1893,13 @@ const opStartDetectorModelAnalysis = "StartDetectorModelAnalysis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDetectorModelAnalysisRequest method. +// req, resp := client.StartDetectorModelAnalysisRequest(params) // -// // Example sending a request using the StartDetectorModelAnalysisRequest method. -// req, resp := client.StartDetectorModelAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/StartDetectorModelAnalysis func (c *IoTEvents) StartDetectorModelAnalysisRequest(input *StartDetectorModelAnalysisInput) (req *request.Request, output *StartDetectorModelAnalysisOutput) { @@ -1933,20 +1932,21 @@ func (c *IoTEvents) StartDetectorModelAnalysisRequest(input *StartDetectorModelA // API operation StartDetectorModelAnalysis for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * LimitExceededException -// A limit was exceeded. +// - InvalidRequestException +// The request was invalid. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - LimitExceededException +// A limit was exceeded. // -// * InternalFailureException -// An internal failure occurred. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/StartDetectorModelAnalysis func (c *IoTEvents) StartDetectorModelAnalysis(input *StartDetectorModelAnalysisInput) (*StartDetectorModelAnalysisOutput, error) { @@ -1986,14 +1986,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/TagResource func (c *IoTEvents) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2026,23 +2025,24 @@ func (c *IoTEvents) TagResourceRequest(input *TagResourceInput) (req *request.Re // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - InvalidRequestException +// The request was invalid. // -// * ResourceInUseException -// The resource is in use. +// - ResourceNotFoundException +// The resource was not found. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ResourceInUseException +// The resource is in use. // -// * LimitExceededException -// A limit was exceeded. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - LimitExceededException +// A limit was exceeded. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/TagResource func (c *IoTEvents) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2082,14 +2082,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UntagResource func (c *IoTEvents) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2121,20 +2120,21 @@ func (c *IoTEvents) UntagResourceRequest(input *UntagResourceInput) (req *reques // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - InvalidRequestException +// The request was invalid. // -// * ResourceInUseException -// The resource is in use. +// - ResourceNotFoundException +// The resource was not found. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ResourceInUseException +// The resource is in use. // -// * InternalFailureException -// An internal failure occurred. +// - ThrottlingException +// The request could not be completed due to throttling. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UntagResource func (c *IoTEvents) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2174,14 +2174,13 @@ const opUpdateAlarmModel = "UpdateAlarmModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAlarmModelRequest method. +// req, resp := client.UpdateAlarmModelRequest(params) // -// // Example sending a request using the UpdateAlarmModelRequest method. -// req, resp := client.UpdateAlarmModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UpdateAlarmModel func (c *IoTEvents) UpdateAlarmModelRequest(input *UpdateAlarmModelInput) (req *request.Request, output *UpdateAlarmModelOutput) { @@ -2213,23 +2212,24 @@ func (c *IoTEvents) UpdateAlarmModelRequest(input *UpdateAlarmModelInput) (req * // API operation UpdateAlarmModel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceInUseException -// The resource is in use. +// - InvalidRequestException +// The request was invalid. +// +// - ResourceInUseException +// The resource is in use. // -// * ResourceNotFoundException -// The resource was not found. +// - ResourceNotFoundException +// The resource was not found. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UpdateAlarmModel func (c *IoTEvents) UpdateAlarmModel(input *UpdateAlarmModelInput) (*UpdateAlarmModelOutput, error) { @@ -2269,14 +2269,13 @@ const opUpdateDetectorModel = "UpdateDetectorModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDetectorModelRequest method. +// req, resp := client.UpdateDetectorModelRequest(params) // -// // Example sending a request using the UpdateDetectorModelRequest method. -// req, resp := client.UpdateDetectorModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UpdateDetectorModel func (c *IoTEvents) UpdateDetectorModelRequest(input *UpdateDetectorModelInput) (req *request.Request, output *UpdateDetectorModelOutput) { @@ -2308,23 +2307,24 @@ func (c *IoTEvents) UpdateDetectorModelRequest(input *UpdateDetectorModelInput) // API operation UpdateDetectorModel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceInUseException -// The resource is in use. +// - InvalidRequestException +// The request was invalid. +// +// - ResourceInUseException +// The resource is in use. // -// * ResourceNotFoundException -// The resource was not found. +// - ResourceNotFoundException +// The resource was not found. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UpdateDetectorModel func (c *IoTEvents) UpdateDetectorModel(input *UpdateDetectorModelInput) (*UpdateDetectorModelOutput, error) { @@ -2364,14 +2364,13 @@ const opUpdateInput = "UpdateInput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateInputRequest method. +// req, resp := client.UpdateInputRequest(params) // -// // Example sending a request using the UpdateInputRequest method. -// req, resp := client.UpdateInputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UpdateInput func (c *IoTEvents) UpdateInputRequest(input *UpdateInputInput) (req *request.Request, output *UpdateInputOutput) { @@ -2402,23 +2401,24 @@ func (c *IoTEvents) UpdateInputRequest(input *UpdateInputInput) (req *request.Re // API operation UpdateInput for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - InvalidRequestException +// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - ResourceNotFoundException +// The resource was not found. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceInUseException -// The resource is in use. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ResourceInUseException +// The resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27/UpdateInput func (c *IoTEvents) UpdateInput(input *UpdateInputInput) (*UpdateInputOutput, error) { @@ -3571,18 +3571,18 @@ func (s *AnalysisResultLocation) SetPath(v string) *AnalysisResultLocation { // // Examples // -// * For literal values, the expressions must contain single quotes. For -// example, the value for the timeInSeconds parameter can be '1586400675'. +// - For literal values, the expressions must contain single quotes. For +// example, the value for the timeInSeconds parameter can be '1586400675'. // -// * For references, you must specify either variables or input values. For -// example, the value for the offsetInNanos parameter can be $variable.time. +// - For references, you must specify either variables or input values. For +// example, the value for the offsetInNanos parameter can be $variable.time. // -// * For a substitution template, you must use ${}, and the template must -// be in single quotes. A substitution template can also contain a combination -// of literals, operators, functions, references, and substitution templates. -// In the following example, the value for the timeInSeconds parameter uses -// a substitution template. '${$input.TemperatureInput.sensorData.timestamp -// / 1000}' +// - For a substitution template, you must use ${}, and the template must +// be in single quotes. A substitution template can also contain a combination +// of literals, operators, functions, references, and substitution templates. +// In the following example, the value for the timeInSeconds parameter uses +// a substitution template. '${$input.TemperatureInput.sensorData.timestamp +// / 1000}' // // For more information, see Expressions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) // in the AWS IoT Events Developer Guide. @@ -3652,11 +3652,11 @@ func (s *AssetPropertyTimestamp) SetTimeInSeconds(v string) *AssetPropertyTimest // // Examples // -// * For literal values, the expressions must contain single quotes. For -// example, the value for the quality parameter can be 'GOOD'. +// - For literal values, the expressions must contain single quotes. For +// example, the value for the quality parameter can be 'GOOD'. // -// * For references, you must specify either variables or input values. For -// example, the value for the quality parameter can be $input.TemperatureInput.sensorData.quality. +// - For references, you must specify either variables or input values. For +// example, the value for the quality parameter can be $input.TemperatureInput.sensorData.quality. // // For more information, see Expressions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) // in the AWS IoT Events Developer Guide. @@ -3736,18 +3736,19 @@ func (s *AssetPropertyValue) SetValue(v *AssetPropertyVariant) *AssetPropertyVal // // Examples // -// * For literal values, the expressions must contain single quotes. For -// example, the value for the integerValue parameter can be '100'. +// - For literal values, the expressions must contain single quotes. For +// example, the value for the integerValue parameter can be '100'. +// +// - For references, you must specify either variables or parameters. For +// example, the value for the booleanValue parameter can be $variable.offline. // -// * For references, you must specify either variables or parameters. For -// example, the value for the booleanValue parameter can be $variable.offline. +// - For a substitution template, you must use ${}, and the template must +// be in single quotes. A substitution template can also contain a combination +// of literals, operators, functions, references, and substitution templates. +// In the following example, the value for the doubleValue parameter uses +// a substitution template. '${$input.TemperatureInput.sensorData.temperature // -// * For a substitution template, you must use ${}, and the template must -// be in single quotes. A substitution template can also contain a combination -// of literals, operators, functions, references, and substitution templates. -// In the following example, the value for the doubleValue parameter uses -// a substitution template. '${$input.TemperatureInput.sensorData.temperature -// * 6 / 5 + 32}' +// - 6 / 5 + 32}' // // For more information, see Expressions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) // in the AWS IoT Events Developer Guide. @@ -5720,24 +5721,25 @@ func (s *DetectorModelVersionSummary) SetStatus(v string) *DetectorModelVersionS // // Examples // -// * For literal values, the expressions must contain single quotes. For -// example, the value for the hashKeyType parameter can be 'STRING'. +// - For literal values, the expressions must contain single quotes. For +// example, the value for the hashKeyType parameter can be 'STRING'. +// +// - For references, you must specify either variables or input values. For +// example, the value for the hashKeyField parameter can be $input.GreenhouseInput.name. // -// * For references, you must specify either variables or input values. For -// example, the value for the hashKeyField parameter can be $input.GreenhouseInput.name. +// - For a substitution template, you must use ${}, and the template must +// be in single quotes. A substitution template can also contain a combination +// of literals, operators, functions, references, and substitution templates. +// In the following example, the value for the hashKeyValue parameter uses +// a substitution template. '${$input.GreenhouseInput.temperature * 6 / 5 // -// * For a substitution template, you must use ${}, and the template must -// be in single quotes. A substitution template can also contain a combination -// of literals, operators, functions, references, and substitution templates. -// In the following example, the value for the hashKeyValue parameter uses -// a substitution template. '${$input.GreenhouseInput.temperature * 6 / 5 -// + 32} in Fahrenheit' +// - 32} in Fahrenheit' // -// * For a string concatenation, you must use +. A string concatenation can -// also contain a combination of literals, operators, functions, references, -// and substitution templates. In the following example, the value for the -// tableName parameter uses a string concatenation. 'GreenhouseTemperatureTable -// ' + $input.GreenhouseInput.date +// - For a string concatenation, you must use +. A string concatenation can +// also contain a combination of literals, operators, functions, references, +// and substitution templates. In the following example, the value for the +// tableName parameter uses a string concatenation. 'GreenhouseTemperatureTable +// ' + $input.GreenhouseInput.date // // For more information, see Expressions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) // in the AWS IoT Events Developer Guide. @@ -5938,24 +5940,24 @@ func (s *DynamoDBAction) SetTableName(v string) *DynamoDBAction { // // Examples // -// * For literal values, the expressions must contain single quotes. For -// example, the value for the tableName parameter can be 'GreenhouseTemperatureTable'. +// - For literal values, the expressions must contain single quotes. For +// example, the value for the tableName parameter can be 'GreenhouseTemperatureTable'. // -// * For references, you must specify either variables or input values. For -// example, the value for the tableName parameter can be $variable.ddbtableName. +// - For references, you must specify either variables or input values. For +// example, the value for the tableName parameter can be $variable.ddbtableName. // -// * For a substitution template, you must use ${}, and the template must -// be in single quotes. A substitution template can also contain a combination -// of literals, operators, functions, references, and substitution templates. -// In the following example, the value for the contentExpression parameter -// in Payload uses a substitution template. '{\"sensorID\": \"${$input.GreenhouseInput.sensor_id}\", -// \"temperature\": \"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\"}' +// - For a substitution template, you must use ${}, and the template must +// be in single quotes. A substitution template can also contain a combination +// of literals, operators, functions, references, and substitution templates. +// In the following example, the value for the contentExpression parameter +// in Payload uses a substitution template. '{\"sensorID\": \"${$input.GreenhouseInput.sensor_id}\", +// \"temperature\": \"${$input.GreenhouseInput.temperature * 9 / 5 + 32}\"}' // -// * For a string concatenation, you must use +. A string concatenation can -// also contain a combination of literals, operators, functions, references, -// and substitution templates. In the following example, the value for the -// tableName parameter uses a string concatenation. 'GreenhouseTemperatureTable -// ' + $input.GreenhouseInput.date +// - For a string concatenation, you must use +. A string concatenation can +// also contain a combination of literals, operators, functions, references, +// and substitution templates. In the following example, the value for the +// tableName parameter uses a string concatenation. 'GreenhouseTemperatureTable +// ' + $input.GreenhouseInput.date // // For more information, see Expressions (https://docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html) // in the AWS IoT Events Developer Guide. @@ -7031,18 +7033,18 @@ func (s *IotEventsInputIdentifier) SetInputName(v string) *IotEventsInputIdentif // // Examples // -// * For literal values, the expressions must contain single quotes. For -// example, the value for the propertyAlias parameter can be '/company/windfarm/3/turbine/7/temperature'. +// - For literal values, the expressions must contain single quotes. For +// example, the value for the propertyAlias parameter can be '/company/windfarm/3/turbine/7/temperature'. // -// * For references, you must specify either variables or input values. For -// example, the value for the assetId parameter can be $input.TurbineInput.assetId1. +// - For references, you must specify either variables or input values. For +// example, the value for the assetId parameter can be $input.TurbineInput.assetId1. // -// * For a substitution template, you must use ${}, and the template must -// be in single quotes. A substitution template can also contain a combination -// of literals, operators, functions, references, and substitution templates. -// In the following example, the value for the propertyAlias parameter uses -// a substitution template. 'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ -// ${$input.TemperatureInput.sensorData.turbineID}/temperature' +// - For a substitution template, you must use ${}, and the template must +// be in single quotes. A substitution template can also contain a combination +// of literals, operators, functions, references, and substitution templates. +// In the following example, the value for the propertyAlias parameter uses +// a substitution template. 'company/windfarm/${$input.TemperatureInput.sensorData.windfarmID}/turbine/ +// ${$input.TemperatureInput.sensorData.turbineID}/temperature' // // You must specify either propertyAlias or both assetId and propertyId to identify // the target asset property in AWS IoT SiteWise. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/doc.go index 06ec1c6ac409..9d70d69926d6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/doc.go @@ -13,7 +13,7 @@ // See iotevents package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/iotevents/ // -// Using the Client +// # Using the Client // // To contact AWS IoT Events with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/ioteventsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/ioteventsiface/interface.go index 20096c2c0fd4..4e1cadc5a0de 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/ioteventsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/ioteventsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT Events. -// func myFunc(svc ioteventsiface.IoTEventsAPI) bool { -// // Make svc.CreateAlarmModel request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT Events. +// func myFunc(svc ioteventsiface.IoTEventsAPI) bool { +// // Make svc.CreateAlarmModel request +// } // -// func main() { -// sess := session.New() -// svc := iotevents.New(sess) +// func main() { +// sess := session.New() +// svc := iotevents.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIoTEventsClient struct { -// ioteventsiface.IoTEventsAPI -// } -// func (m *mockIoTEventsClient) CreateAlarmModel(input *iotevents.CreateAlarmModelInput) (*iotevents.CreateAlarmModelOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIoTEventsClient struct { +// ioteventsiface.IoTEventsAPI +// } +// func (m *mockIoTEventsClient) CreateAlarmModel(input *iotevents.CreateAlarmModelInput) (*iotevents.CreateAlarmModelOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIoTEventsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIoTEventsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/service.go index aa17fce73e65..d05691e1d6dd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotevents/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IoTEvents client from just a session. -// svc := iotevents.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IoTEvents client with additional configuration -// svc := iotevents.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IoTEvents client from just a session. +// svc := iotevents.New(mySession) +// +// // Create a IoTEvents client with additional configuration +// svc := iotevents.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoTEvents { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/api.go index 239980ea54bb..468f5f82188d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/api.go @@ -28,14 +28,13 @@ const opBatchAcknowledgeAlarm = "BatchAcknowledgeAlarm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchAcknowledgeAlarmRequest method. +// req, resp := client.BatchAcknowledgeAlarmRequest(params) // -// // Example sending a request using the BatchAcknowledgeAlarmRequest method. -// req, resp := client.BatchAcknowledgeAlarmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchAcknowledgeAlarm func (c *IoTEventsData) BatchAcknowledgeAlarmRequest(input *BatchAcknowledgeAlarmInput) (req *request.Request, output *BatchAcknowledgeAlarmOutput) { @@ -67,17 +66,18 @@ func (c *IoTEventsData) BatchAcknowledgeAlarmRequest(input *BatchAcknowledgeAlar // API operation BatchAcknowledgeAlarm for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * InternalFailureException -// An internal failure occurred. +// - InvalidRequestException +// The request was invalid. +// +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchAcknowledgeAlarm func (c *IoTEventsData) BatchAcknowledgeAlarm(input *BatchAcknowledgeAlarmInput) (*BatchAcknowledgeAlarmOutput, error) { @@ -117,14 +117,13 @@ const opBatchDeleteDetector = "BatchDeleteDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteDetectorRequest method. +// req, resp := client.BatchDeleteDetectorRequest(params) // -// // Example sending a request using the BatchDeleteDetectorRequest method. -// req, resp := client.BatchDeleteDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchDeleteDetector func (c *IoTEventsData) BatchDeleteDetectorRequest(input *BatchDeleteDetectorInput) (req *request.Request, output *BatchDeleteDetectorOutput) { @@ -159,17 +158,18 @@ func (c *IoTEventsData) BatchDeleteDetectorRequest(input *BatchDeleteDetectorInp // API operation BatchDeleteDetector for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * InternalFailureException -// An internal failure occurred. +// - InvalidRequestException +// The request was invalid. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - InternalFailureException +// An internal failure occurred. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ThrottlingException +// The request could not be completed due to throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchDeleteDetector func (c *IoTEventsData) BatchDeleteDetector(input *BatchDeleteDetectorInput) (*BatchDeleteDetectorOutput, error) { @@ -209,14 +209,13 @@ const opBatchDisableAlarm = "BatchDisableAlarm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDisableAlarmRequest method. +// req, resp := client.BatchDisableAlarmRequest(params) // -// // Example sending a request using the BatchDisableAlarmRequest method. -// req, resp := client.BatchDisableAlarmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchDisableAlarm func (c *IoTEventsData) BatchDisableAlarmRequest(input *BatchDisableAlarmInput) (req *request.Request, output *BatchDisableAlarmOutput) { @@ -248,17 +247,18 @@ func (c *IoTEventsData) BatchDisableAlarmRequest(input *BatchDisableAlarmInput) // API operation BatchDisableAlarm for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * InternalFailureException -// An internal failure occurred. +// - InvalidRequestException +// The request was invalid. +// +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchDisableAlarm func (c *IoTEventsData) BatchDisableAlarm(input *BatchDisableAlarmInput) (*BatchDisableAlarmOutput, error) { @@ -298,14 +298,13 @@ const opBatchEnableAlarm = "BatchEnableAlarm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchEnableAlarmRequest method. +// req, resp := client.BatchEnableAlarmRequest(params) // -// // Example sending a request using the BatchEnableAlarmRequest method. -// req, resp := client.BatchEnableAlarmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchEnableAlarm func (c *IoTEventsData) BatchEnableAlarmRequest(input *BatchEnableAlarmInput) (req *request.Request, output *BatchEnableAlarmOutput) { @@ -337,17 +336,18 @@ func (c *IoTEventsData) BatchEnableAlarmRequest(input *BatchEnableAlarmInput) (r // API operation BatchEnableAlarm for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * InternalFailureException -// An internal failure occurred. +// - InvalidRequestException +// The request was invalid. +// +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchEnableAlarm func (c *IoTEventsData) BatchEnableAlarm(input *BatchEnableAlarmInput) (*BatchEnableAlarmOutput, error) { @@ -387,14 +387,13 @@ const opBatchPutMessage = "BatchPutMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchPutMessageRequest method. +// req, resp := client.BatchPutMessageRequest(params) // -// // Example sending a request using the BatchPutMessageRequest method. -// req, resp := client.BatchPutMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchPutMessage func (c *IoTEventsData) BatchPutMessageRequest(input *BatchPutMessageInput) (req *request.Request, output *BatchPutMessageOutput) { @@ -429,17 +428,18 @@ func (c *IoTEventsData) BatchPutMessageRequest(input *BatchPutMessageInput) (req // API operation BatchPutMessage for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * InternalFailureException -// An internal failure occurred. +// - InvalidRequestException +// The request was invalid. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - InternalFailureException +// An internal failure occurred. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ThrottlingException +// The request could not be completed due to throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchPutMessage func (c *IoTEventsData) BatchPutMessage(input *BatchPutMessageInput) (*BatchPutMessageOutput, error) { @@ -479,14 +479,13 @@ const opBatchResetAlarm = "BatchResetAlarm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchResetAlarmRequest method. +// req, resp := client.BatchResetAlarmRequest(params) // -// // Example sending a request using the BatchResetAlarmRequest method. -// req, resp := client.BatchResetAlarmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchResetAlarm func (c *IoTEventsData) BatchResetAlarmRequest(input *BatchResetAlarmInput) (req *request.Request, output *BatchResetAlarmOutput) { @@ -518,17 +517,18 @@ func (c *IoTEventsData) BatchResetAlarmRequest(input *BatchResetAlarmInput) (req // API operation BatchResetAlarm for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * InternalFailureException -// An internal failure occurred. +// - InvalidRequestException +// The request was invalid. +// +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchResetAlarm func (c *IoTEventsData) BatchResetAlarm(input *BatchResetAlarmInput) (*BatchResetAlarmOutput, error) { @@ -568,14 +568,13 @@ const opBatchSnoozeAlarm = "BatchSnoozeAlarm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchSnoozeAlarmRequest method. +// req, resp := client.BatchSnoozeAlarmRequest(params) // -// // Example sending a request using the BatchSnoozeAlarmRequest method. -// req, resp := client.BatchSnoozeAlarmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchSnoozeAlarm func (c *IoTEventsData) BatchSnoozeAlarmRequest(input *BatchSnoozeAlarmInput) (req *request.Request, output *BatchSnoozeAlarmOutput) { @@ -607,17 +606,18 @@ func (c *IoTEventsData) BatchSnoozeAlarmRequest(input *BatchSnoozeAlarmInput) (r // API operation BatchSnoozeAlarm for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * InternalFailureException -// An internal failure occurred. +// - InvalidRequestException +// The request was invalid. +// +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchSnoozeAlarm func (c *IoTEventsData) BatchSnoozeAlarm(input *BatchSnoozeAlarmInput) (*BatchSnoozeAlarmOutput, error) { @@ -657,14 +657,13 @@ const opBatchUpdateDetector = "BatchUpdateDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchUpdateDetectorRequest method. +// req, resp := client.BatchUpdateDetectorRequest(params) // -// // Example sending a request using the BatchUpdateDetectorRequest method. -// req, resp := client.BatchUpdateDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchUpdateDetector func (c *IoTEventsData) BatchUpdateDetectorRequest(input *BatchUpdateDetectorInput) (req *request.Request, output *BatchUpdateDetectorOutput) { @@ -696,17 +695,18 @@ func (c *IoTEventsData) BatchUpdateDetectorRequest(input *BatchUpdateDetectorInp // API operation BatchUpdateDetector for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * InternalFailureException -// An internal failure occurred. +// - InvalidRequestException +// The request was invalid. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - InternalFailureException +// An internal failure occurred. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ServiceUnavailableException +// The service is currently unavailable. +// +// - ThrottlingException +// The request could not be completed due to throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/BatchUpdateDetector func (c *IoTEventsData) BatchUpdateDetector(input *BatchUpdateDetectorInput) (*BatchUpdateDetectorOutput, error) { @@ -746,14 +746,13 @@ const opDescribeAlarm = "DescribeAlarm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAlarmRequest method. +// req, resp := client.DescribeAlarmRequest(params) // -// // Example sending a request using the DescribeAlarmRequest method. -// req, resp := client.DescribeAlarmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/DescribeAlarm func (c *IoTEventsData) DescribeAlarmRequest(input *DescribeAlarmInput) (req *request.Request, output *DescribeAlarmOutput) { @@ -784,20 +783,21 @@ func (c *IoTEventsData) DescribeAlarmRequest(input *DescribeAlarmInput) (req *re // API operation DescribeAlarm for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - InvalidRequestException +// The request was invalid. +// +// - ResourceNotFoundException +// The resource was not found. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/DescribeAlarm func (c *IoTEventsData) DescribeAlarm(input *DescribeAlarmInput) (*DescribeAlarmOutput, error) { @@ -837,14 +837,13 @@ const opDescribeDetector = "DescribeDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDetectorRequest method. +// req, resp := client.DescribeDetectorRequest(params) // -// // Example sending a request using the DescribeDetectorRequest method. -// req, resp := client.DescribeDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/DescribeDetector func (c *IoTEventsData) DescribeDetectorRequest(input *DescribeDetectorInput) (req *request.Request, output *DescribeDetectorOutput) { @@ -875,20 +874,21 @@ func (c *IoTEventsData) DescribeDetectorRequest(input *DescribeDetectorInput) (r // API operation DescribeDetector for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - InvalidRequestException +// The request was invalid. +// +// - ResourceNotFoundException +// The resource was not found. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/DescribeDetector func (c *IoTEventsData) DescribeDetector(input *DescribeDetectorInput) (*DescribeDetectorOutput, error) { @@ -928,14 +928,13 @@ const opListAlarms = "ListAlarms" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAlarmsRequest method. +// req, resp := client.ListAlarmsRequest(params) // -// // Example sending a request using the ListAlarmsRequest method. -// req, resp := client.ListAlarmsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/ListAlarms func (c *IoTEventsData) ListAlarmsRequest(input *ListAlarmsInput) (req *request.Request, output *ListAlarmsOutput) { @@ -967,20 +966,21 @@ func (c *IoTEventsData) ListAlarmsRequest(input *ListAlarmsInput) (req *request. // API operation ListAlarms for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - InvalidRequestException +// The request was invalid. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ResourceNotFoundException +// The resource was not found. // -// * InternalFailureException -// An internal failure occurred. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/ListAlarms func (c *IoTEventsData) ListAlarms(input *ListAlarmsInput) (*ListAlarmsOutput, error) { @@ -1020,14 +1020,13 @@ const opListDetectors = "ListDetectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDetectorsRequest method. +// req, resp := client.ListDetectorsRequest(params) // -// // Example sending a request using the ListDetectorsRequest method. -// req, resp := client.ListDetectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/ListDetectors func (c *IoTEventsData) ListDetectorsRequest(input *ListDetectorsInput) (req *request.Request, output *ListDetectorsOutput) { @@ -1058,20 +1057,21 @@ func (c *IoTEventsData) ListDetectorsRequest(input *ListDetectorsInput) (req *re // API operation ListDetectors for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request was invalid. // -// * ResourceNotFoundException -// The resource was not found. +// - InvalidRequestException +// The request was invalid. +// +// - ResourceNotFoundException +// The resource was not found. // -// * ThrottlingException -// The request could not be completed due to throttling. +// - ThrottlingException +// The request could not be completed due to throttling. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ServiceUnavailableException -// The service is currently unavailable. +// - ServiceUnavailableException +// The service is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotevents-data-2018-10-23/ListDetectors func (c *IoTEventsData) ListDetectors(input *ListDetectorsInput) (*ListDetectorsOutput, error) { @@ -1578,15 +1578,15 @@ func (s *BatchAcknowledgeAlarmOutput) SetErrorEntries(v []*BatchAlarmActionError // Contains error messages associated with one of the following requests: // -// * BatchAcknowledgeAlarm (https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchAcknowledgeAlarm.html) +// - BatchAcknowledgeAlarm (https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchAcknowledgeAlarm.html) // -// * BatchDisableAlarm (https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchDisableAlarm.html) +// - BatchDisableAlarm (https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchDisableAlarm.html) // -// * BatchEnableAlarm (https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchEnableAlarm.html) +// - BatchEnableAlarm (https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchEnableAlarm.html) // -// * BatchResetAlarm (https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchResetAlarm.html) +// - BatchResetAlarm (https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchResetAlarm.html) // -// * BatchSnoozeAlarm (https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchSnoozeAlarm.html) +// - BatchSnoozeAlarm (https://docs.aws.amazon.com/iotevents/latest/apireference/API_iotevents-data_BatchSnoozeAlarm.html) type BatchAlarmActionErrorEntry struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/doc.go index f789b84e59a2..6428bbb52779 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/doc.go @@ -16,7 +16,7 @@ // See ioteventsdata package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ioteventsdata/ // -// Using the Client +// # Using the Client // // To contact AWS IoT Events Data with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/ioteventsdataiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/ioteventsdataiface/interface.go index 50edd944bce4..47445a109150 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/ioteventsdataiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/ioteventsdataiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT Events Data. -// func myFunc(svc ioteventsdataiface.IoTEventsDataAPI) bool { -// // Make svc.BatchAcknowledgeAlarm request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT Events Data. +// func myFunc(svc ioteventsdataiface.IoTEventsDataAPI) bool { +// // Make svc.BatchAcknowledgeAlarm request +// } // -// func main() { -// sess := session.New() -// svc := ioteventsdata.New(sess) +// func main() { +// sess := session.New() +// svc := ioteventsdata.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIoTEventsDataClient struct { -// ioteventsdataiface.IoTEventsDataAPI -// } -// func (m *mockIoTEventsDataClient) BatchAcknowledgeAlarm(input *ioteventsdata.BatchAcknowledgeAlarmInput) (*ioteventsdata.BatchAcknowledgeAlarmOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIoTEventsDataClient struct { +// ioteventsdataiface.IoTEventsDataAPI +// } +// func (m *mockIoTEventsDataClient) BatchAcknowledgeAlarm(input *ioteventsdata.BatchAcknowledgeAlarmInput) (*ioteventsdata.BatchAcknowledgeAlarmOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIoTEventsDataClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIoTEventsDataClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/service.go index ea5e884577b2..cf6c66bc4e48 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ioteventsdata/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IoTEventsData client from just a session. -// svc := ioteventsdata.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IoTEventsData client with additional configuration -// svc := ioteventsdata.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IoTEventsData client from just a session. +// svc := ioteventsdata.New(mySession) +// +// // Create a IoTEventsData client with additional configuration +// svc := ioteventsdata.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoTEventsData { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/api.go index f68bd310e022..4b610f373160 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/api.go @@ -28,14 +28,13 @@ const opCreateApplication = "CreateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationRequest method. +// req, resp := client.CreateApplicationRequest(params) // -// // Example sending a request using the CreateApplicationRequest method. -// req, resp := client.CreateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/CreateApplication func (c *IoTFleetHub) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput) { @@ -69,17 +68,18 @@ func (c *IoTFleetHub) CreateApplicationRequest(input *CreateApplicationInput) (r // API operation CreateApplication for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - InvalidRequestException +// The request is not valid. +// +// - InternalFailureException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * LimitExceededException -// A limit has been exceeded. +// - LimitExceededException +// A limit has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/CreateApplication func (c *IoTFleetHub) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error) { @@ -119,14 +119,13 @@ const opDeleteApplication = "DeleteApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationRequest method. +// req, resp := client.DeleteApplicationRequest(params) // -// // Example sending a request using the DeleteApplicationRequest method. -// req, resp := client.DeleteApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/DeleteApplication func (c *IoTFleetHub) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) { @@ -161,17 +160,18 @@ func (c *IoTFleetHub) DeleteApplicationRequest(input *DeleteApplicationInput) (r // API operation DeleteApplication for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InternalFailureException +// An unexpected error has occurred. +// +// - ThrottlingException +// The rate exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/DeleteApplication func (c *IoTFleetHub) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) { @@ -211,14 +211,13 @@ const opDescribeApplication = "DescribeApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApplicationRequest method. +// req, resp := client.DescribeApplicationRequest(params) // -// // Example sending a request using the DescribeApplicationRequest method. -// req, resp := client.DescribeApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/DescribeApplication func (c *IoTFleetHub) DescribeApplicationRequest(input *DescribeApplicationInput) (req *request.Request, output *DescribeApplicationOutput) { @@ -252,17 +251,18 @@ func (c *IoTFleetHub) DescribeApplicationRequest(input *DescribeApplicationInput // API operation DescribeApplication for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - InternalFailureException +// An unexpected error has occurred. +// +// - ThrottlingException +// The rate exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/DescribeApplication func (c *IoTFleetHub) DescribeApplication(input *DescribeApplicationInput) (*DescribeApplicationOutput, error) { @@ -302,14 +302,13 @@ const opListApplications = "ListApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationsRequest method. +// req, resp := client.ListApplicationsRequest(params) // -// // Example sending a request using the ListApplicationsRequest method. -// req, resp := client.ListApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/ListApplications func (c *IoTFleetHub) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput) { @@ -350,14 +349,15 @@ func (c *IoTFleetHub) ListApplicationsRequest(input *ListApplicationsInput) (req // API operation ListApplications for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * InternalFailureException -// An unexpected error has occurred. +// - InvalidRequestException +// The request is not valid. // -// * ThrottlingException -// The rate exceeds the limit. +// - InternalFailureException +// An unexpected error has occurred. +// +// - ThrottlingException +// The rate exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/ListApplications func (c *IoTFleetHub) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error) { @@ -389,15 +389,14 @@ func (c *IoTFleetHub) ListApplicationsWithContext(ctx aws.Context, input *ListAp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplications operation. -// pageNum := 0 -// err := client.ListApplicationsPages(params, -// func(page *iotfleethub.ListApplicationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplications operation. +// pageNum := 0 +// err := client.ListApplicationsPages(params, +// func(page *iotfleethub.ListApplicationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTFleetHub) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error { return c.ListApplicationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -449,14 +448,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/ListTagsForResource func (c *IoTFleetHub) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -490,14 +488,15 @@ func (c *IoTFleetHub) ListTagsForResourceRequest(input *ListTagsForResourceInput // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. +// +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/ListTagsForResource func (c *IoTFleetHub) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -537,14 +536,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/TagResource func (c *IoTFleetHub) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -580,14 +578,15 @@ func (c *IoTFleetHub) TagResourceRequest(input *TagResourceInput) (req *request. // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. +// +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/TagResource func (c *IoTFleetHub) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -627,14 +626,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/UntagResource func (c *IoTFleetHub) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -669,14 +667,15 @@ func (c *IoTFleetHub) UntagResourceRequest(input *UntagResourceInput) (req *requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalFailureException -// An unexpected error has occurred. // -// * InvalidRequestException -// The request is not valid. +// - InternalFailureException +// An unexpected error has occurred. +// +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/UntagResource func (c *IoTFleetHub) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -716,14 +715,13 @@ const opUpdateApplication = "UpdateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationRequest method. +// req, resp := client.UpdateApplicationRequest(params) // -// // Example sending a request using the UpdateApplicationRequest method. -// req, resp := client.UpdateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/UpdateApplication func (c *IoTFleetHub) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) { @@ -759,20 +757,21 @@ func (c *IoTFleetHub) UpdateApplicationRequest(input *UpdateApplicationInput) (r // API operation UpdateApplication for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The request is not valid. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalFailureException -// An unexpected error has occurred. +// - InternalFailureException +// An unexpected error has occurred. // -// * ConflictException -// The request conflicts with the current state of the resource. +// - ConflictException +// The request conflicts with the current state of the resource. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotfleethub-2020-11-03/UpdateApplication func (c *IoTFleetHub) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/doc.go index 53b58595533f..be9c0109c43e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/doc.go @@ -14,7 +14,7 @@ // See iotfleethub package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/iotfleethub/ // -// Using the Client +// # Using the Client // // To contact AWS IoT Fleet Hub with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/iotfleethubiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/iotfleethubiface/interface.go index c87a40f17c9a..203233d4fef7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/iotfleethubiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/iotfleethubiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT Fleet Hub. -// func myFunc(svc iotfleethubiface.IoTFleetHubAPI) bool { -// // Make svc.CreateApplication request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT Fleet Hub. +// func myFunc(svc iotfleethubiface.IoTFleetHubAPI) bool { +// // Make svc.CreateApplication request +// } // -// func main() { -// sess := session.New() -// svc := iotfleethub.New(sess) +// func main() { +// sess := session.New() +// svc := iotfleethub.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIoTFleetHubClient struct { -// iotfleethubiface.IoTFleetHubAPI -// } -// func (m *mockIoTFleetHubClient) CreateApplication(input *iotfleethub.CreateApplicationInput) (*iotfleethub.CreateApplicationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIoTFleetHubClient struct { +// iotfleethubiface.IoTFleetHubAPI +// } +// func (m *mockIoTFleetHubClient) CreateApplication(input *iotfleethub.CreateApplicationInput) (*iotfleethub.CreateApplicationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIoTFleetHubClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIoTFleetHubClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/service.go index f408b4fa48fc..14642b3558b1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotfleethub/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IoTFleetHub client from just a session. -// svc := iotfleethub.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IoTFleetHub client with additional configuration -// svc := iotfleethub.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IoTFleetHub client from just a session. +// svc := iotfleethub.New(mySession) +// +// // Create a IoTFleetHub client with additional configuration +// svc := iotfleethub.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoTFleetHub { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/api.go index 13a0f3f1854b..bb9c1bad51e2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/api.go @@ -27,14 +27,13 @@ const opDescribeJobExecution = "DescribeJobExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobExecutionRequest method. +// req, resp := client.DescribeJobExecutionRequest(params) // -// // Example sending a request using the DescribeJobExecutionRequest method. -// req, resp := client.DescribeJobExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/DescribeJobExecution func (c *IoTJobsDataPlane) DescribeJobExecutionRequest(input *DescribeJobExecutionInput) (req *request.Request, output *DescribeJobExecutionOutput) { @@ -65,25 +64,26 @@ func (c *IoTJobsDataPlane) DescribeJobExecutionRequest(input *DescribeJobExecuti // API operation DescribeJobExecution for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The contents of the request were invalid. For example, this code is returned -// when an UpdateJobExecution request contains invalid status details. The message -// contains details about the error. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The contents of the request were invalid. For example, this code is returned +// when an UpdateJobExecution request contains invalid status details. The message +// contains details about the error. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * CertificateValidationException -// The certificate is invalid. +// - CertificateValidationException +// The certificate is invalid. // -// * TerminalStateException -// The job is in a terminal state. +// - TerminalStateException +// The job is in a terminal state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/DescribeJobExecution func (c *IoTJobsDataPlane) DescribeJobExecution(input *DescribeJobExecutionInput) (*DescribeJobExecutionOutput, error) { @@ -123,14 +123,13 @@ const opGetPendingJobExecutions = "GetPendingJobExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPendingJobExecutionsRequest method. +// req, resp := client.GetPendingJobExecutionsRequest(params) // -// // Example sending a request using the GetPendingJobExecutionsRequest method. -// req, resp := client.GetPendingJobExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/GetPendingJobExecutions func (c *IoTJobsDataPlane) GetPendingJobExecutionsRequest(input *GetPendingJobExecutionsInput) (req *request.Request, output *GetPendingJobExecutionsOutput) { @@ -161,22 +160,23 @@ func (c *IoTJobsDataPlane) GetPendingJobExecutionsRequest(input *GetPendingJobEx // API operation GetPendingJobExecutions for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The contents of the request were invalid. For example, this code is returned -// when an UpdateJobExecution request contains invalid status details. The message -// contains details about the error. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The contents of the request were invalid. For example, this code is returned +// when an UpdateJobExecution request contains invalid status details. The message +// contains details about the error. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * CertificateValidationException -// The certificate is invalid. +// - CertificateValidationException +// The certificate is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/GetPendingJobExecutions func (c *IoTJobsDataPlane) GetPendingJobExecutions(input *GetPendingJobExecutionsInput) (*GetPendingJobExecutionsOutput, error) { @@ -216,14 +216,13 @@ const opStartNextPendingJobExecution = "StartNextPendingJobExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartNextPendingJobExecutionRequest method. +// req, resp := client.StartNextPendingJobExecutionRequest(params) // -// // Example sending a request using the StartNextPendingJobExecutionRequest method. -// req, resp := client.StartNextPendingJobExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/StartNextPendingJobExecution func (c *IoTJobsDataPlane) StartNextPendingJobExecutionRequest(input *StartNextPendingJobExecutionInput) (req *request.Request, output *StartNextPendingJobExecutionOutput) { @@ -255,22 +254,23 @@ func (c *IoTJobsDataPlane) StartNextPendingJobExecutionRequest(input *StartNextP // API operation StartNextPendingJobExecution for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The contents of the request were invalid. For example, this code is returned -// when an UpdateJobExecution request contains invalid status details. The message -// contains details about the error. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The contents of the request were invalid. For example, this code is returned +// when an UpdateJobExecution request contains invalid status details. The message +// contains details about the error. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * CertificateValidationException -// The certificate is invalid. +// - CertificateValidationException +// The certificate is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/StartNextPendingJobExecution func (c *IoTJobsDataPlane) StartNextPendingJobExecution(input *StartNextPendingJobExecutionInput) (*StartNextPendingJobExecutionOutput, error) { @@ -310,14 +310,13 @@ const opUpdateJobExecution = "UpdateJobExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateJobExecutionRequest method. +// req, resp := client.UpdateJobExecutionRequest(params) // -// // Example sending a request using the UpdateJobExecutionRequest method. -// req, resp := client.UpdateJobExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/UpdateJobExecution func (c *IoTJobsDataPlane) UpdateJobExecutionRequest(input *UpdateJobExecutionInput) (req *request.Request, output *UpdateJobExecutionOutput) { @@ -348,28 +347,29 @@ func (c *IoTJobsDataPlane) UpdateJobExecutionRequest(input *UpdateJobExecutionIn // API operation UpdateJobExecution for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The contents of the request were invalid. For example, this code is returned -// when an UpdateJobExecution request contains invalid status details. The message -// contains details about the error. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidRequestException +// The contents of the request were invalid. For example, this code is returned +// when an UpdateJobExecution request contains invalid status details. The message +// contains details about the error. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceUnavailableException -// The service is temporarily unavailable. +// - ServiceUnavailableException +// The service is temporarily unavailable. // -// * CertificateValidationException -// The certificate is invalid. +// - CertificateValidationException +// The certificate is invalid. // -// * InvalidStateTransitionException -// An update attempted to change the job execution to a state that is invalid -// because of the job execution's current state (for example, an attempt to -// change a request in state SUCCESS to state IN_PROGRESS). In this case, the -// body of the error message also contains the executionState field. +// - InvalidStateTransitionException +// An update attempted to change the job execution to a state that is invalid +// because of the job execution's current state (for example, an attempt to +// change a request in state SUCCESS to state IN_PROGRESS). In this case, the +// body of the error message also contains the executionState field. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iot-jobs-data-2017-09-29/UpdateJobExecution func (c *IoTJobsDataPlane) UpdateJobExecution(input *UpdateJobExecutionInput) (*UpdateJobExecutionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/doc.go index 85f37cc06ad2..f644591b9609 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/doc.go @@ -25,7 +25,7 @@ // See iotjobsdataplane package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/iotjobsdataplane/ // -// Using the Client +// # Using the Client // // To contact AWS IoT Jobs Data Plane with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/iotjobsdataplaneiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/iotjobsdataplaneiface/interface.go index e70ab93127d0..dc63f21018b0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/iotjobsdataplaneiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/iotjobsdataplaneiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT Jobs Data Plane. -// func myFunc(svc iotjobsdataplaneiface.IoTJobsDataPlaneAPI) bool { -// // Make svc.DescribeJobExecution request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT Jobs Data Plane. +// func myFunc(svc iotjobsdataplaneiface.IoTJobsDataPlaneAPI) bool { +// // Make svc.DescribeJobExecution request +// } // -// func main() { -// sess := session.New() -// svc := iotjobsdataplane.New(sess) +// func main() { +// sess := session.New() +// svc := iotjobsdataplane.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIoTJobsDataPlaneClient struct { -// iotjobsdataplaneiface.IoTJobsDataPlaneAPI -// } -// func (m *mockIoTJobsDataPlaneClient) DescribeJobExecution(input *iotjobsdataplane.DescribeJobExecutionInput) (*iotjobsdataplane.DescribeJobExecutionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIoTJobsDataPlaneClient struct { +// iotjobsdataplaneiface.IoTJobsDataPlaneAPI +// } +// func (m *mockIoTJobsDataPlaneClient) DescribeJobExecution(input *iotjobsdataplane.DescribeJobExecutionInput) (*iotjobsdataplane.DescribeJobExecutionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIoTJobsDataPlaneClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIoTJobsDataPlaneClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/service.go index 5c38bb61d8cb..0cb32090da48 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotjobsdataplane/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IoTJobsDataPlane client from just a session. -// svc := iotjobsdataplane.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IoTJobsDataPlane client with additional configuration -// svc := iotjobsdataplane.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IoTJobsDataPlane client from just a session. +// svc := iotjobsdataplane.New(mySession) +// +// // Create a IoTJobsDataPlane client with additional configuration +// svc := iotjobsdataplane.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoTJobsDataPlane { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/api.go index 3b01f5005fef..d61880769e7a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/api.go @@ -29,14 +29,13 @@ const opCloseTunnel = "CloseTunnel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CloseTunnelRequest method. +// req, resp := client.CloseTunnelRequest(params) // -// // Example sending a request using the CloseTunnelRequest method. -// req, resp := client.CloseTunnelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05/CloseTunnel func (c *IoTSecureTunneling) CloseTunnelRequest(input *CloseTunnelInput) (req *request.Request, output *CloseTunnelOutput) { @@ -73,8 +72,8 @@ func (c *IoTSecureTunneling) CloseTunnelRequest(input *CloseTunnelInput) (req *r // API operation CloseTunnel for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Thrown when an operation is attempted on a resource that does not exist. +// - ResourceNotFoundException +// Thrown when an operation is attempted on a resource that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05/CloseTunnel func (c *IoTSecureTunneling) CloseTunnel(input *CloseTunnelInput) (*CloseTunnelOutput, error) { @@ -114,14 +113,13 @@ const opDescribeTunnel = "DescribeTunnel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTunnelRequest method. +// req, resp := client.DescribeTunnelRequest(params) // -// // Example sending a request using the DescribeTunnelRequest method. -// req, resp := client.DescribeTunnelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05/DescribeTunnel func (c *IoTSecureTunneling) DescribeTunnelRequest(input *DescribeTunnelInput) (req *request.Request, output *DescribeTunnelOutput) { @@ -155,8 +153,8 @@ func (c *IoTSecureTunneling) DescribeTunnelRequest(input *DescribeTunnelInput) ( // API operation DescribeTunnel for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Thrown when an operation is attempted on a resource that does not exist. +// - ResourceNotFoundException +// Thrown when an operation is attempted on a resource that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05/DescribeTunnel func (c *IoTSecureTunneling) DescribeTunnel(input *DescribeTunnelInput) (*DescribeTunnelOutput, error) { @@ -196,14 +194,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05/ListTagsForResource func (c *IoTSecureTunneling) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -234,8 +231,8 @@ func (c *IoTSecureTunneling) ListTagsForResourceRequest(input *ListTagsForResour // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Thrown when an operation is attempted on a resource that does not exist. +// - ResourceNotFoundException +// Thrown when an operation is attempted on a resource that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05/ListTagsForResource func (c *IoTSecureTunneling) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -275,14 +272,13 @@ const opListTunnels = "ListTunnels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTunnelsRequest method. +// req, resp := client.ListTunnelsRequest(params) // -// // Example sending a request using the ListTunnelsRequest method. -// req, resp := client.ListTunnelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05/ListTunnels func (c *IoTSecureTunneling) ListTunnelsRequest(input *ListTunnelsInput) (req *request.Request, output *ListTunnelsOutput) { @@ -352,15 +348,14 @@ func (c *IoTSecureTunneling) ListTunnelsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTunnels operation. -// pageNum := 0 -// err := client.ListTunnelsPages(params, -// func(page *iotsecuretunneling.ListTunnelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTunnels operation. +// pageNum := 0 +// err := client.ListTunnelsPages(params, +// func(page *iotsecuretunneling.ListTunnelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSecureTunneling) ListTunnelsPages(input *ListTunnelsInput, fn func(*ListTunnelsOutput, bool) bool) error { return c.ListTunnelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -412,14 +407,13 @@ const opOpenTunnel = "OpenTunnel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OpenTunnelRequest method. +// req, resp := client.OpenTunnelRequest(params) // -// // Example sending a request using the OpenTunnelRequest method. -// req, resp := client.OpenTunnelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05/OpenTunnel func (c *IoTSecureTunneling) OpenTunnelRequest(input *OpenTunnelInput) (req *request.Request, output *OpenTunnelOutput) { @@ -454,8 +448,8 @@ func (c *IoTSecureTunneling) OpenTunnelRequest(input *OpenTunnelInput) (req *req // API operation OpenTunnel for usage and error information. // // Returned Error Types: -// * LimitExceededException -// Thrown when a tunnel limit is exceeded. +// - LimitExceededException +// Thrown when a tunnel limit is exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05/OpenTunnel func (c *IoTSecureTunneling) OpenTunnel(input *OpenTunnelInput) (*OpenTunnelOutput, error) { @@ -495,14 +489,13 @@ const opRotateTunnelAccessToken = "RotateTunnelAccessToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RotateTunnelAccessTokenRequest method. +// req, resp := client.RotateTunnelAccessTokenRequest(params) // -// // Example sending a request using the RotateTunnelAccessTokenRequest method. -// req, resp := client.RotateTunnelAccessTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05/RotateTunnelAccessToken func (c *IoTSecureTunneling) RotateTunnelAccessTokenRequest(input *RotateTunnelAccessTokenInput) (req *request.Request, output *RotateTunnelAccessTokenOutput) { @@ -542,8 +535,8 @@ func (c *IoTSecureTunneling) RotateTunnelAccessTokenRequest(input *RotateTunnelA // API operation RotateTunnelAccessToken for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Thrown when an operation is attempted on a resource that does not exist. +// - ResourceNotFoundException +// Thrown when an operation is attempted on a resource that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05/RotateTunnelAccessToken func (c *IoTSecureTunneling) RotateTunnelAccessToken(input *RotateTunnelAccessTokenInput) (*RotateTunnelAccessTokenOutput, error) { @@ -583,14 +576,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05/TagResource func (c *IoTSecureTunneling) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -622,8 +614,8 @@ func (c *IoTSecureTunneling) TagResourceRequest(input *TagResourceInput) (req *r // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Thrown when an operation is attempted on a resource that does not exist. +// - ResourceNotFoundException +// Thrown when an operation is attempted on a resource that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05/TagResource func (c *IoTSecureTunneling) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -663,14 +655,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05/UntagResource func (c *IoTSecureTunneling) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -702,8 +693,8 @@ func (c *IoTSecureTunneling) UntagResourceRequest(input *UntagResourceInput) (re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Thrown when an operation is attempted on a resource that does not exist. +// - ResourceNotFoundException +// Thrown when an operation is attempted on a resource that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsecuretunneling-2018-10-05/UntagResource func (c *IoTSecureTunneling) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/doc.go index a196bd5e356c..4f627844206f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/doc.go @@ -14,7 +14,7 @@ // See iotsecuretunneling package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/iotsecuretunneling/ // -// Using the Client +// # Using the Client // // To contact AWS IoT Secure Tunneling with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/iotsecuretunnelingiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/iotsecuretunnelingiface/interface.go index 22deb2ecb4f7..e7bec38152ed 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/iotsecuretunnelingiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/iotsecuretunnelingiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT Secure Tunneling. -// func myFunc(svc iotsecuretunnelingiface.IoTSecureTunnelingAPI) bool { -// // Make svc.CloseTunnel request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT Secure Tunneling. +// func myFunc(svc iotsecuretunnelingiface.IoTSecureTunnelingAPI) bool { +// // Make svc.CloseTunnel request +// } // -// func main() { -// sess := session.New() -// svc := iotsecuretunneling.New(sess) +// func main() { +// sess := session.New() +// svc := iotsecuretunneling.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIoTSecureTunnelingClient struct { -// iotsecuretunnelingiface.IoTSecureTunnelingAPI -// } -// func (m *mockIoTSecureTunnelingClient) CloseTunnel(input *iotsecuretunneling.CloseTunnelInput) (*iotsecuretunneling.CloseTunnelOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIoTSecureTunnelingClient struct { +// iotsecuretunnelingiface.IoTSecureTunnelingAPI +// } +// func (m *mockIoTSecureTunnelingClient) CloseTunnel(input *iotsecuretunneling.CloseTunnelInput) (*iotsecuretunneling.CloseTunnelOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIoTSecureTunnelingClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIoTSecureTunnelingClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/service.go index 015c8cdb09a5..b4ae9dd5048d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsecuretunneling/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IoTSecureTunneling client from just a session. -// svc := iotsecuretunneling.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IoTSecureTunneling client with additional configuration -// svc := iotsecuretunneling.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IoTSecureTunneling client from just a session. +// svc := iotsecuretunneling.New(mySession) +// +// // Create a IoTSecureTunneling client with additional configuration +// svc := iotsecuretunneling.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoTSecureTunneling { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/api.go index 73efe8e8f27b..61611af207a8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/api.go @@ -29,14 +29,13 @@ const opAssociateAssets = "AssociateAssets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateAssetsRequest method. +// req, resp := client.AssociateAssetsRequest(params) // -// // Example sending a request using the AssociateAssetsRequest method. -// req, resp := client.AssociateAssetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/AssociateAssets func (c *IoTSiteWise) AssociateAssetsRequest(input *AssociateAssetsInput) (req *request.Request, output *AssociateAssetsOutput) { @@ -73,35 +72,36 @@ func (c *IoTSiteWise) AssociateAssetsRequest(input *AssociateAssetsInput) (req * // API operation AssociateAssets for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/AssociateAssets func (c *IoTSiteWise) AssociateAssets(input *AssociateAssetsInput) (*AssociateAssetsOutput, error) { @@ -141,14 +141,13 @@ const opAssociateTimeSeriesToAssetProperty = "AssociateTimeSeriesToAssetProperty // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateTimeSeriesToAssetPropertyRequest method. +// req, resp := client.AssociateTimeSeriesToAssetPropertyRequest(params) // -// // Example sending a request using the AssociateTimeSeriesToAssetPropertyRequest method. -// req, resp := client.AssociateTimeSeriesToAssetPropertyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/AssociateTimeSeriesToAssetProperty func (c *IoTSiteWise) AssociateTimeSeriesToAssetPropertyRequest(input *AssociateTimeSeriesToAssetPropertyInput) (req *request.Request, output *AssociateTimeSeriesToAssetPropertyOutput) { @@ -182,27 +181,28 @@ func (c *IoTSiteWise) AssociateTimeSeriesToAssetPropertyRequest(input *Associate // API operation AssociateTimeSeriesToAssetProperty for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. +// +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/AssociateTimeSeriesToAssetProperty func (c *IoTSiteWise) AssociateTimeSeriesToAssetProperty(input *AssociateTimeSeriesToAssetPropertyInput) (*AssociateTimeSeriesToAssetPropertyOutput, error) { @@ -242,14 +242,13 @@ const opBatchAssociateProjectAssets = "BatchAssociateProjectAssets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchAssociateProjectAssetsRequest method. +// req, resp := client.BatchAssociateProjectAssetsRequest(params) // -// // Example sending a request using the BatchAssociateProjectAssetsRequest method. -// req, resp := client.BatchAssociateProjectAssetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchAssociateProjectAssets func (c *IoTSiteWise) BatchAssociateProjectAssetsRequest(input *BatchAssociateProjectAssetsInput) (req *request.Request, output *BatchAssociateProjectAssetsOutput) { @@ -282,31 +281,32 @@ func (c *IoTSiteWise) BatchAssociateProjectAssetsRequest(input *BatchAssociatePr // API operation BatchAssociateProjectAssets for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchAssociateProjectAssets func (c *IoTSiteWise) BatchAssociateProjectAssets(input *BatchAssociateProjectAssetsInput) (*BatchAssociateProjectAssetsOutput, error) { @@ -346,14 +346,13 @@ const opBatchDisassociateProjectAssets = "BatchDisassociateProjectAssets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDisassociateProjectAssetsRequest method. +// req, resp := client.BatchDisassociateProjectAssetsRequest(params) // -// // Example sending a request using the BatchDisassociateProjectAssetsRequest method. -// req, resp := client.BatchDisassociateProjectAssetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchDisassociateProjectAssets func (c *IoTSiteWise) BatchDisassociateProjectAssetsRequest(input *BatchDisassociateProjectAssetsInput) (req *request.Request, output *BatchDisassociateProjectAssetsOutput) { @@ -386,23 +385,24 @@ func (c *IoTSiteWise) BatchDisassociateProjectAssetsRequest(input *BatchDisassoc // API operation BatchDisassociateProjectAssets for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchDisassociateProjectAssets func (c *IoTSiteWise) BatchDisassociateProjectAssets(input *BatchDisassociateProjectAssetsInput) (*BatchDisassociateProjectAssetsOutput, error) { @@ -442,14 +442,13 @@ const opBatchGetAssetPropertyAggregates = "BatchGetAssetPropertyAggregates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetAssetPropertyAggregatesRequest method. +// req, resp := client.BatchGetAssetPropertyAggregatesRequest(params) // -// // Example sending a request using the BatchGetAssetPropertyAggregatesRequest method. -// req, resp := client.BatchGetAssetPropertyAggregatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchGetAssetPropertyAggregates func (c *IoTSiteWise) BatchGetAssetPropertyAggregatesRequest(input *BatchGetAssetPropertyAggregatesInput) (req *request.Request, output *BatchGetAssetPropertyAggregatesOutput) { @@ -490,23 +489,24 @@ func (c *IoTSiteWise) BatchGetAssetPropertyAggregatesRequest(input *BatchGetAsse // API operation BatchGetAssetPropertyAggregates for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ServiceUnavailableException -// The requested service is unavailable. +// - ServiceUnavailableException +// The requested service is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchGetAssetPropertyAggregates func (c *IoTSiteWise) BatchGetAssetPropertyAggregates(input *BatchGetAssetPropertyAggregatesInput) (*BatchGetAssetPropertyAggregatesOutput, error) { @@ -538,15 +538,14 @@ func (c *IoTSiteWise) BatchGetAssetPropertyAggregatesWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a BatchGetAssetPropertyAggregates operation. -// pageNum := 0 -// err := client.BatchGetAssetPropertyAggregatesPages(params, -// func(page *iotsitewise.BatchGetAssetPropertyAggregatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a BatchGetAssetPropertyAggregates operation. +// pageNum := 0 +// err := client.BatchGetAssetPropertyAggregatesPages(params, +// func(page *iotsitewise.BatchGetAssetPropertyAggregatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) BatchGetAssetPropertyAggregatesPages(input *BatchGetAssetPropertyAggregatesInput, fn func(*BatchGetAssetPropertyAggregatesOutput, bool) bool) error { return c.BatchGetAssetPropertyAggregatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -598,14 +597,13 @@ const opBatchGetAssetPropertyValue = "BatchGetAssetPropertyValue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetAssetPropertyValueRequest method. +// req, resp := client.BatchGetAssetPropertyValueRequest(params) // -// // Example sending a request using the BatchGetAssetPropertyValueRequest method. -// req, resp := client.BatchGetAssetPropertyValueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchGetAssetPropertyValue func (c *IoTSiteWise) BatchGetAssetPropertyValueRequest(input *BatchGetAssetPropertyValueInput) (req *request.Request, output *BatchGetAssetPropertyValueOutput) { @@ -646,23 +644,24 @@ func (c *IoTSiteWise) BatchGetAssetPropertyValueRequest(input *BatchGetAssetProp // API operation BatchGetAssetPropertyValue for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ServiceUnavailableException -// The requested service is unavailable. +// - ServiceUnavailableException +// The requested service is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchGetAssetPropertyValue func (c *IoTSiteWise) BatchGetAssetPropertyValue(input *BatchGetAssetPropertyValueInput) (*BatchGetAssetPropertyValueOutput, error) { @@ -694,15 +693,14 @@ func (c *IoTSiteWise) BatchGetAssetPropertyValueWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a BatchGetAssetPropertyValue operation. -// pageNum := 0 -// err := client.BatchGetAssetPropertyValuePages(params, -// func(page *iotsitewise.BatchGetAssetPropertyValueOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a BatchGetAssetPropertyValue operation. +// pageNum := 0 +// err := client.BatchGetAssetPropertyValuePages(params, +// func(page *iotsitewise.BatchGetAssetPropertyValueOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) BatchGetAssetPropertyValuePages(input *BatchGetAssetPropertyValueInput, fn func(*BatchGetAssetPropertyValueOutput, bool) bool) error { return c.BatchGetAssetPropertyValuePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -754,14 +752,13 @@ const opBatchGetAssetPropertyValueHistory = "BatchGetAssetPropertyValueHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetAssetPropertyValueHistoryRequest method. +// req, resp := client.BatchGetAssetPropertyValueHistoryRequest(params) // -// // Example sending a request using the BatchGetAssetPropertyValueHistoryRequest method. -// req, resp := client.BatchGetAssetPropertyValueHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchGetAssetPropertyValueHistory func (c *IoTSiteWise) BatchGetAssetPropertyValueHistoryRequest(input *BatchGetAssetPropertyValueHistoryInput) (req *request.Request, output *BatchGetAssetPropertyValueHistoryOutput) { @@ -802,23 +799,24 @@ func (c *IoTSiteWise) BatchGetAssetPropertyValueHistoryRequest(input *BatchGetAs // API operation BatchGetAssetPropertyValueHistory for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * ServiceUnavailableException -// The requested service is unavailable. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. +// +// - ServiceUnavailableException +// The requested service is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchGetAssetPropertyValueHistory func (c *IoTSiteWise) BatchGetAssetPropertyValueHistory(input *BatchGetAssetPropertyValueHistoryInput) (*BatchGetAssetPropertyValueHistoryOutput, error) { @@ -850,15 +848,14 @@ func (c *IoTSiteWise) BatchGetAssetPropertyValueHistoryWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a BatchGetAssetPropertyValueHistory operation. -// pageNum := 0 -// err := client.BatchGetAssetPropertyValueHistoryPages(params, -// func(page *iotsitewise.BatchGetAssetPropertyValueHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a BatchGetAssetPropertyValueHistory operation. +// pageNum := 0 +// err := client.BatchGetAssetPropertyValueHistoryPages(params, +// func(page *iotsitewise.BatchGetAssetPropertyValueHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) BatchGetAssetPropertyValueHistoryPages(input *BatchGetAssetPropertyValueHistoryInput, fn func(*BatchGetAssetPropertyValueHistoryOutput, bool) bool) error { return c.BatchGetAssetPropertyValueHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -910,14 +907,13 @@ const opBatchPutAssetPropertyValue = "BatchPutAssetPropertyValue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchPutAssetPropertyValueRequest method. +// req, resp := client.BatchPutAssetPropertyValueRequest(params) // -// // Example sending a request using the BatchPutAssetPropertyValueRequest method. -// req, resp := client.BatchPutAssetPropertyValueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchPutAssetPropertyValue func (c *IoTSiteWise) BatchPutAssetPropertyValueRequest(input *BatchPutAssetPropertyValueInput) (req *request.Request, output *BatchPutAssetPropertyValueOutput) { @@ -947,10 +943,10 @@ func (c *IoTSiteWise) BatchPutAssetPropertyValueRequest(input *BatchPutAssetProp // // To identify an asset property, you must specify one of the following: // -// * The assetId and propertyId of an asset property. +// - The assetId and propertyId of an asset property. // -// * A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). -// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). +// - A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). +// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). // // With respect to Unix epoch time, IoT SiteWise accepts only TQVs that have // a timestamp of no more than 7 days in the past and no more than 10 minutes @@ -973,38 +969,39 @@ func (c *IoTSiteWise) BatchPutAssetPropertyValueRequest(input *BatchPutAssetProp // API operation BatchPutAssetPropertyValue for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. // -// * ServiceUnavailableException -// The requested service is unavailable. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ServiceUnavailableException +// The requested service is unavailable. +// +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/BatchPutAssetPropertyValue func (c *IoTSiteWise) BatchPutAssetPropertyValue(input *BatchPutAssetPropertyValueInput) (*BatchPutAssetPropertyValueOutput, error) { @@ -1044,14 +1041,13 @@ const opCreateAccessPolicy = "CreateAccessPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAccessPolicyRequest method. +// req, resp := client.CreateAccessPolicyRequest(params) // -// // Example sending a request using the CreateAccessPolicyRequest method. -// req, resp := client.CreateAccessPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateAccessPolicy func (c *IoTSiteWise) CreateAccessPolicyRequest(input *CreateAccessPolicyInput) (req *request.Request, output *CreateAccessPolicyOutput) { @@ -1086,31 +1082,32 @@ func (c *IoTSiteWise) CreateAccessPolicyRequest(input *CreateAccessPolicyInput) // API operation CreateAccessPolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateAccessPolicy func (c *IoTSiteWise) CreateAccessPolicy(input *CreateAccessPolicyInput) (*CreateAccessPolicyOutput, error) { @@ -1150,14 +1147,13 @@ const opCreateAsset = "CreateAsset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAssetRequest method. +// req, resp := client.CreateAssetRequest(params) // -// // Example sending a request using the CreateAssetRequest method. -// req, resp := client.CreateAssetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateAsset func (c *IoTSiteWise) CreateAssetRequest(input *CreateAssetInput) (req *request.Request, output *CreateAssetOutput) { @@ -1192,38 +1188,39 @@ func (c *IoTSiteWise) CreateAssetRequest(input *CreateAssetInput) (req *request. // API operation CreateAsset for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceAlreadyExistsException +// The resource already exists. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateAsset func (c *IoTSiteWise) CreateAsset(input *CreateAssetInput) (*CreateAssetOutput, error) { @@ -1263,14 +1260,13 @@ const opCreateAssetModel = "CreateAssetModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAssetModelRequest method. +// req, resp := client.CreateAssetModelRequest(params) // -// // Example sending a request using the CreateAssetModelRequest method. -// req, resp := client.CreateAssetModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateAssetModel func (c *IoTSiteWise) CreateAssetModelRequest(input *CreateAssetModelInput) (req *request.Request, output *CreateAssetModelOutput) { @@ -1308,38 +1304,39 @@ func (c *IoTSiteWise) CreateAssetModelRequest(input *CreateAssetModelInput) (req // API operation CreateAssetModel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceAlreadyExistsException +// The resource already exists. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateAssetModel func (c *IoTSiteWise) CreateAssetModel(input *CreateAssetModelInput) (*CreateAssetModelOutput, error) { @@ -1379,14 +1376,13 @@ const opCreateDashboard = "CreateDashboard" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDashboardRequest method. +// req, resp := client.CreateDashboardRequest(params) // -// // Example sending a request using the CreateDashboardRequest method. -// req, resp := client.CreateDashboardRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateDashboard func (c *IoTSiteWise) CreateDashboardRequest(input *CreateDashboardInput) (req *request.Request, output *CreateDashboardOutput) { @@ -1419,31 +1415,32 @@ func (c *IoTSiteWise) CreateDashboardRequest(input *CreateDashboardInput) (req * // API operation CreateDashboard for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateDashboard func (c *IoTSiteWise) CreateDashboard(input *CreateDashboardInput) (*CreateDashboardOutput, error) { @@ -1483,14 +1480,13 @@ const opCreateGateway = "CreateGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGatewayRequest method. +// req, resp := client.CreateGatewayRequest(params) // -// // Example sending a request using the CreateGatewayRequest method. -// req, resp := client.CreateGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateGateway func (c *IoTSiteWise) CreateGatewayRequest(input *CreateGatewayInput) (req *request.Request, output *CreateGatewayOutput) { @@ -1526,31 +1522,32 @@ func (c *IoTSiteWise) CreateGatewayRequest(input *CreateGatewayInput) (req *requ // API operation CreateGateway for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateGateway func (c *IoTSiteWise) CreateGateway(input *CreateGatewayInput) (*CreateGatewayOutput, error) { @@ -1590,14 +1587,13 @@ const opCreatePortal = "CreatePortal" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePortalRequest method. +// req, resp := client.CreatePortalRequest(params) // -// // Example sending a request using the CreatePortalRequest method. -// req, resp := client.CreatePortalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreatePortal func (c *IoTSiteWise) CreatePortalRequest(input *CreatePortalInput) (req *request.Request, output *CreatePortalOutput) { @@ -1637,31 +1633,32 @@ func (c *IoTSiteWise) CreatePortalRequest(input *CreatePortalInput) (req *reques // API operation CreatePortal for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreatePortal func (c *IoTSiteWise) CreatePortal(input *CreatePortalInput) (*CreatePortalOutput, error) { @@ -1701,14 +1698,13 @@ const opCreateProject = "CreateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProjectRequest method. +// req, resp := client.CreateProjectRequest(params) // -// // Example sending a request using the CreateProjectRequest method. -// req, resp := client.CreateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateProject func (c *IoTSiteWise) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) { @@ -1744,31 +1740,32 @@ func (c *IoTSiteWise) CreateProjectRequest(input *CreateProjectInput) (req *requ // API operation CreateProject for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/CreateProject func (c *IoTSiteWise) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) { @@ -1808,14 +1805,13 @@ const opDeleteAccessPolicy = "DeleteAccessPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccessPolicyRequest method. +// req, resp := client.DeleteAccessPolicyRequest(params) // -// // Example sending a request using the DeleteAccessPolicyRequest method. -// req, resp := client.DeleteAccessPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteAccessPolicy func (c *IoTSiteWise) DeleteAccessPolicyRequest(input *DeleteAccessPolicyInput) (req *request.Request, output *DeleteAccessPolicyOutput) { @@ -1851,23 +1847,24 @@ func (c *IoTSiteWise) DeleteAccessPolicyRequest(input *DeleteAccessPolicyInput) // API operation DeleteAccessPolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteAccessPolicy func (c *IoTSiteWise) DeleteAccessPolicy(input *DeleteAccessPolicyInput) (*DeleteAccessPolicyOutput, error) { @@ -1907,14 +1904,13 @@ const opDeleteAsset = "DeleteAsset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAssetRequest method. +// req, resp := client.DeleteAssetRequest(params) // -// // Example sending a request using the DeleteAssetRequest method. -// req, resp := client.DeleteAssetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteAsset func (c *IoTSiteWise) DeleteAssetRequest(input *DeleteAssetInput) (req *request.Request, output *DeleteAssetOutput) { @@ -1952,27 +1948,28 @@ func (c *IoTSiteWise) DeleteAssetRequest(input *DeleteAssetInput) (req *request. // API operation DeleteAsset for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteAsset func (c *IoTSiteWise) DeleteAsset(input *DeleteAssetInput) (*DeleteAssetOutput, error) { @@ -2012,14 +2009,13 @@ const opDeleteAssetModel = "DeleteAssetModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAssetModelRequest method. +// req, resp := client.DeleteAssetModelRequest(params) // -// // Example sending a request using the DeleteAssetModelRequest method. -// req, resp := client.DeleteAssetModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteAssetModel func (c *IoTSiteWise) DeleteAssetModelRequest(input *DeleteAssetModelInput) (req *request.Request, output *DeleteAssetModelOutput) { @@ -2057,27 +2053,28 @@ func (c *IoTSiteWise) DeleteAssetModelRequest(input *DeleteAssetModelInput) (req // API operation DeleteAssetModel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteAssetModel func (c *IoTSiteWise) DeleteAssetModel(input *DeleteAssetModelInput) (*DeleteAssetModelOutput, error) { @@ -2117,14 +2114,13 @@ const opDeleteDashboard = "DeleteDashboard" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDashboardRequest method. +// req, resp := client.DeleteDashboardRequest(params) // -// // Example sending a request using the DeleteDashboardRequest method. -// req, resp := client.DeleteDashboardRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteDashboard func (c *IoTSiteWise) DeleteDashboardRequest(input *DeleteDashboardInput) (req *request.Request, output *DeleteDashboardOutput) { @@ -2158,23 +2154,24 @@ func (c *IoTSiteWise) DeleteDashboardRequest(input *DeleteDashboardInput) (req * // API operation DeleteDashboard for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteDashboard func (c *IoTSiteWise) DeleteDashboard(input *DeleteDashboardInput) (*DeleteDashboardOutput, error) { @@ -2214,14 +2211,13 @@ const opDeleteGateway = "DeleteGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGatewayRequest method. +// req, resp := client.DeleteGatewayRequest(params) // -// // Example sending a request using the DeleteGatewayRequest method. -// req, resp := client.DeleteGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteGateway func (c *IoTSiteWise) DeleteGatewayRequest(input *DeleteGatewayInput) (req *request.Request, output *DeleteGatewayOutput) { @@ -2256,23 +2252,24 @@ func (c *IoTSiteWise) DeleteGatewayRequest(input *DeleteGatewayInput) (req *requ // API operation DeleteGateway for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteGateway func (c *IoTSiteWise) DeleteGateway(input *DeleteGatewayInput) (*DeleteGatewayOutput, error) { @@ -2312,14 +2309,13 @@ const opDeletePortal = "DeletePortal" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePortalRequest method. +// req, resp := client.DeletePortalRequest(params) // -// // Example sending a request using the DeletePortalRequest method. -// req, resp := client.DeletePortalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeletePortal func (c *IoTSiteWise) DeletePortalRequest(input *DeletePortalInput) (req *request.Request, output *DeletePortalOutput) { @@ -2352,27 +2348,28 @@ func (c *IoTSiteWise) DeletePortalRequest(input *DeletePortalInput) (req *reques // API operation DeletePortal for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. +// +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeletePortal func (c *IoTSiteWise) DeletePortal(input *DeletePortalInput) (*DeletePortalOutput, error) { @@ -2412,14 +2409,13 @@ const opDeleteProject = "DeleteProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProjectRequest method. +// req, resp := client.DeleteProjectRequest(params) // -// // Example sending a request using the DeleteProjectRequest method. -// req, resp := client.DeleteProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteProject func (c *IoTSiteWise) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) { @@ -2453,23 +2449,24 @@ func (c *IoTSiteWise) DeleteProjectRequest(input *DeleteProjectInput) (req *requ // API operation DeleteProject for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteProject func (c *IoTSiteWise) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) { @@ -2509,14 +2506,13 @@ const opDeleteTimeSeries = "DeleteTimeSeries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTimeSeriesRequest method. +// req, resp := client.DeleteTimeSeriesRequest(params) // -// // Example sending a request using the DeleteTimeSeriesRequest method. -// req, resp := client.DeleteTimeSeriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteTimeSeries func (c *IoTSiteWise) DeleteTimeSeriesRequest(input *DeleteTimeSeriesInput) (req *request.Request, output *DeleteTimeSeriesOutput) { @@ -2546,12 +2542,12 @@ func (c *IoTSiteWise) DeleteTimeSeriesRequest(input *DeleteTimeSeriesInput) (req // // To identify a time series, do one of the following: // -// * If the time series isn't associated with an asset property, specify -// the alias of the time series. +// - If the time series isn't associated with an asset property, specify +// the alias of the time series. // -// * If the time series is associated with an asset property, specify one -// of the following: The alias of the time series. The assetId and propertyId -// that identifies the asset property. +// - If the time series is associated with an asset property, specify one +// of the following: The alias of the time series. The assetId and propertyId +// that identifies the asset property. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2561,27 +2557,28 @@ func (c *IoTSiteWise) DeleteTimeSeriesRequest(input *DeleteTimeSeriesInput) (req // API operation DeleteTimeSeries for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DeleteTimeSeries func (c *IoTSiteWise) DeleteTimeSeries(input *DeleteTimeSeriesInput) (*DeleteTimeSeriesOutput, error) { @@ -2621,14 +2618,13 @@ const opDescribeAccessPolicy = "DescribeAccessPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccessPolicyRequest method. +// req, resp := client.DescribeAccessPolicyRequest(params) // -// // Example sending a request using the DescribeAccessPolicyRequest method. -// req, resp := client.DescribeAccessPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAccessPolicy func (c *IoTSiteWise) DescribeAccessPolicyRequest(input *DescribeAccessPolicyInput) (req *request.Request, output *DescribeAccessPolicyOutput) { @@ -2662,23 +2658,24 @@ func (c *IoTSiteWise) DescribeAccessPolicyRequest(input *DescribeAccessPolicyInp // API operation DescribeAccessPolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAccessPolicy func (c *IoTSiteWise) DescribeAccessPolicy(input *DescribeAccessPolicyInput) (*DescribeAccessPolicyOutput, error) { @@ -2718,14 +2715,13 @@ const opDescribeAsset = "DescribeAsset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAssetRequest method. +// req, resp := client.DescribeAssetRequest(params) // -// // Example sending a request using the DescribeAssetRequest method. -// req, resp := client.DescribeAssetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAsset func (c *IoTSiteWise) DescribeAssetRequest(input *DescribeAssetInput) (req *request.Request, output *DescribeAssetOutput) { @@ -2758,23 +2754,24 @@ func (c *IoTSiteWise) DescribeAssetRequest(input *DescribeAssetInput) (req *requ // API operation DescribeAsset for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAsset func (c *IoTSiteWise) DescribeAsset(input *DescribeAssetInput) (*DescribeAssetOutput, error) { @@ -2814,14 +2811,13 @@ const opDescribeAssetModel = "DescribeAssetModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAssetModelRequest method. +// req, resp := client.DescribeAssetModelRequest(params) // -// // Example sending a request using the DescribeAssetModelRequest method. -// req, resp := client.DescribeAssetModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAssetModel func (c *IoTSiteWise) DescribeAssetModelRequest(input *DescribeAssetModelInput) (req *request.Request, output *DescribeAssetModelOutput) { @@ -2854,23 +2850,24 @@ func (c *IoTSiteWise) DescribeAssetModelRequest(input *DescribeAssetModelInput) // API operation DescribeAssetModel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAssetModel func (c *IoTSiteWise) DescribeAssetModel(input *DescribeAssetModelInput) (*DescribeAssetModelOutput, error) { @@ -2910,14 +2907,13 @@ const opDescribeAssetProperty = "DescribeAssetProperty" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAssetPropertyRequest method. +// req, resp := client.DescribeAssetPropertyRequest(params) // -// // Example sending a request using the DescribeAssetPropertyRequest method. -// req, resp := client.DescribeAssetPropertyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAssetProperty func (c *IoTSiteWise) DescribeAssetPropertyRequest(input *DescribeAssetPropertyInput) (req *request.Request, output *DescribeAssetPropertyOutput) { @@ -2958,23 +2954,24 @@ func (c *IoTSiteWise) DescribeAssetPropertyRequest(input *DescribeAssetPropertyI // API operation DescribeAssetProperty for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeAssetProperty func (c *IoTSiteWise) DescribeAssetProperty(input *DescribeAssetPropertyInput) (*DescribeAssetPropertyOutput, error) { @@ -3014,14 +3011,13 @@ const opDescribeDashboard = "DescribeDashboard" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDashboardRequest method. +// req, resp := client.DescribeDashboardRequest(params) // -// // Example sending a request using the DescribeDashboardRequest method. -// req, resp := client.DescribeDashboardRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeDashboard func (c *IoTSiteWise) DescribeDashboardRequest(input *DescribeDashboardInput) (req *request.Request, output *DescribeDashboardOutput) { @@ -3054,23 +3050,24 @@ func (c *IoTSiteWise) DescribeDashboardRequest(input *DescribeDashboardInput) (r // API operation DescribeDashboard for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeDashboard func (c *IoTSiteWise) DescribeDashboard(input *DescribeDashboardInput) (*DescribeDashboardOutput, error) { @@ -3110,14 +3107,13 @@ const opDescribeDefaultEncryptionConfiguration = "DescribeDefaultEncryptionConfi // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDefaultEncryptionConfigurationRequest method. +// req, resp := client.DescribeDefaultEncryptionConfigurationRequest(params) // -// // Example sending a request using the DescribeDefaultEncryptionConfigurationRequest method. -// req, resp := client.DescribeDefaultEncryptionConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeDefaultEncryptionConfiguration func (c *IoTSiteWise) DescribeDefaultEncryptionConfigurationRequest(input *DescribeDefaultEncryptionConfigurationInput) (req *request.Request, output *DescribeDefaultEncryptionConfigurationOutput) { @@ -3153,20 +3149,21 @@ func (c *IoTSiteWise) DescribeDefaultEncryptionConfigurationRequest(input *Descr // API operation DescribeDefaultEncryptionConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeDefaultEncryptionConfiguration func (c *IoTSiteWise) DescribeDefaultEncryptionConfiguration(input *DescribeDefaultEncryptionConfigurationInput) (*DescribeDefaultEncryptionConfigurationOutput, error) { @@ -3206,14 +3203,13 @@ const opDescribeGateway = "DescribeGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGatewayRequest method. +// req, resp := client.DescribeGatewayRequest(params) // -// // Example sending a request using the DescribeGatewayRequest method. -// req, resp := client.DescribeGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeGateway func (c *IoTSiteWise) DescribeGatewayRequest(input *DescribeGatewayInput) (req *request.Request, output *DescribeGatewayOutput) { @@ -3246,23 +3242,24 @@ func (c *IoTSiteWise) DescribeGatewayRequest(input *DescribeGatewayInput) (req * // API operation DescribeGateway for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeGateway func (c *IoTSiteWise) DescribeGateway(input *DescribeGatewayInput) (*DescribeGatewayOutput, error) { @@ -3302,14 +3299,13 @@ const opDescribeGatewayCapabilityConfiguration = "DescribeGatewayCapabilityConfi // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGatewayCapabilityConfigurationRequest method. +// req, resp := client.DescribeGatewayCapabilityConfigurationRequest(params) // -// // Example sending a request using the DescribeGatewayCapabilityConfigurationRequest method. -// req, resp := client.DescribeGatewayCapabilityConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeGatewayCapabilityConfiguration func (c *IoTSiteWise) DescribeGatewayCapabilityConfigurationRequest(input *DescribeGatewayCapabilityConfigurationInput) (req *request.Request, output *DescribeGatewayCapabilityConfigurationOutput) { @@ -3347,23 +3343,24 @@ func (c *IoTSiteWise) DescribeGatewayCapabilityConfigurationRequest(input *Descr // API operation DescribeGatewayCapabilityConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeGatewayCapabilityConfiguration func (c *IoTSiteWise) DescribeGatewayCapabilityConfiguration(input *DescribeGatewayCapabilityConfigurationInput) (*DescribeGatewayCapabilityConfigurationOutput, error) { @@ -3403,14 +3400,13 @@ const opDescribeLoggingOptions = "DescribeLoggingOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLoggingOptionsRequest method. +// req, resp := client.DescribeLoggingOptionsRequest(params) // -// // Example sending a request using the DescribeLoggingOptionsRequest method. -// req, resp := client.DescribeLoggingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeLoggingOptions func (c *IoTSiteWise) DescribeLoggingOptionsRequest(input *DescribeLoggingOptionsInput) (req *request.Request, output *DescribeLoggingOptionsOutput) { @@ -3443,23 +3439,24 @@ func (c *IoTSiteWise) DescribeLoggingOptionsRequest(input *DescribeLoggingOption // API operation DescribeLoggingOptions for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. +// +// - ResourceNotFoundException +// The requested resource can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeLoggingOptions func (c *IoTSiteWise) DescribeLoggingOptions(input *DescribeLoggingOptionsInput) (*DescribeLoggingOptionsOutput, error) { @@ -3499,14 +3496,13 @@ const opDescribePortal = "DescribePortal" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePortalRequest method. +// req, resp := client.DescribePortalRequest(params) // -// // Example sending a request using the DescribePortalRequest method. -// req, resp := client.DescribePortalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribePortal func (c *IoTSiteWise) DescribePortalRequest(input *DescribePortalInput) (req *request.Request, output *DescribePortalOutput) { @@ -3539,23 +3535,24 @@ func (c *IoTSiteWise) DescribePortalRequest(input *DescribePortalInput) (req *re // API operation DescribePortal for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribePortal func (c *IoTSiteWise) DescribePortal(input *DescribePortalInput) (*DescribePortalOutput, error) { @@ -3595,14 +3592,13 @@ const opDescribeProject = "DescribeProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProjectRequest method. +// req, resp := client.DescribeProjectRequest(params) // -// // Example sending a request using the DescribeProjectRequest method. -// req, resp := client.DescribeProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeProject func (c *IoTSiteWise) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput) { @@ -3635,23 +3631,24 @@ func (c *IoTSiteWise) DescribeProjectRequest(input *DescribeProjectInput) (req * // API operation DescribeProject for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeProject func (c *IoTSiteWise) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error) { @@ -3691,14 +3688,13 @@ const opDescribeStorageConfiguration = "DescribeStorageConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStorageConfigurationRequest method. +// req, resp := client.DescribeStorageConfigurationRequest(params) // -// // Example sending a request using the DescribeStorageConfigurationRequest method. -// req, resp := client.DescribeStorageConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeStorageConfiguration func (c *IoTSiteWise) DescribeStorageConfigurationRequest(input *DescribeStorageConfigurationInput) (req *request.Request, output *DescribeStorageConfigurationOutput) { @@ -3731,35 +3727,36 @@ func (c *IoTSiteWise) DescribeStorageConfigurationRequest(input *DescribeStorage // API operation DescribeStorageConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeStorageConfiguration func (c *IoTSiteWise) DescribeStorageConfiguration(input *DescribeStorageConfigurationInput) (*DescribeStorageConfigurationOutput, error) { @@ -3799,14 +3796,13 @@ const opDescribeTimeSeries = "DescribeTimeSeries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTimeSeriesRequest method. +// req, resp := client.DescribeTimeSeriesRequest(params) // -// // Example sending a request using the DescribeTimeSeriesRequest method. -// req, resp := client.DescribeTimeSeriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeTimeSeries func (c *IoTSiteWise) DescribeTimeSeriesRequest(input *DescribeTimeSeriesInput) (req *request.Request, output *DescribeTimeSeriesOutput) { @@ -3833,12 +3829,12 @@ func (c *IoTSiteWise) DescribeTimeSeriesRequest(input *DescribeTimeSeriesInput) // // To identify a time series, do one of the following: // -// * If the time series isn't associated with an asset property, specify -// the alias of the time series. +// - If the time series isn't associated with an asset property, specify +// the alias of the time series. // -// * If the time series is associated with an asset property, specify one -// of the following: The alias of the time series. The assetId and propertyId -// that identifies the asset property. +// - If the time series is associated with an asset property, specify one +// of the following: The alias of the time series. The assetId and propertyId +// that identifies the asset property. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3848,23 +3844,24 @@ func (c *IoTSiteWise) DescribeTimeSeriesRequest(input *DescribeTimeSeriesInput) // API operation DescribeTimeSeries for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DescribeTimeSeries func (c *IoTSiteWise) DescribeTimeSeries(input *DescribeTimeSeriesInput) (*DescribeTimeSeriesOutput, error) { @@ -3904,14 +3901,13 @@ const opDisassociateAssets = "DisassociateAssets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateAssetsRequest method. +// req, resp := client.DisassociateAssetsRequest(params) // -// // Example sending a request using the DisassociateAssetsRequest method. -// req, resp := client.DisassociateAssetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DisassociateAssets func (c *IoTSiteWise) DisassociateAssetsRequest(input *DisassociateAssetsInput) (req *request.Request, output *DisassociateAssetsOutput) { @@ -3946,27 +3942,28 @@ func (c *IoTSiteWise) DisassociateAssetsRequest(input *DisassociateAssetsInput) // API operation DisassociateAssets for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DisassociateAssets func (c *IoTSiteWise) DisassociateAssets(input *DisassociateAssetsInput) (*DisassociateAssetsOutput, error) { @@ -4006,14 +4003,13 @@ const opDisassociateTimeSeriesFromAssetProperty = "DisassociateTimeSeriesFromAss // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateTimeSeriesFromAssetPropertyRequest method. +// req, resp := client.DisassociateTimeSeriesFromAssetPropertyRequest(params) // -// // Example sending a request using the DisassociateTimeSeriesFromAssetPropertyRequest method. -// req, resp := client.DisassociateTimeSeriesFromAssetPropertyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DisassociateTimeSeriesFromAssetProperty func (c *IoTSiteWise) DisassociateTimeSeriesFromAssetPropertyRequest(input *DisassociateTimeSeriesFromAssetPropertyInput) (req *request.Request, output *DisassociateTimeSeriesFromAssetPropertyOutput) { @@ -4047,27 +4043,28 @@ func (c *IoTSiteWise) DisassociateTimeSeriesFromAssetPropertyRequest(input *Disa // API operation DisassociateTimeSeriesFromAssetProperty for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/DisassociateTimeSeriesFromAssetProperty func (c *IoTSiteWise) DisassociateTimeSeriesFromAssetProperty(input *DisassociateTimeSeriesFromAssetPropertyInput) (*DisassociateTimeSeriesFromAssetPropertyOutput, error) { @@ -4107,14 +4104,13 @@ const opGetAssetPropertyAggregates = "GetAssetPropertyAggregates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssetPropertyAggregatesRequest method. +// req, resp := client.GetAssetPropertyAggregatesRequest(params) // -// // Example sending a request using the GetAssetPropertyAggregatesRequest method. -// req, resp := client.GetAssetPropertyAggregatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/GetAssetPropertyAggregates func (c *IoTSiteWise) GetAssetPropertyAggregatesRequest(input *GetAssetPropertyAggregatesInput) (req *request.Request, output *GetAssetPropertyAggregatesOutput) { @@ -4149,10 +4145,10 @@ func (c *IoTSiteWise) GetAssetPropertyAggregatesRequest(input *GetAssetPropertyA // // To identify an asset property, you must specify one of the following: // -// * The assetId and propertyId of an asset property. +// - The assetId and propertyId of an asset property. // -// * A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). -// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). +// - A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). +// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4162,26 +4158,27 @@ func (c *IoTSiteWise) GetAssetPropertyAggregatesRequest(input *GetAssetPropertyA // API operation GetAssetPropertyAggregates for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * ServiceUnavailableException -// The requested service is unavailable. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. +// +// - ServiceUnavailableException +// The requested service is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/GetAssetPropertyAggregates func (c *IoTSiteWise) GetAssetPropertyAggregates(input *GetAssetPropertyAggregatesInput) (*GetAssetPropertyAggregatesOutput, error) { @@ -4213,15 +4210,14 @@ func (c *IoTSiteWise) GetAssetPropertyAggregatesWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetAssetPropertyAggregates operation. -// pageNum := 0 -// err := client.GetAssetPropertyAggregatesPages(params, -// func(page *iotsitewise.GetAssetPropertyAggregatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetAssetPropertyAggregates operation. +// pageNum := 0 +// err := client.GetAssetPropertyAggregatesPages(params, +// func(page *iotsitewise.GetAssetPropertyAggregatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) GetAssetPropertyAggregatesPages(input *GetAssetPropertyAggregatesInput, fn func(*GetAssetPropertyAggregatesOutput, bool) bool) error { return c.GetAssetPropertyAggregatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4273,14 +4269,13 @@ const opGetAssetPropertyValue = "GetAssetPropertyValue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssetPropertyValueRequest method. +// req, resp := client.GetAssetPropertyValueRequest(params) // -// // Example sending a request using the GetAssetPropertyValueRequest method. -// req, resp := client.GetAssetPropertyValueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/GetAssetPropertyValue func (c *IoTSiteWise) GetAssetPropertyValueRequest(input *GetAssetPropertyValueInput) (req *request.Request, output *GetAssetPropertyValueOutput) { @@ -4309,10 +4304,10 @@ func (c *IoTSiteWise) GetAssetPropertyValueRequest(input *GetAssetPropertyValueI // // To identify an asset property, you must specify one of the following: // -// * The assetId and propertyId of an asset property. +// - The assetId and propertyId of an asset property. // -// * A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). -// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). +// - A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). +// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4322,26 +4317,27 @@ func (c *IoTSiteWise) GetAssetPropertyValueRequest(input *GetAssetPropertyValueI // API operation GetAssetPropertyValue for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ServiceUnavailableException -// The requested service is unavailable. +// - ServiceUnavailableException +// The requested service is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/GetAssetPropertyValue func (c *IoTSiteWise) GetAssetPropertyValue(input *GetAssetPropertyValueInput) (*GetAssetPropertyValueOutput, error) { @@ -4381,14 +4377,13 @@ const opGetAssetPropertyValueHistory = "GetAssetPropertyValueHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssetPropertyValueHistoryRequest method. +// req, resp := client.GetAssetPropertyValueHistoryRequest(params) // -// // Example sending a request using the GetAssetPropertyValueHistoryRequest method. -// req, resp := client.GetAssetPropertyValueHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/GetAssetPropertyValueHistory func (c *IoTSiteWise) GetAssetPropertyValueHistoryRequest(input *GetAssetPropertyValueHistoryInput) (req *request.Request, output *GetAssetPropertyValueHistoryOutput) { @@ -4423,10 +4418,10 @@ func (c *IoTSiteWise) GetAssetPropertyValueHistoryRequest(input *GetAssetPropert // // To identify an asset property, you must specify one of the following: // -// * The assetId and propertyId of an asset property. +// - The assetId and propertyId of an asset property. // -// * A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). -// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). +// - A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). +// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4436,26 +4431,27 @@ func (c *IoTSiteWise) GetAssetPropertyValueHistoryRequest(input *GetAssetPropert // API operation GetAssetPropertyValueHistory for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * ServiceUnavailableException -// The requested service is unavailable. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. +// +// - ServiceUnavailableException +// The requested service is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/GetAssetPropertyValueHistory func (c *IoTSiteWise) GetAssetPropertyValueHistory(input *GetAssetPropertyValueHistoryInput) (*GetAssetPropertyValueHistoryOutput, error) { @@ -4487,15 +4483,14 @@ func (c *IoTSiteWise) GetAssetPropertyValueHistoryWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetAssetPropertyValueHistory operation. -// pageNum := 0 -// err := client.GetAssetPropertyValueHistoryPages(params, -// func(page *iotsitewise.GetAssetPropertyValueHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetAssetPropertyValueHistory operation. +// pageNum := 0 +// err := client.GetAssetPropertyValueHistoryPages(params, +// func(page *iotsitewise.GetAssetPropertyValueHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) GetAssetPropertyValueHistoryPages(input *GetAssetPropertyValueHistoryInput, fn func(*GetAssetPropertyValueHistoryOutput, bool) bool) error { return c.GetAssetPropertyValueHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4547,14 +4542,13 @@ const opGetInterpolatedAssetPropertyValues = "GetInterpolatedAssetPropertyValues // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInterpolatedAssetPropertyValuesRequest method. +// req, resp := client.GetInterpolatedAssetPropertyValuesRequest(params) // -// // Example sending a request using the GetInterpolatedAssetPropertyValuesRequest method. -// req, resp := client.GetInterpolatedAssetPropertyValuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/GetInterpolatedAssetPropertyValues func (c *IoTSiteWise) GetInterpolatedAssetPropertyValuesRequest(input *GetInterpolatedAssetPropertyValuesInput) (req *request.Request, output *GetInterpolatedAssetPropertyValuesOutput) { @@ -4593,10 +4587,10 @@ func (c *IoTSiteWise) GetInterpolatedAssetPropertyValuesRequest(input *GetInterp // // To identify an asset property, you must specify one of the following: // -// * The assetId and propertyId of an asset property. +// - The assetId and propertyId of an asset property. // -// * A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). -// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). +// - A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). +// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4606,26 +4600,27 @@ func (c *IoTSiteWise) GetInterpolatedAssetPropertyValuesRequest(input *GetInterp // API operation GetInterpolatedAssetPropertyValues for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ServiceUnavailableException -// The requested service is unavailable. +// - ServiceUnavailableException +// The requested service is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/GetInterpolatedAssetPropertyValues func (c *IoTSiteWise) GetInterpolatedAssetPropertyValues(input *GetInterpolatedAssetPropertyValuesInput) (*GetInterpolatedAssetPropertyValuesOutput, error) { @@ -4657,15 +4652,14 @@ func (c *IoTSiteWise) GetInterpolatedAssetPropertyValuesWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetInterpolatedAssetPropertyValues operation. -// pageNum := 0 -// err := client.GetInterpolatedAssetPropertyValuesPages(params, -// func(page *iotsitewise.GetInterpolatedAssetPropertyValuesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetInterpolatedAssetPropertyValues operation. +// pageNum := 0 +// err := client.GetInterpolatedAssetPropertyValuesPages(params, +// func(page *iotsitewise.GetInterpolatedAssetPropertyValuesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) GetInterpolatedAssetPropertyValuesPages(input *GetInterpolatedAssetPropertyValuesInput, fn func(*GetInterpolatedAssetPropertyValuesOutput, bool) bool) error { return c.GetInterpolatedAssetPropertyValuesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4717,14 +4711,13 @@ const opListAccessPolicies = "ListAccessPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccessPoliciesRequest method. +// req, resp := client.ListAccessPoliciesRequest(params) // -// // Example sending a request using the ListAccessPoliciesRequest method. -// req, resp := client.ListAccessPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAccessPolicies func (c *IoTSiteWise) ListAccessPoliciesRequest(input *ListAccessPoliciesInput) (req *request.Request, output *ListAccessPoliciesOutput) { @@ -4765,20 +4758,21 @@ func (c *IoTSiteWise) ListAccessPoliciesRequest(input *ListAccessPoliciesInput) // API operation ListAccessPolicies for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAccessPolicies func (c *IoTSiteWise) ListAccessPolicies(input *ListAccessPoliciesInput) (*ListAccessPoliciesOutput, error) { @@ -4810,15 +4804,14 @@ func (c *IoTSiteWise) ListAccessPoliciesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccessPolicies operation. -// pageNum := 0 -// err := client.ListAccessPoliciesPages(params, -// func(page *iotsitewise.ListAccessPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccessPolicies operation. +// pageNum := 0 +// err := client.ListAccessPoliciesPages(params, +// func(page *iotsitewise.ListAccessPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) ListAccessPoliciesPages(input *ListAccessPoliciesInput, fn func(*ListAccessPoliciesOutput, bool) bool) error { return c.ListAccessPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4870,14 +4863,13 @@ const opListAssetModels = "ListAssetModels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssetModelsRequest method. +// req, resp := client.ListAssetModelsRequest(params) // -// // Example sending a request using the ListAssetModelsRequest method. -// req, resp := client.ListAssetModelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssetModels func (c *IoTSiteWise) ListAssetModelsRequest(input *ListAssetModelsInput) (req *request.Request, output *ListAssetModelsOutput) { @@ -4916,20 +4908,21 @@ func (c *IoTSiteWise) ListAssetModelsRequest(input *ListAssetModelsInput) (req * // API operation ListAssetModels for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssetModels func (c *IoTSiteWise) ListAssetModels(input *ListAssetModelsInput) (*ListAssetModelsOutput, error) { @@ -4961,15 +4954,14 @@ func (c *IoTSiteWise) ListAssetModelsWithContext(ctx aws.Context, input *ListAss // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssetModels operation. -// pageNum := 0 -// err := client.ListAssetModelsPages(params, -// func(page *iotsitewise.ListAssetModelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssetModels operation. +// pageNum := 0 +// err := client.ListAssetModelsPages(params, +// func(page *iotsitewise.ListAssetModelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) ListAssetModelsPages(input *ListAssetModelsInput, fn func(*ListAssetModelsOutput, bool) bool) error { return c.ListAssetModelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5021,14 +5013,13 @@ const opListAssetRelationships = "ListAssetRelationships" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssetRelationshipsRequest method. +// req, resp := client.ListAssetRelationshipsRequest(params) // -// // Example sending a request using the ListAssetRelationshipsRequest method. -// req, resp := client.ListAssetRelationshipsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssetRelationships func (c *IoTSiteWise) ListAssetRelationshipsRequest(input *ListAssetRelationshipsInput) (req *request.Request, output *ListAssetRelationshipsOutput) { @@ -5069,23 +5060,24 @@ func (c *IoTSiteWise) ListAssetRelationshipsRequest(input *ListAssetRelationship // API operation ListAssetRelationships for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssetRelationships func (c *IoTSiteWise) ListAssetRelationships(input *ListAssetRelationshipsInput) (*ListAssetRelationshipsOutput, error) { @@ -5117,15 +5109,14 @@ func (c *IoTSiteWise) ListAssetRelationshipsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssetRelationships operation. -// pageNum := 0 -// err := client.ListAssetRelationshipsPages(params, -// func(page *iotsitewise.ListAssetRelationshipsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssetRelationships operation. +// pageNum := 0 +// err := client.ListAssetRelationshipsPages(params, +// func(page *iotsitewise.ListAssetRelationshipsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) ListAssetRelationshipsPages(input *ListAssetRelationshipsInput, fn func(*ListAssetRelationshipsOutput, bool) bool) error { return c.ListAssetRelationshipsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5177,14 +5168,13 @@ const opListAssets = "ListAssets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssetsRequest method. +// req, resp := client.ListAssetsRequest(params) // -// // Example sending a request using the ListAssetsRequest method. -// req, resp := client.ListAssetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssets func (c *IoTSiteWise) ListAssetsRequest(input *ListAssetsInput) (req *request.Request, output *ListAssetsOutput) { @@ -5217,9 +5207,9 @@ func (c *IoTSiteWise) ListAssetsRequest(input *ListAssetsInput) (req *request.Re // // You can use this operation to do the following: // -// * List assets based on a specific asset model. +// - List assets based on a specific asset model. // -// * List top-level assets. +// - List top-level assets. // // You can't use this operation to list all assets. To retrieve summaries for // all of your assets, use ListAssetModels (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_ListAssetModels.html) @@ -5234,23 +5224,24 @@ func (c *IoTSiteWise) ListAssetsRequest(input *ListAssetsInput) (req *request.Re // API operation ListAssets for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssets func (c *IoTSiteWise) ListAssets(input *ListAssetsInput) (*ListAssetsOutput, error) { @@ -5282,15 +5273,14 @@ func (c *IoTSiteWise) ListAssetsWithContext(ctx aws.Context, input *ListAssetsIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssets operation. -// pageNum := 0 -// err := client.ListAssetsPages(params, -// func(page *iotsitewise.ListAssetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssets operation. +// pageNum := 0 +// err := client.ListAssetsPages(params, +// func(page *iotsitewise.ListAssetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) ListAssetsPages(input *ListAssetsInput, fn func(*ListAssetsOutput, bool) bool) error { return c.ListAssetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5342,14 +5332,13 @@ const opListAssociatedAssets = "ListAssociatedAssets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssociatedAssetsRequest method. +// req, resp := client.ListAssociatedAssetsRequest(params) // -// // Example sending a request using the ListAssociatedAssetsRequest method. -// req, resp := client.ListAssociatedAssetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssociatedAssets func (c *IoTSiteWise) ListAssociatedAssetsRequest(input *ListAssociatedAssetsInput) (req *request.Request, output *ListAssociatedAssetsOutput) { @@ -5382,10 +5371,10 @@ func (c *IoTSiteWise) ListAssociatedAssetsRequest(input *ListAssociatedAssetsInp // // You can use this operation to do the following: // -// * List child assets associated to a parent asset by a hierarchy that you -// specify. +// - List child assets associated to a parent asset by a hierarchy that you +// specify. // -// * List an asset's parent asset. +// - List an asset's parent asset. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5395,23 +5384,24 @@ func (c *IoTSiteWise) ListAssociatedAssetsRequest(input *ListAssociatedAssetsInp // API operation ListAssociatedAssets for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListAssociatedAssets func (c *IoTSiteWise) ListAssociatedAssets(input *ListAssociatedAssetsInput) (*ListAssociatedAssetsOutput, error) { @@ -5443,15 +5433,14 @@ func (c *IoTSiteWise) ListAssociatedAssetsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssociatedAssets operation. -// pageNum := 0 -// err := client.ListAssociatedAssetsPages(params, -// func(page *iotsitewise.ListAssociatedAssetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssociatedAssets operation. +// pageNum := 0 +// err := client.ListAssociatedAssetsPages(params, +// func(page *iotsitewise.ListAssociatedAssetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) ListAssociatedAssetsPages(input *ListAssociatedAssetsInput, fn func(*ListAssociatedAssetsOutput, bool) bool) error { return c.ListAssociatedAssetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5503,14 +5492,13 @@ const opListDashboards = "ListDashboards" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDashboardsRequest method. +// req, resp := client.ListDashboardsRequest(params) // -// // Example sending a request using the ListDashboardsRequest method. -// req, resp := client.ListDashboardsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListDashboards func (c *IoTSiteWise) ListDashboardsRequest(input *ListDashboardsInput) (req *request.Request, output *ListDashboardsOutput) { @@ -5549,20 +5537,21 @@ func (c *IoTSiteWise) ListDashboardsRequest(input *ListDashboardsInput) (req *re // API operation ListDashboards for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListDashboards func (c *IoTSiteWise) ListDashboards(input *ListDashboardsInput) (*ListDashboardsOutput, error) { @@ -5594,15 +5583,14 @@ func (c *IoTSiteWise) ListDashboardsWithContext(ctx aws.Context, input *ListDash // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDashboards operation. -// pageNum := 0 -// err := client.ListDashboardsPages(params, -// func(page *iotsitewise.ListDashboardsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDashboards operation. +// pageNum := 0 +// err := client.ListDashboardsPages(params, +// func(page *iotsitewise.ListDashboardsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) ListDashboardsPages(input *ListDashboardsInput, fn func(*ListDashboardsOutput, bool) bool) error { return c.ListDashboardsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5654,14 +5642,13 @@ const opListGateways = "ListGateways" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGatewaysRequest method. +// req, resp := client.ListGatewaysRequest(params) // -// // Example sending a request using the ListGatewaysRequest method. -// req, resp := client.ListGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListGateways func (c *IoTSiteWise) ListGatewaysRequest(input *ListGatewaysInput) (req *request.Request, output *ListGatewaysOutput) { @@ -5700,20 +5687,21 @@ func (c *IoTSiteWise) ListGatewaysRequest(input *ListGatewaysInput) (req *reques // API operation ListGateways for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListGateways func (c *IoTSiteWise) ListGateways(input *ListGatewaysInput) (*ListGatewaysOutput, error) { @@ -5745,15 +5733,14 @@ func (c *IoTSiteWise) ListGatewaysWithContext(ctx aws.Context, input *ListGatewa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGateways operation. -// pageNum := 0 -// err := client.ListGatewaysPages(params, -// func(page *iotsitewise.ListGatewaysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGateways operation. +// pageNum := 0 +// err := client.ListGatewaysPages(params, +// func(page *iotsitewise.ListGatewaysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) ListGatewaysPages(input *ListGatewaysInput, fn func(*ListGatewaysOutput, bool) bool) error { return c.ListGatewaysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5805,14 +5792,13 @@ const opListPortals = "ListPortals" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPortalsRequest method. +// req, resp := client.ListPortalsRequest(params) // -// // Example sending a request using the ListPortalsRequest method. -// req, resp := client.ListPortalsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListPortals func (c *IoTSiteWise) ListPortalsRequest(input *ListPortalsInput) (req *request.Request, output *ListPortalsOutput) { @@ -5851,20 +5837,21 @@ func (c *IoTSiteWise) ListPortalsRequest(input *ListPortalsInput) (req *request. // API operation ListPortals for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListPortals func (c *IoTSiteWise) ListPortals(input *ListPortalsInput) (*ListPortalsOutput, error) { @@ -5896,15 +5883,14 @@ func (c *IoTSiteWise) ListPortalsWithContext(ctx aws.Context, input *ListPortals // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPortals operation. -// pageNum := 0 -// err := client.ListPortalsPages(params, -// func(page *iotsitewise.ListPortalsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPortals operation. +// pageNum := 0 +// err := client.ListPortalsPages(params, +// func(page *iotsitewise.ListPortalsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) ListPortalsPages(input *ListPortalsInput, fn func(*ListPortalsOutput, bool) bool) error { return c.ListPortalsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5956,14 +5942,13 @@ const opListProjectAssets = "ListProjectAssets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProjectAssetsRequest method. +// req, resp := client.ListProjectAssetsRequest(params) // -// // Example sending a request using the ListProjectAssetsRequest method. -// req, resp := client.ListProjectAssetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListProjectAssets func (c *IoTSiteWise) ListProjectAssetsRequest(input *ListProjectAssetsInput) (req *request.Request, output *ListProjectAssetsOutput) { @@ -6003,20 +5988,21 @@ func (c *IoTSiteWise) ListProjectAssetsRequest(input *ListProjectAssetsInput) (r // API operation ListProjectAssets for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListProjectAssets func (c *IoTSiteWise) ListProjectAssets(input *ListProjectAssetsInput) (*ListProjectAssetsOutput, error) { @@ -6048,15 +6034,14 @@ func (c *IoTSiteWise) ListProjectAssetsWithContext(ctx aws.Context, input *ListP // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProjectAssets operation. -// pageNum := 0 -// err := client.ListProjectAssetsPages(params, -// func(page *iotsitewise.ListProjectAssetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProjectAssets operation. +// pageNum := 0 +// err := client.ListProjectAssetsPages(params, +// func(page *iotsitewise.ListProjectAssetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) ListProjectAssetsPages(input *ListProjectAssetsInput, fn func(*ListProjectAssetsOutput, bool) bool) error { return c.ListProjectAssetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6108,14 +6093,13 @@ const opListProjects = "ListProjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProjectsRequest method. +// req, resp := client.ListProjectsRequest(params) // -// // Example sending a request using the ListProjectsRequest method. -// req, resp := client.ListProjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListProjects func (c *IoTSiteWise) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) { @@ -6154,20 +6138,21 @@ func (c *IoTSiteWise) ListProjectsRequest(input *ListProjectsInput) (req *reques // API operation ListProjects for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListProjects func (c *IoTSiteWise) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error) { @@ -6199,15 +6184,14 @@ func (c *IoTSiteWise) ListProjectsWithContext(ctx aws.Context, input *ListProjec // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProjects operation. -// pageNum := 0 -// err := client.ListProjectsPages(params, -// func(page *iotsitewise.ListProjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProjects operation. +// pageNum := 0 +// err := client.ListProjectsPages(params, +// func(page *iotsitewise.ListProjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error { return c.ListProjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6259,14 +6243,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListTagsForResource func (c *IoTSiteWise) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -6299,38 +6282,39 @@ func (c *IoTSiteWise) ListTagsForResourceRequest(input *ListTagsForResourceInput // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * UnauthorizedException -// You are not authorized. +// - UnauthorizedException +// You are not authorized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListTagsForResource func (c *IoTSiteWise) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -6370,14 +6354,13 @@ const opListTimeSeries = "ListTimeSeries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTimeSeriesRequest method. +// req, resp := client.ListTimeSeriesRequest(params) // -// // Example sending a request using the ListTimeSeriesRequest method. -// req, resp := client.ListTimeSeriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListTimeSeries func (c *IoTSiteWise) ListTimeSeriesRequest(input *ListTimeSeriesInput) (req *request.Request, output *ListTimeSeriesOutput) { @@ -6416,23 +6399,24 @@ func (c *IoTSiteWise) ListTimeSeriesRequest(input *ListTimeSeriesInput) (req *re // API operation ListTimeSeries for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/ListTimeSeries func (c *IoTSiteWise) ListTimeSeries(input *ListTimeSeriesInput) (*ListTimeSeriesOutput, error) { @@ -6464,15 +6448,14 @@ func (c *IoTSiteWise) ListTimeSeriesWithContext(ctx aws.Context, input *ListTime // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTimeSeries operation. -// pageNum := 0 -// err := client.ListTimeSeriesPages(params, -// func(page *iotsitewise.ListTimeSeriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTimeSeries operation. +// pageNum := 0 +// err := client.ListTimeSeriesPages(params, +// func(page *iotsitewise.ListTimeSeriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTSiteWise) ListTimeSeriesPages(input *ListTimeSeriesInput, fn func(*ListTimeSeriesOutput, bool) bool) error { return c.ListTimeSeriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6524,14 +6507,13 @@ const opPutDefaultEncryptionConfiguration = "PutDefaultEncryptionConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDefaultEncryptionConfigurationRequest method. +// req, resp := client.PutDefaultEncryptionConfigurationRequest(params) // -// // Example sending a request using the PutDefaultEncryptionConfigurationRequest method. -// req, resp := client.PutDefaultEncryptionConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/PutDefaultEncryptionConfiguration func (c *IoTSiteWise) PutDefaultEncryptionConfigurationRequest(input *PutDefaultEncryptionConfigurationInput) (req *request.Request, output *PutDefaultEncryptionConfigurationOutput) { @@ -6566,32 +6548,33 @@ func (c *IoTSiteWise) PutDefaultEncryptionConfigurationRequest(input *PutDefault // API operation PutDefaultEncryptionConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/PutDefaultEncryptionConfiguration func (c *IoTSiteWise) PutDefaultEncryptionConfiguration(input *PutDefaultEncryptionConfigurationInput) (*PutDefaultEncryptionConfigurationOutput, error) { @@ -6631,14 +6614,13 @@ const opPutLoggingOptions = "PutLoggingOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutLoggingOptionsRequest method. +// req, resp := client.PutLoggingOptionsRequest(params) // -// // Example sending a request using the PutLoggingOptionsRequest method. -// req, resp := client.PutLoggingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/PutLoggingOptions func (c *IoTSiteWise) PutLoggingOptionsRequest(input *PutLoggingOptionsInput) (req *request.Request, output *PutLoggingOptionsOutput) { @@ -6672,27 +6654,28 @@ func (c *IoTSiteWise) PutLoggingOptionsRequest(input *PutLoggingOptionsInput) (r // API operation PutLoggingOptions for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. +// +// - ResourceNotFoundException +// The requested resource can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/PutLoggingOptions func (c *IoTSiteWise) PutLoggingOptions(input *PutLoggingOptionsInput) (*PutLoggingOptionsOutput, error) { @@ -6732,14 +6715,13 @@ const opPutStorageConfiguration = "PutStorageConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutStorageConfigurationRequest method. +// req, resp := client.PutStorageConfigurationRequest(params) // -// // Example sending a request using the PutStorageConfigurationRequest method. -// req, resp := client.PutStorageConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/PutStorageConfiguration func (c *IoTSiteWise) PutStorageConfigurationRequest(input *PutStorageConfigurationInput) (req *request.Request, output *PutStorageConfigurationOutput) { @@ -6772,38 +6754,39 @@ func (c *IoTSiteWise) PutStorageConfigurationRequest(input *PutStorageConfigurat // API operation PutStorageConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. +// +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/PutStorageConfiguration func (c *IoTSiteWise) PutStorageConfiguration(input *PutStorageConfigurationInput) (*PutStorageConfigurationOutput, error) { @@ -6843,14 +6826,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/TagResource func (c *IoTSiteWise) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -6885,43 +6867,44 @@ func (c *IoTSiteWise) TagResourceRequest(input *TagResourceInput) (req *request. // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * ResourceNotFoundException -// The requested resource can't be found. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. // -// * UnauthorizedException -// You are not authorized. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * TooManyTagsException -// You've reached the limit for the number of tags allowed for a resource. For -// more information, see Tag naming limits and requirements (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html#tag-conventions) -// in the Amazon Web Services General Reference. +// - UnauthorizedException +// You are not authorized. +// +// - TooManyTagsException +// You've reached the limit for the number of tags allowed for a resource. For +// more information, see Tag naming limits and requirements (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html#tag-conventions) +// in the Amazon Web Services General Reference. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/TagResource func (c *IoTSiteWise) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -6961,14 +6944,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UntagResource func (c *IoTSiteWise) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -7002,38 +6984,39 @@ func (c *IoTSiteWise) UntagResourceRequest(input *UntagResourceInput) (req *requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * ResourceNotFoundException -// The requested resource can't be found. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. // -// * UnauthorizedException -// You are not authorized. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. +// +// - UnauthorizedException +// You are not authorized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UntagResource func (c *IoTSiteWise) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -7073,14 +7056,13 @@ const opUpdateAccessPolicy = "UpdateAccessPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAccessPolicyRequest method. +// req, resp := client.UpdateAccessPolicyRequest(params) // -// // Example sending a request using the UpdateAccessPolicyRequest method. -// req, resp := client.UpdateAccessPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAccessPolicy func (c *IoTSiteWise) UpdateAccessPolicyRequest(input *UpdateAccessPolicyInput) (req *request.Request, output *UpdateAccessPolicyOutput) { @@ -7115,23 +7097,24 @@ func (c *IoTSiteWise) UpdateAccessPolicyRequest(input *UpdateAccessPolicyInput) // API operation UpdateAccessPolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAccessPolicy func (c *IoTSiteWise) UpdateAccessPolicy(input *UpdateAccessPolicyInput) (*UpdateAccessPolicyOutput, error) { @@ -7171,14 +7154,13 @@ const opUpdateAsset = "UpdateAsset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAssetRequest method. +// req, resp := client.UpdateAssetRequest(params) // -// // Example sending a request using the UpdateAssetRequest method. -// req, resp := client.UpdateAssetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAsset func (c *IoTSiteWise) UpdateAssetRequest(input *UpdateAssetInput) (req *request.Request, output *UpdateAssetOutput) { @@ -7213,30 +7195,31 @@ func (c *IoTSiteWise) UpdateAssetRequest(input *UpdateAssetInput) (req *request. // API operation UpdateAsset for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceAlreadyExistsException +// The resource already exists. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAsset func (c *IoTSiteWise) UpdateAsset(input *UpdateAssetInput) (*UpdateAssetOutput, error) { @@ -7276,14 +7259,13 @@ const opUpdateAssetModel = "UpdateAssetModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAssetModelRequest method. +// req, resp := client.UpdateAssetModelRequest(params) // -// // Example sending a request using the UpdateAssetModelRequest method. -// req, resp := client.UpdateAssetModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAssetModel func (c *IoTSiteWise) UpdateAssetModelRequest(input *UpdateAssetModelInput) (req *request.Request, output *UpdateAssetModelOutput) { @@ -7330,38 +7312,39 @@ func (c *IoTSiteWise) UpdateAssetModelRequest(input *UpdateAssetModelInput) (req // API operation UpdateAssetModel for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceAlreadyExistsException +// The resource already exists. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAssetModel func (c *IoTSiteWise) UpdateAssetModel(input *UpdateAssetModelInput) (*UpdateAssetModelOutput, error) { @@ -7401,14 +7384,13 @@ const opUpdateAssetProperty = "UpdateAssetProperty" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAssetPropertyRequest method. +// req, resp := client.UpdateAssetPropertyRequest(params) // -// // Example sending a request using the UpdateAssetPropertyRequest method. -// req, resp := client.UpdateAssetPropertyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAssetProperty func (c *IoTSiteWise) UpdateAssetPropertyRequest(input *UpdateAssetPropertyInput) (req *request.Request, output *UpdateAssetPropertyOutput) { @@ -7447,27 +7429,28 @@ func (c *IoTSiteWise) UpdateAssetPropertyRequest(input *UpdateAssetPropertyInput // API operation UpdateAssetProperty for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. +// +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateAssetProperty func (c *IoTSiteWise) UpdateAssetProperty(input *UpdateAssetPropertyInput) (*UpdateAssetPropertyOutput, error) { @@ -7507,14 +7490,13 @@ const opUpdateDashboard = "UpdateDashboard" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDashboardRequest method. +// req, resp := client.UpdateDashboardRequest(params) // -// // Example sending a request using the UpdateDashboardRequest method. -// req, resp := client.UpdateDashboardRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateDashboard func (c *IoTSiteWise) UpdateDashboardRequest(input *UpdateDashboardInput) (req *request.Request, output *UpdateDashboardOutput) { @@ -7548,23 +7530,24 @@ func (c *IoTSiteWise) UpdateDashboardRequest(input *UpdateDashboardInput) (req * // API operation UpdateDashboard for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. +// +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateDashboard func (c *IoTSiteWise) UpdateDashboard(input *UpdateDashboardInput) (*UpdateDashboardOutput, error) { @@ -7604,14 +7587,13 @@ const opUpdateGateway = "UpdateGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGatewayRequest method. +// req, resp := client.UpdateGatewayRequest(params) // -// // Example sending a request using the UpdateGatewayRequest method. -// req, resp := client.UpdateGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateGateway func (c *IoTSiteWise) UpdateGatewayRequest(input *UpdateGatewayInput) (req *request.Request, output *UpdateGatewayOutput) { @@ -7645,27 +7627,28 @@ func (c *IoTSiteWise) UpdateGatewayRequest(input *UpdateGatewayInput) (req *requ // API operation UpdateGateway for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateGateway func (c *IoTSiteWise) UpdateGateway(input *UpdateGatewayInput) (*UpdateGatewayOutput, error) { @@ -7705,14 +7688,13 @@ const opUpdateGatewayCapabilityConfiguration = "UpdateGatewayCapabilityConfigura // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGatewayCapabilityConfigurationRequest method. +// req, resp := client.UpdateGatewayCapabilityConfigurationRequest(params) // -// // Example sending a request using the UpdateGatewayCapabilityConfigurationRequest method. -// req, resp := client.UpdateGatewayCapabilityConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateGatewayCapabilityConfiguration func (c *IoTSiteWise) UpdateGatewayCapabilityConfigurationRequest(input *UpdateGatewayCapabilityConfigurationInput) (req *request.Request, output *UpdateGatewayCapabilityConfigurationOutput) { @@ -7750,35 +7732,36 @@ func (c *IoTSiteWise) UpdateGatewayCapabilityConfigurationRequest(input *UpdateG // API operation UpdateGatewayCapabilityConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * LimitExceededException -// You've reached the limit for a resource. For example, this can occur if you're -// trying to associate more than the allowed number of child assets or attempting -// to create more than the allowed number of properties for an asset model. +// - LimitExceededException +// You've reached the limit for a resource. For example, this can occur if you're +// trying to associate more than the allowed number of child assets or attempting +// to create more than the allowed number of properties for an asset model. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateGatewayCapabilityConfiguration func (c *IoTSiteWise) UpdateGatewayCapabilityConfiguration(input *UpdateGatewayCapabilityConfigurationInput) (*UpdateGatewayCapabilityConfigurationOutput, error) { @@ -7818,14 +7801,13 @@ const opUpdatePortal = "UpdatePortal" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePortalRequest method. +// req, resp := client.UpdatePortalRequest(params) // -// // Example sending a request using the UpdatePortalRequest method. -// req, resp := client.UpdatePortalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdatePortal func (c *IoTSiteWise) UpdatePortalRequest(input *UpdatePortalInput) (req *request.Request, output *UpdatePortalOutput) { @@ -7858,27 +7840,28 @@ func (c *IoTSiteWise) UpdatePortalRequest(input *UpdatePortalInput) (req *reques // API operation UpdatePortal for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // -// * ConflictingOperationException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time. +// - ConflictingOperationException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdatePortal func (c *IoTSiteWise) UpdatePortal(input *UpdatePortalInput) (*UpdatePortalOutput, error) { @@ -7918,14 +7901,13 @@ const opUpdateProject = "UpdateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProjectRequest method. +// req, resp := client.UpdateProjectRequest(params) // -// // Example sending a request using the UpdateProjectRequest method. -// req, resp := client.UpdateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateProject func (c *IoTSiteWise) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput) { @@ -7959,23 +7941,24 @@ func (c *IoTSiteWise) UpdateProjectRequest(input *UpdateProjectInput) (req *requ // API operation UpdateProject for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request isn't valid. This can occur if your request contains malformed -// JSON or unsupported characters. Check your request and try again. // -// * ResourceNotFoundException -// The requested resource can't be found. +// - InvalidRequestException +// The request isn't valid. This can occur if your request contains malformed +// JSON or unsupported characters. Check your request and try again. +// +// - ResourceNotFoundException +// The requested resource can't be found. // -// * InternalFailureException -// IoT SiteWise can't process your request right now. Try again later. +// - InternalFailureException +// IoT SiteWise can't process your request right now. Try again later. // -// * ThrottlingException -// Your request exceeded a rate limit. For example, you might have exceeded -// the number of IoT SiteWise assets that can be created per second, the allowed -// number of messages per second, and so on. +// - ThrottlingException +// Your request exceeded a rate limit. For example, you might have exceeded +// the number of IoT SiteWise assets that can be created per second, the allowed +// number of messages per second, and so on. // -// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) -// in the IoT SiteWise User Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html) +// in the IoT SiteWise User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotsitewise-2019-12-02/UpdateProject func (c *IoTSiteWise) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error) { @@ -10259,10 +10242,10 @@ func (s *BatchDisassociateProjectAssetsOutput) SetErrors(v []*AssetErrorDetails) // // To identify an asset property, you must specify one of the following: // -// * The assetId and propertyId of an asset property. +// - The assetId and propertyId of an asset property. // -// * A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). -// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). +// - A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). +// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). type BatchGetAssetPropertyAggregatesEntry struct { _ struct{} `type:"structure"` @@ -10812,10 +10795,10 @@ func (s *BatchGetAssetPropertyAggregatesSuccessEntry) SetEntryId(v string) *Batc // // To identify an asset property, you must specify one of the following: // -// * The assetId and propertyId of an asset property. +// - The assetId and propertyId of an asset property. // -// * A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). -// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). +// - A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). +// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). type BatchGetAssetPropertyValueEntry struct { _ struct{} `type:"structure"` @@ -11013,10 +10996,10 @@ func (s *BatchGetAssetPropertyValueErrorInfo) SetErrorTimestamp(v time.Time) *Ba // // To identify an asset property, you must specify one of the following: // -// * The assetId and propertyId of an asset property. +// - The assetId and propertyId of an asset property. // -// * A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). -// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). +// - A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). +// To define an asset property's alias, see UpdateAssetProperty (https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_UpdateAssetProperty.html). type BatchGetAssetPropertyValueHistoryEntry struct { _ struct{} `type:"structure"` @@ -18093,10 +18076,10 @@ func (s *Identity) SetUser(v *UserIdentity) *Identity { // Contains an image that is one of the following: // -// * An image file. Choose this option to upload a new image. +// - An image file. Choose this option to upload a new image. // -// * The ID of an existing image. Choose this option to keep an existing -// image. +// - The ID of an existing image. Choose this option to keep an existing +// image. type Image struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/doc.go index 2b9761fdefcd..3d3de0f31590 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/doc.go @@ -15,7 +15,7 @@ // See iotsitewise package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/iotsitewise/ // -// Using the Client +// # Using the Client // // To contact AWS IoT SiteWise with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/iotsitewiseiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/iotsitewiseiface/interface.go index cf8d13d532cf..844f938ada11 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/iotsitewiseiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/iotsitewiseiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT SiteWise. -// func myFunc(svc iotsitewiseiface.IoTSiteWiseAPI) bool { -// // Make svc.AssociateAssets request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT SiteWise. +// func myFunc(svc iotsitewiseiface.IoTSiteWiseAPI) bool { +// // Make svc.AssociateAssets request +// } // -// func main() { -// sess := session.New() -// svc := iotsitewise.New(sess) +// func main() { +// sess := session.New() +// svc := iotsitewise.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIoTSiteWiseClient struct { -// iotsitewiseiface.IoTSiteWiseAPI -// } -// func (m *mockIoTSiteWiseClient) AssociateAssets(input *iotsitewise.AssociateAssetsInput) (*iotsitewise.AssociateAssetsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIoTSiteWiseClient struct { +// iotsitewiseiface.IoTSiteWiseAPI +// } +// func (m *mockIoTSiteWiseClient) AssociateAssets(input *iotsitewise.AssociateAssetsInput) (*iotsitewise.AssociateAssetsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIoTSiteWiseClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIoTSiteWiseClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/service.go index ffb91c338086..b7f56c422c91 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotsitewise/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IoTSiteWise client from just a session. -// svc := iotsitewise.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IoTSiteWise client with additional configuration -// svc := iotsitewise.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IoTSiteWise client from just a session. +// svc := iotsitewise.New(mySession) +// +// // Create a IoTSiteWise client with additional configuration +// svc := iotsitewise.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoTSiteWise { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/api.go index 7c706fac8574..5d4dafe9e73e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/api.go @@ -29,14 +29,13 @@ const opAssociateEntityToThing = "AssociateEntityToThing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateEntityToThingRequest method. +// req, resp := client.AssociateEntityToThingRequest(params) // -// // Example sending a request using the AssociateEntityToThingRequest method. -// req, resp := client.AssociateEntityToThingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/AssociateEntityToThing func (c *IoTThingsGraph) AssociateEntityToThingRequest(input *AssociateEntityToThingInput) (req *request.Request, output *AssociateEntityToThingOutput) { @@ -71,13 +70,14 @@ func (c *IoTThingsGraph) AssociateEntityToThingRequest(input *AssociateEntityToT // API operation AssociateEntityToThing for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ResourceNotFoundException +// - InvalidRequestException +// +// - ResourceNotFoundException // -// * InternalFailureException +// - InternalFailureException // -// * ThrottlingException +// - ThrottlingException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/AssociateEntityToThing func (c *IoTThingsGraph) AssociateEntityToThing(input *AssociateEntityToThingInput) (*AssociateEntityToThingOutput, error) { @@ -117,14 +117,13 @@ const opCreateFlowTemplate = "CreateFlowTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFlowTemplateRequest method. +// req, resp := client.CreateFlowTemplateRequest(params) // -// // Example sending a request using the CreateFlowTemplateRequest method. -// req, resp := client.CreateFlowTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/CreateFlowTemplate func (c *IoTThingsGraph) CreateFlowTemplateRequest(input *CreateFlowTemplateInput) (req *request.Request, output *CreateFlowTemplateOutput) { @@ -159,15 +158,16 @@ func (c *IoTThingsGraph) CreateFlowTemplateRequest(input *CreateFlowTemplateInpu // API operation CreateFlowTemplate for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ResourceAlreadyExistsException +// - InvalidRequestException // -// * ThrottlingException +// - ResourceAlreadyExistsException // -// * LimitExceededException +// - ThrottlingException // -// * InternalFailureException +// - LimitExceededException +// +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/CreateFlowTemplate func (c *IoTThingsGraph) CreateFlowTemplate(input *CreateFlowTemplateInput) (*CreateFlowTemplateOutput, error) { @@ -207,14 +207,13 @@ const opCreateSystemInstance = "CreateSystemInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSystemInstanceRequest method. +// req, resp := client.CreateSystemInstanceRequest(params) // -// // Example sending a request using the CreateSystemInstanceRequest method. -// req, resp := client.CreateSystemInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/CreateSystemInstance func (c *IoTThingsGraph) CreateSystemInstanceRequest(input *CreateSystemInstanceInput) (req *request.Request, output *CreateSystemInstanceOutput) { @@ -263,15 +262,16 @@ func (c *IoTThingsGraph) CreateSystemInstanceRequest(input *CreateSystemInstance // API operation CreateSystemInstance for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ResourceAlreadyExistsException +// - InvalidRequestException // -// * ThrottlingException +// - ResourceAlreadyExistsException // -// * InternalFailureException +// - ThrottlingException // -// * LimitExceededException +// - InternalFailureException +// +// - LimitExceededException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/CreateSystemInstance func (c *IoTThingsGraph) CreateSystemInstance(input *CreateSystemInstanceInput) (*CreateSystemInstanceOutput, error) { @@ -311,14 +311,13 @@ const opCreateSystemTemplate = "CreateSystemTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSystemTemplateRequest method. +// req, resp := client.CreateSystemTemplateRequest(params) // -// // Example sending a request using the CreateSystemTemplateRequest method. -// req, resp := client.CreateSystemTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/CreateSystemTemplate func (c *IoTThingsGraph) CreateSystemTemplateRequest(input *CreateSystemTemplateInput) (req *request.Request, output *CreateSystemTemplateOutput) { @@ -351,13 +350,14 @@ func (c *IoTThingsGraph) CreateSystemTemplateRequest(input *CreateSystemTemplate // API operation CreateSystemTemplate for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ResourceAlreadyExistsException +// - InvalidRequestException +// +// - ResourceAlreadyExistsException // -// * ThrottlingException +// - ThrottlingException // -// * InternalFailureException +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/CreateSystemTemplate func (c *IoTThingsGraph) CreateSystemTemplate(input *CreateSystemTemplateInput) (*CreateSystemTemplateOutput, error) { @@ -397,14 +397,13 @@ const opDeleteFlowTemplate = "DeleteFlowTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFlowTemplateRequest method. +// req, resp := client.DeleteFlowTemplateRequest(params) // -// // Example sending a request using the DeleteFlowTemplateRequest method. -// req, resp := client.DeleteFlowTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DeleteFlowTemplate func (c *IoTThingsGraph) DeleteFlowTemplateRequest(input *DeleteFlowTemplateInput) (req *request.Request, output *DeleteFlowTemplateOutput) { @@ -439,13 +438,14 @@ func (c *IoTThingsGraph) DeleteFlowTemplateRequest(input *DeleteFlowTemplateInpu // API operation DeleteFlowTemplate for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException +// +// - ThrottlingException // -// * InternalFailureException +// - InternalFailureException // -// * ResourceInUseException +// - ResourceInUseException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DeleteFlowTemplate func (c *IoTThingsGraph) DeleteFlowTemplate(input *DeleteFlowTemplateInput) (*DeleteFlowTemplateOutput, error) { @@ -485,14 +485,13 @@ const opDeleteNamespace = "DeleteNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNamespaceRequest method. +// req, resp := client.DeleteNamespaceRequest(params) // -// // Example sending a request using the DeleteNamespaceRequest method. -// req, resp := client.DeleteNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DeleteNamespace func (c *IoTThingsGraph) DeleteNamespaceRequest(input *DeleteNamespaceInput) (req *request.Request, output *DeleteNamespaceOutput) { @@ -525,9 +524,10 @@ func (c *IoTThingsGraph) DeleteNamespaceRequest(input *DeleteNamespaceInput) (re // API operation DeleteNamespace for usage and error information. // // Returned Error Types: -// * InternalFailureException // -// * ThrottlingException +// - InternalFailureException +// +// - ThrottlingException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DeleteNamespace func (c *IoTThingsGraph) DeleteNamespace(input *DeleteNamespaceInput) (*DeleteNamespaceOutput, error) { @@ -567,14 +567,13 @@ const opDeleteSystemInstance = "DeleteSystemInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSystemInstanceRequest method. +// req, resp := client.DeleteSystemInstanceRequest(params) // -// // Example sending a request using the DeleteSystemInstanceRequest method. -// req, resp := client.DeleteSystemInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DeleteSystemInstance func (c *IoTThingsGraph) DeleteSystemInstanceRequest(input *DeleteSystemInstanceInput) (req *request.Request, output *DeleteSystemInstanceOutput) { @@ -610,13 +609,14 @@ func (c *IoTThingsGraph) DeleteSystemInstanceRequest(input *DeleteSystemInstance // API operation DeleteSystemInstance for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException // -// * InternalFailureException +// - ThrottlingException // -// * ResourceInUseException +// - InternalFailureException +// +// - ResourceInUseException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DeleteSystemInstance func (c *IoTThingsGraph) DeleteSystemInstance(input *DeleteSystemInstanceInput) (*DeleteSystemInstanceOutput, error) { @@ -656,14 +656,13 @@ const opDeleteSystemTemplate = "DeleteSystemTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSystemTemplateRequest method. +// req, resp := client.DeleteSystemTemplateRequest(params) // -// // Example sending a request using the DeleteSystemTemplateRequest method. -// req, resp := client.DeleteSystemTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DeleteSystemTemplate func (c *IoTThingsGraph) DeleteSystemTemplateRequest(input *DeleteSystemTemplateInput) (req *request.Request, output *DeleteSystemTemplateOutput) { @@ -697,13 +696,14 @@ func (c *IoTThingsGraph) DeleteSystemTemplateRequest(input *DeleteSystemTemplate // API operation DeleteSystemTemplate for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException // -// * InternalFailureException +// - ThrottlingException // -// * ResourceInUseException +// - InternalFailureException +// +// - ResourceInUseException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DeleteSystemTemplate func (c *IoTThingsGraph) DeleteSystemTemplate(input *DeleteSystemTemplateInput) (*DeleteSystemTemplateOutput, error) { @@ -743,14 +743,13 @@ const opDeploySystemInstance = "DeploySystemInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeploySystemInstanceRequest method. +// req, resp := client.DeploySystemInstanceRequest(params) // -// // Example sending a request using the DeploySystemInstanceRequest method. -// req, resp := client.DeploySystemInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DeploySystemInstance func (c *IoTThingsGraph) DeploySystemInstanceRequest(input *DeploySystemInstanceInput) (req *request.Request, output *DeploySystemInstanceOutput) { @@ -771,11 +770,11 @@ func (c *IoTThingsGraph) DeploySystemInstanceRequest(input *DeploySystemInstance // DeploySystemInstance API operation for AWS IoT Things Graph. // -// Greengrass and Cloud Deployments +// # Greengrass and Cloud Deployments // // Deploys the system instance to the target specified in CreateSystemInstance. // -// Greengrass Deployments +// # Greengrass Deployments // // If the system or any workflows and entities have been updated before this // action is called, then the deployment will create a new Amazon Simple Storage @@ -797,15 +796,16 @@ func (c *IoTThingsGraph) DeploySystemInstanceRequest(input *DeploySystemInstance // API operation DeploySystemInstance for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InvalidRequestException +// - ResourceNotFoundException +// +// - InvalidRequestException // -// * ThrottlingException +// - ThrottlingException // -// * InternalFailureException +// - InternalFailureException // -// * ResourceInUseException +// - ResourceInUseException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DeploySystemInstance func (c *IoTThingsGraph) DeploySystemInstance(input *DeploySystemInstanceInput) (*DeploySystemInstanceOutput, error) { @@ -845,14 +845,13 @@ const opDeprecateFlowTemplate = "DeprecateFlowTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeprecateFlowTemplateRequest method. +// req, resp := client.DeprecateFlowTemplateRequest(params) // -// // Example sending a request using the DeprecateFlowTemplateRequest method. -// req, resp := client.DeprecateFlowTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DeprecateFlowTemplate func (c *IoTThingsGraph) DeprecateFlowTemplateRequest(input *DeprecateFlowTemplateInput) (req *request.Request, output *DeprecateFlowTemplateOutput) { @@ -886,13 +885,14 @@ func (c *IoTThingsGraph) DeprecateFlowTemplateRequest(input *DeprecateFlowTempla // API operation DeprecateFlowTemplate for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException +// +// - ThrottlingException // -// * InternalFailureException +// - InternalFailureException // -// * ResourceNotFoundException +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DeprecateFlowTemplate func (c *IoTThingsGraph) DeprecateFlowTemplate(input *DeprecateFlowTemplateInput) (*DeprecateFlowTemplateOutput, error) { @@ -932,14 +932,13 @@ const opDeprecateSystemTemplate = "DeprecateSystemTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeprecateSystemTemplateRequest method. +// req, resp := client.DeprecateSystemTemplateRequest(params) // -// // Example sending a request using the DeprecateSystemTemplateRequest method. -// req, resp := client.DeprecateSystemTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DeprecateSystemTemplate func (c *IoTThingsGraph) DeprecateSystemTemplateRequest(input *DeprecateSystemTemplateInput) (req *request.Request, output *DeprecateSystemTemplateOutput) { @@ -971,13 +970,14 @@ func (c *IoTThingsGraph) DeprecateSystemTemplateRequest(input *DeprecateSystemTe // API operation DeprecateSystemTemplate for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException +// +// - ThrottlingException // -// * InternalFailureException +// - InternalFailureException // -// * ResourceNotFoundException +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DeprecateSystemTemplate func (c *IoTThingsGraph) DeprecateSystemTemplate(input *DeprecateSystemTemplateInput) (*DeprecateSystemTemplateOutput, error) { @@ -1017,14 +1017,13 @@ const opDescribeNamespace = "DescribeNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNamespaceRequest method. +// req, resp := client.DescribeNamespaceRequest(params) // -// // Example sending a request using the DescribeNamespaceRequest method. -// req, resp := client.DescribeNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DescribeNamespace func (c *IoTThingsGraph) DescribeNamespaceRequest(input *DescribeNamespaceInput) (req *request.Request, output *DescribeNamespaceOutput) { @@ -1056,13 +1055,14 @@ func (c *IoTThingsGraph) DescribeNamespaceRequest(input *DescribeNamespaceInput) // API operation DescribeNamespace for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InvalidRequestException +// - ResourceNotFoundException // -// * InternalFailureException +// - InvalidRequestException // -// * ThrottlingException +// - InternalFailureException +// +// - ThrottlingException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DescribeNamespace func (c *IoTThingsGraph) DescribeNamespace(input *DescribeNamespaceInput) (*DescribeNamespaceOutput, error) { @@ -1102,14 +1102,13 @@ const opDissociateEntityFromThing = "DissociateEntityFromThing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DissociateEntityFromThingRequest method. +// req, resp := client.DissociateEntityFromThingRequest(params) // -// // Example sending a request using the DissociateEntityFromThingRequest method. -// req, resp := client.DissociateEntityFromThingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DissociateEntityFromThing func (c *IoTThingsGraph) DissociateEntityFromThingRequest(input *DissociateEntityFromThingInput) (req *request.Request, output *DissociateEntityFromThingOutput) { @@ -1143,13 +1142,14 @@ func (c *IoTThingsGraph) DissociateEntityFromThingRequest(input *DissociateEntit // API operation DissociateEntityFromThing for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ResourceNotFoundException +// - InvalidRequestException // -// * InternalFailureException +// - ResourceNotFoundException // -// * ThrottlingException +// - InternalFailureException +// +// - ThrottlingException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DissociateEntityFromThing func (c *IoTThingsGraph) DissociateEntityFromThing(input *DissociateEntityFromThingInput) (*DissociateEntityFromThingOutput, error) { @@ -1189,14 +1189,13 @@ const opGetEntities = "GetEntities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEntitiesRequest method. +// req, resp := client.GetEntitiesRequest(params) // -// // Example sending a request using the GetEntitiesRequest method. -// req, resp := client.GetEntitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetEntities func (c *IoTThingsGraph) GetEntitiesRequest(input *GetEntitiesInput) (req *request.Request, output *GetEntitiesOutput) { @@ -1220,23 +1219,23 @@ func (c *IoTThingsGraph) GetEntitiesRequest(input *GetEntitiesInput) (req *reque // Gets definitions of the specified entities. Uses the latest version of the // user's namespace by default. This API returns the following TDM entities. // -// * Properties +// - Properties // -// * States +// - States // -// * Events +// - Events // -// * Actions +// - Actions // -// * Capabilities +// - Capabilities // -// * Mappings +// - Mappings // -// * Devices +// - Devices // -// * Device Models +// - Device Models // -// * Services +// - Services // // This action doesn't return definitions for systems, flows, and deployments. // @@ -1248,13 +1247,14 @@ func (c *IoTThingsGraph) GetEntitiesRequest(input *GetEntitiesInput) (req *reque // API operation GetEntities for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ResourceNotFoundException +// - InvalidRequestException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * InternalFailureException +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetEntities func (c *IoTThingsGraph) GetEntities(input *GetEntitiesInput) (*GetEntitiesOutput, error) { @@ -1294,14 +1294,13 @@ const opGetFlowTemplate = "GetFlowTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFlowTemplateRequest method. +// req, resp := client.GetFlowTemplateRequest(params) // -// // Example sending a request using the GetFlowTemplateRequest method. -// req, resp := client.GetFlowTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetFlowTemplate func (c *IoTThingsGraph) GetFlowTemplateRequest(input *GetFlowTemplateInput) (req *request.Request, output *GetFlowTemplateOutput) { @@ -1333,13 +1332,14 @@ func (c *IoTThingsGraph) GetFlowTemplateRequest(input *GetFlowTemplateInput) (re // API operation GetFlowTemplate for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException +// +// - ThrottlingException // -// * InternalFailureException +// - InternalFailureException // -// * ResourceNotFoundException +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetFlowTemplate func (c *IoTThingsGraph) GetFlowTemplate(input *GetFlowTemplateInput) (*GetFlowTemplateOutput, error) { @@ -1379,14 +1379,13 @@ const opGetFlowTemplateRevisions = "GetFlowTemplateRevisions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFlowTemplateRevisionsRequest method. +// req, resp := client.GetFlowTemplateRevisionsRequest(params) // -// // Example sending a request using the GetFlowTemplateRevisionsRequest method. -// req, resp := client.GetFlowTemplateRevisionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetFlowTemplateRevisions func (c *IoTThingsGraph) GetFlowTemplateRevisionsRequest(input *GetFlowTemplateRevisionsInput) (req *request.Request, output *GetFlowTemplateRevisionsOutput) { @@ -1426,13 +1425,14 @@ func (c *IoTThingsGraph) GetFlowTemplateRevisionsRequest(input *GetFlowTemplateR // API operation GetFlowTemplateRevisions for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException +// +// - ThrottlingException // -// * InternalFailureException +// - InternalFailureException // -// * ResourceNotFoundException +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetFlowTemplateRevisions func (c *IoTThingsGraph) GetFlowTemplateRevisions(input *GetFlowTemplateRevisionsInput) (*GetFlowTemplateRevisionsOutput, error) { @@ -1464,15 +1464,14 @@ func (c *IoTThingsGraph) GetFlowTemplateRevisionsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetFlowTemplateRevisions operation. -// pageNum := 0 -// err := client.GetFlowTemplateRevisionsPages(params, -// func(page *iotthingsgraph.GetFlowTemplateRevisionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetFlowTemplateRevisions operation. +// pageNum := 0 +// err := client.GetFlowTemplateRevisionsPages(params, +// func(page *iotthingsgraph.GetFlowTemplateRevisionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTThingsGraph) GetFlowTemplateRevisionsPages(input *GetFlowTemplateRevisionsInput, fn func(*GetFlowTemplateRevisionsOutput, bool) bool) error { return c.GetFlowTemplateRevisionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1524,14 +1523,13 @@ const opGetNamespaceDeletionStatus = "GetNamespaceDeletionStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNamespaceDeletionStatusRequest method. +// req, resp := client.GetNamespaceDeletionStatusRequest(params) // -// // Example sending a request using the GetNamespaceDeletionStatusRequest method. -// req, resp := client.GetNamespaceDeletionStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetNamespaceDeletionStatus func (c *IoTThingsGraph) GetNamespaceDeletionStatusRequest(input *GetNamespaceDeletionStatusInput) (req *request.Request, output *GetNamespaceDeletionStatusOutput) { @@ -1562,11 +1560,12 @@ func (c *IoTThingsGraph) GetNamespaceDeletionStatusRequest(input *GetNamespaceDe // API operation GetNamespaceDeletionStatus for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * InternalFailureException +// - InvalidRequestException +// +// - InternalFailureException // -// * ThrottlingException +// - ThrottlingException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetNamespaceDeletionStatus func (c *IoTThingsGraph) GetNamespaceDeletionStatus(input *GetNamespaceDeletionStatusInput) (*GetNamespaceDeletionStatusOutput, error) { @@ -1606,14 +1605,13 @@ const opGetSystemInstance = "GetSystemInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSystemInstanceRequest method. +// req, resp := client.GetSystemInstanceRequest(params) // -// // Example sending a request using the GetSystemInstanceRequest method. -// req, resp := client.GetSystemInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetSystemInstance func (c *IoTThingsGraph) GetSystemInstanceRequest(input *GetSystemInstanceInput) (req *request.Request, output *GetSystemInstanceOutput) { @@ -1644,13 +1642,14 @@ func (c *IoTThingsGraph) GetSystemInstanceRequest(input *GetSystemInstanceInput) // API operation GetSystemInstance for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException +// +// - ThrottlingException // -// * InternalFailureException +// - InternalFailureException // -// * ResourceNotFoundException +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetSystemInstance func (c *IoTThingsGraph) GetSystemInstance(input *GetSystemInstanceInput) (*GetSystemInstanceOutput, error) { @@ -1690,14 +1689,13 @@ const opGetSystemTemplate = "GetSystemTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSystemTemplateRequest method. +// req, resp := client.GetSystemTemplateRequest(params) // -// // Example sending a request using the GetSystemTemplateRequest method. -// req, resp := client.GetSystemTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetSystemTemplate func (c *IoTThingsGraph) GetSystemTemplateRequest(input *GetSystemTemplateInput) (req *request.Request, output *GetSystemTemplateOutput) { @@ -1728,13 +1726,14 @@ func (c *IoTThingsGraph) GetSystemTemplateRequest(input *GetSystemTemplateInput) // API operation GetSystemTemplate for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException // -// * InternalFailureException +// - ThrottlingException // -// * ResourceNotFoundException +// - InternalFailureException +// +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetSystemTemplate func (c *IoTThingsGraph) GetSystemTemplate(input *GetSystemTemplateInput) (*GetSystemTemplateOutput, error) { @@ -1774,14 +1773,13 @@ const opGetSystemTemplateRevisions = "GetSystemTemplateRevisions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSystemTemplateRevisionsRequest method. +// req, resp := client.GetSystemTemplateRevisionsRequest(params) // -// // Example sending a request using the GetSystemTemplateRevisionsRequest method. -// req, resp := client.GetSystemTemplateRevisionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetSystemTemplateRevisions func (c *IoTThingsGraph) GetSystemTemplateRevisionsRequest(input *GetSystemTemplateRevisionsInput) (req *request.Request, output *GetSystemTemplateRevisionsOutput) { @@ -1821,13 +1819,14 @@ func (c *IoTThingsGraph) GetSystemTemplateRevisionsRequest(input *GetSystemTempl // API operation GetSystemTemplateRevisions for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException // -// * InternalFailureException +// - ThrottlingException // -// * ResourceNotFoundException +// - InternalFailureException +// +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetSystemTemplateRevisions func (c *IoTThingsGraph) GetSystemTemplateRevisions(input *GetSystemTemplateRevisionsInput) (*GetSystemTemplateRevisionsOutput, error) { @@ -1859,15 +1858,14 @@ func (c *IoTThingsGraph) GetSystemTemplateRevisionsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetSystemTemplateRevisions operation. -// pageNum := 0 -// err := client.GetSystemTemplateRevisionsPages(params, -// func(page *iotthingsgraph.GetSystemTemplateRevisionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetSystemTemplateRevisions operation. +// pageNum := 0 +// err := client.GetSystemTemplateRevisionsPages(params, +// func(page *iotthingsgraph.GetSystemTemplateRevisionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTThingsGraph) GetSystemTemplateRevisionsPages(input *GetSystemTemplateRevisionsInput, fn func(*GetSystemTemplateRevisionsOutput, bool) bool) error { return c.GetSystemTemplateRevisionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1919,14 +1917,13 @@ const opGetUploadStatus = "GetUploadStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUploadStatusRequest method. +// req, resp := client.GetUploadStatusRequest(params) // -// // Example sending a request using the GetUploadStatusRequest method. -// req, resp := client.GetUploadStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetUploadStatus func (c *IoTThingsGraph) GetUploadStatusRequest(input *GetUploadStatusInput) (req *request.Request, output *GetUploadStatusOutput) { @@ -1957,13 +1954,14 @@ func (c *IoTThingsGraph) GetUploadStatusRequest(input *GetUploadStatusInput) (re // API operation GetUploadStatus for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ResourceNotFoundException +// - InvalidRequestException // -// * InternalFailureException +// - ResourceNotFoundException // -// * ThrottlingException +// - InternalFailureException +// +// - ThrottlingException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/GetUploadStatus func (c *IoTThingsGraph) GetUploadStatus(input *GetUploadStatusInput) (*GetUploadStatusOutput, error) { @@ -2003,14 +2001,13 @@ const opListFlowExecutionMessages = "ListFlowExecutionMessages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFlowExecutionMessagesRequest method. +// req, resp := client.ListFlowExecutionMessagesRequest(params) // -// // Example sending a request using the ListFlowExecutionMessagesRequest method. -// req, resp := client.ListFlowExecutionMessagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/ListFlowExecutionMessages func (c *IoTThingsGraph) ListFlowExecutionMessagesRequest(input *ListFlowExecutionMessagesInput) (req *request.Request, output *ListFlowExecutionMessagesOutput) { @@ -2048,13 +2045,14 @@ func (c *IoTThingsGraph) ListFlowExecutionMessagesRequest(input *ListFlowExecuti // API operation ListFlowExecutionMessages for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException // -// * InternalFailureException +// - ThrottlingException // -// * ResourceNotFoundException +// - InternalFailureException +// +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/ListFlowExecutionMessages func (c *IoTThingsGraph) ListFlowExecutionMessages(input *ListFlowExecutionMessagesInput) (*ListFlowExecutionMessagesOutput, error) { @@ -2086,15 +2084,14 @@ func (c *IoTThingsGraph) ListFlowExecutionMessagesWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFlowExecutionMessages operation. -// pageNum := 0 -// err := client.ListFlowExecutionMessagesPages(params, -// func(page *iotthingsgraph.ListFlowExecutionMessagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFlowExecutionMessages operation. +// pageNum := 0 +// err := client.ListFlowExecutionMessagesPages(params, +// func(page *iotthingsgraph.ListFlowExecutionMessagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTThingsGraph) ListFlowExecutionMessagesPages(input *ListFlowExecutionMessagesInput, fn func(*ListFlowExecutionMessagesOutput, bool) bool) error { return c.ListFlowExecutionMessagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2146,14 +2143,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/ListTagsForResource func (c *IoTThingsGraph) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2190,13 +2186,14 @@ func (c *IoTThingsGraph) ListTagsForResourceRequest(input *ListTagsForResourceIn // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ResourceAlreadyExistsException +// - InvalidRequestException // -// * ThrottlingException +// - ResourceAlreadyExistsException // -// * InternalFailureException +// - ThrottlingException +// +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/ListTagsForResource func (c *IoTThingsGraph) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2228,15 +2225,14 @@ func (c *IoTThingsGraph) ListTagsForResourceWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *iotthingsgraph.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *iotthingsgraph.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTThingsGraph) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2288,14 +2284,13 @@ const opSearchEntities = "SearchEntities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchEntitiesRequest method. +// req, resp := client.SearchEntitiesRequest(params) // -// // Example sending a request using the SearchEntitiesRequest method. -// req, resp := client.SearchEntitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/SearchEntities func (c *IoTThingsGraph) SearchEntitiesRequest(input *SearchEntitiesInput) (req *request.Request, output *SearchEntitiesOutput) { @@ -2333,11 +2328,12 @@ func (c *IoTThingsGraph) SearchEntitiesRequest(input *SearchEntitiesInput) (req // API operation SearchEntities for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * InternalFailureException +// - InvalidRequestException +// +// - InternalFailureException // -// * ThrottlingException +// - ThrottlingException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/SearchEntities func (c *IoTThingsGraph) SearchEntities(input *SearchEntitiesInput) (*SearchEntitiesOutput, error) { @@ -2369,15 +2365,14 @@ func (c *IoTThingsGraph) SearchEntitiesWithContext(ctx aws.Context, input *Searc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchEntities operation. -// pageNum := 0 -// err := client.SearchEntitiesPages(params, -// func(page *iotthingsgraph.SearchEntitiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchEntities operation. +// pageNum := 0 +// err := client.SearchEntitiesPages(params, +// func(page *iotthingsgraph.SearchEntitiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTThingsGraph) SearchEntitiesPages(input *SearchEntitiesInput, fn func(*SearchEntitiesOutput, bool) bool) error { return c.SearchEntitiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2429,14 +2424,13 @@ const opSearchFlowExecutions = "SearchFlowExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchFlowExecutionsRequest method. +// req, resp := client.SearchFlowExecutionsRequest(params) // -// // Example sending a request using the SearchFlowExecutionsRequest method. -// req, resp := client.SearchFlowExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/SearchFlowExecutions func (c *IoTThingsGraph) SearchFlowExecutionsRequest(input *SearchFlowExecutionsInput) (req *request.Request, output *SearchFlowExecutionsOutput) { @@ -2473,13 +2467,14 @@ func (c *IoTThingsGraph) SearchFlowExecutionsRequest(input *SearchFlowExecutions // API operation SearchFlowExecutions for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException +// +// - ThrottlingException // -// * InternalFailureException +// - InternalFailureException // -// * ResourceNotFoundException +// - ResourceNotFoundException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/SearchFlowExecutions func (c *IoTThingsGraph) SearchFlowExecutions(input *SearchFlowExecutionsInput) (*SearchFlowExecutionsOutput, error) { @@ -2511,15 +2506,14 @@ func (c *IoTThingsGraph) SearchFlowExecutionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchFlowExecutions operation. -// pageNum := 0 -// err := client.SearchFlowExecutionsPages(params, -// func(page *iotthingsgraph.SearchFlowExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchFlowExecutions operation. +// pageNum := 0 +// err := client.SearchFlowExecutionsPages(params, +// func(page *iotthingsgraph.SearchFlowExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTThingsGraph) SearchFlowExecutionsPages(input *SearchFlowExecutionsInput, fn func(*SearchFlowExecutionsOutput, bool) bool) error { return c.SearchFlowExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2571,14 +2565,13 @@ const opSearchFlowTemplates = "SearchFlowTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchFlowTemplatesRequest method. +// req, resp := client.SearchFlowTemplatesRequest(params) // -// // Example sending a request using the SearchFlowTemplatesRequest method. -// req, resp := client.SearchFlowTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/SearchFlowTemplates func (c *IoTThingsGraph) SearchFlowTemplatesRequest(input *SearchFlowTemplatesInput) (req *request.Request, output *SearchFlowTemplatesOutput) { @@ -2615,11 +2608,12 @@ func (c *IoTThingsGraph) SearchFlowTemplatesRequest(input *SearchFlowTemplatesIn // API operation SearchFlowTemplates for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException +// +// - ThrottlingException // -// * InternalFailureException +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/SearchFlowTemplates func (c *IoTThingsGraph) SearchFlowTemplates(input *SearchFlowTemplatesInput) (*SearchFlowTemplatesOutput, error) { @@ -2651,15 +2645,14 @@ func (c *IoTThingsGraph) SearchFlowTemplatesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchFlowTemplates operation. -// pageNum := 0 -// err := client.SearchFlowTemplatesPages(params, -// func(page *iotthingsgraph.SearchFlowTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchFlowTemplates operation. +// pageNum := 0 +// err := client.SearchFlowTemplatesPages(params, +// func(page *iotthingsgraph.SearchFlowTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTThingsGraph) SearchFlowTemplatesPages(input *SearchFlowTemplatesInput, fn func(*SearchFlowTemplatesOutput, bool) bool) error { return c.SearchFlowTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2711,14 +2704,13 @@ const opSearchSystemInstances = "SearchSystemInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchSystemInstancesRequest method. +// req, resp := client.SearchSystemInstancesRequest(params) // -// // Example sending a request using the SearchSystemInstancesRequest method. -// req, resp := client.SearchSystemInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/SearchSystemInstances func (c *IoTThingsGraph) SearchSystemInstancesRequest(input *SearchSystemInstancesInput) (req *request.Request, output *SearchSystemInstancesOutput) { @@ -2755,11 +2747,12 @@ func (c *IoTThingsGraph) SearchSystemInstancesRequest(input *SearchSystemInstanc // API operation SearchSystemInstances for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException // -// * InternalFailureException +// - ThrottlingException +// +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/SearchSystemInstances func (c *IoTThingsGraph) SearchSystemInstances(input *SearchSystemInstancesInput) (*SearchSystemInstancesOutput, error) { @@ -2791,15 +2784,14 @@ func (c *IoTThingsGraph) SearchSystemInstancesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchSystemInstances operation. -// pageNum := 0 -// err := client.SearchSystemInstancesPages(params, -// func(page *iotthingsgraph.SearchSystemInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchSystemInstances operation. +// pageNum := 0 +// err := client.SearchSystemInstancesPages(params, +// func(page *iotthingsgraph.SearchSystemInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTThingsGraph) SearchSystemInstancesPages(input *SearchSystemInstancesInput, fn func(*SearchSystemInstancesOutput, bool) bool) error { return c.SearchSystemInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2851,14 +2843,13 @@ const opSearchSystemTemplates = "SearchSystemTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchSystemTemplatesRequest method. +// req, resp := client.SearchSystemTemplatesRequest(params) // -// // Example sending a request using the SearchSystemTemplatesRequest method. -// req, resp := client.SearchSystemTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/SearchSystemTemplates func (c *IoTThingsGraph) SearchSystemTemplatesRequest(input *SearchSystemTemplatesInput) (req *request.Request, output *SearchSystemTemplatesOutput) { @@ -2897,11 +2888,12 @@ func (c *IoTThingsGraph) SearchSystemTemplatesRequest(input *SearchSystemTemplat // API operation SearchSystemTemplates for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException // -// * InternalFailureException +// - ThrottlingException +// +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/SearchSystemTemplates func (c *IoTThingsGraph) SearchSystemTemplates(input *SearchSystemTemplatesInput) (*SearchSystemTemplatesOutput, error) { @@ -2933,15 +2925,14 @@ func (c *IoTThingsGraph) SearchSystemTemplatesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchSystemTemplates operation. -// pageNum := 0 -// err := client.SearchSystemTemplatesPages(params, -// func(page *iotthingsgraph.SearchSystemTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchSystemTemplates operation. +// pageNum := 0 +// err := client.SearchSystemTemplatesPages(params, +// func(page *iotthingsgraph.SearchSystemTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTThingsGraph) SearchSystemTemplatesPages(input *SearchSystemTemplatesInput, fn func(*SearchSystemTemplatesOutput, bool) bool) error { return c.SearchSystemTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2993,14 +2984,13 @@ const opSearchThings = "SearchThings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchThingsRequest method. +// req, resp := client.SearchThingsRequest(params) // -// // Example sending a request using the SearchThingsRequest method. -// req, resp := client.SearchThingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/SearchThings func (c *IoTThingsGraph) SearchThingsRequest(input *SearchThingsInput) (req *request.Request, output *SearchThingsOutput) { @@ -3045,13 +3035,14 @@ func (c *IoTThingsGraph) SearchThingsRequest(input *SearchThingsInput) (req *req // API operation SearchThings for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ResourceNotFoundException +// - InvalidRequestException +// +// - ResourceNotFoundException // -// * InternalFailureException +// - InternalFailureException // -// * ThrottlingException +// - ThrottlingException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/SearchThings func (c *IoTThingsGraph) SearchThings(input *SearchThingsInput) (*SearchThingsOutput, error) { @@ -3083,15 +3074,14 @@ func (c *IoTThingsGraph) SearchThingsWithContext(ctx aws.Context, input *SearchT // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchThings operation. -// pageNum := 0 -// err := client.SearchThingsPages(params, -// func(page *iotthingsgraph.SearchThingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchThings operation. +// pageNum := 0 +// err := client.SearchThingsPages(params, +// func(page *iotthingsgraph.SearchThingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTThingsGraph) SearchThingsPages(input *SearchThingsInput, fn func(*SearchThingsOutput, bool) bool) error { return c.SearchThingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3143,14 +3133,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/TagResource func (c *IoTThingsGraph) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3182,13 +3171,14 @@ func (c *IoTThingsGraph) TagResourceRequest(input *TagResourceInput) (req *reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ResourceAlreadyExistsException +// - InvalidRequestException +// +// - ResourceAlreadyExistsException // -// * ThrottlingException +// - ThrottlingException // -// * InternalFailureException +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/TagResource func (c *IoTThingsGraph) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3228,14 +3218,13 @@ const opUndeploySystemInstance = "UndeploySystemInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UndeploySystemInstanceRequest method. +// req, resp := client.UndeploySystemInstanceRequest(params) // -// // Example sending a request using the UndeploySystemInstanceRequest method. -// req, resp := client.UndeploySystemInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/UndeploySystemInstance func (c *IoTThingsGraph) UndeploySystemInstanceRequest(input *UndeploySystemInstanceInput) (req *request.Request, output *UndeploySystemInstanceOutput) { @@ -3266,15 +3255,16 @@ func (c *IoTThingsGraph) UndeploySystemInstanceRequest(input *UndeploySystemInst // API operation UndeploySystemInstance for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ThrottlingException +// - InvalidRequestException +// +// - ThrottlingException // -// * InternalFailureException +// - InternalFailureException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ResourceInUseException +// - ResourceInUseException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/UndeploySystemInstance func (c *IoTThingsGraph) UndeploySystemInstance(input *UndeploySystemInstanceInput) (*UndeploySystemInstanceOutput, error) { @@ -3314,14 +3304,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/UntagResource func (c *IoTThingsGraph) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3353,13 +3342,14 @@ func (c *IoTThingsGraph) UntagResourceRequest(input *UntagResourceInput) (req *r // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ResourceAlreadyExistsException +// - InvalidRequestException // -// * ThrottlingException +// - ResourceAlreadyExistsException // -// * InternalFailureException +// - ThrottlingException +// +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/UntagResource func (c *IoTThingsGraph) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3399,14 +3389,13 @@ const opUpdateFlowTemplate = "UpdateFlowTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFlowTemplateRequest method. +// req, resp := client.UpdateFlowTemplateRequest(params) // -// // Example sending a request using the UpdateFlowTemplateRequest method. -// req, resp := client.UpdateFlowTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/UpdateFlowTemplate func (c *IoTThingsGraph) UpdateFlowTemplateRequest(input *UpdateFlowTemplateInput) (req *request.Request, output *UpdateFlowTemplateOutput) { @@ -3441,13 +3430,14 @@ func (c *IoTThingsGraph) UpdateFlowTemplateRequest(input *UpdateFlowTemplateInpu // API operation UpdateFlowTemplate for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ResourceNotFoundException +// - InvalidRequestException // -// * ThrottlingException +// - ResourceNotFoundException // -// * InternalFailureException +// - ThrottlingException +// +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/UpdateFlowTemplate func (c *IoTThingsGraph) UpdateFlowTemplate(input *UpdateFlowTemplateInput) (*UpdateFlowTemplateOutput, error) { @@ -3487,14 +3477,13 @@ const opUpdateSystemTemplate = "UpdateSystemTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSystemTemplateRequest method. +// req, resp := client.UpdateSystemTemplateRequest(params) // -// // Example sending a request using the UpdateSystemTemplateRequest method. -// req, resp := client.UpdateSystemTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/UpdateSystemTemplate func (c *IoTThingsGraph) UpdateSystemTemplateRequest(input *UpdateSystemTemplateInput) (req *request.Request, output *UpdateSystemTemplateOutput) { @@ -3527,13 +3516,14 @@ func (c *IoTThingsGraph) UpdateSystemTemplateRequest(input *UpdateSystemTemplate // API operation UpdateSystemTemplate for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * ResourceNotFoundException +// - InvalidRequestException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * InternalFailureException +// - InternalFailureException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/UpdateSystemTemplate func (c *IoTThingsGraph) UpdateSystemTemplate(input *UpdateSystemTemplateInput) (*UpdateSystemTemplateOutput, error) { @@ -3573,14 +3563,13 @@ const opUploadEntityDefinitions = "UploadEntityDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UploadEntityDefinitionsRequest method. +// req, resp := client.UploadEntityDefinitionsRequest(params) // -// // Example sending a request using the UploadEntityDefinitionsRequest method. -// req, resp := client.UploadEntityDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/UploadEntityDefinitions func (c *IoTThingsGraph) UploadEntityDefinitionsRequest(input *UploadEntityDefinitionsInput) (req *request.Request, output *UploadEntityDefinitionsOutput) { @@ -3630,11 +3619,12 @@ func (c *IoTThingsGraph) UploadEntityDefinitionsRequest(input *UploadEntityDefin // API operation UploadEntityDefinitions for usage and error information. // // Returned Error Types: -// * InvalidRequestException // -// * InternalFailureException +// - InvalidRequestException +// +// - InternalFailureException // -// * ThrottlingException +// - ThrottlingException // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/UploadEntityDefinitions func (c *IoTThingsGraph) UploadEntityDefinitions(input *UploadEntityDefinitionsInput) (*UploadEntityDefinitionsOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/doc.go index c1f9facdf7d9..0ab1e5d932ca 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/doc.go @@ -17,7 +17,7 @@ // See iotthingsgraph package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/iotthingsgraph/ // -// Using the Client +// # Using the Client // // To contact AWS IoT Things Graph with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/iotthingsgraphiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/iotthingsgraphiface/interface.go index 0a13c6fbfc28..cf8aaf3521b7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/iotthingsgraphiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/iotthingsgraphiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT Things Graph. -// func myFunc(svc iotthingsgraphiface.IoTThingsGraphAPI) bool { -// // Make svc.AssociateEntityToThing request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT Things Graph. +// func myFunc(svc iotthingsgraphiface.IoTThingsGraphAPI) bool { +// // Make svc.AssociateEntityToThing request +// } // -// func main() { -// sess := session.New() -// svc := iotthingsgraph.New(sess) +// func main() { +// sess := session.New() +// svc := iotthingsgraph.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIoTThingsGraphClient struct { -// iotthingsgraphiface.IoTThingsGraphAPI -// } -// func (m *mockIoTThingsGraphClient) AssociateEntityToThing(input *iotthingsgraph.AssociateEntityToThingInput) (*iotthingsgraph.AssociateEntityToThingOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIoTThingsGraphClient struct { +// iotthingsgraphiface.IoTThingsGraphAPI +// } +// func (m *mockIoTThingsGraphClient) AssociateEntityToThing(input *iotthingsgraph.AssociateEntityToThingInput) (*iotthingsgraph.AssociateEntityToThingOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIoTThingsGraphClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIoTThingsGraphClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/service.go index 17de2c33e434..e0e0e02d0243 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotthingsgraph/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IoTThingsGraph client from just a session. -// svc := iotthingsgraph.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IoTThingsGraph client with additional configuration -// svc := iotthingsgraph.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IoTThingsGraph client from just a session. +// svc := iotthingsgraph.New(mySession) +// +// // Create a IoTThingsGraph client with additional configuration +// svc := iotthingsgraph.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoTThingsGraph { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/api.go index 7d36db2d6811..f39f41a2ac77 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/api.go @@ -29,14 +29,13 @@ const opBatchPutPropertyValues = "BatchPutPropertyValues" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchPutPropertyValuesRequest method. +// req, resp := client.BatchPutPropertyValuesRequest(params) // -// // Example sending a request using the BatchPutPropertyValuesRequest method. -// req, resp := client.BatchPutPropertyValuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/BatchPutPropertyValues func (c *IoTTwinMaker) BatchPutPropertyValuesRequest(input *BatchPutPropertyValuesInput) (req *request.Request, output *BatchPutPropertyValuesOutput) { @@ -69,17 +68,18 @@ func (c *IoTTwinMaker) BatchPutPropertyValuesRequest(input *BatchPutPropertyValu // API operation BatchPutPropertyValues for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * ResourceNotFoundException -// The resource wasn't found. +// - InternalServerException +// An unexpected error has occurred. +// +// - ResourceNotFoundException +// The resource wasn't found. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ValidationException -// Failed +// - ValidationException +// Failed // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/BatchPutPropertyValues func (c *IoTTwinMaker) BatchPutPropertyValues(input *BatchPutPropertyValuesInput) (*BatchPutPropertyValuesOutput, error) { @@ -119,14 +119,13 @@ const opCreateComponentType = "CreateComponentType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateComponentTypeRequest method. +// req, resp := client.CreateComponentTypeRequest(params) // -// // Example sending a request using the CreateComponentTypeRequest method. -// req, resp := client.CreateComponentTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/CreateComponentType func (c *IoTTwinMaker) CreateComponentTypeRequest(input *CreateComponentTypeInput) (req *request.Request, output *CreateComponentTypeOutput) { @@ -159,23 +158,24 @@ func (c *IoTTwinMaker) CreateComponentTypeRequest(input *CreateComponentTypeInpu // API operation CreateComponentType for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// An unexpected error has occurred. +// +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ValidationException -// Failed +// - ValidationException +// Failed // -// * ConflictException -// A conflict occurred. +// - ConflictException +// A conflict occurred. // -// * ServiceQuotaExceededException -// The service quota was exceeded. +// - ServiceQuotaExceededException +// The service quota was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/CreateComponentType func (c *IoTTwinMaker) CreateComponentType(input *CreateComponentTypeInput) (*CreateComponentTypeOutput, error) { @@ -215,14 +215,13 @@ const opCreateEntity = "CreateEntity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEntityRequest method. +// req, resp := client.CreateEntityRequest(params) // -// // Example sending a request using the CreateEntityRequest method. -// req, resp := client.CreateEntityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/CreateEntity func (c *IoTTwinMaker) CreateEntityRequest(input *CreateEntityInput) (req *request.Request, output *CreateEntityOutput) { @@ -255,23 +254,24 @@ func (c *IoTTwinMaker) CreateEntityRequest(input *CreateEntityInput) (req *reque // API operation CreateEntity for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// An unexpected error has occurred. +// +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ValidationException -// Failed +// - ValidationException +// Failed // -// * ConflictException -// A conflict occurred. +// - ConflictException +// A conflict occurred. // -// * ServiceQuotaExceededException -// The service quota was exceeded. +// - ServiceQuotaExceededException +// The service quota was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/CreateEntity func (c *IoTTwinMaker) CreateEntity(input *CreateEntityInput) (*CreateEntityOutput, error) { @@ -311,14 +311,13 @@ const opCreateScene = "CreateScene" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSceneRequest method. +// req, resp := client.CreateSceneRequest(params) // -// // Example sending a request using the CreateSceneRequest method. -// req, resp := client.CreateSceneRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/CreateScene func (c *IoTTwinMaker) CreateSceneRequest(input *CreateSceneInput) (req *request.Request, output *CreateSceneOutput) { @@ -351,23 +350,24 @@ func (c *IoTTwinMaker) CreateSceneRequest(input *CreateSceneInput) (req *request // API operation CreateScene for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// An unexpected error has occurred. +// +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ValidationException -// Failed +// - ValidationException +// Failed // -// * ConflictException -// A conflict occurred. +// - ConflictException +// A conflict occurred. // -// * ServiceQuotaExceededException -// The service quota was exceeded. +// - ServiceQuotaExceededException +// The service quota was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/CreateScene func (c *IoTTwinMaker) CreateScene(input *CreateSceneInput) (*CreateSceneOutput, error) { @@ -407,14 +407,13 @@ const opCreateWorkspace = "CreateWorkspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorkspaceRequest method. +// req, resp := client.CreateWorkspaceRequest(params) // -// // Example sending a request using the CreateWorkspaceRequest method. -// req, resp := client.CreateWorkspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/CreateWorkspace func (c *IoTTwinMaker) CreateWorkspaceRequest(input *CreateWorkspaceInput) (req *request.Request, output *CreateWorkspaceOutput) { @@ -447,23 +446,24 @@ func (c *IoTTwinMaker) CreateWorkspaceRequest(input *CreateWorkspaceInput) (req // API operation CreateWorkspace for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// An unexpected error has occurred. +// +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ValidationException -// Failed +// - ValidationException +// Failed // -// * ConflictException -// A conflict occurred. +// - ConflictException +// A conflict occurred. // -// * ServiceQuotaExceededException -// The service quota was exceeded. +// - ServiceQuotaExceededException +// The service quota was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/CreateWorkspace func (c *IoTTwinMaker) CreateWorkspace(input *CreateWorkspaceInput) (*CreateWorkspaceOutput, error) { @@ -503,14 +503,13 @@ const opDeleteComponentType = "DeleteComponentType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteComponentTypeRequest method. +// req, resp := client.DeleteComponentTypeRequest(params) // -// // Example sending a request using the DeleteComponentTypeRequest method. -// req, resp := client.DeleteComponentTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/DeleteComponentType func (c *IoTTwinMaker) DeleteComponentTypeRequest(input *DeleteComponentTypeInput) (req *request.Request, output *DeleteComponentTypeOutput) { @@ -543,20 +542,21 @@ func (c *IoTTwinMaker) DeleteComponentTypeRequest(input *DeleteComponentTypeInpu // API operation DeleteComponentType for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// An unexpected error has occurred. +// +// - AccessDeniedException +// Access is denied. // -// * ResourceNotFoundException -// The resource wasn't found. +// - ResourceNotFoundException +// The resource wasn't found. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ValidationException -// Failed +// - ValidationException +// Failed // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/DeleteComponentType func (c *IoTTwinMaker) DeleteComponentType(input *DeleteComponentTypeInput) (*DeleteComponentTypeOutput, error) { @@ -596,14 +596,13 @@ const opDeleteEntity = "DeleteEntity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEntityRequest method. +// req, resp := client.DeleteEntityRequest(params) // -// // Example sending a request using the DeleteEntityRequest method. -// req, resp := client.DeleteEntityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/DeleteEntity func (c *IoTTwinMaker) DeleteEntityRequest(input *DeleteEntityInput) (req *request.Request, output *DeleteEntityOutput) { @@ -636,20 +635,21 @@ func (c *IoTTwinMaker) DeleteEntityRequest(input *DeleteEntityInput) (req *reque // API operation DeleteEntity for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * ResourceNotFoundException -// The resource wasn't found. +// - InternalServerException +// An unexpected error has occurred. +// +// - ResourceNotFoundException +// The resource wasn't found. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ValidationException -// Failed +// - ValidationException +// Failed // -// * ServiceQuotaExceededException -// The service quota was exceeded. +// - ServiceQuotaExceededException +// The service quota was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/DeleteEntity func (c *IoTTwinMaker) DeleteEntity(input *DeleteEntityInput) (*DeleteEntityOutput, error) { @@ -689,14 +689,13 @@ const opDeleteScene = "DeleteScene" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSceneRequest method. +// req, resp := client.DeleteSceneRequest(params) // -// // Example sending a request using the DeleteSceneRequest method. -// req, resp := client.DeleteSceneRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/DeleteScene func (c *IoTTwinMaker) DeleteSceneRequest(input *DeleteSceneInput) (req *request.Request, output *DeleteSceneOutput) { @@ -730,20 +729,21 @@ func (c *IoTTwinMaker) DeleteSceneRequest(input *DeleteSceneInput) (req *request // API operation DeleteScene for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// An unexpected error has occurred. // -// * ResourceNotFoundException -// The resource wasn't found. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The resource wasn't found. // -// * ValidationException -// Failed +// - ThrottlingException +// The rate exceeds the limit. +// +// - ValidationException +// Failed // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/DeleteScene func (c *IoTTwinMaker) DeleteScene(input *DeleteSceneInput) (*DeleteSceneOutput, error) { @@ -783,14 +783,13 @@ const opDeleteWorkspace = "DeleteWorkspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorkspaceRequest method. +// req, resp := client.DeleteWorkspaceRequest(params) // -// // Example sending a request using the DeleteWorkspaceRequest method. -// req, resp := client.DeleteWorkspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/DeleteWorkspace func (c *IoTTwinMaker) DeleteWorkspaceRequest(input *DeleteWorkspaceInput) (req *request.Request, output *DeleteWorkspaceOutput) { @@ -824,20 +823,21 @@ func (c *IoTTwinMaker) DeleteWorkspaceRequest(input *DeleteWorkspaceInput) (req // API operation DeleteWorkspace for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// An unexpected error has occurred. // -// * ResourceNotFoundException -// The resource wasn't found. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The resource wasn't found. // -// * ValidationException -// Failed +// - ThrottlingException +// The rate exceeds the limit. +// +// - ValidationException +// Failed // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/DeleteWorkspace func (c *IoTTwinMaker) DeleteWorkspace(input *DeleteWorkspaceInput) (*DeleteWorkspaceOutput, error) { @@ -877,14 +877,13 @@ const opGetComponentType = "GetComponentType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetComponentTypeRequest method. +// req, resp := client.GetComponentTypeRequest(params) // -// // Example sending a request using the GetComponentTypeRequest method. -// req, resp := client.GetComponentTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/GetComponentType func (c *IoTTwinMaker) GetComponentTypeRequest(input *GetComponentTypeInput) (req *request.Request, output *GetComponentTypeOutput) { @@ -917,17 +916,18 @@ func (c *IoTTwinMaker) GetComponentTypeRequest(input *GetComponentTypeInput) (re // API operation GetComponentType for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// An unexpected error has occurred. // -// * ResourceNotFoundException -// The resource wasn't found. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The resource wasn't found. +// +// - ThrottlingException +// The rate exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/GetComponentType func (c *IoTTwinMaker) GetComponentType(input *GetComponentTypeInput) (*GetComponentTypeOutput, error) { @@ -967,14 +967,13 @@ const opGetEntity = "GetEntity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEntityRequest method. +// req, resp := client.GetEntityRequest(params) // -// // Example sending a request using the GetEntityRequest method. -// req, resp := client.GetEntityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/GetEntity func (c *IoTTwinMaker) GetEntityRequest(input *GetEntityInput) (req *request.Request, output *GetEntityOutput) { @@ -1007,20 +1006,21 @@ func (c *IoTTwinMaker) GetEntityRequest(input *GetEntityInput) (req *request.Req // API operation GetEntity for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * ResourceNotFoundException -// The resource wasn't found. +// - InternalServerException +// An unexpected error has occurred. +// +// - ResourceNotFoundException +// The resource wasn't found. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ValidationException -// Failed +// - ValidationException +// Failed // -// * ServiceQuotaExceededException -// The service quota was exceeded. +// - ServiceQuotaExceededException +// The service quota was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/GetEntity func (c *IoTTwinMaker) GetEntity(input *GetEntityInput) (*GetEntityOutput, error) { @@ -1060,14 +1060,13 @@ const opGetPropertyValue = "GetPropertyValue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPropertyValueRequest method. +// req, resp := client.GetPropertyValueRequest(params) // -// // Example sending a request using the GetPropertyValueRequest method. -// req, resp := client.GetPropertyValueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/GetPropertyValue func (c *IoTTwinMaker) GetPropertyValueRequest(input *GetPropertyValueInput) (req *request.Request, output *GetPropertyValueOutput) { @@ -1103,26 +1102,27 @@ func (c *IoTTwinMaker) GetPropertyValueRequest(input *GetPropertyValueInput) (re // API operation GetPropertyValue for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * ConnectorFailureException -// The connector failed. +// - InternalServerException +// An unexpected error has occurred. +// +// - ConnectorFailureException +// The connector failed. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ResourceNotFoundException -// The resource wasn't found. +// - ResourceNotFoundException +// The resource wasn't found. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ValidationException -// Failed +// - ValidationException +// Failed // -// * ConnectorTimeoutException -// The connector timed out. +// - ConnectorTimeoutException +// The connector timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/GetPropertyValue func (c *IoTTwinMaker) GetPropertyValue(input *GetPropertyValueInput) (*GetPropertyValueOutput, error) { @@ -1162,14 +1162,13 @@ const opGetPropertyValueHistory = "GetPropertyValueHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPropertyValueHistoryRequest method. +// req, resp := client.GetPropertyValueHistoryRequest(params) // -// // Example sending a request using the GetPropertyValueHistoryRequest method. -// req, resp := client.GetPropertyValueHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/GetPropertyValueHistory func (c *IoTTwinMaker) GetPropertyValueHistoryRequest(input *GetPropertyValueHistoryInput) (req *request.Request, output *GetPropertyValueHistoryOutput) { @@ -1213,26 +1212,27 @@ func (c *IoTTwinMaker) GetPropertyValueHistoryRequest(input *GetPropertyValueHis // API operation GetPropertyValueHistory for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * ConnectorFailureException -// The connector failed. +// - InternalServerException +// An unexpected error has occurred. +// +// - ConnectorFailureException +// The connector failed. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ResourceNotFoundException -// The resource wasn't found. +// - ResourceNotFoundException +// The resource wasn't found. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ValidationException -// Failed +// - ValidationException +// Failed // -// * ConnectorTimeoutException -// The connector timed out. +// - ConnectorTimeoutException +// The connector timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/GetPropertyValueHistory func (c *IoTTwinMaker) GetPropertyValueHistory(input *GetPropertyValueHistoryInput) (*GetPropertyValueHistoryOutput, error) { @@ -1264,15 +1264,14 @@ func (c *IoTTwinMaker) GetPropertyValueHistoryWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetPropertyValueHistory operation. -// pageNum := 0 -// err := client.GetPropertyValueHistoryPages(params, -// func(page *iottwinmaker.GetPropertyValueHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetPropertyValueHistory operation. +// pageNum := 0 +// err := client.GetPropertyValueHistoryPages(params, +// func(page *iottwinmaker.GetPropertyValueHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTTwinMaker) GetPropertyValueHistoryPages(input *GetPropertyValueHistoryInput, fn func(*GetPropertyValueHistoryOutput, bool) bool) error { return c.GetPropertyValueHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1324,14 +1323,13 @@ const opGetScene = "GetScene" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSceneRequest method. +// req, resp := client.GetSceneRequest(params) // -// // Example sending a request using the GetSceneRequest method. -// req, resp := client.GetSceneRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/GetScene func (c *IoTTwinMaker) GetSceneRequest(input *GetSceneInput) (req *request.Request, output *GetSceneOutput) { @@ -1364,20 +1362,21 @@ func (c *IoTTwinMaker) GetSceneRequest(input *GetSceneInput) (req *request.Reque // API operation GetScene for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// An unexpected error has occurred. +// +// - AccessDeniedException +// Access is denied. // -// * ResourceNotFoundException -// The resource wasn't found. +// - ResourceNotFoundException +// The resource wasn't found. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ValidationException -// Failed +// - ValidationException +// Failed // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/GetScene func (c *IoTTwinMaker) GetScene(input *GetSceneInput) (*GetSceneOutput, error) { @@ -1417,14 +1416,13 @@ const opGetWorkspace = "GetWorkspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWorkspaceRequest method. +// req, resp := client.GetWorkspaceRequest(params) // -// // Example sending a request using the GetWorkspaceRequest method. -// req, resp := client.GetWorkspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/GetWorkspace func (c *IoTTwinMaker) GetWorkspaceRequest(input *GetWorkspaceInput) (req *request.Request, output *GetWorkspaceOutput) { @@ -1457,20 +1455,21 @@ func (c *IoTTwinMaker) GetWorkspaceRequest(input *GetWorkspaceInput) (req *reque // API operation GetWorkspace for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * ResourceNotFoundException -// The resource wasn't found. +// - InternalServerException +// An unexpected error has occurred. +// +// - ResourceNotFoundException +// The resource wasn't found. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ValidationException -// Failed +// - ValidationException +// Failed // -// * ServiceQuotaExceededException -// The service quota was exceeded. +// - ServiceQuotaExceededException +// The service quota was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/GetWorkspace func (c *IoTTwinMaker) GetWorkspace(input *GetWorkspaceInput) (*GetWorkspaceOutput, error) { @@ -1510,14 +1509,13 @@ const opListComponentTypes = "ListComponentTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListComponentTypesRequest method. +// req, resp := client.ListComponentTypesRequest(params) // -// // Example sending a request using the ListComponentTypesRequest method. -// req, resp := client.ListComponentTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/ListComponentTypes func (c *IoTTwinMaker) ListComponentTypesRequest(input *ListComponentTypesInput) (req *request.Request, output *ListComponentTypesOutput) { @@ -1556,17 +1554,18 @@ func (c *IoTTwinMaker) ListComponentTypesRequest(input *ListComponentTypesInput) // API operation ListComponentTypes for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// An unexpected error has occurred. +// +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ValidationException -// Failed +// - ValidationException +// Failed // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/ListComponentTypes func (c *IoTTwinMaker) ListComponentTypes(input *ListComponentTypesInput) (*ListComponentTypesOutput, error) { @@ -1598,15 +1597,14 @@ func (c *IoTTwinMaker) ListComponentTypesWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListComponentTypes operation. -// pageNum := 0 -// err := client.ListComponentTypesPages(params, -// func(page *iottwinmaker.ListComponentTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListComponentTypes operation. +// pageNum := 0 +// err := client.ListComponentTypesPages(params, +// func(page *iottwinmaker.ListComponentTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTTwinMaker) ListComponentTypesPages(input *ListComponentTypesInput, fn func(*ListComponentTypesOutput, bool) bool) error { return c.ListComponentTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1658,14 +1656,13 @@ const opListEntities = "ListEntities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEntitiesRequest method. +// req, resp := client.ListEntitiesRequest(params) // -// // Example sending a request using the ListEntitiesRequest method. -// req, resp := client.ListEntitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/ListEntities func (c *IoTTwinMaker) ListEntitiesRequest(input *ListEntitiesInput) (req *request.Request, output *ListEntitiesOutput) { @@ -1704,17 +1701,18 @@ func (c *IoTTwinMaker) ListEntitiesRequest(input *ListEntitiesInput) (req *reque // API operation ListEntities for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - InternalServerException +// An unexpected error has occurred. +// +// - ThrottlingException +// The rate exceeds the limit. // -// * ValidationException -// Failed +// - ValidationException +// Failed // -// * ServiceQuotaExceededException -// The service quota was exceeded. +// - ServiceQuotaExceededException +// The service quota was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/ListEntities func (c *IoTTwinMaker) ListEntities(input *ListEntitiesInput) (*ListEntitiesOutput, error) { @@ -1746,15 +1744,14 @@ func (c *IoTTwinMaker) ListEntitiesWithContext(ctx aws.Context, input *ListEntit // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEntities operation. -// pageNum := 0 -// err := client.ListEntitiesPages(params, -// func(page *iottwinmaker.ListEntitiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEntities operation. +// pageNum := 0 +// err := client.ListEntitiesPages(params, +// func(page *iottwinmaker.ListEntitiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTTwinMaker) ListEntitiesPages(input *ListEntitiesInput, fn func(*ListEntitiesOutput, bool) bool) error { return c.ListEntitiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1806,14 +1803,13 @@ const opListScenes = "ListScenes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListScenesRequest method. +// req, resp := client.ListScenesRequest(params) // -// // Example sending a request using the ListScenesRequest method. -// req, resp := client.ListScenesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/ListScenes func (c *IoTTwinMaker) ListScenesRequest(input *ListScenesInput) (req *request.Request, output *ListScenesOutput) { @@ -1852,17 +1848,18 @@ func (c *IoTTwinMaker) ListScenesRequest(input *ListScenesInput) (req *request.R // API operation ListScenes for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// Failed +// - ThrottlingException +// The rate exceeds the limit. +// +// - ValidationException +// Failed // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/ListScenes func (c *IoTTwinMaker) ListScenes(input *ListScenesInput) (*ListScenesOutput, error) { @@ -1894,15 +1891,14 @@ func (c *IoTTwinMaker) ListScenesWithContext(ctx aws.Context, input *ListScenesI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListScenes operation. -// pageNum := 0 -// err := client.ListScenesPages(params, -// func(page *iottwinmaker.ListScenesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListScenes operation. +// pageNum := 0 +// err := client.ListScenesPages(params, +// func(page *iottwinmaker.ListScenesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTTwinMaker) ListScenesPages(input *ListScenesInput, fn func(*ListScenesOutput, bool) bool) error { return c.ListScenesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1954,14 +1950,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/ListTagsForResource func (c *IoTTwinMaker) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1994,11 +1989,12 @@ func (c *IoTTwinMaker) ListTagsForResourceRequest(input *ListTagsForResourceInpu // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access is denied. // -// * ResourceNotFoundException -// The resource wasn't found. +// - AccessDeniedException +// Access is denied. +// +// - ResourceNotFoundException +// The resource wasn't found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/ListTagsForResource func (c *IoTTwinMaker) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2038,14 +2034,13 @@ const opListWorkspaces = "ListWorkspaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorkspacesRequest method. +// req, resp := client.ListWorkspacesRequest(params) // -// // Example sending a request using the ListWorkspacesRequest method. -// req, resp := client.ListWorkspacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/ListWorkspaces func (c *IoTTwinMaker) ListWorkspacesRequest(input *ListWorkspacesInput) (req *request.Request, output *ListWorkspacesOutput) { @@ -2084,17 +2079,18 @@ func (c *IoTTwinMaker) ListWorkspacesRequest(input *ListWorkspacesInput) (req *r // API operation ListWorkspaces for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * ThrottlingException -// The rate exceeds the limit. +// - InternalServerException +// An unexpected error has occurred. // -// * ValidationException -// Failed +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceQuotaExceededException -// The service quota was exceeded. +// - ValidationException +// Failed +// +// - ServiceQuotaExceededException +// The service quota was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/ListWorkspaces func (c *IoTTwinMaker) ListWorkspaces(input *ListWorkspacesInput) (*ListWorkspacesOutput, error) { @@ -2126,15 +2122,14 @@ func (c *IoTTwinMaker) ListWorkspacesWithContext(ctx aws.Context, input *ListWor // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorkspaces operation. -// pageNum := 0 -// err := client.ListWorkspacesPages(params, -// func(page *iottwinmaker.ListWorkspacesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorkspaces operation. +// pageNum := 0 +// err := client.ListWorkspacesPages(params, +// func(page *iottwinmaker.ListWorkspacesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTTwinMaker) ListWorkspacesPages(input *ListWorkspacesInput, fn func(*ListWorkspacesOutput, bool) bool) error { return c.ListWorkspacesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2186,14 +2181,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/TagResource func (c *IoTTwinMaker) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2227,14 +2221,15 @@ func (c *IoTTwinMaker) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * TooManyTagsException -// The number of tags exceeds the limit. // -// * AccessDeniedException -// Access is denied. +// - TooManyTagsException +// The number of tags exceeds the limit. +// +// - AccessDeniedException +// Access is denied. // -// * ResourceNotFoundException -// The resource wasn't found. +// - ResourceNotFoundException +// The resource wasn't found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/TagResource func (c *IoTTwinMaker) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2274,14 +2269,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UntagResource func (c *IoTTwinMaker) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2315,11 +2309,12 @@ func (c *IoTTwinMaker) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access is denied. // -// * ResourceNotFoundException -// The resource wasn't found. +// - AccessDeniedException +// Access is denied. +// +// - ResourceNotFoundException +// The resource wasn't found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UntagResource func (c *IoTTwinMaker) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2359,14 +2354,13 @@ const opUpdateComponentType = "UpdateComponentType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateComponentTypeRequest method. +// req, resp := client.UpdateComponentTypeRequest(params) // -// // Example sending a request using the UpdateComponentTypeRequest method. -// req, resp := client.UpdateComponentTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UpdateComponentType func (c *IoTTwinMaker) UpdateComponentTypeRequest(input *UpdateComponentTypeInput) (req *request.Request, output *UpdateComponentTypeOutput) { @@ -2399,23 +2393,24 @@ func (c *IoTTwinMaker) UpdateComponentTypeRequest(input *UpdateComponentTypeInpu // API operation UpdateComponentType for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// An unexpected error has occurred. // -// * ResourceNotFoundException -// The resource wasn't found. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The resource wasn't found. // -// * ValidationException -// Failed +// - ThrottlingException +// The rate exceeds the limit. // -// * ServiceQuotaExceededException -// The service quota was exceeded. +// - ValidationException +// Failed +// +// - ServiceQuotaExceededException +// The service quota was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UpdateComponentType func (c *IoTTwinMaker) UpdateComponentType(input *UpdateComponentTypeInput) (*UpdateComponentTypeOutput, error) { @@ -2455,14 +2450,13 @@ const opUpdateEntity = "UpdateEntity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEntityRequest method. +// req, resp := client.UpdateEntityRequest(params) // -// // Example sending a request using the UpdateEntityRequest method. -// req, resp := client.UpdateEntityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UpdateEntity func (c *IoTTwinMaker) UpdateEntityRequest(input *UpdateEntityInput) (req *request.Request, output *UpdateEntityOutput) { @@ -2495,26 +2489,27 @@ func (c *IoTTwinMaker) UpdateEntityRequest(input *UpdateEntityInput) (req *reque // API operation UpdateEntity for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// An unexpected error has occurred. // -// * ResourceNotFoundException -// The resource wasn't found. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The resource wasn't found. // -// * ValidationException -// Failed +// - ThrottlingException +// The rate exceeds the limit. // -// * ConflictException -// A conflict occurred. +// - ValidationException +// Failed // -// * ServiceQuotaExceededException -// The service quota was exceeded. +// - ConflictException +// A conflict occurred. +// +// - ServiceQuotaExceededException +// The service quota was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UpdateEntity func (c *IoTTwinMaker) UpdateEntity(input *UpdateEntityInput) (*UpdateEntityOutput, error) { @@ -2554,14 +2549,13 @@ const opUpdateScene = "UpdateScene" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSceneRequest method. +// req, resp := client.UpdateSceneRequest(params) // -// // Example sending a request using the UpdateSceneRequest method. -// req, resp := client.UpdateSceneRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UpdateScene func (c *IoTTwinMaker) UpdateSceneRequest(input *UpdateSceneInput) (req *request.Request, output *UpdateSceneOutput) { @@ -2594,20 +2588,21 @@ func (c *IoTTwinMaker) UpdateSceneRequest(input *UpdateSceneInput) (req *request // API operation UpdateScene for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// An unexpected error has occurred. // -// * ResourceNotFoundException -// The resource wasn't found. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// The rate exceeds the limit. +// - ResourceNotFoundException +// The resource wasn't found. // -// * ValidationException -// Failed +// - ThrottlingException +// The rate exceeds the limit. +// +// - ValidationException +// Failed // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UpdateScene func (c *IoTTwinMaker) UpdateScene(input *UpdateSceneInput) (*UpdateSceneOutput, error) { @@ -2647,14 +2642,13 @@ const opUpdateWorkspace = "UpdateWorkspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWorkspaceRequest method. +// req, resp := client.UpdateWorkspaceRequest(params) // -// // Example sending a request using the UpdateWorkspaceRequest method. -// req, resp := client.UpdateWorkspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UpdateWorkspace func (c *IoTTwinMaker) UpdateWorkspaceRequest(input *UpdateWorkspaceInput) (req *request.Request, output *UpdateWorkspaceOutput) { @@ -2687,23 +2681,24 @@ func (c *IoTTwinMaker) UpdateWorkspaceRequest(input *UpdateWorkspaceInput) (req // API operation UpdateWorkspace for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error has occurred. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// An unexpected error has occurred. +// +// - AccessDeniedException +// Access is denied. // -// * ResourceNotFoundException -// The resource wasn't found. +// - ResourceNotFoundException +// The resource wasn't found. // -// * ThrottlingException -// The rate exceeds the limit. +// - ThrottlingException +// The rate exceeds the limit. // -// * ValidationException -// Failed +// - ValidationException +// Failed // -// * ServiceQuotaExceededException -// The service quota was exceeded. +// - ServiceQuotaExceededException +// The service quota was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iottwinmaker-2021-11-29/UpdateWorkspace func (c *IoTTwinMaker) UpdateWorkspace(input *UpdateWorkspaceInput) (*UpdateWorkspaceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/doc.go index e2766d6d88a5..68599bfafe64 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/doc.go @@ -15,7 +15,7 @@ // See iottwinmaker package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/iottwinmaker/ // -// Using the Client +// # Using the Client // // To contact AWS IoT TwinMaker with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/iottwinmakeriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/iottwinmakeriface/interface.go index adb0f99bb77a..003902f9a7f3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/iottwinmakeriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/iottwinmakeriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT TwinMaker. -// func myFunc(svc iottwinmakeriface.IoTTwinMakerAPI) bool { -// // Make svc.BatchPutPropertyValues request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT TwinMaker. +// func myFunc(svc iottwinmakeriface.IoTTwinMakerAPI) bool { +// // Make svc.BatchPutPropertyValues request +// } // -// func main() { -// sess := session.New() -// svc := iottwinmaker.New(sess) +// func main() { +// sess := session.New() +// svc := iottwinmaker.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIoTTwinMakerClient struct { -// iottwinmakeriface.IoTTwinMakerAPI -// } -// func (m *mockIoTTwinMakerClient) BatchPutPropertyValues(input *iottwinmaker.BatchPutPropertyValuesInput) (*iottwinmaker.BatchPutPropertyValuesOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIoTTwinMakerClient struct { +// iottwinmakeriface.IoTTwinMakerAPI +// } +// func (m *mockIoTTwinMakerClient) BatchPutPropertyValues(input *iottwinmaker.BatchPutPropertyValuesInput) (*iottwinmaker.BatchPutPropertyValuesOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIoTTwinMakerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIoTTwinMakerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/service.go index 3460db727052..98ac9a80ec00 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iottwinmaker/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IoTTwinMaker client from just a session. -// svc := iottwinmaker.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IoTTwinMaker client with additional configuration -// svc := iottwinmaker.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IoTTwinMaker client from just a session. +// svc := iottwinmaker.New(mySession) +// +// // Create a IoTTwinMaker client with additional configuration +// svc := iottwinmaker.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoTTwinMaker { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/api.go index eacc472c86f0..3d70b74073f4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/api.go @@ -29,14 +29,13 @@ const opAssociateAwsAccountWithPartnerAccount = "AssociateAwsAccountWithPartnerA // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateAwsAccountWithPartnerAccountRequest method. +// req, resp := client.AssociateAwsAccountWithPartnerAccountRequest(params) // -// // Example sending a request using the AssociateAwsAccountWithPartnerAccountRequest method. -// req, resp := client.AssociateAwsAccountWithPartnerAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/AssociateAwsAccountWithPartnerAccount func (c *IoTWireless) AssociateAwsAccountWithPartnerAccountRequest(input *AssociateAwsAccountWithPartnerAccountInput) (req *request.Request, output *AssociateAwsAccountWithPartnerAccountOutput) { @@ -67,23 +66,24 @@ func (c *IoTWireless) AssociateAwsAccountWithPartnerAccountRequest(input *Associ // API operation AssociateAwsAccountWithPartnerAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/AssociateAwsAccountWithPartnerAccount func (c *IoTWireless) AssociateAwsAccountWithPartnerAccount(input *AssociateAwsAccountWithPartnerAccountInput) (*AssociateAwsAccountWithPartnerAccountOutput, error) { @@ -123,14 +123,13 @@ const opAssociateMulticastGroupWithFuotaTask = "AssociateMulticastGroupWithFuota // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateMulticastGroupWithFuotaTaskRequest method. +// req, resp := client.AssociateMulticastGroupWithFuotaTaskRequest(params) // -// // Example sending a request using the AssociateMulticastGroupWithFuotaTaskRequest method. -// req, resp := client.AssociateMulticastGroupWithFuotaTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/AssociateMulticastGroupWithFuotaTask func (c *IoTWireless) AssociateMulticastGroupWithFuotaTaskRequest(input *AssociateMulticastGroupWithFuotaTaskInput) (req *request.Request, output *AssociateMulticastGroupWithFuotaTaskOutput) { @@ -162,23 +161,24 @@ func (c *IoTWireless) AssociateMulticastGroupWithFuotaTaskRequest(input *Associa // API operation AssociateMulticastGroupWithFuotaTask for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/AssociateMulticastGroupWithFuotaTask func (c *IoTWireless) AssociateMulticastGroupWithFuotaTask(input *AssociateMulticastGroupWithFuotaTaskInput) (*AssociateMulticastGroupWithFuotaTaskOutput, error) { @@ -218,14 +218,13 @@ const opAssociateWirelessDeviceWithFuotaTask = "AssociateWirelessDeviceWithFuota // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateWirelessDeviceWithFuotaTaskRequest method. +// req, resp := client.AssociateWirelessDeviceWithFuotaTaskRequest(params) // -// // Example sending a request using the AssociateWirelessDeviceWithFuotaTaskRequest method. -// req, resp := client.AssociateWirelessDeviceWithFuotaTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/AssociateWirelessDeviceWithFuotaTask func (c *IoTWireless) AssociateWirelessDeviceWithFuotaTaskRequest(input *AssociateWirelessDeviceWithFuotaTaskInput) (req *request.Request, output *AssociateWirelessDeviceWithFuotaTaskOutput) { @@ -257,23 +256,24 @@ func (c *IoTWireless) AssociateWirelessDeviceWithFuotaTaskRequest(input *Associa // API operation AssociateWirelessDeviceWithFuotaTask for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/AssociateWirelessDeviceWithFuotaTask func (c *IoTWireless) AssociateWirelessDeviceWithFuotaTask(input *AssociateWirelessDeviceWithFuotaTaskInput) (*AssociateWirelessDeviceWithFuotaTaskOutput, error) { @@ -313,14 +313,13 @@ const opAssociateWirelessDeviceWithMulticastGroup = "AssociateWirelessDeviceWith // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateWirelessDeviceWithMulticastGroupRequest method. +// req, resp := client.AssociateWirelessDeviceWithMulticastGroupRequest(params) // -// // Example sending a request using the AssociateWirelessDeviceWithMulticastGroupRequest method. -// req, resp := client.AssociateWirelessDeviceWithMulticastGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/AssociateWirelessDeviceWithMulticastGroup func (c *IoTWireless) AssociateWirelessDeviceWithMulticastGroupRequest(input *AssociateWirelessDeviceWithMulticastGroupInput) (req *request.Request, output *AssociateWirelessDeviceWithMulticastGroupOutput) { @@ -352,23 +351,24 @@ func (c *IoTWireless) AssociateWirelessDeviceWithMulticastGroupRequest(input *As // API operation AssociateWirelessDeviceWithMulticastGroup for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. +// +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/AssociateWirelessDeviceWithMulticastGroup func (c *IoTWireless) AssociateWirelessDeviceWithMulticastGroup(input *AssociateWirelessDeviceWithMulticastGroupInput) (*AssociateWirelessDeviceWithMulticastGroupOutput, error) { @@ -408,14 +408,13 @@ const opAssociateWirelessDeviceWithThing = "AssociateWirelessDeviceWithThing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateWirelessDeviceWithThingRequest method. +// req, resp := client.AssociateWirelessDeviceWithThingRequest(params) // -// // Example sending a request using the AssociateWirelessDeviceWithThingRequest method. -// req, resp := client.AssociateWirelessDeviceWithThingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/AssociateWirelessDeviceWithThing func (c *IoTWireless) AssociateWirelessDeviceWithThingRequest(input *AssociateWirelessDeviceWithThingInput) (req *request.Request, output *AssociateWirelessDeviceWithThingOutput) { @@ -447,23 +446,24 @@ func (c *IoTWireless) AssociateWirelessDeviceWithThingRequest(input *AssociateWi // API operation AssociateWirelessDeviceWithThing for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/AssociateWirelessDeviceWithThing func (c *IoTWireless) AssociateWirelessDeviceWithThing(input *AssociateWirelessDeviceWithThingInput) (*AssociateWirelessDeviceWithThingOutput, error) { @@ -503,14 +503,13 @@ const opAssociateWirelessGatewayWithCertificate = "AssociateWirelessGatewayWithC // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateWirelessGatewayWithCertificateRequest method. +// req, resp := client.AssociateWirelessGatewayWithCertificateRequest(params) // -// // Example sending a request using the AssociateWirelessGatewayWithCertificateRequest method. -// req, resp := client.AssociateWirelessGatewayWithCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/AssociateWirelessGatewayWithCertificate func (c *IoTWireless) AssociateWirelessGatewayWithCertificateRequest(input *AssociateWirelessGatewayWithCertificateInput) (req *request.Request, output *AssociateWirelessGatewayWithCertificateOutput) { @@ -541,23 +540,24 @@ func (c *IoTWireless) AssociateWirelessGatewayWithCertificateRequest(input *Asso // API operation AssociateWirelessGatewayWithCertificate for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/AssociateWirelessGatewayWithCertificate func (c *IoTWireless) AssociateWirelessGatewayWithCertificate(input *AssociateWirelessGatewayWithCertificateInput) (*AssociateWirelessGatewayWithCertificateOutput, error) { @@ -597,14 +597,13 @@ const opAssociateWirelessGatewayWithThing = "AssociateWirelessGatewayWithThing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateWirelessGatewayWithThingRequest method. +// req, resp := client.AssociateWirelessGatewayWithThingRequest(params) // -// // Example sending a request using the AssociateWirelessGatewayWithThingRequest method. -// req, resp := client.AssociateWirelessGatewayWithThingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/AssociateWirelessGatewayWithThing func (c *IoTWireless) AssociateWirelessGatewayWithThingRequest(input *AssociateWirelessGatewayWithThingInput) (req *request.Request, output *AssociateWirelessGatewayWithThingOutput) { @@ -636,23 +635,24 @@ func (c *IoTWireless) AssociateWirelessGatewayWithThingRequest(input *AssociateW // API operation AssociateWirelessGatewayWithThing for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. +// +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/AssociateWirelessGatewayWithThing func (c *IoTWireless) AssociateWirelessGatewayWithThing(input *AssociateWirelessGatewayWithThingInput) (*AssociateWirelessGatewayWithThingOutput, error) { @@ -692,14 +692,13 @@ const opCancelMulticastGroupSession = "CancelMulticastGroupSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelMulticastGroupSessionRequest method. +// req, resp := client.CancelMulticastGroupSessionRequest(params) // -// // Example sending a request using the CancelMulticastGroupSessionRequest method. -// req, resp := client.CancelMulticastGroupSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CancelMulticastGroupSession func (c *IoTWireless) CancelMulticastGroupSessionRequest(input *CancelMulticastGroupSessionInput) (req *request.Request, output *CancelMulticastGroupSessionOutput) { @@ -731,23 +730,24 @@ func (c *IoTWireless) CancelMulticastGroupSessionRequest(input *CancelMulticastG // API operation CancelMulticastGroupSession for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CancelMulticastGroupSession func (c *IoTWireless) CancelMulticastGroupSession(input *CancelMulticastGroupSessionInput) (*CancelMulticastGroupSessionOutput, error) { @@ -787,14 +787,13 @@ const opCreateDestination = "CreateDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDestinationRequest method. +// req, resp := client.CreateDestinationRequest(params) // -// // Example sending a request using the CreateDestinationRequest method. -// req, resp := client.CreateDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateDestination func (c *IoTWireless) CreateDestinationRequest(input *CreateDestinationInput) (req *request.Request, output *CreateDestinationOutput) { @@ -825,23 +824,24 @@ func (c *IoTWireless) CreateDestinationRequest(input *CreateDestinationInput) (r // API operation CreateDestination for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateDestination func (c *IoTWireless) CreateDestination(input *CreateDestinationInput) (*CreateDestinationOutput, error) { @@ -881,14 +881,13 @@ const opCreateDeviceProfile = "CreateDeviceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeviceProfileRequest method. +// req, resp := client.CreateDeviceProfileRequest(params) // -// // Example sending a request using the CreateDeviceProfileRequest method. -// req, resp := client.CreateDeviceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateDeviceProfile func (c *IoTWireless) CreateDeviceProfileRequest(input *CreateDeviceProfileInput) (req *request.Request, output *CreateDeviceProfileOutput) { @@ -919,20 +918,21 @@ func (c *IoTWireless) CreateDeviceProfileRequest(input *CreateDeviceProfileInput // API operation CreateDeviceProfile for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateDeviceProfile func (c *IoTWireless) CreateDeviceProfile(input *CreateDeviceProfileInput) (*CreateDeviceProfileOutput, error) { @@ -972,14 +972,13 @@ const opCreateFuotaTask = "CreateFuotaTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFuotaTaskRequest method. +// req, resp := client.CreateFuotaTaskRequest(params) // -// // Example sending a request using the CreateFuotaTaskRequest method. -// req, resp := client.CreateFuotaTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateFuotaTask func (c *IoTWireless) CreateFuotaTaskRequest(input *CreateFuotaTaskInput) (req *request.Request, output *CreateFuotaTaskOutput) { @@ -1010,23 +1009,24 @@ func (c *IoTWireless) CreateFuotaTaskRequest(input *CreateFuotaTaskInput) (req * // API operation CreateFuotaTask for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateFuotaTask func (c *IoTWireless) CreateFuotaTask(input *CreateFuotaTaskInput) (*CreateFuotaTaskOutput, error) { @@ -1066,14 +1066,13 @@ const opCreateMulticastGroup = "CreateMulticastGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMulticastGroupRequest method. +// req, resp := client.CreateMulticastGroupRequest(params) // -// // Example sending a request using the CreateMulticastGroupRequest method. -// req, resp := client.CreateMulticastGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateMulticastGroup func (c *IoTWireless) CreateMulticastGroupRequest(input *CreateMulticastGroupInput) (req *request.Request, output *CreateMulticastGroupOutput) { @@ -1104,23 +1103,24 @@ func (c *IoTWireless) CreateMulticastGroupRequest(input *CreateMulticastGroupInp // API operation CreateMulticastGroup for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateMulticastGroup func (c *IoTWireless) CreateMulticastGroup(input *CreateMulticastGroupInput) (*CreateMulticastGroupOutput, error) { @@ -1160,14 +1160,13 @@ const opCreateNetworkAnalyzerConfiguration = "CreateNetworkAnalyzerConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNetworkAnalyzerConfigurationRequest method. +// req, resp := client.CreateNetworkAnalyzerConfigurationRequest(params) // -// // Example sending a request using the CreateNetworkAnalyzerConfigurationRequest method. -// req, resp := client.CreateNetworkAnalyzerConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateNetworkAnalyzerConfiguration func (c *IoTWireless) CreateNetworkAnalyzerConfigurationRequest(input *CreateNetworkAnalyzerConfigurationInput) (req *request.Request, output *CreateNetworkAnalyzerConfigurationOutput) { @@ -1198,23 +1197,24 @@ func (c *IoTWireless) CreateNetworkAnalyzerConfigurationRequest(input *CreateNet // API operation CreateNetworkAnalyzerConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateNetworkAnalyzerConfiguration func (c *IoTWireless) CreateNetworkAnalyzerConfiguration(input *CreateNetworkAnalyzerConfigurationInput) (*CreateNetworkAnalyzerConfigurationOutput, error) { @@ -1254,14 +1254,13 @@ const opCreateServiceProfile = "CreateServiceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateServiceProfileRequest method. +// req, resp := client.CreateServiceProfileRequest(params) // -// // Example sending a request using the CreateServiceProfileRequest method. -// req, resp := client.CreateServiceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateServiceProfile func (c *IoTWireless) CreateServiceProfileRequest(input *CreateServiceProfileInput) (req *request.Request, output *CreateServiceProfileOutput) { @@ -1292,20 +1291,21 @@ func (c *IoTWireless) CreateServiceProfileRequest(input *CreateServiceProfileInp // API operation CreateServiceProfile for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateServiceProfile func (c *IoTWireless) CreateServiceProfile(input *CreateServiceProfileInput) (*CreateServiceProfileOutput, error) { @@ -1345,14 +1345,13 @@ const opCreateWirelessDevice = "CreateWirelessDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWirelessDeviceRequest method. +// req, resp := client.CreateWirelessDeviceRequest(params) // -// // Example sending a request using the CreateWirelessDeviceRequest method. -// req, resp := client.CreateWirelessDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateWirelessDevice func (c *IoTWireless) CreateWirelessDeviceRequest(input *CreateWirelessDeviceInput) (req *request.Request, output *CreateWirelessDeviceOutput) { @@ -1383,23 +1382,24 @@ func (c *IoTWireless) CreateWirelessDeviceRequest(input *CreateWirelessDeviceInp // API operation CreateWirelessDevice for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateWirelessDevice func (c *IoTWireless) CreateWirelessDevice(input *CreateWirelessDeviceInput) (*CreateWirelessDeviceOutput, error) { @@ -1439,14 +1439,13 @@ const opCreateWirelessGateway = "CreateWirelessGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWirelessGatewayRequest method. +// req, resp := client.CreateWirelessGatewayRequest(params) // -// // Example sending a request using the CreateWirelessGatewayRequest method. -// req, resp := client.CreateWirelessGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateWirelessGateway func (c *IoTWireless) CreateWirelessGatewayRequest(input *CreateWirelessGatewayInput) (req *request.Request, output *CreateWirelessGatewayOutput) { @@ -1477,20 +1476,21 @@ func (c *IoTWireless) CreateWirelessGatewayRequest(input *CreateWirelessGatewayI // API operation CreateWirelessGateway for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateWirelessGateway func (c *IoTWireless) CreateWirelessGateway(input *CreateWirelessGatewayInput) (*CreateWirelessGatewayOutput, error) { @@ -1530,14 +1530,13 @@ const opCreateWirelessGatewayTask = "CreateWirelessGatewayTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWirelessGatewayTaskRequest method. +// req, resp := client.CreateWirelessGatewayTaskRequest(params) // -// // Example sending a request using the CreateWirelessGatewayTaskRequest method. -// req, resp := client.CreateWirelessGatewayTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateWirelessGatewayTask func (c *IoTWireless) CreateWirelessGatewayTaskRequest(input *CreateWirelessGatewayTaskInput) (req *request.Request, output *CreateWirelessGatewayTaskOutput) { @@ -1568,23 +1567,24 @@ func (c *IoTWireless) CreateWirelessGatewayTaskRequest(input *CreateWirelessGate // API operation CreateWirelessGatewayTask for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateWirelessGatewayTask func (c *IoTWireless) CreateWirelessGatewayTask(input *CreateWirelessGatewayTaskInput) (*CreateWirelessGatewayTaskOutput, error) { @@ -1624,14 +1624,13 @@ const opCreateWirelessGatewayTaskDefinition = "CreateWirelessGatewayTaskDefiniti // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWirelessGatewayTaskDefinitionRequest method. +// req, resp := client.CreateWirelessGatewayTaskDefinitionRequest(params) // -// // Example sending a request using the CreateWirelessGatewayTaskDefinitionRequest method. -// req, resp := client.CreateWirelessGatewayTaskDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateWirelessGatewayTaskDefinition func (c *IoTWireless) CreateWirelessGatewayTaskDefinitionRequest(input *CreateWirelessGatewayTaskDefinitionInput) (req *request.Request, output *CreateWirelessGatewayTaskDefinitionOutput) { @@ -1662,23 +1661,24 @@ func (c *IoTWireless) CreateWirelessGatewayTaskDefinitionRequest(input *CreateWi // API operation CreateWirelessGatewayTaskDefinition for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/CreateWirelessGatewayTaskDefinition func (c *IoTWireless) CreateWirelessGatewayTaskDefinition(input *CreateWirelessGatewayTaskDefinitionInput) (*CreateWirelessGatewayTaskDefinitionOutput, error) { @@ -1718,14 +1718,13 @@ const opDeleteDestination = "DeleteDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDestinationRequest method. +// req, resp := client.DeleteDestinationRequest(params) // -// // Example sending a request using the DeleteDestinationRequest method. -// req, resp := client.DeleteDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteDestination func (c *IoTWireless) DeleteDestinationRequest(input *DeleteDestinationInput) (req *request.Request, output *DeleteDestinationOutput) { @@ -1757,23 +1756,24 @@ func (c *IoTWireless) DeleteDestinationRequest(input *DeleteDestinationInput) (r // API operation DeleteDestination for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteDestination func (c *IoTWireless) DeleteDestination(input *DeleteDestinationInput) (*DeleteDestinationOutput, error) { @@ -1813,14 +1813,13 @@ const opDeleteDeviceProfile = "DeleteDeviceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDeviceProfileRequest method. +// req, resp := client.DeleteDeviceProfileRequest(params) // -// // Example sending a request using the DeleteDeviceProfileRequest method. -// req, resp := client.DeleteDeviceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteDeviceProfile func (c *IoTWireless) DeleteDeviceProfileRequest(input *DeleteDeviceProfileInput) (req *request.Request, output *DeleteDeviceProfileOutput) { @@ -1852,23 +1851,24 @@ func (c *IoTWireless) DeleteDeviceProfileRequest(input *DeleteDeviceProfileInput // API operation DeleteDeviceProfile for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteDeviceProfile func (c *IoTWireless) DeleteDeviceProfile(input *DeleteDeviceProfileInput) (*DeleteDeviceProfileOutput, error) { @@ -1908,14 +1908,13 @@ const opDeleteFuotaTask = "DeleteFuotaTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFuotaTaskRequest method. +// req, resp := client.DeleteFuotaTaskRequest(params) // -// // Example sending a request using the DeleteFuotaTaskRequest method. -// req, resp := client.DeleteFuotaTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteFuotaTask func (c *IoTWireless) DeleteFuotaTaskRequest(input *DeleteFuotaTaskInput) (req *request.Request, output *DeleteFuotaTaskOutput) { @@ -1947,20 +1946,21 @@ func (c *IoTWireless) DeleteFuotaTaskRequest(input *DeleteFuotaTaskInput) (req * // API operation DeleteFuotaTask for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteFuotaTask func (c *IoTWireless) DeleteFuotaTask(input *DeleteFuotaTaskInput) (*DeleteFuotaTaskOutput, error) { @@ -2000,14 +2000,13 @@ const opDeleteMulticastGroup = "DeleteMulticastGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMulticastGroupRequest method. +// req, resp := client.DeleteMulticastGroupRequest(params) // -// // Example sending a request using the DeleteMulticastGroupRequest method. -// req, resp := client.DeleteMulticastGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteMulticastGroup func (c *IoTWireless) DeleteMulticastGroupRequest(input *DeleteMulticastGroupInput) (req *request.Request, output *DeleteMulticastGroupOutput) { @@ -2039,23 +2038,24 @@ func (c *IoTWireless) DeleteMulticastGroupRequest(input *DeleteMulticastGroupInp // API operation DeleteMulticastGroup for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteMulticastGroup func (c *IoTWireless) DeleteMulticastGroup(input *DeleteMulticastGroupInput) (*DeleteMulticastGroupOutput, error) { @@ -2095,14 +2095,13 @@ const opDeleteNetworkAnalyzerConfiguration = "DeleteNetworkAnalyzerConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNetworkAnalyzerConfigurationRequest method. +// req, resp := client.DeleteNetworkAnalyzerConfigurationRequest(params) // -// // Example sending a request using the DeleteNetworkAnalyzerConfigurationRequest method. -// req, resp := client.DeleteNetworkAnalyzerConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteNetworkAnalyzerConfiguration func (c *IoTWireless) DeleteNetworkAnalyzerConfigurationRequest(input *DeleteNetworkAnalyzerConfigurationInput) (req *request.Request, output *DeleteNetworkAnalyzerConfigurationOutput) { @@ -2134,23 +2133,24 @@ func (c *IoTWireless) DeleteNetworkAnalyzerConfigurationRequest(input *DeleteNet // API operation DeleteNetworkAnalyzerConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteNetworkAnalyzerConfiguration func (c *IoTWireless) DeleteNetworkAnalyzerConfiguration(input *DeleteNetworkAnalyzerConfigurationInput) (*DeleteNetworkAnalyzerConfigurationOutput, error) { @@ -2190,14 +2190,13 @@ const opDeleteQueuedMessages = "DeleteQueuedMessages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteQueuedMessagesRequest method. +// req, resp := client.DeleteQueuedMessagesRequest(params) // -// // Example sending a request using the DeleteQueuedMessagesRequest method. -// req, resp := client.DeleteQueuedMessagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteQueuedMessages func (c *IoTWireless) DeleteQueuedMessagesRequest(input *DeleteQueuedMessagesInput) (req *request.Request, output *DeleteQueuedMessagesOutput) { @@ -2229,20 +2228,21 @@ func (c *IoTWireless) DeleteQueuedMessagesRequest(input *DeleteQueuedMessagesInp // API operation DeleteQueuedMessages for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteQueuedMessages func (c *IoTWireless) DeleteQueuedMessages(input *DeleteQueuedMessagesInput) (*DeleteQueuedMessagesOutput, error) { @@ -2282,14 +2282,13 @@ const opDeleteServiceProfile = "DeleteServiceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServiceProfileRequest method. +// req, resp := client.DeleteServiceProfileRequest(params) // -// // Example sending a request using the DeleteServiceProfileRequest method. -// req, resp := client.DeleteServiceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteServiceProfile func (c *IoTWireless) DeleteServiceProfileRequest(input *DeleteServiceProfileInput) (req *request.Request, output *DeleteServiceProfileOutput) { @@ -2321,23 +2320,24 @@ func (c *IoTWireless) DeleteServiceProfileRequest(input *DeleteServiceProfileInp // API operation DeleteServiceProfile for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteServiceProfile func (c *IoTWireless) DeleteServiceProfile(input *DeleteServiceProfileInput) (*DeleteServiceProfileOutput, error) { @@ -2377,14 +2377,13 @@ const opDeleteWirelessDevice = "DeleteWirelessDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWirelessDeviceRequest method. +// req, resp := client.DeleteWirelessDeviceRequest(params) // -// // Example sending a request using the DeleteWirelessDeviceRequest method. -// req, resp := client.DeleteWirelessDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteWirelessDevice func (c *IoTWireless) DeleteWirelessDeviceRequest(input *DeleteWirelessDeviceInput) (req *request.Request, output *DeleteWirelessDeviceOutput) { @@ -2416,20 +2415,21 @@ func (c *IoTWireless) DeleteWirelessDeviceRequest(input *DeleteWirelessDeviceInp // API operation DeleteWirelessDevice for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteWirelessDevice func (c *IoTWireless) DeleteWirelessDevice(input *DeleteWirelessDeviceInput) (*DeleteWirelessDeviceOutput, error) { @@ -2469,14 +2469,13 @@ const opDeleteWirelessGateway = "DeleteWirelessGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWirelessGatewayRequest method. +// req, resp := client.DeleteWirelessGatewayRequest(params) // -// // Example sending a request using the DeleteWirelessGatewayRequest method. -// req, resp := client.DeleteWirelessGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteWirelessGateway func (c *IoTWireless) DeleteWirelessGatewayRequest(input *DeleteWirelessGatewayInput) (req *request.Request, output *DeleteWirelessGatewayOutput) { @@ -2508,20 +2507,21 @@ func (c *IoTWireless) DeleteWirelessGatewayRequest(input *DeleteWirelessGatewayI // API operation DeleteWirelessGateway for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteWirelessGateway func (c *IoTWireless) DeleteWirelessGateway(input *DeleteWirelessGatewayInput) (*DeleteWirelessGatewayOutput, error) { @@ -2561,14 +2561,13 @@ const opDeleteWirelessGatewayTask = "DeleteWirelessGatewayTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWirelessGatewayTaskRequest method. +// req, resp := client.DeleteWirelessGatewayTaskRequest(params) // -// // Example sending a request using the DeleteWirelessGatewayTaskRequest method. -// req, resp := client.DeleteWirelessGatewayTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteWirelessGatewayTask func (c *IoTWireless) DeleteWirelessGatewayTaskRequest(input *DeleteWirelessGatewayTaskInput) (req *request.Request, output *DeleteWirelessGatewayTaskOutput) { @@ -2600,20 +2599,21 @@ func (c *IoTWireless) DeleteWirelessGatewayTaskRequest(input *DeleteWirelessGate // API operation DeleteWirelessGatewayTask for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteWirelessGatewayTask func (c *IoTWireless) DeleteWirelessGatewayTask(input *DeleteWirelessGatewayTaskInput) (*DeleteWirelessGatewayTaskOutput, error) { @@ -2653,14 +2653,13 @@ const opDeleteWirelessGatewayTaskDefinition = "DeleteWirelessGatewayTaskDefiniti // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWirelessGatewayTaskDefinitionRequest method. +// req, resp := client.DeleteWirelessGatewayTaskDefinitionRequest(params) // -// // Example sending a request using the DeleteWirelessGatewayTaskDefinitionRequest method. -// req, resp := client.DeleteWirelessGatewayTaskDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteWirelessGatewayTaskDefinition func (c *IoTWireless) DeleteWirelessGatewayTaskDefinitionRequest(input *DeleteWirelessGatewayTaskDefinitionInput) (req *request.Request, output *DeleteWirelessGatewayTaskDefinitionOutput) { @@ -2693,20 +2692,21 @@ func (c *IoTWireless) DeleteWirelessGatewayTaskDefinitionRequest(input *DeleteWi // API operation DeleteWirelessGatewayTaskDefinition for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DeleteWirelessGatewayTaskDefinition func (c *IoTWireless) DeleteWirelessGatewayTaskDefinition(input *DeleteWirelessGatewayTaskDefinitionInput) (*DeleteWirelessGatewayTaskDefinitionOutput, error) { @@ -2746,14 +2746,13 @@ const opDisassociateAwsAccountFromPartnerAccount = "DisassociateAwsAccountFromPa // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateAwsAccountFromPartnerAccountRequest method. +// req, resp := client.DisassociateAwsAccountFromPartnerAccountRequest(params) // -// // Example sending a request using the DisassociateAwsAccountFromPartnerAccountRequest method. -// req, resp := client.DisassociateAwsAccountFromPartnerAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DisassociateAwsAccountFromPartnerAccount func (c *IoTWireless) DisassociateAwsAccountFromPartnerAccountRequest(input *DisassociateAwsAccountFromPartnerAccountInput) (req *request.Request, output *DisassociateAwsAccountFromPartnerAccountOutput) { @@ -2787,17 +2786,18 @@ func (c *IoTWireless) DisassociateAwsAccountFromPartnerAccountRequest(input *Dis // API operation DisassociateAwsAccountFromPartnerAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DisassociateAwsAccountFromPartnerAccount func (c *IoTWireless) DisassociateAwsAccountFromPartnerAccount(input *DisassociateAwsAccountFromPartnerAccountInput) (*DisassociateAwsAccountFromPartnerAccountOutput, error) { @@ -2837,14 +2837,13 @@ const opDisassociateMulticastGroupFromFuotaTask = "DisassociateMulticastGroupFro // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateMulticastGroupFromFuotaTaskRequest method. +// req, resp := client.DisassociateMulticastGroupFromFuotaTaskRequest(params) // -// // Example sending a request using the DisassociateMulticastGroupFromFuotaTaskRequest method. -// req, resp := client.DisassociateMulticastGroupFromFuotaTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DisassociateMulticastGroupFromFuotaTask func (c *IoTWireless) DisassociateMulticastGroupFromFuotaTaskRequest(input *DisassociateMulticastGroupFromFuotaTaskInput) (req *request.Request, output *DisassociateMulticastGroupFromFuotaTaskOutput) { @@ -2876,20 +2875,21 @@ func (c *IoTWireless) DisassociateMulticastGroupFromFuotaTaskRequest(input *Disa // API operation DisassociateMulticastGroupFromFuotaTask for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DisassociateMulticastGroupFromFuotaTask func (c *IoTWireless) DisassociateMulticastGroupFromFuotaTask(input *DisassociateMulticastGroupFromFuotaTaskInput) (*DisassociateMulticastGroupFromFuotaTaskOutput, error) { @@ -2929,14 +2929,13 @@ const opDisassociateWirelessDeviceFromFuotaTask = "DisassociateWirelessDeviceFro // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateWirelessDeviceFromFuotaTaskRequest method. +// req, resp := client.DisassociateWirelessDeviceFromFuotaTaskRequest(params) // -// // Example sending a request using the DisassociateWirelessDeviceFromFuotaTaskRequest method. -// req, resp := client.DisassociateWirelessDeviceFromFuotaTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DisassociateWirelessDeviceFromFuotaTask func (c *IoTWireless) DisassociateWirelessDeviceFromFuotaTaskRequest(input *DisassociateWirelessDeviceFromFuotaTaskInput) (req *request.Request, output *DisassociateWirelessDeviceFromFuotaTaskOutput) { @@ -2968,23 +2967,24 @@ func (c *IoTWireless) DisassociateWirelessDeviceFromFuotaTaskRequest(input *Disa // API operation DisassociateWirelessDeviceFromFuotaTask for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DisassociateWirelessDeviceFromFuotaTask func (c *IoTWireless) DisassociateWirelessDeviceFromFuotaTask(input *DisassociateWirelessDeviceFromFuotaTaskInput) (*DisassociateWirelessDeviceFromFuotaTaskOutput, error) { @@ -3024,14 +3024,13 @@ const opDisassociateWirelessDeviceFromMulticastGroup = "DisassociateWirelessDevi // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateWirelessDeviceFromMulticastGroupRequest method. +// req, resp := client.DisassociateWirelessDeviceFromMulticastGroupRequest(params) // -// // Example sending a request using the DisassociateWirelessDeviceFromMulticastGroupRequest method. -// req, resp := client.DisassociateWirelessDeviceFromMulticastGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DisassociateWirelessDeviceFromMulticastGroup func (c *IoTWireless) DisassociateWirelessDeviceFromMulticastGroupRequest(input *DisassociateWirelessDeviceFromMulticastGroupInput) (req *request.Request, output *DisassociateWirelessDeviceFromMulticastGroupOutput) { @@ -3063,20 +3062,21 @@ func (c *IoTWireless) DisassociateWirelessDeviceFromMulticastGroupRequest(input // API operation DisassociateWirelessDeviceFromMulticastGroup for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. +// +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DisassociateWirelessDeviceFromMulticastGroup func (c *IoTWireless) DisassociateWirelessDeviceFromMulticastGroup(input *DisassociateWirelessDeviceFromMulticastGroupInput) (*DisassociateWirelessDeviceFromMulticastGroupOutput, error) { @@ -3116,14 +3116,13 @@ const opDisassociateWirelessDeviceFromThing = "DisassociateWirelessDeviceFromThi // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateWirelessDeviceFromThingRequest method. +// req, resp := client.DisassociateWirelessDeviceFromThingRequest(params) // -// // Example sending a request using the DisassociateWirelessDeviceFromThingRequest method. -// req, resp := client.DisassociateWirelessDeviceFromThingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DisassociateWirelessDeviceFromThing func (c *IoTWireless) DisassociateWirelessDeviceFromThingRequest(input *DisassociateWirelessDeviceFromThingInput) (req *request.Request, output *DisassociateWirelessDeviceFromThingOutput) { @@ -3155,23 +3154,24 @@ func (c *IoTWireless) DisassociateWirelessDeviceFromThingRequest(input *Disassoc // API operation DisassociateWirelessDeviceFromThing for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DisassociateWirelessDeviceFromThing func (c *IoTWireless) DisassociateWirelessDeviceFromThing(input *DisassociateWirelessDeviceFromThingInput) (*DisassociateWirelessDeviceFromThingOutput, error) { @@ -3211,14 +3211,13 @@ const opDisassociateWirelessGatewayFromCertificate = "DisassociateWirelessGatewa // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateWirelessGatewayFromCertificateRequest method. +// req, resp := client.DisassociateWirelessGatewayFromCertificateRequest(params) // -// // Example sending a request using the DisassociateWirelessGatewayFromCertificateRequest method. -// req, resp := client.DisassociateWirelessGatewayFromCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DisassociateWirelessGatewayFromCertificate func (c *IoTWireless) DisassociateWirelessGatewayFromCertificateRequest(input *DisassociateWirelessGatewayFromCertificateInput) (req *request.Request, output *DisassociateWirelessGatewayFromCertificateOutput) { @@ -3250,20 +3249,21 @@ func (c *IoTWireless) DisassociateWirelessGatewayFromCertificateRequest(input *D // API operation DisassociateWirelessGatewayFromCertificate for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DisassociateWirelessGatewayFromCertificate func (c *IoTWireless) DisassociateWirelessGatewayFromCertificate(input *DisassociateWirelessGatewayFromCertificateInput) (*DisassociateWirelessGatewayFromCertificateOutput, error) { @@ -3303,14 +3303,13 @@ const opDisassociateWirelessGatewayFromThing = "DisassociateWirelessGatewayFromT // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateWirelessGatewayFromThingRequest method. +// req, resp := client.DisassociateWirelessGatewayFromThingRequest(params) // -// // Example sending a request using the DisassociateWirelessGatewayFromThingRequest method. -// req, resp := client.DisassociateWirelessGatewayFromThingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DisassociateWirelessGatewayFromThing func (c *IoTWireless) DisassociateWirelessGatewayFromThingRequest(input *DisassociateWirelessGatewayFromThingInput) (req *request.Request, output *DisassociateWirelessGatewayFromThingOutput) { @@ -3342,23 +3341,24 @@ func (c *IoTWireless) DisassociateWirelessGatewayFromThingRequest(input *Disasso // API operation DisassociateWirelessGatewayFromThing for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. +// +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/DisassociateWirelessGatewayFromThing func (c *IoTWireless) DisassociateWirelessGatewayFromThing(input *DisassociateWirelessGatewayFromThingInput) (*DisassociateWirelessGatewayFromThingOutput, error) { @@ -3398,14 +3398,13 @@ const opGetDestination = "GetDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDestinationRequest method. +// req, resp := client.GetDestinationRequest(params) // -// // Example sending a request using the GetDestinationRequest method. -// req, resp := client.GetDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetDestination func (c *IoTWireless) GetDestinationRequest(input *GetDestinationInput) (req *request.Request, output *GetDestinationOutput) { @@ -3436,20 +3435,21 @@ func (c *IoTWireless) GetDestinationRequest(input *GetDestinationInput) (req *re // API operation GetDestination for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetDestination func (c *IoTWireless) GetDestination(input *GetDestinationInput) (*GetDestinationOutput, error) { @@ -3489,14 +3489,13 @@ const opGetDeviceProfile = "GetDeviceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeviceProfileRequest method. +// req, resp := client.GetDeviceProfileRequest(params) // -// // Example sending a request using the GetDeviceProfileRequest method. -// req, resp := client.GetDeviceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetDeviceProfile func (c *IoTWireless) GetDeviceProfileRequest(input *GetDeviceProfileInput) (req *request.Request, output *GetDeviceProfileOutput) { @@ -3527,20 +3526,21 @@ func (c *IoTWireless) GetDeviceProfileRequest(input *GetDeviceProfileInput) (req // API operation GetDeviceProfile for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetDeviceProfile func (c *IoTWireless) GetDeviceProfile(input *GetDeviceProfileInput) (*GetDeviceProfileOutput, error) { @@ -3580,14 +3580,13 @@ const opGetEventConfigurationByResourceTypes = "GetEventConfigurationByResourceT // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEventConfigurationByResourceTypesRequest method. +// req, resp := client.GetEventConfigurationByResourceTypesRequest(params) // -// // Example sending a request using the GetEventConfigurationByResourceTypesRequest method. -// req, resp := client.GetEventConfigurationByResourceTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetEventConfigurationByResourceTypes func (c *IoTWireless) GetEventConfigurationByResourceTypesRequest(input *GetEventConfigurationByResourceTypesInput) (req *request.Request, output *GetEventConfigurationByResourceTypesOutput) { @@ -3618,14 +3617,15 @@ func (c *IoTWireless) GetEventConfigurationByResourceTypesRequest(input *GetEven // API operation GetEventConfigurationByResourceTypes for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// User does not have permission to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. +// +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetEventConfigurationByResourceTypes func (c *IoTWireless) GetEventConfigurationByResourceTypes(input *GetEventConfigurationByResourceTypesInput) (*GetEventConfigurationByResourceTypesOutput, error) { @@ -3665,14 +3665,13 @@ const opGetFuotaTask = "GetFuotaTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFuotaTaskRequest method. +// req, resp := client.GetFuotaTaskRequest(params) // -// // Example sending a request using the GetFuotaTaskRequest method. -// req, resp := client.GetFuotaTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetFuotaTask func (c *IoTWireless) GetFuotaTaskRequest(input *GetFuotaTaskInput) (req *request.Request, output *GetFuotaTaskOutput) { @@ -3703,20 +3702,21 @@ func (c *IoTWireless) GetFuotaTaskRequest(input *GetFuotaTaskInput) (req *reques // API operation GetFuotaTask for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetFuotaTask func (c *IoTWireless) GetFuotaTask(input *GetFuotaTaskInput) (*GetFuotaTaskOutput, error) { @@ -3756,14 +3756,13 @@ const opGetLogLevelsByResourceTypes = "GetLogLevelsByResourceTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLogLevelsByResourceTypesRequest method. +// req, resp := client.GetLogLevelsByResourceTypesRequest(params) // -// // Example sending a request using the GetLogLevelsByResourceTypesRequest method. -// req, resp := client.GetLogLevelsByResourceTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetLogLevelsByResourceTypes func (c *IoTWireless) GetLogLevelsByResourceTypesRequest(input *GetLogLevelsByResourceTypesInput) (req *request.Request, output *GetLogLevelsByResourceTypesOutput) { @@ -3796,20 +3795,21 @@ func (c *IoTWireless) GetLogLevelsByResourceTypesRequest(input *GetLogLevelsByRe // API operation GetLogLevelsByResourceTypes for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. +// +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * ValidationException -// The input did not meet the specified constraints. +// - ValidationException +// The input did not meet the specified constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetLogLevelsByResourceTypes func (c *IoTWireless) GetLogLevelsByResourceTypes(input *GetLogLevelsByResourceTypesInput) (*GetLogLevelsByResourceTypesOutput, error) { @@ -3849,14 +3849,13 @@ const opGetMulticastGroup = "GetMulticastGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMulticastGroupRequest method. +// req, resp := client.GetMulticastGroupRequest(params) // -// // Example sending a request using the GetMulticastGroupRequest method. -// req, resp := client.GetMulticastGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetMulticastGroup func (c *IoTWireless) GetMulticastGroupRequest(input *GetMulticastGroupInput) (req *request.Request, output *GetMulticastGroupOutput) { @@ -3887,20 +3886,21 @@ func (c *IoTWireless) GetMulticastGroupRequest(input *GetMulticastGroupInput) (r // API operation GetMulticastGroup for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetMulticastGroup func (c *IoTWireless) GetMulticastGroup(input *GetMulticastGroupInput) (*GetMulticastGroupOutput, error) { @@ -3940,14 +3940,13 @@ const opGetMulticastGroupSession = "GetMulticastGroupSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMulticastGroupSessionRequest method. +// req, resp := client.GetMulticastGroupSessionRequest(params) // -// // Example sending a request using the GetMulticastGroupSessionRequest method. -// req, resp := client.GetMulticastGroupSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetMulticastGroupSession func (c *IoTWireless) GetMulticastGroupSessionRequest(input *GetMulticastGroupSessionInput) (req *request.Request, output *GetMulticastGroupSessionOutput) { @@ -3978,20 +3977,21 @@ func (c *IoTWireless) GetMulticastGroupSessionRequest(input *GetMulticastGroupSe // API operation GetMulticastGroupSession for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetMulticastGroupSession func (c *IoTWireless) GetMulticastGroupSession(input *GetMulticastGroupSessionInput) (*GetMulticastGroupSessionOutput, error) { @@ -4031,14 +4031,13 @@ const opGetNetworkAnalyzerConfiguration = "GetNetworkAnalyzerConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNetworkAnalyzerConfigurationRequest method. +// req, resp := client.GetNetworkAnalyzerConfigurationRequest(params) // -// // Example sending a request using the GetNetworkAnalyzerConfigurationRequest method. -// req, resp := client.GetNetworkAnalyzerConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetNetworkAnalyzerConfiguration func (c *IoTWireless) GetNetworkAnalyzerConfigurationRequest(input *GetNetworkAnalyzerConfigurationInput) (req *request.Request, output *GetNetworkAnalyzerConfigurationOutput) { @@ -4069,20 +4068,21 @@ func (c *IoTWireless) GetNetworkAnalyzerConfigurationRequest(input *GetNetworkAn // API operation GetNetworkAnalyzerConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetNetworkAnalyzerConfiguration func (c *IoTWireless) GetNetworkAnalyzerConfiguration(input *GetNetworkAnalyzerConfigurationInput) (*GetNetworkAnalyzerConfigurationOutput, error) { @@ -4122,14 +4122,13 @@ const opGetPartnerAccount = "GetPartnerAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPartnerAccountRequest method. +// req, resp := client.GetPartnerAccountRequest(params) // -// // Example sending a request using the GetPartnerAccountRequest method. -// req, resp := client.GetPartnerAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetPartnerAccount func (c *IoTWireless) GetPartnerAccountRequest(input *GetPartnerAccountInput) (req *request.Request, output *GetPartnerAccountOutput) { @@ -4161,17 +4160,18 @@ func (c *IoTWireless) GetPartnerAccountRequest(input *GetPartnerAccountInput) (r // API operation GetPartnerAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetPartnerAccount func (c *IoTWireless) GetPartnerAccount(input *GetPartnerAccountInput) (*GetPartnerAccountOutput, error) { @@ -4211,14 +4211,13 @@ const opGetResourceEventConfiguration = "GetResourceEventConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceEventConfigurationRequest method. +// req, resp := client.GetResourceEventConfigurationRequest(params) // -// // Example sending a request using the GetResourceEventConfigurationRequest method. -// req, resp := client.GetResourceEventConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetResourceEventConfiguration func (c *IoTWireless) GetResourceEventConfigurationRequest(input *GetResourceEventConfigurationInput) (req *request.Request, output *GetResourceEventConfigurationOutput) { @@ -4249,20 +4248,21 @@ func (c *IoTWireless) GetResourceEventConfigurationRequest(input *GetResourceEve // API operation GetResourceEventConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetResourceEventConfiguration func (c *IoTWireless) GetResourceEventConfiguration(input *GetResourceEventConfigurationInput) (*GetResourceEventConfigurationOutput, error) { @@ -4302,14 +4302,13 @@ const opGetResourceLogLevel = "GetResourceLogLevel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceLogLevelRequest method. +// req, resp := client.GetResourceLogLevelRequest(params) // -// // Example sending a request using the GetResourceLogLevelRequest method. -// req, resp := client.GetResourceLogLevelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetResourceLogLevel func (c *IoTWireless) GetResourceLogLevelRequest(input *GetResourceLogLevelInput) (req *request.Request, output *GetResourceLogLevelOutput) { @@ -4341,20 +4340,21 @@ func (c *IoTWireless) GetResourceLogLevelRequest(input *GetResourceLogLevelInput // API operation GetResourceLogLevel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. +// +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * ValidationException -// The input did not meet the specified constraints. +// - ValidationException +// The input did not meet the specified constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetResourceLogLevel func (c *IoTWireless) GetResourceLogLevel(input *GetResourceLogLevelInput) (*GetResourceLogLevelOutput, error) { @@ -4394,14 +4394,13 @@ const opGetServiceEndpoint = "GetServiceEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceEndpointRequest method. +// req, resp := client.GetServiceEndpointRequest(params) // -// // Example sending a request using the GetServiceEndpointRequest method. -// req, resp := client.GetServiceEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetServiceEndpoint func (c *IoTWireless) GetServiceEndpointRequest(input *GetServiceEndpointInput) (req *request.Request, output *GetServiceEndpointOutput) { @@ -4433,17 +4432,18 @@ func (c *IoTWireless) GetServiceEndpointRequest(input *GetServiceEndpointInput) // API operation GetServiceEndpoint for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetServiceEndpoint func (c *IoTWireless) GetServiceEndpoint(input *GetServiceEndpointInput) (*GetServiceEndpointOutput, error) { @@ -4483,14 +4483,13 @@ const opGetServiceProfile = "GetServiceProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceProfileRequest method. +// req, resp := client.GetServiceProfileRequest(params) // -// // Example sending a request using the GetServiceProfileRequest method. -// req, resp := client.GetServiceProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetServiceProfile func (c *IoTWireless) GetServiceProfileRequest(input *GetServiceProfileInput) (req *request.Request, output *GetServiceProfileOutput) { @@ -4521,20 +4520,21 @@ func (c *IoTWireless) GetServiceProfileRequest(input *GetServiceProfileInput) (r // API operation GetServiceProfile for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetServiceProfile func (c *IoTWireless) GetServiceProfile(input *GetServiceProfileInput) (*GetServiceProfileOutput, error) { @@ -4574,14 +4574,13 @@ const opGetWirelessDevice = "GetWirelessDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWirelessDeviceRequest method. +// req, resp := client.GetWirelessDeviceRequest(params) // -// // Example sending a request using the GetWirelessDeviceRequest method. -// req, resp := client.GetWirelessDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessDevice func (c *IoTWireless) GetWirelessDeviceRequest(input *GetWirelessDeviceInput) (req *request.Request, output *GetWirelessDeviceOutput) { @@ -4612,20 +4611,21 @@ func (c *IoTWireless) GetWirelessDeviceRequest(input *GetWirelessDeviceInput) (r // API operation GetWirelessDevice for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessDevice func (c *IoTWireless) GetWirelessDevice(input *GetWirelessDeviceInput) (*GetWirelessDeviceOutput, error) { @@ -4665,14 +4665,13 @@ const opGetWirelessDeviceStatistics = "GetWirelessDeviceStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWirelessDeviceStatisticsRequest method. +// req, resp := client.GetWirelessDeviceStatisticsRequest(params) // -// // Example sending a request using the GetWirelessDeviceStatisticsRequest method. -// req, resp := client.GetWirelessDeviceStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessDeviceStatistics func (c *IoTWireless) GetWirelessDeviceStatisticsRequest(input *GetWirelessDeviceStatisticsInput) (req *request.Request, output *GetWirelessDeviceStatisticsOutput) { @@ -4703,20 +4702,21 @@ func (c *IoTWireless) GetWirelessDeviceStatisticsRequest(input *GetWirelessDevic // API operation GetWirelessDeviceStatistics for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessDeviceStatistics func (c *IoTWireless) GetWirelessDeviceStatistics(input *GetWirelessDeviceStatisticsInput) (*GetWirelessDeviceStatisticsOutput, error) { @@ -4756,14 +4756,13 @@ const opGetWirelessGateway = "GetWirelessGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWirelessGatewayRequest method. +// req, resp := client.GetWirelessGatewayRequest(params) // -// // Example sending a request using the GetWirelessGatewayRequest method. -// req, resp := client.GetWirelessGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessGateway func (c *IoTWireless) GetWirelessGatewayRequest(input *GetWirelessGatewayInput) (req *request.Request, output *GetWirelessGatewayOutput) { @@ -4794,20 +4793,21 @@ func (c *IoTWireless) GetWirelessGatewayRequest(input *GetWirelessGatewayInput) // API operation GetWirelessGateway for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessGateway func (c *IoTWireless) GetWirelessGateway(input *GetWirelessGatewayInput) (*GetWirelessGatewayOutput, error) { @@ -4847,14 +4847,13 @@ const opGetWirelessGatewayCertificate = "GetWirelessGatewayCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWirelessGatewayCertificateRequest method. +// req, resp := client.GetWirelessGatewayCertificateRequest(params) // -// // Example sending a request using the GetWirelessGatewayCertificateRequest method. -// req, resp := client.GetWirelessGatewayCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessGatewayCertificate func (c *IoTWireless) GetWirelessGatewayCertificateRequest(input *GetWirelessGatewayCertificateInput) (req *request.Request, output *GetWirelessGatewayCertificateOutput) { @@ -4886,20 +4885,21 @@ func (c *IoTWireless) GetWirelessGatewayCertificateRequest(input *GetWirelessGat // API operation GetWirelessGatewayCertificate for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessGatewayCertificate func (c *IoTWireless) GetWirelessGatewayCertificate(input *GetWirelessGatewayCertificateInput) (*GetWirelessGatewayCertificateOutput, error) { @@ -4939,14 +4939,13 @@ const opGetWirelessGatewayFirmwareInformation = "GetWirelessGatewayFirmwareInfor // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWirelessGatewayFirmwareInformationRequest method. +// req, resp := client.GetWirelessGatewayFirmwareInformationRequest(params) // -// // Example sending a request using the GetWirelessGatewayFirmwareInformationRequest method. -// req, resp := client.GetWirelessGatewayFirmwareInformationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessGatewayFirmwareInformation func (c *IoTWireless) GetWirelessGatewayFirmwareInformationRequest(input *GetWirelessGatewayFirmwareInformationInput) (req *request.Request, output *GetWirelessGatewayFirmwareInformationOutput) { @@ -4977,20 +4976,21 @@ func (c *IoTWireless) GetWirelessGatewayFirmwareInformationRequest(input *GetWir // API operation GetWirelessGatewayFirmwareInformation for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessGatewayFirmwareInformation func (c *IoTWireless) GetWirelessGatewayFirmwareInformation(input *GetWirelessGatewayFirmwareInformationInput) (*GetWirelessGatewayFirmwareInformationOutput, error) { @@ -5030,14 +5030,13 @@ const opGetWirelessGatewayStatistics = "GetWirelessGatewayStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWirelessGatewayStatisticsRequest method. +// req, resp := client.GetWirelessGatewayStatisticsRequest(params) // -// // Example sending a request using the GetWirelessGatewayStatisticsRequest method. -// req, resp := client.GetWirelessGatewayStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessGatewayStatistics func (c *IoTWireless) GetWirelessGatewayStatisticsRequest(input *GetWirelessGatewayStatisticsInput) (req *request.Request, output *GetWirelessGatewayStatisticsOutput) { @@ -5068,20 +5067,21 @@ func (c *IoTWireless) GetWirelessGatewayStatisticsRequest(input *GetWirelessGate // API operation GetWirelessGatewayStatistics for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessGatewayStatistics func (c *IoTWireless) GetWirelessGatewayStatistics(input *GetWirelessGatewayStatisticsInput) (*GetWirelessGatewayStatisticsOutput, error) { @@ -5121,14 +5121,13 @@ const opGetWirelessGatewayTask = "GetWirelessGatewayTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWirelessGatewayTaskRequest method. +// req, resp := client.GetWirelessGatewayTaskRequest(params) // -// // Example sending a request using the GetWirelessGatewayTaskRequest method. -// req, resp := client.GetWirelessGatewayTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessGatewayTask func (c *IoTWireless) GetWirelessGatewayTaskRequest(input *GetWirelessGatewayTaskInput) (req *request.Request, output *GetWirelessGatewayTaskOutput) { @@ -5159,20 +5158,21 @@ func (c *IoTWireless) GetWirelessGatewayTaskRequest(input *GetWirelessGatewayTas // API operation GetWirelessGatewayTask for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessGatewayTask func (c *IoTWireless) GetWirelessGatewayTask(input *GetWirelessGatewayTaskInput) (*GetWirelessGatewayTaskOutput, error) { @@ -5212,14 +5212,13 @@ const opGetWirelessGatewayTaskDefinition = "GetWirelessGatewayTaskDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWirelessGatewayTaskDefinitionRequest method. +// req, resp := client.GetWirelessGatewayTaskDefinitionRequest(params) // -// // Example sending a request using the GetWirelessGatewayTaskDefinitionRequest method. -// req, resp := client.GetWirelessGatewayTaskDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessGatewayTaskDefinition func (c *IoTWireless) GetWirelessGatewayTaskDefinitionRequest(input *GetWirelessGatewayTaskDefinitionInput) (req *request.Request, output *GetWirelessGatewayTaskDefinitionOutput) { @@ -5250,20 +5249,21 @@ func (c *IoTWireless) GetWirelessGatewayTaskDefinitionRequest(input *GetWireless // API operation GetWirelessGatewayTaskDefinition for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetWirelessGatewayTaskDefinition func (c *IoTWireless) GetWirelessGatewayTaskDefinition(input *GetWirelessGatewayTaskDefinitionInput) (*GetWirelessGatewayTaskDefinitionOutput, error) { @@ -5303,14 +5303,13 @@ const opListDestinations = "ListDestinations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDestinationsRequest method. +// req, resp := client.ListDestinationsRequest(params) // -// // Example sending a request using the ListDestinationsRequest method. -// req, resp := client.ListDestinationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListDestinations func (c *IoTWireless) ListDestinationsRequest(input *ListDestinationsInput) (req *request.Request, output *ListDestinationsOutput) { @@ -5347,17 +5346,18 @@ func (c *IoTWireless) ListDestinationsRequest(input *ListDestinationsInput) (req // API operation ListDestinations for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListDestinations func (c *IoTWireless) ListDestinations(input *ListDestinationsInput) (*ListDestinationsOutput, error) { @@ -5389,15 +5389,14 @@ func (c *IoTWireless) ListDestinationsWithContext(ctx aws.Context, input *ListDe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDestinations operation. -// pageNum := 0 -// err := client.ListDestinationsPages(params, -// func(page *iotwireless.ListDestinationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDestinations operation. +// pageNum := 0 +// err := client.ListDestinationsPages(params, +// func(page *iotwireless.ListDestinationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTWireless) ListDestinationsPages(input *ListDestinationsInput, fn func(*ListDestinationsOutput, bool) bool) error { return c.ListDestinationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5449,14 +5448,13 @@ const opListDeviceProfiles = "ListDeviceProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeviceProfilesRequest method. +// req, resp := client.ListDeviceProfilesRequest(params) // -// // Example sending a request using the ListDeviceProfilesRequest method. -// req, resp := client.ListDeviceProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListDeviceProfiles func (c *IoTWireless) ListDeviceProfilesRequest(input *ListDeviceProfilesInput) (req *request.Request, output *ListDeviceProfilesOutput) { @@ -5493,17 +5491,18 @@ func (c *IoTWireless) ListDeviceProfilesRequest(input *ListDeviceProfilesInput) // API operation ListDeviceProfiles for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListDeviceProfiles func (c *IoTWireless) ListDeviceProfiles(input *ListDeviceProfilesInput) (*ListDeviceProfilesOutput, error) { @@ -5535,15 +5534,14 @@ func (c *IoTWireless) ListDeviceProfilesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDeviceProfiles operation. -// pageNum := 0 -// err := client.ListDeviceProfilesPages(params, -// func(page *iotwireless.ListDeviceProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDeviceProfiles operation. +// pageNum := 0 +// err := client.ListDeviceProfilesPages(params, +// func(page *iotwireless.ListDeviceProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTWireless) ListDeviceProfilesPages(input *ListDeviceProfilesInput, fn func(*ListDeviceProfilesOutput, bool) bool) error { return c.ListDeviceProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5595,14 +5593,13 @@ const opListEventConfigurations = "ListEventConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventConfigurationsRequest method. +// req, resp := client.ListEventConfigurationsRequest(params) // -// // Example sending a request using the ListEventConfigurationsRequest method. -// req, resp := client.ListEventConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListEventConfigurations func (c *IoTWireless) ListEventConfigurationsRequest(input *ListEventConfigurationsInput) (req *request.Request, output *ListEventConfigurationsOutput) { @@ -5633,17 +5630,18 @@ func (c *IoTWireless) ListEventConfigurationsRequest(input *ListEventConfigurati // API operation ListEventConfigurations for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListEventConfigurations func (c *IoTWireless) ListEventConfigurations(input *ListEventConfigurationsInput) (*ListEventConfigurationsOutput, error) { @@ -5683,14 +5681,13 @@ const opListFuotaTasks = "ListFuotaTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFuotaTasksRequest method. +// req, resp := client.ListFuotaTasksRequest(params) // -// // Example sending a request using the ListFuotaTasksRequest method. -// req, resp := client.ListFuotaTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListFuotaTasks func (c *IoTWireless) ListFuotaTasksRequest(input *ListFuotaTasksInput) (req *request.Request, output *ListFuotaTasksOutput) { @@ -5727,17 +5724,18 @@ func (c *IoTWireless) ListFuotaTasksRequest(input *ListFuotaTasksInput) (req *re // API operation ListFuotaTasks for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListFuotaTasks func (c *IoTWireless) ListFuotaTasks(input *ListFuotaTasksInput) (*ListFuotaTasksOutput, error) { @@ -5769,15 +5767,14 @@ func (c *IoTWireless) ListFuotaTasksWithContext(ctx aws.Context, input *ListFuot // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFuotaTasks operation. -// pageNum := 0 -// err := client.ListFuotaTasksPages(params, -// func(page *iotwireless.ListFuotaTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFuotaTasks operation. +// pageNum := 0 +// err := client.ListFuotaTasksPages(params, +// func(page *iotwireless.ListFuotaTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTWireless) ListFuotaTasksPages(input *ListFuotaTasksInput, fn func(*ListFuotaTasksOutput, bool) bool) error { return c.ListFuotaTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5829,14 +5826,13 @@ const opListMulticastGroups = "ListMulticastGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMulticastGroupsRequest method. +// req, resp := client.ListMulticastGroupsRequest(params) // -// // Example sending a request using the ListMulticastGroupsRequest method. -// req, resp := client.ListMulticastGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListMulticastGroups func (c *IoTWireless) ListMulticastGroupsRequest(input *ListMulticastGroupsInput) (req *request.Request, output *ListMulticastGroupsOutput) { @@ -5873,17 +5869,18 @@ func (c *IoTWireless) ListMulticastGroupsRequest(input *ListMulticastGroupsInput // API operation ListMulticastGroups for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListMulticastGroups func (c *IoTWireless) ListMulticastGroups(input *ListMulticastGroupsInput) (*ListMulticastGroupsOutput, error) { @@ -5915,15 +5912,14 @@ func (c *IoTWireless) ListMulticastGroupsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMulticastGroups operation. -// pageNum := 0 -// err := client.ListMulticastGroupsPages(params, -// func(page *iotwireless.ListMulticastGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMulticastGroups operation. +// pageNum := 0 +// err := client.ListMulticastGroupsPages(params, +// func(page *iotwireless.ListMulticastGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTWireless) ListMulticastGroupsPages(input *ListMulticastGroupsInput, fn func(*ListMulticastGroupsOutput, bool) bool) error { return c.ListMulticastGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5975,14 +5971,13 @@ const opListMulticastGroupsByFuotaTask = "ListMulticastGroupsByFuotaTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMulticastGroupsByFuotaTaskRequest method. +// req, resp := client.ListMulticastGroupsByFuotaTaskRequest(params) // -// // Example sending a request using the ListMulticastGroupsByFuotaTaskRequest method. -// req, resp := client.ListMulticastGroupsByFuotaTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListMulticastGroupsByFuotaTask func (c *IoTWireless) ListMulticastGroupsByFuotaTaskRequest(input *ListMulticastGroupsByFuotaTaskInput) (req *request.Request, output *ListMulticastGroupsByFuotaTaskOutput) { @@ -6019,20 +6014,21 @@ func (c *IoTWireless) ListMulticastGroupsByFuotaTaskRequest(input *ListMulticast // API operation ListMulticastGroupsByFuotaTask for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ResourceNotFoundException +// Resource does not exist. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListMulticastGroupsByFuotaTask func (c *IoTWireless) ListMulticastGroupsByFuotaTask(input *ListMulticastGroupsByFuotaTaskInput) (*ListMulticastGroupsByFuotaTaskOutput, error) { @@ -6064,15 +6060,14 @@ func (c *IoTWireless) ListMulticastGroupsByFuotaTaskWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMulticastGroupsByFuotaTask operation. -// pageNum := 0 -// err := client.ListMulticastGroupsByFuotaTaskPages(params, -// func(page *iotwireless.ListMulticastGroupsByFuotaTaskOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMulticastGroupsByFuotaTask operation. +// pageNum := 0 +// err := client.ListMulticastGroupsByFuotaTaskPages(params, +// func(page *iotwireless.ListMulticastGroupsByFuotaTaskOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTWireless) ListMulticastGroupsByFuotaTaskPages(input *ListMulticastGroupsByFuotaTaskInput, fn func(*ListMulticastGroupsByFuotaTaskOutput, bool) bool) error { return c.ListMulticastGroupsByFuotaTaskPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6124,14 +6119,13 @@ const opListNetworkAnalyzerConfigurations = "ListNetworkAnalyzerConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNetworkAnalyzerConfigurationsRequest method. +// req, resp := client.ListNetworkAnalyzerConfigurationsRequest(params) // -// // Example sending a request using the ListNetworkAnalyzerConfigurationsRequest method. -// req, resp := client.ListNetworkAnalyzerConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListNetworkAnalyzerConfigurations func (c *IoTWireless) ListNetworkAnalyzerConfigurationsRequest(input *ListNetworkAnalyzerConfigurationsInput) (req *request.Request, output *ListNetworkAnalyzerConfigurationsOutput) { @@ -6168,17 +6162,18 @@ func (c *IoTWireless) ListNetworkAnalyzerConfigurationsRequest(input *ListNetwor // API operation ListNetworkAnalyzerConfigurations for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListNetworkAnalyzerConfigurations func (c *IoTWireless) ListNetworkAnalyzerConfigurations(input *ListNetworkAnalyzerConfigurationsInput) (*ListNetworkAnalyzerConfigurationsOutput, error) { @@ -6210,15 +6205,14 @@ func (c *IoTWireless) ListNetworkAnalyzerConfigurationsWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNetworkAnalyzerConfigurations operation. -// pageNum := 0 -// err := client.ListNetworkAnalyzerConfigurationsPages(params, -// func(page *iotwireless.ListNetworkAnalyzerConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNetworkAnalyzerConfigurations operation. +// pageNum := 0 +// err := client.ListNetworkAnalyzerConfigurationsPages(params, +// func(page *iotwireless.ListNetworkAnalyzerConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTWireless) ListNetworkAnalyzerConfigurationsPages(input *ListNetworkAnalyzerConfigurationsInput, fn func(*ListNetworkAnalyzerConfigurationsOutput, bool) bool) error { return c.ListNetworkAnalyzerConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6270,14 +6264,13 @@ const opListPartnerAccounts = "ListPartnerAccounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPartnerAccountsRequest method. +// req, resp := client.ListPartnerAccountsRequest(params) // -// // Example sending a request using the ListPartnerAccountsRequest method. -// req, resp := client.ListPartnerAccountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListPartnerAccounts func (c *IoTWireless) ListPartnerAccountsRequest(input *ListPartnerAccountsInput) (req *request.Request, output *ListPartnerAccountsOutput) { @@ -6308,17 +6301,18 @@ func (c *IoTWireless) ListPartnerAccountsRequest(input *ListPartnerAccountsInput // API operation ListPartnerAccounts for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListPartnerAccounts func (c *IoTWireless) ListPartnerAccounts(input *ListPartnerAccountsInput) (*ListPartnerAccountsOutput, error) { @@ -6358,14 +6352,13 @@ const opListQueuedMessages = "ListQueuedMessages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListQueuedMessagesRequest method. +// req, resp := client.ListQueuedMessagesRequest(params) // -// // Example sending a request using the ListQueuedMessagesRequest method. -// req, resp := client.ListQueuedMessagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListQueuedMessages func (c *IoTWireless) ListQueuedMessagesRequest(input *ListQueuedMessagesInput) (req *request.Request, output *ListQueuedMessagesOutput) { @@ -6402,20 +6395,21 @@ func (c *IoTWireless) ListQueuedMessagesRequest(input *ListQueuedMessagesInput) // API operation ListQueuedMessages for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListQueuedMessages func (c *IoTWireless) ListQueuedMessages(input *ListQueuedMessagesInput) (*ListQueuedMessagesOutput, error) { @@ -6447,15 +6441,14 @@ func (c *IoTWireless) ListQueuedMessagesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListQueuedMessages operation. -// pageNum := 0 -// err := client.ListQueuedMessagesPages(params, -// func(page *iotwireless.ListQueuedMessagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListQueuedMessages operation. +// pageNum := 0 +// err := client.ListQueuedMessagesPages(params, +// func(page *iotwireless.ListQueuedMessagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTWireless) ListQueuedMessagesPages(input *ListQueuedMessagesInput, fn func(*ListQueuedMessagesOutput, bool) bool) error { return c.ListQueuedMessagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6507,14 +6500,13 @@ const opListServiceProfiles = "ListServiceProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServiceProfilesRequest method. +// req, resp := client.ListServiceProfilesRequest(params) // -// // Example sending a request using the ListServiceProfilesRequest method. -// req, resp := client.ListServiceProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListServiceProfiles func (c *IoTWireless) ListServiceProfilesRequest(input *ListServiceProfilesInput) (req *request.Request, output *ListServiceProfilesOutput) { @@ -6551,17 +6543,18 @@ func (c *IoTWireless) ListServiceProfilesRequest(input *ListServiceProfilesInput // API operation ListServiceProfiles for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListServiceProfiles func (c *IoTWireless) ListServiceProfiles(input *ListServiceProfilesInput) (*ListServiceProfilesOutput, error) { @@ -6593,15 +6586,14 @@ func (c *IoTWireless) ListServiceProfilesWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServiceProfiles operation. -// pageNum := 0 -// err := client.ListServiceProfilesPages(params, -// func(page *iotwireless.ListServiceProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServiceProfiles operation. +// pageNum := 0 +// err := client.ListServiceProfilesPages(params, +// func(page *iotwireless.ListServiceProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTWireless) ListServiceProfilesPages(input *ListServiceProfilesInput, fn func(*ListServiceProfilesOutput, bool) bool) error { return c.ListServiceProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6653,14 +6645,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListTagsForResource func (c *IoTWireless) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -6691,20 +6682,21 @@ func (c *IoTWireless) ListTagsForResourceRequest(input *ListTagsForResourceInput // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListTagsForResource func (c *IoTWireless) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -6744,14 +6736,13 @@ const opListWirelessDevices = "ListWirelessDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWirelessDevicesRequest method. +// req, resp := client.ListWirelessDevicesRequest(params) // -// // Example sending a request using the ListWirelessDevicesRequest method. -// req, resp := client.ListWirelessDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListWirelessDevices func (c *IoTWireless) ListWirelessDevicesRequest(input *ListWirelessDevicesInput) (req *request.Request, output *ListWirelessDevicesOutput) { @@ -6788,17 +6779,18 @@ func (c *IoTWireless) ListWirelessDevicesRequest(input *ListWirelessDevicesInput // API operation ListWirelessDevices for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ValidationException +// The input did not meet the specified constraints. +// +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListWirelessDevices func (c *IoTWireless) ListWirelessDevices(input *ListWirelessDevicesInput) (*ListWirelessDevicesOutput, error) { @@ -6830,15 +6822,14 @@ func (c *IoTWireless) ListWirelessDevicesWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWirelessDevices operation. -// pageNum := 0 -// err := client.ListWirelessDevicesPages(params, -// func(page *iotwireless.ListWirelessDevicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWirelessDevices operation. +// pageNum := 0 +// err := client.ListWirelessDevicesPages(params, +// func(page *iotwireless.ListWirelessDevicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTWireless) ListWirelessDevicesPages(input *ListWirelessDevicesInput, fn func(*ListWirelessDevicesOutput, bool) bool) error { return c.ListWirelessDevicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6890,14 +6881,13 @@ const opListWirelessGatewayTaskDefinitions = "ListWirelessGatewayTaskDefinitions // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWirelessGatewayTaskDefinitionsRequest method. +// req, resp := client.ListWirelessGatewayTaskDefinitionsRequest(params) // -// // Example sending a request using the ListWirelessGatewayTaskDefinitionsRequest method. -// req, resp := client.ListWirelessGatewayTaskDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListWirelessGatewayTaskDefinitions func (c *IoTWireless) ListWirelessGatewayTaskDefinitionsRequest(input *ListWirelessGatewayTaskDefinitionsInput) (req *request.Request, output *ListWirelessGatewayTaskDefinitionsOutput) { @@ -6928,17 +6918,18 @@ func (c *IoTWireless) ListWirelessGatewayTaskDefinitionsRequest(input *ListWirel // API operation ListWirelessGatewayTaskDefinitions for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListWirelessGatewayTaskDefinitions func (c *IoTWireless) ListWirelessGatewayTaskDefinitions(input *ListWirelessGatewayTaskDefinitionsInput) (*ListWirelessGatewayTaskDefinitionsOutput, error) { @@ -6978,14 +6969,13 @@ const opListWirelessGateways = "ListWirelessGateways" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWirelessGatewaysRequest method. +// req, resp := client.ListWirelessGatewaysRequest(params) // -// // Example sending a request using the ListWirelessGatewaysRequest method. -// req, resp := client.ListWirelessGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListWirelessGateways func (c *IoTWireless) ListWirelessGatewaysRequest(input *ListWirelessGatewaysInput) (req *request.Request, output *ListWirelessGatewaysOutput) { @@ -7022,17 +7012,18 @@ func (c *IoTWireless) ListWirelessGatewaysRequest(input *ListWirelessGatewaysInp // API operation ListWirelessGateways for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ValidationException +// The input did not meet the specified constraints. +// +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ListWirelessGateways func (c *IoTWireless) ListWirelessGateways(input *ListWirelessGatewaysInput) (*ListWirelessGatewaysOutput, error) { @@ -7064,15 +7055,14 @@ func (c *IoTWireless) ListWirelessGatewaysWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWirelessGateways operation. -// pageNum := 0 -// err := client.ListWirelessGatewaysPages(params, -// func(page *iotwireless.ListWirelessGatewaysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWirelessGateways operation. +// pageNum := 0 +// err := client.ListWirelessGatewaysPages(params, +// func(page *iotwireless.ListWirelessGatewaysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IoTWireless) ListWirelessGatewaysPages(input *ListWirelessGatewaysInput, fn func(*ListWirelessGatewaysOutput, bool) bool) error { return c.ListWirelessGatewaysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7124,14 +7114,13 @@ const opPutResourceLogLevel = "PutResourceLogLevel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutResourceLogLevelRequest method. +// req, resp := client.PutResourceLogLevelRequest(params) // -// // Example sending a request using the PutResourceLogLevelRequest method. -// req, resp := client.PutResourceLogLevelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/PutResourceLogLevel func (c *IoTWireless) PutResourceLogLevelRequest(input *PutResourceLogLevelInput) (req *request.Request, output *PutResourceLogLevelOutput) { @@ -7165,20 +7154,21 @@ func (c *IoTWireless) PutResourceLogLevelRequest(input *PutResourceLogLevelInput // API operation PutResourceLogLevel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. +// +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * ValidationException -// The input did not meet the specified constraints. +// - ValidationException +// The input did not meet the specified constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/PutResourceLogLevel func (c *IoTWireless) PutResourceLogLevel(input *PutResourceLogLevelInput) (*PutResourceLogLevelOutput, error) { @@ -7218,14 +7208,13 @@ const opResetAllResourceLogLevels = "ResetAllResourceLogLevels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetAllResourceLogLevelsRequest method. +// req, resp := client.ResetAllResourceLogLevelsRequest(params) // -// // Example sending a request using the ResetAllResourceLogLevelsRequest method. -// req, resp := client.ResetAllResourceLogLevelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ResetAllResourceLogLevels func (c *IoTWireless) ResetAllResourceLogLevelsRequest(input *ResetAllResourceLogLevelsInput) (req *request.Request, output *ResetAllResourceLogLevelsOutput) { @@ -7258,20 +7247,21 @@ func (c *IoTWireless) ResetAllResourceLogLevelsRequest(input *ResetAllResourceLo // API operation ResetAllResourceLogLevels for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. +// +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * ValidationException -// The input did not meet the specified constraints. +// - ValidationException +// The input did not meet the specified constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ResetAllResourceLogLevels func (c *IoTWireless) ResetAllResourceLogLevels(input *ResetAllResourceLogLevelsInput) (*ResetAllResourceLogLevelsOutput, error) { @@ -7311,14 +7301,13 @@ const opResetResourceLogLevel = "ResetResourceLogLevel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetResourceLogLevelRequest method. +// req, resp := client.ResetResourceLogLevelRequest(params) // -// // Example sending a request using the ResetResourceLogLevelRequest method. -// req, resp := client.ResetResourceLogLevelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ResetResourceLogLevel func (c *IoTWireless) ResetResourceLogLevelRequest(input *ResetResourceLogLevelInput) (req *request.Request, output *ResetResourceLogLevelOutput) { @@ -7351,20 +7340,21 @@ func (c *IoTWireless) ResetResourceLogLevelRequest(input *ResetResourceLogLevelI // API operation ResetResourceLogLevel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ResourceNotFoundException +// Resource does not exist. // -// * ValidationException -// The input did not meet the specified constraints. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. +// +// - ValidationException +// The input did not meet the specified constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/ResetResourceLogLevel func (c *IoTWireless) ResetResourceLogLevel(input *ResetResourceLogLevelInput) (*ResetResourceLogLevelOutput, error) { @@ -7404,14 +7394,13 @@ const opSendDataToMulticastGroup = "SendDataToMulticastGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendDataToMulticastGroupRequest method. +// req, resp := client.SendDataToMulticastGroupRequest(params) // -// // Example sending a request using the SendDataToMulticastGroupRequest method. -// req, resp := client.SendDataToMulticastGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/SendDataToMulticastGroup func (c *IoTWireless) SendDataToMulticastGroupRequest(input *SendDataToMulticastGroupInput) (req *request.Request, output *SendDataToMulticastGroupOutput) { @@ -7442,23 +7431,24 @@ func (c *IoTWireless) SendDataToMulticastGroupRequest(input *SendDataToMulticast // API operation SendDataToMulticastGroup for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/SendDataToMulticastGroup func (c *IoTWireless) SendDataToMulticastGroup(input *SendDataToMulticastGroupInput) (*SendDataToMulticastGroupOutput, error) { @@ -7498,14 +7488,13 @@ const opSendDataToWirelessDevice = "SendDataToWirelessDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendDataToWirelessDeviceRequest method. +// req, resp := client.SendDataToWirelessDeviceRequest(params) // -// // Example sending a request using the SendDataToWirelessDeviceRequest method. -// req, resp := client.SendDataToWirelessDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/SendDataToWirelessDevice func (c *IoTWireless) SendDataToWirelessDeviceRequest(input *SendDataToWirelessDeviceInput) (req *request.Request, output *SendDataToWirelessDeviceOutput) { @@ -7536,17 +7525,18 @@ func (c *IoTWireless) SendDataToWirelessDeviceRequest(input *SendDataToWirelessD // API operation SendDataToWirelessDevice for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/SendDataToWirelessDevice func (c *IoTWireless) SendDataToWirelessDevice(input *SendDataToWirelessDeviceInput) (*SendDataToWirelessDeviceOutput, error) { @@ -7586,14 +7576,13 @@ const opStartBulkAssociateWirelessDeviceWithMulticastGroup = "StartBulkAssociate // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartBulkAssociateWirelessDeviceWithMulticastGroupRequest method. +// req, resp := client.StartBulkAssociateWirelessDeviceWithMulticastGroupRequest(params) // -// // Example sending a request using the StartBulkAssociateWirelessDeviceWithMulticastGroupRequest method. -// req, resp := client.StartBulkAssociateWirelessDeviceWithMulticastGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/StartBulkAssociateWirelessDeviceWithMulticastGroup func (c *IoTWireless) StartBulkAssociateWirelessDeviceWithMulticastGroupRequest(input *StartBulkAssociateWirelessDeviceWithMulticastGroupInput) (req *request.Request, output *StartBulkAssociateWirelessDeviceWithMulticastGroupOutput) { @@ -7626,20 +7615,21 @@ func (c *IoTWireless) StartBulkAssociateWirelessDeviceWithMulticastGroupRequest( // API operation StartBulkAssociateWirelessDeviceWithMulticastGroup for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/StartBulkAssociateWirelessDeviceWithMulticastGroup func (c *IoTWireless) StartBulkAssociateWirelessDeviceWithMulticastGroup(input *StartBulkAssociateWirelessDeviceWithMulticastGroupInput) (*StartBulkAssociateWirelessDeviceWithMulticastGroupOutput, error) { @@ -7679,14 +7669,13 @@ const opStartBulkDisassociateWirelessDeviceFromMulticastGroup = "StartBulkDisass // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartBulkDisassociateWirelessDeviceFromMulticastGroupRequest method. +// req, resp := client.StartBulkDisassociateWirelessDeviceFromMulticastGroupRequest(params) // -// // Example sending a request using the StartBulkDisassociateWirelessDeviceFromMulticastGroupRequest method. -// req, resp := client.StartBulkDisassociateWirelessDeviceFromMulticastGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/StartBulkDisassociateWirelessDeviceFromMulticastGroup func (c *IoTWireless) StartBulkDisassociateWirelessDeviceFromMulticastGroupRequest(input *StartBulkDisassociateWirelessDeviceFromMulticastGroupInput) (req *request.Request, output *StartBulkDisassociateWirelessDeviceFromMulticastGroupOutput) { @@ -7719,20 +7708,21 @@ func (c *IoTWireless) StartBulkDisassociateWirelessDeviceFromMulticastGroupReque // API operation StartBulkDisassociateWirelessDeviceFromMulticastGroup for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/StartBulkDisassociateWirelessDeviceFromMulticastGroup func (c *IoTWireless) StartBulkDisassociateWirelessDeviceFromMulticastGroup(input *StartBulkDisassociateWirelessDeviceFromMulticastGroupInput) (*StartBulkDisassociateWirelessDeviceFromMulticastGroupOutput, error) { @@ -7772,14 +7762,13 @@ const opStartFuotaTask = "StartFuotaTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartFuotaTaskRequest method. +// req, resp := client.StartFuotaTaskRequest(params) // -// // Example sending a request using the StartFuotaTaskRequest method. -// req, resp := client.StartFuotaTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/StartFuotaTask func (c *IoTWireless) StartFuotaTaskRequest(input *StartFuotaTaskInput) (req *request.Request, output *StartFuotaTaskOutput) { @@ -7811,23 +7800,24 @@ func (c *IoTWireless) StartFuotaTaskRequest(input *StartFuotaTaskInput) (req *re // API operation StartFuotaTask for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/StartFuotaTask func (c *IoTWireless) StartFuotaTask(input *StartFuotaTaskInput) (*StartFuotaTaskOutput, error) { @@ -7867,14 +7857,13 @@ const opStartMulticastGroupSession = "StartMulticastGroupSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMulticastGroupSessionRequest method. +// req, resp := client.StartMulticastGroupSessionRequest(params) // -// // Example sending a request using the StartMulticastGroupSessionRequest method. -// req, resp := client.StartMulticastGroupSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/StartMulticastGroupSession func (c *IoTWireless) StartMulticastGroupSessionRequest(input *StartMulticastGroupSessionInput) (req *request.Request, output *StartMulticastGroupSessionOutput) { @@ -7906,23 +7895,24 @@ func (c *IoTWireless) StartMulticastGroupSessionRequest(input *StartMulticastGro // API operation StartMulticastGroupSession for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/StartMulticastGroupSession func (c *IoTWireless) StartMulticastGroupSession(input *StartMulticastGroupSessionInput) (*StartMulticastGroupSessionOutput, error) { @@ -7962,14 +7952,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/TagResource func (c *IoTWireless) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -8001,23 +7990,24 @@ func (c *IoTWireless) TagResourceRequest(input *TagResourceInput) (req *request. // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * TooManyTagsException -// The request was denied because the resource can't have any more tags. +// - TooManyTagsException +// The request was denied because the resource can't have any more tags. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/TagResource func (c *IoTWireless) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -8057,14 +8047,13 @@ const opTestWirelessDevice = "TestWirelessDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestWirelessDeviceRequest method. +// req, resp := client.TestWirelessDeviceRequest(params) // -// // Example sending a request using the TestWirelessDeviceRequest method. -// req, resp := client.TestWirelessDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/TestWirelessDevice func (c *IoTWireless) TestWirelessDeviceRequest(input *TestWirelessDeviceInput) (req *request.Request, output *TestWirelessDeviceOutput) { @@ -8095,17 +8084,18 @@ func (c *IoTWireless) TestWirelessDeviceRequest(input *TestWirelessDeviceInput) // API operation TestWirelessDevice for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/TestWirelessDevice func (c *IoTWireless) TestWirelessDevice(input *TestWirelessDeviceInput) (*TestWirelessDeviceOutput, error) { @@ -8145,14 +8135,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UntagResource func (c *IoTWireless) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -8184,20 +8173,21 @@ func (c *IoTWireless) UntagResourceRequest(input *UntagResourceInput) (req *requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UntagResource func (c *IoTWireless) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -8237,14 +8227,13 @@ const opUpdateDestination = "UpdateDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDestinationRequest method. +// req, resp := client.UpdateDestinationRequest(params) // -// // Example sending a request using the UpdateDestinationRequest method. -// req, resp := client.UpdateDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateDestination func (c *IoTWireless) UpdateDestinationRequest(input *UpdateDestinationInput) (req *request.Request, output *UpdateDestinationOutput) { @@ -8276,20 +8265,21 @@ func (c *IoTWireless) UpdateDestinationRequest(input *UpdateDestinationInput) (r // API operation UpdateDestination for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateDestination func (c *IoTWireless) UpdateDestination(input *UpdateDestinationInput) (*UpdateDestinationOutput, error) { @@ -8329,14 +8319,13 @@ const opUpdateEventConfigurationByResourceTypes = "UpdateEventConfigurationByRes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEventConfigurationByResourceTypesRequest method. +// req, resp := client.UpdateEventConfigurationByResourceTypesRequest(params) // -// // Example sending a request using the UpdateEventConfigurationByResourceTypesRequest method. -// req, resp := client.UpdateEventConfigurationByResourceTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateEventConfigurationByResourceTypes func (c *IoTWireless) UpdateEventConfigurationByResourceTypesRequest(input *UpdateEventConfigurationByResourceTypesInput) (req *request.Request, output *UpdateEventConfigurationByResourceTypesOutput) { @@ -8368,17 +8357,18 @@ func (c *IoTWireless) UpdateEventConfigurationByResourceTypesRequest(input *Upda // API operation UpdateEventConfigurationByResourceTypes for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateEventConfigurationByResourceTypes func (c *IoTWireless) UpdateEventConfigurationByResourceTypes(input *UpdateEventConfigurationByResourceTypesInput) (*UpdateEventConfigurationByResourceTypesOutput, error) { @@ -8418,14 +8408,13 @@ const opUpdateFuotaTask = "UpdateFuotaTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFuotaTaskRequest method. +// req, resp := client.UpdateFuotaTaskRequest(params) // -// // Example sending a request using the UpdateFuotaTaskRequest method. -// req, resp := client.UpdateFuotaTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateFuotaTask func (c *IoTWireless) UpdateFuotaTaskRequest(input *UpdateFuotaTaskInput) (req *request.Request, output *UpdateFuotaTaskOutput) { @@ -8457,23 +8446,24 @@ func (c *IoTWireless) UpdateFuotaTaskRequest(input *UpdateFuotaTaskInput) (req * // API operation UpdateFuotaTask for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ResourceNotFoundException +// Resource does not exist. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateFuotaTask func (c *IoTWireless) UpdateFuotaTask(input *UpdateFuotaTaskInput) (*UpdateFuotaTaskOutput, error) { @@ -8513,14 +8503,13 @@ const opUpdateLogLevelsByResourceTypes = "UpdateLogLevelsByResourceTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLogLevelsByResourceTypesRequest method. +// req, resp := client.UpdateLogLevelsByResourceTypesRequest(params) // -// // Example sending a request using the UpdateLogLevelsByResourceTypesRequest method. -// req, resp := client.UpdateLogLevelsByResourceTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateLogLevelsByResourceTypes func (c *IoTWireless) UpdateLogLevelsByResourceTypesRequest(input *UpdateLogLevelsByResourceTypesInput) (req *request.Request, output *UpdateLogLevelsByResourceTypesOutput) { @@ -8554,23 +8543,24 @@ func (c *IoTWireless) UpdateLogLevelsByResourceTypesRequest(input *UpdateLogLeve // API operation UpdateLogLevelsByResourceTypes for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// User does not have permission to perform this action. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - AccessDeniedException +// User does not have permission to perform this action. +// +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * ValidationException -// The input did not meet the specified constraints. +// - ValidationException +// The input did not meet the specified constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateLogLevelsByResourceTypes func (c *IoTWireless) UpdateLogLevelsByResourceTypes(input *UpdateLogLevelsByResourceTypesInput) (*UpdateLogLevelsByResourceTypesOutput, error) { @@ -8610,14 +8600,13 @@ const opUpdateMulticastGroup = "UpdateMulticastGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMulticastGroupRequest method. +// req, resp := client.UpdateMulticastGroupRequest(params) // -// // Example sending a request using the UpdateMulticastGroupRequest method. -// req, resp := client.UpdateMulticastGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateMulticastGroup func (c *IoTWireless) UpdateMulticastGroupRequest(input *UpdateMulticastGroupInput) (req *request.Request, output *UpdateMulticastGroupOutput) { @@ -8649,23 +8638,24 @@ func (c *IoTWireless) UpdateMulticastGroupRequest(input *UpdateMulticastGroupInp // API operation UpdateMulticastGroup for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateMulticastGroup func (c *IoTWireless) UpdateMulticastGroup(input *UpdateMulticastGroupInput) (*UpdateMulticastGroupOutput, error) { @@ -8705,14 +8695,13 @@ const opUpdateNetworkAnalyzerConfiguration = "UpdateNetworkAnalyzerConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNetworkAnalyzerConfigurationRequest method. +// req, resp := client.UpdateNetworkAnalyzerConfigurationRequest(params) // -// // Example sending a request using the UpdateNetworkAnalyzerConfigurationRequest method. -// req, resp := client.UpdateNetworkAnalyzerConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateNetworkAnalyzerConfiguration func (c *IoTWireless) UpdateNetworkAnalyzerConfigurationRequest(input *UpdateNetworkAnalyzerConfigurationInput) (req *request.Request, output *UpdateNetworkAnalyzerConfigurationOutput) { @@ -8744,20 +8733,21 @@ func (c *IoTWireless) UpdateNetworkAnalyzerConfigurationRequest(input *UpdateNet // API operation UpdateNetworkAnalyzerConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - ResourceNotFoundException +// Resource does not exist. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateNetworkAnalyzerConfiguration func (c *IoTWireless) UpdateNetworkAnalyzerConfiguration(input *UpdateNetworkAnalyzerConfigurationInput) (*UpdateNetworkAnalyzerConfigurationOutput, error) { @@ -8797,14 +8787,13 @@ const opUpdatePartnerAccount = "UpdatePartnerAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePartnerAccountRequest method. +// req, resp := client.UpdatePartnerAccountRequest(params) // -// // Example sending a request using the UpdatePartnerAccountRequest method. -// req, resp := client.UpdatePartnerAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdatePartnerAccount func (c *IoTWireless) UpdatePartnerAccountRequest(input *UpdatePartnerAccountInput) (req *request.Request, output *UpdatePartnerAccountOutput) { @@ -8836,17 +8825,18 @@ func (c *IoTWireless) UpdatePartnerAccountRequest(input *UpdatePartnerAccountInp // API operation UpdatePartnerAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdatePartnerAccount func (c *IoTWireless) UpdatePartnerAccount(input *UpdatePartnerAccountInput) (*UpdatePartnerAccountOutput, error) { @@ -8886,14 +8876,13 @@ const opUpdateResourceEventConfiguration = "UpdateResourceEventConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResourceEventConfigurationRequest method. +// req, resp := client.UpdateResourceEventConfigurationRequest(params) // -// // Example sending a request using the UpdateResourceEventConfigurationRequest method. -// req, resp := client.UpdateResourceEventConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateResourceEventConfiguration func (c *IoTWireless) UpdateResourceEventConfigurationRequest(input *UpdateResourceEventConfigurationInput) (req *request.Request, output *UpdateResourceEventConfigurationOutput) { @@ -8925,23 +8914,24 @@ func (c *IoTWireless) UpdateResourceEventConfigurationRequest(input *UpdateResou // API operation UpdateResourceEventConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ValidationException +// The input did not meet the specified constraints. +// +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ConflictException -// Adding, updating, or deleting the resource can cause an inconsistent state. +// - ConflictException +// Adding, updating, or deleting the resource can cause an inconsistent state. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // -// * ResourceNotFoundException -// Resource does not exist. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateResourceEventConfiguration func (c *IoTWireless) UpdateResourceEventConfiguration(input *UpdateResourceEventConfigurationInput) (*UpdateResourceEventConfigurationOutput, error) { @@ -8981,14 +8971,13 @@ const opUpdateWirelessDevice = "UpdateWirelessDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWirelessDeviceRequest method. +// req, resp := client.UpdateWirelessDeviceRequest(params) // -// // Example sending a request using the UpdateWirelessDeviceRequest method. -// req, resp := client.UpdateWirelessDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateWirelessDevice func (c *IoTWireless) UpdateWirelessDeviceRequest(input *UpdateWirelessDeviceInput) (req *request.Request, output *UpdateWirelessDeviceOutput) { @@ -9020,20 +9009,21 @@ func (c *IoTWireless) UpdateWirelessDeviceRequest(input *UpdateWirelessDeviceInp // API operation UpdateWirelessDevice for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - ResourceNotFoundException +// Resource does not exist. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - InternalServerException +// An unexpected error occurred while processing a request. +// +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateWirelessDevice func (c *IoTWireless) UpdateWirelessDevice(input *UpdateWirelessDeviceInput) (*UpdateWirelessDeviceOutput, error) { @@ -9073,14 +9063,13 @@ const opUpdateWirelessGateway = "UpdateWirelessGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWirelessGatewayRequest method. +// req, resp := client.UpdateWirelessGatewayRequest(params) // -// // Example sending a request using the UpdateWirelessGatewayRequest method. -// req, resp := client.UpdateWirelessGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateWirelessGateway func (c *IoTWireless) UpdateWirelessGatewayRequest(input *UpdateWirelessGatewayInput) (req *request.Request, output *UpdateWirelessGatewayOutput) { @@ -9112,20 +9101,21 @@ func (c *IoTWireless) UpdateWirelessGatewayRequest(input *UpdateWirelessGatewayI // API operation UpdateWirelessGateway for usage and error information. // // Returned Error Types: -// * ValidationException -// The input did not meet the specified constraints. // -// * ResourceNotFoundException -// Resource does not exist. +// - ValidationException +// The input did not meet the specified constraints. +// +// - ResourceNotFoundException +// Resource does not exist. // -// * AccessDeniedException -// User does not have permission to perform this action. +// - AccessDeniedException +// User does not have permission to perform this action. // -// * InternalServerException -// An unexpected error occurred while processing a request. +// - InternalServerException +// An unexpected error occurred while processing a request. // -// * ThrottlingException -// The request was denied because it exceeded the allowed API request rate. +// - ThrottlingException +// The request was denied because it exceeded the allowed API request rate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/UpdateWirelessGateway func (c *IoTWireless) UpdateWirelessGateway(input *UpdateWirelessGatewayInput) (*UpdateWirelessGatewayOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/doc.go index 8f5640b081ec..2b38ab68c70c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/doc.go @@ -25,7 +25,7 @@ // See iotwireless package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/iotwireless/ // -// Using the Client +// # Using the Client // // To contact AWS IoT Wireless with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/iotwirelessiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/iotwirelessiface/interface.go index c7177072d933..63bc1b57839e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/iotwirelessiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/iotwirelessiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS IoT Wireless. -// func myFunc(svc iotwirelessiface.IoTWirelessAPI) bool { -// // Make svc.AssociateAwsAccountWithPartnerAccount request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS IoT Wireless. +// func myFunc(svc iotwirelessiface.IoTWirelessAPI) bool { +// // Make svc.AssociateAwsAccountWithPartnerAccount request +// } // -// func main() { -// sess := session.New() -// svc := iotwireless.New(sess) +// func main() { +// sess := session.New() +// svc := iotwireless.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIoTWirelessClient struct { -// iotwirelessiface.IoTWirelessAPI -// } -// func (m *mockIoTWirelessClient) AssociateAwsAccountWithPartnerAccount(input *iotwireless.AssociateAwsAccountWithPartnerAccountInput) (*iotwireless.AssociateAwsAccountWithPartnerAccountOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIoTWirelessClient struct { +// iotwirelessiface.IoTWirelessAPI +// } +// func (m *mockIoTWirelessClient) AssociateAwsAccountWithPartnerAccount(input *iotwireless.AssociateAwsAccountWithPartnerAccountInput) (*iotwireless.AssociateAwsAccountWithPartnerAccountOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIoTWirelessClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIoTWirelessClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/service.go index 17c1fee6ee76..58537136f392 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/iotwireless/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IoTWireless client from just a session. -// svc := iotwireless.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IoTWireless client with additional configuration -// svc := iotwireless.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IoTWireless client from just a session. +// svc := iotwireless.New(mySession) +// +// // Create a IoTWireless client with additional configuration +// svc := iotwireless.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IoTWireless { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/api.go index 72604d04e34f..534d62700fcf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/api.go @@ -29,14 +29,13 @@ const opBatchGetChannel = "BatchGetChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetChannelRequest method. +// req, resp := client.BatchGetChannelRequest(params) // -// // Example sending a request using the BatchGetChannelRequest method. -// req, resp := client.BatchGetChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/BatchGetChannel func (c *IVS) BatchGetChannelRequest(input *BatchGetChannelInput) (req *request.Request, output *BatchGetChannelOutput) { @@ -103,14 +102,13 @@ const opBatchGetStreamKey = "BatchGetStreamKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetStreamKeyRequest method. +// req, resp := client.BatchGetStreamKeyRequest(params) // -// // Example sending a request using the BatchGetStreamKeyRequest method. -// req, resp := client.BatchGetStreamKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/BatchGetStreamKey func (c *IVS) BatchGetStreamKeyRequest(input *BatchGetStreamKeyInput) (req *request.Request, output *BatchGetStreamKeyOutput) { @@ -177,14 +175,13 @@ const opCreateChannel = "CreateChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChannelRequest method. +// req, resp := client.CreateChannelRequest(params) // -// // Example sending a request using the CreateChannelRequest method. -// req, resp := client.CreateChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateChannel func (c *IVS) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput) { @@ -215,15 +212,16 @@ func (c *IVS) CreateChannelRequest(input *CreateChannelInput) (req *request.Requ // API operation CreateChannel for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * AccessDeniedException +// - ResourceNotFoundException +// +// - AccessDeniedException // -// * ValidationException +// - ValidationException // -// * PendingVerification +// - PendingVerification // -// * ServiceQuotaExceededException +// - ServiceQuotaExceededException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateChannel func (c *IVS) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error) { @@ -263,14 +261,13 @@ const opCreateRecordingConfiguration = "CreateRecordingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRecordingConfigurationRequest method. +// req, resp := client.CreateRecordingConfigurationRequest(params) // -// // Example sending a request using the CreateRecordingConfigurationRequest method. -// req, resp := client.CreateRecordingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateRecordingConfiguration func (c *IVS) CreateRecordingConfigurationRequest(input *CreateRecordingConfigurationInput) (req *request.Request, output *CreateRecordingConfigurationOutput) { @@ -313,17 +310,18 @@ func (c *IVS) CreateRecordingConfigurationRequest(input *CreateRecordingConfigur // API operation CreateRecordingConfiguration for usage and error information. // // Returned Error Types: -// * InternalServerException // -// * AccessDeniedException +// - InternalServerException +// +// - AccessDeniedException // -// * ValidationException +// - ValidationException // -// * PendingVerification +// - PendingVerification // -// * ConflictException +// - ConflictException // -// * ServiceQuotaExceededException +// - ServiceQuotaExceededException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateRecordingConfiguration func (c *IVS) CreateRecordingConfiguration(input *CreateRecordingConfigurationInput) (*CreateRecordingConfigurationOutput, error) { @@ -363,14 +361,13 @@ const opCreateStreamKey = "CreateStreamKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStreamKeyRequest method. +// req, resp := client.CreateStreamKeyRequest(params) // -// // Example sending a request using the CreateStreamKeyRequest method. -// req, resp := client.CreateStreamKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateStreamKey func (c *IVS) CreateStreamKeyRequest(input *CreateStreamKeyInput) (req *request.Request, output *CreateStreamKeyOutput) { @@ -407,15 +404,16 @@ func (c *IVS) CreateStreamKeyRequest(input *CreateStreamKeyInput) (req *request. // API operation CreateStreamKey for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * AccessDeniedException +// - ResourceNotFoundException +// +// - AccessDeniedException // -// * ValidationException +// - ValidationException // -// * PendingVerification +// - PendingVerification // -// * ServiceQuotaExceededException +// - ServiceQuotaExceededException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateStreamKey func (c *IVS) CreateStreamKey(input *CreateStreamKeyInput) (*CreateStreamKeyOutput, error) { @@ -455,14 +453,13 @@ const opDeleteChannel = "DeleteChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelRequest method. +// req, resp := client.DeleteChannelRequest(params) // -// // Example sending a request using the DeleteChannelRequest method. -// req, resp := client.DeleteChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeleteChannel func (c *IVS) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput) { @@ -500,15 +497,16 @@ func (c *IVS) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Requ // API operation DeleteChannel for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * AccessDeniedException +// - ResourceNotFoundException +// +// - AccessDeniedException // -// * ValidationException +// - ValidationException // -// * PendingVerification +// - PendingVerification // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeleteChannel func (c *IVS) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error) { @@ -548,14 +546,13 @@ const opDeletePlaybackKeyPair = "DeletePlaybackKeyPair" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePlaybackKeyPairRequest method. +// req, resp := client.DeletePlaybackKeyPairRequest(params) // -// // Example sending a request using the DeletePlaybackKeyPairRequest method. -// req, resp := client.DeletePlaybackKeyPairRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeletePlaybackKeyPair func (c *IVS) DeletePlaybackKeyPairRequest(input *DeletePlaybackKeyPairInput) (req *request.Request, output *DeletePlaybackKeyPairOutput) { @@ -590,13 +587,14 @@ func (c *IVS) DeletePlaybackKeyPairRequest(input *DeletePlaybackKeyPairInput) (r // API operation DeletePlaybackKeyPair for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * AccessDeniedException +// - ResourceNotFoundException +// +// - AccessDeniedException // -// * ValidationException +// - ValidationException // -// * PendingVerification +// - PendingVerification // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeletePlaybackKeyPair func (c *IVS) DeletePlaybackKeyPair(input *DeletePlaybackKeyPairInput) (*DeletePlaybackKeyPairOutput, error) { @@ -636,14 +634,13 @@ const opDeleteRecordingConfiguration = "DeleteRecordingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRecordingConfigurationRequest method. +// req, resp := client.DeleteRecordingConfigurationRequest(params) // -// // Example sending a request using the DeleteRecordingConfigurationRequest method. -// req, resp := client.DeleteRecordingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeleteRecordingConfiguration func (c *IVS) DeleteRecordingConfigurationRequest(input *DeleteRecordingConfigurationInput) (req *request.Request, output *DeleteRecordingConfigurationOutput) { @@ -680,15 +677,16 @@ func (c *IVS) DeleteRecordingConfigurationRequest(input *DeleteRecordingConfigur // API operation DeleteRecordingConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InternalServerException +// - ResourceNotFoundException +// +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // -// * ValidationException +// - ValidationException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeleteRecordingConfiguration func (c *IVS) DeleteRecordingConfiguration(input *DeleteRecordingConfigurationInput) (*DeleteRecordingConfigurationOutput, error) { @@ -728,14 +726,13 @@ const opDeleteStreamKey = "DeleteStreamKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStreamKeyRequest method. +// req, resp := client.DeleteStreamKeyRequest(params) // -// // Example sending a request using the DeleteStreamKeyRequest method. -// req, resp := client.DeleteStreamKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeleteStreamKey func (c *IVS) DeleteStreamKeyRequest(input *DeleteStreamKeyInput) (req *request.Request, output *DeleteStreamKeyOutput) { @@ -768,13 +765,14 @@ func (c *IVS) DeleteStreamKeyRequest(input *DeleteStreamKeyInput) (req *request. // API operation DeleteStreamKey for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * AccessDeniedException +// - ResourceNotFoundException // -// * ValidationException +// - AccessDeniedException // -// * PendingVerification +// - ValidationException +// +// - PendingVerification // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/DeleteStreamKey func (c *IVS) DeleteStreamKey(input *DeleteStreamKeyInput) (*DeleteStreamKeyOutput, error) { @@ -814,14 +812,13 @@ const opGetChannel = "GetChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetChannelRequest method. +// req, resp := client.GetChannelRequest(params) // -// // Example sending a request using the GetChannelRequest method. -// req, resp := client.GetChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetChannel func (c *IVS) GetChannelRequest(input *GetChannelInput) (req *request.Request, output *GetChannelOutput) { @@ -852,11 +849,12 @@ func (c *IVS) GetChannelRequest(input *GetChannelInput) (req *request.Request, o // API operation GetChannel for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * AccessDeniedException +// - ResourceNotFoundException // -// * ValidationException +// - AccessDeniedException +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetChannel func (c *IVS) GetChannel(input *GetChannelInput) (*GetChannelOutput, error) { @@ -896,14 +894,13 @@ const opGetPlaybackKeyPair = "GetPlaybackKeyPair" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPlaybackKeyPairRequest method. +// req, resp := client.GetPlaybackKeyPairRequest(params) // -// // Example sending a request using the GetPlaybackKeyPairRequest method. -// req, resp := client.GetPlaybackKeyPairRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetPlaybackKeyPair func (c *IVS) GetPlaybackKeyPairRequest(input *GetPlaybackKeyPairInput) (req *request.Request, output *GetPlaybackKeyPairOutput) { @@ -938,11 +935,12 @@ func (c *IVS) GetPlaybackKeyPairRequest(input *GetPlaybackKeyPairInput) (req *re // API operation GetPlaybackKeyPair for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * AccessDeniedException +// - ResourceNotFoundException // -// * ValidationException +// - AccessDeniedException +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetPlaybackKeyPair func (c *IVS) GetPlaybackKeyPair(input *GetPlaybackKeyPairInput) (*GetPlaybackKeyPairOutput, error) { @@ -982,14 +980,13 @@ const opGetRecordingConfiguration = "GetRecordingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRecordingConfigurationRequest method. +// req, resp := client.GetRecordingConfigurationRequest(params) // -// // Example sending a request using the GetRecordingConfigurationRequest method. -// req, resp := client.GetRecordingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetRecordingConfiguration func (c *IVS) GetRecordingConfigurationRequest(input *GetRecordingConfigurationInput) (req *request.Request, output *GetRecordingConfigurationOutput) { @@ -1020,13 +1017,14 @@ func (c *IVS) GetRecordingConfigurationRequest(input *GetRecordingConfigurationI // API operation GetRecordingConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InternalServerException +// - ResourceNotFoundException // -// * AccessDeniedException +// - InternalServerException // -// * ValidationException +// - AccessDeniedException +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetRecordingConfiguration func (c *IVS) GetRecordingConfiguration(input *GetRecordingConfigurationInput) (*GetRecordingConfigurationOutput, error) { @@ -1066,14 +1064,13 @@ const opGetStream = "GetStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStreamRequest method. +// req, resp := client.GetStreamRequest(params) // -// // Example sending a request using the GetStreamRequest method. -// req, resp := client.GetStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetStream func (c *IVS) GetStreamRequest(input *GetStreamInput) (req *request.Request, output *GetStreamOutput) { @@ -1104,13 +1101,14 @@ func (c *IVS) GetStreamRequest(input *GetStreamInput) (req *request.Request, out // API operation GetStream for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * AccessDeniedException +// - ResourceNotFoundException // -// * ValidationException +// - AccessDeniedException // -// * ChannelNotBroadcasting +// - ValidationException +// +// - ChannelNotBroadcasting // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetStream func (c *IVS) GetStream(input *GetStreamInput) (*GetStreamOutput, error) { @@ -1150,14 +1148,13 @@ const opGetStreamKey = "GetStreamKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStreamKeyRequest method. +// req, resp := client.GetStreamKeyRequest(params) // -// // Example sending a request using the GetStreamKeyRequest method. -// req, resp := client.GetStreamKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetStreamKey func (c *IVS) GetStreamKeyRequest(input *GetStreamKeyInput) (req *request.Request, output *GetStreamKeyOutput) { @@ -1188,11 +1185,12 @@ func (c *IVS) GetStreamKeyRequest(input *GetStreamKeyInput) (req *request.Reques // API operation GetStreamKey for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * AccessDeniedException +// - ResourceNotFoundException // -// * ValidationException +// - AccessDeniedException +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetStreamKey func (c *IVS) GetStreamKey(input *GetStreamKeyInput) (*GetStreamKeyOutput, error) { @@ -1232,14 +1230,13 @@ const opGetStreamSession = "GetStreamSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStreamSessionRequest method. +// req, resp := client.GetStreamSessionRequest(params) // -// // Example sending a request using the GetStreamSessionRequest method. -// req, resp := client.GetStreamSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetStreamSession func (c *IVS) GetStreamSessionRequest(input *GetStreamSessionInput) (req *request.Request, output *GetStreamSessionOutput) { @@ -1270,11 +1267,12 @@ func (c *IVS) GetStreamSessionRequest(input *GetStreamSessionInput) (req *reques // API operation GetStreamSession for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * AccessDeniedException +// - ResourceNotFoundException // -// * ValidationException +// - AccessDeniedException +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/GetStreamSession func (c *IVS) GetStreamSession(input *GetStreamSessionInput) (*GetStreamSessionOutput, error) { @@ -1314,14 +1312,13 @@ const opImportPlaybackKeyPair = "ImportPlaybackKeyPair" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportPlaybackKeyPairRequest method. +// req, resp := client.ImportPlaybackKeyPairRequest(params) // -// // Example sending a request using the ImportPlaybackKeyPairRequest method. -// req, resp := client.ImportPlaybackKeyPairRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ImportPlaybackKeyPair func (c *IVS) ImportPlaybackKeyPairRequest(input *ImportPlaybackKeyPairInput) (req *request.Request, output *ImportPlaybackKeyPairOutput) { @@ -1356,15 +1353,16 @@ func (c *IVS) ImportPlaybackKeyPairRequest(input *ImportPlaybackKeyPairInput) (r // API operation ImportPlaybackKeyPair for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ValidationException +// - AccessDeniedException +// +// - ValidationException // -// * PendingVerification +// - PendingVerification // -// * ConflictException +// - ConflictException // -// * ServiceQuotaExceededException +// - ServiceQuotaExceededException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ImportPlaybackKeyPair func (c *IVS) ImportPlaybackKeyPair(input *ImportPlaybackKeyPairInput) (*ImportPlaybackKeyPairOutput, error) { @@ -1404,14 +1402,13 @@ const opListChannels = "ListChannels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelsRequest method. +// req, resp := client.ListChannelsRequest(params) // -// // Example sending a request using the ListChannelsRequest method. -// req, resp := client.ListChannelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListChannels func (c *IVS) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput) { @@ -1452,11 +1449,12 @@ func (c *IVS) ListChannelsRequest(input *ListChannelsInput) (req *request.Reques // API operation ListChannels for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ValidationException +// - AccessDeniedException +// +// - ValidationException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListChannels func (c *IVS) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error) { @@ -1488,15 +1486,14 @@ func (c *IVS) ListChannelsWithContext(ctx aws.Context, input *ListChannelsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannels operation. -// pageNum := 0 -// err := client.ListChannelsPages(params, -// func(page *ivs.ListChannelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannels operation. +// pageNum := 0 +// err := client.ListChannelsPages(params, +// func(page *ivs.ListChannelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IVS) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error { return c.ListChannelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1548,14 +1545,13 @@ const opListPlaybackKeyPairs = "ListPlaybackKeyPairs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPlaybackKeyPairsRequest method. +// req, resp := client.ListPlaybackKeyPairsRequest(params) // -// // Example sending a request using the ListPlaybackKeyPairsRequest method. -// req, resp := client.ListPlaybackKeyPairsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListPlaybackKeyPairs func (c *IVS) ListPlaybackKeyPairsRequest(input *ListPlaybackKeyPairsInput) (req *request.Request, output *ListPlaybackKeyPairsOutput) { @@ -1594,9 +1590,10 @@ func (c *IVS) ListPlaybackKeyPairsRequest(input *ListPlaybackKeyPairsInput) (req // API operation ListPlaybackKeyPairs for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ValidationException +// - AccessDeniedException +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListPlaybackKeyPairs func (c *IVS) ListPlaybackKeyPairs(input *ListPlaybackKeyPairsInput) (*ListPlaybackKeyPairsOutput, error) { @@ -1628,15 +1625,14 @@ func (c *IVS) ListPlaybackKeyPairsWithContext(ctx aws.Context, input *ListPlayba // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPlaybackKeyPairs operation. -// pageNum := 0 -// err := client.ListPlaybackKeyPairsPages(params, -// func(page *ivs.ListPlaybackKeyPairsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPlaybackKeyPairs operation. +// pageNum := 0 +// err := client.ListPlaybackKeyPairsPages(params, +// func(page *ivs.ListPlaybackKeyPairsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IVS) ListPlaybackKeyPairsPages(input *ListPlaybackKeyPairsInput, fn func(*ListPlaybackKeyPairsOutput, bool) bool) error { return c.ListPlaybackKeyPairsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1688,14 +1684,13 @@ const opListRecordingConfigurations = "ListRecordingConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRecordingConfigurationsRequest method. +// req, resp := client.ListRecordingConfigurationsRequest(params) // -// // Example sending a request using the ListRecordingConfigurationsRequest method. -// req, resp := client.ListRecordingConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListRecordingConfigurations func (c *IVS) ListRecordingConfigurationsRequest(input *ListRecordingConfigurationsInput) (req *request.Request, output *ListRecordingConfigurationsOutput) { @@ -1733,11 +1728,12 @@ func (c *IVS) ListRecordingConfigurationsRequest(input *ListRecordingConfigurati // API operation ListRecordingConfigurations for usage and error information. // // Returned Error Types: -// * InternalServerException // -// * AccessDeniedException +// - InternalServerException +// +// - AccessDeniedException // -// * ValidationException +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListRecordingConfigurations func (c *IVS) ListRecordingConfigurations(input *ListRecordingConfigurationsInput) (*ListRecordingConfigurationsOutput, error) { @@ -1769,15 +1765,14 @@ func (c *IVS) ListRecordingConfigurationsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRecordingConfigurations operation. -// pageNum := 0 -// err := client.ListRecordingConfigurationsPages(params, -// func(page *ivs.ListRecordingConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRecordingConfigurations operation. +// pageNum := 0 +// err := client.ListRecordingConfigurationsPages(params, +// func(page *ivs.ListRecordingConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IVS) ListRecordingConfigurationsPages(input *ListRecordingConfigurationsInput, fn func(*ListRecordingConfigurationsOutput, bool) bool) error { return c.ListRecordingConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1829,14 +1824,13 @@ const opListStreamKeys = "ListStreamKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStreamKeysRequest method. +// req, resp := client.ListStreamKeysRequest(params) // -// // Example sending a request using the ListStreamKeysRequest method. -// req, resp := client.ListStreamKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListStreamKeys func (c *IVS) ListStreamKeysRequest(input *ListStreamKeysInput) (req *request.Request, output *ListStreamKeysOutput) { @@ -1873,11 +1867,12 @@ func (c *IVS) ListStreamKeysRequest(input *ListStreamKeysInput) (req *request.Re // API operation ListStreamKeys for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * AccessDeniedException +// - ResourceNotFoundException // -// * ValidationException +// - AccessDeniedException +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListStreamKeys func (c *IVS) ListStreamKeys(input *ListStreamKeysInput) (*ListStreamKeysOutput, error) { @@ -1909,15 +1904,14 @@ func (c *IVS) ListStreamKeysWithContext(ctx aws.Context, input *ListStreamKeysIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStreamKeys operation. -// pageNum := 0 -// err := client.ListStreamKeysPages(params, -// func(page *ivs.ListStreamKeysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStreamKeys operation. +// pageNum := 0 +// err := client.ListStreamKeysPages(params, +// func(page *ivs.ListStreamKeysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IVS) ListStreamKeysPages(input *ListStreamKeysInput, fn func(*ListStreamKeysOutput, bool) bool) error { return c.ListStreamKeysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1969,14 +1963,13 @@ const opListStreamSessions = "ListStreamSessions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStreamSessionsRequest method. +// req, resp := client.ListStreamSessionsRequest(params) // -// // Example sending a request using the ListStreamSessionsRequest method. -// req, resp := client.ListStreamSessionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListStreamSessions func (c *IVS) ListStreamSessionsRequest(input *ListStreamSessionsInput) (req *request.Request, output *ListStreamSessionsOutput) { @@ -2014,11 +2007,12 @@ func (c *IVS) ListStreamSessionsRequest(input *ListStreamSessionsInput) (req *re // API operation ListStreamSessions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * AccessDeniedException +// - ResourceNotFoundException +// +// - AccessDeniedException // -// * ValidationException +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListStreamSessions func (c *IVS) ListStreamSessions(input *ListStreamSessionsInput) (*ListStreamSessionsOutput, error) { @@ -2050,15 +2044,14 @@ func (c *IVS) ListStreamSessionsWithContext(ctx aws.Context, input *ListStreamSe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStreamSessions operation. -// pageNum := 0 -// err := client.ListStreamSessionsPages(params, -// func(page *ivs.ListStreamSessionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStreamSessions operation. +// pageNum := 0 +// err := client.ListStreamSessionsPages(params, +// func(page *ivs.ListStreamSessionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IVS) ListStreamSessionsPages(input *ListStreamSessionsInput, fn func(*ListStreamSessionsOutput, bool) bool) error { return c.ListStreamSessionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2110,14 +2103,13 @@ const opListStreams = "ListStreams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStreamsRequest method. +// req, resp := client.ListStreamsRequest(params) // -// // Example sending a request using the ListStreamsRequest method. -// req, resp := client.ListStreamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListStreams func (c *IVS) ListStreamsRequest(input *ListStreamsInput) (req *request.Request, output *ListStreamsOutput) { @@ -2155,9 +2147,10 @@ func (c *IVS) ListStreamsRequest(input *ListStreamsInput) (req *request.Request, // API operation ListStreams for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ValidationException +// - AccessDeniedException +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListStreams func (c *IVS) ListStreams(input *ListStreamsInput) (*ListStreamsOutput, error) { @@ -2189,15 +2182,14 @@ func (c *IVS) ListStreamsWithContext(ctx aws.Context, input *ListStreamsInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStreams operation. -// pageNum := 0 -// err := client.ListStreamsPages(params, -// func(page *ivs.ListStreamsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStreams operation. +// pageNum := 0 +// err := client.ListStreamsPages(params, +// func(page *ivs.ListStreamsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *IVS) ListStreamsPages(input *ListStreamsInput, fn func(*ListStreamsOutput, bool) bool) error { return c.ListStreamsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2249,14 +2241,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListTagsForResource func (c *IVS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2287,11 +2278,12 @@ func (c *IVS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InternalServerException +// - ResourceNotFoundException // -// * ValidationException +// - InternalServerException +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ListTagsForResource func (c *IVS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2331,14 +2323,13 @@ const opPutMetadata = "PutMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutMetadataRequest method. +// req, resp := client.PutMetadataRequest(params) // -// // Example sending a request using the PutMetadataRequest method. -// req, resp := client.PutMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/PutMetadata func (c *IVS) PutMetadataRequest(input *PutMetadataInput) (req *request.Request, output *PutMetadataOutput) { @@ -2375,15 +2366,16 @@ func (c *IVS) PutMetadataRequest(input *PutMetadataInput) (req *request.Request, // API operation PutMetadata for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * AccessDeniedException +// - ResourceNotFoundException // -// * ValidationException +// - AccessDeniedException // -// * ChannelNotBroadcasting +// - ValidationException // -// * ThrottlingException +// - ChannelNotBroadcasting +// +// - ThrottlingException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/PutMetadata func (c *IVS) PutMetadata(input *PutMetadataInput) (*PutMetadataOutput, error) { @@ -2423,14 +2415,13 @@ const opStopStream = "StopStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopStreamRequest method. +// req, resp := client.StopStreamRequest(params) // -// // Example sending a request using the StopStreamRequest method. -// req, resp := client.StopStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/StopStream func (c *IVS) StopStreamRequest(input *StopStreamInput) (req *request.Request, output *StopStreamOutput) { @@ -2467,15 +2458,16 @@ func (c *IVS) StopStreamRequest(input *StopStreamInput) (req *request.Request, o // API operation StopStream for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * AccessDeniedException +// - ResourceNotFoundException // -// * ValidationException +// - AccessDeniedException // -// * ChannelNotBroadcasting +// - ValidationException // -// * StreamUnavailable +// - ChannelNotBroadcasting +// +// - StreamUnavailable // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/StopStream func (c *IVS) StopStream(input *StopStreamInput) (*StopStreamOutput, error) { @@ -2515,14 +2507,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/TagResource func (c *IVS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2555,11 +2546,12 @@ func (c *IVS) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InternalServerException +// - ResourceNotFoundException // -// * ValidationException +// - InternalServerException +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/TagResource func (c *IVS) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2599,14 +2591,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UntagResource func (c *IVS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2638,11 +2629,12 @@ func (c *IVS) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InternalServerException +// - ResourceNotFoundException // -// * ValidationException +// - InternalServerException +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UntagResource func (c *IVS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2682,14 +2674,13 @@ const opUpdateChannel = "UpdateChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateChannelRequest method. +// req, resp := client.UpdateChannelRequest(params) // -// // Example sending a request using the UpdateChannelRequest method. -// req, resp := client.UpdateChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdateChannel func (c *IVS) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput) { @@ -2722,15 +2713,16 @@ func (c *IVS) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Requ // API operation UpdateChannel for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * AccessDeniedException +// - ResourceNotFoundException +// +// - AccessDeniedException // -// * ValidationException +// - ValidationException // -// * PendingVerification +// - PendingVerification // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UpdateChannel func (c *IVS) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/doc.go index 719bb1aca33d..2a780a715efd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/doc.go @@ -3,7 +3,7 @@ // Package ivs provides the client and types for making API // requests to Amazon Interactive Video Service. // -// Introduction +// # Introduction // // The Amazon Interactive Video Service (IVS) API is REST compatible, using // a standard HTTP API and an Amazon Web Services EventBridge event stream for @@ -13,44 +13,44 @@ // regions and Amazon IVS HTTPS service endpoints, see the Amazon IVS page (https://docs.aws.amazon.com/general/latest/gr/ivs.html) // in the Amazon Web Services General Reference. // -// All API request parameters and URLs are case sensitive. +// All API request parameters and URLs are case sensitive. // // For a summary of notable documentation changes in each release, see Document // History (https://docs.aws.amazon.com/ivs/latest/userguide/doc-history.html). // // Allowed Header Values // -// * Accept: application/json +// - Accept: application/json // -// * Accept-Encoding: gzip, deflate +// - Accept-Encoding: gzip, deflate // -// * Content-Type: application/json +// - Content-Type: application/json // -// Resources +// # Resources // // The following resources contain information about your IVS live stream (see // Getting Started with Amazon IVS (https://docs.aws.amazon.com/ivs/latest/userguide/getting-started.html)): // -// * Channel — Stores configuration data related to your live stream. You -// first create a channel and then use the channel’s stream key to start -// your live stream. See the Channel endpoints for more information. +// - Channel — Stores configuration data related to your live stream. You +// first create a channel and then use the channel’s stream key to start +// your live stream. See the Channel endpoints for more information. // -// * Stream key — An identifier assigned by Amazon IVS when you create -// a channel, which is then used to authorize streaming. See the StreamKey -// endpoints for more information. Treat the stream key like a secret, since -// it allows anyone to stream to the channel. +// - Stream key — An identifier assigned by Amazon IVS when you create +// a channel, which is then used to authorize streaming. See the StreamKey +// endpoints for more information. Treat the stream key like a secret, since +// it allows anyone to stream to the channel. // -// * Playback key pair — Video playback may be restricted using playback-authorization -// tokens, which use public-key encryption. A playback key pair is the public-private -// pair of keys used to sign and validate the playback-authorization token. -// See the PlaybackKeyPair endpoints for more information. +// - Playback key pair — Video playback may be restricted using playback-authorization +// tokens, which use public-key encryption. A playback key pair is the public-private +// pair of keys used to sign and validate the playback-authorization token. +// See the PlaybackKeyPair endpoints for more information. // -// * Recording configuration — Stores configuration related to recording -// a live stream and where to store the recorded content. Multiple channels -// can reference the same recording configuration. See the Recording Configuration -// endpoints for more information. +// - Recording configuration — Stores configuration related to recording +// a live stream and where to store the recorded content. Multiple channels +// can reference the same recording configuration. See the Recording Configuration +// endpoints for more information. // -// Tagging +// # Tagging // // A tag is a metadata label that you assign to an Amazon Web Services resource. // A tag comprises a key and a value, both set by you. For example, you might @@ -69,18 +69,18 @@ // // At most 50 tags can be applied to a resource. // -// Authentication versus Authorization +// # Authentication versus Authorization // // Note the differences between these concepts: // -// * Authentication is about verifying identity. You need to be authenticated -// to sign Amazon IVS API requests. +// - Authentication is about verifying identity. You need to be authenticated +// to sign Amazon IVS API requests. // -// * Authorization is about granting permissions. You need to be authorized -// to view Amazon IVS private channels (https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html). -// (Private channels are channels that are enabled for "playback authorization.") +// - Authorization is about granting permissions. You need to be authorized +// to view Amazon IVS private channels (https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html). +// (Private channels are channels that are enabled for "playback authorization.") // -// Authentication +// # Authentication // // All Amazon IVS API requests must be authenticated with a signature. The Amazon // Web Services Command-Line Interface (CLI) and Amazon IVS Player SDKs take @@ -95,129 +95,129 @@ // // For more information: // -// * Authentication and generating signatures — See Authenticating Requests -// (Amazon Web Services Signature Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html) -// in the Amazon Web Services General Reference. +// - Authentication and generating signatures — See Authenticating Requests +// (Amazon Web Services Signature Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html) +// in the Amazon Web Services General Reference. // -// * Managing Amazon IVS permissions — See Identity and Access Management -// (https://docs.aws.amazon.com/ivs/latest/userguide/security-iam.html) on -// the Security page of the Amazon IVS User Guide. +// - Managing Amazon IVS permissions — See Identity and Access Management +// (https://docs.aws.amazon.com/ivs/latest/userguide/security-iam.html) on +// the Security page of the Amazon IVS User Guide. // // Channel Endpoints // -// * CreateChannel — Creates a new channel and an associated stream key -// to start streaming. +// - CreateChannel — Creates a new channel and an associated stream key +// to start streaming. // -// * GetChannel — Gets the channel configuration for the specified channel -// ARN (Amazon Resource Name). +// - GetChannel — Gets the channel configuration for the specified channel +// ARN (Amazon Resource Name). // -// * BatchGetChannel — Performs GetChannel on multiple ARNs simultaneously. +// - BatchGetChannel — Performs GetChannel on multiple ARNs simultaneously. // -// * ListChannels — Gets summary information about all channels in your -// account, in the Amazon Web Services region where the API request is processed. -// This list can be filtered to match a specified name or recording-configuration -// ARN. Filters are mutually exclusive and cannot be used together. If you -// try to use both filters, you will get an error (409 Conflict Exception). +// - ListChannels — Gets summary information about all channels in your +// account, in the Amazon Web Services region where the API request is processed. +// This list can be filtered to match a specified name or recording-configuration +// ARN. Filters are mutually exclusive and cannot be used together. If you +// try to use both filters, you will get an error (409 Conflict Exception). // -// * UpdateChannel — Updates a channel's configuration. This does not affect -// an ongoing stream of this channel. You must stop and restart the stream -// for the changes to take effect. +// - UpdateChannel — Updates a channel's configuration. This does not affect +// an ongoing stream of this channel. You must stop and restart the stream +// for the changes to take effect. // -// * DeleteChannel — Deletes the specified channel. +// - DeleteChannel — Deletes the specified channel. // // StreamKey Endpoints // -// * CreateStreamKey — Creates a stream key, used to initiate a stream, -// for the specified channel ARN. +// - CreateStreamKey — Creates a stream key, used to initiate a stream, +// for the specified channel ARN. // -// * GetStreamKey — Gets stream key information for the specified ARN. +// - GetStreamKey — Gets stream key information for the specified ARN. // -// * BatchGetStreamKey — Performs GetStreamKey on multiple ARNs simultaneously. +// - BatchGetStreamKey — Performs GetStreamKey on multiple ARNs simultaneously. // -// * ListStreamKeys — Gets summary information about stream keys for the -// specified channel. +// - ListStreamKeys — Gets summary information about stream keys for the +// specified channel. // -// * DeleteStreamKey — Deletes the stream key for the specified ARN, so -// it can no longer be used to stream. +// - DeleteStreamKey — Deletes the stream key for the specified ARN, so +// it can no longer be used to stream. // // Stream Endpoints // -// * GetStream — Gets information about the active (live) stream on a specified -// channel. +// - GetStream — Gets information about the active (live) stream on a specified +// channel. // -// * GetStreamSession — Gets metadata on a specified stream. +// - GetStreamSession — Gets metadata on a specified stream. // -// * ListStreams — Gets summary information about live streams in your -// account, in the Amazon Web Services region where the API request is processed. +// - ListStreams — Gets summary information about live streams in your +// account, in the Amazon Web Services region where the API request is processed. // -// * ListStreamSessions — Gets a summary of current and previous streams -// for a specified channel in your account, in the AWS region where the API -// request is processed. +// - ListStreamSessions — Gets a summary of current and previous streams +// for a specified channel in your account, in the AWS region where the API +// request is processed. // -// * StopStream — Disconnects the incoming RTMPS stream for the specified -// channel. Can be used in conjunction with DeleteStreamKey to prevent further -// streaming to a channel. +// - StopStream — Disconnects the incoming RTMPS stream for the specified +// channel. Can be used in conjunction with DeleteStreamKey to prevent further +// streaming to a channel. // -// * PutMetadata — Inserts metadata into the active stream of the specified -// channel. At most 5 requests per second per channel are allowed, each with -// a maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we -// recommend batching your data into a single PutMetadata call.) At most -// 155 requests per second per account are allowed. +// - PutMetadata — Inserts metadata into the active stream of the specified +// channel. At most 5 requests per second per channel are allowed, each with +// a maximum 1 KB payload. (If 5 TPS is not sufficient for your needs, we +// recommend batching your data into a single PutMetadata call.) At most +// 155 requests per second per account are allowed. // -// PlaybackKeyPair Endpoints +// # PlaybackKeyPair Endpoints // // For more information, see Setting Up Private Channels (https://docs.aws.amazon.com/ivs/latest/userguide/private-channels.html) // in the Amazon IVS User Guide. // -// * ImportPlaybackKeyPair — Imports the public portion of a new key pair -// and returns its arn and fingerprint. The privateKey can then be used to -// generate viewer authorization tokens, to grant viewers access to private -// channels (channels enabled for playback authorization). +// - ImportPlaybackKeyPair — Imports the public portion of a new key pair +// and returns its arn and fingerprint. The privateKey can then be used to +// generate viewer authorization tokens, to grant viewers access to private +// channels (channels enabled for playback authorization). // -// * GetPlaybackKeyPair — Gets a specified playback authorization key pair -// and returns the arn and fingerprint. The privateKey held by the caller -// can be used to generate viewer authorization tokens, to grant viewers -// access to private channels. +// - GetPlaybackKeyPair — Gets a specified playback authorization key pair +// and returns the arn and fingerprint. The privateKey held by the caller +// can be used to generate viewer authorization tokens, to grant viewers +// access to private channels. // -// * ListPlaybackKeyPairs — Gets summary information about playback key -// pairs. +// - ListPlaybackKeyPairs — Gets summary information about playback key +// pairs. // -// * DeletePlaybackKeyPair — Deletes a specified authorization key pair. -// This invalidates future viewer tokens generated using the key pair’s -// privateKey. +// - DeletePlaybackKeyPair — Deletes a specified authorization key pair. +// This invalidates future viewer tokens generated using the key pair’s +// privateKey. // // RecordingConfiguration Endpoints // -// * CreateRecordingConfiguration — Creates a new recording configuration, -// used to enable recording to Amazon S3. +// - CreateRecordingConfiguration — Creates a new recording configuration, +// used to enable recording to Amazon S3. // -// * GetRecordingConfiguration — Gets the recording-configuration metadata -// for the specified ARN. +// - GetRecordingConfiguration — Gets the recording-configuration metadata +// for the specified ARN. // -// * ListRecordingConfigurations — Gets summary information about all recording -// configurations in your account, in the Amazon Web Services region where -// the API request is processed. +// - ListRecordingConfigurations — Gets summary information about all recording +// configurations in your account, in the Amazon Web Services region where +// the API request is processed. // -// * DeleteRecordingConfiguration — Deletes the recording configuration -// for the specified ARN. +// - DeleteRecordingConfiguration — Deletes the recording configuration +// for the specified ARN. // // Amazon Web Services Tags Endpoints // -// * TagResource — Adds or updates tags for the Amazon Web Services resource -// with the specified ARN. +// - TagResource — Adds or updates tags for the Amazon Web Services resource +// with the specified ARN. // -// * UntagResource — Removes tags from the resource with the specified -// ARN. +// - UntagResource — Removes tags from the resource with the specified +// ARN. // -// * ListTagsForResource — Gets information about Amazon Web Services tags -// for the specified ARN. +// - ListTagsForResource — Gets information about Amazon Web Services tags +// for the specified ARN. // // See https://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14 for more information on this service. // // See ivs package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ivs/ // -// Using the Client +// # Using the Client // // To contact Amazon Interactive Video Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/ivsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/ivsiface/interface.go index bc7058190b90..42542698042c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/ivsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/ivsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Interactive Video Service. -// func myFunc(svc ivsiface.IVSAPI) bool { -// // Make svc.BatchGetChannel request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Interactive Video Service. +// func myFunc(svc ivsiface.IVSAPI) bool { +// // Make svc.BatchGetChannel request +// } // -// func main() { -// sess := session.New() -// svc := ivs.New(sess) +// func main() { +// sess := session.New() +// svc := ivs.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIVSClient struct { -// ivsiface.IVSAPI -// } -// func (m *mockIVSClient) BatchGetChannel(input *ivs.BatchGetChannelInput) (*ivs.BatchGetChannelOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIVSClient struct { +// ivsiface.IVSAPI +// } +// func (m *mockIVSClient) BatchGetChannel(input *ivs.BatchGetChannelInput) (*ivs.BatchGetChannelOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIVSClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIVSClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/service.go index 264c92e4885d..14843405cf8b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivs/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a IVS client from just a session. -// svc := ivs.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a IVS client with additional configuration -// svc := ivs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a IVS client from just a session. +// svc := ivs.New(mySession) +// +// // Create a IVS client with additional configuration +// svc := ivs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *IVS { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/api.go index ce2e1c712908..1f1ebc12e19b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/api.go @@ -29,14 +29,13 @@ const opCreateChatToken = "CreateChatToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChatTokenRequest method. +// req, resp := client.CreateChatTokenRequest(params) // -// // Example sending a request using the CreateChatTokenRequest method. -// req, resp := client.CreateChatTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/CreateChatToken func (c *Ivschat) CreateChatTokenRequest(input *CreateChatTokenInput) (req *request.Request, output *CreateChatTokenOutput) { @@ -72,13 +71,14 @@ func (c *Ivschat) CreateChatTokenRequest(input *CreateChatTokenInput) (req *requ // API operation CreateChatToken for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ResourceNotFoundException +// - AccessDeniedException +// +// - ResourceNotFoundException // -// * PendingVerification +// - PendingVerification // -// * ValidationException +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/CreateChatToken func (c *Ivschat) CreateChatToken(input *CreateChatTokenInput) (*CreateChatTokenOutput, error) { @@ -118,14 +118,13 @@ const opCreateRoom = "CreateRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRoomRequest method. +// req, resp := client.CreateRoomRequest(params) // -// // Example sending a request using the CreateRoomRequest method. -// req, resp := client.CreateRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/CreateRoom func (c *Ivschat) CreateRoomRequest(input *CreateRoomInput) (req *request.Request, output *CreateRoomOutput) { @@ -156,17 +155,18 @@ func (c *Ivschat) CreateRoomRequest(input *CreateRoomInput) (req *request.Reques // API operation CreateRoom for usage and error information. // // Returned Error Types: -// * ConflictException // -// * AccessDeniedException +// - ConflictException +// +// - AccessDeniedException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ServiceQuotaExceededException +// - ServiceQuotaExceededException // -// * PendingVerification +// - PendingVerification // -// * ValidationException +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/CreateRoom func (c *Ivschat) CreateRoom(input *CreateRoomInput) (*CreateRoomOutput, error) { @@ -206,14 +206,13 @@ const opDeleteMessage = "DeleteMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMessageRequest method. +// req, resp := client.DeleteMessageRequest(params) // -// // Example sending a request using the DeleteMessageRequest method. -// req, resp := client.DeleteMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/DeleteMessage func (c *Ivschat) DeleteMessageRequest(input *DeleteMessageInput) (req *request.Request, output *DeleteMessageOutput) { @@ -248,13 +247,14 @@ func (c *Ivschat) DeleteMessageRequest(input *DeleteMessageInput) (req *request. // API operation DeleteMessage for usage and error information. // // Returned Error Types: -// * ThrottlingException // -// * AccessDeniedException +// - ThrottlingException +// +// - AccessDeniedException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ValidationException +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/DeleteMessage func (c *Ivschat) DeleteMessage(input *DeleteMessageInput) (*DeleteMessageOutput, error) { @@ -294,14 +294,13 @@ const opDeleteRoom = "DeleteRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRoomRequest method. +// req, resp := client.DeleteRoomRequest(params) // -// // Example sending a request using the DeleteRoomRequest method. -// req, resp := client.DeleteRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/DeleteRoom func (c *Ivschat) DeleteRoomRequest(input *DeleteRoomInput) (req *request.Request, output *DeleteRoomOutput) { @@ -333,13 +332,14 @@ func (c *Ivschat) DeleteRoomRequest(input *DeleteRoomInput) (req *request.Reques // API operation DeleteRoom for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ResourceNotFoundException +// - AccessDeniedException // -// * PendingVerification +// - ResourceNotFoundException // -// * ValidationException +// - PendingVerification +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/DeleteRoom func (c *Ivschat) DeleteRoom(input *DeleteRoomInput) (*DeleteRoomOutput, error) { @@ -379,14 +379,13 @@ const opDisconnectUser = "DisconnectUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisconnectUserRequest method. +// req, resp := client.DisconnectUserRequest(params) // -// // Example sending a request using the DisconnectUserRequest method. -// req, resp := client.DisconnectUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/DisconnectUser func (c *Ivschat) DisconnectUserRequest(input *DisconnectUserInput) (req *request.Request, output *DisconnectUserOutput) { @@ -420,13 +419,14 @@ func (c *Ivschat) DisconnectUserRequest(input *DisconnectUserInput) (req *reques // API operation DisconnectUser for usage and error information. // // Returned Error Types: -// * ThrottlingException // -// * AccessDeniedException +// - ThrottlingException +// +// - AccessDeniedException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ValidationException +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/DisconnectUser func (c *Ivschat) DisconnectUser(input *DisconnectUserInput) (*DisconnectUserOutput, error) { @@ -466,14 +466,13 @@ const opGetRoom = "GetRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRoomRequest method. +// req, resp := client.GetRoomRequest(params) // -// // Example sending a request using the GetRoomRequest method. -// req, resp := client.GetRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/GetRoom func (c *Ivschat) GetRoomRequest(input *GetRoomInput) (req *request.Request, output *GetRoomOutput) { @@ -504,11 +503,12 @@ func (c *Ivschat) GetRoomRequest(input *GetRoomInput) (req *request.Request, out // API operation GetRoom for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ResourceNotFoundException +// - AccessDeniedException +// +// - ResourceNotFoundException // -// * ValidationException +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/GetRoom func (c *Ivschat) GetRoom(input *GetRoomInput) (*GetRoomOutput, error) { @@ -548,14 +548,13 @@ const opListRooms = "ListRooms" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRoomsRequest method. +// req, resp := client.ListRoomsRequest(params) // -// // Example sending a request using the ListRoomsRequest method. -// req, resp := client.ListRoomsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/ListRooms func (c *Ivschat) ListRoomsRequest(input *ListRoomsInput) (req *request.Request, output *ListRoomsOutput) { @@ -593,11 +592,12 @@ func (c *Ivschat) ListRoomsRequest(input *ListRoomsInput) (req *request.Request, // API operation ListRooms for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ResourceNotFoundException +// - AccessDeniedException // -// * ValidationException +// - ResourceNotFoundException +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/ListRooms func (c *Ivschat) ListRooms(input *ListRoomsInput) (*ListRoomsOutput, error) { @@ -629,15 +629,14 @@ func (c *Ivschat) ListRoomsWithContext(ctx aws.Context, input *ListRoomsInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRooms operation. -// pageNum := 0 -// err := client.ListRoomsPages(params, -// func(page *ivschat.ListRoomsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRooms operation. +// pageNum := 0 +// err := client.ListRoomsPages(params, +// func(page *ivschat.ListRoomsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Ivschat) ListRoomsPages(input *ListRoomsInput, fn func(*ListRoomsOutput, bool) bool) error { return c.ListRoomsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -689,14 +688,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/ListTagsForResource func (c *Ivschat) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -727,11 +725,12 @@ func (c *Ivschat) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InternalServerException +// - ResourceNotFoundException // -// * ValidationException +// - InternalServerException +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/ListTagsForResource func (c *Ivschat) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -771,14 +770,13 @@ const opSendEvent = "SendEvent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendEventRequest method. +// req, resp := client.SendEventRequest(params) // -// // Example sending a request using the SendEventRequest method. -// req, resp := client.SendEventRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/SendEvent func (c *Ivschat) SendEventRequest(input *SendEventInput) (req *request.Request, output *SendEventOutput) { @@ -811,13 +809,14 @@ func (c *Ivschat) SendEventRequest(input *SendEventInput) (req *request.Request, // API operation SendEvent for usage and error information. // // Returned Error Types: -// * ThrottlingException // -// * AccessDeniedException +// - ThrottlingException +// +// - AccessDeniedException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ValidationException +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/SendEvent func (c *Ivschat) SendEvent(input *SendEventInput) (*SendEventOutput, error) { @@ -857,14 +856,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/TagResource func (c *Ivschat) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -896,11 +894,12 @@ func (c *Ivschat) TagResourceRequest(input *TagResourceInput) (req *request.Requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InternalServerException +// - ResourceNotFoundException +// +// - InternalServerException // -// * ValidationException +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/TagResource func (c *Ivschat) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -940,14 +939,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/UntagResource func (c *Ivschat) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -979,11 +977,12 @@ func (c *Ivschat) UntagResourceRequest(input *UntagResourceInput) (req *request. // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * InternalServerException +// - ResourceNotFoundException // -// * ValidationException +// - InternalServerException +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/UntagResource func (c *Ivschat) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1023,14 +1022,13 @@ const opUpdateRoom = "UpdateRoom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRoomRequest method. +// req, resp := client.UpdateRoomRequest(params) // -// // Example sending a request using the UpdateRoomRequest method. -// req, resp := client.UpdateRoomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/UpdateRoom func (c *Ivschat) UpdateRoomRequest(input *UpdateRoomInput) (req *request.Request, output *UpdateRoomOutput) { @@ -1061,13 +1059,14 @@ func (c *Ivschat) UpdateRoomRequest(input *UpdateRoomInput) (req *request.Reques // API operation UpdateRoom for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ResourceNotFoundException +// - AccessDeniedException +// +// - ResourceNotFoundException // -// * PendingVerification +// - PendingVerification // -// * ValidationException +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/UpdateRoom func (c *Ivschat) UpdateRoom(input *UpdateRoomInput) (*UpdateRoomOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/doc.go index 58ecdceec430..c38ad2428615 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/doc.go @@ -3,7 +3,7 @@ // Package ivschat provides the client and types for making API // requests to Amazon Interactive Video Service Chat. // -// Introduction +// # Introduction // // The Amazon IVS Chat control-plane API enables you to create and manage Amazon // IVS Chat resources. You also need to integrate with the Amazon IVS Chat Messaging @@ -17,38 +17,38 @@ // // Notes on terminology: // -// * You create service applications using the Amazon IVS Chat API. We refer -// to these as applications. +// - You create service applications using the Amazon IVS Chat API. We refer +// to these as applications. // -// * You create front-end client applications (browser and Android/iOS apps) -// using the Amazon IVS Chat Messaging API. We refer to these as clients. +// - You create front-end client applications (browser and Android/iOS apps) +// using the Amazon IVS Chat Messaging API. We refer to these as clients. // -// Resources +// # Resources // // The following resource is part of Amazon IVS Chat: // -// * Room — The central Amazon IVS Chat resource through which clients -// connect to and exchange chat messages. See the Room endpoints for more -// information. +// - Room — The central Amazon IVS Chat resource through which clients +// connect to and exchange chat messages. See the Room endpoints for more +// information. // -// API Access Security +// # API Access Security // // Your Amazon IVS Chat applications (service applications and clients) must // be authenticated and authorized to access Amazon IVS Chat resources. Note // the differences between these concepts: // -// * Authentication is about verifying identity. Requests to the Amazon IVS -// Chat API must be signed to verify your identity. +// - Authentication is about verifying identity. Requests to the Amazon IVS +// Chat API must be signed to verify your identity. // -// * Authorization is about granting permissions. Your IAM roles need to -// have permissions for Amazon IVS Chat API requests. +// - Authorization is about granting permissions. Your IAM roles need to +// have permissions for Amazon IVS Chat API requests. // // Users (viewers) connect to a room using secure access tokens that you create // using the CreateChatToken endpoint through the AWS SDK. You call CreateChatToken // for every user’s chat session, passing identity and authorization information // about the user. // -// Signing API Requests +// # Signing API Requests // // HTTP API requests must be signed with an AWS SigV4 signature using your AWS // security credentials. The AWS Command Line Interface (CLI) and the AWS SDKs @@ -63,61 +63,61 @@ // // For more information: // -// * Authentication and generating signatures — See Authenticating Requests -// (Amazon Web Services Signature Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html) -// in the Amazon Web Services General Reference. +// - Authentication and generating signatures — See Authenticating Requests +// (Amazon Web Services Signature Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html) +// in the Amazon Web Services General Reference. // -// * Managing Amazon IVS permissions — See Identity and Access Management -// (https://docs.aws.amazon.com/ivs/latest/userguide/security-iam.html) on -// the Security page of the Amazon IVS User Guide. +// - Managing Amazon IVS permissions — See Identity and Access Management +// (https://docs.aws.amazon.com/ivs/latest/userguide/security-iam.html) on +// the Security page of the Amazon IVS User Guide. // // Messaging Endpoints // -// * DeleteMessage — Sends an event to a specific room which directs clients -// to delete a specific message; that is, unrender it from view and delete -// it from the client’s chat history. This event’s EventName is aws:DELETE_MESSAGE. -// This replicates the DeleteMessage (https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-deletemessage-publish.html) -// WebSocket operation in the Amazon IVS Chat Messaging API. +// - DeleteMessage — Sends an event to a specific room which directs clients +// to delete a specific message; that is, unrender it from view and delete +// it from the client’s chat history. This event’s EventName is aws:DELETE_MESSAGE. +// This replicates the DeleteMessage (https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-deletemessage-publish.html) +// WebSocket operation in the Amazon IVS Chat Messaging API. // -// * DisconnectUser — Disconnects all connections using a specified user -// ID from a room. This replicates the DisconnectUser (https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-disconnectuser-publish.html) -// WebSocket operation in the Amazon IVS Chat Messaging API. +// - DisconnectUser — Disconnects all connections using a specified user +// ID from a room. This replicates the DisconnectUser (https://docs.aws.amazon.com/ivs/latest/chatmsgapireference/actions-disconnectuser-publish.html) +// WebSocket operation in the Amazon IVS Chat Messaging API. // -// * SendEvent — Sends an event to a room. Use this within your application’s -// business logic to send events to clients of a room; e.g., to notify clients -// to change the way the chat UI is rendered. +// - SendEvent — Sends an event to a room. Use this within your application’s +// business logic to send events to clients of a room; e.g., to notify clients +// to change the way the chat UI is rendered. // // Chat Token Endpoint // -// * CreateChatToken — Creates an encrypted token that is used to establish -// an individual WebSocket connection to a room. The token is valid for one -// minute, and a connection (session) established with the token is valid -// for the specified duration. +// - CreateChatToken — Creates an encrypted token that is used to establish +// an individual WebSocket connection to a room. The token is valid for one +// minute, and a connection (session) established with the token is valid +// for the specified duration. // // Room Endpoints // -// * CreateRoom — Creates a room that allows clients to connect and pass -// messages. +// - CreateRoom — Creates a room that allows clients to connect and pass +// messages. // -// * DeleteRoom — Deletes the specified room. +// - DeleteRoom — Deletes the specified room. // -// * GetRoom — Gets the specified room. +// - GetRoom — Gets the specified room. // -// * ListRooms — Gets summary information about all your rooms in the AWS -// region where the API request is processed. +// - ListRooms — Gets summary information about all your rooms in the AWS +// region where the API request is processed. // -// * UpdateRoom — Updates a room’s configuration. +// - UpdateRoom — Updates a room’s configuration. // // Tags Endpoints // -// * ListTagsForResource — Gets information about AWS tags for the specified -// ARN. +// - ListTagsForResource — Gets information about AWS tags for the specified +// ARN. // -// * TagResource — Adds or updates tags for the AWS resource with the specified -// ARN. +// - TagResource — Adds or updates tags for the AWS resource with the specified +// ARN. // -// * UntagResource — Removes tags from the resource with the specified -// ARN. +// - UntagResource — Removes tags from the resource with the specified +// ARN. // // All the above are HTTP operations. There is a separate messaging API for // managing Chat resources; see the Amazon IVS Chat Messaging API Reference @@ -128,7 +128,7 @@ // See ivschat package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ivschat/ // -// Using the Client +// # Using the Client // // To contact Amazon Interactive Video Service Chat with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/ivschatiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/ivschatiface/interface.go index 69ed570a1155..2a2eca96a25d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/ivschatiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/ivschatiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Interactive Video Service Chat. -// func myFunc(svc ivschatiface.IvschatAPI) bool { -// // Make svc.CreateChatToken request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Interactive Video Service Chat. +// func myFunc(svc ivschatiface.IvschatAPI) bool { +// // Make svc.CreateChatToken request +// } // -// func main() { -// sess := session.New() -// svc := ivschat.New(sess) +// func main() { +// sess := session.New() +// svc := ivschat.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockIvschatClient struct { -// ivschatiface.IvschatAPI -// } -// func (m *mockIvschatClient) CreateChatToken(input *ivschat.CreateChatTokenInput) (*ivschat.CreateChatTokenOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockIvschatClient struct { +// ivschatiface.IvschatAPI +// } +// func (m *mockIvschatClient) CreateChatToken(input *ivschat.CreateChatTokenInput) (*ivschat.CreateChatTokenOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockIvschatClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockIvschatClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/service.go index 0357581625ed..acddc802e806 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ivschat/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Ivschat client from just a session. -// svc := ivschat.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Ivschat client with additional configuration -// svc := ivschat.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Ivschat client from just a session. +// svc := ivschat.New(mySession) +// +// // Create a Ivschat client with additional configuration +// svc := ivschat.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Ivschat { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/api.go index 86cf62c8428d..78ac77b7c1d2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/api.go @@ -29,14 +29,13 @@ const opBatchAssociateScramSecret = "BatchAssociateScramSecret" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchAssociateScramSecretRequest method. +// req, resp := client.BatchAssociateScramSecretRequest(params) // -// // Example sending a request using the BatchAssociateScramSecretRequest method. -// req, resp := client.BatchAssociateScramSecretRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchAssociateScramSecret func (c *Kafka) BatchAssociateScramSecretRequest(input *BatchAssociateScramSecretInput) (req *request.Request, output *BatchAssociateScramSecretOutput) { @@ -67,26 +66,27 @@ func (c *Kafka) BatchAssociateScramSecretRequest(input *BatchAssociateScramSecre // API operation BatchAssociateScramSecret for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // -// * NotFoundException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. // -// * TooManyRequestsException -// Returns information about an error. +// - TooManyRequestsException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchAssociateScramSecret func (c *Kafka) BatchAssociateScramSecret(input *BatchAssociateScramSecretInput) (*BatchAssociateScramSecretOutput, error) { @@ -126,14 +126,13 @@ const opBatchDisassociateScramSecret = "BatchDisassociateScramSecret" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDisassociateScramSecretRequest method. +// req, resp := client.BatchDisassociateScramSecretRequest(params) // -// // Example sending a request using the BatchDisassociateScramSecretRequest method. -// req, resp := client.BatchDisassociateScramSecretRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchDisassociateScramSecret func (c *Kafka) BatchDisassociateScramSecretRequest(input *BatchDisassociateScramSecretInput) (req *request.Request, output *BatchDisassociateScramSecretOutput) { @@ -164,26 +163,27 @@ func (c *Kafka) BatchDisassociateScramSecretRequest(input *BatchDisassociateScra // API operation BatchDisassociateScramSecret for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * NotFoundException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * TooManyRequestsException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. +// +// - TooManyRequestsException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/BatchDisassociateScramSecret func (c *Kafka) BatchDisassociateScramSecret(input *BatchDisassociateScramSecretInput) (*BatchDisassociateScramSecretOutput, error) { @@ -223,14 +223,13 @@ const opCreateCluster = "CreateCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClusterRequest method. +// req, resp := client.CreateClusterRequest(params) // -// // Example sending a request using the CreateClusterRequest method. -// req, resp := client.CreateClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateCluster func (c *Kafka) CreateClusterRequest(input *CreateClusterInput) (req *request.Request, output *CreateClusterOutput) { @@ -261,26 +260,27 @@ func (c *Kafka) CreateClusterRequest(input *CreateClusterInput) (req *request.Re // API operation CreateCluster for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // -// * TooManyRequestsException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. // -// * ConflictException -// Returns information about an error. +// - TooManyRequestsException +// Returns information about an error. +// +// - ConflictException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateCluster func (c *Kafka) CreateCluster(input *CreateClusterInput) (*CreateClusterOutput, error) { @@ -320,14 +320,13 @@ const opCreateClusterV2 = "CreateClusterV2" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClusterV2Request method. +// req, resp := client.CreateClusterV2Request(params) // -// // Example sending a request using the CreateClusterV2Request method. -// req, resp := client.CreateClusterV2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterV2 func (c *Kafka) CreateClusterV2Request(input *CreateClusterV2Input) (req *request.Request, output *CreateClusterV2Output) { @@ -359,26 +358,27 @@ func (c *Kafka) CreateClusterV2Request(input *CreateClusterV2Input) (req *reques // API operation CreateClusterV2 for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - InternalServerErrorException +// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. // -// * TooManyRequestsException -// Returns information about an error. +// - TooManyRequestsException +// Returns information about an error. // -// * ConflictException -// Returns information about an error. +// - ConflictException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateClusterV2 func (c *Kafka) CreateClusterV2(input *CreateClusterV2Input) (*CreateClusterV2Output, error) { @@ -418,14 +418,13 @@ const opCreateConfiguration = "CreateConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConfigurationRequest method. +// req, resp := client.CreateConfigurationRequest(params) // -// // Example sending a request using the CreateConfigurationRequest method. -// req, resp := client.CreateConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfiguration func (c *Kafka) CreateConfigurationRequest(input *CreateConfigurationInput) (req *request.Request, output *CreateConfigurationOutput) { @@ -456,26 +455,27 @@ func (c *Kafka) CreateConfigurationRequest(input *CreateConfigurationInput) (req // API operation CreateConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - InternalServerErrorException +// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. // -// * TooManyRequestsException -// Returns information about an error. +// - TooManyRequestsException +// Returns information about an error. // -// * ConflictException -// Returns information about an error. +// - ConflictException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/CreateConfiguration func (c *Kafka) CreateConfiguration(input *CreateConfigurationInput) (*CreateConfigurationOutput, error) { @@ -515,14 +515,13 @@ const opDeleteCluster = "DeleteCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClusterRequest method. +// req, resp := client.DeleteClusterRequest(params) // -// // Example sending a request using the DeleteClusterRequest method. -// req, resp := client.DeleteClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteCluster func (c *Kafka) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Request, output *DeleteClusterOutput) { @@ -554,17 +553,18 @@ func (c *Kafka) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Re // API operation DeleteCluster for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteCluster func (c *Kafka) DeleteCluster(input *DeleteClusterInput) (*DeleteClusterOutput, error) { @@ -604,14 +604,13 @@ const opDeleteConfiguration = "DeleteConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigurationRequest method. +// req, resp := client.DeleteConfigurationRequest(params) // -// // Example sending a request using the DeleteConfigurationRequest method. -// req, resp := client.DeleteConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteConfiguration func (c *Kafka) DeleteConfigurationRequest(input *DeleteConfigurationInput) (req *request.Request, output *DeleteConfigurationOutput) { @@ -643,17 +642,18 @@ func (c *Kafka) DeleteConfigurationRequest(input *DeleteConfigurationInput) (req // API operation DeleteConfiguration for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. +// +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DeleteConfiguration func (c *Kafka) DeleteConfiguration(input *DeleteConfigurationInput) (*DeleteConfigurationOutput, error) { @@ -693,14 +693,13 @@ const opDescribeCluster = "DescribeCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClusterRequest method. +// req, resp := client.DescribeClusterRequest(params) // -// // Example sending a request using the DescribeClusterRequest method. -// req, resp := client.DescribeClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeCluster func (c *Kafka) DescribeClusterRequest(input *DescribeClusterInput) (req *request.Request, output *DescribeClusterOutput) { @@ -732,20 +731,21 @@ func (c *Kafka) DescribeClusterRequest(input *DescribeClusterInput) (req *reques // API operation DescribeCluster for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. +// +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeCluster func (c *Kafka) DescribeCluster(input *DescribeClusterInput) (*DescribeClusterOutput, error) { @@ -785,14 +785,13 @@ const opDescribeClusterOperation = "DescribeClusterOperation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClusterOperationRequest method. +// req, resp := client.DescribeClusterOperationRequest(params) // -// // Example sending a request using the DescribeClusterOperationRequest method. -// req, resp := client.DescribeClusterOperationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation func (c *Kafka) DescribeClusterOperationRequest(input *DescribeClusterOperationInput) (req *request.Request, output *DescribeClusterOperationOutput) { @@ -823,20 +822,21 @@ func (c *Kafka) DescribeClusterOperationRequest(input *DescribeClusterOperationI // API operation DescribeClusterOperation for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterOperation func (c *Kafka) DescribeClusterOperation(input *DescribeClusterOperationInput) (*DescribeClusterOperationOutput, error) { @@ -876,14 +876,13 @@ const opDescribeClusterV2 = "DescribeClusterV2" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClusterV2Request method. +// req, resp := client.DescribeClusterV2Request(params) // -// // Example sending a request using the DescribeClusterV2Request method. -// req, resp := client.DescribeClusterV2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterV2 func (c *Kafka) DescribeClusterV2Request(input *DescribeClusterV2Input) (req *request.Request, output *DescribeClusterV2Output) { @@ -915,20 +914,21 @@ func (c *Kafka) DescribeClusterV2Request(input *DescribeClusterV2Input) (req *re // API operation DescribeClusterV2 for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeClusterV2 func (c *Kafka) DescribeClusterV2(input *DescribeClusterV2Input) (*DescribeClusterV2Output, error) { @@ -968,14 +968,13 @@ const opDescribeConfiguration = "DescribeConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConfigurationRequest method. +// req, resp := client.DescribeConfigurationRequest(params) // -// // Example sending a request using the DescribeConfigurationRequest method. -// req, resp := client.DescribeConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfiguration func (c *Kafka) DescribeConfigurationRequest(input *DescribeConfigurationInput) (req *request.Request, output *DescribeConfigurationOutput) { @@ -1006,23 +1005,24 @@ func (c *Kafka) DescribeConfigurationRequest(input *DescribeConfigurationInput) // API operation DescribeConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // -// * NotFoundException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfiguration func (c *Kafka) DescribeConfiguration(input *DescribeConfigurationInput) (*DescribeConfigurationOutput, error) { @@ -1062,14 +1062,13 @@ const opDescribeConfigurationRevision = "DescribeConfigurationRevision" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConfigurationRevisionRequest method. +// req, resp := client.DescribeConfigurationRevisionRequest(params) // -// // Example sending a request using the DescribeConfigurationRevisionRequest method. -// req, resp := client.DescribeConfigurationRevisionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfigurationRevision func (c *Kafka) DescribeConfigurationRevisionRequest(input *DescribeConfigurationRevisionInput) (req *request.Request, output *DescribeConfigurationRevisionOutput) { @@ -1100,23 +1099,24 @@ func (c *Kafka) DescribeConfigurationRevisionRequest(input *DescribeConfiguratio // API operation DescribeConfigurationRevision for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * NotFoundException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - ServiceUnavailableException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/DescribeConfigurationRevision func (c *Kafka) DescribeConfigurationRevision(input *DescribeConfigurationRevisionInput) (*DescribeConfigurationRevisionOutput, error) { @@ -1156,14 +1156,13 @@ const opGetBootstrapBrokers = "GetBootstrapBrokers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBootstrapBrokersRequest method. +// req, resp := client.GetBootstrapBrokersRequest(params) // -// // Example sending a request using the GetBootstrapBrokersRequest method. -// req, resp := client.GetBootstrapBrokersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokers func (c *Kafka) GetBootstrapBrokersRequest(input *GetBootstrapBrokersInput) (req *request.Request, output *GetBootstrapBrokersOutput) { @@ -1194,20 +1193,21 @@ func (c *Kafka) GetBootstrapBrokersRequest(input *GetBootstrapBrokersInput) (req // API operation GetBootstrapBrokers for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * ConflictException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ConflictException +// Returns information about an error. +// +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetBootstrapBrokers func (c *Kafka) GetBootstrapBrokers(input *GetBootstrapBrokersInput) (*GetBootstrapBrokersOutput, error) { @@ -1247,14 +1247,13 @@ const opGetCompatibleKafkaVersions = "GetCompatibleKafkaVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCompatibleKafkaVersionsRequest method. +// req, resp := client.GetCompatibleKafkaVersionsRequest(params) // -// // Example sending a request using the GetCompatibleKafkaVersionsRequest method. -// req, resp := client.GetCompatibleKafkaVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetCompatibleKafkaVersions func (c *Kafka) GetCompatibleKafkaVersionsRequest(input *GetCompatibleKafkaVersionsInput) (req *request.Request, output *GetCompatibleKafkaVersionsOutput) { @@ -1285,26 +1284,27 @@ func (c *Kafka) GetCompatibleKafkaVersionsRequest(input *GetCompatibleKafkaVersi // API operation GetCompatibleKafkaVersions for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // -// * NotFoundException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. // -// * TooManyRequestsException -// Returns information about an error. +// - TooManyRequestsException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetCompatibleKafkaVersions func (c *Kafka) GetCompatibleKafkaVersions(input *GetCompatibleKafkaVersionsInput) (*GetCompatibleKafkaVersionsOutput, error) { @@ -1344,14 +1344,13 @@ const opListClusterOperations = "ListClusterOperations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListClusterOperationsRequest method. +// req, resp := client.ListClusterOperationsRequest(params) // -// // Example sending a request using the ListClusterOperationsRequest method. -// req, resp := client.ListClusterOperationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations func (c *Kafka) ListClusterOperationsRequest(input *ListClusterOperationsInput) (req *request.Request, output *ListClusterOperationsOutput) { @@ -1389,17 +1388,18 @@ func (c *Kafka) ListClusterOperationsRequest(input *ListClusterOperationsInput) // API operation ListClusterOperations for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - InternalServerErrorException +// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusterOperations func (c *Kafka) ListClusterOperations(input *ListClusterOperationsInput) (*ListClusterOperationsOutput, error) { @@ -1431,15 +1431,14 @@ func (c *Kafka) ListClusterOperationsWithContext(ctx aws.Context, input *ListClu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListClusterOperations operation. -// pageNum := 0 -// err := client.ListClusterOperationsPages(params, -// func(page *kafka.ListClusterOperationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListClusterOperations operation. +// pageNum := 0 +// err := client.ListClusterOperationsPages(params, +// func(page *kafka.ListClusterOperationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kafka) ListClusterOperationsPages(input *ListClusterOperationsInput, fn func(*ListClusterOperationsOutput, bool) bool) error { return c.ListClusterOperationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1491,14 +1490,13 @@ const opListClusters = "ListClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListClustersRequest method. +// req, resp := client.ListClustersRequest(params) // -// // Example sending a request using the ListClustersRequest method. -// req, resp := client.ListClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusters func (c *Kafka) ListClustersRequest(input *ListClustersInput) (req *request.Request, output *ListClustersOutput) { @@ -1535,17 +1533,18 @@ func (c *Kafka) ListClustersRequest(input *ListClustersInput) (req *request.Requ // API operation ListClusters for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - InternalServerErrorException +// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClusters func (c *Kafka) ListClusters(input *ListClustersInput) (*ListClustersOutput, error) { @@ -1577,15 +1576,14 @@ func (c *Kafka) ListClustersWithContext(ctx aws.Context, input *ListClustersInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListClusters operation. -// pageNum := 0 -// err := client.ListClustersPages(params, -// func(page *kafka.ListClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListClusters operation. +// pageNum := 0 +// err := client.ListClustersPages(params, +// func(page *kafka.ListClustersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kafka) ListClustersPages(input *ListClustersInput, fn func(*ListClustersOutput, bool) bool) error { return c.ListClustersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1637,14 +1635,13 @@ const opListClustersV2 = "ListClustersV2" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListClustersV2Request method. +// req, resp := client.ListClustersV2Request(params) // -// // Example sending a request using the ListClustersV2Request method. -// req, resp := client.ListClustersV2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersV2 func (c *Kafka) ListClustersV2Request(input *ListClustersV2Input) (req *request.Request, output *ListClustersV2Output) { @@ -1681,17 +1678,18 @@ func (c *Kafka) ListClustersV2Request(input *ListClustersV2Input) (req *request. // API operation ListClustersV2 for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. +// +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListClustersV2 func (c *Kafka) ListClustersV2(input *ListClustersV2Input) (*ListClustersV2Output, error) { @@ -1723,15 +1721,14 @@ func (c *Kafka) ListClustersV2WithContext(ctx aws.Context, input *ListClustersV2 // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListClustersV2 operation. -// pageNum := 0 -// err := client.ListClustersV2Pages(params, -// func(page *kafka.ListClustersV2Output, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListClustersV2 operation. +// pageNum := 0 +// err := client.ListClustersV2Pages(params, +// func(page *kafka.ListClustersV2Output, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kafka) ListClustersV2Pages(input *ListClustersV2Input, fn func(*ListClustersV2Output, bool) bool) error { return c.ListClustersV2PagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1783,14 +1780,13 @@ const opListConfigurationRevisions = "ListConfigurationRevisions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConfigurationRevisionsRequest method. +// req, resp := client.ListConfigurationRevisionsRequest(params) // -// // Example sending a request using the ListConfigurationRevisionsRequest method. -// req, resp := client.ListConfigurationRevisionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurationRevisions func (c *Kafka) ListConfigurationRevisionsRequest(input *ListConfigurationRevisionsInput) (req *request.Request, output *ListConfigurationRevisionsOutput) { @@ -1827,23 +1823,24 @@ func (c *Kafka) ListConfigurationRevisionsRequest(input *ListConfigurationRevisi // API operation ListConfigurationRevisions for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // -// * NotFoundException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurationRevisions func (c *Kafka) ListConfigurationRevisions(input *ListConfigurationRevisionsInput) (*ListConfigurationRevisionsOutput, error) { @@ -1875,15 +1872,14 @@ func (c *Kafka) ListConfigurationRevisionsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListConfigurationRevisions operation. -// pageNum := 0 -// err := client.ListConfigurationRevisionsPages(params, -// func(page *kafka.ListConfigurationRevisionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListConfigurationRevisions operation. +// pageNum := 0 +// err := client.ListConfigurationRevisionsPages(params, +// func(page *kafka.ListConfigurationRevisionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kafka) ListConfigurationRevisionsPages(input *ListConfigurationRevisionsInput, fn func(*ListConfigurationRevisionsOutput, bool) bool) error { return c.ListConfigurationRevisionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1935,14 +1931,13 @@ const opListConfigurations = "ListConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConfigurationsRequest method. +// req, resp := client.ListConfigurationsRequest(params) // -// // Example sending a request using the ListConfigurationsRequest method. -// req, resp := client.ListConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurations func (c *Kafka) ListConfigurationsRequest(input *ListConfigurationsInput) (req *request.Request, output *ListConfigurationsOutput) { @@ -1979,20 +1974,21 @@ func (c *Kafka) ListConfigurationsRequest(input *ListConfigurationsInput) (req * // API operation ListConfigurations for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListConfigurations func (c *Kafka) ListConfigurations(input *ListConfigurationsInput) (*ListConfigurationsOutput, error) { @@ -2024,15 +2020,14 @@ func (c *Kafka) ListConfigurationsWithContext(ctx aws.Context, input *ListConfig // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListConfigurations operation. -// pageNum := 0 -// err := client.ListConfigurationsPages(params, -// func(page *kafka.ListConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListConfigurations operation. +// pageNum := 0 +// err := client.ListConfigurationsPages(params, +// func(page *kafka.ListConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kafka) ListConfigurationsPages(input *ListConfigurationsInput, fn func(*ListConfigurationsOutput, bool) bool) error { return c.ListConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2084,14 +2079,13 @@ const opListKafkaVersions = "ListKafkaVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListKafkaVersionsRequest method. +// req, resp := client.ListKafkaVersionsRequest(params) // -// // Example sending a request using the ListKafkaVersionsRequest method. -// req, resp := client.ListKafkaVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListKafkaVersions func (c *Kafka) ListKafkaVersionsRequest(input *ListKafkaVersionsInput) (req *request.Request, output *ListKafkaVersionsOutput) { @@ -2128,17 +2122,18 @@ func (c *Kafka) ListKafkaVersionsRequest(input *ListKafkaVersionsInput) (req *re // API operation ListKafkaVersions for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. +// +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListKafkaVersions func (c *Kafka) ListKafkaVersions(input *ListKafkaVersionsInput) (*ListKafkaVersionsOutput, error) { @@ -2170,15 +2165,14 @@ func (c *Kafka) ListKafkaVersionsWithContext(ctx aws.Context, input *ListKafkaVe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListKafkaVersions operation. -// pageNum := 0 -// err := client.ListKafkaVersionsPages(params, -// func(page *kafka.ListKafkaVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListKafkaVersions operation. +// pageNum := 0 +// err := client.ListKafkaVersionsPages(params, +// func(page *kafka.ListKafkaVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kafka) ListKafkaVersionsPages(input *ListKafkaVersionsInput, fn func(*ListKafkaVersionsOutput, bool) bool) error { return c.ListKafkaVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2230,14 +2224,13 @@ const opListNodes = "ListNodes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNodesRequest method. +// req, resp := client.ListNodesRequest(params) // -// // Example sending a request using the ListNodesRequest method. -// req, resp := client.ListNodesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListNodes func (c *Kafka) ListNodesRequest(input *ListNodesInput) (req *request.Request, output *ListNodesOutput) { @@ -2274,17 +2267,18 @@ func (c *Kafka) ListNodesRequest(input *ListNodesInput) (req *request.Request, o // API operation ListNodes for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. +// +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListNodes func (c *Kafka) ListNodes(input *ListNodesInput) (*ListNodesOutput, error) { @@ -2316,15 +2310,14 @@ func (c *Kafka) ListNodesWithContext(ctx aws.Context, input *ListNodesInput, opt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNodes operation. -// pageNum := 0 -// err := client.ListNodesPages(params, -// func(page *kafka.ListNodesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNodes operation. +// pageNum := 0 +// err := client.ListNodesPages(params, +// func(page *kafka.ListNodesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kafka) ListNodesPages(input *ListNodesInput, fn func(*ListNodesOutput, bool) bool) error { return c.ListNodesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2376,14 +2369,13 @@ const opListScramSecrets = "ListScramSecrets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListScramSecretsRequest method. +// req, resp := client.ListScramSecretsRequest(params) // -// // Example sending a request using the ListScramSecretsRequest method. -// req, resp := client.ListScramSecretsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListScramSecrets func (c *Kafka) ListScramSecretsRequest(input *ListScramSecretsInput) (req *request.Request, output *ListScramSecretsOutput) { @@ -2420,26 +2412,27 @@ func (c *Kafka) ListScramSecretsRequest(input *ListScramSecretsInput) (req *requ // API operation ListScramSecrets for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // -// * NotFoundException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. // -// * TooManyRequestsException -// Returns information about an error. +// - TooManyRequestsException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListScramSecrets func (c *Kafka) ListScramSecrets(input *ListScramSecretsInput) (*ListScramSecretsOutput, error) { @@ -2471,15 +2464,14 @@ func (c *Kafka) ListScramSecretsWithContext(ctx aws.Context, input *ListScramSec // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListScramSecrets operation. -// pageNum := 0 -// err := client.ListScramSecretsPages(params, -// func(page *kafka.ListScramSecretsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListScramSecrets operation. +// pageNum := 0 +// err := client.ListScramSecretsPages(params, +// func(page *kafka.ListScramSecretsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kafka) ListScramSecretsPages(input *ListScramSecretsInput, fn func(*ListScramSecretsOutput, bool) bool) error { return c.ListScramSecretsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2531,14 +2523,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListTagsForResource func (c *Kafka) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2569,14 +2560,15 @@ func (c *Kafka) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/ListTagsForResource func (c *Kafka) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2616,14 +2608,13 @@ const opRebootBroker = "RebootBroker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebootBrokerRequest method. +// req, resp := client.RebootBrokerRequest(params) // -// // Example sending a request using the RebootBrokerRequest method. -// req, resp := client.RebootBrokerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/RebootBroker func (c *Kafka) RebootBrokerRequest(input *RebootBrokerInput) (req *request.Request, output *RebootBrokerOutput) { @@ -2654,26 +2645,27 @@ func (c *Kafka) RebootBrokerRequest(input *RebootBrokerInput) (req *request.Requ // API operation RebootBroker for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // -// * NotFoundException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. // -// * TooManyRequestsException -// Returns information about an error. +// - TooManyRequestsException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/RebootBroker func (c *Kafka) RebootBroker(input *RebootBrokerInput) (*RebootBrokerOutput, error) { @@ -2713,14 +2705,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/TagResource func (c *Kafka) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2752,14 +2743,15 @@ func (c *Kafka) TagResourceRequest(input *TagResourceInput) (req *request.Reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - InternalServerErrorException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/TagResource func (c *Kafka) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2799,14 +2791,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UntagResource func (c *Kafka) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2838,14 +2829,15 @@ func (c *Kafka) UntagResourceRequest(input *UntagResourceInput) (req *request.Re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - InternalServerErrorException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UntagResource func (c *Kafka) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2885,14 +2877,13 @@ const opUpdateBrokerCount = "UpdateBrokerCount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBrokerCountRequest method. +// req, resp := client.UpdateBrokerCountRequest(params) // -// // Example sending a request using the UpdateBrokerCountRequest method. -// req, resp := client.UpdateBrokerCountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerCount func (c *Kafka) UpdateBrokerCountRequest(input *UpdateBrokerCountInput) (req *request.Request, output *UpdateBrokerCountOutput) { @@ -2925,20 +2916,21 @@ func (c *Kafka) UpdateBrokerCountRequest(input *UpdateBrokerCountInput) (req *re // API operation UpdateBrokerCount for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerCount func (c *Kafka) UpdateBrokerCount(input *UpdateBrokerCountInput) (*UpdateBrokerCountOutput, error) { @@ -2978,14 +2970,13 @@ const opUpdateBrokerStorage = "UpdateBrokerStorage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBrokerStorageRequest method. +// req, resp := client.UpdateBrokerStorageRequest(params) // -// // Example sending a request using the UpdateBrokerStorageRequest method. -// req, resp := client.UpdateBrokerStorageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerStorage func (c *Kafka) UpdateBrokerStorageRequest(input *UpdateBrokerStorageInput) (req *request.Request, output *UpdateBrokerStorageOutput) { @@ -3016,20 +3007,21 @@ func (c *Kafka) UpdateBrokerStorageRequest(input *UpdateBrokerStorageInput) (req // API operation UpdateBrokerStorage for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerStorage func (c *Kafka) UpdateBrokerStorage(input *UpdateBrokerStorageInput) (*UpdateBrokerStorageOutput, error) { @@ -3069,14 +3061,13 @@ const opUpdateBrokerType = "UpdateBrokerType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBrokerTypeRequest method. +// req, resp := client.UpdateBrokerTypeRequest(params) // -// // Example sending a request using the UpdateBrokerTypeRequest method. -// req, resp := client.UpdateBrokerTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerType func (c *Kafka) UpdateBrokerTypeRequest(input *UpdateBrokerTypeInput) (req *request.Request, output *UpdateBrokerTypeOutput) { @@ -3107,26 +3098,27 @@ func (c *Kafka) UpdateBrokerTypeRequest(input *UpdateBrokerTypeInput) (req *requ // API operation UpdateBrokerType for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - ForbiddenException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * NotFoundException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * TooManyRequestsException -// Returns information about an error. +// - TooManyRequestsException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateBrokerType func (c *Kafka) UpdateBrokerType(input *UpdateBrokerTypeInput) (*UpdateBrokerTypeOutput, error) { @@ -3166,14 +3158,13 @@ const opUpdateClusterConfiguration = "UpdateClusterConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateClusterConfigurationRequest method. +// req, resp := client.UpdateClusterConfigurationRequest(params) // -// // Example sending a request using the UpdateClusterConfigurationRequest method. -// req, resp := client.UpdateClusterConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterConfiguration func (c *Kafka) UpdateClusterConfigurationRequest(input *UpdateClusterConfigurationInput) (req *request.Request, output *UpdateClusterConfigurationOutput) { @@ -3205,23 +3196,24 @@ func (c *Kafka) UpdateClusterConfigurationRequest(input *UpdateClusterConfigurat // API operation UpdateClusterConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * NotFoundException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - ServiceUnavailableException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterConfiguration func (c *Kafka) UpdateClusterConfiguration(input *UpdateClusterConfigurationInput) (*UpdateClusterConfigurationOutput, error) { @@ -3261,14 +3253,13 @@ const opUpdateClusterKafkaVersion = "UpdateClusterKafkaVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateClusterKafkaVersionRequest method. +// req, resp := client.UpdateClusterKafkaVersionRequest(params) // -// // Example sending a request using the UpdateClusterKafkaVersionRequest method. -// req, resp := client.UpdateClusterKafkaVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterKafkaVersion func (c *Kafka) UpdateClusterKafkaVersionRequest(input *UpdateClusterKafkaVersionInput) (req *request.Request, output *UpdateClusterKafkaVersionOutput) { @@ -3299,26 +3290,27 @@ func (c *Kafka) UpdateClusterKafkaVersionRequest(input *UpdateClusterKafkaVersio // API operation UpdateClusterKafkaVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * NotFoundException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * TooManyRequestsException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. +// +// - TooManyRequestsException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateClusterKafkaVersion func (c *Kafka) UpdateClusterKafkaVersion(input *UpdateClusterKafkaVersionInput) (*UpdateClusterKafkaVersionOutput, error) { @@ -3358,14 +3350,13 @@ const opUpdateConfiguration = "UpdateConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConfigurationRequest method. +// req, resp := client.UpdateConfigurationRequest(params) // -// // Example sending a request using the UpdateConfigurationRequest method. -// req, resp := client.UpdateConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConfiguration func (c *Kafka) UpdateConfigurationRequest(input *UpdateConfigurationInput) (req *request.Request, output *UpdateConfigurationOutput) { @@ -3397,20 +3388,21 @@ func (c *Kafka) UpdateConfigurationRequest(input *UpdateConfigurationInput) (req // API operation UpdateConfiguration for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConfiguration func (c *Kafka) UpdateConfiguration(input *UpdateConfigurationInput) (*UpdateConfigurationOutput, error) { @@ -3450,14 +3442,13 @@ const opUpdateConnectivity = "UpdateConnectivity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConnectivityRequest method. +// req, resp := client.UpdateConnectivityRequest(params) // -// // Example sending a request using the UpdateConnectivityRequest method. -// req, resp := client.UpdateConnectivityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConnectivity func (c *Kafka) UpdateConnectivityRequest(input *UpdateConnectivityInput) (req *request.Request, output *UpdateConnectivityOutput) { @@ -3488,26 +3479,27 @@ func (c *Kafka) UpdateConnectivityRequest(input *UpdateConnectivityInput) (req * // API operation UpdateConnectivity for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // -// * NotFoundException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. // -// * TooManyRequestsException -// Returns information about an error. +// - TooManyRequestsException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateConnectivity func (c *Kafka) UpdateConnectivity(input *UpdateConnectivityInput) (*UpdateConnectivityOutput, error) { @@ -3547,14 +3539,13 @@ const opUpdateMonitoring = "UpdateMonitoring" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMonitoringRequest method. +// req, resp := client.UpdateMonitoringRequest(params) // -// // Example sending a request using the UpdateMonitoringRequest method. -// req, resp := client.UpdateMonitoringRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateMonitoring func (c *Kafka) UpdateMonitoringRequest(input *UpdateMonitoringInput) (req *request.Request, output *UpdateMonitoringOutput) { @@ -3587,20 +3578,21 @@ func (c *Kafka) UpdateMonitoringRequest(input *UpdateMonitoringInput) (req *requ // API operation UpdateMonitoring for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateMonitoring func (c *Kafka) UpdateMonitoring(input *UpdateMonitoringInput) (*UpdateMonitoringOutput, error) { @@ -3640,14 +3632,13 @@ const opUpdateSecurity = "UpdateSecurity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSecurityRequest method. +// req, resp := client.UpdateSecurityRequest(params) // -// // Example sending a request using the UpdateSecurityRequest method. -// req, resp := client.UpdateSecurityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateSecurity func (c *Kafka) UpdateSecurityRequest(input *UpdateSecurityInput) (req *request.Request, output *UpdateSecurityOutput) { @@ -3679,26 +3670,27 @@ func (c *Kafka) UpdateSecurityRequest(input *UpdateSecurityInput) (req *request. // API operation UpdateSecurity for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // -// * NotFoundException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * ServiceUnavailableException -// Returns information about an error. +// - ServiceUnavailableException +// Returns information about an error. // -// * TooManyRequestsException -// Returns information about an error. +// - TooManyRequestsException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/UpdateSecurity func (c *Kafka) UpdateSecurity(input *UpdateSecurityInput) (*UpdateSecurityOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/doc.go index bc1d6eed6341..834dfb8f6eed 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/doc.go @@ -10,7 +10,7 @@ // See kafka package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/kafka/ // -// Using the Client +// # Using the Client // // To contact Managed Streaming for Kafka with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/kafkaiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/kafkaiface/interface.go index ed1889c09a34..754e1e78b05a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/kafkaiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/kafkaiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Managed Streaming for Kafka. -// func myFunc(svc kafkaiface.KafkaAPI) bool { -// // Make svc.BatchAssociateScramSecret request -// } +// // myFunc uses an SDK service client to make a request to +// // Managed Streaming for Kafka. +// func myFunc(svc kafkaiface.KafkaAPI) bool { +// // Make svc.BatchAssociateScramSecret request +// } // -// func main() { -// sess := session.New() -// svc := kafka.New(sess) +// func main() { +// sess := session.New() +// svc := kafka.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockKafkaClient struct { -// kafkaiface.KafkaAPI -// } -// func (m *mockKafkaClient) BatchAssociateScramSecret(input *kafka.BatchAssociateScramSecretInput) (*kafka.BatchAssociateScramSecretOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockKafkaClient struct { +// kafkaiface.KafkaAPI +// } +// func (m *mockKafkaClient) BatchAssociateScramSecret(input *kafka.BatchAssociateScramSecretInput) (*kafka.BatchAssociateScramSecretOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockKafkaClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockKafkaClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/service.go index 9e40c01b2e98..b641010c50aa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafka/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Kafka client from just a session. -// svc := kafka.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Kafka client with additional configuration -// svc := kafka.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Kafka client from just a session. +// svc := kafka.New(mySession) +// +// // Create a Kafka client with additional configuration +// svc := kafka.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Kafka { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/api.go index ed73cd9fcdbf..95bca50f59e5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/api.go @@ -28,14 +28,13 @@ const opCreateConnector = "CreateConnector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConnectorRequest method. +// req, resp := client.CreateConnectorRequest(params) // -// // Example sending a request using the CreateConnectorRequest method. -// req, resp := client.CreateConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateConnector func (c *KafkaConnect) CreateConnectorRequest(input *CreateConnectorInput) (req *request.Request, output *CreateConnectorOutput) { @@ -66,36 +65,37 @@ func (c *KafkaConnect) CreateConnectorRequest(input *CreateConnectorInput) (req // API operation CreateConnector for usage and error information. // // Returned Error Types: -// * NotFoundException -// HTTP Status Code 404: Resource not found due to incorrect input. Correct -// your request and then retry it. // -// * ConflictException -// HTTP Status Code 409: Conflict. A resource with this name already exists. -// Retry your request with another name. +// - NotFoundException +// HTTP Status Code 404: Resource not found due to incorrect input. Correct +// your request and then retry it. +// +// - ConflictException +// HTTP Status Code 409: Conflict. A resource with this name already exists. +// Retry your request with another name. // -// * BadRequestException -// HTTP Status Code 400: Bad request due to incorrect input. Correct your request -// and then retry it. +// - BadRequestException +// HTTP Status Code 400: Bad request due to incorrect input. Correct your request +// and then retry it. // -// * ForbiddenException -// HTTP Status Code 403: Access forbidden. Correct your credentials and then -// retry your request. +// - ForbiddenException +// HTTP Status Code 403: Access forbidden. Correct your credentials and then +// retry your request. // -// * ServiceUnavailableException -// HTTP Status Code 503: Service Unavailable. Retrying your request in some -// time might resolve the issue. +// - ServiceUnavailableException +// HTTP Status Code 503: Service Unavailable. Retrying your request in some +// time might resolve the issue. // -// * TooManyRequestsException -// HTTP Status Code 429: Limit exceeded. Resource limit reached. +// - TooManyRequestsException +// HTTP Status Code 429: Limit exceeded. Resource limit reached. // -// * UnauthorizedException -// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't -// be validated. +// - UnauthorizedException +// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't +// be validated. // -// * InternalServerErrorException -// HTTP Status Code 500: Unexpected internal server error. Retrying your request -// might resolve the issue. +// - InternalServerErrorException +// HTTP Status Code 500: Unexpected internal server error. Retrying your request +// might resolve the issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateConnector func (c *KafkaConnect) CreateConnector(input *CreateConnectorInput) (*CreateConnectorOutput, error) { @@ -135,14 +135,13 @@ const opCreateCustomPlugin = "CreateCustomPlugin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCustomPluginRequest method. +// req, resp := client.CreateCustomPluginRequest(params) // -// // Example sending a request using the CreateCustomPluginRequest method. -// req, resp := client.CreateCustomPluginRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateCustomPlugin func (c *KafkaConnect) CreateCustomPluginRequest(input *CreateCustomPluginInput) (req *request.Request, output *CreateCustomPluginOutput) { @@ -173,36 +172,37 @@ func (c *KafkaConnect) CreateCustomPluginRequest(input *CreateCustomPluginInput) // API operation CreateCustomPlugin for usage and error information. // // Returned Error Types: -// * NotFoundException -// HTTP Status Code 404: Resource not found due to incorrect input. Correct -// your request and then retry it. // -// * ConflictException -// HTTP Status Code 409: Conflict. A resource with this name already exists. -// Retry your request with another name. +// - NotFoundException +// HTTP Status Code 404: Resource not found due to incorrect input. Correct +// your request and then retry it. +// +// - ConflictException +// HTTP Status Code 409: Conflict. A resource with this name already exists. +// Retry your request with another name. // -// * BadRequestException -// HTTP Status Code 400: Bad request due to incorrect input. Correct your request -// and then retry it. +// - BadRequestException +// HTTP Status Code 400: Bad request due to incorrect input. Correct your request +// and then retry it. // -// * ForbiddenException -// HTTP Status Code 403: Access forbidden. Correct your credentials and then -// retry your request. +// - ForbiddenException +// HTTP Status Code 403: Access forbidden. Correct your credentials and then +// retry your request. // -// * ServiceUnavailableException -// HTTP Status Code 503: Service Unavailable. Retrying your request in some -// time might resolve the issue. +// - ServiceUnavailableException +// HTTP Status Code 503: Service Unavailable. Retrying your request in some +// time might resolve the issue. // -// * TooManyRequestsException -// HTTP Status Code 429: Limit exceeded. Resource limit reached. +// - TooManyRequestsException +// HTTP Status Code 429: Limit exceeded. Resource limit reached. // -// * UnauthorizedException -// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't -// be validated. +// - UnauthorizedException +// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't +// be validated. // -// * InternalServerErrorException -// HTTP Status Code 500: Unexpected internal server error. Retrying your request -// might resolve the issue. +// - InternalServerErrorException +// HTTP Status Code 500: Unexpected internal server error. Retrying your request +// might resolve the issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateCustomPlugin func (c *KafkaConnect) CreateCustomPlugin(input *CreateCustomPluginInput) (*CreateCustomPluginOutput, error) { @@ -242,14 +242,13 @@ const opCreateWorkerConfiguration = "CreateWorkerConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorkerConfigurationRequest method. +// req, resp := client.CreateWorkerConfigurationRequest(params) // -// // Example sending a request using the CreateWorkerConfigurationRequest method. -// req, resp := client.CreateWorkerConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateWorkerConfiguration func (c *KafkaConnect) CreateWorkerConfigurationRequest(input *CreateWorkerConfigurationInput) (req *request.Request, output *CreateWorkerConfigurationOutput) { @@ -280,36 +279,37 @@ func (c *KafkaConnect) CreateWorkerConfigurationRequest(input *CreateWorkerConfi // API operation CreateWorkerConfiguration for usage and error information. // // Returned Error Types: -// * NotFoundException -// HTTP Status Code 404: Resource not found due to incorrect input. Correct -// your request and then retry it. // -// * ConflictException -// HTTP Status Code 409: Conflict. A resource with this name already exists. -// Retry your request with another name. +// - NotFoundException +// HTTP Status Code 404: Resource not found due to incorrect input. Correct +// your request and then retry it. +// +// - ConflictException +// HTTP Status Code 409: Conflict. A resource with this name already exists. +// Retry your request with another name. // -// * BadRequestException -// HTTP Status Code 400: Bad request due to incorrect input. Correct your request -// and then retry it. +// - BadRequestException +// HTTP Status Code 400: Bad request due to incorrect input. Correct your request +// and then retry it. // -// * ForbiddenException -// HTTP Status Code 403: Access forbidden. Correct your credentials and then -// retry your request. +// - ForbiddenException +// HTTP Status Code 403: Access forbidden. Correct your credentials and then +// retry your request. // -// * ServiceUnavailableException -// HTTP Status Code 503: Service Unavailable. Retrying your request in some -// time might resolve the issue. +// - ServiceUnavailableException +// HTTP Status Code 503: Service Unavailable. Retrying your request in some +// time might resolve the issue. // -// * TooManyRequestsException -// HTTP Status Code 429: Limit exceeded. Resource limit reached. +// - TooManyRequestsException +// HTTP Status Code 429: Limit exceeded. Resource limit reached. // -// * UnauthorizedException -// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't -// be validated. +// - UnauthorizedException +// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't +// be validated. // -// * InternalServerErrorException -// HTTP Status Code 500: Unexpected internal server error. Retrying your request -// might resolve the issue. +// - InternalServerErrorException +// HTTP Status Code 500: Unexpected internal server error. Retrying your request +// might resolve the issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/CreateWorkerConfiguration func (c *KafkaConnect) CreateWorkerConfiguration(input *CreateWorkerConfigurationInput) (*CreateWorkerConfigurationOutput, error) { @@ -349,14 +349,13 @@ const opDeleteConnector = "DeleteConnector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConnectorRequest method. +// req, resp := client.DeleteConnectorRequest(params) // -// // Example sending a request using the DeleteConnectorRequest method. -// req, resp := client.DeleteConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteConnector func (c *KafkaConnect) DeleteConnectorRequest(input *DeleteConnectorInput) (req *request.Request, output *DeleteConnectorOutput) { @@ -387,32 +386,33 @@ func (c *KafkaConnect) DeleteConnectorRequest(input *DeleteConnectorInput) (req // API operation DeleteConnector for usage and error information. // // Returned Error Types: -// * NotFoundException -// HTTP Status Code 404: Resource not found due to incorrect input. Correct -// your request and then retry it. // -// * BadRequestException -// HTTP Status Code 400: Bad request due to incorrect input. Correct your request -// and then retry it. +// - NotFoundException +// HTTP Status Code 404: Resource not found due to incorrect input. Correct +// your request and then retry it. // -// * ForbiddenException -// HTTP Status Code 403: Access forbidden. Correct your credentials and then -// retry your request. +// - BadRequestException +// HTTP Status Code 400: Bad request due to incorrect input. Correct your request +// and then retry it. // -// * ServiceUnavailableException -// HTTP Status Code 503: Service Unavailable. Retrying your request in some -// time might resolve the issue. +// - ForbiddenException +// HTTP Status Code 403: Access forbidden. Correct your credentials and then +// retry your request. // -// * TooManyRequestsException -// HTTP Status Code 429: Limit exceeded. Resource limit reached. +// - ServiceUnavailableException +// HTTP Status Code 503: Service Unavailable. Retrying your request in some +// time might resolve the issue. // -// * UnauthorizedException -// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't -// be validated. +// - TooManyRequestsException +// HTTP Status Code 429: Limit exceeded. Resource limit reached. // -// * InternalServerErrorException -// HTTP Status Code 500: Unexpected internal server error. Retrying your request -// might resolve the issue. +// - UnauthorizedException +// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't +// be validated. +// +// - InternalServerErrorException +// HTTP Status Code 500: Unexpected internal server error. Retrying your request +// might resolve the issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteConnector func (c *KafkaConnect) DeleteConnector(input *DeleteConnectorInput) (*DeleteConnectorOutput, error) { @@ -452,14 +452,13 @@ const opDeleteCustomPlugin = "DeleteCustomPlugin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomPluginRequest method. +// req, resp := client.DeleteCustomPluginRequest(params) // -// // Example sending a request using the DeleteCustomPluginRequest method. -// req, resp := client.DeleteCustomPluginRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteCustomPlugin func (c *KafkaConnect) DeleteCustomPluginRequest(input *DeleteCustomPluginInput) (req *request.Request, output *DeleteCustomPluginOutput) { @@ -490,32 +489,33 @@ func (c *KafkaConnect) DeleteCustomPluginRequest(input *DeleteCustomPluginInput) // API operation DeleteCustomPlugin for usage and error information. // // Returned Error Types: -// * NotFoundException -// HTTP Status Code 404: Resource not found due to incorrect input. Correct -// your request and then retry it. // -// * BadRequestException -// HTTP Status Code 400: Bad request due to incorrect input. Correct your request -// and then retry it. +// - NotFoundException +// HTTP Status Code 404: Resource not found due to incorrect input. Correct +// your request and then retry it. // -// * ForbiddenException -// HTTP Status Code 403: Access forbidden. Correct your credentials and then -// retry your request. +// - BadRequestException +// HTTP Status Code 400: Bad request due to incorrect input. Correct your request +// and then retry it. // -// * ServiceUnavailableException -// HTTP Status Code 503: Service Unavailable. Retrying your request in some -// time might resolve the issue. +// - ForbiddenException +// HTTP Status Code 403: Access forbidden. Correct your credentials and then +// retry your request. // -// * TooManyRequestsException -// HTTP Status Code 429: Limit exceeded. Resource limit reached. +// - ServiceUnavailableException +// HTTP Status Code 503: Service Unavailable. Retrying your request in some +// time might resolve the issue. // -// * UnauthorizedException -// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't -// be validated. +// - TooManyRequestsException +// HTTP Status Code 429: Limit exceeded. Resource limit reached. // -// * InternalServerErrorException -// HTTP Status Code 500: Unexpected internal server error. Retrying your request -// might resolve the issue. +// - UnauthorizedException +// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't +// be validated. +// +// - InternalServerErrorException +// HTTP Status Code 500: Unexpected internal server error. Retrying your request +// might resolve the issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DeleteCustomPlugin func (c *KafkaConnect) DeleteCustomPlugin(input *DeleteCustomPluginInput) (*DeleteCustomPluginOutput, error) { @@ -555,14 +555,13 @@ const opDescribeConnector = "DescribeConnector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConnectorRequest method. +// req, resp := client.DescribeConnectorRequest(params) // -// // Example sending a request using the DescribeConnectorRequest method. -// req, resp := client.DescribeConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeConnector func (c *KafkaConnect) DescribeConnectorRequest(input *DescribeConnectorInput) (req *request.Request, output *DescribeConnectorOutput) { @@ -593,32 +592,33 @@ func (c *KafkaConnect) DescribeConnectorRequest(input *DescribeConnectorInput) ( // API operation DescribeConnector for usage and error information. // // Returned Error Types: -// * NotFoundException -// HTTP Status Code 404: Resource not found due to incorrect input. Correct -// your request and then retry it. // -// * BadRequestException -// HTTP Status Code 400: Bad request due to incorrect input. Correct your request -// and then retry it. +// - NotFoundException +// HTTP Status Code 404: Resource not found due to incorrect input. Correct +// your request and then retry it. // -// * ForbiddenException -// HTTP Status Code 403: Access forbidden. Correct your credentials and then -// retry your request. +// - BadRequestException +// HTTP Status Code 400: Bad request due to incorrect input. Correct your request +// and then retry it. // -// * ServiceUnavailableException -// HTTP Status Code 503: Service Unavailable. Retrying your request in some -// time might resolve the issue. +// - ForbiddenException +// HTTP Status Code 403: Access forbidden. Correct your credentials and then +// retry your request. // -// * TooManyRequestsException -// HTTP Status Code 429: Limit exceeded. Resource limit reached. +// - ServiceUnavailableException +// HTTP Status Code 503: Service Unavailable. Retrying your request in some +// time might resolve the issue. // -// * UnauthorizedException -// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't -// be validated. +// - TooManyRequestsException +// HTTP Status Code 429: Limit exceeded. Resource limit reached. // -// * InternalServerErrorException -// HTTP Status Code 500: Unexpected internal server error. Retrying your request -// might resolve the issue. +// - UnauthorizedException +// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't +// be validated. +// +// - InternalServerErrorException +// HTTP Status Code 500: Unexpected internal server error. Retrying your request +// might resolve the issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeConnector func (c *KafkaConnect) DescribeConnector(input *DescribeConnectorInput) (*DescribeConnectorOutput, error) { @@ -658,14 +658,13 @@ const opDescribeCustomPlugin = "DescribeCustomPlugin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCustomPluginRequest method. +// req, resp := client.DescribeCustomPluginRequest(params) // -// // Example sending a request using the DescribeCustomPluginRequest method. -// req, resp := client.DescribeCustomPluginRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeCustomPlugin func (c *KafkaConnect) DescribeCustomPluginRequest(input *DescribeCustomPluginInput) (req *request.Request, output *DescribeCustomPluginOutput) { @@ -696,32 +695,33 @@ func (c *KafkaConnect) DescribeCustomPluginRequest(input *DescribeCustomPluginIn // API operation DescribeCustomPlugin for usage and error information. // // Returned Error Types: -// * NotFoundException -// HTTP Status Code 404: Resource not found due to incorrect input. Correct -// your request and then retry it. // -// * BadRequestException -// HTTP Status Code 400: Bad request due to incorrect input. Correct your request -// and then retry it. +// - NotFoundException +// HTTP Status Code 404: Resource not found due to incorrect input. Correct +// your request and then retry it. +// +// - BadRequestException +// HTTP Status Code 400: Bad request due to incorrect input. Correct your request +// and then retry it. // -// * ForbiddenException -// HTTP Status Code 403: Access forbidden. Correct your credentials and then -// retry your request. +// - ForbiddenException +// HTTP Status Code 403: Access forbidden. Correct your credentials and then +// retry your request. // -// * ServiceUnavailableException -// HTTP Status Code 503: Service Unavailable. Retrying your request in some -// time might resolve the issue. +// - ServiceUnavailableException +// HTTP Status Code 503: Service Unavailable. Retrying your request in some +// time might resolve the issue. // -// * TooManyRequestsException -// HTTP Status Code 429: Limit exceeded. Resource limit reached. +// - TooManyRequestsException +// HTTP Status Code 429: Limit exceeded. Resource limit reached. // -// * UnauthorizedException -// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't -// be validated. +// - UnauthorizedException +// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't +// be validated. // -// * InternalServerErrorException -// HTTP Status Code 500: Unexpected internal server error. Retrying your request -// might resolve the issue. +// - InternalServerErrorException +// HTTP Status Code 500: Unexpected internal server error. Retrying your request +// might resolve the issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeCustomPlugin func (c *KafkaConnect) DescribeCustomPlugin(input *DescribeCustomPluginInput) (*DescribeCustomPluginOutput, error) { @@ -761,14 +761,13 @@ const opDescribeWorkerConfiguration = "DescribeWorkerConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkerConfigurationRequest method. +// req, resp := client.DescribeWorkerConfigurationRequest(params) // -// // Example sending a request using the DescribeWorkerConfigurationRequest method. -// req, resp := client.DescribeWorkerConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeWorkerConfiguration func (c *KafkaConnect) DescribeWorkerConfigurationRequest(input *DescribeWorkerConfigurationInput) (req *request.Request, output *DescribeWorkerConfigurationOutput) { @@ -799,32 +798,33 @@ func (c *KafkaConnect) DescribeWorkerConfigurationRequest(input *DescribeWorkerC // API operation DescribeWorkerConfiguration for usage and error information. // // Returned Error Types: -// * NotFoundException -// HTTP Status Code 404: Resource not found due to incorrect input. Correct -// your request and then retry it. // -// * BadRequestException -// HTTP Status Code 400: Bad request due to incorrect input. Correct your request -// and then retry it. +// - NotFoundException +// HTTP Status Code 404: Resource not found due to incorrect input. Correct +// your request and then retry it. +// +// - BadRequestException +// HTTP Status Code 400: Bad request due to incorrect input. Correct your request +// and then retry it. // -// * ForbiddenException -// HTTP Status Code 403: Access forbidden. Correct your credentials and then -// retry your request. +// - ForbiddenException +// HTTP Status Code 403: Access forbidden. Correct your credentials and then +// retry your request. // -// * ServiceUnavailableException -// HTTP Status Code 503: Service Unavailable. Retrying your request in some -// time might resolve the issue. +// - ServiceUnavailableException +// HTTP Status Code 503: Service Unavailable. Retrying your request in some +// time might resolve the issue. // -// * TooManyRequestsException -// HTTP Status Code 429: Limit exceeded. Resource limit reached. +// - TooManyRequestsException +// HTTP Status Code 429: Limit exceeded. Resource limit reached. // -// * UnauthorizedException -// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't -// be validated. +// - UnauthorizedException +// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't +// be validated. // -// * InternalServerErrorException -// HTTP Status Code 500: Unexpected internal server error. Retrying your request -// might resolve the issue. +// - InternalServerErrorException +// HTTP Status Code 500: Unexpected internal server error. Retrying your request +// might resolve the issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/DescribeWorkerConfiguration func (c *KafkaConnect) DescribeWorkerConfiguration(input *DescribeWorkerConfigurationInput) (*DescribeWorkerConfigurationOutput, error) { @@ -864,14 +864,13 @@ const opListConnectors = "ListConnectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConnectorsRequest method. +// req, resp := client.ListConnectorsRequest(params) // -// // Example sending a request using the ListConnectorsRequest method. -// req, resp := client.ListConnectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListConnectors func (c *KafkaConnect) ListConnectorsRequest(input *ListConnectorsInput) (req *request.Request, output *ListConnectorsOutput) { @@ -910,32 +909,33 @@ func (c *KafkaConnect) ListConnectorsRequest(input *ListConnectorsInput) (req *r // API operation ListConnectors for usage and error information. // // Returned Error Types: -// * NotFoundException -// HTTP Status Code 404: Resource not found due to incorrect input. Correct -// your request and then retry it. // -// * BadRequestException -// HTTP Status Code 400: Bad request due to incorrect input. Correct your request -// and then retry it. +// - NotFoundException +// HTTP Status Code 404: Resource not found due to incorrect input. Correct +// your request and then retry it. +// +// - BadRequestException +// HTTP Status Code 400: Bad request due to incorrect input. Correct your request +// and then retry it. // -// * ForbiddenException -// HTTP Status Code 403: Access forbidden. Correct your credentials and then -// retry your request. +// - ForbiddenException +// HTTP Status Code 403: Access forbidden. Correct your credentials and then +// retry your request. // -// * ServiceUnavailableException -// HTTP Status Code 503: Service Unavailable. Retrying your request in some -// time might resolve the issue. +// - ServiceUnavailableException +// HTTP Status Code 503: Service Unavailable. Retrying your request in some +// time might resolve the issue. // -// * TooManyRequestsException -// HTTP Status Code 429: Limit exceeded. Resource limit reached. +// - TooManyRequestsException +// HTTP Status Code 429: Limit exceeded. Resource limit reached. // -// * UnauthorizedException -// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't -// be validated. +// - UnauthorizedException +// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't +// be validated. // -// * InternalServerErrorException -// HTTP Status Code 500: Unexpected internal server error. Retrying your request -// might resolve the issue. +// - InternalServerErrorException +// HTTP Status Code 500: Unexpected internal server error. Retrying your request +// might resolve the issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListConnectors func (c *KafkaConnect) ListConnectors(input *ListConnectorsInput) (*ListConnectorsOutput, error) { @@ -967,15 +967,14 @@ func (c *KafkaConnect) ListConnectorsWithContext(ctx aws.Context, input *ListCon // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListConnectors operation. -// pageNum := 0 -// err := client.ListConnectorsPages(params, -// func(page *kafkaconnect.ListConnectorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListConnectors operation. +// pageNum := 0 +// err := client.ListConnectorsPages(params, +// func(page *kafkaconnect.ListConnectorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *KafkaConnect) ListConnectorsPages(input *ListConnectorsInput, fn func(*ListConnectorsOutput, bool) bool) error { return c.ListConnectorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1027,14 +1026,13 @@ const opListCustomPlugins = "ListCustomPlugins" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCustomPluginsRequest method. +// req, resp := client.ListCustomPluginsRequest(params) // -// // Example sending a request using the ListCustomPluginsRequest method. -// req, resp := client.ListCustomPluginsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListCustomPlugins func (c *KafkaConnect) ListCustomPluginsRequest(input *ListCustomPluginsInput) (req *request.Request, output *ListCustomPluginsOutput) { @@ -1071,32 +1069,33 @@ func (c *KafkaConnect) ListCustomPluginsRequest(input *ListCustomPluginsInput) ( // API operation ListCustomPlugins for usage and error information. // // Returned Error Types: -// * NotFoundException -// HTTP Status Code 404: Resource not found due to incorrect input. Correct -// your request and then retry it. // -// * BadRequestException -// HTTP Status Code 400: Bad request due to incorrect input. Correct your request -// and then retry it. +// - NotFoundException +// HTTP Status Code 404: Resource not found due to incorrect input. Correct +// your request and then retry it. +// +// - BadRequestException +// HTTP Status Code 400: Bad request due to incorrect input. Correct your request +// and then retry it. // -// * ForbiddenException -// HTTP Status Code 403: Access forbidden. Correct your credentials and then -// retry your request. +// - ForbiddenException +// HTTP Status Code 403: Access forbidden. Correct your credentials and then +// retry your request. // -// * ServiceUnavailableException -// HTTP Status Code 503: Service Unavailable. Retrying your request in some -// time might resolve the issue. +// - ServiceUnavailableException +// HTTP Status Code 503: Service Unavailable. Retrying your request in some +// time might resolve the issue. // -// * TooManyRequestsException -// HTTP Status Code 429: Limit exceeded. Resource limit reached. +// - TooManyRequestsException +// HTTP Status Code 429: Limit exceeded. Resource limit reached. // -// * UnauthorizedException -// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't -// be validated. +// - UnauthorizedException +// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't +// be validated. // -// * InternalServerErrorException -// HTTP Status Code 500: Unexpected internal server error. Retrying your request -// might resolve the issue. +// - InternalServerErrorException +// HTTP Status Code 500: Unexpected internal server error. Retrying your request +// might resolve the issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListCustomPlugins func (c *KafkaConnect) ListCustomPlugins(input *ListCustomPluginsInput) (*ListCustomPluginsOutput, error) { @@ -1128,15 +1127,14 @@ func (c *KafkaConnect) ListCustomPluginsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCustomPlugins operation. -// pageNum := 0 -// err := client.ListCustomPluginsPages(params, -// func(page *kafkaconnect.ListCustomPluginsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCustomPlugins operation. +// pageNum := 0 +// err := client.ListCustomPluginsPages(params, +// func(page *kafkaconnect.ListCustomPluginsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *KafkaConnect) ListCustomPluginsPages(input *ListCustomPluginsInput, fn func(*ListCustomPluginsOutput, bool) bool) error { return c.ListCustomPluginsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1188,14 +1186,13 @@ const opListWorkerConfigurations = "ListWorkerConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorkerConfigurationsRequest method. +// req, resp := client.ListWorkerConfigurationsRequest(params) // -// // Example sending a request using the ListWorkerConfigurationsRequest method. -// req, resp := client.ListWorkerConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListWorkerConfigurations func (c *KafkaConnect) ListWorkerConfigurationsRequest(input *ListWorkerConfigurationsInput) (req *request.Request, output *ListWorkerConfigurationsOutput) { @@ -1232,32 +1229,33 @@ func (c *KafkaConnect) ListWorkerConfigurationsRequest(input *ListWorkerConfigur // API operation ListWorkerConfigurations for usage and error information. // // Returned Error Types: -// * NotFoundException -// HTTP Status Code 404: Resource not found due to incorrect input. Correct -// your request and then retry it. // -// * BadRequestException -// HTTP Status Code 400: Bad request due to incorrect input. Correct your request -// and then retry it. +// - NotFoundException +// HTTP Status Code 404: Resource not found due to incorrect input. Correct +// your request and then retry it. +// +// - BadRequestException +// HTTP Status Code 400: Bad request due to incorrect input. Correct your request +// and then retry it. // -// * ForbiddenException -// HTTP Status Code 403: Access forbidden. Correct your credentials and then -// retry your request. +// - ForbiddenException +// HTTP Status Code 403: Access forbidden. Correct your credentials and then +// retry your request. // -// * ServiceUnavailableException -// HTTP Status Code 503: Service Unavailable. Retrying your request in some -// time might resolve the issue. +// - ServiceUnavailableException +// HTTP Status Code 503: Service Unavailable. Retrying your request in some +// time might resolve the issue. // -// * TooManyRequestsException -// HTTP Status Code 429: Limit exceeded. Resource limit reached. +// - TooManyRequestsException +// HTTP Status Code 429: Limit exceeded. Resource limit reached. // -// * UnauthorizedException -// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't -// be validated. +// - UnauthorizedException +// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't +// be validated. // -// * InternalServerErrorException -// HTTP Status Code 500: Unexpected internal server error. Retrying your request -// might resolve the issue. +// - InternalServerErrorException +// HTTP Status Code 500: Unexpected internal server error. Retrying your request +// might resolve the issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/ListWorkerConfigurations func (c *KafkaConnect) ListWorkerConfigurations(input *ListWorkerConfigurationsInput) (*ListWorkerConfigurationsOutput, error) { @@ -1289,15 +1287,14 @@ func (c *KafkaConnect) ListWorkerConfigurationsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorkerConfigurations operation. -// pageNum := 0 -// err := client.ListWorkerConfigurationsPages(params, -// func(page *kafkaconnect.ListWorkerConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorkerConfigurations operation. +// pageNum := 0 +// err := client.ListWorkerConfigurationsPages(params, +// func(page *kafkaconnect.ListWorkerConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *KafkaConnect) ListWorkerConfigurationsPages(input *ListWorkerConfigurationsInput, fn func(*ListWorkerConfigurationsOutput, bool) bool) error { return c.ListWorkerConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1349,14 +1346,13 @@ const opUpdateConnector = "UpdateConnector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConnectorRequest method. +// req, resp := client.UpdateConnectorRequest(params) // -// // Example sending a request using the UpdateConnectorRequest method. -// req, resp := client.UpdateConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UpdateConnector func (c *KafkaConnect) UpdateConnectorRequest(input *UpdateConnectorInput) (req *request.Request, output *UpdateConnectorOutput) { @@ -1387,32 +1383,33 @@ func (c *KafkaConnect) UpdateConnectorRequest(input *UpdateConnectorInput) (req // API operation UpdateConnector for usage and error information. // // Returned Error Types: -// * NotFoundException -// HTTP Status Code 404: Resource not found due to incorrect input. Correct -// your request and then retry it. // -// * BadRequestException -// HTTP Status Code 400: Bad request due to incorrect input. Correct your request -// and then retry it. +// - NotFoundException +// HTTP Status Code 404: Resource not found due to incorrect input. Correct +// your request and then retry it. +// +// - BadRequestException +// HTTP Status Code 400: Bad request due to incorrect input. Correct your request +// and then retry it. // -// * ForbiddenException -// HTTP Status Code 403: Access forbidden. Correct your credentials and then -// retry your request. +// - ForbiddenException +// HTTP Status Code 403: Access forbidden. Correct your credentials and then +// retry your request. // -// * ServiceUnavailableException -// HTTP Status Code 503: Service Unavailable. Retrying your request in some -// time might resolve the issue. +// - ServiceUnavailableException +// HTTP Status Code 503: Service Unavailable. Retrying your request in some +// time might resolve the issue. // -// * TooManyRequestsException -// HTTP Status Code 429: Limit exceeded. Resource limit reached. +// - TooManyRequestsException +// HTTP Status Code 429: Limit exceeded. Resource limit reached. // -// * UnauthorizedException -// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't -// be validated. +// - UnauthorizedException +// HTTP Status Code 401: Unauthorized request. The provided credentials couldn't +// be validated. // -// * InternalServerErrorException -// HTTP Status Code 500: Unexpected internal server error. Retrying your request -// might resolve the issue. +// - InternalServerErrorException +// HTTP Status Code 500: Unexpected internal server error. Retrying your request +// might resolve the issue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kafkaconnect-2021-09-14/UpdateConnector func (c *KafkaConnect) UpdateConnector(input *UpdateConnectorInput) (*UpdateConnectorOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/doc.go index ac5508355c11..d4f66fc776d9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/doc.go @@ -8,7 +8,7 @@ // See kafkaconnect package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/kafkaconnect/ // -// Using the Client +// # Using the Client // // To contact Managed Streaming for Kafka Connect with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/kafkaconnectiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/kafkaconnectiface/interface.go index 0aaa6fb4143d..41a5257a6625 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/kafkaconnectiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/kafkaconnectiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Managed Streaming for Kafka Connect. -// func myFunc(svc kafkaconnectiface.KafkaConnectAPI) bool { -// // Make svc.CreateConnector request -// } +// // myFunc uses an SDK service client to make a request to +// // Managed Streaming for Kafka Connect. +// func myFunc(svc kafkaconnectiface.KafkaConnectAPI) bool { +// // Make svc.CreateConnector request +// } // -// func main() { -// sess := session.New() -// svc := kafkaconnect.New(sess) +// func main() { +// sess := session.New() +// svc := kafkaconnect.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockKafkaConnectClient struct { -// kafkaconnectiface.KafkaConnectAPI -// } -// func (m *mockKafkaConnectClient) CreateConnector(input *kafkaconnect.CreateConnectorInput) (*kafkaconnect.CreateConnectorOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockKafkaConnectClient struct { +// kafkaconnectiface.KafkaConnectAPI +// } +// func (m *mockKafkaConnectClient) CreateConnector(input *kafkaconnect.CreateConnectorInput) (*kafkaconnect.CreateConnectorOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockKafkaConnectClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockKafkaConnectClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/service.go index f65cda4ec74f..2b6c35fbe196 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kafkaconnect/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a KafkaConnect client from just a session. -// svc := kafkaconnect.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a KafkaConnect client with additional configuration -// svc := kafkaconnect.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a KafkaConnect client from just a session. +// svc := kafkaconnect.New(mySession) +// +// // Create a KafkaConnect client with additional configuration +// svc := kafkaconnect.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *KafkaConnect { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/api.go index 386f2cbcd3fc..67a32ff5f509 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/api.go @@ -29,14 +29,13 @@ const opAssociateEntitiesToExperience = "AssociateEntitiesToExperience" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateEntitiesToExperienceRequest method. +// req, resp := client.AssociateEntitiesToExperienceRequest(params) // -// // Example sending a request using the AssociateEntitiesToExperienceRequest method. -// req, resp := client.AssociateEntitiesToExperienceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/AssociateEntitiesToExperience func (c *Kendra) AssociateEntitiesToExperienceRequest(input *AssociateEntitiesToExperienceInput) (req *request.Request, output *AssociateEntitiesToExperienceOutput) { @@ -70,17 +69,18 @@ func (c *Kendra) AssociateEntitiesToExperienceRequest(input *AssociateEntitiesTo // API operation AssociateEntitiesToExperience for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ResourceAlreadyExistException +// - ResourceAlreadyExistException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/AssociateEntitiesToExperience func (c *Kendra) AssociateEntitiesToExperience(input *AssociateEntitiesToExperienceInput) (*AssociateEntitiesToExperienceOutput, error) { @@ -120,14 +120,13 @@ const opAssociatePersonasToEntities = "AssociatePersonasToEntities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociatePersonasToEntitiesRequest method. +// req, resp := client.AssociatePersonasToEntitiesRequest(params) // -// // Example sending a request using the AssociatePersonasToEntitiesRequest method. -// req, resp := client.AssociatePersonasToEntitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/AssociatePersonasToEntities func (c *Kendra) AssociatePersonasToEntitiesRequest(input *AssociatePersonasToEntitiesInput) (req *request.Request, output *AssociatePersonasToEntitiesOutput) { @@ -162,17 +161,18 @@ func (c *Kendra) AssociatePersonasToEntitiesRequest(input *AssociatePersonasToEn // API operation AssociatePersonasToEntities for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ResourceAlreadyExistException +// - ResourceAlreadyExistException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/AssociatePersonasToEntities func (c *Kendra) AssociatePersonasToEntities(input *AssociatePersonasToEntitiesInput) (*AssociatePersonasToEntitiesOutput, error) { @@ -212,14 +212,13 @@ const opBatchDeleteDocument = "BatchDeleteDocument" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteDocumentRequest method. +// req, resp := client.BatchDeleteDocumentRequest(params) // -// // Example sending a request using the BatchDeleteDocumentRequest method. -// req, resp := client.BatchDeleteDocumentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/BatchDeleteDocument func (c *Kendra) BatchDeleteDocumentRequest(input *BatchDeleteDocumentInput) (req *request.Request, output *BatchDeleteDocumentOutput) { @@ -255,17 +254,18 @@ func (c *Kendra) BatchDeleteDocumentRequest(input *BatchDeleteDocumentInput) (re // API operation BatchDeleteDocument for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException +// +// - ConflictException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/BatchDeleteDocument func (c *Kendra) BatchDeleteDocument(input *BatchDeleteDocumentInput) (*BatchDeleteDocumentOutput, error) { @@ -305,14 +305,13 @@ const opBatchGetDocumentStatus = "BatchGetDocumentStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetDocumentStatusRequest method. +// req, resp := client.BatchGetDocumentStatusRequest(params) // -// // Example sending a request using the BatchGetDocumentStatusRequest method. -// req, resp := client.BatchGetDocumentStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/BatchGetDocumentStatus func (c *Kendra) BatchGetDocumentStatusRequest(input *BatchGetDocumentStatusInput) (req *request.Request, output *BatchGetDocumentStatusOutput) { @@ -355,17 +354,18 @@ func (c *Kendra) BatchGetDocumentStatusRequest(input *BatchGetDocumentStatusInpu // API operation BatchGetDocumentStatus for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException +// +// - ConflictException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/BatchGetDocumentStatus func (c *Kendra) BatchGetDocumentStatus(input *BatchGetDocumentStatusInput) (*BatchGetDocumentStatusOutput, error) { @@ -405,14 +405,13 @@ const opBatchPutDocument = "BatchPutDocument" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchPutDocumentRequest method. +// req, resp := client.BatchPutDocumentRequest(params) // -// // Example sending a request using the BatchPutDocumentRequest method. -// req, resp := client.BatchPutDocumentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/BatchPutDocument func (c *Kendra) BatchPutDocumentRequest(input *BatchPutDocumentInput) (req *request.Request, output *BatchPutDocumentOutput) { @@ -452,19 +451,20 @@ func (c *Kendra) BatchPutDocumentRequest(input *BatchPutDocumentInput) (req *req // API operation BatchPutDocument for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException +// +// - ConflictException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * ServiceQuotaExceededException +// - ServiceQuotaExceededException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/BatchPutDocument func (c *Kendra) BatchPutDocument(input *BatchPutDocumentInput) (*BatchPutDocumentOutput, error) { @@ -504,14 +504,13 @@ const opClearQuerySuggestions = "ClearQuerySuggestions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ClearQuerySuggestionsRequest method. +// req, resp := client.ClearQuerySuggestionsRequest(params) // -// // Example sending a request using the ClearQuerySuggestionsRequest method. -// req, resp := client.ClearQuerySuggestionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ClearQuerySuggestions func (c *Kendra) ClearQuerySuggestionsRequest(input *ClearQuerySuggestionsInput) (req *request.Request, output *ClearQuerySuggestionsOutput) { @@ -552,17 +551,18 @@ func (c *Kendra) ClearQuerySuggestionsRequest(input *ClearQuerySuggestionsInput) // API operation ClearQuerySuggestions for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * ConflictException +// - ConflictException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ClearQuerySuggestions func (c *Kendra) ClearQuerySuggestions(input *ClearQuerySuggestionsInput) (*ClearQuerySuggestionsOutput, error) { @@ -602,14 +602,13 @@ const opCreateDataSource = "CreateDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataSourceRequest method. +// req, resp := client.CreateDataSourceRequest(params) // -// // Example sending a request using the CreateDataSourceRequest method. -// req, resp := client.CreateDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateDataSource func (c *Kendra) CreateDataSourceRequest(input *CreateDataSourceInput) (req *request.Request, output *CreateDataSourceOutput) { @@ -650,21 +649,22 @@ func (c *Kendra) CreateDataSourceRequest(input *CreateDataSourceInput) (req *req // API operation CreateDataSource for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException +// +// - ConflictException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ResourceAlreadyExistException +// - ResourceAlreadyExistException // -// * ServiceQuotaExceededException +// - ServiceQuotaExceededException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateDataSource func (c *Kendra) CreateDataSource(input *CreateDataSourceInput) (*CreateDataSourceOutput, error) { @@ -704,14 +704,13 @@ const opCreateExperience = "CreateExperience" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateExperienceRequest method. +// req, resp := client.CreateExperienceRequest(params) // -// // Example sending a request using the CreateExperienceRequest method. -// req, resp := client.CreateExperienceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateExperience func (c *Kendra) CreateExperienceRequest(input *CreateExperienceInput) (req *request.Request, output *CreateExperienceOutput) { @@ -744,19 +743,20 @@ func (c *Kendra) CreateExperienceRequest(input *CreateExperienceInput) (req *req // API operation CreateExperience for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException +// +// - ConflictException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ServiceQuotaExceededException +// - ServiceQuotaExceededException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateExperience func (c *Kendra) CreateExperience(input *CreateExperienceInput) (*CreateExperienceOutput, error) { @@ -796,14 +796,13 @@ const opCreateFaq = "CreateFaq" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFaqRequest method. +// req, resp := client.CreateFaqRequest(params) // -// // Example sending a request using the CreateFaqRequest method. -// req, resp := client.CreateFaqRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateFaq func (c *Kendra) CreateFaqRequest(input *CreateFaqInput) (req *request.Request, output *CreateFaqOutput) { @@ -836,19 +835,20 @@ func (c *Kendra) CreateFaqRequest(input *CreateFaqInput) (req *request.Request, // API operation CreateFaq for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException +// +// - ConflictException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * ServiceQuotaExceededException +// - ServiceQuotaExceededException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateFaq func (c *Kendra) CreateFaq(input *CreateFaqInput) (*CreateFaqOutput, error) { @@ -888,14 +888,13 @@ const opCreateIndex = "CreateIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIndexRequest method. +// req, resp := client.CreateIndexRequest(params) // -// // Example sending a request using the CreateIndexRequest method. -// req, resp := client.CreateIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateIndex func (c *Kendra) CreateIndexRequest(input *CreateIndexInput) (req *request.Request, output *CreateIndexOutput) { @@ -932,19 +931,20 @@ func (c *Kendra) CreateIndexRequest(input *CreateIndexInput) (req *request.Reque // API operation CreateIndex for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceAlreadyExistException +// - ValidationException +// +// - ResourceAlreadyExistException // -// * ServiceQuotaExceededException +// - ServiceQuotaExceededException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * ConflictException +// - ConflictException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateIndex func (c *Kendra) CreateIndex(input *CreateIndexInput) (*CreateIndexOutput, error) { @@ -984,14 +984,13 @@ const opCreateQuerySuggestionsBlockList = "CreateQuerySuggestionsBlockList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateQuerySuggestionsBlockListRequest method. +// req, resp := client.CreateQuerySuggestionsBlockListRequest(params) // -// // Example sending a request using the CreateQuerySuggestionsBlockListRequest method. -// req, resp := client.CreateQuerySuggestionsBlockListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateQuerySuggestionsBlockList func (c *Kendra) CreateQuerySuggestionsBlockListRequest(input *CreateQuerySuggestionsBlockListInput) (req *request.Request, output *CreateQuerySuggestionsBlockListOutput) { @@ -1035,19 +1034,20 @@ func (c *Kendra) CreateQuerySuggestionsBlockListRequest(input *CreateQuerySugges // API operation CreateQuerySuggestionsBlockList for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * ServiceQuotaExceededException +// - ServiceQuotaExceededException // -// * ConflictException +// - ConflictException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateQuerySuggestionsBlockList func (c *Kendra) CreateQuerySuggestionsBlockList(input *CreateQuerySuggestionsBlockListInput) (*CreateQuerySuggestionsBlockListOutput, error) { @@ -1087,14 +1087,13 @@ const opCreateThesaurus = "CreateThesaurus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateThesaurusRequest method. +// req, resp := client.CreateThesaurusRequest(params) // -// // Example sending a request using the CreateThesaurusRequest method. -// req, resp := client.CreateThesaurusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateThesaurus func (c *Kendra) CreateThesaurusRequest(input *CreateThesaurusInput) (req *request.Request, output *CreateThesaurusOutput) { @@ -1126,19 +1125,20 @@ func (c *Kendra) CreateThesaurusRequest(input *CreateThesaurusInput) (req *reque // API operation CreateThesaurus for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException +// +// - ConflictException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * ServiceQuotaExceededException +// - ServiceQuotaExceededException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateThesaurus func (c *Kendra) CreateThesaurus(input *CreateThesaurusInput) (*CreateThesaurusOutput, error) { @@ -1178,14 +1178,13 @@ const opDeleteDataSource = "DeleteDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDataSourceRequest method. +// req, resp := client.DeleteDataSourceRequest(params) // -// // Example sending a request using the DeleteDataSourceRequest method. -// req, resp := client.DeleteDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteDataSource func (c *Kendra) DeleteDataSourceRequest(input *DeleteDataSourceInput) (req *request.Request, output *DeleteDataSourceOutput) { @@ -1220,17 +1219,18 @@ func (c *Kendra) DeleteDataSourceRequest(input *DeleteDataSourceInput) (req *req // API operation DeleteDataSource for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ValidationException +// - AccessDeniedException +// +// - ValidationException // -// * ConflictException +// - ConflictException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteDataSource func (c *Kendra) DeleteDataSource(input *DeleteDataSourceInput) (*DeleteDataSourceOutput, error) { @@ -1270,14 +1270,13 @@ const opDeleteExperience = "DeleteExperience" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteExperienceRequest method. +// req, resp := client.DeleteExperienceRequest(params) // -// // Example sending a request using the DeleteExperienceRequest method. -// req, resp := client.DeleteExperienceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteExperience func (c *Kendra) DeleteExperienceRequest(input *DeleteExperienceInput) (req *request.Request, output *DeleteExperienceOutput) { @@ -1311,17 +1310,18 @@ func (c *Kendra) DeleteExperienceRequest(input *DeleteExperienceInput) (req *req // API operation DeleteExperience for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ValidationException +// - AccessDeniedException +// +// - ValidationException // -// * ConflictException +// - ConflictException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteExperience func (c *Kendra) DeleteExperience(input *DeleteExperienceInput) (*DeleteExperienceOutput, error) { @@ -1361,14 +1361,13 @@ const opDeleteFaq = "DeleteFaq" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFaqRequest method. +// req, resp := client.DeleteFaqRequest(params) // -// // Example sending a request using the DeleteFaqRequest method. -// req, resp := client.DeleteFaqRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteFaq func (c *Kendra) DeleteFaqRequest(input *DeleteFaqInput) (req *request.Request, output *DeleteFaqOutput) { @@ -1400,17 +1399,18 @@ func (c *Kendra) DeleteFaqRequest(input *DeleteFaqInput) (req *request.Request, // API operation DeleteFaq for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException +// +// - ConflictException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteFaq func (c *Kendra) DeleteFaq(input *DeleteFaqInput) (*DeleteFaqOutput, error) { @@ -1450,14 +1450,13 @@ const opDeleteIndex = "DeleteIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIndexRequest method. +// req, resp := client.DeleteIndexRequest(params) // -// // Example sending a request using the DeleteIndexRequest method. -// req, resp := client.DeleteIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteIndex func (c *Kendra) DeleteIndexRequest(input *DeleteIndexInput) (req *request.Request, output *DeleteIndexOutput) { @@ -1491,17 +1490,18 @@ func (c *Kendra) DeleteIndexRequest(input *DeleteIndexInput) (req *request.Reque // API operation DeleteIndex for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException // -// * ResourceNotFoundException +// - ConflictException // -// * ThrottlingException +// - ResourceNotFoundException // -// * AccessDeniedException +// - ThrottlingException // -// * InternalServerException +// - AccessDeniedException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteIndex func (c *Kendra) DeleteIndex(input *DeleteIndexInput) (*DeleteIndexOutput, error) { @@ -1541,14 +1541,13 @@ const opDeletePrincipalMapping = "DeletePrincipalMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePrincipalMappingRequest method. +// req, resp := client.DeletePrincipalMappingRequest(params) // -// // Example sending a request using the DeletePrincipalMappingRequest method. -// req, resp := client.DeletePrincipalMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeletePrincipalMapping func (c *Kendra) DeletePrincipalMappingRequest(input *DeletePrincipalMappingInput) (req *request.Request, output *DeletePrincipalMappingOutput) { @@ -1594,17 +1593,18 @@ func (c *Kendra) DeletePrincipalMappingRequest(input *DeletePrincipalMappingInpu // API operation DeletePrincipalMapping for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException // -// * ResourceNotFoundException +// - ConflictException // -// * ThrottlingException +// - ResourceNotFoundException // -// * AccessDeniedException +// - ThrottlingException // -// * InternalServerException +// - AccessDeniedException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeletePrincipalMapping func (c *Kendra) DeletePrincipalMapping(input *DeletePrincipalMappingInput) (*DeletePrincipalMappingOutput, error) { @@ -1644,14 +1644,13 @@ const opDeleteQuerySuggestionsBlockList = "DeleteQuerySuggestionsBlockList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteQuerySuggestionsBlockListRequest method. +// req, resp := client.DeleteQuerySuggestionsBlockListRequest(params) // -// // Example sending a request using the DeleteQuerySuggestionsBlockListRequest method. -// req, resp := client.DeleteQuerySuggestionsBlockListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteQuerySuggestionsBlockList func (c *Kendra) DeleteQuerySuggestionsBlockListRequest(input *DeleteQuerySuggestionsBlockListInput) (req *request.Request, output *DeleteQuerySuggestionsBlockListOutput) { @@ -1690,17 +1689,18 @@ func (c *Kendra) DeleteQuerySuggestionsBlockListRequest(input *DeleteQuerySugges // API operation DeleteQuerySuggestionsBlockList for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException // -// * ThrottlingException +// - ResourceNotFoundException // -// * AccessDeniedException +// - ThrottlingException // -// * ConflictException +// - AccessDeniedException // -// * InternalServerException +// - ConflictException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteQuerySuggestionsBlockList func (c *Kendra) DeleteQuerySuggestionsBlockList(input *DeleteQuerySuggestionsBlockListInput) (*DeleteQuerySuggestionsBlockListOutput, error) { @@ -1740,14 +1740,13 @@ const opDeleteThesaurus = "DeleteThesaurus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteThesaurusRequest method. +// req, resp := client.DeleteThesaurusRequest(params) // -// // Example sending a request using the DeleteThesaurusRequest method. -// req, resp := client.DeleteThesaurusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteThesaurus func (c *Kendra) DeleteThesaurusRequest(input *DeleteThesaurusInput) (req *request.Request, output *DeleteThesaurusOutput) { @@ -1779,17 +1778,18 @@ func (c *Kendra) DeleteThesaurusRequest(input *DeleteThesaurusInput) (req *reque // API operation DeleteThesaurus for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException // -// * ResourceNotFoundException +// - ConflictException // -// * ThrottlingException +// - ResourceNotFoundException // -// * AccessDeniedException +// - ThrottlingException // -// * InternalServerException +// - AccessDeniedException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteThesaurus func (c *Kendra) DeleteThesaurus(input *DeleteThesaurusInput) (*DeleteThesaurusOutput, error) { @@ -1829,14 +1829,13 @@ const opDescribeDataSource = "DescribeDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDataSourceRequest method. +// req, resp := client.DescribeDataSourceRequest(params) // -// // Example sending a request using the DescribeDataSourceRequest method. -// req, resp := client.DescribeDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeDataSource func (c *Kendra) DescribeDataSourceRequest(input *DescribeDataSourceInput) (req *request.Request, output *DescribeDataSourceOutput) { @@ -1867,15 +1866,16 @@ func (c *Kendra) DescribeDataSourceRequest(input *DescribeDataSourceInput) (req // API operation DescribeDataSource for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException // -// * ThrottlingException +// - ResourceNotFoundException // -// * AccessDeniedException +// - ThrottlingException // -// * InternalServerException +// - AccessDeniedException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeDataSource func (c *Kendra) DescribeDataSource(input *DescribeDataSourceInput) (*DescribeDataSourceOutput, error) { @@ -1915,14 +1915,13 @@ const opDescribeExperience = "DescribeExperience" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExperienceRequest method. +// req, resp := client.DescribeExperienceRequest(params) // -// // Example sending a request using the DescribeExperienceRequest method. -// req, resp := client.DescribeExperienceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeExperience func (c *Kendra) DescribeExperienceRequest(input *DescribeExperienceInput) (req *request.Request, output *DescribeExperienceOutput) { @@ -1955,15 +1954,16 @@ func (c *Kendra) DescribeExperienceRequest(input *DescribeExperienceInput) (req // API operation DescribeExperience for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException // -// * ThrottlingException +// - ResourceNotFoundException // -// * AccessDeniedException +// - ThrottlingException // -// * InternalServerException +// - AccessDeniedException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeExperience func (c *Kendra) DescribeExperience(input *DescribeExperienceInput) (*DescribeExperienceOutput, error) { @@ -2003,14 +2003,13 @@ const opDescribeFaq = "DescribeFaq" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFaqRequest method. +// req, resp := client.DescribeFaqRequest(params) // -// // Example sending a request using the DescribeFaqRequest method. -// req, resp := client.DescribeFaqRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeFaq func (c *Kendra) DescribeFaqRequest(input *DescribeFaqInput) (req *request.Request, output *DescribeFaqOutput) { @@ -2041,15 +2040,16 @@ func (c *Kendra) DescribeFaqRequest(input *DescribeFaqInput) (req *request.Reque // API operation DescribeFaq for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException // -// * ThrottlingException +// - ResourceNotFoundException // -// * AccessDeniedException +// - ThrottlingException // -// * InternalServerException +// - AccessDeniedException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeFaq func (c *Kendra) DescribeFaq(input *DescribeFaqInput) (*DescribeFaqOutput, error) { @@ -2089,14 +2089,13 @@ const opDescribeIndex = "DescribeIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIndexRequest method. +// req, resp := client.DescribeIndexRequest(params) // -// // Example sending a request using the DescribeIndexRequest method. -// req, resp := client.DescribeIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeIndex func (c *Kendra) DescribeIndexRequest(input *DescribeIndexInput) (req *request.Request, output *DescribeIndexOutput) { @@ -2127,15 +2126,16 @@ func (c *Kendra) DescribeIndexRequest(input *DescribeIndexInput) (req *request.R // API operation DescribeIndex for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeIndex func (c *Kendra) DescribeIndex(input *DescribeIndexInput) (*DescribeIndexOutput, error) { @@ -2175,14 +2175,13 @@ const opDescribePrincipalMapping = "DescribePrincipalMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePrincipalMappingRequest method. +// req, resp := client.DescribePrincipalMappingRequest(params) // -// // Example sending a request using the DescribePrincipalMappingRequest method. -// req, resp := client.DescribePrincipalMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribePrincipalMapping func (c *Kendra) DescribePrincipalMappingRequest(input *DescribePrincipalMappingInput) (req *request.Request, output *DescribePrincipalMappingOutput) { @@ -2221,15 +2220,16 @@ func (c *Kendra) DescribePrincipalMappingRequest(input *DescribePrincipalMapping // API operation DescribePrincipalMapping for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribePrincipalMapping func (c *Kendra) DescribePrincipalMapping(input *DescribePrincipalMappingInput) (*DescribePrincipalMappingOutput, error) { @@ -2269,14 +2269,13 @@ const opDescribeQuerySuggestionsBlockList = "DescribeQuerySuggestionsBlockList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeQuerySuggestionsBlockListRequest method. +// req, resp := client.DescribeQuerySuggestionsBlockListRequest(params) // -// // Example sending a request using the DescribeQuerySuggestionsBlockListRequest method. -// req, resp := client.DescribeQuerySuggestionsBlockListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeQuerySuggestionsBlockList func (c *Kendra) DescribeQuerySuggestionsBlockListRequest(input *DescribeQuerySuggestionsBlockListInput) (req *request.Request, output *DescribeQuerySuggestionsBlockListOutput) { @@ -2312,15 +2311,16 @@ func (c *Kendra) DescribeQuerySuggestionsBlockListRequest(input *DescribeQuerySu // API operation DescribeQuerySuggestionsBlockList for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeQuerySuggestionsBlockList func (c *Kendra) DescribeQuerySuggestionsBlockList(input *DescribeQuerySuggestionsBlockListInput) (*DescribeQuerySuggestionsBlockListOutput, error) { @@ -2360,14 +2360,13 @@ const opDescribeQuerySuggestionsConfig = "DescribeQuerySuggestionsConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeQuerySuggestionsConfigRequest method. +// req, resp := client.DescribeQuerySuggestionsConfigRequest(params) // -// // Example sending a request using the DescribeQuerySuggestionsConfigRequest method. -// req, resp := client.DescribeQuerySuggestionsConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeQuerySuggestionsConfig func (c *Kendra) DescribeQuerySuggestionsConfigRequest(input *DescribeQuerySuggestionsConfigInput) (req *request.Request, output *DescribeQuerySuggestionsConfigOutput) { @@ -2403,15 +2402,16 @@ func (c *Kendra) DescribeQuerySuggestionsConfigRequest(input *DescribeQuerySugge // API operation DescribeQuerySuggestionsConfig for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeQuerySuggestionsConfig func (c *Kendra) DescribeQuerySuggestionsConfig(input *DescribeQuerySuggestionsConfigInput) (*DescribeQuerySuggestionsConfigOutput, error) { @@ -2451,14 +2451,13 @@ const opDescribeThesaurus = "DescribeThesaurus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeThesaurusRequest method. +// req, resp := client.DescribeThesaurusRequest(params) // -// // Example sending a request using the DescribeThesaurusRequest method. -// req, resp := client.DescribeThesaurusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeThesaurus func (c *Kendra) DescribeThesaurusRequest(input *DescribeThesaurusInput) (req *request.Request, output *DescribeThesaurusOutput) { @@ -2489,15 +2488,16 @@ func (c *Kendra) DescribeThesaurusRequest(input *DescribeThesaurusInput) (req *r // API operation DescribeThesaurus for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeThesaurus func (c *Kendra) DescribeThesaurus(input *DescribeThesaurusInput) (*DescribeThesaurusOutput, error) { @@ -2537,14 +2537,13 @@ const opDisassociateEntitiesFromExperience = "DisassociateEntitiesFromExperience // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateEntitiesFromExperienceRequest method. +// req, resp := client.DisassociateEntitiesFromExperienceRequest(params) // -// // Example sending a request using the DisassociateEntitiesFromExperienceRequest method. -// req, resp := client.DisassociateEntitiesFromExperienceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DisassociateEntitiesFromExperience func (c *Kendra) DisassociateEntitiesFromExperienceRequest(input *DisassociateEntitiesFromExperienceInput) (req *request.Request, output *DisassociateEntitiesFromExperienceOutput) { @@ -2579,15 +2578,16 @@ func (c *Kendra) DisassociateEntitiesFromExperienceRequest(input *DisassociateEn // API operation DisassociateEntitiesFromExperience for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DisassociateEntitiesFromExperience func (c *Kendra) DisassociateEntitiesFromExperience(input *DisassociateEntitiesFromExperienceInput) (*DisassociateEntitiesFromExperienceOutput, error) { @@ -2627,14 +2627,13 @@ const opDisassociatePersonasFromEntities = "DisassociatePersonasFromEntities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociatePersonasFromEntitiesRequest method. +// req, resp := client.DisassociatePersonasFromEntitiesRequest(params) // -// // Example sending a request using the DisassociatePersonasFromEntitiesRequest method. -// req, resp := client.DisassociatePersonasFromEntitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DisassociatePersonasFromEntities func (c *Kendra) DisassociatePersonasFromEntitiesRequest(input *DisassociatePersonasFromEntitiesInput) (req *request.Request, output *DisassociatePersonasFromEntitiesOutput) { @@ -2669,15 +2668,16 @@ func (c *Kendra) DisassociatePersonasFromEntitiesRequest(input *DisassociatePers // API operation DisassociatePersonasFromEntities for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DisassociatePersonasFromEntities func (c *Kendra) DisassociatePersonasFromEntities(input *DisassociatePersonasFromEntitiesInput) (*DisassociatePersonasFromEntitiesOutput, error) { @@ -2717,14 +2717,13 @@ const opGetQuerySuggestions = "GetQuerySuggestions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetQuerySuggestionsRequest method. +// req, resp := client.GetQuerySuggestionsRequest(params) // -// // Example sending a request using the GetQuerySuggestionsRequest method. -// req, resp := client.GetQuerySuggestionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/GetQuerySuggestions func (c *Kendra) GetQuerySuggestionsRequest(input *GetQuerySuggestionsInput) (req *request.Request, output *GetQuerySuggestionsOutput) { @@ -2758,19 +2757,20 @@ func (c *Kendra) GetQuerySuggestionsRequest(input *GetQuerySuggestionsInput) (re // API operation GetQuerySuggestions for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * ServiceQuotaExceededException +// - ServiceQuotaExceededException // -// * ConflictException +// - ConflictException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/GetQuerySuggestions func (c *Kendra) GetQuerySuggestions(input *GetQuerySuggestionsInput) (*GetQuerySuggestionsOutput, error) { @@ -2810,14 +2810,13 @@ const opGetSnapshots = "GetSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSnapshotsRequest method. +// req, resp := client.GetSnapshotsRequest(params) // -// // Example sending a request using the GetSnapshotsRequest method. -// req, resp := client.GetSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/GetSnapshots func (c *Kendra) GetSnapshotsRequest(input *GetSnapshotsInput) (req *request.Request, output *GetSnapshotsOutput) { @@ -2855,14 +2854,15 @@ func (c *Kendra) GetSnapshotsRequest(input *GetSnapshotsInput) (req *request.Req // API operation GetSnapshots for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The input to the request is not valid. // -// * ResourceNotFoundException +// - InvalidRequestException +// The input to the request is not valid. // -// * AccessDeniedException +// - ResourceNotFoundException // -// * InternalServerException +// - AccessDeniedException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/GetSnapshots func (c *Kendra) GetSnapshots(input *GetSnapshotsInput) (*GetSnapshotsOutput, error) { @@ -2894,15 +2894,14 @@ func (c *Kendra) GetSnapshotsWithContext(ctx aws.Context, input *GetSnapshotsInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetSnapshots operation. -// pageNum := 0 -// err := client.GetSnapshotsPages(params, -// func(page *kendra.GetSnapshotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetSnapshots operation. +// pageNum := 0 +// err := client.GetSnapshotsPages(params, +// func(page *kendra.GetSnapshotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kendra) GetSnapshotsPages(input *GetSnapshotsInput, fn func(*GetSnapshotsOutput, bool) bool) error { return c.GetSnapshotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2954,14 +2953,13 @@ const opListDataSourceSyncJobs = "ListDataSourceSyncJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDataSourceSyncJobsRequest method. +// req, resp := client.ListDataSourceSyncJobsRequest(params) // -// // Example sending a request using the ListDataSourceSyncJobsRequest method. -// req, resp := client.ListDataSourceSyncJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListDataSourceSyncJobs func (c *Kendra) ListDataSourceSyncJobsRequest(input *ListDataSourceSyncJobsInput) (req *request.Request, output *ListDataSourceSyncJobsOutput) { @@ -2998,17 +2996,18 @@ func (c *Kendra) ListDataSourceSyncJobsRequest(input *ListDataSourceSyncJobsInpu // API operation ListDataSourceSyncJobs for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * ConflictException +// - ConflictException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListDataSourceSyncJobs func (c *Kendra) ListDataSourceSyncJobs(input *ListDataSourceSyncJobsInput) (*ListDataSourceSyncJobsOutput, error) { @@ -3040,15 +3039,14 @@ func (c *Kendra) ListDataSourceSyncJobsWithContext(ctx aws.Context, input *ListD // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDataSourceSyncJobs operation. -// pageNum := 0 -// err := client.ListDataSourceSyncJobsPages(params, -// func(page *kendra.ListDataSourceSyncJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDataSourceSyncJobs operation. +// pageNum := 0 +// err := client.ListDataSourceSyncJobsPages(params, +// func(page *kendra.ListDataSourceSyncJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kendra) ListDataSourceSyncJobsPages(input *ListDataSourceSyncJobsInput, fn func(*ListDataSourceSyncJobsOutput, bool) bool) error { return c.ListDataSourceSyncJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3100,14 +3098,13 @@ const opListDataSources = "ListDataSources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDataSourcesRequest method. +// req, resp := client.ListDataSourcesRequest(params) // -// // Example sending a request using the ListDataSourcesRequest method. -// req, resp := client.ListDataSourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListDataSources func (c *Kendra) ListDataSourcesRequest(input *ListDataSourcesInput) (req *request.Request, output *ListDataSourcesOutput) { @@ -3144,15 +3141,16 @@ func (c *Kendra) ListDataSourcesRequest(input *ListDataSourcesInput) (req *reque // API operation ListDataSources for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException // -// * AccessDeniedException +// - ResourceNotFoundException // -// * ThrottlingException +// - AccessDeniedException // -// * InternalServerException +// - ThrottlingException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListDataSources func (c *Kendra) ListDataSources(input *ListDataSourcesInput) (*ListDataSourcesOutput, error) { @@ -3184,15 +3182,14 @@ func (c *Kendra) ListDataSourcesWithContext(ctx aws.Context, input *ListDataSour // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDataSources operation. -// pageNum := 0 -// err := client.ListDataSourcesPages(params, -// func(page *kendra.ListDataSourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDataSources operation. +// pageNum := 0 +// err := client.ListDataSourcesPages(params, +// func(page *kendra.ListDataSourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kendra) ListDataSourcesPages(input *ListDataSourcesInput, fn func(*ListDataSourcesOutput, bool) bool) error { return c.ListDataSourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3244,14 +3241,13 @@ const opListEntityPersonas = "ListEntityPersonas" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEntityPersonasRequest method. +// req, resp := client.ListEntityPersonasRequest(params) // -// // Example sending a request using the ListEntityPersonasRequest method. -// req, resp := client.ListEntityPersonasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListEntityPersonas func (c *Kendra) ListEntityPersonasRequest(input *ListEntityPersonasInput) (req *request.Request, output *ListEntityPersonasOutput) { @@ -3289,15 +3285,16 @@ func (c *Kendra) ListEntityPersonasRequest(input *ListEntityPersonasInput) (req // API operation ListEntityPersonas for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * AccessDeniedException +// - AccessDeniedException // -// * ThrottlingException +// - ThrottlingException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListEntityPersonas func (c *Kendra) ListEntityPersonas(input *ListEntityPersonasInput) (*ListEntityPersonasOutput, error) { @@ -3329,15 +3326,14 @@ func (c *Kendra) ListEntityPersonasWithContext(ctx aws.Context, input *ListEntit // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEntityPersonas operation. -// pageNum := 0 -// err := client.ListEntityPersonasPages(params, -// func(page *kendra.ListEntityPersonasOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEntityPersonas operation. +// pageNum := 0 +// err := client.ListEntityPersonasPages(params, +// func(page *kendra.ListEntityPersonasOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kendra) ListEntityPersonasPages(input *ListEntityPersonasInput, fn func(*ListEntityPersonasOutput, bool) bool) error { return c.ListEntityPersonasPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3389,14 +3385,13 @@ const opListExperienceEntities = "ListExperienceEntities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExperienceEntitiesRequest method. +// req, resp := client.ListExperienceEntitiesRequest(params) // -// // Example sending a request using the ListExperienceEntitiesRequest method. -// req, resp := client.ListExperienceEntitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListExperienceEntities func (c *Kendra) ListExperienceEntitiesRequest(input *ListExperienceEntitiesInput) (req *request.Request, output *ListExperienceEntitiesOutput) { @@ -3437,15 +3432,16 @@ func (c *Kendra) ListExperienceEntitiesRequest(input *ListExperienceEntitiesInpu // API operation ListExperienceEntities for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException // -// * AccessDeniedException +// - ResourceNotFoundException // -// * ThrottlingException +// - AccessDeniedException // -// * InternalServerException +// - ThrottlingException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListExperienceEntities func (c *Kendra) ListExperienceEntities(input *ListExperienceEntitiesInput) (*ListExperienceEntitiesOutput, error) { @@ -3477,15 +3473,14 @@ func (c *Kendra) ListExperienceEntitiesWithContext(ctx aws.Context, input *ListE // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExperienceEntities operation. -// pageNum := 0 -// err := client.ListExperienceEntitiesPages(params, -// func(page *kendra.ListExperienceEntitiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExperienceEntities operation. +// pageNum := 0 +// err := client.ListExperienceEntitiesPages(params, +// func(page *kendra.ListExperienceEntitiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kendra) ListExperienceEntitiesPages(input *ListExperienceEntitiesInput, fn func(*ListExperienceEntitiesOutput, bool) bool) error { return c.ListExperienceEntitiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3537,14 +3532,13 @@ const opListExperiences = "ListExperiences" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExperiencesRequest method. +// req, resp := client.ListExperiencesRequest(params) // -// // Example sending a request using the ListExperiencesRequest method. -// req, resp := client.ListExperiencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListExperiences func (c *Kendra) ListExperiencesRequest(input *ListExperiencesInput) (req *request.Request, output *ListExperiencesOutput) { @@ -3584,15 +3578,16 @@ func (c *Kendra) ListExperiencesRequest(input *ListExperiencesInput) (req *reque // API operation ListExperiences for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException // -// * AccessDeniedException +// - ResourceNotFoundException // -// * ThrottlingException +// - AccessDeniedException // -// * InternalServerException +// - ThrottlingException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListExperiences func (c *Kendra) ListExperiences(input *ListExperiencesInput) (*ListExperiencesOutput, error) { @@ -3624,15 +3619,14 @@ func (c *Kendra) ListExperiencesWithContext(ctx aws.Context, input *ListExperien // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExperiences operation. -// pageNum := 0 -// err := client.ListExperiencesPages(params, -// func(page *kendra.ListExperiencesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExperiences operation. +// pageNum := 0 +// err := client.ListExperiencesPages(params, +// func(page *kendra.ListExperiencesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kendra) ListExperiencesPages(input *ListExperiencesInput, fn func(*ListExperiencesOutput, bool) bool) error { return c.ListExperiencesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3684,14 +3678,13 @@ const opListFaqs = "ListFaqs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFaqsRequest method. +// req, resp := client.ListFaqsRequest(params) // -// // Example sending a request using the ListFaqsRequest method. -// req, resp := client.ListFaqsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListFaqs func (c *Kendra) ListFaqsRequest(input *ListFaqsInput) (req *request.Request, output *ListFaqsOutput) { @@ -3728,15 +3721,16 @@ func (c *Kendra) ListFaqsRequest(input *ListFaqsInput) (req *request.Request, ou // API operation ListFaqs for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListFaqs func (c *Kendra) ListFaqs(input *ListFaqsInput) (*ListFaqsOutput, error) { @@ -3768,15 +3762,14 @@ func (c *Kendra) ListFaqsWithContext(ctx aws.Context, input *ListFaqsInput, opts // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFaqs operation. -// pageNum := 0 -// err := client.ListFaqsPages(params, -// func(page *kendra.ListFaqsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFaqs operation. +// pageNum := 0 +// err := client.ListFaqsPages(params, +// func(page *kendra.ListFaqsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kendra) ListFaqsPages(input *ListFaqsInput, fn func(*ListFaqsOutput, bool) bool) error { return c.ListFaqsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3828,14 +3821,13 @@ const opListGroupsOlderThanOrderingId = "ListGroupsOlderThanOrderingId" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroupsOlderThanOrderingIdRequest method. +// req, resp := client.ListGroupsOlderThanOrderingIdRequest(params) // -// // Example sending a request using the ListGroupsOlderThanOrderingIdRequest method. -// req, resp := client.ListGroupsOlderThanOrderingIdRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListGroupsOlderThanOrderingId func (c *Kendra) ListGroupsOlderThanOrderingIdRequest(input *ListGroupsOlderThanOrderingIdInput) (req *request.Request, output *ListGroupsOlderThanOrderingIdOutput) { @@ -3876,17 +3868,18 @@ func (c *Kendra) ListGroupsOlderThanOrderingIdRequest(input *ListGroupsOlderThan // API operation ListGroupsOlderThanOrderingId for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException // -// * AccessDeniedException +// - ResourceNotFoundException // -// * ThrottlingException +// - AccessDeniedException // -// * ConflictException +// - ThrottlingException // -// * InternalServerException +// - ConflictException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListGroupsOlderThanOrderingId func (c *Kendra) ListGroupsOlderThanOrderingId(input *ListGroupsOlderThanOrderingIdInput) (*ListGroupsOlderThanOrderingIdOutput, error) { @@ -3918,15 +3911,14 @@ func (c *Kendra) ListGroupsOlderThanOrderingIdWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGroupsOlderThanOrderingId operation. -// pageNum := 0 -// err := client.ListGroupsOlderThanOrderingIdPages(params, -// func(page *kendra.ListGroupsOlderThanOrderingIdOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGroupsOlderThanOrderingId operation. +// pageNum := 0 +// err := client.ListGroupsOlderThanOrderingIdPages(params, +// func(page *kendra.ListGroupsOlderThanOrderingIdOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kendra) ListGroupsOlderThanOrderingIdPages(input *ListGroupsOlderThanOrderingIdInput, fn func(*ListGroupsOlderThanOrderingIdOutput, bool) bool) error { return c.ListGroupsOlderThanOrderingIdPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3978,14 +3970,13 @@ const opListIndices = "ListIndices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIndicesRequest method. +// req, resp := client.ListIndicesRequest(params) // -// // Example sending a request using the ListIndicesRequest method. -// req, resp := client.ListIndicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListIndices func (c *Kendra) ListIndicesRequest(input *ListIndicesInput) (req *request.Request, output *ListIndicesOutput) { @@ -4022,13 +4013,14 @@ func (c *Kendra) ListIndicesRequest(input *ListIndicesInput) (req *request.Reque // API operation ListIndices for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ThrottlingException +// - ValidationException +// +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListIndices func (c *Kendra) ListIndices(input *ListIndicesInput) (*ListIndicesOutput, error) { @@ -4060,15 +4052,14 @@ func (c *Kendra) ListIndicesWithContext(ctx aws.Context, input *ListIndicesInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListIndices operation. -// pageNum := 0 -// err := client.ListIndicesPages(params, -// func(page *kendra.ListIndicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListIndices operation. +// pageNum := 0 +// err := client.ListIndicesPages(params, +// func(page *kendra.ListIndicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kendra) ListIndicesPages(input *ListIndicesInput, fn func(*ListIndicesOutput, bool) bool) error { return c.ListIndicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4120,14 +4111,13 @@ const opListQuerySuggestionsBlockLists = "ListQuerySuggestionsBlockLists" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListQuerySuggestionsBlockListsRequest method. +// req, resp := client.ListQuerySuggestionsBlockListsRequest(params) // -// // Example sending a request using the ListQuerySuggestionsBlockListsRequest method. -// req, resp := client.ListQuerySuggestionsBlockListsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListQuerySuggestionsBlockLists func (c *Kendra) ListQuerySuggestionsBlockListsRequest(input *ListQuerySuggestionsBlockListsInput) (req *request.Request, output *ListQuerySuggestionsBlockListsOutput) { @@ -4170,15 +4160,16 @@ func (c *Kendra) ListQuerySuggestionsBlockListsRequest(input *ListQuerySuggestio // API operation ListQuerySuggestionsBlockLists for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException // -// * ThrottlingException +// - ResourceNotFoundException // -// * AccessDeniedException +// - ThrottlingException // -// * InternalServerException +// - AccessDeniedException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListQuerySuggestionsBlockLists func (c *Kendra) ListQuerySuggestionsBlockLists(input *ListQuerySuggestionsBlockListsInput) (*ListQuerySuggestionsBlockListsOutput, error) { @@ -4210,15 +4201,14 @@ func (c *Kendra) ListQuerySuggestionsBlockListsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListQuerySuggestionsBlockLists operation. -// pageNum := 0 -// err := client.ListQuerySuggestionsBlockListsPages(params, -// func(page *kendra.ListQuerySuggestionsBlockListsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListQuerySuggestionsBlockLists operation. +// pageNum := 0 +// err := client.ListQuerySuggestionsBlockListsPages(params, +// func(page *kendra.ListQuerySuggestionsBlockListsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kendra) ListQuerySuggestionsBlockListsPages(input *ListQuerySuggestionsBlockListsInput, fn func(*ListQuerySuggestionsBlockListsOutput, bool) bool) error { return c.ListQuerySuggestionsBlockListsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4270,14 +4260,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListTagsForResource func (c *Kendra) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4309,15 +4298,16 @@ func (c *Kendra) ListTagsForResourceRequest(input *ListTagsForResourceInput) (re // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceUnavailableException +// - ValidationException // -// * ThrottlingException +// - ResourceUnavailableException // -// * AccessDeniedException +// - ThrottlingException // -// * InternalServerException +// - AccessDeniedException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListTagsForResource func (c *Kendra) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4357,14 +4347,13 @@ const opListThesauri = "ListThesauri" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThesauriRequest method. +// req, resp := client.ListThesauriRequest(params) // -// // Example sending a request using the ListThesauriRequest method. -// req, resp := client.ListThesauriRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListThesauri func (c *Kendra) ListThesauriRequest(input *ListThesauriInput) (req *request.Request, output *ListThesauriOutput) { @@ -4401,15 +4390,16 @@ func (c *Kendra) ListThesauriRequest(input *ListThesauriInput) (req *request.Req // API operation ListThesauri for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException // -// * ThrottlingException +// - ResourceNotFoundException // -// * AccessDeniedException +// - ThrottlingException // -// * InternalServerException +// - AccessDeniedException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListThesauri func (c *Kendra) ListThesauri(input *ListThesauriInput) (*ListThesauriOutput, error) { @@ -4441,15 +4431,14 @@ func (c *Kendra) ListThesauriWithContext(ctx aws.Context, input *ListThesauriInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListThesauri operation. -// pageNum := 0 -// err := client.ListThesauriPages(params, -// func(page *kendra.ListThesauriOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListThesauri operation. +// pageNum := 0 +// err := client.ListThesauriPages(params, +// func(page *kendra.ListThesauriOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kendra) ListThesauriPages(input *ListThesauriInput, fn func(*ListThesauriOutput, bool) bool) error { return c.ListThesauriPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4501,14 +4490,13 @@ const opPutPrincipalMapping = "PutPrincipalMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPrincipalMappingRequest method. +// req, resp := client.PutPrincipalMappingRequest(params) // -// // Example sending a request using the PutPrincipalMappingRequest method. -// req, resp := client.PutPrincipalMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/PutPrincipalMapping func (c *Kendra) PutPrincipalMappingRequest(input *PutPrincipalMappingInput) (req *request.Request, output *PutPrincipalMappingOutput) { @@ -4559,19 +4547,20 @@ func (c *Kendra) PutPrincipalMappingRequest(input *PutPrincipalMappingInput) (re // API operation PutPrincipalMapping for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException +// +// - ConflictException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * ServiceQuotaExceededException +// - ServiceQuotaExceededException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/PutPrincipalMapping func (c *Kendra) PutPrincipalMapping(input *PutPrincipalMappingInput) (*PutPrincipalMappingOutput, error) { @@ -4611,14 +4600,13 @@ const opQuery = "Query" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the QueryRequest method. +// req, resp := client.QueryRequest(params) // -// // Example sending a request using the QueryRequest method. -// req, resp := client.QueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/Query func (c *Kendra) QueryRequest(input *QueryInput) (req *request.Request, output *QueryOutput) { @@ -4649,11 +4637,11 @@ func (c *Kendra) QueryRequest(input *QueryInput) (req *request.Request, output * // Amazon Kendra searches your index for text content and question and answer // (FAQ) content. By default the response contains three types of results. // -// * Relevant passages +// - Relevant passages // -// * Matching FAQs +// - Matching FAQs // -// * Relevant documents +// - Relevant documents // // You can specify that the query return only one type of result using the QueryResultTypeConfig // parameter. @@ -4668,19 +4656,20 @@ func (c *Kendra) QueryRequest(input *QueryInput) (req *request.Request, output * // API operation Query for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException +// +// - ConflictException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * ServiceQuotaExceededException +// - ServiceQuotaExceededException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/Query func (c *Kendra) Query(input *QueryInput) (*QueryOutput, error) { @@ -4720,14 +4709,13 @@ const opStartDataSourceSyncJob = "StartDataSourceSyncJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDataSourceSyncJobRequest method. +// req, resp := client.StartDataSourceSyncJobRequest(params) // -// // Example sending a request using the StartDataSourceSyncJobRequest method. -// req, resp := client.StartDataSourceSyncJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/StartDataSourceSyncJob func (c *Kendra) StartDataSourceSyncJobRequest(input *StartDataSourceSyncJobInput) (req *request.Request, output *StartDataSourceSyncJobOutput) { @@ -4759,19 +4747,20 @@ func (c *Kendra) StartDataSourceSyncJobRequest(input *StartDataSourceSyncJobInpu // API operation StartDataSourceSyncJob for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ResourceInUseException +// - ResourceInUseException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * ConflictException +// - ConflictException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/StartDataSourceSyncJob func (c *Kendra) StartDataSourceSyncJob(input *StartDataSourceSyncJobInput) (*StartDataSourceSyncJobOutput, error) { @@ -4811,14 +4800,13 @@ const opStopDataSourceSyncJob = "StopDataSourceSyncJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopDataSourceSyncJobRequest method. +// req, resp := client.StopDataSourceSyncJobRequest(params) // -// // Example sending a request using the StopDataSourceSyncJobRequest method. -// req, resp := client.StopDataSourceSyncJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/StopDataSourceSyncJob func (c *Kendra) StopDataSourceSyncJobRequest(input *StopDataSourceSyncJobInput) (req *request.Request, output *StopDataSourceSyncJobOutput) { @@ -4851,15 +4839,16 @@ func (c *Kendra) StopDataSourceSyncJobRequest(input *StopDataSourceSyncJobInput) // API operation StopDataSourceSyncJob for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/StopDataSourceSyncJob func (c *Kendra) StopDataSourceSyncJob(input *StopDataSourceSyncJobInput) (*StopDataSourceSyncJobOutput, error) { @@ -4899,14 +4888,13 @@ const opSubmitFeedback = "SubmitFeedback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SubmitFeedbackRequest method. +// req, resp := client.SubmitFeedbackRequest(params) // -// // Example sending a request using the SubmitFeedbackRequest method. -// req, resp := client.SubmitFeedbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/SubmitFeedback func (c *Kendra) SubmitFeedbackRequest(input *SubmitFeedbackInput) (req *request.Request, output *SubmitFeedbackOutput) { @@ -4942,17 +4930,18 @@ func (c *Kendra) SubmitFeedbackRequest(input *SubmitFeedbackInput) (req *request // API operation SubmitFeedback for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceUnavailableException +// - ValidationException +// +// - ResourceUnavailableException // -// * ResourceNotFoundException +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/SubmitFeedback func (c *Kendra) SubmitFeedback(input *SubmitFeedbackInput) (*SubmitFeedbackOutput, error) { @@ -4992,14 +4981,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/TagResource func (c *Kendra) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -5032,15 +5020,16 @@ func (c *Kendra) TagResourceRequest(input *TagResourceInput) (req *request.Reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceUnavailableException +// - ValidationException // -// * ThrottlingException +// - ResourceUnavailableException // -// * AccessDeniedException +// - ThrottlingException // -// * InternalServerException +// - AccessDeniedException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/TagResource func (c *Kendra) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -5080,14 +5069,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UntagResource func (c *Kendra) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -5119,15 +5107,16 @@ func (c *Kendra) UntagResourceRequest(input *UntagResourceInput) (req *request.R // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceUnavailableException +// - ValidationException // -// * ThrottlingException +// - ResourceUnavailableException // -// * AccessDeniedException +// - ThrottlingException // -// * InternalServerException +// - AccessDeniedException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UntagResource func (c *Kendra) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -5167,14 +5156,13 @@ const opUpdateDataSource = "UpdateDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDataSourceRequest method. +// req, resp := client.UpdateDataSourceRequest(params) // -// // Example sending a request using the UpdateDataSourceRequest method. -// req, resp := client.UpdateDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateDataSource func (c *Kendra) UpdateDataSourceRequest(input *UpdateDataSourceInput) (req *request.Request, output *UpdateDataSourceOutput) { @@ -5206,17 +5194,18 @@ func (c *Kendra) UpdateDataSourceRequest(input *UpdateDataSourceInput) (req *req // API operation UpdateDataSource for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException // -// * ResourceNotFoundException +// - ConflictException // -// * ThrottlingException +// - ResourceNotFoundException // -// * AccessDeniedException +// - ThrottlingException // -// * InternalServerException +// - AccessDeniedException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateDataSource func (c *Kendra) UpdateDataSource(input *UpdateDataSourceInput) (*UpdateDataSourceOutput, error) { @@ -5256,14 +5245,13 @@ const opUpdateExperience = "UpdateExperience" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateExperienceRequest method. +// req, resp := client.UpdateExperienceRequest(params) // -// // Example sending a request using the UpdateExperienceRequest method. -// req, resp := client.UpdateExperienceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateExperience func (c *Kendra) UpdateExperienceRequest(input *UpdateExperienceInput) (req *request.Request, output *UpdateExperienceOutput) { @@ -5297,17 +5285,18 @@ func (c *Kendra) UpdateExperienceRequest(input *UpdateExperienceInput) (req *req // API operation UpdateExperience for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException // -// * ResourceNotFoundException +// - ConflictException // -// * ThrottlingException +// - ResourceNotFoundException // -// * AccessDeniedException +// - ThrottlingException // -// * InternalServerException +// - AccessDeniedException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateExperience func (c *Kendra) UpdateExperience(input *UpdateExperienceInput) (*UpdateExperienceOutput, error) { @@ -5347,14 +5336,13 @@ const opUpdateIndex = "UpdateIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIndexRequest method. +// req, resp := client.UpdateIndexRequest(params) // -// // Example sending a request using the UpdateIndexRequest method. -// req, resp := client.UpdateIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateIndex func (c *Kendra) UpdateIndexRequest(input *UpdateIndexInput) (req *request.Request, output *UpdateIndexOutput) { @@ -5386,19 +5374,20 @@ func (c *Kendra) UpdateIndexRequest(input *UpdateIndexInput) (req *request.Reque // API operation UpdateIndex for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException // -// * ResourceNotFoundException +// - ConflictException // -// * ThrottlingException +// - ResourceNotFoundException // -// * AccessDeniedException +// - ThrottlingException // -// * ServiceQuotaExceededException +// - AccessDeniedException // -// * InternalServerException +// - ServiceQuotaExceededException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateIndex func (c *Kendra) UpdateIndex(input *UpdateIndexInput) (*UpdateIndexOutput, error) { @@ -5438,14 +5427,13 @@ const opUpdateQuerySuggestionsBlockList = "UpdateQuerySuggestionsBlockList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateQuerySuggestionsBlockListRequest method. +// req, resp := client.UpdateQuerySuggestionsBlockListRequest(params) // -// // Example sending a request using the UpdateQuerySuggestionsBlockListRequest method. -// req, resp := client.UpdateQuerySuggestionsBlockListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateQuerySuggestionsBlockList func (c *Kendra) UpdateQuerySuggestionsBlockListRequest(input *UpdateQuerySuggestionsBlockListInput) (req *request.Request, output *UpdateQuerySuggestionsBlockListOutput) { @@ -5490,17 +5478,18 @@ func (c *Kendra) UpdateQuerySuggestionsBlockListRequest(input *UpdateQuerySugges // API operation UpdateQuerySuggestionsBlockList for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException // -// * ThrottlingException +// - ResourceNotFoundException // -// * AccessDeniedException +// - ThrottlingException // -// * ConflictException +// - AccessDeniedException // -// * InternalServerException +// - ConflictException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateQuerySuggestionsBlockList func (c *Kendra) UpdateQuerySuggestionsBlockList(input *UpdateQuerySuggestionsBlockListInput) (*UpdateQuerySuggestionsBlockListOutput, error) { @@ -5540,14 +5529,13 @@ const opUpdateQuerySuggestionsConfig = "UpdateQuerySuggestionsConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateQuerySuggestionsConfigRequest method. +// req, resp := client.UpdateQuerySuggestionsConfigRequest(params) // -// // Example sending a request using the UpdateQuerySuggestionsConfigRequest method. -// req, resp := client.UpdateQuerySuggestionsConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateQuerySuggestionsConfig func (c *Kendra) UpdateQuerySuggestionsConfigRequest(input *UpdateQuerySuggestionsConfigInput) (req *request.Request, output *UpdateQuerySuggestionsConfigOutput) { @@ -5594,17 +5582,18 @@ func (c *Kendra) UpdateQuerySuggestionsConfigRequest(input *UpdateQuerySuggestio // API operation UpdateQuerySuggestionsConfig for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ConflictException +// - ValidationException // -// * ResourceNotFoundException +// - ConflictException // -// * ThrottlingException +// - ResourceNotFoundException // -// * AccessDeniedException +// - ThrottlingException // -// * InternalServerException +// - AccessDeniedException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateQuerySuggestionsConfig func (c *Kendra) UpdateQuerySuggestionsConfig(input *UpdateQuerySuggestionsConfigInput) (*UpdateQuerySuggestionsConfigOutput, error) { @@ -5644,14 +5633,13 @@ const opUpdateThesaurus = "UpdateThesaurus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateThesaurusRequest method. +// req, resp := client.UpdateThesaurusRequest(params) // -// // Example sending a request using the UpdateThesaurusRequest method. -// req, resp := client.UpdateThesaurusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateThesaurus func (c *Kendra) UpdateThesaurusRequest(input *UpdateThesaurusInput) (req *request.Request, output *UpdateThesaurusOutput) { @@ -5683,17 +5671,18 @@ func (c *Kendra) UpdateThesaurusRequest(input *UpdateThesaurusInput) (req *reque // API operation UpdateThesaurus for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException +// - ValidationException +// +// - ResourceNotFoundException // -// * ThrottlingException +// - ThrottlingException // -// * AccessDeniedException +// - AccessDeniedException // -// * ConflictException +// - ConflictException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateThesaurus func (c *Kendra) UpdateThesaurus(input *UpdateThesaurusInput) (*UpdateThesaurusOutput, error) { @@ -22545,15 +22534,15 @@ func (s *SlackConfiguration) SetVpcConfiguration(v *DataSourceVpcConfiguration) // // You can sort attributes of the following types. // -// * Date value +// - Date value // -// * Long value +// - Long value // -// * String value +// - String value // // You can't sort attributes of the following type. // -// * String list value +// - String list value type SortingConfiguration struct { _ struct{} `type:"structure"` @@ -24836,10 +24825,10 @@ func (s *Urls) SetSiteMapsConfiguration(v *SiteMapsConfiguration) *Urls { // // You provide one of the following: // -// * User token +// - User token // -// * User ID, the groups the user belongs to, and any data sources the groups -// can access. +// - User ID, the groups the user belongs to, and any data sources the groups +// can access. // // If you provide both, an exception is thrown. type UserContext struct { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/doc.go index 978a7a6a4860..d69784bb4e0f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/doc.go @@ -10,7 +10,7 @@ // See kendra package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/kendra/ // -// Using the Client +// # Using the Client // // To contact AWSKendraFrontendService with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/kendraiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/kendraiface/interface.go index d3f6d9de15d5..987bb29239e6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/kendraiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/kendraiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWSKendraFrontendService. -// func myFunc(svc kendraiface.KendraAPI) bool { -// // Make svc.AssociateEntitiesToExperience request -// } +// // myFunc uses an SDK service client to make a request to +// // AWSKendraFrontendService. +// func myFunc(svc kendraiface.KendraAPI) bool { +// // Make svc.AssociateEntitiesToExperience request +// } // -// func main() { -// sess := session.New() -// svc := kendra.New(sess) +// func main() { +// sess := session.New() +// svc := kendra.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockKendraClient struct { -// kendraiface.KendraAPI -// } -// func (m *mockKendraClient) AssociateEntitiesToExperience(input *kendra.AssociateEntitiesToExperienceInput) (*kendra.AssociateEntitiesToExperienceOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockKendraClient struct { +// kendraiface.KendraAPI +// } +// func (m *mockKendraClient) AssociateEntitiesToExperience(input *kendra.AssociateEntitiesToExperienceInput) (*kendra.AssociateEntitiesToExperienceOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockKendraClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockKendraClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/service.go index b4c2e4705e93..320c696b461f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kendra/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Kendra client from just a session. -// svc := kendra.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Kendra client with additional configuration -// svc := kendra.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Kendra client from just a session. +// svc := kendra.New(mySession) +// +// // Create a Kendra client with additional configuration +// svc := kendra.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Kendra { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/api.go index 8a027630e2a6..70754e0908fa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/api.go @@ -29,14 +29,13 @@ const opCreateKeyspace = "CreateKeyspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateKeyspaceRequest method. +// req, resp := client.CreateKeyspaceRequest(params) // -// // Example sending a request using the CreateKeyspaceRequest method. -// req, resp := client.CreateKeyspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/CreateKeyspace func (c *Keyspaces) CreateKeyspaceRequest(input *CreateKeyspaceInput) (req *request.Request, output *CreateKeyspaceOutput) { @@ -74,25 +73,26 @@ func (c *Keyspaces) CreateKeyspaceRequest(input *CreateKeyspaceInput) (req *requ // API operation CreateKeyspace for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation failed due to an invalid or malformed request. // -// * ServiceQuotaExceededException -// The operation exceeded the service quota for this resource. For more information -// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) -// in the Amazon Keyspaces Developer Guide. +// - ValidationException +// The operation failed due to an invalid or malformed request. +// +// - ServiceQuotaExceededException +// The operation exceeded the service quota for this resource. For more information +// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) +// in the Amazon Keyspaces Developer Guide. // -// * InternalServerException -// Amazon Keyspaces was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Amazon Keyspaces was unable to fully process this request because of an internal +// server error. // -// * ConflictException -// Amazon Keyspaces could not complete the requested action. This error may -// occur if you try to perform an action and the same or a different action -// is already in progress, or if you try to create a resource that already exists. +// - ConflictException +// Amazon Keyspaces could not complete the requested action. This error may +// occur if you try to perform an action and the same or a different action +// is already in progress, or if you try to create a resource that already exists. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/CreateKeyspace func (c *Keyspaces) CreateKeyspace(input *CreateKeyspaceInput) (*CreateKeyspaceOutput, error) { @@ -132,14 +132,13 @@ const opCreateTable = "CreateTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTableRequest method. +// req, resp := client.CreateTableRequest(params) // -// // Example sending a request using the CreateTableRequest method. -// req, resp := client.CreateTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/CreateTable func (c *Keyspaces) CreateTableRequest(input *CreateTableInput) (req *request.Request, output *CreateTableOutput) { @@ -179,29 +178,30 @@ func (c *Keyspaces) CreateTableRequest(input *CreateTableInput) (req *request.Re // API operation CreateTable for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation failed due to an invalid or malformed request. // -// * ServiceQuotaExceededException -// The operation exceeded the service quota for this resource. For more information -// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) -// in the Amazon Keyspaces Developer Guide. +// - ValidationException +// The operation failed due to an invalid or malformed request. +// +// - ServiceQuotaExceededException +// The operation exceeded the service quota for this resource. For more information +// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) +// in the Amazon Keyspaces Developer Guide. // -// * InternalServerException -// Amazon Keyspaces was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Amazon Keyspaces was unable to fully process this request because of an internal +// server error. // -// * ConflictException -// Amazon Keyspaces could not complete the requested action. This error may -// occur if you try to perform an action and the same or a different action -// is already in progress, or if you try to create a resource that already exists. +// - ConflictException +// Amazon Keyspaces could not complete the requested action. This error may +// occur if you try to perform an action and the same or a different action +// is already in progress, or if you try to create a resource that already exists. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The operation tried to access a keyspace or table that doesn't exist. The -// resource might not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a keyspace or table that doesn't exist. The +// resource might not be specified correctly, or its status might not be ACTIVE. // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/CreateTable func (c *Keyspaces) CreateTable(input *CreateTableInput) (*CreateTableOutput, error) { @@ -241,14 +241,13 @@ const opDeleteKeyspace = "DeleteKeyspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteKeyspaceRequest method. +// req, resp := client.DeleteKeyspaceRequest(params) // -// // Example sending a request using the DeleteKeyspaceRequest method. -// req, resp := client.DeleteKeyspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/DeleteKeyspace func (c *Keyspaces) DeleteKeyspaceRequest(input *DeleteKeyspaceInput) (req *request.Request, output *DeleteKeyspaceOutput) { @@ -280,29 +279,30 @@ func (c *Keyspaces) DeleteKeyspaceRequest(input *DeleteKeyspaceInput) (req *requ // API operation DeleteKeyspace for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation failed due to an invalid or malformed request. // -// * ServiceQuotaExceededException -// The operation exceeded the service quota for this resource. For more information -// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) -// in the Amazon Keyspaces Developer Guide. +// - ValidationException +// The operation failed due to an invalid or malformed request. +// +// - ServiceQuotaExceededException +// The operation exceeded the service quota for this resource. For more information +// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) +// in the Amazon Keyspaces Developer Guide. // -// * InternalServerException -// Amazon Keyspaces was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Amazon Keyspaces was unable to fully process this request because of an internal +// server error. // -// * ConflictException -// Amazon Keyspaces could not complete the requested action. This error may -// occur if you try to perform an action and the same or a different action -// is already in progress, or if you try to create a resource that already exists. +// - ConflictException +// Amazon Keyspaces could not complete the requested action. This error may +// occur if you try to perform an action and the same or a different action +// is already in progress, or if you try to create a resource that already exists. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The operation tried to access a keyspace or table that doesn't exist. The -// resource might not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a keyspace or table that doesn't exist. The +// resource might not be specified correctly, or its status might not be ACTIVE. // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/DeleteKeyspace func (c *Keyspaces) DeleteKeyspace(input *DeleteKeyspaceInput) (*DeleteKeyspaceOutput, error) { @@ -342,14 +342,13 @@ const opDeleteTable = "DeleteTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTableRequest method. +// req, resp := client.DeleteTableRequest(params) // -// // Example sending a request using the DeleteTableRequest method. -// req, resp := client.DeleteTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/DeleteTable func (c *Keyspaces) DeleteTableRequest(input *DeleteTableInput) (req *request.Request, output *DeleteTableOutput) { @@ -387,29 +386,30 @@ func (c *Keyspaces) DeleteTableRequest(input *DeleteTableInput) (req *request.Re // API operation DeleteTable for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation failed due to an invalid or malformed request. // -// * ServiceQuotaExceededException -// The operation exceeded the service quota for this resource. For more information -// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) -// in the Amazon Keyspaces Developer Guide. +// - ValidationException +// The operation failed due to an invalid or malformed request. +// +// - ServiceQuotaExceededException +// The operation exceeded the service quota for this resource. For more information +// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) +// in the Amazon Keyspaces Developer Guide. // -// * InternalServerException -// Amazon Keyspaces was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Amazon Keyspaces was unable to fully process this request because of an internal +// server error. // -// * ConflictException -// Amazon Keyspaces could not complete the requested action. This error may -// occur if you try to perform an action and the same or a different action -// is already in progress, or if you try to create a resource that already exists. +// - ConflictException +// Amazon Keyspaces could not complete the requested action. This error may +// occur if you try to perform an action and the same or a different action +// is already in progress, or if you try to create a resource that already exists. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The operation tried to access a keyspace or table that doesn't exist. The -// resource might not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a keyspace or table that doesn't exist. The +// resource might not be specified correctly, or its status might not be ACTIVE. // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/DeleteTable func (c *Keyspaces) DeleteTable(input *DeleteTableInput) (*DeleteTableOutput, error) { @@ -449,14 +449,13 @@ const opGetKeyspace = "GetKeyspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetKeyspaceRequest method. +// req, resp := client.GetKeyspaceRequest(params) // -// // Example sending a request using the GetKeyspaceRequest method. -// req, resp := client.GetKeyspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/GetKeyspace func (c *Keyspaces) GetKeyspaceRequest(input *GetKeyspaceInput) (req *request.Request, output *GetKeyspaceOutput) { @@ -487,24 +486,25 @@ func (c *Keyspaces) GetKeyspaceRequest(input *GetKeyspaceInput) (req *request.Re // API operation GetKeyspace for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation failed due to an invalid or malformed request. // -// * ServiceQuotaExceededException -// The operation exceeded the service quota for this resource. For more information -// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) -// in the Amazon Keyspaces Developer Guide. +// - ValidationException +// The operation failed due to an invalid or malformed request. +// +// - ServiceQuotaExceededException +// The operation exceeded the service quota for this resource. For more information +// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) +// in the Amazon Keyspaces Developer Guide. // -// * InternalServerException -// Amazon Keyspaces was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Amazon Keyspaces was unable to fully process this request because of an internal +// server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The operation tried to access a keyspace or table that doesn't exist. The -// resource might not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a keyspace or table that doesn't exist. The +// resource might not be specified correctly, or its status might not be ACTIVE. // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/GetKeyspace func (c *Keyspaces) GetKeyspace(input *GetKeyspaceInput) (*GetKeyspaceOutput, error) { @@ -544,14 +544,13 @@ const opGetTable = "GetTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTableRequest method. +// req, resp := client.GetTableRequest(params) // -// // Example sending a request using the GetTableRequest method. -// req, resp := client.GetTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/GetTable func (c *Keyspaces) GetTableRequest(input *GetTableInput) (req *request.Request, output *GetTableOutput) { @@ -586,24 +585,25 @@ func (c *Keyspaces) GetTableRequest(input *GetTableInput) (req *request.Request, // API operation GetTable for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation failed due to an invalid or malformed request. // -// * ServiceQuotaExceededException -// The operation exceeded the service quota for this resource. For more information -// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) -// in the Amazon Keyspaces Developer Guide. +// - ValidationException +// The operation failed due to an invalid or malformed request. +// +// - ServiceQuotaExceededException +// The operation exceeded the service quota for this resource. For more information +// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) +// in the Amazon Keyspaces Developer Guide. // -// * InternalServerException -// Amazon Keyspaces was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Amazon Keyspaces was unable to fully process this request because of an internal +// server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The operation tried to access a keyspace or table that doesn't exist. The -// resource might not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a keyspace or table that doesn't exist. The +// resource might not be specified correctly, or its status might not be ACTIVE. // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/GetTable func (c *Keyspaces) GetTable(input *GetTableInput) (*GetTableOutput, error) { @@ -643,14 +643,13 @@ const opListKeyspaces = "ListKeyspaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListKeyspacesRequest method. +// req, resp := client.ListKeyspacesRequest(params) // -// // Example sending a request using the ListKeyspacesRequest method. -// req, resp := client.ListKeyspacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/ListKeyspaces func (c *Keyspaces) ListKeyspacesRequest(input *ListKeyspacesInput) (req *request.Request, output *ListKeyspacesOutput) { @@ -687,24 +686,25 @@ func (c *Keyspaces) ListKeyspacesRequest(input *ListKeyspacesInput) (req *reques // API operation ListKeyspaces for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation failed due to an invalid or malformed request. // -// * ServiceQuotaExceededException -// The operation exceeded the service quota for this resource. For more information -// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) -// in the Amazon Keyspaces Developer Guide. +// - ValidationException +// The operation failed due to an invalid or malformed request. +// +// - ServiceQuotaExceededException +// The operation exceeded the service quota for this resource. For more information +// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) +// in the Amazon Keyspaces Developer Guide. // -// * InternalServerException -// Amazon Keyspaces was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Amazon Keyspaces was unable to fully process this request because of an internal +// server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The operation tried to access a keyspace or table that doesn't exist. The -// resource might not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a keyspace or table that doesn't exist. The +// resource might not be specified correctly, or its status might not be ACTIVE. // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/ListKeyspaces func (c *Keyspaces) ListKeyspaces(input *ListKeyspacesInput) (*ListKeyspacesOutput, error) { @@ -736,15 +736,14 @@ func (c *Keyspaces) ListKeyspacesWithContext(ctx aws.Context, input *ListKeyspac // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListKeyspaces operation. -// pageNum := 0 -// err := client.ListKeyspacesPages(params, -// func(page *keyspaces.ListKeyspacesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListKeyspaces operation. +// pageNum := 0 +// err := client.ListKeyspacesPages(params, +// func(page *keyspaces.ListKeyspacesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Keyspaces) ListKeyspacesPages(input *ListKeyspacesInput, fn func(*ListKeyspacesOutput, bool) bool) error { return c.ListKeyspacesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -796,14 +795,13 @@ const opListTables = "ListTables" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTablesRequest method. +// req, resp := client.ListTablesRequest(params) // -// // Example sending a request using the ListTablesRequest method. -// req, resp := client.ListTablesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/ListTables func (c *Keyspaces) ListTablesRequest(input *ListTablesInput) (req *request.Request, output *ListTablesOutput) { @@ -840,24 +838,25 @@ func (c *Keyspaces) ListTablesRequest(input *ListTablesInput) (req *request.Requ // API operation ListTables for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation failed due to an invalid or malformed request. // -// * ServiceQuotaExceededException -// The operation exceeded the service quota for this resource. For more information -// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) -// in the Amazon Keyspaces Developer Guide. +// - ValidationException +// The operation failed due to an invalid or malformed request. +// +// - ServiceQuotaExceededException +// The operation exceeded the service quota for this resource. For more information +// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) +// in the Amazon Keyspaces Developer Guide. // -// * InternalServerException -// Amazon Keyspaces was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Amazon Keyspaces was unable to fully process this request because of an internal +// server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The operation tried to access a keyspace or table that doesn't exist. The -// resource might not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a keyspace or table that doesn't exist. The +// resource might not be specified correctly, or its status might not be ACTIVE. // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/ListTables func (c *Keyspaces) ListTables(input *ListTablesInput) (*ListTablesOutput, error) { @@ -889,15 +888,14 @@ func (c *Keyspaces) ListTablesWithContext(ctx aws.Context, input *ListTablesInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTables operation. -// pageNum := 0 -// err := client.ListTablesPages(params, -// func(page *keyspaces.ListTablesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTables operation. +// pageNum := 0 +// err := client.ListTablesPages(params, +// func(page *keyspaces.ListTablesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Keyspaces) ListTablesPages(input *ListTablesInput, fn func(*ListTablesOutput, bool) bool) error { return c.ListTablesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -949,14 +947,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/ListTagsForResource func (c *Keyspaces) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -994,24 +991,25 @@ func (c *Keyspaces) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation failed due to an invalid or malformed request. // -// * ServiceQuotaExceededException -// The operation exceeded the service quota for this resource. For more information -// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) -// in the Amazon Keyspaces Developer Guide. +// - ValidationException +// The operation failed due to an invalid or malformed request. // -// * InternalServerException -// Amazon Keyspaces was unable to fully process this request because of an internal -// server error. +// - ServiceQuotaExceededException +// The operation exceeded the service quota for this resource. For more information +// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) +// in the Amazon Keyspaces Developer Guide. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InternalServerException +// Amazon Keyspaces was unable to fully process this request because of an internal +// server error. // -// * ResourceNotFoundException -// The operation tried to access a keyspace or table that doesn't exist. The -// resource might not be specified correctly, or its status might not be ACTIVE. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The operation tried to access a keyspace or table that doesn't exist. The +// resource might not be specified correctly, or its status might not be ACTIVE. // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/ListTagsForResource func (c *Keyspaces) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1043,15 +1041,14 @@ func (c *Keyspaces) ListTagsForResourceWithContext(ctx aws.Context, input *ListT // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *keyspaces.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *keyspaces.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Keyspaces) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1103,14 +1100,13 @@ const opRestoreTable = "RestoreTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreTableRequest method. +// req, resp := client.RestoreTableRequest(params) // -// // Example sending a request using the RestoreTableRequest method. -// req, resp := client.RestoreTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/RestoreTable func (c *Keyspaces) RestoreTableRequest(input *RestoreTableInput) (req *request.Request, output *RestoreTableOutput) { @@ -1182,29 +1178,30 @@ func (c *Keyspaces) RestoreTableRequest(input *RestoreTableInput) (req *request. // API operation RestoreTable for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation failed due to an invalid or malformed request. // -// * ServiceQuotaExceededException -// The operation exceeded the service quota for this resource. For more information -// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) -// in the Amazon Keyspaces Developer Guide. +// - ValidationException +// The operation failed due to an invalid or malformed request. // -// * InternalServerException -// Amazon Keyspaces was unable to fully process this request because of an internal -// server error. +// - ServiceQuotaExceededException +// The operation exceeded the service quota for this resource. For more information +// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) +// in the Amazon Keyspaces Developer Guide. // -// * ConflictException -// Amazon Keyspaces could not complete the requested action. This error may -// occur if you try to perform an action and the same or a different action -// is already in progress, or if you try to create a resource that already exists. +// - InternalServerException +// Amazon Keyspaces was unable to fully process this request because of an internal +// server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ConflictException +// Amazon Keyspaces could not complete the requested action. This error may +// occur if you try to perform an action and the same or a different action +// is already in progress, or if you try to create a resource that already exists. // -// * ResourceNotFoundException -// The operation tried to access a keyspace or table that doesn't exist. The -// resource might not be specified correctly, or its status might not be ACTIVE. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The operation tried to access a keyspace or table that doesn't exist. The +// resource might not be specified correctly, or its status might not be ACTIVE. // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/RestoreTable func (c *Keyspaces) RestoreTable(input *RestoreTableInput) (*RestoreTableOutput, error) { @@ -1244,14 +1241,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/TagResource func (c *Keyspaces) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1292,24 +1288,25 @@ func (c *Keyspaces) TagResourceRequest(input *TagResourceInput) (req *request.Re // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation failed due to an invalid or malformed request. // -// * ServiceQuotaExceededException -// The operation exceeded the service quota for this resource. For more information -// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) -// in the Amazon Keyspaces Developer Guide. +// - ValidationException +// The operation failed due to an invalid or malformed request. // -// * InternalServerException -// Amazon Keyspaces was unable to fully process this request because of an internal -// server error. +// - ServiceQuotaExceededException +// The operation exceeded the service quota for this resource. For more information +// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) +// in the Amazon Keyspaces Developer Guide. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InternalServerException +// Amazon Keyspaces was unable to fully process this request because of an internal +// server error. // -// * ResourceNotFoundException -// The operation tried to access a keyspace or table that doesn't exist. The -// resource might not be specified correctly, or its status might not be ACTIVE. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The operation tried to access a keyspace or table that doesn't exist. The +// resource might not be specified correctly, or its status might not be ACTIVE. // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/TagResource func (c *Keyspaces) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1349,14 +1346,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/UntagResource func (c *Keyspaces) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1388,29 +1384,30 @@ func (c *Keyspaces) UntagResourceRequest(input *UntagResourceInput) (req *reques // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation failed due to an invalid or malformed request. // -// * ServiceQuotaExceededException -// The operation exceeded the service quota for this resource. For more information -// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) -// in the Amazon Keyspaces Developer Guide. +// - ValidationException +// The operation failed due to an invalid or malformed request. // -// * InternalServerException -// Amazon Keyspaces was unable to fully process this request because of an internal -// server error. +// - ServiceQuotaExceededException +// The operation exceeded the service quota for this resource. For more information +// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) +// in the Amazon Keyspaces Developer Guide. // -// * ConflictException -// Amazon Keyspaces could not complete the requested action. This error may -// occur if you try to perform an action and the same or a different action -// is already in progress, or if you try to create a resource that already exists. +// - InternalServerException +// Amazon Keyspaces was unable to fully process this request because of an internal +// server error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ConflictException +// Amazon Keyspaces could not complete the requested action. This error may +// occur if you try to perform an action and the same or a different action +// is already in progress, or if you try to create a resource that already exists. // -// * ResourceNotFoundException -// The operation tried to access a keyspace or table that doesn't exist. The -// resource might not be specified correctly, or its status might not be ACTIVE. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ResourceNotFoundException +// The operation tried to access a keyspace or table that doesn't exist. The +// resource might not be specified correctly, or its status might not be ACTIVE. // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/UntagResource func (c *Keyspaces) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1450,14 +1447,13 @@ const opUpdateTable = "UpdateTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTableRequest method. +// req, resp := client.UpdateTableRequest(params) // -// // Example sending a request using the UpdateTableRequest method. -// req, resp := client.UpdateTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/UpdateTable func (c *Keyspaces) UpdateTableRequest(input *UpdateTableInput) (req *request.Request, output *UpdateTableOutput) { @@ -1490,29 +1486,30 @@ func (c *Keyspaces) UpdateTableRequest(input *UpdateTableInput) (req *request.Re // API operation UpdateTable for usage and error information. // // Returned Error Types: -// * ValidationException -// The operation failed due to an invalid or malformed request. // -// * ServiceQuotaExceededException -// The operation exceeded the service quota for this resource. For more information -// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) -// in the Amazon Keyspaces Developer Guide. +// - ValidationException +// The operation failed due to an invalid or malformed request. +// +// - ServiceQuotaExceededException +// The operation exceeded the service quota for this resource. For more information +// on service quotas, see Quotas (https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html) +// in the Amazon Keyspaces Developer Guide. // -// * InternalServerException -// Amazon Keyspaces was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Amazon Keyspaces was unable to fully process this request because of an internal +// server error. // -// * ConflictException -// Amazon Keyspaces could not complete the requested action. This error may -// occur if you try to perform an action and the same or a different action -// is already in progress, or if you try to create a resource that already exists. +// - ConflictException +// Amazon Keyspaces could not complete the requested action. This error may +// occur if you try to perform an action and the same or a different action +// is already in progress, or if you try to create a resource that already exists. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The operation tried to access a keyspace or table that doesn't exist. The -// resource might not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a keyspace or table that doesn't exist. The +// resource might not be specified correctly, or its status might not be ACTIVE. // // See also, https://docs.aws.amazon.com/goto/WebAPI/keyspaces-2022-02-10/UpdateTable func (c *Keyspaces) UpdateTable(input *UpdateTableInput) (*UpdateTableOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/doc.go index e5f504fbd0e2..f1d494b42438 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/doc.go @@ -33,7 +33,7 @@ // See keyspaces package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/keyspaces/ // -// Using the Client +// # Using the Client // // To contact Amazon Keyspaces with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/keyspacesiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/keyspacesiface/interface.go index 9a1c0db02b91..2ead641ed96b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/keyspacesiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/keyspacesiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Keyspaces. -// func myFunc(svc keyspacesiface.KeyspacesAPI) bool { -// // Make svc.CreateKeyspace request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Keyspaces. +// func myFunc(svc keyspacesiface.KeyspacesAPI) bool { +// // Make svc.CreateKeyspace request +// } // -// func main() { -// sess := session.New() -// svc := keyspaces.New(sess) +// func main() { +// sess := session.New() +// svc := keyspaces.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockKeyspacesClient struct { -// keyspacesiface.KeyspacesAPI -// } -// func (m *mockKeyspacesClient) CreateKeyspace(input *keyspaces.CreateKeyspaceInput) (*keyspaces.CreateKeyspaceOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockKeyspacesClient struct { +// keyspacesiface.KeyspacesAPI +// } +// func (m *mockKeyspacesClient) CreateKeyspace(input *keyspaces.CreateKeyspaceInput) (*keyspaces.CreateKeyspaceOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockKeyspacesClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockKeyspacesClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/service.go index 749b600ceced..a69a590d2b31 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/keyspaces/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Keyspaces client from just a session. -// svc := keyspaces.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Keyspaces client with additional configuration -// svc := keyspaces.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Keyspaces client from just a session. +// svc := keyspaces.New(mySession) +// +// // Create a Keyspaces client with additional configuration +// svc := keyspaces.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Keyspaces { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/api.go index de893f1708da..f4e8db1003c6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/api.go @@ -37,14 +37,13 @@ const opAddTagsToStream = "AddTagsToStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsToStreamRequest method. +// req, resp := client.AddTagsToStreamRequest(params) // -// // Example sending a request using the AddTagsToStreamRequest method. -// req, resp := client.AddTagsToStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/AddTagsToStream func (c *Kinesis) AddTagsToStreamRequest(input *AddTagsToStreamInput) (req *request.Request, output *AddTagsToStreamOutput) { @@ -82,21 +81,22 @@ func (c *Kinesis) AddTagsToStreamRequest(input *AddTagsToStreamInput) (req *requ // API operation AddTagsToStream for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. // -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. +// +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/AddTagsToStream func (c *Kinesis) AddTagsToStream(input *AddTagsToStreamInput) (*AddTagsToStreamOutput, error) { @@ -136,14 +136,13 @@ const opCreateStream = "CreateStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStreamRequest method. +// req, resp := client.CreateStreamRequest(params) // -// // Example sending a request using the CreateStreamRequest method. -// req, resp := client.CreateStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStream func (c *Kinesis) CreateStreamRequest(input *CreateStreamInput) (req *request.Request, output *CreateStreamOutput) { @@ -192,9 +191,9 @@ func (c *Kinesis) CreateStreamRequest(input *CreateStreamInput) (req *request.Re // You receive a LimitExceededException when making a CreateStream request when // you try to do one of the following: // -// * Have more than five streams in the CREATING state at any point in time. +// - Have more than five streams in the CREATING state at any point in time. // -// * Create more shards than are authorized for your account. +// - Create more shards than are authorized for your account. // // For the default shard limit for an Amazon Web Services account, see Amazon // Kinesis Data Streams Limits (https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html) @@ -214,17 +213,18 @@ func (c *Kinesis) CreateStreamRequest(input *CreateStreamInput) (req *request.Re // API operation CreateStream for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. +// +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/CreateStream func (c *Kinesis) CreateStream(input *CreateStreamInput) (*CreateStreamOutput, error) { @@ -264,14 +264,13 @@ const opDecreaseStreamRetentionPeriod = "DecreaseStreamRetentionPeriod" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DecreaseStreamRetentionPeriodRequest method. +// req, resp := client.DecreaseStreamRetentionPeriodRequest(params) // -// // Example sending a request using the DecreaseStreamRetentionPeriodRequest method. -// req, resp := client.DecreaseStreamRetentionPeriodRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DecreaseStreamRetentionPeriod func (c *Kinesis) DecreaseStreamRetentionPeriodRequest(input *DecreaseStreamRetentionPeriodInput) (req *request.Request, output *DecreaseStreamRetentionPeriodOutput) { @@ -309,21 +308,22 @@ func (c *Kinesis) DecreaseStreamRetentionPeriodRequest(input *DecreaseStreamRete // API operation DecreaseStreamRetentionPeriod for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. // -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. +// +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DecreaseStreamRetentionPeriod func (c *Kinesis) DecreaseStreamRetentionPeriod(input *DecreaseStreamRetentionPeriodInput) (*DecreaseStreamRetentionPeriodOutput, error) { @@ -363,14 +363,13 @@ const opDeleteStream = "DeleteStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStreamRequest method. +// req, resp := client.DeleteStreamRequest(params) // -// // Example sending a request using the DeleteStreamRequest method. -// req, resp := client.DeleteStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeleteStream func (c *Kinesis) DeleteStreamRequest(input *DeleteStreamInput) (req *request.Request, output *DeleteStreamOutput) { @@ -421,17 +420,18 @@ func (c *Kinesis) DeleteStreamRequest(input *DeleteStreamInput) (req *request.Re // API operation DeleteStream for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. +// +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeleteStream func (c *Kinesis) DeleteStream(input *DeleteStreamInput) (*DeleteStreamOutput, error) { @@ -471,14 +471,13 @@ const opDeregisterStreamConsumer = "DeregisterStreamConsumer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterStreamConsumerRequest method. +// req, resp := client.DeregisterStreamConsumerRequest(params) // -// // Example sending a request using the DeregisterStreamConsumerRequest method. -// req, resp := client.DeregisterStreamConsumerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeregisterStreamConsumer func (c *Kinesis) DeregisterStreamConsumerRequest(input *DeregisterStreamConsumerInput) (req *request.Request, output *DeregisterStreamConsumerOutput) { @@ -519,17 +518,18 @@ func (c *Kinesis) DeregisterStreamConsumerRequest(input *DeregisterStreamConsume // API operation DeregisterStreamConsumer for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. // -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. +// +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DeregisterStreamConsumer func (c *Kinesis) DeregisterStreamConsumer(input *DeregisterStreamConsumerInput) (*DeregisterStreamConsumerOutput, error) { @@ -569,14 +569,13 @@ const opDescribeLimits = "DescribeLimits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLimitsRequest method. +// req, resp := client.DescribeLimitsRequest(params) // -// // Example sending a request using the DescribeLimitsRequest method. -// req, resp := client.DescribeLimitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimits func (c *Kinesis) DescribeLimitsRequest(input *DescribeLimitsInput) (req *request.Request, output *DescribeLimitsOutput) { @@ -612,9 +611,9 @@ func (c *Kinesis) DescribeLimitsRequest(input *DescribeLimitsInput) (req *reques // API operation DescribeLimits for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeLimits func (c *Kinesis) DescribeLimits(input *DescribeLimitsInput) (*DescribeLimitsOutput, error) { @@ -654,14 +653,13 @@ const opDescribeStream = "DescribeStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStreamRequest method. +// req, resp := client.DescribeStreamRequest(params) // -// // Example sending a request using the DescribeStreamRequest method. -// req, resp := client.DescribeStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStream func (c *Kinesis) DescribeStreamRequest(input *DescribeStreamInput) (req *request.Request, output *DescribeStreamOutput) { @@ -721,13 +719,14 @@ func (c *Kinesis) DescribeStreamRequest(input *DescribeStreamInput) (req *reques // API operation DescribeStream for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. +// +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStream func (c *Kinesis) DescribeStream(input *DescribeStreamInput) (*DescribeStreamOutput, error) { @@ -759,15 +758,14 @@ func (c *Kinesis) DescribeStreamWithContext(ctx aws.Context, input *DescribeStre // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeStream operation. -// pageNum := 0 -// err := client.DescribeStreamPages(params, -// func(page *kinesis.DescribeStreamOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeStream operation. +// pageNum := 0 +// err := client.DescribeStreamPages(params, +// func(page *kinesis.DescribeStreamOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kinesis) DescribeStreamPages(input *DescribeStreamInput, fn func(*DescribeStreamOutput, bool) bool) error { return c.DescribeStreamPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -819,14 +817,13 @@ const opDescribeStreamConsumer = "DescribeStreamConsumer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStreamConsumerRequest method. +// req, resp := client.DescribeStreamConsumerRequest(params) // -// // Example sending a request using the DescribeStreamConsumerRequest method. -// req, resp := client.DescribeStreamConsumerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamConsumer func (c *Kinesis) DescribeStreamConsumerRequest(input *DescribeStreamConsumerInput) (req *request.Request, output *DescribeStreamConsumerOutput) { @@ -865,17 +862,18 @@ func (c *Kinesis) DescribeStreamConsumerRequest(input *DescribeStreamConsumerInp // API operation DescribeStreamConsumer for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. // -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. +// +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamConsumer func (c *Kinesis) DescribeStreamConsumer(input *DescribeStreamConsumerInput) (*DescribeStreamConsumerOutput, error) { @@ -915,14 +913,13 @@ const opDescribeStreamSummary = "DescribeStreamSummary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStreamSummaryRequest method. +// req, resp := client.DescribeStreamSummaryRequest(params) // -// // Example sending a request using the DescribeStreamSummaryRequest method. -// req, resp := client.DescribeStreamSummaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamSummary func (c *Kinesis) DescribeStreamSummaryRequest(input *DescribeStreamSummaryInput) (req *request.Request, output *DescribeStreamSummaryOutput) { @@ -960,13 +957,14 @@ func (c *Kinesis) DescribeStreamSummaryRequest(input *DescribeStreamSummaryInput // API operation DescribeStreamSummary for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. +// +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DescribeStreamSummary func (c *Kinesis) DescribeStreamSummary(input *DescribeStreamSummaryInput) (*DescribeStreamSummaryOutput, error) { @@ -1006,14 +1004,13 @@ const opDisableEnhancedMonitoring = "DisableEnhancedMonitoring" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableEnhancedMonitoringRequest method. +// req, resp := client.DisableEnhancedMonitoringRequest(params) // -// // Example sending a request using the DisableEnhancedMonitoringRequest method. -// req, resp := client.DisableEnhancedMonitoringRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DisableEnhancedMonitoring func (c *Kinesis) DisableEnhancedMonitoringRequest(input *DisableEnhancedMonitoringInput) (req *request.Request, output *EnhancedMonitoringOutput) { @@ -1044,21 +1041,22 @@ func (c *Kinesis) DisableEnhancedMonitoringRequest(input *DisableEnhancedMonitor // API operation DisableEnhancedMonitoring for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. +// +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/DisableEnhancedMonitoring func (c *Kinesis) DisableEnhancedMonitoring(input *DisableEnhancedMonitoringInput) (*EnhancedMonitoringOutput, error) { @@ -1098,14 +1096,13 @@ const opEnableEnhancedMonitoring = "EnableEnhancedMonitoring" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableEnhancedMonitoringRequest method. +// req, resp := client.EnableEnhancedMonitoringRequest(params) // -// // Example sending a request using the EnableEnhancedMonitoringRequest method. -// req, resp := client.EnableEnhancedMonitoringRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnableEnhancedMonitoring func (c *Kinesis) EnableEnhancedMonitoringRequest(input *EnableEnhancedMonitoringInput) (req *request.Request, output *EnhancedMonitoringOutput) { @@ -1136,21 +1133,22 @@ func (c *Kinesis) EnableEnhancedMonitoringRequest(input *EnableEnhancedMonitorin // API operation EnableEnhancedMonitoring for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. +// +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/EnableEnhancedMonitoring func (c *Kinesis) EnableEnhancedMonitoring(input *EnableEnhancedMonitoringInput) (*EnhancedMonitoringOutput, error) { @@ -1190,14 +1188,13 @@ const opGetRecords = "GetRecords" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRecordsRequest method. +// req, resp := client.GetRecordsRequest(params) // -// // Example sending a request using the GetRecordsRequest method. -// req, resp := client.GetRecordsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecords func (c *Kinesis) GetRecordsRequest(input *GetRecordsInput) (req *request.Request, output *GetRecordsOutput) { @@ -1286,50 +1283,51 @@ func (c *Kinesis) GetRecordsRequest(input *GetRecordsInput) (req *request.Reques // API operation GetRecords for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. -// -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. -// -// * ProvisionedThroughputExceededException -// The request rate for the stream is too high, or the requested data is too -// large for the available throughput. Reduce the frequency or size of your -// requests. For more information, see Streams Limits (https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html) -// in the Amazon Kinesis Data Streams Developer Guide, and Error Retries and -// Exponential Backoff in Amazon Web Services (https://docs.aws.amazon.com/general/latest/gr/api-retries.html) -// in the Amazon Web Services General Reference. -// -// * ExpiredIteratorException -// The provided iterator exceeds the maximum age allowed. -// -// * KMSDisabledException -// The request was rejected because the specified customer master key (CMK) -// isn't enabled. -// -// * KMSInvalidStateException -// The request was rejected because the state of the specified resource isn't -// valid for this request. For more information, see How Key State Affects Use -// of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Amazon Web Services Key Management Service Developer Guide. -// -// * KMSAccessDeniedException -// The ciphertext references a key that doesn't exist or that you don't have -// access to. -// -// * KMSNotFoundException -// The request was rejected because the specified entity or resource can't be -// found. -// -// * KMSOptInRequired -// The Amazon Web Services access key ID needs a subscription for the service. -// -// * KMSThrottlingException -// The request was denied due to request throttling. For more information about -// throttling, see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) -// in the Amazon Web Services Key Management Service Developer Guide. +// +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. +// +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. +// +// - ProvisionedThroughputExceededException +// The request rate for the stream is too high, or the requested data is too +// large for the available throughput. Reduce the frequency or size of your +// requests. For more information, see Streams Limits (https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html) +// in the Amazon Kinesis Data Streams Developer Guide, and Error Retries and +// Exponential Backoff in Amazon Web Services (https://docs.aws.amazon.com/general/latest/gr/api-retries.html) +// in the Amazon Web Services General Reference. +// +// - ExpiredIteratorException +// The provided iterator exceeds the maximum age allowed. +// +// - KMSDisabledException +// The request was rejected because the specified customer master key (CMK) +// isn't enabled. +// +// - KMSInvalidStateException +// The request was rejected because the state of the specified resource isn't +// valid for this request. For more information, see How Key State Affects Use +// of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Amazon Web Services Key Management Service Developer Guide. +// +// - KMSAccessDeniedException +// The ciphertext references a key that doesn't exist or that you don't have +// access to. +// +// - KMSNotFoundException +// The request was rejected because the specified entity or resource can't be +// found. +// +// - KMSOptInRequired +// The Amazon Web Services access key ID needs a subscription for the service. +// +// - KMSThrottlingException +// The request was denied due to request throttling. For more information about +// throttling, see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) +// in the Amazon Web Services Key Management Service Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetRecords func (c *Kinesis) GetRecords(input *GetRecordsInput) (*GetRecordsOutput, error) { @@ -1369,14 +1367,13 @@ const opGetShardIterator = "GetShardIterator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetShardIteratorRequest method. +// req, resp := client.GetShardIteratorRequest(params) // -// // Example sending a request using the GetShardIteratorRequest method. -// req, resp := client.GetShardIteratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIterator func (c *Kinesis) GetShardIteratorRequest(input *GetShardIteratorInput) (req *request.Request, output *GetShardIteratorOutput) { @@ -1445,21 +1442,22 @@ func (c *Kinesis) GetShardIteratorRequest(input *GetShardIteratorInput) (req *re // API operation GetShardIterator for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. -// -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. -// -// * ProvisionedThroughputExceededException -// The request rate for the stream is too high, or the requested data is too -// large for the available throughput. Reduce the frequency or size of your -// requests. For more information, see Streams Limits (https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html) -// in the Amazon Kinesis Data Streams Developer Guide, and Error Retries and -// Exponential Backoff in Amazon Web Services (https://docs.aws.amazon.com/general/latest/gr/api-retries.html) -// in the Amazon Web Services General Reference. +// +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. +// +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. +// +// - ProvisionedThroughputExceededException +// The request rate for the stream is too high, or the requested data is too +// large for the available throughput. Reduce the frequency or size of your +// requests. For more information, see Streams Limits (https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html) +// in the Amazon Kinesis Data Streams Developer Guide, and Error Retries and +// Exponential Backoff in Amazon Web Services (https://docs.aws.amazon.com/general/latest/gr/api-retries.html) +// in the Amazon Web Services General Reference. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/GetShardIterator func (c *Kinesis) GetShardIterator(input *GetShardIteratorInput) (*GetShardIteratorOutput, error) { @@ -1499,14 +1497,13 @@ const opIncreaseStreamRetentionPeriod = "IncreaseStreamRetentionPeriod" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the IncreaseStreamRetentionPeriodRequest method. +// req, resp := client.IncreaseStreamRetentionPeriodRequest(params) // -// // Example sending a request using the IncreaseStreamRetentionPeriodRequest method. -// req, resp := client.IncreaseStreamRetentionPeriodRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriod func (c *Kinesis) IncreaseStreamRetentionPeriodRequest(input *IncreaseStreamRetentionPeriodInput) (req *request.Request, output *IncreaseStreamRetentionPeriodOutput) { @@ -1548,21 +1545,22 @@ func (c *Kinesis) IncreaseStreamRetentionPeriodRequest(input *IncreaseStreamRete // API operation IncreaseStreamRetentionPeriod for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. // -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. +// +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/IncreaseStreamRetentionPeriod func (c *Kinesis) IncreaseStreamRetentionPeriod(input *IncreaseStreamRetentionPeriodInput) (*IncreaseStreamRetentionPeriodOutput, error) { @@ -1602,14 +1600,13 @@ const opListShards = "ListShards" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListShardsRequest method. +// req, resp := client.ListShardsRequest(params) // -// // Example sending a request using the ListShardsRequest method. -// req, resp := client.ListShardsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListShards func (c *Kinesis) ListShardsRequest(input *ListShardsInput) (req *request.Request, output *ListShardsOutput) { @@ -1650,24 +1647,25 @@ func (c *Kinesis) ListShardsRequest(input *ListShardsInput) (req *request.Reques // API operation ListShards for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. +// +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ExpiredNextTokenException -// The pagination token passed to the operation is expired. +// - ExpiredNextTokenException +// The pagination token passed to the operation is expired. // -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListShards func (c *Kinesis) ListShards(input *ListShardsInput) (*ListShardsOutput, error) { @@ -1707,14 +1705,13 @@ const opListStreamConsumers = "ListStreamConsumers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStreamConsumersRequest method. +// req, resp := client.ListStreamConsumersRequest(params) // -// // Example sending a request using the ListStreamConsumersRequest method. -// req, resp := client.ListStreamConsumersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreamConsumers func (c *Kinesis) ListStreamConsumersRequest(input *ListStreamConsumersInput) (req *request.Request, output *ListStreamConsumersOutput) { @@ -1754,24 +1751,25 @@ func (c *Kinesis) ListStreamConsumersRequest(input *ListStreamConsumersInput) (r // API operation ListStreamConsumers for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. // -// * ExpiredNextTokenException -// The pagination token passed to the operation is expired. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. +// - ExpiredNextTokenException +// The pagination token passed to the operation is expired. +// +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreamConsumers func (c *Kinesis) ListStreamConsumers(input *ListStreamConsumersInput) (*ListStreamConsumersOutput, error) { @@ -1803,15 +1801,14 @@ func (c *Kinesis) ListStreamConsumersWithContext(ctx aws.Context, input *ListStr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStreamConsumers operation. -// pageNum := 0 -// err := client.ListStreamConsumersPages(params, -// func(page *kinesis.ListStreamConsumersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStreamConsumers operation. +// pageNum := 0 +// err := client.ListStreamConsumersPages(params, +// func(page *kinesis.ListStreamConsumersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kinesis) ListStreamConsumersPages(input *ListStreamConsumersInput, fn func(*ListStreamConsumersOutput, bool) bool) error { return c.ListStreamConsumersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1863,14 +1860,13 @@ const opListStreams = "ListStreams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStreamsRequest method. +// req, resp := client.ListStreamsRequest(params) // -// // Example sending a request using the ListStreamsRequest method. -// req, resp := client.ListStreamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreams func (c *Kinesis) ListStreamsRequest(input *ListStreamsInput) (req *request.Request, output *ListStreamsOutput) { @@ -1922,9 +1918,9 @@ func (c *Kinesis) ListStreamsRequest(input *ListStreamsInput) (req *request.Requ // API operation ListStreams for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListStreams func (c *Kinesis) ListStreams(input *ListStreamsInput) (*ListStreamsOutput, error) { @@ -1956,15 +1952,14 @@ func (c *Kinesis) ListStreamsWithContext(ctx aws.Context, input *ListStreamsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStreams operation. -// pageNum := 0 -// err := client.ListStreamsPages(params, -// func(page *kinesis.ListStreamsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStreams operation. +// pageNum := 0 +// err := client.ListStreamsPages(params, +// func(page *kinesis.ListStreamsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Kinesis) ListStreamsPages(input *ListStreamsInput, fn func(*ListStreamsOutput, bool) bool) error { return c.ListStreamsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2016,14 +2011,13 @@ const opListTagsForStream = "ListTagsForStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForStreamRequest method. +// req, resp := client.ListTagsForStreamRequest(params) // -// // Example sending a request using the ListTagsForStreamRequest method. -// req, resp := client.ListTagsForStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStream func (c *Kinesis) ListTagsForStreamRequest(input *ListTagsForStreamInput) (req *request.Request, output *ListTagsForStreamOutput) { @@ -2055,17 +2049,18 @@ func (c *Kinesis) ListTagsForStreamRequest(input *ListTagsForStreamInput) (req * // API operation ListTagsForStream for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. +// +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/ListTagsForStream func (c *Kinesis) ListTagsForStream(input *ListTagsForStreamInput) (*ListTagsForStreamOutput, error) { @@ -2105,14 +2100,13 @@ const opMergeShards = "MergeShards" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MergeShardsRequest method. +// req, resp := client.MergeShardsRequest(params) // -// // Example sending a request using the MergeShardsRequest method. -// req, resp := client.MergeShardsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShards func (c *Kinesis) MergeShardsRequest(input *MergeShardsInput) (req *request.Request, output *MergeShardsOutput) { @@ -2179,23 +2173,24 @@ func (c *Kinesis) MergeShardsRequest(input *MergeShardsInput) (req *request.Requ // API operation MergeShards for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. // -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. +// +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ValidationException +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/MergeShards func (c *Kinesis) MergeShards(input *MergeShardsInput) (*MergeShardsOutput, error) { @@ -2235,14 +2230,13 @@ const opPutRecord = "PutRecord" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRecordRequest method. +// req, resp := client.PutRecordRequest(params) // -// // Example sending a request using the PutRecordRequest method. -// req, resp := client.PutRecordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecord func (c *Kinesis) PutRecordRequest(input *PutRecordInput) (req *request.Request, output *PutRecordOutput) { @@ -2314,47 +2308,48 @@ func (c *Kinesis) PutRecordRequest(input *PutRecordInput) (req *request.Request, // API operation PutRecord for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. -// -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. -// -// * ProvisionedThroughputExceededException -// The request rate for the stream is too high, or the requested data is too -// large for the available throughput. Reduce the frequency or size of your -// requests. For more information, see Streams Limits (https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html) -// in the Amazon Kinesis Data Streams Developer Guide, and Error Retries and -// Exponential Backoff in Amazon Web Services (https://docs.aws.amazon.com/general/latest/gr/api-retries.html) -// in the Amazon Web Services General Reference. -// -// * KMSDisabledException -// The request was rejected because the specified customer master key (CMK) -// isn't enabled. -// -// * KMSInvalidStateException -// The request was rejected because the state of the specified resource isn't -// valid for this request. For more information, see How Key State Affects Use -// of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Amazon Web Services Key Management Service Developer Guide. -// -// * KMSAccessDeniedException -// The ciphertext references a key that doesn't exist or that you don't have -// access to. -// -// * KMSNotFoundException -// The request was rejected because the specified entity or resource can't be -// found. -// -// * KMSOptInRequired -// The Amazon Web Services access key ID needs a subscription for the service. -// -// * KMSThrottlingException -// The request was denied due to request throttling. For more information about -// throttling, see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) -// in the Amazon Web Services Key Management Service Developer Guide. +// +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. +// +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. +// +// - ProvisionedThroughputExceededException +// The request rate for the stream is too high, or the requested data is too +// large for the available throughput. Reduce the frequency or size of your +// requests. For more information, see Streams Limits (https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html) +// in the Amazon Kinesis Data Streams Developer Guide, and Error Retries and +// Exponential Backoff in Amazon Web Services (https://docs.aws.amazon.com/general/latest/gr/api-retries.html) +// in the Amazon Web Services General Reference. +// +// - KMSDisabledException +// The request was rejected because the specified customer master key (CMK) +// isn't enabled. +// +// - KMSInvalidStateException +// The request was rejected because the state of the specified resource isn't +// valid for this request. For more information, see How Key State Affects Use +// of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Amazon Web Services Key Management Service Developer Guide. +// +// - KMSAccessDeniedException +// The ciphertext references a key that doesn't exist or that you don't have +// access to. +// +// - KMSNotFoundException +// The request was rejected because the specified entity or resource can't be +// found. +// +// - KMSOptInRequired +// The Amazon Web Services access key ID needs a subscription for the service. +// +// - KMSThrottlingException +// The request was denied due to request throttling. For more information about +// throttling, see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) +// in the Amazon Web Services Key Management Service Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecord func (c *Kinesis) PutRecord(input *PutRecordInput) (*PutRecordOutput, error) { @@ -2394,14 +2389,13 @@ const opPutRecords = "PutRecords" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRecordsRequest method. +// req, resp := client.PutRecordsRequest(params) // -// // Example sending a request using the PutRecordsRequest method. -// req, resp := client.PutRecordsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecords func (c *Kinesis) PutRecordsRequest(input *PutRecordsInput) (req *request.Request, output *PutRecordsOutput) { @@ -2496,47 +2490,48 @@ func (c *Kinesis) PutRecordsRequest(input *PutRecordsInput) (req *request.Reques // API operation PutRecords for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. -// -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. -// -// * ProvisionedThroughputExceededException -// The request rate for the stream is too high, or the requested data is too -// large for the available throughput. Reduce the frequency or size of your -// requests. For more information, see Streams Limits (https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html) -// in the Amazon Kinesis Data Streams Developer Guide, and Error Retries and -// Exponential Backoff in Amazon Web Services (https://docs.aws.amazon.com/general/latest/gr/api-retries.html) -// in the Amazon Web Services General Reference. -// -// * KMSDisabledException -// The request was rejected because the specified customer master key (CMK) -// isn't enabled. -// -// * KMSInvalidStateException -// The request was rejected because the state of the specified resource isn't -// valid for this request. For more information, see How Key State Affects Use -// of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Amazon Web Services Key Management Service Developer Guide. -// -// * KMSAccessDeniedException -// The ciphertext references a key that doesn't exist or that you don't have -// access to. -// -// * KMSNotFoundException -// The request was rejected because the specified entity or resource can't be -// found. -// -// * KMSOptInRequired -// The Amazon Web Services access key ID needs a subscription for the service. -// -// * KMSThrottlingException -// The request was denied due to request throttling. For more information about -// throttling, see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) -// in the Amazon Web Services Key Management Service Developer Guide. +// +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. +// +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. +// +// - ProvisionedThroughputExceededException +// The request rate for the stream is too high, or the requested data is too +// large for the available throughput. Reduce the frequency or size of your +// requests. For more information, see Streams Limits (https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html) +// in the Amazon Kinesis Data Streams Developer Guide, and Error Retries and +// Exponential Backoff in Amazon Web Services (https://docs.aws.amazon.com/general/latest/gr/api-retries.html) +// in the Amazon Web Services General Reference. +// +// - KMSDisabledException +// The request was rejected because the specified customer master key (CMK) +// isn't enabled. +// +// - KMSInvalidStateException +// The request was rejected because the state of the specified resource isn't +// valid for this request. For more information, see How Key State Affects Use +// of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Amazon Web Services Key Management Service Developer Guide. +// +// - KMSAccessDeniedException +// The ciphertext references a key that doesn't exist or that you don't have +// access to. +// +// - KMSNotFoundException +// The request was rejected because the specified entity or resource can't be +// found. +// +// - KMSOptInRequired +// The Amazon Web Services access key ID needs a subscription for the service. +// +// - KMSThrottlingException +// The request was denied due to request throttling. For more information about +// throttling, see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) +// in the Amazon Web Services Key Management Service Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/PutRecords func (c *Kinesis) PutRecords(input *PutRecordsInput) (*PutRecordsOutput, error) { @@ -2576,14 +2571,13 @@ const opRegisterStreamConsumer = "RegisterStreamConsumer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterStreamConsumerRequest method. +// req, resp := client.RegisterStreamConsumerRequest(params) // -// // Example sending a request using the RegisterStreamConsumerRequest method. -// req, resp := client.RegisterStreamConsumerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RegisterStreamConsumer func (c *Kinesis) RegisterStreamConsumerRequest(input *RegisterStreamConsumerInput) (req *request.Request, output *RegisterStreamConsumerOutput) { @@ -2630,21 +2624,22 @@ func (c *Kinesis) RegisterStreamConsumerRequest(input *RegisterStreamConsumerInp // API operation RegisterStreamConsumer for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. +// +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RegisterStreamConsumer func (c *Kinesis) RegisterStreamConsumer(input *RegisterStreamConsumerInput) (*RegisterStreamConsumerOutput, error) { @@ -2684,14 +2679,13 @@ const opRemoveTagsFromStream = "RemoveTagsFromStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsFromStreamRequest method. +// req, resp := client.RemoveTagsFromStreamRequest(params) // -// // Example sending a request using the RemoveTagsFromStreamRequest method. -// req, resp := client.RemoveTagsFromStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStream func (c *Kinesis) RemoveTagsFromStreamRequest(input *RemoveTagsFromStreamInput) (req *request.Request, output *RemoveTagsFromStreamOutput) { @@ -2728,21 +2722,22 @@ func (c *Kinesis) RemoveTagsFromStreamRequest(input *RemoveTagsFromStreamInput) // API operation RemoveTagsFromStream for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. // -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. +// +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/RemoveTagsFromStream func (c *Kinesis) RemoveTagsFromStream(input *RemoveTagsFromStreamInput) (*RemoveTagsFromStreamOutput, error) { @@ -2782,14 +2777,13 @@ const opSplitShard = "SplitShard" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SplitShardRequest method. +// req, resp := client.SplitShardRequest(params) // -// // Example sending a request using the SplitShardRequest method. -// req, resp := client.SplitShardRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShard func (c *Kinesis) SplitShardRequest(input *SplitShardInput) (req *request.Request, output *SplitShardOutput) { @@ -2865,23 +2859,24 @@ func (c *Kinesis) SplitShardRequest(input *SplitShardInput) (req *request.Reques // API operation SplitShard for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. // -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. // -// * ValidationException +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SplitShard func (c *Kinesis) SplitShard(input *SplitShardInput) (*SplitShardOutput, error) { @@ -2921,14 +2916,13 @@ const opStartStreamEncryption = "StartStreamEncryption" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartStreamEncryptionRequest method. +// req, resp := client.StartStreamEncryptionRequest(params) // -// // Example sending a request using the StartStreamEncryptionRequest method. -// req, resp := client.StartStreamEncryptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StartStreamEncryption func (c *Kinesis) StartStreamEncryptionRequest(input *StartStreamEncryptionInput) (req *request.Request, output *StartStreamEncryptionOutput) { @@ -2978,47 +2972,48 @@ func (c *Kinesis) StartStreamEncryptionRequest(input *StartStreamEncryptionInput // API operation StartStreamEncryption for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. // -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // -// * KMSDisabledException -// The request was rejected because the specified customer master key (CMK) -// isn't enabled. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. // -// * KMSInvalidStateException -// The request was rejected because the state of the specified resource isn't -// valid for this request. For more information, see How Key State Affects Use -// of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Amazon Web Services Key Management Service Developer Guide. +// - KMSDisabledException +// The request was rejected because the specified customer master key (CMK) +// isn't enabled. // -// * KMSAccessDeniedException -// The ciphertext references a key that doesn't exist or that you don't have -// access to. +// - KMSInvalidStateException +// The request was rejected because the state of the specified resource isn't +// valid for this request. For more information, see How Key State Affects Use +// of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Amazon Web Services Key Management Service Developer Guide. // -// * KMSNotFoundException -// The request was rejected because the specified entity or resource can't be -// found. +// - KMSAccessDeniedException +// The ciphertext references a key that doesn't exist or that you don't have +// access to. // -// * KMSOptInRequired -// The Amazon Web Services access key ID needs a subscription for the service. +// - KMSNotFoundException +// The request was rejected because the specified entity or resource can't be +// found. // -// * KMSThrottlingException -// The request was denied due to request throttling. For more information about -// throttling, see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) -// in the Amazon Web Services Key Management Service Developer Guide. +// - KMSOptInRequired +// The Amazon Web Services access key ID needs a subscription for the service. +// +// - KMSThrottlingException +// The request was denied due to request throttling. For more information about +// throttling, see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) +// in the Amazon Web Services Key Management Service Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StartStreamEncryption func (c *Kinesis) StartStreamEncryption(input *StartStreamEncryptionInput) (*StartStreamEncryptionOutput, error) { @@ -3058,14 +3053,13 @@ const opStopStreamEncryption = "StopStreamEncryption" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopStreamEncryptionRequest method. +// req, resp := client.StopStreamEncryptionRequest(params) // -// // Example sending a request using the StopStreamEncryptionRequest method. -// req, resp := client.StopStreamEncryptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StopStreamEncryption func (c *Kinesis) StopStreamEncryptionRequest(input *StopStreamEncryptionInput) (req *request.Request, output *StopStreamEncryptionOutput) { @@ -3114,21 +3108,22 @@ func (c *Kinesis) StopStreamEncryptionRequest(input *StopStreamEncryptionInput) // API operation StopStreamEncryption for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. +// +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/StopStreamEncryption func (c *Kinesis) StopStreamEncryption(input *StopStreamEncryptionInput) (*StopStreamEncryptionOutput, error) { @@ -3168,14 +3163,13 @@ const opSubscribeToShard = "SubscribeToShard" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SubscribeToShardRequest method. +// req, resp := client.SubscribeToShardRequest(params) // -// // Example sending a request using the SubscribeToShardRequest method. -// req, resp := client.SubscribeToShardRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SubscribeToShard func (c *Kinesis) SubscribeToShardRequest(input *SubscribeToShardInput) (req *request.Request, output *SubscribeToShardOutput) { @@ -3242,21 +3236,22 @@ func (c *Kinesis) SubscribeToShardRequest(input *SubscribeToShardInput) (req *re // API operation SubscribeToShard for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. +// +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. // -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/SubscribeToShard func (c *Kinesis) SubscribeToShard(input *SubscribeToShardInput) (*SubscribeToShardOutput, error) { @@ -3320,10 +3315,10 @@ type SubscribeToShardEventStream struct { // (e.g. http.Response.Body), that will be closed when the stream Close method // is called. // -// es := NewSubscribeToShardEventStream(func(o *SubscribeToShardEventStream){ -// es.Reader = myMockStreamReader -// es.StreamCloser = myMockStreamCloser -// }) +// es := NewSubscribeToShardEventStream(func(o *SubscribeToShardEventStream){ +// es.Reader = myMockStreamReader +// es.StreamCloser = myMockStreamCloser +// }) func NewSubscribeToShardEventStream(opts ...func(*SubscribeToShardEventStream)) *SubscribeToShardEventStream { es := &SubscribeToShardEventStream{ done: make(chan struct{}), @@ -3388,8 +3383,8 @@ func (e eventTypeForSubscribeToShardEventStreamOutputEvent) UnmarshalerForEventN // // These events are: // -// * SubscribeToShardEvent -// * SubscribeToShardEventStreamUnknownEvent +// - SubscribeToShardEvent +// - SubscribeToShardEventStreamUnknownEvent func (es *SubscribeToShardEventStream) Events() <-chan SubscribeToShardEventStreamEvent { return es.Reader.Events() } @@ -3453,7 +3448,6 @@ func (es *SubscribeToShardEventStream) recvInitialEvent(r *request.Request) { // // You can use the closing of the Reader's Events channel to terminate your // application's read from the API's stream. -// func (es *SubscribeToShardEventStream) Close() (err error) { es.closeOnce.Do(es.safeClose) return es.Err() @@ -3501,14 +3495,13 @@ const opUpdateShardCount = "UpdateShardCount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateShardCountRequest method. +// req, resp := client.UpdateShardCountRequest(params) // -// // Example sending a request using the UpdateShardCountRequest method. -// req, resp := client.UpdateShardCountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCount func (c *Kinesis) UpdateShardCountRequest(input *UpdateShardCountInput) (req *request.Request, output *UpdateShardCountOutput) { @@ -3552,18 +3545,18 @@ func (c *Kinesis) UpdateShardCountRequest(input *UpdateShardCountInput) (req *re // This operation has the following default limits. By default, you cannot do // the following: // -// * Scale more than ten times per rolling 24-hour period per stream +// - Scale more than ten times per rolling 24-hour period per stream // -// * Scale up to more than double your current shard count for a stream +// - Scale up to more than double your current shard count for a stream // -// * Scale down below half your current shard count for a stream +// - Scale down below half your current shard count for a stream // -// * Scale up to more than 10000 shards in a stream +// - Scale up to more than 10000 shards in a stream // -// * Scale a stream with more than 10000 shards down unless the result is -// less than 10000 shards +// - Scale a stream with more than 10000 shards down unless the result is +// less than 10000 shards // -// * Scale up to more than the shard limit for your account +// - Scale up to more than the shard limit for your account // // For the default limits for an Amazon Web Services account, see Streams Limits // (https://docs.aws.amazon.com/kinesis/latest/dev/service-sizes-and-limits.html) @@ -3579,23 +3572,24 @@ func (c *Kinesis) UpdateShardCountRequest(input *UpdateShardCountInput) (req *re // API operation UpdateShardCount for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. +// +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. // -// * ValidationException +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateShardCount func (c *Kinesis) UpdateShardCount(input *UpdateShardCountInput) (*UpdateShardCountOutput, error) { @@ -3635,14 +3629,13 @@ const opUpdateStreamMode = "UpdateStreamMode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStreamModeRequest method. +// req, resp := client.UpdateStreamModeRequest(params) // -// // Example sending a request using the UpdateStreamModeRequest method. -// req, resp := client.UpdateStreamModeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateStreamMode func (c *Kinesis) UpdateStreamModeRequest(input *UpdateStreamModeInput) (req *request.Request, output *UpdateStreamModeOutput) { @@ -3676,21 +3669,22 @@ func (c *Kinesis) UpdateStreamModeRequest(input *UpdateStreamModeInput) (req *re // API operation UpdateStreamMode for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. For more information, see the returned message. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. For more information, see the returned message. +// +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ResourceInUseException -// The resource is not available for this operation. For successful operation, -// the resource must be in the ACTIVE state. +// - ResourceInUseException +// The resource is not available for this operation. For successful operation, +// the resource must be in the ACTIVE state. // -// * ResourceNotFoundException -// The requested resource could not be found. The stream might not be specified -// correctly. +// - ResourceNotFoundException +// The requested resource could not be found. The stream might not be specified +// correctly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-2013-12-02/UpdateStreamMode func (c *Kinesis) UpdateStreamMode(input *UpdateStreamModeInput) (*UpdateStreamModeOutput, error) { @@ -9281,7 +9275,7 @@ func (s *SubscribeToShardEvent) MarshalEvent(pm protocol.PayloadMarshaler) (msg // // These events are: // -// * SubscribeToShardEvent +// - SubscribeToShardEvent type SubscribeToShardEventStreamEvent interface { eventSubscribeToShardEventStream() eventstreamapi.Marshaler @@ -9295,8 +9289,8 @@ type SubscribeToShardEventStreamEvent interface { // // These events are: // -// * SubscribeToShardEvent -// * SubscribeToShardEventStreamUnknownEvent +// - SubscribeToShardEvent +// - SubscribeToShardEventStreamUnknownEvent type SubscribeToShardEventStreamReader interface { // Returns a channel of events as they are read from the event stream. Events() <-chan SubscribeToShardEventStreamEvent diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/cust_integ_shared_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/cust_integ_shared_test.go index df7626b78ab5..abf503f9ff66 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/cust_integ_shared_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/cust_integ_shared_test.go @@ -15,11 +15,11 @@ import ( "testing" "time" + "golang.org/x/net/http2" "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws" "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/aws/awserr" "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/awstesting/integration" "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis" - "golang.org/x/net/http2" ) var ( diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/doc.go index 06e8de5fe173..81e35418e453 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/doc.go @@ -11,7 +11,7 @@ // See kinesis package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/kinesis/ // -// Using the Client +// # Using the Client // // To contact Amazon Kinesis with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/kinesisiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/kinesisiface/interface.go index 7d5fadcce504..99b1089f66cb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/kinesisiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/kinesisiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Kinesis. -// func myFunc(svc kinesisiface.KinesisAPI) bool { -// // Make svc.AddTagsToStream request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Kinesis. +// func myFunc(svc kinesisiface.KinesisAPI) bool { +// // Make svc.AddTagsToStream request +// } // -// func main() { -// sess := session.New() -// svc := kinesis.New(sess) +// func main() { +// sess := session.New() +// svc := kinesis.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockKinesisClient struct { -// kinesisiface.KinesisAPI -// } -// func (m *mockKinesisClient) AddTagsToStream(input *kinesis.AddTagsToStreamInput) (*kinesis.AddTagsToStreamOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockKinesisClient struct { +// kinesisiface.KinesisAPI +// } +// func (m *mockKinesisClient) AddTagsToStream(input *kinesis.AddTagsToStreamInput) (*kinesis.AddTagsToStreamOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockKinesisClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockKinesisClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/service.go index 56b63a4cdf6c..3d27045fa405 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesis/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Kinesis client from just a session. -// svc := kinesis.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Kinesis client with additional configuration -// svc := kinesis.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Kinesis client from just a session. +// svc := kinesis.New(mySession) +// +// // Create a Kinesis client with additional configuration +// svc := kinesis.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Kinesis { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/api.go index 60e7f237517f..945b12d51f90 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/api.go @@ -29,14 +29,13 @@ const opAddApplicationCloudWatchLoggingOption = "AddApplicationCloudWatchLogging // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddApplicationCloudWatchLoggingOptionRequest method. +// req, resp := client.AddApplicationCloudWatchLoggingOptionRequest(params) // -// // Example sending a request using the AddApplicationCloudWatchLoggingOptionRequest method. -// req, resp := client.AddApplicationCloudWatchLoggingOptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationCloudWatchLoggingOption func (c *KinesisAnalytics) AddApplicationCloudWatchLoggingOptionRequest(input *AddApplicationCloudWatchLoggingOptionInput) (req *request.Request, output *AddApplicationCloudWatchLoggingOptionOutput) { @@ -58,7 +57,6 @@ func (c *KinesisAnalytics) AddApplicationCloudWatchLoggingOptionRequest(input *A // AddApplicationCloudWatchLoggingOption API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -76,23 +74,24 @@ func (c *KinesisAnalytics) AddApplicationCloudWatchLoggingOptionRequest(input *A // API operation AddApplicationCloudWatchLoggingOption for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// Application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. // -// * InvalidArgumentException -// Specified input parameter value is invalid. +// - ResourceInUseException +// Application is not available for this operation. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modification to an application. -// For example, two individuals attempting to edit the same application at the -// same time. +// - InvalidArgumentException +// Specified input parameter value is invalid. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modification to an application. +// For example, two individuals attempting to edit the same application at the +// same time. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationCloudWatchLoggingOption func (c *KinesisAnalytics) AddApplicationCloudWatchLoggingOption(input *AddApplicationCloudWatchLoggingOptionInput) (*AddApplicationCloudWatchLoggingOptionOutput, error) { @@ -132,14 +131,13 @@ const opAddApplicationInput = "AddApplicationInput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddApplicationInputRequest method. +// req, resp := client.AddApplicationInputRequest(params) // -// // Example sending a request using the AddApplicationInputRequest method. -// req, resp := client.AddApplicationInputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationInput func (c *KinesisAnalytics) AddApplicationInputRequest(input *AddApplicationInputInput) (req *request.Request, output *AddApplicationInputOutput) { @@ -161,7 +159,6 @@ func (c *KinesisAnalytics) AddApplicationInputRequest(input *AddApplicationInput // AddApplicationInput API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -190,27 +187,28 @@ func (c *KinesisAnalytics) AddApplicationInputRequest(input *AddApplicationInput // API operation AddApplicationInput for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// Application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// Application is not available for this operation. // -// * InvalidArgumentException -// Specified input parameter value is invalid. +// - InvalidArgumentException +// Specified input parameter value is invalid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modification to an application. -// For example, two individuals attempting to edit the same application at the -// same time. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modification to an application. +// For example, two individuals attempting to edit the same application at the +// same time. // -// * CodeValidationException -// User-provided application code (query) is invalid. This can be a simple syntax -// error. +// - CodeValidationException +// User-provided application code (query) is invalid. This can be a simple syntax +// error. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationInput func (c *KinesisAnalytics) AddApplicationInput(input *AddApplicationInputInput) (*AddApplicationInputOutput, error) { @@ -250,14 +248,13 @@ const opAddApplicationInputProcessingConfiguration = "AddApplicationInputProcess // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddApplicationInputProcessingConfigurationRequest method. +// req, resp := client.AddApplicationInputProcessingConfigurationRequest(params) // -// // Example sending a request using the AddApplicationInputProcessingConfigurationRequest method. -// req, resp := client.AddApplicationInputProcessingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationInputProcessingConfiguration func (c *KinesisAnalytics) AddApplicationInputProcessingConfigurationRequest(input *AddApplicationInputProcessingConfigurationInput) (req *request.Request, output *AddApplicationInputProcessingConfigurationOutput) { @@ -279,7 +276,6 @@ func (c *KinesisAnalytics) AddApplicationInputProcessingConfigurationRequest(inp // AddApplicationInputProcessingConfiguration API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -298,23 +294,24 @@ func (c *KinesisAnalytics) AddApplicationInputProcessingConfigurationRequest(inp // API operation AddApplicationInputProcessingConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// Application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. // -// * InvalidArgumentException -// Specified input parameter value is invalid. +// - ResourceInUseException +// Application is not available for this operation. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modification to an application. -// For example, two individuals attempting to edit the same application at the -// same time. +// - InvalidArgumentException +// Specified input parameter value is invalid. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modification to an application. +// For example, two individuals attempting to edit the same application at the +// same time. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationInputProcessingConfiguration func (c *KinesisAnalytics) AddApplicationInputProcessingConfiguration(input *AddApplicationInputProcessingConfigurationInput) (*AddApplicationInputProcessingConfigurationOutput, error) { @@ -354,14 +351,13 @@ const opAddApplicationOutput = "AddApplicationOutput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddApplicationOutputRequest method. +// req, resp := client.AddApplicationOutputRequest(params) // -// // Example sending a request using the AddApplicationOutputRequest method. -// req, resp := client.AddApplicationOutputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationOutput func (c *KinesisAnalytics) AddApplicationOutputRequest(input *AddApplicationOutputInput) (req *request.Request, output *AddApplicationOutputOutput) { @@ -383,7 +379,6 @@ func (c *KinesisAnalytics) AddApplicationOutputRequest(input *AddApplicationOutp // AddApplicationOutput API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -422,23 +417,24 @@ func (c *KinesisAnalytics) AddApplicationOutputRequest(input *AddApplicationOutp // API operation AddApplicationOutput for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// Application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// Application is not available for this operation. // -// * InvalidArgumentException -// Specified input parameter value is invalid. +// - InvalidArgumentException +// Specified input parameter value is invalid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modification to an application. -// For example, two individuals attempting to edit the same application at the -// same time. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modification to an application. +// For example, two individuals attempting to edit the same application at the +// same time. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationOutput func (c *KinesisAnalytics) AddApplicationOutput(input *AddApplicationOutputInput) (*AddApplicationOutputOutput, error) { @@ -478,14 +474,13 @@ const opAddApplicationReferenceDataSource = "AddApplicationReferenceDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddApplicationReferenceDataSourceRequest method. +// req, resp := client.AddApplicationReferenceDataSourceRequest(params) // -// // Example sending a request using the AddApplicationReferenceDataSourceRequest method. -// req, resp := client.AddApplicationReferenceDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationReferenceDataSource func (c *KinesisAnalytics) AddApplicationReferenceDataSourceRequest(input *AddApplicationReferenceDataSourceInput) (req *request.Request, output *AddApplicationReferenceDataSourceOutput) { @@ -507,7 +502,6 @@ func (c *KinesisAnalytics) AddApplicationReferenceDataSourceRequest(input *AddAp // AddApplicationReferenceDataSource API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -537,23 +531,24 @@ func (c *KinesisAnalytics) AddApplicationReferenceDataSourceRequest(input *AddAp // API operation AddApplicationReferenceDataSource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// Application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// Application is not available for this operation. // -// * InvalidArgumentException -// Specified input parameter value is invalid. +// - InvalidArgumentException +// Specified input parameter value is invalid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modification to an application. -// For example, two individuals attempting to edit the same application at the -// same time. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modification to an application. +// For example, two individuals attempting to edit the same application at the +// same time. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/AddApplicationReferenceDataSource func (c *KinesisAnalytics) AddApplicationReferenceDataSource(input *AddApplicationReferenceDataSourceInput) (*AddApplicationReferenceDataSourceOutput, error) { @@ -593,14 +588,13 @@ const opCreateApplication = "CreateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationRequest method. +// req, resp := client.CreateApplicationRequest(params) // -// // Example sending a request using the CreateApplicationRequest method. -// req, resp := client.CreateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/CreateApplication func (c *KinesisAnalytics) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput) { @@ -621,7 +615,6 @@ func (c *KinesisAnalytics) CreateApplicationRequest(input *CreateApplicationInpu // CreateApplication API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -661,28 +654,29 @@ func (c *KinesisAnalytics) CreateApplicationRequest(input *CreateApplicationInpu // API operation CreateApplication for usage and error information. // // Returned Error Types: -// * CodeValidationException -// User-provided application code (query) is invalid. This can be a simple syntax -// error. // -// * ResourceInUseException -// Application is not available for this operation. +// - CodeValidationException +// User-provided application code (query) is invalid. This can be a simple syntax +// error. // -// * LimitExceededException -// Exceeded the number of applications allowed. +// - ResourceInUseException +// Application is not available for this operation. // -// * InvalidArgumentException -// Specified input parameter value is invalid. +// - LimitExceededException +// Exceeded the number of applications allowed. // -// * TooManyTagsException -// Application created with too many tags, or too many tags added to an application. -// Note that the maximum number of application tags includes system tags. The -// maximum number of user-defined application tags is 50. +// - InvalidArgumentException +// Specified input parameter value is invalid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modification to an application. -// For example, two individuals attempting to edit the same application at the -// same time. +// - TooManyTagsException +// Application created with too many tags, or too many tags added to an application. +// Note that the maximum number of application tags includes system tags. The +// maximum number of user-defined application tags is 50. +// +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modification to an application. +// For example, two individuals attempting to edit the same application at the +// same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/CreateApplication func (c *KinesisAnalytics) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error) { @@ -722,14 +716,13 @@ const opDeleteApplication = "DeleteApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationRequest method. +// req, resp := client.DeleteApplicationRequest(params) // -// // Example sending a request using the DeleteApplicationRequest method. -// req, resp := client.DeleteApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplication func (c *KinesisAnalytics) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) { @@ -751,7 +744,6 @@ func (c *KinesisAnalytics) DeleteApplicationRequest(input *DeleteApplicationInpu // DeleteApplication API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -772,20 +764,21 @@ func (c *KinesisAnalytics) DeleteApplicationRequest(input *DeleteApplicationInpu // API operation DeleteApplication for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modification to an application. -// For example, two individuals attempting to edit the same application at the -// same time. // -// * ResourceNotFoundException -// Specified application can't be found. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modification to an application. +// For example, two individuals attempting to edit the same application at the +// same time. +// +// - ResourceNotFoundException +// Specified application can't be found. // -// * ResourceInUseException -// Application is not available for this operation. +// - ResourceInUseException +// Application is not available for this operation. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplication func (c *KinesisAnalytics) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) { @@ -825,14 +818,13 @@ const opDeleteApplicationCloudWatchLoggingOption = "DeleteApplicationCloudWatchL // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationCloudWatchLoggingOptionRequest method. +// req, resp := client.DeleteApplicationCloudWatchLoggingOptionRequest(params) // -// // Example sending a request using the DeleteApplicationCloudWatchLoggingOptionRequest method. -// req, resp := client.DeleteApplicationCloudWatchLoggingOptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationCloudWatchLoggingOption func (c *KinesisAnalytics) DeleteApplicationCloudWatchLoggingOptionRequest(input *DeleteApplicationCloudWatchLoggingOptionInput) (req *request.Request, output *DeleteApplicationCloudWatchLoggingOptionOutput) { @@ -854,7 +846,6 @@ func (c *KinesisAnalytics) DeleteApplicationCloudWatchLoggingOptionRequest(input // DeleteApplicationCloudWatchLoggingOption API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -872,23 +863,24 @@ func (c *KinesisAnalytics) DeleteApplicationCloudWatchLoggingOptionRequest(input // API operation DeleteApplicationCloudWatchLoggingOption for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// Application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// Application is not available for this operation. // -// * InvalidArgumentException -// Specified input parameter value is invalid. +// - InvalidArgumentException +// Specified input parameter value is invalid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modification to an application. -// For example, two individuals attempting to edit the same application at the -// same time. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modification to an application. +// For example, two individuals attempting to edit the same application at the +// same time. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationCloudWatchLoggingOption func (c *KinesisAnalytics) DeleteApplicationCloudWatchLoggingOption(input *DeleteApplicationCloudWatchLoggingOptionInput) (*DeleteApplicationCloudWatchLoggingOptionOutput, error) { @@ -928,14 +920,13 @@ const opDeleteApplicationInputProcessingConfiguration = "DeleteApplicationInputP // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationInputProcessingConfigurationRequest method. +// req, resp := client.DeleteApplicationInputProcessingConfigurationRequest(params) // -// // Example sending a request using the DeleteApplicationInputProcessingConfigurationRequest method. -// req, resp := client.DeleteApplicationInputProcessingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationInputProcessingConfiguration func (c *KinesisAnalytics) DeleteApplicationInputProcessingConfigurationRequest(input *DeleteApplicationInputProcessingConfigurationInput) (req *request.Request, output *DeleteApplicationInputProcessingConfigurationOutput) { @@ -957,7 +948,6 @@ func (c *KinesisAnalytics) DeleteApplicationInputProcessingConfigurationRequest( // DeleteApplicationInputProcessingConfiguration API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -974,23 +964,24 @@ func (c *KinesisAnalytics) DeleteApplicationInputProcessingConfigurationRequest( // API operation DeleteApplicationInputProcessingConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// Application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. // -// * InvalidArgumentException -// Specified input parameter value is invalid. +// - ResourceInUseException +// Application is not available for this operation. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modification to an application. -// For example, two individuals attempting to edit the same application at the -// same time. +// - InvalidArgumentException +// Specified input parameter value is invalid. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modification to an application. +// For example, two individuals attempting to edit the same application at the +// same time. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationInputProcessingConfiguration func (c *KinesisAnalytics) DeleteApplicationInputProcessingConfiguration(input *DeleteApplicationInputProcessingConfigurationInput) (*DeleteApplicationInputProcessingConfigurationOutput, error) { @@ -1030,14 +1021,13 @@ const opDeleteApplicationOutput = "DeleteApplicationOutput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationOutputRequest method. +// req, resp := client.DeleteApplicationOutputRequest(params) // -// // Example sending a request using the DeleteApplicationOutputRequest method. -// req, resp := client.DeleteApplicationOutputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationOutput func (c *KinesisAnalytics) DeleteApplicationOutputRequest(input *DeleteApplicationOutputInput) (req *request.Request, output *DeleteApplicationOutputOutput) { @@ -1059,7 +1049,6 @@ func (c *KinesisAnalytics) DeleteApplicationOutputRequest(input *DeleteApplicati // DeleteApplicationOutput API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -1080,23 +1069,24 @@ func (c *KinesisAnalytics) DeleteApplicationOutputRequest(input *DeleteApplicati // API operation DeleteApplicationOutput for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// Application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. // -// * InvalidArgumentException -// Specified input parameter value is invalid. +// - ResourceInUseException +// Application is not available for this operation. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modification to an application. -// For example, two individuals attempting to edit the same application at the -// same time. +// - InvalidArgumentException +// Specified input parameter value is invalid. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modification to an application. +// For example, two individuals attempting to edit the same application at the +// same time. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationOutput func (c *KinesisAnalytics) DeleteApplicationOutput(input *DeleteApplicationOutputInput) (*DeleteApplicationOutputOutput, error) { @@ -1136,14 +1126,13 @@ const opDeleteApplicationReferenceDataSource = "DeleteApplicationReferenceDataSo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationReferenceDataSourceRequest method. +// req, resp := client.DeleteApplicationReferenceDataSourceRequest(params) // -// // Example sending a request using the DeleteApplicationReferenceDataSourceRequest method. -// req, resp := client.DeleteApplicationReferenceDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationReferenceDataSource func (c *KinesisAnalytics) DeleteApplicationReferenceDataSourceRequest(input *DeleteApplicationReferenceDataSourceInput) (req *request.Request, output *DeleteApplicationReferenceDataSourceOutput) { @@ -1165,7 +1154,6 @@ func (c *KinesisAnalytics) DeleteApplicationReferenceDataSourceRequest(input *De // DeleteApplicationReferenceDataSource API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -1190,23 +1178,24 @@ func (c *KinesisAnalytics) DeleteApplicationReferenceDataSourceRequest(input *De // API operation DeleteApplicationReferenceDataSource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// Application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// Application is not available for this operation. // -// * InvalidArgumentException -// Specified input parameter value is invalid. +// - InvalidArgumentException +// Specified input parameter value is invalid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modification to an application. -// For example, two individuals attempting to edit the same application at the -// same time. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modification to an application. +// For example, two individuals attempting to edit the same application at the +// same time. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DeleteApplicationReferenceDataSource func (c *KinesisAnalytics) DeleteApplicationReferenceDataSource(input *DeleteApplicationReferenceDataSourceInput) (*DeleteApplicationReferenceDataSourceOutput, error) { @@ -1246,14 +1235,13 @@ const opDescribeApplication = "DescribeApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApplicationRequest method. +// req, resp := client.DescribeApplicationRequest(params) // -// // Example sending a request using the DescribeApplicationRequest method. -// req, resp := client.DescribeApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DescribeApplication func (c *KinesisAnalytics) DescribeApplicationRequest(input *DescribeApplicationInput) (req *request.Request, output *DescribeApplicationOutput) { @@ -1274,7 +1262,6 @@ func (c *KinesisAnalytics) DescribeApplicationRequest(input *DescribeApplication // DescribeApplication API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -1298,12 +1285,13 @@ func (c *KinesisAnalytics) DescribeApplicationRequest(input *DescribeApplication // API operation DescribeApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DescribeApplication func (c *KinesisAnalytics) DescribeApplication(input *DescribeApplicationInput) (*DescribeApplicationOutput, error) { @@ -1343,14 +1331,13 @@ const opDiscoverInputSchema = "DiscoverInputSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DiscoverInputSchemaRequest method. +// req, resp := client.DiscoverInputSchemaRequest(params) // -// // Example sending a request using the DiscoverInputSchemaRequest method. -// req, resp := client.DiscoverInputSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DiscoverInputSchema func (c *KinesisAnalytics) DiscoverInputSchemaRequest(input *DiscoverInputSchemaInput) (req *request.Request, output *DiscoverInputSchemaOutput) { @@ -1371,7 +1358,6 @@ func (c *KinesisAnalytics) DiscoverInputSchemaRequest(input *DiscoverInputSchema // DiscoverInputSchema API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -1400,21 +1386,22 @@ func (c *KinesisAnalytics) DiscoverInputSchemaRequest(input *DiscoverInputSchema // API operation DiscoverInputSchema for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// Specified input parameter value is invalid. // -// * UnableToDetectSchemaException -// Data format is not valid. Amazon Kinesis Analytics is not able to detect -// schema for the given streaming source. +// - InvalidArgumentException +// Specified input parameter value is invalid. +// +// - UnableToDetectSchemaException +// Data format is not valid. Amazon Kinesis Analytics is not able to detect +// schema for the given streaming source. // -// * ResourceProvisionedThroughputExceededException -// Discovery failed to get a record from the streaming source because of the -// Amazon Kinesis Streams ProvisionedThroughputExceededException. For more information, -// see GetRecords (https://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetRecords.html) -// in the Amazon Kinesis Streams API Reference. +// - ResourceProvisionedThroughputExceededException +// Discovery failed to get a record from the streaming source because of the +// Amazon Kinesis Streams ProvisionedThroughputExceededException. For more information, +// see GetRecords (https://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetRecords.html) +// in the Amazon Kinesis Streams API Reference. // -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. +// - ServiceUnavailableException +// The service is unavailable. Back off and retry the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/DiscoverInputSchema func (c *KinesisAnalytics) DiscoverInputSchema(input *DiscoverInputSchemaInput) (*DiscoverInputSchemaOutput, error) { @@ -1454,14 +1441,13 @@ const opListApplications = "ListApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationsRequest method. +// req, resp := client.ListApplicationsRequest(params) // -// // Example sending a request using the ListApplicationsRequest method. -// req, resp := client.ListApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ListApplications func (c *KinesisAnalytics) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput) { @@ -1482,7 +1468,6 @@ func (c *KinesisAnalytics) ListApplicationsRequest(input *ListApplicationsInput) // ListApplications API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -1545,14 +1530,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ListTagsForResource func (c *KinesisAnalytics) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1584,16 +1568,17 @@ func (c *KinesisAnalytics) ListTagsForResourceRequest(input *ListTagsForResource // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * InvalidArgumentException -// Specified input parameter value is invalid. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - InvalidArgumentException +// Specified input parameter value is invalid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modification to an application. -// For example, two individuals attempting to edit the same application at the -// same time. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modification to an application. +// For example, two individuals attempting to edit the same application at the +// same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/ListTagsForResource func (c *KinesisAnalytics) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1633,14 +1618,13 @@ const opStartApplication = "StartApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartApplicationRequest method. +// req, resp := client.StartApplicationRequest(params) // -// // Example sending a request using the StartApplicationRequest method. -// req, resp := client.StartApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/StartApplication func (c *KinesisAnalytics) StartApplicationRequest(input *StartApplicationInput) (req *request.Request, output *StartApplicationOutput) { @@ -1662,7 +1646,6 @@ func (c *KinesisAnalytics) StartApplicationRequest(input *StartApplicationInput) // StartApplication API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -1694,21 +1677,22 @@ func (c *KinesisAnalytics) StartApplicationRequest(input *StartApplicationInput) // API operation StartApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// Application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// Application is not available for this operation. // -// * InvalidArgumentException -// Specified input parameter value is invalid. +// - InvalidArgumentException +// Specified input parameter value is invalid. // -// * InvalidApplicationConfigurationException -// User-provided application configuration is not valid. +// - InvalidApplicationConfigurationException +// User-provided application configuration is not valid. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/StartApplication func (c *KinesisAnalytics) StartApplication(input *StartApplicationInput) (*StartApplicationOutput, error) { @@ -1748,14 +1732,13 @@ const opStopApplication = "StopApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopApplicationRequest method. +// req, resp := client.StopApplicationRequest(params) // -// // Example sending a request using the StopApplicationRequest method. -// req, resp := client.StopApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/StopApplication func (c *KinesisAnalytics) StopApplicationRequest(input *StopApplicationInput) (req *request.Request, output *StopApplicationOutput) { @@ -1777,7 +1760,6 @@ func (c *KinesisAnalytics) StopApplicationRequest(input *StopApplicationInput) ( // StopApplication API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -1800,15 +1782,16 @@ func (c *KinesisAnalytics) StopApplicationRequest(input *StopApplicationInput) ( // API operation StopApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// Application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - ResourceInUseException +// Application is not available for this operation. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/StopApplication func (c *KinesisAnalytics) StopApplication(input *StopApplicationInput) (*StopApplicationOutput, error) { @@ -1848,14 +1831,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/TagResource func (c *KinesisAnalytics) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1890,24 +1872,25 @@ func (c *KinesisAnalytics) TagResourceRequest(input *TagResourceInput) (req *req // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// Application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// Application is not available for this operation. // -// * TooManyTagsException -// Application created with too many tags, or too many tags added to an application. -// Note that the maximum number of application tags includes system tags. The -// maximum number of user-defined application tags is 50. +// - TooManyTagsException +// Application created with too many tags, or too many tags added to an application. +// Note that the maximum number of application tags includes system tags. The +// maximum number of user-defined application tags is 50. // -// * InvalidArgumentException -// Specified input parameter value is invalid. +// - InvalidArgumentException +// Specified input parameter value is invalid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modification to an application. -// For example, two individuals attempting to edit the same application at the -// same time. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modification to an application. +// For example, two individuals attempting to edit the same application at the +// same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/TagResource func (c *KinesisAnalytics) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1947,14 +1930,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/UntagResource func (c *KinesisAnalytics) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1987,24 +1969,25 @@ func (c *KinesisAnalytics) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// Application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// Application is not available for this operation. // -// * TooManyTagsException -// Application created with too many tags, or too many tags added to an application. -// Note that the maximum number of application tags includes system tags. The -// maximum number of user-defined application tags is 50. +// - TooManyTagsException +// Application created with too many tags, or too many tags added to an application. +// Note that the maximum number of application tags includes system tags. The +// maximum number of user-defined application tags is 50. // -// * InvalidArgumentException -// Specified input parameter value is invalid. +// - InvalidArgumentException +// Specified input parameter value is invalid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modification to an application. -// For example, two individuals attempting to edit the same application at the -// same time. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modification to an application. +// For example, two individuals attempting to edit the same application at the +// same time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/UntagResource func (c *KinesisAnalytics) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2044,14 +2027,13 @@ const opUpdateApplication = "UpdateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationRequest method. +// req, resp := client.UpdateApplicationRequest(params) // -// // Example sending a request using the UpdateApplicationRequest method. -// req, resp := client.UpdateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/UpdateApplication func (c *KinesisAnalytics) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) { @@ -2073,7 +2055,6 @@ func (c *KinesisAnalytics) UpdateApplicationRequest(input *UpdateApplicationInpu // UpdateApplication API operation for Amazon Kinesis Analytics. // -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -2096,27 +2077,28 @@ func (c *KinesisAnalytics) UpdateApplicationRequest(input *UpdateApplicationInpu // API operation UpdateApplication for usage and error information. // // Returned Error Types: -// * CodeValidationException -// User-provided application code (query) is invalid. This can be a simple syntax -// error. // -// * ResourceNotFoundException -// Specified application can't be found. +// - CodeValidationException +// User-provided application code (query) is invalid. This can be a simple syntax +// error. // -// * ResourceInUseException -// Application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. // -// * InvalidArgumentException -// Specified input parameter value is invalid. +// - ResourceInUseException +// Application is not available for this operation. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modification to an application. -// For example, two individuals attempting to edit the same application at the -// same time. +// - InvalidArgumentException +// Specified input parameter value is invalid. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modification to an application. +// For example, two individuals attempting to edit the same application at the +// same time. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/UpdateApplication func (c *KinesisAnalytics) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) { @@ -2720,7 +2702,6 @@ func (s AddApplicationReferenceDataSourceOutput) GoString() string { return s.String() } -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon @@ -2872,7 +2853,6 @@ func (s *ApplicationDetail) SetReferenceDataSourceDescriptions(v []*ReferenceDat return s } -// // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports // SQL and Java applications. For more information about version 2, see Amazon diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/doc.go index 07b64b530ffd..c79cad9a6e63 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/doc.go @@ -3,7 +3,7 @@ // Package kinesisanalytics provides the client and types for making API // requests to Amazon Kinesis Analytics. // -// Overview +// # Overview // // This documentation is for version 1 of the Amazon Kinesis Data Analytics // API, which only supports SQL applications. Version 2 of the API supports @@ -18,7 +18,7 @@ // See kinesisanalytics package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/kinesisanalytics/ // -// Using the Client +// # Using the Client // // To contact Amazon Kinesis Analytics with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/kinesisanalyticsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/kinesisanalyticsiface/interface.go index be8716e216ad..330d567f3fd8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/kinesisanalyticsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/kinesisanalyticsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Kinesis Analytics. -// func myFunc(svc kinesisanalyticsiface.KinesisAnalyticsAPI) bool { -// // Make svc.AddApplicationCloudWatchLoggingOption request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Kinesis Analytics. +// func myFunc(svc kinesisanalyticsiface.KinesisAnalyticsAPI) bool { +// // Make svc.AddApplicationCloudWatchLoggingOption request +// } // -// func main() { -// sess := session.New() -// svc := kinesisanalytics.New(sess) +// func main() { +// sess := session.New() +// svc := kinesisanalytics.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockKinesisAnalyticsClient struct { -// kinesisanalyticsiface.KinesisAnalyticsAPI -// } -// func (m *mockKinesisAnalyticsClient) AddApplicationCloudWatchLoggingOption(input *kinesisanalytics.AddApplicationCloudWatchLoggingOptionInput) (*kinesisanalytics.AddApplicationCloudWatchLoggingOptionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockKinesisAnalyticsClient struct { +// kinesisanalyticsiface.KinesisAnalyticsAPI +// } +// func (m *mockKinesisAnalyticsClient) AddApplicationCloudWatchLoggingOption(input *kinesisanalytics.AddApplicationCloudWatchLoggingOptionInput) (*kinesisanalytics.AddApplicationCloudWatchLoggingOptionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockKinesisAnalyticsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockKinesisAnalyticsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/service.go index 13b5523254a7..4d2fb7620949 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalytics/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a KinesisAnalytics client from just a session. -// svc := kinesisanalytics.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a KinesisAnalytics client with additional configuration -// svc := kinesisanalytics.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a KinesisAnalytics client from just a session. +// svc := kinesisanalytics.New(mySession) +// +// // Create a KinesisAnalytics client with additional configuration +// svc := kinesisanalytics.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *KinesisAnalytics { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/api.go index 1737efc3a2f0..9437ad1c74a2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/api.go @@ -29,14 +29,13 @@ const opAddApplicationCloudWatchLoggingOption = "AddApplicationCloudWatchLogging // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddApplicationCloudWatchLoggingOptionRequest method. +// req, resp := client.AddApplicationCloudWatchLoggingOptionRequest(params) // -// // Example sending a request using the AddApplicationCloudWatchLoggingOptionRequest method. -// req, resp := client.AddApplicationCloudWatchLoggingOptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationCloudWatchLoggingOption func (c *KinesisAnalyticsV2) AddApplicationCloudWatchLoggingOptionRequest(input *AddApplicationCloudWatchLoggingOptionInput) (req *request.Request, output *AddApplicationCloudWatchLoggingOptionOutput) { @@ -68,25 +67,26 @@ func (c *KinesisAnalyticsV2) AddApplicationCloudWatchLoggingOptionRequest(input // API operation AddApplicationCloudWatchLoggingOption for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidRequestException +// The request JSON is not valid for the operation. // -// * InvalidApplicationConfigurationException -// The user-provided application configuration is not valid. +// - InvalidApplicationConfigurationException +// The user-provided application configuration is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationCloudWatchLoggingOption func (c *KinesisAnalyticsV2) AddApplicationCloudWatchLoggingOption(input *AddApplicationCloudWatchLoggingOptionInput) (*AddApplicationCloudWatchLoggingOptionOutput, error) { @@ -126,14 +126,13 @@ const opAddApplicationInput = "AddApplicationInput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddApplicationInputRequest method. +// req, resp := client.AddApplicationInputRequest(params) // -// // Example sending a request using the AddApplicationInputRequest method. -// req, resp := client.AddApplicationInputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationInput func (c *KinesisAnalyticsV2) AddApplicationInputRequest(input *AddApplicationInputInput) (req *request.Request, output *AddApplicationInputOutput) { @@ -172,26 +171,27 @@ func (c *KinesisAnalyticsV2) AddApplicationInputRequest(input *AddApplicationInp // API operation AddApplicationInput for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // -// * CodeValidationException -// The user-provided application code (query) is not valid. This can be a simple -// syntax error. +// - CodeValidationException +// The user-provided application code (query) is not valid. This can be a simple +// syntax error. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidRequestException +// The request JSON is not valid for the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationInput func (c *KinesisAnalyticsV2) AddApplicationInput(input *AddApplicationInputInput) (*AddApplicationInputOutput, error) { @@ -231,14 +231,13 @@ const opAddApplicationInputProcessingConfiguration = "AddApplicationInputProcess // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddApplicationInputProcessingConfigurationRequest method. +// req, resp := client.AddApplicationInputProcessingConfigurationRequest(params) // -// // Example sending a request using the AddApplicationInputProcessingConfigurationRequest method. -// req, resp := client.AddApplicationInputProcessingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationInputProcessingConfiguration func (c *KinesisAnalyticsV2) AddApplicationInputProcessingConfigurationRequest(input *AddApplicationInputProcessingConfigurationInput) (req *request.Request, output *AddApplicationInputProcessingConfigurationOutput) { @@ -272,22 +271,23 @@ func (c *KinesisAnalyticsV2) AddApplicationInputProcessingConfigurationRequest(i // API operation AddApplicationInputProcessingConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidRequestException +// The request JSON is not valid for the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationInputProcessingConfiguration func (c *KinesisAnalyticsV2) AddApplicationInputProcessingConfiguration(input *AddApplicationInputProcessingConfigurationInput) (*AddApplicationInputProcessingConfigurationOutput, error) { @@ -327,14 +327,13 @@ const opAddApplicationOutput = "AddApplicationOutput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddApplicationOutputRequest method. +// req, resp := client.AddApplicationOutputRequest(params) // -// // Example sending a request using the AddApplicationOutputRequest method. -// req, resp := client.AddApplicationOutputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationOutput func (c *KinesisAnalyticsV2) AddApplicationOutputRequest(input *AddApplicationOutputInput) (req *request.Request, output *AddApplicationOutputOutput) { @@ -379,22 +378,23 @@ func (c *KinesisAnalyticsV2) AddApplicationOutputRequest(input *AddApplicationOu // API operation AddApplicationOutput for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidRequestException +// The request JSON is not valid for the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationOutput func (c *KinesisAnalyticsV2) AddApplicationOutput(input *AddApplicationOutputInput) (*AddApplicationOutputOutput, error) { @@ -434,14 +434,13 @@ const opAddApplicationReferenceDataSource = "AddApplicationReferenceDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddApplicationReferenceDataSourceRequest method. +// req, resp := client.AddApplicationReferenceDataSourceRequest(params) // -// // Example sending a request using the AddApplicationReferenceDataSourceRequest method. -// req, resp := client.AddApplicationReferenceDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationReferenceDataSource func (c *KinesisAnalyticsV2) AddApplicationReferenceDataSourceRequest(input *AddApplicationReferenceDataSourceInput) (req *request.Request, output *AddApplicationReferenceDataSourceOutput) { @@ -480,22 +479,23 @@ func (c *KinesisAnalyticsV2) AddApplicationReferenceDataSourceRequest(input *Add // API operation AddApplicationReferenceDataSource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidRequestException +// The request JSON is not valid for the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationReferenceDataSource func (c *KinesisAnalyticsV2) AddApplicationReferenceDataSource(input *AddApplicationReferenceDataSourceInput) (*AddApplicationReferenceDataSourceOutput, error) { @@ -535,14 +535,13 @@ const opAddApplicationVpcConfiguration = "AddApplicationVpcConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddApplicationVpcConfigurationRequest method. +// req, resp := client.AddApplicationVpcConfigurationRequest(params) // -// // Example sending a request using the AddApplicationVpcConfigurationRequest method. -// req, resp := client.AddApplicationVpcConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationVpcConfiguration func (c *KinesisAnalyticsV2) AddApplicationVpcConfigurationRequest(input *AddApplicationVpcConfigurationInput) (req *request.Request, output *AddApplicationVpcConfigurationOutput) { @@ -568,11 +567,11 @@ func (c *KinesisAnalyticsV2) AddApplicationVpcConfigurationRequest(input *AddApp // // Note the following about VPC configurations for Kinesis Data Analytics applications: // -// * VPC configurations are not supported for SQL applications. +// - VPC configurations are not supported for SQL applications. // -// * When a VPC is added to a Kinesis Data Analytics application, the application -// can no longer be accessed from the Internet directly. To enable Internet -// access to the application, add an Internet gateway to your VPC. +// - When a VPC is added to a Kinesis Data Analytics application, the application +// can no longer be accessed from the Internet directly. To enable Internet +// access to the application, add an Internet gateway to your VPC. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -582,22 +581,23 @@ func (c *KinesisAnalyticsV2) AddApplicationVpcConfigurationRequest(input *AddApp // API operation AddApplicationVpcConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // -// * InvalidApplicationConfigurationException -// The user-provided application configuration is not valid. +// - InvalidApplicationConfigurationException +// The user-provided application configuration is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/AddApplicationVpcConfiguration func (c *KinesisAnalyticsV2) AddApplicationVpcConfiguration(input *AddApplicationVpcConfigurationInput) (*AddApplicationVpcConfigurationOutput, error) { @@ -637,14 +637,13 @@ const opCreateApplication = "CreateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationRequest method. +// req, resp := client.CreateApplicationRequest(params) // -// // Example sending a request using the CreateApplicationRequest method. -// req, resp := client.CreateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplication func (c *KinesisAnalyticsV2) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput) { @@ -676,35 +675,36 @@ func (c *KinesisAnalyticsV2) CreateApplicationRequest(input *CreateApplicationIn // API operation CreateApplication for usage and error information. // // Returned Error Types: -// * CodeValidationException -// The user-provided application code (query) is not valid. This can be a simple -// syntax error. // -// * ResourceInUseException -// The application is not available for this operation. +// - CodeValidationException +// The user-provided application code (query) is not valid. This can be a simple +// syntax error. +// +// - ResourceInUseException +// The application is not available for this operation. // -// * LimitExceededException -// The number of allowed resources has been exceeded. +// - LimitExceededException +// The number of allowed resources has been exceeded. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidRequestException +// The request JSON is not valid for the operation. // -// * TooManyTagsException -// Application created with too many tags, or too many tags added to an application. -// Note that the maximum number of application tags includes system tags. The -// maximum number of user-defined application tags is 50. +// - TooManyTagsException +// Application created with too many tags, or too many tags added to an application. +// Note that the maximum number of application tags includes system tags. The +// maximum number of user-defined application tags is 50. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplication func (c *KinesisAnalyticsV2) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error) { @@ -744,14 +744,13 @@ const opCreateApplicationPresignedUrl = "CreateApplicationPresignedUrl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationPresignedUrlRequest method. +// req, resp := client.CreateApplicationPresignedUrlRequest(params) // -// // Example sending a request using the CreateApplicationPresignedUrlRequest method. -// req, resp := client.CreateApplicationPresignedUrlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplicationPresignedUrl func (c *KinesisAnalyticsV2) CreateApplicationPresignedUrlRequest(input *CreateApplicationPresignedUrlInput) (req *request.Request, output *CreateApplicationPresignedUrlOutput) { @@ -796,14 +795,15 @@ func (c *KinesisAnalyticsV2) CreateApplicationPresignedUrlRequest(input *CreateA // API operation CreateApplicationPresignedUrl for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplicationPresignedUrl func (c *KinesisAnalyticsV2) CreateApplicationPresignedUrl(input *CreateApplicationPresignedUrlInput) (*CreateApplicationPresignedUrlOutput, error) { @@ -843,14 +843,13 @@ const opCreateApplicationSnapshot = "CreateApplicationSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationSnapshotRequest method. +// req, resp := client.CreateApplicationSnapshotRequest(params) // -// // Example sending a request using the CreateApplicationSnapshotRequest method. -// req, resp := client.CreateApplicationSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplicationSnapshot func (c *KinesisAnalyticsV2) CreateApplicationSnapshotRequest(input *CreateApplicationSnapshotInput) (req *request.Request, output *CreateApplicationSnapshotOutput) { @@ -882,27 +881,28 @@ func (c *KinesisAnalyticsV2) CreateApplicationSnapshotRequest(input *CreateAppli // API operation CreateApplicationSnapshot for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The application is not available for this operation. // -// * ResourceNotFoundException -// Specified application can't be found. +// - ResourceInUseException +// The application is not available for this operation. +// +// - ResourceNotFoundException +// Specified application can't be found. // -// * LimitExceededException -// The number of allowed resources has been exceeded. +// - LimitExceededException +// The number of allowed resources has been exceeded. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidRequestException +// The request JSON is not valid for the operation. // -// * InvalidApplicationConfigurationException -// The user-provided application configuration is not valid. +// - InvalidApplicationConfigurationException +// The user-provided application configuration is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/CreateApplicationSnapshot func (c *KinesisAnalyticsV2) CreateApplicationSnapshot(input *CreateApplicationSnapshotInput) (*CreateApplicationSnapshotOutput, error) { @@ -942,14 +942,13 @@ const opDeleteApplication = "DeleteApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationRequest method. +// req, resp := client.DeleteApplicationRequest(params) // -// // Example sending a request using the DeleteApplicationRequest method. -// req, resp := client.DeleteApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplication func (c *KinesisAnalyticsV2) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) { @@ -982,25 +981,26 @@ func (c *KinesisAnalyticsV2) DeleteApplicationRequest(input *DeleteApplicationIn // API operation DeleteApplication for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. // -// * ResourceNotFoundException -// Specified application can't be found. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. +// +// - ResourceNotFoundException +// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidRequestException +// The request JSON is not valid for the operation. // -// * InvalidApplicationConfigurationException -// The user-provided application configuration is not valid. +// - InvalidApplicationConfigurationException +// The user-provided application configuration is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplication func (c *KinesisAnalyticsV2) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) { @@ -1040,14 +1040,13 @@ const opDeleteApplicationCloudWatchLoggingOption = "DeleteApplicationCloudWatchL // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationCloudWatchLoggingOptionRequest method. +// req, resp := client.DeleteApplicationCloudWatchLoggingOptionRequest(params) // -// // Example sending a request using the DeleteApplicationCloudWatchLoggingOptionRequest method. -// req, resp := client.DeleteApplicationCloudWatchLoggingOptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationCloudWatchLoggingOption func (c *KinesisAnalyticsV2) DeleteApplicationCloudWatchLoggingOptionRequest(input *DeleteApplicationCloudWatchLoggingOptionInput) (req *request.Request, output *DeleteApplicationCloudWatchLoggingOptionOutput) { @@ -1078,25 +1077,26 @@ func (c *KinesisAnalyticsV2) DeleteApplicationCloudWatchLoggingOptionRequest(inp // API operation DeleteApplicationCloudWatchLoggingOption for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidRequestException +// The request JSON is not valid for the operation. // -// * InvalidApplicationConfigurationException -// The user-provided application configuration is not valid. +// - InvalidApplicationConfigurationException +// The user-provided application configuration is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationCloudWatchLoggingOption func (c *KinesisAnalyticsV2) DeleteApplicationCloudWatchLoggingOption(input *DeleteApplicationCloudWatchLoggingOptionInput) (*DeleteApplicationCloudWatchLoggingOptionOutput, error) { @@ -1136,14 +1136,13 @@ const opDeleteApplicationInputProcessingConfiguration = "DeleteApplicationInputP // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationInputProcessingConfigurationRequest method. +// req, resp := client.DeleteApplicationInputProcessingConfigurationRequest(params) // -// // Example sending a request using the DeleteApplicationInputProcessingConfigurationRequest method. -// req, resp := client.DeleteApplicationInputProcessingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationInputProcessingConfiguration func (c *KinesisAnalyticsV2) DeleteApplicationInputProcessingConfigurationRequest(input *DeleteApplicationInputProcessingConfigurationInput) (req *request.Request, output *DeleteApplicationInputProcessingConfigurationOutput) { @@ -1174,22 +1173,23 @@ func (c *KinesisAnalyticsV2) DeleteApplicationInputProcessingConfigurationReques // API operation DeleteApplicationInputProcessingConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidRequestException +// The request JSON is not valid for the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationInputProcessingConfiguration func (c *KinesisAnalyticsV2) DeleteApplicationInputProcessingConfiguration(input *DeleteApplicationInputProcessingConfigurationInput) (*DeleteApplicationInputProcessingConfigurationOutput, error) { @@ -1229,14 +1229,13 @@ const opDeleteApplicationOutput = "DeleteApplicationOutput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationOutputRequest method. +// req, resp := client.DeleteApplicationOutputRequest(params) // -// // Example sending a request using the DeleteApplicationOutputRequest method. -// req, resp := client.DeleteApplicationOutputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationOutput func (c *KinesisAnalyticsV2) DeleteApplicationOutputRequest(input *DeleteApplicationOutputInput) (req *request.Request, output *DeleteApplicationOutputOutput) { @@ -1270,22 +1269,23 @@ func (c *KinesisAnalyticsV2) DeleteApplicationOutputRequest(input *DeleteApplica // API operation DeleteApplicationOutput for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidRequestException +// The request JSON is not valid for the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationOutput func (c *KinesisAnalyticsV2) DeleteApplicationOutput(input *DeleteApplicationOutputInput) (*DeleteApplicationOutputOutput, error) { @@ -1325,14 +1325,13 @@ const opDeleteApplicationReferenceDataSource = "DeleteApplicationReferenceDataSo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationReferenceDataSourceRequest method. +// req, resp := client.DeleteApplicationReferenceDataSourceRequest(params) // -// // Example sending a request using the DeleteApplicationReferenceDataSourceRequest method. -// req, resp := client.DeleteApplicationReferenceDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationReferenceDataSource func (c *KinesisAnalyticsV2) DeleteApplicationReferenceDataSourceRequest(input *DeleteApplicationReferenceDataSourceInput) (req *request.Request, output *DeleteApplicationReferenceDataSourceOutput) { @@ -1368,22 +1367,23 @@ func (c *KinesisAnalyticsV2) DeleteApplicationReferenceDataSourceRequest(input * // API operation DeleteApplicationReferenceDataSource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidRequestException +// The request JSON is not valid for the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationReferenceDataSource func (c *KinesisAnalyticsV2) DeleteApplicationReferenceDataSource(input *DeleteApplicationReferenceDataSourceInput) (*DeleteApplicationReferenceDataSourceOutput, error) { @@ -1423,14 +1423,13 @@ const opDeleteApplicationSnapshot = "DeleteApplicationSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationSnapshotRequest method. +// req, resp := client.DeleteApplicationSnapshotRequest(params) // -// // Example sending a request using the DeleteApplicationSnapshotRequest method. -// req, resp := client.DeleteApplicationSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationSnapshot func (c *KinesisAnalyticsV2) DeleteApplicationSnapshotRequest(input *DeleteApplicationSnapshotInput) (req *request.Request, output *DeleteApplicationSnapshotOutput) { @@ -1462,21 +1461,22 @@ func (c *KinesisAnalyticsV2) DeleteApplicationSnapshotRequest(input *DeleteAppli // API operation DeleteApplicationSnapshot for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - ResourceInUseException +// The application is not available for this operation. +// +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidRequestException +// The request JSON is not valid for the operation. // -// * ResourceNotFoundException -// Specified application can't be found. +// - ResourceNotFoundException +// Specified application can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationSnapshot func (c *KinesisAnalyticsV2) DeleteApplicationSnapshot(input *DeleteApplicationSnapshotInput) (*DeleteApplicationSnapshotOutput, error) { @@ -1516,14 +1516,13 @@ const opDeleteApplicationVpcConfiguration = "DeleteApplicationVpcConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationVpcConfigurationRequest method. +// req, resp := client.DeleteApplicationVpcConfigurationRequest(params) // -// // Example sending a request using the DeleteApplicationVpcConfigurationRequest method. -// req, resp := client.DeleteApplicationVpcConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationVpcConfiguration func (c *KinesisAnalyticsV2) DeleteApplicationVpcConfigurationRequest(input *DeleteApplicationVpcConfigurationInput) (req *request.Request, output *DeleteApplicationVpcConfigurationOutput) { @@ -1554,22 +1553,23 @@ func (c *KinesisAnalyticsV2) DeleteApplicationVpcConfigurationRequest(input *Del // API operation DeleteApplicationVpcConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - ResourceInUseException +// The application is not available for this operation. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * InvalidApplicationConfigurationException -// The user-provided application configuration is not valid. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. +// +// - InvalidApplicationConfigurationException +// The user-provided application configuration is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DeleteApplicationVpcConfiguration func (c *KinesisAnalyticsV2) DeleteApplicationVpcConfiguration(input *DeleteApplicationVpcConfigurationInput) (*DeleteApplicationVpcConfigurationOutput, error) { @@ -1609,14 +1609,13 @@ const opDescribeApplication = "DescribeApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApplicationRequest method. +// req, resp := client.DescribeApplicationRequest(params) // -// // Example sending a request using the DescribeApplicationRequest method. -// req, resp := client.DescribeApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DescribeApplication func (c *KinesisAnalyticsV2) DescribeApplicationRequest(input *DescribeApplicationInput) (req *request.Request, output *DescribeApplicationOutput) { @@ -1650,14 +1649,15 @@ func (c *KinesisAnalyticsV2) DescribeApplicationRequest(input *DescribeApplicati // API operation DescribeApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - ResourceNotFoundException +// Specified application can't be found. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidArgumentException +// The specified input parameter value is not valid. +// +// - InvalidRequestException +// The request JSON is not valid for the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DescribeApplication func (c *KinesisAnalyticsV2) DescribeApplication(input *DescribeApplicationInput) (*DescribeApplicationOutput, error) { @@ -1697,14 +1697,13 @@ const opDescribeApplicationSnapshot = "DescribeApplicationSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApplicationSnapshotRequest method. +// req, resp := client.DescribeApplicationSnapshotRequest(params) // -// // Example sending a request using the DescribeApplicationSnapshotRequest method. -// req, resp := client.DescribeApplicationSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DescribeApplicationSnapshot func (c *KinesisAnalyticsV2) DescribeApplicationSnapshotRequest(input *DescribeApplicationSnapshotInput) (req *request.Request, output *DescribeApplicationSnapshotOutput) { @@ -1735,15 +1734,16 @@ func (c *KinesisAnalyticsV2) DescribeApplicationSnapshotRequest(input *DescribeA // API operation DescribeApplicationSnapshot for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - ResourceNotFoundException +// Specified application can't be found. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - InvalidArgumentException +// The specified input parameter value is not valid. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DescribeApplicationSnapshot func (c *KinesisAnalyticsV2) DescribeApplicationSnapshot(input *DescribeApplicationSnapshotInput) (*DescribeApplicationSnapshotOutput, error) { @@ -1783,14 +1783,13 @@ const opDescribeApplicationVersion = "DescribeApplicationVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApplicationVersionRequest method. +// req, resp := client.DescribeApplicationVersionRequest(params) // -// // Example sending a request using the DescribeApplicationVersionRequest method. -// req, resp := client.DescribeApplicationVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DescribeApplicationVersion func (c *KinesisAnalyticsV2) DescribeApplicationVersionRequest(input *DescribeApplicationVersionInput) (req *request.Request, output *DescribeApplicationVersionOutput) { @@ -1826,15 +1825,16 @@ func (c *KinesisAnalyticsV2) DescribeApplicationVersionRequest(input *DescribeAp // API operation DescribeApplicationVersion for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The specified input parameter value is not valid. // -// * ResourceNotFoundException -// Specified application can't be found. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DescribeApplicationVersion func (c *KinesisAnalyticsV2) DescribeApplicationVersion(input *DescribeApplicationVersionInput) (*DescribeApplicationVersionOutput, error) { @@ -1874,14 +1874,13 @@ const opDiscoverInputSchema = "DiscoverInputSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DiscoverInputSchemaRequest method. +// req, resp := client.DiscoverInputSchemaRequest(params) // -// // Example sending a request using the DiscoverInputSchemaRequest method. -// req, resp := client.DiscoverInputSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DiscoverInputSchema func (c *KinesisAnalyticsV2) DiscoverInputSchemaRequest(input *DiscoverInputSchemaInput) (req *request.Request, output *DiscoverInputSchemaOutput) { @@ -1921,28 +1920,29 @@ func (c *KinesisAnalyticsV2) DiscoverInputSchemaRequest(input *DiscoverInputSche // API operation DiscoverInputSchema for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The specified input parameter value is not valid. // -// * UnableToDetectSchemaException -// The data format is not valid. Kinesis Data Analytics cannot detect the schema -// for the given streaming source. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * ResourceProvisionedThroughputExceededException -// Discovery failed to get a record from the streaming source because of the -// Kinesis Streams ProvisionedThroughputExceededException. For more information, -// see GetRecords (http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetRecords.html) -// in the Amazon Kinesis Streams API Reference. +// - UnableToDetectSchemaException +// The data format is not valid. Kinesis Data Analytics cannot detect the schema +// for the given streaming source. // -// * ServiceUnavailableException -// The service cannot complete the request. +// - ResourceProvisionedThroughputExceededException +// Discovery failed to get a record from the streaming source because of the +// Kinesis Streams ProvisionedThroughputExceededException. For more information, +// see GetRecords (http://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetRecords.html) +// in the Amazon Kinesis Streams API Reference. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - ServiceUnavailableException +// The service cannot complete the request. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - InvalidRequestException +// The request JSON is not valid for the operation. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DiscoverInputSchema func (c *KinesisAnalyticsV2) DiscoverInputSchema(input *DiscoverInputSchemaInput) (*DiscoverInputSchemaOutput, error) { @@ -1982,14 +1982,13 @@ const opListApplicationSnapshots = "ListApplicationSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationSnapshotsRequest method. +// req, resp := client.ListApplicationSnapshotsRequest(params) // -// // Example sending a request using the ListApplicationSnapshotsRequest method. -// req, resp := client.ListApplicationSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplicationSnapshots func (c *KinesisAnalyticsV2) ListApplicationSnapshotsRequest(input *ListApplicationSnapshotsInput) (req *request.Request, output *ListApplicationSnapshotsOutput) { @@ -2020,12 +2019,13 @@ func (c *KinesisAnalyticsV2) ListApplicationSnapshotsRequest(input *ListApplicat // API operation ListApplicationSnapshots for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The specified input parameter value is not valid. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - InvalidArgumentException +// The specified input parameter value is not valid. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplicationSnapshots func (c *KinesisAnalyticsV2) ListApplicationSnapshots(input *ListApplicationSnapshotsInput) (*ListApplicationSnapshotsOutput, error) { @@ -2065,14 +2065,13 @@ const opListApplicationVersions = "ListApplicationVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationVersionsRequest method. +// req, resp := client.ListApplicationVersionsRequest(params) // -// // Example sending a request using the ListApplicationVersionsRequest method. -// req, resp := client.ListApplicationVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplicationVersions func (c *KinesisAnalyticsV2) ListApplicationVersionsRequest(input *ListApplicationVersionsInput) (req *request.Request, output *ListApplicationVersionsOutput) { @@ -2111,15 +2110,16 @@ func (c *KinesisAnalyticsV2) ListApplicationVersionsRequest(input *ListApplicati // API operation ListApplicationVersions for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The specified input parameter value is not valid. // -// * ResourceNotFoundException -// Specified application can't be found. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplicationVersions func (c *KinesisAnalyticsV2) ListApplicationVersions(input *ListApplicationVersionsInput) (*ListApplicationVersionsOutput, error) { @@ -2159,14 +2159,13 @@ const opListApplications = "ListApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationsRequest method. +// req, resp := client.ListApplicationsRequest(params) // -// // Example sending a request using the ListApplicationsRequest method. -// req, resp := client.ListApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplications func (c *KinesisAnalyticsV2) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput) { @@ -2201,8 +2200,8 @@ func (c *KinesisAnalyticsV2) ListApplicationsRequest(input *ListApplicationsInpu // API operation ListApplications for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidRequestException +// The request JSON is not valid for the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplications func (c *KinesisAnalyticsV2) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error) { @@ -2242,14 +2241,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListTagsForResource func (c *KinesisAnalyticsV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2281,16 +2279,17 @@ func (c *KinesisAnalyticsV2) ListTagsForResourceRequest(input *ListTagsForResour // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - ResourceNotFoundException +// Specified application can't be found. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - InvalidArgumentException +// The specified input parameter value is not valid. +// +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListTagsForResource func (c *KinesisAnalyticsV2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2330,14 +2329,13 @@ const opRollbackApplication = "RollbackApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RollbackApplicationRequest method. +// req, resp := client.RollbackApplicationRequest(params) // -// // Example sending a request using the RollbackApplicationRequest method. -// req, resp := client.RollbackApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/RollbackApplication func (c *KinesisAnalyticsV2) RollbackApplicationRequest(input *RollbackApplicationInput) (req *request.Request, output *RollbackApplicationOutput) { @@ -2378,26 +2376,27 @@ func (c *KinesisAnalyticsV2) RollbackApplicationRequest(input *RollbackApplicati // API operation RollbackApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - ResourceNotFoundException +// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - ResourceInUseException +// The application is not available for this operation. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - InvalidRequestException +// The request JSON is not valid for the operation. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/RollbackApplication func (c *KinesisAnalyticsV2) RollbackApplication(input *RollbackApplicationInput) (*RollbackApplicationOutput, error) { @@ -2437,14 +2436,13 @@ const opStartApplication = "StartApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartApplicationRequest method. +// req, resp := client.StartApplicationRequest(params) // -// // Example sending a request using the StartApplicationRequest method. -// req, resp := client.StartApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/StartApplication func (c *KinesisAnalyticsV2) StartApplicationRequest(input *StartApplicationInput) (req *request.Request, output *StartApplicationOutput) { @@ -2477,20 +2475,21 @@ func (c *KinesisAnalyticsV2) StartApplicationRequest(input *StartApplicationInpu // API operation StartApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidApplicationConfigurationException -// The user-provided application configuration is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidApplicationConfigurationException +// The user-provided application configuration is not valid. +// +// - InvalidRequestException +// The request JSON is not valid for the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/StartApplication func (c *KinesisAnalyticsV2) StartApplication(input *StartApplicationInput) (*StartApplicationOutput, error) { @@ -2530,14 +2529,13 @@ const opStopApplication = "StopApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopApplicationRequest method. +// req, resp := client.StopApplicationRequest(params) // -// // Example sending a request using the StopApplicationRequest method. -// req, resp := client.StopApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/StopApplication func (c *KinesisAnalyticsV2) StopApplicationRequest(input *StopApplicationInput) (req *request.Request, output *StopApplicationOutput) { @@ -2575,25 +2573,26 @@ func (c *KinesisAnalyticsV2) StopApplicationRequest(input *StopApplicationInput) // API operation StopApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * InvalidApplicationConfigurationException -// The user-provided application configuration is not valid. +// - InvalidRequestException +// The request JSON is not valid for the operation. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - InvalidApplicationConfigurationException +// The user-provided application configuration is not valid. +// +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/StopApplication func (c *KinesisAnalyticsV2) StopApplication(input *StopApplicationInput) (*StopApplicationOutput, error) { @@ -2633,14 +2632,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/TagResource func (c *KinesisAnalyticsV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2675,24 +2673,25 @@ func (c *KinesisAnalyticsV2) TagResourceRequest(input *TagResourceInput) (req *r // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. // -// * TooManyTagsException -// Application created with too many tags, or too many tags added to an application. -// Note that the maximum number of application tags includes system tags. The -// maximum number of user-defined application tags is 50. +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - TooManyTagsException +// Application created with too many tags, or too many tags added to an application. +// Note that the maximum number of application tags includes system tags. The +// maximum number of user-defined application tags is 50. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - InvalidArgumentException +// The specified input parameter value is not valid. +// +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/TagResource func (c *KinesisAnalyticsV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2732,14 +2731,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UntagResource func (c *KinesisAnalyticsV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2772,24 +2770,25 @@ func (c *KinesisAnalyticsV2) UntagResourceRequest(input *UntagResourceInput) (re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. // -// * TooManyTagsException -// Application created with too many tags, or too many tags added to an application. -// Note that the maximum number of application tags includes system tags. The -// maximum number of user-defined application tags is 50. +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - TooManyTagsException +// Application created with too many tags, or too many tags added to an application. +// Note that the maximum number of application tags includes system tags. The +// maximum number of user-defined application tags is 50. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - InvalidArgumentException +// The specified input parameter value is not valid. +// +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UntagResource func (c *KinesisAnalyticsV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2829,14 +2828,13 @@ const opUpdateApplication = "UpdateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationRequest method. +// req, resp := client.UpdateApplicationRequest(params) // -// // Example sending a request using the UpdateApplicationRequest method. -// req, resp := client.UpdateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UpdateApplication func (c *KinesisAnalyticsV2) UpdateApplicationRequest(input *UpdateApplicationInput) (req *request.Request, output *UpdateApplicationOutput) { @@ -2875,32 +2873,33 @@ func (c *KinesisAnalyticsV2) UpdateApplicationRequest(input *UpdateApplicationIn // API operation UpdateApplication for usage and error information. // // Returned Error Types: -// * CodeValidationException -// The user-provided application code (query) is not valid. This can be a simple -// syntax error. // -// * ResourceNotFoundException -// Specified application can't be found. +// - CodeValidationException +// The user-provided application code (query) is not valid. This can be a simple +// syntax error. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - ResourceInUseException +// The application is not available for this operation. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * InvalidRequestException -// The request JSON is not valid for the operation. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // -// * InvalidApplicationConfigurationException -// The user-provided application configuration is not valid. +// - InvalidRequestException +// The request JSON is not valid for the operation. // -// * LimitExceededException -// The number of allowed resources has been exceeded. +// - InvalidApplicationConfigurationException +// The user-provided application configuration is not valid. +// +// - LimitExceededException +// The number of allowed resources has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UpdateApplication func (c *KinesisAnalyticsV2) UpdateApplication(input *UpdateApplicationInput) (*UpdateApplicationOutput, error) { @@ -2940,14 +2939,13 @@ const opUpdateApplicationMaintenanceConfiguration = "UpdateApplicationMaintenanc // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationMaintenanceConfigurationRequest method. +// req, resp := client.UpdateApplicationMaintenanceConfigurationRequest(params) // -// // Example sending a request using the UpdateApplicationMaintenanceConfigurationRequest method. -// req, resp := client.UpdateApplicationMaintenanceConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UpdateApplicationMaintenanceConfiguration func (c *KinesisAnalyticsV2) UpdateApplicationMaintenanceConfigurationRequest(input *UpdateApplicationMaintenanceConfigurationInput) (req *request.Request, output *UpdateApplicationMaintenanceConfigurationOutput) { @@ -2998,23 +2996,24 @@ func (c *KinesisAnalyticsV2) UpdateApplicationMaintenanceConfigurationRequest(in // API operation UpdateApplicationMaintenanceConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Specified application can't be found. // -// * ResourceInUseException -// The application is not available for this operation. +// - ResourceNotFoundException +// Specified application can't be found. +// +// - ResourceInUseException +// The application is not available for this operation. // -// * InvalidArgumentException -// The specified input parameter value is not valid. +// - InvalidArgumentException +// The specified input parameter value is not valid. // -// * ConcurrentModificationException -// Exception thrown as a result of concurrent modifications to an application. -// This error can be the result of attempting to modify an application without -// using the current application ID. +// - ConcurrentModificationException +// Exception thrown as a result of concurrent modifications to an application. +// This error can be the result of attempting to modify an application without +// using the current application ID. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/UpdateApplicationMaintenanceConfiguration func (c *KinesisAnalyticsV2) UpdateApplicationMaintenanceConfiguration(input *UpdateApplicationMaintenanceConfigurationInput) (*UpdateApplicationMaintenanceConfigurationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/doc.go index 1c2e7737aa90..e01ef5e4c688 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/doc.go @@ -14,7 +14,7 @@ // See kinesisanalyticsv2 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/kinesisanalyticsv2/ // -// Using the Client +// # Using the Client // // To contact Amazon Kinesis Analytics with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/kinesisanalyticsv2iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/kinesisanalyticsv2iface/interface.go index 73512ae2c54a..a70eb924abc1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/kinesisanalyticsv2iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/kinesisanalyticsv2iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Kinesis Analytics. -// func myFunc(svc kinesisanalyticsv2iface.KinesisAnalyticsV2API) bool { -// // Make svc.AddApplicationCloudWatchLoggingOption request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Kinesis Analytics. +// func myFunc(svc kinesisanalyticsv2iface.KinesisAnalyticsV2API) bool { +// // Make svc.AddApplicationCloudWatchLoggingOption request +// } // -// func main() { -// sess := session.New() -// svc := kinesisanalyticsv2.New(sess) +// func main() { +// sess := session.New() +// svc := kinesisanalyticsv2.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockKinesisAnalyticsV2Client struct { -// kinesisanalyticsv2iface.KinesisAnalyticsV2API -// } -// func (m *mockKinesisAnalyticsV2Client) AddApplicationCloudWatchLoggingOption(input *kinesisanalyticsv2.AddApplicationCloudWatchLoggingOptionInput) (*kinesisanalyticsv2.AddApplicationCloudWatchLoggingOptionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockKinesisAnalyticsV2Client struct { +// kinesisanalyticsv2iface.KinesisAnalyticsV2API +// } +// func (m *mockKinesisAnalyticsV2Client) AddApplicationCloudWatchLoggingOption(input *kinesisanalyticsv2.AddApplicationCloudWatchLoggingOptionInput) (*kinesisanalyticsv2.AddApplicationCloudWatchLoggingOptionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockKinesisAnalyticsV2Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockKinesisAnalyticsV2Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/service.go index 597c8b0cf28f..cfd77f3c9894 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisanalyticsv2/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a KinesisAnalyticsV2 client from just a session. -// svc := kinesisanalyticsv2.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a KinesisAnalyticsV2 client with additional configuration -// svc := kinesisanalyticsv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a KinesisAnalyticsV2 client from just a session. +// svc := kinesisanalyticsv2.New(mySession) +// +// // Create a KinesisAnalyticsV2 client with additional configuration +// svc := kinesisanalyticsv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *KinesisAnalyticsV2 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/api.go index c86c4d8d2ea5..619e7e0ae999 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/api.go @@ -29,14 +29,13 @@ const opCreateSignalingChannel = "CreateSignalingChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSignalingChannelRequest method. +// req, resp := client.CreateSignalingChannelRequest(params) // -// // Example sending a request using the CreateSignalingChannelRequest method. -// req, resp := client.CreateSignalingChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/CreateSignalingChannel func (c *KinesisVideo) CreateSignalingChannelRequest(input *CreateSignalingChannelInput) (req *request.Request, output *CreateSignalingChannelOutput) { @@ -69,32 +68,33 @@ func (c *KinesisVideo) CreateSignalingChannelRequest(input *CreateSignalingChann // API operation CreateSignalingChannel for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The value for this input parameter is invalid. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - InvalidArgumentException +// The value for this input parameter is invalid. +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * AccountChannelLimitExceededException -// You have reached the maximum limit of active signaling channels for this -// Amazon Web Services account in this region. +// - AccountChannelLimitExceededException +// You have reached the maximum limit of active signaling channels for this +// Amazon Web Services account in this region. // -// * ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// - ResourceInUseException +// The resource is currently not available for this operation. New resources +// cannot be created with the same name as existing resources. Also, resources +// cannot be updated or deleted unless they are in an ACTIVE state. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// If this exception is returned, do not use it to determine whether the requested +// resource already exists. Instead, it is recommended you use the resource-specific +// describe API, for example, DescribeStream for video streams. // -// * AccessDeniedException -// You do not have required permissions to perform this operation. +// - AccessDeniedException +// You do not have required permissions to perform this operation. // -// * TagsPerResourceExceededLimitException -// You have exceeded the limit of tags that you can associate with the resource. -// A Kinesis video stream can support up to 50 tags. +// - TagsPerResourceExceededLimitException +// You have exceeded the limit of tags that you can associate with the resource. +// A Kinesis video stream can support up to 50 tags. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/CreateSignalingChannel func (c *KinesisVideo) CreateSignalingChannel(input *CreateSignalingChannelInput) (*CreateSignalingChannelOutput, error) { @@ -134,14 +134,13 @@ const opCreateStream = "CreateStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStreamRequest method. +// req, resp := client.CreateStreamRequest(params) // -// // Example sending a request using the CreateStreamRequest method. -// req, resp := client.CreateStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/CreateStream func (c *KinesisVideo) CreateStreamRequest(input *CreateStreamInput) (req *request.Request, output *CreateStreamOutput) { @@ -182,34 +181,35 @@ func (c *KinesisVideo) CreateStreamRequest(input *CreateStreamInput) (req *reque // API operation CreateStream for usage and error information. // // Returned Error Types: -// * AccountStreamLimitExceededException -// The number of streams created for the account is too high. // -// * DeviceStreamLimitExceededException -// Not implemented. +// - AccountStreamLimitExceededException +// The number of streams created for the account is too high. // -// * ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// - DeviceStreamLimitExceededException +// Not implemented. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// - ResourceInUseException +// The resource is currently not available for this operation. New resources +// cannot be created with the same name as existing resources. Also, resources +// cannot be updated or deleted unless they are in an ACTIVE state. // -// * InvalidDeviceException -// Not implemented. +// If this exception is returned, do not use it to determine whether the requested +// resource already exists. Instead, it is recommended you use the resource-specific +// describe API, for example, DescribeStream for video streams. // -// * InvalidArgumentException -// The value for this input parameter is invalid. +// - InvalidDeviceException +// Not implemented. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - InvalidArgumentException +// The value for this input parameter is invalid. // -// * TagsPerResourceExceededLimitException -// You have exceeded the limit of tags that you can associate with the resource. -// A Kinesis video stream can support up to 50 tags. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. +// +// - TagsPerResourceExceededLimitException +// You have exceeded the limit of tags that you can associate with the resource. +// A Kinesis video stream can support up to 50 tags. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/CreateStream func (c *KinesisVideo) CreateStream(input *CreateStreamInput) (*CreateStreamOutput, error) { @@ -249,14 +249,13 @@ const opDeleteSignalingChannel = "DeleteSignalingChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSignalingChannelRequest method. +// req, resp := client.DeleteSignalingChannelRequest(params) // -// // Example sending a request using the DeleteSignalingChannelRequest method. -// req, resp := client.DeleteSignalingChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteSignalingChannel func (c *KinesisVideo) DeleteSignalingChannelRequest(input *DeleteSignalingChannelInput) (req *request.Request, output *DeleteSignalingChannelOutput) { @@ -290,32 +289,33 @@ func (c *KinesisVideo) DeleteSignalingChannelRequest(input *DeleteSignalingChann // API operation DeleteSignalingChannel for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The value for this input parameter is invalid. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - InvalidArgumentException +// The value for this input parameter is invalid. +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// * AccessDeniedException -// You do not have required permissions to perform this operation. +// - AccessDeniedException +// You do not have required permissions to perform this operation. // -// * VersionMismatchException -// The stream version that you specified is not the latest version. To get the -// latest version, use the DescribeStream (https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html) -// API. +// - VersionMismatchException +// The stream version that you specified is not the latest version. To get the +// latest version, use the DescribeStream (https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html) +// API. // -// * ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// - ResourceInUseException +// The resource is currently not available for this operation. New resources +// cannot be created with the same name as existing resources. Also, resources +// cannot be updated or deleted unless they are in an ACTIVE state. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// If this exception is returned, do not use it to determine whether the requested +// resource already exists. Instead, it is recommended you use the resource-specific +// describe API, for example, DescribeStream for video streams. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteSignalingChannel func (c *KinesisVideo) DeleteSignalingChannel(input *DeleteSignalingChannelInput) (*DeleteSignalingChannelOutput, error) { @@ -355,14 +355,13 @@ const opDeleteStream = "DeleteStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStreamRequest method. +// req, resp := client.DeleteStreamRequest(params) // -// // Example sending a request using the DeleteStreamRequest method. -// req, resp := client.DeleteStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteStream func (c *KinesisVideo) DeleteStreamRequest(input *DeleteStreamInput) (req *request.Request, output *DeleteStreamOutput) { @@ -405,32 +404,33 @@ func (c *KinesisVideo) DeleteStreamRequest(input *DeleteStreamInput) (req *reque // API operation DeleteStream for usage and error information. // // Returned Error Types: -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. // -// * InvalidArgumentException -// The value for this input parameter is invalid. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. +// +// - InvalidArgumentException +// The value for this input parameter is invalid. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// * NotAuthorizedException -// The caller is not authorized to perform this operation. +// - NotAuthorizedException +// The caller is not authorized to perform this operation. // -// * VersionMismatchException -// The stream version that you specified is not the latest version. To get the -// latest version, use the DescribeStream (https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html) -// API. +// - VersionMismatchException +// The stream version that you specified is not the latest version. To get the +// latest version, use the DescribeStream (https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html) +// API. // -// * ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// - ResourceInUseException +// The resource is currently not available for this operation. New resources +// cannot be created with the same name as existing resources. Also, resources +// cannot be updated or deleted unless they are in an ACTIVE state. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// If this exception is returned, do not use it to determine whether the requested +// resource already exists. Instead, it is recommended you use the resource-specific +// describe API, for example, DescribeStream for video streams. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DeleteStream func (c *KinesisVideo) DeleteStream(input *DeleteStreamInput) (*DeleteStreamOutput, error) { @@ -470,14 +470,13 @@ const opDescribeImageGenerationConfiguration = "DescribeImageGenerationConfigura // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImageGenerationConfigurationRequest method. +// req, resp := client.DescribeImageGenerationConfigurationRequest(params) // -// // Example sending a request using the DescribeImageGenerationConfigurationRequest method. -// req, resp := client.DescribeImageGenerationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeImageGenerationConfiguration func (c *KinesisVideo) DescribeImageGenerationConfigurationRequest(input *DescribeImageGenerationConfigurationInput) (req *request.Request, output *DescribeImageGenerationConfigurationOutput) { @@ -508,18 +507,19 @@ func (c *KinesisVideo) DescribeImageGenerationConfigurationRequest(input *Descri // API operation DescribeImageGenerationConfiguration for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The value for this input parameter is invalid. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - InvalidArgumentException +// The value for this input parameter is invalid. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * AccessDeniedException -// You do not have required permissions to perform this operation. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. +// +// - AccessDeniedException +// You do not have required permissions to perform this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeImageGenerationConfiguration func (c *KinesisVideo) DescribeImageGenerationConfiguration(input *DescribeImageGenerationConfigurationInput) (*DescribeImageGenerationConfigurationOutput, error) { @@ -559,14 +559,13 @@ const opDescribeNotificationConfiguration = "DescribeNotificationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNotificationConfigurationRequest method. +// req, resp := client.DescribeNotificationConfigurationRequest(params) // -// // Example sending a request using the DescribeNotificationConfigurationRequest method. -// req, resp := client.DescribeNotificationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeNotificationConfiguration func (c *KinesisVideo) DescribeNotificationConfigurationRequest(input *DescribeNotificationConfigurationInput) (req *request.Request, output *DescribeNotificationConfigurationOutput) { @@ -597,18 +596,19 @@ func (c *KinesisVideo) DescribeNotificationConfigurationRequest(input *DescribeN // API operation DescribeNotificationConfiguration for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The value for this input parameter is invalid. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - InvalidArgumentException +// The value for this input parameter is invalid. +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// * AccessDeniedException -// You do not have required permissions to perform this operation. +// - AccessDeniedException +// You do not have required permissions to perform this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeNotificationConfiguration func (c *KinesisVideo) DescribeNotificationConfiguration(input *DescribeNotificationConfigurationInput) (*DescribeNotificationConfigurationOutput, error) { @@ -648,14 +648,13 @@ const opDescribeSignalingChannel = "DescribeSignalingChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSignalingChannelRequest method. +// req, resp := client.DescribeSignalingChannelRequest(params) // -// // Example sending a request using the DescribeSignalingChannelRequest method. -// req, resp := client.DescribeSignalingChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeSignalingChannel func (c *KinesisVideo) DescribeSignalingChannelRequest(input *DescribeSignalingChannelInput) (req *request.Request, output *DescribeSignalingChannelOutput) { @@ -688,18 +687,19 @@ func (c *KinesisVideo) DescribeSignalingChannelRequest(input *DescribeSignalingC // API operation DescribeSignalingChannel for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The value for this input parameter is invalid. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - InvalidArgumentException +// The value for this input parameter is invalid. +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// * AccessDeniedException -// You do not have required permissions to perform this operation. +// - AccessDeniedException +// You do not have required permissions to perform this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeSignalingChannel func (c *KinesisVideo) DescribeSignalingChannel(input *DescribeSignalingChannelInput) (*DescribeSignalingChannelOutput, error) { @@ -739,14 +739,13 @@ const opDescribeStream = "DescribeStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStreamRequest method. +// req, resp := client.DescribeStreamRequest(params) // -// // Example sending a request using the DescribeStreamRequest method. -// req, resp := client.DescribeStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeStream func (c *KinesisVideo) DescribeStreamRequest(input *DescribeStreamInput) (req *request.Request, output *DescribeStreamOutput) { @@ -778,18 +777,19 @@ func (c *KinesisVideo) DescribeStreamRequest(input *DescribeStreamInput) (req *r // API operation DescribeStream for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The value for this input parameter is invalid. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - InvalidArgumentException +// The value for this input parameter is invalid. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// * NotAuthorizedException -// The caller is not authorized to perform this operation. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. +// +// - NotAuthorizedException +// The caller is not authorized to perform this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/DescribeStream func (c *KinesisVideo) DescribeStream(input *DescribeStreamInput) (*DescribeStreamOutput, error) { @@ -829,14 +829,13 @@ const opGetDataEndpoint = "GetDataEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDataEndpointRequest method. +// req, resp := client.GetDataEndpointRequest(params) // -// // Example sending a request using the GetDataEndpointRequest method. -// req, resp := client.GetDataEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/GetDataEndpoint func (c *KinesisVideo) GetDataEndpointRequest(input *GetDataEndpointInput) (req *request.Request, output *GetDataEndpointOutput) { @@ -875,18 +874,19 @@ func (c *KinesisVideo) GetDataEndpointRequest(input *GetDataEndpointInput) (req // API operation GetDataEndpoint for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The value for this input parameter is invalid. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - InvalidArgumentException +// The value for this input parameter is invalid. +// +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * NotAuthorizedException -// The caller is not authorized to perform this operation. +// - NotAuthorizedException +// The caller is not authorized to perform this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/GetDataEndpoint func (c *KinesisVideo) GetDataEndpoint(input *GetDataEndpointInput) (*GetDataEndpointOutput, error) { @@ -926,14 +926,13 @@ const opGetSignalingChannelEndpoint = "GetSignalingChannelEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSignalingChannelEndpointRequest method. +// req, resp := client.GetSignalingChannelEndpointRequest(params) // -// // Example sending a request using the GetSignalingChannelEndpointRequest method. -// req, resp := client.GetSignalingChannelEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/GetSignalingChannelEndpoint func (c *KinesisVideo) GetSignalingChannelEndpointRequest(input *GetSignalingChannelEndpointInput) (req *request.Request, output *GetSignalingChannelEndpointOutput) { @@ -976,27 +975,28 @@ func (c *KinesisVideo) GetSignalingChannelEndpointRequest(input *GetSignalingCha // API operation GetSignalingChannelEndpoint for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The value for this input parameter is invalid. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - InvalidArgumentException +// The value for this input parameter is invalid. +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// * ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// - ResourceInUseException +// The resource is currently not available for this operation. New resources +// cannot be created with the same name as existing resources. Also, resources +// cannot be updated or deleted unless they are in an ACTIVE state. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// If this exception is returned, do not use it to determine whether the requested +// resource already exists. Instead, it is recommended you use the resource-specific +// describe API, for example, DescribeStream for video streams. // -// * AccessDeniedException -// You do not have required permissions to perform this operation. +// - AccessDeniedException +// You do not have required permissions to perform this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/GetSignalingChannelEndpoint func (c *KinesisVideo) GetSignalingChannelEndpoint(input *GetSignalingChannelEndpointInput) (*GetSignalingChannelEndpointOutput, error) { @@ -1036,14 +1036,13 @@ const opListSignalingChannels = "ListSignalingChannels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSignalingChannelsRequest method. +// req, resp := client.ListSignalingChannelsRequest(params) // -// // Example sending a request using the ListSignalingChannelsRequest method. -// req, resp := client.ListSignalingChannelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListSignalingChannels func (c *KinesisVideo) ListSignalingChannelsRequest(input *ListSignalingChannelsInput) (req *request.Request, output *ListSignalingChannelsOutput) { @@ -1082,15 +1081,16 @@ func (c *KinesisVideo) ListSignalingChannelsRequest(input *ListSignalingChannels // API operation ListSignalingChannels for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The value for this input parameter is invalid. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - InvalidArgumentException +// The value for this input parameter is invalid. // -// * AccessDeniedException -// You do not have required permissions to perform this operation. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. +// +// - AccessDeniedException +// You do not have required permissions to perform this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListSignalingChannels func (c *KinesisVideo) ListSignalingChannels(input *ListSignalingChannelsInput) (*ListSignalingChannelsOutput, error) { @@ -1122,15 +1122,14 @@ func (c *KinesisVideo) ListSignalingChannelsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSignalingChannels operation. -// pageNum := 0 -// err := client.ListSignalingChannelsPages(params, -// func(page *kinesisvideo.ListSignalingChannelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSignalingChannels operation. +// pageNum := 0 +// err := client.ListSignalingChannelsPages(params, +// func(page *kinesisvideo.ListSignalingChannelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *KinesisVideo) ListSignalingChannelsPages(input *ListSignalingChannelsInput, fn func(*ListSignalingChannelsOutput, bool) bool) error { return c.ListSignalingChannelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1182,14 +1181,13 @@ const opListStreams = "ListStreams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStreamsRequest method. +// req, resp := client.ListStreamsRequest(params) // -// // Example sending a request using the ListStreamsRequest method. -// req, resp := client.ListStreamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListStreams func (c *KinesisVideo) ListStreamsRequest(input *ListStreamsInput) (req *request.Request, output *ListStreamsOutput) { @@ -1228,12 +1226,13 @@ func (c *KinesisVideo) ListStreamsRequest(input *ListStreamsInput) (req *request // API operation ListStreams for usage and error information. // // Returned Error Types: -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. // -// * InvalidArgumentException -// The value for this input parameter is invalid. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. +// +// - InvalidArgumentException +// The value for this input parameter is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListStreams func (c *KinesisVideo) ListStreams(input *ListStreamsInput) (*ListStreamsOutput, error) { @@ -1265,15 +1264,14 @@ func (c *KinesisVideo) ListStreamsWithContext(ctx aws.Context, input *ListStream // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStreams operation. -// pageNum := 0 -// err := client.ListStreamsPages(params, -// func(page *kinesisvideo.ListStreamsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStreams operation. +// pageNum := 0 +// err := client.ListStreamsPages(params, +// func(page *kinesisvideo.ListStreamsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *KinesisVideo) ListStreamsPages(input *ListStreamsInput, fn func(*ListStreamsOutput, bool) bool) error { return c.ListStreamsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1325,14 +1323,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListTagsForResource func (c *KinesisVideo) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1363,18 +1360,19 @@ func (c *KinesisVideo) ListTagsForResourceRequest(input *ListTagsForResourceInpu // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The value for this input parameter is invalid. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - InvalidArgumentException +// The value for this input parameter is invalid. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * AccessDeniedException -// You do not have required permissions to perform this operation. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. +// +// - AccessDeniedException +// You do not have required permissions to perform this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListTagsForResource func (c *KinesisVideo) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1414,14 +1412,13 @@ const opListTagsForStream = "ListTagsForStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForStreamRequest method. +// req, resp := client.ListTagsForStreamRequest(params) // -// // Example sending a request using the ListTagsForStreamRequest method. -// req, resp := client.ListTagsForStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListTagsForStream func (c *KinesisVideo) ListTagsForStreamRequest(input *ListTagsForStreamInput) (req *request.Request, output *ListTagsForStreamOutput) { @@ -1454,21 +1451,22 @@ func (c *KinesisVideo) ListTagsForStreamRequest(input *ListTagsForStreamInput) ( // API operation ListTagsForStream for usage and error information. // // Returned Error Types: -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. // -// * InvalidArgumentException -// The value for this input parameter is invalid. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. +// +// - InvalidArgumentException +// The value for this input parameter is invalid. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// * NotAuthorizedException -// The caller is not authorized to perform this operation. +// - NotAuthorizedException +// The caller is not authorized to perform this operation. // -// * InvalidResourceFormatException -// The format of the StreamARN is invalid. +// - InvalidResourceFormatException +// The format of the StreamARN is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/ListTagsForStream func (c *KinesisVideo) ListTagsForStream(input *ListTagsForStreamInput) (*ListTagsForStreamOutput, error) { @@ -1508,14 +1506,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/TagResource func (c *KinesisVideo) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1552,22 +1549,23 @@ func (c *KinesisVideo) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The value for this input parameter is invalid. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - InvalidArgumentException +// The value for this input parameter is invalid. +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// * AccessDeniedException -// You do not have required permissions to perform this operation. +// - AccessDeniedException +// You do not have required permissions to perform this operation. // -// * TagsPerResourceExceededLimitException -// You have exceeded the limit of tags that you can associate with the resource. -// A Kinesis video stream can support up to 50 tags. +// - TagsPerResourceExceededLimitException +// You have exceeded the limit of tags that you can associate with the resource. +// A Kinesis video stream can support up to 50 tags. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/TagResource func (c *KinesisVideo) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1607,14 +1605,13 @@ const opTagStream = "TagStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagStreamRequest method. +// req, resp := client.TagStreamRequest(params) // -// // Example sending a request using the TagStreamRequest method. -// req, resp := client.TagStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/TagStream func (c *KinesisVideo) TagStreamRequest(input *TagStreamInput) (req *request.Request, output *TagStreamOutput) { @@ -1657,25 +1654,26 @@ func (c *KinesisVideo) TagStreamRequest(input *TagStreamInput) (req *request.Req // API operation TagStream for usage and error information. // // Returned Error Types: -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. // -// * InvalidArgumentException -// The value for this input parameter is invalid. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - InvalidArgumentException +// The value for this input parameter is invalid. // -// * NotAuthorizedException -// The caller is not authorized to perform this operation. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// * InvalidResourceFormatException -// The format of the StreamARN is invalid. +// - NotAuthorizedException +// The caller is not authorized to perform this operation. // -// * TagsPerResourceExceededLimitException -// You have exceeded the limit of tags that you can associate with the resource. -// A Kinesis video stream can support up to 50 tags. +// - InvalidResourceFormatException +// The format of the StreamARN is invalid. +// +// - TagsPerResourceExceededLimitException +// You have exceeded the limit of tags that you can associate with the resource. +// A Kinesis video stream can support up to 50 tags. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/TagStream func (c *KinesisVideo) TagStream(input *TagStreamInput) (*TagStreamOutput, error) { @@ -1715,14 +1713,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UntagResource func (c *KinesisVideo) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1756,18 +1753,19 @@ func (c *KinesisVideo) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The value for this input parameter is invalid. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - InvalidArgumentException +// The value for this input parameter is invalid. +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// * AccessDeniedException -// You do not have required permissions to perform this operation. +// - AccessDeniedException +// You do not have required permissions to perform this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UntagResource func (c *KinesisVideo) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1807,14 +1805,13 @@ const opUntagStream = "UntagStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagStreamRequest method. +// req, resp := client.UntagStreamRequest(params) // -// // Example sending a request using the UntagStreamRequest method. -// req, resp := client.UntagStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UntagStream func (c *KinesisVideo) UntagStreamRequest(input *UntagStreamInput) (req *request.Request, output *UntagStreamOutput) { @@ -1850,21 +1847,22 @@ func (c *KinesisVideo) UntagStreamRequest(input *UntagStreamInput) (req *request // API operation UntagStream for usage and error information. // // Returned Error Types: -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. // -// * InvalidArgumentException -// The value for this input parameter is invalid. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. +// +// - InvalidArgumentException +// The value for this input parameter is invalid. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// * NotAuthorizedException -// The caller is not authorized to perform this operation. +// - NotAuthorizedException +// The caller is not authorized to perform this operation. // -// * InvalidResourceFormatException -// The format of the StreamARN is invalid. +// - InvalidResourceFormatException +// The format of the StreamARN is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UntagStream func (c *KinesisVideo) UntagStream(input *UntagStreamInput) (*UntagStreamOutput, error) { @@ -1904,14 +1902,13 @@ const opUpdateDataRetention = "UpdateDataRetention" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDataRetentionRequest method. +// req, resp := client.UpdateDataRetentionRequest(params) // -// // Example sending a request using the UpdateDataRetentionRequest method. -// req, resp := client.UpdateDataRetentionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateDataRetention func (c *KinesisVideo) UpdateDataRetentionRequest(input *UpdateDataRetentionInput) (req *request.Request, output *UpdateDataRetentionOutput) { @@ -1945,15 +1942,15 @@ func (c *KinesisVideo) UpdateDataRetentionRequest(input *UpdateDataRetentionInpu // // Changing the data retention period affects the data in the stream as follows: // -// * If the data retention period is increased, existing data is retained -// for the new retention period. For example, if the data retention period -// is increased from one hour to seven hours, all existing data is retained -// for seven hours. +// - If the data retention period is increased, existing data is retained +// for the new retention period. For example, if the data retention period +// is increased from one hour to seven hours, all existing data is retained +// for seven hours. // -// * If the data retention period is decreased, existing data is retained -// for the new retention period. For example, if the data retention period -// is decreased from seven hours to one hour, all existing data is retained -// for one hour, and any data older than one hour is deleted immediately. +// - If the data retention period is decreased, existing data is retained +// for the new retention period. For example, if the data retention period +// is decreased from seven hours to one hour, all existing data is retained +// for one hour, and any data older than one hour is deleted immediately. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1963,32 +1960,33 @@ func (c *KinesisVideo) UpdateDataRetentionRequest(input *UpdateDataRetentionInpu // API operation UpdateDataRetention for usage and error information. // // Returned Error Types: -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. // -// * InvalidArgumentException -// The value for this input parameter is invalid. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - InvalidArgumentException +// The value for this input parameter is invalid. // -// * ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// - ResourceInUseException +// The resource is currently not available for this operation. New resources +// cannot be created with the same name as existing resources. Also, resources +// cannot be updated or deleted unless they are in an ACTIVE state. // -// * NotAuthorizedException -// The caller is not authorized to perform this operation. +// If this exception is returned, do not use it to determine whether the requested +// resource already exists. Instead, it is recommended you use the resource-specific +// describe API, for example, DescribeStream for video streams. // -// * VersionMismatchException -// The stream version that you specified is not the latest version. To get the -// latest version, use the DescribeStream (https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html) -// API. +// - NotAuthorizedException +// The caller is not authorized to perform this operation. +// +// - VersionMismatchException +// The stream version that you specified is not the latest version. To get the +// latest version, use the DescribeStream (https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html) +// API. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateDataRetention func (c *KinesisVideo) UpdateDataRetention(input *UpdateDataRetentionInput) (*UpdateDataRetentionOutput, error) { @@ -2028,14 +2026,13 @@ const opUpdateImageGenerationConfiguration = "UpdateImageGenerationConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateImageGenerationConfigurationRequest method. +// req, resp := client.UpdateImageGenerationConfigurationRequest(params) // -// // Example sending a request using the UpdateImageGenerationConfigurationRequest method. -// req, resp := client.UpdateImageGenerationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateImageGenerationConfiguration func (c *KinesisVideo) UpdateImageGenerationConfigurationRequest(input *UpdateImageGenerationConfigurationInput) (req *request.Request, output *UpdateImageGenerationConfigurationOutput) { @@ -2067,30 +2064,31 @@ func (c *KinesisVideo) UpdateImageGenerationConfigurationRequest(input *UpdateIm // API operation UpdateImageGenerationConfiguration for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The value for this input parameter is invalid. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - InvalidArgumentException +// The value for this input parameter is invalid. +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// * AccessDeniedException -// You do not have required permissions to perform this operation. +// - AccessDeniedException +// You do not have required permissions to perform this operation. // -// * ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// - ResourceInUseException +// The resource is currently not available for this operation. New resources +// cannot be created with the same name as existing resources. Also, resources +// cannot be updated or deleted unless they are in an ACTIVE state. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// If this exception is returned, do not use it to determine whether the requested +// resource already exists. Instead, it is recommended you use the resource-specific +// describe API, for example, DescribeStream for video streams. // -// * NoDataRetentionException -// The Stream data retention in hours is equal to zero. +// - NoDataRetentionException +// The Stream data retention in hours is equal to zero. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateImageGenerationConfiguration func (c *KinesisVideo) UpdateImageGenerationConfiguration(input *UpdateImageGenerationConfigurationInput) (*UpdateImageGenerationConfigurationOutput, error) { @@ -2130,14 +2128,13 @@ const opUpdateNotificationConfiguration = "UpdateNotificationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNotificationConfigurationRequest method. +// req, resp := client.UpdateNotificationConfigurationRequest(params) // -// // Example sending a request using the UpdateNotificationConfigurationRequest method. -// req, resp := client.UpdateNotificationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateNotificationConfiguration func (c *KinesisVideo) UpdateNotificationConfigurationRequest(input *UpdateNotificationConfigurationInput) (req *request.Request, output *UpdateNotificationConfigurationOutput) { @@ -2169,30 +2166,31 @@ func (c *KinesisVideo) UpdateNotificationConfigurationRequest(input *UpdateNotif // API operation UpdateNotificationConfiguration for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The value for this input parameter is invalid. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - InvalidArgumentException +// The value for this input parameter is invalid. +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// * AccessDeniedException -// You do not have required permissions to perform this operation. +// - AccessDeniedException +// You do not have required permissions to perform this operation. // -// * ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// - ResourceInUseException +// The resource is currently not available for this operation. New resources +// cannot be created with the same name as existing resources. Also, resources +// cannot be updated or deleted unless they are in an ACTIVE state. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// If this exception is returned, do not use it to determine whether the requested +// resource already exists. Instead, it is recommended you use the resource-specific +// describe API, for example, DescribeStream for video streams. // -// * NoDataRetentionException -// The Stream data retention in hours is equal to zero. +// - NoDataRetentionException +// The Stream data retention in hours is equal to zero. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateNotificationConfiguration func (c *KinesisVideo) UpdateNotificationConfiguration(input *UpdateNotificationConfigurationInput) (*UpdateNotificationConfigurationOutput, error) { @@ -2232,14 +2230,13 @@ const opUpdateSignalingChannel = "UpdateSignalingChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSignalingChannelRequest method. +// req, resp := client.UpdateSignalingChannelRequest(params) // -// // Example sending a request using the UpdateSignalingChannelRequest method. -// req, resp := client.UpdateSignalingChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateSignalingChannel func (c *KinesisVideo) UpdateSignalingChannelRequest(input *UpdateSignalingChannelInput) (req *request.Request, output *UpdateSignalingChannelOutput) { @@ -2277,32 +2274,33 @@ func (c *KinesisVideo) UpdateSignalingChannelRequest(input *UpdateSignalingChann // API operation UpdateSignalingChannel for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// The value for this input parameter is invalid. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - InvalidArgumentException +// The value for this input parameter is invalid. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// - ResourceInUseException +// The resource is currently not available for this operation. New resources +// cannot be created with the same name as existing resources. Also, resources +// cannot be updated or deleted unless they are in an ACTIVE state. // -// * AccessDeniedException -// You do not have required permissions to perform this operation. +// If this exception is returned, do not use it to determine whether the requested +// resource already exists. Instead, it is recommended you use the resource-specific +// describe API, for example, DescribeStream for video streams. // -// * VersionMismatchException -// The stream version that you specified is not the latest version. To get the -// latest version, use the DescribeStream (https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html) -// API. +// - AccessDeniedException +// You do not have required permissions to perform this operation. +// +// - VersionMismatchException +// The stream version that you specified is not the latest version. To get the +// latest version, use the DescribeStream (https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html) +// API. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateSignalingChannel func (c *KinesisVideo) UpdateSignalingChannel(input *UpdateSignalingChannelInput) (*UpdateSignalingChannelOutput, error) { @@ -2342,14 +2340,13 @@ const opUpdateStream = "UpdateStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStreamRequest method. +// req, resp := client.UpdateStreamRequest(params) // -// // Example sending a request using the UpdateStreamRequest method. -// req, resp := client.UpdateStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateStream func (c *KinesisVideo) UpdateStreamRequest(input *UpdateStreamInput) (req *request.Request, output *UpdateStreamOutput) { @@ -2392,32 +2389,33 @@ func (c *KinesisVideo) UpdateStreamRequest(input *UpdateStreamInput) (req *reque // API operation UpdateStream for usage and error information. // // Returned Error Types: -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. // -// * InvalidArgumentException -// The value for this input parameter is invalid. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. +// +// - InvalidArgumentException +// The value for this input parameter is invalid. // -// * ResourceNotFoundException -// Amazon Kinesis Video Streams can't find the stream that you specified. +// - ResourceNotFoundException +// Amazon Kinesis Video Streams can't find the stream that you specified. // -// * ResourceInUseException -// The resource is currently not available for this operation. New resources -// cannot be created with the same name as existing resources. Also, resources -// cannot be updated or deleted unless they are in an ACTIVE state. +// - ResourceInUseException +// The resource is currently not available for this operation. New resources +// cannot be created with the same name as existing resources. Also, resources +// cannot be updated or deleted unless they are in an ACTIVE state. // -// If this exception is returned, do not use it to determine whether the requested -// resource already exists. Instead, it is recommended you use the resource-specific -// describe API, for example, DescribeStream for video streams. +// If this exception is returned, do not use it to determine whether the requested +// resource already exists. Instead, it is recommended you use the resource-specific +// describe API, for example, DescribeStream for video streams. // -// * NotAuthorizedException -// The caller is not authorized to perform this operation. +// - NotAuthorizedException +// The caller is not authorized to perform this operation. // -// * VersionMismatchException -// The stream version that you specified is not the latest version. To get the -// latest version, use the DescribeStream (https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html) -// API. +// - VersionMismatchException +// The stream version that you specified is not the latest version. To get the +// latest version, use the DescribeStream (https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_DescribeStream.html) +// API. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesisvideo-2017-09-30/UpdateStream func (c *KinesisVideo) UpdateStream(input *UpdateStreamInput) (*UpdateStreamOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/doc.go index d22bde25130b..07985f171c8c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/doc.go @@ -8,7 +8,7 @@ // See kinesisvideo package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/kinesisvideo/ // -// Using the Client +// # Using the Client // // To contact Amazon Kinesis Video Streams with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/kinesisvideoiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/kinesisvideoiface/interface.go index 52f2471e7bb9..e126b42ecfeb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/kinesisvideoiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/kinesisvideoiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Kinesis Video Streams. -// func myFunc(svc kinesisvideoiface.KinesisVideoAPI) bool { -// // Make svc.CreateSignalingChannel request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Kinesis Video Streams. +// func myFunc(svc kinesisvideoiface.KinesisVideoAPI) bool { +// // Make svc.CreateSignalingChannel request +// } // -// func main() { -// sess := session.New() -// svc := kinesisvideo.New(sess) +// func main() { +// sess := session.New() +// svc := kinesisvideo.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockKinesisVideoClient struct { -// kinesisvideoiface.KinesisVideoAPI -// } -// func (m *mockKinesisVideoClient) CreateSignalingChannel(input *kinesisvideo.CreateSignalingChannelInput) (*kinesisvideo.CreateSignalingChannelOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockKinesisVideoClient struct { +// kinesisvideoiface.KinesisVideoAPI +// } +// func (m *mockKinesisVideoClient) CreateSignalingChannel(input *kinesisvideo.CreateSignalingChannelInput) (*kinesisvideo.CreateSignalingChannelOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockKinesisVideoClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockKinesisVideoClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/service.go index 9abc82c9c6d3..87413a5c35a3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideo/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a KinesisVideo client from just a session. -// svc := kinesisvideo.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a KinesisVideo client with additional configuration -// svc := kinesisvideo.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a KinesisVideo client from just a session. +// svc := kinesisvideo.New(mySession) +// +// // Create a KinesisVideo client with additional configuration +// svc := kinesisvideo.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *KinesisVideo { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/api.go index 93658de0ec8a..b93fa57e78c7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/api.go @@ -29,14 +29,13 @@ const opGetClip = "GetClip" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetClipRequest method. +// req, resp := client.GetClipRequest(params) // -// // Example sending a request using the GetClipRequest method. -// req, resp := client.GetClipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/GetClip func (c *KinesisVideoArchivedMedia) GetClipRequest(input *GetClipInput) (req *request.Request, output *GetClipOutput) { @@ -69,22 +68,22 @@ func (c *KinesisVideoArchivedMedia) GetClipRequest(input *GetClipInput) (req *re // An Amazon Kinesis video stream has the following requirements for providing // data through MP4: // -// * The media must contain h.264 or h.265 encoded video and, optionally, -// AAC or G.711 encoded audio. Specifically, the codec ID of track 1 should -// be V_MPEG/ISO/AVC (for h.264) or V_MPEGH/ISO/HEVC (for H.265). Optionally, -// the codec ID of track 2 should be A_AAC (for AAC) or A_MS/ACM (for G.711). +// - The media must contain h.264 or h.265 encoded video and, optionally, +// AAC or G.711 encoded audio. Specifically, the codec ID of track 1 should +// be V_MPEG/ISO/AVC (for h.264) or V_MPEGH/ISO/HEVC (for H.265). Optionally, +// the codec ID of track 2 should be A_AAC (for AAC) or A_MS/ACM (for G.711). // -// * Data retention must be greater than 0. +// - Data retention must be greater than 0. // -// * The video track of each fragment must contain codec private data in -// the Advanced Video Coding (AVC) for H.264 format and HEVC for H.265 format. -// For more information, see MPEG-4 specification ISO/IEC 14496-15 (https://www.iso.org/standard/55980.html). -// For information about adapting stream data to a given format, see NAL -// Adaptation Flags (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/producer-reference-nal.html). +// - The video track of each fragment must contain codec private data in +// the Advanced Video Coding (AVC) for H.264 format and HEVC for H.265 format. +// For more information, see MPEG-4 specification ISO/IEC 14496-15 (https://www.iso.org/standard/55980.html). +// For information about adapting stream data to a given format, see NAL +// Adaptation Flags (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/producer-reference-nal.html). // -// * The audio track (if present) of each fragment must contain codec private -// data in the AAC format (AAC specification ISO/IEC 13818-7 (https://www.iso.org/standard/43345.html)) -// or the MS Wave format (http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html). +// - The audio track (if present) of each fragment must contain codec private +// data in the AAC format (AAC specification ISO/IEC 13818-7 (https://www.iso.org/standard/43345.html)) +// or the MS Wave format (http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html). // // You can monitor the amount of outgoing data by monitoring the GetClip.OutgoingBytes // Amazon CloudWatch metric. For information about using CloudWatch to monitor @@ -101,49 +100,50 @@ func (c *KinesisVideoArchivedMedia) GetClipRequest(input *GetClipInput) (req *re // API operation GetClip for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// GetMedia throws this error when Kinesis Video Streams can't find the stream -// that you specified. -// -// GetHLSStreamingSessionURL and GetDASHStreamingSessionURL throw this error -// if a session with a PlaybackMode of ON_DEMAND or LIVE_REPLAYis requested -// for a stream that has no fragments within the requested time range, or if -// a session with a PlaybackMode of LIVE is requested for a stream that has -// no fragments within the last 30 seconds. -// -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. -// -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// a limit. Try making the call later. For information about limits, see Kinesis -// Video Streams Limits (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html). -// -// * NotAuthorizedException -// Status Code: 403, The caller is not authorized to perform an operation on -// the given stream, or the token has expired. -// -// * UnsupportedStreamMediaTypeException -// The type of the media (for example, h.264 or h.265 video or ACC or G.711 -// audio) could not be determined from the codec IDs of the tracks in the first -// fragment for a playback session. The codec ID for track 1 should be V_MPEG/ISO/AVC -// and, optionally, the codec ID for track 2 should be A_AAC. -// -// * MissingCodecPrivateDataException -// No codec private data was found in at least one of tracks of the video stream. -// -// * InvalidCodecPrivateDataException -// The codec private data in at least one of the tracks of the video stream -// is not valid for this operation. -// -// * InvalidMediaFrameException -// One or more frames in the requested clip could not be parsed based on the -// specified codec. -// -// * NoDataRetentionException -// A streaming session was requested for a stream that does not retain data -// (that is, has a DataRetentionInHours of 0). +// +// - ResourceNotFoundException +// GetMedia throws this error when Kinesis Video Streams can't find the stream +// that you specified. +// +// GetHLSStreamingSessionURL and GetDASHStreamingSessionURL throw this error +// if a session with a PlaybackMode of ON_DEMAND or LIVE_REPLAYis requested +// for a stream that has no fragments within the requested time range, or if +// a session with a PlaybackMode of LIVE is requested for a stream that has +// no fragments within the last 30 seconds. +// +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// a limit. Try making the call later. For information about limits, see Kinesis +// Video Streams Limits (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html). +// +// - NotAuthorizedException +// Status Code: 403, The caller is not authorized to perform an operation on +// the given stream, or the token has expired. +// +// - UnsupportedStreamMediaTypeException +// The type of the media (for example, h.264 or h.265 video or ACC or G.711 +// audio) could not be determined from the codec IDs of the tracks in the first +// fragment for a playback session. The codec ID for track 1 should be V_MPEG/ISO/AVC +// and, optionally, the codec ID for track 2 should be A_AAC. +// +// - MissingCodecPrivateDataException +// No codec private data was found in at least one of tracks of the video stream. +// +// - InvalidCodecPrivateDataException +// The codec private data in at least one of the tracks of the video stream +// is not valid for this operation. +// +// - InvalidMediaFrameException +// One or more frames in the requested clip could not be parsed based on the +// specified codec. +// +// - NoDataRetentionException +// A streaming session was requested for a stream that does not retain data +// (that is, has a DataRetentionInHours of 0). // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/GetClip func (c *KinesisVideoArchivedMedia) GetClip(input *GetClipInput) (*GetClipOutput, error) { @@ -183,14 +183,13 @@ const opGetDASHStreamingSessionURL = "GetDASHStreamingSessionURL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDASHStreamingSessionURLRequest method. +// req, resp := client.GetDASHStreamingSessionURLRequest(params) // -// // Example sending a request using the GetDASHStreamingSessionURLRequest method. -// req, resp := client.GetDASHStreamingSessionURLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/GetDASHStreamingSessionURL func (c *KinesisVideoArchivedMedia) GetDASHStreamingSessionURLRequest(input *GetDASHStreamingSessionURLInput) (req *request.Request, output *GetDASHStreamingSessionURLOutput) { @@ -220,22 +219,22 @@ func (c *KinesisVideoArchivedMedia) GetDASHStreamingSessionURLRequest(input *Get // An Amazon Kinesis video stream has the following requirements for providing // data through MPEG-DASH: // -// * The media must contain h.264 or h.265 encoded video and, optionally, -// AAC or G.711 encoded audio. Specifically, the codec ID of track 1 should -// be V_MPEG/ISO/AVC (for h.264) or V_MPEGH/ISO/HEVC (for H.265). Optionally, -// the codec ID of track 2 should be A_AAC (for AAC) or A_MS/ACM (for G.711). +// - The media must contain h.264 or h.265 encoded video and, optionally, +// AAC or G.711 encoded audio. Specifically, the codec ID of track 1 should +// be V_MPEG/ISO/AVC (for h.264) or V_MPEGH/ISO/HEVC (for H.265). Optionally, +// the codec ID of track 2 should be A_AAC (for AAC) or A_MS/ACM (for G.711). // -// * Data retention must be greater than 0. +// - Data retention must be greater than 0. // -// * The video track of each fragment must contain codec private data in -// the Advanced Video Coding (AVC) for H.264 format and HEVC for H.265 format. -// For more information, see MPEG-4 specification ISO/IEC 14496-15 (https://www.iso.org/standard/55980.html). -// For information about adapting stream data to a given format, see NAL -// Adaptation Flags (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/producer-reference-nal.html). +// - The video track of each fragment must contain codec private data in +// the Advanced Video Coding (AVC) for H.264 format and HEVC for H.265 format. +// For more information, see MPEG-4 specification ISO/IEC 14496-15 (https://www.iso.org/standard/55980.html). +// For information about adapting stream data to a given format, see NAL +// Adaptation Flags (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/producer-reference-nal.html). // -// * The audio track (if present) of each fragment must contain codec private -// data in the AAC format (AAC specification ISO/IEC 13818-7 (https://www.iso.org/standard/43345.html)) -// or the MS Wave format (http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html). +// - The audio track (if present) of each fragment must contain codec private +// data in the AAC format (AAC specification ISO/IEC 13818-7 (https://www.iso.org/standard/43345.html)) +// or the MS Wave format (http://www-mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/WAVE.html). // // The following procedure shows how to use MPEG-DASH with Kinesis Video Streams: // @@ -268,28 +267,28 @@ func (c *KinesisVideoArchivedMedia) GetDASHStreamingSessionURLRequest(input *Get // and media data normally. When the media player requests data, it calls the // following actions: // -// * GetDASHManifest: Retrieves an MPEG DASH manifest, which contains the -// metadata for the media that you want to playback. -// -// * GetMP4InitFragment: Retrieves the MP4 initialization fragment. The media -// player typically loads the initialization fragment before loading any -// media fragments. This fragment contains the "fytp" and "moov" MP4 atoms, -// and the child atoms that are needed to initialize the media player decoder. -// The initialization fragment does not correspond to a fragment in a Kinesis -// video stream. It contains only the codec private data for the stream and -// respective track, which the media player needs to decode the media frames. -// -// * GetMP4MediaFragment: Retrieves MP4 media fragments. These fragments -// contain the "moof" and "mdat" MP4 atoms and their child atoms, containing -// the encoded fragment's media frames and their timestamps. After the first -// media fragment is made available in a streaming session, any fragments -// that don't contain the same codec private data cause an error to be returned -// when those different media fragments are loaded. Therefore, the codec -// private data should not change between fragments in a session. This also -// means that the session fails if the fragments in a stream change from -// having only video to having both audio and video. Data retrieved with -// this action is billable. See Pricing (https://aws.amazon.com/kinesis/video-streams/pricing/) -// for details. +// - GetDASHManifest: Retrieves an MPEG DASH manifest, which contains the +// metadata for the media that you want to playback. +// +// - GetMP4InitFragment: Retrieves the MP4 initialization fragment. The media +// player typically loads the initialization fragment before loading any +// media fragments. This fragment contains the "fytp" and "moov" MP4 atoms, +// and the child atoms that are needed to initialize the media player decoder. +// The initialization fragment does not correspond to a fragment in a Kinesis +// video stream. It contains only the codec private data for the stream and +// respective track, which the media player needs to decode the media frames. +// +// - GetMP4MediaFragment: Retrieves MP4 media fragments. These fragments +// contain the "moof" and "mdat" MP4 atoms and their child atoms, containing +// the encoded fragment's media frames and their timestamps. After the first +// media fragment is made available in a streaming session, any fragments +// that don't contain the same codec private data cause an error to be returned +// when those different media fragments are loaded. Therefore, the codec +// private data should not change between fragments in a session. This also +// means that the session fails if the fragments in a stream change from +// having only video to having both audio and video. Data retrieved with +// this action is billable. See Pricing (https://aws.amazon.com/kinesis/video-streams/pricing/) +// for details. // // For restrictions that apply to MPEG-DASH sessions, see Kinesis Video Streams // Limits (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html). @@ -309,12 +308,12 @@ func (c *KinesisVideoArchivedMedia) GetDASHStreamingSessionURLRequest(input *Get // API, in addition to the HTTP status code and the response body, it includes // the following pieces of information: // -// * x-amz-ErrorType HTTP header – contains a more specific error type -// in addition to what the HTTP status code provides. +// - x-amz-ErrorType HTTP header – contains a more specific error type +// in addition to what the HTTP status code provides. // -// * x-amz-RequestId HTTP header – if you want to report an issue to AWS, -// the support team can better diagnose the problem if given the Request -// Id. +// - x-amz-RequestId HTTP header – if you want to report an issue to AWS, +// the support team can better diagnose the problem if given the Request +// Id. // // Both the HTTP status code and the ErrorType header can be utilized to make // programmatic decisions about whether errors are retry-able and under what @@ -332,45 +331,46 @@ func (c *KinesisVideoArchivedMedia) GetDASHStreamingSessionURLRequest(input *Get // API operation GetDASHStreamingSessionURL for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// GetMedia throws this error when Kinesis Video Streams can't find the stream -// that you specified. -// -// GetHLSStreamingSessionURL and GetDASHStreamingSessionURL throw this error -// if a session with a PlaybackMode of ON_DEMAND or LIVE_REPLAYis requested -// for a stream that has no fragments within the requested time range, or if -// a session with a PlaybackMode of LIVE is requested for a stream that has -// no fragments within the last 30 seconds. -// -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. -// -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// a limit. Try making the call later. For information about limits, see Kinesis -// Video Streams Limits (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html). -// -// * NotAuthorizedException -// Status Code: 403, The caller is not authorized to perform an operation on -// the given stream, or the token has expired. -// -// * UnsupportedStreamMediaTypeException -// The type of the media (for example, h.264 or h.265 video or ACC or G.711 -// audio) could not be determined from the codec IDs of the tracks in the first -// fragment for a playback session. The codec ID for track 1 should be V_MPEG/ISO/AVC -// and, optionally, the codec ID for track 2 should be A_AAC. -// -// * NoDataRetentionException -// A streaming session was requested for a stream that does not retain data -// (that is, has a DataRetentionInHours of 0). -// -// * MissingCodecPrivateDataException -// No codec private data was found in at least one of tracks of the video stream. -// -// * InvalidCodecPrivateDataException -// The codec private data in at least one of the tracks of the video stream -// is not valid for this operation. +// +// - ResourceNotFoundException +// GetMedia throws this error when Kinesis Video Streams can't find the stream +// that you specified. +// +// GetHLSStreamingSessionURL and GetDASHStreamingSessionURL throw this error +// if a session with a PlaybackMode of ON_DEMAND or LIVE_REPLAYis requested +// for a stream that has no fragments within the requested time range, or if +// a session with a PlaybackMode of LIVE is requested for a stream that has +// no fragments within the last 30 seconds. +// +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// a limit. Try making the call later. For information about limits, see Kinesis +// Video Streams Limits (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html). +// +// - NotAuthorizedException +// Status Code: 403, The caller is not authorized to perform an operation on +// the given stream, or the token has expired. +// +// - UnsupportedStreamMediaTypeException +// The type of the media (for example, h.264 or h.265 video or ACC or G.711 +// audio) could not be determined from the codec IDs of the tracks in the first +// fragment for a playback session. The codec ID for track 1 should be V_MPEG/ISO/AVC +// and, optionally, the codec ID for track 2 should be A_AAC. +// +// - NoDataRetentionException +// A streaming session was requested for a stream that does not retain data +// (that is, has a DataRetentionInHours of 0). +// +// - MissingCodecPrivateDataException +// No codec private data was found in at least one of tracks of the video stream. +// +// - InvalidCodecPrivateDataException +// The codec private data in at least one of the tracks of the video stream +// is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/GetDASHStreamingSessionURL func (c *KinesisVideoArchivedMedia) GetDASHStreamingSessionURL(input *GetDASHStreamingSessionURLInput) (*GetDASHStreamingSessionURLOutput, error) { @@ -410,14 +410,13 @@ const opGetHLSStreamingSessionURL = "GetHLSStreamingSessionURL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetHLSStreamingSessionURLRequest method. +// req, resp := client.GetHLSStreamingSessionURLRequest(params) // -// // Example sending a request using the GetHLSStreamingSessionURLRequest method. -// req, resp := client.GetHLSStreamingSessionURLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/GetHLSStreamingSessionURL func (c *KinesisVideoArchivedMedia) GetHLSStreamingSessionURLRequest(input *GetHLSStreamingSessionURLInput) (req *request.Request, output *GetHLSStreamingSessionURLOutput) { @@ -447,21 +446,21 @@ func (c *KinesisVideoArchivedMedia) GetHLSStreamingSessionURLRequest(input *GetH // An Amazon Kinesis video stream has the following requirements for providing // data through HLS: // -// * The media must contain h.264 or h.265 encoded video and, optionally, -// AAC encoded audio. Specifically, the codec ID of track 1 should be V_MPEG/ISO/AVC -// (for h.264) or V_MPEG/ISO/HEVC (for h.265). Optionally, the codec ID of -// track 2 should be A_AAC. +// - The media must contain h.264 or h.265 encoded video and, optionally, +// AAC encoded audio. Specifically, the codec ID of track 1 should be V_MPEG/ISO/AVC +// (for h.264) or V_MPEG/ISO/HEVC (for h.265). Optionally, the codec ID of +// track 2 should be A_AAC. // -// * Data retention must be greater than 0. +// - Data retention must be greater than 0. // -// * The video track of each fragment must contain codec private data in -// the Advanced Video Coding (AVC) for H.264 format or HEVC for H.265 format -// (MPEG-4 specification ISO/IEC 14496-15 (https://www.iso.org/standard/55980.html)). -// For information about adapting stream data to a given format, see NAL -// Adaptation Flags (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/producer-reference-nal.html). +// - The video track of each fragment must contain codec private data in +// the Advanced Video Coding (AVC) for H.264 format or HEVC for H.265 format +// (MPEG-4 specification ISO/IEC 14496-15 (https://www.iso.org/standard/55980.html)). +// For information about adapting stream data to a given format, see NAL +// Adaptation Flags (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/producer-reference-nal.html). // -// * The audio track (if present) of each fragment must contain codec private -// data in the AAC format (AAC specification ISO/IEC 13818-7 (https://www.iso.org/standard/43345.html)). +// - The audio track (if present) of each fragment must contain codec private +// data in the AAC format (AAC specification ISO/IEC 13818-7 (https://www.iso.org/standard/43345.html)). // // Kinesis Video Streams HLS sessions contain fragments in the fragmented MPEG-4 // form (also called fMP4 or CMAF) or the MPEG-2 form (also called TS chunks, @@ -499,46 +498,46 @@ func (c *KinesisVideoArchivedMedia) GetHLSStreamingSessionURLRequest(input *GetH // and media data normally. When the media player requests data, it calls the // following actions: // -// * GetHLSMasterPlaylist: Retrieves an HLS master playlist, which contains -// a URL for the GetHLSMediaPlaylist action for each track, and additional -// metadata for the media player, including estimated bitrate and resolution. -// -// * GetHLSMediaPlaylist: Retrieves an HLS media playlist, which contains -// a URL to access the MP4 initialization fragment with the GetMP4InitFragment -// action, and URLs to access the MP4 media fragments with the GetMP4MediaFragment -// actions. The HLS media playlist also contains metadata about the stream -// that the player needs to play it, such as whether the PlaybackMode is -// LIVE or ON_DEMAND. The HLS media playlist is typically static for sessions -// with a PlaybackType of ON_DEMAND. The HLS media playlist is continually -// updated with new fragments for sessions with a PlaybackType of LIVE. There -// is a distinct HLS media playlist for the video track and the audio track -// (if applicable) that contains MP4 media URLs for the specific track. -// -// * GetMP4InitFragment: Retrieves the MP4 initialization fragment. The media -// player typically loads the initialization fragment before loading any -// media fragments. This fragment contains the "fytp" and "moov" MP4 atoms, -// and the child atoms that are needed to initialize the media player decoder. -// The initialization fragment does not correspond to a fragment in a Kinesis -// video stream. It contains only the codec private data for the stream and -// respective track, which the media player needs to decode the media frames. -// -// * GetMP4MediaFragment: Retrieves MP4 media fragments. These fragments -// contain the "moof" and "mdat" MP4 atoms and their child atoms, containing -// the encoded fragment's media frames and their timestamps. After the first -// media fragment is made available in a streaming session, any fragments -// that don't contain the same codec private data cause an error to be returned -// when those different media fragments are loaded. Therefore, the codec -// private data should not change between fragments in a session. This also -// means that the session fails if the fragments in a stream change from -// having only video to having both audio and video. Data retrieved with -// this action is billable. See Pricing (https://aws.amazon.com/kinesis/video-streams/pricing/) -// for details. -// -// * GetTSFragment: Retrieves MPEG TS fragments containing both initialization -// and media data for all tracks in the stream. If the ContainerFormat is -// MPEG_TS, this API is used instead of GetMP4InitFragment and GetMP4MediaFragment -// to retrieve stream media. Data retrieved with this action is billable. -// For more information, see Kinesis Video Streams pricing (https://aws.amazon.com/kinesis/video-streams/pricing/). +// - GetHLSMasterPlaylist: Retrieves an HLS master playlist, which contains +// a URL for the GetHLSMediaPlaylist action for each track, and additional +// metadata for the media player, including estimated bitrate and resolution. +// +// - GetHLSMediaPlaylist: Retrieves an HLS media playlist, which contains +// a URL to access the MP4 initialization fragment with the GetMP4InitFragment +// action, and URLs to access the MP4 media fragments with the GetMP4MediaFragment +// actions. The HLS media playlist also contains metadata about the stream +// that the player needs to play it, such as whether the PlaybackMode is +// LIVE or ON_DEMAND. The HLS media playlist is typically static for sessions +// with a PlaybackType of ON_DEMAND. The HLS media playlist is continually +// updated with new fragments for sessions with a PlaybackType of LIVE. There +// is a distinct HLS media playlist for the video track and the audio track +// (if applicable) that contains MP4 media URLs for the specific track. +// +// - GetMP4InitFragment: Retrieves the MP4 initialization fragment. The media +// player typically loads the initialization fragment before loading any +// media fragments. This fragment contains the "fytp" and "moov" MP4 atoms, +// and the child atoms that are needed to initialize the media player decoder. +// The initialization fragment does not correspond to a fragment in a Kinesis +// video stream. It contains only the codec private data for the stream and +// respective track, which the media player needs to decode the media frames. +// +// - GetMP4MediaFragment: Retrieves MP4 media fragments. These fragments +// contain the "moof" and "mdat" MP4 atoms and their child atoms, containing +// the encoded fragment's media frames and their timestamps. After the first +// media fragment is made available in a streaming session, any fragments +// that don't contain the same codec private data cause an error to be returned +// when those different media fragments are loaded. Therefore, the codec +// private data should not change between fragments in a session. This also +// means that the session fails if the fragments in a stream change from +// having only video to having both audio and video. Data retrieved with +// this action is billable. See Pricing (https://aws.amazon.com/kinesis/video-streams/pricing/) +// for details. +// +// - GetTSFragment: Retrieves MPEG TS fragments containing both initialization +// and media data for all tracks in the stream. If the ContainerFormat is +// MPEG_TS, this API is used instead of GetMP4InitFragment and GetMP4MediaFragment +// to retrieve stream media. Data retrieved with this action is billable. +// For more information, see Kinesis Video Streams pricing (https://aws.amazon.com/kinesis/video-streams/pricing/). // // A streaming session URL must not be shared between players. The service might // throttle a session if multiple media players are sharing it. For connection @@ -559,12 +558,12 @@ func (c *KinesisVideoArchivedMedia) GetHLSStreamingSessionURLRequest(input *GetH // API, in addition to the HTTP status code and the response body, it includes // the following pieces of information: // -// * x-amz-ErrorType HTTP header – contains a more specific error type -// in addition to what the HTTP status code provides. +// - x-amz-ErrorType HTTP header – contains a more specific error type +// in addition to what the HTTP status code provides. // -// * x-amz-RequestId HTTP header – if you want to report an issue to AWS, -// the support team can better diagnose the problem if given the Request -// Id. +// - x-amz-RequestId HTTP header – if you want to report an issue to AWS, +// the support team can better diagnose the problem if given the Request +// Id. // // Both the HTTP status code and the ErrorType header can be utilized to make // programmatic decisions about whether errors are retry-able and under what @@ -582,45 +581,46 @@ func (c *KinesisVideoArchivedMedia) GetHLSStreamingSessionURLRequest(input *GetH // API operation GetHLSStreamingSessionURL for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// GetMedia throws this error when Kinesis Video Streams can't find the stream -// that you specified. -// -// GetHLSStreamingSessionURL and GetDASHStreamingSessionURL throw this error -// if a session with a PlaybackMode of ON_DEMAND or LIVE_REPLAYis requested -// for a stream that has no fragments within the requested time range, or if -// a session with a PlaybackMode of LIVE is requested for a stream that has -// no fragments within the last 30 seconds. -// -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. -// -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// a limit. Try making the call later. For information about limits, see Kinesis -// Video Streams Limits (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html). -// -// * NotAuthorizedException -// Status Code: 403, The caller is not authorized to perform an operation on -// the given stream, or the token has expired. -// -// * UnsupportedStreamMediaTypeException -// The type of the media (for example, h.264 or h.265 video or ACC or G.711 -// audio) could not be determined from the codec IDs of the tracks in the first -// fragment for a playback session. The codec ID for track 1 should be V_MPEG/ISO/AVC -// and, optionally, the codec ID for track 2 should be A_AAC. -// -// * NoDataRetentionException -// A streaming session was requested for a stream that does not retain data -// (that is, has a DataRetentionInHours of 0). -// -// * MissingCodecPrivateDataException -// No codec private data was found in at least one of tracks of the video stream. -// -// * InvalidCodecPrivateDataException -// The codec private data in at least one of the tracks of the video stream -// is not valid for this operation. +// +// - ResourceNotFoundException +// GetMedia throws this error when Kinesis Video Streams can't find the stream +// that you specified. +// +// GetHLSStreamingSessionURL and GetDASHStreamingSessionURL throw this error +// if a session with a PlaybackMode of ON_DEMAND or LIVE_REPLAYis requested +// for a stream that has no fragments within the requested time range, or if +// a session with a PlaybackMode of LIVE is requested for a stream that has +// no fragments within the last 30 seconds. +// +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. +// +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// a limit. Try making the call later. For information about limits, see Kinesis +// Video Streams Limits (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html). +// +// - NotAuthorizedException +// Status Code: 403, The caller is not authorized to perform an operation on +// the given stream, or the token has expired. +// +// - UnsupportedStreamMediaTypeException +// The type of the media (for example, h.264 or h.265 video or ACC or G.711 +// audio) could not be determined from the codec IDs of the tracks in the first +// fragment for a playback session. The codec ID for track 1 should be V_MPEG/ISO/AVC +// and, optionally, the codec ID for track 2 should be A_AAC. +// +// - NoDataRetentionException +// A streaming session was requested for a stream that does not retain data +// (that is, has a DataRetentionInHours of 0). +// +// - MissingCodecPrivateDataException +// No codec private data was found in at least one of tracks of the video stream. +// +// - InvalidCodecPrivateDataException +// The codec private data in at least one of the tracks of the video stream +// is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/GetHLSStreamingSessionURL func (c *KinesisVideoArchivedMedia) GetHLSStreamingSessionURL(input *GetHLSStreamingSessionURLInput) (*GetHLSStreamingSessionURLOutput, error) { @@ -660,14 +660,13 @@ const opGetImages = "GetImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetImagesRequest method. +// req, resp := client.GetImagesRequest(params) // -// // Example sending a request using the GetImagesRequest method. -// req, resp := client.GetImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/GetImages func (c *KinesisVideoArchivedMedia) GetImagesRequest(input *GetImagesInput) (req *request.Request, output *GetImagesOutput) { @@ -705,28 +704,29 @@ func (c *KinesisVideoArchivedMedia) GetImagesRequest(input *GetImagesInput) (req // API operation GetImages for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// GetMedia throws this error when Kinesis Video Streams can't find the stream -// that you specified. // -// GetHLSStreamingSessionURL and GetDASHStreamingSessionURL throw this error -// if a session with a PlaybackMode of ON_DEMAND or LIVE_REPLAYis requested -// for a stream that has no fragments within the requested time range, or if -// a session with a PlaybackMode of LIVE is requested for a stream that has -// no fragments within the last 30 seconds. +// - ResourceNotFoundException +// GetMedia throws this error when Kinesis Video Streams can't find the stream +// that you specified. +// +// GetHLSStreamingSessionURL and GetDASHStreamingSessionURL throw this error +// if a session with a PlaybackMode of ON_DEMAND or LIVE_REPLAYis requested +// for a stream that has no fragments within the requested time range, or if +// a session with a PlaybackMode of LIVE is requested for a stream that has +// no fragments within the last 30 seconds. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// a limit. Try making the call later. For information about limits, see Kinesis -// Video Streams Limits (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html). +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// a limit. Try making the call later. For information about limits, see Kinesis +// Video Streams Limits (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html). // -// * NotAuthorizedException -// Status Code: 403, The caller is not authorized to perform an operation on -// the given stream, or the token has expired. +// - NotAuthorizedException +// Status Code: 403, The caller is not authorized to perform an operation on +// the given stream, or the token has expired. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/GetImages func (c *KinesisVideoArchivedMedia) GetImages(input *GetImagesInput) (*GetImagesOutput, error) { @@ -758,15 +758,14 @@ func (c *KinesisVideoArchivedMedia) GetImagesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetImages operation. -// pageNum := 0 -// err := client.GetImagesPages(params, -// func(page *kinesisvideoarchivedmedia.GetImagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetImages operation. +// pageNum := 0 +// err := client.GetImagesPages(params, +// func(page *kinesisvideoarchivedmedia.GetImagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *KinesisVideoArchivedMedia) GetImagesPages(input *GetImagesInput, fn func(*GetImagesOutput, bool) bool) error { return c.GetImagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -818,14 +817,13 @@ const opGetMediaForFragmentList = "GetMediaForFragmentList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMediaForFragmentListRequest method. +// req, resp := client.GetMediaForFragmentListRequest(params) // -// // Example sending a request using the GetMediaForFragmentListRequest method. -// req, resp := client.GetMediaForFragmentListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/GetMediaForFragmentList func (c *KinesisVideoArchivedMedia) GetMediaForFragmentListRequest(input *GetMediaForFragmentListInput) (req *request.Request, output *GetMediaForFragmentListOutput) { @@ -859,12 +857,12 @@ func (c *KinesisVideoArchivedMedia) GetMediaForFragmentListRequest(input *GetMed // API, in addition to the HTTP status code and the response body, it includes // the following pieces of information: // -// * x-amz-ErrorType HTTP header – contains a more specific error type -// in addition to what the HTTP status code provides. +// - x-amz-ErrorType HTTP header – contains a more specific error type +// in addition to what the HTTP status code provides. // -// * x-amz-RequestId HTTP header – if you want to report an issue to AWS, -// the support team can better diagnose the problem if given the Request -// Id. +// - x-amz-RequestId HTTP header – if you want to report an issue to AWS, +// the support team can better diagnose the problem if given the Request +// Id. // // Both the HTTP status code and the ErrorType header can be utilized to make // programmatic decisions about whether errors are retry-able and under what @@ -882,28 +880,29 @@ func (c *KinesisVideoArchivedMedia) GetMediaForFragmentListRequest(input *GetMed // API operation GetMediaForFragmentList for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// GetMedia throws this error when Kinesis Video Streams can't find the stream -// that you specified. // -// GetHLSStreamingSessionURL and GetDASHStreamingSessionURL throw this error -// if a session with a PlaybackMode of ON_DEMAND or LIVE_REPLAYis requested -// for a stream that has no fragments within the requested time range, or if -// a session with a PlaybackMode of LIVE is requested for a stream that has -// no fragments within the last 30 seconds. +// - ResourceNotFoundException +// GetMedia throws this error when Kinesis Video Streams can't find the stream +// that you specified. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. +// GetHLSStreamingSessionURL and GetDASHStreamingSessionURL throw this error +// if a session with a PlaybackMode of ON_DEMAND or LIVE_REPLAYis requested +// for a stream that has no fragments within the requested time range, or if +// a session with a PlaybackMode of LIVE is requested for a stream that has +// no fragments within the last 30 seconds. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// a limit. Try making the call later. For information about limits, see Kinesis -// Video Streams Limits (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html). +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. // -// * NotAuthorizedException -// Status Code: 403, The caller is not authorized to perform an operation on -// the given stream, or the token has expired. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// a limit. Try making the call later. For information about limits, see Kinesis +// Video Streams Limits (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html). +// +// - NotAuthorizedException +// Status Code: 403, The caller is not authorized to perform an operation on +// the given stream, or the token has expired. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/GetMediaForFragmentList func (c *KinesisVideoArchivedMedia) GetMediaForFragmentList(input *GetMediaForFragmentListInput) (*GetMediaForFragmentListOutput, error) { @@ -943,14 +942,13 @@ const opListFragments = "ListFragments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFragmentsRequest method. +// req, resp := client.ListFragmentsRequest(params) // -// // Example sending a request using the ListFragmentsRequest method. -// req, resp := client.ListFragmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/ListFragments func (c *KinesisVideoArchivedMedia) ListFragmentsRequest(input *ListFragmentsInput) (req *request.Request, output *ListFragmentsOutput) { @@ -993,12 +991,12 @@ func (c *KinesisVideoArchivedMedia) ListFragmentsRequest(input *ListFragmentsInp // API, in addition to the HTTP status code and the response body, it includes // the following pieces of information: // -// * x-amz-ErrorType HTTP header – contains a more specific error type -// in addition to what the HTTP status code provides. +// - x-amz-ErrorType HTTP header – contains a more specific error type +// in addition to what the HTTP status code provides. // -// * x-amz-RequestId HTTP header – if you want to report an issue to AWS, -// the support team can better diagnose the problem if given the Request -// Id. +// - x-amz-RequestId HTTP header – if you want to report an issue to AWS, +// the support team can better diagnose the problem if given the Request +// Id. // // Both the HTTP status code and the ErrorType header can be utilized to make // programmatic decisions about whether errors are retry-able and under what @@ -1016,28 +1014,29 @@ func (c *KinesisVideoArchivedMedia) ListFragmentsRequest(input *ListFragmentsInp // API operation ListFragments for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// GetMedia throws this error when Kinesis Video Streams can't find the stream -// that you specified. // -// GetHLSStreamingSessionURL and GetDASHStreamingSessionURL throw this error -// if a session with a PlaybackMode of ON_DEMAND or LIVE_REPLAYis requested -// for a stream that has no fragments within the requested time range, or if -// a session with a PlaybackMode of LIVE is requested for a stream that has -// no fragments within the last 30 seconds. +// - ResourceNotFoundException +// GetMedia throws this error when Kinesis Video Streams can't find the stream +// that you specified. // -// * InvalidArgumentException -// A specified parameter exceeds its restrictions, is not supported, or can't -// be used. +// GetHLSStreamingSessionURL and GetDASHStreamingSessionURL throw this error +// if a session with a PlaybackMode of ON_DEMAND or LIVE_REPLAYis requested +// for a stream that has no fragments within the requested time range, or if +// a session with a PlaybackMode of LIVE is requested for a stream that has +// no fragments within the last 30 seconds. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// a limit. Try making the call later. For information about limits, see Kinesis -// Video Streams Limits (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html). +// - InvalidArgumentException +// A specified parameter exceeds its restrictions, is not supported, or can't +// be used. // -// * NotAuthorizedException -// Status Code: 403, The caller is not authorized to perform an operation on -// the given stream, or the token has expired. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// a limit. Try making the call later. For information about limits, see Kinesis +// Video Streams Limits (http://docs.aws.amazon.com/kinesisvideostreams/latest/dg/limits.html). +// +// - NotAuthorizedException +// Status Code: 403, The caller is not authorized to perform an operation on +// the given stream, or the token has expired. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-archived-media-2017-09-30/ListFragments func (c *KinesisVideoArchivedMedia) ListFragments(input *ListFragmentsInput) (*ListFragmentsOutput, error) { @@ -1069,15 +1068,14 @@ func (c *KinesisVideoArchivedMedia) ListFragmentsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFragments operation. -// pageNum := 0 -// err := client.ListFragmentsPages(params, -// func(page *kinesisvideoarchivedmedia.ListFragmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFragments operation. +// pageNum := 0 +// err := client.ListFragmentsPages(params, +// func(page *kinesisvideoarchivedmedia.ListFragmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *KinesisVideoArchivedMedia) ListFragmentsPages(input *ListFragmentsInput, fn func(*ListFragmentsOutput, bool) bool) error { return c.ListFragmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1539,13 +1537,13 @@ func (s *Fragment) SetServerTimestamp(v time.Time) *Fragment { // start time and less than or equal to the end time are returned. For example, // if a stream contains fragments with the following start timestamps: // -// * 00:00:00 +// - 00:00:00 // -// * 00:00:02 +// - 00:00:02 // -// * 00:00:04 +// - 00:00:04 // -// * 00:00:06 +// - 00:00:06 // // A fragment selector range with a start time of 00:00:01 and end time of 00:00:04 // would return the fragments with start times of 00:00:02 and 00:00:04. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/doc.go index 578bd87d10f0..87e43c82c3b4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/doc.go @@ -8,7 +8,7 @@ // See kinesisvideoarchivedmedia package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/kinesisvideoarchivedmedia/ // -// Using the Client +// # Using the Client // // To contact Amazon Kinesis Video Streams Archived Media with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/kinesisvideoarchivedmediaiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/kinesisvideoarchivedmediaiface/interface.go index bad86f411d61..735f575a7dac 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/kinesisvideoarchivedmediaiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/kinesisvideoarchivedmediaiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Kinesis Video Streams Archived Media. -// func myFunc(svc kinesisvideoarchivedmediaiface.KinesisVideoArchivedMediaAPI) bool { -// // Make svc.GetClip request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Kinesis Video Streams Archived Media. +// func myFunc(svc kinesisvideoarchivedmediaiface.KinesisVideoArchivedMediaAPI) bool { +// // Make svc.GetClip request +// } // -// func main() { -// sess := session.New() -// svc := kinesisvideoarchivedmedia.New(sess) +// func main() { +// sess := session.New() +// svc := kinesisvideoarchivedmedia.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockKinesisVideoArchivedMediaClient struct { -// kinesisvideoarchivedmediaiface.KinesisVideoArchivedMediaAPI -// } -// func (m *mockKinesisVideoArchivedMediaClient) GetClip(input *kinesisvideoarchivedmedia.GetClipInput) (*kinesisvideoarchivedmedia.GetClipOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockKinesisVideoArchivedMediaClient struct { +// kinesisvideoarchivedmediaiface.KinesisVideoArchivedMediaAPI +// } +// func (m *mockKinesisVideoArchivedMediaClient) GetClip(input *kinesisvideoarchivedmedia.GetClipInput) (*kinesisvideoarchivedmedia.GetClipOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockKinesisVideoArchivedMediaClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockKinesisVideoArchivedMediaClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/service.go index 02f5b340148f..6e0049749428 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideoarchivedmedia/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a KinesisVideoArchivedMedia client from just a session. -// svc := kinesisvideoarchivedmedia.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a KinesisVideoArchivedMedia client with additional configuration -// svc := kinesisvideoarchivedmedia.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a KinesisVideoArchivedMedia client from just a session. +// svc := kinesisvideoarchivedmedia.New(mySession) +// +// // Create a KinesisVideoArchivedMedia client with additional configuration +// svc := kinesisvideoarchivedmedia.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *KinesisVideoArchivedMedia { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/api.go index 89b8d498ee09..1a560f7fb4c0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/api.go @@ -29,14 +29,13 @@ const opGetMedia = "GetMedia" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMediaRequest method. +// req, resp := client.GetMediaRequest(params) // -// // Example sending a request using the GetMediaRequest method. -// req, resp := client.GetMediaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-media-2017-09-30/GetMedia func (c *KinesisVideoMedia) GetMediaRequest(input *GetMediaInput) (req *request.Request, output *GetMediaOutput) { @@ -74,21 +73,21 @@ func (c *KinesisVideoMedia) GetMediaRequest(input *GetMediaInput) (req *request. // // The following limits apply when using the GetMedia API: // -// * A client can call GetMedia up to five times per second per stream. +// - A client can call GetMedia up to five times per second per stream. // -// * Kinesis Video Streams sends media data at a rate of up to 25 megabytes -// per second (or 200 megabits per second) during a GetMedia session. +// - Kinesis Video Streams sends media data at a rate of up to 25 megabytes +// per second (or 200 megabits per second) during a GetMedia session. // // If an error is thrown after invoking a Kinesis Video Streams media API, in // addition to the HTTP status code and the response body, it includes the following // pieces of information: // -// * x-amz-ErrorType HTTP header – contains a more specific error type -// in addition to what the HTTP status code provides. +// - x-amz-ErrorType HTTP header – contains a more specific error type +// in addition to what the HTTP status code provides. // -// * x-amz-RequestId HTTP header – if you want to report an issue to AWS, -// the support team can better diagnose the problem if given the Request -// Id. +// - x-amz-RequestId HTTP header – if you want to report an issue to AWS, +// the support team can better diagnose the problem if given the Request +// Id. // // Both the HTTP status code and the ErrorType header can be utilized to make // programmatic decisions about whether errors are retry-able and under what @@ -106,29 +105,30 @@ func (c *KinesisVideoMedia) GetMediaRequest(input *GetMediaInput) (req *request. // API operation GetMedia for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Status Code: 404, The stream with the given name does not exist. // -// * NotAuthorizedException -// Status Code: 403, The caller is not authorized to perform an operation on -// the given stream, or the token has expired. +// - ResourceNotFoundException +// Status Code: 404, The stream with the given name does not exist. +// +// - NotAuthorizedException +// Status Code: 403, The caller is not authorized to perform an operation on +// the given stream, or the token has expired. // -// * InvalidEndpointException -// Status Code: 400, Caller used wrong endpoint to write data to a stream. On -// receiving such an exception, the user must call GetDataEndpoint with AccessMode -// set to "READ" and use the endpoint Kinesis Video returns in the next GetMedia -// call. +// - InvalidEndpointException +// Status Code: 400, Caller used wrong endpoint to write data to a stream. On +// receiving such an exception, the user must call GetDataEndpoint with AccessMode +// set to "READ" and use the endpoint Kinesis Video returns in the next GetMedia +// call. // -// * ClientLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client calls. Try making the call later. +// - ClientLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client calls. Try making the call later. // -// * ConnectionLimitExceededException -// Kinesis Video Streams has throttled the request because you have exceeded -// the limit of allowed client connections. +// - ConnectionLimitExceededException +// Kinesis Video Streams has throttled the request because you have exceeded +// the limit of allowed client connections. // -// * InvalidArgumentException -// The value for this input parameter is invalid. +// - InvalidArgumentException +// The value for this input parameter is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-media-2017-09-30/GetMedia func (c *KinesisVideoMedia) GetMedia(input *GetMediaInput) (*GetMediaOutput, error) { @@ -709,15 +709,15 @@ func (s *ResourceNotFoundException) RequestID() string { // API to start returning media data. You have the following options to identify // the starting chunk: // -// * Choose the latest (or oldest) chunk. +// - Choose the latest (or oldest) chunk. // -// * Identify a specific chunk. You can identify a specific chunk either -// by providing a fragment number or timestamp (server or producer). +// - Identify a specific chunk. You can identify a specific chunk either +// by providing a fragment number or timestamp (server or producer). // -// * Each chunk's metadata includes a continuation token as a Matroska (MKV) -// tag (AWS_KINESISVIDEO_CONTINUATION_TOKEN). If your previous GetMedia request -// terminated, you can use this tag value in your next GetMedia request. -// The API then starts returning chunks starting where the last API ended. +// - Each chunk's metadata includes a continuation token as a Matroska (MKV) +// tag (AWS_KINESISVIDEO_CONTINUATION_TOKEN). If your previous GetMedia request +// terminated, you can use this tag value in your next GetMedia request. +// The API then starts returning chunks starting where the last API ended. type StartSelector struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/doc.go index f4f90c88fa59..d57e8ae591b2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/doc.go @@ -8,7 +8,7 @@ // See kinesisvideomedia package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/kinesisvideomedia/ // -// Using the Client +// # Using the Client // // To contact Amazon Kinesis Video Streams Media with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/kinesisvideomediaiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/kinesisvideomediaiface/interface.go index f1a48ac6b98b..b04352ea2798 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/kinesisvideomediaiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/kinesisvideomediaiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Kinesis Video Streams Media. -// func myFunc(svc kinesisvideomediaiface.KinesisVideoMediaAPI) bool { -// // Make svc.GetMedia request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Kinesis Video Streams Media. +// func myFunc(svc kinesisvideomediaiface.KinesisVideoMediaAPI) bool { +// // Make svc.GetMedia request +// } // -// func main() { -// sess := session.New() -// svc := kinesisvideomedia.New(sess) +// func main() { +// sess := session.New() +// svc := kinesisvideomedia.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockKinesisVideoMediaClient struct { -// kinesisvideomediaiface.KinesisVideoMediaAPI -// } -// func (m *mockKinesisVideoMediaClient) GetMedia(input *kinesisvideomedia.GetMediaInput) (*kinesisvideomedia.GetMediaOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockKinesisVideoMediaClient struct { +// kinesisvideomediaiface.KinesisVideoMediaAPI +// } +// func (m *mockKinesisVideoMediaClient) GetMedia(input *kinesisvideomedia.GetMediaInput) (*kinesisvideomedia.GetMediaOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockKinesisVideoMediaClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockKinesisVideoMediaClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/service.go index 2b813f2518d4..0820d600cd5b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideomedia/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a KinesisVideoMedia client from just a session. -// svc := kinesisvideomedia.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a KinesisVideoMedia client with additional configuration -// svc := kinesisvideomedia.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a KinesisVideoMedia client from just a session. +// svc := kinesisvideomedia.New(mySession) +// +// // Create a KinesisVideoMedia client with additional configuration +// svc := kinesisvideomedia.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *KinesisVideoMedia { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/api.go index 4b9e1f9c1f12..fa191d8174aa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/api.go @@ -27,14 +27,13 @@ const opGetIceServerConfig = "GetIceServerConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIceServerConfigRequest method. +// req, resp := client.GetIceServerConfigRequest(params) // -// // Example sending a request using the GetIceServerConfigRequest method. -// req, resp := client.GetIceServerConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-signaling-2019-12-04/GetIceServerConfig func (c *KinesisVideoSignalingChannels) GetIceServerConfigRequest(input *GetIceServerConfigInput) (req *request.Request, output *GetIceServerConfigOutput) { @@ -80,26 +79,27 @@ func (c *KinesisVideoSignalingChannels) GetIceServerConfigRequest(input *GetIceS // API operation GetIceServerConfig for usage and error information. // // Returned Error Types: -// * InvalidClientException -// The specified client is invalid. // -// * SessionExpiredException -// If the client session is expired. Once the client is connected, the session -// is valid for 45 minutes. Client should reconnect to the channel to continue -// sending/receiving messages. +// - InvalidClientException +// The specified client is invalid. +// +// - SessionExpiredException +// If the client session is expired. Once the client is connected, the session +// is valid for 45 minutes. Client should reconnect to the channel to continue +// sending/receiving messages. // -// * ClientLimitExceededException -// Your request was throttled because you have exceeded the limit of allowed -// client calls. Try making the call later. +// - ClientLimitExceededException +// Your request was throttled because you have exceeded the limit of allowed +// client calls. Try making the call later. // -// * ResourceNotFoundException -// The specified resource is not found. +// - ResourceNotFoundException +// The specified resource is not found. // -// * InvalidArgumentException -// The value for this input parameter is invalid. +// - InvalidArgumentException +// The value for this input parameter is invalid. // -// * NotAuthorizedException -// The caller is not authorized to perform this operation. +// - NotAuthorizedException +// The caller is not authorized to perform this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-signaling-2019-12-04/GetIceServerConfig func (c *KinesisVideoSignalingChannels) GetIceServerConfig(input *GetIceServerConfigInput) (*GetIceServerConfigOutput, error) { @@ -139,14 +139,13 @@ const opSendAlexaOfferToMaster = "SendAlexaOfferToMaster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendAlexaOfferToMasterRequest method. +// req, resp := client.SendAlexaOfferToMasterRequest(params) // -// // Example sending a request using the SendAlexaOfferToMasterRequest method. -// req, resp := client.SendAlexaOfferToMasterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-signaling-2019-12-04/SendAlexaOfferToMaster func (c *KinesisVideoSignalingChannels) SendAlexaOfferToMasterRequest(input *SendAlexaOfferToMasterInput) (req *request.Request, output *SendAlexaOfferToMasterOutput) { @@ -182,18 +181,19 @@ func (c *KinesisVideoSignalingChannels) SendAlexaOfferToMasterRequest(input *Sen // API operation SendAlexaOfferToMaster for usage and error information. // // Returned Error Types: -// * ClientLimitExceededException -// Your request was throttled because you have exceeded the limit of allowed -// client calls. Try making the call later. // -// * ResourceNotFoundException -// The specified resource is not found. +// - ClientLimitExceededException +// Your request was throttled because you have exceeded the limit of allowed +// client calls. Try making the call later. +// +// - ResourceNotFoundException +// The specified resource is not found. // -// * InvalidArgumentException -// The value for this input parameter is invalid. +// - InvalidArgumentException +// The value for this input parameter is invalid. // -// * NotAuthorizedException -// The caller is not authorized to perform this operation. +// - NotAuthorizedException +// The caller is not authorized to perform this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kinesis-video-signaling-2019-12-04/SendAlexaOfferToMaster func (c *KinesisVideoSignalingChannels) SendAlexaOfferToMaster(input *SendAlexaOfferToMasterInput) (*SendAlexaOfferToMasterOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/doc.go index 9c1be18ee6c5..43c292f5b4d2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/doc.go @@ -12,7 +12,7 @@ // See kinesisvideosignalingchannels package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/kinesisvideosignalingchannels/ // -// Using the Client +// # Using the Client // // To contact Amazon Kinesis Video Signaling Channels with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/kinesisvideosignalingchannelsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/kinesisvideosignalingchannelsiface/interface.go index a7c651e99797..3c48571831fc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/kinesisvideosignalingchannelsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/kinesisvideosignalingchannelsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Kinesis Video Signaling Channels. -// func myFunc(svc kinesisvideosignalingchannelsiface.KinesisVideoSignalingChannelsAPI) bool { -// // Make svc.GetIceServerConfig request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Kinesis Video Signaling Channels. +// func myFunc(svc kinesisvideosignalingchannelsiface.KinesisVideoSignalingChannelsAPI) bool { +// // Make svc.GetIceServerConfig request +// } // -// func main() { -// sess := session.New() -// svc := kinesisvideosignalingchannels.New(sess) +// func main() { +// sess := session.New() +// svc := kinesisvideosignalingchannels.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockKinesisVideoSignalingChannelsClient struct { -// kinesisvideosignalingchannelsiface.KinesisVideoSignalingChannelsAPI -// } -// func (m *mockKinesisVideoSignalingChannelsClient) GetIceServerConfig(input *kinesisvideosignalingchannels.GetIceServerConfigInput) (*kinesisvideosignalingchannels.GetIceServerConfigOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockKinesisVideoSignalingChannelsClient struct { +// kinesisvideosignalingchannelsiface.KinesisVideoSignalingChannelsAPI +// } +// func (m *mockKinesisVideoSignalingChannelsClient) GetIceServerConfig(input *kinesisvideosignalingchannels.GetIceServerConfigInput) (*kinesisvideosignalingchannels.GetIceServerConfigOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockKinesisVideoSignalingChannelsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockKinesisVideoSignalingChannelsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/service.go index 0820db0165aa..e9de5829e34c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kinesisvideosignalingchannels/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a KinesisVideoSignalingChannels client from just a session. -// svc := kinesisvideosignalingchannels.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a KinesisVideoSignalingChannels client with additional configuration -// svc := kinesisvideosignalingchannels.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a KinesisVideoSignalingChannels client from just a session. +// svc := kinesisvideosignalingchannels.New(mySession) +// +// // Create a KinesisVideoSignalingChannels client with additional configuration +// svc := kinesisvideosignalingchannels.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *KinesisVideoSignalingChannels { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/api.go index 1f819cdda006..5bb85ac17260 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/api.go @@ -29,14 +29,13 @@ const opCancelKeyDeletion = "CancelKeyDeletion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelKeyDeletionRequest method. +// req, resp := client.CancelKeyDeletionRequest(params) // -// // Example sending a request using the CancelKeyDeletionRequest method. -// req, resp := client.CancelKeyDeletionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletion func (c *KMS) CancelKeyDeletionRequest(input *CancelKeyDeletionInput) (req *request.Request, output *CancelKeyDeletionOutput) { @@ -84,29 +83,30 @@ func (c *KMS) CancelKeyDeletionRequest(input *CancelKeyDeletionInput) (req *requ // API operation CancelKeyDeletion for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. +// +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CancelKeyDeletion func (c *KMS) CancelKeyDeletion(input *CancelKeyDeletionInput) (*CancelKeyDeletionOutput, error) { @@ -146,14 +146,13 @@ const opConnectCustomKeyStore = "ConnectCustomKeyStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConnectCustomKeyStoreRequest method. +// req, resp := client.ConnectCustomKeyStoreRequest(params) // -// // Example sending a request using the ConnectCustomKeyStoreRequest method. -// req, resp := client.ConnectCustomKeyStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ConnectCustomKeyStore func (c *KMS) ConnectCustomKeyStoreRequest(input *ConnectCustomKeyStoreInput) (req *request.Request, output *ConnectCustomKeyStoreOutput) { @@ -223,15 +222,15 @@ func (c *KMS) ConnectCustomKeyStoreRequest(input *ConnectCustomKeyStoreInput) (r // // Related operations // -// * CreateCustomKeyStore +// - CreateCustomKeyStore // -// * DeleteCustomKeyStore +// - DeleteCustomKeyStore // -// * DescribeCustomKeyStores +// - DescribeCustomKeyStores // -// * DisconnectCustomKeyStore +// - DisconnectCustomKeyStore // -// * UpdateCustomKeyStore +// - UpdateCustomKeyStore // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -241,70 +240,71 @@ func (c *KMS) ConnectCustomKeyStoreRequest(input *ConnectCustomKeyStoreInput) (r // API operation ConnectCustomKeyStore for usage and error information. // // Returned Error Types: -// * CloudHsmClusterNotActiveException -// The request was rejected because the CloudHSM cluster that is associated -// with the custom key store is not active. Initialize and activate the cluster -// and try the command again. For detailed instructions, see Getting Started -// (https://docs.aws.amazon.com/cloudhsm/latest/userguide/getting-started.html) -// in the CloudHSM User Guide. -// -// * CustomKeyStoreInvalidStateException -// The request was rejected because of the ConnectionState of the custom key -// store. To get the ConnectionState of a custom key store, use the DescribeCustomKeyStores -// operation. -// -// This exception is thrown under the following conditions: -// -// * You requested the CreateKey or GenerateRandom operation in a custom -// key store that is not connected. These operations are valid only when -// the custom key store ConnectionState is CONNECTED. -// -// * You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation -// on a custom key store that is not disconnected. This operation is valid -// only when the custom key store ConnectionState is DISCONNECTED. -// -// * You requested the ConnectCustomKeyStore operation on a custom key store -// with a ConnectionState of DISCONNECTING or FAILED. This operation is valid -// for all other ConnectionState values. -// -// * CustomKeyStoreNotFoundException -// The request was rejected because KMS cannot find a custom key store with -// the specified key store name or ID. -// -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. -// -// * CloudHsmClusterInvalidConfigurationException -// The request was rejected because the associated CloudHSM cluster did not -// meet the configuration requirements for a custom key store. -// -// * The cluster must be configured with private subnets in at least two -// different Availability Zones in the Region. -// -// * The security group for the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) -// (cloudhsm-cluster--sg) must include inbound rules and outbound -// rules that allow TCP traffic on ports 2223-2225. The Source in the inbound -// rules and the Destination in the outbound rules must match the security -// group ID. These rules are set by default when you create the cluster. -// Do not delete or change them. To get information about a particular security -// group, use the DescribeSecurityGroups (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html) -// operation. -// -// * The cluster must contain at least as many HSMs as the operation requires. -// To add HSMs, use the CloudHSM CreateHsm (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_CreateHsm.html) -// operation. For the CreateCustomKeyStore, UpdateCustomKeyStore, and CreateKey -// operations, the CloudHSM cluster must have at least two active HSMs, each -// in a different Availability Zone. For the ConnectCustomKeyStore operation, -// the CloudHSM must contain at least one active HSM. -// -// For information about the requirements for an CloudHSM cluster that is associated -// with a custom key store, see Assemble the Prerequisites (https://docs.aws.amazon.com/kms/latest/developerguide/create-keystore.html#before-keystore) -// in the Key Management Service Developer Guide. For information about creating -// a private subnet for an CloudHSM cluster, see Create a Private Subnet (https://docs.aws.amazon.com/cloudhsm/latest/userguide/create-subnets.html) -// in the CloudHSM User Guide. For information about cluster security groups, -// see Configure a Default Security Group (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) -// in the CloudHSM User Guide . +// +// - CloudHsmClusterNotActiveException +// The request was rejected because the CloudHSM cluster that is associated +// with the custom key store is not active. Initialize and activate the cluster +// and try the command again. For detailed instructions, see Getting Started +// (https://docs.aws.amazon.com/cloudhsm/latest/userguide/getting-started.html) +// in the CloudHSM User Guide. +// +// - CustomKeyStoreInvalidStateException +// The request was rejected because of the ConnectionState of the custom key +// store. To get the ConnectionState of a custom key store, use the DescribeCustomKeyStores +// operation. +// +// This exception is thrown under the following conditions: +// +// - You requested the CreateKey or GenerateRandom operation in a custom +// key store that is not connected. These operations are valid only when +// the custom key store ConnectionState is CONNECTED. +// +// - You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation +// on a custom key store that is not disconnected. This operation is valid +// only when the custom key store ConnectionState is DISCONNECTED. +// +// - You requested the ConnectCustomKeyStore operation on a custom key store +// with a ConnectionState of DISCONNECTING or FAILED. This operation is valid +// for all other ConnectionState values. +// +// - CustomKeyStoreNotFoundException +// The request was rejected because KMS cannot find a custom key store with +// the specified key store name or ID. +// +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. +// +// - CloudHsmClusterInvalidConfigurationException +// The request was rejected because the associated CloudHSM cluster did not +// meet the configuration requirements for a custom key store. +// +// - The cluster must be configured with private subnets in at least two +// different Availability Zones in the Region. +// +// - The security group for the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) +// (cloudhsm-cluster--sg) must include inbound rules and outbound +// rules that allow TCP traffic on ports 2223-2225. The Source in the inbound +// rules and the Destination in the outbound rules must match the security +// group ID. These rules are set by default when you create the cluster. +// Do not delete or change them. To get information about a particular security +// group, use the DescribeSecurityGroups (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html) +// operation. +// +// - The cluster must contain at least as many HSMs as the operation requires. +// To add HSMs, use the CloudHSM CreateHsm (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_CreateHsm.html) +// operation. For the CreateCustomKeyStore, UpdateCustomKeyStore, and CreateKey +// operations, the CloudHSM cluster must have at least two active HSMs, each +// in a different Availability Zone. For the ConnectCustomKeyStore operation, +// the CloudHSM must contain at least one active HSM. +// +// For information about the requirements for an CloudHSM cluster that is associated +// with a custom key store, see Assemble the Prerequisites (https://docs.aws.amazon.com/kms/latest/developerguide/create-keystore.html#before-keystore) +// in the Key Management Service Developer Guide. For information about creating +// a private subnet for an CloudHSM cluster, see Create a Private Subnet (https://docs.aws.amazon.com/cloudhsm/latest/userguide/create-subnets.html) +// in the CloudHSM User Guide. For information about cluster security groups, +// see Configure a Default Security Group (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) +// in the CloudHSM User Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ConnectCustomKeyStore func (c *KMS) ConnectCustomKeyStore(input *ConnectCustomKeyStoreInput) (*ConnectCustomKeyStoreOutput, error) { @@ -344,14 +344,13 @@ const opCreateAlias = "CreateAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAliasRequest method. +// req, resp := client.CreateAliasRequest(params) // -// // Example sending a request using the CreateAliasRequest method. -// req, resp := client.CreateAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAlias func (c *KMS) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, output *CreateAliasOutput) { @@ -407,22 +406,22 @@ func (c *KMS) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, // // Required permissions // -// * kms:CreateAlias (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) -// on the alias (IAM policy). +// - kms:CreateAlias (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) +// on the alias (IAM policy). // -// * kms:CreateAlias (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) -// on the KMS key (key policy). +// - kms:CreateAlias (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) +// on the KMS key (key policy). // // For details, see Controlling access to aliases (https://docs.aws.amazon.com/kms/latest/developerguide/kms-alias.html#alias-access) // in the Key Management Service Developer Guide. // // Related operations: // -// * DeleteAlias +// - DeleteAlias // -// * ListAliases +// - ListAliases // -// * UpdateAlias +// - UpdateAlias // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -432,37 +431,38 @@ func (c *KMS) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, // API operation CreateAlias for usage and error information. // // Returned Error Types: -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. // -// * AlreadyExistsException -// The request was rejected because it attempted to create a resource that already -// exists. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. +// +// - AlreadyExistsException +// The request was rejected because it attempted to create a resource that already +// exists. // -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * InvalidAliasNameException -// The request was rejected because the specified alias name is not valid. +// - InvalidAliasNameException +// The request was rejected because the specified alias name is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * LimitExceededException -// The request was rejected because a quota was exceeded. For more information, -// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) -// in the Key Management Service Developer Guide. +// - LimitExceededException +// The request was rejected because a quota was exceeded. For more information, +// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) +// in the Key Management Service Developer Guide. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateAlias func (c *KMS) CreateAlias(input *CreateAliasInput) (*CreateAliasOutput, error) { @@ -502,14 +502,13 @@ const opCreateCustomKeyStore = "CreateCustomKeyStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCustomKeyStoreRequest method. +// req, resp := client.CreateCustomKeyStoreRequest(params) // -// // Example sending a request using the CreateCustomKeyStoreRequest method. -// req, resp := client.CreateCustomKeyStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateCustomKeyStore func (c *KMS) CreateCustomKeyStoreRequest(input *CreateCustomKeyStoreInput) (req *request.Request, output *CreateCustomKeyStoreOutput) { @@ -562,15 +561,15 @@ func (c *KMS) CreateCustomKeyStoreRequest(input *CreateCustomKeyStoreInput) (req // // Related operations: // -// * ConnectCustomKeyStore +// - ConnectCustomKeyStore // -// * DeleteCustomKeyStore +// - DeleteCustomKeyStore // -// * DescribeCustomKeyStores +// - DescribeCustomKeyStores // -// * DisconnectCustomKeyStore +// - DisconnectCustomKeyStore // -// * UpdateCustomKeyStore +// - UpdateCustomKeyStore // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -580,74 +579,75 @@ func (c *KMS) CreateCustomKeyStoreRequest(input *CreateCustomKeyStoreInput) (req // API operation CreateCustomKeyStore for usage and error information. // // Returned Error Types: -// * CloudHsmClusterInUseException -// The request was rejected because the specified CloudHSM cluster is already -// associated with a custom key store or it shares a backup history with a cluster -// that is associated with a custom key store. Each custom key store must be -// associated with a different CloudHSM cluster. -// -// Clusters that share a backup history have the same cluster certificate. To -// view the cluster certificate of a cluster, use the DescribeClusters (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html) -// operation. -// -// * CustomKeyStoreNameInUseException -// The request was rejected because the specified custom key store name is already -// assigned to another custom key store in the account. Try again with a custom -// key store name that is unique in the account. -// -// * CloudHsmClusterNotFoundException -// The request was rejected because KMS cannot find the CloudHSM cluster with -// the specified cluster ID. Retry the request with a different cluster ID. -// -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. -// -// * CloudHsmClusterNotActiveException -// The request was rejected because the CloudHSM cluster that is associated -// with the custom key store is not active. Initialize and activate the cluster -// and try the command again. For detailed instructions, see Getting Started -// (https://docs.aws.amazon.com/cloudhsm/latest/userguide/getting-started.html) -// in the CloudHSM User Guide. -// -// * IncorrectTrustAnchorException -// The request was rejected because the trust anchor certificate in the request -// is not the trust anchor certificate for the specified CloudHSM cluster. -// -// When you initialize the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/initialize-cluster.html#sign-csr), -// you create the trust anchor certificate and save it in the customerCA.crt -// file. -// -// * CloudHsmClusterInvalidConfigurationException -// The request was rejected because the associated CloudHSM cluster did not -// meet the configuration requirements for a custom key store. -// -// * The cluster must be configured with private subnets in at least two -// different Availability Zones in the Region. -// -// * The security group for the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) -// (cloudhsm-cluster--sg) must include inbound rules and outbound -// rules that allow TCP traffic on ports 2223-2225. The Source in the inbound -// rules and the Destination in the outbound rules must match the security -// group ID. These rules are set by default when you create the cluster. -// Do not delete or change them. To get information about a particular security -// group, use the DescribeSecurityGroups (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html) -// operation. -// -// * The cluster must contain at least as many HSMs as the operation requires. -// To add HSMs, use the CloudHSM CreateHsm (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_CreateHsm.html) -// operation. For the CreateCustomKeyStore, UpdateCustomKeyStore, and CreateKey -// operations, the CloudHSM cluster must have at least two active HSMs, each -// in a different Availability Zone. For the ConnectCustomKeyStore operation, -// the CloudHSM must contain at least one active HSM. -// -// For information about the requirements for an CloudHSM cluster that is associated -// with a custom key store, see Assemble the Prerequisites (https://docs.aws.amazon.com/kms/latest/developerguide/create-keystore.html#before-keystore) -// in the Key Management Service Developer Guide. For information about creating -// a private subnet for an CloudHSM cluster, see Create a Private Subnet (https://docs.aws.amazon.com/cloudhsm/latest/userguide/create-subnets.html) -// in the CloudHSM User Guide. For information about cluster security groups, -// see Configure a Default Security Group (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) -// in the CloudHSM User Guide . +// +// - CloudHsmClusterInUseException +// The request was rejected because the specified CloudHSM cluster is already +// associated with a custom key store or it shares a backup history with a cluster +// that is associated with a custom key store. Each custom key store must be +// associated with a different CloudHSM cluster. +// +// Clusters that share a backup history have the same cluster certificate. To +// view the cluster certificate of a cluster, use the DescribeClusters (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html) +// operation. +// +// - CustomKeyStoreNameInUseException +// The request was rejected because the specified custom key store name is already +// assigned to another custom key store in the account. Try again with a custom +// key store name that is unique in the account. +// +// - CloudHsmClusterNotFoundException +// The request was rejected because KMS cannot find the CloudHSM cluster with +// the specified cluster ID. Retry the request with a different cluster ID. +// +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. +// +// - CloudHsmClusterNotActiveException +// The request was rejected because the CloudHSM cluster that is associated +// with the custom key store is not active. Initialize and activate the cluster +// and try the command again. For detailed instructions, see Getting Started +// (https://docs.aws.amazon.com/cloudhsm/latest/userguide/getting-started.html) +// in the CloudHSM User Guide. +// +// - IncorrectTrustAnchorException +// The request was rejected because the trust anchor certificate in the request +// is not the trust anchor certificate for the specified CloudHSM cluster. +// +// When you initialize the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/initialize-cluster.html#sign-csr), +// you create the trust anchor certificate and save it in the customerCA.crt +// file. +// +// - CloudHsmClusterInvalidConfigurationException +// The request was rejected because the associated CloudHSM cluster did not +// meet the configuration requirements for a custom key store. +// +// - The cluster must be configured with private subnets in at least two +// different Availability Zones in the Region. +// +// - The security group for the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) +// (cloudhsm-cluster--sg) must include inbound rules and outbound +// rules that allow TCP traffic on ports 2223-2225. The Source in the inbound +// rules and the Destination in the outbound rules must match the security +// group ID. These rules are set by default when you create the cluster. +// Do not delete or change them. To get information about a particular security +// group, use the DescribeSecurityGroups (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html) +// operation. +// +// - The cluster must contain at least as many HSMs as the operation requires. +// To add HSMs, use the CloudHSM CreateHsm (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_CreateHsm.html) +// operation. For the CreateCustomKeyStore, UpdateCustomKeyStore, and CreateKey +// operations, the CloudHSM cluster must have at least two active HSMs, each +// in a different Availability Zone. For the ConnectCustomKeyStore operation, +// the CloudHSM must contain at least one active HSM. +// +// For information about the requirements for an CloudHSM cluster that is associated +// with a custom key store, see Assemble the Prerequisites (https://docs.aws.amazon.com/kms/latest/developerguide/create-keystore.html#before-keystore) +// in the Key Management Service Developer Guide. For information about creating +// a private subnet for an CloudHSM cluster, see Create a Private Subnet (https://docs.aws.amazon.com/cloudhsm/latest/userguide/create-subnets.html) +// in the CloudHSM User Guide. For information about cluster security groups, +// see Configure a Default Security Group (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) +// in the CloudHSM User Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateCustomKeyStore func (c *KMS) CreateCustomKeyStore(input *CreateCustomKeyStoreInput) (*CreateCustomKeyStoreOutput, error) { @@ -687,14 +687,13 @@ const opCreateGrant = "CreateGrant" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGrantRequest method. +// req, resp := client.CreateGrantRequest(params) // -// // Example sending a request using the CreateGrantRequest method. -// req, resp := client.CreateGrantRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrant func (c *KMS) CreateGrantRequest(input *CreateGrantInput) (req *request.Request, output *CreateGrantOutput) { @@ -732,19 +731,19 @@ func (c *KMS) CreateGrantRequest(input *CreateGrantInput) (req *request.Request, // // The CreateGrant operation returns a GrantToken and a GrantId. // -// * When you create, retire, or revoke a grant, there might be a brief delay, -// usually less than five minutes, until the grant is available throughout -// KMS. This state is known as eventual consistency. Once the grant has achieved -// eventual consistency, the grantee principal can use the permissions in -// the grant without identifying the grant. However, to use the permissions -// in the grant immediately, use the GrantToken that CreateGrant returns. -// For details, see Using a grant token (https://docs.aws.amazon.com/kms/latest/developerguide/grant-manage.html#using-grant-token) -// in the Key Management Service Developer Guide . +// - When you create, retire, or revoke a grant, there might be a brief delay, +// usually less than five minutes, until the grant is available throughout +// KMS. This state is known as eventual consistency. Once the grant has achieved +// eventual consistency, the grantee principal can use the permissions in +// the grant without identifying the grant. However, to use the permissions +// in the grant immediately, use the GrantToken that CreateGrant returns. +// For details, see Using a grant token (https://docs.aws.amazon.com/kms/latest/developerguide/grant-manage.html#using-grant-token) +// in the Key Management Service Developer Guide . // -// * The CreateGrant operation also returns a GrantId. You can use the GrantId -// and a key identifier to identify the grant in the RetireGrant and RevokeGrant -// operations. To find the grant ID, use the ListGrants or ListRetirableGrants -// operations. +// - The CreateGrant operation also returns a GrantId. You can use the GrantId +// and a key identifier to identify the grant in the RetireGrant and RevokeGrant +// operations. To find the grant ID, use the ListGrants or ListRetirableGrants +// operations. // // The KMS key that you use for this operation must be in a compatible key state. // For details, see Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) @@ -759,13 +758,13 @@ func (c *KMS) CreateGrantRequest(input *CreateGrantInput) (req *request.Request, // // Related operations: // -// * ListGrants +// - ListGrants // -// * ListRetirableGrants +// - ListRetirableGrants // -// * RetireGrant +// - RetireGrant // -// * RevokeGrant +// - RevokeGrant // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -775,40 +774,41 @@ func (c *KMS) CreateGrantRequest(input *CreateGrantInput) (req *request.Request, // API operation CreateGrant for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. +// +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidGrantTokenException -// The request was rejected because the specified grant token is not valid. +// - InvalidGrantTokenException +// The request was rejected because the specified grant token is not valid. // -// * LimitExceededException -// The request was rejected because a quota was exceeded. For more information, -// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) -// in the Key Management Service Developer Guide. +// - LimitExceededException +// The request was rejected because a quota was exceeded. For more information, +// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) +// in the Key Management Service Developer Guide. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateGrant func (c *KMS) CreateGrant(input *CreateGrantInput) (*CreateGrantOutput, error) { @@ -848,14 +848,13 @@ const opCreateKey = "CreateKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateKeyRequest method. +// req, resp := client.CreateKeyRequest(params) // -// // Example sending a request using the CreateKeyRequest method. -// req, resp := client.CreateKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKey func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, output *CreateKeyOutput) { @@ -889,7 +888,7 @@ func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, out // // To create different types of KMS keys, use the following guidance: // -// Symmetric encryption KMS key +// # Symmetric encryption KMS key // // To create a symmetric encryption KMS key, you aren't required to specify // any parameters. The default value for KeySpec, SYMMETRIC_DEFAULT, and the @@ -904,7 +903,7 @@ func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, out // used to generate data keys and data keys pairs. For details, see GenerateDataKey // and GenerateDataKeyPair. // -// Asymmetric KMS keys +// # Asymmetric KMS keys // // To create an asymmetric KMS key, use the KeySpec parameter to specify the // type of key material in the KMS key. Then, use the KeyUsage parameter to @@ -920,7 +919,7 @@ func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, out // information about asymmetric KMS keys, see Asymmetric KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html) // in the Key Management Service Developer Guide. // -// HMAC KMS key +// # HMAC KMS key // // To create an HMAC KMS key, set the KeySpec parameter to a key spec value // for HMAC KMS keys. Then set the KeyUsage parameter to GENERATE_VERIFY_MAC. @@ -939,7 +938,7 @@ func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, out // in KMS (https://docs.aws.amazon.com/kms/latest/developerguide/hmac.html) // in the Key Management Service Developer Guide. // -// Multi-Region primary keys +// # Multi-Region primary keys // // Imported key material // @@ -983,7 +982,7 @@ func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, out // keys, see Multi-Region keys in KMS (https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html) // in the Key Management Service Developer Guide. // -// Custom key store +// # Custom key store // // To create a symmetric encryption KMS key in a custom key store (https://docs.aws.amazon.com/kms/latest/developerguide/custom-key-store-overview.html), // use the CustomKeyStoreId parameter to specify the custom key store. You must @@ -1007,11 +1006,11 @@ func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, out // // Related operations: // -// * DescribeKey +// - DescribeKey // -// * ListKeys +// - ListKeys // -// * ScheduleKeyDeletion +// - ScheduleKeyDeletion // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1021,87 +1020,88 @@ func (c *KMS) CreateKeyRequest(input *CreateKeyInput) (req *request.Request, out // API operation CreateKey for usage and error information. // // Returned Error Types: -// * MalformedPolicyDocumentException -// The request was rejected because the specified policy is not syntactically -// or semantically correct. -// -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. -// -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. -// -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. -// -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. -// -// * LimitExceededException -// The request was rejected because a quota was exceeded. For more information, -// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) -// in the Key Management Service Developer Guide. -// -// * TagException -// The request was rejected because one or more tags are not valid. -// -// * CustomKeyStoreNotFoundException -// The request was rejected because KMS cannot find a custom key store with -// the specified key store name or ID. -// -// * CustomKeyStoreInvalidStateException -// The request was rejected because of the ConnectionState of the custom key -// store. To get the ConnectionState of a custom key store, use the DescribeCustomKeyStores -// operation. -// -// This exception is thrown under the following conditions: -// -// * You requested the CreateKey or GenerateRandom operation in a custom -// key store that is not connected. These operations are valid only when -// the custom key store ConnectionState is CONNECTED. -// -// * You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation -// on a custom key store that is not disconnected. This operation is valid -// only when the custom key store ConnectionState is DISCONNECTED. -// -// * You requested the ConnectCustomKeyStore operation on a custom key store -// with a ConnectionState of DISCONNECTING or FAILED. This operation is valid -// for all other ConnectionState values. -// -// * CloudHsmClusterInvalidConfigurationException -// The request was rejected because the associated CloudHSM cluster did not -// meet the configuration requirements for a custom key store. -// -// * The cluster must be configured with private subnets in at least two -// different Availability Zones in the Region. -// -// * The security group for the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) -// (cloudhsm-cluster--sg) must include inbound rules and outbound -// rules that allow TCP traffic on ports 2223-2225. The Source in the inbound -// rules and the Destination in the outbound rules must match the security -// group ID. These rules are set by default when you create the cluster. -// Do not delete or change them. To get information about a particular security -// group, use the DescribeSecurityGroups (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html) -// operation. -// -// * The cluster must contain at least as many HSMs as the operation requires. -// To add HSMs, use the CloudHSM CreateHsm (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_CreateHsm.html) -// operation. For the CreateCustomKeyStore, UpdateCustomKeyStore, and CreateKey -// operations, the CloudHSM cluster must have at least two active HSMs, each -// in a different Availability Zone. For the ConnectCustomKeyStore operation, -// the CloudHSM must contain at least one active HSM. -// -// For information about the requirements for an CloudHSM cluster that is associated -// with a custom key store, see Assemble the Prerequisites (https://docs.aws.amazon.com/kms/latest/developerguide/create-keystore.html#before-keystore) -// in the Key Management Service Developer Guide. For information about creating -// a private subnet for an CloudHSM cluster, see Create a Private Subnet (https://docs.aws.amazon.com/cloudhsm/latest/userguide/create-subnets.html) -// in the CloudHSM User Guide. For information about cluster security groups, -// see Configure a Default Security Group (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) -// in the CloudHSM User Guide . +// +// - MalformedPolicyDocumentException +// The request was rejected because the specified policy is not syntactically +// or semantically correct. +// +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. +// +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. +// +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. +// +// - LimitExceededException +// The request was rejected because a quota was exceeded. For more information, +// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) +// in the Key Management Service Developer Guide. +// +// - TagException +// The request was rejected because one or more tags are not valid. +// +// - CustomKeyStoreNotFoundException +// The request was rejected because KMS cannot find a custom key store with +// the specified key store name or ID. +// +// - CustomKeyStoreInvalidStateException +// The request was rejected because of the ConnectionState of the custom key +// store. To get the ConnectionState of a custom key store, use the DescribeCustomKeyStores +// operation. +// +// This exception is thrown under the following conditions: +// +// - You requested the CreateKey or GenerateRandom operation in a custom +// key store that is not connected. These operations are valid only when +// the custom key store ConnectionState is CONNECTED. +// +// - You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation +// on a custom key store that is not disconnected. This operation is valid +// only when the custom key store ConnectionState is DISCONNECTED. +// +// - You requested the ConnectCustomKeyStore operation on a custom key store +// with a ConnectionState of DISCONNECTING or FAILED. This operation is valid +// for all other ConnectionState values. +// +// - CloudHsmClusterInvalidConfigurationException +// The request was rejected because the associated CloudHSM cluster did not +// meet the configuration requirements for a custom key store. +// +// - The cluster must be configured with private subnets in at least two +// different Availability Zones in the Region. +// +// - The security group for the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) +// (cloudhsm-cluster--sg) must include inbound rules and outbound +// rules that allow TCP traffic on ports 2223-2225. The Source in the inbound +// rules and the Destination in the outbound rules must match the security +// group ID. These rules are set by default when you create the cluster. +// Do not delete or change them. To get information about a particular security +// group, use the DescribeSecurityGroups (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html) +// operation. +// +// - The cluster must contain at least as many HSMs as the operation requires. +// To add HSMs, use the CloudHSM CreateHsm (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_CreateHsm.html) +// operation. For the CreateCustomKeyStore, UpdateCustomKeyStore, and CreateKey +// operations, the CloudHSM cluster must have at least two active HSMs, each +// in a different Availability Zone. For the ConnectCustomKeyStore operation, +// the CloudHSM must contain at least one active HSM. +// +// For information about the requirements for an CloudHSM cluster that is associated +// with a custom key store, see Assemble the Prerequisites (https://docs.aws.amazon.com/kms/latest/developerguide/create-keystore.html#before-keystore) +// in the Key Management Service Developer Guide. For information about creating +// a private subnet for an CloudHSM cluster, see Create a Private Subnet (https://docs.aws.amazon.com/cloudhsm/latest/userguide/create-subnets.html) +// in the CloudHSM User Guide. For information about cluster security groups, +// see Configure a Default Security Group (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) +// in the CloudHSM User Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/CreateKey func (c *KMS) CreateKey(input *CreateKeyInput) (*CreateKeyOutput, error) { @@ -1141,14 +1141,13 @@ const opDecrypt = "Decrypt" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DecryptRequest method. +// req, resp := client.DecryptRequest(params) // -// // Example sending a request using the DecryptRequest method. -// req, resp := client.DecryptRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Decrypt func (c *KMS) DecryptRequest(input *DecryptInput) (req *request.Request, output *DecryptOutput) { @@ -1172,15 +1171,15 @@ func (c *KMS) DecryptRequest(input *DecryptInput) (req *request.Request, output // Decrypts ciphertext that was encrypted by a KMS key using any of the following // operations: // -// * Encrypt +// - Encrypt // -// * GenerateDataKey +// - GenerateDataKey // -// * GenerateDataKeyPair +// - GenerateDataKeyPair // -// * GenerateDataKeyWithoutPlaintext +// - GenerateDataKeyWithoutPlaintext // -// * GenerateDataKeyPairWithoutPlaintext +// - GenerateDataKeyPairWithoutPlaintext // // You can use this operation to decrypt ciphertext that was encrypted under // a symmetric encryption KMS key or an asymmetric encryption KMS key. When @@ -1236,13 +1235,13 @@ func (c *KMS) DecryptRequest(input *DecryptInput) (req *request.Request, output // // Related operations: // -// * Encrypt +// - Encrypt // -// * GenerateDataKey +// - GenerateDataKey // -// * GenerateDataKeyPair +// - GenerateDataKeyPair // -// * ReEncrypt +// - ReEncrypt // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1252,66 +1251,67 @@ func (c *KMS) DecryptRequest(input *DecryptInput) (req *request.Request, output // API operation Decrypt for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * InvalidCiphertextException -// From the Decrypt or ReEncrypt operation, the request was rejected because -// the specified ciphertext, or additional authenticated data incorporated into -// the ciphertext, such as the encryption context, is corrupted, missing, or -// otherwise invalid. +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// From the ImportKeyMaterial operation, the request was rejected because KMS -// could not decrypt the encrypted (wrapped) key material. +// - InvalidCiphertextException +// From the Decrypt or ReEncrypt operation, the request was rejected because +// the specified ciphertext, or additional authenticated data incorporated into +// the ciphertext, such as the encryption context, is corrupted, missing, or +// otherwise invalid. // -// * KeyUnavailableException -// The request was rejected because the specified KMS key was not available. -// You can retry the request. +// From the ImportKeyMaterial operation, the request was rejected because KMS +// could not decrypt the encrypted (wrapped) key material. // -// * IncorrectKeyException -// The request was rejected because the specified KMS key cannot decrypt the -// data. The KeyId in a Decrypt request and the SourceKeyId in a ReEncrypt request -// must identify the same KMS key that was used to encrypt the ciphertext. +// - KeyUnavailableException +// The request was rejected because the specified KMS key was not available. +// You can retry the request. // -// * InvalidKeyUsageException -// The request was rejected for one of the following reasons: +// - IncorrectKeyException +// The request was rejected because the specified KMS key cannot decrypt the +// data. The KeyId in a Decrypt request and the SourceKeyId in a ReEncrypt request +// must identify the same KMS key that was used to encrypt the ciphertext. // -// * The KeyUsage value of the KMS key is incompatible with the API operation. +// - InvalidKeyUsageException +// The request was rejected for one of the following reasons: // -// * The encryption algorithm or signing algorithm specified for the operation -// is incompatible with the type of key material in the KMS key (KeySpec). +// - The KeyUsage value of the KMS key is incompatible with the API operation. // -// For encrypting, decrypting, re-encrypting, and generating data keys, the -// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the -// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication -// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage -// of a KMS key, use the DescribeKey operation. +// - The encryption algorithm or signing algorithm specified for the operation +// is incompatible with the type of key material in the KMS key (KeySpec). // -// To find the encryption or signing algorithms supported for a particular KMS -// key, use the DescribeKey operation. +// For encrypting, decrypting, re-encrypting, and generating data keys, the +// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the +// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication +// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage +// of a KMS key, use the DescribeKey operation. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// To find the encryption or signing algorithms supported for a particular KMS +// key, use the DescribeKey operation. // -// * InvalidGrantTokenException -// The request was rejected because the specified grant token is not valid. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InvalidGrantTokenException +// The request was rejected because the specified grant token is not valid. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. +// +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Decrypt func (c *KMS) Decrypt(input *DecryptInput) (*DecryptOutput, error) { @@ -1351,14 +1351,13 @@ const opDeleteAlias = "DeleteAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAliasRequest method. +// req, resp := client.DeleteAliasRequest(params) // -// // Example sending a request using the DeleteAliasRequest method. -// req, resp := client.DeleteAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAlias func (c *KMS) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Request, output *DeleteAliasOutput) { @@ -1400,22 +1399,22 @@ func (c *KMS) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Request, // // Required permissions // -// * kms:DeleteAlias (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) -// on the alias (IAM policy). +// - kms:DeleteAlias (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) +// on the alias (IAM policy). // -// * kms:DeleteAlias (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) -// on the KMS key (key policy). +// - kms:DeleteAlias (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) +// on the KMS key (key policy). // // For details, see Controlling access to aliases (https://docs.aws.amazon.com/kms/latest/developerguide/kms-alias.html#alias-access) // in the Key Management Service Developer Guide. // // Related operations: // -// * CreateAlias +// - CreateAlias // -// * ListAliases +// - ListAliases // -// * UpdateAlias +// - UpdateAlias // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1425,25 +1424,26 @@ func (c *KMS) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Request, // API operation DeleteAlias for usage and error information. // // Returned Error Types: -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. // -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. +// +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteAlias func (c *KMS) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error) { @@ -1483,14 +1483,13 @@ const opDeleteCustomKeyStore = "DeleteCustomKeyStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomKeyStoreRequest method. +// req, resp := client.DeleteCustomKeyStoreRequest(params) // -// // Example sending a request using the DeleteCustomKeyStoreRequest method. -// req, resp := client.DeleteCustomKeyStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteCustomKeyStore func (c *KMS) DeleteCustomKeyStoreRequest(input *DeleteCustomKeyStoreInput) (req *request.Request, output *DeleteCustomKeyStoreOutput) { @@ -1548,15 +1547,15 @@ func (c *KMS) DeleteCustomKeyStoreRequest(input *DeleteCustomKeyStoreInput) (req // // Related operations: // -// * ConnectCustomKeyStore +// - ConnectCustomKeyStore // -// * CreateCustomKeyStore +// - CreateCustomKeyStore // -// * DescribeCustomKeyStores +// - DescribeCustomKeyStores // -// * DisconnectCustomKeyStore +// - DisconnectCustomKeyStore // -// * UpdateCustomKeyStore +// - UpdateCustomKeyStore // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1566,38 +1565,39 @@ func (c *KMS) DeleteCustomKeyStoreRequest(input *DeleteCustomKeyStoreInput) (req // API operation DeleteCustomKeyStore for usage and error information. // // Returned Error Types: -// * CustomKeyStoreHasCMKsException -// The request was rejected because the custom key store contains KMS keys. -// After verifying that you do not need to use the KMS keys, use the ScheduleKeyDeletion -// operation to delete the KMS keys. After they are deleted, you can delete -// the custom key store. // -// * CustomKeyStoreInvalidStateException -// The request was rejected because of the ConnectionState of the custom key -// store. To get the ConnectionState of a custom key store, use the DescribeCustomKeyStores -// operation. +// - CustomKeyStoreHasCMKsException +// The request was rejected because the custom key store contains KMS keys. +// After verifying that you do not need to use the KMS keys, use the ScheduleKeyDeletion +// operation to delete the KMS keys. After they are deleted, you can delete +// the custom key store. // -// This exception is thrown under the following conditions: +// - CustomKeyStoreInvalidStateException +// The request was rejected because of the ConnectionState of the custom key +// store. To get the ConnectionState of a custom key store, use the DescribeCustomKeyStores +// operation. // -// * You requested the CreateKey or GenerateRandom operation in a custom -// key store that is not connected. These operations are valid only when -// the custom key store ConnectionState is CONNECTED. +// This exception is thrown under the following conditions: // -// * You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation -// on a custom key store that is not disconnected. This operation is valid -// only when the custom key store ConnectionState is DISCONNECTED. +// - You requested the CreateKey or GenerateRandom operation in a custom +// key store that is not connected. These operations are valid only when +// the custom key store ConnectionState is CONNECTED. // -// * You requested the ConnectCustomKeyStore operation on a custom key store -// with a ConnectionState of DISCONNECTING or FAILED. This operation is valid -// for all other ConnectionState values. +// - You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation +// on a custom key store that is not disconnected. This operation is valid +// only when the custom key store ConnectionState is DISCONNECTED. // -// * CustomKeyStoreNotFoundException -// The request was rejected because KMS cannot find a custom key store with -// the specified key store name or ID. +// - You requested the ConnectCustomKeyStore operation on a custom key store +// with a ConnectionState of DISCONNECTING or FAILED. This operation is valid +// for all other ConnectionState values. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - CustomKeyStoreNotFoundException +// The request was rejected because KMS cannot find a custom key store with +// the specified key store name or ID. +// +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteCustomKeyStore func (c *KMS) DeleteCustomKeyStore(input *DeleteCustomKeyStoreInput) (*DeleteCustomKeyStoreOutput, error) { @@ -1637,14 +1637,13 @@ const opDeleteImportedKeyMaterial = "DeleteImportedKeyMaterial" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteImportedKeyMaterialRequest method. +// req, resp := client.DeleteImportedKeyMaterialRequest(params) // -// // Example sending a request using the DeleteImportedKeyMaterialRequest method. -// req, resp := client.DeleteImportedKeyMaterialRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterial func (c *KMS) DeleteImportedKeyMaterialRequest(input *DeleteImportedKeyMaterialInput) (req *request.Request, output *DeleteImportedKeyMaterialOutput) { @@ -1690,9 +1689,9 @@ func (c *KMS) DeleteImportedKeyMaterialRequest(input *DeleteImportedKeyMaterialI // // Related operations: // -// * GetParametersForImport +// - GetParametersForImport // -// * ImportKeyMaterial +// - ImportKeyMaterial // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1702,33 +1701,34 @@ func (c *KMS) DeleteImportedKeyMaterialRequest(input *DeleteImportedKeyMaterialI // API operation DeleteImportedKeyMaterial for usage and error information. // // Returned Error Types: -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DeleteImportedKeyMaterial func (c *KMS) DeleteImportedKeyMaterial(input *DeleteImportedKeyMaterialInput) (*DeleteImportedKeyMaterialOutput, error) { @@ -1768,14 +1768,13 @@ const opDescribeCustomKeyStores = "DescribeCustomKeyStores" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCustomKeyStoresRequest method. +// req, resp := client.DescribeCustomKeyStoresRequest(params) // -// // Example sending a request using the DescribeCustomKeyStoresRequest method. -// req, resp := client.DescribeCustomKeyStoresRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeCustomKeyStores func (c *KMS) DescribeCustomKeyStoresRequest(input *DescribeCustomKeyStoresInput) (req *request.Request, output *DescribeCustomKeyStoresOutput) { @@ -1832,15 +1831,15 @@ func (c *KMS) DescribeCustomKeyStoresRequest(input *DescribeCustomKeyStoresInput // // Related operations: // -// * ConnectCustomKeyStore +// - ConnectCustomKeyStore // -// * CreateCustomKeyStore +// - CreateCustomKeyStore // -// * DeleteCustomKeyStore +// - DeleteCustomKeyStore // -// * DisconnectCustomKeyStore +// - DisconnectCustomKeyStore // -// * UpdateCustomKeyStore +// - UpdateCustomKeyStore // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1850,17 +1849,18 @@ func (c *KMS) DescribeCustomKeyStoresRequest(input *DescribeCustomKeyStoresInput // API operation DescribeCustomKeyStores for usage and error information. // // Returned Error Types: -// * CustomKeyStoreNotFoundException -// The request was rejected because KMS cannot find a custom key store with -// the specified key store name or ID. // -// * InvalidMarkerException -// The request was rejected because the marker that specifies where pagination -// should next begin is not valid. +// - CustomKeyStoreNotFoundException +// The request was rejected because KMS cannot find a custom key store with +// the specified key store name or ID. +// +// - InvalidMarkerException +// The request was rejected because the marker that specifies where pagination +// should next begin is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeCustomKeyStores func (c *KMS) DescribeCustomKeyStores(input *DescribeCustomKeyStoresInput) (*DescribeCustomKeyStoresOutput, error) { @@ -1900,14 +1900,13 @@ const opDescribeKey = "DescribeKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeKeyRequest method. +// req, resp := client.DescribeKeyRequest(params) // -// // Example sending a request using the DescribeKeyRequest method. -// req, resp := client.DescribeKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKey func (c *KMS) DescribeKeyRequest(input *DescribeKeyInput) (req *request.Request, output *DescribeKeyOutput) { @@ -1944,18 +1943,18 @@ func (c *KMS) DescribeKeyRequest(input *DescribeKeyInput) (req *request.Request, // // DescribeKey does not return the following information: // -// * Aliases associated with the KMS key. To get this information, use ListAliases. +// - Aliases associated with the KMS key. To get this information, use ListAliases. // -// * Whether automatic key rotation is enabled on the KMS key. To get this -// information, use GetKeyRotationStatus. Also, some key states prevent a -// KMS key from being automatically rotated. For details, see How Automatic -// Key Rotation Works (https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html#rotate-keys-how-it-works) -// in Key Management Service Developer Guide. +// - Whether automatic key rotation is enabled on the KMS key. To get this +// information, use GetKeyRotationStatus. Also, some key states prevent a +// KMS key from being automatically rotated. For details, see How Automatic +// Key Rotation Works (https://docs.aws.amazon.com/kms/latest/developerguide/rotate-keys.html#rotate-keys-how-it-works) +// in Key Management Service Developer Guide. // -// * Tags on the KMS key. To get this information, use ListResourceTags. +// - Tags on the KMS key. To get this information, use ListResourceTags. // -// * Key policies and grants on the KMS key. To get this information, use -// GetKeyPolicy and ListGrants. +// - Key policies and grants on the KMS key. To get this information, use +// GetKeyPolicy and ListGrants. // // In general, DescribeKey is a non-mutating operation. It returns data about // KMS keys, but doesn't change them. However, Amazon Web Services services @@ -1971,19 +1970,19 @@ func (c *KMS) DescribeKeyRequest(input *DescribeKeyInput) (req *request.Request, // // Related operations: // -// * GetKeyPolicy +// - GetKeyPolicy // -// * GetKeyRotationStatus +// - GetKeyRotationStatus // -// * ListAliases +// - ListAliases // -// * ListGrants +// - ListGrants // -// * ListKeys +// - ListKeys // -// * ListResourceTags +// - ListResourceTags // -// * ListRetirableGrants +// - ListRetirableGrants // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1993,21 +1992,22 @@ func (c *KMS) DescribeKeyRequest(input *DescribeKeyInput) (req *request.Request, // API operation DescribeKey for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. +// +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DescribeKey func (c *KMS) DescribeKey(input *DescribeKeyInput) (*DescribeKeyOutput, error) { @@ -2047,14 +2047,13 @@ const opDisableKey = "DisableKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableKeyRequest method. +// req, resp := client.DisableKeyRequest(params) // -// // Example sending a request using the DisableKeyRequest method. -// req, resp := client.DisableKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKey func (c *KMS) DisableKeyRequest(input *DisableKeyInput) (req *request.Request, output *DisableKeyOutput) { @@ -2103,29 +2102,30 @@ func (c *KMS) DisableKeyRequest(input *DisableKeyInput) (req *request.Request, o // API operation DisableKey for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. +// +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKey func (c *KMS) DisableKey(input *DisableKeyInput) (*DisableKeyOutput, error) { @@ -2165,14 +2165,13 @@ const opDisableKeyRotation = "DisableKeyRotation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableKeyRotationRequest method. +// req, resp := client.DisableKeyRotationRequest(params) // -// // Example sending a request using the DisableKeyRotationRequest method. -// req, resp := client.DisableKeyRotationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotation func (c *KMS) DisableKeyRotationRequest(input *DisableKeyRotationInput) (req *request.Request, output *DisableKeyRotationOutput) { @@ -2228,9 +2227,9 @@ func (c *KMS) DisableKeyRotationRequest(input *DisableKeyRotationInput) (req *re // // Related operations: // -// * EnableKeyRotation +// - EnableKeyRotation // -// * GetKeyRotationStatus +// - GetKeyRotationStatus // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2240,36 +2239,37 @@ func (c *KMS) DisableKeyRotationRequest(input *DisableKeyRotationInput) (req *re // API operation DisableKeyRotation for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. +// +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisableKeyRotation func (c *KMS) DisableKeyRotation(input *DisableKeyRotationInput) (*DisableKeyRotationOutput, error) { @@ -2309,14 +2309,13 @@ const opDisconnectCustomKeyStore = "DisconnectCustomKeyStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisconnectCustomKeyStoreRequest method. +// req, resp := client.DisconnectCustomKeyStoreRequest(params) // -// // Example sending a request using the DisconnectCustomKeyStoreRequest method. -// req, resp := client.DisconnectCustomKeyStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisconnectCustomKeyStore func (c *KMS) DisconnectCustomKeyStoreRequest(input *DisconnectCustomKeyStoreInput) (req *request.Request, output *DisconnectCustomKeyStoreOutput) { @@ -2368,15 +2367,15 @@ func (c *KMS) DisconnectCustomKeyStoreRequest(input *DisconnectCustomKeyStoreInp // // Related operations: // -// * ConnectCustomKeyStore +// - ConnectCustomKeyStore // -// * CreateCustomKeyStore +// - CreateCustomKeyStore // -// * DeleteCustomKeyStore +// - DeleteCustomKeyStore // -// * DescribeCustomKeyStores +// - DescribeCustomKeyStores // -// * UpdateCustomKeyStore +// - UpdateCustomKeyStore // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2386,32 +2385,33 @@ func (c *KMS) DisconnectCustomKeyStoreRequest(input *DisconnectCustomKeyStoreInp // API operation DisconnectCustomKeyStore for usage and error information. // // Returned Error Types: -// * CustomKeyStoreInvalidStateException -// The request was rejected because of the ConnectionState of the custom key -// store. To get the ConnectionState of a custom key store, use the DescribeCustomKeyStores -// operation. // -// This exception is thrown under the following conditions: +// - CustomKeyStoreInvalidStateException +// The request was rejected because of the ConnectionState of the custom key +// store. To get the ConnectionState of a custom key store, use the DescribeCustomKeyStores +// operation. +// +// This exception is thrown under the following conditions: // -// * You requested the CreateKey or GenerateRandom operation in a custom -// key store that is not connected. These operations are valid only when -// the custom key store ConnectionState is CONNECTED. +// - You requested the CreateKey or GenerateRandom operation in a custom +// key store that is not connected. These operations are valid only when +// the custom key store ConnectionState is CONNECTED. // -// * You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation -// on a custom key store that is not disconnected. This operation is valid -// only when the custom key store ConnectionState is DISCONNECTED. +// - You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation +// on a custom key store that is not disconnected. This operation is valid +// only when the custom key store ConnectionState is DISCONNECTED. // -// * You requested the ConnectCustomKeyStore operation on a custom key store -// with a ConnectionState of DISCONNECTING or FAILED. This operation is valid -// for all other ConnectionState values. +// - You requested the ConnectCustomKeyStore operation on a custom key store +// with a ConnectionState of DISCONNECTING or FAILED. This operation is valid +// for all other ConnectionState values. // -// * CustomKeyStoreNotFoundException -// The request was rejected because KMS cannot find a custom key store with -// the specified key store name or ID. +// - CustomKeyStoreNotFoundException +// The request was rejected because KMS cannot find a custom key store with +// the specified key store name or ID. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/DisconnectCustomKeyStore func (c *KMS) DisconnectCustomKeyStore(input *DisconnectCustomKeyStoreInput) (*DisconnectCustomKeyStoreOutput, error) { @@ -2451,14 +2451,13 @@ const opEnableKey = "EnableKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableKeyRequest method. +// req, resp := client.EnableKeyRequest(params) // -// // Example sending a request using the EnableKeyRequest method. -// req, resp := client.EnableKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKey func (c *KMS) EnableKeyRequest(input *EnableKeyInput) (req *request.Request, output *EnableKeyOutput) { @@ -2503,34 +2502,35 @@ func (c *KMS) EnableKeyRequest(input *EnableKeyInput) (req *request.Request, out // API operation EnableKey for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. +// +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * LimitExceededException -// The request was rejected because a quota was exceeded. For more information, -// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) -// in the Key Management Service Developer Guide. +// - LimitExceededException +// The request was rejected because a quota was exceeded. For more information, +// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) +// in the Key Management Service Developer Guide. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKey func (c *KMS) EnableKey(input *EnableKeyInput) (*EnableKeyOutput, error) { @@ -2570,14 +2570,13 @@ const opEnableKeyRotation = "EnableKeyRotation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableKeyRotationRequest method. +// req, resp := client.EnableKeyRotationRequest(params) // -// // Example sending a request using the EnableKeyRotationRequest method. -// req, resp := client.EnableKeyRotationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotation func (c *KMS) EnableKeyRotationRequest(input *EnableKeyRotationInput) (req *request.Request, output *EnableKeyRotationOutput) { @@ -2647,9 +2646,9 @@ func (c *KMS) EnableKeyRotationRequest(input *EnableKeyRotationInput) (req *requ // // Related operations: // -// * DisableKeyRotation +// - DisableKeyRotation // -// * GetKeyRotationStatus +// - GetKeyRotationStatus // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2659,36 +2658,37 @@ func (c *KMS) EnableKeyRotationRequest(input *EnableKeyRotationInput) (req *requ // API operation EnableKeyRotation for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/EnableKeyRotation func (c *KMS) EnableKeyRotation(input *EnableKeyRotationInput) (*EnableKeyRotationOutput, error) { @@ -2728,14 +2728,13 @@ const opEncrypt = "Encrypt" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EncryptRequest method. +// req, resp := client.EncryptRequest(params) // -// // Example sending a request using the EncryptRequest method. -// req, resp := client.EncryptRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Encrypt func (c *KMS) EncryptRequest(input *EncryptInput) (req *request.Request, output *EncryptOutput) { @@ -2791,13 +2790,13 @@ func (c *KMS) EncryptRequest(input *EncryptInput) (req *request.Request, output // The maximum size of the data that you can encrypt varies with the type of // KMS key and the encryption algorithm that you choose. // -// * Symmetric encryption KMS keys SYMMETRIC_DEFAULT: 4096 bytes +// - Symmetric encryption KMS keys SYMMETRIC_DEFAULT: 4096 bytes // -// * RSA_2048 RSAES_OAEP_SHA_1: 214 bytes RSAES_OAEP_SHA_256: 190 bytes +// - RSA_2048 RSAES_OAEP_SHA_1: 214 bytes RSAES_OAEP_SHA_256: 190 bytes // -// * RSA_3072 RSAES_OAEP_SHA_1: 342 bytes RSAES_OAEP_SHA_256: 318 bytes +// - RSA_3072 RSAES_OAEP_SHA_1: 342 bytes RSAES_OAEP_SHA_256: 318 bytes // -// * RSA_4096 RSAES_OAEP_SHA_1: 470 bytes RSAES_OAEP_SHA_256: 446 bytes +// - RSA_4096 RSAES_OAEP_SHA_1: 470 bytes RSAES_OAEP_SHA_256: 446 bytes // // The KMS key that you use for this operation must be in a compatible key state. // For details, see Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) @@ -2812,11 +2811,11 @@ func (c *KMS) EncryptRequest(input *EncryptInput) (req *request.Request, output // // Related operations: // -// * Decrypt +// - Decrypt // -// * GenerateDataKey +// - GenerateDataKey // -// * GenerateDataKeyPair +// - GenerateDataKeyPair // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2826,52 +2825,53 @@ func (c *KMS) EncryptRequest(input *EncryptInput) (req *request.Request, output // API operation Encrypt for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. +// +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// * KeyUnavailableException -// The request was rejected because the specified KMS key was not available. -// You can retry the request. +// - KeyUnavailableException +// The request was rejected because the specified KMS key was not available. +// You can retry the request. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InvalidKeyUsageException -// The request was rejected for one of the following reasons: +// - InvalidKeyUsageException +// The request was rejected for one of the following reasons: // -// * The KeyUsage value of the KMS key is incompatible with the API operation. +// - The KeyUsage value of the KMS key is incompatible with the API operation. // -// * The encryption algorithm or signing algorithm specified for the operation -// is incompatible with the type of key material in the KMS key (KeySpec). +// - The encryption algorithm or signing algorithm specified for the operation +// is incompatible with the type of key material in the KMS key (KeySpec). // -// For encrypting, decrypting, re-encrypting, and generating data keys, the -// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the -// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication -// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage -// of a KMS key, use the DescribeKey operation. +// For encrypting, decrypting, re-encrypting, and generating data keys, the +// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the +// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication +// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage +// of a KMS key, use the DescribeKey operation. // -// To find the encryption or signing algorithms supported for a particular KMS -// key, use the DescribeKey operation. +// To find the encryption or signing algorithms supported for a particular KMS +// key, use the DescribeKey operation. // -// * InvalidGrantTokenException -// The request was rejected because the specified grant token is not valid. +// - InvalidGrantTokenException +// The request was rejected because the specified grant token is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Encrypt func (c *KMS) Encrypt(input *EncryptInput) (*EncryptOutput, error) { @@ -2911,14 +2911,13 @@ const opGenerateDataKey = "GenerateDataKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateDataKeyRequest method. +// req, resp := client.GenerateDataKeyRequest(params) // -// // Example sending a request using the GenerateDataKeyRequest method. -// req, resp := client.GenerateDataKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKey func (c *KMS) GenerateDataKeyRequest(input *GenerateDataKeyInput) (req *request.Request, output *GenerateDataKeyOutput) { @@ -2974,7 +2973,7 @@ func (c *KMS) GenerateDataKeyRequest(input *GenerateDataKeyInput) (req *request. // For details, see Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the Key Management Service Developer Guide. // -// How to use your data key +// # How to use your data key // // We recommend that you use the following pattern to encrypt data locally in // your application. You can write your own code or use a client-side encryption @@ -3010,15 +3009,15 @@ func (c *KMS) GenerateDataKeyRequest(input *GenerateDataKeyInput) (req *request. // // Related operations: // -// * Decrypt +// - Decrypt // -// * Encrypt +// - Encrypt // -// * GenerateDataKeyPair +// - GenerateDataKeyPair // -// * GenerateDataKeyPairWithoutPlaintext +// - GenerateDataKeyPairWithoutPlaintext // -// * GenerateDataKeyWithoutPlaintext +// - GenerateDataKeyWithoutPlaintext // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3028,52 +3027,53 @@ func (c *KMS) GenerateDataKeyRequest(input *GenerateDataKeyInput) (req *request. // API operation GenerateDataKey for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. +// +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// * KeyUnavailableException -// The request was rejected because the specified KMS key was not available. -// You can retry the request. +// - KeyUnavailableException +// The request was rejected because the specified KMS key was not available. +// You can retry the request. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InvalidKeyUsageException -// The request was rejected for one of the following reasons: +// - InvalidKeyUsageException +// The request was rejected for one of the following reasons: // -// * The KeyUsage value of the KMS key is incompatible with the API operation. +// - The KeyUsage value of the KMS key is incompatible with the API operation. // -// * The encryption algorithm or signing algorithm specified for the operation -// is incompatible with the type of key material in the KMS key (KeySpec). +// - The encryption algorithm or signing algorithm specified for the operation +// is incompatible with the type of key material in the KMS key (KeySpec). // -// For encrypting, decrypting, re-encrypting, and generating data keys, the -// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the -// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication -// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage -// of a KMS key, use the DescribeKey operation. +// For encrypting, decrypting, re-encrypting, and generating data keys, the +// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the +// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication +// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage +// of a KMS key, use the DescribeKey operation. // -// To find the encryption or signing algorithms supported for a particular KMS -// key, use the DescribeKey operation. +// To find the encryption or signing algorithms supported for a particular KMS +// key, use the DescribeKey operation. // -// * InvalidGrantTokenException -// The request was rejected because the specified grant token is not valid. +// - InvalidGrantTokenException +// The request was rejected because the specified grant token is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKey func (c *KMS) GenerateDataKey(input *GenerateDataKeyInput) (*GenerateDataKeyOutput, error) { @@ -3113,14 +3113,13 @@ const opGenerateDataKeyPair = "GenerateDataKeyPair" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateDataKeyPairRequest method. +// req, resp := client.GenerateDataKeyPairRequest(params) // -// // Example sending a request using the GenerateDataKeyPairRequest method. -// req, resp := client.GenerateDataKeyPairRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyPair func (c *KMS) GenerateDataKeyPairRequest(input *GenerateDataKeyPairInput) (req *request.Request, output *GenerateDataKeyPairOutput) { @@ -3199,15 +3198,15 @@ func (c *KMS) GenerateDataKeyPairRequest(input *GenerateDataKeyPairInput) (req * // // Related operations: // -// * Decrypt +// - Decrypt // -// * Encrypt +// - Encrypt // -// * GenerateDataKey +// - GenerateDataKey // -// * GenerateDataKeyPairWithoutPlaintext +// - GenerateDataKeyPairWithoutPlaintext // -// * GenerateDataKeyWithoutPlaintext +// - GenerateDataKeyWithoutPlaintext // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3217,56 +3216,57 @@ func (c *KMS) GenerateDataKeyPairRequest(input *GenerateDataKeyPairInput) (req * // API operation GenerateDataKeyPair for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * KeyUnavailableException -// The request was rejected because the specified KMS key was not available. -// You can retry the request. +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - KeyUnavailableException +// The request was rejected because the specified KMS key was not available. +// You can retry the request. // -// * InvalidKeyUsageException -// The request was rejected for one of the following reasons: +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * The KeyUsage value of the KMS key is incompatible with the API operation. +// - InvalidKeyUsageException +// The request was rejected for one of the following reasons: // -// * The encryption algorithm or signing algorithm specified for the operation -// is incompatible with the type of key material in the KMS key (KeySpec). +// - The KeyUsage value of the KMS key is incompatible with the API operation. // -// For encrypting, decrypting, re-encrypting, and generating data keys, the -// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the -// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication -// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage -// of a KMS key, use the DescribeKey operation. +// - The encryption algorithm or signing algorithm specified for the operation +// is incompatible with the type of key material in the KMS key (KeySpec). // -// To find the encryption or signing algorithms supported for a particular KMS -// key, use the DescribeKey operation. +// For encrypting, decrypting, re-encrypting, and generating data keys, the +// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the +// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication +// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage +// of a KMS key, use the DescribeKey operation. // -// * InvalidGrantTokenException -// The request was rejected because the specified grant token is not valid. +// To find the encryption or signing algorithms supported for a particular KMS +// key, use the DescribeKey operation. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InvalidGrantTokenException +// The request was rejected because the specified grant token is not valid. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyPair func (c *KMS) GenerateDataKeyPair(input *GenerateDataKeyPairInput) (*GenerateDataKeyPairOutput, error) { @@ -3306,14 +3306,13 @@ const opGenerateDataKeyPairWithoutPlaintext = "GenerateDataKeyPairWithoutPlainte // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateDataKeyPairWithoutPlaintextRequest method. +// req, resp := client.GenerateDataKeyPairWithoutPlaintextRequest(params) // -// // Example sending a request using the GenerateDataKeyPairWithoutPlaintextRequest method. -// req, resp := client.GenerateDataKeyPairWithoutPlaintextRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyPairWithoutPlaintext func (c *KMS) GenerateDataKeyPairWithoutPlaintextRequest(input *GenerateDataKeyPairWithoutPlaintextInput) (req *request.Request, output *GenerateDataKeyPairWithoutPlaintextOutput) { @@ -3381,15 +3380,15 @@ func (c *KMS) GenerateDataKeyPairWithoutPlaintextRequest(input *GenerateDataKeyP // // Related operations: // -// * Decrypt +// - Decrypt // -// * Encrypt +// - Encrypt // -// * GenerateDataKey +// - GenerateDataKey // -// * GenerateDataKeyPair +// - GenerateDataKeyPair // -// * GenerateDataKeyWithoutPlaintext +// - GenerateDataKeyWithoutPlaintext // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3399,56 +3398,57 @@ func (c *KMS) GenerateDataKeyPairWithoutPlaintextRequest(input *GenerateDataKeyP // API operation GenerateDataKeyPairWithoutPlaintext for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * KeyUnavailableException -// The request was rejected because the specified KMS key was not available. -// You can retry the request. +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - KeyUnavailableException +// The request was rejected because the specified KMS key was not available. +// You can retry the request. // -// * InvalidKeyUsageException -// The request was rejected for one of the following reasons: +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * The KeyUsage value of the KMS key is incompatible with the API operation. +// - InvalidKeyUsageException +// The request was rejected for one of the following reasons: // -// * The encryption algorithm or signing algorithm specified for the operation -// is incompatible with the type of key material in the KMS key (KeySpec). +// - The KeyUsage value of the KMS key is incompatible with the API operation. // -// For encrypting, decrypting, re-encrypting, and generating data keys, the -// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the -// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication -// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage -// of a KMS key, use the DescribeKey operation. +// - The encryption algorithm or signing algorithm specified for the operation +// is incompatible with the type of key material in the KMS key (KeySpec). // -// To find the encryption or signing algorithms supported for a particular KMS -// key, use the DescribeKey operation. +// For encrypting, decrypting, re-encrypting, and generating data keys, the +// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the +// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication +// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage +// of a KMS key, use the DescribeKey operation. // -// * InvalidGrantTokenException -// The request was rejected because the specified grant token is not valid. +// To find the encryption or signing algorithms supported for a particular KMS +// key, use the DescribeKey operation. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InvalidGrantTokenException +// The request was rejected because the specified grant token is not valid. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyPairWithoutPlaintext func (c *KMS) GenerateDataKeyPairWithoutPlaintext(input *GenerateDataKeyPairWithoutPlaintextInput) (*GenerateDataKeyPairWithoutPlaintextOutput, error) { @@ -3488,14 +3488,13 @@ const opGenerateDataKeyWithoutPlaintext = "GenerateDataKeyWithoutPlaintext" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateDataKeyWithoutPlaintextRequest method. +// req, resp := client.GenerateDataKeyWithoutPlaintextRequest(params) // -// // Example sending a request using the GenerateDataKeyWithoutPlaintextRequest method. -// req, resp := client.GenerateDataKeyWithoutPlaintextRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintext func (c *KMS) GenerateDataKeyWithoutPlaintextRequest(input *GenerateDataKeyWithoutPlaintextInput) (req *request.Request, output *GenerateDataKeyWithoutPlaintextOutput) { @@ -3568,15 +3567,15 @@ func (c *KMS) GenerateDataKeyWithoutPlaintextRequest(input *GenerateDataKeyWitho // // Related operations: // -// * Decrypt +// - Decrypt // -// * Encrypt +// - Encrypt // -// * GenerateDataKey +// - GenerateDataKey // -// * GenerateDataKeyPair +// - GenerateDataKeyPair // -// * GenerateDataKeyPairWithoutPlaintext +// - GenerateDataKeyPairWithoutPlaintext // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3586,52 +3585,53 @@ func (c *KMS) GenerateDataKeyWithoutPlaintextRequest(input *GenerateDataKeyWitho // API operation GenerateDataKeyWithoutPlaintext for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * KeyUnavailableException -// The request was rejected because the specified KMS key was not available. -// You can retry the request. +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - KeyUnavailableException +// The request was rejected because the specified KMS key was not available. +// You can retry the request. // -// * InvalidKeyUsageException -// The request was rejected for one of the following reasons: +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * The KeyUsage value of the KMS key is incompatible with the API operation. +// - InvalidKeyUsageException +// The request was rejected for one of the following reasons: // -// * The encryption algorithm or signing algorithm specified for the operation -// is incompatible with the type of key material in the KMS key (KeySpec). +// - The KeyUsage value of the KMS key is incompatible with the API operation. // -// For encrypting, decrypting, re-encrypting, and generating data keys, the -// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the -// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication -// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage -// of a KMS key, use the DescribeKey operation. +// - The encryption algorithm or signing algorithm specified for the operation +// is incompatible with the type of key material in the KMS key (KeySpec). // -// To find the encryption or signing algorithms supported for a particular KMS -// key, use the DescribeKey operation. +// For encrypting, decrypting, re-encrypting, and generating data keys, the +// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the +// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication +// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage +// of a KMS key, use the DescribeKey operation. // -// * InvalidGrantTokenException -// The request was rejected because the specified grant token is not valid. +// To find the encryption or signing algorithms supported for a particular KMS +// key, use the DescribeKey operation. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InvalidGrantTokenException +// The request was rejected because the specified grant token is not valid. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. +// +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateDataKeyWithoutPlaintext func (c *KMS) GenerateDataKeyWithoutPlaintext(input *GenerateDataKeyWithoutPlaintextInput) (*GenerateDataKeyWithoutPlaintextOutput, error) { @@ -3671,14 +3671,13 @@ const opGenerateMac = "GenerateMac" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateMacRequest method. +// req, resp := client.GenerateMacRequest(params) // -// // Example sending a request using the GenerateMacRequest method. -// req, resp := client.GenerateMacRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateMac func (c *KMS) GenerateMacRequest(input *GenerateMacInput) (req *request.Request, output *GenerateMacOutput) { @@ -3738,48 +3737,49 @@ func (c *KMS) GenerateMacRequest(input *GenerateMacInput) (req *request.Request, // API operation GenerateMac for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. +// +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// * KeyUnavailableException -// The request was rejected because the specified KMS key was not available. -// You can retry the request. +// - KeyUnavailableException +// The request was rejected because the specified KMS key was not available. +// You can retry the request. // -// * InvalidKeyUsageException -// The request was rejected for one of the following reasons: +// - InvalidKeyUsageException +// The request was rejected for one of the following reasons: // -// * The KeyUsage value of the KMS key is incompatible with the API operation. +// - The KeyUsage value of the KMS key is incompatible with the API operation. // -// * The encryption algorithm or signing algorithm specified for the operation -// is incompatible with the type of key material in the KMS key (KeySpec). +// - The encryption algorithm or signing algorithm specified for the operation +// is incompatible with the type of key material in the KMS key (KeySpec). // -// For encrypting, decrypting, re-encrypting, and generating data keys, the -// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the -// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication -// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage -// of a KMS key, use the DescribeKey operation. +// For encrypting, decrypting, re-encrypting, and generating data keys, the +// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the +// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication +// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage +// of a KMS key, use the DescribeKey operation. // -// To find the encryption or signing algorithms supported for a particular KMS -// key, use the DescribeKey operation. +// To find the encryption or signing algorithms supported for a particular KMS +// key, use the DescribeKey operation. // -// * InvalidGrantTokenException -// The request was rejected because the specified grant token is not valid. +// - InvalidGrantTokenException +// The request was rejected because the specified grant token is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateMac func (c *KMS) GenerateMac(input *GenerateMacInput) (*GenerateMacOutput, error) { @@ -3819,14 +3819,13 @@ const opGenerateRandom = "GenerateRandom" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateRandomRequest method. +// req, resp := client.GenerateRandomRequest(params) // -// // Example sending a request using the GenerateRandomRequest method. -// req, resp := client.GenerateRandomRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandom func (c *KMS) GenerateRandomRequest(input *GenerateRandomInput) (req *request.Request, output *GenerateRandomOutput) { @@ -3874,36 +3873,37 @@ func (c *KMS) GenerateRandomRequest(input *GenerateRandomInput) (req *request.Re // API operation GenerateRandom for usage and error information. // // Returned Error Types: -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. +// +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * CustomKeyStoreNotFoundException -// The request was rejected because KMS cannot find a custom key store with -// the specified key store name or ID. +// - CustomKeyStoreNotFoundException +// The request was rejected because KMS cannot find a custom key store with +// the specified key store name or ID. // -// * CustomKeyStoreInvalidStateException -// The request was rejected because of the ConnectionState of the custom key -// store. To get the ConnectionState of a custom key store, use the DescribeCustomKeyStores -// operation. +// - CustomKeyStoreInvalidStateException +// The request was rejected because of the ConnectionState of the custom key +// store. To get the ConnectionState of a custom key store, use the DescribeCustomKeyStores +// operation. // -// This exception is thrown under the following conditions: +// This exception is thrown under the following conditions: // -// * You requested the CreateKey or GenerateRandom operation in a custom -// key store that is not connected. These operations are valid only when -// the custom key store ConnectionState is CONNECTED. +// - You requested the CreateKey or GenerateRandom operation in a custom +// key store that is not connected. These operations are valid only when +// the custom key store ConnectionState is CONNECTED. // -// * You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation -// on a custom key store that is not disconnected. This operation is valid -// only when the custom key store ConnectionState is DISCONNECTED. +// - You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation +// on a custom key store that is not disconnected. This operation is valid +// only when the custom key store ConnectionState is DISCONNECTED. // -// * You requested the ConnectCustomKeyStore operation on a custom key store -// with a ConnectionState of DISCONNECTING or FAILED. This operation is valid -// for all other ConnectionState values. +// - You requested the ConnectCustomKeyStore operation on a custom key store +// with a ConnectionState of DISCONNECTING or FAILED. This operation is valid +// for all other ConnectionState values. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GenerateRandom func (c *KMS) GenerateRandom(input *GenerateRandomInput) (*GenerateRandomOutput, error) { @@ -3943,14 +3943,13 @@ const opGetKeyPolicy = "GetKeyPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetKeyPolicyRequest method. +// req, resp := client.GetKeyPolicyRequest(params) // -// // Example sending a request using the GetKeyPolicyRequest method. -// req, resp := client.GetKeyPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicy func (c *KMS) GetKeyPolicyRequest(input *GetKeyPolicyInput) (req *request.Request, output *GetKeyPolicyOutput) { @@ -3989,29 +3988,30 @@ func (c *KMS) GetKeyPolicyRequest(input *GetKeyPolicyInput) (req *request.Reques // API operation GetKeyPolicy for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. +// +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyPolicy func (c *KMS) GetKeyPolicy(input *GetKeyPolicyInput) (*GetKeyPolicyOutput, error) { @@ -4051,14 +4051,13 @@ const opGetKeyRotationStatus = "GetKeyRotationStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetKeyRotationStatusRequest method. +// req, resp := client.GetKeyRotationStatusRequest(params) // -// // Example sending a request using the GetKeyRotationStatusRequest method. -// req, resp := client.GetKeyRotationStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatus func (c *KMS) GetKeyRotationStatusRequest(input *GetKeyRotationStatusInput) (req *request.Request, output *GetKeyRotationStatusOutput) { @@ -4112,17 +4111,17 @@ func (c *KMS) GetKeyRotationStatusRequest(input *GetKeyRotationStatusInput) (req // For details, see Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) // in the Key Management Service Developer Guide. // -// * Disabled: The key rotation status does not change when you disable a -// KMS key. However, while the KMS key is disabled, KMS does not rotate the -// key material. When you re-enable the KMS key, rotation resumes. If the -// key material in the re-enabled KMS key hasn't been rotated in one year, -// KMS rotates it immediately, and every year thereafter. If it's been less -// than a year since the key material in the re-enabled KMS key was rotated, -// the KMS key resumes its prior rotation schedule. +// - Disabled: The key rotation status does not change when you disable a +// KMS key. However, while the KMS key is disabled, KMS does not rotate the +// key material. When you re-enable the KMS key, rotation resumes. If the +// key material in the re-enabled KMS key hasn't been rotated in one year, +// KMS rotates it immediately, and every year thereafter. If it's been less +// than a year since the key material in the re-enabled KMS key was rotated, +// the KMS key resumes its prior rotation schedule. // -// * Pending deletion: While a KMS key is pending deletion, its key rotation -// status is false and KMS does not rotate the key material. If you cancel -// the deletion, the original key rotation status returns to true. +// - Pending deletion: While a KMS key is pending deletion, its key rotation +// status is false and KMS does not rotate the key material. If you cancel +// the deletion, the original key rotation status returns to true. // // Cross-account use: Yes. To perform this operation on a KMS key in a different // Amazon Web Services account, specify the key ARN in the value of the KeyId @@ -4133,9 +4132,9 @@ func (c *KMS) GetKeyRotationStatusRequest(input *GetKeyRotationStatusInput) (req // // Related operations: // -// * DisableKeyRotation +// - DisableKeyRotation // -// * EnableKeyRotation +// - EnableKeyRotation // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4145,33 +4144,34 @@ func (c *KMS) GetKeyRotationStatusRequest(input *GetKeyRotationStatusInput) (req // API operation GetKeyRotationStatus for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. +// +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetKeyRotationStatus func (c *KMS) GetKeyRotationStatus(input *GetKeyRotationStatusInput) (*GetKeyRotationStatusOutput, error) { @@ -4211,14 +4211,13 @@ const opGetParametersForImport = "GetParametersForImport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetParametersForImportRequest method. +// req, resp := client.GetParametersForImportRequest(params) // -// // Example sending a request using the GetParametersForImportRequest method. -// req, resp := client.GetParametersForImportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImport func (c *KMS) GetParametersForImportRequest(input *GetParametersForImportInput) (req *request.Request, output *GetParametersForImportOutput) { @@ -4273,9 +4272,9 @@ func (c *KMS) GetParametersForImportRequest(input *GetParametersForImportInput) // // Related operations: // -// * ImportKeyMaterial +// - ImportKeyMaterial // -// * DeleteImportedKeyMaterial +// - DeleteImportedKeyMaterial // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4285,33 +4284,34 @@ func (c *KMS) GetParametersForImportRequest(input *GetParametersForImportInput) // API operation GetParametersForImport for usage and error information. // // Returned Error Types: -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetParametersForImport func (c *KMS) GetParametersForImport(input *GetParametersForImportInput) (*GetParametersForImportOutput, error) { @@ -4351,14 +4351,13 @@ const opGetPublicKey = "GetPublicKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPublicKeyRequest method. +// req, resp := client.GetPublicKeyRequest(params) // -// // Example sending a request using the GetPublicKeyRequest method. -// req, resp := client.GetPublicKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetPublicKey func (c *KMS) GetPublicKeyRequest(input *GetPublicKeyInput) (req *request.Request, output *GetPublicKeyOutput) { @@ -4398,16 +4397,16 @@ func (c *KMS) GetPublicKeyRequest(input *GetPublicKeyInput) (req *request.Reques // To help you use the public key safely outside of KMS, GetPublicKey returns // important information about the public key in the response, including: // -// * KeySpec (https://docs.aws.amazon.com/kms/latest/APIReference/API_GetPublicKey.html#KMS-GetPublicKey-response-KeySpec): -// The type of key material in the public key, such as RSA_4096 or ECC_NIST_P521. +// - KeySpec (https://docs.aws.amazon.com/kms/latest/APIReference/API_GetPublicKey.html#KMS-GetPublicKey-response-KeySpec): +// The type of key material in the public key, such as RSA_4096 or ECC_NIST_P521. // -// * KeyUsage (https://docs.aws.amazon.com/kms/latest/APIReference/API_GetPublicKey.html#KMS-GetPublicKey-response-KeyUsage): -// Whether the key is used for encryption or signing. +// - KeyUsage (https://docs.aws.amazon.com/kms/latest/APIReference/API_GetPublicKey.html#KMS-GetPublicKey-response-KeyUsage): +// Whether the key is used for encryption or signing. // -// * EncryptionAlgorithms (https://docs.aws.amazon.com/kms/latest/APIReference/API_GetPublicKey.html#KMS-GetPublicKey-response-EncryptionAlgorithms) -// or SigningAlgorithms (https://docs.aws.amazon.com/kms/latest/APIReference/API_GetPublicKey.html#KMS-GetPublicKey-response-SigningAlgorithms): -// A list of the encryption algorithms or the signing algorithms for the -// key. +// - EncryptionAlgorithms (https://docs.aws.amazon.com/kms/latest/APIReference/API_GetPublicKey.html#KMS-GetPublicKey-response-EncryptionAlgorithms) +// or SigningAlgorithms (https://docs.aws.amazon.com/kms/latest/APIReference/API_GetPublicKey.html#KMS-GetPublicKey-response-SigningAlgorithms): +// A list of the encryption algorithms or the signing algorithms for the +// key. // // Although KMS cannot enforce these restrictions on external operations, it // is crucial that you use this information to prevent the public key from being @@ -4437,60 +4436,61 @@ func (c *KMS) GetPublicKeyRequest(input *GetPublicKeyInput) (req *request.Reques // API operation GetPublicKey for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. +// +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// * KeyUnavailableException -// The request was rejected because the specified KMS key was not available. -// You can retry the request. +// - KeyUnavailableException +// The request was rejected because the specified KMS key was not available. +// You can retry the request. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * InvalidGrantTokenException -// The request was rejected because the specified grant token is not valid. +// - InvalidGrantTokenException +// The request was rejected because the specified grant token is not valid. // -// * InvalidKeyUsageException -// The request was rejected for one of the following reasons: +// - InvalidKeyUsageException +// The request was rejected for one of the following reasons: // -// * The KeyUsage value of the KMS key is incompatible with the API operation. +// - The KeyUsage value of the KMS key is incompatible with the API operation. // -// * The encryption algorithm or signing algorithm specified for the operation -// is incompatible with the type of key material in the KMS key (KeySpec). +// - The encryption algorithm or signing algorithm specified for the operation +// is incompatible with the type of key material in the KMS key (KeySpec). // -// For encrypting, decrypting, re-encrypting, and generating data keys, the -// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the -// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication -// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage -// of a KMS key, use the DescribeKey operation. +// For encrypting, decrypting, re-encrypting, and generating data keys, the +// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the +// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication +// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage +// of a KMS key, use the DescribeKey operation. // -// To find the encryption or signing algorithms supported for a particular KMS -// key, use the DescribeKey operation. +// To find the encryption or signing algorithms supported for a particular KMS +// key, use the DescribeKey operation. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/GetPublicKey func (c *KMS) GetPublicKey(input *GetPublicKeyInput) (*GetPublicKeyOutput, error) { @@ -4530,14 +4530,13 @@ const opImportKeyMaterial = "ImportKeyMaterial" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportKeyMaterialRequest method. +// req, resp := client.ImportKeyMaterialRequest(params) // -// // Example sending a request using the ImportKeyMaterialRequest method. -// req, resp := client.ImportKeyMaterialRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterial func (c *KMS) ImportKeyMaterialRequest(input *ImportKeyMaterialInput) (req *request.Request, output *ImportKeyMaterialOutput) { @@ -4576,22 +4575,22 @@ func (c *KMS) ImportKeyMaterialRequest(input *ImportKeyMaterialInput) (req *requ // // When calling this operation, you must specify the following values: // -// * The key ID or key ARN of a KMS key with no key material. Its Origin -// must be EXTERNAL. To create a KMS key with no key material, call CreateKey -// and set the value of its Origin parameter to EXTERNAL. To get the Origin -// of a KMS key, call DescribeKey.) +// - The key ID or key ARN of a KMS key with no key material. Its Origin +// must be EXTERNAL. To create a KMS key with no key material, call CreateKey +// and set the value of its Origin parameter to EXTERNAL. To get the Origin +// of a KMS key, call DescribeKey.) // -// * The encrypted key material. To get the public key to encrypt the key -// material, call GetParametersForImport. +// - The encrypted key material. To get the public key to encrypt the key +// material, call GetParametersForImport. // -// * The import token that GetParametersForImport returned. You must use -// a public key and token from the same GetParametersForImport response. +// - The import token that GetParametersForImport returned. You must use +// a public key and token from the same GetParametersForImport response. // -// * Whether the key material expires and if so, when. If you set an expiration -// date, KMS deletes the key material from the KMS key on the specified date, -// and the KMS key becomes unusable. To use the KMS key again, you must reimport -// the same key material. The only way to change an expiration date is by -// reimporting the same key material and specifying a new expiration date. +// - Whether the key material expires and if so, when. If you set an expiration +// date, KMS deletes the key material from the KMS key on the specified date, +// and the KMS key becomes unusable. To use the KMS key again, you must reimport +// the same key material. The only way to change an expiration date is by +// reimporting the same key material and specifying a new expiration date. // // When this operation is successful, the key state of the KMS key changes from // PendingImport to Enabled, and you can use the KMS key. @@ -4615,9 +4614,9 @@ func (c *KMS) ImportKeyMaterialRequest(input *ImportKeyMaterialInput) (req *requ // // Related operations: // -// * DeleteImportedKeyMaterial +// - DeleteImportedKeyMaterial // -// * GetParametersForImport +// - GetParametersForImport // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4627,56 +4626,57 @@ func (c *KMS) ImportKeyMaterialRequest(input *ImportKeyMaterialInput) (req *requ // API operation ImportKeyMaterial for usage and error information. // // Returned Error Types: -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. +// +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // -// * InvalidCiphertextException -// From the Decrypt or ReEncrypt operation, the request was rejected because -// the specified ciphertext, or additional authenticated data incorporated into -// the ciphertext, such as the encryption context, is corrupted, missing, or -// otherwise invalid. +// - InvalidCiphertextException +// From the Decrypt or ReEncrypt operation, the request was rejected because +// the specified ciphertext, or additional authenticated data incorporated into +// the ciphertext, such as the encryption context, is corrupted, missing, or +// otherwise invalid. // -// From the ImportKeyMaterial operation, the request was rejected because KMS -// could not decrypt the encrypted (wrapped) key material. +// From the ImportKeyMaterial operation, the request was rejected because KMS +// could not decrypt the encrypted (wrapped) key material. // -// * IncorrectKeyMaterialException -// The request was rejected because the key material in the request is, expired, -// invalid, or is not the same key material that was previously imported into -// this KMS key. +// - IncorrectKeyMaterialException +// The request was rejected because the key material in the request is, expired, +// invalid, or is not the same key material that was previously imported into +// this KMS key. // -// * ExpiredImportTokenException -// The request was rejected because the specified import token is expired. Use -// GetParametersForImport to get a new import token and public key, use the -// new public key to encrypt the key material, and then try the request again. +// - ExpiredImportTokenException +// The request was rejected because the specified import token is expired. Use +// GetParametersForImport to get a new import token and public key, use the +// new public key to encrypt the key material, and then try the request again. // -// * InvalidImportTokenException -// The request was rejected because the provided import token is invalid or -// is associated with a different KMS key. +// - InvalidImportTokenException +// The request was rejected because the provided import token is invalid or +// is associated with a different KMS key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ImportKeyMaterial func (c *KMS) ImportKeyMaterial(input *ImportKeyMaterialInput) (*ImportKeyMaterialOutput, error) { @@ -4716,14 +4716,13 @@ const opListAliases = "ListAliases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAliasesRequest method. +// req, resp := client.ListAliasesRequest(params) // -// // Example sending a request using the ListAliasesRequest method. -// req, resp := client.ListAliasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliases func (c *KMS) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, output *ListAliasesOutput) { @@ -4780,11 +4779,11 @@ func (c *KMS) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, // // Related operations: // -// * CreateAlias +// - CreateAlias // -// * DeleteAlias +// - DeleteAlias // -// * UpdateAlias +// - UpdateAlias // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4794,25 +4793,26 @@ func (c *KMS) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, // API operation ListAliases for usage and error information. // // Returned Error Types: -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. // -// * InvalidMarkerException -// The request was rejected because the marker that specifies where pagination -// should next begin is not valid. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InvalidMarkerException +// The request was rejected because the marker that specifies where pagination +// should next begin is not valid. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. +// +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListAliases func (c *KMS) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error) { @@ -4844,15 +4844,14 @@ func (c *KMS) ListAliasesWithContext(ctx aws.Context, input *ListAliasesInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAliases operation. -// pageNum := 0 -// err := client.ListAliasesPages(params, -// func(page *kms.ListAliasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAliases operation. +// pageNum := 0 +// err := client.ListAliasesPages(params, +// func(page *kms.ListAliasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *KMS) ListAliasesPages(input *ListAliasesInput, fn func(*ListAliasesOutput, bool) bool) error { return c.ListAliasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4904,14 +4903,13 @@ const opListGrants = "ListGrants" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGrantsRequest method. +// req, resp := client.ListGrantsRequest(params) // -// // Example sending a request using the ListGrantsRequest method. -// req, resp := client.ListGrantsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrants func (c *KMS) ListGrantsRequest(input *ListGrantsInput) (req *request.Request, output *ListGrantsResponse) { @@ -4963,13 +4961,13 @@ func (c *KMS) ListGrantsRequest(input *ListGrantsInput) (req *request.Request, o // // Related operations: // -// * CreateGrant +// - CreateGrant // -// * ListRetirableGrants +// - ListRetirableGrants // -// * RetireGrant +// - RetireGrant // -// * RevokeGrant +// - RevokeGrant // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4979,36 +4977,37 @@ func (c *KMS) ListGrantsRequest(input *ListGrantsInput) (req *request.Request, o // API operation ListGrants for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * InvalidMarkerException -// The request was rejected because the marker that specifies where pagination -// should next begin is not valid. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InvalidGrantIdException -// The request was rejected because the specified GrantId is not valid. +// - InvalidMarkerException +// The request was rejected because the marker that specifies where pagination +// should next begin is not valid. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - InvalidGrantIdException +// The request was rejected because the specified GrantId is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. +// +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListGrants func (c *KMS) ListGrants(input *ListGrantsInput) (*ListGrantsResponse, error) { @@ -5040,15 +5039,14 @@ func (c *KMS) ListGrantsWithContext(ctx aws.Context, input *ListGrantsInput, opt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGrants operation. -// pageNum := 0 -// err := client.ListGrantsPages(params, -// func(page *kms.ListGrantsResponse, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGrants operation. +// pageNum := 0 +// err := client.ListGrantsPages(params, +// func(page *kms.ListGrantsResponse, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *KMS) ListGrantsPages(input *ListGrantsInput, fn func(*ListGrantsResponse, bool) bool) error { return c.ListGrantsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5100,14 +5098,13 @@ const opListKeyPolicies = "ListKeyPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListKeyPoliciesRequest method. +// req, resp := client.ListKeyPoliciesRequest(params) // -// // Example sending a request using the ListKeyPoliciesRequest method. -// req, resp := client.ListKeyPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPolicies func (c *KMS) ListKeyPoliciesRequest(input *ListKeyPoliciesInput) (req *request.Request, output *ListKeyPoliciesOutput) { @@ -5146,9 +5143,9 @@ func (c *KMS) ListKeyPoliciesRequest(input *ListKeyPoliciesInput) (req *request. // // Related operations: // -// * GetKeyPolicy +// - GetKeyPolicy // -// * PutKeyPolicy +// - PutKeyPolicy // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5158,29 +5155,30 @@ func (c *KMS) ListKeyPoliciesRequest(input *ListKeyPoliciesInput) (req *request. // API operation ListKeyPolicies for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. +// +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeyPolicies func (c *KMS) ListKeyPolicies(input *ListKeyPoliciesInput) (*ListKeyPoliciesOutput, error) { @@ -5212,15 +5210,14 @@ func (c *KMS) ListKeyPoliciesWithContext(ctx aws.Context, input *ListKeyPolicies // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListKeyPolicies operation. -// pageNum := 0 -// err := client.ListKeyPoliciesPages(params, -// func(page *kms.ListKeyPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListKeyPolicies operation. +// pageNum := 0 +// err := client.ListKeyPoliciesPages(params, +// func(page *kms.ListKeyPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *KMS) ListKeyPoliciesPages(input *ListKeyPoliciesInput, fn func(*ListKeyPoliciesOutput, bool) bool) error { return c.ListKeyPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5272,14 +5269,13 @@ const opListKeys = "ListKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListKeysRequest method. +// req, resp := client.ListKeysRequest(params) // -// // Example sending a request using the ListKeysRequest method. -// req, resp := client.ListKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeys func (c *KMS) ListKeysRequest(input *ListKeysInput) (req *request.Request, output *ListKeysOutput) { @@ -5317,13 +5313,13 @@ func (c *KMS) ListKeysRequest(input *ListKeysInput) (req *request.Request, outpu // // Related operations: // -// * CreateKey +// - CreateKey // -// * DescribeKey +// - DescribeKey // -// * ListAliases +// - ListAliases // -// * ListResourceTags +// - ListResourceTags // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5333,17 +5329,18 @@ func (c *KMS) ListKeysRequest(input *ListKeysInput) (req *request.Request, outpu // API operation ListKeys for usage and error information. // // Returned Error Types: -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. +// +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidMarkerException -// The request was rejected because the marker that specifies where pagination -// should next begin is not valid. +// - InvalidMarkerException +// The request was rejected because the marker that specifies where pagination +// should next begin is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListKeys func (c *KMS) ListKeys(input *ListKeysInput) (*ListKeysOutput, error) { @@ -5375,15 +5372,14 @@ func (c *KMS) ListKeysWithContext(ctx aws.Context, input *ListKeysInput, opts .. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListKeys operation. -// pageNum := 0 -// err := client.ListKeysPages(params, -// func(page *kms.ListKeysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListKeys operation. +// pageNum := 0 +// err := client.ListKeysPages(params, +// func(page *kms.ListKeysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *KMS) ListKeysPages(input *ListKeysInput, fn func(*ListKeysOutput, bool) bool) error { return c.ListKeysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5435,14 +5431,13 @@ const opListResourceTags = "ListResourceTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourceTagsRequest method. +// req, resp := client.ListResourceTagsRequest(params) // -// // Example sending a request using the ListResourceTagsRequest method. -// req, resp := client.ListResourceTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTags func (c *KMS) ListResourceTagsRequest(input *ListResourceTagsInput) (req *request.Request, output *ListResourceTagsOutput) { @@ -5478,13 +5473,13 @@ func (c *KMS) ListResourceTagsRequest(input *ListResourceTagsInput) (req *reques // // Related operations: // -// * CreateKey +// - CreateKey // -// * ReplicateKey +// - ReplicateKey // -// * TagResource +// - TagResource // -// * UntagResource +// - UntagResource // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5494,21 +5489,22 @@ func (c *KMS) ListResourceTagsRequest(input *ListResourceTagsInput) (req *reques // API operation ListResourceTags for usage and error information. // // Returned Error Types: -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. // -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. +// +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * InvalidMarkerException -// The request was rejected because the marker that specifies where pagination -// should next begin is not valid. +// - InvalidMarkerException +// The request was rejected because the marker that specifies where pagination +// should next begin is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListResourceTags func (c *KMS) ListResourceTags(input *ListResourceTagsInput) (*ListResourceTagsOutput, error) { @@ -5548,14 +5544,13 @@ const opListRetirableGrants = "ListRetirableGrants" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRetirableGrantsRequest method. +// req, resp := client.ListRetirableGrantsRequest(params) // -// // Example sending a request using the ListRetirableGrantsRequest method. -// req, resp := client.ListRetirableGrantsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListRetirableGrants func (c *KMS) ListRetirableGrantsRequest(input *ListRetirableGrantsInput) (req *request.Request, output *ListGrantsResponse) { @@ -5601,13 +5596,13 @@ func (c *KMS) ListRetirableGrantsRequest(input *ListRetirableGrantsInput) (req * // // Related operations: // -// * CreateGrant +// - CreateGrant // -// * ListGrants +// - ListGrants // -// * RetireGrant +// - RetireGrant // -// * RevokeGrant +// - RevokeGrant // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5617,25 +5612,26 @@ func (c *KMS) ListRetirableGrantsRequest(input *ListRetirableGrantsInput) (req * // API operation ListRetirableGrants for usage and error information. // // Returned Error Types: -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. // -// * InvalidMarkerException -// The request was rejected because the marker that specifies where pagination -// should next begin is not valid. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. +// +// - InvalidMarkerException +// The request was rejected because the marker that specifies where pagination +// should next begin is not valid. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ListRetirableGrants func (c *KMS) ListRetirableGrants(input *ListRetirableGrantsInput) (*ListGrantsResponse, error) { @@ -5675,14 +5671,13 @@ const opPutKeyPolicy = "PutKeyPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutKeyPolicyRequest method. +// req, resp := client.PutKeyPolicyRequest(params) // -// // Example sending a request using the PutKeyPolicyRequest method. -// req, resp := client.PutKeyPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicy func (c *KMS) PutKeyPolicyRequest(input *PutKeyPolicyInput) (req *request.Request, output *PutKeyPolicyOutput) { @@ -5730,42 +5725,43 @@ func (c *KMS) PutKeyPolicyRequest(input *PutKeyPolicyInput) (req *request.Reques // API operation PutKeyPolicy for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * MalformedPolicyDocumentException -// The request was rejected because the specified policy is not syntactically -// or semantically correct. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - MalformedPolicyDocumentException +// The request was rejected because the specified policy is not syntactically +// or semantically correct. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // -// * LimitExceededException -// The request was rejected because a quota was exceeded. For more information, -// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) -// in the Key Management Service Developer Guide. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - LimitExceededException +// The request was rejected because a quota was exceeded. For more information, +// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) +// in the Key Management Service Developer Guide. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. +// +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/PutKeyPolicy func (c *KMS) PutKeyPolicy(input *PutKeyPolicyInput) (*PutKeyPolicyOutput, error) { @@ -5805,14 +5801,13 @@ const opReEncrypt = "ReEncrypt" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReEncryptRequest method. +// req, resp := client.ReEncryptRequest(params) // -// // Example sending a request using the ReEncryptRequest method. -// req, resp := client.ReEncryptRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncrypt func (c *KMS) ReEncryptRequest(input *ReEncryptInput) (req *request.Request, output *ReEncryptOutput) { @@ -5853,36 +5848,36 @@ func (c *KMS) ReEncryptRequest(input *ReEncryptInput) (req *request.Request, out // When you use the ReEncrypt operation, you need to provide information for // the decrypt operation and the subsequent encrypt operation. // -// * If your ciphertext was encrypted under an asymmetric KMS key, you must -// use the SourceKeyId parameter to identify the KMS key that encrypted the -// ciphertext. You must also supply the encryption algorithm that was used. -// This information is required to decrypt the data. -// -// * If your ciphertext was encrypted under a symmetric encryption KMS key, -// the SourceKeyId parameter is optional. KMS can get this information from -// metadata that it adds to the symmetric ciphertext blob. This feature adds -// durability to your implementation by ensuring that authorized users can -// decrypt ciphertext decades after it was encrypted, even if they've lost -// track of the key ID. However, specifying the source KMS key is always -// recommended as a best practice. When you use the SourceKeyId parameter -// to specify a KMS key, KMS uses only the KMS key you specify. If the ciphertext -// was encrypted under a different KMS key, the ReEncrypt operation fails. -// This practice ensures that you use the KMS key that you intend. -// -// * To reencrypt the data, you must use the DestinationKeyId parameter specify -// the KMS key that re-encrypts the data after it is decrypted. If the destination -// KMS key is an asymmetric KMS key, you must also provide the encryption -// algorithm. The algorithm that you choose must be compatible with the KMS -// key. When you use an asymmetric KMS key to encrypt or reencrypt data, -// be sure to record the KMS key and encryption algorithm that you choose. -// You will be required to provide the same KMS key and encryption algorithm -// when you decrypt the data. If the KMS key and algorithm do not match the -// values used to encrypt the data, the decrypt operation fails. You are -// not required to supply the key ID and encryption algorithm when you decrypt -// with symmetric encryption KMS keys because KMS stores this information -// in the ciphertext blob. KMS cannot store metadata in ciphertext generated -// with asymmetric keys. The standard format for asymmetric key ciphertext -// does not include configurable fields. +// - If your ciphertext was encrypted under an asymmetric KMS key, you must +// use the SourceKeyId parameter to identify the KMS key that encrypted the +// ciphertext. You must also supply the encryption algorithm that was used. +// This information is required to decrypt the data. +// +// - If your ciphertext was encrypted under a symmetric encryption KMS key, +// the SourceKeyId parameter is optional. KMS can get this information from +// metadata that it adds to the symmetric ciphertext blob. This feature adds +// durability to your implementation by ensuring that authorized users can +// decrypt ciphertext decades after it was encrypted, even if they've lost +// track of the key ID. However, specifying the source KMS key is always +// recommended as a best practice. When you use the SourceKeyId parameter +// to specify a KMS key, KMS uses only the KMS key you specify. If the ciphertext +// was encrypted under a different KMS key, the ReEncrypt operation fails. +// This practice ensures that you use the KMS key that you intend. +// +// - To reencrypt the data, you must use the DestinationKeyId parameter specify +// the KMS key that re-encrypts the data after it is decrypted. If the destination +// KMS key is an asymmetric KMS key, you must also provide the encryption +// algorithm. The algorithm that you choose must be compatible with the KMS +// key. When you use an asymmetric KMS key to encrypt or reencrypt data, +// be sure to record the KMS key and encryption algorithm that you choose. +// You will be required to provide the same KMS key and encryption algorithm +// when you decrypt the data. If the KMS key and algorithm do not match the +// values used to encrypt the data, the decrypt operation fails. You are +// not required to supply the key ID and encryption algorithm when you decrypt +// with symmetric encryption KMS keys because KMS stores this information +// in the ciphertext blob. KMS cannot store metadata in ciphertext generated +// with asymmetric keys. The standard format for asymmetric key ciphertext +// does not include configurable fields. // // The KMS key that you use for this operation must be in a compatible key state. // For details, see Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) @@ -5895,11 +5890,11 @@ func (c *KMS) ReEncryptRequest(input *ReEncryptInput) (req *request.Request, out // // Required permissions: // -// * kms:ReEncryptFrom (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) -// permission on the source KMS key (key policy) +// - kms:ReEncryptFrom (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) +// permission on the source KMS key (key policy) // -// * kms:ReEncryptTo (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) -// permission on the destination KMS key (key policy) +// - kms:ReEncryptTo (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) +// permission on the destination KMS key (key policy) // // To permit reencryption from or to a KMS key, include the "kms:ReEncrypt*" // permission in your key policy (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html). @@ -5910,13 +5905,13 @@ func (c *KMS) ReEncryptRequest(input *ReEncryptInput) (req *request.Request, out // // Related operations: // -// * Decrypt +// - Decrypt // -// * Encrypt +// - Encrypt // -// * GenerateDataKey +// - GenerateDataKey // -// * GenerateDataKeyPair +// - GenerateDataKeyPair // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5926,66 +5921,67 @@ func (c *KMS) ReEncryptRequest(input *ReEncryptInput) (req *request.Request, out // API operation ReEncrypt for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. +// +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// * InvalidCiphertextException -// From the Decrypt or ReEncrypt operation, the request was rejected because -// the specified ciphertext, or additional authenticated data incorporated into -// the ciphertext, such as the encryption context, is corrupted, missing, or -// otherwise invalid. +// - InvalidCiphertextException +// From the Decrypt or ReEncrypt operation, the request was rejected because +// the specified ciphertext, or additional authenticated data incorporated into +// the ciphertext, such as the encryption context, is corrupted, missing, or +// otherwise invalid. // -// From the ImportKeyMaterial operation, the request was rejected because KMS -// could not decrypt the encrypted (wrapped) key material. +// From the ImportKeyMaterial operation, the request was rejected because KMS +// could not decrypt the encrypted (wrapped) key material. // -// * KeyUnavailableException -// The request was rejected because the specified KMS key was not available. -// You can retry the request. +// - KeyUnavailableException +// The request was rejected because the specified KMS key was not available. +// You can retry the request. // -// * IncorrectKeyException -// The request was rejected because the specified KMS key cannot decrypt the -// data. The KeyId in a Decrypt request and the SourceKeyId in a ReEncrypt request -// must identify the same KMS key that was used to encrypt the ciphertext. +// - IncorrectKeyException +// The request was rejected because the specified KMS key cannot decrypt the +// data. The KeyId in a Decrypt request and the SourceKeyId in a ReEncrypt request +// must identify the same KMS key that was used to encrypt the ciphertext. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InvalidKeyUsageException -// The request was rejected for one of the following reasons: +// - InvalidKeyUsageException +// The request was rejected for one of the following reasons: // -// * The KeyUsage value of the KMS key is incompatible with the API operation. +// - The KeyUsage value of the KMS key is incompatible with the API operation. // -// * The encryption algorithm or signing algorithm specified for the operation -// is incompatible with the type of key material in the KMS key (KeySpec). +// - The encryption algorithm or signing algorithm specified for the operation +// is incompatible with the type of key material in the KMS key (KeySpec). // -// For encrypting, decrypting, re-encrypting, and generating data keys, the -// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the -// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication -// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage -// of a KMS key, use the DescribeKey operation. +// For encrypting, decrypting, re-encrypting, and generating data keys, the +// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the +// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication +// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage +// of a KMS key, use the DescribeKey operation. // -// To find the encryption or signing algorithms supported for a particular KMS -// key, use the DescribeKey operation. +// To find the encryption or signing algorithms supported for a particular KMS +// key, use the DescribeKey operation. // -// * InvalidGrantTokenException -// The request was rejected because the specified grant token is not valid. +// - InvalidGrantTokenException +// The request was rejected because the specified grant token is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReEncrypt func (c *KMS) ReEncrypt(input *ReEncryptInput) (*ReEncryptOutput, error) { @@ -6025,14 +6021,13 @@ const opReplicateKey = "ReplicateKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReplicateKeyRequest method. +// req, resp := client.ReplicateKeyRequest(params) // -// // Example sending a request using the ReplicateKeyRequest method. -// req, resp := client.ReplicateKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReplicateKey func (c *KMS) ReplicateKeyRequest(input *ReplicateKeyInput) (req *request.Request, output *ReplicateKeyOutput) { @@ -6123,19 +6118,19 @@ func (c *KMS) ReplicateKeyRequest(input *ReplicateKeyInput) (req *request.Reques // // Required permissions: // -// * kms:ReplicateKey on the primary key (in the primary key's Region). Include -// this permission in the primary key's key policy. +// - kms:ReplicateKey on the primary key (in the primary key's Region). Include +// this permission in the primary key's key policy. // -// * kms:CreateKey in an IAM policy in the replica Region. +// - kms:CreateKey in an IAM policy in the replica Region. // -// * To use the Tags parameter, kms:TagResource in an IAM policy in the replica -// Region. +// - To use the Tags parameter, kms:TagResource in an IAM policy in the replica +// Region. // // Related operations // -// * CreateKey +// - CreateKey // -// * UpdatePrimaryRegion +// - UpdatePrimaryRegion // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6145,48 +6140,49 @@ func (c *KMS) ReplicateKeyRequest(input *ReplicateKeyInput) (req *request.Reques // API operation ReplicateKey for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The request was rejected because it attempted to create a resource that already -// exists. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - AlreadyExistsException +// The request was rejected because it attempted to create a resource that already +// exists. +// +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * LimitExceededException -// The request was rejected because a quota was exceeded. For more information, -// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) -// in the Key Management Service Developer Guide. +// - LimitExceededException +// The request was rejected because a quota was exceeded. For more information, +// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) +// in the Key Management Service Developer Guide. // -// * MalformedPolicyDocumentException -// The request was rejected because the specified policy is not syntactically -// or semantically correct. +// - MalformedPolicyDocumentException +// The request was rejected because the specified policy is not syntactically +// or semantically correct. // -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * TagException -// The request was rejected because one or more tags are not valid. +// - TagException +// The request was rejected because one or more tags are not valid. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ReplicateKey func (c *KMS) ReplicateKey(input *ReplicateKeyInput) (*ReplicateKeyOutput, error) { @@ -6226,14 +6222,13 @@ const opRetireGrant = "RetireGrant" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RetireGrantRequest method. +// req, resp := client.RetireGrantRequest(params) // -// // Example sending a request using the RetireGrantRequest method. -// req, resp := client.RetireGrantRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrant func (c *KMS) RetireGrantRequest(input *RetireGrantInput) (req *request.Request, output *RetireGrantOutput) { @@ -6281,13 +6276,13 @@ func (c *KMS) RetireGrantRequest(input *RetireGrantInput) (req *request.Request, // // Related operations: // -// * CreateGrant +// - CreateGrant // -// * ListGrants +// - ListGrants // -// * ListRetirableGrants +// - ListRetirableGrants // -// * RevokeGrant +// - RevokeGrant // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6297,35 +6292,36 @@ func (c *KMS) RetireGrantRequest(input *RetireGrantInput) (req *request.Request, // API operation RetireGrant for usage and error information. // // Returned Error Types: -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. // -// * InvalidGrantTokenException -// The request was rejected because the specified grant token is not valid. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. +// +// - InvalidGrantTokenException +// The request was rejected because the specified grant token is not valid. // -// * InvalidGrantIdException -// The request was rejected because the specified GrantId is not valid. +// - InvalidGrantIdException +// The request was rejected because the specified GrantId is not valid. // -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RetireGrant func (c *KMS) RetireGrant(input *RetireGrantInput) (*RetireGrantOutput, error) { @@ -6365,14 +6361,13 @@ const opRevokeGrant = "RevokeGrant" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeGrantRequest method. +// req, resp := client.RevokeGrantRequest(params) // -// // Example sending a request using the RevokeGrantRequest method. -// req, resp := client.RevokeGrantRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrant func (c *KMS) RevokeGrantRequest(input *RevokeGrantInput) (req *request.Request, output *RevokeGrantOutput) { @@ -6419,13 +6414,13 @@ func (c *KMS) RevokeGrantRequest(input *RevokeGrantInput) (req *request.Request, // // Related operations: // -// * CreateGrant +// - CreateGrant // -// * ListGrants +// - ListGrants // -// * ListRetirableGrants +// - ListRetirableGrants // -// * RetireGrant +// - RetireGrant // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6435,32 +6430,33 @@ func (c *KMS) RevokeGrantRequest(input *RevokeGrantInput) (req *request.Request, // API operation RevokeGrant for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. +// +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * InvalidGrantIdException -// The request was rejected because the specified GrantId is not valid. +// - InvalidGrantIdException +// The request was rejected because the specified GrantId is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/RevokeGrant func (c *KMS) RevokeGrant(input *RevokeGrantInput) (*RevokeGrantOutput, error) { @@ -6500,14 +6496,13 @@ const opScheduleKeyDeletion = "ScheduleKeyDeletion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ScheduleKeyDeletionRequest method. +// req, resp := client.ScheduleKeyDeletionRequest(params) // -// // Example sending a request using the ScheduleKeyDeletionRequest method. -// req, resp := client.ScheduleKeyDeletionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletion func (c *KMS) ScheduleKeyDeletionRequest(input *ScheduleKeyDeletionInput) (req *request.Request, output *ScheduleKeyDeletionOutput) { @@ -6576,9 +6571,9 @@ func (c *KMS) ScheduleKeyDeletionRequest(input *ScheduleKeyDeletionInput) (req * // // Related operations // -// * CancelKeyDeletion +// - CancelKeyDeletion // -// * DisableKey +// - DisableKey // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6588,29 +6583,30 @@ func (c *KMS) ScheduleKeyDeletionRequest(input *ScheduleKeyDeletionInput) (req * // API operation ScheduleKeyDeletion for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. +// +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/ScheduleKeyDeletion func (c *KMS) ScheduleKeyDeletion(input *ScheduleKeyDeletionInput) (*ScheduleKeyDeletionOutput, error) { @@ -6650,14 +6646,13 @@ const opSign = "Sign" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SignRequest method. +// req, resp := client.SignRequest(params) // -// // Example sending a request using the SignRequest method. -// req, resp := client.SignRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Sign func (c *KMS) SignRequest(input *SignInput) (req *request.Request, output *SignOutput) { @@ -6693,18 +6688,18 @@ func (c *KMS) SignRequest(input *SignInput) (req *request.Request, output *SignO // // To use the Sign operation, provide the following information: // -// * Use the KeyId parameter to identify an asymmetric KMS key with a KeyUsage -// value of SIGN_VERIFY. To get the KeyUsage value of a KMS key, use the -// DescribeKey operation. The caller must have kms:Sign permission on the -// KMS key. +// - Use the KeyId parameter to identify an asymmetric KMS key with a KeyUsage +// value of SIGN_VERIFY. To get the KeyUsage value of a KMS key, use the +// DescribeKey operation. The caller must have kms:Sign permission on the +// KMS key. // -// * Use the Message parameter to specify the message or message digest to -// sign. You can submit messages of up to 4096 bytes. To sign a larger message, -// generate a hash digest of the message, and then provide the hash digest -// in the Message parameter. To indicate whether the message is a full message -// or a digest, use the MessageType parameter. +// - Use the Message parameter to specify the message or message digest to +// sign. You can submit messages of up to 4096 bytes. To sign a larger message, +// generate a hash digest of the message, and then provide the hash digest +// in the Message parameter. To indicate whether the message is a full message +// or a digest, use the MessageType parameter. // -// * Choose a signing algorithm that is compatible with the KMS key. +// - Choose a signing algorithm that is compatible with the KMS key. // // When signing a message, be sure to record the KMS key and the signing algorithm. // This information is required to verify the signature. @@ -6740,52 +6735,53 @@ func (c *KMS) SignRequest(input *SignInput) (req *request.Request, output *SignO // API operation Sign for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. +// +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// * KeyUnavailableException -// The request was rejected because the specified KMS key was not available. -// You can retry the request. +// - KeyUnavailableException +// The request was rejected because the specified KMS key was not available. +// You can retry the request. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InvalidKeyUsageException -// The request was rejected for one of the following reasons: +// - InvalidKeyUsageException +// The request was rejected for one of the following reasons: // -// * The KeyUsage value of the KMS key is incompatible with the API operation. +// - The KeyUsage value of the KMS key is incompatible with the API operation. // -// * The encryption algorithm or signing algorithm specified for the operation -// is incompatible with the type of key material in the KMS key (KeySpec). +// - The encryption algorithm or signing algorithm specified for the operation +// is incompatible with the type of key material in the KMS key (KeySpec). // -// For encrypting, decrypting, re-encrypting, and generating data keys, the -// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the -// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication -// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage -// of a KMS key, use the DescribeKey operation. +// For encrypting, decrypting, re-encrypting, and generating data keys, the +// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the +// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication +// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage +// of a KMS key, use the DescribeKey operation. // -// To find the encryption or signing algorithms supported for a particular KMS -// key, use the DescribeKey operation. +// To find the encryption or signing algorithms supported for a particular KMS +// key, use the DescribeKey operation. // -// * InvalidGrantTokenException -// The request was rejected because the specified grant token is not valid. +// - InvalidGrantTokenException +// The request was rejected because the specified grant token is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Sign func (c *KMS) Sign(input *SignInput) (*SignOutput, error) { @@ -6825,14 +6821,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResource func (c *KMS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -6891,13 +6886,13 @@ func (c *KMS) TagResourceRequest(input *TagResourceInput) (req *request.Request, // // Related operations // -// * CreateKey +// - CreateKey // -// * ListResourceTags +// - ListResourceTags // -// * ReplicateKey +// - ReplicateKey // -// * UntagResource +// - UntagResource // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6907,33 +6902,34 @@ func (c *KMS) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. // -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. +// +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // -// * LimitExceededException -// The request was rejected because a quota was exceeded. For more information, -// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) -// in the Key Management Service Developer Guide. +// - LimitExceededException +// The request was rejected because a quota was exceeded. For more information, +// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) +// in the Key Management Service Developer Guide. // -// * TagException -// The request was rejected because one or more tags are not valid. +// - TagException +// The request was rejected because one or more tags are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/TagResource func (c *KMS) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -6973,14 +6969,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResource func (c *KMS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -7031,13 +7026,13 @@ func (c *KMS) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // // Related operations // -// * CreateKey +// - CreateKey // -// * ListResourceTags +// - ListResourceTags // -// * ReplicateKey +// - ReplicateKey // -// * TagResource +// - TagResource // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7047,28 +7042,29 @@ func (c *KMS) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. // -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// * TagException -// The request was rejected because one or more tags are not valid. +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . +// +// - TagException +// The request was rejected because one or more tags are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UntagResource func (c *KMS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -7108,14 +7104,13 @@ const opUpdateAlias = "UpdateAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAliasRequest method. +// req, resp := client.UpdateAliasRequest(params) // -// // Example sending a request using the UpdateAliasRequest method. -// req, resp := client.UpdateAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAlias func (c *KMS) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Request, output *UpdateAliasOutput) { @@ -7169,25 +7164,25 @@ func (c *KMS) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Request, // // Required permissions // -// * kms:UpdateAlias (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) -// on the alias (IAM policy). +// - kms:UpdateAlias (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) +// on the alias (IAM policy). // -// * kms:UpdateAlias (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) -// on the current KMS key (key policy). +// - kms:UpdateAlias (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) +// on the current KMS key (key policy). // -// * kms:UpdateAlias (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) -// on the new KMS key (key policy). +// - kms:UpdateAlias (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) +// on the new KMS key (key policy). // // For details, see Controlling access to aliases (https://docs.aws.amazon.com/kms/latest/developerguide/kms-alias.html#alias-access) // in the Key Management Service Developer Guide. // // Related operations: // -// * CreateAlias +// - CreateAlias // -// * DeleteAlias +// - DeleteAlias // -// * ListAliases +// - ListAliases // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7197,30 +7192,31 @@ func (c *KMS) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Request, // API operation UpdateAlias for usage and error information. // // Returned Error Types: -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. // -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * LimitExceededException -// The request was rejected because a quota was exceeded. For more information, -// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) -// in the Key Management Service Developer Guide. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - LimitExceededException +// The request was rejected because a quota was exceeded. For more information, +// see Quotas (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html) +// in the Key Management Service Developer Guide. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. +// +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateAlias func (c *KMS) UpdateAlias(input *UpdateAliasInput) (*UpdateAliasOutput, error) { @@ -7260,14 +7256,13 @@ const opUpdateCustomKeyStore = "UpdateCustomKeyStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCustomKeyStoreRequest method. +// req, resp := client.UpdateCustomKeyStoreRequest(params) // -// // Example sending a request using the UpdateCustomKeyStoreRequest method. -// req, resp := client.UpdateCustomKeyStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateCustomKeyStore func (c *KMS) UpdateCustomKeyStoreRequest(input *UpdateCustomKeyStoreInput) (req *request.Request, output *UpdateCustomKeyStoreOutput) { @@ -7302,22 +7297,22 @@ func (c *KMS) UpdateCustomKeyStoreRequest(input *UpdateCustomKeyStoreInput) (req // The CustomKeyStoreId parameter is required in all commands. Use the other // parameters of UpdateCustomKeyStore to edit your key store settings. // -// * Use the NewCustomKeyStoreName parameter to change the friendly name -// of the custom key store to the value that you specify. +// - Use the NewCustomKeyStoreName parameter to change the friendly name +// of the custom key store to the value that you specify. // -// * Use the KeyStorePassword parameter tell KMS the current password of -// the kmsuser crypto user (CU) (https://docs.aws.amazon.com/kms/latest/developerguide/key-store-concepts.html#concept-kmsuser) -// in the associated CloudHSM cluster. You can use this parameter to fix -// connection failures (https://docs.aws.amazon.com/kms/latest/developerguide/fix-keystore.html#fix-keystore-password) -// that occur when KMS cannot log into the associated cluster because the -// kmsuser password has changed. This value does not change the password -// in the CloudHSM cluster. +// - Use the KeyStorePassword parameter tell KMS the current password of +// the kmsuser crypto user (CU) (https://docs.aws.amazon.com/kms/latest/developerguide/key-store-concepts.html#concept-kmsuser) +// in the associated CloudHSM cluster. You can use this parameter to fix +// connection failures (https://docs.aws.amazon.com/kms/latest/developerguide/fix-keystore.html#fix-keystore-password) +// that occur when KMS cannot log into the associated cluster because the +// kmsuser password has changed. This value does not change the password +// in the CloudHSM cluster. // -// * Use the CloudHsmClusterId parameter to associate the custom key store -// with a different, but related, CloudHSM cluster. You can use this parameter -// to repair a custom key store if its CloudHSM cluster becomes corrupted -// or is deleted, or when you need to create or restore a cluster from a -// backup. +// - Use the CloudHsmClusterId parameter to associate the custom key store +// with a different, but related, CloudHSM cluster. You can use this parameter +// to repair a custom key store if its CloudHSM cluster becomes corrupted +// or is deleted, or when you need to create or restore a cluster from a +// backup. // // If the operation succeeds, it returns a JSON object with no properties. // @@ -7333,15 +7328,15 @@ func (c *KMS) UpdateCustomKeyStoreRequest(input *UpdateCustomKeyStoreInput) (req // // Related operations: // -// * ConnectCustomKeyStore +// - ConnectCustomKeyStore // -// * CreateCustomKeyStore +// - CreateCustomKeyStore // -// * DeleteCustomKeyStore +// - DeleteCustomKeyStore // -// * DescribeCustomKeyStores +// - DescribeCustomKeyStores // -// * DisconnectCustomKeyStore +// - DisconnectCustomKeyStore // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7351,93 +7346,94 @@ func (c *KMS) UpdateCustomKeyStoreRequest(input *UpdateCustomKeyStoreInput) (req // API operation UpdateCustomKeyStore for usage and error information. // // Returned Error Types: -// * CustomKeyStoreNotFoundException -// The request was rejected because KMS cannot find a custom key store with -// the specified key store name or ID. -// -// * CustomKeyStoreNameInUseException -// The request was rejected because the specified custom key store name is already -// assigned to another custom key store in the account. Try again with a custom -// key store name that is unique in the account. -// -// * CloudHsmClusterNotFoundException -// The request was rejected because KMS cannot find the CloudHSM cluster with -// the specified cluster ID. Retry the request with a different cluster ID. -// -// * CloudHsmClusterNotRelatedException -// The request was rejected because the specified CloudHSM cluster has a different -// cluster certificate than the original cluster. You cannot use the operation -// to specify an unrelated cluster. -// -// Specify a cluster that shares a backup history with the original cluster. -// This includes clusters that were created from a backup of the current cluster, -// and clusters that were created from the same backup that produced the current -// cluster. -// -// Clusters that share a backup history have the same cluster certificate. To -// view the cluster certificate of a cluster, use the DescribeClusters (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html) -// operation. -// -// * CustomKeyStoreInvalidStateException -// The request was rejected because of the ConnectionState of the custom key -// store. To get the ConnectionState of a custom key store, use the DescribeCustomKeyStores -// operation. -// -// This exception is thrown under the following conditions: -// -// * You requested the CreateKey or GenerateRandom operation in a custom -// key store that is not connected. These operations are valid only when -// the custom key store ConnectionState is CONNECTED. -// -// * You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation -// on a custom key store that is not disconnected. This operation is valid -// only when the custom key store ConnectionState is DISCONNECTED. -// -// * You requested the ConnectCustomKeyStore operation on a custom key store -// with a ConnectionState of DISCONNECTING or FAILED. This operation is valid -// for all other ConnectionState values. -// -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. -// -// * CloudHsmClusterNotActiveException -// The request was rejected because the CloudHSM cluster that is associated -// with the custom key store is not active. Initialize and activate the cluster -// and try the command again. For detailed instructions, see Getting Started -// (https://docs.aws.amazon.com/cloudhsm/latest/userguide/getting-started.html) -// in the CloudHSM User Guide. -// -// * CloudHsmClusterInvalidConfigurationException -// The request was rejected because the associated CloudHSM cluster did not -// meet the configuration requirements for a custom key store. -// -// * The cluster must be configured with private subnets in at least two -// different Availability Zones in the Region. -// -// * The security group for the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) -// (cloudhsm-cluster--sg) must include inbound rules and outbound -// rules that allow TCP traffic on ports 2223-2225. The Source in the inbound -// rules and the Destination in the outbound rules must match the security -// group ID. These rules are set by default when you create the cluster. -// Do not delete or change them. To get information about a particular security -// group, use the DescribeSecurityGroups (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html) -// operation. -// -// * The cluster must contain at least as many HSMs as the operation requires. -// To add HSMs, use the CloudHSM CreateHsm (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_CreateHsm.html) -// operation. For the CreateCustomKeyStore, UpdateCustomKeyStore, and CreateKey -// operations, the CloudHSM cluster must have at least two active HSMs, each -// in a different Availability Zone. For the ConnectCustomKeyStore operation, -// the CloudHSM must contain at least one active HSM. -// -// For information about the requirements for an CloudHSM cluster that is associated -// with a custom key store, see Assemble the Prerequisites (https://docs.aws.amazon.com/kms/latest/developerguide/create-keystore.html#before-keystore) -// in the Key Management Service Developer Guide. For information about creating -// a private subnet for an CloudHSM cluster, see Create a Private Subnet (https://docs.aws.amazon.com/cloudhsm/latest/userguide/create-subnets.html) -// in the CloudHSM User Guide. For information about cluster security groups, -// see Configure a Default Security Group (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) -// in the CloudHSM User Guide . +// +// - CustomKeyStoreNotFoundException +// The request was rejected because KMS cannot find a custom key store with +// the specified key store name or ID. +// +// - CustomKeyStoreNameInUseException +// The request was rejected because the specified custom key store name is already +// assigned to another custom key store in the account. Try again with a custom +// key store name that is unique in the account. +// +// - CloudHsmClusterNotFoundException +// The request was rejected because KMS cannot find the CloudHSM cluster with +// the specified cluster ID. Retry the request with a different cluster ID. +// +// - CloudHsmClusterNotRelatedException +// The request was rejected because the specified CloudHSM cluster has a different +// cluster certificate than the original cluster. You cannot use the operation +// to specify an unrelated cluster. +// +// Specify a cluster that shares a backup history with the original cluster. +// This includes clusters that were created from a backup of the current cluster, +// and clusters that were created from the same backup that produced the current +// cluster. +// +// Clusters that share a backup history have the same cluster certificate. To +// view the cluster certificate of a cluster, use the DescribeClusters (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_DescribeClusters.html) +// operation. +// +// - CustomKeyStoreInvalidStateException +// The request was rejected because of the ConnectionState of the custom key +// store. To get the ConnectionState of a custom key store, use the DescribeCustomKeyStores +// operation. +// +// This exception is thrown under the following conditions: +// +// - You requested the CreateKey or GenerateRandom operation in a custom +// key store that is not connected. These operations are valid only when +// the custom key store ConnectionState is CONNECTED. +// +// - You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation +// on a custom key store that is not disconnected. This operation is valid +// only when the custom key store ConnectionState is DISCONNECTED. +// +// - You requested the ConnectCustomKeyStore operation on a custom key store +// with a ConnectionState of DISCONNECTING or FAILED. This operation is valid +// for all other ConnectionState values. +// +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. +// +// - CloudHsmClusterNotActiveException +// The request was rejected because the CloudHSM cluster that is associated +// with the custom key store is not active. Initialize and activate the cluster +// and try the command again. For detailed instructions, see Getting Started +// (https://docs.aws.amazon.com/cloudhsm/latest/userguide/getting-started.html) +// in the CloudHSM User Guide. +// +// - CloudHsmClusterInvalidConfigurationException +// The request was rejected because the associated CloudHSM cluster did not +// meet the configuration requirements for a custom key store. +// +// - The cluster must be configured with private subnets in at least two +// different Availability Zones in the Region. +// +// - The security group for the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) +// (cloudhsm-cluster--sg) must include inbound rules and outbound +// rules that allow TCP traffic on ports 2223-2225. The Source in the inbound +// rules and the Destination in the outbound rules must match the security +// group ID. These rules are set by default when you create the cluster. +// Do not delete or change them. To get information about a particular security +// group, use the DescribeSecurityGroups (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html) +// operation. +// +// - The cluster must contain at least as many HSMs as the operation requires. +// To add HSMs, use the CloudHSM CreateHsm (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_CreateHsm.html) +// operation. For the CreateCustomKeyStore, UpdateCustomKeyStore, and CreateKey +// operations, the CloudHSM cluster must have at least two active HSMs, each +// in a different Availability Zone. For the ConnectCustomKeyStore operation, +// the CloudHSM must contain at least one active HSM. +// +// For information about the requirements for an CloudHSM cluster that is associated +// with a custom key store, see Assemble the Prerequisites (https://docs.aws.amazon.com/kms/latest/developerguide/create-keystore.html#before-keystore) +// in the Key Management Service Developer Guide. For information about creating +// a private subnet for an CloudHSM cluster, see Create a Private Subnet (https://docs.aws.amazon.com/cloudhsm/latest/userguide/create-subnets.html) +// in the CloudHSM User Guide. For information about cluster security groups, +// see Configure a Default Security Group (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) +// in the CloudHSM User Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateCustomKeyStore func (c *KMS) UpdateCustomKeyStore(input *UpdateCustomKeyStoreInput) (*UpdateCustomKeyStoreOutput, error) { @@ -7477,14 +7473,13 @@ const opUpdateKeyDescription = "UpdateKeyDescription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateKeyDescriptionRequest method. +// req, resp := client.UpdateKeyDescriptionRequest(params) // -// // Example sending a request using the UpdateKeyDescriptionRequest method. -// req, resp := client.UpdateKeyDescriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescription func (c *KMS) UpdateKeyDescriptionRequest(input *UpdateKeyDescriptionInput) (req *request.Request, output *UpdateKeyDescriptionOutput) { @@ -7521,9 +7516,9 @@ func (c *KMS) UpdateKeyDescriptionRequest(input *UpdateKeyDescriptionInput) (req // // Related operations // -// * CreateKey +// - CreateKey // -// * DescribeKey +// - DescribeKey // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7533,29 +7528,30 @@ func (c *KMS) UpdateKeyDescriptionRequest(input *UpdateKeyDescriptionInput) (req // API operation UpdateKeyDescription for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. +// +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdateKeyDescription func (c *KMS) UpdateKeyDescription(input *UpdateKeyDescriptionInput) (*UpdateKeyDescriptionOutput, error) { @@ -7595,14 +7591,13 @@ const opUpdatePrimaryRegion = "UpdatePrimaryRegion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePrimaryRegionRequest method. +// req, resp := client.UpdatePrimaryRegionRequest(params) // -// // Example sending a request using the UpdatePrimaryRegionRequest method. -// req, resp := client.UpdatePrimaryRegionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdatePrimaryRegion func (c *KMS) UpdatePrimaryRegionRequest(input *UpdatePrimaryRegionInput) (req *request.Request, output *UpdatePrimaryRegionOutput) { @@ -7683,17 +7678,17 @@ func (c *KMS) UpdatePrimaryRegionRequest(input *UpdatePrimaryRegionInput) (req * // // Required permissions: // -// * kms:UpdatePrimaryRegion on the current primary key (in the primary key's -// Region). Include this permission primary key's key policy. +// - kms:UpdatePrimaryRegion on the current primary key (in the primary key's +// Region). Include this permission primary key's key policy. // -// * kms:UpdatePrimaryRegion on the current replica key (in the replica key's -// Region). Include this permission in the replica key's key policy. +// - kms:UpdatePrimaryRegion on the current replica key (in the replica key's +// Region). Include this permission in the replica key's key policy. // // Related operations // -// * CreateKey +// - CreateKey // -// * ReplicateKey +// - ReplicateKey // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7703,32 +7698,33 @@ func (c *KMS) UpdatePrimaryRegionRequest(input *UpdatePrimaryRegionInput) (req * // API operation UpdatePrimaryRegion for usage and error information. // // Returned Error Types: -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. // -// * InvalidArnException -// The request was rejected because a specified ARN, or an ARN in a key policy, -// is not valid. +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. +// +// - InvalidArnException +// The request was rejected because a specified ARN, or an ARN in a key policy, +// is not valid. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * UnsupportedOperationException -// The request was rejected because a specified parameter is not supported or -// a specified resource is not valid for this operation. +// - UnsupportedOperationException +// The request was rejected because a specified parameter is not supported or +// a specified resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/UpdatePrimaryRegion func (c *KMS) UpdatePrimaryRegion(input *UpdatePrimaryRegionInput) (*UpdatePrimaryRegionOutput, error) { @@ -7768,14 +7764,13 @@ const opVerify = "Verify" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the VerifyRequest method. +// req, resp := client.VerifyRequest(params) // -// // Example sending a request using the VerifyRequest method. -// req, resp := client.VerifyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Verify func (c *KMS) VerifyRequest(input *VerifyInput) (req *request.Request, output *VerifyOutput) { @@ -7844,57 +7839,58 @@ func (c *KMS) VerifyRequest(input *VerifyInput) (req *request.Request, output *V // API operation Verify for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. // -// * KeyUnavailableException -// The request was rejected because the specified KMS key was not available. -// You can retry the request. +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// * DependencyTimeoutException -// The system timed out while trying to fulfill the request. The request can -// be retried. +// - KeyUnavailableException +// The request was rejected because the specified KMS key was not available. +// You can retry the request. // -// * InvalidKeyUsageException -// The request was rejected for one of the following reasons: +// - DependencyTimeoutException +// The system timed out while trying to fulfill the request. The request can +// be retried. // -// * The KeyUsage value of the KMS key is incompatible with the API operation. +// - InvalidKeyUsageException +// The request was rejected for one of the following reasons: // -// * The encryption algorithm or signing algorithm specified for the operation -// is incompatible with the type of key material in the KMS key (KeySpec). +// - The KeyUsage value of the KMS key is incompatible with the API operation. // -// For encrypting, decrypting, re-encrypting, and generating data keys, the -// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the -// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication -// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage -// of a KMS key, use the DescribeKey operation. +// - The encryption algorithm or signing algorithm specified for the operation +// is incompatible with the type of key material in the KMS key (KeySpec). // -// To find the encryption or signing algorithms supported for a particular KMS -// key, use the DescribeKey operation. +// For encrypting, decrypting, re-encrypting, and generating data keys, the +// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the +// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication +// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage +// of a KMS key, use the DescribeKey operation. // -// * InvalidGrantTokenException -// The request was rejected because the specified grant token is not valid. +// To find the encryption or signing algorithms supported for a particular KMS +// key, use the DescribeKey operation. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InvalidGrantTokenException +// The request was rejected because the specified grant token is not valid. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// * KMSInvalidSignatureException -// The request was rejected because the signature verification failed. Signature -// verification fails when it cannot confirm that signature was produced by -// signing the specified message with the specified KMS key and signing algorithm. +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . +// +// - KMSInvalidSignatureException +// The request was rejected because the signature verification failed. Signature +// verification fails when it cannot confirm that signature was produced by +// signing the specified message with the specified KMS key and signing algorithm. // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/Verify func (c *KMS) Verify(input *VerifyInput) (*VerifyOutput, error) { @@ -7934,14 +7930,13 @@ const opVerifyMac = "VerifyMac" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the VerifyMacRequest method. +// req, resp := client.VerifyMacRequest(params) // -// // Example sending a request using the VerifyMacRequest method. -// req, resp := client.VerifyMacRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/VerifyMac func (c *KMS) VerifyMacRequest(input *VerifyMacInput) (req *request.Request, output *VerifyMacOutput) { @@ -7996,53 +7991,54 @@ func (c *KMS) VerifyMacRequest(input *VerifyMacInput) (req *request.Request, out // API operation VerifyMac for usage and error information. // // Returned Error Types: -// * NotFoundException -// The request was rejected because the specified entity or resource could not -// be found. // -// * DisabledException -// The request was rejected because the specified KMS key is not enabled. +// - NotFoundException +// The request was rejected because the specified entity or resource could not +// be found. +// +// - DisabledException +// The request was rejected because the specified KMS key is not enabled. // -// * KeyUnavailableException -// The request was rejected because the specified KMS key was not available. -// You can retry the request. +// - KeyUnavailableException +// The request was rejected because the specified KMS key was not available. +// You can retry the request. // -// * InvalidKeyUsageException -// The request was rejected for one of the following reasons: +// - InvalidKeyUsageException +// The request was rejected for one of the following reasons: // -// * The KeyUsage value of the KMS key is incompatible with the API operation. +// - The KeyUsage value of the KMS key is incompatible with the API operation. // -// * The encryption algorithm or signing algorithm specified for the operation -// is incompatible with the type of key material in the KMS key (KeySpec). +// - The encryption algorithm or signing algorithm specified for the operation +// is incompatible with the type of key material in the KMS key (KeySpec). // -// For encrypting, decrypting, re-encrypting, and generating data keys, the -// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the -// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication -// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage -// of a KMS key, use the DescribeKey operation. +// For encrypting, decrypting, re-encrypting, and generating data keys, the +// KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the +// KeyUsage must be SIGN_VERIFY. For generating and verifying message authentication +// codes (MACs), the KeyUsage must be GENERATE_VERIFY_MAC. To find the KeyUsage +// of a KMS key, use the DescribeKey operation. // -// To find the encryption or signing algorithms supported for a particular KMS -// key, use the DescribeKey operation. +// To find the encryption or signing algorithms supported for a particular KMS +// key, use the DescribeKey operation. // -// * InvalidGrantTokenException -// The request was rejected because the specified grant token is not valid. +// - InvalidGrantTokenException +// The request was rejected because the specified grant token is not valid. // -// * InternalException -// The request was rejected because an internal exception occurred. The request -// can be retried. +// - InternalException +// The request was rejected because an internal exception occurred. The request +// can be retried. // -// * KMSInvalidMacException -// The request was rejected because the HMAC verification failed. HMAC verification -// fails when the HMAC computed by using the specified message, HMAC KMS key, -// and MAC algorithm does not match the HMAC specified in the request. +// - KMSInvalidMacException +// The request was rejected because the HMAC verification failed. HMAC verification +// fails when the HMAC computed by using the specified message, HMAC KMS key, +// and MAC algorithm does not match the HMAC specified in the request. // -// * InvalidStateException -// The request was rejected because the state of the specified resource is not -// valid for this request. +// - InvalidStateException +// The request was rejected because the state of the specified resource is not +// valid for this request. // -// For more information about how key state affects the use of a KMS key, see -// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide . +// For more information about how key state affects the use of a KMS key, see +// Key states of KMS keys (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide . // // See also, https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01/VerifyMac func (c *KMS) VerifyMac(input *VerifyMacInput) (*VerifyMacOutput, error) { @@ -8367,24 +8363,24 @@ func (s *CloudHsmClusterInUseException) RequestID() string { // The request was rejected because the associated CloudHSM cluster did not // meet the configuration requirements for a custom key store. // -// * The cluster must be configured with private subnets in at least two -// different Availability Zones in the Region. -// -// * The security group for the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) -// (cloudhsm-cluster--sg) must include inbound rules and outbound -// rules that allow TCP traffic on ports 2223-2225. The Source in the inbound -// rules and the Destination in the outbound rules must match the security -// group ID. These rules are set by default when you create the cluster. -// Do not delete or change them. To get information about a particular security -// group, use the DescribeSecurityGroups (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html) -// operation. -// -// * The cluster must contain at least as many HSMs as the operation requires. -// To add HSMs, use the CloudHSM CreateHsm (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_CreateHsm.html) -// operation. For the CreateCustomKeyStore, UpdateCustomKeyStore, and CreateKey -// operations, the CloudHSM cluster must have at least two active HSMs, each -// in a different Availability Zone. For the ConnectCustomKeyStore operation, -// the CloudHSM must contain at least one active HSM. +// - The cluster must be configured with private subnets in at least two +// different Availability Zones in the Region. +// +// - The security group for the cluster (https://docs.aws.amazon.com/cloudhsm/latest/userguide/configure-sg.html) +// (cloudhsm-cluster--sg) must include inbound rules and outbound +// rules that allow TCP traffic on ports 2223-2225. The Source in the inbound +// rules and the Destination in the outbound rules must match the security +// group ID. These rules are set by default when you create the cluster. +// Do not delete or change them. To get information about a particular security +// group, use the DescribeSecurityGroups (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html) +// operation. +// +// - The cluster must contain at least as many HSMs as the operation requires. +// To add HSMs, use the CloudHSM CreateHsm (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/API_CreateHsm.html) +// operation. For the CreateCustomKeyStore, UpdateCustomKeyStore, and CreateKey +// operations, the CloudHSM cluster must have at least two active HSMs, each +// in a different Availability Zone. For the ConnectCustomKeyStore operation, +// the CloudHSM must contain at least one active HSM. // // For information about the requirements for an CloudHSM cluster that is associated // with a custom key store, see Assemble the Prerequisites (https://docs.aws.amazon.com/kms/latest/developerguide/create-keystore.html#before-keystore) @@ -9672,17 +9668,17 @@ func (s *CustomKeyStoreHasCMKsException) RequestID() string { // // This exception is thrown under the following conditions: // -// * You requested the CreateKey or GenerateRandom operation in a custom -// key store that is not connected. These operations are valid only when -// the custom key store ConnectionState is CONNECTED. +// - You requested the CreateKey or GenerateRandom operation in a custom +// key store that is not connected. These operations are valid only when +// the custom key store ConnectionState is CONNECTED. // -// * You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation -// on a custom key store that is not disconnected. This operation is valid -// only when the custom key store ConnectionState is DISCONNECTED. +// - You requested the UpdateCustomKeyStore or DeleteCustomKeyStore operation +// on a custom key store that is not disconnected. This operation is valid +// only when the custom key store ConnectionState is DISCONNECTED. // -// * You requested the ConnectCustomKeyStore operation on a custom key store -// with a ConnectionState of DISCONNECTING or FAILED. This operation is valid -// for all other ConnectionState values. +// - You requested the ConnectCustomKeyStore operation on a custom key store +// with a ConnectionState of DISCONNECTING or FAILED. This operation is valid +// for all other ConnectionState values. type CustomKeyStoreInvalidStateException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -14093,10 +14089,10 @@ func (s *InvalidImportTokenException) RequestID() string { // The request was rejected for one of the following reasons: // -// * The KeyUsage value of the KMS key is incompatible with the API operation. +// - The KeyUsage value of the KMS key is incompatible with the API operation. // -// * The encryption algorithm or signing algorithm specified for the operation -// is incompatible with the type of key material in the KMS key (KeySpec). +// - The encryption algorithm or signing algorithm specified for the operation +// is incompatible with the type of key material in the KMS key (KeySpec). // // For encrypting, decrypting, re-encrypting, and generating data keys, the // KeyUsage must be ENCRYPT_DECRYPT. For signing and verifying messages, the diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/doc.go index 17008d7526e5..d926e08e6856 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/doc.go @@ -36,7 +36,7 @@ // such as Ephemeral Diffie-Hellman (DHE) or Elliptic Curve Ephemeral Diffie-Hellman // (ECDHE). Most modern systems such as Java 7 and later support these modes. // -// Signing Requests +// # Signing Requests // // Requests must be signed by using an access key ID and a secret access key. // We strongly recommend that you do not use your Amazon Web Services account @@ -47,7 +47,7 @@ // // All KMS operations require Signature Version 4 (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). // -// Logging API Requests +// # Logging API Requests // // KMS supports CloudTrail, a service that logs Amazon Web Services API calls // and related events for your Amazon Web Services account and delivers them @@ -57,42 +57,45 @@ // including how to turn it on and find your log files, see the CloudTrail User // Guide (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/). // -// Additional Resources +// # Additional Resources // // For more information about credentials and request signing, see the following: // -// * Amazon Web Services Security Credentials (https://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html) -// - This topic provides general information about the types of credentials -// used to access Amazon Web Services. +// - Amazon Web Services Security Credentials (https://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html) // -// * Temporary Security Credentials (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html) -// - This section of the IAM User Guide describes how to create and use temporary -// security credentials. +// - This topic provides general information about the types of credentials +// used to access Amazon Web Services. // -// * Signature Version 4 Signing Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) -// - This set of topics walks you through the process of signing a request -// using an access key ID and a secret access key. +// - Temporary Security Credentials (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp.html) // -// Commonly Used API Operations +// - This section of the IAM User Guide describes how to create and use temporary +// security credentials. +// +// - Signature Version 4 Signing Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) +// +// - This set of topics walks you through the process of signing a request +// using an access key ID and a secret access key. +// +// # Commonly Used API Operations // // Of the API operations discussed in this guide, the following will prove the // most useful for most applications. You will likely perform operations other // than these, such as creating keys and assigning policies, by using the console. // -// * Encrypt +// - Encrypt // -// * Decrypt +// - Decrypt // -// * GenerateDataKey +// - GenerateDataKey // -// * GenerateDataKeyWithoutPlaintext +// - GenerateDataKeyWithoutPlaintext // // See https://docs.aws.amazon.com/goto/WebAPI/kms-2014-11-01 for more information on this service. // // See kms package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/kms/ // -// Using the Client +// # Using the Client // // To contact AWS Key Management Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/kmsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/kmsiface/interface.go index ee838448b051..04282121460b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/kmsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/kmsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Key Management Service. -// func myFunc(svc kmsiface.KMSAPI) bool { -// // Make svc.CancelKeyDeletion request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Key Management Service. +// func myFunc(svc kmsiface.KMSAPI) bool { +// // Make svc.CancelKeyDeletion request +// } // -// func main() { -// sess := session.New() -// svc := kms.New(sess) +// func main() { +// sess := session.New() +// svc := kms.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockKMSClient struct { -// kmsiface.KMSAPI -// } -// func (m *mockKMSClient) CancelKeyDeletion(input *kms.CancelKeyDeletionInput) (*kms.CancelKeyDeletionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockKMSClient struct { +// kmsiface.KMSAPI +// } +// func (m *mockKMSClient) CancelKeyDeletion(input *kms.CancelKeyDeletionInput) (*kms.CancelKeyDeletionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockKMSClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockKMSClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/service.go index 673424a17a7d..67485e8a681d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/kms/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a KMS client from just a session. -// svc := kms.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a KMS client with additional configuration -// svc := kms.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a KMS client from just a session. +// svc := kms.New(mySession) +// +// // Create a KMS client with additional configuration +// svc := kms.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *KMS { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/api.go index 7abbcbb433e1..e42813ca154a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/api.go @@ -30,14 +30,13 @@ const opAddLFTagsToResource = "AddLFTagsToResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddLFTagsToResourceRequest method. +// req, resp := client.AddLFTagsToResourceRequest(params) // -// // Example sending a request using the AddLFTagsToResourceRequest method. -// req, resp := client.AddLFTagsToResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/AddLFTagsToResource func (c *LakeFormation) AddLFTagsToResourceRequest(input *AddLFTagsToResourceInput) (req *request.Request, output *AddLFTagsToResourceOutput) { @@ -68,23 +67,24 @@ func (c *LakeFormation) AddLFTagsToResourceRequest(input *AddLFTagsToResourceInp // API operation AddLFTagsToResource for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/AddLFTagsToResource func (c *LakeFormation) AddLFTagsToResource(input *AddLFTagsToResourceInput) (*AddLFTagsToResourceOutput, error) { @@ -124,14 +124,13 @@ const opBatchGrantPermissions = "BatchGrantPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGrantPermissionsRequest method. +// req, resp := client.BatchGrantPermissionsRequest(params) // -// // Example sending a request using the BatchGrantPermissionsRequest method. -// req, resp := client.BatchGrantPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/BatchGrantPermissions func (c *LakeFormation) BatchGrantPermissionsRequest(input *BatchGrantPermissionsInput) (req *request.Request, output *BatchGrantPermissionsOutput) { @@ -162,11 +161,12 @@ func (c *LakeFormation) BatchGrantPermissionsRequest(input *BatchGrantPermission // API operation BatchGrantPermissions for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/BatchGrantPermissions func (c *LakeFormation) BatchGrantPermissions(input *BatchGrantPermissionsInput) (*BatchGrantPermissionsOutput, error) { @@ -206,14 +206,13 @@ const opBatchRevokePermissions = "BatchRevokePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchRevokePermissionsRequest method. +// req, resp := client.BatchRevokePermissionsRequest(params) // -// // Example sending a request using the BatchRevokePermissionsRequest method. -// req, resp := client.BatchRevokePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/BatchRevokePermissions func (c *LakeFormation) BatchRevokePermissionsRequest(input *BatchRevokePermissionsInput) (req *request.Request, output *BatchRevokePermissionsOutput) { @@ -244,11 +243,12 @@ func (c *LakeFormation) BatchRevokePermissionsRequest(input *BatchRevokePermissi // API operation BatchRevokePermissions for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/BatchRevokePermissions func (c *LakeFormation) BatchRevokePermissions(input *BatchRevokePermissionsInput) (*BatchRevokePermissionsOutput, error) { @@ -288,14 +288,13 @@ const opCancelTransaction = "CancelTransaction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelTransactionRequest method. +// req, resp := client.CancelTransactionRequest(params) // -// // Example sending a request using the CancelTransactionRequest method. -// req, resp := client.CancelTransactionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CancelTransaction func (c *LakeFormation) CancelTransactionRequest(input *CancelTransactionInput) (req *request.Request, output *CancelTransactionOutput) { @@ -328,28 +327,29 @@ func (c *LakeFormation) CancelTransactionRequest(input *CancelTransactionInput) // API operation CancelTransaction for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * TransactionCommittedException -// Contains details about an error where the specified transaction has already -// been committed and cannot be used for UpdateTableObjects. +// - OperationTimeoutException +// The operation timed out. // -// * TransactionCommitInProgressException -// Contains details about an error related to a transaction commit that was -// in progress. +// - TransactionCommittedException +// Contains details about an error where the specified transaction has already +// been committed and cannot be used for UpdateTableObjects. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - TransactionCommitInProgressException +// Contains details about an error related to a transaction commit that was +// in progress. +// +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CancelTransaction func (c *LakeFormation) CancelTransaction(input *CancelTransactionInput) (*CancelTransactionOutput, error) { @@ -389,14 +389,13 @@ const opCommitTransaction = "CommitTransaction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CommitTransactionRequest method. +// req, resp := client.CommitTransactionRequest(params) // -// // Example sending a request using the CommitTransactionRequest method. -// req, resp := client.CommitTransactionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CommitTransaction func (c *LakeFormation) CommitTransactionRequest(input *CommitTransactionInput) (req *request.Request, output *CommitTransactionOutput) { @@ -429,23 +428,24 @@ func (c *LakeFormation) CommitTransactionRequest(input *CommitTransactionInput) // API operation CommitTransaction for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * TransactionCanceledException -// Contains details about an error related to a transaction that was cancelled. +// - TransactionCanceledException +// Contains details about an error related to a transaction that was cancelled. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CommitTransaction func (c *LakeFormation) CommitTransaction(input *CommitTransactionInput) (*CommitTransactionOutput, error) { @@ -485,14 +485,13 @@ const opCreateDataCellsFilter = "CreateDataCellsFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataCellsFilterRequest method. +// req, resp := client.CreateDataCellsFilterRequest(params) // -// // Example sending a request using the CreateDataCellsFilterRequest method. -// req, resp := client.CreateDataCellsFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CreateDataCellsFilter func (c *LakeFormation) CreateDataCellsFilterRequest(input *CreateDataCellsFilterInput) (req *request.Request, output *CreateDataCellsFilterOutput) { @@ -525,26 +524,27 @@ func (c *LakeFormation) CreateDataCellsFilterRequest(input *CreateDataCellsFilte // API operation CreateDataCellsFilter for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// A resource to be created or added already exists. // -// * InvalidInputException -// The input provided was not valid. +// - AlreadyExistsException +// A resource to be created or added already exists. +// +// - InvalidInputException +// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CreateDataCellsFilter func (c *LakeFormation) CreateDataCellsFilter(input *CreateDataCellsFilterInput) (*CreateDataCellsFilterOutput, error) { @@ -584,14 +584,13 @@ const opCreateLFTag = "CreateLFTag" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLFTagRequest method. +// req, resp := client.CreateLFTagRequest(params) // -// // Example sending a request using the CreateLFTagRequest method. -// req, resp := client.CreateLFTagRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CreateLFTag func (c *LakeFormation) CreateLFTagRequest(input *CreateLFTagInput) (req *request.Request, output *CreateLFTagOutput) { @@ -623,23 +622,24 @@ func (c *LakeFormation) CreateLFTagRequest(input *CreateLFTagInput) (req *reques // API operation CreateLFTag for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * AccessDeniedException -// Access to a resource was denied. +// - OperationTimeoutException +// The operation timed out. +// +// - AccessDeniedException +// Access to a resource was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/CreateLFTag func (c *LakeFormation) CreateLFTag(input *CreateLFTagInput) (*CreateLFTagOutput, error) { @@ -679,14 +679,13 @@ const opDeleteDataCellsFilter = "DeleteDataCellsFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDataCellsFilterRequest method. +// req, resp := client.DeleteDataCellsFilterRequest(params) // -// // Example sending a request using the DeleteDataCellsFilterRequest method. -// req, resp := client.DeleteDataCellsFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeleteDataCellsFilter func (c *LakeFormation) DeleteDataCellsFilterRequest(input *DeleteDataCellsFilterInput) (req *request.Request, output *DeleteDataCellsFilterOutput) { @@ -718,20 +717,21 @@ func (c *LakeFormation) DeleteDataCellsFilterRequest(input *DeleteDataCellsFilte // API operation DeleteDataCellsFilter for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeleteDataCellsFilter func (c *LakeFormation) DeleteDataCellsFilter(input *DeleteDataCellsFilterInput) (*DeleteDataCellsFilterOutput, error) { @@ -771,14 +771,13 @@ const opDeleteLFTag = "DeleteLFTag" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLFTagRequest method. +// req, resp := client.DeleteLFTagRequest(params) // -// // Example sending a request using the DeleteLFTagRequest method. -// req, resp := client.DeleteLFTagRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeleteLFTag func (c *LakeFormation) DeleteLFTagRequest(input *DeleteLFTagInput) (req *request.Request, output *DeleteLFTagOutput) { @@ -815,20 +814,21 @@ func (c *LakeFormation) DeleteLFTagRequest(input *DeleteLFTagInput) (req *reques // API operation DeleteLFTag for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeleteLFTag func (c *LakeFormation) DeleteLFTag(input *DeleteLFTagInput) (*DeleteLFTagOutput, error) { @@ -868,14 +868,13 @@ const opDeleteObjectsOnCancel = "DeleteObjectsOnCancel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteObjectsOnCancelRequest method. +// req, resp := client.DeleteObjectsOnCancelRequest(params) // -// // Example sending a request using the DeleteObjectsOnCancelRequest method. -// req, resp := client.DeleteObjectsOnCancelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeleteObjectsOnCancel func (c *LakeFormation) DeleteObjectsOnCancelRequest(input *DeleteObjectsOnCancelInput) (req *request.Request, output *DeleteObjectsOnCancelOutput) { @@ -914,31 +913,32 @@ func (c *LakeFormation) DeleteObjectsOnCancelRequest(input *DeleteObjectsOnCance // API operation DeleteObjectsOnCancel for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - OperationTimeoutException +// The operation timed out. // -// * TransactionCommittedException -// Contains details about an error where the specified transaction has already -// been committed and cannot be used for UpdateTableObjects. +// - EntityNotFoundException +// A specified entity does not exist // -// * TransactionCanceledException -// Contains details about an error related to a transaction that was cancelled. +// - TransactionCommittedException +// Contains details about an error where the specified transaction has already +// been committed and cannot be used for UpdateTableObjects. // -// * ResourceNotReadyException -// Contains details about an error related to a resource which is not ready -// for a transaction. +// - TransactionCanceledException +// Contains details about an error related to a transaction that was cancelled. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ResourceNotReadyException +// Contains details about an error related to a resource which is not ready +// for a transaction. +// +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeleteObjectsOnCancel func (c *LakeFormation) DeleteObjectsOnCancel(input *DeleteObjectsOnCancelInput) (*DeleteObjectsOnCancelOutput, error) { @@ -978,14 +978,13 @@ const opDeregisterResource = "DeregisterResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterResourceRequest method. +// req, resp := client.DeregisterResourceRequest(params) // -// // Example sending a request using the DeregisterResourceRequest method. -// req, resp := client.DeregisterResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeregisterResource func (c *LakeFormation) DeregisterResourceRequest(input *DeregisterResourceInput) (req *request.Request, output *DeregisterResourceOutput) { @@ -1020,17 +1019,18 @@ func (c *LakeFormation) DeregisterResourceRequest(input *DeregisterResourceInput // API operation DeregisterResource for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DeregisterResource func (c *LakeFormation) DeregisterResource(input *DeregisterResourceInput) (*DeregisterResourceOutput, error) { @@ -1070,14 +1070,13 @@ const opDescribeResource = "DescribeResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeResourceRequest method. +// req, resp := client.DescribeResourceRequest(params) // -// // Example sending a request using the DescribeResourceRequest method. -// req, resp := client.DescribeResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DescribeResource func (c *LakeFormation) DescribeResourceRequest(input *DescribeResourceInput) (req *request.Request, output *DescribeResourceOutput) { @@ -1109,17 +1108,18 @@ func (c *LakeFormation) DescribeResourceRequest(input *DescribeResourceInput) (r // API operation DescribeResource for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DescribeResource func (c *LakeFormation) DescribeResource(input *DescribeResourceInput) (*DescribeResourceOutput, error) { @@ -1159,14 +1159,13 @@ const opDescribeTransaction = "DescribeTransaction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTransactionRequest method. +// req, resp := client.DescribeTransactionRequest(params) // -// // Example sending a request using the DescribeTransactionRequest method. -// req, resp := client.DescribeTransactionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DescribeTransaction func (c *LakeFormation) DescribeTransactionRequest(input *DescribeTransactionInput) (req *request.Request, output *DescribeTransactionOutput) { @@ -1197,17 +1196,18 @@ func (c *LakeFormation) DescribeTransactionRequest(input *DescribeTransactionInp // API operation DescribeTransaction for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/DescribeTransaction func (c *LakeFormation) DescribeTransaction(input *DescribeTransactionInput) (*DescribeTransactionOutput, error) { @@ -1247,14 +1247,13 @@ const opExtendTransaction = "ExtendTransaction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExtendTransactionRequest method. +// req, resp := client.ExtendTransactionRequest(params) // -// // Example sending a request using the ExtendTransactionRequest method. -// req, resp := client.ExtendTransactionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ExtendTransaction func (c *LakeFormation) ExtendTransactionRequest(input *ExtendTransactionInput) (req *request.Request, output *ExtendTransactionOutput) { @@ -1290,28 +1289,29 @@ func (c *LakeFormation) ExtendTransactionRequest(input *ExtendTransactionInput) // API operation ExtendTransaction for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * TransactionCommittedException -// Contains details about an error where the specified transaction has already -// been committed and cannot be used for UpdateTableObjects. +// - OperationTimeoutException +// The operation timed out. // -// * TransactionCanceledException -// Contains details about an error related to a transaction that was cancelled. +// - TransactionCommittedException +// Contains details about an error where the specified transaction has already +// been committed and cannot be used for UpdateTableObjects. // -// * TransactionCommitInProgressException -// Contains details about an error related to a transaction commit that was -// in progress. +// - TransactionCanceledException +// Contains details about an error related to a transaction that was cancelled. +// +// - TransactionCommitInProgressException +// Contains details about an error related to a transaction commit that was +// in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ExtendTransaction func (c *LakeFormation) ExtendTransaction(input *ExtendTransactionInput) (*ExtendTransactionOutput, error) { @@ -1351,14 +1351,13 @@ const opGetDataLakeSettings = "GetDataLakeSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDataLakeSettingsRequest method. +// req, resp := client.GetDataLakeSettingsRequest(params) // -// // Example sending a request using the GetDataLakeSettingsRequest method. -// req, resp := client.GetDataLakeSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakeSettings func (c *LakeFormation) GetDataLakeSettingsRequest(input *GetDataLakeSettingsInput) (req *request.Request, output *GetDataLakeSettingsOutput) { @@ -1390,14 +1389,15 @@ func (c *LakeFormation) GetDataLakeSettingsRequest(input *GetDataLakeSettingsInp // API operation GetDataLakeSettings for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InternalServiceException +// An internal service error occurred. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetDataLakeSettings func (c *LakeFormation) GetDataLakeSettings(input *GetDataLakeSettingsInput) (*GetDataLakeSettingsOutput, error) { @@ -1437,14 +1437,13 @@ const opGetEffectivePermissionsForPath = "GetEffectivePermissionsForPath" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEffectivePermissionsForPathRequest method. +// req, resp := client.GetEffectivePermissionsForPathRequest(params) // -// // Example sending a request using the GetEffectivePermissionsForPathRequest method. -// req, resp := client.GetEffectivePermissionsForPathRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetEffectivePermissionsForPath func (c *LakeFormation) GetEffectivePermissionsForPathRequest(input *GetEffectivePermissionsForPathInput) (req *request.Request, output *GetEffectivePermissionsForPathOutput) { @@ -1483,17 +1482,18 @@ func (c *LakeFormation) GetEffectivePermissionsForPathRequest(input *GetEffectiv // API operation GetEffectivePermissionsForPath for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - InvalidInputException +// The input provided was not valid. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetEffectivePermissionsForPath func (c *LakeFormation) GetEffectivePermissionsForPath(input *GetEffectivePermissionsForPathInput) (*GetEffectivePermissionsForPathOutput, error) { @@ -1525,15 +1525,14 @@ func (c *LakeFormation) GetEffectivePermissionsForPathWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetEffectivePermissionsForPath operation. -// pageNum := 0 -// err := client.GetEffectivePermissionsForPathPages(params, -// func(page *lakeformation.GetEffectivePermissionsForPathOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetEffectivePermissionsForPath operation. +// pageNum := 0 +// err := client.GetEffectivePermissionsForPathPages(params, +// func(page *lakeformation.GetEffectivePermissionsForPathOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LakeFormation) GetEffectivePermissionsForPathPages(input *GetEffectivePermissionsForPathInput, fn func(*GetEffectivePermissionsForPathOutput, bool) bool) error { return c.GetEffectivePermissionsForPathPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1585,14 +1584,13 @@ const opGetLFTag = "GetLFTag" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLFTagRequest method. +// req, resp := client.GetLFTagRequest(params) // -// // Example sending a request using the GetLFTagRequest method. -// req, resp := client.GetLFTagRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetLFTag func (c *LakeFormation) GetLFTagRequest(input *GetLFTagInput) (req *request.Request, output *GetLFTagOutput) { @@ -1623,20 +1621,21 @@ func (c *LakeFormation) GetLFTagRequest(input *GetLFTagInput) (req *request.Requ // API operation GetLFTag for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetLFTag func (c *LakeFormation) GetLFTag(input *GetLFTagInput) (*GetLFTagOutput, error) { @@ -1676,14 +1675,13 @@ const opGetQueryState = "GetQueryState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetQueryStateRequest method. +// req, resp := client.GetQueryStateRequest(params) // -// // Example sending a request using the GetQueryStateRequest method. -// req, resp := client.GetQueryStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetQueryState func (c *LakeFormation) GetQueryStateRequest(input *GetQueryStateInput) (req *request.Request, output *GetQueryStateOutput) { @@ -1719,14 +1717,15 @@ func (c *LakeFormation) GetQueryStateRequest(input *GetQueryStateInput) (req *re // API operation GetQueryState for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InternalServiceException +// An internal service error occurred. +// +// - InvalidInputException +// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetQueryState func (c *LakeFormation) GetQueryState(input *GetQueryStateInput) (*GetQueryStateOutput, error) { @@ -1766,14 +1765,13 @@ const opGetQueryStatistics = "GetQueryStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetQueryStatisticsRequest method. +// req, resp := client.GetQueryStatisticsRequest(params) // -// // Example sending a request using the GetQueryStatisticsRequest method. -// req, resp := client.GetQueryStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetQueryStatistics func (c *LakeFormation) GetQueryStatisticsRequest(input *GetQueryStatisticsInput) (req *request.Request, output *GetQueryStatisticsOutput) { @@ -1806,23 +1804,24 @@ func (c *LakeFormation) GetQueryStatisticsRequest(input *GetQueryStatisticsInput // API operation GetQueryStatistics for usage and error information. // // Returned Error Types: -// * StatisticsNotReadyYetException -// Contains details about an error related to statistics not being ready. // -// * InternalServiceException -// An internal service error occurred. +// - StatisticsNotReadyYetException +// Contains details about an error related to statistics not being ready. // -// * InvalidInputException -// The input provided was not valid. +// - InternalServiceException +// An internal service error occurred. // -// * AccessDeniedException -// Access to a resource was denied. +// - InvalidInputException +// The input provided was not valid. // -// * ExpiredException -// Contains details about an error where the query request expired. +// - AccessDeniedException +// Access to a resource was denied. // -// * ThrottledException -// Contains details about an error where the query request was throttled. +// - ExpiredException +// Contains details about an error where the query request expired. +// +// - ThrottledException +// Contains details about an error where the query request was throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetQueryStatistics func (c *LakeFormation) GetQueryStatistics(input *GetQueryStatisticsInput) (*GetQueryStatisticsOutput, error) { @@ -1862,14 +1861,13 @@ const opGetResourceLFTags = "GetResourceLFTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceLFTagsRequest method. +// req, resp := client.GetResourceLFTagsRequest(params) // -// // Example sending a request using the GetResourceLFTagsRequest method. -// req, resp := client.GetResourceLFTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetResourceLFTags func (c *LakeFormation) GetResourceLFTagsRequest(input *GetResourceLFTagsInput) (req *request.Request, output *GetResourceLFTagsOutput) { @@ -1900,23 +1898,24 @@ func (c *LakeFormation) GetResourceLFTagsRequest(input *GetResourceLFTagsInput) // API operation GetResourceLFTags for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * GlueEncryptionException -// An encryption operation failed. +// - GlueEncryptionException +// An encryption operation failed. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetResourceLFTags func (c *LakeFormation) GetResourceLFTags(input *GetResourceLFTagsInput) (*GetResourceLFTagsOutput, error) { @@ -1956,14 +1955,13 @@ const opGetTableObjects = "GetTableObjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTableObjectsRequest method. +// req, resp := client.GetTableObjectsRequest(params) // -// // Example sending a request using the GetTableObjectsRequest method. -// req, resp := client.GetTableObjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetTableObjects func (c *LakeFormation) GetTableObjectsRequest(input *GetTableObjectsInput) (req *request.Request, output *GetTableObjectsOutput) { @@ -2001,28 +1999,29 @@ func (c *LakeFormation) GetTableObjectsRequest(input *GetTableObjectsInput) (req // API operation GetTableObjects for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * TransactionCommittedException -// Contains details about an error where the specified transaction has already -// been committed and cannot be used for UpdateTableObjects. +// - TransactionCommittedException +// Contains details about an error where the specified transaction has already +// been committed and cannot be used for UpdateTableObjects. // -// * TransactionCanceledException -// Contains details about an error related to a transaction that was cancelled. +// - TransactionCanceledException +// Contains details about an error related to a transaction that was cancelled. // -// * ResourceNotReadyException -// Contains details about an error related to a resource which is not ready -// for a transaction. +// - ResourceNotReadyException +// Contains details about an error related to a resource which is not ready +// for a transaction. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetTableObjects func (c *LakeFormation) GetTableObjects(input *GetTableObjectsInput) (*GetTableObjectsOutput, error) { @@ -2054,15 +2053,14 @@ func (c *LakeFormation) GetTableObjectsWithContext(ctx aws.Context, input *GetTa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTableObjects operation. -// pageNum := 0 -// err := client.GetTableObjectsPages(params, -// func(page *lakeformation.GetTableObjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTableObjects operation. +// pageNum := 0 +// err := client.GetTableObjectsPages(params, +// func(page *lakeformation.GetTableObjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LakeFormation) GetTableObjectsPages(input *GetTableObjectsInput, fn func(*GetTableObjectsOutput, bool) bool) error { return c.GetTableObjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2114,14 +2112,13 @@ const opGetTemporaryGluePartitionCredentials = "GetTemporaryGluePartitionCredent // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTemporaryGluePartitionCredentialsRequest method. +// req, resp := client.GetTemporaryGluePartitionCredentialsRequest(params) // -// // Example sending a request using the GetTemporaryGluePartitionCredentialsRequest method. -// req, resp := client.GetTemporaryGluePartitionCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetTemporaryGluePartitionCredentials func (c *LakeFormation) GetTemporaryGluePartitionCredentialsRequest(input *GetTemporaryGluePartitionCredentialsInput) (req *request.Request, output *GetTemporaryGluePartitionCredentialsOutput) { @@ -2155,26 +2152,27 @@ func (c *LakeFormation) GetTemporaryGluePartitionCredentialsRequest(input *GetTe // API operation GetTemporaryGluePartitionCredentials for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // -// * PermissionTypeMismatchException -// The engine does not support filtering data based on the enforced permissions. -// For example, if you call the GetTemporaryGlueTableCredentials operation with -// SupportedPermissionType equal to ColumnPermission, but cell-level permissions -// exist on the table, this exception is thrown. +// - PermissionTypeMismatchException +// The engine does not support filtering data based on the enforced permissions. +// For example, if you call the GetTemporaryGlueTableCredentials operation with +// SupportedPermissionType equal to ColumnPermission, but cell-level permissions +// exist on the table, this exception is thrown. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetTemporaryGluePartitionCredentials func (c *LakeFormation) GetTemporaryGluePartitionCredentials(input *GetTemporaryGluePartitionCredentialsInput) (*GetTemporaryGluePartitionCredentialsOutput, error) { @@ -2214,14 +2212,13 @@ const opGetTemporaryGlueTableCredentials = "GetTemporaryGlueTableCredentials" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTemporaryGlueTableCredentialsRequest method. +// req, resp := client.GetTemporaryGlueTableCredentialsRequest(params) // -// // Example sending a request using the GetTemporaryGlueTableCredentialsRequest method. -// req, resp := client.GetTemporaryGlueTableCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetTemporaryGlueTableCredentials func (c *LakeFormation) GetTemporaryGlueTableCredentialsRequest(input *GetTemporaryGlueTableCredentialsInput) (req *request.Request, output *GetTemporaryGlueTableCredentialsOutput) { @@ -2255,26 +2252,27 @@ func (c *LakeFormation) GetTemporaryGlueTableCredentialsRequest(input *GetTempor // API operation GetTemporaryGlueTableCredentials for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * EntityNotFoundException -// A specified entity does not exist +// - OperationTimeoutException +// The operation timed out. // -// * AccessDeniedException -// Access to a resource was denied. +// - EntityNotFoundException +// A specified entity does not exist // -// * PermissionTypeMismatchException -// The engine does not support filtering data based on the enforced permissions. -// For example, if you call the GetTemporaryGlueTableCredentials operation with -// SupportedPermissionType equal to ColumnPermission, but cell-level permissions -// exist on the table, this exception is thrown. +// - AccessDeniedException +// Access to a resource was denied. +// +// - PermissionTypeMismatchException +// The engine does not support filtering data based on the enforced permissions. +// For example, if you call the GetTemporaryGlueTableCredentials operation with +// SupportedPermissionType equal to ColumnPermission, but cell-level permissions +// exist on the table, this exception is thrown. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetTemporaryGlueTableCredentials func (c *LakeFormation) GetTemporaryGlueTableCredentials(input *GetTemporaryGlueTableCredentialsInput) (*GetTemporaryGlueTableCredentialsOutput, error) { @@ -2314,14 +2312,13 @@ const opGetWorkUnitResults = "GetWorkUnitResults" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWorkUnitResultsRequest method. +// req, resp := client.GetWorkUnitResultsRequest(params) // -// // Example sending a request using the GetWorkUnitResultsRequest method. -// req, resp := client.GetWorkUnitResultsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetWorkUnitResults func (c *LakeFormation) GetWorkUnitResultsRequest(input *GetWorkUnitResultsInput) (req *request.Request, output *GetWorkUnitResultsOutput) { @@ -2355,20 +2352,21 @@ func (c *LakeFormation) GetWorkUnitResultsRequest(input *GetWorkUnitResultsInput // API operation GetWorkUnitResults for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InternalServiceException +// An internal service error occurred. +// +// - InvalidInputException +// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // -// * ExpiredException -// Contains details about an error where the query request expired. +// - ExpiredException +// Contains details about an error where the query request expired. // -// * ThrottledException -// Contains details about an error where the query request was throttled. +// - ThrottledException +// Contains details about an error where the query request was throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetWorkUnitResults func (c *LakeFormation) GetWorkUnitResults(input *GetWorkUnitResultsInput) (*GetWorkUnitResultsOutput, error) { @@ -2408,14 +2406,13 @@ const opGetWorkUnits = "GetWorkUnits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWorkUnitsRequest method. +// req, resp := client.GetWorkUnitsRequest(params) // -// // Example sending a request using the GetWorkUnitsRequest method. -// req, resp := client.GetWorkUnitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetWorkUnits func (c *LakeFormation) GetWorkUnitsRequest(input *GetWorkUnitsInput) (req *request.Request, output *GetWorkUnitsOutput) { @@ -2454,20 +2451,21 @@ func (c *LakeFormation) GetWorkUnitsRequest(input *GetWorkUnitsInput) (req *requ // API operation GetWorkUnits for usage and error information. // // Returned Error Types: -// * WorkUnitsNotReadyYetException -// Contains details about an error related to work units not being ready. // -// * InternalServiceException -// An internal service error occurred. +// - WorkUnitsNotReadyYetException +// Contains details about an error related to work units not being ready. +// +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // -// * ExpiredException -// Contains details about an error where the query request expired. +// - ExpiredException +// Contains details about an error where the query request expired. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GetWorkUnits func (c *LakeFormation) GetWorkUnits(input *GetWorkUnitsInput) (*GetWorkUnitsOutput, error) { @@ -2499,15 +2497,14 @@ func (c *LakeFormation) GetWorkUnitsWithContext(ctx aws.Context, input *GetWorkU // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetWorkUnits operation. -// pageNum := 0 -// err := client.GetWorkUnitsPages(params, -// func(page *lakeformation.GetWorkUnitsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetWorkUnits operation. +// pageNum := 0 +// err := client.GetWorkUnitsPages(params, +// func(page *lakeformation.GetWorkUnitsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LakeFormation) GetWorkUnitsPages(input *GetWorkUnitsInput, fn func(*GetWorkUnitsOutput, bool) bool) error { return c.GetWorkUnitsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2559,14 +2556,13 @@ const opGrantPermissions = "GrantPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GrantPermissionsRequest method. +// req, resp := client.GrantPermissionsRequest(params) // -// // Example sending a request using the GrantPermissionsRequest method. -// req, resp := client.GrantPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GrantPermissions func (c *LakeFormation) GrantPermissionsRequest(input *GrantPermissionsInput) (req *request.Request, output *GrantPermissionsOutput) { @@ -2602,14 +2598,15 @@ func (c *LakeFormation) GrantPermissionsRequest(input *GrantPermissionsInput) (r // API operation GrantPermissions for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. // -// * EntityNotFoundException -// A specified entity does not exist +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/GrantPermissions func (c *LakeFormation) GrantPermissions(input *GrantPermissionsInput) (*GrantPermissionsOutput, error) { @@ -2649,14 +2646,13 @@ const opListDataCellsFilter = "ListDataCellsFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDataCellsFilterRequest method. +// req, resp := client.ListDataCellsFilterRequest(params) // -// // Example sending a request using the ListDataCellsFilterRequest method. -// req, resp := client.ListDataCellsFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListDataCellsFilter func (c *LakeFormation) ListDataCellsFilterRequest(input *ListDataCellsFilterInput) (req *request.Request, output *ListDataCellsFilterOutput) { @@ -2693,17 +2689,18 @@ func (c *LakeFormation) ListDataCellsFilterRequest(input *ListDataCellsFilterInp // API operation ListDataCellsFilter for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. +// +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListDataCellsFilter func (c *LakeFormation) ListDataCellsFilter(input *ListDataCellsFilterInput) (*ListDataCellsFilterOutput, error) { @@ -2735,15 +2732,14 @@ func (c *LakeFormation) ListDataCellsFilterWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDataCellsFilter operation. -// pageNum := 0 -// err := client.ListDataCellsFilterPages(params, -// func(page *lakeformation.ListDataCellsFilterOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDataCellsFilter operation. +// pageNum := 0 +// err := client.ListDataCellsFilterPages(params, +// func(page *lakeformation.ListDataCellsFilterOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LakeFormation) ListDataCellsFilterPages(input *ListDataCellsFilterInput, fn func(*ListDataCellsFilterOutput, bool) bool) error { return c.ListDataCellsFilterPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2795,14 +2791,13 @@ const opListLFTags = "ListLFTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLFTagsRequest method. +// req, resp := client.ListLFTagsRequest(params) // -// // Example sending a request using the ListLFTagsRequest method. -// req, resp := client.ListLFTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListLFTags func (c *LakeFormation) ListLFTagsRequest(input *ListLFTagsInput) (req *request.Request, output *ListLFTagsOutput) { @@ -2839,20 +2834,21 @@ func (c *LakeFormation) ListLFTagsRequest(input *ListLFTagsInput) (req *request. // API operation ListLFTags for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListLFTags func (c *LakeFormation) ListLFTags(input *ListLFTagsInput) (*ListLFTagsOutput, error) { @@ -2884,15 +2880,14 @@ func (c *LakeFormation) ListLFTagsWithContext(ctx aws.Context, input *ListLFTags // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLFTags operation. -// pageNum := 0 -// err := client.ListLFTagsPages(params, -// func(page *lakeformation.ListLFTagsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLFTags operation. +// pageNum := 0 +// err := client.ListLFTagsPages(params, +// func(page *lakeformation.ListLFTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LakeFormation) ListLFTagsPages(input *ListLFTagsInput, fn func(*ListLFTagsOutput, bool) bool) error { return c.ListLFTagsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2944,14 +2939,13 @@ const opListPermissions = "ListPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPermissionsRequest method. +// req, resp := client.ListPermissionsRequest(params) // -// // Example sending a request using the ListPermissionsRequest method. -// req, resp := client.ListPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListPermissions func (c *LakeFormation) ListPermissionsRequest(input *ListPermissionsInput) (req *request.Request, output *ListPermissionsOutput) { @@ -2995,14 +2989,15 @@ func (c *LakeFormation) ListPermissionsRequest(input *ListPermissionsInput) (req // API operation ListPermissions for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. +// +// - OperationTimeoutException +// The operation timed out. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListPermissions func (c *LakeFormation) ListPermissions(input *ListPermissionsInput) (*ListPermissionsOutput, error) { @@ -3034,15 +3029,14 @@ func (c *LakeFormation) ListPermissionsWithContext(ctx aws.Context, input *ListP // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPermissions operation. -// pageNum := 0 -// err := client.ListPermissionsPages(params, -// func(page *lakeformation.ListPermissionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPermissions operation. +// pageNum := 0 +// err := client.ListPermissionsPages(params, +// func(page *lakeformation.ListPermissionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LakeFormation) ListPermissionsPages(input *ListPermissionsInput, fn func(*ListPermissionsOutput, bool) bool) error { return c.ListPermissionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3094,14 +3088,13 @@ const opListResources = "ListResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourcesRequest method. +// req, resp := client.ListResourcesRequest(params) // -// // Example sending a request using the ListResourcesRequest method. -// req, resp := client.ListResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListResources func (c *LakeFormation) ListResourcesRequest(input *ListResourcesInput) (req *request.Request, output *ListResourcesOutput) { @@ -3138,14 +3131,15 @@ func (c *LakeFormation) ListResourcesRequest(input *ListResourcesInput) (req *re // API operation ListResources for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListResources func (c *LakeFormation) ListResources(input *ListResourcesInput) (*ListResourcesOutput, error) { @@ -3177,15 +3171,14 @@ func (c *LakeFormation) ListResourcesWithContext(ctx aws.Context, input *ListRes // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResources operation. -// pageNum := 0 -// err := client.ListResourcesPages(params, -// func(page *lakeformation.ListResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResources operation. +// pageNum := 0 +// err := client.ListResourcesPages(params, +// func(page *lakeformation.ListResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LakeFormation) ListResourcesPages(input *ListResourcesInput, fn func(*ListResourcesOutput, bool) bool) error { return c.ListResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3237,14 +3230,13 @@ const opListTableStorageOptimizers = "ListTableStorageOptimizers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTableStorageOptimizersRequest method. +// req, resp := client.ListTableStorageOptimizersRequest(params) // -// // Example sending a request using the ListTableStorageOptimizersRequest method. -// req, resp := client.ListTableStorageOptimizersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListTableStorageOptimizers func (c *LakeFormation) ListTableStorageOptimizersRequest(input *ListTableStorageOptimizersInput) (req *request.Request, output *ListTableStorageOptimizersOutput) { @@ -3282,17 +3274,18 @@ func (c *LakeFormation) ListTableStorageOptimizersRequest(input *ListTableStorag // API operation ListTableStorageOptimizers for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListTableStorageOptimizers func (c *LakeFormation) ListTableStorageOptimizers(input *ListTableStorageOptimizersInput) (*ListTableStorageOptimizersOutput, error) { @@ -3324,15 +3317,14 @@ func (c *LakeFormation) ListTableStorageOptimizersWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTableStorageOptimizers operation. -// pageNum := 0 -// err := client.ListTableStorageOptimizersPages(params, -// func(page *lakeformation.ListTableStorageOptimizersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTableStorageOptimizers operation. +// pageNum := 0 +// err := client.ListTableStorageOptimizersPages(params, +// func(page *lakeformation.ListTableStorageOptimizersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LakeFormation) ListTableStorageOptimizersPages(input *ListTableStorageOptimizersInput, fn func(*ListTableStorageOptimizersOutput, bool) bool) error { return c.ListTableStorageOptimizersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3384,14 +3376,13 @@ const opListTransactions = "ListTransactions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTransactionsRequest method. +// req, resp := client.ListTransactionsRequest(params) // -// // Example sending a request using the ListTransactionsRequest method. -// req, resp := client.ListTransactionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListTransactions func (c *LakeFormation) ListTransactionsRequest(input *ListTransactionsInput) (req *request.Request, output *ListTransactionsOutput) { @@ -3433,14 +3424,15 @@ func (c *LakeFormation) ListTransactionsRequest(input *ListTransactionsInput) (r // API operation ListTransactions for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/ListTransactions func (c *LakeFormation) ListTransactions(input *ListTransactionsInput) (*ListTransactionsOutput, error) { @@ -3472,15 +3464,14 @@ func (c *LakeFormation) ListTransactionsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTransactions operation. -// pageNum := 0 -// err := client.ListTransactionsPages(params, -// func(page *lakeformation.ListTransactionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTransactions operation. +// pageNum := 0 +// err := client.ListTransactionsPages(params, +// func(page *lakeformation.ListTransactionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LakeFormation) ListTransactionsPages(input *ListTransactionsInput, fn func(*ListTransactionsOutput, bool) bool) error { return c.ListTransactionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3532,14 +3523,13 @@ const opPutDataLakeSettings = "PutDataLakeSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDataLakeSettingsRequest method. +// req, resp := client.PutDataLakeSettingsRequest(params) // -// // Example sending a request using the PutDataLakeSettingsRequest method. -// req, resp := client.PutDataLakeSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/PutDataLakeSettings func (c *LakeFormation) PutDataLakeSettingsRequest(input *PutDataLakeSettingsInput) (req *request.Request, output *PutDataLakeSettingsOutput) { @@ -3577,11 +3567,12 @@ func (c *LakeFormation) PutDataLakeSettingsRequest(input *PutDataLakeSettingsInp // API operation PutDataLakeSettings for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InternalServiceException +// An internal service error occurred. +// +// - InvalidInputException +// The input provided was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/PutDataLakeSettings func (c *LakeFormation) PutDataLakeSettings(input *PutDataLakeSettingsInput) (*PutDataLakeSettingsOutput, error) { @@ -3621,14 +3612,13 @@ const opRegisterResource = "RegisterResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterResourceRequest method. +// req, resp := client.RegisterResourceRequest(params) // -// // Example sending a request using the RegisterResourceRequest method. -// req, resp := client.RegisterResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RegisterResource func (c *LakeFormation) RegisterResourceRequest(input *RegisterResourceInput) (req *request.Request, output *RegisterResourceOutput) { @@ -3678,26 +3668,27 @@ func (c *LakeFormation) RegisterResourceRequest(input *RegisterResourceInput) (r // API operation RegisterResource for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * AlreadyExistsException -// A resource to be created or added already exists. +// - AlreadyExistsException +// A resource to be created or added already exists. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // -// * ResourceNumberLimitExceededException -// A resource numerical limit was exceeded. +// - ResourceNumberLimitExceededException +// A resource numerical limit was exceeded. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RegisterResource func (c *LakeFormation) RegisterResource(input *RegisterResourceInput) (*RegisterResourceOutput, error) { @@ -3737,14 +3728,13 @@ const opRemoveLFTagsFromResource = "RemoveLFTagsFromResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveLFTagsFromResourceRequest method. +// req, resp := client.RemoveLFTagsFromResourceRequest(params) // -// // Example sending a request using the RemoveLFTagsFromResourceRequest method. -// req, resp := client.RemoveLFTagsFromResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RemoveLFTagsFromResource func (c *LakeFormation) RemoveLFTagsFromResourceRequest(input *RemoveLFTagsFromResourceInput) (req *request.Request, output *RemoveLFTagsFromResourceOutput) { @@ -3777,26 +3767,27 @@ func (c *LakeFormation) RemoveLFTagsFromResourceRequest(input *RemoveLFTagsFromR // API operation RemoveLFTagsFromResource for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. // -// * GlueEncryptionException -// An encryption operation failed. +// - OperationTimeoutException +// The operation timed out. // -// * AccessDeniedException -// Access to a resource was denied. +// - GlueEncryptionException +// An encryption operation failed. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - AccessDeniedException +// Access to a resource was denied. +// +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RemoveLFTagsFromResource func (c *LakeFormation) RemoveLFTagsFromResource(input *RemoveLFTagsFromResourceInput) (*RemoveLFTagsFromResourceOutput, error) { @@ -3836,14 +3827,13 @@ const opRevokePermissions = "RevokePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokePermissionsRequest method. +// req, resp := client.RevokePermissionsRequest(params) // -// // Example sending a request using the RevokePermissionsRequest method. -// req, resp := client.RevokePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RevokePermissions func (c *LakeFormation) RevokePermissionsRequest(input *RevokePermissionsInput) (req *request.Request, output *RevokePermissionsOutput) { @@ -3876,14 +3866,15 @@ func (c *LakeFormation) RevokePermissionsRequest(input *RevokePermissionsInput) // API operation RevokePermissions for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. // -// * EntityNotFoundException -// A specified entity does not exist +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. +// +// - EntityNotFoundException +// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/RevokePermissions func (c *LakeFormation) RevokePermissions(input *RevokePermissionsInput) (*RevokePermissionsOutput, error) { @@ -3923,14 +3914,13 @@ const opSearchDatabasesByLFTags = "SearchDatabasesByLFTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchDatabasesByLFTagsRequest method. +// req, resp := client.SearchDatabasesByLFTagsRequest(params) // -// // Example sending a request using the SearchDatabasesByLFTagsRequest method. -// req, resp := client.SearchDatabasesByLFTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/SearchDatabasesByLFTags func (c *LakeFormation) SearchDatabasesByLFTagsRequest(input *SearchDatabasesByLFTagsInput) (req *request.Request, output *SearchDatabasesByLFTagsOutput) { @@ -3971,23 +3961,24 @@ func (c *LakeFormation) SearchDatabasesByLFTagsRequest(input *SearchDatabasesByL // API operation SearchDatabasesByLFTags for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * GlueEncryptionException -// An encryption operation failed. +// - GlueEncryptionException +// An encryption operation failed. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/SearchDatabasesByLFTags func (c *LakeFormation) SearchDatabasesByLFTags(input *SearchDatabasesByLFTagsInput) (*SearchDatabasesByLFTagsOutput, error) { @@ -4019,15 +4010,14 @@ func (c *LakeFormation) SearchDatabasesByLFTagsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchDatabasesByLFTags operation. -// pageNum := 0 -// err := client.SearchDatabasesByLFTagsPages(params, -// func(page *lakeformation.SearchDatabasesByLFTagsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchDatabasesByLFTags operation. +// pageNum := 0 +// err := client.SearchDatabasesByLFTagsPages(params, +// func(page *lakeformation.SearchDatabasesByLFTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LakeFormation) SearchDatabasesByLFTagsPages(input *SearchDatabasesByLFTagsInput, fn func(*SearchDatabasesByLFTagsOutput, bool) bool) error { return c.SearchDatabasesByLFTagsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4079,14 +4069,13 @@ const opSearchTablesByLFTags = "SearchTablesByLFTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchTablesByLFTagsRequest method. +// req, resp := client.SearchTablesByLFTagsRequest(params) // -// // Example sending a request using the SearchTablesByLFTagsRequest method. -// req, resp := client.SearchTablesByLFTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/SearchTablesByLFTags func (c *LakeFormation) SearchTablesByLFTagsRequest(input *SearchTablesByLFTagsInput) (req *request.Request, output *SearchTablesByLFTagsOutput) { @@ -4127,23 +4116,24 @@ func (c *LakeFormation) SearchTablesByLFTagsRequest(input *SearchTablesByLFTagsI // API operation SearchTablesByLFTags for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InternalServiceException -// An internal service error occurred. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InternalServiceException +// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InvalidInputException +// The input provided was not valid. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * GlueEncryptionException -// An encryption operation failed. +// - GlueEncryptionException +// An encryption operation failed. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/SearchTablesByLFTags func (c *LakeFormation) SearchTablesByLFTags(input *SearchTablesByLFTagsInput) (*SearchTablesByLFTagsOutput, error) { @@ -4175,15 +4165,14 @@ func (c *LakeFormation) SearchTablesByLFTagsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchTablesByLFTags operation. -// pageNum := 0 -// err := client.SearchTablesByLFTagsPages(params, -// func(page *lakeformation.SearchTablesByLFTagsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchTablesByLFTags operation. +// pageNum := 0 +// err := client.SearchTablesByLFTagsPages(params, +// func(page *lakeformation.SearchTablesByLFTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LakeFormation) SearchTablesByLFTagsPages(input *SearchTablesByLFTagsInput, fn func(*SearchTablesByLFTagsOutput, bool) bool) error { return c.SearchTablesByLFTagsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4235,14 +4224,13 @@ const opStartQueryPlanning = "StartQueryPlanning" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartQueryPlanningRequest method. +// req, resp := client.StartQueryPlanningRequest(params) // -// // Example sending a request using the StartQueryPlanningRequest method. -// req, resp := client.StartQueryPlanningRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/StartQueryPlanning func (c *LakeFormation) StartQueryPlanningRequest(input *StartQueryPlanningInput) (req *request.Request, output *StartQueryPlanningOutput) { @@ -4278,17 +4266,18 @@ func (c *LakeFormation) StartQueryPlanningRequest(input *StartQueryPlanningInput // API operation StartQueryPlanning for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InternalServiceException +// An internal service error occurred. +// +// - InvalidInputException +// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // -// * ThrottledException -// Contains details about an error where the query request was throttled. +// - ThrottledException +// Contains details about an error where the query request was throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/StartQueryPlanning func (c *LakeFormation) StartQueryPlanning(input *StartQueryPlanningInput) (*StartQueryPlanningOutput, error) { @@ -4328,14 +4317,13 @@ const opStartTransaction = "StartTransaction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartTransactionRequest method. +// req, resp := client.StartTransactionRequest(params) // -// // Example sending a request using the StartTransactionRequest method. -// req, resp := client.StartTransactionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/StartTransaction func (c *LakeFormation) StartTransactionRequest(input *StartTransactionInput) (req *request.Request, output *StartTransactionOutput) { @@ -4367,11 +4355,12 @@ func (c *LakeFormation) StartTransactionRequest(input *StartTransactionInput) (r // API operation StartTransaction for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InternalServiceException +// An internal service error occurred. +// +// - OperationTimeoutException +// The operation timed out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/StartTransaction func (c *LakeFormation) StartTransaction(input *StartTransactionInput) (*StartTransactionOutput, error) { @@ -4411,14 +4400,13 @@ const opUpdateLFTag = "UpdateLFTag" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLFTagRequest method. +// req, resp := client.UpdateLFTagRequest(params) // -// // Example sending a request using the UpdateLFTagRequest method. -// req, resp := client.UpdateLFTagRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateLFTag func (c *LakeFormation) UpdateLFTagRequest(input *UpdateLFTagInput) (req *request.Request, output *UpdateLFTagOutput) { @@ -4455,23 +4443,24 @@ func (c *LakeFormation) UpdateLFTagRequest(input *UpdateLFTagInput) (req *reques // API operation UpdateLFTag for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateLFTag func (c *LakeFormation) UpdateLFTag(input *UpdateLFTagInput) (*UpdateLFTagOutput, error) { @@ -4511,14 +4500,13 @@ const opUpdateResource = "UpdateResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResourceRequest method. +// req, resp := client.UpdateResourceRequest(params) // -// // Example sending a request using the UpdateResourceRequest method. -// req, resp := client.UpdateResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateResource func (c *LakeFormation) UpdateResourceRequest(input *UpdateResourceInput) (req *request.Request, output *UpdateResourceOutput) { @@ -4551,17 +4539,18 @@ func (c *LakeFormation) UpdateResourceRequest(input *UpdateResourceInput) (req * // API operation UpdateResource for usage and error information. // // Returned Error Types: -// * InvalidInputException -// The input provided was not valid. // -// * InternalServiceException -// An internal service error occurred. +// - InvalidInputException +// The input provided was not valid. +// +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - OperationTimeoutException +// The operation timed out. // -// * EntityNotFoundException -// A specified entity does not exist +// - EntityNotFoundException +// A specified entity does not exist // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateResource func (c *LakeFormation) UpdateResource(input *UpdateResourceInput) (*UpdateResourceOutput, error) { @@ -4601,14 +4590,13 @@ const opUpdateTableObjects = "UpdateTableObjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTableObjectsRequest method. +// req, resp := client.UpdateTableObjectsRequest(params) // -// // Example sending a request using the UpdateTableObjectsRequest method. -// req, resp := client.UpdateTableObjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateTableObjects func (c *LakeFormation) UpdateTableObjectsRequest(input *UpdateTableObjectsInput) (req *request.Request, output *UpdateTableObjectsOutput) { @@ -4641,35 +4629,36 @@ func (c *LakeFormation) UpdateTableObjectsRequest(input *UpdateTableObjectsInput // API operation UpdateTableObjects for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal service error occurred. // -// * InvalidInputException -// The input provided was not valid. +// - InternalServiceException +// An internal service error occurred. // -// * OperationTimeoutException -// The operation timed out. +// - InvalidInputException +// The input provided was not valid. // -// * EntityNotFoundException -// A specified entity does not exist +// - OperationTimeoutException +// The operation timed out. // -// * TransactionCommittedException -// Contains details about an error where the specified transaction has already -// been committed and cannot be used for UpdateTableObjects. +// - EntityNotFoundException +// A specified entity does not exist // -// * TransactionCanceledException -// Contains details about an error related to a transaction that was cancelled. +// - TransactionCommittedException +// Contains details about an error where the specified transaction has already +// been committed and cannot be used for UpdateTableObjects. // -// * TransactionCommitInProgressException -// Contains details about an error related to a transaction commit that was -// in progress. +// - TransactionCanceledException +// Contains details about an error related to a transaction that was cancelled. // -// * ResourceNotReadyException -// Contains details about an error related to a resource which is not ready -// for a transaction. +// - TransactionCommitInProgressException +// Contains details about an error related to a transaction commit that was +// in progress. // -// * ConcurrentModificationException -// Two processes are trying to modify a resource simultaneously. +// - ResourceNotReadyException +// Contains details about an error related to a resource which is not ready +// for a transaction. +// +// - ConcurrentModificationException +// Two processes are trying to modify a resource simultaneously. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateTableObjects func (c *LakeFormation) UpdateTableObjects(input *UpdateTableObjectsInput) (*UpdateTableObjectsOutput, error) { @@ -4709,14 +4698,13 @@ const opUpdateTableStorageOptimizer = "UpdateTableStorageOptimizer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTableStorageOptimizerRequest method. +// req, resp := client.UpdateTableStorageOptimizerRequest(params) // -// // Example sending a request using the UpdateTableStorageOptimizerRequest method. -// req, resp := client.UpdateTableStorageOptimizerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateTableStorageOptimizer func (c *LakeFormation) UpdateTableStorageOptimizerRequest(input *UpdateTableStorageOptimizerInput) (req *request.Request, output *UpdateTableStorageOptimizerOutput) { @@ -4747,17 +4735,18 @@ func (c *LakeFormation) UpdateTableStorageOptimizerRequest(input *UpdateTableSto // API operation UpdateTableStorageOptimizer for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// A specified entity does not exist // -// * InvalidInputException -// The input provided was not valid. +// - EntityNotFoundException +// A specified entity does not exist +// +// - InvalidInputException +// The input provided was not valid. // -// * AccessDeniedException -// Access to a resource was denied. +// - AccessDeniedException +// Access to a resource was denied. // -// * InternalServiceException -// An internal service error occurred. +// - InternalServiceException +// An internal service error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lakeformation-2017-03-31/UpdateTableStorageOptimizer func (c *LakeFormation) UpdateTableStorageOptimizer(input *UpdateTableStorageOptimizerInput) (*UpdateTableStorageOptimizerOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/doc.go index 5fa201d43caa..81bd40b45876 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/doc.go @@ -10,7 +10,7 @@ // See lakeformation package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/lakeformation/ // -// Using the Client +// # Using the Client // // To contact AWS Lake Formation with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/lakeformationiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/lakeformationiface/interface.go index 8fdc85c34383..e486df8a0f80 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/lakeformationiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/lakeformationiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Lake Formation. -// func myFunc(svc lakeformationiface.LakeFormationAPI) bool { -// // Make svc.AddLFTagsToResource request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Lake Formation. +// func myFunc(svc lakeformationiface.LakeFormationAPI) bool { +// // Make svc.AddLFTagsToResource request +// } // -// func main() { -// sess := session.New() -// svc := lakeformation.New(sess) +// func main() { +// sess := session.New() +// svc := lakeformation.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockLakeFormationClient struct { -// lakeformationiface.LakeFormationAPI -// } -// func (m *mockLakeFormationClient) AddLFTagsToResource(input *lakeformation.AddLFTagsToResourceInput) (*lakeformation.AddLFTagsToResourceOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockLakeFormationClient struct { +// lakeformationiface.LakeFormationAPI +// } +// func (m *mockLakeFormationClient) AddLFTagsToResource(input *lakeformation.AddLFTagsToResourceInput) (*lakeformation.AddLFTagsToResourceOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockLakeFormationClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockLakeFormationClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/service.go index 11b84167e27b..2326017f92c1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lakeformation/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a LakeFormation client from just a session. -// svc := lakeformation.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a LakeFormation client with additional configuration -// svc := lakeformation.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a LakeFormation client from just a session. +// svc := lakeformation.New(mySession) +// +// // Create a LakeFormation client with additional configuration +// svc := lakeformation.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *LakeFormation { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/api.go index edec89a969ae..66a554e8818b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/api.go @@ -30,14 +30,13 @@ const opAddLayerVersionPermission = "AddLayerVersionPermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddLayerVersionPermissionRequest method. +// req, resp := client.AddLayerVersionPermissionRequest(params) // -// // Example sending a request using the AddLayerVersionPermissionRequest method. -// req, resp := client.AddLayerVersionPermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddLayerVersionPermission func (c *Lambda) AddLayerVersionPermissionRequest(input *AddLayerVersionPermissionInput) (req *request.Request, output *AddLayerVersionPermissionOutput) { @@ -75,28 +74,29 @@ func (c *Lambda) AddLayerVersionPermissionRequest(input *AddLayerVersionPermissi // API operation AddLayerVersionPermission for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * PolicyLengthExceededException -// The permissions policy for the resource is too large. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +// - PolicyLengthExceededException +// The permissions policy for the resource is too large. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) // -// * PreconditionFailedException -// The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// - PreconditionFailedException +// The RevisionId provided does not match the latest RevisionId for the Lambda +// function or alias. Call the GetFunction or the GetAlias API to retrieve the +// latest RevisionId for your resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddLayerVersionPermission func (c *Lambda) AddLayerVersionPermission(input *AddLayerVersionPermissionInput) (*AddLayerVersionPermissionOutput, error) { @@ -136,14 +136,13 @@ const opAddPermission = "AddPermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddPermissionRequest method. +// req, resp := client.AddPermissionRequest(params) // -// // Example sending a request using the AddPermissionRequest method. -// req, resp := client.AddPermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermission func (c *Lambda) AddPermissionRequest(input *AddPermissionInput) (req *request.Request, output *AddPermissionOutput) { @@ -192,28 +191,29 @@ func (c *Lambda) AddPermissionRequest(input *AddPermissionInput) (req *request.R // API operation AddPermission for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // -// * PolicyLengthExceededException -// The permissions policy for the resource is too large. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - PolicyLengthExceededException +// The permissions policy for the resource is too large. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) // -// * PreconditionFailedException -// The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - PreconditionFailedException +// The RevisionId provided does not match the latest RevisionId for the Lambda +// function or alias. Call the GetFunction or the GetAlias API to retrieve the +// latest RevisionId for your resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/AddPermission func (c *Lambda) AddPermission(input *AddPermissionInput) (*AddPermissionOutput, error) { @@ -253,14 +253,13 @@ const opCreateAlias = "CreateAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAliasRequest method. +// req, resp := client.CreateAliasRequest(params) // -// // Example sending a request using the CreateAliasRequest method. -// req, resp := client.CreateAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAlias func (c *Lambda) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, output *AliasConfiguration) { @@ -297,20 +296,21 @@ func (c *Lambda) CreateAliasRequest(input *CreateAliasInput) (req *request.Reque // API operation CreateAlias for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. +// +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateAlias func (c *Lambda) CreateAlias(input *CreateAliasInput) (*AliasConfiguration, error) { @@ -350,14 +350,13 @@ const opCreateCodeSigningConfig = "CreateCodeSigningConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCodeSigningConfigRequest method. +// req, resp := client.CreateCodeSigningConfigRequest(params) // -// // Example sending a request using the CreateCodeSigningConfigRequest method. -// req, resp := client.CreateCodeSigningConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCodeSigningConfig func (c *Lambda) CreateCodeSigningConfigRequest(input *CreateCodeSigningConfigInput) (req *request.Request, output *CreateCodeSigningConfigOutput) { @@ -390,11 +389,12 @@ func (c *Lambda) CreateCodeSigningConfigRequest(input *CreateCodeSigningConfigIn // API operation CreateCodeSigningConfig for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCodeSigningConfig func (c *Lambda) CreateCodeSigningConfig(input *CreateCodeSigningConfigInput) (*CreateCodeSigningConfigOutput, error) { @@ -434,14 +434,13 @@ const opCreateEventSourceMapping = "CreateEventSourceMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEventSourceMappingRequest method. +// req, resp := client.CreateEventSourceMappingRequest(params) // -// // Example sending a request using the CreateEventSourceMappingRequest method. -// req, resp := client.CreateEventSourceMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping func (c *Lambda) CreateEventSourceMappingRequest(input *CreateEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration) { @@ -468,51 +467,51 @@ func (c *Lambda) CreateEventSourceMappingRequest(input *CreateEventSourceMapping // For details about how to configure different event sources, see the following // topics. // -// * Amazon DynamoDB Streams (https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping) +// - Amazon DynamoDB Streams (https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping) // -// * Amazon Kinesis (https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping) +// - Amazon Kinesis (https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping) // -// * Amazon SQS (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource) +// - Amazon SQS (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource) // -// * Amazon MQ and RabbitMQ (https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping) +// - Amazon MQ and RabbitMQ (https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping) // -// * Amazon MSK (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html) +// - Amazon MSK (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html) // -// * Apache Kafka (https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html) +// - Apache Kafka (https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html) // // The following error handling options are only available for stream sources // (DynamoDB and Kinesis): // -// * BisectBatchOnFunctionError - If the function returns an error, split -// the batch in two and retry. +// - BisectBatchOnFunctionError - If the function returns an error, split +// the batch in two and retry. // -// * DestinationConfig - Send discarded records to an Amazon SQS queue or -// Amazon SNS topic. +// - DestinationConfig - Send discarded records to an Amazon SQS queue or +// Amazon SNS topic. // -// * MaximumRecordAgeInSeconds - Discard records older than the specified -// age. The default value is infinite (-1). When set to infinite (-1), failed -// records are retried until the record expires +// - MaximumRecordAgeInSeconds - Discard records older than the specified +// age. The default value is infinite (-1). When set to infinite (-1), failed +// records are retried until the record expires // -// * MaximumRetryAttempts - Discard records after the specified number of -// retries. The default value is infinite (-1). When set to infinite (-1), -// failed records are retried until the record expires. +// - MaximumRetryAttempts - Discard records after the specified number of +// retries. The default value is infinite (-1). When set to infinite (-1), +// failed records are retried until the record expires. // -// * ParallelizationFactor - Process multiple batches from each shard concurrently. +// - ParallelizationFactor - Process multiple batches from each shard concurrently. // // For information about which configuration parameters apply to each event // source, see the following topics. // -// * Amazon DynamoDB Streams (https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params) +// - Amazon DynamoDB Streams (https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params) // -// * Amazon Kinesis (https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params) +// - Amazon Kinesis (https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params) // -// * Amazon SQS (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params) +// - Amazon SQS (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params) // -// * Amazon MQ and RabbitMQ (https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params) +// - Amazon MQ and RabbitMQ (https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params) // -// * Amazon MSK (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms) +// - Amazon MSK (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms) // -// * Apache Kafka (https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms) +// - Apache Kafka (https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -522,20 +521,21 @@ func (c *Lambda) CreateEventSourceMappingRequest(input *CreateEventSourceMapping // API operation CreateEventSourceMapping for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ServiceException +// The Lambda service encountered an internal error. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping func (c *Lambda) CreateEventSourceMapping(input *CreateEventSourceMappingInput) (*EventSourceMappingConfiguration, error) { @@ -575,14 +575,13 @@ const opCreateFunction = "CreateFunction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFunctionRequest method. +// req, resp := client.CreateFunctionRequest(params) // -// // Example sending a request using the CreateFunctionRequest method. -// req, resp := client.CreateFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request.Request, output *FunctionConfiguration) { @@ -670,35 +669,36 @@ func (c *Lambda) CreateFunctionRequest(input *CreateFunctionInput) (req *request // API operation CreateFunction for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * CodeStorageExceededException -// You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +// - CodeStorageExceededException +// You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) // -// * CodeVerificationFailedException -// The code signature failed one or more of the validation checks for signature -// mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda -// blocks the deployment. +// - CodeVerificationFailedException +// The code signature failed one or more of the validation checks for signature +// mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda +// blocks the deployment. // -// * InvalidCodeSignatureException -// The code signature failed the integrity check. Lambda always blocks deployment -// if the integrity check fails, even if code signing policy is set to WARN. +// - InvalidCodeSignatureException +// The code signature failed the integrity check. Lambda always blocks deployment +// if the integrity check fails, even if code signing policy is set to WARN. // -// * CodeSigningConfigNotFoundException -// The specified code signing configuration does not exist. +// - CodeSigningConfigNotFoundException +// The specified code signing configuration does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunction func (c *Lambda) CreateFunction(input *CreateFunctionInput) (*FunctionConfiguration, error) { @@ -738,14 +738,13 @@ const opCreateFunctionUrlConfig = "CreateFunctionUrlConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFunctionUrlConfigRequest method. +// req, resp := client.CreateFunctionUrlConfigRequest(params) // -// // Example sending a request using the CreateFunctionUrlConfigRequest method. -// req, resp := client.CreateFunctionUrlConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfig func (c *Lambda) CreateFunctionUrlConfigRequest(input *CreateFunctionUrlConfigInput) (req *request.Request, output *CreateFunctionUrlConfigOutput) { @@ -778,20 +777,21 @@ func (c *Lambda) CreateFunctionUrlConfigRequest(input *CreateFunctionUrlConfigIn // API operation CreateFunctionUrlConfig for usage and error information. // // Returned Error Types: -// * ResourceConflictException -// The resource already exists, or another operation is in progress. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ServiceException -// The Lambda service encountered an internal error. +// - ServiceException +// The Lambda service encountered an internal error. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateFunctionUrlConfig func (c *Lambda) CreateFunctionUrlConfig(input *CreateFunctionUrlConfigInput) (*CreateFunctionUrlConfigOutput, error) { @@ -831,14 +831,13 @@ const opDeleteAlias = "DeleteAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAliasRequest method. +// req, resp := client.DeleteAliasRequest(params) // -// // Example sending a request using the DeleteAliasRequest method. -// req, resp := client.DeleteAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAlias func (c *Lambda) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Request, output *DeleteAliasOutput) { @@ -870,17 +869,18 @@ func (c *Lambda) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Reque // API operation DeleteAlias for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteAlias func (c *Lambda) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error) { @@ -920,14 +920,13 @@ const opDeleteCodeSigningConfig = "DeleteCodeSigningConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCodeSigningConfigRequest method. +// req, resp := client.DeleteCodeSigningConfigRequest(params) // -// // Example sending a request using the DeleteCodeSigningConfigRequest method. -// req, resp := client.DeleteCodeSigningConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCodeSigningConfig func (c *Lambda) DeleteCodeSigningConfigRequest(input *DeleteCodeSigningConfigInput) (req *request.Request, output *DeleteCodeSigningConfigOutput) { @@ -960,17 +959,18 @@ func (c *Lambda) DeleteCodeSigningConfigRequest(input *DeleteCodeSigningConfigIn // API operation DeleteCodeSigningConfig for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCodeSigningConfig func (c *Lambda) DeleteCodeSigningConfig(input *DeleteCodeSigningConfigInput) (*DeleteCodeSigningConfigOutput, error) { @@ -1010,14 +1010,13 @@ const opDeleteEventSourceMapping = "DeleteEventSourceMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventSourceMappingRequest method. +// req, resp := client.DeleteEventSourceMappingRequest(params) // -// // Example sending a request using the DeleteEventSourceMappingRequest method. -// req, resp := client.DeleteEventSourceMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping func (c *Lambda) DeleteEventSourceMappingRequest(input *DeleteEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration) { @@ -1052,22 +1051,23 @@ func (c *Lambda) DeleteEventSourceMappingRequest(input *DeleteEventSourceMapping // API operation DeleteEventSourceMapping for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * ResourceInUseException -// The operation conflicts with the resource's availability. For example, you -// attempted to update an EventSource Mapping in CREATING, or tried to delete -// a EventSource mapping currently in the UPDATING state. +// - ResourceInUseException +// The operation conflicts with the resource's availability. For example, you +// attempted to update an EventSource Mapping in CREATING, or tried to delete +// a EventSource mapping currently in the UPDATING state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping func (c *Lambda) DeleteEventSourceMapping(input *DeleteEventSourceMappingInput) (*EventSourceMappingConfiguration, error) { @@ -1107,14 +1107,13 @@ const opDeleteFunction = "DeleteFunction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFunctionRequest method. +// req, resp := client.DeleteFunctionRequest(params) // -// // Example sending a request using the DeleteFunctionRequest method. -// req, resp := client.DeleteFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunction func (c *Lambda) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request.Request, output *DeleteFunctionOutput) { @@ -1152,20 +1151,21 @@ func (c *Lambda) DeleteFunctionRequest(input *DeleteFunctionInput) (req *request // API operation DeleteFunction for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. +// +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunction func (c *Lambda) DeleteFunction(input *DeleteFunctionInput) (*DeleteFunctionOutput, error) { @@ -1205,14 +1205,13 @@ const opDeleteFunctionCodeSigningConfig = "DeleteFunctionCodeSigningConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFunctionCodeSigningConfigRequest method. +// req, resp := client.DeleteFunctionCodeSigningConfigRequest(params) // -// // Example sending a request using the DeleteFunctionCodeSigningConfigRequest method. -// req, resp := client.DeleteFunctionCodeSigningConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionCodeSigningConfig func (c *Lambda) DeleteFunctionCodeSigningConfigRequest(input *DeleteFunctionCodeSigningConfigInput) (req *request.Request, output *DeleteFunctionCodeSigningConfigOutput) { @@ -1244,23 +1243,24 @@ func (c *Lambda) DeleteFunctionCodeSigningConfigRequest(input *DeleteFunctionCod // API operation DeleteFunctionCodeSigningConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One of the parameters in the request is invalid. // -// * CodeSigningConfigNotFoundException -// The specified code signing configuration does not exist. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - CodeSigningConfigNotFoundException +// The specified code signing configuration does not exist. // -// * ServiceException -// The Lambda service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - ServiceException +// The Lambda service encountered an internal error. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionCodeSigningConfig func (c *Lambda) DeleteFunctionCodeSigningConfig(input *DeleteFunctionCodeSigningConfigInput) (*DeleteFunctionCodeSigningConfigOutput, error) { @@ -1300,14 +1300,13 @@ const opDeleteFunctionConcurrency = "DeleteFunctionConcurrency" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFunctionConcurrencyRequest method. +// req, resp := client.DeleteFunctionConcurrencyRequest(params) // -// // Example sending a request using the DeleteFunctionConcurrencyRequest method. -// req, resp := client.DeleteFunctionConcurrencyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrency func (c *Lambda) DeleteFunctionConcurrencyRequest(input *DeleteFunctionConcurrencyInput) (req *request.Request, output *DeleteFunctionConcurrencyOutput) { @@ -1339,20 +1338,21 @@ func (c *Lambda) DeleteFunctionConcurrencyRequest(input *DeleteFunctionConcurren // API operation DeleteFunctionConcurrency for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. +// +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionConcurrency func (c *Lambda) DeleteFunctionConcurrency(input *DeleteFunctionConcurrencyInput) (*DeleteFunctionConcurrencyOutput, error) { @@ -1392,14 +1392,13 @@ const opDeleteFunctionEventInvokeConfig = "DeleteFunctionEventInvokeConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFunctionEventInvokeConfigRequest method. +// req, resp := client.DeleteFunctionEventInvokeConfigRequest(params) // -// // Example sending a request using the DeleteFunctionEventInvokeConfigRequest method. -// req, resp := client.DeleteFunctionEventInvokeConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionEventInvokeConfig func (c *Lambda) DeleteFunctionEventInvokeConfigRequest(input *DeleteFunctionEventInvokeConfigInput) (req *request.Request, output *DeleteFunctionEventInvokeConfigOutput) { @@ -1434,20 +1433,21 @@ func (c *Lambda) DeleteFunctionEventInvokeConfigRequest(input *DeleteFunctionEve // API operation DeleteFunctionEventInvokeConfig for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionEventInvokeConfig func (c *Lambda) DeleteFunctionEventInvokeConfig(input *DeleteFunctionEventInvokeConfigInput) (*DeleteFunctionEventInvokeConfigOutput, error) { @@ -1487,14 +1487,13 @@ const opDeleteFunctionUrlConfig = "DeleteFunctionUrlConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFunctionUrlConfigRequest method. +// req, resp := client.DeleteFunctionUrlConfigRequest(params) // -// // Example sending a request using the DeleteFunctionUrlConfigRequest method. -// req, resp := client.DeleteFunctionUrlConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionUrlConfig func (c *Lambda) DeleteFunctionUrlConfigRequest(input *DeleteFunctionUrlConfigInput) (req *request.Request, output *DeleteFunctionUrlConfigOutput) { @@ -1527,17 +1526,18 @@ func (c *Lambda) DeleteFunctionUrlConfigRequest(input *DeleteFunctionUrlConfigIn // API operation DeleteFunctionUrlConfig for usage and error information. // // Returned Error Types: -// * ResourceConflictException -// The resource already exists, or another operation is in progress. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // -// * ServiceException -// The Lambda service encountered an internal error. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteFunctionUrlConfig func (c *Lambda) DeleteFunctionUrlConfig(input *DeleteFunctionUrlConfigInput) (*DeleteFunctionUrlConfigOutput, error) { @@ -1577,14 +1577,13 @@ const opDeleteLayerVersion = "DeleteLayerVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLayerVersionRequest method. +// req, resp := client.DeleteLayerVersionRequest(params) // -// // Example sending a request using the DeleteLayerVersionRequest method. -// req, resp := client.DeleteLayerVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteLayerVersion func (c *Lambda) DeleteLayerVersionRequest(input *DeleteLayerVersionInput) (req *request.Request, output *DeleteLayerVersionOutput) { @@ -1619,11 +1618,12 @@ func (c *Lambda) DeleteLayerVersionRequest(input *DeleteLayerVersionInput) (req // API operation DeleteLayerVersion for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteLayerVersion func (c *Lambda) DeleteLayerVersion(input *DeleteLayerVersionInput) (*DeleteLayerVersionOutput, error) { @@ -1663,14 +1663,13 @@ const opDeleteProvisionedConcurrencyConfig = "DeleteProvisionedConcurrencyConfig // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProvisionedConcurrencyConfigRequest method. +// req, resp := client.DeleteProvisionedConcurrencyConfigRequest(params) // -// // Example sending a request using the DeleteProvisionedConcurrencyConfigRequest method. -// req, resp := client.DeleteProvisionedConcurrencyConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteProvisionedConcurrencyConfig func (c *Lambda) DeleteProvisionedConcurrencyConfigRequest(input *DeleteProvisionedConcurrencyConfigInput) (req *request.Request, output *DeleteProvisionedConcurrencyConfigOutput) { @@ -1702,20 +1701,21 @@ func (c *Lambda) DeleteProvisionedConcurrencyConfigRequest(input *DeleteProvisio // API operation DeleteProvisionedConcurrencyConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One of the parameters in the request is invalid. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * ServiceException -// The Lambda service encountered an internal error. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - ServiceException +// The Lambda service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteProvisionedConcurrencyConfig func (c *Lambda) DeleteProvisionedConcurrencyConfig(input *DeleteProvisionedConcurrencyConfigInput) (*DeleteProvisionedConcurrencyConfigOutput, error) { @@ -1755,14 +1755,13 @@ const opGetAccountSettings = "GetAccountSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountSettingsRequest method. +// req, resp := client.GetAccountSettingsRequest(params) // -// // Example sending a request using the GetAccountSettingsRequest method. -// req, resp := client.GetAccountSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettings func (c *Lambda) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req *request.Request, output *GetAccountSettingsOutput) { @@ -1794,11 +1793,12 @@ func (c *Lambda) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req // API operation GetAccountSettings for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// The request throughput limit was exceeded. // -// * ServiceException -// The Lambda service encountered an internal error. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - ServiceException +// The Lambda service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAccountSettings func (c *Lambda) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error) { @@ -1838,14 +1838,13 @@ const opGetAlias = "GetAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAliasRequest method. +// req, resp := client.GetAliasRequest(params) // -// // Example sending a request using the GetAliasRequest method. -// req, resp := client.GetAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAlias func (c *Lambda) GetAliasRequest(input *GetAliasInput) (req *request.Request, output *AliasConfiguration) { @@ -1876,17 +1875,18 @@ func (c *Lambda) GetAliasRequest(input *GetAliasInput) (req *request.Request, ou // API operation GetAlias for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetAlias func (c *Lambda) GetAlias(input *GetAliasInput) (*AliasConfiguration, error) { @@ -1926,14 +1926,13 @@ const opGetCodeSigningConfig = "GetCodeSigningConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCodeSigningConfigRequest method. +// req, resp := client.GetCodeSigningConfigRequest(params) // -// // Example sending a request using the GetCodeSigningConfigRequest method. -// req, resp := client.GetCodeSigningConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCodeSigningConfig func (c *Lambda) GetCodeSigningConfigRequest(input *GetCodeSigningConfigInput) (req *request.Request, output *GetCodeSigningConfigOutput) { @@ -1964,14 +1963,15 @@ func (c *Lambda) GetCodeSigningConfigRequest(input *GetCodeSigningConfigInput) ( // API operation GetCodeSigningConfig for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCodeSigningConfig func (c *Lambda) GetCodeSigningConfig(input *GetCodeSigningConfigInput) (*GetCodeSigningConfigOutput, error) { @@ -2011,14 +2011,13 @@ const opGetEventSourceMapping = "GetEventSourceMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEventSourceMappingRequest method. +// req, resp := client.GetEventSourceMappingRequest(params) // -// // Example sending a request using the GetEventSourceMappingRequest method. -// req, resp := client.GetEventSourceMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping func (c *Lambda) GetEventSourceMappingRequest(input *GetEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration) { @@ -2050,17 +2049,18 @@ func (c *Lambda) GetEventSourceMappingRequest(input *GetEventSourceMappingInput) // API operation GetEventSourceMapping for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping func (c *Lambda) GetEventSourceMapping(input *GetEventSourceMappingInput) (*EventSourceMappingConfiguration, error) { @@ -2100,14 +2100,13 @@ const opGetFunction = "GetFunction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFunctionRequest method. +// req, resp := client.GetFunctionRequest(params) // -// // Example sending a request using the GetFunctionRequest method. -// req, resp := client.GetFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunction func (c *Lambda) GetFunctionRequest(input *GetFunctionInput) (req *request.Request, output *GetFunctionOutput) { @@ -2140,17 +2139,18 @@ func (c *Lambda) GetFunctionRequest(input *GetFunctionInput) (req *request.Reque // API operation GetFunction for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunction func (c *Lambda) GetFunction(input *GetFunctionInput) (*GetFunctionOutput, error) { @@ -2190,14 +2190,13 @@ const opGetFunctionCodeSigningConfig = "GetFunctionCodeSigningConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFunctionCodeSigningConfigRequest method. +// req, resp := client.GetFunctionCodeSigningConfigRequest(params) // -// // Example sending a request using the GetFunctionCodeSigningConfigRequest method. -// req, resp := client.GetFunctionCodeSigningConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionCodeSigningConfig func (c *Lambda) GetFunctionCodeSigningConfigRequest(input *GetFunctionCodeSigningConfigInput) (req *request.Request, output *GetFunctionCodeSigningConfigOutput) { @@ -2228,17 +2227,18 @@ func (c *Lambda) GetFunctionCodeSigningConfigRequest(input *GetFunctionCodeSigni // API operation GetFunctionCodeSigningConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * ServiceException -// The Lambda service encountered an internal error. +// - ServiceException +// The Lambda service encountered an internal error. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionCodeSigningConfig func (c *Lambda) GetFunctionCodeSigningConfig(input *GetFunctionCodeSigningConfigInput) (*GetFunctionCodeSigningConfigOutput, error) { @@ -2278,14 +2278,13 @@ const opGetFunctionConcurrency = "GetFunctionConcurrency" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFunctionConcurrencyRequest method. +// req, resp := client.GetFunctionConcurrencyRequest(params) // -// // Example sending a request using the GetFunctionConcurrencyRequest method. -// req, resp := client.GetFunctionConcurrencyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConcurrency func (c *Lambda) GetFunctionConcurrencyRequest(input *GetFunctionConcurrencyInput) (req *request.Request, output *GetFunctionConcurrencyOutput) { @@ -2317,17 +2316,18 @@ func (c *Lambda) GetFunctionConcurrencyRequest(input *GetFunctionConcurrencyInpu // API operation GetFunctionConcurrency for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * ServiceException -// The Lambda service encountered an internal error. +// - ServiceException +// The Lambda service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConcurrency func (c *Lambda) GetFunctionConcurrency(input *GetFunctionConcurrencyInput) (*GetFunctionConcurrencyOutput, error) { @@ -2367,14 +2367,13 @@ const opGetFunctionConfiguration = "GetFunctionConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFunctionConfigurationRequest method. +// req, resp := client.GetFunctionConfigurationRequest(params) // -// // Example sending a request using the GetFunctionConfigurationRequest method. -// req, resp := client.GetFunctionConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfiguration func (c *Lambda) GetFunctionConfigurationRequest(input *GetFunctionConfigurationInput) (req *request.Request, output *FunctionConfiguration) { @@ -2410,17 +2409,18 @@ func (c *Lambda) GetFunctionConfigurationRequest(input *GetFunctionConfiguration // API operation GetFunctionConfiguration for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionConfiguration func (c *Lambda) GetFunctionConfiguration(input *GetFunctionConfigurationInput) (*FunctionConfiguration, error) { @@ -2460,14 +2460,13 @@ const opGetFunctionEventInvokeConfig = "GetFunctionEventInvokeConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFunctionEventInvokeConfigRequest method. +// req, resp := client.GetFunctionEventInvokeConfigRequest(params) // -// // Example sending a request using the GetFunctionEventInvokeConfigRequest method. -// req, resp := client.GetFunctionEventInvokeConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionEventInvokeConfig func (c *Lambda) GetFunctionEventInvokeConfigRequest(input *GetFunctionEventInvokeConfigInput) (req *request.Request, output *GetFunctionEventInvokeConfigOutput) { @@ -2501,17 +2500,18 @@ func (c *Lambda) GetFunctionEventInvokeConfigRequest(input *GetFunctionEventInvo // API operation GetFunctionEventInvokeConfig for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionEventInvokeConfig func (c *Lambda) GetFunctionEventInvokeConfig(input *GetFunctionEventInvokeConfigInput) (*GetFunctionEventInvokeConfigOutput, error) { @@ -2551,14 +2551,13 @@ const opGetFunctionUrlConfig = "GetFunctionUrlConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFunctionUrlConfigRequest method. +// req, resp := client.GetFunctionUrlConfigRequest(params) // -// // Example sending a request using the GetFunctionUrlConfigRequest method. -// req, resp := client.GetFunctionUrlConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfig func (c *Lambda) GetFunctionUrlConfigRequest(input *GetFunctionUrlConfigInput) (req *request.Request, output *GetFunctionUrlConfigOutput) { @@ -2589,17 +2588,18 @@ func (c *Lambda) GetFunctionUrlConfigRequest(input *GetFunctionUrlConfigInput) ( // API operation GetFunctionUrlConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One of the parameters in the request is invalid. // -// * ServiceException -// The Lambda service encountered an internal error. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. +// +// - ServiceException +// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetFunctionUrlConfig func (c *Lambda) GetFunctionUrlConfig(input *GetFunctionUrlConfigInput) (*GetFunctionUrlConfigOutput, error) { @@ -2639,14 +2639,13 @@ const opGetLayerVersion = "GetLayerVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLayerVersionRequest method. +// req, resp := client.GetLayerVersionRequest(params) // -// // Example sending a request using the GetLayerVersionRequest method. -// req, resp := client.GetLayerVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersion func (c *Lambda) GetLayerVersionRequest(input *GetLayerVersionInput) (req *request.Request, output *GetLayerVersionOutput) { @@ -2678,17 +2677,18 @@ func (c *Lambda) GetLayerVersionRequest(input *GetLayerVersionInput) (req *reque // API operation GetLayerVersion for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ServiceException +// The Lambda service encountered an internal error. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersion func (c *Lambda) GetLayerVersion(input *GetLayerVersionInput) (*GetLayerVersionOutput, error) { @@ -2728,14 +2728,13 @@ const opGetLayerVersionByArn = "GetLayerVersionByArn" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLayerVersionByArnRequest method. +// req, resp := client.GetLayerVersionByArnRequest(params) // -// // Example sending a request using the GetLayerVersionByArnRequest method. -// req, resp := client.GetLayerVersionByArnRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionByArn func (c *Lambda) GetLayerVersionByArnRequest(input *GetLayerVersionByArnInput) (req *request.Request, output *GetLayerVersionByArnOutput) { @@ -2767,17 +2766,18 @@ func (c *Lambda) GetLayerVersionByArnRequest(input *GetLayerVersionByArnInput) ( // API operation GetLayerVersionByArn for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ServiceException +// The Lambda service encountered an internal error. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionByArn func (c *Lambda) GetLayerVersionByArn(input *GetLayerVersionByArnInput) (*GetLayerVersionByArnOutput, error) { @@ -2817,14 +2817,13 @@ const opGetLayerVersionPolicy = "GetLayerVersionPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLayerVersionPolicyRequest method. +// req, resp := client.GetLayerVersionPolicyRequest(params) // -// // Example sending a request using the GetLayerVersionPolicyRequest method. -// req, resp := client.GetLayerVersionPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionPolicy func (c *Lambda) GetLayerVersionPolicyRequest(input *GetLayerVersionPolicyInput) (req *request.Request, output *GetLayerVersionPolicyOutput) { @@ -2856,17 +2855,18 @@ func (c *Lambda) GetLayerVersionPolicyRequest(input *GetLayerVersionPolicyInput) // API operation GetLayerVersionPolicy for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetLayerVersionPolicy func (c *Lambda) GetLayerVersionPolicy(input *GetLayerVersionPolicyInput) (*GetLayerVersionPolicyOutput, error) { @@ -2906,14 +2906,13 @@ const opGetPolicy = "GetPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPolicyRequest method. +// req, resp := client.GetPolicyRequest(params) // -// // Example sending a request using the GetPolicyRequest method. -// req, resp := client.GetPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicy func (c *Lambda) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput) { @@ -2945,17 +2944,18 @@ func (c *Lambda) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, // API operation GetPolicy for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPolicy func (c *Lambda) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error) { @@ -2995,14 +2995,13 @@ const opGetProvisionedConcurrencyConfig = "GetProvisionedConcurrencyConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetProvisionedConcurrencyConfigRequest method. +// req, resp := client.GetProvisionedConcurrencyConfigRequest(params) // -// // Example sending a request using the GetProvisionedConcurrencyConfigRequest method. -// req, resp := client.GetProvisionedConcurrencyConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetProvisionedConcurrencyConfig func (c *Lambda) GetProvisionedConcurrencyConfigRequest(input *GetProvisionedConcurrencyConfigInput) (req *request.Request, output *GetProvisionedConcurrencyConfigOutput) { @@ -3034,20 +3033,21 @@ func (c *Lambda) GetProvisionedConcurrencyConfigRequest(input *GetProvisionedCon // API operation GetProvisionedConcurrencyConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * ServiceException -// The Lambda service encountered an internal error. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * ProvisionedConcurrencyConfigNotFoundException -// The specified configuration does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ProvisionedConcurrencyConfigNotFoundException +// The specified configuration does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetProvisionedConcurrencyConfig func (c *Lambda) GetProvisionedConcurrencyConfig(input *GetProvisionedConcurrencyConfigInput) (*GetProvisionedConcurrencyConfigOutput, error) { @@ -3087,14 +3087,13 @@ const opInvoke = "Invoke" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InvokeRequest method. +// req, resp := client.InvokeRequest(params) // -// // Example sending a request using the InvokeRequest method. -// req, resp := client.InvokeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Invoke func (c *Lambda) InvokeRequest(input *InvokeInput) (req *request.Request, output *InvokeOutput) { @@ -3162,97 +3161,98 @@ func (c *Lambda) InvokeRequest(input *InvokeInput) (req *request.Request, output // API operation Invoke for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * InvalidRequestContentException -// The request body could not be parsed as JSON. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * RequestTooLargeException -// The request payload exceeded the Invoke request body JSON input limit. For -// more information, see Limits (https://docs.aws.amazon.com/lambda/latest/dg/limits.html). +// - InvalidRequestContentException +// The request body could not be parsed as JSON. // -// * UnsupportedMediaTypeException -// The content type of the Invoke request body is not JSON. +// - RequestTooLargeException +// The request payload exceeded the Invoke request body JSON input limit. For +// more information, see Limits (https://docs.aws.amazon.com/lambda/latest/dg/limits.html). // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - UnsupportedMediaTypeException +// The content type of the Invoke request body is not JSON. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * EC2UnexpectedException -// Lambda received an unexpected EC2 client exception while setting up for the -// Lambda function. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * SubnetIPAddressLimitReachedException -// Lambda was not able to set up VPC access for the Lambda function because -// one or more configured subnets has no available IP addresses. +// - EC2UnexpectedException +// Lambda received an unexpected EC2 client exception while setting up for the +// Lambda function. // -// * ENILimitReachedException -// Lambda was not able to create an elastic network interface in the VPC, specified -// as part of Lambda function configuration, because the limit for network interfaces -// has been reached. +// - SubnetIPAddressLimitReachedException +// Lambda was not able to set up VPC access for the Lambda function because +// one or more configured subnets has no available IP addresses. // -// * EFSMountConnectivityException -// The function couldn't make a network connection to the configured file system. +// - ENILimitReachedException +// Lambda was not able to create an elastic network interface in the VPC, specified +// as part of Lambda function configuration, because the limit for network interfaces +// has been reached. // -// * EFSMountFailureException -// The function couldn't mount the configured file system due to a permission -// or configuration issue. +// - EFSMountConnectivityException +// The function couldn't make a network connection to the configured file system. // -// * EFSMountTimeoutException -// The function was able to make a network connection to the configured file -// system, but the mount operation timed out. +// - EFSMountFailureException +// The function couldn't mount the configured file system due to a permission +// or configuration issue. // -// * EFSIOException -// An error occurred when reading from or writing to a connected file system. +// - EFSMountTimeoutException +// The function was able to make a network connection to the configured file +// system, but the mount operation timed out. // -// * EC2ThrottledException -// Lambda was throttled by Amazon EC2 during Lambda function initialization -// using the execution role provided for the Lambda function. +// - EFSIOException +// An error occurred when reading from or writing to a connected file system. // -// * EC2AccessDeniedException -// Need additional permissions to configure VPC settings. +// - EC2ThrottledException +// Lambda was throttled by Amazon EC2 during Lambda function initialization +// using the execution role provided for the Lambda function. // -// * InvalidSubnetIDException -// The Subnet ID provided in the Lambda function VPC configuration is invalid. +// - EC2AccessDeniedException +// Need additional permissions to configure VPC settings. // -// * InvalidSecurityGroupIDException -// The Security Group ID provided in the Lambda function VPC configuration is -// invalid. +// - InvalidSubnetIDException +// The Subnet ID provided in the Lambda function VPC configuration is invalid. // -// * InvalidZipFileException -// Lambda could not unzip the deployment package. +// - InvalidSecurityGroupIDException +// The Security Group ID provided in the Lambda function VPC configuration is +// invalid. // -// * KMSDisabledException -// Lambda was unable to decrypt the environment variables because the KMS key -// used is disabled. Check the Lambda function's KMS key settings. +// - InvalidZipFileException +// Lambda could not unzip the deployment package. // -// * KMSInvalidStateException -// Lambda was unable to decrypt the environment variables because the KMS key -// used is in an invalid state for Decrypt. Check the function's KMS key settings. +// - KMSDisabledException +// Lambda was unable to decrypt the environment variables because the KMS key +// used is disabled. Check the Lambda function's KMS key settings. // -// * KMSAccessDeniedException -// Lambda was unable to decrypt the environment variables because KMS access -// was denied. Check the Lambda function's KMS permissions. +// - KMSInvalidStateException +// Lambda was unable to decrypt the environment variables because the KMS key +// used is in an invalid state for Decrypt. Check the function's KMS key settings. // -// * KMSNotFoundException -// Lambda was unable to decrypt the environment variables because the KMS key -// was not found. Check the function's KMS key settings. +// - KMSAccessDeniedException +// Lambda was unable to decrypt the environment variables because KMS access +// was denied. Check the Lambda function's KMS permissions. // -// * InvalidRuntimeException -// The runtime or runtime version specified is not supported. +// - KMSNotFoundException +// Lambda was unable to decrypt the environment variables because the KMS key +// was not found. Check the function's KMS key settings. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - InvalidRuntimeException +// The runtime or runtime version specified is not supported. // -// * ResourceNotReadyException -// The function is inactive and its VPC connection is no longer available. Wait -// for the VPC connection to reestablish and try again. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. +// +// - ResourceNotReadyException +// The function is inactive and its VPC connection is no longer available. Wait +// for the VPC connection to reestablish and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/Invoke func (c *Lambda) Invoke(input *InvokeInput) (*InvokeOutput, error) { @@ -3292,14 +3292,13 @@ const opInvokeAsync = "InvokeAsync" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InvokeAsyncRequest method. +// req, resp := client.InvokeAsyncRequest(params) // -// // Example sending a request using the InvokeAsyncRequest method. -// req, resp := client.InvokeAsyncRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsync // @@ -3325,7 +3324,6 @@ func (c *Lambda) InvokeAsyncRequest(input *InvokeAsyncInput) (req *request.Reque // InvokeAsync API operation for AWS Lambda. // -// // For asynchronous function invocation, use Invoke. // // Invokes a function asynchronously. @@ -3338,20 +3336,21 @@ func (c *Lambda) InvokeAsyncRequest(input *InvokeAsyncInput) (req *request.Reque // API operation InvokeAsync for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidRequestContentException -// The request body could not be parsed as JSON. +// - InvalidRequestContentException +// The request body could not be parsed as JSON. // -// * InvalidRuntimeException -// The runtime or runtime version specified is not supported. +// - InvalidRuntimeException +// The runtime or runtime version specified is not supported. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/InvokeAsync // @@ -3395,14 +3394,13 @@ const opListAliases = "ListAliases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAliasesRequest method. +// req, resp := client.ListAliasesRequest(params) // -// // Example sending a request using the ListAliasesRequest method. -// req, resp := client.ListAliasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliases func (c *Lambda) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, output *ListAliasesOutput) { @@ -3440,17 +3438,18 @@ func (c *Lambda) ListAliasesRequest(input *ListAliasesInput) (req *request.Reque // API operation ListAliases for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListAliases func (c *Lambda) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error) { @@ -3482,15 +3481,14 @@ func (c *Lambda) ListAliasesWithContext(ctx aws.Context, input *ListAliasesInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAliases operation. -// pageNum := 0 -// err := client.ListAliasesPages(params, -// func(page *lambda.ListAliasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAliases operation. +// pageNum := 0 +// err := client.ListAliasesPages(params, +// func(page *lambda.ListAliasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Lambda) ListAliasesPages(input *ListAliasesInput, fn func(*ListAliasesOutput, bool) bool) error { return c.ListAliasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3542,14 +3540,13 @@ const opListCodeSigningConfigs = "ListCodeSigningConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCodeSigningConfigsRequest method. +// req, resp := client.ListCodeSigningConfigsRequest(params) // -// // Example sending a request using the ListCodeSigningConfigsRequest method. -// req, resp := client.ListCodeSigningConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCodeSigningConfigs func (c *Lambda) ListCodeSigningConfigsRequest(input *ListCodeSigningConfigsInput) (req *request.Request, output *ListCodeSigningConfigsOutput) { @@ -3588,11 +3585,12 @@ func (c *Lambda) ListCodeSigningConfigsRequest(input *ListCodeSigningConfigsInpu // API operation ListCodeSigningConfigs for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCodeSigningConfigs func (c *Lambda) ListCodeSigningConfigs(input *ListCodeSigningConfigsInput) (*ListCodeSigningConfigsOutput, error) { @@ -3624,15 +3622,14 @@ func (c *Lambda) ListCodeSigningConfigsWithContext(ctx aws.Context, input *ListC // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCodeSigningConfigs operation. -// pageNum := 0 -// err := client.ListCodeSigningConfigsPages(params, -// func(page *lambda.ListCodeSigningConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCodeSigningConfigs operation. +// pageNum := 0 +// err := client.ListCodeSigningConfigsPages(params, +// func(page *lambda.ListCodeSigningConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Lambda) ListCodeSigningConfigsPages(input *ListCodeSigningConfigsInput, fn func(*ListCodeSigningConfigsOutput, bool) bool) error { return c.ListCodeSigningConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3684,14 +3681,13 @@ const opListEventSourceMappings = "ListEventSourceMappings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventSourceMappingsRequest method. +// req, resp := client.ListEventSourceMappingsRequest(params) // -// // Example sending a request using the ListEventSourceMappingsRequest method. -// req, resp := client.ListEventSourceMappingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings func (c *Lambda) ListEventSourceMappingsRequest(input *ListEventSourceMappingsInput) (req *request.Request, output *ListEventSourceMappingsOutput) { @@ -3729,17 +3725,18 @@ func (c *Lambda) ListEventSourceMappingsRequest(input *ListEventSourceMappingsIn // API operation ListEventSourceMappings for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. +// +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings func (c *Lambda) ListEventSourceMappings(input *ListEventSourceMappingsInput) (*ListEventSourceMappingsOutput, error) { @@ -3771,15 +3768,14 @@ func (c *Lambda) ListEventSourceMappingsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEventSourceMappings operation. -// pageNum := 0 -// err := client.ListEventSourceMappingsPages(params, -// func(page *lambda.ListEventSourceMappingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEventSourceMappings operation. +// pageNum := 0 +// err := client.ListEventSourceMappingsPages(params, +// func(page *lambda.ListEventSourceMappingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Lambda) ListEventSourceMappingsPages(input *ListEventSourceMappingsInput, fn func(*ListEventSourceMappingsOutput, bool) bool) error { return c.ListEventSourceMappingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3831,14 +3827,13 @@ const opListFunctionEventInvokeConfigs = "ListFunctionEventInvokeConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFunctionEventInvokeConfigsRequest method. +// req, resp := client.ListFunctionEventInvokeConfigsRequest(params) // -// // Example sending a request using the ListFunctionEventInvokeConfigsRequest method. -// req, resp := client.ListFunctionEventInvokeConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionEventInvokeConfigs func (c *Lambda) ListFunctionEventInvokeConfigsRequest(input *ListFunctionEventInvokeConfigsInput) (req *request.Request, output *ListFunctionEventInvokeConfigsOutput) { @@ -3877,17 +3872,18 @@ func (c *Lambda) ListFunctionEventInvokeConfigsRequest(input *ListFunctionEventI // API operation ListFunctionEventInvokeConfigs for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * ServiceException -// The Lambda service encountered an internal error. +// - ServiceException +// The Lambda service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionEventInvokeConfigs func (c *Lambda) ListFunctionEventInvokeConfigs(input *ListFunctionEventInvokeConfigsInput) (*ListFunctionEventInvokeConfigsOutput, error) { @@ -3919,15 +3915,14 @@ func (c *Lambda) ListFunctionEventInvokeConfigsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFunctionEventInvokeConfigs operation. -// pageNum := 0 -// err := client.ListFunctionEventInvokeConfigsPages(params, -// func(page *lambda.ListFunctionEventInvokeConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFunctionEventInvokeConfigs operation. +// pageNum := 0 +// err := client.ListFunctionEventInvokeConfigsPages(params, +// func(page *lambda.ListFunctionEventInvokeConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Lambda) ListFunctionEventInvokeConfigsPages(input *ListFunctionEventInvokeConfigsInput, fn func(*ListFunctionEventInvokeConfigsOutput, bool) bool) error { return c.ListFunctionEventInvokeConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3979,14 +3974,13 @@ const opListFunctionUrlConfigs = "ListFunctionUrlConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFunctionUrlConfigsRequest method. +// req, resp := client.ListFunctionUrlConfigsRequest(params) // -// // Example sending a request using the ListFunctionUrlConfigsRequest method. -// req, resp := client.ListFunctionUrlConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigs func (c *Lambda) ListFunctionUrlConfigsRequest(input *ListFunctionUrlConfigsInput) (req *request.Request, output *ListFunctionUrlConfigsOutput) { @@ -4023,17 +4017,18 @@ func (c *Lambda) ListFunctionUrlConfigsRequest(input *ListFunctionUrlConfigsInpu // API operation ListFunctionUrlConfigs for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One of the parameters in the request is invalid. // -// * ServiceException -// The Lambda service encountered an internal error. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. +// +// - ServiceException +// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionUrlConfigs func (c *Lambda) ListFunctionUrlConfigs(input *ListFunctionUrlConfigsInput) (*ListFunctionUrlConfigsOutput, error) { @@ -4065,15 +4060,14 @@ func (c *Lambda) ListFunctionUrlConfigsWithContext(ctx aws.Context, input *ListF // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFunctionUrlConfigs operation. -// pageNum := 0 -// err := client.ListFunctionUrlConfigsPages(params, -// func(page *lambda.ListFunctionUrlConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFunctionUrlConfigs operation. +// pageNum := 0 +// err := client.ListFunctionUrlConfigsPages(params, +// func(page *lambda.ListFunctionUrlConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Lambda) ListFunctionUrlConfigsPages(input *ListFunctionUrlConfigsInput, fn func(*ListFunctionUrlConfigsOutput, bool) bool) error { return c.ListFunctionUrlConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4125,14 +4119,13 @@ const opListFunctions = "ListFunctions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFunctionsRequest method. +// req, resp := client.ListFunctionsRequest(params) // -// // Example sending a request using the ListFunctionsRequest method. -// req, resp := client.ListFunctionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions func (c *Lambda) ListFunctionsRequest(input *ListFunctionsInput) (req *request.Request, output *ListFunctionsOutput) { @@ -4178,14 +4171,15 @@ func (c *Lambda) ListFunctionsRequest(input *ListFunctionsInput) (req *request.R // API operation ListFunctions for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - ServiceException +// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctions func (c *Lambda) ListFunctions(input *ListFunctionsInput) (*ListFunctionsOutput, error) { @@ -4217,15 +4211,14 @@ func (c *Lambda) ListFunctionsWithContext(ctx aws.Context, input *ListFunctionsI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFunctions operation. -// pageNum := 0 -// err := client.ListFunctionsPages(params, -// func(page *lambda.ListFunctionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFunctions operation. +// pageNum := 0 +// err := client.ListFunctionsPages(params, +// func(page *lambda.ListFunctionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Lambda) ListFunctionsPages(input *ListFunctionsInput, fn func(*ListFunctionsOutput, bool) bool) error { return c.ListFunctionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4277,14 +4270,13 @@ const opListFunctionsByCodeSigningConfig = "ListFunctionsByCodeSigningConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFunctionsByCodeSigningConfigRequest method. +// req, resp := client.ListFunctionsByCodeSigningConfigRequest(params) // -// // Example sending a request using the ListFunctionsByCodeSigningConfigRequest method. -// req, resp := client.ListFunctionsByCodeSigningConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsByCodeSigningConfig func (c *Lambda) ListFunctionsByCodeSigningConfigRequest(input *ListFunctionsByCodeSigningConfigInput) (req *request.Request, output *ListFunctionsByCodeSigningConfigOutput) { @@ -4323,14 +4315,15 @@ func (c *Lambda) ListFunctionsByCodeSigningConfigRequest(input *ListFunctionsByC // API operation ListFunctionsByCodeSigningConfig for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListFunctionsByCodeSigningConfig func (c *Lambda) ListFunctionsByCodeSigningConfig(input *ListFunctionsByCodeSigningConfigInput) (*ListFunctionsByCodeSigningConfigOutput, error) { @@ -4362,15 +4355,14 @@ func (c *Lambda) ListFunctionsByCodeSigningConfigWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFunctionsByCodeSigningConfig operation. -// pageNum := 0 -// err := client.ListFunctionsByCodeSigningConfigPages(params, -// func(page *lambda.ListFunctionsByCodeSigningConfigOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFunctionsByCodeSigningConfig operation. +// pageNum := 0 +// err := client.ListFunctionsByCodeSigningConfigPages(params, +// func(page *lambda.ListFunctionsByCodeSigningConfigOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Lambda) ListFunctionsByCodeSigningConfigPages(input *ListFunctionsByCodeSigningConfigInput, fn func(*ListFunctionsByCodeSigningConfigOutput, bool) bool) error { return c.ListFunctionsByCodeSigningConfigPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4422,14 +4414,13 @@ const opListLayerVersions = "ListLayerVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLayerVersionsRequest method. +// req, resp := client.ListLayerVersionsRequest(params) // -// // Example sending a request using the ListLayerVersionsRequest method. -// req, resp := client.ListLayerVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersions func (c *Lambda) ListLayerVersionsRequest(input *ListLayerVersionsInput) (req *request.Request, output *ListLayerVersionsOutput) { @@ -4471,17 +4462,18 @@ func (c *Lambda) ListLayerVersionsRequest(input *ListLayerVersionsInput) (req *r // API operation ListLayerVersions for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayerVersions func (c *Lambda) ListLayerVersions(input *ListLayerVersionsInput) (*ListLayerVersionsOutput, error) { @@ -4513,15 +4505,14 @@ func (c *Lambda) ListLayerVersionsWithContext(ctx aws.Context, input *ListLayerV // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLayerVersions operation. -// pageNum := 0 -// err := client.ListLayerVersionsPages(params, -// func(page *lambda.ListLayerVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLayerVersions operation. +// pageNum := 0 +// err := client.ListLayerVersionsPages(params, +// func(page *lambda.ListLayerVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Lambda) ListLayerVersionsPages(input *ListLayerVersionsInput, fn func(*ListLayerVersionsOutput, bool) bool) error { return c.ListLayerVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4573,14 +4564,13 @@ const opListLayers = "ListLayers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLayersRequest method. +// req, resp := client.ListLayersRequest(params) // -// // Example sending a request using the ListLayersRequest method. -// req, resp := client.ListLayersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers func (c *Lambda) ListLayersRequest(input *ListLayersInput) (req *request.Request, output *ListLayersOutput) { @@ -4622,14 +4612,15 @@ func (c *Lambda) ListLayersRequest(input *ListLayersInput) (req *request.Request // API operation ListLayers for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ServiceException +// The Lambda service encountered an internal error. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. +// +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListLayers func (c *Lambda) ListLayers(input *ListLayersInput) (*ListLayersOutput, error) { @@ -4661,15 +4652,14 @@ func (c *Lambda) ListLayersWithContext(ctx aws.Context, input *ListLayersInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLayers operation. -// pageNum := 0 -// err := client.ListLayersPages(params, -// func(page *lambda.ListLayersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLayers operation. +// pageNum := 0 +// err := client.ListLayersPages(params, +// func(page *lambda.ListLayersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Lambda) ListLayersPages(input *ListLayersInput, fn func(*ListLayersOutput, bool) bool) error { return c.ListLayersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4721,14 +4711,13 @@ const opListProvisionedConcurrencyConfigs = "ListProvisionedConcurrencyConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProvisionedConcurrencyConfigsRequest method. +// req, resp := client.ListProvisionedConcurrencyConfigsRequest(params) // -// // Example sending a request using the ListProvisionedConcurrencyConfigsRequest method. -// req, resp := client.ListProvisionedConcurrencyConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListProvisionedConcurrencyConfigs func (c *Lambda) ListProvisionedConcurrencyConfigsRequest(input *ListProvisionedConcurrencyConfigsInput) (req *request.Request, output *ListProvisionedConcurrencyConfigsOutput) { @@ -4765,17 +4754,18 @@ func (c *Lambda) ListProvisionedConcurrencyConfigsRequest(input *ListProvisioned // API operation ListProvisionedConcurrencyConfigs for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * ServiceException -// The Lambda service encountered an internal error. +// - ServiceException +// The Lambda service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListProvisionedConcurrencyConfigs func (c *Lambda) ListProvisionedConcurrencyConfigs(input *ListProvisionedConcurrencyConfigsInput) (*ListProvisionedConcurrencyConfigsOutput, error) { @@ -4807,15 +4797,14 @@ func (c *Lambda) ListProvisionedConcurrencyConfigsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProvisionedConcurrencyConfigs operation. -// pageNum := 0 -// err := client.ListProvisionedConcurrencyConfigsPages(params, -// func(page *lambda.ListProvisionedConcurrencyConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProvisionedConcurrencyConfigs operation. +// pageNum := 0 +// err := client.ListProvisionedConcurrencyConfigsPages(params, +// func(page *lambda.ListProvisionedConcurrencyConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Lambda) ListProvisionedConcurrencyConfigsPages(input *ListProvisionedConcurrencyConfigsInput, fn func(*ListProvisionedConcurrencyConfigsOutput, bool) bool) error { return c.ListProvisionedConcurrencyConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4867,14 +4856,13 @@ const opListTags = "ListTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsRequest method. +// req, resp := client.ListTagsRequest(params) // -// // Example sending a request using the ListTagsRequest method. -// req, resp := client.ListTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTags func (c *Lambda) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { @@ -4906,17 +4894,18 @@ func (c *Lambda) ListTagsRequest(input *ListTagsInput) (req *request.Request, ou // API operation ListTags for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. +// +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTags func (c *Lambda) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { @@ -4956,14 +4945,13 @@ const opListVersionsByFunction = "ListVersionsByFunction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVersionsByFunctionRequest method. +// req, resp := client.ListVersionsByFunctionRequest(params) // -// // Example sending a request using the ListVersionsByFunctionRequest method. -// req, resp := client.ListVersionsByFunctionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction func (c *Lambda) ListVersionsByFunctionRequest(input *ListVersionsByFunctionInput) (req *request.Request, output *ListVersionsByFunctionOutput) { @@ -5002,17 +4990,18 @@ func (c *Lambda) ListVersionsByFunctionRequest(input *ListVersionsByFunctionInpu // API operation ListVersionsByFunction for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. +// +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListVersionsByFunction func (c *Lambda) ListVersionsByFunction(input *ListVersionsByFunctionInput) (*ListVersionsByFunctionOutput, error) { @@ -5044,15 +5033,14 @@ func (c *Lambda) ListVersionsByFunctionWithContext(ctx aws.Context, input *ListV // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVersionsByFunction operation. -// pageNum := 0 -// err := client.ListVersionsByFunctionPages(params, -// func(page *lambda.ListVersionsByFunctionOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVersionsByFunction operation. +// pageNum := 0 +// err := client.ListVersionsByFunctionPages(params, +// func(page *lambda.ListVersionsByFunctionOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Lambda) ListVersionsByFunctionPages(input *ListVersionsByFunctionInput, fn func(*ListVersionsByFunctionOutput, bool) bool) error { return c.ListVersionsByFunctionPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5104,14 +5092,13 @@ const opPublishLayerVersion = "PublishLayerVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PublishLayerVersionRequest method. +// req, resp := client.PublishLayerVersionRequest(params) // -// // Example sending a request using the PublishLayerVersionRequest method. -// req, resp := client.PublishLayerVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersion func (c *Lambda) PublishLayerVersionRequest(input *PublishLayerVersionInput) (req *request.Request, output *PublishLayerVersionOutput) { @@ -5146,20 +5133,21 @@ func (c *Lambda) PublishLayerVersionRequest(input *PublishLayerVersionInput) (re // API operation PublishLayerVersion for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * CodeStorageExceededException -// You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +// - CodeStorageExceededException +// You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishLayerVersion func (c *Lambda) PublishLayerVersion(input *PublishLayerVersionInput) (*PublishLayerVersionOutput, error) { @@ -5199,14 +5187,13 @@ const opPublishVersion = "PublishVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PublishVersionRequest method. +// req, resp := client.PublishVersionRequest(params) // -// // Example sending a request using the PublishVersionRequest method. -// req, resp := client.PublishVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion func (c *Lambda) PublishVersionRequest(input *PublishVersionInput) (req *request.Request, output *FunctionConfiguration) { @@ -5246,28 +5233,29 @@ func (c *Lambda) PublishVersionRequest(input *PublishVersionInput) (req *request // API operation PublishVersion for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * CodeStorageExceededException -// You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * PreconditionFailedException -// The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// - CodeStorageExceededException +// You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - PreconditionFailedException +// The RevisionId provided does not match the latest RevisionId for the Lambda +// function or alias. Call the GetFunction or the GetAlias API to retrieve the +// latest RevisionId for your resource. +// +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublishVersion func (c *Lambda) PublishVersion(input *PublishVersionInput) (*FunctionConfiguration, error) { @@ -5307,14 +5295,13 @@ const opPutFunctionCodeSigningConfig = "PutFunctionCodeSigningConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutFunctionCodeSigningConfigRequest method. +// req, resp := client.PutFunctionCodeSigningConfigRequest(params) // -// // Example sending a request using the PutFunctionCodeSigningConfigRequest method. -// req, resp := client.PutFunctionCodeSigningConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionCodeSigningConfig func (c *Lambda) PutFunctionCodeSigningConfigRequest(input *PutFunctionCodeSigningConfigInput) (req *request.Request, output *PutFunctionCodeSigningConfigOutput) { @@ -5347,23 +5334,24 @@ func (c *Lambda) PutFunctionCodeSigningConfigRequest(input *PutFunctionCodeSigni // API operation PutFunctionCodeSigningConfig for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ServiceException +// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * CodeSigningConfigNotFoundException -// The specified code signing configuration does not exist. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. +// +// - CodeSigningConfigNotFoundException +// The specified code signing configuration does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionCodeSigningConfig func (c *Lambda) PutFunctionCodeSigningConfig(input *PutFunctionCodeSigningConfigInput) (*PutFunctionCodeSigningConfigOutput, error) { @@ -5403,14 +5391,13 @@ const opPutFunctionConcurrency = "PutFunctionConcurrency" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutFunctionConcurrencyRequest method. +// req, resp := client.PutFunctionConcurrencyRequest(params) // -// // Example sending a request using the PutFunctionConcurrencyRequest method. -// req, resp := client.PutFunctionConcurrencyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrency func (c *Lambda) PutFunctionConcurrencyRequest(input *PutFunctionConcurrencyInput) (req *request.Request, output *PutFunctionConcurrencyOutput) { @@ -5454,20 +5441,21 @@ func (c *Lambda) PutFunctionConcurrencyRequest(input *PutFunctionConcurrencyInpu // API operation PutFunctionConcurrency for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ServiceException +// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionConcurrency func (c *Lambda) PutFunctionConcurrency(input *PutFunctionConcurrencyInput) (*PutFunctionConcurrencyOutput, error) { @@ -5507,14 +5495,13 @@ const opPutFunctionEventInvokeConfig = "PutFunctionEventInvokeConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutFunctionEventInvokeConfigRequest method. +// req, resp := client.PutFunctionEventInvokeConfigRequest(params) // -// // Example sending a request using the PutFunctionEventInvokeConfigRequest method. -// req, resp := client.PutFunctionEventInvokeConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionEventInvokeConfig func (c *Lambda) PutFunctionEventInvokeConfigRequest(input *PutFunctionEventInvokeConfigInput) (req *request.Request, output *PutFunctionEventInvokeConfigOutput) { @@ -5561,20 +5548,21 @@ func (c *Lambda) PutFunctionEventInvokeConfigRequest(input *PutFunctionEventInvo // API operation PutFunctionEventInvokeConfig for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutFunctionEventInvokeConfig func (c *Lambda) PutFunctionEventInvokeConfig(input *PutFunctionEventInvokeConfigInput) (*PutFunctionEventInvokeConfigOutput, error) { @@ -5614,14 +5602,13 @@ const opPutProvisionedConcurrencyConfig = "PutProvisionedConcurrencyConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutProvisionedConcurrencyConfigRequest method. +// req, resp := client.PutProvisionedConcurrencyConfigRequest(params) // -// // Example sending a request using the PutProvisionedConcurrencyConfigRequest method. -// req, resp := client.PutProvisionedConcurrencyConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutProvisionedConcurrencyConfig func (c *Lambda) PutProvisionedConcurrencyConfigRequest(input *PutProvisionedConcurrencyConfigInput) (req *request.Request, output *PutProvisionedConcurrencyConfigOutput) { @@ -5652,20 +5639,21 @@ func (c *Lambda) PutProvisionedConcurrencyConfigRequest(input *PutProvisionedCon // API operation PutProvisionedConcurrencyConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // -// * ServiceException -// The Lambda service encountered an internal error. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - ServiceException +// The Lambda service encountered an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutProvisionedConcurrencyConfig func (c *Lambda) PutProvisionedConcurrencyConfig(input *PutProvisionedConcurrencyConfigInput) (*PutProvisionedConcurrencyConfigOutput, error) { @@ -5705,14 +5693,13 @@ const opRemoveLayerVersionPermission = "RemoveLayerVersionPermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveLayerVersionPermissionRequest method. +// req, resp := client.RemoveLayerVersionPermissionRequest(params) // -// // Example sending a request using the RemoveLayerVersionPermissionRequest method. -// req, resp := client.RemoveLayerVersionPermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemoveLayerVersionPermission func (c *Lambda) RemoveLayerVersionPermissionRequest(input *RemoveLayerVersionPermissionInput) (req *request.Request, output *RemoveLayerVersionPermissionOutput) { @@ -5746,22 +5733,23 @@ func (c *Lambda) RemoveLayerVersionPermissionRequest(input *RemoveLayerVersionPe // API operation RemoveLayerVersionPermission for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * PreconditionFailedException -// The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - PreconditionFailedException +// The RevisionId provided does not match the latest RevisionId for the Lambda +// function or alias. Call the GetFunction or the GetAlias API to retrieve the +// latest RevisionId for your resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemoveLayerVersionPermission func (c *Lambda) RemoveLayerVersionPermission(input *RemoveLayerVersionPermissionInput) (*RemoveLayerVersionPermissionOutput, error) { @@ -5801,14 +5789,13 @@ const opRemovePermission = "RemovePermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemovePermissionRequest method. +// req, resp := client.RemovePermissionRequest(params) // -// // Example sending a request using the RemovePermissionRequest method. -// req, resp := client.RemovePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermission func (c *Lambda) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput) { @@ -5841,22 +5828,23 @@ func (c *Lambda) RemovePermissionRequest(input *RemovePermissionInput) (req *req // API operation RemovePermission for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * PreconditionFailedException -// The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - PreconditionFailedException +// The RevisionId provided does not match the latest RevisionId for the Lambda +// function or alias. Call the GetFunction or the GetAlias API to retrieve the +// latest RevisionId for your resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/RemovePermission func (c *Lambda) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error) { @@ -5896,14 +5884,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResource func (c *Lambda) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -5936,20 +5923,21 @@ func (c *Lambda) TagResourceRequest(input *TagResourceInput) (req *request.Reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - TooManyRequestsException +// The request throughput limit was exceeded. +// +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResource func (c *Lambda) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -5989,14 +5977,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResource func (c *Lambda) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -6029,20 +6016,21 @@ func (c *Lambda) UntagResourceRequest(input *UntagResourceInput) (req *request.R // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResource func (c *Lambda) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -6082,14 +6070,13 @@ const opUpdateAlias = "UpdateAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAliasRequest method. +// req, resp := client.UpdateAliasRequest(params) // -// // Example sending a request using the UpdateAliasRequest method. -// req, resp := client.UpdateAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateAlias func (c *Lambda) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Request, output *AliasConfiguration) { @@ -6120,25 +6107,26 @@ func (c *Lambda) UpdateAliasRequest(input *UpdateAliasInput) (req *request.Reque // API operation UpdateAlias for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * PreconditionFailedException -// The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// - PreconditionFailedException +// The RevisionId provided does not match the latest RevisionId for the Lambda +// function or alias. Call the GetFunction or the GetAlias API to retrieve the +// latest RevisionId for your resource. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateAlias func (c *Lambda) UpdateAlias(input *UpdateAliasInput) (*AliasConfiguration, error) { @@ -6178,14 +6166,13 @@ const opUpdateCodeSigningConfig = "UpdateCodeSigningConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCodeSigningConfigRequest method. +// req, resp := client.UpdateCodeSigningConfigRequest(params) // -// // Example sending a request using the UpdateCodeSigningConfigRequest method. -// req, resp := client.UpdateCodeSigningConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCodeSigningConfig func (c *Lambda) UpdateCodeSigningConfigRequest(input *UpdateCodeSigningConfigInput) (req *request.Request, output *UpdateCodeSigningConfigOutput) { @@ -6217,14 +6204,15 @@ func (c *Lambda) UpdateCodeSigningConfigRequest(input *UpdateCodeSigningConfigIn // API operation UpdateCodeSigningConfig for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceNotFoundException +// The resource specified in the request does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCodeSigningConfig func (c *Lambda) UpdateCodeSigningConfig(input *UpdateCodeSigningConfigInput) (*UpdateCodeSigningConfigOutput, error) { @@ -6264,14 +6252,13 @@ const opUpdateEventSourceMapping = "UpdateEventSourceMapping" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEventSourceMappingRequest method. +// req, resp := client.UpdateEventSourceMappingRequest(params) // -// // Example sending a request using the UpdateEventSourceMappingRequest method. -// req, resp := client.UpdateEventSourceMappingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping func (c *Lambda) UpdateEventSourceMappingRequest(input *UpdateEventSourceMappingInput) (req *request.Request, output *EventSourceMappingConfiguration) { @@ -6298,51 +6285,51 @@ func (c *Lambda) UpdateEventSourceMappingRequest(input *UpdateEventSourceMapping // For details about how to configure different event sources, see the following // topics. // -// * Amazon DynamoDB Streams (https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping) +// - Amazon DynamoDB Streams (https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping) // -// * Amazon Kinesis (https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping) +// - Amazon Kinesis (https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping) // -// * Amazon SQS (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource) +// - Amazon SQS (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource) // -// * Amazon MQ and RabbitMQ (https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping) +// - Amazon MQ and RabbitMQ (https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping) // -// * Amazon MSK (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html) +// - Amazon MSK (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html) // -// * Apache Kafka (https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html) +// - Apache Kafka (https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html) // // The following error handling options are only available for stream sources // (DynamoDB and Kinesis): // -// * BisectBatchOnFunctionError - If the function returns an error, split -// the batch in two and retry. +// - BisectBatchOnFunctionError - If the function returns an error, split +// the batch in two and retry. // -// * DestinationConfig - Send discarded records to an Amazon SQS queue or -// Amazon SNS topic. +// - DestinationConfig - Send discarded records to an Amazon SQS queue or +// Amazon SNS topic. // -// * MaximumRecordAgeInSeconds - Discard records older than the specified -// age. The default value is infinite (-1). When set to infinite (-1), failed -// records are retried until the record expires +// - MaximumRecordAgeInSeconds - Discard records older than the specified +// age. The default value is infinite (-1). When set to infinite (-1), failed +// records are retried until the record expires // -// * MaximumRetryAttempts - Discard records after the specified number of -// retries. The default value is infinite (-1). When set to infinite (-1), -// failed records are retried until the record expires. +// - MaximumRetryAttempts - Discard records after the specified number of +// retries. The default value is infinite (-1). When set to infinite (-1), +// failed records are retried until the record expires. // -// * ParallelizationFactor - Process multiple batches from each shard concurrently. +// - ParallelizationFactor - Process multiple batches from each shard concurrently. // // For information about which configuration parameters apply to each event // source, see the following topics. // -// * Amazon DynamoDB Streams (https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params) +// - Amazon DynamoDB Streams (https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params) // -// * Amazon Kinesis (https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params) +// - Amazon Kinesis (https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params) // -// * Amazon SQS (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params) +// - Amazon SQS (https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params) // -// * Amazon MQ and RabbitMQ (https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params) +// - Amazon MQ and RabbitMQ (https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params) // -// * Amazon MSK (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms) +// - Amazon MSK (https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms) // -// * Apache Kafka (https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms) +// - Apache Kafka (https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6352,25 +6339,26 @@ func (c *Lambda) UpdateEventSourceMappingRequest(input *UpdateEventSourceMapping // API operation UpdateEventSourceMapping for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // -// * ResourceInUseException -// The operation conflicts with the resource's availability. For example, you -// attempted to update an EventSource Mapping in CREATING, or tried to delete -// a EventSource mapping currently in the UPDATING state. +// - ResourceInUseException +// The operation conflicts with the resource's availability. For example, you +// attempted to update an EventSource Mapping in CREATING, or tried to delete +// a EventSource mapping currently in the UPDATING state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping func (c *Lambda) UpdateEventSourceMapping(input *UpdateEventSourceMappingInput) (*EventSourceMappingConfiguration, error) { @@ -6410,14 +6398,13 @@ const opUpdateFunctionCode = "UpdateFunctionCode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFunctionCodeRequest method. +// req, resp := client.UpdateFunctionCodeRequest(params) // -// // Example sending a request using the UpdateFunctionCodeRequest method. -// req, resp := client.UpdateFunctionCodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode func (c *Lambda) UpdateFunctionCodeRequest(input *UpdateFunctionCodeInput) (req *request.Request, output *FunctionConfiguration) { @@ -6469,40 +6456,41 @@ func (c *Lambda) UpdateFunctionCodeRequest(input *UpdateFunctionCodeInput) (req // API operation UpdateFunctionCode for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * CodeStorageExceededException -// You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) +// - CodeStorageExceededException +// You have exceeded your maximum total code size per account. Learn more (https://docs.aws.amazon.com/lambda/latest/dg/limits.html) // -// * PreconditionFailedException -// The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// - PreconditionFailedException +// The RevisionId provided does not match the latest RevisionId for the Lambda +// function or alias. Call the GetFunction or the GetAlias API to retrieve the +// latest RevisionId for your resource. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // -// * CodeVerificationFailedException -// The code signature failed one or more of the validation checks for signature -// mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda -// blocks the deployment. +// - CodeVerificationFailedException +// The code signature failed one or more of the validation checks for signature +// mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda +// blocks the deployment. // -// * InvalidCodeSignatureException -// The code signature failed the integrity check. Lambda always blocks deployment -// if the integrity check fails, even if code signing policy is set to WARN. +// - InvalidCodeSignatureException +// The code signature failed the integrity check. Lambda always blocks deployment +// if the integrity check fails, even if code signing policy is set to WARN. // -// * CodeSigningConfigNotFoundException -// The specified code signing configuration does not exist. +// - CodeSigningConfigNotFoundException +// The specified code signing configuration does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionCode func (c *Lambda) UpdateFunctionCode(input *UpdateFunctionCodeInput) (*FunctionConfiguration, error) { @@ -6542,14 +6530,13 @@ const opUpdateFunctionConfiguration = "UpdateFunctionConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFunctionConfigurationRequest method. +// req, resp := client.UpdateFunctionConfigurationRequest(params) // -// // Example sending a request using the UpdateFunctionConfigurationRequest method. -// req, resp := client.UpdateFunctionConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration func (c *Lambda) UpdateFunctionConfigurationRequest(input *UpdateFunctionConfigurationInput) (req *request.Request, output *FunctionConfiguration) { @@ -6595,37 +6582,38 @@ func (c *Lambda) UpdateFunctionConfigurationRequest(input *UpdateFunctionConfigu // API operation UpdateFunctionConfiguration for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // -// * PreconditionFailedException -// The RevisionId provided does not match the latest RevisionId for the Lambda -// function or alias. Call the GetFunction or the GetAlias API to retrieve the -// latest RevisionId for your resource. +// - PreconditionFailedException +// The RevisionId provided does not match the latest RevisionId for the Lambda +// function or alias. Call the GetFunction or the GetAlias API to retrieve the +// latest RevisionId for your resource. // -// * CodeVerificationFailedException -// The code signature failed one or more of the validation checks for signature -// mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda -// blocks the deployment. +// - CodeVerificationFailedException +// The code signature failed one or more of the validation checks for signature +// mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda +// blocks the deployment. // -// * InvalidCodeSignatureException -// The code signature failed the integrity check. Lambda always blocks deployment -// if the integrity check fails, even if code signing policy is set to WARN. +// - InvalidCodeSignatureException +// The code signature failed the integrity check. Lambda always blocks deployment +// if the integrity check fails, even if code signing policy is set to WARN. // -// * CodeSigningConfigNotFoundException -// The specified code signing configuration does not exist. +// - CodeSigningConfigNotFoundException +// The specified code signing configuration does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionConfiguration func (c *Lambda) UpdateFunctionConfiguration(input *UpdateFunctionConfigurationInput) (*FunctionConfiguration, error) { @@ -6665,14 +6653,13 @@ const opUpdateFunctionEventInvokeConfig = "UpdateFunctionEventInvokeConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFunctionEventInvokeConfigRequest method. +// req, resp := client.UpdateFunctionEventInvokeConfigRequest(params) // -// // Example sending a request using the UpdateFunctionEventInvokeConfigRequest method. -// req, resp := client.UpdateFunctionEventInvokeConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionEventInvokeConfig func (c *Lambda) UpdateFunctionEventInvokeConfigRequest(input *UpdateFunctionEventInvokeConfigInput) (req *request.Request, output *UpdateFunctionEventInvokeConfigOutput) { @@ -6706,20 +6693,21 @@ func (c *Lambda) UpdateFunctionEventInvokeConfigRequest(input *UpdateFunctionEve // API operation UpdateFunctionEventInvokeConfig for usage and error information. // // Returned Error Types: -// * ServiceException -// The Lambda service encountered an internal error. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ServiceException +// The Lambda service encountered an internal error. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // -// * ResourceConflictException -// The resource already exists, or another operation is in progress. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionEventInvokeConfig func (c *Lambda) UpdateFunctionEventInvokeConfig(input *UpdateFunctionEventInvokeConfigInput) (*UpdateFunctionEventInvokeConfigOutput, error) { @@ -6759,14 +6747,13 @@ const opUpdateFunctionUrlConfig = "UpdateFunctionUrlConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFunctionUrlConfigRequest method. +// req, resp := client.UpdateFunctionUrlConfigRequest(params) // -// // Example sending a request using the UpdateFunctionUrlConfigRequest method. -// req, resp := client.UpdateFunctionUrlConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfig func (c *Lambda) UpdateFunctionUrlConfigRequest(input *UpdateFunctionUrlConfigInput) (req *request.Request, output *UpdateFunctionUrlConfigOutput) { @@ -6797,20 +6784,21 @@ func (c *Lambda) UpdateFunctionUrlConfigRequest(input *UpdateFunctionUrlConfigIn // API operation UpdateFunctionUrlConfig for usage and error information. // // Returned Error Types: -// * ResourceConflictException -// The resource already exists, or another operation is in progress. // -// * ResourceNotFoundException -// The resource specified in the request does not exist. +// - ResourceConflictException +// The resource already exists, or another operation is in progress. +// +// - ResourceNotFoundException +// The resource specified in the request does not exist. // -// * InvalidParameterValueException -// One of the parameters in the request is invalid. +// - InvalidParameterValueException +// One of the parameters in the request is invalid. // -// * ServiceException -// The Lambda service encountered an internal error. +// - ServiceException +// The Lambda service encountered an internal error. // -// * TooManyRequestsException -// The request throughput limit was exceeded. +// - TooManyRequestsException +// The request throughput limit was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateFunctionUrlConfig func (c *Lambda) UpdateFunctionUrlConfig(input *UpdateFunctionUrlConfigInput) (*UpdateFunctionUrlConfigOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/doc.go index 1302ad68df75..24271f80bac9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/doc.go @@ -3,7 +3,7 @@ // Package lambda provides the client and types for making API // requests to AWS Lambda. // -// Overview +// # Overview // // Lambda is a compute service that lets you run code without provisioning or // managing servers. Lambda runs your code on a high-availability compute infrastructure @@ -30,7 +30,7 @@ // see Signature Version 4 signing process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) // in the Amazon Web Services General Reference.. // -// CA certificates +// # CA certificates // // Because Amazon Web Services SDKs use the CA certificates from your computer, // changes to the certificates on the Amazon Web Services servers can cause @@ -41,30 +41,30 @@ // with the update process. The following list shows minimum operating system // and Java versions: // -// * Microsoft Windows versions that have updates from January 2005 or later -// installed contain at least one of the required CAs in their trust list. +// - Microsoft Windows versions that have updates from January 2005 or later +// installed contain at least one of the required CAs in their trust list. // -// * Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), -// Mac OS X 10.5 (October 2007), and later versions contain at least one -// of the required CAs in their trust list. +// - Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), +// Mac OS X 10.5 (October 2007), and later versions contain at least one +// of the required CAs in their trust list. // -// * Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and -// 7 all contain at least one of the required CAs in their default trusted -// CA list. +// - Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and +// 7 all contain at least one of the required CAs in their default trusted +// CA list. // -// * Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, -// including Java 6 (December 2006), 7, and 8, contain at least one of the -// required CAs in their default trusted CA list. +// - Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, +// including Java 6 (December 2006), 7, and 8, contain at least one of the +// required CAs in their default trusted CA list. // // When accessing the Lambda management console or Lambda API endpoints, whether // through browsers or programmatically, you will need to ensure your client // machines support any of the following CAs: // -// * Amazon Root CA 1 +// - Amazon Root CA 1 // -// * Starfield Services Root Certificate Authority - G2 +// - Starfield Services Root Certificate Authority - G2 // -// * Starfield Class 2 Certification Authority +// - Starfield Class 2 Certification Authority // // Root certificates from the first two authorities are available from Amazon // trust services (https://www.amazontrust.com/repository/), but keeping your @@ -77,7 +77,7 @@ // See lambda package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/lambda/ // -// Using the Client +// # Using the Client // // To contact AWS Lambda with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/lambdaiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/lambdaiface/interface.go index 066d09821d7d..006e0685aa20 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/lambdaiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/lambdaiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Lambda. -// func myFunc(svc lambdaiface.LambdaAPI) bool { -// // Make svc.AddLayerVersionPermission request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Lambda. +// func myFunc(svc lambdaiface.LambdaAPI) bool { +// // Make svc.AddLayerVersionPermission request +// } // -// func main() { -// sess := session.New() -// svc := lambda.New(sess) +// func main() { +// sess := session.New() +// svc := lambda.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockLambdaClient struct { -// lambdaiface.LambdaAPI -// } -// func (m *mockLambdaClient) AddLayerVersionPermission(input *lambda.AddLayerVersionPermissionInput) (*lambda.AddLayerVersionPermissionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockLambdaClient struct { +// lambdaiface.LambdaAPI +// } +// func (m *mockLambdaClient) AddLayerVersionPermission(input *lambda.AddLayerVersionPermissionInput) (*lambda.AddLayerVersionPermissionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockLambdaClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockLambdaClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/service.go index aba098c94d1b..431ed9be56c4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lambda/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Lambda client from just a session. -// svc := lambda.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Lambda client with additional configuration -// svc := lambda.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Lambda client from just a session. +// svc := lambda.New(mySession) +// +// // Create a Lambda client with additional configuration +// svc := lambda.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Lambda { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/api.go index af31d6a35aa2..329f1ac0b8d9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/api.go @@ -29,14 +29,13 @@ const opCreateBotVersion = "CreateBotVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBotVersionRequest method. +// req, resp := client.CreateBotVersionRequest(params) // -// // Example sending a request using the CreateBotVersionRequest method. -// req, resp := client.CreateBotVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateBotVersion func (c *LexModelBuildingService) CreateBotVersionRequest(input *CreateBotVersionInput) (req *request.Request, output *CreateBotVersionOutput) { @@ -77,26 +76,27 @@ func (c *LexModelBuildingService) CreateBotVersionRequest(input *CreateBotVersio // API operation CreateBotVersion for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// * PreconditionFailedException -// The checksum of the resource that you are trying to change does not match -// the checksum in the request. Check the resource's checksum and try again. +// - PreconditionFailedException +// The checksum of the resource that you are trying to change does not match +// the checksum in the request. Check the resource's checksum and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateBotVersion func (c *LexModelBuildingService) CreateBotVersion(input *CreateBotVersionInput) (*CreateBotVersionOutput, error) { @@ -136,14 +136,13 @@ const opCreateIntentVersion = "CreateIntentVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIntentVersionRequest method. +// req, resp := client.CreateIntentVersionRequest(params) // -// // Example sending a request using the CreateIntentVersionRequest method. -// req, resp := client.CreateIntentVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateIntentVersion func (c *LexModelBuildingService) CreateIntentVersionRequest(input *CreateIntentVersionInput) (req *request.Request, output *CreateIntentVersionOutput) { @@ -186,26 +185,27 @@ func (c *LexModelBuildingService) CreateIntentVersionRequest(input *CreateIntent // API operation CreateIntentVersion for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * PreconditionFailedException -// The checksum of the resource that you are trying to change does not match -// the checksum in the request. Check the resource's checksum and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// - PreconditionFailedException +// The checksum of the resource that you are trying to change does not match +// the checksum in the request. Check the resource's checksum and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateIntentVersion func (c *LexModelBuildingService) CreateIntentVersion(input *CreateIntentVersionInput) (*CreateIntentVersionOutput, error) { @@ -245,14 +245,13 @@ const opCreateSlotTypeVersion = "CreateSlotTypeVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSlotTypeVersionRequest method. +// req, resp := client.CreateSlotTypeVersionRequest(params) // -// // Example sending a request using the CreateSlotTypeVersionRequest method. -// req, resp := client.CreateSlotTypeVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateSlotTypeVersion func (c *LexModelBuildingService) CreateSlotTypeVersionRequest(input *CreateSlotTypeVersionInput) (req *request.Request, output *CreateSlotTypeVersionOutput) { @@ -294,26 +293,27 @@ func (c *LexModelBuildingService) CreateSlotTypeVersionRequest(input *CreateSlot // API operation CreateSlotTypeVersion for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// * PreconditionFailedException -// The checksum of the resource that you are trying to change does not match -// the checksum in the request. Check the resource's checksum and try again. +// - PreconditionFailedException +// The checksum of the resource that you are trying to change does not match +// the checksum in the request. Check the resource's checksum and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateSlotTypeVersion func (c *LexModelBuildingService) CreateSlotTypeVersion(input *CreateSlotTypeVersionInput) (*CreateSlotTypeVersionOutput, error) { @@ -353,14 +353,13 @@ const opDeleteBot = "DeleteBot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBotRequest method. +// req, resp := client.DeleteBotRequest(params) // -// // Example sending a request using the DeleteBotRequest method. -// req, resp := client.DeleteBotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBot func (c *LexModelBuildingService) DeleteBotRequest(input *DeleteBotInput) (req *request.Request, output *DeleteBotOutput) { @@ -407,35 +406,36 @@ func (c *LexModelBuildingService) DeleteBotRequest(input *DeleteBotInput) (req * // API operation DeleteBot for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// * ResourceInUseException -// The resource that you are attempting to delete is referred to by another -// resource. Use this information to remove references to the resource that -// you are trying to delete. +// - ResourceInUseException +// The resource that you are attempting to delete is referred to by another +// resource. Use this information to remove references to the resource that +// you are trying to delete. // -// The body of the exception contains a JSON object that describes the resource. +// The body of the exception contains a JSON object that describes the resource. // -// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, +// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, // -// "resourceReference": { +// "resourceReference": { // -// "name": string, "version": string } } +// "name": string, "version": string } } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBot func (c *LexModelBuildingService) DeleteBot(input *DeleteBotInput) (*DeleteBotOutput, error) { @@ -475,14 +475,13 @@ const opDeleteBotAlias = "DeleteBotAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBotAliasRequest method. +// req, resp := client.DeleteBotAliasRequest(params) // -// // Example sending a request using the DeleteBotAliasRequest method. -// req, resp := client.DeleteBotAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotAlias func (c *LexModelBuildingService) DeleteBotAliasRequest(input *DeleteBotAliasInput) (req *request.Request, output *DeleteBotAliasOutput) { @@ -522,35 +521,36 @@ func (c *LexModelBuildingService) DeleteBotAliasRequest(input *DeleteBotAliasInp // API operation DeleteBotAlias for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * ResourceInUseException -// The resource that you are attempting to delete is referred to by another -// resource. Use this information to remove references to the resource that -// you are trying to delete. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// The body of the exception contains a JSON object that describes the resource. +// - ResourceInUseException +// The resource that you are attempting to delete is referred to by another +// resource. Use this information to remove references to the resource that +// you are trying to delete. // -// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, +// The body of the exception contains a JSON object that describes the resource. // -// "resourceReference": { +// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, // -// "name": string, "version": string } } +// "resourceReference": { +// +// "name": string, "version": string } } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotAlias func (c *LexModelBuildingService) DeleteBotAlias(input *DeleteBotAliasInput) (*DeleteBotAliasOutput, error) { @@ -590,14 +590,13 @@ const opDeleteBotChannelAssociation = "DeleteBotChannelAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBotChannelAssociationRequest method. +// req, resp := client.DeleteBotChannelAssociationRequest(params) // -// // Example sending a request using the DeleteBotChannelAssociationRequest method. -// req, resp := client.DeleteBotChannelAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotChannelAssociation func (c *LexModelBuildingService) DeleteBotChannelAssociationRequest(input *DeleteBotChannelAssociationInput) (req *request.Request, output *DeleteBotChannelAssociationOutput) { @@ -632,22 +631,23 @@ func (c *LexModelBuildingService) DeleteBotChannelAssociationRequest(input *Dele // API operation DeleteBotChannelAssociation for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotChannelAssociation func (c *LexModelBuildingService) DeleteBotChannelAssociation(input *DeleteBotChannelAssociationInput) (*DeleteBotChannelAssociationOutput, error) { @@ -687,14 +687,13 @@ const opDeleteBotVersion = "DeleteBotVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBotVersionRequest method. +// req, resp := client.DeleteBotVersionRequest(params) // -// // Example sending a request using the DeleteBotVersionRequest method. -// req, resp := client.DeleteBotVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotVersion func (c *LexModelBuildingService) DeleteBotVersionRequest(input *DeleteBotVersionInput) (req *request.Request, output *DeleteBotVersionOutput) { @@ -729,35 +728,36 @@ func (c *LexModelBuildingService) DeleteBotVersionRequest(input *DeleteBotVersio // API operation DeleteBotVersion for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// * ResourceInUseException -// The resource that you are attempting to delete is referred to by another -// resource. Use this information to remove references to the resource that -// you are trying to delete. +// - ResourceInUseException +// The resource that you are attempting to delete is referred to by another +// resource. Use this information to remove references to the resource that +// you are trying to delete. // -// The body of the exception contains a JSON object that describes the resource. +// The body of the exception contains a JSON object that describes the resource. // -// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, +// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, // -// "resourceReference": { +// "resourceReference": { // -// "name": string, "version": string } } +// "name": string, "version": string } } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteBotVersion func (c *LexModelBuildingService) DeleteBotVersion(input *DeleteBotVersionInput) (*DeleteBotVersionOutput, error) { @@ -797,14 +797,13 @@ const opDeleteIntent = "DeleteIntent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIntentRequest method. +// req, resp := client.DeleteIntentRequest(params) // -// // Example sending a request using the DeleteIntentRequest method. -// req, resp := client.DeleteIntentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntent func (c *LexModelBuildingService) DeleteIntentRequest(input *DeleteIntentInput) (req *request.Request, output *DeleteIntentOutput) { @@ -849,35 +848,36 @@ func (c *LexModelBuildingService) DeleteIntentRequest(input *DeleteIntentInput) // API operation DeleteIntent for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * ResourceInUseException -// The resource that you are attempting to delete is referred to by another -// resource. Use this information to remove references to the resource that -// you are trying to delete. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// The body of the exception contains a JSON object that describes the resource. +// - ResourceInUseException +// The resource that you are attempting to delete is referred to by another +// resource. Use this information to remove references to the resource that +// you are trying to delete. // -// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, +// The body of the exception contains a JSON object that describes the resource. // -// "resourceReference": { +// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, // -// "name": string, "version": string } } +// "resourceReference": { +// +// "name": string, "version": string } } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntent func (c *LexModelBuildingService) DeleteIntent(input *DeleteIntentInput) (*DeleteIntentOutput, error) { @@ -917,14 +917,13 @@ const opDeleteIntentVersion = "DeleteIntentVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIntentVersionRequest method. +// req, resp := client.DeleteIntentVersionRequest(params) // -// // Example sending a request using the DeleteIntentVersionRequest method. -// req, resp := client.DeleteIntentVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentVersion func (c *LexModelBuildingService) DeleteIntentVersionRequest(input *DeleteIntentVersionInput) (req *request.Request, output *DeleteIntentVersionOutput) { @@ -959,35 +958,36 @@ func (c *LexModelBuildingService) DeleteIntentVersionRequest(input *DeleteIntent // API operation DeleteIntentVersion for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// * ResourceInUseException -// The resource that you are attempting to delete is referred to by another -// resource. Use this information to remove references to the resource that -// you are trying to delete. +// - ResourceInUseException +// The resource that you are attempting to delete is referred to by another +// resource. Use this information to remove references to the resource that +// you are trying to delete. // -// The body of the exception contains a JSON object that describes the resource. +// The body of the exception contains a JSON object that describes the resource. // -// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, +// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, // -// "resourceReference": { +// "resourceReference": { // -// "name": string, "version": string } } +// "name": string, "version": string } } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteIntentVersion func (c *LexModelBuildingService) DeleteIntentVersion(input *DeleteIntentVersionInput) (*DeleteIntentVersionOutput, error) { @@ -1027,14 +1027,13 @@ const opDeleteSlotType = "DeleteSlotType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSlotTypeRequest method. +// req, resp := client.DeleteSlotTypeRequest(params) // -// // Example sending a request using the DeleteSlotTypeRequest method. -// req, resp := client.DeleteSlotTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotType func (c *LexModelBuildingService) DeleteSlotTypeRequest(input *DeleteSlotTypeInput) (req *request.Request, output *DeleteSlotTypeOutput) { @@ -1081,35 +1080,36 @@ func (c *LexModelBuildingService) DeleteSlotTypeRequest(input *DeleteSlotTypeInp // API operation DeleteSlotType for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// * ResourceInUseException -// The resource that you are attempting to delete is referred to by another -// resource. Use this information to remove references to the resource that -// you are trying to delete. +// - ResourceInUseException +// The resource that you are attempting to delete is referred to by another +// resource. Use this information to remove references to the resource that +// you are trying to delete. // -// The body of the exception contains a JSON object that describes the resource. +// The body of the exception contains a JSON object that describes the resource. // -// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, +// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, // -// "resourceReference": { +// "resourceReference": { // -// "name": string, "version": string } } +// "name": string, "version": string } } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotType func (c *LexModelBuildingService) DeleteSlotType(input *DeleteSlotTypeInput) (*DeleteSlotTypeOutput, error) { @@ -1149,14 +1149,13 @@ const opDeleteSlotTypeVersion = "DeleteSlotTypeVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSlotTypeVersionRequest method. +// req, resp := client.DeleteSlotTypeVersionRequest(params) // -// // Example sending a request using the DeleteSlotTypeVersionRequest method. -// req, resp := client.DeleteSlotTypeVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeVersion func (c *LexModelBuildingService) DeleteSlotTypeVersionRequest(input *DeleteSlotTypeVersionInput) (req *request.Request, output *DeleteSlotTypeVersionOutput) { @@ -1191,35 +1190,36 @@ func (c *LexModelBuildingService) DeleteSlotTypeVersionRequest(input *DeleteSlot // API operation DeleteSlotTypeVersion for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * ResourceInUseException -// The resource that you are attempting to delete is referred to by another -// resource. Use this information to remove references to the resource that -// you are trying to delete. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// The body of the exception contains a JSON object that describes the resource. +// - ResourceInUseException +// The resource that you are attempting to delete is referred to by another +// resource. Use this information to remove references to the resource that +// you are trying to delete. // -// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, +// The body of the exception contains a JSON object that describes the resource. // -// "resourceReference": { +// { "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT, // -// "name": string, "version": string } } +// "resourceReference": { +// +// "name": string, "version": string } } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteSlotTypeVersion func (c *LexModelBuildingService) DeleteSlotTypeVersion(input *DeleteSlotTypeVersionInput) (*DeleteSlotTypeVersionOutput, error) { @@ -1259,14 +1259,13 @@ const opDeleteUtterances = "DeleteUtterances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUtterancesRequest method. +// req, resp := client.DeleteUtterancesRequest(params) // -// // Example sending a request using the DeleteUtterancesRequest method. -// req, resp := client.DeleteUtterancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteUtterances func (c *LexModelBuildingService) DeleteUtterancesRequest(input *DeleteUtterancesInput) (req *request.Request, output *DeleteUtterancesOutput) { @@ -1311,19 +1310,20 @@ func (c *LexModelBuildingService) DeleteUtterancesRequest(input *DeleteUtterance // API operation DeleteUtterances for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/DeleteUtterances func (c *LexModelBuildingService) DeleteUtterances(input *DeleteUtterancesInput) (*DeleteUtterancesOutput, error) { @@ -1363,14 +1363,13 @@ const opGetBot = "GetBot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBotRequest method. +// req, resp := client.GetBotRequest(params) // -// // Example sending a request using the GetBotRequest method. -// req, resp := client.GetBotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBot func (c *LexModelBuildingService) GetBotRequest(input *GetBotInput) (req *request.Request, output *GetBotOutput) { @@ -1404,19 +1403,20 @@ func (c *LexModelBuildingService) GetBotRequest(input *GetBotInput) (req *reques // API operation GetBot for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBot func (c *LexModelBuildingService) GetBot(input *GetBotInput) (*GetBotOutput, error) { @@ -1456,14 +1456,13 @@ const opGetBotAlias = "GetBotAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBotAliasRequest method. +// req, resp := client.GetBotAliasRequest(params) // -// // Example sending a request using the GetBotAliasRequest method. -// req, resp := client.GetBotAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAlias func (c *LexModelBuildingService) GetBotAliasRequest(input *GetBotAliasInput) (req *request.Request, output *GetBotAliasOutput) { @@ -1497,19 +1496,20 @@ func (c *LexModelBuildingService) GetBotAliasRequest(input *GetBotAliasInput) (r // API operation GetBotAlias for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAlias func (c *LexModelBuildingService) GetBotAlias(input *GetBotAliasInput) (*GetBotAliasOutput, error) { @@ -1549,14 +1549,13 @@ const opGetBotAliases = "GetBotAliases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBotAliasesRequest method. +// req, resp := client.GetBotAliasesRequest(params) // -// // Example sending a request using the GetBotAliasesRequest method. -// req, resp := client.GetBotAliasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliases func (c *LexModelBuildingService) GetBotAliasesRequest(input *GetBotAliasesInput) (req *request.Request, output *GetBotAliasesOutput) { @@ -1595,15 +1594,16 @@ func (c *LexModelBuildingService) GetBotAliasesRequest(input *GetBotAliasesInput // API operation GetBotAliases for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. +// +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotAliases func (c *LexModelBuildingService) GetBotAliases(input *GetBotAliasesInput) (*GetBotAliasesOutput, error) { @@ -1635,15 +1635,14 @@ func (c *LexModelBuildingService) GetBotAliasesWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetBotAliases operation. -// pageNum := 0 -// err := client.GetBotAliasesPages(params, -// func(page *lexmodelbuildingservice.GetBotAliasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetBotAliases operation. +// pageNum := 0 +// err := client.GetBotAliasesPages(params, +// func(page *lexmodelbuildingservice.GetBotAliasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelBuildingService) GetBotAliasesPages(input *GetBotAliasesInput, fn func(*GetBotAliasesOutput, bool) bool) error { return c.GetBotAliasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1695,14 +1694,13 @@ const opGetBotChannelAssociation = "GetBotChannelAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBotChannelAssociationRequest method. +// req, resp := client.GetBotChannelAssociationRequest(params) // -// // Example sending a request using the GetBotChannelAssociationRequest method. -// req, resp := client.GetBotChannelAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociation func (c *LexModelBuildingService) GetBotChannelAssociationRequest(input *GetBotChannelAssociationInput) (req *request.Request, output *GetBotChannelAssociationOutput) { @@ -1737,19 +1735,20 @@ func (c *LexModelBuildingService) GetBotChannelAssociationRequest(input *GetBotC // API operation GetBotChannelAssociation for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociation func (c *LexModelBuildingService) GetBotChannelAssociation(input *GetBotChannelAssociationInput) (*GetBotChannelAssociationOutput, error) { @@ -1789,14 +1788,13 @@ const opGetBotChannelAssociations = "GetBotChannelAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBotChannelAssociationsRequest method. +// req, resp := client.GetBotChannelAssociationsRequest(params) // -// // Example sending a request using the GetBotChannelAssociationsRequest method. -// req, resp := client.GetBotChannelAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociations func (c *LexModelBuildingService) GetBotChannelAssociationsRequest(input *GetBotChannelAssociationsInput) (req *request.Request, output *GetBotChannelAssociationsOutput) { @@ -1836,15 +1834,16 @@ func (c *LexModelBuildingService) GetBotChannelAssociationsRequest(input *GetBot // API operation GetBotChannelAssociations for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. +// +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotChannelAssociations func (c *LexModelBuildingService) GetBotChannelAssociations(input *GetBotChannelAssociationsInput) (*GetBotChannelAssociationsOutput, error) { @@ -1876,15 +1875,14 @@ func (c *LexModelBuildingService) GetBotChannelAssociationsWithContext(ctx aws.C // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetBotChannelAssociations operation. -// pageNum := 0 -// err := client.GetBotChannelAssociationsPages(params, -// func(page *lexmodelbuildingservice.GetBotChannelAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetBotChannelAssociations operation. +// pageNum := 0 +// err := client.GetBotChannelAssociationsPages(params, +// func(page *lexmodelbuildingservice.GetBotChannelAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelBuildingService) GetBotChannelAssociationsPages(input *GetBotChannelAssociationsInput, fn func(*GetBotChannelAssociationsOutput, bool) bool) error { return c.GetBotChannelAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1936,14 +1934,13 @@ const opGetBotVersions = "GetBotVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBotVersionsRequest method. +// req, resp := client.GetBotVersionsRequest(params) // -// // Example sending a request using the GetBotVersionsRequest method. -// req, resp := client.GetBotVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotVersions func (c *LexModelBuildingService) GetBotVersionsRequest(input *GetBotVersionsInput) (req *request.Request, output *GetBotVersionsOutput) { @@ -1990,19 +1987,20 @@ func (c *LexModelBuildingService) GetBotVersionsRequest(input *GetBotVersionsInp // API operation GetBotVersions for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBotVersions func (c *LexModelBuildingService) GetBotVersions(input *GetBotVersionsInput) (*GetBotVersionsOutput, error) { @@ -2034,15 +2032,14 @@ func (c *LexModelBuildingService) GetBotVersionsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetBotVersions operation. -// pageNum := 0 -// err := client.GetBotVersionsPages(params, -// func(page *lexmodelbuildingservice.GetBotVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetBotVersions operation. +// pageNum := 0 +// err := client.GetBotVersionsPages(params, +// func(page *lexmodelbuildingservice.GetBotVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelBuildingService) GetBotVersionsPages(input *GetBotVersionsInput, fn func(*GetBotVersionsOutput, bool) bool) error { return c.GetBotVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2094,14 +2091,13 @@ const opGetBots = "GetBots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBotsRequest method. +// req, resp := client.GetBotsRequest(params) // -// // Example sending a request using the GetBotsRequest method. -// req, resp := client.GetBotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBots func (c *LexModelBuildingService) GetBotsRequest(input *GetBotsInput) (req *request.Request, output *GetBotsOutput) { @@ -2130,12 +2126,12 @@ func (c *LexModelBuildingService) GetBotsRequest(input *GetBotsInput) (req *requ // // Returns bot information as follows: // -// * If you provide the nameContains field, the response includes information -// for the $LATEST version of all bots whose name contains the specified -// string. +// - If you provide the nameContains field, the response includes information +// for the $LATEST version of all bots whose name contains the specified +// string. // -// * If you don't specify the nameContains field, the operation returns information -// about the $LATEST version of all of your bots. +// - If you don't specify the nameContains field, the operation returns information +// about the $LATEST version of all of your bots. // // This operation requires permission for the lex:GetBots action. // @@ -2147,19 +2143,20 @@ func (c *LexModelBuildingService) GetBotsRequest(input *GetBotsInput) (req *requ // API operation GetBots for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBots func (c *LexModelBuildingService) GetBots(input *GetBotsInput) (*GetBotsOutput, error) { @@ -2191,15 +2188,14 @@ func (c *LexModelBuildingService) GetBotsWithContext(ctx aws.Context, input *Get // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetBots operation. -// pageNum := 0 -// err := client.GetBotsPages(params, -// func(page *lexmodelbuildingservice.GetBotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetBots operation. +// pageNum := 0 +// err := client.GetBotsPages(params, +// func(page *lexmodelbuildingservice.GetBotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelBuildingService) GetBotsPages(input *GetBotsInput, fn func(*GetBotsOutput, bool) bool) error { return c.GetBotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2251,14 +2247,13 @@ const opGetBuiltinIntent = "GetBuiltinIntent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBuiltinIntentRequest method. +// req, resp := client.GetBuiltinIntentRequest(params) // -// // Example sending a request using the GetBuiltinIntentRequest method. -// req, resp := client.GetBuiltinIntentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntent func (c *LexModelBuildingService) GetBuiltinIntentRequest(input *GetBuiltinIntentInput) (req *request.Request, output *GetBuiltinIntentOutput) { @@ -2291,19 +2286,20 @@ func (c *LexModelBuildingService) GetBuiltinIntentRequest(input *GetBuiltinInten // API operation GetBuiltinIntent for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntent func (c *LexModelBuildingService) GetBuiltinIntent(input *GetBuiltinIntentInput) (*GetBuiltinIntentOutput, error) { @@ -2343,14 +2339,13 @@ const opGetBuiltinIntents = "GetBuiltinIntents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBuiltinIntentsRequest method. +// req, resp := client.GetBuiltinIntentsRequest(params) // -// // Example sending a request using the GetBuiltinIntentsRequest method. -// req, resp := client.GetBuiltinIntentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntents func (c *LexModelBuildingService) GetBuiltinIntentsRequest(input *GetBuiltinIntentsInput) (req *request.Request, output *GetBuiltinIntentsOutput) { @@ -2389,15 +2384,16 @@ func (c *LexModelBuildingService) GetBuiltinIntentsRequest(input *GetBuiltinInte // API operation GetBuiltinIntents for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntents func (c *LexModelBuildingService) GetBuiltinIntents(input *GetBuiltinIntentsInput) (*GetBuiltinIntentsOutput, error) { @@ -2429,15 +2425,14 @@ func (c *LexModelBuildingService) GetBuiltinIntentsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetBuiltinIntents operation. -// pageNum := 0 -// err := client.GetBuiltinIntentsPages(params, -// func(page *lexmodelbuildingservice.GetBuiltinIntentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetBuiltinIntents operation. +// pageNum := 0 +// err := client.GetBuiltinIntentsPages(params, +// func(page *lexmodelbuildingservice.GetBuiltinIntentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelBuildingService) GetBuiltinIntentsPages(input *GetBuiltinIntentsInput, fn func(*GetBuiltinIntentsOutput, bool) bool) error { return c.GetBuiltinIntentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2489,14 +2484,13 @@ const opGetBuiltinSlotTypes = "GetBuiltinSlotTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBuiltinSlotTypesRequest method. +// req, resp := client.GetBuiltinSlotTypesRequest(params) // -// // Example sending a request using the GetBuiltinSlotTypesRequest method. -// req, resp := client.GetBuiltinSlotTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinSlotTypes func (c *LexModelBuildingService) GetBuiltinSlotTypesRequest(input *GetBuiltinSlotTypesInput) (req *request.Request, output *GetBuiltinSlotTypesOutput) { @@ -2538,15 +2532,16 @@ func (c *LexModelBuildingService) GetBuiltinSlotTypesRequest(input *GetBuiltinSl // API operation GetBuiltinSlotTypes for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinSlotTypes func (c *LexModelBuildingService) GetBuiltinSlotTypes(input *GetBuiltinSlotTypesInput) (*GetBuiltinSlotTypesOutput, error) { @@ -2578,15 +2573,14 @@ func (c *LexModelBuildingService) GetBuiltinSlotTypesWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetBuiltinSlotTypes operation. -// pageNum := 0 -// err := client.GetBuiltinSlotTypesPages(params, -// func(page *lexmodelbuildingservice.GetBuiltinSlotTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetBuiltinSlotTypes operation. +// pageNum := 0 +// err := client.GetBuiltinSlotTypesPages(params, +// func(page *lexmodelbuildingservice.GetBuiltinSlotTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelBuildingService) GetBuiltinSlotTypesPages(input *GetBuiltinSlotTypesInput, fn func(*GetBuiltinSlotTypesOutput, bool) bool) error { return c.GetBuiltinSlotTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2638,14 +2632,13 @@ const opGetExport = "GetExport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetExportRequest method. +// req, resp := client.GetExportRequest(params) // -// // Example sending a request using the GetExportRequest method. -// req, resp := client.GetExportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetExport func (c *LexModelBuildingService) GetExportRequest(input *GetExportInput) (req *request.Request, output *GetExportOutput) { @@ -2676,19 +2669,20 @@ func (c *LexModelBuildingService) GetExportRequest(input *GetExportInput) (req * // API operation GetExport for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetExport func (c *LexModelBuildingService) GetExport(input *GetExportInput) (*GetExportOutput, error) { @@ -2728,14 +2722,13 @@ const opGetImport = "GetImport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetImportRequest method. +// req, resp := client.GetImportRequest(params) // -// // Example sending a request using the GetImportRequest method. -// req, resp := client.GetImportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetImport func (c *LexModelBuildingService) GetImportRequest(input *GetImportInput) (req *request.Request, output *GetImportOutput) { @@ -2766,19 +2759,20 @@ func (c *LexModelBuildingService) GetImportRequest(input *GetImportInput) (req * // API operation GetImport for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetImport func (c *LexModelBuildingService) GetImport(input *GetImportInput) (*GetImportOutput, error) { @@ -2818,14 +2812,13 @@ const opGetIntent = "GetIntent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIntentRequest method. +// req, resp := client.GetIntentRequest(params) // -// // Example sending a request using the GetIntentRequest method. -// req, resp := client.GetIntentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntent func (c *LexModelBuildingService) GetIntentRequest(input *GetIntentInput) (req *request.Request, output *GetIntentOutput) { @@ -2859,19 +2852,20 @@ func (c *LexModelBuildingService) GetIntentRequest(input *GetIntentInput) (req * // API operation GetIntent for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntent func (c *LexModelBuildingService) GetIntent(input *GetIntentInput) (*GetIntentOutput, error) { @@ -2911,14 +2905,13 @@ const opGetIntentVersions = "GetIntentVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIntentVersionsRequest method. +// req, resp := client.GetIntentVersionsRequest(params) // -// // Example sending a request using the GetIntentVersionsRequest method. -// req, resp := client.GetIntentVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentVersions func (c *LexModelBuildingService) GetIntentVersionsRequest(input *GetIntentVersionsInput) (req *request.Request, output *GetIntentVersionsOutput) { @@ -2965,19 +2958,20 @@ func (c *LexModelBuildingService) GetIntentVersionsRequest(input *GetIntentVersi // API operation GetIntentVersions for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentVersions func (c *LexModelBuildingService) GetIntentVersions(input *GetIntentVersionsInput) (*GetIntentVersionsOutput, error) { @@ -3009,15 +3003,14 @@ func (c *LexModelBuildingService) GetIntentVersionsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetIntentVersions operation. -// pageNum := 0 -// err := client.GetIntentVersionsPages(params, -// func(page *lexmodelbuildingservice.GetIntentVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetIntentVersions operation. +// pageNum := 0 +// err := client.GetIntentVersionsPages(params, +// func(page *lexmodelbuildingservice.GetIntentVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelBuildingService) GetIntentVersionsPages(input *GetIntentVersionsInput, fn func(*GetIntentVersionsOutput, bool) bool) error { return c.GetIntentVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3069,14 +3062,13 @@ const opGetIntents = "GetIntents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIntentsRequest method. +// req, resp := client.GetIntentsRequest(params) // -// // Example sending a request using the GetIntentsRequest method. -// req, resp := client.GetIntentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntents func (c *LexModelBuildingService) GetIntentsRequest(input *GetIntentsInput) (req *request.Request, output *GetIntentsOutput) { @@ -3105,11 +3097,11 @@ func (c *LexModelBuildingService) GetIntentsRequest(input *GetIntentsInput) (req // // Returns intent information as follows: // -// * If you specify the nameContains field, returns the $LATEST version of -// all intents that contain the specified string. +// - If you specify the nameContains field, returns the $LATEST version of +// all intents that contain the specified string. // -// * If you don't specify the nameContains field, returns information about -// the $LATEST version of all intents. +// - If you don't specify the nameContains field, returns information about +// the $LATEST version of all intents. // // The operation requires permission for the lex:GetIntents action. // @@ -3121,19 +3113,20 @@ func (c *LexModelBuildingService) GetIntentsRequest(input *GetIntentsInput) (req // API operation GetIntents for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntents func (c *LexModelBuildingService) GetIntents(input *GetIntentsInput) (*GetIntentsOutput, error) { @@ -3165,15 +3158,14 @@ func (c *LexModelBuildingService) GetIntentsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetIntents operation. -// pageNum := 0 -// err := client.GetIntentsPages(params, -// func(page *lexmodelbuildingservice.GetIntentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetIntents operation. +// pageNum := 0 +// err := client.GetIntentsPages(params, +// func(page *lexmodelbuildingservice.GetIntentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelBuildingService) GetIntentsPages(input *GetIntentsInput, fn func(*GetIntentsOutput, bool) bool) error { return c.GetIntentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3225,14 +3217,13 @@ const opGetMigration = "GetMigration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMigrationRequest method. +// req, resp := client.GetMigrationRequest(params) // -// // Example sending a request using the GetMigrationRequest method. -// req, resp := client.GetMigrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetMigration func (c *LexModelBuildingService) GetMigrationRequest(input *GetMigrationInput) (req *request.Request, output *GetMigrationOutput) { @@ -3265,19 +3256,20 @@ func (c *LexModelBuildingService) GetMigrationRequest(input *GetMigrationInput) // API operation GetMigration for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetMigration func (c *LexModelBuildingService) GetMigration(input *GetMigrationInput) (*GetMigrationOutput, error) { @@ -3317,14 +3309,13 @@ const opGetMigrations = "GetMigrations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMigrationsRequest method. +// req, resp := client.GetMigrationsRequest(params) // -// // Example sending a request using the GetMigrationsRequest method. -// req, resp := client.GetMigrationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetMigrations func (c *LexModelBuildingService) GetMigrationsRequest(input *GetMigrationsInput) (req *request.Request, output *GetMigrationsOutput) { @@ -3361,15 +3352,16 @@ func (c *LexModelBuildingService) GetMigrationsRequest(input *GetMigrationsInput // API operation GetMigrations for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. +// +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetMigrations func (c *LexModelBuildingService) GetMigrations(input *GetMigrationsInput) (*GetMigrationsOutput, error) { @@ -3401,15 +3393,14 @@ func (c *LexModelBuildingService) GetMigrationsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetMigrations operation. -// pageNum := 0 -// err := client.GetMigrationsPages(params, -// func(page *lexmodelbuildingservice.GetMigrationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetMigrations operation. +// pageNum := 0 +// err := client.GetMigrationsPages(params, +// func(page *lexmodelbuildingservice.GetMigrationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelBuildingService) GetMigrationsPages(input *GetMigrationsInput, fn func(*GetMigrationsOutput, bool) bool) error { return c.GetMigrationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3461,14 +3452,13 @@ const opGetSlotType = "GetSlotType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSlotTypeRequest method. +// req, resp := client.GetSlotTypeRequest(params) // -// // Example sending a request using the GetSlotTypeRequest method. -// req, resp := client.GetSlotTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotType func (c *LexModelBuildingService) GetSlotTypeRequest(input *GetSlotTypeInput) (req *request.Request, output *GetSlotTypeOutput) { @@ -3502,19 +3492,20 @@ func (c *LexModelBuildingService) GetSlotTypeRequest(input *GetSlotTypeInput) (r // API operation GetSlotType for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotType func (c *LexModelBuildingService) GetSlotType(input *GetSlotTypeInput) (*GetSlotTypeOutput, error) { @@ -3554,14 +3545,13 @@ const opGetSlotTypeVersions = "GetSlotTypeVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSlotTypeVersionsRequest method. +// req, resp := client.GetSlotTypeVersionsRequest(params) // -// // Example sending a request using the GetSlotTypeVersionsRequest method. -// req, resp := client.GetSlotTypeVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeVersions func (c *LexModelBuildingService) GetSlotTypeVersionsRequest(input *GetSlotTypeVersionsInput) (req *request.Request, output *GetSlotTypeVersionsOutput) { @@ -3608,19 +3598,20 @@ func (c *LexModelBuildingService) GetSlotTypeVersionsRequest(input *GetSlotTypeV // API operation GetSlotTypeVersions for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeVersions func (c *LexModelBuildingService) GetSlotTypeVersions(input *GetSlotTypeVersionsInput) (*GetSlotTypeVersionsOutput, error) { @@ -3652,15 +3643,14 @@ func (c *LexModelBuildingService) GetSlotTypeVersionsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetSlotTypeVersions operation. -// pageNum := 0 -// err := client.GetSlotTypeVersionsPages(params, -// func(page *lexmodelbuildingservice.GetSlotTypeVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetSlotTypeVersions operation. +// pageNum := 0 +// err := client.GetSlotTypeVersionsPages(params, +// func(page *lexmodelbuildingservice.GetSlotTypeVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelBuildingService) GetSlotTypeVersionsPages(input *GetSlotTypeVersionsInput, fn func(*GetSlotTypeVersionsOutput, bool) bool) error { return c.GetSlotTypeVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3712,14 +3702,13 @@ const opGetSlotTypes = "GetSlotTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSlotTypesRequest method. +// req, resp := client.GetSlotTypesRequest(params) // -// // Example sending a request using the GetSlotTypesRequest method. -// req, resp := client.GetSlotTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypes func (c *LexModelBuildingService) GetSlotTypesRequest(input *GetSlotTypesInput) (req *request.Request, output *GetSlotTypesOutput) { @@ -3748,11 +3737,11 @@ func (c *LexModelBuildingService) GetSlotTypesRequest(input *GetSlotTypesInput) // // Returns slot type information as follows: // -// * If you specify the nameContains field, returns the $LATEST version of -// all slot types that contain the specified string. +// - If you specify the nameContains field, returns the $LATEST version of +// all slot types that contain the specified string. // -// * If you don't specify the nameContains field, returns information about -// the $LATEST version of all slot types. +// - If you don't specify the nameContains field, returns information about +// the $LATEST version of all slot types. // // The operation requires permission for the lex:GetSlotTypes action. // @@ -3764,19 +3753,20 @@ func (c *LexModelBuildingService) GetSlotTypesRequest(input *GetSlotTypesInput) // API operation GetSlotTypes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypes func (c *LexModelBuildingService) GetSlotTypes(input *GetSlotTypesInput) (*GetSlotTypesOutput, error) { @@ -3808,15 +3798,14 @@ func (c *LexModelBuildingService) GetSlotTypesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetSlotTypes operation. -// pageNum := 0 -// err := client.GetSlotTypesPages(params, -// func(page *lexmodelbuildingservice.GetSlotTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetSlotTypes operation. +// pageNum := 0 +// err := client.GetSlotTypesPages(params, +// func(page *lexmodelbuildingservice.GetSlotTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelBuildingService) GetSlotTypesPages(input *GetSlotTypesInput, fn func(*GetSlotTypesOutput, bool) bool) error { return c.GetSlotTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3868,14 +3857,13 @@ const opGetUtterancesView = "GetUtterancesView" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUtterancesViewRequest method. +// req, resp := client.GetUtterancesViewRequest(params) // -// // Example sending a request using the GetUtterancesViewRequest method. -// req, resp := client.GetUtterancesViewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetUtterancesView func (c *LexModelBuildingService) GetUtterancesViewRequest(input *GetUtterancesViewInput) (req *request.Request, output *GetUtterancesViewOutput) { @@ -3931,15 +3919,16 @@ func (c *LexModelBuildingService) GetUtterancesViewRequest(input *GetUtterancesV // API operation GetUtterancesView for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. +// +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetUtterancesView func (c *LexModelBuildingService) GetUtterancesView(input *GetUtterancesViewInput) (*GetUtterancesViewOutput, error) { @@ -3979,14 +3968,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/ListTagsForResource func (c *LexModelBuildingService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4018,19 +4006,20 @@ func (c *LexModelBuildingService) ListTagsForResourceRequest(input *ListTagsForR // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. +// +// - LimitExceededException +// The request exceeded a limit. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/ListTagsForResource func (c *LexModelBuildingService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4070,14 +4059,13 @@ const opPutBot = "PutBot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBotRequest method. +// req, resp := client.PutBotRequest(params) // -// // Example sending a request using the PutBotRequest method. -// req, resp := client.PutBotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBot func (c *LexModelBuildingService) PutBotRequest(input *PutBotInput) (req *request.Request, output *PutBotOutput) { @@ -4125,22 +4113,23 @@ func (c *LexModelBuildingService) PutBotRequest(input *PutBotInput) (req *reques // API operation PutBot for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict processing the request. Try your request again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - ConflictException +// There was a conflict processing the request. Try your request again. +// +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// * PreconditionFailedException -// The checksum of the resource that you are trying to change does not match -// the checksum in the request. Check the resource's checksum and try again. +// - PreconditionFailedException +// The checksum of the resource that you are trying to change does not match +// the checksum in the request. Check the resource's checksum and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBot func (c *LexModelBuildingService) PutBot(input *PutBotInput) (*PutBotOutput, error) { @@ -4180,14 +4169,13 @@ const opPutBotAlias = "PutBotAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBotAliasRequest method. +// req, resp := client.PutBotAliasRequest(params) // -// // Example sending a request using the PutBotAliasRequest method. -// req, resp := client.PutBotAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotAlias func (c *LexModelBuildingService) PutBotAliasRequest(input *PutBotAliasInput) (req *request.Request, output *PutBotAliasOutput) { @@ -4222,22 +4210,23 @@ func (c *LexModelBuildingService) PutBotAliasRequest(input *PutBotAliasInput) (r // API operation PutBotAlias for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict processing the request. Try your request again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - ConflictException +// There was a conflict processing the request. Try your request again. +// +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// * PreconditionFailedException -// The checksum of the resource that you are trying to change does not match -// the checksum in the request. Check the resource's checksum and try again. +// - PreconditionFailedException +// The checksum of the resource that you are trying to change does not match +// the checksum in the request. Check the resource's checksum and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutBotAlias func (c *LexModelBuildingService) PutBotAlias(input *PutBotAliasInput) (*PutBotAliasOutput, error) { @@ -4277,14 +4266,13 @@ const opPutIntent = "PutIntent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutIntentRequest method. +// req, resp := client.PutIntentRequest(params) // -// // Example sending a request using the PutIntentRequest method. -// req, resp := client.PutIntentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntent func (c *LexModelBuildingService) PutIntentRequest(input *PutIntentInput) (req *request.Request, output *PutIntentOutput) { @@ -4313,32 +4301,32 @@ func (c *LexModelBuildingService) PutIntentRequest(input *PutIntentInput) (req * // // To create an intent or replace an existing intent, you must provide the following: // -// * Intent name. For example, OrderPizza. +// - Intent name. For example, OrderPizza. // -// * Sample utterances. For example, "Can I order a pizza, please." and "I -// want to order a pizza." +// - Sample utterances. For example, "Can I order a pizza, please." and "I +// want to order a pizza." // -// * Information to be gathered. You specify slot types for the information -// that your bot will request from the user. You can specify standard slot -// types, such as a date or a time, or custom slot types such as the size -// and crust of a pizza. +// - Information to be gathered. You specify slot types for the information +// that your bot will request from the user. You can specify standard slot +// types, such as a date or a time, or custom slot types such as the size +// and crust of a pizza. // -// * How the intent will be fulfilled. You can provide a Lambda function -// or configure the intent to return the intent information to the client -// application. If you use a Lambda function, when all of the intent information -// is available, Amazon Lex invokes your Lambda function. If you configure -// your intent to return the intent information to the client application. +// - How the intent will be fulfilled. You can provide a Lambda function +// or configure the intent to return the intent information to the client +// application. If you use a Lambda function, when all of the intent information +// is available, Amazon Lex invokes your Lambda function. If you configure +// your intent to return the intent information to the client application. // // You can specify other optional information in the request, such as: // -// * A confirmation prompt to ask the user to confirm an intent. For example, -// "Shall I order your pizza?" +// - A confirmation prompt to ask the user to confirm an intent. For example, +// "Shall I order your pizza?" // -// * A conclusion statement to send to the user after the intent has been -// fulfilled. For example, "I placed your pizza order." +// - A conclusion statement to send to the user after the intent has been +// fulfilled. For example, "I placed your pizza order." // -// * A follow-up prompt that asks the user for additional activity. For example, -// asking "Do you want to order a drink with your pizza?" +// - A follow-up prompt that asks the user for additional activity. For example, +// asking "Do you want to order a drink with your pizza?" // // If you specify an existing intent name to update the intent, Amazon Lex replaces // the values in the $LATEST version of the intent with the values in the request. @@ -4359,22 +4347,23 @@ func (c *LexModelBuildingService) PutIntentRequest(input *PutIntentInput) (req * // API operation PutIntent for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict processing the request. Try your request again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * PreconditionFailedException -// The checksum of the resource that you are trying to change does not match -// the checksum in the request. Check the resource's checksum and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. +// +// - PreconditionFailedException +// The checksum of the resource that you are trying to change does not match +// the checksum in the request. Check the resource's checksum and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntent func (c *LexModelBuildingService) PutIntent(input *PutIntentInput) (*PutIntentOutput, error) { @@ -4414,14 +4403,13 @@ const opPutSlotType = "PutSlotType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutSlotTypeRequest method. +// req, resp := client.PutSlotTypeRequest(params) // -// // Example sending a request using the PutSlotTypeRequest method. -// req, resp := client.PutSlotTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotType func (c *LexModelBuildingService) PutSlotTypeRequest(input *PutSlotTypeInput) (req *request.Request, output *PutSlotTypeOutput) { @@ -4465,22 +4453,23 @@ func (c *LexModelBuildingService) PutSlotTypeRequest(input *PutSlotTypeInput) (r // API operation PutSlotType for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict processing the request. Try your request again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - ConflictException +// There was a conflict processing the request. Try your request again. +// +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// * PreconditionFailedException -// The checksum of the resource that you are trying to change does not match -// the checksum in the request. Check the resource's checksum and try again. +// - PreconditionFailedException +// The checksum of the resource that you are trying to change does not match +// the checksum in the request. Check the resource's checksum and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotType func (c *LexModelBuildingService) PutSlotType(input *PutSlotTypeInput) (*PutSlotTypeOutput, error) { @@ -4520,14 +4509,13 @@ const opStartImport = "StartImport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartImportRequest method. +// req, resp := client.StartImportRequest(params) // -// // Example sending a request using the StartImportRequest method. -// req, resp := client.StartImportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/StartImport func (c *LexModelBuildingService) StartImportRequest(input *StartImportInput) (req *request.Request, output *StartImportOutput) { @@ -4558,15 +4546,16 @@ func (c *LexModelBuildingService) StartImportRequest(input *StartImportInput) (r // API operation StartImport for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. +// +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/StartImport func (c *LexModelBuildingService) StartImport(input *StartImportInput) (*StartImportOutput, error) { @@ -4606,14 +4595,13 @@ const opStartMigration = "StartMigration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMigrationRequest method. +// req, resp := client.StartMigrationRequest(params) // -// // Example sending a request using the StartMigrationRequest method. -// req, resp := client.StartMigrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/StartMigration func (c *LexModelBuildingService) StartMigrationRequest(input *StartMigrationInput) (req *request.Request, output *StartMigrationOutput) { @@ -4648,23 +4636,24 @@ func (c *LexModelBuildingService) StartMigrationRequest(input *StartMigrationInp // API operation StartMigration for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The request exceeded a limit. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * AccessDeniedException -// Your IAM user or role does not have permission to call the Amazon Lex V2 -// APIs required to migrate your bot. +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. +// - AccessDeniedException +// Your IAM user or role does not have permission to call the Amazon Lex V2 +// APIs required to migrate your bot. +// +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/StartMigration func (c *LexModelBuildingService) StartMigration(input *StartMigrationInput) (*StartMigrationOutput, error) { @@ -4704,14 +4693,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/TagResource func (c *LexModelBuildingService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -4744,22 +4732,23 @@ func (c *LexModelBuildingService) TagResourceRequest(input *TagResourceInput) (r // API operation TagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/TagResource func (c *LexModelBuildingService) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4799,14 +4788,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/UntagResource func (c *LexModelBuildingService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4838,22 +4826,23 @@ func (c *LexModelBuildingService) UntagResourceRequest(input *UntagResourceInput // API operation UntagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource specified in the request was not found. Check the resource and -// try again. // -// * BadRequestException -// The request is not well formed. For example, a value is invalid or a required -// field is missing. Check the field values, and try again. +// - NotFoundException +// The resource specified in the request was not found. Check the resource and +// try again. +// +// - BadRequestException +// The request is not well formed. For example, a value is invalid or a required +// field is missing. Check the field values, and try again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * InternalFailureException -// An internal Amazon Lex error occurred. Try your request again. +// - InternalFailureException +// An internal Amazon Lex error occurred. Try your request again. // -// * LimitExceededException -// The request exceeded a limit. Try your request again. +// - LimitExceededException +// The request exceeded a limit. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/UntagResource func (c *LexModelBuildingService) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -7151,11 +7140,11 @@ func (s DeleteUtterancesOutput) GoString() string { // type of crust that the pizza should have. The slot type could include the // values // -// * thick +// - thick // -// * thin +// - thin // -// * stuffed +// - stuffed type EnumerationValue struct { _ struct{} `type:"structure"` @@ -7298,14 +7287,14 @@ func (s *FollowUpPrompt) SetRejectionStatement(v *Statement) *FollowUpPrompt { // // Consider the following examples: // -// * In a pizza ordering application, after the user provides all of the -// information for placing an order, you use a Lambda function to place an -// order with a pizzeria. +// - In a pizza ordering application, after the user provides all of the +// information for placing an order, you use a Lambda function to place an +// order with a pizzeria. // -// * In a gaming application, when a user says "pick up a rock," this information -// must go back to the client application so that it can perform the operation -// and update the graphics. In this case, you want Amazon Lex to return the -// intent data to the client. +// - In a gaming application, when a user says "pick up a rock," this information +// must go back to the client application so that it can perform the operation +// and update the graphics. In this case, you want Amazon Lex to return the +// intent data to the client. type FulfillmentActivity struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/doc.go index 3e4aae2ee0b7..b513fd1c0bec 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/doc.go @@ -12,7 +12,7 @@ // See lexmodelbuildingservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/lexmodelbuildingservice/ // -// Using the Client +// # Using the Client // // To contact Amazon Lex Model Building Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/lexmodelbuildingserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/lexmodelbuildingserviceiface/interface.go index f0668b5284b1..dbede51b9dad 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/lexmodelbuildingserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/lexmodelbuildingserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Lex Model Building Service. -// func myFunc(svc lexmodelbuildingserviceiface.LexModelBuildingServiceAPI) bool { -// // Make svc.CreateBotVersion request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Lex Model Building Service. +// func myFunc(svc lexmodelbuildingserviceiface.LexModelBuildingServiceAPI) bool { +// // Make svc.CreateBotVersion request +// } // -// func main() { -// sess := session.New() -// svc := lexmodelbuildingservice.New(sess) +// func main() { +// sess := session.New() +// svc := lexmodelbuildingservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockLexModelBuildingServiceClient struct { -// lexmodelbuildingserviceiface.LexModelBuildingServiceAPI -// } -// func (m *mockLexModelBuildingServiceClient) CreateBotVersion(input *lexmodelbuildingservice.CreateBotVersionInput) (*lexmodelbuildingservice.CreateBotVersionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockLexModelBuildingServiceClient struct { +// lexmodelbuildingserviceiface.LexModelBuildingServiceAPI +// } +// func (m *mockLexModelBuildingServiceClient) CreateBotVersion(input *lexmodelbuildingservice.CreateBotVersionInput) (*lexmodelbuildingservice.CreateBotVersionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockLexModelBuildingServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockLexModelBuildingServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/service.go index 30745013ba87..292c9d12948f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelbuildingservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a LexModelBuildingService client from just a session. -// svc := lexmodelbuildingservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a LexModelBuildingService client with additional configuration -// svc := lexmodelbuildingservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a LexModelBuildingService client from just a session. +// svc := lexmodelbuildingservice.New(mySession) +// +// // Create a LexModelBuildingService client with additional configuration +// svc := lexmodelbuildingservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *LexModelBuildingService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/api.go index d3d09efbdadb..35d7f4cdf02c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/api.go @@ -29,14 +29,13 @@ const opBuildBotLocale = "BuildBotLocale" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BuildBotLocaleRequest method. +// req, resp := client.BuildBotLocaleRequest(params) // -// // Example sending a request using the BuildBotLocaleRequest method. -// req, resp := client.BuildBotLocaleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BuildBotLocale func (c *LexModelsV2) BuildBotLocaleRequest(input *BuildBotLocaleInput) (req *request.Request, output *BuildBotLocaleOutput) { @@ -69,27 +68,28 @@ func (c *LexModelsV2) BuildBotLocaleRequest(input *BuildBotLocaleInput) (req *re // API operation BuildBotLocale for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BuildBotLocale func (c *LexModelsV2) BuildBotLocale(input *BuildBotLocaleInput) (*BuildBotLocaleOutput, error) { @@ -129,14 +129,13 @@ const opCreateBot = "CreateBot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBotRequest method. +// req, resp := client.CreateBotRequest(params) // -// // Example sending a request using the CreateBotRequest method. -// req, resp := client.CreateBotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBot func (c *LexModelsV2) CreateBotRequest(input *CreateBotInput) (req *request.Request, output *CreateBotOutput) { @@ -167,27 +166,28 @@ func (c *LexModelsV2) CreateBotRequest(input *CreateBotInput) (req *request.Requ // API operation CreateBot for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBot func (c *LexModelsV2) CreateBot(input *CreateBotInput) (*CreateBotOutput, error) { @@ -227,14 +227,13 @@ const opCreateBotAlias = "CreateBotAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBotAliasRequest method. +// req, resp := client.CreateBotAliasRequest(params) // -// // Example sending a request using the CreateBotAliasRequest method. -// req, resp := client.CreateBotAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotAlias func (c *LexModelsV2) CreateBotAliasRequest(input *CreateBotAliasInput) (req *request.Request, output *CreateBotAliasOutput) { @@ -270,27 +269,28 @@ func (c *LexModelsV2) CreateBotAliasRequest(input *CreateBotAliasInput) (req *re // API operation CreateBotAlias for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotAlias func (c *LexModelsV2) CreateBotAlias(input *CreateBotAliasInput) (*CreateBotAliasOutput, error) { @@ -330,14 +330,13 @@ const opCreateBotLocale = "CreateBotLocale" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBotLocaleRequest method. +// req, resp := client.CreateBotLocaleRequest(params) // -// // Example sending a request using the CreateBotLocaleRequest method. -// req, resp := client.CreateBotLocaleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocale func (c *LexModelsV2) CreateBotLocaleRequest(input *CreateBotLocaleInput) (req *request.Request, output *CreateBotLocaleOutput) { @@ -371,27 +370,28 @@ func (c *LexModelsV2) CreateBotLocaleRequest(input *CreateBotLocaleInput) (req * // API operation CreateBotLocale for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocale func (c *LexModelsV2) CreateBotLocale(input *CreateBotLocaleInput) (*CreateBotLocaleOutput, error) { @@ -431,14 +431,13 @@ const opCreateBotVersion = "CreateBotVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBotVersionRequest method. +// req, resp := client.CreateBotVersionRequest(params) // -// // Example sending a request using the CreateBotVersionRequest method. -// req, resp := client.CreateBotVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotVersion func (c *LexModelsV2) CreateBotVersionRequest(input *CreateBotVersionInput) (req *request.Request, output *CreateBotVersionOutput) { @@ -474,27 +473,28 @@ func (c *LexModelsV2) CreateBotVersionRequest(input *CreateBotVersionInput) (req // API operation CreateBotVersion for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotVersion func (c *LexModelsV2) CreateBotVersion(input *CreateBotVersionInput) (*CreateBotVersionOutput, error) { @@ -534,14 +534,13 @@ const opCreateExport = "CreateExport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateExportRequest method. +// req, resp := client.CreateExportRequest(params) // -// // Example sending a request using the CreateExportRequest method. -// req, resp := client.CreateExportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateExport func (c *LexModelsV2) CreateExportRequest(input *CreateExportInput) (req *request.Request, output *CreateExportOutput) { @@ -581,27 +580,28 @@ func (c *LexModelsV2) CreateExportRequest(input *CreateExportInput) (req *reques // API operation CreateExport for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateExport func (c *LexModelsV2) CreateExport(input *CreateExportInput) (*CreateExportOutput, error) { @@ -641,14 +641,13 @@ const opCreateIntent = "CreateIntent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIntentRequest method. +// req, resp := client.CreateIntentRequest(params) // -// // Example sending a request using the CreateIntentRequest method. -// req, resp := client.CreateIntentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateIntent func (c *LexModelsV2) CreateIntentRequest(input *CreateIntentInput) (req *request.Request, output *CreateIntentOutput) { @@ -678,26 +677,26 @@ func (c *LexModelsV2) CreateIntentRequest(input *CreateIntentInput) (req *reques // When you create an intent, you must provide a name. You can optionally provide // the following: // -// * Sample utterances. For example, "I want to order a pizza" and "Can I -// order a pizza." You can't provide utterances for built-in intents. +// - Sample utterances. For example, "I want to order a pizza" and "Can I +// order a pizza." You can't provide utterances for built-in intents. // -// * Information to be gathered. You specify slots for the information that -// you bot requests from the user. You can specify standard slot types, such -// as date and time, or custom slot types for your application. +// - Information to be gathered. You specify slots for the information that +// you bot requests from the user. You can specify standard slot types, such +// as date and time, or custom slot types for your application. // -// * How the intent is fulfilled. You can provide a Lambda function or configure -// the intent to return the intent information to your client application. -// If you use a Lambda function, Amazon Lex invokes the function when all -// of the intent information is available. +// - How the intent is fulfilled. You can provide a Lambda function or configure +// the intent to return the intent information to your client application. +// If you use a Lambda function, Amazon Lex invokes the function when all +// of the intent information is available. // -// * A confirmation prompt to send to the user to confirm an intent. For -// example, "Shall I order your pizza?" +// - A confirmation prompt to send to the user to confirm an intent. For +// example, "Shall I order your pizza?" // -// * A conclusion statement to send to the user after the intent is fulfilled. -// For example, "I ordered your pizza." +// - A conclusion statement to send to the user after the intent is fulfilled. +// For example, "I ordered your pizza." // -// * A follow-up prompt that asks the user for additional activity. For example, -// "Do you want a drink with your pizza?" +// - A follow-up prompt that asks the user for additional activity. For example, +// "Do you want a drink with your pizza?" // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -707,27 +706,28 @@ func (c *LexModelsV2) CreateIntentRequest(input *CreateIntentInput) (req *reques // API operation CreateIntent for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateIntent func (c *LexModelsV2) CreateIntent(input *CreateIntentInput) (*CreateIntentOutput, error) { @@ -767,14 +767,13 @@ const opCreateResourcePolicy = "CreateResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResourcePolicyRequest method. +// req, resp := client.CreateResourcePolicyRequest(params) // -// // Example sending a request using the CreateResourcePolicyRequest method. -// req, resp := client.CreateResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateResourcePolicy func (c *LexModelsV2) CreateResourcePolicyRequest(input *CreateResourcePolicyInput) (req *request.Request, output *CreateResourcePolicyOutput) { @@ -805,26 +804,27 @@ func (c *LexModelsV2) CreateResourcePolicyRequest(input *CreateResourcePolicyInp // API operation CreateResourcePolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. +// +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateResourcePolicy func (c *LexModelsV2) CreateResourcePolicy(input *CreateResourcePolicyInput) (*CreateResourcePolicyOutput, error) { @@ -864,14 +864,13 @@ const opCreateResourcePolicyStatement = "CreateResourcePolicyStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResourcePolicyStatementRequest method. +// req, resp := client.CreateResourcePolicyStatementRequest(params) // -// // Example sending a request using the CreateResourcePolicyStatementRequest method. -// req, resp := client.CreateResourcePolicyStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateResourcePolicyStatement func (c *LexModelsV2) CreateResourcePolicyStatementRequest(input *CreateResourcePolicyStatementInput) (req *request.Request, output *CreateResourcePolicyStatementOutput) { @@ -906,31 +905,32 @@ func (c *LexModelsV2) CreateResourcePolicyStatementRequest(input *CreateResource // API operation CreateResourcePolicyStatement for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. +// +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateResourcePolicyStatement func (c *LexModelsV2) CreateResourcePolicyStatement(input *CreateResourcePolicyStatementInput) (*CreateResourcePolicyStatementOutput, error) { @@ -970,14 +970,13 @@ const opCreateSlot = "CreateSlot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSlotRequest method. +// req, resp := client.CreateSlotRequest(params) // -// // Example sending a request using the CreateSlotRequest method. -// req, resp := client.CreateSlotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlot func (c *LexModelsV2) CreateSlotRequest(input *CreateSlotInput) (req *request.Request, output *CreateSlotOutput) { @@ -1011,27 +1010,28 @@ func (c *LexModelsV2) CreateSlotRequest(input *CreateSlotInput) (req *request.Re // API operation CreateSlot for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlot func (c *LexModelsV2) CreateSlot(input *CreateSlotInput) (*CreateSlotOutput, error) { @@ -1071,14 +1071,13 @@ const opCreateSlotType = "CreateSlotType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSlotTypeRequest method. +// req, resp := client.CreateSlotTypeRequest(params) // -// // Example sending a request using the CreateSlotTypeRequest method. -// req, resp := client.CreateSlotTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlotType func (c *LexModelsV2) CreateSlotTypeRequest(input *CreateSlotTypeInput) (req *request.Request, output *CreateSlotTypeOutput) { @@ -1099,7 +1098,7 @@ func (c *LexModelsV2) CreateSlotTypeRequest(input *CreateSlotTypeInput) (req *re // CreateSlotType API operation for Amazon Lex Model Building V2. // -// Creates a custom slot type +// # Creates a custom slot type // // To create a custom slot type, specify a name for the slot type and a set // of enumeration values, the values that a slot of this type can assume. @@ -1112,27 +1111,28 @@ func (c *LexModelsV2) CreateSlotTypeRequest(input *CreateSlotTypeInput) (req *re // API operation CreateSlotType for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlotType func (c *LexModelsV2) CreateSlotType(input *CreateSlotTypeInput) (*CreateSlotTypeOutput, error) { @@ -1172,14 +1172,13 @@ const opCreateUploadUrl = "CreateUploadUrl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUploadUrlRequest method. +// req, resp := client.CreateUploadUrlRequest(params) // -// // Example sending a request using the CreateUploadUrlRequest method. -// req, resp := client.CreateUploadUrlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateUploadUrl func (c *LexModelsV2) CreateUploadUrlRequest(input *CreateUploadUrlInput) (req *request.Request, output *CreateUploadUrlOutput) { @@ -1211,24 +1210,25 @@ func (c *LexModelsV2) CreateUploadUrlRequest(input *CreateUploadUrlInput) (req * // API operation CreateUploadUrl for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateUploadUrl func (c *LexModelsV2) CreateUploadUrl(input *CreateUploadUrlInput) (*CreateUploadUrlOutput, error) { @@ -1268,14 +1268,13 @@ const opDeleteBot = "DeleteBot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBotRequest method. +// req, resp := client.DeleteBotRequest(params) // -// // Example sending a request using the DeleteBotRequest method. -// req, resp := client.DeleteBotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBot func (c *LexModelsV2) DeleteBotRequest(input *DeleteBotInput) (req *request.Request, output *DeleteBotOutput) { @@ -1315,27 +1314,28 @@ func (c *LexModelsV2) DeleteBotRequest(input *DeleteBotInput) (req *request.Requ // API operation DeleteBot for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBot func (c *LexModelsV2) DeleteBot(input *DeleteBotInput) (*DeleteBotOutput, error) { @@ -1375,14 +1375,13 @@ const opDeleteBotAlias = "DeleteBotAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBotAliasRequest method. +// req, resp := client.DeleteBotAliasRequest(params) // -// // Example sending a request using the DeleteBotAliasRequest method. -// req, resp := client.DeleteBotAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotAlias func (c *LexModelsV2) DeleteBotAliasRequest(input *DeleteBotAliasInput) (req *request.Request, output *DeleteBotAliasOutput) { @@ -1413,27 +1412,28 @@ func (c *LexModelsV2) DeleteBotAliasRequest(input *DeleteBotAliasInput) (req *re // API operation DeleteBotAlias for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotAlias func (c *LexModelsV2) DeleteBotAlias(input *DeleteBotAliasInput) (*DeleteBotAliasOutput, error) { @@ -1473,14 +1473,13 @@ const opDeleteBotLocale = "DeleteBotLocale" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBotLocaleRequest method. +// req, resp := client.DeleteBotLocaleRequest(params) // -// // Example sending a request using the DeleteBotLocaleRequest method. -// req, resp := client.DeleteBotLocaleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotLocale func (c *LexModelsV2) DeleteBotLocaleRequest(input *DeleteBotLocaleInput) (req *request.Request, output *DeleteBotLocaleOutput) { @@ -1514,27 +1513,28 @@ func (c *LexModelsV2) DeleteBotLocaleRequest(input *DeleteBotLocaleInput) (req * // API operation DeleteBotLocale for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotLocale func (c *LexModelsV2) DeleteBotLocale(input *DeleteBotLocaleInput) (*DeleteBotLocaleOutput, error) { @@ -1574,14 +1574,13 @@ const opDeleteBotVersion = "DeleteBotVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBotVersionRequest method. +// req, resp := client.DeleteBotVersionRequest(params) // -// // Example sending a request using the DeleteBotVersionRequest method. -// req, resp := client.DeleteBotVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotVersion func (c *LexModelsV2) DeleteBotVersionRequest(input *DeleteBotVersionInput) (req *request.Request, output *DeleteBotVersionOutput) { @@ -1614,27 +1613,28 @@ func (c *LexModelsV2) DeleteBotVersionRequest(input *DeleteBotVersionInput) (req // API operation DeleteBotVersion for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotVersion func (c *LexModelsV2) DeleteBotVersion(input *DeleteBotVersionInput) (*DeleteBotVersionOutput, error) { @@ -1674,14 +1674,13 @@ const opDeleteCustomVocabulary = "DeleteCustomVocabulary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomVocabularyRequest method. +// req, resp := client.DeleteCustomVocabularyRequest(params) // -// // Example sending a request using the DeleteCustomVocabularyRequest method. -// req, resp := client.DeleteCustomVocabularyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteCustomVocabulary func (c *LexModelsV2) DeleteCustomVocabularyRequest(input *DeleteCustomVocabularyInput) (req *request.Request, output *DeleteCustomVocabularyOutput) { @@ -1712,27 +1711,28 @@ func (c *LexModelsV2) DeleteCustomVocabularyRequest(input *DeleteCustomVocabular // API operation DeleteCustomVocabulary for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteCustomVocabulary func (c *LexModelsV2) DeleteCustomVocabulary(input *DeleteCustomVocabularyInput) (*DeleteCustomVocabularyOutput, error) { @@ -1772,14 +1772,13 @@ const opDeleteExport = "DeleteExport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteExportRequest method. +// req, resp := client.DeleteExportRequest(params) // -// // Example sending a request using the DeleteExportRequest method. -// req, resp := client.DeleteExportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteExport func (c *LexModelsV2) DeleteExportRequest(input *DeleteExportInput) (req *request.Request, output *DeleteExportOutput) { @@ -1810,22 +1809,23 @@ func (c *LexModelsV2) DeleteExportRequest(input *DeleteExportInput) (req *reques // API operation DeleteExport for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteExport func (c *LexModelsV2) DeleteExport(input *DeleteExportInput) (*DeleteExportOutput, error) { @@ -1865,14 +1865,13 @@ const opDeleteImport = "DeleteImport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteImportRequest method. +// req, resp := client.DeleteImportRequest(params) // -// // Example sending a request using the DeleteImportRequest method. -// req, resp := client.DeleteImportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteImport func (c *LexModelsV2) DeleteImportRequest(input *DeleteImportInput) (req *request.Request, output *DeleteImportOutput) { @@ -1903,22 +1902,23 @@ func (c *LexModelsV2) DeleteImportRequest(input *DeleteImportInput) (req *reques // API operation DeleteImport for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteImport func (c *LexModelsV2) DeleteImport(input *DeleteImportInput) (*DeleteImportOutput, error) { @@ -1958,14 +1958,13 @@ const opDeleteIntent = "DeleteIntent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIntentRequest method. +// req, resp := client.DeleteIntentRequest(params) // -// // Example sending a request using the DeleteIntentRequest method. -// req, resp := client.DeleteIntentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteIntent func (c *LexModelsV2) DeleteIntentRequest(input *DeleteIntentInput) (req *request.Request, output *DeleteIntentOutput) { @@ -1999,27 +1998,28 @@ func (c *LexModelsV2) DeleteIntentRequest(input *DeleteIntentInput) (req *reques // API operation DeleteIntent for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteIntent func (c *LexModelsV2) DeleteIntent(input *DeleteIntentInput) (*DeleteIntentOutput, error) { @@ -2059,14 +2059,13 @@ const opDeleteResourcePolicy = "DeleteResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourcePolicyRequest method. +// req, resp := client.DeleteResourcePolicyRequest(params) // -// // Example sending a request using the DeleteResourcePolicyRequest method. -// req, resp := client.DeleteResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteResourcePolicy func (c *LexModelsV2) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { @@ -2098,19 +2097,20 @@ func (c *LexModelsV2) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInp // API operation DeleteResourcePolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. +// +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteResourcePolicy func (c *LexModelsV2) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { @@ -2150,14 +2150,13 @@ const opDeleteResourcePolicyStatement = "DeleteResourcePolicyStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourcePolicyStatementRequest method. +// req, resp := client.DeleteResourcePolicyStatementRequest(params) // -// // Example sending a request using the DeleteResourcePolicyStatementRequest method. -// req, resp := client.DeleteResourcePolicyStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteResourcePolicyStatement func (c *LexModelsV2) DeleteResourcePolicyStatementRequest(input *DeleteResourcePolicyStatementInput) (req *request.Request, output *DeleteResourcePolicyStatementOutput) { @@ -2191,19 +2190,20 @@ func (c *LexModelsV2) DeleteResourcePolicyStatementRequest(input *DeleteResource // API operation DeleteResourcePolicyStatement for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. +// +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteResourcePolicyStatement func (c *LexModelsV2) DeleteResourcePolicyStatement(input *DeleteResourcePolicyStatementInput) (*DeleteResourcePolicyStatementOutput, error) { @@ -2243,14 +2243,13 @@ const opDeleteSlot = "DeleteSlot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSlotRequest method. +// req, resp := client.DeleteSlotRequest(params) // -// // Example sending a request using the DeleteSlotRequest method. -// req, resp := client.DeleteSlotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteSlot func (c *LexModelsV2) DeleteSlotRequest(input *DeleteSlotInput) (req *request.Request, output *DeleteSlotOutput) { @@ -2282,27 +2281,28 @@ func (c *LexModelsV2) DeleteSlotRequest(input *DeleteSlotInput) (req *request.Re // API operation DeleteSlot for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteSlot func (c *LexModelsV2) DeleteSlot(input *DeleteSlotInput) (*DeleteSlotOutput, error) { @@ -2342,14 +2342,13 @@ const opDeleteSlotType = "DeleteSlotType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSlotTypeRequest method. +// req, resp := client.DeleteSlotTypeRequest(params) // -// // Example sending a request using the DeleteSlotTypeRequest method. -// req, resp := client.DeleteSlotTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteSlotType func (c *LexModelsV2) DeleteSlotTypeRequest(input *DeleteSlotTypeInput) (req *request.Request, output *DeleteSlotTypeOutput) { @@ -2385,27 +2384,28 @@ func (c *LexModelsV2) DeleteSlotTypeRequest(input *DeleteSlotTypeInput) (req *re // API operation DeleteSlotType for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteSlotType func (c *LexModelsV2) DeleteSlotType(input *DeleteSlotTypeInput) (*DeleteSlotTypeOutput, error) { @@ -2445,14 +2445,13 @@ const opDeleteUtterances = "DeleteUtterances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUtterancesRequest method. +// req, resp := client.DeleteUtterancesRequest(params) // -// // Example sending a request using the DeleteUtterancesRequest method. -// req, resp := client.DeleteUtterancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteUtterances func (c *LexModelsV2) DeleteUtterancesRequest(input *DeleteUtterancesInput) (req *request.Request, output *DeleteUtterancesOutput) { @@ -2495,15 +2494,16 @@ func (c *LexModelsV2) DeleteUtterancesRequest(input *DeleteUtterancesInput) (req // API operation DeleteUtterances for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. // -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteUtterances func (c *LexModelsV2) DeleteUtterances(input *DeleteUtterancesInput) (*DeleteUtterancesOutput, error) { @@ -2543,14 +2543,13 @@ const opDescribeBot = "DescribeBot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBotRequest method. +// req, resp := client.DescribeBotRequest(params) // -// // Example sending a request using the DescribeBotRequest method. -// req, resp := client.DescribeBotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBot func (c *LexModelsV2) DescribeBotRequest(input *DescribeBotInput) (req *request.Request, output *DescribeBotOutput) { @@ -2581,22 +2580,23 @@ func (c *LexModelsV2) DescribeBotRequest(input *DescribeBotInput) (req *request. // API operation DescribeBot for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBot func (c *LexModelsV2) DescribeBot(input *DescribeBotInput) (*DescribeBotOutput, error) { @@ -2636,14 +2636,13 @@ const opDescribeBotAlias = "DescribeBotAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBotAliasRequest method. +// req, resp := client.DescribeBotAliasRequest(params) // -// // Example sending a request using the DescribeBotAliasRequest method. -// req, resp := client.DescribeBotAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotAlias func (c *LexModelsV2) DescribeBotAliasRequest(input *DescribeBotAliasInput) (req *request.Request, output *DescribeBotAliasOutput) { @@ -2674,22 +2673,23 @@ func (c *LexModelsV2) DescribeBotAliasRequest(input *DescribeBotAliasInput) (req // API operation DescribeBotAlias for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotAlias func (c *LexModelsV2) DescribeBotAlias(input *DescribeBotAliasInput) (*DescribeBotAliasOutput, error) { @@ -2729,14 +2729,13 @@ const opDescribeBotLocale = "DescribeBotLocale" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBotLocaleRequest method. +// req, resp := client.DescribeBotLocaleRequest(params) // -// // Example sending a request using the DescribeBotLocaleRequest method. -// req, resp := client.DescribeBotLocaleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotLocale func (c *LexModelsV2) DescribeBotLocaleRequest(input *DescribeBotLocaleInput) (req *request.Request, output *DescribeBotLocaleOutput) { @@ -2767,22 +2766,23 @@ func (c *LexModelsV2) DescribeBotLocaleRequest(input *DescribeBotLocaleInput) (r // API operation DescribeBotLocale for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotLocale func (c *LexModelsV2) DescribeBotLocale(input *DescribeBotLocaleInput) (*DescribeBotLocaleOutput, error) { @@ -2822,14 +2822,13 @@ const opDescribeBotRecommendation = "DescribeBotRecommendation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBotRecommendationRequest method. +// req, resp := client.DescribeBotRecommendationRequest(params) // -// // Example sending a request using the DescribeBotRecommendationRequest method. -// req, resp := client.DescribeBotRecommendationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotRecommendation func (c *LexModelsV2) DescribeBotRecommendationRequest(input *DescribeBotRecommendationInput) (req *request.Request, output *DescribeBotRecommendationOutput) { @@ -2863,19 +2862,20 @@ func (c *LexModelsV2) DescribeBotRecommendationRequest(input *DescribeBotRecomme // API operation DescribeBotRecommendation for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotRecommendation func (c *LexModelsV2) DescribeBotRecommendation(input *DescribeBotRecommendationInput) (*DescribeBotRecommendationOutput, error) { @@ -2915,14 +2915,13 @@ const opDescribeBotVersion = "DescribeBotVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBotVersionRequest method. +// req, resp := client.DescribeBotVersionRequest(params) // -// // Example sending a request using the DescribeBotVersionRequest method. -// req, resp := client.DescribeBotVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotVersion func (c *LexModelsV2) DescribeBotVersionRequest(input *DescribeBotVersionInput) (req *request.Request, output *DescribeBotVersionOutput) { @@ -2953,22 +2952,23 @@ func (c *LexModelsV2) DescribeBotVersionRequest(input *DescribeBotVersionInput) // API operation DescribeBotVersion for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotVersion func (c *LexModelsV2) DescribeBotVersion(input *DescribeBotVersionInput) (*DescribeBotVersionOutput, error) { @@ -3008,14 +3008,13 @@ const opDescribeCustomVocabularyMetadata = "DescribeCustomVocabularyMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCustomVocabularyMetadataRequest method. +// req, resp := client.DescribeCustomVocabularyMetadataRequest(params) // -// // Example sending a request using the DescribeCustomVocabularyMetadataRequest method. -// req, resp := client.DescribeCustomVocabularyMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeCustomVocabularyMetadata func (c *LexModelsV2) DescribeCustomVocabularyMetadataRequest(input *DescribeCustomVocabularyMetadataInput) (req *request.Request, output *DescribeCustomVocabularyMetadataOutput) { @@ -3046,22 +3045,23 @@ func (c *LexModelsV2) DescribeCustomVocabularyMetadataRequest(input *DescribeCus // API operation DescribeCustomVocabularyMetadata for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeCustomVocabularyMetadata func (c *LexModelsV2) DescribeCustomVocabularyMetadata(input *DescribeCustomVocabularyMetadataInput) (*DescribeCustomVocabularyMetadataOutput, error) { @@ -3101,14 +3101,13 @@ const opDescribeExport = "DescribeExport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExportRequest method. +// req, resp := client.DescribeExportRequest(params) // -// // Example sending a request using the DescribeExportRequest method. -// req, resp := client.DescribeExportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeExport func (c *LexModelsV2) DescribeExportRequest(input *DescribeExportInput) (req *request.Request, output *DescribeExportOutput) { @@ -3139,19 +3138,20 @@ func (c *LexModelsV2) DescribeExportRequest(input *DescribeExportInput) (req *re // API operation DescribeExport for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeExport func (c *LexModelsV2) DescribeExport(input *DescribeExportInput) (*DescribeExportOutput, error) { @@ -3191,14 +3191,13 @@ const opDescribeImport = "DescribeImport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImportRequest method. +// req, resp := client.DescribeImportRequest(params) // -// // Example sending a request using the DescribeImportRequest method. -// req, resp := client.DescribeImportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeImport func (c *LexModelsV2) DescribeImportRequest(input *DescribeImportInput) (req *request.Request, output *DescribeImportOutput) { @@ -3229,19 +3228,20 @@ func (c *LexModelsV2) DescribeImportRequest(input *DescribeImportInput) (req *re // API operation DescribeImport for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeImport func (c *LexModelsV2) DescribeImport(input *DescribeImportInput) (*DescribeImportOutput, error) { @@ -3281,14 +3281,13 @@ const opDescribeIntent = "DescribeIntent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIntentRequest method. +// req, resp := client.DescribeIntentRequest(params) // -// // Example sending a request using the DescribeIntentRequest method. -// req, resp := client.DescribeIntentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeIntent func (c *LexModelsV2) DescribeIntentRequest(input *DescribeIntentInput) (req *request.Request, output *DescribeIntentOutput) { @@ -3319,22 +3318,23 @@ func (c *LexModelsV2) DescribeIntentRequest(input *DescribeIntentInput) (req *re // API operation DescribeIntent for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeIntent func (c *LexModelsV2) DescribeIntent(input *DescribeIntentInput) (*DescribeIntentOutput, error) { @@ -3374,14 +3374,13 @@ const opDescribeResourcePolicy = "DescribeResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeResourcePolicyRequest method. +// req, resp := client.DescribeResourcePolicyRequest(params) // -// // Example sending a request using the DescribeResourcePolicyRequest method. -// req, resp := client.DescribeResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeResourcePolicy func (c *LexModelsV2) DescribeResourcePolicyRequest(input *DescribeResourcePolicyInput) (req *request.Request, output *DescribeResourcePolicyOutput) { @@ -3412,15 +3411,16 @@ func (c *LexModelsV2) DescribeResourcePolicyRequest(input *DescribeResourcePolic // API operation DescribeResourcePolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. +// +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeResourcePolicy func (c *LexModelsV2) DescribeResourcePolicy(input *DescribeResourcePolicyInput) (*DescribeResourcePolicyOutput, error) { @@ -3460,14 +3460,13 @@ const opDescribeSlot = "DescribeSlot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSlotRequest method. +// req, resp := client.DescribeSlotRequest(params) // -// // Example sending a request using the DescribeSlotRequest method. -// req, resp := client.DescribeSlotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlot func (c *LexModelsV2) DescribeSlotRequest(input *DescribeSlotInput) (req *request.Request, output *DescribeSlotOutput) { @@ -3498,22 +3497,23 @@ func (c *LexModelsV2) DescribeSlotRequest(input *DescribeSlotInput) (req *reques // API operation DescribeSlot for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlot func (c *LexModelsV2) DescribeSlot(input *DescribeSlotInput) (*DescribeSlotOutput, error) { @@ -3553,14 +3553,13 @@ const opDescribeSlotType = "DescribeSlotType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSlotTypeRequest method. +// req, resp := client.DescribeSlotTypeRequest(params) // -// // Example sending a request using the DescribeSlotTypeRequest method. -// req, resp := client.DescribeSlotTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlotType func (c *LexModelsV2) DescribeSlotTypeRequest(input *DescribeSlotTypeInput) (req *request.Request, output *DescribeSlotTypeOutput) { @@ -3591,22 +3590,23 @@ func (c *LexModelsV2) DescribeSlotTypeRequest(input *DescribeSlotTypeInput) (req // API operation DescribeSlotType for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlotType func (c *LexModelsV2) DescribeSlotType(input *DescribeSlotTypeInput) (*DescribeSlotTypeOutput, error) { @@ -3646,14 +3646,13 @@ const opListAggregatedUtterances = "ListAggregatedUtterances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAggregatedUtterancesRequest method. +// req, resp := client.ListAggregatedUtterancesRequest(params) // -// // Example sending a request using the ListAggregatedUtterancesRequest method. -// req, resp := client.ListAggregatedUtterancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListAggregatedUtterances func (c *LexModelsV2) ListAggregatedUtterancesRequest(input *ListAggregatedUtterancesInput) (req *request.Request, output *ListAggregatedUtterancesOutput) { @@ -3696,11 +3695,11 @@ func (c *LexModelsV2) ListAggregatedUtterancesRequest(input *ListAggregatedUtter // // Utterances statistics are not generated under the following conditions: // -// * The childDirected field was set to true when the bot was created. +// - The childDirected field was set to true when the bot was created. // -// * You are using slot obfuscation with one or more slots. +// - You are using slot obfuscation with one or more slots. // -// * You opted out of participating in improving Amazon Lex. +// - You opted out of participating in improving Amazon Lex. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3710,19 +3709,20 @@ func (c *LexModelsV2) ListAggregatedUtterancesRequest(input *ListAggregatedUtter // API operation ListAggregatedUtterances for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. +// +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListAggregatedUtterances func (c *LexModelsV2) ListAggregatedUtterances(input *ListAggregatedUtterancesInput) (*ListAggregatedUtterancesOutput, error) { @@ -3754,15 +3754,14 @@ func (c *LexModelsV2) ListAggregatedUtterancesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAggregatedUtterances operation. -// pageNum := 0 -// err := client.ListAggregatedUtterancesPages(params, -// func(page *lexmodelsv2.ListAggregatedUtterancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAggregatedUtterances operation. +// pageNum := 0 +// err := client.ListAggregatedUtterancesPages(params, +// func(page *lexmodelsv2.ListAggregatedUtterancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelsV2) ListAggregatedUtterancesPages(input *ListAggregatedUtterancesInput, fn func(*ListAggregatedUtterancesOutput, bool) bool) error { return c.ListAggregatedUtterancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3814,14 +3813,13 @@ const opListBotAliases = "ListBotAliases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBotAliasesRequest method. +// req, resp := client.ListBotAliasesRequest(params) // -// // Example sending a request using the ListBotAliasesRequest method. -// req, resp := client.ListBotAliasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotAliases func (c *LexModelsV2) ListBotAliasesRequest(input *ListBotAliasesInput) (req *request.Request, output *ListBotAliasesOutput) { @@ -3858,18 +3856,19 @@ func (c *LexModelsV2) ListBotAliasesRequest(input *ListBotAliasesInput) (req *re // API operation ListBotAliases for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotAliases func (c *LexModelsV2) ListBotAliases(input *ListBotAliasesInput) (*ListBotAliasesOutput, error) { @@ -3901,15 +3900,14 @@ func (c *LexModelsV2) ListBotAliasesWithContext(ctx aws.Context, input *ListBotA // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBotAliases operation. -// pageNum := 0 -// err := client.ListBotAliasesPages(params, -// func(page *lexmodelsv2.ListBotAliasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBotAliases operation. +// pageNum := 0 +// err := client.ListBotAliasesPages(params, +// func(page *lexmodelsv2.ListBotAliasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelsV2) ListBotAliasesPages(input *ListBotAliasesInput, fn func(*ListBotAliasesOutput, bool) bool) error { return c.ListBotAliasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3961,14 +3959,13 @@ const opListBotLocales = "ListBotLocales" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBotLocalesRequest method. +// req, resp := client.ListBotLocalesRequest(params) // -// // Example sending a request using the ListBotLocalesRequest method. -// req, resp := client.ListBotLocalesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotLocales func (c *LexModelsV2) ListBotLocalesRequest(input *ListBotLocalesInput) (req *request.Request, output *ListBotLocalesOutput) { @@ -4005,18 +4002,19 @@ func (c *LexModelsV2) ListBotLocalesRequest(input *ListBotLocalesInput) (req *re // API operation ListBotLocales for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotLocales func (c *LexModelsV2) ListBotLocales(input *ListBotLocalesInput) (*ListBotLocalesOutput, error) { @@ -4048,15 +4046,14 @@ func (c *LexModelsV2) ListBotLocalesWithContext(ctx aws.Context, input *ListBotL // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBotLocales operation. -// pageNum := 0 -// err := client.ListBotLocalesPages(params, -// func(page *lexmodelsv2.ListBotLocalesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBotLocales operation. +// pageNum := 0 +// err := client.ListBotLocalesPages(params, +// func(page *lexmodelsv2.ListBotLocalesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelsV2) ListBotLocalesPages(input *ListBotLocalesInput, fn func(*ListBotLocalesOutput, bool) bool) error { return c.ListBotLocalesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4108,14 +4105,13 @@ const opListBotRecommendations = "ListBotRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBotRecommendationsRequest method. +// req, resp := client.ListBotRecommendationsRequest(params) // -// // Example sending a request using the ListBotRecommendationsRequest method. -// req, resp := client.ListBotRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotRecommendations func (c *LexModelsV2) ListBotRecommendationsRequest(input *ListBotRecommendationsInput) (req *request.Request, output *ListBotRecommendationsOutput) { @@ -4152,19 +4148,20 @@ func (c *LexModelsV2) ListBotRecommendationsRequest(input *ListBotRecommendation // API operation ListBotRecommendations for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotRecommendations func (c *LexModelsV2) ListBotRecommendations(input *ListBotRecommendationsInput) (*ListBotRecommendationsOutput, error) { @@ -4196,15 +4193,14 @@ func (c *LexModelsV2) ListBotRecommendationsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBotRecommendations operation. -// pageNum := 0 -// err := client.ListBotRecommendationsPages(params, -// func(page *lexmodelsv2.ListBotRecommendationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBotRecommendations operation. +// pageNum := 0 +// err := client.ListBotRecommendationsPages(params, +// func(page *lexmodelsv2.ListBotRecommendationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelsV2) ListBotRecommendationsPages(input *ListBotRecommendationsInput, fn func(*ListBotRecommendationsOutput, bool) bool) error { return c.ListBotRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4256,14 +4252,13 @@ const opListBotVersions = "ListBotVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBotVersionsRequest method. +// req, resp := client.ListBotVersionsRequest(params) // -// // Example sending a request using the ListBotVersionsRequest method. -// req, resp := client.ListBotVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotVersions func (c *LexModelsV2) ListBotVersionsRequest(input *ListBotVersionsInput) (req *request.Request, output *ListBotVersionsOutput) { @@ -4308,18 +4303,19 @@ func (c *LexModelsV2) ListBotVersionsRequest(input *ListBotVersionsInput) (req * // API operation ListBotVersions for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotVersions func (c *LexModelsV2) ListBotVersions(input *ListBotVersionsInput) (*ListBotVersionsOutput, error) { @@ -4351,15 +4347,14 @@ func (c *LexModelsV2) ListBotVersionsWithContext(ctx aws.Context, input *ListBot // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBotVersions operation. -// pageNum := 0 -// err := client.ListBotVersionsPages(params, -// func(page *lexmodelsv2.ListBotVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBotVersions operation. +// pageNum := 0 +// err := client.ListBotVersionsPages(params, +// func(page *lexmodelsv2.ListBotVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelsV2) ListBotVersionsPages(input *ListBotVersionsInput, fn func(*ListBotVersionsOutput, bool) bool) error { return c.ListBotVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4411,14 +4406,13 @@ const opListBots = "ListBots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBotsRequest method. +// req, resp := client.ListBotsRequest(params) // -// // Example sending a request using the ListBotsRequest method. -// req, resp := client.ListBotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBots func (c *LexModelsV2) ListBotsRequest(input *ListBotsInput) (req *request.Request, output *ListBotsOutput) { @@ -4455,18 +4449,19 @@ func (c *LexModelsV2) ListBotsRequest(input *ListBotsInput) (req *request.Reques // API operation ListBots for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBots func (c *LexModelsV2) ListBots(input *ListBotsInput) (*ListBotsOutput, error) { @@ -4498,15 +4493,14 @@ func (c *LexModelsV2) ListBotsWithContext(ctx aws.Context, input *ListBotsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBots operation. -// pageNum := 0 -// err := client.ListBotsPages(params, -// func(page *lexmodelsv2.ListBotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBots operation. +// pageNum := 0 +// err := client.ListBotsPages(params, +// func(page *lexmodelsv2.ListBotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelsV2) ListBotsPages(input *ListBotsInput, fn func(*ListBotsOutput, bool) bool) error { return c.ListBotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4558,14 +4552,13 @@ const opListBuiltInIntents = "ListBuiltInIntents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBuiltInIntentsRequest method. +// req, resp := client.ListBuiltInIntentsRequest(params) // -// // Example sending a request using the ListBuiltInIntentsRequest method. -// req, resp := client.ListBuiltInIntentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBuiltInIntents func (c *LexModelsV2) ListBuiltInIntentsRequest(input *ListBuiltInIntentsInput) (req *request.Request, output *ListBuiltInIntentsOutput) { @@ -4607,18 +4600,19 @@ func (c *LexModelsV2) ListBuiltInIntentsRequest(input *ListBuiltInIntentsInput) // API operation ListBuiltInIntents for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBuiltInIntents func (c *LexModelsV2) ListBuiltInIntents(input *ListBuiltInIntentsInput) (*ListBuiltInIntentsOutput, error) { @@ -4650,15 +4644,14 @@ func (c *LexModelsV2) ListBuiltInIntentsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBuiltInIntents operation. -// pageNum := 0 -// err := client.ListBuiltInIntentsPages(params, -// func(page *lexmodelsv2.ListBuiltInIntentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBuiltInIntents operation. +// pageNum := 0 +// err := client.ListBuiltInIntentsPages(params, +// func(page *lexmodelsv2.ListBuiltInIntentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelsV2) ListBuiltInIntentsPages(input *ListBuiltInIntentsInput, fn func(*ListBuiltInIntentsOutput, bool) bool) error { return c.ListBuiltInIntentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4710,14 +4703,13 @@ const opListBuiltInSlotTypes = "ListBuiltInSlotTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBuiltInSlotTypesRequest method. +// req, resp := client.ListBuiltInSlotTypesRequest(params) // -// // Example sending a request using the ListBuiltInSlotTypesRequest method. -// req, resp := client.ListBuiltInSlotTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBuiltInSlotTypes func (c *LexModelsV2) ListBuiltInSlotTypesRequest(input *ListBuiltInSlotTypesInput) (req *request.Request, output *ListBuiltInSlotTypesOutput) { @@ -4754,18 +4746,19 @@ func (c *LexModelsV2) ListBuiltInSlotTypesRequest(input *ListBuiltInSlotTypesInp // API operation ListBuiltInSlotTypes for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBuiltInSlotTypes func (c *LexModelsV2) ListBuiltInSlotTypes(input *ListBuiltInSlotTypesInput) (*ListBuiltInSlotTypesOutput, error) { @@ -4797,15 +4790,14 @@ func (c *LexModelsV2) ListBuiltInSlotTypesWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBuiltInSlotTypes operation. -// pageNum := 0 -// err := client.ListBuiltInSlotTypesPages(params, -// func(page *lexmodelsv2.ListBuiltInSlotTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBuiltInSlotTypes operation. +// pageNum := 0 +// err := client.ListBuiltInSlotTypesPages(params, +// func(page *lexmodelsv2.ListBuiltInSlotTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelsV2) ListBuiltInSlotTypesPages(input *ListBuiltInSlotTypesInput, fn func(*ListBuiltInSlotTypesOutput, bool) bool) error { return c.ListBuiltInSlotTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4857,14 +4849,13 @@ const opListExports = "ListExports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExportsRequest method. +// req, resp := client.ListExportsRequest(params) // -// // Example sending a request using the ListExportsRequest method. -// req, resp := client.ListExportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListExports func (c *LexModelsV2) ListExportsRequest(input *ListExportsInput) (req *request.Request, output *ListExportsOutput) { @@ -4902,15 +4893,16 @@ func (c *LexModelsV2) ListExportsRequest(input *ListExportsInput) (req *request. // API operation ListExports for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListExports func (c *LexModelsV2) ListExports(input *ListExportsInput) (*ListExportsOutput, error) { @@ -4942,15 +4934,14 @@ func (c *LexModelsV2) ListExportsWithContext(ctx aws.Context, input *ListExports // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExports operation. -// pageNum := 0 -// err := client.ListExportsPages(params, -// func(page *lexmodelsv2.ListExportsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExports operation. +// pageNum := 0 +// err := client.ListExportsPages(params, +// func(page *lexmodelsv2.ListExportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelsV2) ListExportsPages(input *ListExportsInput, fn func(*ListExportsOutput, bool) bool) error { return c.ListExportsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5002,14 +4993,13 @@ const opListImports = "ListImports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListImportsRequest method. +// req, resp := client.ListImportsRequest(params) // -// // Example sending a request using the ListImportsRequest method. -// req, resp := client.ListImportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListImports func (c *LexModelsV2) ListImportsRequest(input *ListImportsInput) (req *request.Request, output *ListImportsOutput) { @@ -5047,15 +5037,16 @@ func (c *LexModelsV2) ListImportsRequest(input *ListImportsInput) (req *request. // API operation ListImports for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListImports func (c *LexModelsV2) ListImports(input *ListImportsInput) (*ListImportsOutput, error) { @@ -5087,15 +5078,14 @@ func (c *LexModelsV2) ListImportsWithContext(ctx aws.Context, input *ListImports // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListImports operation. -// pageNum := 0 -// err := client.ListImportsPages(params, -// func(page *lexmodelsv2.ListImportsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListImports operation. +// pageNum := 0 +// err := client.ListImportsPages(params, +// func(page *lexmodelsv2.ListImportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelsV2) ListImportsPages(input *ListImportsInput, fn func(*ListImportsOutput, bool) bool) error { return c.ListImportsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5147,14 +5137,13 @@ const opListIntents = "ListIntents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIntentsRequest method. +// req, resp := client.ListIntentsRequest(params) // -// // Example sending a request using the ListIntentsRequest method. -// req, resp := client.ListIntentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListIntents func (c *LexModelsV2) ListIntentsRequest(input *ListIntentsInput) (req *request.Request, output *ListIntentsOutput) { @@ -5191,18 +5180,19 @@ func (c *LexModelsV2) ListIntentsRequest(input *ListIntentsInput) (req *request. // API operation ListIntents for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListIntents func (c *LexModelsV2) ListIntents(input *ListIntentsInput) (*ListIntentsOutput, error) { @@ -5234,15 +5224,14 @@ func (c *LexModelsV2) ListIntentsWithContext(ctx aws.Context, input *ListIntents // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListIntents operation. -// pageNum := 0 -// err := client.ListIntentsPages(params, -// func(page *lexmodelsv2.ListIntentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListIntents operation. +// pageNum := 0 +// err := client.ListIntentsPages(params, +// func(page *lexmodelsv2.ListIntentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelsV2) ListIntentsPages(input *ListIntentsInput, fn func(*ListIntentsOutput, bool) bool) error { return c.ListIntentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5294,14 +5283,13 @@ const opListRecommendedIntents = "ListRecommendedIntents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRecommendedIntentsRequest method. +// req, resp := client.ListRecommendedIntentsRequest(params) // -// // Example sending a request using the ListRecommendedIntentsRequest method. -// req, resp := client.ListRecommendedIntentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListRecommendedIntents func (c *LexModelsV2) ListRecommendedIntentsRequest(input *ListRecommendedIntentsInput) (req *request.Request, output *ListRecommendedIntentsOutput) { @@ -5339,22 +5327,23 @@ func (c *LexModelsV2) ListRecommendedIntentsRequest(input *ListRecommendedIntent // API operation ListRecommendedIntents for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. +// +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListRecommendedIntents func (c *LexModelsV2) ListRecommendedIntents(input *ListRecommendedIntentsInput) (*ListRecommendedIntentsOutput, error) { @@ -5386,15 +5375,14 @@ func (c *LexModelsV2) ListRecommendedIntentsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRecommendedIntents operation. -// pageNum := 0 -// err := client.ListRecommendedIntentsPages(params, -// func(page *lexmodelsv2.ListRecommendedIntentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRecommendedIntents operation. +// pageNum := 0 +// err := client.ListRecommendedIntentsPages(params, +// func(page *lexmodelsv2.ListRecommendedIntentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelsV2) ListRecommendedIntentsPages(input *ListRecommendedIntentsInput, fn func(*ListRecommendedIntentsOutput, bool) bool) error { return c.ListRecommendedIntentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5446,14 +5434,13 @@ const opListSlotTypes = "ListSlotTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSlotTypesRequest method. +// req, resp := client.ListSlotTypesRequest(params) // -// // Example sending a request using the ListSlotTypesRequest method. -// req, resp := client.ListSlotTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListSlotTypes func (c *LexModelsV2) ListSlotTypesRequest(input *ListSlotTypesInput) (req *request.Request, output *ListSlotTypesOutput) { @@ -5490,18 +5477,19 @@ func (c *LexModelsV2) ListSlotTypesRequest(input *ListSlotTypesInput) (req *requ // API operation ListSlotTypes for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListSlotTypes func (c *LexModelsV2) ListSlotTypes(input *ListSlotTypesInput) (*ListSlotTypesOutput, error) { @@ -5533,15 +5521,14 @@ func (c *LexModelsV2) ListSlotTypesWithContext(ctx aws.Context, input *ListSlotT // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSlotTypes operation. -// pageNum := 0 -// err := client.ListSlotTypesPages(params, -// func(page *lexmodelsv2.ListSlotTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSlotTypes operation. +// pageNum := 0 +// err := client.ListSlotTypesPages(params, +// func(page *lexmodelsv2.ListSlotTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelsV2) ListSlotTypesPages(input *ListSlotTypesInput, fn func(*ListSlotTypesOutput, bool) bool) error { return c.ListSlotTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5593,14 +5580,13 @@ const opListSlots = "ListSlots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSlotsRequest method. +// req, resp := client.ListSlotsRequest(params) // -// // Example sending a request using the ListSlotsRequest method. -// req, resp := client.ListSlotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListSlots func (c *LexModelsV2) ListSlotsRequest(input *ListSlotsInput) (req *request.Request, output *ListSlotsOutput) { @@ -5637,18 +5623,19 @@ func (c *LexModelsV2) ListSlotsRequest(input *ListSlotsInput) (req *request.Requ // API operation ListSlots for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListSlots func (c *LexModelsV2) ListSlots(input *ListSlotsInput) (*ListSlotsOutput, error) { @@ -5680,15 +5667,14 @@ func (c *LexModelsV2) ListSlotsWithContext(ctx aws.Context, input *ListSlotsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSlots operation. -// pageNum := 0 -// err := client.ListSlotsPages(params, -// func(page *lexmodelsv2.ListSlotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSlots operation. +// pageNum := 0 +// err := client.ListSlotsPages(params, +// func(page *lexmodelsv2.ListSlotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LexModelsV2) ListSlotsPages(input *ListSlotsInput, fn func(*ListSlotsOutput, bool) bool) error { return c.ListSlotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5740,14 +5726,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTagsForResource func (c *LexModelsV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -5779,19 +5764,20 @@ func (c *LexModelsV2) ListTagsForResourceRequest(input *ListTagsForResourceInput // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. // -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. +// +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTagsForResource func (c *LexModelsV2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -5831,14 +5817,13 @@ const opSearchAssociatedTranscripts = "SearchAssociatedTranscripts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchAssociatedTranscriptsRequest method. +// req, resp := client.SearchAssociatedTranscriptsRequest(params) // -// // Example sending a request using the SearchAssociatedTranscriptsRequest method. -// req, resp := client.SearchAssociatedTranscriptsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SearchAssociatedTranscripts func (c *LexModelsV2) SearchAssociatedTranscriptsRequest(input *SearchAssociatedTranscriptsInput) (req *request.Request, output *SearchAssociatedTranscriptsOutput) { @@ -5869,22 +5854,23 @@ func (c *LexModelsV2) SearchAssociatedTranscriptsRequest(input *SearchAssociated // API operation SearchAssociatedTranscripts for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. +// +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SearchAssociatedTranscripts func (c *LexModelsV2) SearchAssociatedTranscripts(input *SearchAssociatedTranscriptsInput) (*SearchAssociatedTranscriptsOutput, error) { @@ -5924,14 +5910,13 @@ const opStartBotRecommendation = "StartBotRecommendation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartBotRecommendationRequest method. +// req, resp := client.StartBotRecommendationRequest(params) // -// // Example sending a request using the StartBotRecommendationRequest method. -// req, resp := client.StartBotRecommendationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartBotRecommendation func (c *LexModelsV2) StartBotRecommendationRequest(input *StartBotRecommendationInput) (req *request.Request, output *StartBotRecommendationOutput) { @@ -5963,36 +5948,37 @@ func (c *LexModelsV2) StartBotRecommendationRequest(input *StartBotRecommendatio // API operation StartBotRecommendation for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartBotRecommendation func (c *LexModelsV2) StartBotRecommendation(input *StartBotRecommendationInput) (*StartBotRecommendationOutput, error) { @@ -6032,14 +6018,13 @@ const opStartImport = "StartImport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartImportRequest method. +// req, resp := client.StartImportRequest(params) // -// // Example sending a request using the StartImportRequest method. -// req, resp := client.StartImportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartImport func (c *LexModelsV2) StartImportRequest(input *StartImportInput) (req *request.Request, output *StartImportOutput) { @@ -6071,27 +6056,28 @@ func (c *LexModelsV2) StartImportRequest(input *StartImportInput) (req *request. // API operation StartImport for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartImport func (c *LexModelsV2) StartImport(input *StartImportInput) (*StartImportOutput, error) { @@ -6131,14 +6117,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TagResource func (c *LexModelsV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -6171,19 +6156,20 @@ func (c *LexModelsV2) TagResourceRequest(input *TagResourceInput) (req *request. // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. // -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. +// +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TagResource func (c *LexModelsV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -6223,14 +6209,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UntagResource func (c *LexModelsV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -6262,19 +6247,20 @@ func (c *LexModelsV2) UntagResourceRequest(input *UntagResourceInput) (req *requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. // -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. +// +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UntagResource func (c *LexModelsV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -6314,14 +6300,13 @@ const opUpdateBot = "UpdateBot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBotRequest method. +// req, resp := client.UpdateBotRequest(params) // -// // Example sending a request using the UpdateBotRequest method. -// req, resp := client.UpdateBotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBot func (c *LexModelsV2) UpdateBotRequest(input *UpdateBotInput) (req *request.Request, output *UpdateBotOutput) { @@ -6352,27 +6337,28 @@ func (c *LexModelsV2) UpdateBotRequest(input *UpdateBotInput) (req *request.Requ // API operation UpdateBot for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBot func (c *LexModelsV2) UpdateBot(input *UpdateBotInput) (*UpdateBotOutput, error) { @@ -6412,14 +6398,13 @@ const opUpdateBotAlias = "UpdateBotAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBotAliasRequest method. +// req, resp := client.UpdateBotAliasRequest(params) // -// // Example sending a request using the UpdateBotAliasRequest method. -// req, resp := client.UpdateBotAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotAlias func (c *LexModelsV2) UpdateBotAliasRequest(input *UpdateBotAliasInput) (req *request.Request, output *UpdateBotAliasOutput) { @@ -6450,27 +6435,28 @@ func (c *LexModelsV2) UpdateBotAliasRequest(input *UpdateBotAliasInput) (req *re // API operation UpdateBotAlias for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotAlias func (c *LexModelsV2) UpdateBotAlias(input *UpdateBotAliasInput) (*UpdateBotAliasOutput, error) { @@ -6510,14 +6496,13 @@ const opUpdateBotLocale = "UpdateBotLocale" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBotLocaleRequest method. +// req, resp := client.UpdateBotLocaleRequest(params) // -// // Example sending a request using the UpdateBotLocaleRequest method. -// req, resp := client.UpdateBotLocaleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocale func (c *LexModelsV2) UpdateBotLocaleRequest(input *UpdateBotLocaleInput) (req *request.Request, output *UpdateBotLocaleOutput) { @@ -6548,27 +6533,28 @@ func (c *LexModelsV2) UpdateBotLocaleRequest(input *UpdateBotLocaleInput) (req * // API operation UpdateBotLocale for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocale func (c *LexModelsV2) UpdateBotLocale(input *UpdateBotLocaleInput) (*UpdateBotLocaleOutput, error) { @@ -6608,14 +6594,13 @@ const opUpdateBotRecommendation = "UpdateBotRecommendation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBotRecommendationRequest method. +// req, resp := client.UpdateBotRecommendationRequest(params) // -// // Example sending a request using the UpdateBotRecommendationRequest method. -// req, resp := client.UpdateBotRecommendationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotRecommendation func (c *LexModelsV2) UpdateBotRecommendationRequest(input *UpdateBotRecommendationInput) (req *request.Request, output *UpdateBotRecommendationOutput) { @@ -6646,36 +6631,37 @@ func (c *LexModelsV2) UpdateBotRecommendationRequest(input *UpdateBotRecommendat // API operation UpdateBotRecommendation for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotRecommendation func (c *LexModelsV2) UpdateBotRecommendation(input *UpdateBotRecommendationInput) (*UpdateBotRecommendationOutput, error) { @@ -6715,14 +6701,13 @@ const opUpdateExport = "UpdateExport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateExportRequest method. +// req, resp := client.UpdateExportRequest(params) // -// // Example sending a request using the UpdateExportRequest method. -// req, resp := client.UpdateExportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateExport func (c *LexModelsV2) UpdateExportRequest(input *UpdateExportInput) (req *request.Request, output *UpdateExportOutput) { @@ -6758,27 +6743,28 @@ func (c *LexModelsV2) UpdateExportRequest(input *UpdateExportInput) (req *reques // API operation UpdateExport for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. +// +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateExport func (c *LexModelsV2) UpdateExport(input *UpdateExportInput) (*UpdateExportOutput, error) { @@ -6818,14 +6804,13 @@ const opUpdateIntent = "UpdateIntent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIntentRequest method. +// req, resp := client.UpdateIntentRequest(params) // -// // Example sending a request using the UpdateIntentRequest method. -// req, resp := client.UpdateIntentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateIntent func (c *LexModelsV2) UpdateIntentRequest(input *UpdateIntentInput) (req *request.Request, output *UpdateIntentOutput) { @@ -6856,27 +6841,28 @@ func (c *LexModelsV2) UpdateIntentRequest(input *UpdateIntentInput) (req *reques // API operation UpdateIntent for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateIntent func (c *LexModelsV2) UpdateIntent(input *UpdateIntentInput) (*UpdateIntentOutput, error) { @@ -6916,14 +6902,13 @@ const opUpdateResourcePolicy = "UpdateResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResourcePolicyRequest method. +// req, resp := client.UpdateResourcePolicyRequest(params) // -// // Example sending a request using the UpdateResourcePolicyRequest method. -// req, resp := client.UpdateResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateResourcePolicy func (c *LexModelsV2) UpdateResourcePolicyRequest(input *UpdateResourcePolicyInput) (req *request.Request, output *UpdateResourcePolicyOutput) { @@ -6955,26 +6940,27 @@ func (c *LexModelsV2) UpdateResourcePolicyRequest(input *UpdateResourcePolicyInp // API operation UpdateResourcePolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// You asked to describe a resource that doesn't exist. Check the resource that -// you are requesting and try again. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ResourceNotFoundException +// You asked to describe a resource that doesn't exist. Check the resource that +// you are requesting and try again. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateResourcePolicy func (c *LexModelsV2) UpdateResourcePolicy(input *UpdateResourcePolicyInput) (*UpdateResourcePolicyOutput, error) { @@ -7014,14 +7000,13 @@ const opUpdateSlot = "UpdateSlot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSlotRequest method. +// req, resp := client.UpdateSlotRequest(params) // -// // Example sending a request using the UpdateSlotRequest method. -// req, resp := client.UpdateSlotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlot func (c *LexModelsV2) UpdateSlotRequest(input *UpdateSlotInput) (req *request.Request, output *UpdateSlotOutput) { @@ -7052,27 +7037,28 @@ func (c *LexModelsV2) UpdateSlotRequest(input *UpdateSlotInput) (req *request.Re // API operation UpdateSlot for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlot func (c *LexModelsV2) UpdateSlot(input *UpdateSlotInput) (*UpdateSlotOutput, error) { @@ -7112,14 +7098,13 @@ const opUpdateSlotType = "UpdateSlotType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSlotTypeRequest method. +// req, resp := client.UpdateSlotTypeRequest(params) // -// // Example sending a request using the UpdateSlotTypeRequest method. -// req, resp := client.UpdateSlotTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlotType func (c *LexModelsV2) UpdateSlotTypeRequest(input *UpdateSlotTypeInput) (req *request.Request, output *UpdateSlotTypeOutput) { @@ -7150,27 +7135,28 @@ func (c *LexModelsV2) UpdateSlotTypeRequest(input *UpdateSlotTypeInput) (req *re // API operation UpdateSlotType for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Your request rate is too high. Reduce the frequency of requests. // -// * ServiceQuotaExceededException -// You have reached a quota for your bot. +// - ThrottlingException +// Your request rate is too high. Reduce the frequency of requests. +// +// - ServiceQuotaExceededException +// You have reached a quota for your bot. // -// * ValidationException -// One of the input parameters in your request isn't valid. Check the parameters -// and try your request again. +// - ValidationException +// One of the input parameters in your request isn't valid. Check the parameters +// and try your request again. // -// * PreconditionFailedException -// Your request couldn't be completed because one or more request fields aren't -// valid. Check the fields in your request and try again. +// - PreconditionFailedException +// Your request couldn't be completed because one or more request fields aren't +// valid. Check the fields in your request and try again. // -// * ConflictException -// The action that you tried to perform couldn't be completed because the resource -// is in a conflicting state. For example, deleting a bot that is in the CREATING -// state. Try your request again. +// - ConflictException +// The action that you tried to perform couldn't be completed because the resource +// is in a conflicting state. For example, deleting a bot that is in the CREATING +// state. Try your request again. // -// * InternalServerException -// The service encountered an unexpected condition. Try your request again. +// - InternalServerException +// The service encountered an unexpected condition. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlotType func (c *LexModelsV2) UpdateSlotType(input *UpdateSlotTypeInput) (*UpdateSlotTypeOutput, error) { @@ -22382,16 +22368,16 @@ func (s *RecommendedIntentSummary) SetSampleUtterancesCount(v int64) *Recommende // // You can choose the time window that statistics should be returned for. // -// * Hours - You can request utterance statistics for 1, 3, 6, 12, or 24 -// hour time windows. Statistics are refreshed every half hour for 1 hour -// time windows, and hourly for the other time windows. +// - Hours - You can request utterance statistics for 1, 3, 6, 12, or 24 +// hour time windows. Statistics are refreshed every half hour for 1 hour +// time windows, and hourly for the other time windows. // -// * Days - You can request utterance statistics for 3 days. Statistics are -// refreshed every 6 hours. +// - Days - You can request utterance statistics for 3 days. Statistics are +// refreshed every 6 hours. // -// * Weeks - You can see statistics for one or two weeks. Statistics are -// refreshed every 12 hours for one week time windows, and once per day for -// two week time windows. +// - Weeks - You can see statistics for one or two weeks. Statistics are +// refreshed every 12 hours for one week time windows, and once per day for +// two week time windows. type RelativeAggregationDuration struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/doc.go index 153aadffb79d..aa3c0c5d4854 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/doc.go @@ -8,7 +8,7 @@ // See lexmodelsv2 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/lexmodelsv2/ // -// Using the Client +// # Using the Client // // To contact Amazon Lex Model Building V2 with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/lexmodelsv2iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/lexmodelsv2iface/interface.go index a1a91680993b..6378d66c31bc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/lexmodelsv2iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/lexmodelsv2iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Lex Model Building V2. -// func myFunc(svc lexmodelsv2iface.LexModelsV2API) bool { -// // Make svc.BuildBotLocale request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Lex Model Building V2. +// func myFunc(svc lexmodelsv2iface.LexModelsV2API) bool { +// // Make svc.BuildBotLocale request +// } // -// func main() { -// sess := session.New() -// svc := lexmodelsv2.New(sess) +// func main() { +// sess := session.New() +// svc := lexmodelsv2.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockLexModelsV2Client struct { -// lexmodelsv2iface.LexModelsV2API -// } -// func (m *mockLexModelsV2Client) BuildBotLocale(input *lexmodelsv2.BuildBotLocaleInput) (*lexmodelsv2.BuildBotLocaleOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockLexModelsV2Client struct { +// lexmodelsv2iface.LexModelsV2API +// } +// func (m *mockLexModelsV2Client) BuildBotLocale(input *lexmodelsv2.BuildBotLocaleInput) (*lexmodelsv2.BuildBotLocaleOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockLexModelsV2Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockLexModelsV2Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/service.go index 477297a15c24..8bcb81c2f874 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexmodelsv2/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a LexModelsV2 client from just a session. -// svc := lexmodelsv2.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a LexModelsV2 client with additional configuration -// svc := lexmodelsv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a LexModelsV2 client from just a session. +// svc := lexmodelsv2.New(mySession) +// +// // Create a LexModelsV2 client with additional configuration +// svc := lexmodelsv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *LexModelsV2 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/api.go index 3436780e3d1e..e34f436d65d5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/api.go @@ -29,14 +29,13 @@ const opDeleteSession = "DeleteSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSessionRequest method. +// req, resp := client.DeleteSessionRequest(params) // -// // Example sending a request using the DeleteSessionRequest method. -// req, resp := client.DeleteSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/DeleteSession func (c *LexRuntimeService) DeleteSessionRequest(input *DeleteSessionInput) (req *request.Request, output *DeleteSessionOutput) { @@ -67,22 +66,23 @@ func (c *LexRuntimeService) DeleteSessionRequest(input *DeleteSessionInput) (req // API operation DeleteSession for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource (such as the Amazon Lex bot or an alias) that is referred to -// is not found. // -// * BadRequestException -// Request validation failed, there is no usable message in the context, or -// the bot build failed, is still in progress, or contains unbuilt changes. +// - NotFoundException +// The resource (such as the Amazon Lex bot or an alias) that is referred to +// is not found. +// +// - BadRequestException +// Request validation failed, there is no usable message in the context, or +// the bot build failed, is still in progress, or contains unbuilt changes. // -// * LimitExceededException -// Exceeded a limit. +// - LimitExceededException +// Exceeded a limit. // -// * InternalFailureException -// Internal service error. Retry the call. +// - InternalFailureException +// Internal service error. Retry the call. // -// * ConflictException -// Two clients are using the same AWS account, Amazon Lex bot, and user ID. +// - ConflictException +// Two clients are using the same AWS account, Amazon Lex bot, and user ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/DeleteSession func (c *LexRuntimeService) DeleteSession(input *DeleteSessionInput) (*DeleteSessionOutput, error) { @@ -122,14 +122,13 @@ const opGetSession = "GetSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSessionRequest method. +// req, resp := client.GetSessionRequest(params) // -// // Example sending a request using the GetSessionRequest method. -// req, resp := client.GetSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/GetSession func (c *LexRuntimeService) GetSessionRequest(input *GetSessionInput) (req *request.Request, output *GetSessionOutput) { @@ -160,19 +159,20 @@ func (c *LexRuntimeService) GetSessionRequest(input *GetSessionInput) (req *requ // API operation GetSession for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource (such as the Amazon Lex bot or an alias) that is referred to -// is not found. // -// * BadRequestException -// Request validation failed, there is no usable message in the context, or -// the bot build failed, is still in progress, or contains unbuilt changes. +// - NotFoundException +// The resource (such as the Amazon Lex bot or an alias) that is referred to +// is not found. // -// * LimitExceededException -// Exceeded a limit. +// - BadRequestException +// Request validation failed, there is no usable message in the context, or +// the bot build failed, is still in progress, or contains unbuilt changes. // -// * InternalFailureException -// Internal service error. Retry the call. +// - LimitExceededException +// Exceeded a limit. +// +// - InternalFailureException +// Internal service error. Retry the call. // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/GetSession func (c *LexRuntimeService) GetSession(input *GetSessionInput) (*GetSessionOutput, error) { @@ -212,14 +212,13 @@ const opPostContent = "PostContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PostContentRequest method. +// req, resp := client.PostContentRequest(params) // -// // Example sending a request using the PostContentRequest method. -// req, resp := client.PostContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/PostContent func (c *LexRuntimeService) PostContentRequest(input *PostContentInput) (req *request.Request, output *PostContentOutput) { @@ -254,17 +253,17 @@ func (c *LexRuntimeService) PostContentRequest(input *PostContentInput) (req *re // In response, Amazon Lex returns the next message to convey to the user. Consider // the following example messages: // -// * For a user input "I would like a pizza," Amazon Lex might return a response -// with a message eliciting slot data (for example, PizzaSize): "What size -// pizza would you like?". +// - For a user input "I would like a pizza," Amazon Lex might return a response +// with a message eliciting slot data (for example, PizzaSize): "What size +// pizza would you like?". // -// * After the user provides all of the pizza order information, Amazon Lex -// might return a response with a message to get user confirmation: "Order -// the pizza?". +// - After the user provides all of the pizza order information, Amazon Lex +// might return a response with a message to get user confirmation: "Order +// the pizza?". // -// * After the user replies "Yes" to the confirmation prompt, Amazon Lex -// might return a conclusion statement: "Thank you, your cheese pizza has -// been ordered.". +// - After the user replies "Yes" to the confirmation prompt, Amazon Lex +// might return a conclusion statement: "Thank you, your cheese pizza has +// been ordered.". // // Not all Amazon Lex messages require a response from the user. For example, // conclusion statements do not require a response. Some messages require only @@ -273,20 +272,20 @@ func (c *LexRuntimeService) PostContentRequest(input *PostContentInput) (req *re // behavior, such as displaying the appropriate client user interface. Consider // the following examples: // -// * If the message is to elicit slot data, Amazon Lex returns the following -// context information: x-amz-lex-dialog-state header set to ElicitSlot x-amz-lex-intent-name -// header set to the intent name in the current context x-amz-lex-slot-to-elicit -// header set to the slot name for which the message is eliciting information -// x-amz-lex-slots header set to a map of slots configured for the intent -// with their current values +// - If the message is to elicit slot data, Amazon Lex returns the following +// context information: x-amz-lex-dialog-state header set to ElicitSlot x-amz-lex-intent-name +// header set to the intent name in the current context x-amz-lex-slot-to-elicit +// header set to the slot name for which the message is eliciting information +// x-amz-lex-slots header set to a map of slots configured for the intent +// with their current values // -// * If the message is a confirmation prompt, the x-amz-lex-dialog-state -// header is set to Confirmation and the x-amz-lex-slot-to-elicit header -// is omitted. +// - If the message is a confirmation prompt, the x-amz-lex-dialog-state +// header is set to Confirmation and the x-amz-lex-slot-to-elicit header +// is omitted. // -// * If the message is a clarification prompt configured for the intent, -// indicating that the user intent is not understood, the x-amz-dialog-state -// header is set to ElicitIntent and the x-amz-slot-to-elicit header is omitted. +// - If the message is a clarification prompt configured for the intent, +// indicating that the user intent is not understood, the x-amz-dialog-state +// header is set to ElicitIntent and the x-amz-slot-to-elicit header is omitted. // // In addition, Amazon Lex also returns your application-specific sessionAttributes. // For more information, see Managing Conversation Context (https://docs.aws.amazon.com/lex/latest/dg/context-mgmt.html). @@ -299,50 +298,51 @@ func (c *LexRuntimeService) PostContentRequest(input *PostContentInput) (req *re // API operation PostContent for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource (such as the Amazon Lex bot or an alias) that is referred to -// is not found. // -// * BadRequestException -// Request validation failed, there is no usable message in the context, or -// the bot build failed, is still in progress, or contains unbuilt changes. +// - NotFoundException +// The resource (such as the Amazon Lex bot or an alias) that is referred to +// is not found. // -// * LimitExceededException -// Exceeded a limit. +// - BadRequestException +// Request validation failed, there is no usable message in the context, or +// the bot build failed, is still in progress, or contains unbuilt changes. // -// * InternalFailureException -// Internal service error. Retry the call. +// - LimitExceededException +// Exceeded a limit. // -// * ConflictException -// Two clients are using the same AWS account, Amazon Lex bot, and user ID. +// - InternalFailureException +// Internal service error. Retry the call. // -// * UnsupportedMediaTypeException -// The Content-Type header (PostContent API) has an invalid value. +// - ConflictException +// Two clients are using the same AWS account, Amazon Lex bot, and user ID. // -// * NotAcceptableException -// The accept header in the request does not have a valid value. +// - UnsupportedMediaTypeException +// The Content-Type header (PostContent API) has an invalid value. // -// * RequestTimeoutException -// The input speech is too long. +// - NotAcceptableException +// The accept header in the request does not have a valid value. // -// * DependencyFailedException -// One of the dependencies, such as AWS Lambda or Amazon Polly, threw an exception. -// For example, +// - RequestTimeoutException +// The input speech is too long. // -// * If Amazon Lex does not have sufficient permissions to call a Lambda -// function. +// - DependencyFailedException +// One of the dependencies, such as AWS Lambda or Amazon Polly, threw an exception. +// For example, // -// * If a Lambda function takes longer than 30 seconds to execute. +// - If Amazon Lex does not have sufficient permissions to call a Lambda +// function. // -// * If a fulfillment Lambda function returns a Delegate dialog action without -// removing any slot values. +// - If a Lambda function takes longer than 30 seconds to execute. // -// * BadGatewayException -// Either the Amazon Lex bot is still building, or one of the dependent services -// (Amazon Polly, AWS Lambda) failed with an internal service error. +// - If a fulfillment Lambda function returns a Delegate dialog action without +// removing any slot values. // -// * LoopDetectedException -// This exception is not used. +// - BadGatewayException +// Either the Amazon Lex bot is still building, or one of the dependent services +// (Amazon Polly, AWS Lambda) failed with an internal service error. +// +// - LoopDetectedException +// This exception is not used. // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/PostContent func (c *LexRuntimeService) PostContent(input *PostContentInput) (*PostContentOutput, error) { @@ -382,14 +382,13 @@ const opPostText = "PostText" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PostTextRequest method. +// req, resp := client.PostTextRequest(params) // -// // Example sending a request using the PostTextRequest method. -// req, resp := client.PostTextRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/PostText func (c *LexRuntimeService) PostTextRequest(input *PostTextInput) (req *request.Request, output *PostTextOutput) { @@ -417,17 +416,17 @@ func (c *LexRuntimeService) PostTextRequest(input *PostTextInput) (req *request. // In response, Amazon Lex returns the next message to convey to the user an // optional responseCard to display. Consider the following example messages: // -// * For a user input "I would like a pizza", Amazon Lex might return a response -// with a message eliciting slot data (for example, PizzaSize): "What size -// pizza would you like?" +// - For a user input "I would like a pizza", Amazon Lex might return a response +// with a message eliciting slot data (for example, PizzaSize): "What size +// pizza would you like?" // -// * After the user provides all of the pizza order information, Amazon Lex -// might return a response with a message to obtain user confirmation "Proceed -// with the pizza order?". +// - After the user provides all of the pizza order information, Amazon Lex +// might return a response with a message to obtain user confirmation "Proceed +// with the pizza order?". // -// * After the user replies to a confirmation prompt with a "yes", Amazon -// Lex might return a conclusion statement: "Thank you, your cheese pizza -// has been ordered.". +// - After the user replies to a confirmation prompt with a "yes", Amazon +// Lex might return a conclusion statement: "Thank you, your cheese pizza +// has been ordered.". // // Not all Amazon Lex messages require a user response. For example, a conclusion // statement does not require a response. Some messages require only a "yes" @@ -437,18 +436,18 @@ func (c *LexRuntimeService) PostTextRequest(input *PostTextInput) (req *request. // These are the slotToElicit, dialogState, intentName, and slots fields in // the response. Consider the following examples: // -// * If the message is to elicit slot data, Amazon Lex returns the following -// context information: dialogState set to ElicitSlot intentName set to the -// intent name in the current context slotToElicit set to the slot name for -// which the message is eliciting information slots set to a map of slots, -// configured for the intent, with currently known values +// - If the message is to elicit slot data, Amazon Lex returns the following +// context information: dialogState set to ElicitSlot intentName set to the +// intent name in the current context slotToElicit set to the slot name for +// which the message is eliciting information slots set to a map of slots, +// configured for the intent, with currently known values // -// * If the message is a confirmation prompt, the dialogState is set to ConfirmIntent -// and SlotToElicit is set to null. +// - If the message is a confirmation prompt, the dialogState is set to ConfirmIntent +// and SlotToElicit is set to null. // -// * If the message is a clarification prompt (configured for the intent) -// that indicates that user intent is not understood, the dialogState is -// set to ElicitIntent and slotToElicit is set to null. +// - If the message is a clarification prompt (configured for the intent) +// that indicates that user intent is not understood, the dialogState is +// set to ElicitIntent and slotToElicit is set to null. // // In addition, Amazon Lex also returns your application-specific sessionAttributes. // For more information, see Managing Conversation Context (https://docs.aws.amazon.com/lex/latest/dg/context-mgmt.html). @@ -461,41 +460,42 @@ func (c *LexRuntimeService) PostTextRequest(input *PostTextInput) (req *request. // API operation PostText for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource (such as the Amazon Lex bot or an alias) that is referred to -// is not found. // -// * BadRequestException -// Request validation failed, there is no usable message in the context, or -// the bot build failed, is still in progress, or contains unbuilt changes. +// - NotFoundException +// The resource (such as the Amazon Lex bot or an alias) that is referred to +// is not found. +// +// - BadRequestException +// Request validation failed, there is no usable message in the context, or +// the bot build failed, is still in progress, or contains unbuilt changes. // -// * LimitExceededException -// Exceeded a limit. +// - LimitExceededException +// Exceeded a limit. // -// * InternalFailureException -// Internal service error. Retry the call. +// - InternalFailureException +// Internal service error. Retry the call. // -// * ConflictException -// Two clients are using the same AWS account, Amazon Lex bot, and user ID. +// - ConflictException +// Two clients are using the same AWS account, Amazon Lex bot, and user ID. // -// * DependencyFailedException -// One of the dependencies, such as AWS Lambda or Amazon Polly, threw an exception. -// For example, +// - DependencyFailedException +// One of the dependencies, such as AWS Lambda or Amazon Polly, threw an exception. +// For example, // -// * If Amazon Lex does not have sufficient permissions to call a Lambda -// function. +// - If Amazon Lex does not have sufficient permissions to call a Lambda +// function. // -// * If a Lambda function takes longer than 30 seconds to execute. +// - If a Lambda function takes longer than 30 seconds to execute. // -// * If a fulfillment Lambda function returns a Delegate dialog action without -// removing any slot values. +// - If a fulfillment Lambda function returns a Delegate dialog action without +// removing any slot values. // -// * BadGatewayException -// Either the Amazon Lex bot is still building, or one of the dependent services -// (Amazon Polly, AWS Lambda) failed with an internal service error. +// - BadGatewayException +// Either the Amazon Lex bot is still building, or one of the dependent services +// (Amazon Polly, AWS Lambda) failed with an internal service error. // -// * LoopDetectedException -// This exception is not used. +// - LoopDetectedException +// This exception is not used. // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/PostText func (c *LexRuntimeService) PostText(input *PostTextInput) (*PostTextOutput, error) { @@ -535,14 +535,13 @@ const opPutSession = "PutSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutSessionRequest method. +// req, resp := client.PutSessionRequest(params) // -// // Example sending a request using the PutSessionRequest method. -// req, resp := client.PutSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/PutSession func (c *LexRuntimeService) PutSessionRequest(input *PutSessionInput) (req *request.Request, output *PutSessionOutput) { @@ -577,41 +576,42 @@ func (c *LexRuntimeService) PutSessionRequest(input *PutSessionInput) (req *requ // API operation PutSession for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource (such as the Amazon Lex bot or an alias) that is referred to -// is not found. // -// * BadRequestException -// Request validation failed, there is no usable message in the context, or -// the bot build failed, is still in progress, or contains unbuilt changes. +// - NotFoundException +// The resource (such as the Amazon Lex bot or an alias) that is referred to +// is not found. +// +// - BadRequestException +// Request validation failed, there is no usable message in the context, or +// the bot build failed, is still in progress, or contains unbuilt changes. // -// * LimitExceededException -// Exceeded a limit. +// - LimitExceededException +// Exceeded a limit. // -// * InternalFailureException -// Internal service error. Retry the call. +// - InternalFailureException +// Internal service error. Retry the call. // -// * ConflictException -// Two clients are using the same AWS account, Amazon Lex bot, and user ID. +// - ConflictException +// Two clients are using the same AWS account, Amazon Lex bot, and user ID. // -// * NotAcceptableException -// The accept header in the request does not have a valid value. +// - NotAcceptableException +// The accept header in the request does not have a valid value. // -// * DependencyFailedException -// One of the dependencies, such as AWS Lambda or Amazon Polly, threw an exception. -// For example, +// - DependencyFailedException +// One of the dependencies, such as AWS Lambda or Amazon Polly, threw an exception. +// For example, // -// * If Amazon Lex does not have sufficient permissions to call a Lambda -// function. +// - If Amazon Lex does not have sufficient permissions to call a Lambda +// function. // -// * If a Lambda function takes longer than 30 seconds to execute. +// - If a Lambda function takes longer than 30 seconds to execute. // -// * If a fulfillment Lambda function returns a Delegate dialog action without -// removing any slot values. +// - If a fulfillment Lambda function returns a Delegate dialog action without +// removing any slot values. // -// * BadGatewayException -// Either the Amazon Lex bot is still building, or one of the dependent services -// (Amazon Polly, AWS Lambda) failed with an internal service error. +// - BadGatewayException +// Either the Amazon Lex bot is still building, or one of the dependent services +// (Amazon Polly, AWS Lambda) failed with an internal service error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/PutSession func (c *LexRuntimeService) PutSession(input *PutSessionInput) (*PutSessionOutput, error) { @@ -1169,13 +1169,13 @@ func (s *DeleteSessionOutput) SetUserId(v string) *DeleteSessionOutput { // One of the dependencies, such as AWS Lambda or Amazon Polly, threw an exception. // For example, // -// * If Amazon Lex does not have sufficient permissions to call a Lambda -// function. +// - If Amazon Lex does not have sufficient permissions to call a Lambda +// function. // -// * If a Lambda function takes longer than 30 seconds to execute. +// - If a Lambda function takes longer than 30 seconds to execute. // -// * If a fulfillment Lambda function returns a Delegate dialog action without -// removing any slot values. +// - If a fulfillment Lambda function returns a Delegate dialog action without +// removing any slot values. type DependencyFailedException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/doc.go index affd3fadd796..644ac3d61271 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/doc.go @@ -20,7 +20,7 @@ // See lexruntimeservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/lexruntimeservice/ // -// Using the Client +// # Using the Client // // To contact Amazon Lex Runtime Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/lexruntimeserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/lexruntimeserviceiface/interface.go index 8e9299673ed6..2a1067d11914 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/lexruntimeserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/lexruntimeserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Lex Runtime Service. -// func myFunc(svc lexruntimeserviceiface.LexRuntimeServiceAPI) bool { -// // Make svc.DeleteSession request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Lex Runtime Service. +// func myFunc(svc lexruntimeserviceiface.LexRuntimeServiceAPI) bool { +// // Make svc.DeleteSession request +// } // -// func main() { -// sess := session.New() -// svc := lexruntimeservice.New(sess) +// func main() { +// sess := session.New() +// svc := lexruntimeservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockLexRuntimeServiceClient struct { -// lexruntimeserviceiface.LexRuntimeServiceAPI -// } -// func (m *mockLexRuntimeServiceClient) DeleteSession(input *lexruntimeservice.DeleteSessionInput) (*lexruntimeservice.DeleteSessionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockLexRuntimeServiceClient struct { +// lexruntimeserviceiface.LexRuntimeServiceAPI +// } +// func (m *mockLexRuntimeServiceClient) DeleteSession(input *lexruntimeservice.DeleteSessionInput) (*lexruntimeservice.DeleteSessionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockLexRuntimeServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockLexRuntimeServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/service.go index b05c59dcf335..348ad6521da0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimeservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a LexRuntimeService client from just a session. -// svc := lexruntimeservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a LexRuntimeService client with additional configuration -// svc := lexruntimeservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a LexRuntimeService client from just a session. +// svc := lexruntimeservice.New(mySession) +// +// // Create a LexRuntimeService client with additional configuration +// svc := lexruntimeservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *LexRuntimeService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/api.go index 29a6d540daf6..e25196753906 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/api.go @@ -38,14 +38,13 @@ const opDeleteSession = "DeleteSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSessionRequest method. +// req, resp := client.DeleteSessionRequest(params) // -// // Example sending a request using the DeleteSessionRequest method. -// req, resp := client.DeleteSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/DeleteSession func (c *LexRuntimeV2) DeleteSessionRequest(input *DeleteSessionInput) (req *request.Request, output *DeleteSessionOutput) { @@ -89,17 +88,18 @@ func (c *LexRuntimeV2) DeleteSessionRequest(input *DeleteSessionInput) (req *req // API operation DeleteSession for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ResourceNotFoundException +// - AccessDeniedException +// +// - ResourceNotFoundException // -// * ValidationException +// - ValidationException // -// * ThrottlingException +// - ThrottlingException // -// * InternalServerException +// - InternalServerException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/DeleteSession func (c *LexRuntimeV2) DeleteSession(input *DeleteSessionInput) (*DeleteSessionOutput, error) { @@ -139,14 +139,13 @@ const opGetSession = "GetSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSessionRequest method. +// req, resp := client.GetSessionRequest(params) // -// // Example sending a request using the GetSessionRequest method. -// req, resp := client.GetSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/GetSession func (c *LexRuntimeV2) GetSessionRequest(input *GetSessionInput) (req *request.Request, output *GetSessionOutput) { @@ -184,15 +183,16 @@ func (c *LexRuntimeV2) GetSessionRequest(input *GetSessionInput) (req *request.R // API operation GetSession for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ResourceNotFoundException +// - AccessDeniedException +// +// - ResourceNotFoundException // -// * ValidationException +// - ValidationException // -// * ThrottlingException +// - ThrottlingException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/GetSession func (c *LexRuntimeV2) GetSession(input *GetSessionInput) (*GetSessionOutput, error) { @@ -232,14 +232,13 @@ const opPutSession = "PutSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutSessionRequest method. +// req, resp := client.PutSessionRequest(params) // -// // Example sending a request using the PutSessionRequest method. -// req, resp := client.PutSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/PutSession func (c *LexRuntimeV2) PutSessionRequest(input *PutSessionInput) (req *request.Request, output *PutSessionOutput) { @@ -272,21 +271,22 @@ func (c *LexRuntimeV2) PutSessionRequest(input *PutSessionInput) (req *request.R // API operation PutSession for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ResourceNotFoundException +// - AccessDeniedException +// +// - ResourceNotFoundException // -// * ValidationException +// - ValidationException // -// * ThrottlingException +// - ThrottlingException // -// * InternalServerException +// - InternalServerException // -// * ConflictException +// - ConflictException // -// * DependencyFailedException +// - DependencyFailedException // -// * BadGatewayException +// - BadGatewayException // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/PutSession func (c *LexRuntimeV2) PutSession(input *PutSessionInput) (*PutSessionOutput, error) { @@ -326,14 +326,13 @@ const opRecognizeText = "RecognizeText" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RecognizeTextRequest method. +// req, resp := client.RecognizeTextRequest(params) // -// // Example sending a request using the RecognizeTextRequest method. -// req, resp := client.RecognizeTextRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/RecognizeText func (c *LexRuntimeV2) RecognizeTextRequest(input *RecognizeTextInput) (req *request.Request, output *RecognizeTextOutput) { @@ -365,18 +364,18 @@ func (c *LexRuntimeV2) RecognizeTextRequest(input *RecognizeTextInput) (req *req // returned as follows. For more information, see PostFulfillmentStatusSpecification // (https://docs.aws.amazon.com/lexv2/latest/dg/API_PostFulfillmentStatusSpecification.html). // -// * Success message - Returned if the Lambda function completes successfully -// and the intent state is fulfilled or ready fulfillment if the message -// is present. +// - Success message - Returned if the Lambda function completes successfully +// and the intent state is fulfilled or ready fulfillment if the message +// is present. // -// * Failed message - The failed message is returned if the Lambda function -// throws an exception or if the Lambda function returns a failed intent -// state without a message. +// - Failed message - The failed message is returned if the Lambda function +// throws an exception or if the Lambda function returns a failed intent +// state without a message. // -// * Timeout message - If you don't configure a timeout message and a timeout, -// and the Lambda function doesn't return within 30 seconds, the timeout -// message is returned. If you configure a timeout, the timeout message is -// returned when the period times out. +// - Timeout message - If you don't configure a timeout message and a timeout, +// and the Lambda function doesn't return within 30 seconds, the timeout +// message is returned. If you configure a timeout, the timeout message is +// returned when the period times out. // // For more information, see Completion message (https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete.html). // @@ -388,21 +387,22 @@ func (c *LexRuntimeV2) RecognizeTextRequest(input *RecognizeTextInput) (req *req // API operation RecognizeText for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ResourceNotFoundException +// - AccessDeniedException // -// * ValidationException +// - ResourceNotFoundException // -// * ThrottlingException +// - ValidationException // -// * InternalServerException +// - ThrottlingException // -// * ConflictException +// - InternalServerException // -// * DependencyFailedException +// - ConflictException // -// * BadGatewayException +// - DependencyFailedException +// +// - BadGatewayException // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/RecognizeText func (c *LexRuntimeV2) RecognizeText(input *RecognizeTextInput) (*RecognizeTextOutput, error) { @@ -442,14 +442,13 @@ const opRecognizeUtterance = "RecognizeUtterance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RecognizeUtteranceRequest method. +// req, resp := client.RecognizeUtteranceRequest(params) // -// // Example sending a request using the RecognizeUtteranceRequest method. -// req, resp := client.RecognizeUtteranceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/RecognizeUtterance func (c *LexRuntimeV2) RecognizeUtteranceRequest(input *RecognizeUtteranceInput) (req *request.Request, output *RecognizeUtteranceOutput) { @@ -481,23 +480,23 @@ func (c *LexRuntimeV2) RecognizeUtteranceRequest(input *RecognizeUtteranceInput) // The following request fields must be compressed with gzip and then base64 // encoded before you send them to Amazon Lex V2. // -// * requestAttributes +// - requestAttributes // -// * sessionState +// - sessionState // // The following response fields are compressed using gzip and then base64 encoded // by Amazon Lex V2. Before you can use these fields, you must decode and decompress // them. // -// * inputTranscript +// - inputTranscript // -// * interpretations +// - interpretations // -// * messages +// - messages // -// * requestAttributes +// - requestAttributes // -// * sessionState +// - sessionState // // The example contains a Java application that compresses and encodes a Java // object to send to Amazon Lex V2, and a second that decodes and decompresses @@ -507,18 +506,18 @@ func (c *LexRuntimeV2) RecognizeUtteranceRequest(input *RecognizeUtteranceInput) // returned as follows. For more information, see PostFulfillmentStatusSpecification // (https://docs.aws.amazon.com/lexv2/latest/dg/API_PostFulfillmentStatusSpecification.html). // -// * Success message - Returned if the Lambda function completes successfully -// and the intent state is fulfilled or ready fulfillment if the message -// is present. +// - Success message - Returned if the Lambda function completes successfully +// and the intent state is fulfilled or ready fulfillment if the message +// is present. // -// * Failed message - The failed message is returned if the Lambda function -// throws an exception or if the Lambda function returns a failed intent -// state without a message. +// - Failed message - The failed message is returned if the Lambda function +// throws an exception or if the Lambda function returns a failed intent +// state without a message. // -// * Timeout message - If you don't configure a timeout message and a timeout, -// and the Lambda function doesn't return within 30 seconds, the timeout -// message is returned. If you configure a timeout, the timeout message is -// returned when the period times out. +// - Timeout message - If you don't configure a timeout message and a timeout, +// and the Lambda function doesn't return within 30 seconds, the timeout +// message is returned. If you configure a timeout, the timeout message is +// returned when the period times out. // // For more information, see Completion message (https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete.html). // @@ -530,21 +529,22 @@ func (c *LexRuntimeV2) RecognizeUtteranceRequest(input *RecognizeUtteranceInput) // API operation RecognizeUtterance for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ResourceNotFoundException +// - AccessDeniedException +// +// - ResourceNotFoundException // -// * ValidationException +// - ValidationException // -// * ThrottlingException +// - ThrottlingException // -// * InternalServerException +// - InternalServerException // -// * ConflictException +// - ConflictException // -// * DependencyFailedException +// - DependencyFailedException // -// * BadGatewayException +// - BadGatewayException // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/RecognizeUtterance func (c *LexRuntimeV2) RecognizeUtterance(input *RecognizeUtteranceInput) (*RecognizeUtteranceOutput, error) { @@ -584,14 +584,13 @@ const opStartConversation = "StartConversation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartConversationRequest method. +// req, resp := client.StartConversationRequest(params) // -// // Example sending a request using the StartConversationRequest method. -// req, resp := client.StartConversationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/StartConversation func (c *LexRuntimeV2) StartConversationRequest(input *StartConversationInput) (req *request.Request, output *StartConversationOutput) { @@ -654,18 +653,18 @@ func (c *LexRuntimeV2) StartConversationRequest(input *StartConversationInput) ( // returned as follows. For more information, see PostFulfillmentStatusSpecification // (https://docs.aws.amazon.com/lexv2/latest/dg/API_PostFulfillmentStatusSpecification.html). // -// * Success message - Returned if the Lambda function completes successfully -// and the intent state is fulfilled or ready fulfillment if the message -// is present. +// - Success message - Returned if the Lambda function completes successfully +// and the intent state is fulfilled or ready fulfillment if the message +// is present. // -// * Failed message - The failed message is returned if the Lambda function -// throws an exception or if the Lambda function returns a failed intent -// state without a message. +// - Failed message - The failed message is returned if the Lambda function +// throws an exception or if the Lambda function returns a failed intent +// state without a message. // -// * Timeout message - If you don't configure a timeout message and a timeout, -// and the Lambda function doesn't return within 30 seconds, the timeout -// message is returned. If you configure a timeout, the timeout message is -// returned when the period times out. +// - Timeout message - If you don't configure a timeout message and a timeout, +// and the Lambda function doesn't return within 30 seconds, the timeout +// message is returned. If you configure a timeout, the timeout message is +// returned when the period times out. // // For more information, see Completion message (https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete.html). // @@ -678,11 +677,11 @@ func (c *LexRuntimeV2) StartConversationRequest(input *StartConversationInput) ( // // The StartConversation operation is supported only in the following SDKs: // -// * AWS SDK for C++ (https://docs.aws.amazon.com/goto/SdkForCpp/runtime.lex.v2-2020-08-07/StartConversation) +// - AWS SDK for C++ (https://docs.aws.amazon.com/goto/SdkForCpp/runtime.lex.v2-2020-08-07/StartConversation) // -// * AWS SDK for Java V2 (https://docs.aws.amazon.com/goto/SdkForJavaV2/runtime.lex.v2-2020-08-07/StartConversation) +// - AWS SDK for Java V2 (https://docs.aws.amazon.com/goto/SdkForJavaV2/runtime.lex.v2-2020-08-07/StartConversation) // -// * AWS SDK for Ruby V3 (https://docs.aws.amazon.com/goto/SdkForRubyV3/runtime.lex.v2-2020-08-07/StartConversation) +// - AWS SDK for Ruby V3 (https://docs.aws.amazon.com/goto/SdkForRubyV3/runtime.lex.v2-2020-08-07/StartConversation) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -692,13 +691,14 @@ func (c *LexRuntimeV2) StartConversationRequest(input *StartConversationInput) ( // API operation StartConversation for usage and error information. // // Returned Error Types: -// * AccessDeniedException // -// * ValidationException +// - AccessDeniedException +// +// - ValidationException // -// * ThrottlingException +// - ThrottlingException // -// * InternalServerException +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/StartConversation func (c *LexRuntimeV2) StartConversation(input *StartConversationInput) (*StartConversationOutput, error) { @@ -764,10 +764,10 @@ type StartConversationEventStream struct { // // The Reader member must be set before reading events from the stream. // -// es := NewStartConversationEventStream(func(o *StartConversationEventStream){ -// es.Writer = myMockStreamWriter -// es.Reader = myMockStreamReader -// }) +// es := NewStartConversationEventStream(func(o *StartConversationEventStream){ +// es.Writer = myMockStreamWriter +// es.Reader = myMockStreamReader +// }) func NewStartConversationEventStream(opts ...func(*StartConversationEventStream)) *StartConversationEventStream { es := &StartConversationEventStream{ done: make(chan struct{}), @@ -838,12 +838,12 @@ func (es *StartConversationEventStream) closeInputPipe() error { // // These events are: // -// * AudioInputEvent -// * ConfigurationEvent -// * DTMFInputEvent -// * DisconnectionEvent -// * PlaybackCompletionEvent -// * TextInputEvent +// - AudioInputEvent +// - ConfigurationEvent +// - DTMFInputEvent +// - DisconnectionEvent +// - PlaybackCompletionEvent +// - TextInputEvent func (es *StartConversationEventStream) Send(ctx aws.Context, event StartConversationRequestEventStreamEvent) error { return es.Writer.Send(ctx, event) } @@ -887,13 +887,13 @@ func (es *StartConversationEventStream) runInputStream(r *request.Request) { // // These events are: // -// * AudioResponseEvent -// * HeartbeatEvent -// * IntentResultEvent -// * PlaybackInterruptionEvent -// * TextResponseEvent -// * TranscriptEvent -// * StartConversationResponseEventStreamUnknownEvent +// - AudioResponseEvent +// - HeartbeatEvent +// - IntentResultEvent +// - PlaybackInterruptionEvent +// - TextResponseEvent +// - TranscriptEvent +// - StartConversationResponseEventStreamUnknownEvent func (es *StartConversationEventStream) Events() <-chan StartConversationResponseEventStreamEvent { return es.Reader.Events() } @@ -932,7 +932,6 @@ func (es *StartConversationEventStream) runOutputStream(r *request.Request) { // // You can use the closing of the Reader's Events channel to terminate your // application's read from the API's stream. -// func (es *StartConversationEventStream) Close() (err error) { es.closeOnce.Do(es.safeClose) return es.Err() @@ -4785,12 +4784,12 @@ func (s *StartConversationOutput) GetStream() *StartConversationEventStream { // // These events are: // -// * AudioInputEvent -// * ConfigurationEvent -// * DTMFInputEvent -// * DisconnectionEvent -// * PlaybackCompletionEvent -// * TextInputEvent +// - AudioInputEvent +// - ConfigurationEvent +// - DTMFInputEvent +// - DisconnectionEvent +// - PlaybackCompletionEvent +// - TextInputEvent type StartConversationRequestEventStreamEvent interface { eventStartConversationRequestEventStream() eventstreamapi.Marshaler @@ -4804,12 +4803,12 @@ type StartConversationRequestEventStreamEvent interface { // // These events are: // -// * AudioInputEvent -// * ConfigurationEvent -// * DTMFInputEvent -// * DisconnectionEvent -// * PlaybackCompletionEvent -// * TextInputEvent +// - AudioInputEvent +// - ConfigurationEvent +// - DTMFInputEvent +// - DisconnectionEvent +// - PlaybackCompletionEvent +// - TextInputEvent type StartConversationRequestEventStreamWriter interface { // Sends writes events to the stream blocking until the event has been // written. An error is returned if the write fails. @@ -4858,12 +4857,12 @@ func eventTypeForStartConversationRequestEventStreamEvent(event eventstreamapi.M // // These events are: // -// * AudioResponseEvent -// * HeartbeatEvent -// * IntentResultEvent -// * PlaybackInterruptionEvent -// * TextResponseEvent -// * TranscriptEvent +// - AudioResponseEvent +// - HeartbeatEvent +// - IntentResultEvent +// - PlaybackInterruptionEvent +// - TextResponseEvent +// - TranscriptEvent type StartConversationResponseEventStreamEvent interface { eventStartConversationResponseEventStream() eventstreamapi.Marshaler @@ -4877,13 +4876,13 @@ type StartConversationResponseEventStreamEvent interface { // // These events are: // -// * AudioResponseEvent -// * HeartbeatEvent -// * IntentResultEvent -// * PlaybackInterruptionEvent -// * TextResponseEvent -// * TranscriptEvent -// * StartConversationResponseEventStreamUnknownEvent +// - AudioResponseEvent +// - HeartbeatEvent +// - IntentResultEvent +// - PlaybackInterruptionEvent +// - TextResponseEvent +// - TranscriptEvent +// - StartConversationResponseEventStreamUnknownEvent type StartConversationResponseEventStreamReader interface { // Returns a channel of events as they are read from the event stream. Events() <-chan StartConversationResponseEventStreamEvent diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/doc.go index 298840ea40ff..d6df001531a1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/doc.go @@ -8,7 +8,7 @@ // See lexruntimev2 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/lexruntimev2/ // -// Using the Client +// # Using the Client // // To contact Amazon Lex Runtime V2 with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/lexruntimev2iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/lexruntimev2iface/interface.go index 4e067218f79a..0db388fdb9ba 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/lexruntimev2iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/lexruntimev2iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Lex Runtime V2. -// func myFunc(svc lexruntimev2iface.LexRuntimeV2API) bool { -// // Make svc.DeleteSession request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Lex Runtime V2. +// func myFunc(svc lexruntimev2iface.LexRuntimeV2API) bool { +// // Make svc.DeleteSession request +// } // -// func main() { -// sess := session.New() -// svc := lexruntimev2.New(sess) +// func main() { +// sess := session.New() +// svc := lexruntimev2.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockLexRuntimeV2Client struct { -// lexruntimev2iface.LexRuntimeV2API -// } -// func (m *mockLexRuntimeV2Client) DeleteSession(input *lexruntimev2.DeleteSessionInput) (*lexruntimev2.DeleteSessionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockLexRuntimeV2Client struct { +// lexruntimev2iface.LexRuntimeV2API +// } +// func (m *mockLexRuntimeV2Client) DeleteSession(input *lexruntimev2.DeleteSessionInput) (*lexruntimev2.DeleteSessionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockLexRuntimeV2Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockLexRuntimeV2Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/service.go index edb55f1a631c..acf90fb367a3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lexruntimev2/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a LexRuntimeV2 client from just a session. -// svc := lexruntimev2.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a LexRuntimeV2 client with additional configuration -// svc := lexruntimev2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a LexRuntimeV2 client from just a session. +// svc := lexruntimev2.New(mySession) +// +// // Create a LexRuntimeV2 client with additional configuration +// svc := lexruntimev2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *LexRuntimeV2 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/api.go index d39d81269603..bc1d7c77363f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/api.go @@ -29,14 +29,13 @@ const opAcceptGrant = "AcceptGrant" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptGrantRequest method. +// req, resp := client.AcceptGrantRequest(params) // -// // Example sending a request using the AcceptGrantRequest method. -// req, resp := client.AcceptGrantRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/AcceptGrant func (c *LicenseManager) AcceptGrantRequest(input *AcceptGrantInput) (req *request.Request, output *AcceptGrantOutput) { @@ -67,27 +66,28 @@ func (c *LicenseManager) AcceptGrantRequest(input *AcceptGrantInput) (req *reque // API operation AcceptGrant for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/AcceptGrant func (c *LicenseManager) AcceptGrant(input *AcceptGrantInput) (*AcceptGrantOutput, error) { @@ -127,14 +127,13 @@ const opCheckInLicense = "CheckInLicense" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CheckInLicenseRequest method. +// req, resp := client.CheckInLicenseRequest(params) // -// // Example sending a request using the CheckInLicenseRequest method. -// req, resp := client.CheckInLicenseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CheckInLicense func (c *LicenseManager) CheckInLicenseRequest(input *CheckInLicenseInput) (req *request.Request, output *CheckInLicenseOutput) { @@ -167,30 +166,31 @@ func (c *LicenseManager) CheckInLicenseRequest(input *CheckInLicenseInput) (req // API operation CheckInLicense for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - ResourceNotFoundException +// The resource cannot be found. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * AccessDeniedException -// Access to resource denied. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AccessDeniedException +// Access to resource denied. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. +// +// - ServerInternalException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CheckInLicense func (c *LicenseManager) CheckInLicense(input *CheckInLicenseInput) (*CheckInLicenseOutput, error) { @@ -230,14 +230,13 @@ const opCheckoutBorrowLicense = "CheckoutBorrowLicense" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CheckoutBorrowLicenseRequest method. +// req, resp := client.CheckoutBorrowLicenseRequest(params) // -// // Example sending a request using the CheckoutBorrowLicenseRequest method. -// req, resp := client.CheckoutBorrowLicenseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CheckoutBorrowLicense func (c *LicenseManager) CheckoutBorrowLicenseRequest(input *CheckoutBorrowLicenseInput) (req *request.Request, output *CheckoutBorrowLicenseOutput) { @@ -268,40 +267,41 @@ func (c *LicenseManager) CheckoutBorrowLicenseRequest(input *CheckoutBorrowLicen // API operation CheckoutBorrowLicense for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource cannot be found. +// - ResourceNotFoundException +// The resource cannot be found. // -// * NoEntitlementsAllowedException -// There are no entitlements found for this license, or the entitlement maximum -// count is reached. +// - NoEntitlementsAllowedException +// There are no entitlements found for this license, or the entitlement maximum +// count is reached. // -// * EntitlementNotAllowedException -// The entitlement is not allowed. +// - EntitlementNotAllowedException +// The entitlement is not allowed. // -// * UnsupportedDigitalSignatureMethodException -// The digital signature method is unsupported. Try your request again. +// - UnsupportedDigitalSignatureMethodException +// The digital signature method is unsupported. Try your request again. // -// * RedirectException -// This is not the correct Region for the resource. Try again. +// - RedirectException +// This is not the correct Region for the resource. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CheckoutBorrowLicense func (c *LicenseManager) CheckoutBorrowLicense(input *CheckoutBorrowLicenseInput) (*CheckoutBorrowLicenseOutput, error) { @@ -341,14 +341,13 @@ const opCheckoutLicense = "CheckoutLicense" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CheckoutLicenseRequest method. +// req, resp := client.CheckoutLicenseRequest(params) // -// // Example sending a request using the CheckoutLicenseRequest method. -// req, resp := client.CheckoutLicenseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CheckoutLicense func (c *LicenseManager) CheckoutLicenseRequest(input *CheckoutLicenseInput) (req *request.Request, output *CheckoutLicenseOutput) { @@ -379,37 +378,38 @@ func (c *LicenseManager) CheckoutLicenseRequest(input *CheckoutLicenseInput) (re // API operation CheckoutLicense for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource cannot be found. +// - ResourceNotFoundException +// The resource cannot be found. // -// * NoEntitlementsAllowedException -// There are no entitlements found for this license, or the entitlement maximum -// count is reached. +// - NoEntitlementsAllowedException +// There are no entitlements found for this license, or the entitlement maximum +// count is reached. // -// * UnsupportedDigitalSignatureMethodException -// The digital signature method is unsupported. Try your request again. +// - UnsupportedDigitalSignatureMethodException +// The digital signature method is unsupported. Try your request again. // -// * RedirectException -// This is not the correct Region for the resource. Try again. +// - RedirectException +// This is not the correct Region for the resource. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CheckoutLicense func (c *LicenseManager) CheckoutLicense(input *CheckoutLicenseInput) (*CheckoutLicenseOutput, error) { @@ -449,14 +449,13 @@ const opCreateGrant = "CreateGrant" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGrantRequest method. +// req, resp := client.CreateGrantRequest(params) // -// // Example sending a request using the CreateGrantRequest method. -// req, resp := client.CreateGrantRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateGrant func (c *LicenseManager) CreateGrantRequest(input *CreateGrantInput) (req *request.Request, output *CreateGrantOutput) { @@ -488,27 +487,28 @@ func (c *LicenseManager) CreateGrantRequest(input *CreateGrantInput) (req *reque // API operation CreateGrant for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. +// +// - AccessDeniedException +// Access to resource denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateGrant func (c *LicenseManager) CreateGrant(input *CreateGrantInput) (*CreateGrantOutput, error) { @@ -548,14 +548,13 @@ const opCreateGrantVersion = "CreateGrantVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGrantVersionRequest method. +// req, resp := client.CreateGrantVersionRequest(params) // -// // Example sending a request using the CreateGrantVersionRequest method. -// req, resp := client.CreateGrantVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateGrantVersion func (c *LicenseManager) CreateGrantVersionRequest(input *CreateGrantVersionInput) (req *request.Request, output *CreateGrantVersionOutput) { @@ -586,27 +585,28 @@ func (c *LicenseManager) CreateGrantVersionRequest(input *CreateGrantVersionInpu // API operation CreateGrantVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateGrantVersion func (c *LicenseManager) CreateGrantVersion(input *CreateGrantVersionInput) (*CreateGrantVersionOutput, error) { @@ -646,14 +646,13 @@ const opCreateLicense = "CreateLicense" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLicenseRequest method. +// req, resp := client.CreateLicenseRequest(params) // -// // Example sending a request using the CreateLicenseRequest method. -// req, resp := client.CreateLicenseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicense func (c *LicenseManager) CreateLicenseRequest(input *CreateLicenseInput) (req *request.Request, output *CreateLicenseOutput) { @@ -684,27 +683,28 @@ func (c *LicenseManager) CreateLicenseRequest(input *CreateLicenseInput) (req *r // API operation CreateLicense for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * RedirectException -// This is not the correct Region for the resource. Try again. +// - RedirectException +// This is not the correct Region for the resource. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicense func (c *LicenseManager) CreateLicense(input *CreateLicenseInput) (*CreateLicenseOutput, error) { @@ -744,14 +744,13 @@ const opCreateLicenseConfiguration = "CreateLicenseConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLicenseConfigurationRequest method. +// req, resp := client.CreateLicenseConfigurationRequest(params) // -// // Example sending a request using the CreateLicenseConfigurationRequest method. -// req, resp := client.CreateLicenseConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConfiguration func (c *LicenseManager) CreateLicenseConfigurationRequest(input *CreateLicenseConfigurationInput) (req *request.Request, output *CreateLicenseConfigurationOutput) { @@ -789,24 +788,25 @@ func (c *LicenseManager) CreateLicenseConfigurationRequest(input *CreateLicenseC // API operation CreateLicenseConfiguration for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * AccessDeniedException -// Access to resource denied. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AccessDeniedException +// Access to resource denied. +// +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConfiguration func (c *LicenseManager) CreateLicenseConfiguration(input *CreateLicenseConfigurationInput) (*CreateLicenseConfigurationOutput, error) { @@ -846,14 +846,13 @@ const opCreateLicenseConversionTaskForResource = "CreateLicenseConversionTaskFor // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLicenseConversionTaskForResourceRequest method. +// req, resp := client.CreateLicenseConversionTaskForResourceRequest(params) // -// // Example sending a request using the CreateLicenseConversionTaskForResourceRequest method. -// req, resp := client.CreateLicenseConversionTaskForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConversionTaskForResource func (c *LicenseManager) CreateLicenseConversionTaskForResourceRequest(input *CreateLicenseConversionTaskForResourceInput) (req *request.Request, output *CreateLicenseConversionTaskForResourceOutput) { @@ -884,24 +883,25 @@ func (c *LicenseManager) CreateLicenseConversionTaskForResourceRequest(input *Cr // API operation CreateLicenseConversionTaskForResource for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * ValidationException -// The provided input is not valid. Try your request again. +// - InvalidParameterValueException +// One or more parameter values are not valid. +// +// - ValidationException +// The provided input is not valid. Try your request again. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConversionTaskForResource func (c *LicenseManager) CreateLicenseConversionTaskForResource(input *CreateLicenseConversionTaskForResourceInput) (*CreateLicenseConversionTaskForResourceOutput, error) { @@ -941,14 +941,13 @@ const opCreateLicenseManagerReportGenerator = "CreateLicenseManagerReportGenerat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLicenseManagerReportGeneratorRequest method. +// req, resp := client.CreateLicenseManagerReportGeneratorRequest(params) // -// // Example sending a request using the CreateLicenseManagerReportGeneratorRequest method. -// req, resp := client.CreateLicenseManagerReportGeneratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseManagerReportGenerator func (c *LicenseManager) CreateLicenseManagerReportGeneratorRequest(input *CreateLicenseManagerReportGeneratorInput) (req *request.Request, output *CreateLicenseManagerReportGeneratorOutput) { @@ -979,30 +978,31 @@ func (c *LicenseManager) CreateLicenseManagerReportGeneratorRequest(input *Creat // API operation CreateLicenseManagerReportGenerator for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * ResourceNotFoundException -// The resource cannot be found. +// - ResourceNotFoundException +// The resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseManagerReportGenerator func (c *LicenseManager) CreateLicenseManagerReportGenerator(input *CreateLicenseManagerReportGeneratorInput) (*CreateLicenseManagerReportGeneratorOutput, error) { @@ -1042,14 +1042,13 @@ const opCreateLicenseVersion = "CreateLicenseVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLicenseVersionRequest method. +// req, resp := client.CreateLicenseVersionRequest(params) // -// // Example sending a request using the CreateLicenseVersionRequest method. -// req, resp := client.CreateLicenseVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseVersion func (c *LicenseManager) CreateLicenseVersionRequest(input *CreateLicenseVersionInput) (req *request.Request, output *CreateLicenseVersionOutput) { @@ -1080,30 +1079,31 @@ func (c *LicenseManager) CreateLicenseVersionRequest(input *CreateLicenseVersion // API operation CreateLicenseVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * AccessDeniedException -// Access to resource denied. +// - ValidationException +// The provided input is not valid. Try your request again. // -// * ResourceNotFoundException -// The resource cannot be found. +// - AccessDeniedException +// Access to resource denied. // -// * RedirectException -// This is not the correct Region for the resource. Try again. +// - ResourceNotFoundException +// The resource cannot be found. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - RedirectException +// This is not the correct Region for the resource. Try again. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. +// +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseVersion func (c *LicenseManager) CreateLicenseVersion(input *CreateLicenseVersionInput) (*CreateLicenseVersionOutput, error) { @@ -1143,14 +1143,13 @@ const opCreateToken = "CreateToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTokenRequest method. +// req, resp := client.CreateTokenRequest(params) // -// // Example sending a request using the CreateTokenRequest method. -// req, resp := client.CreateTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateToken func (c *LicenseManager) CreateTokenRequest(input *CreateTokenInput) (req *request.Request, output *CreateTokenOutput) { @@ -1185,30 +1184,31 @@ func (c *LicenseManager) CreateTokenRequest(input *CreateTokenInput) (req *reque // API operation CreateToken for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * ResourceNotFoundException -// The resource cannot be found. +// - ResourceNotFoundException +// The resource cannot be found. // -// * RedirectException -// This is not the correct Region for the resource. Try again. +// - RedirectException +// This is not the correct Region for the resource. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateToken func (c *LicenseManager) CreateToken(input *CreateTokenInput) (*CreateTokenOutput, error) { @@ -1248,14 +1248,13 @@ const opDeleteGrant = "DeleteGrant" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGrantRequest method. +// req, resp := client.DeleteGrantRequest(params) // -// // Example sending a request using the DeleteGrantRequest method. -// req, resp := client.DeleteGrantRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteGrant func (c *LicenseManager) DeleteGrantRequest(input *DeleteGrantInput) (req *request.Request, output *DeleteGrantOutput) { @@ -1286,27 +1285,28 @@ func (c *LicenseManager) DeleteGrantRequest(input *DeleteGrantInput) (req *reque // API operation DeleteGrant for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteGrant func (c *LicenseManager) DeleteGrant(input *DeleteGrantInput) (*DeleteGrantOutput, error) { @@ -1346,14 +1346,13 @@ const opDeleteLicense = "DeleteLicense" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLicenseRequest method. +// req, resp := client.DeleteLicenseRequest(params) // -// // Example sending a request using the DeleteLicenseRequest method. -// req, resp := client.DeleteLicenseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicense func (c *LicenseManager) DeleteLicenseRequest(input *DeleteLicenseInput) (req *request.Request, output *DeleteLicenseOutput) { @@ -1384,30 +1383,31 @@ func (c *LicenseManager) DeleteLicenseRequest(input *DeleteLicenseInput) (req *r // API operation DeleteLicense for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. // -// * RedirectException -// This is not the correct Region for the resource. Try again. +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - RedirectException +// This is not the correct Region for the resource. Try again. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AccessDeniedException -// Access to resource denied. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AccessDeniedException +// Access to resource denied. +// +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicense func (c *LicenseManager) DeleteLicense(input *DeleteLicenseInput) (*DeleteLicenseOutput, error) { @@ -1447,14 +1447,13 @@ const opDeleteLicenseConfiguration = "DeleteLicenseConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLicenseConfigurationRequest method. +// req, resp := client.DeleteLicenseConfigurationRequest(params) // -// // Example sending a request using the DeleteLicenseConfigurationRequest method. -// req, resp := client.DeleteLicenseConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseConfiguration func (c *LicenseManager) DeleteLicenseConfigurationRequest(input *DeleteLicenseConfigurationInput) (req *request.Request, output *DeleteLicenseConfigurationOutput) { @@ -1488,21 +1487,22 @@ func (c *LicenseManager) DeleteLicenseConfigurationRequest(input *DeleteLicenseC // API operation DeleteLicenseConfiguration for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// One or more parameter values are not valid. +// +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseConfiguration func (c *LicenseManager) DeleteLicenseConfiguration(input *DeleteLicenseConfigurationInput) (*DeleteLicenseConfigurationOutput, error) { @@ -1542,14 +1542,13 @@ const opDeleteLicenseManagerReportGenerator = "DeleteLicenseManagerReportGenerat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLicenseManagerReportGeneratorRequest method. +// req, resp := client.DeleteLicenseManagerReportGeneratorRequest(params) // -// // Example sending a request using the DeleteLicenseManagerReportGeneratorRequest method. -// req, resp := client.DeleteLicenseManagerReportGeneratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseManagerReportGenerator func (c *LicenseManager) DeleteLicenseManagerReportGeneratorRequest(input *DeleteLicenseManagerReportGeneratorInput) (req *request.Request, output *DeleteLicenseManagerReportGeneratorOutput) { @@ -1585,30 +1584,31 @@ func (c *LicenseManager) DeleteLicenseManagerReportGeneratorRequest(input *Delet // API operation DeleteLicenseManagerReportGenerator for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * ResourceNotFoundException -// The resource cannot be found. +// - ResourceNotFoundException +// The resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseManagerReportGenerator func (c *LicenseManager) DeleteLicenseManagerReportGenerator(input *DeleteLicenseManagerReportGeneratorInput) (*DeleteLicenseManagerReportGeneratorOutput, error) { @@ -1648,14 +1648,13 @@ const opDeleteToken = "DeleteToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTokenRequest method. +// req, resp := client.DeleteTokenRequest(params) // -// // Example sending a request using the DeleteTokenRequest method. -// req, resp := client.DeleteTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteToken func (c *LicenseManager) DeleteTokenRequest(input *DeleteTokenInput) (req *request.Request, output *DeleteTokenOutput) { @@ -1687,27 +1686,28 @@ func (c *LicenseManager) DeleteTokenRequest(input *DeleteTokenInput) (req *reque // API operation DeleteToken for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ValidationException +// The provided input is not valid. Try your request again. // -// * AccessDeniedException -// Access to resource denied. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AccessDeniedException +// Access to resource denied. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ResourceNotFoundException -// The resource cannot be found. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * RedirectException -// This is not the correct Region for the resource. Try again. +// - ResourceNotFoundException +// The resource cannot be found. +// +// - RedirectException +// This is not the correct Region for the resource. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteToken func (c *LicenseManager) DeleteToken(input *DeleteTokenInput) (*DeleteTokenOutput, error) { @@ -1747,14 +1747,13 @@ const opExtendLicenseConsumption = "ExtendLicenseConsumption" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExtendLicenseConsumptionRequest method. +// req, resp := client.ExtendLicenseConsumptionRequest(params) // -// // Example sending a request using the ExtendLicenseConsumptionRequest method. -// req, resp := client.ExtendLicenseConsumptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ExtendLicenseConsumption func (c *LicenseManager) ExtendLicenseConsumptionRequest(input *ExtendLicenseConsumptionInput) (req *request.Request, output *ExtendLicenseConsumptionOutput) { @@ -1785,27 +1784,28 @@ func (c *LicenseManager) ExtendLicenseConsumptionRequest(input *ExtendLicenseCon // API operation ExtendLicenseConsumption for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * ResourceNotFoundException -// The resource cannot be found. +// - ResourceNotFoundException +// The resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ExtendLicenseConsumption func (c *LicenseManager) ExtendLicenseConsumption(input *ExtendLicenseConsumptionInput) (*ExtendLicenseConsumptionOutput, error) { @@ -1845,14 +1845,13 @@ const opGetAccessToken = "GetAccessToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccessTokenRequest method. +// req, resp := client.GetAccessTokenRequest(params) // -// // Example sending a request using the GetAccessTokenRequest method. -// req, resp := client.GetAccessTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetAccessToken func (c *LicenseManager) GetAccessTokenRequest(input *GetAccessTokenInput) (req *request.Request, output *GetAccessTokenOutput) { @@ -1884,21 +1883,22 @@ func (c *LicenseManager) GetAccessTokenRequest(input *GetAccessTokenInput) (req // API operation GetAccessToken for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetAccessToken func (c *LicenseManager) GetAccessToken(input *GetAccessTokenInput) (*GetAccessTokenOutput, error) { @@ -1938,14 +1938,13 @@ const opGetGrant = "GetGrant" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGrantRequest method. +// req, resp := client.GetGrantRequest(params) // -// // Example sending a request using the GetGrantRequest method. -// req, resp := client.GetGrantRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetGrant func (c *LicenseManager) GetGrantRequest(input *GetGrantInput) (req *request.Request, output *GetGrantOutput) { @@ -1976,27 +1975,28 @@ func (c *LicenseManager) GetGrantRequest(input *GetGrantInput) (req *request.Req // API operation GetGrant for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AccessDeniedException -// Access to resource denied. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AccessDeniedException +// Access to resource denied. +// +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetGrant func (c *LicenseManager) GetGrant(input *GetGrantInput) (*GetGrantOutput, error) { @@ -2036,14 +2036,13 @@ const opGetLicense = "GetLicense" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLicenseRequest method. +// req, resp := client.GetLicenseRequest(params) // -// // Example sending a request using the GetLicenseRequest method. -// req, resp := client.GetLicenseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicense func (c *LicenseManager) GetLicenseRequest(input *GetLicenseInput) (req *request.Request, output *GetLicenseOutput) { @@ -2074,24 +2073,25 @@ func (c *LicenseManager) GetLicenseRequest(input *GetLicenseInput) (req *request // API operation GetLicense for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicense func (c *LicenseManager) GetLicense(input *GetLicenseInput) (*GetLicenseOutput, error) { @@ -2131,14 +2131,13 @@ const opGetLicenseConfiguration = "GetLicenseConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLicenseConfigurationRequest method. +// req, resp := client.GetLicenseConfigurationRequest(params) // -// // Example sending a request using the GetLicenseConfigurationRequest method. -// req, resp := client.GetLicenseConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConfiguration func (c *LicenseManager) GetLicenseConfigurationRequest(input *GetLicenseConfigurationInput) (req *request.Request, output *GetLicenseConfigurationOutput) { @@ -2169,21 +2168,22 @@ func (c *LicenseManager) GetLicenseConfigurationRequest(input *GetLicenseConfigu // API operation GetLicenseConfiguration for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// One or more parameter values are not valid. +// +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConfiguration func (c *LicenseManager) GetLicenseConfiguration(input *GetLicenseConfigurationInput) (*GetLicenseConfigurationOutput, error) { @@ -2223,14 +2223,13 @@ const opGetLicenseConversionTask = "GetLicenseConversionTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLicenseConversionTaskRequest method. +// req, resp := client.GetLicenseConversionTaskRequest(params) // -// // Example sending a request using the GetLicenseConversionTaskRequest method. -// req, resp := client.GetLicenseConversionTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConversionTask func (c *LicenseManager) GetLicenseConversionTaskRequest(input *GetLicenseConversionTaskInput) (req *request.Request, output *GetLicenseConversionTaskOutput) { @@ -2261,21 +2260,22 @@ func (c *LicenseManager) GetLicenseConversionTaskRequest(input *GetLicenseConver // API operation GetLicenseConversionTask for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AccessDeniedException -// Access to resource denied. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AccessDeniedException +// Access to resource denied. +// +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConversionTask func (c *LicenseManager) GetLicenseConversionTask(input *GetLicenseConversionTaskInput) (*GetLicenseConversionTaskOutput, error) { @@ -2315,14 +2315,13 @@ const opGetLicenseManagerReportGenerator = "GetLicenseManagerReportGenerator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLicenseManagerReportGeneratorRequest method. +// req, resp := client.GetLicenseManagerReportGeneratorRequest(params) // -// // Example sending a request using the GetLicenseManagerReportGeneratorRequest method. -// req, resp := client.GetLicenseManagerReportGeneratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseManagerReportGenerator func (c *LicenseManager) GetLicenseManagerReportGeneratorRequest(input *GetLicenseManagerReportGeneratorInput) (req *request.Request, output *GetLicenseManagerReportGeneratorOutput) { @@ -2353,30 +2352,31 @@ func (c *LicenseManager) GetLicenseManagerReportGeneratorRequest(input *GetLicen // API operation GetLicenseManagerReportGenerator for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * ResourceNotFoundException -// The resource cannot be found. +// - ResourceNotFoundException +// The resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseManagerReportGenerator func (c *LicenseManager) GetLicenseManagerReportGenerator(input *GetLicenseManagerReportGeneratorInput) (*GetLicenseManagerReportGeneratorOutput, error) { @@ -2416,14 +2416,13 @@ const opGetLicenseUsage = "GetLicenseUsage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLicenseUsageRequest method. +// req, resp := client.GetLicenseUsageRequest(params) // -// // Example sending a request using the GetLicenseUsageRequest method. -// req, resp := client.GetLicenseUsageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseUsage func (c *LicenseManager) GetLicenseUsageRequest(input *GetLicenseUsageInput) (req *request.Request, output *GetLicenseUsageOutput) { @@ -2454,24 +2453,25 @@ func (c *LicenseManager) GetLicenseUsageRequest(input *GetLicenseUsageInput) (re // API operation GetLicenseUsage for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseUsage func (c *LicenseManager) GetLicenseUsage(input *GetLicenseUsageInput) (*GetLicenseUsageOutput, error) { @@ -2511,14 +2511,13 @@ const opGetServiceSettings = "GetServiceSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceSettingsRequest method. +// req, resp := client.GetServiceSettingsRequest(params) // -// // Example sending a request using the GetServiceSettingsRequest method. -// req, resp := client.GetServiceSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetServiceSettings func (c *LicenseManager) GetServiceSettingsRequest(input *GetServiceSettingsInput) (req *request.Request, output *GetServiceSettingsOutput) { @@ -2549,18 +2548,19 @@ func (c *LicenseManager) GetServiceSettingsRequest(input *GetServiceSettingsInpu // API operation GetServiceSettings for usage and error information. // // Returned Error Types: -// * ServerInternalException -// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AccessDeniedException -// Access to resource denied. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AccessDeniedException +// Access to resource denied. +// +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetServiceSettings func (c *LicenseManager) GetServiceSettings(input *GetServiceSettingsInput) (*GetServiceSettingsOutput, error) { @@ -2600,14 +2600,13 @@ const opListAssociationsForLicenseConfiguration = "ListAssociationsForLicenseCon // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssociationsForLicenseConfigurationRequest method. +// req, resp := client.ListAssociationsForLicenseConfigurationRequest(params) // -// // Example sending a request using the ListAssociationsForLicenseConfigurationRequest method. -// req, resp := client.ListAssociationsForLicenseConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListAssociationsForLicenseConfiguration func (c *LicenseManager) ListAssociationsForLicenseConfigurationRequest(input *ListAssociationsForLicenseConfigurationInput) (req *request.Request, output *ListAssociationsForLicenseConfigurationOutput) { @@ -2642,24 +2641,25 @@ func (c *LicenseManager) ListAssociationsForLicenseConfigurationRequest(input *L // API operation ListAssociationsForLicenseConfiguration for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * FilterLimitExceededException -// The request uses too many filters or too many filter values. +// - InvalidParameterValueException +// One or more parameter values are not valid. +// +// - FilterLimitExceededException +// The request uses too many filters or too many filter values. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListAssociationsForLicenseConfiguration func (c *LicenseManager) ListAssociationsForLicenseConfiguration(input *ListAssociationsForLicenseConfigurationInput) (*ListAssociationsForLicenseConfigurationOutput, error) { @@ -2699,14 +2699,13 @@ const opListDistributedGrants = "ListDistributedGrants" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDistributedGrantsRequest method. +// req, resp := client.ListDistributedGrantsRequest(params) // -// // Example sending a request using the ListDistributedGrantsRequest method. -// req, resp := client.ListDistributedGrantsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListDistributedGrants func (c *LicenseManager) ListDistributedGrantsRequest(input *ListDistributedGrantsInput) (req *request.Request, output *ListDistributedGrantsOutput) { @@ -2737,27 +2736,28 @@ func (c *LicenseManager) ListDistributedGrantsRequest(input *ListDistributedGran // API operation ListDistributedGrants for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListDistributedGrants func (c *LicenseManager) ListDistributedGrants(input *ListDistributedGrantsInput) (*ListDistributedGrantsOutput, error) { @@ -2797,14 +2797,13 @@ const opListFailuresForLicenseConfigurationOperations = "ListFailuresForLicenseC // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFailuresForLicenseConfigurationOperationsRequest method. +// req, resp := client.ListFailuresForLicenseConfigurationOperationsRequest(params) // -// // Example sending a request using the ListFailuresForLicenseConfigurationOperationsRequest method. -// req, resp := client.ListFailuresForLicenseConfigurationOperationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListFailuresForLicenseConfigurationOperations func (c *LicenseManager) ListFailuresForLicenseConfigurationOperationsRequest(input *ListFailuresForLicenseConfigurationOperationsInput) (req *request.Request, output *ListFailuresForLicenseConfigurationOperationsOutput) { @@ -2835,21 +2834,22 @@ func (c *LicenseManager) ListFailuresForLicenseConfigurationOperationsRequest(in // API operation ListFailuresForLicenseConfigurationOperations for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AccessDeniedException -// Access to resource denied. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AccessDeniedException +// Access to resource denied. +// +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListFailuresForLicenseConfigurationOperations func (c *LicenseManager) ListFailuresForLicenseConfigurationOperations(input *ListFailuresForLicenseConfigurationOperationsInput) (*ListFailuresForLicenseConfigurationOperationsOutput, error) { @@ -2889,14 +2889,13 @@ const opListLicenseConfigurations = "ListLicenseConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLicenseConfigurationsRequest method. +// req, resp := client.ListLicenseConfigurationsRequest(params) // -// // Example sending a request using the ListLicenseConfigurationsRequest method. -// req, resp := client.ListLicenseConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConfigurations func (c *LicenseManager) ListLicenseConfigurationsRequest(input *ListLicenseConfigurationsInput) (req *request.Request, output *ListLicenseConfigurationsOutput) { @@ -2927,24 +2926,25 @@ func (c *LicenseManager) ListLicenseConfigurationsRequest(input *ListLicenseConf // API operation ListLicenseConfigurations for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// One or more parameter values are not valid. +// +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * FilterLimitExceededException -// The request uses too many filters or too many filter values. +// - FilterLimitExceededException +// The request uses too many filters or too many filter values. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConfigurations func (c *LicenseManager) ListLicenseConfigurations(input *ListLicenseConfigurationsInput) (*ListLicenseConfigurationsOutput, error) { @@ -2984,14 +2984,13 @@ const opListLicenseConversionTasks = "ListLicenseConversionTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLicenseConversionTasksRequest method. +// req, resp := client.ListLicenseConversionTasksRequest(params) // -// // Example sending a request using the ListLicenseConversionTasksRequest method. -// req, resp := client.ListLicenseConversionTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConversionTasks func (c *LicenseManager) ListLicenseConversionTasksRequest(input *ListLicenseConversionTasksInput) (req *request.Request, output *ListLicenseConversionTasksOutput) { @@ -3022,21 +3021,22 @@ func (c *LicenseManager) ListLicenseConversionTasksRequest(input *ListLicenseCon // API operation ListLicenseConversionTasks for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// One or more parameter values are not valid. +// +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConversionTasks func (c *LicenseManager) ListLicenseConversionTasks(input *ListLicenseConversionTasksInput) (*ListLicenseConversionTasksOutput, error) { @@ -3076,14 +3076,13 @@ const opListLicenseManagerReportGenerators = "ListLicenseManagerReportGenerators // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLicenseManagerReportGeneratorsRequest method. +// req, resp := client.ListLicenseManagerReportGeneratorsRequest(params) // -// // Example sending a request using the ListLicenseManagerReportGeneratorsRequest method. -// req, resp := client.ListLicenseManagerReportGeneratorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseManagerReportGenerators func (c *LicenseManager) ListLicenseManagerReportGeneratorsRequest(input *ListLicenseManagerReportGeneratorsInput) (req *request.Request, output *ListLicenseManagerReportGeneratorsOutput) { @@ -3114,30 +3113,31 @@ func (c *LicenseManager) ListLicenseManagerReportGeneratorsRequest(input *ListLi // API operation ListLicenseManagerReportGenerators for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ResourceNotFoundException -// The resource cannot be found. +// - AccessDeniedException +// Access to resource denied. +// +// - ResourceNotFoundException +// The resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseManagerReportGenerators func (c *LicenseManager) ListLicenseManagerReportGenerators(input *ListLicenseManagerReportGeneratorsInput) (*ListLicenseManagerReportGeneratorsOutput, error) { @@ -3177,14 +3177,13 @@ const opListLicenseSpecificationsForResource = "ListLicenseSpecificationsForReso // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLicenseSpecificationsForResourceRequest method. +// req, resp := client.ListLicenseSpecificationsForResourceRequest(params) // -// // Example sending a request using the ListLicenseSpecificationsForResourceRequest method. -// req, resp := client.ListLicenseSpecificationsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseSpecificationsForResource func (c *LicenseManager) ListLicenseSpecificationsForResourceRequest(input *ListLicenseSpecificationsForResourceInput) (req *request.Request, output *ListLicenseSpecificationsForResourceOutput) { @@ -3215,21 +3214,22 @@ func (c *LicenseManager) ListLicenseSpecificationsForResourceRequest(input *List // API operation ListLicenseSpecificationsForResource for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// One or more parameter values are not valid. +// +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseSpecificationsForResource func (c *LicenseManager) ListLicenseSpecificationsForResource(input *ListLicenseSpecificationsForResourceInput) (*ListLicenseSpecificationsForResourceOutput, error) { @@ -3269,14 +3269,13 @@ const opListLicenseVersions = "ListLicenseVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLicenseVersionsRequest method. +// req, resp := client.ListLicenseVersionsRequest(params) // -// // Example sending a request using the ListLicenseVersionsRequest method. -// req, resp := client.ListLicenseVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseVersions func (c *LicenseManager) ListLicenseVersionsRequest(input *ListLicenseVersionsInput) (req *request.Request, output *ListLicenseVersionsOutput) { @@ -3307,21 +3306,22 @@ func (c *LicenseManager) ListLicenseVersionsRequest(input *ListLicenseVersionsIn // API operation ListLicenseVersions for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - InvalidParameterValueException +// One or more parameter values are not valid. +// +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseVersions func (c *LicenseManager) ListLicenseVersions(input *ListLicenseVersionsInput) (*ListLicenseVersionsOutput, error) { @@ -3361,14 +3361,13 @@ const opListLicenses = "ListLicenses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLicensesRequest method. +// req, resp := client.ListLicensesRequest(params) // -// // Example sending a request using the ListLicensesRequest method. -// req, resp := client.ListLicensesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenses func (c *LicenseManager) ListLicensesRequest(input *ListLicensesInput) (req *request.Request, output *ListLicensesOutput) { @@ -3399,24 +3398,25 @@ func (c *LicenseManager) ListLicensesRequest(input *ListLicensesInput) (req *req // API operation ListLicenses for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * AccessDeniedException -// Access to resource denied. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AccessDeniedException +// Access to resource denied. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. +// +// - ServerInternalException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenses func (c *LicenseManager) ListLicenses(input *ListLicensesInput) (*ListLicensesOutput, error) { @@ -3456,14 +3456,13 @@ const opListReceivedGrants = "ListReceivedGrants" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReceivedGrantsRequest method. +// req, resp := client.ListReceivedGrantsRequest(params) // -// // Example sending a request using the ListReceivedGrantsRequest method. -// req, resp := client.ListReceivedGrantsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedGrants func (c *LicenseManager) ListReceivedGrantsRequest(input *ListReceivedGrantsInput) (req *request.Request, output *ListReceivedGrantsOutput) { @@ -3494,27 +3493,28 @@ func (c *LicenseManager) ListReceivedGrantsRequest(input *ListReceivedGrantsInpu // API operation ListReceivedGrants for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedGrants func (c *LicenseManager) ListReceivedGrants(input *ListReceivedGrantsInput) (*ListReceivedGrantsOutput, error) { @@ -3554,14 +3554,13 @@ const opListReceivedLicenses = "ListReceivedLicenses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReceivedLicensesRequest method. +// req, resp := client.ListReceivedLicensesRequest(params) // -// // Example sending a request using the ListReceivedLicensesRequest method. -// req, resp := client.ListReceivedLicensesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedLicenses func (c *LicenseManager) ListReceivedLicensesRequest(input *ListReceivedLicensesInput) (req *request.Request, output *ListReceivedLicensesOutput) { @@ -3592,27 +3591,28 @@ func (c *LicenseManager) ListReceivedLicensesRequest(input *ListReceivedLicenses // API operation ListReceivedLicenses for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedLicenses func (c *LicenseManager) ListReceivedLicenses(input *ListReceivedLicensesInput) (*ListReceivedLicensesOutput, error) { @@ -3652,14 +3652,13 @@ const opListResourceInventory = "ListResourceInventory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourceInventoryRequest method. +// req, resp := client.ListResourceInventoryRequest(params) // -// // Example sending a request using the ListResourceInventoryRequest method. -// req, resp := client.ListResourceInventoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListResourceInventory func (c *LicenseManager) ListResourceInventoryRequest(input *ListResourceInventoryInput) (req *request.Request, output *ListResourceInventoryOutput) { @@ -3690,27 +3689,28 @@ func (c *LicenseManager) ListResourceInventoryRequest(input *ListResourceInvento // API operation ListResourceInventory for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * FilterLimitExceededException -// The request uses too many filters or too many filter values. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * FailedDependencyException -// A dependency required to run the API is missing. +// - FilterLimitExceededException +// The request uses too many filters or too many filter values. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - FailedDependencyException +// A dependency required to run the API is missing. // -// * AccessDeniedException -// Access to resource denied. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AccessDeniedException +// Access to resource denied. +// +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListResourceInventory func (c *LicenseManager) ListResourceInventory(input *ListResourceInventoryInput) (*ListResourceInventoryOutput, error) { @@ -3750,14 +3750,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListTagsForResource func (c *LicenseManager) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -3788,21 +3787,22 @@ func (c *LicenseManager) ListTagsForResourceRequest(input *ListTagsForResourceIn // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// One or more parameter values are not valid. +// +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListTagsForResource func (c *LicenseManager) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3842,14 +3842,13 @@ const opListTokens = "ListTokens" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTokensRequest method. +// req, resp := client.ListTokensRequest(params) // -// // Example sending a request using the ListTokensRequest method. -// req, resp := client.ListTokensRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListTokens func (c *LicenseManager) ListTokensRequest(input *ListTokensInput) (req *request.Request, output *ListTokensOutput) { @@ -3880,21 +3879,22 @@ func (c *LicenseManager) ListTokensRequest(input *ListTokensInput) (req *request // API operation ListTokens for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListTokens func (c *LicenseManager) ListTokens(input *ListTokensInput) (*ListTokensOutput, error) { @@ -3934,14 +3934,13 @@ const opListUsageForLicenseConfiguration = "ListUsageForLicenseConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUsageForLicenseConfigurationRequest method. +// req, resp := client.ListUsageForLicenseConfigurationRequest(params) // -// // Example sending a request using the ListUsageForLicenseConfigurationRequest method. -// req, resp := client.ListUsageForLicenseConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListUsageForLicenseConfiguration func (c *LicenseManager) ListUsageForLicenseConfigurationRequest(input *ListUsageForLicenseConfigurationInput) (req *request.Request, output *ListUsageForLicenseConfigurationOutput) { @@ -3974,24 +3973,25 @@ func (c *LicenseManager) ListUsageForLicenseConfigurationRequest(input *ListUsag // API operation ListUsageForLicenseConfiguration for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * FilterLimitExceededException -// The request uses too many filters or too many filter values. +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - FilterLimitExceededException +// The request uses too many filters or too many filter values. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AccessDeniedException -// Access to resource denied. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AccessDeniedException +// Access to resource denied. +// +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListUsageForLicenseConfiguration func (c *LicenseManager) ListUsageForLicenseConfiguration(input *ListUsageForLicenseConfigurationInput) (*ListUsageForLicenseConfigurationOutput, error) { @@ -4031,14 +4031,13 @@ const opRejectGrant = "RejectGrant" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectGrantRequest method. +// req, resp := client.RejectGrantRequest(params) // -// // Example sending a request using the RejectGrantRequest method. -// req, resp := client.RejectGrantRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/RejectGrant func (c *LicenseManager) RejectGrantRequest(input *RejectGrantInput) (req *request.Request, output *RejectGrantOutput) { @@ -4069,27 +4068,28 @@ func (c *LicenseManager) RejectGrantRequest(input *RejectGrantInput) (req *reque // API operation RejectGrant for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/RejectGrant func (c *LicenseManager) RejectGrant(input *RejectGrantInput) (*RejectGrantOutput, error) { @@ -4129,14 +4129,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/TagResource func (c *LicenseManager) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -4168,21 +4167,22 @@ func (c *LicenseManager) TagResourceRequest(input *TagResourceInput) (req *reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// One or more parameter values are not valid. +// +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/TagResource func (c *LicenseManager) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4222,14 +4222,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UntagResource func (c *LicenseManager) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4261,21 +4260,22 @@ func (c *LicenseManager) UntagResourceRequest(input *UntagResourceInput) (req *r // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AccessDeniedException -// Access to resource denied. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AccessDeniedException +// Access to resource denied. +// +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UntagResource func (c *LicenseManager) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -4315,14 +4315,13 @@ const opUpdateLicenseConfiguration = "UpdateLicenseConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLicenseConfigurationRequest method. +// req, resp := client.UpdateLicenseConfigurationRequest(params) // -// // Example sending a request using the UpdateLicenseConfigurationRequest method. -// req, resp := client.UpdateLicenseConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseConfiguration func (c *LicenseManager) UpdateLicenseConfigurationRequest(input *UpdateLicenseConfigurationInput) (req *request.Request, output *UpdateLicenseConfigurationOutput) { @@ -4354,24 +4353,25 @@ func (c *LicenseManager) UpdateLicenseConfigurationRequest(input *UpdateLicenseC // API operation UpdateLicenseConfiguration for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// One or more parameter values are not valid. +// +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseConfiguration func (c *LicenseManager) UpdateLicenseConfiguration(input *UpdateLicenseConfigurationInput) (*UpdateLicenseConfigurationOutput, error) { @@ -4411,14 +4411,13 @@ const opUpdateLicenseManagerReportGenerator = "UpdateLicenseManagerReportGenerat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLicenseManagerReportGeneratorRequest method. +// req, resp := client.UpdateLicenseManagerReportGeneratorRequest(params) // -// // Example sending a request using the UpdateLicenseManagerReportGeneratorRequest method. -// req, resp := client.UpdateLicenseManagerReportGeneratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseManagerReportGenerator func (c *LicenseManager) UpdateLicenseManagerReportGeneratorRequest(input *UpdateLicenseManagerReportGeneratorInput) (req *request.Request, output *UpdateLicenseManagerReportGeneratorOutput) { @@ -4453,30 +4452,31 @@ func (c *LicenseManager) UpdateLicenseManagerReportGeneratorRequest(input *Updat // API operation UpdateLicenseManagerReportGenerator for usage and error information. // // Returned Error Types: -// * ValidationException -// The provided input is not valid. Try your request again. // -// * InvalidParameterValueException -// One or more parameter values are not valid. +// - ValidationException +// The provided input is not valid. Try your request again. +// +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * ResourceNotFoundException -// The resource cannot be found. +// - ResourceNotFoundException +// The resource cannot be found. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseManagerReportGenerator func (c *LicenseManager) UpdateLicenseManagerReportGenerator(input *UpdateLicenseManagerReportGeneratorInput) (*UpdateLicenseManagerReportGeneratorOutput, error) { @@ -4516,14 +4516,13 @@ const opUpdateLicenseSpecificationsForResource = "UpdateLicenseSpecificationsFor // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLicenseSpecificationsForResourceRequest method. +// req, resp := client.UpdateLicenseSpecificationsForResourceRequest(params) // -// // Example sending a request using the UpdateLicenseSpecificationsForResourceRequest method. -// req, resp := client.UpdateLicenseSpecificationsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseSpecificationsForResource func (c *LicenseManager) UpdateLicenseSpecificationsForResourceRequest(input *UpdateLicenseSpecificationsForResourceInput) (req *request.Request, output *UpdateLicenseSpecificationsForResourceOutput) { @@ -4561,30 +4560,31 @@ func (c *LicenseManager) UpdateLicenseSpecificationsForResourceRequest(input *Up // API operation UpdateLicenseSpecificationsForResource for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * InvalidResourceStateException -// License Manager cannot allocate a license to a resource because of its state. +// - InvalidParameterValueException +// One or more parameter values are not valid. // -// For example, you cannot allocate a license to an instance in the process -// of shutting down. +// - InvalidResourceStateException +// License Manager cannot allocate a license to a resource because of its state. // -// * LicenseUsageException -// You do not have enough licenses available to support a new resource launch. +// For example, you cannot allocate a license to an instance in the process +// of shutting down. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - LicenseUsageException +// You do not have enough licenses available to support a new resource launch. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AccessDeniedException -// Access to resource denied. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - AccessDeniedException +// Access to resource denied. +// +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseSpecificationsForResource func (c *LicenseManager) UpdateLicenseSpecificationsForResource(input *UpdateLicenseSpecificationsForResourceInput) (*UpdateLicenseSpecificationsForResourceOutput, error) { @@ -4624,14 +4624,13 @@ const opUpdateServiceSettings = "UpdateServiceSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServiceSettingsRequest method. +// req, resp := client.UpdateServiceSettingsRequest(params) // -// // Example sending a request using the UpdateServiceSettingsRequest method. -// req, resp := client.UpdateServiceSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateServiceSettings func (c *LicenseManager) UpdateServiceSettingsRequest(input *UpdateServiceSettingsInput) (req *request.Request, output *UpdateServiceSettingsOutput) { @@ -4663,21 +4662,22 @@ func (c *LicenseManager) UpdateServiceSettingsRequest(input *UpdateServiceSettin // API operation UpdateServiceSettings for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameter values are not valid. // -// * ServerInternalException -// The server experienced an internal error. Try again. +// - InvalidParameterValueException +// One or more parameter values are not valid. +// +// - ServerInternalException +// The server experienced an internal error. Try again. // -// * AuthorizationException -// The Amazon Web Services user account does not have permission to perform -// the action. Check the IAM policy associated with this account. +// - AuthorizationException +// The Amazon Web Services user account does not have permission to perform +// the action. Check the IAM policy associated with this account. // -// * AccessDeniedException -// Access to resource denied. +// - AccessDeniedException +// Access to resource denied. // -// * RateLimitExceededException -// Too many requests have been submitted. Try again after a brief wait. +// - RateLimitExceededException +// Too many requests have been submitted. Try again after a brief wait. // // See also, https://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateServiceSettings func (c *LicenseManager) UpdateServiceSettings(input *UpdateServiceSettingsInput) (*UpdateServiceSettingsOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/doc.go index 3ac3230c6bdf..c47d9dccd3d3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/doc.go @@ -11,7 +11,7 @@ // See licensemanager package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/licensemanager/ // -// Using the Client +// # Using the Client // // To contact AWS License Manager with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/licensemanageriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/licensemanageriface/interface.go index 61eeae8f69e4..83a3647277dc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/licensemanageriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/licensemanageriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS License Manager. -// func myFunc(svc licensemanageriface.LicenseManagerAPI) bool { -// // Make svc.AcceptGrant request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS License Manager. +// func myFunc(svc licensemanageriface.LicenseManagerAPI) bool { +// // Make svc.AcceptGrant request +// } // -// func main() { -// sess := session.New() -// svc := licensemanager.New(sess) +// func main() { +// sess := session.New() +// svc := licensemanager.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockLicenseManagerClient struct { -// licensemanageriface.LicenseManagerAPI -// } -// func (m *mockLicenseManagerClient) AcceptGrant(input *licensemanager.AcceptGrantInput) (*licensemanager.AcceptGrantOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockLicenseManagerClient struct { +// licensemanageriface.LicenseManagerAPI +// } +// func (m *mockLicenseManagerClient) AcceptGrant(input *licensemanager.AcceptGrantInput) (*licensemanager.AcceptGrantOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockLicenseManagerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockLicenseManagerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/service.go index 116caf5df7d5..7276eb8fd422 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/licensemanager/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a LicenseManager client from just a session. -// svc := licensemanager.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a LicenseManager client with additional configuration -// svc := licensemanager.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a LicenseManager client from just a session. +// svc := licensemanager.New(mySession) +// +// // Create a LicenseManager client with additional configuration +// svc := licensemanager.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *LicenseManager { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/api.go index 233e197cdad5..8617ae382ebd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/api.go @@ -29,14 +29,13 @@ const opAllocateStaticIp = "AllocateStaticIp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AllocateStaticIpRequest method. +// req, resp := client.AllocateStaticIpRequest(params) // -// // Example sending a request using the AllocateStaticIpRequest method. -// req, resp := client.AllocateStaticIpRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIp func (c *Lightsail) AllocateStaticIpRequest(input *AllocateStaticIpInput) (req *request.Request, output *AllocateStaticIpOutput) { @@ -67,33 +66,34 @@ func (c *Lightsail) AllocateStaticIpRequest(input *AllocateStaticIpInput) (req * // API operation AllocateStaticIp for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIp func (c *Lightsail) AllocateStaticIp(input *AllocateStaticIpInput) (*AllocateStaticIpOutput, error) { @@ -133,14 +133,13 @@ const opAttachCertificateToDistribution = "AttachCertificateToDistribution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachCertificateToDistributionRequest method. +// req, resp := client.AttachCertificateToDistributionRequest(params) // -// // Example sending a request using the AttachCertificateToDistributionRequest method. -// req, resp := client.AttachCertificateToDistributionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachCertificateToDistribution func (c *Lightsail) AttachCertificateToDistributionRequest(input *AttachCertificateToDistributionInput) (req *request.Request, output *AttachCertificateToDistributionOutput) { @@ -184,29 +183,30 @@ func (c *Lightsail) AttachCertificateToDistributionRequest(input *AttachCertific // API operation AttachCertificateToDistribution for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachCertificateToDistribution func (c *Lightsail) AttachCertificateToDistribution(input *AttachCertificateToDistributionInput) (*AttachCertificateToDistributionOutput, error) { @@ -246,14 +246,13 @@ const opAttachDisk = "AttachDisk" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachDiskRequest method. +// req, resp := client.AttachDiskRequest(params) // -// // Example sending a request using the AttachDiskRequest method. -// req, resp := client.AttachDiskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachDisk func (c *Lightsail) AttachDiskRequest(input *AttachDiskInput) (req *request.Request, output *AttachDiskOutput) { @@ -289,33 +288,34 @@ func (c *Lightsail) AttachDiskRequest(input *AttachDiskInput) (req *request.Requ // API operation AttachDisk for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachDisk func (c *Lightsail) AttachDisk(input *AttachDiskInput) (*AttachDiskOutput, error) { @@ -355,14 +355,13 @@ const opAttachInstancesToLoadBalancer = "AttachInstancesToLoadBalancer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachInstancesToLoadBalancerRequest method. +// req, resp := client.AttachInstancesToLoadBalancerRequest(params) // -// // Example sending a request using the AttachInstancesToLoadBalancerRequest method. -// req, resp := client.AttachInstancesToLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachInstancesToLoadBalancer func (c *Lightsail) AttachInstancesToLoadBalancerRequest(input *AttachInstancesToLoadBalancerInput) (req *request.Request, output *AttachInstancesToLoadBalancerOutput) { @@ -400,33 +399,34 @@ func (c *Lightsail) AttachInstancesToLoadBalancerRequest(input *AttachInstancesT // API operation AttachInstancesToLoadBalancer for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachInstancesToLoadBalancer func (c *Lightsail) AttachInstancesToLoadBalancer(input *AttachInstancesToLoadBalancerInput) (*AttachInstancesToLoadBalancerOutput, error) { @@ -466,14 +466,13 @@ const opAttachLoadBalancerTlsCertificate = "AttachLoadBalancerTlsCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachLoadBalancerTlsCertificateRequest method. +// req, resp := client.AttachLoadBalancerTlsCertificateRequest(params) // -// // Example sending a request using the AttachLoadBalancerTlsCertificateRequest method. -// req, resp := client.AttachLoadBalancerTlsCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachLoadBalancerTlsCertificate func (c *Lightsail) AttachLoadBalancerTlsCertificateRequest(input *AttachLoadBalancerTlsCertificateInput) (req *request.Request, output *AttachLoadBalancerTlsCertificateOutput) { @@ -515,33 +514,34 @@ func (c *Lightsail) AttachLoadBalancerTlsCertificateRequest(input *AttachLoadBal // API operation AttachLoadBalancerTlsCertificate for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachLoadBalancerTlsCertificate func (c *Lightsail) AttachLoadBalancerTlsCertificate(input *AttachLoadBalancerTlsCertificateInput) (*AttachLoadBalancerTlsCertificateOutput, error) { @@ -581,14 +581,13 @@ const opAttachStaticIp = "AttachStaticIp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachStaticIpRequest method. +// req, resp := client.AttachStaticIpRequest(params) // -// // Example sending a request using the AttachStaticIpRequest method. -// req, resp := client.AttachStaticIpRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIp func (c *Lightsail) AttachStaticIpRequest(input *AttachStaticIpInput) (req *request.Request, output *AttachStaticIpOutput) { @@ -619,33 +618,34 @@ func (c *Lightsail) AttachStaticIpRequest(input *AttachStaticIpInput) (req *requ // API operation AttachStaticIp for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIp func (c *Lightsail) AttachStaticIp(input *AttachStaticIpInput) (*AttachStaticIpOutput, error) { @@ -685,14 +685,13 @@ const opCloseInstancePublicPorts = "CloseInstancePublicPorts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CloseInstancePublicPortsRequest method. +// req, resp := client.CloseInstancePublicPortsRequest(params) // -// // Example sending a request using the CloseInstancePublicPortsRequest method. -// req, resp := client.CloseInstancePublicPortsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPorts func (c *Lightsail) CloseInstancePublicPortsRequest(input *CloseInstancePublicPortsInput) (req *request.Request, output *CloseInstancePublicPortsOutput) { @@ -727,33 +726,34 @@ func (c *Lightsail) CloseInstancePublicPortsRequest(input *CloseInstancePublicPo // API operation CloseInstancePublicPorts for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPorts func (c *Lightsail) CloseInstancePublicPorts(input *CloseInstancePublicPortsInput) (*CloseInstancePublicPortsOutput, error) { @@ -793,14 +793,13 @@ const opCopySnapshot = "CopySnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopySnapshotRequest method. +// req, resp := client.CopySnapshotRequest(params) // -// // Example sending a request using the CopySnapshotRequest method. -// req, resp := client.CopySnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CopySnapshot func (c *Lightsail) CopySnapshotRequest(input *CopySnapshotInput) (req *request.Request, output *CopySnapshotOutput) { @@ -842,33 +841,34 @@ func (c *Lightsail) CopySnapshotRequest(input *CopySnapshotInput) (req *request. // API operation CopySnapshot for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CopySnapshot func (c *Lightsail) CopySnapshot(input *CopySnapshotInput) (*CopySnapshotOutput, error) { @@ -908,14 +908,13 @@ const opCreateBucket = "CreateBucket" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBucketRequest method. +// req, resp := client.CreateBucketRequest(params) // -// // Example sending a request using the CreateBucketRequest method. -// req, resp := client.CreateBucketRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateBucket func (c *Lightsail) CreateBucketRequest(input *CreateBucketInput) (req *request.Request, output *CreateBucketOutput) { @@ -951,23 +950,24 @@ func (c *Lightsail) CreateBucketRequest(input *CreateBucketInput) (req *request. // API operation CreateBucket for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * ServiceException -// A general service exception. +// - ServiceException +// A general service exception. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateBucket func (c *Lightsail) CreateBucket(input *CreateBucketInput) (*CreateBucketOutput, error) { @@ -1007,14 +1007,13 @@ const opCreateBucketAccessKey = "CreateBucketAccessKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBucketAccessKeyRequest method. +// req, resp := client.CreateBucketAccessKeyRequest(params) // -// // Example sending a request using the CreateBucketAccessKeyRequest method. -// req, resp := client.CreateBucketAccessKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateBucketAccessKey func (c *Lightsail) CreateBucketAccessKeyRequest(input *CreateBucketAccessKeyInput) (req *request.Request, output *CreateBucketAccessKeyOutput) { @@ -1059,26 +1058,27 @@ func (c *Lightsail) CreateBucketAccessKeyRequest(input *CreateBucketAccessKeyInp // API operation CreateBucketAccessKey for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * ServiceException -// A general service exception. +// - ServiceException +// A general service exception. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateBucketAccessKey func (c *Lightsail) CreateBucketAccessKey(input *CreateBucketAccessKeyInput) (*CreateBucketAccessKeyOutput, error) { @@ -1118,14 +1118,13 @@ const opCreateCertificate = "CreateCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCertificateRequest method. +// req, resp := client.CreateCertificateRequest(params) // -// // Example sending a request using the CreateCertificateRequest method. -// req, resp := client.CreateCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateCertificate func (c *Lightsail) CreateCertificateRequest(input *CreateCertificateInput) (req *request.Request, output *CreateCertificateOutput) { @@ -1168,26 +1167,27 @@ func (c *Lightsail) CreateCertificateRequest(input *CreateCertificateInput) (req // API operation CreateCertificate for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateCertificate func (c *Lightsail) CreateCertificate(input *CreateCertificateInput) (*CreateCertificateOutput, error) { @@ -1227,14 +1227,13 @@ const opCreateCloudFormationStack = "CreateCloudFormationStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCloudFormationStackRequest method. +// req, resp := client.CreateCloudFormationStackRequest(params) // -// // Example sending a request using the CreateCloudFormationStackRequest method. -// req, resp := client.CreateCloudFormationStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateCloudFormationStack func (c *Lightsail) CreateCloudFormationStackRequest(input *CreateCloudFormationStackInput) (req *request.Request, output *CreateCloudFormationStackOutput) { @@ -1273,33 +1272,34 @@ func (c *Lightsail) CreateCloudFormationStackRequest(input *CreateCloudFormation // API operation CreateCloudFormationStack for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateCloudFormationStack func (c *Lightsail) CreateCloudFormationStack(input *CreateCloudFormationStackInput) (*CreateCloudFormationStackOutput, error) { @@ -1339,14 +1339,13 @@ const opCreateContactMethod = "CreateContactMethod" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateContactMethodRequest method. +// req, resp := client.CreateContactMethodRequest(params) // -// // Example sending a request using the CreateContactMethodRequest method. -// req, resp := client.CreateContactMethodRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateContactMethod func (c *Lightsail) CreateContactMethodRequest(input *CreateContactMethodInput) (req *request.Request, output *CreateContactMethodOutput) { @@ -1384,29 +1383,30 @@ func (c *Lightsail) CreateContactMethodRequest(input *CreateContactMethodInput) // API operation CreateContactMethod for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateContactMethod func (c *Lightsail) CreateContactMethod(input *CreateContactMethodInput) (*CreateContactMethodOutput, error) { @@ -1446,14 +1446,13 @@ const opCreateContainerService = "CreateContainerService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateContainerServiceRequest method. +// req, resp := client.CreateContainerServiceRequest(params) // -// // Example sending a request using the CreateContainerServiceRequest method. -// req, resp := client.CreateContainerServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateContainerService func (c *Lightsail) CreateContainerServiceRequest(input *CreateContainerServiceInput) (req *request.Request, output *CreateContainerServiceOutput) { @@ -1489,26 +1488,27 @@ func (c *Lightsail) CreateContainerServiceRequest(input *CreateContainerServiceI // API operation CreateContainerService for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateContainerService func (c *Lightsail) CreateContainerService(input *CreateContainerServiceInput) (*CreateContainerServiceOutput, error) { @@ -1548,14 +1548,13 @@ const opCreateContainerServiceDeployment = "CreateContainerServiceDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateContainerServiceDeploymentRequest method. +// req, resp := client.CreateContainerServiceDeploymentRequest(params) // -// // Example sending a request using the CreateContainerServiceDeploymentRequest method. -// req, resp := client.CreateContainerServiceDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateContainerServiceDeployment func (c *Lightsail) CreateContainerServiceDeploymentRequest(input *CreateContainerServiceDeploymentInput) (req *request.Request, output *CreateContainerServiceDeploymentOutput) { @@ -1598,26 +1597,27 @@ func (c *Lightsail) CreateContainerServiceDeploymentRequest(input *CreateContain // API operation CreateContainerServiceDeployment for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateContainerServiceDeployment func (c *Lightsail) CreateContainerServiceDeployment(input *CreateContainerServiceDeploymentInput) (*CreateContainerServiceDeploymentOutput, error) { @@ -1657,14 +1657,13 @@ const opCreateContainerServiceRegistryLogin = "CreateContainerServiceRegistryLog // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateContainerServiceRegistryLoginRequest method. +// req, resp := client.CreateContainerServiceRegistryLoginRequest(params) // -// // Example sending a request using the CreateContainerServiceRegistryLoginRequest method. -// req, resp := client.CreateContainerServiceRegistryLoginRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateContainerServiceRegistryLogin func (c *Lightsail) CreateContainerServiceRegistryLoginRequest(input *CreateContainerServiceRegistryLoginInput) (req *request.Request, output *CreateContainerServiceRegistryLoginOutput) { @@ -1715,26 +1714,27 @@ func (c *Lightsail) CreateContainerServiceRegistryLoginRequest(input *CreateCont // API operation CreateContainerServiceRegistryLogin for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateContainerServiceRegistryLogin func (c *Lightsail) CreateContainerServiceRegistryLogin(input *CreateContainerServiceRegistryLoginInput) (*CreateContainerServiceRegistryLoginOutput, error) { @@ -1774,14 +1774,13 @@ const opCreateDisk = "CreateDisk" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDiskRequest method. +// req, resp := client.CreateDiskRequest(params) // -// // Example sending a request using the CreateDiskRequest method. -// req, resp := client.CreateDiskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDisk func (c *Lightsail) CreateDiskRequest(input *CreateDiskInput) (req *request.Request, output *CreateDiskOutput) { @@ -1816,33 +1815,34 @@ func (c *Lightsail) CreateDiskRequest(input *CreateDiskInput) (req *request.Requ // API operation CreateDisk for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDisk func (c *Lightsail) CreateDisk(input *CreateDiskInput) (*CreateDiskOutput, error) { @@ -1882,14 +1882,13 @@ const opCreateDiskFromSnapshot = "CreateDiskFromSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDiskFromSnapshotRequest method. +// req, resp := client.CreateDiskFromSnapshotRequest(params) // -// // Example sending a request using the CreateDiskFromSnapshotRequest method. -// req, resp := client.CreateDiskFromSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshot func (c *Lightsail) CreateDiskFromSnapshotRequest(input *CreateDiskFromSnapshotInput) (req *request.Request, output *CreateDiskFromSnapshotOutput) { @@ -1927,33 +1926,34 @@ func (c *Lightsail) CreateDiskFromSnapshotRequest(input *CreateDiskFromSnapshotI // API operation CreateDiskFromSnapshot for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshot func (c *Lightsail) CreateDiskFromSnapshot(input *CreateDiskFromSnapshotInput) (*CreateDiskFromSnapshotOutput, error) { @@ -1993,14 +1993,13 @@ const opCreateDiskSnapshot = "CreateDiskSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDiskSnapshotRequest method. +// req, resp := client.CreateDiskSnapshotRequest(params) // -// // Example sending a request using the CreateDiskSnapshotRequest method. -// req, resp := client.CreateDiskSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshot func (c *Lightsail) CreateDiskSnapshotRequest(input *CreateDiskSnapshotInput) (req *request.Request, output *CreateDiskSnapshotOutput) { @@ -2058,33 +2057,34 @@ func (c *Lightsail) CreateDiskSnapshotRequest(input *CreateDiskSnapshotInput) (r // API operation CreateDiskSnapshot for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshot func (c *Lightsail) CreateDiskSnapshot(input *CreateDiskSnapshotInput) (*CreateDiskSnapshotOutput, error) { @@ -2124,14 +2124,13 @@ const opCreateDistribution = "CreateDistribution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDistributionRequest method. +// req, resp := client.CreateDistributionRequest(params) // -// // Example sending a request using the CreateDistributionRequest method. -// req, resp := client.CreateDistributionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDistribution func (c *Lightsail) CreateDistributionRequest(input *CreateDistributionInput) (req *request.Request, output *CreateDistributionOutput) { @@ -2167,29 +2166,30 @@ func (c *Lightsail) CreateDistributionRequest(input *CreateDistributionInput) (r // API operation CreateDistribution for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDistribution func (c *Lightsail) CreateDistribution(input *CreateDistributionInput) (*CreateDistributionOutput, error) { @@ -2229,14 +2229,13 @@ const opCreateDomain = "CreateDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDomainRequest method. +// req, resp := client.CreateDomainRequest(params) // -// // Example sending a request using the CreateDomainRequest method. -// req, resp := client.CreateDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomain func (c *Lightsail) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) { @@ -2270,33 +2269,34 @@ func (c *Lightsail) CreateDomainRequest(input *CreateDomainInput) (req *request. // API operation CreateDomain for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomain func (c *Lightsail) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) { @@ -2336,14 +2336,13 @@ const opCreateDomainEntry = "CreateDomainEntry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDomainEntryRequest method. +// req, resp := client.CreateDomainEntryRequest(params) // -// // Example sending a request using the CreateDomainEntryRequest method. -// req, resp := client.CreateDomainEntryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntry func (c *Lightsail) CreateDomainEntryRequest(input *CreateDomainEntryInput) (req *request.Request, output *CreateDomainEntryOutput) { @@ -2380,33 +2379,34 @@ func (c *Lightsail) CreateDomainEntryRequest(input *CreateDomainEntryInput) (req // API operation CreateDomainEntry for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntry func (c *Lightsail) CreateDomainEntry(input *CreateDomainEntryInput) (*CreateDomainEntryOutput, error) { @@ -2446,14 +2446,13 @@ const opCreateInstanceSnapshot = "CreateInstanceSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInstanceSnapshotRequest method. +// req, resp := client.CreateInstanceSnapshotRequest(params) // -// // Example sending a request using the CreateInstanceSnapshotRequest method. -// req, resp := client.CreateInstanceSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshot func (c *Lightsail) CreateInstanceSnapshotRequest(input *CreateInstanceSnapshotInput) (req *request.Request, output *CreateInstanceSnapshotOutput) { @@ -2489,33 +2488,34 @@ func (c *Lightsail) CreateInstanceSnapshotRequest(input *CreateInstanceSnapshotI // API operation CreateInstanceSnapshot for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshot func (c *Lightsail) CreateInstanceSnapshot(input *CreateInstanceSnapshotInput) (*CreateInstanceSnapshotOutput, error) { @@ -2555,14 +2555,13 @@ const opCreateInstances = "CreateInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInstancesRequest method. +// req, resp := client.CreateInstancesRequest(params) // -// // Example sending a request using the CreateInstancesRequest method. -// req, resp := client.CreateInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstances func (c *Lightsail) CreateInstancesRequest(input *CreateInstancesInput) (req *request.Request, output *CreateInstancesOutput) { @@ -2596,33 +2595,34 @@ func (c *Lightsail) CreateInstancesRequest(input *CreateInstancesInput) (req *re // API operation CreateInstances for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstances func (c *Lightsail) CreateInstances(input *CreateInstancesInput) (*CreateInstancesOutput, error) { @@ -2662,14 +2662,13 @@ const opCreateInstancesFromSnapshot = "CreateInstancesFromSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInstancesFromSnapshotRequest method. +// req, resp := client.CreateInstancesFromSnapshotRequest(params) // -// // Example sending a request using the CreateInstancesFromSnapshotRequest method. -// req, resp := client.CreateInstancesFromSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshot func (c *Lightsail) CreateInstancesFromSnapshotRequest(input *CreateInstancesFromSnapshotInput) (req *request.Request, output *CreateInstancesFromSnapshotOutput) { @@ -2706,33 +2705,34 @@ func (c *Lightsail) CreateInstancesFromSnapshotRequest(input *CreateInstancesFro // API operation CreateInstancesFromSnapshot for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshot func (c *Lightsail) CreateInstancesFromSnapshot(input *CreateInstancesFromSnapshotInput) (*CreateInstancesFromSnapshotOutput, error) { @@ -2772,14 +2772,13 @@ const opCreateKeyPair = "CreateKeyPair" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateKeyPairRequest method. +// req, resp := client.CreateKeyPairRequest(params) // -// // Example sending a request using the CreateKeyPairRequest method. -// req, resp := client.CreateKeyPairRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPair func (c *Lightsail) CreateKeyPairRequest(input *CreateKeyPairInput) (req *request.Request, output *CreateKeyPairOutput) { @@ -2817,33 +2816,34 @@ func (c *Lightsail) CreateKeyPairRequest(input *CreateKeyPairInput) (req *reques // API operation CreateKeyPair for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPair func (c *Lightsail) CreateKeyPair(input *CreateKeyPairInput) (*CreateKeyPairOutput, error) { @@ -2883,14 +2883,13 @@ const opCreateLoadBalancer = "CreateLoadBalancer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLoadBalancerRequest method. +// req, resp := client.CreateLoadBalancerRequest(params) // -// // Example sending a request using the CreateLoadBalancerRequest method. -// req, resp := client.CreateLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancer func (c *Lightsail) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (req *request.Request, output *CreateLoadBalancerOutput) { @@ -2932,33 +2931,34 @@ func (c *Lightsail) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) (r // API operation CreateLoadBalancer for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancer func (c *Lightsail) CreateLoadBalancer(input *CreateLoadBalancerInput) (*CreateLoadBalancerOutput, error) { @@ -2998,14 +2998,13 @@ const opCreateLoadBalancerTlsCertificate = "CreateLoadBalancerTlsCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLoadBalancerTlsCertificateRequest method. +// req, resp := client.CreateLoadBalancerTlsCertificateRequest(params) // -// // Example sending a request using the CreateLoadBalancerTlsCertificateRequest method. -// req, resp := client.CreateLoadBalancerTlsCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificate func (c *Lightsail) CreateLoadBalancerTlsCertificateRequest(input *CreateLoadBalancerTlsCertificateInput) (req *request.Request, output *CreateLoadBalancerTlsCertificateOutput) { @@ -3042,33 +3041,34 @@ func (c *Lightsail) CreateLoadBalancerTlsCertificateRequest(input *CreateLoadBal // API operation CreateLoadBalancerTlsCertificate for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificate func (c *Lightsail) CreateLoadBalancerTlsCertificate(input *CreateLoadBalancerTlsCertificateInput) (*CreateLoadBalancerTlsCertificateOutput, error) { @@ -3108,14 +3108,13 @@ const opCreateRelationalDatabase = "CreateRelationalDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRelationalDatabaseRequest method. +// req, resp := client.CreateRelationalDatabaseRequest(params) // -// // Example sending a request using the CreateRelationalDatabaseRequest method. -// req, resp := client.CreateRelationalDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabase func (c *Lightsail) CreateRelationalDatabaseRequest(input *CreateRelationalDatabaseInput) (req *request.Request, output *CreateRelationalDatabaseOutput) { @@ -3150,33 +3149,34 @@ func (c *Lightsail) CreateRelationalDatabaseRequest(input *CreateRelationalDatab // API operation CreateRelationalDatabase for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabase func (c *Lightsail) CreateRelationalDatabase(input *CreateRelationalDatabaseInput) (*CreateRelationalDatabaseOutput, error) { @@ -3216,14 +3216,13 @@ const opCreateRelationalDatabaseFromSnapshot = "CreateRelationalDatabaseFromSnap // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRelationalDatabaseFromSnapshotRequest method. +// req, resp := client.CreateRelationalDatabaseFromSnapshotRequest(params) // -// // Example sending a request using the CreateRelationalDatabaseFromSnapshotRequest method. -// req, resp := client.CreateRelationalDatabaseFromSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseFromSnapshot func (c *Lightsail) CreateRelationalDatabaseFromSnapshotRequest(input *CreateRelationalDatabaseFromSnapshotInput) (req *request.Request, output *CreateRelationalDatabaseFromSnapshotOutput) { @@ -3263,33 +3262,34 @@ func (c *Lightsail) CreateRelationalDatabaseFromSnapshotRequest(input *CreateRel // API operation CreateRelationalDatabaseFromSnapshot for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseFromSnapshot func (c *Lightsail) CreateRelationalDatabaseFromSnapshot(input *CreateRelationalDatabaseFromSnapshotInput) (*CreateRelationalDatabaseFromSnapshotOutput, error) { @@ -3329,14 +3329,13 @@ const opCreateRelationalDatabaseSnapshot = "CreateRelationalDatabaseSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRelationalDatabaseSnapshotRequest method. +// req, resp := client.CreateRelationalDatabaseSnapshotRequest(params) // -// // Example sending a request using the CreateRelationalDatabaseSnapshotRequest method. -// req, resp := client.CreateRelationalDatabaseSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseSnapshot func (c *Lightsail) CreateRelationalDatabaseSnapshotRequest(input *CreateRelationalDatabaseSnapshotInput) (req *request.Request, output *CreateRelationalDatabaseSnapshotOutput) { @@ -3373,33 +3372,34 @@ func (c *Lightsail) CreateRelationalDatabaseSnapshotRequest(input *CreateRelatio // API operation CreateRelationalDatabaseSnapshot for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseSnapshot func (c *Lightsail) CreateRelationalDatabaseSnapshot(input *CreateRelationalDatabaseSnapshotInput) (*CreateRelationalDatabaseSnapshotOutput, error) { @@ -3439,14 +3439,13 @@ const opDeleteAlarm = "DeleteAlarm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAlarmRequest method. +// req, resp := client.DeleteAlarmRequest(params) // -// // Example sending a request using the DeleteAlarmRequest method. -// req, resp := client.DeleteAlarmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteAlarm func (c *Lightsail) DeleteAlarmRequest(input *DeleteAlarmInput) (req *request.Request, output *DeleteAlarmOutput) { @@ -3482,29 +3481,30 @@ func (c *Lightsail) DeleteAlarmRequest(input *DeleteAlarmInput) (req *request.Re // API operation DeleteAlarm for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteAlarm func (c *Lightsail) DeleteAlarm(input *DeleteAlarmInput) (*DeleteAlarmOutput, error) { @@ -3544,14 +3544,13 @@ const opDeleteAutoSnapshot = "DeleteAutoSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAutoSnapshotRequest method. +// req, resp := client.DeleteAutoSnapshotRequest(params) // -// // Example sending a request using the DeleteAutoSnapshotRequest method. -// req, resp := client.DeleteAutoSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteAutoSnapshot func (c *Lightsail) DeleteAutoSnapshotRequest(input *DeleteAutoSnapshotInput) (req *request.Request, output *DeleteAutoSnapshotOutput) { @@ -3583,29 +3582,30 @@ func (c *Lightsail) DeleteAutoSnapshotRequest(input *DeleteAutoSnapshotInput) (r // API operation DeleteAutoSnapshot for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteAutoSnapshot func (c *Lightsail) DeleteAutoSnapshot(input *DeleteAutoSnapshotInput) (*DeleteAutoSnapshotOutput, error) { @@ -3645,14 +3645,13 @@ const opDeleteBucket = "DeleteBucket" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketRequest method. +// req, resp := client.DeleteBucketRequest(params) // -// // Example sending a request using the DeleteBucketRequest method. -// req, resp := client.DeleteBucketRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteBucket func (c *Lightsail) DeleteBucketRequest(input *DeleteBucketInput) (req *request.Request, output *DeleteBucketOutput) { @@ -3686,26 +3685,27 @@ func (c *Lightsail) DeleteBucketRequest(input *DeleteBucketInput) (req *request. // API operation DeleteBucket for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * ServiceException -// A general service exception. +// - ServiceException +// A general service exception. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteBucket func (c *Lightsail) DeleteBucket(input *DeleteBucketInput) (*DeleteBucketOutput, error) { @@ -3745,14 +3745,13 @@ const opDeleteBucketAccessKey = "DeleteBucketAccessKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketAccessKeyRequest method. +// req, resp := client.DeleteBucketAccessKeyRequest(params) // -// // Example sending a request using the DeleteBucketAccessKeyRequest method. -// req, resp := client.DeleteBucketAccessKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteBucketAccessKey func (c *Lightsail) DeleteBucketAccessKeyRequest(input *DeleteBucketAccessKeyInput) (req *request.Request, output *DeleteBucketAccessKeyOutput) { @@ -3789,26 +3788,27 @@ func (c *Lightsail) DeleteBucketAccessKeyRequest(input *DeleteBucketAccessKeyInp // API operation DeleteBucketAccessKey for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * ServiceException -// A general service exception. +// - ServiceException +// A general service exception. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteBucketAccessKey func (c *Lightsail) DeleteBucketAccessKey(input *DeleteBucketAccessKeyInput) (*DeleteBucketAccessKeyOutput, error) { @@ -3848,14 +3848,13 @@ const opDeleteCertificate = "DeleteCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCertificateRequest method. +// req, resp := client.DeleteCertificateRequest(params) // -// // Example sending a request using the DeleteCertificateRequest method. -// req, resp := client.DeleteCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteCertificate func (c *Lightsail) DeleteCertificateRequest(input *DeleteCertificateInput) (req *request.Request, output *DeleteCertificateOutput) { @@ -3891,26 +3890,27 @@ func (c *Lightsail) DeleteCertificateRequest(input *DeleteCertificateInput) (req // API operation DeleteCertificate for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteCertificate func (c *Lightsail) DeleteCertificate(input *DeleteCertificateInput) (*DeleteCertificateOutput, error) { @@ -3950,14 +3950,13 @@ const opDeleteContactMethod = "DeleteContactMethod" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteContactMethodRequest method. +// req, resp := client.DeleteContactMethodRequest(params) // -// // Example sending a request using the DeleteContactMethodRequest method. -// req, resp := client.DeleteContactMethodRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteContactMethod func (c *Lightsail) DeleteContactMethodRequest(input *DeleteContactMethodInput) (req *request.Request, output *DeleteContactMethodOutput) { @@ -3995,29 +3994,30 @@ func (c *Lightsail) DeleteContactMethodRequest(input *DeleteContactMethodInput) // API operation DeleteContactMethod for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteContactMethod func (c *Lightsail) DeleteContactMethod(input *DeleteContactMethodInput) (*DeleteContactMethodOutput, error) { @@ -4057,14 +4057,13 @@ const opDeleteContainerImage = "DeleteContainerImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteContainerImageRequest method. +// req, resp := client.DeleteContainerImageRequest(params) // -// // Example sending a request using the DeleteContainerImageRequest method. -// req, resp := client.DeleteContainerImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteContainerImage func (c *Lightsail) DeleteContainerImageRequest(input *DeleteContainerImageInput) (req *request.Request, output *DeleteContainerImageOutput) { @@ -4097,26 +4096,27 @@ func (c *Lightsail) DeleteContainerImageRequest(input *DeleteContainerImageInput // API operation DeleteContainerImage for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteContainerImage func (c *Lightsail) DeleteContainerImage(input *DeleteContainerImageInput) (*DeleteContainerImageOutput, error) { @@ -4156,14 +4156,13 @@ const opDeleteContainerService = "DeleteContainerService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteContainerServiceRequest method. +// req, resp := client.DeleteContainerServiceRequest(params) // -// // Example sending a request using the DeleteContainerServiceRequest method. -// req, resp := client.DeleteContainerServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteContainerService func (c *Lightsail) DeleteContainerServiceRequest(input *DeleteContainerServiceInput) (req *request.Request, output *DeleteContainerServiceOutput) { @@ -4195,26 +4194,27 @@ func (c *Lightsail) DeleteContainerServiceRequest(input *DeleteContainerServiceI // API operation DeleteContainerService for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteContainerService func (c *Lightsail) DeleteContainerService(input *DeleteContainerServiceInput) (*DeleteContainerServiceOutput, error) { @@ -4254,14 +4254,13 @@ const opDeleteDisk = "DeleteDisk" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDiskRequest method. +// req, resp := client.DeleteDiskRequest(params) // -// // Example sending a request using the DeleteDiskRequest method. -// req, resp := client.DeleteDiskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDisk func (c *Lightsail) DeleteDiskRequest(input *DeleteDiskInput) (req *request.Request, output *DeleteDiskOutput) { @@ -4299,33 +4298,34 @@ func (c *Lightsail) DeleteDiskRequest(input *DeleteDiskInput) (req *request.Requ // API operation DeleteDisk for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDisk func (c *Lightsail) DeleteDisk(input *DeleteDiskInput) (*DeleteDiskOutput, error) { @@ -4365,14 +4365,13 @@ const opDeleteDiskSnapshot = "DeleteDiskSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDiskSnapshotRequest method. +// req, resp := client.DeleteDiskSnapshotRequest(params) // -// // Example sending a request using the DeleteDiskSnapshotRequest method. -// req, resp := client.DeleteDiskSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskSnapshot func (c *Lightsail) DeleteDiskSnapshotRequest(input *DeleteDiskSnapshotInput) (req *request.Request, output *DeleteDiskSnapshotOutput) { @@ -4414,33 +4413,34 @@ func (c *Lightsail) DeleteDiskSnapshotRequest(input *DeleteDiskSnapshotInput) (r // API operation DeleteDiskSnapshot for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskSnapshot func (c *Lightsail) DeleteDiskSnapshot(input *DeleteDiskSnapshotInput) (*DeleteDiskSnapshotOutput, error) { @@ -4480,14 +4480,13 @@ const opDeleteDistribution = "DeleteDistribution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDistributionRequest method. +// req, resp := client.DeleteDistributionRequest(params) // -// // Example sending a request using the DeleteDistributionRequest method. -// req, resp := client.DeleteDistributionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDistribution func (c *Lightsail) DeleteDistributionRequest(input *DeleteDistributionInput) (req *request.Request, output *DeleteDistributionOutput) { @@ -4518,29 +4517,30 @@ func (c *Lightsail) DeleteDistributionRequest(input *DeleteDistributionInput) (r // API operation DeleteDistribution for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDistribution func (c *Lightsail) DeleteDistribution(input *DeleteDistributionInput) (*DeleteDistributionOutput, error) { @@ -4580,14 +4580,13 @@ const opDeleteDomain = "DeleteDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainRequest method. +// req, resp := client.DeleteDomainRequest(params) // -// // Example sending a request using the DeleteDomainRequest method. -// req, resp := client.DeleteDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomain func (c *Lightsail) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) { @@ -4622,33 +4621,34 @@ func (c *Lightsail) DeleteDomainRequest(input *DeleteDomainInput) (req *request. // API operation DeleteDomain for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomain func (c *Lightsail) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) { @@ -4688,14 +4688,13 @@ const opDeleteDomainEntry = "DeleteDomainEntry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainEntryRequest method. +// req, resp := client.DeleteDomainEntryRequest(params) // -// // Example sending a request using the DeleteDomainEntryRequest method. -// req, resp := client.DeleteDomainEntryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntry func (c *Lightsail) DeleteDomainEntryRequest(input *DeleteDomainEntryInput) (req *request.Request, output *DeleteDomainEntryOutput) { @@ -4730,33 +4729,34 @@ func (c *Lightsail) DeleteDomainEntryRequest(input *DeleteDomainEntryInput) (req // API operation DeleteDomainEntry for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntry func (c *Lightsail) DeleteDomainEntry(input *DeleteDomainEntryInput) (*DeleteDomainEntryOutput, error) { @@ -4796,14 +4796,13 @@ const opDeleteInstance = "DeleteInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInstanceRequest method. +// req, resp := client.DeleteInstanceRequest(params) // -// // Example sending a request using the DeleteInstanceRequest method. -// req, resp := client.DeleteInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstance func (c *Lightsail) DeleteInstanceRequest(input *DeleteInstanceInput) (req *request.Request, output *DeleteInstanceOutput) { @@ -4838,33 +4837,34 @@ func (c *Lightsail) DeleteInstanceRequest(input *DeleteInstanceInput) (req *requ // API operation DeleteInstance for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstance func (c *Lightsail) DeleteInstance(input *DeleteInstanceInput) (*DeleteInstanceOutput, error) { @@ -4904,14 +4904,13 @@ const opDeleteInstanceSnapshot = "DeleteInstanceSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInstanceSnapshotRequest method. +// req, resp := client.DeleteInstanceSnapshotRequest(params) // -// // Example sending a request using the DeleteInstanceSnapshotRequest method. -// req, resp := client.DeleteInstanceSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshot func (c *Lightsail) DeleteInstanceSnapshotRequest(input *DeleteInstanceSnapshotInput) (req *request.Request, output *DeleteInstanceSnapshotOutput) { @@ -4946,33 +4945,34 @@ func (c *Lightsail) DeleteInstanceSnapshotRequest(input *DeleteInstanceSnapshotI // API operation DeleteInstanceSnapshot for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshot func (c *Lightsail) DeleteInstanceSnapshot(input *DeleteInstanceSnapshotInput) (*DeleteInstanceSnapshotOutput, error) { @@ -5012,14 +5012,13 @@ const opDeleteKeyPair = "DeleteKeyPair" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteKeyPairRequest method. +// req, resp := client.DeleteKeyPairRequest(params) // -// // Example sending a request using the DeleteKeyPairRequest method. -// req, resp := client.DeleteKeyPairRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPair func (c *Lightsail) DeleteKeyPairRequest(input *DeleteKeyPairInput) (req *request.Request, output *DeleteKeyPairOutput) { @@ -5061,33 +5060,34 @@ func (c *Lightsail) DeleteKeyPairRequest(input *DeleteKeyPairInput) (req *reques // API operation DeleteKeyPair for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPair func (c *Lightsail) DeleteKeyPair(input *DeleteKeyPairInput) (*DeleteKeyPairOutput, error) { @@ -5127,14 +5127,13 @@ const opDeleteKnownHostKeys = "DeleteKnownHostKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteKnownHostKeysRequest method. +// req, resp := client.DeleteKnownHostKeysRequest(params) // -// // Example sending a request using the DeleteKnownHostKeysRequest method. -// req, resp := client.DeleteKnownHostKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKnownHostKeys func (c *Lightsail) DeleteKnownHostKeysRequest(input *DeleteKnownHostKeysInput) (req *request.Request, output *DeleteKnownHostKeysOutput) { @@ -5173,33 +5172,34 @@ func (c *Lightsail) DeleteKnownHostKeysRequest(input *DeleteKnownHostKeysInput) // API operation DeleteKnownHostKeys for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKnownHostKeys func (c *Lightsail) DeleteKnownHostKeys(input *DeleteKnownHostKeysInput) (*DeleteKnownHostKeysOutput, error) { @@ -5239,14 +5239,13 @@ const opDeleteLoadBalancer = "DeleteLoadBalancer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLoadBalancerRequest method. +// req, resp := client.DeleteLoadBalancerRequest(params) // -// // Example sending a request using the DeleteLoadBalancerRequest method. -// req, resp := client.DeleteLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancer func (c *Lightsail) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (req *request.Request, output *DeleteLoadBalancerOutput) { @@ -5283,33 +5282,34 @@ func (c *Lightsail) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) (r // API operation DeleteLoadBalancer for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancer func (c *Lightsail) DeleteLoadBalancer(input *DeleteLoadBalancerInput) (*DeleteLoadBalancerOutput, error) { @@ -5349,14 +5349,13 @@ const opDeleteLoadBalancerTlsCertificate = "DeleteLoadBalancerTlsCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLoadBalancerTlsCertificateRequest method. +// req, resp := client.DeleteLoadBalancerTlsCertificateRequest(params) // -// // Example sending a request using the DeleteLoadBalancerTlsCertificateRequest method. -// req, resp := client.DeleteLoadBalancerTlsCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerTlsCertificate func (c *Lightsail) DeleteLoadBalancerTlsCertificateRequest(input *DeleteLoadBalancerTlsCertificateInput) (req *request.Request, output *DeleteLoadBalancerTlsCertificateOutput) { @@ -5391,33 +5390,34 @@ func (c *Lightsail) DeleteLoadBalancerTlsCertificateRequest(input *DeleteLoadBal // API operation DeleteLoadBalancerTlsCertificate for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerTlsCertificate func (c *Lightsail) DeleteLoadBalancerTlsCertificate(input *DeleteLoadBalancerTlsCertificateInput) (*DeleteLoadBalancerTlsCertificateOutput, error) { @@ -5457,14 +5457,13 @@ const opDeleteRelationalDatabase = "DeleteRelationalDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRelationalDatabaseRequest method. +// req, resp := client.DeleteRelationalDatabaseRequest(params) // -// // Example sending a request using the DeleteRelationalDatabaseRequest method. -// req, resp := client.DeleteRelationalDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteRelationalDatabase func (c *Lightsail) DeleteRelationalDatabaseRequest(input *DeleteRelationalDatabaseInput) (req *request.Request, output *DeleteRelationalDatabaseOutput) { @@ -5499,33 +5498,34 @@ func (c *Lightsail) DeleteRelationalDatabaseRequest(input *DeleteRelationalDatab // API operation DeleteRelationalDatabase for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteRelationalDatabase func (c *Lightsail) DeleteRelationalDatabase(input *DeleteRelationalDatabaseInput) (*DeleteRelationalDatabaseOutput, error) { @@ -5565,14 +5565,13 @@ const opDeleteRelationalDatabaseSnapshot = "DeleteRelationalDatabaseSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRelationalDatabaseSnapshotRequest method. +// req, resp := client.DeleteRelationalDatabaseSnapshotRequest(params) // -// // Example sending a request using the DeleteRelationalDatabaseSnapshotRequest method. -// req, resp := client.DeleteRelationalDatabaseSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteRelationalDatabaseSnapshot func (c *Lightsail) DeleteRelationalDatabaseSnapshotRequest(input *DeleteRelationalDatabaseSnapshotInput) (req *request.Request, output *DeleteRelationalDatabaseSnapshotOutput) { @@ -5607,33 +5606,34 @@ func (c *Lightsail) DeleteRelationalDatabaseSnapshotRequest(input *DeleteRelatio // API operation DeleteRelationalDatabaseSnapshot for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteRelationalDatabaseSnapshot func (c *Lightsail) DeleteRelationalDatabaseSnapshot(input *DeleteRelationalDatabaseSnapshotInput) (*DeleteRelationalDatabaseSnapshotOutput, error) { @@ -5673,14 +5673,13 @@ const opDetachCertificateFromDistribution = "DetachCertificateFromDistribution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachCertificateFromDistributionRequest method. +// req, resp := client.DetachCertificateFromDistributionRequest(params) // -// // Example sending a request using the DetachCertificateFromDistributionRequest method. -// req, resp := client.DetachCertificateFromDistributionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachCertificateFromDistribution func (c *Lightsail) DetachCertificateFromDistributionRequest(input *DetachCertificateFromDistributionInput) (req *request.Request, output *DetachCertificateFromDistributionOutput) { @@ -5715,29 +5714,30 @@ func (c *Lightsail) DetachCertificateFromDistributionRequest(input *DetachCertif // API operation DetachCertificateFromDistribution for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachCertificateFromDistribution func (c *Lightsail) DetachCertificateFromDistribution(input *DetachCertificateFromDistributionInput) (*DetachCertificateFromDistributionOutput, error) { @@ -5777,14 +5777,13 @@ const opDetachDisk = "DetachDisk" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachDiskRequest method. +// req, resp := client.DetachDiskRequest(params) // -// // Example sending a request using the DetachDiskRequest method. -// req, resp := client.DetachDiskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachDisk func (c *Lightsail) DetachDiskRequest(input *DetachDiskInput) (req *request.Request, output *DetachDiskOutput) { @@ -5821,33 +5820,34 @@ func (c *Lightsail) DetachDiskRequest(input *DetachDiskInput) (req *request.Requ // API operation DetachDisk for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachDisk func (c *Lightsail) DetachDisk(input *DetachDiskInput) (*DetachDiskOutput, error) { @@ -5887,14 +5887,13 @@ const opDetachInstancesFromLoadBalancer = "DetachInstancesFromLoadBalancer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachInstancesFromLoadBalancerRequest method. +// req, resp := client.DetachInstancesFromLoadBalancerRequest(params) // -// // Example sending a request using the DetachInstancesFromLoadBalancerRequest method. -// req, resp := client.DetachInstancesFromLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachInstancesFromLoadBalancer func (c *Lightsail) DetachInstancesFromLoadBalancerRequest(input *DetachInstancesFromLoadBalancerInput) (req *request.Request, output *DetachInstancesFromLoadBalancerOutput) { @@ -5932,33 +5931,34 @@ func (c *Lightsail) DetachInstancesFromLoadBalancerRequest(input *DetachInstance // API operation DetachInstancesFromLoadBalancer for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachInstancesFromLoadBalancer func (c *Lightsail) DetachInstancesFromLoadBalancer(input *DetachInstancesFromLoadBalancerInput) (*DetachInstancesFromLoadBalancerOutput, error) { @@ -5998,14 +5998,13 @@ const opDetachStaticIp = "DetachStaticIp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachStaticIpRequest method. +// req, resp := client.DetachStaticIpRequest(params) // -// // Example sending a request using the DetachStaticIpRequest method. -// req, resp := client.DetachStaticIpRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIp func (c *Lightsail) DetachStaticIpRequest(input *DetachStaticIpInput) (req *request.Request, output *DetachStaticIpOutput) { @@ -6036,33 +6035,34 @@ func (c *Lightsail) DetachStaticIpRequest(input *DetachStaticIpInput) (req *requ // API operation DetachStaticIp for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIp func (c *Lightsail) DetachStaticIp(input *DetachStaticIpInput) (*DetachStaticIpOutput, error) { @@ -6102,14 +6102,13 @@ const opDisableAddOn = "DisableAddOn" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableAddOnRequest method. +// req, resp := client.DisableAddOnRequest(params) // -// // Example sending a request using the DisableAddOnRequest method. -// req, resp := client.DisableAddOnRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DisableAddOn func (c *Lightsail) DisableAddOnRequest(input *DisableAddOnInput) (req *request.Request, output *DisableAddOnOutput) { @@ -6141,29 +6140,30 @@ func (c *Lightsail) DisableAddOnRequest(input *DisableAddOnInput) (req *request. // API operation DisableAddOn for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DisableAddOn func (c *Lightsail) DisableAddOn(input *DisableAddOnInput) (*DisableAddOnOutput, error) { @@ -6203,14 +6203,13 @@ const opDownloadDefaultKeyPair = "DownloadDefaultKeyPair" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DownloadDefaultKeyPairRequest method. +// req, resp := client.DownloadDefaultKeyPairRequest(params) // -// // Example sending a request using the DownloadDefaultKeyPairRequest method. -// req, resp := client.DownloadDefaultKeyPairRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPair func (c *Lightsail) DownloadDefaultKeyPairRequest(input *DownloadDefaultKeyPairInput) (req *request.Request, output *DownloadDefaultKeyPairOutput) { @@ -6244,33 +6243,34 @@ func (c *Lightsail) DownloadDefaultKeyPairRequest(input *DownloadDefaultKeyPairI // API operation DownloadDefaultKeyPair for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPair func (c *Lightsail) DownloadDefaultKeyPair(input *DownloadDefaultKeyPairInput) (*DownloadDefaultKeyPairOutput, error) { @@ -6310,14 +6310,13 @@ const opEnableAddOn = "EnableAddOn" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableAddOnRequest method. +// req, resp := client.EnableAddOnRequest(params) // -// // Example sending a request using the EnableAddOnRequest method. -// req, resp := client.EnableAddOnRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/EnableAddOn func (c *Lightsail) EnableAddOnRequest(input *EnableAddOnInput) (req *request.Request, output *EnableAddOnOutput) { @@ -6349,29 +6348,30 @@ func (c *Lightsail) EnableAddOnRequest(input *EnableAddOnInput) (req *request.Re // API operation EnableAddOn for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/EnableAddOn func (c *Lightsail) EnableAddOn(input *EnableAddOnInput) (*EnableAddOnOutput, error) { @@ -6411,14 +6411,13 @@ const opExportSnapshot = "ExportSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportSnapshotRequest method. +// req, resp := client.ExportSnapshotRequest(params) // -// // Example sending a request using the ExportSnapshotRequest method. -// req, resp := client.ExportSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ExportSnapshot func (c *Lightsail) ExportSnapshotRequest(input *ExportSnapshotInput) (req *request.Request, output *ExportSnapshotOutput) { @@ -6465,33 +6464,34 @@ func (c *Lightsail) ExportSnapshotRequest(input *ExportSnapshotInput) (req *requ // API operation ExportSnapshot for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ExportSnapshot func (c *Lightsail) ExportSnapshot(input *ExportSnapshotInput) (*ExportSnapshotOutput, error) { @@ -6531,14 +6531,13 @@ const opGetActiveNames = "GetActiveNames" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetActiveNamesRequest method. +// req, resp := client.GetActiveNamesRequest(params) // -// // Example sending a request using the GetActiveNamesRequest method. -// req, resp := client.GetActiveNamesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNames func (c *Lightsail) GetActiveNamesRequest(input *GetActiveNamesInput) (req *request.Request, output *GetActiveNamesOutput) { @@ -6569,33 +6568,34 @@ func (c *Lightsail) GetActiveNamesRequest(input *GetActiveNamesInput) (req *requ // API operation GetActiveNames for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNames func (c *Lightsail) GetActiveNames(input *GetActiveNamesInput) (*GetActiveNamesOutput, error) { @@ -6635,14 +6635,13 @@ const opGetAlarms = "GetAlarms" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAlarmsRequest method. +// req, resp := client.GetAlarmsRequest(params) // -// // Example sending a request using the GetAlarmsRequest method. -// req, resp := client.GetAlarmsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAlarms func (c *Lightsail) GetAlarmsRequest(input *GetAlarmsInput) (req *request.Request, output *GetAlarmsOutput) { @@ -6680,29 +6679,30 @@ func (c *Lightsail) GetAlarmsRequest(input *GetAlarmsInput) (req *request.Reques // API operation GetAlarms for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAlarms func (c *Lightsail) GetAlarms(input *GetAlarmsInput) (*GetAlarmsOutput, error) { @@ -6742,14 +6742,13 @@ const opGetAutoSnapshots = "GetAutoSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAutoSnapshotsRequest method. +// req, resp := client.GetAutoSnapshotsRequest(params) // -// // Example sending a request using the GetAutoSnapshotsRequest method. -// req, resp := client.GetAutoSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAutoSnapshots func (c *Lightsail) GetAutoSnapshotsRequest(input *GetAutoSnapshotsInput) (req *request.Request, output *GetAutoSnapshotsOutput) { @@ -6781,29 +6780,30 @@ func (c *Lightsail) GetAutoSnapshotsRequest(input *GetAutoSnapshotsInput) (req * // API operation GetAutoSnapshots for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAutoSnapshots func (c *Lightsail) GetAutoSnapshots(input *GetAutoSnapshotsInput) (*GetAutoSnapshotsOutput, error) { @@ -6843,14 +6843,13 @@ const opGetBlueprints = "GetBlueprints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBlueprintsRequest method. +// req, resp := client.GetBlueprintsRequest(params) // -// // Example sending a request using the GetBlueprintsRequest method. -// req, resp := client.GetBlueprintsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprints func (c *Lightsail) GetBlueprintsRequest(input *GetBlueprintsInput) (req *request.Request, output *GetBlueprintsOutput) { @@ -6889,33 +6888,34 @@ func (c *Lightsail) GetBlueprintsRequest(input *GetBlueprintsInput) (req *reques // API operation GetBlueprints for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprints func (c *Lightsail) GetBlueprints(input *GetBlueprintsInput) (*GetBlueprintsOutput, error) { @@ -6955,14 +6955,13 @@ const opGetBucketAccessKeys = "GetBucketAccessKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketAccessKeysRequest method. +// req, resp := client.GetBucketAccessKeysRequest(params) // -// // Example sending a request using the GetBucketAccessKeysRequest method. -// req, resp := client.GetBucketAccessKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketAccessKeys func (c *Lightsail) GetBucketAccessKeysRequest(input *GetBucketAccessKeysInput) (req *request.Request, output *GetBucketAccessKeysOutput) { @@ -6998,26 +6997,27 @@ func (c *Lightsail) GetBucketAccessKeysRequest(input *GetBucketAccessKeysInput) // API operation GetBucketAccessKeys for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * ServiceException -// A general service exception. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - ServiceException +// A general service exception. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketAccessKeys func (c *Lightsail) GetBucketAccessKeys(input *GetBucketAccessKeysInput) (*GetBucketAccessKeysOutput, error) { @@ -7057,14 +7057,13 @@ const opGetBucketBundles = "GetBucketBundles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketBundlesRequest method. +// req, resp := client.GetBucketBundlesRequest(params) // -// // Example sending a request using the GetBucketBundlesRequest method. -// req, resp := client.GetBucketBundlesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketBundles func (c *Lightsail) GetBucketBundlesRequest(input *GetBucketBundlesInput) (req *request.Request, output *GetBucketBundlesOutput) { @@ -7101,23 +7100,24 @@ func (c *Lightsail) GetBucketBundlesRequest(input *GetBucketBundlesInput) (req * // API operation GetBucketBundles for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * ServiceException -// A general service exception. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - ServiceException +// A general service exception. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketBundles func (c *Lightsail) GetBucketBundles(input *GetBucketBundlesInput) (*GetBucketBundlesOutput, error) { @@ -7157,14 +7157,13 @@ const opGetBucketMetricData = "GetBucketMetricData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketMetricDataRequest method. +// req, resp := client.GetBucketMetricDataRequest(params) // -// // Example sending a request using the GetBucketMetricDataRequest method. -// req, resp := client.GetBucketMetricDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketMetricData func (c *Lightsail) GetBucketMetricDataRequest(input *GetBucketMetricDataInput) (req *request.Request, output *GetBucketMetricDataOutput) { @@ -7199,26 +7198,27 @@ func (c *Lightsail) GetBucketMetricDataRequest(input *GetBucketMetricDataInput) // API operation GetBucketMetricData for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * ServiceException -// A general service exception. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - ServiceException +// A general service exception. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBucketMetricData func (c *Lightsail) GetBucketMetricData(input *GetBucketMetricDataInput) (*GetBucketMetricDataOutput, error) { @@ -7258,14 +7258,13 @@ const opGetBuckets = "GetBuckets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketsRequest method. +// req, resp := client.GetBucketsRequest(params) // -// // Example sending a request using the GetBucketsRequest method. -// req, resp := client.GetBucketsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBuckets func (c *Lightsail) GetBucketsRequest(input *GetBucketsInput) (req *request.Request, output *GetBucketsOutput) { @@ -7302,26 +7301,27 @@ func (c *Lightsail) GetBucketsRequest(input *GetBucketsInput) (req *request.Requ // API operation GetBuckets for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * ServiceException -// A general service exception. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - ServiceException +// A general service exception. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBuckets func (c *Lightsail) GetBuckets(input *GetBucketsInput) (*GetBucketsOutput, error) { @@ -7361,14 +7361,13 @@ const opGetBundles = "GetBundles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBundlesRequest method. +// req, resp := client.GetBundlesRequest(params) // -// // Example sending a request using the GetBundlesRequest method. -// req, resp := client.GetBundlesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundles func (c *Lightsail) GetBundlesRequest(input *GetBundlesInput) (req *request.Request, output *GetBundlesOutput) { @@ -7406,33 +7405,34 @@ func (c *Lightsail) GetBundlesRequest(input *GetBundlesInput) (req *request.Requ // API operation GetBundles for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundles func (c *Lightsail) GetBundles(input *GetBundlesInput) (*GetBundlesOutput, error) { @@ -7472,14 +7472,13 @@ const opGetCertificates = "GetCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCertificatesRequest method. +// req, resp := client.GetCertificatesRequest(params) // -// // Example sending a request using the GetCertificatesRequest method. -// req, resp := client.GetCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetCertificates func (c *Lightsail) GetCertificatesRequest(input *GetCertificatesInput) (req *request.Request, output *GetCertificatesOutput) { @@ -7514,26 +7513,27 @@ func (c *Lightsail) GetCertificatesRequest(input *GetCertificatesInput) (req *re // API operation GetCertificates for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetCertificates func (c *Lightsail) GetCertificates(input *GetCertificatesInput) (*GetCertificatesOutput, error) { @@ -7573,14 +7573,13 @@ const opGetCloudFormationStackRecords = "GetCloudFormationStackRecords" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCloudFormationStackRecordsRequest method. +// req, resp := client.GetCloudFormationStackRecordsRequest(params) // -// // Example sending a request using the GetCloudFormationStackRecordsRequest method. -// req, resp := client.GetCloudFormationStackRecordsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetCloudFormationStackRecords func (c *Lightsail) GetCloudFormationStackRecordsRequest(input *GetCloudFormationStackRecordsInput) (req *request.Request, output *GetCloudFormationStackRecordsOutput) { @@ -7615,33 +7614,34 @@ func (c *Lightsail) GetCloudFormationStackRecordsRequest(input *GetCloudFormatio // API operation GetCloudFormationStackRecords for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetCloudFormationStackRecords func (c *Lightsail) GetCloudFormationStackRecords(input *GetCloudFormationStackRecordsInput) (*GetCloudFormationStackRecordsOutput, error) { @@ -7681,14 +7681,13 @@ const opGetContactMethods = "GetContactMethods" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContactMethodsRequest method. +// req, resp := client.GetContactMethodsRequest(params) // -// // Example sending a request using the GetContactMethodsRequest method. -// req, resp := client.GetContactMethodsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContactMethods func (c *Lightsail) GetContactMethodsRequest(input *GetContactMethodsInput) (req *request.Request, output *GetContactMethodsOutput) { @@ -7727,29 +7726,30 @@ func (c *Lightsail) GetContactMethodsRequest(input *GetContactMethodsInput) (req // API operation GetContactMethods for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContactMethods func (c *Lightsail) GetContactMethods(input *GetContactMethodsInput) (*GetContactMethodsOutput, error) { @@ -7789,14 +7789,13 @@ const opGetContainerAPIMetadata = "GetContainerAPIMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContainerAPIMetadataRequest method. +// req, resp := client.GetContainerAPIMetadataRequest(params) // -// // Example sending a request using the GetContainerAPIMetadataRequest method. -// req, resp := client.GetContainerAPIMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerAPIMetadata func (c *Lightsail) GetContainerAPIMetadataRequest(input *GetContainerAPIMetadataInput) (req *request.Request, output *GetContainerAPIMetadataOutput) { @@ -7828,15 +7827,16 @@ func (c *Lightsail) GetContainerAPIMetadataRequest(input *GetContainerAPIMetadat // API operation GetContainerAPIMetadata for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - ServiceException +// A general service exception. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerAPIMetadata func (c *Lightsail) GetContainerAPIMetadata(input *GetContainerAPIMetadataInput) (*GetContainerAPIMetadataOutput, error) { @@ -7876,14 +7876,13 @@ const opGetContainerImages = "GetContainerImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContainerImagesRequest method. +// req, resp := client.GetContainerImagesRequest(params) // -// // Example sending a request using the GetContainerImagesRequest method. -// req, resp := client.GetContainerImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerImages func (c *Lightsail) GetContainerImagesRequest(input *GetContainerImagesInput) (req *request.Request, output *GetContainerImagesOutput) { @@ -7920,26 +7919,27 @@ func (c *Lightsail) GetContainerImagesRequest(input *GetContainerImagesInput) (r // API operation GetContainerImages for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerImages func (c *Lightsail) GetContainerImages(input *GetContainerImagesInput) (*GetContainerImagesOutput, error) { @@ -7979,14 +7979,13 @@ const opGetContainerLog = "GetContainerLog" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContainerLogRequest method. +// req, resp := client.GetContainerLogRequest(params) // -// // Example sending a request using the GetContainerLogRequest method. -// req, resp := client.GetContainerLogRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerLog func (c *Lightsail) GetContainerLogRequest(input *GetContainerLogInput) (req *request.Request, output *GetContainerLogOutput) { @@ -8026,26 +8025,27 @@ func (c *Lightsail) GetContainerLogRequest(input *GetContainerLogInput) (req *re // API operation GetContainerLog for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerLog func (c *Lightsail) GetContainerLog(input *GetContainerLogInput) (*GetContainerLogOutput, error) { @@ -8085,14 +8085,13 @@ const opGetContainerServiceDeployments = "GetContainerServiceDeployments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContainerServiceDeploymentsRequest method. +// req, resp := client.GetContainerServiceDeploymentsRequest(params) // -// // Example sending a request using the GetContainerServiceDeploymentsRequest method. -// req, resp := client.GetContainerServiceDeploymentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerServiceDeployments func (c *Lightsail) GetContainerServiceDeploymentsRequest(input *GetContainerServiceDeploymentsInput) (req *request.Request, output *GetContainerServiceDeploymentsOutput) { @@ -8113,7 +8112,7 @@ func (c *Lightsail) GetContainerServiceDeploymentsRequest(input *GetContainerSer // GetContainerServiceDeployments API operation for Amazon Lightsail. // -// Returns the deployments for your Amazon Lightsail container service +// # Returns the deployments for your Amazon Lightsail container service // // A deployment specifies the settings, such as the ports and launch command, // of containers that are deployed to your container service. @@ -8134,26 +8133,27 @@ func (c *Lightsail) GetContainerServiceDeploymentsRequest(input *GetContainerSer // API operation GetContainerServiceDeployments for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerServiceDeployments func (c *Lightsail) GetContainerServiceDeployments(input *GetContainerServiceDeploymentsInput) (*GetContainerServiceDeploymentsOutput, error) { @@ -8193,14 +8193,13 @@ const opGetContainerServiceMetricData = "GetContainerServiceMetricData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContainerServiceMetricDataRequest method. +// req, resp := client.GetContainerServiceMetricDataRequest(params) // -// // Example sending a request using the GetContainerServiceMetricDataRequest method. -// req, resp := client.GetContainerServiceMetricDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerServiceMetricData func (c *Lightsail) GetContainerServiceMetricDataRequest(input *GetContainerServiceMetricDataInput) (req *request.Request, output *GetContainerServiceMetricDataOutput) { @@ -8236,26 +8235,27 @@ func (c *Lightsail) GetContainerServiceMetricDataRequest(input *GetContainerServ // API operation GetContainerServiceMetricData for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerServiceMetricData func (c *Lightsail) GetContainerServiceMetricData(input *GetContainerServiceMetricDataInput) (*GetContainerServiceMetricDataOutput, error) { @@ -8295,14 +8295,13 @@ const opGetContainerServicePowers = "GetContainerServicePowers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContainerServicePowersRequest method. +// req, resp := client.GetContainerServicePowersRequest(params) // -// // Example sending a request using the GetContainerServicePowersRequest method. -// req, resp := client.GetContainerServicePowersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerServicePowers func (c *Lightsail) GetContainerServicePowersRequest(input *GetContainerServicePowersInput) (req *request.Request, output *GetContainerServicePowersOutput) { @@ -8337,26 +8336,27 @@ func (c *Lightsail) GetContainerServicePowersRequest(input *GetContainerServiceP // API operation GetContainerServicePowers for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerServicePowers func (c *Lightsail) GetContainerServicePowers(input *GetContainerServicePowersInput) (*GetContainerServicePowersOutput, error) { @@ -8396,14 +8396,13 @@ const opGetContainerServices = "GetContainerServices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContainerServicesRequest method. +// req, resp := client.GetContainerServicesRequest(params) // -// // Example sending a request using the GetContainerServicesRequest method. -// req, resp := client.GetContainerServicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerServices func (c *Lightsail) GetContainerServicesRequest(input *GetContainerServicesInput) (req *request.Request, output *GetContainerServicesOutput) { @@ -8435,26 +8434,27 @@ func (c *Lightsail) GetContainerServicesRequest(input *GetContainerServicesInput // API operation GetContainerServices for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerServices func (c *Lightsail) GetContainerServices(input *GetContainerServicesInput) (*GetContainerServicesOutput, error) { @@ -8494,14 +8494,13 @@ const opGetDisk = "GetDisk" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDiskRequest method. +// req, resp := client.GetDiskRequest(params) // -// // Example sending a request using the GetDiskRequest method. -// req, resp := client.GetDiskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisk func (c *Lightsail) GetDiskRequest(input *GetDiskInput) (req *request.Request, output *GetDiskOutput) { @@ -8532,33 +8531,34 @@ func (c *Lightsail) GetDiskRequest(input *GetDiskInput) (req *request.Request, o // API operation GetDisk for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisk func (c *Lightsail) GetDisk(input *GetDiskInput) (*GetDiskOutput, error) { @@ -8598,14 +8598,13 @@ const opGetDiskSnapshot = "GetDiskSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDiskSnapshotRequest method. +// req, resp := client.GetDiskSnapshotRequest(params) // -// // Example sending a request using the GetDiskSnapshotRequest method. -// req, resp := client.GetDiskSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshot func (c *Lightsail) GetDiskSnapshotRequest(input *GetDiskSnapshotInput) (req *request.Request, output *GetDiskSnapshotOutput) { @@ -8636,33 +8635,34 @@ func (c *Lightsail) GetDiskSnapshotRequest(input *GetDiskSnapshotInput) (req *re // API operation GetDiskSnapshot for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshot func (c *Lightsail) GetDiskSnapshot(input *GetDiskSnapshotInput) (*GetDiskSnapshotOutput, error) { @@ -8702,14 +8702,13 @@ const opGetDiskSnapshots = "GetDiskSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDiskSnapshotsRequest method. +// req, resp := client.GetDiskSnapshotsRequest(params) // -// // Example sending a request using the GetDiskSnapshotsRequest method. -// req, resp := client.GetDiskSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshots func (c *Lightsail) GetDiskSnapshotsRequest(input *GetDiskSnapshotsInput) (req *request.Request, output *GetDiskSnapshotsOutput) { @@ -8741,33 +8740,34 @@ func (c *Lightsail) GetDiskSnapshotsRequest(input *GetDiskSnapshotsInput) (req * // API operation GetDiskSnapshots for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshots func (c *Lightsail) GetDiskSnapshots(input *GetDiskSnapshotsInput) (*GetDiskSnapshotsOutput, error) { @@ -8807,14 +8807,13 @@ const opGetDisks = "GetDisks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDisksRequest method. +// req, resp := client.GetDisksRequest(params) // -// // Example sending a request using the GetDisksRequest method. -// req, resp := client.GetDisksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisks func (c *Lightsail) GetDisksRequest(input *GetDisksInput) (req *request.Request, output *GetDisksOutput) { @@ -8846,33 +8845,34 @@ func (c *Lightsail) GetDisksRequest(input *GetDisksInput) (req *request.Request, // API operation GetDisks for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisks func (c *Lightsail) GetDisks(input *GetDisksInput) (*GetDisksOutput, error) { @@ -8912,14 +8912,13 @@ const opGetDistributionBundles = "GetDistributionBundles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDistributionBundlesRequest method. +// req, resp := client.GetDistributionBundlesRequest(params) // -// // Example sending a request using the GetDistributionBundlesRequest method. -// req, resp := client.GetDistributionBundlesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributionBundles func (c *Lightsail) GetDistributionBundlesRequest(input *GetDistributionBundlesInput) (req *request.Request, output *GetDistributionBundlesOutput) { @@ -8954,29 +8953,30 @@ func (c *Lightsail) GetDistributionBundlesRequest(input *GetDistributionBundlesI // API operation GetDistributionBundles for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributionBundles func (c *Lightsail) GetDistributionBundles(input *GetDistributionBundlesInput) (*GetDistributionBundlesOutput, error) { @@ -9016,14 +9016,13 @@ const opGetDistributionLatestCacheReset = "GetDistributionLatestCacheReset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDistributionLatestCacheResetRequest method. +// req, resp := client.GetDistributionLatestCacheResetRequest(params) // -// // Example sending a request using the GetDistributionLatestCacheResetRequest method. -// req, resp := client.GetDistributionLatestCacheResetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributionLatestCacheReset func (c *Lightsail) GetDistributionLatestCacheResetRequest(input *GetDistributionLatestCacheResetInput) (req *request.Request, output *GetDistributionLatestCacheResetOutput) { @@ -9055,29 +9054,30 @@ func (c *Lightsail) GetDistributionLatestCacheResetRequest(input *GetDistributio // API operation GetDistributionLatestCacheReset for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributionLatestCacheReset func (c *Lightsail) GetDistributionLatestCacheReset(input *GetDistributionLatestCacheResetInput) (*GetDistributionLatestCacheResetOutput, error) { @@ -9117,14 +9117,13 @@ const opGetDistributionMetricData = "GetDistributionMetricData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDistributionMetricDataRequest method. +// req, resp := client.GetDistributionMetricDataRequest(params) // -// // Example sending a request using the GetDistributionMetricDataRequest method. -// req, resp := client.GetDistributionMetricDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributionMetricData func (c *Lightsail) GetDistributionMetricDataRequest(input *GetDistributionMetricDataInput) (req *request.Request, output *GetDistributionMetricDataOutput) { @@ -9160,29 +9159,30 @@ func (c *Lightsail) GetDistributionMetricDataRequest(input *GetDistributionMetri // API operation GetDistributionMetricData for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributionMetricData func (c *Lightsail) GetDistributionMetricData(input *GetDistributionMetricDataInput) (*GetDistributionMetricDataOutput, error) { @@ -9222,14 +9222,13 @@ const opGetDistributions = "GetDistributions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDistributionsRequest method. +// req, resp := client.GetDistributionsRequest(params) // -// // Example sending a request using the GetDistributionsRequest method. -// req, resp := client.GetDistributionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributions func (c *Lightsail) GetDistributionsRequest(input *GetDistributionsInput) (req *request.Request, output *GetDistributionsOutput) { @@ -9261,29 +9260,30 @@ func (c *Lightsail) GetDistributionsRequest(input *GetDistributionsInput) (req * // API operation GetDistributions for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributions func (c *Lightsail) GetDistributions(input *GetDistributionsInput) (*GetDistributionsOutput, error) { @@ -9323,14 +9323,13 @@ const opGetDomain = "GetDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainRequest method. +// req, resp := client.GetDomainRequest(params) // -// // Example sending a request using the GetDomainRequest method. -// req, resp := client.GetDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomain func (c *Lightsail) GetDomainRequest(input *GetDomainInput) (req *request.Request, output *GetDomainOutput) { @@ -9361,33 +9360,34 @@ func (c *Lightsail) GetDomainRequest(input *GetDomainInput) (req *request.Reques // API operation GetDomain for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomain func (c *Lightsail) GetDomain(input *GetDomainInput) (*GetDomainOutput, error) { @@ -9427,14 +9427,13 @@ const opGetDomains = "GetDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainsRequest method. +// req, resp := client.GetDomainsRequest(params) // -// // Example sending a request using the GetDomainsRequest method. -// req, resp := client.GetDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomains func (c *Lightsail) GetDomainsRequest(input *GetDomainsInput) (req *request.Request, output *GetDomainsOutput) { @@ -9465,33 +9464,34 @@ func (c *Lightsail) GetDomainsRequest(input *GetDomainsInput) (req *request.Requ // API operation GetDomains for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomains func (c *Lightsail) GetDomains(input *GetDomainsInput) (*GetDomainsOutput, error) { @@ -9531,14 +9531,13 @@ const opGetExportSnapshotRecords = "GetExportSnapshotRecords" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetExportSnapshotRecordsRequest method. +// req, resp := client.GetExportSnapshotRecordsRequest(params) // -// // Example sending a request using the GetExportSnapshotRecordsRequest method. -// req, resp := client.GetExportSnapshotRecordsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetExportSnapshotRecords func (c *Lightsail) GetExportSnapshotRecordsRequest(input *GetExportSnapshotRecordsInput) (req *request.Request, output *GetExportSnapshotRecordsOutput) { @@ -9574,33 +9573,34 @@ func (c *Lightsail) GetExportSnapshotRecordsRequest(input *GetExportSnapshotReco // API operation GetExportSnapshotRecords for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetExportSnapshotRecords func (c *Lightsail) GetExportSnapshotRecords(input *GetExportSnapshotRecordsInput) (*GetExportSnapshotRecordsOutput, error) { @@ -9640,14 +9640,13 @@ const opGetInstance = "GetInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInstanceRequest method. +// req, resp := client.GetInstanceRequest(params) // -// // Example sending a request using the GetInstanceRequest method. -// req, resp := client.GetInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstance func (c *Lightsail) GetInstanceRequest(input *GetInstanceInput) (req *request.Request, output *GetInstanceOutput) { @@ -9679,33 +9678,34 @@ func (c *Lightsail) GetInstanceRequest(input *GetInstanceInput) (req *request.Re // API operation GetInstance for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstance func (c *Lightsail) GetInstance(input *GetInstanceInput) (*GetInstanceOutput, error) { @@ -9745,14 +9745,13 @@ const opGetInstanceAccessDetails = "GetInstanceAccessDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInstanceAccessDetailsRequest method. +// req, resp := client.GetInstanceAccessDetailsRequest(params) // -// // Example sending a request using the GetInstanceAccessDetailsRequest method. -// req, resp := client.GetInstanceAccessDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetails func (c *Lightsail) GetInstanceAccessDetailsRequest(input *GetInstanceAccessDetailsInput) (req *request.Request, output *GetInstanceAccessDetailsOutput) { @@ -9788,33 +9787,34 @@ func (c *Lightsail) GetInstanceAccessDetailsRequest(input *GetInstanceAccessDeta // API operation GetInstanceAccessDetails for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetails func (c *Lightsail) GetInstanceAccessDetails(input *GetInstanceAccessDetailsInput) (*GetInstanceAccessDetailsOutput, error) { @@ -9854,14 +9854,13 @@ const opGetInstanceMetricData = "GetInstanceMetricData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInstanceMetricDataRequest method. +// req, resp := client.GetInstanceMetricDataRequest(params) // -// // Example sending a request using the GetInstanceMetricDataRequest method. -// req, resp := client.GetInstanceMetricDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricData func (c *Lightsail) GetInstanceMetricDataRequest(input *GetInstanceMetricDataInput) (req *request.Request, output *GetInstanceMetricDataOutput) { @@ -9897,33 +9896,34 @@ func (c *Lightsail) GetInstanceMetricDataRequest(input *GetInstanceMetricDataInp // API operation GetInstanceMetricData for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricData func (c *Lightsail) GetInstanceMetricData(input *GetInstanceMetricDataInput) (*GetInstanceMetricDataOutput, error) { @@ -9963,14 +9963,13 @@ const opGetInstancePortStates = "GetInstancePortStates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInstancePortStatesRequest method. +// req, resp := client.GetInstancePortStatesRequest(params) // -// // Example sending a request using the GetInstancePortStatesRequest method. -// req, resp := client.GetInstancePortStatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStates func (c *Lightsail) GetInstancePortStatesRequest(input *GetInstancePortStatesInput) (req *request.Request, output *GetInstancePortStatesOutput) { @@ -10003,33 +10002,34 @@ func (c *Lightsail) GetInstancePortStatesRequest(input *GetInstancePortStatesInp // API operation GetInstancePortStates for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStates func (c *Lightsail) GetInstancePortStates(input *GetInstancePortStatesInput) (*GetInstancePortStatesOutput, error) { @@ -10069,14 +10069,13 @@ const opGetInstanceSnapshot = "GetInstanceSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInstanceSnapshotRequest method. +// req, resp := client.GetInstanceSnapshotRequest(params) // -// // Example sending a request using the GetInstanceSnapshotRequest method. -// req, resp := client.GetInstanceSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshot func (c *Lightsail) GetInstanceSnapshotRequest(input *GetInstanceSnapshotInput) (req *request.Request, output *GetInstanceSnapshotOutput) { @@ -10107,33 +10106,34 @@ func (c *Lightsail) GetInstanceSnapshotRequest(input *GetInstanceSnapshotInput) // API operation GetInstanceSnapshot for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshot func (c *Lightsail) GetInstanceSnapshot(input *GetInstanceSnapshotInput) (*GetInstanceSnapshotOutput, error) { @@ -10173,14 +10173,13 @@ const opGetInstanceSnapshots = "GetInstanceSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInstanceSnapshotsRequest method. +// req, resp := client.GetInstanceSnapshotsRequest(params) // -// // Example sending a request using the GetInstanceSnapshotsRequest method. -// req, resp := client.GetInstanceSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshots func (c *Lightsail) GetInstanceSnapshotsRequest(input *GetInstanceSnapshotsInput) (req *request.Request, output *GetInstanceSnapshotsOutput) { @@ -10211,33 +10210,34 @@ func (c *Lightsail) GetInstanceSnapshotsRequest(input *GetInstanceSnapshotsInput // API operation GetInstanceSnapshots for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshots func (c *Lightsail) GetInstanceSnapshots(input *GetInstanceSnapshotsInput) (*GetInstanceSnapshotsOutput, error) { @@ -10277,14 +10277,13 @@ const opGetInstanceState = "GetInstanceState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInstanceStateRequest method. +// req, resp := client.GetInstanceStateRequest(params) // -// // Example sending a request using the GetInstanceStateRequest method. -// req, resp := client.GetInstanceStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceState func (c *Lightsail) GetInstanceStateRequest(input *GetInstanceStateInput) (req *request.Request, output *GetInstanceStateOutput) { @@ -10315,33 +10314,34 @@ func (c *Lightsail) GetInstanceStateRequest(input *GetInstanceStateInput) (req * // API operation GetInstanceState for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceState func (c *Lightsail) GetInstanceState(input *GetInstanceStateInput) (*GetInstanceStateOutput, error) { @@ -10381,14 +10381,13 @@ const opGetInstances = "GetInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInstancesRequest method. +// req, resp := client.GetInstancesRequest(params) // -// // Example sending a request using the GetInstancesRequest method. -// req, resp := client.GetInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstances func (c *Lightsail) GetInstancesRequest(input *GetInstancesInput) (req *request.Request, output *GetInstancesOutput) { @@ -10420,33 +10419,34 @@ func (c *Lightsail) GetInstancesRequest(input *GetInstancesInput) (req *request. // API operation GetInstances for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstances func (c *Lightsail) GetInstances(input *GetInstancesInput) (*GetInstancesOutput, error) { @@ -10486,14 +10486,13 @@ const opGetKeyPair = "GetKeyPair" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetKeyPairRequest method. +// req, resp := client.GetKeyPairRequest(params) // -// // Example sending a request using the GetKeyPairRequest method. -// req, resp := client.GetKeyPairRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPair func (c *Lightsail) GetKeyPairRequest(input *GetKeyPairInput) (req *request.Request, output *GetKeyPairOutput) { @@ -10524,33 +10523,34 @@ func (c *Lightsail) GetKeyPairRequest(input *GetKeyPairInput) (req *request.Requ // API operation GetKeyPair for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPair func (c *Lightsail) GetKeyPair(input *GetKeyPairInput) (*GetKeyPairOutput, error) { @@ -10590,14 +10590,13 @@ const opGetKeyPairs = "GetKeyPairs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetKeyPairsRequest method. +// req, resp := client.GetKeyPairsRequest(params) // -// // Example sending a request using the GetKeyPairsRequest method. -// req, resp := client.GetKeyPairsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairs func (c *Lightsail) GetKeyPairsRequest(input *GetKeyPairsInput) (req *request.Request, output *GetKeyPairsOutput) { @@ -10628,33 +10627,34 @@ func (c *Lightsail) GetKeyPairsRequest(input *GetKeyPairsInput) (req *request.Re // API operation GetKeyPairs for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairs func (c *Lightsail) GetKeyPairs(input *GetKeyPairsInput) (*GetKeyPairsOutput, error) { @@ -10694,14 +10694,13 @@ const opGetLoadBalancer = "GetLoadBalancer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLoadBalancerRequest method. +// req, resp := client.GetLoadBalancerRequest(params) // -// // Example sending a request using the GetLoadBalancerRequest method. -// req, resp := client.GetLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancer func (c *Lightsail) GetLoadBalancerRequest(input *GetLoadBalancerInput) (req *request.Request, output *GetLoadBalancerOutput) { @@ -10732,33 +10731,34 @@ func (c *Lightsail) GetLoadBalancerRequest(input *GetLoadBalancerInput) (req *re // API operation GetLoadBalancer for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancer func (c *Lightsail) GetLoadBalancer(input *GetLoadBalancerInput) (*GetLoadBalancerOutput, error) { @@ -10798,14 +10798,13 @@ const opGetLoadBalancerMetricData = "GetLoadBalancerMetricData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLoadBalancerMetricDataRequest method. +// req, resp := client.GetLoadBalancerMetricDataRequest(params) // -// // Example sending a request using the GetLoadBalancerMetricDataRequest method. -// req, resp := client.GetLoadBalancerMetricDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricData func (c *Lightsail) GetLoadBalancerMetricDataRequest(input *GetLoadBalancerMetricDataInput) (req *request.Request, output *GetLoadBalancerMetricDataOutput) { @@ -10840,33 +10839,34 @@ func (c *Lightsail) GetLoadBalancerMetricDataRequest(input *GetLoadBalancerMetri // API operation GetLoadBalancerMetricData for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricData func (c *Lightsail) GetLoadBalancerMetricData(input *GetLoadBalancerMetricDataInput) (*GetLoadBalancerMetricDataOutput, error) { @@ -10906,14 +10906,13 @@ const opGetLoadBalancerTlsCertificates = "GetLoadBalancerTlsCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLoadBalancerTlsCertificatesRequest method. +// req, resp := client.GetLoadBalancerTlsCertificatesRequest(params) // -// // Example sending a request using the GetLoadBalancerTlsCertificatesRequest method. -// req, resp := client.GetLoadBalancerTlsCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsCertificates func (c *Lightsail) GetLoadBalancerTlsCertificatesRequest(input *GetLoadBalancerTlsCertificatesInput) (req *request.Request, output *GetLoadBalancerTlsCertificatesOutput) { @@ -10950,33 +10949,34 @@ func (c *Lightsail) GetLoadBalancerTlsCertificatesRequest(input *GetLoadBalancer // API operation GetLoadBalancerTlsCertificates for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsCertificates func (c *Lightsail) GetLoadBalancerTlsCertificates(input *GetLoadBalancerTlsCertificatesInput) (*GetLoadBalancerTlsCertificatesOutput, error) { @@ -11016,14 +11016,13 @@ const opGetLoadBalancerTlsPolicies = "GetLoadBalancerTlsPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLoadBalancerTlsPoliciesRequest method. +// req, resp := client.GetLoadBalancerTlsPoliciesRequest(params) // -// // Example sending a request using the GetLoadBalancerTlsPoliciesRequest method. -// req, resp := client.GetLoadBalancerTlsPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsPolicies func (c *Lightsail) GetLoadBalancerTlsPoliciesRequest(input *GetLoadBalancerTlsPoliciesInput) (req *request.Request, output *GetLoadBalancerTlsPoliciesOutput) { @@ -11059,27 +11058,28 @@ func (c *Lightsail) GetLoadBalancerTlsPoliciesRequest(input *GetLoadBalancerTlsP // API operation GetLoadBalancerTlsPolicies for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - ServiceException +// A general service exception. +// +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsPolicies func (c *Lightsail) GetLoadBalancerTlsPolicies(input *GetLoadBalancerTlsPoliciesInput) (*GetLoadBalancerTlsPoliciesOutput, error) { @@ -11119,14 +11119,13 @@ const opGetLoadBalancers = "GetLoadBalancers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLoadBalancersRequest method. +// req, resp := client.GetLoadBalancersRequest(params) // -// // Example sending a request using the GetLoadBalancersRequest method. -// req, resp := client.GetLoadBalancersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancers func (c *Lightsail) GetLoadBalancersRequest(input *GetLoadBalancersInput) (req *request.Request, output *GetLoadBalancersOutput) { @@ -11157,33 +11156,34 @@ func (c *Lightsail) GetLoadBalancersRequest(input *GetLoadBalancersInput) (req * // API operation GetLoadBalancers for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancers func (c *Lightsail) GetLoadBalancers(input *GetLoadBalancersInput) (*GetLoadBalancersOutput, error) { @@ -11223,14 +11223,13 @@ const opGetOperation = "GetOperation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOperationRequest method. +// req, resp := client.GetOperationRequest(params) // -// // Example sending a request using the GetOperationRequest method. -// req, resp := client.GetOperationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperation func (c *Lightsail) GetOperationRequest(input *GetOperationInput) (req *request.Request, output *GetOperationOutput) { @@ -11263,33 +11262,34 @@ func (c *Lightsail) GetOperationRequest(input *GetOperationInput) (req *request. // API operation GetOperation for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperation func (c *Lightsail) GetOperation(input *GetOperationInput) (*GetOperationOutput, error) { @@ -11329,14 +11329,13 @@ const opGetOperations = "GetOperations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOperationsRequest method. +// req, resp := client.GetOperationsRequest(params) // -// // Example sending a request using the GetOperationsRequest method. -// req, resp := client.GetOperationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperations func (c *Lightsail) GetOperationsRequest(input *GetOperationsInput) (req *request.Request, output *GetOperationsOutput) { @@ -11371,33 +11370,34 @@ func (c *Lightsail) GetOperationsRequest(input *GetOperationsInput) (req *reques // API operation GetOperations for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperations func (c *Lightsail) GetOperations(input *GetOperationsInput) (*GetOperationsOutput, error) { @@ -11437,14 +11437,13 @@ const opGetOperationsForResource = "GetOperationsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOperationsForResourceRequest method. +// req, resp := client.GetOperationsForResourceRequest(params) // -// // Example sending a request using the GetOperationsForResourceRequest method. -// req, resp := client.GetOperationsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResource func (c *Lightsail) GetOperationsForResourceRequest(input *GetOperationsForResourceInput) (req *request.Request, output *GetOperationsForResourceOutput) { @@ -11475,33 +11474,34 @@ func (c *Lightsail) GetOperationsForResourceRequest(input *GetOperationsForResou // API operation GetOperationsForResource for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResource func (c *Lightsail) GetOperationsForResource(input *GetOperationsForResourceInput) (*GetOperationsForResourceOutput, error) { @@ -11541,14 +11541,13 @@ const opGetRegions = "GetRegions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRegionsRequest method. +// req, resp := client.GetRegionsRequest(params) // -// // Example sending a request using the GetRegionsRequest method. -// req, resp := client.GetRegionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegions func (c *Lightsail) GetRegionsRequest(input *GetRegionsInput) (req *request.Request, output *GetRegionsOutput) { @@ -11580,33 +11579,34 @@ func (c *Lightsail) GetRegionsRequest(input *GetRegionsInput) (req *request.Requ // API operation GetRegions for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegions func (c *Lightsail) GetRegions(input *GetRegionsInput) (*GetRegionsOutput, error) { @@ -11646,14 +11646,13 @@ const opGetRelationalDatabase = "GetRelationalDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRelationalDatabaseRequest method. +// req, resp := client.GetRelationalDatabaseRequest(params) // -// // Example sending a request using the GetRelationalDatabaseRequest method. -// req, resp := client.GetRelationalDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabase func (c *Lightsail) GetRelationalDatabaseRequest(input *GetRelationalDatabaseInput) (req *request.Request, output *GetRelationalDatabaseOutput) { @@ -11684,33 +11683,34 @@ func (c *Lightsail) GetRelationalDatabaseRequest(input *GetRelationalDatabaseInp // API operation GetRelationalDatabase for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabase func (c *Lightsail) GetRelationalDatabase(input *GetRelationalDatabaseInput) (*GetRelationalDatabaseOutput, error) { @@ -11750,14 +11750,13 @@ const opGetRelationalDatabaseBlueprints = "GetRelationalDatabaseBlueprints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRelationalDatabaseBlueprintsRequest method. +// req, resp := client.GetRelationalDatabaseBlueprintsRequest(params) // -// // Example sending a request using the GetRelationalDatabaseBlueprintsRequest method. -// req, resp := client.GetRelationalDatabaseBlueprintsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseBlueprints func (c *Lightsail) GetRelationalDatabaseBlueprintsRequest(input *GetRelationalDatabaseBlueprintsInput) (req *request.Request, output *GetRelationalDatabaseBlueprintsOutput) { @@ -11792,33 +11791,34 @@ func (c *Lightsail) GetRelationalDatabaseBlueprintsRequest(input *GetRelationalD // API operation GetRelationalDatabaseBlueprints for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseBlueprints func (c *Lightsail) GetRelationalDatabaseBlueprints(input *GetRelationalDatabaseBlueprintsInput) (*GetRelationalDatabaseBlueprintsOutput, error) { @@ -11858,14 +11858,13 @@ const opGetRelationalDatabaseBundles = "GetRelationalDatabaseBundles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRelationalDatabaseBundlesRequest method. +// req, resp := client.GetRelationalDatabaseBundlesRequest(params) // -// // Example sending a request using the GetRelationalDatabaseBundlesRequest method. -// req, resp := client.GetRelationalDatabaseBundlesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseBundles func (c *Lightsail) GetRelationalDatabaseBundlesRequest(input *GetRelationalDatabaseBundlesInput) (req *request.Request, output *GetRelationalDatabaseBundlesOutput) { @@ -11900,33 +11899,34 @@ func (c *Lightsail) GetRelationalDatabaseBundlesRequest(input *GetRelationalData // API operation GetRelationalDatabaseBundles for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseBundles func (c *Lightsail) GetRelationalDatabaseBundles(input *GetRelationalDatabaseBundlesInput) (*GetRelationalDatabaseBundlesOutput, error) { @@ -11966,14 +11966,13 @@ const opGetRelationalDatabaseEvents = "GetRelationalDatabaseEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRelationalDatabaseEventsRequest method. +// req, resp := client.GetRelationalDatabaseEventsRequest(params) // -// // Example sending a request using the GetRelationalDatabaseEventsRequest method. -// req, resp := client.GetRelationalDatabaseEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseEvents func (c *Lightsail) GetRelationalDatabaseEventsRequest(input *GetRelationalDatabaseEventsInput) (req *request.Request, output *GetRelationalDatabaseEventsOutput) { @@ -12004,33 +12003,34 @@ func (c *Lightsail) GetRelationalDatabaseEventsRequest(input *GetRelationalDatab // API operation GetRelationalDatabaseEvents for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseEvents func (c *Lightsail) GetRelationalDatabaseEvents(input *GetRelationalDatabaseEventsInput) (*GetRelationalDatabaseEventsOutput, error) { @@ -12070,14 +12070,13 @@ const opGetRelationalDatabaseLogEvents = "GetRelationalDatabaseLogEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRelationalDatabaseLogEventsRequest method. +// req, resp := client.GetRelationalDatabaseLogEventsRequest(params) // -// // Example sending a request using the GetRelationalDatabaseLogEventsRequest method. -// req, resp := client.GetRelationalDatabaseLogEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseLogEvents func (c *Lightsail) GetRelationalDatabaseLogEventsRequest(input *GetRelationalDatabaseLogEventsInput) (req *request.Request, output *GetRelationalDatabaseLogEventsOutput) { @@ -12108,33 +12107,34 @@ func (c *Lightsail) GetRelationalDatabaseLogEventsRequest(input *GetRelationalDa // API operation GetRelationalDatabaseLogEvents for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseLogEvents func (c *Lightsail) GetRelationalDatabaseLogEvents(input *GetRelationalDatabaseLogEventsInput) (*GetRelationalDatabaseLogEventsOutput, error) { @@ -12174,14 +12174,13 @@ const opGetRelationalDatabaseLogStreams = "GetRelationalDatabaseLogStreams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRelationalDatabaseLogStreamsRequest method. +// req, resp := client.GetRelationalDatabaseLogStreamsRequest(params) // -// // Example sending a request using the GetRelationalDatabaseLogStreamsRequest method. -// req, resp := client.GetRelationalDatabaseLogStreamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseLogStreams func (c *Lightsail) GetRelationalDatabaseLogStreamsRequest(input *GetRelationalDatabaseLogStreamsInput) (req *request.Request, output *GetRelationalDatabaseLogStreamsOutput) { @@ -12213,33 +12212,34 @@ func (c *Lightsail) GetRelationalDatabaseLogStreamsRequest(input *GetRelationalD // API operation GetRelationalDatabaseLogStreams for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseLogStreams func (c *Lightsail) GetRelationalDatabaseLogStreams(input *GetRelationalDatabaseLogStreamsInput) (*GetRelationalDatabaseLogStreamsOutput, error) { @@ -12279,14 +12279,13 @@ const opGetRelationalDatabaseMasterUserPassword = "GetRelationalDatabaseMasterUs // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRelationalDatabaseMasterUserPasswordRequest method. +// req, resp := client.GetRelationalDatabaseMasterUserPasswordRequest(params) // -// // Example sending a request using the GetRelationalDatabaseMasterUserPasswordRequest method. -// req, resp := client.GetRelationalDatabaseMasterUserPasswordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseMasterUserPassword func (c *Lightsail) GetRelationalDatabaseMasterUserPasswordRequest(input *GetRelationalDatabaseMasterUserPasswordInput) (req *request.Request, output *GetRelationalDatabaseMasterUserPasswordOutput) { @@ -12321,33 +12320,34 @@ func (c *Lightsail) GetRelationalDatabaseMasterUserPasswordRequest(input *GetRel // API operation GetRelationalDatabaseMasterUserPassword for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseMasterUserPassword func (c *Lightsail) GetRelationalDatabaseMasterUserPassword(input *GetRelationalDatabaseMasterUserPasswordInput) (*GetRelationalDatabaseMasterUserPasswordOutput, error) { @@ -12387,14 +12387,13 @@ const opGetRelationalDatabaseMetricData = "GetRelationalDatabaseMetricData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRelationalDatabaseMetricDataRequest method. +// req, resp := client.GetRelationalDatabaseMetricDataRequest(params) // -// // Example sending a request using the GetRelationalDatabaseMetricDataRequest method. -// req, resp := client.GetRelationalDatabaseMetricDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseMetricData func (c *Lightsail) GetRelationalDatabaseMetricDataRequest(input *GetRelationalDatabaseMetricDataInput) (req *request.Request, output *GetRelationalDatabaseMetricDataOutput) { @@ -12430,33 +12429,34 @@ func (c *Lightsail) GetRelationalDatabaseMetricDataRequest(input *GetRelationalD // API operation GetRelationalDatabaseMetricData for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseMetricData func (c *Lightsail) GetRelationalDatabaseMetricData(input *GetRelationalDatabaseMetricDataInput) (*GetRelationalDatabaseMetricDataOutput, error) { @@ -12496,14 +12496,13 @@ const opGetRelationalDatabaseParameters = "GetRelationalDatabaseParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRelationalDatabaseParametersRequest method. +// req, resp := client.GetRelationalDatabaseParametersRequest(params) // -// // Example sending a request using the GetRelationalDatabaseParametersRequest method. -// req, resp := client.GetRelationalDatabaseParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseParameters func (c *Lightsail) GetRelationalDatabaseParametersRequest(input *GetRelationalDatabaseParametersInput) (req *request.Request, output *GetRelationalDatabaseParametersOutput) { @@ -12540,33 +12539,34 @@ func (c *Lightsail) GetRelationalDatabaseParametersRequest(input *GetRelationalD // API operation GetRelationalDatabaseParameters for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseParameters func (c *Lightsail) GetRelationalDatabaseParameters(input *GetRelationalDatabaseParametersInput) (*GetRelationalDatabaseParametersOutput, error) { @@ -12606,14 +12606,13 @@ const opGetRelationalDatabaseSnapshot = "GetRelationalDatabaseSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRelationalDatabaseSnapshotRequest method. +// req, resp := client.GetRelationalDatabaseSnapshotRequest(params) // -// // Example sending a request using the GetRelationalDatabaseSnapshotRequest method. -// req, resp := client.GetRelationalDatabaseSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseSnapshot func (c *Lightsail) GetRelationalDatabaseSnapshotRequest(input *GetRelationalDatabaseSnapshotInput) (req *request.Request, output *GetRelationalDatabaseSnapshotOutput) { @@ -12644,33 +12643,34 @@ func (c *Lightsail) GetRelationalDatabaseSnapshotRequest(input *GetRelationalDat // API operation GetRelationalDatabaseSnapshot for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseSnapshot func (c *Lightsail) GetRelationalDatabaseSnapshot(input *GetRelationalDatabaseSnapshotInput) (*GetRelationalDatabaseSnapshotOutput, error) { @@ -12710,14 +12710,13 @@ const opGetRelationalDatabaseSnapshots = "GetRelationalDatabaseSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRelationalDatabaseSnapshotsRequest method. +// req, resp := client.GetRelationalDatabaseSnapshotsRequest(params) // -// // Example sending a request using the GetRelationalDatabaseSnapshotsRequest method. -// req, resp := client.GetRelationalDatabaseSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseSnapshots func (c *Lightsail) GetRelationalDatabaseSnapshotsRequest(input *GetRelationalDatabaseSnapshotsInput) (req *request.Request, output *GetRelationalDatabaseSnapshotsOutput) { @@ -12748,33 +12747,34 @@ func (c *Lightsail) GetRelationalDatabaseSnapshotsRequest(input *GetRelationalDa // API operation GetRelationalDatabaseSnapshots for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseSnapshots func (c *Lightsail) GetRelationalDatabaseSnapshots(input *GetRelationalDatabaseSnapshotsInput) (*GetRelationalDatabaseSnapshotsOutput, error) { @@ -12814,14 +12814,13 @@ const opGetRelationalDatabases = "GetRelationalDatabases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRelationalDatabasesRequest method. +// req, resp := client.GetRelationalDatabasesRequest(params) // -// // Example sending a request using the GetRelationalDatabasesRequest method. -// req, resp := client.GetRelationalDatabasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabases func (c *Lightsail) GetRelationalDatabasesRequest(input *GetRelationalDatabasesInput) (req *request.Request, output *GetRelationalDatabasesOutput) { @@ -12852,33 +12851,34 @@ func (c *Lightsail) GetRelationalDatabasesRequest(input *GetRelationalDatabasesI // API operation GetRelationalDatabases for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabases func (c *Lightsail) GetRelationalDatabases(input *GetRelationalDatabasesInput) (*GetRelationalDatabasesOutput, error) { @@ -12918,14 +12918,13 @@ const opGetStaticIp = "GetStaticIp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStaticIpRequest method. +// req, resp := client.GetStaticIpRequest(params) // -// // Example sending a request using the GetStaticIpRequest method. -// req, resp := client.GetStaticIpRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIp func (c *Lightsail) GetStaticIpRequest(input *GetStaticIpInput) (req *request.Request, output *GetStaticIpOutput) { @@ -12956,33 +12955,34 @@ func (c *Lightsail) GetStaticIpRequest(input *GetStaticIpInput) (req *request.Re // API operation GetStaticIp for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIp func (c *Lightsail) GetStaticIp(input *GetStaticIpInput) (*GetStaticIpOutput, error) { @@ -13022,14 +13022,13 @@ const opGetStaticIps = "GetStaticIps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStaticIpsRequest method. +// req, resp := client.GetStaticIpsRequest(params) // -// // Example sending a request using the GetStaticIpsRequest method. -// req, resp := client.GetStaticIpsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIps func (c *Lightsail) GetStaticIpsRequest(input *GetStaticIpsInput) (req *request.Request, output *GetStaticIpsOutput) { @@ -13060,33 +13059,34 @@ func (c *Lightsail) GetStaticIpsRequest(input *GetStaticIpsInput) (req *request. // API operation GetStaticIps for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIps func (c *Lightsail) GetStaticIps(input *GetStaticIpsInput) (*GetStaticIpsOutput, error) { @@ -13126,14 +13126,13 @@ const opImportKeyPair = "ImportKeyPair" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportKeyPairRequest method. +// req, resp := client.ImportKeyPairRequest(params) // -// // Example sending a request using the ImportKeyPairRequest method. -// req, resp := client.ImportKeyPairRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPair func (c *Lightsail) ImportKeyPairRequest(input *ImportKeyPairInput) (req *request.Request, output *ImportKeyPairOutput) { @@ -13164,33 +13163,34 @@ func (c *Lightsail) ImportKeyPairRequest(input *ImportKeyPairInput) (req *reques // API operation ImportKeyPair for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPair func (c *Lightsail) ImportKeyPair(input *ImportKeyPairInput) (*ImportKeyPairOutput, error) { @@ -13230,14 +13230,13 @@ const opIsVpcPeered = "IsVpcPeered" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the IsVpcPeeredRequest method. +// req, resp := client.IsVpcPeeredRequest(params) // -// // Example sending a request using the IsVpcPeeredRequest method. -// req, resp := client.IsVpcPeeredRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeered func (c *Lightsail) IsVpcPeeredRequest(input *IsVpcPeeredInput) (req *request.Request, output *IsVpcPeeredOutput) { @@ -13268,33 +13267,34 @@ func (c *Lightsail) IsVpcPeeredRequest(input *IsVpcPeeredInput) (req *request.Re // API operation IsVpcPeered for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeered func (c *Lightsail) IsVpcPeered(input *IsVpcPeeredInput) (*IsVpcPeeredOutput, error) { @@ -13334,14 +13334,13 @@ const opOpenInstancePublicPorts = "OpenInstancePublicPorts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OpenInstancePublicPortsRequest method. +// req, resp := client.OpenInstancePublicPortsRequest(params) // -// // Example sending a request using the OpenInstancePublicPortsRequest method. -// req, resp := client.OpenInstancePublicPortsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPorts func (c *Lightsail) OpenInstancePublicPortsRequest(input *OpenInstancePublicPortsInput) (req *request.Request, output *OpenInstancePublicPortsOutput) { @@ -13377,33 +13376,34 @@ func (c *Lightsail) OpenInstancePublicPortsRequest(input *OpenInstancePublicPort // API operation OpenInstancePublicPorts for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPorts func (c *Lightsail) OpenInstancePublicPorts(input *OpenInstancePublicPortsInput) (*OpenInstancePublicPortsOutput, error) { @@ -13443,14 +13443,13 @@ const opPeerVpc = "PeerVpc" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PeerVpcRequest method. +// req, resp := client.PeerVpcRequest(params) // -// // Example sending a request using the PeerVpcRequest method. -// req, resp := client.PeerVpcRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpc func (c *Lightsail) PeerVpcRequest(input *PeerVpcInput) (req *request.Request, output *PeerVpcOutput) { @@ -13481,33 +13480,34 @@ func (c *Lightsail) PeerVpcRequest(input *PeerVpcInput) (req *request.Request, o // API operation PeerVpc for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpc func (c *Lightsail) PeerVpc(input *PeerVpcInput) (*PeerVpcOutput, error) { @@ -13547,14 +13547,13 @@ const opPutAlarm = "PutAlarm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAlarmRequest method. +// req, resp := client.PutAlarmRequest(params) // -// // Example sending a request using the PutAlarmRequest method. -// req, resp := client.PutAlarmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutAlarm func (c *Lightsail) PutAlarmRequest(input *PutAlarmInput) (req *request.Request, output *PutAlarmOutput) { @@ -13598,29 +13597,30 @@ func (c *Lightsail) PutAlarmRequest(input *PutAlarmInput) (req *request.Request, // API operation PutAlarm for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutAlarm func (c *Lightsail) PutAlarm(input *PutAlarmInput) (*PutAlarmOutput, error) { @@ -13660,14 +13660,13 @@ const opPutInstancePublicPorts = "PutInstancePublicPorts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutInstancePublicPortsRequest method. +// req, resp := client.PutInstancePublicPortsRequest(params) // -// // Example sending a request using the PutInstancePublicPortsRequest method. -// req, resp := client.PutInstancePublicPortsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPorts func (c *Lightsail) PutInstancePublicPortsRequest(input *PutInstancePublicPortsInput) (req *request.Request, output *PutInstancePublicPortsOutput) { @@ -13707,33 +13706,34 @@ func (c *Lightsail) PutInstancePublicPortsRequest(input *PutInstancePublicPortsI // API operation PutInstancePublicPorts for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPorts func (c *Lightsail) PutInstancePublicPorts(input *PutInstancePublicPortsInput) (*PutInstancePublicPortsOutput, error) { @@ -13773,14 +13773,13 @@ const opRebootInstance = "RebootInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebootInstanceRequest method. +// req, resp := client.RebootInstanceRequest(params) // -// // Example sending a request using the RebootInstanceRequest method. -// req, resp := client.RebootInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstance func (c *Lightsail) RebootInstanceRequest(input *RebootInstanceInput) (req *request.Request, output *RebootInstanceOutput) { @@ -13815,33 +13814,34 @@ func (c *Lightsail) RebootInstanceRequest(input *RebootInstanceInput) (req *requ // API operation RebootInstance for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstance func (c *Lightsail) RebootInstance(input *RebootInstanceInput) (*RebootInstanceOutput, error) { @@ -13881,14 +13881,13 @@ const opRebootRelationalDatabase = "RebootRelationalDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebootRelationalDatabaseRequest method. +// req, resp := client.RebootRelationalDatabaseRequest(params) // -// // Example sending a request using the RebootRelationalDatabaseRequest method. -// req, resp := client.RebootRelationalDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootRelationalDatabase func (c *Lightsail) RebootRelationalDatabaseRequest(input *RebootRelationalDatabaseInput) (req *request.Request, output *RebootRelationalDatabaseOutput) { @@ -13923,33 +13922,34 @@ func (c *Lightsail) RebootRelationalDatabaseRequest(input *RebootRelationalDatab // API operation RebootRelationalDatabase for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootRelationalDatabase func (c *Lightsail) RebootRelationalDatabase(input *RebootRelationalDatabaseInput) (*RebootRelationalDatabaseOutput, error) { @@ -13989,14 +13989,13 @@ const opRegisterContainerImage = "RegisterContainerImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterContainerImageRequest method. +// req, resp := client.RegisterContainerImageRequest(params) // -// // Example sending a request using the RegisterContainerImageRequest method. -// req, resp := client.RegisterContainerImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RegisterContainerImage func (c *Lightsail) RegisterContainerImageRequest(input *RegisterContainerImageInput) (req *request.Request, output *RegisterContainerImageOutput) { @@ -14033,26 +14032,27 @@ func (c *Lightsail) RegisterContainerImageRequest(input *RegisterContainerImageI // API operation RegisterContainerImage for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RegisterContainerImage func (c *Lightsail) RegisterContainerImage(input *RegisterContainerImageInput) (*RegisterContainerImageOutput, error) { @@ -14092,14 +14092,13 @@ const opReleaseStaticIp = "ReleaseStaticIp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReleaseStaticIpRequest method. +// req, resp := client.ReleaseStaticIpRequest(params) // -// // Example sending a request using the ReleaseStaticIpRequest method. -// req, resp := client.ReleaseStaticIpRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIp func (c *Lightsail) ReleaseStaticIpRequest(input *ReleaseStaticIpInput) (req *request.Request, output *ReleaseStaticIpOutput) { @@ -14130,33 +14129,34 @@ func (c *Lightsail) ReleaseStaticIpRequest(input *ReleaseStaticIpInput) (req *re // API operation ReleaseStaticIp for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIp func (c *Lightsail) ReleaseStaticIp(input *ReleaseStaticIpInput) (*ReleaseStaticIpOutput, error) { @@ -14196,14 +14196,13 @@ const opResetDistributionCache = "ResetDistributionCache" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetDistributionCacheRequest method. +// req, resp := client.ResetDistributionCacheRequest(params) // -// // Example sending a request using the ResetDistributionCacheRequest method. -// req, resp := client.ResetDistributionCacheRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ResetDistributionCache func (c *Lightsail) ResetDistributionCacheRequest(input *ResetDistributionCacheInput) (req *request.Request, output *ResetDistributionCacheOutput) { @@ -14238,29 +14237,30 @@ func (c *Lightsail) ResetDistributionCacheRequest(input *ResetDistributionCacheI // API operation ResetDistributionCache for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ResetDistributionCache func (c *Lightsail) ResetDistributionCache(input *ResetDistributionCacheInput) (*ResetDistributionCacheOutput, error) { @@ -14300,14 +14300,13 @@ const opSendContactMethodVerification = "SendContactMethodVerification" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendContactMethodVerificationRequest method. +// req, resp := client.SendContactMethodVerificationRequest(params) // -// // Example sending a request using the SendContactMethodVerificationRequest method. -// req, resp := client.SendContactMethodVerificationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/SendContactMethodVerification func (c *Lightsail) SendContactMethodVerificationRequest(input *SendContactMethodVerificationInput) (req *request.Request, output *SendContactMethodVerificationOutput) { @@ -14353,29 +14352,30 @@ func (c *Lightsail) SendContactMethodVerificationRequest(input *SendContactMetho // API operation SendContactMethodVerification for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/SendContactMethodVerification func (c *Lightsail) SendContactMethodVerification(input *SendContactMethodVerificationInput) (*SendContactMethodVerificationOutput, error) { @@ -14415,14 +14415,13 @@ const opSetIpAddressType = "SetIpAddressType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetIpAddressTypeRequest method. +// req, resp := client.SetIpAddressTypeRequest(params) // -// // Example sending a request using the SetIpAddressTypeRequest method. -// req, resp := client.SetIpAddressTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/SetIpAddressType func (c *Lightsail) SetIpAddressTypeRequest(input *SetIpAddressTypeInput) (req *request.Request, output *SetIpAddressTypeOutput) { @@ -14457,33 +14456,34 @@ func (c *Lightsail) SetIpAddressTypeRequest(input *SetIpAddressTypeInput) (req * // API operation SetIpAddressType for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/SetIpAddressType func (c *Lightsail) SetIpAddressType(input *SetIpAddressTypeInput) (*SetIpAddressTypeOutput, error) { @@ -14523,14 +14523,13 @@ const opSetResourceAccessForBucket = "SetResourceAccessForBucket" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetResourceAccessForBucketRequest method. +// req, resp := client.SetResourceAccessForBucketRequest(params) // -// // Example sending a request using the SetResourceAccessForBucketRequest method. -// req, resp := client.SetResourceAccessForBucketRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/SetResourceAccessForBucket func (c *Lightsail) SetResourceAccessForBucketRequest(input *SetResourceAccessForBucketInput) (req *request.Request, output *SetResourceAccessForBucketOutput) { @@ -14565,26 +14564,27 @@ func (c *Lightsail) SetResourceAccessForBucketRequest(input *SetResourceAccessFo // API operation SetResourceAccessForBucket for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * ServiceException -// A general service exception. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - ServiceException +// A general service exception. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/SetResourceAccessForBucket func (c *Lightsail) SetResourceAccessForBucket(input *SetResourceAccessForBucketInput) (*SetResourceAccessForBucketOutput, error) { @@ -14624,14 +14624,13 @@ const opStartInstance = "StartInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartInstanceRequest method. +// req, resp := client.StartInstanceRequest(params) // -// // Example sending a request using the StartInstanceRequest method. -// req, resp := client.StartInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstance func (c *Lightsail) StartInstanceRequest(input *StartInstanceInput) (req *request.Request, output *StartInstanceOutput) { @@ -14672,33 +14671,34 @@ func (c *Lightsail) StartInstanceRequest(input *StartInstanceInput) (req *reques // API operation StartInstance for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstance func (c *Lightsail) StartInstance(input *StartInstanceInput) (*StartInstanceOutput, error) { @@ -14738,14 +14738,13 @@ const opStartRelationalDatabase = "StartRelationalDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartRelationalDatabaseRequest method. +// req, resp := client.StartRelationalDatabaseRequest(params) // -// // Example sending a request using the StartRelationalDatabaseRequest method. -// req, resp := client.StartRelationalDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartRelationalDatabase func (c *Lightsail) StartRelationalDatabaseRequest(input *StartRelationalDatabaseInput) (req *request.Request, output *StartRelationalDatabaseOutput) { @@ -14781,33 +14780,34 @@ func (c *Lightsail) StartRelationalDatabaseRequest(input *StartRelationalDatabas // API operation StartRelationalDatabase for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartRelationalDatabase func (c *Lightsail) StartRelationalDatabase(input *StartRelationalDatabaseInput) (*StartRelationalDatabaseOutput, error) { @@ -14847,14 +14847,13 @@ const opStopInstance = "StopInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopInstanceRequest method. +// req, resp := client.StopInstanceRequest(params) // -// // Example sending a request using the StopInstanceRequest method. -// req, resp := client.StopInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstance func (c *Lightsail) StopInstanceRequest(input *StopInstanceInput) (req *request.Request, output *StopInstanceOutput) { @@ -14894,33 +14893,34 @@ func (c *Lightsail) StopInstanceRequest(input *StopInstanceInput) (req *request. // API operation StopInstance for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstance func (c *Lightsail) StopInstance(input *StopInstanceInput) (*StopInstanceOutput, error) { @@ -14960,14 +14960,13 @@ const opStopRelationalDatabase = "StopRelationalDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopRelationalDatabaseRequest method. +// req, resp := client.StopRelationalDatabaseRequest(params) // -// // Example sending a request using the StopRelationalDatabaseRequest method. -// req, resp := client.StopRelationalDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopRelationalDatabase func (c *Lightsail) StopRelationalDatabaseRequest(input *StopRelationalDatabaseInput) (req *request.Request, output *StopRelationalDatabaseOutput) { @@ -15002,33 +15001,34 @@ func (c *Lightsail) StopRelationalDatabaseRequest(input *StopRelationalDatabaseI // API operation StopRelationalDatabase for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopRelationalDatabase func (c *Lightsail) StopRelationalDatabase(input *StopRelationalDatabaseInput) (*StopRelationalDatabaseOutput, error) { @@ -15068,14 +15068,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/TagResource func (c *Lightsail) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -15113,33 +15112,34 @@ func (c *Lightsail) TagResourceRequest(input *TagResourceInput) (req *request.Re // API operation TagResource for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/TagResource func (c *Lightsail) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -15179,14 +15179,13 @@ const opTestAlarm = "TestAlarm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestAlarmRequest method. +// req, resp := client.TestAlarmRequest(params) // -// // Example sending a request using the TestAlarmRequest method. -// req, resp := client.TestAlarmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/TestAlarm func (c *Lightsail) TestAlarmRequest(input *TestAlarmInput) (req *request.Request, output *TestAlarmOutput) { @@ -15225,29 +15224,30 @@ func (c *Lightsail) TestAlarmRequest(input *TestAlarmInput) (req *request.Reques // API operation TestAlarm for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/TestAlarm func (c *Lightsail) TestAlarm(input *TestAlarmInput) (*TestAlarmOutput, error) { @@ -15287,14 +15287,13 @@ const opUnpeerVpc = "UnpeerVpc" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnpeerVpcRequest method. +// req, resp := client.UnpeerVpcRequest(params) // -// // Example sending a request using the UnpeerVpcRequest method. -// req, resp := client.UnpeerVpcRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpc func (c *Lightsail) UnpeerVpcRequest(input *UnpeerVpcInput) (req *request.Request, output *UnpeerVpcOutput) { @@ -15325,33 +15324,34 @@ func (c *Lightsail) UnpeerVpcRequest(input *UnpeerVpcInput) (req *request.Reques // API operation UnpeerVpc for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpc func (c *Lightsail) UnpeerVpc(input *UnpeerVpcInput) (*UnpeerVpcOutput, error) { @@ -15391,14 +15391,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UntagResource func (c *Lightsail) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -15434,33 +15433,34 @@ func (c *Lightsail) UntagResourceRequest(input *UntagResourceInput) (req *reques // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UntagResource func (c *Lightsail) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -15500,14 +15500,13 @@ const opUpdateBucket = "UpdateBucket" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBucketRequest method. +// req, resp := client.UpdateBucketRequest(params) // -// // Example sending a request using the UpdateBucketRequest method. -// req, resp := client.UpdateBucketRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateBucket func (c *Lightsail) UpdateBucketRequest(input *UpdateBucketInput) (req *request.Request, output *UpdateBucketOutput) { @@ -15542,26 +15541,27 @@ func (c *Lightsail) UpdateBucketRequest(input *UpdateBucketInput) (req *request. // API operation UpdateBucket for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * ServiceException -// A general service exception. +// - ServiceException +// A general service exception. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateBucket func (c *Lightsail) UpdateBucket(input *UpdateBucketInput) (*UpdateBucketOutput, error) { @@ -15601,14 +15601,13 @@ const opUpdateBucketBundle = "UpdateBucketBundle" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBucketBundleRequest method. +// req, resp := client.UpdateBucketBundleRequest(params) // -// // Example sending a request using the UpdateBucketBundleRequest method. -// req, resp := client.UpdateBucketBundleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateBucketBundle func (c *Lightsail) UpdateBucketBundleRequest(input *UpdateBucketBundleInput) (req *request.Request, output *UpdateBucketBundleOutput) { @@ -15655,26 +15654,27 @@ func (c *Lightsail) UpdateBucketBundleRequest(input *UpdateBucketBundleInput) (r // API operation UpdateBucketBundle for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * ServiceException -// A general service exception. +// - ServiceException +// A general service exception. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateBucketBundle func (c *Lightsail) UpdateBucketBundle(input *UpdateBucketBundleInput) (*UpdateBucketBundleOutput, error) { @@ -15714,14 +15714,13 @@ const opUpdateContainerService = "UpdateContainerService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContainerServiceRequest method. +// req, resp := client.UpdateContainerServiceRequest(params) // -// // Example sending a request using the UpdateContainerServiceRequest method. -// req, resp := client.UpdateContainerServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateContainerService func (c *Lightsail) UpdateContainerServiceRequest(input *UpdateContainerServiceInput) (req *request.Request, output *UpdateContainerServiceOutput) { @@ -15753,26 +15752,27 @@ func (c *Lightsail) UpdateContainerServiceRequest(input *UpdateContainerServiceI // API operation UpdateContainerService for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateContainerService func (c *Lightsail) UpdateContainerService(input *UpdateContainerServiceInput) (*UpdateContainerServiceOutput, error) { @@ -15812,14 +15812,13 @@ const opUpdateDistribution = "UpdateDistribution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDistributionRequest method. +// req, resp := client.UpdateDistributionRequest(params) // -// // Example sending a request using the UpdateDistributionRequest method. -// req, resp := client.UpdateDistributionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDistribution func (c *Lightsail) UpdateDistributionRequest(input *UpdateDistributionInput) (req *request.Request, output *UpdateDistributionOutput) { @@ -15852,29 +15851,30 @@ func (c *Lightsail) UpdateDistributionRequest(input *UpdateDistributionInput) (r // API operation UpdateDistribution for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDistribution func (c *Lightsail) UpdateDistribution(input *UpdateDistributionInput) (*UpdateDistributionOutput, error) { @@ -15914,14 +15914,13 @@ const opUpdateDistributionBundle = "UpdateDistributionBundle" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDistributionBundleRequest method. +// req, resp := client.UpdateDistributionBundleRequest(params) // -// // Example sending a request using the UpdateDistributionBundleRequest method. -// req, resp := client.UpdateDistributionBundleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDistributionBundle func (c *Lightsail) UpdateDistributionBundleRequest(input *UpdateDistributionBundleInput) (req *request.Request, output *UpdateDistributionBundleOutput) { @@ -15965,29 +15964,30 @@ func (c *Lightsail) UpdateDistributionBundleRequest(input *UpdateDistributionBun // API operation UpdateDistributionBundle for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. +// +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDistributionBundle func (c *Lightsail) UpdateDistributionBundle(input *UpdateDistributionBundleInput) (*UpdateDistributionBundleOutput, error) { @@ -16027,14 +16027,13 @@ const opUpdateDomainEntry = "UpdateDomainEntry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDomainEntryRequest method. +// req, resp := client.UpdateDomainEntryRequest(params) // -// // Example sending a request using the UpdateDomainEntryRequest method. -// req, resp := client.UpdateDomainEntryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntry func (c *Lightsail) UpdateDomainEntryRequest(input *UpdateDomainEntryInput) (req *request.Request, output *UpdateDomainEntryOutput) { @@ -16069,33 +16068,34 @@ func (c *Lightsail) UpdateDomainEntryRequest(input *UpdateDomainEntryInput) (req // API operation UpdateDomainEntry for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntry func (c *Lightsail) UpdateDomainEntry(input *UpdateDomainEntryInput) (*UpdateDomainEntryOutput, error) { @@ -16135,14 +16135,13 @@ const opUpdateLoadBalancerAttribute = "UpdateLoadBalancerAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLoadBalancerAttributeRequest method. +// req, resp := client.UpdateLoadBalancerAttributeRequest(params) // -// // Example sending a request using the UpdateLoadBalancerAttributeRequest method. -// req, resp := client.UpdateLoadBalancerAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttribute func (c *Lightsail) UpdateLoadBalancerAttributeRequest(input *UpdateLoadBalancerAttributeInput) (req *request.Request, output *UpdateLoadBalancerAttributeOutput) { @@ -16178,33 +16177,34 @@ func (c *Lightsail) UpdateLoadBalancerAttributeRequest(input *UpdateLoadBalancer // API operation UpdateLoadBalancerAttribute for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttribute func (c *Lightsail) UpdateLoadBalancerAttribute(input *UpdateLoadBalancerAttributeInput) (*UpdateLoadBalancerAttributeOutput, error) { @@ -16244,14 +16244,13 @@ const opUpdateRelationalDatabase = "UpdateRelationalDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRelationalDatabaseRequest method. +// req, resp := client.UpdateRelationalDatabaseRequest(params) // -// // Example sending a request using the UpdateRelationalDatabaseRequest method. -// req, resp := client.UpdateRelationalDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateRelationalDatabase func (c *Lightsail) UpdateRelationalDatabaseRequest(input *UpdateRelationalDatabaseInput) (req *request.Request, output *UpdateRelationalDatabaseOutput) { @@ -16289,33 +16288,34 @@ func (c *Lightsail) UpdateRelationalDatabaseRequest(input *UpdateRelationalDatab // API operation UpdateRelationalDatabase for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateRelationalDatabase func (c *Lightsail) UpdateRelationalDatabase(input *UpdateRelationalDatabaseInput) (*UpdateRelationalDatabaseOutput, error) { @@ -16355,14 +16355,13 @@ const opUpdateRelationalDatabaseParameters = "UpdateRelationalDatabaseParameters // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRelationalDatabaseParametersRequest method. +// req, resp := client.UpdateRelationalDatabaseParametersRequest(params) // -// // Example sending a request using the UpdateRelationalDatabaseParametersRequest method. -// req, resp := client.UpdateRelationalDatabaseParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateRelationalDatabaseParameters func (c *Lightsail) UpdateRelationalDatabaseParametersRequest(input *UpdateRelationalDatabaseParametersInput) (req *request.Request, output *UpdateRelationalDatabaseParametersOutput) { @@ -16404,33 +16403,34 @@ func (c *Lightsail) UpdateRelationalDatabaseParametersRequest(input *UpdateRelat // API operation UpdateRelationalDatabaseParameters for usage and error information. // // Returned Error Types: -// * ServiceException -// A general service exception. // -// * InvalidInputException -// Lightsail throws this exception when user input does not conform to the validation -// rules of an input field. +// - ServiceException +// A general service exception. +// +// - InvalidInputException +// Lightsail throws this exception when user input does not conform to the validation +// rules of an input field. // -// Domain and distribution APIs are only available in the N. Virginia (us-east-1) -// Amazon Web Services Region. Please set your Amazon Web Services Region configuration -// to us-east-1 to create, view, or edit these resources. +// Domain and distribution APIs are only available in the N. Virginia (us-east-1) +// Amazon Web Services Region. Please set your Amazon Web Services Region configuration +// to us-east-1 to create, view, or edit these resources. // -// * NotFoundException -// Lightsail throws this exception when it cannot find a resource. +// - NotFoundException +// Lightsail throws this exception when it cannot find a resource. // -// * OperationFailureException -// Lightsail throws this exception when an operation fails to execute. +// - OperationFailureException +// Lightsail throws this exception when an operation fails to execute. // -// * AccessDeniedException -// Lightsail throws this exception when the user cannot be authenticated or -// uses invalid credentials to access a resource. +// - AccessDeniedException +// Lightsail throws this exception when the user cannot be authenticated or +// uses invalid credentials to access a resource. // -// * AccountSetupInProgressException -// Lightsail throws this exception when an account is still in the setup in -// progress state. +// - AccountSetupInProgressException +// Lightsail throws this exception when an account is still in the setup in +// progress state. // -// * UnauthenticatedException -// Lightsail throws this exception when the user has not been authenticated. +// - UnauthenticatedException +// Lightsail throws this exception when the user has not been authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateRelationalDatabaseParameters func (c *Lightsail) UpdateRelationalDatabaseParameters(input *UpdateRelationalDatabaseParametersInput) (*UpdateRelationalDatabaseParametersOutput, error) { @@ -17959,31 +17959,31 @@ func (s *AttachedDisk) SetSizeInGb(v int64) *AttachedDisk { // When you modify the automatic snapshot time for a resource, it is typically // effective immediately except under the following conditions: // -// * If an automatic snapshot has been created for the current day, and you -// change the snapshot time to a later time of day, then the new snapshot -// time will be effective the following day. This ensures that two snapshots -// are not created for the current day. -// -// * If an automatic snapshot has not yet been created for the current day, -// and you change the snapshot time to an earlier time of day, then the new -// snapshot time will be effective the following day and a snapshot is automatically -// created at the previously set time for the current day. This ensures that -// a snapshot is created for the current day. -// -// * If an automatic snapshot has not yet been created for the current day, -// and you change the snapshot time to a time that is within 30 minutes from -// your current time, then the new snapshot time will be effective the following -// day and a snapshot is automatically created at the previously set time -// for the current day. This ensures that a snapshot is created for the current -// day, because 30 minutes is required between your current time and the -// new snapshot time that you specify. -// -// * If an automatic snapshot is scheduled to be created within 30 minutes -// from your current time and you change the snapshot time, then the new -// snapshot time will be effective the following day and a snapshot is automatically -// created at the previously set time for the current day. This ensures that -// a snapshot is created for the current day, because 30 minutes is required -// between your current time and the new snapshot time that you specify. +// - If an automatic snapshot has been created for the current day, and you +// change the snapshot time to a later time of day, then the new snapshot +// time will be effective the following day. This ensures that two snapshots +// are not created for the current day. +// +// - If an automatic snapshot has not yet been created for the current day, +// and you change the snapshot time to an earlier time of day, then the new +// snapshot time will be effective the following day and a snapshot is automatically +// created at the previously set time for the current day. This ensures that +// a snapshot is created for the current day. +// +// - If an automatic snapshot has not yet been created for the current day, +// and you change the snapshot time to a time that is within 30 minutes from +// your current time, then the new snapshot time will be effective the following +// day and a snapshot is automatically created at the previously set time +// for the current day. This ensures that a snapshot is created for the current +// day, because 30 minutes is required between your current time and the +// new snapshot time that you specify. +// +// - If an automatic snapshot is scheduled to be created within 30 minutes +// from your current time and you change the snapshot time, then the new +// snapshot time will be effective the following day and a snapshot is automatically +// created at the previously set time for the current day. This ensures that +// a snapshot is created for the current day, because 30 minutes is required +// between your current time and the new snapshot time that you specify. type AutoSnapshotAddOnRequest struct { _ struct{} `type:"structure"` @@ -37157,21 +37157,21 @@ func (s *LoadBalancerTlsCertificateDomainValidationRecord) SetValue(v string) *L // // The following renewal status are possible: // -// * PendingAutoRenewal - Lightsail is attempting to automatically validate -// the domain names in the certificate. No further action is required. +// - PendingAutoRenewal - Lightsail is attempting to automatically validate +// the domain names in the certificate. No further action is required. // -// * PendingValidation - Lightsail couldn't automatically validate one or -// more domain names in the certificate. You must take action to validate -// these domain names or the certificate won't be renewed. If you used DNS -// validation, check to make sure your certificate's domain validation records -// exist in your domain's DNS, and that your certificate remains in use. +// - PendingValidation - Lightsail couldn't automatically validate one or +// more domain names in the certificate. You must take action to validate +// these domain names or the certificate won't be renewed. If you used DNS +// validation, check to make sure your certificate's domain validation records +// exist in your domain's DNS, and that your certificate remains in use. // -// * Success - All domain names in the certificate are validated, and Lightsail -// renewed the certificate. No further action is required. +// - Success - All domain names in the certificate are validated, and Lightsail +// renewed the certificate. No further action is required. // -// * Failed - One or more domain names were not validated before the certificate -// expired, and Lightsail did not renew the certificate. You can request -// a new certificate using the CreateCertificate action. +// - Failed - One or more domain names were not validated before the certificate +// expired, and Lightsail did not renew the certificate. You can request +// a new certificate using the CreateCertificate action. type LoadBalancerTlsCertificateRenewalSummary struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/doc.go index bc222b337da5..11038df73d8f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/doc.go @@ -27,7 +27,7 @@ // See lightsail package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/lightsail/ // -// Using the Client +// # Using the Client // // To contact Amazon Lightsail with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/lightsailiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/lightsailiface/interface.go index 2e003e9b418a..85c03e4bffc5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/lightsailiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/lightsailiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Lightsail. -// func myFunc(svc lightsailiface.LightsailAPI) bool { -// // Make svc.AllocateStaticIp request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Lightsail. +// func myFunc(svc lightsailiface.LightsailAPI) bool { +// // Make svc.AllocateStaticIp request +// } // -// func main() { -// sess := session.New() -// svc := lightsail.New(sess) +// func main() { +// sess := session.New() +// svc := lightsail.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockLightsailClient struct { -// lightsailiface.LightsailAPI -// } -// func (m *mockLightsailClient) AllocateStaticIp(input *lightsail.AllocateStaticIpInput) (*lightsail.AllocateStaticIpOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockLightsailClient struct { +// lightsailiface.LightsailAPI +// } +// func (m *mockLightsailClient) AllocateStaticIp(input *lightsail.AllocateStaticIpInput) (*lightsail.AllocateStaticIpOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockLightsailClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockLightsailClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/service.go index 5ec60a11009f..36e4851b0229 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lightsail/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Lightsail client from just a session. -// svc := lightsail.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Lightsail client with additional configuration -// svc := lightsail.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Lightsail client from just a session. +// svc := lightsail.New(mySession) +// +// // Create a Lightsail client with additional configuration +// svc := lightsail.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Lightsail { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/api.go index 0e2ae2f0859e..9e778118be34 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/api.go @@ -29,14 +29,13 @@ const opAssociateTrackerConsumer = "AssociateTrackerConsumer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateTrackerConsumerRequest method. +// req, resp := client.AssociateTrackerConsumerRequest(params) // -// // Example sending a request using the AssociateTrackerConsumerRequest method. -// req, resp := client.AssociateTrackerConsumerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/AssociateTrackerConsumer func (c *LocationService) AssociateTrackerConsumerRequest(input *AssociateTrackerConsumerInput) (req *request.Request, output *AssociateTrackerConsumerOutput) { @@ -78,30 +77,31 @@ func (c *LocationService) AssociateTrackerConsumerRequest(input *AssociateTracke // API operation AssociateTrackerConsumer for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * ConflictException -// The request was unsuccessful because of a conflict. +// - ConflictException +// The request was unsuccessful because of a conflict. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ServiceQuotaExceededException -// The operation was denied because the request would exceed the maximum quota -// (https://docs.aws.amazon.com/location/latest/developerguide/location-quotas.html) -// set for Amazon Location Service. +// - ServiceQuotaExceededException +// The operation was denied because the request would exceed the maximum quota +// (https://docs.aws.amazon.com/location/latest/developerguide/location-quotas.html) +// set for Amazon Location Service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/AssociateTrackerConsumer func (c *LocationService) AssociateTrackerConsumer(input *AssociateTrackerConsumerInput) (*AssociateTrackerConsumerOutput, error) { @@ -141,14 +141,13 @@ const opBatchDeleteDevicePositionHistory = "BatchDeleteDevicePositionHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteDevicePositionHistoryRequest method. +// req, resp := client.BatchDeleteDevicePositionHistoryRequest(params) // -// // Example sending a request using the BatchDeleteDevicePositionHistoryRequest method. -// req, resp := client.BatchDeleteDevicePositionHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchDeleteDevicePositionHistory func (c *LocationService) BatchDeleteDevicePositionHistoryRequest(input *BatchDeleteDevicePositionHistoryInput) (req *request.Request, output *BatchDeleteDevicePositionHistoryOutput) { @@ -181,22 +180,23 @@ func (c *LocationService) BatchDeleteDevicePositionHistoryRequest(input *BatchDe // API operation BatchDeleteDevicePositionHistory for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchDeleteDevicePositionHistory func (c *LocationService) BatchDeleteDevicePositionHistory(input *BatchDeleteDevicePositionHistoryInput) (*BatchDeleteDevicePositionHistoryOutput, error) { @@ -236,14 +236,13 @@ const opBatchDeleteGeofence = "BatchDeleteGeofence" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteGeofenceRequest method. +// req, resp := client.BatchDeleteGeofenceRequest(params) // -// // Example sending a request using the BatchDeleteGeofenceRequest method. -// req, resp := client.BatchDeleteGeofenceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchDeleteGeofence func (c *LocationService) BatchDeleteGeofenceRequest(input *BatchDeleteGeofenceInput) (req *request.Request, output *BatchDeleteGeofenceOutput) { @@ -278,22 +277,23 @@ func (c *LocationService) BatchDeleteGeofenceRequest(input *BatchDeleteGeofenceI // API operation BatchDeleteGeofence for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchDeleteGeofence func (c *LocationService) BatchDeleteGeofence(input *BatchDeleteGeofenceInput) (*BatchDeleteGeofenceOutput, error) { @@ -333,14 +333,13 @@ const opBatchEvaluateGeofences = "BatchEvaluateGeofences" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchEvaluateGeofencesRequest method. +// req, resp := client.BatchEvaluateGeofencesRequest(params) // -// // Example sending a request using the BatchEvaluateGeofencesRequest method. -// req, resp := client.BatchEvaluateGeofencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchEvaluateGeofences func (c *LocationService) BatchEvaluateGeofencesRequest(input *BatchEvaluateGeofencesInput) (req *request.Request, output *BatchEvaluateGeofencesOutput) { @@ -371,11 +370,11 @@ func (c *LocationService) BatchEvaluateGeofencesRequest(input *BatchEvaluateGeof // a geofenced area, and then publishes one of the following events to Amazon // EventBridge: // -// * ENTER if Amazon Location determines that the tracked device has entered -// a geofenced area. +// - ENTER if Amazon Location determines that the tracked device has entered +// a geofenced area. // -// * EXIT if Amazon Location determines that the tracked device has exited -// a geofenced area. +// - EXIT if Amazon Location determines that the tracked device has exited +// a geofenced area. // // The last geofence that a device was observed within is tracked for 30 days // after the most recent device position update. @@ -394,22 +393,23 @@ func (c *LocationService) BatchEvaluateGeofencesRequest(input *BatchEvaluateGeof // API operation BatchEvaluateGeofences for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchEvaluateGeofences func (c *LocationService) BatchEvaluateGeofences(input *BatchEvaluateGeofencesInput) (*BatchEvaluateGeofencesOutput, error) { @@ -449,14 +449,13 @@ const opBatchGetDevicePosition = "BatchGetDevicePosition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetDevicePositionRequest method. +// req, resp := client.BatchGetDevicePositionRequest(params) // -// // Example sending a request using the BatchGetDevicePositionRequest method. -// req, resp := client.BatchGetDevicePositionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchGetDevicePosition func (c *LocationService) BatchGetDevicePositionRequest(input *BatchGetDevicePositionInput) (req *request.Request, output *BatchGetDevicePositionOutput) { @@ -489,22 +488,23 @@ func (c *LocationService) BatchGetDevicePositionRequest(input *BatchGetDevicePos // API operation BatchGetDevicePosition for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchGetDevicePosition func (c *LocationService) BatchGetDevicePosition(input *BatchGetDevicePositionInput) (*BatchGetDevicePositionOutput, error) { @@ -544,14 +544,13 @@ const opBatchPutGeofence = "BatchPutGeofence" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchPutGeofenceRequest method. +// req, resp := client.BatchPutGeofenceRequest(params) // -// // Example sending a request using the BatchPutGeofenceRequest method. -// req, resp := client.BatchPutGeofenceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchPutGeofence func (c *LocationService) BatchPutGeofenceRequest(input *BatchPutGeofenceInput) (req *request.Request, output *BatchPutGeofenceOutput) { @@ -586,22 +585,23 @@ func (c *LocationService) BatchPutGeofenceRequest(input *BatchPutGeofenceInput) // API operation BatchPutGeofence for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchPutGeofence func (c *LocationService) BatchPutGeofence(input *BatchPutGeofenceInput) (*BatchPutGeofenceOutput, error) { @@ -641,14 +641,13 @@ const opBatchUpdateDevicePosition = "BatchUpdateDevicePosition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchUpdateDevicePositionRequest method. +// req, resp := client.BatchUpdateDevicePositionRequest(params) // -// // Example sending a request using the BatchUpdateDevicePositionRequest method. -// req, resp := client.BatchUpdateDevicePositionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchUpdateDevicePosition func (c *LocationService) BatchUpdateDevicePositionRequest(input *BatchUpdateDevicePositionInput) (req *request.Request, output *BatchUpdateDevicePositionOutput) { @@ -703,22 +702,23 @@ func (c *LocationService) BatchUpdateDevicePositionRequest(input *BatchUpdateDev // API operation BatchUpdateDevicePosition for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchUpdateDevicePosition func (c *LocationService) BatchUpdateDevicePosition(input *BatchUpdateDevicePositionInput) (*BatchUpdateDevicePositionOutput, error) { @@ -758,14 +758,13 @@ const opCalculateRoute = "CalculateRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CalculateRouteRequest method. +// req, resp := client.CalculateRouteRequest(params) // -// // Example sending a request using the CalculateRouteRequest method. -// req, resp := client.CalculateRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CalculateRoute func (c *LocationService) CalculateRouteRequest(input *CalculateRouteInput) (req *request.Request, output *CalculateRouteOutput) { @@ -798,16 +797,16 @@ func (c *LocationService) CalculateRouteRequest(input *CalculateRouteInput) (req // // Additional options include: // -// * Specifying a departure time (https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html) -// using either DepartureTime or DepartNow. This calculates a route based -// on predictive traffic data at the given time. You can't specify both DepartureTime -// and DepartNow in a single request. Specifying both parameters returns -// a validation error. +// - Specifying a departure time (https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html) +// using either DepartureTime or DepartNow. This calculates a route based +// on predictive traffic data at the given time. You can't specify both DepartureTime +// and DepartNow in a single request. Specifying both parameters returns +// a validation error. // -// * Specifying a travel mode (https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html) -// using TravelMode sets the transportation mode used to calculate the routes. -// This also lets you specify additional route preferences in CarModeOptions -// if traveling by Car, or TruckModeOptions if traveling by Truck. +// - Specifying a travel mode (https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html) +// using TravelMode sets the transportation mode used to calculate the routes. +// This also lets you specify additional route preferences in CarModeOptions +// if traveling by Car, or TruckModeOptions if traveling by Truck. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -817,22 +816,23 @@ func (c *LocationService) CalculateRouteRequest(input *CalculateRouteInput) (req // API operation CalculateRoute for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CalculateRoute func (c *LocationService) CalculateRoute(input *CalculateRouteInput) (*CalculateRouteOutput, error) { @@ -872,14 +872,13 @@ const opCalculateRouteMatrix = "CalculateRouteMatrix" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CalculateRouteMatrixRequest method. +// req, resp := client.CalculateRouteMatrixRequest(params) // -// // Example sending a request using the CalculateRouteMatrixRequest method. -// req, resp := client.CalculateRouteMatrixRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CalculateRouteMatrix func (c *LocationService) CalculateRouteMatrixRequest(input *CalculateRouteMatrixInput) (req *request.Request, output *CalculateRouteMatrixOutput) { @@ -902,15 +901,15 @@ func (c *LocationService) CalculateRouteMatrixRequest(input *CalculateRouteMatri // CalculateRouteMatrix API operation for Amazon Location Service. // -// Calculates a route matrix (https://docs.aws.amazon.com/location/latest/developerguide/calculate-route-matrix.html) -// given the following required parameters: DeparturePositions and DestinationPositions. -// CalculateRouteMatrix calculates routes and returns the travel time and travel -// distance from each departure position to each destination position in the -// request. For example, given departure positions A and B, and destination -// positions X and Y, CalculateRouteMatrix will return time and distance for -// routes from A to X, A to Y, B to X, and B to Y (in that order). The number -// of results returned (and routes calculated) will be the number of DeparturePositions -// times the number of DestinationPositions. +// Calculates a route matrix (https://docs.aws.amazon.com/location/latest/developerguide/calculate-route-matrix.html) +// given the following required parameters: DeparturePositions and DestinationPositions. +// CalculateRouteMatrix calculates routes and returns the travel time and travel +// distance from each departure position to each destination position in the +// request. For example, given departure positions A and B, and destination +// positions X and Y, CalculateRouteMatrix will return time and distance for +// routes from A to X, A to Y, B to X, and B to Y (in that order). The number +// of results returned (and routes calculated) will be the number of DeparturePositions +// times the number of DestinationPositions. // // Your account is charged for each route calculated, not the number of requests. // @@ -921,16 +920,16 @@ func (c *LocationService) CalculateRouteMatrixRequest(input *CalculateRouteMatri // // Additional options include: // -// * Specifying a departure time (https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html) -// using either DepartureTime or DepartNow. This calculates routes based -// on predictive traffic data at the given time. You can't specify both DepartureTime -// and DepartNow in a single request. Specifying both parameters returns -// a validation error. +// - Specifying a departure time (https://docs.aws.amazon.com/location/latest/developerguide/departure-time.html) +// using either DepartureTime or DepartNow. This calculates routes based +// on predictive traffic data at the given time. You can't specify both DepartureTime +// and DepartNow in a single request. Specifying both parameters returns +// a validation error. // -// * Specifying a travel mode (https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html) -// using TravelMode sets the transportation mode used to calculate the routes. -// This also lets you specify additional route preferences in CarModeOptions -// if traveling by Car, or TruckModeOptions if traveling by Truck. +// - Specifying a travel mode (https://docs.aws.amazon.com/location/latest/developerguide/travel-mode.html) +// using TravelMode sets the transportation mode used to calculate the routes. +// This also lets you specify additional route preferences in CarModeOptions +// if traveling by Car, or TruckModeOptions if traveling by Truck. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -940,22 +939,23 @@ func (c *LocationService) CalculateRouteMatrixRequest(input *CalculateRouteMatri // API operation CalculateRouteMatrix for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CalculateRouteMatrix func (c *LocationService) CalculateRouteMatrix(input *CalculateRouteMatrixInput) (*CalculateRouteMatrixOutput, error) { @@ -995,14 +995,13 @@ const opCreateGeofenceCollection = "CreateGeofenceCollection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGeofenceCollectionRequest method. +// req, resp := client.CreateGeofenceCollectionRequest(params) // -// // Example sending a request using the CreateGeofenceCollectionRequest method. -// req, resp := client.CreateGeofenceCollectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateGeofenceCollection func (c *LocationService) CreateGeofenceCollectionRequest(input *CreateGeofenceCollectionInput) (req *request.Request, output *CreateGeofenceCollectionOutput) { @@ -1035,22 +1034,23 @@ func (c *LocationService) CreateGeofenceCollectionRequest(input *CreateGeofenceC // API operation CreateGeofenceCollection for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ConflictException -// The request was unsuccessful because of a conflict. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ConflictException +// The request was unsuccessful because of a conflict. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateGeofenceCollection func (c *LocationService) CreateGeofenceCollection(input *CreateGeofenceCollectionInput) (*CreateGeofenceCollectionOutput, error) { @@ -1090,14 +1090,13 @@ const opCreateMap = "CreateMap" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMapRequest method. +// req, resp := client.CreateMapRequest(params) // -// // Example sending a request using the CreateMapRequest method. -// req, resp := client.CreateMapRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateMap func (c *LocationService) CreateMapRequest(input *CreateMapInput) (req *request.Request, output *CreateMapOutput) { @@ -1136,22 +1135,23 @@ func (c *LocationService) CreateMapRequest(input *CreateMapInput) (req *request. // API operation CreateMap for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ConflictException -// The request was unsuccessful because of a conflict. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ConflictException +// The request was unsuccessful because of a conflict. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateMap func (c *LocationService) CreateMap(input *CreateMapInput) (*CreateMapOutput, error) { @@ -1191,14 +1191,13 @@ const opCreatePlaceIndex = "CreatePlaceIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePlaceIndexRequest method. +// req, resp := client.CreatePlaceIndexRequest(params) // -// // Example sending a request using the CreatePlaceIndexRequest method. -// req, resp := client.CreatePlaceIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreatePlaceIndex func (c *LocationService) CreatePlaceIndexRequest(input *CreatePlaceIndexInput) (req *request.Request, output *CreatePlaceIndexOutput) { @@ -1240,22 +1239,23 @@ func (c *LocationService) CreatePlaceIndexRequest(input *CreatePlaceIndexInput) // API operation CreatePlaceIndex for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ConflictException -// The request was unsuccessful because of a conflict. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ConflictException +// The request was unsuccessful because of a conflict. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreatePlaceIndex func (c *LocationService) CreatePlaceIndex(input *CreatePlaceIndexInput) (*CreatePlaceIndexOutput, error) { @@ -1295,14 +1295,13 @@ const opCreateRouteCalculator = "CreateRouteCalculator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRouteCalculatorRequest method. +// req, resp := client.CreateRouteCalculatorRequest(params) // -// // Example sending a request using the CreateRouteCalculatorRequest method. -// req, resp := client.CreateRouteCalculatorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateRouteCalculator func (c *LocationService) CreateRouteCalculatorRequest(input *CreateRouteCalculatorInput) (req *request.Request, output *CreateRouteCalculatorOutput) { @@ -1344,22 +1343,23 @@ func (c *LocationService) CreateRouteCalculatorRequest(input *CreateRouteCalcula // API operation CreateRouteCalculator for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ConflictException -// The request was unsuccessful because of a conflict. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ConflictException +// The request was unsuccessful because of a conflict. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateRouteCalculator func (c *LocationService) CreateRouteCalculator(input *CreateRouteCalculatorInput) (*CreateRouteCalculatorOutput, error) { @@ -1399,14 +1399,13 @@ const opCreateTracker = "CreateTracker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTrackerRequest method. +// req, resp := client.CreateTrackerRequest(params) // -// // Example sending a request using the CreateTrackerRequest method. -// req, resp := client.CreateTrackerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateTracker func (c *LocationService) CreateTrackerRequest(input *CreateTrackerInput) (req *request.Request, output *CreateTrackerOutput) { @@ -1440,22 +1439,23 @@ func (c *LocationService) CreateTrackerRequest(input *CreateTrackerInput) (req * // API operation CreateTracker for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ConflictException -// The request was unsuccessful because of a conflict. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ConflictException +// The request was unsuccessful because of a conflict. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CreateTracker func (c *LocationService) CreateTracker(input *CreateTrackerInput) (*CreateTrackerOutput, error) { @@ -1495,14 +1495,13 @@ const opDeleteGeofenceCollection = "DeleteGeofenceCollection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGeofenceCollectionRequest method. +// req, resp := client.DeleteGeofenceCollectionRequest(params) // -// // Example sending a request using the DeleteGeofenceCollectionRequest method. -// req, resp := client.DeleteGeofenceCollectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteGeofenceCollection func (c *LocationService) DeleteGeofenceCollectionRequest(input *DeleteGeofenceCollectionInput) (req *request.Request, output *DeleteGeofenceCollectionOutput) { @@ -1539,22 +1538,23 @@ func (c *LocationService) DeleteGeofenceCollectionRequest(input *DeleteGeofenceC // API operation DeleteGeofenceCollection for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteGeofenceCollection func (c *LocationService) DeleteGeofenceCollection(input *DeleteGeofenceCollectionInput) (*DeleteGeofenceCollectionOutput, error) { @@ -1594,14 +1594,13 @@ const opDeleteMap = "DeleteMap" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMapRequest method. +// req, resp := client.DeleteMapRequest(params) // -// // Example sending a request using the DeleteMapRequest method. -// req, resp := client.DeleteMapRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteMap func (c *LocationService) DeleteMapRequest(input *DeleteMapInput) (req *request.Request, output *DeleteMapOutput) { @@ -1638,22 +1637,23 @@ func (c *LocationService) DeleteMapRequest(input *DeleteMapInput) (req *request. // API operation DeleteMap for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteMap func (c *LocationService) DeleteMap(input *DeleteMapInput) (*DeleteMapOutput, error) { @@ -1693,14 +1693,13 @@ const opDeletePlaceIndex = "DeletePlaceIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePlaceIndexRequest method. +// req, resp := client.DeletePlaceIndexRequest(params) // -// // Example sending a request using the DeletePlaceIndexRequest method. -// req, resp := client.DeletePlaceIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeletePlaceIndex func (c *LocationService) DeletePlaceIndexRequest(input *DeletePlaceIndexInput) (req *request.Request, output *DeletePlaceIndexOutput) { @@ -1736,22 +1735,23 @@ func (c *LocationService) DeletePlaceIndexRequest(input *DeletePlaceIndexInput) // API operation DeletePlaceIndex for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeletePlaceIndex func (c *LocationService) DeletePlaceIndex(input *DeletePlaceIndexInput) (*DeletePlaceIndexOutput, error) { @@ -1791,14 +1791,13 @@ const opDeleteRouteCalculator = "DeleteRouteCalculator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRouteCalculatorRequest method. +// req, resp := client.DeleteRouteCalculatorRequest(params) // -// // Example sending a request using the DeleteRouteCalculatorRequest method. -// req, resp := client.DeleteRouteCalculatorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteRouteCalculator func (c *LocationService) DeleteRouteCalculatorRequest(input *DeleteRouteCalculatorInput) (req *request.Request, output *DeleteRouteCalculatorOutput) { @@ -1834,22 +1833,23 @@ func (c *LocationService) DeleteRouteCalculatorRequest(input *DeleteRouteCalcula // API operation DeleteRouteCalculator for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteRouteCalculator func (c *LocationService) DeleteRouteCalculator(input *DeleteRouteCalculatorInput) (*DeleteRouteCalculatorOutput, error) { @@ -1889,14 +1889,13 @@ const opDeleteTracker = "DeleteTracker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTrackerRequest method. +// req, resp := client.DeleteTrackerRequest(params) // -// // Example sending a request using the DeleteTrackerRequest method. -// req, resp := client.DeleteTrackerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteTracker func (c *LocationService) DeleteTrackerRequest(input *DeleteTrackerInput) (req *request.Request, output *DeleteTrackerOutput) { @@ -1934,22 +1933,23 @@ func (c *LocationService) DeleteTrackerRequest(input *DeleteTrackerInput) (req * // API operation DeleteTracker for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DeleteTracker func (c *LocationService) DeleteTracker(input *DeleteTrackerInput) (*DeleteTrackerOutput, error) { @@ -1989,14 +1989,13 @@ const opDescribeGeofenceCollection = "DescribeGeofenceCollection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGeofenceCollectionRequest method. +// req, resp := client.DescribeGeofenceCollectionRequest(params) // -// // Example sending a request using the DescribeGeofenceCollectionRequest method. -// req, resp := client.DescribeGeofenceCollectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeGeofenceCollection func (c *LocationService) DescribeGeofenceCollectionRequest(input *DescribeGeofenceCollectionInput) (req *request.Request, output *DescribeGeofenceCollectionOutput) { @@ -2029,22 +2028,23 @@ func (c *LocationService) DescribeGeofenceCollectionRequest(input *DescribeGeofe // API operation DescribeGeofenceCollection for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeGeofenceCollection func (c *LocationService) DescribeGeofenceCollection(input *DescribeGeofenceCollectionInput) (*DescribeGeofenceCollectionOutput, error) { @@ -2084,14 +2084,13 @@ const opDescribeMap = "DescribeMap" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMapRequest method. +// req, resp := client.DescribeMapRequest(params) // -// // Example sending a request using the DescribeMapRequest method. -// req, resp := client.DescribeMapRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeMap func (c *LocationService) DescribeMapRequest(input *DescribeMapInput) (req *request.Request, output *DescribeMapOutput) { @@ -2124,22 +2123,23 @@ func (c *LocationService) DescribeMapRequest(input *DescribeMapInput) (req *requ // API operation DescribeMap for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeMap func (c *LocationService) DescribeMap(input *DescribeMapInput) (*DescribeMapOutput, error) { @@ -2179,14 +2179,13 @@ const opDescribePlaceIndex = "DescribePlaceIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePlaceIndexRequest method. +// req, resp := client.DescribePlaceIndexRequest(params) // -// // Example sending a request using the DescribePlaceIndexRequest method. -// req, resp := client.DescribePlaceIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribePlaceIndex func (c *LocationService) DescribePlaceIndexRequest(input *DescribePlaceIndexInput) (req *request.Request, output *DescribePlaceIndexOutput) { @@ -2219,22 +2218,23 @@ func (c *LocationService) DescribePlaceIndexRequest(input *DescribePlaceIndexInp // API operation DescribePlaceIndex for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribePlaceIndex func (c *LocationService) DescribePlaceIndex(input *DescribePlaceIndexInput) (*DescribePlaceIndexOutput, error) { @@ -2274,14 +2274,13 @@ const opDescribeRouteCalculator = "DescribeRouteCalculator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRouteCalculatorRequest method. +// req, resp := client.DescribeRouteCalculatorRequest(params) // -// // Example sending a request using the DescribeRouteCalculatorRequest method. -// req, resp := client.DescribeRouteCalculatorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeRouteCalculator func (c *LocationService) DescribeRouteCalculatorRequest(input *DescribeRouteCalculatorInput) (req *request.Request, output *DescribeRouteCalculatorOutput) { @@ -2314,22 +2313,23 @@ func (c *LocationService) DescribeRouteCalculatorRequest(input *DescribeRouteCal // API operation DescribeRouteCalculator for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeRouteCalculator func (c *LocationService) DescribeRouteCalculator(input *DescribeRouteCalculatorInput) (*DescribeRouteCalculatorOutput, error) { @@ -2369,14 +2369,13 @@ const opDescribeTracker = "DescribeTracker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTrackerRequest method. +// req, resp := client.DescribeTrackerRequest(params) // -// // Example sending a request using the DescribeTrackerRequest method. -// req, resp := client.DescribeTrackerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeTracker func (c *LocationService) DescribeTrackerRequest(input *DescribeTrackerInput) (req *request.Request, output *DescribeTrackerOutput) { @@ -2409,22 +2408,23 @@ func (c *LocationService) DescribeTrackerRequest(input *DescribeTrackerInput) (r // API operation DescribeTracker for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DescribeTracker func (c *LocationService) DescribeTracker(input *DescribeTrackerInput) (*DescribeTrackerOutput, error) { @@ -2464,14 +2464,13 @@ const opDisassociateTrackerConsumer = "DisassociateTrackerConsumer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateTrackerConsumerRequest method. +// req, resp := client.DisassociateTrackerConsumerRequest(params) // -// // Example sending a request using the DisassociateTrackerConsumerRequest method. -// req, resp := client.DisassociateTrackerConsumerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DisassociateTrackerConsumer func (c *LocationService) DisassociateTrackerConsumerRequest(input *DisassociateTrackerConsumerInput) (req *request.Request, output *DisassociateTrackerConsumerOutput) { @@ -2508,22 +2507,23 @@ func (c *LocationService) DisassociateTrackerConsumerRequest(input *Disassociate // API operation DisassociateTrackerConsumer for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/DisassociateTrackerConsumer func (c *LocationService) DisassociateTrackerConsumer(input *DisassociateTrackerConsumerInput) (*DisassociateTrackerConsumerOutput, error) { @@ -2563,14 +2563,13 @@ const opGetDevicePosition = "GetDevicePosition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDevicePositionRequest method. +// req, resp := client.GetDevicePositionRequest(params) // -// // Example sending a request using the GetDevicePositionRequest method. -// req, resp := client.GetDevicePositionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetDevicePosition func (c *LocationService) GetDevicePositionRequest(input *GetDevicePositionInput) (req *request.Request, output *GetDevicePositionOutput) { @@ -2605,22 +2604,23 @@ func (c *LocationService) GetDevicePositionRequest(input *GetDevicePositionInput // API operation GetDevicePosition for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetDevicePosition func (c *LocationService) GetDevicePosition(input *GetDevicePositionInput) (*GetDevicePositionOutput, error) { @@ -2660,14 +2660,13 @@ const opGetDevicePositionHistory = "GetDevicePositionHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDevicePositionHistoryRequest method. +// req, resp := client.GetDevicePositionHistoryRequest(params) // -// // Example sending a request using the GetDevicePositionHistoryRequest method. -// req, resp := client.GetDevicePositionHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetDevicePositionHistory func (c *LocationService) GetDevicePositionHistoryRequest(input *GetDevicePositionHistoryInput) (req *request.Request, output *GetDevicePositionHistoryOutput) { @@ -2709,22 +2708,23 @@ func (c *LocationService) GetDevicePositionHistoryRequest(input *GetDevicePositi // API operation GetDevicePositionHistory for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetDevicePositionHistory func (c *LocationService) GetDevicePositionHistory(input *GetDevicePositionHistoryInput) (*GetDevicePositionHistoryOutput, error) { @@ -2756,15 +2756,14 @@ func (c *LocationService) GetDevicePositionHistoryWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetDevicePositionHistory operation. -// pageNum := 0 -// err := client.GetDevicePositionHistoryPages(params, -// func(page *locationservice.GetDevicePositionHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetDevicePositionHistory operation. +// pageNum := 0 +// err := client.GetDevicePositionHistoryPages(params, +// func(page *locationservice.GetDevicePositionHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LocationService) GetDevicePositionHistoryPages(input *GetDevicePositionHistoryInput, fn func(*GetDevicePositionHistoryOutput, bool) bool) error { return c.GetDevicePositionHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2816,14 +2815,13 @@ const opGetGeofence = "GetGeofence" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGeofenceRequest method. +// req, resp := client.GetGeofenceRequest(params) // -// // Example sending a request using the GetGeofenceRequest method. -// req, resp := client.GetGeofenceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetGeofence func (c *LocationService) GetGeofenceRequest(input *GetGeofenceInput) (req *request.Request, output *GetGeofenceOutput) { @@ -2856,22 +2854,23 @@ func (c *LocationService) GetGeofenceRequest(input *GetGeofenceInput) (req *requ // API operation GetGeofence for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetGeofence func (c *LocationService) GetGeofence(input *GetGeofenceInput) (*GetGeofenceOutput, error) { @@ -2911,14 +2910,13 @@ const opGetMapGlyphs = "GetMapGlyphs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMapGlyphsRequest method. +// req, resp := client.GetMapGlyphsRequest(params) // -// // Example sending a request using the GetMapGlyphsRequest method. -// req, resp := client.GetMapGlyphsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapGlyphs func (c *LocationService) GetMapGlyphsRequest(input *GetMapGlyphsInput) (req *request.Request, output *GetMapGlyphsOutput) { @@ -2951,22 +2949,23 @@ func (c *LocationService) GetMapGlyphsRequest(input *GetMapGlyphsInput) (req *re // API operation GetMapGlyphs for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapGlyphs func (c *LocationService) GetMapGlyphs(input *GetMapGlyphsInput) (*GetMapGlyphsOutput, error) { @@ -3006,14 +3005,13 @@ const opGetMapSprites = "GetMapSprites" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMapSpritesRequest method. +// req, resp := client.GetMapSpritesRequest(params) // -// // Example sending a request using the GetMapSpritesRequest method. -// req, resp := client.GetMapSpritesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapSprites func (c *LocationService) GetMapSpritesRequest(input *GetMapSpritesInput) (req *request.Request, output *GetMapSpritesOutput) { @@ -3048,22 +3046,23 @@ func (c *LocationService) GetMapSpritesRequest(input *GetMapSpritesInput) (req * // API operation GetMapSprites for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapSprites func (c *LocationService) GetMapSprites(input *GetMapSpritesInput) (*GetMapSpritesOutput, error) { @@ -3103,14 +3102,13 @@ const opGetMapStyleDescriptor = "GetMapStyleDescriptor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMapStyleDescriptorRequest method. +// req, resp := client.GetMapStyleDescriptorRequest(params) // -// // Example sending a request using the GetMapStyleDescriptorRequest method. -// req, resp := client.GetMapStyleDescriptorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapStyleDescriptor func (c *LocationService) GetMapStyleDescriptorRequest(input *GetMapStyleDescriptorInput) (req *request.Request, output *GetMapStyleDescriptorOutput) { @@ -3147,22 +3145,23 @@ func (c *LocationService) GetMapStyleDescriptorRequest(input *GetMapStyleDescrip // API operation GetMapStyleDescriptor for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapStyleDescriptor func (c *LocationService) GetMapStyleDescriptor(input *GetMapStyleDescriptorInput) (*GetMapStyleDescriptorOutput, error) { @@ -3202,14 +3201,13 @@ const opGetMapTile = "GetMapTile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMapTileRequest method. +// req, resp := client.GetMapTileRequest(params) // -// // Example sending a request using the GetMapTileRequest method. -// req, resp := client.GetMapTileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapTile func (c *LocationService) GetMapTileRequest(input *GetMapTileInput) (req *request.Request, output *GetMapTileOutput) { @@ -3249,22 +3247,23 @@ func (c *LocationService) GetMapTileRequest(input *GetMapTileInput) (req *reques // API operation GetMapTile for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GetMapTile func (c *LocationService) GetMapTile(input *GetMapTileInput) (*GetMapTileOutput, error) { @@ -3304,14 +3303,13 @@ const opListDevicePositions = "ListDevicePositions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDevicePositionsRequest method. +// req, resp := client.ListDevicePositionsRequest(params) // -// // Example sending a request using the ListDevicePositionsRequest method. -// req, resp := client.ListDevicePositionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListDevicePositions func (c *LocationService) ListDevicePositionsRequest(input *ListDevicePositionsInput) (req *request.Request, output *ListDevicePositionsOutput) { @@ -3350,19 +3348,20 @@ func (c *LocationService) ListDevicePositionsRequest(input *ListDevicePositionsI // API operation ListDevicePositions for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListDevicePositions func (c *LocationService) ListDevicePositions(input *ListDevicePositionsInput) (*ListDevicePositionsOutput, error) { @@ -3394,15 +3393,14 @@ func (c *LocationService) ListDevicePositionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDevicePositions operation. -// pageNum := 0 -// err := client.ListDevicePositionsPages(params, -// func(page *locationservice.ListDevicePositionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDevicePositions operation. +// pageNum := 0 +// err := client.ListDevicePositionsPages(params, +// func(page *locationservice.ListDevicePositionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LocationService) ListDevicePositionsPages(input *ListDevicePositionsInput, fn func(*ListDevicePositionsOutput, bool) bool) error { return c.ListDevicePositionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3454,14 +3452,13 @@ const opListGeofenceCollections = "ListGeofenceCollections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGeofenceCollectionsRequest method. +// req, resp := client.ListGeofenceCollectionsRequest(params) // -// // Example sending a request using the ListGeofenceCollectionsRequest method. -// req, resp := client.ListGeofenceCollectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListGeofenceCollections func (c *LocationService) ListGeofenceCollectionsRequest(input *ListGeofenceCollectionsInput) (req *request.Request, output *ListGeofenceCollectionsOutput) { @@ -3500,19 +3497,20 @@ func (c *LocationService) ListGeofenceCollectionsRequest(input *ListGeofenceColl // API operation ListGeofenceCollections for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListGeofenceCollections func (c *LocationService) ListGeofenceCollections(input *ListGeofenceCollectionsInput) (*ListGeofenceCollectionsOutput, error) { @@ -3544,15 +3542,14 @@ func (c *LocationService) ListGeofenceCollectionsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGeofenceCollections operation. -// pageNum := 0 -// err := client.ListGeofenceCollectionsPages(params, -// func(page *locationservice.ListGeofenceCollectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGeofenceCollections operation. +// pageNum := 0 +// err := client.ListGeofenceCollectionsPages(params, +// func(page *locationservice.ListGeofenceCollectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LocationService) ListGeofenceCollectionsPages(input *ListGeofenceCollectionsInput, fn func(*ListGeofenceCollectionsOutput, bool) bool) error { return c.ListGeofenceCollectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3604,14 +3601,13 @@ const opListGeofences = "ListGeofences" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGeofencesRequest method. +// req, resp := client.ListGeofencesRequest(params) // -// // Example sending a request using the ListGeofencesRequest method. -// req, resp := client.ListGeofencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListGeofences func (c *LocationService) ListGeofencesRequest(input *ListGeofencesInput) (req *request.Request, output *ListGeofencesOutput) { @@ -3650,22 +3646,23 @@ func (c *LocationService) ListGeofencesRequest(input *ListGeofencesInput) (req * // API operation ListGeofences for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListGeofences func (c *LocationService) ListGeofences(input *ListGeofencesInput) (*ListGeofencesOutput, error) { @@ -3697,15 +3694,14 @@ func (c *LocationService) ListGeofencesWithContext(ctx aws.Context, input *ListG // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGeofences operation. -// pageNum := 0 -// err := client.ListGeofencesPages(params, -// func(page *locationservice.ListGeofencesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGeofences operation. +// pageNum := 0 +// err := client.ListGeofencesPages(params, +// func(page *locationservice.ListGeofencesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LocationService) ListGeofencesPages(input *ListGeofencesInput, fn func(*ListGeofencesOutput, bool) bool) error { return c.ListGeofencesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3757,14 +3753,13 @@ const opListMaps = "ListMaps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMapsRequest method. +// req, resp := client.ListMapsRequest(params) // -// // Example sending a request using the ListMapsRequest method. -// req, resp := client.ListMapsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListMaps func (c *LocationService) ListMapsRequest(input *ListMapsInput) (req *request.Request, output *ListMapsOutput) { @@ -3803,19 +3798,20 @@ func (c *LocationService) ListMapsRequest(input *ListMapsInput) (req *request.Re // API operation ListMaps for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListMaps func (c *LocationService) ListMaps(input *ListMapsInput) (*ListMapsOutput, error) { @@ -3847,15 +3843,14 @@ func (c *LocationService) ListMapsWithContext(ctx aws.Context, input *ListMapsIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMaps operation. -// pageNum := 0 -// err := client.ListMapsPages(params, -// func(page *locationservice.ListMapsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMaps operation. +// pageNum := 0 +// err := client.ListMapsPages(params, +// func(page *locationservice.ListMapsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LocationService) ListMapsPages(input *ListMapsInput, fn func(*ListMapsOutput, bool) bool) error { return c.ListMapsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3907,14 +3902,13 @@ const opListPlaceIndexes = "ListPlaceIndexes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPlaceIndexesRequest method. +// req, resp := client.ListPlaceIndexesRequest(params) // -// // Example sending a request using the ListPlaceIndexesRequest method. -// req, resp := client.ListPlaceIndexesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListPlaceIndexes func (c *LocationService) ListPlaceIndexesRequest(input *ListPlaceIndexesInput) (req *request.Request, output *ListPlaceIndexesOutput) { @@ -3953,19 +3947,20 @@ func (c *LocationService) ListPlaceIndexesRequest(input *ListPlaceIndexesInput) // API operation ListPlaceIndexes for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListPlaceIndexes func (c *LocationService) ListPlaceIndexes(input *ListPlaceIndexesInput) (*ListPlaceIndexesOutput, error) { @@ -3997,15 +3992,14 @@ func (c *LocationService) ListPlaceIndexesWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPlaceIndexes operation. -// pageNum := 0 -// err := client.ListPlaceIndexesPages(params, -// func(page *locationservice.ListPlaceIndexesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPlaceIndexes operation. +// pageNum := 0 +// err := client.ListPlaceIndexesPages(params, +// func(page *locationservice.ListPlaceIndexesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LocationService) ListPlaceIndexesPages(input *ListPlaceIndexesInput, fn func(*ListPlaceIndexesOutput, bool) bool) error { return c.ListPlaceIndexesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4057,14 +4051,13 @@ const opListRouteCalculators = "ListRouteCalculators" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRouteCalculatorsRequest method. +// req, resp := client.ListRouteCalculatorsRequest(params) // -// // Example sending a request using the ListRouteCalculatorsRequest method. -// req, resp := client.ListRouteCalculatorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListRouteCalculators func (c *LocationService) ListRouteCalculatorsRequest(input *ListRouteCalculatorsInput) (req *request.Request, output *ListRouteCalculatorsOutput) { @@ -4103,19 +4096,20 @@ func (c *LocationService) ListRouteCalculatorsRequest(input *ListRouteCalculator // API operation ListRouteCalculators for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListRouteCalculators func (c *LocationService) ListRouteCalculators(input *ListRouteCalculatorsInput) (*ListRouteCalculatorsOutput, error) { @@ -4147,15 +4141,14 @@ func (c *LocationService) ListRouteCalculatorsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRouteCalculators operation. -// pageNum := 0 -// err := client.ListRouteCalculatorsPages(params, -// func(page *locationservice.ListRouteCalculatorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRouteCalculators operation. +// pageNum := 0 +// err := client.ListRouteCalculatorsPages(params, +// func(page *locationservice.ListRouteCalculatorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LocationService) ListRouteCalculatorsPages(input *ListRouteCalculatorsInput, fn func(*ListRouteCalculatorsOutput, bool) bool) error { return c.ListRouteCalculatorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4207,14 +4200,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListTagsForResource func (c *LocationService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4248,22 +4240,23 @@ func (c *LocationService) ListTagsForResourceRequest(input *ListTagsForResourceI // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListTagsForResource func (c *LocationService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4303,14 +4296,13 @@ const opListTrackerConsumers = "ListTrackerConsumers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTrackerConsumersRequest method. +// req, resp := client.ListTrackerConsumersRequest(params) // -// // Example sending a request using the ListTrackerConsumersRequest method. -// req, resp := client.ListTrackerConsumersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListTrackerConsumers func (c *LocationService) ListTrackerConsumersRequest(input *ListTrackerConsumersInput) (req *request.Request, output *ListTrackerConsumersOutput) { @@ -4349,22 +4341,23 @@ func (c *LocationService) ListTrackerConsumersRequest(input *ListTrackerConsumer // API operation ListTrackerConsumers for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListTrackerConsumers func (c *LocationService) ListTrackerConsumers(input *ListTrackerConsumersInput) (*ListTrackerConsumersOutput, error) { @@ -4396,15 +4389,14 @@ func (c *LocationService) ListTrackerConsumersWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTrackerConsumers operation. -// pageNum := 0 -// err := client.ListTrackerConsumersPages(params, -// func(page *locationservice.ListTrackerConsumersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTrackerConsumers operation. +// pageNum := 0 +// err := client.ListTrackerConsumersPages(params, +// func(page *locationservice.ListTrackerConsumersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LocationService) ListTrackerConsumersPages(input *ListTrackerConsumersInput, fn func(*ListTrackerConsumersOutput, bool) bool) error { return c.ListTrackerConsumersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4456,14 +4448,13 @@ const opListTrackers = "ListTrackers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTrackersRequest method. +// req, resp := client.ListTrackersRequest(params) // -// // Example sending a request using the ListTrackersRequest method. -// req, resp := client.ListTrackersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListTrackers func (c *LocationService) ListTrackersRequest(input *ListTrackersInput) (req *request.Request, output *ListTrackersOutput) { @@ -4502,19 +4493,20 @@ func (c *LocationService) ListTrackersRequest(input *ListTrackersInput) (req *re // API operation ListTrackers for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListTrackers func (c *LocationService) ListTrackers(input *ListTrackersInput) (*ListTrackersOutput, error) { @@ -4546,15 +4538,14 @@ func (c *LocationService) ListTrackersWithContext(ctx aws.Context, input *ListTr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTrackers operation. -// pageNum := 0 -// err := client.ListTrackersPages(params, -// func(page *locationservice.ListTrackersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTrackers operation. +// pageNum := 0 +// err := client.ListTrackersPages(params, +// func(page *locationservice.ListTrackersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LocationService) ListTrackersPages(input *ListTrackersInput, fn func(*ListTrackersOutput, bool) bool) error { return c.ListTrackersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4606,14 +4597,13 @@ const opPutGeofence = "PutGeofence" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutGeofenceRequest method. +// req, resp := client.PutGeofenceRequest(params) // -// // Example sending a request using the PutGeofenceRequest method. -// req, resp := client.PutGeofenceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/PutGeofence func (c *LocationService) PutGeofenceRequest(input *PutGeofenceInput) (req *request.Request, output *PutGeofenceOutput) { @@ -4647,25 +4637,26 @@ func (c *LocationService) PutGeofenceRequest(input *PutGeofenceInput) (req *requ // API operation PutGeofence for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * ConflictException -// The request was unsuccessful because of a conflict. +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ConflictException +// The request was unsuccessful because of a conflict. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/PutGeofence func (c *LocationService) PutGeofence(input *PutGeofenceInput) (*PutGeofenceOutput, error) { @@ -4705,14 +4696,13 @@ const opSearchPlaceIndexForPosition = "SearchPlaceIndexForPosition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchPlaceIndexForPositionRequest method. +// req, resp := client.SearchPlaceIndexForPositionRequest(params) // -// // Example sending a request using the SearchPlaceIndexForPositionRequest method. -// req, resp := client.SearchPlaceIndexForPositionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/SearchPlaceIndexForPosition func (c *LocationService) SearchPlaceIndexForPositionRequest(input *SearchPlaceIndexForPositionInput) (req *request.Request, output *SearchPlaceIndexForPositionOutput) { @@ -4746,22 +4736,23 @@ func (c *LocationService) SearchPlaceIndexForPositionRequest(input *SearchPlaceI // API operation SearchPlaceIndexForPosition for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/SearchPlaceIndexForPosition func (c *LocationService) SearchPlaceIndexForPosition(input *SearchPlaceIndexForPositionInput) (*SearchPlaceIndexForPositionOutput, error) { @@ -4801,14 +4792,13 @@ const opSearchPlaceIndexForSuggestions = "SearchPlaceIndexForSuggestions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchPlaceIndexForSuggestionsRequest method. +// req, resp := client.SearchPlaceIndexForSuggestionsRequest(params) // -// // Example sending a request using the SearchPlaceIndexForSuggestionsRequest method. -// req, resp := client.SearchPlaceIndexForSuggestionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/SearchPlaceIndexForSuggestions func (c *LocationService) SearchPlaceIndexForSuggestionsRequest(input *SearchPlaceIndexForSuggestionsInput) (req *request.Request, output *SearchPlaceIndexForSuggestionsOutput) { @@ -4851,22 +4841,23 @@ func (c *LocationService) SearchPlaceIndexForSuggestionsRequest(input *SearchPla // API operation SearchPlaceIndexForSuggestions for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/SearchPlaceIndexForSuggestions func (c *LocationService) SearchPlaceIndexForSuggestions(input *SearchPlaceIndexForSuggestionsInput) (*SearchPlaceIndexForSuggestionsOutput, error) { @@ -4906,14 +4897,13 @@ const opSearchPlaceIndexForText = "SearchPlaceIndexForText" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchPlaceIndexForTextRequest method. +// req, resp := client.SearchPlaceIndexForTextRequest(params) // -// // Example sending a request using the SearchPlaceIndexForTextRequest method. -// req, resp := client.SearchPlaceIndexForTextRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/SearchPlaceIndexForText func (c *LocationService) SearchPlaceIndexForTextRequest(input *SearchPlaceIndexForTextInput) (req *request.Request, output *SearchPlaceIndexForTextOutput) { @@ -4956,22 +4946,23 @@ func (c *LocationService) SearchPlaceIndexForTextRequest(input *SearchPlaceIndex // API operation SearchPlaceIndexForText for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/SearchPlaceIndexForText func (c *LocationService) SearchPlaceIndexForText(input *SearchPlaceIndexForTextInput) (*SearchPlaceIndexForTextOutput, error) { @@ -5011,14 +5002,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/TagResource func (c *LocationService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -5045,15 +5035,15 @@ func (c *LocationService) TagResourceRequest(input *TagResourceInput) (req *requ // Assigns one or more tags (key-value pairs) to the specified Amazon Location // Service resource. // -//

Tags can help you organize and categorize your resources. You can also -// use them to scope user permissions, by granting a user permission to access -// or change only resources with certain tag values.

You can use the -// TagResource operation with an Amazon Location Service resource -// that already has tags. If you specify a new tag key for the resource, -// this tag is appended to the tags already associated with the resource. -// If you specify a tag key that's already associated with the resource, -// the new tag value that you specify replaces the previous value for that -// tag.

You can associate up to 50 tags with a resource.

+//

Tags can help you organize and categorize your resources. You can also +// use them to scope user permissions, by granting a user permission to access +// or change only resources with certain tag values.

You can use the +// TagResource operation with an Amazon Location Service resource +// that already has tags. If you specify a new tag key for the resource, +// this tag is appended to the tags already associated with the resource. +// If you specify a tag key that's already associated with the resource, +// the new tag value that you specify replaces the previous value for that +// tag.

You can associate up to 50 tags with a resource.

// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5063,22 +5053,23 @@ func (c *LocationService) TagResourceRequest(input *TagResourceInput) (req *requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/TagResource func (c *LocationService) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -5118,14 +5109,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UntagResource func (c *LocationService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -5159,22 +5149,23 @@ func (c *LocationService) UntagResourceRequest(input *UntagResourceInput) (req * // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UntagResource func (c *LocationService) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -5214,14 +5205,13 @@ const opUpdateGeofenceCollection = "UpdateGeofenceCollection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGeofenceCollectionRequest method. +// req, resp := client.UpdateGeofenceCollectionRequest(params) // -// // Example sending a request using the UpdateGeofenceCollectionRequest method. -// req, resp := client.UpdateGeofenceCollectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateGeofenceCollection func (c *LocationService) UpdateGeofenceCollectionRequest(input *UpdateGeofenceCollectionInput) (req *request.Request, output *UpdateGeofenceCollectionOutput) { @@ -5254,22 +5244,23 @@ func (c *LocationService) UpdateGeofenceCollectionRequest(input *UpdateGeofenceC // API operation UpdateGeofenceCollection for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateGeofenceCollection func (c *LocationService) UpdateGeofenceCollection(input *UpdateGeofenceCollectionInput) (*UpdateGeofenceCollectionOutput, error) { @@ -5309,14 +5300,13 @@ const opUpdateMap = "UpdateMap" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMapRequest method. +// req, resp := client.UpdateMapRequest(params) // -// // Example sending a request using the UpdateMapRequest method. -// req, resp := client.UpdateMapRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateMap func (c *LocationService) UpdateMapRequest(input *UpdateMapInput) (req *request.Request, output *UpdateMapOutput) { @@ -5349,22 +5339,23 @@ func (c *LocationService) UpdateMapRequest(input *UpdateMapInput) (req *request. // API operation UpdateMap for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateMap func (c *LocationService) UpdateMap(input *UpdateMapInput) (*UpdateMapOutput, error) { @@ -5404,14 +5395,13 @@ const opUpdatePlaceIndex = "UpdatePlaceIndex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePlaceIndexRequest method. +// req, resp := client.UpdatePlaceIndexRequest(params) // -// // Example sending a request using the UpdatePlaceIndexRequest method. -// req, resp := client.UpdatePlaceIndexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdatePlaceIndex func (c *LocationService) UpdatePlaceIndexRequest(input *UpdatePlaceIndexInput) (req *request.Request, output *UpdatePlaceIndexOutput) { @@ -5444,22 +5434,23 @@ func (c *LocationService) UpdatePlaceIndexRequest(input *UpdatePlaceIndexInput) // API operation UpdatePlaceIndex for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdatePlaceIndex func (c *LocationService) UpdatePlaceIndex(input *UpdatePlaceIndexInput) (*UpdatePlaceIndexOutput, error) { @@ -5499,14 +5490,13 @@ const opUpdateRouteCalculator = "UpdateRouteCalculator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRouteCalculatorRequest method. +// req, resp := client.UpdateRouteCalculatorRequest(params) // -// // Example sending a request using the UpdateRouteCalculatorRequest method. -// req, resp := client.UpdateRouteCalculatorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateRouteCalculator func (c *LocationService) UpdateRouteCalculatorRequest(input *UpdateRouteCalculatorInput) (req *request.Request, output *UpdateRouteCalculatorOutput) { @@ -5539,22 +5529,23 @@ func (c *LocationService) UpdateRouteCalculatorRequest(input *UpdateRouteCalcula // API operation UpdateRouteCalculator for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. +// +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateRouteCalculator func (c *LocationService) UpdateRouteCalculator(input *UpdateRouteCalculatorInput) (*UpdateRouteCalculatorOutput, error) { @@ -5594,14 +5585,13 @@ const opUpdateTracker = "UpdateTracker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTrackerRequest method. +// req, resp := client.UpdateTrackerRequest(params) // -// // Example sending a request using the UpdateTrackerRequest method. -// req, resp := client.UpdateTrackerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateTracker func (c *LocationService) UpdateTrackerRequest(input *UpdateTrackerInput) (req *request.Request, output *UpdateTrackerOutput) { @@ -5634,22 +5624,23 @@ func (c *LocationService) UpdateTrackerRequest(input *UpdateTrackerInput) (req * // API operation UpdateTracker for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request has failed to process because of an unknown server error, exception, -// or failure. // -// * ResourceNotFoundException -// The resource that you've entered was not found in your AWS account. +// - InternalServerException +// The request has failed to process because of an unknown server error, exception, +// or failure. +// +// - ResourceNotFoundException +// The resource that you've entered was not found in your AWS account. // -// * AccessDeniedException -// The request was denied because of insufficient access or permissions. Check -// with an administrator to verify your permissions. +// - AccessDeniedException +// The request was denied because of insufficient access or permissions. Check +// with an administrator to verify your permissions. // -// * ValidationException -// The input failed to meet the constraints specified by the AWS service. +// - ValidationException +// The input failed to meet the constraints specified by the AWS service. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/UpdateTracker func (c *LocationService) UpdateTracker(input *UpdateTrackerInput) (*UpdateTrackerOutput, error) { @@ -8907,12 +8898,12 @@ func (s *CreateTrackerOutput) SetTrackerName(v string) *CreateTrackerOutput { // // When using Amazon Location Places: // -// * If using HERE Technologies as a data provider, you can't store results -// for locations in Japan by setting IntendedUse to Storage. parameter. +// - If using HERE Technologies as a data provider, you can't store results +// for locations in Japan by setting IntendedUse to Storage. parameter. // -// * Under the MobileAssetTracking or MobilAssetManagement pricing plan, -// you can't store results from your place index resources by setting IntendedUse -// to Storage. This returns a validation exception error. +// - Under the MobileAssetTracking or MobilAssetManagement pricing plan, +// you can't store results from your place index resources by setting IntendedUse +// to Storage. This returns a validation exception error. // // For more information, see the AWS Service Terms (https://aws.amazon.com/service-terms/) // for Amazon Location Service. @@ -11605,18 +11596,18 @@ func (s *InternalServerException) RequestID() string { // For example, a route with a departure position and destination position returns // one leg with the positions snapped to a nearby road (https://docs.aws.amazon.com/location/latest/developerguide/snap-to-nearby-road.html): // -// * The StartPosition is the departure position. +// - The StartPosition is the departure position. // -// * The EndPosition is the destination position. +// - The EndPosition is the destination position. // // A route with a waypoint between the departure and destination position returns // two legs with the positions snapped to a nearby road: // -// * Leg 1: The StartPosition is the departure position . The EndPosition -// is the waypoint positon. +// - Leg 1: The StartPosition is the departure position . The EndPosition +// is the waypoint positon. // -// * Leg 2: The StartPosition is the waypoint position. The EndPosition is -// the destination position. +// - Leg 2: The StartPosition is the waypoint position. The EndPosition is +// the destination position. type Leg struct { _ struct{} `type:"structure"` @@ -13984,22 +13975,22 @@ func (s *RouteMatrixEntry) SetError(v *RouteMatrixEntryError) *RouteMatrixEntry // // The error code can be one of the following: // -// * RouteNotFound - Unable to find a valid route with the given parameters. +// - RouteNotFound - Unable to find a valid route with the given parameters. // -// * RouteTooLong - Route calculation went beyond the maximum size of a route -// and was terminated before completion. +// - RouteTooLong - Route calculation went beyond the maximum size of a route +// and was terminated before completion. // -// * PositionsNotFound - One or more of the input positions were not found -// on the route network. +// - PositionsNotFound - One or more of the input positions were not found +// on the route network. // -// * DestinationPositionNotFound - The destination position was not found -// on the route network. +// - DestinationPositionNotFound - The destination position was not found +// on the route network. // -// * DeparturePositionNotFound - The departure position was not found on -// the route network. +// - DeparturePositionNotFound - The departure position was not found on +// the route network. // -// * OtherValidationError - The given inputs were not valid or a route was -// not found. More information is given in the error Message +// - OtherValidationError - The given inputs were not valid or a route was +// not found. More information is given in the error Message type RouteMatrixEntryError struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/doc.go index 1e8efd97ed4d..50b9789f8f55 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/doc.go @@ -11,7 +11,7 @@ // See locationservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/locationservice/ // -// Using the Client +// # Using the Client // // To contact Amazon Location Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/locationserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/locationserviceiface/interface.go index 33f5e296f5db..d368ae36cbb1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/locationserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/locationserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Location Service. -// func myFunc(svc locationserviceiface.LocationServiceAPI) bool { -// // Make svc.AssociateTrackerConsumer request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Location Service. +// func myFunc(svc locationserviceiface.LocationServiceAPI) bool { +// // Make svc.AssociateTrackerConsumer request +// } // -// func main() { -// sess := session.New() -// svc := locationservice.New(sess) +// func main() { +// sess := session.New() +// svc := locationservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockLocationServiceClient struct { -// locationserviceiface.LocationServiceAPI -// } -// func (m *mockLocationServiceClient) AssociateTrackerConsumer(input *locationservice.AssociateTrackerConsumerInput) (*locationservice.AssociateTrackerConsumerOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockLocationServiceClient struct { +// locationserviceiface.LocationServiceAPI +// } +// func (m *mockLocationServiceClient) AssociateTrackerConsumer(input *locationservice.AssociateTrackerConsumerInput) (*locationservice.AssociateTrackerConsumerOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockLocationServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockLocationServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/service.go index d957b1e9d433..bf44cabe175f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/locationservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a LocationService client from just a session. -// svc := locationservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a LocationService client with additional configuration -// svc := locationservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a LocationService client from just a session. +// svc := locationservice.New(mySession) +// +// // Create a LocationService client with additional configuration +// svc := locationservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *LocationService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/api.go index 0489eb2ada7e..559e980c2eda 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/api.go @@ -29,14 +29,13 @@ const opCreateDataset = "CreateDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatasetRequest method. +// req, resp := client.CreateDatasetRequest(params) // -// // Example sending a request using the CreateDatasetRequest method. -// req, resp := client.CreateDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateDataset func (c *LookoutEquipment) CreateDatasetRequest(input *CreateDatasetInput) (req *request.Request, output *CreateDatasetOutput) { @@ -71,27 +70,28 @@ func (c *LookoutEquipment) CreateDatasetRequest(input *CreateDatasetInput) (req // API operation CreateDataset for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ServiceQuotaExceededException -// Resource limitations have been exceeded. +// - ServiceQuotaExceededException +// Resource limitations have been exceeded. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateDataset func (c *LookoutEquipment) CreateDataset(input *CreateDatasetInput) (*CreateDatasetOutput, error) { @@ -131,14 +131,13 @@ const opCreateInferenceScheduler = "CreateInferenceScheduler" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInferenceSchedulerRequest method. +// req, resp := client.CreateInferenceSchedulerRequest(params) // -// // Example sending a request using the CreateInferenceSchedulerRequest method. -// req, resp := client.CreateInferenceSchedulerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateInferenceScheduler func (c *LookoutEquipment) CreateInferenceSchedulerRequest(input *CreateInferenceSchedulerInput) (req *request.Request, output *CreateInferenceSchedulerOutput) { @@ -174,31 +173,32 @@ func (c *LookoutEquipment) CreateInferenceSchedulerRequest(input *CreateInferenc // API operation CreateInferenceScheduler for usage and error information. // // Returned Error Types: -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. // -// * ServiceQuotaExceededException -// Resource limitations have been exceeded. +// - ServiceQuotaExceededException +// Resource limitations have been exceeded. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateInferenceScheduler func (c *LookoutEquipment) CreateInferenceScheduler(input *CreateInferenceSchedulerInput) (*CreateInferenceSchedulerOutput, error) { @@ -238,14 +238,13 @@ const opCreateModel = "CreateModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateModelRequest method. +// req, resp := client.CreateModelRequest(params) // -// // Example sending a request using the CreateModelRequest method. -// req, resp := client.CreateModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateModel func (c *LookoutEquipment) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput) { @@ -287,31 +286,32 @@ func (c *LookoutEquipment) CreateModelRequest(input *CreateModelInput) (req *req // API operation CreateModel for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ServiceQuotaExceededException -// Resource limitations have been exceeded. +// - ServiceQuotaExceededException +// Resource limitations have been exceeded. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/CreateModel func (c *LookoutEquipment) CreateModel(input *CreateModelInput) (*CreateModelOutput, error) { @@ -351,14 +351,13 @@ const opDeleteDataset = "DeleteDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatasetRequest method. +// req, resp := client.DeleteDatasetRequest(params) // -// // Example sending a request using the DeleteDatasetRequest method. -// req, resp := client.DeleteDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteDataset func (c *LookoutEquipment) DeleteDatasetRequest(input *DeleteDatasetInput) (req *request.Request, output *DeleteDatasetOutput) { @@ -394,24 +393,25 @@ func (c *LookoutEquipment) DeleteDatasetRequest(input *DeleteDatasetInput) (req // API operation DeleteDataset for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteDataset func (c *LookoutEquipment) DeleteDataset(input *DeleteDatasetInput) (*DeleteDatasetOutput, error) { @@ -451,14 +451,13 @@ const opDeleteInferenceScheduler = "DeleteInferenceScheduler" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInferenceSchedulerRequest method. +// req, resp := client.DeleteInferenceSchedulerRequest(params) // -// // Example sending a request using the DeleteInferenceSchedulerRequest method. -// req, resp := client.DeleteInferenceSchedulerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteInferenceScheduler func (c *LookoutEquipment) DeleteInferenceSchedulerRequest(input *DeleteInferenceSchedulerInput) (req *request.Request, output *DeleteInferenceSchedulerOutput) { @@ -491,28 +490,29 @@ func (c *LookoutEquipment) DeleteInferenceSchedulerRequest(input *DeleteInferenc // API operation DeleteInferenceScheduler for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteInferenceScheduler func (c *LookoutEquipment) DeleteInferenceScheduler(input *DeleteInferenceSchedulerInput) (*DeleteInferenceSchedulerOutput, error) { @@ -552,14 +552,13 @@ const opDeleteModel = "DeleteModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteModelRequest method. +// req, resp := client.DeleteModelRequest(params) // -// // Example sending a request using the DeleteModelRequest method. -// req, resp := client.DeleteModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteModel func (c *LookoutEquipment) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput) { @@ -593,24 +592,25 @@ func (c *LookoutEquipment) DeleteModelRequest(input *DeleteModelInput) (req *req // API operation DeleteModel for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DeleteModel func (c *LookoutEquipment) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error) { @@ -650,14 +650,13 @@ const opDescribeDataIngestionJob = "DescribeDataIngestionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDataIngestionJobRequest method. +// req, resp := client.DescribeDataIngestionJobRequest(params) // -// // Example sending a request using the DescribeDataIngestionJobRequest method. -// req, resp := client.DescribeDataIngestionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataIngestionJob func (c *LookoutEquipment) DescribeDataIngestionJobRequest(input *DescribeDataIngestionJobInput) (req *request.Request, output *DescribeDataIngestionJobOutput) { @@ -689,24 +688,25 @@ func (c *LookoutEquipment) DescribeDataIngestionJobRequest(input *DescribeDataIn // API operation DescribeDataIngestionJob for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataIngestionJob func (c *LookoutEquipment) DescribeDataIngestionJob(input *DescribeDataIngestionJobInput) (*DescribeDataIngestionJobOutput, error) { @@ -746,14 +746,13 @@ const opDescribeDataset = "DescribeDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDatasetRequest method. +// req, resp := client.DescribeDatasetRequest(params) // -// // Example sending a request using the DescribeDatasetRequest method. -// req, resp := client.DescribeDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataset func (c *LookoutEquipment) DescribeDatasetRequest(input *DescribeDatasetInput) (req *request.Request, output *DescribeDatasetOutput) { @@ -785,24 +784,25 @@ func (c *LookoutEquipment) DescribeDatasetRequest(input *DescribeDatasetInput) ( // API operation DescribeDataset for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeDataset func (c *LookoutEquipment) DescribeDataset(input *DescribeDatasetInput) (*DescribeDatasetOutput, error) { @@ -842,14 +842,13 @@ const opDescribeInferenceScheduler = "DescribeInferenceScheduler" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInferenceSchedulerRequest method. +// req, resp := client.DescribeInferenceSchedulerRequest(params) // -// // Example sending a request using the DescribeInferenceSchedulerRequest method. -// req, resp := client.DescribeInferenceSchedulerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeInferenceScheduler func (c *LookoutEquipment) DescribeInferenceSchedulerRequest(input *DescribeInferenceSchedulerInput) (req *request.Request, output *DescribeInferenceSchedulerOutput) { @@ -881,24 +880,25 @@ func (c *LookoutEquipment) DescribeInferenceSchedulerRequest(input *DescribeInfe // API operation DescribeInferenceScheduler for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeInferenceScheduler func (c *LookoutEquipment) DescribeInferenceScheduler(input *DescribeInferenceSchedulerInput) (*DescribeInferenceSchedulerOutput, error) { @@ -938,14 +938,13 @@ const opDescribeModel = "DescribeModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeModelRequest method. +// req, resp := client.DescribeModelRequest(params) // -// // Example sending a request using the DescribeModelRequest method. -// req, resp := client.DescribeModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeModel func (c *LookoutEquipment) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput) { @@ -978,24 +977,25 @@ func (c *LookoutEquipment) DescribeModelRequest(input *DescribeModelInput) (req // API operation DescribeModel for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/DescribeModel func (c *LookoutEquipment) DescribeModel(input *DescribeModelInput) (*DescribeModelOutput, error) { @@ -1035,14 +1035,13 @@ const opListDataIngestionJobs = "ListDataIngestionJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDataIngestionJobsRequest method. +// req, resp := client.ListDataIngestionJobsRequest(params) // -// // Example sending a request using the ListDataIngestionJobsRequest method. -// req, resp := client.ListDataIngestionJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDataIngestionJobs func (c *LookoutEquipment) ListDataIngestionJobsRequest(input *ListDataIngestionJobsInput) (req *request.Request, output *ListDataIngestionJobsOutput) { @@ -1080,20 +1079,21 @@ func (c *LookoutEquipment) ListDataIngestionJobsRequest(input *ListDataIngestion // API operation ListDataIngestionJobs for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDataIngestionJobs func (c *LookoutEquipment) ListDataIngestionJobs(input *ListDataIngestionJobsInput) (*ListDataIngestionJobsOutput, error) { @@ -1125,15 +1125,14 @@ func (c *LookoutEquipment) ListDataIngestionJobsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDataIngestionJobs operation. -// pageNum := 0 -// err := client.ListDataIngestionJobsPages(params, -// func(page *lookoutequipment.ListDataIngestionJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDataIngestionJobs operation. +// pageNum := 0 +// err := client.ListDataIngestionJobsPages(params, +// func(page *lookoutequipment.ListDataIngestionJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutEquipment) ListDataIngestionJobsPages(input *ListDataIngestionJobsInput, fn func(*ListDataIngestionJobsOutput, bool) bool) error { return c.ListDataIngestionJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1185,14 +1184,13 @@ const opListDatasets = "ListDatasets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetsRequest method. +// req, resp := client.ListDatasetsRequest(params) // -// // Example sending a request using the ListDatasetsRequest method. -// req, resp := client.ListDatasetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDatasets func (c *LookoutEquipment) ListDatasetsRequest(input *ListDatasetsInput) (req *request.Request, output *ListDatasetsOutput) { @@ -1230,20 +1228,21 @@ func (c *LookoutEquipment) ListDatasetsRequest(input *ListDatasetsInput) (req *r // API operation ListDatasets for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListDatasets func (c *LookoutEquipment) ListDatasets(input *ListDatasetsInput) (*ListDatasetsOutput, error) { @@ -1275,15 +1274,14 @@ func (c *LookoutEquipment) ListDatasetsWithContext(ctx aws.Context, input *ListD // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatasets operation. -// pageNum := 0 -// err := client.ListDatasetsPages(params, -// func(page *lookoutequipment.ListDatasetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatasets operation. +// pageNum := 0 +// err := client.ListDatasetsPages(params, +// func(page *lookoutequipment.ListDatasetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutEquipment) ListDatasetsPages(input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool) error { return c.ListDatasetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1335,14 +1333,13 @@ const opListInferenceExecutions = "ListInferenceExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInferenceExecutionsRequest method. +// req, resp := client.ListInferenceExecutionsRequest(params) // -// // Example sending a request using the ListInferenceExecutionsRequest method. -// req, resp := client.ListInferenceExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceExecutions func (c *LookoutEquipment) ListInferenceExecutionsRequest(input *ListInferenceExecutionsInput) (req *request.Request, output *ListInferenceExecutionsOutput) { @@ -1380,24 +1377,25 @@ func (c *LookoutEquipment) ListInferenceExecutionsRequest(input *ListInferenceEx // API operation ListInferenceExecutions for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceExecutions func (c *LookoutEquipment) ListInferenceExecutions(input *ListInferenceExecutionsInput) (*ListInferenceExecutionsOutput, error) { @@ -1429,15 +1427,14 @@ func (c *LookoutEquipment) ListInferenceExecutionsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInferenceExecutions operation. -// pageNum := 0 -// err := client.ListInferenceExecutionsPages(params, -// func(page *lookoutequipment.ListInferenceExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInferenceExecutions operation. +// pageNum := 0 +// err := client.ListInferenceExecutionsPages(params, +// func(page *lookoutequipment.ListInferenceExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutEquipment) ListInferenceExecutionsPages(input *ListInferenceExecutionsInput, fn func(*ListInferenceExecutionsOutput, bool) bool) error { return c.ListInferenceExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1489,14 +1486,13 @@ const opListInferenceSchedulers = "ListInferenceSchedulers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInferenceSchedulersRequest method. +// req, resp := client.ListInferenceSchedulersRequest(params) // -// // Example sending a request using the ListInferenceSchedulersRequest method. -// req, resp := client.ListInferenceSchedulersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceSchedulers func (c *LookoutEquipment) ListInferenceSchedulersRequest(input *ListInferenceSchedulersInput) (req *request.Request, output *ListInferenceSchedulersOutput) { @@ -1534,20 +1530,21 @@ func (c *LookoutEquipment) ListInferenceSchedulersRequest(input *ListInferenceSc // API operation ListInferenceSchedulers for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListInferenceSchedulers func (c *LookoutEquipment) ListInferenceSchedulers(input *ListInferenceSchedulersInput) (*ListInferenceSchedulersOutput, error) { @@ -1579,15 +1576,14 @@ func (c *LookoutEquipment) ListInferenceSchedulersWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInferenceSchedulers operation. -// pageNum := 0 -// err := client.ListInferenceSchedulersPages(params, -// func(page *lookoutequipment.ListInferenceSchedulersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInferenceSchedulers operation. +// pageNum := 0 +// err := client.ListInferenceSchedulersPages(params, +// func(page *lookoutequipment.ListInferenceSchedulersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutEquipment) ListInferenceSchedulersPages(input *ListInferenceSchedulersInput, fn func(*ListInferenceSchedulersOutput, bool) bool) error { return c.ListInferenceSchedulersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1639,14 +1635,13 @@ const opListModels = "ListModels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListModelsRequest method. +// req, resp := client.ListModelsRequest(params) // -// // Example sending a request using the ListModelsRequest method. -// req, resp := client.ListModelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListModels func (c *LookoutEquipment) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput) { @@ -1684,20 +1679,21 @@ func (c *LookoutEquipment) ListModelsRequest(input *ListModelsInput) (req *reque // API operation ListModels for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListModels func (c *LookoutEquipment) ListModels(input *ListModelsInput) (*ListModelsOutput, error) { @@ -1729,15 +1725,14 @@ func (c *LookoutEquipment) ListModelsWithContext(ctx aws.Context, input *ListMod // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListModels operation. -// pageNum := 0 -// err := client.ListModelsPages(params, -// func(page *lookoutequipment.ListModelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListModels operation. +// pageNum := 0 +// err := client.ListModelsPages(params, +// func(page *lookoutequipment.ListModelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutEquipment) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error { return c.ListModelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1789,14 +1784,13 @@ const opListSensorStatistics = "ListSensorStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSensorStatisticsRequest method. +// req, resp := client.ListSensorStatisticsRequest(params) // -// // Example sending a request using the ListSensorStatisticsRequest method. -// req, resp := client.ListSensorStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListSensorStatistics func (c *LookoutEquipment) ListSensorStatisticsRequest(input *ListSensorStatisticsInput) (req *request.Request, output *ListSensorStatisticsOutput) { @@ -1835,24 +1829,25 @@ func (c *LookoutEquipment) ListSensorStatisticsRequest(input *ListSensorStatisti // API operation ListSensorStatistics for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListSensorStatistics func (c *LookoutEquipment) ListSensorStatistics(input *ListSensorStatisticsInput) (*ListSensorStatisticsOutput, error) { @@ -1884,15 +1879,14 @@ func (c *LookoutEquipment) ListSensorStatisticsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSensorStatistics operation. -// pageNum := 0 -// err := client.ListSensorStatisticsPages(params, -// func(page *lookoutequipment.ListSensorStatisticsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSensorStatistics operation. +// pageNum := 0 +// err := client.ListSensorStatisticsPages(params, +// func(page *lookoutequipment.ListSensorStatisticsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutEquipment) ListSensorStatisticsPages(input *ListSensorStatisticsInput, fn func(*ListSensorStatisticsOutput, bool) bool) error { return c.ListSensorStatisticsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1944,14 +1938,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListTagsForResource func (c *LookoutEquipment) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1982,24 +1975,25 @@ func (c *LookoutEquipment) ListTagsForResourceRequest(input *ListTagsForResource // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/ListTagsForResource func (c *LookoutEquipment) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2039,14 +2033,13 @@ const opStartDataIngestionJob = "StartDataIngestionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDataIngestionJobRequest method. +// req, resp := client.StartDataIngestionJobRequest(params) // -// // Example sending a request using the StartDataIngestionJobRequest method. -// req, resp := client.StartDataIngestionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartDataIngestionJob func (c *LookoutEquipment) StartDataIngestionJobRequest(input *StartDataIngestionJobInput) (req *request.Request, output *StartDataIngestionJobOutput) { @@ -2078,31 +2071,32 @@ func (c *LookoutEquipment) StartDataIngestionJobRequest(input *StartDataIngestio // API operation StartDataIngestionJob for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ServiceQuotaExceededException -// Resource limitations have been exceeded. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - ServiceQuotaExceededException +// Resource limitations have been exceeded. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartDataIngestionJob func (c *LookoutEquipment) StartDataIngestionJob(input *StartDataIngestionJobInput) (*StartDataIngestionJobOutput, error) { @@ -2142,14 +2136,13 @@ const opStartInferenceScheduler = "StartInferenceScheduler" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartInferenceSchedulerRequest method. +// req, resp := client.StartInferenceSchedulerRequest(params) // -// // Example sending a request using the StartInferenceSchedulerRequest method. -// req, resp := client.StartInferenceSchedulerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartInferenceScheduler func (c *LookoutEquipment) StartInferenceSchedulerRequest(input *StartInferenceSchedulerInput) (req *request.Request, output *StartInferenceSchedulerOutput) { @@ -2180,28 +2173,29 @@ func (c *LookoutEquipment) StartInferenceSchedulerRequest(input *StartInferenceS // API operation StartInferenceScheduler for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StartInferenceScheduler func (c *LookoutEquipment) StartInferenceScheduler(input *StartInferenceSchedulerInput) (*StartInferenceSchedulerOutput, error) { @@ -2241,14 +2235,13 @@ const opStopInferenceScheduler = "StopInferenceScheduler" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopInferenceSchedulerRequest method. +// req, resp := client.StopInferenceSchedulerRequest(params) // -// // Example sending a request using the StopInferenceSchedulerRequest method. -// req, resp := client.StopInferenceSchedulerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StopInferenceScheduler func (c *LookoutEquipment) StopInferenceSchedulerRequest(input *StopInferenceSchedulerInput) (req *request.Request, output *StopInferenceSchedulerOutput) { @@ -2279,28 +2272,29 @@ func (c *LookoutEquipment) StopInferenceSchedulerRequest(input *StopInferenceSch // API operation StopInferenceScheduler for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/StopInferenceScheduler func (c *LookoutEquipment) StopInferenceScheduler(input *StopInferenceSchedulerInput) (*StopInferenceSchedulerOutput, error) { @@ -2340,14 +2334,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/TagResource func (c *LookoutEquipment) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2383,27 +2376,28 @@ func (c *LookoutEquipment) TagResourceRequest(input *TagResourceInput) (req *req // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. +// +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * ServiceQuotaExceededException -// Resource limitations have been exceeded. +// - ServiceQuotaExceededException +// Resource limitations have been exceeded. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/TagResource func (c *LookoutEquipment) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2443,14 +2437,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UntagResource func (c *LookoutEquipment) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2483,24 +2476,25 @@ func (c *LookoutEquipment) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. +// +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UntagResource func (c *LookoutEquipment) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2540,14 +2534,13 @@ const opUpdateInferenceScheduler = "UpdateInferenceScheduler" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateInferenceSchedulerRequest method. +// req, resp := client.UpdateInferenceSchedulerRequest(params) // -// // Example sending a request using the UpdateInferenceSchedulerRequest method. -// req, resp := client.UpdateInferenceSchedulerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UpdateInferenceScheduler func (c *LookoutEquipment) UpdateInferenceSchedulerRequest(input *UpdateInferenceSchedulerInput) (req *request.Request, output *UpdateInferenceSchedulerOutput) { @@ -2579,28 +2572,29 @@ func (c *LookoutEquipment) UpdateInferenceSchedulerRequest(input *UpdateInferenc // API operation UpdateInferenceScheduler for usage and error information. // // Returned Error Types: -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. // -// * ResourceNotFoundException -// The resource requested could not be found. Verify the resource ID and retry -// your request. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. +// +// - ResourceNotFoundException +// The resource requested could not be found. Verify the resource ID and retry +// your request. // -// * ValidationException -// The input fails to satisfy constraints specified by Amazon Lookout for Equipment -// or a related AWS service that's being utilized. +// - ValidationException +// The input fails to satisfy constraints specified by Amazon Lookout for Equipment +// or a related AWS service that's being utilized. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// The request could not be completed because you do not have access to the -// resource. +// - AccessDeniedException +// The request could not be completed because you do not have access to the +// resource. // -// * InternalServerException -// Processing of the request has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// Processing of the request has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/UpdateInferenceScheduler func (c *LookoutEquipment) UpdateInferenceScheduler(input *UpdateInferenceSchedulerInput) (*UpdateInferenceSchedulerOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/doc.go index 52bd85ddc953..b2b8868bcc43 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/doc.go @@ -12,7 +12,7 @@ // See lookoutequipment package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/lookoutequipment/ // -// Using the Client +// # Using the Client // // To contact Amazon Lookout for Equipment with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/lookoutequipmentiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/lookoutequipmentiface/interface.go index d88733b9d879..5fd71dccd920 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/lookoutequipmentiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/lookoutequipmentiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Lookout for Equipment. -// func myFunc(svc lookoutequipmentiface.LookoutEquipmentAPI) bool { -// // Make svc.CreateDataset request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Lookout for Equipment. +// func myFunc(svc lookoutequipmentiface.LookoutEquipmentAPI) bool { +// // Make svc.CreateDataset request +// } // -// func main() { -// sess := session.New() -// svc := lookoutequipment.New(sess) +// func main() { +// sess := session.New() +// svc := lookoutequipment.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockLookoutEquipmentClient struct { -// lookoutequipmentiface.LookoutEquipmentAPI -// } -// func (m *mockLookoutEquipmentClient) CreateDataset(input *lookoutequipment.CreateDatasetInput) (*lookoutequipment.CreateDatasetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockLookoutEquipmentClient struct { +// lookoutequipmentiface.LookoutEquipmentAPI +// } +// func (m *mockLookoutEquipmentClient) CreateDataset(input *lookoutequipment.CreateDatasetInput) (*lookoutequipment.CreateDatasetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockLookoutEquipmentClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockLookoutEquipmentClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/service.go index a240eddf98e1..62e6734cd8f4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutequipment/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a LookoutEquipment client from just a session. -// svc := lookoutequipment.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a LookoutEquipment client with additional configuration -// svc := lookoutequipment.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a LookoutEquipment client from just a session. +// svc := lookoutequipment.New(mySession) +// +// // Create a LookoutEquipment client with additional configuration +// svc := lookoutequipment.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *LookoutEquipment { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/api.go index 936861239377..2072f126d204 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/api.go @@ -30,14 +30,13 @@ const opCreateDataset = "CreateDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatasetRequest method. +// req, resp := client.CreateDatasetRequest(params) // -// // Example sending a request using the CreateDatasetRequest method. -// req, resp := client.CreateDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/CreateDataset func (c *LookoutForVision) CreateDatasetRequest(input *CreateDatasetInput) (req *request.Request, output *CreateDatasetOutput) { @@ -78,30 +77,31 @@ func (c *LookoutForVision) CreateDatasetRequest(input *CreateDatasetInput) (req // API operation CreateDataset for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // -// * ServiceQuotaExceededException -// A service quota was exceeded the allowed limit. For more information, see -// Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer -// Guide. +// - ServiceQuotaExceededException +// A service quota was exceeded the allowed limit. For more information, see +// Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer +// Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/CreateDataset func (c *LookoutForVision) CreateDataset(input *CreateDatasetInput) (*CreateDatasetOutput, error) { @@ -141,14 +141,13 @@ const opCreateModel = "CreateModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateModelRequest method. +// req, resp := client.CreateModelRequest(params) // -// // Example sending a request using the CreateModelRequest method. -// req, resp := client.CreateModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/CreateModel func (c *LookoutForVision) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput) { @@ -196,30 +195,31 @@ func (c *LookoutForVision) CreateModelRequest(input *CreateModelInput) (req *req // API operation CreateModel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ResourceNotFoundException -// The resource could not be found. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ResourceNotFoundException +// The resource could not be found. // -// * ServiceQuotaExceededException -// A service quota was exceeded the allowed limit. For more information, see -// Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer -// Guide. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. +// +// - ServiceQuotaExceededException +// A service quota was exceeded the allowed limit. For more information, see +// Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer +// Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/CreateModel func (c *LookoutForVision) CreateModel(input *CreateModelInput) (*CreateModelOutput, error) { @@ -259,14 +259,13 @@ const opCreateProject = "CreateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProjectRequest method. +// req, resp := client.CreateProjectRequest(params) // -// // Example sending a request using the CreateProjectRequest method. -// req, resp := client.CreateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/CreateProject func (c *LookoutForVision) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) { @@ -301,30 +300,31 @@ func (c *LookoutForVision) CreateProjectRequest(input *CreateProjectInput) (req // API operation CreateProject for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // -// * ServiceQuotaExceededException -// A service quota was exceeded the allowed limit. For more information, see -// Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer -// Guide. +// - ServiceQuotaExceededException +// A service quota was exceeded the allowed limit. For more information, see +// Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer +// Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/CreateProject func (c *LookoutForVision) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) { @@ -364,14 +364,13 @@ const opDeleteDataset = "DeleteDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatasetRequest method. +// req, resp := client.DeleteDatasetRequest(params) // -// // Example sending a request using the DeleteDatasetRequest method. -// req, resp := client.DeleteDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DeleteDataset func (c *LookoutForVision) DeleteDatasetRequest(input *DeleteDatasetInput) (req *request.Request, output *DeleteDatasetOutput) { @@ -400,12 +399,12 @@ func (c *LookoutForVision) DeleteDatasetRequest(input *DeleteDatasetInput) (req // // If you project has a training dataset and a test dataset consider the following. // -// * If you delete the test dataset, your project reverts to a single dataset -// project. If you then train the model, Amazon Lookout for Vision internally -// splits the remaining dataset into a training and test dataset. +// - If you delete the test dataset, your project reverts to a single dataset +// project. If you then train the model, Amazon Lookout for Vision internally +// splits the remaining dataset into a training and test dataset. // -// * If you delete the training dataset, you must create a training dataset -// before you can create a model. +// - If you delete the training dataset, you must create a training dataset +// before you can create a model. // // This operation requires permissions to perform the lookoutvision:DeleteDataset // operation. @@ -418,25 +417,26 @@ func (c *LookoutForVision) DeleteDatasetRequest(input *DeleteDatasetInput) (req // API operation DeleteDataset for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DeleteDataset func (c *LookoutForVision) DeleteDataset(input *DeleteDatasetInput) (*DeleteDatasetOutput, error) { @@ -476,14 +476,13 @@ const opDeleteModel = "DeleteModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteModelRequest method. +// req, resp := client.DeleteModelRequest(params) // -// // Example sending a request using the DeleteModelRequest method. -// req, resp := client.DeleteModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DeleteModel func (c *LookoutForVision) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput) { @@ -522,25 +521,26 @@ func (c *LookoutForVision) DeleteModelRequest(input *DeleteModelInput) (req *req // API operation DeleteModel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ResourceNotFoundException -// The resource could not be found. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ResourceNotFoundException +// The resource could not be found. +// +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DeleteModel func (c *LookoutForVision) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error) { @@ -580,14 +580,13 @@ const opDeleteProject = "DeleteProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProjectRequest method. +// req, resp := client.DeleteProjectRequest(params) // -// // Example sending a request using the DeleteProjectRequest method. -// req, resp := client.DeleteProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DeleteProject func (c *LookoutForVision) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) { @@ -628,25 +627,26 @@ func (c *LookoutForVision) DeleteProjectRequest(input *DeleteProjectInput) (req // API operation DeleteProject for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DeleteProject func (c *LookoutForVision) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) { @@ -686,14 +686,13 @@ const opDescribeDataset = "DescribeDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDatasetRequest method. +// req, resp := client.DescribeDatasetRequest(params) // -// // Example sending a request using the DescribeDatasetRequest method. -// req, resp := client.DescribeDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeDataset func (c *LookoutForVision) DescribeDatasetRequest(input *DescribeDatasetInput) (req *request.Request, output *DescribeDatasetOutput) { @@ -727,25 +726,26 @@ func (c *LookoutForVision) DescribeDatasetRequest(input *DescribeDatasetInput) ( // API operation DescribeDataset for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeDataset func (c *LookoutForVision) DescribeDataset(input *DescribeDatasetInput) (*DescribeDatasetOutput, error) { @@ -785,14 +785,13 @@ const opDescribeModel = "DescribeModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeModelRequest method. +// req, resp := client.DescribeModelRequest(params) // -// // Example sending a request using the DescribeModelRequest method. -// req, resp := client.DescribeModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeModel func (c *LookoutForVision) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput) { @@ -826,25 +825,26 @@ func (c *LookoutForVision) DescribeModelRequest(input *DescribeModelInput) (req // API operation DescribeModel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ResourceNotFoundException -// The resource could not be found. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ResourceNotFoundException +// The resource could not be found. +// +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeModel func (c *LookoutForVision) DescribeModel(input *DescribeModelInput) (*DescribeModelOutput, error) { @@ -884,14 +884,13 @@ const opDescribeModelPackagingJob = "DescribeModelPackagingJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeModelPackagingJobRequest method. +// req, resp := client.DescribeModelPackagingJobRequest(params) // -// // Example sending a request using the DescribeModelPackagingJobRequest method. -// req, resp := client.DescribeModelPackagingJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeModelPackagingJob func (c *LookoutForVision) DescribeModelPackagingJobRequest(input *DescribeModelPackagingJobInput) (req *request.Request, output *DescribeModelPackagingJobOutput) { @@ -928,22 +927,23 @@ func (c *LookoutForVision) DescribeModelPackagingJobRequest(input *DescribeModel // API operation DescribeModelPackagingJob for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeModelPackagingJob func (c *LookoutForVision) DescribeModelPackagingJob(input *DescribeModelPackagingJobInput) (*DescribeModelPackagingJobOutput, error) { @@ -983,14 +983,13 @@ const opDescribeProject = "DescribeProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProjectRequest method. +// req, resp := client.DescribeProjectRequest(params) // -// // Example sending a request using the DescribeProjectRequest method. -// req, resp := client.DescribeProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeProject func (c *LookoutForVision) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput) { @@ -1024,25 +1023,26 @@ func (c *LookoutForVision) DescribeProjectRequest(input *DescribeProjectInput) ( // API operation DescribeProject for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DescribeProject func (c *LookoutForVision) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error) { @@ -1082,14 +1082,13 @@ const opDetectAnomalies = "DetectAnomalies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectAnomaliesRequest method. +// req, resp := client.DetectAnomaliesRequest(params) // -// // Example sending a request using the DetectAnomaliesRequest method. -// req, resp := client.DetectAnomaliesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DetectAnomalies func (c *LookoutForVision) DetectAnomaliesRequest(input *DetectAnomaliesInput) (req *request.Request, output *DetectAnomaliesOutput) { @@ -1132,25 +1131,26 @@ func (c *LookoutForVision) DetectAnomaliesRequest(input *DetectAnomaliesInput) ( // API operation DetectAnomalies for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ResourceNotFoundException -// The resource could not be found. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ResourceNotFoundException +// The resource could not be found. +// +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/DetectAnomalies func (c *LookoutForVision) DetectAnomalies(input *DetectAnomaliesInput) (*DetectAnomaliesOutput, error) { @@ -1190,14 +1190,13 @@ const opListDatasetEntries = "ListDatasetEntries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetEntriesRequest method. +// req, resp := client.ListDatasetEntriesRequest(params) // -// // Example sending a request using the ListDatasetEntriesRequest method. -// req, resp := client.ListDatasetEntriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListDatasetEntries func (c *LookoutForVision) ListDatasetEntriesRequest(input *ListDatasetEntriesInput) (req *request.Request, output *ListDatasetEntriesOutput) { @@ -1239,25 +1238,26 @@ func (c *LookoutForVision) ListDatasetEntriesRequest(input *ListDatasetEntriesIn // API operation ListDatasetEntries for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListDatasetEntries func (c *LookoutForVision) ListDatasetEntries(input *ListDatasetEntriesInput) (*ListDatasetEntriesOutput, error) { @@ -1289,15 +1289,14 @@ func (c *LookoutForVision) ListDatasetEntriesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatasetEntries operation. -// pageNum := 0 -// err := client.ListDatasetEntriesPages(params, -// func(page *lookoutforvision.ListDatasetEntriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatasetEntries operation. +// pageNum := 0 +// err := client.ListDatasetEntriesPages(params, +// func(page *lookoutforvision.ListDatasetEntriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutForVision) ListDatasetEntriesPages(input *ListDatasetEntriesInput, fn func(*ListDatasetEntriesOutput, bool) bool) error { return c.ListDatasetEntriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1349,14 +1348,13 @@ const opListModelPackagingJobs = "ListModelPackagingJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListModelPackagingJobsRequest method. +// req, resp := client.ListModelPackagingJobsRequest(params) // -// // Example sending a request using the ListModelPackagingJobsRequest method. -// req, resp := client.ListModelPackagingJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListModelPackagingJobs func (c *LookoutForVision) ListModelPackagingJobsRequest(input *ListModelPackagingJobsInput) (req *request.Request, output *ListModelPackagingJobsOutput) { @@ -1399,22 +1397,23 @@ func (c *LookoutForVision) ListModelPackagingJobsRequest(input *ListModelPackagi // API operation ListModelPackagingJobs for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListModelPackagingJobs func (c *LookoutForVision) ListModelPackagingJobs(input *ListModelPackagingJobsInput) (*ListModelPackagingJobsOutput, error) { @@ -1446,15 +1445,14 @@ func (c *LookoutForVision) ListModelPackagingJobsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListModelPackagingJobs operation. -// pageNum := 0 -// err := client.ListModelPackagingJobsPages(params, -// func(page *lookoutforvision.ListModelPackagingJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListModelPackagingJobs operation. +// pageNum := 0 +// err := client.ListModelPackagingJobsPages(params, +// func(page *lookoutforvision.ListModelPackagingJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutForVision) ListModelPackagingJobsPages(input *ListModelPackagingJobsInput, fn func(*ListModelPackagingJobsOutput, bool) bool) error { return c.ListModelPackagingJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1506,14 +1504,13 @@ const opListModels = "ListModels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListModelsRequest method. +// req, resp := client.ListModelsRequest(params) // -// // Example sending a request using the ListModelsRequest method. -// req, resp := client.ListModelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListModels func (c *LookoutForVision) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput) { @@ -1556,25 +1553,26 @@ func (c *LookoutForVision) ListModelsRequest(input *ListModelsInput) (req *reque // API operation ListModels for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListModels func (c *LookoutForVision) ListModels(input *ListModelsInput) (*ListModelsOutput, error) { @@ -1606,15 +1604,14 @@ func (c *LookoutForVision) ListModelsWithContext(ctx aws.Context, input *ListMod // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListModels operation. -// pageNum := 0 -// err := client.ListModelsPages(params, -// func(page *lookoutforvision.ListModelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListModels operation. +// pageNum := 0 +// err := client.ListModelsPages(params, +// func(page *lookoutforvision.ListModelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutForVision) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error { return c.ListModelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1666,14 +1663,13 @@ const opListProjects = "ListProjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProjectsRequest method. +// req, resp := client.ListProjectsRequest(params) // -// // Example sending a request using the ListProjectsRequest method. -// req, resp := client.ListProjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListProjects func (c *LookoutForVision) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) { @@ -1716,25 +1712,26 @@ func (c *LookoutForVision) ListProjectsRequest(input *ListProjectsInput) (req *r // API operation ListProjects for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListProjects func (c *LookoutForVision) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error) { @@ -1766,15 +1763,14 @@ func (c *LookoutForVision) ListProjectsWithContext(ctx aws.Context, input *ListP // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProjects operation. -// pageNum := 0 -// err := client.ListProjectsPages(params, -// func(page *lookoutforvision.ListProjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProjects operation. +// pageNum := 0 +// err := client.ListProjectsPages(params, +// func(page *lookoutforvision.ListProjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutForVision) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error { return c.ListProjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1826,14 +1822,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListTagsForResource func (c *LookoutForVision) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1868,25 +1863,26 @@ func (c *LookoutForVision) ListTagsForResourceRequest(input *ListTagsForResource // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/ListTagsForResource func (c *LookoutForVision) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1926,14 +1922,13 @@ const opStartModel = "StartModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartModelRequest method. +// req, resp := client.StartModelRequest(params) // -// // Example sending a request using the StartModelRequest method. -// req, resp := client.StartModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StartModel func (c *LookoutForVision) StartModelRequest(input *StartModelInput) (req *request.Request, output *StartModelOutput) { @@ -1977,30 +1972,31 @@ func (c *LookoutForVision) StartModelRequest(input *StartModelInput) (req *reque // API operation StartModel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // -// * ServiceQuotaExceededException -// A service quota was exceeded the allowed limit. For more information, see -// Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer -// Guide. +// - ServiceQuotaExceededException +// A service quota was exceeded the allowed limit. For more information, see +// Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer +// Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StartModel func (c *LookoutForVision) StartModel(input *StartModelInput) (*StartModelOutput, error) { @@ -2040,14 +2036,13 @@ const opStartModelPackagingJob = "StartModelPackagingJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartModelPackagingJobRequest method. +// req, resp := client.StartModelPackagingJobRequest(params) // -// // Example sending a request using the StartModelPackagingJobRequest method. -// req, resp := client.StartModelPackagingJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StartModelPackagingJob func (c *LookoutForVision) StartModelPackagingJobRequest(input *StartModelPackagingJobInput) (req *request.Request, output *StartModelPackagingJobOutput) { @@ -2082,18 +2077,18 @@ func (c *LookoutForVision) StartModelPackagingJobRequest(input *StartModelPackag // // This operation requires the following permissions: // -// * lookoutvision:StartModelPackagingJob +// - lookoutvision:StartModelPackagingJob // -// * s3:PutObject +// - s3:PutObject // -// * s3:GetBucketLocation +// - s3:GetBucketLocation // -// * greengrass:CreateComponentVersion +// - greengrass:CreateComponentVersion // -// * greengrass:DescribeComponent +// - greengrass:DescribeComponent // -// * (Optional) greengrass:TagResource. Only required if you want to tag -// the component. +// - (Optional) greengrass:TagResource. Only required if you want to tag +// the component. // // For more information, see Using your Amazon Lookout for Vision model on an // edge device in the Amazon Lookout for Vision Developer Guide. @@ -2106,30 +2101,31 @@ func (c *LookoutForVision) StartModelPackagingJobRequest(input *StartModelPackag // API operation StartModelPackagingJob for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ResourceNotFoundException -// The resource could not be found. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ResourceNotFoundException +// The resource could not be found. // -// * ServiceQuotaExceededException -// A service quota was exceeded the allowed limit. For more information, see -// Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer -// Guide. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. +// +// - ServiceQuotaExceededException +// A service quota was exceeded the allowed limit. For more information, see +// Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer +// Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StartModelPackagingJob func (c *LookoutForVision) StartModelPackagingJob(input *StartModelPackagingJobInput) (*StartModelPackagingJobOutput, error) { @@ -2169,14 +2165,13 @@ const opStopModel = "StopModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopModelRequest method. +// req, resp := client.StopModelRequest(params) // -// // Example sending a request using the StopModelRequest method. -// req, resp := client.StopModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StopModel func (c *LookoutForVision) StopModelRequest(input *StopModelInput) (req *request.Request, output *StopModelOutput) { @@ -2213,25 +2208,26 @@ func (c *LookoutForVision) StopModelRequest(input *StopModelInput) (req *request // API operation StopModel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/StopModel func (c *LookoutForVision) StopModel(input *StopModelInput) (*StopModelOutput, error) { @@ -2271,14 +2267,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/TagResource func (c *LookoutForVision) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2315,30 +2310,31 @@ func (c *LookoutForVision) TagResourceRequest(input *TagResourceInput) (req *req // API operation TagResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // -// * ServiceQuotaExceededException -// A service quota was exceeded the allowed limit. For more information, see -// Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer -// Guide. +// - ServiceQuotaExceededException +// A service quota was exceeded the allowed limit. For more information, see +// Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer +// Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/TagResource func (c *LookoutForVision) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2378,14 +2374,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/UntagResource func (c *LookoutForVision) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2422,25 +2417,26 @@ func (c *LookoutForVision) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ResourceNotFoundException -// The resource could not be found. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ResourceNotFoundException +// The resource could not be found. +// +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/UntagResource func (c *LookoutForVision) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2480,14 +2476,13 @@ const opUpdateDatasetEntries = "UpdateDatasetEntries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDatasetEntriesRequest method. +// req, resp := client.UpdateDatasetEntriesRequest(params) // -// // Example sending a request using the UpdateDatasetEntriesRequest method. -// req, resp := client.UpdateDatasetEntriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/UpdateDatasetEntries func (c *LookoutForVision) UpdateDatasetEntriesRequest(input *UpdateDatasetEntriesInput) (req *request.Request, output *UpdateDatasetEntriesOutput) { @@ -2537,25 +2532,26 @@ func (c *LookoutForVision) UpdateDatasetEntriesRequest(input *UpdateDatasetEntri // API operation UpdateDatasetEntries for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerException -// Amazon Lookout for Vision experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. +// +// - InternalServerException +// Amazon Lookout for Vision experienced a service issue. Try your call again. // -// * ValidationException -// An input validation error occured. For example, invalid characters in a project -// name, or if a pagination token is invalid. +// - ValidationException +// An input validation error occured. For example, invalid characters in a project +// name, or if a pagination token is invalid. // -// * ConflictException -// The update or deletion of a resource caused an inconsistent state. +// - ConflictException +// The update or deletion of a resource caused an inconsistent state. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ThrottlingException -// Amazon Lookout for Vision is temporarily unable to process the request. Try -// your call again. +// - ThrottlingException +// Amazon Lookout for Vision is temporarily unable to process the request. Try +// your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutvision-2020-11-20/UpdateDatasetEntries func (c *LookoutForVision) UpdateDatasetEntries(input *UpdateDatasetEntriesInput) (*UpdateDatasetEntriesOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/doc.go index 6d30c0d3a3d9..9ba2098b4160 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/doc.go @@ -18,7 +18,7 @@ // See lookoutforvision package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/lookoutforvision/ // -// Using the Client +// # Using the Client // // To contact Amazon Lookout for Vision with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/lookoutforvisioniface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/lookoutforvisioniface/interface.go index 3dc28a063f97..04afc70b443d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/lookoutforvisioniface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/lookoutforvisioniface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Lookout for Vision. -// func myFunc(svc lookoutforvisioniface.LookoutForVisionAPI) bool { -// // Make svc.CreateDataset request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Lookout for Vision. +// func myFunc(svc lookoutforvisioniface.LookoutForVisionAPI) bool { +// // Make svc.CreateDataset request +// } // -// func main() { -// sess := session.New() -// svc := lookoutforvision.New(sess) +// func main() { +// sess := session.New() +// svc := lookoutforvision.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockLookoutForVisionClient struct { -// lookoutforvisioniface.LookoutForVisionAPI -// } -// func (m *mockLookoutForVisionClient) CreateDataset(input *lookoutforvision.CreateDatasetInput) (*lookoutforvision.CreateDatasetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockLookoutForVisionClient struct { +// lookoutforvisioniface.LookoutForVisionAPI +// } +// func (m *mockLookoutForVisionClient) CreateDataset(input *lookoutforvision.CreateDatasetInput) (*lookoutforvision.CreateDatasetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockLookoutForVisionClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockLookoutForVisionClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/service.go index 1d8982d3cdaa..f361d798cd13 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutforvision/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a LookoutForVision client from just a session. -// svc := lookoutforvision.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a LookoutForVision client with additional configuration -// svc := lookoutforvision.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a LookoutForVision client from just a session. +// svc := lookoutforvision.New(mySession) +// +// // Create a LookoutForVision client with additional configuration +// svc := lookoutforvision.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *LookoutForVision { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/api.go index 58a749d07534..7859c61d55a1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/api.go @@ -29,14 +29,13 @@ const opActivateAnomalyDetector = "ActivateAnomalyDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ActivateAnomalyDetectorRequest method. +// req, resp := client.ActivateAnomalyDetectorRequest(params) // -// // Example sending a request using the ActivateAnomalyDetectorRequest method. -// req, resp := client.ActivateAnomalyDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ActivateAnomalyDetector func (c *LookoutMetrics) ActivateAnomalyDetectorRequest(input *ActivateAnomalyDetectorInput) (req *request.Request, output *ActivateAnomalyDetectorOutput) { @@ -68,27 +67,28 @@ func (c *LookoutMetrics) ActivateAnomalyDetectorRequest(input *ActivateAnomalyDe // API operation ActivateAnomalyDetector for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. // -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. +// +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - ConflictException +// There was a conflict processing the request. Try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ActivateAnomalyDetector func (c *LookoutMetrics) ActivateAnomalyDetector(input *ActivateAnomalyDetectorInput) (*ActivateAnomalyDetectorOutput, error) { @@ -128,14 +128,13 @@ const opBackTestAnomalyDetector = "BackTestAnomalyDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BackTestAnomalyDetectorRequest method. +// req, resp := client.BackTestAnomalyDetectorRequest(params) // -// // Example sending a request using the BackTestAnomalyDetectorRequest method. -// req, resp := client.BackTestAnomalyDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/BackTestAnomalyDetector func (c *LookoutMetrics) BackTestAnomalyDetectorRequest(input *BackTestAnomalyDetectorInput) (req *request.Request, output *BackTestAnomalyDetectorOutput) { @@ -167,24 +166,25 @@ func (c *LookoutMetrics) BackTestAnomalyDetectorRequest(input *BackTestAnomalyDe // API operation BackTestAnomalyDetector for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. // -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. +// +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/BackTestAnomalyDetector func (c *LookoutMetrics) BackTestAnomalyDetector(input *BackTestAnomalyDetectorInput) (*BackTestAnomalyDetectorOutput, error) { @@ -224,14 +224,13 @@ const opCreateAlert = "CreateAlert" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAlertRequest method. +// req, resp := client.CreateAlertRequest(params) // -// // Example sending a request using the CreateAlertRequest method. -// req, resp := client.CreateAlertRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/CreateAlert func (c *LookoutMetrics) CreateAlertRequest(input *CreateAlertInput) (req *request.Request, output *CreateAlertOutput) { @@ -262,31 +261,32 @@ func (c *LookoutMetrics) CreateAlertRequest(input *CreateAlertInput) (req *reque // API operation CreateAlert for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict processing the request. Try your request again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ConflictException +// There was a conflict processing the request. Try your request again. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * ServiceQuotaExceededException -// The request exceeded the service's quotas. Check the service quotas and try -// again. +// - ServiceQuotaExceededException +// The request exceeded the service's quotas. Check the service quotas and try +// again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/CreateAlert func (c *LookoutMetrics) CreateAlert(input *CreateAlertInput) (*CreateAlertOutput, error) { @@ -326,14 +326,13 @@ const opCreateAnomalyDetector = "CreateAnomalyDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAnomalyDetectorRequest method. +// req, resp := client.CreateAnomalyDetectorRequest(params) // -// // Example sending a request using the CreateAnomalyDetectorRequest method. -// req, resp := client.CreateAnomalyDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/CreateAnomalyDetector func (c *LookoutMetrics) CreateAnomalyDetectorRequest(input *CreateAnomalyDetectorInput) (req *request.Request, output *CreateAnomalyDetectorOutput) { @@ -364,30 +363,31 @@ func (c *LookoutMetrics) CreateAnomalyDetectorRequest(input *CreateAnomalyDetect // API operation CreateAnomalyDetector for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict processing the request. Try your request again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ConflictException +// There was a conflict processing the request. Try your request again. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * ServiceQuotaExceededException -// The request exceeded the service's quotas. Check the service quotas and try -// again. +// - ServiceQuotaExceededException +// The request exceeded the service's quotas. Check the service quotas and try +// again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/CreateAnomalyDetector func (c *LookoutMetrics) CreateAnomalyDetector(input *CreateAnomalyDetectorInput) (*CreateAnomalyDetectorOutput, error) { @@ -427,14 +427,13 @@ const opCreateMetricSet = "CreateMetricSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMetricSetRequest method. +// req, resp := client.CreateMetricSetRequest(params) // -// // Example sending a request using the CreateMetricSetRequest method. -// req, resp := client.CreateMetricSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/CreateMetricSet func (c *LookoutMetrics) CreateMetricSetRequest(input *CreateMetricSetInput) (req *request.Request, output *CreateMetricSetOutput) { @@ -465,31 +464,32 @@ func (c *LookoutMetrics) CreateMetricSetRequest(input *CreateMetricSetInput) (re // API operation CreateMetricSet for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict processing the request. Try your request again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ConflictException +// There was a conflict processing the request. Try your request again. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // -// * ServiceQuotaExceededException -// The request exceeded the service's quotas. Check the service quotas and try -// again. +// - ServiceQuotaExceededException +// The request exceeded the service's quotas. Check the service quotas and try +// again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/CreateMetricSet func (c *LookoutMetrics) CreateMetricSet(input *CreateMetricSetInput) (*CreateMetricSetOutput, error) { @@ -529,14 +529,13 @@ const opDeactivateAnomalyDetector = "DeactivateAnomalyDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeactivateAnomalyDetectorRequest method. +// req, resp := client.DeactivateAnomalyDetectorRequest(params) // -// // Example sending a request using the DeactivateAnomalyDetectorRequest method. -// req, resp := client.DeactivateAnomalyDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DeactivateAnomalyDetector func (c *LookoutMetrics) DeactivateAnomalyDetectorRequest(input *DeactivateAnomalyDetectorInput) (req *request.Request, output *DeactivateAnomalyDetectorOutput) { @@ -568,27 +567,28 @@ func (c *LookoutMetrics) DeactivateAnomalyDetectorRequest(input *DeactivateAnoma // API operation DeactivateAnomalyDetector for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. +// +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DeactivateAnomalyDetector func (c *LookoutMetrics) DeactivateAnomalyDetector(input *DeactivateAnomalyDetectorInput) (*DeactivateAnomalyDetectorOutput, error) { @@ -628,14 +628,13 @@ const opDeleteAlert = "DeleteAlert" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAlertRequest method. +// req, resp := client.DeleteAlertRequest(params) // -// // Example sending a request using the DeleteAlertRequest method. -// req, resp := client.DeleteAlertRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DeleteAlert func (c *LookoutMetrics) DeleteAlertRequest(input *DeleteAlertInput) (req *request.Request, output *DeleteAlertOutput) { @@ -667,24 +666,25 @@ func (c *LookoutMetrics) DeleteAlertRequest(input *DeleteAlertInput) (req *reque // API operation DeleteAlert for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DeleteAlert func (c *LookoutMetrics) DeleteAlert(input *DeleteAlertInput) (*DeleteAlertOutput, error) { @@ -724,14 +724,13 @@ const opDeleteAnomalyDetector = "DeleteAnomalyDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAnomalyDetectorRequest method. +// req, resp := client.DeleteAnomalyDetectorRequest(params) // -// // Example sending a request using the DeleteAnomalyDetectorRequest method. -// req, resp := client.DeleteAnomalyDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DeleteAnomalyDetector func (c *LookoutMetrics) DeleteAnomalyDetectorRequest(input *DeleteAnomalyDetectorInput) (req *request.Request, output *DeleteAnomalyDetectorOutput) { @@ -764,27 +763,28 @@ func (c *LookoutMetrics) DeleteAnomalyDetectorRequest(input *DeleteAnomalyDetect // API operation DeleteAnomalyDetector for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DeleteAnomalyDetector func (c *LookoutMetrics) DeleteAnomalyDetector(input *DeleteAnomalyDetectorInput) (*DeleteAnomalyDetectorOutput, error) { @@ -824,14 +824,13 @@ const opDescribeAlert = "DescribeAlert" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAlertRequest method. +// req, resp := client.DescribeAlertRequest(params) // -// // Example sending a request using the DescribeAlertRequest method. -// req, resp := client.DescribeAlertRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAlert func (c *LookoutMetrics) DescribeAlertRequest(input *DescribeAlertInput) (req *request.Request, output *DescribeAlertOutput) { @@ -866,24 +865,25 @@ func (c *LookoutMetrics) DescribeAlertRequest(input *DescribeAlertInput) (req *r // API operation DescribeAlert for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAlert func (c *LookoutMetrics) DescribeAlert(input *DescribeAlertInput) (*DescribeAlertOutput, error) { @@ -923,14 +923,13 @@ const opDescribeAnomalyDetectionExecutions = "DescribeAnomalyDetectionExecutions // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAnomalyDetectionExecutionsRequest method. +// req, resp := client.DescribeAnomalyDetectionExecutionsRequest(params) // -// // Example sending a request using the DescribeAnomalyDetectionExecutionsRequest method. -// req, resp := client.DescribeAnomalyDetectionExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAnomalyDetectionExecutions func (c *LookoutMetrics) DescribeAnomalyDetectionExecutionsRequest(input *DescribeAnomalyDetectionExecutionsInput) (req *request.Request, output *DescribeAnomalyDetectionExecutionsOutput) { @@ -967,24 +966,25 @@ func (c *LookoutMetrics) DescribeAnomalyDetectionExecutionsRequest(input *Descri // API operation DescribeAnomalyDetectionExecutions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAnomalyDetectionExecutions func (c *LookoutMetrics) DescribeAnomalyDetectionExecutions(input *DescribeAnomalyDetectionExecutionsInput) (*DescribeAnomalyDetectionExecutionsOutput, error) { @@ -1016,15 +1016,14 @@ func (c *LookoutMetrics) DescribeAnomalyDetectionExecutionsWithContext(ctx aws.C // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAnomalyDetectionExecutions operation. -// pageNum := 0 -// err := client.DescribeAnomalyDetectionExecutionsPages(params, -// func(page *lookoutmetrics.DescribeAnomalyDetectionExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAnomalyDetectionExecutions operation. +// pageNum := 0 +// err := client.DescribeAnomalyDetectionExecutionsPages(params, +// func(page *lookoutmetrics.DescribeAnomalyDetectionExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutMetrics) DescribeAnomalyDetectionExecutionsPages(input *DescribeAnomalyDetectionExecutionsInput, fn func(*DescribeAnomalyDetectionExecutionsOutput, bool) bool) error { return c.DescribeAnomalyDetectionExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1076,14 +1075,13 @@ const opDescribeAnomalyDetector = "DescribeAnomalyDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAnomalyDetectorRequest method. +// req, resp := client.DescribeAnomalyDetectorRequest(params) // -// // Example sending a request using the DescribeAnomalyDetectorRequest method. -// req, resp := client.DescribeAnomalyDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAnomalyDetector func (c *LookoutMetrics) DescribeAnomalyDetectorRequest(input *DescribeAnomalyDetectorInput) (req *request.Request, output *DescribeAnomalyDetectorOutput) { @@ -1118,24 +1116,25 @@ func (c *LookoutMetrics) DescribeAnomalyDetectorRequest(input *DescribeAnomalyDe // API operation DescribeAnomalyDetector for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. +// +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeAnomalyDetector func (c *LookoutMetrics) DescribeAnomalyDetector(input *DescribeAnomalyDetectorInput) (*DescribeAnomalyDetectorOutput, error) { @@ -1175,14 +1174,13 @@ const opDescribeMetricSet = "DescribeMetricSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMetricSetRequest method. +// req, resp := client.DescribeMetricSetRequest(params) // -// // Example sending a request using the DescribeMetricSetRequest method. -// req, resp := client.DescribeMetricSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeMetricSet func (c *LookoutMetrics) DescribeMetricSetRequest(input *DescribeMetricSetInput) (req *request.Request, output *DescribeMetricSetOutput) { @@ -1217,24 +1215,25 @@ func (c *LookoutMetrics) DescribeMetricSetRequest(input *DescribeMetricSetInput) // API operation DescribeMetricSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DescribeMetricSet func (c *LookoutMetrics) DescribeMetricSet(input *DescribeMetricSetInput) (*DescribeMetricSetOutput, error) { @@ -1274,14 +1273,13 @@ const opDetectMetricSetConfig = "DetectMetricSetConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectMetricSetConfigRequest method. +// req, resp := client.DetectMetricSetConfigRequest(params) // -// // Example sending a request using the DetectMetricSetConfigRequest method. -// req, resp := client.DetectMetricSetConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectMetricSetConfig func (c *LookoutMetrics) DetectMetricSetConfigRequest(input *DetectMetricSetConfigInput) (req *request.Request, output *DetectMetricSetConfigOutput) { @@ -1312,24 +1310,25 @@ func (c *LookoutMetrics) DetectMetricSetConfigRequest(input *DetectMetricSetConf // API operation DetectMetricSetConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/DetectMetricSetConfig func (c *LookoutMetrics) DetectMetricSetConfig(input *DetectMetricSetConfigInput) (*DetectMetricSetConfigOutput, error) { @@ -1369,14 +1368,13 @@ const opGetAnomalyGroup = "GetAnomalyGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAnomalyGroupRequest method. +// req, resp := client.GetAnomalyGroupRequest(params) // -// // Example sending a request using the GetAnomalyGroupRequest method. -// req, resp := client.GetAnomalyGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/GetAnomalyGroup func (c *LookoutMetrics) GetAnomalyGroupRequest(input *GetAnomalyGroupInput) (req *request.Request, output *GetAnomalyGroupOutput) { @@ -1407,24 +1405,25 @@ func (c *LookoutMetrics) GetAnomalyGroupRequest(input *GetAnomalyGroupInput) (re // API operation GetAnomalyGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/GetAnomalyGroup func (c *LookoutMetrics) GetAnomalyGroup(input *GetAnomalyGroupInput) (*GetAnomalyGroupOutput, error) { @@ -1464,14 +1463,13 @@ const opGetFeedback = "GetFeedback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFeedbackRequest method. +// req, resp := client.GetFeedbackRequest(params) // -// // Example sending a request using the GetFeedbackRequest method. -// req, resp := client.GetFeedbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/GetFeedback func (c *LookoutMetrics) GetFeedbackRequest(input *GetFeedbackInput) (req *request.Request, output *GetFeedbackOutput) { @@ -1508,24 +1506,25 @@ func (c *LookoutMetrics) GetFeedbackRequest(input *GetFeedbackInput) (req *reque // API operation GetFeedback for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. +// +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/GetFeedback func (c *LookoutMetrics) GetFeedback(input *GetFeedbackInput) (*GetFeedbackOutput, error) { @@ -1557,15 +1556,14 @@ func (c *LookoutMetrics) GetFeedbackWithContext(ctx aws.Context, input *GetFeedb // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetFeedback operation. -// pageNum := 0 -// err := client.GetFeedbackPages(params, -// func(page *lookoutmetrics.GetFeedbackOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetFeedback operation. +// pageNum := 0 +// err := client.GetFeedbackPages(params, +// func(page *lookoutmetrics.GetFeedbackOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutMetrics) GetFeedbackPages(input *GetFeedbackInput, fn func(*GetFeedbackOutput, bool) bool) error { return c.GetFeedbackPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1617,14 +1615,13 @@ const opGetSampleData = "GetSampleData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSampleDataRequest method. +// req, resp := client.GetSampleDataRequest(params) // -// // Example sending a request using the GetSampleDataRequest method. -// req, resp := client.GetSampleDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/GetSampleData func (c *LookoutMetrics) GetSampleDataRequest(input *GetSampleDataInput) (req *request.Request, output *GetSampleDataOutput) { @@ -1655,24 +1652,25 @@ func (c *LookoutMetrics) GetSampleDataRequest(input *GetSampleDataInput) (req *r // API operation GetSampleData for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. // -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. +// +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/GetSampleData func (c *LookoutMetrics) GetSampleData(input *GetSampleDataInput) (*GetSampleDataOutput, error) { @@ -1712,14 +1710,13 @@ const opListAlerts = "ListAlerts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAlertsRequest method. +// req, resp := client.ListAlertsRequest(params) // -// // Example sending a request using the ListAlertsRequest method. -// req, resp := client.ListAlertsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAlerts func (c *LookoutMetrics) ListAlertsRequest(input *ListAlertsInput) (req *request.Request, output *ListAlertsOutput) { @@ -1760,24 +1757,25 @@ func (c *LookoutMetrics) ListAlertsRequest(input *ListAlertsInput) (req *request // API operation ListAlerts for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAlerts func (c *LookoutMetrics) ListAlerts(input *ListAlertsInput) (*ListAlertsOutput, error) { @@ -1809,15 +1807,14 @@ func (c *LookoutMetrics) ListAlertsWithContext(ctx aws.Context, input *ListAlert // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAlerts operation. -// pageNum := 0 -// err := client.ListAlertsPages(params, -// func(page *lookoutmetrics.ListAlertsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAlerts operation. +// pageNum := 0 +// err := client.ListAlertsPages(params, +// func(page *lookoutmetrics.ListAlertsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutMetrics) ListAlertsPages(input *ListAlertsInput, fn func(*ListAlertsOutput, bool) bool) error { return c.ListAlertsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1869,14 +1866,13 @@ const opListAnomalyDetectors = "ListAnomalyDetectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAnomalyDetectorsRequest method. +// req, resp := client.ListAnomalyDetectorsRequest(params) // -// // Example sending a request using the ListAnomalyDetectorsRequest method. -// req, resp := client.ListAnomalyDetectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyDetectors func (c *LookoutMetrics) ListAnomalyDetectorsRequest(input *ListAnomalyDetectorsInput) (req *request.Request, output *ListAnomalyDetectorsOutput) { @@ -1917,24 +1913,25 @@ func (c *LookoutMetrics) ListAnomalyDetectorsRequest(input *ListAnomalyDetectors // API operation ListAnomalyDetectors for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyDetectors func (c *LookoutMetrics) ListAnomalyDetectors(input *ListAnomalyDetectorsInput) (*ListAnomalyDetectorsOutput, error) { @@ -1966,15 +1963,14 @@ func (c *LookoutMetrics) ListAnomalyDetectorsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAnomalyDetectors operation. -// pageNum := 0 -// err := client.ListAnomalyDetectorsPages(params, -// func(page *lookoutmetrics.ListAnomalyDetectorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAnomalyDetectors operation. +// pageNum := 0 +// err := client.ListAnomalyDetectorsPages(params, +// func(page *lookoutmetrics.ListAnomalyDetectorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutMetrics) ListAnomalyDetectorsPages(input *ListAnomalyDetectorsInput, fn func(*ListAnomalyDetectorsOutput, bool) bool) error { return c.ListAnomalyDetectorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2026,14 +2022,13 @@ const opListAnomalyGroupRelatedMetrics = "ListAnomalyGroupRelatedMetrics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAnomalyGroupRelatedMetricsRequest method. +// req, resp := client.ListAnomalyGroupRelatedMetricsRequest(params) // -// // Example sending a request using the ListAnomalyGroupRelatedMetricsRequest method. -// req, resp := client.ListAnomalyGroupRelatedMetricsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupRelatedMetrics func (c *LookoutMetrics) ListAnomalyGroupRelatedMetricsRequest(input *ListAnomalyGroupRelatedMetricsInput) (req *request.Request, output *ListAnomalyGroupRelatedMetricsOutput) { @@ -2071,24 +2066,25 @@ func (c *LookoutMetrics) ListAnomalyGroupRelatedMetricsRequest(input *ListAnomal // API operation ListAnomalyGroupRelatedMetrics for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupRelatedMetrics func (c *LookoutMetrics) ListAnomalyGroupRelatedMetrics(input *ListAnomalyGroupRelatedMetricsInput) (*ListAnomalyGroupRelatedMetricsOutput, error) { @@ -2120,15 +2116,14 @@ func (c *LookoutMetrics) ListAnomalyGroupRelatedMetricsWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAnomalyGroupRelatedMetrics operation. -// pageNum := 0 -// err := client.ListAnomalyGroupRelatedMetricsPages(params, -// func(page *lookoutmetrics.ListAnomalyGroupRelatedMetricsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAnomalyGroupRelatedMetrics operation. +// pageNum := 0 +// err := client.ListAnomalyGroupRelatedMetricsPages(params, +// func(page *lookoutmetrics.ListAnomalyGroupRelatedMetricsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutMetrics) ListAnomalyGroupRelatedMetricsPages(input *ListAnomalyGroupRelatedMetricsInput, fn func(*ListAnomalyGroupRelatedMetricsOutput, bool) bool) error { return c.ListAnomalyGroupRelatedMetricsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2180,14 +2175,13 @@ const opListAnomalyGroupSummaries = "ListAnomalyGroupSummaries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAnomalyGroupSummariesRequest method. +// req, resp := client.ListAnomalyGroupSummariesRequest(params) // -// // Example sending a request using the ListAnomalyGroupSummariesRequest method. -// req, resp := client.ListAnomalyGroupSummariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupSummaries func (c *LookoutMetrics) ListAnomalyGroupSummariesRequest(input *ListAnomalyGroupSummariesInput) (req *request.Request, output *ListAnomalyGroupSummariesOutput) { @@ -2224,24 +2218,25 @@ func (c *LookoutMetrics) ListAnomalyGroupSummariesRequest(input *ListAnomalyGrou // API operation ListAnomalyGroupSummaries for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupSummaries func (c *LookoutMetrics) ListAnomalyGroupSummaries(input *ListAnomalyGroupSummariesInput) (*ListAnomalyGroupSummariesOutput, error) { @@ -2273,15 +2268,14 @@ func (c *LookoutMetrics) ListAnomalyGroupSummariesWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAnomalyGroupSummaries operation. -// pageNum := 0 -// err := client.ListAnomalyGroupSummariesPages(params, -// func(page *lookoutmetrics.ListAnomalyGroupSummariesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAnomalyGroupSummaries operation. +// pageNum := 0 +// err := client.ListAnomalyGroupSummariesPages(params, +// func(page *lookoutmetrics.ListAnomalyGroupSummariesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutMetrics) ListAnomalyGroupSummariesPages(input *ListAnomalyGroupSummariesInput, fn func(*ListAnomalyGroupSummariesOutput, bool) bool) error { return c.ListAnomalyGroupSummariesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2333,14 +2327,13 @@ const opListAnomalyGroupTimeSeries = "ListAnomalyGroupTimeSeries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAnomalyGroupTimeSeriesRequest method. +// req, resp := client.ListAnomalyGroupTimeSeriesRequest(params) // -// // Example sending a request using the ListAnomalyGroupTimeSeriesRequest method. -// req, resp := client.ListAnomalyGroupTimeSeriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupTimeSeries func (c *LookoutMetrics) ListAnomalyGroupTimeSeriesRequest(input *ListAnomalyGroupTimeSeriesInput) (req *request.Request, output *ListAnomalyGroupTimeSeriesOutput) { @@ -2377,24 +2370,25 @@ func (c *LookoutMetrics) ListAnomalyGroupTimeSeriesRequest(input *ListAnomalyGro // API operation ListAnomalyGroupTimeSeries for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListAnomalyGroupTimeSeries func (c *LookoutMetrics) ListAnomalyGroupTimeSeries(input *ListAnomalyGroupTimeSeriesInput) (*ListAnomalyGroupTimeSeriesOutput, error) { @@ -2426,15 +2420,14 @@ func (c *LookoutMetrics) ListAnomalyGroupTimeSeriesWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAnomalyGroupTimeSeries operation. -// pageNum := 0 -// err := client.ListAnomalyGroupTimeSeriesPages(params, -// func(page *lookoutmetrics.ListAnomalyGroupTimeSeriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAnomalyGroupTimeSeries operation. +// pageNum := 0 +// err := client.ListAnomalyGroupTimeSeriesPages(params, +// func(page *lookoutmetrics.ListAnomalyGroupTimeSeriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutMetrics) ListAnomalyGroupTimeSeriesPages(input *ListAnomalyGroupTimeSeriesInput, fn func(*ListAnomalyGroupTimeSeriesOutput, bool) bool) error { return c.ListAnomalyGroupTimeSeriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2486,14 +2479,13 @@ const opListMetricSets = "ListMetricSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMetricSetsRequest method. +// req, resp := client.ListMetricSetsRequest(params) // -// // Example sending a request using the ListMetricSetsRequest method. -// req, resp := client.ListMetricSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListMetricSets func (c *LookoutMetrics) ListMetricSetsRequest(input *ListMetricSetsInput) (req *request.Request, output *ListMetricSetsOutput) { @@ -2534,24 +2526,25 @@ func (c *LookoutMetrics) ListMetricSetsRequest(input *ListMetricSetsInput) (req // API operation ListMetricSets for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListMetricSets func (c *LookoutMetrics) ListMetricSets(input *ListMetricSetsInput) (*ListMetricSetsOutput, error) { @@ -2583,15 +2576,14 @@ func (c *LookoutMetrics) ListMetricSetsWithContext(ctx aws.Context, input *ListM // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMetricSets operation. -// pageNum := 0 -// err := client.ListMetricSetsPages(params, -// func(page *lookoutmetrics.ListMetricSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMetricSets operation. +// pageNum := 0 +// err := client.ListMetricSetsPages(params, +// func(page *lookoutmetrics.ListMetricSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *LookoutMetrics) ListMetricSetsPages(input *ListMetricSetsInput, fn func(*ListMetricSetsOutput, bool) bool) error { return c.ListMetricSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2643,14 +2635,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListTagsForResource func (c *LookoutMetrics) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2682,17 +2673,18 @@ func (c *LookoutMetrics) ListTagsForResourceRequest(input *ListTagsForResourceIn // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/ListTagsForResource func (c *LookoutMetrics) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2732,14 +2724,13 @@ const opPutFeedback = "PutFeedback" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutFeedbackRequest method. +// req, resp := client.PutFeedbackRequest(params) // -// // Example sending a request using the PutFeedbackRequest method. -// req, resp := client.PutFeedbackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/PutFeedback func (c *LookoutMetrics) PutFeedbackRequest(input *PutFeedbackInput) (req *request.Request, output *PutFeedbackOutput) { @@ -2771,24 +2762,25 @@ func (c *LookoutMetrics) PutFeedbackRequest(input *PutFeedbackInput) (req *reque // API operation PutFeedback for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/PutFeedback func (c *LookoutMetrics) PutFeedback(input *PutFeedbackInput) (*PutFeedbackOutput, error) { @@ -2828,14 +2820,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/TagResource func (c *LookoutMetrics) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2868,17 +2859,18 @@ func (c *LookoutMetrics) TagResourceRequest(input *TagResourceInput) (req *reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/TagResource func (c *LookoutMetrics) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2918,14 +2910,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/UntagResource func (c *LookoutMetrics) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2958,17 +2949,18 @@ func (c *LookoutMetrics) UntagResourceRequest(input *UntagResourceInput) (req *r // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/UntagResource func (c *LookoutMetrics) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3008,14 +3000,13 @@ const opUpdateAnomalyDetector = "UpdateAnomalyDetector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAnomalyDetectorRequest method. +// req, resp := client.UpdateAnomalyDetectorRequest(params) // -// // Example sending a request using the UpdateAnomalyDetectorRequest method. -// req, resp := client.UpdateAnomalyDetectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/UpdateAnomalyDetector func (c *LookoutMetrics) UpdateAnomalyDetectorRequest(input *UpdateAnomalyDetectorInput) (req *request.Request, output *UpdateAnomalyDetectorOutput) { @@ -3047,24 +3038,25 @@ func (c *LookoutMetrics) UpdateAnomalyDetectorRequest(input *UpdateAnomalyDetect // API operation UpdateAnomalyDetector for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/UpdateAnomalyDetector func (c *LookoutMetrics) UpdateAnomalyDetector(input *UpdateAnomalyDetectorInput) (*UpdateAnomalyDetectorOutput, error) { @@ -3104,14 +3096,13 @@ const opUpdateMetricSet = "UpdateMetricSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMetricSetRequest method. +// req, resp := client.UpdateMetricSetRequest(params) // -// // Example sending a request using the UpdateMetricSetRequest method. -// req, resp := client.UpdateMetricSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/UpdateMetricSet func (c *LookoutMetrics) UpdateMetricSetRequest(input *UpdateMetricSetInput) (req *request.Request, output *UpdateMetricSetOutput) { @@ -3142,28 +3133,29 @@ func (c *LookoutMetrics) UpdateMetricSetRequest(input *UpdateMetricSetInput) (re // API operation UpdateMetricSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ARN of the resource and -// try again. // -// * ValidationException -// The input fails to satisfy the constraints specified by the AWS service. -// Check your input values and try again. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ARN of the resource and +// try again. +// +// - ValidationException +// The input fails to satisfy the constraints specified by the AWS service. +// Check your input values and try again. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * TooManyRequestsException -// The request was denied due to too many requests being submitted at the same -// time. +// - TooManyRequestsException +// The request was denied due to too many requests being submitted at the same +// time. // -// * ServiceQuotaExceededException -// The request exceeded the service's quotas. Check the service quotas and try -// again. +// - ServiceQuotaExceededException +// The request exceeded the service's quotas. Check the service quotas and try +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/lookoutmetrics-2017-07-25/UpdateMetricSet func (c *LookoutMetrics) UpdateMetricSet(input *UpdateMetricSetInput) (*UpdateMetricSetOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/doc.go index 22c5abc67764..3eaab1e74428 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/doc.go @@ -12,7 +12,7 @@ // See lookoutmetrics package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/lookoutmetrics/ // -// Using the Client +// # Using the Client // // To contact Amazon Lookout for Metrics with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/lookoutmetricsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/lookoutmetricsiface/interface.go index 70f503303957..425e966f33aa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/lookoutmetricsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/lookoutmetricsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Lookout for Metrics. -// func myFunc(svc lookoutmetricsiface.LookoutMetricsAPI) bool { -// // Make svc.ActivateAnomalyDetector request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Lookout for Metrics. +// func myFunc(svc lookoutmetricsiface.LookoutMetricsAPI) bool { +// // Make svc.ActivateAnomalyDetector request +// } // -// func main() { -// sess := session.New() -// svc := lookoutmetrics.New(sess) +// func main() { +// sess := session.New() +// svc := lookoutmetrics.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockLookoutMetricsClient struct { -// lookoutmetricsiface.LookoutMetricsAPI -// } -// func (m *mockLookoutMetricsClient) ActivateAnomalyDetector(input *lookoutmetrics.ActivateAnomalyDetectorInput) (*lookoutmetrics.ActivateAnomalyDetectorOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockLookoutMetricsClient struct { +// lookoutmetricsiface.LookoutMetricsAPI +// } +// func (m *mockLookoutMetricsClient) ActivateAnomalyDetector(input *lookoutmetrics.ActivateAnomalyDetectorInput) (*lookoutmetrics.ActivateAnomalyDetectorOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockLookoutMetricsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockLookoutMetricsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/service.go index 319ecc17b520..fbe0223674ae 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/lookoutmetrics/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a LookoutMetrics client from just a session. -// svc := lookoutmetrics.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a LookoutMetrics client with additional configuration -// svc := lookoutmetrics.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a LookoutMetrics client from just a session. +// svc := lookoutmetrics.New(mySession) +// +// // Create a LookoutMetrics client with additional configuration +// svc := lookoutmetrics.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *LookoutMetrics { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/api.go index ffda168f5bcd..7bf1041eabd2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/api.go @@ -28,14 +28,13 @@ const opAddTags = "AddTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsRequest method. +// req, resp := client.AddTagsRequest(params) // -// // Example sending a request using the AddTagsRequest method. -// req, resp := client.AddTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) { op := &request.Operation{ Name: opAddTags, @@ -66,20 +65,20 @@ func (c *MachineLearning) AddTagsRequest(input *AddTagsInput) (req *request.Requ // API operation AddTags for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * InvalidTagException +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * TagLimitExceededException +// - InvalidTagException // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - TagLimitExceededException // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) AddTags(input *AddTagsInput) (*AddTagsOutput, error) { req, out := c.AddTagsRequest(input) return out, req.Send() @@ -117,14 +116,13 @@ const opCreateBatchPrediction = "CreateBatchPrediction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBatchPredictionRequest method. +// req, resp := client.CreateBatchPredictionRequest(params) // -// // Example sending a request using the CreateBatchPredictionRequest method. -// req, resp := client.CreateBatchPredictionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) CreateBatchPredictionRequest(input *CreateBatchPredictionInput) (req *request.Request, output *CreateBatchPredictionOutput) { op := &request.Operation{ Name: opCreateBatchPrediction, @@ -166,18 +164,18 @@ func (c *MachineLearning) CreateBatchPredictionRequest(input *CreateBatchPredict // API operation CreateBatchPrediction for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * IdempotentParameterMismatchException -// A second request to use or change an object was not allowed. This can result -// from retrying a request using a parameter that was not present in the original -// request. +// - InternalServerException +// An error on the server occurred when trying to process a request. // +// - IdempotentParameterMismatchException +// A second request to use or change an object was not allowed. This can result +// from retrying a request using a parameter that was not present in the original +// request. func (c *MachineLearning) CreateBatchPrediction(input *CreateBatchPredictionInput) (*CreateBatchPredictionOutput, error) { req, out := c.CreateBatchPredictionRequest(input) return out, req.Send() @@ -215,14 +213,13 @@ const opCreateDataSourceFromRDS = "CreateDataSourceFromRDS" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataSourceFromRDSRequest method. +// req, resp := client.CreateDataSourceFromRDSRequest(params) // -// // Example sending a request using the CreateDataSourceFromRDSRequest method. -// req, resp := client.CreateDataSourceFromRDSRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) CreateDataSourceFromRDSRequest(input *CreateDataSourceFromRDSInput) (req *request.Request, output *CreateDataSourceFromRDSOutput) { op := &request.Operation{ Name: opCreateDataSourceFromRDS, @@ -264,18 +261,18 @@ func (c *MachineLearning) CreateDataSourceFromRDSRequest(input *CreateDataSource // API operation CreateDataSourceFromRDS for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * IdempotentParameterMismatchException -// A second request to use or change an object was not allowed. This can result -// from retrying a request using a parameter that was not present in the original -// request. +// - InternalServerException +// An error on the server occurred when trying to process a request. // +// - IdempotentParameterMismatchException +// A second request to use or change an object was not allowed. This can result +// from retrying a request using a parameter that was not present in the original +// request. func (c *MachineLearning) CreateDataSourceFromRDS(input *CreateDataSourceFromRDSInput) (*CreateDataSourceFromRDSOutput, error) { req, out := c.CreateDataSourceFromRDSRequest(input) return out, req.Send() @@ -313,14 +310,13 @@ const opCreateDataSourceFromRedshift = "CreateDataSourceFromRedshift" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataSourceFromRedshiftRequest method. +// req, resp := client.CreateDataSourceFromRedshiftRequest(params) // -// // Example sending a request using the CreateDataSourceFromRedshiftRequest method. -// req, resp := client.CreateDataSourceFromRedshiftRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) CreateDataSourceFromRedshiftRequest(input *CreateDataSourceFromRedshiftInput) (req *request.Request, output *CreateDataSourceFromRedshiftOutput) { op := &request.Operation{ Name: opCreateDataSourceFromRedshift, @@ -381,18 +377,18 @@ func (c *MachineLearning) CreateDataSourceFromRedshiftRequest(input *CreateDataS // API operation CreateDataSourceFromRedshift for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * IdempotentParameterMismatchException -// A second request to use or change an object was not allowed. This can result -// from retrying a request using a parameter that was not present in the original -// request. +// - InternalServerException +// An error on the server occurred when trying to process a request. // +// - IdempotentParameterMismatchException +// A second request to use or change an object was not allowed. This can result +// from retrying a request using a parameter that was not present in the original +// request. func (c *MachineLearning) CreateDataSourceFromRedshift(input *CreateDataSourceFromRedshiftInput) (*CreateDataSourceFromRedshiftOutput, error) { req, out := c.CreateDataSourceFromRedshiftRequest(input) return out, req.Send() @@ -430,14 +426,13 @@ const opCreateDataSourceFromS3 = "CreateDataSourceFromS3" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataSourceFromS3Request method. +// req, resp := client.CreateDataSourceFromS3Request(params) // -// // Example sending a request using the CreateDataSourceFromS3Request method. -// req, resp := client.CreateDataSourceFromS3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) CreateDataSourceFromS3Request(input *CreateDataSourceFromS3Input) (req *request.Request, output *CreateDataSourceFromS3Output) { op := &request.Operation{ Name: opCreateDataSourceFromS3, @@ -493,18 +488,18 @@ func (c *MachineLearning) CreateDataSourceFromS3Request(input *CreateDataSourceF // API operation CreateDataSourceFromS3 for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * IdempotentParameterMismatchException -// A second request to use or change an object was not allowed. This can result -// from retrying a request using a parameter that was not present in the original -// request. +// - InternalServerException +// An error on the server occurred when trying to process a request. // +// - IdempotentParameterMismatchException +// A second request to use or change an object was not allowed. This can result +// from retrying a request using a parameter that was not present in the original +// request. func (c *MachineLearning) CreateDataSourceFromS3(input *CreateDataSourceFromS3Input) (*CreateDataSourceFromS3Output, error) { req, out := c.CreateDataSourceFromS3Request(input) return out, req.Send() @@ -542,14 +537,13 @@ const opCreateEvaluation = "CreateEvaluation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEvaluationRequest method. +// req, resp := client.CreateEvaluationRequest(params) // -// // Example sending a request using the CreateEvaluationRequest method. -// req, resp := client.CreateEvaluationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) CreateEvaluationRequest(input *CreateEvaluationInput) (req *request.Request, output *CreateEvaluationOutput) { op := &request.Operation{ Name: opCreateEvaluation, @@ -593,18 +587,18 @@ func (c *MachineLearning) CreateEvaluationRequest(input *CreateEvaluationInput) // API operation CreateEvaluation for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * IdempotentParameterMismatchException -// A second request to use or change an object was not allowed. This can result -// from retrying a request using a parameter that was not present in the original -// request. +// - InternalServerException +// An error on the server occurred when trying to process a request. // +// - IdempotentParameterMismatchException +// A second request to use or change an object was not allowed. This can result +// from retrying a request using a parameter that was not present in the original +// request. func (c *MachineLearning) CreateEvaluation(input *CreateEvaluationInput) (*CreateEvaluationOutput, error) { req, out := c.CreateEvaluationRequest(input) return out, req.Send() @@ -642,14 +636,13 @@ const opCreateMLModel = "CreateMLModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMLModelRequest method. +// req, resp := client.CreateMLModelRequest(params) // -// // Example sending a request using the CreateMLModelRequest method. -// req, resp := client.CreateMLModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) CreateMLModelRequest(input *CreateMLModelInput) (req *request.Request, output *CreateMLModelOutput) { op := &request.Operation{ Name: opCreateMLModel, @@ -694,18 +687,18 @@ func (c *MachineLearning) CreateMLModelRequest(input *CreateMLModelInput) (req * // API operation CreateMLModel for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * IdempotentParameterMismatchException -// A second request to use or change an object was not allowed. This can result -// from retrying a request using a parameter that was not present in the original -// request. +// - InternalServerException +// An error on the server occurred when trying to process a request. // +// - IdempotentParameterMismatchException +// A second request to use or change an object was not allowed. This can result +// from retrying a request using a parameter that was not present in the original +// request. func (c *MachineLearning) CreateMLModel(input *CreateMLModelInput) (*CreateMLModelOutput, error) { req, out := c.CreateMLModelRequest(input) return out, req.Send() @@ -743,14 +736,13 @@ const opCreateRealtimeEndpoint = "CreateRealtimeEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRealtimeEndpointRequest method. +// req, resp := client.CreateRealtimeEndpointRequest(params) // -// // Example sending a request using the CreateRealtimeEndpointRequest method. -// req, resp := client.CreateRealtimeEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) CreateRealtimeEndpointRequest(input *CreateRealtimeEndpointInput) (req *request.Request, output *CreateRealtimeEndpointOutput) { op := &request.Operation{ Name: opCreateRealtimeEndpoint, @@ -781,16 +773,16 @@ func (c *MachineLearning) CreateRealtimeEndpointRequest(input *CreateRealtimeEnd // API operation CreateRealtimeEndpoint for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) CreateRealtimeEndpoint(input *CreateRealtimeEndpointInput) (*CreateRealtimeEndpointOutput, error) { req, out := c.CreateRealtimeEndpointRequest(input) return out, req.Send() @@ -828,14 +820,13 @@ const opDeleteBatchPrediction = "DeleteBatchPrediction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBatchPredictionRequest method. +// req, resp := client.DeleteBatchPredictionRequest(params) // -// // Example sending a request using the DeleteBatchPredictionRequest method. -// req, resp := client.DeleteBatchPredictionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) DeleteBatchPredictionRequest(input *DeleteBatchPredictionInput) (req *request.Request, output *DeleteBatchPredictionOutput) { op := &request.Operation{ Name: opDeleteBatchPrediction, @@ -869,16 +860,16 @@ func (c *MachineLearning) DeleteBatchPredictionRequest(input *DeleteBatchPredict // API operation DeleteBatchPrediction for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) DeleteBatchPrediction(input *DeleteBatchPredictionInput) (*DeleteBatchPredictionOutput, error) { req, out := c.DeleteBatchPredictionRequest(input) return out, req.Send() @@ -916,14 +907,13 @@ const opDeleteDataSource = "DeleteDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDataSourceRequest method. +// req, resp := client.DeleteDataSourceRequest(params) // -// // Example sending a request using the DeleteDataSourceRequest method. -// req, resp := client.DeleteDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) DeleteDataSourceRequest(input *DeleteDataSourceInput) (req *request.Request, output *DeleteDataSourceOutput) { op := &request.Operation{ Name: opDeleteDataSource, @@ -957,16 +947,16 @@ func (c *MachineLearning) DeleteDataSourceRequest(input *DeleteDataSourceInput) // API operation DeleteDataSource for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) DeleteDataSource(input *DeleteDataSourceInput) (*DeleteDataSourceOutput, error) { req, out := c.DeleteDataSourceRequest(input) return out, req.Send() @@ -1004,14 +994,13 @@ const opDeleteEvaluation = "DeleteEvaluation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEvaluationRequest method. +// req, resp := client.DeleteEvaluationRequest(params) // -// // Example sending a request using the DeleteEvaluationRequest method. -// req, resp := client.DeleteEvaluationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) DeleteEvaluationRequest(input *DeleteEvaluationInput) (req *request.Request, output *DeleteEvaluationOutput) { op := &request.Operation{ Name: opDeleteEvaluation, @@ -1045,16 +1034,16 @@ func (c *MachineLearning) DeleteEvaluationRequest(input *DeleteEvaluationInput) // API operation DeleteEvaluation for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) DeleteEvaluation(input *DeleteEvaluationInput) (*DeleteEvaluationOutput, error) { req, out := c.DeleteEvaluationRequest(input) return out, req.Send() @@ -1092,14 +1081,13 @@ const opDeleteMLModel = "DeleteMLModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMLModelRequest method. +// req, resp := client.DeleteMLModelRequest(params) // -// // Example sending a request using the DeleteMLModelRequest method. -// req, resp := client.DeleteMLModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) DeleteMLModelRequest(input *DeleteMLModelInput) (req *request.Request, output *DeleteMLModelOutput) { op := &request.Operation{ Name: opDeleteMLModel, @@ -1133,16 +1121,16 @@ func (c *MachineLearning) DeleteMLModelRequest(input *DeleteMLModelInput) (req * // API operation DeleteMLModel for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) DeleteMLModel(input *DeleteMLModelInput) (*DeleteMLModelOutput, error) { req, out := c.DeleteMLModelRequest(input) return out, req.Send() @@ -1180,14 +1168,13 @@ const opDeleteRealtimeEndpoint = "DeleteRealtimeEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRealtimeEndpointRequest method. +// req, resp := client.DeleteRealtimeEndpointRequest(params) // -// // Example sending a request using the DeleteRealtimeEndpointRequest method. -// req, resp := client.DeleteRealtimeEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) DeleteRealtimeEndpointRequest(input *DeleteRealtimeEndpointInput) (req *request.Request, output *DeleteRealtimeEndpointOutput) { op := &request.Operation{ Name: opDeleteRealtimeEndpoint, @@ -1216,16 +1203,16 @@ func (c *MachineLearning) DeleteRealtimeEndpointRequest(input *DeleteRealtimeEnd // API operation DeleteRealtimeEndpoint for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) DeleteRealtimeEndpoint(input *DeleteRealtimeEndpointInput) (*DeleteRealtimeEndpointOutput, error) { req, out := c.DeleteRealtimeEndpointRequest(input) return out, req.Send() @@ -1263,14 +1250,13 @@ const opDeleteTags = "DeleteTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTagsRequest method. +// req, resp := client.DeleteTagsRequest(params) // -// // Example sending a request using the DeleteTagsRequest method. -// req, resp := client.DeleteTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { op := &request.Operation{ Name: opDeleteTags, @@ -1302,18 +1288,18 @@ func (c *MachineLearning) DeleteTagsRequest(input *DeleteTagsInput) (req *reques // API operation DeleteTags for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * InvalidTagException +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidTagException // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) { req, out := c.DeleteTagsRequest(input) return out, req.Send() @@ -1351,14 +1337,13 @@ const opDescribeBatchPredictions = "DescribeBatchPredictions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBatchPredictionsRequest method. +// req, resp := client.DescribeBatchPredictionsRequest(params) // -// // Example sending a request using the DescribeBatchPredictionsRequest method. -// req, resp := client.DescribeBatchPredictionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) DescribeBatchPredictionsRequest(input *DescribeBatchPredictionsInput) (req *request.Request, output *DescribeBatchPredictionsOutput) { op := &request.Operation{ Name: opDescribeBatchPredictions, @@ -1394,13 +1379,13 @@ func (c *MachineLearning) DescribeBatchPredictionsRequest(input *DescribeBatchPr // API operation DescribeBatchPredictions for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) DescribeBatchPredictions(input *DescribeBatchPredictionsInput) (*DescribeBatchPredictionsOutput, error) { req, out := c.DescribeBatchPredictionsRequest(input) return out, req.Send() @@ -1430,15 +1415,14 @@ func (c *MachineLearning) DescribeBatchPredictionsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeBatchPredictions operation. -// pageNum := 0 -// err := client.DescribeBatchPredictionsPages(params, -// func(page *machinelearning.DescribeBatchPredictionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeBatchPredictions operation. +// pageNum := 0 +// err := client.DescribeBatchPredictionsPages(params, +// func(page *machinelearning.DescribeBatchPredictionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MachineLearning) DescribeBatchPredictionsPages(input *DescribeBatchPredictionsInput, fn func(*DescribeBatchPredictionsOutput, bool) bool) error { return c.DescribeBatchPredictionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1490,14 +1474,13 @@ const opDescribeDataSources = "DescribeDataSources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDataSourcesRequest method. +// req, resp := client.DescribeDataSourcesRequest(params) // -// // Example sending a request using the DescribeDataSourcesRequest method. -// req, resp := client.DescribeDataSourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) DescribeDataSourcesRequest(input *DescribeDataSourcesInput) (req *request.Request, output *DescribeDataSourcesOutput) { op := &request.Operation{ Name: opDescribeDataSources, @@ -1532,13 +1515,13 @@ func (c *MachineLearning) DescribeDataSourcesRequest(input *DescribeDataSourcesI // API operation DescribeDataSources for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) DescribeDataSources(input *DescribeDataSourcesInput) (*DescribeDataSourcesOutput, error) { req, out := c.DescribeDataSourcesRequest(input) return out, req.Send() @@ -1568,15 +1551,14 @@ func (c *MachineLearning) DescribeDataSourcesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDataSources operation. -// pageNum := 0 -// err := client.DescribeDataSourcesPages(params, -// func(page *machinelearning.DescribeDataSourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDataSources operation. +// pageNum := 0 +// err := client.DescribeDataSourcesPages(params, +// func(page *machinelearning.DescribeDataSourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MachineLearning) DescribeDataSourcesPages(input *DescribeDataSourcesInput, fn func(*DescribeDataSourcesOutput, bool) bool) error { return c.DescribeDataSourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1628,14 +1610,13 @@ const opDescribeEvaluations = "DescribeEvaluations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEvaluationsRequest method. +// req, resp := client.DescribeEvaluationsRequest(params) // -// // Example sending a request using the DescribeEvaluationsRequest method. -// req, resp := client.DescribeEvaluationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) DescribeEvaluationsRequest(input *DescribeEvaluationsInput) (req *request.Request, output *DescribeEvaluationsOutput) { op := &request.Operation{ Name: opDescribeEvaluations, @@ -1671,13 +1652,13 @@ func (c *MachineLearning) DescribeEvaluationsRequest(input *DescribeEvaluationsI // API operation DescribeEvaluations for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) DescribeEvaluations(input *DescribeEvaluationsInput) (*DescribeEvaluationsOutput, error) { req, out := c.DescribeEvaluationsRequest(input) return out, req.Send() @@ -1707,15 +1688,14 @@ func (c *MachineLearning) DescribeEvaluationsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEvaluations operation. -// pageNum := 0 -// err := client.DescribeEvaluationsPages(params, -// func(page *machinelearning.DescribeEvaluationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEvaluations operation. +// pageNum := 0 +// err := client.DescribeEvaluationsPages(params, +// func(page *machinelearning.DescribeEvaluationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MachineLearning) DescribeEvaluationsPages(input *DescribeEvaluationsInput, fn func(*DescribeEvaluationsOutput, bool) bool) error { return c.DescribeEvaluationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1767,14 +1747,13 @@ const opDescribeMLModels = "DescribeMLModels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMLModelsRequest method. +// req, resp := client.DescribeMLModelsRequest(params) // -// // Example sending a request using the DescribeMLModelsRequest method. -// req, resp := client.DescribeMLModelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) DescribeMLModelsRequest(input *DescribeMLModelsInput) (req *request.Request, output *DescribeMLModelsOutput) { op := &request.Operation{ Name: opDescribeMLModels, @@ -1809,13 +1788,13 @@ func (c *MachineLearning) DescribeMLModelsRequest(input *DescribeMLModelsInput) // API operation DescribeMLModels for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) DescribeMLModels(input *DescribeMLModelsInput) (*DescribeMLModelsOutput, error) { req, out := c.DescribeMLModelsRequest(input) return out, req.Send() @@ -1845,15 +1824,14 @@ func (c *MachineLearning) DescribeMLModelsWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeMLModels operation. -// pageNum := 0 -// err := client.DescribeMLModelsPages(params, -// func(page *machinelearning.DescribeMLModelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeMLModels operation. +// pageNum := 0 +// err := client.DescribeMLModelsPages(params, +// func(page *machinelearning.DescribeMLModelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MachineLearning) DescribeMLModelsPages(input *DescribeMLModelsInput, fn func(*DescribeMLModelsOutput, bool) bool) error { return c.DescribeMLModelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1905,14 +1883,13 @@ const opDescribeTags = "DescribeTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTagsRequest method. +// req, resp := client.DescribeTagsRequest(params) // -// // Example sending a request using the DescribeTagsRequest method. -// req, resp := client.DescribeTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { op := &request.Operation{ Name: opDescribeTags, @@ -1941,16 +1918,16 @@ func (c *MachineLearning) DescribeTagsRequest(input *DescribeTagsInput) (req *re // API operation DescribeTags for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { req, out := c.DescribeTagsRequest(input) return out, req.Send() @@ -1988,14 +1965,13 @@ const opGetBatchPrediction = "GetBatchPrediction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBatchPredictionRequest method. +// req, resp := client.GetBatchPredictionRequest(params) // -// // Example sending a request using the GetBatchPredictionRequest method. -// req, resp := client.GetBatchPredictionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) GetBatchPredictionRequest(input *GetBatchPredictionInput) (req *request.Request, output *GetBatchPredictionOutput) { op := &request.Operation{ Name: opGetBatchPrediction, @@ -2025,16 +2001,16 @@ func (c *MachineLearning) GetBatchPredictionRequest(input *GetBatchPredictionInp // API operation GetBatchPrediction for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) GetBatchPrediction(input *GetBatchPredictionInput) (*GetBatchPredictionOutput, error) { req, out := c.GetBatchPredictionRequest(input) return out, req.Send() @@ -2072,14 +2048,13 @@ const opGetDataSource = "GetDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDataSourceRequest method. +// req, resp := client.GetDataSourceRequest(params) // -// // Example sending a request using the GetDataSourceRequest method. -// req, resp := client.GetDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) GetDataSourceRequest(input *GetDataSourceInput) (req *request.Request, output *GetDataSourceOutput) { op := &request.Operation{ Name: opGetDataSource, @@ -2113,16 +2088,16 @@ func (c *MachineLearning) GetDataSourceRequest(input *GetDataSourceInput) (req * // API operation GetDataSource for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) GetDataSource(input *GetDataSourceInput) (*GetDataSourceOutput, error) { req, out := c.GetDataSourceRequest(input) return out, req.Send() @@ -2160,14 +2135,13 @@ const opGetEvaluation = "GetEvaluation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEvaluationRequest method. +// req, resp := client.GetEvaluationRequest(params) // -// // Example sending a request using the GetEvaluationRequest method. -// req, resp := client.GetEvaluationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) GetEvaluationRequest(input *GetEvaluationInput) (req *request.Request, output *GetEvaluationOutput) { op := &request.Operation{ Name: opGetEvaluation, @@ -2197,16 +2171,16 @@ func (c *MachineLearning) GetEvaluationRequest(input *GetEvaluationInput) (req * // API operation GetEvaluation for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) GetEvaluation(input *GetEvaluationInput) (*GetEvaluationOutput, error) { req, out := c.GetEvaluationRequest(input) return out, req.Send() @@ -2244,14 +2218,13 @@ const opGetMLModel = "GetMLModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMLModelRequest method. +// req, resp := client.GetMLModelRequest(params) // -// // Example sending a request using the GetMLModelRequest method. -// req, resp := client.GetMLModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) GetMLModelRequest(input *GetMLModelInput) (req *request.Request, output *GetMLModelOutput) { op := &request.Operation{ Name: opGetMLModel, @@ -2283,16 +2256,16 @@ func (c *MachineLearning) GetMLModelRequest(input *GetMLModelInput) (req *reques // API operation GetMLModel for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) GetMLModel(input *GetMLModelInput) (*GetMLModelOutput, error) { req, out := c.GetMLModelRequest(input) return out, req.Send() @@ -2330,14 +2303,13 @@ const opPredict = "Predict" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PredictRequest method. +// req, resp := client.PredictRequest(params) // -// // Example sending a request using the PredictRequest method. -// req, resp := client.PredictRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) PredictRequest(input *PredictInput) (req *request.Request, output *PredictOutput) { op := &request.Operation{ Name: opPredict, @@ -2369,23 +2341,23 @@ func (c *MachineLearning) PredictRequest(input *PredictInput) (req *request.Requ // API operation Predict for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * LimitExceededException -// The subscriber exceeded the maximum number of operations. This exception -// can occur when listing objects such as DataSource. +// - ResourceNotFoundException +// A specified resource cannot be located. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - LimitExceededException +// The subscriber exceeded the maximum number of operations. This exception +// can occur when listing objects such as DataSource. // -// * PredictorNotMountedException -// The exception is thrown when a predict request is made to an unmounted MLModel. +// - InternalServerException +// An error on the server occurred when trying to process a request. // +// - PredictorNotMountedException +// The exception is thrown when a predict request is made to an unmounted MLModel. func (c *MachineLearning) Predict(input *PredictInput) (*PredictOutput, error) { req, out := c.PredictRequest(input) return out, req.Send() @@ -2423,14 +2395,13 @@ const opUpdateBatchPrediction = "UpdateBatchPrediction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBatchPredictionRequest method. +// req, resp := client.UpdateBatchPredictionRequest(params) // -// // Example sending a request using the UpdateBatchPredictionRequest method. -// req, resp := client.UpdateBatchPredictionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) UpdateBatchPredictionRequest(input *UpdateBatchPredictionInput) (req *request.Request, output *UpdateBatchPredictionOutput) { op := &request.Operation{ Name: opUpdateBatchPrediction, @@ -2462,16 +2433,16 @@ func (c *MachineLearning) UpdateBatchPredictionRequest(input *UpdateBatchPredict // API operation UpdateBatchPrediction for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) UpdateBatchPrediction(input *UpdateBatchPredictionInput) (*UpdateBatchPredictionOutput, error) { req, out := c.UpdateBatchPredictionRequest(input) return out, req.Send() @@ -2509,14 +2480,13 @@ const opUpdateDataSource = "UpdateDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDataSourceRequest method. +// req, resp := client.UpdateDataSourceRequest(params) // -// // Example sending a request using the UpdateDataSourceRequest method. -// req, resp := client.UpdateDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) UpdateDataSourceRequest(input *UpdateDataSourceInput) (req *request.Request, output *UpdateDataSourceOutput) { op := &request.Operation{ Name: opUpdateDataSource, @@ -2548,16 +2518,16 @@ func (c *MachineLearning) UpdateDataSourceRequest(input *UpdateDataSourceInput) // API operation UpdateDataSource for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) UpdateDataSource(input *UpdateDataSourceInput) (*UpdateDataSourceOutput, error) { req, out := c.UpdateDataSourceRequest(input) return out, req.Send() @@ -2595,14 +2565,13 @@ const opUpdateEvaluation = "UpdateEvaluation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEvaluationRequest method. +// req, resp := client.UpdateEvaluationRequest(params) // -// // Example sending a request using the UpdateEvaluationRequest method. -// req, resp := client.UpdateEvaluationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) UpdateEvaluationRequest(input *UpdateEvaluationInput) (req *request.Request, output *UpdateEvaluationOutput) { op := &request.Operation{ Name: opUpdateEvaluation, @@ -2634,16 +2603,16 @@ func (c *MachineLearning) UpdateEvaluationRequest(input *UpdateEvaluationInput) // API operation UpdateEvaluation for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) UpdateEvaluation(input *UpdateEvaluationInput) (*UpdateEvaluationOutput, error) { req, out := c.UpdateEvaluationRequest(input) return out, req.Send() @@ -2681,14 +2650,13 @@ const opUpdateMLModel = "UpdateMLModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMLModelRequest method. +// req, resp := client.UpdateMLModelRequest(params) // -// // Example sending a request using the UpdateMLModelRequest method. -// req, resp := client.UpdateMLModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MachineLearning) UpdateMLModelRequest(input *UpdateMLModelInput) (req *request.Request, output *UpdateMLModelOutput) { op := &request.Operation{ Name: opUpdateMLModel, @@ -2720,16 +2688,16 @@ func (c *MachineLearning) UpdateMLModelRequest(input *UpdateMLModelInput) (req * // API operation UpdateMLModel for usage and error information. // // Returned Error Types: -// * InvalidInputException -// An error on the client occurred. Typically, the cause is an invalid input -// value. // -// * ResourceNotFoundException -// A specified resource cannot be located. +// - InvalidInputException +// An error on the client occurred. Typically, the cause is an invalid input +// value. // -// * InternalServerException -// An error on the server occurred when trying to process a request. +// - ResourceNotFoundException +// A specified resource cannot be located. // +// - InternalServerException +// An error on the server occurred when trying to process a request. func (c *MachineLearning) UpdateMLModel(input *UpdateMLModelInput) (*UpdateMLModelOutput, error) { req, out := c.UpdateMLModelRequest(input) return out, req.Send() @@ -7822,15 +7790,15 @@ func (s *MLModel) SetTrainingParameters(v map[string]*string) *MLModel { // Measurements of how well the MLModel performed on known observations. One // of the following metrics is returned, based on the type of the MLModel: // -// * BinaryAUC: The binary MLModel uses the Area Under the Curve (AUC) technique -// to measure performance. +// - BinaryAUC: The binary MLModel uses the Area Under the Curve (AUC) technique +// to measure performance. // -// * RegressionRMSE: The regression MLModel uses the Root Mean Square Error -// (RMSE) technique to measure performance. RMSE measures the difference -// between predicted and actual values for a single variable. +// - RegressionRMSE: The regression MLModel uses the Root Mean Square Error +// (RMSE) technique to measure performance. RMSE measures the difference +// between predicted and actual values for a single variable. // -// * MulticlassAvgFScore: The multiclass MLModel uses the F1 score technique -// to measure performance. +// - MulticlassAvgFScore: The multiclass MLModel uses the F1 score technique +// to measure performance. // // For more information about performance metrics, please see the Amazon Machine // Learning Developer Guide (https://docs.aws.amazon.com/machine-learning/latest/dg). @@ -7982,15 +7950,16 @@ func (s *PredictOutput) SetPrediction(v *Prediction) *PredictOutput { // The output from a Predict operation: // -// * Details - Contains the following attributes: DetailsAttributes.PREDICTIVE_MODEL_TYPE -// - REGRESSION | BINARY | MULTICLASS DetailsAttributes.ALGORITHM - SGD +// - Details - Contains the following attributes: DetailsAttributes.PREDICTIVE_MODEL_TYPE +// +// - REGRESSION | BINARY | MULTICLASS DetailsAttributes.ALGORITHM - SGD // -// * PredictedLabel - Present for either a BINARY or MULTICLASS MLModel request. +// - PredictedLabel - Present for either a BINARY or MULTICLASS MLModel request. // -// * PredictedScores - Contains the raw classification score corresponding -// to each label. +// - PredictedScores - Contains the raw classification score corresponding +// to each label. // -// * PredictedValue - Present for a REGRESSION MLModel request. +// - PredictedValue - Present for a REGRESSION MLModel request. type Prediction struct { _ struct{} `type:"structure"` @@ -9871,9 +9840,9 @@ func (s *UpdateMLModelOutput) SetMLModelId(v string) *UpdateMLModelOutput { // The function used to train an MLModel. Training choices supported by Amazon // ML include the following: // -// * SGD - Stochastic Gradient Descent. +// - SGD - Stochastic Gradient Descent. // -// * RandomForest - Random forest of decision trees. +// - RandomForest - Random forest of decision trees. const ( // AlgorithmSgd is a Algorithm enum value AlgorithmSgd = "sgd" @@ -9888,23 +9857,23 @@ func Algorithm_Values() []string { // A list of the variables to use in searching or filtering BatchPrediction. // -// * CreatedAt - Sets the search criteria to BatchPrediction creation date. +// - CreatedAt - Sets the search criteria to BatchPrediction creation date. // -// * Status - Sets the search criteria to BatchPrediction status. +// - Status - Sets the search criteria to BatchPrediction status. // -// * Name - Sets the search criteria to the contents of BatchPrediction Name. +// - Name - Sets the search criteria to the contents of BatchPrediction Name. // -// * IAMUser - Sets the search criteria to the user account that invoked -// the BatchPrediction creation. +// - IAMUser - Sets the search criteria to the user account that invoked +// the BatchPrediction creation. // -// * MLModelId - Sets the search criteria to the MLModel used in the BatchPrediction. +// - MLModelId - Sets the search criteria to the MLModel used in the BatchPrediction. // -// * DataSourceId - Sets the search criteria to the DataSource used in the -// BatchPrediction. +// - DataSourceId - Sets the search criteria to the DataSource used in the +// BatchPrediction. // -// * DataURI - Sets the search criteria to the data file(s) used in the BatchPrediction. -// The URL can identify either a file or an Amazon Simple Storage Service -// (Amazon S3) bucket or directory. +// - DataURI - Sets the search criteria to the data file(s) used in the BatchPrediction. +// The URL can identify either a file or an Amazon Simple Storage Service +// (Amazon S3) bucket or directory. const ( // BatchPredictionFilterVariableCreatedAt is a BatchPredictionFilterVariable enum value BatchPredictionFilterVariableCreatedAt = "CreatedAt" @@ -9947,18 +9916,18 @@ func BatchPredictionFilterVariable_Values() []string { // A list of the variables to use in searching or filtering DataSource. // -// * CreatedAt - Sets the search criteria to DataSource creation date. +// - CreatedAt - Sets the search criteria to DataSource creation date. // -// * Status - Sets the search criteria to DataSource status. +// - Status - Sets the search criteria to DataSource status. // -// * Name - Sets the search criteria to the contents of DataSource Name. +// - Name - Sets the search criteria to the contents of DataSource Name. // -// * DataUri - Sets the search criteria to the URI of data files used to -// create the DataSource. The URI can identify either a file or an Amazon -// Simple Storage Service (Amazon S3) bucket or directory. +// - DataUri - Sets the search criteria to the URI of data files used to +// create the DataSource. The URI can identify either a file or an Amazon +// Simple Storage Service (Amazon S3) bucket or directory. // -// * IAMUser - Sets the search criteria to the user account that invoked -// the DataSource creation. +// - IAMUser - Sets the search criteria to the user account that invoked +// the DataSource creation. // // Note: The variable names should match the variable names in the DataSource. const ( @@ -9995,9 +9964,9 @@ func DataSourceFilterVariable_Values() []string { // Contains the key values of DetailsMap: // -// * PredictiveModelType - Indicates the type of the MLModel. +// - PredictiveModelType - Indicates the type of the MLModel. // -// * Algorithm - Indicates the algorithm that was used for the MLModel. +// - Algorithm - Indicates the algorithm that was used for the MLModel. const ( // DetailsAttributesPredictiveModelType is a DetailsAttributes enum value DetailsAttributesPredictiveModelType = "PredictiveModelType" @@ -10016,15 +9985,15 @@ func DetailsAttributes_Values() []string { // Object status with the following possible values: // -// * PENDING +// - PENDING // -// * INPROGRESS +// - INPROGRESS // -// * FAILED +// - FAILED // -// * COMPLETED +// - COMPLETED // -// * DELETED +// - DELETED const ( // EntityStatusPending is a EntityStatus enum value EntityStatusPending = "PENDING" @@ -10055,22 +10024,22 @@ func EntityStatus_Values() []string { // A list of the variables to use in searching or filtering Evaluation. // -// * CreatedAt - Sets the search criteria to Evaluation creation date. +// - CreatedAt - Sets the search criteria to Evaluation creation date. // -// * Status - Sets the search criteria to Evaluation status. +// - Status - Sets the search criteria to Evaluation status. // -// * Name - Sets the search criteria to the contents of Evaluation Name. +// - Name - Sets the search criteria to the contents of Evaluation Name. // -// * IAMUser - Sets the search criteria to the user account that invoked -// an evaluation. +// - IAMUser - Sets the search criteria to the user account that invoked +// an evaluation. // -// * MLModelId - Sets the search criteria to the Predictor that was evaluated. +// - MLModelId - Sets the search criteria to the Predictor that was evaluated. // -// * DataSourceId - Sets the search criteria to the DataSource used in evaluation. +// - DataSourceId - Sets the search criteria to the DataSource used in evaluation. // -// * DataUri - Sets the search criteria to the data file(s) used in evaluation. -// The URL can identify either a file or an Amazon Simple Storage Service -// (Amazon S3) bucket or directory. +// - DataUri - Sets the search criteria to the data file(s) used in evaluation. +// The URL can identify either a file or an Amazon Simple Storage Service +// (Amazon S3) bucket or directory. const ( // EvaluationFilterVariableCreatedAt is a EvaluationFilterVariable enum value EvaluationFilterVariableCreatedAt = "CreatedAt" @@ -10206,9 +10175,9 @@ func RealtimeEndpointStatus_Values() []string { // The sort order specified in a listing condition. Possible values include // the following: // -// * asc - Present the information in ascending order (from A-Z). +// - asc - Present the information in ascending order (from A-Z). // -// * dsc - Present the information in descending order (from Z-A). +// - dsc - Present the information in descending order (from Z-A). const ( // SortOrderAsc is a SortOrder enum value SortOrderAsc = "asc" diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/doc.go index 5b5e46b308bc..f45d2f5251a7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/doc.go @@ -3,12 +3,12 @@ // Package machinelearning provides the client and types for making API // requests to Amazon Machine Learning. // -// Definition of the public APIs exposed by Amazon Machine Learning +// # Definition of the public APIs exposed by Amazon Machine Learning // // See machinelearning package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/machinelearning/ // -// Using the Client +// # Using the Client // // To contact Amazon Machine Learning with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/machinelearningiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/machinelearningiface/interface.go index 882f0546ffd7..3eb8a60723d9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/machinelearningiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/machinelearningiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Machine Learning. -// func myFunc(svc machinelearningiface.MachineLearningAPI) bool { -// // Make svc.AddTags request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Machine Learning. +// func myFunc(svc machinelearningiface.MachineLearningAPI) bool { +// // Make svc.AddTags request +// } // -// func main() { -// sess := session.New() -// svc := machinelearning.New(sess) +// func main() { +// sess := session.New() +// svc := machinelearning.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMachineLearningClient struct { -// machinelearningiface.MachineLearningAPI -// } -// func (m *mockMachineLearningClient) AddTags(input *machinelearning.AddTagsInput) (*machinelearning.AddTagsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMachineLearningClient struct { +// machinelearningiface.MachineLearningAPI +// } +// func (m *mockMachineLearningClient) AddTags(input *machinelearning.AddTagsInput) (*machinelearning.AddTagsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMachineLearningClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMachineLearningClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/service.go index c9158da2e653..de33077ef644 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/machinelearning/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MachineLearning client from just a session. -// svc := machinelearning.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MachineLearning client with additional configuration -// svc := machinelearning.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MachineLearning client from just a session. +// svc := machinelearning.New(mySession) +// +// // Create a MachineLearning client with additional configuration +// svc := machinelearning.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MachineLearning { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/api.go index 5890764128dc..cc0eb263f20d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/api.go @@ -28,14 +28,13 @@ const opAssociateMemberAccount = "AssociateMemberAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateMemberAccountRequest method. +// req, resp := client.AssociateMemberAccountRequest(params) // -// // Example sending a request using the AssociateMemberAccountRequest method. -// req, resp := client.AssociateMemberAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/AssociateMemberAccount func (c *Macie) AssociateMemberAccountRequest(input *AssociateMemberAccountInput) (req *request.Request, output *AssociateMemberAccountOutput) { @@ -68,17 +67,18 @@ func (c *Macie) AssociateMemberAccountRequest(input *AssociateMemberAccountInput // API operation AssociateMemberAccount for usage and error information. // // Returned Error Types: -// * InvalidInputException -// (Discontinued) The request was rejected because an invalid or out-of-range -// value was supplied for an input parameter. // -// * LimitExceededException -// (Discontinued) The request was rejected because it attempted to create resources -// beyond the current Amazon Web Services account quotas. The error code describes -// the quota exceeded. +// - InvalidInputException +// (Discontinued) The request was rejected because an invalid or out-of-range +// value was supplied for an input parameter. +// +// - LimitExceededException +// (Discontinued) The request was rejected because it attempted to create resources +// beyond the current Amazon Web Services account quotas. The error code describes +// the quota exceeded. // -// * InternalException -// (Discontinued) Internal server error. +// - InternalException +// (Discontinued) Internal server error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/AssociateMemberAccount func (c *Macie) AssociateMemberAccount(input *AssociateMemberAccountInput) (*AssociateMemberAccountOutput, error) { @@ -118,14 +118,13 @@ const opAssociateS3Resources = "AssociateS3Resources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateS3ResourcesRequest method. +// req, resp := client.AssociateS3ResourcesRequest(params) // -// // Example sending a request using the AssociateS3ResourcesRequest method. -// req, resp := client.AssociateS3ResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/AssociateS3Resources func (c *Macie) AssociateS3ResourcesRequest(input *AssociateS3ResourcesInput) (req *request.Request, output *AssociateS3ResourcesOutput) { @@ -161,21 +160,22 @@ func (c *Macie) AssociateS3ResourcesRequest(input *AssociateS3ResourcesInput) (r // API operation AssociateS3Resources for usage and error information. // // Returned Error Types: -// * InvalidInputException -// (Discontinued) The request was rejected because an invalid or out-of-range -// value was supplied for an input parameter. // -// * AccessDeniedException -// (Discontinued) You do not have required permissions to access the requested -// resource. +// - InvalidInputException +// (Discontinued) The request was rejected because an invalid or out-of-range +// value was supplied for an input parameter. +// +// - AccessDeniedException +// (Discontinued) You do not have required permissions to access the requested +// resource. // -// * LimitExceededException -// (Discontinued) The request was rejected because it attempted to create resources -// beyond the current Amazon Web Services account quotas. The error code describes -// the quota exceeded. +// - LimitExceededException +// (Discontinued) The request was rejected because it attempted to create resources +// beyond the current Amazon Web Services account quotas. The error code describes +// the quota exceeded. // -// * InternalException -// (Discontinued) Internal server error. +// - InternalException +// (Discontinued) Internal server error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/AssociateS3Resources func (c *Macie) AssociateS3Resources(input *AssociateS3ResourcesInput) (*AssociateS3ResourcesOutput, error) { @@ -215,14 +215,13 @@ const opDisassociateMemberAccount = "DisassociateMemberAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateMemberAccountRequest method. +// req, resp := client.DisassociateMemberAccountRequest(params) // -// // Example sending a request using the DisassociateMemberAccountRequest method. -// req, resp := client.DisassociateMemberAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/DisassociateMemberAccount func (c *Macie) DisassociateMemberAccountRequest(input *DisassociateMemberAccountInput) (req *request.Request, output *DisassociateMemberAccountOutput) { @@ -254,12 +253,13 @@ func (c *Macie) DisassociateMemberAccountRequest(input *DisassociateMemberAccoun // API operation DisassociateMemberAccount for usage and error information. // // Returned Error Types: -// * InvalidInputException -// (Discontinued) The request was rejected because an invalid or out-of-range -// value was supplied for an input parameter. // -// * InternalException -// (Discontinued) Internal server error. +// - InvalidInputException +// (Discontinued) The request was rejected because an invalid or out-of-range +// value was supplied for an input parameter. +// +// - InternalException +// (Discontinued) Internal server error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/DisassociateMemberAccount func (c *Macie) DisassociateMemberAccount(input *DisassociateMemberAccountInput) (*DisassociateMemberAccountOutput, error) { @@ -299,14 +299,13 @@ const opDisassociateS3Resources = "DisassociateS3Resources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateS3ResourcesRequest method. +// req, resp := client.DisassociateS3ResourcesRequest(params) // -// // Example sending a request using the DisassociateS3ResourcesRequest method. -// req, resp := client.DisassociateS3ResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/DisassociateS3Resources func (c *Macie) DisassociateS3ResourcesRequest(input *DisassociateS3ResourcesInput) (req *request.Request, output *DisassociateS3ResourcesOutput) { @@ -341,16 +340,17 @@ func (c *Macie) DisassociateS3ResourcesRequest(input *DisassociateS3ResourcesInp // API operation DisassociateS3Resources for usage and error information. // // Returned Error Types: -// * InvalidInputException -// (Discontinued) The request was rejected because an invalid or out-of-range -// value was supplied for an input parameter. // -// * AccessDeniedException -// (Discontinued) You do not have required permissions to access the requested -// resource. +// - InvalidInputException +// (Discontinued) The request was rejected because an invalid or out-of-range +// value was supplied for an input parameter. +// +// - AccessDeniedException +// (Discontinued) You do not have required permissions to access the requested +// resource. // -// * InternalException -// (Discontinued) Internal server error. +// - InternalException +// (Discontinued) Internal server error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/DisassociateS3Resources func (c *Macie) DisassociateS3Resources(input *DisassociateS3ResourcesInput) (*DisassociateS3ResourcesOutput, error) { @@ -390,14 +390,13 @@ const opListMemberAccounts = "ListMemberAccounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMemberAccountsRequest method. +// req, resp := client.ListMemberAccountsRequest(params) // -// // Example sending a request using the ListMemberAccountsRequest method. -// req, resp := client.ListMemberAccountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/ListMemberAccounts func (c *Macie) ListMemberAccountsRequest(input *ListMemberAccountsInput) (req *request.Request, output *ListMemberAccountsOutput) { @@ -435,12 +434,13 @@ func (c *Macie) ListMemberAccountsRequest(input *ListMemberAccountsInput) (req * // API operation ListMemberAccounts for usage and error information. // // Returned Error Types: -// * InternalException -// (Discontinued) Internal server error. // -// * InvalidInputException -// (Discontinued) The request was rejected because an invalid or out-of-range -// value was supplied for an input parameter. +// - InternalException +// (Discontinued) Internal server error. +// +// - InvalidInputException +// (Discontinued) The request was rejected because an invalid or out-of-range +// value was supplied for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/ListMemberAccounts func (c *Macie) ListMemberAccounts(input *ListMemberAccountsInput) (*ListMemberAccountsOutput, error) { @@ -472,15 +472,14 @@ func (c *Macie) ListMemberAccountsWithContext(ctx aws.Context, input *ListMember // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMemberAccounts operation. -// pageNum := 0 -// err := client.ListMemberAccountsPages(params, -// func(page *macie.ListMemberAccountsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMemberAccounts operation. +// pageNum := 0 +// err := client.ListMemberAccountsPages(params, +// func(page *macie.ListMemberAccountsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Macie) ListMemberAccountsPages(input *ListMemberAccountsInput, fn func(*ListMemberAccountsOutput, bool) bool) error { return c.ListMemberAccountsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -532,14 +531,13 @@ const opListS3Resources = "ListS3Resources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListS3ResourcesRequest method. +// req, resp := client.ListS3ResourcesRequest(params) // -// // Example sending a request using the ListS3ResourcesRequest method. -// req, resp := client.ListS3ResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/ListS3Resources func (c *Macie) ListS3ResourcesRequest(input *ListS3ResourcesInput) (req *request.Request, output *ListS3ResourcesOutput) { @@ -580,16 +578,17 @@ func (c *Macie) ListS3ResourcesRequest(input *ListS3ResourcesInput) (req *reques // API operation ListS3Resources for usage and error information. // // Returned Error Types: -// * InvalidInputException -// (Discontinued) The request was rejected because an invalid or out-of-range -// value was supplied for an input parameter. // -// * AccessDeniedException -// (Discontinued) You do not have required permissions to access the requested -// resource. +// - InvalidInputException +// (Discontinued) The request was rejected because an invalid or out-of-range +// value was supplied for an input parameter. // -// * InternalException -// (Discontinued) Internal server error. +// - AccessDeniedException +// (Discontinued) You do not have required permissions to access the requested +// resource. +// +// - InternalException +// (Discontinued) Internal server error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/ListS3Resources func (c *Macie) ListS3Resources(input *ListS3ResourcesInput) (*ListS3ResourcesOutput, error) { @@ -621,15 +620,14 @@ func (c *Macie) ListS3ResourcesWithContext(ctx aws.Context, input *ListS3Resourc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListS3Resources operation. -// pageNum := 0 -// err := client.ListS3ResourcesPages(params, -// func(page *macie.ListS3ResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListS3Resources operation. +// pageNum := 0 +// err := client.ListS3ResourcesPages(params, +// func(page *macie.ListS3ResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Macie) ListS3ResourcesPages(input *ListS3ResourcesInput, fn func(*ListS3ResourcesOutput, bool) bool) error { return c.ListS3ResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -681,14 +679,13 @@ const opUpdateS3Resources = "UpdateS3Resources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateS3ResourcesRequest method. +// req, resp := client.UpdateS3ResourcesRequest(params) // -// // Example sending a request using the UpdateS3ResourcesRequest method. -// req, resp := client.UpdateS3ResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/UpdateS3Resources func (c *Macie) UpdateS3ResourcesRequest(input *UpdateS3ResourcesInput) (req *request.Request, output *UpdateS3ResourcesOutput) { @@ -724,16 +721,17 @@ func (c *Macie) UpdateS3ResourcesRequest(input *UpdateS3ResourcesInput) (req *re // API operation UpdateS3Resources for usage and error information. // // Returned Error Types: -// * InvalidInputException -// (Discontinued) The request was rejected because an invalid or out-of-range -// value was supplied for an input parameter. // -// * AccessDeniedException -// (Discontinued) You do not have required permissions to access the requested -// resource. +// - InvalidInputException +// (Discontinued) The request was rejected because an invalid or out-of-range +// value was supplied for an input parameter. +// +// - AccessDeniedException +// (Discontinued) You do not have required permissions to access the requested +// resource. // -// * InternalException -// (Discontinued) Internal server error. +// - InternalException +// (Discontinued) Internal server error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie-2017-12-19/UpdateS3Resources func (c *Macie) UpdateS3Resources(input *UpdateS3ResourcesInput) (*UpdateS3ResourcesOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/doc.go index df38ae5b662e..6f2fa88be0bf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/doc.go @@ -17,7 +17,7 @@ // See macie package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/macie/ // -// Using the Client +// # Using the Client // // To contact Amazon Macie with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/macieiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/macieiface/interface.go index 96850980b080..680660a0c833 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/macieiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/macieiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Macie. -// func myFunc(svc macieiface.MacieAPI) bool { -// // Make svc.AssociateMemberAccount request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Macie. +// func myFunc(svc macieiface.MacieAPI) bool { +// // Make svc.AssociateMemberAccount request +// } // -// func main() { -// sess := session.New() -// svc := macie.New(sess) +// func main() { +// sess := session.New() +// svc := macie.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMacieClient struct { -// macieiface.MacieAPI -// } -// func (m *mockMacieClient) AssociateMemberAccount(input *macie.AssociateMemberAccountInput) (*macie.AssociateMemberAccountOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMacieClient struct { +// macieiface.MacieAPI +// } +// func (m *mockMacieClient) AssociateMemberAccount(input *macie.AssociateMemberAccountInput) (*macie.AssociateMemberAccountOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMacieClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMacieClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/service.go index 1f940b3ef27e..822a15e4b80f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Macie client from just a session. -// svc := macie.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Macie client with additional configuration -// svc := macie.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Macie client from just a session. +// svc := macie.New(mySession) +// +// // Create a Macie client with additional configuration +// svc := macie.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Macie { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/api.go index 1bf9cbca7222..0ea3d59508d4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/api.go @@ -29,14 +29,13 @@ const opAcceptInvitation = "AcceptInvitation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptInvitationRequest method. +// req, resp := client.AcceptInvitationRequest(params) // -// // Example sending a request using the AcceptInvitationRequest method. -// req, resp := client.AcceptInvitationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitation func (c *Macie2) AcceptInvitationRequest(input *AcceptInvitationInput) (req *request.Request, output *AcceptInvitationOutput) { @@ -69,33 +68,34 @@ func (c *Macie2) AcceptInvitationRequest(input *AcceptInvitationInput) (req *req // API operation AcceptInvitation for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AcceptInvitation func (c *Macie2) AcceptInvitation(input *AcceptInvitationInput) (*AcceptInvitationOutput, error) { @@ -135,14 +135,13 @@ const opBatchGetCustomDataIdentifiers = "BatchGetCustomDataIdentifiers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetCustomDataIdentifiersRequest method. +// req, resp := client.BatchGetCustomDataIdentifiersRequest(params) // -// // Example sending a request using the BatchGetCustomDataIdentifiersRequest method. -// req, resp := client.BatchGetCustomDataIdentifiersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BatchGetCustomDataIdentifiers func (c *Macie2) BatchGetCustomDataIdentifiersRequest(input *BatchGetCustomDataIdentifiersInput) (req *request.Request, output *BatchGetCustomDataIdentifiersOutput) { @@ -173,33 +172,34 @@ func (c *Macie2) BatchGetCustomDataIdentifiersRequest(input *BatchGetCustomDataI // API operation BatchGetCustomDataIdentifiers for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BatchGetCustomDataIdentifiers func (c *Macie2) BatchGetCustomDataIdentifiers(input *BatchGetCustomDataIdentifiersInput) (*BatchGetCustomDataIdentifiersOutput, error) { @@ -239,14 +239,13 @@ const opCreateClassificationJob = "CreateClassificationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClassificationJobRequest method. +// req, resp := client.CreateClassificationJobRequest(params) // -// // Example sending a request using the CreateClassificationJobRequest method. -// req, resp := client.CreateClassificationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateClassificationJob func (c *Macie2) CreateClassificationJobRequest(input *CreateClassificationJobInput) (req *request.Request, output *CreateClassificationJobOutput) { @@ -277,33 +276,34 @@ func (c *Macie2) CreateClassificationJobRequest(input *CreateClassificationJobIn // API operation CreateClassificationJob for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateClassificationJob func (c *Macie2) CreateClassificationJob(input *CreateClassificationJobInput) (*CreateClassificationJobOutput, error) { @@ -343,14 +343,13 @@ const opCreateCustomDataIdentifier = "CreateCustomDataIdentifier" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCustomDataIdentifierRequest method. +// req, resp := client.CreateCustomDataIdentifierRequest(params) // -// // Example sending a request using the CreateCustomDataIdentifierRequest method. -// req, resp := client.CreateCustomDataIdentifierRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateCustomDataIdentifier func (c *Macie2) CreateCustomDataIdentifierRequest(input *CreateCustomDataIdentifierInput) (req *request.Request, output *CreateCustomDataIdentifierOutput) { @@ -381,33 +380,34 @@ func (c *Macie2) CreateCustomDataIdentifierRequest(input *CreateCustomDataIdenti // API operation CreateCustomDataIdentifier for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateCustomDataIdentifier func (c *Macie2) CreateCustomDataIdentifier(input *CreateCustomDataIdentifierInput) (*CreateCustomDataIdentifierOutput, error) { @@ -447,14 +447,13 @@ const opCreateFindingsFilter = "CreateFindingsFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFindingsFilterRequest method. +// req, resp := client.CreateFindingsFilterRequest(params) // -// // Example sending a request using the CreateFindingsFilterRequest method. -// req, resp := client.CreateFindingsFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateFindingsFilter func (c *Macie2) CreateFindingsFilterRequest(input *CreateFindingsFilterInput) (req *request.Request, output *CreateFindingsFilterOutput) { @@ -485,33 +484,34 @@ func (c *Macie2) CreateFindingsFilterRequest(input *CreateFindingsFilterInput) ( // API operation CreateFindingsFilter for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateFindingsFilter func (c *Macie2) CreateFindingsFilter(input *CreateFindingsFilterInput) (*CreateFindingsFilterOutput, error) { @@ -551,14 +551,13 @@ const opCreateInvitations = "CreateInvitations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInvitationsRequest method. +// req, resp := client.CreateInvitationsRequest(params) // -// // Example sending a request using the CreateInvitationsRequest method. -// req, resp := client.CreateInvitationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateInvitations func (c *Macie2) CreateInvitationsRequest(input *CreateInvitationsInput) (req *request.Request, output *CreateInvitationsOutput) { @@ -589,33 +588,34 @@ func (c *Macie2) CreateInvitationsRequest(input *CreateInvitationsInput) (req *r // API operation CreateInvitations for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateInvitations func (c *Macie2) CreateInvitations(input *CreateInvitationsInput) (*CreateInvitationsOutput, error) { @@ -655,14 +655,13 @@ const opCreateMember = "CreateMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMemberRequest method. +// req, resp := client.CreateMemberRequest(params) // -// // Example sending a request using the CreateMemberRequest method. -// req, resp := client.CreateMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateMember func (c *Macie2) CreateMemberRequest(input *CreateMemberInput) (req *request.Request, output *CreateMemberOutput) { @@ -693,33 +692,34 @@ func (c *Macie2) CreateMemberRequest(input *CreateMemberInput) (req *request.Req // API operation CreateMember for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateMember func (c *Macie2) CreateMember(input *CreateMemberInput) (*CreateMemberOutput, error) { @@ -759,14 +759,13 @@ const opCreateSampleFindings = "CreateSampleFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSampleFindingsRequest method. +// req, resp := client.CreateSampleFindingsRequest(params) // -// // Example sending a request using the CreateSampleFindingsRequest method. -// req, resp := client.CreateSampleFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateSampleFindings func (c *Macie2) CreateSampleFindingsRequest(input *CreateSampleFindingsInput) (req *request.Request, output *CreateSampleFindingsOutput) { @@ -798,33 +797,34 @@ func (c *Macie2) CreateSampleFindingsRequest(input *CreateSampleFindingsInput) ( // API operation CreateSampleFindings for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateSampleFindings func (c *Macie2) CreateSampleFindings(input *CreateSampleFindingsInput) (*CreateSampleFindingsOutput, error) { @@ -864,14 +864,13 @@ const opDeclineInvitations = "DeclineInvitations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeclineInvitationsRequest method. +// req, resp := client.DeclineInvitationsRequest(params) // -// // Example sending a request using the DeclineInvitationsRequest method. -// req, resp := client.DeclineInvitationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeclineInvitations func (c *Macie2) DeclineInvitationsRequest(input *DeclineInvitationsInput) (req *request.Request, output *DeclineInvitationsOutput) { @@ -903,33 +902,34 @@ func (c *Macie2) DeclineInvitationsRequest(input *DeclineInvitationsInput) (req // API operation DeclineInvitations for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeclineInvitations func (c *Macie2) DeclineInvitations(input *DeclineInvitationsInput) (*DeclineInvitationsOutput, error) { @@ -969,14 +969,13 @@ const opDeleteCustomDataIdentifier = "DeleteCustomDataIdentifier" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomDataIdentifierRequest method. +// req, resp := client.DeleteCustomDataIdentifierRequest(params) // -// // Example sending a request using the DeleteCustomDataIdentifierRequest method. -// req, resp := client.DeleteCustomDataIdentifierRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteCustomDataIdentifier func (c *Macie2) DeleteCustomDataIdentifierRequest(input *DeleteCustomDataIdentifierInput) (req *request.Request, output *DeleteCustomDataIdentifierOutput) { @@ -1008,33 +1007,34 @@ func (c *Macie2) DeleteCustomDataIdentifierRequest(input *DeleteCustomDataIdenti // API operation DeleteCustomDataIdentifier for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteCustomDataIdentifier func (c *Macie2) DeleteCustomDataIdentifier(input *DeleteCustomDataIdentifierInput) (*DeleteCustomDataIdentifierOutput, error) { @@ -1074,14 +1074,13 @@ const opDeleteFindingsFilter = "DeleteFindingsFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFindingsFilterRequest method. +// req, resp := client.DeleteFindingsFilterRequest(params) // -// // Example sending a request using the DeleteFindingsFilterRequest method. -// req, resp := client.DeleteFindingsFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteFindingsFilter func (c *Macie2) DeleteFindingsFilterRequest(input *DeleteFindingsFilterInput) (req *request.Request, output *DeleteFindingsFilterOutput) { @@ -1113,33 +1112,34 @@ func (c *Macie2) DeleteFindingsFilterRequest(input *DeleteFindingsFilterInput) ( // API operation DeleteFindingsFilter for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteFindingsFilter func (c *Macie2) DeleteFindingsFilter(input *DeleteFindingsFilterInput) (*DeleteFindingsFilterOutput, error) { @@ -1179,14 +1179,13 @@ const opDeleteInvitations = "DeleteInvitations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInvitationsRequest method. +// req, resp := client.DeleteInvitationsRequest(params) // -// // Example sending a request using the DeleteInvitationsRequest method. -// req, resp := client.DeleteInvitationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteInvitations func (c *Macie2) DeleteInvitationsRequest(input *DeleteInvitationsInput) (req *request.Request, output *DeleteInvitationsOutput) { @@ -1218,33 +1217,34 @@ func (c *Macie2) DeleteInvitationsRequest(input *DeleteInvitationsInput) (req *r // API operation DeleteInvitations for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteInvitations func (c *Macie2) DeleteInvitations(input *DeleteInvitationsInput) (*DeleteInvitationsOutput, error) { @@ -1284,14 +1284,13 @@ const opDeleteMember = "DeleteMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMemberRequest method. +// req, resp := client.DeleteMemberRequest(params) // -// // Example sending a request using the DeleteMemberRequest method. -// req, resp := client.DeleteMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteMember func (c *Macie2) DeleteMemberRequest(input *DeleteMemberInput) (req *request.Request, output *DeleteMemberOutput) { @@ -1324,33 +1323,34 @@ func (c *Macie2) DeleteMemberRequest(input *DeleteMemberInput) (req *request.Req // API operation DeleteMember for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteMember func (c *Macie2) DeleteMember(input *DeleteMemberInput) (*DeleteMemberOutput, error) { @@ -1390,14 +1390,13 @@ const opDescribeBuckets = "DescribeBuckets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBucketsRequest method. +// req, resp := client.DescribeBucketsRequest(params) // -// // Example sending a request using the DescribeBucketsRequest method. -// req, resp := client.DescribeBucketsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeBuckets func (c *Macie2) DescribeBucketsRequest(input *DescribeBucketsInput) (req *request.Request, output *DescribeBucketsOutput) { @@ -1435,33 +1434,34 @@ func (c *Macie2) DescribeBucketsRequest(input *DescribeBucketsInput) (req *reque // API operation DescribeBuckets for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeBuckets func (c *Macie2) DescribeBuckets(input *DescribeBucketsInput) (*DescribeBucketsOutput, error) { @@ -1493,15 +1493,14 @@ func (c *Macie2) DescribeBucketsWithContext(ctx aws.Context, input *DescribeBuck // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeBuckets operation. -// pageNum := 0 -// err := client.DescribeBucketsPages(params, -// func(page *macie2.DescribeBucketsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeBuckets operation. +// pageNum := 0 +// err := client.DescribeBucketsPages(params, +// func(page *macie2.DescribeBucketsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Macie2) DescribeBucketsPages(input *DescribeBucketsInput, fn func(*DescribeBucketsOutput, bool) bool) error { return c.DescribeBucketsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1553,14 +1552,13 @@ const opDescribeClassificationJob = "DescribeClassificationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClassificationJobRequest method. +// req, resp := client.DescribeClassificationJobRequest(params) // -// // Example sending a request using the DescribeClassificationJobRequest method. -// req, resp := client.DescribeClassificationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob func (c *Macie2) DescribeClassificationJobRequest(input *DescribeClassificationJobInput) (req *request.Request, output *DescribeClassificationJobOutput) { @@ -1591,33 +1589,34 @@ func (c *Macie2) DescribeClassificationJobRequest(input *DescribeClassificationJ // API operation DescribeClassificationJob for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob func (c *Macie2) DescribeClassificationJob(input *DescribeClassificationJobInput) (*DescribeClassificationJobOutput, error) { @@ -1657,14 +1656,13 @@ const opDescribeOrganizationConfiguration = "DescribeOrganizationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrganizationConfigurationRequest method. +// req, resp := client.DescribeOrganizationConfigurationRequest(params) // -// // Example sending a request using the DescribeOrganizationConfigurationRequest method. -// req, resp := client.DescribeOrganizationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeOrganizationConfiguration func (c *Macie2) DescribeOrganizationConfigurationRequest(input *DescribeOrganizationConfigurationInput) (req *request.Request, output *DescribeOrganizationConfigurationOutput) { @@ -1696,33 +1694,34 @@ func (c *Macie2) DescribeOrganizationConfigurationRequest(input *DescribeOrganiz // API operation DescribeOrganizationConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeOrganizationConfiguration func (c *Macie2) DescribeOrganizationConfiguration(input *DescribeOrganizationConfigurationInput) (*DescribeOrganizationConfigurationOutput, error) { @@ -1762,14 +1761,13 @@ const opDisableMacie = "DisableMacie" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableMacieRequest method. +// req, resp := client.DisableMacieRequest(params) // -// // Example sending a request using the DisableMacieRequest method. -// req, resp := client.DisableMacieRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableMacie func (c *Macie2) DisableMacieRequest(input *DisableMacieInput) (req *request.Request, output *DisableMacieOutput) { @@ -1802,33 +1800,34 @@ func (c *Macie2) DisableMacieRequest(input *DisableMacieInput) (req *request.Req // API operation DisableMacie for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableMacie func (c *Macie2) DisableMacie(input *DisableMacieInput) (*DisableMacieOutput, error) { @@ -1868,14 +1867,13 @@ const opDisableOrganizationAdminAccount = "DisableOrganizationAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableOrganizationAdminAccountRequest method. +// req, resp := client.DisableOrganizationAdminAccountRequest(params) // -// // Example sending a request using the DisableOrganizationAdminAccountRequest method. -// req, resp := client.DisableOrganizationAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableOrganizationAdminAccount func (c *Macie2) DisableOrganizationAdminAccountRequest(input *DisableOrganizationAdminAccountInput) (req *request.Request, output *DisableOrganizationAdminAccountOutput) { @@ -1908,33 +1906,34 @@ func (c *Macie2) DisableOrganizationAdminAccountRequest(input *DisableOrganizati // API operation DisableOrganizationAdminAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableOrganizationAdminAccount func (c *Macie2) DisableOrganizationAdminAccount(input *DisableOrganizationAdminAccountInput) (*DisableOrganizationAdminAccountOutput, error) { @@ -1974,14 +1973,13 @@ const opDisassociateFromAdministratorAccount = "DisassociateFromAdministratorAcc // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateFromAdministratorAccountRequest method. +// req, resp := client.DisassociateFromAdministratorAccountRequest(params) // -// // Example sending a request using the DisassociateFromAdministratorAccountRequest method. -// req, resp := client.DisassociateFromAdministratorAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccount func (c *Macie2) DisassociateFromAdministratorAccountRequest(input *DisassociateFromAdministratorAccountInput) (req *request.Request, output *DisassociateFromAdministratorAccountOutput) { @@ -2013,33 +2011,34 @@ func (c *Macie2) DisassociateFromAdministratorAccountRequest(input *Disassociate // API operation DisassociateFromAdministratorAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromAdministratorAccount func (c *Macie2) DisassociateFromAdministratorAccount(input *DisassociateFromAdministratorAccountInput) (*DisassociateFromAdministratorAccountOutput, error) { @@ -2079,14 +2078,13 @@ const opDisassociateFromMasterAccount = "DisassociateFromMasterAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateFromMasterAccountRequest method. +// req, resp := client.DisassociateFromMasterAccountRequest(params) // -// // Example sending a request using the DisassociateFromMasterAccountRequest method. -// req, resp := client.DisassociateFromMasterAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccount func (c *Macie2) DisassociateFromMasterAccountRequest(input *DisassociateFromMasterAccountInput) (req *request.Request, output *DisassociateFromMasterAccountOutput) { @@ -2120,33 +2118,34 @@ func (c *Macie2) DisassociateFromMasterAccountRequest(input *DisassociateFromMas // API operation DisassociateFromMasterAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateFromMasterAccount func (c *Macie2) DisassociateFromMasterAccount(input *DisassociateFromMasterAccountInput) (*DisassociateFromMasterAccountOutput, error) { @@ -2186,14 +2185,13 @@ const opDisassociateMember = "DisassociateMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateMemberRequest method. +// req, resp := client.DisassociateMemberRequest(params) // -// // Example sending a request using the DisassociateMemberRequest method. -// req, resp := client.DisassociateMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateMember func (c *Macie2) DisassociateMemberRequest(input *DisassociateMemberInput) (req *request.Request, output *DisassociateMemberOutput) { @@ -2225,33 +2223,34 @@ func (c *Macie2) DisassociateMemberRequest(input *DisassociateMemberInput) (req // API operation DisassociateMember for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisassociateMember func (c *Macie2) DisassociateMember(input *DisassociateMemberInput) (*DisassociateMemberOutput, error) { @@ -2291,14 +2290,13 @@ const opEnableMacie = "EnableMacie" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableMacieRequest method. +// req, resp := client.EnableMacieRequest(params) // -// // Example sending a request using the EnableMacieRequest method. -// req, resp := client.EnableMacieRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableMacie func (c *Macie2) EnableMacieRequest(input *EnableMacieInput) (req *request.Request, output *EnableMacieOutput) { @@ -2331,33 +2329,34 @@ func (c *Macie2) EnableMacieRequest(input *EnableMacieInput) (req *request.Reque // API operation EnableMacie for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableMacie func (c *Macie2) EnableMacie(input *EnableMacieInput) (*EnableMacieOutput, error) { @@ -2397,14 +2396,13 @@ const opEnableOrganizationAdminAccount = "EnableOrganizationAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableOrganizationAdminAccountRequest method. +// req, resp := client.EnableOrganizationAdminAccountRequest(params) // -// // Example sending a request using the EnableOrganizationAdminAccountRequest method. -// req, resp := client.EnableOrganizationAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableOrganizationAdminAccount func (c *Macie2) EnableOrganizationAdminAccountRequest(input *EnableOrganizationAdminAccountInput) (req *request.Request, output *EnableOrganizationAdminAccountOutput) { @@ -2437,33 +2435,34 @@ func (c *Macie2) EnableOrganizationAdminAccountRequest(input *EnableOrganization // API operation EnableOrganizationAdminAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/EnableOrganizationAdminAccount func (c *Macie2) EnableOrganizationAdminAccount(input *EnableOrganizationAdminAccountInput) (*EnableOrganizationAdminAccountOutput, error) { @@ -2503,14 +2502,13 @@ const opGetAdministratorAccount = "GetAdministratorAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAdministratorAccountRequest method. +// req, resp := client.GetAdministratorAccountRequest(params) // -// // Example sending a request using the GetAdministratorAccountRequest method. -// req, resp := client.GetAdministratorAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccount func (c *Macie2) GetAdministratorAccountRequest(input *GetAdministratorAccountInput) (req *request.Request, output *GetAdministratorAccountOutput) { @@ -2542,33 +2540,34 @@ func (c *Macie2) GetAdministratorAccountRequest(input *GetAdministratorAccountIn // API operation GetAdministratorAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAdministratorAccount func (c *Macie2) GetAdministratorAccount(input *GetAdministratorAccountInput) (*GetAdministratorAccountOutput, error) { @@ -2608,14 +2607,13 @@ const opGetBucketStatistics = "GetBucketStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketStatisticsRequest method. +// req, resp := client.GetBucketStatisticsRequest(params) // -// // Example sending a request using the GetBucketStatisticsRequest method. -// req, resp := client.GetBucketStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatistics func (c *Macie2) GetBucketStatisticsRequest(input *GetBucketStatisticsInput) (req *request.Request, output *GetBucketStatisticsOutput) { @@ -2647,33 +2645,34 @@ func (c *Macie2) GetBucketStatisticsRequest(input *GetBucketStatisticsInput) (re // API operation GetBucketStatistics for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatistics func (c *Macie2) GetBucketStatistics(input *GetBucketStatisticsInput) (*GetBucketStatisticsOutput, error) { @@ -2713,14 +2712,13 @@ const opGetClassificationExportConfiguration = "GetClassificationExportConfigura // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetClassificationExportConfigurationRequest method. +// req, resp := client.GetClassificationExportConfigurationRequest(params) // -// // Example sending a request using the GetClassificationExportConfigurationRequest method. -// req, resp := client.GetClassificationExportConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationExportConfiguration func (c *Macie2) GetClassificationExportConfigurationRequest(input *GetClassificationExportConfigurationInput) (req *request.Request, output *GetClassificationExportConfigurationOutput) { @@ -2751,33 +2749,34 @@ func (c *Macie2) GetClassificationExportConfigurationRequest(input *GetClassific // API operation GetClassificationExportConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationExportConfiguration func (c *Macie2) GetClassificationExportConfiguration(input *GetClassificationExportConfigurationInput) (*GetClassificationExportConfigurationOutput, error) { @@ -2817,14 +2816,13 @@ const opGetCustomDataIdentifier = "GetCustomDataIdentifier" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCustomDataIdentifierRequest method. +// req, resp := client.GetCustomDataIdentifierRequest(params) // -// // Example sending a request using the GetCustomDataIdentifierRequest method. -// req, resp := client.GetCustomDataIdentifierRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetCustomDataIdentifier func (c *Macie2) GetCustomDataIdentifierRequest(input *GetCustomDataIdentifierInput) (req *request.Request, output *GetCustomDataIdentifierOutput) { @@ -2855,33 +2853,34 @@ func (c *Macie2) GetCustomDataIdentifierRequest(input *GetCustomDataIdentifierIn // API operation GetCustomDataIdentifier for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetCustomDataIdentifier func (c *Macie2) GetCustomDataIdentifier(input *GetCustomDataIdentifierInput) (*GetCustomDataIdentifierOutput, error) { @@ -2921,14 +2920,13 @@ const opGetFindingStatistics = "GetFindingStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFindingStatisticsRequest method. +// req, resp := client.GetFindingStatisticsRequest(params) // -// // Example sending a request using the GetFindingStatisticsRequest method. -// req, resp := client.GetFindingStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingStatistics func (c *Macie2) GetFindingStatisticsRequest(input *GetFindingStatisticsInput) (req *request.Request, output *GetFindingStatisticsOutput) { @@ -2959,33 +2957,34 @@ func (c *Macie2) GetFindingStatisticsRequest(input *GetFindingStatisticsInput) ( // API operation GetFindingStatistics for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingStatistics func (c *Macie2) GetFindingStatistics(input *GetFindingStatisticsInput) (*GetFindingStatisticsOutput, error) { @@ -3025,14 +3024,13 @@ const opGetFindings = "GetFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFindingsRequest method. +// req, resp := client.GetFindingsRequest(params) // -// // Example sending a request using the GetFindingsRequest method. -// req, resp := client.GetFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindings func (c *Macie2) GetFindingsRequest(input *GetFindingsInput) (req *request.Request, output *GetFindingsOutput) { @@ -3063,33 +3061,34 @@ func (c *Macie2) GetFindingsRequest(input *GetFindingsInput) (req *request.Reque // API operation GetFindings for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindings func (c *Macie2) GetFindings(input *GetFindingsInput) (*GetFindingsOutput, error) { @@ -3129,14 +3128,13 @@ const opGetFindingsFilter = "GetFindingsFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFindingsFilterRequest method. +// req, resp := client.GetFindingsFilterRequest(params) // -// // Example sending a request using the GetFindingsFilterRequest method. -// req, resp := client.GetFindingsFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsFilter func (c *Macie2) GetFindingsFilterRequest(input *GetFindingsFilterInput) (req *request.Request, output *GetFindingsFilterOutput) { @@ -3167,33 +3165,34 @@ func (c *Macie2) GetFindingsFilterRequest(input *GetFindingsFilterInput) (req *r // API operation GetFindingsFilter for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsFilter func (c *Macie2) GetFindingsFilter(input *GetFindingsFilterInput) (*GetFindingsFilterOutput, error) { @@ -3233,14 +3232,13 @@ const opGetFindingsPublicationConfiguration = "GetFindingsPublicationConfigurati // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFindingsPublicationConfigurationRequest method. +// req, resp := client.GetFindingsPublicationConfigurationRequest(params) // -// // Example sending a request using the GetFindingsPublicationConfigurationRequest method. -// req, resp := client.GetFindingsPublicationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration func (c *Macie2) GetFindingsPublicationConfigurationRequest(input *GetFindingsPublicationConfigurationInput) (req *request.Request, output *GetFindingsPublicationConfigurationOutput) { @@ -3272,33 +3270,34 @@ func (c *Macie2) GetFindingsPublicationConfigurationRequest(input *GetFindingsPu // API operation GetFindingsPublicationConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsPublicationConfiguration func (c *Macie2) GetFindingsPublicationConfiguration(input *GetFindingsPublicationConfigurationInput) (*GetFindingsPublicationConfigurationOutput, error) { @@ -3338,14 +3337,13 @@ const opGetInvitationsCount = "GetInvitationsCount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInvitationsCountRequest method. +// req, resp := client.GetInvitationsCountRequest(params) // -// // Example sending a request using the GetInvitationsCountRequest method. -// req, resp := client.GetInvitationsCountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetInvitationsCount func (c *Macie2) GetInvitationsCountRequest(input *GetInvitationsCountInput) (req *request.Request, output *GetInvitationsCountOutput) { @@ -3377,33 +3375,34 @@ func (c *Macie2) GetInvitationsCountRequest(input *GetInvitationsCountInput) (re // API operation GetInvitationsCount for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetInvitationsCount func (c *Macie2) GetInvitationsCount(input *GetInvitationsCountInput) (*GetInvitationsCountOutput, error) { @@ -3443,14 +3442,13 @@ const opGetMacieSession = "GetMacieSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMacieSessionRequest method. +// req, resp := client.GetMacieSessionRequest(params) // -// // Example sending a request using the GetMacieSessionRequest method. -// req, resp := client.GetMacieSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMacieSession func (c *Macie2) GetMacieSessionRequest(input *GetMacieSessionInput) (req *request.Request, output *GetMacieSessionOutput) { @@ -3482,33 +3480,34 @@ func (c *Macie2) GetMacieSessionRequest(input *GetMacieSessionInput) (req *reque // API operation GetMacieSession for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMacieSession func (c *Macie2) GetMacieSession(input *GetMacieSessionInput) (*GetMacieSessionOutput, error) { @@ -3548,14 +3547,13 @@ const opGetMasterAccount = "GetMasterAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMasterAccountRequest method. +// req, resp := client.GetMasterAccountRequest(params) // -// // Example sending a request using the GetMasterAccountRequest method. -// req, resp := client.GetMasterAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccount func (c *Macie2) GetMasterAccountRequest(input *GetMasterAccountInput) (req *request.Request, output *GetMasterAccountOutput) { @@ -3588,33 +3586,34 @@ func (c *Macie2) GetMasterAccountRequest(input *GetMasterAccountInput) (req *req // API operation GetMasterAccount for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMasterAccount func (c *Macie2) GetMasterAccount(input *GetMasterAccountInput) (*GetMasterAccountOutput, error) { @@ -3654,14 +3653,13 @@ const opGetMember = "GetMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMemberRequest method. +// req, resp := client.GetMemberRequest(params) // -// // Example sending a request using the GetMemberRequest method. -// req, resp := client.GetMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMember func (c *Macie2) GetMemberRequest(input *GetMemberInput) (req *request.Request, output *GetMemberOutput) { @@ -3693,33 +3691,34 @@ func (c *Macie2) GetMemberRequest(input *GetMemberInput) (req *request.Request, // API operation GetMember for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetMember func (c *Macie2) GetMember(input *GetMemberInput) (*GetMemberOutput, error) { @@ -3759,14 +3758,13 @@ const opGetUsageStatistics = "GetUsageStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUsageStatisticsRequest method. +// req, resp := client.GetUsageStatisticsRequest(params) // -// // Example sending a request using the GetUsageStatisticsRequest method. -// req, resp := client.GetUsageStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics func (c *Macie2) GetUsageStatisticsRequest(input *GetUsageStatisticsInput) (req *request.Request, output *GetUsageStatisticsOutput) { @@ -3803,33 +3801,34 @@ func (c *Macie2) GetUsageStatisticsRequest(input *GetUsageStatisticsInput) (req // API operation GetUsageStatistics for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics func (c *Macie2) GetUsageStatistics(input *GetUsageStatisticsInput) (*GetUsageStatisticsOutput, error) { @@ -3861,15 +3860,14 @@ func (c *Macie2) GetUsageStatisticsWithContext(ctx aws.Context, input *GetUsageS // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetUsageStatistics operation. -// pageNum := 0 -// err := client.GetUsageStatisticsPages(params, -// func(page *macie2.GetUsageStatisticsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetUsageStatistics operation. +// pageNum := 0 +// err := client.GetUsageStatisticsPages(params, +// func(page *macie2.GetUsageStatisticsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Macie2) GetUsageStatisticsPages(input *GetUsageStatisticsInput, fn func(*GetUsageStatisticsOutput, bool) bool) error { return c.GetUsageStatisticsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3921,14 +3919,13 @@ const opGetUsageTotals = "GetUsageTotals" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUsageTotalsRequest method. +// req, resp := client.GetUsageTotalsRequest(params) // -// // Example sending a request using the GetUsageTotalsRequest method. -// req, resp := client.GetUsageTotalsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotals func (c *Macie2) GetUsageTotalsRequest(input *GetUsageTotalsInput) (req *request.Request, output *GetUsageTotalsOutput) { @@ -3959,33 +3956,34 @@ func (c *Macie2) GetUsageTotalsRequest(input *GetUsageTotalsInput) (req *request // API operation GetUsageTotals for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotals func (c *Macie2) GetUsageTotals(input *GetUsageTotalsInput) (*GetUsageTotalsOutput, error) { @@ -4025,14 +4023,13 @@ const opListClassificationJobs = "ListClassificationJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListClassificationJobsRequest method. +// req, resp := client.ListClassificationJobsRequest(params) // -// // Example sending a request using the ListClassificationJobsRequest method. -// req, resp := client.ListClassificationJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs func (c *Macie2) ListClassificationJobsRequest(input *ListClassificationJobsInput) (req *request.Request, output *ListClassificationJobsOutput) { @@ -4069,33 +4066,34 @@ func (c *Macie2) ListClassificationJobsRequest(input *ListClassificationJobsInpu // API operation ListClassificationJobs for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs func (c *Macie2) ListClassificationJobs(input *ListClassificationJobsInput) (*ListClassificationJobsOutput, error) { @@ -4127,15 +4125,14 @@ func (c *Macie2) ListClassificationJobsWithContext(ctx aws.Context, input *ListC // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListClassificationJobs operation. -// pageNum := 0 -// err := client.ListClassificationJobsPages(params, -// func(page *macie2.ListClassificationJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListClassificationJobs operation. +// pageNum := 0 +// err := client.ListClassificationJobsPages(params, +// func(page *macie2.ListClassificationJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Macie2) ListClassificationJobsPages(input *ListClassificationJobsInput, fn func(*ListClassificationJobsOutput, bool) bool) error { return c.ListClassificationJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4187,14 +4184,13 @@ const opListCustomDataIdentifiers = "ListCustomDataIdentifiers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCustomDataIdentifiersRequest method. +// req, resp := client.ListCustomDataIdentifiersRequest(params) // -// // Example sending a request using the ListCustomDataIdentifiersRequest method. -// req, resp := client.ListCustomDataIdentifiersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListCustomDataIdentifiers func (c *Macie2) ListCustomDataIdentifiersRequest(input *ListCustomDataIdentifiersInput) (req *request.Request, output *ListCustomDataIdentifiersOutput) { @@ -4232,33 +4228,34 @@ func (c *Macie2) ListCustomDataIdentifiersRequest(input *ListCustomDataIdentifie // API operation ListCustomDataIdentifiers for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListCustomDataIdentifiers func (c *Macie2) ListCustomDataIdentifiers(input *ListCustomDataIdentifiersInput) (*ListCustomDataIdentifiersOutput, error) { @@ -4290,15 +4287,14 @@ func (c *Macie2) ListCustomDataIdentifiersWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCustomDataIdentifiers operation. -// pageNum := 0 -// err := client.ListCustomDataIdentifiersPages(params, -// func(page *macie2.ListCustomDataIdentifiersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCustomDataIdentifiers operation. +// pageNum := 0 +// err := client.ListCustomDataIdentifiersPages(params, +// func(page *macie2.ListCustomDataIdentifiersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Macie2) ListCustomDataIdentifiersPages(input *ListCustomDataIdentifiersInput, fn func(*ListCustomDataIdentifiersOutput, bool) bool) error { return c.ListCustomDataIdentifiersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4350,14 +4346,13 @@ const opListFindings = "ListFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFindingsRequest method. +// req, resp := client.ListFindingsRequest(params) // -// // Example sending a request using the ListFindingsRequest method. -// req, resp := client.ListFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindings func (c *Macie2) ListFindingsRequest(input *ListFindingsInput) (req *request.Request, output *ListFindingsOutput) { @@ -4394,33 +4389,34 @@ func (c *Macie2) ListFindingsRequest(input *ListFindingsInput) (req *request.Req // API operation ListFindings for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindings func (c *Macie2) ListFindings(input *ListFindingsInput) (*ListFindingsOutput, error) { @@ -4452,15 +4448,14 @@ func (c *Macie2) ListFindingsWithContext(ctx aws.Context, input *ListFindingsInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFindings operation. -// pageNum := 0 -// err := client.ListFindingsPages(params, -// func(page *macie2.ListFindingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFindings operation. +// pageNum := 0 +// err := client.ListFindingsPages(params, +// func(page *macie2.ListFindingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Macie2) ListFindingsPages(input *ListFindingsInput, fn func(*ListFindingsOutput, bool) bool) error { return c.ListFindingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4512,14 +4507,13 @@ const opListFindingsFilters = "ListFindingsFilters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFindingsFiltersRequest method. +// req, resp := client.ListFindingsFiltersRequest(params) // -// // Example sending a request using the ListFindingsFiltersRequest method. -// req, resp := client.ListFindingsFiltersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsFilters func (c *Macie2) ListFindingsFiltersRequest(input *ListFindingsFiltersInput) (req *request.Request, output *ListFindingsFiltersOutput) { @@ -4556,33 +4550,34 @@ func (c *Macie2) ListFindingsFiltersRequest(input *ListFindingsFiltersInput) (re // API operation ListFindingsFilters for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsFilters func (c *Macie2) ListFindingsFilters(input *ListFindingsFiltersInput) (*ListFindingsFiltersOutput, error) { @@ -4614,15 +4609,14 @@ func (c *Macie2) ListFindingsFiltersWithContext(ctx aws.Context, input *ListFind // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFindingsFilters operation. -// pageNum := 0 -// err := client.ListFindingsFiltersPages(params, -// func(page *macie2.ListFindingsFiltersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFindingsFilters operation. +// pageNum := 0 +// err := client.ListFindingsFiltersPages(params, +// func(page *macie2.ListFindingsFiltersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Macie2) ListFindingsFiltersPages(input *ListFindingsFiltersInput, fn func(*ListFindingsFiltersOutput, bool) bool) error { return c.ListFindingsFiltersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4674,14 +4668,13 @@ const opListInvitations = "ListInvitations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInvitationsRequest method. +// req, resp := client.ListInvitationsRequest(params) // -// // Example sending a request using the ListInvitationsRequest method. -// req, resp := client.ListInvitationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListInvitations func (c *Macie2) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput) { @@ -4719,33 +4712,34 @@ func (c *Macie2) ListInvitationsRequest(input *ListInvitationsInput) (req *reque // API operation ListInvitations for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListInvitations func (c *Macie2) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error) { @@ -4777,15 +4771,14 @@ func (c *Macie2) ListInvitationsWithContext(ctx aws.Context, input *ListInvitati // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInvitations operation. -// pageNum := 0 -// err := client.ListInvitationsPages(params, -// func(page *macie2.ListInvitationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInvitations operation. +// pageNum := 0 +// err := client.ListInvitationsPages(params, +// func(page *macie2.ListInvitationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Macie2) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error { return c.ListInvitationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4837,14 +4830,13 @@ const opListManagedDataIdentifiers = "ListManagedDataIdentifiers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListManagedDataIdentifiersRequest method. +// req, resp := client.ListManagedDataIdentifiersRequest(params) // -// // Example sending a request using the ListManagedDataIdentifiersRequest method. -// req, resp := client.ListManagedDataIdentifiersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListManagedDataIdentifiers func (c *Macie2) ListManagedDataIdentifiersRequest(input *ListManagedDataIdentifiersInput) (req *request.Request, output *ListManagedDataIdentifiersOutput) { @@ -4912,14 +4904,13 @@ const opListMembers = "ListMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMembersRequest method. +// req, resp := client.ListMembersRequest(params) // -// // Example sending a request using the ListMembersRequest method. -// req, resp := client.ListMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListMembers func (c *Macie2) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput) { @@ -4957,33 +4948,34 @@ func (c *Macie2) ListMembersRequest(input *ListMembersInput) (req *request.Reque // API operation ListMembers for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListMembers func (c *Macie2) ListMembers(input *ListMembersInput) (*ListMembersOutput, error) { @@ -5015,15 +5007,14 @@ func (c *Macie2) ListMembersWithContext(ctx aws.Context, input *ListMembersInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMembers operation. -// pageNum := 0 -// err := client.ListMembersPages(params, -// func(page *macie2.ListMembersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMembers operation. +// pageNum := 0 +// err := client.ListMembersPages(params, +// func(page *macie2.ListMembersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Macie2) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error { return c.ListMembersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5075,14 +5066,13 @@ const opListOrganizationAdminAccounts = "ListOrganizationAdminAccounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOrganizationAdminAccountsRequest method. +// req, resp := client.ListOrganizationAdminAccountsRequest(params) // -// // Example sending a request using the ListOrganizationAdminAccountsRequest method. -// req, resp := client.ListOrganizationAdminAccountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListOrganizationAdminAccounts func (c *Macie2) ListOrganizationAdminAccountsRequest(input *ListOrganizationAdminAccountsInput) (req *request.Request, output *ListOrganizationAdminAccountsOutput) { @@ -5120,33 +5110,34 @@ func (c *Macie2) ListOrganizationAdminAccountsRequest(input *ListOrganizationAdm // API operation ListOrganizationAdminAccounts for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListOrganizationAdminAccounts func (c *Macie2) ListOrganizationAdminAccounts(input *ListOrganizationAdminAccountsInput) (*ListOrganizationAdminAccountsOutput, error) { @@ -5178,15 +5169,14 @@ func (c *Macie2) ListOrganizationAdminAccountsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOrganizationAdminAccounts operation. -// pageNum := 0 -// err := client.ListOrganizationAdminAccountsPages(params, -// func(page *macie2.ListOrganizationAdminAccountsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOrganizationAdminAccounts operation. +// pageNum := 0 +// err := client.ListOrganizationAdminAccountsPages(params, +// func(page *macie2.ListOrganizationAdminAccountsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Macie2) ListOrganizationAdminAccountsPages(input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool) error { return c.ListOrganizationAdminAccountsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5238,14 +5228,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResource func (c *Macie2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -5313,14 +5302,13 @@ const opPutClassificationExportConfiguration = "PutClassificationExportConfigura // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutClassificationExportConfigurationRequest method. +// req, resp := client.PutClassificationExportConfigurationRequest(params) // -// // Example sending a request using the PutClassificationExportConfigurationRequest method. -// req, resp := client.PutClassificationExportConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfiguration func (c *Macie2) PutClassificationExportConfigurationRequest(input *PutClassificationExportConfigurationInput) (req *request.Request, output *PutClassificationExportConfigurationOutput) { @@ -5352,33 +5340,34 @@ func (c *Macie2) PutClassificationExportConfigurationRequest(input *PutClassific // API operation PutClassificationExportConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfiguration func (c *Macie2) PutClassificationExportConfiguration(input *PutClassificationExportConfigurationInput) (*PutClassificationExportConfigurationOutput, error) { @@ -5418,14 +5407,13 @@ const opPutFindingsPublicationConfiguration = "PutFindingsPublicationConfigurati // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutFindingsPublicationConfigurationRequest method. +// req, resp := client.PutFindingsPublicationConfigurationRequest(params) // -// // Example sending a request using the PutFindingsPublicationConfigurationRequest method. -// req, resp := client.PutFindingsPublicationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration func (c *Macie2) PutFindingsPublicationConfigurationRequest(input *PutFindingsPublicationConfigurationInput) (req *request.Request, output *PutFindingsPublicationConfigurationOutput) { @@ -5457,33 +5445,34 @@ func (c *Macie2) PutFindingsPublicationConfigurationRequest(input *PutFindingsPu // API operation PutFindingsPublicationConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutFindingsPublicationConfiguration func (c *Macie2) PutFindingsPublicationConfiguration(input *PutFindingsPublicationConfigurationInput) (*PutFindingsPublicationConfigurationOutput, error) { @@ -5523,14 +5512,13 @@ const opSearchResources = "SearchResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchResourcesRequest method. +// req, resp := client.SearchResourcesRequest(params) // -// // Example sending a request using the SearchResourcesRequest method. -// req, resp := client.SearchResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources func (c *Macie2) SearchResourcesRequest(input *SearchResourcesInput) (req *request.Request, output *SearchResourcesOutput) { @@ -5568,33 +5556,34 @@ func (c *Macie2) SearchResourcesRequest(input *SearchResourcesInput) (req *reque // API operation SearchResources for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SearchResources func (c *Macie2) SearchResources(input *SearchResourcesInput) (*SearchResourcesOutput, error) { @@ -5626,15 +5615,14 @@ func (c *Macie2) SearchResourcesWithContext(ctx aws.Context, input *SearchResour // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchResources operation. -// pageNum := 0 -// err := client.SearchResourcesPages(params, -// func(page *macie2.SearchResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchResources operation. +// pageNum := 0 +// err := client.SearchResourcesPages(params, +// func(page *macie2.SearchResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Macie2) SearchResourcesPages(input *SearchResourcesInput, fn func(*SearchResourcesOutput, bool) bool) error { return c.SearchResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5686,14 +5674,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResource func (c *Macie2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -5763,14 +5750,13 @@ const opTestCustomDataIdentifier = "TestCustomDataIdentifier" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestCustomDataIdentifierRequest method. +// req, resp := client.TestCustomDataIdentifierRequest(params) // -// // Example sending a request using the TestCustomDataIdentifierRequest method. -// req, resp := client.TestCustomDataIdentifierRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifier func (c *Macie2) TestCustomDataIdentifierRequest(input *TestCustomDataIdentifierInput) (req *request.Request, output *TestCustomDataIdentifierOutput) { @@ -5801,33 +5787,34 @@ func (c *Macie2) TestCustomDataIdentifierRequest(input *TestCustomDataIdentifier // API operation TestCustomDataIdentifier for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TestCustomDataIdentifier func (c *Macie2) TestCustomDataIdentifier(input *TestCustomDataIdentifierInput) (*TestCustomDataIdentifierOutput, error) { @@ -5867,14 +5854,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UntagResource func (c *Macie2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -5943,14 +5929,13 @@ const opUpdateClassificationJob = "UpdateClassificationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateClassificationJobRequest method. +// req, resp := client.UpdateClassificationJobRequest(params) // -// // Example sending a request using the UpdateClassificationJobRequest method. -// req, resp := client.UpdateClassificationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob func (c *Macie2) UpdateClassificationJobRequest(input *UpdateClassificationJobInput) (req *request.Request, output *UpdateClassificationJobOutput) { @@ -5982,33 +5967,34 @@ func (c *Macie2) UpdateClassificationJobRequest(input *UpdateClassificationJobIn // API operation UpdateClassificationJob for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob func (c *Macie2) UpdateClassificationJob(input *UpdateClassificationJobInput) (*UpdateClassificationJobOutput, error) { @@ -6048,14 +6034,13 @@ const opUpdateFindingsFilter = "UpdateFindingsFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFindingsFilterRequest method. +// req, resp := client.UpdateFindingsFilterRequest(params) // -// // Example sending a request using the UpdateFindingsFilterRequest method. -// req, resp := client.UpdateFindingsFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilter func (c *Macie2) UpdateFindingsFilterRequest(input *UpdateFindingsFilterInput) (req *request.Request, output *UpdateFindingsFilterOutput) { @@ -6086,33 +6071,34 @@ func (c *Macie2) UpdateFindingsFilterRequest(input *UpdateFindingsFilterInput) ( // API operation UpdateFindingsFilter for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilter func (c *Macie2) UpdateFindingsFilter(input *UpdateFindingsFilterInput) (*UpdateFindingsFilterOutput, error) { @@ -6152,14 +6138,13 @@ const opUpdateMacieSession = "UpdateMacieSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMacieSessionRequest method. +// req, resp := client.UpdateMacieSessionRequest(params) // -// // Example sending a request using the UpdateMacieSessionRequest method. -// req, resp := client.UpdateMacieSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSession func (c *Macie2) UpdateMacieSessionRequest(input *UpdateMacieSessionInput) (req *request.Request, output *UpdateMacieSessionOutput) { @@ -6192,33 +6177,34 @@ func (c *Macie2) UpdateMacieSessionRequest(input *UpdateMacieSessionInput) (req // API operation UpdateMacieSession for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMacieSession func (c *Macie2) UpdateMacieSession(input *UpdateMacieSessionInput) (*UpdateMacieSessionOutput, error) { @@ -6258,14 +6244,13 @@ const opUpdateMemberSession = "UpdateMemberSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMemberSessionRequest method. +// req, resp := client.UpdateMemberSessionRequest(params) // -// // Example sending a request using the UpdateMemberSessionRequest method. -// req, resp := client.UpdateMemberSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession func (c *Macie2) UpdateMemberSessionRequest(input *UpdateMemberSessionInput) (req *request.Request, output *UpdateMemberSessionOutput) { @@ -6298,33 +6283,34 @@ func (c *Macie2) UpdateMemberSessionRequest(input *UpdateMemberSessionInput) (re // API operation UpdateMemberSession for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. +// +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateMemberSession func (c *Macie2) UpdateMemberSession(input *UpdateMemberSessionInput) (*UpdateMemberSessionOutput, error) { @@ -6364,14 +6350,13 @@ const opUpdateOrganizationConfiguration = "UpdateOrganizationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateOrganizationConfigurationRequest method. +// req, resp := client.UpdateOrganizationConfigurationRequest(params) // -// // Example sending a request using the UpdateOrganizationConfigurationRequest method. -// req, resp := client.UpdateOrganizationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfiguration func (c *Macie2) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput) { @@ -6403,33 +6388,34 @@ func (c *Macie2) UpdateOrganizationConfigurationRequest(input *UpdateOrganizatio // API operation UpdateOrganizationConfiguration for usage and error information. // // Returned Error Types: -// * ValidationException -// Provides information about an error that occurred due to a syntax error in -// a request. // -// * InternalServerException -// Provides information about an error that occurred due to an unknown internal -// server error, exception, or failure. +// - ValidationException +// Provides information about an error that occurred due to a syntax error in +// a request. +// +// - InternalServerException +// Provides information about an error that occurred due to an unknown internal +// server error, exception, or failure. // -// * ServiceQuotaExceededException -// Provides information about an error that occurred due to one or more service -// quotas for an account. +// - ServiceQuotaExceededException +// Provides information about an error that occurred due to one or more service +// quotas for an account. // -// * AccessDeniedException -// Provides information about an error that occurred due to insufficient access -// to a specified resource. +// - AccessDeniedException +// Provides information about an error that occurred due to insufficient access +// to a specified resource. // -// * ResourceNotFoundException -// Provides information about an error that occurred because a specified resource -// wasn't found. +// - ResourceNotFoundException +// Provides information about an error that occurred because a specified resource +// wasn't found. // -// * ThrottlingException -// Provides information about an error that occurred because too many requests -// were sent during a certain amount of time. +// - ThrottlingException +// Provides information about an error that occurred because too many requests +// were sent during a certain amount of time. // -// * ConflictException -// Provides information about an error that occurred due to a versioning conflict -// for a specified resource. +// - ConflictException +// Provides information about an error that occurred due to a versioning conflict +// for a specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateOrganizationConfiguration func (c *Macie2) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/doc.go index 42c291624348..7aee6c71462b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/doc.go @@ -17,7 +17,7 @@ // See macie2 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/macie2/ // -// Using the Client +// # Using the Client // // To contact Amazon Macie 2 with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/macie2iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/macie2iface/interface.go index 54f3bd7174af..0ce47b1fba5b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/macie2iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/macie2iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Macie 2. -// func myFunc(svc macie2iface.Macie2API) bool { -// // Make svc.AcceptInvitation request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Macie 2. +// func myFunc(svc macie2iface.Macie2API) bool { +// // Make svc.AcceptInvitation request +// } // -// func main() { -// sess := session.New() -// svc := macie2.New(sess) +// func main() { +// sess := session.New() +// svc := macie2.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMacie2Client struct { -// macie2iface.Macie2API -// } -// func (m *mockMacie2Client) AcceptInvitation(input *macie2.AcceptInvitationInput) (*macie2.AcceptInvitationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMacie2Client struct { +// macie2iface.Macie2API +// } +// func (m *mockMacie2Client) AcceptInvitation(input *macie2.AcceptInvitationInput) (*macie2.AcceptInvitationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMacie2Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMacie2Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/service.go index f99e89c0c1e2..cb52aac8b520 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/macie2/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Macie2 client from just a session. -// svc := macie2.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Macie2 client with additional configuration -// svc := macie2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Macie2 client from just a session. +// svc := macie2.New(mySession) +// +// // Create a Macie2 client with additional configuration +// svc := macie2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Macie2 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/api.go index 3447cc46743a..94313455f1ac 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/api.go @@ -29,14 +29,13 @@ const opCreateMember = "CreateMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMemberRequest method. +// req, resp := client.CreateMemberRequest(params) // -// // Example sending a request using the CreateMemberRequest method. -// req, resp := client.CreateMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateMember func (c *ManagedBlockchain) CreateMemberRequest(input *CreateMemberInput) (req *request.Request, output *CreateMemberOutput) { @@ -69,40 +68,41 @@ func (c *ManagedBlockchain) CreateMemberRequest(input *CreateMemberInput) (req * // API operation CreateMember for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * ResourceAlreadyExistsException -// A resource request is issued for a resource that already exists. +// - ResourceAlreadyExistsException +// A resource request is issued for a resource that already exists. // -// * ResourceNotReadyException -// The requested resource exists but is not in a status that can complete the -// operation. +// - ResourceNotReadyException +// The requested resource exists but is not in a status that can complete the +// operation. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. // -// * ResourceLimitExceededException -// The maximum number of resources of that type already exist. Ensure the resources -// requested are within the boundaries of the service edition and your account -// limits. +// - ResourceLimitExceededException +// The maximum number of resources of that type already exist. Ensure the resources +// requested are within the boundaries of the service edition and your account +// limits. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * TooManyTagsException +// - TooManyTagsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateMember func (c *ManagedBlockchain) CreateMember(input *CreateMemberInput) (*CreateMemberOutput, error) { @@ -142,14 +142,13 @@ const opCreateNetwork = "CreateNetwork" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNetworkRequest method. +// req, resp := client.CreateNetworkRequest(params) // -// // Example sending a request using the CreateNetworkRequest method. -// req, resp := client.CreateNetworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNetwork func (c *ManagedBlockchain) CreateNetworkRequest(input *CreateNetworkInput) (req *request.Request, output *CreateNetworkOutput) { @@ -182,32 +181,33 @@ func (c *ManagedBlockchain) CreateNetworkRequest(input *CreateNetworkInput) (req // API operation CreateNetwork for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceAlreadyExistsException -// A resource request is issued for a resource that already exists. +// - ResourceAlreadyExistsException +// A resource request is issued for a resource that already exists. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. // -// * ResourceLimitExceededException -// The maximum number of resources of that type already exist. Ensure the resources -// requested are within the boundaries of the service edition and your account -// limits. +// - ResourceLimitExceededException +// The maximum number of resources of that type already exist. Ensure the resources +// requested are within the boundaries of the service edition and your account +// limits. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * TooManyTagsException +// - TooManyTagsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNetwork func (c *ManagedBlockchain) CreateNetwork(input *CreateNetworkInput) (*CreateNetworkOutput, error) { @@ -247,14 +247,13 @@ const opCreateNode = "CreateNode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNodeRequest method. +// req, resp := client.CreateNodeRequest(params) // -// // Example sending a request using the CreateNodeRequest method. -// req, resp := client.CreateNodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNode func (c *ManagedBlockchain) CreateNodeRequest(input *CreateNodeInput) (req *request.Request, output *CreateNodeOutput) { @@ -287,40 +286,41 @@ func (c *ManagedBlockchain) CreateNodeRequest(input *CreateNodeInput) (req *requ // API operation CreateNode for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * ResourceAlreadyExistsException -// A resource request is issued for a resource that already exists. +// - ResourceAlreadyExistsException +// A resource request is issued for a resource that already exists. // -// * ResourceNotReadyException -// The requested resource exists but is not in a status that can complete the -// operation. +// - ResourceNotReadyException +// The requested resource exists but is not in a status that can complete the +// operation. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. // -// * ResourceLimitExceededException -// The maximum number of resources of that type already exist. Ensure the resources -// requested are within the boundaries of the service edition and your account -// limits. +// - ResourceLimitExceededException +// The maximum number of resources of that type already exist. Ensure the resources +// requested are within the boundaries of the service edition and your account +// limits. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * TooManyTagsException +// - TooManyTagsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateNode func (c *ManagedBlockchain) CreateNode(input *CreateNodeInput) (*CreateNodeOutput, error) { @@ -360,14 +360,13 @@ const opCreateProposal = "CreateProposal" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProposalRequest method. +// req, resp := client.CreateProposalRequest(params) // -// // Example sending a request using the CreateProposalRequest method. -// req, resp := client.CreateProposalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateProposal func (c *ManagedBlockchain) CreateProposalRequest(input *CreateProposalInput) (req *request.Request, output *CreateProposalOutput) { @@ -402,32 +401,33 @@ func (c *ManagedBlockchain) CreateProposalRequest(input *CreateProposalInput) (r // API operation CreateProposal for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotReadyException -// The requested resource exists but is not in a status that can complete the -// operation. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ResourceNotReadyException +// The requested resource exists but is not in a status that can complete the +// operation. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. // -// * TooManyTagsException +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - TooManyTagsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/CreateProposal func (c *ManagedBlockchain) CreateProposal(input *CreateProposalInput) (*CreateProposalOutput, error) { @@ -467,14 +467,13 @@ const opDeleteMember = "DeleteMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMemberRequest method. +// req, resp := client.DeleteMemberRequest(params) // -// // Example sending a request using the DeleteMemberRequest method. -// req, resp := client.DeleteMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteMember func (c *ManagedBlockchain) DeleteMemberRequest(input *DeleteMemberInput) (req *request.Request, output *DeleteMemberOutput) { @@ -514,30 +513,31 @@ func (c *ManagedBlockchain) DeleteMemberRequest(input *DeleteMemberInput) (req * // API operation DeleteMember for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * ResourceNotReadyException -// The requested resource exists but is not in a status that can complete the -// operation. +// - ResourceNotReadyException +// The requested resource exists but is not in a status that can complete the +// operation. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteMember func (c *ManagedBlockchain) DeleteMember(input *DeleteMemberInput) (*DeleteMemberOutput, error) { @@ -577,14 +577,13 @@ const opDeleteNode = "DeleteNode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNodeRequest method. +// req, resp := client.DeleteNodeRequest(params) // -// // Example sending a request using the DeleteNodeRequest method. -// req, resp := client.DeleteNodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteNode func (c *ManagedBlockchain) DeleteNodeRequest(input *DeleteNodeInput) (req *request.Request, output *DeleteNodeOutput) { @@ -619,30 +618,31 @@ func (c *ManagedBlockchain) DeleteNodeRequest(input *DeleteNodeInput) (req *requ // API operation DeleteNode for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * ResourceNotReadyException -// The requested resource exists but is not in a status that can complete the -// operation. +// - ResourceNotReadyException +// The requested resource exists but is not in a status that can complete the +// operation. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/DeleteNode func (c *ManagedBlockchain) DeleteNode(input *DeleteNodeInput) (*DeleteNodeOutput, error) { @@ -682,14 +682,13 @@ const opGetMember = "GetMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMemberRequest method. +// req, resp := client.GetMemberRequest(params) // -// // Example sending a request using the GetMemberRequest method. -// req, resp := client.GetMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMember func (c *ManagedBlockchain) GetMemberRequest(input *GetMemberInput) (req *request.Request, output *GetMemberOutput) { @@ -722,26 +721,27 @@ func (c *ManagedBlockchain) GetMemberRequest(input *GetMemberInput) (req *reques // API operation GetMember for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. +// +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetMember func (c *ManagedBlockchain) GetMember(input *GetMemberInput) (*GetMemberOutput, error) { @@ -781,14 +781,13 @@ const opGetNetwork = "GetNetwork" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNetworkRequest method. +// req, resp := client.GetNetworkRequest(params) // -// // Example sending a request using the GetNetworkRequest method. -// req, resp := client.GetNetworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNetwork func (c *ManagedBlockchain) GetNetworkRequest(input *GetNetworkInput) (req *request.Request, output *GetNetworkOutput) { @@ -821,26 +820,27 @@ func (c *ManagedBlockchain) GetNetworkRequest(input *GetNetworkInput) (req *requ // API operation GetNetwork for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. +// +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNetwork func (c *ManagedBlockchain) GetNetwork(input *GetNetworkInput) (*GetNetworkOutput, error) { @@ -880,14 +880,13 @@ const opGetNode = "GetNode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNodeRequest method. +// req, resp := client.GetNodeRequest(params) // -// // Example sending a request using the GetNodeRequest method. -// req, resp := client.GetNodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode func (c *ManagedBlockchain) GetNodeRequest(input *GetNodeInput) (req *request.Request, output *GetNodeOutput) { @@ -920,26 +919,27 @@ func (c *ManagedBlockchain) GetNodeRequest(input *GetNodeInput) (req *request.Re // API operation GetNode for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. +// +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetNode func (c *ManagedBlockchain) GetNode(input *GetNodeInput) (*GetNodeOutput, error) { @@ -979,14 +979,13 @@ const opGetProposal = "GetProposal" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetProposalRequest method. +// req, resp := client.GetProposalRequest(params) // -// // Example sending a request using the GetProposalRequest method. -// req, resp := client.GetProposalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetProposal func (c *ManagedBlockchain) GetProposalRequest(input *GetProposalInput) (req *request.Request, output *GetProposalOutput) { @@ -1019,26 +1018,27 @@ func (c *ManagedBlockchain) GetProposalRequest(input *GetProposalInput) (req *re // API operation GetProposal for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/GetProposal func (c *ManagedBlockchain) GetProposal(input *GetProposalInput) (*GetProposalOutput, error) { @@ -1078,14 +1078,13 @@ const opListInvitations = "ListInvitations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInvitationsRequest method. +// req, resp := client.ListInvitationsRequest(params) // -// // Example sending a request using the ListInvitationsRequest method. -// req, resp := client.ListInvitationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListInvitations func (c *ManagedBlockchain) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput) { @@ -1124,31 +1123,32 @@ func (c *ManagedBlockchain) ListInvitationsRequest(input *ListInvitationsInput) // API operation ListInvitations for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. // -// * ResourceLimitExceededException -// The maximum number of resources of that type already exist. Ensure the resources -// requested are within the boundaries of the service edition and your account -// limits. +// - ResourceLimitExceededException +// The maximum number of resources of that type already exist. Ensure the resources +// requested are within the boundaries of the service edition and your account +// limits. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListInvitations func (c *ManagedBlockchain) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error) { @@ -1180,15 +1180,14 @@ func (c *ManagedBlockchain) ListInvitationsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInvitations operation. -// pageNum := 0 -// err := client.ListInvitationsPages(params, -// func(page *managedblockchain.ListInvitationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInvitations operation. +// pageNum := 0 +// err := client.ListInvitationsPages(params, +// func(page *managedblockchain.ListInvitationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ManagedBlockchain) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error { return c.ListInvitationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1240,14 +1239,13 @@ const opListMembers = "ListMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMembersRequest method. +// req, resp := client.ListMembersRequest(params) // -// // Example sending a request using the ListMembersRequest method. -// req, resp := client.ListMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListMembers func (c *ManagedBlockchain) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput) { @@ -1286,22 +1284,23 @@ func (c *ManagedBlockchain) ListMembersRequest(input *ListMembersInput) (req *re // API operation ListMembers for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListMembers func (c *ManagedBlockchain) ListMembers(input *ListMembersInput) (*ListMembersOutput, error) { @@ -1333,15 +1332,14 @@ func (c *ManagedBlockchain) ListMembersWithContext(ctx aws.Context, input *ListM // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMembers operation. -// pageNum := 0 -// err := client.ListMembersPages(params, -// func(page *managedblockchain.ListMembersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMembers operation. +// pageNum := 0 +// err := client.ListMembersPages(params, +// func(page *managedblockchain.ListMembersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ManagedBlockchain) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error { return c.ListMembersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1393,14 +1391,13 @@ const opListNetworks = "ListNetworks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNetworksRequest method. +// req, resp := client.ListNetworksRequest(params) // -// // Example sending a request using the ListNetworksRequest method. -// req, resp := client.ListNetworksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNetworks func (c *ManagedBlockchain) ListNetworksRequest(input *ListNetworksInput) (req *request.Request, output *ListNetworksOutput) { @@ -1439,22 +1436,23 @@ func (c *ManagedBlockchain) ListNetworksRequest(input *ListNetworksInput) (req * // API operation ListNetworks for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNetworks func (c *ManagedBlockchain) ListNetworks(input *ListNetworksInput) (*ListNetworksOutput, error) { @@ -1486,15 +1484,14 @@ func (c *ManagedBlockchain) ListNetworksWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNetworks operation. -// pageNum := 0 -// err := client.ListNetworksPages(params, -// func(page *managedblockchain.ListNetworksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNetworks operation. +// pageNum := 0 +// err := client.ListNetworksPages(params, +// func(page *managedblockchain.ListNetworksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ManagedBlockchain) ListNetworksPages(input *ListNetworksInput, fn func(*ListNetworksOutput, bool) bool) error { return c.ListNetworksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1546,14 +1543,13 @@ const opListNodes = "ListNodes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNodesRequest method. +// req, resp := client.ListNodesRequest(params) // -// // Example sending a request using the ListNodesRequest method. -// req, resp := client.ListNodesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNodes func (c *ManagedBlockchain) ListNodesRequest(input *ListNodesInput) (req *request.Request, output *ListNodesOutput) { @@ -1592,22 +1588,23 @@ func (c *ManagedBlockchain) ListNodesRequest(input *ListNodesInput) (req *reques // API operation ListNodes for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. +// +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListNodes func (c *ManagedBlockchain) ListNodes(input *ListNodesInput) (*ListNodesOutput, error) { @@ -1639,15 +1636,14 @@ func (c *ManagedBlockchain) ListNodesWithContext(ctx aws.Context, input *ListNod // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNodes operation. -// pageNum := 0 -// err := client.ListNodesPages(params, -// func(page *managedblockchain.ListNodesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNodes operation. +// pageNum := 0 +// err := client.ListNodesPages(params, +// func(page *managedblockchain.ListNodesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ManagedBlockchain) ListNodesPages(input *ListNodesInput, fn func(*ListNodesOutput, bool) bool) error { return c.ListNodesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1699,14 +1695,13 @@ const opListProposalVotes = "ListProposalVotes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProposalVotesRequest method. +// req, resp := client.ListProposalVotesRequest(params) // -// // Example sending a request using the ListProposalVotesRequest method. -// req, resp := client.ListProposalVotesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposalVotes func (c *ManagedBlockchain) ListProposalVotesRequest(input *ListProposalVotesInput) (req *request.Request, output *ListProposalVotesOutput) { @@ -1746,22 +1741,23 @@ func (c *ManagedBlockchain) ListProposalVotesRequest(input *ListProposalVotesInp // API operation ListProposalVotes for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. +// +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposalVotes func (c *ManagedBlockchain) ListProposalVotes(input *ListProposalVotesInput) (*ListProposalVotesOutput, error) { @@ -1793,15 +1789,14 @@ func (c *ManagedBlockchain) ListProposalVotesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProposalVotes operation. -// pageNum := 0 -// err := client.ListProposalVotesPages(params, -// func(page *managedblockchain.ListProposalVotesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProposalVotes operation. +// pageNum := 0 +// err := client.ListProposalVotesPages(params, +// func(page *managedblockchain.ListProposalVotesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ManagedBlockchain) ListProposalVotesPages(input *ListProposalVotesInput, fn func(*ListProposalVotesOutput, bool) bool) error { return c.ListProposalVotesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1853,14 +1848,13 @@ const opListProposals = "ListProposals" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProposalsRequest method. +// req, resp := client.ListProposalsRequest(params) // -// // Example sending a request using the ListProposalsRequest method. -// req, resp := client.ListProposalsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposals func (c *ManagedBlockchain) ListProposalsRequest(input *ListProposalsInput) (req *request.Request, output *ListProposalsOutput) { @@ -1899,26 +1893,27 @@ func (c *ManagedBlockchain) ListProposalsRequest(input *ListProposalsInput) (req // API operation ListProposals for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. +// +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListProposals func (c *ManagedBlockchain) ListProposals(input *ListProposalsInput) (*ListProposalsOutput, error) { @@ -1950,15 +1945,14 @@ func (c *ManagedBlockchain) ListProposalsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProposals operation. -// pageNum := 0 -// err := client.ListProposalsPages(params, -// func(page *managedblockchain.ListProposalsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProposals operation. +// pageNum := 0 +// err := client.ListProposalsPages(params, +// func(page *managedblockchain.ListProposalsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ManagedBlockchain) ListProposalsPages(input *ListProposalsInput, fn func(*ListProposalsOutput, bool) bool) error { return c.ListProposalsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2010,14 +2004,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResource func (c *ManagedBlockchain) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2054,21 +2047,22 @@ func (c *ManagedBlockchain) ListTagsForResourceRequest(input *ListTagsForResourc // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. // -// * ResourceNotReadyException -// The requested resource exists but is not in a status that can complete the -// operation. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. +// +// - ResourceNotReadyException +// The requested resource exists but is not in a status that can complete the +// operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/ListTagsForResource func (c *ManagedBlockchain) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2108,14 +2102,13 @@ const opRejectInvitation = "RejectInvitation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectInvitationRequest method. +// req, resp := client.RejectInvitationRequest(params) // -// // Example sending a request using the RejectInvitationRequest method. -// req, resp := client.RejectInvitationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/RejectInvitation func (c *ManagedBlockchain) RejectInvitationRequest(input *RejectInvitationInput) (req *request.Request, output *RejectInvitationOutput) { @@ -2151,28 +2144,29 @@ func (c *ManagedBlockchain) RejectInvitationRequest(input *RejectInvitationInput // API operation RejectInvitation for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * IllegalActionException +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - IllegalActionException // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. +// +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/RejectInvitation func (c *ManagedBlockchain) RejectInvitation(input *RejectInvitationInput) (*RejectInvitationOutput, error) { @@ -2212,14 +2206,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResource func (c *ManagedBlockchain) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2263,23 +2256,24 @@ func (c *ManagedBlockchain) TagResourceRequest(input *TagResourceInput) (req *re // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. // -// * TooManyTagsException +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * ResourceNotReadyException -// The requested resource exists but is not in a status that can complete the -// operation. +// - TooManyTagsException +// +// - ResourceNotReadyException +// The requested resource exists but is not in a status that can complete the +// operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/TagResource func (c *ManagedBlockchain) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2319,14 +2313,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResource func (c *ManagedBlockchain) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2363,21 +2356,22 @@ func (c *ManagedBlockchain) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. // -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. +// +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * ResourceNotReadyException -// The requested resource exists but is not in a status that can complete the -// operation. +// - ResourceNotReadyException +// The requested resource exists but is not in a status that can complete the +// operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UntagResource func (c *ManagedBlockchain) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2417,14 +2411,13 @@ const opUpdateMember = "UpdateMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMemberRequest method. +// req, resp := client.UpdateMemberRequest(params) // -// // Example sending a request using the UpdateMemberRequest method. -// req, resp := client.UpdateMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateMember func (c *ManagedBlockchain) UpdateMemberRequest(input *UpdateMemberInput) (req *request.Request, output *UpdateMemberOutput) { @@ -2458,26 +2451,27 @@ func (c *ManagedBlockchain) UpdateMemberRequest(input *UpdateMemberInput) (req * // API operation UpdateMember for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateMember func (c *ManagedBlockchain) UpdateMember(input *UpdateMemberInput) (*UpdateMemberOutput, error) { @@ -2517,14 +2511,13 @@ const opUpdateNode = "UpdateNode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNodeRequest method. +// req, resp := client.UpdateNodeRequest(params) // -// // Example sending a request using the UpdateNodeRequest method. -// req, resp := client.UpdateNodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateNode func (c *ManagedBlockchain) UpdateNodeRequest(input *UpdateNodeInput) (req *request.Request, output *UpdateNodeOutput) { @@ -2558,26 +2551,27 @@ func (c *ManagedBlockchain) UpdateNodeRequest(input *UpdateNodeInput) (req *requ // API operation UpdateNode for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. +// +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/UpdateNode func (c *ManagedBlockchain) UpdateNode(input *UpdateNodeInput) (*UpdateNodeOutput, error) { @@ -2617,14 +2611,13 @@ const opVoteOnProposal = "VoteOnProposal" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the VoteOnProposalRequest method. +// req, resp := client.VoteOnProposalRequest(params) // -// // Example sending a request using the VoteOnProposalRequest method. -// req, resp := client.VoteOnProposalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/VoteOnProposal func (c *ManagedBlockchain) VoteOnProposalRequest(input *VoteOnProposalInput) (req *request.Request, output *VoteOnProposalOutput) { @@ -2660,28 +2653,29 @@ func (c *ManagedBlockchain) VoteOnProposalRequest(input *VoteOnProposalInput) (r // API operation VoteOnProposal for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The action or operation requested is invalid. Verify that the action is typed -// correctly. // -// * IllegalActionException +// - InvalidRequestException +// The action or operation requested is invalid. Verify that the action is typed +// correctly. +// +// - IllegalActionException // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// A requested resource does not exist. It may have been deleted or referenced -// inaccurately. +// - ResourceNotFoundException +// A requested resource does not exist. It may have been deleted or referenced +// inaccurately. // -// * ThrottlingException -// The request or operation could not be performed because a service is throttling -// requests. The most common source of throttling errors is launching EC2 instances -// such that your service limit for EC2 instances is exceeded. Request a limit -// increase or delete unused resources if possible. +// - ThrottlingException +// The request or operation could not be performed because a service is throttling +// requests. The most common source of throttling errors is launching EC2 instances +// such that your service limit for EC2 instances is exceeded. Request a limit +// increase or delete unused resources if possible. // -// * InternalServiceErrorException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServiceErrorException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/managedblockchain-2018-09-24/VoteOnProposal func (c *ManagedBlockchain) VoteOnProposal(input *VoteOnProposalInput) (*VoteOnProposalOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/doc.go index 8b86bb639b08..b5d03c142741 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/doc.go @@ -23,7 +23,7 @@ // See managedblockchain package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/managedblockchain/ // -// Using the Client +// # Using the Client // // To contact Amazon Managed Blockchain with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/managedblockchainiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/managedblockchainiface/interface.go index 264ca954c5a3..b2c729862e69 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/managedblockchainiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/managedblockchainiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Managed Blockchain. -// func myFunc(svc managedblockchainiface.ManagedBlockchainAPI) bool { -// // Make svc.CreateMember request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Managed Blockchain. +// func myFunc(svc managedblockchainiface.ManagedBlockchainAPI) bool { +// // Make svc.CreateMember request +// } // -// func main() { -// sess := session.New() -// svc := managedblockchain.New(sess) +// func main() { +// sess := session.New() +// svc := managedblockchain.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockManagedBlockchainClient struct { -// managedblockchainiface.ManagedBlockchainAPI -// } -// func (m *mockManagedBlockchainClient) CreateMember(input *managedblockchain.CreateMemberInput) (*managedblockchain.CreateMemberOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockManagedBlockchainClient struct { +// managedblockchainiface.ManagedBlockchainAPI +// } +// func (m *mockManagedBlockchainClient) CreateMember(input *managedblockchain.CreateMemberInput) (*managedblockchain.CreateMemberOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockManagedBlockchainClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockManagedBlockchainClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/service.go index 92caa9132aa7..7709d19854fe 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedblockchain/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ManagedBlockchain client from just a session. -// svc := managedblockchain.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ManagedBlockchain client with additional configuration -// svc := managedblockchain.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ManagedBlockchain client from just a session. +// svc := managedblockchain.New(mySession) +// +// // Create a ManagedBlockchain client with additional configuration +// svc := managedblockchain.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ManagedBlockchain { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/api.go index 3597dfa9129b..733a06228c91 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/api.go @@ -29,14 +29,13 @@ const opAssociateLicense = "AssociateLicense" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateLicenseRequest method. +// req, resp := client.AssociateLicenseRequest(params) // -// // Example sending a request using the AssociateLicenseRequest method. -// req, resp := client.AssociateLicenseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/AssociateLicense func (c *ManagedGrafana) AssociateLicenseRequest(input *AssociateLicenseInput) (req *request.Request, output *AssociateLicenseOutput) { @@ -69,20 +68,21 @@ func (c *ManagedGrafana) AssociateLicenseRequest(input *AssociateLicenseInput) ( // API operation AssociateLicense for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - InternalServerException +// Unexpected error while processing the request. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/AssociateLicense func (c *ManagedGrafana) AssociateLicense(input *AssociateLicenseInput) (*AssociateLicenseOutput, error) { @@ -122,14 +122,13 @@ const opCreateWorkspace = "CreateWorkspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorkspaceRequest method. +// req, resp := client.CreateWorkspaceRequest(params) // -// // Example sending a request using the CreateWorkspaceRequest method. -// req, resp := client.CreateWorkspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/CreateWorkspace func (c *ManagedGrafana) CreateWorkspaceRequest(input *CreateWorkspaceInput) (req *request.Request, output *CreateWorkspaceOutput) { @@ -165,23 +164,24 @@ func (c *ManagedGrafana) CreateWorkspaceRequest(input *CreateWorkspaceInput) (re // API operation CreateWorkspace for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - InternalServerException +// Unexpected error while processing the request. Retry the request. +// +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/CreateWorkspace func (c *ManagedGrafana) CreateWorkspace(input *CreateWorkspaceInput) (*CreateWorkspaceOutput, error) { @@ -221,14 +221,13 @@ const opCreateWorkspaceApiKey = "CreateWorkspaceApiKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorkspaceApiKeyRequest method. +// req, resp := client.CreateWorkspaceApiKeyRequest(params) // -// // Example sending a request using the CreateWorkspaceApiKeyRequest method. -// req, resp := client.CreateWorkspaceApiKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/CreateWorkspaceApiKey func (c *ManagedGrafana) CreateWorkspaceApiKeyRequest(input *CreateWorkspaceApiKeyInput) (req *request.Request, output *CreateWorkspaceApiKeyOutput) { @@ -262,26 +261,27 @@ func (c *ManagedGrafana) CreateWorkspaceApiKeyRequest(input *CreateWorkspaceApiK // API operation CreateWorkspaceApiKey for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - InternalServerException +// Unexpected error while processing the request. Retry the request. +// +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/CreateWorkspaceApiKey func (c *ManagedGrafana) CreateWorkspaceApiKey(input *CreateWorkspaceApiKeyInput) (*CreateWorkspaceApiKeyOutput, error) { @@ -321,14 +321,13 @@ const opDeleteWorkspace = "DeleteWorkspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorkspaceRequest method. +// req, resp := client.DeleteWorkspaceRequest(params) // -// // Example sending a request using the DeleteWorkspaceRequest method. -// req, resp := client.DeleteWorkspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DeleteWorkspace func (c *ManagedGrafana) DeleteWorkspaceRequest(input *DeleteWorkspaceInput) (req *request.Request, output *DeleteWorkspaceOutput) { @@ -359,23 +358,24 @@ func (c *ManagedGrafana) DeleteWorkspaceRequest(input *DeleteWorkspaceInput) (re // API operation DeleteWorkspace for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InternalServerException +// Unexpected error while processing the request. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DeleteWorkspace func (c *ManagedGrafana) DeleteWorkspace(input *DeleteWorkspaceInput) (*DeleteWorkspaceOutput, error) { @@ -415,14 +415,13 @@ const opDeleteWorkspaceApiKey = "DeleteWorkspaceApiKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorkspaceApiKeyRequest method. +// req, resp := client.DeleteWorkspaceApiKeyRequest(params) // -// // Example sending a request using the DeleteWorkspaceApiKeyRequest method. -// req, resp := client.DeleteWorkspaceApiKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DeleteWorkspaceApiKey func (c *ManagedGrafana) DeleteWorkspaceApiKeyRequest(input *DeleteWorkspaceApiKeyInput) (req *request.Request, output *DeleteWorkspaceApiKeyOutput) { @@ -453,23 +452,24 @@ func (c *ManagedGrafana) DeleteWorkspaceApiKeyRequest(input *DeleteWorkspaceApiK // API operation DeleteWorkspaceApiKey for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InternalServerException +// Unexpected error while processing the request. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DeleteWorkspaceApiKey func (c *ManagedGrafana) DeleteWorkspaceApiKey(input *DeleteWorkspaceApiKeyInput) (*DeleteWorkspaceApiKeyOutput, error) { @@ -509,14 +509,13 @@ const opDescribeWorkspace = "DescribeWorkspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkspaceRequest method. +// req, resp := client.DescribeWorkspaceRequest(params) // -// // Example sending a request using the DescribeWorkspaceRequest method. -// req, resp := client.DescribeWorkspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DescribeWorkspace func (c *ManagedGrafana) DescribeWorkspaceRequest(input *DescribeWorkspaceInput) (req *request.Request, output *DescribeWorkspaceOutput) { @@ -547,20 +546,21 @@ func (c *ManagedGrafana) DescribeWorkspaceRequest(input *DescribeWorkspaceInput) // API operation DescribeWorkspace for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InternalServerException +// Unexpected error while processing the request. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DescribeWorkspace func (c *ManagedGrafana) DescribeWorkspace(input *DescribeWorkspaceInput) (*DescribeWorkspaceOutput, error) { @@ -600,14 +600,13 @@ const opDescribeWorkspaceAuthentication = "DescribeWorkspaceAuthentication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkspaceAuthenticationRequest method. +// req, resp := client.DescribeWorkspaceAuthenticationRequest(params) // -// // Example sending a request using the DescribeWorkspaceAuthenticationRequest method. -// req, resp := client.DescribeWorkspaceAuthenticationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DescribeWorkspaceAuthentication func (c *ManagedGrafana) DescribeWorkspaceAuthenticationRequest(input *DescribeWorkspaceAuthenticationInput) (req *request.Request, output *DescribeWorkspaceAuthenticationOutput) { @@ -639,20 +638,21 @@ func (c *ManagedGrafana) DescribeWorkspaceAuthenticationRequest(input *DescribeW // API operation DescribeWorkspaceAuthentication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InternalServerException +// Unexpected error while processing the request. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DescribeWorkspaceAuthentication func (c *ManagedGrafana) DescribeWorkspaceAuthentication(input *DescribeWorkspaceAuthenticationInput) (*DescribeWorkspaceAuthenticationOutput, error) { @@ -692,14 +692,13 @@ const opDisassociateLicense = "DisassociateLicense" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateLicenseRequest method. +// req, resp := client.DisassociateLicenseRequest(params) // -// // Example sending a request using the DisassociateLicenseRequest method. -// req, resp := client.DisassociateLicenseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DisassociateLicense func (c *ManagedGrafana) DisassociateLicenseRequest(input *DisassociateLicenseInput) (req *request.Request, output *DisassociateLicenseOutput) { @@ -730,20 +729,21 @@ func (c *ManagedGrafana) DisassociateLicenseRequest(input *DisassociateLicenseIn // API operation DisassociateLicense for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InternalServerException +// Unexpected error while processing the request. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/DisassociateLicense func (c *ManagedGrafana) DisassociateLicense(input *DisassociateLicenseInput) (*DisassociateLicenseOutput, error) { @@ -783,14 +783,13 @@ const opListPermissions = "ListPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPermissionsRequest method. +// req, resp := client.ListPermissionsRequest(params) // -// // Example sending a request using the ListPermissionsRequest method. -// req, resp := client.ListPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListPermissions func (c *ManagedGrafana) ListPermissionsRequest(input *ListPermissionsInput) (req *request.Request, output *ListPermissionsOutput) { @@ -831,20 +830,21 @@ func (c *ManagedGrafana) ListPermissionsRequest(input *ListPermissionsInput) (re // API operation ListPermissions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InternalServerException +// Unexpected error while processing the request. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListPermissions func (c *ManagedGrafana) ListPermissions(input *ListPermissionsInput) (*ListPermissionsOutput, error) { @@ -876,15 +876,14 @@ func (c *ManagedGrafana) ListPermissionsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPermissions operation. -// pageNum := 0 -// err := client.ListPermissionsPages(params, -// func(page *managedgrafana.ListPermissionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPermissions operation. +// pageNum := 0 +// err := client.ListPermissionsPages(params, +// func(page *managedgrafana.ListPermissionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ManagedGrafana) ListPermissionsPages(input *ListPermissionsInput, fn func(*ListPermissionsOutput, bool) bool) error { return c.ListPermissionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -936,14 +935,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListTagsForResource func (c *ManagedGrafana) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -976,20 +974,21 @@ func (c *ManagedGrafana) ListTagsForResourceRequest(input *ListTagsForResourceIn // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InternalServerException +// Unexpected error while processing the request. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListTagsForResource func (c *ManagedGrafana) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1029,14 +1028,13 @@ const opListWorkspaces = "ListWorkspaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorkspacesRequest method. +// req, resp := client.ListWorkspacesRequest(params) // -// // Example sending a request using the ListWorkspacesRequest method. -// req, resp := client.ListWorkspacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListWorkspaces func (c *ManagedGrafana) ListWorkspacesRequest(input *ListWorkspacesInput) (req *request.Request, output *ListWorkspacesOutput) { @@ -1075,14 +1073,15 @@ func (c *ManagedGrafana) ListWorkspacesRequest(input *ListWorkspacesInput) (req // API operation ListWorkspaces for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - InternalServerException +// Unexpected error while processing the request. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/ListWorkspaces func (c *ManagedGrafana) ListWorkspaces(input *ListWorkspacesInput) (*ListWorkspacesOutput, error) { @@ -1114,15 +1113,14 @@ func (c *ManagedGrafana) ListWorkspacesWithContext(ctx aws.Context, input *ListW // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorkspaces operation. -// pageNum := 0 -// err := client.ListWorkspacesPages(params, -// func(page *managedgrafana.ListWorkspacesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorkspaces operation. +// pageNum := 0 +// err := client.ListWorkspacesPages(params, +// func(page *managedgrafana.ListWorkspacesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ManagedGrafana) ListWorkspacesPages(input *ListWorkspacesInput, fn func(*ListWorkspacesOutput, bool) bool) error { return c.ListWorkspacesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1174,14 +1172,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/TagResource func (c *ManagedGrafana) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1219,20 +1216,21 @@ func (c *ManagedGrafana) TagResourceRequest(input *TagResourceInput) (req *reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - InternalServerException +// Unexpected error while processing the request. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/TagResource func (c *ManagedGrafana) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1272,14 +1270,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/UntagResource func (c *ManagedGrafana) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1312,20 +1309,21 @@ func (c *ManagedGrafana) UntagResourceRequest(input *UntagResourceInput) (req *r // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - InternalServerException +// Unexpected error while processing the request. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/UntagResource func (c *ManagedGrafana) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1365,14 +1363,13 @@ const opUpdatePermissions = "UpdatePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePermissionsRequest method. +// req, resp := client.UpdatePermissionsRequest(params) // -// // Example sending a request using the UpdatePermissionsRequest method. -// req, resp := client.UpdatePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/UpdatePermissions func (c *ManagedGrafana) UpdatePermissionsRequest(input *UpdatePermissionsInput) (req *request.Request, output *UpdatePermissionsOutput) { @@ -1403,20 +1400,21 @@ func (c *ManagedGrafana) UpdatePermissionsRequest(input *UpdatePermissionsInput) // API operation UpdatePermissions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - InternalServerException +// Unexpected error while processing the request. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/UpdatePermissions func (c *ManagedGrafana) UpdatePermissions(input *UpdatePermissionsInput) (*UpdatePermissionsOutput, error) { @@ -1456,14 +1454,13 @@ const opUpdateWorkspace = "UpdateWorkspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWorkspaceRequest method. +// req, resp := client.UpdateWorkspaceRequest(params) // -// // Example sending a request using the UpdateWorkspaceRequest method. -// req, resp := client.UpdateWorkspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/UpdateWorkspace func (c *ManagedGrafana) UpdateWorkspaceRequest(input *UpdateWorkspaceInput) (req *request.Request, output *UpdateWorkspaceOutput) { @@ -1502,23 +1499,24 @@ func (c *ManagedGrafana) UpdateWorkspaceRequest(input *UpdateWorkspaceInput) (re // API operation UpdateWorkspace for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - InternalServerException +// Unexpected error while processing the request. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/UpdateWorkspace func (c *ManagedGrafana) UpdateWorkspace(input *UpdateWorkspaceInput) (*UpdateWorkspaceOutput, error) { @@ -1558,14 +1556,13 @@ const opUpdateWorkspaceAuthentication = "UpdateWorkspaceAuthentication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWorkspaceAuthenticationRequest method. +// req, resp := client.UpdateWorkspaceAuthenticationRequest(params) // -// // Example sending a request using the UpdateWorkspaceAuthenticationRequest method. -// req, resp := client.UpdateWorkspaceAuthenticationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/UpdateWorkspaceAuthentication func (c *ManagedGrafana) UpdateWorkspaceAuthenticationRequest(input *UpdateWorkspaceAuthenticationInput) (req *request.Request, output *UpdateWorkspaceAuthenticationOutput) { @@ -1599,23 +1596,24 @@ func (c *ManagedGrafana) UpdateWorkspaceAuthenticationRequest(input *UpdateWorks // API operation UpdateWorkspaceAuthentication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * ThrottlingException -// The request was denied because of request throttling. Retry the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - ThrottlingException +// The request was denied because of request throttling. Retry the request. // -// * ConflictException -// A resource was in an inconsistent state during an update or a deletion. +// - ConflictException +// A resource was in an inconsistent state during an update or a deletion. // -// * ValidationException -// The value of a parameter in the request caused an error. +// - ValidationException +// The value of a parameter in the request caused an error. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. // -// * InternalServerException -// Unexpected error while processing the request. Retry the request. +// - InternalServerException +// Unexpected error while processing the request. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/grafana-2020-08-18/UpdateWorkspaceAuthentication func (c *ManagedGrafana) UpdateWorkspaceAuthentication(input *UpdateWorkspaceAuthenticationInput) (*UpdateWorkspaceAuthenticationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/doc.go index 55eb6c15585a..cc32fd732e18 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/doc.go @@ -19,7 +19,7 @@ // See managedgrafana package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/managedgrafana/ // -// Using the Client +// # Using the Client // // To contact Amazon Managed Grafana with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/managedgrafanaiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/managedgrafanaiface/interface.go index 2f7111930a78..ccae0ef6c5b3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/managedgrafanaiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/managedgrafanaiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Managed Grafana. -// func myFunc(svc managedgrafanaiface.ManagedGrafanaAPI) bool { -// // Make svc.AssociateLicense request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Managed Grafana. +// func myFunc(svc managedgrafanaiface.ManagedGrafanaAPI) bool { +// // Make svc.AssociateLicense request +// } // -// func main() { -// sess := session.New() -// svc := managedgrafana.New(sess) +// func main() { +// sess := session.New() +// svc := managedgrafana.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockManagedGrafanaClient struct { -// managedgrafanaiface.ManagedGrafanaAPI -// } -// func (m *mockManagedGrafanaClient) AssociateLicense(input *managedgrafana.AssociateLicenseInput) (*managedgrafana.AssociateLicenseOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockManagedGrafanaClient struct { +// managedgrafanaiface.ManagedGrafanaAPI +// } +// func (m *mockManagedGrafanaClient) AssociateLicense(input *managedgrafana.AssociateLicenseInput) (*managedgrafana.AssociateLicenseOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockManagedGrafanaClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockManagedGrafanaClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/service.go index 237775dc8752..e1500658c088 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/managedgrafana/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ManagedGrafana client from just a session. -// svc := managedgrafana.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ManagedGrafana client with additional configuration -// svc := managedgrafana.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ManagedGrafana client from just a session. +// svc := managedgrafana.New(mySession) +// +// // Create a ManagedGrafana client with additional configuration +// svc := managedgrafana.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ManagedGrafana { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/api.go index f1c226c35c37..c418d4a76190 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/api.go @@ -27,14 +27,13 @@ const opCancelChangeSet = "CancelChangeSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelChangeSetRequest method. +// req, resp := client.CancelChangeSetRequest(params) // -// // Example sending a request using the CancelChangeSetRequest method. -// req, resp := client.CancelChangeSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/CancelChangeSet func (c *MarketplaceCatalog) CancelChangeSetRequest(input *CancelChangeSetInput) (req *request.Request, output *CancelChangeSetOutput) { @@ -68,23 +67,24 @@ func (c *MarketplaceCatalog) CancelChangeSetRequest(input *CancelChangeSetInput) // API operation CancelChangeSet for usage and error information. // // Returned Error Types: -// * InternalServiceException -// There was an internal service exception. // -// * AccessDeniedException -// Access is denied. +// - InternalServiceException +// There was an internal service exception. +// +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// An error occurred during validation. +// - ValidationException +// An error occurred during validation. // -// * ResourceNotFoundException -// The specified resource wasn't found. +// - ResourceNotFoundException +// The specified resource wasn't found. // -// * ResourceInUseException -// The resource is currently in use. +// - ResourceInUseException +// The resource is currently in use. // -// * ThrottlingException -// Too many requests. +// - ThrottlingException +// Too many requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/CancelChangeSet func (c *MarketplaceCatalog) CancelChangeSet(input *CancelChangeSetInput) (*CancelChangeSetOutput, error) { @@ -124,14 +124,13 @@ const opDescribeChangeSet = "DescribeChangeSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChangeSetRequest method. +// req, resp := client.DescribeChangeSetRequest(params) // -// // Example sending a request using the DescribeChangeSetRequest method. -// req, resp := client.DescribeChangeSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/DescribeChangeSet func (c *MarketplaceCatalog) DescribeChangeSetRequest(input *DescribeChangeSetInput) (req *request.Request, output *DescribeChangeSetOutput) { @@ -162,20 +161,21 @@ func (c *MarketplaceCatalog) DescribeChangeSetRequest(input *DescribeChangeSetIn // API operation DescribeChangeSet for usage and error information. // // Returned Error Types: -// * InternalServiceException -// There was an internal service exception. // -// * AccessDeniedException -// Access is denied. +// - InternalServiceException +// There was an internal service exception. +// +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// An error occurred during validation. +// - ValidationException +// An error occurred during validation. // -// * ResourceNotFoundException -// The specified resource wasn't found. +// - ResourceNotFoundException +// The specified resource wasn't found. // -// * ThrottlingException -// Too many requests. +// - ThrottlingException +// Too many requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/DescribeChangeSet func (c *MarketplaceCatalog) DescribeChangeSet(input *DescribeChangeSetInput) (*DescribeChangeSetOutput, error) { @@ -215,14 +215,13 @@ const opDescribeEntity = "DescribeEntity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEntityRequest method. +// req, resp := client.DescribeEntityRequest(params) // -// // Example sending a request using the DescribeEntityRequest method. -// req, resp := client.DescribeEntityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/DescribeEntity func (c *MarketplaceCatalog) DescribeEntityRequest(input *DescribeEntityInput) (req *request.Request, output *DescribeEntityOutput) { @@ -253,23 +252,24 @@ func (c *MarketplaceCatalog) DescribeEntityRequest(input *DescribeEntityInput) ( // API operation DescribeEntity for usage and error information. // // Returned Error Types: -// * InternalServiceException -// There was an internal service exception. // -// * AccessDeniedException -// Access is denied. +// - InternalServiceException +// There was an internal service exception. +// +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// An error occurred during validation. +// - ValidationException +// An error occurred during validation. // -// * ResourceNotSupportedException -// Currently, the specified resource is not supported. +// - ResourceNotSupportedException +// Currently, the specified resource is not supported. // -// * ResourceNotFoundException -// The specified resource wasn't found. +// - ResourceNotFoundException +// The specified resource wasn't found. // -// * ThrottlingException -// Too many requests. +// - ThrottlingException +// Too many requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/DescribeEntity func (c *MarketplaceCatalog) DescribeEntity(input *DescribeEntityInput) (*DescribeEntityOutput, error) { @@ -309,14 +309,13 @@ const opListChangeSets = "ListChangeSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChangeSetsRequest method. +// req, resp := client.ListChangeSetsRequest(params) // -// // Example sending a request using the ListChangeSetsRequest method. -// req, resp := client.ListChangeSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/ListChangeSets func (c *MarketplaceCatalog) ListChangeSetsRequest(input *ListChangeSetsInput) (req *request.Request, output *ListChangeSetsOutput) { @@ -359,17 +358,18 @@ func (c *MarketplaceCatalog) ListChangeSetsRequest(input *ListChangeSetsInput) ( // API operation ListChangeSets for usage and error information. // // Returned Error Types: -// * InternalServiceException -// There was an internal service exception. // -// * AccessDeniedException -// Access is denied. +// - InternalServiceException +// There was an internal service exception. // -// * ValidationException -// An error occurred during validation. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// Too many requests. +// - ValidationException +// An error occurred during validation. +// +// - ThrottlingException +// Too many requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/ListChangeSets func (c *MarketplaceCatalog) ListChangeSets(input *ListChangeSetsInput) (*ListChangeSetsOutput, error) { @@ -401,15 +401,14 @@ func (c *MarketplaceCatalog) ListChangeSetsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChangeSets operation. -// pageNum := 0 -// err := client.ListChangeSetsPages(params, -// func(page *marketplacecatalog.ListChangeSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChangeSets operation. +// pageNum := 0 +// err := client.ListChangeSetsPages(params, +// func(page *marketplacecatalog.ListChangeSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MarketplaceCatalog) ListChangeSetsPages(input *ListChangeSetsInput, fn func(*ListChangeSetsOutput, bool) bool) error { return c.ListChangeSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -461,14 +460,13 @@ const opListEntities = "ListEntities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEntitiesRequest method. +// req, resp := client.ListEntitiesRequest(params) // -// // Example sending a request using the ListEntitiesRequest method. -// req, resp := client.ListEntitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/ListEntities func (c *MarketplaceCatalog) ListEntitiesRequest(input *ListEntitiesInput) (req *request.Request, output *ListEntitiesOutput) { @@ -505,20 +503,21 @@ func (c *MarketplaceCatalog) ListEntitiesRequest(input *ListEntitiesInput) (req // API operation ListEntities for usage and error information. // // Returned Error Types: -// * InternalServiceException -// There was an internal service exception. // -// * AccessDeniedException -// Access is denied. +// - InternalServiceException +// There was an internal service exception. +// +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// An error occurred during validation. +// - ValidationException +// An error occurred during validation. // -// * ResourceNotFoundException -// The specified resource wasn't found. +// - ResourceNotFoundException +// The specified resource wasn't found. // -// * ThrottlingException -// Too many requests. +// - ThrottlingException +// Too many requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/ListEntities func (c *MarketplaceCatalog) ListEntities(input *ListEntitiesInput) (*ListEntitiesOutput, error) { @@ -550,15 +549,14 @@ func (c *MarketplaceCatalog) ListEntitiesWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEntities operation. -// pageNum := 0 -// err := client.ListEntitiesPages(params, -// func(page *marketplacecatalog.ListEntitiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEntities operation. +// pageNum := 0 +// err := client.ListEntitiesPages(params, +// func(page *marketplacecatalog.ListEntitiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MarketplaceCatalog) ListEntitiesPages(input *ListEntitiesInput, fn func(*ListEntitiesOutput, bool) bool) error { return c.ListEntitiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -610,14 +608,13 @@ const opStartChangeSet = "StartChangeSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartChangeSetRequest method. +// req, resp := client.StartChangeSetRequest(params) // -// // Example sending a request using the StartChangeSetRequest method. -// req, resp := client.StartChangeSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/StartChangeSet func (c *MarketplaceCatalog) StartChangeSetRequest(input *StartChangeSetInput) (req *request.Request, output *StartChangeSetOutput) { @@ -661,26 +658,27 @@ func (c *MarketplaceCatalog) StartChangeSetRequest(input *StartChangeSetInput) ( // API operation StartChangeSet for usage and error information. // // Returned Error Types: -// * InternalServiceException -// There was an internal service exception. // -// * AccessDeniedException -// Access is denied. +// - InternalServiceException +// There was an internal service exception. +// +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// An error occurred during validation. +// - ValidationException +// An error occurred during validation. // -// * ResourceNotFoundException -// The specified resource wasn't found. +// - ResourceNotFoundException +// The specified resource wasn't found. // -// * ResourceInUseException -// The resource is currently in use. +// - ResourceInUseException +// The resource is currently in use. // -// * ThrottlingException -// Too many requests. +// - ThrottlingException +// Too many requests. // -// * ServiceQuotaExceededException -// The maximum number of open requests per account has been exceeded. +// - ServiceQuotaExceededException +// The maximum number of open requests per account has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplace-catalog-2018-09-17/StartChangeSet func (c *MarketplaceCatalog) StartChangeSet(input *StartChangeSetInput) (*StartChangeSetOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/doc.go index 4b61f9070213..c26103b452a8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/doc.go @@ -16,7 +16,7 @@ // See marketplacecatalog package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/marketplacecatalog/ // -// Using the Client +// # Using the Client // // To contact AWS Marketplace Catalog Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/marketplacecatalogiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/marketplacecatalogiface/interface.go index 620eecb1cc2e..e65dd774c122 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/marketplacecatalogiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/marketplacecatalogiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Marketplace Catalog Service. -// func myFunc(svc marketplacecatalogiface.MarketplaceCatalogAPI) bool { -// // Make svc.CancelChangeSet request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Marketplace Catalog Service. +// func myFunc(svc marketplacecatalogiface.MarketplaceCatalogAPI) bool { +// // Make svc.CancelChangeSet request +// } // -// func main() { -// sess := session.New() -// svc := marketplacecatalog.New(sess) +// func main() { +// sess := session.New() +// svc := marketplacecatalog.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMarketplaceCatalogClient struct { -// marketplacecatalogiface.MarketplaceCatalogAPI -// } -// func (m *mockMarketplaceCatalogClient) CancelChangeSet(input *marketplacecatalog.CancelChangeSetInput) (*marketplacecatalog.CancelChangeSetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMarketplaceCatalogClient struct { +// marketplacecatalogiface.MarketplaceCatalogAPI +// } +// func (m *mockMarketplaceCatalogClient) CancelChangeSet(input *marketplacecatalog.CancelChangeSetInput) (*marketplacecatalog.CancelChangeSetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMarketplaceCatalogClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMarketplaceCatalogClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/service.go index e60f6fb504f7..7552ef3d1e1a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecatalog/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MarketplaceCatalog client from just a session. -// svc := marketplacecatalog.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MarketplaceCatalog client with additional configuration -// svc := marketplacecatalog.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MarketplaceCatalog client from just a session. +// svc := marketplacecatalog.New(mySession) +// +// // Create a MarketplaceCatalog client with additional configuration +// svc := marketplacecatalog.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MarketplaceCatalog { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/api.go index 49f49efe4869..9a6ce86c36c2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/api.go @@ -28,14 +28,13 @@ const opGenerateDataSet = "GenerateDataSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateDataSetRequest method. +// req, resp := client.GenerateDataSetRequest(params) // -// // Example sending a request using the GenerateDataSetRequest method. -// req, resp := client.GenerateDataSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplacecommerceanalytics-2015-07-01/GenerateDataSet func (c *MarketplaceCommerceAnalytics) GenerateDataSetRequest(input *GenerateDataSetInput) (req *request.Request, output *GenerateDataSetOutput) { @@ -75,8 +74,8 @@ func (c *MarketplaceCommerceAnalytics) GenerateDataSetRequest(input *GenerateDat // API operation GenerateDataSet for usage and error information. // // Returned Error Types: -// * Exception -// This exception is thrown when an internal service error occurs. +// - Exception +// This exception is thrown when an internal service error occurs. // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplacecommerceanalytics-2015-07-01/GenerateDataSet func (c *MarketplaceCommerceAnalytics) GenerateDataSet(input *GenerateDataSetInput) (*GenerateDataSetOutput, error) { @@ -116,14 +115,13 @@ const opStartSupportDataExport = "StartSupportDataExport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartSupportDataExportRequest method. +// req, resp := client.StartSupportDataExportRequest(params) // -// // Example sending a request using the StartSupportDataExportRequest method. -// req, resp := client.StartSupportDataExportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplacecommerceanalytics-2015-07-01/StartSupportDataExport func (c *MarketplaceCommerceAnalytics) StartSupportDataExportRequest(input *StartSupportDataExportInput) (req *request.Request, output *StartSupportDataExportOutput) { @@ -164,8 +162,8 @@ func (c *MarketplaceCommerceAnalytics) StartSupportDataExportRequest(input *Star // API operation StartSupportDataExport for usage and error information. // // Returned Error Types: -// * Exception -// This exception is thrown when an internal service error occurs. +// - Exception +// This exception is thrown when an internal service error occurs. // // See also, https://docs.aws.amazon.com/goto/WebAPI/marketplacecommerceanalytics-2015-07-01/StartSupportDataExport func (c *MarketplaceCommerceAnalytics) StartSupportDataExport(input *StartSupportDataExportInput) (*StartSupportDataExportOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/doc.go index a2a4ca3c76ac..ba2181b1c2e5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/doc.go @@ -10,7 +10,7 @@ // See marketplacecommerceanalytics package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/marketplacecommerceanalytics/ // -// Using the Client +// # Using the Client // // To contact AWS Marketplace Commerce Analytics with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/marketplacecommerceanalyticsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/marketplacecommerceanalyticsiface/interface.go index 4754aaae0602..8438f5e8d486 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/marketplacecommerceanalyticsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/marketplacecommerceanalyticsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Marketplace Commerce Analytics. -// func myFunc(svc marketplacecommerceanalyticsiface.MarketplaceCommerceAnalyticsAPI) bool { -// // Make svc.GenerateDataSet request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Marketplace Commerce Analytics. +// func myFunc(svc marketplacecommerceanalyticsiface.MarketplaceCommerceAnalyticsAPI) bool { +// // Make svc.GenerateDataSet request +// } // -// func main() { -// sess := session.New() -// svc := marketplacecommerceanalytics.New(sess) +// func main() { +// sess := session.New() +// svc := marketplacecommerceanalytics.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMarketplaceCommerceAnalyticsClient struct { -// marketplacecommerceanalyticsiface.MarketplaceCommerceAnalyticsAPI -// } -// func (m *mockMarketplaceCommerceAnalyticsClient) GenerateDataSet(input *marketplacecommerceanalytics.GenerateDataSetInput) (*marketplacecommerceanalytics.GenerateDataSetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMarketplaceCommerceAnalyticsClient struct { +// marketplacecommerceanalyticsiface.MarketplaceCommerceAnalyticsAPI +// } +// func (m *mockMarketplaceCommerceAnalyticsClient) GenerateDataSet(input *marketplacecommerceanalytics.GenerateDataSetInput) (*marketplacecommerceanalytics.GenerateDataSetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMarketplaceCommerceAnalyticsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMarketplaceCommerceAnalyticsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/service.go index 48fc44f905d0..9d8da67c3c43 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacecommerceanalytics/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MarketplaceCommerceAnalytics client from just a session. -// svc := marketplacecommerceanalytics.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MarketplaceCommerceAnalytics client with additional configuration -// svc := marketplacecommerceanalytics.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MarketplaceCommerceAnalytics client from just a session. +// svc := marketplacecommerceanalytics.New(mySession) +// +// // Create a MarketplaceCommerceAnalytics client with additional configuration +// svc := marketplacecommerceanalytics.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MarketplaceCommerceAnalytics { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/api.go index d4f36f4e7971..723a2b0ae273 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/api.go @@ -28,14 +28,13 @@ const opGetEntitlements = "GetEntitlements" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEntitlementsRequest method. +// req, resp := client.GetEntitlementsRequest(params) // -// // Example sending a request using the GetEntitlementsRequest method. -// req, resp := client.GetEntitlementsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/entitlement.marketplace-2017-01-11/GetEntitlements func (c *MarketplaceEntitlementService) GetEntitlementsRequest(input *GetEntitlementsInput) (req *request.Request, output *GetEntitlementsOutput) { @@ -67,15 +66,16 @@ func (c *MarketplaceEntitlementService) GetEntitlementsRequest(input *GetEntitle // API operation GetEntitlements for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in your request was invalid. // -// * ThrottlingException -// The calls to the GetEntitlements API are throttled. +// - InvalidParameterException +// One or more parameters in your request was invalid. +// +// - ThrottlingException +// The calls to the GetEntitlements API are throttled. // -// * InternalServiceErrorException -// An internal error has occurred. Retry your request. If the problem persists, -// post a message with details on the AWS forums. +// - InternalServiceErrorException +// An internal error has occurred. Retry your request. If the problem persists, +// post a message with details on the AWS forums. // // See also, https://docs.aws.amazon.com/goto/WebAPI/entitlement.marketplace-2017-01-11/GetEntitlements func (c *MarketplaceEntitlementService) GetEntitlements(input *GetEntitlementsInput) (*GetEntitlementsOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/doc.go index 6942d092a3b1..c86df8deaa2a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/doc.go @@ -14,14 +14,14 @@ // // Getting Entitlement Records // -// * GetEntitlements- Gets the entitlements for a Marketplace product. +// - GetEntitlements- Gets the entitlements for a Marketplace product. // // See https://docs.aws.amazon.com/goto/WebAPI/entitlement.marketplace-2017-01-11 for more information on this service. // // See marketplaceentitlementservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/marketplaceentitlementservice/ // -// Using the Client +// # Using the Client // // To contact AWS Marketplace Entitlement Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/marketplaceentitlementserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/marketplaceentitlementserviceiface/interface.go index 6dbd3f06cfcf..3c0a8a3927c1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/marketplaceentitlementserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/marketplaceentitlementserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Marketplace Entitlement Service. -// func myFunc(svc marketplaceentitlementserviceiface.MarketplaceEntitlementServiceAPI) bool { -// // Make svc.GetEntitlements request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Marketplace Entitlement Service. +// func myFunc(svc marketplaceentitlementserviceiface.MarketplaceEntitlementServiceAPI) bool { +// // Make svc.GetEntitlements request +// } // -// func main() { -// sess := session.New() -// svc := marketplaceentitlementservice.New(sess) +// func main() { +// sess := session.New() +// svc := marketplaceentitlementservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMarketplaceEntitlementServiceClient struct { -// marketplaceentitlementserviceiface.MarketplaceEntitlementServiceAPI -// } -// func (m *mockMarketplaceEntitlementServiceClient) GetEntitlements(input *marketplaceentitlementservice.GetEntitlementsInput) (*marketplaceentitlementservice.GetEntitlementsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMarketplaceEntitlementServiceClient struct { +// marketplaceentitlementserviceiface.MarketplaceEntitlementServiceAPI +// } +// func (m *mockMarketplaceEntitlementServiceClient) GetEntitlements(input *marketplaceentitlementservice.GetEntitlementsInput) (*marketplaceentitlementservice.GetEntitlementsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMarketplaceEntitlementServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMarketplaceEntitlementServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/service.go index 55c1cc9ad0bb..697db2d4594f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplaceentitlementservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MarketplaceEntitlementService client from just a session. -// svc := marketplaceentitlementservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MarketplaceEntitlementService client with additional configuration -// svc := marketplaceentitlementservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MarketplaceEntitlementService client from just a session. +// svc := marketplaceentitlementservice.New(mySession) +// +// // Create a MarketplaceEntitlementService client with additional configuration +// svc := marketplaceentitlementservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MarketplaceEntitlementService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/api.go index e028c5bcf7f7..abf5f07953bb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/api.go @@ -28,14 +28,13 @@ const opBatchMeterUsage = "BatchMeterUsage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchMeterUsageRequest method. +// req, resp := client.BatchMeterUsageRequest(params) // -// // Example sending a request using the BatchMeterUsageRequest method. -// req, resp := client.BatchMeterUsageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/BatchMeterUsage func (c *MarketplaceMetering) BatchMeterUsageRequest(input *BatchMeterUsageInput) (req *request.Request, output *BatchMeterUsageOutput) { @@ -93,40 +92,41 @@ func (c *MarketplaceMetering) BatchMeterUsageRequest(input *BatchMeterUsageInput // API operation BatchMeterUsage for usage and error information. // // Returned Error Types: -// * InternalServiceErrorException -// An internal error has occurred. Retry your request. If the problem persists, -// post a message with details on the AWS forums. // -// * InvalidProductCodeException -// The product code passed does not match the product code used for publishing -// the product. +// - InternalServiceErrorException +// An internal error has occurred. Retry your request. If the problem persists, +// post a message with details on the AWS forums. +// +// - InvalidProductCodeException +// The product code passed does not match the product code used for publishing +// the product. // -// * InvalidUsageDimensionException -// The usage dimension does not match one of the UsageDimensions associated -// with products. +// - InvalidUsageDimensionException +// The usage dimension does not match one of the UsageDimensions associated +// with products. // -// * InvalidTagException -// The tag is invalid, or the number of tags is greater than 5. +// - InvalidTagException +// The tag is invalid, or the number of tags is greater than 5. // -// * InvalidUsageAllocationsException -// The usage allocation objects are invalid, or the number of allocations is -// greater than 500 for a single usage record. +// - InvalidUsageAllocationsException +// The usage allocation objects are invalid, or the number of allocations is +// greater than 500 for a single usage record. // -// * InvalidCustomerIdentifierException -// You have metered usage for a CustomerIdentifier that does not exist. +// - InvalidCustomerIdentifierException +// You have metered usage for a CustomerIdentifier that does not exist. // -// * TimestampOutOfBoundsException -// The timestamp value passed in the UsageRecord is out of allowed range. +// - TimestampOutOfBoundsException +// The timestamp value passed in the UsageRecord is out of allowed range. // -// For BatchMeterUsage, if any of the records are outside of the allowed range, -// the entire batch is not processed. You must remove invalid records and try -// again. +// For BatchMeterUsage, if any of the records are outside of the allowed range, +// the entire batch is not processed. You must remove invalid records and try +// again. // -// * ThrottlingException -// The calls to the API are throttled. +// - ThrottlingException +// The calls to the API are throttled. // -// * DisabledApiException -// The API is disabled in the Region. +// - DisabledApiException +// The API is disabled in the Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/BatchMeterUsage func (c *MarketplaceMetering) BatchMeterUsage(input *BatchMeterUsageInput) (*BatchMeterUsageOutput, error) { @@ -166,14 +166,13 @@ const opMeterUsage = "MeterUsage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MeterUsageRequest method. +// req, resp := client.MeterUsageRequest(params) // -// // Example sending a request using the MeterUsageRequest method. -// req, resp := client.MeterUsageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/MeterUsage func (c *MarketplaceMetering) MeterUsageRequest(input *MeterUsageInput) (req *request.Request, output *MeterUsageOutput) { @@ -216,48 +215,49 @@ func (c *MarketplaceMetering) MeterUsageRequest(input *MeterUsageInput) (req *re // API operation MeterUsage for usage and error information. // // Returned Error Types: -// * InternalServiceErrorException -// An internal error has occurred. Retry your request. If the problem persists, -// post a message with details on the AWS forums. // -// * InvalidProductCodeException -// The product code passed does not match the product code used for publishing -// the product. +// - InternalServiceErrorException +// An internal error has occurred. Retry your request. If the problem persists, +// post a message with details on the AWS forums. +// +// - InvalidProductCodeException +// The product code passed does not match the product code used for publishing +// the product. // -// * InvalidUsageDimensionException -// The usage dimension does not match one of the UsageDimensions associated -// with products. +// - InvalidUsageDimensionException +// The usage dimension does not match one of the UsageDimensions associated +// with products. // -// * InvalidTagException -// The tag is invalid, or the number of tags is greater than 5. +// - InvalidTagException +// The tag is invalid, or the number of tags is greater than 5. // -// * InvalidUsageAllocationsException -// The usage allocation objects are invalid, or the number of allocations is -// greater than 500 for a single usage record. +// - InvalidUsageAllocationsException +// The usage allocation objects are invalid, or the number of allocations is +// greater than 500 for a single usage record. // -// * InvalidEndpointRegionException -// The endpoint being called is in a AWS Region different from your EC2 instance, -// ECS task, or EKS pod. The Region of the Metering Service endpoint and the -// AWS Region of the resource must match. +// - InvalidEndpointRegionException +// The endpoint being called is in a AWS Region different from your EC2 instance, +// ECS task, or EKS pod. The Region of the Metering Service endpoint and the +// AWS Region of the resource must match. // -// * TimestampOutOfBoundsException -// The timestamp value passed in the UsageRecord is out of allowed range. +// - TimestampOutOfBoundsException +// The timestamp value passed in the UsageRecord is out of allowed range. // -// For BatchMeterUsage, if any of the records are outside of the allowed range, -// the entire batch is not processed. You must remove invalid records and try -// again. +// For BatchMeterUsage, if any of the records are outside of the allowed range, +// the entire batch is not processed. You must remove invalid records and try +// again. // -// * DuplicateRequestException -// A metering record has already been emitted by the same EC2 instance, ECS -// task, or EKS pod for the given {usageDimension, timestamp} with a different -// usageQuantity. +// - DuplicateRequestException +// A metering record has already been emitted by the same EC2 instance, ECS +// task, or EKS pod for the given {usageDimension, timestamp} with a different +// usageQuantity. // -// * ThrottlingException -// The calls to the API are throttled. +// - ThrottlingException +// The calls to the API are throttled. // -// * CustomerNotEntitledException -// Exception thrown when the customer does not have a valid subscription for -// the product. +// - CustomerNotEntitledException +// Exception thrown when the customer does not have a valid subscription for +// the product. // // See also, https://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/MeterUsage func (c *MarketplaceMetering) MeterUsage(input *MeterUsageInput) (*MeterUsageOutput, error) { @@ -297,14 +297,13 @@ const opRegisterUsage = "RegisterUsage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterUsageRequest method. +// req, resp := client.RegisterUsageRequest(params) // -// // Example sending a request using the RegisterUsageRequest method. -// req, resp := client.RegisterUsageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/RegisterUsage func (c *MarketplaceMetering) RegisterUsageRequest(input *RegisterUsageInput) (req *request.Request, output *RegisterUsageOutput) { @@ -333,29 +332,29 @@ func (c *MarketplaceMetering) RegisterUsageRequest(input *RegisterUsageInput) (r // The sections below explain the behavior of RegisterUsage. RegisterUsage performs // two primary functions: metering and entitlement. // -// * Entitlement: RegisterUsage allows you to verify that the customer running -// your paid software is subscribed to your product on AWS Marketplace, enabling -// you to guard against unauthorized use. Your container image that integrates -// with RegisterUsage is only required to guard against unauthorized use -// at container startup, as such a CustomerNotSubscribedException or PlatformNotSupportedException -// will only be thrown on the initial call to RegisterUsage. Subsequent calls -// from the same Amazon ECS task instance (e.g. task-id) or Amazon EKS pod -// will not throw a CustomerNotSubscribedException, even if the customer -// unsubscribes while the Amazon ECS task or Amazon EKS pod is still running. -// -// * Metering: RegisterUsage meters software use per ECS task, per hour, -// or per pod for Amazon EKS with usage prorated to the second. A minimum -// of 1 minute of usage applies to tasks that are short lived. For example, -// if a customer has a 10 node Amazon ECS or Amazon EKS cluster and a service -// configured as a Daemon Set, then Amazon ECS or Amazon EKS will launch -// a task on all 10 cluster nodes and the customer will be charged: (10 * -// hourly_rate). Metering for software use is automatically handled by the -// AWS Marketplace Metering Control Plane -- your software is not required -// to perform any metering specific actions, other than call RegisterUsage -// once for metering of software use to commence. The AWS Marketplace Metering -// Control Plane will also continue to bill customers for running ECS tasks -// and Amazon EKS pods, regardless of the customers subscription state, removing -// the need for your software to perform entitlement checks at runtime. +// - Entitlement: RegisterUsage allows you to verify that the customer running +// your paid software is subscribed to your product on AWS Marketplace, enabling +// you to guard against unauthorized use. Your container image that integrates +// with RegisterUsage is only required to guard against unauthorized use +// at container startup, as such a CustomerNotSubscribedException or PlatformNotSupportedException +// will only be thrown on the initial call to RegisterUsage. Subsequent calls +// from the same Amazon ECS task instance (e.g. task-id) or Amazon EKS pod +// will not throw a CustomerNotSubscribedException, even if the customer +// unsubscribes while the Amazon ECS task or Amazon EKS pod is still running. +// +// - Metering: RegisterUsage meters software use per ECS task, per hour, +// or per pod for Amazon EKS with usage prorated to the second. A minimum +// of 1 minute of usage applies to tasks that are short lived. For example, +// if a customer has a 10 node Amazon ECS or Amazon EKS cluster and a service +// configured as a Daemon Set, then Amazon ECS or Amazon EKS will launch +// a task on all 10 cluster nodes and the customer will be charged: (10 * +// hourly_rate). Metering for software use is automatically handled by the +// AWS Marketplace Metering Control Plane -- your software is not required +// to perform any metering specific actions, other than call RegisterUsage +// once for metering of software use to commence. The AWS Marketplace Metering +// Control Plane will also continue to bill customers for running ECS tasks +// and Amazon EKS pods, regardless of the customers subscription state, removing +// the need for your software to perform entitlement checks at runtime. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -365,35 +364,36 @@ func (c *MarketplaceMetering) RegisterUsageRequest(input *RegisterUsageInput) (r // API operation RegisterUsage for usage and error information. // // Returned Error Types: -// * InvalidProductCodeException -// The product code passed does not match the product code used for publishing -// the product. // -// * InvalidRegionException -// RegisterUsage must be called in the same AWS Region the ECS task was launched -// in. This prevents a container from hardcoding a Region (e.g. withRegion(“us-east-1”) -// when calling RegisterUsage. +// - InvalidProductCodeException +// The product code passed does not match the product code used for publishing +// the product. +// +// - InvalidRegionException +// RegisterUsage must be called in the same AWS Region the ECS task was launched +// in. This prevents a container from hardcoding a Region (e.g. withRegion(“us-east-1”) +// when calling RegisterUsage. // -// * InvalidPublicKeyVersionException -// Public Key version is invalid. +// - InvalidPublicKeyVersionException +// Public Key version is invalid. // -// * PlatformNotSupportedException -// AWS Marketplace does not support metering usage from the underlying platform. -// Currently, Amazon ECS, Amazon EKS, and AWS Fargate are supported. +// - PlatformNotSupportedException +// AWS Marketplace does not support metering usage from the underlying platform. +// Currently, Amazon ECS, Amazon EKS, and AWS Fargate are supported. // -// * CustomerNotEntitledException -// Exception thrown when the customer does not have a valid subscription for -// the product. +// - CustomerNotEntitledException +// Exception thrown when the customer does not have a valid subscription for +// the product. // -// * ThrottlingException -// The calls to the API are throttled. +// - ThrottlingException +// The calls to the API are throttled. // -// * InternalServiceErrorException -// An internal error has occurred. Retry your request. If the problem persists, -// post a message with details on the AWS forums. +// - InternalServiceErrorException +// An internal error has occurred. Retry your request. If the problem persists, +// post a message with details on the AWS forums. // -// * DisabledApiException -// The API is disabled in the Region. +// - DisabledApiException +// The API is disabled in the Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/RegisterUsage func (c *MarketplaceMetering) RegisterUsage(input *RegisterUsageInput) (*RegisterUsageOutput, error) { @@ -433,14 +433,13 @@ const opResolveCustomer = "ResolveCustomer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResolveCustomerRequest method. +// req, resp := client.ResolveCustomerRequest(params) // -// // Example sending a request using the ResolveCustomerRequest method. -// req, resp := client.ResolveCustomerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/ResolveCustomer func (c *MarketplaceMetering) ResolveCustomerRequest(input *ResolveCustomerInput) (req *request.Request, output *ResolveCustomerOutput) { @@ -482,25 +481,26 @@ func (c *MarketplaceMetering) ResolveCustomerRequest(input *ResolveCustomerInput // API operation ResolveCustomer for usage and error information. // // Returned Error Types: -// * InvalidTokenException -// Registration token is invalid. // -// * ExpiredTokenException -// The submitted registration token has expired. This can happen if the buyer's -// browser takes too long to redirect to your page, the buyer has resubmitted -// the registration token, or your application has held on to the registration -// token for too long. Your SaaS registration website should redeem this token -// as soon as it is submitted by the buyer's browser. +// - InvalidTokenException +// Registration token is invalid. +// +// - ExpiredTokenException +// The submitted registration token has expired. This can happen if the buyer's +// browser takes too long to redirect to your page, the buyer has resubmitted +// the registration token, or your application has held on to the registration +// token for too long. Your SaaS registration website should redeem this token +// as soon as it is submitted by the buyer's browser. // -// * ThrottlingException -// The calls to the API are throttled. +// - ThrottlingException +// The calls to the API are throttled. // -// * InternalServiceErrorException -// An internal error has occurred. Retry your request. If the problem persists, -// post a message with details on the AWS forums. +// - InternalServiceErrorException +// An internal error has occurred. Retry your request. If the problem persists, +// post a message with details on the AWS forums. // -// * DisabledApiException -// The API is disabled in the Region. +// - DisabledApiException +// The API is disabled in the Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/ResolveCustomer func (c *MarketplaceMetering) ResolveCustomer(input *ResolveCustomerInput) (*ResolveCustomerOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/doc.go index 6066d32cec40..b5d9089585d7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/doc.go @@ -15,30 +15,30 @@ // // Submitting Metering Records // -// * MeterUsage - Submits the metering record for an AWS Marketplace product. -// MeterUsage is called from an EC2 instance or a container running on EKS -// or ECS. +// - MeterUsage - Submits the metering record for an AWS Marketplace product. +// MeterUsage is called from an EC2 instance or a container running on EKS +// or ECS. // -// * BatchMeterUsage - Submits the metering record for a set of customers. -// BatchMeterUsage is called from a software-as-a-service (SaaS) application. +// - BatchMeterUsage - Submits the metering record for a set of customers. +// BatchMeterUsage is called from a software-as-a-service (SaaS) application. // // Accepting New Customers // -// * ResolveCustomer - Called by a SaaS application during the registration -// process. When a buyer visits your website during the registration process, -// the buyer submits a Registration Token through the browser. The Registration -// Token is resolved through this API to obtain a CustomerIdentifier along -// with the CustomerAWSAccountId and ProductCode. +// - ResolveCustomer - Called by a SaaS application during the registration +// process. When a buyer visits your website during the registration process, +// the buyer submits a Registration Token through the browser. The Registration +// Token is resolved through this API to obtain a CustomerIdentifier along +// with the CustomerAWSAccountId and ProductCode. // // Entitlement and Metering for Paid Container Products // -// * Paid container software products sold through AWS Marketplace must integrate -// with the AWS Marketplace Metering Service and call the RegisterUsage operation -// for software entitlement and metering. Free and BYOL products for Amazon -// ECS or Amazon EKS aren't required to call RegisterUsage, but you can do -// so if you want to receive usage data in your seller reports. For more -// information on using the RegisterUsage operation, see Container-Based -// Products (https://docs.aws.amazon.com/marketplace/latest/userguide/container-based-products.html). +// - Paid container software products sold through AWS Marketplace must integrate +// with the AWS Marketplace Metering Service and call the RegisterUsage operation +// for software entitlement and metering. Free and BYOL products for Amazon +// ECS or Amazon EKS aren't required to call RegisterUsage, but you can do +// so if you want to receive usage data in your seller reports. For more +// information on using the RegisterUsage operation, see Container-Based +// Products (https://docs.aws.amazon.com/marketplace/latest/userguide/container-based-products.html). // // BatchMeterUsage API calls are captured by AWS CloudTrail. You can use Cloudtrail // to verify that the SaaS metering records that you sent are accurate by searching @@ -51,7 +51,7 @@ // See marketplacemetering package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/marketplacemetering/ // -// Using the Client +// # Using the Client // // To contact AWSMarketplace Metering with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/marketplacemeteringiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/marketplacemeteringiface/interface.go index 21f0c99fe498..ce895d17a6e1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/marketplacemeteringiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/marketplacemeteringiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWSMarketplace Metering. -// func myFunc(svc marketplacemeteringiface.MarketplaceMeteringAPI) bool { -// // Make svc.BatchMeterUsage request -// } +// // myFunc uses an SDK service client to make a request to +// // AWSMarketplace Metering. +// func myFunc(svc marketplacemeteringiface.MarketplaceMeteringAPI) bool { +// // Make svc.BatchMeterUsage request +// } // -// func main() { -// sess := session.New() -// svc := marketplacemetering.New(sess) +// func main() { +// sess := session.New() +// svc := marketplacemetering.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMarketplaceMeteringClient struct { -// marketplacemeteringiface.MarketplaceMeteringAPI -// } -// func (m *mockMarketplaceMeteringClient) BatchMeterUsage(input *marketplacemetering.BatchMeterUsageInput) (*marketplacemetering.BatchMeterUsageOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMarketplaceMeteringClient struct { +// marketplacemeteringiface.MarketplaceMeteringAPI +// } +// func (m *mockMarketplaceMeteringClient) BatchMeterUsage(input *marketplacemetering.BatchMeterUsageInput) (*marketplacemetering.BatchMeterUsageOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMarketplaceMeteringClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMarketplaceMeteringClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/service.go index 1a22f37d0f50..f831b17e6282 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/marketplacemetering/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MarketplaceMetering client from just a session. -// svc := marketplacemetering.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MarketplaceMetering client with additional configuration -// svc := marketplacemetering.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MarketplaceMetering client from just a session. +// svc := marketplacemetering.New(mySession) +// +// // Create a MarketplaceMetering client with additional configuration +// svc := marketplacemetering.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MarketplaceMetering { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/api.go index 450409ad5709..cb6741265232 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/api.go @@ -28,14 +28,13 @@ const opAddFlowMediaStreams = "AddFlowMediaStreams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddFlowMediaStreamsRequest method. +// req, resp := client.AddFlowMediaStreamsRequest(params) // -// // Example sending a request using the AddFlowMediaStreamsRequest method. -// req, resp := client.AddFlowMediaStreamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowMediaStreams func (c *MediaConnect) AddFlowMediaStreamsRequest(input *AddFlowMediaStreamsInput) (req *request.Request, output *AddFlowMediaStreamsOutput) { @@ -68,35 +67,36 @@ func (c *MediaConnect) AddFlowMediaStreamsRequest(input *AddFlowMediaStreamsInpu // API operation AddFlowMediaStreams for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowMediaStreams func (c *MediaConnect) AddFlowMediaStreams(input *AddFlowMediaStreamsInput) (*AddFlowMediaStreamsOutput, error) { @@ -136,14 +136,13 @@ const opAddFlowOutputs = "AddFlowOutputs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddFlowOutputsRequest method. +// req, resp := client.AddFlowOutputsRequest(params) // -// // Example sending a request using the AddFlowOutputsRequest method. -// req, resp := client.AddFlowOutputsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowOutputs func (c *MediaConnect) AddFlowOutputsRequest(input *AddFlowOutputsInput) (req *request.Request, output *AddFlowOutputsOutput) { @@ -174,40 +173,41 @@ func (c *MediaConnect) AddFlowOutputsRequest(input *AddFlowOutputsInput) (req *r // API operation AddFlowOutputs for usage and error information. // // Returned Error Types: -// * AddFlowOutputs420Exception -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - AddFlowOutputs420Exception +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowOutputs func (c *MediaConnect) AddFlowOutputs(input *AddFlowOutputsInput) (*AddFlowOutputsOutput, error) { @@ -247,14 +247,13 @@ const opAddFlowSources = "AddFlowSources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddFlowSourcesRequest method. +// req, resp := client.AddFlowSourcesRequest(params) // -// // Example sending a request using the AddFlowSourcesRequest method. -// req, resp := client.AddFlowSourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowSources func (c *MediaConnect) AddFlowSourcesRequest(input *AddFlowSourcesInput) (req *request.Request, output *AddFlowSourcesOutput) { @@ -275,7 +274,7 @@ func (c *MediaConnect) AddFlowSourcesRequest(input *AddFlowSourcesInput) (req *r // AddFlowSources API operation for AWS MediaConnect. // -// Adds Sources to flow +// # Adds Sources to flow // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -285,35 +284,36 @@ func (c *MediaConnect) AddFlowSourcesRequest(input *AddFlowSourcesInput) (req *r // API operation AddFlowSources for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowSources func (c *MediaConnect) AddFlowSources(input *AddFlowSourcesInput) (*AddFlowSourcesOutput, error) { @@ -353,14 +353,13 @@ const opAddFlowVpcInterfaces = "AddFlowVpcInterfaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddFlowVpcInterfacesRequest method. +// req, resp := client.AddFlowVpcInterfacesRequest(params) // -// // Example sending a request using the AddFlowVpcInterfacesRequest method. -// req, resp := client.AddFlowVpcInterfacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowVpcInterfaces func (c *MediaConnect) AddFlowVpcInterfacesRequest(input *AddFlowVpcInterfacesInput) (req *request.Request, output *AddFlowVpcInterfacesOutput) { @@ -381,7 +380,7 @@ func (c *MediaConnect) AddFlowVpcInterfacesRequest(input *AddFlowVpcInterfacesIn // AddFlowVpcInterfaces API operation for AWS MediaConnect. // -// Adds VPC interfaces to flow +// # Adds VPC interfaces to flow // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -391,35 +390,36 @@ func (c *MediaConnect) AddFlowVpcInterfacesRequest(input *AddFlowVpcInterfacesIn // API operation AddFlowVpcInterfaces for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowVpcInterfaces func (c *MediaConnect) AddFlowVpcInterfaces(input *AddFlowVpcInterfacesInput) (*AddFlowVpcInterfacesOutput, error) { @@ -459,14 +459,13 @@ const opCreateFlow = "CreateFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFlowRequest method. +// req, resp := client.CreateFlowRequest(params) // -// // Example sending a request using the CreateFlowRequest method. -// req, resp := client.CreateFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlow func (c *MediaConnect) CreateFlowRequest(input *CreateFlowInput) (req *request.Request, output *CreateFlowOutput) { @@ -498,35 +497,36 @@ func (c *MediaConnect) CreateFlowRequest(input *CreateFlowInput) (req *request.R // API operation CreateFlow for usage and error information. // // Returned Error Types: -// * CreateFlow420Exception -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - CreateFlow420Exception +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/CreateFlow func (c *MediaConnect) CreateFlow(input *CreateFlowInput) (*CreateFlowOutput, error) { @@ -566,14 +566,13 @@ const opDeleteFlow = "DeleteFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFlowRequest method. +// req, resp := client.DeleteFlowRequest(params) // -// // Example sending a request using the DeleteFlowRequest method. -// req, resp := client.DeleteFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DeleteFlow func (c *MediaConnect) DeleteFlowRequest(input *DeleteFlowInput) (req *request.Request, output *DeleteFlowOutput) { @@ -604,35 +603,36 @@ func (c *MediaConnect) DeleteFlowRequest(input *DeleteFlowInput) (req *request.R // API operation DeleteFlow for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DeleteFlow func (c *MediaConnect) DeleteFlow(input *DeleteFlowInput) (*DeleteFlowOutput, error) { @@ -672,14 +672,13 @@ const opDescribeFlow = "DescribeFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFlowRequest method. +// req, resp := client.DescribeFlowRequest(params) // -// // Example sending a request using the DescribeFlowRequest method. -// req, resp := client.DescribeFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeFlow func (c *MediaConnect) DescribeFlowRequest(input *DescribeFlowInput) (req *request.Request, output *DescribeFlowOutput) { @@ -712,35 +711,36 @@ func (c *MediaConnect) DescribeFlowRequest(input *DescribeFlowInput) (req *reque // API operation DescribeFlow for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeFlow func (c *MediaConnect) DescribeFlow(input *DescribeFlowInput) (*DescribeFlowOutput, error) { @@ -780,14 +780,13 @@ const opDescribeOffering = "DescribeOffering" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOfferingRequest method. +// req, resp := client.DescribeOfferingRequest(params) // -// // Example sending a request using the DescribeOfferingRequest method. -// req, resp := client.DescribeOfferingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeOffering func (c *MediaConnect) DescribeOfferingRequest(input *DescribeOfferingInput) (req *request.Request, output *DescribeOfferingOutput) { @@ -819,30 +818,31 @@ func (c *MediaConnect) DescribeOfferingRequest(input *DescribeOfferingInput) (re // API operation DescribeOffering for usage and error information. // // Returned Error Types: -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeOffering func (c *MediaConnect) DescribeOffering(input *DescribeOfferingInput) (*DescribeOfferingOutput, error) { @@ -882,14 +882,13 @@ const opDescribeReservation = "DescribeReservation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservationRequest method. +// req, resp := client.DescribeReservationRequest(params) // -// // Example sending a request using the DescribeReservationRequest method. -// req, resp := client.DescribeReservationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeReservation func (c *MediaConnect) DescribeReservationRequest(input *DescribeReservationInput) (req *request.Request, output *DescribeReservationOutput) { @@ -922,30 +921,31 @@ func (c *MediaConnect) DescribeReservationRequest(input *DescribeReservationInpu // API operation DescribeReservation for usage and error information. // // Returned Error Types: -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeReservation func (c *MediaConnect) DescribeReservation(input *DescribeReservationInput) (*DescribeReservationOutput, error) { @@ -985,14 +985,13 @@ const opGrantFlowEntitlements = "GrantFlowEntitlements" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GrantFlowEntitlementsRequest method. +// req, resp := client.GrantFlowEntitlementsRequest(params) // -// // Example sending a request using the GrantFlowEntitlementsRequest method. -// req, resp := client.GrantFlowEntitlementsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/GrantFlowEntitlements func (c *MediaConnect) GrantFlowEntitlementsRequest(input *GrantFlowEntitlementsInput) (req *request.Request, output *GrantFlowEntitlementsOutput) { @@ -1023,40 +1022,41 @@ func (c *MediaConnect) GrantFlowEntitlementsRequest(input *GrantFlowEntitlements // API operation GrantFlowEntitlements for usage and error information. // // Returned Error Types: -// * GrantFlowEntitlements420Exception -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - GrantFlowEntitlements420Exception +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/GrantFlowEntitlements func (c *MediaConnect) GrantFlowEntitlements(input *GrantFlowEntitlementsInput) (*GrantFlowEntitlementsOutput, error) { @@ -1096,14 +1096,13 @@ const opListEntitlements = "ListEntitlements" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEntitlementsRequest method. +// req, resp := client.ListEntitlementsRequest(params) // -// // Example sending a request using the ListEntitlementsRequest method. -// req, resp := client.ListEntitlementsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListEntitlements func (c *MediaConnect) ListEntitlementsRequest(input *ListEntitlementsInput) (req *request.Request, output *ListEntitlementsOutput) { @@ -1141,25 +1140,26 @@ func (c *MediaConnect) ListEntitlementsRequest(input *ListEntitlementsInput) (re // API operation ListEntitlements for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListEntitlements func (c *MediaConnect) ListEntitlements(input *ListEntitlementsInput) (*ListEntitlementsOutput, error) { @@ -1191,15 +1191,14 @@ func (c *MediaConnect) ListEntitlementsWithContext(ctx aws.Context, input *ListE // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEntitlements operation. -// pageNum := 0 -// err := client.ListEntitlementsPages(params, -// func(page *mediaconnect.ListEntitlementsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEntitlements operation. +// pageNum := 0 +// err := client.ListEntitlementsPages(params, +// func(page *mediaconnect.ListEntitlementsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaConnect) ListEntitlementsPages(input *ListEntitlementsInput, fn func(*ListEntitlementsOutput, bool) bool) error { return c.ListEntitlementsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1251,14 +1250,13 @@ const opListFlows = "ListFlows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFlowsRequest method. +// req, resp := client.ListFlowsRequest(params) // -// // Example sending a request using the ListFlowsRequest method. -// req, resp := client.ListFlowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListFlows func (c *MediaConnect) ListFlowsRequest(input *ListFlowsInput) (req *request.Request, output *ListFlowsOutput) { @@ -1296,25 +1294,26 @@ func (c *MediaConnect) ListFlowsRequest(input *ListFlowsInput) (req *request.Req // API operation ListFlows for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListFlows func (c *MediaConnect) ListFlows(input *ListFlowsInput) (*ListFlowsOutput, error) { @@ -1346,15 +1345,14 @@ func (c *MediaConnect) ListFlowsWithContext(ctx aws.Context, input *ListFlowsInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFlows operation. -// pageNum := 0 -// err := client.ListFlowsPages(params, -// func(page *mediaconnect.ListFlowsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFlows operation. +// pageNum := 0 +// err := client.ListFlowsPages(params, +// func(page *mediaconnect.ListFlowsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaConnect) ListFlowsPages(input *ListFlowsInput, fn func(*ListFlowsOutput, bool) bool) error { return c.ListFlowsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1406,14 +1404,13 @@ const opListOfferings = "ListOfferings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOfferingsRequest method. +// req, resp := client.ListOfferingsRequest(params) // -// // Example sending a request using the ListOfferingsRequest method. -// req, resp := client.ListOfferingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListOfferings func (c *MediaConnect) ListOfferingsRequest(input *ListOfferingsInput) (req *request.Request, output *ListOfferingsOutput) { @@ -1453,25 +1450,26 @@ func (c *MediaConnect) ListOfferingsRequest(input *ListOfferingsInput) (req *req // API operation ListOfferings for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListOfferings func (c *MediaConnect) ListOfferings(input *ListOfferingsInput) (*ListOfferingsOutput, error) { @@ -1503,15 +1501,14 @@ func (c *MediaConnect) ListOfferingsWithContext(ctx aws.Context, input *ListOffe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOfferings operation. -// pageNum := 0 -// err := client.ListOfferingsPages(params, -// func(page *mediaconnect.ListOfferingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOfferings operation. +// pageNum := 0 +// err := client.ListOfferingsPages(params, +// func(page *mediaconnect.ListOfferingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaConnect) ListOfferingsPages(input *ListOfferingsInput, fn func(*ListOfferingsOutput, bool) bool) error { return c.ListOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1563,14 +1560,13 @@ const opListReservations = "ListReservations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReservationsRequest method. +// req, resp := client.ListReservationsRequest(params) // -// // Example sending a request using the ListReservationsRequest method. -// req, resp := client.ListReservationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListReservations func (c *MediaConnect) ListReservationsRequest(input *ListReservationsInput) (req *request.Request, output *ListReservationsOutput) { @@ -1609,25 +1605,26 @@ func (c *MediaConnect) ListReservationsRequest(input *ListReservationsInput) (re // API operation ListReservations for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListReservations func (c *MediaConnect) ListReservations(input *ListReservationsInput) (*ListReservationsOutput, error) { @@ -1659,15 +1656,14 @@ func (c *MediaConnect) ListReservationsWithContext(ctx aws.Context, input *ListR // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListReservations operation. -// pageNum := 0 -// err := client.ListReservationsPages(params, -// func(page *mediaconnect.ListReservationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListReservations operation. +// pageNum := 0 +// err := client.ListReservationsPages(params, +// func(page *mediaconnect.ListReservationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaConnect) ListReservationsPages(input *ListReservationsInput, fn func(*ListReservationsOutput, bool) bool) error { return c.ListReservationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1719,14 +1715,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListTagsForResource func (c *MediaConnect) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1747,7 +1742,7 @@ func (c *MediaConnect) ListTagsForResourceRequest(input *ListTagsForResourceInpu // ListTagsForResource API operation for AWS MediaConnect. // -// List all tags on an AWS Elemental MediaConnect resource +// # List all tags on an AWS Elemental MediaConnect resource // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1757,20 +1752,21 @@ func (c *MediaConnect) ListTagsForResourceRequest(input *ListTagsForResourceInpu // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. // -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListTagsForResource func (c *MediaConnect) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1810,14 +1806,13 @@ const opPurchaseOffering = "PurchaseOffering" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PurchaseOfferingRequest method. +// req, resp := client.PurchaseOfferingRequest(params) // -// // Example sending a request using the PurchaseOfferingRequest method. -// req, resp := client.PurchaseOfferingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/PurchaseOffering func (c *MediaConnect) PurchaseOfferingRequest(input *PurchaseOfferingInput) (req *request.Request, output *PurchaseOfferingOutput) { @@ -1849,35 +1844,36 @@ func (c *MediaConnect) PurchaseOfferingRequest(input *PurchaseOfferingInput) (re // API operation PurchaseOffering for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/PurchaseOffering func (c *MediaConnect) PurchaseOffering(input *PurchaseOfferingInput) (*PurchaseOfferingOutput, error) { @@ -1917,14 +1913,13 @@ const opRemoveFlowMediaStream = "RemoveFlowMediaStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveFlowMediaStreamRequest method. +// req, resp := client.RemoveFlowMediaStreamRequest(params) // -// // Example sending a request using the RemoveFlowMediaStreamRequest method. -// req, resp := client.RemoveFlowMediaStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowMediaStream func (c *MediaConnect) RemoveFlowMediaStreamRequest(input *RemoveFlowMediaStreamInput) (req *request.Request, output *RemoveFlowMediaStreamOutput) { @@ -1956,35 +1951,36 @@ func (c *MediaConnect) RemoveFlowMediaStreamRequest(input *RemoveFlowMediaStream // API operation RemoveFlowMediaStream for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowMediaStream func (c *MediaConnect) RemoveFlowMediaStream(input *RemoveFlowMediaStreamInput) (*RemoveFlowMediaStreamOutput, error) { @@ -2024,14 +2020,13 @@ const opRemoveFlowOutput = "RemoveFlowOutput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveFlowOutputRequest method. +// req, resp := client.RemoveFlowOutputRequest(params) // -// // Example sending a request using the RemoveFlowOutputRequest method. -// req, resp := client.RemoveFlowOutputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowOutput func (c *MediaConnect) RemoveFlowOutputRequest(input *RemoveFlowOutputInput) (req *request.Request, output *RemoveFlowOutputOutput) { @@ -2066,35 +2061,36 @@ func (c *MediaConnect) RemoveFlowOutputRequest(input *RemoveFlowOutputInput) (re // API operation RemoveFlowOutput for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowOutput func (c *MediaConnect) RemoveFlowOutput(input *RemoveFlowOutputInput) (*RemoveFlowOutputOutput, error) { @@ -2134,14 +2130,13 @@ const opRemoveFlowSource = "RemoveFlowSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveFlowSourceRequest method. +// req, resp := client.RemoveFlowSourceRequest(params) // -// // Example sending a request using the RemoveFlowSourceRequest method. -// req, resp := client.RemoveFlowSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowSource func (c *MediaConnect) RemoveFlowSourceRequest(input *RemoveFlowSourceInput) (req *request.Request, output *RemoveFlowSourceOutput) { @@ -2173,35 +2168,36 @@ func (c *MediaConnect) RemoveFlowSourceRequest(input *RemoveFlowSourceInput) (re // API operation RemoveFlowSource for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowSource func (c *MediaConnect) RemoveFlowSource(input *RemoveFlowSourceInput) (*RemoveFlowSourceOutput, error) { @@ -2241,14 +2237,13 @@ const opRemoveFlowVpcInterface = "RemoveFlowVpcInterface" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveFlowVpcInterfaceRequest method. +// req, resp := client.RemoveFlowVpcInterfaceRequest(params) // -// // Example sending a request using the RemoveFlowVpcInterfaceRequest method. -// req, resp := client.RemoveFlowVpcInterfaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowVpcInterface func (c *MediaConnect) RemoveFlowVpcInterfaceRequest(input *RemoveFlowVpcInterfaceInput) (req *request.Request, output *RemoveFlowVpcInterfaceOutput) { @@ -2282,35 +2277,36 @@ func (c *MediaConnect) RemoveFlowVpcInterfaceRequest(input *RemoveFlowVpcInterfa // API operation RemoveFlowVpcInterface for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowVpcInterface func (c *MediaConnect) RemoveFlowVpcInterface(input *RemoveFlowVpcInterfaceInput) (*RemoveFlowVpcInterfaceOutput, error) { @@ -2350,14 +2346,13 @@ const opRevokeFlowEntitlement = "RevokeFlowEntitlement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeFlowEntitlementRequest method. +// req, resp := client.RevokeFlowEntitlementRequest(params) // -// // Example sending a request using the RevokeFlowEntitlementRequest method. -// req, resp := client.RevokeFlowEntitlementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RevokeFlowEntitlement func (c *MediaConnect) RevokeFlowEntitlementRequest(input *RevokeFlowEntitlementInput) (req *request.Request, output *RevokeFlowEntitlementOutput) { @@ -2389,35 +2384,36 @@ func (c *MediaConnect) RevokeFlowEntitlementRequest(input *RevokeFlowEntitlement // API operation RevokeFlowEntitlement for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RevokeFlowEntitlement func (c *MediaConnect) RevokeFlowEntitlement(input *RevokeFlowEntitlementInput) (*RevokeFlowEntitlementOutput, error) { @@ -2457,14 +2453,13 @@ const opStartFlow = "StartFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartFlowRequest method. +// req, resp := client.StartFlowRequest(params) // -// // Example sending a request using the StartFlowRequest method. -// req, resp := client.StartFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StartFlow func (c *MediaConnect) StartFlowRequest(input *StartFlowInput) (req *request.Request, output *StartFlowOutput) { @@ -2495,35 +2490,36 @@ func (c *MediaConnect) StartFlowRequest(input *StartFlowInput) (req *request.Req // API operation StartFlow for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StartFlow func (c *MediaConnect) StartFlow(input *StartFlowInput) (*StartFlowOutput, error) { @@ -2563,14 +2559,13 @@ const opStopFlow = "StopFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopFlowRequest method. +// req, resp := client.StopFlowRequest(params) // -// // Example sending a request using the StopFlowRequest method. -// req, resp := client.StopFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StopFlow func (c *MediaConnect) StopFlowRequest(input *StopFlowInput) (req *request.Request, output *StopFlowOutput) { @@ -2601,35 +2596,36 @@ func (c *MediaConnect) StopFlowRequest(input *StopFlowInput) (req *request.Reque // API operation StopFlow for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/StopFlow func (c *MediaConnect) StopFlow(input *StopFlowInput) (*StopFlowOutput, error) { @@ -2669,14 +2665,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/TagResource func (c *MediaConnect) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2711,20 +2706,21 @@ func (c *MediaConnect) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. // -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/TagResource func (c *MediaConnect) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2764,14 +2760,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UntagResource func (c *MediaConnect) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2803,20 +2798,21 @@ func (c *MediaConnect) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. // -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UntagResource func (c *MediaConnect) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2856,14 +2852,13 @@ const opUpdateFlow = "UpdateFlow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFlowRequest method. +// req, resp := client.UpdateFlowRequest(params) // -// // Example sending a request using the UpdateFlowRequest method. -// req, resp := client.UpdateFlowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlow func (c *MediaConnect) UpdateFlowRequest(input *UpdateFlowInput) (req *request.Request, output *UpdateFlowOutput) { @@ -2884,7 +2879,7 @@ func (c *MediaConnect) UpdateFlowRequest(input *UpdateFlowInput) (req *request.R // UpdateFlow API operation for AWS MediaConnect. // -// Updates flow +// # Updates flow // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2894,35 +2889,36 @@ func (c *MediaConnect) UpdateFlowRequest(input *UpdateFlowInput) (req *request.R // API operation UpdateFlow for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlow func (c *MediaConnect) UpdateFlow(input *UpdateFlowInput) (*UpdateFlowOutput, error) { @@ -2962,14 +2958,13 @@ const opUpdateFlowEntitlement = "UpdateFlowEntitlement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFlowEntitlementRequest method. +// req, resp := client.UpdateFlowEntitlementRequest(params) // -// // Example sending a request using the UpdateFlowEntitlementRequest method. -// req, resp := client.UpdateFlowEntitlementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowEntitlement func (c *MediaConnect) UpdateFlowEntitlementRequest(input *UpdateFlowEntitlementInput) (req *request.Request, output *UpdateFlowEntitlementOutput) { @@ -3002,35 +2997,36 @@ func (c *MediaConnect) UpdateFlowEntitlementRequest(input *UpdateFlowEntitlement // API operation UpdateFlowEntitlement for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowEntitlement func (c *MediaConnect) UpdateFlowEntitlement(input *UpdateFlowEntitlementInput) (*UpdateFlowEntitlementOutput, error) { @@ -3070,14 +3066,13 @@ const opUpdateFlowMediaStream = "UpdateFlowMediaStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFlowMediaStreamRequest method. +// req, resp := client.UpdateFlowMediaStreamRequest(params) // -// // Example sending a request using the UpdateFlowMediaStreamRequest method. -// req, resp := client.UpdateFlowMediaStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowMediaStream func (c *MediaConnect) UpdateFlowMediaStreamRequest(input *UpdateFlowMediaStreamInput) (req *request.Request, output *UpdateFlowMediaStreamOutput) { @@ -3108,35 +3103,36 @@ func (c *MediaConnect) UpdateFlowMediaStreamRequest(input *UpdateFlowMediaStream // API operation UpdateFlowMediaStream for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowMediaStream func (c *MediaConnect) UpdateFlowMediaStream(input *UpdateFlowMediaStreamInput) (*UpdateFlowMediaStreamOutput, error) { @@ -3176,14 +3172,13 @@ const opUpdateFlowOutput = "UpdateFlowOutput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFlowOutputRequest method. +// req, resp := client.UpdateFlowOutputRequest(params) // -// // Example sending a request using the UpdateFlowOutputRequest method. -// req, resp := client.UpdateFlowOutputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutput func (c *MediaConnect) UpdateFlowOutputRequest(input *UpdateFlowOutputInput) (req *request.Request, output *UpdateFlowOutputOutput) { @@ -3214,35 +3209,36 @@ func (c *MediaConnect) UpdateFlowOutputRequest(input *UpdateFlowOutputInput) (re // API operation UpdateFlowOutput for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowOutput func (c *MediaConnect) UpdateFlowOutput(input *UpdateFlowOutputInput) (*UpdateFlowOutputOutput, error) { @@ -3282,14 +3278,13 @@ const opUpdateFlowSource = "UpdateFlowSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFlowSourceRequest method. +// req, resp := client.UpdateFlowSourceRequest(params) // -// // Example sending a request using the UpdateFlowSourceRequest method. -// req, resp := client.UpdateFlowSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowSource func (c *MediaConnect) UpdateFlowSourceRequest(input *UpdateFlowSourceInput) (req *request.Request, output *UpdateFlowSourceOutput) { @@ -3320,35 +3315,36 @@ func (c *MediaConnect) UpdateFlowSourceRequest(input *UpdateFlowSourceInput) (re // API operation UpdateFlowSource for usage and error information. // // Returned Error Types: -// * BadRequestException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * InternalServerErrorException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ForbiddenException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * NotFoundException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * ServiceUnavailableException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. -// -// * TooManyRequestsException -// Exception raised by AWS Elemental MediaConnect. See the error message and -// documentation for the operation for more information on the cause of this -// exception. +// +// - BadRequestException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - InternalServerErrorException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ForbiddenException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - NotFoundException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - ServiceUnavailableException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. +// +// - TooManyRequestsException +// Exception raised by AWS Elemental MediaConnect. See the error message and +// documentation for the operation for more information on the cause of this +// exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowSource func (c *MediaConnect) UpdateFlowSource(input *UpdateFlowSourceInput) (*UpdateFlowSourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/doc.go index 95de09e77ba6..5b60315beae4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/doc.go @@ -3,14 +3,14 @@ // Package mediaconnect provides the client and types for making API // requests to AWS MediaConnect. // -// API for AWS Elemental MediaConnect +// # API for AWS Elemental MediaConnect // // See https://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14 for more information on this service. // // See mediaconnect package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/mediaconnect/ // -// Using the Client +// # Using the Client // // To contact AWS MediaConnect with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/mediaconnectiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/mediaconnectiface/interface.go index 013143210418..fc30b101a2f6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/mediaconnectiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/mediaconnectiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS MediaConnect. -// func myFunc(svc mediaconnectiface.MediaConnectAPI) bool { -// // Make svc.AddFlowMediaStreams request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS MediaConnect. +// func myFunc(svc mediaconnectiface.MediaConnectAPI) bool { +// // Make svc.AddFlowMediaStreams request +// } // -// func main() { -// sess := session.New() -// svc := mediaconnect.New(sess) +// func main() { +// sess := session.New() +// svc := mediaconnect.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMediaConnectClient struct { -// mediaconnectiface.MediaConnectAPI -// } -// func (m *mockMediaConnectClient) AddFlowMediaStreams(input *mediaconnect.AddFlowMediaStreamsInput) (*mediaconnect.AddFlowMediaStreamsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMediaConnectClient struct { +// mediaconnectiface.MediaConnectAPI +// } +// func (m *mockMediaConnectClient) AddFlowMediaStreams(input *mediaconnect.AddFlowMediaStreamsInput) (*mediaconnect.AddFlowMediaStreamsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMediaConnectClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMediaConnectClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/service.go index 059c9bf83d3d..823644a610e9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconnect/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MediaConnect client from just a session. -// svc := mediaconnect.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MediaConnect client with additional configuration -// svc := mediaconnect.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MediaConnect client from just a session. +// svc := mediaconnect.New(mySession) +// +// // Create a MediaConnect client with additional configuration +// svc := mediaconnect.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaConnect { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/api.go index a6063944b769..cfe84a0d636f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/api.go @@ -29,14 +29,13 @@ const opAssociateCertificate = "AssociateCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateCertificateRequest method. +// req, resp := client.AssociateCertificateRequest(params) // -// // Example sending a request using the AssociateCertificateRequest method. -// req, resp := client.AssociateCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AssociateCertificate func (c *MediaConvert) AssociateCertificateRequest(input *AssociateCertificateInput) (req *request.Request, output *AssociateCertificateOutput) { @@ -69,17 +68,18 @@ func (c *MediaConvert) AssociateCertificateRequest(input *AssociateCertificateIn // API operation AssociateCertificate for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AssociateCertificate func (c *MediaConvert) AssociateCertificate(input *AssociateCertificateInput) (*AssociateCertificateOutput, error) { @@ -119,14 +119,13 @@ const opCancelJob = "CancelJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelJobRequest method. +// req, resp := client.CancelJobRequest(params) // -// // Example sending a request using the CancelJobRequest method. -// req, resp := client.CancelJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CancelJob func (c *MediaConvert) CancelJobRequest(input *CancelJobInput) (req *request.Request, output *CancelJobOutput) { @@ -159,17 +158,18 @@ func (c *MediaConvert) CancelJobRequest(input *CancelJobInput) (req *request.Req // API operation CancelJob for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CancelJob func (c *MediaConvert) CancelJob(input *CancelJobInput) (*CancelJobOutput, error) { @@ -209,14 +209,13 @@ const opCreateJob = "CreateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateJobRequest method. +// req, resp := client.CreateJobRequest(params) // -// // Example sending a request using the CreateJobRequest method. -// req, resp := client.CreateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJob func (c *MediaConvert) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobOutput) { @@ -248,17 +247,18 @@ func (c *MediaConvert) CreateJobRequest(input *CreateJobInput) (req *request.Req // API operation CreateJob for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJob func (c *MediaConvert) CreateJob(input *CreateJobInput) (*CreateJobOutput, error) { @@ -298,14 +298,13 @@ const opCreateJobTemplate = "CreateJobTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateJobTemplateRequest method. +// req, resp := client.CreateJobTemplateRequest(params) // -// // Example sending a request using the CreateJobTemplateRequest method. -// req, resp := client.CreateJobTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJobTemplate func (c *MediaConvert) CreateJobTemplateRequest(input *CreateJobTemplateInput) (req *request.Request, output *CreateJobTemplateOutput) { @@ -337,17 +336,18 @@ func (c *MediaConvert) CreateJobTemplateRequest(input *CreateJobTemplateInput) ( // API operation CreateJobTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateJobTemplate func (c *MediaConvert) CreateJobTemplate(input *CreateJobTemplateInput) (*CreateJobTemplateOutput, error) { @@ -387,14 +387,13 @@ const opCreatePreset = "CreatePreset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePresetRequest method. +// req, resp := client.CreatePresetRequest(params) // -// // Example sending a request using the CreatePresetRequest method. -// req, resp := client.CreatePresetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreatePreset func (c *MediaConvert) CreatePresetRequest(input *CreatePresetInput) (req *request.Request, output *CreatePresetOutput) { @@ -426,17 +425,18 @@ func (c *MediaConvert) CreatePresetRequest(input *CreatePresetInput) (req *reque // API operation CreatePreset for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreatePreset func (c *MediaConvert) CreatePreset(input *CreatePresetInput) (*CreatePresetOutput, error) { @@ -476,14 +476,13 @@ const opCreateQueue = "CreateQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateQueueRequest method. +// req, resp := client.CreateQueueRequest(params) // -// // Example sending a request using the CreateQueueRequest method. -// req, resp := client.CreateQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateQueue func (c *MediaConvert) CreateQueueRequest(input *CreateQueueInput) (req *request.Request, output *CreateQueueOutput) { @@ -515,17 +514,18 @@ func (c *MediaConvert) CreateQueueRequest(input *CreateQueueInput) (req *request // API operation CreateQueue for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/CreateQueue func (c *MediaConvert) CreateQueue(input *CreateQueueInput) (*CreateQueueOutput, error) { @@ -565,14 +565,13 @@ const opDeleteJobTemplate = "DeleteJobTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteJobTemplateRequest method. +// req, resp := client.DeleteJobTemplateRequest(params) // -// // Example sending a request using the DeleteJobTemplateRequest method. -// req, resp := client.DeleteJobTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeleteJobTemplate func (c *MediaConvert) DeleteJobTemplateRequest(input *DeleteJobTemplateInput) (req *request.Request, output *DeleteJobTemplateOutput) { @@ -604,17 +603,18 @@ func (c *MediaConvert) DeleteJobTemplateRequest(input *DeleteJobTemplateInput) ( // API operation DeleteJobTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeleteJobTemplate func (c *MediaConvert) DeleteJobTemplate(input *DeleteJobTemplateInput) (*DeleteJobTemplateOutput, error) { @@ -654,14 +654,13 @@ const opDeletePolicy = "DeletePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePolicyRequest method. +// req, resp := client.DeletePolicyRequest(params) // -// // Example sending a request using the DeletePolicyRequest method. -// req, resp := client.DeletePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeletePolicy func (c *MediaConvert) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Request, output *DeletePolicyOutput) { @@ -693,17 +692,18 @@ func (c *MediaConvert) DeletePolicyRequest(input *DeletePolicyInput) (req *reque // API operation DeletePolicy for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeletePolicy func (c *MediaConvert) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error) { @@ -743,14 +743,13 @@ const opDeletePreset = "DeletePreset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePresetRequest method. +// req, resp := client.DeletePresetRequest(params) // -// // Example sending a request using the DeletePresetRequest method. -// req, resp := client.DeletePresetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeletePreset func (c *MediaConvert) DeletePresetRequest(input *DeletePresetInput) (req *request.Request, output *DeletePresetOutput) { @@ -782,17 +781,18 @@ func (c *MediaConvert) DeletePresetRequest(input *DeletePresetInput) (req *reque // API operation DeletePreset for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeletePreset func (c *MediaConvert) DeletePreset(input *DeletePresetInput) (*DeletePresetOutput, error) { @@ -832,14 +832,13 @@ const opDeleteQueue = "DeleteQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteQueueRequest method. +// req, resp := client.DeleteQueueRequest(params) // -// // Example sending a request using the DeleteQueueRequest method. -// req, resp := client.DeleteQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeleteQueue func (c *MediaConvert) DeleteQueueRequest(input *DeleteQueueInput) (req *request.Request, output *DeleteQueueOutput) { @@ -871,17 +870,18 @@ func (c *MediaConvert) DeleteQueueRequest(input *DeleteQueueInput) (req *request // API operation DeleteQueue for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DeleteQueue func (c *MediaConvert) DeleteQueue(input *DeleteQueueInput) (*DeleteQueueOutput, error) { @@ -921,14 +921,13 @@ const opDescribeEndpoints = "DescribeEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointsRequest method. +// req, resp := client.DescribeEndpointsRequest(params) // -// // Example sending a request using the DescribeEndpointsRequest method. -// req, resp := client.DescribeEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DescribeEndpoints func (c *MediaConvert) DescribeEndpointsRequest(input *DescribeEndpointsInput) (req *request.Request, output *DescribeEndpointsOutput) { @@ -966,17 +965,18 @@ func (c *MediaConvert) DescribeEndpointsRequest(input *DescribeEndpointsInput) ( // API operation DescribeEndpoints for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DescribeEndpoints func (c *MediaConvert) DescribeEndpoints(input *DescribeEndpointsInput) (*DescribeEndpointsOutput, error) { @@ -1008,15 +1008,14 @@ func (c *MediaConvert) DescribeEndpointsWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEndpoints operation. -// pageNum := 0 -// err := client.DescribeEndpointsPages(params, -// func(page *mediaconvert.DescribeEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEndpoints operation. +// pageNum := 0 +// err := client.DescribeEndpointsPages(params, +// func(page *mediaconvert.DescribeEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaConvert) DescribeEndpointsPages(input *DescribeEndpointsInput, fn func(*DescribeEndpointsOutput, bool) bool) error { return c.DescribeEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1068,14 +1067,13 @@ const opDisassociateCertificate = "DisassociateCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateCertificateRequest method. +// req, resp := client.DisassociateCertificateRequest(params) // -// // Example sending a request using the DisassociateCertificateRequest method. -// req, resp := client.DisassociateCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DisassociateCertificate func (c *MediaConvert) DisassociateCertificateRequest(input *DisassociateCertificateInput) (req *request.Request, output *DisassociateCertificateOutput) { @@ -1108,17 +1106,18 @@ func (c *MediaConvert) DisassociateCertificateRequest(input *DisassociateCertifi // API operation DisassociateCertificate for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * TooManyRequestsException +// - NotFoundException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/DisassociateCertificate func (c *MediaConvert) DisassociateCertificate(input *DisassociateCertificateInput) (*DisassociateCertificateOutput, error) { @@ -1158,14 +1157,13 @@ const opGetJob = "GetJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobRequest method. +// req, resp := client.GetJobRequest(params) // -// // Example sending a request using the GetJobRequest method. -// req, resp := client.GetJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJob func (c *MediaConvert) GetJobRequest(input *GetJobInput) (req *request.Request, output *GetJobOutput) { @@ -1196,17 +1194,18 @@ func (c *MediaConvert) GetJobRequest(input *GetJobInput) (req *request.Request, // API operation GetJob for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * TooManyRequestsException +// - NotFoundException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJob func (c *MediaConvert) GetJob(input *GetJobInput) (*GetJobOutput, error) { @@ -1246,14 +1245,13 @@ const opGetJobTemplate = "GetJobTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobTemplateRequest method. +// req, resp := client.GetJobTemplateRequest(params) // -// // Example sending a request using the GetJobTemplateRequest method. -// req, resp := client.GetJobTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJobTemplate func (c *MediaConvert) GetJobTemplateRequest(input *GetJobTemplateInput) (req *request.Request, output *GetJobTemplateOutput) { @@ -1284,17 +1282,18 @@ func (c *MediaConvert) GetJobTemplateRequest(input *GetJobTemplateInput) (req *r // API operation GetJobTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * TooManyRequestsException +// - NotFoundException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetJobTemplate func (c *MediaConvert) GetJobTemplate(input *GetJobTemplateInput) (*GetJobTemplateOutput, error) { @@ -1334,14 +1333,13 @@ const opGetPolicy = "GetPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPolicyRequest method. +// req, resp := client.GetPolicyRequest(params) // -// // Example sending a request using the GetPolicyRequest method. -// req, resp := client.GetPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetPolicy func (c *MediaConvert) GetPolicyRequest(input *GetPolicyInput) (req *request.Request, output *GetPolicyOutput) { @@ -1372,17 +1370,18 @@ func (c *MediaConvert) GetPolicyRequest(input *GetPolicyInput) (req *request.Req // API operation GetPolicy for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetPolicy func (c *MediaConvert) GetPolicy(input *GetPolicyInput) (*GetPolicyOutput, error) { @@ -1422,14 +1421,13 @@ const opGetPreset = "GetPreset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPresetRequest method. +// req, resp := client.GetPresetRequest(params) // -// // Example sending a request using the GetPresetRequest method. -// req, resp := client.GetPresetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetPreset func (c *MediaConvert) GetPresetRequest(input *GetPresetInput) (req *request.Request, output *GetPresetOutput) { @@ -1460,17 +1458,18 @@ func (c *MediaConvert) GetPresetRequest(input *GetPresetInput) (req *request.Req // API operation GetPreset for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetPreset func (c *MediaConvert) GetPreset(input *GetPresetInput) (*GetPresetOutput, error) { @@ -1510,14 +1509,13 @@ const opGetQueue = "GetQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetQueueRequest method. +// req, resp := client.GetQueueRequest(params) // -// // Example sending a request using the GetQueueRequest method. -// req, resp := client.GetQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetQueue func (c *MediaConvert) GetQueueRequest(input *GetQueueInput) (req *request.Request, output *GetQueueOutput) { @@ -1548,17 +1546,18 @@ func (c *MediaConvert) GetQueueRequest(input *GetQueueInput) (req *request.Reque // API operation GetQueue for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/GetQueue func (c *MediaConvert) GetQueue(input *GetQueueInput) (*GetQueueOutput, error) { @@ -1598,14 +1597,13 @@ const opListJobTemplates = "ListJobTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobTemplatesRequest method. +// req, resp := client.ListJobTemplatesRequest(params) // -// // Example sending a request using the ListJobTemplatesRequest method. -// req, resp := client.ListJobTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListJobTemplates func (c *MediaConvert) ListJobTemplatesRequest(input *ListJobTemplatesInput) (req *request.Request, output *ListJobTemplatesOutput) { @@ -1644,17 +1642,18 @@ func (c *MediaConvert) ListJobTemplatesRequest(input *ListJobTemplatesInput) (re // API operation ListJobTemplates for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListJobTemplates func (c *MediaConvert) ListJobTemplates(input *ListJobTemplatesInput) (*ListJobTemplatesOutput, error) { @@ -1686,15 +1685,14 @@ func (c *MediaConvert) ListJobTemplatesWithContext(ctx aws.Context, input *ListJ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobTemplates operation. -// pageNum := 0 -// err := client.ListJobTemplatesPages(params, -// func(page *mediaconvert.ListJobTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobTemplates operation. +// pageNum := 0 +// err := client.ListJobTemplatesPages(params, +// func(page *mediaconvert.ListJobTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaConvert) ListJobTemplatesPages(input *ListJobTemplatesInput, fn func(*ListJobTemplatesOutput, bool) bool) error { return c.ListJobTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1746,14 +1744,13 @@ const opListJobs = "ListJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobsRequest method. +// req, resp := client.ListJobsRequest(params) // -// // Example sending a request using the ListJobsRequest method. -// req, resp := client.ListJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListJobs func (c *MediaConvert) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { @@ -1793,17 +1790,18 @@ func (c *MediaConvert) ListJobsRequest(input *ListJobsInput) (req *request.Reque // API operation ListJobs for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * TooManyRequestsException +// - NotFoundException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListJobs func (c *MediaConvert) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { @@ -1835,15 +1833,14 @@ func (c *MediaConvert) ListJobsWithContext(ctx aws.Context, input *ListJobsInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobs operation. -// pageNum := 0 -// err := client.ListJobsPages(params, -// func(page *mediaconvert.ListJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobs operation. +// pageNum := 0 +// err := client.ListJobsPages(params, +// func(page *mediaconvert.ListJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaConvert) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error { return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1895,14 +1892,13 @@ const opListPresets = "ListPresets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPresetsRequest method. +// req, resp := client.ListPresetsRequest(params) // -// // Example sending a request using the ListPresetsRequest method. -// req, resp := client.ListPresetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListPresets func (c *MediaConvert) ListPresetsRequest(input *ListPresetsInput) (req *request.Request, output *ListPresetsOutput) { @@ -1941,17 +1937,18 @@ func (c *MediaConvert) ListPresetsRequest(input *ListPresetsInput) (req *request // API operation ListPresets for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListPresets func (c *MediaConvert) ListPresets(input *ListPresetsInput) (*ListPresetsOutput, error) { @@ -1983,15 +1980,14 @@ func (c *MediaConvert) ListPresetsWithContext(ctx aws.Context, input *ListPreset // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPresets operation. -// pageNum := 0 -// err := client.ListPresetsPages(params, -// func(page *mediaconvert.ListPresetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPresets operation. +// pageNum := 0 +// err := client.ListPresetsPages(params, +// func(page *mediaconvert.ListPresetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaConvert) ListPresetsPages(input *ListPresetsInput, fn func(*ListPresetsOutput, bool) bool) error { return c.ListPresetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2043,14 +2039,13 @@ const opListQueues = "ListQueues" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListQueuesRequest method. +// req, resp := client.ListQueuesRequest(params) // -// // Example sending a request using the ListQueuesRequest method. -// req, resp := client.ListQueuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListQueues func (c *MediaConvert) ListQueuesRequest(input *ListQueuesInput) (req *request.Request, output *ListQueuesOutput) { @@ -2089,17 +2084,18 @@ func (c *MediaConvert) ListQueuesRequest(input *ListQueuesInput) (req *request.R // API operation ListQueues for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListQueues func (c *MediaConvert) ListQueues(input *ListQueuesInput) (*ListQueuesOutput, error) { @@ -2131,15 +2127,14 @@ func (c *MediaConvert) ListQueuesWithContext(ctx aws.Context, input *ListQueuesI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListQueues operation. -// pageNum := 0 -// err := client.ListQueuesPages(params, -// func(page *mediaconvert.ListQueuesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListQueues operation. +// pageNum := 0 +// err := client.ListQueuesPages(params, +// func(page *mediaconvert.ListQueuesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaConvert) ListQueuesPages(input *ListQueuesInput, fn func(*ListQueuesOutput, bool) bool) error { return c.ListQueuesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2191,14 +2186,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListTagsForResource func (c *MediaConvert) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2229,17 +2223,18 @@ func (c *MediaConvert) ListTagsForResourceRequest(input *ListTagsForResourceInpu // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * TooManyRequestsException +// - NotFoundException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListTagsForResource func (c *MediaConvert) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2279,14 +2274,13 @@ const opPutPolicy = "PutPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPolicyRequest method. +// req, resp := client.PutPolicyRequest(params) // -// // Example sending a request using the PutPolicyRequest method. -// req, resp := client.PutPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/PutPolicy func (c *MediaConvert) PutPolicyRequest(input *PutPolicyInput) (req *request.Request, output *PutPolicyOutput) { @@ -2318,17 +2312,18 @@ func (c *MediaConvert) PutPolicyRequest(input *PutPolicyInput) (req *request.Req // API operation PutPolicy for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * TooManyRequestsException +// - NotFoundException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/PutPolicy func (c *MediaConvert) PutPolicy(input *PutPolicyInput) (*PutPolicyOutput, error) { @@ -2368,14 +2363,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TagResource func (c *MediaConvert) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2408,17 +2402,18 @@ func (c *MediaConvert) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * TooManyRequestsException +// - NotFoundException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/TagResource func (c *MediaConvert) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2458,14 +2453,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UntagResource func (c *MediaConvert) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2498,17 +2492,18 @@ func (c *MediaConvert) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * TooManyRequestsException +// - NotFoundException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UntagResource func (c *MediaConvert) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2548,14 +2543,13 @@ const opUpdateJobTemplate = "UpdateJobTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateJobTemplateRequest method. +// req, resp := client.UpdateJobTemplateRequest(params) // -// // Example sending a request using the UpdateJobTemplateRequest method. -// req, resp := client.UpdateJobTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateJobTemplate func (c *MediaConvert) UpdateJobTemplateRequest(input *UpdateJobTemplateInput) (req *request.Request, output *UpdateJobTemplateOutput) { @@ -2586,17 +2580,18 @@ func (c *MediaConvert) UpdateJobTemplateRequest(input *UpdateJobTemplateInput) ( // API operation UpdateJobTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * TooManyRequestsException +// - NotFoundException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateJobTemplate func (c *MediaConvert) UpdateJobTemplate(input *UpdateJobTemplateInput) (*UpdateJobTemplateOutput, error) { @@ -2636,14 +2631,13 @@ const opUpdatePreset = "UpdatePreset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePresetRequest method. +// req, resp := client.UpdatePresetRequest(params) // -// // Example sending a request using the UpdatePresetRequest method. -// req, resp := client.UpdatePresetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdatePreset func (c *MediaConvert) UpdatePresetRequest(input *UpdatePresetInput) (req *request.Request, output *UpdatePresetOutput) { @@ -2674,17 +2668,18 @@ func (c *MediaConvert) UpdatePresetRequest(input *UpdatePresetInput) (req *reque // API operation UpdatePreset for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * TooManyRequestsException +// - NotFoundException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdatePreset func (c *MediaConvert) UpdatePreset(input *UpdatePresetInput) (*UpdatePresetOutput, error) { @@ -2724,14 +2719,13 @@ const opUpdateQueue = "UpdateQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateQueueRequest method. +// req, resp := client.UpdateQueueRequest(params) // -// // Example sending a request using the UpdateQueueRequest method. -// req, resp := client.UpdateQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateQueue func (c *MediaConvert) UpdateQueueRequest(input *UpdateQueueInput) (req *request.Request, output *UpdateQueueOutput) { @@ -2762,17 +2756,18 @@ func (c *MediaConvert) UpdateQueueRequest(input *UpdateQueueInput) (req *request // API operation UpdateQueue for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/UpdateQueue func (c *MediaConvert) UpdateQueue(input *UpdateQueueInput) (*UpdateQueueOutput, error) { @@ -27399,7 +27394,7 @@ func Av1FramerateConversionAlgorithm_Values() []string { } // 'With AV1 outputs, for rate control mode, MediaConvert supports only quality-defined -// variable bitrate (QVBR). You can''t use CBR or VBR.' +// variable bitrate (QVBR). You can”t use CBR or VBR.' const ( // Av1RateControlModeQvbr is a Av1RateControlMode enum value Av1RateControlModeQvbr = "QVBR" diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/doc.go index f30ea5eb708f..a18224e4fd0d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/doc.go @@ -3,14 +3,14 @@ // Package mediaconvert provides the client and types for making API // requests to AWS Elemental MediaConvert. // -// AWS Elemental MediaConvert +// # AWS Elemental MediaConvert // // See https://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29 for more information on this service. // // See mediaconvert package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/mediaconvert/ // -// Using the Client +// # Using the Client // // To contact AWS Elemental MediaConvert with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/mediaconvertiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/mediaconvertiface/interface.go index 6f85fbafbc82..3df34c8f5a0a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/mediaconvertiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/mediaconvertiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Elemental MediaConvert. -// func myFunc(svc mediaconvertiface.MediaConvertAPI) bool { -// // Make svc.AssociateCertificate request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Elemental MediaConvert. +// func myFunc(svc mediaconvertiface.MediaConvertAPI) bool { +// // Make svc.AssociateCertificate request +// } // -// func main() { -// sess := session.New() -// svc := mediaconvert.New(sess) +// func main() { +// sess := session.New() +// svc := mediaconvert.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMediaConvertClient struct { -// mediaconvertiface.MediaConvertAPI -// } -// func (m *mockMediaConvertClient) AssociateCertificate(input *mediaconvert.AssociateCertificateInput) (*mediaconvert.AssociateCertificateOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMediaConvertClient struct { +// mediaconvertiface.MediaConvertAPI +// } +// func (m *mockMediaConvertClient) AssociateCertificate(input *mediaconvert.AssociateCertificateInput) (*mediaconvert.AssociateCertificateOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMediaConvertClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMediaConvertClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/service.go index 1761b66c94a3..26e1c3fb71b9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediaconvert/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MediaConvert client from just a session. -// svc := mediaconvert.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MediaConvert client with additional configuration -// svc := mediaconvert.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MediaConvert client from just a session. +// svc := mediaconvert.New(mySession) +// +// // Create a MediaConvert client with additional configuration +// svc := mediaconvert.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaConvert { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/api.go index d3580f8b76c9..c1cda1a98ee0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/api.go @@ -30,14 +30,13 @@ const opAcceptInputDeviceTransfer = "AcceptInputDeviceTransfer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptInputDeviceTransferRequest method. +// req, resp := client.AcceptInputDeviceTransferRequest(params) // -// // Example sending a request using the AcceptInputDeviceTransferRequest method. -// req, resp := client.AcceptInputDeviceTransferRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AcceptInputDeviceTransfer func (c *MediaLive) AcceptInputDeviceTransferRequest(input *AcceptInputDeviceTransferInput) (req *request.Request, output *AcceptInputDeviceTransferOutput) { @@ -70,23 +69,24 @@ func (c *MediaLive) AcceptInputDeviceTransferRequest(input *AcceptInputDeviceTra // API operation AcceptInputDeviceTransfer for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnprocessableEntityException +// - BadRequestException +// +// - UnprocessableEntityException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * NotFoundException +// - NotFoundException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AcceptInputDeviceTransfer func (c *MediaLive) AcceptInputDeviceTransfer(input *AcceptInputDeviceTransferInput) (*AcceptInputDeviceTransferOutput, error) { @@ -126,14 +126,13 @@ const opBatchDelete = "BatchDelete" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteRequest method. +// req, resp := client.BatchDeleteRequest(params) // -// // Example sending a request using the BatchDeleteRequest method. -// req, resp := client.BatchDeleteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchDelete func (c *MediaLive) BatchDeleteRequest(input *BatchDeleteInput) (req *request.Request, output *BatchDeleteOutput) { @@ -164,21 +163,22 @@ func (c *MediaLive) BatchDeleteRequest(input *BatchDeleteInput) (req *request.Re // API operation BatchDelete for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * NotFoundException +// - NotFoundException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchDelete func (c *MediaLive) BatchDelete(input *BatchDeleteInput) (*BatchDeleteOutput, error) { @@ -218,14 +218,13 @@ const opBatchStart = "BatchStart" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchStartRequest method. +// req, resp := client.BatchStartRequest(params) // -// // Example sending a request using the BatchStartRequest method. -// req, resp := client.BatchStartRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStart func (c *MediaLive) BatchStartRequest(input *BatchStartInput) (req *request.Request, output *BatchStartOutput) { @@ -246,7 +245,7 @@ func (c *MediaLive) BatchStartRequest(input *BatchStartInput) (req *request.Requ // BatchStart API operation for AWS Elemental MediaLive. // -// Starts existing resources +// # Starts existing resources // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -256,21 +255,22 @@ func (c *MediaLive) BatchStartRequest(input *BatchStartInput) (req *request.Requ // API operation BatchStart for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * NotFoundException +// - NotFoundException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStart func (c *MediaLive) BatchStart(input *BatchStartInput) (*BatchStartOutput, error) { @@ -310,14 +310,13 @@ const opBatchStop = "BatchStop" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchStopRequest method. +// req, resp := client.BatchStopRequest(params) // -// // Example sending a request using the BatchStopRequest method. -// req, resp := client.BatchStopRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStop func (c *MediaLive) BatchStopRequest(input *BatchStopInput) (req *request.Request, output *BatchStopOutput) { @@ -338,7 +337,7 @@ func (c *MediaLive) BatchStopRequest(input *BatchStopInput) (req *request.Reques // BatchStop API operation for AWS Elemental MediaLive. // -// Stops running resources +// # Stops running resources // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -348,21 +347,22 @@ func (c *MediaLive) BatchStopRequest(input *BatchStopInput) (req *request.Reques // API operation BatchStop for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * NotFoundException +// - NotFoundException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchStop func (c *MediaLive) BatchStop(input *BatchStopInput) (*BatchStopOutput, error) { @@ -402,14 +402,13 @@ const opBatchUpdateSchedule = "BatchUpdateSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchUpdateScheduleRequest method. +// req, resp := client.BatchUpdateScheduleRequest(params) // -// // Example sending a request using the BatchUpdateScheduleRequest method. -// req, resp := client.BatchUpdateScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchUpdateSchedule func (c *MediaLive) BatchUpdateScheduleRequest(input *BatchUpdateScheduleInput) (req *request.Request, output *BatchUpdateScheduleOutput) { @@ -430,7 +429,7 @@ func (c *MediaLive) BatchUpdateScheduleRequest(input *BatchUpdateScheduleInput) // BatchUpdateSchedule API operation for AWS Elemental MediaLive. // -// Update a channel schedule +// # Update a channel schedule // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -440,21 +439,22 @@ func (c *MediaLive) BatchUpdateScheduleRequest(input *BatchUpdateScheduleInput) // API operation BatchUpdateSchedule for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnprocessableEntityException +// - BadRequestException +// +// - UnprocessableEntityException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * NotFoundException +// - NotFoundException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchUpdateSchedule func (c *MediaLive) BatchUpdateSchedule(input *BatchUpdateScheduleInput) (*BatchUpdateScheduleOutput, error) { @@ -494,14 +494,13 @@ const opCancelInputDeviceTransfer = "CancelInputDeviceTransfer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelInputDeviceTransferRequest method. +// req, resp := client.CancelInputDeviceTransferRequest(params) // -// // Example sending a request using the CancelInputDeviceTransferRequest method. -// req, resp := client.CancelInputDeviceTransferRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CancelInputDeviceTransfer func (c *MediaLive) CancelInputDeviceTransferRequest(input *CancelInputDeviceTransferInput) (req *request.Request, output *CancelInputDeviceTransferOutput) { @@ -533,23 +532,24 @@ func (c *MediaLive) CancelInputDeviceTransferRequest(input *CancelInputDeviceTra // API operation CancelInputDeviceTransfer for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnprocessableEntityException +// - BadRequestException +// +// - UnprocessableEntityException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * NotFoundException +// - NotFoundException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CancelInputDeviceTransfer func (c *MediaLive) CancelInputDeviceTransfer(input *CancelInputDeviceTransferInput) (*CancelInputDeviceTransferOutput, error) { @@ -589,14 +589,13 @@ const opClaimDevice = "ClaimDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ClaimDeviceRequest method. +// req, resp := client.ClaimDeviceRequest(params) // -// // Example sending a request using the ClaimDeviceRequest method. -// req, resp := client.ClaimDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ClaimDevice func (c *MediaLive) ClaimDeviceRequest(input *ClaimDeviceInput) (req *request.Request, output *ClaimDeviceOutput) { @@ -629,21 +628,22 @@ func (c *MediaLive) ClaimDeviceRequest(input *ClaimDeviceInput) (req *request.Re // API operation ClaimDevice for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnprocessableEntityException +// - BadRequestException +// +// - UnprocessableEntityException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * NotFoundException +// - NotFoundException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ClaimDevice func (c *MediaLive) ClaimDevice(input *ClaimDeviceInput) (*ClaimDeviceOutput, error) { @@ -683,14 +683,13 @@ const opCreateChannel = "CreateChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChannelRequest method. +// req, resp := client.CreateChannelRequest(params) // -// // Example sending a request using the CreateChannelRequest method. -// req, resp := client.CreateChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannel func (c *MediaLive) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput) { @@ -711,7 +710,7 @@ func (c *MediaLive) CreateChannelRequest(input *CreateChannelInput) (req *reques // CreateChannel API operation for AWS Elemental MediaLive. // -// Creates a new channel +// # Creates a new channel // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -721,21 +720,22 @@ func (c *MediaLive) CreateChannelRequest(input *CreateChannelInput) (req *reques // API operation CreateChannel for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnprocessableEntityException +// - BadRequestException +// +// - UnprocessableEntityException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannel func (c *MediaLive) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error) { @@ -775,14 +775,13 @@ const opCreateInput = "CreateInput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInputRequest method. +// req, resp := client.CreateInputRequest(params) // -// // Example sending a request using the CreateInputRequest method. -// req, resp := client.CreateInputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInput func (c *MediaLive) CreateInputRequest(input *CreateInputInput) (req *request.Request, output *CreateInputOutput) { @@ -803,7 +802,7 @@ func (c *MediaLive) CreateInputRequest(input *CreateInputInput) (req *request.Re // CreateInput API operation for AWS Elemental MediaLive. // -// Create an input +// # Create an input // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -813,17 +812,18 @@ func (c *MediaLive) CreateInputRequest(input *CreateInputInput) (req *request.Re // API operation CreateInput for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInput func (c *MediaLive) CreateInput(input *CreateInputInput) (*CreateInputOutput, error) { @@ -863,14 +863,13 @@ const opCreateInputSecurityGroup = "CreateInputSecurityGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInputSecurityGroupRequest method. +// req, resp := client.CreateInputSecurityGroupRequest(params) // -// // Example sending a request using the CreateInputSecurityGroupRequest method. -// req, resp := client.CreateInputSecurityGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputSecurityGroup func (c *MediaLive) CreateInputSecurityGroupRequest(input *CreateInputSecurityGroupInput) (req *request.Request, output *CreateInputSecurityGroupOutput) { @@ -891,7 +890,7 @@ func (c *MediaLive) CreateInputSecurityGroupRequest(input *CreateInputSecurityGr // CreateInputSecurityGroup API operation for AWS Elemental MediaLive. // -// Creates a Input Security Group +// # Creates a Input Security Group // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -901,17 +900,18 @@ func (c *MediaLive) CreateInputSecurityGroupRequest(input *CreateInputSecurityGr // API operation CreateInputSecurityGroup for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputSecurityGroup func (c *MediaLive) CreateInputSecurityGroup(input *CreateInputSecurityGroupInput) (*CreateInputSecurityGroupOutput, error) { @@ -951,14 +951,13 @@ const opCreateMultiplex = "CreateMultiplex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMultiplexRequest method. +// req, resp := client.CreateMultiplexRequest(params) // -// // Example sending a request using the CreateMultiplexRequest method. -// req, resp := client.CreateMultiplexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateMultiplex func (c *MediaLive) CreateMultiplexRequest(input *CreateMultiplexInput) (req *request.Request, output *CreateMultiplexOutput) { @@ -989,21 +988,22 @@ func (c *MediaLive) CreateMultiplexRequest(input *CreateMultiplexInput) (req *re // API operation CreateMultiplex for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnprocessableEntityException +// - BadRequestException +// +// - UnprocessableEntityException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateMultiplex func (c *MediaLive) CreateMultiplex(input *CreateMultiplexInput) (*CreateMultiplexOutput, error) { @@ -1043,14 +1043,13 @@ const opCreateMultiplexProgram = "CreateMultiplexProgram" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMultiplexProgramRequest method. +// req, resp := client.CreateMultiplexProgramRequest(params) // -// // Example sending a request using the CreateMultiplexProgramRequest method. -// req, resp := client.CreateMultiplexProgramRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateMultiplexProgram func (c *MediaLive) CreateMultiplexProgramRequest(input *CreateMultiplexProgramInput) (req *request.Request, output *CreateMultiplexProgramOutput) { @@ -1081,21 +1080,22 @@ func (c *MediaLive) CreateMultiplexProgramRequest(input *CreateMultiplexProgramI // API operation CreateMultiplexProgram for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnprocessableEntityException +// - BadRequestException +// +// - UnprocessableEntityException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateMultiplexProgram func (c *MediaLive) CreateMultiplexProgram(input *CreateMultiplexProgramInput) (*CreateMultiplexProgramOutput, error) { @@ -1135,14 +1135,13 @@ const opCreatePartnerInput = "CreatePartnerInput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePartnerInputRequest method. +// req, resp := client.CreatePartnerInputRequest(params) // -// // Example sending a request using the CreatePartnerInputRequest method. -// req, resp := client.CreatePartnerInputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreatePartnerInput func (c *MediaLive) CreatePartnerInputRequest(input *CreatePartnerInputInput) (req *request.Request, output *CreatePartnerInputOutput) { @@ -1163,7 +1162,7 @@ func (c *MediaLive) CreatePartnerInputRequest(input *CreatePartnerInputInput) (r // CreatePartnerInput API operation for AWS Elemental MediaLive. // -// Create a partner input +// # Create a partner input // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1173,17 +1172,18 @@ func (c *MediaLive) CreatePartnerInputRequest(input *CreatePartnerInputInput) (r // API operation CreatePartnerInput for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreatePartnerInput func (c *MediaLive) CreatePartnerInput(input *CreatePartnerInputInput) (*CreatePartnerInputOutput, error) { @@ -1223,14 +1223,13 @@ const opCreateTags = "CreateTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTagsRequest method. +// req, resp := client.CreateTagsRequest(params) // -// // Example sending a request using the CreateTagsRequest method. -// req, resp := client.CreateTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateTags func (c *MediaLive) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput) { @@ -1252,7 +1251,7 @@ func (c *MediaLive) CreateTagsRequest(input *CreateTagsInput) (req *request.Requ // CreateTags API operation for AWS Elemental MediaLive. // -// Create tags for a resource +// # Create tags for a resource // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1262,13 +1261,14 @@ func (c *MediaLive) CreateTagsRequest(input *CreateTagsInput) (req *request.Requ // API operation CreateTags for usage and error information. // // Returned Error Types: -// * NotFoundException // -// * BadRequestException +// - NotFoundException +// +// - BadRequestException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateTags func (c *MediaLive) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error) { @@ -1308,14 +1308,13 @@ const opDeleteChannel = "DeleteChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelRequest method. +// req, resp := client.DeleteChannelRequest(params) // -// // Example sending a request using the DeleteChannelRequest method. -// req, resp := client.DeleteChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannel func (c *MediaLive) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput) { @@ -1346,21 +1345,22 @@ func (c *MediaLive) DeleteChannelRequest(input *DeleteChannelInput) (req *reques // API operation DeleteChannel for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * NotFoundException +// - NotFoundException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannel func (c *MediaLive) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error) { @@ -1400,14 +1400,13 @@ const opDeleteInput = "DeleteInput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInputRequest method. +// req, resp := client.DeleteInputRequest(params) // -// // Example sending a request using the DeleteInputRequest method. -// req, resp := client.DeleteInputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInput func (c *MediaLive) DeleteInputRequest(input *DeleteInputInput) (req *request.Request, output *DeleteInputOutput) { @@ -1429,7 +1428,7 @@ func (c *MediaLive) DeleteInputRequest(input *DeleteInputInput) (req *request.Re // DeleteInput API operation for AWS Elemental MediaLive. // -// Deletes the input end point +// # Deletes the input end point // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1439,21 +1438,22 @@ func (c *MediaLive) DeleteInputRequest(input *DeleteInputInput) (req *request.Re // API operation DeleteInput for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInput func (c *MediaLive) DeleteInput(input *DeleteInputInput) (*DeleteInputOutput, error) { @@ -1493,14 +1493,13 @@ const opDeleteInputSecurityGroup = "DeleteInputSecurityGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInputSecurityGroupRequest method. +// req, resp := client.DeleteInputSecurityGroupRequest(params) // -// // Example sending a request using the DeleteInputSecurityGroupRequest method. -// req, resp := client.DeleteInputSecurityGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputSecurityGroup func (c *MediaLive) DeleteInputSecurityGroupRequest(input *DeleteInputSecurityGroupInput) (req *request.Request, output *DeleteInputSecurityGroupOutput) { @@ -1522,7 +1521,7 @@ func (c *MediaLive) DeleteInputSecurityGroupRequest(input *DeleteInputSecurityGr // DeleteInputSecurityGroup API operation for AWS Elemental MediaLive. // -// Deletes an Input Security Group +// # Deletes an Input Security Group // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1532,19 +1531,20 @@ func (c *MediaLive) DeleteInputSecurityGroupRequest(input *DeleteInputSecurityGr // API operation DeleteInputSecurityGroup for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteInputSecurityGroup func (c *MediaLive) DeleteInputSecurityGroup(input *DeleteInputSecurityGroupInput) (*DeleteInputSecurityGroupOutput, error) { @@ -1584,14 +1584,13 @@ const opDeleteMultiplex = "DeleteMultiplex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMultiplexRequest method. +// req, resp := client.DeleteMultiplexRequest(params) // -// // Example sending a request using the DeleteMultiplexRequest method. -// req, resp := client.DeleteMultiplexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplex func (c *MediaLive) DeleteMultiplexRequest(input *DeleteMultiplexInput) (req *request.Request, output *DeleteMultiplexOutput) { @@ -1622,21 +1621,22 @@ func (c *MediaLive) DeleteMultiplexRequest(input *DeleteMultiplexInput) (req *re // API operation DeleteMultiplex for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplex func (c *MediaLive) DeleteMultiplex(input *DeleteMultiplexInput) (*DeleteMultiplexOutput, error) { @@ -1676,14 +1676,13 @@ const opDeleteMultiplexProgram = "DeleteMultiplexProgram" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMultiplexProgramRequest method. +// req, resp := client.DeleteMultiplexProgramRequest(params) // -// // Example sending a request using the DeleteMultiplexProgramRequest method. -// req, resp := client.DeleteMultiplexProgramRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplexProgram func (c *MediaLive) DeleteMultiplexProgramRequest(input *DeleteMultiplexProgramInput) (req *request.Request, output *DeleteMultiplexProgramOutput) { @@ -1714,21 +1713,22 @@ func (c *MediaLive) DeleteMultiplexProgramRequest(input *DeleteMultiplexProgramI // API operation DeleteMultiplexProgram for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplexProgram func (c *MediaLive) DeleteMultiplexProgram(input *DeleteMultiplexProgramInput) (*DeleteMultiplexProgramOutput, error) { @@ -1768,14 +1768,13 @@ const opDeleteReservation = "DeleteReservation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReservationRequest method. +// req, resp := client.DeleteReservationRequest(params) // -// // Example sending a request using the DeleteReservationRequest method. -// req, resp := client.DeleteReservationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteReservation func (c *MediaLive) DeleteReservationRequest(input *DeleteReservationInput) (req *request.Request, output *DeleteReservationOutput) { @@ -1806,21 +1805,22 @@ func (c *MediaLive) DeleteReservationRequest(input *DeleteReservationInput) (req // API operation DeleteReservation for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteReservation func (c *MediaLive) DeleteReservation(input *DeleteReservationInput) (*DeleteReservationOutput, error) { @@ -1860,14 +1860,13 @@ const opDeleteSchedule = "DeleteSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteScheduleRequest method. +// req, resp := client.DeleteScheduleRequest(params) // -// // Example sending a request using the DeleteScheduleRequest method. -// req, resp := client.DeleteScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteSchedule func (c *MediaLive) DeleteScheduleRequest(input *DeleteScheduleInput) (req *request.Request, output *DeleteScheduleOutput) { @@ -1899,19 +1898,20 @@ func (c *MediaLive) DeleteScheduleRequest(input *DeleteScheduleInput) (req *requ // API operation DeleteSchedule for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteSchedule func (c *MediaLive) DeleteSchedule(input *DeleteScheduleInput) (*DeleteScheduleOutput, error) { @@ -1951,14 +1951,13 @@ const opDeleteTags = "DeleteTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTagsRequest method. +// req, resp := client.DeleteTagsRequest(params) // -// // Example sending a request using the DeleteTagsRequest method. -// req, resp := client.DeleteTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteTags func (c *MediaLive) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { @@ -1980,7 +1979,7 @@ func (c *MediaLive) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Requ // DeleteTags API operation for AWS Elemental MediaLive. // -// Removes tags for a resource +// # Removes tags for a resource // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1990,13 +1989,14 @@ func (c *MediaLive) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Requ // API operation DeleteTags for usage and error information. // // Returned Error Types: -// * NotFoundException // -// * BadRequestException +// - NotFoundException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException +// +// - ForbiddenException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteTags func (c *MediaLive) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) { @@ -2036,14 +2036,13 @@ const opDescribeChannel = "DescribeChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelRequest method. +// req, resp := client.DescribeChannelRequest(params) // -// // Example sending a request using the DescribeChannelRequest method. -// req, resp := client.DescribeChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannel func (c *MediaLive) DescribeChannelRequest(input *DescribeChannelInput) (req *request.Request, output *DescribeChannelOutput) { @@ -2064,7 +2063,7 @@ func (c *MediaLive) DescribeChannelRequest(input *DescribeChannelInput) (req *re // DescribeChannel API operation for AWS Elemental MediaLive. // -// Gets details about a channel +// # Gets details about a channel // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2074,19 +2073,20 @@ func (c *MediaLive) DescribeChannelRequest(input *DescribeChannelInput) (req *re // API operation DescribeChannel for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannel func (c *MediaLive) DescribeChannel(input *DescribeChannelInput) (*DescribeChannelOutput, error) { @@ -2126,14 +2126,13 @@ const opDescribeInput = "DescribeInput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInputRequest method. +// req, resp := client.DescribeInputRequest(params) // -// // Example sending a request using the DescribeInputRequest method. -// req, resp := client.DescribeInputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInput func (c *MediaLive) DescribeInputRequest(input *DescribeInputInput) (req *request.Request, output *DescribeInputOutput) { @@ -2154,7 +2153,7 @@ func (c *MediaLive) DescribeInputRequest(input *DescribeInputInput) (req *reques // DescribeInput API operation for AWS Elemental MediaLive. // -// Produces details about an input +// # Produces details about an input // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2164,19 +2163,20 @@ func (c *MediaLive) DescribeInputRequest(input *DescribeInputInput) (req *reques // API operation DescribeInput for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInput func (c *MediaLive) DescribeInput(input *DescribeInputInput) (*DescribeInputOutput, error) { @@ -2216,14 +2216,13 @@ const opDescribeInputDevice = "DescribeInputDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInputDeviceRequest method. +// req, resp := client.DescribeInputDeviceRequest(params) // -// // Example sending a request using the DescribeInputDeviceRequest method. -// req, resp := client.DescribeInputDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputDevice func (c *MediaLive) DescribeInputDeviceRequest(input *DescribeInputDeviceInput) (req *request.Request, output *DescribeInputDeviceOutput) { @@ -2244,7 +2243,7 @@ func (c *MediaLive) DescribeInputDeviceRequest(input *DescribeInputDeviceInput) // DescribeInputDevice API operation for AWS Elemental MediaLive. // -// Gets the details for the input device +// # Gets the details for the input device // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2254,19 +2253,20 @@ func (c *MediaLive) DescribeInputDeviceRequest(input *DescribeInputDeviceInput) // API operation DescribeInputDevice for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputDevice func (c *MediaLive) DescribeInputDevice(input *DescribeInputDeviceInput) (*DescribeInputDeviceOutput, error) { @@ -2306,14 +2306,13 @@ const opDescribeInputDeviceThumbnail = "DescribeInputDeviceThumbnail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInputDeviceThumbnailRequest method. +// req, resp := client.DescribeInputDeviceThumbnailRequest(params) // -// // Example sending a request using the DescribeInputDeviceThumbnailRequest method. -// req, resp := client.DescribeInputDeviceThumbnailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputDeviceThumbnail func (c *MediaLive) DescribeInputDeviceThumbnailRequest(input *DescribeInputDeviceThumbnailInput) (req *request.Request, output *DescribeInputDeviceThumbnailOutput) { @@ -2344,19 +2343,20 @@ func (c *MediaLive) DescribeInputDeviceThumbnailRequest(input *DescribeInputDevi // API operation DescribeInputDeviceThumbnail for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputDeviceThumbnail func (c *MediaLive) DescribeInputDeviceThumbnail(input *DescribeInputDeviceThumbnailInput) (*DescribeInputDeviceThumbnailOutput, error) { @@ -2396,14 +2396,13 @@ const opDescribeInputSecurityGroup = "DescribeInputSecurityGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInputSecurityGroupRequest method. +// req, resp := client.DescribeInputSecurityGroupRequest(params) // -// // Example sending a request using the DescribeInputSecurityGroupRequest method. -// req, resp := client.DescribeInputSecurityGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputSecurityGroup func (c *MediaLive) DescribeInputSecurityGroupRequest(input *DescribeInputSecurityGroupInput) (req *request.Request, output *DescribeInputSecurityGroupOutput) { @@ -2424,7 +2423,7 @@ func (c *MediaLive) DescribeInputSecurityGroupRequest(input *DescribeInputSecuri // DescribeInputSecurityGroup API operation for AWS Elemental MediaLive. // -// Produces a summary of an Input Security Group +// # Produces a summary of an Input Security Group // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2434,19 +2433,20 @@ func (c *MediaLive) DescribeInputSecurityGroupRequest(input *DescribeInputSecuri // API operation DescribeInputSecurityGroup for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputSecurityGroup func (c *MediaLive) DescribeInputSecurityGroup(input *DescribeInputSecurityGroupInput) (*DescribeInputSecurityGroupOutput, error) { @@ -2486,14 +2486,13 @@ const opDescribeMultiplex = "DescribeMultiplex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMultiplexRequest method. +// req, resp := client.DescribeMultiplexRequest(params) // -// // Example sending a request using the DescribeMultiplexRequest method. -// req, resp := client.DescribeMultiplexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeMultiplex func (c *MediaLive) DescribeMultiplexRequest(input *DescribeMultiplexInput) (req *request.Request, output *DescribeMultiplexOutput) { @@ -2524,19 +2523,20 @@ func (c *MediaLive) DescribeMultiplexRequest(input *DescribeMultiplexInput) (req // API operation DescribeMultiplex for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeMultiplex func (c *MediaLive) DescribeMultiplex(input *DescribeMultiplexInput) (*DescribeMultiplexOutput, error) { @@ -2576,14 +2576,13 @@ const opDescribeMultiplexProgram = "DescribeMultiplexProgram" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMultiplexProgramRequest method. +// req, resp := client.DescribeMultiplexProgramRequest(params) // -// // Example sending a request using the DescribeMultiplexProgramRequest method. -// req, resp := client.DescribeMultiplexProgramRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeMultiplexProgram func (c *MediaLive) DescribeMultiplexProgramRequest(input *DescribeMultiplexProgramInput) (req *request.Request, output *DescribeMultiplexProgramOutput) { @@ -2614,19 +2613,20 @@ func (c *MediaLive) DescribeMultiplexProgramRequest(input *DescribeMultiplexProg // API operation DescribeMultiplexProgram for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeMultiplexProgram func (c *MediaLive) DescribeMultiplexProgram(input *DescribeMultiplexProgramInput) (*DescribeMultiplexProgramOutput, error) { @@ -2666,14 +2666,13 @@ const opDescribeOffering = "DescribeOffering" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOfferingRequest method. +// req, resp := client.DescribeOfferingRequest(params) // -// // Example sending a request using the DescribeOfferingRequest method. -// req, resp := client.DescribeOfferingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeOffering func (c *MediaLive) DescribeOfferingRequest(input *DescribeOfferingInput) (req *request.Request, output *DescribeOfferingOutput) { @@ -2704,19 +2703,20 @@ func (c *MediaLive) DescribeOfferingRequest(input *DescribeOfferingInput) (req * // API operation DescribeOffering for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeOffering func (c *MediaLive) DescribeOffering(input *DescribeOfferingInput) (*DescribeOfferingOutput, error) { @@ -2756,14 +2756,13 @@ const opDescribeReservation = "DescribeReservation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservationRequest method. +// req, resp := client.DescribeReservationRequest(params) // -// // Example sending a request using the DescribeReservationRequest method. -// req, resp := client.DescribeReservationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeReservation func (c *MediaLive) DescribeReservationRequest(input *DescribeReservationInput) (req *request.Request, output *DescribeReservationOutput) { @@ -2794,19 +2793,20 @@ func (c *MediaLive) DescribeReservationRequest(input *DescribeReservationInput) // API operation DescribeReservation for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * NotFoundException +// - NotFoundException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeReservation func (c *MediaLive) DescribeReservation(input *DescribeReservationInput) (*DescribeReservationOutput, error) { @@ -2846,14 +2846,13 @@ const opDescribeSchedule = "DescribeSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScheduleRequest method. +// req, resp := client.DescribeScheduleRequest(params) // -// // Example sending a request using the DescribeScheduleRequest method. -// req, resp := client.DescribeScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeSchedule func (c *MediaLive) DescribeScheduleRequest(input *DescribeScheduleInput) (req *request.Request, output *DescribeScheduleOutput) { @@ -2880,7 +2879,7 @@ func (c *MediaLive) DescribeScheduleRequest(input *DescribeScheduleInput) (req * // DescribeSchedule API operation for AWS Elemental MediaLive. // -// Get a channel schedule +// # Get a channel schedule // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2890,19 +2889,20 @@ func (c *MediaLive) DescribeScheduleRequest(input *DescribeScheduleInput) (req * // API operation DescribeSchedule for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * NotFoundException +// - NotFoundException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeSchedule func (c *MediaLive) DescribeSchedule(input *DescribeScheduleInput) (*DescribeScheduleOutput, error) { @@ -2934,15 +2934,14 @@ func (c *MediaLive) DescribeScheduleWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSchedule operation. -// pageNum := 0 -// err := client.DescribeSchedulePages(params, -// func(page *medialive.DescribeScheduleOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSchedule operation. +// pageNum := 0 +// err := client.DescribeSchedulePages(params, +// func(page *medialive.DescribeScheduleOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaLive) DescribeSchedulePages(input *DescribeScheduleInput, fn func(*DescribeScheduleOutput, bool) bool) error { return c.DescribeSchedulePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2994,14 +2993,13 @@ const opListChannels = "ListChannels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelsRequest method. +// req, resp := client.ListChannelsRequest(params) // -// // Example sending a request using the ListChannelsRequest method. -// req, resp := client.ListChannelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListChannels func (c *MediaLive) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput) { @@ -3028,7 +3026,7 @@ func (c *MediaLive) ListChannelsRequest(input *ListChannelsInput) (req *request. // ListChannels API operation for AWS Elemental MediaLive. // -// Produces list of channels that have been created +// # Produces list of channels that have been created // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3038,17 +3036,18 @@ func (c *MediaLive) ListChannelsRequest(input *ListChannelsInput) (req *request. // API operation ListChannels for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * GatewayTimeoutException +// - BadGatewayException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListChannels func (c *MediaLive) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error) { @@ -3080,15 +3079,14 @@ func (c *MediaLive) ListChannelsWithContext(ctx aws.Context, input *ListChannels // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannels operation. -// pageNum := 0 -// err := client.ListChannelsPages(params, -// func(page *medialive.ListChannelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannels operation. +// pageNum := 0 +// err := client.ListChannelsPages(params, +// func(page *medialive.ListChannelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaLive) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error { return c.ListChannelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3140,14 +3138,13 @@ const opListInputDeviceTransfers = "ListInputDeviceTransfers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInputDeviceTransfersRequest method. +// req, resp := client.ListInputDeviceTransfersRequest(params) // -// // Example sending a request using the ListInputDeviceTransfersRequest method. -// req, resp := client.ListInputDeviceTransfersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDeviceTransfers func (c *MediaLive) ListInputDeviceTransfersRequest(input *ListInputDeviceTransfersInput) (req *request.Request, output *ListInputDeviceTransfersOutput) { @@ -3186,19 +3183,20 @@ func (c *MediaLive) ListInputDeviceTransfersRequest(input *ListInputDeviceTransf // API operation ListInputDeviceTransfers for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnprocessableEntityException +// - BadRequestException +// +// - UnprocessableEntityException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDeviceTransfers func (c *MediaLive) ListInputDeviceTransfers(input *ListInputDeviceTransfersInput) (*ListInputDeviceTransfersOutput, error) { @@ -3230,15 +3228,14 @@ func (c *MediaLive) ListInputDeviceTransfersWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInputDeviceTransfers operation. -// pageNum := 0 -// err := client.ListInputDeviceTransfersPages(params, -// func(page *medialive.ListInputDeviceTransfersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInputDeviceTransfers operation. +// pageNum := 0 +// err := client.ListInputDeviceTransfersPages(params, +// func(page *medialive.ListInputDeviceTransfersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaLive) ListInputDeviceTransfersPages(input *ListInputDeviceTransfersInput, fn func(*ListInputDeviceTransfersOutput, bool) bool) error { return c.ListInputDeviceTransfersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3290,14 +3287,13 @@ const opListInputDevices = "ListInputDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInputDevicesRequest method. +// req, resp := client.ListInputDevicesRequest(params) // -// // Example sending a request using the ListInputDevicesRequest method. -// req, resp := client.ListInputDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDevices func (c *MediaLive) ListInputDevicesRequest(input *ListInputDevicesInput) (req *request.Request, output *ListInputDevicesOutput) { @@ -3324,7 +3320,7 @@ func (c *MediaLive) ListInputDevicesRequest(input *ListInputDevicesInput) (req * // ListInputDevices API operation for AWS Elemental MediaLive. // -// List input devices +// # List input devices // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3334,17 +3330,18 @@ func (c *MediaLive) ListInputDevicesRequest(input *ListInputDevicesInput) (req * // API operation ListInputDevices for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * GatewayTimeoutException +// - BadGatewayException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputDevices func (c *MediaLive) ListInputDevices(input *ListInputDevicesInput) (*ListInputDevicesOutput, error) { @@ -3376,15 +3373,14 @@ func (c *MediaLive) ListInputDevicesWithContext(ctx aws.Context, input *ListInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInputDevices operation. -// pageNum := 0 -// err := client.ListInputDevicesPages(params, -// func(page *medialive.ListInputDevicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInputDevices operation. +// pageNum := 0 +// err := client.ListInputDevicesPages(params, +// func(page *medialive.ListInputDevicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaLive) ListInputDevicesPages(input *ListInputDevicesInput, fn func(*ListInputDevicesOutput, bool) bool) error { return c.ListInputDevicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3436,14 +3432,13 @@ const opListInputSecurityGroups = "ListInputSecurityGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInputSecurityGroupsRequest method. +// req, resp := client.ListInputSecurityGroupsRequest(params) // -// // Example sending a request using the ListInputSecurityGroupsRequest method. -// req, resp := client.ListInputSecurityGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputSecurityGroups func (c *MediaLive) ListInputSecurityGroupsRequest(input *ListInputSecurityGroupsInput) (req *request.Request, output *ListInputSecurityGroupsOutput) { @@ -3470,7 +3465,7 @@ func (c *MediaLive) ListInputSecurityGroupsRequest(input *ListInputSecurityGroup // ListInputSecurityGroups API operation for AWS Elemental MediaLive. // -// Produces a list of Input Security Groups for an account +// # Produces a list of Input Security Groups for an account // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3480,17 +3475,18 @@ func (c *MediaLive) ListInputSecurityGroupsRequest(input *ListInputSecurityGroup // API operation ListInputSecurityGroups for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputSecurityGroups func (c *MediaLive) ListInputSecurityGroups(input *ListInputSecurityGroupsInput) (*ListInputSecurityGroupsOutput, error) { @@ -3522,15 +3518,14 @@ func (c *MediaLive) ListInputSecurityGroupsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInputSecurityGroups operation. -// pageNum := 0 -// err := client.ListInputSecurityGroupsPages(params, -// func(page *medialive.ListInputSecurityGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInputSecurityGroups operation. +// pageNum := 0 +// err := client.ListInputSecurityGroupsPages(params, +// func(page *medialive.ListInputSecurityGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaLive) ListInputSecurityGroupsPages(input *ListInputSecurityGroupsInput, fn func(*ListInputSecurityGroupsOutput, bool) bool) error { return c.ListInputSecurityGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3582,14 +3577,13 @@ const opListInputs = "ListInputs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInputsRequest method. +// req, resp := client.ListInputsRequest(params) // -// // Example sending a request using the ListInputsRequest method. -// req, resp := client.ListInputsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputs func (c *MediaLive) ListInputsRequest(input *ListInputsInput) (req *request.Request, output *ListInputsOutput) { @@ -3616,7 +3610,7 @@ func (c *MediaLive) ListInputsRequest(input *ListInputsInput) (req *request.Requ // ListInputs API operation for AWS Elemental MediaLive. // -// Produces list of inputs that have been created +// # Produces list of inputs that have been created // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3626,17 +3620,18 @@ func (c *MediaLive) ListInputsRequest(input *ListInputsInput) (req *request.Requ // API operation ListInputs for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * GatewayTimeoutException +// - BadGatewayException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputs func (c *MediaLive) ListInputs(input *ListInputsInput) (*ListInputsOutput, error) { @@ -3668,15 +3663,14 @@ func (c *MediaLive) ListInputsWithContext(ctx aws.Context, input *ListInputsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInputs operation. -// pageNum := 0 -// err := client.ListInputsPages(params, -// func(page *medialive.ListInputsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInputs operation. +// pageNum := 0 +// err := client.ListInputsPages(params, +// func(page *medialive.ListInputsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaLive) ListInputsPages(input *ListInputsInput, fn func(*ListInputsOutput, bool) bool) error { return c.ListInputsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3728,14 +3722,13 @@ const opListMultiplexPrograms = "ListMultiplexPrograms" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMultiplexProgramsRequest method. +// req, resp := client.ListMultiplexProgramsRequest(params) // -// // Example sending a request using the ListMultiplexProgramsRequest method. -// req, resp := client.ListMultiplexProgramsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexPrograms func (c *MediaLive) ListMultiplexProgramsRequest(input *ListMultiplexProgramsInput) (req *request.Request, output *ListMultiplexProgramsOutput) { @@ -3772,19 +3765,20 @@ func (c *MediaLive) ListMultiplexProgramsRequest(input *ListMultiplexProgramsInp // API operation ListMultiplexPrograms for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * NotFoundException +// - NotFoundException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexPrograms func (c *MediaLive) ListMultiplexPrograms(input *ListMultiplexProgramsInput) (*ListMultiplexProgramsOutput, error) { @@ -3816,15 +3810,14 @@ func (c *MediaLive) ListMultiplexProgramsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMultiplexPrograms operation. -// pageNum := 0 -// err := client.ListMultiplexProgramsPages(params, -// func(page *medialive.ListMultiplexProgramsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMultiplexPrograms operation. +// pageNum := 0 +// err := client.ListMultiplexProgramsPages(params, +// func(page *medialive.ListMultiplexProgramsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaLive) ListMultiplexProgramsPages(input *ListMultiplexProgramsInput, fn func(*ListMultiplexProgramsOutput, bool) bool) error { return c.ListMultiplexProgramsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3876,14 +3869,13 @@ const opListMultiplexes = "ListMultiplexes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMultiplexesRequest method. +// req, resp := client.ListMultiplexesRequest(params) // -// // Example sending a request using the ListMultiplexesRequest method. -// req, resp := client.ListMultiplexesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexes func (c *MediaLive) ListMultiplexesRequest(input *ListMultiplexesInput) (req *request.Request, output *ListMultiplexesOutput) { @@ -3920,17 +3912,18 @@ func (c *MediaLive) ListMultiplexesRequest(input *ListMultiplexesInput) (req *re // API operation ListMultiplexes for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * GatewayTimeoutException +// - BadGatewayException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListMultiplexes func (c *MediaLive) ListMultiplexes(input *ListMultiplexesInput) (*ListMultiplexesOutput, error) { @@ -3962,15 +3955,14 @@ func (c *MediaLive) ListMultiplexesWithContext(ctx aws.Context, input *ListMulti // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMultiplexes operation. -// pageNum := 0 -// err := client.ListMultiplexesPages(params, -// func(page *medialive.ListMultiplexesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMultiplexes operation. +// pageNum := 0 +// err := client.ListMultiplexesPages(params, +// func(page *medialive.ListMultiplexesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaLive) ListMultiplexesPages(input *ListMultiplexesInput, fn func(*ListMultiplexesOutput, bool) bool) error { return c.ListMultiplexesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4022,14 +4014,13 @@ const opListOfferings = "ListOfferings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOfferingsRequest method. +// req, resp := client.ListOfferingsRequest(params) // -// // Example sending a request using the ListOfferingsRequest method. -// req, resp := client.ListOfferingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListOfferings func (c *MediaLive) ListOfferingsRequest(input *ListOfferingsInput) (req *request.Request, output *ListOfferingsOutput) { @@ -4066,17 +4057,18 @@ func (c *MediaLive) ListOfferingsRequest(input *ListOfferingsInput) (req *reques // API operation ListOfferings for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListOfferings func (c *MediaLive) ListOfferings(input *ListOfferingsInput) (*ListOfferingsOutput, error) { @@ -4108,15 +4100,14 @@ func (c *MediaLive) ListOfferingsWithContext(ctx aws.Context, input *ListOfferin // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOfferings operation. -// pageNum := 0 -// err := client.ListOfferingsPages(params, -// func(page *medialive.ListOfferingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOfferings operation. +// pageNum := 0 +// err := client.ListOfferingsPages(params, +// func(page *medialive.ListOfferingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaLive) ListOfferingsPages(input *ListOfferingsInput, fn func(*ListOfferingsOutput, bool) bool) error { return c.ListOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4168,14 +4159,13 @@ const opListReservations = "ListReservations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReservationsRequest method. +// req, resp := client.ListReservationsRequest(params) // -// // Example sending a request using the ListReservationsRequest method. -// req, resp := client.ListReservationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListReservations func (c *MediaLive) ListReservationsRequest(input *ListReservationsInput) (req *request.Request, output *ListReservationsOutput) { @@ -4212,17 +4202,18 @@ func (c *MediaLive) ListReservationsRequest(input *ListReservationsInput) (req * // API operation ListReservations for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * GatewayTimeoutException +// - BadGatewayException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListReservations func (c *MediaLive) ListReservations(input *ListReservationsInput) (*ListReservationsOutput, error) { @@ -4254,15 +4245,14 @@ func (c *MediaLive) ListReservationsWithContext(ctx aws.Context, input *ListRese // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListReservations operation. -// pageNum := 0 -// err := client.ListReservationsPages(params, -// func(page *medialive.ListReservationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListReservations operation. +// pageNum := 0 +// err := client.ListReservationsPages(params, +// func(page *medialive.ListReservationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaLive) ListReservationsPages(input *ListReservationsInput, fn func(*ListReservationsOutput, bool) bool) error { return c.ListReservationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4314,14 +4304,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListTagsForResource func (c *MediaLive) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4342,7 +4331,7 @@ func (c *MediaLive) ListTagsForResourceRequest(input *ListTagsForResourceInput) // ListTagsForResource API operation for AWS Elemental MediaLive. // -// Produces list of tags that have been created for a resource +// # Produces list of tags that have been created for a resource // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4352,13 +4341,14 @@ func (c *MediaLive) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * NotFoundException // -// * BadRequestException +// - NotFoundException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException +// +// - ForbiddenException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListTagsForResource func (c *MediaLive) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4398,14 +4388,13 @@ const opPurchaseOffering = "PurchaseOffering" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PurchaseOfferingRequest method. +// req, resp := client.PurchaseOfferingRequest(params) // -// // Example sending a request using the PurchaseOfferingRequest method. -// req, resp := client.PurchaseOfferingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/PurchaseOffering func (c *MediaLive) PurchaseOfferingRequest(input *PurchaseOfferingInput) (req *request.Request, output *PurchaseOfferingOutput) { @@ -4436,21 +4425,22 @@ func (c *MediaLive) PurchaseOfferingRequest(input *PurchaseOfferingInput) (req * // API operation PurchaseOffering for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/PurchaseOffering func (c *MediaLive) PurchaseOffering(input *PurchaseOfferingInput) (*PurchaseOfferingOutput, error) { @@ -4490,14 +4480,13 @@ const opRejectInputDeviceTransfer = "RejectInputDeviceTransfer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectInputDeviceTransferRequest method. +// req, resp := client.RejectInputDeviceTransferRequest(params) // -// // Example sending a request using the RejectInputDeviceTransferRequest method. -// req, resp := client.RejectInputDeviceTransferRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RejectInputDeviceTransfer func (c *MediaLive) RejectInputDeviceTransferRequest(input *RejectInputDeviceTransferInput) (req *request.Request, output *RejectInputDeviceTransferOutput) { @@ -4529,23 +4518,24 @@ func (c *MediaLive) RejectInputDeviceTransferRequest(input *RejectInputDeviceTra // API operation RejectInputDeviceTransfer for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnprocessableEntityException +// - BadRequestException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RejectInputDeviceTransfer func (c *MediaLive) RejectInputDeviceTransfer(input *RejectInputDeviceTransferInput) (*RejectInputDeviceTransferOutput, error) { @@ -4585,14 +4575,13 @@ const opStartChannel = "StartChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartChannelRequest method. +// req, resp := client.StartChannelRequest(params) // -// // Example sending a request using the StartChannelRequest method. -// req, resp := client.StartChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannel func (c *MediaLive) StartChannelRequest(input *StartChannelInput) (req *request.Request, output *StartChannelOutput) { @@ -4613,7 +4602,7 @@ func (c *MediaLive) StartChannelRequest(input *StartChannelInput) (req *request. // StartChannel API operation for AWS Elemental MediaLive. // -// Starts an existing channel +// # Starts an existing channel // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4623,21 +4612,22 @@ func (c *MediaLive) StartChannelRequest(input *StartChannelInput) (req *request. // API operation StartChannel for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannel func (c *MediaLive) StartChannel(input *StartChannelInput) (*StartChannelOutput, error) { @@ -4677,14 +4667,13 @@ const opStartMultiplex = "StartMultiplex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMultiplexRequest method. +// req, resp := client.StartMultiplexRequest(params) // -// // Example sending a request using the StartMultiplexRequest method. -// req, resp := client.StartMultiplexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartMultiplex func (c *MediaLive) StartMultiplexRequest(input *StartMultiplexInput) (req *request.Request, output *StartMultiplexOutput) { @@ -4716,21 +4705,22 @@ func (c *MediaLive) StartMultiplexRequest(input *StartMultiplexInput) (req *requ // API operation StartMultiplex for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartMultiplex func (c *MediaLive) StartMultiplex(input *StartMultiplexInput) (*StartMultiplexOutput, error) { @@ -4770,14 +4760,13 @@ const opStopChannel = "StopChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopChannelRequest method. +// req, resp := client.StopChannelRequest(params) // -// // Example sending a request using the StopChannelRequest method. -// req, resp := client.StopChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannel func (c *MediaLive) StopChannelRequest(input *StopChannelInput) (req *request.Request, output *StopChannelOutput) { @@ -4798,7 +4787,7 @@ func (c *MediaLive) StopChannelRequest(input *StopChannelInput) (req *request.Re // StopChannel API operation for AWS Elemental MediaLive. // -// Stops a running channel +// # Stops a running channel // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4808,21 +4797,22 @@ func (c *MediaLive) StopChannelRequest(input *StopChannelInput) (req *request.Re // API operation StopChannel for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannel func (c *MediaLive) StopChannel(input *StopChannelInput) (*StopChannelOutput, error) { @@ -4862,14 +4852,13 @@ const opStopMultiplex = "StopMultiplex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopMultiplexRequest method. +// req, resp := client.StopMultiplexRequest(params) // -// // Example sending a request using the StopMultiplexRequest method. -// req, resp := client.StopMultiplexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopMultiplex func (c *MediaLive) StopMultiplexRequest(input *StopMultiplexInput) (req *request.Request, output *StopMultiplexOutput) { @@ -4901,21 +4890,22 @@ func (c *MediaLive) StopMultiplexRequest(input *StopMultiplexInput) (req *reques // API operation StopMultiplex for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopMultiplex func (c *MediaLive) StopMultiplex(input *StopMultiplexInput) (*StopMultiplexOutput, error) { @@ -4955,14 +4945,13 @@ const opTransferInputDevice = "TransferInputDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TransferInputDeviceRequest method. +// req, resp := client.TransferInputDeviceRequest(params) // -// // Example sending a request using the TransferInputDeviceRequest method. -// req, resp := client.TransferInputDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TransferInputDevice func (c *MediaLive) TransferInputDeviceRequest(input *TransferInputDeviceInput) (req *request.Request, output *TransferInputDeviceOutput) { @@ -4995,23 +4984,24 @@ func (c *MediaLive) TransferInputDeviceRequest(input *TransferInputDeviceInput) // API operation TransferInputDevice for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnprocessableEntityException +// - BadRequestException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/TransferInputDevice func (c *MediaLive) TransferInputDevice(input *TransferInputDeviceInput) (*TransferInputDeviceOutput, error) { @@ -5051,14 +5041,13 @@ const opUpdateChannel = "UpdateChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateChannelRequest method. +// req, resp := client.UpdateChannelRequest(params) // -// // Example sending a request using the UpdateChannelRequest method. -// req, resp := client.UpdateChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannel func (c *MediaLive) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput) { @@ -5089,19 +5078,20 @@ func (c *MediaLive) UpdateChannelRequest(input *UpdateChannelInput) (req *reques // API operation UpdateChannel for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnprocessableEntityException +// - BadRequestException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * GatewayTimeoutException +// - BadGatewayException // -// * ConflictException +// - GatewayTimeoutException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannel func (c *MediaLive) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error) { @@ -5141,14 +5131,13 @@ const opUpdateChannelClass = "UpdateChannelClass" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateChannelClassRequest method. +// req, resp := client.UpdateChannelClassRequest(params) // -// // Example sending a request using the UpdateChannelClassRequest method. -// req, resp := client.UpdateChannelClassRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannelClass func (c *MediaLive) UpdateChannelClassRequest(input *UpdateChannelClassInput) (req *request.Request, output *UpdateChannelClassOutput) { @@ -5179,23 +5168,24 @@ func (c *MediaLive) UpdateChannelClassRequest(input *UpdateChannelClassInput) (r // API operation UpdateChannelClass for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnprocessableEntityException +// - BadRequestException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException // -// * ConflictException +// - TooManyRequestsException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannelClass func (c *MediaLive) UpdateChannelClass(input *UpdateChannelClassInput) (*UpdateChannelClassOutput, error) { @@ -5235,14 +5225,13 @@ const opUpdateInput = "UpdateInput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateInputRequest method. +// req, resp := client.UpdateInputRequest(params) // -// // Example sending a request using the UpdateInputRequest method. -// req, resp := client.UpdateInputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInput func (c *MediaLive) UpdateInputRequest(input *UpdateInputInput) (req *request.Request, output *UpdateInputOutput) { @@ -5273,19 +5262,20 @@ func (c *MediaLive) UpdateInputRequest(input *UpdateInputInput) (req *request.Re // API operation UpdateInput for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * ConflictException +// - GatewayTimeoutException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInput func (c *MediaLive) UpdateInput(input *UpdateInputInput) (*UpdateInputOutput, error) { @@ -5325,14 +5315,13 @@ const opUpdateInputDevice = "UpdateInputDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateInputDeviceRequest method. +// req, resp := client.UpdateInputDeviceRequest(params) // -// // Example sending a request using the UpdateInputDeviceRequest method. -// req, resp := client.UpdateInputDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputDevice func (c *MediaLive) UpdateInputDeviceRequest(input *UpdateInputDeviceInput) (req *request.Request, output *UpdateInputDeviceOutput) { @@ -5363,21 +5352,22 @@ func (c *MediaLive) UpdateInputDeviceRequest(input *UpdateInputDeviceInput) (req // API operation UpdateInputDevice for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnprocessableEntityException +// - BadRequestException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * TooManyRequestsException +// - GatewayTimeoutException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputDevice func (c *MediaLive) UpdateInputDevice(input *UpdateInputDeviceInput) (*UpdateInputDeviceOutput, error) { @@ -5417,14 +5407,13 @@ const opUpdateInputSecurityGroup = "UpdateInputSecurityGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateInputSecurityGroupRequest method. +// req, resp := client.UpdateInputSecurityGroupRequest(params) // -// // Example sending a request using the UpdateInputSecurityGroupRequest method. -// req, resp := client.UpdateInputSecurityGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputSecurityGroup func (c *MediaLive) UpdateInputSecurityGroupRequest(input *UpdateInputSecurityGroupInput) (req *request.Request, output *UpdateInputSecurityGroupOutput) { @@ -5455,19 +5444,20 @@ func (c *MediaLive) UpdateInputSecurityGroupRequest(input *UpdateInputSecurityGr // API operation UpdateInputSecurityGroup for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * ConflictException +// - GatewayTimeoutException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputSecurityGroup func (c *MediaLive) UpdateInputSecurityGroup(input *UpdateInputSecurityGroupInput) (*UpdateInputSecurityGroupOutput, error) { @@ -5507,14 +5497,13 @@ const opUpdateMultiplex = "UpdateMultiplex" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMultiplexRequest method. +// req, resp := client.UpdateMultiplexRequest(params) // -// // Example sending a request using the UpdateMultiplexRequest method. -// req, resp := client.UpdateMultiplexRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplex func (c *MediaLive) UpdateMultiplexRequest(input *UpdateMultiplexInput) (req *request.Request, output *UpdateMultiplexOutput) { @@ -5545,21 +5534,22 @@ func (c *MediaLive) UpdateMultiplexRequest(input *UpdateMultiplexInput) (req *re // API operation UpdateMultiplex for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnprocessableEntityException +// - BadRequestException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * ConflictException +// - GatewayTimeoutException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplex func (c *MediaLive) UpdateMultiplex(input *UpdateMultiplexInput) (*UpdateMultiplexOutput, error) { @@ -5599,14 +5589,13 @@ const opUpdateMultiplexProgram = "UpdateMultiplexProgram" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMultiplexProgramRequest method. +// req, resp := client.UpdateMultiplexProgramRequest(params) // -// // Example sending a request using the UpdateMultiplexProgramRequest method. -// req, resp := client.UpdateMultiplexProgramRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplexProgram func (c *MediaLive) UpdateMultiplexProgramRequest(input *UpdateMultiplexProgramInput) (req *request.Request, output *UpdateMultiplexProgramOutput) { @@ -5637,21 +5626,22 @@ func (c *MediaLive) UpdateMultiplexProgramRequest(input *UpdateMultiplexProgramI // API operation UpdateMultiplexProgram for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnprocessableEntityException +// - BadRequestException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * BadGatewayException +// - ForbiddenException // -// * NotFoundException +// - BadGatewayException // -// * GatewayTimeoutException +// - NotFoundException // -// * ConflictException +// - GatewayTimeoutException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateMultiplexProgram func (c *MediaLive) UpdateMultiplexProgram(input *UpdateMultiplexProgramInput) (*UpdateMultiplexProgramOutput, error) { @@ -5691,14 +5681,13 @@ const opUpdateReservation = "UpdateReservation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateReservationRequest method. +// req, resp := client.UpdateReservationRequest(params) // -// // Example sending a request using the UpdateReservationRequest method. -// req, resp := client.UpdateReservationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateReservation func (c *MediaLive) UpdateReservationRequest(input *UpdateReservationInput) (req *request.Request, output *UpdateReservationOutput) { @@ -5729,21 +5718,22 @@ func (c *MediaLive) UpdateReservationRequest(input *UpdateReservationInput) (req // API operation UpdateReservation for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * BadGatewayException +// - BadGatewayException // -// * NotFoundException +// - NotFoundException // -// * GatewayTimeoutException +// - GatewayTimeoutException // -// * TooManyRequestsException +// - TooManyRequestsException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateReservation func (c *MediaLive) UpdateReservation(input *UpdateReservationInput) (*UpdateReservationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/doc.go index 22c909872031..0f097d8cfd05 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/doc.go @@ -3,14 +3,14 @@ // Package medialive provides the client and types for making API // requests to AWS Elemental MediaLive. // -// API for AWS Elemental MediaLive +// # API for AWS Elemental MediaLive // // See https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14 for more information on this service. // // See medialive package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/medialive/ // -// Using the Client +// # Using the Client // // To contact AWS Elemental MediaLive with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/medialiveiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/medialiveiface/interface.go index 081ea49e99b1..b5ce1dc34e07 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/medialiveiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/medialiveiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Elemental MediaLive. -// func myFunc(svc medialiveiface.MediaLiveAPI) bool { -// // Make svc.AcceptInputDeviceTransfer request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Elemental MediaLive. +// func myFunc(svc medialiveiface.MediaLiveAPI) bool { +// // Make svc.AcceptInputDeviceTransfer request +// } // -// func main() { -// sess := session.New() -// svc := medialive.New(sess) +// func main() { +// sess := session.New() +// svc := medialive.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMediaLiveClient struct { -// medialiveiface.MediaLiveAPI -// } -// func (m *mockMediaLiveClient) AcceptInputDeviceTransfer(input *medialive.AcceptInputDeviceTransferInput) (*medialive.AcceptInputDeviceTransferOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMediaLiveClient struct { +// medialiveiface.MediaLiveAPI +// } +// func (m *mockMediaLiveClient) AcceptInputDeviceTransfer(input *medialive.AcceptInputDeviceTransferInput) (*medialive.AcceptInputDeviceTransferOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMediaLiveClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMediaLiveClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/service.go index cff4b5a77d8a..2c2393791a61 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/medialive/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MediaLive client from just a session. -// svc := medialive.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MediaLive client with additional configuration -// svc := medialive.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MediaLive client from just a session. +// svc := medialive.New(mySession) +// +// // Create a MediaLive client with additional configuration +// svc := medialive.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaLive { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/api.go index 7862299703da..46a914dc742f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/api.go @@ -28,14 +28,13 @@ const opConfigureLogs = "ConfigureLogs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfigureLogsRequest method. +// req, resp := client.ConfigureLogsRequest(params) // -// // Example sending a request using the ConfigureLogsRequest method. -// req, resp := client.ConfigureLogsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ConfigureLogs func (c *MediaPackage) ConfigureLogsRequest(input *ConfigureLogsInput) (req *request.Request, output *ConfigureLogsOutput) { @@ -56,7 +55,7 @@ func (c *MediaPackage) ConfigureLogsRequest(input *ConfigureLogsInput) (req *req // ConfigureLogs API operation for AWS Elemental MediaPackage. // -// Changes the Channel's properities to configure log subscription +// # Changes the Channel's properities to configure log subscription // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -66,17 +65,18 @@ func (c *MediaPackage) ConfigureLogsRequest(input *ConfigureLogsInput) (req *req // API operation ConfigureLogs for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ConfigureLogs func (c *MediaPackage) ConfigureLogs(input *ConfigureLogsInput) (*ConfigureLogsOutput, error) { @@ -116,14 +116,13 @@ const opCreateChannel = "CreateChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChannelRequest method. +// req, resp := client.CreateChannelRequest(params) // -// // Example sending a request using the CreateChannelRequest method. -// req, resp := client.CreateChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannel func (c *MediaPackage) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput) { @@ -154,17 +153,18 @@ func (c *MediaPackage) CreateChannelRequest(input *CreateChannelInput) (req *req // API operation CreateChannel for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateChannel func (c *MediaPackage) CreateChannel(input *CreateChannelInput) (*CreateChannelOutput, error) { @@ -204,14 +204,13 @@ const opCreateHarvestJob = "CreateHarvestJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHarvestJobRequest method. +// req, resp := client.CreateHarvestJobRequest(params) // -// // Example sending a request using the CreateHarvestJobRequest method. -// req, resp := client.CreateHarvestJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateHarvestJob func (c *MediaPackage) CreateHarvestJobRequest(input *CreateHarvestJobInput) (req *request.Request, output *CreateHarvestJobOutput) { @@ -242,17 +241,18 @@ func (c *MediaPackage) CreateHarvestJobRequest(input *CreateHarvestJobInput) (re // API operation CreateHarvestJob for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateHarvestJob func (c *MediaPackage) CreateHarvestJob(input *CreateHarvestJobInput) (*CreateHarvestJobOutput, error) { @@ -292,14 +292,13 @@ const opCreateOriginEndpoint = "CreateOriginEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOriginEndpointRequest method. +// req, resp := client.CreateOriginEndpointRequest(params) // -// // Example sending a request using the CreateOriginEndpointRequest method. -// req, resp := client.CreateOriginEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpoint func (c *MediaPackage) CreateOriginEndpointRequest(input *CreateOriginEndpointInput) (req *request.Request, output *CreateOriginEndpointOutput) { @@ -330,17 +329,18 @@ func (c *MediaPackage) CreateOriginEndpointRequest(input *CreateOriginEndpointIn // API operation CreateOriginEndpoint for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateOriginEndpoint func (c *MediaPackage) CreateOriginEndpoint(input *CreateOriginEndpointInput) (*CreateOriginEndpointOutput, error) { @@ -380,14 +380,13 @@ const opDeleteChannel = "DeleteChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelRequest method. +// req, resp := client.DeleteChannelRequest(params) // -// // Example sending a request using the DeleteChannelRequest method. -// req, resp := client.DeleteChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannel func (c *MediaPackage) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput) { @@ -419,17 +418,18 @@ func (c *MediaPackage) DeleteChannelRequest(input *DeleteChannelInput) (req *req // API operation DeleteChannel for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteChannel func (c *MediaPackage) DeleteChannel(input *DeleteChannelInput) (*DeleteChannelOutput, error) { @@ -469,14 +469,13 @@ const opDeleteOriginEndpoint = "DeleteOriginEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOriginEndpointRequest method. +// req, resp := client.DeleteOriginEndpointRequest(params) // -// // Example sending a request using the DeleteOriginEndpointRequest method. -// req, resp := client.DeleteOriginEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpoint func (c *MediaPackage) DeleteOriginEndpointRequest(input *DeleteOriginEndpointInput) (req *request.Request, output *DeleteOriginEndpointOutput) { @@ -508,17 +507,18 @@ func (c *MediaPackage) DeleteOriginEndpointRequest(input *DeleteOriginEndpointIn // API operation DeleteOriginEndpoint for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DeleteOriginEndpoint func (c *MediaPackage) DeleteOriginEndpoint(input *DeleteOriginEndpointInput) (*DeleteOriginEndpointOutput, error) { @@ -558,14 +558,13 @@ const opDescribeChannel = "DescribeChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelRequest method. +// req, resp := client.DescribeChannelRequest(params) // -// // Example sending a request using the DescribeChannelRequest method. -// req, resp := client.DescribeChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannel func (c *MediaPackage) DescribeChannelRequest(input *DescribeChannelInput) (req *request.Request, output *DescribeChannelOutput) { @@ -596,17 +595,18 @@ func (c *MediaPackage) DescribeChannelRequest(input *DescribeChannelInput) (req // API operation DescribeChannel for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeChannel func (c *MediaPackage) DescribeChannel(input *DescribeChannelInput) (*DescribeChannelOutput, error) { @@ -646,14 +646,13 @@ const opDescribeHarvestJob = "DescribeHarvestJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHarvestJobRequest method. +// req, resp := client.DescribeHarvestJobRequest(params) // -// // Example sending a request using the DescribeHarvestJobRequest method. -// req, resp := client.DescribeHarvestJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeHarvestJob func (c *MediaPackage) DescribeHarvestJobRequest(input *DescribeHarvestJobInput) (req *request.Request, output *DescribeHarvestJobOutput) { @@ -684,17 +683,18 @@ func (c *MediaPackage) DescribeHarvestJobRequest(input *DescribeHarvestJobInput) // API operation DescribeHarvestJob for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeHarvestJob func (c *MediaPackage) DescribeHarvestJob(input *DescribeHarvestJobInput) (*DescribeHarvestJobOutput, error) { @@ -734,14 +734,13 @@ const opDescribeOriginEndpoint = "DescribeOriginEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOriginEndpointRequest method. +// req, resp := client.DescribeOriginEndpointRequest(params) // -// // Example sending a request using the DescribeOriginEndpointRequest method. -// req, resp := client.DescribeOriginEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpoint func (c *MediaPackage) DescribeOriginEndpointRequest(input *DescribeOriginEndpointInput) (req *request.Request, output *DescribeOriginEndpointOutput) { @@ -772,17 +771,18 @@ func (c *MediaPackage) DescribeOriginEndpointRequest(input *DescribeOriginEndpoi // API operation DescribeOriginEndpoint for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/DescribeOriginEndpoint func (c *MediaPackage) DescribeOriginEndpoint(input *DescribeOriginEndpointInput) (*DescribeOriginEndpointOutput, error) { @@ -822,14 +822,13 @@ const opListChannels = "ListChannels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelsRequest method. +// req, resp := client.ListChannelsRequest(params) // -// // Example sending a request using the ListChannelsRequest method. -// req, resp := client.ListChannelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannels func (c *MediaPackage) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput) { @@ -866,17 +865,18 @@ func (c *MediaPackage) ListChannelsRequest(input *ListChannelsInput) (req *reque // API operation ListChannels for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListChannels func (c *MediaPackage) ListChannels(input *ListChannelsInput) (*ListChannelsOutput, error) { @@ -908,15 +908,14 @@ func (c *MediaPackage) ListChannelsWithContext(ctx aws.Context, input *ListChann // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannels operation. -// pageNum := 0 -// err := client.ListChannelsPages(params, -// func(page *mediapackage.ListChannelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannels operation. +// pageNum := 0 +// err := client.ListChannelsPages(params, +// func(page *mediapackage.ListChannelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaPackage) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error { return c.ListChannelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -968,14 +967,13 @@ const opListHarvestJobs = "ListHarvestJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHarvestJobsRequest method. +// req, resp := client.ListHarvestJobsRequest(params) // -// // Example sending a request using the ListHarvestJobsRequest method. -// req, resp := client.ListHarvestJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListHarvestJobs func (c *MediaPackage) ListHarvestJobsRequest(input *ListHarvestJobsInput) (req *request.Request, output *ListHarvestJobsOutput) { @@ -1012,17 +1010,18 @@ func (c *MediaPackage) ListHarvestJobsRequest(input *ListHarvestJobsInput) (req // API operation ListHarvestJobs for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListHarvestJobs func (c *MediaPackage) ListHarvestJobs(input *ListHarvestJobsInput) (*ListHarvestJobsOutput, error) { @@ -1054,15 +1053,14 @@ func (c *MediaPackage) ListHarvestJobsWithContext(ctx aws.Context, input *ListHa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListHarvestJobs operation. -// pageNum := 0 -// err := client.ListHarvestJobsPages(params, -// func(page *mediapackage.ListHarvestJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListHarvestJobs operation. +// pageNum := 0 +// err := client.ListHarvestJobsPages(params, +// func(page *mediapackage.ListHarvestJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaPackage) ListHarvestJobsPages(input *ListHarvestJobsInput, fn func(*ListHarvestJobsOutput, bool) bool) error { return c.ListHarvestJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1114,14 +1112,13 @@ const opListOriginEndpoints = "ListOriginEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOriginEndpointsRequest method. +// req, resp := client.ListOriginEndpointsRequest(params) // -// // Example sending a request using the ListOriginEndpointsRequest method. -// req, resp := client.ListOriginEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpoints func (c *MediaPackage) ListOriginEndpointsRequest(input *ListOriginEndpointsInput) (req *request.Request, output *ListOriginEndpointsOutput) { @@ -1158,17 +1155,18 @@ func (c *MediaPackage) ListOriginEndpointsRequest(input *ListOriginEndpointsInpu // API operation ListOriginEndpoints for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpoints func (c *MediaPackage) ListOriginEndpoints(input *ListOriginEndpointsInput) (*ListOriginEndpointsOutput, error) { @@ -1200,15 +1198,14 @@ func (c *MediaPackage) ListOriginEndpointsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOriginEndpoints operation. -// pageNum := 0 -// err := client.ListOriginEndpointsPages(params, -// func(page *mediapackage.ListOriginEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOriginEndpoints operation. +// pageNum := 0 +// err := client.ListOriginEndpointsPages(params, +// func(page *mediapackage.ListOriginEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaPackage) ListOriginEndpointsPages(input *ListOriginEndpointsInput, fn func(*ListOriginEndpointsOutput, bool) bool) error { return c.ListOriginEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1260,14 +1257,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListTagsForResource func (c *MediaPackage) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1332,14 +1328,13 @@ const opRotateChannelCredentials = "RotateChannelCredentials" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RotateChannelCredentialsRequest method. +// req, resp := client.RotateChannelCredentialsRequest(params) // -// // Example sending a request using the RotateChannelCredentialsRequest method. -// req, resp := client.RotateChannelCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentials // @@ -1376,17 +1371,18 @@ func (c *MediaPackage) RotateChannelCredentialsRequest(input *RotateChannelCrede // API operation RotateChannelCredentials for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateChannelCredentials // @@ -1430,14 +1426,13 @@ const opRotateIngestEndpointCredentials = "RotateIngestEndpointCredentials" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RotateIngestEndpointCredentialsRequest method. +// req, resp := client.RotateIngestEndpointCredentialsRequest(params) // -// // Example sending a request using the RotateIngestEndpointCredentialsRequest method. -// req, resp := client.RotateIngestEndpointCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateIngestEndpointCredentials func (c *MediaPackage) RotateIngestEndpointCredentialsRequest(input *RotateIngestEndpointCredentialsInput) (req *request.Request, output *RotateIngestEndpointCredentialsOutput) { @@ -1469,17 +1464,18 @@ func (c *MediaPackage) RotateIngestEndpointCredentialsRequest(input *RotateInges // API operation RotateIngestEndpointCredentials for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/RotateIngestEndpointCredentials func (c *MediaPackage) RotateIngestEndpointCredentials(input *RotateIngestEndpointCredentialsInput) (*RotateIngestEndpointCredentialsOutput, error) { @@ -1519,14 +1515,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/TagResource func (c *MediaPackage) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1592,14 +1587,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UntagResource func (c *MediaPackage) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1665,14 +1659,13 @@ const opUpdateChannel = "UpdateChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateChannelRequest method. +// req, resp := client.UpdateChannelRequest(params) // -// // Example sending a request using the UpdateChannelRequest method. -// req, resp := client.UpdateChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannel func (c *MediaPackage) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput) { @@ -1703,17 +1696,18 @@ func (c *MediaPackage) UpdateChannelRequest(input *UpdateChannelInput) (req *req // API operation UpdateChannel for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateChannel func (c *MediaPackage) UpdateChannel(input *UpdateChannelInput) (*UpdateChannelOutput, error) { @@ -1753,14 +1747,13 @@ const opUpdateOriginEndpoint = "UpdateOriginEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateOriginEndpointRequest method. +// req, resp := client.UpdateOriginEndpointRequest(params) // -// // Example sending a request using the UpdateOriginEndpointRequest method. -// req, resp := client.UpdateOriginEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpoint func (c *MediaPackage) UpdateOriginEndpointRequest(input *UpdateOriginEndpointInput) (req *request.Request, output *UpdateOriginEndpointOutput) { @@ -1791,17 +1784,18 @@ func (c *MediaPackage) UpdateOriginEndpointRequest(input *UpdateOriginEndpointIn // API operation UpdateOriginEndpoint for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/UpdateOriginEndpoint func (c *MediaPackage) UpdateOriginEndpoint(input *UpdateOriginEndpointInput) (*UpdateOriginEndpointOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/doc.go index 03c868349917..47b3958ed13b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/doc.go @@ -3,14 +3,14 @@ // Package mediapackage provides the client and types for making API // requests to AWS Elemental MediaPackage. // -// AWS Elemental MediaPackage +// # AWS Elemental MediaPackage // // See https://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12 for more information on this service. // // See mediapackage package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/mediapackage/ // -// Using the Client +// # Using the Client // // To contact AWS Elemental MediaPackage with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/mediapackageiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/mediapackageiface/interface.go index 8236f3d23f65..bc56cb536bd0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/mediapackageiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/mediapackageiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Elemental MediaPackage. -// func myFunc(svc mediapackageiface.MediaPackageAPI) bool { -// // Make svc.ConfigureLogs request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Elemental MediaPackage. +// func myFunc(svc mediapackageiface.MediaPackageAPI) bool { +// // Make svc.ConfigureLogs request +// } // -// func main() { -// sess := session.New() -// svc := mediapackage.New(sess) +// func main() { +// sess := session.New() +// svc := mediapackage.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMediaPackageClient struct { -// mediapackageiface.MediaPackageAPI -// } -// func (m *mockMediaPackageClient) ConfigureLogs(input *mediapackage.ConfigureLogsInput) (*mediapackage.ConfigureLogsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMediaPackageClient struct { +// mediapackageiface.MediaPackageAPI +// } +// func (m *mockMediaPackageClient) ConfigureLogs(input *mediapackage.ConfigureLogsInput) (*mediapackage.ConfigureLogsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMediaPackageClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMediaPackageClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/service.go index 8e5b583373ed..14e834000c76 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackage/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MediaPackage client from just a session. -// svc := mediapackage.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MediaPackage client with additional configuration -// svc := mediapackage.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MediaPackage client from just a session. +// svc := mediapackage.New(mySession) +// +// // Create a MediaPackage client with additional configuration +// svc := mediapackage.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaPackage { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/api.go index e8405686ac6a..ba181e1418e7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/api.go @@ -28,14 +28,13 @@ const opConfigureLogs = "ConfigureLogs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfigureLogsRequest method. +// req, resp := client.ConfigureLogsRequest(params) // -// // Example sending a request using the ConfigureLogsRequest method. -// req, resp := client.ConfigureLogsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ConfigureLogs func (c *MediaPackageVod) ConfigureLogsRequest(input *ConfigureLogsInput) (req *request.Request, output *ConfigureLogsOutput) { @@ -56,7 +55,7 @@ func (c *MediaPackageVod) ConfigureLogsRequest(input *ConfigureLogsInput) (req * // ConfigureLogs API operation for AWS Elemental MediaPackage VOD. // -// Changes the packaging group's properities to configure log subscription +// # Changes the packaging group's properities to configure log subscription // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -66,17 +65,18 @@ func (c *MediaPackageVod) ConfigureLogsRequest(input *ConfigureLogsInput) (req * // API operation ConfigureLogs for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ConfigureLogs func (c *MediaPackageVod) ConfigureLogs(input *ConfigureLogsInput) (*ConfigureLogsOutput, error) { @@ -116,14 +116,13 @@ const opCreateAsset = "CreateAsset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAssetRequest method. +// req, resp := client.CreateAssetRequest(params) // -// // Example sending a request using the CreateAssetRequest method. -// req, resp := client.CreateAssetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreateAsset func (c *MediaPackageVod) CreateAssetRequest(input *CreateAssetInput) (req *request.Request, output *CreateAssetOutput) { @@ -154,17 +153,18 @@ func (c *MediaPackageVod) CreateAssetRequest(input *CreateAssetInput) (req *requ // API operation CreateAsset for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreateAsset func (c *MediaPackageVod) CreateAsset(input *CreateAssetInput) (*CreateAssetOutput, error) { @@ -204,14 +204,13 @@ const opCreatePackagingConfiguration = "CreatePackagingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePackagingConfigurationRequest method. +// req, resp := client.CreatePackagingConfigurationRequest(params) // -// // Example sending a request using the CreatePackagingConfigurationRequest method. -// req, resp := client.CreatePackagingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingConfiguration func (c *MediaPackageVod) CreatePackagingConfigurationRequest(input *CreatePackagingConfigurationInput) (req *request.Request, output *CreatePackagingConfigurationOutput) { @@ -242,17 +241,18 @@ func (c *MediaPackageVod) CreatePackagingConfigurationRequest(input *CreatePacka // API operation CreatePackagingConfiguration for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingConfiguration func (c *MediaPackageVod) CreatePackagingConfiguration(input *CreatePackagingConfigurationInput) (*CreatePackagingConfigurationOutput, error) { @@ -292,14 +292,13 @@ const opCreatePackagingGroup = "CreatePackagingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePackagingGroupRequest method. +// req, resp := client.CreatePackagingGroupRequest(params) // -// // Example sending a request using the CreatePackagingGroupRequest method. -// req, resp := client.CreatePackagingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingGroup func (c *MediaPackageVod) CreatePackagingGroupRequest(input *CreatePackagingGroupInput) (req *request.Request, output *CreatePackagingGroupOutput) { @@ -330,17 +329,18 @@ func (c *MediaPackageVod) CreatePackagingGroupRequest(input *CreatePackagingGrou // API operation CreatePackagingGroup for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/CreatePackagingGroup func (c *MediaPackageVod) CreatePackagingGroup(input *CreatePackagingGroupInput) (*CreatePackagingGroupOutput, error) { @@ -380,14 +380,13 @@ const opDeleteAsset = "DeleteAsset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAssetRequest method. +// req, resp := client.DeleteAssetRequest(params) // -// // Example sending a request using the DeleteAssetRequest method. -// req, resp := client.DeleteAssetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeleteAsset func (c *MediaPackageVod) DeleteAssetRequest(input *DeleteAssetInput) (req *request.Request, output *DeleteAssetOutput) { @@ -419,17 +418,18 @@ func (c *MediaPackageVod) DeleteAssetRequest(input *DeleteAssetInput) (req *requ // API operation DeleteAsset for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeleteAsset func (c *MediaPackageVod) DeleteAsset(input *DeleteAssetInput) (*DeleteAssetOutput, error) { @@ -469,14 +469,13 @@ const opDeletePackagingConfiguration = "DeletePackagingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePackagingConfigurationRequest method. +// req, resp := client.DeletePackagingConfigurationRequest(params) // -// // Example sending a request using the DeletePackagingConfigurationRequest method. -// req, resp := client.DeletePackagingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeletePackagingConfiguration func (c *MediaPackageVod) DeletePackagingConfigurationRequest(input *DeletePackagingConfigurationInput) (req *request.Request, output *DeletePackagingConfigurationOutput) { @@ -508,17 +507,18 @@ func (c *MediaPackageVod) DeletePackagingConfigurationRequest(input *DeletePacka // API operation DeletePackagingConfiguration for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeletePackagingConfiguration func (c *MediaPackageVod) DeletePackagingConfiguration(input *DeletePackagingConfigurationInput) (*DeletePackagingConfigurationOutput, error) { @@ -558,14 +558,13 @@ const opDeletePackagingGroup = "DeletePackagingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePackagingGroupRequest method. +// req, resp := client.DeletePackagingGroupRequest(params) // -// // Example sending a request using the DeletePackagingGroupRequest method. -// req, resp := client.DeletePackagingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeletePackagingGroup func (c *MediaPackageVod) DeletePackagingGroupRequest(input *DeletePackagingGroupInput) (req *request.Request, output *DeletePackagingGroupOutput) { @@ -597,17 +596,18 @@ func (c *MediaPackageVod) DeletePackagingGroupRequest(input *DeletePackagingGrou // API operation DeletePackagingGroup for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeletePackagingGroup func (c *MediaPackageVod) DeletePackagingGroup(input *DeletePackagingGroupInput) (*DeletePackagingGroupOutput, error) { @@ -647,14 +647,13 @@ const opDescribeAsset = "DescribeAsset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAssetRequest method. +// req, resp := client.DescribeAssetRequest(params) // -// // Example sending a request using the DescribeAssetRequest method. -// req, resp := client.DescribeAssetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribeAsset func (c *MediaPackageVod) DescribeAssetRequest(input *DescribeAssetInput) (req *request.Request, output *DescribeAssetOutput) { @@ -685,17 +684,18 @@ func (c *MediaPackageVod) DescribeAssetRequest(input *DescribeAssetInput) (req * // API operation DescribeAsset for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribeAsset func (c *MediaPackageVod) DescribeAsset(input *DescribeAssetInput) (*DescribeAssetOutput, error) { @@ -735,14 +735,13 @@ const opDescribePackagingConfiguration = "DescribePackagingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePackagingConfigurationRequest method. +// req, resp := client.DescribePackagingConfigurationRequest(params) // -// // Example sending a request using the DescribePackagingConfigurationRequest method. -// req, resp := client.DescribePackagingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingConfiguration func (c *MediaPackageVod) DescribePackagingConfigurationRequest(input *DescribePackagingConfigurationInput) (req *request.Request, output *DescribePackagingConfigurationOutput) { @@ -773,17 +772,18 @@ func (c *MediaPackageVod) DescribePackagingConfigurationRequest(input *DescribeP // API operation DescribePackagingConfiguration for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingConfiguration func (c *MediaPackageVod) DescribePackagingConfiguration(input *DescribePackagingConfigurationInput) (*DescribePackagingConfigurationOutput, error) { @@ -823,14 +823,13 @@ const opDescribePackagingGroup = "DescribePackagingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePackagingGroupRequest method. +// req, resp := client.DescribePackagingGroupRequest(params) // -// // Example sending a request using the DescribePackagingGroupRequest method. -// req, resp := client.DescribePackagingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingGroup func (c *MediaPackageVod) DescribePackagingGroupRequest(input *DescribePackagingGroupInput) (req *request.Request, output *DescribePackagingGroupOutput) { @@ -861,17 +860,18 @@ func (c *MediaPackageVod) DescribePackagingGroupRequest(input *DescribePackaging // API operation DescribePackagingGroup for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DescribePackagingGroup func (c *MediaPackageVod) DescribePackagingGroup(input *DescribePackagingGroupInput) (*DescribePackagingGroupOutput, error) { @@ -911,14 +911,13 @@ const opListAssets = "ListAssets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssetsRequest method. +// req, resp := client.ListAssetsRequest(params) // -// // Example sending a request using the ListAssetsRequest method. -// req, resp := client.ListAssetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListAssets func (c *MediaPackageVod) ListAssetsRequest(input *ListAssetsInput) (req *request.Request, output *ListAssetsOutput) { @@ -955,17 +954,18 @@ func (c *MediaPackageVod) ListAssetsRequest(input *ListAssetsInput) (req *reques // API operation ListAssets for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListAssets func (c *MediaPackageVod) ListAssets(input *ListAssetsInput) (*ListAssetsOutput, error) { @@ -997,15 +997,14 @@ func (c *MediaPackageVod) ListAssetsWithContext(ctx aws.Context, input *ListAsse // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssets operation. -// pageNum := 0 -// err := client.ListAssetsPages(params, -// func(page *mediapackagevod.ListAssetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssets operation. +// pageNum := 0 +// err := client.ListAssetsPages(params, +// func(page *mediapackagevod.ListAssetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaPackageVod) ListAssetsPages(input *ListAssetsInput, fn func(*ListAssetsOutput, bool) bool) error { return c.ListAssetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1057,14 +1056,13 @@ const opListPackagingConfigurations = "ListPackagingConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPackagingConfigurationsRequest method. +// req, resp := client.ListPackagingConfigurationsRequest(params) // -// // Example sending a request using the ListPackagingConfigurationsRequest method. -// req, resp := client.ListPackagingConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingConfigurations func (c *MediaPackageVod) ListPackagingConfigurationsRequest(input *ListPackagingConfigurationsInput) (req *request.Request, output *ListPackagingConfigurationsOutput) { @@ -1101,17 +1099,18 @@ func (c *MediaPackageVod) ListPackagingConfigurationsRequest(input *ListPackagin // API operation ListPackagingConfigurations for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException // -// * TooManyRequestsException +// - ServiceUnavailableException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingConfigurations func (c *MediaPackageVod) ListPackagingConfigurations(input *ListPackagingConfigurationsInput) (*ListPackagingConfigurationsOutput, error) { @@ -1143,15 +1142,14 @@ func (c *MediaPackageVod) ListPackagingConfigurationsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPackagingConfigurations operation. -// pageNum := 0 -// err := client.ListPackagingConfigurationsPages(params, -// func(page *mediapackagevod.ListPackagingConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPackagingConfigurations operation. +// pageNum := 0 +// err := client.ListPackagingConfigurationsPages(params, +// func(page *mediapackagevod.ListPackagingConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaPackageVod) ListPackagingConfigurationsPages(input *ListPackagingConfigurationsInput, fn func(*ListPackagingConfigurationsOutput, bool) bool) error { return c.ListPackagingConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1203,14 +1201,13 @@ const opListPackagingGroups = "ListPackagingGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPackagingGroupsRequest method. +// req, resp := client.ListPackagingGroupsRequest(params) // -// // Example sending a request using the ListPackagingGroupsRequest method. -// req, resp := client.ListPackagingGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingGroups func (c *MediaPackageVod) ListPackagingGroupsRequest(input *ListPackagingGroupsInput) (req *request.Request, output *ListPackagingGroupsOutput) { @@ -1247,17 +1244,18 @@ func (c *MediaPackageVod) ListPackagingGroupsRequest(input *ListPackagingGroupsI // API operation ListPackagingGroups for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListPackagingGroups func (c *MediaPackageVod) ListPackagingGroups(input *ListPackagingGroupsInput) (*ListPackagingGroupsOutput, error) { @@ -1289,15 +1287,14 @@ func (c *MediaPackageVod) ListPackagingGroupsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPackagingGroups operation. -// pageNum := 0 -// err := client.ListPackagingGroupsPages(params, -// func(page *mediapackagevod.ListPackagingGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPackagingGroups operation. +// pageNum := 0 +// err := client.ListPackagingGroupsPages(params, +// func(page *mediapackagevod.ListPackagingGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaPackageVod) ListPackagingGroupsPages(input *ListPackagingGroupsInput, fn func(*ListPackagingGroupsOutput, bool) bool) error { return c.ListPackagingGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1349,14 +1346,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/ListTagsForResource func (c *MediaPackageVod) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1423,14 +1419,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/TagResource func (c *MediaPackageVod) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1499,14 +1494,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/UntagResource func (c *MediaPackageVod) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1575,14 +1569,13 @@ const opUpdatePackagingGroup = "UpdatePackagingGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePackagingGroupRequest method. +// req, resp := client.UpdatePackagingGroupRequest(params) // -// // Example sending a request using the UpdatePackagingGroupRequest method. -// req, resp := client.UpdatePackagingGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/UpdatePackagingGroup func (c *MediaPackageVod) UpdatePackagingGroupRequest(input *UpdatePackagingGroupInput) (req *request.Request, output *UpdatePackagingGroupOutput) { @@ -1614,17 +1607,18 @@ func (c *MediaPackageVod) UpdatePackagingGroupRequest(input *UpdatePackagingGrou // API operation UpdatePackagingGroup for usage and error information. // // Returned Error Types: -// * UnprocessableEntityException // -// * InternalServerErrorException +// - UnprocessableEntityException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/UpdatePackagingGroup func (c *MediaPackageVod) UpdatePackagingGroup(input *UpdatePackagingGroupInput) (*UpdatePackagingGroupOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/doc.go index 3de8eb72c9fc..15a4036312b5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/doc.go @@ -3,14 +3,14 @@ // Package mediapackagevod provides the client and types for making API // requests to AWS Elemental MediaPackage VOD. // -// AWS Elemental MediaPackage VOD +// # AWS Elemental MediaPackage VOD // // See https://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07 for more information on this service. // // See mediapackagevod package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/mediapackagevod/ // -// Using the Client +// # Using the Client // // To contact AWS Elemental MediaPackage VOD with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/mediapackagevodiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/mediapackagevodiface/interface.go index 5d7a2ad9f7ef..c7b3721f95ae 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/mediapackagevodiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/mediapackagevodiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Elemental MediaPackage VOD. -// func myFunc(svc mediapackagevodiface.MediaPackageVodAPI) bool { -// // Make svc.ConfigureLogs request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Elemental MediaPackage VOD. +// func myFunc(svc mediapackagevodiface.MediaPackageVodAPI) bool { +// // Make svc.ConfigureLogs request +// } // -// func main() { -// sess := session.New() -// svc := mediapackagevod.New(sess) +// func main() { +// sess := session.New() +// svc := mediapackagevod.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMediaPackageVodClient struct { -// mediapackagevodiface.MediaPackageVodAPI -// } -// func (m *mockMediaPackageVodClient) ConfigureLogs(input *mediapackagevod.ConfigureLogsInput) (*mediapackagevod.ConfigureLogsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMediaPackageVodClient struct { +// mediapackagevodiface.MediaPackageVodAPI +// } +// func (m *mockMediaPackageVodClient) ConfigureLogs(input *mediapackagevod.ConfigureLogsInput) (*mediapackagevod.ConfigureLogsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMediaPackageVodClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMediaPackageVodClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/service.go index ec3ee79879bd..7a050fae3b14 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediapackagevod/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MediaPackageVod client from just a session. -// svc := mediapackagevod.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MediaPackageVod client with additional configuration -// svc := mediapackagevod.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MediaPackageVod client from just a session. +// svc := mediapackagevod.New(mySession) +// +// // Create a MediaPackageVod client with additional configuration +// svc := mediapackagevod.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaPackageVod { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/api.go index aa3441d4f1f4..562be52b6df3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/api.go @@ -29,14 +29,13 @@ const opCreateContainer = "CreateContainer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateContainerRequest method. +// req, resp := client.CreateContainerRequest(params) // -// // Example sending a request using the CreateContainerRequest method. -// req, resp := client.CreateContainerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/CreateContainer func (c *MediaStore) CreateContainerRequest(input *CreateContainerInput) (req *request.Request, output *CreateContainerOutput) { @@ -68,15 +67,16 @@ func (c *MediaStore) CreateContainerRequest(input *CreateContainerInput) (req *r // API operation CreateContainer for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * LimitExceededException -// A service limit has been exceeded. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. +// +// - LimitExceededException +// A service limit has been exceeded. // -// * InternalServerError -// The service is temporarily unavailable. +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/CreateContainer func (c *MediaStore) CreateContainer(input *CreateContainerInput) (*CreateContainerOutput, error) { @@ -116,14 +116,13 @@ const opDeleteContainer = "DeleteContainer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteContainerRequest method. +// req, resp := client.DeleteContainerRequest(params) // -// // Example sending a request using the DeleteContainerRequest method. -// req, resp := client.DeleteContainerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainer func (c *MediaStore) DeleteContainerRequest(input *DeleteContainerInput) (req *request.Request, output *DeleteContainerOutput) { @@ -157,15 +156,16 @@ func (c *MediaStore) DeleteContainerRequest(input *DeleteContainerInput) (req *r // API operation DeleteContainer for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * ContainerNotFoundException -// The container that you specified in the request does not exist. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. // -// * InternalServerError -// The service is temporarily unavailable. +// - ContainerNotFoundException +// The container that you specified in the request does not exist. +// +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainer func (c *MediaStore) DeleteContainer(input *DeleteContainerInput) (*DeleteContainerOutput, error) { @@ -205,14 +205,13 @@ const opDeleteContainerPolicy = "DeleteContainerPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteContainerPolicyRequest method. +// req, resp := client.DeleteContainerPolicyRequest(params) // -// // Example sending a request using the DeleteContainerPolicyRequest method. -// req, resp := client.DeleteContainerPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainerPolicy func (c *MediaStore) DeleteContainerPolicyRequest(input *DeleteContainerPolicyInput) (req *request.Request, output *DeleteContainerPolicyOutput) { @@ -244,18 +243,19 @@ func (c *MediaStore) DeleteContainerPolicyRequest(input *DeleteContainerPolicyIn // API operation DeleteContainerPolicy for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * ContainerNotFoundException -// The container that you specified in the request does not exist. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. +// +// - ContainerNotFoundException +// The container that you specified in the request does not exist. // -// * PolicyNotFoundException -// The policy that you specified in the request does not exist. +// - PolicyNotFoundException +// The policy that you specified in the request does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteContainerPolicy func (c *MediaStore) DeleteContainerPolicy(input *DeleteContainerPolicyInput) (*DeleteContainerPolicyOutput, error) { @@ -295,14 +295,13 @@ const opDeleteCorsPolicy = "DeleteCorsPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCorsPolicyRequest method. +// req, resp := client.DeleteCorsPolicyRequest(params) // -// // Example sending a request using the DeleteCorsPolicyRequest method. -// req, resp := client.DeleteCorsPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteCorsPolicy func (c *MediaStore) DeleteCorsPolicyRequest(input *DeleteCorsPolicyInput) (req *request.Request, output *DeleteCorsPolicyOutput) { @@ -339,18 +338,19 @@ func (c *MediaStore) DeleteCorsPolicyRequest(input *DeleteCorsPolicyInput) (req // API operation DeleteCorsPolicy for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * ContainerNotFoundException -// The container that you specified in the request does not exist. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. +// +// - ContainerNotFoundException +// The container that you specified in the request does not exist. // -// * CorsPolicyNotFoundException -// The CORS policy that you specified in the request does not exist. +// - CorsPolicyNotFoundException +// The CORS policy that you specified in the request does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteCorsPolicy func (c *MediaStore) DeleteCorsPolicy(input *DeleteCorsPolicyInput) (*DeleteCorsPolicyOutput, error) { @@ -390,14 +390,13 @@ const opDeleteLifecyclePolicy = "DeleteLifecyclePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLifecyclePolicyRequest method. +// req, resp := client.DeleteLifecyclePolicyRequest(params) // -// // Example sending a request using the DeleteLifecyclePolicyRequest method. -// req, resp := client.DeleteLifecyclePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteLifecyclePolicy func (c *MediaStore) DeleteLifecyclePolicyRequest(input *DeleteLifecyclePolicyInput) (req *request.Request, output *DeleteLifecyclePolicyOutput) { @@ -430,18 +429,19 @@ func (c *MediaStore) DeleteLifecyclePolicyRequest(input *DeleteLifecyclePolicyIn // API operation DeleteLifecyclePolicy for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * ContainerNotFoundException -// The container that you specified in the request does not exist. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. // -// * PolicyNotFoundException -// The policy that you specified in the request does not exist. +// - ContainerNotFoundException +// The container that you specified in the request does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - PolicyNotFoundException +// The policy that you specified in the request does not exist. +// +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteLifecyclePolicy func (c *MediaStore) DeleteLifecyclePolicy(input *DeleteLifecyclePolicyInput) (*DeleteLifecyclePolicyOutput, error) { @@ -481,14 +481,13 @@ const opDeleteMetricPolicy = "DeleteMetricPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMetricPolicyRequest method. +// req, resp := client.DeleteMetricPolicyRequest(params) // -// // Example sending a request using the DeleteMetricPolicyRequest method. -// req, resp := client.DeleteMetricPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteMetricPolicy func (c *MediaStore) DeleteMetricPolicyRequest(input *DeleteMetricPolicyInput) (req *request.Request, output *DeleteMetricPolicyOutput) { @@ -522,18 +521,19 @@ func (c *MediaStore) DeleteMetricPolicyRequest(input *DeleteMetricPolicyInput) ( // API operation DeleteMetricPolicy for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * ContainerNotFoundException -// The container that you specified in the request does not exist. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. // -// * PolicyNotFoundException -// The policy that you specified in the request does not exist. +// - ContainerNotFoundException +// The container that you specified in the request does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - PolicyNotFoundException +// The policy that you specified in the request does not exist. +// +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DeleteMetricPolicy func (c *MediaStore) DeleteMetricPolicy(input *DeleteMetricPolicyInput) (*DeleteMetricPolicyOutput, error) { @@ -573,14 +573,13 @@ const opDescribeContainer = "DescribeContainer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeContainerRequest method. +// req, resp := client.DescribeContainerRequest(params) // -// // Example sending a request using the DescribeContainerRequest method. -// req, resp := client.DescribeContainerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DescribeContainer func (c *MediaStore) DescribeContainerRequest(input *DescribeContainerInput) (req *request.Request, output *DescribeContainerOutput) { @@ -616,11 +615,12 @@ func (c *MediaStore) DescribeContainerRequest(input *DescribeContainerInput) (re // API operation DescribeContainer for usage and error information. // // Returned Error Types: -// * ContainerNotFoundException -// The container that you specified in the request does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - ContainerNotFoundException +// The container that you specified in the request does not exist. +// +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/DescribeContainer func (c *MediaStore) DescribeContainer(input *DescribeContainerInput) (*DescribeContainerOutput, error) { @@ -660,14 +660,13 @@ const opGetContainerPolicy = "GetContainerPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContainerPolicyRequest method. +// req, resp := client.GetContainerPolicyRequest(params) // -// // Example sending a request using the GetContainerPolicyRequest method. -// req, resp := client.GetContainerPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetContainerPolicy func (c *MediaStore) GetContainerPolicyRequest(input *GetContainerPolicyInput) (req *request.Request, output *GetContainerPolicyOutput) { @@ -700,18 +699,19 @@ func (c *MediaStore) GetContainerPolicyRequest(input *GetContainerPolicyInput) ( // API operation GetContainerPolicy for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * ContainerNotFoundException -// The container that you specified in the request does not exist. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. +// +// - ContainerNotFoundException +// The container that you specified in the request does not exist. // -// * PolicyNotFoundException -// The policy that you specified in the request does not exist. +// - PolicyNotFoundException +// The policy that you specified in the request does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetContainerPolicy func (c *MediaStore) GetContainerPolicy(input *GetContainerPolicyInput) (*GetContainerPolicyOutput, error) { @@ -751,14 +751,13 @@ const opGetCorsPolicy = "GetCorsPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCorsPolicyRequest method. +// req, resp := client.GetCorsPolicyRequest(params) // -// // Example sending a request using the GetCorsPolicyRequest method. -// req, resp := client.GetCorsPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetCorsPolicy func (c *MediaStore) GetCorsPolicyRequest(input *GetCorsPolicyInput) (req *request.Request, output *GetCorsPolicyOutput) { @@ -794,18 +793,19 @@ func (c *MediaStore) GetCorsPolicyRequest(input *GetCorsPolicyInput) (req *reque // API operation GetCorsPolicy for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * ContainerNotFoundException -// The container that you specified in the request does not exist. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. +// +// - ContainerNotFoundException +// The container that you specified in the request does not exist. // -// * CorsPolicyNotFoundException -// The CORS policy that you specified in the request does not exist. +// - CorsPolicyNotFoundException +// The CORS policy that you specified in the request does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetCorsPolicy func (c *MediaStore) GetCorsPolicy(input *GetCorsPolicyInput) (*GetCorsPolicyOutput, error) { @@ -845,14 +845,13 @@ const opGetLifecyclePolicy = "GetLifecyclePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLifecyclePolicyRequest method. +// req, resp := client.GetLifecyclePolicyRequest(params) // -// // Example sending a request using the GetLifecyclePolicyRequest method. -// req, resp := client.GetLifecyclePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetLifecyclePolicy func (c *MediaStore) GetLifecyclePolicyRequest(input *GetLifecyclePolicyInput) (req *request.Request, output *GetLifecyclePolicyOutput) { @@ -883,18 +882,19 @@ func (c *MediaStore) GetLifecyclePolicyRequest(input *GetLifecyclePolicyInput) ( // API operation GetLifecyclePolicy for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * ContainerNotFoundException -// The container that you specified in the request does not exist. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. // -// * PolicyNotFoundException -// The policy that you specified in the request does not exist. +// - ContainerNotFoundException +// The container that you specified in the request does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - PolicyNotFoundException +// The policy that you specified in the request does not exist. +// +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetLifecyclePolicy func (c *MediaStore) GetLifecyclePolicy(input *GetLifecyclePolicyInput) (*GetLifecyclePolicyOutput, error) { @@ -934,14 +934,13 @@ const opGetMetricPolicy = "GetMetricPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMetricPolicyRequest method. +// req, resp := client.GetMetricPolicyRequest(params) // -// // Example sending a request using the GetMetricPolicyRequest method. -// req, resp := client.GetMetricPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetMetricPolicy func (c *MediaStore) GetMetricPolicyRequest(input *GetMetricPolicyInput) (req *request.Request, output *GetMetricPolicyOutput) { @@ -972,18 +971,19 @@ func (c *MediaStore) GetMetricPolicyRequest(input *GetMetricPolicyInput) (req *r // API operation GetMetricPolicy for usage and error information. // // Returned Error Types: -// * ContainerNotFoundException -// The container that you specified in the request does not exist. // -// * PolicyNotFoundException -// The policy that you specified in the request does not exist. +// - ContainerNotFoundException +// The container that you specified in the request does not exist. // -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. +// - PolicyNotFoundException +// The policy that you specified in the request does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. +// +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/GetMetricPolicy func (c *MediaStore) GetMetricPolicy(input *GetMetricPolicyInput) (*GetMetricPolicyOutput, error) { @@ -1023,14 +1023,13 @@ const opListContainers = "ListContainers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListContainersRequest method. +// req, resp := client.ListContainersRequest(params) // -// // Example sending a request using the ListContainersRequest method. -// req, resp := client.ListContainersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/ListContainers func (c *MediaStore) ListContainersRequest(input *ListContainersInput) (req *request.Request, output *ListContainersOutput) { @@ -1076,8 +1075,8 @@ func (c *MediaStore) ListContainersRequest(input *ListContainersInput) (req *req // API operation ListContainers for usage and error information. // // Returned Error Types: -// * InternalServerError -// The service is temporarily unavailable. +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/ListContainers func (c *MediaStore) ListContainers(input *ListContainersInput) (*ListContainersOutput, error) { @@ -1109,15 +1108,14 @@ func (c *MediaStore) ListContainersWithContext(ctx aws.Context, input *ListConta // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListContainers operation. -// pageNum := 0 -// err := client.ListContainersPages(params, -// func(page *mediastore.ListContainersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListContainers operation. +// pageNum := 0 +// err := client.ListContainersPages(params, +// func(page *mediastore.ListContainersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaStore) ListContainersPages(input *ListContainersInput, fn func(*ListContainersOutput, bool) bool) error { return c.ListContainersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1169,14 +1167,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/ListTagsForResource func (c *MediaStore) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1207,15 +1204,16 @@ func (c *MediaStore) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * ContainerNotFoundException -// The container that you specified in the request does not exist. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. +// +// - ContainerNotFoundException +// The container that you specified in the request does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/ListTagsForResource func (c *MediaStore) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1255,14 +1253,13 @@ const opPutContainerPolicy = "PutContainerPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutContainerPolicyRequest method. +// req, resp := client.PutContainerPolicyRequest(params) // -// // Example sending a request using the PutContainerPolicyRequest method. -// req, resp := client.PutContainerPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutContainerPolicy func (c *MediaStore) PutContainerPolicyRequest(input *PutContainerPolicyInput) (req *request.Request, output *PutContainerPolicyOutput) { @@ -1301,15 +1298,16 @@ func (c *MediaStore) PutContainerPolicyRequest(input *PutContainerPolicyInput) ( // API operation PutContainerPolicy for usage and error information. // // Returned Error Types: -// * ContainerNotFoundException -// The container that you specified in the request does not exist. // -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. +// - ContainerNotFoundException +// The container that you specified in the request does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. +// +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutContainerPolicy func (c *MediaStore) PutContainerPolicy(input *PutContainerPolicyInput) (*PutContainerPolicyOutput, error) { @@ -1349,14 +1347,13 @@ const opPutCorsPolicy = "PutCorsPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutCorsPolicyRequest method. +// req, resp := client.PutCorsPolicyRequest(params) // -// // Example sending a request using the PutCorsPolicyRequest method. -// req, resp := client.PutCorsPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutCorsPolicy func (c *MediaStore) PutCorsPolicyRequest(input *PutCorsPolicyInput) (req *request.Request, output *PutCorsPolicyOutput) { @@ -1401,15 +1398,16 @@ func (c *MediaStore) PutCorsPolicyRequest(input *PutCorsPolicyInput) (req *reque // API operation PutCorsPolicy for usage and error information. // // Returned Error Types: -// * ContainerNotFoundException -// The container that you specified in the request does not exist. // -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. +// - ContainerNotFoundException +// The container that you specified in the request does not exist. +// +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. // -// * InternalServerError -// The service is temporarily unavailable. +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutCorsPolicy func (c *MediaStore) PutCorsPolicy(input *PutCorsPolicyInput) (*PutCorsPolicyOutput, error) { @@ -1449,14 +1447,13 @@ const opPutLifecyclePolicy = "PutLifecyclePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutLifecyclePolicyRequest method. +// req, resp := client.PutLifecyclePolicyRequest(params) // -// // Example sending a request using the PutLifecyclePolicyRequest method. -// req, resp := client.PutLifecyclePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutLifecyclePolicy func (c *MediaStore) PutLifecyclePolicyRequest(input *PutLifecyclePolicyInput) (req *request.Request, output *PutLifecyclePolicyOutput) { @@ -1493,15 +1490,16 @@ func (c *MediaStore) PutLifecyclePolicyRequest(input *PutLifecyclePolicyInput) ( // API operation PutLifecyclePolicy for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * ContainerNotFoundException -// The container that you specified in the request does not exist. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. +// +// - ContainerNotFoundException +// The container that you specified in the request does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutLifecyclePolicy func (c *MediaStore) PutLifecyclePolicy(input *PutLifecyclePolicyInput) (*PutLifecyclePolicyOutput, error) { @@ -1541,14 +1539,13 @@ const opPutMetricPolicy = "PutMetricPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutMetricPolicyRequest method. +// req, resp := client.PutMetricPolicyRequest(params) // -// // Example sending a request using the PutMetricPolicyRequest method. -// req, resp := client.PutMetricPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutMetricPolicy func (c *MediaStore) PutMetricPolicyRequest(input *PutMetricPolicyInput) (req *request.Request, output *PutMetricPolicyOutput) { @@ -1582,15 +1579,16 @@ func (c *MediaStore) PutMetricPolicyRequest(input *PutMetricPolicyInput) (req *r // API operation PutMetricPolicy for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * ContainerNotFoundException -// The container that you specified in the request does not exist. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. +// +// - ContainerNotFoundException +// The container that you specified in the request does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/PutMetricPolicy func (c *MediaStore) PutMetricPolicy(input *PutMetricPolicyInput) (*PutMetricPolicyOutput, error) { @@ -1630,14 +1628,13 @@ const opStartAccessLogging = "StartAccessLogging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartAccessLoggingRequest method. +// req, resp := client.StartAccessLoggingRequest(params) // -// // Example sending a request using the StartAccessLoggingRequest method. -// req, resp := client.StartAccessLoggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/StartAccessLogging func (c *MediaStore) StartAccessLoggingRequest(input *StartAccessLoggingInput) (req *request.Request, output *StartAccessLoggingOutput) { @@ -1671,15 +1668,16 @@ func (c *MediaStore) StartAccessLoggingRequest(input *StartAccessLoggingInput) ( // API operation StartAccessLogging for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * ContainerNotFoundException -// The container that you specified in the request does not exist. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. // -// * InternalServerError -// The service is temporarily unavailable. +// - ContainerNotFoundException +// The container that you specified in the request does not exist. +// +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/StartAccessLogging func (c *MediaStore) StartAccessLogging(input *StartAccessLoggingInput) (*StartAccessLoggingOutput, error) { @@ -1719,14 +1717,13 @@ const opStopAccessLogging = "StopAccessLogging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopAccessLoggingRequest method. +// req, resp := client.StopAccessLoggingRequest(params) // -// // Example sending a request using the StopAccessLoggingRequest method. -// req, resp := client.StopAccessLoggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/StopAccessLogging func (c *MediaStore) StopAccessLoggingRequest(input *StopAccessLoggingInput) (req *request.Request, output *StopAccessLoggingOutput) { @@ -1760,15 +1757,16 @@ func (c *MediaStore) StopAccessLoggingRequest(input *StopAccessLoggingInput) (re // API operation StopAccessLogging for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * ContainerNotFoundException -// The container that you specified in the request does not exist. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. // -// * InternalServerError -// The service is temporarily unavailable. +// - ContainerNotFoundException +// The container that you specified in the request does not exist. +// +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/StopAccessLogging func (c *MediaStore) StopAccessLogging(input *StopAccessLoggingInput) (*StopAccessLoggingOutput, error) { @@ -1808,14 +1806,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/TagResource func (c *MediaStore) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1852,15 +1849,16 @@ func (c *MediaStore) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * ContainerNotFoundException -// The container that you specified in the request does not exist. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. +// +// - ContainerNotFoundException +// The container that you specified in the request does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/TagResource func (c *MediaStore) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1900,14 +1898,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/UntagResource func (c *MediaStore) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1940,15 +1937,16 @@ func (c *MediaStore) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ContainerInUseException -// The container that you specified in the request already exists or is being -// updated. // -// * ContainerNotFoundException -// The container that you specified in the request does not exist. +// - ContainerInUseException +// The container that you specified in the request already exists or is being +// updated. +// +// - ContainerNotFoundException +// The container that you specified in the request does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-2017-09-01/UntagResource func (c *MediaStore) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/doc.go index d8f01e8ad66a..3842efa22211 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/doc.go @@ -11,7 +11,7 @@ // See mediastore package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/mediastore/ // -// Using the Client +// # Using the Client // // To contact AWS Elemental MediaStore with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/mediastoreiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/mediastoreiface/interface.go index 5085dcab89b1..e7c189ef0d27 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/mediastoreiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/mediastoreiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Elemental MediaStore. -// func myFunc(svc mediastoreiface.MediaStoreAPI) bool { -// // Make svc.CreateContainer request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Elemental MediaStore. +// func myFunc(svc mediastoreiface.MediaStoreAPI) bool { +// // Make svc.CreateContainer request +// } // -// func main() { -// sess := session.New() -// svc := mediastore.New(sess) +// func main() { +// sess := session.New() +// svc := mediastore.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMediaStoreClient struct { -// mediastoreiface.MediaStoreAPI -// } -// func (m *mockMediaStoreClient) CreateContainer(input *mediastore.CreateContainerInput) (*mediastore.CreateContainerOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMediaStoreClient struct { +// mediastoreiface.MediaStoreAPI +// } +// func (m *mockMediaStoreClient) CreateContainer(input *mediastore.CreateContainerInput) (*mediastore.CreateContainerOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMediaStoreClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMediaStoreClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/service.go index 923b6701b58b..f64b9930f39d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastore/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MediaStore client from just a session. -// svc := mediastore.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MediaStore client with additional configuration -// svc := mediastore.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MediaStore client from just a session. +// svc := mediastore.New(mySession) +// +// // Create a MediaStore client with additional configuration +// svc := mediastore.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaStore { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/api.go index 111e40ef1b50..04098397f1ea 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/api.go @@ -31,14 +31,13 @@ const opDeleteObject = "DeleteObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteObjectRequest method. +// req, resp := client.DeleteObjectRequest(params) // -// // Example sending a request using the DeleteObjectRequest method. -// req, resp := client.DeleteObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/DeleteObject func (c *MediaStoreData) DeleteObjectRequest(input *DeleteObjectInput) (req *request.Request, output *DeleteObjectOutput) { @@ -70,14 +69,15 @@ func (c *MediaStoreData) DeleteObjectRequest(input *DeleteObjectInput) (req *req // API operation DeleteObject for usage and error information. // // Returned Error Types: -// * ContainerNotFoundException -// The specified container was not found for the specified account. // -// * ObjectNotFoundException -// Could not perform an operation on an object that does not exist. +// - ContainerNotFoundException +// The specified container was not found for the specified account. +// +// - ObjectNotFoundException +// Could not perform an operation on an object that does not exist. // -// * InternalServerError -// The service is temporarily unavailable. +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/DeleteObject func (c *MediaStoreData) DeleteObject(input *DeleteObjectInput) (*DeleteObjectOutput, error) { @@ -117,14 +117,13 @@ const opDescribeObject = "DescribeObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeObjectRequest method. +// req, resp := client.DescribeObjectRequest(params) // -// // Example sending a request using the DescribeObjectRequest method. -// req, resp := client.DescribeObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/DescribeObject func (c *MediaStoreData) DescribeObjectRequest(input *DescribeObjectInput) (req *request.Request, output *DescribeObjectOutput) { @@ -155,14 +154,15 @@ func (c *MediaStoreData) DescribeObjectRequest(input *DescribeObjectInput) (req // API operation DescribeObject for usage and error information. // // Returned Error Types: -// * ContainerNotFoundException -// The specified container was not found for the specified account. // -// * ObjectNotFoundException -// Could not perform an operation on an object that does not exist. +// - ContainerNotFoundException +// The specified container was not found for the specified account. // -// * InternalServerError -// The service is temporarily unavailable. +// - ObjectNotFoundException +// Could not perform an operation on an object that does not exist. +// +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/DescribeObject func (c *MediaStoreData) DescribeObject(input *DescribeObjectInput) (*DescribeObjectOutput, error) { @@ -202,14 +202,13 @@ const opGetObject = "GetObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetObjectRequest method. +// req, resp := client.GetObjectRequest(params) // -// // Example sending a request using the GetObjectRequest method. -// req, resp := client.GetObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/GetObject func (c *MediaStoreData) GetObjectRequest(input *GetObjectInput) (req *request.Request, output *GetObjectOutput) { @@ -242,17 +241,18 @@ func (c *MediaStoreData) GetObjectRequest(input *GetObjectInput) (req *request.R // API operation GetObject for usage and error information. // // Returned Error Types: -// * ContainerNotFoundException -// The specified container was not found for the specified account. // -// * ObjectNotFoundException -// Could not perform an operation on an object that does not exist. +// - ContainerNotFoundException +// The specified container was not found for the specified account. +// +// - ObjectNotFoundException +// Could not perform an operation on an object that does not exist. // -// * RequestedRangeNotSatisfiableException -// The requested content range is not valid. +// - RequestedRangeNotSatisfiableException +// The requested content range is not valid. // -// * InternalServerError -// The service is temporarily unavailable. +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/GetObject func (c *MediaStoreData) GetObject(input *GetObjectInput) (*GetObjectOutput, error) { @@ -292,14 +292,13 @@ const opListItems = "ListItems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListItemsRequest method. +// req, resp := client.ListItemsRequest(params) // -// // Example sending a request using the ListItemsRequest method. -// req, resp := client.ListItemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/ListItems func (c *MediaStoreData) ListItemsRequest(input *ListItemsInput) (req *request.Request, output *ListItemsOutput) { @@ -337,11 +336,12 @@ func (c *MediaStoreData) ListItemsRequest(input *ListItemsInput) (req *request.R // API operation ListItems for usage and error information. // // Returned Error Types: -// * ContainerNotFoundException -// The specified container was not found for the specified account. // -// * InternalServerError -// The service is temporarily unavailable. +// - ContainerNotFoundException +// The specified container was not found for the specified account. +// +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/ListItems func (c *MediaStoreData) ListItems(input *ListItemsInput) (*ListItemsOutput, error) { @@ -373,15 +373,14 @@ func (c *MediaStoreData) ListItemsWithContext(ctx aws.Context, input *ListItemsI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListItems operation. -// pageNum := 0 -// err := client.ListItemsPages(params, -// func(page *mediastoredata.ListItemsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListItems operation. +// pageNum := 0 +// err := client.ListItemsPages(params, +// func(page *mediastoredata.ListItemsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaStoreData) ListItemsPages(input *ListItemsInput, fn func(*ListItemsOutput, bool) bool) error { return c.ListItemsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -433,14 +432,13 @@ const opPutObject = "PutObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutObjectRequest method. +// req, resp := client.PutObjectRequest(params) // -// // Example sending a request using the PutObjectRequest method. -// req, resp := client.PutObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/PutObject func (c *MediaStoreData) PutObjectRequest(input *PutObjectInput) (req *request.Request, output *PutObjectOutput) { @@ -475,11 +473,12 @@ func (c *MediaStoreData) PutObjectRequest(input *PutObjectInput) (req *request.R // API operation PutObject for usage and error information. // // Returned Error Types: -// * ContainerNotFoundException -// The specified container was not found for the specified account. // -// * InternalServerError -// The service is temporarily unavailable. +// - ContainerNotFoundException +// The specified container was not found for the specified account. +// +// - InternalServerError +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediastore-data-2017-09-01/PutObject func (c *MediaStoreData) PutObject(input *PutObjectInput) (*PutObjectOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/doc.go index 2d0c4fbeade1..106d6220aeb7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/doc.go @@ -12,7 +12,7 @@ // See mediastoredata package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/mediastoredata/ // -// Using the Client +// # Using the Client // // To contact AWS Elemental MediaStore Data Plane with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/mediastoredataiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/mediastoredataiface/interface.go index 4402758376a2..df9b3d3a19a2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/mediastoredataiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/mediastoredataiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Elemental MediaStore Data Plane. -// func myFunc(svc mediastoredataiface.MediaStoreDataAPI) bool { -// // Make svc.DeleteObject request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Elemental MediaStore Data Plane. +// func myFunc(svc mediastoredataiface.MediaStoreDataAPI) bool { +// // Make svc.DeleteObject request +// } // -// func main() { -// sess := session.New() -// svc := mediastoredata.New(sess) +// func main() { +// sess := session.New() +// svc := mediastoredata.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMediaStoreDataClient struct { -// mediastoredataiface.MediaStoreDataAPI -// } -// func (m *mockMediaStoreDataClient) DeleteObject(input *mediastoredata.DeleteObjectInput) (*mediastoredata.DeleteObjectOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMediaStoreDataClient struct { +// mediastoredataiface.MediaStoreDataAPI +// } +// func (m *mockMediaStoreDataClient) DeleteObject(input *mediastoredata.DeleteObjectInput) (*mediastoredata.DeleteObjectOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMediaStoreDataClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMediaStoreDataClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/service.go index 5886964e086d..8c937f23b7d6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediastoredata/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MediaStoreData client from just a session. -// svc := mediastoredata.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MediaStoreData client with additional configuration -// svc := mediastoredata.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MediaStoreData client from just a session. +// svc := mediastoredata.New(mySession) +// +// // Create a MediaStoreData client with additional configuration +// svc := mediastoredata.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaStoreData { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/api.go index 778c91e4172e..46fb1cfbec1e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/api.go @@ -29,14 +29,13 @@ const opConfigureLogsForPlaybackConfiguration = "ConfigureLogsForPlaybackConfigu // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfigureLogsForPlaybackConfigurationRequest method. +// req, resp := client.ConfigureLogsForPlaybackConfigurationRequest(params) // -// // Example sending a request using the ConfigureLogsForPlaybackConfigurationRequest method. -// req, resp := client.ConfigureLogsForPlaybackConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ConfigureLogsForPlaybackConfiguration func (c *MediaTailor) ConfigureLogsForPlaybackConfigurationRequest(input *ConfigureLogsForPlaybackConfigurationInput) (req *request.Request, output *ConfigureLogsForPlaybackConfigurationOutput) { @@ -103,14 +102,13 @@ const opCreateChannel = "CreateChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateChannelRequest method. +// req, resp := client.CreateChannelRequest(params) // -// // Example sending a request using the CreateChannelRequest method. -// req, resp := client.CreateChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateChannel func (c *MediaTailor) CreateChannelRequest(input *CreateChannelInput) (req *request.Request, output *CreateChannelOutput) { @@ -177,14 +175,13 @@ const opCreateLiveSource = "CreateLiveSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLiveSourceRequest method. +// req, resp := client.CreateLiveSourceRequest(params) // -// // Example sending a request using the CreateLiveSourceRequest method. -// req, resp := client.CreateLiveSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateLiveSource func (c *MediaTailor) CreateLiveSourceRequest(input *CreateLiveSourceInput) (req *request.Request, output *CreateLiveSourceOutput) { @@ -251,14 +248,13 @@ const opCreatePrefetchSchedule = "CreatePrefetchSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePrefetchScheduleRequest method. +// req, resp := client.CreatePrefetchScheduleRequest(params) // -// // Example sending a request using the CreatePrefetchScheduleRequest method. -// req, resp := client.CreatePrefetchScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreatePrefetchSchedule func (c *MediaTailor) CreatePrefetchScheduleRequest(input *CreatePrefetchScheduleInput) (req *request.Request, output *CreatePrefetchScheduleOutput) { @@ -325,14 +321,13 @@ const opCreateProgram = "CreateProgram" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProgramRequest method. +// req, resp := client.CreateProgramRequest(params) // -// // Example sending a request using the CreateProgramRequest method. -// req, resp := client.CreateProgramRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateProgram func (c *MediaTailor) CreateProgramRequest(input *CreateProgramInput) (req *request.Request, output *CreateProgramOutput) { @@ -399,14 +394,13 @@ const opCreateSourceLocation = "CreateSourceLocation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSourceLocationRequest method. +// req, resp := client.CreateSourceLocationRequest(params) // -// // Example sending a request using the CreateSourceLocationRequest method. -// req, resp := client.CreateSourceLocationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateSourceLocation func (c *MediaTailor) CreateSourceLocationRequest(input *CreateSourceLocationInput) (req *request.Request, output *CreateSourceLocationOutput) { @@ -473,14 +467,13 @@ const opCreateVodSource = "CreateVodSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVodSourceRequest method. +// req, resp := client.CreateVodSourceRequest(params) // -// // Example sending a request using the CreateVodSourceRequest method. -// req, resp := client.CreateVodSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateVodSource func (c *MediaTailor) CreateVodSourceRequest(input *CreateVodSourceInput) (req *request.Request, output *CreateVodSourceOutput) { @@ -547,14 +540,13 @@ const opDeleteChannel = "DeleteChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelRequest method. +// req, resp := client.DeleteChannelRequest(params) // -// // Example sending a request using the DeleteChannelRequest method. -// req, resp := client.DeleteChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannel func (c *MediaTailor) DeleteChannelRequest(input *DeleteChannelInput) (req *request.Request, output *DeleteChannelOutput) { @@ -622,14 +614,13 @@ const opDeleteChannelPolicy = "DeleteChannelPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChannelPolicyRequest method. +// req, resp := client.DeleteChannelPolicyRequest(params) // -// // Example sending a request using the DeleteChannelPolicyRequest method. -// req, resp := client.DeleteChannelPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannelPolicy func (c *MediaTailor) DeleteChannelPolicyRequest(input *DeleteChannelPolicyInput) (req *request.Request, output *DeleteChannelPolicyOutput) { @@ -697,14 +688,13 @@ const opDeleteLiveSource = "DeleteLiveSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLiveSourceRequest method. +// req, resp := client.DeleteLiveSourceRequest(params) // -// // Example sending a request using the DeleteLiveSourceRequest method. -// req, resp := client.DeleteLiveSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteLiveSource func (c *MediaTailor) DeleteLiveSourceRequest(input *DeleteLiveSourceInput) (req *request.Request, output *DeleteLiveSourceOutput) { @@ -772,14 +762,13 @@ const opDeletePlaybackConfiguration = "DeletePlaybackConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePlaybackConfigurationRequest method. +// req, resp := client.DeletePlaybackConfigurationRequest(params) // -// // Example sending a request using the DeletePlaybackConfigurationRequest method. -// req, resp := client.DeletePlaybackConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePlaybackConfiguration func (c *MediaTailor) DeletePlaybackConfigurationRequest(input *DeletePlaybackConfigurationInput) (req *request.Request, output *DeletePlaybackConfigurationOutput) { @@ -847,14 +836,13 @@ const opDeletePrefetchSchedule = "DeletePrefetchSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePrefetchScheduleRequest method. +// req, resp := client.DeletePrefetchScheduleRequest(params) // -// // Example sending a request using the DeletePrefetchScheduleRequest method. -// req, resp := client.DeletePrefetchScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePrefetchSchedule func (c *MediaTailor) DeletePrefetchScheduleRequest(input *DeletePrefetchScheduleInput) (req *request.Request, output *DeletePrefetchScheduleOutput) { @@ -924,14 +912,13 @@ const opDeleteProgram = "DeleteProgram" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProgramRequest method. +// req, resp := client.DeleteProgramRequest(params) // -// // Example sending a request using the DeleteProgramRequest method. -// req, resp := client.DeleteProgramRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteProgram func (c *MediaTailor) DeleteProgramRequest(input *DeleteProgramInput) (req *request.Request, output *DeleteProgramOutput) { @@ -999,14 +986,13 @@ const opDeleteSourceLocation = "DeleteSourceLocation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSourceLocationRequest method. +// req, resp := client.DeleteSourceLocationRequest(params) // -// // Example sending a request using the DeleteSourceLocationRequest method. -// req, resp := client.DeleteSourceLocationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteSourceLocation func (c *MediaTailor) DeleteSourceLocationRequest(input *DeleteSourceLocationInput) (req *request.Request, output *DeleteSourceLocationOutput) { @@ -1074,14 +1060,13 @@ const opDeleteVodSource = "DeleteVodSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVodSourceRequest method. +// req, resp := client.DeleteVodSourceRequest(params) // -// // Example sending a request using the DeleteVodSourceRequest method. -// req, resp := client.DeleteVodSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteVodSource func (c *MediaTailor) DeleteVodSourceRequest(input *DeleteVodSourceInput) (req *request.Request, output *DeleteVodSourceOutput) { @@ -1149,14 +1134,13 @@ const opDescribeChannel = "DescribeChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChannelRequest method. +// req, resp := client.DescribeChannelRequest(params) // -// // Example sending a request using the DescribeChannelRequest method. -// req, resp := client.DescribeChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeChannel func (c *MediaTailor) DescribeChannelRequest(input *DescribeChannelInput) (req *request.Request, output *DescribeChannelOutput) { @@ -1223,14 +1207,13 @@ const opDescribeLiveSource = "DescribeLiveSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLiveSourceRequest method. +// req, resp := client.DescribeLiveSourceRequest(params) // -// // Example sending a request using the DescribeLiveSourceRequest method. -// req, resp := client.DescribeLiveSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeLiveSource func (c *MediaTailor) DescribeLiveSourceRequest(input *DescribeLiveSourceInput) (req *request.Request, output *DescribeLiveSourceOutput) { @@ -1297,14 +1280,13 @@ const opDescribeProgram = "DescribeProgram" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProgramRequest method. +// req, resp := client.DescribeProgramRequest(params) // -// // Example sending a request using the DescribeProgramRequest method. -// req, resp := client.DescribeProgramRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeProgram func (c *MediaTailor) DescribeProgramRequest(input *DescribeProgramInput) (req *request.Request, output *DescribeProgramOutput) { @@ -1371,14 +1353,13 @@ const opDescribeSourceLocation = "DescribeSourceLocation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSourceLocationRequest method. +// req, resp := client.DescribeSourceLocationRequest(params) // -// // Example sending a request using the DescribeSourceLocationRequest method. -// req, resp := client.DescribeSourceLocationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeSourceLocation func (c *MediaTailor) DescribeSourceLocationRequest(input *DescribeSourceLocationInput) (req *request.Request, output *DescribeSourceLocationOutput) { @@ -1445,14 +1426,13 @@ const opDescribeVodSource = "DescribeVodSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVodSourceRequest method. +// req, resp := client.DescribeVodSourceRequest(params) // -// // Example sending a request using the DescribeVodSourceRequest method. -// req, resp := client.DescribeVodSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeVodSource func (c *MediaTailor) DescribeVodSourceRequest(input *DescribeVodSourceInput) (req *request.Request, output *DescribeVodSourceOutput) { @@ -1519,14 +1499,13 @@ const opGetChannelPolicy = "GetChannelPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetChannelPolicyRequest method. +// req, resp := client.GetChannelPolicyRequest(params) // -// // Example sending a request using the GetChannelPolicyRequest method. -// req, resp := client.GetChannelPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelPolicy func (c *MediaTailor) GetChannelPolicyRequest(input *GetChannelPolicyInput) (req *request.Request, output *GetChannelPolicyOutput) { @@ -1593,14 +1572,13 @@ const opGetChannelSchedule = "GetChannelSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetChannelScheduleRequest method. +// req, resp := client.GetChannelScheduleRequest(params) // -// // Example sending a request using the GetChannelScheduleRequest method. -// req, resp := client.GetChannelScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelSchedule func (c *MediaTailor) GetChannelScheduleRequest(input *GetChannelScheduleInput) (req *request.Request, output *GetChannelScheduleOutput) { @@ -1665,15 +1643,14 @@ func (c *MediaTailor) GetChannelScheduleWithContext(ctx aws.Context, input *GetC // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetChannelSchedule operation. -// pageNum := 0 -// err := client.GetChannelSchedulePages(params, -// func(page *mediatailor.GetChannelScheduleOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetChannelSchedule operation. +// pageNum := 0 +// err := client.GetChannelSchedulePages(params, +// func(page *mediatailor.GetChannelScheduleOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaTailor) GetChannelSchedulePages(input *GetChannelScheduleInput, fn func(*GetChannelScheduleOutput, bool) bool) error { return c.GetChannelSchedulePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1725,14 +1702,13 @@ const opGetPlaybackConfiguration = "GetPlaybackConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPlaybackConfigurationRequest method. +// req, resp := client.GetPlaybackConfigurationRequest(params) // -// // Example sending a request using the GetPlaybackConfigurationRequest method. -// req, resp := client.GetPlaybackConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetPlaybackConfiguration func (c *MediaTailor) GetPlaybackConfigurationRequest(input *GetPlaybackConfigurationInput) (req *request.Request, output *GetPlaybackConfigurationOutput) { @@ -1799,14 +1775,13 @@ const opGetPrefetchSchedule = "GetPrefetchSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPrefetchScheduleRequest method. +// req, resp := client.GetPrefetchScheduleRequest(params) // -// // Example sending a request using the GetPrefetchScheduleRequest method. -// req, resp := client.GetPrefetchScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetPrefetchSchedule func (c *MediaTailor) GetPrefetchScheduleRequest(input *GetPrefetchScheduleInput) (req *request.Request, output *GetPrefetchScheduleOutput) { @@ -1875,14 +1850,13 @@ const opListAlerts = "ListAlerts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAlertsRequest method. +// req, resp := client.ListAlertsRequest(params) // -// // Example sending a request using the ListAlertsRequest method. -// req, resp := client.ListAlertsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListAlerts func (c *MediaTailor) ListAlertsRequest(input *ListAlertsInput) (req *request.Request, output *ListAlertsOutput) { @@ -1947,15 +1921,14 @@ func (c *MediaTailor) ListAlertsWithContext(ctx aws.Context, input *ListAlertsIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAlerts operation. -// pageNum := 0 -// err := client.ListAlertsPages(params, -// func(page *mediatailor.ListAlertsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAlerts operation. +// pageNum := 0 +// err := client.ListAlertsPages(params, +// func(page *mediatailor.ListAlertsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaTailor) ListAlertsPages(input *ListAlertsInput, fn func(*ListAlertsOutput, bool) bool) error { return c.ListAlertsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2007,14 +1980,13 @@ const opListChannels = "ListChannels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChannelsRequest method. +// req, resp := client.ListChannelsRequest(params) // -// // Example sending a request using the ListChannelsRequest method. -// req, resp := client.ListChannelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListChannels func (c *MediaTailor) ListChannelsRequest(input *ListChannelsInput) (req *request.Request, output *ListChannelsOutput) { @@ -2079,15 +2051,14 @@ func (c *MediaTailor) ListChannelsWithContext(ctx aws.Context, input *ListChanne // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChannels operation. -// pageNum := 0 -// err := client.ListChannelsPages(params, -// func(page *mediatailor.ListChannelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChannels operation. +// pageNum := 0 +// err := client.ListChannelsPages(params, +// func(page *mediatailor.ListChannelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaTailor) ListChannelsPages(input *ListChannelsInput, fn func(*ListChannelsOutput, bool) bool) error { return c.ListChannelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2139,14 +2110,13 @@ const opListLiveSources = "ListLiveSources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLiveSourcesRequest method. +// req, resp := client.ListLiveSourcesRequest(params) // -// // Example sending a request using the ListLiveSourcesRequest method. -// req, resp := client.ListLiveSourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListLiveSources func (c *MediaTailor) ListLiveSourcesRequest(input *ListLiveSourcesInput) (req *request.Request, output *ListLiveSourcesOutput) { @@ -2211,15 +2181,14 @@ func (c *MediaTailor) ListLiveSourcesWithContext(ctx aws.Context, input *ListLiv // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLiveSources operation. -// pageNum := 0 -// err := client.ListLiveSourcesPages(params, -// func(page *mediatailor.ListLiveSourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLiveSources operation. +// pageNum := 0 +// err := client.ListLiveSourcesPages(params, +// func(page *mediatailor.ListLiveSourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaTailor) ListLiveSourcesPages(input *ListLiveSourcesInput, fn func(*ListLiveSourcesOutput, bool) bool) error { return c.ListLiveSourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2271,14 +2240,13 @@ const opListPlaybackConfigurations = "ListPlaybackConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPlaybackConfigurationsRequest method. +// req, resp := client.ListPlaybackConfigurationsRequest(params) // -// // Example sending a request using the ListPlaybackConfigurationsRequest method. -// req, resp := client.ListPlaybackConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPlaybackConfigurations func (c *MediaTailor) ListPlaybackConfigurationsRequest(input *ListPlaybackConfigurationsInput) (req *request.Request, output *ListPlaybackConfigurationsOutput) { @@ -2347,15 +2315,14 @@ func (c *MediaTailor) ListPlaybackConfigurationsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPlaybackConfigurations operation. -// pageNum := 0 -// err := client.ListPlaybackConfigurationsPages(params, -// func(page *mediatailor.ListPlaybackConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPlaybackConfigurations operation. +// pageNum := 0 +// err := client.ListPlaybackConfigurationsPages(params, +// func(page *mediatailor.ListPlaybackConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaTailor) ListPlaybackConfigurationsPages(input *ListPlaybackConfigurationsInput, fn func(*ListPlaybackConfigurationsOutput, bool) bool) error { return c.ListPlaybackConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2407,14 +2374,13 @@ const opListPrefetchSchedules = "ListPrefetchSchedules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPrefetchSchedulesRequest method. +// req, resp := client.ListPrefetchSchedulesRequest(params) // -// // Example sending a request using the ListPrefetchSchedulesRequest method. -// req, resp := client.ListPrefetchSchedulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPrefetchSchedules func (c *MediaTailor) ListPrefetchSchedulesRequest(input *ListPrefetchSchedulesInput) (req *request.Request, output *ListPrefetchSchedulesOutput) { @@ -2479,15 +2445,14 @@ func (c *MediaTailor) ListPrefetchSchedulesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPrefetchSchedules operation. -// pageNum := 0 -// err := client.ListPrefetchSchedulesPages(params, -// func(page *mediatailor.ListPrefetchSchedulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPrefetchSchedules operation. +// pageNum := 0 +// err := client.ListPrefetchSchedulesPages(params, +// func(page *mediatailor.ListPrefetchSchedulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaTailor) ListPrefetchSchedulesPages(input *ListPrefetchSchedulesInput, fn func(*ListPrefetchSchedulesOutput, bool) bool) error { return c.ListPrefetchSchedulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2539,14 +2504,13 @@ const opListSourceLocations = "ListSourceLocations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSourceLocationsRequest method. +// req, resp := client.ListSourceLocationsRequest(params) // -// // Example sending a request using the ListSourceLocationsRequest method. -// req, resp := client.ListSourceLocationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListSourceLocations func (c *MediaTailor) ListSourceLocationsRequest(input *ListSourceLocationsInput) (req *request.Request, output *ListSourceLocationsOutput) { @@ -2611,15 +2575,14 @@ func (c *MediaTailor) ListSourceLocationsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSourceLocations operation. -// pageNum := 0 -// err := client.ListSourceLocationsPages(params, -// func(page *mediatailor.ListSourceLocationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSourceLocations operation. +// pageNum := 0 +// err := client.ListSourceLocationsPages(params, +// func(page *mediatailor.ListSourceLocationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaTailor) ListSourceLocationsPages(input *ListSourceLocationsInput, fn func(*ListSourceLocationsOutput, bool) bool) error { return c.ListSourceLocationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2671,14 +2634,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListTagsForResource func (c *MediaTailor) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2710,8 +2672,8 @@ func (c *MediaTailor) ListTagsForResourceRequest(input *ListTagsForResourceInput // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. +// - BadRequestException +// A request contains unexpected data. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListTagsForResource func (c *MediaTailor) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2751,14 +2713,13 @@ const opListVodSources = "ListVodSources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVodSourcesRequest method. +// req, resp := client.ListVodSourcesRequest(params) // -// // Example sending a request using the ListVodSourcesRequest method. -// req, resp := client.ListVodSourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListVodSources func (c *MediaTailor) ListVodSourcesRequest(input *ListVodSourcesInput) (req *request.Request, output *ListVodSourcesOutput) { @@ -2823,15 +2784,14 @@ func (c *MediaTailor) ListVodSourcesWithContext(ctx aws.Context, input *ListVodS // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVodSources operation. -// pageNum := 0 -// err := client.ListVodSourcesPages(params, -// func(page *mediatailor.ListVodSourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVodSources operation. +// pageNum := 0 +// err := client.ListVodSourcesPages(params, +// func(page *mediatailor.ListVodSourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MediaTailor) ListVodSourcesPages(input *ListVodSourcesInput, fn func(*ListVodSourcesOutput, bool) bool) error { return c.ListVodSourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2883,14 +2843,13 @@ const opPutChannelPolicy = "PutChannelPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutChannelPolicyRequest method. +// req, resp := client.PutChannelPolicyRequest(params) // -// // Example sending a request using the PutChannelPolicyRequest method. -// req, resp := client.PutChannelPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutChannelPolicy func (c *MediaTailor) PutChannelPolicyRequest(input *PutChannelPolicyInput) (req *request.Request, output *PutChannelPolicyOutput) { @@ -2958,14 +2917,13 @@ const opPutPlaybackConfiguration = "PutPlaybackConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPlaybackConfigurationRequest method. +// req, resp := client.PutPlaybackConfigurationRequest(params) // -// // Example sending a request using the PutPlaybackConfigurationRequest method. -// req, resp := client.PutPlaybackConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutPlaybackConfiguration func (c *MediaTailor) PutPlaybackConfigurationRequest(input *PutPlaybackConfigurationInput) (req *request.Request, output *PutPlaybackConfigurationOutput) { @@ -3032,14 +2990,13 @@ const opStartChannel = "StartChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartChannelRequest method. +// req, resp := client.StartChannelRequest(params) // -// // Example sending a request using the StartChannelRequest method. -// req, resp := client.StartChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StartChannel func (c *MediaTailor) StartChannelRequest(input *StartChannelInput) (req *request.Request, output *StartChannelOutput) { @@ -3107,14 +3064,13 @@ const opStopChannel = "StopChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopChannelRequest method. +// req, resp := client.StopChannelRequest(params) // -// // Example sending a request using the StopChannelRequest method. -// req, resp := client.StopChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StopChannel func (c *MediaTailor) StopChannelRequest(input *StopChannelInput) (req *request.Request, output *StopChannelOutput) { @@ -3182,14 +3138,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/TagResource func (c *MediaTailor) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3222,8 +3177,8 @@ func (c *MediaTailor) TagResourceRequest(input *TagResourceInput) (req *request. // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. +// - BadRequestException +// A request contains unexpected data. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/TagResource func (c *MediaTailor) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3263,14 +3218,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UntagResource func (c *MediaTailor) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3303,8 +3257,8 @@ func (c *MediaTailor) UntagResourceRequest(input *UntagResourceInput) (req *requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// A request contains unexpected data. +// - BadRequestException +// A request contains unexpected data. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UntagResource func (c *MediaTailor) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3344,14 +3298,13 @@ const opUpdateChannel = "UpdateChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateChannelRequest method. +// req, resp := client.UpdateChannelRequest(params) // -// // Example sending a request using the UpdateChannelRequest method. -// req, resp := client.UpdateChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateChannel func (c *MediaTailor) UpdateChannelRequest(input *UpdateChannelInput) (req *request.Request, output *UpdateChannelOutput) { @@ -3418,14 +3371,13 @@ const opUpdateLiveSource = "UpdateLiveSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLiveSourceRequest method. +// req, resp := client.UpdateLiveSourceRequest(params) // -// // Example sending a request using the UpdateLiveSourceRequest method. -// req, resp := client.UpdateLiveSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateLiveSource func (c *MediaTailor) UpdateLiveSourceRequest(input *UpdateLiveSourceInput) (req *request.Request, output *UpdateLiveSourceOutput) { @@ -3492,14 +3444,13 @@ const opUpdateSourceLocation = "UpdateSourceLocation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSourceLocationRequest method. +// req, resp := client.UpdateSourceLocationRequest(params) // -// // Example sending a request using the UpdateSourceLocationRequest method. -// req, resp := client.UpdateSourceLocationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateSourceLocation func (c *MediaTailor) UpdateSourceLocationRequest(input *UpdateSourceLocationInput) (req *request.Request, output *UpdateSourceLocationOutput) { @@ -3566,14 +3517,13 @@ const opUpdateVodSource = "UpdateVodSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVodSourceRequest method. +// req, resp := client.UpdateVodSourceRequest(params) // -// // Example sending a request using the UpdateVodSourceRequest method. -// req, resp := client.UpdateVodSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateVodSource func (c *MediaTailor) UpdateVodSourceRequest(input *UpdateVodSourceInput) (req *request.Request, output *UpdateVodSourceOutput) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/doc.go index 610870e21612..2be1fd1393c6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/doc.go @@ -20,7 +20,7 @@ // See mediatailor package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/mediatailor/ // -// Using the Client +// # Using the Client // // To contact AWS MediaTailor with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/mediatailoriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/mediatailoriface/interface.go index f68e70b9318e..dd9213614cb3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/mediatailoriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/mediatailoriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS MediaTailor. -// func myFunc(svc mediatailoriface.MediaTailorAPI) bool { -// // Make svc.ConfigureLogsForPlaybackConfiguration request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS MediaTailor. +// func myFunc(svc mediatailoriface.MediaTailorAPI) bool { +// // Make svc.ConfigureLogsForPlaybackConfiguration request +// } // -// func main() { -// sess := session.New() -// svc := mediatailor.New(sess) +// func main() { +// sess := session.New() +// svc := mediatailor.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMediaTailorClient struct { -// mediatailoriface.MediaTailorAPI -// } -// func (m *mockMediaTailorClient) ConfigureLogsForPlaybackConfiguration(input *mediatailor.ConfigureLogsForPlaybackConfigurationInput) (*mediatailor.ConfigureLogsForPlaybackConfigurationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMediaTailorClient struct { +// mediatailoriface.MediaTailorAPI +// } +// func (m *mockMediaTailorClient) ConfigureLogsForPlaybackConfiguration(input *mediatailor.ConfigureLogsForPlaybackConfigurationInput) (*mediatailor.ConfigureLogsForPlaybackConfigurationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMediaTailorClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMediaTailorClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/service.go index c0bfba358d90..2058216e0f21 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mediatailor/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MediaTailor client from just a session. -// svc := mediatailor.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MediaTailor client with additional configuration -// svc := mediatailor.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MediaTailor client from just a session. +// svc := mediatailor.New(mySession) +// +// // Create a MediaTailor client with additional configuration +// svc := mediatailor.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MediaTailor { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/api.go index ba8982320c63..1da4d997da9e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/api.go @@ -28,14 +28,13 @@ const opBatchUpdateCluster = "BatchUpdateCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchUpdateClusterRequest method. +// req, resp := client.BatchUpdateClusterRequest(params) // -// // Example sending a request using the BatchUpdateClusterRequest method. -// req, resp := client.BatchUpdateClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/BatchUpdateCluster func (c *MemoryDB) BatchUpdateClusterRequest(input *BatchUpdateClusterInput) (req *request.Request, output *BatchUpdateClusterOutput) { @@ -67,9 +66,10 @@ func (c *MemoryDB) BatchUpdateClusterRequest(input *BatchUpdateClusterInput) (re // API operation BatchUpdateCluster for usage and error information. // // Returned Error Types: -// * ServiceUpdateNotFoundFault // -// * InvalidParameterValueException +// - ServiceUpdateNotFoundFault +// +// - InvalidParameterValueException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/BatchUpdateCluster func (c *MemoryDB) BatchUpdateCluster(input *BatchUpdateClusterInput) (*BatchUpdateClusterOutput, error) { @@ -109,14 +109,13 @@ const opCopySnapshot = "CopySnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopySnapshotRequest method. +// req, resp := client.CopySnapshotRequest(params) // -// // Example sending a request using the CopySnapshotRequest method. -// req, resp := client.CopySnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CopySnapshot func (c *MemoryDB) CopySnapshotRequest(input *CopySnapshotInput) (req *request.Request, output *CopySnapshotOutput) { @@ -147,21 +146,22 @@ func (c *MemoryDB) CopySnapshotRequest(input *CopySnapshotInput) (req *request.R // API operation CopySnapshot for usage and error information. // // Returned Error Types: -// * SnapshotAlreadyExistsFault // -// * SnapshotNotFoundFault +// - SnapshotAlreadyExistsFault // -// * SnapshotQuotaExceededFault +// - SnapshotNotFoundFault // -// * InvalidSnapshotStateFault +// - SnapshotQuotaExceededFault // -// * ServiceLinkedRoleNotFoundFault +// - InvalidSnapshotStateFault // -// * InvalidParameterValueException +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterCombinationException +// - InvalidParameterValueException // -// * TagQuotaPerResourceExceeded +// - InvalidParameterCombinationException +// +// - TagQuotaPerResourceExceeded // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CopySnapshot func (c *MemoryDB) CopySnapshot(input *CopySnapshotInput) (*CopySnapshotOutput, error) { @@ -201,14 +201,13 @@ const opCreateACL = "CreateACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateACLRequest method. +// req, resp := client.CreateACLRequest(params) // -// // Example sending a request using the CreateACLRequest method. -// req, resp := client.CreateACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateACL func (c *MemoryDB) CreateACLRequest(input *CreateACLInput) (req *request.Request, output *CreateACLOutput) { @@ -240,19 +239,20 @@ func (c *MemoryDB) CreateACLRequest(input *CreateACLInput) (req *request.Request // API operation CreateACL for usage and error information. // // Returned Error Types: -// * UserNotFoundFault // -// * DuplicateUserNameFault +// - UserNotFoundFault // -// * ACLAlreadyExistsFault +// - DuplicateUserNameFault // -// * DefaultUserRequired +// - ACLAlreadyExistsFault // -// * ACLQuotaExceededFault +// - DefaultUserRequired // -// * InvalidParameterValueException +// - ACLQuotaExceededFault // -// * TagQuotaPerResourceExceeded +// - InvalidParameterValueException +// +// - TagQuotaPerResourceExceeded // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateACL func (c *MemoryDB) CreateACL(input *CreateACLInput) (*CreateACLOutput, error) { @@ -292,14 +292,13 @@ const opCreateCluster = "CreateCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClusterRequest method. +// req, resp := client.CreateClusterRequest(params) // -// // Example sending a request using the CreateClusterRequest method. -// req, resp := client.CreateClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateCluster func (c *MemoryDB) CreateClusterRequest(input *CreateClusterInput) (req *request.Request, output *CreateClusterOutput) { @@ -331,37 +330,38 @@ func (c *MemoryDB) CreateClusterRequest(input *CreateClusterInput) (req *request // API operation CreateCluster for usage and error information. // // Returned Error Types: -// * ClusterAlreadyExistsFault // -// * SubnetGroupNotFoundFault +// - ClusterAlreadyExistsFault // -// * ClusterQuotaForCustomerExceededFault +// - SubnetGroupNotFoundFault // -// * NodeQuotaForClusterExceededFault +// - ClusterQuotaForCustomerExceededFault // -// * NodeQuotaForCustomerExceededFault +// - NodeQuotaForClusterExceededFault // -// * ParameterGroupNotFoundFault +// - NodeQuotaForCustomerExceededFault // -// * InsufficientClusterCapacityFault +// - ParameterGroupNotFoundFault // -// * InvalidVPCNetworkStateFault +// - InsufficientClusterCapacityFault // -// * ServiceLinkedRoleNotFoundFault +// - InvalidVPCNetworkStateFault // -// * ShardsPerClusterQuotaExceededFault +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterValueException +// - ShardsPerClusterQuotaExceededFault // -// * InvalidParameterCombinationException +// - InvalidParameterValueException // -// * InvalidCredentialsException +// - InvalidParameterCombinationException // -// * TagQuotaPerResourceExceeded +// - InvalidCredentialsException // -// * ACLNotFoundFault +// - TagQuotaPerResourceExceeded // -// * InvalidACLStateFault +// - ACLNotFoundFault +// +// - InvalidACLStateFault // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateCluster func (c *MemoryDB) CreateCluster(input *CreateClusterInput) (*CreateClusterOutput, error) { @@ -401,14 +401,13 @@ const opCreateParameterGroup = "CreateParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateParameterGroupRequest method. +// req, resp := client.CreateParameterGroupRequest(params) // -// // Example sending a request using the CreateParameterGroupRequest method. -// req, resp := client.CreateParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateParameterGroup func (c *MemoryDB) CreateParameterGroupRequest(input *CreateParameterGroupInput) (req *request.Request, output *CreateParameterGroupOutput) { @@ -442,19 +441,20 @@ func (c *MemoryDB) CreateParameterGroupRequest(input *CreateParameterGroupInput) // API operation CreateParameterGroup for usage and error information. // // Returned Error Types: -// * ParameterGroupQuotaExceededFault // -// * ParameterGroupAlreadyExistsFault +// - ParameterGroupQuotaExceededFault // -// * InvalidParameterGroupStateFault +// - ParameterGroupAlreadyExistsFault // -// * ServiceLinkedRoleNotFoundFault +// - InvalidParameterGroupStateFault // -// * TagQuotaPerResourceExceeded +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterValueException +// - TagQuotaPerResourceExceeded // -// * InvalidParameterCombinationException +// - InvalidParameterValueException +// +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateParameterGroup func (c *MemoryDB) CreateParameterGroup(input *CreateParameterGroupInput) (*CreateParameterGroupOutput, error) { @@ -494,14 +494,13 @@ const opCreateSnapshot = "CreateSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSnapshotRequest method. +// req, resp := client.CreateSnapshotRequest(params) // -// // Example sending a request using the CreateSnapshotRequest method. -// req, resp := client.CreateSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateSnapshot func (c *MemoryDB) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Request, output *CreateSnapshotOutput) { @@ -532,21 +531,22 @@ func (c *MemoryDB) CreateSnapshotRequest(input *CreateSnapshotInput) (req *reque // API operation CreateSnapshot for usage and error information. // // Returned Error Types: -// * SnapshotAlreadyExistsFault // -// * ClusterNotFoundFault +// - SnapshotAlreadyExistsFault +// +// - ClusterNotFoundFault // -// * InvalidClusterStateFault +// - InvalidClusterStateFault // -// * SnapshotQuotaExceededFault +// - SnapshotQuotaExceededFault // -// * ServiceLinkedRoleNotFoundFault +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterCombinationException +// - InvalidParameterCombinationException // -// * InvalidParameterValueException +// - InvalidParameterValueException // -// * TagQuotaPerResourceExceeded +// - TagQuotaPerResourceExceeded // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateSnapshot func (c *MemoryDB) CreateSnapshot(input *CreateSnapshotInput) (*CreateSnapshotOutput, error) { @@ -586,14 +586,13 @@ const opCreateSubnetGroup = "CreateSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSubnetGroupRequest method. +// req, resp := client.CreateSubnetGroupRequest(params) // -// // Example sending a request using the CreateSubnetGroupRequest method. -// req, resp := client.CreateSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateSubnetGroup func (c *MemoryDB) CreateSubnetGroupRequest(input *CreateSubnetGroupInput) (req *request.Request, output *CreateSubnetGroupOutput) { @@ -629,19 +628,20 @@ func (c *MemoryDB) CreateSubnetGroupRequest(input *CreateSubnetGroupInput) (req // API operation CreateSubnetGroup for usage and error information. // // Returned Error Types: -// * SubnetGroupAlreadyExistsFault // -// * SubnetGroupQuotaExceededFault +// - SubnetGroupAlreadyExistsFault +// +// - SubnetGroupQuotaExceededFault // -// * SubnetQuotaExceededFault +// - SubnetQuotaExceededFault // -// * InvalidSubnet +// - InvalidSubnet // -// * ServiceLinkedRoleNotFoundFault +// - ServiceLinkedRoleNotFoundFault // -// * SubnetNotAllowedFault +// - SubnetNotAllowedFault // -// * TagQuotaPerResourceExceeded +// - TagQuotaPerResourceExceeded // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateSubnetGroup func (c *MemoryDB) CreateSubnetGroup(input *CreateSubnetGroupInput) (*CreateSubnetGroupOutput, error) { @@ -681,14 +681,13 @@ const opCreateUser = "CreateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserRequest method. +// req, resp := client.CreateUserRequest(params) // -// // Example sending a request using the CreateUserRequest method. -// req, resp := client.CreateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateUser func (c *MemoryDB) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) { @@ -720,17 +719,18 @@ func (c *MemoryDB) CreateUserRequest(input *CreateUserInput) (req *request.Reque // API operation CreateUser for usage and error information. // // Returned Error Types: -// * UserAlreadyExistsFault // -// * UserQuotaExceededFault +// - UserAlreadyExistsFault +// +// - UserQuotaExceededFault // -// * DuplicateUserNameFault +// - DuplicateUserNameFault // -// * InvalidParameterValueException +// - InvalidParameterValueException // -// * InvalidParameterCombinationException +// - InvalidParameterCombinationException // -// * TagQuotaPerResourceExceeded +// - TagQuotaPerResourceExceeded // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/CreateUser func (c *MemoryDB) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) { @@ -770,14 +770,13 @@ const opDeleteACL = "DeleteACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteACLRequest method. +// req, resp := client.DeleteACLRequest(params) // -// // Example sending a request using the DeleteACLRequest method. -// req, resp := client.DeleteACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DeleteACL func (c *MemoryDB) DeleteACLRequest(input *DeleteACLInput) (req *request.Request, output *DeleteACLOutput) { @@ -810,11 +809,12 @@ func (c *MemoryDB) DeleteACLRequest(input *DeleteACLInput) (req *request.Request // API operation DeleteACL for usage and error information. // // Returned Error Types: -// * ACLNotFoundFault // -// * InvalidACLStateFault +// - ACLNotFoundFault +// +// - InvalidACLStateFault // -// * InvalidParameterValueException +// - InvalidParameterValueException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DeleteACL func (c *MemoryDB) DeleteACL(input *DeleteACLInput) (*DeleteACLOutput, error) { @@ -854,14 +854,13 @@ const opDeleteCluster = "DeleteCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClusterRequest method. +// req, resp := client.DeleteClusterRequest(params) // -// // Example sending a request using the DeleteClusterRequest method. -// req, resp := client.DeleteClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DeleteCluster func (c *MemoryDB) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Request, output *DeleteClusterOutput) { @@ -892,17 +891,18 @@ func (c *MemoryDB) DeleteClusterRequest(input *DeleteClusterInput) (req *request // API operation DeleteCluster for usage and error information. // // Returned Error Types: -// * ClusterNotFoundFault // -// * InvalidClusterStateFault +// - ClusterNotFoundFault +// +// - InvalidClusterStateFault // -// * SnapshotAlreadyExistsFault +// - SnapshotAlreadyExistsFault // -// * ServiceLinkedRoleNotFoundFault +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterValueException +// - InvalidParameterValueException // -// * InvalidParameterCombinationException +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DeleteCluster func (c *MemoryDB) DeleteCluster(input *DeleteClusterInput) (*DeleteClusterOutput, error) { @@ -942,14 +942,13 @@ const opDeleteParameterGroup = "DeleteParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteParameterGroupRequest method. +// req, resp := client.DeleteParameterGroupRequest(params) // -// // Example sending a request using the DeleteParameterGroupRequest method. -// req, resp := client.DeleteParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DeleteParameterGroup func (c *MemoryDB) DeleteParameterGroupRequest(input *DeleteParameterGroupInput) (req *request.Request, output *DeleteParameterGroupOutput) { @@ -982,15 +981,16 @@ func (c *MemoryDB) DeleteParameterGroupRequest(input *DeleteParameterGroupInput) // API operation DeleteParameterGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterGroupStateFault // -// * ParameterGroupNotFoundFault +// - InvalidParameterGroupStateFault // -// * ServiceLinkedRoleNotFoundFault +// - ParameterGroupNotFoundFault // -// * InvalidParameterValueException +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterCombinationException +// - InvalidParameterValueException +// +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DeleteParameterGroup func (c *MemoryDB) DeleteParameterGroup(input *DeleteParameterGroupInput) (*DeleteParameterGroupOutput, error) { @@ -1030,14 +1030,13 @@ const opDeleteSnapshot = "DeleteSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSnapshotRequest method. +// req, resp := client.DeleteSnapshotRequest(params) // -// // Example sending a request using the DeleteSnapshotRequest method. -// req, resp := client.DeleteSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DeleteSnapshot func (c *MemoryDB) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *request.Request, output *DeleteSnapshotOutput) { @@ -1070,15 +1069,16 @@ func (c *MemoryDB) DeleteSnapshotRequest(input *DeleteSnapshotInput) (req *reque // API operation DeleteSnapshot for usage and error information. // // Returned Error Types: -// * SnapshotNotFoundFault // -// * InvalidSnapshotStateFault +// - SnapshotNotFoundFault // -// * ServiceLinkedRoleNotFoundFault +// - InvalidSnapshotStateFault // -// * InvalidParameterValueException +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterCombinationException +// - InvalidParameterValueException +// +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DeleteSnapshot func (c *MemoryDB) DeleteSnapshot(input *DeleteSnapshotInput) (*DeleteSnapshotOutput, error) { @@ -1118,14 +1118,13 @@ const opDeleteSubnetGroup = "DeleteSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSubnetGroupRequest method. +// req, resp := client.DeleteSubnetGroupRequest(params) // -// // Example sending a request using the DeleteSubnetGroupRequest method. -// req, resp := client.DeleteSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DeleteSubnetGroup func (c *MemoryDB) DeleteSubnetGroupRequest(input *DeleteSubnetGroupInput) (req *request.Request, output *DeleteSubnetGroupOutput) { @@ -1157,11 +1156,12 @@ func (c *MemoryDB) DeleteSubnetGroupRequest(input *DeleteSubnetGroupInput) (req // API operation DeleteSubnetGroup for usage and error information. // // Returned Error Types: -// * SubnetGroupInUseFault // -// * SubnetGroupNotFoundFault +// - SubnetGroupInUseFault // -// * ServiceLinkedRoleNotFoundFault +// - SubnetGroupNotFoundFault +// +// - ServiceLinkedRoleNotFoundFault // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DeleteSubnetGroup func (c *MemoryDB) DeleteSubnetGroup(input *DeleteSubnetGroupInput) (*DeleteSubnetGroupOutput, error) { @@ -1201,14 +1201,13 @@ const opDeleteUser = "DeleteUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserRequest method. +// req, resp := client.DeleteUserRequest(params) // -// // Example sending a request using the DeleteUserRequest method. -// req, resp := client.DeleteUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DeleteUser func (c *MemoryDB) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { @@ -1240,11 +1239,12 @@ func (c *MemoryDB) DeleteUserRequest(input *DeleteUserInput) (req *request.Reque // API operation DeleteUser for usage and error information. // // Returned Error Types: -// * InvalidUserStateFault // -// * UserNotFoundFault +// - InvalidUserStateFault // -// * InvalidParameterValueException +// - UserNotFoundFault +// +// - InvalidParameterValueException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DeleteUser func (c *MemoryDB) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { @@ -1284,14 +1284,13 @@ const opDescribeACLs = "DescribeACLs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeACLsRequest method. +// req, resp := client.DescribeACLsRequest(params) // -// // Example sending a request using the DescribeACLsRequest method. -// req, resp := client.DescribeACLsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeACLs func (c *MemoryDB) DescribeACLsRequest(input *DescribeACLsInput) (req *request.Request, output *DescribeACLsOutput) { @@ -1312,7 +1311,7 @@ func (c *MemoryDB) DescribeACLsRequest(input *DescribeACLsInput) (req *request.R // DescribeACLs API operation for Amazon MemoryDB. // -// Returns a list of ACLs +// # Returns a list of ACLs // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1322,9 +1321,10 @@ func (c *MemoryDB) DescribeACLsRequest(input *DescribeACLsInput) (req *request.R // API operation DescribeACLs for usage and error information. // // Returned Error Types: -// * ACLNotFoundFault // -// * InvalidParameterCombinationException +// - ACLNotFoundFault +// +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeACLs func (c *MemoryDB) DescribeACLs(input *DescribeACLsInput) (*DescribeACLsOutput, error) { @@ -1364,14 +1364,13 @@ const opDescribeClusters = "DescribeClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClustersRequest method. +// req, resp := client.DescribeClustersRequest(params) // -// // Example sending a request using the DescribeClustersRequest method. -// req, resp := client.DescribeClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeClusters func (c *MemoryDB) DescribeClustersRequest(input *DescribeClustersInput) (req *request.Request, output *DescribeClustersOutput) { @@ -1403,13 +1402,14 @@ func (c *MemoryDB) DescribeClustersRequest(input *DescribeClustersInput) (req *r // API operation DescribeClusters for usage and error information. // // Returned Error Types: -// * ClusterNotFoundFault // -// * ServiceLinkedRoleNotFoundFault +// - ClusterNotFoundFault // -// * InvalidParameterValueException +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterCombinationException +// - InvalidParameterValueException +// +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeClusters func (c *MemoryDB) DescribeClusters(input *DescribeClustersInput) (*DescribeClustersOutput, error) { @@ -1449,14 +1449,13 @@ const opDescribeEngineVersions = "DescribeEngineVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEngineVersionsRequest method. +// req, resp := client.DescribeEngineVersionsRequest(params) // -// // Example sending a request using the DescribeEngineVersionsRequest method. -// req, resp := client.DescribeEngineVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeEngineVersions func (c *MemoryDB) DescribeEngineVersionsRequest(input *DescribeEngineVersionsInput) (req *request.Request, output *DescribeEngineVersionsOutput) { @@ -1487,11 +1486,12 @@ func (c *MemoryDB) DescribeEngineVersionsRequest(input *DescribeEngineVersionsIn // API operation DescribeEngineVersions for usage and error information. // // Returned Error Types: -// * ServiceLinkedRoleNotFoundFault // -// * InvalidParameterValueException +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterCombinationException +// - InvalidParameterValueException +// +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeEngineVersions func (c *MemoryDB) DescribeEngineVersions(input *DescribeEngineVersionsInput) (*DescribeEngineVersionsOutput, error) { @@ -1531,14 +1531,13 @@ const opDescribeEvents = "DescribeEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventsRequest method. +// req, resp := client.DescribeEventsRequest(params) // -// // Example sending a request using the DescribeEventsRequest method. -// req, resp := client.DescribeEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeEvents func (c *MemoryDB) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { @@ -1573,11 +1572,12 @@ func (c *MemoryDB) DescribeEventsRequest(input *DescribeEventsInput) (req *reque // API operation DescribeEvents for usage and error information. // // Returned Error Types: -// * ServiceLinkedRoleNotFoundFault // -// * InvalidParameterValueException +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterCombinationException +// - InvalidParameterValueException +// +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeEvents func (c *MemoryDB) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error) { @@ -1617,14 +1617,13 @@ const opDescribeParameterGroups = "DescribeParameterGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeParameterGroupsRequest method. +// req, resp := client.DescribeParameterGroupsRequest(params) // -// // Example sending a request using the DescribeParameterGroupsRequest method. -// req, resp := client.DescribeParameterGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeParameterGroups func (c *MemoryDB) DescribeParameterGroupsRequest(input *DescribeParameterGroupsInput) (req *request.Request, output *DescribeParameterGroupsOutput) { @@ -1656,13 +1655,14 @@ func (c *MemoryDB) DescribeParameterGroupsRequest(input *DescribeParameterGroups // API operation DescribeParameterGroups for usage and error information. // // Returned Error Types: -// * ParameterGroupNotFoundFault // -// * ServiceLinkedRoleNotFoundFault +// - ParameterGroupNotFoundFault +// +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterValueException +// - InvalidParameterValueException // -// * InvalidParameterCombinationException +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeParameterGroups func (c *MemoryDB) DescribeParameterGroups(input *DescribeParameterGroupsInput) (*DescribeParameterGroupsOutput, error) { @@ -1702,14 +1702,13 @@ const opDescribeParameters = "DescribeParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeParametersRequest method. +// req, resp := client.DescribeParametersRequest(params) // -// // Example sending a request using the DescribeParametersRequest method. -// req, resp := client.DescribeParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeParameters func (c *MemoryDB) DescribeParametersRequest(input *DescribeParametersInput) (req *request.Request, output *DescribeParametersOutput) { @@ -1740,13 +1739,14 @@ func (c *MemoryDB) DescribeParametersRequest(input *DescribeParametersInput) (re // API operation DescribeParameters for usage and error information. // // Returned Error Types: -// * ParameterGroupNotFoundFault // -// * ServiceLinkedRoleNotFoundFault +// - ParameterGroupNotFoundFault +// +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterValueException +// - InvalidParameterValueException // -// * InvalidParameterCombinationException +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeParameters func (c *MemoryDB) DescribeParameters(input *DescribeParametersInput) (*DescribeParametersOutput, error) { @@ -1786,14 +1786,13 @@ const opDescribeServiceUpdates = "DescribeServiceUpdates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeServiceUpdatesRequest method. +// req, resp := client.DescribeServiceUpdatesRequest(params) // -// // Example sending a request using the DescribeServiceUpdatesRequest method. -// req, resp := client.DescribeServiceUpdatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeServiceUpdates func (c *MemoryDB) DescribeServiceUpdatesRequest(input *DescribeServiceUpdatesInput) (req *request.Request, output *DescribeServiceUpdatesOutput) { @@ -1814,7 +1813,7 @@ func (c *MemoryDB) DescribeServiceUpdatesRequest(input *DescribeServiceUpdatesIn // DescribeServiceUpdates API operation for Amazon MemoryDB. // -// Returns details of the service updates +// # Returns details of the service updates // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1824,9 +1823,10 @@ func (c *MemoryDB) DescribeServiceUpdatesRequest(input *DescribeServiceUpdatesIn // API operation DescribeServiceUpdates for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException // -// * InvalidParameterCombinationException +// - InvalidParameterValueException +// +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeServiceUpdates func (c *MemoryDB) DescribeServiceUpdates(input *DescribeServiceUpdatesInput) (*DescribeServiceUpdatesOutput, error) { @@ -1866,14 +1866,13 @@ const opDescribeSnapshots = "DescribeSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSnapshotsRequest method. +// req, resp := client.DescribeSnapshotsRequest(params) // -// // Example sending a request using the DescribeSnapshotsRequest method. -// req, resp := client.DescribeSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeSnapshots func (c *MemoryDB) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req *request.Request, output *DescribeSnapshotsOutput) { @@ -1906,13 +1905,14 @@ func (c *MemoryDB) DescribeSnapshotsRequest(input *DescribeSnapshotsInput) (req // API operation DescribeSnapshots for usage and error information. // // Returned Error Types: -// * SnapshotNotFoundFault // -// * ServiceLinkedRoleNotFoundFault +// - SnapshotNotFoundFault +// +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterValueException +// - InvalidParameterValueException // -// * InvalidParameterCombinationException +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeSnapshots func (c *MemoryDB) DescribeSnapshots(input *DescribeSnapshotsInput) (*DescribeSnapshotsOutput, error) { @@ -1952,14 +1952,13 @@ const opDescribeSubnetGroups = "DescribeSubnetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSubnetGroupsRequest method. +// req, resp := client.DescribeSubnetGroupsRequest(params) // -// // Example sending a request using the DescribeSubnetGroupsRequest method. -// req, resp := client.DescribeSubnetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeSubnetGroups func (c *MemoryDB) DescribeSubnetGroupsRequest(input *DescribeSubnetGroupsInput) (req *request.Request, output *DescribeSubnetGroupsOutput) { @@ -1991,9 +1990,10 @@ func (c *MemoryDB) DescribeSubnetGroupsRequest(input *DescribeSubnetGroupsInput) // API operation DescribeSubnetGroups for usage and error information. // // Returned Error Types: -// * SubnetGroupNotFoundFault // -// * ServiceLinkedRoleNotFoundFault +// - SubnetGroupNotFoundFault +// +// - ServiceLinkedRoleNotFoundFault // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeSubnetGroups func (c *MemoryDB) DescribeSubnetGroups(input *DescribeSubnetGroupsInput) (*DescribeSubnetGroupsOutput, error) { @@ -2033,14 +2033,13 @@ const opDescribeUsers = "DescribeUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUsersRequest method. +// req, resp := client.DescribeUsersRequest(params) // -// // Example sending a request using the DescribeUsersRequest method. -// req, resp := client.DescribeUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeUsers func (c *MemoryDB) DescribeUsersRequest(input *DescribeUsersInput) (req *request.Request, output *DescribeUsersOutput) { @@ -2071,9 +2070,10 @@ func (c *MemoryDB) DescribeUsersRequest(input *DescribeUsersInput) (req *request // API operation DescribeUsers for usage and error information. // // Returned Error Types: -// * UserNotFoundFault // -// * InvalidParameterCombinationException +// - UserNotFoundFault +// +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/DescribeUsers func (c *MemoryDB) DescribeUsers(input *DescribeUsersInput) (*DescribeUsersOutput, error) { @@ -2113,14 +2113,13 @@ const opFailoverShard = "FailoverShard" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the FailoverShardRequest method. +// req, resp := client.FailoverShardRequest(params) // -// // Example sending a request using the FailoverShardRequest method. -// req, resp := client.FailoverShardRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/FailoverShard func (c *MemoryDB) FailoverShardRequest(input *FailoverShardInput) (req *request.Request, output *FailoverShardOutput) { @@ -2141,7 +2140,7 @@ func (c *MemoryDB) FailoverShardRequest(input *FailoverShardInput) (req *request // FailoverShard API operation for Amazon MemoryDB. // -// Used to failover a shard +// # Used to failover a shard // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2151,21 +2150,22 @@ func (c *MemoryDB) FailoverShardRequest(input *FailoverShardInput) (req *request // API operation FailoverShard for usage and error information. // // Returned Error Types: -// * APICallRateForCustomerExceededFault // -// * InvalidClusterStateFault +// - APICallRateForCustomerExceededFault // -// * ShardNotFoundFault +// - InvalidClusterStateFault // -// * ClusterNotFoundFault +// - ShardNotFoundFault // -// * TestFailoverNotAvailableFault +// - ClusterNotFoundFault // -// * InvalidKMSKeyFault +// - TestFailoverNotAvailableFault // -// * InvalidParameterValueException +// - InvalidKMSKeyFault // -// * InvalidParameterCombinationException +// - InvalidParameterValueException +// +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/FailoverShard func (c *MemoryDB) FailoverShard(input *FailoverShardInput) (*FailoverShardOutput, error) { @@ -2205,14 +2205,13 @@ const opListAllowedNodeTypeUpdates = "ListAllowedNodeTypeUpdates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAllowedNodeTypeUpdatesRequest method. +// req, resp := client.ListAllowedNodeTypeUpdatesRequest(params) // -// // Example sending a request using the ListAllowedNodeTypeUpdatesRequest method. -// req, resp := client.ListAllowedNodeTypeUpdatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/ListAllowedNodeTypeUpdates func (c *MemoryDB) ListAllowedNodeTypeUpdatesRequest(input *ListAllowedNodeTypeUpdatesInput) (req *request.Request, output *ListAllowedNodeTypeUpdatesOutput) { @@ -2246,13 +2245,14 @@ func (c *MemoryDB) ListAllowedNodeTypeUpdatesRequest(input *ListAllowedNodeTypeU // API operation ListAllowedNodeTypeUpdates for usage and error information. // // Returned Error Types: -// * ClusterNotFoundFault // -// * ServiceLinkedRoleNotFoundFault +// - ClusterNotFoundFault // -// * InvalidParameterCombinationException +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterValueException +// - InvalidParameterCombinationException +// +// - InvalidParameterValueException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/ListAllowedNodeTypeUpdates func (c *MemoryDB) ListAllowedNodeTypeUpdates(input *ListAllowedNodeTypeUpdatesInput) (*ListAllowedNodeTypeUpdatesOutput, error) { @@ -2292,14 +2292,13 @@ const opListTags = "ListTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsRequest method. +// req, resp := client.ListTagsRequest(params) // -// // Example sending a request using the ListTagsRequest method. -// req, resp := client.ListTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/ListTags func (c *MemoryDB) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { @@ -2333,23 +2332,24 @@ func (c *MemoryDB) ListTagsRequest(input *ListTagsInput) (req *request.Request, // API operation ListTags for usage and error information. // // Returned Error Types: -// * ClusterNotFoundFault // -// * InvalidClusterStateFault +// - ClusterNotFoundFault // -// * ParameterGroupNotFoundFault +// - InvalidClusterStateFault // -// * SubnetGroupNotFoundFault +// - ParameterGroupNotFoundFault // -// * SnapshotNotFoundFault +// - SubnetGroupNotFoundFault // -// * InvalidARNFault +// - SnapshotNotFoundFault // -// * ServiceLinkedRoleNotFoundFault +// - InvalidARNFault // -// * UserNotFoundFault +// - ServiceLinkedRoleNotFoundFault // -// * ACLNotFoundFault +// - UserNotFoundFault +// +// - ACLNotFoundFault // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/ListTags func (c *MemoryDB) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { @@ -2389,14 +2389,13 @@ const opResetParameterGroup = "ResetParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetParameterGroupRequest method. +// req, resp := client.ResetParameterGroupRequest(params) // -// // Example sending a request using the ResetParameterGroupRequest method. -// req, resp := client.ResetParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/ResetParameterGroup func (c *MemoryDB) ResetParameterGroupRequest(input *ResetParameterGroupInput) (req *request.Request, output *ResetParameterGroupOutput) { @@ -2430,15 +2429,16 @@ func (c *MemoryDB) ResetParameterGroupRequest(input *ResetParameterGroupInput) ( // API operation ResetParameterGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterGroupStateFault // -// * ParameterGroupNotFoundFault +// - InvalidParameterGroupStateFault +// +// - ParameterGroupNotFoundFault // -// * ServiceLinkedRoleNotFoundFault +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterValueException +// - InvalidParameterValueException // -// * InvalidParameterCombinationException +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/ResetParameterGroup func (c *MemoryDB) ResetParameterGroup(input *ResetParameterGroupInput) (*ResetParameterGroupOutput, error) { @@ -2478,14 +2478,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/TagResource func (c *MemoryDB) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2526,25 +2525,26 @@ func (c *MemoryDB) TagResourceRequest(input *TagResourceInput) (req *request.Req // API operation TagResource for usage and error information. // // Returned Error Types: -// * ClusterNotFoundFault // -// * ParameterGroupNotFoundFault +// - ClusterNotFoundFault +// +// - ParameterGroupNotFoundFault // -// * SubnetGroupNotFoundFault +// - SubnetGroupNotFoundFault // -// * InvalidClusterStateFault +// - InvalidClusterStateFault // -// * SnapshotNotFoundFault +// - SnapshotNotFoundFault // -// * UserNotFoundFault +// - UserNotFoundFault // -// * ACLNotFoundFault +// - ACLNotFoundFault // -// * TagQuotaPerResourceExceeded +// - TagQuotaPerResourceExceeded // -// * InvalidARNFault +// - InvalidARNFault // -// * ServiceLinkedRoleNotFoundFault +// - ServiceLinkedRoleNotFoundFault // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/TagResource func (c *MemoryDB) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2584,14 +2584,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/UntagResource func (c *MemoryDB) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2612,7 +2611,7 @@ func (c *MemoryDB) UntagResourceRequest(input *UntagResourceInput) (req *request // UntagResource API operation for Amazon MemoryDB. // -// Use this operation to remove tags on a resource +// # Use this operation to remove tags on a resource // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2622,25 +2621,26 @@ func (c *MemoryDB) UntagResourceRequest(input *UntagResourceInput) (req *request // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ClusterNotFoundFault // -// * InvalidClusterStateFault +// - ClusterNotFoundFault +// +// - InvalidClusterStateFault // -// * ParameterGroupNotFoundFault +// - ParameterGroupNotFoundFault // -// * SubnetGroupNotFoundFault +// - SubnetGroupNotFoundFault // -// * SnapshotNotFoundFault +// - SnapshotNotFoundFault // -// * InvalidARNFault +// - InvalidARNFault // -// * TagNotFoundFault +// - TagNotFoundFault // -// * ServiceLinkedRoleNotFoundFault +// - ServiceLinkedRoleNotFoundFault // -// * UserNotFoundFault +// - UserNotFoundFault // -// * ACLNotFoundFault +// - ACLNotFoundFault // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/UntagResource func (c *MemoryDB) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2680,14 +2680,13 @@ const opUpdateACL = "UpdateACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateACLRequest method. +// req, resp := client.UpdateACLRequest(params) // -// // Example sending a request using the UpdateACLRequest method. -// req, resp := client.UpdateACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/UpdateACL func (c *MemoryDB) UpdateACLRequest(input *UpdateACLInput) (req *request.Request, output *UpdateACLOutput) { @@ -2718,19 +2717,20 @@ func (c *MemoryDB) UpdateACLRequest(input *UpdateACLInput) (req *request.Request // API operation UpdateACL for usage and error information. // // Returned Error Types: -// * ACLNotFoundFault // -// * UserNotFoundFault +// - ACLNotFoundFault +// +// - UserNotFoundFault // -// * DuplicateUserNameFault +// - DuplicateUserNameFault // -// * DefaultUserRequired +// - DefaultUserRequired // -// * InvalidACLStateFault +// - InvalidACLStateFault // -// * InvalidParameterValueException +// - InvalidParameterValueException // -// * InvalidParameterCombinationException +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/UpdateACL func (c *MemoryDB) UpdateACL(input *UpdateACLInput) (*UpdateACLOutput, error) { @@ -2770,14 +2770,13 @@ const opUpdateCluster = "UpdateCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateClusterRequest method. +// req, resp := client.UpdateClusterRequest(params) // -// // Example sending a request using the UpdateClusterRequest method. -// req, resp := client.UpdateClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/UpdateCluster func (c *MemoryDB) UpdateClusterRequest(input *UpdateClusterInput) (req *request.Request, output *UpdateClusterOutput) { @@ -2810,37 +2809,38 @@ func (c *MemoryDB) UpdateClusterRequest(input *UpdateClusterInput) (req *request // API operation UpdateCluster for usage and error information. // // Returned Error Types: -// * ClusterNotFoundFault // -// * InvalidClusterStateFault +// - ClusterNotFoundFault +// +// - InvalidClusterStateFault // -// * InvalidNodeStateFault +// - InvalidNodeStateFault // -// * ParameterGroupNotFoundFault +// - ParameterGroupNotFoundFault // -// * InvalidVPCNetworkStateFault +// - InvalidVPCNetworkStateFault // -// * ServiceLinkedRoleNotFoundFault +// - ServiceLinkedRoleNotFoundFault // -// * InvalidKMSKeyFault +// - InvalidKMSKeyFault // -// * NodeQuotaForClusterExceededFault +// - NodeQuotaForClusterExceededFault // -// * ClusterQuotaForCustomerExceededFault +// - ClusterQuotaForCustomerExceededFault // -// * ShardsPerClusterQuotaExceededFault +// - ShardsPerClusterQuotaExceededFault // -// * NodeQuotaForCustomerExceededFault +// - NodeQuotaForCustomerExceededFault // -// * NoOperationFault +// - NoOperationFault // -// * InvalidACLStateFault +// - InvalidACLStateFault // -// * ACLNotFoundFault +// - ACLNotFoundFault // -// * InvalidParameterValueException +// - InvalidParameterValueException // -// * InvalidParameterCombinationException +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/UpdateCluster func (c *MemoryDB) UpdateCluster(input *UpdateClusterInput) (*UpdateClusterOutput, error) { @@ -2880,14 +2880,13 @@ const opUpdateParameterGroup = "UpdateParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateParameterGroupRequest method. +// req, resp := client.UpdateParameterGroupRequest(params) // -// // Example sending a request using the UpdateParameterGroupRequest method. -// req, resp := client.UpdateParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/UpdateParameterGroup func (c *MemoryDB) UpdateParameterGroupRequest(input *UpdateParameterGroupInput) (req *request.Request, output *UpdateParameterGroupOutput) { @@ -2919,15 +2918,16 @@ func (c *MemoryDB) UpdateParameterGroupRequest(input *UpdateParameterGroupInput) // API operation UpdateParameterGroup for usage and error information. // // Returned Error Types: -// * ParameterGroupNotFoundFault // -// * InvalidParameterGroupStateFault +// - ParameterGroupNotFoundFault +// +// - InvalidParameterGroupStateFault // -// * ServiceLinkedRoleNotFoundFault +// - ServiceLinkedRoleNotFoundFault // -// * InvalidParameterValueException +// - InvalidParameterValueException // -// * InvalidParameterCombinationException +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/UpdateParameterGroup func (c *MemoryDB) UpdateParameterGroup(input *UpdateParameterGroupInput) (*UpdateParameterGroupOutput, error) { @@ -2967,14 +2967,13 @@ const opUpdateSubnetGroup = "UpdateSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSubnetGroupRequest method. +// req, resp := client.UpdateSubnetGroupRequest(params) // -// // Example sending a request using the UpdateSubnetGroupRequest method. -// req, resp := client.UpdateSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/UpdateSubnetGroup func (c *MemoryDB) UpdateSubnetGroupRequest(input *UpdateSubnetGroupInput) (req *request.Request, output *UpdateSubnetGroupOutput) { @@ -3006,17 +3005,18 @@ func (c *MemoryDB) UpdateSubnetGroupRequest(input *UpdateSubnetGroupInput) (req // API operation UpdateSubnetGroup for usage and error information. // // Returned Error Types: -// * SubnetGroupNotFoundFault // -// * SubnetQuotaExceededFault +// - SubnetGroupNotFoundFault +// +// - SubnetQuotaExceededFault // -// * SubnetInUse +// - SubnetInUse // -// * InvalidSubnet +// - InvalidSubnet // -// * ServiceLinkedRoleNotFoundFault +// - ServiceLinkedRoleNotFoundFault // -// * SubnetNotAllowedFault +// - SubnetNotAllowedFault // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/UpdateSubnetGroup func (c *MemoryDB) UpdateSubnetGroup(input *UpdateSubnetGroupInput) (*UpdateSubnetGroupOutput, error) { @@ -3056,14 +3056,13 @@ const opUpdateUser = "UpdateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserRequest method. +// req, resp := client.UpdateUserRequest(params) // -// // Example sending a request using the UpdateUserRequest method. -// req, resp := client.UpdateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/UpdateUser func (c *MemoryDB) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput) { @@ -3094,13 +3093,14 @@ func (c *MemoryDB) UpdateUserRequest(input *UpdateUserInput) (req *request.Reque // API operation UpdateUser for usage and error information. // // Returned Error Types: -// * UserNotFoundFault // -// * InvalidUserStateFault +// - UserNotFoundFault +// +// - InvalidUserStateFault // -// * InvalidParameterValueException +// - InvalidParameterValueException // -// * InvalidParameterCombinationException +// - InvalidParameterCombinationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/UpdateUser func (c *MemoryDB) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) { @@ -10306,9 +10306,9 @@ func (s *Subnet) SetIdentifier(v string) *Subnet { // Represents the output of one of the following operations: // -// * CreateSubnetGroup +// - CreateSubnetGroup // -// * UpdateSubnetGroup +// - UpdateSubnetGroup // // A subnet group is a collection of subnets (typically private) that you can // designate for your clusters running in an Amazon Virtual Private Cloud (VPC) diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/doc.go index c62238589011..f5421983cca6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/doc.go @@ -15,7 +15,7 @@ // See memorydb package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/memorydb/ // -// Using the Client +// # Using the Client // // To contact Amazon MemoryDB with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/memorydbiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/memorydbiface/interface.go index 9da48e2737ca..4e39b4668810 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/memorydbiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/memorydbiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon MemoryDB. -// func myFunc(svc memorydbiface.MemoryDBAPI) bool { -// // Make svc.BatchUpdateCluster request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon MemoryDB. +// func myFunc(svc memorydbiface.MemoryDBAPI) bool { +// // Make svc.BatchUpdateCluster request +// } // -// func main() { -// sess := session.New() -// svc := memorydb.New(sess) +// func main() { +// sess := session.New() +// svc := memorydb.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMemoryDBClient struct { -// memorydbiface.MemoryDBAPI -// } -// func (m *mockMemoryDBClient) BatchUpdateCluster(input *memorydb.BatchUpdateClusterInput) (*memorydb.BatchUpdateClusterOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMemoryDBClient struct { +// memorydbiface.MemoryDBAPI +// } +// func (m *mockMemoryDBClient) BatchUpdateCluster(input *memorydb.BatchUpdateClusterInput) (*memorydb.BatchUpdateClusterOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMemoryDBClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMemoryDBClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/service.go index 5f4cc864fc58..7787975c4744 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/memorydb/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MemoryDB client from just a session. -// svc := memorydb.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MemoryDB client with additional configuration -// svc := memorydb.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MemoryDB client from just a session. +// svc := memorydb.New(mySession) +// +// // Create a MemoryDB client with additional configuration +// svc := memorydb.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MemoryDB { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/api.go index a65636821416..6761f1d8fd41 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/api.go @@ -28,14 +28,13 @@ const opChangeServerLifeCycleState = "ChangeServerLifeCycleState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ChangeServerLifeCycleStateRequest method. +// req, resp := client.ChangeServerLifeCycleStateRequest(params) // -// // Example sending a request using the ChangeServerLifeCycleStateRequest method. -// req, resp := client.ChangeServerLifeCycleStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ChangeServerLifeCycleState func (c *Mgn) ChangeServerLifeCycleStateRequest(input *ChangeServerLifeCycleStateInput) (req *request.Request, output *ChangeServerLifeCycleStateOutput) { @@ -69,18 +68,19 @@ func (c *Mgn) ChangeServerLifeCycleStateRequest(input *ChangeServerLifeCycleStat // API operation ChangeServerLifeCycleState for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. // -// * ValidationException -// Validate exception. +// - ValidationException +// Validate exception. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ChangeServerLifeCycleState func (c *Mgn) ChangeServerLifeCycleState(input *ChangeServerLifeCycleStateInput) (*ChangeServerLifeCycleStateOutput, error) { @@ -120,14 +120,13 @@ const opCreateReplicationConfigurationTemplate = "CreateReplicationConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReplicationConfigurationTemplateRequest method. +// req, resp := client.CreateReplicationConfigurationTemplateRequest(params) // -// // Example sending a request using the CreateReplicationConfigurationTemplateRequest method. -// req, resp := client.CreateReplicationConfigurationTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/CreateReplicationConfigurationTemplate func (c *Mgn) CreateReplicationConfigurationTemplateRequest(input *CreateReplicationConfigurationTemplateInput) (req *request.Request, output *CreateReplicationConfigurationTemplateOutput) { @@ -158,14 +157,15 @@ func (c *Mgn) CreateReplicationConfigurationTemplateRequest(input *CreateReplica // API operation CreateReplicationConfigurationTemplate for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ValidationException -// Validate exception. +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ValidationException +// Validate exception. // -// * AccessDeniedException -// Operating denied due to a file permission or access check error. +// - AccessDeniedException +// Operating denied due to a file permission or access check error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/CreateReplicationConfigurationTemplate func (c *Mgn) CreateReplicationConfigurationTemplate(input *CreateReplicationConfigurationTemplateInput) (*CreateReplicationConfigurationTemplateOutput, error) { @@ -205,14 +205,13 @@ const opDeleteJob = "DeleteJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteJobRequest method. +// req, resp := client.DeleteJobRequest(params) // -// // Example sending a request using the DeleteJobRequest method. -// req, resp := client.DeleteJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteJob func (c *Mgn) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, output *DeleteJobOutput) { @@ -244,15 +243,16 @@ func (c *Mgn) DeleteJobRequest(input *DeleteJobInput) (req *request.Request, out // API operation DeleteJob for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteJob func (c *Mgn) DeleteJob(input *DeleteJobInput) (*DeleteJobOutput, error) { @@ -292,14 +292,13 @@ const opDeleteReplicationConfigurationTemplate = "DeleteReplicationConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReplicationConfigurationTemplateRequest method. +// req, resp := client.DeleteReplicationConfigurationTemplateRequest(params) // -// // Example sending a request using the DeleteReplicationConfigurationTemplateRequest method. -// req, resp := client.DeleteReplicationConfigurationTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteReplicationConfigurationTemplate func (c *Mgn) DeleteReplicationConfigurationTemplateRequest(input *DeleteReplicationConfigurationTemplateInput) (req *request.Request, output *DeleteReplicationConfigurationTemplateOutput) { @@ -321,7 +320,7 @@ func (c *Mgn) DeleteReplicationConfigurationTemplateRequest(input *DeleteReplica // DeleteReplicationConfigurationTemplate API operation for Application Migration Service. // -// Deletes a single Replication Configuration Template by ID +// # Deletes a single Replication Configuration Template by ID // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -331,15 +330,16 @@ func (c *Mgn) DeleteReplicationConfigurationTemplateRequest(input *DeleteReplica // API operation DeleteReplicationConfigurationTemplate for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteReplicationConfigurationTemplate func (c *Mgn) DeleteReplicationConfigurationTemplate(input *DeleteReplicationConfigurationTemplateInput) (*DeleteReplicationConfigurationTemplateOutput, error) { @@ -379,14 +379,13 @@ const opDeleteSourceServer = "DeleteSourceServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSourceServerRequest method. +// req, resp := client.DeleteSourceServerRequest(params) // -// // Example sending a request using the DeleteSourceServerRequest method. -// req, resp := client.DeleteSourceServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteSourceServer func (c *Mgn) DeleteSourceServerRequest(input *DeleteSourceServerInput) (req *request.Request, output *DeleteSourceServerOutput) { @@ -418,15 +417,16 @@ func (c *Mgn) DeleteSourceServerRequest(input *DeleteSourceServerInput) (req *re // API operation DeleteSourceServer for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteSourceServer func (c *Mgn) DeleteSourceServer(input *DeleteSourceServerInput) (*DeleteSourceServerOutput, error) { @@ -466,14 +466,13 @@ const opDeleteVcenterClient = "DeleteVcenterClient" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVcenterClientRequest method. +// req, resp := client.DeleteVcenterClientRequest(params) // -// // Example sending a request using the DeleteVcenterClientRequest method. -// req, resp := client.DeleteVcenterClientRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteVcenterClient func (c *Mgn) DeleteVcenterClientRequest(input *DeleteVcenterClientInput) (req *request.Request, output *DeleteVcenterClientOutput) { @@ -505,14 +504,15 @@ func (c *Mgn) DeleteVcenterClientRequest(input *DeleteVcenterClientInput) (req * // API operation DeleteVcenterClient for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. // -// * ValidationException -// Validate exception. +// - ValidationException +// Validate exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DeleteVcenterClient func (c *Mgn) DeleteVcenterClient(input *DeleteVcenterClientInput) (*DeleteVcenterClientOutput, error) { @@ -552,14 +552,13 @@ const opDescribeJobLogItems = "DescribeJobLogItems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobLogItemsRequest method. +// req, resp := client.DescribeJobLogItemsRequest(params) // -// // Example sending a request using the DescribeJobLogItemsRequest method. -// req, resp := client.DescribeJobLogItemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeJobLogItems func (c *Mgn) DescribeJobLogItemsRequest(input *DescribeJobLogItemsInput) (req *request.Request, output *DescribeJobLogItemsOutput) { @@ -596,11 +595,12 @@ func (c *Mgn) DescribeJobLogItemsRequest(input *DescribeJobLogItemsInput) (req * // API operation DescribeJobLogItems for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ValidationException -// Validate exception. +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ValidationException +// Validate exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeJobLogItems func (c *Mgn) DescribeJobLogItems(input *DescribeJobLogItemsInput) (*DescribeJobLogItemsOutput, error) { @@ -632,15 +632,14 @@ func (c *Mgn) DescribeJobLogItemsWithContext(ctx aws.Context, input *DescribeJob // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeJobLogItems operation. -// pageNum := 0 -// err := client.DescribeJobLogItemsPages(params, -// func(page *mgn.DescribeJobLogItemsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeJobLogItems operation. +// pageNum := 0 +// err := client.DescribeJobLogItemsPages(params, +// func(page *mgn.DescribeJobLogItemsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Mgn) DescribeJobLogItemsPages(input *DescribeJobLogItemsInput, fn func(*DescribeJobLogItemsOutput, bool) bool) error { return c.DescribeJobLogItemsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -692,14 +691,13 @@ const opDescribeJobs = "DescribeJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobsRequest method. +// req, resp := client.DescribeJobsRequest(params) // -// // Example sending a request using the DescribeJobsRequest method. -// req, resp := client.DescribeJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeJobs func (c *Mgn) DescribeJobsRequest(input *DescribeJobsInput) (req *request.Request, output *DescribeJobsOutput) { @@ -741,11 +739,12 @@ func (c *Mgn) DescribeJobsRequest(input *DescribeJobsInput) (req *request.Reques // API operation DescribeJobs for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ValidationException -// Validate exception. +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ValidationException +// Validate exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeJobs func (c *Mgn) DescribeJobs(input *DescribeJobsInput) (*DescribeJobsOutput, error) { @@ -777,15 +776,14 @@ func (c *Mgn) DescribeJobsWithContext(ctx aws.Context, input *DescribeJobsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeJobs operation. -// pageNum := 0 -// err := client.DescribeJobsPages(params, -// func(page *mgn.DescribeJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeJobs operation. +// pageNum := 0 +// err := client.DescribeJobsPages(params, +// func(page *mgn.DescribeJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Mgn) DescribeJobsPages(input *DescribeJobsInput, fn func(*DescribeJobsOutput, bool) bool) error { return c.DescribeJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -837,14 +835,13 @@ const opDescribeReplicationConfigurationTemplates = "DescribeReplicationConfigur // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReplicationConfigurationTemplatesRequest method. +// req, resp := client.DescribeReplicationConfigurationTemplatesRequest(params) // -// // Example sending a request using the DescribeReplicationConfigurationTemplatesRequest method. -// req, resp := client.DescribeReplicationConfigurationTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeReplicationConfigurationTemplates func (c *Mgn) DescribeReplicationConfigurationTemplatesRequest(input *DescribeReplicationConfigurationTemplatesInput) (req *request.Request, output *DescribeReplicationConfigurationTemplatesOutput) { @@ -881,14 +878,15 @@ func (c *Mgn) DescribeReplicationConfigurationTemplatesRequest(input *DescribeRe // API operation DescribeReplicationConfigurationTemplates for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. // -// * ValidationException -// Validate exception. +// - ValidationException +// Validate exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeReplicationConfigurationTemplates func (c *Mgn) DescribeReplicationConfigurationTemplates(input *DescribeReplicationConfigurationTemplatesInput) (*DescribeReplicationConfigurationTemplatesOutput, error) { @@ -920,15 +918,14 @@ func (c *Mgn) DescribeReplicationConfigurationTemplatesWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReplicationConfigurationTemplates operation. -// pageNum := 0 -// err := client.DescribeReplicationConfigurationTemplatesPages(params, -// func(page *mgn.DescribeReplicationConfigurationTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReplicationConfigurationTemplates operation. +// pageNum := 0 +// err := client.DescribeReplicationConfigurationTemplatesPages(params, +// func(page *mgn.DescribeReplicationConfigurationTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Mgn) DescribeReplicationConfigurationTemplatesPages(input *DescribeReplicationConfigurationTemplatesInput, fn func(*DescribeReplicationConfigurationTemplatesOutput, bool) bool) error { return c.DescribeReplicationConfigurationTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -980,14 +977,13 @@ const opDescribeSourceServers = "DescribeSourceServers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSourceServersRequest method. +// req, resp := client.DescribeSourceServersRequest(params) // -// // Example sending a request using the DescribeSourceServersRequest method. -// req, resp := client.DescribeSourceServersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeSourceServers func (c *Mgn) DescribeSourceServersRequest(input *DescribeSourceServersInput) (req *request.Request, output *DescribeSourceServersOutput) { @@ -1024,11 +1020,12 @@ func (c *Mgn) DescribeSourceServersRequest(input *DescribeSourceServersInput) (r // API operation DescribeSourceServers for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ValidationException -// Validate exception. +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ValidationException +// Validate exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeSourceServers func (c *Mgn) DescribeSourceServers(input *DescribeSourceServersInput) (*DescribeSourceServersOutput, error) { @@ -1060,15 +1057,14 @@ func (c *Mgn) DescribeSourceServersWithContext(ctx aws.Context, input *DescribeS // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSourceServers operation. -// pageNum := 0 -// err := client.DescribeSourceServersPages(params, -// func(page *mgn.DescribeSourceServersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSourceServers operation. +// pageNum := 0 +// err := client.DescribeSourceServersPages(params, +// func(page *mgn.DescribeSourceServersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Mgn) DescribeSourceServersPages(input *DescribeSourceServersInput, fn func(*DescribeSourceServersOutput, bool) bool) error { return c.DescribeSourceServersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1120,14 +1116,13 @@ const opDescribeVcenterClients = "DescribeVcenterClients" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVcenterClientsRequest method. +// req, resp := client.DescribeVcenterClientsRequest(params) // -// // Example sending a request using the DescribeVcenterClientsRequest method. -// req, resp := client.DescribeVcenterClientsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeVcenterClients func (c *Mgn) DescribeVcenterClientsRequest(input *DescribeVcenterClientsInput) (req *request.Request, output *DescribeVcenterClientsOutput) { @@ -1164,14 +1159,15 @@ func (c *Mgn) DescribeVcenterClientsRequest(input *DescribeVcenterClientsInput) // API operation DescribeVcenterClients for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. // -// * ValidationException -// Validate exception. +// - ValidationException +// Validate exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DescribeVcenterClients func (c *Mgn) DescribeVcenterClients(input *DescribeVcenterClientsInput) (*DescribeVcenterClientsOutput, error) { @@ -1203,15 +1199,14 @@ func (c *Mgn) DescribeVcenterClientsWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeVcenterClients operation. -// pageNum := 0 -// err := client.DescribeVcenterClientsPages(params, -// func(page *mgn.DescribeVcenterClientsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeVcenterClients operation. +// pageNum := 0 +// err := client.DescribeVcenterClientsPages(params, +// func(page *mgn.DescribeVcenterClientsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Mgn) DescribeVcenterClientsPages(input *DescribeVcenterClientsInput, fn func(*DescribeVcenterClientsOutput, bool) bool) error { return c.DescribeVcenterClientsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1263,14 +1258,13 @@ const opDisconnectFromService = "DisconnectFromService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisconnectFromServiceRequest method. +// req, resp := client.DisconnectFromServiceRequest(params) // -// // Example sending a request using the DisconnectFromServiceRequest method. -// req, resp := client.DisconnectFromServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DisconnectFromService func (c *Mgn) DisconnectFromServiceRequest(input *DisconnectFromServiceInput) (req *request.Request, output *DisconnectFromServiceOutput) { @@ -1312,15 +1306,16 @@ func (c *Mgn) DisconnectFromServiceRequest(input *DisconnectFromServiceInput) (r // API operation DisconnectFromService for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ResourceNotFoundException +// Resource not found exception. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/DisconnectFromService func (c *Mgn) DisconnectFromService(input *DisconnectFromServiceInput) (*DisconnectFromServiceOutput, error) { @@ -1360,14 +1355,13 @@ const opFinalizeCutover = "FinalizeCutover" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the FinalizeCutoverRequest method. +// req, resp := client.FinalizeCutoverRequest(params) // -// // Example sending a request using the FinalizeCutoverRequest method. -// req, resp := client.FinalizeCutoverRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/FinalizeCutover func (c *Mgn) FinalizeCutoverRequest(input *FinalizeCutoverInput) (req *request.Request, output *FinalizeCutoverOutput) { @@ -1407,18 +1401,19 @@ func (c *Mgn) FinalizeCutoverRequest(input *FinalizeCutoverInput) (req *request. // API operation FinalizeCutover for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. // -// * ValidationException -// Validate exception. +// - ResourceNotFoundException +// Resource not found exception. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ValidationException +// Validate exception. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/FinalizeCutover func (c *Mgn) FinalizeCutover(input *FinalizeCutoverInput) (*FinalizeCutoverOutput, error) { @@ -1458,14 +1453,13 @@ const opGetLaunchConfiguration = "GetLaunchConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLaunchConfigurationRequest method. +// req, resp := client.GetLaunchConfigurationRequest(params) // -// // Example sending a request using the GetLaunchConfigurationRequest method. -// req, resp := client.GetLaunchConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/GetLaunchConfiguration func (c *Mgn) GetLaunchConfigurationRequest(input *GetLaunchConfigurationInput) (req *request.Request, output *GetLaunchConfigurationOutput) { @@ -1496,11 +1490,12 @@ func (c *Mgn) GetLaunchConfigurationRequest(input *GetLaunchConfigurationInput) // API operation GetLaunchConfiguration for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/GetLaunchConfiguration func (c *Mgn) GetLaunchConfiguration(input *GetLaunchConfigurationInput) (*GetLaunchConfigurationOutput, error) { @@ -1540,14 +1535,13 @@ const opGetReplicationConfiguration = "GetReplicationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReplicationConfigurationRequest method. +// req, resp := client.GetReplicationConfigurationRequest(params) // -// // Example sending a request using the GetReplicationConfigurationRequest method. -// req, resp := client.GetReplicationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/GetReplicationConfiguration func (c *Mgn) GetReplicationConfigurationRequest(input *GetReplicationConfigurationInput) (req *request.Request, output *GetReplicationConfigurationOutput) { @@ -1578,11 +1572,12 @@ func (c *Mgn) GetReplicationConfigurationRequest(input *GetReplicationConfigurat // API operation GetReplicationConfiguration for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/GetReplicationConfiguration func (c *Mgn) GetReplicationConfiguration(input *GetReplicationConfigurationInput) (*GetReplicationConfigurationOutput, error) { @@ -1622,14 +1617,13 @@ const opInitializeService = "InitializeService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InitializeServiceRequest method. +// req, resp := client.InitializeServiceRequest(params) // -// // Example sending a request using the InitializeServiceRequest method. -// req, resp := client.InitializeServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/InitializeService func (c *Mgn) InitializeServiceRequest(input *InitializeServiceInput) (req *request.Request, output *InitializeServiceOutput) { @@ -1661,11 +1655,12 @@ func (c *Mgn) InitializeServiceRequest(input *InitializeServiceInput) (req *requ // API operation InitializeService for usage and error information. // // Returned Error Types: -// * ValidationException -// Validate exception. // -// * AccessDeniedException -// Operating denied due to a file permission or access check error. +// - ValidationException +// Validate exception. +// +// - AccessDeniedException +// Operating denied due to a file permission or access check error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/InitializeService func (c *Mgn) InitializeService(input *InitializeServiceInput) (*InitializeServiceOutput, error) { @@ -1705,14 +1700,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListTagsForResource func (c *Mgn) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1743,21 +1737,22 @@ func (c *Mgn) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found exception. // -// * ThrottlingException -// Reached throttling quota exception. +// - ResourceNotFoundException +// Resource not found exception. // -// * ValidationException -// Validate exception. +// - ThrottlingException +// Reached throttling quota exception. // -// * AccessDeniedException -// Operating denied due to a file permission or access check error. +// - ValidationException +// Validate exception. // -// * InternalServerException -// The server encountered an unexpected condition that prevented it from fulfilling -// the request. +// - AccessDeniedException +// Operating denied due to a file permission or access check error. +// +// - InternalServerException +// The server encountered an unexpected condition that prevented it from fulfilling +// the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/ListTagsForResource func (c *Mgn) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1797,14 +1792,13 @@ const opMarkAsArchived = "MarkAsArchived" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MarkAsArchivedRequest method. +// req, resp := client.MarkAsArchivedRequest(params) // -// // Example sending a request using the MarkAsArchivedRequest method. -// req, resp := client.MarkAsArchivedRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/MarkAsArchived func (c *Mgn) MarkAsArchivedRequest(input *MarkAsArchivedInput) (req *request.Request, output *MarkAsArchivedOutput) { @@ -1837,15 +1831,16 @@ func (c *Mgn) MarkAsArchivedRequest(input *MarkAsArchivedInput) (req *request.Re // API operation MarkAsArchived for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ResourceNotFoundException +// Resource not found exception. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/MarkAsArchived func (c *Mgn) MarkAsArchived(input *MarkAsArchivedInput) (*MarkAsArchivedOutput, error) { @@ -1885,14 +1880,13 @@ const opRetryDataReplication = "RetryDataReplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RetryDataReplicationRequest method. +// req, resp := client.RetryDataReplicationRequest(params) // -// // Example sending a request using the RetryDataReplicationRequest method. -// req, resp := client.RetryDataReplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/RetryDataReplication func (c *Mgn) RetryDataReplicationRequest(input *RetryDataReplicationInput) (req *request.Request, output *RetryDataReplicationOutput) { @@ -1926,14 +1920,15 @@ func (c *Mgn) RetryDataReplicationRequest(input *RetryDataReplicationInput) (req // API operation RetryDataReplication for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. // -// * ValidationException -// Validate exception. +// - ResourceNotFoundException +// Resource not found exception. +// +// - ValidationException +// Validate exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/RetryDataReplication func (c *Mgn) RetryDataReplication(input *RetryDataReplicationInput) (*RetryDataReplicationOutput, error) { @@ -1973,14 +1968,13 @@ const opStartCutover = "StartCutover" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartCutoverRequest method. +// req, resp := client.StartCutoverRequest(params) // -// // Example sending a request using the StartCutoverRequest method. -// req, resp := client.StartCutoverRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartCutover func (c *Mgn) StartCutoverRequest(input *StartCutoverInput) (req *request.Request, output *StartCutoverOutput) { @@ -2013,15 +2007,16 @@ func (c *Mgn) StartCutoverRequest(input *StartCutoverInput) (req *request.Reques // API operation StartCutover for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ValidationException -// Validate exception. +// - UninitializedAccountException +// Uninitialized account exception. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ValidationException +// Validate exception. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartCutover func (c *Mgn) StartCutover(input *StartCutoverInput) (*StartCutoverOutput, error) { @@ -2061,14 +2056,13 @@ const opStartReplication = "StartReplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartReplicationRequest method. +// req, resp := client.StartReplicationRequest(params) // -// // Example sending a request using the StartReplicationRequest method. -// req, resp := client.StartReplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartReplication func (c *Mgn) StartReplicationRequest(input *StartReplicationInput) (req *request.Request, output *StartReplicationOutput) { @@ -2099,21 +2093,22 @@ func (c *Mgn) StartReplicationRequest(input *StartReplicationInput) (req *reques // API operation StartReplication for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. // -// * ValidationException -// Validate exception. +// - ResourceNotFoundException +// Resource not found exception. // -// * ServiceQuotaExceededException -// The request could not be completed because its exceeded the service quota. +// - ValidationException +// Validate exception. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ServiceQuotaExceededException +// The request could not be completed because its exceeded the service quota. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartReplication func (c *Mgn) StartReplication(input *StartReplicationInput) (*StartReplicationOutput, error) { @@ -2153,14 +2148,13 @@ const opStartTest = "StartTest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartTestRequest method. +// req, resp := client.StartTestRequest(params) // -// // Example sending a request using the StartTestRequest method. -// req, resp := client.StartTestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartTest func (c *Mgn) StartTestRequest(input *StartTestInput) (req *request.Request, output *StartTestOutput) { @@ -2193,15 +2187,16 @@ func (c *Mgn) StartTestRequest(input *StartTestInput) (req *request.Request, out // API operation StartTest for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ValidationException -// Validate exception. +// - UninitializedAccountException +// Uninitialized account exception. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ValidationException +// Validate exception. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/StartTest func (c *Mgn) StartTest(input *StartTestInput) (*StartTestOutput, error) { @@ -2241,14 +2236,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/TagResource func (c *Mgn) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2283,21 +2277,22 @@ func (c *Mgn) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found exception. // -// * ThrottlingException -// Reached throttling quota exception. +// - ResourceNotFoundException +// Resource not found exception. // -// * ValidationException -// Validate exception. +// - ThrottlingException +// Reached throttling quota exception. // -// * AccessDeniedException -// Operating denied due to a file permission or access check error. +// - ValidationException +// Validate exception. // -// * InternalServerException -// The server encountered an unexpected condition that prevented it from fulfilling -// the request. +// - AccessDeniedException +// Operating denied due to a file permission or access check error. +// +// - InternalServerException +// The server encountered an unexpected condition that prevented it from fulfilling +// the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/TagResource func (c *Mgn) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2337,14 +2332,13 @@ const opTerminateTargetInstances = "TerminateTargetInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TerminateTargetInstancesRequest method. +// req, resp := client.TerminateTargetInstancesRequest(params) // -// // Example sending a request using the TerminateTargetInstancesRequest method. -// req, resp := client.TerminateTargetInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/TerminateTargetInstances func (c *Mgn) TerminateTargetInstancesRequest(input *TerminateTargetInstancesInput) (req *request.Request, output *TerminateTargetInstancesOutput) { @@ -2377,15 +2371,16 @@ func (c *Mgn) TerminateTargetInstancesRequest(input *TerminateTargetInstancesInp // API operation TerminateTargetInstances for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ValidationException -// Validate exception. +// - UninitializedAccountException +// Uninitialized account exception. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ValidationException +// Validate exception. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/TerminateTargetInstances func (c *Mgn) TerminateTargetInstances(input *TerminateTargetInstancesInput) (*TerminateTargetInstancesOutput, error) { @@ -2425,14 +2420,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UntagResource func (c *Mgn) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2465,21 +2459,22 @@ func (c *Mgn) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Resource not found exception. // -// * ThrottlingException -// Reached throttling quota exception. +// - ResourceNotFoundException +// Resource not found exception. // -// * ValidationException -// Validate exception. +// - ThrottlingException +// Reached throttling quota exception. // -// * AccessDeniedException -// Operating denied due to a file permission or access check error. +// - ValidationException +// Validate exception. // -// * InternalServerException -// The server encountered an unexpected condition that prevented it from fulfilling -// the request. +// - AccessDeniedException +// Operating denied due to a file permission or access check error. +// +// - InternalServerException +// The server encountered an unexpected condition that prevented it from fulfilling +// the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UntagResource func (c *Mgn) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2519,14 +2514,13 @@ const opUpdateLaunchConfiguration = "UpdateLaunchConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLaunchConfigurationRequest method. +// req, resp := client.UpdateLaunchConfigurationRequest(params) // -// // Example sending a request using the UpdateLaunchConfigurationRequest method. -// req, resp := client.UpdateLaunchConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateLaunchConfiguration func (c *Mgn) UpdateLaunchConfigurationRequest(input *UpdateLaunchConfigurationInput) (req *request.Request, output *UpdateLaunchConfigurationOutput) { @@ -2557,18 +2551,19 @@ func (c *Mgn) UpdateLaunchConfigurationRequest(input *UpdateLaunchConfigurationI // API operation UpdateLaunchConfiguration for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. // -// * ValidationException -// Validate exception. +// - ResourceNotFoundException +// Resource not found exception. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ValidationException +// Validate exception. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateLaunchConfiguration func (c *Mgn) UpdateLaunchConfiguration(input *UpdateLaunchConfigurationInput) (*UpdateLaunchConfigurationOutput, error) { @@ -2608,14 +2603,13 @@ const opUpdateReplicationConfiguration = "UpdateReplicationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateReplicationConfigurationRequest method. +// req, resp := client.UpdateReplicationConfigurationRequest(params) // -// // Example sending a request using the UpdateReplicationConfigurationRequest method. -// req, resp := client.UpdateReplicationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfiguration func (c *Mgn) UpdateReplicationConfigurationRequest(input *UpdateReplicationConfigurationInput) (req *request.Request, output *UpdateReplicationConfigurationOutput) { @@ -2647,21 +2641,22 @@ func (c *Mgn) UpdateReplicationConfigurationRequest(input *UpdateReplicationConf // API operation UpdateReplicationConfiguration for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. // -// * ValidationException -// Validate exception. +// - ResourceNotFoundException +// Resource not found exception. // -// * AccessDeniedException -// Operating denied due to a file permission or access check error. +// - ValidationException +// Validate exception. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - AccessDeniedException +// Operating denied due to a file permission or access check error. +// +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfiguration func (c *Mgn) UpdateReplicationConfiguration(input *UpdateReplicationConfigurationInput) (*UpdateReplicationConfigurationOutput, error) { @@ -2701,14 +2696,13 @@ const opUpdateReplicationConfigurationTemplate = "UpdateReplicationConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateReplicationConfigurationTemplateRequest method. +// req, resp := client.UpdateReplicationConfigurationTemplateRequest(params) // -// // Example sending a request using the UpdateReplicationConfigurationTemplateRequest method. -// req, resp := client.UpdateReplicationConfigurationTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfigurationTemplate func (c *Mgn) UpdateReplicationConfigurationTemplateRequest(input *UpdateReplicationConfigurationTemplateInput) (req *request.Request, output *UpdateReplicationConfigurationTemplateOutput) { @@ -2739,17 +2733,18 @@ func (c *Mgn) UpdateReplicationConfigurationTemplateRequest(input *UpdateReplica // API operation UpdateReplicationConfigurationTemplate for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. // -// * ValidationException -// Validate exception. +// - ResourceNotFoundException +// Resource not found exception. // -// * AccessDeniedException -// Operating denied due to a file permission or access check error. +// - ValidationException +// Validate exception. +// +// - AccessDeniedException +// Operating denied due to a file permission or access check error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateReplicationConfigurationTemplate func (c *Mgn) UpdateReplicationConfigurationTemplate(input *UpdateReplicationConfigurationTemplateInput) (*UpdateReplicationConfigurationTemplateOutput, error) { @@ -2789,14 +2784,13 @@ const opUpdateSourceServerReplicationType = "UpdateSourceServerReplicationType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSourceServerReplicationTypeRequest method. +// req, resp := client.UpdateSourceServerReplicationTypeRequest(params) // -// // Example sending a request using the UpdateSourceServerReplicationTypeRequest method. -// req, resp := client.UpdateSourceServerReplicationTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateSourceServerReplicationType func (c *Mgn) UpdateSourceServerReplicationTypeRequest(input *UpdateSourceServerReplicationTypeInput) (req *request.Request, output *UpdateSourceServerReplicationTypeOutput) { @@ -2828,18 +2822,19 @@ func (c *Mgn) UpdateSourceServerReplicationTypeRequest(input *UpdateSourceServer // API operation UpdateSourceServerReplicationType for usage and error information. // // Returned Error Types: -// * UninitializedAccountException -// Uninitialized account exception. // -// * ResourceNotFoundException -// Resource not found exception. +// - UninitializedAccountException +// Uninitialized account exception. +// +// - ResourceNotFoundException +// Resource not found exception. // -// * ValidationException -// Validate exception. +// - ValidationException +// Validate exception. // -// * ConflictException -// The request could not be completed due to a conflict with the current state -// of the target resource. +// - ConflictException +// The request could not be completed due to a conflict with the current state +// of the target resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26/UpdateSourceServerReplicationType func (c *Mgn) UpdateSourceServerReplicationType(input *UpdateSourceServerReplicationTypeInput) (*UpdateSourceServerReplicationTypeOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/doc.go index 670a0d258369..24e14316cdea 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/doc.go @@ -10,7 +10,7 @@ // See mgn package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/mgn/ // -// Using the Client +// # Using the Client // // To contact Application Migration Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/mgniface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/mgniface/interface.go index 24329f56c018..aa482cf3b7e1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/mgniface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/mgniface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Application Migration Service. -// func myFunc(svc mgniface.MgnAPI) bool { -// // Make svc.ChangeServerLifeCycleState request -// } +// // myFunc uses an SDK service client to make a request to +// // Application Migration Service. +// func myFunc(svc mgniface.MgnAPI) bool { +// // Make svc.ChangeServerLifeCycleState request +// } // -// func main() { -// sess := session.New() -// svc := mgn.New(sess) +// func main() { +// sess := session.New() +// svc := mgn.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMgnClient struct { -// mgniface.MgnAPI -// } -// func (m *mockMgnClient) ChangeServerLifeCycleState(input *mgn.ChangeServerLifeCycleStateInput) (*mgn.ChangeServerLifeCycleStateOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMgnClient struct { +// mgniface.MgnAPI +// } +// func (m *mockMgnClient) ChangeServerLifeCycleState(input *mgn.ChangeServerLifeCycleStateInput) (*mgn.ChangeServerLifeCycleStateOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMgnClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMgnClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/service.go index 7c9ce02b9584..377dd64e17ae 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mgn/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Mgn client from just a session. -// svc := mgn.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Mgn client with additional configuration -// svc := mgn.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Mgn client from just a session. +// svc := mgn.New(mySession) +// +// // Create a Mgn client with additional configuration +// svc := mgn.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Mgn { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/api.go index 52cb2dcba721..7906a464addd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/api.go @@ -29,14 +29,13 @@ const opAssociateCreatedArtifact = "AssociateCreatedArtifact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateCreatedArtifactRequest method. +// req, resp := client.AssociateCreatedArtifactRequest(params) // -// // Example sending a request using the AssociateCreatedArtifactRequest method. -// req, resp := client.AssociateCreatedArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateCreatedArtifact func (c *MigrationHub) AssociateCreatedArtifactRequest(input *AssociateCreatedArtifactInput) (req *request.Request, output *AssociateCreatedArtifactOutput) { @@ -62,15 +61,15 @@ func (c *MigrationHub) AssociateCreatedArtifactRequest(input *AssociateCreatedAr // the migration, with the migration task performed by a migration tool. This // API has the following traits: // -// * Migration tools can call the AssociateCreatedArtifact operation to indicate -// which AWS artifact is associated with a migration task. +// - Migration tools can call the AssociateCreatedArtifact operation to indicate +// which AWS artifact is associated with a migration task. // -// * The created artifact name must be provided in ARN (Amazon Resource Name) -// format which will contain information about type and region; for example: -// arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b. +// - The created artifact name must be provided in ARN (Amazon Resource Name) +// format which will contain information about type and region; for example: +// arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b. // -// * Examples of the AWS resource behind the created artifact are, AMI's, -// EC2 instance, or DMS endpoint, etc. +// - Examples of the AWS resource behind the created artifact are, AMI's, +// EC2 instance, or DMS endpoint, etc. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -80,40 +79,41 @@ func (c *MigrationHub) AssociateCreatedArtifactRequest(input *AssociateCreatedAr // API operation AssociateCreatedArtifact for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * DryRunOperation -// Exception raised to indicate a successfully authorized action when the DryRun -// flag is set to "true". +// - DryRunOperation +// Exception raised to indicate a successfully authorized action when the DryRun +// flag is set to "true". // -// * UnauthorizedOperation -// Exception raised to indicate a request was not authorized when the DryRun -// flag is set to "true". +// - UnauthorizedOperation +// Exception raised to indicate a request was not authorized when the DryRun +// flag is set to "true". // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * ResourceNotFoundException -// Exception raised when the request references a resource (Application Discovery -// Service configuration, update stream, migration task, etc.) that does not -// exist in Application Discovery Service (Application Discovery Service) or -// in Migration Hub's repository. +// - ResourceNotFoundException +// Exception raised when the request references a resource (Application Discovery +// Service configuration, update stream, migration task, etc.) that does not +// exist in Application Discovery Service (Application Discovery Service) or +// in Migration Hub's repository. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateCreatedArtifact func (c *MigrationHub) AssociateCreatedArtifact(input *AssociateCreatedArtifactInput) (*AssociateCreatedArtifactOutput, error) { @@ -153,14 +153,13 @@ const opAssociateDiscoveredResource = "AssociateDiscoveredResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateDiscoveredResourceRequest method. +// req, resp := client.AssociateDiscoveredResourceRequest(params) // -// // Example sending a request using the AssociateDiscoveredResourceRequest method. -// req, resp := client.AssociateDiscoveredResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateDiscoveredResource func (c *MigrationHub) AssociateDiscoveredResourceRequest(input *AssociateDiscoveredResourceInput) (req *request.Request, output *AssociateDiscoveredResourceOutput) { @@ -193,45 +192,46 @@ func (c *MigrationHub) AssociateDiscoveredResourceRequest(input *AssociateDiscov // API operation AssociateDiscoveredResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * DryRunOperation -// Exception raised to indicate a successfully authorized action when the DryRun -// flag is set to "true". +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * UnauthorizedOperation -// Exception raised to indicate a request was not authorized when the DryRun -// flag is set to "true". +// - DryRunOperation +// Exception raised to indicate a successfully authorized action when the DryRun +// flag is set to "true". // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - UnauthorizedOperation +// Exception raised to indicate a request was not authorized when the DryRun +// flag is set to "true". // -// * PolicyErrorException -// Exception raised when there are problems accessing Application Discovery -// Service (Application Discovery Service); most likely due to a misconfigured -// policy or the migrationhub-discovery role is missing or not configured correctly. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * ResourceNotFoundException -// Exception raised when the request references a resource (Application Discovery -// Service configuration, update stream, migration task, etc.) that does not -// exist in Application Discovery Service (Application Discovery Service) or -// in Migration Hub's repository. +// - PolicyErrorException +// Exception raised when there are problems accessing Application Discovery +// Service (Application Discovery Service); most likely due to a misconfigured +// policy or the migrationhub-discovery role is missing or not configured correctly. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - ResourceNotFoundException +// Exception raised when the request references a resource (Application Discovery +// Service configuration, update stream, migration task, etc.) that does not +// exist in Application Discovery Service (Application Discovery Service) or +// in Migration Hub's repository. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/AssociateDiscoveredResource func (c *MigrationHub) AssociateDiscoveredResource(input *AssociateDiscoveredResourceInput) (*AssociateDiscoveredResourceOutput, error) { @@ -271,14 +271,13 @@ const opCreateProgressUpdateStream = "CreateProgressUpdateStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProgressUpdateStreamRequest method. +// req, resp := client.CreateProgressUpdateStreamRequest(params) // -// // Example sending a request using the CreateProgressUpdateStreamRequest method. -// req, resp := client.CreateProgressUpdateStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/CreateProgressUpdateStream func (c *MigrationHub) CreateProgressUpdateStreamRequest(input *CreateProgressUpdateStreamInput) (req *request.Request, output *CreateProgressUpdateStreamOutput) { @@ -314,34 +313,35 @@ func (c *MigrationHub) CreateProgressUpdateStreamRequest(input *CreateProgressUp // API operation CreateProgressUpdateStream for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * DryRunOperation -// Exception raised to indicate a successfully authorized action when the DryRun -// flag is set to "true". +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * UnauthorizedOperation -// Exception raised to indicate a request was not authorized when the DryRun -// flag is set to "true". +// - DryRunOperation +// Exception raised to indicate a successfully authorized action when the DryRun +// flag is set to "true". // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - UnauthorizedOperation +// Exception raised to indicate a request was not authorized when the DryRun +// flag is set to "true". // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/CreateProgressUpdateStream func (c *MigrationHub) CreateProgressUpdateStream(input *CreateProgressUpdateStreamInput) (*CreateProgressUpdateStreamOutput, error) { @@ -381,14 +381,13 @@ const opDeleteProgressUpdateStream = "DeleteProgressUpdateStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProgressUpdateStreamRequest method. +// req, resp := client.DeleteProgressUpdateStreamRequest(params) // -// // Example sending a request using the DeleteProgressUpdateStreamRequest method. -// req, resp := client.DeleteProgressUpdateStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DeleteProgressUpdateStream func (c *MigrationHub) DeleteProgressUpdateStreamRequest(input *DeleteProgressUpdateStreamInput) (req *request.Request, output *DeleteProgressUpdateStreamOutput) { @@ -414,25 +413,25 @@ func (c *MigrationHub) DeleteProgressUpdateStreamRequest(input *DeleteProgressUp // created as an AWS resource used for access control. This API has the following // traits: // -// * The only parameter needed for DeleteProgressUpdateStream is the stream -// name (same as a CreateProgressUpdateStream call). +// - The only parameter needed for DeleteProgressUpdateStream is the stream +// name (same as a CreateProgressUpdateStream call). // -// * The call will return, and a background process will asynchronously delete -// the stream and all of its resources (tasks, associated resources, resource -// attributes, created artifacts). +// - The call will return, and a background process will asynchronously delete +// the stream and all of its resources (tasks, associated resources, resource +// attributes, created artifacts). // -// * If the stream takes time to be deleted, it might still show up on a -// ListProgressUpdateStreams call. +// - If the stream takes time to be deleted, it might still show up on a +// ListProgressUpdateStreams call. // -// * CreateProgressUpdateStream, ImportMigrationTask, NotifyMigrationTaskState, -// and all Associate[*] APIs related to the tasks belonging to the stream -// will throw "InvalidInputException" if the stream of the same name is in -// the process of being deleted. +// - CreateProgressUpdateStream, ImportMigrationTask, NotifyMigrationTaskState, +// and all Associate[*] APIs related to the tasks belonging to the stream +// will throw "InvalidInputException" if the stream of the same name is in +// the process of being deleted. // -// * Once the stream and all of its resources are deleted, CreateProgressUpdateStream -// for a stream of the same name will succeed, and that stream will be an -// entirely new logical resource (without any resources associated with the -// old stream). +// - Once the stream and all of its resources are deleted, CreateProgressUpdateStream +// for a stream of the same name will succeed, and that stream will be an +// entirely new logical resource (without any resources associated with the +// old stream). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -442,40 +441,41 @@ func (c *MigrationHub) DeleteProgressUpdateStreamRequest(input *DeleteProgressUp // API operation DeleteProgressUpdateStream for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * DryRunOperation -// Exception raised to indicate a successfully authorized action when the DryRun -// flag is set to "true". +// - DryRunOperation +// Exception raised to indicate a successfully authorized action when the DryRun +// flag is set to "true". // -// * UnauthorizedOperation -// Exception raised to indicate a request was not authorized when the DryRun -// flag is set to "true". +// - UnauthorizedOperation +// Exception raised to indicate a request was not authorized when the DryRun +// flag is set to "true". // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * ResourceNotFoundException -// Exception raised when the request references a resource (Application Discovery -// Service configuration, update stream, migration task, etc.) that does not -// exist in Application Discovery Service (Application Discovery Service) or -// in Migration Hub's repository. +// - ResourceNotFoundException +// Exception raised when the request references a resource (Application Discovery +// Service configuration, update stream, migration task, etc.) that does not +// exist in Application Discovery Service (Application Discovery Service) or +// in Migration Hub's repository. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DeleteProgressUpdateStream func (c *MigrationHub) DeleteProgressUpdateStream(input *DeleteProgressUpdateStreamInput) (*DeleteProgressUpdateStreamOutput, error) { @@ -515,14 +515,13 @@ const opDescribeApplicationState = "DescribeApplicationState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApplicationStateRequest method. +// req, resp := client.DescribeApplicationStateRequest(params) // -// // Example sending a request using the DescribeApplicationStateRequest method. -// req, resp := client.DescribeApplicationStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeApplicationState func (c *MigrationHub) DescribeApplicationStateRequest(input *DescribeApplicationStateInput) (req *request.Request, output *DescribeApplicationStateOutput) { @@ -553,37 +552,38 @@ func (c *MigrationHub) DescribeApplicationStateRequest(input *DescribeApplicatio // API operation DescribeApplicationState for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * PolicyErrorException -// Exception raised when there are problems accessing Application Discovery -// Service (Application Discovery Service); most likely due to a misconfigured -// policy or the migrationhub-discovery role is missing or not configured correctly. +// - PolicyErrorException +// Exception raised when there are problems accessing Application Discovery +// Service (Application Discovery Service); most likely due to a misconfigured +// policy or the migrationhub-discovery role is missing or not configured correctly. // -// * ResourceNotFoundException -// Exception raised when the request references a resource (Application Discovery -// Service configuration, update stream, migration task, etc.) that does not -// exist in Application Discovery Service (Application Discovery Service) or -// in Migration Hub's repository. +// - ResourceNotFoundException +// Exception raised when the request references a resource (Application Discovery +// Service configuration, update stream, migration task, etc.) that does not +// exist in Application Discovery Service (Application Discovery Service) or +// in Migration Hub's repository. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeApplicationState func (c *MigrationHub) DescribeApplicationState(input *DescribeApplicationStateInput) (*DescribeApplicationStateOutput, error) { @@ -623,14 +623,13 @@ const opDescribeMigrationTask = "DescribeMigrationTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMigrationTaskRequest method. +// req, resp := client.DescribeMigrationTaskRequest(params) // -// // Example sending a request using the DescribeMigrationTaskRequest method. -// req, resp := client.DescribeMigrationTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeMigrationTask func (c *MigrationHub) DescribeMigrationTaskRequest(input *DescribeMigrationTaskInput) (req *request.Request, output *DescribeMigrationTaskOutput) { @@ -661,32 +660,33 @@ func (c *MigrationHub) DescribeMigrationTaskRequest(input *DescribeMigrationTask // API operation DescribeMigrationTask for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * ResourceNotFoundException -// Exception raised when the request references a resource (Application Discovery -// Service configuration, update stream, migration task, etc.) that does not -// exist in Application Discovery Service (Application Discovery Service) or -// in Migration Hub's repository. +// - ResourceNotFoundException +// Exception raised when the request references a resource (Application Discovery +// Service configuration, update stream, migration task, etc.) that does not +// exist in Application Discovery Service (Application Discovery Service) or +// in Migration Hub's repository. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DescribeMigrationTask func (c *MigrationHub) DescribeMigrationTask(input *DescribeMigrationTaskInput) (*DescribeMigrationTaskOutput, error) { @@ -726,14 +726,13 @@ const opDisassociateCreatedArtifact = "DisassociateCreatedArtifact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateCreatedArtifactRequest method. +// req, resp := client.DisassociateCreatedArtifactRequest(params) // -// // Example sending a request using the DisassociateCreatedArtifactRequest method. -// req, resp := client.DisassociateCreatedArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateCreatedArtifact func (c *MigrationHub) DisassociateCreatedArtifactRequest(input *DisassociateCreatedArtifactInput) (req *request.Request, output *DisassociateCreatedArtifactOutput) { @@ -759,15 +758,15 @@ func (c *MigrationHub) DisassociateCreatedArtifactRequest(input *DisassociateCre // performed by a migration tool that was previously associated. This API has // the following traits: // -// * A migration user can call the DisassociateCreatedArtifacts operation -// to disassociate a created AWS Artifact from a migration task. +// - A migration user can call the DisassociateCreatedArtifacts operation +// to disassociate a created AWS Artifact from a migration task. // -// * The created artifact name must be provided in ARN (Amazon Resource Name) -// format which will contain information about type and region; for example: -// arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b. +// - The created artifact name must be provided in ARN (Amazon Resource Name) +// format which will contain information about type and region; for example: +// arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b. // -// * Examples of the AWS resource behind the created artifact are, AMI's, -// EC2 instance, or RDS instance, etc. +// - Examples of the AWS resource behind the created artifact are, AMI's, +// EC2 instance, or RDS instance, etc. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -777,40 +776,41 @@ func (c *MigrationHub) DisassociateCreatedArtifactRequest(input *DisassociateCre // API operation DisassociateCreatedArtifact for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * DryRunOperation -// Exception raised to indicate a successfully authorized action when the DryRun -// flag is set to "true". +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * UnauthorizedOperation -// Exception raised to indicate a request was not authorized when the DryRun -// flag is set to "true". +// - DryRunOperation +// Exception raised to indicate a successfully authorized action when the DryRun +// flag is set to "true". // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - UnauthorizedOperation +// Exception raised to indicate a request was not authorized when the DryRun +// flag is set to "true". // -// * ResourceNotFoundException -// Exception raised when the request references a resource (Application Discovery -// Service configuration, update stream, migration task, etc.) that does not -// exist in Application Discovery Service (Application Discovery Service) or -// in Migration Hub's repository. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - ResourceNotFoundException +// Exception raised when the request references a resource (Application Discovery +// Service configuration, update stream, migration task, etc.) that does not +// exist in Application Discovery Service (Application Discovery Service) or +// in Migration Hub's repository. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateCreatedArtifact func (c *MigrationHub) DisassociateCreatedArtifact(input *DisassociateCreatedArtifactInput) (*DisassociateCreatedArtifactOutput, error) { @@ -850,14 +850,13 @@ const opDisassociateDiscoveredResource = "DisassociateDiscoveredResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateDiscoveredResourceRequest method. +// req, resp := client.DisassociateDiscoveredResourceRequest(params) // -// // Example sending a request using the DisassociateDiscoveredResourceRequest method. -// req, resp := client.DisassociateDiscoveredResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateDiscoveredResource func (c *MigrationHub) DisassociateDiscoveredResourceRequest(input *DisassociateDiscoveredResourceInput) (req *request.Request, output *DisassociateDiscoveredResourceOutput) { @@ -890,40 +889,41 @@ func (c *MigrationHub) DisassociateDiscoveredResourceRequest(input *Disassociate // API operation DisassociateDiscoveredResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * DryRunOperation -// Exception raised to indicate a successfully authorized action when the DryRun -// flag is set to "true". +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * UnauthorizedOperation -// Exception raised to indicate a request was not authorized when the DryRun -// flag is set to "true". +// - DryRunOperation +// Exception raised to indicate a successfully authorized action when the DryRun +// flag is set to "true". // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - UnauthorizedOperation +// Exception raised to indicate a request was not authorized when the DryRun +// flag is set to "true". // -// * ResourceNotFoundException -// Exception raised when the request references a resource (Application Discovery -// Service configuration, update stream, migration task, etc.) that does not -// exist in Application Discovery Service (Application Discovery Service) or -// in Migration Hub's repository. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - ResourceNotFoundException +// Exception raised when the request references a resource (Application Discovery +// Service configuration, update stream, migration task, etc.) that does not +// exist in Application Discovery Service (Application Discovery Service) or +// in Migration Hub's repository. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateDiscoveredResource func (c *MigrationHub) DisassociateDiscoveredResource(input *DisassociateDiscoveredResourceInput) (*DisassociateDiscoveredResourceOutput, error) { @@ -963,14 +963,13 @@ const opImportMigrationTask = "ImportMigrationTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportMigrationTaskRequest method. +// req, resp := client.ImportMigrationTaskRequest(params) // -// // Example sending a request using the ImportMigrationTaskRequest method. -// req, resp := client.ImportMigrationTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ImportMigrationTask func (c *MigrationHub) ImportMigrationTaskRequest(input *ImportMigrationTaskInput) (req *request.Request, output *ImportMigrationTaskOutput) { @@ -1007,40 +1006,41 @@ func (c *MigrationHub) ImportMigrationTaskRequest(input *ImportMigrationTaskInpu // API operation ImportMigrationTask for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * DryRunOperation -// Exception raised to indicate a successfully authorized action when the DryRun -// flag is set to "true". +// - DryRunOperation +// Exception raised to indicate a successfully authorized action when the DryRun +// flag is set to "true". // -// * UnauthorizedOperation -// Exception raised to indicate a request was not authorized when the DryRun -// flag is set to "true". +// - UnauthorizedOperation +// Exception raised to indicate a request was not authorized when the DryRun +// flag is set to "true". // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * ResourceNotFoundException -// Exception raised when the request references a resource (Application Discovery -// Service configuration, update stream, migration task, etc.) that does not -// exist in Application Discovery Service (Application Discovery Service) or -// in Migration Hub's repository. +// - ResourceNotFoundException +// Exception raised when the request references a resource (Application Discovery +// Service configuration, update stream, migration task, etc.) that does not +// exist in Application Discovery Service (Application Discovery Service) or +// in Migration Hub's repository. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ImportMigrationTask func (c *MigrationHub) ImportMigrationTask(input *ImportMigrationTaskInput) (*ImportMigrationTaskOutput, error) { @@ -1080,14 +1080,13 @@ const opListApplicationStates = "ListApplicationStates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationStatesRequest method. +// req, resp := client.ListApplicationStatesRequest(params) // -// // Example sending a request using the ListApplicationStatesRequest method. -// req, resp := client.ListApplicationStatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListApplicationStates func (c *MigrationHub) ListApplicationStatesRequest(input *ListApplicationStatesInput) (req *request.Request, output *ListApplicationStatesOutput) { @@ -1126,26 +1125,27 @@ func (c *MigrationHub) ListApplicationStatesRequest(input *ListApplicationStates // API operation ListApplicationStates for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListApplicationStates func (c *MigrationHub) ListApplicationStates(input *ListApplicationStatesInput) (*ListApplicationStatesOutput, error) { @@ -1177,15 +1177,14 @@ func (c *MigrationHub) ListApplicationStatesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplicationStates operation. -// pageNum := 0 -// err := client.ListApplicationStatesPages(params, -// func(page *migrationhub.ListApplicationStatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplicationStates operation. +// pageNum := 0 +// err := client.ListApplicationStatesPages(params, +// func(page *migrationhub.ListApplicationStatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHub) ListApplicationStatesPages(input *ListApplicationStatesInput, fn func(*ListApplicationStatesOutput, bool) bool) error { return c.ListApplicationStatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1237,14 +1236,13 @@ const opListCreatedArtifacts = "ListCreatedArtifacts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCreatedArtifactsRequest method. +// req, resp := client.ListCreatedArtifactsRequest(params) // -// // Example sending a request using the ListCreatedArtifactsRequest method. -// req, resp := client.ListCreatedArtifactsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListCreatedArtifacts func (c *MigrationHub) ListCreatedArtifactsRequest(input *ListCreatedArtifactsInput) (req *request.Request, output *ListCreatedArtifactsOutput) { @@ -1274,12 +1272,12 @@ func (c *MigrationHub) ListCreatedArtifactsRequest(input *ListCreatedArtifactsIn // Lists the created artifacts attached to a given migration task in an update // stream. This API has the following traits: // -// * Gets the list of the created artifacts while migration is taking place. +// - Gets the list of the created artifacts while migration is taking place. // -// * Shows the artifacts created by the migration tool that was associated -// by the AssociateCreatedArtifact API. +// - Shows the artifacts created by the migration tool that was associated +// by the AssociateCreatedArtifact API. // -// * Lists created artifacts in a paginated interface. +// - Lists created artifacts in a paginated interface. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1289,32 +1287,33 @@ func (c *MigrationHub) ListCreatedArtifactsRequest(input *ListCreatedArtifactsIn // API operation ListCreatedArtifacts for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * ResourceNotFoundException -// Exception raised when the request references a resource (Application Discovery -// Service configuration, update stream, migration task, etc.) that does not -// exist in Application Discovery Service (Application Discovery Service) or -// in Migration Hub's repository. +// - ResourceNotFoundException +// Exception raised when the request references a resource (Application Discovery +// Service configuration, update stream, migration task, etc.) that does not +// exist in Application Discovery Service (Application Discovery Service) or +// in Migration Hub's repository. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListCreatedArtifacts func (c *MigrationHub) ListCreatedArtifacts(input *ListCreatedArtifactsInput) (*ListCreatedArtifactsOutput, error) { @@ -1346,15 +1345,14 @@ func (c *MigrationHub) ListCreatedArtifactsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCreatedArtifacts operation. -// pageNum := 0 -// err := client.ListCreatedArtifactsPages(params, -// func(page *migrationhub.ListCreatedArtifactsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCreatedArtifacts operation. +// pageNum := 0 +// err := client.ListCreatedArtifactsPages(params, +// func(page *migrationhub.ListCreatedArtifactsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHub) ListCreatedArtifactsPages(input *ListCreatedArtifactsInput, fn func(*ListCreatedArtifactsOutput, bool) bool) error { return c.ListCreatedArtifactsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1406,14 +1404,13 @@ const opListDiscoveredResources = "ListDiscoveredResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDiscoveredResourcesRequest method. +// req, resp := client.ListDiscoveredResourcesRequest(params) // -// // Example sending a request using the ListDiscoveredResourcesRequest method. -// req, resp := client.ListDiscoveredResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListDiscoveredResources func (c *MigrationHub) ListDiscoveredResourcesRequest(input *ListDiscoveredResourcesInput) (req *request.Request, output *ListDiscoveredResourcesOutput) { @@ -1450,32 +1447,33 @@ func (c *MigrationHub) ListDiscoveredResourcesRequest(input *ListDiscoveredResou // API operation ListDiscoveredResources for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * ResourceNotFoundException -// Exception raised when the request references a resource (Application Discovery -// Service configuration, update stream, migration task, etc.) that does not -// exist in Application Discovery Service (Application Discovery Service) or -// in Migration Hub's repository. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - ResourceNotFoundException +// Exception raised when the request references a resource (Application Discovery +// Service configuration, update stream, migration task, etc.) that does not +// exist in Application Discovery Service (Application Discovery Service) or +// in Migration Hub's repository. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListDiscoveredResources func (c *MigrationHub) ListDiscoveredResources(input *ListDiscoveredResourcesInput) (*ListDiscoveredResourcesOutput, error) { @@ -1507,15 +1505,14 @@ func (c *MigrationHub) ListDiscoveredResourcesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDiscoveredResources operation. -// pageNum := 0 -// err := client.ListDiscoveredResourcesPages(params, -// func(page *migrationhub.ListDiscoveredResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDiscoveredResources operation. +// pageNum := 0 +// err := client.ListDiscoveredResourcesPages(params, +// func(page *migrationhub.ListDiscoveredResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHub) ListDiscoveredResourcesPages(input *ListDiscoveredResourcesInput, fn func(*ListDiscoveredResourcesOutput, bool) bool) error { return c.ListDiscoveredResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1567,14 +1564,13 @@ const opListMigrationTasks = "ListMigrationTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMigrationTasksRequest method. +// req, resp := client.ListMigrationTasksRequest(params) // -// // Example sending a request using the ListMigrationTasksRequest method. -// req, resp := client.ListMigrationTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTasks func (c *MigrationHub) ListMigrationTasksRequest(input *ListMigrationTasksInput) (req *request.Request, output *ListMigrationTasksOutput) { @@ -1604,12 +1600,12 @@ func (c *MigrationHub) ListMigrationTasksRequest(input *ListMigrationTasksInput) // Lists all, or filtered by resource name, migration tasks associated with // the user account making this call. This API has the following traits: // -// * Can show a summary list of the most recent migration tasks. +// - Can show a summary list of the most recent migration tasks. // -// * Can show a summary list of migration tasks associated with a given discovered -// resource. +// - Can show a summary list of migration tasks associated with a given discovered +// resource. // -// * Lists migration tasks in a paginated interface. +// - Lists migration tasks in a paginated interface. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1619,37 +1615,38 @@ func (c *MigrationHub) ListMigrationTasksRequest(input *ListMigrationTasksInput) // API operation ListMigrationTasks for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * PolicyErrorException -// Exception raised when there are problems accessing Application Discovery -// Service (Application Discovery Service); most likely due to a misconfigured -// policy or the migrationhub-discovery role is missing or not configured correctly. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * ResourceNotFoundException -// Exception raised when the request references a resource (Application Discovery -// Service configuration, update stream, migration task, etc.) that does not -// exist in Application Discovery Service (Application Discovery Service) or -// in Migration Hub's repository. +// - PolicyErrorException +// Exception raised when there are problems accessing Application Discovery +// Service (Application Discovery Service); most likely due to a misconfigured +// policy or the migrationhub-discovery role is missing or not configured correctly. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - ResourceNotFoundException +// Exception raised when the request references a resource (Application Discovery +// Service configuration, update stream, migration task, etc.) that does not +// exist in Application Discovery Service (Application Discovery Service) or +// in Migration Hub's repository. +// +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListMigrationTasks func (c *MigrationHub) ListMigrationTasks(input *ListMigrationTasksInput) (*ListMigrationTasksOutput, error) { @@ -1681,15 +1678,14 @@ func (c *MigrationHub) ListMigrationTasksWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMigrationTasks operation. -// pageNum := 0 -// err := client.ListMigrationTasksPages(params, -// func(page *migrationhub.ListMigrationTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMigrationTasks operation. +// pageNum := 0 +// err := client.ListMigrationTasksPages(params, +// func(page *migrationhub.ListMigrationTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHub) ListMigrationTasksPages(input *ListMigrationTasksInput, fn func(*ListMigrationTasksOutput, bool) bool) error { return c.ListMigrationTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1741,14 +1737,13 @@ const opListProgressUpdateStreams = "ListProgressUpdateStreams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProgressUpdateStreamsRequest method. +// req, resp := client.ListProgressUpdateStreamsRequest(params) // -// // Example sending a request using the ListProgressUpdateStreamsRequest method. -// req, resp := client.ListProgressUpdateStreamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListProgressUpdateStreams func (c *MigrationHub) ListProgressUpdateStreamsRequest(input *ListProgressUpdateStreamsInput) (req *request.Request, output *ListProgressUpdateStreamsOutput) { @@ -1786,26 +1781,27 @@ func (c *MigrationHub) ListProgressUpdateStreamsRequest(input *ListProgressUpdat // API operation ListProgressUpdateStreams for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/ListProgressUpdateStreams func (c *MigrationHub) ListProgressUpdateStreams(input *ListProgressUpdateStreamsInput) (*ListProgressUpdateStreamsOutput, error) { @@ -1837,15 +1833,14 @@ func (c *MigrationHub) ListProgressUpdateStreamsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProgressUpdateStreams operation. -// pageNum := 0 -// err := client.ListProgressUpdateStreamsPages(params, -// func(page *migrationhub.ListProgressUpdateStreamsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProgressUpdateStreams operation. +// pageNum := 0 +// err := client.ListProgressUpdateStreamsPages(params, +// func(page *migrationhub.ListProgressUpdateStreamsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHub) ListProgressUpdateStreamsPages(input *ListProgressUpdateStreamsInput, fn func(*ListProgressUpdateStreamsOutput, bool) bool) error { return c.ListProgressUpdateStreamsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1897,14 +1892,13 @@ const opNotifyApplicationState = "NotifyApplicationState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the NotifyApplicationStateRequest method. +// req, resp := client.NotifyApplicationStateRequest(params) // -// // Example sending a request using the NotifyApplicationStateRequest method. -// req, resp := client.NotifyApplicationStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyApplicationState func (c *MigrationHub) NotifyApplicationStateRequest(input *NotifyApplicationStateInput) (req *request.Request, output *NotifyApplicationStateOutput) { @@ -1938,45 +1932,46 @@ func (c *MigrationHub) NotifyApplicationStateRequest(input *NotifyApplicationSta // API operation NotifyApplicationState for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * DryRunOperation -// Exception raised to indicate a successfully authorized action when the DryRun -// flag is set to "true". +// - DryRunOperation +// Exception raised to indicate a successfully authorized action when the DryRun +// flag is set to "true". // -// * UnauthorizedOperation -// Exception raised to indicate a request was not authorized when the DryRun -// flag is set to "true". +// - UnauthorizedOperation +// Exception raised to indicate a request was not authorized when the DryRun +// flag is set to "true". // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * PolicyErrorException -// Exception raised when there are problems accessing Application Discovery -// Service (Application Discovery Service); most likely due to a misconfigured -// policy or the migrationhub-discovery role is missing or not configured correctly. +// - PolicyErrorException +// Exception raised when there are problems accessing Application Discovery +// Service (Application Discovery Service); most likely due to a misconfigured +// policy or the migrationhub-discovery role is missing or not configured correctly. // -// * ResourceNotFoundException -// Exception raised when the request references a resource (Application Discovery -// Service configuration, update stream, migration task, etc.) that does not -// exist in Application Discovery Service (Application Discovery Service) or -// in Migration Hub's repository. +// - ResourceNotFoundException +// Exception raised when the request references a resource (Application Discovery +// Service configuration, update stream, migration task, etc.) that does not +// exist in Application Discovery Service (Application Discovery Service) or +// in Migration Hub's repository. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyApplicationState func (c *MigrationHub) NotifyApplicationState(input *NotifyApplicationStateInput) (*NotifyApplicationStateOutput, error) { @@ -2016,14 +2011,13 @@ const opNotifyMigrationTaskState = "NotifyMigrationTaskState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the NotifyMigrationTaskStateRequest method. +// req, resp := client.NotifyMigrationTaskStateRequest(params) // -// // Example sending a request using the NotifyMigrationTaskStateRequest method. -// req, resp := client.NotifyMigrationTaskStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyMigrationTaskState func (c *MigrationHub) NotifyMigrationTaskStateRequest(input *NotifyMigrationTaskStateInput) (req *request.Request, output *NotifyMigrationTaskStateOutput) { @@ -2048,13 +2042,13 @@ func (c *MigrationHub) NotifyMigrationTaskStateRequest(input *NotifyMigrationTas // Notifies Migration Hub of the current status, progress, or other detail regarding // a migration task. This API has the following traits: // -// * Migration tools will call the NotifyMigrationTaskState API to share -// the latest progress and status. +// - Migration tools will call the NotifyMigrationTaskState API to share +// the latest progress and status. // -// * MigrationTaskName is used for addressing updates to the correct target. +// - MigrationTaskName is used for addressing updates to the correct target. // -// * ProgressUpdateStream is used for access control and to provide a namespace -// for each migration tool. +// - ProgressUpdateStream is used for access control and to provide a namespace +// for each migration tool. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2064,40 +2058,41 @@ func (c *MigrationHub) NotifyMigrationTaskStateRequest(input *NotifyMigrationTas // API operation NotifyMigrationTaskState for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * DryRunOperation -// Exception raised to indicate a successfully authorized action when the DryRun -// flag is set to "true". +// - DryRunOperation +// Exception raised to indicate a successfully authorized action when the DryRun +// flag is set to "true". // -// * UnauthorizedOperation -// Exception raised to indicate a request was not authorized when the DryRun -// flag is set to "true". +// - UnauthorizedOperation +// Exception raised to indicate a request was not authorized when the DryRun +// flag is set to "true". // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * ResourceNotFoundException -// Exception raised when the request references a resource (Application Discovery -// Service configuration, update stream, migration task, etc.) that does not -// exist in Application Discovery Service (Application Discovery Service) or -// in Migration Hub's repository. +// - ResourceNotFoundException +// Exception raised when the request references a resource (Application Discovery +// Service configuration, update stream, migration task, etc.) that does not +// exist in Application Discovery Service (Application Discovery Service) or +// in Migration Hub's repository. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/NotifyMigrationTaskState func (c *MigrationHub) NotifyMigrationTaskState(input *NotifyMigrationTaskStateInput) (*NotifyMigrationTaskStateOutput, error) { @@ -2137,14 +2132,13 @@ const opPutResourceAttributes = "PutResourceAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutResourceAttributesRequest method. +// req, resp := client.PutResourceAttributesRequest(params) // -// // Example sending a request using the PutResourceAttributesRequest method. -// req, resp := client.PutResourceAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PutResourceAttributes func (c *MigrationHub) PutResourceAttributesRequest(input *PutResourceAttributesInput) (req *request.Request, output *PutResourceAttributesOutput) { @@ -2170,15 +2164,15 @@ func (c *MigrationHub) PutResourceAttributesRequest(input *PutResourceAttributes // be associated in the Application Discovery Service repository. This association // occurs asynchronously after PutResourceAttributes returns. // -// * Keep in mind that subsequent calls to PutResourceAttributes will override -// previously stored attributes. For example, if it is first called with -// a MAC address, but later, it is desired to add an IP address, it will -// then be required to call it with both the IP and MAC addresses to prevent -// overriding the MAC address. +// - Keep in mind that subsequent calls to PutResourceAttributes will override +// previously stored attributes. For example, if it is first called with +// a MAC address, but later, it is desired to add an IP address, it will +// then be required to call it with both the IP and MAC addresses to prevent +// overriding the MAC address. // -// * Note the instructions regarding the special use case of the ResourceAttributeList -// (https://docs.aws.amazon.com/migrationhub/latest/ug/API_PutResourceAttributes.html#migrationhub-PutResourceAttributes-request-ResourceAttributeList) -// parameter when specifying any "VM" related value. +// - Note the instructions regarding the special use case of the ResourceAttributeList +// (https://docs.aws.amazon.com/migrationhub/latest/ug/API_PutResourceAttributes.html#migrationhub-PutResourceAttributes-request-ResourceAttributeList) +// parameter when specifying any "VM" related value. // // Because this is an asynchronous call, it will always return 200, whether // an association occurs or not. To confirm if an association was found based @@ -2192,40 +2186,41 @@ func (c *MigrationHub) PutResourceAttributesRequest(input *PutResourceAttributes // API operation PutResourceAttributes for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. // -// * ServiceUnavailableException -// Exception raised when there is an internal, configuration, or dependency -// error encountered. +// - ServiceUnavailableException +// Exception raised when there is an internal, configuration, or dependency +// error encountered. // -// * DryRunOperation -// Exception raised to indicate a successfully authorized action when the DryRun -// flag is set to "true". +// - DryRunOperation +// Exception raised to indicate a successfully authorized action when the DryRun +// flag is set to "true". // -// * UnauthorizedOperation -// Exception raised to indicate a request was not authorized when the DryRun -// flag is set to "true". +// - UnauthorizedOperation +// Exception raised to indicate a request was not authorized when the DryRun +// flag is set to "true". // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // -// * ResourceNotFoundException -// Exception raised when the request references a resource (Application Discovery -// Service configuration, update stream, migration task, etc.) that does not -// exist in Application Discovery Service (Application Discovery Service) or -// in Migration Hub's repository. +// - ResourceNotFoundException +// Exception raised when the request references a resource (Application Discovery +// Service configuration, update stream, migration task, etc.) that does not +// exist in Application Discovery Service (Application Discovery Service) or +// in Migration Hub's repository. // -// * HomeRegionNotSetException -// The home region is not set. Set the home region to continue. +// - HomeRegionNotSetException +// The home region is not set. Set the home region to continue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/PutResourceAttributes func (c *MigrationHub) PutResourceAttributes(input *PutResourceAttributesInput) (*PutResourceAttributesOutput, error) { @@ -4896,13 +4891,13 @@ func (s PutResourceAttributesOutput) GoString() string { // // Note the corresponding format required per type listed below: // -// IPV4 +// # IPV4 // // x.x.x.x // // where x is an integer in the range [0,255] // -// IPV6 +// # IPV6 // // y : y : y : y : y : y : y : y // @@ -4912,7 +4907,7 @@ func (s PutResourceAttributesOutput) GoString() string { // // ^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$ // -// FQDN +// # FQDN // // ^[^<>{}\\\\/?,=\\p{Cntrl}]{1,256}$ type ResourceAttribute struct { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/doc.go index b8b38dacd012..3b6c5acbe274 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/doc.go @@ -16,7 +16,7 @@ // See migrationhub package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/migrationhub/ // -// Using the Client +// # Using the Client // // To contact AWS Migration Hub with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/migrationhubiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/migrationhubiface/interface.go index 05d17c038f7b..63a74f7427ff 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/migrationhubiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/migrationhubiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Migration Hub. -// func myFunc(svc migrationhubiface.MigrationHubAPI) bool { -// // Make svc.AssociateCreatedArtifact request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Migration Hub. +// func myFunc(svc migrationhubiface.MigrationHubAPI) bool { +// // Make svc.AssociateCreatedArtifact request +// } // -// func main() { -// sess := session.New() -// svc := migrationhub.New(sess) +// func main() { +// sess := session.New() +// svc := migrationhub.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMigrationHubClient struct { -// migrationhubiface.MigrationHubAPI -// } -// func (m *mockMigrationHubClient) AssociateCreatedArtifact(input *migrationhub.AssociateCreatedArtifactInput) (*migrationhub.AssociateCreatedArtifactOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMigrationHubClient struct { +// migrationhubiface.MigrationHubAPI +// } +// func (m *mockMigrationHubClient) AssociateCreatedArtifact(input *migrationhub.AssociateCreatedArtifactInput) (*migrationhub.AssociateCreatedArtifactOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMigrationHubClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMigrationHubClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/service.go index 9f564f22e4fb..051b4c5e9127 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhub/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MigrationHub client from just a session. -// svc := migrationhub.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MigrationHub client with additional configuration -// svc := migrationhub.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MigrationHub client from just a session. +// svc := migrationhub.New(mySession) +// +// // Create a MigrationHub client with additional configuration +// svc := migrationhub.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MigrationHub { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/api.go index 4e1c4b093cd1..d0a511fccd5e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/api.go @@ -28,14 +28,13 @@ const opCreateHomeRegionControl = "CreateHomeRegionControl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHomeRegionControlRequest method. +// req, resp := client.CreateHomeRegionControlRequest(params) // -// // Example sending a request using the CreateHomeRegionControlRequest method. -// req, resp := client.CreateHomeRegionControlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhub-config-2019-06-30/CreateHomeRegionControl func (c *MigrationHubConfig) CreateHomeRegionControlRequest(input *CreateHomeRegionControlInput) (req *request.Request, output *CreateHomeRegionControlOutput) { @@ -66,27 +65,28 @@ func (c *MigrationHubConfig) CreateHomeRegionControlRequest(input *CreateHomeReg // API operation CreateHomeRegionControl for usage and error information. // // Returned Error Types: -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. // -// * ServiceUnavailableException -// Exception raised when a request fails due to temporary unavailability of -// the service. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. +// +// - ServiceUnavailableException +// Exception raised when a request fails due to temporary unavailability of +// the service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * DryRunOperation -// Exception raised to indicate that authorization of an action was successful, -// when the DryRun flag is set to true. +// - DryRunOperation +// Exception raised to indicate that authorization of an action was successful, +// when the DryRun flag is set to true. // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhub-config-2019-06-30/CreateHomeRegionControl func (c *MigrationHubConfig) CreateHomeRegionControl(input *CreateHomeRegionControlInput) (*CreateHomeRegionControlOutput, error) { @@ -126,14 +126,13 @@ const opDescribeHomeRegionControls = "DescribeHomeRegionControls" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHomeRegionControlsRequest method. +// req, resp := client.DescribeHomeRegionControlsRequest(params) // -// // Example sending a request using the DescribeHomeRegionControlsRequest method. -// req, resp := client.DescribeHomeRegionControlsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhub-config-2019-06-30/DescribeHomeRegionControls func (c *MigrationHubConfig) DescribeHomeRegionControlsRequest(input *DescribeHomeRegionControlsInput) (req *request.Request, output *DescribeHomeRegionControlsOutput) { @@ -170,23 +169,24 @@ func (c *MigrationHubConfig) DescribeHomeRegionControlsRequest(input *DescribeHo // API operation DescribeHomeRegionControls for usage and error information. // // Returned Error Types: -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. // -// * ServiceUnavailableException -// Exception raised when a request fails due to temporary unavailability of -// the service. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. +// +// - ServiceUnavailableException +// Exception raised when a request fails due to temporary unavailability of +// the service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhub-config-2019-06-30/DescribeHomeRegionControls func (c *MigrationHubConfig) DescribeHomeRegionControls(input *DescribeHomeRegionControlsInput) (*DescribeHomeRegionControlsOutput, error) { @@ -218,15 +218,14 @@ func (c *MigrationHubConfig) DescribeHomeRegionControlsWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeHomeRegionControls operation. -// pageNum := 0 -// err := client.DescribeHomeRegionControlsPages(params, -// func(page *migrationhubconfig.DescribeHomeRegionControlsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeHomeRegionControls operation. +// pageNum := 0 +// err := client.DescribeHomeRegionControlsPages(params, +// func(page *migrationhubconfig.DescribeHomeRegionControlsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHubConfig) DescribeHomeRegionControlsPages(input *DescribeHomeRegionControlsInput, fn func(*DescribeHomeRegionControlsOutput, bool) bool) error { return c.DescribeHomeRegionControlsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -278,14 +277,13 @@ const opGetHomeRegion = "GetHomeRegion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetHomeRegionRequest method. +// req, resp := client.GetHomeRegionRequest(params) // -// // Example sending a request using the GetHomeRegionRequest method. -// req, resp := client.GetHomeRegionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhub-config-2019-06-30/GetHomeRegion func (c *MigrationHubConfig) GetHomeRegionRequest(input *GetHomeRegionInput) (req *request.Request, output *GetHomeRegionOutput) { @@ -320,23 +318,24 @@ func (c *MigrationHubConfig) GetHomeRegionRequest(input *GetHomeRegionInput) (re // API operation GetHomeRegion for usage and error information. // // Returned Error Types: -// * InternalServerError -// Exception raised when an internal, configuration, or dependency error is -// encountered. // -// * ServiceUnavailableException -// Exception raised when a request fails due to temporary unavailability of -// the service. +// - InternalServerError +// Exception raised when an internal, configuration, or dependency error is +// encountered. +// +// - ServiceUnavailableException +// Exception raised when a request fails due to temporary unavailability of +// the service. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InvalidInputException -// Exception raised when the provided input violates a policy constraint or -// is entered in the wrong format or data type. +// - InvalidInputException +// Exception raised when the provided input violates a policy constraint or +// is entered in the wrong format or data type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhub-config-2019-06-30/GetHomeRegion func (c *MigrationHubConfig) GetHomeRegion(input *GetHomeRegionInput) (*GetHomeRegionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/doc.go index 4aa51c8ad2a6..d9c8c0a979f6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/doc.go @@ -8,18 +8,18 @@ // a home region, as well as to create and work with controls that describe // the home region. // -// * You must make API calls for write actions (create, notify, associate, -// disassociate, import, or put) while in your home region, or a HomeRegionNotSetException -// error is returned. +// - You must make API calls for write actions (create, notify, associate, +// disassociate, import, or put) while in your home region, or a HomeRegionNotSetException +// error is returned. // -// * API calls for read actions (list, describe, stop, and delete) are permitted -// outside of your home region. +// - API calls for read actions (list, describe, stop, and delete) are permitted +// outside of your home region. // -// * If you call a write API outside the home region, an InvalidInputException -// is returned. +// - If you call a write API outside the home region, an InvalidInputException +// is returned. // -// * You can call GetHomeRegion action to obtain the account's Migration -// Hub home region. +// - You can call GetHomeRegion action to obtain the account's Migration +// Hub home region. // // For specific API usage, see the sections that follow in this AWS Migration // Hub Home Region API reference. @@ -29,7 +29,7 @@ // See migrationhubconfig package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/migrationhubconfig/ // -// Using the Client +// # Using the Client // // To contact AWS Migration Hub Config with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/migrationhubconfigiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/migrationhubconfigiface/interface.go index c42d3ca53fd1..dbbad567d42a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/migrationhubconfigiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/migrationhubconfigiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Migration Hub Config. -// func myFunc(svc migrationhubconfigiface.MigrationHubConfigAPI) bool { -// // Make svc.CreateHomeRegionControl request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Migration Hub Config. +// func myFunc(svc migrationhubconfigiface.MigrationHubConfigAPI) bool { +// // Make svc.CreateHomeRegionControl request +// } // -// func main() { -// sess := session.New() -// svc := migrationhubconfig.New(sess) +// func main() { +// sess := session.New() +// svc := migrationhubconfig.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMigrationHubConfigClient struct { -// migrationhubconfigiface.MigrationHubConfigAPI -// } -// func (m *mockMigrationHubConfigClient) CreateHomeRegionControl(input *migrationhubconfig.CreateHomeRegionControlInput) (*migrationhubconfig.CreateHomeRegionControlOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMigrationHubConfigClient struct { +// migrationhubconfigiface.MigrationHubConfigAPI +// } +// func (m *mockMigrationHubConfigClient) CreateHomeRegionControl(input *migrationhubconfig.CreateHomeRegionControlInput) (*migrationhubconfig.CreateHomeRegionControlOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMigrationHubConfigClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMigrationHubConfigClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/service.go index e9a85375d633..757673106a78 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubconfig/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MigrationHubConfig client from just a session. -// svc := migrationhubconfig.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MigrationHubConfig client with additional configuration -// svc := migrationhubconfig.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MigrationHubConfig client from just a session. +// svc := migrationhubconfig.New(mySession) +// +// // Create a MigrationHubConfig client with additional configuration +// svc := migrationhubconfig.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MigrationHubConfig { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/api.go index 8d98a560407a..0d7c5e2cf572 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/api.go @@ -29,14 +29,13 @@ const opCreateApplication = "CreateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationRequest method. +// req, resp := client.CreateApplicationRequest(params) // -// // Example sending a request using the CreateApplicationRequest method. -// req, resp := client.CreateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/CreateApplication func (c *MigrationHubRefactorSpaces) CreateApplicationRequest(input *CreateApplicationInput) (req *request.Request, output *CreateApplicationOutput) { @@ -71,26 +70,27 @@ func (c *MigrationHubRefactorSpaces) CreateApplicationRequest(input *CreateAppli // API operation CreateApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ThrottlingException +// Request was denied because the request was throttled. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/CreateApplication func (c *MigrationHubRefactorSpaces) CreateApplication(input *CreateApplicationInput) (*CreateApplicationOutput, error) { @@ -130,14 +130,13 @@ const opCreateEnvironment = "CreateEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEnvironmentRequest method. +// req, resp := client.CreateEnvironmentRequest(params) // -// // Example sending a request using the CreateEnvironmentRequest method. -// req, resp := client.CreateEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/CreateEnvironment func (c *MigrationHubRefactorSpaces) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req *request.Request, output *CreateEnvironmentOutput) { @@ -174,26 +173,27 @@ func (c *MigrationHubRefactorSpaces) CreateEnvironmentRequest(input *CreateEnvir // API operation CreateEnvironment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ThrottlingException +// Request was denied because the request was throttled. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/CreateEnvironment func (c *MigrationHubRefactorSpaces) CreateEnvironment(input *CreateEnvironmentInput) (*CreateEnvironmentOutput, error) { @@ -233,14 +233,13 @@ const opCreateRoute = "CreateRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRouteRequest method. +// req, resp := client.CreateRouteRequest(params) // -// // Example sending a request using the CreateRouteRequest method. -// req, resp := client.CreateRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/CreateRoute func (c *MigrationHubRefactorSpaces) CreateRouteRequest(input *CreateRouteInput) (req *request.Request, output *CreateRouteOutput) { @@ -270,15 +269,15 @@ func (c *MigrationHubRefactorSpaces) CreateRouteRequest(input *CreateRouteInput) // When you create a route, Refactor Spaces configures the Amazon API Gateway // to send traffic to the target service as follows: // -// * If the service has a URL endpoint, and the endpoint resolves to a private -// IP address, Refactor Spaces routes traffic using the API Gateway VPC link. +// - If the service has a URL endpoint, and the endpoint resolves to a private +// IP address, Refactor Spaces routes traffic using the API Gateway VPC link. // -// * If the service has a URL endpoint, and the endpoint resolves to a public -// IP address, Refactor Spaces routes traffic over the public internet. +// - If the service has a URL endpoint, and the endpoint resolves to a public +// IP address, Refactor Spaces routes traffic over the public internet. // -// * If the service has an Lambda function endpoint, then Refactor Spaces -// configures the Lambda function's resource policy to allow the application's -// API Gateway to invoke the function. +// - If the service has an Lambda function endpoint, then Refactor Spaces +// configures the Lambda function's resource policy to allow the application's +// API Gateway to invoke the function. // // A one-time health check is performed on the service when the route is created. // If the health check fails, the route transitions to FAILED, and no traffic @@ -314,26 +313,27 @@ func (c *MigrationHubRefactorSpaces) CreateRouteRequest(input *CreateRouteInput) // API operation CreateRoute for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ThrottlingException +// Request was denied because the request was throttled. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/CreateRoute func (c *MigrationHubRefactorSpaces) CreateRoute(input *CreateRouteInput) (*CreateRouteOutput, error) { @@ -373,14 +373,13 @@ const opCreateService = "CreateService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateServiceRequest method. +// req, resp := client.CreateServiceRequest(params) // -// // Example sending a request using the CreateServiceRequest method. -// req, resp := client.CreateServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/CreateService func (c *MigrationHubRefactorSpaces) CreateServiceRequest(input *CreateServiceInput) (req *request.Request, output *CreateServiceOutput) { @@ -419,26 +418,27 @@ func (c *MigrationHubRefactorSpaces) CreateServiceRequest(input *CreateServiceIn // API operation CreateService for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - ThrottlingException +// Request was denied because the request was throttled. +// +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/CreateService func (c *MigrationHubRefactorSpaces) CreateService(input *CreateServiceInput) (*CreateServiceOutput, error) { @@ -478,14 +478,13 @@ const opDeleteApplication = "DeleteApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationRequest method. +// req, resp := client.DeleteApplicationRequest(params) // -// // Example sending a request using the DeleteApplicationRequest method. -// req, resp := client.DeleteApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/DeleteApplication func (c *MigrationHubRefactorSpaces) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) { @@ -518,23 +517,24 @@ func (c *MigrationHubRefactorSpaces) DeleteApplicationRequest(input *DeleteAppli // API operation DeleteApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ThrottlingException +// Request was denied because the request was throttled. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/DeleteApplication func (c *MigrationHubRefactorSpaces) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) { @@ -574,14 +574,13 @@ const opDeleteEnvironment = "DeleteEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEnvironmentRequest method. +// req, resp := client.DeleteEnvironmentRequest(params) // -// // Example sending a request using the DeleteEnvironmentRequest method. -// req, resp := client.DeleteEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/DeleteEnvironment func (c *MigrationHubRefactorSpaces) DeleteEnvironmentRequest(input *DeleteEnvironmentInput) (req *request.Request, output *DeleteEnvironmentOutput) { @@ -614,23 +613,24 @@ func (c *MigrationHubRefactorSpaces) DeleteEnvironmentRequest(input *DeleteEnvir // API operation DeleteEnvironment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ThrottlingException +// Request was denied because the request was throttled. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/DeleteEnvironment func (c *MigrationHubRefactorSpaces) DeleteEnvironment(input *DeleteEnvironmentInput) (*DeleteEnvironmentOutput, error) { @@ -670,14 +670,13 @@ const opDeleteResourcePolicy = "DeleteResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourcePolicyRequest method. +// req, resp := client.DeleteResourcePolicyRequest(params) // -// // Example sending a request using the DeleteResourcePolicyRequest method. -// req, resp := client.DeleteResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/DeleteResourcePolicy func (c *MigrationHubRefactorSpaces) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { @@ -709,20 +708,21 @@ func (c *MigrationHubRefactorSpaces) DeleteResourcePolicyRequest(input *DeleteRe // API operation DeleteResourcePolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - ThrottlingException +// Request was denied because the request was throttled. +// +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/DeleteResourcePolicy func (c *MigrationHubRefactorSpaces) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { @@ -762,14 +762,13 @@ const opDeleteRoute = "DeleteRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRouteRequest method. +// req, resp := client.DeleteRouteRequest(params) // -// // Example sending a request using the DeleteRouteRequest method. -// req, resp := client.DeleteRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/DeleteRoute func (c *MigrationHubRefactorSpaces) DeleteRouteRequest(input *DeleteRouteInput) (req *request.Request, output *DeleteRouteOutput) { @@ -800,23 +799,24 @@ func (c *MigrationHubRefactorSpaces) DeleteRouteRequest(input *DeleteRouteInput) // API operation DeleteRoute for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - ThrottlingException +// Request was denied because the request was throttled. +// +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/DeleteRoute func (c *MigrationHubRefactorSpaces) DeleteRoute(input *DeleteRouteInput) (*DeleteRouteOutput, error) { @@ -856,14 +856,13 @@ const opDeleteService = "DeleteService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServiceRequest method. +// req, resp := client.DeleteServiceRequest(params) // -// // Example sending a request using the DeleteServiceRequest method. -// req, resp := client.DeleteServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/DeleteService func (c *MigrationHubRefactorSpaces) DeleteServiceRequest(input *DeleteServiceInput) (req *request.Request, output *DeleteServiceOutput) { @@ -894,23 +893,24 @@ func (c *MigrationHubRefactorSpaces) DeleteServiceRequest(input *DeleteServiceIn // API operation DeleteService for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - ThrottlingException +// Request was denied because the request was throttled. +// +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/DeleteService func (c *MigrationHubRefactorSpaces) DeleteService(input *DeleteServiceInput) (*DeleteServiceOutput, error) { @@ -950,14 +950,13 @@ const opGetApplication = "GetApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApplicationRequest method. +// req, resp := client.GetApplicationRequest(params) // -// // Example sending a request using the GetApplicationRequest method. -// req, resp := client.GetApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/GetApplication func (c *MigrationHubRefactorSpaces) GetApplicationRequest(input *GetApplicationInput) (req *request.Request, output *GetApplicationOutput) { @@ -988,20 +987,21 @@ func (c *MigrationHubRefactorSpaces) GetApplicationRequest(input *GetApplication // API operation GetApplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ThrottlingException +// Request was denied because the request was throttled. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/GetApplication func (c *MigrationHubRefactorSpaces) GetApplication(input *GetApplicationInput) (*GetApplicationOutput, error) { @@ -1041,14 +1041,13 @@ const opGetEnvironment = "GetEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEnvironmentRequest method. +// req, resp := client.GetEnvironmentRequest(params) // -// // Example sending a request using the GetEnvironmentRequest method. -// req, resp := client.GetEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/GetEnvironment func (c *MigrationHubRefactorSpaces) GetEnvironmentRequest(input *GetEnvironmentInput) (req *request.Request, output *GetEnvironmentOutput) { @@ -1079,20 +1078,21 @@ func (c *MigrationHubRefactorSpaces) GetEnvironmentRequest(input *GetEnvironment // API operation GetEnvironment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ThrottlingException +// Request was denied because the request was throttled. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/GetEnvironment func (c *MigrationHubRefactorSpaces) GetEnvironment(input *GetEnvironmentInput) (*GetEnvironmentOutput, error) { @@ -1132,14 +1132,13 @@ const opGetResourcePolicy = "GetResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourcePolicyRequest method. +// req, resp := client.GetResourcePolicyRequest(params) // -// // Example sending a request using the GetResourcePolicyRequest method. -// req, resp := client.GetResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/GetResourcePolicy func (c *MigrationHubRefactorSpaces) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput) { @@ -1170,20 +1169,21 @@ func (c *MigrationHubRefactorSpaces) GetResourcePolicyRequest(input *GetResource // API operation GetResourcePolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - ThrottlingException +// Request was denied because the request was throttled. +// +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/GetResourcePolicy func (c *MigrationHubRefactorSpaces) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error) { @@ -1223,14 +1223,13 @@ const opGetRoute = "GetRoute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRouteRequest method. +// req, resp := client.GetRouteRequest(params) // -// // Example sending a request using the GetRouteRequest method. -// req, resp := client.GetRouteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/GetRoute func (c *MigrationHubRefactorSpaces) GetRouteRequest(input *GetRouteInput) (req *request.Request, output *GetRouteOutput) { @@ -1261,20 +1260,21 @@ func (c *MigrationHubRefactorSpaces) GetRouteRequest(input *GetRouteInput) (req // API operation GetRoute for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ThrottlingException +// Request was denied because the request was throttled. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/GetRoute func (c *MigrationHubRefactorSpaces) GetRoute(input *GetRouteInput) (*GetRouteOutput, error) { @@ -1314,14 +1314,13 @@ const opGetService = "GetService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceRequest method. +// req, resp := client.GetServiceRequest(params) // -// // Example sending a request using the GetServiceRequest method. -// req, resp := client.GetServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/GetService func (c *MigrationHubRefactorSpaces) GetServiceRequest(input *GetServiceInput) (req *request.Request, output *GetServiceOutput) { @@ -1352,20 +1351,21 @@ func (c *MigrationHubRefactorSpaces) GetServiceRequest(input *GetServiceInput) ( // API operation GetService for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ThrottlingException +// Request was denied because the request was throttled. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/GetService func (c *MigrationHubRefactorSpaces) GetService(input *GetServiceInput) (*GetServiceOutput, error) { @@ -1405,14 +1405,13 @@ const opListApplications = "ListApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationsRequest method. +// req, resp := client.ListApplicationsRequest(params) // -// // Example sending a request using the ListApplicationsRequest method. -// req, resp := client.ListApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/ListApplications func (c *MigrationHubRefactorSpaces) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput) { @@ -1450,26 +1449,27 @@ func (c *MigrationHubRefactorSpaces) ListApplicationsRequest(input *ListApplicat // API operation ListApplications for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ThrottlingException +// Request was denied because the request was throttled. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/ListApplications func (c *MigrationHubRefactorSpaces) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error) { @@ -1501,15 +1501,14 @@ func (c *MigrationHubRefactorSpaces) ListApplicationsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplications operation. -// pageNum := 0 -// err := client.ListApplicationsPages(params, -// func(page *migrationhubrefactorspaces.ListApplicationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplications operation. +// pageNum := 0 +// err := client.ListApplicationsPages(params, +// func(page *migrationhubrefactorspaces.ListApplicationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHubRefactorSpaces) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error { return c.ListApplicationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1561,14 +1560,13 @@ const opListEnvironmentVpcs = "ListEnvironmentVpcs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEnvironmentVpcsRequest method. +// req, resp := client.ListEnvironmentVpcsRequest(params) // -// // Example sending a request using the ListEnvironmentVpcsRequest method. -// req, resp := client.ListEnvironmentVpcsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/ListEnvironmentVpcs func (c *MigrationHubRefactorSpaces) ListEnvironmentVpcsRequest(input *ListEnvironmentVpcsInput) (req *request.Request, output *ListEnvironmentVpcsOutput) { @@ -1606,20 +1604,21 @@ func (c *MigrationHubRefactorSpaces) ListEnvironmentVpcsRequest(input *ListEnvir // API operation ListEnvironmentVpcs for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ThrottlingException +// Request was denied because the request was throttled. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/ListEnvironmentVpcs func (c *MigrationHubRefactorSpaces) ListEnvironmentVpcs(input *ListEnvironmentVpcsInput) (*ListEnvironmentVpcsOutput, error) { @@ -1651,15 +1650,14 @@ func (c *MigrationHubRefactorSpaces) ListEnvironmentVpcsWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEnvironmentVpcs operation. -// pageNum := 0 -// err := client.ListEnvironmentVpcsPages(params, -// func(page *migrationhubrefactorspaces.ListEnvironmentVpcsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEnvironmentVpcs operation. +// pageNum := 0 +// err := client.ListEnvironmentVpcsPages(params, +// func(page *migrationhubrefactorspaces.ListEnvironmentVpcsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHubRefactorSpaces) ListEnvironmentVpcsPages(input *ListEnvironmentVpcsInput, fn func(*ListEnvironmentVpcsOutput, bool) bool) error { return c.ListEnvironmentVpcsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1711,14 +1709,13 @@ const opListEnvironments = "ListEnvironments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEnvironmentsRequest method. +// req, resp := client.ListEnvironmentsRequest(params) // -// // Example sending a request using the ListEnvironmentsRequest method. -// req, resp := client.ListEnvironmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/ListEnvironments func (c *MigrationHubRefactorSpaces) ListEnvironmentsRequest(input *ListEnvironmentsInput) (req *request.Request, output *ListEnvironmentsOutput) { @@ -1756,20 +1753,21 @@ func (c *MigrationHubRefactorSpaces) ListEnvironmentsRequest(input *ListEnvironm // API operation ListEnvironments for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ThrottlingException +// Request was denied because the request was throttled. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/ListEnvironments func (c *MigrationHubRefactorSpaces) ListEnvironments(input *ListEnvironmentsInput) (*ListEnvironmentsOutput, error) { @@ -1801,15 +1799,14 @@ func (c *MigrationHubRefactorSpaces) ListEnvironmentsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEnvironments operation. -// pageNum := 0 -// err := client.ListEnvironmentsPages(params, -// func(page *migrationhubrefactorspaces.ListEnvironmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEnvironments operation. +// pageNum := 0 +// err := client.ListEnvironmentsPages(params, +// func(page *migrationhubrefactorspaces.ListEnvironmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHubRefactorSpaces) ListEnvironmentsPages(input *ListEnvironmentsInput, fn func(*ListEnvironmentsOutput, bool) bool) error { return c.ListEnvironmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1861,14 +1858,13 @@ const opListRoutes = "ListRoutes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRoutesRequest method. +// req, resp := client.ListRoutesRequest(params) // -// // Example sending a request using the ListRoutesRequest method. -// req, resp := client.ListRoutesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/ListRoutes func (c *MigrationHubRefactorSpaces) ListRoutesRequest(input *ListRoutesInput) (req *request.Request, output *ListRoutesOutput) { @@ -1906,26 +1902,27 @@ func (c *MigrationHubRefactorSpaces) ListRoutesRequest(input *ListRoutesInput) ( // API operation ListRoutes for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ThrottlingException +// Request was denied because the request was throttled. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/ListRoutes func (c *MigrationHubRefactorSpaces) ListRoutes(input *ListRoutesInput) (*ListRoutesOutput, error) { @@ -1957,15 +1954,14 @@ func (c *MigrationHubRefactorSpaces) ListRoutesWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRoutes operation. -// pageNum := 0 -// err := client.ListRoutesPages(params, -// func(page *migrationhubrefactorspaces.ListRoutesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRoutes operation. +// pageNum := 0 +// err := client.ListRoutesPages(params, +// func(page *migrationhubrefactorspaces.ListRoutesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHubRefactorSpaces) ListRoutesPages(input *ListRoutesInput, fn func(*ListRoutesOutput, bool) bool) error { return c.ListRoutesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2017,14 +2013,13 @@ const opListServices = "ListServices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServicesRequest method. +// req, resp := client.ListServicesRequest(params) // -// // Example sending a request using the ListServicesRequest method. -// req, resp := client.ListServicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/ListServices func (c *MigrationHubRefactorSpaces) ListServicesRequest(input *ListServicesInput) (req *request.Request, output *ListServicesOutput) { @@ -2062,26 +2057,27 @@ func (c *MigrationHubRefactorSpaces) ListServicesRequest(input *ListServicesInpu // API operation ListServices for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ThrottlingException +// Request was denied because the request was throttled. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/ListServices func (c *MigrationHubRefactorSpaces) ListServices(input *ListServicesInput) (*ListServicesOutput, error) { @@ -2113,15 +2109,14 @@ func (c *MigrationHubRefactorSpaces) ListServicesWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServices operation. -// pageNum := 0 -// err := client.ListServicesPages(params, -// func(page *migrationhubrefactorspaces.ListServicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServices operation. +// pageNum := 0 +// err := client.ListServicesPages(params, +// func(page *migrationhubrefactorspaces.ListServicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHubRefactorSpaces) ListServicesPages(input *ListServicesInput, fn func(*ListServicesOutput, bool) bool) error { return c.ListServicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2173,14 +2168,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/ListTagsForResource func (c *MigrationHubRefactorSpaces) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2212,14 +2206,15 @@ func (c *MigrationHubRefactorSpaces) ListTagsForResourceRequest(input *ListTagsF // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/ListTagsForResource func (c *MigrationHubRefactorSpaces) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2259,14 +2254,13 @@ const opPutResourcePolicy = "PutResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutResourcePolicyRequest method. +// req, resp := client.PutResourcePolicyRequest(params) // -// // Example sending a request using the PutResourcePolicyRequest method. -// req, resp := client.PutResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/PutResourcePolicy func (c *MigrationHubRefactorSpaces) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { @@ -2302,23 +2296,24 @@ func (c *MigrationHubRefactorSpaces) PutResourcePolicyRequest(input *PutResource // API operation PutResourcePolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * InvalidResourcePolicyException -// The resource policy is not valid. +// - InvalidResourcePolicyException +// The resource policy is not valid. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // -// * ThrottlingException -// Request was denied because the request was throttled. +// - ThrottlingException +// Request was denied because the request was throttled. // -// * AccessDeniedException -// The user does not have sufficient access to perform this action. +// - AccessDeniedException +// The user does not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/PutResourcePolicy func (c *MigrationHubRefactorSpaces) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { @@ -2358,14 +2353,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/TagResource func (c *MigrationHubRefactorSpaces) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2403,14 +2397,15 @@ func (c *MigrationHubRefactorSpaces) TagResourceRequest(input *TagResourceInput) // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - InternalServerException +// An unexpected error occurred while processing the request. +// +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/TagResource func (c *MigrationHubRefactorSpaces) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2450,14 +2445,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/UntagResource func (c *MigrationHubRefactorSpaces) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2492,14 +2486,15 @@ func (c *MigrationHubRefactorSpaces) UntagResourceRequest(input *UntagResourceIn // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The request references a resource that does not exist. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ResourceNotFoundException +// The request references a resource that does not exist. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ValidationException -// The input does not satisfy the constraints specified by an Amazon Web Service. +// - ValidationException +// The input does not satisfy the constraints specified by an Amazon Web Service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26/UntagResource func (c *MigrationHubRefactorSpaces) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/doc.go index 9a2db7e474f0..d499fef4f938 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/doc.go @@ -3,25 +3,24 @@ // Package migrationhubrefactorspaces provides the client and types for making API // requests to AWS Migration Hub Refactor Spaces. // -// -//

This API reference provides descriptions, syntax, and other details -// about each of the actions and data types for Amazon Web Services Migration -// Hub Refactor Spaces (Refactor Spaces). The topic for each action shows -// the API request parameters and the response. Alternatively, you can use -// one of the Amazon Web Services SDKs to access an API that is tailored -// to the programming language or platform that you're using. For more information, -// see Amazon Web Services SDKs.

-//

To share Refactor Spaces environments with other Amazon Web Services -// accounts or with Organizations and their OUs, use Resource Access Manager's -// CreateResourceShare API. See CreateResourceShare -// in the Amazon Web Services RAM API Reference.

+//

This API reference provides descriptions, syntax, and other details +// about each of the actions and data types for Amazon Web Services Migration +// Hub Refactor Spaces (Refactor Spaces). The topic for each action shows +// the API request parameters and the response. Alternatively, you can use +// one of the Amazon Web Services SDKs to access an API that is tailored +// to the programming language or platform that you're using. For more information, +// see Amazon Web Services SDKs.

+//

To share Refactor Spaces environments with other Amazon Web Services +// accounts or with Organizations and their OUs, use Resource Access Manager's +// CreateResourceShare API. See CreateResourceShare +// in the Amazon Web Services RAM API Reference.

// // See https://docs.aws.amazon.com/goto/WebAPI/migration-hub-refactor-spaces-2021-10-26 for more information on this service. // // See migrationhubrefactorspaces package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/migrationhubrefactorspaces/ // -// Using the Client +// # Using the Client // // To contact AWS Migration Hub Refactor Spaces with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/migrationhubrefactorspacesiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/migrationhubrefactorspacesiface/interface.go index 2fe0fa78cd5f..777a8a85458c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/migrationhubrefactorspacesiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/migrationhubrefactorspacesiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Migration Hub Refactor Spaces. -// func myFunc(svc migrationhubrefactorspacesiface.MigrationHubRefactorSpacesAPI) bool { -// // Make svc.CreateApplication request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Migration Hub Refactor Spaces. +// func myFunc(svc migrationhubrefactorspacesiface.MigrationHubRefactorSpacesAPI) bool { +// // Make svc.CreateApplication request +// } // -// func main() { -// sess := session.New() -// svc := migrationhubrefactorspaces.New(sess) +// func main() { +// sess := session.New() +// svc := migrationhubrefactorspaces.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMigrationHubRefactorSpacesClient struct { -// migrationhubrefactorspacesiface.MigrationHubRefactorSpacesAPI -// } -// func (m *mockMigrationHubRefactorSpacesClient) CreateApplication(input *migrationhubrefactorspaces.CreateApplicationInput) (*migrationhubrefactorspaces.CreateApplicationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMigrationHubRefactorSpacesClient struct { +// migrationhubrefactorspacesiface.MigrationHubRefactorSpacesAPI +// } +// func (m *mockMigrationHubRefactorSpacesClient) CreateApplication(input *migrationhubrefactorspaces.CreateApplicationInput) (*migrationhubrefactorspaces.CreateApplicationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMigrationHubRefactorSpacesClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMigrationHubRefactorSpacesClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/service.go index 079c25728a1c..3bdb39ca891d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubrefactorspaces/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MigrationHubRefactorSpaces client from just a session. -// svc := migrationhubrefactorspaces.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MigrationHubRefactorSpaces client with additional configuration -// svc := migrationhubrefactorspaces.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MigrationHubRefactorSpaces client from just a session. +// svc := migrationhubrefactorspaces.New(mySession) +// +// // Create a MigrationHubRefactorSpaces client with additional configuration +// svc := migrationhubrefactorspaces.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MigrationHubRefactorSpaces { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/api.go index 30c94159006d..2ed88fe156e2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/api.go @@ -29,14 +29,13 @@ const opGetApplicationComponentDetails = "GetApplicationComponentDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApplicationComponentDetailsRequest method. +// req, resp := client.GetApplicationComponentDetailsRequest(params) // -// // Example sending a request using the GetApplicationComponentDetailsRequest method. -// req, resp := client.GetApplicationComponentDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetApplicationComponentDetails func (c *MigrationHubStrategyRecommendations) GetApplicationComponentDetailsRequest(input *GetApplicationComponentDetailsInput) (req *request.Request, output *GetApplicationComponentDetailsOutput) { @@ -67,14 +66,15 @@ func (c *MigrationHubStrategyRecommendations) GetApplicationComponentDetailsRequ // API operation GetApplicationComponentDetails for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ID in the request is not found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The specified ID in the request is not found. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetApplicationComponentDetails func (c *MigrationHubStrategyRecommendations) GetApplicationComponentDetails(input *GetApplicationComponentDetailsInput) (*GetApplicationComponentDetailsOutput, error) { @@ -114,14 +114,13 @@ const opGetApplicationComponentStrategies = "GetApplicationComponentStrategies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApplicationComponentStrategiesRequest method. +// req, resp := client.GetApplicationComponentStrategiesRequest(params) // -// // Example sending a request using the GetApplicationComponentStrategiesRequest method. -// req, resp := client.GetApplicationComponentStrategiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetApplicationComponentStrategies func (c *MigrationHubStrategyRecommendations) GetApplicationComponentStrategiesRequest(input *GetApplicationComponentStrategiesInput) (req *request.Request, output *GetApplicationComponentStrategiesOutput) { @@ -153,14 +152,15 @@ func (c *MigrationHubStrategyRecommendations) GetApplicationComponentStrategiesR // API operation GetApplicationComponentStrategies for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ID in the request is not found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The specified ID in the request is not found. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetApplicationComponentStrategies func (c *MigrationHubStrategyRecommendations) GetApplicationComponentStrategies(input *GetApplicationComponentStrategiesInput) (*GetApplicationComponentStrategiesOutput, error) { @@ -200,14 +200,13 @@ const opGetAssessment = "GetAssessment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssessmentRequest method. +// req, resp := client.GetAssessmentRequest(params) // -// // Example sending a request using the GetAssessmentRequest method. -// req, resp := client.GetAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetAssessment func (c *MigrationHubStrategyRecommendations) GetAssessmentRequest(input *GetAssessmentInput) (req *request.Request, output *GetAssessmentOutput) { @@ -238,19 +237,20 @@ func (c *MigrationHubStrategyRecommendations) GetAssessmentRequest(input *GetAss // API operation GetAssessment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ID in the request is not found. // -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. +// - ResourceNotFoundException +// The specified ID in the request is not found. +// +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetAssessment func (c *MigrationHubStrategyRecommendations) GetAssessment(input *GetAssessmentInput) (*GetAssessmentOutput, error) { @@ -290,14 +290,13 @@ const opGetImportFileTask = "GetImportFileTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetImportFileTaskRequest method. +// req, resp := client.GetImportFileTaskRequest(params) // -// // Example sending a request using the GetImportFileTaskRequest method. -// req, resp := client.GetImportFileTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetImportFileTask func (c *MigrationHubStrategyRecommendations) GetImportFileTaskRequest(input *GetImportFileTaskInput) (req *request.Request, output *GetImportFileTaskOutput) { @@ -328,22 +327,23 @@ func (c *MigrationHubStrategyRecommendations) GetImportFileTaskRequest(input *Ge // API operation GetImportFileTask for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ID in the request is not found. // -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. +// - ResourceNotFoundException +// The specified ID in the request is not found. +// +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The request body isn't valid. +// - ValidationException +// The request body isn't valid. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetImportFileTask func (c *MigrationHubStrategyRecommendations) GetImportFileTask(input *GetImportFileTaskInput) (*GetImportFileTaskOutput, error) { @@ -383,14 +383,13 @@ const opGetPortfolioPreferences = "GetPortfolioPreferences" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPortfolioPreferencesRequest method. +// req, resp := client.GetPortfolioPreferencesRequest(params) // -// // Example sending a request using the GetPortfolioPreferencesRequest method. -// req, resp := client.GetPortfolioPreferencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetPortfolioPreferences func (c *MigrationHubStrategyRecommendations) GetPortfolioPreferencesRequest(input *GetPortfolioPreferencesInput) (req *request.Request, output *GetPortfolioPreferencesOutput) { @@ -421,19 +420,20 @@ func (c *MigrationHubStrategyRecommendations) GetPortfolioPreferencesRequest(inp // API operation GetPortfolioPreferences for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ID in the request is not found. // -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. +// - ResourceNotFoundException +// The specified ID in the request is not found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetPortfolioPreferences func (c *MigrationHubStrategyRecommendations) GetPortfolioPreferences(input *GetPortfolioPreferencesInput) (*GetPortfolioPreferencesOutput, error) { @@ -473,14 +473,13 @@ const opGetPortfolioSummary = "GetPortfolioSummary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPortfolioSummaryRequest method. +// req, resp := client.GetPortfolioSummaryRequest(params) // -// // Example sending a request using the GetPortfolioSummaryRequest method. -// req, resp := client.GetPortfolioSummaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetPortfolioSummary func (c *MigrationHubStrategyRecommendations) GetPortfolioSummaryRequest(input *GetPortfolioSummaryInput) (req *request.Request, output *GetPortfolioSummaryOutput) { @@ -512,16 +511,17 @@ func (c *MigrationHubStrategyRecommendations) GetPortfolioSummaryRequest(input * // API operation GetPortfolioSummary for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetPortfolioSummary func (c *MigrationHubStrategyRecommendations) GetPortfolioSummary(input *GetPortfolioSummaryInput) (*GetPortfolioSummaryOutput, error) { @@ -561,14 +561,13 @@ const opGetRecommendationReportDetails = "GetRecommendationReportDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRecommendationReportDetailsRequest method. +// req, resp := client.GetRecommendationReportDetailsRequest(params) // -// // Example sending a request using the GetRecommendationReportDetailsRequest method. -// req, resp := client.GetRecommendationReportDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetRecommendationReportDetails func (c *MigrationHubStrategyRecommendations) GetRecommendationReportDetailsRequest(input *GetRecommendationReportDetailsInput) (req *request.Request, output *GetRecommendationReportDetailsOutput) { @@ -599,22 +598,23 @@ func (c *MigrationHubStrategyRecommendations) GetRecommendationReportDetailsRequ // API operation GetRecommendationReportDetails for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ID in the request is not found. // -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. +// - ResourceNotFoundException +// The specified ID in the request is not found. +// +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The request body isn't valid. +// - ValidationException +// The request body isn't valid. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetRecommendationReportDetails func (c *MigrationHubStrategyRecommendations) GetRecommendationReportDetails(input *GetRecommendationReportDetailsInput) (*GetRecommendationReportDetailsOutput, error) { @@ -654,14 +654,13 @@ const opGetServerDetails = "GetServerDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServerDetailsRequest method. +// req, resp := client.GetServerDetailsRequest(params) // -// // Example sending a request using the GetServerDetailsRequest method. -// req, resp := client.GetServerDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetServerDetails func (c *MigrationHubStrategyRecommendations) GetServerDetailsRequest(input *GetServerDetailsInput) (req *request.Request, output *GetServerDetailsOutput) { @@ -698,22 +697,23 @@ func (c *MigrationHubStrategyRecommendations) GetServerDetailsRequest(input *Get // API operation GetServerDetails for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ID in the request is not found. // -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. +// - ResourceNotFoundException +// The specified ID in the request is not found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. // -// * ValidationException -// The request body isn't valid. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - ValidationException +// The request body isn't valid. +// +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetServerDetails func (c *MigrationHubStrategyRecommendations) GetServerDetails(input *GetServerDetailsInput) (*GetServerDetailsOutput, error) { @@ -745,15 +745,14 @@ func (c *MigrationHubStrategyRecommendations) GetServerDetailsWithContext(ctx aw // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetServerDetails operation. -// pageNum := 0 -// err := client.GetServerDetailsPages(params, -// func(page *migrationhubstrategyrecommendations.GetServerDetailsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetServerDetails operation. +// pageNum := 0 +// err := client.GetServerDetailsPages(params, +// func(page *migrationhubstrategyrecommendations.GetServerDetailsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHubStrategyRecommendations) GetServerDetailsPages(input *GetServerDetailsInput, fn func(*GetServerDetailsOutput, bool) bool) error { return c.GetServerDetailsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -805,14 +804,13 @@ const opGetServerStrategies = "GetServerStrategies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServerStrategiesRequest method. +// req, resp := client.GetServerStrategiesRequest(params) // -// // Example sending a request using the GetServerStrategiesRequest method. -// req, resp := client.GetServerStrategiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetServerStrategies func (c *MigrationHubStrategyRecommendations) GetServerStrategiesRequest(input *GetServerStrategiesInput) (req *request.Request, output *GetServerStrategiesOutput) { @@ -843,22 +841,23 @@ func (c *MigrationHubStrategyRecommendations) GetServerStrategiesRequest(input * // API operation GetServerStrategies for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ID in the request is not found. // -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. +// - ResourceNotFoundException +// The specified ID in the request is not found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. // -// * ValidationException -// The request body isn't valid. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - ValidationException +// The request body isn't valid. +// +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/GetServerStrategies func (c *MigrationHubStrategyRecommendations) GetServerStrategies(input *GetServerStrategiesInput) (*GetServerStrategiesOutput, error) { @@ -898,14 +897,13 @@ const opListApplicationComponents = "ListApplicationComponents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationComponentsRequest method. +// req, resp := client.ListApplicationComponentsRequest(params) // -// // Example sending a request using the ListApplicationComponentsRequest method. -// req, resp := client.ListApplicationComponentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListApplicationComponents func (c *MigrationHubStrategyRecommendations) ListApplicationComponentsRequest(input *ListApplicationComponentsInput) (req *request.Request, output *ListApplicationComponentsOutput) { @@ -942,19 +940,20 @@ func (c *MigrationHubStrategyRecommendations) ListApplicationComponentsRequest(i // API operation ListApplicationComponents for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. // -// * ServiceLinkedRoleLockClientException -// Exception to indicate that the service-linked role (SLR) is locked. +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// - ServiceLinkedRoleLockClientException +// Exception to indicate that the service-linked role (SLR) is locked. // -// * ValidationException -// The request body isn't valid. +// - ValidationException +// The request body isn't valid. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListApplicationComponents func (c *MigrationHubStrategyRecommendations) ListApplicationComponents(input *ListApplicationComponentsInput) (*ListApplicationComponentsOutput, error) { @@ -986,15 +985,14 @@ func (c *MigrationHubStrategyRecommendations) ListApplicationComponentsWithConte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplicationComponents operation. -// pageNum := 0 -// err := client.ListApplicationComponentsPages(params, -// func(page *migrationhubstrategyrecommendations.ListApplicationComponentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplicationComponents operation. +// pageNum := 0 +// err := client.ListApplicationComponentsPages(params, +// func(page *migrationhubstrategyrecommendations.ListApplicationComponentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHubStrategyRecommendations) ListApplicationComponentsPages(input *ListApplicationComponentsInput, fn func(*ListApplicationComponentsOutput, bool) bool) error { return c.ListApplicationComponentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1046,14 +1044,13 @@ const opListCollectors = "ListCollectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCollectorsRequest method. +// req, resp := client.ListCollectorsRequest(params) // -// // Example sending a request using the ListCollectorsRequest method. -// req, resp := client.ListCollectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListCollectors func (c *MigrationHubStrategyRecommendations) ListCollectorsRequest(input *ListCollectorsInput) (req *request.Request, output *ListCollectorsOutput) { @@ -1090,19 +1087,20 @@ func (c *MigrationHubStrategyRecommendations) ListCollectorsRequest(input *ListC // API operation ListCollectors for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. // -// * ValidationException -// The request body isn't valid. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - ValidationException +// The request body isn't valid. +// +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListCollectors func (c *MigrationHubStrategyRecommendations) ListCollectors(input *ListCollectorsInput) (*ListCollectorsOutput, error) { @@ -1134,15 +1132,14 @@ func (c *MigrationHubStrategyRecommendations) ListCollectorsWithContext(ctx aws. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCollectors operation. -// pageNum := 0 -// err := client.ListCollectorsPages(params, -// func(page *migrationhubstrategyrecommendations.ListCollectorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCollectors operation. +// pageNum := 0 +// err := client.ListCollectorsPages(params, +// func(page *migrationhubstrategyrecommendations.ListCollectorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHubStrategyRecommendations) ListCollectorsPages(input *ListCollectorsInput, fn func(*ListCollectorsOutput, bool) bool) error { return c.ListCollectorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1194,14 +1191,13 @@ const opListImportFileTask = "ListImportFileTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListImportFileTaskRequest method. +// req, resp := client.ListImportFileTaskRequest(params) // -// // Example sending a request using the ListImportFileTaskRequest method. -// req, resp := client.ListImportFileTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListImportFileTask func (c *MigrationHubStrategyRecommendations) ListImportFileTaskRequest(input *ListImportFileTaskInput) (req *request.Request, output *ListImportFileTaskOutput) { @@ -1238,19 +1234,20 @@ func (c *MigrationHubStrategyRecommendations) ListImportFileTaskRequest(input *L // API operation ListImportFileTask for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. // -// * ValidationException -// The request body isn't valid. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - ValidationException +// The request body isn't valid. +// +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListImportFileTask func (c *MigrationHubStrategyRecommendations) ListImportFileTask(input *ListImportFileTaskInput) (*ListImportFileTaskOutput, error) { @@ -1282,15 +1279,14 @@ func (c *MigrationHubStrategyRecommendations) ListImportFileTaskWithContext(ctx // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListImportFileTask operation. -// pageNum := 0 -// err := client.ListImportFileTaskPages(params, -// func(page *migrationhubstrategyrecommendations.ListImportFileTaskOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListImportFileTask operation. +// pageNum := 0 +// err := client.ListImportFileTaskPages(params, +// func(page *migrationhubstrategyrecommendations.ListImportFileTaskOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHubStrategyRecommendations) ListImportFileTaskPages(input *ListImportFileTaskInput, fn func(*ListImportFileTaskOutput, bool) bool) error { return c.ListImportFileTaskPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1342,14 +1338,13 @@ const opListServers = "ListServers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServersRequest method. +// req, resp := client.ListServersRequest(params) // -// // Example sending a request using the ListServersRequest method. -// req, resp := client.ListServersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListServers func (c *MigrationHubStrategyRecommendations) ListServersRequest(input *ListServersInput) (req *request.Request, output *ListServersOutput) { @@ -1386,19 +1381,20 @@ func (c *MigrationHubStrategyRecommendations) ListServersRequest(input *ListServ // API operation ListServers for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. // -// * ValidationException -// The request body isn't valid. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - ValidationException +// The request body isn't valid. +// +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/ListServers func (c *MigrationHubStrategyRecommendations) ListServers(input *ListServersInput) (*ListServersOutput, error) { @@ -1430,15 +1426,14 @@ func (c *MigrationHubStrategyRecommendations) ListServersWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServers operation. -// pageNum := 0 -// err := client.ListServersPages(params, -// func(page *migrationhubstrategyrecommendations.ListServersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServers operation. +// pageNum := 0 +// err := client.ListServersPages(params, +// func(page *migrationhubstrategyrecommendations.ListServersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MigrationHubStrategyRecommendations) ListServersPages(input *ListServersInput, fn func(*ListServersOutput, bool) bool) error { return c.ListServersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1490,14 +1485,13 @@ const opPutPortfolioPreferences = "PutPortfolioPreferences" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPortfolioPreferencesRequest method. +// req, resp := client.PutPortfolioPreferencesRequest(params) // -// // Example sending a request using the PutPortfolioPreferencesRequest method. -// req, resp := client.PutPortfolioPreferencesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/PutPortfolioPreferences func (c *MigrationHubStrategyRecommendations) PutPortfolioPreferencesRequest(input *PutPortfolioPreferencesInput) (req *request.Request, output *PutPortfolioPreferencesOutput) { @@ -1529,23 +1523,24 @@ func (c *MigrationHubStrategyRecommendations) PutPortfolioPreferencesRequest(inp // API operation PutPortfolioPreferences for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. // -// * ValidationException -// The request body isn't valid. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// Exception to indicate that there is an ongoing task when a new task is created. -// Return when once the existing tasks are complete. +// - ValidationException +// The request body isn't valid. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - ConflictException +// Exception to indicate that there is an ongoing task when a new task is created. +// Return when once the existing tasks are complete. +// +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/PutPortfolioPreferences func (c *MigrationHubStrategyRecommendations) PutPortfolioPreferences(input *PutPortfolioPreferencesInput) (*PutPortfolioPreferencesOutput, error) { @@ -1585,14 +1580,13 @@ const opStartAssessment = "StartAssessment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartAssessmentRequest method. +// req, resp := client.StartAssessmentRequest(params) // -// // Example sending a request using the StartAssessmentRequest method. -// req, resp := client.StartAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartAssessment func (c *MigrationHubStrategyRecommendations) StartAssessmentRequest(input *StartAssessmentInput) (req *request.Request, output *StartAssessmentOutput) { @@ -1623,20 +1617,21 @@ func (c *MigrationHubStrategyRecommendations) StartAssessmentRequest(input *Star // API operation StartAssessment for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. // -// * ServiceQuotaExceededException -// The AWS account has reached its quota of imports. Contact AWS Support to -// increase the quota for this account. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - ServiceQuotaExceededException +// The AWS account has reached its quota of imports. Contact AWS Support to +// increase the quota for this account. +// +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartAssessment func (c *MigrationHubStrategyRecommendations) StartAssessment(input *StartAssessmentInput) (*StartAssessmentOutput, error) { @@ -1676,14 +1671,13 @@ const opStartImportFileTask = "StartImportFileTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartImportFileTaskRequest method. +// req, resp := client.StartImportFileTaskRequest(params) // -// // Example sending a request using the StartImportFileTaskRequest method. -// req, resp := client.StartImportFileTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartImportFileTask func (c *MigrationHubStrategyRecommendations) StartImportFileTaskRequest(input *StartImportFileTaskInput) (req *request.Request, output *StartImportFileTaskOutput) { @@ -1714,23 +1708,24 @@ func (c *MigrationHubStrategyRecommendations) StartImportFileTaskRequest(input * // API operation StartImportFileTask for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * ServiceQuotaExceededException -// The AWS account has reached its quota of imports. Contact AWS Support to -// increase the quota for this account. +// - ServiceQuotaExceededException +// The AWS account has reached its quota of imports. Contact AWS Support to +// increase the quota for this account. // -// * ValidationException -// The request body isn't valid. +// - ValidationException +// The request body isn't valid. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartImportFileTask func (c *MigrationHubStrategyRecommendations) StartImportFileTask(input *StartImportFileTaskInput) (*StartImportFileTaskOutput, error) { @@ -1770,14 +1765,13 @@ const opStartRecommendationReportGeneration = "StartRecommendationReportGenerati // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartRecommendationReportGenerationRequest method. +// req, resp := client.StartRecommendationReportGenerationRequest(params) // -// // Example sending a request using the StartRecommendationReportGenerationRequest method. -// req, resp := client.StartRecommendationReportGenerationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartRecommendationReportGeneration func (c *MigrationHubStrategyRecommendations) StartRecommendationReportGenerationRequest(input *StartRecommendationReportGenerationInput) (req *request.Request, output *StartRecommendationReportGenerationOutput) { @@ -1808,23 +1802,24 @@ func (c *MigrationHubStrategyRecommendations) StartRecommendationReportGeneratio // API operation StartRecommendationReportGeneration for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The request body isn't valid. +// - ValidationException +// The request body isn't valid. // -// * ConflictException -// Exception to indicate that there is an ongoing task when a new task is created. -// Return when once the existing tasks are complete. +// - ConflictException +// Exception to indicate that there is an ongoing task when a new task is created. +// Return when once the existing tasks are complete. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StartRecommendationReportGeneration func (c *MigrationHubStrategyRecommendations) StartRecommendationReportGeneration(input *StartRecommendationReportGenerationInput) (*StartRecommendationReportGenerationOutput, error) { @@ -1864,14 +1859,13 @@ const opStopAssessment = "StopAssessment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopAssessmentRequest method. +// req, resp := client.StopAssessmentRequest(params) // -// // Example sending a request using the StopAssessmentRequest method. -// req, resp := client.StopAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StopAssessment func (c *MigrationHubStrategyRecommendations) StopAssessmentRequest(input *StopAssessmentInput) (req *request.Request, output *StopAssessmentOutput) { @@ -1903,19 +1897,20 @@ func (c *MigrationHubStrategyRecommendations) StopAssessmentRequest(input *StopA // API operation StopAssessment for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The AWS user account does not have permission to perform the action. Check -// the AWS Identity and Access Management (IAM) policy associated with this -// account. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// The AWS user account does not have permission to perform the action. Check +// the AWS Identity and Access Management (IAM) policy associated with this +// account. // -// * ValidationException -// The request body isn't valid. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - ValidationException +// The request body isn't valid. +// +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/StopAssessment func (c *MigrationHubStrategyRecommendations) StopAssessment(input *StopAssessmentInput) (*StopAssessmentOutput, error) { @@ -1955,14 +1950,13 @@ const opUpdateApplicationComponentConfig = "UpdateApplicationComponentConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationComponentConfigRequest method. +// req, resp := client.UpdateApplicationComponentConfigRequest(params) // -// // Example sending a request using the UpdateApplicationComponentConfigRequest method. -// req, resp := client.UpdateApplicationComponentConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/UpdateApplicationComponentConfig func (c *MigrationHubStrategyRecommendations) UpdateApplicationComponentConfigRequest(input *UpdateApplicationComponentConfigInput) (req *request.Request, output *UpdateApplicationComponentConfigOutput) { @@ -1994,17 +1988,18 @@ func (c *MigrationHubStrategyRecommendations) UpdateApplicationComponentConfigRe // API operation UpdateApplicationComponentConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ID in the request is not found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The specified ID in the request is not found. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The request body isn't valid. +// - ValidationException +// The request body isn't valid. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/UpdateApplicationComponentConfig func (c *MigrationHubStrategyRecommendations) UpdateApplicationComponentConfig(input *UpdateApplicationComponentConfigInput) (*UpdateApplicationComponentConfigOutput, error) { @@ -2044,14 +2039,13 @@ const opUpdateServerConfig = "UpdateServerConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServerConfigRequest method. +// req, resp := client.UpdateServerConfigRequest(params) // -// // Example sending a request using the UpdateServerConfigRequest method. -// req, resp := client.UpdateServerConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/UpdateServerConfig func (c *MigrationHubStrategyRecommendations) UpdateServerConfigRequest(input *UpdateServerConfigInput) (req *request.Request, output *UpdateServerConfigOutput) { @@ -2083,17 +2077,18 @@ func (c *MigrationHubStrategyRecommendations) UpdateServerConfigRequest(input *U // API operation UpdateServerConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified ID in the request is not found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The specified ID in the request is not found. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The request body isn't valid. +// - ValidationException +// The request body isn't valid. // -// * InternalServerException -// The server experienced an internal error. Try again. +// - InternalServerException +// The server experienced an internal error. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19/UpdateServerConfig func (c *MigrationHubStrategyRecommendations) UpdateServerConfig(input *UpdateServerConfigInput) (*UpdateServerConfigOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/doc.go index 5ecafbae4ec2..566362f39e9d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/doc.go @@ -3,21 +3,20 @@ // Package migrationhubstrategyrecommendations provides the client and types for making API // requests to Migration Hub Strategy Recommendations. // -// -//

This API reference provides descriptions, syntax, and other details -// about each of the actions and data types for Migration Hub Strategy Recommendations -// (Strategy Recommendations). The topic for each action shows the API request -// parameters and the response. Alternatively, you can use one of the AWS -// SDKs to access an API that is tailored to the programming language or -// platform that you're using. For more information, see AWS -// SDKs.

+//

This API reference provides descriptions, syntax, and other details +// about each of the actions and data types for Migration Hub Strategy Recommendations +// (Strategy Recommendations). The topic for each action shows the API request +// parameters and the response. Alternatively, you can use one of the AWS +// SDKs to access an API that is tailored to the programming language or +// platform that you're using. For more information, see AWS +// SDKs.

// // See https://docs.aws.amazon.com/goto/WebAPI/migrationhubstrategy-2020-02-19 for more information on this service. // // See migrationhubstrategyrecommendations package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/migrationhubstrategyrecommendations/ // -// Using the Client +// # Using the Client // // To contact Migration Hub Strategy Recommendations with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/migrationhubstrategyrecommendationsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/migrationhubstrategyrecommendationsiface/interface.go index 5771b9952107..82922115ce7f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/migrationhubstrategyrecommendationsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/migrationhubstrategyrecommendationsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Migration Hub Strategy Recommendations. -// func myFunc(svc migrationhubstrategyrecommendationsiface.MigrationHubStrategyRecommendationsAPI) bool { -// // Make svc.GetApplicationComponentDetails request -// } +// // myFunc uses an SDK service client to make a request to +// // Migration Hub Strategy Recommendations. +// func myFunc(svc migrationhubstrategyrecommendationsiface.MigrationHubStrategyRecommendationsAPI) bool { +// // Make svc.GetApplicationComponentDetails request +// } // -// func main() { -// sess := session.New() -// svc := migrationhubstrategyrecommendations.New(sess) +// func main() { +// sess := session.New() +// svc := migrationhubstrategyrecommendations.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMigrationHubStrategyRecommendationsClient struct { -// migrationhubstrategyrecommendationsiface.MigrationHubStrategyRecommendationsAPI -// } -// func (m *mockMigrationHubStrategyRecommendationsClient) GetApplicationComponentDetails(input *migrationhubstrategyrecommendations.GetApplicationComponentDetailsInput) (*migrationhubstrategyrecommendations.GetApplicationComponentDetailsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMigrationHubStrategyRecommendationsClient struct { +// migrationhubstrategyrecommendationsiface.MigrationHubStrategyRecommendationsAPI +// } +// func (m *mockMigrationHubStrategyRecommendationsClient) GetApplicationComponentDetails(input *migrationhubstrategyrecommendations.GetApplicationComponentDetailsInput) (*migrationhubstrategyrecommendations.GetApplicationComponentDetailsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMigrationHubStrategyRecommendationsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMigrationHubStrategyRecommendationsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/service.go index b4dd57f8ca78..227e705f66ed 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/migrationhubstrategyrecommendations/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MigrationHubStrategyRecommendations client from just a session. -// svc := migrationhubstrategyrecommendations.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MigrationHubStrategyRecommendations client with additional configuration -// svc := migrationhubstrategyrecommendations.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MigrationHubStrategyRecommendations client from just a session. +// svc := migrationhubstrategyrecommendations.New(mySession) +// +// // Create a MigrationHubStrategyRecommendations client with additional configuration +// svc := migrationhubstrategyrecommendations.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MigrationHubStrategyRecommendations { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/api.go index f2174b04c928..35660e2571e0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/api.go @@ -28,14 +28,13 @@ const opCreateProject = "CreateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProjectRequest method. +// req, resp := client.CreateProjectRequest(params) // -// // Example sending a request using the CreateProjectRequest method. -// req, resp := client.CreateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/CreateProject func (c *Mobile) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) { @@ -66,33 +65,34 @@ func (c *Mobile) CreateProjectRequest(input *CreateProjectInput) (req *request.R // API operation CreateProject for usage and error information. // // Returned Error Types: -// * InternalFailureException -// The service has encountered an unexpected error condition which prevents -// it from servicing the request. // -// * ServiceUnavailableException -// The service is temporarily unavailable. The request should be retried after -// some time delay. +// - InternalFailureException +// The service has encountered an unexpected error condition which prevents +// it from servicing the request. +// +// - ServiceUnavailableException +// The service is temporarily unavailable. The request should be retried after +// some time delay. // -// * UnauthorizedException -// Credentials of the caller are insufficient to authorize the request. +// - UnauthorizedException +// Credentials of the caller are insufficient to authorize the request. // -// * TooManyRequestsException -// Too many requests have been received for this AWS account in too short a -// time. The request should be retried after some time delay. +// - TooManyRequestsException +// Too many requests have been received for this AWS account in too short a +// time. The request should be retried after some time delay. // -// * BadRequestException -// The request cannot be processed because some parameter is not valid or the -// project state prevents the operation from being performed. +// - BadRequestException +// The request cannot be processed because some parameter is not valid or the +// project state prevents the operation from being performed. // -// * NotFoundException -// No entity can be found with the specified identifier. +// - NotFoundException +// No entity can be found with the specified identifier. // -// * LimitExceededException -// There are too many AWS Mobile Hub projects in the account or the account -// has exceeded the maximum number of resources in some AWS service. You should -// create another sub-account using AWS Organizations or remove some resources -// and retry your request. +// - LimitExceededException +// There are too many AWS Mobile Hub projects in the account or the account +// has exceeded the maximum number of resources in some AWS service. You should +// create another sub-account using AWS Organizations or remove some resources +// and retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/CreateProject func (c *Mobile) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) { @@ -132,14 +132,13 @@ const opDeleteProject = "DeleteProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProjectRequest method. +// req, resp := client.DeleteProjectRequest(params) // -// // Example sending a request using the DeleteProjectRequest method. -// req, resp := client.DeleteProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DeleteProject func (c *Mobile) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) { @@ -170,23 +169,24 @@ func (c *Mobile) DeleteProjectRequest(input *DeleteProjectInput) (req *request.R // API operation DeleteProject for usage and error information. // // Returned Error Types: -// * InternalFailureException -// The service has encountered an unexpected error condition which prevents -// it from servicing the request. // -// * ServiceUnavailableException -// The service is temporarily unavailable. The request should be retried after -// some time delay. +// - InternalFailureException +// The service has encountered an unexpected error condition which prevents +// it from servicing the request. // -// * UnauthorizedException -// Credentials of the caller are insufficient to authorize the request. +// - ServiceUnavailableException +// The service is temporarily unavailable. The request should be retried after +// some time delay. // -// * TooManyRequestsException -// Too many requests have been received for this AWS account in too short a -// time. The request should be retried after some time delay. +// - UnauthorizedException +// Credentials of the caller are insufficient to authorize the request. // -// * NotFoundException -// No entity can be found with the specified identifier. +// - TooManyRequestsException +// Too many requests have been received for this AWS account in too short a +// time. The request should be retried after some time delay. +// +// - NotFoundException +// No entity can be found with the specified identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DeleteProject func (c *Mobile) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) { @@ -226,14 +226,13 @@ const opDescribeBundle = "DescribeBundle" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBundleRequest method. +// req, resp := client.DescribeBundleRequest(params) // -// // Example sending a request using the DescribeBundleRequest method. -// req, resp := client.DescribeBundleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DescribeBundle func (c *Mobile) DescribeBundleRequest(input *DescribeBundleInput) (req *request.Request, output *DescribeBundleOutput) { @@ -264,27 +263,28 @@ func (c *Mobile) DescribeBundleRequest(input *DescribeBundleInput) (req *request // API operation DescribeBundle for usage and error information. // // Returned Error Types: -// * InternalFailureException -// The service has encountered an unexpected error condition which prevents -// it from servicing the request. // -// * ServiceUnavailableException -// The service is temporarily unavailable. The request should be retried after -// some time delay. +// - InternalFailureException +// The service has encountered an unexpected error condition which prevents +// it from servicing the request. // -// * UnauthorizedException -// Credentials of the caller are insufficient to authorize the request. +// - ServiceUnavailableException +// The service is temporarily unavailable. The request should be retried after +// some time delay. // -// * TooManyRequestsException -// Too many requests have been received for this AWS account in too short a -// time. The request should be retried after some time delay. +// - UnauthorizedException +// Credentials of the caller are insufficient to authorize the request. // -// * BadRequestException -// The request cannot be processed because some parameter is not valid or the -// project state prevents the operation from being performed. +// - TooManyRequestsException +// Too many requests have been received for this AWS account in too short a +// time. The request should be retried after some time delay. // -// * NotFoundException -// No entity can be found with the specified identifier. +// - BadRequestException +// The request cannot be processed because some parameter is not valid or the +// project state prevents the operation from being performed. +// +// - NotFoundException +// No entity can be found with the specified identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DescribeBundle func (c *Mobile) DescribeBundle(input *DescribeBundleInput) (*DescribeBundleOutput, error) { @@ -324,14 +324,13 @@ const opDescribeProject = "DescribeProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProjectRequest method. +// req, resp := client.DescribeProjectRequest(params) // -// // Example sending a request using the DescribeProjectRequest method. -// req, resp := client.DescribeProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DescribeProject func (c *Mobile) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput) { @@ -362,27 +361,28 @@ func (c *Mobile) DescribeProjectRequest(input *DescribeProjectInput) (req *reque // API operation DescribeProject for usage and error information. // // Returned Error Types: -// * InternalFailureException -// The service has encountered an unexpected error condition which prevents -// it from servicing the request. // -// * ServiceUnavailableException -// The service is temporarily unavailable. The request should be retried after -// some time delay. +// - InternalFailureException +// The service has encountered an unexpected error condition which prevents +// it from servicing the request. +// +// - ServiceUnavailableException +// The service is temporarily unavailable. The request should be retried after +// some time delay. // -// * UnauthorizedException -// Credentials of the caller are insufficient to authorize the request. +// - UnauthorizedException +// Credentials of the caller are insufficient to authorize the request. // -// * TooManyRequestsException -// Too many requests have been received for this AWS account in too short a -// time. The request should be retried after some time delay. +// - TooManyRequestsException +// Too many requests have been received for this AWS account in too short a +// time. The request should be retried after some time delay. // -// * BadRequestException -// The request cannot be processed because some parameter is not valid or the -// project state prevents the operation from being performed. +// - BadRequestException +// The request cannot be processed because some parameter is not valid or the +// project state prevents the operation from being performed. // -// * NotFoundException -// No entity can be found with the specified identifier. +// - NotFoundException +// No entity can be found with the specified identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/DescribeProject func (c *Mobile) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error) { @@ -422,14 +422,13 @@ const opExportBundle = "ExportBundle" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportBundleRequest method. +// req, resp := client.ExportBundleRequest(params) // -// // Example sending a request using the ExportBundleRequest method. -// req, resp := client.ExportBundleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ExportBundle func (c *Mobile) ExportBundleRequest(input *ExportBundleInput) (req *request.Request, output *ExportBundleOutput) { @@ -461,27 +460,28 @@ func (c *Mobile) ExportBundleRequest(input *ExportBundleInput) (req *request.Req // API operation ExportBundle for usage and error information. // // Returned Error Types: -// * InternalFailureException -// The service has encountered an unexpected error condition which prevents -// it from servicing the request. // -// * ServiceUnavailableException -// The service is temporarily unavailable. The request should be retried after -// some time delay. +// - InternalFailureException +// The service has encountered an unexpected error condition which prevents +// it from servicing the request. +// +// - ServiceUnavailableException +// The service is temporarily unavailable. The request should be retried after +// some time delay. // -// * UnauthorizedException -// Credentials of the caller are insufficient to authorize the request. +// - UnauthorizedException +// Credentials of the caller are insufficient to authorize the request. // -// * TooManyRequestsException -// Too many requests have been received for this AWS account in too short a -// time. The request should be retried after some time delay. +// - TooManyRequestsException +// Too many requests have been received for this AWS account in too short a +// time. The request should be retried after some time delay. // -// * BadRequestException -// The request cannot be processed because some parameter is not valid or the -// project state prevents the operation from being performed. +// - BadRequestException +// The request cannot be processed because some parameter is not valid or the +// project state prevents the operation from being performed. // -// * NotFoundException -// No entity can be found with the specified identifier. +// - NotFoundException +// No entity can be found with the specified identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ExportBundle func (c *Mobile) ExportBundle(input *ExportBundleInput) (*ExportBundleOutput, error) { @@ -521,14 +521,13 @@ const opExportProject = "ExportProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportProjectRequest method. +// req, resp := client.ExportProjectRequest(params) // -// // Example sending a request using the ExportProjectRequest method. -// req, resp := client.ExportProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ExportProject func (c *Mobile) ExportProjectRequest(input *ExportProjectInput) (req *request.Request, output *ExportProjectOutput) { @@ -561,27 +560,28 @@ func (c *Mobile) ExportProjectRequest(input *ExportProjectInput) (req *request.R // API operation ExportProject for usage and error information. // // Returned Error Types: -// * InternalFailureException -// The service has encountered an unexpected error condition which prevents -// it from servicing the request. // -// * ServiceUnavailableException -// The service is temporarily unavailable. The request should be retried after -// some time delay. +// - InternalFailureException +// The service has encountered an unexpected error condition which prevents +// it from servicing the request. +// +// - ServiceUnavailableException +// The service is temporarily unavailable. The request should be retried after +// some time delay. // -// * UnauthorizedException -// Credentials of the caller are insufficient to authorize the request. +// - UnauthorizedException +// Credentials of the caller are insufficient to authorize the request. // -// * TooManyRequestsException -// Too many requests have been received for this AWS account in too short a -// time. The request should be retried after some time delay. +// - TooManyRequestsException +// Too many requests have been received for this AWS account in too short a +// time. The request should be retried after some time delay. // -// * BadRequestException -// The request cannot be processed because some parameter is not valid or the -// project state prevents the operation from being performed. +// - BadRequestException +// The request cannot be processed because some parameter is not valid or the +// project state prevents the operation from being performed. // -// * NotFoundException -// No entity can be found with the specified identifier. +// - NotFoundException +// No entity can be found with the specified identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ExportProject func (c *Mobile) ExportProject(input *ExportProjectInput) (*ExportProjectOutput, error) { @@ -621,14 +621,13 @@ const opListBundles = "ListBundles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBundlesRequest method. +// req, resp := client.ListBundlesRequest(params) // -// // Example sending a request using the ListBundlesRequest method. -// req, resp := client.ListBundlesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ListBundles func (c *Mobile) ListBundlesRequest(input *ListBundlesInput) (req *request.Request, output *ListBundlesOutput) { @@ -665,24 +664,25 @@ func (c *Mobile) ListBundlesRequest(input *ListBundlesInput) (req *request.Reque // API operation ListBundles for usage and error information. // // Returned Error Types: -// * InternalFailureException -// The service has encountered an unexpected error condition which prevents -// it from servicing the request. // -// * ServiceUnavailableException -// The service is temporarily unavailable. The request should be retried after -// some time delay. +// - InternalFailureException +// The service has encountered an unexpected error condition which prevents +// it from servicing the request. // -// * UnauthorizedException -// Credentials of the caller are insufficient to authorize the request. +// - ServiceUnavailableException +// The service is temporarily unavailable. The request should be retried after +// some time delay. // -// * TooManyRequestsException -// Too many requests have been received for this AWS account in too short a -// time. The request should be retried after some time delay. +// - UnauthorizedException +// Credentials of the caller are insufficient to authorize the request. // -// * BadRequestException -// The request cannot be processed because some parameter is not valid or the -// project state prevents the operation from being performed. +// - TooManyRequestsException +// Too many requests have been received for this AWS account in too short a +// time. The request should be retried after some time delay. +// +// - BadRequestException +// The request cannot be processed because some parameter is not valid or the +// project state prevents the operation from being performed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ListBundles func (c *Mobile) ListBundles(input *ListBundlesInput) (*ListBundlesOutput, error) { @@ -714,15 +714,14 @@ func (c *Mobile) ListBundlesWithContext(ctx aws.Context, input *ListBundlesInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBundles operation. -// pageNum := 0 -// err := client.ListBundlesPages(params, -// func(page *mobile.ListBundlesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBundles operation. +// pageNum := 0 +// err := client.ListBundlesPages(params, +// func(page *mobile.ListBundlesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Mobile) ListBundlesPages(input *ListBundlesInput, fn func(*ListBundlesOutput, bool) bool) error { return c.ListBundlesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -774,14 +773,13 @@ const opListProjects = "ListProjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProjectsRequest method. +// req, resp := client.ListProjectsRequest(params) // -// // Example sending a request using the ListProjectsRequest method. -// req, resp := client.ListProjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ListProjects func (c *Mobile) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) { @@ -818,24 +816,25 @@ func (c *Mobile) ListProjectsRequest(input *ListProjectsInput) (req *request.Req // API operation ListProjects for usage and error information. // // Returned Error Types: -// * InternalFailureException -// The service has encountered an unexpected error condition which prevents -// it from servicing the request. // -// * ServiceUnavailableException -// The service is temporarily unavailable. The request should be retried after -// some time delay. +// - InternalFailureException +// The service has encountered an unexpected error condition which prevents +// it from servicing the request. +// +// - ServiceUnavailableException +// The service is temporarily unavailable. The request should be retried after +// some time delay. // -// * UnauthorizedException -// Credentials of the caller are insufficient to authorize the request. +// - UnauthorizedException +// Credentials of the caller are insufficient to authorize the request. // -// * TooManyRequestsException -// Too many requests have been received for this AWS account in too short a -// time. The request should be retried after some time delay. +// - TooManyRequestsException +// Too many requests have been received for this AWS account in too short a +// time. The request should be retried after some time delay. // -// * BadRequestException -// The request cannot be processed because some parameter is not valid or the -// project state prevents the operation from being performed. +// - BadRequestException +// The request cannot be processed because some parameter is not valid or the +// project state prevents the operation from being performed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/ListProjects func (c *Mobile) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error) { @@ -867,15 +866,14 @@ func (c *Mobile) ListProjectsWithContext(ctx aws.Context, input *ListProjectsInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProjects operation. -// pageNum := 0 -// err := client.ListProjectsPages(params, -// func(page *mobile.ListProjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProjects operation. +// pageNum := 0 +// err := client.ListProjectsPages(params, +// func(page *mobile.ListProjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Mobile) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error { return c.ListProjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -927,14 +925,13 @@ const opUpdateProject = "UpdateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProjectRequest method. +// req, resp := client.UpdateProjectRequest(params) // -// // Example sending a request using the UpdateProjectRequest method. -// req, resp := client.UpdateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/UpdateProject func (c *Mobile) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput) { @@ -965,36 +962,37 @@ func (c *Mobile) UpdateProjectRequest(input *UpdateProjectInput) (req *request.R // API operation UpdateProject for usage and error information. // // Returned Error Types: -// * InternalFailureException -// The service has encountered an unexpected error condition which prevents -// it from servicing the request. // -// * ServiceUnavailableException -// The service is temporarily unavailable. The request should be retried after -// some time delay. +// - InternalFailureException +// The service has encountered an unexpected error condition which prevents +// it from servicing the request. +// +// - ServiceUnavailableException +// The service is temporarily unavailable. The request should be retried after +// some time delay. // -// * UnauthorizedException -// Credentials of the caller are insufficient to authorize the request. +// - UnauthorizedException +// Credentials of the caller are insufficient to authorize the request. // -// * TooManyRequestsException -// Too many requests have been received for this AWS account in too short a -// time. The request should be retried after some time delay. +// - TooManyRequestsException +// Too many requests have been received for this AWS account in too short a +// time. The request should be retried after some time delay. // -// * BadRequestException -// The request cannot be processed because some parameter is not valid or the -// project state prevents the operation from being performed. +// - BadRequestException +// The request cannot be processed because some parameter is not valid or the +// project state prevents the operation from being performed. // -// * NotFoundException -// No entity can be found with the specified identifier. +// - NotFoundException +// No entity can be found with the specified identifier. // -// * AccountActionRequiredException -// Account Action is required in order to continue the request. +// - AccountActionRequiredException +// Account Action is required in order to continue the request. // -// * LimitExceededException -// There are too many AWS Mobile Hub projects in the account or the account -// has exceeded the maximum number of resources in some AWS service. You should -// create another sub-account using AWS Organizations or remove some resources -// and retry your request. +// - LimitExceededException +// There are too many AWS Mobile Hub projects in the account or the account +// has exceeded the maximum number of resources in some AWS service. You should +// create another sub-account using AWS Organizations or remove some resources +// and retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mobile-2017-07-01/UpdateProject func (c *Mobile) UpdateProject(input *UpdateProjectInput) (*UpdateProjectOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/doc.go index 3767f24204ec..39eb1d8e3640 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/doc.go @@ -13,7 +13,7 @@ // See mobile package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/mobile/ // -// Using the Client +// # Using the Client // // To contact AWS Mobile with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/mobileiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/mobileiface/interface.go index a1d0ea0e1325..bf550a4bfdb2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/mobileiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/mobileiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Mobile. -// func myFunc(svc mobileiface.MobileAPI) bool { -// // Make svc.CreateProject request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Mobile. +// func myFunc(svc mobileiface.MobileAPI) bool { +// // Make svc.CreateProject request +// } // -// func main() { -// sess := session.New() -// svc := mobile.New(sess) +// func main() { +// sess := session.New() +// svc := mobile.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMobileClient struct { -// mobileiface.MobileAPI -// } -// func (m *mockMobileClient) CreateProject(input *mobile.CreateProjectInput) (*mobile.CreateProjectOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMobileClient struct { +// mobileiface.MobileAPI +// } +// func (m *mockMobileClient) CreateProject(input *mobile.CreateProjectInput) (*mobile.CreateProjectOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMobileClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMobileClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/service.go index d845f1a2f0c5..904c80c66371 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobile/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Mobile client from just a session. -// svc := mobile.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Mobile client with additional configuration -// svc := mobile.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Mobile client from just a session. +// svc := mobile.New(mySession) +// +// // Create a Mobile client with additional configuration +// svc := mobile.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Mobile { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/api.go index 657d44d30ab4..9f1acb009acd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/api.go @@ -28,14 +28,13 @@ const opPutEvents = "PutEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEventsRequest method. +// req, resp := client.PutEventsRequest(params) // -// // Example sending a request using the PutEventsRequest method. -// req, resp := client.PutEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *MobileAnalytics) PutEventsRequest(input *PutEventsInput) (req *request.Request, output *PutEventsOutput) { op := &request.Operation{ Name: opPutEvents, @@ -67,9 +66,8 @@ func (c *MobileAnalytics) PutEventsRequest(input *PutEventsInput) (req *request. // API operation PutEvents for usage and error information. // // Returned Error Types: -// * BadRequestException -// An exception object returned when a request fails. -// +// - BadRequestException +// An exception object returned when a request fails. func (c *MobileAnalytics) PutEvents(input *PutEventsInput) (*PutEventsOutput, error) { req, out := c.PutEventsRequest(input) return out, req.Send() diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/doc.go index 64553abe8056..6d02d3b67170 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/doc.go @@ -9,7 +9,7 @@ // See mobileanalytics package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/mobileanalytics/ // -// Using the Client +// # Using the Client // // To contact Amazon Mobile Analytics with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/mobileanalyticsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/mobileanalyticsiface/interface.go index fad633630c42..91c09f3db5ac 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/mobileanalyticsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/mobileanalyticsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Mobile Analytics. -// func myFunc(svc mobileanalyticsiface.MobileAnalyticsAPI) bool { -// // Make svc.PutEvents request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Mobile Analytics. +// func myFunc(svc mobileanalyticsiface.MobileAnalyticsAPI) bool { +// // Make svc.PutEvents request +// } // -// func main() { -// sess := session.New() -// svc := mobileanalytics.New(sess) +// func main() { +// sess := session.New() +// svc := mobileanalytics.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMobileAnalyticsClient struct { -// mobileanalyticsiface.MobileAnalyticsAPI -// } -// func (m *mockMobileAnalyticsClient) PutEvents(input *mobileanalytics.PutEventsInput) (*mobileanalytics.PutEventsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMobileAnalyticsClient struct { +// mobileanalyticsiface.MobileAnalyticsAPI +// } +// func (m *mockMobileAnalyticsClient) PutEvents(input *mobileanalytics.PutEventsInput) (*mobileanalytics.PutEventsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMobileAnalyticsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMobileAnalyticsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/service.go index 64d6e9f31404..4bc12af7bdcd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mobileanalytics/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MobileAnalytics client from just a session. -// svc := mobileanalytics.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MobileAnalytics client with additional configuration -// svc := mobileanalytics.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MobileAnalytics client from just a session. +// svc := mobileanalytics.New(mySession) +// +// // Create a MobileAnalytics client with additional configuration +// svc := mobileanalytics.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MobileAnalytics { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/api.go index b71f5b287760..6cc58dfe14f3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/api.go @@ -29,14 +29,13 @@ const opCreateBroker = "CreateBroker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBrokerRequest method. +// req, resp := client.CreateBrokerRequest(params) // -// // Example sending a request using the CreateBrokerRequest method. -// req, resp := client.CreateBrokerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateBroker func (c *MQ) CreateBrokerRequest(input *CreateBrokerRequest) (req *request.Request, output *CreateBrokerResponse) { @@ -62,31 +61,31 @@ func (c *MQ) CreateBrokerRequest(input *CreateBrokerRequest) (req *request.Reque // To create a broker, you must either use the AmazonMQFullAccess IAM policy // or include the following EC2 permissions in your IAM policy. // -// * ec2:CreateNetworkInterface This permission is required to allow Amazon -// MQ to create an elastic network interface (ENI) on behalf of your account. +// - ec2:CreateNetworkInterface This permission is required to allow Amazon +// MQ to create an elastic network interface (ENI) on behalf of your account. // -// * ec2:CreateNetworkInterfacePermission This permission is required to -// attach the ENI to the broker instance. +// - ec2:CreateNetworkInterfacePermission This permission is required to +// attach the ENI to the broker instance. // -// * ec2:DeleteNetworkInterface +// - ec2:DeleteNetworkInterface // -// * ec2:DeleteNetworkInterfacePermission +// - ec2:DeleteNetworkInterfacePermission // -// * ec2:DetachNetworkInterface +// - ec2:DetachNetworkInterface // -// * ec2:DescribeInternetGateways +// - ec2:DescribeInternetGateways // -// * ec2:DescribeNetworkInterfaces +// - ec2:DescribeNetworkInterfaces // -// * ec2:DescribeNetworkInterfacePermissions +// - ec2:DescribeNetworkInterfacePermissions // -// * ec2:DescribeRouteTables +// - ec2:DescribeRouteTables // -// * ec2:DescribeSecurityGroups +// - ec2:DescribeSecurityGroups // -// * ec2:DescribeSubnets +// - ec2:DescribeSubnets // -// * ec2:DescribeVpcs +// - ec2:DescribeVpcs // // For more information, see Create an IAM User and Get Your AWS Credentials // (https://docs.aws.amazon.com//amazon-mq/latest/developer-guide/amazon-mq-setting-up.html#create-iam-user) @@ -101,20 +100,21 @@ func (c *MQ) CreateBrokerRequest(input *CreateBrokerRequest) (req *request.Reque // API operation CreateBroker for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * UnauthorizedException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - UnauthorizedException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ConflictException -// Returns information about an error. +// - ConflictException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateBroker func (c *MQ) CreateBroker(input *CreateBrokerRequest) (*CreateBrokerResponse, error) { @@ -154,14 +154,13 @@ const opCreateConfiguration = "CreateConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConfigurationRequest method. +// req, resp := client.CreateConfigurationRequest(params) // -// // Example sending a request using the CreateConfigurationRequest method. -// req, resp := client.CreateConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateConfiguration func (c *MQ) CreateConfigurationRequest(input *CreateConfigurationRequest) (req *request.Request, output *CreateConfigurationResponse) { @@ -193,17 +192,18 @@ func (c *MQ) CreateConfigurationRequest(input *CreateConfigurationRequest) (req // API operation CreateConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * ConflictException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ConflictException +// Returns information about an error. +// +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateConfiguration func (c *MQ) CreateConfiguration(input *CreateConfigurationRequest) (*CreateConfigurationResponse, error) { @@ -243,14 +243,13 @@ const opCreateTags = "CreateTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTagsRequest method. +// req, resp := client.CreateTagsRequest(params) // -// // Example sending a request using the CreateTagsRequest method. -// req, resp := client.CreateTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateTags func (c *MQ) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput) { @@ -282,17 +281,18 @@ func (c *MQ) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, ou // API operation CreateTags for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateTags func (c *MQ) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error) { @@ -332,14 +332,13 @@ const opCreateUser = "CreateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserRequest method. +// req, resp := client.CreateUserRequest(params) // -// // Example sending a request using the CreateUserRequest method. -// req, resp := client.CreateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateUser func (c *MQ) CreateUserRequest(input *CreateUserRequest) (req *request.Request, output *CreateUserOutput) { @@ -371,20 +370,21 @@ func (c *MQ) CreateUserRequest(input *CreateUserRequest) (req *request.Request, // API operation CreateUser for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ConflictException -// Returns information about an error. +// - ConflictException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateUser func (c *MQ) CreateUser(input *CreateUserRequest) (*CreateUserOutput, error) { @@ -424,14 +424,13 @@ const opDeleteBroker = "DeleteBroker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBrokerRequest method. +// req, resp := client.DeleteBrokerRequest(params) // -// // Example sending a request using the DeleteBrokerRequest method. -// req, resp := client.DeleteBrokerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteBroker func (c *MQ) DeleteBrokerRequest(input *DeleteBrokerInput) (req *request.Request, output *DeleteBrokerResponse) { @@ -462,17 +461,18 @@ func (c *MQ) DeleteBrokerRequest(input *DeleteBrokerInput) (req *request.Request // API operation DeleteBroker for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. +// +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteBroker func (c *MQ) DeleteBroker(input *DeleteBrokerInput) (*DeleteBrokerResponse, error) { @@ -512,14 +512,13 @@ const opDeleteTags = "DeleteTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTagsRequest method. +// req, resp := client.DeleteTagsRequest(params) // -// // Example sending a request using the DeleteTagsRequest method. -// req, resp := client.DeleteTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteTags func (c *MQ) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { @@ -551,17 +550,18 @@ func (c *MQ) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, ou // API operation DeleteTags for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteTags func (c *MQ) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) { @@ -601,14 +601,13 @@ const opDeleteUser = "DeleteUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserRequest method. +// req, resp := client.DeleteUserRequest(params) // -// // Example sending a request using the DeleteUserRequest method. -// req, resp := client.DeleteUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteUser func (c *MQ) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { @@ -640,17 +639,18 @@ func (c *MQ) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, ou // API operation DeleteUser for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteUser func (c *MQ) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { @@ -690,14 +690,13 @@ const opDescribeBroker = "DescribeBroker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBrokerRequest method. +// req, resp := client.DescribeBrokerRequest(params) // -// // Example sending a request using the DescribeBrokerRequest method. -// req, resp := client.DescribeBrokerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBroker func (c *MQ) DescribeBrokerRequest(input *DescribeBrokerInput) (req *request.Request, output *DescribeBrokerResponse) { @@ -728,17 +727,18 @@ func (c *MQ) DescribeBrokerRequest(input *DescribeBrokerInput) (req *request.Req // API operation DescribeBroker for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. +// +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBroker func (c *MQ) DescribeBroker(input *DescribeBrokerInput) (*DescribeBrokerResponse, error) { @@ -778,14 +778,13 @@ const opDescribeBrokerEngineTypes = "DescribeBrokerEngineTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBrokerEngineTypesRequest method. +// req, resp := client.DescribeBrokerEngineTypesRequest(params) // -// // Example sending a request using the DescribeBrokerEngineTypesRequest method. -// req, resp := client.DescribeBrokerEngineTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerEngineTypes func (c *MQ) DescribeBrokerEngineTypesRequest(input *DescribeBrokerEngineTypesInput) (req *request.Request, output *DescribeBrokerEngineTypesOutput) { @@ -816,14 +815,15 @@ func (c *MQ) DescribeBrokerEngineTypesRequest(input *DescribeBrokerEngineTypesIn // API operation DescribeBrokerEngineTypes for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerEngineTypes func (c *MQ) DescribeBrokerEngineTypes(input *DescribeBrokerEngineTypesInput) (*DescribeBrokerEngineTypesOutput, error) { @@ -863,14 +863,13 @@ const opDescribeBrokerInstanceOptions = "DescribeBrokerInstanceOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBrokerInstanceOptionsRequest method. +// req, resp := client.DescribeBrokerInstanceOptionsRequest(params) // -// // Example sending a request using the DescribeBrokerInstanceOptionsRequest method. -// req, resp := client.DescribeBrokerInstanceOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerInstanceOptions func (c *MQ) DescribeBrokerInstanceOptionsRequest(input *DescribeBrokerInstanceOptionsInput) (req *request.Request, output *DescribeBrokerInstanceOptionsOutput) { @@ -901,14 +900,15 @@ func (c *MQ) DescribeBrokerInstanceOptionsRequest(input *DescribeBrokerInstanceO // API operation DescribeBrokerInstanceOptions for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerInstanceOptions func (c *MQ) DescribeBrokerInstanceOptions(input *DescribeBrokerInstanceOptionsInput) (*DescribeBrokerInstanceOptionsOutput, error) { @@ -948,14 +948,13 @@ const opDescribeConfiguration = "DescribeConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConfigurationRequest method. +// req, resp := client.DescribeConfigurationRequest(params) // -// // Example sending a request using the DescribeConfigurationRequest method. -// req, resp := client.DescribeConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfiguration func (c *MQ) DescribeConfigurationRequest(input *DescribeConfigurationInput) (req *request.Request, output *DescribeConfigurationOutput) { @@ -986,17 +985,18 @@ func (c *MQ) DescribeConfigurationRequest(input *DescribeConfigurationInput) (re // API operation DescribeConfiguration for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. +// +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfiguration func (c *MQ) DescribeConfiguration(input *DescribeConfigurationInput) (*DescribeConfigurationOutput, error) { @@ -1036,14 +1036,13 @@ const opDescribeConfigurationRevision = "DescribeConfigurationRevision" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConfigurationRevisionRequest method. +// req, resp := client.DescribeConfigurationRevisionRequest(params) // -// // Example sending a request using the DescribeConfigurationRevisionRequest method. -// req, resp := client.DescribeConfigurationRevisionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfigurationRevision func (c *MQ) DescribeConfigurationRevisionRequest(input *DescribeConfigurationRevisionInput) (req *request.Request, output *DescribeConfigurationRevisionResponse) { @@ -1074,17 +1073,18 @@ func (c *MQ) DescribeConfigurationRevisionRequest(input *DescribeConfigurationRe // API operation DescribeConfigurationRevision for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. +// +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfigurationRevision func (c *MQ) DescribeConfigurationRevision(input *DescribeConfigurationRevisionInput) (*DescribeConfigurationRevisionResponse, error) { @@ -1124,14 +1124,13 @@ const opDescribeUser = "DescribeUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserRequest method. +// req, resp := client.DescribeUserRequest(params) // -// // Example sending a request using the DescribeUserRequest method. -// req, resp := client.DescribeUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeUser func (c *MQ) DescribeUserRequest(input *DescribeUserInput) (req *request.Request, output *DescribeUserResponse) { @@ -1162,17 +1161,18 @@ func (c *MQ) DescribeUserRequest(input *DescribeUserInput) (req *request.Request // API operation DescribeUser for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeUser func (c *MQ) DescribeUser(input *DescribeUserInput) (*DescribeUserResponse, error) { @@ -1212,14 +1212,13 @@ const opListBrokers = "ListBrokers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBrokersRequest method. +// req, resp := client.ListBrokersRequest(params) // -// // Example sending a request using the ListBrokersRequest method. -// req, resp := client.ListBrokersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListBrokers func (c *MQ) ListBrokersRequest(input *ListBrokersInput) (req *request.Request, output *ListBrokersResponse) { @@ -1256,14 +1255,15 @@ func (c *MQ) ListBrokersRequest(input *ListBrokersInput) (req *request.Request, // API operation ListBrokers for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. +// +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListBrokers func (c *MQ) ListBrokers(input *ListBrokersInput) (*ListBrokersResponse, error) { @@ -1295,15 +1295,14 @@ func (c *MQ) ListBrokersWithContext(ctx aws.Context, input *ListBrokersInput, op // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBrokers operation. -// pageNum := 0 -// err := client.ListBrokersPages(params, -// func(page *mq.ListBrokersResponse, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBrokers operation. +// pageNum := 0 +// err := client.ListBrokersPages(params, +// func(page *mq.ListBrokersResponse, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MQ) ListBrokersPages(input *ListBrokersInput, fn func(*ListBrokersResponse, bool) bool) error { return c.ListBrokersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1355,14 +1354,13 @@ const opListConfigurationRevisions = "ListConfigurationRevisions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConfigurationRevisionsRequest method. +// req, resp := client.ListConfigurationRevisionsRequest(params) // -// // Example sending a request using the ListConfigurationRevisionsRequest method. -// req, resp := client.ListConfigurationRevisionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurationRevisions func (c *MQ) ListConfigurationRevisionsRequest(input *ListConfigurationRevisionsInput) (req *request.Request, output *ListConfigurationRevisionsResponse) { @@ -1393,17 +1391,18 @@ func (c *MQ) ListConfigurationRevisionsRequest(input *ListConfigurationRevisions // API operation ListConfigurationRevisions for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurationRevisions func (c *MQ) ListConfigurationRevisions(input *ListConfigurationRevisionsInput) (*ListConfigurationRevisionsResponse, error) { @@ -1443,14 +1442,13 @@ const opListConfigurations = "ListConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConfigurationsRequest method. +// req, resp := client.ListConfigurationsRequest(params) // -// // Example sending a request using the ListConfigurationsRequest method. -// req, resp := client.ListConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurations func (c *MQ) ListConfigurationsRequest(input *ListConfigurationsInput) (req *request.Request, output *ListConfigurationsResponse) { @@ -1481,14 +1479,15 @@ func (c *MQ) ListConfigurationsRequest(input *ListConfigurationsInput) (req *req // API operation ListConfigurations for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. +// +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListConfigurations func (c *MQ) ListConfigurations(input *ListConfigurationsInput) (*ListConfigurationsResponse, error) { @@ -1528,14 +1527,13 @@ const opListTags = "ListTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsRequest method. +// req, resp := client.ListTagsRequest(params) // -// // Example sending a request using the ListTagsRequest method. -// req, resp := client.ListTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListTags func (c *MQ) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { @@ -1566,17 +1564,18 @@ func (c *MQ) ListTagsRequest(input *ListTagsInput) (req *request.Request, output // API operation ListTags for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. +// +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListTags func (c *MQ) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { @@ -1616,14 +1615,13 @@ const opListUsers = "ListUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUsersRequest method. +// req, resp := client.ListUsersRequest(params) // -// // Example sending a request using the ListUsersRequest method. -// req, resp := client.ListUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListUsers func (c *MQ) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersResponse) { @@ -1654,17 +1652,18 @@ func (c *MQ) ListUsersRequest(input *ListUsersInput) (req *request.Request, outp // API operation ListUsers for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListUsers func (c *MQ) ListUsers(input *ListUsersInput) (*ListUsersResponse, error) { @@ -1704,14 +1703,13 @@ const opRebootBroker = "RebootBroker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebootBrokerRequest method. +// req, resp := client.RebootBrokerRequest(params) // -// // Example sending a request using the RebootBrokerRequest method. -// req, resp := client.RebootBrokerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/RebootBroker func (c *MQ) RebootBrokerRequest(input *RebootBrokerInput) (req *request.Request, output *RebootBrokerOutput) { @@ -1743,17 +1741,18 @@ func (c *MQ) RebootBrokerRequest(input *RebootBrokerInput) (req *request.Request // API operation RebootBroker for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/RebootBroker func (c *MQ) RebootBroker(input *RebootBrokerInput) (*RebootBrokerOutput, error) { @@ -1793,14 +1792,13 @@ const opUpdateBroker = "UpdateBroker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBrokerRequest method. +// req, resp := client.UpdateBrokerRequest(params) // -// // Example sending a request using the UpdateBrokerRequest method. -// req, resp := client.UpdateBrokerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateBroker func (c *MQ) UpdateBrokerRequest(input *UpdateBrokerRequest) (req *request.Request, output *UpdateBrokerResponse) { @@ -1831,20 +1829,21 @@ func (c *MQ) UpdateBrokerRequest(input *UpdateBrokerRequest) (req *request.Reque // API operation UpdateBroker for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - BadRequestException +// Returns information about an error. // -// * ConflictException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ConflictException +// Returns information about an error. +// +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateBroker func (c *MQ) UpdateBroker(input *UpdateBrokerRequest) (*UpdateBrokerResponse, error) { @@ -1884,14 +1883,13 @@ const opUpdateConfiguration = "UpdateConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConfigurationRequest method. +// req, resp := client.UpdateConfigurationRequest(params) // -// // Example sending a request using the UpdateConfigurationRequest method. -// req, resp := client.UpdateConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateConfiguration func (c *MQ) UpdateConfigurationRequest(input *UpdateConfigurationRequest) (req *request.Request, output *UpdateConfigurationResponse) { @@ -1922,20 +1920,21 @@ func (c *MQ) UpdateConfigurationRequest(input *UpdateConfigurationRequest) (req // API operation UpdateConfiguration for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ConflictException -// Returns information about an error. +// - ConflictException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateConfiguration func (c *MQ) UpdateConfiguration(input *UpdateConfigurationRequest) (*UpdateConfigurationResponse, error) { @@ -1975,14 +1974,13 @@ const opUpdateUser = "UpdateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserRequest method. +// req, resp := client.UpdateUserRequest(params) // -// // Example sending a request using the UpdateUserRequest method. -// req, resp := client.UpdateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateUser func (c *MQ) UpdateUserRequest(input *UpdateUserRequest) (req *request.Request, output *UpdateUserOutput) { @@ -2014,20 +2012,21 @@ func (c *MQ) UpdateUserRequest(input *UpdateUserRequest) (req *request.Request, // API operation UpdateUser for usage and error information. // // Returned Error Types: -// * NotFoundException -// Returns information about an error. // -// * BadRequestException -// Returns information about an error. +// - NotFoundException +// Returns information about an error. +// +// - BadRequestException +// Returns information about an error. // -// * InternalServerErrorException -// Returns information about an error. +// - InternalServerErrorException +// Returns information about an error. // -// * ConflictException -// Returns information about an error. +// - ConflictException +// Returns information about an error. // -// * ForbiddenException -// Returns information about an error. +// - ForbiddenException +// Returns information about an error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UpdateUser func (c *MQ) UpdateUser(input *UpdateUserRequest) (*UpdateUserOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/doc.go index b66bdde07ddc..89628a4f89a1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/doc.go @@ -14,7 +14,7 @@ // See mq package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/mq/ // -// Using the Client +// # Using the Client // // To contact AmazonMQ with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/mqiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/mqiface/interface.go index fc033dc4d6b3..00b7ed9e83d3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/mqiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/mqiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AmazonMQ. -// func myFunc(svc mqiface.MQAPI) bool { -// // Make svc.CreateBroker request -// } +// // myFunc uses an SDK service client to make a request to +// // AmazonMQ. +// func myFunc(svc mqiface.MQAPI) bool { +// // Make svc.CreateBroker request +// } // -// func main() { -// sess := session.New() -// svc := mq.New(sess) +// func main() { +// sess := session.New() +// svc := mq.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMQClient struct { -// mqiface.MQAPI -// } -// func (m *mockMQClient) CreateBroker(input *mq.CreateBrokerRequest) (*mq.CreateBrokerResponse, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMQClient struct { +// mqiface.MQAPI +// } +// func (m *mockMQClient) CreateBroker(input *mq.CreateBrokerRequest) (*mq.CreateBrokerResponse, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMQClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMQClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/service.go index c1c17562175a..77e7a2027aa1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mq/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MQ client from just a session. -// svc := mq.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MQ client with additional configuration -// svc := mq.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MQ client from just a session. +// svc := mq.New(mySession) +// +// // Create a MQ client with additional configuration +// svc := mq.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MQ { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/api.go index 3770e4c595a8..64cbb94ed153 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/api.go @@ -29,14 +29,13 @@ const opAcceptQualificationRequest = "AcceptQualificationRequest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptQualificationRequestRequest method. +// req, resp := client.AcceptQualificationRequestRequest(params) // -// // Example sending a request using the AcceptQualificationRequestRequest method. -// req, resp := client.AcceptQualificationRequestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/AcceptQualificationRequest func (c *MTurk) AcceptQualificationRequestRequest(input *AcceptQualificationRequestInput) (req *request.Request, output *AcceptQualificationRequestOutput) { @@ -75,12 +74,13 @@ func (c *MTurk) AcceptQualificationRequestRequest(input *AcceptQualificationRequ // API operation AcceptQualificationRequest for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/AcceptQualificationRequest func (c *MTurk) AcceptQualificationRequest(input *AcceptQualificationRequestInput) (*AcceptQualificationRequestOutput, error) { @@ -120,14 +120,13 @@ const opApproveAssignment = "ApproveAssignment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ApproveAssignmentRequest method. +// req, resp := client.ApproveAssignmentRequest(params) // -// // Example sending a request using the ApproveAssignmentRequest method. -// req, resp := client.ApproveAssignmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ApproveAssignment func (c *MTurk) ApproveAssignmentRequest(input *ApproveAssignmentInput) (req *request.Request, output *ApproveAssignmentOutput) { @@ -154,10 +153,10 @@ func (c *MTurk) ApproveAssignmentRequest(input *ApproveAssignmentInput) (req *re // Approving an assignment initiates two payments from the Requester's Amazon.com // account // -// * The Worker who submitted the results is paid the reward specified in -// the HIT. +// - The Worker who submitted the results is paid the reward specified in +// the HIT. // -// * Amazon Mechanical Turk fees are debited. +// - Amazon Mechanical Turk fees are debited. // // If the Requester's account does not have adequate funds for these payments, // the call to ApproveAssignment returns an exception, and the approval is not @@ -177,12 +176,13 @@ func (c *MTurk) ApproveAssignmentRequest(input *ApproveAssignmentInput) (req *re // API operation ApproveAssignment for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ApproveAssignment func (c *MTurk) ApproveAssignment(input *ApproveAssignmentInput) (*ApproveAssignmentOutput, error) { @@ -222,14 +222,13 @@ const opAssociateQualificationWithWorker = "AssociateQualificationWithWorker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateQualificationWithWorkerRequest method. +// req, resp := client.AssociateQualificationWithWorkerRequest(params) // -// // Example sending a request using the AssociateQualificationWithWorkerRequest method. -// req, resp := client.AssociateQualificationWithWorkerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/AssociateQualificationWithWorker func (c *MTurk) AssociateQualificationWithWorkerRequest(input *AssociateQualificationWithWorkerInput) (req *request.Request, output *AssociateQualificationWithWorkerOutput) { @@ -273,12 +272,13 @@ func (c *MTurk) AssociateQualificationWithWorkerRequest(input *AssociateQualific // API operation AssociateQualificationWithWorker for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/AssociateQualificationWithWorker func (c *MTurk) AssociateQualificationWithWorker(input *AssociateQualificationWithWorkerInput) (*AssociateQualificationWithWorkerOutput, error) { @@ -318,14 +318,13 @@ const opCreateAdditionalAssignmentsForHIT = "CreateAdditionalAssignmentsForHIT" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAdditionalAssignmentsForHITRequest method. +// req, resp := client.CreateAdditionalAssignmentsForHITRequest(params) // -// // Example sending a request using the CreateAdditionalAssignmentsForHITRequest method. -// req, resp := client.CreateAdditionalAssignmentsForHITRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateAdditionalAssignmentsForHIT func (c *MTurk) CreateAdditionalAssignmentsForHITRequest(input *CreateAdditionalAssignmentsForHITInput) (req *request.Request, output *CreateAdditionalAssignmentsForHITOutput) { @@ -353,15 +352,15 @@ func (c *MTurk) CreateAdditionalAssignmentsForHITRequest(input *CreateAdditional // To extend the maximum number of assignments, specify the number of additional // assignments. // -// * HITs created with fewer than 10 assignments cannot be extended to have -// 10 or more assignments. Attempting to add assignments in a way that brings -// the total number of assignments for a HIT from fewer than 10 assignments -// to 10 or more assignments will result in an AWS.MechanicalTurk.InvalidMaximumAssignmentsIncrease -// exception. +// - HITs created with fewer than 10 assignments cannot be extended to have +// 10 or more assignments. Attempting to add assignments in a way that brings +// the total number of assignments for a HIT from fewer than 10 assignments +// to 10 or more assignments will result in an AWS.MechanicalTurk.InvalidMaximumAssignmentsIncrease +// exception. // -// * HITs that were created before July 22, 2015 cannot be extended. Attempting -// to extend HITs that were created before July 22, 2015 will result in an -// AWS.MechanicalTurk.HITTooOldForExtension exception. +// - HITs that were created before July 22, 2015 cannot be extended. Attempting +// to extend HITs that were created before July 22, 2015 will result in an +// AWS.MechanicalTurk.HITTooOldForExtension exception. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -371,12 +370,13 @@ func (c *MTurk) CreateAdditionalAssignmentsForHITRequest(input *CreateAdditional // API operation CreateAdditionalAssignmentsForHIT for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateAdditionalAssignmentsForHIT func (c *MTurk) CreateAdditionalAssignmentsForHIT(input *CreateAdditionalAssignmentsForHITInput) (*CreateAdditionalAssignmentsForHITOutput, error) { @@ -416,14 +416,13 @@ const opCreateHIT = "CreateHIT" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHITRequest method. +// req, resp := client.CreateHITRequest(params) // -// // Example sending a request using the CreateHITRequest method. -// req, resp := client.CreateHITRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateHIT func (c *MTurk) CreateHITRequest(input *CreateHITInput) (req *request.Request, output *CreateHITOutput) { @@ -475,12 +474,13 @@ func (c *MTurk) CreateHITRequest(input *CreateHITInput) (req *request.Request, o // API operation CreateHIT for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateHIT func (c *MTurk) CreateHIT(input *CreateHITInput) (*CreateHITOutput, error) { @@ -520,14 +520,13 @@ const opCreateHITType = "CreateHITType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHITTypeRequest method. +// req, resp := client.CreateHITTypeRequest(params) // -// // Example sending a request using the CreateHITTypeRequest method. -// req, resp := client.CreateHITTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateHITType func (c *MTurk) CreateHITTypeRequest(input *CreateHITTypeInput) (req *request.Request, output *CreateHITTypeOutput) { @@ -561,12 +560,13 @@ func (c *MTurk) CreateHITTypeRequest(input *CreateHITTypeInput) (req *request.Re // API operation CreateHITType for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateHITType func (c *MTurk) CreateHITType(input *CreateHITTypeInput) (*CreateHITTypeOutput, error) { @@ -606,14 +606,13 @@ const opCreateHITWithHITType = "CreateHITWithHITType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHITWithHITTypeRequest method. +// req, resp := client.CreateHITWithHITTypeRequest(params) // -// // Example sending a request using the CreateHITWithHITTypeRequest method. -// req, resp := client.CreateHITWithHITTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateHITWithHITType func (c *MTurk) CreateHITWithHITTypeRequest(input *CreateHITWithHITTypeInput) (req *request.Request, output *CreateHITWithHITTypeOutput) { @@ -656,12 +655,13 @@ func (c *MTurk) CreateHITWithHITTypeRequest(input *CreateHITWithHITTypeInput) (r // API operation CreateHITWithHITType for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateHITWithHITType func (c *MTurk) CreateHITWithHITType(input *CreateHITWithHITTypeInput) (*CreateHITWithHITTypeOutput, error) { @@ -701,14 +701,13 @@ const opCreateQualificationType = "CreateQualificationType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateQualificationTypeRequest method. +// req, resp := client.CreateQualificationTypeRequest(params) // -// // Example sending a request using the CreateQualificationTypeRequest method. -// req, resp := client.CreateQualificationTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateQualificationType func (c *MTurk) CreateQualificationTypeRequest(input *CreateQualificationTypeInput) (req *request.Request, output *CreateQualificationTypeOutput) { @@ -740,12 +739,13 @@ func (c *MTurk) CreateQualificationTypeRequest(input *CreateQualificationTypeInp // API operation CreateQualificationType for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateQualificationType func (c *MTurk) CreateQualificationType(input *CreateQualificationTypeInput) (*CreateQualificationTypeOutput, error) { @@ -785,14 +785,13 @@ const opCreateWorkerBlock = "CreateWorkerBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorkerBlockRequest method. +// req, resp := client.CreateWorkerBlockRequest(params) // -// // Example sending a request using the CreateWorkerBlockRequest method. -// req, resp := client.CreateWorkerBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateWorkerBlock func (c *MTurk) CreateWorkerBlockRequest(input *CreateWorkerBlockInput) (req *request.Request, output *CreateWorkerBlockOutput) { @@ -826,12 +825,13 @@ func (c *MTurk) CreateWorkerBlockRequest(input *CreateWorkerBlockInput) (req *re // API operation CreateWorkerBlock for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/CreateWorkerBlock func (c *MTurk) CreateWorkerBlock(input *CreateWorkerBlockInput) (*CreateWorkerBlockOutput, error) { @@ -871,14 +871,13 @@ const opDeleteHIT = "DeleteHIT" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteHITRequest method. +// req, resp := client.DeleteHITRequest(params) // -// // Example sending a request using the DeleteHITRequest method. -// req, resp := client.DeleteHITRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/DeleteHIT func (c *MTurk) DeleteHITRequest(input *DeleteHITInput) (req *request.Request, output *DeleteHITOutput) { @@ -910,15 +909,15 @@ func (c *MTurk) DeleteHITRequest(input *DeleteHITInput) (req *request.Request, o // HIT that is Reviewable but without all of its submitted assignments already // approved or rejected, the service will return an error. // -// * HITs are automatically disposed of after 120 days. +// - HITs are automatically disposed of after 120 days. // -// * After you dispose of a HIT, you can no longer approve the HIT's rejected -// assignments. +// - After you dispose of a HIT, you can no longer approve the HIT's rejected +// assignments. // -// * Disposed HITs are not returned in results for the ListHITs operation. +// - Disposed HITs are not returned in results for the ListHITs operation. // -// * Disposing HITs can improve the performance of operations such as ListReviewableHITs -// and ListHITs. +// - Disposing HITs can improve the performance of operations such as ListReviewableHITs +// and ListHITs. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -928,12 +927,13 @@ func (c *MTurk) DeleteHITRequest(input *DeleteHITInput) (req *request.Request, o // API operation DeleteHIT for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/DeleteHIT func (c *MTurk) DeleteHIT(input *DeleteHITInput) (*DeleteHITOutput, error) { @@ -973,14 +973,13 @@ const opDeleteQualificationType = "DeleteQualificationType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteQualificationTypeRequest method. +// req, resp := client.DeleteQualificationTypeRequest(params) // -// // Example sending a request using the DeleteQualificationTypeRequest method. -// req, resp := client.DeleteQualificationTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/DeleteQualificationType func (c *MTurk) DeleteQualificationTypeRequest(input *DeleteQualificationTypeInput) (req *request.Request, output *DeleteQualificationTypeOutput) { @@ -1024,12 +1023,13 @@ func (c *MTurk) DeleteQualificationTypeRequest(input *DeleteQualificationTypeInp // API operation DeleteQualificationType for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/DeleteQualificationType func (c *MTurk) DeleteQualificationType(input *DeleteQualificationTypeInput) (*DeleteQualificationTypeOutput, error) { @@ -1069,14 +1069,13 @@ const opDeleteWorkerBlock = "DeleteWorkerBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorkerBlockRequest method. +// req, resp := client.DeleteWorkerBlockRequest(params) // -// // Example sending a request using the DeleteWorkerBlockRequest method. -// req, resp := client.DeleteWorkerBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/DeleteWorkerBlock func (c *MTurk) DeleteWorkerBlockRequest(input *DeleteWorkerBlockInput) (req *request.Request, output *DeleteWorkerBlockOutput) { @@ -1113,12 +1112,13 @@ func (c *MTurk) DeleteWorkerBlockRequest(input *DeleteWorkerBlockInput) (req *re // API operation DeleteWorkerBlock for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/DeleteWorkerBlock func (c *MTurk) DeleteWorkerBlock(input *DeleteWorkerBlockInput) (*DeleteWorkerBlockOutput, error) { @@ -1158,14 +1158,13 @@ const opDisassociateQualificationFromWorker = "DisassociateQualificationFromWork // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateQualificationFromWorkerRequest method. +// req, resp := client.DisassociateQualificationFromWorkerRequest(params) // -// // Example sending a request using the DisassociateQualificationFromWorkerRequest method. -// req, resp := client.DisassociateQualificationFromWorkerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/DisassociateQualificationFromWorker func (c *MTurk) DisassociateQualificationFromWorkerRequest(input *DisassociateQualificationFromWorkerInput) (req *request.Request, output *DisassociateQualificationFromWorkerOutput) { @@ -1201,12 +1200,13 @@ func (c *MTurk) DisassociateQualificationFromWorkerRequest(input *DisassociateQu // API operation DisassociateQualificationFromWorker for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/DisassociateQualificationFromWorker func (c *MTurk) DisassociateQualificationFromWorker(input *DisassociateQualificationFromWorkerInput) (*DisassociateQualificationFromWorkerOutput, error) { @@ -1246,14 +1246,13 @@ const opGetAccountBalance = "GetAccountBalance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountBalanceRequest method. +// req, resp := client.GetAccountBalanceRequest(params) // -// // Example sending a request using the GetAccountBalanceRequest method. -// req, resp := client.GetAccountBalanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetAccountBalance func (c *MTurk) GetAccountBalanceRequest(input *GetAccountBalanceInput) (req *request.Request, output *GetAccountBalanceOutput) { @@ -1289,12 +1288,13 @@ func (c *MTurk) GetAccountBalanceRequest(input *GetAccountBalanceInput) (req *re // API operation GetAccountBalance for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetAccountBalance func (c *MTurk) GetAccountBalance(input *GetAccountBalanceInput) (*GetAccountBalanceOutput, error) { @@ -1334,14 +1334,13 @@ const opGetAssignment = "GetAssignment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssignmentRequest method. +// req, resp := client.GetAssignmentRequest(params) // -// // Example sending a request using the GetAssignmentRequest method. -// req, resp := client.GetAssignmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetAssignment func (c *MTurk) GetAssignmentRequest(input *GetAssignmentInput) (req *request.Request, output *GetAssignmentOutput) { @@ -1372,12 +1371,13 @@ func (c *MTurk) GetAssignmentRequest(input *GetAssignmentInput) (req *request.Re // API operation GetAssignment for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetAssignment func (c *MTurk) GetAssignment(input *GetAssignmentInput) (*GetAssignmentOutput, error) { @@ -1417,14 +1417,13 @@ const opGetFileUploadURL = "GetFileUploadURL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFileUploadURLRequest method. +// req, resp := client.GetFileUploadURLRequest(params) // -// // Example sending a request using the GetFileUploadURLRequest method. -// req, resp := client.GetFileUploadURLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetFileUploadURL func (c *MTurk) GetFileUploadURLRequest(input *GetFileUploadURLInput) (req *request.Request, output *GetFileUploadURLOutput) { @@ -1465,12 +1464,13 @@ func (c *MTurk) GetFileUploadURLRequest(input *GetFileUploadURLInput) (req *requ // API operation GetFileUploadURL for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetFileUploadURL func (c *MTurk) GetFileUploadURL(input *GetFileUploadURLInput) (*GetFileUploadURLOutput, error) { @@ -1510,14 +1510,13 @@ const opGetHIT = "GetHIT" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetHITRequest method. +// req, resp := client.GetHITRequest(params) // -// // Example sending a request using the GetHITRequest method. -// req, resp := client.GetHITRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetHIT func (c *MTurk) GetHITRequest(input *GetHITInput) (req *request.Request, output *GetHITOutput) { @@ -1548,12 +1547,13 @@ func (c *MTurk) GetHITRequest(input *GetHITInput) (req *request.Request, output // API operation GetHIT for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetHIT func (c *MTurk) GetHIT(input *GetHITInput) (*GetHITOutput, error) { @@ -1593,14 +1593,13 @@ const opGetQualificationScore = "GetQualificationScore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetQualificationScoreRequest method. +// req, resp := client.GetQualificationScoreRequest(params) // -// // Example sending a request using the GetQualificationScoreRequest method. -// req, resp := client.GetQualificationScoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetQualificationScore func (c *MTurk) GetQualificationScoreRequest(input *GetQualificationScoreInput) (req *request.Request, output *GetQualificationScoreOutput) { @@ -1639,12 +1638,13 @@ func (c *MTurk) GetQualificationScoreRequest(input *GetQualificationScoreInput) // API operation GetQualificationScore for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetQualificationScore func (c *MTurk) GetQualificationScore(input *GetQualificationScoreInput) (*GetQualificationScoreOutput, error) { @@ -1684,14 +1684,13 @@ const opGetQualificationType = "GetQualificationType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetQualificationTypeRequest method. +// req, resp := client.GetQualificationTypeRequest(params) // -// // Example sending a request using the GetQualificationTypeRequest method. -// req, resp := client.GetQualificationTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetQualificationType func (c *MTurk) GetQualificationTypeRequest(input *GetQualificationTypeInput) (req *request.Request, output *GetQualificationTypeOutput) { @@ -1723,12 +1722,13 @@ func (c *MTurk) GetQualificationTypeRequest(input *GetQualificationTypeInput) (r // API operation GetQualificationType for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/GetQualificationType func (c *MTurk) GetQualificationType(input *GetQualificationTypeInput) (*GetQualificationTypeOutput, error) { @@ -1768,14 +1768,13 @@ const opListAssignmentsForHIT = "ListAssignmentsForHIT" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssignmentsForHITRequest method. +// req, resp := client.ListAssignmentsForHITRequest(params) // -// // Example sending a request using the ListAssignmentsForHITRequest method. -// req, resp := client.ListAssignmentsForHITRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListAssignmentsForHIT func (c *MTurk) ListAssignmentsForHITRequest(input *ListAssignmentsForHITInput) (req *request.Request, output *ListAssignmentsForHITOutput) { @@ -1832,12 +1831,13 @@ func (c *MTurk) ListAssignmentsForHITRequest(input *ListAssignmentsForHITInput) // API operation ListAssignmentsForHIT for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListAssignmentsForHIT func (c *MTurk) ListAssignmentsForHIT(input *ListAssignmentsForHITInput) (*ListAssignmentsForHITOutput, error) { @@ -1869,15 +1869,14 @@ func (c *MTurk) ListAssignmentsForHITWithContext(ctx aws.Context, input *ListAss // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssignmentsForHIT operation. -// pageNum := 0 -// err := client.ListAssignmentsForHITPages(params, -// func(page *mturk.ListAssignmentsForHITOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssignmentsForHIT operation. +// pageNum := 0 +// err := client.ListAssignmentsForHITPages(params, +// func(page *mturk.ListAssignmentsForHITOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MTurk) ListAssignmentsForHITPages(input *ListAssignmentsForHITInput, fn func(*ListAssignmentsForHITOutput, bool) bool) error { return c.ListAssignmentsForHITPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1929,14 +1928,13 @@ const opListBonusPayments = "ListBonusPayments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBonusPaymentsRequest method. +// req, resp := client.ListBonusPaymentsRequest(params) // -// // Example sending a request using the ListBonusPaymentsRequest method. -// req, resp := client.ListBonusPaymentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListBonusPayments func (c *MTurk) ListBonusPaymentsRequest(input *ListBonusPaymentsInput) (req *request.Request, output *ListBonusPaymentsOutput) { @@ -1974,12 +1972,13 @@ func (c *MTurk) ListBonusPaymentsRequest(input *ListBonusPaymentsInput) (req *re // API operation ListBonusPayments for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListBonusPayments func (c *MTurk) ListBonusPayments(input *ListBonusPaymentsInput) (*ListBonusPaymentsOutput, error) { @@ -2011,15 +2010,14 @@ func (c *MTurk) ListBonusPaymentsWithContext(ctx aws.Context, input *ListBonusPa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBonusPayments operation. -// pageNum := 0 -// err := client.ListBonusPaymentsPages(params, -// func(page *mturk.ListBonusPaymentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBonusPayments operation. +// pageNum := 0 +// err := client.ListBonusPaymentsPages(params, +// func(page *mturk.ListBonusPaymentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MTurk) ListBonusPaymentsPages(input *ListBonusPaymentsInput, fn func(*ListBonusPaymentsOutput, bool) bool) error { return c.ListBonusPaymentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2071,14 +2069,13 @@ const opListHITs = "ListHITs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHITsRequest method. +// req, resp := client.ListHITsRequest(params) // -// // Example sending a request using the ListHITsRequest method. -// req, resp := client.ListHITsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListHITs func (c *MTurk) ListHITsRequest(input *ListHITsInput) (req *request.Request, output *ListHITsOutput) { @@ -2117,12 +2114,13 @@ func (c *MTurk) ListHITsRequest(input *ListHITsInput) (req *request.Request, out // API operation ListHITs for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListHITs func (c *MTurk) ListHITs(input *ListHITsInput) (*ListHITsOutput, error) { @@ -2154,15 +2152,14 @@ func (c *MTurk) ListHITsWithContext(ctx aws.Context, input *ListHITsInput, opts // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListHITs operation. -// pageNum := 0 -// err := client.ListHITsPages(params, -// func(page *mturk.ListHITsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListHITs operation. +// pageNum := 0 +// err := client.ListHITsPages(params, +// func(page *mturk.ListHITsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MTurk) ListHITsPages(input *ListHITsInput, fn func(*ListHITsOutput, bool) bool) error { return c.ListHITsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2214,14 +2211,13 @@ const opListHITsForQualificationType = "ListHITsForQualificationType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHITsForQualificationTypeRequest method. +// req, resp := client.ListHITsForQualificationTypeRequest(params) // -// // Example sending a request using the ListHITsForQualificationTypeRequest method. -// req, resp := client.ListHITsForQualificationTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListHITsForQualificationType func (c *MTurk) ListHITsForQualificationTypeRequest(input *ListHITsForQualificationTypeInput) (req *request.Request, output *ListHITsForQualificationTypeOutput) { @@ -2261,12 +2257,13 @@ func (c *MTurk) ListHITsForQualificationTypeRequest(input *ListHITsForQualificat // API operation ListHITsForQualificationType for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListHITsForQualificationType func (c *MTurk) ListHITsForQualificationType(input *ListHITsForQualificationTypeInput) (*ListHITsForQualificationTypeOutput, error) { @@ -2298,15 +2295,14 @@ func (c *MTurk) ListHITsForQualificationTypeWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListHITsForQualificationType operation. -// pageNum := 0 -// err := client.ListHITsForQualificationTypePages(params, -// func(page *mturk.ListHITsForQualificationTypeOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListHITsForQualificationType operation. +// pageNum := 0 +// err := client.ListHITsForQualificationTypePages(params, +// func(page *mturk.ListHITsForQualificationTypeOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MTurk) ListHITsForQualificationTypePages(input *ListHITsForQualificationTypeInput, fn func(*ListHITsForQualificationTypeOutput, bool) bool) error { return c.ListHITsForQualificationTypePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2358,14 +2354,13 @@ const opListQualificationRequests = "ListQualificationRequests" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListQualificationRequestsRequest method. +// req, resp := client.ListQualificationRequestsRequest(params) // -// // Example sending a request using the ListQualificationRequestsRequest method. -// req, resp := client.ListQualificationRequestsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListQualificationRequests func (c *MTurk) ListQualificationRequestsRequest(input *ListQualificationRequestsInput) (req *request.Request, output *ListQualificationRequestsOutput) { @@ -2405,12 +2400,13 @@ func (c *MTurk) ListQualificationRequestsRequest(input *ListQualificationRequest // API operation ListQualificationRequests for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListQualificationRequests func (c *MTurk) ListQualificationRequests(input *ListQualificationRequestsInput) (*ListQualificationRequestsOutput, error) { @@ -2442,15 +2438,14 @@ func (c *MTurk) ListQualificationRequestsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListQualificationRequests operation. -// pageNum := 0 -// err := client.ListQualificationRequestsPages(params, -// func(page *mturk.ListQualificationRequestsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListQualificationRequests operation. +// pageNum := 0 +// err := client.ListQualificationRequestsPages(params, +// func(page *mturk.ListQualificationRequestsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MTurk) ListQualificationRequestsPages(input *ListQualificationRequestsInput, fn func(*ListQualificationRequestsOutput, bool) bool) error { return c.ListQualificationRequestsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2502,14 +2497,13 @@ const opListQualificationTypes = "ListQualificationTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListQualificationTypesRequest method. +// req, resp := client.ListQualificationTypesRequest(params) // -// // Example sending a request using the ListQualificationTypesRequest method. -// req, resp := client.ListQualificationTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListQualificationTypes func (c *MTurk) ListQualificationTypesRequest(input *ListQualificationTypesInput) (req *request.Request, output *ListQualificationTypesOutput) { @@ -2547,12 +2541,13 @@ func (c *MTurk) ListQualificationTypesRequest(input *ListQualificationTypesInput // API operation ListQualificationTypes for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListQualificationTypes func (c *MTurk) ListQualificationTypes(input *ListQualificationTypesInput) (*ListQualificationTypesOutput, error) { @@ -2584,15 +2579,14 @@ func (c *MTurk) ListQualificationTypesWithContext(ctx aws.Context, input *ListQu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListQualificationTypes operation. -// pageNum := 0 -// err := client.ListQualificationTypesPages(params, -// func(page *mturk.ListQualificationTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListQualificationTypes operation. +// pageNum := 0 +// err := client.ListQualificationTypesPages(params, +// func(page *mturk.ListQualificationTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MTurk) ListQualificationTypesPages(input *ListQualificationTypesInput, fn func(*ListQualificationTypesOutput, bool) bool) error { return c.ListQualificationTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2644,14 +2638,13 @@ const opListReviewPolicyResultsForHIT = "ListReviewPolicyResultsForHIT" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReviewPolicyResultsForHITRequest method. +// req, resp := client.ListReviewPolicyResultsForHITRequest(params) // -// // Example sending a request using the ListReviewPolicyResultsForHITRequest method. -// req, resp := client.ListReviewPolicyResultsForHITRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListReviewPolicyResultsForHIT func (c *MTurk) ListReviewPolicyResultsForHITRequest(input *ListReviewPolicyResultsForHITInput) (req *request.Request, output *ListReviewPolicyResultsForHITOutput) { @@ -2692,12 +2685,13 @@ func (c *MTurk) ListReviewPolicyResultsForHITRequest(input *ListReviewPolicyResu // API operation ListReviewPolicyResultsForHIT for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListReviewPolicyResultsForHIT func (c *MTurk) ListReviewPolicyResultsForHIT(input *ListReviewPolicyResultsForHITInput) (*ListReviewPolicyResultsForHITOutput, error) { @@ -2729,15 +2723,14 @@ func (c *MTurk) ListReviewPolicyResultsForHITWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListReviewPolicyResultsForHIT operation. -// pageNum := 0 -// err := client.ListReviewPolicyResultsForHITPages(params, -// func(page *mturk.ListReviewPolicyResultsForHITOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListReviewPolicyResultsForHIT operation. +// pageNum := 0 +// err := client.ListReviewPolicyResultsForHITPages(params, +// func(page *mturk.ListReviewPolicyResultsForHITOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MTurk) ListReviewPolicyResultsForHITPages(input *ListReviewPolicyResultsForHITInput, fn func(*ListReviewPolicyResultsForHITOutput, bool) bool) error { return c.ListReviewPolicyResultsForHITPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2789,14 +2782,13 @@ const opListReviewableHITs = "ListReviewableHITs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReviewableHITsRequest method. +// req, resp := client.ListReviewableHITsRequest(params) // -// // Example sending a request using the ListReviewableHITsRequest method. -// req, resp := client.ListReviewableHITsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListReviewableHITs func (c *MTurk) ListReviewableHITsRequest(input *ListReviewableHITsInput) (req *request.Request, output *ListReviewableHITsOutput) { @@ -2835,12 +2827,13 @@ func (c *MTurk) ListReviewableHITsRequest(input *ListReviewableHITsInput) (req * // API operation ListReviewableHITs for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListReviewableHITs func (c *MTurk) ListReviewableHITs(input *ListReviewableHITsInput) (*ListReviewableHITsOutput, error) { @@ -2872,15 +2865,14 @@ func (c *MTurk) ListReviewableHITsWithContext(ctx aws.Context, input *ListReview // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListReviewableHITs operation. -// pageNum := 0 -// err := client.ListReviewableHITsPages(params, -// func(page *mturk.ListReviewableHITsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListReviewableHITs operation. +// pageNum := 0 +// err := client.ListReviewableHITsPages(params, +// func(page *mturk.ListReviewableHITsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MTurk) ListReviewableHITsPages(input *ListReviewableHITsInput, fn func(*ListReviewableHITsOutput, bool) bool) error { return c.ListReviewableHITsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2932,14 +2924,13 @@ const opListWorkerBlocks = "ListWorkerBlocks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorkerBlocksRequest method. +// req, resp := client.ListWorkerBlocksRequest(params) // -// // Example sending a request using the ListWorkerBlocksRequest method. -// req, resp := client.ListWorkerBlocksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListWorkerBlocks func (c *MTurk) ListWorkerBlocksRequest(input *ListWorkerBlocksInput) (req *request.Request, output *ListWorkerBlocksOutput) { @@ -2977,12 +2968,13 @@ func (c *MTurk) ListWorkerBlocksRequest(input *ListWorkerBlocksInput) (req *requ // API operation ListWorkerBlocks for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListWorkerBlocks func (c *MTurk) ListWorkerBlocks(input *ListWorkerBlocksInput) (*ListWorkerBlocksOutput, error) { @@ -3014,15 +3006,14 @@ func (c *MTurk) ListWorkerBlocksWithContext(ctx aws.Context, input *ListWorkerBl // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorkerBlocks operation. -// pageNum := 0 -// err := client.ListWorkerBlocksPages(params, -// func(page *mturk.ListWorkerBlocksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorkerBlocks operation. +// pageNum := 0 +// err := client.ListWorkerBlocksPages(params, +// func(page *mturk.ListWorkerBlocksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MTurk) ListWorkerBlocksPages(input *ListWorkerBlocksInput, fn func(*ListWorkerBlocksOutput, bool) bool) error { return c.ListWorkerBlocksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3074,14 +3065,13 @@ const opListWorkersWithQualificationType = "ListWorkersWithQualificationType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorkersWithQualificationTypeRequest method. +// req, resp := client.ListWorkersWithQualificationTypeRequest(params) // -// // Example sending a request using the ListWorkersWithQualificationTypeRequest method. -// req, resp := client.ListWorkersWithQualificationTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListWorkersWithQualificationType func (c *MTurk) ListWorkersWithQualificationTypeRequest(input *ListWorkersWithQualificationTypeInput) (req *request.Request, output *ListWorkersWithQualificationTypeOutput) { @@ -3119,12 +3109,13 @@ func (c *MTurk) ListWorkersWithQualificationTypeRequest(input *ListWorkersWithQu // API operation ListWorkersWithQualificationType for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListWorkersWithQualificationType func (c *MTurk) ListWorkersWithQualificationType(input *ListWorkersWithQualificationTypeInput) (*ListWorkersWithQualificationTypeOutput, error) { @@ -3156,15 +3147,14 @@ func (c *MTurk) ListWorkersWithQualificationTypeWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorkersWithQualificationType operation. -// pageNum := 0 -// err := client.ListWorkersWithQualificationTypePages(params, -// func(page *mturk.ListWorkersWithQualificationTypeOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorkersWithQualificationType operation. +// pageNum := 0 +// err := client.ListWorkersWithQualificationTypePages(params, +// func(page *mturk.ListWorkersWithQualificationTypeOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MTurk) ListWorkersWithQualificationTypePages(input *ListWorkersWithQualificationTypeInput, fn func(*ListWorkersWithQualificationTypeOutput, bool) bool) error { return c.ListWorkersWithQualificationTypePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3216,14 +3206,13 @@ const opNotifyWorkers = "NotifyWorkers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the NotifyWorkersRequest method. +// req, resp := client.NotifyWorkersRequest(params) // -// // Example sending a request using the NotifyWorkersRequest method. -// req, resp := client.NotifyWorkersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/NotifyWorkers func (c *MTurk) NotifyWorkersRequest(input *NotifyWorkersInput) (req *request.Request, output *NotifyWorkersOutput) { @@ -3258,12 +3247,13 @@ func (c *MTurk) NotifyWorkersRequest(input *NotifyWorkersInput) (req *request.Re // API operation NotifyWorkers for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/NotifyWorkers func (c *MTurk) NotifyWorkers(input *NotifyWorkersInput) (*NotifyWorkersOutput, error) { @@ -3303,14 +3293,13 @@ const opRejectAssignment = "RejectAssignment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectAssignmentRequest method. +// req, resp := client.RejectAssignmentRequest(params) // -// // Example sending a request using the RejectAssignmentRequest method. -// req, resp := client.RejectAssignmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/RejectAssignment func (c *MTurk) RejectAssignmentRequest(input *RejectAssignmentInput) (req *request.Request, output *RejectAssignmentOutput) { @@ -3350,12 +3339,13 @@ func (c *MTurk) RejectAssignmentRequest(input *RejectAssignmentInput) (req *requ // API operation RejectAssignment for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/RejectAssignment func (c *MTurk) RejectAssignment(input *RejectAssignmentInput) (*RejectAssignmentOutput, error) { @@ -3395,14 +3385,13 @@ const opRejectQualificationRequest = "RejectQualificationRequest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectQualificationRequestRequest method. +// req, resp := client.RejectQualificationRequestRequest(params) // -// // Example sending a request using the RejectQualificationRequestRequest method. -// req, resp := client.RejectQualificationRequestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/RejectQualificationRequest func (c *MTurk) RejectQualificationRequestRequest(input *RejectQualificationRequestInput) (req *request.Request, output *RejectQualificationRequestOutput) { @@ -3437,12 +3426,13 @@ func (c *MTurk) RejectQualificationRequestRequest(input *RejectQualificationRequ // API operation RejectQualificationRequest for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/RejectQualificationRequest func (c *MTurk) RejectQualificationRequest(input *RejectQualificationRequestInput) (*RejectQualificationRequestOutput, error) { @@ -3482,14 +3472,13 @@ const opSendBonus = "SendBonus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendBonusRequest method. +// req, resp := client.SendBonusRequest(params) // -// // Example sending a request using the SendBonusRequest method. -// req, resp := client.SendBonusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/SendBonus func (c *MTurk) SendBonusRequest(input *SendBonusInput) (req *request.Request, output *SendBonusOutput) { @@ -3529,12 +3518,13 @@ func (c *MTurk) SendBonusRequest(input *SendBonusInput) (req *request.Request, o // API operation SendBonus for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/SendBonus func (c *MTurk) SendBonus(input *SendBonusInput) (*SendBonusOutput, error) { @@ -3574,14 +3564,13 @@ const opSendTestEventNotification = "SendTestEventNotification" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendTestEventNotificationRequest method. +// req, resp := client.SendTestEventNotificationRequest(params) // -// // Example sending a request using the SendTestEventNotificationRequest method. -// req, resp := client.SendTestEventNotificationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/SendTestEventNotification func (c *MTurk) SendTestEventNotificationRequest(input *SendTestEventNotificationInput) (req *request.Request, output *SendTestEventNotificationOutput) { @@ -3618,12 +3607,13 @@ func (c *MTurk) SendTestEventNotificationRequest(input *SendTestEventNotificatio // API operation SendTestEventNotification for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/SendTestEventNotification func (c *MTurk) SendTestEventNotification(input *SendTestEventNotificationInput) (*SendTestEventNotificationOutput, error) { @@ -3663,14 +3653,13 @@ const opUpdateExpirationForHIT = "UpdateExpirationForHIT" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateExpirationForHITRequest method. +// req, resp := client.UpdateExpirationForHITRequest(params) // -// // Example sending a request using the UpdateExpirationForHITRequest method. -// req, resp := client.UpdateExpirationForHITRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateExpirationForHIT func (c *MTurk) UpdateExpirationForHITRequest(input *UpdateExpirationForHITInput) (req *request.Request, output *UpdateExpirationForHITOutput) { @@ -3704,12 +3693,13 @@ func (c *MTurk) UpdateExpirationForHITRequest(input *UpdateExpirationForHITInput // API operation UpdateExpirationForHIT for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateExpirationForHIT func (c *MTurk) UpdateExpirationForHIT(input *UpdateExpirationForHITInput) (*UpdateExpirationForHITOutput, error) { @@ -3749,14 +3739,13 @@ const opUpdateHITReviewStatus = "UpdateHITReviewStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateHITReviewStatusRequest method. +// req, resp := client.UpdateHITReviewStatusRequest(params) // -// // Example sending a request using the UpdateHITReviewStatusRequest method. -// req, resp := client.UpdateHITReviewStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateHITReviewStatus func (c *MTurk) UpdateHITReviewStatusRequest(input *UpdateHITReviewStatusInput) (req *request.Request, output *UpdateHITReviewStatusOutput) { @@ -3790,12 +3779,13 @@ func (c *MTurk) UpdateHITReviewStatusRequest(input *UpdateHITReviewStatusInput) // API operation UpdateHITReviewStatus for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateHITReviewStatus func (c *MTurk) UpdateHITReviewStatus(input *UpdateHITReviewStatusInput) (*UpdateHITReviewStatusOutput, error) { @@ -3835,14 +3825,13 @@ const opUpdateHITTypeOfHIT = "UpdateHITTypeOfHIT" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateHITTypeOfHITRequest method. +// req, resp := client.UpdateHITTypeOfHITRequest(params) // -// // Example sending a request using the UpdateHITTypeOfHITRequest method. -// req, resp := client.UpdateHITTypeOfHITRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateHITTypeOfHIT func (c *MTurk) UpdateHITTypeOfHITRequest(input *UpdateHITTypeOfHITInput) (req *request.Request, output *UpdateHITTypeOfHITOutput) { @@ -3877,12 +3866,13 @@ func (c *MTurk) UpdateHITTypeOfHITRequest(input *UpdateHITTypeOfHITInput) (req * // API operation UpdateHITTypeOfHIT for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateHITTypeOfHIT func (c *MTurk) UpdateHITTypeOfHIT(input *UpdateHITTypeOfHITInput) (*UpdateHITTypeOfHITOutput, error) { @@ -3922,14 +3912,13 @@ const opUpdateNotificationSettings = "UpdateNotificationSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNotificationSettingsRequest method. +// req, resp := client.UpdateNotificationSettingsRequest(params) // -// // Example sending a request using the UpdateNotificationSettingsRequest method. -// req, resp := client.UpdateNotificationSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateNotificationSettings func (c *MTurk) UpdateNotificationSettingsRequest(input *UpdateNotificationSettingsInput) (req *request.Request, output *UpdateNotificationSettingsOutput) { @@ -3970,12 +3959,13 @@ func (c *MTurk) UpdateNotificationSettingsRequest(input *UpdateNotificationSetti // API operation UpdateNotificationSettings for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateNotificationSettings func (c *MTurk) UpdateNotificationSettings(input *UpdateNotificationSettingsInput) (*UpdateNotificationSettingsOutput, error) { @@ -4015,14 +4005,13 @@ const opUpdateQualificationType = "UpdateQualificationType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateQualificationTypeRequest method. +// req, resp := client.UpdateQualificationTypeRequest(params) // -// // Example sending a request using the UpdateQualificationTypeRequest method. -// req, resp := client.UpdateQualificationTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateQualificationType func (c *MTurk) UpdateQualificationTypeRequest(input *UpdateQualificationTypeInput) (req *request.Request, output *UpdateQualificationTypeOutput) { @@ -4083,12 +4072,13 @@ func (c *MTurk) UpdateQualificationTypeRequest(input *UpdateQualificationTypeInp // API operation UpdateQualificationType for usage and error information. // // Returned Error Types: -// * ServiceFault -// Amazon Mechanical Turk is temporarily unable to process your request. Try -// your call again. // -// * RequestError -// Your request is invalid. +// - ServiceFault +// Amazon Mechanical Turk is temporarily unable to process your request. Try +// your call again. +// +// - RequestError +// Your request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/UpdateQualificationType func (c *MTurk) UpdateQualificationType(input *UpdateQualificationTypeInput) (*UpdateQualificationTypeOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/doc.go index d94fe5a6aff4..fb584eb9392a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/doc.go @@ -3,14 +3,14 @@ // Package mturk provides the client and types for making API // requests to Amazon Mechanical Turk. // -// Amazon Mechanical Turk API Reference +// # Amazon Mechanical Turk API Reference // // See https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17 for more information on this service. // // See mturk package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/mturk/ // -// Using the Client +// # Using the Client // // To contact Amazon Mechanical Turk with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/mturkiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/mturkiface/interface.go index 37485e349c51..be098278af59 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/mturkiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/mturkiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Mechanical Turk. -// func myFunc(svc mturkiface.MTurkAPI) bool { -// // Make svc.AcceptQualificationRequest request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Mechanical Turk. +// func myFunc(svc mturkiface.MTurkAPI) bool { +// // Make svc.AcceptQualificationRequest request +// } // -// func main() { -// sess := session.New() -// svc := mturk.New(sess) +// func main() { +// sess := session.New() +// svc := mturk.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMTurkClient struct { -// mturkiface.MTurkAPI -// } -// func (m *mockMTurkClient) AcceptQualificationRequest(input *mturk.AcceptQualificationRequestInput) (*mturk.AcceptQualificationRequestOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMTurkClient struct { +// mturkiface.MTurkAPI +// } +// func (m *mockMTurkClient) AcceptQualificationRequest(input *mturk.AcceptQualificationRequestInput) (*mturk.AcceptQualificationRequestOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMTurkClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMTurkClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/service.go index ca57a68eb35a..5831f2d9601e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mturk/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MTurk client from just a session. -// svc := mturk.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MTurk client with additional configuration -// svc := mturk.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MTurk client from just a session. +// svc := mturk.New(mySession) +// +// // Create a MTurk client with additional configuration +// svc := mturk.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MTurk { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/api.go index 57d144ad88f6..d1e68f3afae4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/api.go @@ -29,14 +29,13 @@ const opCreateCliToken = "CreateCliToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCliTokenRequest method. +// req, resp := client.CreateCliTokenRequest(params) // -// // Example sending a request using the CreateCliTokenRequest method. -// req, resp := client.CreateCliTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/CreateCliToken func (c *MWAA) CreateCliTokenRequest(input *CreateCliTokenInput) (req *request.Request, output *CreateCliTokenOutput) { @@ -70,8 +69,8 @@ func (c *MWAA) CreateCliTokenRequest(input *CreateCliTokenInput) (req *request.R // API operation CreateCliToken for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// ResourceNotFoundException: The resource is not available. +// - ResourceNotFoundException +// ResourceNotFoundException: The resource is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/CreateCliToken func (c *MWAA) CreateCliToken(input *CreateCliTokenInput) (*CreateCliTokenOutput, error) { @@ -111,14 +110,13 @@ const opCreateEnvironment = "CreateEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEnvironmentRequest method. +// req, resp := client.CreateEnvironmentRequest(params) // -// // Example sending a request using the CreateEnvironmentRequest method. -// req, resp := client.CreateEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/CreateEnvironment func (c *MWAA) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req *request.Request, output *CreateEnvironmentOutput) { @@ -151,11 +149,12 @@ func (c *MWAA) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req *req // API operation CreateEnvironment for usage and error information. // // Returned Error Types: -// * ValidationException -// ValidationException: The provided input is not valid. // -// * InternalServerException -// InternalServerException: An internal error has occurred. +// - ValidationException +// ValidationException: The provided input is not valid. +// +// - InternalServerException +// InternalServerException: An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/CreateEnvironment func (c *MWAA) CreateEnvironment(input *CreateEnvironmentInput) (*CreateEnvironmentOutput, error) { @@ -195,14 +194,13 @@ const opCreateWebLoginToken = "CreateWebLoginToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWebLoginTokenRequest method. +// req, resp := client.CreateWebLoginTokenRequest(params) // -// // Example sending a request using the CreateWebLoginTokenRequest method. -// req, resp := client.CreateWebLoginTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/CreateWebLoginToken func (c *MWAA) CreateWebLoginTokenRequest(input *CreateWebLoginTokenInput) (req *request.Request, output *CreateWebLoginTokenOutput) { @@ -236,18 +234,19 @@ func (c *MWAA) CreateWebLoginTokenRequest(input *CreateWebLoginTokenInput) (req // API operation CreateWebLoginToken for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// Access to the Apache Airflow Web UI or CLI has been denied due to insufficient -// permissions. To learn more, see Accessing an Amazon MWAA environment (https://docs.aws.amazon.com/mwaa/latest/userguide/access-policies.html). // -// * ResourceNotFoundException -// ResourceNotFoundException: The resource is not available. +// - AccessDeniedException +// Access to the Apache Airflow Web UI or CLI has been denied due to insufficient +// permissions. To learn more, see Accessing an Amazon MWAA environment (https://docs.aws.amazon.com/mwaa/latest/userguide/access-policies.html). +// +// - ResourceNotFoundException +// ResourceNotFoundException: The resource is not available. // -// * ValidationException -// ValidationException: The provided input is not valid. +// - ValidationException +// ValidationException: The provided input is not valid. // -// * InternalServerException -// InternalServerException: An internal error has occurred. +// - InternalServerException +// InternalServerException: An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/CreateWebLoginToken func (c *MWAA) CreateWebLoginToken(input *CreateWebLoginTokenInput) (*CreateWebLoginTokenOutput, error) { @@ -287,14 +286,13 @@ const opDeleteEnvironment = "DeleteEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEnvironmentRequest method. +// req, resp := client.DeleteEnvironmentRequest(params) // -// // Example sending a request using the DeleteEnvironmentRequest method. -// req, resp := client.DeleteEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/DeleteEnvironment func (c *MWAA) DeleteEnvironmentRequest(input *DeleteEnvironmentInput) (req *request.Request, output *DeleteEnvironmentOutput) { @@ -328,14 +326,15 @@ func (c *MWAA) DeleteEnvironmentRequest(input *DeleteEnvironmentInput) (req *req // API operation DeleteEnvironment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// ResourceNotFoundException: The resource is not available. // -// * ValidationException -// ValidationException: The provided input is not valid. +// - ResourceNotFoundException +// ResourceNotFoundException: The resource is not available. // -// * InternalServerException -// InternalServerException: An internal error has occurred. +// - ValidationException +// ValidationException: The provided input is not valid. +// +// - InternalServerException +// InternalServerException: An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/DeleteEnvironment func (c *MWAA) DeleteEnvironment(input *DeleteEnvironmentInput) (*DeleteEnvironmentOutput, error) { @@ -375,14 +374,13 @@ const opGetEnvironment = "GetEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEnvironmentRequest method. +// req, resp := client.GetEnvironmentRequest(params) // -// // Example sending a request using the GetEnvironmentRequest method. -// req, resp := client.GetEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/GetEnvironment func (c *MWAA) GetEnvironmentRequest(input *GetEnvironmentInput) (req *request.Request, output *GetEnvironmentOutput) { @@ -415,14 +413,15 @@ func (c *MWAA) GetEnvironmentRequest(input *GetEnvironmentInput) (req *request.R // API operation GetEnvironment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// ResourceNotFoundException: The resource is not available. // -// * ValidationException -// ValidationException: The provided input is not valid. +// - ResourceNotFoundException +// ResourceNotFoundException: The resource is not available. +// +// - ValidationException +// ValidationException: The provided input is not valid. // -// * InternalServerException -// InternalServerException: An internal error has occurred. +// - InternalServerException +// InternalServerException: An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/GetEnvironment func (c *MWAA) GetEnvironment(input *GetEnvironmentInput) (*GetEnvironmentOutput, error) { @@ -462,14 +461,13 @@ const opListEnvironments = "ListEnvironments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEnvironmentsRequest method. +// req, resp := client.ListEnvironmentsRequest(params) // -// // Example sending a request using the ListEnvironmentsRequest method. -// req, resp := client.ListEnvironmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/ListEnvironments func (c *MWAA) ListEnvironmentsRequest(input *ListEnvironmentsInput) (req *request.Request, output *ListEnvironmentsOutput) { @@ -508,11 +506,12 @@ func (c *MWAA) ListEnvironmentsRequest(input *ListEnvironmentsInput) (req *reque // API operation ListEnvironments for usage and error information. // // Returned Error Types: -// * ValidationException -// ValidationException: The provided input is not valid. // -// * InternalServerException -// InternalServerException: An internal error has occurred. +// - ValidationException +// ValidationException: The provided input is not valid. +// +// - InternalServerException +// InternalServerException: An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/ListEnvironments func (c *MWAA) ListEnvironments(input *ListEnvironmentsInput) (*ListEnvironmentsOutput, error) { @@ -544,15 +543,14 @@ func (c *MWAA) ListEnvironmentsWithContext(ctx aws.Context, input *ListEnvironme // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEnvironments operation. -// pageNum := 0 -// err := client.ListEnvironmentsPages(params, -// func(page *mwaa.ListEnvironmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEnvironments operation. +// pageNum := 0 +// err := client.ListEnvironmentsPages(params, +// func(page *mwaa.ListEnvironmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *MWAA) ListEnvironmentsPages(input *ListEnvironmentsInput, fn func(*ListEnvironmentsOutput, bool) bool) error { return c.ListEnvironmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -604,14 +602,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/ListTagsForResource func (c *MWAA) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -645,14 +642,15 @@ func (c *MWAA) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// ResourceNotFoundException: The resource is not available. // -// * ValidationException -// ValidationException: The provided input is not valid. +// - ResourceNotFoundException +// ResourceNotFoundException: The resource is not available. +// +// - ValidationException +// ValidationException: The provided input is not valid. // -// * InternalServerException -// InternalServerException: An internal error has occurred. +// - InternalServerException +// InternalServerException: An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/ListTagsForResource func (c *MWAA) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -692,14 +690,13 @@ const opPublishMetrics = "PublishMetrics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PublishMetricsRequest method. +// req, resp := client.PublishMetricsRequest(params) // -// // Example sending a request using the PublishMetricsRequest method. -// req, resp := client.PublishMetricsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/PublishMetrics func (c *MWAA) PublishMetricsRequest(input *PublishMetricsInput) (req *request.Request, output *PublishMetricsOutput) { @@ -733,11 +730,12 @@ func (c *MWAA) PublishMetricsRequest(input *PublishMetricsInput) (req *request.R // API operation PublishMetrics for usage and error information. // // Returned Error Types: -// * ValidationException -// ValidationException: The provided input is not valid. // -// * InternalServerException -// InternalServerException: An internal error has occurred. +// - ValidationException +// ValidationException: The provided input is not valid. +// +// - InternalServerException +// InternalServerException: An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/PublishMetrics func (c *MWAA) PublishMetrics(input *PublishMetricsInput) (*PublishMetricsOutput, error) { @@ -777,14 +775,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/TagResource func (c *MWAA) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -819,14 +816,15 @@ func (c *MWAA) TagResourceRequest(input *TagResourceInput) (req *request.Request // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// ResourceNotFoundException: The resource is not available. // -// * ValidationException -// ValidationException: The provided input is not valid. +// - ResourceNotFoundException +// ResourceNotFoundException: The resource is not available. // -// * InternalServerException -// InternalServerException: An internal error has occurred. +// - ValidationException +// ValidationException: The provided input is not valid. +// +// - InternalServerException +// InternalServerException: An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/TagResource func (c *MWAA) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -866,14 +864,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/UntagResource func (c *MWAA) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -908,14 +905,15 @@ func (c *MWAA) UntagResourceRequest(input *UntagResourceInput) (req *request.Req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// ResourceNotFoundException: The resource is not available. // -// * ValidationException -// ValidationException: The provided input is not valid. +// - ResourceNotFoundException +// ResourceNotFoundException: The resource is not available. +// +// - ValidationException +// ValidationException: The provided input is not valid. // -// * InternalServerException -// InternalServerException: An internal error has occurred. +// - InternalServerException +// InternalServerException: An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/UntagResource func (c *MWAA) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -955,14 +953,13 @@ const opUpdateEnvironment = "UpdateEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEnvironmentRequest method. +// req, resp := client.UpdateEnvironmentRequest(params) // -// // Example sending a request using the UpdateEnvironmentRequest method. -// req, resp := client.UpdateEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/UpdateEnvironment func (c *MWAA) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *request.Request, output *UpdateEnvironmentOutput) { @@ -995,14 +992,15 @@ func (c *MWAA) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *req // API operation UpdateEnvironment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// ResourceNotFoundException: The resource is not available. // -// * ValidationException -// ValidationException: The provided input is not valid. +// - ResourceNotFoundException +// ResourceNotFoundException: The resource is not available. +// +// - ValidationException +// ValidationException: The provided input is not valid. // -// * InternalServerException -// InternalServerException: An internal error has occurred. +// - InternalServerException +// InternalServerException: An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01/UpdateEnvironment func (c *MWAA) UpdateEnvironment(input *UpdateEnvironmentInput) (*UpdateEnvironmentOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/doc.go index 0bd389724dee..353770842ab2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/doc.go @@ -7,33 +7,33 @@ // API reference documentation. For more information, see What Is Amazon MWAA? // (https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html). // -//

Endpoints

Regions

-//

For a list of regions that Amazon MWAA supports, see Region -// availability in the Amazon MWAA User Guide.

+//

Endpoints

Regions

+//

For a list of regions that Amazon MWAA supports, see Region +// availability in the Amazon MWAA User Guide.

// // See https://docs.aws.amazon.com/goto/WebAPI/mwaa-2020-07-01 for more information on this service. // // See mwaa package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/mwaa/ // -// Using the Client +// # Using the Client // // To contact AmazonMWAA with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/mwaaiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/mwaaiface/interface.go index a9363c8a7f09..7e4146055057 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/mwaaiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/mwaaiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AmazonMWAA. -// func myFunc(svc mwaaiface.MWAAAPI) bool { -// // Make svc.CreateCliToken request -// } +// // myFunc uses an SDK service client to make a request to +// // AmazonMWAA. +// func myFunc(svc mwaaiface.MWAAAPI) bool { +// // Make svc.CreateCliToken request +// } // -// func main() { -// sess := session.New() -// svc := mwaa.New(sess) +// func main() { +// sess := session.New() +// svc := mwaa.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockMWAAClient struct { -// mwaaiface.MWAAAPI -// } -// func (m *mockMWAAClient) CreateCliToken(input *mwaa.CreateCliTokenInput) (*mwaa.CreateCliTokenOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockMWAAClient struct { +// mwaaiface.MWAAAPI +// } +// func (m *mockMWAAClient) CreateCliToken(input *mwaa.CreateCliTokenInput) (*mwaa.CreateCliTokenOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockMWAAClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockMWAAClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/service.go index 3be30a276698..380552c83a4e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/mwaa/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a MWAA client from just a session. -// svc := mwaa.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a MWAA client with additional configuration -// svc := mwaa.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a MWAA client from just a session. +// svc := mwaa.New(mySession) +// +// // Create a MWAA client with additional configuration +// svc := mwaa.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *MWAA { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/api.go index 07eca9638cfc..1511150d20a6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/api.go @@ -29,14 +29,13 @@ const opAddRoleToDBCluster = "AddRoleToDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddRoleToDBClusterRequest method. +// req, resp := client.AddRoleToDBClusterRequest(params) // -// // Example sending a request using the AddRoleToDBClusterRequest method. -// req, resp := client.AddRoleToDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/AddRoleToDBCluster func (c *Neptune) AddRoleToDBClusterRequest(input *AddRoleToDBClusterInput) (req *request.Request, output *AddRoleToDBClusterOutput) { @@ -69,19 +68,20 @@ func (c *Neptune) AddRoleToDBClusterRequest(input *AddRoleToDBClusterInput) (req // API operation AddRoleToDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeDBClusterRoleAlreadyExistsFault "DBClusterRoleAlreadyExists" -// The specified IAM role Amazon Resource Name (ARN) is already associated with -// the specified DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. +// +// - ErrCodeDBClusterRoleAlreadyExistsFault "DBClusterRoleAlreadyExists" +// The specified IAM role Amazon Resource Name (ARN) is already associated with +// the specified DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. // -// * ErrCodeDBClusterRoleQuotaExceededFault "DBClusterRoleQuotaExceeded" -// You have exceeded the maximum number of IAM roles that can be associated -// with the specified DB cluster. +// - ErrCodeDBClusterRoleQuotaExceededFault "DBClusterRoleQuotaExceeded" +// You have exceeded the maximum number of IAM roles that can be associated +// with the specified DB cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/AddRoleToDBCluster func (c *Neptune) AddRoleToDBCluster(input *AddRoleToDBClusterInput) (*AddRoleToDBClusterOutput, error) { @@ -121,14 +121,13 @@ const opAddSourceIdentifierToSubscription = "AddSourceIdentifierToSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddSourceIdentifierToSubscriptionRequest method. +// req, resp := client.AddSourceIdentifierToSubscriptionRequest(params) // -// // Example sending a request using the AddSourceIdentifierToSubscriptionRequest method. -// req, resp := client.AddSourceIdentifierToSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/AddSourceIdentifierToSubscription func (c *Neptune) AddSourceIdentifierToSubscriptionRequest(input *AddSourceIdentifierToSubscriptionInput) (req *request.Request, output *AddSourceIdentifierToSubscriptionOutput) { @@ -159,11 +158,12 @@ func (c *Neptune) AddSourceIdentifierToSubscriptionRequest(input *AddSourceIdent // API operation AddSourceIdentifierToSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// The designated subscription could not be found. // -// * ErrCodeSourceNotFoundFault "SourceNotFound" -// The source could not be found. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// The designated subscription could not be found. +// +// - ErrCodeSourceNotFoundFault "SourceNotFound" +// The source could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/AddSourceIdentifierToSubscription func (c *Neptune) AddSourceIdentifierToSubscription(input *AddSourceIdentifierToSubscriptionInput) (*AddSourceIdentifierToSubscriptionOutput, error) { @@ -203,14 +203,13 @@ const opAddTagsToResource = "AddTagsToResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsToResourceRequest method. +// req, resp := client.AddTagsToResourceRequest(params) // -// // Example sending a request using the AddTagsToResourceRequest method. -// req, resp := client.AddTagsToResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/AddTagsToResource func (c *Neptune) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput) { @@ -245,14 +244,15 @@ func (c *Neptune) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req * // API operation AddTagsToResource for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier does not refer to an existing DB instance. // -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier does not refer to an existing DB snapshot. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier does not refer to an existing DB instance. +// +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier does not refer to an existing DB snapshot. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/AddTagsToResource func (c *Neptune) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error) { @@ -292,14 +292,13 @@ const opApplyPendingMaintenanceAction = "ApplyPendingMaintenanceAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ApplyPendingMaintenanceActionRequest method. +// req, resp := client.ApplyPendingMaintenanceActionRequest(params) // -// // Example sending a request using the ApplyPendingMaintenanceActionRequest method. -// req, resp := client.ApplyPendingMaintenanceActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ApplyPendingMaintenanceAction func (c *Neptune) ApplyPendingMaintenanceActionRequest(input *ApplyPendingMaintenanceActionInput) (req *request.Request, output *ApplyPendingMaintenanceActionOutput) { @@ -331,8 +330,8 @@ func (c *Neptune) ApplyPendingMaintenanceActionRequest(input *ApplyPendingMainte // API operation ApplyPendingMaintenanceAction for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" -// The specified resource ID was not found. +// - ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The specified resource ID was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ApplyPendingMaintenanceAction func (c *Neptune) ApplyPendingMaintenanceAction(input *ApplyPendingMaintenanceActionInput) (*ApplyPendingMaintenanceActionOutput, error) { @@ -372,14 +371,13 @@ const opCopyDBClusterParameterGroup = "CopyDBClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyDBClusterParameterGroupRequest method. +// req, resp := client.CopyDBClusterParameterGroupRequest(params) // -// // Example sending a request using the CopyDBClusterParameterGroupRequest method. -// req, resp := client.CopyDBClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CopyDBClusterParameterGroup func (c *Neptune) CopyDBClusterParameterGroupRequest(input *CopyDBClusterParameterGroupInput) (req *request.Request, output *CopyDBClusterParameterGroupOutput) { @@ -410,15 +408,16 @@ func (c *Neptune) CopyDBClusterParameterGroupRequest(input *CopyDBClusterParamet // API operation CopyDBClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName does not refer to an existing DB parameter group. // -// * ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" -// Request would result in user exceeding the allowed number of DB parameter -// groups. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName does not refer to an existing DB parameter group. // -// * ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" -// A DB parameter group with the same name exists. +// - ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" +// Request would result in user exceeding the allowed number of DB parameter +// groups. +// +// - ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" +// A DB parameter group with the same name exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CopyDBClusterParameterGroup func (c *Neptune) CopyDBClusterParameterGroup(input *CopyDBClusterParameterGroupInput) (*CopyDBClusterParameterGroupOutput, error) { @@ -458,14 +457,13 @@ const opCopyDBClusterSnapshot = "CopyDBClusterSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyDBClusterSnapshotRequest method. +// req, resp := client.CopyDBClusterSnapshotRequest(params) // -// // Example sending a request using the CopyDBClusterSnapshotRequest method. -// req, resp := client.CopyDBClusterSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CopyDBClusterSnapshot func (c *Neptune) CopyDBClusterSnapshotRequest(input *CopyDBClusterSnapshotInput) (req *request.Request, output *CopyDBClusterSnapshotOutput) { @@ -499,23 +497,24 @@ func (c *Neptune) CopyDBClusterSnapshotRequest(input *CopyDBClusterSnapshotInput // API operation CopyDBClusterSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" -// User already has a DB cluster snapshot with the given identifier. // -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. +// - ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" +// User already has a DB cluster snapshot with the given identifier. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The supplied value is not a valid DB cluster snapshot state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" -// Request would result in user exceeding the allowed number of DB snapshots. +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The supplied value is not a valid DB cluster snapshot state. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// Error accessing KMS key. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// Request would result in user exceeding the allowed number of DB snapshots. +// +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// Error accessing KMS key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CopyDBClusterSnapshot func (c *Neptune) CopyDBClusterSnapshot(input *CopyDBClusterSnapshotInput) (*CopyDBClusterSnapshotOutput, error) { @@ -555,14 +554,13 @@ const opCopyDBParameterGroup = "CopyDBParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyDBParameterGroupRequest method. +// req, resp := client.CopyDBParameterGroupRequest(params) // -// // Example sending a request using the CopyDBParameterGroupRequest method. -// req, resp := client.CopyDBParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CopyDBParameterGroup func (c *Neptune) CopyDBParameterGroupRequest(input *CopyDBParameterGroupInput) (req *request.Request, output *CopyDBParameterGroupOutput) { @@ -593,15 +591,16 @@ func (c *Neptune) CopyDBParameterGroupRequest(input *CopyDBParameterGroupInput) // API operation CopyDBParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName does not refer to an existing DB parameter group. // -// * ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" -// A DB parameter group with the same name exists. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName does not refer to an existing DB parameter group. // -// * ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" -// Request would result in user exceeding the allowed number of DB parameter -// groups. +// - ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" +// A DB parameter group with the same name exists. +// +// - ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" +// Request would result in user exceeding the allowed number of DB parameter +// groups. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CopyDBParameterGroup func (c *Neptune) CopyDBParameterGroup(input *CopyDBParameterGroupInput) (*CopyDBParameterGroupOutput, error) { @@ -641,14 +640,13 @@ const opCreateDBCluster = "CreateDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBClusterRequest method. +// req, resp := client.CreateDBClusterRequest(params) // -// // Example sending a request using the CreateDBClusterRequest method. -// req, resp := client.CreateDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBCluster func (c *Neptune) CreateDBClusterRequest(input *CreateDBClusterInput) (req *request.Request, output *CreateDBClusterOutput) { @@ -687,58 +685,59 @@ func (c *Neptune) CreateDBClusterRequest(input *CreateDBClusterInput) (req *requ // API operation CreateDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" -// User already has a DB cluster with the given identifier. // -// * ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" -// There is insufficient storage available for the current action. You may be -// able to resolve this error by updating your subnet group to use different -// Availability Zones that have more storage available. +// - ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" +// User already has a DB cluster with the given identifier. // -// * ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" -// User attempted to create a new DB cluster and the user has already reached -// the maximum allowed DB cluster quota. +// - ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" +// There is insufficient storage available for the current action. You may be +// able to resolve this error by updating your subnet group to use different +// Availability Zones that have more storage available. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// Request would result in user exceeding the allowed amount of storage available -// across all DB instances. +// - ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" +// User attempted to create a new DB cluster and the user has already reached +// the maximum allowed DB cluster quota. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName does not refer to an existing DB subnet group. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// Request would result in user exceeding the allowed amount of storage available +// across all DB instances. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// DB subnet group does not cover all Availability Zones after it is created -// because users' change. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName does not refer to an existing DB subnet group. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// DB subnet group does not cover all Availability Zones after it is created +// because users' change. // -// * ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" -// The DB subnet group cannot be deleted because it is in use. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" +// The DB subnet group cannot be deleted because it is in use. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified DB instance is not in the available state. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" -// DBClusterParameterGroupName does not refer to an existing DB Cluster parameter -// group. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified DB instance is not in the available state. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// Error accessing KMS key. +// - ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" +// DBClusterParameterGroupName does not refer to an existing DB Cluster parameter +// group. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// Error accessing KMS key. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier does not refer to an existing DB instance. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the DB subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier does not refer to an existing DB instance. +// +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the DB subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBCluster func (c *Neptune) CreateDBCluster(input *CreateDBClusterInput) (*CreateDBClusterOutput, error) { @@ -778,14 +777,13 @@ const opCreateDBClusterEndpoint = "CreateDBClusterEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBClusterEndpointRequest method. +// req, resp := client.CreateDBClusterEndpointRequest(params) // -// // Example sending a request using the CreateDBClusterEndpointRequest method. -// req, resp := client.CreateDBClusterEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBClusterEndpoint func (c *Neptune) CreateDBClusterEndpointRequest(input *CreateDBClusterEndpointInput) (req *request.Request, output *CreateDBClusterEndpointOutput) { @@ -817,23 +815,24 @@ func (c *Neptune) CreateDBClusterEndpointRequest(input *CreateDBClusterEndpointI // API operation CreateDBClusterEndpoint for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterEndpointQuotaExceededFault "DBClusterEndpointQuotaExceededFault" -// The cluster already has the maximum number of custom endpoints. // -// * ErrCodeDBClusterEndpointAlreadyExistsFault "DBClusterEndpointAlreadyExistsFault" -// The specified custom endpoint cannot be created because it already exists. +// - ErrCodeDBClusterEndpointQuotaExceededFault "DBClusterEndpointQuotaExceededFault" +// The cluster already has the maximum number of custom endpoints. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. +// - ErrCodeDBClusterEndpointAlreadyExistsFault "DBClusterEndpointAlreadyExistsFault" +// The specified custom endpoint cannot be created because it already exists. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier does not refer to an existing DB instance. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified DB instance is not in the available state. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier does not refer to an existing DB instance. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified DB instance is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBClusterEndpoint func (c *Neptune) CreateDBClusterEndpoint(input *CreateDBClusterEndpointInput) (*CreateDBClusterEndpointOutput, error) { @@ -873,14 +872,13 @@ const opCreateDBClusterParameterGroup = "CreateDBClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBClusterParameterGroupRequest method. +// req, resp := client.CreateDBClusterParameterGroupRequest(params) // -// // Example sending a request using the CreateDBClusterParameterGroupRequest method. -// req, resp := client.CreateDBClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBClusterParameterGroup func (c *Neptune) CreateDBClusterParameterGroupRequest(input *CreateDBClusterParameterGroupInput) (req *request.Request, output *CreateDBClusterParameterGroupOutput) { @@ -935,12 +933,13 @@ func (c *Neptune) CreateDBClusterParameterGroupRequest(input *CreateDBClusterPar // API operation CreateDBClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" -// Request would result in user exceeding the allowed number of DB parameter -// groups. // -// * ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" -// A DB parameter group with the same name exists. +// - ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" +// Request would result in user exceeding the allowed number of DB parameter +// groups. +// +// - ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" +// A DB parameter group with the same name exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBClusterParameterGroup func (c *Neptune) CreateDBClusterParameterGroup(input *CreateDBClusterParameterGroupInput) (*CreateDBClusterParameterGroupOutput, error) { @@ -980,14 +979,13 @@ const opCreateDBClusterSnapshot = "CreateDBClusterSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBClusterSnapshotRequest method. +// req, resp := client.CreateDBClusterSnapshotRequest(params) // -// // Example sending a request using the CreateDBClusterSnapshotRequest method. -// req, resp := client.CreateDBClusterSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBClusterSnapshot func (c *Neptune) CreateDBClusterSnapshotRequest(input *CreateDBClusterSnapshotInput) (req *request.Request, output *CreateDBClusterSnapshotOutput) { @@ -1018,20 +1016,21 @@ func (c *Neptune) CreateDBClusterSnapshotRequest(input *CreateDBClusterSnapshotI // API operation CreateDBClusterSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" -// User already has a DB cluster snapshot with the given identifier. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" +// User already has a DB cluster snapshot with the given identifier. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" -// Request would result in user exceeding the allowed number of DB snapshots. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The supplied value is not a valid DB cluster snapshot state. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// Request would result in user exceeding the allowed number of DB snapshots. +// +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The supplied value is not a valid DB cluster snapshot state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBClusterSnapshot func (c *Neptune) CreateDBClusterSnapshot(input *CreateDBClusterSnapshotInput) (*CreateDBClusterSnapshotOutput, error) { @@ -1071,14 +1070,13 @@ const opCreateDBInstance = "CreateDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBInstanceRequest method. +// req, resp := client.CreateDBInstanceRequest(params) // -// // Example sending a request using the CreateDBInstanceRequest method. -// req, resp := client.CreateDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBInstance func (c *Neptune) CreateDBInstanceRequest(input *CreateDBInstanceInput) (req *request.Request, output *CreateDBInstanceOutput) { @@ -1109,68 +1107,69 @@ func (c *Neptune) CreateDBInstanceRequest(input *CreateDBInstanceInput) (req *re // API operation CreateDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" -// User already has a DB instance with the given identifier. // -// * ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" -// Specified DB instance class is not available in the specified Availability -// Zone. +// - ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" +// User already has a DB instance with the given identifier. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName does not refer to an existing DB parameter group. +// - ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" +// Specified DB instance class is not available in the specified Availability +// Zone. // -// * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" -// DBSecurityGroupName does not refer to an existing DB security group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName does not refer to an existing DB parameter group. // -// * ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" -// Request would result in user exceeding the allowed number of DB instances. +// - ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" +// DBSecurityGroupName does not refer to an existing DB security group. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// Request would result in user exceeding the allowed amount of storage available -// across all DB instances. +// - ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" +// Request would result in user exceeding the allowed number of DB instances. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName does not refer to an existing DB subnet group. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// Request would result in user exceeding the allowed amount of storage available +// across all DB instances. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the DB subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName does not refer to an existing DB subnet group. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the DB subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// DB subnet group does not cover all Availability Zones after it is created -// because users' change. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" -// Provisioned IOPS not available in the specified Availability Zone. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// DB subnet group does not cover all Availability Zones after it is created +// because users' change. // -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The designated option group could not be found. +// - ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" +// Provisioned IOPS not available in the specified Availability Zone. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The designated option group could not be found. // -// * ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" -// StorageType specified cannot be associated with the DB Instance. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" -// Specified CIDRIP or EC2 security group is not authorized for the specified -// DB security group. +// - ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" +// StorageType specified cannot be associated with the DB Instance. // -// Neptune may not also be authorized via IAM to perform necessary actions on -// your behalf. +// - ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// Specified CIDRIP or EC2 security group is not authorized for the specified +// DB security group. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// Error accessing KMS key. +// Neptune may not also be authorized via IAM to perform necessary actions on +// your behalf. // -// * ErrCodeDomainNotFoundFault "DomainNotFoundFault" -// Domain does not refer to an existing Active Directory Domain. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// Error accessing KMS key. +// +// - ErrCodeDomainNotFoundFault "DomainNotFoundFault" +// Domain does not refer to an existing Active Directory Domain. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBInstance func (c *Neptune) CreateDBInstance(input *CreateDBInstanceInput) (*CreateDBInstanceOutput, error) { @@ -1210,14 +1209,13 @@ const opCreateDBParameterGroup = "CreateDBParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBParameterGroupRequest method. +// req, resp := client.CreateDBParameterGroupRequest(params) // -// // Example sending a request using the CreateDBParameterGroupRequest method. -// req, resp := client.CreateDBParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBParameterGroup func (c *Neptune) CreateDBParameterGroupRequest(input *CreateDBParameterGroupInput) (req *request.Request, output *CreateDBParameterGroupOutput) { @@ -1268,12 +1266,13 @@ func (c *Neptune) CreateDBParameterGroupRequest(input *CreateDBParameterGroupInp // API operation CreateDBParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" -// Request would result in user exceeding the allowed number of DB parameter -// groups. // -// * ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" -// A DB parameter group with the same name exists. +// - ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" +// Request would result in user exceeding the allowed number of DB parameter +// groups. +// +// - ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" +// A DB parameter group with the same name exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBParameterGroup func (c *Neptune) CreateDBParameterGroup(input *CreateDBParameterGroupInput) (*CreateDBParameterGroupOutput, error) { @@ -1313,14 +1312,13 @@ const opCreateDBSubnetGroup = "CreateDBSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBSubnetGroupRequest method. +// req, resp := client.CreateDBSubnetGroupRequest(params) // -// // Example sending a request using the CreateDBSubnetGroupRequest method. -// req, resp := client.CreateDBSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBSubnetGroup func (c *Neptune) CreateDBSubnetGroupRequest(input *CreateDBSubnetGroupInput) (req *request.Request, output *CreateDBSubnetGroupOutput) { @@ -1352,23 +1350,24 @@ func (c *Neptune) CreateDBSubnetGroupRequest(input *CreateDBSubnetGroupInput) (r // API operation CreateDBSubnetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSubnetGroupAlreadyExistsFault "DBSubnetGroupAlreadyExists" -// DBSubnetGroupName is already used by an existing DB subnet group. // -// * ErrCodeDBSubnetGroupQuotaExceededFault "DBSubnetGroupQuotaExceeded" -// Request would result in user exceeding the allowed number of DB subnet groups. +// - ErrCodeDBSubnetGroupAlreadyExistsFault "DBSubnetGroupAlreadyExists" +// DBSubnetGroupName is already used by an existing DB subnet group. // -// * ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" -// Request would result in user exceeding the allowed number of subnets in a -// DB subnet groups. +// - ErrCodeDBSubnetGroupQuotaExceededFault "DBSubnetGroupQuotaExceeded" +// Request would result in user exceeding the allowed number of DB subnet groups. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the DB subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" +// Request would result in user exceeding the allowed number of subnets in a +// DB subnet groups. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the DB subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. +// +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateDBSubnetGroup func (c *Neptune) CreateDBSubnetGroup(input *CreateDBSubnetGroupInput) (*CreateDBSubnetGroupOutput, error) { @@ -1408,14 +1407,13 @@ const opCreateEventSubscription = "CreateEventSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEventSubscriptionRequest method. +// req, resp := client.CreateEventSubscriptionRequest(params) // -// // Example sending a request using the CreateEventSubscriptionRequest method. -// req, resp := client.CreateEventSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateEventSubscription func (c *Neptune) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput) { @@ -1465,26 +1463,27 @@ func (c *Neptune) CreateEventSubscriptionRequest(input *CreateEventSubscriptionI // API operation CreateEventSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded" -// You have exceeded the number of events you can subscribe to. // -// * ErrCodeSubscriptionAlreadyExistFault "SubscriptionAlreadyExist" -// This subscription already exists. +// - ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded" +// You have exceeded the number of events you can subscribe to. // -// * ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" -// The SNS topic is invalid. +// - ErrCodeSubscriptionAlreadyExistFault "SubscriptionAlreadyExist" +// This subscription already exists. // -// * ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" -// There is no SNS authorization. +// - ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" +// The SNS topic is invalid. // -// * ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" -// The ARN of the SNS topic could not be found. +// - ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" +// There is no SNS authorization. // -// * ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound" -// The designated subscription category could not be found. +// - ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" +// The ARN of the SNS topic could not be found. // -// * ErrCodeSourceNotFoundFault "SourceNotFound" -// The source could not be found. +// - ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound" +// The designated subscription category could not be found. +// +// - ErrCodeSourceNotFoundFault "SourceNotFound" +// The source could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/CreateEventSubscription func (c *Neptune) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error) { @@ -1524,14 +1523,13 @@ const opDeleteDBCluster = "DeleteDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBClusterRequest method. +// req, resp := client.DeleteDBClusterRequest(params) // -// // Example sending a request using the DeleteDBClusterRequest method. -// req, resp := client.DeleteDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBCluster func (c *Neptune) DeleteDBClusterRequest(input *DeleteDBClusterInput) (req *request.Request, output *DeleteDBClusterOutput) { @@ -1568,20 +1566,21 @@ func (c *Neptune) DeleteDBClusterRequest(input *DeleteDBClusterInput) (req *requ // API operation DeleteDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. // -// * ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" -// User already has a DB cluster snapshot with the given identifier. +// - ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" +// User already has a DB cluster snapshot with the given identifier. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" -// Request would result in user exceeding the allowed number of DB snapshots. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// Request would result in user exceeding the allowed number of DB snapshots. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The supplied value is not a valid DB cluster snapshot state. +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The supplied value is not a valid DB cluster snapshot state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBCluster func (c *Neptune) DeleteDBCluster(input *DeleteDBClusterInput) (*DeleteDBClusterOutput, error) { @@ -1621,14 +1620,13 @@ const opDeleteDBClusterEndpoint = "DeleteDBClusterEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBClusterEndpointRequest method. +// req, resp := client.DeleteDBClusterEndpointRequest(params) // -// // Example sending a request using the DeleteDBClusterEndpointRequest method. -// req, resp := client.DeleteDBClusterEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBClusterEndpoint func (c *Neptune) DeleteDBClusterEndpointRequest(input *DeleteDBClusterEndpointInput) (req *request.Request, output *DeleteDBClusterEndpointOutput) { @@ -1659,15 +1657,16 @@ func (c *Neptune) DeleteDBClusterEndpointRequest(input *DeleteDBClusterEndpointI // API operation DeleteDBClusterEndpoint for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBClusterEndpointStateFault "InvalidDBClusterEndpointStateFault" -// The requested operation cannot be performed on the endpoint while the endpoint -// is in this state. // -// * ErrCodeDBClusterEndpointNotFoundFault "DBClusterEndpointNotFoundFault" -// The specified custom endpoint doesn't exist. +// - ErrCodeInvalidDBClusterEndpointStateFault "InvalidDBClusterEndpointStateFault" +// The requested operation cannot be performed on the endpoint while the endpoint +// is in this state. +// +// - ErrCodeDBClusterEndpointNotFoundFault "DBClusterEndpointNotFoundFault" +// The specified custom endpoint doesn't exist. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBClusterEndpoint func (c *Neptune) DeleteDBClusterEndpoint(input *DeleteDBClusterEndpointInput) (*DeleteDBClusterEndpointOutput, error) { @@ -1707,14 +1706,13 @@ const opDeleteDBClusterParameterGroup = "DeleteDBClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBClusterParameterGroupRequest method. +// req, resp := client.DeleteDBClusterParameterGroupRequest(params) // -// // Example sending a request using the DeleteDBClusterParameterGroupRequest method. -// req, resp := client.DeleteDBClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBClusterParameterGroup func (c *Neptune) DeleteDBClusterParameterGroupRequest(input *DeleteDBClusterParameterGroupInput) (req *request.Request, output *DeleteDBClusterParameterGroupOutput) { @@ -1747,13 +1745,14 @@ func (c *Neptune) DeleteDBClusterParameterGroupRequest(input *DeleteDBClusterPar // API operation DeleteDBClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" -// The DB parameter group is in use or is in an invalid state. If you are attempting -// to delete the parameter group, you cannot delete it when the parameter group -// is in this state. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName does not refer to an existing DB parameter group. +// - ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" +// The DB parameter group is in use or is in an invalid state. If you are attempting +// to delete the parameter group, you cannot delete it when the parameter group +// is in this state. +// +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName does not refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBClusterParameterGroup func (c *Neptune) DeleteDBClusterParameterGroup(input *DeleteDBClusterParameterGroupInput) (*DeleteDBClusterParameterGroupOutput, error) { @@ -1793,14 +1792,13 @@ const opDeleteDBClusterSnapshot = "DeleteDBClusterSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBClusterSnapshotRequest method. +// req, resp := client.DeleteDBClusterSnapshotRequest(params) // -// // Example sending a request using the DeleteDBClusterSnapshotRequest method. -// req, resp := client.DeleteDBClusterSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBClusterSnapshot func (c *Neptune) DeleteDBClusterSnapshotRequest(input *DeleteDBClusterSnapshotInput) (req *request.Request, output *DeleteDBClusterSnapshotOutput) { @@ -1834,11 +1832,12 @@ func (c *Neptune) DeleteDBClusterSnapshotRequest(input *DeleteDBClusterSnapshotI // API operation DeleteDBClusterSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The supplied value is not a valid DB cluster snapshot state. // -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The supplied value is not a valid DB cluster snapshot state. +// +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBClusterSnapshot func (c *Neptune) DeleteDBClusterSnapshot(input *DeleteDBClusterSnapshotInput) (*DeleteDBClusterSnapshotOutput, error) { @@ -1878,14 +1877,13 @@ const opDeleteDBInstance = "DeleteDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBInstanceRequest method. +// req, resp := client.DeleteDBInstanceRequest(params) // -// // Example sending a request using the DeleteDBInstanceRequest method. -// req, resp := client.DeleteDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBInstance func (c *Neptune) DeleteDBInstanceRequest(input *DeleteDBInstanceInput) (req *request.Request, output *DeleteDBInstanceOutput) { @@ -1931,20 +1929,21 @@ func (c *Neptune) DeleteDBInstanceRequest(input *DeleteDBInstanceInput) (req *re // API operation DeleteDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier does not refer to an existing DB instance. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified DB instance is not in the available state. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier does not refer to an existing DB instance. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified DB instance is not in the available state. // -// * ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" -// DBSnapshotIdentifier is already used by an existing snapshot. +// - ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" +// DBSnapshotIdentifier is already used by an existing snapshot. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" -// Request would result in user exceeding the allowed number of DB snapshots. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// Request would result in user exceeding the allowed number of DB snapshots. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBInstance func (c *Neptune) DeleteDBInstance(input *DeleteDBInstanceInput) (*DeleteDBInstanceOutput, error) { @@ -1984,14 +1983,13 @@ const opDeleteDBParameterGroup = "DeleteDBParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBParameterGroupRequest method. +// req, resp := client.DeleteDBParameterGroupRequest(params) // -// // Example sending a request using the DeleteDBParameterGroupRequest method. -// req, resp := client.DeleteDBParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBParameterGroup func (c *Neptune) DeleteDBParameterGroupRequest(input *DeleteDBParameterGroupInput) (req *request.Request, output *DeleteDBParameterGroupOutput) { @@ -2024,13 +2022,14 @@ func (c *Neptune) DeleteDBParameterGroupRequest(input *DeleteDBParameterGroupInp // API operation DeleteDBParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" -// The DB parameter group is in use or is in an invalid state. If you are attempting -// to delete the parameter group, you cannot delete it when the parameter group -// is in this state. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName does not refer to an existing DB parameter group. +// - ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" +// The DB parameter group is in use or is in an invalid state. If you are attempting +// to delete the parameter group, you cannot delete it when the parameter group +// is in this state. +// +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName does not refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBParameterGroup func (c *Neptune) DeleteDBParameterGroup(input *DeleteDBParameterGroupInput) (*DeleteDBParameterGroupOutput, error) { @@ -2070,14 +2069,13 @@ const opDeleteDBSubnetGroup = "DeleteDBSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBSubnetGroupRequest method. +// req, resp := client.DeleteDBSubnetGroupRequest(params) // -// // Example sending a request using the DeleteDBSubnetGroupRequest method. -// req, resp := client.DeleteDBSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBSubnetGroup func (c *Neptune) DeleteDBSubnetGroupRequest(input *DeleteDBSubnetGroupInput) (req *request.Request, output *DeleteDBSubnetGroupOutput) { @@ -2111,14 +2109,15 @@ func (c *Neptune) DeleteDBSubnetGroupRequest(input *DeleteDBSubnetGroupInput) (r // API operation DeleteDBSubnetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" -// The DB subnet group cannot be deleted because it is in use. // -// * ErrCodeInvalidDBSubnetStateFault "InvalidDBSubnetStateFault" -// The DB subnet is not in the available state. +// - ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" +// The DB subnet group cannot be deleted because it is in use. +// +// - ErrCodeInvalidDBSubnetStateFault "InvalidDBSubnetStateFault" +// The DB subnet is not in the available state. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName does not refer to an existing DB subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName does not refer to an existing DB subnet group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteDBSubnetGroup func (c *Neptune) DeleteDBSubnetGroup(input *DeleteDBSubnetGroupInput) (*DeleteDBSubnetGroupOutput, error) { @@ -2158,14 +2157,13 @@ const opDeleteEventSubscription = "DeleteEventSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventSubscriptionRequest method. +// req, resp := client.DeleteEventSubscriptionRequest(params) // -// // Example sending a request using the DeleteEventSubscriptionRequest method. -// req, resp := client.DeleteEventSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteEventSubscription func (c *Neptune) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput) { @@ -2196,11 +2194,12 @@ func (c *Neptune) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionI // API operation DeleteEventSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// The designated subscription could not be found. // -// * ErrCodeInvalidEventSubscriptionStateFault "InvalidEventSubscriptionState" -// The event subscription is in an invalid state. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// The designated subscription could not be found. +// +// - ErrCodeInvalidEventSubscriptionStateFault "InvalidEventSubscriptionState" +// The event subscription is in an invalid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DeleteEventSubscription func (c *Neptune) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error) { @@ -2240,14 +2239,13 @@ const opDescribeDBClusterEndpoints = "DescribeDBClusterEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClusterEndpointsRequest method. +// req, resp := client.DescribeDBClusterEndpointsRequest(params) // -// // Example sending a request using the DescribeDBClusterEndpointsRequest method. -// req, resp := client.DescribeDBClusterEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterEndpoints func (c *Neptune) DescribeDBClusterEndpointsRequest(input *DescribeDBClusterEndpointsInput) (req *request.Request, output *DescribeDBClusterEndpointsOutput) { @@ -2287,8 +2285,8 @@ func (c *Neptune) DescribeDBClusterEndpointsRequest(input *DescribeDBClusterEndp // API operation DescribeDBClusterEndpoints for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterEndpoints func (c *Neptune) DescribeDBClusterEndpoints(input *DescribeDBClusterEndpointsInput) (*DescribeDBClusterEndpointsOutput, error) { @@ -2320,15 +2318,14 @@ func (c *Neptune) DescribeDBClusterEndpointsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBClusterEndpoints operation. -// pageNum := 0 -// err := client.DescribeDBClusterEndpointsPages(params, -// func(page *neptune.DescribeDBClusterEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBClusterEndpoints operation. +// pageNum := 0 +// err := client.DescribeDBClusterEndpointsPages(params, +// func(page *neptune.DescribeDBClusterEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Neptune) DescribeDBClusterEndpointsPages(input *DescribeDBClusterEndpointsInput, fn func(*DescribeDBClusterEndpointsOutput, bool) bool) error { return c.DescribeDBClusterEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2380,14 +2377,13 @@ const opDescribeDBClusterParameterGroups = "DescribeDBClusterParameterGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClusterParameterGroupsRequest method. +// req, resp := client.DescribeDBClusterParameterGroupsRequest(params) // -// // Example sending a request using the DescribeDBClusterParameterGroupsRequest method. -// req, resp := client.DescribeDBClusterParameterGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterParameterGroups func (c *Neptune) DescribeDBClusterParameterGroupsRequest(input *DescribeDBClusterParameterGroupsInput) (req *request.Request, output *DescribeDBClusterParameterGroupsOutput) { @@ -2426,8 +2422,8 @@ func (c *Neptune) DescribeDBClusterParameterGroupsRequest(input *DescribeDBClust // API operation DescribeDBClusterParameterGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName does not refer to an existing DB parameter group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName does not refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterParameterGroups func (c *Neptune) DescribeDBClusterParameterGroups(input *DescribeDBClusterParameterGroupsInput) (*DescribeDBClusterParameterGroupsOutput, error) { @@ -2459,15 +2455,14 @@ func (c *Neptune) DescribeDBClusterParameterGroupsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBClusterParameterGroups operation. -// pageNum := 0 -// err := client.DescribeDBClusterParameterGroupsPages(params, -// func(page *neptune.DescribeDBClusterParameterGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBClusterParameterGroups operation. +// pageNum := 0 +// err := client.DescribeDBClusterParameterGroupsPages(params, +// func(page *neptune.DescribeDBClusterParameterGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Neptune) DescribeDBClusterParameterGroupsPages(input *DescribeDBClusterParameterGroupsInput, fn func(*DescribeDBClusterParameterGroupsOutput, bool) bool) error { return c.DescribeDBClusterParameterGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2519,14 +2514,13 @@ const opDescribeDBClusterParameters = "DescribeDBClusterParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClusterParametersRequest method. +// req, resp := client.DescribeDBClusterParametersRequest(params) // -// // Example sending a request using the DescribeDBClusterParametersRequest method. -// req, resp := client.DescribeDBClusterParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterParameters func (c *Neptune) DescribeDBClusterParametersRequest(input *DescribeDBClusterParametersInput) (req *request.Request, output *DescribeDBClusterParametersOutput) { @@ -2564,8 +2558,8 @@ func (c *Neptune) DescribeDBClusterParametersRequest(input *DescribeDBClusterPar // API operation DescribeDBClusterParameters for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName does not refer to an existing DB parameter group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName does not refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterParameters func (c *Neptune) DescribeDBClusterParameters(input *DescribeDBClusterParametersInput) (*DescribeDBClusterParametersOutput, error) { @@ -2597,15 +2591,14 @@ func (c *Neptune) DescribeDBClusterParametersWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBClusterParameters operation. -// pageNum := 0 -// err := client.DescribeDBClusterParametersPages(params, -// func(page *neptune.DescribeDBClusterParametersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBClusterParameters operation. +// pageNum := 0 +// err := client.DescribeDBClusterParametersPages(params, +// func(page *neptune.DescribeDBClusterParametersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Neptune) DescribeDBClusterParametersPages(input *DescribeDBClusterParametersInput, fn func(*DescribeDBClusterParametersOutput, bool) bool) error { return c.DescribeDBClusterParametersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2657,14 +2650,13 @@ const opDescribeDBClusterSnapshotAttributes = "DescribeDBClusterSnapshotAttribut // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClusterSnapshotAttributesRequest method. +// req, resp := client.DescribeDBClusterSnapshotAttributesRequest(params) // -// // Example sending a request using the DescribeDBClusterSnapshotAttributesRequest method. -// req, resp := client.DescribeDBClusterSnapshotAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterSnapshotAttributes func (c *Neptune) DescribeDBClusterSnapshotAttributesRequest(input *DescribeDBClusterSnapshotAttributesInput) (req *request.Request, output *DescribeDBClusterSnapshotAttributesOutput) { @@ -2707,8 +2699,8 @@ func (c *Neptune) DescribeDBClusterSnapshotAttributesRequest(input *DescribeDBCl // API operation DescribeDBClusterSnapshotAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterSnapshotAttributes func (c *Neptune) DescribeDBClusterSnapshotAttributes(input *DescribeDBClusterSnapshotAttributesInput) (*DescribeDBClusterSnapshotAttributesOutput, error) { @@ -2748,14 +2740,13 @@ const opDescribeDBClusterSnapshots = "DescribeDBClusterSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClusterSnapshotsRequest method. +// req, resp := client.DescribeDBClusterSnapshotsRequest(params) // -// // Example sending a request using the DescribeDBClusterSnapshotsRequest method. -// req, resp := client.DescribeDBClusterSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterSnapshots func (c *Neptune) DescribeDBClusterSnapshotsRequest(input *DescribeDBClusterSnapshotsInput) (req *request.Request, output *DescribeDBClusterSnapshotsOutput) { @@ -2793,8 +2784,8 @@ func (c *Neptune) DescribeDBClusterSnapshotsRequest(input *DescribeDBClusterSnap // API operation DescribeDBClusterSnapshots for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusterSnapshots func (c *Neptune) DescribeDBClusterSnapshots(input *DescribeDBClusterSnapshotsInput) (*DescribeDBClusterSnapshotsOutput, error) { @@ -2826,15 +2817,14 @@ func (c *Neptune) DescribeDBClusterSnapshotsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBClusterSnapshots operation. -// pageNum := 0 -// err := client.DescribeDBClusterSnapshotsPages(params, -// func(page *neptune.DescribeDBClusterSnapshotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBClusterSnapshots operation. +// pageNum := 0 +// err := client.DescribeDBClusterSnapshotsPages(params, +// func(page *neptune.DescribeDBClusterSnapshotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Neptune) DescribeDBClusterSnapshotsPages(input *DescribeDBClusterSnapshotsInput, fn func(*DescribeDBClusterSnapshotsOutput, bool) bool) error { return c.DescribeDBClusterSnapshotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2886,14 +2876,13 @@ const opDescribeDBClusters = "DescribeDBClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClustersRequest method. +// req, resp := client.DescribeDBClustersRequest(params) // -// // Example sending a request using the DescribeDBClustersRequest method. -// req, resp := client.DescribeDBClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusters func (c *Neptune) DescribeDBClustersRequest(input *DescribeDBClustersInput) (req *request.Request, output *DescribeDBClustersOutput) { @@ -2933,8 +2922,8 @@ func (c *Neptune) DescribeDBClustersRequest(input *DescribeDBClustersInput) (req // API operation DescribeDBClusters for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBClusters func (c *Neptune) DescribeDBClusters(input *DescribeDBClustersInput) (*DescribeDBClustersOutput, error) { @@ -2966,15 +2955,14 @@ func (c *Neptune) DescribeDBClustersWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBClusters operation. -// pageNum := 0 -// err := client.DescribeDBClustersPages(params, -// func(page *neptune.DescribeDBClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBClusters operation. +// pageNum := 0 +// err := client.DescribeDBClustersPages(params, +// func(page *neptune.DescribeDBClustersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Neptune) DescribeDBClustersPages(input *DescribeDBClustersInput, fn func(*DescribeDBClustersOutput, bool) bool) error { return c.DescribeDBClustersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3026,14 +3014,13 @@ const opDescribeDBEngineVersions = "DescribeDBEngineVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBEngineVersionsRequest method. +// req, resp := client.DescribeDBEngineVersionsRequest(params) // -// // Example sending a request using the DescribeDBEngineVersionsRequest method. -// req, resp := client.DescribeDBEngineVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBEngineVersions func (c *Neptune) DescribeDBEngineVersionsRequest(input *DescribeDBEngineVersionsInput) (req *request.Request, output *DescribeDBEngineVersionsOutput) { @@ -3098,15 +3085,14 @@ func (c *Neptune) DescribeDBEngineVersionsWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBEngineVersions operation. -// pageNum := 0 -// err := client.DescribeDBEngineVersionsPages(params, -// func(page *neptune.DescribeDBEngineVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBEngineVersions operation. +// pageNum := 0 +// err := client.DescribeDBEngineVersionsPages(params, +// func(page *neptune.DescribeDBEngineVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Neptune) DescribeDBEngineVersionsPages(input *DescribeDBEngineVersionsInput, fn func(*DescribeDBEngineVersionsOutput, bool) bool) error { return c.DescribeDBEngineVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3158,14 +3144,13 @@ const opDescribeDBInstances = "DescribeDBInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBInstancesRequest method. +// req, resp := client.DescribeDBInstancesRequest(params) // -// // Example sending a request using the DescribeDBInstancesRequest method. -// req, resp := client.DescribeDBInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBInstances func (c *Neptune) DescribeDBInstancesRequest(input *DescribeDBInstancesInput) (req *request.Request, output *DescribeDBInstancesOutput) { @@ -3205,8 +3190,8 @@ func (c *Neptune) DescribeDBInstancesRequest(input *DescribeDBInstancesInput) (r // API operation DescribeDBInstances for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier does not refer to an existing DB instance. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier does not refer to an existing DB instance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBInstances func (c *Neptune) DescribeDBInstances(input *DescribeDBInstancesInput) (*DescribeDBInstancesOutput, error) { @@ -3238,15 +3223,14 @@ func (c *Neptune) DescribeDBInstancesWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBInstances operation. -// pageNum := 0 -// err := client.DescribeDBInstancesPages(params, -// func(page *neptune.DescribeDBInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBInstances operation. +// pageNum := 0 +// err := client.DescribeDBInstancesPages(params, +// func(page *neptune.DescribeDBInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Neptune) DescribeDBInstancesPages(input *DescribeDBInstancesInput, fn func(*DescribeDBInstancesOutput, bool) bool) error { return c.DescribeDBInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3298,14 +3282,13 @@ const opDescribeDBParameterGroups = "DescribeDBParameterGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBParameterGroupsRequest method. +// req, resp := client.DescribeDBParameterGroupsRequest(params) // -// // Example sending a request using the DescribeDBParameterGroupsRequest method. -// req, resp := client.DescribeDBParameterGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBParameterGroups func (c *Neptune) DescribeDBParameterGroupsRequest(input *DescribeDBParameterGroupsInput) (req *request.Request, output *DescribeDBParameterGroupsOutput) { @@ -3344,8 +3327,8 @@ func (c *Neptune) DescribeDBParameterGroupsRequest(input *DescribeDBParameterGro // API operation DescribeDBParameterGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName does not refer to an existing DB parameter group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName does not refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBParameterGroups func (c *Neptune) DescribeDBParameterGroups(input *DescribeDBParameterGroupsInput) (*DescribeDBParameterGroupsOutput, error) { @@ -3377,15 +3360,14 @@ func (c *Neptune) DescribeDBParameterGroupsWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBParameterGroups operation. -// pageNum := 0 -// err := client.DescribeDBParameterGroupsPages(params, -// func(page *neptune.DescribeDBParameterGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBParameterGroups operation. +// pageNum := 0 +// err := client.DescribeDBParameterGroupsPages(params, +// func(page *neptune.DescribeDBParameterGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Neptune) DescribeDBParameterGroupsPages(input *DescribeDBParameterGroupsInput, fn func(*DescribeDBParameterGroupsOutput, bool) bool) error { return c.DescribeDBParameterGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3437,14 +3419,13 @@ const opDescribeDBParameters = "DescribeDBParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBParametersRequest method. +// req, resp := client.DescribeDBParametersRequest(params) // -// // Example sending a request using the DescribeDBParametersRequest method. -// req, resp := client.DescribeDBParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBParameters func (c *Neptune) DescribeDBParametersRequest(input *DescribeDBParametersInput) (req *request.Request, output *DescribeDBParametersOutput) { @@ -3481,8 +3462,8 @@ func (c *Neptune) DescribeDBParametersRequest(input *DescribeDBParametersInput) // API operation DescribeDBParameters for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName does not refer to an existing DB parameter group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName does not refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBParameters func (c *Neptune) DescribeDBParameters(input *DescribeDBParametersInput) (*DescribeDBParametersOutput, error) { @@ -3514,15 +3495,14 @@ func (c *Neptune) DescribeDBParametersWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBParameters operation. -// pageNum := 0 -// err := client.DescribeDBParametersPages(params, -// func(page *neptune.DescribeDBParametersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBParameters operation. +// pageNum := 0 +// err := client.DescribeDBParametersPages(params, +// func(page *neptune.DescribeDBParametersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Neptune) DescribeDBParametersPages(input *DescribeDBParametersInput, fn func(*DescribeDBParametersOutput, bool) bool) error { return c.DescribeDBParametersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3574,14 +3554,13 @@ const opDescribeDBSubnetGroups = "DescribeDBSubnetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBSubnetGroupsRequest method. +// req, resp := client.DescribeDBSubnetGroupsRequest(params) // -// // Example sending a request using the DescribeDBSubnetGroupsRequest method. -// req, resp := client.DescribeDBSubnetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBSubnetGroups func (c *Neptune) DescribeDBSubnetGroupsRequest(input *DescribeDBSubnetGroupsInput) (req *request.Request, output *DescribeDBSubnetGroupsOutput) { @@ -3621,8 +3600,8 @@ func (c *Neptune) DescribeDBSubnetGroupsRequest(input *DescribeDBSubnetGroupsInp // API operation DescribeDBSubnetGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName does not refer to an existing DB subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName does not refer to an existing DB subnet group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeDBSubnetGroups func (c *Neptune) DescribeDBSubnetGroups(input *DescribeDBSubnetGroupsInput) (*DescribeDBSubnetGroupsOutput, error) { @@ -3654,15 +3633,14 @@ func (c *Neptune) DescribeDBSubnetGroupsWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBSubnetGroups operation. -// pageNum := 0 -// err := client.DescribeDBSubnetGroupsPages(params, -// func(page *neptune.DescribeDBSubnetGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBSubnetGroups operation. +// pageNum := 0 +// err := client.DescribeDBSubnetGroupsPages(params, +// func(page *neptune.DescribeDBSubnetGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Neptune) DescribeDBSubnetGroupsPages(input *DescribeDBSubnetGroupsInput, fn func(*DescribeDBSubnetGroupsOutput, bool) bool) error { return c.DescribeDBSubnetGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3714,14 +3692,13 @@ const opDescribeEngineDefaultClusterParameters = "DescribeEngineDefaultClusterPa // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEngineDefaultClusterParametersRequest method. +// req, resp := client.DescribeEngineDefaultClusterParametersRequest(params) // -// // Example sending a request using the DescribeEngineDefaultClusterParametersRequest method. -// req, resp := client.DescribeEngineDefaultClusterParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEngineDefaultClusterParameters func (c *Neptune) DescribeEngineDefaultClusterParametersRequest(input *DescribeEngineDefaultClusterParametersInput) (req *request.Request, output *DescribeEngineDefaultClusterParametersOutput) { @@ -3789,14 +3766,13 @@ const opDescribeEngineDefaultParameters = "DescribeEngineDefaultParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEngineDefaultParametersRequest method. +// req, resp := client.DescribeEngineDefaultParametersRequest(params) // -// // Example sending a request using the DescribeEngineDefaultParametersRequest method. -// req, resp := client.DescribeEngineDefaultParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEngineDefaultParameters func (c *Neptune) DescribeEngineDefaultParametersRequest(input *DescribeEngineDefaultParametersInput) (req *request.Request, output *DescribeEngineDefaultParametersOutput) { @@ -3862,15 +3838,14 @@ func (c *Neptune) DescribeEngineDefaultParametersWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEngineDefaultParameters operation. -// pageNum := 0 -// err := client.DescribeEngineDefaultParametersPages(params, -// func(page *neptune.DescribeEngineDefaultParametersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEngineDefaultParameters operation. +// pageNum := 0 +// err := client.DescribeEngineDefaultParametersPages(params, +// func(page *neptune.DescribeEngineDefaultParametersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Neptune) DescribeEngineDefaultParametersPages(input *DescribeEngineDefaultParametersInput, fn func(*DescribeEngineDefaultParametersOutput, bool) bool) error { return c.DescribeEngineDefaultParametersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3922,14 +3897,13 @@ const opDescribeEventCategories = "DescribeEventCategories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventCategoriesRequest method. +// req, resp := client.DescribeEventCategoriesRequest(params) // -// // Example sending a request using the DescribeEventCategoriesRequest method. -// req, resp := client.DescribeEventCategoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEventCategories func (c *Neptune) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput) { @@ -3997,14 +3971,13 @@ const opDescribeEventSubscriptions = "DescribeEventSubscriptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventSubscriptionsRequest method. +// req, resp := client.DescribeEventSubscriptionsRequest(params) // -// // Example sending a request using the DescribeEventSubscriptionsRequest method. -// req, resp := client.DescribeEventSubscriptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEventSubscriptions func (c *Neptune) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput) { @@ -4045,8 +4018,8 @@ func (c *Neptune) DescribeEventSubscriptionsRequest(input *DescribeEventSubscrip // API operation DescribeEventSubscriptions for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// The designated subscription could not be found. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// The designated subscription could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEventSubscriptions func (c *Neptune) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error) { @@ -4078,15 +4051,14 @@ func (c *Neptune) DescribeEventSubscriptionsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEventSubscriptions operation. -// pageNum := 0 -// err := client.DescribeEventSubscriptionsPages(params, -// func(page *neptune.DescribeEventSubscriptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEventSubscriptions operation. +// pageNum := 0 +// err := client.DescribeEventSubscriptionsPages(params, +// func(page *neptune.DescribeEventSubscriptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Neptune) DescribeEventSubscriptionsPages(input *DescribeEventSubscriptionsInput, fn func(*DescribeEventSubscriptionsOutput, bool) bool) error { return c.DescribeEventSubscriptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4138,14 +4110,13 @@ const opDescribeEvents = "DescribeEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventsRequest method. +// req, resp := client.DescribeEventsRequest(params) // -// // Example sending a request using the DescribeEventsRequest method. -// req, resp := client.DescribeEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeEvents func (c *Neptune) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { @@ -4214,15 +4185,14 @@ func (c *Neptune) DescribeEventsWithContext(ctx aws.Context, input *DescribeEven // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEvents operation. -// pageNum := 0 -// err := client.DescribeEventsPages(params, -// func(page *neptune.DescribeEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEvents operation. +// pageNum := 0 +// err := client.DescribeEventsPages(params, +// func(page *neptune.DescribeEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Neptune) DescribeEventsPages(input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool) error { return c.DescribeEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4274,14 +4244,13 @@ const opDescribeOrderableDBInstanceOptions = "DescribeOrderableDBInstanceOptions // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrderableDBInstanceOptionsRequest method. +// req, resp := client.DescribeOrderableDBInstanceOptionsRequest(params) // -// // Example sending a request using the DescribeOrderableDBInstanceOptionsRequest method. -// req, resp := client.DescribeOrderableDBInstanceOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeOrderableDBInstanceOptions func (c *Neptune) DescribeOrderableDBInstanceOptionsRequest(input *DescribeOrderableDBInstanceOptionsInput) (req *request.Request, output *DescribeOrderableDBInstanceOptionsOutput) { @@ -4346,15 +4315,14 @@ func (c *Neptune) DescribeOrderableDBInstanceOptionsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOrderableDBInstanceOptions operation. -// pageNum := 0 -// err := client.DescribeOrderableDBInstanceOptionsPages(params, -// func(page *neptune.DescribeOrderableDBInstanceOptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOrderableDBInstanceOptions operation. +// pageNum := 0 +// err := client.DescribeOrderableDBInstanceOptionsPages(params, +// func(page *neptune.DescribeOrderableDBInstanceOptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Neptune) DescribeOrderableDBInstanceOptionsPages(input *DescribeOrderableDBInstanceOptionsInput, fn func(*DescribeOrderableDBInstanceOptionsOutput, bool) bool) error { return c.DescribeOrderableDBInstanceOptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4406,14 +4374,13 @@ const opDescribePendingMaintenanceActions = "DescribePendingMaintenanceActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePendingMaintenanceActionsRequest method. +// req, resp := client.DescribePendingMaintenanceActionsRequest(params) // -// // Example sending a request using the DescribePendingMaintenanceActionsRequest method. -// req, resp := client.DescribePendingMaintenanceActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribePendingMaintenanceActions func (c *Neptune) DescribePendingMaintenanceActionsRequest(input *DescribePendingMaintenanceActionsInput) (req *request.Request, output *DescribePendingMaintenanceActionsOutput) { @@ -4451,8 +4418,8 @@ func (c *Neptune) DescribePendingMaintenanceActionsRequest(input *DescribePendin // API operation DescribePendingMaintenanceActions for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" -// The specified resource ID was not found. +// - ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The specified resource ID was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribePendingMaintenanceActions func (c *Neptune) DescribePendingMaintenanceActions(input *DescribePendingMaintenanceActionsInput) (*DescribePendingMaintenanceActionsOutput, error) { @@ -4484,15 +4451,14 @@ func (c *Neptune) DescribePendingMaintenanceActionsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePendingMaintenanceActions operation. -// pageNum := 0 -// err := client.DescribePendingMaintenanceActionsPages(params, -// func(page *neptune.DescribePendingMaintenanceActionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePendingMaintenanceActions operation. +// pageNum := 0 +// err := client.DescribePendingMaintenanceActionsPages(params, +// func(page *neptune.DescribePendingMaintenanceActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Neptune) DescribePendingMaintenanceActionsPages(input *DescribePendingMaintenanceActionsInput, fn func(*DescribePendingMaintenanceActionsOutput, bool) bool) error { return c.DescribePendingMaintenanceActionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4544,14 +4510,13 @@ const opDescribeValidDBInstanceModifications = "DescribeValidDBInstanceModificat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeValidDBInstanceModificationsRequest method. +// req, resp := client.DescribeValidDBInstanceModificationsRequest(params) // -// // Example sending a request using the DescribeValidDBInstanceModificationsRequest method. -// req, resp := client.DescribeValidDBInstanceModificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeValidDBInstanceModifications func (c *Neptune) DescribeValidDBInstanceModificationsRequest(input *DescribeValidDBInstanceModificationsInput) (req *request.Request, output *DescribeValidDBInstanceModificationsOutput) { @@ -4584,11 +4549,12 @@ func (c *Neptune) DescribeValidDBInstanceModificationsRequest(input *DescribeVal // API operation DescribeValidDBInstanceModifications for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier does not refer to an existing DB instance. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified DB instance is not in the available state. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier does not refer to an existing DB instance. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified DB instance is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/DescribeValidDBInstanceModifications func (c *Neptune) DescribeValidDBInstanceModifications(input *DescribeValidDBInstanceModificationsInput) (*DescribeValidDBInstanceModificationsOutput, error) { @@ -4628,14 +4594,13 @@ const opFailoverDBCluster = "FailoverDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the FailoverDBClusterRequest method. +// req, resp := client.FailoverDBClusterRequest(params) // -// // Example sending a request using the FailoverDBClusterRequest method. -// req, resp := client.FailoverDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/FailoverDBCluster func (c *Neptune) FailoverDBClusterRequest(input *FailoverDBClusterInput) (req *request.Request, output *FailoverDBClusterOutput) { @@ -4676,14 +4641,15 @@ func (c *Neptune) FailoverDBClusterRequest(input *FailoverDBClusterInput) (req * // API operation FailoverDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified DB instance is not in the available state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified DB instance is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/FailoverDBCluster func (c *Neptune) FailoverDBCluster(input *FailoverDBClusterInput) (*FailoverDBClusterOutput, error) { @@ -4723,14 +4689,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ListTagsForResource func (c *Neptune) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4761,14 +4726,15 @@ func (c *Neptune) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r // API operation ListTagsForResource for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier does not refer to an existing DB instance. // -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier does not refer to an existing DB snapshot. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier does not refer to an existing DB instance. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier does not refer to an existing DB snapshot. +// +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ListTagsForResource func (c *Neptune) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4808,14 +4774,13 @@ const opModifyDBCluster = "ModifyDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBClusterRequest method. +// req, resp := client.ModifyDBClusterRequest(params) // -// // Example sending a request using the ModifyDBClusterRequest method. -// req, resp := client.ModifyDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBCluster func (c *Neptune) ModifyDBClusterRequest(input *ModifyDBClusterInput) (req *request.Request, output *ModifyDBClusterOutput) { @@ -4847,42 +4812,43 @@ func (c *Neptune) ModifyDBClusterRequest(input *ModifyDBClusterInput) (req *requ // API operation ModifyDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// Request would result in user exceeding the allowed amount of storage available -// across all DB instances. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName does not refer to an existing DB subnet group. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// Request would result in user exceeding the allowed amount of storage available +// across all DB instances. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// DB subnet group does not cover all Availability Zones after it is created -// because users' change. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName does not refer to an existing DB subnet group. // -// * ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" -// The DB subnet group cannot be deleted because it is in use. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// DB subnet group does not cover all Availability Zones after it is created +// because users' change. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" +// The DB subnet group cannot be deleted because it is in use. // -// * ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" -// DBClusterParameterGroupName does not refer to an existing DB Cluster parameter -// group. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" -// The state of the DB security group does not allow deletion. +// - ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" +// DBClusterParameterGroupName does not refer to an existing DB Cluster parameter +// group. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified DB instance is not in the available state. +// - ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" +// The state of the DB security group does not allow deletion. // -// * ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" -// User already has a DB cluster with the given identifier. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified DB instance is not in the available state. +// +// - ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" +// User already has a DB cluster with the given identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBCluster func (c *Neptune) ModifyDBCluster(input *ModifyDBClusterInput) (*ModifyDBClusterOutput, error) { @@ -4922,14 +4888,13 @@ const opModifyDBClusterEndpoint = "ModifyDBClusterEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBClusterEndpointRequest method. +// req, resp := client.ModifyDBClusterEndpointRequest(params) // -// // Example sending a request using the ModifyDBClusterEndpointRequest method. -// req, resp := client.ModifyDBClusterEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterEndpoint func (c *Neptune) ModifyDBClusterEndpointRequest(input *ModifyDBClusterEndpointInput) (req *request.Request, output *ModifyDBClusterEndpointOutput) { @@ -4960,21 +4925,22 @@ func (c *Neptune) ModifyDBClusterEndpointRequest(input *ModifyDBClusterEndpointI // API operation ModifyDBClusterEndpoint for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. // -// * ErrCodeInvalidDBClusterEndpointStateFault "InvalidDBClusterEndpointStateFault" -// The requested operation cannot be performed on the endpoint while the endpoint -// is in this state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. // -// * ErrCodeDBClusterEndpointNotFoundFault "DBClusterEndpointNotFoundFault" -// The specified custom endpoint doesn't exist. +// - ErrCodeInvalidDBClusterEndpointStateFault "InvalidDBClusterEndpointStateFault" +// The requested operation cannot be performed on the endpoint while the endpoint +// is in this state. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier does not refer to an existing DB instance. +// - ErrCodeDBClusterEndpointNotFoundFault "DBClusterEndpointNotFoundFault" +// The specified custom endpoint doesn't exist. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified DB instance is not in the available state. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier does not refer to an existing DB instance. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified DB instance is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterEndpoint func (c *Neptune) ModifyDBClusterEndpoint(input *ModifyDBClusterEndpointInput) (*ModifyDBClusterEndpointOutput, error) { @@ -5014,14 +4980,13 @@ const opModifyDBClusterParameterGroup = "ModifyDBClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBClusterParameterGroupRequest method. +// req, resp := client.ModifyDBClusterParameterGroupRequest(params) // -// // Example sending a request using the ModifyDBClusterParameterGroupRequest method. -// req, resp := client.ModifyDBClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterParameterGroup func (c *Neptune) ModifyDBClusterParameterGroupRequest(input *ModifyDBClusterParameterGroupInput) (req *request.Request, output *ResetDBClusterParameterGroupOutput) { @@ -5069,13 +5034,14 @@ func (c *Neptune) ModifyDBClusterParameterGroupRequest(input *ModifyDBClusterPar // API operation ModifyDBClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName does not refer to an existing DB parameter group. // -// * ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" -// The DB parameter group is in use or is in an invalid state. If you are attempting -// to delete the parameter group, you cannot delete it when the parameter group -// is in this state. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName does not refer to an existing DB parameter group. +// +// - ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" +// The DB parameter group is in use or is in an invalid state. If you are attempting +// to delete the parameter group, you cannot delete it when the parameter group +// is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterParameterGroup func (c *Neptune) ModifyDBClusterParameterGroup(input *ModifyDBClusterParameterGroupInput) (*ResetDBClusterParameterGroupOutput, error) { @@ -5115,14 +5081,13 @@ const opModifyDBClusterSnapshotAttribute = "ModifyDBClusterSnapshotAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBClusterSnapshotAttributeRequest method. +// req, resp := client.ModifyDBClusterSnapshotAttributeRequest(params) // -// // Example sending a request using the ModifyDBClusterSnapshotAttributeRequest method. -// req, resp := client.ModifyDBClusterSnapshotAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterSnapshotAttribute func (c *Neptune) ModifyDBClusterSnapshotAttributeRequest(input *ModifyDBClusterSnapshotAttributeInput) (req *request.Request, output *ModifyDBClusterSnapshotAttributeOutput) { @@ -5169,15 +5134,16 @@ func (c *Neptune) ModifyDBClusterSnapshotAttributeRequest(input *ModifyDBCluster // API operation ModifyDBClusterSnapshotAttribute for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The supplied value is not a valid DB cluster snapshot state. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. +// +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The supplied value is not a valid DB cluster snapshot state. // -// * ErrCodeSharedSnapshotQuotaExceededFault "SharedSnapshotQuotaExceeded" -// You have exceeded the maximum number of accounts that you can share a manual -// DB snapshot with. +// - ErrCodeSharedSnapshotQuotaExceededFault "SharedSnapshotQuotaExceeded" +// You have exceeded the maximum number of accounts that you can share a manual +// DB snapshot with. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBClusterSnapshotAttribute func (c *Neptune) ModifyDBClusterSnapshotAttribute(input *ModifyDBClusterSnapshotAttributeInput) (*ModifyDBClusterSnapshotAttributeOutput, error) { @@ -5217,14 +5183,13 @@ const opModifyDBInstance = "ModifyDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBInstanceRequest method. +// req, resp := client.ModifyDBInstanceRequest(params) // -// // Example sending a request using the ModifyDBInstanceRequest method. -// req, resp := client.ModifyDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBInstance func (c *Neptune) ModifyDBInstanceRequest(input *ModifyDBInstanceInput) (req *request.Request, output *ModifyDBInstanceOutput) { @@ -5258,60 +5223,61 @@ func (c *Neptune) ModifyDBInstanceRequest(input *ModifyDBInstanceInput) (req *re // API operation ModifyDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified DB instance is not in the available state. // -// * ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" -// The state of the DB security group does not allow deletion. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified DB instance is not in the available state. +// +// - ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" +// The state of the DB security group does not allow deletion. // -// * ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" -// User already has a DB instance with the given identifier. +// - ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" +// User already has a DB instance with the given identifier. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier does not refer to an existing DB instance. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier does not refer to an existing DB instance. // -// * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" -// DBSecurityGroupName does not refer to an existing DB security group. +// - ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" +// DBSecurityGroupName does not refer to an existing DB security group. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName does not refer to an existing DB parameter group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName does not refer to an existing DB parameter group. // -// * ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" -// Specified DB instance class is not available in the specified Availability -// Zone. +// - ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" +// Specified DB instance class is not available in the specified Availability +// Zone. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// Request would result in user exceeding the allowed amount of storage available -// across all DB instances. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// Request would result in user exceeding the allowed amount of storage available +// across all DB instances. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// DB subnet group does not cover all Availability Zones after it is created -// because users' change. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// DB subnet group does not cover all Availability Zones after it is created +// because users' change. // -// * ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" -// Provisioned IOPS not available in the specified Availability Zone. +// - ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" +// Provisioned IOPS not available in the specified Availability Zone. // -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The designated option group could not be found. +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The designated option group could not be found. // -// * ErrCodeDBUpgradeDependencyFailureFault "DBUpgradeDependencyFailure" -// The DB upgrade failed because a resource the DB depends on could not be modified. +// - ErrCodeDBUpgradeDependencyFailureFault "DBUpgradeDependencyFailure" +// The DB upgrade failed because a resource the DB depends on could not be modified. // -// * ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" -// StorageType specified cannot be associated with the DB Instance. +// - ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" +// StorageType specified cannot be associated with the DB Instance. // -// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" -// Specified CIDRIP or EC2 security group is not authorized for the specified -// DB security group. +// - ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// Specified CIDRIP or EC2 security group is not authorized for the specified +// DB security group. // -// Neptune may not also be authorized via IAM to perform necessary actions on -// your behalf. +// Neptune may not also be authorized via IAM to perform necessary actions on +// your behalf. // -// * ErrCodeCertificateNotFoundFault "CertificateNotFound" -// CertificateIdentifier does not refer to an existing certificate. +// - ErrCodeCertificateNotFoundFault "CertificateNotFound" +// CertificateIdentifier does not refer to an existing certificate. // -// * ErrCodeDomainNotFoundFault "DomainNotFoundFault" -// Domain does not refer to an existing Active Directory Domain. +// - ErrCodeDomainNotFoundFault "DomainNotFoundFault" +// Domain does not refer to an existing Active Directory Domain. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBInstance func (c *Neptune) ModifyDBInstance(input *ModifyDBInstanceInput) (*ModifyDBInstanceOutput, error) { @@ -5351,14 +5317,13 @@ const opModifyDBParameterGroup = "ModifyDBParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBParameterGroupRequest method. +// req, resp := client.ModifyDBParameterGroupRequest(params) // -// // Example sending a request using the ModifyDBParameterGroupRequest method. -// req, resp := client.ModifyDBParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBParameterGroup func (c *Neptune) ModifyDBParameterGroupRequest(input *ModifyDBParameterGroupInput) (req *request.Request, output *ResetDBParameterGroupOutput) { @@ -5406,13 +5371,14 @@ func (c *Neptune) ModifyDBParameterGroupRequest(input *ModifyDBParameterGroupInp // API operation ModifyDBParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName does not refer to an existing DB parameter group. // -// * ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" -// The DB parameter group is in use or is in an invalid state. If you are attempting -// to delete the parameter group, you cannot delete it when the parameter group -// is in this state. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName does not refer to an existing DB parameter group. +// +// - ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" +// The DB parameter group is in use or is in an invalid state. If you are attempting +// to delete the parameter group, you cannot delete it when the parameter group +// is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBParameterGroup func (c *Neptune) ModifyDBParameterGroup(input *ModifyDBParameterGroupInput) (*ResetDBParameterGroupOutput, error) { @@ -5452,14 +5418,13 @@ const opModifyDBSubnetGroup = "ModifyDBSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBSubnetGroupRequest method. +// req, resp := client.ModifyDBSubnetGroupRequest(params) // -// // Example sending a request using the ModifyDBSubnetGroupRequest method. -// req, resp := client.ModifyDBSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBSubnetGroup func (c *Neptune) ModifyDBSubnetGroupRequest(input *ModifyDBSubnetGroupInput) (req *request.Request, output *ModifyDBSubnetGroupOutput) { @@ -5491,23 +5456,24 @@ func (c *Neptune) ModifyDBSubnetGroupRequest(input *ModifyDBSubnetGroupInput) (r // API operation ModifyDBSubnetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName does not refer to an existing DB subnet group. // -// * ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" -// Request would result in user exceeding the allowed number of subnets in a -// DB subnet groups. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName does not refer to an existing DB subnet group. +// +// - ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" +// Request would result in user exceeding the allowed number of subnets in a +// DB subnet groups. // -// * ErrCodeSubnetAlreadyInUse "SubnetAlreadyInUse" -// The DB subnet is already in use in the Availability Zone. +// - ErrCodeSubnetAlreadyInUse "SubnetAlreadyInUse" +// The DB subnet is already in use in the Availability Zone. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the DB subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the DB subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyDBSubnetGroup func (c *Neptune) ModifyDBSubnetGroup(input *ModifyDBSubnetGroupInput) (*ModifyDBSubnetGroupOutput, error) { @@ -5547,14 +5513,13 @@ const opModifyEventSubscription = "ModifyEventSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyEventSubscriptionRequest method. +// req, resp := client.ModifyEventSubscriptionRequest(params) // -// // Example sending a request using the ModifyEventSubscriptionRequest method. -// req, resp := client.ModifyEventSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyEventSubscription func (c *Neptune) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput) { @@ -5591,23 +5556,24 @@ func (c *Neptune) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionI // API operation ModifyEventSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded" -// You have exceeded the number of events you can subscribe to. // -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// The designated subscription could not be found. +// - ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded" +// You have exceeded the number of events you can subscribe to. +// +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// The designated subscription could not be found. // -// * ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" -// The SNS topic is invalid. +// - ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" +// The SNS topic is invalid. // -// * ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" -// There is no SNS authorization. +// - ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" +// There is no SNS authorization. // -// * ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" -// The ARN of the SNS topic could not be found. +// - ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" +// The ARN of the SNS topic could not be found. // -// * ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound" -// The designated subscription category could not be found. +// - ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound" +// The designated subscription category could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ModifyEventSubscription func (c *Neptune) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error) { @@ -5647,14 +5613,13 @@ const opPromoteReadReplicaDBCluster = "PromoteReadReplicaDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PromoteReadReplicaDBClusterRequest method. +// req, resp := client.PromoteReadReplicaDBClusterRequest(params) // -// // Example sending a request using the PromoteReadReplicaDBClusterRequest method. -// req, resp := client.PromoteReadReplicaDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/PromoteReadReplicaDBCluster func (c *Neptune) PromoteReadReplicaDBClusterRequest(input *PromoteReadReplicaDBClusterInput) (req *request.Request, output *PromoteReadReplicaDBClusterOutput) { @@ -5685,11 +5650,12 @@ func (c *Neptune) PromoteReadReplicaDBClusterRequest(input *PromoteReadReplicaDB // API operation PromoteReadReplicaDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/PromoteReadReplicaDBCluster func (c *Neptune) PromoteReadReplicaDBCluster(input *PromoteReadReplicaDBClusterInput) (*PromoteReadReplicaDBClusterOutput, error) { @@ -5729,14 +5695,13 @@ const opRebootDBInstance = "RebootDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebootDBInstanceRequest method. +// req, resp := client.RebootDBInstanceRequest(params) // -// // Example sending a request using the RebootDBInstanceRequest method. -// req, resp := client.RebootDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RebootDBInstance func (c *Neptune) RebootDBInstanceRequest(input *RebootDBInstanceInput) (req *request.Request, output *RebootDBInstanceOutput) { @@ -5774,11 +5739,12 @@ func (c *Neptune) RebootDBInstanceRequest(input *RebootDBInstanceInput) (req *re // API operation RebootDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified DB instance is not in the available state. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier does not refer to an existing DB instance. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified DB instance is not in the available state. +// +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier does not refer to an existing DB instance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RebootDBInstance func (c *Neptune) RebootDBInstance(input *RebootDBInstanceInput) (*RebootDBInstanceOutput, error) { @@ -5818,14 +5784,13 @@ const opRemoveRoleFromDBCluster = "RemoveRoleFromDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveRoleFromDBClusterRequest method. +// req, resp := client.RemoveRoleFromDBClusterRequest(params) // -// // Example sending a request using the RemoveRoleFromDBClusterRequest method. -// req, resp := client.RemoveRoleFromDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveRoleFromDBCluster func (c *Neptune) RemoveRoleFromDBClusterRequest(input *RemoveRoleFromDBClusterInput) (req *request.Request, output *RemoveRoleFromDBClusterOutput) { @@ -5857,15 +5822,16 @@ func (c *Neptune) RemoveRoleFromDBClusterRequest(input *RemoveRoleFromDBClusterI // API operation RemoveRoleFromDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeDBClusterRoleNotFoundFault "DBClusterRoleNotFound" -// The specified IAM role Amazon Resource Name (ARN) is not associated with -// the specified DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. +// +// - ErrCodeDBClusterRoleNotFoundFault "DBClusterRoleNotFound" +// The specified IAM role Amazon Resource Name (ARN) is not associated with +// the specified DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveRoleFromDBCluster func (c *Neptune) RemoveRoleFromDBCluster(input *RemoveRoleFromDBClusterInput) (*RemoveRoleFromDBClusterOutput, error) { @@ -5905,14 +5871,13 @@ const opRemoveSourceIdentifierFromSubscription = "RemoveSourceIdentifierFromSubs // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveSourceIdentifierFromSubscriptionRequest method. +// req, resp := client.RemoveSourceIdentifierFromSubscriptionRequest(params) // -// // Example sending a request using the RemoveSourceIdentifierFromSubscriptionRequest method. -// req, resp := client.RemoveSourceIdentifierFromSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveSourceIdentifierFromSubscription func (c *Neptune) RemoveSourceIdentifierFromSubscriptionRequest(input *RemoveSourceIdentifierFromSubscriptionInput) (req *request.Request, output *RemoveSourceIdentifierFromSubscriptionOutput) { @@ -5943,11 +5908,12 @@ func (c *Neptune) RemoveSourceIdentifierFromSubscriptionRequest(input *RemoveSou // API operation RemoveSourceIdentifierFromSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// The designated subscription could not be found. // -// * ErrCodeSourceNotFoundFault "SourceNotFound" -// The source could not be found. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// The designated subscription could not be found. +// +// - ErrCodeSourceNotFoundFault "SourceNotFound" +// The source could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveSourceIdentifierFromSubscription func (c *Neptune) RemoveSourceIdentifierFromSubscription(input *RemoveSourceIdentifierFromSubscriptionInput) (*RemoveSourceIdentifierFromSubscriptionOutput, error) { @@ -5987,14 +5953,13 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsFromResourceRequest method. +// req, resp := client.RemoveTagsFromResourceRequest(params) // -// // Example sending a request using the RemoveTagsFromResourceRequest method. -// req, resp := client.RemoveTagsFromResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveTagsFromResource func (c *Neptune) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput) { @@ -6026,14 +5991,15 @@ func (c *Neptune) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInp // API operation RemoveTagsFromResource for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier does not refer to an existing DB instance. // -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier does not refer to an existing DB snapshot. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier does not refer to an existing DB instance. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier does not refer to an existing DB snapshot. +// +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RemoveTagsFromResource func (c *Neptune) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error) { @@ -6073,14 +6039,13 @@ const opResetDBClusterParameterGroup = "ResetDBClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetDBClusterParameterGroupRequest method. +// req, resp := client.ResetDBClusterParameterGroupRequest(params) // -// // Example sending a request using the ResetDBClusterParameterGroupRequest method. -// req, resp := client.ResetDBClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ResetDBClusterParameterGroup func (c *Neptune) ResetDBClusterParameterGroupRequest(input *ResetDBClusterParameterGroupInput) (req *request.Request, output *ResetDBClusterParameterGroupOutput) { @@ -6120,13 +6085,14 @@ func (c *Neptune) ResetDBClusterParameterGroupRequest(input *ResetDBClusterParam // API operation ResetDBClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" -// The DB parameter group is in use or is in an invalid state. If you are attempting -// to delete the parameter group, you cannot delete it when the parameter group -// is in this state. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName does not refer to an existing DB parameter group. +// - ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" +// The DB parameter group is in use or is in an invalid state. If you are attempting +// to delete the parameter group, you cannot delete it when the parameter group +// is in this state. +// +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName does not refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ResetDBClusterParameterGroup func (c *Neptune) ResetDBClusterParameterGroup(input *ResetDBClusterParameterGroupInput) (*ResetDBClusterParameterGroupOutput, error) { @@ -6166,14 +6132,13 @@ const opResetDBParameterGroup = "ResetDBParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetDBParameterGroupRequest method. +// req, resp := client.ResetDBParameterGroupRequest(params) // -// // Example sending a request using the ResetDBParameterGroupRequest method. -// req, resp := client.ResetDBParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ResetDBParameterGroup func (c *Neptune) ResetDBParameterGroupRequest(input *ResetDBParameterGroupInput) (req *request.Request, output *ResetDBParameterGroupOutput) { @@ -6210,13 +6175,14 @@ func (c *Neptune) ResetDBParameterGroupRequest(input *ResetDBParameterGroupInput // API operation ResetDBParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" -// The DB parameter group is in use or is in an invalid state. If you are attempting -// to delete the parameter group, you cannot delete it when the parameter group -// is in this state. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName does not refer to an existing DB parameter group. +// - ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" +// The DB parameter group is in use or is in an invalid state. If you are attempting +// to delete the parameter group, you cannot delete it when the parameter group +// is in this state. +// +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName does not refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/ResetDBParameterGroup func (c *Neptune) ResetDBParameterGroup(input *ResetDBParameterGroupInput) (*ResetDBParameterGroupOutput, error) { @@ -6256,14 +6222,13 @@ const opRestoreDBClusterFromSnapshot = "RestoreDBClusterFromSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreDBClusterFromSnapshotRequest method. +// req, resp := client.RestoreDBClusterFromSnapshotRequest(params) // -// // Example sending a request using the RestoreDBClusterFromSnapshotRequest method. -// req, resp := client.RestoreDBClusterFromSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RestoreDBClusterFromSnapshot func (c *Neptune) RestoreDBClusterFromSnapshotRequest(input *RestoreDBClusterFromSnapshotInput) (req *request.Request, output *RestoreDBClusterFromSnapshotOutput) { @@ -6302,67 +6267,68 @@ func (c *Neptune) RestoreDBClusterFromSnapshotRequest(input *RestoreDBClusterFro // API operation RestoreDBClusterFromSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" -// User already has a DB cluster with the given identifier. // -// * ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" -// User attempted to create a new DB cluster and the user has already reached -// the maximum allowed DB cluster quota. +// - ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" +// User already has a DB cluster with the given identifier. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// Request would result in user exceeding the allowed amount of storage available -// across all DB instances. +// - ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" +// User attempted to create a new DB cluster and the user has already reached +// the maximum allowed DB cluster quota. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName does not refer to an existing DB subnet group. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// Request would result in user exceeding the allowed amount of storage available +// across all DB instances. // -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier does not refer to an existing DB snapshot. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName does not refer to an existing DB subnet group. // -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier does not refer to an existing DB snapshot. // -// * ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" -// The DB cluster does not have enough capacity for the current operation. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. // -// * ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" -// There is insufficient storage available for the current action. You may be -// able to resolve this error by updating your subnet group to use different -// Availability Zones that have more storage available. +// - ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" +// The DB cluster does not have enough capacity for the current operation. // -// * ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" -// The state of the DB snapshot does not allow deletion. +// - ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" +// There is insufficient storage available for the current action. You may be +// able to resolve this error by updating your subnet group to use different +// Availability Zones that have more storage available. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The supplied value is not a valid DB cluster snapshot state. +// - ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" +// The state of the DB snapshot does not allow deletion. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// Request would result in user exceeding the allowed amount of storage available -// across all DB instances. +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The supplied value is not a valid DB cluster snapshot state. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// DB subnet group does not cover all Availability Zones after it is created -// because users' change. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// Request would result in user exceeding the allowed amount of storage available +// across all DB instances. // -// * ErrCodeInvalidRestoreFault "InvalidRestoreFault" -// Cannot restore from vpc backup to non-vpc DB instance. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// DB subnet group does not cover all Availability Zones after it is created +// because users' change. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName does not refer to an existing DB subnet group. +// - ErrCodeInvalidRestoreFault "InvalidRestoreFault" +// Cannot restore from vpc backup to non-vpc DB instance. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName does not refer to an existing DB subnet group. // -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The designated option group could not be found. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// Error accessing KMS key. +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The designated option group could not be found. // -// * ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" -// DBClusterParameterGroupName does not refer to an existing DB Cluster parameter -// group. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// Error accessing KMS key. +// +// - ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" +// DBClusterParameterGroupName does not refer to an existing DB Cluster parameter +// group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RestoreDBClusterFromSnapshot func (c *Neptune) RestoreDBClusterFromSnapshot(input *RestoreDBClusterFromSnapshotInput) (*RestoreDBClusterFromSnapshotOutput, error) { @@ -6402,14 +6368,13 @@ const opRestoreDBClusterToPointInTime = "RestoreDBClusterToPointInTime" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreDBClusterToPointInTimeRequest method. +// req, resp := client.RestoreDBClusterToPointInTimeRequest(params) // -// // Example sending a request using the RestoreDBClusterToPointInTimeRequest method. -// req, resp := client.RestoreDBClusterToPointInTimeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RestoreDBClusterToPointInTime func (c *Neptune) RestoreDBClusterToPointInTimeRequest(input *RestoreDBClusterToPointInTimeInput) (req *request.Request, output *RestoreDBClusterToPointInTimeOutput) { @@ -6451,63 +6416,64 @@ func (c *Neptune) RestoreDBClusterToPointInTimeRequest(input *RestoreDBClusterTo // API operation RestoreDBClusterToPointInTime for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" -// User already has a DB cluster with the given identifier. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. +// - ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" +// User already has a DB cluster with the given identifier. // -// * ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" -// User attempted to create a new DB cluster and the user has already reached -// the maximum allowed DB cluster quota. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. +// - ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" +// User attempted to create a new DB cluster and the user has already reached +// the maximum allowed DB cluster quota. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName does not refer to an existing DB subnet group. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier does not refer to an existing DB cluster snapshot. // -// * ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" -// The DB cluster does not have enough capacity for the current operation. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName does not refer to an existing DB subnet group. // -// * ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" -// There is insufficient storage available for the current action. You may be -// able to resolve this error by updating your subnet group to use different -// Availability Zones that have more storage available. +// - ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" +// The DB cluster does not have enough capacity for the current operation. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The supplied value is not a valid DB cluster snapshot state. +// - ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" +// There is insufficient storage available for the current action. You may be +// able to resolve this error by updating your subnet group to use different +// Availability Zones that have more storage available. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The supplied value is not a valid DB cluster snapshot state. // -// * ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" -// The state of the DB snapshot does not allow deletion. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. // -// * ErrCodeInvalidRestoreFault "InvalidRestoreFault" -// Cannot restore from vpc backup to non-vpc DB instance. +// - ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" +// The state of the DB snapshot does not allow deletion. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidRestoreFault "InvalidRestoreFault" +// Cannot restore from vpc backup to non-vpc DB instance. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// DB subnet group does not cover all Availability Zones after it is created -// because users' change. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// Error accessing KMS key. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// DB subnet group does not cover all Availability Zones after it is created +// because users' change. // -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The designated option group could not be found. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// Error accessing KMS key. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// Request would result in user exceeding the allowed amount of storage available -// across all DB instances. +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The designated option group could not be found. // -// * ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" -// DBClusterParameterGroupName does not refer to an existing DB Cluster parameter -// group. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// Request would result in user exceeding the allowed amount of storage available +// across all DB instances. +// +// - ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" +// DBClusterParameterGroupName does not refer to an existing DB Cluster parameter +// group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/RestoreDBClusterToPointInTime func (c *Neptune) RestoreDBClusterToPointInTime(input *RestoreDBClusterToPointInTimeInput) (*RestoreDBClusterToPointInTimeOutput, error) { @@ -6547,14 +6513,13 @@ const opStartDBCluster = "StartDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDBClusterRequest method. +// req, resp := client.StartDBClusterRequest(params) // -// // Example sending a request using the StartDBClusterRequest method. -// req, resp := client.StartDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/StartDBCluster func (c *Neptune) StartDBClusterRequest(input *StartDBClusterInput) (req *request.Request, output *StartDBClusterOutput) { @@ -6586,14 +6551,15 @@ func (c *Neptune) StartDBClusterRequest(input *StartDBClusterInput) (req *reques // API operation StartDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified DB instance is not in the available state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified DB instance is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/StartDBCluster func (c *Neptune) StartDBCluster(input *StartDBClusterInput) (*StartDBClusterOutput, error) { @@ -6633,14 +6599,13 @@ const opStopDBCluster = "StopDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopDBClusterRequest method. +// req, resp := client.StopDBClusterRequest(params) // -// // Example sending a request using the StopDBClusterRequest method. -// req, resp := client.StopDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/StopDBCluster func (c *Neptune) StopDBClusterRequest(input *StopDBClusterInput) (req *request.Request, output *StopDBClusterOutput) { @@ -6675,14 +6640,15 @@ func (c *Neptune) StopDBClusterRequest(input *StopDBClusterInput) (req *request. // API operation StopDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier does not refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The DB cluster is not in a valid state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier does not refer to an existing DB cluster. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The DB cluster is not in a valid state. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The specified DB instance is not in the available state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The specified DB instance is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/neptune-2014-10-31/StopDBCluster func (c *Neptune) StopDBCluster(input *StopDBClusterInput) (*StopDBClusterOutput, error) { @@ -7806,13 +7772,13 @@ func (s *CreateDBClusterEndpointInput) SetTags(v []*Tag) *CreateDBClusterEndpoin // Neptune DB cluster. This data type is used as a response element in the following // actions: // -// * CreateDBClusterEndpoint +// - CreateDBClusterEndpoint // -// * DescribeDBClusterEndpoints +// - DescribeDBClusterEndpoints // -// * ModifyDBClusterEndpoint +// - ModifyDBClusterEndpoint // -// * DeleteDBClusterEndpoint +// - DeleteDBClusterEndpoint // // For the data structure that represents Amazon Neptune DB instance endpoints, // see Endpoint. @@ -10039,13 +10005,13 @@ func (s *DBCluster) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *DBClu // Neptune DB cluster. This data type is used as a response element in the following // actions: // -// * CreateDBClusterEndpoint +// - CreateDBClusterEndpoint // -// * DescribeDBClusterEndpoints +// - DescribeDBClusterEndpoints // -// * ModifyDBClusterEndpoint +// - ModifyDBClusterEndpoint // -// * DeleteDBClusterEndpoint +// - DeleteDBClusterEndpoint // // For the data structure that represents Amazon Neptune DB instance endpoints, // see Endpoint. @@ -11525,13 +11491,13 @@ func (s *DBParameterGroup) SetDescription(v string) *DBParameterGroup { // // This data type is used as a response element in the following actions: // -// * CreateDBInstance +// - CreateDBInstance // -// * DeleteDBInstance +// - DeleteDBInstance // -// * ModifyDBInstance +// - ModifyDBInstance // -// * RebootDBInstance +// - RebootDBInstance type DBParameterGroupStatus struct { _ struct{} `type:"structure"` @@ -11744,13 +11710,13 @@ func (s *DeleteDBClusterEndpointInput) SetDBClusterEndpointIdentifier(v string) // Neptune DB cluster. This data type is used as a response element in the following // actions: // -// * CreateDBClusterEndpoint +// - CreateDBClusterEndpoint // -// * DescribeDBClusterEndpoints +// - DescribeDBClusterEndpoints // -// * ModifyDBClusterEndpoint +// - ModifyDBClusterEndpoint // -// * DeleteDBClusterEndpoint +// - DeleteDBClusterEndpoint // // For the data structure that represents Amazon RDS DB instance endpoints, // see Endpoint. @@ -15953,13 +15919,13 @@ func (s *ModifyDBClusterEndpointInput) SetStaticMembers(v []*string) *ModifyDBCl // Aurora DB cluster. This data type is used as a response element in the following // actions: // -// * CreateDBClusterEndpoint +// - CreateDBClusterEndpoint // -// * DescribeDBClusterEndpoints +// - DescribeDBClusterEndpoints // -// * ModifyDBClusterEndpoint +// - ModifyDBClusterEndpoint // -// * DeleteDBClusterEndpoint +// - DeleteDBClusterEndpoint // // For the data structure that represents Amazon RDS DB instance endpoints, // see Endpoint. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/doc.go index c07d62bbb92d..e129d50eb44d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/doc.go @@ -28,7 +28,7 @@ // See neptune package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/neptune/ // -// Using the Client +// # Using the Client // // To contact Amazon Neptune with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/neptuneiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/neptuneiface/interface.go index b5f3910acc20..03363f2fcd23 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/neptuneiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/neptuneiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Neptune. -// func myFunc(svc neptuneiface.NeptuneAPI) bool { -// // Make svc.AddRoleToDBCluster request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Neptune. +// func myFunc(svc neptuneiface.NeptuneAPI) bool { +// // Make svc.AddRoleToDBCluster request +// } // -// func main() { -// sess := session.New() -// svc := neptune.New(sess) +// func main() { +// sess := session.New() +// svc := neptune.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockNeptuneClient struct { -// neptuneiface.NeptuneAPI -// } -// func (m *mockNeptuneClient) AddRoleToDBCluster(input *neptune.AddRoleToDBClusterInput) (*neptune.AddRoleToDBClusterOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockNeptuneClient struct { +// neptuneiface.NeptuneAPI +// } +// func (m *mockNeptuneClient) AddRoleToDBCluster(input *neptune.AddRoleToDBClusterInput) (*neptune.AddRoleToDBClusterOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockNeptuneClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockNeptuneClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/service.go index 725f7fe9b7a9..e4905ec15248 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/neptune/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Neptune client from just a session. -// svc := neptune.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Neptune client with additional configuration -// svc := neptune.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Neptune client from just a session. +// svc := neptune.New(mySession) +// +// // Create a Neptune client with additional configuration +// svc := neptune.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Neptune { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/api.go index 0b293fa369df..0c625201e4bf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/api.go @@ -29,14 +29,13 @@ const opAssociateFirewallPolicy = "AssociateFirewallPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateFirewallPolicyRequest method. +// req, resp := client.AssociateFirewallPolicyRequest(params) // -// // Example sending a request using the AssociateFirewallPolicyRequest method. -// req, resp := client.AssociateFirewallPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/AssociateFirewallPolicy func (c *NetworkFirewall) AssociateFirewallPolicyRequest(input *AssociateFirewallPolicyInput) (req *request.Request, output *AssociateFirewallPolicyOutput) { @@ -72,33 +71,34 @@ func (c *NetworkFirewall) AssociateFirewallPolicyRequest(input *AssociateFirewal // API operation AssociateFirewallPolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InvalidTokenException -// The token you provided is stale or isn't valid for the operation. +// - InvalidTokenException +// The token you provided is stale or isn't valid for the operation. // -// * InvalidOperationException -// The operation failed because it's not valid. For example, you might have -// tried to delete a rule group or firewall policy that's in use. +// - InvalidOperationException +// The operation failed because it's not valid. For example, you might have +// tried to delete a rule group or firewall policy that's in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/AssociateFirewallPolicy func (c *NetworkFirewall) AssociateFirewallPolicy(input *AssociateFirewallPolicyInput) (*AssociateFirewallPolicyOutput, error) { @@ -138,14 +138,13 @@ const opAssociateSubnets = "AssociateSubnets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateSubnetsRequest method. +// req, resp := client.AssociateSubnetsRequest(params) // -// // Example sending a request using the AssociateSubnetsRequest method. -// req, resp := client.AssociateSubnetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/AssociateSubnets func (c *NetworkFirewall) AssociateSubnetsRequest(input *AssociateSubnetsInput) (req *request.Request, output *AssociateSubnetsOutput) { @@ -182,37 +181,38 @@ func (c *NetworkFirewall) AssociateSubnetsRequest(input *AssociateSubnetsInput) // API operation AssociateSubnets for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: // -// * You tried to update a property with a value that isn't among the available -// types. +// - You specified an unsupported parameter name or value. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - You tried to update a property with a value that isn't among the available +// types. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * InvalidTokenException -// The token you provided is stale or isn't valid for the operation. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InvalidOperationException -// The operation failed because it's not valid. For example, you might have -// tried to delete a rule group or firewall policy that's in use. +// - InvalidTokenException +// The token you provided is stale or isn't valid for the operation. // -// * InsufficientCapacityException -// Amazon Web Services doesn't currently have enough available capacity to fulfill -// your request. Try your request later. +// - InvalidOperationException +// The operation failed because it's not valid. For example, you might have +// tried to delete a rule group or firewall policy that's in use. +// +// - InsufficientCapacityException +// Amazon Web Services doesn't currently have enough available capacity to fulfill +// your request. Try your request later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/AssociateSubnets func (c *NetworkFirewall) AssociateSubnets(input *AssociateSubnetsInput) (*AssociateSubnetsOutput, error) { @@ -252,14 +252,13 @@ const opCreateFirewall = "CreateFirewall" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFirewallRequest method. +// req, resp := client.CreateFirewallRequest(params) // -// // Example sending a request using the CreateFirewallRequest method. -// req, resp := client.CreateFirewallRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/CreateFirewall func (c *NetworkFirewall) CreateFirewallRequest(input *CreateFirewallInput) (req *request.Request, output *CreateFirewallOutput) { @@ -308,34 +307,35 @@ func (c *NetworkFirewall) CreateFirewallRequest(input *CreateFirewallInput) (req // API operation CreateFirewall for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: // -// * You tried to update a property with a value that isn't among the available -// types. +// - You specified an unsupported parameter name or value. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - You tried to update a property with a value that isn't among the available +// types. // -// * LimitExceededException -// Unable to perform the operation because doing so would violate a limit setting. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - LimitExceededException +// Unable to perform the operation because doing so would violate a limit setting. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * InsufficientCapacityException -// Amazon Web Services doesn't currently have enough available capacity to fulfill -// your request. Try your request later. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InvalidOperationException -// The operation failed because it's not valid. For example, you might have -// tried to delete a rule group or firewall policy that's in use. +// - InsufficientCapacityException +// Amazon Web Services doesn't currently have enough available capacity to fulfill +// your request. Try your request later. +// +// - InvalidOperationException +// The operation failed because it's not valid. For example, you might have +// tried to delete a rule group or firewall policy that's in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/CreateFirewall func (c *NetworkFirewall) CreateFirewall(input *CreateFirewallInput) (*CreateFirewallOutput, error) { @@ -375,14 +375,13 @@ const opCreateFirewallPolicy = "CreateFirewallPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFirewallPolicyRequest method. +// req, resp := client.CreateFirewallPolicyRequest(params) // -// // Example sending a request using the CreateFirewallPolicyRequest method. -// req, resp := client.CreateFirewallPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/CreateFirewallPolicy func (c *NetworkFirewall) CreateFirewallPolicyRequest(input *CreateFirewallPolicyInput) (req *request.Request, output *CreateFirewallPolicyOutput) { @@ -417,30 +416,31 @@ func (c *NetworkFirewall) CreateFirewallPolicyRequest(input *CreateFirewallPolic // API operation CreateFirewallPolicy for usage and error information. // // Returned Error Types: -// * LimitExceededException -// Unable to perform the operation because doing so would violate a limit setting. // -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: +// - LimitExceededException +// Unable to perform the operation because doing so would violate a limit setting. // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: // -// * You tried to update a property with a value that isn't among the available -// types. +// - You specified an unsupported parameter name or value. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - You tried to update a property with a value that isn't among the available +// types. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InsufficientCapacityException -// Amazon Web Services doesn't currently have enough available capacity to fulfill -// your request. Try your request later. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. +// +// - InsufficientCapacityException +// Amazon Web Services doesn't currently have enough available capacity to fulfill +// your request. Try your request later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/CreateFirewallPolicy func (c *NetworkFirewall) CreateFirewallPolicy(input *CreateFirewallPolicyInput) (*CreateFirewallPolicyOutput, error) { @@ -480,14 +480,13 @@ const opCreateRuleGroup = "CreateRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRuleGroupRequest method. +// req, resp := client.CreateRuleGroupRequest(params) // -// // Example sending a request using the CreateRuleGroupRequest method. -// req, resp := client.CreateRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/CreateRuleGroup func (c *NetworkFirewall) CreateRuleGroupRequest(input *CreateRuleGroupInput) (req *request.Request, output *CreateRuleGroupOutput) { @@ -522,30 +521,31 @@ func (c *NetworkFirewall) CreateRuleGroupRequest(input *CreateRuleGroupInput) (r // API operation CreateRuleGroup for usage and error information. // // Returned Error Types: -// * LimitExceededException -// Unable to perform the operation because doing so would violate a limit setting. // -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: +// - LimitExceededException +// Unable to perform the operation because doing so would violate a limit setting. // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: // -// * You tried to update a property with a value that isn't among the available -// types. +// - You specified an unsupported parameter name or value. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - You tried to update a property with a value that isn't among the available +// types. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InsufficientCapacityException -// Amazon Web Services doesn't currently have enough available capacity to fulfill -// your request. Try your request later. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. +// +// - InsufficientCapacityException +// Amazon Web Services doesn't currently have enough available capacity to fulfill +// your request. Try your request later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/CreateRuleGroup func (c *NetworkFirewall) CreateRuleGroup(input *CreateRuleGroupInput) (*CreateRuleGroupOutput, error) { @@ -585,14 +585,13 @@ const opDeleteFirewall = "DeleteFirewall" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFirewallRequest method. +// req, resp := client.DeleteFirewallRequest(params) // -// // Example sending a request using the DeleteFirewallRequest method. -// req, resp := client.DeleteFirewallRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DeleteFirewall func (c *NetworkFirewall) DeleteFirewallRequest(input *DeleteFirewallInput) (req *request.Request, output *DeleteFirewallOutput) { @@ -634,33 +633,34 @@ func (c *NetworkFirewall) DeleteFirewallRequest(input *DeleteFirewallInput) (req // API operation DeleteFirewall for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: // -// * You tried to update a property with a value that isn't among the available -// types. +// - You specified an unsupported parameter name or value. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - You tried to update a property with a value that isn't among the available +// types. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * UnsupportedOperationException -// The operation you requested isn't supported by Network Firewall. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InvalidOperationException -// The operation failed because it's not valid. For example, you might have -// tried to delete a rule group or firewall policy that's in use. +// - UnsupportedOperationException +// The operation you requested isn't supported by Network Firewall. +// +// - InvalidOperationException +// The operation failed because it's not valid. For example, you might have +// tried to delete a rule group or firewall policy that's in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DeleteFirewall func (c *NetworkFirewall) DeleteFirewall(input *DeleteFirewallInput) (*DeleteFirewallOutput, error) { @@ -700,14 +700,13 @@ const opDeleteFirewallPolicy = "DeleteFirewallPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFirewallPolicyRequest method. +// req, resp := client.DeleteFirewallPolicyRequest(params) // -// // Example sending a request using the DeleteFirewallPolicyRequest method. -// req, resp := client.DeleteFirewallPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DeleteFirewallPolicy func (c *NetworkFirewall) DeleteFirewallPolicyRequest(input *DeleteFirewallPolicyInput) (req *request.Request, output *DeleteFirewallPolicyOutput) { @@ -738,33 +737,34 @@ func (c *NetworkFirewall) DeleteFirewallPolicyRequest(input *DeleteFirewallPolic // API operation DeleteFirewallPolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: // -// * You tried to update a property with a value that isn't among the available -// types. +// - You specified an unsupported parameter name or value. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - You tried to update a property with a value that isn't among the available +// types. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * UnsupportedOperationException -// The operation you requested isn't supported by Network Firewall. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * InvalidOperationException -// The operation failed because it's not valid. For example, you might have -// tried to delete a rule group or firewall policy that's in use. +// - UnsupportedOperationException +// The operation you requested isn't supported by Network Firewall. +// +// - InvalidOperationException +// The operation failed because it's not valid. For example, you might have +// tried to delete a rule group or firewall policy that's in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DeleteFirewallPolicy func (c *NetworkFirewall) DeleteFirewallPolicy(input *DeleteFirewallPolicyInput) (*DeleteFirewallPolicyOutput, error) { @@ -804,14 +804,13 @@ const opDeleteResourcePolicy = "DeleteResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourcePolicyRequest method. +// req, resp := client.DeleteResourcePolicyRequest(params) // -// // Example sending a request using the DeleteResourcePolicyRequest method. -// req, resp := client.DeleteResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DeleteResourcePolicy func (c *NetworkFirewall) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { @@ -843,29 +842,30 @@ func (c *NetworkFirewall) DeleteResourcePolicyRequest(input *DeleteResourcePolic // API operation DeleteResourcePolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: // -// * You tried to update a property with a value that isn't among the available -// types. +// - You specified an unsupported parameter name or value. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - You tried to update a property with a value that isn't among the available +// types. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * InvalidResourcePolicyException -// The policy statement failed validation. +// - ThrottlingException +// Unable to process the request due to throttling limitations. +// +// - InvalidResourcePolicyException +// The policy statement failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DeleteResourcePolicy func (c *NetworkFirewall) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { @@ -905,14 +905,13 @@ const opDeleteRuleGroup = "DeleteRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRuleGroupRequest method. +// req, resp := client.DeleteRuleGroupRequest(params) // -// // Example sending a request using the DeleteRuleGroupRequest method. -// req, resp := client.DeleteRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DeleteRuleGroup func (c *NetworkFirewall) DeleteRuleGroupRequest(input *DeleteRuleGroupInput) (req *request.Request, output *DeleteRuleGroupOutput) { @@ -943,33 +942,34 @@ func (c *NetworkFirewall) DeleteRuleGroupRequest(input *DeleteRuleGroupInput) (r // API operation DeleteRuleGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: // -// * You tried to update a property with a value that isn't among the available -// types. +// - You specified an unsupported parameter name or value. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - You tried to update a property with a value that isn't among the available +// types. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * UnsupportedOperationException -// The operation you requested isn't supported by Network Firewall. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * InvalidOperationException -// The operation failed because it's not valid. For example, you might have -// tried to delete a rule group or firewall policy that's in use. +// - UnsupportedOperationException +// The operation you requested isn't supported by Network Firewall. +// +// - InvalidOperationException +// The operation failed because it's not valid. For example, you might have +// tried to delete a rule group or firewall policy that's in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DeleteRuleGroup func (c *NetworkFirewall) DeleteRuleGroup(input *DeleteRuleGroupInput) (*DeleteRuleGroupOutput, error) { @@ -1009,14 +1009,13 @@ const opDescribeFirewall = "DescribeFirewall" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFirewallRequest method. +// req, resp := client.DescribeFirewallRequest(params) // -// // Example sending a request using the DescribeFirewallRequest method. -// req, resp := client.DescribeFirewallRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeFirewall func (c *NetworkFirewall) DescribeFirewallRequest(input *DescribeFirewallInput) (req *request.Request, output *DescribeFirewallOutput) { @@ -1047,26 +1046,27 @@ func (c *NetworkFirewall) DescribeFirewallRequest(input *DescribeFirewallInput) // API operation DescribeFirewall for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeFirewall func (c *NetworkFirewall) DescribeFirewall(input *DescribeFirewallInput) (*DescribeFirewallOutput, error) { @@ -1106,14 +1106,13 @@ const opDescribeFirewallPolicy = "DescribeFirewallPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFirewallPolicyRequest method. +// req, resp := client.DescribeFirewallPolicyRequest(params) // -// // Example sending a request using the DescribeFirewallPolicyRequest method. -// req, resp := client.DescribeFirewallPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeFirewallPolicy func (c *NetworkFirewall) DescribeFirewallPolicyRequest(input *DescribeFirewallPolicyInput) (req *request.Request, output *DescribeFirewallPolicyOutput) { @@ -1144,26 +1143,27 @@ func (c *NetworkFirewall) DescribeFirewallPolicyRequest(input *DescribeFirewallP // API operation DescribeFirewallPolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeFirewallPolicy func (c *NetworkFirewall) DescribeFirewallPolicy(input *DescribeFirewallPolicyInput) (*DescribeFirewallPolicyOutput, error) { @@ -1203,14 +1203,13 @@ const opDescribeLoggingConfiguration = "DescribeLoggingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLoggingConfigurationRequest method. +// req, resp := client.DescribeLoggingConfigurationRequest(params) // -// // Example sending a request using the DescribeLoggingConfigurationRequest method. -// req, resp := client.DescribeLoggingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeLoggingConfiguration func (c *NetworkFirewall) DescribeLoggingConfigurationRequest(input *DescribeLoggingConfigurationInput) (req *request.Request, output *DescribeLoggingConfigurationOutput) { @@ -1241,26 +1240,27 @@ func (c *NetworkFirewall) DescribeLoggingConfigurationRequest(input *DescribeLog // API operation DescribeLoggingConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeLoggingConfiguration func (c *NetworkFirewall) DescribeLoggingConfiguration(input *DescribeLoggingConfigurationInput) (*DescribeLoggingConfigurationOutput, error) { @@ -1300,14 +1300,13 @@ const opDescribeResourcePolicy = "DescribeResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeResourcePolicyRequest method. +// req, resp := client.DescribeResourcePolicyRequest(params) // -// // Example sending a request using the DescribeResourcePolicyRequest method. -// req, resp := client.DescribeResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeResourcePolicy func (c *NetworkFirewall) DescribeResourcePolicyRequest(input *DescribeResourcePolicyInput) (req *request.Request, output *DescribeResourcePolicyOutput) { @@ -1338,26 +1337,27 @@ func (c *NetworkFirewall) DescribeResourcePolicyRequest(input *DescribeResourceP // API operation DescribeResourcePolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeResourcePolicy func (c *NetworkFirewall) DescribeResourcePolicy(input *DescribeResourcePolicyInput) (*DescribeResourcePolicyOutput, error) { @@ -1397,14 +1397,13 @@ const opDescribeRuleGroup = "DescribeRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRuleGroupRequest method. +// req, resp := client.DescribeRuleGroupRequest(params) // -// // Example sending a request using the DescribeRuleGroupRequest method. -// req, resp := client.DescribeRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeRuleGroup func (c *NetworkFirewall) DescribeRuleGroupRequest(input *DescribeRuleGroupInput) (req *request.Request, output *DescribeRuleGroupOutput) { @@ -1435,26 +1434,27 @@ func (c *NetworkFirewall) DescribeRuleGroupRequest(input *DescribeRuleGroupInput // API operation DescribeRuleGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeRuleGroup func (c *NetworkFirewall) DescribeRuleGroup(input *DescribeRuleGroupInput) (*DescribeRuleGroupOutput, error) { @@ -1494,14 +1494,13 @@ const opDescribeRuleGroupMetadata = "DescribeRuleGroupMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRuleGroupMetadataRequest method. +// req, resp := client.DescribeRuleGroupMetadataRequest(params) // -// // Example sending a request using the DescribeRuleGroupMetadataRequest method. -// req, resp := client.DescribeRuleGroupMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeRuleGroupMetadata func (c *NetworkFirewall) DescribeRuleGroupMetadataRequest(input *DescribeRuleGroupMetadataInput) (req *request.Request, output *DescribeRuleGroupMetadataOutput) { @@ -1535,26 +1534,27 @@ func (c *NetworkFirewall) DescribeRuleGroupMetadataRequest(input *DescribeRuleGr // API operation DescribeRuleGroupMetadata for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DescribeRuleGroupMetadata func (c *NetworkFirewall) DescribeRuleGroupMetadata(input *DescribeRuleGroupMetadataInput) (*DescribeRuleGroupMetadataOutput, error) { @@ -1594,14 +1594,13 @@ const opDisassociateSubnets = "DisassociateSubnets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateSubnetsRequest method. +// req, resp := client.DisassociateSubnetsRequest(params) // -// // Example sending a request using the DisassociateSubnetsRequest method. -// req, resp := client.DisassociateSubnetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DisassociateSubnets func (c *NetworkFirewall) DisassociateSubnetsRequest(input *DisassociateSubnetsInput) (req *request.Request, output *DisassociateSubnetsOutput) { @@ -1634,33 +1633,34 @@ func (c *NetworkFirewall) DisassociateSubnetsRequest(input *DisassociateSubnetsI // API operation DisassociateSubnets for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InvalidTokenException -// The token you provided is stale or isn't valid for the operation. +// - InvalidTokenException +// The token you provided is stale or isn't valid for the operation. // -// * InvalidOperationException -// The operation failed because it's not valid. For example, you might have -// tried to delete a rule group or firewall policy that's in use. +// - InvalidOperationException +// The operation failed because it's not valid. For example, you might have +// tried to delete a rule group or firewall policy that's in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/DisassociateSubnets func (c *NetworkFirewall) DisassociateSubnets(input *DisassociateSubnetsInput) (*DisassociateSubnetsOutput, error) { @@ -1700,14 +1700,13 @@ const opListFirewallPolicies = "ListFirewallPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFirewallPoliciesRequest method. +// req, resp := client.ListFirewallPoliciesRequest(params) // -// // Example sending a request using the ListFirewallPoliciesRequest method. -// req, resp := client.ListFirewallPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListFirewallPolicies func (c *NetworkFirewall) ListFirewallPoliciesRequest(input *ListFirewallPoliciesInput) (req *request.Request, output *ListFirewallPoliciesOutput) { @@ -1746,23 +1745,24 @@ func (c *NetworkFirewall) ListFirewallPoliciesRequest(input *ListFirewallPolicie // API operation ListFirewallPolicies for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListFirewallPolicies func (c *NetworkFirewall) ListFirewallPolicies(input *ListFirewallPoliciesInput) (*ListFirewallPoliciesOutput, error) { @@ -1794,15 +1794,14 @@ func (c *NetworkFirewall) ListFirewallPoliciesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFirewallPolicies operation. -// pageNum := 0 -// err := client.ListFirewallPoliciesPages(params, -// func(page *networkfirewall.ListFirewallPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFirewallPolicies operation. +// pageNum := 0 +// err := client.ListFirewallPoliciesPages(params, +// func(page *networkfirewall.ListFirewallPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkFirewall) ListFirewallPoliciesPages(input *ListFirewallPoliciesInput, fn func(*ListFirewallPoliciesOutput, bool) bool) error { return c.ListFirewallPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1854,14 +1853,13 @@ const opListFirewalls = "ListFirewalls" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFirewallsRequest method. +// req, resp := client.ListFirewallsRequest(params) // -// // Example sending a request using the ListFirewallsRequest method. -// req, resp := client.ListFirewallsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListFirewalls func (c *NetworkFirewall) ListFirewallsRequest(input *ListFirewallsInput) (req *request.Request, output *ListFirewallsOutput) { @@ -1903,23 +1901,24 @@ func (c *NetworkFirewall) ListFirewallsRequest(input *ListFirewallsInput) (req * // API operation ListFirewalls for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListFirewalls func (c *NetworkFirewall) ListFirewalls(input *ListFirewallsInput) (*ListFirewallsOutput, error) { @@ -1951,15 +1950,14 @@ func (c *NetworkFirewall) ListFirewallsWithContext(ctx aws.Context, input *ListF // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFirewalls operation. -// pageNum := 0 -// err := client.ListFirewallsPages(params, -// func(page *networkfirewall.ListFirewallsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFirewalls operation. +// pageNum := 0 +// err := client.ListFirewallsPages(params, +// func(page *networkfirewall.ListFirewallsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkFirewall) ListFirewallsPages(input *ListFirewallsInput, fn func(*ListFirewallsOutput, bool) bool) error { return c.ListFirewallsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2011,14 +2009,13 @@ const opListRuleGroups = "ListRuleGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRuleGroupsRequest method. +// req, resp := client.ListRuleGroupsRequest(params) // -// // Example sending a request using the ListRuleGroupsRequest method. -// req, resp := client.ListRuleGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListRuleGroups func (c *NetworkFirewall) ListRuleGroupsRequest(input *ListRuleGroupsInput) (req *request.Request, output *ListRuleGroupsOutput) { @@ -2057,23 +2054,24 @@ func (c *NetworkFirewall) ListRuleGroupsRequest(input *ListRuleGroupsInput) (req // API operation ListRuleGroups for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: // -// * You tried to update a property with a value that isn't among the available -// types. +// - You specified an unsupported parameter name or value. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - You tried to update a property with a value that isn't among the available +// types. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - ThrottlingException +// Unable to process the request due to throttling limitations. +// +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListRuleGroups func (c *NetworkFirewall) ListRuleGroups(input *ListRuleGroupsInput) (*ListRuleGroupsOutput, error) { @@ -2105,15 +2103,14 @@ func (c *NetworkFirewall) ListRuleGroupsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRuleGroups operation. -// pageNum := 0 -// err := client.ListRuleGroupsPages(params, -// func(page *networkfirewall.ListRuleGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRuleGroups operation. +// pageNum := 0 +// err := client.ListRuleGroupsPages(params, +// func(page *networkfirewall.ListRuleGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkFirewall) ListRuleGroupsPages(input *ListRuleGroupsInput, fn func(*ListRuleGroupsOutput, bool) bool) error { return c.ListRuleGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2165,14 +2162,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListTagsForResource func (c *NetworkFirewall) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2216,26 +2212,27 @@ func (c *NetworkFirewall) ListTagsForResourceRequest(input *ListTagsForResourceI // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Unable to process the request due to throttling limitations. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - ThrottlingException +// Unable to process the request due to throttling limitations. +// +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/ListTagsForResource func (c *NetworkFirewall) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2267,15 +2264,14 @@ func (c *NetworkFirewall) ListTagsForResourceWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *networkfirewall.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *networkfirewall.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkFirewall) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2327,14 +2323,13 @@ const opPutResourcePolicy = "PutResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutResourcePolicyRequest method. +// req, resp := client.PutResourcePolicyRequest(params) // -// // Example sending a request using the PutResourcePolicyRequest method. -// req, resp := client.PutResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/PutResourcePolicy func (c *NetworkFirewall) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { @@ -2370,11 +2365,13 @@ func (c *NetworkFirewall) PutResourcePolicyRequest(input *PutResourcePolicyInput // Resource Access Manager (RAM) operations to access and accept the shared // rule group or firewall policy. // -// * GetResourceShareInvitations (https://docs.aws.amazon.com/ram/latest/APIReference/API_GetResourceShareInvitations.html) -// - Returns the Amazon Resource Names (ARNs) of the resource share invitations. +// - GetResourceShareInvitations (https://docs.aws.amazon.com/ram/latest/APIReference/API_GetResourceShareInvitations.html) +// +// - Returns the Amazon Resource Names (ARNs) of the resource share invitations. +// +// - AcceptResourceShareInvitation (https://docs.aws.amazon.com/ram/latest/APIReference/API_AcceptResourceShareInvitation.html) // -// * AcceptResourceShareInvitation (https://docs.aws.amazon.com/ram/latest/APIReference/API_AcceptResourceShareInvitation.html) -// - Accepts the share invitation for a specified resource share. +// - Accepts the share invitation for a specified resource share. // // For additional information about resource sharing using RAM, see Resource // Access Manager User Guide (https://docs.aws.amazon.com/ram/latest/userguide/what-is.html). @@ -2387,29 +2384,30 @@ func (c *NetworkFirewall) PutResourcePolicyRequest(input *PutResourcePolicyInput // API operation PutResourcePolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: // -// * You tried to update a property with a value that isn't among the available -// types. +// - You specified an unsupported parameter name or value. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - You tried to update a property with a value that isn't among the available +// types. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * InvalidResourcePolicyException -// The policy statement failed validation. +// - ThrottlingException +// Unable to process the request due to throttling limitations. +// +// - InvalidResourcePolicyException +// The policy statement failed validation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/PutResourcePolicy func (c *NetworkFirewall) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { @@ -2449,14 +2447,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/TagResource func (c *NetworkFirewall) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2495,26 +2492,27 @@ func (c *NetworkFirewall) TagResourceRequest(input *TagResourceInput) (req *requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Unable to process the request due to throttling limitations. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: // -// * You tried to update a property with a value that isn't among the available -// types. +// - You specified an unsupported parameter name or value. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - You tried to update a property with a value that isn't among the available +// types. +// +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/TagResource func (c *NetworkFirewall) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2554,14 +2552,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UntagResource func (c *NetworkFirewall) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2600,26 +2597,27 @@ func (c *NetworkFirewall) UntagResourceRequest(input *UntagResourceInput) (req * // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Unable to process the request due to throttling limitations. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: // -// * You tried to update a property with a value that isn't among the available -// types. +// - You specified an unsupported parameter name or value. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - You tried to update a property with a value that isn't among the available +// types. +// +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UntagResource func (c *NetworkFirewall) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2659,14 +2657,13 @@ const opUpdateFirewallDeleteProtection = "UpdateFirewallDeleteProtection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFirewallDeleteProtectionRequest method. +// req, resp := client.UpdateFirewallDeleteProtectionRequest(params) // -// // Example sending a request using the UpdateFirewallDeleteProtectionRequest method. -// req, resp := client.UpdateFirewallDeleteProtectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateFirewallDeleteProtection func (c *NetworkFirewall) UpdateFirewallDeleteProtectionRequest(input *UpdateFirewallDeleteProtectionInput) (req *request.Request, output *UpdateFirewallDeleteProtectionOutput) { @@ -2700,32 +2697,33 @@ func (c *NetworkFirewall) UpdateFirewallDeleteProtectionRequest(input *UpdateFir // API operation UpdateFirewallDeleteProtection for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InvalidTokenException -// The token you provided is stale or isn't valid for the operation. +// - InvalidTokenException +// The token you provided is stale or isn't valid for the operation. // -// * ResourceOwnerCheckException -// Unable to change the resource because your account doesn't own it. +// - ResourceOwnerCheckException +// Unable to change the resource because your account doesn't own it. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateFirewallDeleteProtection func (c *NetworkFirewall) UpdateFirewallDeleteProtection(input *UpdateFirewallDeleteProtectionInput) (*UpdateFirewallDeleteProtectionOutput, error) { @@ -2765,14 +2763,13 @@ const opUpdateFirewallDescription = "UpdateFirewallDescription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFirewallDescriptionRequest method. +// req, resp := client.UpdateFirewallDescriptionRequest(params) // -// // Example sending a request using the UpdateFirewallDescriptionRequest method. -// req, resp := client.UpdateFirewallDescriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateFirewallDescription func (c *NetworkFirewall) UpdateFirewallDescriptionRequest(input *UpdateFirewallDescriptionInput) (req *request.Request, output *UpdateFirewallDescriptionOutput) { @@ -2804,29 +2801,30 @@ func (c *NetworkFirewall) UpdateFirewallDescriptionRequest(input *UpdateFirewall // API operation UpdateFirewallDescription for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InvalidTokenException -// The token you provided is stale or isn't valid for the operation. +// - InvalidTokenException +// The token you provided is stale or isn't valid for the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateFirewallDescription func (c *NetworkFirewall) UpdateFirewallDescription(input *UpdateFirewallDescriptionInput) (*UpdateFirewallDescriptionOutput, error) { @@ -2866,14 +2864,13 @@ const opUpdateFirewallEncryptionConfiguration = "UpdateFirewallEncryptionConfigu // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFirewallEncryptionConfigurationRequest method. +// req, resp := client.UpdateFirewallEncryptionConfigurationRequest(params) // -// // Example sending a request using the UpdateFirewallEncryptionConfigurationRequest method. -// req, resp := client.UpdateFirewallEncryptionConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateFirewallEncryptionConfiguration func (c *NetworkFirewall) UpdateFirewallEncryptionConfigurationRequest(input *UpdateFirewallEncryptionConfigurationInput) (req *request.Request, output *UpdateFirewallEncryptionConfigurationOutput) { @@ -2904,32 +2901,33 @@ func (c *NetworkFirewall) UpdateFirewallEncryptionConfigurationRequest(input *Up // API operation UpdateFirewallEncryptionConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InvalidTokenException -// The token you provided is stale or isn't valid for the operation. +// - InvalidTokenException +// The token you provided is stale or isn't valid for the operation. // -// * ResourceOwnerCheckException -// Unable to change the resource because your account doesn't own it. +// - ResourceOwnerCheckException +// Unable to change the resource because your account doesn't own it. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateFirewallEncryptionConfiguration func (c *NetworkFirewall) UpdateFirewallEncryptionConfiguration(input *UpdateFirewallEncryptionConfigurationInput) (*UpdateFirewallEncryptionConfigurationOutput, error) { @@ -2969,14 +2967,13 @@ const opUpdateFirewallPolicy = "UpdateFirewallPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFirewallPolicyRequest method. +// req, resp := client.UpdateFirewallPolicyRequest(params) // -// // Example sending a request using the UpdateFirewallPolicyRequest method. -// req, resp := client.UpdateFirewallPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateFirewallPolicy func (c *NetworkFirewall) UpdateFirewallPolicyRequest(input *UpdateFirewallPolicyInput) (req *request.Request, output *UpdateFirewallPolicyOutput) { @@ -3007,29 +3004,30 @@ func (c *NetworkFirewall) UpdateFirewallPolicyRequest(input *UpdateFirewallPolic // API operation UpdateFirewallPolicy for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * InvalidTokenException -// The token you provided is stale or isn't valid for the operation. +// - InvalidTokenException +// The token you provided is stale or isn't valid for the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateFirewallPolicy func (c *NetworkFirewall) UpdateFirewallPolicy(input *UpdateFirewallPolicyInput) (*UpdateFirewallPolicyOutput, error) { @@ -3069,14 +3067,13 @@ const opUpdateFirewallPolicyChangeProtection = "UpdateFirewallPolicyChangeProtec // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFirewallPolicyChangeProtectionRequest method. +// req, resp := client.UpdateFirewallPolicyChangeProtectionRequest(params) // -// // Example sending a request using the UpdateFirewallPolicyChangeProtectionRequest method. -// req, resp := client.UpdateFirewallPolicyChangeProtectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateFirewallPolicyChangeProtection func (c *NetworkFirewall) UpdateFirewallPolicyChangeProtectionRequest(input *UpdateFirewallPolicyChangeProtectionInput) (req *request.Request, output *UpdateFirewallPolicyChangeProtectionOutput) { @@ -3110,32 +3107,33 @@ func (c *NetworkFirewall) UpdateFirewallPolicyChangeProtectionRequest(input *Upd // API operation UpdateFirewallPolicyChangeProtection for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InvalidTokenException -// The token you provided is stale or isn't valid for the operation. +// - InvalidTokenException +// The token you provided is stale or isn't valid for the operation. // -// * ResourceOwnerCheckException -// Unable to change the resource because your account doesn't own it. +// - ResourceOwnerCheckException +// Unable to change the resource because your account doesn't own it. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateFirewallPolicyChangeProtection func (c *NetworkFirewall) UpdateFirewallPolicyChangeProtection(input *UpdateFirewallPolicyChangeProtectionInput) (*UpdateFirewallPolicyChangeProtectionOutput, error) { @@ -3175,14 +3173,13 @@ const opUpdateLoggingConfiguration = "UpdateLoggingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLoggingConfigurationRequest method. +// req, resp := client.UpdateLoggingConfigurationRequest(params) // -// // Example sending a request using the UpdateLoggingConfigurationRequest method. -// req, resp := client.UpdateLoggingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateLoggingConfiguration func (c *NetworkFirewall) UpdateLoggingConfigurationRequest(input *UpdateLoggingConfigurationInput) (req *request.Request, output *UpdateLoggingConfigurationOutput) { @@ -3213,14 +3210,14 @@ func (c *NetworkFirewall) UpdateLoggingConfigurationRequest(input *UpdateLogging // // You can perform only one of the following actions in any call to UpdateLoggingConfiguration: // -// * Create a new log destination object by adding a single LogDestinationConfig -// array element to LogDestinationConfigs. +// - Create a new log destination object by adding a single LogDestinationConfig +// array element to LogDestinationConfigs. // -// * Delete a log destination object by removing a single LogDestinationConfig -// array element from LogDestinationConfigs. +// - Delete a log destination object by removing a single LogDestinationConfig +// array element from LogDestinationConfigs. // -// * Change the LogDestination setting in a single LogDestinationConfig array -// element. +// - Change the LogDestination setting in a single LogDestinationConfig array +// element. // // You can't change the LogDestinationType or LogType in a LogDestinationConfig. // To change these settings, delete the existing LogDestinationConfig object @@ -3234,32 +3231,33 @@ func (c *NetworkFirewall) UpdateLoggingConfigurationRequest(input *UpdateLogging // API operation UpdateLoggingConfiguration for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InvalidTokenException -// The token you provided is stale or isn't valid for the operation. +// - InvalidTokenException +// The token you provided is stale or isn't valid for the operation. // -// * LogDestinationPermissionException -// Unable to send logs to a configured logging destination. +// - LogDestinationPermissionException +// Unable to send logs to a configured logging destination. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateLoggingConfiguration func (c *NetworkFirewall) UpdateLoggingConfiguration(input *UpdateLoggingConfigurationInput) (*UpdateLoggingConfigurationOutput, error) { @@ -3299,14 +3297,13 @@ const opUpdateRuleGroup = "UpdateRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRuleGroupRequest method. +// req, resp := client.UpdateRuleGroupRequest(params) // -// // Example sending a request using the UpdateRuleGroupRequest method. -// req, resp := client.UpdateRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateRuleGroup func (c *NetworkFirewall) UpdateRuleGroupRequest(input *UpdateRuleGroupInput) (req *request.Request, output *UpdateRuleGroupOutput) { @@ -3343,29 +3340,30 @@ func (c *NetworkFirewall) UpdateRuleGroupRequest(input *UpdateRuleGroupInput) (r // API operation UpdateRuleGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. // -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. +// +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * InvalidTokenException -// The token you provided is stale or isn't valid for the operation. +// - InvalidTokenException +// The token you provided is stale or isn't valid for the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateRuleGroup func (c *NetworkFirewall) UpdateRuleGroup(input *UpdateRuleGroupInput) (*UpdateRuleGroupOutput, error) { @@ -3405,14 +3403,13 @@ const opUpdateSubnetChangeProtection = "UpdateSubnetChangeProtection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSubnetChangeProtectionRequest method. +// req, resp := client.UpdateSubnetChangeProtectionRequest(params) // -// // Example sending a request using the UpdateSubnetChangeProtectionRequest method. -// req, resp := client.UpdateSubnetChangeProtectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateSubnetChangeProtection func (c *NetworkFirewall) UpdateSubnetChangeProtectionRequest(input *UpdateSubnetChangeProtectionInput) (req *request.Request, output *UpdateSubnetChangeProtectionOutput) { @@ -3441,32 +3438,33 @@ func (c *NetworkFirewall) UpdateSubnetChangeProtectionRequest(input *UpdateSubne // API operation UpdateSubnetChangeProtection for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - InvalidRequestException +// The operation failed because of a problem with your request. Examples include: +// +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. // -// * InternalServerError -// Your request is valid, but Network Firewall couldn’t perform the operation -// because of a system problem. Retry your request. +// - InternalServerError +// Your request is valid, but Network Firewall couldn’t perform the operation +// because of a system problem. Retry your request. // -// * ResourceNotFoundException -// Unable to locate a resource using the parameters that you provided. +// - ResourceNotFoundException +// Unable to locate a resource using the parameters that you provided. // -// * ThrottlingException -// Unable to process the request due to throttling limitations. +// - ThrottlingException +// Unable to process the request due to throttling limitations. // -// * InvalidTokenException -// The token you provided is stale or isn't valid for the operation. +// - InvalidTokenException +// The token you provided is stale or isn't valid for the operation. // -// * ResourceOwnerCheckException -// Unable to change the resource because your account doesn't own it. +// - ResourceOwnerCheckException +// Unable to change the resource because your account doesn't own it. // // See also, https://docs.aws.amazon.com/goto/WebAPI/network-firewall-2020-11-12/UpdateSubnetChangeProtection func (c *NetworkFirewall) UpdateSubnetChangeProtection(input *UpdateSubnetChangeProtectionInput) (*UpdateSubnetChangeProtectionOutput, error) { @@ -4751,16 +4749,16 @@ func (s *CreateRuleGroupOutput) SetUpdateToken(v string) *CreateRuleGroupOutput // // You can use custom actions in the following places: // -// * In a rule group's StatelessRulesAndCustomActions specification. The -// custom actions are available for use by name inside the StatelessRulesAndCustomActions -// where you define them. You can use them for your stateless rule actions -// to specify what to do with a packet that matches the rule's match attributes. +// - In a rule group's StatelessRulesAndCustomActions specification. The +// custom actions are available for use by name inside the StatelessRulesAndCustomActions +// where you define them. You can use them for your stateless rule actions +// to specify what to do with a packet that matches the rule's match attributes. // -// * In a FirewallPolicy specification, in StatelessCustomActions. The custom -// actions are available for use inside the policy where you define them. -// You can use them for the policy's default stateless actions settings to -// specify what to do with packets that don't match any of the policy's stateless -// rules. +// - In a FirewallPolicy specification, in StatelessCustomActions. The custom +// actions are available for use inside the policy where you define them. +// You can use them for the policy's default stateless actions settings to +// specify what to do with packets that don't match any of the policy's stateless +// rules. type CustomAction struct { _ struct{} `type:"structure"` @@ -7345,13 +7343,13 @@ func (s *InvalidOperationException) RequestID() string { // The operation failed because of a problem with your request. Examples include: // -// * You specified an unsupported parameter name or value. +// - You specified an unsupported parameter name or value. // -// * You tried to update a property with a value that isn't among the available -// types. +// - You tried to update a property with a value that isn't among the available +// types. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource that isn't valid in the context of the request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource that isn't valid in the context of the request. type InvalidRequestException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -10303,10 +10301,10 @@ func (s *SubnetMapping) SetSubnetId(v string) *SubnetMapping { // For each VPC subnet that you associate with a firewall, Network Firewall // does the following: // -// * Instantiates a firewall endpoint in the subnet, ready to take traffic. +// - Instantiates a firewall endpoint in the subnet, ready to take traffic. // -// * Configures the endpoint with the current firewall policy settings, to -// provide the filtering behavior for the endpoint. +// - Configures the endpoint with the current firewall policy settings, to +// provide the filtering behavior for the endpoint. // // When you update a firewall, for example to add a subnet association or change // a rule group in the firewall policy, the affected sync states reflect out-of-sync diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/doc.go index 63bd086ba539..1a87c64dfcc8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/doc.go @@ -7,19 +7,19 @@ // who need detailed information about the Network Firewall API actions, data // types, and errors. // -// * The REST API requires you to handle connection details, such as calculating -// signatures, handling request retries, and error handling. For general -// information about using the Amazon Web Services REST APIs, see Amazon -// Web Services APIs (https://docs.aws.amazon.com/general/latest/gr/aws-apis.html). -// To access Network Firewall using the REST API endpoint: https://network-firewall..amazonaws.com +// - The REST API requires you to handle connection details, such as calculating +// signatures, handling request retries, and error handling. For general +// information about using the Amazon Web Services REST APIs, see Amazon +// Web Services APIs (https://docs.aws.amazon.com/general/latest/gr/aws-apis.html). +// To access Network Firewall using the REST API endpoint: https://network-firewall..amazonaws.com // -// * Alternatively, you can use one of the Amazon Web Services SDKs to access -// an API that's tailored to the programming language or platform that you're -// using. For more information, see Amazon Web Services SDKs (http://aws.amazon.com/tools/#SDKs). +// - Alternatively, you can use one of the Amazon Web Services SDKs to access +// an API that's tailored to the programming language or platform that you're +// using. For more information, see Amazon Web Services SDKs (http://aws.amazon.com/tools/#SDKs). // -// * For descriptions of Network Firewall features, including and step-by-step -// instructions on how to use them through the Network Firewall console, -// see the Network Firewall Developer Guide (https://docs.aws.amazon.com/network-firewall/latest/developerguide/). +// - For descriptions of Network Firewall features, including and step-by-step +// instructions on how to use them through the Network Firewall console, +// see the Network Firewall Developer Guide (https://docs.aws.amazon.com/network-firewall/latest/developerguide/). // // Network Firewall is a stateful, managed, network firewall and intrusion detection // and prevention service for Amazon Virtual Private Cloud (Amazon VPC). With @@ -33,16 +33,16 @@ // You can use Network Firewall to monitor and protect your VPC traffic in a // number of ways. The following are just a few examples: // -// * Allow domains or IP addresses for known Amazon Web Services service -// endpoints, such as Amazon S3, and block all other forms of traffic. +// - Allow domains or IP addresses for known Amazon Web Services service +// endpoints, such as Amazon S3, and block all other forms of traffic. // -// * Use custom lists of known bad domains to limit the types of domain names -// that your applications can access. +// - Use custom lists of known bad domains to limit the types of domain names +// that your applications can access. // -// * Perform deep packet inspection on traffic entering or leaving your VPC. +// - Perform deep packet inspection on traffic entering or leaving your VPC. // -// * Use stateful protocol detection to filter protocols like HTTPS, regardless -// of the port used. +// - Use stateful protocol detection to filter protocols like HTTPS, regardless +// of the port used. // // To enable Network Firewall for your VPCs, you perform steps in both Amazon // VPC and in Network Firewall. For information about using Amazon VPC, see @@ -75,7 +75,7 @@ // See networkfirewall package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/networkfirewall/ // -// Using the Client +// # Using the Client // // To contact AWS Network Firewall with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/networkfirewalliface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/networkfirewalliface/interface.go index 583b90fc5d66..43af63161b10 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/networkfirewalliface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/networkfirewalliface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Network Firewall. -// func myFunc(svc networkfirewalliface.NetworkFirewallAPI) bool { -// // Make svc.AssociateFirewallPolicy request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Network Firewall. +// func myFunc(svc networkfirewalliface.NetworkFirewallAPI) bool { +// // Make svc.AssociateFirewallPolicy request +// } // -// func main() { -// sess := session.New() -// svc := networkfirewall.New(sess) +// func main() { +// sess := session.New() +// svc := networkfirewall.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockNetworkFirewallClient struct { -// networkfirewalliface.NetworkFirewallAPI -// } -// func (m *mockNetworkFirewallClient) AssociateFirewallPolicy(input *networkfirewall.AssociateFirewallPolicyInput) (*networkfirewall.AssociateFirewallPolicyOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockNetworkFirewallClient struct { +// networkfirewalliface.NetworkFirewallAPI +// } +// func (m *mockNetworkFirewallClient) AssociateFirewallPolicy(input *networkfirewall.AssociateFirewallPolicyInput) (*networkfirewall.AssociateFirewallPolicyOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockNetworkFirewallClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockNetworkFirewallClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/service.go index cca1b6fe98d8..b50bb8eeff7d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkfirewall/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a NetworkFirewall client from just a session. -// svc := networkfirewall.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a NetworkFirewall client with additional configuration -// svc := networkfirewall.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a NetworkFirewall client from just a session. +// svc := networkfirewall.New(mySession) +// +// // Create a NetworkFirewall client with additional configuration +// svc := networkfirewall.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *NetworkFirewall { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/api.go index e6622d0754d7..72f10d391685 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/api.go @@ -29,14 +29,13 @@ const opAcceptAttachment = "AcceptAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptAttachmentRequest method. +// req, resp := client.AcceptAttachmentRequest(params) // -// // Example sending a request using the AcceptAttachmentRequest method. -// req, resp := client.AcceptAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AcceptAttachment func (c *NetworkManager) AcceptAttachmentRequest(input *AcceptAttachmentInput) (req *request.Request, output *AcceptAttachmentOutput) { @@ -70,24 +69,25 @@ func (c *NetworkManager) AcceptAttachmentRequest(input *AcceptAttachmentInput) ( // API operation AcceptAttachment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AcceptAttachment func (c *NetworkManager) AcceptAttachment(input *AcceptAttachmentInput) (*AcceptAttachmentOutput, error) { @@ -127,14 +127,13 @@ const opAssociateConnectPeer = "AssociateConnectPeer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateConnectPeerRequest method. +// req, resp := client.AssociateConnectPeerRequest(params) // -// // Example sending a request using the AssociateConnectPeerRequest method. -// req, resp := client.AssociateConnectPeerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateConnectPeer func (c *NetworkManager) AssociateConnectPeerRequest(input *AssociateConnectPeerInput) (req *request.Request, output *AssociateConnectPeerOutput) { @@ -170,27 +169,28 @@ func (c *NetworkManager) AssociateConnectPeerRequest(input *AssociateConnectPeer // API operation AssociateConnectPeer for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * ServiceQuotaExceededException -// A service limit was exceeded. +// - ValidationException +// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceQuotaExceededException +// A service limit was exceeded. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateConnectPeer func (c *NetworkManager) AssociateConnectPeer(input *AssociateConnectPeerInput) (*AssociateConnectPeerOutput, error) { @@ -230,14 +230,13 @@ const opAssociateCustomerGateway = "AssociateCustomerGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateCustomerGatewayRequest method. +// req, resp := client.AssociateCustomerGatewayRequest(params) // -// // Example sending a request using the AssociateCustomerGatewayRequest method. -// req, resp := client.AssociateCustomerGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateCustomerGateway func (c *NetworkManager) AssociateCustomerGatewayRequest(input *AssociateCustomerGatewayInput) (req *request.Request, output *AssociateCustomerGatewayOutput) { @@ -279,27 +278,28 @@ func (c *NetworkManager) AssociateCustomerGatewayRequest(input *AssociateCustome // API operation AssociateCustomerGateway for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * ServiceQuotaExceededException -// A service limit was exceeded. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - ServiceQuotaExceededException +// A service limit was exceeded. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateCustomerGateway func (c *NetworkManager) AssociateCustomerGateway(input *AssociateCustomerGatewayInput) (*AssociateCustomerGatewayOutput, error) { @@ -339,14 +339,13 @@ const opAssociateLink = "AssociateLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateLinkRequest method. +// req, resp := client.AssociateLinkRequest(params) // -// // Example sending a request using the AssociateLinkRequest method. -// req, resp := client.AssociateLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateLink func (c *NetworkManager) AssociateLinkRequest(input *AssociateLinkInput) (req *request.Request, output *AssociateLinkOutput) { @@ -379,27 +378,28 @@ func (c *NetworkManager) AssociateLinkRequest(input *AssociateLinkInput) (req *r // API operation AssociateLink for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * ServiceQuotaExceededException -// A service limit was exceeded. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - ServiceQuotaExceededException +// A service limit was exceeded. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateLink func (c *NetworkManager) AssociateLink(input *AssociateLinkInput) (*AssociateLinkOutput, error) { @@ -439,14 +439,13 @@ const opAssociateTransitGatewayConnectPeer = "AssociateTransitGatewayConnectPeer // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateTransitGatewayConnectPeerRequest method. +// req, resp := client.AssociateTransitGatewayConnectPeerRequest(params) // -// // Example sending a request using the AssociateTransitGatewayConnectPeerRequest method. -// req, resp := client.AssociateTransitGatewayConnectPeerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateTransitGatewayConnectPeer func (c *NetworkManager) AssociateTransitGatewayConnectPeerRequest(input *AssociateTransitGatewayConnectPeerInput) (req *request.Request, output *AssociateTransitGatewayConnectPeerOutput) { @@ -485,27 +484,28 @@ func (c *NetworkManager) AssociateTransitGatewayConnectPeerRequest(input *Associ // API operation AssociateTransitGatewayConnectPeer for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * ServiceQuotaExceededException -// A service limit was exceeded. +// - ValidationException +// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceQuotaExceededException +// A service limit was exceeded. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateTransitGatewayConnectPeer func (c *NetworkManager) AssociateTransitGatewayConnectPeer(input *AssociateTransitGatewayConnectPeerInput) (*AssociateTransitGatewayConnectPeerOutput, error) { @@ -545,14 +545,13 @@ const opCreateConnectAttachment = "CreateConnectAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConnectAttachmentRequest method. +// req, resp := client.CreateConnectAttachmentRequest(params) // -// // Example sending a request using the CreateConnectAttachmentRequest method. -// req, resp := client.CreateConnectAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnectAttachment func (c *NetworkManager) CreateConnectAttachmentRequest(input *CreateConnectAttachmentInput) (req *request.Request, output *CreateConnectAttachmentOutput) { @@ -588,24 +587,25 @@ func (c *NetworkManager) CreateConnectAttachmentRequest(input *CreateConnectAtta // API operation CreateConnectAttachment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnectAttachment func (c *NetworkManager) CreateConnectAttachment(input *CreateConnectAttachmentInput) (*CreateConnectAttachmentOutput, error) { @@ -645,14 +645,13 @@ const opCreateConnectPeer = "CreateConnectPeer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConnectPeerRequest method. +// req, resp := client.CreateConnectPeerRequest(params) // -// // Example sending a request using the CreateConnectPeerRequest method. -// req, resp := client.CreateConnectPeerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnectPeer func (c *NetworkManager) CreateConnectPeerRequest(input *CreateConnectPeerInput) (req *request.Request, output *CreateConnectPeerOutput) { @@ -685,24 +684,25 @@ func (c *NetworkManager) CreateConnectPeerRequest(input *CreateConnectPeerInput) // API operation CreateConnectPeer for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnectPeer func (c *NetworkManager) CreateConnectPeer(input *CreateConnectPeerInput) (*CreateConnectPeerOutput, error) { @@ -742,14 +742,13 @@ const opCreateConnection = "CreateConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConnectionRequest method. +// req, resp := client.CreateConnectionRequest(params) // -// // Example sending a request using the CreateConnectionRequest method. -// req, resp := client.CreateConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnection func (c *NetworkManager) CreateConnectionRequest(input *CreateConnectionInput) (req *request.Request, output *CreateConnectionOutput) { @@ -783,24 +782,25 @@ func (c *NetworkManager) CreateConnectionRequest(input *CreateConnectionInput) ( // API operation CreateConnection for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * ServiceQuotaExceededException -// A service limit was exceeded. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - ServiceQuotaExceededException +// A service limit was exceeded. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnection func (c *NetworkManager) CreateConnection(input *CreateConnectionInput) (*CreateConnectionOutput, error) { @@ -840,14 +840,13 @@ const opCreateCoreNetwork = "CreateCoreNetwork" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCoreNetworkRequest method. +// req, resp := client.CreateCoreNetworkRequest(params) // -// // Example sending a request using the CreateCoreNetworkRequest method. -// req, resp := client.CreateCoreNetworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateCoreNetwork func (c *NetworkManager) CreateCoreNetworkRequest(input *CreateCoreNetworkInput) (req *request.Request, output *CreateCoreNetworkOutput) { @@ -879,27 +878,28 @@ func (c *NetworkManager) CreateCoreNetworkRequest(input *CreateCoreNetworkInput) // API operation CreateCoreNetwork for usage and error information. // // Returned Error Types: -// * CoreNetworkPolicyException -// Describes a core network policy exception. // -// * ValidationException -// The input fails to satisfy the constraints. +// - CoreNetworkPolicyException +// Describes a core network policy exception. // -// * ServiceQuotaExceededException -// A service limit was exceeded. +// - ValidationException +// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceQuotaExceededException +// A service limit was exceeded. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateCoreNetwork func (c *NetworkManager) CreateCoreNetwork(input *CreateCoreNetworkInput) (*CreateCoreNetworkOutput, error) { @@ -939,14 +939,13 @@ const opCreateDevice = "CreateDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeviceRequest method. +// req, resp := client.CreateDeviceRequest(params) // -// // Example sending a request using the CreateDeviceRequest method. -// req, resp := client.CreateDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateDevice func (c *NetworkManager) CreateDeviceRequest(input *CreateDeviceInput) (req *request.Request, output *CreateDeviceOutput) { @@ -979,27 +978,28 @@ func (c *NetworkManager) CreateDeviceRequest(input *CreateDeviceInput) (req *req // API operation CreateDevice for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * ServiceQuotaExceededException -// A service limit was exceeded. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - ServiceQuotaExceededException +// A service limit was exceeded. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateDevice func (c *NetworkManager) CreateDevice(input *CreateDeviceInput) (*CreateDeviceOutput, error) { @@ -1039,14 +1039,13 @@ const opCreateGlobalNetwork = "CreateGlobalNetwork" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGlobalNetworkRequest method. +// req, resp := client.CreateGlobalNetworkRequest(params) // -// // Example sending a request using the CreateGlobalNetworkRequest method. -// req, resp := client.CreateGlobalNetworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateGlobalNetwork func (c *NetworkManager) CreateGlobalNetworkRequest(input *CreateGlobalNetworkInput) (req *request.Request, output *CreateGlobalNetworkOutput) { @@ -1077,24 +1076,25 @@ func (c *NetworkManager) CreateGlobalNetworkRequest(input *CreateGlobalNetworkIn // API operation CreateGlobalNetwork for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * ServiceQuotaExceededException -// A service limit was exceeded. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - ServiceQuotaExceededException +// A service limit was exceeded. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateGlobalNetwork func (c *NetworkManager) CreateGlobalNetwork(input *CreateGlobalNetworkInput) (*CreateGlobalNetworkOutput, error) { @@ -1134,14 +1134,13 @@ const opCreateLink = "CreateLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLinkRequest method. +// req, resp := client.CreateLinkRequest(params) // -// // Example sending a request using the CreateLinkRequest method. -// req, resp := client.CreateLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateLink func (c *NetworkManager) CreateLinkRequest(input *CreateLinkInput) (req *request.Request, output *CreateLinkOutput) { @@ -1172,27 +1171,28 @@ func (c *NetworkManager) CreateLinkRequest(input *CreateLinkInput) (req *request // API operation CreateLink for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * ServiceQuotaExceededException -// A service limit was exceeded. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - ServiceQuotaExceededException +// A service limit was exceeded. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateLink func (c *NetworkManager) CreateLink(input *CreateLinkInput) (*CreateLinkOutput, error) { @@ -1232,14 +1232,13 @@ const opCreateSite = "CreateSite" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSiteRequest method. +// req, resp := client.CreateSiteRequest(params) // -// // Example sending a request using the CreateSiteRequest method. -// req, resp := client.CreateSiteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateSite func (c *NetworkManager) CreateSiteRequest(input *CreateSiteInput) (req *request.Request, output *CreateSiteOutput) { @@ -1270,27 +1269,28 @@ func (c *NetworkManager) CreateSiteRequest(input *CreateSiteInput) (req *request // API operation CreateSite for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * ServiceQuotaExceededException -// A service limit was exceeded. +// - ValidationException +// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceQuotaExceededException +// A service limit was exceeded. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateSite func (c *NetworkManager) CreateSite(input *CreateSiteInput) (*CreateSiteOutput, error) { @@ -1330,14 +1330,13 @@ const opCreateSiteToSiteVpnAttachment = "CreateSiteToSiteVpnAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSiteToSiteVpnAttachmentRequest method. +// req, resp := client.CreateSiteToSiteVpnAttachmentRequest(params) // -// // Example sending a request using the CreateSiteToSiteVpnAttachmentRequest method. -// req, resp := client.CreateSiteToSiteVpnAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateSiteToSiteVpnAttachment func (c *NetworkManager) CreateSiteToSiteVpnAttachmentRequest(input *CreateSiteToSiteVpnAttachmentInput) (req *request.Request, output *CreateSiteToSiteVpnAttachmentOutput) { @@ -1369,24 +1368,25 @@ func (c *NetworkManager) CreateSiteToSiteVpnAttachmentRequest(input *CreateSiteT // API operation CreateSiteToSiteVpnAttachment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateSiteToSiteVpnAttachment func (c *NetworkManager) CreateSiteToSiteVpnAttachment(input *CreateSiteToSiteVpnAttachmentInput) (*CreateSiteToSiteVpnAttachmentOutput, error) { @@ -1426,14 +1426,13 @@ const opCreateVpcAttachment = "CreateVpcAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVpcAttachmentRequest method. +// req, resp := client.CreateVpcAttachmentRequest(params) // -// // Example sending a request using the CreateVpcAttachmentRequest method. -// req, resp := client.CreateVpcAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateVpcAttachment func (c *NetworkManager) CreateVpcAttachmentRequest(input *CreateVpcAttachmentInput) (req *request.Request, output *CreateVpcAttachmentOutput) { @@ -1464,24 +1463,25 @@ func (c *NetworkManager) CreateVpcAttachmentRequest(input *CreateVpcAttachmentIn // API operation CreateVpcAttachment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateVpcAttachment func (c *NetworkManager) CreateVpcAttachment(input *CreateVpcAttachmentInput) (*CreateVpcAttachmentOutput, error) { @@ -1521,14 +1521,13 @@ const opDeleteAttachment = "DeleteAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAttachmentRequest method. +// req, resp := client.DeleteAttachmentRequest(params) // -// // Example sending a request using the DeleteAttachmentRequest method. -// req, resp := client.DeleteAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteAttachment func (c *NetworkManager) DeleteAttachmentRequest(input *DeleteAttachmentInput) (req *request.Request, output *DeleteAttachmentOutput) { @@ -1559,24 +1558,25 @@ func (c *NetworkManager) DeleteAttachmentRequest(input *DeleteAttachmentInput) ( // API operation DeleteAttachment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteAttachment func (c *NetworkManager) DeleteAttachment(input *DeleteAttachmentInput) (*DeleteAttachmentOutput, error) { @@ -1616,14 +1616,13 @@ const opDeleteConnectPeer = "DeleteConnectPeer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConnectPeerRequest method. +// req, resp := client.DeleteConnectPeerRequest(params) // -// // Example sending a request using the DeleteConnectPeerRequest method. -// req, resp := client.DeleteConnectPeerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteConnectPeer func (c *NetworkManager) DeleteConnectPeerRequest(input *DeleteConnectPeerInput) (req *request.Request, output *DeleteConnectPeerOutput) { @@ -1654,24 +1653,25 @@ func (c *NetworkManager) DeleteConnectPeerRequest(input *DeleteConnectPeerInput) // API operation DeleteConnectPeer for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteConnectPeer func (c *NetworkManager) DeleteConnectPeer(input *DeleteConnectPeerInput) (*DeleteConnectPeerOutput, error) { @@ -1711,14 +1711,13 @@ const opDeleteConnection = "DeleteConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConnectionRequest method. +// req, resp := client.DeleteConnectionRequest(params) // -// // Example sending a request using the DeleteConnectionRequest method. -// req, resp := client.DeleteConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteConnection func (c *NetworkManager) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput) { @@ -1749,24 +1748,25 @@ func (c *NetworkManager) DeleteConnectionRequest(input *DeleteConnectionInput) ( // API operation DeleteConnection for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteConnection func (c *NetworkManager) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error) { @@ -1806,14 +1806,13 @@ const opDeleteCoreNetwork = "DeleteCoreNetwork" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCoreNetworkRequest method. +// req, resp := client.DeleteCoreNetworkRequest(params) // -// // Example sending a request using the DeleteCoreNetworkRequest method. -// req, resp := client.DeleteCoreNetworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteCoreNetwork func (c *NetworkManager) DeleteCoreNetworkRequest(input *DeleteCoreNetworkInput) (req *request.Request, output *DeleteCoreNetworkOutput) { @@ -1845,24 +1844,25 @@ func (c *NetworkManager) DeleteCoreNetworkRequest(input *DeleteCoreNetworkInput) // API operation DeleteCoreNetwork for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteCoreNetwork func (c *NetworkManager) DeleteCoreNetwork(input *DeleteCoreNetworkInput) (*DeleteCoreNetworkOutput, error) { @@ -1902,14 +1902,13 @@ const opDeleteCoreNetworkPolicyVersion = "DeleteCoreNetworkPolicyVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCoreNetworkPolicyVersionRequest method. +// req, resp := client.DeleteCoreNetworkPolicyVersionRequest(params) // -// // Example sending a request using the DeleteCoreNetworkPolicyVersionRequest method. -// req, resp := client.DeleteCoreNetworkPolicyVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteCoreNetworkPolicyVersion func (c *NetworkManager) DeleteCoreNetworkPolicyVersionRequest(input *DeleteCoreNetworkPolicyVersionInput) (req *request.Request, output *DeleteCoreNetworkPolicyVersionOutput) { @@ -1941,24 +1940,25 @@ func (c *NetworkManager) DeleteCoreNetworkPolicyVersionRequest(input *DeleteCore // API operation DeleteCoreNetworkPolicyVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - InternalServerException +// The request has failed due to an internal error. +// +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteCoreNetworkPolicyVersion func (c *NetworkManager) DeleteCoreNetworkPolicyVersion(input *DeleteCoreNetworkPolicyVersionInput) (*DeleteCoreNetworkPolicyVersionOutput, error) { @@ -1998,14 +1998,13 @@ const opDeleteDevice = "DeleteDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDeviceRequest method. +// req, resp := client.DeleteDeviceRequest(params) // -// // Example sending a request using the DeleteDeviceRequest method. -// req, resp := client.DeleteDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteDevice func (c *NetworkManager) DeleteDeviceRequest(input *DeleteDeviceInput) (req *request.Request, output *DeleteDeviceOutput) { @@ -2037,24 +2036,25 @@ func (c *NetworkManager) DeleteDeviceRequest(input *DeleteDeviceInput) (req *req // API operation DeleteDevice for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteDevice func (c *NetworkManager) DeleteDevice(input *DeleteDeviceInput) (*DeleteDeviceOutput, error) { @@ -2094,14 +2094,13 @@ const opDeleteGlobalNetwork = "DeleteGlobalNetwork" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGlobalNetworkRequest method. +// req, resp := client.DeleteGlobalNetworkRequest(params) // -// // Example sending a request using the DeleteGlobalNetworkRequest method. -// req, resp := client.DeleteGlobalNetworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteGlobalNetwork func (c *NetworkManager) DeleteGlobalNetworkRequest(input *DeleteGlobalNetworkInput) (req *request.Request, output *DeleteGlobalNetworkOutput) { @@ -2134,24 +2133,25 @@ func (c *NetworkManager) DeleteGlobalNetworkRequest(input *DeleteGlobalNetworkIn // API operation DeleteGlobalNetwork for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteGlobalNetwork func (c *NetworkManager) DeleteGlobalNetwork(input *DeleteGlobalNetworkInput) (*DeleteGlobalNetworkOutput, error) { @@ -2191,14 +2191,13 @@ const opDeleteLink = "DeleteLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLinkRequest method. +// req, resp := client.DeleteLinkRequest(params) // -// // Example sending a request using the DeleteLinkRequest method. -// req, resp := client.DeleteLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteLink func (c *NetworkManager) DeleteLinkRequest(input *DeleteLinkInput) (req *request.Request, output *DeleteLinkOutput) { @@ -2230,24 +2229,25 @@ func (c *NetworkManager) DeleteLinkRequest(input *DeleteLinkInput) (req *request // API operation DeleteLink for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteLink func (c *NetworkManager) DeleteLink(input *DeleteLinkInput) (*DeleteLinkOutput, error) { @@ -2287,14 +2287,13 @@ const opDeleteResourcePolicy = "DeleteResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourcePolicyRequest method. +// req, resp := client.DeleteResourcePolicyRequest(params) // -// // Example sending a request using the DeleteResourcePolicyRequest method. -// req, resp := client.DeleteResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteResourcePolicy func (c *NetworkManager) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { @@ -2327,21 +2326,22 @@ func (c *NetworkManager) DeleteResourcePolicyRequest(input *DeleteResourcePolicy // API operation DeleteResourcePolicy for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteResourcePolicy func (c *NetworkManager) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { @@ -2381,14 +2381,13 @@ const opDeleteSite = "DeleteSite" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSiteRequest method. +// req, resp := client.DeleteSiteRequest(params) // -// // Example sending a request using the DeleteSiteRequest method. -// req, resp := client.DeleteSiteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteSite func (c *NetworkManager) DeleteSiteRequest(input *DeleteSiteInput) (req *request.Request, output *DeleteSiteOutput) { @@ -2420,24 +2419,25 @@ func (c *NetworkManager) DeleteSiteRequest(input *DeleteSiteInput) (req *request // API operation DeleteSite for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteSite func (c *NetworkManager) DeleteSite(input *DeleteSiteInput) (*DeleteSiteOutput, error) { @@ -2477,14 +2477,13 @@ const opDeregisterTransitGateway = "DeregisterTransitGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterTransitGatewayRequest method. +// req, resp := client.DeregisterTransitGatewayRequest(params) // -// // Example sending a request using the DeregisterTransitGatewayRequest method. -// req, resp := client.DeregisterTransitGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeregisterTransitGateway func (c *NetworkManager) DeregisterTransitGatewayRequest(input *DeregisterTransitGatewayInput) (req *request.Request, output *DeregisterTransitGatewayOutput) { @@ -2517,24 +2516,25 @@ func (c *NetworkManager) DeregisterTransitGatewayRequest(input *DeregisterTransi // API operation DeregisterTransitGateway for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeregisterTransitGateway func (c *NetworkManager) DeregisterTransitGateway(input *DeregisterTransitGatewayInput) (*DeregisterTransitGatewayOutput, error) { @@ -2574,14 +2574,13 @@ const opDescribeGlobalNetworks = "DescribeGlobalNetworks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGlobalNetworksRequest method. +// req, resp := client.DescribeGlobalNetworksRequest(params) // -// // Example sending a request using the DescribeGlobalNetworksRequest method. -// req, resp := client.DescribeGlobalNetworksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DescribeGlobalNetworks func (c *NetworkManager) DescribeGlobalNetworksRequest(input *DescribeGlobalNetworksInput) (req *request.Request, output *DescribeGlobalNetworksOutput) { @@ -2621,20 +2620,21 @@ func (c *NetworkManager) DescribeGlobalNetworksRequest(input *DescribeGlobalNetw // API operation DescribeGlobalNetworks for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DescribeGlobalNetworks func (c *NetworkManager) DescribeGlobalNetworks(input *DescribeGlobalNetworksInput) (*DescribeGlobalNetworksOutput, error) { @@ -2666,15 +2666,14 @@ func (c *NetworkManager) DescribeGlobalNetworksWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeGlobalNetworks operation. -// pageNum := 0 -// err := client.DescribeGlobalNetworksPages(params, -// func(page *networkmanager.DescribeGlobalNetworksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeGlobalNetworks operation. +// pageNum := 0 +// err := client.DescribeGlobalNetworksPages(params, +// func(page *networkmanager.DescribeGlobalNetworksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) DescribeGlobalNetworksPages(input *DescribeGlobalNetworksInput, fn func(*DescribeGlobalNetworksOutput, bool) bool) error { return c.DescribeGlobalNetworksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2726,14 +2725,13 @@ const opDisassociateConnectPeer = "DisassociateConnectPeer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateConnectPeerRequest method. +// req, resp := client.DisassociateConnectPeerRequest(params) // -// // Example sending a request using the DisassociateConnectPeerRequest method. -// req, resp := client.DisassociateConnectPeerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateConnectPeer func (c *NetworkManager) DisassociateConnectPeerRequest(input *DisassociateConnectPeerInput) (req *request.Request, output *DisassociateConnectPeerOutput) { @@ -2764,24 +2762,25 @@ func (c *NetworkManager) DisassociateConnectPeerRequest(input *DisassociateConne // API operation DisassociateConnectPeer for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateConnectPeer func (c *NetworkManager) DisassociateConnectPeer(input *DisassociateConnectPeerInput) (*DisassociateConnectPeerOutput, error) { @@ -2821,14 +2820,13 @@ const opDisassociateCustomerGateway = "DisassociateCustomerGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateCustomerGatewayRequest method. +// req, resp := client.DisassociateCustomerGatewayRequest(params) // -// // Example sending a request using the DisassociateCustomerGatewayRequest method. -// req, resp := client.DisassociateCustomerGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateCustomerGateway func (c *NetworkManager) DisassociateCustomerGatewayRequest(input *DisassociateCustomerGatewayInput) (req *request.Request, output *DisassociateCustomerGatewayOutput) { @@ -2859,24 +2857,25 @@ func (c *NetworkManager) DisassociateCustomerGatewayRequest(input *DisassociateC // API operation DisassociateCustomerGateway for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateCustomerGateway func (c *NetworkManager) DisassociateCustomerGateway(input *DisassociateCustomerGatewayInput) (*DisassociateCustomerGatewayOutput, error) { @@ -2916,14 +2915,13 @@ const opDisassociateLink = "DisassociateLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateLinkRequest method. +// req, resp := client.DisassociateLinkRequest(params) // -// // Example sending a request using the DisassociateLinkRequest method. -// req, resp := client.DisassociateLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateLink func (c *NetworkManager) DisassociateLinkRequest(input *DisassociateLinkInput) (req *request.Request, output *DisassociateLinkOutput) { @@ -2955,24 +2953,25 @@ func (c *NetworkManager) DisassociateLinkRequest(input *DisassociateLinkInput) ( // API operation DisassociateLink for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateLink func (c *NetworkManager) DisassociateLink(input *DisassociateLinkInput) (*DisassociateLinkOutput, error) { @@ -3012,14 +3011,13 @@ const opDisassociateTransitGatewayConnectPeer = "DisassociateTransitGatewayConne // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateTransitGatewayConnectPeerRequest method. +// req, resp := client.DisassociateTransitGatewayConnectPeerRequest(params) // -// // Example sending a request using the DisassociateTransitGatewayConnectPeerRequest method. -// req, resp := client.DisassociateTransitGatewayConnectPeerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateTransitGatewayConnectPeer func (c *NetworkManager) DisassociateTransitGatewayConnectPeerRequest(input *DisassociateTransitGatewayConnectPeerInput) (req *request.Request, output *DisassociateTransitGatewayConnectPeerOutput) { @@ -3050,24 +3048,25 @@ func (c *NetworkManager) DisassociateTransitGatewayConnectPeerRequest(input *Dis // API operation DisassociateTransitGatewayConnectPeer for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateTransitGatewayConnectPeer func (c *NetworkManager) DisassociateTransitGatewayConnectPeer(input *DisassociateTransitGatewayConnectPeerInput) (*DisassociateTransitGatewayConnectPeerOutput, error) { @@ -3107,14 +3106,13 @@ const opExecuteCoreNetworkChangeSet = "ExecuteCoreNetworkChangeSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExecuteCoreNetworkChangeSetRequest method. +// req, resp := client.ExecuteCoreNetworkChangeSetRequest(params) // -// // Example sending a request using the ExecuteCoreNetworkChangeSetRequest method. -// req, resp := client.ExecuteCoreNetworkChangeSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ExecuteCoreNetworkChangeSet func (c *NetworkManager) ExecuteCoreNetworkChangeSetRequest(input *ExecuteCoreNetworkChangeSetInput) (req *request.Request, output *ExecuteCoreNetworkChangeSetOutput) { @@ -3147,24 +3145,25 @@ func (c *NetworkManager) ExecuteCoreNetworkChangeSetRequest(input *ExecuteCoreNe // API operation ExecuteCoreNetworkChangeSet for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - InternalServerException +// The request has failed due to an internal error. +// +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ExecuteCoreNetworkChangeSet func (c *NetworkManager) ExecuteCoreNetworkChangeSet(input *ExecuteCoreNetworkChangeSetInput) (*ExecuteCoreNetworkChangeSetOutput, error) { @@ -3204,14 +3203,13 @@ const opGetConnectAttachment = "GetConnectAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConnectAttachmentRequest method. +// req, resp := client.GetConnectAttachmentRequest(params) // -// // Example sending a request using the GetConnectAttachmentRequest method. -// req, resp := client.GetConnectAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnectAttachment func (c *NetworkManager) GetConnectAttachmentRequest(input *GetConnectAttachmentInput) (req *request.Request, output *GetConnectAttachmentOutput) { @@ -3242,20 +3240,21 @@ func (c *NetworkManager) GetConnectAttachmentRequest(input *GetConnectAttachment // API operation GetConnectAttachment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnectAttachment func (c *NetworkManager) GetConnectAttachment(input *GetConnectAttachmentInput) (*GetConnectAttachmentOutput, error) { @@ -3295,14 +3294,13 @@ const opGetConnectPeer = "GetConnectPeer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConnectPeerRequest method. +// req, resp := client.GetConnectPeerRequest(params) // -// // Example sending a request using the GetConnectPeerRequest method. -// req, resp := client.GetConnectPeerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnectPeer func (c *NetworkManager) GetConnectPeerRequest(input *GetConnectPeerInput) (req *request.Request, output *GetConnectPeerOutput) { @@ -3333,20 +3331,21 @@ func (c *NetworkManager) GetConnectPeerRequest(input *GetConnectPeerInput) (req // API operation GetConnectPeer for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnectPeer func (c *NetworkManager) GetConnectPeer(input *GetConnectPeerInput) (*GetConnectPeerOutput, error) { @@ -3386,14 +3385,13 @@ const opGetConnectPeerAssociations = "GetConnectPeerAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConnectPeerAssociationsRequest method. +// req, resp := client.GetConnectPeerAssociationsRequest(params) // -// // Example sending a request using the GetConnectPeerAssociationsRequest method. -// req, resp := client.GetConnectPeerAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnectPeerAssociations func (c *NetworkManager) GetConnectPeerAssociationsRequest(input *GetConnectPeerAssociationsInput) (req *request.Request, output *GetConnectPeerAssociationsOutput) { @@ -3430,24 +3428,25 @@ func (c *NetworkManager) GetConnectPeerAssociationsRequest(input *GetConnectPeer // API operation GetConnectPeerAssociations for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnectPeerAssociations func (c *NetworkManager) GetConnectPeerAssociations(input *GetConnectPeerAssociationsInput) (*GetConnectPeerAssociationsOutput, error) { @@ -3479,15 +3478,14 @@ func (c *NetworkManager) GetConnectPeerAssociationsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetConnectPeerAssociations operation. -// pageNum := 0 -// err := client.GetConnectPeerAssociationsPages(params, -// func(page *networkmanager.GetConnectPeerAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetConnectPeerAssociations operation. +// pageNum := 0 +// err := client.GetConnectPeerAssociationsPages(params, +// func(page *networkmanager.GetConnectPeerAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) GetConnectPeerAssociationsPages(input *GetConnectPeerAssociationsInput, fn func(*GetConnectPeerAssociationsOutput, bool) bool) error { return c.GetConnectPeerAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3539,14 +3537,13 @@ const opGetConnections = "GetConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConnectionsRequest method. +// req, resp := client.GetConnectionsRequest(params) // -// // Example sending a request using the GetConnectionsRequest method. -// req, resp := client.GetConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnections func (c *NetworkManager) GetConnectionsRequest(input *GetConnectionsInput) (req *request.Request, output *GetConnectionsOutput) { @@ -3583,20 +3580,21 @@ func (c *NetworkManager) GetConnectionsRequest(input *GetConnectionsInput) (req // API operation GetConnections for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnections func (c *NetworkManager) GetConnections(input *GetConnectionsInput) (*GetConnectionsOutput, error) { @@ -3628,15 +3626,14 @@ func (c *NetworkManager) GetConnectionsWithContext(ctx aws.Context, input *GetCo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetConnections operation. -// pageNum := 0 -// err := client.GetConnectionsPages(params, -// func(page *networkmanager.GetConnectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetConnections operation. +// pageNum := 0 +// err := client.GetConnectionsPages(params, +// func(page *networkmanager.GetConnectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) GetConnectionsPages(input *GetConnectionsInput, fn func(*GetConnectionsOutput, bool) bool) error { return c.GetConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3688,14 +3685,13 @@ const opGetCoreNetwork = "GetCoreNetwork" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCoreNetworkRequest method. +// req, resp := client.GetCoreNetworkRequest(params) // -// // Example sending a request using the GetCoreNetworkRequest method. -// req, resp := client.GetCoreNetworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetwork func (c *NetworkManager) GetCoreNetworkRequest(input *GetCoreNetworkInput) (req *request.Request, output *GetCoreNetworkOutput) { @@ -3726,20 +3722,21 @@ func (c *NetworkManager) GetCoreNetworkRequest(input *GetCoreNetworkInput) (req // API operation GetCoreNetwork for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetwork func (c *NetworkManager) GetCoreNetwork(input *GetCoreNetworkInput) (*GetCoreNetworkOutput, error) { @@ -3779,14 +3776,13 @@ const opGetCoreNetworkChangeSet = "GetCoreNetworkChangeSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCoreNetworkChangeSetRequest method. +// req, resp := client.GetCoreNetworkChangeSetRequest(params) // -// // Example sending a request using the GetCoreNetworkChangeSetRequest method. -// req, resp := client.GetCoreNetworkChangeSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetworkChangeSet func (c *NetworkManager) GetCoreNetworkChangeSetRequest(input *GetCoreNetworkChangeSetInput) (req *request.Request, output *GetCoreNetworkChangeSetOutput) { @@ -3824,20 +3820,21 @@ func (c *NetworkManager) GetCoreNetworkChangeSetRequest(input *GetCoreNetworkCha // API operation GetCoreNetworkChangeSet for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetworkChangeSet func (c *NetworkManager) GetCoreNetworkChangeSet(input *GetCoreNetworkChangeSetInput) (*GetCoreNetworkChangeSetOutput, error) { @@ -3869,15 +3866,14 @@ func (c *NetworkManager) GetCoreNetworkChangeSetWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetCoreNetworkChangeSet operation. -// pageNum := 0 -// err := client.GetCoreNetworkChangeSetPages(params, -// func(page *networkmanager.GetCoreNetworkChangeSetOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetCoreNetworkChangeSet operation. +// pageNum := 0 +// err := client.GetCoreNetworkChangeSetPages(params, +// func(page *networkmanager.GetCoreNetworkChangeSetOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) GetCoreNetworkChangeSetPages(input *GetCoreNetworkChangeSetInput, fn func(*GetCoreNetworkChangeSetOutput, bool) bool) error { return c.GetCoreNetworkChangeSetPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3929,14 +3925,13 @@ const opGetCoreNetworkPolicy = "GetCoreNetworkPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCoreNetworkPolicyRequest method. +// req, resp := client.GetCoreNetworkPolicyRequest(params) // -// // Example sending a request using the GetCoreNetworkPolicyRequest method. -// req, resp := client.GetCoreNetworkPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetworkPolicy func (c *NetworkManager) GetCoreNetworkPolicyRequest(input *GetCoreNetworkPolicyInput) (req *request.Request, output *GetCoreNetworkPolicyOutput) { @@ -3968,20 +3963,21 @@ func (c *NetworkManager) GetCoreNetworkPolicyRequest(input *GetCoreNetworkPolicy // API operation GetCoreNetworkPolicy for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetworkPolicy func (c *NetworkManager) GetCoreNetworkPolicy(input *GetCoreNetworkPolicyInput) (*GetCoreNetworkPolicyOutput, error) { @@ -4021,14 +4017,13 @@ const opGetCustomerGatewayAssociations = "GetCustomerGatewayAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCustomerGatewayAssociationsRequest method. +// req, resp := client.GetCustomerGatewayAssociationsRequest(params) // -// // Example sending a request using the GetCustomerGatewayAssociationsRequest method. -// req, resp := client.GetCustomerGatewayAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCustomerGatewayAssociations func (c *NetworkManager) GetCustomerGatewayAssociationsRequest(input *GetCustomerGatewayAssociationsInput) (req *request.Request, output *GetCustomerGatewayAssociationsOutput) { @@ -4066,24 +4061,25 @@ func (c *NetworkManager) GetCustomerGatewayAssociationsRequest(input *GetCustome // API operation GetCustomerGatewayAssociations for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCustomerGatewayAssociations func (c *NetworkManager) GetCustomerGatewayAssociations(input *GetCustomerGatewayAssociationsInput) (*GetCustomerGatewayAssociationsOutput, error) { @@ -4115,15 +4111,14 @@ func (c *NetworkManager) GetCustomerGatewayAssociationsWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetCustomerGatewayAssociations operation. -// pageNum := 0 -// err := client.GetCustomerGatewayAssociationsPages(params, -// func(page *networkmanager.GetCustomerGatewayAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetCustomerGatewayAssociations operation. +// pageNum := 0 +// err := client.GetCustomerGatewayAssociationsPages(params, +// func(page *networkmanager.GetCustomerGatewayAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) GetCustomerGatewayAssociationsPages(input *GetCustomerGatewayAssociationsInput, fn func(*GetCustomerGatewayAssociationsOutput, bool) bool) error { return c.GetCustomerGatewayAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4175,14 +4170,13 @@ const opGetDevices = "GetDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDevicesRequest method. +// req, resp := client.GetDevicesRequest(params) // -// // Example sending a request using the GetDevicesRequest method. -// req, resp := client.GetDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetDevices func (c *NetworkManager) GetDevicesRequest(input *GetDevicesInput) (req *request.Request, output *GetDevicesOutput) { @@ -4219,20 +4213,21 @@ func (c *NetworkManager) GetDevicesRequest(input *GetDevicesInput) (req *request // API operation GetDevices for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetDevices func (c *NetworkManager) GetDevices(input *GetDevicesInput) (*GetDevicesOutput, error) { @@ -4264,15 +4259,14 @@ func (c *NetworkManager) GetDevicesWithContext(ctx aws.Context, input *GetDevice // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetDevices operation. -// pageNum := 0 -// err := client.GetDevicesPages(params, -// func(page *networkmanager.GetDevicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetDevices operation. +// pageNum := 0 +// err := client.GetDevicesPages(params, +// func(page *networkmanager.GetDevicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) GetDevicesPages(input *GetDevicesInput, fn func(*GetDevicesOutput, bool) bool) error { return c.GetDevicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4324,14 +4318,13 @@ const opGetLinkAssociations = "GetLinkAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLinkAssociationsRequest method. +// req, resp := client.GetLinkAssociationsRequest(params) // -// // Example sending a request using the GetLinkAssociationsRequest method. -// req, resp := client.GetLinkAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetLinkAssociations func (c *NetworkManager) GetLinkAssociationsRequest(input *GetLinkAssociationsInput) (req *request.Request, output *GetLinkAssociationsOutput) { @@ -4369,20 +4362,21 @@ func (c *NetworkManager) GetLinkAssociationsRequest(input *GetLinkAssociationsIn // API operation GetLinkAssociations for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetLinkAssociations func (c *NetworkManager) GetLinkAssociations(input *GetLinkAssociationsInput) (*GetLinkAssociationsOutput, error) { @@ -4414,15 +4408,14 @@ func (c *NetworkManager) GetLinkAssociationsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetLinkAssociations operation. -// pageNum := 0 -// err := client.GetLinkAssociationsPages(params, -// func(page *networkmanager.GetLinkAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetLinkAssociations operation. +// pageNum := 0 +// err := client.GetLinkAssociationsPages(params, +// func(page *networkmanager.GetLinkAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) GetLinkAssociationsPages(input *GetLinkAssociationsInput, fn func(*GetLinkAssociationsOutput, bool) bool) error { return c.GetLinkAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4474,14 +4467,13 @@ const opGetLinks = "GetLinks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLinksRequest method. +// req, resp := client.GetLinksRequest(params) // -// // Example sending a request using the GetLinksRequest method. -// req, resp := client.GetLinksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetLinks func (c *NetworkManager) GetLinksRequest(input *GetLinksInput) (req *request.Request, output *GetLinksOutput) { @@ -4521,20 +4513,21 @@ func (c *NetworkManager) GetLinksRequest(input *GetLinksInput) (req *request.Req // API operation GetLinks for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetLinks func (c *NetworkManager) GetLinks(input *GetLinksInput) (*GetLinksOutput, error) { @@ -4566,15 +4559,14 @@ func (c *NetworkManager) GetLinksWithContext(ctx aws.Context, input *GetLinksInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetLinks operation. -// pageNum := 0 -// err := client.GetLinksPages(params, -// func(page *networkmanager.GetLinksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetLinks operation. +// pageNum := 0 +// err := client.GetLinksPages(params, +// func(page *networkmanager.GetLinksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) GetLinksPages(input *GetLinksInput, fn func(*GetLinksOutput, bool) bool) error { return c.GetLinksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4626,14 +4618,13 @@ const opGetNetworkResourceCounts = "GetNetworkResourceCounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNetworkResourceCountsRequest method. +// req, resp := client.GetNetworkResourceCountsRequest(params) // -// // Example sending a request using the GetNetworkResourceCountsRequest method. -// req, resp := client.GetNetworkResourceCountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkResourceCounts func (c *NetworkManager) GetNetworkResourceCountsRequest(input *GetNetworkResourceCountsInput) (req *request.Request, output *GetNetworkResourceCountsOutput) { @@ -4671,17 +4662,18 @@ func (c *NetworkManager) GetNetworkResourceCountsRequest(input *GetNetworkResour // API operation GetNetworkResourceCounts for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkResourceCounts func (c *NetworkManager) GetNetworkResourceCounts(input *GetNetworkResourceCountsInput) (*GetNetworkResourceCountsOutput, error) { @@ -4713,15 +4705,14 @@ func (c *NetworkManager) GetNetworkResourceCountsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetNetworkResourceCounts operation. -// pageNum := 0 -// err := client.GetNetworkResourceCountsPages(params, -// func(page *networkmanager.GetNetworkResourceCountsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetNetworkResourceCounts operation. +// pageNum := 0 +// err := client.GetNetworkResourceCountsPages(params, +// func(page *networkmanager.GetNetworkResourceCountsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) GetNetworkResourceCountsPages(input *GetNetworkResourceCountsInput, fn func(*GetNetworkResourceCountsOutput, bool) bool) error { return c.GetNetworkResourceCountsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4773,14 +4764,13 @@ const opGetNetworkResourceRelationships = "GetNetworkResourceRelationships" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNetworkResourceRelationshipsRequest method. +// req, resp := client.GetNetworkResourceRelationshipsRequest(params) // -// // Example sending a request using the GetNetworkResourceRelationshipsRequest method. -// req, resp := client.GetNetworkResourceRelationshipsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkResourceRelationships func (c *NetworkManager) GetNetworkResourceRelationshipsRequest(input *GetNetworkResourceRelationshipsInput) (req *request.Request, output *GetNetworkResourceRelationshipsOutput) { @@ -4817,20 +4807,21 @@ func (c *NetworkManager) GetNetworkResourceRelationshipsRequest(input *GetNetwor // API operation GetNetworkResourceRelationships for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkResourceRelationships func (c *NetworkManager) GetNetworkResourceRelationships(input *GetNetworkResourceRelationshipsInput) (*GetNetworkResourceRelationshipsOutput, error) { @@ -4862,15 +4853,14 @@ func (c *NetworkManager) GetNetworkResourceRelationshipsWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetNetworkResourceRelationships operation. -// pageNum := 0 -// err := client.GetNetworkResourceRelationshipsPages(params, -// func(page *networkmanager.GetNetworkResourceRelationshipsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetNetworkResourceRelationships operation. +// pageNum := 0 +// err := client.GetNetworkResourceRelationshipsPages(params, +// func(page *networkmanager.GetNetworkResourceRelationshipsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) GetNetworkResourceRelationshipsPages(input *GetNetworkResourceRelationshipsInput, fn func(*GetNetworkResourceRelationshipsOutput, bool) bool) error { return c.GetNetworkResourceRelationshipsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4922,14 +4912,13 @@ const opGetNetworkResources = "GetNetworkResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNetworkResourcesRequest method. +// req, resp := client.GetNetworkResourcesRequest(params) // -// // Example sending a request using the GetNetworkResourcesRequest method. -// req, resp := client.GetNetworkResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkResources func (c *NetworkManager) GetNetworkResourcesRequest(input *GetNetworkResourcesInput) (req *request.Request, output *GetNetworkResourcesOutput) { @@ -4969,20 +4958,21 @@ func (c *NetworkManager) GetNetworkResourcesRequest(input *GetNetworkResourcesIn // API operation GetNetworkResources for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkResources func (c *NetworkManager) GetNetworkResources(input *GetNetworkResourcesInput) (*GetNetworkResourcesOutput, error) { @@ -5014,15 +5004,14 @@ func (c *NetworkManager) GetNetworkResourcesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetNetworkResources operation. -// pageNum := 0 -// err := client.GetNetworkResourcesPages(params, -// func(page *networkmanager.GetNetworkResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetNetworkResources operation. +// pageNum := 0 +// err := client.GetNetworkResourcesPages(params, +// func(page *networkmanager.GetNetworkResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) GetNetworkResourcesPages(input *GetNetworkResourcesInput, fn func(*GetNetworkResourcesOutput, bool) bool) error { return c.GetNetworkResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5074,14 +5063,13 @@ const opGetNetworkRoutes = "GetNetworkRoutes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNetworkRoutesRequest method. +// req, resp := client.GetNetworkRoutesRequest(params) // -// // Example sending a request using the GetNetworkRoutesRequest method. -// req, resp := client.GetNetworkRoutesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkRoutes func (c *NetworkManager) GetNetworkRoutesRequest(input *GetNetworkRoutesInput) (req *request.Request, output *GetNetworkRoutesOutput) { @@ -5112,20 +5100,21 @@ func (c *NetworkManager) GetNetworkRoutesRequest(input *GetNetworkRoutesInput) ( // API operation GetNetworkRoutes for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkRoutes func (c *NetworkManager) GetNetworkRoutes(input *GetNetworkRoutesInput) (*GetNetworkRoutesOutput, error) { @@ -5165,14 +5154,13 @@ const opGetNetworkTelemetry = "GetNetworkTelemetry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNetworkTelemetryRequest method. +// req, resp := client.GetNetworkTelemetryRequest(params) // -// // Example sending a request using the GetNetworkTelemetryRequest method. -// req, resp := client.GetNetworkTelemetryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkTelemetry func (c *NetworkManager) GetNetworkTelemetryRequest(input *GetNetworkTelemetryInput) (req *request.Request, output *GetNetworkTelemetryOutput) { @@ -5209,20 +5197,21 @@ func (c *NetworkManager) GetNetworkTelemetryRequest(input *GetNetworkTelemetryIn // API operation GetNetworkTelemetry for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkTelemetry func (c *NetworkManager) GetNetworkTelemetry(input *GetNetworkTelemetryInput) (*GetNetworkTelemetryOutput, error) { @@ -5254,15 +5243,14 @@ func (c *NetworkManager) GetNetworkTelemetryWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetNetworkTelemetry operation. -// pageNum := 0 -// err := client.GetNetworkTelemetryPages(params, -// func(page *networkmanager.GetNetworkTelemetryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetNetworkTelemetry operation. +// pageNum := 0 +// err := client.GetNetworkTelemetryPages(params, +// func(page *networkmanager.GetNetworkTelemetryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) GetNetworkTelemetryPages(input *GetNetworkTelemetryInput, fn func(*GetNetworkTelemetryOutput, bool) bool) error { return c.GetNetworkTelemetryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5314,14 +5302,13 @@ const opGetResourcePolicy = "GetResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourcePolicyRequest method. +// req, resp := client.GetResourcePolicyRequest(params) // -// // Example sending a request using the GetResourcePolicyRequest method. -// req, resp := client.GetResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetResourcePolicy func (c *NetworkManager) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput) { @@ -5352,17 +5339,18 @@ func (c *NetworkManager) GetResourcePolicyRequest(input *GetResourcePolicyInput) // API operation GetResourcePolicy for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetResourcePolicy func (c *NetworkManager) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error) { @@ -5402,14 +5390,13 @@ const opGetRouteAnalysis = "GetRouteAnalysis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRouteAnalysisRequest method. +// req, resp := client.GetRouteAnalysisRequest(params) // -// // Example sending a request using the GetRouteAnalysisRequest method. -// req, resp := client.GetRouteAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetRouteAnalysis func (c *NetworkManager) GetRouteAnalysisRequest(input *GetRouteAnalysisInput) (req *request.Request, output *GetRouteAnalysisOutput) { @@ -5440,20 +5427,21 @@ func (c *NetworkManager) GetRouteAnalysisRequest(input *GetRouteAnalysisInput) ( // API operation GetRouteAnalysis for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetRouteAnalysis func (c *NetworkManager) GetRouteAnalysis(input *GetRouteAnalysisInput) (*GetRouteAnalysisOutput, error) { @@ -5493,14 +5481,13 @@ const opGetSiteToSiteVpnAttachment = "GetSiteToSiteVpnAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSiteToSiteVpnAttachmentRequest method. +// req, resp := client.GetSiteToSiteVpnAttachmentRequest(params) // -// // Example sending a request using the GetSiteToSiteVpnAttachmentRequest method. -// req, resp := client.GetSiteToSiteVpnAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetSiteToSiteVpnAttachment func (c *NetworkManager) GetSiteToSiteVpnAttachmentRequest(input *GetSiteToSiteVpnAttachmentInput) (req *request.Request, output *GetSiteToSiteVpnAttachmentOutput) { @@ -5531,20 +5518,21 @@ func (c *NetworkManager) GetSiteToSiteVpnAttachmentRequest(input *GetSiteToSiteV // API operation GetSiteToSiteVpnAttachment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetSiteToSiteVpnAttachment func (c *NetworkManager) GetSiteToSiteVpnAttachment(input *GetSiteToSiteVpnAttachmentInput) (*GetSiteToSiteVpnAttachmentOutput, error) { @@ -5584,14 +5572,13 @@ const opGetSites = "GetSites" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSitesRequest method. +// req, resp := client.GetSitesRequest(params) // -// // Example sending a request using the GetSitesRequest method. -// req, resp := client.GetSitesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetSites func (c *NetworkManager) GetSitesRequest(input *GetSitesInput) (req *request.Request, output *GetSitesOutput) { @@ -5628,20 +5615,21 @@ func (c *NetworkManager) GetSitesRequest(input *GetSitesInput) (req *request.Req // API operation GetSites for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetSites func (c *NetworkManager) GetSites(input *GetSitesInput) (*GetSitesOutput, error) { @@ -5673,15 +5661,14 @@ func (c *NetworkManager) GetSitesWithContext(ctx aws.Context, input *GetSitesInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetSites operation. -// pageNum := 0 -// err := client.GetSitesPages(params, -// func(page *networkmanager.GetSitesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetSites operation. +// pageNum := 0 +// err := client.GetSitesPages(params, +// func(page *networkmanager.GetSitesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) GetSitesPages(input *GetSitesInput, fn func(*GetSitesOutput, bool) bool) error { return c.GetSitesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5733,14 +5720,13 @@ const opGetTransitGatewayConnectPeerAssociations = "GetTransitGatewayConnectPeer // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTransitGatewayConnectPeerAssociationsRequest method. +// req, resp := client.GetTransitGatewayConnectPeerAssociationsRequest(params) // -// // Example sending a request using the GetTransitGatewayConnectPeerAssociationsRequest method. -// req, resp := client.GetTransitGatewayConnectPeerAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayConnectPeerAssociations func (c *NetworkManager) GetTransitGatewayConnectPeerAssociationsRequest(input *GetTransitGatewayConnectPeerAssociationsInput) (req *request.Request, output *GetTransitGatewayConnectPeerAssociationsOutput) { @@ -5778,24 +5764,25 @@ func (c *NetworkManager) GetTransitGatewayConnectPeerAssociationsRequest(input * // API operation GetTransitGatewayConnectPeerAssociations for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayConnectPeerAssociations func (c *NetworkManager) GetTransitGatewayConnectPeerAssociations(input *GetTransitGatewayConnectPeerAssociationsInput) (*GetTransitGatewayConnectPeerAssociationsOutput, error) { @@ -5827,15 +5814,14 @@ func (c *NetworkManager) GetTransitGatewayConnectPeerAssociationsWithContext(ctx // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTransitGatewayConnectPeerAssociations operation. -// pageNum := 0 -// err := client.GetTransitGatewayConnectPeerAssociationsPages(params, -// func(page *networkmanager.GetTransitGatewayConnectPeerAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTransitGatewayConnectPeerAssociations operation. +// pageNum := 0 +// err := client.GetTransitGatewayConnectPeerAssociationsPages(params, +// func(page *networkmanager.GetTransitGatewayConnectPeerAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) GetTransitGatewayConnectPeerAssociationsPages(input *GetTransitGatewayConnectPeerAssociationsInput, fn func(*GetTransitGatewayConnectPeerAssociationsOutput, bool) bool) error { return c.GetTransitGatewayConnectPeerAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5887,14 +5873,13 @@ const opGetTransitGatewayRegistrations = "GetTransitGatewayRegistrations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTransitGatewayRegistrationsRequest method. +// req, resp := client.GetTransitGatewayRegistrationsRequest(params) // -// // Example sending a request using the GetTransitGatewayRegistrationsRequest method. -// req, resp := client.GetTransitGatewayRegistrationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayRegistrations func (c *NetworkManager) GetTransitGatewayRegistrationsRequest(input *GetTransitGatewayRegistrationsInput) (req *request.Request, output *GetTransitGatewayRegistrationsOutput) { @@ -5932,20 +5917,21 @@ func (c *NetworkManager) GetTransitGatewayRegistrationsRequest(input *GetTransit // API operation GetTransitGatewayRegistrations for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayRegistrations func (c *NetworkManager) GetTransitGatewayRegistrations(input *GetTransitGatewayRegistrationsInput) (*GetTransitGatewayRegistrationsOutput, error) { @@ -5977,15 +5963,14 @@ func (c *NetworkManager) GetTransitGatewayRegistrationsWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTransitGatewayRegistrations operation. -// pageNum := 0 -// err := client.GetTransitGatewayRegistrationsPages(params, -// func(page *networkmanager.GetTransitGatewayRegistrationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTransitGatewayRegistrations operation. +// pageNum := 0 +// err := client.GetTransitGatewayRegistrationsPages(params, +// func(page *networkmanager.GetTransitGatewayRegistrationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) GetTransitGatewayRegistrationsPages(input *GetTransitGatewayRegistrationsInput, fn func(*GetTransitGatewayRegistrationsOutput, bool) bool) error { return c.GetTransitGatewayRegistrationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6037,14 +6022,13 @@ const opGetVpcAttachment = "GetVpcAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVpcAttachmentRequest method. +// req, resp := client.GetVpcAttachmentRequest(params) // -// // Example sending a request using the GetVpcAttachmentRequest method. -// req, resp := client.GetVpcAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetVpcAttachment func (c *NetworkManager) GetVpcAttachmentRequest(input *GetVpcAttachmentInput) (req *request.Request, output *GetVpcAttachmentOutput) { @@ -6075,20 +6059,21 @@ func (c *NetworkManager) GetVpcAttachmentRequest(input *GetVpcAttachmentInput) ( // API operation GetVpcAttachment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetVpcAttachment func (c *NetworkManager) GetVpcAttachment(input *GetVpcAttachmentInput) (*GetVpcAttachmentOutput, error) { @@ -6128,14 +6113,13 @@ const opListAttachments = "ListAttachments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAttachmentsRequest method. +// req, resp := client.ListAttachmentsRequest(params) // -// // Example sending a request using the ListAttachmentsRequest method. -// req, resp := client.ListAttachmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListAttachments func (c *NetworkManager) ListAttachmentsRequest(input *ListAttachmentsInput) (req *request.Request, output *ListAttachmentsOutput) { @@ -6172,17 +6156,18 @@ func (c *NetworkManager) ListAttachmentsRequest(input *ListAttachmentsInput) (re // API operation ListAttachments for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListAttachments func (c *NetworkManager) ListAttachments(input *ListAttachmentsInput) (*ListAttachmentsOutput, error) { @@ -6214,15 +6199,14 @@ func (c *NetworkManager) ListAttachmentsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAttachments operation. -// pageNum := 0 -// err := client.ListAttachmentsPages(params, -// func(page *networkmanager.ListAttachmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAttachments operation. +// pageNum := 0 +// err := client.ListAttachmentsPages(params, +// func(page *networkmanager.ListAttachmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) ListAttachmentsPages(input *ListAttachmentsInput, fn func(*ListAttachmentsOutput, bool) bool) error { return c.ListAttachmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6274,14 +6258,13 @@ const opListConnectPeers = "ListConnectPeers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConnectPeersRequest method. +// req, resp := client.ListConnectPeersRequest(params) // -// // Example sending a request using the ListConnectPeersRequest method. -// req, resp := client.ListConnectPeersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListConnectPeers func (c *NetworkManager) ListConnectPeersRequest(input *ListConnectPeersInput) (req *request.Request, output *ListConnectPeersOutput) { @@ -6318,17 +6301,18 @@ func (c *NetworkManager) ListConnectPeersRequest(input *ListConnectPeersInput) ( // API operation ListConnectPeers for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListConnectPeers func (c *NetworkManager) ListConnectPeers(input *ListConnectPeersInput) (*ListConnectPeersOutput, error) { @@ -6360,15 +6344,14 @@ func (c *NetworkManager) ListConnectPeersWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListConnectPeers operation. -// pageNum := 0 -// err := client.ListConnectPeersPages(params, -// func(page *networkmanager.ListConnectPeersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListConnectPeers operation. +// pageNum := 0 +// err := client.ListConnectPeersPages(params, +// func(page *networkmanager.ListConnectPeersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) ListConnectPeersPages(input *ListConnectPeersInput, fn func(*ListConnectPeersOutput, bool) bool) error { return c.ListConnectPeersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6420,14 +6403,13 @@ const opListCoreNetworkPolicyVersions = "ListCoreNetworkPolicyVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCoreNetworkPolicyVersionsRequest method. +// req, resp := client.ListCoreNetworkPolicyVersionsRequest(params) // -// // Example sending a request using the ListCoreNetworkPolicyVersionsRequest method. -// req, resp := client.ListCoreNetworkPolicyVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListCoreNetworkPolicyVersions func (c *NetworkManager) ListCoreNetworkPolicyVersionsRequest(input *ListCoreNetworkPolicyVersionsInput) (req *request.Request, output *ListCoreNetworkPolicyVersionsOutput) { @@ -6464,20 +6446,21 @@ func (c *NetworkManager) ListCoreNetworkPolicyVersionsRequest(input *ListCoreNet // API operation ListCoreNetworkPolicyVersions for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListCoreNetworkPolicyVersions func (c *NetworkManager) ListCoreNetworkPolicyVersions(input *ListCoreNetworkPolicyVersionsInput) (*ListCoreNetworkPolicyVersionsOutput, error) { @@ -6509,15 +6492,14 @@ func (c *NetworkManager) ListCoreNetworkPolicyVersionsWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCoreNetworkPolicyVersions operation. -// pageNum := 0 -// err := client.ListCoreNetworkPolicyVersionsPages(params, -// func(page *networkmanager.ListCoreNetworkPolicyVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCoreNetworkPolicyVersions operation. +// pageNum := 0 +// err := client.ListCoreNetworkPolicyVersionsPages(params, +// func(page *networkmanager.ListCoreNetworkPolicyVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) ListCoreNetworkPolicyVersionsPages(input *ListCoreNetworkPolicyVersionsInput, fn func(*ListCoreNetworkPolicyVersionsOutput, bool) bool) error { return c.ListCoreNetworkPolicyVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6569,14 +6551,13 @@ const opListCoreNetworks = "ListCoreNetworks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCoreNetworksRequest method. +// req, resp := client.ListCoreNetworksRequest(params) // -// // Example sending a request using the ListCoreNetworksRequest method. -// req, resp := client.ListCoreNetworksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListCoreNetworks func (c *NetworkManager) ListCoreNetworksRequest(input *ListCoreNetworksInput) (req *request.Request, output *ListCoreNetworksOutput) { @@ -6613,17 +6594,18 @@ func (c *NetworkManager) ListCoreNetworksRequest(input *ListCoreNetworksInput) ( // API operation ListCoreNetworks for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListCoreNetworks func (c *NetworkManager) ListCoreNetworks(input *ListCoreNetworksInput) (*ListCoreNetworksOutput, error) { @@ -6655,15 +6637,14 @@ func (c *NetworkManager) ListCoreNetworksWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCoreNetworks operation. -// pageNum := 0 -// err := client.ListCoreNetworksPages(params, -// func(page *networkmanager.ListCoreNetworksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCoreNetworks operation. +// pageNum := 0 +// err := client.ListCoreNetworksPages(params, +// func(page *networkmanager.ListCoreNetworksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NetworkManager) ListCoreNetworksPages(input *ListCoreNetworksInput, fn func(*ListCoreNetworksOutput, bool) bool) error { return c.ListCoreNetworksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6715,14 +6696,13 @@ const opListOrganizationServiceAccessStatus = "ListOrganizationServiceAccessStat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOrganizationServiceAccessStatusRequest method. +// req, resp := client.ListOrganizationServiceAccessStatusRequest(params) // -// // Example sending a request using the ListOrganizationServiceAccessStatusRequest method. -// req, resp := client.ListOrganizationServiceAccessStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListOrganizationServiceAccessStatus func (c *NetworkManager) ListOrganizationServiceAccessStatusRequest(input *ListOrganizationServiceAccessStatusInput) (req *request.Request, output *ListOrganizationServiceAccessStatusOutput) { @@ -6787,14 +6767,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListTagsForResource func (c *NetworkManager) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -6825,20 +6804,21 @@ func (c *NetworkManager) ListTagsForResourceRequest(input *ListTagsForResourceIn // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListTagsForResource func (c *NetworkManager) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -6878,14 +6858,13 @@ const opPutCoreNetworkPolicy = "PutCoreNetworkPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutCoreNetworkPolicyRequest method. +// req, resp := client.PutCoreNetworkPolicyRequest(params) // -// // Example sending a request using the PutCoreNetworkPolicyRequest method. -// req, resp := client.PutCoreNetworkPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/PutCoreNetworkPolicy func (c *NetworkManager) PutCoreNetworkPolicyRequest(input *PutCoreNetworkPolicyInput) (req *request.Request, output *PutCoreNetworkPolicyOutput) { @@ -6918,27 +6897,28 @@ func (c *NetworkManager) PutCoreNetworkPolicyRequest(input *PutCoreNetworkPolicy // API operation PutCoreNetworkPolicy for usage and error information. // // Returned Error Types: -// * CoreNetworkPolicyException -// Describes a core network policy exception. // -// * ValidationException -// The input fails to satisfy the constraints. +// - CoreNetworkPolicyException +// Describes a core network policy exception. +// +// - ValidationException +// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/PutCoreNetworkPolicy func (c *NetworkManager) PutCoreNetworkPolicy(input *PutCoreNetworkPolicyInput) (*PutCoreNetworkPolicyOutput, error) { @@ -6978,14 +6958,13 @@ const opPutResourcePolicy = "PutResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutResourcePolicyRequest method. +// req, resp := client.PutResourcePolicyRequest(params) // -// // Example sending a request using the PutResourcePolicyRequest method. -// req, resp := client.PutResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/PutResourcePolicy func (c *NetworkManager) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { @@ -7017,24 +6996,25 @@ func (c *NetworkManager) PutResourcePolicyRequest(input *PutResourcePolicyInput) // API operation PutResourcePolicy for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * ServiceQuotaExceededException -// A service limit was exceeded. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - ServiceQuotaExceededException +// A service limit was exceeded. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/PutResourcePolicy func (c *NetworkManager) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { @@ -7074,14 +7054,13 @@ const opRegisterTransitGateway = "RegisterTransitGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterTransitGatewayRequest method. +// req, resp := client.RegisterTransitGatewayRequest(params) // -// // Example sending a request using the RegisterTransitGatewayRequest method. -// req, resp := client.RegisterTransitGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RegisterTransitGateway func (c *NetworkManager) RegisterTransitGatewayRequest(input *RegisterTransitGatewayInput) (req *request.Request, output *RegisterTransitGatewayOutput) { @@ -7115,24 +7094,25 @@ func (c *NetworkManager) RegisterTransitGatewayRequest(input *RegisterTransitGat // API operation RegisterTransitGateway for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RegisterTransitGateway func (c *NetworkManager) RegisterTransitGateway(input *RegisterTransitGatewayInput) (*RegisterTransitGatewayOutput, error) { @@ -7172,14 +7152,13 @@ const opRejectAttachment = "RejectAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectAttachmentRequest method. +// req, resp := client.RejectAttachmentRequest(params) // -// // Example sending a request using the RejectAttachmentRequest method. -// req, resp := client.RejectAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RejectAttachment func (c *NetworkManager) RejectAttachmentRequest(input *RejectAttachmentInput) (req *request.Request, output *RejectAttachmentOutput) { @@ -7210,24 +7189,25 @@ func (c *NetworkManager) RejectAttachmentRequest(input *RejectAttachmentInput) ( // API operation RejectAttachment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RejectAttachment func (c *NetworkManager) RejectAttachment(input *RejectAttachmentInput) (*RejectAttachmentOutput, error) { @@ -7267,14 +7247,13 @@ const opRestoreCoreNetworkPolicyVersion = "RestoreCoreNetworkPolicyVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreCoreNetworkPolicyVersionRequest method. +// req, resp := client.RestoreCoreNetworkPolicyVersionRequest(params) // -// // Example sending a request using the RestoreCoreNetworkPolicyVersionRequest method. -// req, resp := client.RestoreCoreNetworkPolicyVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RestoreCoreNetworkPolicyVersion func (c *NetworkManager) RestoreCoreNetworkPolicyVersionRequest(input *RestoreCoreNetworkPolicyVersionInput) (req *request.Request, output *RestoreCoreNetworkPolicyVersionOutput) { @@ -7307,24 +7286,25 @@ func (c *NetworkManager) RestoreCoreNetworkPolicyVersionRequest(input *RestoreCo // API operation RestoreCoreNetworkPolicyVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RestoreCoreNetworkPolicyVersion func (c *NetworkManager) RestoreCoreNetworkPolicyVersion(input *RestoreCoreNetworkPolicyVersionInput) (*RestoreCoreNetworkPolicyVersionOutput, error) { @@ -7364,14 +7344,13 @@ const opStartOrganizationServiceAccessUpdate = "StartOrganizationServiceAccessUp // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartOrganizationServiceAccessUpdateRequest method. +// req, resp := client.StartOrganizationServiceAccessUpdateRequest(params) // -// // Example sending a request using the StartOrganizationServiceAccessUpdateRequest method. -// req, resp := client.StartOrganizationServiceAccessUpdateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/StartOrganizationServiceAccessUpdate func (c *NetworkManager) StartOrganizationServiceAccessUpdateRequest(input *StartOrganizationServiceAccessUpdateInput) (req *request.Request, output *StartOrganizationServiceAccessUpdateOutput) { @@ -7400,24 +7379,25 @@ func (c *NetworkManager) StartOrganizationServiceAccessUpdateRequest(input *Star // API operation StartOrganizationServiceAccessUpdate for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * ServiceQuotaExceededException -// A service limit was exceeded. +// - ValidationException +// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceQuotaExceededException +// A service limit was exceeded. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/StartOrganizationServiceAccessUpdate func (c *NetworkManager) StartOrganizationServiceAccessUpdate(input *StartOrganizationServiceAccessUpdateInput) (*StartOrganizationServiceAccessUpdateOutput, error) { @@ -7457,14 +7437,13 @@ const opStartRouteAnalysis = "StartRouteAnalysis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartRouteAnalysisRequest method. +// req, resp := client.StartRouteAnalysisRequest(params) // -// // Example sending a request using the StartRouteAnalysisRequest method. -// req, resp := client.StartRouteAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/StartRouteAnalysis func (c *NetworkManager) StartRouteAnalysisRequest(input *StartRouteAnalysisInput) (req *request.Request, output *StartRouteAnalysisOutput) { @@ -7496,24 +7475,25 @@ func (c *NetworkManager) StartRouteAnalysisRequest(input *StartRouteAnalysisInpu // API operation StartRouteAnalysis for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/StartRouteAnalysis func (c *NetworkManager) StartRouteAnalysis(input *StartRouteAnalysisInput) (*StartRouteAnalysisOutput, error) { @@ -7553,14 +7533,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/TagResource func (c *NetworkManager) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -7592,27 +7571,28 @@ func (c *NetworkManager) TagResourceRequest(input *TagResourceInput) (req *reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * ServiceQuotaExceededException -// A service limit was exceeded. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - ServiceQuotaExceededException +// A service limit was exceeded. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/TagResource func (c *NetworkManager) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -7652,14 +7632,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UntagResource func (c *NetworkManager) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -7691,24 +7670,25 @@ func (c *NetworkManager) UntagResourceRequest(input *UntagResourceInput) (req *r // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UntagResource func (c *NetworkManager) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -7748,14 +7728,13 @@ const opUpdateConnection = "UpdateConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConnectionRequest method. +// req, resp := client.UpdateConnectionRequest(params) // -// // Example sending a request using the UpdateConnectionRequest method. -// req, resp := client.UpdateConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateConnection func (c *NetworkManager) UpdateConnectionRequest(input *UpdateConnectionInput) (req *request.Request, output *UpdateConnectionOutput) { @@ -7787,24 +7766,25 @@ func (c *NetworkManager) UpdateConnectionRequest(input *UpdateConnectionInput) ( // API operation UpdateConnection for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateConnection func (c *NetworkManager) UpdateConnection(input *UpdateConnectionInput) (*UpdateConnectionOutput, error) { @@ -7844,14 +7824,13 @@ const opUpdateCoreNetwork = "UpdateCoreNetwork" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCoreNetworkRequest method. +// req, resp := client.UpdateCoreNetworkRequest(params) // -// // Example sending a request using the UpdateCoreNetworkRequest method. -// req, resp := client.UpdateCoreNetworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateCoreNetwork func (c *NetworkManager) UpdateCoreNetworkRequest(input *UpdateCoreNetworkInput) (req *request.Request, output *UpdateCoreNetworkOutput) { @@ -7882,24 +7861,25 @@ func (c *NetworkManager) UpdateCoreNetworkRequest(input *UpdateCoreNetworkInput) // API operation UpdateCoreNetwork for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateCoreNetwork func (c *NetworkManager) UpdateCoreNetwork(input *UpdateCoreNetworkInput) (*UpdateCoreNetworkOutput, error) { @@ -7939,14 +7919,13 @@ const opUpdateDevice = "UpdateDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDeviceRequest method. +// req, resp := client.UpdateDeviceRequest(params) // -// // Example sending a request using the UpdateDeviceRequest method. -// req, resp := client.UpdateDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateDevice func (c *NetworkManager) UpdateDeviceRequest(input *UpdateDeviceInput) (req *request.Request, output *UpdateDeviceOutput) { @@ -7978,24 +7957,25 @@ func (c *NetworkManager) UpdateDeviceRequest(input *UpdateDeviceInput) (req *req // API operation UpdateDevice for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateDevice func (c *NetworkManager) UpdateDevice(input *UpdateDeviceInput) (*UpdateDeviceOutput, error) { @@ -8035,14 +8015,13 @@ const opUpdateGlobalNetwork = "UpdateGlobalNetwork" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGlobalNetworkRequest method. +// req, resp := client.UpdateGlobalNetworkRequest(params) // -// // Example sending a request using the UpdateGlobalNetworkRequest method. -// req, resp := client.UpdateGlobalNetworkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateGlobalNetwork func (c *NetworkManager) UpdateGlobalNetworkRequest(input *UpdateGlobalNetworkInput) (req *request.Request, output *UpdateGlobalNetworkOutput) { @@ -8074,24 +8053,25 @@ func (c *NetworkManager) UpdateGlobalNetworkRequest(input *UpdateGlobalNetworkIn // API operation UpdateGlobalNetwork for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateGlobalNetwork func (c *NetworkManager) UpdateGlobalNetwork(input *UpdateGlobalNetworkInput) (*UpdateGlobalNetworkOutput, error) { @@ -8131,14 +8111,13 @@ const opUpdateLink = "UpdateLink" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLinkRequest method. +// req, resp := client.UpdateLinkRequest(params) // -// // Example sending a request using the UpdateLinkRequest method. -// req, resp := client.UpdateLinkRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateLink func (c *NetworkManager) UpdateLinkRequest(input *UpdateLinkInput) (req *request.Request, output *UpdateLinkOutput) { @@ -8170,27 +8149,28 @@ func (c *NetworkManager) UpdateLinkRequest(input *UpdateLinkInput) (req *request // API operation UpdateLink for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * ServiceQuotaExceededException -// A service limit was exceeded. +// - ValidationException +// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ServiceQuotaExceededException +// A service limit was exceeded. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateLink func (c *NetworkManager) UpdateLink(input *UpdateLinkInput) (*UpdateLinkOutput, error) { @@ -8230,14 +8210,13 @@ const opUpdateNetworkResourceMetadata = "UpdateNetworkResourceMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNetworkResourceMetadataRequest method. +// req, resp := client.UpdateNetworkResourceMetadataRequest(params) // -// // Example sending a request using the UpdateNetworkResourceMetadataRequest method. -// req, resp := client.UpdateNetworkResourceMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateNetworkResourceMetadata func (c *NetworkManager) UpdateNetworkResourceMetadataRequest(input *UpdateNetworkResourceMetadataInput) (req *request.Request, output *UpdateNetworkResourceMetadataOutput) { @@ -8268,24 +8247,25 @@ func (c *NetworkManager) UpdateNetworkResourceMetadataRequest(input *UpdateNetwo // API operation UpdateNetworkResourceMetadata for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * InternalServerException -// The request has failed due to an internal error. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateNetworkResourceMetadata func (c *NetworkManager) UpdateNetworkResourceMetadata(input *UpdateNetworkResourceMetadataInput) (*UpdateNetworkResourceMetadataOutput, error) { @@ -8325,14 +8305,13 @@ const opUpdateSite = "UpdateSite" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSiteRequest method. +// req, resp := client.UpdateSiteRequest(params) // -// // Example sending a request using the UpdateSiteRequest method. -// req, resp := client.UpdateSiteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateSite func (c *NetworkManager) UpdateSiteRequest(input *UpdateSiteInput) (req *request.Request, output *UpdateSiteOutput) { @@ -8364,24 +8343,25 @@ func (c *NetworkManager) UpdateSiteRequest(input *UpdateSiteInput) (req *request // API operation UpdateSite for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateSite func (c *NetworkManager) UpdateSite(input *UpdateSiteInput) (*UpdateSiteOutput, error) { @@ -8421,14 +8401,13 @@ const opUpdateVpcAttachment = "UpdateVpcAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVpcAttachmentRequest method. +// req, resp := client.UpdateVpcAttachmentRequest(params) // -// // Example sending a request using the UpdateVpcAttachmentRequest method. -// req, resp := client.UpdateVpcAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateVpcAttachment func (c *NetworkManager) UpdateVpcAttachmentRequest(input *UpdateVpcAttachmentInput) (req *request.Request, output *UpdateVpcAttachmentOutput) { @@ -8459,24 +8438,25 @@ func (c *NetworkManager) UpdateVpcAttachmentRequest(input *UpdateVpcAttachmentIn // API operation UpdateVpcAttachment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input fails to satisfy the constraints. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// There was a conflict processing the request. Updating or deleting the resource -// can cause an inconsistent state. +// - ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request has failed due to an internal error. +// - InternalServerException +// The request has failed due to an internal error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateVpcAttachment func (c *NetworkManager) UpdateVpcAttachment(input *UpdateVpcAttachmentInput) (*UpdateVpcAttachmentOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/doc.go index e007160adb0f..bb5a56f7a50c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/doc.go @@ -12,7 +12,7 @@ // See networkmanager package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/networkmanager/ // -// Using the Client +// # Using the Client // // To contact AWS Network Manager with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/networkmanageriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/networkmanageriface/interface.go index 0d9b76d28911..04789928abf1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/networkmanageriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/networkmanageriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Network Manager. -// func myFunc(svc networkmanageriface.NetworkManagerAPI) bool { -// // Make svc.AcceptAttachment request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Network Manager. +// func myFunc(svc networkmanageriface.NetworkManagerAPI) bool { +// // Make svc.AcceptAttachment request +// } // -// func main() { -// sess := session.New() -// svc := networkmanager.New(sess) +// func main() { +// sess := session.New() +// svc := networkmanager.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockNetworkManagerClient struct { -// networkmanageriface.NetworkManagerAPI -// } -// func (m *mockNetworkManagerClient) AcceptAttachment(input *networkmanager.AcceptAttachmentInput) (*networkmanager.AcceptAttachmentOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockNetworkManagerClient struct { +// networkmanageriface.NetworkManagerAPI +// } +// func (m *mockNetworkManagerClient) AcceptAttachment(input *networkmanager.AcceptAttachmentInput) (*networkmanager.AcceptAttachmentOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockNetworkManagerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockNetworkManagerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/service.go index de1876a89824..49fa26b97936 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/networkmanager/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a NetworkManager client from just a session. -// svc := networkmanager.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a NetworkManager client with additional configuration -// svc := networkmanager.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a NetworkManager client from just a session. +// svc := networkmanager.New(mySession) +// +// // Create a NetworkManager client with additional configuration +// svc := networkmanager.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *NetworkManager { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/api.go index 2903d8930431..12d4d2b8377f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/api.go @@ -29,14 +29,13 @@ const opAcceptEulas = "AcceptEulas" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptEulasRequest method. +// req, resp := client.AcceptEulasRequest(params) // -// // Example sending a request using the AcceptEulasRequest method. -// req, resp := client.AcceptEulasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/AcceptEulas func (c *NimbleStudio) AcceptEulasRequest(input *AcceptEulasInput) (req *request.Request, output *AcceptEulasOutput) { @@ -67,30 +66,31 @@ func (c *NimbleStudio) AcceptEulasRequest(input *AcceptEulasInput) (req *request // API operation AcceptEulas for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/AcceptEulas func (c *NimbleStudio) AcceptEulas(input *AcceptEulasInput) (*AcceptEulasOutput, error) { @@ -130,14 +130,13 @@ const opCreateLaunchProfile = "CreateLaunchProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLaunchProfileRequest method. +// req, resp := client.CreateLaunchProfileRequest(params) // -// // Example sending a request using the CreateLaunchProfileRequest method. -// req, resp := client.CreateLaunchProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateLaunchProfile func (c *NimbleStudio) CreateLaunchProfileRequest(input *CreateLaunchProfileInput) (req *request.Request, output *CreateLaunchProfileOutput) { @@ -168,30 +167,31 @@ func (c *NimbleStudio) CreateLaunchProfileRequest(input *CreateLaunchProfileInpu // API operation CreateLaunchProfile for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateLaunchProfile func (c *NimbleStudio) CreateLaunchProfile(input *CreateLaunchProfileInput) (*CreateLaunchProfileOutput, error) { @@ -231,14 +231,13 @@ const opCreateStreamingImage = "CreateStreamingImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStreamingImageRequest method. +// req, resp := client.CreateStreamingImageRequest(params) // -// // Example sending a request using the CreateStreamingImageRequest method. -// req, resp := client.CreateStreamingImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStreamingImage func (c *NimbleStudio) CreateStreamingImageRequest(input *CreateStreamingImageInput) (req *request.Request, output *CreateStreamingImageOutput) { @@ -269,30 +268,31 @@ func (c *NimbleStudio) CreateStreamingImageRequest(input *CreateStreamingImageIn // API operation CreateStreamingImage for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStreamingImage func (c *NimbleStudio) CreateStreamingImage(input *CreateStreamingImageInput) (*CreateStreamingImageOutput, error) { @@ -332,14 +332,13 @@ const opCreateStreamingSession = "CreateStreamingSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStreamingSessionRequest method. +// req, resp := client.CreateStreamingSessionRequest(params) // -// // Example sending a request using the CreateStreamingSessionRequest method. -// req, resp := client.CreateStreamingSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStreamingSession func (c *NimbleStudio) CreateStreamingSessionRequest(input *CreateStreamingSessionInput) (req *request.Request, output *CreateStreamingSessionOutput) { @@ -373,30 +372,31 @@ func (c *NimbleStudio) CreateStreamingSessionRequest(input *CreateStreamingSessi // API operation CreateStreamingSession for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStreamingSession func (c *NimbleStudio) CreateStreamingSession(input *CreateStreamingSessionInput) (*CreateStreamingSessionOutput, error) { @@ -436,14 +436,13 @@ const opCreateStreamingSessionStream = "CreateStreamingSessionStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStreamingSessionStreamRequest method. +// req, resp := client.CreateStreamingSessionStreamRequest(params) // -// // Example sending a request using the CreateStreamingSessionStreamRequest method. -// req, resp := client.CreateStreamingSessionStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStreamingSessionStream func (c *NimbleStudio) CreateStreamingSessionStreamRequest(input *CreateStreamingSessionStreamInput) (req *request.Request, output *CreateStreamingSessionStreamOutput) { @@ -477,30 +476,31 @@ func (c *NimbleStudio) CreateStreamingSessionStreamRequest(input *CreateStreamin // API operation CreateStreamingSessionStream for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStreamingSessionStream func (c *NimbleStudio) CreateStreamingSessionStream(input *CreateStreamingSessionStreamInput) (*CreateStreamingSessionStreamOutput, error) { @@ -540,14 +540,13 @@ const opCreateStudio = "CreateStudio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStudioRequest method. +// req, resp := client.CreateStudioRequest(params) // -// // Example sending a request using the CreateStudioRequest method. -// req, resp := client.CreateStudioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStudio func (c *NimbleStudio) CreateStudioRequest(input *CreateStudioInput) (req *request.Request, output *CreateStudioOutput) { @@ -605,30 +604,31 @@ func (c *NimbleStudio) CreateStudioRequest(input *CreateStudioInput) (req *reque // API operation CreateStudio for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStudio func (c *NimbleStudio) CreateStudio(input *CreateStudioInput) (*CreateStudioOutput, error) { @@ -668,14 +668,13 @@ const opCreateStudioComponent = "CreateStudioComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStudioComponentRequest method. +// req, resp := client.CreateStudioComponentRequest(params) // -// // Example sending a request using the CreateStudioComponentRequest method. -// req, resp := client.CreateStudioComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStudioComponent func (c *NimbleStudio) CreateStudioComponentRequest(input *CreateStudioComponentInput) (req *request.Request, output *CreateStudioComponentOutput) { @@ -706,30 +705,31 @@ func (c *NimbleStudio) CreateStudioComponentRequest(input *CreateStudioComponent // API operation CreateStudioComponent for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStudioComponent func (c *NimbleStudio) CreateStudioComponent(input *CreateStudioComponentInput) (*CreateStudioComponentOutput, error) { @@ -769,14 +769,13 @@ const opDeleteLaunchProfile = "DeleteLaunchProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLaunchProfileRequest method. +// req, resp := client.DeleteLaunchProfileRequest(params) // -// // Example sending a request using the DeleteLaunchProfileRequest method. -// req, resp := client.DeleteLaunchProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteLaunchProfile func (c *NimbleStudio) DeleteLaunchProfileRequest(input *DeleteLaunchProfileInput) (req *request.Request, output *DeleteLaunchProfileOutput) { @@ -807,30 +806,31 @@ func (c *NimbleStudio) DeleteLaunchProfileRequest(input *DeleteLaunchProfileInpu // API operation DeleteLaunchProfile for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteLaunchProfile func (c *NimbleStudio) DeleteLaunchProfile(input *DeleteLaunchProfileInput) (*DeleteLaunchProfileOutput, error) { @@ -870,14 +870,13 @@ const opDeleteLaunchProfileMember = "DeleteLaunchProfileMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLaunchProfileMemberRequest method. +// req, resp := client.DeleteLaunchProfileMemberRequest(params) // -// // Example sending a request using the DeleteLaunchProfileMemberRequest method. -// req, resp := client.DeleteLaunchProfileMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteLaunchProfileMember func (c *NimbleStudio) DeleteLaunchProfileMemberRequest(input *DeleteLaunchProfileMemberInput) (req *request.Request, output *DeleteLaunchProfileMemberOutput) { @@ -909,30 +908,31 @@ func (c *NimbleStudio) DeleteLaunchProfileMemberRequest(input *DeleteLaunchProfi // API operation DeleteLaunchProfileMember for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteLaunchProfileMember func (c *NimbleStudio) DeleteLaunchProfileMember(input *DeleteLaunchProfileMemberInput) (*DeleteLaunchProfileMemberOutput, error) { @@ -972,14 +972,13 @@ const opDeleteStreamingImage = "DeleteStreamingImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStreamingImageRequest method. +// req, resp := client.DeleteStreamingImageRequest(params) // -// // Example sending a request using the DeleteStreamingImageRequest method. -// req, resp := client.DeleteStreamingImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteStreamingImage func (c *NimbleStudio) DeleteStreamingImageRequest(input *DeleteStreamingImageInput) (req *request.Request, output *DeleteStreamingImageOutput) { @@ -1010,30 +1009,31 @@ func (c *NimbleStudio) DeleteStreamingImageRequest(input *DeleteStreamingImageIn // API operation DeleteStreamingImage for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteStreamingImage func (c *NimbleStudio) DeleteStreamingImage(input *DeleteStreamingImageInput) (*DeleteStreamingImageOutput, error) { @@ -1073,14 +1073,13 @@ const opDeleteStreamingSession = "DeleteStreamingSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStreamingSessionRequest method. +// req, resp := client.DeleteStreamingSessionRequest(params) // -// // Example sending a request using the DeleteStreamingSessionRequest method. -// req, resp := client.DeleteStreamingSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteStreamingSession func (c *NimbleStudio) DeleteStreamingSessionRequest(input *DeleteStreamingSessionInput) (req *request.Request, output *DeleteStreamingSessionOutput) { @@ -1117,30 +1116,31 @@ func (c *NimbleStudio) DeleteStreamingSessionRequest(input *DeleteStreamingSessi // API operation DeleteStreamingSession for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteStreamingSession func (c *NimbleStudio) DeleteStreamingSession(input *DeleteStreamingSessionInput) (*DeleteStreamingSessionOutput, error) { @@ -1180,14 +1180,13 @@ const opDeleteStudio = "DeleteStudio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStudioRequest method. +// req, resp := client.DeleteStudioRequest(params) // -// // Example sending a request using the DeleteStudioRequest method. -// req, resp := client.DeleteStudioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteStudio func (c *NimbleStudio) DeleteStudioRequest(input *DeleteStudioInput) (req *request.Request, output *DeleteStudioOutput) { @@ -1218,30 +1217,31 @@ func (c *NimbleStudio) DeleteStudioRequest(input *DeleteStudioInput) (req *reque // API operation DeleteStudio for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteStudio func (c *NimbleStudio) DeleteStudio(input *DeleteStudioInput) (*DeleteStudioOutput, error) { @@ -1281,14 +1281,13 @@ const opDeleteStudioComponent = "DeleteStudioComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStudioComponentRequest method. +// req, resp := client.DeleteStudioComponentRequest(params) // -// // Example sending a request using the DeleteStudioComponentRequest method. -// req, resp := client.DeleteStudioComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteStudioComponent func (c *NimbleStudio) DeleteStudioComponentRequest(input *DeleteStudioComponentInput) (req *request.Request, output *DeleteStudioComponentOutput) { @@ -1319,30 +1318,31 @@ func (c *NimbleStudio) DeleteStudioComponentRequest(input *DeleteStudioComponent // API operation DeleteStudioComponent for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteStudioComponent func (c *NimbleStudio) DeleteStudioComponent(input *DeleteStudioComponentInput) (*DeleteStudioComponentOutput, error) { @@ -1382,14 +1382,13 @@ const opDeleteStudioMember = "DeleteStudioMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStudioMemberRequest method. +// req, resp := client.DeleteStudioMemberRequest(params) // -// // Example sending a request using the DeleteStudioMemberRequest method. -// req, resp := client.DeleteStudioMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteStudioMember func (c *NimbleStudio) DeleteStudioMemberRequest(input *DeleteStudioMemberInput) (req *request.Request, output *DeleteStudioMemberOutput) { @@ -1421,30 +1420,31 @@ func (c *NimbleStudio) DeleteStudioMemberRequest(input *DeleteStudioMemberInput) // API operation DeleteStudioMember for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/DeleteStudioMember func (c *NimbleStudio) DeleteStudioMember(input *DeleteStudioMemberInput) (*DeleteStudioMemberOutput, error) { @@ -1484,14 +1484,13 @@ const opGetEula = "GetEula" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEulaRequest method. +// req, resp := client.GetEulaRequest(params) // -// // Example sending a request using the GetEulaRequest method. -// req, resp := client.GetEulaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetEula func (c *NimbleStudio) GetEulaRequest(input *GetEulaInput) (req *request.Request, output *GetEulaOutput) { @@ -1522,30 +1521,31 @@ func (c *NimbleStudio) GetEulaRequest(input *GetEulaInput) (req *request.Request // API operation GetEula for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetEula func (c *NimbleStudio) GetEula(input *GetEulaInput) (*GetEulaOutput, error) { @@ -1585,14 +1585,13 @@ const opGetLaunchProfile = "GetLaunchProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLaunchProfileRequest method. +// req, resp := client.GetLaunchProfileRequest(params) // -// // Example sending a request using the GetLaunchProfileRequest method. -// req, resp := client.GetLaunchProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetLaunchProfile func (c *NimbleStudio) GetLaunchProfileRequest(input *GetLaunchProfileInput) (req *request.Request, output *GetLaunchProfileOutput) { @@ -1623,30 +1622,31 @@ func (c *NimbleStudio) GetLaunchProfileRequest(input *GetLaunchProfileInput) (re // API operation GetLaunchProfile for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetLaunchProfile func (c *NimbleStudio) GetLaunchProfile(input *GetLaunchProfileInput) (*GetLaunchProfileOutput, error) { @@ -1686,14 +1686,13 @@ const opGetLaunchProfileDetails = "GetLaunchProfileDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLaunchProfileDetailsRequest method. +// req, resp := client.GetLaunchProfileDetailsRequest(params) // -// // Example sending a request using the GetLaunchProfileDetailsRequest method. -// req, resp := client.GetLaunchProfileDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetLaunchProfileDetails func (c *NimbleStudio) GetLaunchProfileDetailsRequest(input *GetLaunchProfileDetailsInput) (req *request.Request, output *GetLaunchProfileDetailsOutput) { @@ -1728,30 +1727,31 @@ func (c *NimbleStudio) GetLaunchProfileDetailsRequest(input *GetLaunchProfileDet // API operation GetLaunchProfileDetails for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetLaunchProfileDetails func (c *NimbleStudio) GetLaunchProfileDetails(input *GetLaunchProfileDetailsInput) (*GetLaunchProfileDetailsOutput, error) { @@ -1791,14 +1791,13 @@ const opGetLaunchProfileInitialization = "GetLaunchProfileInitialization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLaunchProfileInitializationRequest method. +// req, resp := client.GetLaunchProfileInitializationRequest(params) // -// // Example sending a request using the GetLaunchProfileInitializationRequest method. -// req, resp := client.GetLaunchProfileInitializationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetLaunchProfileInitialization func (c *NimbleStudio) GetLaunchProfileInitializationRequest(input *GetLaunchProfileInitializationInput) (req *request.Request, output *GetLaunchProfileInitializationOutput) { @@ -1829,30 +1828,31 @@ func (c *NimbleStudio) GetLaunchProfileInitializationRequest(input *GetLaunchPro // API operation GetLaunchProfileInitialization for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetLaunchProfileInitialization func (c *NimbleStudio) GetLaunchProfileInitialization(input *GetLaunchProfileInitializationInput) (*GetLaunchProfileInitializationOutput, error) { @@ -1892,14 +1892,13 @@ const opGetLaunchProfileMember = "GetLaunchProfileMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLaunchProfileMemberRequest method. +// req, resp := client.GetLaunchProfileMemberRequest(params) // -// // Example sending a request using the GetLaunchProfileMemberRequest method. -// req, resp := client.GetLaunchProfileMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetLaunchProfileMember func (c *NimbleStudio) GetLaunchProfileMemberRequest(input *GetLaunchProfileMemberInput) (req *request.Request, output *GetLaunchProfileMemberOutput) { @@ -1930,30 +1929,31 @@ func (c *NimbleStudio) GetLaunchProfileMemberRequest(input *GetLaunchProfileMemb // API operation GetLaunchProfileMember for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetLaunchProfileMember func (c *NimbleStudio) GetLaunchProfileMember(input *GetLaunchProfileMemberInput) (*GetLaunchProfileMemberOutput, error) { @@ -1993,14 +1993,13 @@ const opGetStreamingImage = "GetStreamingImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStreamingImageRequest method. +// req, resp := client.GetStreamingImageRequest(params) // -// // Example sending a request using the GetStreamingImageRequest method. -// req, resp := client.GetStreamingImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStreamingImage func (c *NimbleStudio) GetStreamingImageRequest(input *GetStreamingImageInput) (req *request.Request, output *GetStreamingImageOutput) { @@ -2031,30 +2030,31 @@ func (c *NimbleStudio) GetStreamingImageRequest(input *GetStreamingImageInput) ( // API operation GetStreamingImage for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStreamingImage func (c *NimbleStudio) GetStreamingImage(input *GetStreamingImageInput) (*GetStreamingImageOutput, error) { @@ -2094,14 +2094,13 @@ const opGetStreamingSession = "GetStreamingSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStreamingSessionRequest method. +// req, resp := client.GetStreamingSessionRequest(params) // -// // Example sending a request using the GetStreamingSessionRequest method. -// req, resp := client.GetStreamingSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStreamingSession func (c *NimbleStudio) GetStreamingSessionRequest(input *GetStreamingSessionInput) (req *request.Request, output *GetStreamingSessionOutput) { @@ -2135,30 +2134,31 @@ func (c *NimbleStudio) GetStreamingSessionRequest(input *GetStreamingSessionInpu // API operation GetStreamingSession for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStreamingSession func (c *NimbleStudio) GetStreamingSession(input *GetStreamingSessionInput) (*GetStreamingSessionOutput, error) { @@ -2198,14 +2198,13 @@ const opGetStreamingSessionStream = "GetStreamingSessionStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStreamingSessionStreamRequest method. +// req, resp := client.GetStreamingSessionStreamRequest(params) // -// // Example sending a request using the GetStreamingSessionStreamRequest method. -// req, resp := client.GetStreamingSessionStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStreamingSessionStream func (c *NimbleStudio) GetStreamingSessionStreamRequest(input *GetStreamingSessionStreamInput) (req *request.Request, output *GetStreamingSessionStreamOutput) { @@ -2241,30 +2240,31 @@ func (c *NimbleStudio) GetStreamingSessionStreamRequest(input *GetStreamingSessi // API operation GetStreamingSessionStream for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStreamingSessionStream func (c *NimbleStudio) GetStreamingSessionStream(input *GetStreamingSessionStreamInput) (*GetStreamingSessionStreamOutput, error) { @@ -2304,14 +2304,13 @@ const opGetStudio = "GetStudio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStudioRequest method. +// req, resp := client.GetStudioRequest(params) // -// // Example sending a request using the GetStudioRequest method. -// req, resp := client.GetStudioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStudio func (c *NimbleStudio) GetStudioRequest(input *GetStudioInput) (req *request.Request, output *GetStudioOutput) { @@ -2342,30 +2341,31 @@ func (c *NimbleStudio) GetStudioRequest(input *GetStudioInput) (req *request.Req // API operation GetStudio for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStudio func (c *NimbleStudio) GetStudio(input *GetStudioInput) (*GetStudioOutput, error) { @@ -2405,14 +2405,13 @@ const opGetStudioComponent = "GetStudioComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStudioComponentRequest method. +// req, resp := client.GetStudioComponentRequest(params) // -// // Example sending a request using the GetStudioComponentRequest method. -// req, resp := client.GetStudioComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStudioComponent func (c *NimbleStudio) GetStudioComponentRequest(input *GetStudioComponentInput) (req *request.Request, output *GetStudioComponentOutput) { @@ -2443,30 +2442,31 @@ func (c *NimbleStudio) GetStudioComponentRequest(input *GetStudioComponentInput) // API operation GetStudioComponent for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStudioComponent func (c *NimbleStudio) GetStudioComponent(input *GetStudioComponentInput) (*GetStudioComponentOutput, error) { @@ -2506,14 +2506,13 @@ const opGetStudioMember = "GetStudioMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStudioMemberRequest method. +// req, resp := client.GetStudioMemberRequest(params) // -// // Example sending a request using the GetStudioMemberRequest method. -// req, resp := client.GetStudioMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStudioMember func (c *NimbleStudio) GetStudioMemberRequest(input *GetStudioMemberInput) (req *request.Request, output *GetStudioMemberOutput) { @@ -2544,30 +2543,31 @@ func (c *NimbleStudio) GetStudioMemberRequest(input *GetStudioMemberInput) (req // API operation GetStudioMember for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/GetStudioMember func (c *NimbleStudio) GetStudioMember(input *GetStudioMemberInput) (*GetStudioMemberOutput, error) { @@ -2607,14 +2607,13 @@ const opListEulaAcceptances = "ListEulaAcceptances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEulaAcceptancesRequest method. +// req, resp := client.ListEulaAcceptancesRequest(params) // -// // Example sending a request using the ListEulaAcceptancesRequest method. -// req, resp := client.ListEulaAcceptancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListEulaAcceptances func (c *NimbleStudio) ListEulaAcceptancesRequest(input *ListEulaAcceptancesInput) (req *request.Request, output *ListEulaAcceptancesOutput) { @@ -2651,30 +2650,31 @@ func (c *NimbleStudio) ListEulaAcceptancesRequest(input *ListEulaAcceptancesInpu // API operation ListEulaAcceptances for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListEulaAcceptances func (c *NimbleStudio) ListEulaAcceptances(input *ListEulaAcceptancesInput) (*ListEulaAcceptancesOutput, error) { @@ -2706,15 +2706,14 @@ func (c *NimbleStudio) ListEulaAcceptancesWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEulaAcceptances operation. -// pageNum := 0 -// err := client.ListEulaAcceptancesPages(params, -// func(page *nimblestudio.ListEulaAcceptancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEulaAcceptances operation. +// pageNum := 0 +// err := client.ListEulaAcceptancesPages(params, +// func(page *nimblestudio.ListEulaAcceptancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NimbleStudio) ListEulaAcceptancesPages(input *ListEulaAcceptancesInput, fn func(*ListEulaAcceptancesOutput, bool) bool) error { return c.ListEulaAcceptancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2766,14 +2765,13 @@ const opListEulas = "ListEulas" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEulasRequest method. +// req, resp := client.ListEulasRequest(params) // -// // Example sending a request using the ListEulasRequest method. -// req, resp := client.ListEulasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListEulas func (c *NimbleStudio) ListEulasRequest(input *ListEulasInput) (req *request.Request, output *ListEulasOutput) { @@ -2810,30 +2808,31 @@ func (c *NimbleStudio) ListEulasRequest(input *ListEulasInput) (req *request.Req // API operation ListEulas for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListEulas func (c *NimbleStudio) ListEulas(input *ListEulasInput) (*ListEulasOutput, error) { @@ -2865,15 +2864,14 @@ func (c *NimbleStudio) ListEulasWithContext(ctx aws.Context, input *ListEulasInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEulas operation. -// pageNum := 0 -// err := client.ListEulasPages(params, -// func(page *nimblestudio.ListEulasOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEulas operation. +// pageNum := 0 +// err := client.ListEulasPages(params, +// func(page *nimblestudio.ListEulasOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NimbleStudio) ListEulasPages(input *ListEulasInput, fn func(*ListEulasOutput, bool) bool) error { return c.ListEulasPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2925,14 +2923,13 @@ const opListLaunchProfileMembers = "ListLaunchProfileMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLaunchProfileMembersRequest method. +// req, resp := client.ListLaunchProfileMembersRequest(params) // -// // Example sending a request using the ListLaunchProfileMembersRequest method. -// req, resp := client.ListLaunchProfileMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListLaunchProfileMembers func (c *NimbleStudio) ListLaunchProfileMembersRequest(input *ListLaunchProfileMembersInput) (req *request.Request, output *ListLaunchProfileMembersOutput) { @@ -2969,30 +2966,31 @@ func (c *NimbleStudio) ListLaunchProfileMembersRequest(input *ListLaunchProfileM // API operation ListLaunchProfileMembers for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListLaunchProfileMembers func (c *NimbleStudio) ListLaunchProfileMembers(input *ListLaunchProfileMembersInput) (*ListLaunchProfileMembersOutput, error) { @@ -3024,15 +3022,14 @@ func (c *NimbleStudio) ListLaunchProfileMembersWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLaunchProfileMembers operation. -// pageNum := 0 -// err := client.ListLaunchProfileMembersPages(params, -// func(page *nimblestudio.ListLaunchProfileMembersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLaunchProfileMembers operation. +// pageNum := 0 +// err := client.ListLaunchProfileMembersPages(params, +// func(page *nimblestudio.ListLaunchProfileMembersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NimbleStudio) ListLaunchProfileMembersPages(input *ListLaunchProfileMembersInput, fn func(*ListLaunchProfileMembersOutput, bool) bool) error { return c.ListLaunchProfileMembersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3084,14 +3081,13 @@ const opListLaunchProfiles = "ListLaunchProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLaunchProfilesRequest method. +// req, resp := client.ListLaunchProfilesRequest(params) // -// // Example sending a request using the ListLaunchProfilesRequest method. -// req, resp := client.ListLaunchProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListLaunchProfiles func (c *NimbleStudio) ListLaunchProfilesRequest(input *ListLaunchProfilesInput) (req *request.Request, output *ListLaunchProfilesOutput) { @@ -3128,30 +3124,31 @@ func (c *NimbleStudio) ListLaunchProfilesRequest(input *ListLaunchProfilesInput) // API operation ListLaunchProfiles for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListLaunchProfiles func (c *NimbleStudio) ListLaunchProfiles(input *ListLaunchProfilesInput) (*ListLaunchProfilesOutput, error) { @@ -3183,15 +3180,14 @@ func (c *NimbleStudio) ListLaunchProfilesWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLaunchProfiles operation. -// pageNum := 0 -// err := client.ListLaunchProfilesPages(params, -// func(page *nimblestudio.ListLaunchProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLaunchProfiles operation. +// pageNum := 0 +// err := client.ListLaunchProfilesPages(params, +// func(page *nimblestudio.ListLaunchProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NimbleStudio) ListLaunchProfilesPages(input *ListLaunchProfilesInput, fn func(*ListLaunchProfilesOutput, bool) bool) error { return c.ListLaunchProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3243,14 +3239,13 @@ const opListStreamingImages = "ListStreamingImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStreamingImagesRequest method. +// req, resp := client.ListStreamingImagesRequest(params) // -// // Example sending a request using the ListStreamingImagesRequest method. -// req, resp := client.ListStreamingImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListStreamingImages func (c *NimbleStudio) ListStreamingImagesRequest(input *ListStreamingImagesInput) (req *request.Request, output *ListStreamingImagesOutput) { @@ -3290,30 +3285,31 @@ func (c *NimbleStudio) ListStreamingImagesRequest(input *ListStreamingImagesInpu // API operation ListStreamingImages for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListStreamingImages func (c *NimbleStudio) ListStreamingImages(input *ListStreamingImagesInput) (*ListStreamingImagesOutput, error) { @@ -3345,15 +3341,14 @@ func (c *NimbleStudio) ListStreamingImagesWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStreamingImages operation. -// pageNum := 0 -// err := client.ListStreamingImagesPages(params, -// func(page *nimblestudio.ListStreamingImagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStreamingImages operation. +// pageNum := 0 +// err := client.ListStreamingImagesPages(params, +// func(page *nimblestudio.ListStreamingImagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NimbleStudio) ListStreamingImagesPages(input *ListStreamingImagesInput, fn func(*ListStreamingImagesOutput, bool) bool) error { return c.ListStreamingImagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3405,14 +3400,13 @@ const opListStreamingSessions = "ListStreamingSessions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStreamingSessionsRequest method. +// req, resp := client.ListStreamingSessionsRequest(params) // -// // Example sending a request using the ListStreamingSessionsRequest method. -// req, resp := client.ListStreamingSessionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListStreamingSessions func (c *NimbleStudio) ListStreamingSessionsRequest(input *ListStreamingSessionsInput) (req *request.Request, output *ListStreamingSessionsOutput) { @@ -3449,30 +3443,31 @@ func (c *NimbleStudio) ListStreamingSessionsRequest(input *ListStreamingSessions // API operation ListStreamingSessions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListStreamingSessions func (c *NimbleStudio) ListStreamingSessions(input *ListStreamingSessionsInput) (*ListStreamingSessionsOutput, error) { @@ -3504,15 +3499,14 @@ func (c *NimbleStudio) ListStreamingSessionsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStreamingSessions operation. -// pageNum := 0 -// err := client.ListStreamingSessionsPages(params, -// func(page *nimblestudio.ListStreamingSessionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStreamingSessions operation. +// pageNum := 0 +// err := client.ListStreamingSessionsPages(params, +// func(page *nimblestudio.ListStreamingSessionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NimbleStudio) ListStreamingSessionsPages(input *ListStreamingSessionsInput, fn func(*ListStreamingSessionsOutput, bool) bool) error { return c.ListStreamingSessionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3564,14 +3558,13 @@ const opListStudioComponents = "ListStudioComponents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStudioComponentsRequest method. +// req, resp := client.ListStudioComponentsRequest(params) // -// // Example sending a request using the ListStudioComponentsRequest method. -// req, resp := client.ListStudioComponentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListStudioComponents func (c *NimbleStudio) ListStudioComponentsRequest(input *ListStudioComponentsInput) (req *request.Request, output *ListStudioComponentsOutput) { @@ -3608,30 +3601,31 @@ func (c *NimbleStudio) ListStudioComponentsRequest(input *ListStudioComponentsIn // API operation ListStudioComponents for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListStudioComponents func (c *NimbleStudio) ListStudioComponents(input *ListStudioComponentsInput) (*ListStudioComponentsOutput, error) { @@ -3663,15 +3657,14 @@ func (c *NimbleStudio) ListStudioComponentsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStudioComponents operation. -// pageNum := 0 -// err := client.ListStudioComponentsPages(params, -// func(page *nimblestudio.ListStudioComponentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStudioComponents operation. +// pageNum := 0 +// err := client.ListStudioComponentsPages(params, +// func(page *nimblestudio.ListStudioComponentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NimbleStudio) ListStudioComponentsPages(input *ListStudioComponentsInput, fn func(*ListStudioComponentsOutput, bool) bool) error { return c.ListStudioComponentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3723,14 +3716,13 @@ const opListStudioMembers = "ListStudioMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStudioMembersRequest method. +// req, resp := client.ListStudioMembersRequest(params) // -// // Example sending a request using the ListStudioMembersRequest method. -// req, resp := client.ListStudioMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListStudioMembers func (c *NimbleStudio) ListStudioMembersRequest(input *ListStudioMembersInput) (req *request.Request, output *ListStudioMembersOutput) { @@ -3769,30 +3761,31 @@ func (c *NimbleStudio) ListStudioMembersRequest(input *ListStudioMembersInput) ( // API operation ListStudioMembers for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListStudioMembers func (c *NimbleStudio) ListStudioMembers(input *ListStudioMembersInput) (*ListStudioMembersOutput, error) { @@ -3824,15 +3817,14 @@ func (c *NimbleStudio) ListStudioMembersWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStudioMembers operation. -// pageNum := 0 -// err := client.ListStudioMembersPages(params, -// func(page *nimblestudio.ListStudioMembersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStudioMembers operation. +// pageNum := 0 +// err := client.ListStudioMembersPages(params, +// func(page *nimblestudio.ListStudioMembersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NimbleStudio) ListStudioMembersPages(input *ListStudioMembersInput, fn func(*ListStudioMembersOutput, bool) bool) error { return c.ListStudioMembersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3884,14 +3876,13 @@ const opListStudios = "ListStudios" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStudiosRequest method. +// req, resp := client.ListStudiosRequest(params) // -// // Example sending a request using the ListStudiosRequest method. -// req, resp := client.ListStudiosRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListStudios func (c *NimbleStudio) ListStudiosRequest(input *ListStudiosInput) (req *request.Request, output *ListStudiosOutput) { @@ -3929,30 +3920,31 @@ func (c *NimbleStudio) ListStudiosRequest(input *ListStudiosInput) (req *request // API operation ListStudios for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListStudios func (c *NimbleStudio) ListStudios(input *ListStudiosInput) (*ListStudiosOutput, error) { @@ -3984,15 +3976,14 @@ func (c *NimbleStudio) ListStudiosWithContext(ctx aws.Context, input *ListStudio // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStudios operation. -// pageNum := 0 -// err := client.ListStudiosPages(params, -// func(page *nimblestudio.ListStudiosOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStudios operation. +// pageNum := 0 +// err := client.ListStudiosPages(params, +// func(page *nimblestudio.ListStudiosOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *NimbleStudio) ListStudiosPages(input *ListStudiosInput, fn func(*ListStudiosOutput, bool) bool) error { return c.ListStudiosPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4044,14 +4035,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListTagsForResource func (c *NimbleStudio) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4087,30 +4077,31 @@ func (c *NimbleStudio) ListTagsForResourceRequest(input *ListTagsForResourceInpu // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/ListTagsForResource func (c *NimbleStudio) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4150,14 +4141,13 @@ const opPutLaunchProfileMembers = "PutLaunchProfileMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutLaunchProfileMembersRequest method. +// req, resp := client.PutLaunchProfileMembersRequest(params) // -// // Example sending a request using the PutLaunchProfileMembersRequest method. -// req, resp := client.PutLaunchProfileMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/PutLaunchProfileMembers func (c *NimbleStudio) PutLaunchProfileMembersRequest(input *PutLaunchProfileMembersInput) (req *request.Request, output *PutLaunchProfileMembersOutput) { @@ -4189,30 +4179,31 @@ func (c *NimbleStudio) PutLaunchProfileMembersRequest(input *PutLaunchProfileMem // API operation PutLaunchProfileMembers for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/PutLaunchProfileMembers func (c *NimbleStudio) PutLaunchProfileMembers(input *PutLaunchProfileMembersInput) (*PutLaunchProfileMembersOutput, error) { @@ -4252,14 +4243,13 @@ const opPutStudioMembers = "PutStudioMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutStudioMembersRequest method. +// req, resp := client.PutStudioMembersRequest(params) // -// // Example sending a request using the PutStudioMembersRequest method. -// req, resp := client.PutStudioMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/PutStudioMembers func (c *NimbleStudio) PutStudioMembersRequest(input *PutStudioMembersInput) (req *request.Request, output *PutStudioMembersOutput) { @@ -4291,30 +4281,31 @@ func (c *NimbleStudio) PutStudioMembersRequest(input *PutStudioMembersInput) (re // API operation PutStudioMembers for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/PutStudioMembers func (c *NimbleStudio) PutStudioMembers(input *PutStudioMembersInput) (*PutStudioMembersOutput, error) { @@ -4354,14 +4345,13 @@ const opStartStreamingSession = "StartStreamingSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartStreamingSessionRequest method. +// req, resp := client.StartStreamingSessionRequest(params) // -// // Example sending a request using the StartStreamingSessionRequest method. -// req, resp := client.StartStreamingSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/StartStreamingSession func (c *NimbleStudio) StartStreamingSessionRequest(input *StartStreamingSessionInput) (req *request.Request, output *StartStreamingSessionOutput) { @@ -4393,30 +4383,31 @@ func (c *NimbleStudio) StartStreamingSessionRequest(input *StartStreamingSession // API operation StartStreamingSession for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/StartStreamingSession func (c *NimbleStudio) StartStreamingSession(input *StartStreamingSessionInput) (*StartStreamingSessionOutput, error) { @@ -4456,14 +4447,13 @@ const opStartStudioSSOConfigurationRepair = "StartStudioSSOConfigurationRepair" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartStudioSSOConfigurationRepairRequest method. +// req, resp := client.StartStudioSSOConfigurationRepairRequest(params) // -// // Example sending a request using the StartStudioSSOConfigurationRepairRequest method. -// req, resp := client.StartStudioSSOConfigurationRepairRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/StartStudioSSOConfigurationRepair func (c *NimbleStudio) StartStudioSSOConfigurationRepairRequest(input *StartStudioSSOConfigurationRepairInput) (req *request.Request, output *StartStudioSSOConfigurationRepairOutput) { @@ -4504,30 +4494,31 @@ func (c *NimbleStudio) StartStudioSSOConfigurationRepairRequest(input *StartStud // API operation StartStudioSSOConfigurationRepair for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/StartStudioSSOConfigurationRepair func (c *NimbleStudio) StartStudioSSOConfigurationRepair(input *StartStudioSSOConfigurationRepairInput) (*StartStudioSSOConfigurationRepairOutput, error) { @@ -4567,14 +4558,13 @@ const opStopStreamingSession = "StopStreamingSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopStreamingSessionRequest method. +// req, resp := client.StopStreamingSessionRequest(params) // -// // Example sending a request using the StopStreamingSessionRequest method. -// req, resp := client.StopStreamingSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/StopStreamingSession func (c *NimbleStudio) StopStreamingSessionRequest(input *StopStreamingSessionInput) (req *request.Request, output *StopStreamingSessionOutput) { @@ -4606,30 +4596,31 @@ func (c *NimbleStudio) StopStreamingSessionRequest(input *StopStreamingSessionIn // API operation StopStreamingSession for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/StopStreamingSession func (c *NimbleStudio) StopStreamingSession(input *StopStreamingSessionInput) (*StopStreamingSessionOutput, error) { @@ -4669,14 +4660,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/TagResource func (c *NimbleStudio) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -4708,30 +4698,31 @@ func (c *NimbleStudio) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/TagResource func (c *NimbleStudio) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4771,14 +4762,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UntagResource func (c *NimbleStudio) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4810,30 +4800,31 @@ func (c *NimbleStudio) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UntagResource func (c *NimbleStudio) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -4873,14 +4864,13 @@ const opUpdateLaunchProfile = "UpdateLaunchProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLaunchProfileRequest method. +// req, resp := client.UpdateLaunchProfileRequest(params) // -// // Example sending a request using the UpdateLaunchProfileRequest method. -// req, resp := client.UpdateLaunchProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UpdateLaunchProfile func (c *NimbleStudio) UpdateLaunchProfileRequest(input *UpdateLaunchProfileInput) (req *request.Request, output *UpdateLaunchProfileOutput) { @@ -4911,30 +4901,31 @@ func (c *NimbleStudio) UpdateLaunchProfileRequest(input *UpdateLaunchProfileInpu // API operation UpdateLaunchProfile for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UpdateLaunchProfile func (c *NimbleStudio) UpdateLaunchProfile(input *UpdateLaunchProfileInput) (*UpdateLaunchProfileOutput, error) { @@ -4974,14 +4965,13 @@ const opUpdateLaunchProfileMember = "UpdateLaunchProfileMember" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLaunchProfileMemberRequest method. +// req, resp := client.UpdateLaunchProfileMemberRequest(params) // -// // Example sending a request using the UpdateLaunchProfileMemberRequest method. -// req, resp := client.UpdateLaunchProfileMemberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UpdateLaunchProfileMember func (c *NimbleStudio) UpdateLaunchProfileMemberRequest(input *UpdateLaunchProfileMemberInput) (req *request.Request, output *UpdateLaunchProfileMemberOutput) { @@ -5012,30 +5002,31 @@ func (c *NimbleStudio) UpdateLaunchProfileMemberRequest(input *UpdateLaunchProfi // API operation UpdateLaunchProfileMember for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UpdateLaunchProfileMember func (c *NimbleStudio) UpdateLaunchProfileMember(input *UpdateLaunchProfileMemberInput) (*UpdateLaunchProfileMemberOutput, error) { @@ -5075,14 +5066,13 @@ const opUpdateStreamingImage = "UpdateStreamingImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStreamingImageRequest method. +// req, resp := client.UpdateStreamingImageRequest(params) // -// // Example sending a request using the UpdateStreamingImageRequest method. -// req, resp := client.UpdateStreamingImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UpdateStreamingImage func (c *NimbleStudio) UpdateStreamingImageRequest(input *UpdateStreamingImageInput) (req *request.Request, output *UpdateStreamingImageOutput) { @@ -5113,30 +5103,31 @@ func (c *NimbleStudio) UpdateStreamingImageRequest(input *UpdateStreamingImageIn // API operation UpdateStreamingImage for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UpdateStreamingImage func (c *NimbleStudio) UpdateStreamingImage(input *UpdateStreamingImageInput) (*UpdateStreamingImageOutput, error) { @@ -5176,14 +5167,13 @@ const opUpdateStudio = "UpdateStudio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStudioRequest method. +// req, resp := client.UpdateStudioRequest(params) // -// // Example sending a request using the UpdateStudioRequest method. -// req, resp := client.UpdateStudioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UpdateStudio func (c *NimbleStudio) UpdateStudioRequest(input *UpdateStudioInput) (req *request.Request, output *UpdateStudioOutput) { @@ -5217,30 +5207,31 @@ func (c *NimbleStudio) UpdateStudioRequest(input *UpdateStudioInput) (req *reque // API operation UpdateStudio for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ConflictException +// Another operation is in progress. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - ValidationException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// Please use AWS Service Quotas to request an increase. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. +// +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UpdateStudio func (c *NimbleStudio) UpdateStudio(input *UpdateStudioInput) (*UpdateStudioOutput, error) { @@ -5280,14 +5271,13 @@ const opUpdateStudioComponent = "UpdateStudioComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStudioComponentRequest method. +// req, resp := client.UpdateStudioComponentRequest(params) // -// // Example sending a request using the UpdateStudioComponentRequest method. -// req, resp := client.UpdateStudioComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UpdateStudioComponent func (c *NimbleStudio) UpdateStudioComponentRequest(input *UpdateStudioComponentInput) (req *request.Request, output *UpdateStudioComponentOutput) { @@ -5318,30 +5308,31 @@ func (c *NimbleStudio) UpdateStudioComponentRequest(input *UpdateStudioComponent // API operation UpdateStudioComponent for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. // -// * ConflictException -// Another operation is in progress. +// - ResourceNotFoundException +// The specified resource could not be found. +// +// - ConflictException +// Another operation is in progress. // -// * ThrottlingException -// The request throughput limit was exceeded. +// - ThrottlingException +// The request throughput limit was exceeded. // -// * ValidationException -// One of the parameters in the request is invalid. +// - ValidationException +// One of the parameters in the request is invalid. // -// * AccessDeniedException -// You are not authorized to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - AccessDeniedException +// You are not authorized to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InternalServerErrorException -// An internal error has occurred. Please retry your request. +// - InternalServerErrorException +// An internal error has occurred. Please retry your request. // -// * ServiceQuotaExceededException -// Your current quota does not allow you to perform the request action. You -// can request increases for some quotas, and other quotas cannot be increased. +// - ServiceQuotaExceededException +// Your current quota does not allow you to perform the request action. You +// can request increases for some quotas, and other quotas cannot be increased. // -// Please use AWS Service Quotas to request an increase. +// Please use AWS Service Quotas to request an increase. // // See also, https://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/UpdateStudioComponent func (c *NimbleStudio) UpdateStudioComponent(input *UpdateStudioComponentInput) (*UpdateStudioComponentOutput, error) { @@ -8906,10 +8897,10 @@ func (s *InternalServerErrorException) RequestID() string { // server configurations, as well as instance types and Amazon Machine Images // (AMIs). // -//

Studio administrators create launch profiles in the Nimble Studio console. -// Artists can use their launch profiles to launch an instance from the Nimble -// Studio portal. Each user’s launch profile defines how they can launch -// a streaming session. By default, studio admins can use all launch profiles.

+//

Studio administrators create launch profiles in the Nimble Studio console. +// Artists can use their launch profiles to launch an instance from the Nimble +// Studio portal. Each user’s launch profile defines how they can launch +// a streaming session. By default, studio admins can use all launch profiles.

type LaunchProfile struct { _ struct{} `type:"structure"` @@ -9372,17 +9363,17 @@ func (s *LaunchProfileInitializationScript) SetStudioComponentName(v string) *La // A launch profile member (type USER) provides the following permissions to // that launch profile: // -// * GetLaunchProfile +// - GetLaunchProfile // -// * GetLaunchProfileInitialization +// - GetLaunchProfileInitialization // -// * GetLaunchProfileMembers +// - GetLaunchProfileMembers // -// * GetLaunchProfileMember +// - GetLaunchProfileMember // -// * CreateStreamingSession +// - CreateStreamingSession // -// * GetLaunchProfileDetails +// - GetLaunchProfileDetails type LaunchProfileMembership struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/doc.go index f3c5d931c5d5..df362e8b9f10 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/doc.go @@ -16,7 +16,7 @@ // See nimblestudio package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/nimblestudio/ // -// Using the Client +// # Using the Client // // To contact AmazonNimbleStudio with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/nimblestudioiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/nimblestudioiface/interface.go index fc93ad70a149..96a15d4f1805 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/nimblestudioiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/nimblestudioiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AmazonNimbleStudio. -// func myFunc(svc nimblestudioiface.NimbleStudioAPI) bool { -// // Make svc.AcceptEulas request -// } +// // myFunc uses an SDK service client to make a request to +// // AmazonNimbleStudio. +// func myFunc(svc nimblestudioiface.NimbleStudioAPI) bool { +// // Make svc.AcceptEulas request +// } // -// func main() { -// sess := session.New() -// svc := nimblestudio.New(sess) +// func main() { +// sess := session.New() +// svc := nimblestudio.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockNimbleStudioClient struct { -// nimblestudioiface.NimbleStudioAPI -// } -// func (m *mockNimbleStudioClient) AcceptEulas(input *nimblestudio.AcceptEulasInput) (*nimblestudio.AcceptEulasOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockNimbleStudioClient struct { +// nimblestudioiface.NimbleStudioAPI +// } +// func (m *mockNimbleStudioClient) AcceptEulas(input *nimblestudio.AcceptEulasInput) (*nimblestudio.AcceptEulasOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockNimbleStudioClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockNimbleStudioClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/service.go index fd91cbd48e43..d81207188cbd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/nimblestudio/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a NimbleStudio client from just a session. -// svc := nimblestudio.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a NimbleStudio client with additional configuration -// svc := nimblestudio.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a NimbleStudio client from just a session. +// svc := nimblestudio.New(mySession) +// +// // Create a NimbleStudio client with additional configuration +// svc := nimblestudio.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *NimbleStudio { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/api.go index 41602264329d..6599092177af 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/api.go @@ -29,14 +29,13 @@ const opAcceptInboundConnection = "AcceptInboundConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptInboundConnectionRequest method. +// req, resp := client.AcceptInboundConnectionRequest(params) // -// // Example sending a request using the AcceptInboundConnectionRequest method. -// req, resp := client.AcceptInboundConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AcceptInboundConnection func (c *OpenSearchService) AcceptInboundConnectionRequest(input *AcceptInboundConnectionInput) (req *request.Request, output *AcceptInboundConnectionOutput) { @@ -68,17 +67,18 @@ func (c *OpenSearchService) AcceptInboundConnectionRequest(input *AcceptInboundC // API operation AcceptInboundConnection for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AcceptInboundConnection func (c *OpenSearchService) AcceptInboundConnection(input *AcceptInboundConnectionInput) (*AcceptInboundConnectionOutput, error) { @@ -118,14 +118,13 @@ const opAddTags = "AddTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsRequest method. +// req, resp := client.AddTagsRequest(params) // -// // Example sending a request using the AddTagsRequest method. -// req, resp := client.AddTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AddTags func (c *OpenSearchService) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) { @@ -160,21 +159,22 @@ func (c *OpenSearchService) AddTagsRequest(input *AddTagsInput) (req *request.Re // API operation AddTags for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - BaseException +// An error occurred while processing the request. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AddTags func (c *OpenSearchService) AddTags(input *AddTagsInput) (*AddTagsOutput, error) { @@ -214,14 +214,13 @@ const opAssociatePackage = "AssociatePackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociatePackageRequest method. +// req, resp := client.AssociatePackageRequest(params) // -// // Example sending a request using the AssociatePackageRequest method. -// req, resp := client.AssociatePackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AssociatePackage func (c *OpenSearchService) AssociatePackageRequest(input *AssociatePackageInput) (req *request.Request, output *AssociatePackageOutput) { @@ -252,29 +251,30 @@ func (c *OpenSearchService) AssociatePackageRequest(input *AssociatePackageInput // API operation AssociatePackage for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // -// * ConflictException -// An error occurred because the client attempts to remove a resource that is -// currently in use. Returns HTTP status code 409. +// - ConflictException +// An error occurred because the client attempts to remove a resource that is +// currently in use. Returns HTTP status code 409. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AssociatePackage func (c *OpenSearchService) AssociatePackage(input *AssociatePackageInput) (*AssociatePackageOutput, error) { @@ -314,14 +314,13 @@ const opCancelServiceSoftwareUpdate = "CancelServiceSoftwareUpdate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelServiceSoftwareUpdateRequest method. +// req, resp := client.CancelServiceSoftwareUpdateRequest(params) // -// // Example sending a request using the CancelServiceSoftwareUpdateRequest method. -// req, resp := client.CancelServiceSoftwareUpdateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CancelServiceSoftwareUpdate func (c *OpenSearchService) CancelServiceSoftwareUpdateRequest(input *CancelServiceSoftwareUpdateInput) (req *request.Request, output *CancelServiceSoftwareUpdateOutput) { @@ -354,21 +353,22 @@ func (c *OpenSearchService) CancelServiceSoftwareUpdateRequest(input *CancelServ // API operation CancelServiceSoftwareUpdate for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CancelServiceSoftwareUpdate func (c *OpenSearchService) CancelServiceSoftwareUpdate(input *CancelServiceSoftwareUpdateInput) (*CancelServiceSoftwareUpdateOutput, error) { @@ -408,14 +408,13 @@ const opCreateDomain = "CreateDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDomainRequest method. +// req, resp := client.CreateDomainRequest(params) // -// // Example sending a request using the CreateDomainRequest method. -// req, resp := client.CreateDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateDomain func (c *OpenSearchService) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) { @@ -448,33 +447,34 @@ func (c *OpenSearchService) CreateDomainRequest(input *CreateDomainInput) (req * // API operation CreateDomain for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - BaseException +// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // -// * InvalidTypeException -// An exception for trying to create or access sub-resource that is either invalid -// or not supported. Gives http status code of 409. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - InvalidTypeException +// An exception for trying to create or access sub-resource that is either invalid +// or not supported. Gives http status code of 409. // -// * ResourceAlreadyExistsException -// An exception for creating a resource that already exists. Gives http status -// code of 400. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceAlreadyExistsException +// An exception for creating a resource that already exists. Gives http status +// code of 400. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateDomain func (c *OpenSearchService) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) { @@ -514,14 +514,13 @@ const opCreateOutboundConnection = "CreateOutboundConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOutboundConnectionRequest method. +// req, resp := client.CreateOutboundConnectionRequest(params) // -// // Example sending a request using the CreateOutboundConnectionRequest method. -// req, resp := client.CreateOutboundConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateOutboundConnection func (c *OpenSearchService) CreateOutboundConnectionRequest(input *CreateOutboundConnectionInput) (req *request.Request, output *CreateOutboundConnectionOutput) { @@ -553,22 +552,23 @@ func (c *OpenSearchService) CreateOutboundConnectionRequest(input *CreateOutboun // API operation CreateOutboundConnection for usage and error information. // // Returned Error Types: -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ResourceAlreadyExistsException -// An exception for creating a resource that already exists. Gives http status -// code of 400. +// - ResourceAlreadyExistsException +// An exception for creating a resource that already exists. Gives http status +// code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateOutboundConnection func (c *OpenSearchService) CreateOutboundConnection(input *CreateOutboundConnectionInput) (*CreateOutboundConnectionOutput, error) { @@ -608,14 +608,13 @@ const opCreatePackage = "CreatePackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePackageRequest method. +// req, resp := client.CreatePackageRequest(params) // -// // Example sending a request using the CreatePackageRequest method. -// req, resp := client.CreatePackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreatePackage func (c *OpenSearchService) CreatePackageRequest(input *CreatePackageInput) (req *request.Request, output *CreatePackageOutput) { @@ -646,33 +645,34 @@ func (c *OpenSearchService) CreatePackageRequest(input *CreatePackageInput) (req // API operation CreatePackage for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * InvalidTypeException -// An exception for trying to create or access sub-resource that is either invalid -// or not supported. Gives http status code of 409. +// - InvalidTypeException +// An exception for trying to create or access sub-resource that is either invalid +// or not supported. Gives http status code of 409. // -// * ResourceAlreadyExistsException -// An exception for creating a resource that already exists. Gives http status -// code of 400. +// - ResourceAlreadyExistsException +// An exception for creating a resource that already exists. Gives http status +// code of 400. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreatePackage func (c *OpenSearchService) CreatePackage(input *CreatePackageInput) (*CreatePackageOutput, error) { @@ -712,14 +712,13 @@ const opDeleteDomain = "DeleteDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainRequest method. +// req, resp := client.DeleteDomainRequest(params) // -// // Example sending a request using the DeleteDomainRequest method. -// req, resp := client.DeleteDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteDomain func (c *OpenSearchService) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) { @@ -751,21 +750,22 @@ func (c *OpenSearchService) DeleteDomainRequest(input *DeleteDomainInput) (req * // API operation DeleteDomain for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteDomain func (c *OpenSearchService) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) { @@ -805,14 +805,13 @@ const opDeleteInboundConnection = "DeleteInboundConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInboundConnectionRequest method. +// req, resp := client.DeleteInboundConnectionRequest(params) // -// // Example sending a request using the DeleteInboundConnectionRequest method. -// req, resp := client.DeleteInboundConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteInboundConnection func (c *OpenSearchService) DeleteInboundConnectionRequest(input *DeleteInboundConnectionInput) (req *request.Request, output *DeleteInboundConnectionOutput) { @@ -844,13 +843,14 @@ func (c *OpenSearchService) DeleteInboundConnectionRequest(input *DeleteInboundC // API operation DeleteInboundConnection for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteInboundConnection func (c *OpenSearchService) DeleteInboundConnection(input *DeleteInboundConnectionInput) (*DeleteInboundConnectionOutput, error) { @@ -890,14 +890,13 @@ const opDeleteOutboundConnection = "DeleteOutboundConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOutboundConnectionRequest method. +// req, resp := client.DeleteOutboundConnectionRequest(params) // -// // Example sending a request using the DeleteOutboundConnectionRequest method. -// req, resp := client.DeleteOutboundConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteOutboundConnection func (c *OpenSearchService) DeleteOutboundConnectionRequest(input *DeleteOutboundConnectionInput) (req *request.Request, output *DeleteOutboundConnectionOutput) { @@ -929,13 +928,14 @@ func (c *OpenSearchService) DeleteOutboundConnectionRequest(input *DeleteOutboun // API operation DeleteOutboundConnection for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteOutboundConnection func (c *OpenSearchService) DeleteOutboundConnection(input *DeleteOutboundConnectionInput) (*DeleteOutboundConnectionOutput, error) { @@ -975,14 +975,13 @@ const opDeletePackage = "DeletePackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePackageRequest method. +// req, resp := client.DeletePackageRequest(params) // -// // Example sending a request using the DeletePackageRequest method. -// req, resp := client.DeletePackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeletePackage func (c *OpenSearchService) DeletePackageRequest(input *DeletePackageInput) (req *request.Request, output *DeletePackageOutput) { @@ -1013,29 +1012,30 @@ func (c *OpenSearchService) DeletePackageRequest(input *DeletePackageInput) (req // API operation DeletePackage for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. // -// * ConflictException -// An error occurred because the client attempts to remove a resource that is -// currently in use. Returns HTTP status code 409. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// +// - ConflictException +// An error occurred because the client attempts to remove a resource that is +// currently in use. Returns HTTP status code 409. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeletePackage func (c *OpenSearchService) DeletePackage(input *DeletePackageInput) (*DeletePackageOutput, error) { @@ -1075,14 +1075,13 @@ const opDescribeDomain = "DescribeDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainRequest method. +// req, resp := client.DescribeDomainRequest(params) // -// // Example sending a request using the DescribeDomainRequest method. -// req, resp := client.DescribeDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomain func (c *OpenSearchService) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Request, output *DescribeDomainOutput) { @@ -1114,21 +1113,22 @@ func (c *OpenSearchService) DescribeDomainRequest(input *DescribeDomainInput) (r // API operation DescribeDomain for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomain func (c *OpenSearchService) DescribeDomain(input *DescribeDomainInput) (*DescribeDomainOutput, error) { @@ -1168,14 +1168,13 @@ const opDescribeDomainAutoTunes = "DescribeDomainAutoTunes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainAutoTunesRequest method. +// req, resp := client.DescribeDomainAutoTunesRequest(params) // -// // Example sending a request using the DescribeDomainAutoTunesRequest method. -// req, resp := client.DescribeDomainAutoTunesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainAutoTunes func (c *OpenSearchService) DescribeDomainAutoTunesRequest(input *DescribeDomainAutoTunesInput) (req *request.Request, output *DescribeDomainAutoTunesOutput) { @@ -1213,21 +1212,22 @@ func (c *OpenSearchService) DescribeDomainAutoTunesRequest(input *DescribeDomain // API operation DescribeDomainAutoTunes for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainAutoTunes func (c *OpenSearchService) DescribeDomainAutoTunes(input *DescribeDomainAutoTunesInput) (*DescribeDomainAutoTunesOutput, error) { @@ -1259,15 +1259,14 @@ func (c *OpenSearchService) DescribeDomainAutoTunesWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDomainAutoTunes operation. -// pageNum := 0 -// err := client.DescribeDomainAutoTunesPages(params, -// func(page *opensearchservice.DescribeDomainAutoTunesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDomainAutoTunes operation. +// pageNum := 0 +// err := client.DescribeDomainAutoTunesPages(params, +// func(page *opensearchservice.DescribeDomainAutoTunesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpenSearchService) DescribeDomainAutoTunesPages(input *DescribeDomainAutoTunesInput, fn func(*DescribeDomainAutoTunesOutput, bool) bool) error { return c.DescribeDomainAutoTunesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1319,14 +1318,13 @@ const opDescribeDomainChangeProgress = "DescribeDomainChangeProgress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainChangeProgressRequest method. +// req, resp := client.DescribeDomainChangeProgressRequest(params) // -// // Example sending a request using the DescribeDomainChangeProgressRequest method. -// req, resp := client.DescribeDomainChangeProgressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainChangeProgress func (c *OpenSearchService) DescribeDomainChangeProgressRequest(input *DescribeDomainChangeProgressInput) (req *request.Request, output *DescribeDomainChangeProgressOutput) { @@ -1358,21 +1356,22 @@ func (c *OpenSearchService) DescribeDomainChangeProgressRequest(input *DescribeD // API operation DescribeDomainChangeProgress for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainChangeProgress func (c *OpenSearchService) DescribeDomainChangeProgress(input *DescribeDomainChangeProgressInput) (*DescribeDomainChangeProgressOutput, error) { @@ -1412,14 +1411,13 @@ const opDescribeDomainConfig = "DescribeDomainConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainConfigRequest method. +// req, resp := client.DescribeDomainConfigRequest(params) // -// // Example sending a request using the DescribeDomainConfigRequest method. -// req, resp := client.DescribeDomainConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainConfig func (c *OpenSearchService) DescribeDomainConfigRequest(input *DescribeDomainConfigInput) (req *request.Request, output *DescribeDomainConfigOutput) { @@ -1452,21 +1450,22 @@ func (c *OpenSearchService) DescribeDomainConfigRequest(input *DescribeDomainCon // API operation DescribeDomainConfig for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainConfig func (c *OpenSearchService) DescribeDomainConfig(input *DescribeDomainConfigInput) (*DescribeDomainConfigOutput, error) { @@ -1506,14 +1505,13 @@ const opDescribeDomains = "DescribeDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainsRequest method. +// req, resp := client.DescribeDomainsRequest(params) // -// // Example sending a request using the DescribeDomainsRequest method. -// req, resp := client.DescribeDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomains func (c *OpenSearchService) DescribeDomainsRequest(input *DescribeDomainsInput) (req *request.Request, output *DescribeDomainsOutput) { @@ -1545,17 +1543,18 @@ func (c *OpenSearchService) DescribeDomainsRequest(input *DescribeDomainsInput) // API operation DescribeDomains for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomains func (c *OpenSearchService) DescribeDomains(input *DescribeDomainsInput) (*DescribeDomainsOutput, error) { @@ -1595,14 +1594,13 @@ const opDescribeInboundConnections = "DescribeInboundConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInboundConnectionsRequest method. +// req, resp := client.DescribeInboundConnectionsRequest(params) // -// // Example sending a request using the DescribeInboundConnectionsRequest method. -// req, resp := client.DescribeInboundConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeInboundConnections func (c *OpenSearchService) DescribeInboundConnectionsRequest(input *DescribeInboundConnectionsInput) (req *request.Request, output *DescribeInboundConnectionsOutput) { @@ -1639,13 +1637,14 @@ func (c *OpenSearchService) DescribeInboundConnectionsRequest(input *DescribeInb // API operation DescribeInboundConnections for usage and error information. // // Returned Error Types: -// * InvalidPaginationTokenException -// The request processing has failed because of invalid pagination token provided -// by customer. Returns an HTTP status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - InvalidPaginationTokenException +// The request processing has failed because of invalid pagination token provided +// by customer. Returns an HTTP status code of 400. +// +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeInboundConnections func (c *OpenSearchService) DescribeInboundConnections(input *DescribeInboundConnectionsInput) (*DescribeInboundConnectionsOutput, error) { @@ -1677,15 +1676,14 @@ func (c *OpenSearchService) DescribeInboundConnectionsWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInboundConnections operation. -// pageNum := 0 -// err := client.DescribeInboundConnectionsPages(params, -// func(page *opensearchservice.DescribeInboundConnectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInboundConnections operation. +// pageNum := 0 +// err := client.DescribeInboundConnectionsPages(params, +// func(page *opensearchservice.DescribeInboundConnectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpenSearchService) DescribeInboundConnectionsPages(input *DescribeInboundConnectionsInput, fn func(*DescribeInboundConnectionsOutput, bool) bool) error { return c.DescribeInboundConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1737,14 +1735,13 @@ const opDescribeInstanceTypeLimits = "DescribeInstanceTypeLimits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceTypeLimitsRequest method. +// req, resp := client.DescribeInstanceTypeLimitsRequest(params) // -// // Example sending a request using the DescribeInstanceTypeLimitsRequest method. -// req, resp := client.DescribeInstanceTypeLimitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeInstanceTypeLimits func (c *OpenSearchService) DescribeInstanceTypeLimitsRequest(input *DescribeInstanceTypeLimitsInput) (req *request.Request, output *DescribeInstanceTypeLimitsOutput) { @@ -1777,29 +1774,30 @@ func (c *OpenSearchService) DescribeInstanceTypeLimitsRequest(input *DescribeIns // API operation DescribeInstanceTypeLimits for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * InvalidTypeException -// An exception for trying to create or access sub-resource that is either invalid -// or not supported. Gives http status code of 409. +// - InvalidTypeException +// An exception for trying to create or access sub-resource that is either invalid +// or not supported. Gives http status code of 409. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeInstanceTypeLimits func (c *OpenSearchService) DescribeInstanceTypeLimits(input *DescribeInstanceTypeLimitsInput) (*DescribeInstanceTypeLimitsOutput, error) { @@ -1839,14 +1837,13 @@ const opDescribeOutboundConnections = "DescribeOutboundConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOutboundConnectionsRequest method. +// req, resp := client.DescribeOutboundConnectionsRequest(params) // -// // Example sending a request using the DescribeOutboundConnectionsRequest method. -// req, resp := client.DescribeOutboundConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeOutboundConnections func (c *OpenSearchService) DescribeOutboundConnectionsRequest(input *DescribeOutboundConnectionsInput) (req *request.Request, output *DescribeOutboundConnectionsOutput) { @@ -1883,13 +1880,14 @@ func (c *OpenSearchService) DescribeOutboundConnectionsRequest(input *DescribeOu // API operation DescribeOutboundConnections for usage and error information. // // Returned Error Types: -// * InvalidPaginationTokenException -// The request processing has failed because of invalid pagination token provided -// by customer. Returns an HTTP status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - InvalidPaginationTokenException +// The request processing has failed because of invalid pagination token provided +// by customer. Returns an HTTP status code of 400. +// +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeOutboundConnections func (c *OpenSearchService) DescribeOutboundConnections(input *DescribeOutboundConnectionsInput) (*DescribeOutboundConnectionsOutput, error) { @@ -1921,15 +1919,14 @@ func (c *OpenSearchService) DescribeOutboundConnectionsWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOutboundConnections operation. -// pageNum := 0 -// err := client.DescribeOutboundConnectionsPages(params, -// func(page *opensearchservice.DescribeOutboundConnectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOutboundConnections operation. +// pageNum := 0 +// err := client.DescribeOutboundConnectionsPages(params, +// func(page *opensearchservice.DescribeOutboundConnectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpenSearchService) DescribeOutboundConnectionsPages(input *DescribeOutboundConnectionsInput, fn func(*DescribeOutboundConnectionsOutput, bool) bool) error { return c.DescribeOutboundConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1981,14 +1978,13 @@ const opDescribePackages = "DescribePackages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePackagesRequest method. +// req, resp := client.DescribePackagesRequest(params) // -// // Example sending a request using the DescribePackagesRequest method. -// req, resp := client.DescribePackagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribePackages func (c *OpenSearchService) DescribePackagesRequest(input *DescribePackagesInput) (req *request.Request, output *DescribePackagesOutput) { @@ -2026,25 +2022,26 @@ func (c *OpenSearchService) DescribePackagesRequest(input *DescribePackagesInput // API operation DescribePackages for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribePackages func (c *OpenSearchService) DescribePackages(input *DescribePackagesInput) (*DescribePackagesOutput, error) { @@ -2076,15 +2073,14 @@ func (c *OpenSearchService) DescribePackagesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePackages operation. -// pageNum := 0 -// err := client.DescribePackagesPages(params, -// func(page *opensearchservice.DescribePackagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePackages operation. +// pageNum := 0 +// err := client.DescribePackagesPages(params, +// func(page *opensearchservice.DescribePackagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpenSearchService) DescribePackagesPages(input *DescribePackagesInput, fn func(*DescribePackagesOutput, bool) bool) error { return c.DescribePackagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2136,14 +2132,13 @@ const opDescribeReservedInstanceOfferings = "DescribeReservedInstanceOfferings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservedInstanceOfferingsRequest method. +// req, resp := client.DescribeReservedInstanceOfferingsRequest(params) // -// // Example sending a request using the DescribeReservedInstanceOfferingsRequest method. -// req, resp := client.DescribeReservedInstanceOfferingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeReservedInstanceOfferings func (c *OpenSearchService) DescribeReservedInstanceOfferingsRequest(input *DescribeReservedInstanceOfferingsInput) (req *request.Request, output *DescribeReservedInstanceOfferingsOutput) { @@ -2180,22 +2175,23 @@ func (c *OpenSearchService) DescribeReservedInstanceOfferingsRequest(input *Desc // API operation DescribeReservedInstanceOfferings for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeReservedInstanceOfferings func (c *OpenSearchService) DescribeReservedInstanceOfferings(input *DescribeReservedInstanceOfferingsInput) (*DescribeReservedInstanceOfferingsOutput, error) { @@ -2227,15 +2223,14 @@ func (c *OpenSearchService) DescribeReservedInstanceOfferingsWithContext(ctx aws // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReservedInstanceOfferings operation. -// pageNum := 0 -// err := client.DescribeReservedInstanceOfferingsPages(params, -// func(page *opensearchservice.DescribeReservedInstanceOfferingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReservedInstanceOfferings operation. +// pageNum := 0 +// err := client.DescribeReservedInstanceOfferingsPages(params, +// func(page *opensearchservice.DescribeReservedInstanceOfferingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpenSearchService) DescribeReservedInstanceOfferingsPages(input *DescribeReservedInstanceOfferingsInput, fn func(*DescribeReservedInstanceOfferingsOutput, bool) bool) error { return c.DescribeReservedInstanceOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2287,14 +2282,13 @@ const opDescribeReservedInstances = "DescribeReservedInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservedInstancesRequest method. +// req, resp := client.DescribeReservedInstancesRequest(params) // -// // Example sending a request using the DescribeReservedInstancesRequest method. -// req, resp := client.DescribeReservedInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeReservedInstances func (c *OpenSearchService) DescribeReservedInstancesRequest(input *DescribeReservedInstancesInput) (req *request.Request, output *DescribeReservedInstancesOutput) { @@ -2331,22 +2325,23 @@ func (c *OpenSearchService) DescribeReservedInstancesRequest(input *DescribeRese // API operation DescribeReservedInstances for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeReservedInstances func (c *OpenSearchService) DescribeReservedInstances(input *DescribeReservedInstancesInput) (*DescribeReservedInstancesOutput, error) { @@ -2378,15 +2373,14 @@ func (c *OpenSearchService) DescribeReservedInstancesWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReservedInstances operation. -// pageNum := 0 -// err := client.DescribeReservedInstancesPages(params, -// func(page *opensearchservice.DescribeReservedInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReservedInstances operation. +// pageNum := 0 +// err := client.DescribeReservedInstancesPages(params, +// func(page *opensearchservice.DescribeReservedInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpenSearchService) DescribeReservedInstancesPages(input *DescribeReservedInstancesInput, fn func(*DescribeReservedInstancesOutput, bool) bool) error { return c.DescribeReservedInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2438,14 +2432,13 @@ const opDissociatePackage = "DissociatePackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DissociatePackageRequest method. +// req, resp := client.DissociatePackageRequest(params) // -// // Example sending a request using the DissociatePackageRequest method. -// req, resp := client.DissociatePackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DissociatePackage func (c *OpenSearchService) DissociatePackageRequest(input *DissociatePackageInput) (req *request.Request, output *DissociatePackageOutput) { @@ -2476,29 +2469,30 @@ func (c *OpenSearchService) DissociatePackageRequest(input *DissociatePackageInp // API operation DissociatePackage for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // -// * ConflictException -// An error occurred because the client attempts to remove a resource that is -// currently in use. Returns HTTP status code 409. +// - ConflictException +// An error occurred because the client attempts to remove a resource that is +// currently in use. Returns HTTP status code 409. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DissociatePackage func (c *OpenSearchService) DissociatePackage(input *DissociatePackageInput) (*DissociatePackageOutput, error) { @@ -2538,14 +2532,13 @@ const opGetCompatibleVersions = "GetCompatibleVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCompatibleVersionsRequest method. +// req, resp := client.GetCompatibleVersionsRequest(params) // -// // Example sending a request using the GetCompatibleVersionsRequest method. -// req, resp := client.GetCompatibleVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetCompatibleVersions func (c *OpenSearchService) GetCompatibleVersionsRequest(input *GetCompatibleVersionsInput) (req *request.Request, output *GetCompatibleVersionsOutput) { @@ -2578,25 +2571,26 @@ func (c *OpenSearchService) GetCompatibleVersionsRequest(input *GetCompatibleVer // API operation GetCompatibleVersions for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - BaseException +// An error occurred while processing the request. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetCompatibleVersions func (c *OpenSearchService) GetCompatibleVersions(input *GetCompatibleVersionsInput) (*GetCompatibleVersionsOutput, error) { @@ -2636,14 +2630,13 @@ const opGetPackageVersionHistory = "GetPackageVersionHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPackageVersionHistoryRequest method. +// req, resp := client.GetPackageVersionHistoryRequest(params) // -// // Example sending a request using the GetPackageVersionHistoryRequest method. -// req, resp := client.GetPackageVersionHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetPackageVersionHistory func (c *OpenSearchService) GetPackageVersionHistoryRequest(input *GetPackageVersionHistoryInput) (req *request.Request, output *GetPackageVersionHistoryOutput) { @@ -2681,25 +2674,26 @@ func (c *OpenSearchService) GetPackageVersionHistoryRequest(input *GetPackageVer // API operation GetPackageVersionHistory for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetPackageVersionHistory func (c *OpenSearchService) GetPackageVersionHistory(input *GetPackageVersionHistoryInput) (*GetPackageVersionHistoryOutput, error) { @@ -2731,15 +2725,14 @@ func (c *OpenSearchService) GetPackageVersionHistoryWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetPackageVersionHistory operation. -// pageNum := 0 -// err := client.GetPackageVersionHistoryPages(params, -// func(page *opensearchservice.GetPackageVersionHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetPackageVersionHistory operation. +// pageNum := 0 +// err := client.GetPackageVersionHistoryPages(params, +// func(page *opensearchservice.GetPackageVersionHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpenSearchService) GetPackageVersionHistoryPages(input *GetPackageVersionHistoryInput, fn func(*GetPackageVersionHistoryOutput, bool) bool) error { return c.GetPackageVersionHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2791,14 +2784,13 @@ const opGetUpgradeHistory = "GetUpgradeHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUpgradeHistoryRequest method. +// req, resp := client.GetUpgradeHistoryRequest(params) // -// // Example sending a request using the GetUpgradeHistoryRequest method. -// req, resp := client.GetUpgradeHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetUpgradeHistory func (c *OpenSearchService) GetUpgradeHistoryRequest(input *GetUpgradeHistoryInput) (req *request.Request, output *GetUpgradeHistoryOutput) { @@ -2835,25 +2827,26 @@ func (c *OpenSearchService) GetUpgradeHistoryRequest(input *GetUpgradeHistoryInp // API operation GetUpgradeHistory for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - BaseException +// An error occurred while processing the request. +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetUpgradeHistory func (c *OpenSearchService) GetUpgradeHistory(input *GetUpgradeHistoryInput) (*GetUpgradeHistoryOutput, error) { @@ -2885,15 +2878,14 @@ func (c *OpenSearchService) GetUpgradeHistoryWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetUpgradeHistory operation. -// pageNum := 0 -// err := client.GetUpgradeHistoryPages(params, -// func(page *opensearchservice.GetUpgradeHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetUpgradeHistory operation. +// pageNum := 0 +// err := client.GetUpgradeHistoryPages(params, +// func(page *opensearchservice.GetUpgradeHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpenSearchService) GetUpgradeHistoryPages(input *GetUpgradeHistoryInput, fn func(*GetUpgradeHistoryOutput, bool) bool) error { return c.GetUpgradeHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2945,14 +2937,13 @@ const opGetUpgradeStatus = "GetUpgradeStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUpgradeStatusRequest method. +// req, resp := client.GetUpgradeStatusRequest(params) // -// // Example sending a request using the GetUpgradeStatusRequest method. -// req, resp := client.GetUpgradeStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetUpgradeStatus func (c *OpenSearchService) GetUpgradeStatusRequest(input *GetUpgradeStatusInput) (req *request.Request, output *GetUpgradeStatusOutput) { @@ -2984,25 +2975,26 @@ func (c *OpenSearchService) GetUpgradeStatusRequest(input *GetUpgradeStatusInput // API operation GetUpgradeStatus for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - BaseException +// An error occurred while processing the request. +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetUpgradeStatus func (c *OpenSearchService) GetUpgradeStatus(input *GetUpgradeStatusInput) (*GetUpgradeStatusOutput, error) { @@ -3042,14 +3034,13 @@ const opListDomainNames = "ListDomainNames" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainNamesRequest method. +// req, resp := client.ListDomainNamesRequest(params) // -// // Example sending a request using the ListDomainNamesRequest method. -// req, resp := client.ListDomainNamesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainNames func (c *OpenSearchService) ListDomainNamesRequest(input *ListDomainNamesInput) (req *request.Request, output *ListDomainNamesOutput) { @@ -3080,12 +3071,13 @@ func (c *OpenSearchService) ListDomainNamesRequest(input *ListDomainNamesInput) // API operation ListDomainNames for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - BaseException +// An error occurred while processing the request. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainNames func (c *OpenSearchService) ListDomainNames(input *ListDomainNamesInput) (*ListDomainNamesOutput, error) { @@ -3125,14 +3117,13 @@ const opListDomainsForPackage = "ListDomainsForPackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainsForPackageRequest method. +// req, resp := client.ListDomainsForPackageRequest(params) // -// // Example sending a request using the ListDomainsForPackageRequest method. -// req, resp := client.ListDomainsForPackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainsForPackage func (c *OpenSearchService) ListDomainsForPackageRequest(input *ListDomainsForPackageInput) (req *request.Request, output *ListDomainsForPackageOutput) { @@ -3169,25 +3160,26 @@ func (c *OpenSearchService) ListDomainsForPackageRequest(input *ListDomainsForPa // API operation ListDomainsForPackage for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainsForPackage func (c *OpenSearchService) ListDomainsForPackage(input *ListDomainsForPackageInput) (*ListDomainsForPackageOutput, error) { @@ -3219,15 +3211,14 @@ func (c *OpenSearchService) ListDomainsForPackageWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDomainsForPackage operation. -// pageNum := 0 -// err := client.ListDomainsForPackagePages(params, -// func(page *opensearchservice.ListDomainsForPackageOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDomainsForPackage operation. +// pageNum := 0 +// err := client.ListDomainsForPackagePages(params, +// func(page *opensearchservice.ListDomainsForPackageOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpenSearchService) ListDomainsForPackagePages(input *ListDomainsForPackageInput, fn func(*ListDomainsForPackageOutput, bool) bool) error { return c.ListDomainsForPackagePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3279,14 +3270,13 @@ const opListInstanceTypeDetails = "ListInstanceTypeDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInstanceTypeDetailsRequest method. +// req, resp := client.ListInstanceTypeDetailsRequest(params) // -// // Example sending a request using the ListInstanceTypeDetailsRequest method. -// req, resp := client.ListInstanceTypeDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListInstanceTypeDetails func (c *OpenSearchService) ListInstanceTypeDetailsRequest(input *ListInstanceTypeDetailsInput) (req *request.Request, output *ListInstanceTypeDetailsOutput) { @@ -3321,21 +3311,22 @@ func (c *OpenSearchService) ListInstanceTypeDetailsRequest(input *ListInstanceTy // API operation ListInstanceTypeDetails for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListInstanceTypeDetails func (c *OpenSearchService) ListInstanceTypeDetails(input *ListInstanceTypeDetailsInput) (*ListInstanceTypeDetailsOutput, error) { @@ -3367,15 +3358,14 @@ func (c *OpenSearchService) ListInstanceTypeDetailsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInstanceTypeDetails operation. -// pageNum := 0 -// err := client.ListInstanceTypeDetailsPages(params, -// func(page *opensearchservice.ListInstanceTypeDetailsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInstanceTypeDetails operation. +// pageNum := 0 +// err := client.ListInstanceTypeDetailsPages(params, +// func(page *opensearchservice.ListInstanceTypeDetailsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpenSearchService) ListInstanceTypeDetailsPages(input *ListInstanceTypeDetailsInput, fn func(*ListInstanceTypeDetailsOutput, bool) bool) error { return c.ListInstanceTypeDetailsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3427,14 +3417,13 @@ const opListPackagesForDomain = "ListPackagesForDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPackagesForDomainRequest method. +// req, resp := client.ListPackagesForDomainRequest(params) // -// // Example sending a request using the ListPackagesForDomainRequest method. -// req, resp := client.ListPackagesForDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListPackagesForDomain func (c *OpenSearchService) ListPackagesForDomainRequest(input *ListPackagesForDomainInput) (req *request.Request, output *ListPackagesForDomainOutput) { @@ -3471,25 +3460,26 @@ func (c *OpenSearchService) ListPackagesForDomainRequest(input *ListPackagesForD // API operation ListPackagesForDomain for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListPackagesForDomain func (c *OpenSearchService) ListPackagesForDomain(input *ListPackagesForDomainInput) (*ListPackagesForDomainOutput, error) { @@ -3521,15 +3511,14 @@ func (c *OpenSearchService) ListPackagesForDomainWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPackagesForDomain operation. -// pageNum := 0 -// err := client.ListPackagesForDomainPages(params, -// func(page *opensearchservice.ListPackagesForDomainOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPackagesForDomain operation. +// pageNum := 0 +// err := client.ListPackagesForDomainPages(params, +// func(page *opensearchservice.ListPackagesForDomainOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpenSearchService) ListPackagesForDomainPages(input *ListPackagesForDomainInput, fn func(*ListPackagesForDomainOutput, bool) bool) error { return c.ListPackagesForDomainPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3581,14 +3570,13 @@ const opListTags = "ListTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsRequest method. +// req, resp := client.ListTagsRequest(params) // -// // Example sending a request using the ListTagsRequest method. -// req, resp := client.ListTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListTags func (c *OpenSearchService) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { @@ -3619,21 +3607,22 @@ func (c *OpenSearchService) ListTagsRequest(input *ListTagsInput) (req *request. // API operation ListTags for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - BaseException +// An error occurred while processing the request. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListTags func (c *OpenSearchService) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { @@ -3673,14 +3662,13 @@ const opListVersions = "ListVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVersionsRequest method. +// req, resp := client.ListVersionsRequest(params) // -// // Example sending a request using the ListVersionsRequest method. -// req, resp := client.ListVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListVersions func (c *OpenSearchService) ListVersionsRequest(input *ListVersionsInput) (req *request.Request, output *ListVersionsOutput) { @@ -3717,21 +3705,22 @@ func (c *OpenSearchService) ListVersionsRequest(input *ListVersionsInput) (req * // API operation ListVersions for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListVersions func (c *OpenSearchService) ListVersions(input *ListVersionsInput) (*ListVersionsOutput, error) { @@ -3763,15 +3752,14 @@ func (c *OpenSearchService) ListVersionsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVersions operation. -// pageNum := 0 -// err := client.ListVersionsPages(params, -// func(page *opensearchservice.ListVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVersions operation. +// pageNum := 0 +// err := client.ListVersionsPages(params, +// func(page *opensearchservice.ListVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpenSearchService) ListVersionsPages(input *ListVersionsInput, fn func(*ListVersionsOutput, bool) bool) error { return c.ListVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3823,14 +3811,13 @@ const opPurchaseReservedInstanceOffering = "PurchaseReservedInstanceOffering" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PurchaseReservedInstanceOfferingRequest method. +// req, resp := client.PurchaseReservedInstanceOfferingRequest(params) // -// // Example sending a request using the PurchaseReservedInstanceOfferingRequest method. -// req, resp := client.PurchaseReservedInstanceOfferingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PurchaseReservedInstanceOffering func (c *OpenSearchService) PurchaseReservedInstanceOfferingRequest(input *PurchaseReservedInstanceOfferingInput) (req *request.Request, output *PurchaseReservedInstanceOfferingOutput) { @@ -3861,30 +3848,31 @@ func (c *OpenSearchService) PurchaseReservedInstanceOfferingRequest(input *Purch // API operation PurchaseReservedInstanceOffering for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. // -// * ResourceAlreadyExistsException -// An exception for creating a resource that already exists. Gives http status -// code of 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - ResourceAlreadyExistsException +// An exception for creating a resource that already exists. Gives http status +// code of 400. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PurchaseReservedInstanceOffering func (c *OpenSearchService) PurchaseReservedInstanceOffering(input *PurchaseReservedInstanceOfferingInput) (*PurchaseReservedInstanceOfferingOutput, error) { @@ -3924,14 +3912,13 @@ const opRejectInboundConnection = "RejectInboundConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectInboundConnectionRequest method. +// req, resp := client.RejectInboundConnectionRequest(params) // -// // Example sending a request using the RejectInboundConnectionRequest method. -// req, resp := client.RejectInboundConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RejectInboundConnection func (c *OpenSearchService) RejectInboundConnectionRequest(input *RejectInboundConnectionInput) (req *request.Request, output *RejectInboundConnectionOutput) { @@ -3963,13 +3950,14 @@ func (c *OpenSearchService) RejectInboundConnectionRequest(input *RejectInboundC // API operation RejectInboundConnection for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. +// +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RejectInboundConnection func (c *OpenSearchService) RejectInboundConnection(input *RejectInboundConnectionInput) (*RejectInboundConnectionOutput, error) { @@ -4009,14 +3997,13 @@ const opRemoveTags = "RemoveTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsRequest method. +// req, resp := client.RemoveTagsRequest(params) // -// // Example sending a request using the RemoveTagsRequest method. -// req, resp := client.RemoveTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RemoveTags func (c *OpenSearchService) RemoveTagsRequest(input *RemoveTagsInput) (req *request.Request, output *RemoveTagsOutput) { @@ -4048,17 +4035,18 @@ func (c *OpenSearchService) RemoveTagsRequest(input *RemoveTagsInput) (req *requ // API operation RemoveTags for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - BaseException +// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RemoveTags func (c *OpenSearchService) RemoveTags(input *RemoveTagsInput) (*RemoveTagsOutput, error) { @@ -4098,14 +4086,13 @@ const opStartServiceSoftwareUpdate = "StartServiceSoftwareUpdate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartServiceSoftwareUpdateRequest method. +// req, resp := client.StartServiceSoftwareUpdateRequest(params) // -// // Example sending a request using the StartServiceSoftwareUpdateRequest method. -// req, resp := client.StartServiceSoftwareUpdateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartServiceSoftwareUpdate func (c *OpenSearchService) StartServiceSoftwareUpdateRequest(input *StartServiceSoftwareUpdateInput) (req *request.Request, output *StartServiceSoftwareUpdateOutput) { @@ -4136,21 +4123,22 @@ func (c *OpenSearchService) StartServiceSoftwareUpdateRequest(input *StartServic // API operation StartServiceSoftwareUpdate for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartServiceSoftwareUpdate func (c *OpenSearchService) StartServiceSoftwareUpdate(input *StartServiceSoftwareUpdateInput) (*StartServiceSoftwareUpdateOutput, error) { @@ -4190,14 +4178,13 @@ const opUpdateDomainConfig = "UpdateDomainConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDomainConfigRequest method. +// req, resp := client.UpdateDomainConfigRequest(params) // -// // Example sending a request using the UpdateDomainConfigRequest method. -// req, resp := client.UpdateDomainConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfig func (c *OpenSearchService) UpdateDomainConfigRequest(input *UpdateDomainConfigInput) (req *request.Request, output *UpdateDomainConfigOutput) { @@ -4229,29 +4216,30 @@ func (c *OpenSearchService) UpdateDomainConfigRequest(input *UpdateDomainConfigI // API operation UpdateDomainConfig for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. +// +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * InvalidTypeException -// An exception for trying to create or access sub-resource that is either invalid -// or not supported. Gives http status code of 409. +// - InvalidTypeException +// An exception for trying to create or access sub-resource that is either invalid +// or not supported. Gives http status code of 409. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfig func (c *OpenSearchService) UpdateDomainConfig(input *UpdateDomainConfigInput) (*UpdateDomainConfigOutput, error) { @@ -4291,14 +4279,13 @@ const opUpdatePackage = "UpdatePackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePackageRequest method. +// req, resp := client.UpdatePackageRequest(params) // -// // Example sending a request using the UpdatePackageRequest method. -// req, resp := client.UpdatePackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdatePackage func (c *OpenSearchService) UpdatePackageRequest(input *UpdatePackageInput) (req *request.Request, output *UpdatePackageOutput) { @@ -4329,29 +4316,30 @@ func (c *OpenSearchService) UpdatePackageRequest(input *UpdatePackageInput) (req // API operation UpdatePackage for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - BaseException +// An error occurred while processing the request. // -// * LimitExceededException -// An exception for trying to create more than allowed resources or sub-resources. -// Gives http status code of 409. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - LimitExceededException +// An exception for trying to create more than allowed resources or sub-resources. +// Gives http status code of 409. // -// * AccessDeniedException -// An error occurred because user does not have permissions to access the resource. -// Returns HTTP status code 403. +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - AccessDeniedException +// An error occurred because user does not have permissions to access the resource. +// Returns HTTP status code 403. +// +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdatePackage func (c *OpenSearchService) UpdatePackage(input *UpdatePackageInput) (*UpdatePackageOutput, error) { @@ -4391,14 +4379,13 @@ const opUpgradeDomain = "UpgradeDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpgradeDomainRequest method. +// req, resp := client.UpgradeDomainRequest(params) // -// // Example sending a request using the UpgradeDomainRequest method. -// req, resp := client.UpgradeDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpgradeDomain func (c *OpenSearchService) UpgradeDomainRequest(input *UpgradeDomainInput) (req *request.Request, output *UpgradeDomainOutput) { @@ -4430,29 +4417,30 @@ func (c *OpenSearchService) UpgradeDomainRequest(input *UpgradeDomainInput) (req // API operation UpgradeDomain for usage and error information. // // Returned Error Types: -// * BaseException -// An error occurred while processing the request. // -// * ResourceNotFoundException -// An exception for accessing or deleting a resource that does not exist. Gives -// http status code of 400. +// - BaseException +// An error occurred while processing the request. +// +// - ResourceNotFoundException +// An exception for accessing or deleting a resource that does not exist. Gives +// http status code of 400. // -// * ResourceAlreadyExistsException -// An exception for creating a resource that already exists. Gives http status -// code of 400. +// - ResourceAlreadyExistsException +// An exception for creating a resource that already exists. Gives http status +// code of 400. // -// * DisabledOperationException -// An error occured because the client wanted to access a not supported operation. -// Gives http status code of 409. +// - DisabledOperationException +// An error occured because the client wanted to access a not supported operation. +// Gives http status code of 409. // -// * ValidationException -// An exception for missing / invalid input fields. Gives http status code of -// 400. +// - ValidationException +// An exception for missing / invalid input fields. Gives http status code of +// 400. // -// * InternalException -// The request processing has failed because of an unknown error, exception -// or failure (the failure is internal to the service) . Gives http status code -// of 500. +// - InternalException +// The request processing has failed because of an unknown error, exception +// or failure (the failure is internal to the service) . Gives http status code +// of 500. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpgradeDomain func (c *OpenSearchService) UpgradeDomain(input *UpgradeDomainInput) (*UpgradeDomainOutput, error) { @@ -4892,12 +4880,12 @@ func (s *AdditionalLimit) SetLimitValues(v []*string) *AdditionalLimit { // Status of the advanced options for the specified domain. Currently, the following // advanced options are available: // -// * Option to allow references to indices in an HTTP request body. Must -// be false when configuring access to individual sub-resources. By default, -// the value is true. See Advanced cluster parameters for more information. +// - Option to allow references to indices in an HTTP request body. Must +// be false when configuring access to individual sub-resources. By default, +// the value is true. See Advanced cluster parameters for more information. // -// * Option to specify the percentage of heap space allocated to field data. -// By default, this setting is unbounded. +// - Option to specify the percentage of heap space allocated to field data. +// By default, this setting is unbounded. // // For more information, see Advanced cluster parameters (http://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-advanced-options). type AdvancedOptionsStatus struct { @@ -11527,11 +11515,12 @@ func (s *ListVersionsOutput) SetVersions(v []*string) *ListVersionsOutput { // Log Publishing option that is set for a given domain. Attributes and their // details: -// * CloudWatchLogsLogGroupArn: ARN of the Cloudwatch log group to publish -// logs to. // -// * Enabled: Whether the log publishing for a given log type is enabled -// or not. +// - CloudWatchLogsLogGroupArn: ARN of the Cloudwatch log group to publish +// logs to. +// +// - Enabled: Whether the log publishing for a given log type is enabled +// or not. type LogPublishingOption struct { _ struct{} `type:"structure"` @@ -14880,18 +14869,19 @@ func InboundConnectionStatusCode_Values() []string { } // Type of log file. Can be one of the following: -// * INDEX_SLOW_LOGS: Index slow logs contain insert requests that took more -// time than configured index query log threshold to execute. // -// * SEARCH_SLOW_LOGS: Search slow logs contain search queries that took -// more time than configured search query log threshold to execute. +// - INDEX_SLOW_LOGS: Index slow logs contain insert requests that took more +// time than configured index query log threshold to execute. +// +// - SEARCH_SLOW_LOGS: Search slow logs contain search queries that took +// more time than configured search query log threshold to execute. // -// * ES_APPLICATION_LOGS: OpenSearch application logs contain information -// about errors and warnings raised during the operation of the service and -// can be useful for troubleshooting. +// - ES_APPLICATION_LOGS: OpenSearch application logs contain information +// about errors and warnings raised during the operation of the service and +// can be useful for troubleshooting. // -// * AUDIT_LOGS: Audit logs contain records of user requests for access from -// the domain. +// - AUDIT_LOGS: Audit logs contain records of user requests for access from +// the domain. const ( // LogTypeIndexSlowLogs is a LogType enum value LogTypeIndexSlowLogs = "INDEX_SLOW_LOGS" @@ -15326,9 +15316,9 @@ func OpenSearchWarmPartitionInstanceType_Values() []string { // The state of a requested change. One of the following: // -// * Processing: The request change is still in progress. +// - Processing: The request change is still in progress. // -// * Active: The request change is processed and deployed to the domain. +// - Active: The request change is processed and deployed to the domain. const ( // OptionStateRequiresIndexDocuments is a OptionState enum value OptionStateRequiresIndexDocuments = "RequiresIndexDocuments" diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/doc.go index a260f62c5d37..c9e7942419d3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/doc.go @@ -20,7 +20,7 @@ // See opensearchservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/opensearchservice/ // -// Using the Client +// # Using the Client // // To contact Amazon OpenSearch Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/opensearchserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/opensearchserviceiface/interface.go index db7d638d71d4..41e4b503c679 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/opensearchserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/opensearchserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon OpenSearch Service. -// func myFunc(svc opensearchserviceiface.OpenSearchServiceAPI) bool { -// // Make svc.AcceptInboundConnection request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon OpenSearch Service. +// func myFunc(svc opensearchserviceiface.OpenSearchServiceAPI) bool { +// // Make svc.AcceptInboundConnection request +// } // -// func main() { -// sess := session.New() -// svc := opensearchservice.New(sess) +// func main() { +// sess := session.New() +// svc := opensearchservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockOpenSearchServiceClient struct { -// opensearchserviceiface.OpenSearchServiceAPI -// } -// func (m *mockOpenSearchServiceClient) AcceptInboundConnection(input *opensearchservice.AcceptInboundConnectionInput) (*opensearchservice.AcceptInboundConnectionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockOpenSearchServiceClient struct { +// opensearchserviceiface.OpenSearchServiceAPI +// } +// func (m *mockOpenSearchServiceClient) AcceptInboundConnection(input *opensearchservice.AcceptInboundConnectionInput) (*opensearchservice.AcceptInboundConnectionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockOpenSearchServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockOpenSearchServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/service.go index d041f00b9873..9a59369e2a31 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opensearchservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OpenSearchService client from just a session. -// svc := opensearchservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OpenSearchService client with additional configuration -// svc := opensearchservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OpenSearchService client from just a session. +// svc := opensearchservice.New(mySession) +// +// // Create a OpenSearchService client with additional configuration +// svc := opensearchservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *OpenSearchService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/api.go index ebf544e883e9..be097ccc916a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/api.go @@ -28,14 +28,13 @@ const opAssignInstance = "AssignInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssignInstanceRequest method. +// req, resp := client.AssignInstanceRequest(params) // -// // Example sending a request using the AssignInstanceRequest method. -// req, resp := client.AssignInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstance func (c *OpsWorks) AssignInstanceRequest(input *AssignInstanceInput) (req *request.Request, output *AssignInstanceOutput) { @@ -59,12 +58,12 @@ func (c *OpsWorks) AssignInstanceRequest(input *AssignInstanceInput) (req *reque // // Assign a registered instance to a layer. // -// * You can assign registered on-premises instances to any layer type. +// - You can assign registered on-premises instances to any layer type. // -// * You can assign registered Amazon EC2 instances only to custom layers. +// - You can assign registered Amazon EC2 instances only to custom layers. // -// * You cannot use this action with instances that were created with AWS -// OpsWorks Stacks. +// - You cannot use this action with instances that were created with AWS +// OpsWorks Stacks. // // Required Permissions: To use this action, an AWS Identity and Access Management // (IAM) user must have a Manage permissions level for the stack or an attached @@ -79,11 +78,12 @@ func (c *OpsWorks) AssignInstanceRequest(input *AssignInstanceInput) (req *reque // API operation AssignInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstance func (c *OpsWorks) AssignInstance(input *AssignInstanceInput) (*AssignInstanceOutput, error) { @@ -123,14 +123,13 @@ const opAssignVolume = "AssignVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssignVolumeRequest method. +// req, resp := client.AssignVolumeRequest(params) // -// // Example sending a request using the AssignVolumeRequest method. -// req, resp := client.AssignVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolume func (c *OpsWorks) AssignVolumeRequest(input *AssignVolumeInput) (req *request.Request, output *AssignVolumeOutput) { @@ -171,11 +170,12 @@ func (c *OpsWorks) AssignVolumeRequest(input *AssignVolumeInput) (req *request.R // API operation AssignVolume for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolume func (c *OpsWorks) AssignVolume(input *AssignVolumeInput) (*AssignVolumeOutput, error) { @@ -215,14 +215,13 @@ const opAssociateElasticIp = "AssociateElasticIp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateElasticIpRequest method. +// req, resp := client.AssociateElasticIpRequest(params) // -// // Example sending a request using the AssociateElasticIpRequest method. -// req, resp := client.AssociateElasticIpRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIp func (c *OpsWorks) AssociateElasticIpRequest(input *AssociateElasticIpInput) (req *request.Request, output *AssociateElasticIpOutput) { @@ -261,11 +260,12 @@ func (c *OpsWorks) AssociateElasticIpRequest(input *AssociateElasticIpInput) (re // API operation AssociateElasticIp for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIp func (c *OpsWorks) AssociateElasticIp(input *AssociateElasticIpInput) (*AssociateElasticIpOutput, error) { @@ -305,14 +305,13 @@ const opAttachElasticLoadBalancer = "AttachElasticLoadBalancer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachElasticLoadBalancerRequest method. +// req, resp := client.AttachElasticLoadBalancerRequest(params) // -// // Example sending a request using the AttachElasticLoadBalancerRequest method. -// req, resp := client.AttachElasticLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancer func (c *OpsWorks) AttachElasticLoadBalancerRequest(input *AttachElasticLoadBalancerInput) (req *request.Request, output *AttachElasticLoadBalancerOutput) { @@ -356,11 +355,12 @@ func (c *OpsWorks) AttachElasticLoadBalancerRequest(input *AttachElasticLoadBala // API operation AttachElasticLoadBalancer for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancer func (c *OpsWorks) AttachElasticLoadBalancer(input *AttachElasticLoadBalancerInput) (*AttachElasticLoadBalancerOutput, error) { @@ -400,14 +400,13 @@ const opCloneStack = "CloneStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CloneStackRequest method. +// req, resp := client.CloneStackRequest(params) // -// // Example sending a request using the CloneStackRequest method. -// req, resp := client.CloneStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStack func (c *OpsWorks) CloneStackRequest(input *CloneStackInput) (req *request.Request, output *CloneStackOutput) { @@ -444,11 +443,12 @@ func (c *OpsWorks) CloneStackRequest(input *CloneStackInput) (req *request.Reque // API operation CloneStack for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStack func (c *OpsWorks) CloneStack(input *CloneStackInput) (*CloneStackOutput, error) { @@ -488,14 +488,13 @@ const opCreateApp = "CreateApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppRequest method. +// req, resp := client.CreateAppRequest(params) // -// // Example sending a request using the CreateAppRequest method. -// req, resp := client.CreateAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateApp func (c *OpsWorks) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput) { @@ -532,11 +531,12 @@ func (c *OpsWorks) CreateAppRequest(input *CreateAppInput) (req *request.Request // API operation CreateApp for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateApp func (c *OpsWorks) CreateApp(input *CreateAppInput) (*CreateAppOutput, error) { @@ -576,14 +576,13 @@ const opCreateDeployment = "CreateDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeploymentRequest method. +// req, resp := client.CreateDeploymentRequest(params) // -// // Example sending a request using the CreateDeploymentRequest method. -// req, resp := client.CreateDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeployment func (c *OpsWorks) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *CreateDeploymentOutput) { @@ -621,11 +620,12 @@ func (c *OpsWorks) CreateDeploymentRequest(input *CreateDeploymentInput) (req *r // API operation CreateDeployment for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeployment func (c *OpsWorks) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error) { @@ -665,14 +665,13 @@ const opCreateInstance = "CreateInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInstanceRequest method. +// req, resp := client.CreateInstanceRequest(params) // -// // Example sending a request using the CreateInstanceRequest method. -// req, resp := client.CreateInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstance func (c *OpsWorks) CreateInstanceRequest(input *CreateInstanceInput) (req *request.Request, output *CreateInstanceOutput) { @@ -709,11 +708,12 @@ func (c *OpsWorks) CreateInstanceRequest(input *CreateInstanceInput) (req *reque // API operation CreateInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstance func (c *OpsWorks) CreateInstance(input *CreateInstanceInput) (*CreateInstanceOutput, error) { @@ -753,14 +753,13 @@ const opCreateLayer = "CreateLayer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLayerRequest method. +// req, resp := client.CreateLayerRequest(params) // -// // Example sending a request using the CreateLayerRequest method. -// req, resp := client.CreateLayerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayer func (c *OpsWorks) CreateLayerRequest(input *CreateLayerInput) (req *request.Request, output *CreateLayerOutput) { @@ -803,11 +802,12 @@ func (c *OpsWorks) CreateLayerRequest(input *CreateLayerInput) (req *request.Req // API operation CreateLayer for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayer func (c *OpsWorks) CreateLayer(input *CreateLayerInput) (*CreateLayerOutput, error) { @@ -847,14 +847,13 @@ const opCreateStack = "CreateStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStackRequest method. +// req, resp := client.CreateStackRequest(params) // -// // Example sending a request using the CreateStackRequest method. -// req, resp := client.CreateStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStack func (c *OpsWorks) CreateStackRequest(input *CreateStackInput) (req *request.Request, output *CreateStackOutput) { @@ -889,8 +888,8 @@ func (c *OpsWorks) CreateStackRequest(input *CreateStackInput) (req *request.Req // API operation CreateStack for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStack func (c *OpsWorks) CreateStack(input *CreateStackInput) (*CreateStackOutput, error) { @@ -930,14 +929,13 @@ const opCreateUserProfile = "CreateUserProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserProfileRequest method. +// req, resp := client.CreateUserProfileRequest(params) // -// // Example sending a request using the CreateUserProfileRequest method. -// req, resp := client.CreateUserProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfile func (c *OpsWorks) CreateUserProfileRequest(input *CreateUserProfileInput) (req *request.Request, output *CreateUserProfileOutput) { @@ -972,8 +970,8 @@ func (c *OpsWorks) CreateUserProfileRequest(input *CreateUserProfileInput) (req // API operation CreateUserProfile for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfile func (c *OpsWorks) CreateUserProfile(input *CreateUserProfileInput) (*CreateUserProfileOutput, error) { @@ -1013,14 +1011,13 @@ const opDeleteApp = "DeleteApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppRequest method. +// req, resp := client.DeleteAppRequest(params) // -// // Example sending a request using the DeleteAppRequest method. -// req, resp := client.DeleteAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteApp func (c *OpsWorks) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput) { @@ -1057,11 +1054,12 @@ func (c *OpsWorks) DeleteAppRequest(input *DeleteAppInput) (req *request.Request // API operation DeleteApp for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteApp func (c *OpsWorks) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error) { @@ -1101,14 +1099,13 @@ const opDeleteInstance = "DeleteInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInstanceRequest method. +// req, resp := client.DeleteInstanceRequest(params) // -// // Example sending a request using the DeleteInstanceRequest method. -// req, resp := client.DeleteInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstance func (c *OpsWorks) DeleteInstanceRequest(input *DeleteInstanceInput) (req *request.Request, output *DeleteInstanceOutput) { @@ -1148,11 +1145,12 @@ func (c *OpsWorks) DeleteInstanceRequest(input *DeleteInstanceInput) (req *reque // API operation DeleteInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstance func (c *OpsWorks) DeleteInstance(input *DeleteInstanceInput) (*DeleteInstanceOutput, error) { @@ -1192,14 +1190,13 @@ const opDeleteLayer = "DeleteLayer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLayerRequest method. +// req, resp := client.DeleteLayerRequest(params) // -// // Example sending a request using the DeleteLayerRequest method. -// req, resp := client.DeleteLayerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayer func (c *OpsWorks) DeleteLayerRequest(input *DeleteLayerInput) (req *request.Request, output *DeleteLayerOutput) { @@ -1238,11 +1235,12 @@ func (c *OpsWorks) DeleteLayerRequest(input *DeleteLayerInput) (req *request.Req // API operation DeleteLayer for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayer func (c *OpsWorks) DeleteLayer(input *DeleteLayerInput) (*DeleteLayerOutput, error) { @@ -1282,14 +1280,13 @@ const opDeleteStack = "DeleteStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStackRequest method. +// req, resp := client.DeleteStackRequest(params) // -// // Example sending a request using the DeleteStackRequest method. -// req, resp := client.DeleteStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStack func (c *OpsWorks) DeleteStackRequest(input *DeleteStackInput) (req *request.Request, output *DeleteStackOutput) { @@ -1328,11 +1325,12 @@ func (c *OpsWorks) DeleteStackRequest(input *DeleteStackInput) (req *request.Req // API operation DeleteStack for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStack func (c *OpsWorks) DeleteStack(input *DeleteStackInput) (*DeleteStackOutput, error) { @@ -1372,14 +1370,13 @@ const opDeleteUserProfile = "DeleteUserProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserProfileRequest method. +// req, resp := client.DeleteUserProfileRequest(params) // -// // Example sending a request using the DeleteUserProfileRequest method. -// req, resp := client.DeleteUserProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfile func (c *OpsWorks) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req *request.Request, output *DeleteUserProfileOutput) { @@ -1415,11 +1412,12 @@ func (c *OpsWorks) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req // API operation DeleteUserProfile for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfile func (c *OpsWorks) DeleteUserProfile(input *DeleteUserProfileInput) (*DeleteUserProfileOutput, error) { @@ -1459,14 +1457,13 @@ const opDeregisterEcsCluster = "DeregisterEcsCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterEcsClusterRequest method. +// req, resp := client.DeregisterEcsClusterRequest(params) // -// // Example sending a request using the DeregisterEcsClusterRequest method. -// req, resp := client.DeregisterEcsClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsCluster func (c *OpsWorks) DeregisterEcsClusterRequest(input *DeregisterEcsClusterInput) (req *request.Request, output *DeregisterEcsClusterOutput) { @@ -1504,11 +1501,12 @@ func (c *OpsWorks) DeregisterEcsClusterRequest(input *DeregisterEcsClusterInput) // API operation DeregisterEcsCluster for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsCluster func (c *OpsWorks) DeregisterEcsCluster(input *DeregisterEcsClusterInput) (*DeregisterEcsClusterOutput, error) { @@ -1548,14 +1546,13 @@ const opDeregisterElasticIp = "DeregisterElasticIp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterElasticIpRequest method. +// req, resp := client.DeregisterElasticIpRequest(params) // -// // Example sending a request using the DeregisterElasticIpRequest method. -// req, resp := client.DeregisterElasticIpRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIp func (c *OpsWorks) DeregisterElasticIpRequest(input *DeregisterElasticIpInput) (req *request.Request, output *DeregisterElasticIpOutput) { @@ -1593,11 +1590,12 @@ func (c *OpsWorks) DeregisterElasticIpRequest(input *DeregisterElasticIpInput) ( // API operation DeregisterElasticIp for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIp func (c *OpsWorks) DeregisterElasticIp(input *DeregisterElasticIpInput) (*DeregisterElasticIpOutput, error) { @@ -1637,14 +1635,13 @@ const opDeregisterInstance = "DeregisterInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterInstanceRequest method. +// req, resp := client.DeregisterInstanceRequest(params) // -// // Example sending a request using the DeregisterInstanceRequest method. -// req, resp := client.DeregisterInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstance func (c *OpsWorks) DeregisterInstanceRequest(input *DeregisterInstanceInput) (req *request.Request, output *DeregisterInstanceOutput) { @@ -1683,11 +1680,12 @@ func (c *OpsWorks) DeregisterInstanceRequest(input *DeregisterInstanceInput) (re // API operation DeregisterInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstance func (c *OpsWorks) DeregisterInstance(input *DeregisterInstanceInput) (*DeregisterInstanceOutput, error) { @@ -1727,14 +1725,13 @@ const opDeregisterRdsDbInstance = "DeregisterRdsDbInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterRdsDbInstanceRequest method. +// req, resp := client.DeregisterRdsDbInstanceRequest(params) // -// // Example sending a request using the DeregisterRdsDbInstanceRequest method. -// req, resp := client.DeregisterRdsDbInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstance func (c *OpsWorks) DeregisterRdsDbInstanceRequest(input *DeregisterRdsDbInstanceInput) (req *request.Request, output *DeregisterRdsDbInstanceOutput) { @@ -1771,11 +1768,12 @@ func (c *OpsWorks) DeregisterRdsDbInstanceRequest(input *DeregisterRdsDbInstance // API operation DeregisterRdsDbInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstance func (c *OpsWorks) DeregisterRdsDbInstance(input *DeregisterRdsDbInstanceInput) (*DeregisterRdsDbInstanceOutput, error) { @@ -1815,14 +1813,13 @@ const opDeregisterVolume = "DeregisterVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterVolumeRequest method. +// req, resp := client.DeregisterVolumeRequest(params) // -// // Example sending a request using the DeregisterVolumeRequest method. -// req, resp := client.DeregisterVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolume func (c *OpsWorks) DeregisterVolumeRequest(input *DeregisterVolumeInput) (req *request.Request, output *DeregisterVolumeOutput) { @@ -1860,11 +1857,12 @@ func (c *OpsWorks) DeregisterVolumeRequest(input *DeregisterVolumeInput) (req *r // API operation DeregisterVolume for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolume func (c *OpsWorks) DeregisterVolume(input *DeregisterVolumeInput) (*DeregisterVolumeOutput, error) { @@ -1904,14 +1902,13 @@ const opDescribeAgentVersions = "DescribeAgentVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAgentVersionsRequest method. +// req, resp := client.DescribeAgentVersionsRequest(params) // -// // Example sending a request using the DescribeAgentVersionsRequest method. -// req, resp := client.DescribeAgentVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersions func (c *OpsWorks) DescribeAgentVersionsRequest(input *DescribeAgentVersionsInput) (req *request.Request, output *DescribeAgentVersionsOutput) { @@ -1944,11 +1941,12 @@ func (c *OpsWorks) DescribeAgentVersionsRequest(input *DescribeAgentVersionsInpu // API operation DescribeAgentVersions for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersions func (c *OpsWorks) DescribeAgentVersions(input *DescribeAgentVersionsInput) (*DescribeAgentVersionsOutput, error) { @@ -1988,14 +1986,13 @@ const opDescribeApps = "DescribeApps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAppsRequest method. +// req, resp := client.DescribeAppsRequest(params) // -// // Example sending a request using the DescribeAppsRequest method. -// req, resp := client.DescribeAppsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeApps func (c *OpsWorks) DescribeAppsRequest(input *DescribeAppsInput) (req *request.Request, output *DescribeAppsOutput) { @@ -2033,11 +2030,12 @@ func (c *OpsWorks) DescribeAppsRequest(input *DescribeAppsInput) (req *request.R // API operation DescribeApps for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeApps func (c *OpsWorks) DescribeApps(input *DescribeAppsInput) (*DescribeAppsOutput, error) { @@ -2077,14 +2075,13 @@ const opDescribeCommands = "DescribeCommands" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCommandsRequest method. +// req, resp := client.DescribeCommandsRequest(params) // -// // Example sending a request using the DescribeCommandsRequest method. -// req, resp := client.DescribeCommandsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommands func (c *OpsWorks) DescribeCommandsRequest(input *DescribeCommandsInput) (req *request.Request, output *DescribeCommandsOutput) { @@ -2122,11 +2119,12 @@ func (c *OpsWorks) DescribeCommandsRequest(input *DescribeCommandsInput) (req *r // API operation DescribeCommands for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommands func (c *OpsWorks) DescribeCommands(input *DescribeCommandsInput) (*DescribeCommandsOutput, error) { @@ -2166,14 +2164,13 @@ const opDescribeDeployments = "DescribeDeployments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDeploymentsRequest method. +// req, resp := client.DescribeDeploymentsRequest(params) // -// // Example sending a request using the DescribeDeploymentsRequest method. -// req, resp := client.DescribeDeploymentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeployments func (c *OpsWorks) DescribeDeploymentsRequest(input *DescribeDeploymentsInput) (req *request.Request, output *DescribeDeploymentsOutput) { @@ -2211,11 +2208,12 @@ func (c *OpsWorks) DescribeDeploymentsRequest(input *DescribeDeploymentsInput) ( // API operation DescribeDeployments for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeployments func (c *OpsWorks) DescribeDeployments(input *DescribeDeploymentsInput) (*DescribeDeploymentsOutput, error) { @@ -2255,14 +2253,13 @@ const opDescribeEcsClusters = "DescribeEcsClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEcsClustersRequest method. +// req, resp := client.DescribeEcsClustersRequest(params) // -// // Example sending a request using the DescribeEcsClustersRequest method. -// req, resp := client.DescribeEcsClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClusters func (c *OpsWorks) DescribeEcsClustersRequest(input *DescribeEcsClustersInput) (req *request.Request, output *DescribeEcsClustersOutput) { @@ -2309,11 +2306,12 @@ func (c *OpsWorks) DescribeEcsClustersRequest(input *DescribeEcsClustersInput) ( // API operation DescribeEcsClusters for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClusters func (c *OpsWorks) DescribeEcsClusters(input *DescribeEcsClustersInput) (*DescribeEcsClustersOutput, error) { @@ -2345,15 +2343,14 @@ func (c *OpsWorks) DescribeEcsClustersWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEcsClusters operation. -// pageNum := 0 -// err := client.DescribeEcsClustersPages(params, -// func(page *opsworks.DescribeEcsClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEcsClusters operation. +// pageNum := 0 +// err := client.DescribeEcsClustersPages(params, +// func(page *opsworks.DescribeEcsClustersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpsWorks) DescribeEcsClustersPages(input *DescribeEcsClustersInput, fn func(*DescribeEcsClustersOutput, bool) bool) error { return c.DescribeEcsClustersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2405,14 +2402,13 @@ const opDescribeElasticIps = "DescribeElasticIps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeElasticIpsRequest method. +// req, resp := client.DescribeElasticIpsRequest(params) // -// // Example sending a request using the DescribeElasticIpsRequest method. -// req, resp := client.DescribeElasticIpsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIps func (c *OpsWorks) DescribeElasticIpsRequest(input *DescribeElasticIpsInput) (req *request.Request, output *DescribeElasticIpsOutput) { @@ -2450,11 +2446,12 @@ func (c *OpsWorks) DescribeElasticIpsRequest(input *DescribeElasticIpsInput) (re // API operation DescribeElasticIps for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIps func (c *OpsWorks) DescribeElasticIps(input *DescribeElasticIpsInput) (*DescribeElasticIpsOutput, error) { @@ -2494,14 +2491,13 @@ const opDescribeElasticLoadBalancers = "DescribeElasticLoadBalancers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeElasticLoadBalancersRequest method. +// req, resp := client.DescribeElasticLoadBalancersRequest(params) // -// // Example sending a request using the DescribeElasticLoadBalancersRequest method. -// req, resp := client.DescribeElasticLoadBalancersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancers func (c *OpsWorks) DescribeElasticLoadBalancersRequest(input *DescribeElasticLoadBalancersInput) (req *request.Request, output *DescribeElasticLoadBalancersOutput) { @@ -2539,11 +2535,12 @@ func (c *OpsWorks) DescribeElasticLoadBalancersRequest(input *DescribeElasticLoa // API operation DescribeElasticLoadBalancers for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancers func (c *OpsWorks) DescribeElasticLoadBalancers(input *DescribeElasticLoadBalancersInput) (*DescribeElasticLoadBalancersOutput, error) { @@ -2583,14 +2580,13 @@ const opDescribeInstances = "DescribeInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstancesRequest method. +// req, resp := client.DescribeInstancesRequest(params) // -// // Example sending a request using the DescribeInstancesRequest method. -// req, resp := client.DescribeInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstances func (c *OpsWorks) DescribeInstancesRequest(input *DescribeInstancesInput) (req *request.Request, output *DescribeInstancesOutput) { @@ -2628,11 +2624,12 @@ func (c *OpsWorks) DescribeInstancesRequest(input *DescribeInstancesInput) (req // API operation DescribeInstances for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstances func (c *OpsWorks) DescribeInstances(input *DescribeInstancesInput) (*DescribeInstancesOutput, error) { @@ -2672,14 +2669,13 @@ const opDescribeLayers = "DescribeLayers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLayersRequest method. +// req, resp := client.DescribeLayersRequest(params) // -// // Example sending a request using the DescribeLayersRequest method. -// req, resp := client.DescribeLayersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayers func (c *OpsWorks) DescribeLayersRequest(input *DescribeLayersInput) (req *request.Request, output *DescribeLayersOutput) { @@ -2717,11 +2713,12 @@ func (c *OpsWorks) DescribeLayersRequest(input *DescribeLayersInput) (req *reque // API operation DescribeLayers for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayers func (c *OpsWorks) DescribeLayers(input *DescribeLayersInput) (*DescribeLayersOutput, error) { @@ -2761,14 +2758,13 @@ const opDescribeLoadBasedAutoScaling = "DescribeLoadBasedAutoScaling" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLoadBasedAutoScalingRequest method. +// req, resp := client.DescribeLoadBasedAutoScalingRequest(params) // -// // Example sending a request using the DescribeLoadBasedAutoScalingRequest method. -// req, resp := client.DescribeLoadBasedAutoScalingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScaling func (c *OpsWorks) DescribeLoadBasedAutoScalingRequest(input *DescribeLoadBasedAutoScalingInput) (req *request.Request, output *DescribeLoadBasedAutoScalingOutput) { @@ -2806,11 +2802,12 @@ func (c *OpsWorks) DescribeLoadBasedAutoScalingRequest(input *DescribeLoadBasedA // API operation DescribeLoadBasedAutoScaling for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScaling func (c *OpsWorks) DescribeLoadBasedAutoScaling(input *DescribeLoadBasedAutoScalingInput) (*DescribeLoadBasedAutoScalingOutput, error) { @@ -2850,14 +2847,13 @@ const opDescribeMyUserProfile = "DescribeMyUserProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMyUserProfileRequest method. +// req, resp := client.DescribeMyUserProfileRequest(params) // -// // Example sending a request using the DescribeMyUserProfileRequest method. -// req, resp := client.DescribeMyUserProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeMyUserProfile func (c *OpsWorks) DescribeMyUserProfileRequest(input *DescribeMyUserProfileInput) (req *request.Request, output *DescribeMyUserProfileOutput) { @@ -2928,14 +2924,13 @@ const opDescribeOperatingSystems = "DescribeOperatingSystems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOperatingSystemsRequest method. +// req, resp := client.DescribeOperatingSystemsRequest(params) // -// // Example sending a request using the DescribeOperatingSystemsRequest method. -// req, resp := client.DescribeOperatingSystemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeOperatingSystems func (c *OpsWorks) DescribeOperatingSystemsRequest(input *DescribeOperatingSystemsInput) (req *request.Request, output *DescribeOperatingSystemsOutput) { @@ -3002,14 +2997,13 @@ const opDescribePermissions = "DescribePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePermissionsRequest method. +// req, resp := client.DescribePermissionsRequest(params) // -// // Example sending a request using the DescribePermissionsRequest method. -// req, resp := client.DescribePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissions func (c *OpsWorks) DescribePermissionsRequest(input *DescribePermissionsInput) (req *request.Request, output *DescribePermissionsOutput) { @@ -3045,11 +3039,12 @@ func (c *OpsWorks) DescribePermissionsRequest(input *DescribePermissionsInput) ( // API operation DescribePermissions for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissions func (c *OpsWorks) DescribePermissions(input *DescribePermissionsInput) (*DescribePermissionsOutput, error) { @@ -3089,14 +3084,13 @@ const opDescribeRaidArrays = "DescribeRaidArrays" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRaidArraysRequest method. +// req, resp := client.DescribeRaidArraysRequest(params) // -// // Example sending a request using the DescribeRaidArraysRequest method. -// req, resp := client.DescribeRaidArraysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArrays func (c *OpsWorks) DescribeRaidArraysRequest(input *DescribeRaidArraysInput) (req *request.Request, output *DescribeRaidArraysOutput) { @@ -3134,11 +3128,12 @@ func (c *OpsWorks) DescribeRaidArraysRequest(input *DescribeRaidArraysInput) (re // API operation DescribeRaidArrays for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArrays func (c *OpsWorks) DescribeRaidArrays(input *DescribeRaidArraysInput) (*DescribeRaidArraysOutput, error) { @@ -3178,14 +3173,13 @@ const opDescribeRdsDbInstances = "DescribeRdsDbInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRdsDbInstancesRequest method. +// req, resp := client.DescribeRdsDbInstancesRequest(params) // -// // Example sending a request using the DescribeRdsDbInstancesRequest method. -// req, resp := client.DescribeRdsDbInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstances func (c *OpsWorks) DescribeRdsDbInstancesRequest(input *DescribeRdsDbInstancesInput) (req *request.Request, output *DescribeRdsDbInstancesOutput) { @@ -3223,11 +3217,12 @@ func (c *OpsWorks) DescribeRdsDbInstancesRequest(input *DescribeRdsDbInstancesIn // API operation DescribeRdsDbInstances for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstances func (c *OpsWorks) DescribeRdsDbInstances(input *DescribeRdsDbInstancesInput) (*DescribeRdsDbInstancesOutput, error) { @@ -3267,14 +3262,13 @@ const opDescribeServiceErrors = "DescribeServiceErrors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeServiceErrorsRequest method. +// req, resp := client.DescribeServiceErrorsRequest(params) // -// // Example sending a request using the DescribeServiceErrorsRequest method. -// req, resp := client.DescribeServiceErrorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrors func (c *OpsWorks) DescribeServiceErrorsRequest(input *DescribeServiceErrorsInput) (req *request.Request, output *DescribeServiceErrorsOutput) { @@ -3312,11 +3306,12 @@ func (c *OpsWorks) DescribeServiceErrorsRequest(input *DescribeServiceErrorsInpu // API operation DescribeServiceErrors for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrors func (c *OpsWorks) DescribeServiceErrors(input *DescribeServiceErrorsInput) (*DescribeServiceErrorsOutput, error) { @@ -3356,14 +3351,13 @@ const opDescribeStackProvisioningParameters = "DescribeStackProvisioningParamete // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStackProvisioningParametersRequest method. +// req, resp := client.DescribeStackProvisioningParametersRequest(params) // -// // Example sending a request using the DescribeStackProvisioningParametersRequest method. -// req, resp := client.DescribeStackProvisioningParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParameters func (c *OpsWorks) DescribeStackProvisioningParametersRequest(input *DescribeStackProvisioningParametersInput) (req *request.Request, output *DescribeStackProvisioningParametersOutput) { @@ -3399,11 +3393,12 @@ func (c *OpsWorks) DescribeStackProvisioningParametersRequest(input *DescribeSta // API operation DescribeStackProvisioningParameters for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParameters func (c *OpsWorks) DescribeStackProvisioningParameters(input *DescribeStackProvisioningParametersInput) (*DescribeStackProvisioningParametersOutput, error) { @@ -3443,14 +3438,13 @@ const opDescribeStackSummary = "DescribeStackSummary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStackSummaryRequest method. +// req, resp := client.DescribeStackSummaryRequest(params) // -// // Example sending a request using the DescribeStackSummaryRequest method. -// req, resp := client.DescribeStackSummaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummary func (c *OpsWorks) DescribeStackSummaryRequest(input *DescribeStackSummaryInput) (req *request.Request, output *DescribeStackSummaryOutput) { @@ -3487,11 +3481,12 @@ func (c *OpsWorks) DescribeStackSummaryRequest(input *DescribeStackSummaryInput) // API operation DescribeStackSummary for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummary func (c *OpsWorks) DescribeStackSummary(input *DescribeStackSummaryInput) (*DescribeStackSummaryOutput, error) { @@ -3531,14 +3526,13 @@ const opDescribeStacks = "DescribeStacks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStacksRequest method. +// req, resp := client.DescribeStacksRequest(params) // -// // Example sending a request using the DescribeStacksRequest method. -// req, resp := client.DescribeStacksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacks func (c *OpsWorks) DescribeStacksRequest(input *DescribeStacksInput) (req *request.Request, output *DescribeStacksOutput) { @@ -3574,11 +3568,12 @@ func (c *OpsWorks) DescribeStacksRequest(input *DescribeStacksInput) (req *reque // API operation DescribeStacks for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacks func (c *OpsWorks) DescribeStacks(input *DescribeStacksInput) (*DescribeStacksOutput, error) { @@ -3618,14 +3613,13 @@ const opDescribeTimeBasedAutoScaling = "DescribeTimeBasedAutoScaling" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTimeBasedAutoScalingRequest method. +// req, resp := client.DescribeTimeBasedAutoScalingRequest(params) // -// // Example sending a request using the DescribeTimeBasedAutoScalingRequest method. -// req, resp := client.DescribeTimeBasedAutoScalingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScaling func (c *OpsWorks) DescribeTimeBasedAutoScalingRequest(input *DescribeTimeBasedAutoScalingInput) (req *request.Request, output *DescribeTimeBasedAutoScalingOutput) { @@ -3663,11 +3657,12 @@ func (c *OpsWorks) DescribeTimeBasedAutoScalingRequest(input *DescribeTimeBasedA // API operation DescribeTimeBasedAutoScaling for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScaling func (c *OpsWorks) DescribeTimeBasedAutoScaling(input *DescribeTimeBasedAutoScalingInput) (*DescribeTimeBasedAutoScalingOutput, error) { @@ -3707,14 +3702,13 @@ const opDescribeUserProfiles = "DescribeUserProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserProfilesRequest method. +// req, resp := client.DescribeUserProfilesRequest(params) // -// // Example sending a request using the DescribeUserProfilesRequest method. -// req, resp := client.DescribeUserProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfiles func (c *OpsWorks) DescribeUserProfilesRequest(input *DescribeUserProfilesInput) (req *request.Request, output *DescribeUserProfilesOutput) { @@ -3749,11 +3743,12 @@ func (c *OpsWorks) DescribeUserProfilesRequest(input *DescribeUserProfilesInput) // API operation DescribeUserProfiles for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfiles func (c *OpsWorks) DescribeUserProfiles(input *DescribeUserProfilesInput) (*DescribeUserProfilesOutput, error) { @@ -3793,14 +3788,13 @@ const opDescribeVolumes = "DescribeVolumes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVolumesRequest method. +// req, resp := client.DescribeVolumesRequest(params) // -// // Example sending a request using the DescribeVolumesRequest method. -// req, resp := client.DescribeVolumesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumes func (c *OpsWorks) DescribeVolumesRequest(input *DescribeVolumesInput) (req *request.Request, output *DescribeVolumesOutput) { @@ -3838,11 +3832,12 @@ func (c *OpsWorks) DescribeVolumesRequest(input *DescribeVolumesInput) (req *req // API operation DescribeVolumes for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumes func (c *OpsWorks) DescribeVolumes(input *DescribeVolumesInput) (*DescribeVolumesOutput, error) { @@ -3882,14 +3877,13 @@ const opDetachElasticLoadBalancer = "DetachElasticLoadBalancer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachElasticLoadBalancerRequest method. +// req, resp := client.DetachElasticLoadBalancerRequest(params) // -// // Example sending a request using the DetachElasticLoadBalancerRequest method. -// req, resp := client.DetachElasticLoadBalancerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancer func (c *OpsWorks) DetachElasticLoadBalancerRequest(input *DetachElasticLoadBalancerInput) (req *request.Request, output *DetachElasticLoadBalancerOutput) { @@ -3926,8 +3920,8 @@ func (c *OpsWorks) DetachElasticLoadBalancerRequest(input *DetachElasticLoadBala // API operation DetachElasticLoadBalancer for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancer func (c *OpsWorks) DetachElasticLoadBalancer(input *DetachElasticLoadBalancerInput) (*DetachElasticLoadBalancerOutput, error) { @@ -3967,14 +3961,13 @@ const opDisassociateElasticIp = "DisassociateElasticIp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateElasticIpRequest method. +// req, resp := client.DisassociateElasticIpRequest(params) // -// // Example sending a request using the DisassociateElasticIpRequest method. -// req, resp := client.DisassociateElasticIpRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIp func (c *OpsWorks) DisassociateElasticIpRequest(input *DisassociateElasticIpInput) (req *request.Request, output *DisassociateElasticIpOutput) { @@ -4013,11 +4006,12 @@ func (c *OpsWorks) DisassociateElasticIpRequest(input *DisassociateElasticIpInpu // API operation DisassociateElasticIp for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIp func (c *OpsWorks) DisassociateElasticIp(input *DisassociateElasticIpInput) (*DisassociateElasticIpOutput, error) { @@ -4057,14 +4051,13 @@ const opGetHostnameSuggestion = "GetHostnameSuggestion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetHostnameSuggestionRequest method. +// req, resp := client.GetHostnameSuggestionRequest(params) // -// // Example sending a request using the GetHostnameSuggestionRequest method. -// req, resp := client.GetHostnameSuggestionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestion func (c *OpsWorks) GetHostnameSuggestionRequest(input *GetHostnameSuggestionInput) (req *request.Request, output *GetHostnameSuggestionOutput) { @@ -4101,11 +4094,12 @@ func (c *OpsWorks) GetHostnameSuggestionRequest(input *GetHostnameSuggestionInpu // API operation GetHostnameSuggestion for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestion func (c *OpsWorks) GetHostnameSuggestion(input *GetHostnameSuggestionInput) (*GetHostnameSuggestionOutput, error) { @@ -4145,14 +4139,13 @@ const opGrantAccess = "GrantAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GrantAccessRequest method. +// req, resp := client.GrantAccessRequest(params) // -// // Example sending a request using the GrantAccessRequest method. -// req, resp := client.GrantAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccess func (c *OpsWorks) GrantAccessRequest(input *GrantAccessInput) (req *request.Request, output *GrantAccessOutput) { @@ -4173,7 +4166,6 @@ func (c *OpsWorks) GrantAccessRequest(input *GrantAccessInput) (req *request.Req // GrantAccess API operation for AWS OpsWorks. // -// // This action can be used only with Windows stacks. // // Grants RDP access to a Windows instance for a specified time period. @@ -4186,11 +4178,12 @@ func (c *OpsWorks) GrantAccessRequest(input *GrantAccessInput) (req *request.Req // API operation GrantAccess for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccess func (c *OpsWorks) GrantAccess(input *GrantAccessInput) (*GrantAccessOutput, error) { @@ -4230,14 +4223,13 @@ const opListTags = "ListTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsRequest method. +// req, resp := client.ListTagsRequest(params) // -// // Example sending a request using the ListTagsRequest method. -// req, resp := client.ListTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTags func (c *OpsWorks) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { @@ -4268,11 +4260,12 @@ func (c *OpsWorks) ListTagsRequest(input *ListTagsInput) (req *request.Request, // API operation ListTags for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTags func (c *OpsWorks) ListTags(input *ListTagsInput) (*ListTagsOutput, error) { @@ -4312,14 +4305,13 @@ const opRebootInstance = "RebootInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebootInstanceRequest method. +// req, resp := client.RebootInstanceRequest(params) // -// // Example sending a request using the RebootInstanceRequest method. -// req, resp := client.RebootInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstance func (c *OpsWorks) RebootInstanceRequest(input *RebootInstanceInput) (req *request.Request, output *RebootInstanceOutput) { @@ -4357,11 +4349,12 @@ func (c *OpsWorks) RebootInstanceRequest(input *RebootInstanceInput) (req *reque // API operation RebootInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstance func (c *OpsWorks) RebootInstance(input *RebootInstanceInput) (*RebootInstanceOutput, error) { @@ -4401,14 +4394,13 @@ const opRegisterEcsCluster = "RegisterEcsCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterEcsClusterRequest method. +// req, resp := client.RegisterEcsClusterRequest(params) // -// // Example sending a request using the RegisterEcsClusterRequest method. -// req, resp := client.RegisterEcsClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsCluster func (c *OpsWorks) RegisterEcsClusterRequest(input *RegisterEcsClusterInput) (req *request.Request, output *RegisterEcsClusterOutput) { @@ -4446,11 +4438,12 @@ func (c *OpsWorks) RegisterEcsClusterRequest(input *RegisterEcsClusterInput) (re // API operation RegisterEcsCluster for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsCluster func (c *OpsWorks) RegisterEcsCluster(input *RegisterEcsClusterInput) (*RegisterEcsClusterOutput, error) { @@ -4490,14 +4483,13 @@ const opRegisterElasticIp = "RegisterElasticIp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterElasticIpRequest method. +// req, resp := client.RegisterElasticIpRequest(params) // -// // Example sending a request using the RegisterElasticIpRequest method. -// req, resp := client.RegisterElasticIpRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIp func (c *OpsWorks) RegisterElasticIpRequest(input *RegisterElasticIpInput) (req *request.Request, output *RegisterElasticIpOutput) { @@ -4536,11 +4528,12 @@ func (c *OpsWorks) RegisterElasticIpRequest(input *RegisterElasticIpInput) (req // API operation RegisterElasticIp for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIp func (c *OpsWorks) RegisterElasticIp(input *RegisterElasticIpInput) (*RegisterElasticIpOutput, error) { @@ -4580,14 +4573,13 @@ const opRegisterInstance = "RegisterInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterInstanceRequest method. +// req, resp := client.RegisterInstanceRequest(params) // -// // Example sending a request using the RegisterInstanceRequest method. -// req, resp := client.RegisterInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstance func (c *OpsWorks) RegisterInstanceRequest(input *RegisterInstanceInput) (req *request.Request, output *RegisterInstanceOutput) { @@ -4637,11 +4629,12 @@ func (c *OpsWorks) RegisterInstanceRequest(input *RegisterInstanceInput) (req *r // API operation RegisterInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstance func (c *OpsWorks) RegisterInstance(input *RegisterInstanceInput) (*RegisterInstanceOutput, error) { @@ -4681,14 +4674,13 @@ const opRegisterRdsDbInstance = "RegisterRdsDbInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterRdsDbInstanceRequest method. +// req, resp := client.RegisterRdsDbInstanceRequest(params) // -// // Example sending a request using the RegisterRdsDbInstanceRequest method. -// req, resp := client.RegisterRdsDbInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstance func (c *OpsWorks) RegisterRdsDbInstanceRequest(input *RegisterRdsDbInstanceInput) (req *request.Request, output *RegisterRdsDbInstanceOutput) { @@ -4725,11 +4717,12 @@ func (c *OpsWorks) RegisterRdsDbInstanceRequest(input *RegisterRdsDbInstanceInpu // API operation RegisterRdsDbInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstance func (c *OpsWorks) RegisterRdsDbInstance(input *RegisterRdsDbInstanceInput) (*RegisterRdsDbInstanceOutput, error) { @@ -4769,14 +4762,13 @@ const opRegisterVolume = "RegisterVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterVolumeRequest method. +// req, resp := client.RegisterVolumeRequest(params) // -// // Example sending a request using the RegisterVolumeRequest method. -// req, resp := client.RegisterVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolume func (c *OpsWorks) RegisterVolumeRequest(input *RegisterVolumeInput) (req *request.Request, output *RegisterVolumeOutput) { @@ -4815,11 +4807,12 @@ func (c *OpsWorks) RegisterVolumeRequest(input *RegisterVolumeInput) (req *reque // API operation RegisterVolume for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolume func (c *OpsWorks) RegisterVolume(input *RegisterVolumeInput) (*RegisterVolumeOutput, error) { @@ -4859,14 +4852,13 @@ const opSetLoadBasedAutoScaling = "SetLoadBasedAutoScaling" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetLoadBasedAutoScalingRequest method. +// req, resp := client.SetLoadBasedAutoScalingRequest(params) // -// // Example sending a request using the SetLoadBasedAutoScalingRequest method. -// req, resp := client.SetLoadBasedAutoScalingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScaling func (c *OpsWorks) SetLoadBasedAutoScalingRequest(input *SetLoadBasedAutoScalingInput) (req *request.Request, output *SetLoadBasedAutoScalingOutput) { @@ -4910,11 +4902,12 @@ func (c *OpsWorks) SetLoadBasedAutoScalingRequest(input *SetLoadBasedAutoScaling // API operation SetLoadBasedAutoScaling for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScaling func (c *OpsWorks) SetLoadBasedAutoScaling(input *SetLoadBasedAutoScalingInput) (*SetLoadBasedAutoScalingOutput, error) { @@ -4954,14 +4947,13 @@ const opSetPermission = "SetPermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetPermissionRequest method. +// req, resp := client.SetPermissionRequest(params) // -// // Example sending a request using the SetPermissionRequest method. -// req, resp := client.SetPermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermission func (c *OpsWorks) SetPermissionRequest(input *SetPermissionInput) (req *request.Request, output *SetPermissionOutput) { @@ -4999,11 +4991,12 @@ func (c *OpsWorks) SetPermissionRequest(input *SetPermissionInput) (req *request // API operation SetPermission for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermission func (c *OpsWorks) SetPermission(input *SetPermissionInput) (*SetPermissionOutput, error) { @@ -5043,14 +5036,13 @@ const opSetTimeBasedAutoScaling = "SetTimeBasedAutoScaling" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetTimeBasedAutoScalingRequest method. +// req, resp := client.SetTimeBasedAutoScalingRequest(params) // -// // Example sending a request using the SetTimeBasedAutoScalingRequest method. -// req, resp := client.SetTimeBasedAutoScalingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScaling func (c *OpsWorks) SetTimeBasedAutoScalingRequest(input *SetTimeBasedAutoScalingInput) (req *request.Request, output *SetTimeBasedAutoScalingOutput) { @@ -5089,11 +5081,12 @@ func (c *OpsWorks) SetTimeBasedAutoScalingRequest(input *SetTimeBasedAutoScaling // API operation SetTimeBasedAutoScaling for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScaling func (c *OpsWorks) SetTimeBasedAutoScaling(input *SetTimeBasedAutoScalingInput) (*SetTimeBasedAutoScalingOutput, error) { @@ -5133,14 +5126,13 @@ const opStartInstance = "StartInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartInstanceRequest method. +// req, resp := client.StartInstanceRequest(params) // -// // Example sending a request using the StartInstanceRequest method. -// req, resp := client.StartInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstance func (c *OpsWorks) StartInstanceRequest(input *StartInstanceInput) (req *request.Request, output *StartInstanceOutput) { @@ -5178,11 +5170,12 @@ func (c *OpsWorks) StartInstanceRequest(input *StartInstanceInput) (req *request // API operation StartInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstance func (c *OpsWorks) StartInstance(input *StartInstanceInput) (*StartInstanceOutput, error) { @@ -5222,14 +5215,13 @@ const opStartStack = "StartStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartStackRequest method. +// req, resp := client.StartStackRequest(params) // -// // Example sending a request using the StartStackRequest method. -// req, resp := client.StartStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStack func (c *OpsWorks) StartStackRequest(input *StartStackInput) (req *request.Request, output *StartStackOutput) { @@ -5266,11 +5258,12 @@ func (c *OpsWorks) StartStackRequest(input *StartStackInput) (req *request.Reque // API operation StartStack for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStack func (c *OpsWorks) StartStack(input *StartStackInput) (*StartStackOutput, error) { @@ -5310,14 +5303,13 @@ const opStopInstance = "StopInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopInstanceRequest method. +// req, resp := client.StopInstanceRequest(params) // -// // Example sending a request using the StopInstanceRequest method. -// req, resp := client.StopInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstance func (c *OpsWorks) StopInstanceRequest(input *StopInstanceInput) (req *request.Request, output *StopInstanceOutput) { @@ -5357,11 +5349,12 @@ func (c *OpsWorks) StopInstanceRequest(input *StopInstanceInput) (req *request.R // API operation StopInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstance func (c *OpsWorks) StopInstance(input *StopInstanceInput) (*StopInstanceOutput, error) { @@ -5401,14 +5394,13 @@ const opStopStack = "StopStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopStackRequest method. +// req, resp := client.StopStackRequest(params) // -// // Example sending a request using the StopStackRequest method. -// req, resp := client.StopStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStack func (c *OpsWorks) StopStackRequest(input *StopStackInput) (req *request.Request, output *StopStackOutput) { @@ -5445,11 +5437,12 @@ func (c *OpsWorks) StopStackRequest(input *StopStackInput) (req *request.Request // API operation StopStack for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStack func (c *OpsWorks) StopStack(input *StopStackInput) (*StopStackOutput, error) { @@ -5489,14 +5482,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResource func (c *OpsWorks) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -5530,11 +5522,12 @@ func (c *OpsWorks) TagResourceRequest(input *TagResourceInput) (req *request.Req // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResource func (c *OpsWorks) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -5574,14 +5567,13 @@ const opUnassignInstance = "UnassignInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnassignInstanceRequest method. +// req, resp := client.UnassignInstanceRequest(params) // -// // Example sending a request using the UnassignInstanceRequest method. -// req, resp := client.UnassignInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstance func (c *OpsWorks) UnassignInstanceRequest(input *UnassignInstanceInput) (req *request.Request, output *UnassignInstanceOutput) { @@ -5621,11 +5613,12 @@ func (c *OpsWorks) UnassignInstanceRequest(input *UnassignInstanceInput) (req *r // API operation UnassignInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstance func (c *OpsWorks) UnassignInstance(input *UnassignInstanceInput) (*UnassignInstanceOutput, error) { @@ -5665,14 +5658,13 @@ const opUnassignVolume = "UnassignVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnassignVolumeRequest method. +// req, resp := client.UnassignVolumeRequest(params) // -// // Example sending a request using the UnassignVolumeRequest method. -// req, resp := client.UnassignVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolume func (c *OpsWorks) UnassignVolumeRequest(input *UnassignVolumeInput) (req *request.Request, output *UnassignVolumeOutput) { @@ -5710,11 +5702,12 @@ func (c *OpsWorks) UnassignVolumeRequest(input *UnassignVolumeInput) (req *reque // API operation UnassignVolume for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolume func (c *OpsWorks) UnassignVolume(input *UnassignVolumeInput) (*UnassignVolumeOutput, error) { @@ -5754,14 +5747,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResource func (c *OpsWorks) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -5793,11 +5785,12 @@ func (c *OpsWorks) UntagResourceRequest(input *UntagResourceInput) (req *request // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResource func (c *OpsWorks) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -5837,14 +5830,13 @@ const opUpdateApp = "UpdateApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAppRequest method. +// req, resp := client.UpdateAppRequest(params) // -// // Example sending a request using the UpdateAppRequest method. -// req, resp := client.UpdateAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateApp func (c *OpsWorks) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, output *UpdateAppOutput) { @@ -5881,11 +5873,12 @@ func (c *OpsWorks) UpdateAppRequest(input *UpdateAppInput) (req *request.Request // API operation UpdateApp for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateApp func (c *OpsWorks) UpdateApp(input *UpdateAppInput) (*UpdateAppOutput, error) { @@ -5925,14 +5918,13 @@ const opUpdateElasticIp = "UpdateElasticIp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateElasticIpRequest method. +// req, resp := client.UpdateElasticIpRequest(params) // -// // Example sending a request using the UpdateElasticIpRequest method. -// req, resp := client.UpdateElasticIpRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIp func (c *OpsWorks) UpdateElasticIpRequest(input *UpdateElasticIpInput) (req *request.Request, output *UpdateElasticIpOutput) { @@ -5970,11 +5962,12 @@ func (c *OpsWorks) UpdateElasticIpRequest(input *UpdateElasticIpInput) (req *req // API operation UpdateElasticIp for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIp func (c *OpsWorks) UpdateElasticIp(input *UpdateElasticIpInput) (*UpdateElasticIpOutput, error) { @@ -6014,14 +6007,13 @@ const opUpdateInstance = "UpdateInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateInstanceRequest method. +// req, resp := client.UpdateInstanceRequest(params) // -// // Example sending a request using the UpdateInstanceRequest method. -// req, resp := client.UpdateInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstance func (c *OpsWorks) UpdateInstanceRequest(input *UpdateInstanceInput) (req *request.Request, output *UpdateInstanceOutput) { @@ -6058,11 +6050,12 @@ func (c *OpsWorks) UpdateInstanceRequest(input *UpdateInstanceInput) (req *reque // API operation UpdateInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstance func (c *OpsWorks) UpdateInstance(input *UpdateInstanceInput) (*UpdateInstanceOutput, error) { @@ -6102,14 +6095,13 @@ const opUpdateLayer = "UpdateLayer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLayerRequest method. +// req, resp := client.UpdateLayerRequest(params) // -// // Example sending a request using the UpdateLayerRequest method. -// req, resp := client.UpdateLayerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayer func (c *OpsWorks) UpdateLayerRequest(input *UpdateLayerInput) (req *request.Request, output *UpdateLayerOutput) { @@ -6146,11 +6138,12 @@ func (c *OpsWorks) UpdateLayerRequest(input *UpdateLayerInput) (req *request.Req // API operation UpdateLayer for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayer func (c *OpsWorks) UpdateLayer(input *UpdateLayerInput) (*UpdateLayerOutput, error) { @@ -6190,14 +6183,13 @@ const opUpdateMyUserProfile = "UpdateMyUserProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMyUserProfileRequest method. +// req, resp := client.UpdateMyUserProfileRequest(params) // -// // Example sending a request using the UpdateMyUserProfileRequest method. -// req, resp := client.UpdateMyUserProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfile func (c *OpsWorks) UpdateMyUserProfileRequest(input *UpdateMyUserProfileInput) (req *request.Request, output *UpdateMyUserProfileOutput) { @@ -6233,8 +6225,8 @@ func (c *OpsWorks) UpdateMyUserProfileRequest(input *UpdateMyUserProfileInput) ( // API operation UpdateMyUserProfile for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfile func (c *OpsWorks) UpdateMyUserProfile(input *UpdateMyUserProfileInput) (*UpdateMyUserProfileOutput, error) { @@ -6274,14 +6266,13 @@ const opUpdateRdsDbInstance = "UpdateRdsDbInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRdsDbInstanceRequest method. +// req, resp := client.UpdateRdsDbInstanceRequest(params) // -// // Example sending a request using the UpdateRdsDbInstanceRequest method. -// req, resp := client.UpdateRdsDbInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstance func (c *OpsWorks) UpdateRdsDbInstanceRequest(input *UpdateRdsDbInstanceInput) (req *request.Request, output *UpdateRdsDbInstanceOutput) { @@ -6318,11 +6309,12 @@ func (c *OpsWorks) UpdateRdsDbInstanceRequest(input *UpdateRdsDbInstanceInput) ( // API operation UpdateRdsDbInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstance func (c *OpsWorks) UpdateRdsDbInstance(input *UpdateRdsDbInstanceInput) (*UpdateRdsDbInstanceOutput, error) { @@ -6362,14 +6354,13 @@ const opUpdateStack = "UpdateStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStackRequest method. +// req, resp := client.UpdateStackRequest(params) // -// // Example sending a request using the UpdateStackRequest method. -// req, resp := client.UpdateStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStack func (c *OpsWorks) UpdateStackRequest(input *UpdateStackInput) (req *request.Request, output *UpdateStackOutput) { @@ -6406,11 +6397,12 @@ func (c *OpsWorks) UpdateStackRequest(input *UpdateStackInput) (req *request.Req // API operation UpdateStack for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStack func (c *OpsWorks) UpdateStack(input *UpdateStackInput) (*UpdateStackOutput, error) { @@ -6450,14 +6442,13 @@ const opUpdateUserProfile = "UpdateUserProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserProfileRequest method. +// req, resp := client.UpdateUserProfileRequest(params) // -// // Example sending a request using the UpdateUserProfileRequest method. -// req, resp := client.UpdateUserProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfile func (c *OpsWorks) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req *request.Request, output *UpdateUserProfileOutput) { @@ -6493,11 +6484,12 @@ func (c *OpsWorks) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req // API operation UpdateUserProfile for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfile func (c *OpsWorks) UpdateUserProfile(input *UpdateUserProfileInput) (*UpdateUserProfileOutput, error) { @@ -6537,14 +6529,13 @@ const opUpdateVolume = "UpdateVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVolumeRequest method. +// req, resp := client.UpdateVolumeRequest(params) // -// // Example sending a request using the UpdateVolumeRequest method. -// req, resp := client.UpdateVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolume func (c *OpsWorks) UpdateVolumeRequest(input *UpdateVolumeInput) (req *request.Request, output *UpdateVolumeOutput) { @@ -6582,11 +6573,12 @@ func (c *OpsWorks) UpdateVolumeRequest(input *UpdateVolumeInput) (req *request.R // API operation UpdateVolume for usage and error information. // // Returned Error Types: -// * ValidationException -// Indicates that a request was not valid. // -// * ResourceNotFoundException -// Indicates that a resource was not found. +// - ValidationException +// Indicates that a request was not valid. +// +// - ResourceNotFoundException +// Indicates that a resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolume func (c *OpsWorks) UpdateVolume(input *UpdateVolumeInput) (*UpdateVolumeOutput, error) { @@ -19046,11 +19038,11 @@ func (s *VolumeConfiguration) SetVolumeType(v string) *VolumeConfiguration { // Describes a time-based instance's auto scaling schedule. The schedule consists // of a set of key-value pairs. // -// * The key is the time period (a UTC hour) and must be an integer from -// 0 - 23. +// - The key is the time period (a UTC hour) and must be an integer from +// 0 - 23. // -// * The value indicates whether the instance should be online or offline -// for the specified period, and must be set to "on" or "off" +// - The value indicates whether the instance should be online or offline +// for the specified period, and must be set to "on" or "off" // // The default setting for all time periods is off, so you use the following // parameters primarily to specify the online periods. You don't have to explicitly diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/doc.go index 28c9722144aa..66091af6e21a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/doc.go @@ -12,64 +12,64 @@ // For information about this product, go to the AWS OpsWorks (http://aws.amazon.com/opsworks/) // details page. // -// SDKs and CLI +// # SDKs and CLI // // The most common way to use the AWS OpsWorks Stacks API is by using the AWS // Command Line Interface (CLI) or by using one of the AWS SDKs to implement // applications in your preferred language. For more information, see: // -// * AWS CLI (https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html) +// - AWS CLI (https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html) // -// * AWS SDK for Java (https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/opsworks/AWSOpsWorksClient.html) +// - AWS SDK for Java (https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/opsworks/AWSOpsWorksClient.html) // -// * AWS SDK for .NET (https://docs.aws.amazon.com/sdkfornet/latest/apidocs/html/N_Amazon_OpsWorks.htm) +// - AWS SDK for .NET (https://docs.aws.amazon.com/sdkfornet/latest/apidocs/html/N_Amazon_OpsWorks.htm) // -// * AWS SDK for PHP 2 (https://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.OpsWorks.OpsWorksClient.html) +// - AWS SDK for PHP 2 (https://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.OpsWorks.OpsWorksClient.html) // -// * AWS SDK for Ruby (http://docs.aws.amazon.com/sdkforruby/api/) +// - AWS SDK for Ruby (http://docs.aws.amazon.com/sdkforruby/api/) // -// * AWS SDK for Node.js (http://aws.amazon.com/documentation/sdkforjavascript/) +// - AWS SDK for Node.js (http://aws.amazon.com/documentation/sdkforjavascript/) // -// * AWS SDK for Python(Boto) (http://docs.pythonboto.org/en/latest/ref/opsworks.html) +// - AWS SDK for Python(Boto) (http://docs.pythonboto.org/en/latest/ref/opsworks.html) // -// Endpoints +// # Endpoints // // AWS OpsWorks Stacks supports the following endpoints, all HTTPS. You must // connect to one of the following endpoints. Stacks can only be accessed or // managed within the endpoint in which they are created. // -// * opsworks.us-east-1.amazonaws.com +// - opsworks.us-east-1.amazonaws.com // -// * opsworks.us-east-2.amazonaws.com +// - opsworks.us-east-2.amazonaws.com // -// * opsworks.us-west-1.amazonaws.com +// - opsworks.us-west-1.amazonaws.com // -// * opsworks.us-west-2.amazonaws.com +// - opsworks.us-west-2.amazonaws.com // -// * opsworks.ca-central-1.amazonaws.com (API only; not available in the -// AWS console) +// - opsworks.ca-central-1.amazonaws.com (API only; not available in the +// AWS console) // -// * opsworks.eu-west-1.amazonaws.com +// - opsworks.eu-west-1.amazonaws.com // -// * opsworks.eu-west-2.amazonaws.com +// - opsworks.eu-west-2.amazonaws.com // -// * opsworks.eu-west-3.amazonaws.com +// - opsworks.eu-west-3.amazonaws.com // -// * opsworks.eu-central-1.amazonaws.com +// - opsworks.eu-central-1.amazonaws.com // -// * opsworks.ap-northeast-1.amazonaws.com +// - opsworks.ap-northeast-1.amazonaws.com // -// * opsworks.ap-northeast-2.amazonaws.com +// - opsworks.ap-northeast-2.amazonaws.com // -// * opsworks.ap-south-1.amazonaws.com +// - opsworks.ap-south-1.amazonaws.com // -// * opsworks.ap-southeast-1.amazonaws.com +// - opsworks.ap-southeast-1.amazonaws.com // -// * opsworks.ap-southeast-2.amazonaws.com +// - opsworks.ap-southeast-2.amazonaws.com // -// * opsworks.sa-east-1.amazonaws.com +// - opsworks.sa-east-1.amazonaws.com // -// Chef Versions +// # Chef Versions // // When you call CreateStack, CloneStack, or UpdateStack we recommend you use // the ConfigurationManager parameter to specify the Chef version. The recommended @@ -84,7 +84,7 @@ // See opsworks package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/opsworks/ // -// Using the Client +// # Using the Client // // To contact AWS OpsWorks with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/opsworksiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/opsworksiface/interface.go index f6ae9fe5121a..3f0d2244a4c9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/opsworksiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/opsworksiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS OpsWorks. -// func myFunc(svc opsworksiface.OpsWorksAPI) bool { -// // Make svc.AssignInstance request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS OpsWorks. +// func myFunc(svc opsworksiface.OpsWorksAPI) bool { +// // Make svc.AssignInstance request +// } // -// func main() { -// sess := session.New() -// svc := opsworks.New(sess) +// func main() { +// sess := session.New() +// svc := opsworks.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockOpsWorksClient struct { -// opsworksiface.OpsWorksAPI -// } -// func (m *mockOpsWorksClient) AssignInstance(input *opsworks.AssignInstanceInput) (*opsworks.AssignInstanceOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockOpsWorksClient struct { +// opsworksiface.OpsWorksAPI +// } +// func (m *mockOpsWorksClient) AssignInstance(input *opsworks.AssignInstanceInput) (*opsworks.AssignInstanceOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockOpsWorksClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockOpsWorksClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/service.go index 78b4af6b1b0d..7e1363516b84 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworks/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OpsWorks client from just a session. -// svc := opsworks.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OpsWorks client with additional configuration -// svc := opsworks.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OpsWorks client from just a session. +// svc := opsworks.New(mySession) +// +// // Create a OpsWorks client with additional configuration +// svc := opsworks.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *OpsWorks { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/api.go index 6bbb0d462e57..31f7ec3f9e93 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/api.go @@ -29,14 +29,13 @@ const opAssociateNode = "AssociateNode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateNodeRequest method. +// req, resp := client.AssociateNodeRequest(params) // -// // Example sending a request using the AssociateNodeRequest method. -// req, resp := client.AssociateNodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/AssociateNode func (c *OpsWorksCM) AssociateNodeRequest(input *AssociateNodeInput) (req *request.Request, output *AssociateNodeOutput) { @@ -87,15 +86,16 @@ func (c *OpsWorksCM) AssociateNodeRequest(input *AssociateNodeInput) (req *reque // API operation AssociateNode for usage and error information. // // Returned Error Types: -// * InvalidStateException -// The resource is in a state that does not allow you to perform a specified -// action. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - InvalidStateException +// The resource is in a state that does not allow you to perform a specified +// action. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ValidationException -// One or more of the provided request parameters are not valid. +// - ValidationException +// One or more of the provided request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/AssociateNode func (c *OpsWorksCM) AssociateNode(input *AssociateNodeInput) (*AssociateNodeOutput, error) { @@ -135,14 +135,13 @@ const opCreateBackup = "CreateBackup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBackupRequest method. +// req, resp := client.CreateBackupRequest(params) // -// // Example sending a request using the CreateBackupRequest method. -// req, resp := client.CreateBackupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateBackup func (c *OpsWorksCM) CreateBackupRequest(input *CreateBackupInput) (req *request.Request, output *CreateBackupOutput) { @@ -186,18 +185,19 @@ func (c *OpsWorksCM) CreateBackupRequest(input *CreateBackupInput) (req *request // API operation CreateBackup for usage and error information. // // Returned Error Types: -// * InvalidStateException -// The resource is in a state that does not allow you to perform a specified -// action. // -// * LimitExceededException -// The limit of servers or backups has been reached. +// - InvalidStateException +// The resource is in a state that does not allow you to perform a specified +// action. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - LimitExceededException +// The limit of servers or backups has been reached. // -// * ValidationException -// One or more of the provided request parameters are not valid. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. +// +// - ValidationException +// One or more of the provided request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateBackup func (c *OpsWorksCM) CreateBackup(input *CreateBackupInput) (*CreateBackupOutput, error) { @@ -237,14 +237,13 @@ const opCreateServer = "CreateServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateServerRequest method. +// req, resp := client.CreateServerRequest(params) // -// // Example sending a request using the CreateServerRequest method. -// req, resp := client.CreateServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateServer func (c *OpsWorksCM) CreateServerRequest(input *CreateServerInput) (req *request.Request, output *CreateServerOutput) { @@ -305,17 +304,18 @@ func (c *OpsWorksCM) CreateServerRequest(input *CreateServerInput) (req *request // API operation CreateServer for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The limit of servers or backups has been reached. // -// * ResourceAlreadyExistsException -// The requested resource cannot be created because it already exists. +// - LimitExceededException +// The limit of servers or backups has been reached. +// +// - ResourceAlreadyExistsException +// The requested resource cannot be created because it already exists. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ValidationException -// One or more of the provided request parameters are not valid. +// - ValidationException +// One or more of the provided request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/CreateServer func (c *OpsWorksCM) CreateServer(input *CreateServerInput) (*CreateServerOutput, error) { @@ -355,14 +355,13 @@ const opDeleteBackup = "DeleteBackup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBackupRequest method. +// req, resp := client.DeleteBackupRequest(params) // -// // Example sending a request using the DeleteBackupRequest method. -// req, resp := client.DeleteBackupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteBackup func (c *OpsWorksCM) DeleteBackupRequest(input *DeleteBackupInput) (req *request.Request, output *DeleteBackupOutput) { @@ -399,15 +398,16 @@ func (c *OpsWorksCM) DeleteBackupRequest(input *DeleteBackupInput) (req *request // API operation DeleteBackup for usage and error information. // // Returned Error Types: -// * InvalidStateException -// The resource is in a state that does not allow you to perform a specified -// action. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - InvalidStateException +// The resource is in a state that does not allow you to perform a specified +// action. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ValidationException -// One or more of the provided request parameters are not valid. +// - ValidationException +// One or more of the provided request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteBackup func (c *OpsWorksCM) DeleteBackup(input *DeleteBackupInput) (*DeleteBackupOutput, error) { @@ -447,14 +447,13 @@ const opDeleteServer = "DeleteServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServerRequest method. +// req, resp := client.DeleteServerRequest(params) // -// // Example sending a request using the DeleteServerRequest method. -// req, resp := client.DeleteServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteServer func (c *OpsWorksCM) DeleteServerRequest(input *DeleteServerInput) (req *request.Request, output *DeleteServerOutput) { @@ -496,15 +495,16 @@ func (c *OpsWorksCM) DeleteServerRequest(input *DeleteServerInput) (req *request // API operation DeleteServer for usage and error information. // // Returned Error Types: -// * InvalidStateException -// The resource is in a state that does not allow you to perform a specified -// action. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - InvalidStateException +// The resource is in a state that does not allow you to perform a specified +// action. // -// * ValidationException -// One or more of the provided request parameters are not valid. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. +// +// - ValidationException +// One or more of the provided request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DeleteServer func (c *OpsWorksCM) DeleteServer(input *DeleteServerInput) (*DeleteServerOutput, error) { @@ -544,14 +544,13 @@ const opDescribeAccountAttributes = "DescribeAccountAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountAttributesRequest method. +// req, resp := client.DescribeAccountAttributesRequest(params) // -// // Example sending a request using the DescribeAccountAttributesRequest method. -// req, resp := client.DescribeAccountAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeAccountAttributes func (c *OpsWorksCM) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput) { @@ -620,14 +619,13 @@ const opDescribeBackups = "DescribeBackups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBackupsRequest method. +// req, resp := client.DescribeBackupsRequest(params) // -// // Example sending a request using the DescribeBackupsRequest method. -// req, resp := client.DescribeBackupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeBackups func (c *OpsWorksCM) DescribeBackupsRequest(input *DescribeBackupsInput) (req *request.Request, output *DescribeBackupsOutput) { @@ -670,14 +668,15 @@ func (c *OpsWorksCM) DescribeBackupsRequest(input *DescribeBackupsInput) (req *r // API operation DescribeBackups for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more of the provided request parameters are not valid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ValidationException +// One or more of the provided request parameters are not valid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * InvalidNextTokenException -// This occurs when the provided nextToken is not valid. +// - InvalidNextTokenException +// This occurs when the provided nextToken is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeBackups func (c *OpsWorksCM) DescribeBackups(input *DescribeBackupsInput) (*DescribeBackupsOutput, error) { @@ -709,15 +708,14 @@ func (c *OpsWorksCM) DescribeBackupsWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeBackups operation. -// pageNum := 0 -// err := client.DescribeBackupsPages(params, -// func(page *opsworkscm.DescribeBackupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeBackups operation. +// pageNum := 0 +// err := client.DescribeBackupsPages(params, +// func(page *opsworkscm.DescribeBackupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpsWorksCM) DescribeBackupsPages(input *DescribeBackupsInput, fn func(*DescribeBackupsOutput, bool) bool) error { return c.DescribeBackupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -769,14 +767,13 @@ const opDescribeEvents = "DescribeEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventsRequest method. +// req, resp := client.DescribeEventsRequest(params) // -// // Example sending a request using the DescribeEventsRequest method. -// req, resp := client.DescribeEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeEvents func (c *OpsWorksCM) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { @@ -819,14 +816,15 @@ func (c *OpsWorksCM) DescribeEventsRequest(input *DescribeEventsInput) (req *req // API operation DescribeEvents for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more of the provided request parameters are not valid. // -// * InvalidNextTokenException -// This occurs when the provided nextToken is not valid. +// - ValidationException +// One or more of the provided request parameters are not valid. +// +// - InvalidNextTokenException +// This occurs when the provided nextToken is not valid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeEvents func (c *OpsWorksCM) DescribeEvents(input *DescribeEventsInput) (*DescribeEventsOutput, error) { @@ -858,15 +856,14 @@ func (c *OpsWorksCM) DescribeEventsWithContext(ctx aws.Context, input *DescribeE // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEvents operation. -// pageNum := 0 -// err := client.DescribeEventsPages(params, -// func(page *opsworkscm.DescribeEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEvents operation. +// pageNum := 0 +// err := client.DescribeEventsPages(params, +// func(page *opsworkscm.DescribeEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpsWorksCM) DescribeEventsPages(input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool) error { return c.DescribeEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -918,14 +915,13 @@ const opDescribeNodeAssociationStatus = "DescribeNodeAssociationStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNodeAssociationStatusRequest method. +// req, resp := client.DescribeNodeAssociationStatusRequest(params) // -// // Example sending a request using the DescribeNodeAssociationStatusRequest method. -// req, resp := client.DescribeNodeAssociationStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeNodeAssociationStatus func (c *OpsWorksCM) DescribeNodeAssociationStatusRequest(input *DescribeNodeAssociationStatusInput) (req *request.Request, output *DescribeNodeAssociationStatusOutput) { @@ -960,11 +956,12 @@ func (c *OpsWorksCM) DescribeNodeAssociationStatusRequest(input *DescribeNodeAss // API operation DescribeNodeAssociationStatus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. // -// * ValidationException -// One or more of the provided request parameters are not valid. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. +// +// - ValidationException +// One or more of the provided request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeNodeAssociationStatus func (c *OpsWorksCM) DescribeNodeAssociationStatus(input *DescribeNodeAssociationStatusInput) (*DescribeNodeAssociationStatusOutput, error) { @@ -1004,14 +1001,13 @@ const opDescribeServers = "DescribeServers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeServersRequest method. +// req, resp := client.DescribeServersRequest(params) // -// // Example sending a request using the DescribeServersRequest method. -// req, resp := client.DescribeServersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeServers func (c *OpsWorksCM) DescribeServersRequest(input *DescribeServersInput) (req *request.Request, output *DescribeServersOutput) { @@ -1055,14 +1051,15 @@ func (c *OpsWorksCM) DescribeServersRequest(input *DescribeServersInput) (req *r // API operation DescribeServers for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more of the provided request parameters are not valid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ValidationException +// One or more of the provided request parameters are not valid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * InvalidNextTokenException -// This occurs when the provided nextToken is not valid. +// - InvalidNextTokenException +// This occurs when the provided nextToken is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DescribeServers func (c *OpsWorksCM) DescribeServers(input *DescribeServersInput) (*DescribeServersOutput, error) { @@ -1094,15 +1091,14 @@ func (c *OpsWorksCM) DescribeServersWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeServers operation. -// pageNum := 0 -// err := client.DescribeServersPages(params, -// func(page *opsworkscm.DescribeServersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeServers operation. +// pageNum := 0 +// err := client.DescribeServersPages(params, +// func(page *opsworkscm.DescribeServersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpsWorksCM) DescribeServersPages(input *DescribeServersInput, fn func(*DescribeServersOutput, bool) bool) error { return c.DescribeServersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1154,14 +1150,13 @@ const opDisassociateNode = "DisassociateNode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateNodeRequest method. +// req, resp := client.DisassociateNodeRequest(params) // -// // Example sending a request using the DisassociateNodeRequest method. -// req, resp := client.DisassociateNodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DisassociateNode func (c *OpsWorksCM) DisassociateNodeRequest(input *DisassociateNodeInput) (req *request.Request, output *DisassociateNodeOutput) { @@ -1200,15 +1195,16 @@ func (c *OpsWorksCM) DisassociateNodeRequest(input *DisassociateNodeInput) (req // API operation DisassociateNode for usage and error information. // // Returned Error Types: -// * InvalidStateException -// The resource is in a state that does not allow you to perform a specified -// action. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - InvalidStateException +// The resource is in a state that does not allow you to perform a specified +// action. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ValidationException -// One or more of the provided request parameters are not valid. +// - ValidationException +// One or more of the provided request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/DisassociateNode func (c *OpsWorksCM) DisassociateNode(input *DisassociateNodeInput) (*DisassociateNodeOutput, error) { @@ -1248,14 +1244,13 @@ const opExportServerEngineAttribute = "ExportServerEngineAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportServerEngineAttributeRequest method. +// req, resp := client.ExportServerEngineAttributeRequest(params) // -// // Example sending a request using the ExportServerEngineAttributeRequest method. -// req, resp := client.ExportServerEngineAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/ExportServerEngineAttribute func (c *OpsWorksCM) ExportServerEngineAttributeRequest(input *ExportServerEngineAttributeInput) (req *request.Request, output *ExportServerEngineAttributeOutput) { @@ -1295,15 +1290,16 @@ func (c *OpsWorksCM) ExportServerEngineAttributeRequest(input *ExportServerEngin // API operation ExportServerEngineAttribute for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more of the provided request parameters are not valid. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - ValidationException +// One or more of the provided request parameters are not valid. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * InvalidStateException -// The resource is in a state that does not allow you to perform a specified -// action. +// - InvalidStateException +// The resource is in a state that does not allow you to perform a specified +// action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/ExportServerEngineAttribute func (c *OpsWorksCM) ExportServerEngineAttribute(input *ExportServerEngineAttributeInput) (*ExportServerEngineAttributeOutput, error) { @@ -1343,14 +1339,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/ListTagsForResource func (c *OpsWorksCM) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1388,11 +1383,12 @@ func (c *OpsWorksCM) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. // -// * ValidationException -// One or more of the provided request parameters are not valid. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. +// +// - ValidationException +// One or more of the provided request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/ListTagsForResource func (c *OpsWorksCM) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1424,15 +1420,14 @@ func (c *OpsWorksCM) ListTagsForResourceWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *opsworkscm.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *opsworkscm.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *OpsWorksCM) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1484,14 +1479,13 @@ const opRestoreServer = "RestoreServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreServerRequest method. +// req, resp := client.RestoreServerRequest(params) // -// // Example sending a request using the RestoreServerRequest method. -// req, resp := client.RestoreServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/RestoreServer func (c *OpsWorksCM) RestoreServerRequest(input *RestoreServerInput) (req *request.Request, output *RestoreServerOutput) { @@ -1538,15 +1532,16 @@ func (c *OpsWorksCM) RestoreServerRequest(input *RestoreServerInput) (req *reque // API operation RestoreServer for usage and error information. // // Returned Error Types: -// * InvalidStateException -// The resource is in a state that does not allow you to perform a specified -// action. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - InvalidStateException +// The resource is in a state that does not allow you to perform a specified +// action. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ValidationException -// One or more of the provided request parameters are not valid. +// - ValidationException +// One or more of the provided request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/RestoreServer func (c *OpsWorksCM) RestoreServer(input *RestoreServerInput) (*RestoreServerOutput, error) { @@ -1586,14 +1581,13 @@ const opStartMaintenance = "StartMaintenance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMaintenanceRequest method. +// req, resp := client.StartMaintenanceRequest(params) // -// // Example sending a request using the StartMaintenanceRequest method. -// req, resp := client.StartMaintenanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/StartMaintenance func (c *OpsWorksCM) StartMaintenanceRequest(input *StartMaintenanceInput) (req *request.Request, output *StartMaintenanceOutput) { @@ -1632,15 +1626,16 @@ func (c *OpsWorksCM) StartMaintenanceRequest(input *StartMaintenanceInput) (req // API operation StartMaintenance for usage and error information. // // Returned Error Types: -// * InvalidStateException -// The resource is in a state that does not allow you to perform a specified -// action. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - InvalidStateException +// The resource is in a state that does not allow you to perform a specified +// action. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ValidationException -// One or more of the provided request parameters are not valid. +// - ValidationException +// One or more of the provided request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/StartMaintenance func (c *OpsWorksCM) StartMaintenance(input *StartMaintenanceInput) (*StartMaintenanceOutput, error) { @@ -1680,14 +1675,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/TagResource func (c *OpsWorksCM) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1720,15 +1714,16 @@ func (c *OpsWorksCM) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. // -// * ValidationException -// One or more of the provided request parameters are not valid. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * InvalidStateException -// The resource is in a state that does not allow you to perform a specified -// action. +// - ValidationException +// One or more of the provided request parameters are not valid. +// +// - InvalidStateException +// The resource is in a state that does not allow you to perform a specified +// action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/TagResource func (c *OpsWorksCM) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1768,14 +1763,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UntagResource func (c *OpsWorksCM) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1807,15 +1801,16 @@ func (c *OpsWorksCM) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. // -// * ValidationException -// One or more of the provided request parameters are not valid. +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * InvalidStateException -// The resource is in a state that does not allow you to perform a specified -// action. +// - ValidationException +// One or more of the provided request parameters are not valid. +// +// - InvalidStateException +// The resource is in a state that does not allow you to perform a specified +// action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UntagResource func (c *OpsWorksCM) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1855,14 +1850,13 @@ const opUpdateServer = "UpdateServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServerRequest method. +// req, resp := client.UpdateServerRequest(params) // -// // Example sending a request using the UpdateServerRequest method. -// req, resp := client.UpdateServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServer func (c *OpsWorksCM) UpdateServerRequest(input *UpdateServerInput) (req *request.Request, output *UpdateServerOutput) { @@ -1895,15 +1889,16 @@ func (c *OpsWorksCM) UpdateServerRequest(input *UpdateServerInput) (req *request // API operation UpdateServer for usage and error information. // // Returned Error Types: -// * InvalidStateException -// The resource is in a state that does not allow you to perform a specified -// action. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - InvalidStateException +// The resource is in a state that does not allow you to perform a specified +// action. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ValidationException -// One or more of the provided request parameters are not valid. +// - ValidationException +// One or more of the provided request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServer func (c *OpsWorksCM) UpdateServer(input *UpdateServerInput) (*UpdateServerOutput, error) { @@ -1943,14 +1938,13 @@ const opUpdateServerEngineAttributes = "UpdateServerEngineAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServerEngineAttributesRequest method. +// req, resp := client.UpdateServerEngineAttributesRequest(params) // -// // Example sending a request using the UpdateServerEngineAttributesRequest method. -// req, resp := client.UpdateServerEngineAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServerEngineAttributes func (c *OpsWorksCM) UpdateServerEngineAttributesRequest(input *UpdateServerEngineAttributesInput) (req *request.Request, output *UpdateServerEngineAttributesOutput) { @@ -1991,15 +1985,16 @@ func (c *OpsWorksCM) UpdateServerEngineAttributesRequest(input *UpdateServerEngi // API operation UpdateServerEngineAttributes for usage and error information. // // Returned Error Types: -// * InvalidStateException -// The resource is in a state that does not allow you to perform a specified -// action. // -// * ResourceNotFoundException -// The requested resource does not exist, or access was denied. +// - InvalidStateException +// The resource is in a state that does not allow you to perform a specified +// action. +// +// - ResourceNotFoundException +// The requested resource does not exist, or access was denied. // -// * ValidationException -// One or more of the provided request parameters are not valid. +// - ValidationException +// One or more of the provided request parameters are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/UpdateServerEngineAttributes func (c *OpsWorksCM) UpdateServerEngineAttributes(input *UpdateServerEngineAttributesInput) (*UpdateServerEngineAttributesOutput, error) { @@ -5590,11 +5585,11 @@ func MaintenanceStatus_Values() []string { // // Possible values: // -// * SUCCESS: The association or disassociation succeeded. +// - SUCCESS: The association or disassociation succeeded. // -// * FAILED: The association or disassociation failed. +// - FAILED: The association or disassociation failed. // -// * IN_PROGRESS: The association or disassociation is still in progress. +// - IN_PROGRESS: The association or disassociation is still in progress. const ( // NodeAssociationStatusSuccess is a NodeAssociationStatus enum value NodeAssociationStatusSuccess = "SUCCESS" diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/doc.go index cf2f20e4d698..cd7fa2e8b636 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/doc.go @@ -10,60 +10,60 @@ // // Glossary of terms // -// * Server: A configuration management server that can be highly-available. -// The configuration management server runs on an Amazon Elastic Compute -// Cloud (EC2) instance, and may use various other AWS services, such as -// Amazon Relational Database Service (RDS) and Elastic Load Balancing. A -// server is a generic abstraction over the configuration manager that you -// want to use, much like Amazon RDS. In AWS OpsWorks CM, you do not start -// or stop servers. After you create servers, they continue to run until -// they are deleted. -// -// * Engine: The engine is the specific configuration manager that you want -// to use. Valid values in this release include ChefAutomate and Puppet. -// -// * Backup: This is an application-level backup of the data that the configuration -// manager stores. AWS OpsWorks CM creates an S3 bucket for backups when -// you launch the first server. A backup maintains a snapshot of a server's -// configuration-related attributes at the time the backup starts. -// -// * Events: Events are always related to a server. Events are written during -// server creation, when health checks run, when backups are created, when -// system maintenance is performed, etc. When you delete a server, the server's -// events are also deleted. -// -// * Account attributes: Every account has attributes that are assigned in -// the AWS OpsWorks CM database. These attributes store information about -// configuration limits (servers, backups, etc.) and your customer account. -// -// Endpoints +// - Server: A configuration management server that can be highly-available. +// The configuration management server runs on an Amazon Elastic Compute +// Cloud (EC2) instance, and may use various other AWS services, such as +// Amazon Relational Database Service (RDS) and Elastic Load Balancing. A +// server is a generic abstraction over the configuration manager that you +// want to use, much like Amazon RDS. In AWS OpsWorks CM, you do not start +// or stop servers. After you create servers, they continue to run until +// they are deleted. +// +// - Engine: The engine is the specific configuration manager that you want +// to use. Valid values in this release include ChefAutomate and Puppet. +// +// - Backup: This is an application-level backup of the data that the configuration +// manager stores. AWS OpsWorks CM creates an S3 bucket for backups when +// you launch the first server. A backup maintains a snapshot of a server's +// configuration-related attributes at the time the backup starts. +// +// - Events: Events are always related to a server. Events are written during +// server creation, when health checks run, when backups are created, when +// system maintenance is performed, etc. When you delete a server, the server's +// events are also deleted. +// +// - Account attributes: Every account has attributes that are assigned in +// the AWS OpsWorks CM database. These attributes store information about +// configuration limits (servers, backups, etc.) and your customer account. +// +// # Endpoints // // AWS OpsWorks CM supports the following endpoints, all HTTPS. You must connect // to one of the following endpoints. Your servers can only be accessed or managed // within the endpoint in which they are created. // -// * opsworks-cm.us-east-1.amazonaws.com +// - opsworks-cm.us-east-1.amazonaws.com // -// * opsworks-cm.us-east-2.amazonaws.com +// - opsworks-cm.us-east-2.amazonaws.com // -// * opsworks-cm.us-west-1.amazonaws.com +// - opsworks-cm.us-west-1.amazonaws.com // -// * opsworks-cm.us-west-2.amazonaws.com +// - opsworks-cm.us-west-2.amazonaws.com // -// * opsworks-cm.ap-northeast-1.amazonaws.com +// - opsworks-cm.ap-northeast-1.amazonaws.com // -// * opsworks-cm.ap-southeast-1.amazonaws.com +// - opsworks-cm.ap-southeast-1.amazonaws.com // -// * opsworks-cm.ap-southeast-2.amazonaws.com +// - opsworks-cm.ap-southeast-2.amazonaws.com // -// * opsworks-cm.eu-central-1.amazonaws.com +// - opsworks-cm.eu-central-1.amazonaws.com // -// * opsworks-cm.eu-west-1.amazonaws.com +// - opsworks-cm.eu-west-1.amazonaws.com // // For more information, see AWS OpsWorks endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/opsworks-service.html) // in the AWS General Reference. // -// Throttling limits +// # Throttling limits // // All API operations allow for five requests per second with a burst of 10 // requests per second. @@ -73,7 +73,7 @@ // See opsworkscm package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/opsworkscm/ // -// Using the Client +// # Using the Client // // To contact AWS OpsWorks CM with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/opsworkscmiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/opsworkscmiface/interface.go index 97b85fee555b..0832396bb785 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/opsworkscmiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/opsworkscmiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS OpsWorks CM. -// func myFunc(svc opsworkscmiface.OpsWorksCMAPI) bool { -// // Make svc.AssociateNode request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS OpsWorks CM. +// func myFunc(svc opsworkscmiface.OpsWorksCMAPI) bool { +// // Make svc.AssociateNode request +// } // -// func main() { -// sess := session.New() -// svc := opsworkscm.New(sess) +// func main() { +// sess := session.New() +// svc := opsworkscm.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockOpsWorksCMClient struct { -// opsworkscmiface.OpsWorksCMAPI -// } -// func (m *mockOpsWorksCMClient) AssociateNode(input *opsworkscm.AssociateNodeInput) (*opsworkscm.AssociateNodeOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockOpsWorksCMClient struct { +// opsworkscmiface.OpsWorksCMAPI +// } +// func (m *mockOpsWorksCMClient) AssociateNode(input *opsworkscm.AssociateNodeInput) (*opsworkscm.AssociateNodeOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockOpsWorksCMClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockOpsWorksCMClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/service.go index 0b784ddff1dd..b46f31f3cb00 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/opsworkscm/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a OpsWorksCM client from just a session. -// svc := opsworkscm.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a OpsWorksCM client with additional configuration -// svc := opsworkscm.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a OpsWorksCM client from just a session. +// svc := opsworkscm.New(mySession) +// +// // Create a OpsWorksCM client with additional configuration +// svc := opsworkscm.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *OpsWorksCM { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/api.go index 37a654bf8ee3..9ba552b408dd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/api.go @@ -29,14 +29,13 @@ const opAcceptHandshake = "AcceptHandshake" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptHandshakeRequest method. +// req, resp := client.AcceptHandshakeRequest(params) // -// // Example sending a request using the AcceptHandshakeRequest method. -// req, resp := client.AcceptHandshakeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/AcceptHandshake func (c *Organizations) AcceptHandshakeRequest(input *AcceptHandshakeInput) (req *request.Request, output *AcceptHandshakeOutput) { @@ -63,22 +62,22 @@ func (c *Organizations) AcceptHandshakeRequest(input *AcceptHandshakeInput) (req // This operation can be called only by the following principals when they also // have the relevant IAM permissions: // -// * Invitation to join or Approve all features request handshakes: only -// a principal from the member account. The user who calls the API for an -// invitation to join must have the organizations:AcceptHandshake permission. -// If you enabled all features in the organization, the user must also have -// the iam:CreateServiceLinkedRole permission so that Organizations can create -// the required service-linked role named AWSServiceRoleForOrganizations. -// For more information, see Organizations and Service-Linked Roles (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integration_services.html#orgs_integration_service-linked-roles) -// in the Organizations User Guide. -// -// * Enable all features final confirmation handshake: only a principal from -// the management account. For more information about invitations, see Inviting -// an Amazon Web Services account to join your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_invites.html) -// in the Organizations User Guide. For more information about requests to -// enable all features in the organization, see Enabling all features in -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html) -// in the Organizations User Guide. +// - Invitation to join or Approve all features request handshakes: only +// a principal from the member account. The user who calls the API for an +// invitation to join must have the organizations:AcceptHandshake permission. +// If you enabled all features in the organization, the user must also have +// the iam:CreateServiceLinkedRole permission so that Organizations can create +// the required service-linked role named AWSServiceRoleForOrganizations. +// For more information, see Organizations and Service-Linked Roles (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integration_services.html#orgs_integration_service-linked-roles) +// in the Organizations User Guide. +// +// - Enable all features final confirmation handshake: only a principal from +// the management account. For more information about invitations, see Inviting +// an Amazon Web Services account to join your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_invites.html) +// in the Organizations User Guide. For more information about requests to +// enable all features in the organization, see Enabling all features in +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html) +// in the Organizations User Guide. // // After you accept a handshake, it continues to appear in the results of relevant // APIs for only 30 days. After that, it's deleted. @@ -91,172 +90,173 @@ func (c *Organizations) AcceptHandshakeRequest(input *AcceptHandshakeInput) (req // API operation AcceptHandshake for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * HandshakeConstraintViolationException -// The requested operation would violate the constraint identified in the reason -// code. +// - HandshakeConstraintViolationException +// The requested operation would violate the constraint identified in the reason +// code. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// Some of the reasons in the following list might not be applicable to this +// specific API or operation: // -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. Note that deleted and closed -// accounts still count toward your limit. If you get this exception immediately -// after creating the organization, wait one hour and try again. If after -// an hour it continues to fail with this error, contact Amazon Web Services -// Support (https://docs.aws.amazon.com/support/home#/). +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. Note that deleted and closed +// accounts still count toward your limit. If you get this exception immediately +// after creating the organization, wait one hour and try again. If after +// an hour it continues to fail with this error, contact Amazon Web Services +// Support (https://docs.aws.amazon.com/support/home#/). // -// * ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because -// the invited account is already a member of an organization. +// - ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because +// the invited account is already a member of an organization. // -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. // -// * INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You can't issue new invitations -// to join an organization while it's in the process of enabling all features. -// You can resume inviting accounts after you finalize the process when all -// accounts have agreed to the change. +// - INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You can't issue new invitations +// to join an organization while it's in the process of enabling all features. +// You can resume inviting accounts after you finalize the process when all +// accounts have agreed to the change. // -// * ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid -// because the organization has already enabled all features. +// - ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid +// because the organization has already enabled all features. // -// * ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake -// request is invalid because the organization has already started the process -// to enable all features. +// - ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake +// request is invalid because the organization has already started the process +// to enable all features. // -// * ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because -// the account is from a different marketplace than the accounts in the organization. -// For example, accounts with India addresses must be associated with the -// AISPL marketplace. All accounts in an organization must be from the same -// marketplace. +// - ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because +// the account is from a different marketplace than the accounts in the organization. +// For example, accounts with India addresses must be associated with the +// AISPL marketplace. All accounts in an organization must be from the same +// marketplace. // -// * ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to -// change the membership of an account too quickly after its previous change. +// - ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to +// change the membership of an account too quickly after its previous change. // -// * PAYMENT_INSTRUMENT_REQUIRED: You can't complete the operation with an -// account that doesn't have a payment instrument, such as a credit card, -// associated with it. +// - PAYMENT_INSTRUMENT_REQUIRED: You can't complete the operation with an +// account that doesn't have a payment instrument, such as a credit card, +// associated with it. // -// * HandshakeNotFoundException -// We can't find a handshake with the HandshakeId that you specified. +// - HandshakeNotFoundException +// We can't find a handshake with the HandshakeId that you specified. // -// * InvalidHandshakeTransitionException -// You can't perform the operation on the handshake in its current state. For -// example, you can't cancel a handshake that was already accepted or accept -// a handshake that was already declined. +// - InvalidHandshakeTransitionException +// You can't perform the operation on the handshake in its current state. For +// example, you can't cancel a handshake that was already accepted or accept +// a handshake that was already declined. // -// * HandshakeAlreadyInStateException -// The specified handshake is already in the requested state. For example, you -// can't accept a handshake that was already accepted. +// - HandshakeAlreadyInStateException +// The specified handshake is already in the requested state. For example, you +// can't accept a handshake that was already accepted. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * AccessDeniedForDependencyException -// The operation that you attempted requires you to have the iam:CreateServiceLinkedRole -// for organizations.amazonaws.com permission so that Organizations can create -// the required service-linked role. You don't have that permission. +// - AccessDeniedForDependencyException +// The operation that you attempted requires you to have the iam:CreateServiceLinkedRole +// for organizations.amazonaws.com permission so that Organizations can create +// the required service-linked role. You don't have that permission. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/AcceptHandshake func (c *Organizations) AcceptHandshake(input *AcceptHandshakeInput) (*AcceptHandshakeOutput, error) { @@ -296,14 +296,13 @@ const opAttachPolicy = "AttachPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachPolicyRequest method. +// req, resp := client.AttachPolicyRequest(params) // -// // Example sending a request using the AttachPolicyRequest method. -// req, resp := client.AttachPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/AttachPolicy func (c *Organizations) AttachPolicyRequest(input *AttachPolicyInput) (req *request.Request, output *AttachPolicyOutput) { @@ -329,13 +328,13 @@ func (c *Organizations) AttachPolicyRequest(input *AttachPolicyInput) (req *requ // account. How the policy affects accounts depends on the type of policy. Refer // to the Organizations User Guide for information about each policy type: // -// * AISERVICES_OPT_OUT_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) +// - AISERVICES_OPT_OUT_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_ai-opt-out.html) // -// * BACKUP_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) +// - BACKUP_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_backup.html) // -// * SERVICE_CONTROL_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) +// - SERVICE_CONTROL_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scp.html) // -// * TAG_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) +// - TAG_POLICY (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) // // This operation can be called only from the organization's management account. // @@ -347,293 +346,294 @@ func (c *Organizations) AttachPolicyRequest(input *AttachPolicyInput) (req *requ // API operation AttachPolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. // -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// * DuplicatePolicyAttachmentException -// The selected policy is already attached to the specified target. +// - DuplicatePolicyAttachmentException +// The selected policy is already attached to the specified target. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * PolicyNotFoundException -// We can't find a policy with the PolicyId that you specified. +// - PolicyNotFoundException +// We can't find a policy with the PolicyId that you specified. // -// * PolicyTypeNotEnabledException -// The specified policy type isn't currently enabled in this root. You can't -// attach policies of the specified type to entities in a root until you enable -// that type in the root. For more information, see Enabling All Features in -// Your Organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html) -// in the Organizations User Guide. +// - PolicyTypeNotEnabledException +// The specified policy type isn't currently enabled in this root. You can't +// attach policies of the specified type to entities in a root until you enable +// that type in the root. For more information, see Enabling All Features in +// Your Organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html) +// in the Organizations User Guide. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TargetNotFoundException -// We can't find a root, OU, account, or policy with the TargetId that you specified. +// - TargetNotFoundException +// We can't find a root, OU, account, or policy with the TargetId that you specified. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // -// * PolicyChangesInProgressException -// Changes to the effective policy are in progress, and its contents can't be -// returned. Try the operation again later. +// - PolicyChangesInProgressException +// Changes to the effective policy are in progress, and its contents can't be +// returned. Try the operation again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/AttachPolicy func (c *Organizations) AttachPolicy(input *AttachPolicyInput) (*AttachPolicyOutput, error) { @@ -673,14 +673,13 @@ const opCancelHandshake = "CancelHandshake" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelHandshakeRequest method. +// req, resp := client.CancelHandshakeRequest(params) // -// // Example sending a request using the CancelHandshakeRequest method. -// req, resp := client.CancelHandshakeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CancelHandshake func (c *Organizations) CancelHandshakeRequest(input *CancelHandshakeInput) (req *request.Request, output *CancelHandshakeOutput) { @@ -719,118 +718,119 @@ func (c *Organizations) CancelHandshakeRequest(input *CancelHandshakeInput) (req // API operation CancelHandshake for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. // -// * HandshakeNotFoundException -// We can't find a handshake with the HandshakeId that you specified. +// - HandshakeNotFoundException +// We can't find a handshake with the HandshakeId that you specified. // -// * InvalidHandshakeTransitionException -// You can't perform the operation on the handshake in its current state. For -// example, you can't cancel a handshake that was already accepted or accept -// a handshake that was already declined. +// - InvalidHandshakeTransitionException +// You can't perform the operation on the handshake in its current state. For +// example, you can't cancel a handshake that was already accepted or accept +// a handshake that was already declined. // -// * HandshakeAlreadyInStateException -// The specified handshake is already in the requested state. For example, you -// can't accept a handshake that was already accepted. +// - HandshakeAlreadyInStateException +// The specified handshake is already in the requested state. For example, you +// can't accept a handshake that was already accepted. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CancelHandshake func (c *Organizations) CancelHandshake(input *CancelHandshakeInput) (*CancelHandshakeOutput, error) { @@ -870,14 +870,13 @@ const opCloseAccount = "CloseAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CloseAccountRequest method. +// req, resp := client.CloseAccountRequest(params) // -// // Example sending a request using the CloseAccountRequest method. -// req, resp := client.CloseAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CloseAccount func (c *Organizations) CloseAccountRequest(input *CloseAccountInput) (req *request.Request, output *CloseAccountOutput) { @@ -907,30 +906,30 @@ func (c *Organizations) CloseAccountRequest(input *CloseAccountInput) (req *requ // minutes before the account is fully closed. To check the status of the request, // do one of the following: // -// * Use the AccountId that you sent in the CloseAccount request to provide -// as a parameter to the DescribeAccount operation. While the close account -// request is in progress, Account status will indicate PENDING_CLOSURE. -// When the close account request completes, the status will change to SUSPENDED. +// - Use the AccountId that you sent in the CloseAccount request to provide +// as a parameter to the DescribeAccount operation. While the close account +// request is in progress, Account status will indicate PENDING_CLOSURE. +// When the close account request completes, the status will change to SUSPENDED. // -// * Check the CloudTrail log for the CloseAccountResult event that gets -// published after the account closes successfully. For information on using -// CloudTrail with Organizations, see Logging and monitoring in Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_security_incident-response.html#orgs_cloudtrail-integration) -// in the Organizations User Guide. +// - Check the CloudTrail log for the CloseAccountResult event that gets +// published after the account closes successfully. For information on using +// CloudTrail with Organizations, see Logging and monitoring in Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_security_incident-response.html#orgs_cloudtrail-integration) +// in the Organizations User Guide. // -// * You can only close 10% of active member accounts within a rolling 30 -// day period. This quota is not bound by a calendar month, but starts when -// you close an account. Within 30 days of that initial account closure, -// you can't exceed the 10% account closure limit. +// - You can only close 10% of active member accounts within a rolling 30 +// day period. This quota is not bound by a calendar month, but starts when +// you close an account. Within 30 days of that initial account closure, +// you can't exceed the 10% account closure limit. // -// * To reinstate a closed account, contact Amazon Web Services Support within -// the 90-day grace period while the account is in SUSPENDED status. +// - To reinstate a closed account, contact Amazon Web Services Support within +// the 90-day grace period while the account is in SUSPENDED status. // -// * If the Amazon Web Services account you attempt to close is linked to -// an Amazon Web Services GovCloud (US) account, the CloseAccount request -// will close both accounts. To learn important pre-closure details, see -// Closing an Amazon Web Services GovCloud (US) account (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/Closing-govcloud-account.html) -// in the Amazon Web Services GovCloud User Guide. +// - If the Amazon Web Services account you attempt to close is linked to +// an Amazon Web Services GovCloud (US) account, the CloseAccount request +// will close both accounts. To learn important pre-closure details, see +// Closing an Amazon Web Services GovCloud (US) account (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/Closing-govcloud-account.html) +// in the Amazon Web Services GovCloud User Guide. // // For more information about closing accounts, see Closing an Amazon Web Services // account (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html) @@ -944,285 +943,286 @@ func (c *Organizations) CloseAccountRequest(input *CloseAccountInput) (req *requ // API operation CloseAccount for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AccountAlreadyClosedException -// You attempted to close an account that is already closed. -// -// * AccountNotFoundException -// We can't find an Amazon Web Services account with the AccountId that you -// specified, or the account whose credentials you used to make this request -// isn't a member of an organization. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConflictException -// The request failed because it conflicts with the current state of the specified -// resource. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AccountAlreadyClosedException +// You attempted to close an account that is already closed. +// +// - AccountNotFoundException +// We can't find an Amazon Web Services account with the AccountId that you +// specified, or the account whose credentials you used to make this request +// isn't a member of an organization. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConflictException +// The request failed because it conflicts with the current state of the specified +// resource. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CloseAccount func (c *Organizations) CloseAccount(input *CloseAccountInput) (*CloseAccountOutput, error) { @@ -1262,14 +1262,13 @@ const opCreateAccount = "CreateAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAccountRequest method. +// req, resp := client.CreateAccountRequest(params) // -// // Example sending a request using the CreateAccountRequest method. -// req, resp := client.CreateAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccount func (c *Organizations) CreateAccountRequest(input *CreateAccountInput) (req *request.Request, output *CreateAccountOutput) { @@ -1298,14 +1297,14 @@ func (c *Organizations) CreateAccountRequest(input *CreateAccountInput) (req *re // to wait a few minutes before you can successfully access the account. To // check the status of the request, do one of the following: // -// * Use the Id member of the CreateAccountStatus response element from this -// operation to provide as a parameter to the DescribeCreateAccountStatus -// operation. +// - Use the Id member of the CreateAccountStatus response element from this +// operation to provide as a parameter to the DescribeCreateAccountStatus +// operation. // -// * Check the CloudTrail log for the CreateAccountResult event. For information -// on using CloudTrail with Organizations, see Logging and monitoring in -// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_security_incident-response.html#orgs_cloudtrail-integration) -// in the Organizations User Guide. +// - Check the CloudTrail log for the CreateAccountResult event. For information +// on using CloudTrail with Organizations, see Logging and monitoring in +// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_security_incident-response.html#orgs_cloudtrail-integration) +// in the Organizations User Guide. // // The user who calls the API to create an account must have the organizations:CreateAccount // permission. If you enabled all features in the organization, Organizations @@ -1328,28 +1327,28 @@ func (c *Organizations) CreateAccountRequest(input *CreateAccountInput) (req *re // Services account in Your Organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_create.html) // in the Organizations User Guide. // -// * When you create an account in an organization using the Organizations -// console, API, or CLI commands, the information required for the account -// to operate as a standalone account, such as a payment method and signing -// the end user license agreement (EULA) is not automatically collected. -// If you must remove an account from your organization later, you can do -// so only after you provide the missing information. Follow the steps at -// To leave an organization as a member account (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. -// -// * If you get an exception that indicates that you exceeded your account -// limits for the organization, contact Amazon Web Services Support (https://console.aws.amazon.com/support/home#/). -// -// * If you get an exception that indicates that the operation failed because -// your organization is still initializing, wait one hour and then try again. -// If the error persists, contact Amazon Web Services Support (https://console.aws.amazon.com/support/home#/). -// -// * Using CreateAccount to create multiple temporary accounts isn't recommended. -// You can only close an account from the Billing and Cost Management console, -// and you must be signed in as the root user. For information on the requirements -// and process for closing an account, see Closing an Amazon Web Services -// account (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html) -// in the Organizations User Guide. +// - When you create an account in an organization using the Organizations +// console, API, or CLI commands, the information required for the account +// to operate as a standalone account, such as a payment method and signing +// the end user license agreement (EULA) is not automatically collected. +// If you must remove an account from your organization later, you can do +// so only after you provide the missing information. Follow the steps at +// To leave an organization as a member account (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - If you get an exception that indicates that you exceeded your account +// limits for the organization, contact Amazon Web Services Support (https://console.aws.amazon.com/support/home#/). +// +// - If you get an exception that indicates that the operation failed because +// your organization is still initializing, wait one hour and then try again. +// If the error persists, contact Amazon Web Services Support (https://console.aws.amazon.com/support/home#/). +// +// - Using CreateAccount to create multiple temporary accounts isn't recommended. +// You can only close an account from the Billing and Cost Management console, +// and you must be signed in as the root user. For information on the requirements +// and process for closing an account, see Closing an Amazon Web Services +// account (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html) +// in the Organizations User Guide. // // When you create a member account with this operation, you can choose whether // to create the account with the IAM User and Role Access to Billing Information @@ -1367,279 +1366,280 @@ func (c *Organizations) CreateAccountRequest(input *CreateAccountInput) (req *re // API operation CreateAccount for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * FinalizingOrganizationException -// Organizations couldn't perform the operation because your organization hasn't -// finished initializing. This can take up to an hour. Try again later. If after -// one hour you continue to receive this error, contact Amazon Web Services -// Support (https://console.aws.amazon.com/support/home#/). +// - FinalizingOrganizationException +// Organizations couldn't perform the operation because your organization hasn't +// finished initializing. This can take up to an hour. Try again later. If after +// one hour you continue to receive this error, contact Amazon Web Services +// Support (https://console.aws.amazon.com/support/home#/). // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccount func (c *Organizations) CreateAccount(input *CreateAccountInput) (*CreateAccountOutput, error) { @@ -1679,14 +1679,13 @@ const opCreateGovCloudAccount = "CreateGovCloudAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGovCloudAccountRequest method. +// req, resp := client.CreateGovCloudAccountRequest(params) // -// // Example sending a request using the CreateGovCloudAccountRequest method. -// req, resp := client.CreateGovCloudAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateGovCloudAccount func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccountInput) (req *request.Request, output *CreateGovCloudAccountOutput) { @@ -1709,18 +1708,18 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun // // This action is available if all of the following are true: // -// * You're authorized to create accounts in the Amazon Web Services GovCloud -// (US) Region. For more information on the Amazon Web Services GovCloud -// (US) Region, see the Amazon Web Services GovCloud User Guide. (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/welcome.html) +// - You're authorized to create accounts in the Amazon Web Services GovCloud +// (US) Region. For more information on the Amazon Web Services GovCloud +// (US) Region, see the Amazon Web Services GovCloud User Guide. (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/welcome.html) // -// * You already have an account in the Amazon Web Services GovCloud (US) -// Region that is paired with a management account of an organization in -// the commercial Region. +// - You already have an account in the Amazon Web Services GovCloud (US) +// Region that is paired with a management account of an organization in +// the commercial Region. // -// * You call this action from the management account of your organization -// in the commercial Region. +// - You call this action from the management account of your organization +// in the commercial Region. // -// * You have the organizations:CreateGovCloudAccount permission. +// - You have the organizations:CreateGovCloudAccount permission. // // Organizations automatically creates the required service-linked role named // AWSServiceRoleForOrganizations. For more information, see Organizations and @@ -1730,11 +1729,11 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun // Amazon Web Services automatically enables CloudTrail for Amazon Web Services // GovCloud (US) accounts, but you should also do the following: // -// * Verify that CloudTrail is enabled to store logs. +// - Verify that CloudTrail is enabled to store logs. // -// * Create an Amazon S3 bucket for CloudTrail log storage. For more information, -// see Verifying CloudTrail Is Enabled (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/verifying-cloudtrail.html) -// in the Amazon Web Services GovCloud User Guide. +// - Create an Amazon S3 bucket for CloudTrail log storage. For more information, +// see Verifying CloudTrail Is Enabled (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/verifying-cloudtrail.html) +// in the Amazon Web Services GovCloud User Guide. // // If the request includes tags, then the requester must have the organizations:TagResource // permission. The tags are attached to the commercial account associated with @@ -1758,13 +1757,13 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun // a few minutes before you can successfully access the account. To check the // status of the request, do one of the following: // -// * Use the OperationId response element from this operation to provide -// as a parameter to the DescribeCreateAccountStatus operation. +// - Use the OperationId response element from this operation to provide +// as a parameter to the DescribeCreateAccountStatus operation. // -// * Check the CloudTrail log for the CreateAccountResult event. For information -// on using CloudTrail with Organizations, see Monitoring the Activity in -// Your Organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_monitoring.html) -// in the Organizations User Guide. +// - Check the CloudTrail log for the CreateAccountResult event. For information +// on using CloudTrail with Organizations, see Monitoring the Activity in +// Your Organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_monitoring.html) +// in the Organizations User Guide. // // When you call the CreateGovCloudAccount action, you create two accounts: // a standalone account in the Amazon Web Services GovCloud (US) Region and @@ -1788,28 +1787,28 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun // Services account in Your Organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_create.html) // in the Organizations User Guide. // -// * When you create an account in an organization using the Organizations -// console, API, or CLI commands, the information required for the account -// to operate as a standalone account is not automatically collected. This -// includes a payment method and signing the end user license agreement (EULA). -// If you must remove an account from your organization later, you can do -// so only after you provide the missing information. Follow the steps at -// To leave an organization as a member account (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. -// -// * If you get an exception that indicates that you exceeded your account -// limits for the organization, contact Amazon Web Services Support (https://console.aws.amazon.com/support/home#/). -// -// * If you get an exception that indicates that the operation failed because -// your organization is still initializing, wait one hour and then try again. -// If the error persists, contact Amazon Web Services Support (https://console.aws.amazon.com/support/home#/). -// -// * Using CreateGovCloudAccount to create multiple temporary accounts isn't -// recommended. You can only close an account from the Amazon Web Services -// Billing and Cost Management console, and you must be signed in as the -// root user. For information on the requirements and process for closing -// an account, see Closing an Amazon Web Services account (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html) -// in the Organizations User Guide. +// - When you create an account in an organization using the Organizations +// console, API, or CLI commands, the information required for the account +// to operate as a standalone account is not automatically collected. This +// includes a payment method and signing the end user license agreement (EULA). +// If you must remove an account from your organization later, you can do +// so only after you provide the missing information. Follow the steps at +// To leave an organization as a member account (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - If you get an exception that indicates that you exceeded your account +// limits for the organization, contact Amazon Web Services Support (https://console.aws.amazon.com/support/home#/). +// +// - If you get an exception that indicates that the operation failed because +// your organization is still initializing, wait one hour and then try again. +// If the error persists, contact Amazon Web Services Support (https://console.aws.amazon.com/support/home#/). +// +// - Using CreateGovCloudAccount to create multiple temporary accounts isn't +// recommended. You can only close an account from the Amazon Web Services +// Billing and Cost Management console, and you must be signed in as the +// root user. For information on the requirements and process for closing +// an account, see Closing an Amazon Web Services account (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html) +// in the Organizations User Guide. // // When you create a member account with this operation, you can choose whether // to create the account with the IAM User and Role Access to Billing Information @@ -1827,279 +1826,280 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun // API operation CreateGovCloudAccount for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * FinalizingOrganizationException -// Organizations couldn't perform the operation because your organization hasn't -// finished initializing. This can take up to an hour. Try again later. If after -// one hour you continue to receive this error, contact Amazon Web Services -// Support (https://console.aws.amazon.com/support/home#/). +// - FinalizingOrganizationException +// Organizations couldn't perform the operation because your organization hasn't +// finished initializing. This can take up to an hour. Try again later. If after +// one hour you continue to receive this error, contact Amazon Web Services +// Support (https://console.aws.amazon.com/support/home#/). // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateGovCloudAccount func (c *Organizations) CreateGovCloudAccount(input *CreateGovCloudAccountInput) (*CreateGovCloudAccountOutput, error) { @@ -2139,14 +2139,13 @@ const opCreateOrganization = "CreateOrganization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOrganizationRequest method. +// req, resp := client.CreateOrganizationRequest(params) // -// // Example sending a request using the CreateOrganizationRequest method. -// req, resp := client.CreateOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganization func (c *Organizations) CreateOrganizationRequest(input *CreateOrganizationInput) (req *request.Request, output *CreateOrganizationOutput) { @@ -2191,275 +2190,276 @@ func (c *Organizations) CreateOrganizationRequest(input *CreateOrganizationInput // API operation CreateOrganization for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AlreadyInOrganizationException -// This account is already a member of an organization. An account can belong -// to only one organization at a time. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AlreadyInOrganizationException +// This account is already a member of an organization. An account can belong +// to only one organization at a time. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * AccessDeniedForDependencyException -// The operation that you attempted requires you to have the iam:CreateServiceLinkedRole -// for organizations.amazonaws.com permission so that Organizations can create -// the required service-linked role. You don't have that permission. +// - AccessDeniedForDependencyException +// The operation that you attempted requires you to have the iam:CreateServiceLinkedRole +// for organizations.amazonaws.com permission so that Organizations can create +// the required service-linked role. You don't have that permission. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganization func (c *Organizations) CreateOrganization(input *CreateOrganizationInput) (*CreateOrganizationOutput, error) { @@ -2499,14 +2499,13 @@ const opCreateOrganizationalUnit = "CreateOrganizationalUnit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOrganizationalUnitRequest method. +// req, resp := client.CreateOrganizationalUnitRequest(params) // -// // Example sending a request using the CreateOrganizationalUnitRequest method. -// req, resp := client.CreateOrganizationalUnitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganizationalUnit func (c *Organizations) CreateOrganizationalUnitRequest(input *CreateOrganizationalUnitInput) (req *request.Request, output *CreateOrganizationalUnitOutput) { @@ -2549,276 +2548,277 @@ func (c *Organizations) CreateOrganizationalUnitRequest(input *CreateOrganizatio // API operation CreateOrganizationalUnit for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * DuplicateOrganizationalUnitException -// An OU with the same name already exists. +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - DuplicateOrganizationalUnitException +// An OU with the same name already exists. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * ParentNotFoundException -// We can't find a root or OU with the ParentId that you specified. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ParentNotFoundException +// We can't find a root or OU with the ParentId that you specified. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. +// +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateOrganizationalUnit func (c *Organizations) CreateOrganizationalUnit(input *CreateOrganizationalUnitInput) (*CreateOrganizationalUnitOutput, error) { @@ -2858,14 +2858,13 @@ const opCreatePolicy = "CreatePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePolicyRequest method. +// req, resp := client.CreatePolicyRequest(params) // -// // Example sending a request using the CreatePolicyRequest method. -// req, resp := client.CreatePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreatePolicy func (c *Organizations) CreatePolicyRequest(input *CreatePolicyInput) (req *request.Request, output *CreatePolicyOutput) { @@ -2905,289 +2904,290 @@ func (c *Organizations) CreatePolicyRequest(input *CreatePolicyInput) (req *requ // API operation CreatePolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * DuplicatePolicyException -// A policy with the same name already exists. +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - DuplicatePolicyException +// A policy with the same name already exists. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * MalformedPolicyDocumentException -// The provided policy document doesn't meet the requirements of the specified -// policy type. For example, the syntax might be incorrect. For details about -// service control policy syntax, see Service Control Policy Syntax (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html) -// in the Organizations User Guide. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * PolicyTypeNotAvailableForOrganizationException -// You can't use the specified policy type with the feature set currently enabled -// for this organization. For example, you can enable SCPs only after you enable -// all features in the organization. For more information, see Managing Organizations -// Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root)in -// the Organizations User Guide. +// - MalformedPolicyDocumentException +// The provided policy document doesn't meet the requirements of the specified +// policy type. For example, the syntax might be incorrect. For details about +// service control policy syntax, see Service Control Policy Syntax (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html) +// in the Organizations User Guide. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - PolicyTypeNotAvailableForOrganizationException +// You can't use the specified policy type with the feature set currently enabled +// for this organization. For example, you can enable SCPs only after you enable +// all features in the organization. For more information, see Managing Organizations +// Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root)in +// the Organizations User Guide. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. +// +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreatePolicy func (c *Organizations) CreatePolicy(input *CreatePolicyInput) (*CreatePolicyOutput, error) { @@ -3227,14 +3227,13 @@ const opDeclineHandshake = "DeclineHandshake" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeclineHandshakeRequest method. +// req, resp := client.DeclineHandshakeRequest(params) // -// // Example sending a request using the DeclineHandshakeRequest method. -// req, resp := client.DeclineHandshakeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeclineHandshake func (c *Organizations) DeclineHandshakeRequest(input *DeclineHandshakeInput) (req *request.Request, output *DeclineHandshakeOutput) { @@ -3274,118 +3273,119 @@ func (c *Organizations) DeclineHandshakeRequest(input *DeclineHandshakeInput) (r // API operation DeclineHandshake for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * HandshakeNotFoundException -// We can't find a handshake with the HandshakeId that you specified. +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. // -// * InvalidHandshakeTransitionException -// You can't perform the operation on the handshake in its current state. For -// example, you can't cancel a handshake that was already accepted or accept -// a handshake that was already declined. +// - HandshakeNotFoundException +// We can't find a handshake with the HandshakeId that you specified. // -// * HandshakeAlreadyInStateException -// The specified handshake is already in the requested state. For example, you -// can't accept a handshake that was already accepted. +// - InvalidHandshakeTransitionException +// You can't perform the operation on the handshake in its current state. For +// example, you can't cancel a handshake that was already accepted or accept +// a handshake that was already declined. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - HandshakeAlreadyInStateException +// The specified handshake is already in the requested state. For example, you +// can't accept a handshake that was already accepted. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. +// +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeclineHandshake func (c *Organizations) DeclineHandshake(input *DeclineHandshakeInput) (*DeclineHandshakeOutput, error) { @@ -3425,14 +3425,13 @@ const opDeleteOrganization = "DeleteOrganization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOrganizationRequest method. +// req, resp := client.DeleteOrganizationRequest(params) // -// // Example sending a request using the DeleteOrganizationRequest method. -// req, resp := client.DeleteOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeleteOrganization func (c *Organizations) DeleteOrganizationRequest(input *DeleteOrganizationInput) (req *request.Request, output *DeleteOrganizationOutput) { @@ -3465,115 +3464,116 @@ func (c *Organizations) DeleteOrganizationRequest(input *DeleteOrganizationInput // API operation DeleteOrganization for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * OrganizationNotEmptyException -// The organization isn't empty. To delete an organization, you must first remove -// all accounts except the management account, delete all OUs, and delete all -// policies. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - OrganizationNotEmptyException +// The organization isn't empty. To delete an organization, you must first remove +// all accounts except the management account, delete all OUs, and delete all +// policies. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. +// +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeleteOrganization func (c *Organizations) DeleteOrganization(input *DeleteOrganizationInput) (*DeleteOrganizationOutput, error) { @@ -3613,14 +3613,13 @@ const opDeleteOrganizationalUnit = "DeleteOrganizationalUnit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOrganizationalUnitRequest method. +// req, resp := client.DeleteOrganizationalUnitRequest(params) // -// // Example sending a request using the DeleteOrganizationalUnitRequest method. -// req, resp := client.DeleteOrganizationalUnitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeleteOrganizationalUnit func (c *Organizations) DeleteOrganizationalUnitRequest(input *DeleteOrganizationalUnitInput) (req *request.Request, output *DeleteOrganizationalUnitOutput) { @@ -3655,117 +3654,118 @@ func (c *Organizations) DeleteOrganizationalUnitRequest(input *DeleteOrganizatio // API operation DeleteOrganizationalUnit for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * OrganizationalUnitNotEmptyException -// The specified OU is not empty. Move all accounts to another root or to other -// OUs, remove all child OUs, and try the operation again. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * OrganizationalUnitNotFoundException -// We can't find an OU with the OrganizationalUnitId that you specified. +// - OrganizationalUnitNotEmptyException +// The specified OU is not empty. Move all accounts to another root or to other +// OUs, remove all child OUs, and try the operation again. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - OrganizationalUnitNotFoundException +// We can't find an OU with the OrganizationalUnitId that you specified. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. +// +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeleteOrganizationalUnit func (c *Organizations) DeleteOrganizationalUnit(input *DeleteOrganizationalUnitInput) (*DeleteOrganizationalUnitOutput, error) { @@ -3805,14 +3805,13 @@ const opDeletePolicy = "DeletePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePolicyRequest method. +// req, resp := client.DeletePolicyRequest(params) // -// // Example sending a request using the DeletePolicyRequest method. -// req, resp := client.DeletePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeletePolicy func (c *Organizations) DeletePolicyRequest(input *DeletePolicyInput) (req *request.Request, output *DeletePolicyOutput) { @@ -3848,120 +3847,121 @@ func (c *Organizations) DeletePolicyRequest(input *DeletePolicyInput) (req *requ // API operation DeletePolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * PolicyInUseException -// The policy is attached to one or more entities. You must detach it from all -// roots, OUs, and accounts before performing this operation. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * PolicyNotFoundException -// We can't find a policy with the PolicyId that you specified. +// - PolicyInUseException +// The policy is attached to one or more entities. You must detach it from all +// roots, OUs, and accounts before performing this operation. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - PolicyNotFoundException +// We can't find a policy with the PolicyId that you specified. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. +// +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeletePolicy func (c *Organizations) DeletePolicy(input *DeletePolicyInput) (*DeletePolicyOutput, error) { @@ -4001,14 +4001,13 @@ const opDeregisterDelegatedAdministrator = "DeregisterDelegatedAdministrator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterDelegatedAdministratorRequest method. +// req, resp := client.DeregisterDelegatedAdministratorRequest(params) // -// // Example sending a request using the DeregisterDelegatedAdministratorRequest method. -// req, resp := client.DeregisterDelegatedAdministratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeregisterDelegatedAdministrator func (c *Organizations) DeregisterDelegatedAdministratorRequest(input *DeregisterDelegatedAdministratorInput) (req *request.Request, output *DeregisterDelegatedAdministratorOutput) { @@ -4054,282 +4053,283 @@ func (c *Organizations) DeregisterDelegatedAdministratorRequest(input *Deregiste // API operation DeregisterDelegatedAdministrator for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AccountNotFoundException -// We can't find an Amazon Web Services account with the AccountId that you -// specified, or the account whose credentials you used to make this request -// isn't a member of an organization. -// -// * AccountNotRegisteredException -// The specified account is not a delegated administrator for this Amazon Web -// Services service. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AccountNotFoundException +// We can't find an Amazon Web Services account with the AccountId that you +// specified, or the account whose credentials you used to make this request +// isn't a member of an organization. +// +// - AccountNotRegisteredException +// The specified account is not a delegated administrator for this Amazon Web +// Services service. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. +// +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DeregisterDelegatedAdministrator func (c *Organizations) DeregisterDelegatedAdministrator(input *DeregisterDelegatedAdministratorInput) (*DeregisterDelegatedAdministratorOutput, error) { @@ -4369,14 +4369,13 @@ const opDescribeAccount = "DescribeAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountRequest method. +// req, resp := client.DescribeAccountRequest(params) // -// // Example sending a request using the DescribeAccountRequest method. -// req, resp := client.DescribeAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeAccount func (c *Organizations) DescribeAccountRequest(input *DescribeAccountInput) (req *request.Request, output *DescribeAccountOutput) { @@ -4411,111 +4410,112 @@ func (c *Organizations) DescribeAccountRequest(input *DescribeAccountInput) (req // API operation DescribeAccount for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AccountNotFoundException -// We can't find an Amazon Web Services account with the AccountId that you -// specified, or the account whose credentials you used to make this request -// isn't a member of an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AccountNotFoundException +// We can't find an Amazon Web Services account with the AccountId that you +// specified, or the account whose credentials you used to make this request +// isn't a member of an organization. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeAccount func (c *Organizations) DescribeAccount(input *DescribeAccountInput) (*DescribeAccountOutput, error) { @@ -4555,14 +4555,13 @@ const opDescribeCreateAccountStatus = "DescribeCreateAccountStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCreateAccountStatusRequest method. +// req, resp := client.DescribeCreateAccountStatusRequest(params) // -// // Example sending a request using the DescribeCreateAccountStatusRequest method. -// req, resp := client.DescribeCreateAccountStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeCreateAccountStatus func (c *Organizations) DescribeCreateAccountStatusRequest(input *DescribeCreateAccountStatusInput) (req *request.Request, output *DescribeCreateAccountStatusOutput) { @@ -4597,113 +4596,114 @@ func (c *Organizations) DescribeCreateAccountStatusRequest(input *DescribeCreate // API operation DescribeCreateAccountStatus for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * CreateAccountStatusNotFoundException -// We can't find an create account request with the CreateAccountRequestId that -// you specified. +// - CreateAccountStatusNotFoundException +// We can't find an create account request with the CreateAccountRequestId that +// you specified. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeCreateAccountStatus func (c *Organizations) DescribeCreateAccountStatus(input *DescribeCreateAccountStatusInput) (*DescribeCreateAccountStatusOutput, error) { @@ -4743,14 +4743,13 @@ const opDescribeEffectivePolicy = "DescribeEffectivePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEffectivePolicyRequest method. +// req, resp := client.DescribeEffectivePolicyRequest(params) // -// // Example sending a request using the DescribeEffectivePolicyRequest method. -// req, resp := client.DescribeEffectivePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeEffectivePolicy func (c *Organizations) DescribeEffectivePolicyRequest(input *DescribeEffectivePolicyInput) (req *request.Request, output *DescribeEffectivePolicyOutput) { @@ -4795,278 +4794,279 @@ func (c *Organizations) DescribeEffectivePolicyRequest(input *DescribeEffectiveP // API operation DescribeEffectivePolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. -// -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. -// -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. -// -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. +// +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. +// +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * TargetNotFoundException -// We can't find a root, OU, account, or policy with the TargetId that you specified. +// - TargetNotFoundException +// We can't find a root, OU, account, or policy with the TargetId that you specified. // -// * EffectivePolicyNotFoundException -// If you ran this action on the management account, this policy type is not -// enabled. If you ran the action on a member account, the account doesn't have -// an effective policy of this type. Contact the administrator of your organization -// about attaching a policy of this type to the account. +// - EffectivePolicyNotFoundException +// If you ran this action on the management account, this policy type is not +// enabled. If you ran the action on a member account, the account doesn't have +// an effective policy of this type. Contact the administrator of your organization +// about attaching a policy of this type to the account. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeEffectivePolicy func (c *Organizations) DescribeEffectivePolicy(input *DescribeEffectivePolicyInput) (*DescribeEffectivePolicyOutput, error) { @@ -5106,14 +5106,13 @@ const opDescribeHandshake = "DescribeHandshake" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHandshakeRequest method. +// req, resp := client.DescribeHandshakeRequest(params) // -// // Example sending a request using the DescribeHandshakeRequest method. -// req, resp := client.DescribeHandshakeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeHandshake func (c *Organizations) DescribeHandshakeRequest(input *DescribeHandshakeInput) (req *request.Request, output *DescribeHandshakeOutput) { @@ -5152,109 +5151,110 @@ func (c *Organizations) DescribeHandshakeRequest(input *DescribeHandshakeInput) // API operation DescribeHandshake for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. // -// * HandshakeNotFoundException -// We can't find a handshake with the HandshakeId that you specified. +// - HandshakeNotFoundException +// We can't find a handshake with the HandshakeId that you specified. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeHandshake func (c *Organizations) DescribeHandshake(input *DescribeHandshakeInput) (*DescribeHandshakeOutput, error) { @@ -5294,14 +5294,13 @@ const opDescribeOrganization = "DescribeOrganization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrganizationRequest method. +// req, resp := client.DescribeOrganizationRequest(params) // -// // Example sending a request using the DescribeOrganizationRequest method. -// req, resp := client.DescribeOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganization func (c *Organizations) DescribeOrganizationRequest(input *DescribeOrganizationInput) (req *request.Request, output *DescribeOrganizationOutput) { @@ -5339,32 +5338,33 @@ func (c *Organizations) DescribeOrganizationRequest(input *DescribeOrganizationI // API operation DescribeOrganization for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganization func (c *Organizations) DescribeOrganization(input *DescribeOrganizationInput) (*DescribeOrganizationOutput, error) { @@ -5404,14 +5404,13 @@ const opDescribeOrganizationalUnit = "DescribeOrganizationalUnit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrganizationalUnitRequest method. +// req, resp := client.DescribeOrganizationalUnitRequest(params) // -// // Example sending a request using the DescribeOrganizationalUnitRequest method. -// req, resp := client.DescribeOrganizationalUnitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganizationalUnit func (c *Organizations) DescribeOrganizationalUnitRequest(input *DescribeOrganizationalUnitInput) (req *request.Request, output *DescribeOrganizationalUnitOutput) { @@ -5446,109 +5445,110 @@ func (c *Organizations) DescribeOrganizationalUnitRequest(input *DescribeOrganiz // API operation DescribeOrganizationalUnit for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * OrganizationalUnitNotFoundException -// We can't find an OU with the OrganizationalUnitId that you specified. +// - OrganizationalUnitNotFoundException +// We can't find an OU with the OrganizationalUnitId that you specified. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeOrganizationalUnit func (c *Organizations) DescribeOrganizationalUnit(input *DescribeOrganizationalUnitInput) (*DescribeOrganizationalUnitOutput, error) { @@ -5588,14 +5588,13 @@ const opDescribePolicy = "DescribePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePolicyRequest method. +// req, resp := client.DescribePolicyRequest(params) // -// // Example sending a request using the DescribePolicyRequest method. -// req, resp := client.DescribePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribePolicy func (c *Organizations) DescribePolicyRequest(input *DescribePolicyInput) (req *request.Request, output *DescribePolicyOutput) { @@ -5630,112 +5629,113 @@ func (c *Organizations) DescribePolicyRequest(input *DescribePolicyInput) (req * // API operation DescribePolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * PolicyNotFoundException -// We can't find a policy with the PolicyId that you specified. +// - PolicyNotFoundException +// We can't find a policy with the PolicyId that you specified. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribePolicy func (c *Organizations) DescribePolicy(input *DescribePolicyInput) (*DescribePolicyOutput, error) { @@ -5775,14 +5775,13 @@ const opDetachPolicy = "DetachPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachPolicyRequest method. +// req, resp := client.DetachPolicyRequest(params) // -// // Example sending a request using the DetachPolicyRequest method. -// req, resp := client.DetachPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DetachPolicy func (c *Organizations) DetachPolicyRequest(input *DetachPolicyInput) (req *request.Request, output *DetachPolicyOutput) { @@ -5830,286 +5829,287 @@ func (c *Organizations) DetachPolicyRequest(input *DetachPolicyInput) (req *requ // API operation DetachPolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * PolicyNotAttachedException -// The policy isn't attached to the specified target in the specified root. +// - PolicyNotAttachedException +// The policy isn't attached to the specified target in the specified root. // -// * PolicyNotFoundException -// We can't find a policy with the PolicyId that you specified. +// - PolicyNotFoundException +// We can't find a policy with the PolicyId that you specified. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TargetNotFoundException -// We can't find a root, OU, account, or policy with the TargetId that you specified. +// - TargetNotFoundException +// We can't find a root, OU, account, or policy with the TargetId that you specified. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // -// * PolicyChangesInProgressException -// Changes to the effective policy are in progress, and its contents can't be -// returned. Try the operation again later. +// - PolicyChangesInProgressException +// Changes to the effective policy are in progress, and its contents can't be +// returned. Try the operation again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DetachPolicy func (c *Organizations) DetachPolicy(input *DetachPolicyInput) (*DetachPolicyOutput, error) { @@ -6149,14 +6149,13 @@ const opDisableAWSServiceAccess = "DisableAWSServiceAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableAWSServiceAccessRequest method. +// req, resp := client.DisableAWSServiceAccessRequest(params) // -// // Example sending a request using the DisableAWSServiceAccessRequest method. -// req, resp := client.DisableAWSServiceAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisableAWSServiceAccess func (c *Organizations) DisableAWSServiceAccessRequest(input *DisableAWSServiceAccessInput) (req *request.Request, output *DisableAWSServiceAccessOutput) { @@ -6202,22 +6201,22 @@ func (c *Organizations) DisableAWSServiceAccessRequest(input *DisableAWSServiceA // If you disable access by using this command, it causes the following actions // to occur: // -// * The service can no longer create a service-linked role in the accounts -// in your organization. This means that the service can't perform operations -// on your behalf on any new accounts in your organization. The service can -// still perform operations in older accounts until the service completes -// its clean-up from Organizations. +// - The service can no longer create a service-linked role in the accounts +// in your organization. This means that the service can't perform operations +// on your behalf on any new accounts in your organization. The service can +// still perform operations in older accounts until the service completes +// its clean-up from Organizations. // -// * The service can no longer perform tasks in the member accounts in the -// organization, unless those operations are explicitly permitted by the -// IAM policies that are attached to your roles. This includes any data aggregation -// from the member accounts to the management account, or to a delegated -// administrator account, where relevant. +// - The service can no longer perform tasks in the member accounts in the +// organization, unless those operations are explicitly permitted by the +// IAM policies that are attached to your roles. This includes any data aggregation +// from the member accounts to the management account, or to a delegated +// administrator account, where relevant. // -// * Some services detect this and clean up any remaining data or resources -// related to the integration, while other services stop accessing the organization -// but leave any historical data and configuration in place to support a -// possible re-enabling of the integration. +// - Some services detect this and clean up any remaining data or resources +// related to the integration, while other services stop accessing the organization +// but leave any historical data and configuration in place to support a +// possible re-enabling of the integration. // // Using the other service's console or commands to disable the integration // ensures that the other service is aware that it can clean up any resources @@ -6243,273 +6242,274 @@ func (c *Organizations) DisableAWSServiceAccessRequest(input *DisableAWSServiceA // API operation DisableAWSServiceAccess for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. +// +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisableAWSServiceAccess func (c *Organizations) DisableAWSServiceAccess(input *DisableAWSServiceAccessInput) (*DisableAWSServiceAccessOutput, error) { @@ -6549,14 +6549,13 @@ const opDisablePolicyType = "DisablePolicyType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisablePolicyTypeRequest method. +// req, resp := client.DisablePolicyTypeRequest(params) // -// // Example sending a request using the DisablePolicyTypeRequest method. -// req, resp := client.DisablePolicyTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyType func (c *Organizations) DisablePolicyTypeRequest(input *DisablePolicyTypeInput) (req *request.Request, output *DisablePolicyTypeOutput) { @@ -6602,287 +6601,288 @@ func (c *Organizations) DisablePolicyTypeRequest(input *DisablePolicyTypeInput) // API operation DisablePolicyType for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * PolicyTypeNotEnabledException -// The specified policy type isn't currently enabled in this root. You can't -// attach policies of the specified type to entities in a root until you enable -// that type in the root. For more information, see Enabling All Features in -// Your Organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html) -// in the Organizations User Guide. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * RootNotFoundException -// We can't find a root with the RootId that you specified. +// - PolicyTypeNotEnabledException +// The specified policy type isn't currently enabled in this root. You can't +// attach policies of the specified type to entities in a root until you enable +// that type in the root. For more information, see Enabling All Features in +// Your Organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_org_support-all-features.html) +// in the Organizations User Guide. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - RootNotFoundException +// We can't find a root with the RootId that you specified. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * PolicyChangesInProgressException -// Changes to the effective policy are in progress, and its contents can't be -// returned. Try the operation again later. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. +// +// - PolicyChangesInProgressException +// Changes to the effective policy are in progress, and its contents can't be +// returned. Try the operation again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisablePolicyType func (c *Organizations) DisablePolicyType(input *DisablePolicyTypeInput) (*DisablePolicyTypeOutput, error) { @@ -6922,14 +6922,13 @@ const opEnableAWSServiceAccess = "EnableAWSServiceAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableAWSServiceAccessRequest method. +// req, resp := client.EnableAWSServiceAccessRequest(params) // -// // Example sending a request using the EnableAWSServiceAccessRequest method. -// req, resp := client.EnableAWSServiceAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnableAWSServiceAccess func (c *Organizations) EnableAWSServiceAccessRequest(input *EnableAWSServiceAccessInput) (req *request.Request, output *EnableAWSServiceAccessOutput) { @@ -6980,273 +6979,274 @@ func (c *Organizations) EnableAWSServiceAccessRequest(input *EnableAWSServiceAcc // API operation EnableAWSServiceAccess for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. +// +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnableAWSServiceAccess func (c *Organizations) EnableAWSServiceAccess(input *EnableAWSServiceAccessInput) (*EnableAWSServiceAccessOutput, error) { @@ -7286,14 +7286,13 @@ const opEnableAllFeatures = "EnableAllFeatures" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableAllFeaturesRequest method. +// req, resp := client.EnableAllFeaturesRequest(params) // -// // Example sending a request using the EnableAllFeaturesRequest method. -// req, resp := client.EnableAllFeaturesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnableAllFeatures func (c *Organizations) EnableAllFeaturesRequest(input *EnableAllFeaturesInput) (req *request.Request, output *EnableAllFeaturesOutput) { @@ -7353,155 +7352,156 @@ func (c *Organizations) EnableAllFeaturesRequest(input *EnableAllFeaturesInput) // API operation EnableAllFeatures for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * HandshakeConstraintViolationException -// The requested operation would violate the constraint identified in the reason -// code. +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation: +// - HandshakeConstraintViolationException +// The requested operation would violate the constraint identified in the reason +// code. // -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. Note that deleted and closed -// accounts still count toward your limit. If you get this exception immediately -// after creating the organization, wait one hour and try again. If after -// an hour it continues to fail with this error, contact Amazon Web Services -// Support (https://docs.aws.amazon.com/support/home#/). +// Some of the reasons in the following list might not be applicable to this +// specific API or operation: // -// * ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because -// the invited account is already a member of an organization. +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. Note that deleted and closed +// accounts still count toward your limit. If you get this exception immediately +// after creating the organization, wait one hour and try again. If after +// an hour it continues to fail with this error, contact Amazon Web Services +// Support (https://docs.aws.amazon.com/support/home#/). // -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. +// - ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because +// the invited account is already a member of an organization. // -// * INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You can't issue new invitations -// to join an organization while it's in the process of enabling all features. -// You can resume inviting accounts after you finalize the process when all -// accounts have agreed to the change. +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. // -// * ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid -// because the organization has already enabled all features. +// - INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You can't issue new invitations +// to join an organization while it's in the process of enabling all features. +// You can resume inviting accounts after you finalize the process when all +// accounts have agreed to the change. // -// * ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake -// request is invalid because the organization has already started the process -// to enable all features. +// - ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid +// because the organization has already enabled all features. // -// * ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because -// the account is from a different marketplace than the accounts in the organization. -// For example, accounts with India addresses must be associated with the -// AISPL marketplace. All accounts in an organization must be from the same -// marketplace. +// - ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake +// request is invalid because the organization has already started the process +// to enable all features. // -// * ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to -// change the membership of an account too quickly after its previous change. +// - ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because +// the account is from a different marketplace than the accounts in the organization. +// For example, accounts with India addresses must be associated with the +// AISPL marketplace. All accounts in an organization must be from the same +// marketplace. // -// * PAYMENT_INSTRUMENT_REQUIRED: You can't complete the operation with an -// account that doesn't have a payment instrument, such as a credit card, -// associated with it. +// - ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to +// change the membership of an account too quickly after its previous change. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - PAYMENT_INSTRUMENT_REQUIRED: You can't complete the operation with an +// account that doesn't have a payment instrument, such as a credit card, +// associated with it. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. +// +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnableAllFeatures func (c *Organizations) EnableAllFeatures(input *EnableAllFeaturesInput) (*EnableAllFeaturesOutput, error) { @@ -7541,14 +7541,13 @@ const opEnablePolicyType = "EnablePolicyType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnablePolicyTypeRequest method. +// req, resp := client.EnablePolicyTypeRequest(params) // -// // Example sending a request using the EnablePolicyTypeRequest method. -// req, resp := client.EnablePolicyTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyType func (c *Organizations) EnablePolicyTypeRequest(input *EnablePolicyTypeInput) (req *request.Request, output *EnablePolicyTypeOutput) { @@ -7592,290 +7591,291 @@ func (c *Organizations) EnablePolicyTypeRequest(input *EnablePolicyTypeInput) (r // API operation EnablePolicyType for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * PolicyTypeAlreadyEnabledException -// The specified policy type is already enabled in the specified root. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * RootNotFoundException -// We can't find a root with the RootId that you specified. +// - PolicyTypeAlreadyEnabledException +// The specified policy type is already enabled in the specified root. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - RootNotFoundException +// We can't find a root with the RootId that you specified. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// * PolicyTypeNotAvailableForOrganizationException -// You can't use the specified policy type with the feature set currently enabled -// for this organization. For example, you can enable SCPs only after you enable -// all features in the organization. For more information, see Managing Organizations -// Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - PolicyTypeNotAvailableForOrganizationException +// You can't use the specified policy type with the feature set currently enabled +// for this organization. For example, you can enable SCPs only after you enable +// all features in the organization. For more information, see Managing Organizations +// Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies.html#enable_policies_on_root)in +// the Organizations User Guide. // -// * PolicyChangesInProgressException -// Changes to the effective policy are in progress, and its contents can't be -// returned. Try the operation again later. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. +// +// - PolicyChangesInProgressException +// Changes to the effective policy are in progress, and its contents can't be +// returned. Try the operation again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnablePolicyType func (c *Organizations) EnablePolicyType(input *EnablePolicyTypeInput) (*EnablePolicyTypeOutput, error) { @@ -7915,14 +7915,13 @@ const opInviteAccountToOrganization = "InviteAccountToOrganization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InviteAccountToOrganizationRequest method. +// req, resp := client.InviteAccountToOrganizationRequest(params) // -// // Example sending a request using the InviteAccountToOrganizationRequest method. -// req, resp := client.InviteAccountToOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/InviteAccountToOrganization func (c *Organizations) InviteAccountToOrganizationRequest(input *InviteAccountToOrganizationInput) (req *request.Request, output *InviteAccountToOrganizationOutput) { @@ -7948,19 +7947,19 @@ func (c *Organizations) InviteAccountToOrganizationRequest(input *InviteAccountT // is associated with the other account's owner. The invitation is implemented // as a Handshake whose details are in the response. // -// * You can invite Amazon Web Services accounts only from the same seller -// as the management account. For example, if your organization's management -// account was created by Amazon Internet Services Pvt. Ltd (AISPL), an Amazon -// Web Services seller in India, you can invite only other AISPL accounts -// to your organization. You can't combine accounts from AISPL and Amazon -// Web Services or from any other Amazon Web Services seller. For more information, -// see Consolidated Billing in India (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/useconsolidatedbilliing-India.html). +// - You can invite Amazon Web Services accounts only from the same seller +// as the management account. For example, if your organization's management +// account was created by Amazon Internet Services Pvt. Ltd (AISPL), an Amazon +// Web Services seller in India, you can invite only other AISPL accounts +// to your organization. You can't combine accounts from AISPL and Amazon +// Web Services or from any other Amazon Web Services seller. For more information, +// see Consolidated Billing in India (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/useconsolidatedbilliing-India.html). // -// * If you receive an exception that indicates that you exceeded your account -// limits for the organization or that the operation failed because your -// organization is still initializing, wait one hour and then try again. -// If the error persists after an hour, contact Amazon Web Services Support -// (https://console.aws.amazon.com/support/home#/). +// - If you receive an exception that indicates that you exceeded your account +// limits for the organization or that the operation failed because your +// organization is still initializing, wait one hour and then try again. +// If the error persists after an hour, contact Amazon Web Services Support +// (https://console.aws.amazon.com/support/home#/). // // If the request includes tags, then the requester must have the organizations:TagResource // permission. @@ -7975,334 +7974,335 @@ func (c *Organizations) InviteAccountToOrganizationRequest(input *InviteAccountT // API operation InviteAccountToOrganization for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * AccountOwnerNotVerifiedException -// You can't invite an existing account to your organization until you verify -// that you own the email address associated with the management account. For -// more information, see Email Address Verification (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_create.html#about-email-verification) -// in the Organizations User Guide. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * HandshakeConstraintViolationException -// The requested operation would violate the constraint identified in the reason -// code. -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation: -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. Note that deleted and closed -// accounts still count toward your limit. If you get this exception immediately -// after creating the organization, wait one hour and try again. If after -// an hour it continues to fail with this error, contact Amazon Web Services -// Support (https://docs.aws.amazon.com/support/home#/). -// -// * ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because -// the invited account is already a member of an organization. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You can't issue new invitations -// to join an organization while it's in the process of enabling all features. -// You can resume inviting accounts after you finalize the process when all -// accounts have agreed to the change. -// -// * ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid -// because the organization has already enabled all features. -// -// * ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake -// request is invalid because the organization has already started the process -// to enable all features. -// -// * ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because -// the account is from a different marketplace than the accounts in the organization. -// For example, accounts with India addresses must be associated with the -// AISPL marketplace. All accounts in an organization must be from the same -// marketplace. -// -// * ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to -// change the membership of an account too quickly after its previous change. -// -// * PAYMENT_INSTRUMENT_REQUIRED: You can't complete the operation with an -// account that doesn't have a payment instrument, such as a credit card, -// associated with it. -// -// * DuplicateHandshakeException -// A handshake with the same action and target already exists. For example, -// if you invited an account to join your organization, the invited account -// might already have a pending invitation from this organization. If you intend -// to resend an invitation to an account, ensure that existing handshakes that -// might be considered duplicates are canceled or declined. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - AccountOwnerNotVerifiedException +// You can't invite an existing account to your organization until you verify +// that you own the email address associated with the management account. For +// more information, see Email Address Verification (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_create.html#about-email-verification) +// in the Organizations User Guide. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - HandshakeConstraintViolationException +// The requested operation would violate the constraint identified in the reason +// code. +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation: +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. Note that deleted and closed +// accounts still count toward your limit. If you get this exception immediately +// after creating the organization, wait one hour and try again. If after +// an hour it continues to fail with this error, contact Amazon Web Services +// Support (https://docs.aws.amazon.com/support/home#/). +// +// - ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because +// the invited account is already a member of an organization. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You can't issue new invitations +// to join an organization while it's in the process of enabling all features. +// You can resume inviting accounts after you finalize the process when all +// accounts have agreed to the change. +// +// - ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid +// because the organization has already enabled all features. +// +// - ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake +// request is invalid because the organization has already started the process +// to enable all features. +// +// - ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because +// the account is from a different marketplace than the accounts in the organization. +// For example, accounts with India addresses must be associated with the +// AISPL marketplace. All accounts in an organization must be from the same +// marketplace. +// +// - ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to +// change the membership of an account too quickly after its previous change. +// +// - PAYMENT_INSTRUMENT_REQUIRED: You can't complete the operation with an +// account that doesn't have a payment instrument, such as a credit card, +// associated with it. +// +// - DuplicateHandshakeException +// A handshake with the same action and target already exists. For example, +// if you invited an account to join your organization, the invited account +// might already have a pending invitation from this organization. If you intend +// to resend an invitation to an account, ensure that existing handshakes that +// might be considered duplicates are canceled or declined. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * FinalizingOrganizationException -// Organizations couldn't perform the operation because your organization hasn't -// finished initializing. This can take up to an hour. Try again later. If after -// one hour you continue to receive this error, contact Amazon Web Services -// Support (https://console.aws.amazon.com/support/home#/). +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - FinalizingOrganizationException +// Organizations couldn't perform the operation because your organization hasn't +// finished initializing. This can take up to an hour. Try again later. If after +// one hour you continue to receive this error, contact Amazon Web Services +// Support (https://console.aws.amazon.com/support/home#/). // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. +// +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/InviteAccountToOrganization func (c *Organizations) InviteAccountToOrganization(input *InviteAccountToOrganizationInput) (*InviteAccountToOrganizationOutput, error) { @@ -8342,14 +8342,13 @@ const opLeaveOrganization = "LeaveOrganization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the LeaveOrganizationRequest method. +// req, resp := client.LeaveOrganizationRequest(params) // -// // Example sending a request using the LeaveOrganizationRequest method. -// req, resp := client.LeaveOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/LeaveOrganization func (c *Organizations) LeaveOrganizationRequest(input *LeaveOrganizationInput) (req *request.Request, output *LeaveOrganizationOutput) { @@ -8378,44 +8377,44 @@ func (c *Organizations) LeaveOrganizationRequest(input *LeaveOrganizationInput) // // This operation can be called only from a member account in the organization. // -// * The management account in an organization with all features enabled -// can set service control policies (SCPs) that can restrict what administrators -// of member accounts can do. This includes preventing them from successfully -// calling LeaveOrganization and leaving the organization. -// -// * You can leave an organization as a member account only if the account -// is configured with the information required to operate as a standalone -// account. When you create an account in an organization using the Organizations -// console, API, or CLI commands, the information required of standalone -// accounts is not automatically collected. For each account that you want -// to make standalone, you must perform the following steps. If any of the -// steps are already completed for this account, that step doesn't appear. -// Choose a support plan Provide and verify the required contact information -// Provide a current payment method Amazon Web Services uses the payment -// method to charge for any billable (not free tier) Amazon Web Services -// activity that occurs while the account isn't attached to an organization. -// Follow the steps at To leave an organization when all required account -// information has not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. -// -// * The account that you want to leave must not be a delegated administrator -// account for any Amazon Web Services service enabled for your organization. -// If the account is a delegated administrator, you must first change the -// delegated administrator account to another account that is remaining in -// the organization. -// -// * You can leave an organization only after you enable IAM user access -// to billing in your account. For more information, see Activating Access -// to the Billing and Cost Management Console (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate) -// in the Amazon Web Services Billing and Cost Management User Guide. -// -// * After the account leaves the organization, all tags that were attached -// to the account object in the organization are deleted. Amazon Web Services -// accounts outside of an organization do not support tags. -// -// * A newly created account has a waiting period before it can be removed -// from its organization. If you get an error that indicates that a wait -// period is required, then try again in a few days. +// - The management account in an organization with all features enabled +// can set service control policies (SCPs) that can restrict what administrators +// of member accounts can do. This includes preventing them from successfully +// calling LeaveOrganization and leaving the organization. +// +// - You can leave an organization as a member account only if the account +// is configured with the information required to operate as a standalone +// account. When you create an account in an organization using the Organizations +// console, API, or CLI commands, the information required of standalone +// accounts is not automatically collected. For each account that you want +// to make standalone, you must perform the following steps. If any of the +// steps are already completed for this account, that step doesn't appear. +// Choose a support plan Provide and verify the required contact information +// Provide a current payment method Amazon Web Services uses the payment +// method to charge for any billable (not free tier) Amazon Web Services +// activity that occurs while the account isn't attached to an organization. +// Follow the steps at To leave an organization when all required account +// information has not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - The account that you want to leave must not be a delegated administrator +// account for any Amazon Web Services service enabled for your organization. +// If the account is a delegated administrator, you must first change the +// delegated administrator account to another account that is remaining in +// the organization. +// +// - You can leave an organization only after you enable IAM user access +// to billing in your account. For more information, see Activating Access +// to the Billing and Cost Management Console (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/grantaccess.html#ControllingAccessWebsite-Activate) +// in the Amazon Web Services Billing and Cost Management User Guide. +// +// - After the account leaves the organization, all tags that were attached +// to the account object in the organization are deleted. Amazon Web Services +// accounts outside of an organization do not support tags. +// +// - A newly created account has a waiting period before it can be removed +// from its organization. If you get an error that indicates that a wait +// period is required, then try again in a few days. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8425,280 +8424,281 @@ func (c *Organizations) LeaveOrganizationRequest(input *LeaveOrganizationInput) // API operation LeaveOrganization for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AccountNotFoundException -// We can't find an Amazon Web Services account with the AccountId that you -// specified, or the account whose credentials you used to make this request -// isn't a member of an organization. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AccountNotFoundException +// We can't find an Amazon Web Services account with the AccountId that you +// specified, or the account whose credentials you used to make this request +// isn't a member of an organization. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * MasterCannotLeaveOrganizationException -// You can't remove a management account from an organization. If you want the -// management account to become a member account in another organization, you -// must first delete the current organization of the management account. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - MasterCannotLeaveOrganizationException +// You can't remove a management account from an organization. If you want the +// management account to become a member account in another organization, you +// must first delete the current organization of the management account. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. +// +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/LeaveOrganization func (c *Organizations) LeaveOrganization(input *LeaveOrganizationInput) (*LeaveOrganizationOutput, error) { @@ -8738,14 +8738,13 @@ const opListAWSServiceAccessForOrganization = "ListAWSServiceAccessForOrganizati // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAWSServiceAccessForOrganizationRequest method. +// req, resp := client.ListAWSServiceAccessForOrganizationRequest(params) // -// // Example sending a request using the ListAWSServiceAccessForOrganizationRequest method. -// req, resp := client.ListAWSServiceAccessForOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAWSServiceAccessForOrganization func (c *Organizations) ListAWSServiceAccessForOrganizationRequest(input *ListAWSServiceAccessForOrganizationInput) (req *request.Request, output *ListAWSServiceAccessForOrganizationOutput) { @@ -8794,269 +8793,270 @@ func (c *Organizations) ListAWSServiceAccessForOrganizationRequest(input *ListAW // API operation ListAWSServiceAccessForOrganization for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAWSServiceAccessForOrganization func (c *Organizations) ListAWSServiceAccessForOrganization(input *ListAWSServiceAccessForOrganizationInput) (*ListAWSServiceAccessForOrganizationOutput, error) { @@ -9088,15 +9088,14 @@ func (c *Organizations) ListAWSServiceAccessForOrganizationWithContext(ctx aws.C // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAWSServiceAccessForOrganization operation. -// pageNum := 0 -// err := client.ListAWSServiceAccessForOrganizationPages(params, -// func(page *organizations.ListAWSServiceAccessForOrganizationOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAWSServiceAccessForOrganization operation. +// pageNum := 0 +// err := client.ListAWSServiceAccessForOrganizationPages(params, +// func(page *organizations.ListAWSServiceAccessForOrganizationOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListAWSServiceAccessForOrganizationPages(input *ListAWSServiceAccessForOrganizationInput, fn func(*ListAWSServiceAccessForOrganizationOutput, bool) bool) error { return c.ListAWSServiceAccessForOrganizationPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9148,14 +9147,13 @@ const opListAccounts = "ListAccounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccountsRequest method. +// req, resp := client.ListAccountsRequest(params) // -// // Example sending a request using the ListAccountsRequest method. -// req, resp := client.ListAccountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccounts func (c *Organizations) ListAccountsRequest(input *ListAccountsInput) (req *request.Request, output *ListAccountsOutput) { @@ -9203,106 +9201,107 @@ func (c *Organizations) ListAccountsRequest(input *ListAccountsInput) (req *requ // API operation ListAccounts for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. +// +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccounts func (c *Organizations) ListAccounts(input *ListAccountsInput) (*ListAccountsOutput, error) { @@ -9334,15 +9333,14 @@ func (c *Organizations) ListAccountsWithContext(ctx aws.Context, input *ListAcco // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccounts operation. -// pageNum := 0 -// err := client.ListAccountsPages(params, -// func(page *organizations.ListAccountsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccounts operation. +// pageNum := 0 +// err := client.ListAccountsPages(params, +// func(page *organizations.ListAccountsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListAccountsPages(input *ListAccountsInput, fn func(*ListAccountsOutput, bool) bool) error { return c.ListAccountsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9394,14 +9392,13 @@ const opListAccountsForParent = "ListAccountsForParent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccountsForParentRequest method. +// req, resp := client.ListAccountsForParentRequest(params) // -// // Example sending a request using the ListAccountsForParentRequest method. -// req, resp := client.ListAccountsForParentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsForParent func (c *Organizations) ListAccountsForParentRequest(input *ListAccountsForParentInput) (req *request.Request, output *ListAccountsForParentOutput) { @@ -9451,109 +9448,110 @@ func (c *Organizations) ListAccountsForParentRequest(input *ListAccountsForParen // API operation ListAccountsForParent for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ParentNotFoundException -// We can't find a root or OU with the ParentId that you specified. +// - ParentNotFoundException +// We can't find a root or OU with the ParentId that you specified. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAccountsForParent func (c *Organizations) ListAccountsForParent(input *ListAccountsForParentInput) (*ListAccountsForParentOutput, error) { @@ -9585,15 +9583,14 @@ func (c *Organizations) ListAccountsForParentWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccountsForParent operation. -// pageNum := 0 -// err := client.ListAccountsForParentPages(params, -// func(page *organizations.ListAccountsForParentOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccountsForParent operation. +// pageNum := 0 +// err := client.ListAccountsForParentPages(params, +// func(page *organizations.ListAccountsForParentOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListAccountsForParentPages(input *ListAccountsForParentInput, fn func(*ListAccountsForParentOutput, bool) bool) error { return c.ListAccountsForParentPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9645,14 +9642,13 @@ const opListChildren = "ListChildren" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListChildrenRequest method. +// req, resp := client.ListChildrenRequest(params) // -// // Example sending a request using the ListChildrenRequest method. -// req, resp := client.ListChildrenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListChildren func (c *Organizations) ListChildrenRequest(input *ListChildrenInput) (req *request.Request, output *ListChildrenOutput) { @@ -9700,109 +9696,110 @@ func (c *Organizations) ListChildrenRequest(input *ListChildrenInput) (req *requ // API operation ListChildren for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * ParentNotFoundException -// We can't find a root or OU with the ParentId that you specified. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ParentNotFoundException +// We can't find a root or OU with the ParentId that you specified. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. +// +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListChildren func (c *Organizations) ListChildren(input *ListChildrenInput) (*ListChildrenOutput, error) { @@ -9834,15 +9831,14 @@ func (c *Organizations) ListChildrenWithContext(ctx aws.Context, input *ListChil // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListChildren operation. -// pageNum := 0 -// err := client.ListChildrenPages(params, -// func(page *organizations.ListChildrenOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListChildren operation. +// pageNum := 0 +// err := client.ListChildrenPages(params, +// func(page *organizations.ListChildrenOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListChildrenPages(input *ListChildrenInput, fn func(*ListChildrenOutput, bool) bool) error { return c.ListChildrenPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9894,14 +9890,13 @@ const opListCreateAccountStatus = "ListCreateAccountStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCreateAccountStatusRequest method. +// req, resp := client.ListCreateAccountStatusRequest(params) // -// // Example sending a request using the ListCreateAccountStatusRequest method. -// req, resp := client.ListCreateAccountStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListCreateAccountStatus func (c *Organizations) ListCreateAccountStatusRequest(input *ListCreateAccountStatusInput) (req *request.Request, output *ListCreateAccountStatusOutput) { @@ -9948,109 +9943,110 @@ func (c *Organizations) ListCreateAccountStatusRequest(input *ListCreateAccountS // API operation ListCreateAccountStatus for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListCreateAccountStatus func (c *Organizations) ListCreateAccountStatus(input *ListCreateAccountStatusInput) (*ListCreateAccountStatusOutput, error) { @@ -10082,15 +10078,14 @@ func (c *Organizations) ListCreateAccountStatusWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCreateAccountStatus operation. -// pageNum := 0 -// err := client.ListCreateAccountStatusPages(params, -// func(page *organizations.ListCreateAccountStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCreateAccountStatus operation. +// pageNum := 0 +// err := client.ListCreateAccountStatusPages(params, +// func(page *organizations.ListCreateAccountStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListCreateAccountStatusPages(input *ListCreateAccountStatusInput, fn func(*ListCreateAccountStatusOutput, bool) bool) error { return c.ListCreateAccountStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10142,14 +10137,13 @@ const opListDelegatedAdministrators = "ListDelegatedAdministrators" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDelegatedAdministratorsRequest method. +// req, resp := client.ListDelegatedAdministratorsRequest(params) // -// // Example sending a request using the ListDelegatedAdministratorsRequest method. -// req, resp := client.ListDelegatedAdministratorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListDelegatedAdministrators func (c *Organizations) ListDelegatedAdministratorsRequest(input *ListDelegatedAdministratorsInput) (req *request.Request, output *ListDelegatedAdministratorsOutput) { @@ -10191,269 +10185,270 @@ func (c *Organizations) ListDelegatedAdministratorsRequest(input *ListDelegatedA // API operation ListDelegatedAdministrators for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListDelegatedAdministrators func (c *Organizations) ListDelegatedAdministrators(input *ListDelegatedAdministratorsInput) (*ListDelegatedAdministratorsOutput, error) { @@ -10485,15 +10480,14 @@ func (c *Organizations) ListDelegatedAdministratorsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDelegatedAdministrators operation. -// pageNum := 0 -// err := client.ListDelegatedAdministratorsPages(params, -// func(page *organizations.ListDelegatedAdministratorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDelegatedAdministrators operation. +// pageNum := 0 +// err := client.ListDelegatedAdministratorsPages(params, +// func(page *organizations.ListDelegatedAdministratorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListDelegatedAdministratorsPages(input *ListDelegatedAdministratorsInput, fn func(*ListDelegatedAdministratorsOutput, bool) bool) error { return c.ListDelegatedAdministratorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10545,14 +10539,13 @@ const opListDelegatedServicesForAccount = "ListDelegatedServicesForAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDelegatedServicesForAccountRequest method. +// req, resp := client.ListDelegatedServicesForAccountRequest(params) // -// // Example sending a request using the ListDelegatedServicesForAccountRequest method. -// req, resp := client.ListDelegatedServicesForAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListDelegatedServicesForAccount func (c *Organizations) ListDelegatedServicesForAccountRequest(input *ListDelegatedServicesForAccountInput) (req *request.Request, output *ListDelegatedServicesForAccountOutput) { @@ -10594,278 +10587,279 @@ func (c *Organizations) ListDelegatedServicesForAccountRequest(input *ListDelega // API operation ListDelegatedServicesForAccount for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AccountNotFoundException -// We can't find an Amazon Web Services account with the AccountId that you -// specified, or the account whose credentials you used to make this request -// isn't a member of an organization. -// -// * AccountNotRegisteredException -// The specified account is not a delegated administrator for this Amazon Web -// Services service. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AccountNotFoundException +// We can't find an Amazon Web Services account with the AccountId that you +// specified, or the account whose credentials you used to make this request +// isn't a member of an organization. +// +// - AccountNotRegisteredException +// The specified account is not a delegated administrator for this Amazon Web +// Services service. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. +// +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListDelegatedServicesForAccount func (c *Organizations) ListDelegatedServicesForAccount(input *ListDelegatedServicesForAccountInput) (*ListDelegatedServicesForAccountOutput, error) { @@ -10897,15 +10891,14 @@ func (c *Organizations) ListDelegatedServicesForAccountWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDelegatedServicesForAccount operation. -// pageNum := 0 -// err := client.ListDelegatedServicesForAccountPages(params, -// func(page *organizations.ListDelegatedServicesForAccountOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDelegatedServicesForAccount operation. +// pageNum := 0 +// err := client.ListDelegatedServicesForAccountPages(params, +// func(page *organizations.ListDelegatedServicesForAccountOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListDelegatedServicesForAccountPages(input *ListDelegatedServicesForAccountInput, fn func(*ListDelegatedServicesForAccountOutput, bool) bool) error { return c.ListDelegatedServicesForAccountPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10957,14 +10950,13 @@ const opListHandshakesForAccount = "ListHandshakesForAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHandshakesForAccountRequest method. +// req, resp := client.ListHandshakesForAccountRequest(params) // -// // Example sending a request using the ListHandshakesForAccountRequest method. -// req, resp := client.ListHandshakesForAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForAccount func (c *Organizations) ListHandshakesForAccountRequest(input *ListHandshakesForAccountInput) (req *request.Request, output *ListHandshakesForAccountOutput) { @@ -11013,106 +11005,107 @@ func (c *Organizations) ListHandshakesForAccountRequest(input *ListHandshakesFor // API operation ListHandshakesForAccount for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForAccount func (c *Organizations) ListHandshakesForAccount(input *ListHandshakesForAccountInput) (*ListHandshakesForAccountOutput, error) { @@ -11144,15 +11137,14 @@ func (c *Organizations) ListHandshakesForAccountWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListHandshakesForAccount operation. -// pageNum := 0 -// err := client.ListHandshakesForAccountPages(params, -// func(page *organizations.ListHandshakesForAccountOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListHandshakesForAccount operation. +// pageNum := 0 +// err := client.ListHandshakesForAccountPages(params, +// func(page *organizations.ListHandshakesForAccountOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListHandshakesForAccountPages(input *ListHandshakesForAccountInput, fn func(*ListHandshakesForAccountOutput, bool) bool) error { return c.ListHandshakesForAccountPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11204,14 +11196,13 @@ const opListHandshakesForOrganization = "ListHandshakesForOrganization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHandshakesForOrganizationRequest method. +// req, resp := client.ListHandshakesForOrganizationRequest(params) // -// // Example sending a request using the ListHandshakesForOrganizationRequest method. -// req, resp := client.ListHandshakesForOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForOrganization func (c *Organizations) ListHandshakesForOrganizationRequest(input *ListHandshakesForOrganizationInput) (req *request.Request, output *ListHandshakesForOrganizationOutput) { @@ -11264,110 +11255,111 @@ func (c *Organizations) ListHandshakesForOrganizationRequest(input *ListHandshak // API operation ListHandshakesForOrganization for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. +// +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListHandshakesForOrganization func (c *Organizations) ListHandshakesForOrganization(input *ListHandshakesForOrganizationInput) (*ListHandshakesForOrganizationOutput, error) { @@ -11399,15 +11391,14 @@ func (c *Organizations) ListHandshakesForOrganizationWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListHandshakesForOrganization operation. -// pageNum := 0 -// err := client.ListHandshakesForOrganizationPages(params, -// func(page *organizations.ListHandshakesForOrganizationOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListHandshakesForOrganization operation. +// pageNum := 0 +// err := client.ListHandshakesForOrganizationPages(params, +// func(page *organizations.ListHandshakesForOrganizationOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListHandshakesForOrganizationPages(input *ListHandshakesForOrganizationInput, fn func(*ListHandshakesForOrganizationOutput, bool) bool) error { return c.ListHandshakesForOrganizationPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11459,14 +11450,13 @@ const opListOrganizationalUnitsForParent = "ListOrganizationalUnitsForParent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOrganizationalUnitsForParentRequest method. +// req, resp := client.ListOrganizationalUnitsForParentRequest(params) // -// // Example sending a request using the ListOrganizationalUnitsForParentRequest method. -// req, resp := client.ListOrganizationalUnitsForParentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListOrganizationalUnitsForParent func (c *Organizations) ListOrganizationalUnitsForParentRequest(input *ListOrganizationalUnitsForParentInput) (req *request.Request, output *ListOrganizationalUnitsForParentOutput) { @@ -11512,109 +11502,110 @@ func (c *Organizations) ListOrganizationalUnitsForParentRequest(input *ListOrgan // API operation ListOrganizationalUnitsForParent for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ParentNotFoundException -// We can't find a root or OU with the ParentId that you specified. +// - ParentNotFoundException +// We can't find a root or OU with the ParentId that you specified. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListOrganizationalUnitsForParent func (c *Organizations) ListOrganizationalUnitsForParent(input *ListOrganizationalUnitsForParentInput) (*ListOrganizationalUnitsForParentOutput, error) { @@ -11646,15 +11637,14 @@ func (c *Organizations) ListOrganizationalUnitsForParentWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOrganizationalUnitsForParent operation. -// pageNum := 0 -// err := client.ListOrganizationalUnitsForParentPages(params, -// func(page *organizations.ListOrganizationalUnitsForParentOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOrganizationalUnitsForParent operation. +// pageNum := 0 +// err := client.ListOrganizationalUnitsForParentPages(params, +// func(page *organizations.ListOrganizationalUnitsForParentOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListOrganizationalUnitsForParentPages(input *ListOrganizationalUnitsForParentInput, fn func(*ListOrganizationalUnitsForParentOutput, bool) bool) error { return c.ListOrganizationalUnitsForParentPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11706,14 +11696,13 @@ const opListParents = "ListParents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListParentsRequest method. +// req, resp := client.ListParentsRequest(params) // -// // Example sending a request using the ListParentsRequest method. -// req, resp := client.ListParentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListParents func (c *Organizations) ListParentsRequest(input *ListParentsInput) (req *request.Request, output *ListParentsOutput) { @@ -11763,110 +11752,111 @@ func (c *Organizations) ListParentsRequest(input *ListParentsInput) (req *reques // API operation ListParents for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * ChildNotFoundException -// We can't find an organizational unit (OU) or Amazon Web Services account -// with the ChildId that you specified. +// - ChildNotFoundException +// We can't find an organizational unit (OU) or Amazon Web Services account +// with the ChildId that you specified. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListParents func (c *Organizations) ListParents(input *ListParentsInput) (*ListParentsOutput, error) { @@ -11898,15 +11888,14 @@ func (c *Organizations) ListParentsWithContext(ctx aws.Context, input *ListParen // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListParents operation. -// pageNum := 0 -// err := client.ListParentsPages(params, -// func(page *organizations.ListParentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListParents operation. +// pageNum := 0 +// err := client.ListParentsPages(params, +// func(page *organizations.ListParentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListParentsPages(input *ListParentsInput, fn func(*ListParentsOutput, bool) bool) error { return c.ListParentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11958,14 +11947,13 @@ const opListPolicies = "ListPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPoliciesRequest method. +// req, resp := client.ListPoliciesRequest(params) // -// // Example sending a request using the ListPoliciesRequest method. -// req, resp := client.ListPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPolicies func (c *Organizations) ListPoliciesRequest(input *ListPoliciesInput) (req *request.Request, output *ListPoliciesOutput) { @@ -12011,109 +11999,110 @@ func (c *Organizations) ListPoliciesRequest(input *ListPoliciesInput) (req *requ // API operation ListPolicies for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. +// +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPolicies func (c *Organizations) ListPolicies(input *ListPoliciesInput) (*ListPoliciesOutput, error) { @@ -12145,15 +12134,14 @@ func (c *Organizations) ListPoliciesWithContext(ctx aws.Context, input *ListPoli // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPolicies operation. -// pageNum := 0 -// err := client.ListPoliciesPages(params, -// func(page *organizations.ListPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPolicies operation. +// pageNum := 0 +// err := client.ListPoliciesPages(params, +// func(page *organizations.ListPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListPoliciesPages(input *ListPoliciesInput, fn func(*ListPoliciesOutput, bool) bool) error { return c.ListPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12205,14 +12193,13 @@ const opListPoliciesForTarget = "ListPoliciesForTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPoliciesForTargetRequest method. +// req, resp := client.ListPoliciesForTargetRequest(params) // -// // Example sending a request using the ListPoliciesForTargetRequest method. -// req, resp := client.ListPoliciesForTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPoliciesForTarget func (c *Organizations) ListPoliciesForTargetRequest(input *ListPoliciesForTargetInput) (req *request.Request, output *ListPoliciesForTargetOutput) { @@ -12260,112 +12247,113 @@ func (c *Organizations) ListPoliciesForTargetRequest(input *ListPoliciesForTarge // API operation ListPoliciesForTarget for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TargetNotFoundException -// We can't find a root, OU, account, or policy with the TargetId that you specified. +// - TargetNotFoundException +// We can't find a root, OU, account, or policy with the TargetId that you specified. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListPoliciesForTarget func (c *Organizations) ListPoliciesForTarget(input *ListPoliciesForTargetInput) (*ListPoliciesForTargetOutput, error) { @@ -12397,15 +12385,14 @@ func (c *Organizations) ListPoliciesForTargetWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPoliciesForTarget operation. -// pageNum := 0 -// err := client.ListPoliciesForTargetPages(params, -// func(page *organizations.ListPoliciesForTargetOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPoliciesForTarget operation. +// pageNum := 0 +// err := client.ListPoliciesForTargetPages(params, +// func(page *organizations.ListPoliciesForTargetOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListPoliciesForTargetPages(input *ListPoliciesForTargetInput, fn func(*ListPoliciesForTargetOutput, bool) bool) error { return c.ListPoliciesForTargetPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12457,14 +12444,13 @@ const opListRoots = "ListRoots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRootsRequest method. +// req, resp := client.ListRootsRequest(params) // -// // Example sending a request using the ListRootsRequest method. -// req, resp := client.ListRootsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListRoots func (c *Organizations) ListRootsRequest(input *ListRootsInput) (req *request.Request, output *ListRootsOutput) { @@ -12516,106 +12502,107 @@ func (c *Organizations) ListRootsRequest(input *ListRootsInput) (req *request.Re // API operation ListRoots for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. +// +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListRoots func (c *Organizations) ListRoots(input *ListRootsInput) (*ListRootsOutput, error) { @@ -12647,15 +12634,14 @@ func (c *Organizations) ListRootsWithContext(ctx aws.Context, input *ListRootsIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRoots operation. -// pageNum := 0 -// err := client.ListRootsPages(params, -// func(page *organizations.ListRootsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRoots operation. +// pageNum := 0 +// err := client.ListRootsPages(params, +// func(page *organizations.ListRootsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListRootsPages(input *ListRootsInput, fn func(*ListRootsOutput, bool) bool) error { return c.ListRootsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12707,14 +12693,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListTagsForResource func (c *Organizations) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -12745,13 +12730,13 @@ func (c *Organizations) ListTagsForResourceRequest(input *ListTagsForResourceInp // // You can attach tags to the following resources in Organizations. // -// * Amazon Web Services account +// - Amazon Web Services account // -// * Organization root +// - Organization root // -// * Organizational unit (OU) +// - Organizational unit (OU) // -// * Policy (any type) +// - Policy (any type) // // This operation can be called only from the organization's management account // or by a member account that is a delegated administrator for an Amazon Web @@ -12765,109 +12750,110 @@ func (c *Organizations) ListTagsForResourceRequest(input *ListTagsForResourceInp // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * TargetNotFoundException -// We can't find a root, OU, account, or policy with the TargetId that you specified. +// - TargetNotFoundException +// We can't find a root, OU, account, or policy with the TargetId that you specified. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListTagsForResource func (c *Organizations) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -12899,15 +12885,14 @@ func (c *Organizations) ListTagsForResourceWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *organizations.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *organizations.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12959,14 +12944,13 @@ const opListTargetsForPolicy = "ListTargetsForPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTargetsForPolicyRequest method. +// req, resp := client.ListTargetsForPolicyRequest(params) // -// // Example sending a request using the ListTargetsForPolicyRequest method. -// req, resp := client.ListTargetsForPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListTargetsForPolicy func (c *Organizations) ListTargetsForPolicyRequest(input *ListTargetsForPolicyInput) (req *request.Request, output *ListTargetsForPolicyOutput) { @@ -13013,112 +12997,113 @@ func (c *Organizations) ListTargetsForPolicyRequest(input *ListTargetsForPolicyI // API operation ListTargetsForPolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * PolicyNotFoundException -// We can't find a policy with the PolicyId that you specified. +// - PolicyNotFoundException +// We can't find a policy with the PolicyId that you specified. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListTargetsForPolicy func (c *Organizations) ListTargetsForPolicy(input *ListTargetsForPolicyInput) (*ListTargetsForPolicyOutput, error) { @@ -13150,15 +13135,14 @@ func (c *Organizations) ListTargetsForPolicyWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTargetsForPolicy operation. -// pageNum := 0 -// err := client.ListTargetsForPolicyPages(params, -// func(page *organizations.ListTargetsForPolicyOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTargetsForPolicy operation. +// pageNum := 0 +// err := client.ListTargetsForPolicyPages(params, +// func(page *organizations.ListTargetsForPolicyOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Organizations) ListTargetsForPolicyPages(input *ListTargetsForPolicyInput, fn func(*ListTargetsForPolicyOutput, bool) bool) error { return c.ListTargetsForPolicyPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13210,14 +13194,13 @@ const opMoveAccount = "MoveAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MoveAccountRequest method. +// req, resp := client.MoveAccountRequest(params) // -// // Example sending a request using the MoveAccountRequest method. -// req, resp := client.MoveAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/MoveAccount func (c *Organizations) MoveAccountRequest(input *MoveAccountInput) (req *request.Request, output *MoveAccountOutput) { @@ -13252,125 +13235,126 @@ func (c *Organizations) MoveAccountRequest(input *MoveAccountInput) (req *reques // API operation MoveAccount for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * SourceParentNotFoundException -// We can't find a source root or OU with the ParentId that you specified. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * DestinationParentNotFoundException -// We can't find the destination container (a root or OU) with the ParentId -// that you specified. +// - SourceParentNotFoundException +// We can't find a source root or OU with the ParentId that you specified. // -// * DuplicateAccountException -// That account is already present in the specified destination. +// - DestinationParentNotFoundException +// We can't find the destination container (a root or OU) with the ParentId +// that you specified. // -// * AccountNotFoundException -// We can't find an Amazon Web Services account with the AccountId that you -// specified, or the account whose credentials you used to make this request -// isn't a member of an organization. +// - DuplicateAccountException +// That account is already present in the specified destination. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - AccountNotFoundException +// We can't find an Amazon Web Services account with the AccountId that you +// specified, or the account whose credentials you used to make this request +// isn't a member of an organization. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/MoveAccount func (c *Organizations) MoveAccount(input *MoveAccountInput) (*MoveAccountOutput, error) { @@ -13410,14 +13394,13 @@ const opRegisterDelegatedAdministrator = "RegisterDelegatedAdministrator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterDelegatedAdministratorRequest method. +// req, resp := client.RegisterDelegatedAdministratorRequest(params) // -// // Example sending a request using the RegisterDelegatedAdministratorRequest method. -// req, resp := client.RegisterDelegatedAdministratorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/RegisterDelegatedAdministrator func (c *Organizations) RegisterDelegatedAdministratorRequest(input *RegisterDelegatedAdministratorInput) (req *request.Request, output *RegisterDelegatedAdministratorOutput) { @@ -13460,282 +13443,283 @@ func (c *Organizations) RegisterDelegatedAdministratorRequest(input *RegisterDel // API operation RegisterDelegatedAdministrator for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AccountAlreadyRegisteredException -// The specified account is already a delegated administrator for this Amazon -// Web Services service. -// -// * AccountNotFoundException -// We can't find an Amazon Web Services account with the AccountId that you -// specified, or the account whose credentials you used to make this request -// isn't a member of an organization. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AccountAlreadyRegisteredException +// The specified account is already a delegated administrator for this Amazon +// Web Services service. +// +// - AccountNotFoundException +// We can't find an Amazon Web Services account with the AccountId that you +// specified, or the account whose credentials you used to make this request +// isn't a member of an organization. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. +// +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/RegisterDelegatedAdministrator func (c *Organizations) RegisterDelegatedAdministrator(input *RegisterDelegatedAdministratorInput) (*RegisterDelegatedAdministratorOutput, error) { @@ -13775,14 +13759,13 @@ const opRemoveAccountFromOrganization = "RemoveAccountFromOrganization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveAccountFromOrganizationRequest method. +// req, resp := client.RemoveAccountFromOrganizationRequest(params) // -// // Example sending a request using the RemoveAccountFromOrganizationRequest method. -// req, resp := client.RemoveAccountFromOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/RemoveAccountFromOrganization func (c *Organizations) RemoveAccountFromOrganizationRequest(input *RemoveAccountFromOrganizationInput) (req *request.Request, output *RemoveAccountFromOrganizationOutput) { @@ -13815,30 +13798,30 @@ func (c *Organizations) RemoveAccountFromOrganizationRequest(input *RemoveAccoun // This operation can be called only from the organization's management account. // Member accounts can remove themselves with LeaveOrganization instead. // -// * You can remove an account from your organization only if the account -// is configured with the information required to operate as a standalone -// account. When you create an account in an organization using the Organizations -// console, API, or CLI commands, the information required of standalone -// accounts is not automatically collected. For an account that you want -// to make standalone, you must choose a support plan, provide and verify -// the required contact information, and provide a current payment method. -// Amazon Web Services uses the payment method to charge for any billable -// (not free tier) Amazon Web Services activity that occurs while the account -// isn't attached to an organization. To remove an account that doesn't yet -// have this information, you must sign in as the member account and follow -// the steps at To leave an organization when all required account information -// has not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. -// -// * The account that you want to leave must not be a delegated administrator -// account for any Amazon Web Services service enabled for your organization. -// If the account is a delegated administrator, you must first change the -// delegated administrator account to another account that is remaining in -// the organization. -// -// * After the account leaves the organization, all tags that were attached -// to the account object in the organization are deleted. Amazon Web Services -// accounts outside of an organization do not support tags. +// - You can remove an account from your organization only if the account +// is configured with the information required to operate as a standalone +// account. When you create an account in an organization using the Organizations +// console, API, or CLI commands, the information required of standalone +// accounts is not automatically collected. For an account that you want +// to make standalone, you must choose a support plan, provide and verify +// the required contact information, and provide a current payment method. +// Amazon Web Services uses the payment method to charge for any billable +// (not free tier) Amazon Web Services activity that occurs while the account +// isn't attached to an organization. To remove an account that doesn't yet +// have this information, you must sign in as the member account and follow +// the steps at To leave an organization when all required account information +// has not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - The account that you want to leave must not be a delegated administrator +// account for any Amazon Web Services service enabled for your organization. +// If the account is a delegated administrator, you must first change the +// delegated administrator account to another account that is remaining in +// the organization. +// +// - After the account leaves the organization, all tags that were attached +// to the account object in the organization are deleted. Amazon Web Services +// accounts outside of an organization do not support tags. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -13848,280 +13831,281 @@ func (c *Organizations) RemoveAccountFromOrganizationRequest(input *RemoveAccoun // API operation RemoveAccountFromOrganization for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AccountNotFoundException -// We can't find an Amazon Web Services account with the AccountId that you -// specified, or the account whose credentials you used to make this request -// isn't a member of an organization. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AccountNotFoundException +// We can't find an Amazon Web Services account with the AccountId that you +// specified, or the account whose credentials you used to make this request +// isn't a member of an organization. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * MasterCannotLeaveOrganizationException -// You can't remove a management account from an organization. If you want the -// management account to become a member account in another organization, you -// must first delete the current organization of the management account. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - MasterCannotLeaveOrganizationException +// You can't remove a management account from an organization. If you want the +// management account to become a member account in another organization, you +// must first delete the current organization of the management account. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. +// +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/RemoveAccountFromOrganization func (c *Organizations) RemoveAccountFromOrganization(input *RemoveAccountFromOrganizationInput) (*RemoveAccountFromOrganizationOutput, error) { @@ -14161,14 +14145,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/TagResource func (c *Organizations) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -14194,13 +14177,13 @@ func (c *Organizations) TagResourceRequest(input *TagResourceInput) (req *reques // // Currently, you can attach tags to the following resources in Organizations. // -// * Amazon Web Services account +// - Amazon Web Services account // -// * Organization root +// - Organization root // -// * Organizational unit (OU) +// - Organizational unit (OU) // -// * Policy (any type) +// - Policy (any type) // // This operation can be called only from the organization's management account. // @@ -14212,273 +14195,274 @@ func (c *Organizations) TagResourceRequest(input *TagResourceInput) (req *reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * TargetNotFoundException -// We can't find a root, OU, account, or policy with the TargetId that you specified. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - TargetNotFoundException +// We can't find a root, OU, account, or policy with the TargetId that you specified. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. +// +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/TagResource func (c *Organizations) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -14518,14 +14502,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UntagResource func (c *Organizations) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -14551,13 +14534,13 @@ func (c *Organizations) UntagResourceRequest(input *UntagResourceInput) (req *re // // You can attach tags to the following resources in Organizations. // -// * Amazon Web Services account +// - Amazon Web Services account // -// * Organization root +// - Organization root // -// * Organizational unit (OU) +// - Organizational unit (OU) // -// * Policy (any type) +// - Policy (any type) // // This operation can be called only from the organization's management account. // @@ -14569,273 +14552,274 @@ func (c *Organizations) UntagResourceRequest(input *UntagResourceInput) (req *re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * TargetNotFoundException -// We can't find a root, OU, account, or policy with the TargetId that you specified. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - TargetNotFoundException +// We can't find a root, OU, account, or policy with the TargetId that you specified. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. +// +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UntagResource func (c *Organizations) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -14875,14 +14859,13 @@ const opUpdateOrganizationalUnit = "UpdateOrganizationalUnit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateOrganizationalUnitRequest method. +// req, resp := client.UpdateOrganizationalUnitRequest(params) // -// // Example sending a request using the UpdateOrganizationalUnitRequest method. -// req, resp := client.UpdateOrganizationalUnitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UpdateOrganizationalUnit func (c *Organizations) UpdateOrganizationalUnitRequest(input *UpdateOrganizationalUnitInput) (req *request.Request, output *UpdateOrganizationalUnitOutput) { @@ -14917,116 +14900,117 @@ func (c *Organizations) UpdateOrganizationalUnitRequest(input *UpdateOrganizatio // API operation UpdateOrganizationalUnit for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. // -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. // -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. // -// * DuplicateOrganizationalUnitException -// An OU with the same name already exists. +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - DuplicateOrganizationalUnitException +// An OU with the same name already exists. // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * OrganizationalUnitNotFoundException -// We can't find an OU with the OrganizationalUnitId that you specified. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - OrganizationalUnitNotFoundException +// We can't find an OU with the OrganizationalUnitId that you specified. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. +// +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UpdateOrganizationalUnit func (c *Organizations) UpdateOrganizationalUnit(input *UpdateOrganizationalUnitInput) (*UpdateOrganizationalUnitOutput, error) { @@ -15066,14 +15050,13 @@ const opUpdatePolicy = "UpdatePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePolicyRequest method. +// req, resp := client.UpdatePolicyRequest(params) // -// // Example sending a request using the UpdatePolicyRequest method. -// req, resp := client.UpdatePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UpdatePolicy func (c *Organizations) UpdatePolicyRequest(input *UpdatePolicyInput) (req *request.Request, output *UpdatePolicyOutput) { @@ -15108,289 +15091,290 @@ func (c *Organizations) UpdatePolicyRequest(input *UpdatePolicyInput) (req *requ // API operation UpdatePolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. For more information, see -// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) -// in the IAM User Guide. -// -// * AWSOrganizationsNotInUseException -// Your account isn't a member of an organization. To make this request, you -// must use the credentials of an account that belongs to an organization. -// -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. -// -// * ConstraintViolationException -// Performing this operation violates a minimum or maximum value limit. For -// example, attempting to remove the last service control policy (SCP) from -// an OU or root, inviting or creating too many accounts to the organization, -// or attaching too many policies to an account, OU, or root. This exception -// includes a reason that contains additional information about the violated -// limit: -// -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. -// -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. // -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. For more information, see +// Access Management (https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html) +// in the IAM User Guide. +// +// - AWSOrganizationsNotInUseException +// Your account isn't a member of an organization. To make this request, you +// must use the credentials of an account that belongs to an organization. +// +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. +// +// - ConstraintViolationException +// Performing this operation violates a minimum or maximum value limit. For +// example, attempting to remove the last service control policy (SCP) from +// an OU or root, inviting or creating too many accounts to the organization, +// or attaching too many policies to an account, OU, or root. This exception +// includes a reason that contains additional information about the violated +// limit: +// +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. +// +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. // -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. // -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. // -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. // -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. // -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. // -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. // -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. // -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. // -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. // -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. // -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. // -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. // -// * DuplicatePolicyException -// A policy with the same name already exists. +// - DuplicatePolicyException +// A policy with the same name already exists. // -// * InvalidInputException -// The requested operation failed because you provided invalid values for one -// or more of the request parameters. This exception includes a reason that -// contains additional information about the violated limit: +// - InvalidInputException +// The requested operation failed because you provided invalid values for one +// or more of the request parameters. This exception includes a reason that +// contains additional information about the violated limit: // -// Some of the reasons in the following list might not be applicable to this -// specific API or operation. +// Some of the reasons in the following list might not be applicable to this +// specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. // -// * MalformedPolicyDocumentException -// The provided policy document doesn't meet the requirements of the specified -// policy type. For example, the syntax might be incorrect. For details about -// service control policy syntax, see Service Control Policy Syntax (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html) -// in the Organizations User Guide. +// - MalformedPolicyDocumentException +// The provided policy document doesn't meet the requirements of the specified +// policy type. For example, the syntax might be incorrect. For details about +// service control policy syntax, see Service Control Policy Syntax (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_scp-syntax.html) +// in the Organizations User Guide. // -// * PolicyNotFoundException -// We can't find a policy with the PolicyId that you specified. +// - PolicyNotFoundException +// We can't find a policy with the PolicyId that you specified. // -// * ServiceException -// Organizations can't complete your request because of an internal service -// error. Try again later. +// - ServiceException +// Organizations can't complete your request because of an internal service +// error. Try again later. // -// * TooManyRequestsException -// You have sent too many requests in too short a period of time. The quota -// helps protect against denial-of-service attacks. Try again later. +// - TooManyRequestsException +// You have sent too many requests in too short a period of time. The quota +// helps protect against denial-of-service attacks. Try again later. // -// For information about quotas that affect Organizations, see Quotas for Organizations -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in -// the Organizations User Guide. +// For information about quotas that affect Organizations, see Quotas for Organizations +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)in +// the Organizations User Guide. // -// * UnsupportedAPIEndpointException -// This action isn't available in the current Amazon Web Services Region. +// - UnsupportedAPIEndpointException +// This action isn't available in the current Amazon Web Services Region. // -// * PolicyChangesInProgressException -// Changes to the effective policy are in progress, and its contents can't be -// returned. Try the operation again later. +// - PolicyChangesInProgressException +// Changes to the effective policy are in progress, and its contents can't be +// returned. Try the operation again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/UpdatePolicy func (c *Organizations) UpdatePolicy(input *UpdatePolicyInput) (*UpdatePolicyOutput, error) { @@ -16704,154 +16688,154 @@ func (s *ConflictException) RequestID() string { // Some of the reasons in the following list might not be applicable to this // specific API or operation. // -// * ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management -// account from the organization. You can't remove the management account. -// Instead, after you remove all member accounts, delete the organization -// itself. -// -// * ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove -// an account from the organization that doesn't yet have enough information -// to exist as a standalone account. This account requires you to first complete -// phone verification. Follow the steps at Removing a member account from -// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) -// in the Organizations User Guide. -// -// * ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can create in one day. -// -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. If you need more accounts, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) -// to request an increase in your limit. Or the number of invitations that -// you tried to send would cause you to exceed the limit of accounts in your -// organization. Send fewer invitations or contact Amazon Web Services Support -// to request an increase in the number of accounts. Deleted and closed accounts -// still count toward your limit. If you get this exception when running -// a command immediately after creating the organization, wait one hour and -// try again. After an hour, if the command continues to fail with this error, -// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). -// -// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to -// register the management account of the organization as a delegated administrator -// for an Amazon Web Services service integrated with Organizations. You -// can designate only a member account as a delegated administrator. -// -// * CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management -// account. To close the management account for the organization, you must -// first either remove or close all member accounts in the organization. -// Follow standard account closure process using root credentials.​ -// -// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove -// an account that is registered as a delegated administrator for a service -// integrated with your organization. To complete this operation, you must -// first deregister this account as a delegated administrator. -// -// * CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota -// for the past 30 days. -// -// * CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number -// of accounts that you can close at a time. ​ -// -// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an -// organization in the specified region, you must enable all features mode. -// -// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register -// an Amazon Web Services account as a delegated administrator for an Amazon -// Web Services service that already has a delegated administrator. To complete -// this operation, you must first deregister any existing delegated administrators -// for this service. -// -// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only -// valid for a limited period of time. You must resubmit the request and -// generate a new verfication code. -// -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. -// -// * INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no -// supported payment method is associated with the account. Amazon Web Services -// does not support cards issued by financial institutions in Russia or Belarus. -// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). -// -// * MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account -// in this organization, you first must migrate the organization's management -// account to the marketplace that corresponds to the management account's -// address. For example, accounts with India addresses must be associated -// with the AISPL marketplace. All accounts in an organization must be associated -// with the same marketplace. -// -// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon -// Web Services /> Regions in China. To create an organization, the master -// must have a valid business license. For more information, contact customer -// support. -// -// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you -// must first provide a valid contact address and phone number for the management -// account. Then try the operation again. -// -// * MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the -// management account must have an associated account in the Amazon Web Services -// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) -// in the Amazon Web Services GovCloud User Guide. -// -// * MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization -// with this management account, you first must associate a valid payment -// instrument, such as a credit card, with the account. Follow the steps -// at To leave an organization when all required account information has -// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. -// -// * MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted -// to register more delegated administrators than allowed for the service -// principal. -// -// * MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the -// number of policies of a certain type that can be attached to an entity -// at one time. -// -// * MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed -// on this resource. -// -// * MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation -// with this member account, you first must associate a valid payment instrument, -// such as a credit card, with the account. Follow the steps at To leave -// an organization when all required account information has not yet been -// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) -// in the Organizations User Guide. -// -// * MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a -// policy from an entity that would cause the entity to have fewer than the -// minimum number of policies of a certain type required. -// -// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation -// that requires the organization to be configured to support all features. -// An organization that supports only consolidated billing features can't -// perform this operation. -// -// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is -// too many levels deep. -// -// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs -// that you can have in an organization. -// -// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that -// is larger than the maximum size. -// -// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of -// policies that you can have in an organization. -// -// * SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator -// before you enabled service access. Call the EnableAWSServiceAccess API -// first. -// -// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with -// tags that are not compliant with the tag policy requirements for this -// account. -// -// * WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, -// there is a waiting period before you can remove it from the organization. -// If you get an error that indicates that a wait period is required, try -// again in a few days. +// - ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management +// account from the organization. You can't remove the management account. +// Instead, after you remove all member accounts, delete the organization +// itself. +// +// - ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove +// an account from the organization that doesn't yet have enough information +// to exist as a standalone account. This account requires you to first complete +// phone verification. Follow the steps at Removing a member account from +// your organization (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master) +// in the Organizations User Guide. +// +// - ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can create in one day. +// +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. If you need more accounts, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/) +// to request an increase in your limit. Or the number of invitations that +// you tried to send would cause you to exceed the limit of accounts in your +// organization. Send fewer invitations or contact Amazon Web Services Support +// to request an increase in the number of accounts. Deleted and closed accounts +// still count toward your limit. If you get this exception when running +// a command immediately after creating the organization, wait one hour and +// try again. After an hour, if the command continues to fail with this error, +// contact Amazon Web Services Support (https://docs.aws.amazon.com/support/home#/). +// +// - CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to +// register the management account of the organization as a delegated administrator +// for an Amazon Web Services service integrated with Organizations. You +// can designate only a member account as a delegated administrator. +// +// - CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management +// account. To close the management account for the organization, you must +// first either remove or close all member accounts in the organization. +// Follow standard account closure process using root credentials.​ +// +// - CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove +// an account that is registered as a delegated administrator for a service +// integrated with your organization. To complete this operation, you must +// first deregister this account as a delegated administrator. +// +// - CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota +// for the past 30 days. +// +// - CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number +// of accounts that you can close at a time. ​ +// +// - CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an +// organization in the specified region, you must enable all features mode. +// +// - DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register +// an Amazon Web Services account as a delegated administrator for an Amazon +// Web Services service that already has a delegated administrator. To complete +// this operation, you must first deregister any existing delegated administrators +// for this service. +// +// - EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only +// valid for a limited period of time. You must resubmit the request and +// generate a new verfication code. +// +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. +// +// - INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no +// supported payment method is associated with the account. Amazon Web Services +// does not support cards issued by financial institutions in Russia or Belarus. +// For more information, see Managing your Amazon Web Services payments (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html). +// +// - MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account +// in this organization, you first must migrate the organization's management +// account to the marketplace that corresponds to the management account's +// address. For example, accounts with India addresses must be associated +// with the AISPL marketplace. All accounts in an organization must be associated +// with the same marketplace. +// +// - MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon +// Web Services /> Regions in China. To create an organization, the master +// must have a valid business license. For more information, contact customer +// support. +// +// - MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you +// must first provide a valid contact address and phone number for the management +// account. Then try the operation again. +// +// - MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the +// management account must have an associated account in the Amazon Web Services +// GovCloud (US-West) Region. For more information, see Organizations (https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) +// in the Amazon Web Services GovCloud User Guide. +// +// - MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization +// with this management account, you first must associate a valid payment +// instrument, such as a credit card, with the account. Follow the steps +// at To leave an organization when all required account information has +// not yet been provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted +// to register more delegated administrators than allowed for the service +// principal. +// +// - MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the +// number of policies of a certain type that can be attached to an entity +// at one time. +// +// - MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed +// on this resource. +// +// - MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation +// with this member account, you first must associate a valid payment instrument, +// such as a credit card, with the account. Follow the steps at To leave +// an organization when all required account information has not yet been +// provided (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info) +// in the Organizations User Guide. +// +// - MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a +// policy from an entity that would cause the entity to have fewer than the +// minimum number of policies of a certain type required. +// +// - ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation +// that requires the organization to be configured to support all features. +// An organization that supports only consolidated billing features can't +// perform this operation. +// +// - OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is +// too many levels deep. +// +// - OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs +// that you can have in an organization. +// +// - POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that +// is larger than the maximum size. +// +// - POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of +// policies that you can have in an organization. +// +// - SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator +// before you enabled service access. Call the EnableAWSServiceAccess API +// first. +// +// - TAG_POLICY_VIOLATION: You attempted to create or update a resource with +// tags that are not compliant with the tag policy requirements for this +// account. +// +// - WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, +// there is a waiting period before you can remove it from the organization. +// If you get an error that indicates that a wait period is required, try +// again in a few days. type ConstraintViolationException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -20385,43 +20369,43 @@ func (s *HandshakeAlreadyInStateException) RequestID() string { // Some of the reasons in the following list might not be applicable to this // specific API or operation: // -// * ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on -// the number of accounts in an organization. Note that deleted and closed -// accounts still count toward your limit. If you get this exception immediately -// after creating the organization, wait one hour and try again. If after -// an hour it continues to fail with this error, contact Amazon Web Services -// Support (https://docs.aws.amazon.com/support/home#/). +// - ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on +// the number of accounts in an organization. Note that deleted and closed +// accounts still count toward your limit. If you get this exception immediately +// after creating the organization, wait one hour and try again. If after +// an hour it continues to fail with this error, contact Amazon Web Services +// Support (https://docs.aws.amazon.com/support/home#/). // -// * ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because -// the invited account is already a member of an organization. +// - ALREADY_IN_AN_ORGANIZATION: The handshake request is invalid because +// the invited account is already a member of an organization. // -// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of -// handshakes that you can send in one day. +// - HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of +// handshakes that you can send in one day. // -// * INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You can't issue new invitations -// to join an organization while it's in the process of enabling all features. -// You can resume inviting accounts after you finalize the process when all -// accounts have agreed to the change. +// - INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES: You can't issue new invitations +// to join an organization while it's in the process of enabling all features. +// You can resume inviting accounts after you finalize the process when all +// accounts have agreed to the change. // -// * ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid -// because the organization has already enabled all features. +// - ORGANIZATION_ALREADY_HAS_ALL_FEATURES: The handshake request is invalid +// because the organization has already enabled all features. // -// * ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake -// request is invalid because the organization has already started the process -// to enable all features. +// - ORGANIZATION_IS_ALREADY_PENDING_ALL_FEATURES_MIGRATION: The handshake +// request is invalid because the organization has already started the process +// to enable all features. // -// * ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because -// the account is from a different marketplace than the accounts in the organization. -// For example, accounts with India addresses must be associated with the -// AISPL marketplace. All accounts in an organization must be from the same -// marketplace. +// - ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD: The request failed because +// the account is from a different marketplace than the accounts in the organization. +// For example, accounts with India addresses must be associated with the +// AISPL marketplace. All accounts in an organization must be from the same +// marketplace. // -// * ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to -// change the membership of an account too quickly after its previous change. +// - ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED: You attempted to +// change the membership of an account too quickly after its previous change. // -// * PAYMENT_INSTRUMENT_REQUIRED: You can't complete the operation with an -// account that doesn't have a payment instrument, such as a credit card, -// associated with it. +// - PAYMENT_INSTRUMENT_REQUIRED: You can't complete the operation with an +// account that doesn't have a payment instrument, such as a credit card, +// associated with it. type HandshakeConstraintViolationException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -20816,75 +20800,75 @@ func (s *InvalidHandshakeTransitionException) RequestID() string { // Some of the reasons in the following list might not be applicable to this // specific API or operation. // -// * DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to -// the same entity. +// - DUPLICATE_TAG_KEY: Tag keys must be unique among the tags attached to +// the same entity. // -// * IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web -// Services and can't be modified. +// - IMMUTABLE_POLICY: You specified a policy that is managed by Amazon Web +// Services and can't be modified. // -// * INPUT_REQUIRED: You must include a value for all required parameters. +// - INPUT_REQUIRED: You must include a value for all required parameters. // -// * INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address -// for the invited account owner. +// - INVALID_EMAIL_ADDRESS_TARGET: You specified an invalid email address +// for the invited account owner. // -// * INVALID_ENUM: You specified an invalid value. +// - INVALID_ENUM: You specified an invalid value. // -// * INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. +// - INVALID_ENUM_POLICY_TYPE: You specified an invalid policy type string. // -// * INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid -// characters. +// - INVALID_FULL_NAME_TARGET: You specified a full name that contains invalid +// characters. // -// * INVALID_LIST_MEMBER: You provided a list to a parameter that contains -// at least one invalid value. +// - INVALID_LIST_MEMBER: You provided a list to a parameter that contains +// at least one invalid value. // -// * INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter -// from the response to a previous call of the operation. +// - INVALID_PAGINATION_TOKEN: Get the value for the NextToken parameter +// from the response to a previous call of the operation. // -// * INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, -// organization, or email) as a party. +// - INVALID_PARTY_TYPE_TARGET: You specified the wrong type of entity (account, +// organization, or email) as a party. // -// * INVALID_PATTERN: You provided a value that doesn't match the required -// pattern. +// - INVALID_PATTERN: You provided a value that doesn't match the required +// pattern. // -// * INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't -// match the required pattern. +// - INVALID_PATTERN_TARGET_ID: You specified a policy target ID that doesn't +// match the required pattern. // -// * INVALID_ROLE_NAME: You provided a role name that isn't valid. A role -// name can't begin with the reserved prefix AWSServiceRoleFor. +// - INVALID_ROLE_NAME: You provided a role name that isn't valid. A role +// name can't begin with the reserved prefix AWSServiceRoleFor. // -// * INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource -// Name (ARN) for the organization. +// - INVALID_SYNTAX_ORGANIZATION_ARN: You specified an invalid Amazon Resource +// Name (ARN) for the organization. // -// * INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. +// - INVALID_SYNTAX_POLICY_ID: You specified an invalid policy ID. // -// * INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system -// tag. You can’t add, edit, or delete system tag keys because they're -// reserved for Amazon Web Services use. System tags don’t count against -// your tags per resource limit. +// - INVALID_SYSTEM_TAGS_PARAMETER: You specified a tag key that is a system +// tag. You can’t add, edit, or delete system tag keys because they're +// reserved for Amazon Web Services use. System tags don’t count against +// your tags per resource limit. // -// * MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter -// for the operation. +// - MAX_FILTER_LIMIT_EXCEEDED: You can specify only one filter parameter +// for the operation. // -// * MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer -// than allowed. +// - MAX_LENGTH_EXCEEDED: You provided a string parameter that is longer +// than allowed. // -// * MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger -// value than allowed. +// - MAX_VALUE_EXCEEDED: You provided a numeric parameter that has a larger +// value than allowed. // -// * MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter -// than allowed. +// - MIN_LENGTH_EXCEEDED: You provided a string parameter that is shorter +// than allowed. // -// * MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller -// value than allowed. +// - MIN_VALUE_EXCEEDED: You provided a numeric parameter that has a smaller +// value than allowed. // -// * MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only -// between entities in the same root. +// - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS: You can move an account only +// between entities in the same root. // -// * TARGET_NOT_SUPPORTED: You can't perform the specified operation on that -// target entity. +// - TARGET_NOT_SUPPORTED: You can't perform the specified operation on that +// target entity. // -// * UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that -// isn't recognized. +// - UNRECOGNIZED_SERVICE_PRINCIPAL: You specified a service principal that +// isn't recognized. type InvalidInputException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -25041,13 +25025,13 @@ func (s *SourceParentNotFoundException) RequestID() string { // // You can attach tags to any of the following organization resources. // -// * Amazon Web Services account +// - Amazon Web Services account // -// * Organizational unit (OU) +// - Organizational unit (OU) // -// * Organization root +// - Organization root // -// * Policy +// - Policy type Tag struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/doc.go index 9f5f724f4f5c..ef00291ac36f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/doc.go @@ -10,7 +10,7 @@ // This guide provides descriptions of the Organizations operations. For more // information about using this service, see the Organizations User Guide (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_introduction.html). // -// Support and feedback for Organizations +// # Support and feedback for Organizations // // We welcome your feedback. Send your comments to feedback-awsorganizations@amazon.com // (mailto:feedback-awsorganizations@amazon.com) or post your feedback and questions @@ -18,7 +18,7 @@ // For more information about the Amazon Web Services support forums, see Forums // Help (http://forums.aws.amazon.com/help.jspa). // -// Endpoint to call When using the CLI or the Amazon Web Services SDK +// # Endpoint to call When using the CLI or the Amazon Web Services SDK // // For the current release of Organizations, specify the us-east-1 region for // all Amazon Web Services API and CLI calls made from the commercial Amazon @@ -26,23 +26,23 @@ // Web Services Regions in China, then specify cn-northwest-1. You can do this // in the CLI by using these parameters and commands: // -// * Use the following parameter with each command to specify both the endpoint -// and its region: --endpoint-url https://organizations.us-east-1.amazonaws.com -// (from commercial Amazon Web Services Regions outside of China) or --endpoint-url -// https://organizations.cn-northwest-1.amazonaws.com.cn (from Amazon Web -// Services Regions in China) +// - Use the following parameter with each command to specify both the endpoint +// and its region: --endpoint-url https://organizations.us-east-1.amazonaws.com +// (from commercial Amazon Web Services Regions outside of China) or --endpoint-url +// https://organizations.cn-northwest-1.amazonaws.com.cn (from Amazon Web +// Services Regions in China) // -// * Use the default endpoint, but configure your default region with this -// command: aws configure set default.region us-east-1 (from commercial Amazon -// Web Services Regions outside of China) or aws configure set default.region -// cn-northwest-1 (from Amazon Web Services Regions in China) +// - Use the default endpoint, but configure your default region with this +// command: aws configure set default.region us-east-1 (from commercial Amazon +// Web Services Regions outside of China) or aws configure set default.region +// cn-northwest-1 (from Amazon Web Services Regions in China) // -// * Use the following parameter with each command to specify the endpoint: -// --region us-east-1 (from commercial Amazon Web Services Regions outside -// of China) or --region cn-northwest-1 (from Amazon Web Services Regions -// in China) +// - Use the following parameter with each command to specify the endpoint: +// --region us-east-1 (from commercial Amazon Web Services Regions outside +// of China) or --region cn-northwest-1 (from Amazon Web Services Regions +// in China) // -// Recording API Requests +// # Recording API Requests // // Organizations supports CloudTrail, a service that records Amazon Web Services // API calls for your Amazon Web Services account and delivers log files to @@ -59,7 +59,7 @@ // See organizations package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/organizations/ // -// Using the Client +// # Using the Client // // To contact AWS Organizations with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/organizationsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/organizationsiface/interface.go index 0ec149d562e8..d8947e75ad4e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/organizationsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/organizationsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Organizations. -// func myFunc(svc organizationsiface.OrganizationsAPI) bool { -// // Make svc.AcceptHandshake request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Organizations. +// func myFunc(svc organizationsiface.OrganizationsAPI) bool { +// // Make svc.AcceptHandshake request +// } // -// func main() { -// sess := session.New() -// svc := organizations.New(sess) +// func main() { +// sess := session.New() +// svc := organizations.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockOrganizationsClient struct { -// organizationsiface.OrganizationsAPI -// } -// func (m *mockOrganizationsClient) AcceptHandshake(input *organizations.AcceptHandshakeInput) (*organizations.AcceptHandshakeOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockOrganizationsClient struct { +// organizationsiface.OrganizationsAPI +// } +// func (m *mockOrganizationsClient) AcceptHandshake(input *organizations.AcceptHandshakeInput) (*organizations.AcceptHandshakeOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockOrganizationsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockOrganizationsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/service.go index 68d6292d6aed..a60ef6ecf505 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/organizations/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Organizations client from just a session. -// svc := organizations.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Organizations client with additional configuration -// svc := organizations.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Organizations client from just a session. +// svc := organizations.New(mySession) +// +// // Create a Organizations client with additional configuration +// svc := organizations.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Organizations { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/api.go index 94013a7b5139..91304d9b99ed 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/api.go @@ -29,14 +29,13 @@ const opCancelOrder = "CancelOrder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelOrderRequest method. +// req, resp := client.CancelOrderRequest(params) // -// // Example sending a request using the CancelOrderRequest method. -// req, resp := client.CancelOrderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CancelOrder func (c *Outposts) CancelOrderRequest(input *CancelOrderInput) (req *request.Request, output *CancelOrderOutput) { @@ -68,20 +67,21 @@ func (c *Outposts) CancelOrderRequest(input *CancelOrderInput) (req *request.Req // API operation CancelOrder for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * ConflictException -// Updating or deleting this resource can cause an inconsistent state. +// - ValidationException +// A parameter is not valid. +// +// - ConflictException +// Updating or deleting this resource can cause an inconsistent state. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - AccessDeniedException +// You do not have permission to perform this operation. // -// * NotFoundException -// The specified request is not valid. +// - NotFoundException +// The specified request is not valid. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CancelOrder func (c *Outposts) CancelOrder(input *CancelOrderInput) (*CancelOrderOutput, error) { @@ -121,14 +121,13 @@ const opCreateOrder = "CreateOrder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOrderRequest method. +// req, resp := client.CreateOrderRequest(params) // -// // Example sending a request using the CreateOrderRequest method. -// req, resp := client.CreateOrderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOrder func (c *Outposts) CreateOrderRequest(input *CreateOrderInput) (req *request.Request, output *CreateOrderOutput) { @@ -159,23 +158,24 @@ func (c *Outposts) CreateOrderRequest(input *CreateOrderInput) (req *request.Req // API operation CreateOrder for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * ConflictException -// Updating or deleting this resource can cause an inconsistent state. +// - ValidationException +// A parameter is not valid. +// +// - ConflictException +// Updating or deleting this resource can cause an inconsistent state. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - AccessDeniedException +// You do not have permission to perform this operation. // -// * NotFoundException -// The specified request is not valid. +// - NotFoundException +// The specified request is not valid. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // -// * ServiceQuotaExceededException -// You have exceeded a service quota. +// - ServiceQuotaExceededException +// You have exceeded a service quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOrder func (c *Outposts) CreateOrder(input *CreateOrderInput) (*CreateOrderOutput, error) { @@ -215,14 +215,13 @@ const opCreateOutpost = "CreateOutpost" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOutpostRequest method. +// req, resp := client.CreateOutpostRequest(params) // -// // Example sending a request using the CreateOutpostRequest method. -// req, resp := client.CreateOutpostRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpost func (c *Outposts) CreateOutpostRequest(input *CreateOutpostInput) (req *request.Request, output *CreateOutpostOutput) { @@ -255,23 +254,24 @@ func (c *Outposts) CreateOutpostRequest(input *CreateOutpostInput) (req *request // API operation CreateOutpost for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * ConflictException -// Updating or deleting this resource can cause an inconsistent state. +// - ValidationException +// A parameter is not valid. +// +// - ConflictException +// Updating or deleting this resource can cause an inconsistent state. // -// * NotFoundException -// The specified request is not valid. +// - NotFoundException +// The specified request is not valid. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - AccessDeniedException +// You do not have permission to perform this operation. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // -// * ServiceQuotaExceededException -// You have exceeded a service quota. +// - ServiceQuotaExceededException +// You have exceeded a service quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateOutpost func (c *Outposts) CreateOutpost(input *CreateOutpostInput) (*CreateOutpostOutput, error) { @@ -311,14 +311,13 @@ const opCreateSite = "CreateSite" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSiteRequest method. +// req, resp := client.CreateSiteRequest(params) // -// // Example sending a request using the CreateSiteRequest method. -// req, resp := client.CreateSiteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateSite func (c *Outposts) CreateSiteRequest(input *CreateSiteInput) (req *request.Request, output *CreateSiteOutput) { @@ -349,20 +348,21 @@ func (c *Outposts) CreateSiteRequest(input *CreateSiteInput) (req *request.Reque // API operation CreateSite for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * ConflictException -// Updating or deleting this resource can cause an inconsistent state. +// - ValidationException +// A parameter is not valid. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - ConflictException +// Updating or deleting this resource can cause an inconsistent state. // -// * InternalServerException -// An internal error has occurred. +// - AccessDeniedException +// You do not have permission to perform this operation. // -// * ServiceQuotaExceededException -// You have exceeded a service quota. +// - InternalServerException +// An internal error has occurred. +// +// - ServiceQuotaExceededException +// You have exceeded a service quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateSite func (c *Outposts) CreateSite(input *CreateSiteInput) (*CreateSiteOutput, error) { @@ -402,14 +402,13 @@ const opDeleteOutpost = "DeleteOutpost" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOutpostRequest method. +// req, resp := client.DeleteOutpostRequest(params) // -// // Example sending a request using the DeleteOutpostRequest method. -// req, resp := client.DeleteOutpostRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteOutpost func (c *Outposts) DeleteOutpostRequest(input *DeleteOutpostInput) (req *request.Request, output *DeleteOutpostOutput) { @@ -441,20 +440,21 @@ func (c *Outposts) DeleteOutpostRequest(input *DeleteOutpostInput) (req *request // API operation DeleteOutpost for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * ConflictException -// Updating or deleting this resource can cause an inconsistent state. +// - ValidationException +// A parameter is not valid. // -// * NotFoundException -// The specified request is not valid. +// - ConflictException +// Updating or deleting this resource can cause an inconsistent state. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - NotFoundException +// The specified request is not valid. // -// * InternalServerException -// An internal error has occurred. +// - AccessDeniedException +// You do not have permission to perform this operation. +// +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteOutpost func (c *Outposts) DeleteOutpost(input *DeleteOutpostInput) (*DeleteOutpostOutput, error) { @@ -494,14 +494,13 @@ const opDeleteSite = "DeleteSite" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSiteRequest method. +// req, resp := client.DeleteSiteRequest(params) // -// // Example sending a request using the DeleteSiteRequest method. -// req, resp := client.DeleteSiteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteSite func (c *Outposts) DeleteSiteRequest(input *DeleteSiteInput) (req *request.Request, output *DeleteSiteOutput) { @@ -533,20 +532,21 @@ func (c *Outposts) DeleteSiteRequest(input *DeleteSiteInput) (req *request.Reque // API operation DeleteSite for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * ConflictException -// Updating or deleting this resource can cause an inconsistent state. +// - ValidationException +// A parameter is not valid. // -// * NotFoundException -// The specified request is not valid. +// - ConflictException +// Updating or deleting this resource can cause an inconsistent state. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - NotFoundException +// The specified request is not valid. // -// * InternalServerException -// An internal error has occurred. +// - AccessDeniedException +// You do not have permission to perform this operation. +// +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteSite func (c *Outposts) DeleteSite(input *DeleteSiteInput) (*DeleteSiteOutput, error) { @@ -586,14 +586,13 @@ const opGetCatalogItem = "GetCatalogItem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCatalogItemRequest method. +// req, resp := client.GetCatalogItemRequest(params) // -// // Example sending a request using the GetCatalogItemRequest method. -// req, resp := client.GetCatalogItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetCatalogItem func (c *Outposts) GetCatalogItemRequest(input *GetCatalogItemInput) (req *request.Request, output *GetCatalogItemOutput) { @@ -624,14 +623,15 @@ func (c *Outposts) GetCatalogItemRequest(input *GetCatalogItemInput) (req *reque // API operation GetCatalogItem for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * NotFoundException -// The specified request is not valid. +// - ValidationException +// A parameter is not valid. +// +// - NotFoundException +// The specified request is not valid. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetCatalogItem func (c *Outposts) GetCatalogItem(input *GetCatalogItemInput) (*GetCatalogItemOutput, error) { @@ -671,14 +671,13 @@ const opGetOrder = "GetOrder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOrderRequest method. +// req, resp := client.GetOrderRequest(params) // -// // Example sending a request using the GetOrderRequest method. -// req, resp := client.GetOrderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOrder func (c *Outposts) GetOrderRequest(input *GetOrderInput) (req *request.Request, output *GetOrderOutput) { @@ -709,14 +708,15 @@ func (c *Outposts) GetOrderRequest(input *GetOrderInput) (req *request.Request, // API operation GetOrder for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * NotFoundException -// The specified request is not valid. +// - ValidationException +// A parameter is not valid. +// +// - NotFoundException +// The specified request is not valid. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOrder func (c *Outposts) GetOrder(input *GetOrderInput) (*GetOrderOutput, error) { @@ -756,14 +756,13 @@ const opGetOutpost = "GetOutpost" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOutpostRequest method. +// req, resp := client.GetOutpostRequest(params) // -// // Example sending a request using the GetOutpostRequest method. -// req, resp := client.GetOutpostRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpost func (c *Outposts) GetOutpostRequest(input *GetOutpostInput) (req *request.Request, output *GetOutpostOutput) { @@ -794,17 +793,18 @@ func (c *Outposts) GetOutpostRequest(input *GetOutpostInput) (req *request.Reque // API operation GetOutpost for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * NotFoundException -// The specified request is not valid. +// - ValidationException +// A parameter is not valid. +// +// - NotFoundException +// The specified request is not valid. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - AccessDeniedException +// You do not have permission to perform this operation. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpost func (c *Outposts) GetOutpost(input *GetOutpostInput) (*GetOutpostOutput, error) { @@ -844,14 +844,13 @@ const opGetOutpostInstanceTypes = "GetOutpostInstanceTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOutpostInstanceTypesRequest method. +// req, resp := client.GetOutpostInstanceTypesRequest(params) // -// // Example sending a request using the GetOutpostInstanceTypesRequest method. -// req, resp := client.GetOutpostInstanceTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostInstanceTypes func (c *Outposts) GetOutpostInstanceTypesRequest(input *GetOutpostInstanceTypesInput) (req *request.Request, output *GetOutpostInstanceTypesOutput) { @@ -888,17 +887,18 @@ func (c *Outposts) GetOutpostInstanceTypesRequest(input *GetOutpostInstanceTypes // API operation GetOutpostInstanceTypes for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * NotFoundException -// The specified request is not valid. +// - ValidationException +// A parameter is not valid. +// +// - NotFoundException +// The specified request is not valid. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - AccessDeniedException +// You do not have permission to perform this operation. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostInstanceTypes func (c *Outposts) GetOutpostInstanceTypes(input *GetOutpostInstanceTypesInput) (*GetOutpostInstanceTypesOutput, error) { @@ -930,15 +930,14 @@ func (c *Outposts) GetOutpostInstanceTypesWithContext(ctx aws.Context, input *Ge // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetOutpostInstanceTypes operation. -// pageNum := 0 -// err := client.GetOutpostInstanceTypesPages(params, -// func(page *outposts.GetOutpostInstanceTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetOutpostInstanceTypes operation. +// pageNum := 0 +// err := client.GetOutpostInstanceTypesPages(params, +// func(page *outposts.GetOutpostInstanceTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Outposts) GetOutpostInstanceTypesPages(input *GetOutpostInstanceTypesInput, fn func(*GetOutpostInstanceTypesOutput, bool) bool) error { return c.GetOutpostInstanceTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -990,14 +989,13 @@ const opGetSite = "GetSite" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSiteRequest method. +// req, resp := client.GetSiteRequest(params) // -// // Example sending a request using the GetSiteRequest method. -// req, resp := client.GetSiteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetSite func (c *Outposts) GetSiteRequest(input *GetSiteInput) (req *request.Request, output *GetSiteOutput) { @@ -1028,17 +1026,18 @@ func (c *Outposts) GetSiteRequest(input *GetSiteInput) (req *request.Request, ou // API operation GetSite for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * NotFoundException -// The specified request is not valid. +// - ValidationException +// A parameter is not valid. +// +// - NotFoundException +// The specified request is not valid. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - AccessDeniedException +// You do not have permission to perform this operation. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetSite func (c *Outposts) GetSite(input *GetSiteInput) (*GetSiteOutput, error) { @@ -1078,14 +1077,13 @@ const opGetSiteAddress = "GetSiteAddress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSiteAddressRequest method. +// req, resp := client.GetSiteAddressRequest(params) // -// // Example sending a request using the GetSiteAddressRequest method. -// req, resp := client.GetSiteAddressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetSiteAddress func (c *Outposts) GetSiteAddressRequest(input *GetSiteAddressInput) (req *request.Request, output *GetSiteAddressOutput) { @@ -1116,17 +1114,18 @@ func (c *Outposts) GetSiteAddressRequest(input *GetSiteAddressInput) (req *reque // API operation GetSiteAddress for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - ValidationException +// A parameter is not valid. // -// * NotFoundException -// The specified request is not valid. +// - AccessDeniedException +// You do not have permission to perform this operation. // -// * InternalServerException -// An internal error has occurred. +// - NotFoundException +// The specified request is not valid. +// +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetSiteAddress func (c *Outposts) GetSiteAddress(input *GetSiteAddressInput) (*GetSiteAddressOutput, error) { @@ -1166,14 +1165,13 @@ const opListAssets = "ListAssets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssetsRequest method. +// req, resp := client.ListAssetsRequest(params) // -// // Example sending a request using the ListAssetsRequest method. -// req, resp := client.ListAssetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListAssets func (c *Outposts) ListAssetsRequest(input *ListAssetsInput) (req *request.Request, output *ListAssetsOutput) { @@ -1212,17 +1210,18 @@ func (c *Outposts) ListAssetsRequest(input *ListAssetsInput) (req *request.Reque // API operation ListAssets for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - ValidationException +// A parameter is not valid. +// +// - AccessDeniedException +// You do not have permission to perform this operation. // -// * NotFoundException -// The specified request is not valid. +// - NotFoundException +// The specified request is not valid. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListAssets func (c *Outposts) ListAssets(input *ListAssetsInput) (*ListAssetsOutput, error) { @@ -1254,15 +1253,14 @@ func (c *Outposts) ListAssetsWithContext(ctx aws.Context, input *ListAssetsInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssets operation. -// pageNum := 0 -// err := client.ListAssetsPages(params, -// func(page *outposts.ListAssetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssets operation. +// pageNum := 0 +// err := client.ListAssetsPages(params, +// func(page *outposts.ListAssetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Outposts) ListAssetsPages(input *ListAssetsInput, fn func(*ListAssetsOutput, bool) bool) error { return c.ListAssetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1314,14 +1312,13 @@ const opListCatalogItems = "ListCatalogItems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCatalogItemsRequest method. +// req, resp := client.ListCatalogItemsRequest(params) // -// // Example sending a request using the ListCatalogItemsRequest method. -// req, resp := client.ListCatalogItemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListCatalogItems func (c *Outposts) ListCatalogItemsRequest(input *ListCatalogItemsInput) (req *request.Request, output *ListCatalogItemsOutput) { @@ -1363,14 +1360,15 @@ func (c *Outposts) ListCatalogItemsRequest(input *ListCatalogItemsInput) (req *r // API operation ListCatalogItems for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * NotFoundException -// The specified request is not valid. +// - ValidationException +// A parameter is not valid. // -// * InternalServerException -// An internal error has occurred. +// - NotFoundException +// The specified request is not valid. +// +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListCatalogItems func (c *Outposts) ListCatalogItems(input *ListCatalogItemsInput) (*ListCatalogItemsOutput, error) { @@ -1402,15 +1400,14 @@ func (c *Outposts) ListCatalogItemsWithContext(ctx aws.Context, input *ListCatal // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCatalogItems operation. -// pageNum := 0 -// err := client.ListCatalogItemsPages(params, -// func(page *outposts.ListCatalogItemsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCatalogItems operation. +// pageNum := 0 +// err := client.ListCatalogItemsPages(params, +// func(page *outposts.ListCatalogItemsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Outposts) ListCatalogItemsPages(input *ListCatalogItemsInput, fn func(*ListCatalogItemsOutput, bool) bool) error { return c.ListCatalogItemsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1462,14 +1459,13 @@ const opListOrders = "ListOrders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOrdersRequest method. +// req, resp := client.ListOrdersRequest(params) // -// // Example sending a request using the ListOrdersRequest method. -// req, resp := client.ListOrdersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOrders func (c *Outposts) ListOrdersRequest(input *ListOrdersInput) (req *request.Request, output *ListOrdersOutput) { @@ -1507,17 +1503,18 @@ func (c *Outposts) ListOrdersRequest(input *ListOrdersInput) (req *request.Reque // API operation ListOrders for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * NotFoundException -// The specified request is not valid. +// - ValidationException +// A parameter is not valid. +// +// - NotFoundException +// The specified request is not valid. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - AccessDeniedException +// You do not have permission to perform this operation. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOrders func (c *Outposts) ListOrders(input *ListOrdersInput) (*ListOrdersOutput, error) { @@ -1549,15 +1546,14 @@ func (c *Outposts) ListOrdersWithContext(ctx aws.Context, input *ListOrdersInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOrders operation. -// pageNum := 0 -// err := client.ListOrdersPages(params, -// func(page *outposts.ListOrdersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOrders operation. +// pageNum := 0 +// err := client.ListOrdersPages(params, +// func(page *outposts.ListOrdersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Outposts) ListOrdersPages(input *ListOrdersInput, fn func(*ListOrdersOutput, bool) bool) error { return c.ListOrdersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1609,14 +1605,13 @@ const opListOutposts = "ListOutposts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOutpostsRequest method. +// req, resp := client.ListOutpostsRequest(params) // -// // Example sending a request using the ListOutpostsRequest method. -// req, resp := client.ListOutpostsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOutposts func (c *Outposts) ListOutpostsRequest(input *ListOutpostsInput) (req *request.Request, output *ListOutpostsOutput) { @@ -1658,14 +1653,15 @@ func (c *Outposts) ListOutpostsRequest(input *ListOutpostsInput) (req *request.R // API operation ListOutposts for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - ValidationException +// A parameter is not valid. +// +// - AccessDeniedException +// You do not have permission to perform this operation. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListOutposts func (c *Outposts) ListOutposts(input *ListOutpostsInput) (*ListOutpostsOutput, error) { @@ -1697,15 +1693,14 @@ func (c *Outposts) ListOutpostsWithContext(ctx aws.Context, input *ListOutpostsI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOutposts operation. -// pageNum := 0 -// err := client.ListOutpostsPages(params, -// func(page *outposts.ListOutpostsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOutposts operation. +// pageNum := 0 +// err := client.ListOutpostsPages(params, +// func(page *outposts.ListOutpostsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Outposts) ListOutpostsPages(input *ListOutpostsInput, fn func(*ListOutpostsOutput, bool) bool) error { return c.ListOutpostsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1757,14 +1752,13 @@ const opListSites = "ListSites" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSitesRequest method. +// req, resp := client.ListSitesRequest(params) // -// // Example sending a request using the ListSitesRequest method. -// req, resp := client.ListSitesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListSites func (c *Outposts) ListSitesRequest(input *ListSitesInput) (req *request.Request, output *ListSitesOutput) { @@ -1807,14 +1801,15 @@ func (c *Outposts) ListSitesRequest(input *ListSitesInput) (req *request.Request // API operation ListSites for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - ValidationException +// A parameter is not valid. // -// * InternalServerException -// An internal error has occurred. +// - AccessDeniedException +// You do not have permission to perform this operation. +// +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListSites func (c *Outposts) ListSites(input *ListSitesInput) (*ListSitesOutput, error) { @@ -1846,15 +1841,14 @@ func (c *Outposts) ListSitesWithContext(ctx aws.Context, input *ListSitesInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSites operation. -// pageNum := 0 -// err := client.ListSitesPages(params, -// func(page *outposts.ListSitesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSites operation. +// pageNum := 0 +// err := client.ListSitesPages(params, +// func(page *outposts.ListSitesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Outposts) ListSitesPages(input *ListSitesInput, fn func(*ListSitesOutput, bool) bool) error { return c.ListSitesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1906,14 +1900,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListTagsForResource func (c *Outposts) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1944,14 +1937,15 @@ func (c *Outposts) ListTagsForResourceRequest(input *ListTagsForResourceInput) ( // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal error has occurred. // -// * ValidationException -// A parameter is not valid. +// - InternalServerException +// An internal error has occurred. // -// * NotFoundException -// The specified request is not valid. +// - ValidationException +// A parameter is not valid. +// +// - NotFoundException +// The specified request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListTagsForResource func (c *Outposts) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1991,14 +1985,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/TagResource func (c *Outposts) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2030,14 +2023,15 @@ func (c *Outposts) TagResourceRequest(input *TagResourceInput) (req *request.Req // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal error has occurred. // -// * ValidationException -// A parameter is not valid. +// - InternalServerException +// An internal error has occurred. // -// * NotFoundException -// The specified request is not valid. +// - ValidationException +// A parameter is not valid. +// +// - NotFoundException +// The specified request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/TagResource func (c *Outposts) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2077,14 +2071,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UntagResource func (c *Outposts) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2116,14 +2109,15 @@ func (c *Outposts) UntagResourceRequest(input *UntagResourceInput) (req *request // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An internal error has occurred. // -// * ValidationException -// A parameter is not valid. +// - InternalServerException +// An internal error has occurred. // -// * NotFoundException -// The specified request is not valid. +// - ValidationException +// A parameter is not valid. +// +// - NotFoundException +// The specified request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UntagResource func (c *Outposts) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2163,14 +2157,13 @@ const opUpdateOutpost = "UpdateOutpost" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateOutpostRequest method. +// req, resp := client.UpdateOutpostRequest(params) // -// // Example sending a request using the UpdateOutpostRequest method. -// req, resp := client.UpdateOutpostRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UpdateOutpost func (c *Outposts) UpdateOutpostRequest(input *UpdateOutpostInput) (req *request.Request, output *UpdateOutpostOutput) { @@ -2201,20 +2194,21 @@ func (c *Outposts) UpdateOutpostRequest(input *UpdateOutpostInput) (req *request // API operation UpdateOutpost for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * ConflictException -// Updating or deleting this resource can cause an inconsistent state. +// - ValidationException +// A parameter is not valid. +// +// - ConflictException +// Updating or deleting this resource can cause an inconsistent state. // -// * NotFoundException -// The specified request is not valid. +// - NotFoundException +// The specified request is not valid. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - AccessDeniedException +// You do not have permission to perform this operation. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UpdateOutpost func (c *Outposts) UpdateOutpost(input *UpdateOutpostInput) (*UpdateOutpostOutput, error) { @@ -2254,14 +2248,13 @@ const opUpdateSite = "UpdateSite" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSiteRequest method. +// req, resp := client.UpdateSiteRequest(params) // -// // Example sending a request using the UpdateSiteRequest method. -// req, resp := client.UpdateSiteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UpdateSite func (c *Outposts) UpdateSiteRequest(input *UpdateSiteInput) (req *request.Request, output *UpdateSiteOutput) { @@ -2292,20 +2285,21 @@ func (c *Outposts) UpdateSiteRequest(input *UpdateSiteInput) (req *request.Reque // API operation UpdateSite for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * ConflictException -// Updating or deleting this resource can cause an inconsistent state. +// - ValidationException +// A parameter is not valid. +// +// - ConflictException +// Updating or deleting this resource can cause an inconsistent state. // -// * NotFoundException -// The specified request is not valid. +// - NotFoundException +// The specified request is not valid. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - AccessDeniedException +// You do not have permission to perform this operation. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UpdateSite func (c *Outposts) UpdateSite(input *UpdateSiteInput) (*UpdateSiteOutput, error) { @@ -2345,14 +2339,13 @@ const opUpdateSiteAddress = "UpdateSiteAddress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSiteAddressRequest method. +// req, resp := client.UpdateSiteAddressRequest(params) // -// // Example sending a request using the UpdateSiteAddressRequest method. -// req, resp := client.UpdateSiteAddressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UpdateSiteAddress func (c *Outposts) UpdateSiteAddressRequest(input *UpdateSiteAddressInput) (req *request.Request, output *UpdateSiteAddressOutput) { @@ -2389,20 +2382,21 @@ func (c *Outposts) UpdateSiteAddressRequest(input *UpdateSiteAddressInput) (req // API operation UpdateSiteAddress for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - ValidationException +// A parameter is not valid. // -// * NotFoundException -// The specified request is not valid. +// - AccessDeniedException +// You do not have permission to perform this operation. // -// * ConflictException -// Updating or deleting this resource can cause an inconsistent state. +// - NotFoundException +// The specified request is not valid. // -// * InternalServerException -// An internal error has occurred. +// - ConflictException +// Updating or deleting this resource can cause an inconsistent state. +// +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UpdateSiteAddress func (c *Outposts) UpdateSiteAddress(input *UpdateSiteAddressInput) (*UpdateSiteAddressOutput, error) { @@ -2442,14 +2436,13 @@ const opUpdateSiteRackPhysicalProperties = "UpdateSiteRackPhysicalProperties" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSiteRackPhysicalPropertiesRequest method. +// req, resp := client.UpdateSiteRackPhysicalPropertiesRequest(params) // -// // Example sending a request using the UpdateSiteRackPhysicalPropertiesRequest method. -// req, resp := client.UpdateSiteRackPhysicalPropertiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UpdateSiteRackPhysicalProperties func (c *Outposts) UpdateSiteRackPhysicalPropertiesRequest(input *UpdateSiteRackPhysicalPropertiesInput) (req *request.Request, output *UpdateSiteRackPhysicalPropertiesOutput) { @@ -2486,20 +2479,21 @@ func (c *Outposts) UpdateSiteRackPhysicalPropertiesRequest(input *UpdateSiteRack // API operation UpdateSiteRackPhysicalProperties for usage and error information. // // Returned Error Types: -// * ValidationException -// A parameter is not valid. // -// * ConflictException -// Updating or deleting this resource can cause an inconsistent state. +// - ValidationException +// A parameter is not valid. +// +// - ConflictException +// Updating or deleting this resource can cause an inconsistent state. // -// * NotFoundException -// The specified request is not valid. +// - NotFoundException +// The specified request is not valid. // -// * AccessDeniedException -// You do not have permission to perform this operation. +// - AccessDeniedException +// You do not have permission to perform this operation. // -// * InternalServerException -// An internal error has occurred. +// - InternalServerException +// An internal error has occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UpdateSiteRackPhysicalProperties func (c *Outposts) UpdateSiteRackPhysicalProperties(input *UpdateSiteRackPhysicalPropertiesInput) (*UpdateSiteRackPhysicalPropertiesOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/doc.go index 4cc7eb6fae8c..7534e86fbeb2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/doc.go @@ -16,7 +16,7 @@ // See outposts package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/outposts/ // -// Using the Client +// # Using the Client // // To contact AWS Outposts with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/outpostsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/outpostsiface/interface.go index bec90f4f54c0..0360141c11df 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/outpostsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/outpostsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Outposts. -// func myFunc(svc outpostsiface.OutpostsAPI) bool { -// // Make svc.CancelOrder request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Outposts. +// func myFunc(svc outpostsiface.OutpostsAPI) bool { +// // Make svc.CancelOrder request +// } // -// func main() { -// sess := session.New() -// svc := outposts.New(sess) +// func main() { +// sess := session.New() +// svc := outposts.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockOutpostsClient struct { -// outpostsiface.OutpostsAPI -// } -// func (m *mockOutpostsClient) CancelOrder(input *outposts.CancelOrderInput) (*outposts.CancelOrderOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockOutpostsClient struct { +// outpostsiface.OutpostsAPI +// } +// func (m *mockOutpostsClient) CancelOrder(input *outposts.CancelOrderInput) (*outposts.CancelOrderOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockOutpostsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockOutpostsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/service.go index cc3b93d48d84..7affad36358b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/outposts/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Outposts client from just a session. -// svc := outposts.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Outposts client with additional configuration -// svc := outposts.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Outposts client from just a session. +// svc := outposts.New(mySession) +// +// // Create a Outposts client with additional configuration +// svc := outposts.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Outposts { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/api.go index b0fc9f05c5cb..1f4a7dd3f624 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/api.go @@ -29,14 +29,13 @@ const opCreateApplicationInstance = "CreateApplicationInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationInstanceRequest method. +// req, resp := client.CreateApplicationInstanceRequest(params) // -// // Example sending a request using the CreateApplicationInstanceRequest method. -// req, resp := client.CreateApplicationInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/CreateApplicationInstance func (c *Panorama) CreateApplicationInstanceRequest(input *CreateApplicationInstanceInput) (req *request.Request, output *CreateApplicationInstanceOutput) { @@ -67,17 +66,18 @@ func (c *Panorama) CreateApplicationInstanceRequest(input *CreateApplicationInst // API operation CreateApplicationInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - ValidationException +// The request contains an invalid parameter value. +// +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * ServiceQuotaExceededException -// The request would cause a limit to be exceeded. +// - ServiceQuotaExceededException +// The request would cause a limit to be exceeded. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/CreateApplicationInstance func (c *Panorama) CreateApplicationInstance(input *CreateApplicationInstanceInput) (*CreateApplicationInstanceOutput, error) { @@ -117,14 +117,13 @@ const opCreateJobForDevices = "CreateJobForDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateJobForDevicesRequest method. +// req, resp := client.CreateJobForDevicesRequest(params) // -// // Example sending a request using the CreateJobForDevicesRequest method. -// req, resp := client.CreateJobForDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/CreateJobForDevices func (c *Panorama) CreateJobForDevicesRequest(input *CreateJobForDevicesInput) (req *request.Request, output *CreateJobForDevicesOutput) { @@ -155,20 +154,21 @@ func (c *Panorama) CreateJobForDevicesRequest(input *CreateJobForDevicesInput) ( // API operation CreateJobForDevices for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - ValidationException +// The request contains an invalid parameter value. // -// * ResourceNotFoundException -// The target resource was not found. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - ResourceNotFoundException +// The target resource was not found. +// +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/CreateJobForDevices func (c *Panorama) CreateJobForDevices(input *CreateJobForDevicesInput) (*CreateJobForDevicesOutput, error) { @@ -208,14 +208,13 @@ const opCreateNodeFromTemplateJob = "CreateNodeFromTemplateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNodeFromTemplateJobRequest method. +// req, resp := client.CreateNodeFromTemplateJobRequest(params) // -// // Example sending a request using the CreateNodeFromTemplateJobRequest method. -// req, resp := client.CreateNodeFromTemplateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/CreateNodeFromTemplateJob func (c *Panorama) CreateNodeFromTemplateJobRequest(input *CreateNodeFromTemplateJobInput) (req *request.Request, output *CreateNodeFromTemplateJobOutput) { @@ -246,17 +245,18 @@ func (c *Panorama) CreateNodeFromTemplateJobRequest(input *CreateNodeFromTemplat // API operation CreateNodeFromTemplateJob for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - ValidationException +// The request contains an invalid parameter value. // -// * InternalServerException -// An internal error occurred. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. +// +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/CreateNodeFromTemplateJob func (c *Panorama) CreateNodeFromTemplateJob(input *CreateNodeFromTemplateJobInput) (*CreateNodeFromTemplateJobOutput, error) { @@ -296,14 +296,13 @@ const opCreatePackage = "CreatePackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePackageRequest method. +// req, resp := client.CreatePackageRequest(params) // -// // Example sending a request using the CreatePackageRequest method. -// req, resp := client.CreatePackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/CreatePackage func (c *Panorama) CreatePackageRequest(input *CreatePackageInput) (req *request.Request, output *CreatePackageOutput) { @@ -334,17 +333,18 @@ func (c *Panorama) CreatePackageRequest(input *CreatePackageInput) (req *request // API operation CreatePackage for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. +// +// - ValidationException +// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/CreatePackage func (c *Panorama) CreatePackage(input *CreatePackageInput) (*CreatePackageOutput, error) { @@ -384,14 +384,13 @@ const opCreatePackageImportJob = "CreatePackageImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePackageImportJobRequest method. +// req, resp := client.CreatePackageImportJobRequest(params) // -// // Example sending a request using the CreatePackageImportJobRequest method. -// req, resp := client.CreatePackageImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/CreatePackageImportJob func (c *Panorama) CreatePackageImportJobRequest(input *CreatePackageImportJobInput) (req *request.Request, output *CreatePackageImportJobOutput) { @@ -422,17 +421,18 @@ func (c *Panorama) CreatePackageImportJobRequest(input *CreatePackageImportJobIn // API operation CreatePackageImportJob for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. +// +// - ValidationException +// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/CreatePackageImportJob func (c *Panorama) CreatePackageImportJob(input *CreatePackageImportJobInput) (*CreatePackageImportJobOutput, error) { @@ -472,14 +472,13 @@ const opDeleteDevice = "DeleteDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDeviceRequest method. +// req, resp := client.DeleteDeviceRequest(params) // -// // Example sending a request using the DeleteDeviceRequest method. -// req, resp := client.DeleteDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DeleteDevice func (c *Panorama) DeleteDeviceRequest(input *DeleteDeviceInput) (req *request.Request, output *DeleteDeviceOutput) { @@ -510,20 +509,21 @@ func (c *Panorama) DeleteDeviceRequest(input *DeleteDeviceInput) (req *request.R // API operation DeleteDevice for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. +// +// - ValidationException +// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * ResourceNotFoundException -// The target resource was not found. +// - ResourceNotFoundException +// The target resource was not found. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DeleteDevice func (c *Panorama) DeleteDevice(input *DeleteDeviceInput) (*DeleteDeviceOutput, error) { @@ -563,14 +563,13 @@ const opDeletePackage = "DeletePackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePackageRequest method. +// req, resp := client.DeletePackageRequest(params) // -// // Example sending a request using the DeletePackageRequest method. -// req, resp := client.DeletePackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DeletePackage func (c *Panorama) DeletePackageRequest(input *DeletePackageInput) (req *request.Request, output *DeletePackageOutput) { @@ -605,20 +604,21 @@ func (c *Panorama) DeletePackageRequest(input *DeletePackageInput) (req *request // API operation DeletePackage for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - ValidationException +// The request contains an invalid parameter value. // -// * ResourceNotFoundException -// The target resource was not found. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - ResourceNotFoundException +// The target resource was not found. +// +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DeletePackage func (c *Panorama) DeletePackage(input *DeletePackageInput) (*DeletePackageOutput, error) { @@ -658,14 +658,13 @@ const opDeregisterPackageVersion = "DeregisterPackageVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterPackageVersionRequest method. +// req, resp := client.DeregisterPackageVersionRequest(params) // -// // Example sending a request using the DeregisterPackageVersionRequest method. -// req, resp := client.DeregisterPackageVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DeregisterPackageVersion func (c *Panorama) DeregisterPackageVersionRequest(input *DeregisterPackageVersionInput) (req *request.Request, output *DeregisterPackageVersionOutput) { @@ -697,20 +696,21 @@ func (c *Panorama) DeregisterPackageVersionRequest(input *DeregisterPackageVersi // API operation DeregisterPackageVersion for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - ValidationException +// The request contains an invalid parameter value. // -// * ResourceNotFoundException -// The target resource was not found. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - ResourceNotFoundException +// The target resource was not found. +// +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DeregisterPackageVersion func (c *Panorama) DeregisterPackageVersion(input *DeregisterPackageVersionInput) (*DeregisterPackageVersionOutput, error) { @@ -750,14 +750,13 @@ const opDescribeApplicationInstance = "DescribeApplicationInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApplicationInstanceRequest method. +// req, resp := client.DescribeApplicationInstanceRequest(params) // -// // Example sending a request using the DescribeApplicationInstanceRequest method. -// req, resp := client.DescribeApplicationInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribeApplicationInstance func (c *Panorama) DescribeApplicationInstanceRequest(input *DescribeApplicationInstanceInput) (req *request.Request, output *DescribeApplicationInstanceOutput) { @@ -788,20 +787,21 @@ func (c *Panorama) DescribeApplicationInstanceRequest(input *DescribeApplication // API operation DescribeApplicationInstance for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - ValidationException +// The request contains an invalid parameter value. // -// * ResourceNotFoundException -// The target resource was not found. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - ResourceNotFoundException +// The target resource was not found. +// +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribeApplicationInstance func (c *Panorama) DescribeApplicationInstance(input *DescribeApplicationInstanceInput) (*DescribeApplicationInstanceOutput, error) { @@ -841,14 +841,13 @@ const opDescribeApplicationInstanceDetails = "DescribeApplicationInstanceDetails // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeApplicationInstanceDetailsRequest method. +// req, resp := client.DescribeApplicationInstanceDetailsRequest(params) // -// // Example sending a request using the DescribeApplicationInstanceDetailsRequest method. -// req, resp := client.DescribeApplicationInstanceDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribeApplicationInstanceDetails func (c *Panorama) DescribeApplicationInstanceDetailsRequest(input *DescribeApplicationInstanceDetailsInput) (req *request.Request, output *DescribeApplicationInstanceDetailsOutput) { @@ -879,20 +878,21 @@ func (c *Panorama) DescribeApplicationInstanceDetailsRequest(input *DescribeAppl // API operation DescribeApplicationInstanceDetails for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - ValidationException +// The request contains an invalid parameter value. // -// * ResourceNotFoundException -// The target resource was not found. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - ResourceNotFoundException +// The target resource was not found. +// +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribeApplicationInstanceDetails func (c *Panorama) DescribeApplicationInstanceDetails(input *DescribeApplicationInstanceDetailsInput) (*DescribeApplicationInstanceDetailsOutput, error) { @@ -932,14 +932,13 @@ const opDescribeDevice = "DescribeDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDeviceRequest method. +// req, resp := client.DescribeDeviceRequest(params) // -// // Example sending a request using the DescribeDeviceRequest method. -// req, resp := client.DescribeDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribeDevice func (c *Panorama) DescribeDeviceRequest(input *DescribeDeviceInput) (req *request.Request, output *DescribeDeviceOutput) { @@ -970,17 +969,18 @@ func (c *Panorama) DescribeDeviceRequest(input *DescribeDeviceInput) (req *reque // API operation DescribeDevice for usage and error information. // // Returned Error Types: -// * ValidationException -// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - ValidationException +// The request contains an invalid parameter value. +// +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * ResourceNotFoundException -// The target resource was not found. +// - ResourceNotFoundException +// The target resource was not found. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribeDevice func (c *Panorama) DescribeDevice(input *DescribeDeviceInput) (*DescribeDeviceOutput, error) { @@ -1020,14 +1020,13 @@ const opDescribeDeviceJob = "DescribeDeviceJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDeviceJobRequest method. +// req, resp := client.DescribeDeviceJobRequest(params) // -// // Example sending a request using the DescribeDeviceJobRequest method. -// req, resp := client.DescribeDeviceJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribeDeviceJob func (c *Panorama) DescribeDeviceJobRequest(input *DescribeDeviceJobInput) (req *request.Request, output *DescribeDeviceJobOutput) { @@ -1058,20 +1057,21 @@ func (c *Panorama) DescribeDeviceJobRequest(input *DescribeDeviceJobInput) (req // API operation DescribeDeviceJob for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. +// +// - ValidationException +// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * ResourceNotFoundException -// The target resource was not found. +// - ResourceNotFoundException +// The target resource was not found. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribeDeviceJob func (c *Panorama) DescribeDeviceJob(input *DescribeDeviceJobInput) (*DescribeDeviceJobOutput, error) { @@ -1111,14 +1111,13 @@ const opDescribeNode = "DescribeNode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNodeRequest method. +// req, resp := client.DescribeNodeRequest(params) // -// // Example sending a request using the DescribeNodeRequest method. -// req, resp := client.DescribeNodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribeNode func (c *Panorama) DescribeNodeRequest(input *DescribeNodeInput) (req *request.Request, output *DescribeNodeOutput) { @@ -1149,20 +1148,21 @@ func (c *Panorama) DescribeNodeRequest(input *DescribeNodeInput) (req *request.R // API operation DescribeNode for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. +// +// - ValidationException +// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * ResourceNotFoundException -// The target resource was not found. +// - ResourceNotFoundException +// The target resource was not found. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribeNode func (c *Panorama) DescribeNode(input *DescribeNodeInput) (*DescribeNodeOutput, error) { @@ -1202,14 +1202,13 @@ const opDescribeNodeFromTemplateJob = "DescribeNodeFromTemplateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNodeFromTemplateJobRequest method. +// req, resp := client.DescribeNodeFromTemplateJobRequest(params) // -// // Example sending a request using the DescribeNodeFromTemplateJobRequest method. -// req, resp := client.DescribeNodeFromTemplateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribeNodeFromTemplateJob func (c *Panorama) DescribeNodeFromTemplateJobRequest(input *DescribeNodeFromTemplateJobInput) (req *request.Request, output *DescribeNodeFromTemplateJobOutput) { @@ -1240,17 +1239,18 @@ func (c *Panorama) DescribeNodeFromTemplateJobRequest(input *DescribeNodeFromTem // API operation DescribeNodeFromTemplateJob for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - ValidationException +// The request contains an invalid parameter value. // -// * InternalServerException -// An internal error occurred. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. +// +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribeNodeFromTemplateJob func (c *Panorama) DescribeNodeFromTemplateJob(input *DescribeNodeFromTemplateJobInput) (*DescribeNodeFromTemplateJobOutput, error) { @@ -1290,14 +1290,13 @@ const opDescribePackage = "DescribePackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePackageRequest method. +// req, resp := client.DescribePackageRequest(params) // -// // Example sending a request using the DescribePackageRequest method. -// req, resp := client.DescribePackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribePackage func (c *Panorama) DescribePackageRequest(input *DescribePackageInput) (req *request.Request, output *DescribePackageOutput) { @@ -1328,20 +1327,21 @@ func (c *Panorama) DescribePackageRequest(input *DescribePackageInput) (req *req // API operation DescribePackage for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - ValidationException +// The request contains an invalid parameter value. // -// * ResourceNotFoundException -// The target resource was not found. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - ResourceNotFoundException +// The target resource was not found. +// +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribePackage func (c *Panorama) DescribePackage(input *DescribePackageInput) (*DescribePackageOutput, error) { @@ -1381,14 +1381,13 @@ const opDescribePackageImportJob = "DescribePackageImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePackageImportJobRequest method. +// req, resp := client.DescribePackageImportJobRequest(params) // -// // Example sending a request using the DescribePackageImportJobRequest method. -// req, resp := client.DescribePackageImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribePackageImportJob func (c *Panorama) DescribePackageImportJobRequest(input *DescribePackageImportJobInput) (req *request.Request, output *DescribePackageImportJobOutput) { @@ -1419,17 +1418,18 @@ func (c *Panorama) DescribePackageImportJobRequest(input *DescribePackageImportJ // API operation DescribePackageImportJob for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. +// +// - ValidationException +// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribePackageImportJob func (c *Panorama) DescribePackageImportJob(input *DescribePackageImportJobInput) (*DescribePackageImportJobOutput, error) { @@ -1469,14 +1469,13 @@ const opDescribePackageVersion = "DescribePackageVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePackageVersionRequest method. +// req, resp := client.DescribePackageVersionRequest(params) // -// // Example sending a request using the DescribePackageVersionRequest method. -// req, resp := client.DescribePackageVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribePackageVersion func (c *Panorama) DescribePackageVersionRequest(input *DescribePackageVersionInput) (req *request.Request, output *DescribePackageVersionOutput) { @@ -1507,20 +1506,21 @@ func (c *Panorama) DescribePackageVersionRequest(input *DescribePackageVersionIn // API operation DescribePackageVersion for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. +// +// - ValidationException +// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * ResourceNotFoundException -// The target resource was not found. +// - ResourceNotFoundException +// The target resource was not found. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/DescribePackageVersion func (c *Panorama) DescribePackageVersion(input *DescribePackageVersionInput) (*DescribePackageVersionOutput, error) { @@ -1560,14 +1560,13 @@ const opListApplicationInstanceDependencies = "ListApplicationInstanceDependenci // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationInstanceDependenciesRequest method. +// req, resp := client.ListApplicationInstanceDependenciesRequest(params) // -// // Example sending a request using the ListApplicationInstanceDependenciesRequest method. -// req, resp := client.ListApplicationInstanceDependenciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListApplicationInstanceDependencies func (c *Panorama) ListApplicationInstanceDependenciesRequest(input *ListApplicationInstanceDependenciesInput) (req *request.Request, output *ListApplicationInstanceDependenciesOutput) { @@ -1604,11 +1603,12 @@ func (c *Panorama) ListApplicationInstanceDependenciesRequest(input *ListApplica // API operation ListApplicationInstanceDependencies for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. +// +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListApplicationInstanceDependencies func (c *Panorama) ListApplicationInstanceDependencies(input *ListApplicationInstanceDependenciesInput) (*ListApplicationInstanceDependenciesOutput, error) { @@ -1640,15 +1640,14 @@ func (c *Panorama) ListApplicationInstanceDependenciesWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplicationInstanceDependencies operation. -// pageNum := 0 -// err := client.ListApplicationInstanceDependenciesPages(params, -// func(page *panorama.ListApplicationInstanceDependenciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplicationInstanceDependencies operation. +// pageNum := 0 +// err := client.ListApplicationInstanceDependenciesPages(params, +// func(page *panorama.ListApplicationInstanceDependenciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Panorama) ListApplicationInstanceDependenciesPages(input *ListApplicationInstanceDependenciesInput, fn func(*ListApplicationInstanceDependenciesOutput, bool) bool) error { return c.ListApplicationInstanceDependenciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1700,14 +1699,13 @@ const opListApplicationInstanceNodeInstances = "ListApplicationInstanceNodeInsta // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationInstanceNodeInstancesRequest method. +// req, resp := client.ListApplicationInstanceNodeInstancesRequest(params) // -// // Example sending a request using the ListApplicationInstanceNodeInstancesRequest method. -// req, resp := client.ListApplicationInstanceNodeInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListApplicationInstanceNodeInstances func (c *Panorama) ListApplicationInstanceNodeInstancesRequest(input *ListApplicationInstanceNodeInstancesInput) (req *request.Request, output *ListApplicationInstanceNodeInstancesOutput) { @@ -1744,11 +1742,12 @@ func (c *Panorama) ListApplicationInstanceNodeInstancesRequest(input *ListApplic // API operation ListApplicationInstanceNodeInstances for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. +// +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListApplicationInstanceNodeInstances func (c *Panorama) ListApplicationInstanceNodeInstances(input *ListApplicationInstanceNodeInstancesInput) (*ListApplicationInstanceNodeInstancesOutput, error) { @@ -1780,15 +1779,14 @@ func (c *Panorama) ListApplicationInstanceNodeInstancesWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplicationInstanceNodeInstances operation. -// pageNum := 0 -// err := client.ListApplicationInstanceNodeInstancesPages(params, -// func(page *panorama.ListApplicationInstanceNodeInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplicationInstanceNodeInstances operation. +// pageNum := 0 +// err := client.ListApplicationInstanceNodeInstancesPages(params, +// func(page *panorama.ListApplicationInstanceNodeInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Panorama) ListApplicationInstanceNodeInstancesPages(input *ListApplicationInstanceNodeInstancesInput, fn func(*ListApplicationInstanceNodeInstancesOutput, bool) bool) error { return c.ListApplicationInstanceNodeInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1840,14 +1838,13 @@ const opListApplicationInstances = "ListApplicationInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationInstancesRequest method. +// req, resp := client.ListApplicationInstancesRequest(params) // -// // Example sending a request using the ListApplicationInstancesRequest method. -// req, resp := client.ListApplicationInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListApplicationInstances func (c *Panorama) ListApplicationInstancesRequest(input *ListApplicationInstancesInput) (req *request.Request, output *ListApplicationInstancesOutput) { @@ -1884,11 +1881,12 @@ func (c *Panorama) ListApplicationInstancesRequest(input *ListApplicationInstanc // API operation ListApplicationInstances for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. +// +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListApplicationInstances func (c *Panorama) ListApplicationInstances(input *ListApplicationInstancesInput) (*ListApplicationInstancesOutput, error) { @@ -1920,15 +1918,14 @@ func (c *Panorama) ListApplicationInstancesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplicationInstances operation. -// pageNum := 0 -// err := client.ListApplicationInstancesPages(params, -// func(page *panorama.ListApplicationInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplicationInstances operation. +// pageNum := 0 +// err := client.ListApplicationInstancesPages(params, +// func(page *panorama.ListApplicationInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Panorama) ListApplicationInstancesPages(input *ListApplicationInstancesInput, fn func(*ListApplicationInstancesOutput, bool) bool) error { return c.ListApplicationInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1980,14 +1977,13 @@ const opListDevices = "ListDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDevicesRequest method. +// req, resp := client.ListDevicesRequest(params) // -// // Example sending a request using the ListDevicesRequest method. -// req, resp := client.ListDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListDevices func (c *Panorama) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput) { @@ -2024,17 +2020,18 @@ func (c *Panorama) ListDevicesRequest(input *ListDevicesInput) (req *request.Req // API operation ListDevices for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. +// +// - ValidationException +// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListDevices func (c *Panorama) ListDevices(input *ListDevicesInput) (*ListDevicesOutput, error) { @@ -2066,15 +2063,14 @@ func (c *Panorama) ListDevicesWithContext(ctx aws.Context, input *ListDevicesInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDevices operation. -// pageNum := 0 -// err := client.ListDevicesPages(params, -// func(page *panorama.ListDevicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDevices operation. +// pageNum := 0 +// err := client.ListDevicesPages(params, +// func(page *panorama.ListDevicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Panorama) ListDevicesPages(input *ListDevicesInput, fn func(*ListDevicesOutput, bool) bool) error { return c.ListDevicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2126,14 +2122,13 @@ const opListDevicesJobs = "ListDevicesJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDevicesJobsRequest method. +// req, resp := client.ListDevicesJobsRequest(params) // -// // Example sending a request using the ListDevicesJobsRequest method. -// req, resp := client.ListDevicesJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListDevicesJobs func (c *Panorama) ListDevicesJobsRequest(input *ListDevicesJobsInput) (req *request.Request, output *ListDevicesJobsOutput) { @@ -2170,20 +2165,21 @@ func (c *Panorama) ListDevicesJobsRequest(input *ListDevicesJobsInput) (req *req // API operation ListDevicesJobs for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. +// +// - ValidationException +// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * ResourceNotFoundException -// The target resource was not found. +// - ResourceNotFoundException +// The target resource was not found. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListDevicesJobs func (c *Panorama) ListDevicesJobs(input *ListDevicesJobsInput) (*ListDevicesJobsOutput, error) { @@ -2215,15 +2211,14 @@ func (c *Panorama) ListDevicesJobsWithContext(ctx aws.Context, input *ListDevice // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDevicesJobs operation. -// pageNum := 0 -// err := client.ListDevicesJobsPages(params, -// func(page *panorama.ListDevicesJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDevicesJobs operation. +// pageNum := 0 +// err := client.ListDevicesJobsPages(params, +// func(page *panorama.ListDevicesJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Panorama) ListDevicesJobsPages(input *ListDevicesJobsInput, fn func(*ListDevicesJobsOutput, bool) bool) error { return c.ListDevicesJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2275,14 +2270,13 @@ const opListNodeFromTemplateJobs = "ListNodeFromTemplateJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNodeFromTemplateJobsRequest method. +// req, resp := client.ListNodeFromTemplateJobsRequest(params) // -// // Example sending a request using the ListNodeFromTemplateJobsRequest method. -// req, resp := client.ListNodeFromTemplateJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListNodeFromTemplateJobs func (c *Panorama) ListNodeFromTemplateJobsRequest(input *ListNodeFromTemplateJobsInput) (req *request.Request, output *ListNodeFromTemplateJobsOutput) { @@ -2319,17 +2313,18 @@ func (c *Panorama) ListNodeFromTemplateJobsRequest(input *ListNodeFromTemplateJo // API operation ListNodeFromTemplateJobs for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. +// +// - ValidationException +// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListNodeFromTemplateJobs func (c *Panorama) ListNodeFromTemplateJobs(input *ListNodeFromTemplateJobsInput) (*ListNodeFromTemplateJobsOutput, error) { @@ -2361,15 +2356,14 @@ func (c *Panorama) ListNodeFromTemplateJobsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNodeFromTemplateJobs operation. -// pageNum := 0 -// err := client.ListNodeFromTemplateJobsPages(params, -// func(page *panorama.ListNodeFromTemplateJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNodeFromTemplateJobs operation. +// pageNum := 0 +// err := client.ListNodeFromTemplateJobsPages(params, +// func(page *panorama.ListNodeFromTemplateJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Panorama) ListNodeFromTemplateJobsPages(input *ListNodeFromTemplateJobsInput, fn func(*ListNodeFromTemplateJobsOutput, bool) bool) error { return c.ListNodeFromTemplateJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2421,14 +2415,13 @@ const opListNodes = "ListNodes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNodesRequest method. +// req, resp := client.ListNodesRequest(params) // -// // Example sending a request using the ListNodesRequest method. -// req, resp := client.ListNodesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListNodes func (c *Panorama) ListNodesRequest(input *ListNodesInput) (req *request.Request, output *ListNodesOutput) { @@ -2465,14 +2458,15 @@ func (c *Panorama) ListNodesRequest(input *ListNodesInput) (req *request.Request // API operation ListNodes for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. // -// * InternalServerException -// An internal error occurred. +// - ValidationException +// The request contains an invalid parameter value. +// +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListNodes func (c *Panorama) ListNodes(input *ListNodesInput) (*ListNodesOutput, error) { @@ -2504,15 +2498,14 @@ func (c *Panorama) ListNodesWithContext(ctx aws.Context, input *ListNodesInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNodes operation. -// pageNum := 0 -// err := client.ListNodesPages(params, -// func(page *panorama.ListNodesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNodes operation. +// pageNum := 0 +// err := client.ListNodesPages(params, +// func(page *panorama.ListNodesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Panorama) ListNodesPages(input *ListNodesInput, fn func(*ListNodesOutput, bool) bool) error { return c.ListNodesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2564,14 +2557,13 @@ const opListPackageImportJobs = "ListPackageImportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPackageImportJobsRequest method. +// req, resp := client.ListPackageImportJobsRequest(params) // -// // Example sending a request using the ListPackageImportJobsRequest method. -// req, resp := client.ListPackageImportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListPackageImportJobs func (c *Panorama) ListPackageImportJobsRequest(input *ListPackageImportJobsInput) (req *request.Request, output *ListPackageImportJobsOutput) { @@ -2608,17 +2600,18 @@ func (c *Panorama) ListPackageImportJobsRequest(input *ListPackageImportJobsInpu // API operation ListPackageImportJobs for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. +// +// - ValidationException +// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListPackageImportJobs func (c *Panorama) ListPackageImportJobs(input *ListPackageImportJobsInput) (*ListPackageImportJobsOutput, error) { @@ -2650,15 +2643,14 @@ func (c *Panorama) ListPackageImportJobsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPackageImportJobs operation. -// pageNum := 0 -// err := client.ListPackageImportJobsPages(params, -// func(page *panorama.ListPackageImportJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPackageImportJobs operation. +// pageNum := 0 +// err := client.ListPackageImportJobsPages(params, +// func(page *panorama.ListPackageImportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Panorama) ListPackageImportJobsPages(input *ListPackageImportJobsInput, fn func(*ListPackageImportJobsOutput, bool) bool) error { return c.ListPackageImportJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2710,14 +2702,13 @@ const opListPackages = "ListPackages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPackagesRequest method. +// req, resp := client.ListPackagesRequest(params) // -// // Example sending a request using the ListPackagesRequest method. -// req, resp := client.ListPackagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListPackages func (c *Panorama) ListPackagesRequest(input *ListPackagesInput) (req *request.Request, output *ListPackagesOutput) { @@ -2754,20 +2745,21 @@ func (c *Panorama) ListPackagesRequest(input *ListPackagesInput) (req *request.R // API operation ListPackages for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. +// +// - ValidationException +// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * ResourceNotFoundException -// The target resource was not found. +// - ResourceNotFoundException +// The target resource was not found. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListPackages func (c *Panorama) ListPackages(input *ListPackagesInput) (*ListPackagesOutput, error) { @@ -2799,15 +2791,14 @@ func (c *Panorama) ListPackagesWithContext(ctx aws.Context, input *ListPackagesI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPackages operation. -// pageNum := 0 -// err := client.ListPackagesPages(params, -// func(page *panorama.ListPackagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPackages operation. +// pageNum := 0 +// err := client.ListPackagesPages(params, +// func(page *panorama.ListPackagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Panorama) ListPackagesPages(input *ListPackagesInput, fn func(*ListPackagesOutput, bool) bool) error { return c.ListPackagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2859,14 +2850,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListTagsForResource func (c *Panorama) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2897,14 +2887,15 @@ func (c *Panorama) ListTagsForResourceRequest(input *ListTagsForResourceInput) ( // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The request contains an invalid parameter value. // -// * ResourceNotFoundException -// The target resource was not found. +// - ValidationException +// The request contains an invalid parameter value. // -// * InternalServerException -// An internal error occurred. +// - ResourceNotFoundException +// The target resource was not found. +// +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ListTagsForResource func (c *Panorama) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2944,14 +2935,13 @@ const opProvisionDevice = "ProvisionDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ProvisionDeviceRequest method. +// req, resp := client.ProvisionDeviceRequest(params) // -// // Example sending a request using the ProvisionDeviceRequest method. -// req, resp := client.ProvisionDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ProvisionDevice func (c *Panorama) ProvisionDeviceRequest(input *ProvisionDeviceInput) (req *request.Request, output *ProvisionDeviceOutput) { @@ -2986,20 +2976,21 @@ func (c *Panorama) ProvisionDeviceRequest(input *ProvisionDeviceInput) (req *req // API operation ProvisionDevice for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - ValidationException +// The request contains an invalid parameter value. // -// * ServiceQuotaExceededException -// The request would cause a limit to be exceeded. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * InternalServerException -// An internal error occurred. +// - ServiceQuotaExceededException +// The request would cause a limit to be exceeded. +// +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/ProvisionDevice func (c *Panorama) ProvisionDevice(input *ProvisionDeviceInput) (*ProvisionDeviceOutput, error) { @@ -3039,14 +3030,13 @@ const opRegisterPackageVersion = "RegisterPackageVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterPackageVersionRequest method. +// req, resp := client.RegisterPackageVersionRequest(params) // -// // Example sending a request using the RegisterPackageVersionRequest method. -// req, resp := client.RegisterPackageVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/RegisterPackageVersion func (c *Panorama) RegisterPackageVersionRequest(input *RegisterPackageVersionInput) (req *request.Request, output *RegisterPackageVersionOutput) { @@ -3078,17 +3068,18 @@ func (c *Panorama) RegisterPackageVersionRequest(input *RegisterPackageVersionIn // API operation RegisterPackageVersion for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - ValidationException +// The request contains an invalid parameter value. // -// * InternalServerException -// An internal error occurred. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. +// +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/RegisterPackageVersion func (c *Panorama) RegisterPackageVersion(input *RegisterPackageVersionInput) (*RegisterPackageVersionOutput, error) { @@ -3128,14 +3119,13 @@ const opRemoveApplicationInstance = "RemoveApplicationInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveApplicationInstanceRequest method. +// req, resp := client.RemoveApplicationInstanceRequest(params) // -// // Example sending a request using the RemoveApplicationInstanceRequest method. -// req, resp := client.RemoveApplicationInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/RemoveApplicationInstance func (c *Panorama) RemoveApplicationInstanceRequest(input *RemoveApplicationInstanceInput) (req *request.Request, output *RemoveApplicationInstanceOutput) { @@ -3167,20 +3157,21 @@ func (c *Panorama) RemoveApplicationInstanceRequest(input *RemoveApplicationInst // API operation RemoveApplicationInstance for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. +// +// - ValidationException +// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * ResourceNotFoundException -// The target resource was not found. +// - ResourceNotFoundException +// The target resource was not found. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/RemoveApplicationInstance func (c *Panorama) RemoveApplicationInstance(input *RemoveApplicationInstanceInput) (*RemoveApplicationInstanceOutput, error) { @@ -3220,14 +3211,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/TagResource func (c *Panorama) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3259,14 +3249,15 @@ func (c *Panorama) TagResourceRequest(input *TagResourceInput) (req *request.Req // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The request contains an invalid parameter value. // -// * ResourceNotFoundException -// The target resource was not found. +// - ValidationException +// The request contains an invalid parameter value. +// +// - ResourceNotFoundException +// The target resource was not found. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/TagResource func (c *Panorama) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3306,14 +3297,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/UntagResource func (c *Panorama) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3345,14 +3335,15 @@ func (c *Panorama) UntagResourceRequest(input *UntagResourceInput) (req *request // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The request contains an invalid parameter value. // -// * ResourceNotFoundException -// The target resource was not found. +// - ValidationException +// The request contains an invalid parameter value. +// +// - ResourceNotFoundException +// The target resource was not found. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/UntagResource func (c *Panorama) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3392,14 +3383,13 @@ const opUpdateDeviceMetadata = "UpdateDeviceMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDeviceMetadataRequest method. +// req, resp := client.UpdateDeviceMetadataRequest(params) // -// // Example sending a request using the UpdateDeviceMetadataRequest method. -// req, resp := client.UpdateDeviceMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/UpdateDeviceMetadata func (c *Panorama) UpdateDeviceMetadataRequest(input *UpdateDeviceMetadataInput) (req *request.Request, output *UpdateDeviceMetadataOutput) { @@ -3430,20 +3420,21 @@ func (c *Panorama) UpdateDeviceMetadataRequest(input *UpdateDeviceMetadataInput) // API operation UpdateDeviceMetadata for usage and error information. // // Returned Error Types: -// * ConflictException -// The target resource is in use. // -// * ValidationException -// The request contains an invalid parameter value. +// - ConflictException +// The target resource is in use. +// +// - ValidationException +// The request contains an invalid parameter value. // -// * AccessDeniedException -// The requestor does not have permission to access the target action or resource. +// - AccessDeniedException +// The requestor does not have permission to access the target action or resource. // -// * ResourceNotFoundException -// The target resource was not found. +// - ResourceNotFoundException +// The target resource was not found. // -// * InternalServerException -// An internal error occurred. +// - InternalServerException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/panorama-2019-07-24/UpdateDeviceMetadata func (c *Panorama) UpdateDeviceMetadata(input *UpdateDeviceMetadataInput) (*UpdateDeviceMetadataOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/doc.go index a5d1e3dcc9d9..46f339d3f031 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/doc.go @@ -3,7 +3,7 @@ // Package panorama provides the client and types for making API // requests to AWS Panorama. // -// Overview +// # Overview // // This is the AWS Panorama API Reference. For an introduction to the service, // see What is AWS Panorama? (https://docs.aws.amazon.com/panorama/latest/dev/panorama-welcome.html) @@ -14,7 +14,7 @@ // See panorama package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/panorama/ // -// Using the Client +// # Using the Client // // To contact AWS Panorama with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/panoramaiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/panoramaiface/interface.go index 5c6a55abba8d..eec5eddd3102 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/panoramaiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/panoramaiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Panorama. -// func myFunc(svc panoramaiface.PanoramaAPI) bool { -// // Make svc.CreateApplicationInstance request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Panorama. +// func myFunc(svc panoramaiface.PanoramaAPI) bool { +// // Make svc.CreateApplicationInstance request +// } // -// func main() { -// sess := session.New() -// svc := panorama.New(sess) +// func main() { +// sess := session.New() +// svc := panorama.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockPanoramaClient struct { -// panoramaiface.PanoramaAPI -// } -// func (m *mockPanoramaClient) CreateApplicationInstance(input *panorama.CreateApplicationInstanceInput) (*panorama.CreateApplicationInstanceOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockPanoramaClient struct { +// panoramaiface.PanoramaAPI +// } +// func (m *mockPanoramaClient) CreateApplicationInstance(input *panorama.CreateApplicationInstanceInput) (*panorama.CreateApplicationInstanceOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockPanoramaClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockPanoramaClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/service.go index 905cddf3a7a7..2f48748f515e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/panorama/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Panorama client from just a session. -// svc := panorama.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Panorama client with additional configuration -// svc := panorama.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Panorama client from just a session. +// svc := panorama.New(mySession) +// +// // Create a Panorama client with additional configuration +// svc := panorama.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Panorama { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/api.go index 766a148facc1..fe2daac7640b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/api.go @@ -29,14 +29,13 @@ const opCreateBatchInferenceJob = "CreateBatchInferenceJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBatchInferenceJobRequest method. +// req, resp := client.CreateBatchInferenceJobRequest(params) // -// // Example sending a request using the CreateBatchInferenceJobRequest method. -// req, resp := client.CreateBatchInferenceJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateBatchInferenceJob func (c *Personalize) CreateBatchInferenceJobRequest(input *CreateBatchInferenceJobInput) (req *request.Request, output *CreateBatchInferenceJobOutput) { @@ -69,23 +68,24 @@ func (c *Personalize) CreateBatchInferenceJobRequest(input *CreateBatchInference // API operation CreateBatchInferenceJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * LimitExceededException -// The limit on the number of requests per second has been exceeded. +// - LimitExceededException +// The limit on the number of requests per second has been exceeded. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // -// * TooManyTagsException -// You have exceeded the maximum number of tags you can apply to this resource. +// - TooManyTagsException +// You have exceeded the maximum number of tags you can apply to this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateBatchInferenceJob func (c *Personalize) CreateBatchInferenceJob(input *CreateBatchInferenceJobInput) (*CreateBatchInferenceJobOutput, error) { @@ -125,14 +125,13 @@ const opCreateBatchSegmentJob = "CreateBatchSegmentJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBatchSegmentJobRequest method. +// req, resp := client.CreateBatchSegmentJobRequest(params) // -// // Example sending a request using the CreateBatchSegmentJobRequest method. -// req, resp := client.CreateBatchSegmentJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateBatchSegmentJob func (c *Personalize) CreateBatchSegmentJobRequest(input *CreateBatchSegmentJobInput) (req *request.Request, output *CreateBatchSegmentJobOutput) { @@ -165,23 +164,24 @@ func (c *Personalize) CreateBatchSegmentJobRequest(input *CreateBatchSegmentJobI // API operation CreateBatchSegmentJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * LimitExceededException -// The limit on the number of requests per second has been exceeded. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - LimitExceededException +// The limit on the number of requests per second has been exceeded. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// Could not find the specified resource. // -// * TooManyTagsException -// You have exceeded the maximum number of tags you can apply to this resource. +// - ResourceInUseException +// The specified resource is in use. +// +// - TooManyTagsException +// You have exceeded the maximum number of tags you can apply to this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateBatchSegmentJob func (c *Personalize) CreateBatchSegmentJob(input *CreateBatchSegmentJobInput) (*CreateBatchSegmentJobOutput, error) { @@ -221,14 +221,13 @@ const opCreateCampaign = "CreateCampaign" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCampaignRequest method. +// req, resp := client.CreateCampaignRequest(params) // -// // Example sending a request using the CreateCampaignRequest method. -// req, resp := client.CreateCampaignRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateCampaign func (c *Personalize) CreateCampaignRequest(input *CreateCampaignInput) (req *request.Request, output *CreateCampaignOutput) { @@ -254,7 +253,7 @@ func (c *Personalize) CreateCampaignRequest(input *CreateCampaignInput) (req *re // and GetPersonalizedRanking (https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetPersonalizedRanking.html) // APIs, a campaign is specified in the request. // -// Minimum Provisioned TPS and Auto-Scaling +// # Minimum Provisioned TPS and Auto-Scaling // // A transaction is a single GetRecommendations or GetPersonalizedRanking call. // Transactions per second (TPS) is the throughput and unit of billing for Amazon @@ -273,13 +272,13 @@ func (c *Personalize) CreateCampaignRequest(input *CreateCampaignInput) (req *re // your usage using Amazon CloudWatch metrics, and then increase the minProvisionedTPS // as necessary. // -// Status +// # Status // // A campaign can be in one of the following states: // -// * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED +// - CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED // -// * DELETE PENDING > DELETE IN_PROGRESS +// - DELETE PENDING > DELETE IN_PROGRESS // // To get the campaign status, call DescribeCampaign (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeCampaign.html). // @@ -288,13 +287,13 @@ func (c *Personalize) CreateCampaignRequest(input *CreateCampaignInput) (req *re // // Related APIs // -// * ListCampaigns (https://docs.aws.amazon.com/personalize/latest/dg/API_ListCampaigns.html) +// - ListCampaigns (https://docs.aws.amazon.com/personalize/latest/dg/API_ListCampaigns.html) // -// * DescribeCampaign (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeCampaign.html) +// - DescribeCampaign (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeCampaign.html) // -// * UpdateCampaign (https://docs.aws.amazon.com/personalize/latest/dg/API_UpdateCampaign.html) +// - UpdateCampaign (https://docs.aws.amazon.com/personalize/latest/dg/API_UpdateCampaign.html) // -// * DeleteCampaign (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteCampaign.html) +// - DeleteCampaign (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteCampaign.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -304,23 +303,24 @@ func (c *Personalize) CreateCampaignRequest(input *CreateCampaignInput) (req *re // API operation CreateCampaign for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - ResourceNotFoundException +// Could not find the specified resource. // -// * LimitExceededException -// The limit on the number of requests per second has been exceeded. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * ResourceInUseException -// The specified resource is in use. +// - LimitExceededException +// The limit on the number of requests per second has been exceeded. // -// * TooManyTagsException -// You have exceeded the maximum number of tags you can apply to this resource. +// - ResourceInUseException +// The specified resource is in use. +// +// - TooManyTagsException +// You have exceeded the maximum number of tags you can apply to this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateCampaign func (c *Personalize) CreateCampaign(input *CreateCampaignInput) (*CreateCampaignOutput, error) { @@ -360,14 +360,13 @@ const opCreateDataset = "CreateDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatasetRequest method. +// req, resp := client.CreateDatasetRequest(params) // -// // Example sending a request using the CreateDatasetRequest method. -// req, resp := client.CreateDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDataset func (c *Personalize) CreateDatasetRequest(input *CreateDatasetInput) (req *request.Request, output *CreateDatasetOutput) { @@ -394,11 +393,11 @@ func (c *Personalize) CreateDatasetRequest(input *CreateDatasetInput) (req *requ // // There are three types of datasets: // -// * Interactions +// - Interactions // -// * Items +// - Items // -// * Users +// - Users // // Each dataset type has an associated schema with required field types. Only // the Interactions dataset is required in order to train a model (also referred @@ -406,21 +405,21 @@ func (c *Personalize) CreateDatasetRequest(input *CreateDatasetInput) (req *requ // // A dataset can be in one of the following states: // -// * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED +// - CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED // -// * DELETE PENDING > DELETE IN_PROGRESS +// - DELETE PENDING > DELETE IN_PROGRESS // // To get the status of the dataset, call DescribeDataset (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeDataset.html). // // Related APIs // -// * CreateDatasetGroup (https://docs.aws.amazon.com/personalize/latest/dg/API_CreateDatasetGroup.html) +// - CreateDatasetGroup (https://docs.aws.amazon.com/personalize/latest/dg/API_CreateDatasetGroup.html) // -// * ListDatasets (https://docs.aws.amazon.com/personalize/latest/dg/API_ListDatasets.html) +// - ListDatasets (https://docs.aws.amazon.com/personalize/latest/dg/API_ListDatasets.html) // -// * DescribeDataset (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeDataset.html) +// - DescribeDataset (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeDataset.html) // -// * DeleteDataset (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteDataset.html) +// - DeleteDataset (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteDataset.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -430,23 +429,24 @@ func (c *Personalize) CreateDatasetRequest(input *CreateDatasetInput) (req *requ // API operation CreateDataset for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - ResourceNotFoundException +// Could not find the specified resource. // -// * LimitExceededException -// The limit on the number of requests per second has been exceeded. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * ResourceInUseException -// The specified resource is in use. +// - LimitExceededException +// The limit on the number of requests per second has been exceeded. // -// * TooManyTagsException -// You have exceeded the maximum number of tags you can apply to this resource. +// - ResourceInUseException +// The specified resource is in use. +// +// - TooManyTagsException +// You have exceeded the maximum number of tags you can apply to this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDataset func (c *Personalize) CreateDataset(input *CreateDatasetInput) (*CreateDatasetOutput, error) { @@ -486,14 +486,13 @@ const opCreateDatasetExportJob = "CreateDatasetExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatasetExportJobRequest method. +// req, resp := client.CreateDatasetExportJobRequest(params) // -// // Example sending a request using the CreateDatasetExportJobRequest method. -// req, resp := client.CreateDatasetExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetExportJob func (c *Personalize) CreateDatasetExportJobRequest(input *CreateDatasetExportJobInput) (req *request.Request, output *CreateDatasetExportJobOutput) { @@ -520,11 +519,11 @@ func (c *Personalize) CreateDatasetExportJobRequest(input *CreateDatasetExportJo // for your Amazon S3 bucket. For information, see Exporting a dataset (https://docs.aws.amazon.com/personalize/latest/dg/export-data.html) // in the Amazon Personalize developer guide. // -// Status +// # Status // // A dataset export job can be in one of the following states: // -// * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED +// - CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED // // To get the status of the export job, call DescribeDatasetExportJob (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeDatasetExportJob.html), // and specify the Amazon Resource Name (ARN) of the dataset export job. The @@ -540,23 +539,24 @@ func (c *Personalize) CreateDatasetExportJobRequest(input *CreateDatasetExportJo // API operation CreateDatasetExportJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - ResourceNotFoundException +// Could not find the specified resource. // -// * LimitExceededException -// The limit on the number of requests per second has been exceeded. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * ResourceInUseException -// The specified resource is in use. +// - LimitExceededException +// The limit on the number of requests per second has been exceeded. // -// * TooManyTagsException -// You have exceeded the maximum number of tags you can apply to this resource. +// - ResourceInUseException +// The specified resource is in use. +// +// - TooManyTagsException +// You have exceeded the maximum number of tags you can apply to this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetExportJob func (c *Personalize) CreateDatasetExportJob(input *CreateDatasetExportJobInput) (*CreateDatasetExportJobOutput, error) { @@ -596,14 +596,13 @@ const opCreateDatasetGroup = "CreateDatasetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatasetGroupRequest method. +// req, resp := client.CreateDatasetGroupRequest(params) // -// // Example sending a request using the CreateDatasetGroupRequest method. -// req, resp := client.CreateDatasetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetGroup func (c *Personalize) CreateDatasetGroupRequest(input *CreateDatasetGroupInput) (req *request.Request, output *CreateDatasetGroupOutput) { @@ -628,11 +627,11 @@ func (c *Personalize) CreateDatasetGroupRequest(input *CreateDatasetGroupInput) // Personalize resources. A dataset group can contain at most three datasets, // one for each type of dataset: // -// * Interactions +// - Interactions // -// * Items +// - Items // -// * Users +// - Users // // A dataset group can be a Domain dataset group, where you specify a domain // and use pre-configured resources like recommenders, or a Custom dataset group, @@ -643,9 +642,9 @@ func (c *Personalize) CreateDatasetGroupRequest(input *CreateDatasetGroupInput) // // A dataset group can be in one of the following states: // -// * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED +// - CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED // -// * DELETE PENDING +// - DELETE PENDING // // To get the status of the dataset group, call DescribeDatasetGroup (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeDatasetGroup.html). // If the status shows as CREATE FAILED, the response includes a failureReason @@ -660,19 +659,19 @@ func (c *Personalize) CreateDatasetGroupRequest(input *CreateDatasetGroupInput) // // APIs that require a dataset group ARN in the request // -// * CreateDataset (https://docs.aws.amazon.com/personalize/latest/dg/API_CreateDataset.html) +// - CreateDataset (https://docs.aws.amazon.com/personalize/latest/dg/API_CreateDataset.html) // -// * CreateEventTracker (https://docs.aws.amazon.com/personalize/latest/dg/API_CreateEventTracker.html) +// - CreateEventTracker (https://docs.aws.amazon.com/personalize/latest/dg/API_CreateEventTracker.html) // -// * CreateSolution (https://docs.aws.amazon.com/personalize/latest/dg/API_CreateSolution.html) +// - CreateSolution (https://docs.aws.amazon.com/personalize/latest/dg/API_CreateSolution.html) // // Related APIs // -// * ListDatasetGroups (https://docs.aws.amazon.com/personalize/latest/dg/API_ListDatasetGroups.html) +// - ListDatasetGroups (https://docs.aws.amazon.com/personalize/latest/dg/API_ListDatasetGroups.html) // -// * DescribeDatasetGroup (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeDatasetGroup.html) +// - DescribeDatasetGroup (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeDatasetGroup.html) // -// * DeleteDatasetGroup (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteDatasetGroup.html) +// - DeleteDatasetGroup (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteDatasetGroup.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -682,17 +681,18 @@ func (c *Personalize) CreateDatasetGroupRequest(input *CreateDatasetGroupInput) // API operation CreateDatasetGroup for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * LimitExceededException -// The limit on the number of requests per second has been exceeded. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * TooManyTagsException -// You have exceeded the maximum number of tags you can apply to this resource. +// - LimitExceededException +// The limit on the number of requests per second has been exceeded. +// +// - TooManyTagsException +// You have exceeded the maximum number of tags you can apply to this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetGroup func (c *Personalize) CreateDatasetGroup(input *CreateDatasetGroupInput) (*CreateDatasetGroupOutput, error) { @@ -732,14 +732,13 @@ const opCreateDatasetImportJob = "CreateDatasetImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatasetImportJobRequest method. +// req, resp := client.CreateDatasetImportJobRequest(params) // -// // Example sending a request using the CreateDatasetImportJobRequest method. -// req, resp := client.CreateDatasetImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetImportJob func (c *Personalize) CreateDatasetImportJobRequest(input *CreateDatasetImportJobInput) (req *request.Request, output *CreateDatasetImportJobOutput) { @@ -771,11 +770,11 @@ func (c *Personalize) CreateDatasetImportJobRequest(input *CreateDatasetImportJo // The dataset import job replaces any existing data in the dataset that you // imported in bulk. // -// Status +// # Status // // A dataset import job can be in one of the following states: // -// * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED +// - CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED // // To get the status of the import job, call DescribeDatasetImportJob (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeDatasetImportJob.html), // providing the Amazon Resource Name (ARN) of the dataset import job. The dataset @@ -788,9 +787,9 @@ func (c *Personalize) CreateDatasetImportJobRequest(input *CreateDatasetImportJo // // Related APIs // -// * ListDatasetImportJobs (https://docs.aws.amazon.com/personalize/latest/dg/API_ListDatasetImportJobs.html) +// - ListDatasetImportJobs (https://docs.aws.amazon.com/personalize/latest/dg/API_ListDatasetImportJobs.html) // -// * DescribeDatasetImportJob (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeDatasetImportJob.html) +// - DescribeDatasetImportJob (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeDatasetImportJob.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -800,23 +799,24 @@ func (c *Personalize) CreateDatasetImportJobRequest(input *CreateDatasetImportJo // API operation CreateDatasetImportJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - ResourceNotFoundException +// Could not find the specified resource. // -// * LimitExceededException -// The limit on the number of requests per second has been exceeded. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * ResourceInUseException -// The specified resource is in use. +// - LimitExceededException +// The limit on the number of requests per second has been exceeded. // -// * TooManyTagsException -// You have exceeded the maximum number of tags you can apply to this resource. +// - ResourceInUseException +// The specified resource is in use. +// +// - TooManyTagsException +// You have exceeded the maximum number of tags you can apply to this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetImportJob func (c *Personalize) CreateDatasetImportJob(input *CreateDatasetImportJobInput) (*CreateDatasetImportJobOutput, error) { @@ -856,14 +856,13 @@ const opCreateEventTracker = "CreateEventTracker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEventTrackerRequest method. +// req, resp := client.CreateEventTrackerRequest(params) // -// // Example sending a request using the CreateEventTrackerRequest method. -// req, resp := client.CreateEventTrackerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateEventTracker func (c *Personalize) CreateEventTrackerRequest(input *CreateEventTrackerInput) (req *request.Request, output *CreateEventTrackerOutput) { @@ -899,9 +898,9 @@ func (c *Personalize) CreateEventTrackerRequest(input *CreateEventTrackerInput) // // The event tracker can be in one of the following states: // -// * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED +// - CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED // -// * DELETE PENDING > DELETE IN_PROGRESS +// - DELETE PENDING > DELETE IN_PROGRESS // // To get the status of the event tracker, call DescribeEventTracker (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeEventTracker.html). // @@ -909,11 +908,11 @@ func (c *Personalize) CreateEventTrackerRequest(input *CreateEventTrackerInput) // // Related APIs // -// * ListEventTrackers (https://docs.aws.amazon.com/personalize/latest/dg/API_ListEventTrackers.html) +// - ListEventTrackers (https://docs.aws.amazon.com/personalize/latest/dg/API_ListEventTrackers.html) // -// * DescribeEventTracker (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeEventTracker.html) +// - DescribeEventTracker (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeEventTracker.html) // -// * DeleteEventTracker (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteEventTracker.html) +// - DeleteEventTracker (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteEventTracker.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -923,23 +922,24 @@ func (c *Personalize) CreateEventTrackerRequest(input *CreateEventTrackerInput) // API operation CreateEventTracker for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * LimitExceededException -// The limit on the number of requests per second has been exceeded. +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - LimitExceededException +// The limit on the number of requests per second has been exceeded. // -// * TooManyTagsException -// You have exceeded the maximum number of tags you can apply to this resource. +// - ResourceInUseException +// The specified resource is in use. +// +// - TooManyTagsException +// You have exceeded the maximum number of tags you can apply to this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateEventTracker func (c *Personalize) CreateEventTracker(input *CreateEventTrackerInput) (*CreateEventTrackerOutput, error) { @@ -979,14 +979,13 @@ const opCreateFilter = "CreateFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFilterRequest method. +// req, resp := client.CreateFilterRequest(params) // -// // Example sending a request using the CreateFilterRequest method. -// req, resp := client.CreateFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateFilter func (c *Personalize) CreateFilterRequest(input *CreateFilterInput) (req *request.Request, output *CreateFilterOutput) { @@ -1018,20 +1017,21 @@ func (c *Personalize) CreateFilterRequest(input *CreateFilterInput) (req *reques // API operation CreateFilter for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * LimitExceededException -// The limit on the number of requests per second has been exceeded. +// - ResourceNotFoundException +// Could not find the specified resource. // -// * TooManyTagsException -// You have exceeded the maximum number of tags you can apply to this resource. +// - LimitExceededException +// The limit on the number of requests per second has been exceeded. +// +// - TooManyTagsException +// You have exceeded the maximum number of tags you can apply to this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateFilter func (c *Personalize) CreateFilter(input *CreateFilterInput) (*CreateFilterOutput, error) { @@ -1071,14 +1071,13 @@ const opCreateRecommender = "CreateRecommender" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRecommenderRequest method. +// req, resp := client.CreateRecommenderRequest(params) // -// // Example sending a request using the CreateRecommenderRequest method. -// req, resp := client.CreateRecommenderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateRecommender func (c *Personalize) CreateRecommenderRequest(input *CreateRecommenderInput) (req *request.Request, output *CreateRecommenderOutput) { @@ -1105,7 +1104,7 @@ func (c *Personalize) CreateRecommenderRequest(input *CreateRecommenderInput) (r // (https://docs.aws.amazon.com/personalize/latest/dg/API_RS_GetRecommendations.html) // request. // -// Minimum recommendation requests per second +// # Minimum recommendation requests per second // // When you create a recommender, you can configure the recommender's minimum // recommendation requests per second. The minimum recommendation requests per @@ -1128,16 +1127,16 @@ func (c *Personalize) CreateRecommenderRequest(input *CreateRecommenderInput) (r // track your usage using Amazon CloudWatch metrics, and then increase the minRecommendationRequestsPerSecond // as necessary. // -// Status +// # Status // // A recommender can be in one of the following states: // -// * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED +// - CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED // -// * STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS -// > ACTIVE +// - STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS +// > ACTIVE // -// * DELETE PENDING > DELETE IN_PROGRESS +// - DELETE PENDING > DELETE IN_PROGRESS // // To get the recommender status, call DescribeRecommender (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeRecommender.html). // @@ -1146,13 +1145,13 @@ func (c *Personalize) CreateRecommenderRequest(input *CreateRecommenderInput) (r // // Related APIs // -// * ListRecommenders (https://docs.aws.amazon.com/personalize/latest/dg/API_ListRecommenders.html) +// - ListRecommenders (https://docs.aws.amazon.com/personalize/latest/dg/API_ListRecommenders.html) // -// * DescribeRecommender (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeRecommender.html) +// - DescribeRecommender (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeRecommender.html) // -// * UpdateRecommender (https://docs.aws.amazon.com/personalize/latest/dg/API_UpdateRecommender.html) +// - UpdateRecommender (https://docs.aws.amazon.com/personalize/latest/dg/API_UpdateRecommender.html) // -// * DeleteRecommender (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteRecommender.html) +// - DeleteRecommender (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteRecommender.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1162,23 +1161,24 @@ func (c *Personalize) CreateRecommenderRequest(input *CreateRecommenderInput) (r // API operation CreateRecommender for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * LimitExceededException -// The limit on the number of requests per second has been exceeded. +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - LimitExceededException +// The limit on the number of requests per second has been exceeded. // -// * TooManyTagsException -// You have exceeded the maximum number of tags you can apply to this resource. +// - ResourceInUseException +// The specified resource is in use. +// +// - TooManyTagsException +// You have exceeded the maximum number of tags you can apply to this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateRecommender func (c *Personalize) CreateRecommender(input *CreateRecommenderInput) (*CreateRecommenderOutput, error) { @@ -1218,14 +1218,13 @@ const opCreateSchema = "CreateSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSchemaRequest method. +// req, resp := client.CreateSchemaRequest(params) // -// // Example sending a request using the CreateSchemaRequest method. -// req, resp := client.CreateSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSchema func (c *Personalize) CreateSchemaRequest(input *CreateSchemaInput) (req *request.Request, output *CreateSchemaOutput) { @@ -1257,11 +1256,11 @@ func (c *Personalize) CreateSchemaRequest(input *CreateSchemaInput) (req *reques // // Related APIs // -// * ListSchemas (https://docs.aws.amazon.com/personalize/latest/dg/API_ListSchemas.html) +// - ListSchemas (https://docs.aws.amazon.com/personalize/latest/dg/API_ListSchemas.html) // -// * DescribeSchema (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSchema.html) +// - DescribeSchema (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSchema.html) // -// * DeleteSchema (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteSchema.html) +// - DeleteSchema (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteSchema.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1271,14 +1270,15 @@ func (c *Personalize) CreateSchemaRequest(input *CreateSchemaInput) (req *reques // API operation CreateSchema for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * LimitExceededException -// The limit on the number of requests per second has been exceeded. +// - ResourceAlreadyExistsException +// The specified resource already exists. +// +// - LimitExceededException +// The limit on the number of requests per second has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSchema func (c *Personalize) CreateSchema(input *CreateSchemaInput) (*CreateSchemaOutput, error) { @@ -1318,14 +1318,13 @@ const opCreateSolution = "CreateSolution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSolutionRequest method. +// req, resp := client.CreateSolutionRequest(params) // -// // Example sending a request using the CreateSolutionRequest method. -// req, resp := client.CreateSolutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSolution func (c *Personalize) CreateSolutionRequest(input *CreateSolutionInput) (req *request.Request, output *CreateSolutionOutput) { @@ -1371,30 +1370,30 @@ func (c *Personalize) CreateSolutionRequest(input *CreateSolutionInput) (req *re // Amazon Personalize doesn't support configuring the hpoObjective for solution // hyperparameter optimization at this time. // -// Status +// # Status // // A solution can be in one of the following states: // -// * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED +// - CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED // -// * DELETE PENDING > DELETE IN_PROGRESS +// - DELETE PENDING > DELETE IN_PROGRESS // // To get the status of the solution, call DescribeSolution (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolution.html). // Wait until the status shows as ACTIVE before calling CreateSolutionVersion. // // Related APIs // -// * ListSolutions (https://docs.aws.amazon.com/personalize/latest/dg/API_ListSolutions.html) +// - ListSolutions (https://docs.aws.amazon.com/personalize/latest/dg/API_ListSolutions.html) // -// * CreateSolutionVersion (https://docs.aws.amazon.com/personalize/latest/dg/API_CreateSolutionVersion.html) +// - CreateSolutionVersion (https://docs.aws.amazon.com/personalize/latest/dg/API_CreateSolutionVersion.html) // -// * DescribeSolution (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolution.html) +// - DescribeSolution (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolution.html) // -// * DeleteSolution (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteSolution.html) +// - DeleteSolution (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteSolution.html) // -// * ListSolutionVersions (https://docs.aws.amazon.com/personalize/latest/dg/API_ListSolutionVersions.html) +// - ListSolutionVersions (https://docs.aws.amazon.com/personalize/latest/dg/API_ListSolutionVersions.html) // -// * DescribeSolutionVersion (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolutionVersion.html) +// - DescribeSolutionVersion (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolutionVersion.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1404,23 +1403,24 @@ func (c *Personalize) CreateSolutionRequest(input *CreateSolutionInput) (req *re // API operation CreateSolution for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * LimitExceededException -// The limit on the number of requests per second has been exceeded. +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - LimitExceededException +// The limit on the number of requests per second has been exceeded. // -// * TooManyTagsException -// You have exceeded the maximum number of tags you can apply to this resource. +// - ResourceInUseException +// The specified resource is in use. +// +// - TooManyTagsException +// You have exceeded the maximum number of tags you can apply to this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSolution func (c *Personalize) CreateSolution(input *CreateSolutionInput) (*CreateSolutionOutput, error) { @@ -1460,14 +1460,13 @@ const opCreateSolutionVersion = "CreateSolutionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSolutionVersionRequest method. +// req, resp := client.CreateSolutionVersionRequest(params) // -// // Example sending a request using the CreateSolutionVersionRequest method. -// req, resp := client.CreateSolutionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSolutionVersion func (c *Personalize) CreateSolutionVersionRequest(input *CreateSolutionVersionInput) (req *request.Request, output *CreateSolutionVersionOutput) { @@ -1493,21 +1492,21 @@ func (c *Personalize) CreateSolutionVersionRequest(input *CreateSolutionVersionI // operation and must be in the ACTIVE state before calling CreateSolutionVersion. // A new version of the solution is created every time you call this operation. // -// Status +// # Status // // A solution version can be in one of the following states: // -// * CREATE PENDING +// - CREATE PENDING // -// * CREATE IN_PROGRESS +// - CREATE IN_PROGRESS // -// * ACTIVE +// - ACTIVE // -// * CREATE FAILED +// - CREATE FAILED // -// * CREATE STOPPING +// - CREATE STOPPING // -// * CREATE STOPPED +// - CREATE STOPPED // // To get the status of the version, call DescribeSolutionVersion (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolutionVersion.html). // Wait until the status shows as ACTIVE before calling CreateCampaign. @@ -1517,17 +1516,17 @@ func (c *Personalize) CreateSolutionVersionRequest(input *CreateSolutionVersionI // // Related APIs // -// * ListSolutionVersions (https://docs.aws.amazon.com/personalize/latest/dg/API_ListSolutionVersions.html) +// - ListSolutionVersions (https://docs.aws.amazon.com/personalize/latest/dg/API_ListSolutionVersions.html) // -// * DescribeSolutionVersion (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolutionVersion.html) +// - DescribeSolutionVersion (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolutionVersion.html) // -// * ListSolutions (https://docs.aws.amazon.com/personalize/latest/dg/API_ListSolutions.html) +// - ListSolutions (https://docs.aws.amazon.com/personalize/latest/dg/API_ListSolutions.html) // -// * CreateSolution (https://docs.aws.amazon.com/personalize/latest/dg/API_CreateSolution.html) +// - CreateSolution (https://docs.aws.amazon.com/personalize/latest/dg/API_CreateSolution.html) // -// * DescribeSolution (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolution.html) +// - DescribeSolution (https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolution.html) // -// * DeleteSolution (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteSolution.html) +// - DeleteSolution (https://docs.aws.amazon.com/personalize/latest/dg/API_DeleteSolution.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1537,20 +1536,21 @@ func (c *Personalize) CreateSolutionVersionRequest(input *CreateSolutionVersionI // API operation CreateSolutionVersion for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * LimitExceededException -// The limit on the number of requests per second has been exceeded. +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - LimitExceededException +// The limit on the number of requests per second has been exceeded. // -// * TooManyTagsException -// You have exceeded the maximum number of tags you can apply to this resource. +// - ResourceInUseException +// The specified resource is in use. +// +// - TooManyTagsException +// You have exceeded the maximum number of tags you can apply to this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateSolutionVersion func (c *Personalize) CreateSolutionVersion(input *CreateSolutionVersionInput) (*CreateSolutionVersionOutput, error) { @@ -1590,14 +1590,13 @@ const opDeleteCampaign = "DeleteCampaign" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCampaignRequest method. +// req, resp := client.DeleteCampaignRequest(params) // -// // Example sending a request using the DeleteCampaignRequest method. -// req, resp := client.DeleteCampaignRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteCampaign func (c *Personalize) DeleteCampaignRequest(input *DeleteCampaignInput) (req *request.Request, output *DeleteCampaignOutput) { @@ -1632,14 +1631,15 @@ func (c *Personalize) DeleteCampaignRequest(input *DeleteCampaignInput) (req *re // API operation DeleteCampaign for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// Could not find the specified resource. +// +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteCampaign func (c *Personalize) DeleteCampaign(input *DeleteCampaignInput) (*DeleteCampaignOutput, error) { @@ -1679,14 +1679,13 @@ const opDeleteDataset = "DeleteDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatasetRequest method. +// req, resp := client.DeleteDatasetRequest(params) // -// // Example sending a request using the DeleteDatasetRequest method. -// req, resp := client.DeleteDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteDataset func (c *Personalize) DeleteDatasetRequest(input *DeleteDatasetInput) (req *request.Request, output *DeleteDatasetOutput) { @@ -1720,14 +1719,15 @@ func (c *Personalize) DeleteDatasetRequest(input *DeleteDatasetInput) (req *requ // API operation DeleteDataset for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// Could not find the specified resource. +// +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteDataset func (c *Personalize) DeleteDataset(input *DeleteDatasetInput) (*DeleteDatasetOutput, error) { @@ -1767,14 +1767,13 @@ const opDeleteDatasetGroup = "DeleteDatasetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatasetGroupRequest method. +// req, resp := client.DeleteDatasetGroupRequest(params) // -// // Example sending a request using the DeleteDatasetGroupRequest method. -// req, resp := client.DeleteDatasetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteDatasetGroup func (c *Personalize) DeleteDatasetGroupRequest(input *DeleteDatasetGroupInput) (req *request.Request, output *DeleteDatasetGroupOutput) { @@ -1799,11 +1798,11 @@ func (c *Personalize) DeleteDatasetGroupRequest(input *DeleteDatasetGroupInput) // Deletes a dataset group. Before you delete a dataset group, you must delete // the following: // -// * All associated event trackers. +// - All associated event trackers. // -// * All associated solutions. +// - All associated solutions. // -// * All datasets in the dataset group. +// - All datasets in the dataset group. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1813,14 +1812,15 @@ func (c *Personalize) DeleteDatasetGroupRequest(input *DeleteDatasetGroupInput) // API operation DeleteDatasetGroup for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// Could not find the specified resource. +// +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteDatasetGroup func (c *Personalize) DeleteDatasetGroup(input *DeleteDatasetGroupInput) (*DeleteDatasetGroupOutput, error) { @@ -1860,14 +1860,13 @@ const opDeleteEventTracker = "DeleteEventTracker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventTrackerRequest method. +// req, resp := client.DeleteEventTrackerRequest(params) // -// // Example sending a request using the DeleteEventTrackerRequest method. -// req, resp := client.DeleteEventTrackerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteEventTracker func (c *Personalize) DeleteEventTrackerRequest(input *DeleteEventTrackerInput) (req *request.Request, output *DeleteEventTrackerOutput) { @@ -1901,14 +1900,15 @@ func (c *Personalize) DeleteEventTrackerRequest(input *DeleteEventTrackerInput) // API operation DeleteEventTracker for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// Could not find the specified resource. +// +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteEventTracker func (c *Personalize) DeleteEventTracker(input *DeleteEventTrackerInput) (*DeleteEventTrackerOutput, error) { @@ -1948,14 +1948,13 @@ const opDeleteFilter = "DeleteFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFilterRequest method. +// req, resp := client.DeleteFilterRequest(params) // -// // Example sending a request using the DeleteFilterRequest method. -// req, resp := client.DeleteFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteFilter func (c *Personalize) DeleteFilterRequest(input *DeleteFilterInput) (req *request.Request, output *DeleteFilterOutput) { @@ -1987,14 +1986,15 @@ func (c *Personalize) DeleteFilterRequest(input *DeleteFilterInput) (req *reques // API operation DeleteFilter for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteFilter func (c *Personalize) DeleteFilter(input *DeleteFilterInput) (*DeleteFilterOutput, error) { @@ -2034,14 +2034,13 @@ const opDeleteRecommender = "DeleteRecommender" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRecommenderRequest method. +// req, resp := client.DeleteRecommenderRequest(params) // -// // Example sending a request using the DeleteRecommenderRequest method. -// req, resp := client.DeleteRecommenderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteRecommender func (c *Personalize) DeleteRecommenderRequest(input *DeleteRecommenderInput) (req *request.Request, output *DeleteRecommenderOutput) { @@ -2075,14 +2074,15 @@ func (c *Personalize) DeleteRecommenderRequest(input *DeleteRecommenderInput) (r // API operation DeleteRecommender for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteRecommender func (c *Personalize) DeleteRecommender(input *DeleteRecommenderInput) (*DeleteRecommenderOutput, error) { @@ -2122,14 +2122,13 @@ const opDeleteSchema = "DeleteSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSchemaRequest method. +// req, resp := client.DeleteSchemaRequest(params) // -// // Example sending a request using the DeleteSchemaRequest method. -// req, resp := client.DeleteSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteSchema func (c *Personalize) DeleteSchemaRequest(input *DeleteSchemaInput) (req *request.Request, output *DeleteSchemaOutput) { @@ -2163,14 +2162,15 @@ func (c *Personalize) DeleteSchemaRequest(input *DeleteSchemaInput) (req *reques // API operation DeleteSchema for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteSchema func (c *Personalize) DeleteSchema(input *DeleteSchemaInput) (*DeleteSchemaOutput, error) { @@ -2210,14 +2210,13 @@ const opDeleteSolution = "DeleteSolution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSolutionRequest method. +// req, resp := client.DeleteSolutionRequest(params) // -// // Example sending a request using the DeleteSolutionRequest method. -// req, resp := client.DeleteSolutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteSolution func (c *Personalize) DeleteSolutionRequest(input *DeleteSolutionInput) (req *request.Request, output *DeleteSolutionOutput) { @@ -2254,14 +2253,15 @@ func (c *Personalize) DeleteSolutionRequest(input *DeleteSolutionInput) (req *re // API operation DeleteSolution for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteSolution func (c *Personalize) DeleteSolution(input *DeleteSolutionInput) (*DeleteSolutionOutput, error) { @@ -2301,14 +2301,13 @@ const opDescribeAlgorithm = "DescribeAlgorithm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAlgorithmRequest method. +// req, resp := client.DescribeAlgorithmRequest(params) // -// // Example sending a request using the DescribeAlgorithmRequest method. -// req, resp := client.DescribeAlgorithmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeAlgorithm func (c *Personalize) DescribeAlgorithmRequest(input *DescribeAlgorithmInput) (req *request.Request, output *DescribeAlgorithmOutput) { @@ -2339,11 +2338,12 @@ func (c *Personalize) DescribeAlgorithmRequest(input *DescribeAlgorithmInput) (r // API operation DescribeAlgorithm for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeAlgorithm func (c *Personalize) DescribeAlgorithm(input *DescribeAlgorithmInput) (*DescribeAlgorithmOutput, error) { @@ -2383,14 +2383,13 @@ const opDescribeBatchInferenceJob = "DescribeBatchInferenceJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBatchInferenceJobRequest method. +// req, resp := client.DescribeBatchInferenceJobRequest(params) // -// // Example sending a request using the DescribeBatchInferenceJobRequest method. -// req, resp := client.DescribeBatchInferenceJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeBatchInferenceJob func (c *Personalize) DescribeBatchInferenceJobRequest(input *DescribeBatchInferenceJobInput) (req *request.Request, output *DescribeBatchInferenceJobOutput) { @@ -2423,11 +2422,12 @@ func (c *Personalize) DescribeBatchInferenceJobRequest(input *DescribeBatchInfer // API operation DescribeBatchInferenceJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeBatchInferenceJob func (c *Personalize) DescribeBatchInferenceJob(input *DescribeBatchInferenceJobInput) (*DescribeBatchInferenceJobOutput, error) { @@ -2467,14 +2467,13 @@ const opDescribeBatchSegmentJob = "DescribeBatchSegmentJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBatchSegmentJobRequest method. +// req, resp := client.DescribeBatchSegmentJobRequest(params) // -// // Example sending a request using the DescribeBatchSegmentJobRequest method. -// req, resp := client.DescribeBatchSegmentJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeBatchSegmentJob func (c *Personalize) DescribeBatchSegmentJobRequest(input *DescribeBatchSegmentJobInput) (req *request.Request, output *DescribeBatchSegmentJobOutput) { @@ -2507,11 +2506,12 @@ func (c *Personalize) DescribeBatchSegmentJobRequest(input *DescribeBatchSegment // API operation DescribeBatchSegmentJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeBatchSegmentJob func (c *Personalize) DescribeBatchSegmentJob(input *DescribeBatchSegmentJobInput) (*DescribeBatchSegmentJobOutput, error) { @@ -2551,14 +2551,13 @@ const opDescribeCampaign = "DescribeCampaign" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCampaignRequest method. +// req, resp := client.DescribeCampaignRequest(params) // -// // Example sending a request using the DescribeCampaignRequest method. -// req, resp := client.DescribeCampaignRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeCampaign func (c *Personalize) DescribeCampaignRequest(input *DescribeCampaignInput) (req *request.Request, output *DescribeCampaignOutput) { @@ -2583,9 +2582,9 @@ func (c *Personalize) DescribeCampaignRequest(input *DescribeCampaignInput) (req // // A campaign can be in one of the following states: // -// * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED +// - CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED // -// * DELETE PENDING > DELETE IN_PROGRESS +// - DELETE PENDING > DELETE IN_PROGRESS // // When the status is CREATE FAILED, the response includes the failureReason // key, which describes why. @@ -2600,11 +2599,12 @@ func (c *Personalize) DescribeCampaignRequest(input *DescribeCampaignInput) (req // API operation DescribeCampaign for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeCampaign func (c *Personalize) DescribeCampaign(input *DescribeCampaignInput) (*DescribeCampaignOutput, error) { @@ -2644,14 +2644,13 @@ const opDescribeDataset = "DescribeDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDatasetRequest method. +// req, resp := client.DescribeDatasetRequest(params) // -// // Example sending a request using the DescribeDatasetRequest method. -// req, resp := client.DescribeDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDataset func (c *Personalize) DescribeDatasetRequest(input *DescribeDatasetInput) (req *request.Request, output *DescribeDatasetOutput) { @@ -2683,11 +2682,12 @@ func (c *Personalize) DescribeDatasetRequest(input *DescribeDatasetInput) (req * // API operation DescribeDataset for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDataset func (c *Personalize) DescribeDataset(input *DescribeDatasetInput) (*DescribeDatasetOutput, error) { @@ -2727,14 +2727,13 @@ const opDescribeDatasetExportJob = "DescribeDatasetExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDatasetExportJobRequest method. +// req, resp := client.DescribeDatasetExportJobRequest(params) // -// // Example sending a request using the DescribeDatasetExportJobRequest method. -// req, resp := client.DescribeDatasetExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDatasetExportJob func (c *Personalize) DescribeDatasetExportJobRequest(input *DescribeDatasetExportJobInput) (req *request.Request, output *DescribeDatasetExportJobOutput) { @@ -2766,11 +2765,12 @@ func (c *Personalize) DescribeDatasetExportJobRequest(input *DescribeDatasetExpo // API operation DescribeDatasetExportJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDatasetExportJob func (c *Personalize) DescribeDatasetExportJob(input *DescribeDatasetExportJobInput) (*DescribeDatasetExportJobOutput, error) { @@ -2810,14 +2810,13 @@ const opDescribeDatasetGroup = "DescribeDatasetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDatasetGroupRequest method. +// req, resp := client.DescribeDatasetGroupRequest(params) // -// // Example sending a request using the DescribeDatasetGroupRequest method. -// req, resp := client.DescribeDatasetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDatasetGroup func (c *Personalize) DescribeDatasetGroupRequest(input *DescribeDatasetGroupInput) (req *request.Request, output *DescribeDatasetGroupOutput) { @@ -2849,11 +2848,12 @@ func (c *Personalize) DescribeDatasetGroupRequest(input *DescribeDatasetGroupInp // API operation DescribeDatasetGroup for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDatasetGroup func (c *Personalize) DescribeDatasetGroup(input *DescribeDatasetGroupInput) (*DescribeDatasetGroupOutput, error) { @@ -2893,14 +2893,13 @@ const opDescribeDatasetImportJob = "DescribeDatasetImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDatasetImportJobRequest method. +// req, resp := client.DescribeDatasetImportJobRequest(params) // -// // Example sending a request using the DescribeDatasetImportJobRequest method. -// req, resp := client.DescribeDatasetImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDatasetImportJob func (c *Personalize) DescribeDatasetImportJobRequest(input *DescribeDatasetImportJobInput) (req *request.Request, output *DescribeDatasetImportJobOutput) { @@ -2932,11 +2931,12 @@ func (c *Personalize) DescribeDatasetImportJobRequest(input *DescribeDatasetImpo // API operation DescribeDatasetImportJob for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDatasetImportJob func (c *Personalize) DescribeDatasetImportJob(input *DescribeDatasetImportJobInput) (*DescribeDatasetImportJobOutput, error) { @@ -2976,14 +2976,13 @@ const opDescribeEventTracker = "DescribeEventTracker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventTrackerRequest method. +// req, resp := client.DescribeEventTrackerRequest(params) // -// // Example sending a request using the DescribeEventTrackerRequest method. -// req, resp := client.DescribeEventTrackerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeEventTracker func (c *Personalize) DescribeEventTrackerRequest(input *DescribeEventTrackerInput) (req *request.Request, output *DescribeEventTrackerOutput) { @@ -3016,11 +3015,12 @@ func (c *Personalize) DescribeEventTrackerRequest(input *DescribeEventTrackerInp // API operation DescribeEventTracker for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeEventTracker func (c *Personalize) DescribeEventTracker(input *DescribeEventTrackerInput) (*DescribeEventTrackerOutput, error) { @@ -3060,14 +3060,13 @@ const opDescribeFeatureTransformation = "DescribeFeatureTransformation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFeatureTransformationRequest method. +// req, resp := client.DescribeFeatureTransformationRequest(params) // -// // Example sending a request using the DescribeFeatureTransformationRequest method. -// req, resp := client.DescribeFeatureTransformationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeFeatureTransformation func (c *Personalize) DescribeFeatureTransformationRequest(input *DescribeFeatureTransformationInput) (req *request.Request, output *DescribeFeatureTransformationOutput) { @@ -3098,11 +3097,12 @@ func (c *Personalize) DescribeFeatureTransformationRequest(input *DescribeFeatur // API operation DescribeFeatureTransformation for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeFeatureTransformation func (c *Personalize) DescribeFeatureTransformation(input *DescribeFeatureTransformationInput) (*DescribeFeatureTransformationOutput, error) { @@ -3142,14 +3142,13 @@ const opDescribeFilter = "DescribeFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFilterRequest method. +// req, resp := client.DescribeFilterRequest(params) // -// // Example sending a request using the DescribeFilterRequest method. -// req, resp := client.DescribeFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeFilter func (c *Personalize) DescribeFilterRequest(input *DescribeFilterInput) (req *request.Request, output *DescribeFilterOutput) { @@ -3180,11 +3179,12 @@ func (c *Personalize) DescribeFilterRequest(input *DescribeFilterInput) (req *re // API operation DescribeFilter for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeFilter func (c *Personalize) DescribeFilter(input *DescribeFilterInput) (*DescribeFilterOutput, error) { @@ -3224,14 +3224,13 @@ const opDescribeRecipe = "DescribeRecipe" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRecipeRequest method. +// req, resp := client.DescribeRecipeRequest(params) // -// // Example sending a request using the DescribeRecipeRequest method. -// req, resp := client.DescribeRecipeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeRecipe func (c *Personalize) DescribeRecipeRequest(input *DescribeRecipeInput) (req *request.Request, output *DescribeRecipeOutput) { @@ -3256,12 +3255,12 @@ func (c *Personalize) DescribeRecipeRequest(input *DescribeRecipeInput) (req *re // // A recipe contains three items: // -// * An algorithm that trains a model. +// - An algorithm that trains a model. // -// * Hyperparameters that govern the training. +// - Hyperparameters that govern the training. // -// * Feature transformation information for modifying the input data before -// training. +// - Feature transformation information for modifying the input data before +// training. // // Amazon Personalize provides a set of predefined recipes. You specify a recipe // when you create a solution with the CreateSolution (https://docs.aws.amazon.com/personalize/latest/dg/API_CreateSolution.html) @@ -3278,11 +3277,12 @@ func (c *Personalize) DescribeRecipeRequest(input *DescribeRecipeInput) (req *re // API operation DescribeRecipe for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeRecipe func (c *Personalize) DescribeRecipe(input *DescribeRecipeInput) (*DescribeRecipeOutput, error) { @@ -3322,14 +3322,13 @@ const opDescribeRecommender = "DescribeRecommender" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRecommenderRequest method. +// req, resp := client.DescribeRecommenderRequest(params) // -// // Example sending a request using the DescribeRecommenderRequest method. -// req, resp := client.DescribeRecommenderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeRecommender func (c *Personalize) DescribeRecommenderRequest(input *DescribeRecommenderInput) (req *request.Request, output *DescribeRecommenderOutput) { @@ -3354,12 +3353,12 @@ func (c *Personalize) DescribeRecommenderRequest(input *DescribeRecommenderInput // // A recommender can be in one of the following states: // -// * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED +// - CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED // -// * STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS -// > ACTIVE +// - STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS +// > ACTIVE // -// * DELETE PENDING > DELETE IN_PROGRESS +// - DELETE PENDING > DELETE IN_PROGRESS // // When the status is CREATE FAILED, the response includes the failureReason // key, which describes why. @@ -3376,11 +3375,12 @@ func (c *Personalize) DescribeRecommenderRequest(input *DescribeRecommenderInput // API operation DescribeRecommender for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeRecommender func (c *Personalize) DescribeRecommender(input *DescribeRecommenderInput) (*DescribeRecommenderOutput, error) { @@ -3420,14 +3420,13 @@ const opDescribeSchema = "DescribeSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSchemaRequest method. +// req, resp := client.DescribeSchemaRequest(params) // -// // Example sending a request using the DescribeSchemaRequest method. -// req, resp := client.DescribeSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeSchema func (c *Personalize) DescribeSchemaRequest(input *DescribeSchemaInput) (req *request.Request, output *DescribeSchemaOutput) { @@ -3458,11 +3457,12 @@ func (c *Personalize) DescribeSchemaRequest(input *DescribeSchemaInput) (req *re // API operation DescribeSchema for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeSchema func (c *Personalize) DescribeSchema(input *DescribeSchemaInput) (*DescribeSchemaOutput, error) { @@ -3502,14 +3502,13 @@ const opDescribeSolution = "DescribeSolution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSolutionRequest method. +// req, resp := client.DescribeSolutionRequest(params) // -// // Example sending a request using the DescribeSolutionRequest method. -// req, resp := client.DescribeSolutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeSolution func (c *Personalize) DescribeSolutionRequest(input *DescribeSolutionInput) (req *request.Request, output *DescribeSolutionOutput) { @@ -3541,11 +3540,12 @@ func (c *Personalize) DescribeSolutionRequest(input *DescribeSolutionInput) (req // API operation DescribeSolution for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeSolution func (c *Personalize) DescribeSolution(input *DescribeSolutionInput) (*DescribeSolutionOutput, error) { @@ -3585,14 +3585,13 @@ const opDescribeSolutionVersion = "DescribeSolutionVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSolutionVersionRequest method. +// req, resp := client.DescribeSolutionVersionRequest(params) // -// // Example sending a request using the DescribeSolutionVersionRequest method. -// req, resp := client.DescribeSolutionVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeSolutionVersion func (c *Personalize) DescribeSolutionVersionRequest(input *DescribeSolutionVersionInput) (req *request.Request, output *DescribeSolutionVersionOutput) { @@ -3624,11 +3623,12 @@ func (c *Personalize) DescribeSolutionVersionRequest(input *DescribeSolutionVers // API operation DescribeSolutionVersion for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeSolutionVersion func (c *Personalize) DescribeSolutionVersion(input *DescribeSolutionVersionInput) (*DescribeSolutionVersionOutput, error) { @@ -3668,14 +3668,13 @@ const opGetSolutionMetrics = "GetSolutionMetrics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSolutionMetricsRequest method. +// req, resp := client.GetSolutionMetricsRequest(params) // -// // Example sending a request using the GetSolutionMetricsRequest method. -// req, resp := client.GetSolutionMetricsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/GetSolutionMetrics func (c *Personalize) GetSolutionMetricsRequest(input *GetSolutionMetricsInput) (req *request.Request, output *GetSolutionMetricsOutput) { @@ -3706,14 +3705,15 @@ func (c *Personalize) GetSolutionMetricsRequest(input *GetSolutionMetricsInput) // API operation GetSolutionMetrics for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceNotFoundException +// Could not find the specified resource. +// +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/GetSolutionMetrics func (c *Personalize) GetSolutionMetrics(input *GetSolutionMetricsInput) (*GetSolutionMetricsOutput, error) { @@ -3753,14 +3753,13 @@ const opListBatchInferenceJobs = "ListBatchInferenceJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBatchInferenceJobsRequest method. +// req, resp := client.ListBatchInferenceJobsRequest(params) // -// // Example sending a request using the ListBatchInferenceJobsRequest method. -// req, resp := client.ListBatchInferenceJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListBatchInferenceJobs func (c *Personalize) ListBatchInferenceJobsRequest(input *ListBatchInferenceJobsInput) (req *request.Request, output *ListBatchInferenceJobsOutput) { @@ -3798,11 +3797,12 @@ func (c *Personalize) ListBatchInferenceJobsRequest(input *ListBatchInferenceJob // API operation ListBatchInferenceJobs for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * InvalidNextTokenException -// The token is not valid. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - InvalidNextTokenException +// The token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListBatchInferenceJobs func (c *Personalize) ListBatchInferenceJobs(input *ListBatchInferenceJobsInput) (*ListBatchInferenceJobsOutput, error) { @@ -3834,15 +3834,14 @@ func (c *Personalize) ListBatchInferenceJobsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBatchInferenceJobs operation. -// pageNum := 0 -// err := client.ListBatchInferenceJobsPages(params, -// func(page *personalize.ListBatchInferenceJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBatchInferenceJobs operation. +// pageNum := 0 +// err := client.ListBatchInferenceJobsPages(params, +// func(page *personalize.ListBatchInferenceJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Personalize) ListBatchInferenceJobsPages(input *ListBatchInferenceJobsInput, fn func(*ListBatchInferenceJobsOutput, bool) bool) error { return c.ListBatchInferenceJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3894,14 +3893,13 @@ const opListBatchSegmentJobs = "ListBatchSegmentJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBatchSegmentJobsRequest method. +// req, resp := client.ListBatchSegmentJobsRequest(params) // -// // Example sending a request using the ListBatchSegmentJobsRequest method. -// req, resp := client.ListBatchSegmentJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListBatchSegmentJobs func (c *Personalize) ListBatchSegmentJobsRequest(input *ListBatchSegmentJobsInput) (req *request.Request, output *ListBatchSegmentJobsOutput) { @@ -3939,11 +3937,12 @@ func (c *Personalize) ListBatchSegmentJobsRequest(input *ListBatchSegmentJobsInp // API operation ListBatchSegmentJobs for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * InvalidNextTokenException -// The token is not valid. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - InvalidNextTokenException +// The token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListBatchSegmentJobs func (c *Personalize) ListBatchSegmentJobs(input *ListBatchSegmentJobsInput) (*ListBatchSegmentJobsOutput, error) { @@ -3975,15 +3974,14 @@ func (c *Personalize) ListBatchSegmentJobsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBatchSegmentJobs operation. -// pageNum := 0 -// err := client.ListBatchSegmentJobsPages(params, -// func(page *personalize.ListBatchSegmentJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBatchSegmentJobs operation. +// pageNum := 0 +// err := client.ListBatchSegmentJobsPages(params, +// func(page *personalize.ListBatchSegmentJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Personalize) ListBatchSegmentJobsPages(input *ListBatchSegmentJobsInput, fn func(*ListBatchSegmentJobsOutput, bool) bool) error { return c.ListBatchSegmentJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4035,14 +4033,13 @@ const opListCampaigns = "ListCampaigns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCampaignsRequest method. +// req, resp := client.ListCampaignsRequest(params) // -// // Example sending a request using the ListCampaignsRequest method. -// req, resp := client.ListCampaignsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListCampaigns func (c *Personalize) ListCampaignsRequest(input *ListCampaignsInput) (req *request.Request, output *ListCampaignsOutput) { @@ -4083,11 +4080,12 @@ func (c *Personalize) ListCampaignsRequest(input *ListCampaignsInput) (req *requ // API operation ListCampaigns for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * InvalidNextTokenException -// The token is not valid. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - InvalidNextTokenException +// The token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListCampaigns func (c *Personalize) ListCampaigns(input *ListCampaignsInput) (*ListCampaignsOutput, error) { @@ -4119,15 +4117,14 @@ func (c *Personalize) ListCampaignsWithContext(ctx aws.Context, input *ListCampa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCampaigns operation. -// pageNum := 0 -// err := client.ListCampaignsPages(params, -// func(page *personalize.ListCampaignsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCampaigns operation. +// pageNum := 0 +// err := client.ListCampaignsPages(params, +// func(page *personalize.ListCampaignsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Personalize) ListCampaignsPages(input *ListCampaignsInput, fn func(*ListCampaignsOutput, bool) bool) error { return c.ListCampaignsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4179,14 +4176,13 @@ const opListDatasetExportJobs = "ListDatasetExportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetExportJobsRequest method. +// req, resp := client.ListDatasetExportJobsRequest(params) // -// // Example sending a request using the ListDatasetExportJobsRequest method. -// req, resp := client.ListDatasetExportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasetExportJobs func (c *Personalize) ListDatasetExportJobsRequest(input *ListDatasetExportJobsInput) (req *request.Request, output *ListDatasetExportJobsOutput) { @@ -4228,11 +4224,12 @@ func (c *Personalize) ListDatasetExportJobsRequest(input *ListDatasetExportJobsI // API operation ListDatasetExportJobs for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * InvalidNextTokenException -// The token is not valid. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - InvalidNextTokenException +// The token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasetExportJobs func (c *Personalize) ListDatasetExportJobs(input *ListDatasetExportJobsInput) (*ListDatasetExportJobsOutput, error) { @@ -4264,15 +4261,14 @@ func (c *Personalize) ListDatasetExportJobsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatasetExportJobs operation. -// pageNum := 0 -// err := client.ListDatasetExportJobsPages(params, -// func(page *personalize.ListDatasetExportJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatasetExportJobs operation. +// pageNum := 0 +// err := client.ListDatasetExportJobsPages(params, +// func(page *personalize.ListDatasetExportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Personalize) ListDatasetExportJobsPages(input *ListDatasetExportJobsInput, fn func(*ListDatasetExportJobsOutput, bool) bool) error { return c.ListDatasetExportJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4324,14 +4320,13 @@ const opListDatasetGroups = "ListDatasetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetGroupsRequest method. +// req, resp := client.ListDatasetGroupsRequest(params) // -// // Example sending a request using the ListDatasetGroupsRequest method. -// req, resp := client.ListDatasetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasetGroups func (c *Personalize) ListDatasetGroupsRequest(input *ListDatasetGroupsInput) (req *request.Request, output *ListDatasetGroupsOutput) { @@ -4370,8 +4365,8 @@ func (c *Personalize) ListDatasetGroupsRequest(input *ListDatasetGroupsInput) (r // API operation ListDatasetGroups for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The token is not valid. +// - InvalidNextTokenException +// The token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasetGroups func (c *Personalize) ListDatasetGroups(input *ListDatasetGroupsInput) (*ListDatasetGroupsOutput, error) { @@ -4403,15 +4398,14 @@ func (c *Personalize) ListDatasetGroupsWithContext(ctx aws.Context, input *ListD // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatasetGroups operation. -// pageNum := 0 -// err := client.ListDatasetGroupsPages(params, -// func(page *personalize.ListDatasetGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatasetGroups operation. +// pageNum := 0 +// err := client.ListDatasetGroupsPages(params, +// func(page *personalize.ListDatasetGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Personalize) ListDatasetGroupsPages(input *ListDatasetGroupsInput, fn func(*ListDatasetGroupsOutput, bool) bool) error { return c.ListDatasetGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4463,14 +4457,13 @@ const opListDatasetImportJobs = "ListDatasetImportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetImportJobsRequest method. +// req, resp := client.ListDatasetImportJobsRequest(params) // -// // Example sending a request using the ListDatasetImportJobsRequest method. -// req, resp := client.ListDatasetImportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasetImportJobs func (c *Personalize) ListDatasetImportJobsRequest(input *ListDatasetImportJobsInput) (req *request.Request, output *ListDatasetImportJobsOutput) { @@ -4512,11 +4505,12 @@ func (c *Personalize) ListDatasetImportJobsRequest(input *ListDatasetImportJobsI // API operation ListDatasetImportJobs for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * InvalidNextTokenException -// The token is not valid. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - InvalidNextTokenException +// The token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasetImportJobs func (c *Personalize) ListDatasetImportJobs(input *ListDatasetImportJobsInput) (*ListDatasetImportJobsOutput, error) { @@ -4548,15 +4542,14 @@ func (c *Personalize) ListDatasetImportJobsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatasetImportJobs operation. -// pageNum := 0 -// err := client.ListDatasetImportJobsPages(params, -// func(page *personalize.ListDatasetImportJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatasetImportJobs operation. +// pageNum := 0 +// err := client.ListDatasetImportJobsPages(params, +// func(page *personalize.ListDatasetImportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Personalize) ListDatasetImportJobsPages(input *ListDatasetImportJobsInput, fn func(*ListDatasetImportJobsOutput, bool) bool) error { return c.ListDatasetImportJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4608,14 +4601,13 @@ const opListDatasets = "ListDatasets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetsRequest method. +// req, resp := client.ListDatasetsRequest(params) // -// // Example sending a request using the ListDatasetsRequest method. -// req, resp := client.ListDatasetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasets func (c *Personalize) ListDatasetsRequest(input *ListDatasetsInput) (req *request.Request, output *ListDatasetsOutput) { @@ -4654,11 +4646,12 @@ func (c *Personalize) ListDatasetsRequest(input *ListDatasetsInput) (req *reques // API operation ListDatasets for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * InvalidNextTokenException -// The token is not valid. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - InvalidNextTokenException +// The token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasets func (c *Personalize) ListDatasets(input *ListDatasetsInput) (*ListDatasetsOutput, error) { @@ -4690,15 +4683,14 @@ func (c *Personalize) ListDatasetsWithContext(ctx aws.Context, input *ListDatase // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatasets operation. -// pageNum := 0 -// err := client.ListDatasetsPages(params, -// func(page *personalize.ListDatasetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatasets operation. +// pageNum := 0 +// err := client.ListDatasetsPages(params, +// func(page *personalize.ListDatasetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Personalize) ListDatasetsPages(input *ListDatasetsInput, fn func(*ListDatasetsOutput, bool) bool) error { return c.ListDatasetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4750,14 +4742,13 @@ const opListEventTrackers = "ListEventTrackers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEventTrackersRequest method. +// req, resp := client.ListEventTrackersRequest(params) // -// // Example sending a request using the ListEventTrackersRequest method. -// req, resp := client.ListEventTrackersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListEventTrackers func (c *Personalize) ListEventTrackersRequest(input *ListEventTrackersInput) (req *request.Request, output *ListEventTrackersOutput) { @@ -4797,11 +4788,12 @@ func (c *Personalize) ListEventTrackersRequest(input *ListEventTrackersInput) (r // API operation ListEventTrackers for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * InvalidNextTokenException -// The token is not valid. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - InvalidNextTokenException +// The token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListEventTrackers func (c *Personalize) ListEventTrackers(input *ListEventTrackersInput) (*ListEventTrackersOutput, error) { @@ -4833,15 +4825,14 @@ func (c *Personalize) ListEventTrackersWithContext(ctx aws.Context, input *ListE // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEventTrackers operation. -// pageNum := 0 -// err := client.ListEventTrackersPages(params, -// func(page *personalize.ListEventTrackersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEventTrackers operation. +// pageNum := 0 +// err := client.ListEventTrackersPages(params, +// func(page *personalize.ListEventTrackersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Personalize) ListEventTrackersPages(input *ListEventTrackersInput, fn func(*ListEventTrackersOutput, bool) bool) error { return c.ListEventTrackersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4893,14 +4884,13 @@ const opListFilters = "ListFilters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFiltersRequest method. +// req, resp := client.ListFiltersRequest(params) // -// // Example sending a request using the ListFiltersRequest method. -// req, resp := client.ListFiltersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListFilters func (c *Personalize) ListFiltersRequest(input *ListFiltersInput) (req *request.Request, output *ListFiltersOutput) { @@ -4937,11 +4927,12 @@ func (c *Personalize) ListFiltersRequest(input *ListFiltersInput) (req *request. // API operation ListFilters for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * InvalidNextTokenException -// The token is not valid. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - InvalidNextTokenException +// The token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListFilters func (c *Personalize) ListFilters(input *ListFiltersInput) (*ListFiltersOutput, error) { @@ -4973,15 +4964,14 @@ func (c *Personalize) ListFiltersWithContext(ctx aws.Context, input *ListFilters // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFilters operation. -// pageNum := 0 -// err := client.ListFiltersPages(params, -// func(page *personalize.ListFiltersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFilters operation. +// pageNum := 0 +// err := client.ListFiltersPages(params, +// func(page *personalize.ListFiltersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Personalize) ListFiltersPages(input *ListFiltersInput, fn func(*ListFiltersOutput, bool) bool) error { return c.ListFiltersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5033,14 +5023,13 @@ const opListRecipes = "ListRecipes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRecipesRequest method. +// req, resp := client.ListRecipesRequest(params) // -// // Example sending a request using the ListRecipesRequest method. -// req, resp := client.ListRecipesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListRecipes func (c *Personalize) ListRecipesRequest(input *ListRecipesInput) (req *request.Request, output *ListRecipesOutput) { @@ -5078,11 +5067,12 @@ func (c *Personalize) ListRecipesRequest(input *ListRecipesInput) (req *request. // API operation ListRecipes for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The token is not valid. // -// * InvalidInputException -// Provide a valid value for the field or parameter. +// - InvalidNextTokenException +// The token is not valid. +// +// - InvalidInputException +// Provide a valid value for the field or parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListRecipes func (c *Personalize) ListRecipes(input *ListRecipesInput) (*ListRecipesOutput, error) { @@ -5114,15 +5104,14 @@ func (c *Personalize) ListRecipesWithContext(ctx aws.Context, input *ListRecipes // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRecipes operation. -// pageNum := 0 -// err := client.ListRecipesPages(params, -// func(page *personalize.ListRecipesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRecipes operation. +// pageNum := 0 +// err := client.ListRecipesPages(params, +// func(page *personalize.ListRecipesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Personalize) ListRecipesPages(input *ListRecipesInput, fn func(*ListRecipesOutput, bool) bool) error { return c.ListRecipesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5174,14 +5163,13 @@ const opListRecommenders = "ListRecommenders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRecommendersRequest method. +// req, resp := client.ListRecommendersRequest(params) // -// // Example sending a request using the ListRecommendersRequest method. -// req, resp := client.ListRecommendersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListRecommenders func (c *Personalize) ListRecommendersRequest(input *ListRecommendersInput) (req *request.Request, output *ListRecommendersOutput) { @@ -5222,11 +5210,12 @@ func (c *Personalize) ListRecommendersRequest(input *ListRecommendersInput) (req // API operation ListRecommenders for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * InvalidNextTokenException -// The token is not valid. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - InvalidNextTokenException +// The token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListRecommenders func (c *Personalize) ListRecommenders(input *ListRecommendersInput) (*ListRecommendersOutput, error) { @@ -5258,15 +5247,14 @@ func (c *Personalize) ListRecommendersWithContext(ctx aws.Context, input *ListRe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRecommenders operation. -// pageNum := 0 -// err := client.ListRecommendersPages(params, -// func(page *personalize.ListRecommendersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRecommenders operation. +// pageNum := 0 +// err := client.ListRecommendersPages(params, +// func(page *personalize.ListRecommendersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Personalize) ListRecommendersPages(input *ListRecommendersInput, fn func(*ListRecommendersOutput, bool) bool) error { return c.ListRecommendersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5318,14 +5306,13 @@ const opListSchemas = "ListSchemas" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSchemasRequest method. +// req, resp := client.ListSchemasRequest(params) // -// // Example sending a request using the ListSchemasRequest method. -// req, resp := client.ListSchemasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListSchemas func (c *Personalize) ListSchemasRequest(input *ListSchemasInput) (req *request.Request, output *ListSchemasOutput) { @@ -5364,8 +5351,8 @@ func (c *Personalize) ListSchemasRequest(input *ListSchemasInput) (req *request. // API operation ListSchemas for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The token is not valid. +// - InvalidNextTokenException +// The token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListSchemas func (c *Personalize) ListSchemas(input *ListSchemasInput) (*ListSchemasOutput, error) { @@ -5397,15 +5384,14 @@ func (c *Personalize) ListSchemasWithContext(ctx aws.Context, input *ListSchemas // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSchemas operation. -// pageNum := 0 -// err := client.ListSchemasPages(params, -// func(page *personalize.ListSchemasOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSchemas operation. +// pageNum := 0 +// err := client.ListSchemasPages(params, +// func(page *personalize.ListSchemasOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Personalize) ListSchemasPages(input *ListSchemasInput, fn func(*ListSchemasOutput, bool) bool) error { return c.ListSchemasPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5457,14 +5443,13 @@ const opListSolutionVersions = "ListSolutionVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSolutionVersionsRequest method. +// req, resp := client.ListSolutionVersionsRequest(params) // -// // Example sending a request using the ListSolutionVersionsRequest method. -// req, resp := client.ListSolutionVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListSolutionVersions func (c *Personalize) ListSolutionVersionsRequest(input *ListSolutionVersionsInput) (req *request.Request, output *ListSolutionVersionsOutput) { @@ -5504,14 +5489,15 @@ func (c *Personalize) ListSolutionVersionsRequest(input *ListSolutionVersionsInp // API operation ListSolutionVersions for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // -// * InvalidNextTokenException -// The token is not valid. +// - InvalidNextTokenException +// The token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListSolutionVersions func (c *Personalize) ListSolutionVersions(input *ListSolutionVersionsInput) (*ListSolutionVersionsOutput, error) { @@ -5543,15 +5529,14 @@ func (c *Personalize) ListSolutionVersionsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSolutionVersions operation. -// pageNum := 0 -// err := client.ListSolutionVersionsPages(params, -// func(page *personalize.ListSolutionVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSolutionVersions operation. +// pageNum := 0 +// err := client.ListSolutionVersionsPages(params, +// func(page *personalize.ListSolutionVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Personalize) ListSolutionVersionsPages(input *ListSolutionVersionsInput, fn func(*ListSolutionVersionsOutput, bool) bool) error { return c.ListSolutionVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5603,14 +5588,13 @@ const opListSolutions = "ListSolutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSolutionsRequest method. +// req, resp := client.ListSolutionsRequest(params) // -// // Example sending a request using the ListSolutionsRequest method. -// req, resp := client.ListSolutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListSolutions func (c *Personalize) ListSolutionsRequest(input *ListSolutionsInput) (req *request.Request, output *ListSolutionsOutput) { @@ -5651,11 +5635,12 @@ func (c *Personalize) ListSolutionsRequest(input *ListSolutionsInput) (req *requ // API operation ListSolutions for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * InvalidNextTokenException -// The token is not valid. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - InvalidNextTokenException +// The token is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListSolutions func (c *Personalize) ListSolutions(input *ListSolutionsInput) (*ListSolutionsOutput, error) { @@ -5687,15 +5672,14 @@ func (c *Personalize) ListSolutionsWithContext(ctx aws.Context, input *ListSolut // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSolutions operation. -// pageNum := 0 -// err := client.ListSolutionsPages(params, -// func(page *personalize.ListSolutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSolutions operation. +// pageNum := 0 +// err := client.ListSolutionsPages(params, +// func(page *personalize.ListSolutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Personalize) ListSolutionsPages(input *ListSolutionsInput, fn func(*ListSolutionsOutput, bool) bool) error { return c.ListSolutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5747,14 +5731,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListTagsForResource func (c *Personalize) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -5786,14 +5769,15 @@ func (c *Personalize) ListTagsForResourceRequest(input *ListTagsForResourceInput // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListTagsForResource func (c *Personalize) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -5833,14 +5817,13 @@ const opStartRecommender = "StartRecommender" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartRecommenderRequest method. +// req, resp := client.StartRecommenderRequest(params) // -// // Example sending a request using the StartRecommenderRequest method. -// req, resp := client.StartRecommenderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StartRecommender func (c *Personalize) StartRecommenderRequest(input *StartRecommenderInput) (req *request.Request, output *StartRecommenderOutput) { @@ -5872,14 +5855,15 @@ func (c *Personalize) StartRecommenderRequest(input *StartRecommenderInput) (req // API operation StartRecommender for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StartRecommender func (c *Personalize) StartRecommender(input *StartRecommenderInput) (*StartRecommenderOutput, error) { @@ -5919,14 +5903,13 @@ const opStopRecommender = "StopRecommender" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopRecommenderRequest method. +// req, resp := client.StopRecommenderRequest(params) // -// // Example sending a request using the StopRecommenderRequest method. -// req, resp := client.StopRecommenderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StopRecommender func (c *Personalize) StopRecommenderRequest(input *StopRecommenderInput) (req *request.Request, output *StopRecommenderOutput) { @@ -5958,14 +5941,15 @@ func (c *Personalize) StopRecommenderRequest(input *StopRecommenderInput) (req * // API operation StopRecommender for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StopRecommender func (c *Personalize) StopRecommender(input *StopRecommenderInput) (*StopRecommenderOutput, error) { @@ -6005,14 +5989,13 @@ const opStopSolutionVersionCreation = "StopSolutionVersionCreation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopSolutionVersionCreationRequest method. +// req, resp := client.StopSolutionVersionCreationRequest(params) // -// // Example sending a request using the StopSolutionVersionCreationRequest method. -// req, resp := client.StopSolutionVersionCreationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StopSolutionVersionCreation func (c *Personalize) StopSolutionVersionCreationRequest(input *StopSolutionVersionCreationInput) (req *request.Request, output *StopSolutionVersionCreationOutput) { @@ -6040,9 +6023,9 @@ func (c *Personalize) StopSolutionVersionCreationRequest(input *StopSolutionVers // Depending on the current state of the solution version, the solution version // state changes as follows: // -// * CREATE_PENDING > CREATE_STOPPED or +// - CREATE_PENDING > CREATE_STOPPED or // -// * CREATE_IN_PROGRESS > CREATE_STOPPING > CREATE_STOPPED +// - CREATE_IN_PROGRESS > CREATE_STOPPING > CREATE_STOPPED // // You are billed for all of the training completed up until you stop the solution // version creation. You cannot resume creating a solution version once it has @@ -6056,14 +6039,15 @@ func (c *Personalize) StopSolutionVersionCreationRequest(input *StopSolutionVers // API operation StopSolutionVersionCreation for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StopSolutionVersionCreation func (c *Personalize) StopSolutionVersionCreation(input *StopSolutionVersionCreationInput) (*StopSolutionVersionCreationOutput, error) { @@ -6103,14 +6087,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/TagResource func (c *Personalize) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -6142,20 +6125,21 @@ func (c *Personalize) TagResourceRequest(input *TagResourceInput) (req *request. // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // -// * TooManyTagsException -// You have exceeded the maximum number of tags you can apply to this resource. +// - TooManyTagsException +// You have exceeded the maximum number of tags you can apply to this resource. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // -// * LimitExceededException -// The limit on the number of requests per second has been exceeded. +// - LimitExceededException +// The limit on the number of requests per second has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/TagResource func (c *Personalize) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -6195,14 +6179,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/UntagResource func (c *Personalize) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -6235,18 +6218,19 @@ func (c *Personalize) UntagResourceRequest(input *UntagResourceInput) (req *requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // -// * TooManyTagKeysException -// The request contains more tag keys than can be associated with a resource -// (50 tag keys per resource). +// - TooManyTagKeysException +// The request contains more tag keys than can be associated with a resource +// (50 tag keys per resource). // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/UntagResource func (c *Personalize) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -6286,14 +6270,13 @@ const opUpdateCampaign = "UpdateCampaign" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCampaignRequest method. +// req, resp := client.UpdateCampaignRequest(params) // -// // Example sending a request using the UpdateCampaignRequest method. -// req, resp := client.UpdateCampaignRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/UpdateCampaign func (c *Personalize) UpdateCampaignRequest(input *UpdateCampaignInput) (req *request.Request, output *UpdateCampaignOutput) { @@ -6335,14 +6318,15 @@ func (c *Personalize) UpdateCampaignRequest(input *UpdateCampaignInput) (req *re // API operation UpdateCampaign for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/UpdateCampaign func (c *Personalize) UpdateCampaign(input *UpdateCampaignInput) (*UpdateCampaignOutput, error) { @@ -6382,14 +6366,13 @@ const opUpdateRecommender = "UpdateRecommender" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRecommenderRequest method. +// req, resp := client.UpdateRecommenderRequest(params) // -// // Example sending a request using the UpdateRecommenderRequest method. -// req, resp := client.UpdateRecommenderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/UpdateRecommender func (c *Personalize) UpdateRecommenderRequest(input *UpdateRecommenderInput) (req *request.Request, output *UpdateRecommenderOutput) { @@ -6420,14 +6403,15 @@ func (c *Personalize) UpdateRecommenderRequest(input *UpdateRecommenderInput) (r // API operation UpdateRecommender for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/UpdateRecommender func (c *Personalize) UpdateRecommender(input *UpdateRecommenderInput) (*UpdateRecommenderOutput, error) { @@ -9958,7 +9942,7 @@ func (s *Dataset) SetStatus(v string) *Dataset { // // A dataset export job can be in one of the following states: // -// * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED +// - CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED type DatasetExportJob struct { _ struct{} `type:"structure"` @@ -10438,7 +10422,7 @@ func (s *DatasetGroupSummary) SetStatus(v string) *DatasetGroupSummary { // // A dataset import job can be in one of the following states: // -// * CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED +// - CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED type DatasetImportJob struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/doc.go index 5ed3cd2b582e..8d0f85365128 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/doc.go @@ -11,7 +11,7 @@ // See personalize package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/personalize/ // -// Using the Client +// # Using the Client // // To contact Amazon Personalize with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/personalizeiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/personalizeiface/interface.go index 4f74a75bb98d..682ec68e67c9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/personalizeiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/personalizeiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Personalize. -// func myFunc(svc personalizeiface.PersonalizeAPI) bool { -// // Make svc.CreateBatchInferenceJob request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Personalize. +// func myFunc(svc personalizeiface.PersonalizeAPI) bool { +// // Make svc.CreateBatchInferenceJob request +// } // -// func main() { -// sess := session.New() -// svc := personalize.New(sess) +// func main() { +// sess := session.New() +// svc := personalize.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockPersonalizeClient struct { -// personalizeiface.PersonalizeAPI -// } -// func (m *mockPersonalizeClient) CreateBatchInferenceJob(input *personalize.CreateBatchInferenceJobInput) (*personalize.CreateBatchInferenceJobOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockPersonalizeClient struct { +// personalizeiface.PersonalizeAPI +// } +// func (m *mockPersonalizeClient) CreateBatchInferenceJob(input *personalize.CreateBatchInferenceJobInput) (*personalize.CreateBatchInferenceJobOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockPersonalizeClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockPersonalizeClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/service.go index 57783661d43f..c5a114443cf8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalize/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Personalize client from just a session. -// svc := personalize.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Personalize client with additional configuration -// svc := personalize.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Personalize client from just a session. +// svc := personalize.New(mySession) +// +// // Create a Personalize client with additional configuration +// svc := personalize.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Personalize { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/api.go index c66c9bd78397..050500f814f9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/api.go @@ -29,14 +29,13 @@ const opPutEvents = "PutEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEventsRequest method. +// req, resp := client.PutEventsRequest(params) // -// // Example sending a request using the PutEventsRequest method. -// req, resp := client.PutEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-events-2018-03-22/PutEvents func (c *PersonalizeEvents) PutEventsRequest(input *PutEventsInput) (req *request.Request, output *PutEventsOutput) { @@ -69,8 +68,8 @@ func (c *PersonalizeEvents) PutEventsRequest(input *PutEventsInput) (req *reques // API operation PutEvents for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. +// - InvalidInputException +// Provide a valid value for the field or parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-events-2018-03-22/PutEvents func (c *PersonalizeEvents) PutEvents(input *PutEventsInput) (*PutEventsOutput, error) { @@ -110,14 +109,13 @@ const opPutItems = "PutItems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutItemsRequest method. +// req, resp := client.PutItemsRequest(params) // -// // Example sending a request using the PutItemsRequest method. -// req, resp := client.PutItemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-events-2018-03-22/PutItems func (c *PersonalizeEvents) PutItemsRequest(input *PutItemsInput) (req *request.Request, output *PutItemsOutput) { @@ -150,14 +148,15 @@ func (c *PersonalizeEvents) PutItemsRequest(input *PutItemsInput) (req *request. // API operation PutItems for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-events-2018-03-22/PutItems func (c *PersonalizeEvents) PutItems(input *PutItemsInput) (*PutItemsOutput, error) { @@ -197,14 +196,13 @@ const opPutUsers = "PutUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutUsersRequest method. +// req, resp := client.PutUsersRequest(params) // -// // Example sending a request using the PutUsersRequest method. -// req, resp := client.PutUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-events-2018-03-22/PutUsers func (c *PersonalizeEvents) PutUsersRequest(input *PutUsersInput) (req *request.Request, output *PutUsersOutput) { @@ -237,14 +235,15 @@ func (c *PersonalizeEvents) PutUsersRequest(input *PutUsersInput) (req *request. // API operation PutUsers for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// Could not find the specified resource. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// Could not find the specified resource. // -// * ResourceInUseException -// The specified resource is in use. +// - ResourceInUseException +// The specified resource is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-events-2018-03-22/PutUsers func (c *PersonalizeEvents) PutUsers(input *PutUsersInput) (*PutUsersOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/doc.go index da46f227e4e8..712570c177a1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/doc.go @@ -12,7 +12,7 @@ // See personalizeevents package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/personalizeevents/ // -// Using the Client +// # Using the Client // // To contact Amazon Personalize Events with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/personalizeeventsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/personalizeeventsiface/interface.go index e7b9d2c85f3a..f2acf6786d34 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/personalizeeventsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/personalizeeventsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Personalize Events. -// func myFunc(svc personalizeeventsiface.PersonalizeEventsAPI) bool { -// // Make svc.PutEvents request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Personalize Events. +// func myFunc(svc personalizeeventsiface.PersonalizeEventsAPI) bool { +// // Make svc.PutEvents request +// } // -// func main() { -// sess := session.New() -// svc := personalizeevents.New(sess) +// func main() { +// sess := session.New() +// svc := personalizeevents.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockPersonalizeEventsClient struct { -// personalizeeventsiface.PersonalizeEventsAPI -// } -// func (m *mockPersonalizeEventsClient) PutEvents(input *personalizeevents.PutEventsInput) (*personalizeevents.PutEventsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockPersonalizeEventsClient struct { +// personalizeeventsiface.PersonalizeEventsAPI +// } +// func (m *mockPersonalizeEventsClient) PutEvents(input *personalizeevents.PutEventsInput) (*personalizeevents.PutEventsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockPersonalizeEventsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockPersonalizeEventsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/service.go index 60583cc1f011..69211ccae0eb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeevents/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a PersonalizeEvents client from just a session. -// svc := personalizeevents.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a PersonalizeEvents client with additional configuration -// svc := personalizeevents.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a PersonalizeEvents client from just a session. +// svc := personalizeevents.New(mySession) +// +// // Create a PersonalizeEvents client with additional configuration +// svc := personalizeevents.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *PersonalizeEvents { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/api.go index 1c563897f084..8d88f40ff9c5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/api.go @@ -27,14 +27,13 @@ const opGetPersonalizedRanking = "GetPersonalizedRanking" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPersonalizedRankingRequest method. +// req, resp := client.GetPersonalizedRankingRequest(params) // -// // Example sending a request using the GetPersonalizedRankingRequest method. -// req, resp := client.GetPersonalizedRankingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetPersonalizedRanking func (c *PersonalizeRuntime) GetPersonalizedRankingRequest(input *GetPersonalizedRankingInput) (req *request.Request, output *GetPersonalizedRankingOutput) { @@ -69,11 +68,12 @@ func (c *PersonalizeRuntime) GetPersonalizedRankingRequest(input *GetPersonalize // API operation GetPersonalizedRanking for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetPersonalizedRanking func (c *PersonalizeRuntime) GetPersonalizedRanking(input *GetPersonalizedRankingInput) (*GetPersonalizedRankingOutput, error) { @@ -113,14 +113,13 @@ const opGetRecommendations = "GetRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRecommendationsRequest method. +// req, resp := client.GetRecommendationsRequest(params) // -// // Example sending a request using the GetRecommendationsRequest method. -// req, resp := client.GetRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetRecommendations func (c *PersonalizeRuntime) GetRecommendationsRequest(input *GetRecommendationsInput) (req *request.Request, output *GetRecommendationsOutput) { @@ -145,9 +144,9 @@ func (c *PersonalizeRuntime) GetRecommendationsRequest(input *GetRecommendations // Resource Name (ARN) is required and the required user and item input depends // on the recipe type used to create the solution backing the campaign as follows: // -// * USER_PERSONALIZATION - userId required, itemId not used +// - USER_PERSONALIZATION - userId required, itemId not used // -// * RELATED_ITEMS - itemId required, userId not used +// - RELATED_ITEMS - itemId required, userId not used // // Campaigns that are backed by a solution created using a recipe of type PERSONALIZED_RANKING // use the API. @@ -165,11 +164,12 @@ func (c *PersonalizeRuntime) GetRecommendationsRequest(input *GetRecommendations // API operation GetRecommendations for usage and error information. // // Returned Error Types: -// * InvalidInputException -// Provide a valid value for the field or parameter. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidInputException +// Provide a valid value for the field or parameter. +// +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/personalize-runtime-2018-05-22/GetRecommendations func (c *PersonalizeRuntime) GetRecommendations(input *GetRecommendationsInput) (*GetRecommendationsOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/doc.go index f221a1efc142..d2f35eda59b6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/doc.go @@ -8,7 +8,7 @@ // See personalizeruntime package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/personalizeruntime/ // -// Using the Client +// # Using the Client // // To contact Amazon Personalize Runtime with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/personalizeruntimeiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/personalizeruntimeiface/interface.go index 1ee8fb89e1e9..fa120a7656b5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/personalizeruntimeiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/personalizeruntimeiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Personalize Runtime. -// func myFunc(svc personalizeruntimeiface.PersonalizeRuntimeAPI) bool { -// // Make svc.GetPersonalizedRanking request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Personalize Runtime. +// func myFunc(svc personalizeruntimeiface.PersonalizeRuntimeAPI) bool { +// // Make svc.GetPersonalizedRanking request +// } // -// func main() { -// sess := session.New() -// svc := personalizeruntime.New(sess) +// func main() { +// sess := session.New() +// svc := personalizeruntime.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockPersonalizeRuntimeClient struct { -// personalizeruntimeiface.PersonalizeRuntimeAPI -// } -// func (m *mockPersonalizeRuntimeClient) GetPersonalizedRanking(input *personalizeruntime.GetPersonalizedRankingInput) (*personalizeruntime.GetPersonalizedRankingOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockPersonalizeRuntimeClient struct { +// personalizeruntimeiface.PersonalizeRuntimeAPI +// } +// func (m *mockPersonalizeRuntimeClient) GetPersonalizedRanking(input *personalizeruntime.GetPersonalizedRankingInput) (*personalizeruntime.GetPersonalizedRankingOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockPersonalizeRuntimeClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockPersonalizeRuntimeClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/service.go index 95a9354dd447..b4f07f3564dc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/personalizeruntime/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a PersonalizeRuntime client from just a session. -// svc := personalizeruntime.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a PersonalizeRuntime client with additional configuration -// svc := personalizeruntime.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a PersonalizeRuntime client from just a session. +// svc := personalizeruntime.New(mySession) +// +// // Create a PersonalizeRuntime client with additional configuration +// svc := personalizeruntime.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *PersonalizeRuntime { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/api.go index c00b696645e7..a90680c3074c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/api.go @@ -28,14 +28,13 @@ const opDescribeDimensionKeys = "DescribeDimensionKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDimensionKeysRequest method. +// req, resp := client.DescribeDimensionKeysRequest(params) // -// // Example sending a request using the DescribeDimensionKeysRequest method. -// req, resp := client.DescribeDimensionKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/DescribeDimensionKeys func (c *PI) DescribeDimensionKeysRequest(input *DescribeDimensionKeysInput) (req *request.Request, output *DescribeDimensionKeysOutput) { @@ -75,14 +74,15 @@ func (c *PI) DescribeDimensionKeysRequest(input *DescribeDimensionKeysInput) (re // API operation DescribeDimensionKeys for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// One of the arguments provided is invalid for this request. // -// * InternalServiceError -// The request failed due to an unknown error. +// - InvalidArgumentException +// One of the arguments provided is invalid for this request. +// +// - InternalServiceError +// The request failed due to an unknown error. // -// * NotAuthorizedException -// The user is not authorized to perform this request. +// - NotAuthorizedException +// The user is not authorized to perform this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/DescribeDimensionKeys func (c *PI) DescribeDimensionKeys(input *DescribeDimensionKeysInput) (*DescribeDimensionKeysOutput, error) { @@ -114,15 +114,14 @@ func (c *PI) DescribeDimensionKeysWithContext(ctx aws.Context, input *DescribeDi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDimensionKeys operation. -// pageNum := 0 -// err := client.DescribeDimensionKeysPages(params, -// func(page *pi.DescribeDimensionKeysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDimensionKeys operation. +// pageNum := 0 +// err := client.DescribeDimensionKeysPages(params, +// func(page *pi.DescribeDimensionKeysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PI) DescribeDimensionKeysPages(input *DescribeDimensionKeysInput, fn func(*DescribeDimensionKeysOutput, bool) bool) error { return c.DescribeDimensionKeysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -174,14 +173,13 @@ const opGetDimensionKeyDetails = "GetDimensionKeyDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDimensionKeyDetailsRequest method. +// req, resp := client.GetDimensionKeyDetailsRequest(params) // -// // Example sending a request using the GetDimensionKeyDetailsRequest method. -// req, resp := client.GetDimensionKeyDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetDimensionKeyDetails func (c *PI) GetDimensionKeyDetailsRequest(input *GetDimensionKeyDetailsInput) (req *request.Request, output *GetDimensionKeyDetailsOutput) { @@ -216,14 +214,15 @@ func (c *PI) GetDimensionKeyDetailsRequest(input *GetDimensionKeyDetailsInput) ( // API operation GetDimensionKeyDetails for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// One of the arguments provided is invalid for this request. // -// * InternalServiceError -// The request failed due to an unknown error. +// - InvalidArgumentException +// One of the arguments provided is invalid for this request. // -// * NotAuthorizedException -// The user is not authorized to perform this request. +// - InternalServiceError +// The request failed due to an unknown error. +// +// - NotAuthorizedException +// The user is not authorized to perform this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetDimensionKeyDetails func (c *PI) GetDimensionKeyDetails(input *GetDimensionKeyDetailsInput) (*GetDimensionKeyDetailsOutput, error) { @@ -263,14 +262,13 @@ const opGetResourceMetadata = "GetResourceMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceMetadataRequest method. +// req, resp := client.GetResourceMetadataRequest(params) // -// // Example sending a request using the GetResourceMetadataRequest method. -// req, resp := client.GetResourceMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetResourceMetadata func (c *PI) GetResourceMetadataRequest(input *GetResourceMetadataInput) (req *request.Request, output *GetResourceMetadataOutput) { @@ -302,14 +300,15 @@ func (c *PI) GetResourceMetadataRequest(input *GetResourceMetadataInput) (req *r // API operation GetResourceMetadata for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// One of the arguments provided is invalid for this request. // -// * InternalServiceError -// The request failed due to an unknown error. +// - InvalidArgumentException +// One of the arguments provided is invalid for this request. // -// * NotAuthorizedException -// The user is not authorized to perform this request. +// - InternalServiceError +// The request failed due to an unknown error. +// +// - NotAuthorizedException +// The user is not authorized to perform this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetResourceMetadata func (c *PI) GetResourceMetadata(input *GetResourceMetadataInput) (*GetResourceMetadataOutput, error) { @@ -349,14 +348,13 @@ const opGetResourceMetrics = "GetResourceMetrics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceMetricsRequest method. +// req, resp := client.GetResourceMetricsRequest(params) // -// // Example sending a request using the GetResourceMetricsRequest method. -// req, resp := client.GetResourceMetricsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetResourceMetrics func (c *PI) GetResourceMetricsRequest(input *GetResourceMetricsInput) (req *request.Request, output *GetResourceMetricsOutput) { @@ -398,14 +396,15 @@ func (c *PI) GetResourceMetricsRequest(input *GetResourceMetricsInput) (req *req // API operation GetResourceMetrics for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// One of the arguments provided is invalid for this request. // -// * InternalServiceError -// The request failed due to an unknown error. +// - InvalidArgumentException +// One of the arguments provided is invalid for this request. // -// * NotAuthorizedException -// The user is not authorized to perform this request. +// - InternalServiceError +// The request failed due to an unknown error. +// +// - NotAuthorizedException +// The user is not authorized to perform this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/GetResourceMetrics func (c *PI) GetResourceMetrics(input *GetResourceMetricsInput) (*GetResourceMetricsOutput, error) { @@ -437,15 +436,14 @@ func (c *PI) GetResourceMetricsWithContext(ctx aws.Context, input *GetResourceMe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetResourceMetrics operation. -// pageNum := 0 -// err := client.GetResourceMetricsPages(params, -// func(page *pi.GetResourceMetricsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetResourceMetrics operation. +// pageNum := 0 +// err := client.GetResourceMetricsPages(params, +// func(page *pi.GetResourceMetricsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PI) GetResourceMetricsPages(input *GetResourceMetricsInput, fn func(*GetResourceMetricsOutput, bool) bool) error { return c.GetResourceMetricsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -497,14 +495,13 @@ const opListAvailableResourceDimensions = "ListAvailableResourceDimensions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAvailableResourceDimensionsRequest method. +// req, resp := client.ListAvailableResourceDimensionsRequest(params) // -// // Example sending a request using the ListAvailableResourceDimensionsRequest method. -// req, resp := client.ListAvailableResourceDimensionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListAvailableResourceDimensions func (c *PI) ListAvailableResourceDimensionsRequest(input *ListAvailableResourceDimensionsInput) (req *request.Request, output *ListAvailableResourceDimensionsOutput) { @@ -542,14 +539,15 @@ func (c *PI) ListAvailableResourceDimensionsRequest(input *ListAvailableResource // API operation ListAvailableResourceDimensions for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// One of the arguments provided is invalid for this request. // -// * InternalServiceError -// The request failed due to an unknown error. +// - InvalidArgumentException +// One of the arguments provided is invalid for this request. +// +// - InternalServiceError +// The request failed due to an unknown error. // -// * NotAuthorizedException -// The user is not authorized to perform this request. +// - NotAuthorizedException +// The user is not authorized to perform this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListAvailableResourceDimensions func (c *PI) ListAvailableResourceDimensions(input *ListAvailableResourceDimensionsInput) (*ListAvailableResourceDimensionsOutput, error) { @@ -581,15 +579,14 @@ func (c *PI) ListAvailableResourceDimensionsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAvailableResourceDimensions operation. -// pageNum := 0 -// err := client.ListAvailableResourceDimensionsPages(params, -// func(page *pi.ListAvailableResourceDimensionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAvailableResourceDimensions operation. +// pageNum := 0 +// err := client.ListAvailableResourceDimensionsPages(params, +// func(page *pi.ListAvailableResourceDimensionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PI) ListAvailableResourceDimensionsPages(input *ListAvailableResourceDimensionsInput, fn func(*ListAvailableResourceDimensionsOutput, bool) bool) error { return c.ListAvailableResourceDimensionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -641,14 +638,13 @@ const opListAvailableResourceMetrics = "ListAvailableResourceMetrics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAvailableResourceMetricsRequest method. +// req, resp := client.ListAvailableResourceMetricsRequest(params) // -// // Example sending a request using the ListAvailableResourceMetricsRequest method. -// req, resp := client.ListAvailableResourceMetricsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListAvailableResourceMetrics func (c *PI) ListAvailableResourceMetricsRequest(input *ListAvailableResourceMetricsInput) (req *request.Request, output *ListAvailableResourceMetricsOutput) { @@ -686,14 +682,15 @@ func (c *PI) ListAvailableResourceMetricsRequest(input *ListAvailableResourceMet // API operation ListAvailableResourceMetrics for usage and error information. // // Returned Error Types: -// * InvalidArgumentException -// One of the arguments provided is invalid for this request. // -// * InternalServiceError -// The request failed due to an unknown error. +// - InvalidArgumentException +// One of the arguments provided is invalid for this request. // -// * NotAuthorizedException -// The user is not authorized to perform this request. +// - InternalServiceError +// The request failed due to an unknown error. +// +// - NotAuthorizedException +// The user is not authorized to perform this request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27/ListAvailableResourceMetrics func (c *PI) ListAvailableResourceMetrics(input *ListAvailableResourceMetricsInput) (*ListAvailableResourceMetricsOutput, error) { @@ -725,15 +722,14 @@ func (c *PI) ListAvailableResourceMetricsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAvailableResourceMetrics operation. -// pageNum := 0 -// err := client.ListAvailableResourceMetricsPages(params, -// func(page *pi.ListAvailableResourceMetricsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAvailableResourceMetrics operation. +// pageNum := 0 +// err := client.ListAvailableResourceMetricsPages(params, +// func(page *pi.ListAvailableResourceMetricsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PI) ListAvailableResourceMetricsPages(input *ListAvailableResourceMetricsInput, fn func(*ListAvailableResourceMetricsOutput, bool) bool) error { return c.ListAvailableResourceMetricsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1177,17 +1173,17 @@ func (s *DimensionDetail) SetIdentifier(v string) *DimensionDetail { // A logical grouping of Performance Insights metrics for a related subject // area. For example, the db.sql dimension group consists of the following dimensions: // -// * db.sql.id - The hash of a running SQL statement, generated by Performance -// Insights. +// - db.sql.id - The hash of a running SQL statement, generated by Performance +// Insights. // -// * db.sql.db_id - Either the SQL ID generated by the database engine, or -// a value generated by Performance Insights that begins with pi-. +// - db.sql.db_id - Either the SQL ID generated by the database engine, or +// a value generated by Performance Insights that begins with pi-. // -// * db.sql.statement - The full text of the SQL statement that is running, -// for example, SELECT * FROM employees. +// - db.sql.statement - The full text of the SQL statement that is running, +// for example, SELECT * FROM employees. // -// * db.sql_tokenized.id - The hash of the SQL digest generated by Performance -// Insights. +// - db.sql_tokenized.id - The hash of the SQL digest generated by Performance +// Insights. // // Each response element returns a maximum of 500 bytes. For larger elements, // such as SQL statements, only the first 500 bytes are returned. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/doc.go index bc22af75a7a0..e2dffb563433 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/doc.go @@ -21,21 +21,21 @@ // measured at that time point. Examples include SQL, Wait event, User, and // Host. // -// * To learn more about Performance Insights and Amazon Aurora DB instances, -// go to the Amazon Aurora User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html) . +// - To learn more about Performance Insights and Amazon Aurora DB instances, +// go to the Amazon Aurora User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PerfInsights.html) . // -// * To learn more about Performance Insights and Amazon RDS DB instances, -// go to the Amazon RDS User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) . +// - To learn more about Performance Insights and Amazon RDS DB instances, +// go to the Amazon RDS User Guide (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) . // -// * To learn more about Performance Insights and Amazon DocumentDB clusters, -// go to the Amazon DocumentDB Developer Guide (https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html) . +// - To learn more about Performance Insights and Amazon DocumentDB clusters, +// go to the Amazon DocumentDB Developer Guide (https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html) . // // See https://docs.aws.amazon.com/goto/WebAPI/pi-2018-02-27 for more information on this service. // // See pi package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/pi/ // -// Using the Client +// # Using the Client // // To contact AWS Performance Insights with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/piiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/piiface/interface.go index 0a51678cdc70..5f2a41f19fc2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/piiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/piiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Performance Insights. -// func myFunc(svc piiface.PIAPI) bool { -// // Make svc.DescribeDimensionKeys request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Performance Insights. +// func myFunc(svc piiface.PIAPI) bool { +// // Make svc.DescribeDimensionKeys request +// } // -// func main() { -// sess := session.New() -// svc := pi.New(sess) +// func main() { +// sess := session.New() +// svc := pi.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockPIClient struct { -// piiface.PIAPI -// } -// func (m *mockPIClient) DescribeDimensionKeys(input *pi.DescribeDimensionKeysInput) (*pi.DescribeDimensionKeysOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockPIClient struct { +// piiface.PIAPI +// } +// func (m *mockPIClient) DescribeDimensionKeys(input *pi.DescribeDimensionKeysInput) (*pi.DescribeDimensionKeysOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockPIClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockPIClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/service.go index c0ec07204827..90ac229ada12 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pi/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a PI client from just a session. -// svc := pi.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a PI client with additional configuration -// svc := pi.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a PI client from just a session. +// svc := pi.New(mySession) +// +// // Create a PI client with additional configuration +// svc := pi.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *PI { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/api.go index 802f9d972b42..43964f2a4330 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/api.go @@ -29,14 +29,13 @@ const opCreateApp = "CreateApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppRequest method. +// req, resp := client.CreateAppRequest(params) // -// // Example sending a request using the CreateAppRequest method. -// req, resp := client.CreateAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateApp func (c *Pinpoint) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput) { @@ -67,26 +66,27 @@ func (c *Pinpoint) CreateAppRequest(input *CreateAppInput) (req *request.Request // API operation CreateApp for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateApp func (c *Pinpoint) CreateApp(input *CreateAppInput) (*CreateAppOutput, error) { @@ -126,14 +126,13 @@ const opCreateCampaign = "CreateCampaign" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCampaignRequest method. +// req, resp := client.CreateCampaignRequest(params) // -// // Example sending a request using the CreateCampaignRequest method. -// req, resp := client.CreateCampaignRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaign func (c *Pinpoint) CreateCampaignRequest(input *CreateCampaignInput) (req *request.Request, output *CreateCampaignOutput) { @@ -165,26 +164,27 @@ func (c *Pinpoint) CreateCampaignRequest(input *CreateCampaignInput) (req *reque // API operation CreateCampaign for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaign func (c *Pinpoint) CreateCampaign(input *CreateCampaignInput) (*CreateCampaignOutput, error) { @@ -224,14 +224,13 @@ const opCreateEmailTemplate = "CreateEmailTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEmailTemplateRequest method. +// req, resp := client.CreateEmailTemplateRequest(params) // -// // Example sending a request using the CreateEmailTemplateRequest method. -// req, resp := client.CreateEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateEmailTemplate func (c *Pinpoint) CreateEmailTemplateRequest(input *CreateEmailTemplateInput) (req *request.Request, output *CreateEmailTemplateOutput) { @@ -262,20 +261,21 @@ func (c *Pinpoint) CreateEmailTemplateRequest(input *CreateEmailTemplateInput) ( // API operation CreateEmailTemplate for usage and error information. // // Returned Error Types: -// * MethodNotAllowedException -// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // -// * BadRequestException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateEmailTemplate func (c *Pinpoint) CreateEmailTemplate(input *CreateEmailTemplateInput) (*CreateEmailTemplateOutput, error) { @@ -315,14 +315,13 @@ const opCreateExportJob = "CreateExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateExportJobRequest method. +// req, resp := client.CreateExportJobRequest(params) // -// // Example sending a request using the CreateExportJobRequest method. -// req, resp := client.CreateExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateExportJob func (c *Pinpoint) CreateExportJobRequest(input *CreateExportJobInput) (req *request.Request, output *CreateExportJobOutput) { @@ -353,26 +352,27 @@ func (c *Pinpoint) CreateExportJobRequest(input *CreateExportJobInput) (req *req // API operation CreateExportJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateExportJob func (c *Pinpoint) CreateExportJob(input *CreateExportJobInput) (*CreateExportJobOutput, error) { @@ -412,14 +412,13 @@ const opCreateImportJob = "CreateImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateImportJobRequest method. +// req, resp := client.CreateImportJobRequest(params) // -// // Example sending a request using the CreateImportJobRequest method. -// req, resp := client.CreateImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateImportJob func (c *Pinpoint) CreateImportJobRequest(input *CreateImportJobInput) (req *request.Request, output *CreateImportJobOutput) { @@ -450,26 +449,27 @@ func (c *Pinpoint) CreateImportJobRequest(input *CreateImportJobInput) (req *req // API operation CreateImportJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateImportJob func (c *Pinpoint) CreateImportJob(input *CreateImportJobInput) (*CreateImportJobOutput, error) { @@ -509,14 +509,13 @@ const opCreateInAppTemplate = "CreateInAppTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInAppTemplateRequest method. +// req, resp := client.CreateInAppTemplateRequest(params) // -// // Example sending a request using the CreateInAppTemplateRequest method. -// req, resp := client.CreateInAppTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateInAppTemplate func (c *Pinpoint) CreateInAppTemplateRequest(input *CreateInAppTemplateInput) (req *request.Request, output *CreateInAppTemplateOutput) { @@ -547,20 +546,21 @@ func (c *Pinpoint) CreateInAppTemplateRequest(input *CreateInAppTemplateInput) ( // API operation CreateInAppTemplate for usage and error information. // // Returned Error Types: -// * MethodNotAllowedException -// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // -// * BadRequestException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateInAppTemplate func (c *Pinpoint) CreateInAppTemplate(input *CreateInAppTemplateInput) (*CreateInAppTemplateOutput, error) { @@ -600,14 +600,13 @@ const opCreateJourney = "CreateJourney" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateJourneyRequest method. +// req, resp := client.CreateJourneyRequest(params) // -// // Example sending a request using the CreateJourneyRequest method. -// req, resp := client.CreateJourneyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateJourney func (c *Pinpoint) CreateJourneyRequest(input *CreateJourneyInput) (req *request.Request, output *CreateJourneyOutput) { @@ -638,26 +637,27 @@ func (c *Pinpoint) CreateJourneyRequest(input *CreateJourneyInput) (req *request // API operation CreateJourney for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateJourney func (c *Pinpoint) CreateJourney(input *CreateJourneyInput) (*CreateJourneyOutput, error) { @@ -697,14 +697,13 @@ const opCreatePushTemplate = "CreatePushTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePushTemplateRequest method. +// req, resp := client.CreatePushTemplateRequest(params) // -// // Example sending a request using the CreatePushTemplateRequest method. -// req, resp := client.CreatePushTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreatePushTemplate func (c *Pinpoint) CreatePushTemplateRequest(input *CreatePushTemplateInput) (req *request.Request, output *CreatePushTemplateOutput) { @@ -736,20 +735,21 @@ func (c *Pinpoint) CreatePushTemplateRequest(input *CreatePushTemplateInput) (re // API operation CreatePushTemplate for usage and error information. // // Returned Error Types: -// * MethodNotAllowedException -// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * BadRequestException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. +// +// - ForbiddenException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreatePushTemplate func (c *Pinpoint) CreatePushTemplate(input *CreatePushTemplateInput) (*CreatePushTemplateOutput, error) { @@ -789,14 +789,13 @@ const opCreateRecommenderConfiguration = "CreateRecommenderConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRecommenderConfigurationRequest method. +// req, resp := client.CreateRecommenderConfigurationRequest(params) // -// // Example sending a request using the CreateRecommenderConfigurationRequest method. -// req, resp := client.CreateRecommenderConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateRecommenderConfiguration func (c *Pinpoint) CreateRecommenderConfigurationRequest(input *CreateRecommenderConfigurationInput) (req *request.Request, output *CreateRecommenderConfigurationOutput) { @@ -827,26 +826,27 @@ func (c *Pinpoint) CreateRecommenderConfigurationRequest(input *CreateRecommende // API operation CreateRecommenderConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateRecommenderConfiguration func (c *Pinpoint) CreateRecommenderConfiguration(input *CreateRecommenderConfigurationInput) (*CreateRecommenderConfigurationOutput, error) { @@ -886,14 +886,13 @@ const opCreateSegment = "CreateSegment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSegmentRequest method. +// req, resp := client.CreateSegmentRequest(params) // -// // Example sending a request using the CreateSegmentRequest method. -// req, resp := client.CreateSegmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegment func (c *Pinpoint) CreateSegmentRequest(input *CreateSegmentInput) (req *request.Request, output *CreateSegmentOutput) { @@ -925,26 +924,27 @@ func (c *Pinpoint) CreateSegmentRequest(input *CreateSegmentInput) (req *request // API operation CreateSegment for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegment func (c *Pinpoint) CreateSegment(input *CreateSegmentInput) (*CreateSegmentOutput, error) { @@ -984,14 +984,13 @@ const opCreateSmsTemplate = "CreateSmsTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSmsTemplateRequest method. +// req, resp := client.CreateSmsTemplateRequest(params) // -// // Example sending a request using the CreateSmsTemplateRequest method. -// req, resp := client.CreateSmsTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSmsTemplate func (c *Pinpoint) CreateSmsTemplateRequest(input *CreateSmsTemplateInput) (req *request.Request, output *CreateSmsTemplateOutput) { @@ -1022,20 +1021,21 @@ func (c *Pinpoint) CreateSmsTemplateRequest(input *CreateSmsTemplateInput) (req // API operation CreateSmsTemplate for usage and error information. // // Returned Error Types: -// * MethodNotAllowedException -// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * BadRequestException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. +// +// - ForbiddenException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSmsTemplate func (c *Pinpoint) CreateSmsTemplate(input *CreateSmsTemplateInput) (*CreateSmsTemplateOutput, error) { @@ -1075,14 +1075,13 @@ const opCreateVoiceTemplate = "CreateVoiceTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVoiceTemplateRequest method. +// req, resp := client.CreateVoiceTemplateRequest(params) // -// // Example sending a request using the CreateVoiceTemplateRequest method. -// req, resp := client.CreateVoiceTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateVoiceTemplate func (c *Pinpoint) CreateVoiceTemplateRequest(input *CreateVoiceTemplateInput) (req *request.Request, output *CreateVoiceTemplateOutput) { @@ -1113,20 +1112,21 @@ func (c *Pinpoint) CreateVoiceTemplateRequest(input *CreateVoiceTemplateInput) ( // API operation CreateVoiceTemplate for usage and error information. // // Returned Error Types: -// * MethodNotAllowedException -// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * BadRequestException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. +// +// - ForbiddenException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateVoiceTemplate func (c *Pinpoint) CreateVoiceTemplate(input *CreateVoiceTemplateInput) (*CreateVoiceTemplateOutput, error) { @@ -1166,14 +1166,13 @@ const opDeleteAdmChannel = "DeleteAdmChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAdmChannelRequest method. +// req, resp := client.DeleteAdmChannelRequest(params) // -// // Example sending a request using the DeleteAdmChannelRequest method. -// req, resp := client.DeleteAdmChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAdmChannel func (c *Pinpoint) DeleteAdmChannelRequest(input *DeleteAdmChannelInput) (req *request.Request, output *DeleteAdmChannelOutput) { @@ -1205,26 +1204,27 @@ func (c *Pinpoint) DeleteAdmChannelRequest(input *DeleteAdmChannelInput) (req *r // API operation DeleteAdmChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteAdmChannel func (c *Pinpoint) DeleteAdmChannel(input *DeleteAdmChannelInput) (*DeleteAdmChannelOutput, error) { @@ -1264,14 +1264,13 @@ const opDeleteApnsChannel = "DeleteApnsChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApnsChannelRequest method. +// req, resp := client.DeleteApnsChannelRequest(params) // -// // Example sending a request using the DeleteApnsChannelRequest method. -// req, resp := client.DeleteApnsChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsChannel func (c *Pinpoint) DeleteApnsChannelRequest(input *DeleteApnsChannelInput) (req *request.Request, output *DeleteApnsChannelOutput) { @@ -1303,26 +1302,27 @@ func (c *Pinpoint) DeleteApnsChannelRequest(input *DeleteApnsChannelInput) (req // API operation DeleteApnsChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsChannel func (c *Pinpoint) DeleteApnsChannel(input *DeleteApnsChannelInput) (*DeleteApnsChannelOutput, error) { @@ -1362,14 +1362,13 @@ const opDeleteApnsSandboxChannel = "DeleteApnsSandboxChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApnsSandboxChannelRequest method. +// req, resp := client.DeleteApnsSandboxChannelRequest(params) // -// // Example sending a request using the DeleteApnsSandboxChannelRequest method. -// req, resp := client.DeleteApnsSandboxChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsSandboxChannel func (c *Pinpoint) DeleteApnsSandboxChannelRequest(input *DeleteApnsSandboxChannelInput) (req *request.Request, output *DeleteApnsSandboxChannelOutput) { @@ -1401,26 +1400,27 @@ func (c *Pinpoint) DeleteApnsSandboxChannelRequest(input *DeleteApnsSandboxChann // API operation DeleteApnsSandboxChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsSandboxChannel func (c *Pinpoint) DeleteApnsSandboxChannel(input *DeleteApnsSandboxChannelInput) (*DeleteApnsSandboxChannelOutput, error) { @@ -1460,14 +1460,13 @@ const opDeleteApnsVoipChannel = "DeleteApnsVoipChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApnsVoipChannelRequest method. +// req, resp := client.DeleteApnsVoipChannelRequest(params) // -// // Example sending a request using the DeleteApnsVoipChannelRequest method. -// req, resp := client.DeleteApnsVoipChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipChannel func (c *Pinpoint) DeleteApnsVoipChannelRequest(input *DeleteApnsVoipChannelInput) (req *request.Request, output *DeleteApnsVoipChannelOutput) { @@ -1499,26 +1498,27 @@ func (c *Pinpoint) DeleteApnsVoipChannelRequest(input *DeleteApnsVoipChannelInpu // API operation DeleteApnsVoipChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipChannel func (c *Pinpoint) DeleteApnsVoipChannel(input *DeleteApnsVoipChannelInput) (*DeleteApnsVoipChannelOutput, error) { @@ -1558,14 +1558,13 @@ const opDeleteApnsVoipSandboxChannel = "DeleteApnsVoipSandboxChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApnsVoipSandboxChannelRequest method. +// req, resp := client.DeleteApnsVoipSandboxChannelRequest(params) // -// // Example sending a request using the DeleteApnsVoipSandboxChannelRequest method. -// req, resp := client.DeleteApnsVoipSandboxChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipSandboxChannel func (c *Pinpoint) DeleteApnsVoipSandboxChannelRequest(input *DeleteApnsVoipSandboxChannelInput) (req *request.Request, output *DeleteApnsVoipSandboxChannelOutput) { @@ -1597,26 +1596,27 @@ func (c *Pinpoint) DeleteApnsVoipSandboxChannelRequest(input *DeleteApnsVoipSand // API operation DeleteApnsVoipSandboxChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipSandboxChannel func (c *Pinpoint) DeleteApnsVoipSandboxChannel(input *DeleteApnsVoipSandboxChannelInput) (*DeleteApnsVoipSandboxChannelOutput, error) { @@ -1656,14 +1656,13 @@ const opDeleteApp = "DeleteApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppRequest method. +// req, resp := client.DeleteAppRequest(params) // -// // Example sending a request using the DeleteAppRequest method. -// req, resp := client.DeleteAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApp func (c *Pinpoint) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput) { @@ -1694,26 +1693,27 @@ func (c *Pinpoint) DeleteAppRequest(input *DeleteAppInput) (req *request.Request // API operation DeleteApp for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApp func (c *Pinpoint) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error) { @@ -1753,14 +1753,13 @@ const opDeleteBaiduChannel = "DeleteBaiduChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBaiduChannelRequest method. +// req, resp := client.DeleteBaiduChannelRequest(params) // -// // Example sending a request using the DeleteBaiduChannelRequest method. -// req, resp := client.DeleteBaiduChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteBaiduChannel func (c *Pinpoint) DeleteBaiduChannelRequest(input *DeleteBaiduChannelInput) (req *request.Request, output *DeleteBaiduChannelOutput) { @@ -1792,26 +1791,27 @@ func (c *Pinpoint) DeleteBaiduChannelRequest(input *DeleteBaiduChannelInput) (re // API operation DeleteBaiduChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteBaiduChannel func (c *Pinpoint) DeleteBaiduChannel(input *DeleteBaiduChannelInput) (*DeleteBaiduChannelOutput, error) { @@ -1851,14 +1851,13 @@ const opDeleteCampaign = "DeleteCampaign" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCampaignRequest method. +// req, resp := client.DeleteCampaignRequest(params) // -// // Example sending a request using the DeleteCampaignRequest method. -// req, resp := client.DeleteCampaignRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteCampaign func (c *Pinpoint) DeleteCampaignRequest(input *DeleteCampaignInput) (req *request.Request, output *DeleteCampaignOutput) { @@ -1889,26 +1888,27 @@ func (c *Pinpoint) DeleteCampaignRequest(input *DeleteCampaignInput) (req *reque // API operation DeleteCampaign for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteCampaign func (c *Pinpoint) DeleteCampaign(input *DeleteCampaignInput) (*DeleteCampaignOutput, error) { @@ -1948,14 +1948,13 @@ const opDeleteEmailChannel = "DeleteEmailChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEmailChannelRequest method. +// req, resp := client.DeleteEmailChannelRequest(params) // -// // Example sending a request using the DeleteEmailChannelRequest method. -// req, resp := client.DeleteEmailChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEmailChannel func (c *Pinpoint) DeleteEmailChannelRequest(input *DeleteEmailChannelInput) (req *request.Request, output *DeleteEmailChannelOutput) { @@ -1987,26 +1986,27 @@ func (c *Pinpoint) DeleteEmailChannelRequest(input *DeleteEmailChannelInput) (re // API operation DeleteEmailChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEmailChannel func (c *Pinpoint) DeleteEmailChannel(input *DeleteEmailChannelInput) (*DeleteEmailChannelOutput, error) { @@ -2046,14 +2046,13 @@ const opDeleteEmailTemplate = "DeleteEmailTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEmailTemplateRequest method. +// req, resp := client.DeleteEmailTemplateRequest(params) // -// // Example sending a request using the DeleteEmailTemplateRequest method. -// req, resp := client.DeleteEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEmailTemplate func (c *Pinpoint) DeleteEmailTemplateRequest(input *DeleteEmailTemplateInput) (req *request.Request, output *DeleteEmailTemplateOutput) { @@ -2085,26 +2084,27 @@ func (c *Pinpoint) DeleteEmailTemplateRequest(input *DeleteEmailTemplateInput) ( // API operation DeleteEmailTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEmailTemplate func (c *Pinpoint) DeleteEmailTemplate(input *DeleteEmailTemplateInput) (*DeleteEmailTemplateOutput, error) { @@ -2144,14 +2144,13 @@ const opDeleteEndpoint = "DeleteEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEndpointRequest method. +// req, resp := client.DeleteEndpointRequest(params) // -// // Example sending a request using the DeleteEndpointRequest method. -// req, resp := client.DeleteEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEndpoint func (c *Pinpoint) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) { @@ -2182,26 +2181,27 @@ func (c *Pinpoint) DeleteEndpointRequest(input *DeleteEndpointInput) (req *reque // API operation DeleteEndpoint for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEndpoint func (c *Pinpoint) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) { @@ -2241,14 +2241,13 @@ const opDeleteEventStream = "DeleteEventStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventStreamRequest method. +// req, resp := client.DeleteEventStreamRequest(params) // -// // Example sending a request using the DeleteEventStreamRequest method. -// req, resp := client.DeleteEventStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEventStream func (c *Pinpoint) DeleteEventStreamRequest(input *DeleteEventStreamInput) (req *request.Request, output *DeleteEventStreamOutput) { @@ -2279,26 +2278,27 @@ func (c *Pinpoint) DeleteEventStreamRequest(input *DeleteEventStreamInput) (req // API operation DeleteEventStream for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEventStream func (c *Pinpoint) DeleteEventStream(input *DeleteEventStreamInput) (*DeleteEventStreamOutput, error) { @@ -2338,14 +2338,13 @@ const opDeleteGcmChannel = "DeleteGcmChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGcmChannelRequest method. +// req, resp := client.DeleteGcmChannelRequest(params) // -// // Example sending a request using the DeleteGcmChannelRequest method. -// req, resp := client.DeleteGcmChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteGcmChannel func (c *Pinpoint) DeleteGcmChannelRequest(input *DeleteGcmChannelInput) (req *request.Request, output *DeleteGcmChannelOutput) { @@ -2377,26 +2376,27 @@ func (c *Pinpoint) DeleteGcmChannelRequest(input *DeleteGcmChannelInput) (req *r // API operation DeleteGcmChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteGcmChannel func (c *Pinpoint) DeleteGcmChannel(input *DeleteGcmChannelInput) (*DeleteGcmChannelOutput, error) { @@ -2436,14 +2436,13 @@ const opDeleteInAppTemplate = "DeleteInAppTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInAppTemplateRequest method. +// req, resp := client.DeleteInAppTemplateRequest(params) // -// // Example sending a request using the DeleteInAppTemplateRequest method. -// req, resp := client.DeleteInAppTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteInAppTemplate func (c *Pinpoint) DeleteInAppTemplateRequest(input *DeleteInAppTemplateInput) (req *request.Request, output *DeleteInAppTemplateOutput) { @@ -2474,26 +2473,27 @@ func (c *Pinpoint) DeleteInAppTemplateRequest(input *DeleteInAppTemplateInput) ( // API operation DeleteInAppTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteInAppTemplate func (c *Pinpoint) DeleteInAppTemplate(input *DeleteInAppTemplateInput) (*DeleteInAppTemplateOutput, error) { @@ -2533,14 +2533,13 @@ const opDeleteJourney = "DeleteJourney" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteJourneyRequest method. +// req, resp := client.DeleteJourneyRequest(params) // -// // Example sending a request using the DeleteJourneyRequest method. -// req, resp := client.DeleteJourneyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteJourney func (c *Pinpoint) DeleteJourneyRequest(input *DeleteJourneyInput) (req *request.Request, output *DeleteJourneyOutput) { @@ -2571,26 +2570,27 @@ func (c *Pinpoint) DeleteJourneyRequest(input *DeleteJourneyInput) (req *request // API operation DeleteJourney for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteJourney func (c *Pinpoint) DeleteJourney(input *DeleteJourneyInput) (*DeleteJourneyOutput, error) { @@ -2630,14 +2630,13 @@ const opDeletePushTemplate = "DeletePushTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePushTemplateRequest method. +// req, resp := client.DeletePushTemplateRequest(params) // -// // Example sending a request using the DeletePushTemplateRequest method. -// req, resp := client.DeletePushTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeletePushTemplate func (c *Pinpoint) DeletePushTemplateRequest(input *DeletePushTemplateInput) (req *request.Request, output *DeletePushTemplateOutput) { @@ -2669,26 +2668,27 @@ func (c *Pinpoint) DeletePushTemplateRequest(input *DeletePushTemplateInput) (re // API operation DeletePushTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeletePushTemplate func (c *Pinpoint) DeletePushTemplate(input *DeletePushTemplateInput) (*DeletePushTemplateOutput, error) { @@ -2728,14 +2728,13 @@ const opDeleteRecommenderConfiguration = "DeleteRecommenderConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRecommenderConfigurationRequest method. +// req, resp := client.DeleteRecommenderConfigurationRequest(params) // -// // Example sending a request using the DeleteRecommenderConfigurationRequest method. -// req, resp := client.DeleteRecommenderConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteRecommenderConfiguration func (c *Pinpoint) DeleteRecommenderConfigurationRequest(input *DeleteRecommenderConfigurationInput) (req *request.Request, output *DeleteRecommenderConfigurationOutput) { @@ -2766,26 +2765,27 @@ func (c *Pinpoint) DeleteRecommenderConfigurationRequest(input *DeleteRecommende // API operation DeleteRecommenderConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteRecommenderConfiguration func (c *Pinpoint) DeleteRecommenderConfiguration(input *DeleteRecommenderConfigurationInput) (*DeleteRecommenderConfigurationOutput, error) { @@ -2825,14 +2825,13 @@ const opDeleteSegment = "DeleteSegment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSegmentRequest method. +// req, resp := client.DeleteSegmentRequest(params) // -// // Example sending a request using the DeleteSegmentRequest method. -// req, resp := client.DeleteSegmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSegment func (c *Pinpoint) DeleteSegmentRequest(input *DeleteSegmentInput) (req *request.Request, output *DeleteSegmentOutput) { @@ -2863,26 +2862,27 @@ func (c *Pinpoint) DeleteSegmentRequest(input *DeleteSegmentInput) (req *request // API operation DeleteSegment for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSegment func (c *Pinpoint) DeleteSegment(input *DeleteSegmentInput) (*DeleteSegmentOutput, error) { @@ -2922,14 +2922,13 @@ const opDeleteSmsChannel = "DeleteSmsChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSmsChannelRequest method. +// req, resp := client.DeleteSmsChannelRequest(params) // -// // Example sending a request using the DeleteSmsChannelRequest method. -// req, resp := client.DeleteSmsChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSmsChannel func (c *Pinpoint) DeleteSmsChannelRequest(input *DeleteSmsChannelInput) (req *request.Request, output *DeleteSmsChannelOutput) { @@ -2961,26 +2960,27 @@ func (c *Pinpoint) DeleteSmsChannelRequest(input *DeleteSmsChannelInput) (req *r // API operation DeleteSmsChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSmsChannel func (c *Pinpoint) DeleteSmsChannel(input *DeleteSmsChannelInput) (*DeleteSmsChannelOutput, error) { @@ -3020,14 +3020,13 @@ const opDeleteSmsTemplate = "DeleteSmsTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSmsTemplateRequest method. +// req, resp := client.DeleteSmsTemplateRequest(params) // -// // Example sending a request using the DeleteSmsTemplateRequest method. -// req, resp := client.DeleteSmsTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSmsTemplate func (c *Pinpoint) DeleteSmsTemplateRequest(input *DeleteSmsTemplateInput) (req *request.Request, output *DeleteSmsTemplateOutput) { @@ -3058,26 +3057,27 @@ func (c *Pinpoint) DeleteSmsTemplateRequest(input *DeleteSmsTemplateInput) (req // API operation DeleteSmsTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSmsTemplate func (c *Pinpoint) DeleteSmsTemplate(input *DeleteSmsTemplateInput) (*DeleteSmsTemplateOutput, error) { @@ -3117,14 +3117,13 @@ const opDeleteUserEndpoints = "DeleteUserEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserEndpointsRequest method. +// req, resp := client.DeleteUserEndpointsRequest(params) // -// // Example sending a request using the DeleteUserEndpointsRequest method. -// req, resp := client.DeleteUserEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteUserEndpoints func (c *Pinpoint) DeleteUserEndpointsRequest(input *DeleteUserEndpointsInput) (req *request.Request, output *DeleteUserEndpointsOutput) { @@ -3155,26 +3154,27 @@ func (c *Pinpoint) DeleteUserEndpointsRequest(input *DeleteUserEndpointsInput) ( // API operation DeleteUserEndpoints for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteUserEndpoints func (c *Pinpoint) DeleteUserEndpoints(input *DeleteUserEndpointsInput) (*DeleteUserEndpointsOutput, error) { @@ -3214,14 +3214,13 @@ const opDeleteVoiceChannel = "DeleteVoiceChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVoiceChannelRequest method. +// req, resp := client.DeleteVoiceChannelRequest(params) // -// // Example sending a request using the DeleteVoiceChannelRequest method. -// req, resp := client.DeleteVoiceChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteVoiceChannel func (c *Pinpoint) DeleteVoiceChannelRequest(input *DeleteVoiceChannelInput) (req *request.Request, output *DeleteVoiceChannelOutput) { @@ -3253,26 +3252,27 @@ func (c *Pinpoint) DeleteVoiceChannelRequest(input *DeleteVoiceChannelInput) (re // API operation DeleteVoiceChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteVoiceChannel func (c *Pinpoint) DeleteVoiceChannel(input *DeleteVoiceChannelInput) (*DeleteVoiceChannelOutput, error) { @@ -3312,14 +3312,13 @@ const opDeleteVoiceTemplate = "DeleteVoiceTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVoiceTemplateRequest method. +// req, resp := client.DeleteVoiceTemplateRequest(params) // -// // Example sending a request using the DeleteVoiceTemplateRequest method. -// req, resp := client.DeleteVoiceTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteVoiceTemplate func (c *Pinpoint) DeleteVoiceTemplateRequest(input *DeleteVoiceTemplateInput) (req *request.Request, output *DeleteVoiceTemplateOutput) { @@ -3351,26 +3350,27 @@ func (c *Pinpoint) DeleteVoiceTemplateRequest(input *DeleteVoiceTemplateInput) ( // API operation DeleteVoiceTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteVoiceTemplate func (c *Pinpoint) DeleteVoiceTemplate(input *DeleteVoiceTemplateInput) (*DeleteVoiceTemplateOutput, error) { @@ -3410,14 +3410,13 @@ const opGetAdmChannel = "GetAdmChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAdmChannelRequest method. +// req, resp := client.GetAdmChannelRequest(params) // -// // Example sending a request using the GetAdmChannelRequest method. -// req, resp := client.GetAdmChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAdmChannel func (c *Pinpoint) GetAdmChannelRequest(input *GetAdmChannelInput) (req *request.Request, output *GetAdmChannelOutput) { @@ -3449,26 +3448,27 @@ func (c *Pinpoint) GetAdmChannelRequest(input *GetAdmChannelInput) (req *request // API operation GetAdmChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetAdmChannel func (c *Pinpoint) GetAdmChannel(input *GetAdmChannelInput) (*GetAdmChannelOutput, error) { @@ -3508,14 +3508,13 @@ const opGetApnsChannel = "GetApnsChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApnsChannelRequest method. +// req, resp := client.GetApnsChannelRequest(params) // -// // Example sending a request using the GetApnsChannelRequest method. -// req, resp := client.GetApnsChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsChannel func (c *Pinpoint) GetApnsChannelRequest(input *GetApnsChannelInput) (req *request.Request, output *GetApnsChannelOutput) { @@ -3547,26 +3546,27 @@ func (c *Pinpoint) GetApnsChannelRequest(input *GetApnsChannelInput) (req *reque // API operation GetApnsChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsChannel func (c *Pinpoint) GetApnsChannel(input *GetApnsChannelInput) (*GetApnsChannelOutput, error) { @@ -3606,14 +3606,13 @@ const opGetApnsSandboxChannel = "GetApnsSandboxChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApnsSandboxChannelRequest method. +// req, resp := client.GetApnsSandboxChannelRequest(params) // -// // Example sending a request using the GetApnsSandboxChannelRequest method. -// req, resp := client.GetApnsSandboxChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsSandboxChannel func (c *Pinpoint) GetApnsSandboxChannelRequest(input *GetApnsSandboxChannelInput) (req *request.Request, output *GetApnsSandboxChannelOutput) { @@ -3645,26 +3644,27 @@ func (c *Pinpoint) GetApnsSandboxChannelRequest(input *GetApnsSandboxChannelInpu // API operation GetApnsSandboxChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsSandboxChannel func (c *Pinpoint) GetApnsSandboxChannel(input *GetApnsSandboxChannelInput) (*GetApnsSandboxChannelOutput, error) { @@ -3704,14 +3704,13 @@ const opGetApnsVoipChannel = "GetApnsVoipChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApnsVoipChannelRequest method. +// req, resp := client.GetApnsVoipChannelRequest(params) // -// // Example sending a request using the GetApnsVoipChannelRequest method. -// req, resp := client.GetApnsVoipChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipChannel func (c *Pinpoint) GetApnsVoipChannelRequest(input *GetApnsVoipChannelInput) (req *request.Request, output *GetApnsVoipChannelOutput) { @@ -3743,26 +3742,27 @@ func (c *Pinpoint) GetApnsVoipChannelRequest(input *GetApnsVoipChannelInput) (re // API operation GetApnsVoipChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipChannel func (c *Pinpoint) GetApnsVoipChannel(input *GetApnsVoipChannelInput) (*GetApnsVoipChannelOutput, error) { @@ -3802,14 +3802,13 @@ const opGetApnsVoipSandboxChannel = "GetApnsVoipSandboxChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApnsVoipSandboxChannelRequest method. +// req, resp := client.GetApnsVoipSandboxChannelRequest(params) // -// // Example sending a request using the GetApnsVoipSandboxChannelRequest method. -// req, resp := client.GetApnsVoipSandboxChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipSandboxChannel func (c *Pinpoint) GetApnsVoipSandboxChannelRequest(input *GetApnsVoipSandboxChannelInput) (req *request.Request, output *GetApnsVoipSandboxChannelOutput) { @@ -3841,26 +3840,27 @@ func (c *Pinpoint) GetApnsVoipSandboxChannelRequest(input *GetApnsVoipSandboxCha // API operation GetApnsVoipSandboxChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipSandboxChannel func (c *Pinpoint) GetApnsVoipSandboxChannel(input *GetApnsVoipSandboxChannelInput) (*GetApnsVoipSandboxChannelOutput, error) { @@ -3900,14 +3900,13 @@ const opGetApp = "GetApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAppRequest method. +// req, resp := client.GetAppRequest(params) // -// // Example sending a request using the GetAppRequest method. -// req, resp := client.GetAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApp func (c *Pinpoint) GetAppRequest(input *GetAppInput) (req *request.Request, output *GetAppOutput) { @@ -3938,26 +3937,27 @@ func (c *Pinpoint) GetAppRequest(input *GetAppInput) (req *request.Request, outp // API operation GetApp for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApp func (c *Pinpoint) GetApp(input *GetAppInput) (*GetAppOutput, error) { @@ -3997,14 +3997,13 @@ const opGetApplicationDateRangeKpi = "GetApplicationDateRangeKpi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApplicationDateRangeKpiRequest method. +// req, resp := client.GetApplicationDateRangeKpiRequest(params) // -// // Example sending a request using the GetApplicationDateRangeKpiRequest method. -// req, resp := client.GetApplicationDateRangeKpiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationDateRangeKpi func (c *Pinpoint) GetApplicationDateRangeKpiRequest(input *GetApplicationDateRangeKpiInput) (req *request.Request, output *GetApplicationDateRangeKpiOutput) { @@ -4036,26 +4035,27 @@ func (c *Pinpoint) GetApplicationDateRangeKpiRequest(input *GetApplicationDateRa // API operation GetApplicationDateRangeKpi for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationDateRangeKpi func (c *Pinpoint) GetApplicationDateRangeKpi(input *GetApplicationDateRangeKpiInput) (*GetApplicationDateRangeKpiOutput, error) { @@ -4095,14 +4095,13 @@ const opGetApplicationSettings = "GetApplicationSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApplicationSettingsRequest method. +// req, resp := client.GetApplicationSettingsRequest(params) // -// // Example sending a request using the GetApplicationSettingsRequest method. -// req, resp := client.GetApplicationSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationSettings func (c *Pinpoint) GetApplicationSettingsRequest(input *GetApplicationSettingsInput) (req *request.Request, output *GetApplicationSettingsOutput) { @@ -4133,26 +4132,27 @@ func (c *Pinpoint) GetApplicationSettingsRequest(input *GetApplicationSettingsIn // API operation GetApplicationSettings for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationSettings func (c *Pinpoint) GetApplicationSettings(input *GetApplicationSettingsInput) (*GetApplicationSettingsOutput, error) { @@ -4192,14 +4192,13 @@ const opGetApps = "GetApps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAppsRequest method. +// req, resp := client.GetAppsRequest(params) // -// // Example sending a request using the GetAppsRequest method. -// req, resp := client.GetAppsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApps func (c *Pinpoint) GetAppsRequest(input *GetAppsInput) (req *request.Request, output *GetAppsOutput) { @@ -4231,26 +4230,27 @@ func (c *Pinpoint) GetAppsRequest(input *GetAppsInput) (req *request.Request, ou // API operation GetApps for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApps func (c *Pinpoint) GetApps(input *GetAppsInput) (*GetAppsOutput, error) { @@ -4290,14 +4290,13 @@ const opGetBaiduChannel = "GetBaiduChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBaiduChannelRequest method. +// req, resp := client.GetBaiduChannelRequest(params) // -// // Example sending a request using the GetBaiduChannelRequest method. -// req, resp := client.GetBaiduChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetBaiduChannel func (c *Pinpoint) GetBaiduChannelRequest(input *GetBaiduChannelInput) (req *request.Request, output *GetBaiduChannelOutput) { @@ -4329,26 +4328,27 @@ func (c *Pinpoint) GetBaiduChannelRequest(input *GetBaiduChannelInput) (req *req // API operation GetBaiduChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetBaiduChannel func (c *Pinpoint) GetBaiduChannel(input *GetBaiduChannelInput) (*GetBaiduChannelOutput, error) { @@ -4388,14 +4388,13 @@ const opGetCampaign = "GetCampaign" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCampaignRequest method. +// req, resp := client.GetCampaignRequest(params) // -// // Example sending a request using the GetCampaignRequest method. -// req, resp := client.GetCampaignRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaign func (c *Pinpoint) GetCampaignRequest(input *GetCampaignInput) (req *request.Request, output *GetCampaignOutput) { @@ -4427,26 +4426,27 @@ func (c *Pinpoint) GetCampaignRequest(input *GetCampaignInput) (req *request.Req // API operation GetCampaign for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaign func (c *Pinpoint) GetCampaign(input *GetCampaignInput) (*GetCampaignOutput, error) { @@ -4486,14 +4486,13 @@ const opGetCampaignActivities = "GetCampaignActivities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCampaignActivitiesRequest method. +// req, resp := client.GetCampaignActivitiesRequest(params) // -// // Example sending a request using the GetCampaignActivitiesRequest method. -// req, resp := client.GetCampaignActivitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignActivities func (c *Pinpoint) GetCampaignActivitiesRequest(input *GetCampaignActivitiesInput) (req *request.Request, output *GetCampaignActivitiesOutput) { @@ -4524,26 +4523,27 @@ func (c *Pinpoint) GetCampaignActivitiesRequest(input *GetCampaignActivitiesInpu // API operation GetCampaignActivities for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignActivities func (c *Pinpoint) GetCampaignActivities(input *GetCampaignActivitiesInput) (*GetCampaignActivitiesOutput, error) { @@ -4583,14 +4583,13 @@ const opGetCampaignDateRangeKpi = "GetCampaignDateRangeKpi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCampaignDateRangeKpiRequest method. +// req, resp := client.GetCampaignDateRangeKpiRequest(params) // -// // Example sending a request using the GetCampaignDateRangeKpiRequest method. -// req, resp := client.GetCampaignDateRangeKpiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignDateRangeKpi func (c *Pinpoint) GetCampaignDateRangeKpiRequest(input *GetCampaignDateRangeKpiInput) (req *request.Request, output *GetCampaignDateRangeKpiOutput) { @@ -4622,26 +4621,27 @@ func (c *Pinpoint) GetCampaignDateRangeKpiRequest(input *GetCampaignDateRangeKpi // API operation GetCampaignDateRangeKpi for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignDateRangeKpi func (c *Pinpoint) GetCampaignDateRangeKpi(input *GetCampaignDateRangeKpiInput) (*GetCampaignDateRangeKpiOutput, error) { @@ -4681,14 +4681,13 @@ const opGetCampaignVersion = "GetCampaignVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCampaignVersionRequest method. +// req, resp := client.GetCampaignVersionRequest(params) // -// // Example sending a request using the GetCampaignVersionRequest method. -// req, resp := client.GetCampaignVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersion func (c *Pinpoint) GetCampaignVersionRequest(input *GetCampaignVersionInput) (req *request.Request, output *GetCampaignVersionOutput) { @@ -4720,26 +4719,27 @@ func (c *Pinpoint) GetCampaignVersionRequest(input *GetCampaignVersionInput) (re // API operation GetCampaignVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersion func (c *Pinpoint) GetCampaignVersion(input *GetCampaignVersionInput) (*GetCampaignVersionOutput, error) { @@ -4779,14 +4779,13 @@ const opGetCampaignVersions = "GetCampaignVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCampaignVersionsRequest method. +// req, resp := client.GetCampaignVersionsRequest(params) // -// // Example sending a request using the GetCampaignVersionsRequest method. -// req, resp := client.GetCampaignVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersions func (c *Pinpoint) GetCampaignVersionsRequest(input *GetCampaignVersionsInput) (req *request.Request, output *GetCampaignVersionsOutput) { @@ -4818,26 +4817,27 @@ func (c *Pinpoint) GetCampaignVersionsRequest(input *GetCampaignVersionsInput) ( // API operation GetCampaignVersions for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersions func (c *Pinpoint) GetCampaignVersions(input *GetCampaignVersionsInput) (*GetCampaignVersionsOutput, error) { @@ -4877,14 +4877,13 @@ const opGetCampaigns = "GetCampaigns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCampaignsRequest method. +// req, resp := client.GetCampaignsRequest(params) // -// // Example sending a request using the GetCampaignsRequest method. -// req, resp := client.GetCampaignsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaigns func (c *Pinpoint) GetCampaignsRequest(input *GetCampaignsInput) (req *request.Request, output *GetCampaignsOutput) { @@ -4916,26 +4915,27 @@ func (c *Pinpoint) GetCampaignsRequest(input *GetCampaignsInput) (req *request.R // API operation GetCampaigns for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaigns func (c *Pinpoint) GetCampaigns(input *GetCampaignsInput) (*GetCampaignsOutput, error) { @@ -4975,14 +4975,13 @@ const opGetChannels = "GetChannels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetChannelsRequest method. +// req, resp := client.GetChannelsRequest(params) // -// // Example sending a request using the GetChannelsRequest method. -// req, resp := client.GetChannelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetChannels func (c *Pinpoint) GetChannelsRequest(input *GetChannelsInput) (req *request.Request, output *GetChannelsOutput) { @@ -5014,26 +5013,27 @@ func (c *Pinpoint) GetChannelsRequest(input *GetChannelsInput) (req *request.Req // API operation GetChannels for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetChannels func (c *Pinpoint) GetChannels(input *GetChannelsInput) (*GetChannelsOutput, error) { @@ -5073,14 +5073,13 @@ const opGetEmailChannel = "GetEmailChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEmailChannelRequest method. +// req, resp := client.GetEmailChannelRequest(params) // -// // Example sending a request using the GetEmailChannelRequest method. -// req, resp := client.GetEmailChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEmailChannel func (c *Pinpoint) GetEmailChannelRequest(input *GetEmailChannelInput) (req *request.Request, output *GetEmailChannelOutput) { @@ -5112,26 +5111,27 @@ func (c *Pinpoint) GetEmailChannelRequest(input *GetEmailChannelInput) (req *req // API operation GetEmailChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEmailChannel func (c *Pinpoint) GetEmailChannel(input *GetEmailChannelInput) (*GetEmailChannelOutput, error) { @@ -5171,14 +5171,13 @@ const opGetEmailTemplate = "GetEmailTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEmailTemplateRequest method. +// req, resp := client.GetEmailTemplateRequest(params) // -// // Example sending a request using the GetEmailTemplateRequest method. -// req, resp := client.GetEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEmailTemplate func (c *Pinpoint) GetEmailTemplateRequest(input *GetEmailTemplateInput) (req *request.Request, output *GetEmailTemplateOutput) { @@ -5210,26 +5209,27 @@ func (c *Pinpoint) GetEmailTemplateRequest(input *GetEmailTemplateInput) (req *r // API operation GetEmailTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEmailTemplate func (c *Pinpoint) GetEmailTemplate(input *GetEmailTemplateInput) (*GetEmailTemplateOutput, error) { @@ -5269,14 +5269,13 @@ const opGetEndpoint = "GetEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEndpointRequest method. +// req, resp := client.GetEndpointRequest(params) // -// // Example sending a request using the GetEndpointRequest method. -// req, resp := client.GetEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEndpoint func (c *Pinpoint) GetEndpointRequest(input *GetEndpointInput) (req *request.Request, output *GetEndpointOutput) { @@ -5308,26 +5307,27 @@ func (c *Pinpoint) GetEndpointRequest(input *GetEndpointInput) (req *request.Req // API operation GetEndpoint for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEndpoint func (c *Pinpoint) GetEndpoint(input *GetEndpointInput) (*GetEndpointOutput, error) { @@ -5367,14 +5367,13 @@ const opGetEventStream = "GetEventStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEventStreamRequest method. +// req, resp := client.GetEventStreamRequest(params) // -// // Example sending a request using the GetEventStreamRequest method. -// req, resp := client.GetEventStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEventStream func (c *Pinpoint) GetEventStreamRequest(input *GetEventStreamInput) (req *request.Request, output *GetEventStreamOutput) { @@ -5405,26 +5404,27 @@ func (c *Pinpoint) GetEventStreamRequest(input *GetEventStreamInput) (req *reque // API operation GetEventStream for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEventStream func (c *Pinpoint) GetEventStream(input *GetEventStreamInput) (*GetEventStreamOutput, error) { @@ -5464,14 +5464,13 @@ const opGetExportJob = "GetExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetExportJobRequest method. +// req, resp := client.GetExportJobRequest(params) // -// // Example sending a request using the GetExportJobRequest method. -// req, resp := client.GetExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJob func (c *Pinpoint) GetExportJobRequest(input *GetExportJobInput) (req *request.Request, output *GetExportJobOutput) { @@ -5503,26 +5502,27 @@ func (c *Pinpoint) GetExportJobRequest(input *GetExportJobInput) (req *request.R // API operation GetExportJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJob func (c *Pinpoint) GetExportJob(input *GetExportJobInput) (*GetExportJobOutput, error) { @@ -5562,14 +5562,13 @@ const opGetExportJobs = "GetExportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetExportJobsRequest method. +// req, resp := client.GetExportJobsRequest(params) // -// // Example sending a request using the GetExportJobsRequest method. -// req, resp := client.GetExportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJobs func (c *Pinpoint) GetExportJobsRequest(input *GetExportJobsInput) (req *request.Request, output *GetExportJobsOutput) { @@ -5601,26 +5600,27 @@ func (c *Pinpoint) GetExportJobsRequest(input *GetExportJobsInput) (req *request // API operation GetExportJobs for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetExportJobs func (c *Pinpoint) GetExportJobs(input *GetExportJobsInput) (*GetExportJobsOutput, error) { @@ -5660,14 +5660,13 @@ const opGetGcmChannel = "GetGcmChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGcmChannelRequest method. +// req, resp := client.GetGcmChannelRequest(params) // -// // Example sending a request using the GetGcmChannelRequest method. -// req, resp := client.GetGcmChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetGcmChannel func (c *Pinpoint) GetGcmChannelRequest(input *GetGcmChannelInput) (req *request.Request, output *GetGcmChannelOutput) { @@ -5699,26 +5698,27 @@ func (c *Pinpoint) GetGcmChannelRequest(input *GetGcmChannelInput) (req *request // API operation GetGcmChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetGcmChannel func (c *Pinpoint) GetGcmChannel(input *GetGcmChannelInput) (*GetGcmChannelOutput, error) { @@ -5758,14 +5758,13 @@ const opGetImportJob = "GetImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetImportJobRequest method. +// req, resp := client.GetImportJobRequest(params) // -// // Example sending a request using the GetImportJobRequest method. -// req, resp := client.GetImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJob func (c *Pinpoint) GetImportJobRequest(input *GetImportJobInput) (req *request.Request, output *GetImportJobOutput) { @@ -5797,26 +5796,27 @@ func (c *Pinpoint) GetImportJobRequest(input *GetImportJobInput) (req *request.R // API operation GetImportJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJob func (c *Pinpoint) GetImportJob(input *GetImportJobInput) (*GetImportJobOutput, error) { @@ -5856,14 +5856,13 @@ const opGetImportJobs = "GetImportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetImportJobsRequest method. +// req, resp := client.GetImportJobsRequest(params) // -// // Example sending a request using the GetImportJobsRequest method. -// req, resp := client.GetImportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobs func (c *Pinpoint) GetImportJobsRequest(input *GetImportJobsInput) (req *request.Request, output *GetImportJobsOutput) { @@ -5895,26 +5894,27 @@ func (c *Pinpoint) GetImportJobsRequest(input *GetImportJobsInput) (req *request // API operation GetImportJobs for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetImportJobs func (c *Pinpoint) GetImportJobs(input *GetImportJobsInput) (*GetImportJobsOutput, error) { @@ -5954,14 +5954,13 @@ const opGetInAppMessages = "GetInAppMessages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInAppMessagesRequest method. +// req, resp := client.GetInAppMessagesRequest(params) // -// // Example sending a request using the GetInAppMessagesRequest method. -// req, resp := client.GetInAppMessagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppMessages func (c *Pinpoint) GetInAppMessagesRequest(input *GetInAppMessagesInput) (req *request.Request, output *GetInAppMessagesOutput) { @@ -5992,26 +5991,27 @@ func (c *Pinpoint) GetInAppMessagesRequest(input *GetInAppMessagesInput) (req *r // API operation GetInAppMessages for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppMessages func (c *Pinpoint) GetInAppMessages(input *GetInAppMessagesInput) (*GetInAppMessagesOutput, error) { @@ -6051,14 +6051,13 @@ const opGetInAppTemplate = "GetInAppTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInAppTemplateRequest method. +// req, resp := client.GetInAppTemplateRequest(params) // -// // Example sending a request using the GetInAppTemplateRequest method. -// req, resp := client.GetInAppTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppTemplate func (c *Pinpoint) GetInAppTemplateRequest(input *GetInAppTemplateInput) (req *request.Request, output *GetInAppTemplateOutput) { @@ -6090,26 +6089,27 @@ func (c *Pinpoint) GetInAppTemplateRequest(input *GetInAppTemplateInput) (req *r // API operation GetInAppTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppTemplate func (c *Pinpoint) GetInAppTemplate(input *GetInAppTemplateInput) (*GetInAppTemplateOutput, error) { @@ -6149,14 +6149,13 @@ const opGetJourney = "GetJourney" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJourneyRequest method. +// req, resp := client.GetJourneyRequest(params) // -// // Example sending a request using the GetJourneyRequest method. -// req, resp := client.GetJourneyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetJourney func (c *Pinpoint) GetJourneyRequest(input *GetJourneyInput) (req *request.Request, output *GetJourneyOutput) { @@ -6188,26 +6187,27 @@ func (c *Pinpoint) GetJourneyRequest(input *GetJourneyInput) (req *request.Reque // API operation GetJourney for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetJourney func (c *Pinpoint) GetJourney(input *GetJourneyInput) (*GetJourneyOutput, error) { @@ -6247,14 +6247,13 @@ const opGetJourneyDateRangeKpi = "GetJourneyDateRangeKpi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJourneyDateRangeKpiRequest method. +// req, resp := client.GetJourneyDateRangeKpiRequest(params) // -// // Example sending a request using the GetJourneyDateRangeKpiRequest method. -// req, resp := client.GetJourneyDateRangeKpiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetJourneyDateRangeKpi func (c *Pinpoint) GetJourneyDateRangeKpiRequest(input *GetJourneyDateRangeKpiInput) (req *request.Request, output *GetJourneyDateRangeKpiOutput) { @@ -6286,26 +6285,27 @@ func (c *Pinpoint) GetJourneyDateRangeKpiRequest(input *GetJourneyDateRangeKpiIn // API operation GetJourneyDateRangeKpi for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetJourneyDateRangeKpi func (c *Pinpoint) GetJourneyDateRangeKpi(input *GetJourneyDateRangeKpiInput) (*GetJourneyDateRangeKpiOutput, error) { @@ -6345,14 +6345,13 @@ const opGetJourneyExecutionActivityMetrics = "GetJourneyExecutionActivityMetrics // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJourneyExecutionActivityMetricsRequest method. +// req, resp := client.GetJourneyExecutionActivityMetricsRequest(params) // -// // Example sending a request using the GetJourneyExecutionActivityMetricsRequest method. -// req, resp := client.GetJourneyExecutionActivityMetricsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetJourneyExecutionActivityMetrics func (c *Pinpoint) GetJourneyExecutionActivityMetricsRequest(input *GetJourneyExecutionActivityMetricsInput) (req *request.Request, output *GetJourneyExecutionActivityMetricsOutput) { @@ -6384,26 +6383,27 @@ func (c *Pinpoint) GetJourneyExecutionActivityMetricsRequest(input *GetJourneyEx // API operation GetJourneyExecutionActivityMetrics for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetJourneyExecutionActivityMetrics func (c *Pinpoint) GetJourneyExecutionActivityMetrics(input *GetJourneyExecutionActivityMetricsInput) (*GetJourneyExecutionActivityMetricsOutput, error) { @@ -6443,14 +6443,13 @@ const opGetJourneyExecutionMetrics = "GetJourneyExecutionMetrics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJourneyExecutionMetricsRequest method. +// req, resp := client.GetJourneyExecutionMetricsRequest(params) // -// // Example sending a request using the GetJourneyExecutionMetricsRequest method. -// req, resp := client.GetJourneyExecutionMetricsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetJourneyExecutionMetrics func (c *Pinpoint) GetJourneyExecutionMetricsRequest(input *GetJourneyExecutionMetricsInput) (req *request.Request, output *GetJourneyExecutionMetricsOutput) { @@ -6482,26 +6481,27 @@ func (c *Pinpoint) GetJourneyExecutionMetricsRequest(input *GetJourneyExecutionM // API operation GetJourneyExecutionMetrics for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetJourneyExecutionMetrics func (c *Pinpoint) GetJourneyExecutionMetrics(input *GetJourneyExecutionMetricsInput) (*GetJourneyExecutionMetricsOutput, error) { @@ -6541,14 +6541,13 @@ const opGetPushTemplate = "GetPushTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPushTemplateRequest method. +// req, resp := client.GetPushTemplateRequest(params) // -// // Example sending a request using the GetPushTemplateRequest method. -// req, resp := client.GetPushTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetPushTemplate func (c *Pinpoint) GetPushTemplateRequest(input *GetPushTemplateInput) (req *request.Request, output *GetPushTemplateOutput) { @@ -6580,26 +6579,27 @@ func (c *Pinpoint) GetPushTemplateRequest(input *GetPushTemplateInput) (req *req // API operation GetPushTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetPushTemplate func (c *Pinpoint) GetPushTemplate(input *GetPushTemplateInput) (*GetPushTemplateOutput, error) { @@ -6639,14 +6639,13 @@ const opGetRecommenderConfiguration = "GetRecommenderConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRecommenderConfigurationRequest method. +// req, resp := client.GetRecommenderConfigurationRequest(params) // -// // Example sending a request using the GetRecommenderConfigurationRequest method. -// req, resp := client.GetRecommenderConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetRecommenderConfiguration func (c *Pinpoint) GetRecommenderConfigurationRequest(input *GetRecommenderConfigurationInput) (req *request.Request, output *GetRecommenderConfigurationOutput) { @@ -6678,26 +6677,27 @@ func (c *Pinpoint) GetRecommenderConfigurationRequest(input *GetRecommenderConfi // API operation GetRecommenderConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetRecommenderConfiguration func (c *Pinpoint) GetRecommenderConfiguration(input *GetRecommenderConfigurationInput) (*GetRecommenderConfigurationOutput, error) { @@ -6737,14 +6737,13 @@ const opGetRecommenderConfigurations = "GetRecommenderConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRecommenderConfigurationsRequest method. +// req, resp := client.GetRecommenderConfigurationsRequest(params) // -// // Example sending a request using the GetRecommenderConfigurationsRequest method. -// req, resp := client.GetRecommenderConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetRecommenderConfigurations func (c *Pinpoint) GetRecommenderConfigurationsRequest(input *GetRecommenderConfigurationsInput) (req *request.Request, output *GetRecommenderConfigurationsOutput) { @@ -6776,26 +6775,27 @@ func (c *Pinpoint) GetRecommenderConfigurationsRequest(input *GetRecommenderConf // API operation GetRecommenderConfigurations for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetRecommenderConfigurations func (c *Pinpoint) GetRecommenderConfigurations(input *GetRecommenderConfigurationsInput) (*GetRecommenderConfigurationsOutput, error) { @@ -6835,14 +6835,13 @@ const opGetSegment = "GetSegment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSegmentRequest method. +// req, resp := client.GetSegmentRequest(params) // -// // Example sending a request using the GetSegmentRequest method. -// req, resp := client.GetSegmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegment func (c *Pinpoint) GetSegmentRequest(input *GetSegmentInput) (req *request.Request, output *GetSegmentOutput) { @@ -6874,26 +6873,27 @@ func (c *Pinpoint) GetSegmentRequest(input *GetSegmentInput) (req *request.Reque // API operation GetSegment for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegment func (c *Pinpoint) GetSegment(input *GetSegmentInput) (*GetSegmentOutput, error) { @@ -6933,14 +6933,13 @@ const opGetSegmentExportJobs = "GetSegmentExportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSegmentExportJobsRequest method. +// req, resp := client.GetSegmentExportJobsRequest(params) // -// // Example sending a request using the GetSegmentExportJobsRequest method. -// req, resp := client.GetSegmentExportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentExportJobs func (c *Pinpoint) GetSegmentExportJobsRequest(input *GetSegmentExportJobsInput) (req *request.Request, output *GetSegmentExportJobsOutput) { @@ -6972,26 +6971,27 @@ func (c *Pinpoint) GetSegmentExportJobsRequest(input *GetSegmentExportJobsInput) // API operation GetSegmentExportJobs for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentExportJobs func (c *Pinpoint) GetSegmentExportJobs(input *GetSegmentExportJobsInput) (*GetSegmentExportJobsOutput, error) { @@ -7031,14 +7031,13 @@ const opGetSegmentImportJobs = "GetSegmentImportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSegmentImportJobsRequest method. +// req, resp := client.GetSegmentImportJobsRequest(params) // -// // Example sending a request using the GetSegmentImportJobsRequest method. -// req, resp := client.GetSegmentImportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentImportJobs func (c *Pinpoint) GetSegmentImportJobsRequest(input *GetSegmentImportJobsInput) (req *request.Request, output *GetSegmentImportJobsOutput) { @@ -7070,26 +7069,27 @@ func (c *Pinpoint) GetSegmentImportJobsRequest(input *GetSegmentImportJobsInput) // API operation GetSegmentImportJobs for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentImportJobs func (c *Pinpoint) GetSegmentImportJobs(input *GetSegmentImportJobsInput) (*GetSegmentImportJobsOutput, error) { @@ -7129,14 +7129,13 @@ const opGetSegmentVersion = "GetSegmentVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSegmentVersionRequest method. +// req, resp := client.GetSegmentVersionRequest(params) // -// // Example sending a request using the GetSegmentVersionRequest method. -// req, resp := client.GetSegmentVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersion func (c *Pinpoint) GetSegmentVersionRequest(input *GetSegmentVersionInput) (req *request.Request, output *GetSegmentVersionOutput) { @@ -7168,26 +7167,27 @@ func (c *Pinpoint) GetSegmentVersionRequest(input *GetSegmentVersionInput) (req // API operation GetSegmentVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersion func (c *Pinpoint) GetSegmentVersion(input *GetSegmentVersionInput) (*GetSegmentVersionOutput, error) { @@ -7227,14 +7227,13 @@ const opGetSegmentVersions = "GetSegmentVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSegmentVersionsRequest method. +// req, resp := client.GetSegmentVersionsRequest(params) // -// // Example sending a request using the GetSegmentVersionsRequest method. -// req, resp := client.GetSegmentVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersions func (c *Pinpoint) GetSegmentVersionsRequest(input *GetSegmentVersionsInput) (req *request.Request, output *GetSegmentVersionsOutput) { @@ -7266,26 +7265,27 @@ func (c *Pinpoint) GetSegmentVersionsRequest(input *GetSegmentVersionsInput) (re // API operation GetSegmentVersions for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersions func (c *Pinpoint) GetSegmentVersions(input *GetSegmentVersionsInput) (*GetSegmentVersionsOutput, error) { @@ -7325,14 +7325,13 @@ const opGetSegments = "GetSegments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSegmentsRequest method. +// req, resp := client.GetSegmentsRequest(params) // -// // Example sending a request using the GetSegmentsRequest method. -// req, resp := client.GetSegmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegments func (c *Pinpoint) GetSegmentsRequest(input *GetSegmentsInput) (req *request.Request, output *GetSegmentsOutput) { @@ -7364,26 +7363,27 @@ func (c *Pinpoint) GetSegmentsRequest(input *GetSegmentsInput) (req *request.Req // API operation GetSegments for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegments func (c *Pinpoint) GetSegments(input *GetSegmentsInput) (*GetSegmentsOutput, error) { @@ -7423,14 +7423,13 @@ const opGetSmsChannel = "GetSmsChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSmsChannelRequest method. +// req, resp := client.GetSmsChannelRequest(params) // -// // Example sending a request using the GetSmsChannelRequest method. -// req, resp := client.GetSmsChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsChannel func (c *Pinpoint) GetSmsChannelRequest(input *GetSmsChannelInput) (req *request.Request, output *GetSmsChannelOutput) { @@ -7462,26 +7461,27 @@ func (c *Pinpoint) GetSmsChannelRequest(input *GetSmsChannelInput) (req *request // API operation GetSmsChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsChannel func (c *Pinpoint) GetSmsChannel(input *GetSmsChannelInput) (*GetSmsChannelOutput, error) { @@ -7521,14 +7521,13 @@ const opGetSmsTemplate = "GetSmsTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSmsTemplateRequest method. +// req, resp := client.GetSmsTemplateRequest(params) // -// // Example sending a request using the GetSmsTemplateRequest method. -// req, resp := client.GetSmsTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsTemplate func (c *Pinpoint) GetSmsTemplateRequest(input *GetSmsTemplateInput) (req *request.Request, output *GetSmsTemplateOutput) { @@ -7560,26 +7559,27 @@ func (c *Pinpoint) GetSmsTemplateRequest(input *GetSmsTemplateInput) (req *reque // API operation GetSmsTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsTemplate func (c *Pinpoint) GetSmsTemplate(input *GetSmsTemplateInput) (*GetSmsTemplateOutput, error) { @@ -7619,14 +7619,13 @@ const opGetUserEndpoints = "GetUserEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUserEndpointsRequest method. +// req, resp := client.GetUserEndpointsRequest(params) // -// // Example sending a request using the GetUserEndpointsRequest method. -// req, resp := client.GetUserEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetUserEndpoints func (c *Pinpoint) GetUserEndpointsRequest(input *GetUserEndpointsInput) (req *request.Request, output *GetUserEndpointsOutput) { @@ -7658,26 +7657,27 @@ func (c *Pinpoint) GetUserEndpointsRequest(input *GetUserEndpointsInput) (req *r // API operation GetUserEndpoints for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetUserEndpoints func (c *Pinpoint) GetUserEndpoints(input *GetUserEndpointsInput) (*GetUserEndpointsOutput, error) { @@ -7717,14 +7717,13 @@ const opGetVoiceChannel = "GetVoiceChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVoiceChannelRequest method. +// req, resp := client.GetVoiceChannelRequest(params) // -// // Example sending a request using the GetVoiceChannelRequest method. -// req, resp := client.GetVoiceChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetVoiceChannel func (c *Pinpoint) GetVoiceChannelRequest(input *GetVoiceChannelInput) (req *request.Request, output *GetVoiceChannelOutput) { @@ -7756,26 +7755,27 @@ func (c *Pinpoint) GetVoiceChannelRequest(input *GetVoiceChannelInput) (req *req // API operation GetVoiceChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetVoiceChannel func (c *Pinpoint) GetVoiceChannel(input *GetVoiceChannelInput) (*GetVoiceChannelOutput, error) { @@ -7815,14 +7815,13 @@ const opGetVoiceTemplate = "GetVoiceTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVoiceTemplateRequest method. +// req, resp := client.GetVoiceTemplateRequest(params) // -// // Example sending a request using the GetVoiceTemplateRequest method. -// req, resp := client.GetVoiceTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetVoiceTemplate func (c *Pinpoint) GetVoiceTemplateRequest(input *GetVoiceTemplateInput) (req *request.Request, output *GetVoiceTemplateOutput) { @@ -7854,26 +7853,27 @@ func (c *Pinpoint) GetVoiceTemplateRequest(input *GetVoiceTemplateInput) (req *r // API operation GetVoiceTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetVoiceTemplate func (c *Pinpoint) GetVoiceTemplate(input *GetVoiceTemplateInput) (*GetVoiceTemplateOutput, error) { @@ -7913,14 +7913,13 @@ const opListJourneys = "ListJourneys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJourneysRequest method. +// req, resp := client.ListJourneysRequest(params) // -// // Example sending a request using the ListJourneysRequest method. -// req, resp := client.ListJourneysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ListJourneys func (c *Pinpoint) ListJourneysRequest(input *ListJourneysInput) (req *request.Request, output *ListJourneysOutput) { @@ -7952,26 +7951,27 @@ func (c *Pinpoint) ListJourneysRequest(input *ListJourneysInput) (req *request.R // API operation ListJourneys for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ListJourneys func (c *Pinpoint) ListJourneys(input *ListJourneysInput) (*ListJourneysOutput, error) { @@ -8011,14 +8011,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ListTagsForResource func (c *Pinpoint) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -8086,14 +8085,13 @@ const opListTemplateVersions = "ListTemplateVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTemplateVersionsRequest method. +// req, resp := client.ListTemplateVersionsRequest(params) // -// // Example sending a request using the ListTemplateVersionsRequest method. -// req, resp := client.ListTemplateVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ListTemplateVersions func (c *Pinpoint) ListTemplateVersionsRequest(input *ListTemplateVersionsInput) (req *request.Request, output *ListTemplateVersionsOutput) { @@ -8124,26 +8122,27 @@ func (c *Pinpoint) ListTemplateVersionsRequest(input *ListTemplateVersionsInput) // API operation ListTemplateVersions for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ListTemplateVersions func (c *Pinpoint) ListTemplateVersions(input *ListTemplateVersionsInput) (*ListTemplateVersionsOutput, error) { @@ -8183,14 +8182,13 @@ const opListTemplates = "ListTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTemplatesRequest method. +// req, resp := client.ListTemplatesRequest(params) // -// // Example sending a request using the ListTemplatesRequest method. -// req, resp := client.ListTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ListTemplates func (c *Pinpoint) ListTemplatesRequest(input *ListTemplatesInput) (req *request.Request, output *ListTemplatesOutput) { @@ -8222,20 +8220,21 @@ func (c *Pinpoint) ListTemplatesRequest(input *ListTemplatesInput) (req *request // API operation ListTemplates for usage and error information. // // Returned Error Types: -// * MethodNotAllowedException -// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // -// * BadRequestException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ListTemplates func (c *Pinpoint) ListTemplates(input *ListTemplatesInput) (*ListTemplatesOutput, error) { @@ -8275,14 +8274,13 @@ const opPhoneNumberValidate = "PhoneNumberValidate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PhoneNumberValidateRequest method. +// req, resp := client.PhoneNumberValidateRequest(params) // -// // Example sending a request using the PhoneNumberValidateRequest method. -// req, resp := client.PhoneNumberValidateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PhoneNumberValidate func (c *Pinpoint) PhoneNumberValidateRequest(input *PhoneNumberValidateInput) (req *request.Request, output *PhoneNumberValidateOutput) { @@ -8313,26 +8311,27 @@ func (c *Pinpoint) PhoneNumberValidateRequest(input *PhoneNumberValidateInput) ( // API operation PhoneNumberValidate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PhoneNumberValidate func (c *Pinpoint) PhoneNumberValidate(input *PhoneNumberValidateInput) (*PhoneNumberValidateOutput, error) { @@ -8372,14 +8371,13 @@ const opPutEventStream = "PutEventStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEventStreamRequest method. +// req, resp := client.PutEventStreamRequest(params) // -// // Example sending a request using the PutEventStreamRequest method. -// req, resp := client.PutEventStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventStream func (c *Pinpoint) PutEventStreamRequest(input *PutEventStreamInput) (req *request.Request, output *PutEventStreamOutput) { @@ -8411,26 +8409,27 @@ func (c *Pinpoint) PutEventStreamRequest(input *PutEventStreamInput) (req *reque // API operation PutEventStream for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventStream func (c *Pinpoint) PutEventStream(input *PutEventStreamInput) (*PutEventStreamOutput, error) { @@ -8470,14 +8469,13 @@ const opPutEvents = "PutEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEventsRequest method. +// req, resp := client.PutEventsRequest(params) // -// // Example sending a request using the PutEventsRequest method. -// req, resp := client.PutEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEvents func (c *Pinpoint) PutEventsRequest(input *PutEventsInput) (req *request.Request, output *PutEventsOutput) { @@ -8509,26 +8507,27 @@ func (c *Pinpoint) PutEventsRequest(input *PutEventsInput) (req *request.Request // API operation PutEvents for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEvents func (c *Pinpoint) PutEvents(input *PutEventsInput) (*PutEventsOutput, error) { @@ -8568,14 +8567,13 @@ const opRemoveAttributes = "RemoveAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveAttributesRequest method. +// req, resp := client.RemoveAttributesRequest(params) // -// // Example sending a request using the RemoveAttributesRequest method. -// req, resp := client.RemoveAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/RemoveAttributes func (c *Pinpoint) RemoveAttributesRequest(input *RemoveAttributesInput) (req *request.Request, output *RemoveAttributesOutput) { @@ -8607,26 +8605,27 @@ func (c *Pinpoint) RemoveAttributesRequest(input *RemoveAttributesInput) (req *r // API operation RemoveAttributes for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/RemoveAttributes func (c *Pinpoint) RemoveAttributes(input *RemoveAttributesInput) (*RemoveAttributesOutput, error) { @@ -8666,14 +8665,13 @@ const opSendMessages = "SendMessages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendMessagesRequest method. +// req, resp := client.SendMessagesRequest(params) // -// // Example sending a request using the SendMessagesRequest method. -// req, resp := client.SendMessagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendMessages func (c *Pinpoint) SendMessagesRequest(input *SendMessagesInput) (req *request.Request, output *SendMessagesOutput) { @@ -8704,26 +8702,27 @@ func (c *Pinpoint) SendMessagesRequest(input *SendMessagesInput) (req *request.R // API operation SendMessages for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendMessages func (c *Pinpoint) SendMessages(input *SendMessagesInput) (*SendMessagesOutput, error) { @@ -8763,14 +8762,13 @@ const opSendOTPMessage = "SendOTPMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendOTPMessageRequest method. +// req, resp := client.SendOTPMessageRequest(params) // -// // Example sending a request using the SendOTPMessageRequest method. -// req, resp := client.SendOTPMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendOTPMessage func (c *Pinpoint) SendOTPMessageRequest(input *SendOTPMessageInput) (req *request.Request, output *SendOTPMessageOutput) { @@ -8791,7 +8789,7 @@ func (c *Pinpoint) SendOTPMessageRequest(input *SendOTPMessageInput) (req *reque // SendOTPMessage API operation for Amazon Pinpoint. // -// Send an OTP message +// # Send an OTP message // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8801,26 +8799,27 @@ func (c *Pinpoint) SendOTPMessageRequest(input *SendOTPMessageInput) (req *reque // API operation SendOTPMessage for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendOTPMessage func (c *Pinpoint) SendOTPMessage(input *SendOTPMessageInput) (*SendOTPMessageOutput, error) { @@ -8860,14 +8859,13 @@ const opSendUsersMessages = "SendUsersMessages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendUsersMessagesRequest method. +// req, resp := client.SendUsersMessagesRequest(params) // -// // Example sending a request using the SendUsersMessagesRequest method. -// req, resp := client.SendUsersMessagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessages func (c *Pinpoint) SendUsersMessagesRequest(input *SendUsersMessagesInput) (req *request.Request, output *SendUsersMessagesOutput) { @@ -8898,26 +8896,27 @@ func (c *Pinpoint) SendUsersMessagesRequest(input *SendUsersMessagesInput) (req // API operation SendUsersMessages for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/SendUsersMessages func (c *Pinpoint) SendUsersMessages(input *SendUsersMessagesInput) (*SendUsersMessagesOutput, error) { @@ -8957,14 +8956,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/TagResource func (c *Pinpoint) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -9033,14 +9031,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UntagResource func (c *Pinpoint) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -9109,14 +9106,13 @@ const opUpdateAdmChannel = "UpdateAdmChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAdmChannelRequest method. +// req, resp := client.UpdateAdmChannelRequest(params) // -// // Example sending a request using the UpdateAdmChannelRequest method. -// req, resp := client.UpdateAdmChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateAdmChannel func (c *Pinpoint) UpdateAdmChannelRequest(input *UpdateAdmChannelInput) (req *request.Request, output *UpdateAdmChannelOutput) { @@ -9148,26 +9144,27 @@ func (c *Pinpoint) UpdateAdmChannelRequest(input *UpdateAdmChannelInput) (req *r // API operation UpdateAdmChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateAdmChannel func (c *Pinpoint) UpdateAdmChannel(input *UpdateAdmChannelInput) (*UpdateAdmChannelOutput, error) { @@ -9207,14 +9204,13 @@ const opUpdateApnsChannel = "UpdateApnsChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApnsChannelRequest method. +// req, resp := client.UpdateApnsChannelRequest(params) // -// // Example sending a request using the UpdateApnsChannelRequest method. -// req, resp := client.UpdateApnsChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsChannel func (c *Pinpoint) UpdateApnsChannelRequest(input *UpdateApnsChannelInput) (req *request.Request, output *UpdateApnsChannelOutput) { @@ -9246,26 +9242,27 @@ func (c *Pinpoint) UpdateApnsChannelRequest(input *UpdateApnsChannelInput) (req // API operation UpdateApnsChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsChannel func (c *Pinpoint) UpdateApnsChannel(input *UpdateApnsChannelInput) (*UpdateApnsChannelOutput, error) { @@ -9305,14 +9302,13 @@ const opUpdateApnsSandboxChannel = "UpdateApnsSandboxChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApnsSandboxChannelRequest method. +// req, resp := client.UpdateApnsSandboxChannelRequest(params) // -// // Example sending a request using the UpdateApnsSandboxChannelRequest method. -// req, resp := client.UpdateApnsSandboxChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsSandboxChannel func (c *Pinpoint) UpdateApnsSandboxChannelRequest(input *UpdateApnsSandboxChannelInput) (req *request.Request, output *UpdateApnsSandboxChannelOutput) { @@ -9344,26 +9340,27 @@ func (c *Pinpoint) UpdateApnsSandboxChannelRequest(input *UpdateApnsSandboxChann // API operation UpdateApnsSandboxChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsSandboxChannel func (c *Pinpoint) UpdateApnsSandboxChannel(input *UpdateApnsSandboxChannelInput) (*UpdateApnsSandboxChannelOutput, error) { @@ -9403,14 +9400,13 @@ const opUpdateApnsVoipChannel = "UpdateApnsVoipChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApnsVoipChannelRequest method. +// req, resp := client.UpdateApnsVoipChannelRequest(params) // -// // Example sending a request using the UpdateApnsVoipChannelRequest method. -// req, resp := client.UpdateApnsVoipChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipChannel func (c *Pinpoint) UpdateApnsVoipChannelRequest(input *UpdateApnsVoipChannelInput) (req *request.Request, output *UpdateApnsVoipChannelOutput) { @@ -9442,26 +9438,27 @@ func (c *Pinpoint) UpdateApnsVoipChannelRequest(input *UpdateApnsVoipChannelInpu // API operation UpdateApnsVoipChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipChannel func (c *Pinpoint) UpdateApnsVoipChannel(input *UpdateApnsVoipChannelInput) (*UpdateApnsVoipChannelOutput, error) { @@ -9501,14 +9498,13 @@ const opUpdateApnsVoipSandboxChannel = "UpdateApnsVoipSandboxChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApnsVoipSandboxChannelRequest method. +// req, resp := client.UpdateApnsVoipSandboxChannelRequest(params) // -// // Example sending a request using the UpdateApnsVoipSandboxChannelRequest method. -// req, resp := client.UpdateApnsVoipSandboxChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipSandboxChannel func (c *Pinpoint) UpdateApnsVoipSandboxChannelRequest(input *UpdateApnsVoipSandboxChannelInput) (req *request.Request, output *UpdateApnsVoipSandboxChannelOutput) { @@ -9540,26 +9536,27 @@ func (c *Pinpoint) UpdateApnsVoipSandboxChannelRequest(input *UpdateApnsVoipSand // API operation UpdateApnsVoipSandboxChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipSandboxChannel func (c *Pinpoint) UpdateApnsVoipSandboxChannel(input *UpdateApnsVoipSandboxChannelInput) (*UpdateApnsVoipSandboxChannelOutput, error) { @@ -9599,14 +9596,13 @@ const opUpdateApplicationSettings = "UpdateApplicationSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationSettingsRequest method. +// req, resp := client.UpdateApplicationSettingsRequest(params) // -// // Example sending a request using the UpdateApplicationSettingsRequest method. -// req, resp := client.UpdateApplicationSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApplicationSettings func (c *Pinpoint) UpdateApplicationSettingsRequest(input *UpdateApplicationSettingsInput) (req *request.Request, output *UpdateApplicationSettingsOutput) { @@ -9637,26 +9633,27 @@ func (c *Pinpoint) UpdateApplicationSettingsRequest(input *UpdateApplicationSett // API operation UpdateApplicationSettings for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApplicationSettings func (c *Pinpoint) UpdateApplicationSettings(input *UpdateApplicationSettingsInput) (*UpdateApplicationSettingsOutput, error) { @@ -9696,14 +9693,13 @@ const opUpdateBaiduChannel = "UpdateBaiduChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBaiduChannelRequest method. +// req, resp := client.UpdateBaiduChannelRequest(params) // -// // Example sending a request using the UpdateBaiduChannelRequest method. -// req, resp := client.UpdateBaiduChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateBaiduChannel func (c *Pinpoint) UpdateBaiduChannelRequest(input *UpdateBaiduChannelInput) (req *request.Request, output *UpdateBaiduChannelOutput) { @@ -9735,26 +9731,27 @@ func (c *Pinpoint) UpdateBaiduChannelRequest(input *UpdateBaiduChannelInput) (re // API operation UpdateBaiduChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateBaiduChannel func (c *Pinpoint) UpdateBaiduChannel(input *UpdateBaiduChannelInput) (*UpdateBaiduChannelOutput, error) { @@ -9794,14 +9791,13 @@ const opUpdateCampaign = "UpdateCampaign" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCampaignRequest method. +// req, resp := client.UpdateCampaignRequest(params) // -// // Example sending a request using the UpdateCampaignRequest method. -// req, resp := client.UpdateCampaignRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateCampaign func (c *Pinpoint) UpdateCampaignRequest(input *UpdateCampaignInput) (req *request.Request, output *UpdateCampaignOutput) { @@ -9832,26 +9828,27 @@ func (c *Pinpoint) UpdateCampaignRequest(input *UpdateCampaignInput) (req *reque // API operation UpdateCampaign for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateCampaign func (c *Pinpoint) UpdateCampaign(input *UpdateCampaignInput) (*UpdateCampaignOutput, error) { @@ -9891,14 +9888,13 @@ const opUpdateEmailChannel = "UpdateEmailChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEmailChannelRequest method. +// req, resp := client.UpdateEmailChannelRequest(params) // -// // Example sending a request using the UpdateEmailChannelRequest method. -// req, resp := client.UpdateEmailChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEmailChannel func (c *Pinpoint) UpdateEmailChannelRequest(input *UpdateEmailChannelInput) (req *request.Request, output *UpdateEmailChannelOutput) { @@ -9930,26 +9926,27 @@ func (c *Pinpoint) UpdateEmailChannelRequest(input *UpdateEmailChannelInput) (re // API operation UpdateEmailChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEmailChannel func (c *Pinpoint) UpdateEmailChannel(input *UpdateEmailChannelInput) (*UpdateEmailChannelOutput, error) { @@ -9989,14 +9986,13 @@ const opUpdateEmailTemplate = "UpdateEmailTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEmailTemplateRequest method. +// req, resp := client.UpdateEmailTemplateRequest(params) // -// // Example sending a request using the UpdateEmailTemplateRequest method. -// req, resp := client.UpdateEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEmailTemplate func (c *Pinpoint) UpdateEmailTemplateRequest(input *UpdateEmailTemplateInput) (req *request.Request, output *UpdateEmailTemplateOutput) { @@ -10028,26 +10024,27 @@ func (c *Pinpoint) UpdateEmailTemplateRequest(input *UpdateEmailTemplateInput) ( // API operation UpdateEmailTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEmailTemplate func (c *Pinpoint) UpdateEmailTemplate(input *UpdateEmailTemplateInput) (*UpdateEmailTemplateOutput, error) { @@ -10087,14 +10084,13 @@ const opUpdateEndpoint = "UpdateEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEndpointRequest method. +// req, resp := client.UpdateEndpointRequest(params) // -// // Example sending a request using the UpdateEndpointRequest method. -// req, resp := client.UpdateEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpoint func (c *Pinpoint) UpdateEndpointRequest(input *UpdateEndpointInput) (req *request.Request, output *UpdateEndpointOutput) { @@ -10129,26 +10125,27 @@ func (c *Pinpoint) UpdateEndpointRequest(input *UpdateEndpointInput) (req *reque // API operation UpdateEndpoint for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpoint func (c *Pinpoint) UpdateEndpoint(input *UpdateEndpointInput) (*UpdateEndpointOutput, error) { @@ -10188,14 +10185,13 @@ const opUpdateEndpointsBatch = "UpdateEndpointsBatch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEndpointsBatchRequest method. +// req, resp := client.UpdateEndpointsBatchRequest(params) // -// // Example sending a request using the UpdateEndpointsBatchRequest method. -// req, resp := client.UpdateEndpointsBatchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointsBatch func (c *Pinpoint) UpdateEndpointsBatchRequest(input *UpdateEndpointsBatchInput) (req *request.Request, output *UpdateEndpointsBatchOutput) { @@ -10230,26 +10226,27 @@ func (c *Pinpoint) UpdateEndpointsBatchRequest(input *UpdateEndpointsBatchInput) // API operation UpdateEndpointsBatch for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateEndpointsBatch func (c *Pinpoint) UpdateEndpointsBatch(input *UpdateEndpointsBatchInput) (*UpdateEndpointsBatchOutput, error) { @@ -10289,14 +10286,13 @@ const opUpdateGcmChannel = "UpdateGcmChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGcmChannelRequest method. +// req, resp := client.UpdateGcmChannelRequest(params) // -// // Example sending a request using the UpdateGcmChannelRequest method. -// req, resp := client.UpdateGcmChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateGcmChannel func (c *Pinpoint) UpdateGcmChannelRequest(input *UpdateGcmChannelInput) (req *request.Request, output *UpdateGcmChannelOutput) { @@ -10328,26 +10324,27 @@ func (c *Pinpoint) UpdateGcmChannelRequest(input *UpdateGcmChannelInput) (req *r // API operation UpdateGcmChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateGcmChannel func (c *Pinpoint) UpdateGcmChannel(input *UpdateGcmChannelInput) (*UpdateGcmChannelOutput, error) { @@ -10387,14 +10384,13 @@ const opUpdateInAppTemplate = "UpdateInAppTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateInAppTemplateRequest method. +// req, resp := client.UpdateInAppTemplateRequest(params) // -// // Example sending a request using the UpdateInAppTemplateRequest method. -// req, resp := client.UpdateInAppTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateInAppTemplate func (c *Pinpoint) UpdateInAppTemplateRequest(input *UpdateInAppTemplateInput) (req *request.Request, output *UpdateInAppTemplateOutput) { @@ -10426,26 +10422,27 @@ func (c *Pinpoint) UpdateInAppTemplateRequest(input *UpdateInAppTemplateInput) ( // API operation UpdateInAppTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateInAppTemplate func (c *Pinpoint) UpdateInAppTemplate(input *UpdateInAppTemplateInput) (*UpdateInAppTemplateOutput, error) { @@ -10485,14 +10482,13 @@ const opUpdateJourney = "UpdateJourney" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateJourneyRequest method. +// req, resp := client.UpdateJourneyRequest(params) // -// // Example sending a request using the UpdateJourneyRequest method. -// req, resp := client.UpdateJourneyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateJourney func (c *Pinpoint) UpdateJourneyRequest(input *UpdateJourneyInput) (req *request.Request, output *UpdateJourneyOutput) { @@ -10523,29 +10519,30 @@ func (c *Pinpoint) UpdateJourneyRequest(input *UpdateJourneyInput) (req *request // API operation UpdateJourney for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * ConflictException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. +// +// - ConflictException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateJourney func (c *Pinpoint) UpdateJourney(input *UpdateJourneyInput) (*UpdateJourneyOutput, error) { @@ -10585,14 +10582,13 @@ const opUpdateJourneyState = "UpdateJourneyState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateJourneyStateRequest method. +// req, resp := client.UpdateJourneyStateRequest(params) // -// // Example sending a request using the UpdateJourneyStateRequest method. -// req, resp := client.UpdateJourneyStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateJourneyState func (c *Pinpoint) UpdateJourneyStateRequest(input *UpdateJourneyStateInput) (req *request.Request, output *UpdateJourneyStateOutput) { @@ -10623,26 +10619,27 @@ func (c *Pinpoint) UpdateJourneyStateRequest(input *UpdateJourneyStateInput) (re // API operation UpdateJourneyState for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateJourneyState func (c *Pinpoint) UpdateJourneyState(input *UpdateJourneyStateInput) (*UpdateJourneyStateOutput, error) { @@ -10682,14 +10679,13 @@ const opUpdatePushTemplate = "UpdatePushTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePushTemplateRequest method. +// req, resp := client.UpdatePushTemplateRequest(params) // -// // Example sending a request using the UpdatePushTemplateRequest method. -// req, resp := client.UpdatePushTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdatePushTemplate func (c *Pinpoint) UpdatePushTemplateRequest(input *UpdatePushTemplateInput) (req *request.Request, output *UpdatePushTemplateOutput) { @@ -10721,26 +10717,27 @@ func (c *Pinpoint) UpdatePushTemplateRequest(input *UpdatePushTemplateInput) (re // API operation UpdatePushTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdatePushTemplate func (c *Pinpoint) UpdatePushTemplate(input *UpdatePushTemplateInput) (*UpdatePushTemplateOutput, error) { @@ -10780,14 +10777,13 @@ const opUpdateRecommenderConfiguration = "UpdateRecommenderConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRecommenderConfigurationRequest method. +// req, resp := client.UpdateRecommenderConfigurationRequest(params) // -// // Example sending a request using the UpdateRecommenderConfigurationRequest method. -// req, resp := client.UpdateRecommenderConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateRecommenderConfiguration func (c *Pinpoint) UpdateRecommenderConfigurationRequest(input *UpdateRecommenderConfigurationInput) (req *request.Request, output *UpdateRecommenderConfigurationOutput) { @@ -10818,26 +10814,27 @@ func (c *Pinpoint) UpdateRecommenderConfigurationRequest(input *UpdateRecommende // API operation UpdateRecommenderConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateRecommenderConfiguration func (c *Pinpoint) UpdateRecommenderConfiguration(input *UpdateRecommenderConfigurationInput) (*UpdateRecommenderConfigurationOutput, error) { @@ -10877,14 +10874,13 @@ const opUpdateSegment = "UpdateSegment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSegmentRequest method. +// req, resp := client.UpdateSegmentRequest(params) // -// // Example sending a request using the UpdateSegmentRequest method. -// req, resp := client.UpdateSegmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSegment func (c *Pinpoint) UpdateSegmentRequest(input *UpdateSegmentInput) (req *request.Request, output *UpdateSegmentOutput) { @@ -10916,26 +10912,27 @@ func (c *Pinpoint) UpdateSegmentRequest(input *UpdateSegmentInput) (req *request // API operation UpdateSegment for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSegment func (c *Pinpoint) UpdateSegment(input *UpdateSegmentInput) (*UpdateSegmentOutput, error) { @@ -10975,14 +10972,13 @@ const opUpdateSmsChannel = "UpdateSmsChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSmsChannelRequest method. +// req, resp := client.UpdateSmsChannelRequest(params) // -// // Example sending a request using the UpdateSmsChannelRequest method. -// req, resp := client.UpdateSmsChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSmsChannel func (c *Pinpoint) UpdateSmsChannelRequest(input *UpdateSmsChannelInput) (req *request.Request, output *UpdateSmsChannelOutput) { @@ -11014,26 +11010,27 @@ func (c *Pinpoint) UpdateSmsChannelRequest(input *UpdateSmsChannelInput) (req *r // API operation UpdateSmsChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSmsChannel func (c *Pinpoint) UpdateSmsChannel(input *UpdateSmsChannelInput) (*UpdateSmsChannelOutput, error) { @@ -11073,14 +11070,13 @@ const opUpdateSmsTemplate = "UpdateSmsTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSmsTemplateRequest method. +// req, resp := client.UpdateSmsTemplateRequest(params) // -// // Example sending a request using the UpdateSmsTemplateRequest method. -// req, resp := client.UpdateSmsTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSmsTemplate func (c *Pinpoint) UpdateSmsTemplateRequest(input *UpdateSmsTemplateInput) (req *request.Request, output *UpdateSmsTemplateOutput) { @@ -11112,26 +11108,27 @@ func (c *Pinpoint) UpdateSmsTemplateRequest(input *UpdateSmsTemplateInput) (req // API operation UpdateSmsTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSmsTemplate func (c *Pinpoint) UpdateSmsTemplate(input *UpdateSmsTemplateInput) (*UpdateSmsTemplateOutput, error) { @@ -11171,14 +11168,13 @@ const opUpdateTemplateActiveVersion = "UpdateTemplateActiveVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTemplateActiveVersionRequest method. +// req, resp := client.UpdateTemplateActiveVersionRequest(params) // -// // Example sending a request using the UpdateTemplateActiveVersionRequest method. -// req, resp := client.UpdateTemplateActiveVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateTemplateActiveVersion func (c *Pinpoint) UpdateTemplateActiveVersionRequest(input *UpdateTemplateActiveVersionInput) (req *request.Request, output *UpdateTemplateActiveVersionOutput) { @@ -11209,26 +11205,27 @@ func (c *Pinpoint) UpdateTemplateActiveVersionRequest(input *UpdateTemplateActiv // API operation UpdateTemplateActiveVersion for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateTemplateActiveVersion func (c *Pinpoint) UpdateTemplateActiveVersion(input *UpdateTemplateActiveVersionInput) (*UpdateTemplateActiveVersionOutput, error) { @@ -11268,14 +11265,13 @@ const opUpdateVoiceChannel = "UpdateVoiceChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVoiceChannelRequest method. +// req, resp := client.UpdateVoiceChannelRequest(params) // -// // Example sending a request using the UpdateVoiceChannelRequest method. -// req, resp := client.UpdateVoiceChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateVoiceChannel func (c *Pinpoint) UpdateVoiceChannelRequest(input *UpdateVoiceChannelInput) (req *request.Request, output *UpdateVoiceChannelOutput) { @@ -11307,26 +11303,27 @@ func (c *Pinpoint) UpdateVoiceChannelRequest(input *UpdateVoiceChannelInput) (re // API operation UpdateVoiceChannel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateVoiceChannel func (c *Pinpoint) UpdateVoiceChannel(input *UpdateVoiceChannelInput) (*UpdateVoiceChannelOutput, error) { @@ -11366,14 +11363,13 @@ const opUpdateVoiceTemplate = "UpdateVoiceTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVoiceTemplateRequest method. +// req, resp := client.UpdateVoiceTemplateRequest(params) // -// // Example sending a request using the UpdateVoiceTemplateRequest method. -// req, resp := client.UpdateVoiceTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateVoiceTemplate func (c *Pinpoint) UpdateVoiceTemplateRequest(input *UpdateVoiceTemplateInput) (req *request.Request, output *UpdateVoiceTemplateOutput) { @@ -11405,26 +11401,27 @@ func (c *Pinpoint) UpdateVoiceTemplateRequest(input *UpdateVoiceTemplateInput) ( // API operation UpdateVoiceTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - InternalServerErrorException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. +// +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateVoiceTemplate func (c *Pinpoint) UpdateVoiceTemplate(input *UpdateVoiceTemplateInput) (*UpdateVoiceTemplateOutput, error) { @@ -11464,14 +11461,13 @@ const opVerifyOTPMessage = "VerifyOTPMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the VerifyOTPMessageRequest method. +// req, resp := client.VerifyOTPMessageRequest(params) // -// // Example sending a request using the VerifyOTPMessageRequest method. -// req, resp := client.VerifyOTPMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/VerifyOTPMessage func (c *Pinpoint) VerifyOTPMessageRequest(input *VerifyOTPMessageInput) (req *request.Request, output *VerifyOTPMessageOutput) { @@ -11492,7 +11488,7 @@ func (c *Pinpoint) VerifyOTPMessageRequest(input *VerifyOTPMessageInput) (req *r // VerifyOTPMessage API operation for Amazon Pinpoint. // -// Verify an OTP +// # Verify an OTP // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -11502,26 +11498,27 @@ func (c *Pinpoint) VerifyOTPMessageRequest(input *VerifyOTPMessageInput) (req *r // API operation VerifyOTPMessage for usage and error information. // // Returned Error Types: -// * BadRequestException -// Provides information about an API request or response. // -// * InternalServerErrorException -// Provides information about an API request or response. +// - BadRequestException +// Provides information about an API request or response. +// +// - InternalServerErrorException +// Provides information about an API request or response. // -// * PayloadTooLargeException -// Provides information about an API request or response. +// - PayloadTooLargeException +// Provides information about an API request or response. // -// * ForbiddenException -// Provides information about an API request or response. +// - ForbiddenException +// Provides information about an API request or response. // -// * NotFoundException -// Provides information about an API request or response. +// - NotFoundException +// Provides information about an API request or response. // -// * MethodNotAllowedException -// Provides information about an API request or response. +// - MethodNotAllowedException +// Provides information about an API request or response. // -// * TooManyRequestsException -// Provides information about an API request or response. +// - TooManyRequestsException +// Provides information about an API request or response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/VerifyOTPMessage func (c *Pinpoint) VerifyOTPMessage(input *VerifyOTPMessageInput) (*VerifyOTPMessageOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/doc.go index 93d640dfb7cf..0d54a2ee0638 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/doc.go @@ -3,14 +3,14 @@ // Package pinpoint provides the client and types for making API // requests to Amazon Pinpoint. // -// Doc Engage API - Amazon Pinpoint API +// # Doc Engage API - Amazon Pinpoint API // // See https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01 for more information on this service. // // See pinpoint package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/pinpoint/ // -// Using the Client +// # Using the Client // // To contact Amazon Pinpoint with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/pinpointiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/pinpointiface/interface.go index 30c53f682510..e149307c16c1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/pinpointiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/pinpointiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Pinpoint. -// func myFunc(svc pinpointiface.PinpointAPI) bool { -// // Make svc.CreateApp request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Pinpoint. +// func myFunc(svc pinpointiface.PinpointAPI) bool { +// // Make svc.CreateApp request +// } // -// func main() { -// sess := session.New() -// svc := pinpoint.New(sess) +// func main() { +// sess := session.New() +// svc := pinpoint.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockPinpointClient struct { -// pinpointiface.PinpointAPI -// } -// func (m *mockPinpointClient) CreateApp(input *pinpoint.CreateAppInput) (*pinpoint.CreateAppOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockPinpointClient struct { +// pinpointiface.PinpointAPI +// } +// func (m *mockPinpointClient) CreateApp(input *pinpoint.CreateAppInput) (*pinpoint.CreateAppOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockPinpointClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockPinpointClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/service.go index 79cdd95eebd2..c4276382cf3a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpoint/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Pinpoint client from just a session. -// svc := pinpoint.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Pinpoint client with additional configuration -// svc := pinpoint.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Pinpoint client from just a session. +// svc := pinpoint.New(mySession) +// +// // Create a Pinpoint client with additional configuration +// svc := pinpoint.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Pinpoint { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/api.go index 65a0e6b69ee7..0eef0f15e7ec 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/api.go @@ -29,14 +29,13 @@ const opCreateConfigurationSet = "CreateConfigurationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConfigurationSetRequest method. +// req, resp := client.CreateConfigurationSetRequest(params) // -// // Example sending a request using the CreateConfigurationSetRequest method. -// req, resp := client.CreateConfigurationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateConfigurationSet func (c *PinpointEmail) CreateConfigurationSetRequest(input *CreateConfigurationSetInput) (req *request.Request, output *CreateConfigurationSetOutput) { @@ -72,23 +71,24 @@ func (c *PinpointEmail) CreateConfigurationSetRequest(input *CreateConfiguration // API operation CreateConfigurationSet for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource specified in your request already exists. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - AlreadyExistsException +// The resource specified in your request already exists. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateConfigurationSet func (c *PinpointEmail) CreateConfigurationSet(input *CreateConfigurationSetInput) (*CreateConfigurationSetOutput, error) { @@ -128,14 +128,13 @@ const opCreateConfigurationSetEventDestination = "CreateConfigurationSetEventDes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConfigurationSetEventDestinationRequest method. +// req, resp := client.CreateConfigurationSetEventDestinationRequest(params) // -// // Example sending a request using the CreateConfigurationSetEventDestinationRequest method. -// req, resp := client.CreateConfigurationSetEventDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateConfigurationSetEventDestination func (c *PinpointEmail) CreateConfigurationSetEventDestinationRequest(input *CreateConfigurationSetEventDestinationInput) (req *request.Request, output *CreateConfigurationSetEventDestinationOutput) { @@ -174,20 +173,21 @@ func (c *PinpointEmail) CreateConfigurationSetEventDestinationRequest(input *Cre // API operation CreateConfigurationSetEventDestination for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * AlreadyExistsException -// The resource specified in your request already exists. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - AlreadyExistsException +// The resource specified in your request already exists. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateConfigurationSetEventDestination func (c *PinpointEmail) CreateConfigurationSetEventDestination(input *CreateConfigurationSetEventDestinationInput) (*CreateConfigurationSetEventDestinationOutput, error) { @@ -227,14 +227,13 @@ const opCreateDedicatedIpPool = "CreateDedicatedIpPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDedicatedIpPoolRequest method. +// req, resp := client.CreateDedicatedIpPoolRequest(params) // -// // Example sending a request using the CreateDedicatedIpPoolRequest method. -// req, resp := client.CreateDedicatedIpPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateDedicatedIpPool func (c *PinpointEmail) CreateDedicatedIpPoolRequest(input *CreateDedicatedIpPoolInput) (req *request.Request, output *CreateDedicatedIpPoolOutput) { @@ -270,20 +269,21 @@ func (c *PinpointEmail) CreateDedicatedIpPoolRequest(input *CreateDedicatedIpPoo // API operation CreateDedicatedIpPool for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource specified in your request already exists. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - AlreadyExistsException +// The resource specified in your request already exists. +// +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateDedicatedIpPool func (c *PinpointEmail) CreateDedicatedIpPool(input *CreateDedicatedIpPoolInput) (*CreateDedicatedIpPoolOutput, error) { @@ -323,14 +323,13 @@ const opCreateDeliverabilityTestReport = "CreateDeliverabilityTestReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeliverabilityTestReportRequest method. +// req, resp := client.CreateDeliverabilityTestReportRequest(params) // -// // Example sending a request using the CreateDeliverabilityTestReportRequest method. -// req, resp := client.CreateDeliverabilityTestReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateDeliverabilityTestReport func (c *PinpointEmail) CreateDeliverabilityTestReportRequest(input *CreateDeliverabilityTestReportInput) (req *request.Request, output *CreateDeliverabilityTestReportOutput) { @@ -368,34 +367,35 @@ func (c *PinpointEmail) CreateDeliverabilityTestReportRequest(input *CreateDeliv // API operation CreateDeliverabilityTestReport for usage and error information. // // Returned Error Types: -// * AccountSuspendedException -// The message can't be sent because the account's ability to send email has -// been permanently restricted. // -// * SendingPausedException -// The message can't be sent because the account's ability to send email is -// currently paused. +// - AccountSuspendedException +// The message can't be sent because the account's ability to send email has +// been permanently restricted. +// +// - SendingPausedException +// The message can't be sent because the account's ability to send email is +// currently paused. // -// * MessageRejected -// The message can't be sent because it contains invalid content. +// - MessageRejected +// The message can't be sent because it contains invalid content. // -// * MailFromDomainNotVerifiedException -// The message can't be sent because the sending domain isn't verified. +// - MailFromDomainNotVerifiedException +// The message can't be sent because the sending domain isn't verified. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateDeliverabilityTestReport func (c *PinpointEmail) CreateDeliverabilityTestReport(input *CreateDeliverabilityTestReportInput) (*CreateDeliverabilityTestReportOutput, error) { @@ -435,14 +435,13 @@ const opCreateEmailIdentity = "CreateEmailIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEmailIdentityRequest method. +// req, resp := client.CreateEmailIdentityRequest(params) // -// // Example sending a request using the CreateEmailIdentityRequest method. -// req, resp := client.CreateEmailIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateEmailIdentity func (c *PinpointEmail) CreateEmailIdentityRequest(input *CreateEmailIdentityInput) (req *request.Request, output *CreateEmailIdentityOutput) { @@ -488,17 +487,18 @@ func (c *PinpointEmail) CreateEmailIdentityRequest(input *CreateEmailIdentityInp // API operation CreateEmailIdentity for usage and error information. // // Returned Error Types: -// * LimitExceededException -// There are too many instances of the specified resource type. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - BadRequestException +// The input you provided is invalid. +// +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/CreateEmailIdentity func (c *PinpointEmail) CreateEmailIdentity(input *CreateEmailIdentityInput) (*CreateEmailIdentityOutput, error) { @@ -538,14 +538,13 @@ const opDeleteConfigurationSet = "DeleteConfigurationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigurationSetRequest method. +// req, resp := client.DeleteConfigurationSetRequest(params) // -// // Example sending a request using the DeleteConfigurationSetRequest method. -// req, resp := client.DeleteConfigurationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteConfigurationSet func (c *PinpointEmail) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput) (req *request.Request, output *DeleteConfigurationSetOutput) { @@ -583,17 +582,18 @@ func (c *PinpointEmail) DeleteConfigurationSetRequest(input *DeleteConfiguration // API operation DeleteConfigurationSet for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteConfigurationSet func (c *PinpointEmail) DeleteConfigurationSet(input *DeleteConfigurationSetInput) (*DeleteConfigurationSetOutput, error) { @@ -633,14 +633,13 @@ const opDeleteConfigurationSetEventDestination = "DeleteConfigurationSetEventDes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigurationSetEventDestinationRequest method. +// req, resp := client.DeleteConfigurationSetEventDestinationRequest(params) // -// // Example sending a request using the DeleteConfigurationSetEventDestinationRequest method. -// req, resp := client.DeleteConfigurationSetEventDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteConfigurationSetEventDestination func (c *PinpointEmail) DeleteConfigurationSetEventDestinationRequest(input *DeleteConfigurationSetEventDestinationInput) (req *request.Request, output *DeleteConfigurationSetEventDestinationOutput) { @@ -679,14 +678,15 @@ func (c *PinpointEmail) DeleteConfigurationSetEventDestinationRequest(input *Del // API operation DeleteConfigurationSetEventDestination for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteConfigurationSetEventDestination func (c *PinpointEmail) DeleteConfigurationSetEventDestination(input *DeleteConfigurationSetEventDestinationInput) (*DeleteConfigurationSetEventDestinationOutput, error) { @@ -726,14 +726,13 @@ const opDeleteDedicatedIpPool = "DeleteDedicatedIpPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDedicatedIpPoolRequest method. +// req, resp := client.DeleteDedicatedIpPoolRequest(params) // -// // Example sending a request using the DeleteDedicatedIpPoolRequest method. -// req, resp := client.DeleteDedicatedIpPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteDedicatedIpPool func (c *PinpointEmail) DeleteDedicatedIpPoolRequest(input *DeleteDedicatedIpPoolInput) (req *request.Request, output *DeleteDedicatedIpPoolOutput) { @@ -765,17 +764,18 @@ func (c *PinpointEmail) DeleteDedicatedIpPoolRequest(input *DeleteDedicatedIpPoo // API operation DeleteDedicatedIpPool for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - BadRequestException +// The input you provided is invalid. +// +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteDedicatedIpPool func (c *PinpointEmail) DeleteDedicatedIpPool(input *DeleteDedicatedIpPoolInput) (*DeleteDedicatedIpPoolOutput, error) { @@ -815,14 +815,13 @@ const opDeleteEmailIdentity = "DeleteEmailIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEmailIdentityRequest method. +// req, resp := client.DeleteEmailIdentityRequest(params) // -// // Example sending a request using the DeleteEmailIdentityRequest method. -// req, resp := client.DeleteEmailIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteEmailIdentity func (c *PinpointEmail) DeleteEmailIdentityRequest(input *DeleteEmailIdentityInput) (req *request.Request, output *DeleteEmailIdentityOutput) { @@ -855,17 +854,18 @@ func (c *PinpointEmail) DeleteEmailIdentityRequest(input *DeleteEmailIdentityInp // API operation DeleteEmailIdentity for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/DeleteEmailIdentity func (c *PinpointEmail) DeleteEmailIdentity(input *DeleteEmailIdentityInput) (*DeleteEmailIdentityOutput, error) { @@ -905,14 +905,13 @@ const opGetAccount = "GetAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountRequest method. +// req, resp := client.GetAccountRequest(params) // -// // Example sending a request using the GetAccountRequest method. -// req, resp := client.GetAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetAccount func (c *PinpointEmail) GetAccountRequest(input *GetAccountInput) (req *request.Request, output *GetAccountOutput) { @@ -944,11 +943,12 @@ func (c *PinpointEmail) GetAccountRequest(input *GetAccountInput) (req *request. // API operation GetAccount for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetAccount func (c *PinpointEmail) GetAccount(input *GetAccountInput) (*GetAccountOutput, error) { @@ -988,14 +988,13 @@ const opGetBlacklistReports = "GetBlacklistReports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBlacklistReportsRequest method. +// req, resp := client.GetBlacklistReportsRequest(params) // -// // Example sending a request using the GetBlacklistReportsRequest method. -// req, resp := client.GetBlacklistReportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetBlacklistReports func (c *PinpointEmail) GetBlacklistReportsRequest(input *GetBlacklistReportsInput) (req *request.Request, output *GetBlacklistReportsOutput) { @@ -1027,14 +1026,15 @@ func (c *PinpointEmail) GetBlacklistReportsRequest(input *GetBlacklistReportsInp // API operation GetBlacklistReports for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetBlacklistReports func (c *PinpointEmail) GetBlacklistReports(input *GetBlacklistReportsInput) (*GetBlacklistReportsOutput, error) { @@ -1074,14 +1074,13 @@ const opGetConfigurationSet = "GetConfigurationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConfigurationSetRequest method. +// req, resp := client.GetConfigurationSetRequest(params) // -// // Example sending a request using the GetConfigurationSetRequest method. -// req, resp := client.GetConfigurationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetConfigurationSet func (c *PinpointEmail) GetConfigurationSetRequest(input *GetConfigurationSetInput) (req *request.Request, output *GetConfigurationSetOutput) { @@ -1120,14 +1119,15 @@ func (c *PinpointEmail) GetConfigurationSetRequest(input *GetConfigurationSetInp // API operation GetConfigurationSet for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetConfigurationSet func (c *PinpointEmail) GetConfigurationSet(input *GetConfigurationSetInput) (*GetConfigurationSetOutput, error) { @@ -1167,14 +1167,13 @@ const opGetConfigurationSetEventDestinations = "GetConfigurationSetEventDestinat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConfigurationSetEventDestinationsRequest method. +// req, resp := client.GetConfigurationSetEventDestinationsRequest(params) // -// // Example sending a request using the GetConfigurationSetEventDestinationsRequest method. -// req, resp := client.GetConfigurationSetEventDestinationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetConfigurationSetEventDestinations func (c *PinpointEmail) GetConfigurationSetEventDestinationsRequest(input *GetConfigurationSetEventDestinationsInput) (req *request.Request, output *GetConfigurationSetEventDestinationsOutput) { @@ -1213,14 +1212,15 @@ func (c *PinpointEmail) GetConfigurationSetEventDestinationsRequest(input *GetCo // API operation GetConfigurationSetEventDestinations for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetConfigurationSetEventDestinations func (c *PinpointEmail) GetConfigurationSetEventDestinations(input *GetConfigurationSetEventDestinationsInput) (*GetConfigurationSetEventDestinationsOutput, error) { @@ -1260,14 +1260,13 @@ const opGetDedicatedIp = "GetDedicatedIp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDedicatedIpRequest method. +// req, resp := client.GetDedicatedIpRequest(params) // -// // Example sending a request using the GetDedicatedIpRequest method. -// req, resp := client.GetDedicatedIpRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDedicatedIp func (c *PinpointEmail) GetDedicatedIpRequest(input *GetDedicatedIpInput) (req *request.Request, output *GetDedicatedIpOutput) { @@ -1300,14 +1299,15 @@ func (c *PinpointEmail) GetDedicatedIpRequest(input *GetDedicatedIpInput) (req * // API operation GetDedicatedIp for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDedicatedIp func (c *PinpointEmail) GetDedicatedIp(input *GetDedicatedIpInput) (*GetDedicatedIpOutput, error) { @@ -1347,14 +1347,13 @@ const opGetDedicatedIps = "GetDedicatedIps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDedicatedIpsRequest method. +// req, resp := client.GetDedicatedIpsRequest(params) // -// // Example sending a request using the GetDedicatedIpsRequest method. -// req, resp := client.GetDedicatedIpsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDedicatedIps func (c *PinpointEmail) GetDedicatedIpsRequest(input *GetDedicatedIpsInput) (req *request.Request, output *GetDedicatedIpsOutput) { @@ -1392,14 +1391,15 @@ func (c *PinpointEmail) GetDedicatedIpsRequest(input *GetDedicatedIpsInput) (req // API operation GetDedicatedIps for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDedicatedIps func (c *PinpointEmail) GetDedicatedIps(input *GetDedicatedIpsInput) (*GetDedicatedIpsOutput, error) { @@ -1431,15 +1431,14 @@ func (c *PinpointEmail) GetDedicatedIpsWithContext(ctx aws.Context, input *GetDe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetDedicatedIps operation. -// pageNum := 0 -// err := client.GetDedicatedIpsPages(params, -// func(page *pinpointemail.GetDedicatedIpsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetDedicatedIps operation. +// pageNum := 0 +// err := client.GetDedicatedIpsPages(params, +// func(page *pinpointemail.GetDedicatedIpsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointEmail) GetDedicatedIpsPages(input *GetDedicatedIpsInput, fn func(*GetDedicatedIpsOutput, bool) bool) error { return c.GetDedicatedIpsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1491,14 +1490,13 @@ const opGetDeliverabilityDashboardOptions = "GetDeliverabilityDashboardOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeliverabilityDashboardOptionsRequest method. +// req, resp := client.GetDeliverabilityDashboardOptionsRequest(params) // -// // Example sending a request using the GetDeliverabilityDashboardOptionsRequest method. -// req, resp := client.GetDeliverabilityDashboardOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDeliverabilityDashboardOptions func (c *PinpointEmail) GetDeliverabilityDashboardOptionsRequest(input *GetDeliverabilityDashboardOptionsInput) (req *request.Request, output *GetDeliverabilityDashboardOptionsOutput) { @@ -1538,14 +1536,15 @@ func (c *PinpointEmail) GetDeliverabilityDashboardOptionsRequest(input *GetDeliv // API operation GetDeliverabilityDashboardOptions for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - LimitExceededException +// There are too many instances of the specified resource type. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDeliverabilityDashboardOptions func (c *PinpointEmail) GetDeliverabilityDashboardOptions(input *GetDeliverabilityDashboardOptionsInput) (*GetDeliverabilityDashboardOptionsOutput, error) { @@ -1585,14 +1584,13 @@ const opGetDeliverabilityTestReport = "GetDeliverabilityTestReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeliverabilityTestReportRequest method. +// req, resp := client.GetDeliverabilityTestReportRequest(params) // -// // Example sending a request using the GetDeliverabilityTestReportRequest method. -// req, resp := client.GetDeliverabilityTestReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDeliverabilityTestReport func (c *PinpointEmail) GetDeliverabilityTestReportRequest(input *GetDeliverabilityTestReportInput) (req *request.Request, output *GetDeliverabilityTestReportOutput) { @@ -1623,14 +1621,15 @@ func (c *PinpointEmail) GetDeliverabilityTestReportRequest(input *GetDeliverabil // API operation GetDeliverabilityTestReport for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDeliverabilityTestReport func (c *PinpointEmail) GetDeliverabilityTestReport(input *GetDeliverabilityTestReportInput) (*GetDeliverabilityTestReportOutput, error) { @@ -1670,14 +1669,13 @@ const opGetDomainDeliverabilityCampaign = "GetDomainDeliverabilityCampaign" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainDeliverabilityCampaignRequest method. +// req, resp := client.GetDomainDeliverabilityCampaignRequest(params) // -// // Example sending a request using the GetDomainDeliverabilityCampaignRequest method. -// req, resp := client.GetDomainDeliverabilityCampaignRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDomainDeliverabilityCampaign func (c *PinpointEmail) GetDomainDeliverabilityCampaignRequest(input *GetDomainDeliverabilityCampaignInput) (req *request.Request, output *GetDomainDeliverabilityCampaignOutput) { @@ -1711,14 +1709,15 @@ func (c *PinpointEmail) GetDomainDeliverabilityCampaignRequest(input *GetDomainD // API operation GetDomainDeliverabilityCampaign for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDomainDeliverabilityCampaign func (c *PinpointEmail) GetDomainDeliverabilityCampaign(input *GetDomainDeliverabilityCampaignInput) (*GetDomainDeliverabilityCampaignOutput, error) { @@ -1758,14 +1757,13 @@ const opGetDomainStatisticsReport = "GetDomainStatisticsReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainStatisticsReportRequest method. +// req, resp := client.GetDomainStatisticsReportRequest(params) // -// // Example sending a request using the GetDomainStatisticsReportRequest method. -// req, resp := client.GetDomainStatisticsReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDomainStatisticsReport func (c *PinpointEmail) GetDomainStatisticsReportRequest(input *GetDomainStatisticsReportInput) (req *request.Request, output *GetDomainStatisticsReportOutput) { @@ -1797,14 +1795,15 @@ func (c *PinpointEmail) GetDomainStatisticsReportRequest(input *GetDomainStatist // API operation GetDomainStatisticsReport for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetDomainStatisticsReport func (c *PinpointEmail) GetDomainStatisticsReport(input *GetDomainStatisticsReportInput) (*GetDomainStatisticsReportOutput, error) { @@ -1844,14 +1843,13 @@ const opGetEmailIdentity = "GetEmailIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEmailIdentityRequest method. +// req, resp := client.GetEmailIdentityRequest(params) // -// // Example sending a request using the GetEmailIdentityRequest method. -// req, resp := client.GetEmailIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetEmailIdentity func (c *PinpointEmail) GetEmailIdentityRequest(input *GetEmailIdentityInput) (req *request.Request, output *GetEmailIdentityOutput) { @@ -1884,14 +1882,15 @@ func (c *PinpointEmail) GetEmailIdentityRequest(input *GetEmailIdentityInput) (r // API operation GetEmailIdentity for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/GetEmailIdentity func (c *PinpointEmail) GetEmailIdentity(input *GetEmailIdentityInput) (*GetEmailIdentityOutput, error) { @@ -1931,14 +1930,13 @@ const opListConfigurationSets = "ListConfigurationSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConfigurationSetsRequest method. +// req, resp := client.ListConfigurationSetsRequest(params) // -// // Example sending a request using the ListConfigurationSetsRequest method. -// req, resp := client.ListConfigurationSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListConfigurationSets func (c *PinpointEmail) ListConfigurationSetsRequest(input *ListConfigurationSetsInput) (req *request.Request, output *ListConfigurationSetsOutput) { @@ -1982,11 +1980,12 @@ func (c *PinpointEmail) ListConfigurationSetsRequest(input *ListConfigurationSet // API operation ListConfigurationSets for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListConfigurationSets func (c *PinpointEmail) ListConfigurationSets(input *ListConfigurationSetsInput) (*ListConfigurationSetsOutput, error) { @@ -2018,15 +2017,14 @@ func (c *PinpointEmail) ListConfigurationSetsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListConfigurationSets operation. -// pageNum := 0 -// err := client.ListConfigurationSetsPages(params, -// func(page *pinpointemail.ListConfigurationSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListConfigurationSets operation. +// pageNum := 0 +// err := client.ListConfigurationSetsPages(params, +// func(page *pinpointemail.ListConfigurationSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointEmail) ListConfigurationSetsPages(input *ListConfigurationSetsInput, fn func(*ListConfigurationSetsOutput, bool) bool) error { return c.ListConfigurationSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2078,14 +2076,13 @@ const opListDedicatedIpPools = "ListDedicatedIpPools" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDedicatedIpPoolsRequest method. +// req, resp := client.ListDedicatedIpPoolsRequest(params) // -// // Example sending a request using the ListDedicatedIpPoolsRequest method. -// req, resp := client.ListDedicatedIpPoolsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListDedicatedIpPools func (c *PinpointEmail) ListDedicatedIpPoolsRequest(input *ListDedicatedIpPoolsInput) (req *request.Request, output *ListDedicatedIpPoolsOutput) { @@ -2123,11 +2120,12 @@ func (c *PinpointEmail) ListDedicatedIpPoolsRequest(input *ListDedicatedIpPoolsI // API operation ListDedicatedIpPools for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListDedicatedIpPools func (c *PinpointEmail) ListDedicatedIpPools(input *ListDedicatedIpPoolsInput) (*ListDedicatedIpPoolsOutput, error) { @@ -2159,15 +2157,14 @@ func (c *PinpointEmail) ListDedicatedIpPoolsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDedicatedIpPools operation. -// pageNum := 0 -// err := client.ListDedicatedIpPoolsPages(params, -// func(page *pinpointemail.ListDedicatedIpPoolsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDedicatedIpPools operation. +// pageNum := 0 +// err := client.ListDedicatedIpPoolsPages(params, +// func(page *pinpointemail.ListDedicatedIpPoolsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointEmail) ListDedicatedIpPoolsPages(input *ListDedicatedIpPoolsInput, fn func(*ListDedicatedIpPoolsOutput, bool) bool) error { return c.ListDedicatedIpPoolsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2219,14 +2216,13 @@ const opListDeliverabilityTestReports = "ListDeliverabilityTestReports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeliverabilityTestReportsRequest method. +// req, resp := client.ListDeliverabilityTestReportsRequest(params) // -// // Example sending a request using the ListDeliverabilityTestReportsRequest method. -// req, resp := client.ListDeliverabilityTestReportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListDeliverabilityTestReports func (c *PinpointEmail) ListDeliverabilityTestReportsRequest(input *ListDeliverabilityTestReportsInput) (req *request.Request, output *ListDeliverabilityTestReportsOutput) { @@ -2266,14 +2262,15 @@ func (c *PinpointEmail) ListDeliverabilityTestReportsRequest(input *ListDelivera // API operation ListDeliverabilityTestReports for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListDeliverabilityTestReports func (c *PinpointEmail) ListDeliverabilityTestReports(input *ListDeliverabilityTestReportsInput) (*ListDeliverabilityTestReportsOutput, error) { @@ -2305,15 +2302,14 @@ func (c *PinpointEmail) ListDeliverabilityTestReportsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDeliverabilityTestReports operation. -// pageNum := 0 -// err := client.ListDeliverabilityTestReportsPages(params, -// func(page *pinpointemail.ListDeliverabilityTestReportsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDeliverabilityTestReports operation. +// pageNum := 0 +// err := client.ListDeliverabilityTestReportsPages(params, +// func(page *pinpointemail.ListDeliverabilityTestReportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointEmail) ListDeliverabilityTestReportsPages(input *ListDeliverabilityTestReportsInput, fn func(*ListDeliverabilityTestReportsOutput, bool) bool) error { return c.ListDeliverabilityTestReportsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2365,14 +2361,13 @@ const opListDomainDeliverabilityCampaigns = "ListDomainDeliverabilityCampaigns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainDeliverabilityCampaignsRequest method. +// req, resp := client.ListDomainDeliverabilityCampaignsRequest(params) // -// // Example sending a request using the ListDomainDeliverabilityCampaignsRequest method. -// req, resp := client.ListDomainDeliverabilityCampaignsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListDomainDeliverabilityCampaigns func (c *PinpointEmail) ListDomainDeliverabilityCampaignsRequest(input *ListDomainDeliverabilityCampaignsInput) (req *request.Request, output *ListDomainDeliverabilityCampaignsOutput) { @@ -2412,14 +2407,15 @@ func (c *PinpointEmail) ListDomainDeliverabilityCampaignsRequest(input *ListDoma // API operation ListDomainDeliverabilityCampaigns for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - BadRequestException +// The input you provided is invalid. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListDomainDeliverabilityCampaigns func (c *PinpointEmail) ListDomainDeliverabilityCampaigns(input *ListDomainDeliverabilityCampaignsInput) (*ListDomainDeliverabilityCampaignsOutput, error) { @@ -2451,15 +2447,14 @@ func (c *PinpointEmail) ListDomainDeliverabilityCampaignsWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDomainDeliverabilityCampaigns operation. -// pageNum := 0 -// err := client.ListDomainDeliverabilityCampaignsPages(params, -// func(page *pinpointemail.ListDomainDeliverabilityCampaignsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDomainDeliverabilityCampaigns operation. +// pageNum := 0 +// err := client.ListDomainDeliverabilityCampaignsPages(params, +// func(page *pinpointemail.ListDomainDeliverabilityCampaignsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointEmail) ListDomainDeliverabilityCampaignsPages(input *ListDomainDeliverabilityCampaignsInput, fn func(*ListDomainDeliverabilityCampaignsOutput, bool) bool) error { return c.ListDomainDeliverabilityCampaignsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2511,14 +2506,13 @@ const opListEmailIdentities = "ListEmailIdentities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEmailIdentitiesRequest method. +// req, resp := client.ListEmailIdentitiesRequest(params) // -// // Example sending a request using the ListEmailIdentitiesRequest method. -// req, resp := client.ListEmailIdentitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListEmailIdentities func (c *PinpointEmail) ListEmailIdentitiesRequest(input *ListEmailIdentitiesInput) (req *request.Request, output *ListEmailIdentitiesOutput) { @@ -2558,11 +2552,12 @@ func (c *PinpointEmail) ListEmailIdentitiesRequest(input *ListEmailIdentitiesInp // API operation ListEmailIdentities for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListEmailIdentities func (c *PinpointEmail) ListEmailIdentities(input *ListEmailIdentitiesInput) (*ListEmailIdentitiesOutput, error) { @@ -2594,15 +2589,14 @@ func (c *PinpointEmail) ListEmailIdentitiesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEmailIdentities operation. -// pageNum := 0 -// err := client.ListEmailIdentitiesPages(params, -// func(page *pinpointemail.ListEmailIdentitiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEmailIdentities operation. +// pageNum := 0 +// err := client.ListEmailIdentitiesPages(params, +// func(page *pinpointemail.ListEmailIdentitiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointEmail) ListEmailIdentitiesPages(input *ListEmailIdentitiesInput, fn func(*ListEmailIdentitiesOutput, bool) bool) error { return c.ListEmailIdentitiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2654,14 +2648,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListTagsForResource func (c *PinpointEmail) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2697,14 +2690,15 @@ func (c *PinpointEmail) ListTagsForResourceRequest(input *ListTagsForResourceInp // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - BadRequestException +// The input you provided is invalid. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/ListTagsForResource func (c *PinpointEmail) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2744,14 +2738,13 @@ const opPutAccountDedicatedIpWarmupAttributes = "PutAccountDedicatedIpWarmupAttr // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAccountDedicatedIpWarmupAttributesRequest method. +// req, resp := client.PutAccountDedicatedIpWarmupAttributesRequest(params) // -// // Example sending a request using the PutAccountDedicatedIpWarmupAttributesRequest method. -// req, resp := client.PutAccountDedicatedIpWarmupAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutAccountDedicatedIpWarmupAttributes func (c *PinpointEmail) PutAccountDedicatedIpWarmupAttributesRequest(input *PutAccountDedicatedIpWarmupAttributesInput) (req *request.Request, output *PutAccountDedicatedIpWarmupAttributesOutput) { @@ -2783,11 +2776,12 @@ func (c *PinpointEmail) PutAccountDedicatedIpWarmupAttributesRequest(input *PutA // API operation PutAccountDedicatedIpWarmupAttributes for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutAccountDedicatedIpWarmupAttributes func (c *PinpointEmail) PutAccountDedicatedIpWarmupAttributes(input *PutAccountDedicatedIpWarmupAttributesInput) (*PutAccountDedicatedIpWarmupAttributesOutput, error) { @@ -2827,14 +2821,13 @@ const opPutAccountSendingAttributes = "PutAccountSendingAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAccountSendingAttributesRequest method. +// req, resp := client.PutAccountSendingAttributesRequest(params) // -// // Example sending a request using the PutAccountSendingAttributesRequest method. -// req, resp := client.PutAccountSendingAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutAccountSendingAttributes func (c *PinpointEmail) PutAccountSendingAttributesRequest(input *PutAccountSendingAttributesInput) (req *request.Request, output *PutAccountSendingAttributesOutput) { @@ -2866,11 +2859,12 @@ func (c *PinpointEmail) PutAccountSendingAttributesRequest(input *PutAccountSend // API operation PutAccountSendingAttributes for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutAccountSendingAttributes func (c *PinpointEmail) PutAccountSendingAttributes(input *PutAccountSendingAttributesInput) (*PutAccountSendingAttributesOutput, error) { @@ -2910,14 +2904,13 @@ const opPutConfigurationSetDeliveryOptions = "PutConfigurationSetDeliveryOptions // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutConfigurationSetDeliveryOptionsRequest method. +// req, resp := client.PutConfigurationSetDeliveryOptionsRequest(params) // -// // Example sending a request using the PutConfigurationSetDeliveryOptionsRequest method. -// req, resp := client.PutConfigurationSetDeliveryOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetDeliveryOptions func (c *PinpointEmail) PutConfigurationSetDeliveryOptionsRequest(input *PutConfigurationSetDeliveryOptionsInput) (req *request.Request, output *PutConfigurationSetDeliveryOptionsOutput) { @@ -2951,14 +2944,15 @@ func (c *PinpointEmail) PutConfigurationSetDeliveryOptionsRequest(input *PutConf // API operation PutConfigurationSetDeliveryOptions for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetDeliveryOptions func (c *PinpointEmail) PutConfigurationSetDeliveryOptions(input *PutConfigurationSetDeliveryOptionsInput) (*PutConfigurationSetDeliveryOptionsOutput, error) { @@ -2998,14 +2992,13 @@ const opPutConfigurationSetReputationOptions = "PutConfigurationSetReputationOpt // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutConfigurationSetReputationOptionsRequest method. +// req, resp := client.PutConfigurationSetReputationOptionsRequest(params) // -// // Example sending a request using the PutConfigurationSetReputationOptionsRequest method. -// req, resp := client.PutConfigurationSetReputationOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetReputationOptions func (c *PinpointEmail) PutConfigurationSetReputationOptionsRequest(input *PutConfigurationSetReputationOptionsInput) (req *request.Request, output *PutConfigurationSetReputationOptionsOutput) { @@ -3038,14 +3031,15 @@ func (c *PinpointEmail) PutConfigurationSetReputationOptionsRequest(input *PutCo // API operation PutConfigurationSetReputationOptions for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetReputationOptions func (c *PinpointEmail) PutConfigurationSetReputationOptions(input *PutConfigurationSetReputationOptionsInput) (*PutConfigurationSetReputationOptionsOutput, error) { @@ -3085,14 +3079,13 @@ const opPutConfigurationSetSendingOptions = "PutConfigurationSetSendingOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutConfigurationSetSendingOptionsRequest method. +// req, resp := client.PutConfigurationSetSendingOptionsRequest(params) // -// // Example sending a request using the PutConfigurationSetSendingOptionsRequest method. -// req, resp := client.PutConfigurationSetSendingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetSendingOptions func (c *PinpointEmail) PutConfigurationSetSendingOptionsRequest(input *PutConfigurationSetSendingOptionsInput) (req *request.Request, output *PutConfigurationSetSendingOptionsOutput) { @@ -3125,14 +3118,15 @@ func (c *PinpointEmail) PutConfigurationSetSendingOptionsRequest(input *PutConfi // API operation PutConfigurationSetSendingOptions for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetSendingOptions func (c *PinpointEmail) PutConfigurationSetSendingOptions(input *PutConfigurationSetSendingOptionsInput) (*PutConfigurationSetSendingOptionsOutput, error) { @@ -3172,14 +3166,13 @@ const opPutConfigurationSetTrackingOptions = "PutConfigurationSetTrackingOptions // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutConfigurationSetTrackingOptionsRequest method. +// req, resp := client.PutConfigurationSetTrackingOptionsRequest(params) // -// // Example sending a request using the PutConfigurationSetTrackingOptionsRequest method. -// req, resp := client.PutConfigurationSetTrackingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetTrackingOptions func (c *PinpointEmail) PutConfigurationSetTrackingOptionsRequest(input *PutConfigurationSetTrackingOptionsInput) (req *request.Request, output *PutConfigurationSetTrackingOptionsOutput) { @@ -3212,14 +3205,15 @@ func (c *PinpointEmail) PutConfigurationSetTrackingOptionsRequest(input *PutConf // API operation PutConfigurationSetTrackingOptions for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutConfigurationSetTrackingOptions func (c *PinpointEmail) PutConfigurationSetTrackingOptions(input *PutConfigurationSetTrackingOptionsInput) (*PutConfigurationSetTrackingOptionsOutput, error) { @@ -3259,14 +3253,13 @@ const opPutDedicatedIpInPool = "PutDedicatedIpInPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDedicatedIpInPoolRequest method. +// req, resp := client.PutDedicatedIpInPoolRequest(params) // -// // Example sending a request using the PutDedicatedIpInPoolRequest method. -// req, resp := client.PutDedicatedIpInPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDedicatedIpInPool func (c *PinpointEmail) PutDedicatedIpInPoolRequest(input *PutDedicatedIpInPoolInput) (req *request.Request, output *PutDedicatedIpInPoolOutput) { @@ -3304,14 +3297,15 @@ func (c *PinpointEmail) PutDedicatedIpInPoolRequest(input *PutDedicatedIpInPoolI // API operation PutDedicatedIpInPool for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDedicatedIpInPool func (c *PinpointEmail) PutDedicatedIpInPool(input *PutDedicatedIpInPoolInput) (*PutDedicatedIpInPoolOutput, error) { @@ -3351,14 +3345,13 @@ const opPutDedicatedIpWarmupAttributes = "PutDedicatedIpWarmupAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDedicatedIpWarmupAttributesRequest method. +// req, resp := client.PutDedicatedIpWarmupAttributesRequest(params) // -// // Example sending a request using the PutDedicatedIpWarmupAttributesRequest method. -// req, resp := client.PutDedicatedIpWarmupAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDedicatedIpWarmupAttributes func (c *PinpointEmail) PutDedicatedIpWarmupAttributesRequest(input *PutDedicatedIpWarmupAttributesInput) (req *request.Request, output *PutDedicatedIpWarmupAttributesOutput) { @@ -3388,14 +3381,15 @@ func (c *PinpointEmail) PutDedicatedIpWarmupAttributesRequest(input *PutDedicate // API operation PutDedicatedIpWarmupAttributes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDedicatedIpWarmupAttributes func (c *PinpointEmail) PutDedicatedIpWarmupAttributes(input *PutDedicatedIpWarmupAttributesInput) (*PutDedicatedIpWarmupAttributesOutput, error) { @@ -3435,14 +3429,13 @@ const opPutDeliverabilityDashboardOption = "PutDeliverabilityDashboardOption" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDeliverabilityDashboardOptionRequest method. +// req, resp := client.PutDeliverabilityDashboardOptionRequest(params) // -// // Example sending a request using the PutDeliverabilityDashboardOptionRequest method. -// req, resp := client.PutDeliverabilityDashboardOptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDeliverabilityDashboardOption func (c *PinpointEmail) PutDeliverabilityDashboardOptionRequest(input *PutDeliverabilityDashboardOptionInput) (req *request.Request, output *PutDeliverabilityDashboardOptionOutput) { @@ -3483,20 +3476,21 @@ func (c *PinpointEmail) PutDeliverabilityDashboardOptionRequest(input *PutDelive // API operation PutDeliverabilityDashboardOption for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource specified in your request already exists. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - AlreadyExistsException +// The resource specified in your request already exists. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutDeliverabilityDashboardOption func (c *PinpointEmail) PutDeliverabilityDashboardOption(input *PutDeliverabilityDashboardOptionInput) (*PutDeliverabilityDashboardOptionOutput, error) { @@ -3536,14 +3530,13 @@ const opPutEmailIdentityDkimAttributes = "PutEmailIdentityDkimAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEmailIdentityDkimAttributesRequest method. +// req, resp := client.PutEmailIdentityDkimAttributesRequest(params) // -// // Example sending a request using the PutEmailIdentityDkimAttributesRequest method. -// req, resp := client.PutEmailIdentityDkimAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityDkimAttributes func (c *PinpointEmail) PutEmailIdentityDkimAttributesRequest(input *PutEmailIdentityDkimAttributesInput) (req *request.Request, output *PutEmailIdentityDkimAttributesOutput) { @@ -3575,14 +3568,15 @@ func (c *PinpointEmail) PutEmailIdentityDkimAttributesRequest(input *PutEmailIde // API operation PutEmailIdentityDkimAttributes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityDkimAttributes func (c *PinpointEmail) PutEmailIdentityDkimAttributes(input *PutEmailIdentityDkimAttributesInput) (*PutEmailIdentityDkimAttributesOutput, error) { @@ -3622,14 +3616,13 @@ const opPutEmailIdentityFeedbackAttributes = "PutEmailIdentityFeedbackAttributes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEmailIdentityFeedbackAttributesRequest method. +// req, resp := client.PutEmailIdentityFeedbackAttributesRequest(params) // -// // Example sending a request using the PutEmailIdentityFeedbackAttributesRequest method. -// req, resp := client.PutEmailIdentityFeedbackAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityFeedbackAttributes func (c *PinpointEmail) PutEmailIdentityFeedbackAttributesRequest(input *PutEmailIdentityFeedbackAttributesInput) (req *request.Request, output *PutEmailIdentityFeedbackAttributesOutput) { @@ -3675,14 +3668,15 @@ func (c *PinpointEmail) PutEmailIdentityFeedbackAttributesRequest(input *PutEmai // API operation PutEmailIdentityFeedbackAttributes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityFeedbackAttributes func (c *PinpointEmail) PutEmailIdentityFeedbackAttributes(input *PutEmailIdentityFeedbackAttributesInput) (*PutEmailIdentityFeedbackAttributesOutput, error) { @@ -3722,14 +3716,13 @@ const opPutEmailIdentityMailFromAttributes = "PutEmailIdentityMailFromAttributes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEmailIdentityMailFromAttributesRequest method. +// req, resp := client.PutEmailIdentityMailFromAttributesRequest(params) // -// // Example sending a request using the PutEmailIdentityMailFromAttributesRequest method. -// req, resp := client.PutEmailIdentityMailFromAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityMailFromAttributes func (c *PinpointEmail) PutEmailIdentityMailFromAttributesRequest(input *PutEmailIdentityMailFromAttributesInput) (req *request.Request, output *PutEmailIdentityMailFromAttributesOutput) { @@ -3762,14 +3755,15 @@ func (c *PinpointEmail) PutEmailIdentityMailFromAttributesRequest(input *PutEmai // API operation PutEmailIdentityMailFromAttributes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/PutEmailIdentityMailFromAttributes func (c *PinpointEmail) PutEmailIdentityMailFromAttributes(input *PutEmailIdentityMailFromAttributesInput) (*PutEmailIdentityMailFromAttributesOutput, error) { @@ -3809,14 +3803,13 @@ const opSendEmail = "SendEmail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendEmailRequest method. +// req, resp := client.SendEmailRequest(params) // -// // Example sending a request using the SendEmailRequest method. -// req, resp := client.SendEmailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/SendEmail func (c *PinpointEmail) SendEmailRequest(input *SendEmailInput) (req *request.Request, output *SendEmailOutput) { @@ -3840,14 +3833,14 @@ func (c *PinpointEmail) SendEmailRequest(input *SendEmailInput) (req *request.Re // Sends an email message. You can use the Amazon Pinpoint Email API to send // two types of messages: // -// * Simple – A standard email message. When you create this type of message, -// you specify the sender, the recipient, and the message body, and Amazon -// Pinpoint assembles the message for you. +// - Simple – A standard email message. When you create this type of message, +// you specify the sender, the recipient, and the message body, and Amazon +// Pinpoint assembles the message for you. // -// * Raw – A raw, MIME-formatted email message. When you send this type -// of email, you have to specify all of the message headers, as well as the -// message body. You can use this message type to send messages that contain -// attachments. The message that you specify has to be a valid MIME message. +// - Raw – A raw, MIME-formatted email message. When you send this type +// of email, you have to specify all of the message headers, as well as the +// message body. You can use this message type to send messages that contain +// attachments. The message that you specify has to be a valid MIME message. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3857,31 +3850,32 @@ func (c *PinpointEmail) SendEmailRequest(input *SendEmailInput) (req *request.Re // API operation SendEmail for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * AccountSuspendedException -// The message can't be sent because the account's ability to send email has -// been permanently restricted. +// - AccountSuspendedException +// The message can't be sent because the account's ability to send email has +// been permanently restricted. // -// * SendingPausedException -// The message can't be sent because the account's ability to send email is -// currently paused. +// - SendingPausedException +// The message can't be sent because the account's ability to send email is +// currently paused. // -// * MessageRejected -// The message can't be sent because it contains invalid content. +// - MessageRejected +// The message can't be sent because it contains invalid content. // -// * MailFromDomainNotVerifiedException -// The message can't be sent because the sending domain isn't verified. +// - MailFromDomainNotVerifiedException +// The message can't be sent because the sending domain isn't verified. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/SendEmail func (c *PinpointEmail) SendEmail(input *SendEmailInput) (*SendEmailOutput, error) { @@ -3921,14 +3915,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/TagResource func (c *PinpointEmail) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3969,17 +3962,18 @@ func (c *PinpointEmail) TagResourceRequest(input *TagResourceInput) (req *reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - BadRequestException +// The input you provided is invalid. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/TagResource func (c *PinpointEmail) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4019,14 +4013,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/UntagResource func (c *PinpointEmail) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4058,17 +4051,18 @@ func (c *PinpointEmail) UntagResourceRequest(input *UntagResourceInput) (req *re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - BadRequestException +// The input you provided is invalid. +// +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - TooManyRequestsException +// Too many requests have been made to the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/UntagResource func (c *PinpointEmail) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -4108,14 +4102,13 @@ const opUpdateConfigurationSetEventDestination = "UpdateConfigurationSetEventDes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConfigurationSetEventDestinationRequest method. +// req, resp := client.UpdateConfigurationSetEventDestinationRequest(params) // -// // Example sending a request using the UpdateConfigurationSetEventDestinationRequest method. -// req, resp := client.UpdateConfigurationSetEventDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/UpdateConfigurationSetEventDestination func (c *PinpointEmail) UpdateConfigurationSetEventDestinationRequest(input *UpdateConfigurationSetEventDestinationInput) (req *request.Request, output *UpdateConfigurationSetEventDestinationOutput) { @@ -4154,14 +4147,15 @@ func (c *PinpointEmail) UpdateConfigurationSetEventDestinationRequest(input *Upd // API operation UpdateConfigurationSetEventDestination for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/UpdateConfigurationSetEventDestination func (c *PinpointEmail) UpdateConfigurationSetEventDestination(input *UpdateConfigurationSetEventDestinationInput) (*UpdateConfigurationSetEventDestinationOutput, error) { @@ -10925,20 +10919,20 @@ func (s *SnsDestination) SetTopicArn(v string) *SnsDestination { // digits, white space, or one of the following symbols: _ . : / = + -. The // following additional restrictions apply to tags: // -// * Tag keys and values are case sensitive. +// - Tag keys and values are case sensitive. // -// * For each associated resource, each tag key must be unique and it can -// have only one value. +// - For each associated resource, each tag key must be unique and it can +// have only one value. // -// * The aws: prefix is reserved for use by AWS; you can’t use it in any -// tag keys or values that you define. In addition, you can't edit or remove -// tag keys or values that use this prefix. Tags that use this prefix don’t -// count against the limit of 50 tags per resource. +// - The aws: prefix is reserved for use by AWS; you can’t use it in any +// tag keys or values that you define. In addition, you can't edit or remove +// tag keys or values that use this prefix. Tags that use this prefix don’t +// count against the limit of 50 tags per resource. // -// * You can associate tags with public or shared resources, but the tags -// are available only for your AWS account, not any other accounts that share -// the resource. In addition, the tags are available only for resources that -// are located in the specified AWS Region for your AWS account. +// - You can associate tags with public or shared resources, but the tags +// are available only for your AWS account, not any other accounts that share +// the resource. In addition, the tags are available only for resources that +// are located in the specified AWS Region for your AWS account. type Tag struct { _ struct{} `type:"structure"` @@ -11622,21 +11616,21 @@ func DimensionValueSource_Values() []string { // The DKIM authentication status of the identity. The status can be one of // the following: // -// * PENDING – The DKIM verification process was initiated, and Amazon -// Pinpoint is still waiting for the required CNAME records to appear in -// the DNS configuration for the domain. +// - PENDING – The DKIM verification process was initiated, and Amazon +// Pinpoint is still waiting for the required CNAME records to appear in +// the DNS configuration for the domain. // -// * SUCCESS – The DKIM authentication process completed successfully. +// - SUCCESS – The DKIM authentication process completed successfully. // -// * FAILED – The DKIM authentication process failed. This can happen when -// Amazon Pinpoint fails to find the required CNAME records in the DNS configuration -// of the domain. +// - FAILED – The DKIM authentication process failed. This can happen when +// Amazon Pinpoint fails to find the required CNAME records in the DNS configuration +// of the domain. // -// * TEMPORARY_FAILURE – A temporary issue is preventing Amazon Pinpoint -// from determining the DKIM authentication status of the domain. +// - TEMPORARY_FAILURE – A temporary issue is preventing Amazon Pinpoint +// from determining the DKIM authentication status of the domain. // -// * NOT_STARTED – The DKIM verification process hasn't been initiated -// for the domain. +// - NOT_STARTED – The DKIM verification process hasn't been initiated +// for the domain. const ( // DkimStatusPending is a DkimStatus enum value DkimStatusPending = "PENDING" @@ -11709,9 +11703,9 @@ func EventType_Values() []string { // The email identity type. The identity type can be one of the following: // -// * EMAIL_ADDRESS – The identity is an email address. +// - EMAIL_ADDRESS – The identity is an email address. // -// * DOMAIN – The identity is a domain. +// - DOMAIN – The identity is a domain. const ( // IdentityTypeEmailAddress is a IdentityType enum value IdentityTypeEmailAddress = "EMAIL_ADDRESS" @@ -11734,17 +11728,17 @@ func IdentityType_Values() []string { // The status of the MAIL FROM domain. This status can have the following values: // -// * PENDING – Amazon Pinpoint hasn't started searching for the MX record -// yet. +// - PENDING – Amazon Pinpoint hasn't started searching for the MX record +// yet. // -// * SUCCESS – Amazon Pinpoint detected the required MX record for the -// MAIL FROM domain. +// - SUCCESS – Amazon Pinpoint detected the required MX record for the +// MAIL FROM domain. // -// * FAILED – Amazon Pinpoint can't find the required MX record, or the -// record no longer exists. +// - FAILED – Amazon Pinpoint can't find the required MX record, or the +// record no longer exists. // -// * TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon -// Pinpoint from determining the status of the MAIL FROM domain. +// - TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon +// Pinpoint from determining the status of the MAIL FROM domain. const ( // MailFromDomainStatusPending is a MailFromDomainStatus enum value MailFromDomainStatusPending = "PENDING" diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/doc.go index cf86d82e668f..93e799a2f265 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/doc.go @@ -44,7 +44,7 @@ // See pinpointemail package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/pinpointemail/ // -// Using the Client +// # Using the Client // // To contact Amazon Pinpoint Email Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/pinpointemailiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/pinpointemailiface/interface.go index 4b13b0a85576..fcd585c270e2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/pinpointemailiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/pinpointemailiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Pinpoint Email Service. -// func myFunc(svc pinpointemailiface.PinpointEmailAPI) bool { -// // Make svc.CreateConfigurationSet request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Pinpoint Email Service. +// func myFunc(svc pinpointemailiface.PinpointEmailAPI) bool { +// // Make svc.CreateConfigurationSet request +// } // -// func main() { -// sess := session.New() -// svc := pinpointemail.New(sess) +// func main() { +// sess := session.New() +// svc := pinpointemail.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockPinpointEmailClient struct { -// pinpointemailiface.PinpointEmailAPI -// } -// func (m *mockPinpointEmailClient) CreateConfigurationSet(input *pinpointemail.CreateConfigurationSetInput) (*pinpointemail.CreateConfigurationSetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockPinpointEmailClient struct { +// pinpointemailiface.PinpointEmailAPI +// } +// func (m *mockPinpointEmailClient) CreateConfigurationSet(input *pinpointemail.CreateConfigurationSetInput) (*pinpointemail.CreateConfigurationSetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockPinpointEmailClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockPinpointEmailClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/service.go index 2f8ae44b44eb..281eb781e953 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointemail/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a PinpointEmail client from just a session. -// svc := pinpointemail.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a PinpointEmail client with additional configuration -// svc := pinpointemail.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a PinpointEmail client from just a session. +// svc := pinpointemail.New(mySession) +// +// // Create a PinpointEmail client with additional configuration +// svc := pinpointemail.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *PinpointEmail { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/api.go index 067d11b7fe8e..c647ceb320a4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/api.go @@ -28,14 +28,13 @@ const opCreateConfigurationSet = "CreateConfigurationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConfigurationSetRequest method. +// req, resp := client.CreateConfigurationSetRequest(params) // -// // Example sending a request using the CreateConfigurationSetRequest method. -// req, resp := client.CreateConfigurationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/CreateConfigurationSet func (c *PinpointSMSVoice) CreateConfigurationSetRequest(input *CreateConfigurationSetInput) (req *request.Request, output *CreateConfigurationSetOutput) { @@ -68,22 +67,23 @@ func (c *PinpointSMSVoice) CreateConfigurationSetRequest(input *CreateConfigurat // API operation CreateConfigurationSet for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// You've issued too many requests to the resource. Wait a few minutes, and -// then try again. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// You've issued too many requests to the resource. Wait a few minutes, and +// then try again. +// +// - BadRequestException +// The input you provided is invalid. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * InternalServiceErrorException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServiceErrorException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // -// * AlreadyExistsException -// The resource specified in your request already exists. +// - AlreadyExistsException +// The resource specified in your request already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/CreateConfigurationSet func (c *PinpointSMSVoice) CreateConfigurationSet(input *CreateConfigurationSetInput) (*CreateConfigurationSetOutput, error) { @@ -123,14 +123,13 @@ const opCreateConfigurationSetEventDestination = "CreateConfigurationSetEventDes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConfigurationSetEventDestinationRequest method. +// req, resp := client.CreateConfigurationSetEventDestinationRequest(params) // -// // Example sending a request using the CreateConfigurationSetEventDestinationRequest method. -// req, resp := client.CreateConfigurationSetEventDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/CreateConfigurationSetEventDestination func (c *PinpointSMSVoice) CreateConfigurationSetEventDestinationRequest(input *CreateConfigurationSetEventDestinationInput) (req *request.Request, output *CreateConfigurationSetEventDestinationOutput) { @@ -162,25 +161,26 @@ func (c *PinpointSMSVoice) CreateConfigurationSetEventDestinationRequest(input * // API operation CreateConfigurationSetEventDestination for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - BadRequestException +// The input you provided is invalid. +// +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * InternalServiceErrorException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServiceErrorException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// You've issued too many requests to the resource. Wait a few minutes, and -// then try again. +// - TooManyRequestsException +// You've issued too many requests to the resource. Wait a few minutes, and +// then try again. // -// * AlreadyExistsException -// The resource specified in your request already exists. +// - AlreadyExistsException +// The resource specified in your request already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/CreateConfigurationSetEventDestination func (c *PinpointSMSVoice) CreateConfigurationSetEventDestination(input *CreateConfigurationSetEventDestinationInput) (*CreateConfigurationSetEventDestinationOutput, error) { @@ -220,14 +220,13 @@ const opDeleteConfigurationSet = "DeleteConfigurationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigurationSetRequest method. +// req, resp := client.DeleteConfigurationSetRequest(params) // -// // Example sending a request using the DeleteConfigurationSetRequest method. -// req, resp := client.DeleteConfigurationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/DeleteConfigurationSet func (c *PinpointSMSVoice) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput) (req *request.Request, output *DeleteConfigurationSetOutput) { @@ -259,19 +258,20 @@ func (c *PinpointSMSVoice) DeleteConfigurationSetRequest(input *DeleteConfigurat // API operation DeleteConfigurationSet for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// You've issued too many requests to the resource. Wait a few minutes, and -// then try again. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// You've issued too many requests to the resource. Wait a few minutes, and +// then try again. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * InternalServiceErrorException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServiceErrorException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/DeleteConfigurationSet func (c *PinpointSMSVoice) DeleteConfigurationSet(input *DeleteConfigurationSetInput) (*DeleteConfigurationSetOutput, error) { @@ -311,14 +311,13 @@ const opDeleteConfigurationSetEventDestination = "DeleteConfigurationSetEventDes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigurationSetEventDestinationRequest method. +// req, resp := client.DeleteConfigurationSetEventDestinationRequest(params) // -// // Example sending a request using the DeleteConfigurationSetEventDestinationRequest method. -// req, resp := client.DeleteConfigurationSetEventDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/DeleteConfigurationSetEventDestination func (c *PinpointSMSVoice) DeleteConfigurationSetEventDestinationRequest(input *DeleteConfigurationSetEventDestinationInput) (req *request.Request, output *DeleteConfigurationSetEventDestinationOutput) { @@ -350,19 +349,20 @@ func (c *PinpointSMSVoice) DeleteConfigurationSetEventDestinationRequest(input * // API operation DeleteConfigurationSetEventDestination for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// You've issued too many requests to the resource. Wait a few minutes, and -// then try again. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// You've issued too many requests to the resource. Wait a few minutes, and +// then try again. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * InternalServiceErrorException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServiceErrorException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/DeleteConfigurationSetEventDestination func (c *PinpointSMSVoice) DeleteConfigurationSetEventDestination(input *DeleteConfigurationSetEventDestinationInput) (*DeleteConfigurationSetEventDestinationOutput, error) { @@ -402,14 +402,13 @@ const opGetConfigurationSetEventDestinations = "GetConfigurationSetEventDestinat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConfigurationSetEventDestinationsRequest method. +// req, resp := client.GetConfigurationSetEventDestinationsRequest(params) // -// // Example sending a request using the GetConfigurationSetEventDestinationsRequest method. -// req, resp := client.GetConfigurationSetEventDestinationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/GetConfigurationSetEventDestinations func (c *PinpointSMSVoice) GetConfigurationSetEventDestinationsRequest(input *GetConfigurationSetEventDestinationsInput) (req *request.Request, output *GetConfigurationSetEventDestinationsOutput) { @@ -442,19 +441,20 @@ func (c *PinpointSMSVoice) GetConfigurationSetEventDestinationsRequest(input *Ge // API operation GetConfigurationSetEventDestinations for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// You've issued too many requests to the resource. Wait a few minutes, and -// then try again. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// You've issued too many requests to the resource. Wait a few minutes, and +// then try again. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * InternalServiceErrorException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServiceErrorException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/GetConfigurationSetEventDestinations func (c *PinpointSMSVoice) GetConfigurationSetEventDestinations(input *GetConfigurationSetEventDestinationsInput) (*GetConfigurationSetEventDestinationsOutput, error) { @@ -494,14 +494,13 @@ const opListConfigurationSets = "ListConfigurationSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConfigurationSetsRequest method. +// req, resp := client.ListConfigurationSetsRequest(params) // -// // Example sending a request using the ListConfigurationSetsRequest method. -// req, resp := client.ListConfigurationSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/ListConfigurationSets func (c *PinpointSMSVoice) ListConfigurationSetsRequest(input *ListConfigurationSetsInput) (req *request.Request, output *ListConfigurationSetsOutput) { @@ -533,16 +532,17 @@ func (c *PinpointSMSVoice) ListConfigurationSetsRequest(input *ListConfiguration // API operation ListConfigurationSets for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// You've issued too many requests to the resource. Wait a few minutes, and -// then try again. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// You've issued too many requests to the resource. Wait a few minutes, and +// then try again. +// +// - BadRequestException +// The input you provided is invalid. // -// * InternalServiceErrorException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServiceErrorException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/ListConfigurationSets func (c *PinpointSMSVoice) ListConfigurationSets(input *ListConfigurationSetsInput) (*ListConfigurationSetsOutput, error) { @@ -582,14 +582,13 @@ const opSendVoiceMessage = "SendVoiceMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendVoiceMessageRequest method. +// req, resp := client.SendVoiceMessageRequest(params) // -// // Example sending a request using the SendVoiceMessageRequest method. -// req, resp := client.SendVoiceMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/SendVoiceMessage func (c *PinpointSMSVoice) SendVoiceMessageRequest(input *SendVoiceMessageInput) (req *request.Request, output *SendVoiceMessageOutput) { @@ -620,16 +619,17 @@ func (c *PinpointSMSVoice) SendVoiceMessageRequest(input *SendVoiceMessageInput) // API operation SendVoiceMessage for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// You've issued too many requests to the resource. Wait a few minutes, and -// then try again. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// You've issued too many requests to the resource. Wait a few minutes, and +// then try again. +// +// - BadRequestException +// The input you provided is invalid. // -// * InternalServiceErrorException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServiceErrorException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/SendVoiceMessage func (c *PinpointSMSVoice) SendVoiceMessage(input *SendVoiceMessageInput) (*SendVoiceMessageOutput, error) { @@ -669,14 +669,13 @@ const opUpdateConfigurationSetEventDestination = "UpdateConfigurationSetEventDes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConfigurationSetEventDestinationRequest method. +// req, resp := client.UpdateConfigurationSetEventDestinationRequest(params) // -// // Example sending a request using the UpdateConfigurationSetEventDestinationRequest method. -// req, resp := client.UpdateConfigurationSetEventDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/UpdateConfigurationSetEventDestination func (c *PinpointSMSVoice) UpdateConfigurationSetEventDestinationRequest(input *UpdateConfigurationSetEventDestinationInput) (req *request.Request, output *UpdateConfigurationSetEventDestinationOutput) { @@ -711,19 +710,20 @@ func (c *PinpointSMSVoice) UpdateConfigurationSetEventDestinationRequest(input * // API operation UpdateConfigurationSetEventDestination for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// You've issued too many requests to the resource. Wait a few minutes, and -// then try again. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// You've issued too many requests to the resource. Wait a few minutes, and +// then try again. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * InternalServiceErrorException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServiceErrorException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05/UpdateConfigurationSetEventDestination func (c *PinpointSMSVoice) UpdateConfigurationSetEventDestination(input *UpdateConfigurationSetEventDestinationInput) (*UpdateConfigurationSetEventDestinationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/doc.go index 93bf8f8649b3..b6774073ab71 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/doc.go @@ -3,14 +3,14 @@ // Package pinpointsmsvoice provides the client and types for making API // requests to Amazon Pinpoint SMS and Voice Service. // -// Pinpoint SMS and Voice Messaging public facing APIs +// # Pinpoint SMS and Voice Messaging public facing APIs // // See https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-2018-09-05 for more information on this service. // // See pinpointsmsvoice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/pinpointsmsvoice/ // -// Using the Client +// # Using the Client // // To contact Amazon Pinpoint SMS and Voice Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/pinpointsmsvoiceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/pinpointsmsvoiceiface/interface.go index 86c5ed009566..99453e6b3387 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/pinpointsmsvoiceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/pinpointsmsvoiceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Pinpoint SMS and Voice Service. -// func myFunc(svc pinpointsmsvoiceiface.PinpointSMSVoiceAPI) bool { -// // Make svc.CreateConfigurationSet request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Pinpoint SMS and Voice Service. +// func myFunc(svc pinpointsmsvoiceiface.PinpointSMSVoiceAPI) bool { +// // Make svc.CreateConfigurationSet request +// } // -// func main() { -// sess := session.New() -// svc := pinpointsmsvoice.New(sess) +// func main() { +// sess := session.New() +// svc := pinpointsmsvoice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockPinpointSMSVoiceClient struct { -// pinpointsmsvoiceiface.PinpointSMSVoiceAPI -// } -// func (m *mockPinpointSMSVoiceClient) CreateConfigurationSet(input *pinpointsmsvoice.CreateConfigurationSetInput) (*pinpointsmsvoice.CreateConfigurationSetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockPinpointSMSVoiceClient struct { +// pinpointsmsvoiceiface.PinpointSMSVoiceAPI +// } +// func (m *mockPinpointSMSVoiceClient) CreateConfigurationSet(input *pinpointsmsvoice.CreateConfigurationSetInput) (*pinpointsmsvoice.CreateConfigurationSetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockPinpointSMSVoiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockPinpointSMSVoiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/service.go index 7f75b7b74399..e0687a95b261 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a PinpointSMSVoice client from just a session. -// svc := pinpointsmsvoice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a PinpointSMSVoice client with additional configuration -// svc := pinpointsmsvoice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a PinpointSMSVoice client from just a session. +// svc := pinpointsmsvoice.New(mySession) +// +// // Create a PinpointSMSVoice client with additional configuration +// svc := pinpointsmsvoice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *PinpointSMSVoice { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/api.go index d25255450962..577e491a650a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/api.go @@ -29,14 +29,13 @@ const opAssociateOriginationIdentity = "AssociateOriginationIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateOriginationIdentityRequest method. +// req, resp := client.AssociateOriginationIdentityRequest(params) // -// // Example sending a request using the AssociateOriginationIdentityRequest method. -// req, resp := client.AssociateOriginationIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/AssociateOriginationIdentity func (c *PinpointSMSVoiceV2) AssociateOriginationIdentityRequest(input *AssociateOriginationIdentityInput) (req *request.Request, output *AssociateOriginationIdentityOutput) { @@ -74,32 +73,33 @@ func (c *PinpointSMSVoiceV2) AssociateOriginationIdentityRequest(input *Associat // API operation AssociateOriginationIdentity for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. // -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. +// +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/AssociateOriginationIdentity func (c *PinpointSMSVoiceV2) AssociateOriginationIdentity(input *AssociateOriginationIdentityInput) (*AssociateOriginationIdentityOutput, error) { @@ -139,14 +139,13 @@ const opCreateConfigurationSet = "CreateConfigurationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConfigurationSetRequest method. +// req, resp := client.CreateConfigurationSetRequest(params) // -// // Example sending a request using the CreateConfigurationSetRequest method. -// req, resp := client.CreateConfigurationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateConfigurationSet func (c *PinpointSMSVoiceV2) CreateConfigurationSetRequest(input *CreateConfigurationSetInput) (req *request.Request, output *CreateConfigurationSetOutput) { @@ -184,29 +183,30 @@ func (c *PinpointSMSVoiceV2) CreateConfigurationSetRequest(input *CreateConfigur // API operation CreateConfigurationSet for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. // -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. +// +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateConfigurationSet func (c *PinpointSMSVoiceV2) CreateConfigurationSet(input *CreateConfigurationSetInput) (*CreateConfigurationSetOutput, error) { @@ -246,14 +246,13 @@ const opCreateEventDestination = "CreateEventDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEventDestinationRequest method. +// req, resp := client.CreateEventDestinationRequest(params) // -// // Example sending a request using the CreateEventDestinationRequest method. -// req, resp := client.CreateEventDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateEventDestination func (c *PinpointSMSVoiceV2) CreateEventDestinationRequest(input *CreateEventDestinationInput) (req *request.Request, output *CreateEventDestinationOutput) { @@ -294,32 +293,33 @@ func (c *PinpointSMSVoiceV2) CreateEventDestinationRequest(input *CreateEventDes // API operation CreateEventDestination for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. // -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. +// +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateEventDestination func (c *PinpointSMSVoiceV2) CreateEventDestination(input *CreateEventDestinationInput) (*CreateEventDestinationOutput, error) { @@ -359,14 +359,13 @@ const opCreateOptOutList = "CreateOptOutList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOptOutListRequest method. +// req, resp := client.CreateOptOutListRequest(params) // -// // Example sending a request using the CreateOptOutListRequest method. -// req, resp := client.CreateOptOutListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateOptOutList func (c *PinpointSMSVoiceV2) CreateOptOutListRequest(input *CreateOptOutListInput) (req *request.Request, output *CreateOptOutListOutput) { @@ -406,29 +405,30 @@ func (c *PinpointSMSVoiceV2) CreateOptOutListRequest(input *CreateOptOutListInpu // API operation CreateOptOutList for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. // -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ValidationException -// A validation exception for a field. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreateOptOutList func (c *PinpointSMSVoiceV2) CreateOptOutList(input *CreateOptOutListInput) (*CreateOptOutListOutput, error) { @@ -468,14 +468,13 @@ const opCreatePool = "CreatePool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePoolRequest method. +// req, resp := client.CreatePoolRequest(params) // -// // Example sending a request using the CreatePoolRequest method. -// req, resp := client.CreatePoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreatePool func (c *PinpointSMSVoiceV2) CreatePoolRequest(input *CreatePoolInput) (req *request.Request, output *CreatePoolOutput) { @@ -517,32 +516,33 @@ func (c *PinpointSMSVoiceV2) CreatePoolRequest(input *CreatePoolInput) (req *req // API operation CreatePool for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. // -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. +// +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/CreatePool func (c *PinpointSMSVoiceV2) CreatePool(input *CreatePoolInput) (*CreatePoolOutput, error) { @@ -582,14 +582,13 @@ const opDeleteConfigurationSet = "DeleteConfigurationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigurationSetRequest method. +// req, resp := client.DeleteConfigurationSetRequest(params) // -// // Example sending a request using the DeleteConfigurationSetRequest method. -// req, resp := client.DeleteConfigurationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteConfigurationSet func (c *PinpointSMSVoiceV2) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput) (req *request.Request, output *DeleteConfigurationSetOutput) { @@ -624,23 +623,24 @@ func (c *PinpointSMSVoiceV2) DeleteConfigurationSetRequest(input *DeleteConfigur // API operation DeleteConfigurationSet for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteConfigurationSet func (c *PinpointSMSVoiceV2) DeleteConfigurationSet(input *DeleteConfigurationSetInput) (*DeleteConfigurationSetOutput, error) { @@ -680,14 +680,13 @@ const opDeleteDefaultMessageType = "DeleteDefaultMessageType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDefaultMessageTypeRequest method. +// req, resp := client.DeleteDefaultMessageTypeRequest(params) // -// // Example sending a request using the DeleteDefaultMessageTypeRequest method. -// req, resp := client.DeleteDefaultMessageTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultMessageType func (c *PinpointSMSVoiceV2) DeleteDefaultMessageTypeRequest(input *DeleteDefaultMessageTypeInput) (req *request.Request, output *DeleteDefaultMessageTypeOutput) { @@ -724,23 +723,24 @@ func (c *PinpointSMSVoiceV2) DeleteDefaultMessageTypeRequest(input *DeleteDefaul // API operation DeleteDefaultMessageType for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ValidationException +// A validation exception for a field. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultMessageType func (c *PinpointSMSVoiceV2) DeleteDefaultMessageType(input *DeleteDefaultMessageTypeInput) (*DeleteDefaultMessageTypeOutput, error) { @@ -780,14 +780,13 @@ const opDeleteDefaultSenderId = "DeleteDefaultSenderId" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDefaultSenderIdRequest method. +// req, resp := client.DeleteDefaultSenderIdRequest(params) // -// // Example sending a request using the DeleteDefaultSenderIdRequest method. -// req, resp := client.DeleteDefaultSenderIdRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultSenderId func (c *PinpointSMSVoiceV2) DeleteDefaultSenderIdRequest(input *DeleteDefaultSenderIdInput) (req *request.Request, output *DeleteDefaultSenderIdOutput) { @@ -822,23 +821,24 @@ func (c *PinpointSMSVoiceV2) DeleteDefaultSenderIdRequest(input *DeleteDefaultSe // API operation DeleteDefaultSenderId for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteDefaultSenderId func (c *PinpointSMSVoiceV2) DeleteDefaultSenderId(input *DeleteDefaultSenderIdInput) (*DeleteDefaultSenderIdOutput, error) { @@ -878,14 +878,13 @@ const opDeleteEventDestination = "DeleteEventDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventDestinationRequest method. +// req, resp := client.DeleteEventDestinationRequest(params) // -// // Example sending a request using the DeleteEventDestinationRequest method. -// req, resp := client.DeleteEventDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteEventDestination func (c *PinpointSMSVoiceV2) DeleteEventDestinationRequest(input *DeleteEventDestinationInput) (req *request.Request, output *DeleteEventDestinationOutput) { @@ -921,23 +920,24 @@ func (c *PinpointSMSVoiceV2) DeleteEventDestinationRequest(input *DeleteEventDes // API operation DeleteEventDestination for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteEventDestination func (c *PinpointSMSVoiceV2) DeleteEventDestination(input *DeleteEventDestinationInput) (*DeleteEventDestinationOutput, error) { @@ -977,14 +977,13 @@ const opDeleteKeyword = "DeleteKeyword" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteKeywordRequest method. +// req, resp := client.DeleteKeywordRequest(params) // -// // Example sending a request using the DeleteKeywordRequest method. -// req, resp := client.DeleteKeywordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteKeyword func (c *PinpointSMSVoiceV2) DeleteKeywordRequest(input *DeleteKeywordInput) (req *request.Request, output *DeleteKeywordOutput) { @@ -1023,29 +1022,30 @@ func (c *PinpointSMSVoiceV2) DeleteKeywordRequest(input *DeleteKeywordInput) (re // API operation DeleteKeyword for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteKeyword func (c *PinpointSMSVoiceV2) DeleteKeyword(input *DeleteKeywordInput) (*DeleteKeywordOutput, error) { @@ -1085,14 +1085,13 @@ const opDeleteOptOutList = "DeleteOptOutList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOptOutListRequest method. +// req, resp := client.DeleteOptOutListRequest(params) // -// // Example sending a request using the DeleteOptOutListRequest method. -// req, resp := client.DeleteOptOutListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptOutList func (c *PinpointSMSVoiceV2) DeleteOptOutListRequest(input *DeleteOptOutListInput) (req *request.Request, output *DeleteOptOutListOutput) { @@ -1127,29 +1126,30 @@ func (c *PinpointSMSVoiceV2) DeleteOptOutListRequest(input *DeleteOptOutListInpu // API operation DeleteOptOutList for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptOutList func (c *PinpointSMSVoiceV2) DeleteOptOutList(input *DeleteOptOutListInput) (*DeleteOptOutListOutput, error) { @@ -1189,14 +1189,13 @@ const opDeleteOptedOutNumber = "DeleteOptedOutNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOptedOutNumberRequest method. +// req, resp := client.DeleteOptedOutNumberRequest(params) // -// // Example sending a request using the DeleteOptedOutNumberRequest method. -// req, resp := client.DeleteOptedOutNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptedOutNumber func (c *PinpointSMSVoiceV2) DeleteOptedOutNumberRequest(input *DeleteOptedOutNumberInput) (req *request.Request, output *DeleteOptedOutNumberOutput) { @@ -1233,29 +1232,30 @@ func (c *PinpointSMSVoiceV2) DeleteOptedOutNumberRequest(input *DeleteOptedOutNu // API operation DeleteOptedOutNumber for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteOptedOutNumber func (c *PinpointSMSVoiceV2) DeleteOptedOutNumber(input *DeleteOptedOutNumberInput) (*DeleteOptedOutNumberOutput, error) { @@ -1295,14 +1295,13 @@ const opDeletePool = "DeletePool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePoolRequest method. +// req, resp := client.DeletePoolRequest(params) // -// // Example sending a request using the DeletePoolRequest method. -// req, resp := client.DeletePoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeletePool func (c *PinpointSMSVoiceV2) DeletePoolRequest(input *DeletePoolInput) (req *request.Request, output *DeletePoolOutput) { @@ -1341,29 +1340,30 @@ func (c *PinpointSMSVoiceV2) DeletePoolRequest(input *DeletePoolInput) (req *req // API operation DeletePool for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeletePool func (c *PinpointSMSVoiceV2) DeletePool(input *DeletePoolInput) (*DeletePoolOutput, error) { @@ -1403,14 +1403,13 @@ const opDeleteTextMessageSpendLimitOverride = "DeleteTextMessageSpendLimitOverri // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTextMessageSpendLimitOverrideRequest method. +// req, resp := client.DeleteTextMessageSpendLimitOverrideRequest(params) // -// // Example sending a request using the DeleteTextMessageSpendLimitOverrideRequest method. -// req, resp := client.DeleteTextMessageSpendLimitOverrideRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteTextMessageSpendLimitOverride func (c *PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverrideRequest(input *DeleteTextMessageSpendLimitOverrideInput) (req *request.Request, output *DeleteTextMessageSpendLimitOverrideOutput) { @@ -1445,20 +1444,21 @@ func (c *PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverrideRequest(input *D // API operation DeleteTextMessageSpendLimitOverride for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteTextMessageSpendLimitOverride func (c *PinpointSMSVoiceV2) DeleteTextMessageSpendLimitOverride(input *DeleteTextMessageSpendLimitOverrideInput) (*DeleteTextMessageSpendLimitOverrideOutput, error) { @@ -1498,14 +1498,13 @@ const opDeleteVoiceMessageSpendLimitOverride = "DeleteVoiceMessageSpendLimitOver // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVoiceMessageSpendLimitOverrideRequest method. +// req, resp := client.DeleteVoiceMessageSpendLimitOverrideRequest(params) // -// // Example sending a request using the DeleteVoiceMessageSpendLimitOverrideRequest method. -// req, resp := client.DeleteVoiceMessageSpendLimitOverrideRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteVoiceMessageSpendLimitOverride func (c *PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverrideRequest(input *DeleteVoiceMessageSpendLimitOverrideInput) (req *request.Request, output *DeleteVoiceMessageSpendLimitOverrideOutput) { @@ -1540,20 +1539,21 @@ func (c *PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverrideRequest(input * // API operation DeleteVoiceMessageSpendLimitOverride for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DeleteVoiceMessageSpendLimitOverride func (c *PinpointSMSVoiceV2) DeleteVoiceMessageSpendLimitOverride(input *DeleteVoiceMessageSpendLimitOverrideInput) (*DeleteVoiceMessageSpendLimitOverrideOutput, error) { @@ -1593,14 +1593,13 @@ const opDescribeAccountAttributes = "DescribeAccountAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountAttributesRequest method. +// req, resp := client.DescribeAccountAttributesRequest(params) // -// // Example sending a request using the DescribeAccountAttributesRequest method. -// req, resp := client.DescribeAccountAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountAttributes func (c *PinpointSMSVoiceV2) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput) { @@ -1645,20 +1644,21 @@ func (c *PinpointSMSVoiceV2) DescribeAccountAttributesRequest(input *DescribeAcc // API operation DescribeAccountAttributes for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ValidationException -// A validation exception for a field. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ValidationException +// A validation exception for a field. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountAttributes func (c *PinpointSMSVoiceV2) DescribeAccountAttributes(input *DescribeAccountAttributesInput) (*DescribeAccountAttributesOutput, error) { @@ -1690,15 +1690,14 @@ func (c *PinpointSMSVoiceV2) DescribeAccountAttributesWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAccountAttributes operation. -// pageNum := 0 -// err := client.DescribeAccountAttributesPages(params, -// func(page *pinpointsmsvoicev2.DescribeAccountAttributesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAccountAttributes operation. +// pageNum := 0 +// err := client.DescribeAccountAttributesPages(params, +// func(page *pinpointsmsvoicev2.DescribeAccountAttributesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointSMSVoiceV2) DescribeAccountAttributesPages(input *DescribeAccountAttributesInput, fn func(*DescribeAccountAttributesOutput, bool) bool) error { return c.DescribeAccountAttributesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1750,14 +1749,13 @@ const opDescribeAccountLimits = "DescribeAccountLimits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountLimitsRequest method. +// req, resp := client.DescribeAccountLimitsRequest(params) // -// // Example sending a request using the DescribeAccountLimitsRequest method. -// req, resp := client.DescribeAccountLimitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountLimits func (c *PinpointSMSVoiceV2) DescribeAccountLimitsRequest(input *DescribeAccountLimitsInput) (req *request.Request, output *DescribeAccountLimitsOutput) { @@ -1802,20 +1800,21 @@ func (c *PinpointSMSVoiceV2) DescribeAccountLimitsRequest(input *DescribeAccount // API operation DescribeAccountLimits for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ValidationException -// A validation exception for a field. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ValidationException +// A validation exception for a field. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeAccountLimits func (c *PinpointSMSVoiceV2) DescribeAccountLimits(input *DescribeAccountLimitsInput) (*DescribeAccountLimitsOutput, error) { @@ -1847,15 +1846,14 @@ func (c *PinpointSMSVoiceV2) DescribeAccountLimitsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAccountLimits operation. -// pageNum := 0 -// err := client.DescribeAccountLimitsPages(params, -// func(page *pinpointsmsvoicev2.DescribeAccountLimitsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAccountLimits operation. +// pageNum := 0 +// err := client.DescribeAccountLimitsPages(params, +// func(page *pinpointsmsvoicev2.DescribeAccountLimitsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointSMSVoiceV2) DescribeAccountLimitsPages(input *DescribeAccountLimitsInput, fn func(*DescribeAccountLimitsOutput, bool) bool) error { return c.DescribeAccountLimitsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1907,14 +1905,13 @@ const opDescribeConfigurationSets = "DescribeConfigurationSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConfigurationSetsRequest method. +// req, resp := client.DescribeConfigurationSetsRequest(params) // -// // Example sending a request using the DescribeConfigurationSetsRequest method. -// req, resp := client.DescribeConfigurationSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeConfigurationSets func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsRequest(input *DescribeConfigurationSetsInput) (req *request.Request, output *DescribeConfigurationSetsOutput) { @@ -1959,23 +1956,24 @@ func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsRequest(input *DescribeCon // API operation DescribeConfigurationSets for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ValidationException +// A validation exception for a field. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeConfigurationSets func (c *PinpointSMSVoiceV2) DescribeConfigurationSets(input *DescribeConfigurationSetsInput) (*DescribeConfigurationSetsOutput, error) { @@ -2007,15 +2005,14 @@ func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeConfigurationSets operation. -// pageNum := 0 -// err := client.DescribeConfigurationSetsPages(params, -// func(page *pinpointsmsvoicev2.DescribeConfigurationSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeConfigurationSets operation. +// pageNum := 0 +// err := client.DescribeConfigurationSetsPages(params, +// func(page *pinpointsmsvoicev2.DescribeConfigurationSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointSMSVoiceV2) DescribeConfigurationSetsPages(input *DescribeConfigurationSetsInput, fn func(*DescribeConfigurationSetsOutput, bool) bool) error { return c.DescribeConfigurationSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2067,14 +2064,13 @@ const opDescribeKeywords = "DescribeKeywords" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeKeywordsRequest method. +// req, resp := client.DescribeKeywordsRequest(params) // -// // Example sending a request using the DescribeKeywordsRequest method. -// req, resp := client.DescribeKeywordsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeKeywords func (c *PinpointSMSVoiceV2) DescribeKeywordsRequest(input *DescribeKeywordsInput) (req *request.Request, output *DescribeKeywordsOutput) { @@ -2120,23 +2116,24 @@ func (c *PinpointSMSVoiceV2) DescribeKeywordsRequest(input *DescribeKeywordsInpu // API operation DescribeKeywords for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ValidationException +// A validation exception for a field. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeKeywords func (c *PinpointSMSVoiceV2) DescribeKeywords(input *DescribeKeywordsInput) (*DescribeKeywordsOutput, error) { @@ -2168,15 +2165,14 @@ func (c *PinpointSMSVoiceV2) DescribeKeywordsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeKeywords operation. -// pageNum := 0 -// err := client.DescribeKeywordsPages(params, -// func(page *pinpointsmsvoicev2.DescribeKeywordsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeKeywords operation. +// pageNum := 0 +// err := client.DescribeKeywordsPages(params, +// func(page *pinpointsmsvoicev2.DescribeKeywordsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointSMSVoiceV2) DescribeKeywordsPages(input *DescribeKeywordsInput, fn func(*DescribeKeywordsOutput, bool) bool) error { return c.DescribeKeywordsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2228,14 +2224,13 @@ const opDescribeOptOutLists = "DescribeOptOutLists" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOptOutListsRequest method. +// req, resp := client.DescribeOptOutListsRequest(params) // -// // Example sending a request using the DescribeOptOutListsRequest method. -// req, resp := client.DescribeOptOutListsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptOutLists func (c *PinpointSMSVoiceV2) DescribeOptOutListsRequest(input *DescribeOptOutListsInput) (req *request.Request, output *DescribeOptOutListsOutput) { @@ -2279,23 +2274,24 @@ func (c *PinpointSMSVoiceV2) DescribeOptOutListsRequest(input *DescribeOptOutLis // API operation DescribeOptOutLists for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ValidationException +// A validation exception for a field. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptOutLists func (c *PinpointSMSVoiceV2) DescribeOptOutLists(input *DescribeOptOutListsInput) (*DescribeOptOutListsOutput, error) { @@ -2327,15 +2323,14 @@ func (c *PinpointSMSVoiceV2) DescribeOptOutListsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOptOutLists operation. -// pageNum := 0 -// err := client.DescribeOptOutListsPages(params, -// func(page *pinpointsmsvoicev2.DescribeOptOutListsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOptOutLists operation. +// pageNum := 0 +// err := client.DescribeOptOutListsPages(params, +// func(page *pinpointsmsvoicev2.DescribeOptOutListsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointSMSVoiceV2) DescribeOptOutListsPages(input *DescribeOptOutListsInput, fn func(*DescribeOptOutListsOutput, bool) bool) error { return c.DescribeOptOutListsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2387,14 +2382,13 @@ const opDescribeOptedOutNumbers = "DescribeOptedOutNumbers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOptedOutNumbersRequest method. +// req, resp := client.DescribeOptedOutNumbersRequest(params) // -// // Example sending a request using the DescribeOptedOutNumbersRequest method. -// req, resp := client.DescribeOptedOutNumbersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptedOutNumbers func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersRequest(input *DescribeOptedOutNumbersInput) (req *request.Request, output *DescribeOptedOutNumbersOutput) { @@ -2440,23 +2434,24 @@ func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersRequest(input *DescribeOpted // API operation DescribeOptedOutNumbers for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ValidationException +// A validation exception for a field. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeOptedOutNumbers func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbers(input *DescribeOptedOutNumbersInput) (*DescribeOptedOutNumbersOutput, error) { @@ -2488,15 +2483,14 @@ func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOptedOutNumbers operation. -// pageNum := 0 -// err := client.DescribeOptedOutNumbersPages(params, -// func(page *pinpointsmsvoicev2.DescribeOptedOutNumbersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOptedOutNumbers operation. +// pageNum := 0 +// err := client.DescribeOptedOutNumbersPages(params, +// func(page *pinpointsmsvoicev2.DescribeOptedOutNumbersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointSMSVoiceV2) DescribeOptedOutNumbersPages(input *DescribeOptedOutNumbersInput, fn func(*DescribeOptedOutNumbersOutput, bool) bool) error { return c.DescribeOptedOutNumbersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2548,14 +2542,13 @@ const opDescribePhoneNumbers = "DescribePhoneNumbers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePhoneNumbersRequest method. +// req, resp := client.DescribePhoneNumbersRequest(params) // -// // Example sending a request using the DescribePhoneNumbersRequest method. -// req, resp := client.DescribePhoneNumbersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePhoneNumbers func (c *PinpointSMSVoiceV2) DescribePhoneNumbersRequest(input *DescribePhoneNumbersInput) (req *request.Request, output *DescribePhoneNumbersOutput) { @@ -2601,23 +2594,24 @@ func (c *PinpointSMSVoiceV2) DescribePhoneNumbersRequest(input *DescribePhoneNum // API operation DescribePhoneNumbers for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ValidationException +// A validation exception for a field. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePhoneNumbers func (c *PinpointSMSVoiceV2) DescribePhoneNumbers(input *DescribePhoneNumbersInput) (*DescribePhoneNumbersOutput, error) { @@ -2649,15 +2643,14 @@ func (c *PinpointSMSVoiceV2) DescribePhoneNumbersWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePhoneNumbers operation. -// pageNum := 0 -// err := client.DescribePhoneNumbersPages(params, -// func(page *pinpointsmsvoicev2.DescribePhoneNumbersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePhoneNumbers operation. +// pageNum := 0 +// err := client.DescribePhoneNumbersPages(params, +// func(page *pinpointsmsvoicev2.DescribePhoneNumbersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointSMSVoiceV2) DescribePhoneNumbersPages(input *DescribePhoneNumbersInput, fn func(*DescribePhoneNumbersOutput, bool) bool) error { return c.DescribePhoneNumbersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2709,14 +2702,13 @@ const opDescribePools = "DescribePools" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePoolsRequest method. +// req, resp := client.DescribePoolsRequest(params) // -// // Example sending a request using the DescribePoolsRequest method. -// req, resp := client.DescribePoolsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePools func (c *PinpointSMSVoiceV2) DescribePoolsRequest(input *DescribePoolsInput) (req *request.Request, output *DescribePoolsOutput) { @@ -2765,23 +2757,24 @@ func (c *PinpointSMSVoiceV2) DescribePoolsRequest(input *DescribePoolsInput) (re // API operation DescribePools for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ValidationException +// A validation exception for a field. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribePools func (c *PinpointSMSVoiceV2) DescribePools(input *DescribePoolsInput) (*DescribePoolsOutput, error) { @@ -2813,15 +2806,14 @@ func (c *PinpointSMSVoiceV2) DescribePoolsWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePools operation. -// pageNum := 0 -// err := client.DescribePoolsPages(params, -// func(page *pinpointsmsvoicev2.DescribePoolsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePools operation. +// pageNum := 0 +// err := client.DescribePoolsPages(params, +// func(page *pinpointsmsvoicev2.DescribePoolsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointSMSVoiceV2) DescribePoolsPages(input *DescribePoolsInput, fn func(*DescribePoolsOutput, bool) bool) error { return c.DescribePoolsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2873,14 +2865,13 @@ const opDescribeSenderIds = "DescribeSenderIds" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSenderIdsRequest method. +// req, resp := client.DescribeSenderIdsRequest(params) // -// // Example sending a request using the DescribeSenderIdsRequest method. -// req, resp := client.DescribeSenderIdsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSenderIds func (c *PinpointSMSVoiceV2) DescribeSenderIdsRequest(input *DescribeSenderIdsInput) (req *request.Request, output *DescribeSenderIdsOutput) { @@ -2925,23 +2916,24 @@ func (c *PinpointSMSVoiceV2) DescribeSenderIdsRequest(input *DescribeSenderIdsIn // API operation DescribeSenderIds for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ValidationException +// A validation exception for a field. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSenderIds func (c *PinpointSMSVoiceV2) DescribeSenderIds(input *DescribeSenderIdsInput) (*DescribeSenderIdsOutput, error) { @@ -2973,15 +2965,14 @@ func (c *PinpointSMSVoiceV2) DescribeSenderIdsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSenderIds operation. -// pageNum := 0 -// err := client.DescribeSenderIdsPages(params, -// func(page *pinpointsmsvoicev2.DescribeSenderIdsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSenderIds operation. +// pageNum := 0 +// err := client.DescribeSenderIdsPages(params, +// func(page *pinpointsmsvoicev2.DescribeSenderIdsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointSMSVoiceV2) DescribeSenderIdsPages(input *DescribeSenderIdsInput, fn func(*DescribeSenderIdsOutput, bool) bool) error { return c.DescribeSenderIdsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3033,14 +3024,13 @@ const opDescribeSpendLimits = "DescribeSpendLimits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSpendLimitsRequest method. +// req, resp := client.DescribeSpendLimitsRequest(params) // -// // Example sending a request using the DescribeSpendLimitsRequest method. -// req, resp := client.DescribeSpendLimitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSpendLimits func (c *PinpointSMSVoiceV2) DescribeSpendLimitsRequest(input *DescribeSpendLimitsInput) (req *request.Request, output *DescribeSpendLimitsOutput) { @@ -3084,20 +3074,21 @@ func (c *PinpointSMSVoiceV2) DescribeSpendLimitsRequest(input *DescribeSpendLimi // API operation DescribeSpendLimits for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ValidationException -// A validation exception for a field. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ValidationException +// A validation exception for a field. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DescribeSpendLimits func (c *PinpointSMSVoiceV2) DescribeSpendLimits(input *DescribeSpendLimitsInput) (*DescribeSpendLimitsOutput, error) { @@ -3129,15 +3120,14 @@ func (c *PinpointSMSVoiceV2) DescribeSpendLimitsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSpendLimits operation. -// pageNum := 0 -// err := client.DescribeSpendLimitsPages(params, -// func(page *pinpointsmsvoicev2.DescribeSpendLimitsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSpendLimits operation. +// pageNum := 0 +// err := client.DescribeSpendLimitsPages(params, +// func(page *pinpointsmsvoicev2.DescribeSpendLimitsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointSMSVoiceV2) DescribeSpendLimitsPages(input *DescribeSpendLimitsInput, fn func(*DescribeSpendLimitsOutput, bool) bool) error { return c.DescribeSpendLimitsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3189,14 +3179,13 @@ const opDisassociateOriginationIdentity = "DisassociateOriginationIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateOriginationIdentityRequest method. +// req, resp := client.DisassociateOriginationIdentityRequest(params) // -// // Example sending a request using the DisassociateOriginationIdentityRequest method. -// req, resp := client.DisassociateOriginationIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DisassociateOriginationIdentity func (c *PinpointSMSVoiceV2) DisassociateOriginationIdentityRequest(input *DisassociateOriginationIdentityInput) (req *request.Request, output *DisassociateOriginationIdentityOutput) { @@ -3230,29 +3219,30 @@ func (c *PinpointSMSVoiceV2) DisassociateOriginationIdentityRequest(input *Disas // API operation DisassociateOriginationIdentity for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/DisassociateOriginationIdentity func (c *PinpointSMSVoiceV2) DisassociateOriginationIdentity(input *DisassociateOriginationIdentityInput) (*DisassociateOriginationIdentityOutput, error) { @@ -3292,14 +3282,13 @@ const opListPoolOriginationIdentities = "ListPoolOriginationIdentities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPoolOriginationIdentitiesRequest method. +// req, resp := client.ListPoolOriginationIdentitiesRequest(params) // -// // Example sending a request using the ListPoolOriginationIdentitiesRequest method. -// req, resp := client.ListPoolOriginationIdentitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListPoolOriginationIdentities func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesRequest(input *ListPoolOriginationIdentitiesInput) (req *request.Request, output *ListPoolOriginationIdentitiesOutput) { @@ -3339,23 +3328,24 @@ func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesRequest(input *ListPoo // API operation ListPoolOriginationIdentities for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListPoolOriginationIdentities func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentities(input *ListPoolOriginationIdentitiesInput) (*ListPoolOriginationIdentitiesOutput, error) { @@ -3387,15 +3377,14 @@ func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPoolOriginationIdentities operation. -// pageNum := 0 -// err := client.ListPoolOriginationIdentitiesPages(params, -// func(page *pinpointsmsvoicev2.ListPoolOriginationIdentitiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPoolOriginationIdentities operation. +// pageNum := 0 +// err := client.ListPoolOriginationIdentitiesPages(params, +// func(page *pinpointsmsvoicev2.ListPoolOriginationIdentitiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PinpointSMSVoiceV2) ListPoolOriginationIdentitiesPages(input *ListPoolOriginationIdentitiesInput, fn func(*ListPoolOriginationIdentitiesOutput, bool) bool) error { return c.ListPoolOriginationIdentitiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3447,14 +3436,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListTagsForResource func (c *PinpointSMSVoiceV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -3485,23 +3473,24 @@ func (c *PinpointSMSVoiceV2) ListTagsForResourceRequest(input *ListTagsForResour // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ListTagsForResource func (c *PinpointSMSVoiceV2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3541,14 +3530,13 @@ const opPutKeyword = "PutKeyword" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutKeywordRequest method. +// req, resp := client.PutKeywordRequest(params) // -// // Example sending a request using the PutKeywordRequest method. -// req, resp := client.PutKeywordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutKeyword func (c *PinpointSMSVoiceV2) PutKeywordRequest(input *PutKeywordInput) (req *request.Request, output *PutKeywordOutput) { @@ -3588,32 +3576,33 @@ func (c *PinpointSMSVoiceV2) PutKeywordRequest(input *PutKeywordInput) (req *req // API operation PutKeyword for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. // -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. +// +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutKeyword func (c *PinpointSMSVoiceV2) PutKeyword(input *PutKeywordInput) (*PutKeywordOutput, error) { @@ -3653,14 +3642,13 @@ const opPutOptedOutNumber = "PutOptedOutNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutOptedOutNumberRequest method. +// req, resp := client.PutOptedOutNumberRequest(params) // -// // Example sending a request using the PutOptedOutNumberRequest method. -// req, resp := client.PutOptedOutNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutOptedOutNumber func (c *PinpointSMSVoiceV2) PutOptedOutNumberRequest(input *PutOptedOutNumberInput) (req *request.Request, output *PutOptedOutNumberOutput) { @@ -3694,23 +3682,24 @@ func (c *PinpointSMSVoiceV2) PutOptedOutNumberRequest(input *PutOptedOutNumberIn // API operation PutOptedOutNumber for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ValidationException +// A validation exception for a field. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/PutOptedOutNumber func (c *PinpointSMSVoiceV2) PutOptedOutNumber(input *PutOptedOutNumberInput) (*PutOptedOutNumberOutput, error) { @@ -3750,14 +3739,13 @@ const opReleasePhoneNumber = "ReleasePhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReleasePhoneNumberRequest method. +// req, resp := client.ReleasePhoneNumberRequest(params) // -// // Example sending a request using the ReleasePhoneNumberRequest method. -// req, resp := client.ReleasePhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ReleasePhoneNumber func (c *PinpointSMSVoiceV2) ReleasePhoneNumberRequest(input *ReleasePhoneNumberInput) (req *request.Request, output *ReleasePhoneNumberOutput) { @@ -3792,29 +3780,30 @@ func (c *PinpointSMSVoiceV2) ReleasePhoneNumberRequest(input *ReleasePhoneNumber // API operation ReleasePhoneNumber for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/ReleasePhoneNumber func (c *PinpointSMSVoiceV2) ReleasePhoneNumber(input *ReleasePhoneNumberInput) (*ReleasePhoneNumberOutput, error) { @@ -3854,14 +3843,13 @@ const opRequestPhoneNumber = "RequestPhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RequestPhoneNumberRequest method. +// req, resp := client.RequestPhoneNumberRequest(params) // -// // Example sending a request using the RequestPhoneNumberRequest method. -// req, resp := client.RequestPhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/RequestPhoneNumber func (c *PinpointSMSVoiceV2) RequestPhoneNumberRequest(input *RequestPhoneNumberInput) (req *request.Request, output *RequestPhoneNumberOutput) { @@ -3894,32 +3882,33 @@ func (c *PinpointSMSVoiceV2) RequestPhoneNumberRequest(input *RequestPhoneNumber // API operation RequestPhoneNumber for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. // -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. +// +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/RequestPhoneNumber func (c *PinpointSMSVoiceV2) RequestPhoneNumber(input *RequestPhoneNumberInput) (*RequestPhoneNumberOutput, error) { @@ -3959,14 +3948,13 @@ const opSendTextMessage = "SendTextMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendTextMessageRequest method. +// req, resp := client.SendTextMessageRequest(params) // -// // Example sending a request using the SendTextMessageRequest method. -// req, resp := client.SendTextMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendTextMessage func (c *PinpointSMSVoiceV2) SendTextMessageRequest(input *SendTextMessageInput) (req *request.Request, output *SendTextMessageOutput) { @@ -4003,32 +3991,33 @@ func (c *PinpointSMSVoiceV2) SendTextMessageRequest(input *SendTextMessageInput) // API operation SendTextMessage for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. // -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendTextMessage func (c *PinpointSMSVoiceV2) SendTextMessage(input *SendTextMessageInput) (*SendTextMessageOutput, error) { @@ -4068,14 +4057,13 @@ const opSendVoiceMessage = "SendVoiceMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendVoiceMessageRequest method. +// req, resp := client.SendVoiceMessageRequest(params) // -// // Example sending a request using the SendVoiceMessageRequest method. -// req, resp := client.SendVoiceMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendVoiceMessage func (c *PinpointSMSVoiceV2) SendVoiceMessageRequest(input *SendVoiceMessageInput) (req *request.Request, output *SendVoiceMessageOutput) { @@ -4108,32 +4096,33 @@ func (c *PinpointSMSVoiceV2) SendVoiceMessageRequest(input *SendVoiceMessageInpu // API operation SendVoiceMessage for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. // -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. +// +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SendVoiceMessage func (c *PinpointSMSVoiceV2) SendVoiceMessage(input *SendVoiceMessageInput) (*SendVoiceMessageOutput, error) { @@ -4173,14 +4162,13 @@ const opSetDefaultMessageType = "SetDefaultMessageType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetDefaultMessageTypeRequest method. +// req, resp := client.SetDefaultMessageTypeRequest(params) // -// // Example sending a request using the SetDefaultMessageTypeRequest method. -// req, resp := client.SetDefaultMessageTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultMessageType func (c *PinpointSMSVoiceV2) SetDefaultMessageTypeRequest(input *SetDefaultMessageTypeInput) (req *request.Request, output *SetDefaultMessageTypeOutput) { @@ -4217,23 +4205,24 @@ func (c *PinpointSMSVoiceV2) SetDefaultMessageTypeRequest(input *SetDefaultMessa // API operation SetDefaultMessageType for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultMessageType func (c *PinpointSMSVoiceV2) SetDefaultMessageType(input *SetDefaultMessageTypeInput) (*SetDefaultMessageTypeOutput, error) { @@ -4273,14 +4262,13 @@ const opSetDefaultSenderId = "SetDefaultSenderId" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetDefaultSenderIdRequest method. +// req, resp := client.SetDefaultSenderIdRequest(params) // -// // Example sending a request using the SetDefaultSenderIdRequest method. -// req, resp := client.SetDefaultSenderIdRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultSenderId func (c *PinpointSMSVoiceV2) SetDefaultSenderIdRequest(input *SetDefaultSenderIdInput) (req *request.Request, output *SetDefaultSenderIdOutput) { @@ -4316,23 +4304,24 @@ func (c *PinpointSMSVoiceV2) SetDefaultSenderIdRequest(input *SetDefaultSenderId // API operation SetDefaultSenderId for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ValidationException +// A validation exception for a field. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetDefaultSenderId func (c *PinpointSMSVoiceV2) SetDefaultSenderId(input *SetDefaultSenderIdInput) (*SetDefaultSenderIdOutput, error) { @@ -4372,14 +4361,13 @@ const opSetTextMessageSpendLimitOverride = "SetTextMessageSpendLimitOverride" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetTextMessageSpendLimitOverrideRequest method. +// req, resp := client.SetTextMessageSpendLimitOverrideRequest(params) // -// // Example sending a request using the SetTextMessageSpendLimitOverrideRequest method. -// req, resp := client.SetTextMessageSpendLimitOverrideRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetTextMessageSpendLimitOverride func (c *PinpointSMSVoiceV2) SetTextMessageSpendLimitOverrideRequest(input *SetTextMessageSpendLimitOverrideInput) (req *request.Request, output *SetTextMessageSpendLimitOverrideOutput) { @@ -4412,20 +4400,21 @@ func (c *PinpointSMSVoiceV2) SetTextMessageSpendLimitOverrideRequest(input *SetT // API operation SetTextMessageSpendLimitOverride for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetTextMessageSpendLimitOverride func (c *PinpointSMSVoiceV2) SetTextMessageSpendLimitOverride(input *SetTextMessageSpendLimitOverrideInput) (*SetTextMessageSpendLimitOverrideOutput, error) { @@ -4465,14 +4454,13 @@ const opSetVoiceMessageSpendLimitOverride = "SetVoiceMessageSpendLimitOverride" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetVoiceMessageSpendLimitOverrideRequest method. +// req, resp := client.SetVoiceMessageSpendLimitOverrideRequest(params) // -// // Example sending a request using the SetVoiceMessageSpendLimitOverrideRequest method. -// req, resp := client.SetVoiceMessageSpendLimitOverrideRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetVoiceMessageSpendLimitOverride func (c *PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverrideRequest(input *SetVoiceMessageSpendLimitOverrideInput) (req *request.Request, output *SetVoiceMessageSpendLimitOverrideOutput) { @@ -4505,20 +4493,21 @@ func (c *PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverrideRequest(input *Set // API operation SetVoiceMessageSpendLimitOverride for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/SetVoiceMessageSpendLimitOverride func (c *PinpointSMSVoiceV2) SetVoiceMessageSpendLimitOverride(input *SetVoiceMessageSpendLimitOverrideInput) (*SetVoiceMessageSpendLimitOverrideOutput, error) { @@ -4558,14 +4547,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/TagResource func (c *PinpointSMSVoiceV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -4603,26 +4591,27 @@ func (c *PinpointSMSVoiceV2) TagResourceRequest(input *TagResourceInput) (req *r // API operation TagResource for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. // -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ValidationException +// A validation exception for a field. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/TagResource func (c *PinpointSMSVoiceV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4662,14 +4651,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UntagResource func (c *PinpointSMSVoiceV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4704,23 +4692,24 @@ func (c *PinpointSMSVoiceV2) UntagResourceRequest(input *UntagResourceInput) (re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UntagResource func (c *PinpointSMSVoiceV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -4760,14 +4749,13 @@ const opUpdateEventDestination = "UpdateEventDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEventDestinationRequest method. +// req, resp := client.UpdateEventDestinationRequest(params) // -// // Example sending a request using the UpdateEventDestinationRequest method. -// req, resp := client.UpdateEventDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateEventDestination func (c *PinpointSMSVoiceV2) UpdateEventDestinationRequest(input *UpdateEventDestinationInput) (req *request.Request, output *UpdateEventDestinationOutput) { @@ -4805,29 +4793,30 @@ func (c *PinpointSMSVoiceV2) UpdateEventDestinationRequest(input *UpdateEventDes // API operation UpdateEventDestination for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdateEventDestination func (c *PinpointSMSVoiceV2) UpdateEventDestination(input *UpdateEventDestinationInput) (*UpdateEventDestinationOutput, error) { @@ -4867,14 +4856,13 @@ const opUpdatePhoneNumber = "UpdatePhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePhoneNumberRequest method. +// req, resp := client.UpdatePhoneNumberRequest(params) // -// // Example sending a request using the UpdatePhoneNumberRequest method. -// req, resp := client.UpdatePhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePhoneNumber func (c *PinpointSMSVoiceV2) UpdatePhoneNumberRequest(input *UpdatePhoneNumberInput) (req *request.Request, output *UpdatePhoneNumberOutput) { @@ -4910,29 +4898,30 @@ func (c *PinpointSMSVoiceV2) UpdatePhoneNumberRequest(input *UpdatePhoneNumberIn // API operation UpdatePhoneNumber for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ValidationException -// A validation exception for a field. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ValidationException +// A validation exception for a field. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. +// +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePhoneNumber func (c *PinpointSMSVoiceV2) UpdatePhoneNumber(input *UpdatePhoneNumberInput) (*UpdatePhoneNumberOutput, error) { @@ -4972,14 +4961,13 @@ const opUpdatePool = "UpdatePool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePoolRequest method. +// req, resp := client.UpdatePoolRequest(params) // -// // Example sending a request using the UpdatePoolRequest method. -// req, resp := client.UpdatePoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePool func (c *PinpointSMSVoiceV2) UpdatePoolRequest(input *UpdatePoolInput) (req *request.Request, output *UpdatePoolOutput) { @@ -5013,29 +5001,30 @@ func (c *PinpointSMSVoiceV2) UpdatePoolRequest(input *UpdatePoolInput) (req *req // API operation UpdatePool for usage and error information. // // Returned Error Types: -// * ThrottlingException -// An error that occurred because too many requests were sent during a certain -// amount of time. // -// * AccessDeniedException -// The request was denied because you don't have sufficient permissions to access -// the resource. +// - ThrottlingException +// An error that occurred because too many requests were sent during a certain +// amount of time. +// +// - AccessDeniedException +// The request was denied because you don't have sufficient permissions to access +// the resource. // -// * ResourceNotFoundException -// A requested resource couldn't be found. +// - ResourceNotFoundException +// A requested resource couldn't be found. // -// * ValidationException -// A validation exception for a field. +// - ValidationException +// A validation exception for a field. // -// * ConflictException -// Your request has conflicting operations. This can occur if you're trying -// to perform more than one operation on the same resource at the same time -// or it could be that the requested action isn't valid for the current state -// or configuration of the resource. +// - ConflictException +// Your request has conflicting operations. This can occur if you're trying +// to perform more than one operation on the same resource at the same time +// or it could be that the requested action isn't valid for the current state +// or configuration of the resource. // -// * InternalServerException -// The API encountered an unexpected error and couldn't complete the request. -// You might be able to successfully issue the request again in the future. +// - InternalServerException +// The API encountered an unexpected error and couldn't complete the request. +// You might be able to successfully issue the request again in the future. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-sms-voice-v2-2022-03-31/UpdatePool func (c *PinpointSMSVoiceV2) UpdatePool(input *UpdatePoolInput) (*UpdatePoolOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/doc.go index cf5930222d66..a3051d187ff3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/doc.go @@ -27,7 +27,7 @@ // See pinpointsmsvoicev2 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/pinpointsmsvoicev2/ // -// Using the Client +// # Using the Client // // To contact Amazon Pinpoint SMS Voice V2 with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/pinpointsmsvoicev2iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/pinpointsmsvoicev2iface/interface.go index 5b5bab8d5c8d..ce6628cc980a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/pinpointsmsvoicev2iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/pinpointsmsvoicev2iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Pinpoint SMS Voice V2. -// func myFunc(svc pinpointsmsvoicev2iface.PinpointSMSVoiceV2API) bool { -// // Make svc.AssociateOriginationIdentity request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Pinpoint SMS Voice V2. +// func myFunc(svc pinpointsmsvoicev2iface.PinpointSMSVoiceV2API) bool { +// // Make svc.AssociateOriginationIdentity request +// } // -// func main() { -// sess := session.New() -// svc := pinpointsmsvoicev2.New(sess) +// func main() { +// sess := session.New() +// svc := pinpointsmsvoicev2.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockPinpointSMSVoiceV2Client struct { -// pinpointsmsvoicev2iface.PinpointSMSVoiceV2API -// } -// func (m *mockPinpointSMSVoiceV2Client) AssociateOriginationIdentity(input *pinpointsmsvoicev2.AssociateOriginationIdentityInput) (*pinpointsmsvoicev2.AssociateOriginationIdentityOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockPinpointSMSVoiceV2Client struct { +// pinpointsmsvoicev2iface.PinpointSMSVoiceV2API +// } +// func (m *mockPinpointSMSVoiceV2Client) AssociateOriginationIdentity(input *pinpointsmsvoicev2.AssociateOriginationIdentityInput) (*pinpointsmsvoicev2.AssociateOriginationIdentityOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockPinpointSMSVoiceV2Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockPinpointSMSVoiceV2Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/service.go index 2a8775cb5054..2275802fd939 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pinpointsmsvoicev2/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a PinpointSMSVoiceV2 client from just a session. -// svc := pinpointsmsvoicev2.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a PinpointSMSVoiceV2 client with additional configuration -// svc := pinpointsmsvoicev2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a PinpointSMSVoiceV2 client from just a session. +// svc := pinpointsmsvoicev2.New(mySession) +// +// // Create a PinpointSMSVoiceV2 client with additional configuration +// svc := pinpointsmsvoicev2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *PinpointSMSVoiceV2 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/api.go index 357c03945a04..c024a56a24f9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/api.go @@ -30,14 +30,13 @@ const opDeleteLexicon = "DeleteLexicon" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLexiconRequest method. +// req, resp := client.DeleteLexiconRequest(params) // -// // Example sending a request using the DeleteLexiconRequest method. -// req, resp := client.DeleteLexiconRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/DeleteLexicon func (c *Polly) DeleteLexiconRequest(input *DeleteLexiconInput) (req *request.Request, output *DeleteLexiconOutput) { @@ -74,16 +73,17 @@ func (c *Polly) DeleteLexiconRequest(input *DeleteLexiconInput) (req *request.Re // API operation DeleteLexicon for usage and error information. // // Returned Error Types: -// * LexiconNotFoundException -// Amazon Polly can't find the specified lexicon. This could be caused by a -// lexicon that is missing, its name is misspelled or specifying a lexicon that -// is in a different region. // -// Verify that the lexicon exists, is in the region (see ListLexicons) and that -// you spelled its name is spelled correctly. Then try again. +// - LexiconNotFoundException +// Amazon Polly can't find the specified lexicon. This could be caused by a +// lexicon that is missing, its name is misspelled or specifying a lexicon that +// is in a different region. +// +// Verify that the lexicon exists, is in the region (see ListLexicons) and that +// you spelled its name is spelled correctly. Then try again. // -// * ServiceFailureException -// An unknown condition has caused a service failure. +// - ServiceFailureException +// An unknown condition has caused a service failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/DeleteLexicon func (c *Polly) DeleteLexicon(input *DeleteLexiconInput) (*DeleteLexiconOutput, error) { @@ -123,14 +123,13 @@ const opDescribeVoices = "DescribeVoices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVoicesRequest method. +// req, resp := client.DescribeVoicesRequest(params) // -// // Example sending a request using the DescribeVoicesRequest method. -// req, resp := client.DescribeVoicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/DescribeVoices func (c *Polly) DescribeVoicesRequest(input *DescribeVoicesInput) (req *request.Request, output *DescribeVoicesOutput) { @@ -177,12 +176,13 @@ func (c *Polly) DescribeVoicesRequest(input *DescribeVoicesInput) (req *request. // API operation DescribeVoices for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The NextToken is invalid. Verify that it's spelled correctly, and then try -// again. // -// * ServiceFailureException -// An unknown condition has caused a service failure. +// - InvalidNextTokenException +// The NextToken is invalid. Verify that it's spelled correctly, and then try +// again. +// +// - ServiceFailureException +// An unknown condition has caused a service failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/DescribeVoices func (c *Polly) DescribeVoices(input *DescribeVoicesInput) (*DescribeVoicesOutput, error) { @@ -222,14 +222,13 @@ const opGetLexicon = "GetLexicon" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLexiconRequest method. +// req, resp := client.GetLexiconRequest(params) // -// // Example sending a request using the GetLexiconRequest method. -// req, resp := client.GetLexiconRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/GetLexicon func (c *Polly) GetLexiconRequest(input *GetLexiconInput) (req *request.Request, output *GetLexiconOutput) { @@ -261,16 +260,17 @@ func (c *Polly) GetLexiconRequest(input *GetLexiconInput) (req *request.Request, // API operation GetLexicon for usage and error information. // // Returned Error Types: -// * LexiconNotFoundException -// Amazon Polly can't find the specified lexicon. This could be caused by a -// lexicon that is missing, its name is misspelled or specifying a lexicon that -// is in a different region. // -// Verify that the lexicon exists, is in the region (see ListLexicons) and that -// you spelled its name is spelled correctly. Then try again. +// - LexiconNotFoundException +// Amazon Polly can't find the specified lexicon. This could be caused by a +// lexicon that is missing, its name is misspelled or specifying a lexicon that +// is in a different region. +// +// Verify that the lexicon exists, is in the region (see ListLexicons) and that +// you spelled its name is spelled correctly. Then try again. // -// * ServiceFailureException -// An unknown condition has caused a service failure. +// - ServiceFailureException +// An unknown condition has caused a service failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/GetLexicon func (c *Polly) GetLexicon(input *GetLexiconInput) (*GetLexiconOutput, error) { @@ -310,14 +310,13 @@ const opGetSpeechSynthesisTask = "GetSpeechSynthesisTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSpeechSynthesisTaskRequest method. +// req, resp := client.GetSpeechSynthesisTaskRequest(params) // -// // Example sending a request using the GetSpeechSynthesisTaskRequest method. -// req, resp := client.GetSpeechSynthesisTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/GetSpeechSynthesisTask func (c *Polly) GetSpeechSynthesisTaskRequest(input *GetSpeechSynthesisTaskInput) (req *request.Request, output *GetSpeechSynthesisTaskOutput) { @@ -351,15 +350,16 @@ func (c *Polly) GetSpeechSynthesisTaskRequest(input *GetSpeechSynthesisTaskInput // API operation GetSpeechSynthesisTask for usage and error information. // // Returned Error Types: -// * InvalidTaskIdException -// The provided Task ID is not valid. Please provide a valid Task ID and try -// again. // -// * ServiceFailureException -// An unknown condition has caused a service failure. +// - InvalidTaskIdException +// The provided Task ID is not valid. Please provide a valid Task ID and try +// again. // -// * SynthesisTaskNotFoundException -// The Speech Synthesis task with requested Task ID cannot be found. +// - ServiceFailureException +// An unknown condition has caused a service failure. +// +// - SynthesisTaskNotFoundException +// The Speech Synthesis task with requested Task ID cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/GetSpeechSynthesisTask func (c *Polly) GetSpeechSynthesisTask(input *GetSpeechSynthesisTaskInput) (*GetSpeechSynthesisTaskOutput, error) { @@ -399,14 +399,13 @@ const opListLexicons = "ListLexicons" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLexiconsRequest method. +// req, resp := client.ListLexiconsRequest(params) // -// // Example sending a request using the ListLexiconsRequest method. -// req, resp := client.ListLexiconsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/ListLexicons func (c *Polly) ListLexiconsRequest(input *ListLexiconsInput) (req *request.Request, output *ListLexiconsOutput) { @@ -438,12 +437,13 @@ func (c *Polly) ListLexiconsRequest(input *ListLexiconsInput) (req *request.Requ // API operation ListLexicons for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The NextToken is invalid. Verify that it's spelled correctly, and then try -// again. // -// * ServiceFailureException -// An unknown condition has caused a service failure. +// - InvalidNextTokenException +// The NextToken is invalid. Verify that it's spelled correctly, and then try +// again. +// +// - ServiceFailureException +// An unknown condition has caused a service failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/ListLexicons func (c *Polly) ListLexicons(input *ListLexiconsInput) (*ListLexiconsOutput, error) { @@ -483,14 +483,13 @@ const opListSpeechSynthesisTasks = "ListSpeechSynthesisTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSpeechSynthesisTasksRequest method. +// req, resp := client.ListSpeechSynthesisTasksRequest(params) // -// // Example sending a request using the ListSpeechSynthesisTasksRequest method. -// req, resp := client.ListSpeechSynthesisTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/ListSpeechSynthesisTasks func (c *Polly) ListSpeechSynthesisTasksRequest(input *ListSpeechSynthesisTasksInput) (req *request.Request, output *ListSpeechSynthesisTasksOutput) { @@ -529,12 +528,13 @@ func (c *Polly) ListSpeechSynthesisTasksRequest(input *ListSpeechSynthesisTasksI // API operation ListSpeechSynthesisTasks for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The NextToken is invalid. Verify that it's spelled correctly, and then try -// again. // -// * ServiceFailureException -// An unknown condition has caused a service failure. +// - InvalidNextTokenException +// The NextToken is invalid. Verify that it's spelled correctly, and then try +// again. +// +// - ServiceFailureException +// An unknown condition has caused a service failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/ListSpeechSynthesisTasks func (c *Polly) ListSpeechSynthesisTasks(input *ListSpeechSynthesisTasksInput) (*ListSpeechSynthesisTasksOutput, error) { @@ -566,15 +566,14 @@ func (c *Polly) ListSpeechSynthesisTasksWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSpeechSynthesisTasks operation. -// pageNum := 0 -// err := client.ListSpeechSynthesisTasksPages(params, -// func(page *polly.ListSpeechSynthesisTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSpeechSynthesisTasks operation. +// pageNum := 0 +// err := client.ListSpeechSynthesisTasksPages(params, +// func(page *polly.ListSpeechSynthesisTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Polly) ListSpeechSynthesisTasksPages(input *ListSpeechSynthesisTasksInput, fn func(*ListSpeechSynthesisTasksOutput, bool) bool) error { return c.ListSpeechSynthesisTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -626,14 +625,13 @@ const opPutLexicon = "PutLexicon" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutLexiconRequest method. +// req, resp := client.PutLexiconRequest(params) // -// // Example sending a request using the PutLexiconRequest method. -// req, resp := client.PutLexiconRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/PutLexicon func (c *Polly) PutLexiconRequest(input *PutLexiconInput) (req *request.Request, output *PutLexiconOutput) { @@ -671,29 +669,30 @@ func (c *Polly) PutLexiconRequest(input *PutLexiconInput) (req *request.Request, // API operation PutLexicon for usage and error information. // // Returned Error Types: -// * InvalidLexiconException -// Amazon Polly can't find the specified lexicon. Verify that the lexicon's -// name is spelled correctly, and then try again. // -// * UnsupportedPlsAlphabetException -// The alphabet specified by the lexicon is not a supported alphabet. Valid -// values are x-sampa and ipa. +// - InvalidLexiconException +// Amazon Polly can't find the specified lexicon. Verify that the lexicon's +// name is spelled correctly, and then try again. // -// * UnsupportedPlsLanguageException -// The language specified in the lexicon is unsupported. For a list of supported -// languages, see Lexicon Attributes (https://docs.aws.amazon.com/polly/latest/dg/API_LexiconAttributes.html). +// - UnsupportedPlsAlphabetException +// The alphabet specified by the lexicon is not a supported alphabet. Valid +// values are x-sampa and ipa. // -// * LexiconSizeExceededException -// The maximum size of the specified lexicon would be exceeded by this operation. +// - UnsupportedPlsLanguageException +// The language specified in the lexicon is unsupported. For a list of supported +// languages, see Lexicon Attributes (https://docs.aws.amazon.com/polly/latest/dg/API_LexiconAttributes.html). // -// * MaxLexemeLengthExceededException -// The maximum size of the lexeme would be exceeded by this operation. +// - LexiconSizeExceededException +// The maximum size of the specified lexicon would be exceeded by this operation. // -// * MaxLexiconsNumberExceededException -// The maximum number of lexicons would be exceeded by this operation. +// - MaxLexemeLengthExceededException +// The maximum size of the lexeme would be exceeded by this operation. // -// * ServiceFailureException -// An unknown condition has caused a service failure. +// - MaxLexiconsNumberExceededException +// The maximum number of lexicons would be exceeded by this operation. +// +// - ServiceFailureException +// An unknown condition has caused a service failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/PutLexicon func (c *Polly) PutLexicon(input *PutLexiconInput) (*PutLexiconOutput, error) { @@ -733,14 +732,13 @@ const opStartSpeechSynthesisTask = "StartSpeechSynthesisTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartSpeechSynthesisTaskRequest method. +// req, resp := client.StartSpeechSynthesisTaskRequest(params) // -// // Example sending a request using the StartSpeechSynthesisTaskRequest method. -// req, resp := client.StartSpeechSynthesisTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/StartSpeechSynthesisTask func (c *Polly) StartSpeechSynthesisTaskRequest(input *StartSpeechSynthesisTaskInput) (req *request.Request, output *StartSpeechSynthesisTaskOutput) { @@ -779,58 +777,59 @@ func (c *Polly) StartSpeechSynthesisTaskRequest(input *StartSpeechSynthesisTaskI // API operation StartSpeechSynthesisTask for usage and error information. // // Returned Error Types: -// * TextLengthExceededException -// The value of the "Text" parameter is longer than the accepted limits. For -// the SynthesizeSpeech API, the limit for input text is a maximum of 6000 characters -// total, of which no more than 3000 can be billed characters. For the StartSpeechSynthesisTask -// API, the maximum is 200,000 characters, of which no more than 100,000 can -// be billed characters. SSML tags are not counted as billed characters. // -// * InvalidS3BucketException -// The provided Amazon S3 bucket name is invalid. Please check your input with -// S3 bucket naming requirements and try again. +// - TextLengthExceededException +// The value of the "Text" parameter is longer than the accepted limits. For +// the SynthesizeSpeech API, the limit for input text is a maximum of 6000 characters +// total, of which no more than 3000 can be billed characters. For the StartSpeechSynthesisTask +// API, the maximum is 200,000 characters, of which no more than 100,000 can +// be billed characters. SSML tags are not counted as billed characters. // -// * InvalidS3KeyException -// The provided Amazon S3 key prefix is invalid. Please provide a valid S3 object -// key name. +// - InvalidS3BucketException +// The provided Amazon S3 bucket name is invalid. Please check your input with +// S3 bucket naming requirements and try again. // -// * InvalidSampleRateException -// The specified sample rate is not valid. +// - InvalidS3KeyException +// The provided Amazon S3 key prefix is invalid. Please provide a valid S3 object +// key name. // -// * InvalidSnsTopicArnException -// The provided SNS topic ARN is invalid. Please provide a valid SNS topic ARN -// and try again. +// - InvalidSampleRateException +// The specified sample rate is not valid. // -// * InvalidSsmlException -// The SSML you provided is invalid. Verify the SSML syntax, spelling of tags -// and values, and then try again. +// - InvalidSnsTopicArnException +// The provided SNS topic ARN is invalid. Please provide a valid SNS topic ARN +// and try again. // -// * EngineNotSupportedException -// This engine is not compatible with the voice that you have designated. Choose -// a new voice that is compatible with the engine or change the engine and restart -// the operation. +// - InvalidSsmlException +// The SSML you provided is invalid. Verify the SSML syntax, spelling of tags +// and values, and then try again. // -// * LexiconNotFoundException -// Amazon Polly can't find the specified lexicon. This could be caused by a -// lexicon that is missing, its name is misspelled or specifying a lexicon that -// is in a different region. +// - EngineNotSupportedException +// This engine is not compatible with the voice that you have designated. Choose +// a new voice that is compatible with the engine or change the engine and restart +// the operation. // -// Verify that the lexicon exists, is in the region (see ListLexicons) and that -// you spelled its name is spelled correctly. Then try again. +// - LexiconNotFoundException +// Amazon Polly can't find the specified lexicon. This could be caused by a +// lexicon that is missing, its name is misspelled or specifying a lexicon that +// is in a different region. // -// * ServiceFailureException -// An unknown condition has caused a service failure. +// Verify that the lexicon exists, is in the region (see ListLexicons) and that +// you spelled its name is spelled correctly. Then try again. // -// * MarksNotSupportedForFormatException -// Speech marks are not supported for the OutputFormat selected. Speech marks -// are only available for content in json format. +// - ServiceFailureException +// An unknown condition has caused a service failure. // -// * SsmlMarksNotSupportedForTextTypeException -// SSML speech marks are not supported for plain text-type input. +// - MarksNotSupportedForFormatException +// Speech marks are not supported for the OutputFormat selected. Speech marks +// are only available for content in json format. // -// * LanguageNotSupportedException -// The language specified is not currently supported by Amazon Polly in this -// capacity. +// - SsmlMarksNotSupportedForTextTypeException +// SSML speech marks are not supported for plain text-type input. +// +// - LanguageNotSupportedException +// The language specified is not currently supported by Amazon Polly in this +// capacity. // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/StartSpeechSynthesisTask func (c *Polly) StartSpeechSynthesisTask(input *StartSpeechSynthesisTaskInput) (*StartSpeechSynthesisTaskOutput, error) { @@ -870,14 +869,13 @@ const opSynthesizeSpeech = "SynthesizeSpeech" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SynthesizeSpeechRequest method. +// req, resp := client.SynthesizeSpeechRequest(params) // -// // Example sending a request using the SynthesizeSpeechRequest method. -// req, resp := client.SynthesizeSpeechRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/SynthesizeSpeech func (c *Polly) SynthesizeSpeechRequest(input *SynthesizeSpeechInput) (req *request.Request, output *SynthesizeSpeechOutput) { @@ -912,46 +910,47 @@ func (c *Polly) SynthesizeSpeechRequest(input *SynthesizeSpeechInput) (req *requ // API operation SynthesizeSpeech for usage and error information. // // Returned Error Types: -// * TextLengthExceededException -// The value of the "Text" parameter is longer than the accepted limits. For -// the SynthesizeSpeech API, the limit for input text is a maximum of 6000 characters -// total, of which no more than 3000 can be billed characters. For the StartSpeechSynthesisTask -// API, the maximum is 200,000 characters, of which no more than 100,000 can -// be billed characters. SSML tags are not counted as billed characters. -// -// * InvalidSampleRateException -// The specified sample rate is not valid. -// -// * InvalidSsmlException -// The SSML you provided is invalid. Verify the SSML syntax, spelling of tags -// and values, and then try again. -// -// * LexiconNotFoundException -// Amazon Polly can't find the specified lexicon. This could be caused by a -// lexicon that is missing, its name is misspelled or specifying a lexicon that -// is in a different region. -// -// Verify that the lexicon exists, is in the region (see ListLexicons) and that -// you spelled its name is spelled correctly. Then try again. -// -// * ServiceFailureException -// An unknown condition has caused a service failure. -// -// * MarksNotSupportedForFormatException -// Speech marks are not supported for the OutputFormat selected. Speech marks -// are only available for content in json format. -// -// * SsmlMarksNotSupportedForTextTypeException -// SSML speech marks are not supported for plain text-type input. -// -// * LanguageNotSupportedException -// The language specified is not currently supported by Amazon Polly in this -// capacity. -// -// * EngineNotSupportedException -// This engine is not compatible with the voice that you have designated. Choose -// a new voice that is compatible with the engine or change the engine and restart -// the operation. +// +// - TextLengthExceededException +// The value of the "Text" parameter is longer than the accepted limits. For +// the SynthesizeSpeech API, the limit for input text is a maximum of 6000 characters +// total, of which no more than 3000 can be billed characters. For the StartSpeechSynthesisTask +// API, the maximum is 200,000 characters, of which no more than 100,000 can +// be billed characters. SSML tags are not counted as billed characters. +// +// - InvalidSampleRateException +// The specified sample rate is not valid. +// +// - InvalidSsmlException +// The SSML you provided is invalid. Verify the SSML syntax, spelling of tags +// and values, and then try again. +// +// - LexiconNotFoundException +// Amazon Polly can't find the specified lexicon. This could be caused by a +// lexicon that is missing, its name is misspelled or specifying a lexicon that +// is in a different region. +// +// Verify that the lexicon exists, is in the region (see ListLexicons) and that +// you spelled its name is spelled correctly. Then try again. +// +// - ServiceFailureException +// An unknown condition has caused a service failure. +// +// - MarksNotSupportedForFormatException +// Speech marks are not supported for the OutputFormat selected. Speech marks +// are only available for content in json format. +// +// - SsmlMarksNotSupportedForTextTypeException +// SSML speech marks are not supported for plain text-type input. +// +// - LanguageNotSupportedException +// The language specified is not currently supported by Amazon Polly in this +// capacity. +// +// - EngineNotSupportedException +// This engine is not compatible with the voice that you have designated. Choose +// a new voice that is compatible with the engine or change the engine and restart +// the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/polly-2016-06-10/SynthesizeSpeech func (c *Polly) SynthesizeSpeech(input *SynthesizeSpeechInput) (*SynthesizeSpeechOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/doc.go index 4fe73c69c60b..a25a11250f03 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/doc.go @@ -16,7 +16,7 @@ // See polly package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/polly/ // -// Using the Client +// # Using the Client // // To contact Amazon Polly with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/pollyiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/pollyiface/interface.go index 951130ddcdf3..8154006bd453 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/pollyiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/pollyiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Polly. -// func myFunc(svc pollyiface.PollyAPI) bool { -// // Make svc.DeleteLexicon request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Polly. +// func myFunc(svc pollyiface.PollyAPI) bool { +// // Make svc.DeleteLexicon request +// } // -// func main() { -// sess := session.New() -// svc := polly.New(sess) +// func main() { +// sess := session.New() +// svc := polly.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockPollyClient struct { -// pollyiface.PollyAPI -// } -// func (m *mockPollyClient) DeleteLexicon(input *polly.DeleteLexiconInput) (*polly.DeleteLexiconOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockPollyClient struct { +// pollyiface.PollyAPI +// } +// func (m *mockPollyClient) DeleteLexicon(input *polly.DeleteLexiconInput) (*polly.DeleteLexiconOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockPollyClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockPollyClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/service.go index cf77b01234d8..c23a2bb14dfd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/polly/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Polly client from just a session. -// svc := polly.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Polly client with additional configuration -// svc := polly.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Polly client from just a session. +// svc := polly.New(mySession) +// +// // Create a Polly client with additional configuration +// svc := polly.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Polly { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/api.go index ed10901d1212..4cfb93aa7b87 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/api.go @@ -27,14 +27,13 @@ const opDescribeServices = "DescribeServices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeServicesRequest method. +// req, resp := client.DescribeServicesRequest(params) // -// // Example sending a request using the DescribeServicesRequest method. -// req, resp := client.DescribeServicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/DescribeServices func (c *Pricing) DescribeServicesRequest(input *DescribeServicesInput) (req *request.Request, output *DescribeServicesOutput) { @@ -76,21 +75,22 @@ func (c *Pricing) DescribeServicesRequest(input *DescribeServicesInput) (req *re // API operation DescribeServices for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// One or more parameters had an invalid value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. +// +// - InvalidParameterException +// One or more parameters had an invalid value. // -// * NotFoundException -// The requested resource can't be found. +// - NotFoundException +// The requested resource can't be found. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // -// * ExpiredNextTokenException -// The pagination token expired. Try again without a pagination token. +// - ExpiredNextTokenException +// The pagination token expired. Try again without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/DescribeServices func (c *Pricing) DescribeServices(input *DescribeServicesInput) (*DescribeServicesOutput, error) { @@ -122,15 +122,14 @@ func (c *Pricing) DescribeServicesWithContext(ctx aws.Context, input *DescribeSe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeServices operation. -// pageNum := 0 -// err := client.DescribeServicesPages(params, -// func(page *pricing.DescribeServicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeServices operation. +// pageNum := 0 +// err := client.DescribeServicesPages(params, +// func(page *pricing.DescribeServicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Pricing) DescribeServicesPages(input *DescribeServicesInput, fn func(*DescribeServicesOutput, bool) bool) error { return c.DescribeServicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -182,14 +181,13 @@ const opGetAttributeValues = "GetAttributeValues" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAttributeValuesRequest method. +// req, resp := client.GetAttributeValuesRequest(params) // -// // Example sending a request using the GetAttributeValuesRequest method. -// req, resp := client.GetAttributeValuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/GetAttributeValues func (c *Pricing) GetAttributeValuesRequest(input *GetAttributeValuesInput) (req *request.Request, output *GetAttributeValuesOutput) { @@ -229,21 +227,22 @@ func (c *Pricing) GetAttributeValuesRequest(input *GetAttributeValuesInput) (req // API operation GetAttributeValues for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// One or more parameters had an invalid value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. +// +// - InvalidParameterException +// One or more parameters had an invalid value. // -// * NotFoundException -// The requested resource can't be found. +// - NotFoundException +// The requested resource can't be found. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. // -// * ExpiredNextTokenException -// The pagination token expired. Try again without a pagination token. +// - ExpiredNextTokenException +// The pagination token expired. Try again without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/GetAttributeValues func (c *Pricing) GetAttributeValues(input *GetAttributeValuesInput) (*GetAttributeValuesOutput, error) { @@ -275,15 +274,14 @@ func (c *Pricing) GetAttributeValuesWithContext(ctx aws.Context, input *GetAttri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetAttributeValues operation. -// pageNum := 0 -// err := client.GetAttributeValuesPages(params, -// func(page *pricing.GetAttributeValuesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetAttributeValues operation. +// pageNum := 0 +// err := client.GetAttributeValuesPages(params, +// func(page *pricing.GetAttributeValuesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Pricing) GetAttributeValuesPages(input *GetAttributeValuesInput, fn func(*GetAttributeValuesOutput, bool) bool) error { return c.GetAttributeValuesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -335,14 +333,13 @@ const opGetProducts = "GetProducts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetProductsRequest method. +// req, resp := client.GetProductsRequest(params) // -// // Example sending a request using the GetProductsRequest method. -// req, resp := client.GetProductsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/GetProducts func (c *Pricing) GetProductsRequest(input *GetProductsInput) (req *request.Request, output *GetProductsOutput) { @@ -379,21 +376,22 @@ func (c *Pricing) GetProductsRequest(input *GetProductsInput) (req *request.Requ // API operation GetProducts for usage and error information. // // Returned Error Types: -// * InternalErrorException -// An error on the server occurred during the processing of your request. Try -// again later. // -// * InvalidParameterException -// One or more parameters had an invalid value. +// - InternalErrorException +// An error on the server occurred during the processing of your request. Try +// again later. // -// * NotFoundException -// The requested resource can't be found. +// - InvalidParameterException +// One or more parameters had an invalid value. // -// * InvalidNextTokenException -// The pagination token is invalid. Try again without a pagination token. +// - NotFoundException +// The requested resource can't be found. // -// * ExpiredNextTokenException -// The pagination token expired. Try again without a pagination token. +// - InvalidNextTokenException +// The pagination token is invalid. Try again without a pagination token. +// +// - ExpiredNextTokenException +// The pagination token expired. Try again without a pagination token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15/GetProducts func (c *Pricing) GetProducts(input *GetProductsInput) (*GetProductsOutput, error) { @@ -425,15 +423,14 @@ func (c *Pricing) GetProductsWithContext(ctx aws.Context, input *GetProductsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetProducts operation. -// pageNum := 0 -// err := client.GetProductsPages(params, -// func(page *pricing.GetProductsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetProducts operation. +// pageNum := 0 +// err := client.GetProductsPages(params, +// func(page *pricing.GetProductsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Pricing) GetProductsPages(input *GetProductsInput, fn func(*GetProductsOutput, bool) bool) error { return c.GetProductsPagesWithContext(aws.BackgroundContext(), input, fn) } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/doc.go index 35e2d47d5eab..1bf58f850a27 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/doc.go @@ -21,20 +21,20 @@ // to find specific products that you're interested in, such as an AmazonEC2 // instance, with a Provisioned IOPS volumeType. // -// Service Endpoint +// # Service Endpoint // // Amazon Web Services Price List Service API provides the following two endpoints: // -// * https://api.pricing.us-east-1.amazonaws.com +// - https://api.pricing.us-east-1.amazonaws.com // -// * https://api.pricing.ap-south-1.amazonaws.com +// - https://api.pricing.ap-south-1.amazonaws.com // // See https://docs.aws.amazon.com/goto/WebAPI/pricing-2017-10-15 for more information on this service. // // See pricing package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/pricing/ // -// Using the Client +// # Using the Client // // To contact AWS Price List Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/pricingiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/pricingiface/interface.go index 4229c2c9b90e..5b78add64d85 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/pricingiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/pricingiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Price List Service. -// func myFunc(svc pricingiface.PricingAPI) bool { -// // Make svc.DescribeServices request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Price List Service. +// func myFunc(svc pricingiface.PricingAPI) bool { +// // Make svc.DescribeServices request +// } // -// func main() { -// sess := session.New() -// svc := pricing.New(sess) +// func main() { +// sess := session.New() +// svc := pricing.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockPricingClient struct { -// pricingiface.PricingAPI -// } -// func (m *mockPricingClient) DescribeServices(input *pricing.DescribeServicesInput) (*pricing.DescribeServicesOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockPricingClient struct { +// pricingiface.PricingAPI +// } +// func (m *mockPricingClient) DescribeServices(input *pricing.DescribeServicesInput) (*pricing.DescribeServicesOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockPricingClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockPricingClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/service.go index fc51cca68e9c..8de5da061d1d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/pricing/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Pricing client from just a session. -// svc := pricing.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Pricing client with additional configuration -// svc := pricing.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Pricing client from just a session. +// svc := pricing.New(mySession) +// +// // Create a Pricing client with additional configuration +// svc := pricing.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Pricing { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/api.go index 55b1511ff9c6..3c220d8bc994 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/api.go @@ -29,14 +29,13 @@ const opCreateAlertManagerDefinition = "CreateAlertManagerDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAlertManagerDefinitionRequest method. +// req, resp := client.CreateAlertManagerDefinitionRequest(params) // -// // Example sending a request using the CreateAlertManagerDefinitionRequest method. -// req, resp := client.CreateAlertManagerDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateAlertManagerDefinition func (c *PrometheusService) CreateAlertManagerDefinitionRequest(input *CreateAlertManagerDefinitionInput) (req *request.Request, output *CreateAlertManagerDefinitionOutput) { @@ -67,26 +66,27 @@ func (c *PrometheusService) CreateAlertManagerDefinitionRequest(input *CreateAle // API operation CreateAlertManagerDefinition for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ThrottlingException +// Request was denied due to request throttling. +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// Request references a resource which does not exist. +// - ResourceNotFoundException +// Request references a resource which does not exist. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * InternalServerException -// Unexpected error during processing of request. +// - InternalServerException +// Unexpected error during processing of request. // -// * ServiceQuotaExceededException -// Request would cause a service quota to be exceeded. +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateAlertManagerDefinition func (c *PrometheusService) CreateAlertManagerDefinition(input *CreateAlertManagerDefinitionInput) (*CreateAlertManagerDefinitionOutput, error) { @@ -126,14 +126,13 @@ const opCreateRuleGroupsNamespace = "CreateRuleGroupsNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRuleGroupsNamespaceRequest method. +// req, resp := client.CreateRuleGroupsNamespaceRequest(params) // -// // Example sending a request using the CreateRuleGroupsNamespaceRequest method. -// req, resp := client.CreateRuleGroupsNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateRuleGroupsNamespace func (c *PrometheusService) CreateRuleGroupsNamespaceRequest(input *CreateRuleGroupsNamespaceInput) (req *request.Request, output *CreateRuleGroupsNamespaceOutput) { @@ -164,26 +163,27 @@ func (c *PrometheusService) CreateRuleGroupsNamespaceRequest(input *CreateRuleGr // API operation CreateRuleGroupsNamespace for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ThrottlingException +// Request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// Request references a resource which does not exist. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - ResourceNotFoundException +// Request references a resource which does not exist. // -// * InternalServerException -// Unexpected error during processing of request. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ServiceQuotaExceededException -// Request would cause a service quota to be exceeded. +// - InternalServerException +// Unexpected error during processing of request. +// +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateRuleGroupsNamespace func (c *PrometheusService) CreateRuleGroupsNamespace(input *CreateRuleGroupsNamespaceInput) (*CreateRuleGroupsNamespaceOutput, error) { @@ -223,14 +223,13 @@ const opCreateWorkspace = "CreateWorkspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorkspaceRequest method. +// req, resp := client.CreateWorkspaceRequest(params) // -// // Example sending a request using the CreateWorkspaceRequest method. -// req, resp := client.CreateWorkspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateWorkspace func (c *PrometheusService) CreateWorkspaceRequest(input *CreateWorkspaceInput) (req *request.Request, output *CreateWorkspaceOutput) { @@ -261,23 +260,24 @@ func (c *PrometheusService) CreateWorkspaceRequest(input *CreateWorkspaceInput) // API operation CreateWorkspace for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ThrottlingException +// Request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * InternalServerException -// Unexpected error during processing of request. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ServiceQuotaExceededException -// Request would cause a service quota to be exceeded. +// - InternalServerException +// Unexpected error during processing of request. +// +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateWorkspace func (c *PrometheusService) CreateWorkspace(input *CreateWorkspaceInput) (*CreateWorkspaceOutput, error) { @@ -317,14 +317,13 @@ const opDeleteAlertManagerDefinition = "DeleteAlertManagerDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAlertManagerDefinitionRequest method. +// req, resp := client.DeleteAlertManagerDefinitionRequest(params) // -// // Example sending a request using the DeleteAlertManagerDefinitionRequest method. -// req, resp := client.DeleteAlertManagerDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteAlertManagerDefinition func (c *PrometheusService) DeleteAlertManagerDefinitionRequest(input *DeleteAlertManagerDefinitionInput) (req *request.Request, output *DeleteAlertManagerDefinitionOutput) { @@ -356,23 +355,24 @@ func (c *PrometheusService) DeleteAlertManagerDefinitionRequest(input *DeleteAle // API operation DeleteAlertManagerDefinition for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ThrottlingException +// Request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// Request references a resource which does not exist. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - ResourceNotFoundException +// Request references a resource which does not exist. // -// * InternalServerException -// Unexpected error during processing of request. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - InternalServerException +// Unexpected error during processing of request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteAlertManagerDefinition func (c *PrometheusService) DeleteAlertManagerDefinition(input *DeleteAlertManagerDefinitionInput) (*DeleteAlertManagerDefinitionOutput, error) { @@ -412,14 +412,13 @@ const opDeleteRuleGroupsNamespace = "DeleteRuleGroupsNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRuleGroupsNamespaceRequest method. +// req, resp := client.DeleteRuleGroupsNamespaceRequest(params) // -// // Example sending a request using the DeleteRuleGroupsNamespaceRequest method. -// req, resp := client.DeleteRuleGroupsNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteRuleGroupsNamespace func (c *PrometheusService) DeleteRuleGroupsNamespaceRequest(input *DeleteRuleGroupsNamespaceInput) (req *request.Request, output *DeleteRuleGroupsNamespaceOutput) { @@ -451,23 +450,24 @@ func (c *PrometheusService) DeleteRuleGroupsNamespaceRequest(input *DeleteRuleGr // API operation DeleteRuleGroupsNamespace for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ThrottlingException +// Request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// Request references a resource which does not exist. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - ResourceNotFoundException +// Request references a resource which does not exist. // -// * InternalServerException -// Unexpected error during processing of request. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - InternalServerException +// Unexpected error during processing of request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteRuleGroupsNamespace func (c *PrometheusService) DeleteRuleGroupsNamespace(input *DeleteRuleGroupsNamespaceInput) (*DeleteRuleGroupsNamespaceOutput, error) { @@ -507,14 +507,13 @@ const opDeleteWorkspace = "DeleteWorkspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorkspaceRequest method. +// req, resp := client.DeleteWorkspaceRequest(params) // -// // Example sending a request using the DeleteWorkspaceRequest method. -// req, resp := client.DeleteWorkspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteWorkspace func (c *PrometheusService) DeleteWorkspaceRequest(input *DeleteWorkspaceInput) (req *request.Request, output *DeleteWorkspaceOutput) { @@ -546,23 +545,24 @@ func (c *PrometheusService) DeleteWorkspaceRequest(input *DeleteWorkspaceInput) // API operation DeleteWorkspace for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ThrottlingException +// Request was denied due to request throttling. +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// Request references a resource which does not exist. +// - ResourceNotFoundException +// Request references a resource which does not exist. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * InternalServerException -// Unexpected error during processing of request. +// - InternalServerException +// Unexpected error during processing of request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteWorkspace func (c *PrometheusService) DeleteWorkspace(input *DeleteWorkspaceInput) (*DeleteWorkspaceOutput, error) { @@ -602,14 +602,13 @@ const opDescribeAlertManagerDefinition = "DescribeAlertManagerDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAlertManagerDefinitionRequest method. +// req, resp := client.DescribeAlertManagerDefinitionRequest(params) // -// // Example sending a request using the DescribeAlertManagerDefinitionRequest method. -// req, resp := client.DescribeAlertManagerDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeAlertManagerDefinition func (c *PrometheusService) DescribeAlertManagerDefinitionRequest(input *DescribeAlertManagerDefinitionInput) (req *request.Request, output *DescribeAlertManagerDefinitionOutput) { @@ -640,20 +639,21 @@ func (c *PrometheusService) DescribeAlertManagerDefinitionRequest(input *Describ // API operation DescribeAlertManagerDefinition for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ThrottlingException +// Request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// Request references a resource which does not exist. +// - ResourceNotFoundException +// Request references a resource which does not exist. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * InternalServerException -// Unexpected error during processing of request. +// - InternalServerException +// Unexpected error during processing of request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeAlertManagerDefinition func (c *PrometheusService) DescribeAlertManagerDefinition(input *DescribeAlertManagerDefinitionInput) (*DescribeAlertManagerDefinitionOutput, error) { @@ -693,14 +693,13 @@ const opDescribeRuleGroupsNamespace = "DescribeRuleGroupsNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRuleGroupsNamespaceRequest method. +// req, resp := client.DescribeRuleGroupsNamespaceRequest(params) // -// // Example sending a request using the DescribeRuleGroupsNamespaceRequest method. -// req, resp := client.DescribeRuleGroupsNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeRuleGroupsNamespace func (c *PrometheusService) DescribeRuleGroupsNamespaceRequest(input *DescribeRuleGroupsNamespaceInput) (req *request.Request, output *DescribeRuleGroupsNamespaceOutput) { @@ -731,20 +730,21 @@ func (c *PrometheusService) DescribeRuleGroupsNamespaceRequest(input *DescribeRu // API operation DescribeRuleGroupsNamespace for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ThrottlingException +// Request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// Request references a resource which does not exist. +// - ResourceNotFoundException +// Request references a resource which does not exist. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * InternalServerException -// Unexpected error during processing of request. +// - InternalServerException +// Unexpected error during processing of request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeRuleGroupsNamespace func (c *PrometheusService) DescribeRuleGroupsNamespace(input *DescribeRuleGroupsNamespaceInput) (*DescribeRuleGroupsNamespaceOutput, error) { @@ -784,14 +784,13 @@ const opDescribeWorkspace = "DescribeWorkspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkspaceRequest method. +// req, resp := client.DescribeWorkspaceRequest(params) // -// // Example sending a request using the DescribeWorkspaceRequest method. -// req, resp := client.DescribeWorkspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeWorkspace func (c *PrometheusService) DescribeWorkspaceRequest(input *DescribeWorkspaceInput) (req *request.Request, output *DescribeWorkspaceOutput) { @@ -822,20 +821,21 @@ func (c *PrometheusService) DescribeWorkspaceRequest(input *DescribeWorkspaceInp // API operation DescribeWorkspace for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ThrottlingException +// Request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// Request references a resource which does not exist. +// - ResourceNotFoundException +// Request references a resource which does not exist. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * InternalServerException -// Unexpected error during processing of request. +// - InternalServerException +// Unexpected error during processing of request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeWorkspace func (c *PrometheusService) DescribeWorkspace(input *DescribeWorkspaceInput) (*DescribeWorkspaceOutput, error) { @@ -875,14 +875,13 @@ const opListRuleGroupsNamespaces = "ListRuleGroupsNamespaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRuleGroupsNamespacesRequest method. +// req, resp := client.ListRuleGroupsNamespacesRequest(params) // -// // Example sending a request using the ListRuleGroupsNamespacesRequest method. -// req, resp := client.ListRuleGroupsNamespacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListRuleGroupsNamespaces func (c *PrometheusService) ListRuleGroupsNamespacesRequest(input *ListRuleGroupsNamespacesInput) (req *request.Request, output *ListRuleGroupsNamespacesOutput) { @@ -919,20 +918,21 @@ func (c *PrometheusService) ListRuleGroupsNamespacesRequest(input *ListRuleGroup // API operation ListRuleGroupsNamespaces for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ThrottlingException +// Request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// Request references a resource which does not exist. +// - ResourceNotFoundException +// Request references a resource which does not exist. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * InternalServerException -// Unexpected error during processing of request. +// - InternalServerException +// Unexpected error during processing of request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListRuleGroupsNamespaces func (c *PrometheusService) ListRuleGroupsNamespaces(input *ListRuleGroupsNamespacesInput) (*ListRuleGroupsNamespacesOutput, error) { @@ -964,15 +964,14 @@ func (c *PrometheusService) ListRuleGroupsNamespacesWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRuleGroupsNamespaces operation. -// pageNum := 0 -// err := client.ListRuleGroupsNamespacesPages(params, -// func(page *prometheusservice.ListRuleGroupsNamespacesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRuleGroupsNamespaces operation. +// pageNum := 0 +// err := client.ListRuleGroupsNamespacesPages(params, +// func(page *prometheusservice.ListRuleGroupsNamespacesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PrometheusService) ListRuleGroupsNamespacesPages(input *ListRuleGroupsNamespacesInput, fn func(*ListRuleGroupsNamespacesOutput, bool) bool) error { return c.ListRuleGroupsNamespacesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1024,14 +1023,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListTagsForResource func (c *PrometheusService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1062,20 +1060,21 @@ func (c *PrometheusService) ListTagsForResourceRequest(input *ListTagsForResourc // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ThrottlingException +// Request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// Request references a resource which does not exist. +// - ResourceNotFoundException +// Request references a resource which does not exist. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * InternalServerException -// Unexpected error during processing of request. +// - InternalServerException +// Unexpected error during processing of request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListTagsForResource func (c *PrometheusService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1115,14 +1114,13 @@ const opListWorkspaces = "ListWorkspaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorkspacesRequest method. +// req, resp := client.ListWorkspacesRequest(params) // -// // Example sending a request using the ListWorkspacesRequest method. -// req, resp := client.ListWorkspacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListWorkspaces func (c *PrometheusService) ListWorkspacesRequest(input *ListWorkspacesInput) (req *request.Request, output *ListWorkspacesOutput) { @@ -1159,17 +1157,18 @@ func (c *PrometheusService) ListWorkspacesRequest(input *ListWorkspacesInput) (r // API operation ListWorkspaces for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ThrottlingException +// Request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * InternalServerException -// Unexpected error during processing of request. +// - InternalServerException +// Unexpected error during processing of request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListWorkspaces func (c *PrometheusService) ListWorkspaces(input *ListWorkspacesInput) (*ListWorkspacesOutput, error) { @@ -1201,15 +1200,14 @@ func (c *PrometheusService) ListWorkspacesWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorkspaces operation. -// pageNum := 0 -// err := client.ListWorkspacesPages(params, -// func(page *prometheusservice.ListWorkspacesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorkspaces operation. +// pageNum := 0 +// err := client.ListWorkspacesPages(params, +// func(page *prometheusservice.ListWorkspacesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *PrometheusService) ListWorkspacesPages(input *ListWorkspacesInput, fn func(*ListWorkspacesOutput, bool) bool) error { return c.ListWorkspacesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1261,14 +1259,13 @@ const opPutAlertManagerDefinition = "PutAlertManagerDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAlertManagerDefinitionRequest method. +// req, resp := client.PutAlertManagerDefinitionRequest(params) // -// // Example sending a request using the PutAlertManagerDefinitionRequest method. -// req, resp := client.PutAlertManagerDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutAlertManagerDefinition func (c *PrometheusService) PutAlertManagerDefinitionRequest(input *PutAlertManagerDefinitionInput) (req *request.Request, output *PutAlertManagerDefinitionOutput) { @@ -1299,26 +1296,27 @@ func (c *PrometheusService) PutAlertManagerDefinitionRequest(input *PutAlertMana // API operation PutAlertManagerDefinition for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ThrottlingException +// Request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// Request references a resource which does not exist. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - ResourceNotFoundException +// Request references a resource which does not exist. // -// * InternalServerException -// Unexpected error during processing of request. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ServiceQuotaExceededException -// Request would cause a service quota to be exceeded. +// - InternalServerException +// Unexpected error during processing of request. +// +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutAlertManagerDefinition func (c *PrometheusService) PutAlertManagerDefinition(input *PutAlertManagerDefinitionInput) (*PutAlertManagerDefinitionOutput, error) { @@ -1358,14 +1356,13 @@ const opPutRuleGroupsNamespace = "PutRuleGroupsNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRuleGroupsNamespaceRequest method. +// req, resp := client.PutRuleGroupsNamespaceRequest(params) // -// // Example sending a request using the PutRuleGroupsNamespaceRequest method. -// req, resp := client.PutRuleGroupsNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutRuleGroupsNamespace func (c *PrometheusService) PutRuleGroupsNamespaceRequest(input *PutRuleGroupsNamespaceInput) (req *request.Request, output *PutRuleGroupsNamespaceOutput) { @@ -1396,26 +1393,27 @@ func (c *PrometheusService) PutRuleGroupsNamespaceRequest(input *PutRuleGroupsNa // API operation PutRuleGroupsNamespace for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ThrottlingException +// Request was denied due to request throttling. +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// Request references a resource which does not exist. +// - ResourceNotFoundException +// Request references a resource which does not exist. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * InternalServerException -// Unexpected error during processing of request. +// - InternalServerException +// Unexpected error during processing of request. // -// * ServiceQuotaExceededException -// Request would cause a service quota to be exceeded. +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/PutRuleGroupsNamespace func (c *PrometheusService) PutRuleGroupsNamespace(input *PutRuleGroupsNamespaceInput) (*PutRuleGroupsNamespaceOutput, error) { @@ -1455,14 +1453,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/TagResource func (c *PrometheusService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1494,20 +1491,21 @@ func (c *PrometheusService) TagResourceRequest(input *TagResourceInput) (req *re // API operation TagResource for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ThrottlingException +// Request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// Request references a resource which does not exist. +// - ResourceNotFoundException +// Request references a resource which does not exist. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * InternalServerException -// Unexpected error during processing of request. +// - InternalServerException +// Unexpected error during processing of request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/TagResource func (c *PrometheusService) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1547,14 +1545,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UntagResource func (c *PrometheusService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1586,20 +1583,21 @@ func (c *PrometheusService) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ThrottlingException +// Request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// Request references a resource which does not exist. +// - ResourceNotFoundException +// Request references a resource which does not exist. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * InternalServerException -// Unexpected error during processing of request. +// - InternalServerException +// Unexpected error during processing of request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UntagResource func (c *PrometheusService) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1639,14 +1637,13 @@ const opUpdateWorkspaceAlias = "UpdateWorkspaceAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWorkspaceAliasRequest method. +// req, resp := client.UpdateWorkspaceAliasRequest(params) // -// // Example sending a request using the UpdateWorkspaceAliasRequest method. -// req, resp := client.UpdateWorkspaceAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateWorkspaceAlias func (c *PrometheusService) UpdateWorkspaceAliasRequest(input *UpdateWorkspaceAliasInput) (req *request.Request, output *UpdateWorkspaceAliasOutput) { @@ -1678,26 +1675,27 @@ func (c *PrometheusService) UpdateWorkspaceAliasRequest(input *UpdateWorkspaceAl // API operation UpdateWorkspaceAlias for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Request was denied due to request throttling. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ThrottlingException +// Request was denied due to request throttling. +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// - ValidationException +// The input fails to satisfy the constraints specified by an AWS service. // -// * ResourceNotFoundException -// Request references a resource which does not exist. +// - ResourceNotFoundException +// Request references a resource which does not exist. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * InternalServerException -// Unexpected error during processing of request. +// - InternalServerException +// Unexpected error during processing of request. // -// * ServiceQuotaExceededException -// Request would cause a service quota to be exceeded. +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateWorkspaceAlias func (c *PrometheusService) UpdateWorkspaceAlias(input *UpdateWorkspaceAliasInput) (*UpdateWorkspaceAliasOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/doc.go index d6c248e10376..ddc0939acf54 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/doc.go @@ -3,14 +3,14 @@ // Package prometheusservice provides the client and types for making API // requests to Amazon Prometheus Service. // -// Amazon Managed Service for Prometheus +// # Amazon Managed Service for Prometheus // // See https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01 for more information on this service. // // See prometheusservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/prometheusservice/ // -// Using the Client +// # Using the Client // // To contact Amazon Prometheus Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/prometheusserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/prometheusserviceiface/interface.go index b167171465fc..5a982a6665f3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/prometheusserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/prometheusserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Prometheus Service. -// func myFunc(svc prometheusserviceiface.PrometheusServiceAPI) bool { -// // Make svc.CreateAlertManagerDefinition request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Prometheus Service. +// func myFunc(svc prometheusserviceiface.PrometheusServiceAPI) bool { +// // Make svc.CreateAlertManagerDefinition request +// } // -// func main() { -// sess := session.New() -// svc := prometheusservice.New(sess) +// func main() { +// sess := session.New() +// svc := prometheusservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockPrometheusServiceClient struct { -// prometheusserviceiface.PrometheusServiceAPI -// } -// func (m *mockPrometheusServiceClient) CreateAlertManagerDefinition(input *prometheusservice.CreateAlertManagerDefinitionInput) (*prometheusservice.CreateAlertManagerDefinitionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockPrometheusServiceClient struct { +// prometheusserviceiface.PrometheusServiceAPI +// } +// func (m *mockPrometheusServiceClient) CreateAlertManagerDefinition(input *prometheusservice.CreateAlertManagerDefinitionInput) (*prometheusservice.CreateAlertManagerDefinitionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockPrometheusServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockPrometheusServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/service.go index 4ab1ab5ffcc0..a96e6878f409 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/prometheusservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a PrometheusService client from just a session. -// svc := prometheusservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a PrometheusService client with additional configuration -// svc := prometheusservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a PrometheusService client from just a session. +// svc := prometheusservice.New(mySession) +// +// // Create a PrometheusService client with additional configuration +// svc := prometheusservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *PrometheusService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/api.go index 9bf0bf2439e0..19aa19579160 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/api.go @@ -29,14 +29,13 @@ const opAcceptEnvironmentAccountConnection = "AcceptEnvironmentAccountConnection // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptEnvironmentAccountConnectionRequest method. +// req, resp := client.AcceptEnvironmentAccountConnectionRequest(params) // -// // Example sending a request using the AcceptEnvironmentAccountConnectionRequest method. -// req, resp := client.AcceptEnvironmentAccountConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/AcceptEnvironmentAccountConnection func (c *Proton) AcceptEnvironmentAccountConnectionRequest(input *AcceptEnvironmentAccountConnectionInput) (req *request.Request, output *AcceptEnvironmentAccountConnectionOutput) { @@ -73,24 +72,25 @@ func (c *Proton) AcceptEnvironmentAccountConnectionRequest(input *AcceptEnvironm // API operation AcceptEnvironmentAccountConnection for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/AcceptEnvironmentAccountConnection func (c *Proton) AcceptEnvironmentAccountConnection(input *AcceptEnvironmentAccountConnectionInput) (*AcceptEnvironmentAccountConnectionOutput, error) { @@ -130,14 +130,13 @@ const opCancelEnvironmentDeployment = "CancelEnvironmentDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelEnvironmentDeploymentRequest method. +// req, resp := client.CancelEnvironmentDeploymentRequest(params) // -// // Example sending a request using the CancelEnvironmentDeploymentRequest method. -// req, resp := client.CancelEnvironmentDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CancelEnvironmentDeployment func (c *Proton) CancelEnvironmentDeploymentRequest(input *CancelEnvironmentDeploymentInput) (req *request.Request, output *CancelEnvironmentDeploymentOutput) { @@ -165,15 +164,15 @@ func (c *Proton) CancelEnvironmentDeploymentRequest(input *CancelEnvironmentDepl // // The following list includes potential cancellation scenarios. // -// * If the cancellation attempt succeeds, the resulting deployment state -// is CANCELLED. +// - If the cancellation attempt succeeds, the resulting deployment state +// is CANCELLED. // -// * If the cancellation attempt fails, the resulting deployment state is -// FAILED. +// - If the cancellation attempt fails, the resulting deployment state is +// FAILED. // -// * If the current UpdateEnvironment action succeeds before the cancellation -// attempt starts, the resulting deployment state is SUCCEEDED and the cancellation -// attempt has no effect. +// - If the current UpdateEnvironment action succeeds before the cancellation +// attempt starts, the resulting deployment state is SUCCEEDED and the cancellation +// attempt has no effect. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -183,24 +182,25 @@ func (c *Proton) CancelEnvironmentDeploymentRequest(input *CancelEnvironmentDepl // API operation CancelEnvironmentDeployment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CancelEnvironmentDeployment func (c *Proton) CancelEnvironmentDeployment(input *CancelEnvironmentDeploymentInput) (*CancelEnvironmentDeploymentOutput, error) { @@ -240,14 +240,13 @@ const opCancelServiceInstanceDeployment = "CancelServiceInstanceDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelServiceInstanceDeploymentRequest method. +// req, resp := client.CancelServiceInstanceDeploymentRequest(params) // -// // Example sending a request using the CancelServiceInstanceDeploymentRequest method. -// req, resp := client.CancelServiceInstanceDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CancelServiceInstanceDeployment func (c *Proton) CancelServiceInstanceDeploymentRequest(input *CancelServiceInstanceDeploymentInput) (req *request.Request, output *CancelServiceInstanceDeploymentOutput) { @@ -275,15 +274,15 @@ func (c *Proton) CancelServiceInstanceDeploymentRequest(input *CancelServiceInst // // The following list includes potential cancellation scenarios. // -// * If the cancellation attempt succeeds, the resulting deployment state -// is CANCELLED. +// - If the cancellation attempt succeeds, the resulting deployment state +// is CANCELLED. // -// * If the cancellation attempt fails, the resulting deployment state is -// FAILED. +// - If the cancellation attempt fails, the resulting deployment state is +// FAILED. // -// * If the current UpdateServiceInstance action succeeds before the cancellation -// attempt starts, the resulting deployment state is SUCCEEDED and the cancellation -// attempt has no effect. +// - If the current UpdateServiceInstance action succeeds before the cancellation +// attempt starts, the resulting deployment state is SUCCEEDED and the cancellation +// attempt has no effect. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -293,24 +292,25 @@ func (c *Proton) CancelServiceInstanceDeploymentRequest(input *CancelServiceInst // API operation CancelServiceInstanceDeployment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CancelServiceInstanceDeployment func (c *Proton) CancelServiceInstanceDeployment(input *CancelServiceInstanceDeploymentInput) (*CancelServiceInstanceDeploymentOutput, error) { @@ -350,14 +350,13 @@ const opCancelServicePipelineDeployment = "CancelServicePipelineDeployment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelServicePipelineDeploymentRequest method. +// req, resp := client.CancelServicePipelineDeploymentRequest(params) // -// // Example sending a request using the CancelServicePipelineDeploymentRequest method. -// req, resp := client.CancelServicePipelineDeploymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CancelServicePipelineDeployment func (c *Proton) CancelServicePipelineDeploymentRequest(input *CancelServicePipelineDeploymentInput) (req *request.Request, output *CancelServicePipelineDeploymentOutput) { @@ -385,15 +384,15 @@ func (c *Proton) CancelServicePipelineDeploymentRequest(input *CancelServicePipe // // The following list includes potential cancellation scenarios. // -// * If the cancellation attempt succeeds, the resulting deployment state -// is CANCELLED. +// - If the cancellation attempt succeeds, the resulting deployment state +// is CANCELLED. // -// * If the cancellation attempt fails, the resulting deployment state is -// FAILED. +// - If the cancellation attempt fails, the resulting deployment state is +// FAILED. // -// * If the current UpdateServicePipeline action succeeds before the cancellation -// attempt starts, the resulting deployment state is SUCCEEDED and the cancellation -// attempt has no effect. +// - If the current UpdateServicePipeline action succeeds before the cancellation +// attempt starts, the resulting deployment state is SUCCEEDED and the cancellation +// attempt has no effect. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -403,24 +402,25 @@ func (c *Proton) CancelServicePipelineDeploymentRequest(input *CancelServicePipe // API operation CancelServicePipelineDeployment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CancelServicePipelineDeployment func (c *Proton) CancelServicePipelineDeployment(input *CancelServicePipelineDeploymentInput) (*CancelServicePipelineDeploymentOutput, error) { @@ -460,14 +460,13 @@ const opCreateEnvironment = "CreateEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEnvironmentRequest method. +// req, resp := client.CreateEnvironmentRequest(params) // -// // Example sending a request using the CreateEnvironmentRequest method. -// req, resp := client.CreateEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateEnvironment func (c *Proton) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req *request.Request, output *CreateEnvironmentOutput) { @@ -494,12 +493,12 @@ func (c *Proton) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req *r // // You can provision environments using the following methods: // -// * Amazon Web Services-managed provisioning: Proton makes direct calls -// to provision your resources. +// - Amazon Web Services-managed provisioning: Proton makes direct calls +// to provision your resources. // -// * Self-managed provisioning: Proton makes pull requests on your repository -// to provide compiled infrastructure as code (IaC) files that your IaC engine -// uses to provision resources. +// - Self-managed provisioning: Proton makes pull requests on your repository +// to provide compiled infrastructure as code (IaC) files that your IaC engine +// uses to provision resources. // // For more information, see Environments (https://docs.aws.amazon.com/proton/latest/adminguide/ag-environments.html) // and Provisioning methods (https://docs.aws.amazon.com/proton/latest/adminguide/ag-works-prov-methods.html) @@ -513,28 +512,29 @@ func (c *Proton) CreateEnvironmentRequest(input *CreateEnvironmentInput) (req *r // API operation CreateEnvironment for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) -// in the Proton Administrator Guide. // -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. +// - ServiceQuotaExceededException +// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) +// in the Proton Administrator Guide. +// +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateEnvironment func (c *Proton) CreateEnvironment(input *CreateEnvironmentInput) (*CreateEnvironmentOutput, error) { @@ -574,14 +574,13 @@ const opCreateEnvironmentAccountConnection = "CreateEnvironmentAccountConnection // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEnvironmentAccountConnectionRequest method. +// req, resp := client.CreateEnvironmentAccountConnectionRequest(params) // -// // Example sending a request using the CreateEnvironmentAccountConnectionRequest method. -// req, resp := client.CreateEnvironmentAccountConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateEnvironmentAccountConnection func (c *Proton) CreateEnvironmentAccountConnectionRequest(input *CreateEnvironmentAccountConnectionInput) (req *request.Request, output *CreateEnvironmentAccountConnectionOutput) { @@ -620,25 +619,26 @@ func (c *Proton) CreateEnvironmentAccountConnectionRequest(input *CreateEnvironm // API operation CreateEnvironmentAccountConnection for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) -// in the Proton Administrator Guide. // -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. +// - ServiceQuotaExceededException +// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) +// in the Proton Administrator Guide. +// +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateEnvironmentAccountConnection func (c *Proton) CreateEnvironmentAccountConnection(input *CreateEnvironmentAccountConnectionInput) (*CreateEnvironmentAccountConnectionOutput, error) { @@ -678,14 +678,13 @@ const opCreateEnvironmentTemplate = "CreateEnvironmentTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEnvironmentTemplateRequest method. +// req, resp := client.CreateEnvironmentTemplateRequest(params) // -// // Example sending a request using the CreateEnvironmentTemplateRequest method. -// req, resp := client.CreateEnvironmentTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateEnvironmentTemplate func (c *Proton) CreateEnvironmentTemplateRequest(input *CreateEnvironmentTemplateInput) (req *request.Request, output *CreateEnvironmentTemplateOutput) { @@ -712,17 +711,17 @@ func (c *Proton) CreateEnvironmentTemplateRequest(input *CreateEnvironmentTempla // // You can create an environment template in one of the two following ways: // -// * Register and publish a standard environment template that instructs -// Proton to deploy and manage environment infrastructure. +// - Register and publish a standard environment template that instructs +// Proton to deploy and manage environment infrastructure. // -// * Register and publish a customer managed environment template that connects -// Proton to your existing provisioned infrastructure that you manage. Proton -// doesn't manage your existing provisioned infrastructure. To create an -// environment template for customer provisioned and managed infrastructure, -// include the provisioning parameter and set the value to CUSTOMER_MANAGED. -// For more information, see Register and publish an environment template -// (https://docs.aws.amazon.com/proton/latest/adminguide/template-create.html) -// in the Proton Administrator Guide. +// - Register and publish a customer managed environment template that connects +// Proton to your existing provisioned infrastructure that you manage. Proton +// doesn't manage your existing provisioned infrastructure. To create an +// environment template for customer provisioned and managed infrastructure, +// include the provisioning parameter and set the value to CUSTOMER_MANAGED. +// For more information, see Register and publish an environment template +// (https://docs.aws.amazon.com/proton/latest/adminguide/template-create.html) +// in the Proton Administrator Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -732,25 +731,26 @@ func (c *Proton) CreateEnvironmentTemplateRequest(input *CreateEnvironmentTempla // API operation CreateEnvironmentTemplate for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) -// in the Proton Administrator Guide. // -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. +// - ServiceQuotaExceededException +// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) +// in the Proton Administrator Guide. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateEnvironmentTemplate func (c *Proton) CreateEnvironmentTemplate(input *CreateEnvironmentTemplateInput) (*CreateEnvironmentTemplateOutput, error) { @@ -790,14 +790,13 @@ const opCreateEnvironmentTemplateVersion = "CreateEnvironmentTemplateVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEnvironmentTemplateVersionRequest method. +// req, resp := client.CreateEnvironmentTemplateVersionRequest(params) // -// // Example sending a request using the CreateEnvironmentTemplateVersionRequest method. -// req, resp := client.CreateEnvironmentTemplateVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateEnvironmentTemplateVersion func (c *Proton) CreateEnvironmentTemplateVersionRequest(input *CreateEnvironmentTemplateVersionInput) (req *request.Request, output *CreateEnvironmentTemplateVersionOutput) { @@ -831,28 +830,29 @@ func (c *Proton) CreateEnvironmentTemplateVersionRequest(input *CreateEnvironmen // API operation CreateEnvironmentTemplateVersion for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) -// in the Proton Administrator Guide. // -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. +// - ServiceQuotaExceededException +// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) +// in the Proton Administrator Guide. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateEnvironmentTemplateVersion func (c *Proton) CreateEnvironmentTemplateVersion(input *CreateEnvironmentTemplateVersionInput) (*CreateEnvironmentTemplateVersionOutput, error) { @@ -892,14 +892,13 @@ const opCreateRepository = "CreateRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRepositoryRequest method. +// req, resp := client.CreateRepositoryRequest(params) // -// // Example sending a request using the CreateRepositoryRequest method. -// req, resp := client.CreateRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateRepository func (c *Proton) CreateRepositoryRequest(input *CreateRepositoryInput) (req *request.Request, output *CreateRepositoryOutput) { @@ -938,25 +937,26 @@ func (c *Proton) CreateRepositoryRequest(input *CreateRepositoryInput) (req *req // API operation CreateRepository for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) -// in the Proton Administrator Guide. // -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. +// - ServiceQuotaExceededException +// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) +// in the Proton Administrator Guide. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateRepository func (c *Proton) CreateRepository(input *CreateRepositoryInput) (*CreateRepositoryOutput, error) { @@ -996,14 +996,13 @@ const opCreateService = "CreateService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateServiceRequest method. +// req, resp := client.CreateServiceRequest(params) // -// // Example sending a request using the CreateServiceRequest method. -// req, resp := client.CreateServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateService func (c *Proton) CreateServiceRequest(input *CreateServiceInput) (req *request.Request, output *CreateServiceOutput) { @@ -1038,28 +1037,29 @@ func (c *Proton) CreateServiceRequest(input *CreateServiceInput) (req *request.R // API operation CreateService for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) -// in the Proton Administrator Guide. // -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. +// - ServiceQuotaExceededException +// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) +// in the Proton Administrator Guide. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateService func (c *Proton) CreateService(input *CreateServiceInput) (*CreateServiceOutput, error) { @@ -1099,14 +1099,13 @@ const opCreateServiceTemplate = "CreateServiceTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateServiceTemplateRequest method. +// req, resp := client.CreateServiceTemplateRequest(params) // -// // Example sending a request using the CreateServiceTemplateRequest method. -// req, resp := client.CreateServiceTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateServiceTemplate func (c *Proton) CreateServiceTemplateRequest(input *CreateServiceTemplateInput) (req *request.Request, output *CreateServiceTemplateOutput) { @@ -1144,25 +1143,26 @@ func (c *Proton) CreateServiceTemplateRequest(input *CreateServiceTemplateInput) // API operation CreateServiceTemplate for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) -// in the Proton Administrator Guide. // -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. +// - ServiceQuotaExceededException +// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) +// in the Proton Administrator Guide. +// +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateServiceTemplate func (c *Proton) CreateServiceTemplate(input *CreateServiceTemplateInput) (*CreateServiceTemplateOutput, error) { @@ -1202,14 +1202,13 @@ const opCreateServiceTemplateVersion = "CreateServiceTemplateVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateServiceTemplateVersionRequest method. +// req, resp := client.CreateServiceTemplateVersionRequest(params) // -// // Example sending a request using the CreateServiceTemplateVersionRequest method. -// req, resp := client.CreateServiceTemplateVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateServiceTemplateVersion func (c *Proton) CreateServiceTemplateVersionRequest(input *CreateServiceTemplateVersionInput) (req *request.Request, output *CreateServiceTemplateVersionOutput) { @@ -1243,28 +1242,29 @@ func (c *Proton) CreateServiceTemplateVersionRequest(input *CreateServiceTemplat // API operation CreateServiceTemplateVersion for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) -// in the Proton Administrator Guide. // -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. +// - ServiceQuotaExceededException +// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) +// in the Proton Administrator Guide. +// +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateServiceTemplateVersion func (c *Proton) CreateServiceTemplateVersion(input *CreateServiceTemplateVersionInput) (*CreateServiceTemplateVersionOutput, error) { @@ -1304,14 +1304,13 @@ const opCreateTemplateSyncConfig = "CreateTemplateSyncConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTemplateSyncConfigRequest method. +// req, resp := client.CreateTemplateSyncConfigRequest(params) // -// // Example sending a request using the CreateTemplateSyncConfigRequest method. -// req, resp := client.CreateTemplateSyncConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateTemplateSyncConfig func (c *Proton) CreateTemplateSyncConfigRequest(input *CreateTemplateSyncConfigInput) (req *request.Request, output *CreateTemplateSyncConfigOutput) { @@ -1348,25 +1347,26 @@ func (c *Proton) CreateTemplateSyncConfigRequest(input *CreateTemplateSyncConfig // API operation CreateTemplateSyncConfig for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) -// in the Proton Administrator Guide. // -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. +// - ServiceQuotaExceededException +// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) +// in the Proton Administrator Guide. +// +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/CreateTemplateSyncConfig func (c *Proton) CreateTemplateSyncConfig(input *CreateTemplateSyncConfigInput) (*CreateTemplateSyncConfigOutput, error) { @@ -1406,14 +1406,13 @@ const opDeleteEnvironment = "DeleteEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEnvironmentRequest method. +// req, resp := client.DeleteEnvironmentRequest(params) // -// // Example sending a request using the DeleteEnvironmentRequest method. -// req, resp := client.DeleteEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteEnvironment func (c *Proton) DeleteEnvironmentRequest(input *DeleteEnvironmentInput) (req *request.Request, output *DeleteEnvironmentOutput) { @@ -1444,24 +1443,25 @@ func (c *Proton) DeleteEnvironmentRequest(input *DeleteEnvironmentInput) (req *r // API operation DeleteEnvironment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteEnvironment func (c *Proton) DeleteEnvironment(input *DeleteEnvironmentInput) (*DeleteEnvironmentOutput, error) { @@ -1501,14 +1501,13 @@ const opDeleteEnvironmentAccountConnection = "DeleteEnvironmentAccountConnection // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEnvironmentAccountConnectionRequest method. +// req, resp := client.DeleteEnvironmentAccountConnectionRequest(params) // -// // Example sending a request using the DeleteEnvironmentAccountConnectionRequest method. -// req, resp := client.DeleteEnvironmentAccountConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteEnvironmentAccountConnection func (c *Proton) DeleteEnvironmentAccountConnectionRequest(input *DeleteEnvironmentAccountConnectionInput) (req *request.Request, output *DeleteEnvironmentAccountConnectionOutput) { @@ -1548,24 +1547,25 @@ func (c *Proton) DeleteEnvironmentAccountConnectionRequest(input *DeleteEnvironm // API operation DeleteEnvironmentAccountConnection for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteEnvironmentAccountConnection func (c *Proton) DeleteEnvironmentAccountConnection(input *DeleteEnvironmentAccountConnectionInput) (*DeleteEnvironmentAccountConnectionOutput, error) { @@ -1605,14 +1605,13 @@ const opDeleteEnvironmentTemplate = "DeleteEnvironmentTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEnvironmentTemplateRequest method. +// req, resp := client.DeleteEnvironmentTemplateRequest(params) // -// // Example sending a request using the DeleteEnvironmentTemplateRequest method. -// req, resp := client.DeleteEnvironmentTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteEnvironmentTemplate func (c *Proton) DeleteEnvironmentTemplateRequest(input *DeleteEnvironmentTemplateInput) (req *request.Request, output *DeleteEnvironmentTemplateOutput) { @@ -1644,24 +1643,25 @@ func (c *Proton) DeleteEnvironmentTemplateRequest(input *DeleteEnvironmentTempla // API operation DeleteEnvironmentTemplate for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteEnvironmentTemplate func (c *Proton) DeleteEnvironmentTemplate(input *DeleteEnvironmentTemplateInput) (*DeleteEnvironmentTemplateOutput, error) { @@ -1701,14 +1701,13 @@ const opDeleteEnvironmentTemplateVersion = "DeleteEnvironmentTemplateVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEnvironmentTemplateVersionRequest method. +// req, resp := client.DeleteEnvironmentTemplateVersionRequest(params) // -// // Example sending a request using the DeleteEnvironmentTemplateVersionRequest method. -// req, resp := client.DeleteEnvironmentTemplateVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteEnvironmentTemplateVersion func (c *Proton) DeleteEnvironmentTemplateVersionRequest(input *DeleteEnvironmentTemplateVersionInput) (req *request.Request, output *DeleteEnvironmentTemplateVersionOutput) { @@ -1748,24 +1747,25 @@ func (c *Proton) DeleteEnvironmentTemplateVersionRequest(input *DeleteEnvironmen // API operation DeleteEnvironmentTemplateVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteEnvironmentTemplateVersion func (c *Proton) DeleteEnvironmentTemplateVersion(input *DeleteEnvironmentTemplateVersionInput) (*DeleteEnvironmentTemplateVersionOutput, error) { @@ -1805,14 +1805,13 @@ const opDeleteRepository = "DeleteRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRepositoryRequest method. +// req, resp := client.DeleteRepositoryRequest(params) // -// // Example sending a request using the DeleteRepositoryRequest method. -// req, resp := client.DeleteRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteRepository func (c *Proton) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *request.Request, output *DeleteRepositoryOutput) { @@ -1843,24 +1842,25 @@ func (c *Proton) DeleteRepositoryRequest(input *DeleteRepositoryInput) (req *req // API operation DeleteRepository for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteRepository func (c *Proton) DeleteRepository(input *DeleteRepositoryInput) (*DeleteRepositoryOutput, error) { @@ -1900,14 +1900,13 @@ const opDeleteService = "DeleteService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServiceRequest method. +// req, resp := client.DeleteServiceRequest(params) // -// // Example sending a request using the DeleteServiceRequest method. -// req, resp := client.DeleteServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteService func (c *Proton) DeleteServiceRequest(input *DeleteServiceInput) (req *request.Request, output *DeleteServiceOutput) { @@ -1938,24 +1937,25 @@ func (c *Proton) DeleteServiceRequest(input *DeleteServiceInput) (req *request.R // API operation DeleteService for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteService func (c *Proton) DeleteService(input *DeleteServiceInput) (*DeleteServiceOutput, error) { @@ -1995,14 +1995,13 @@ const opDeleteServiceTemplate = "DeleteServiceTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServiceTemplateRequest method. +// req, resp := client.DeleteServiceTemplateRequest(params) // -// // Example sending a request using the DeleteServiceTemplateRequest method. -// req, resp := client.DeleteServiceTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteServiceTemplate func (c *Proton) DeleteServiceTemplateRequest(input *DeleteServiceTemplateInput) (req *request.Request, output *DeleteServiceTemplateOutput) { @@ -2034,24 +2033,25 @@ func (c *Proton) DeleteServiceTemplateRequest(input *DeleteServiceTemplateInput) // API operation DeleteServiceTemplate for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteServiceTemplate func (c *Proton) DeleteServiceTemplate(input *DeleteServiceTemplateInput) (*DeleteServiceTemplateOutput, error) { @@ -2091,14 +2091,13 @@ const opDeleteServiceTemplateVersion = "DeleteServiceTemplateVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServiceTemplateVersionRequest method. +// req, resp := client.DeleteServiceTemplateVersionRequest(params) // -// // Example sending a request using the DeleteServiceTemplateVersionRequest method. -// req, resp := client.DeleteServiceTemplateVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteServiceTemplateVersion func (c *Proton) DeleteServiceTemplateVersionRequest(input *DeleteServiceTemplateVersionInput) (req *request.Request, output *DeleteServiceTemplateVersionOutput) { @@ -2138,24 +2137,25 @@ func (c *Proton) DeleteServiceTemplateVersionRequest(input *DeleteServiceTemplat // API operation DeleteServiceTemplateVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteServiceTemplateVersion func (c *Proton) DeleteServiceTemplateVersion(input *DeleteServiceTemplateVersionInput) (*DeleteServiceTemplateVersionOutput, error) { @@ -2195,14 +2195,13 @@ const opDeleteTemplateSyncConfig = "DeleteTemplateSyncConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTemplateSyncConfigRequest method. +// req, resp := client.DeleteTemplateSyncConfigRequest(params) // -// // Example sending a request using the DeleteTemplateSyncConfigRequest method. -// req, resp := client.DeleteTemplateSyncConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteTemplateSyncConfig func (c *Proton) DeleteTemplateSyncConfigRequest(input *DeleteTemplateSyncConfigInput) (req *request.Request, output *DeleteTemplateSyncConfigOutput) { @@ -2233,24 +2232,25 @@ func (c *Proton) DeleteTemplateSyncConfigRequest(input *DeleteTemplateSyncConfig // API operation DeleteTemplateSyncConfig for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/DeleteTemplateSyncConfig func (c *Proton) DeleteTemplateSyncConfig(input *DeleteTemplateSyncConfigInput) (*DeleteTemplateSyncConfigOutput, error) { @@ -2290,14 +2290,13 @@ const opGetAccountSettings = "GetAccountSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountSettingsRequest method. +// req, resp := client.GetAccountSettingsRequest(params) // -// // Example sending a request using the GetAccountSettingsRequest method. -// req, resp := client.GetAccountSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetAccountSettings func (c *Proton) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req *request.Request, output *GetAccountSettingsOutput) { @@ -2328,21 +2327,22 @@ func (c *Proton) GetAccountSettingsRequest(input *GetAccountSettingsInput) (req // API operation GetAccountSettings for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetAccountSettings func (c *Proton) GetAccountSettings(input *GetAccountSettingsInput) (*GetAccountSettingsOutput, error) { @@ -2382,14 +2382,13 @@ const opGetEnvironment = "GetEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEnvironmentRequest method. +// req, resp := client.GetEnvironmentRequest(params) // -// // Example sending a request using the GetEnvironmentRequest method. -// req, resp := client.GetEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetEnvironment func (c *Proton) GetEnvironmentRequest(input *GetEnvironmentInput) (req *request.Request, output *GetEnvironmentOutput) { @@ -2420,21 +2419,22 @@ func (c *Proton) GetEnvironmentRequest(input *GetEnvironmentInput) (req *request // API operation GetEnvironment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetEnvironment func (c *Proton) GetEnvironment(input *GetEnvironmentInput) (*GetEnvironmentOutput, error) { @@ -2474,14 +2474,13 @@ const opGetEnvironmentAccountConnection = "GetEnvironmentAccountConnection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEnvironmentAccountConnectionRequest method. +// req, resp := client.GetEnvironmentAccountConnectionRequest(params) // -// // Example sending a request using the GetEnvironmentAccountConnectionRequest method. -// req, resp := client.GetEnvironmentAccountConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetEnvironmentAccountConnection func (c *Proton) GetEnvironmentAccountConnectionRequest(input *GetEnvironmentAccountConnectionInput) (req *request.Request, output *GetEnvironmentAccountConnectionOutput) { @@ -2516,21 +2515,22 @@ func (c *Proton) GetEnvironmentAccountConnectionRequest(input *GetEnvironmentAcc // API operation GetEnvironmentAccountConnection for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetEnvironmentAccountConnection func (c *Proton) GetEnvironmentAccountConnection(input *GetEnvironmentAccountConnectionInput) (*GetEnvironmentAccountConnectionOutput, error) { @@ -2570,14 +2570,13 @@ const opGetEnvironmentTemplate = "GetEnvironmentTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEnvironmentTemplateRequest method. +// req, resp := client.GetEnvironmentTemplateRequest(params) // -// // Example sending a request using the GetEnvironmentTemplateRequest method. -// req, resp := client.GetEnvironmentTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetEnvironmentTemplate func (c *Proton) GetEnvironmentTemplateRequest(input *GetEnvironmentTemplateInput) (req *request.Request, output *GetEnvironmentTemplateOutput) { @@ -2608,21 +2607,22 @@ func (c *Proton) GetEnvironmentTemplateRequest(input *GetEnvironmentTemplateInpu // API operation GetEnvironmentTemplate for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetEnvironmentTemplate func (c *Proton) GetEnvironmentTemplate(input *GetEnvironmentTemplateInput) (*GetEnvironmentTemplateOutput, error) { @@ -2662,14 +2662,13 @@ const opGetEnvironmentTemplateVersion = "GetEnvironmentTemplateVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEnvironmentTemplateVersionRequest method. +// req, resp := client.GetEnvironmentTemplateVersionRequest(params) // -// // Example sending a request using the GetEnvironmentTemplateVersionRequest method. -// req, resp := client.GetEnvironmentTemplateVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetEnvironmentTemplateVersion func (c *Proton) GetEnvironmentTemplateVersionRequest(input *GetEnvironmentTemplateVersionInput) (req *request.Request, output *GetEnvironmentTemplateVersionOutput) { @@ -2700,21 +2699,22 @@ func (c *Proton) GetEnvironmentTemplateVersionRequest(input *GetEnvironmentTempl // API operation GetEnvironmentTemplateVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetEnvironmentTemplateVersion func (c *Proton) GetEnvironmentTemplateVersion(input *GetEnvironmentTemplateVersionInput) (*GetEnvironmentTemplateVersionOutput, error) { @@ -2754,14 +2754,13 @@ const opGetRepository = "GetRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRepositoryRequest method. +// req, resp := client.GetRepositoryRequest(params) // -// // Example sending a request using the GetRepositoryRequest method. -// req, resp := client.GetRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetRepository func (c *Proton) GetRepositoryRequest(input *GetRepositoryInput) (req *request.Request, output *GetRepositoryOutput) { @@ -2792,21 +2791,22 @@ func (c *Proton) GetRepositoryRequest(input *GetRepositoryInput) (req *request.R // API operation GetRepository for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetRepository func (c *Proton) GetRepository(input *GetRepositoryInput) (*GetRepositoryOutput, error) { @@ -2846,14 +2846,13 @@ const opGetRepositorySyncStatus = "GetRepositorySyncStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRepositorySyncStatusRequest method. +// req, resp := client.GetRepositorySyncStatusRequest(params) // -// // Example sending a request using the GetRepositorySyncStatusRequest method. -// req, resp := client.GetRepositorySyncStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetRepositorySyncStatus func (c *Proton) GetRepositorySyncStatusRequest(input *GetRepositorySyncStatusInput) (req *request.Request, output *GetRepositorySyncStatusOutput) { @@ -2893,21 +2892,22 @@ func (c *Proton) GetRepositorySyncStatusRequest(input *GetRepositorySyncStatusIn // API operation GetRepositorySyncStatus for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetRepositorySyncStatus func (c *Proton) GetRepositorySyncStatus(input *GetRepositorySyncStatusInput) (*GetRepositorySyncStatusOutput, error) { @@ -2947,14 +2947,13 @@ const opGetService = "GetService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceRequest method. +// req, resp := client.GetServiceRequest(params) // -// // Example sending a request using the GetServiceRequest method. -// req, resp := client.GetServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetService func (c *Proton) GetServiceRequest(input *GetServiceInput) (req *request.Request, output *GetServiceOutput) { @@ -2985,21 +2984,22 @@ func (c *Proton) GetServiceRequest(input *GetServiceInput) (req *request.Request // API operation GetService for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetService func (c *Proton) GetService(input *GetServiceInput) (*GetServiceOutput, error) { @@ -3039,14 +3039,13 @@ const opGetServiceInstance = "GetServiceInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceInstanceRequest method. +// req, resp := client.GetServiceInstanceRequest(params) // -// // Example sending a request using the GetServiceInstanceRequest method. -// req, resp := client.GetServiceInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceInstance func (c *Proton) GetServiceInstanceRequest(input *GetServiceInstanceInput) (req *request.Request, output *GetServiceInstanceOutput) { @@ -3078,21 +3077,22 @@ func (c *Proton) GetServiceInstanceRequest(input *GetServiceInstanceInput) (req // API operation GetServiceInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceInstance func (c *Proton) GetServiceInstance(input *GetServiceInstanceInput) (*GetServiceInstanceOutput, error) { @@ -3132,14 +3132,13 @@ const opGetServiceTemplate = "GetServiceTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceTemplateRequest method. +// req, resp := client.GetServiceTemplateRequest(params) // -// // Example sending a request using the GetServiceTemplateRequest method. -// req, resp := client.GetServiceTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceTemplate func (c *Proton) GetServiceTemplateRequest(input *GetServiceTemplateInput) (req *request.Request, output *GetServiceTemplateOutput) { @@ -3170,21 +3169,22 @@ func (c *Proton) GetServiceTemplateRequest(input *GetServiceTemplateInput) (req // API operation GetServiceTemplate for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceTemplate func (c *Proton) GetServiceTemplate(input *GetServiceTemplateInput) (*GetServiceTemplateOutput, error) { @@ -3224,14 +3224,13 @@ const opGetServiceTemplateVersion = "GetServiceTemplateVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceTemplateVersionRequest method. +// req, resp := client.GetServiceTemplateVersionRequest(params) // -// // Example sending a request using the GetServiceTemplateVersionRequest method. -// req, resp := client.GetServiceTemplateVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceTemplateVersion func (c *Proton) GetServiceTemplateVersionRequest(input *GetServiceTemplateVersionInput) (req *request.Request, output *GetServiceTemplateVersionOutput) { @@ -3262,21 +3261,22 @@ func (c *Proton) GetServiceTemplateVersionRequest(input *GetServiceTemplateVersi // API operation GetServiceTemplateVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetServiceTemplateVersion func (c *Proton) GetServiceTemplateVersion(input *GetServiceTemplateVersionInput) (*GetServiceTemplateVersionOutput, error) { @@ -3316,14 +3316,13 @@ const opGetTemplateSyncConfig = "GetTemplateSyncConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTemplateSyncConfigRequest method. +// req, resp := client.GetTemplateSyncConfigRequest(params) // -// // Example sending a request using the GetTemplateSyncConfigRequest method. -// req, resp := client.GetTemplateSyncConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetTemplateSyncConfig func (c *Proton) GetTemplateSyncConfigRequest(input *GetTemplateSyncConfigInput) (req *request.Request, output *GetTemplateSyncConfigOutput) { @@ -3354,21 +3353,22 @@ func (c *Proton) GetTemplateSyncConfigRequest(input *GetTemplateSyncConfigInput) // API operation GetTemplateSyncConfig for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetTemplateSyncConfig func (c *Proton) GetTemplateSyncConfig(input *GetTemplateSyncConfigInput) (*GetTemplateSyncConfigOutput, error) { @@ -3408,14 +3408,13 @@ const opGetTemplateSyncStatus = "GetTemplateSyncStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTemplateSyncStatusRequest method. +// req, resp := client.GetTemplateSyncStatusRequest(params) // -// // Example sending a request using the GetTemplateSyncStatusRequest method. -// req, resp := client.GetTemplateSyncStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetTemplateSyncStatus func (c *Proton) GetTemplateSyncStatusRequest(input *GetTemplateSyncStatusInput) (req *request.Request, output *GetTemplateSyncStatusOutput) { @@ -3446,21 +3445,22 @@ func (c *Proton) GetTemplateSyncStatusRequest(input *GetTemplateSyncStatusInput) // API operation GetTemplateSyncStatus for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/GetTemplateSyncStatus func (c *Proton) GetTemplateSyncStatus(input *GetTemplateSyncStatusInput) (*GetTemplateSyncStatusOutput, error) { @@ -3500,14 +3500,13 @@ const opListEnvironmentAccountConnections = "ListEnvironmentAccountConnections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEnvironmentAccountConnectionsRequest method. +// req, resp := client.ListEnvironmentAccountConnectionsRequest(params) // -// // Example sending a request using the ListEnvironmentAccountConnectionsRequest method. -// req, resp := client.ListEnvironmentAccountConnectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentAccountConnections func (c *Proton) ListEnvironmentAccountConnectionsRequest(input *ListEnvironmentAccountConnectionsInput) (req *request.Request, output *ListEnvironmentAccountConnectionsOutput) { @@ -3547,18 +3546,19 @@ func (c *Proton) ListEnvironmentAccountConnectionsRequest(input *ListEnvironment // API operation ListEnvironmentAccountConnections for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentAccountConnections func (c *Proton) ListEnvironmentAccountConnections(input *ListEnvironmentAccountConnectionsInput) (*ListEnvironmentAccountConnectionsOutput, error) { @@ -3590,15 +3590,14 @@ func (c *Proton) ListEnvironmentAccountConnectionsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEnvironmentAccountConnections operation. -// pageNum := 0 -// err := client.ListEnvironmentAccountConnectionsPages(params, -// func(page *proton.ListEnvironmentAccountConnectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEnvironmentAccountConnections operation. +// pageNum := 0 +// err := client.ListEnvironmentAccountConnectionsPages(params, +// func(page *proton.ListEnvironmentAccountConnectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListEnvironmentAccountConnectionsPages(input *ListEnvironmentAccountConnectionsInput, fn func(*ListEnvironmentAccountConnectionsOutput, bool) bool) error { return c.ListEnvironmentAccountConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3650,14 +3649,13 @@ const opListEnvironmentOutputs = "ListEnvironmentOutputs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEnvironmentOutputsRequest method. +// req, resp := client.ListEnvironmentOutputsRequest(params) // -// // Example sending a request using the ListEnvironmentOutputsRequest method. -// req, resp := client.ListEnvironmentOutputsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentOutputs func (c *Proton) ListEnvironmentOutputsRequest(input *ListEnvironmentOutputsInput) (req *request.Request, output *ListEnvironmentOutputsOutput) { @@ -3694,21 +3692,22 @@ func (c *Proton) ListEnvironmentOutputsRequest(input *ListEnvironmentOutputsInpu // API operation ListEnvironmentOutputs for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentOutputs func (c *Proton) ListEnvironmentOutputs(input *ListEnvironmentOutputsInput) (*ListEnvironmentOutputsOutput, error) { @@ -3740,15 +3739,14 @@ func (c *Proton) ListEnvironmentOutputsWithContext(ctx aws.Context, input *ListE // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEnvironmentOutputs operation. -// pageNum := 0 -// err := client.ListEnvironmentOutputsPages(params, -// func(page *proton.ListEnvironmentOutputsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEnvironmentOutputs operation. +// pageNum := 0 +// err := client.ListEnvironmentOutputsPages(params, +// func(page *proton.ListEnvironmentOutputsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListEnvironmentOutputsPages(input *ListEnvironmentOutputsInput, fn func(*ListEnvironmentOutputsOutput, bool) bool) error { return c.ListEnvironmentOutputsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3800,14 +3798,13 @@ const opListEnvironmentProvisionedResources = "ListEnvironmentProvisionedResourc // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEnvironmentProvisionedResourcesRequest method. +// req, resp := client.ListEnvironmentProvisionedResourcesRequest(params) // -// // Example sending a request using the ListEnvironmentProvisionedResourcesRequest method. -// req, resp := client.ListEnvironmentProvisionedResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentProvisionedResources func (c *Proton) ListEnvironmentProvisionedResourcesRequest(input *ListEnvironmentProvisionedResourcesInput) (req *request.Request, output *ListEnvironmentProvisionedResourcesOutput) { @@ -3844,21 +3841,22 @@ func (c *Proton) ListEnvironmentProvisionedResourcesRequest(input *ListEnvironme // API operation ListEnvironmentProvisionedResources for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentProvisionedResources func (c *Proton) ListEnvironmentProvisionedResources(input *ListEnvironmentProvisionedResourcesInput) (*ListEnvironmentProvisionedResourcesOutput, error) { @@ -3890,15 +3888,14 @@ func (c *Proton) ListEnvironmentProvisionedResourcesWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEnvironmentProvisionedResources operation. -// pageNum := 0 -// err := client.ListEnvironmentProvisionedResourcesPages(params, -// func(page *proton.ListEnvironmentProvisionedResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEnvironmentProvisionedResources operation. +// pageNum := 0 +// err := client.ListEnvironmentProvisionedResourcesPages(params, +// func(page *proton.ListEnvironmentProvisionedResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListEnvironmentProvisionedResourcesPages(input *ListEnvironmentProvisionedResourcesInput, fn func(*ListEnvironmentProvisionedResourcesOutput, bool) bool) error { return c.ListEnvironmentProvisionedResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3950,14 +3947,13 @@ const opListEnvironmentTemplateVersions = "ListEnvironmentTemplateVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEnvironmentTemplateVersionsRequest method. +// req, resp := client.ListEnvironmentTemplateVersionsRequest(params) // -// // Example sending a request using the ListEnvironmentTemplateVersionsRequest method. -// req, resp := client.ListEnvironmentTemplateVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentTemplateVersions func (c *Proton) ListEnvironmentTemplateVersionsRequest(input *ListEnvironmentTemplateVersionsInput) (req *request.Request, output *ListEnvironmentTemplateVersionsOutput) { @@ -3994,21 +3990,22 @@ func (c *Proton) ListEnvironmentTemplateVersionsRequest(input *ListEnvironmentTe // API operation ListEnvironmentTemplateVersions for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentTemplateVersions func (c *Proton) ListEnvironmentTemplateVersions(input *ListEnvironmentTemplateVersionsInput) (*ListEnvironmentTemplateVersionsOutput, error) { @@ -4040,15 +4037,14 @@ func (c *Proton) ListEnvironmentTemplateVersionsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEnvironmentTemplateVersions operation. -// pageNum := 0 -// err := client.ListEnvironmentTemplateVersionsPages(params, -// func(page *proton.ListEnvironmentTemplateVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEnvironmentTemplateVersions operation. +// pageNum := 0 +// err := client.ListEnvironmentTemplateVersionsPages(params, +// func(page *proton.ListEnvironmentTemplateVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListEnvironmentTemplateVersionsPages(input *ListEnvironmentTemplateVersionsInput, fn func(*ListEnvironmentTemplateVersionsOutput, bool) bool) error { return c.ListEnvironmentTemplateVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4100,14 +4096,13 @@ const opListEnvironmentTemplates = "ListEnvironmentTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEnvironmentTemplatesRequest method. +// req, resp := client.ListEnvironmentTemplatesRequest(params) // -// // Example sending a request using the ListEnvironmentTemplatesRequest method. -// req, resp := client.ListEnvironmentTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentTemplates func (c *Proton) ListEnvironmentTemplatesRequest(input *ListEnvironmentTemplatesInput) (req *request.Request, output *ListEnvironmentTemplatesOutput) { @@ -4144,18 +4139,19 @@ func (c *Proton) ListEnvironmentTemplatesRequest(input *ListEnvironmentTemplates // API operation ListEnvironmentTemplates for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironmentTemplates func (c *Proton) ListEnvironmentTemplates(input *ListEnvironmentTemplatesInput) (*ListEnvironmentTemplatesOutput, error) { @@ -4187,15 +4183,14 @@ func (c *Proton) ListEnvironmentTemplatesWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEnvironmentTemplates operation. -// pageNum := 0 -// err := client.ListEnvironmentTemplatesPages(params, -// func(page *proton.ListEnvironmentTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEnvironmentTemplates operation. +// pageNum := 0 +// err := client.ListEnvironmentTemplatesPages(params, +// func(page *proton.ListEnvironmentTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListEnvironmentTemplatesPages(input *ListEnvironmentTemplatesInput, fn func(*ListEnvironmentTemplatesOutput, bool) bool) error { return c.ListEnvironmentTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4247,14 +4242,13 @@ const opListEnvironments = "ListEnvironments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEnvironmentsRequest method. +// req, resp := client.ListEnvironmentsRequest(params) // -// // Example sending a request using the ListEnvironmentsRequest method. -// req, resp := client.ListEnvironmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironments func (c *Proton) ListEnvironmentsRequest(input *ListEnvironmentsInput) (req *request.Request, output *ListEnvironmentsOutput) { @@ -4291,21 +4285,22 @@ func (c *Proton) ListEnvironmentsRequest(input *ListEnvironmentsInput) (req *req // API operation ListEnvironments for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListEnvironments func (c *Proton) ListEnvironments(input *ListEnvironmentsInput) (*ListEnvironmentsOutput, error) { @@ -4337,15 +4332,14 @@ func (c *Proton) ListEnvironmentsWithContext(ctx aws.Context, input *ListEnviron // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEnvironments operation. -// pageNum := 0 -// err := client.ListEnvironmentsPages(params, -// func(page *proton.ListEnvironmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEnvironments operation. +// pageNum := 0 +// err := client.ListEnvironmentsPages(params, +// func(page *proton.ListEnvironmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListEnvironmentsPages(input *ListEnvironmentsInput, fn func(*ListEnvironmentsOutput, bool) bool) error { return c.ListEnvironmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4397,14 +4391,13 @@ const opListRepositories = "ListRepositories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRepositoriesRequest method. +// req, resp := client.ListRepositoriesRequest(params) // -// // Example sending a request using the ListRepositoriesRequest method. -// req, resp := client.ListRepositoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListRepositories func (c *Proton) ListRepositoriesRequest(input *ListRepositoriesInput) (req *request.Request, output *ListRepositoriesOutput) { @@ -4441,21 +4434,22 @@ func (c *Proton) ListRepositoriesRequest(input *ListRepositoriesInput) (req *req // API operation ListRepositories for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListRepositories func (c *Proton) ListRepositories(input *ListRepositoriesInput) (*ListRepositoriesOutput, error) { @@ -4487,15 +4481,14 @@ func (c *Proton) ListRepositoriesWithContext(ctx aws.Context, input *ListReposit // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRepositories operation. -// pageNum := 0 -// err := client.ListRepositoriesPages(params, -// func(page *proton.ListRepositoriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRepositories operation. +// pageNum := 0 +// err := client.ListRepositoriesPages(params, +// func(page *proton.ListRepositoriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListRepositoriesPages(input *ListRepositoriesInput, fn func(*ListRepositoriesOutput, bool) bool) error { return c.ListRepositoriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4547,14 +4540,13 @@ const opListRepositorySyncDefinitions = "ListRepositorySyncDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRepositorySyncDefinitionsRequest method. +// req, resp := client.ListRepositorySyncDefinitionsRequest(params) // -// // Example sending a request using the ListRepositorySyncDefinitionsRequest method. -// req, resp := client.ListRepositorySyncDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListRepositorySyncDefinitions func (c *Proton) ListRepositorySyncDefinitionsRequest(input *ListRepositorySyncDefinitionsInput) (req *request.Request, output *ListRepositorySyncDefinitionsOutput) { @@ -4591,18 +4583,19 @@ func (c *Proton) ListRepositorySyncDefinitionsRequest(input *ListRepositorySyncD // API operation ListRepositorySyncDefinitions for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListRepositorySyncDefinitions func (c *Proton) ListRepositorySyncDefinitions(input *ListRepositorySyncDefinitionsInput) (*ListRepositorySyncDefinitionsOutput, error) { @@ -4634,15 +4627,14 @@ func (c *Proton) ListRepositorySyncDefinitionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRepositorySyncDefinitions operation. -// pageNum := 0 -// err := client.ListRepositorySyncDefinitionsPages(params, -// func(page *proton.ListRepositorySyncDefinitionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRepositorySyncDefinitions operation. +// pageNum := 0 +// err := client.ListRepositorySyncDefinitionsPages(params, +// func(page *proton.ListRepositorySyncDefinitionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListRepositorySyncDefinitionsPages(input *ListRepositorySyncDefinitionsInput, fn func(*ListRepositorySyncDefinitionsOutput, bool) bool) error { return c.ListRepositorySyncDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4694,14 +4686,13 @@ const opListServiceInstanceOutputs = "ListServiceInstanceOutputs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServiceInstanceOutputsRequest method. +// req, resp := client.ListServiceInstanceOutputsRequest(params) // -// // Example sending a request using the ListServiceInstanceOutputsRequest method. -// req, resp := client.ListServiceInstanceOutputsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstanceOutputs func (c *Proton) ListServiceInstanceOutputsRequest(input *ListServiceInstanceOutputsInput) (req *request.Request, output *ListServiceInstanceOutputsOutput) { @@ -4738,21 +4729,22 @@ func (c *Proton) ListServiceInstanceOutputsRequest(input *ListServiceInstanceOut // API operation ListServiceInstanceOutputs for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstanceOutputs func (c *Proton) ListServiceInstanceOutputs(input *ListServiceInstanceOutputsInput) (*ListServiceInstanceOutputsOutput, error) { @@ -4784,15 +4776,14 @@ func (c *Proton) ListServiceInstanceOutputsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServiceInstanceOutputs operation. -// pageNum := 0 -// err := client.ListServiceInstanceOutputsPages(params, -// func(page *proton.ListServiceInstanceOutputsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServiceInstanceOutputs operation. +// pageNum := 0 +// err := client.ListServiceInstanceOutputsPages(params, +// func(page *proton.ListServiceInstanceOutputsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListServiceInstanceOutputsPages(input *ListServiceInstanceOutputsInput, fn func(*ListServiceInstanceOutputsOutput, bool) bool) error { return c.ListServiceInstanceOutputsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4844,14 +4835,13 @@ const opListServiceInstanceProvisionedResources = "ListServiceInstanceProvisione // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServiceInstanceProvisionedResourcesRequest method. +// req, resp := client.ListServiceInstanceProvisionedResourcesRequest(params) // -// // Example sending a request using the ListServiceInstanceProvisionedResourcesRequest method. -// req, resp := client.ListServiceInstanceProvisionedResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstanceProvisionedResources func (c *Proton) ListServiceInstanceProvisionedResourcesRequest(input *ListServiceInstanceProvisionedResourcesInput) (req *request.Request, output *ListServiceInstanceProvisionedResourcesOutput) { @@ -4888,21 +4878,22 @@ func (c *Proton) ListServiceInstanceProvisionedResourcesRequest(input *ListServi // API operation ListServiceInstanceProvisionedResources for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstanceProvisionedResources func (c *Proton) ListServiceInstanceProvisionedResources(input *ListServiceInstanceProvisionedResourcesInput) (*ListServiceInstanceProvisionedResourcesOutput, error) { @@ -4934,15 +4925,14 @@ func (c *Proton) ListServiceInstanceProvisionedResourcesWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServiceInstanceProvisionedResources operation. -// pageNum := 0 -// err := client.ListServiceInstanceProvisionedResourcesPages(params, -// func(page *proton.ListServiceInstanceProvisionedResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServiceInstanceProvisionedResources operation. +// pageNum := 0 +// err := client.ListServiceInstanceProvisionedResourcesPages(params, +// func(page *proton.ListServiceInstanceProvisionedResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListServiceInstanceProvisionedResourcesPages(input *ListServiceInstanceProvisionedResourcesInput, fn func(*ListServiceInstanceProvisionedResourcesOutput, bool) bool) error { return c.ListServiceInstanceProvisionedResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4994,14 +4984,13 @@ const opListServiceInstances = "ListServiceInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServiceInstancesRequest method. +// req, resp := client.ListServiceInstancesRequest(params) // -// // Example sending a request using the ListServiceInstancesRequest method. -// req, resp := client.ListServiceInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstances func (c *Proton) ListServiceInstancesRequest(input *ListServiceInstancesInput) (req *request.Request, output *ListServiceInstancesOutput) { @@ -5038,21 +5027,22 @@ func (c *Proton) ListServiceInstancesRequest(input *ListServiceInstancesInput) ( // API operation ListServiceInstances for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceInstances func (c *Proton) ListServiceInstances(input *ListServiceInstancesInput) (*ListServiceInstancesOutput, error) { @@ -5084,15 +5074,14 @@ func (c *Proton) ListServiceInstancesWithContext(ctx aws.Context, input *ListSer // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServiceInstances operation. -// pageNum := 0 -// err := client.ListServiceInstancesPages(params, -// func(page *proton.ListServiceInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServiceInstances operation. +// pageNum := 0 +// err := client.ListServiceInstancesPages(params, +// func(page *proton.ListServiceInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListServiceInstancesPages(input *ListServiceInstancesInput, fn func(*ListServiceInstancesOutput, bool) bool) error { return c.ListServiceInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5144,14 +5133,13 @@ const opListServicePipelineOutputs = "ListServicePipelineOutputs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServicePipelineOutputsRequest method. +// req, resp := client.ListServicePipelineOutputsRequest(params) // -// // Example sending a request using the ListServicePipelineOutputsRequest method. -// req, resp := client.ListServicePipelineOutputsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServicePipelineOutputs func (c *Proton) ListServicePipelineOutputsRequest(input *ListServicePipelineOutputsInput) (req *request.Request, output *ListServicePipelineOutputsOutput) { @@ -5188,21 +5176,22 @@ func (c *Proton) ListServicePipelineOutputsRequest(input *ListServicePipelineOut // API operation ListServicePipelineOutputs for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServicePipelineOutputs func (c *Proton) ListServicePipelineOutputs(input *ListServicePipelineOutputsInput) (*ListServicePipelineOutputsOutput, error) { @@ -5234,15 +5223,14 @@ func (c *Proton) ListServicePipelineOutputsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServicePipelineOutputs operation. -// pageNum := 0 -// err := client.ListServicePipelineOutputsPages(params, -// func(page *proton.ListServicePipelineOutputsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServicePipelineOutputs operation. +// pageNum := 0 +// err := client.ListServicePipelineOutputsPages(params, +// func(page *proton.ListServicePipelineOutputsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListServicePipelineOutputsPages(input *ListServicePipelineOutputsInput, fn func(*ListServicePipelineOutputsOutput, bool) bool) error { return c.ListServicePipelineOutputsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5294,14 +5282,13 @@ const opListServicePipelineProvisionedResources = "ListServicePipelineProvisione // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServicePipelineProvisionedResourcesRequest method. +// req, resp := client.ListServicePipelineProvisionedResourcesRequest(params) // -// // Example sending a request using the ListServicePipelineProvisionedResourcesRequest method. -// req, resp := client.ListServicePipelineProvisionedResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServicePipelineProvisionedResources func (c *Proton) ListServicePipelineProvisionedResourcesRequest(input *ListServicePipelineProvisionedResourcesInput) (req *request.Request, output *ListServicePipelineProvisionedResourcesOutput) { @@ -5338,21 +5325,22 @@ func (c *Proton) ListServicePipelineProvisionedResourcesRequest(input *ListServi // API operation ListServicePipelineProvisionedResources for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServicePipelineProvisionedResources func (c *Proton) ListServicePipelineProvisionedResources(input *ListServicePipelineProvisionedResourcesInput) (*ListServicePipelineProvisionedResourcesOutput, error) { @@ -5384,15 +5372,14 @@ func (c *Proton) ListServicePipelineProvisionedResourcesWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServicePipelineProvisionedResources operation. -// pageNum := 0 -// err := client.ListServicePipelineProvisionedResourcesPages(params, -// func(page *proton.ListServicePipelineProvisionedResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServicePipelineProvisionedResources operation. +// pageNum := 0 +// err := client.ListServicePipelineProvisionedResourcesPages(params, +// func(page *proton.ListServicePipelineProvisionedResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListServicePipelineProvisionedResourcesPages(input *ListServicePipelineProvisionedResourcesInput, fn func(*ListServicePipelineProvisionedResourcesOutput, bool) bool) error { return c.ListServicePipelineProvisionedResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5444,14 +5431,13 @@ const opListServiceTemplateVersions = "ListServiceTemplateVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServiceTemplateVersionsRequest method. +// req, resp := client.ListServiceTemplateVersionsRequest(params) // -// // Example sending a request using the ListServiceTemplateVersionsRequest method. -// req, resp := client.ListServiceTemplateVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceTemplateVersions func (c *Proton) ListServiceTemplateVersionsRequest(input *ListServiceTemplateVersionsInput) (req *request.Request, output *ListServiceTemplateVersionsOutput) { @@ -5488,21 +5474,22 @@ func (c *Proton) ListServiceTemplateVersionsRequest(input *ListServiceTemplateVe // API operation ListServiceTemplateVersions for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceTemplateVersions func (c *Proton) ListServiceTemplateVersions(input *ListServiceTemplateVersionsInput) (*ListServiceTemplateVersionsOutput, error) { @@ -5534,15 +5521,14 @@ func (c *Proton) ListServiceTemplateVersionsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServiceTemplateVersions operation. -// pageNum := 0 -// err := client.ListServiceTemplateVersionsPages(params, -// func(page *proton.ListServiceTemplateVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServiceTemplateVersions operation. +// pageNum := 0 +// err := client.ListServiceTemplateVersionsPages(params, +// func(page *proton.ListServiceTemplateVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListServiceTemplateVersionsPages(input *ListServiceTemplateVersionsInput, fn func(*ListServiceTemplateVersionsOutput, bool) bool) error { return c.ListServiceTemplateVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5594,14 +5580,13 @@ const opListServiceTemplates = "ListServiceTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServiceTemplatesRequest method. +// req, resp := client.ListServiceTemplatesRequest(params) // -// // Example sending a request using the ListServiceTemplatesRequest method. -// req, resp := client.ListServiceTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceTemplates func (c *Proton) ListServiceTemplatesRequest(input *ListServiceTemplatesInput) (req *request.Request, output *ListServiceTemplatesOutput) { @@ -5638,18 +5623,19 @@ func (c *Proton) ListServiceTemplatesRequest(input *ListServiceTemplatesInput) ( // API operation ListServiceTemplates for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServiceTemplates func (c *Proton) ListServiceTemplates(input *ListServiceTemplatesInput) (*ListServiceTemplatesOutput, error) { @@ -5681,15 +5667,14 @@ func (c *Proton) ListServiceTemplatesWithContext(ctx aws.Context, input *ListSer // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServiceTemplates operation. -// pageNum := 0 -// err := client.ListServiceTemplatesPages(params, -// func(page *proton.ListServiceTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServiceTemplates operation. +// pageNum := 0 +// err := client.ListServiceTemplatesPages(params, +// func(page *proton.ListServiceTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListServiceTemplatesPages(input *ListServiceTemplatesInput, fn func(*ListServiceTemplatesOutput, bool) bool) error { return c.ListServiceTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5741,14 +5726,13 @@ const opListServices = "ListServices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServicesRequest method. +// req, resp := client.ListServicesRequest(params) // -// // Example sending a request using the ListServicesRequest method. -// req, resp := client.ListServicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServices func (c *Proton) ListServicesRequest(input *ListServicesInput) (req *request.Request, output *ListServicesOutput) { @@ -5785,18 +5769,19 @@ func (c *Proton) ListServicesRequest(input *ListServicesInput) (req *request.Req // API operation ListServices for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListServices func (c *Proton) ListServices(input *ListServicesInput) (*ListServicesOutput, error) { @@ -5828,15 +5813,14 @@ func (c *Proton) ListServicesWithContext(ctx aws.Context, input *ListServicesInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServices operation. -// pageNum := 0 -// err := client.ListServicesPages(params, -// func(page *proton.ListServicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServices operation. +// pageNum := 0 +// err := client.ListServicesPages(params, +// func(page *proton.ListServicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListServicesPages(input *ListServicesInput, fn func(*ListServicesOutput, bool) bool) error { return c.ListServicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5888,14 +5872,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListTagsForResource func (c *Proton) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -5934,21 +5917,22 @@ func (c *Proton) ListTagsForResourceRequest(input *ListTagsForResourceInput) (re // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/ListTagsForResource func (c *Proton) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -5980,15 +5964,14 @@ func (c *Proton) ListTagsForResourceWithContext(ctx aws.Context, input *ListTags // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *proton.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *proton.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Proton) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6040,14 +6023,13 @@ const opNotifyResourceDeploymentStatusChange = "NotifyResourceDeploymentStatusCh // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the NotifyResourceDeploymentStatusChangeRequest method. +// req, resp := client.NotifyResourceDeploymentStatusChangeRequest(params) // -// // Example sending a request using the NotifyResourceDeploymentStatusChangeRequest method. -// req, resp := client.NotifyResourceDeploymentStatusChangeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/NotifyResourceDeploymentStatusChange func (c *Proton) NotifyResourceDeploymentStatusChangeRequest(input *NotifyResourceDeploymentStatusChangeInput) (req *request.Request, output *NotifyResourceDeploymentStatusChangeOutput) { @@ -6083,28 +6065,29 @@ func (c *Proton) NotifyResourceDeploymentStatusChangeRequest(input *NotifyResour // API operation NotifyResourceDeploymentStatusChange for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) -// in the Proton Administrator Guide. // -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. +// - ServiceQuotaExceededException +// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) +// in the Proton Administrator Guide. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/NotifyResourceDeploymentStatusChange func (c *Proton) NotifyResourceDeploymentStatusChange(input *NotifyResourceDeploymentStatusChangeInput) (*NotifyResourceDeploymentStatusChangeOutput, error) { @@ -6144,14 +6127,13 @@ const opRejectEnvironmentAccountConnection = "RejectEnvironmentAccountConnection // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectEnvironmentAccountConnectionRequest method. +// req, resp := client.RejectEnvironmentAccountConnectionRequest(params) // -// // Example sending a request using the RejectEnvironmentAccountConnectionRequest method. -// req, resp := client.RejectEnvironmentAccountConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/RejectEnvironmentAccountConnection func (c *Proton) RejectEnvironmentAccountConnectionRequest(input *RejectEnvironmentAccountConnectionInput) (req *request.Request, output *RejectEnvironmentAccountConnectionOutput) { @@ -6192,24 +6174,25 @@ func (c *Proton) RejectEnvironmentAccountConnectionRequest(input *RejectEnvironm // API operation RejectEnvironmentAccountConnection for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/RejectEnvironmentAccountConnection func (c *Proton) RejectEnvironmentAccountConnection(input *RejectEnvironmentAccountConnectionInput) (*RejectEnvironmentAccountConnectionOutput, error) { @@ -6249,14 +6232,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/TagResource func (c *Proton) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -6293,24 +6275,25 @@ func (c *Proton) TagResourceRequest(input *TagResourceInput) (req *request.Reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/TagResource func (c *Proton) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -6350,14 +6333,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UntagResource func (c *Proton) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -6394,24 +6376,25 @@ func (c *Proton) UntagResourceRequest(input *UntagResourceInput) (req *request.R // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UntagResource func (c *Proton) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -6451,14 +6434,13 @@ const opUpdateAccountSettings = "UpdateAccountSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAccountSettingsRequest method. +// req, resp := client.UpdateAccountSettingsRequest(params) // -// // Example sending a request using the UpdateAccountSettingsRequest method. -// req, resp := client.UpdateAccountSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateAccountSettings func (c *Proton) UpdateAccountSettingsRequest(input *UpdateAccountSettingsInput) (req *request.Request, output *UpdateAccountSettingsOutput) { @@ -6489,21 +6471,22 @@ func (c *Proton) UpdateAccountSettingsRequest(input *UpdateAccountSettingsInput) // API operation UpdateAccountSettings for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateAccountSettings func (c *Proton) UpdateAccountSettings(input *UpdateAccountSettingsInput) (*UpdateAccountSettingsOutput, error) { @@ -6543,14 +6526,13 @@ const opUpdateEnvironment = "UpdateEnvironment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEnvironmentRequest method. +// req, resp := client.UpdateEnvironmentRequest(params) // -// // Example sending a request using the UpdateEnvironmentRequest method. -// req, resp := client.UpdateEnvironmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateEnvironment func (c *Proton) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *request.Request, output *UpdateEnvironmentOutput) { @@ -6604,7 +6586,7 @@ func (c *Proton) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *r // There are four modes for updating an environment. The deploymentType field // defines the mode. // -// NONE +// # NONE // // In this mode, a deployment doesn't occur. Only the requested metadata parameters // are updated. @@ -6637,24 +6619,25 @@ func (c *Proton) UpdateEnvironmentRequest(input *UpdateEnvironmentInput) (req *r // API operation UpdateEnvironment for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateEnvironment func (c *Proton) UpdateEnvironment(input *UpdateEnvironmentInput) (*UpdateEnvironmentOutput, error) { @@ -6694,14 +6677,13 @@ const opUpdateEnvironmentAccountConnection = "UpdateEnvironmentAccountConnection // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEnvironmentAccountConnectionRequest method. +// req, resp := client.UpdateEnvironmentAccountConnectionRequest(params) // -// // Example sending a request using the UpdateEnvironmentAccountConnectionRequest method. -// req, resp := client.UpdateEnvironmentAccountConnectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateEnvironmentAccountConnection func (c *Proton) UpdateEnvironmentAccountConnectionRequest(input *UpdateEnvironmentAccountConnectionInput) (req *request.Request, output *UpdateEnvironmentAccountConnectionOutput) { @@ -6736,24 +6718,25 @@ func (c *Proton) UpdateEnvironmentAccountConnectionRequest(input *UpdateEnvironm // API operation UpdateEnvironmentAccountConnection for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateEnvironmentAccountConnection func (c *Proton) UpdateEnvironmentAccountConnection(input *UpdateEnvironmentAccountConnectionInput) (*UpdateEnvironmentAccountConnectionOutput, error) { @@ -6793,14 +6776,13 @@ const opUpdateEnvironmentTemplate = "UpdateEnvironmentTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEnvironmentTemplateRequest method. +// req, resp := client.UpdateEnvironmentTemplateRequest(params) // -// // Example sending a request using the UpdateEnvironmentTemplateRequest method. -// req, resp := client.UpdateEnvironmentTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateEnvironmentTemplate func (c *Proton) UpdateEnvironmentTemplateRequest(input *UpdateEnvironmentTemplateInput) (req *request.Request, output *UpdateEnvironmentTemplateOutput) { @@ -6831,24 +6813,25 @@ func (c *Proton) UpdateEnvironmentTemplateRequest(input *UpdateEnvironmentTempla // API operation UpdateEnvironmentTemplate for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateEnvironmentTemplate func (c *Proton) UpdateEnvironmentTemplate(input *UpdateEnvironmentTemplateInput) (*UpdateEnvironmentTemplateOutput, error) { @@ -6888,14 +6871,13 @@ const opUpdateEnvironmentTemplateVersion = "UpdateEnvironmentTemplateVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEnvironmentTemplateVersionRequest method. +// req, resp := client.UpdateEnvironmentTemplateVersionRequest(params) // -// // Example sending a request using the UpdateEnvironmentTemplateVersionRequest method. -// req, resp := client.UpdateEnvironmentTemplateVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateEnvironmentTemplateVersion func (c *Proton) UpdateEnvironmentTemplateVersionRequest(input *UpdateEnvironmentTemplateVersionInput) (req *request.Request, output *UpdateEnvironmentTemplateVersionOutput) { @@ -6926,24 +6908,25 @@ func (c *Proton) UpdateEnvironmentTemplateVersionRequest(input *UpdateEnvironmen // API operation UpdateEnvironmentTemplateVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateEnvironmentTemplateVersion func (c *Proton) UpdateEnvironmentTemplateVersion(input *UpdateEnvironmentTemplateVersionInput) (*UpdateEnvironmentTemplateVersionOutput, error) { @@ -6983,14 +6966,13 @@ const opUpdateService = "UpdateService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServiceRequest method. +// req, resp := client.UpdateServiceRequest(params) // -// // Example sending a request using the UpdateServiceRequest method. -// req, resp := client.UpdateServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateService func (c *Proton) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Request, output *UpdateServiceOutput) { @@ -7028,28 +7010,29 @@ func (c *Proton) UpdateServiceRequest(input *UpdateServiceInput) (req *request.R // API operation UpdateService for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) -// in the Proton Administrator Guide. // -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. +// - ServiceQuotaExceededException +// A quota was exceeded. For more information, see Proton Quotas (https://docs.aws.amazon.com/proton/latest/adminguide/ag-limits.html) +// in the Proton Administrator Guide. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateService func (c *Proton) UpdateService(input *UpdateServiceInput) (*UpdateServiceOutput, error) { @@ -7089,14 +7072,13 @@ const opUpdateServiceInstance = "UpdateServiceInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServiceInstanceRequest method. +// req, resp := client.UpdateServiceInstanceRequest(params) // -// // Example sending a request using the UpdateServiceInstanceRequest method. -// req, resp := client.UpdateServiceInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceInstance func (c *Proton) UpdateServiceInstanceRequest(input *UpdateServiceInstanceInput) (req *request.Request, output *UpdateServiceInstanceOutput) { @@ -7122,7 +7104,7 @@ func (c *Proton) UpdateServiceInstanceRequest(input *UpdateServiceInstanceInput) // There are four modes for updating a service instance. The deploymentType // field defines the mode. // -// NONE +// # NONE // // In this mode, a deployment doesn't occur. Only the requested metadata parameters // are updated. @@ -7155,24 +7137,25 @@ func (c *Proton) UpdateServiceInstanceRequest(input *UpdateServiceInstanceInput) // API operation UpdateServiceInstance for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * InternalServerException -// The request failed to register with the service. +// - ResourceNotFoundException +// The requested resource wasn't found. +// +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceInstance func (c *Proton) UpdateServiceInstance(input *UpdateServiceInstanceInput) (*UpdateServiceInstanceOutput, error) { @@ -7212,14 +7195,13 @@ const opUpdateServicePipeline = "UpdateServicePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServicePipelineRequest method. +// req, resp := client.UpdateServicePipelineRequest(params) // -// // Example sending a request using the UpdateServicePipelineRequest method. -// req, resp := client.UpdateServicePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServicePipeline func (c *Proton) UpdateServicePipelineRequest(input *UpdateServicePipelineInput) (req *request.Request, output *UpdateServicePipelineOutput) { @@ -7245,7 +7227,7 @@ func (c *Proton) UpdateServicePipelineRequest(input *UpdateServicePipelineInput) // There are four modes for updating a service pipeline. The deploymentType // field defines the mode. // -// NONE +// # NONE // // In this mode, a deployment doesn't occur. Only the requested metadata parameters // are updated. @@ -7278,24 +7260,25 @@ func (c *Proton) UpdateServicePipelineRequest(input *UpdateServicePipelineInput) // API operation UpdateServicePipeline for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServicePipeline func (c *Proton) UpdateServicePipeline(input *UpdateServicePipelineInput) (*UpdateServicePipelineOutput, error) { @@ -7335,14 +7318,13 @@ const opUpdateServiceTemplate = "UpdateServiceTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServiceTemplateRequest method. +// req, resp := client.UpdateServiceTemplateRequest(params) // -// // Example sending a request using the UpdateServiceTemplateRequest method. -// req, resp := client.UpdateServiceTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceTemplate func (c *Proton) UpdateServiceTemplateRequest(input *UpdateServiceTemplateInput) (req *request.Request, output *UpdateServiceTemplateOutput) { @@ -7373,24 +7355,25 @@ func (c *Proton) UpdateServiceTemplateRequest(input *UpdateServiceTemplateInput) // API operation UpdateServiceTemplate for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceTemplate func (c *Proton) UpdateServiceTemplate(input *UpdateServiceTemplateInput) (*UpdateServiceTemplateOutput, error) { @@ -7430,14 +7413,13 @@ const opUpdateServiceTemplateVersion = "UpdateServiceTemplateVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServiceTemplateVersionRequest method. +// req, resp := client.UpdateServiceTemplateVersionRequest(params) // -// // Example sending a request using the UpdateServiceTemplateVersionRequest method. -// req, resp := client.UpdateServiceTemplateVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceTemplateVersion func (c *Proton) UpdateServiceTemplateVersionRequest(input *UpdateServiceTemplateVersionInput) (req *request.Request, output *UpdateServiceTemplateVersionOutput) { @@ -7468,24 +7450,25 @@ func (c *Proton) UpdateServiceTemplateVersionRequest(input *UpdateServiceTemplat // API operation UpdateServiceTemplateVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceTemplateVersion func (c *Proton) UpdateServiceTemplateVersion(input *UpdateServiceTemplateVersionInput) (*UpdateServiceTemplateVersionOutput, error) { @@ -7525,14 +7508,13 @@ const opUpdateTemplateSyncConfig = "UpdateTemplateSyncConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTemplateSyncConfigRequest method. +// req, resp := client.UpdateTemplateSyncConfigRequest(params) // -// // Example sending a request using the UpdateTemplateSyncConfigRequest method. -// req, resp := client.UpdateTemplateSyncConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateTemplateSyncConfig func (c *Proton) UpdateTemplateSyncConfigRequest(input *UpdateTemplateSyncConfigInput) (req *request.Request, output *UpdateTemplateSyncConfigOutput) { @@ -7564,24 +7546,25 @@ func (c *Proton) UpdateTemplateSyncConfigRequest(input *UpdateTemplateSyncConfig // API operation UpdateTemplateSyncConfig for usage and error information. // // Returned Error Types: -// * ValidationException -// The input is invalid or an out-of-range value was supplied for the input -// parameter. // -// * AccessDeniedException -// There isn't sufficient access for performing this action. +// - ValidationException +// The input is invalid or an out-of-range value was supplied for the input +// parameter. +// +// - AccessDeniedException +// There isn't sufficient access for performing this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ConflictException -// The request couldn't be made due to a conflicting operation or resource. +// - ConflictException +// The request couldn't be made due to a conflicting operation or resource. // -// * ResourceNotFoundException -// The requested resource wasn't found. +// - ResourceNotFoundException +// The requested resource wasn't found. // -// * InternalServerException -// The request failed to register with the service. +// - InternalServerException +// The request failed to register with the service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateTemplateSyncConfig func (c *Proton) UpdateTemplateSyncConfig(input *UpdateTemplateSyncConfigInput) (*UpdateTemplateSyncConfigOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/doc.go index 20bd300e95f7..3d4b40623430 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/doc.go @@ -35,7 +35,7 @@ // To learn more about deploying serverless and containerized applications on // Proton, see the Proton User Guide (https://docs.aws.amazon.com/proton/latest/userguide/Welcome.html). // -// Ensuring Idempotency +// # Ensuring Idempotency // // When you make a mutating API request, the request typically returns a result // before the asynchronous workflows of the operation are complete. Operations @@ -56,7 +56,7 @@ // The following lists of APIs are grouped according to methods that ensure // idempotency. // -// Idempotent create APIs with a client token +// # Idempotent create APIs with a client token // // The API actions in this list support idempotency with the use of a client // token. The corresponding Amazon Web Services CLI commands also support idempotency @@ -85,13 +85,13 @@ // // Idempotent create APIs with a client token: // -// * CreateEnvironmentTemplateVersion +// - CreateEnvironmentTemplateVersion // -// * CreateServiceTemplateVersion +// - CreateServiceTemplateVersion // -// * CreateEnvironmentAccountConnection +// - CreateEnvironmentAccountConnection // -// Idempotent create APIs +// # Idempotent create APIs // // Given a request action that has succeeded: // @@ -106,15 +106,15 @@ // // Idempotent create APIs: // -// * CreateEnvironmentTemplate +// - CreateEnvironmentTemplate // -// * CreateServiceTemplate +// - CreateServiceTemplate // -// * CreateEnvironment +// - CreateEnvironment // -// * CreateService +// - CreateService // -// Idempotent delete APIs +// # Idempotent delete APIs // // Given a request action that has succeeded: // @@ -127,17 +127,17 @@ // // Idempotent delete APIs: // -// * DeleteEnvironmentTemplate +// - DeleteEnvironmentTemplate // -// * DeleteEnvironmentTemplateVersion +// - DeleteEnvironmentTemplateVersion // -// * DeleteServiceTemplate +// - DeleteServiceTemplate // -// * DeleteServiceTemplateVersion +// - DeleteServiceTemplateVersion // -// * DeleteEnvironmentAccountConnection +// - DeleteEnvironmentAccountConnection // -// Asynchronous idempotent delete APIs +// # Asynchronous idempotent delete APIs // // Given a request action that has succeeded: // @@ -150,16 +150,16 @@ // // Asynchronous idempotent delete APIs: // -// * DeleteEnvironment +// - DeleteEnvironment // -// * DeleteService +// - DeleteService // // See https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20 for more information on this service. // // See proton package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/proton/ // -// Using the Client +// # Using the Client // // To contact AWS Proton with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/protoniface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/protoniface/interface.go index 3bcf06ddada9..fa001c903f9d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/protoniface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/protoniface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Proton. -// func myFunc(svc protoniface.ProtonAPI) bool { -// // Make svc.AcceptEnvironmentAccountConnection request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Proton. +// func myFunc(svc protoniface.ProtonAPI) bool { +// // Make svc.AcceptEnvironmentAccountConnection request +// } // -// func main() { -// sess := session.New() -// svc := proton.New(sess) +// func main() { +// sess := session.New() +// svc := proton.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockProtonClient struct { -// protoniface.ProtonAPI -// } -// func (m *mockProtonClient) AcceptEnvironmentAccountConnection(input *proton.AcceptEnvironmentAccountConnectionInput) (*proton.AcceptEnvironmentAccountConnectionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockProtonClient struct { +// protoniface.ProtonAPI +// } +// func (m *mockProtonClient) AcceptEnvironmentAccountConnection(input *proton.AcceptEnvironmentAccountConnectionInput) (*proton.AcceptEnvironmentAccountConnectionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockProtonClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockProtonClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/service.go index 75605ec72396..f1c7b117270f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/proton/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Proton client from just a session. -// svc := proton.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Proton client with additional configuration -// svc := proton.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Proton client from just a session. +// svc := proton.New(mySession) +// +// // Create a Proton client with additional configuration +// svc := proton.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Proton { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/api.go index 0054d59354a7..e5d44bd66f87 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/api.go @@ -29,14 +29,13 @@ const opCancelJournalKinesisStream = "CancelJournalKinesisStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelJournalKinesisStreamRequest method. +// req, resp := client.CancelJournalKinesisStreamRequest(params) // -// // Example sending a request using the CancelJournalKinesisStreamRequest method. -// req, resp := client.CancelJournalKinesisStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/CancelJournalKinesisStream func (c *QLDB) CancelJournalKinesisStreamRequest(input *CancelJournalKinesisStreamInput) (req *request.Request, output *CancelJournalKinesisStreamOutput) { @@ -72,14 +71,15 @@ func (c *QLDB) CancelJournalKinesisStreamRequest(input *CancelJournalKinesisStre // API operation CancelJournalKinesisStream for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in the request aren't valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in the request aren't valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * ResourcePreconditionNotMetException -// The operation failed because a condition wasn't satisfied in advance. +// - ResourcePreconditionNotMetException +// The operation failed because a condition wasn't satisfied in advance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/CancelJournalKinesisStream func (c *QLDB) CancelJournalKinesisStream(input *CancelJournalKinesisStreamInput) (*CancelJournalKinesisStreamOutput, error) { @@ -119,14 +119,13 @@ const opCreateLedger = "CreateLedger" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLedgerRequest method. +// req, resp := client.CreateLedgerRequest(params) // -// // Example sending a request using the CreateLedgerRequest method. -// req, resp := client.CreateLedgerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/CreateLedger func (c *QLDB) CreateLedgerRequest(input *CreateLedgerInput) (req *request.Request, output *CreateLedgerOutput) { @@ -157,17 +156,18 @@ func (c *QLDB) CreateLedgerRequest(input *CreateLedgerInput) (req *request.Reque // API operation CreateLedger for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in the request aren't valid. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidParameterException +// One or more parameters in the request aren't valid. // -// * LimitExceededException -// You have reached the limit on the maximum number of resources allowed. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * ResourceInUseException -// The specified resource can't be modified at this time. +// - LimitExceededException +// You have reached the limit on the maximum number of resources allowed. +// +// - ResourceInUseException +// The specified resource can't be modified at this time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/CreateLedger func (c *QLDB) CreateLedger(input *CreateLedgerInput) (*CreateLedgerOutput, error) { @@ -207,14 +207,13 @@ const opDeleteLedger = "DeleteLedger" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLedgerRequest method. +// req, resp := client.DeleteLedgerRequest(params) // -// // Example sending a request using the DeleteLedgerRequest method. -// req, resp := client.DeleteLedgerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/DeleteLedger func (c *QLDB) DeleteLedgerRequest(input *DeleteLedgerInput) (req *request.Request, output *DeleteLedgerOutput) { @@ -250,17 +249,18 @@ func (c *QLDB) DeleteLedgerRequest(input *DeleteLedgerInput) (req *request.Reque // API operation DeleteLedger for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in the request aren't valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in the request aren't valid. // -// * ResourceInUseException -// The specified resource can't be modified at this time. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * ResourcePreconditionNotMetException -// The operation failed because a condition wasn't satisfied in advance. +// - ResourceInUseException +// The specified resource can't be modified at this time. +// +// - ResourcePreconditionNotMetException +// The operation failed because a condition wasn't satisfied in advance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/DeleteLedger func (c *QLDB) DeleteLedger(input *DeleteLedgerInput) (*DeleteLedgerOutput, error) { @@ -300,14 +300,13 @@ const opDescribeJournalKinesisStream = "DescribeJournalKinesisStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJournalKinesisStreamRequest method. +// req, resp := client.DescribeJournalKinesisStreamRequest(params) // -// // Example sending a request using the DescribeJournalKinesisStreamRequest method. -// req, resp := client.DescribeJournalKinesisStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/DescribeJournalKinesisStream func (c *QLDB) DescribeJournalKinesisStreamRequest(input *DescribeJournalKinesisStreamInput) (req *request.Request, output *DescribeJournalKinesisStreamOutput) { @@ -344,14 +343,15 @@ func (c *QLDB) DescribeJournalKinesisStreamRequest(input *DescribeJournalKinesis // API operation DescribeJournalKinesisStream for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in the request aren't valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in the request aren't valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * ResourcePreconditionNotMetException -// The operation failed because a condition wasn't satisfied in advance. +// - ResourcePreconditionNotMetException +// The operation failed because a condition wasn't satisfied in advance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/DescribeJournalKinesisStream func (c *QLDB) DescribeJournalKinesisStream(input *DescribeJournalKinesisStreamInput) (*DescribeJournalKinesisStreamOutput, error) { @@ -391,14 +391,13 @@ const opDescribeJournalS3Export = "DescribeJournalS3Export" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJournalS3ExportRequest method. +// req, resp := client.DescribeJournalS3ExportRequest(params) // -// // Example sending a request using the DescribeJournalS3ExportRequest method. -// req, resp := client.DescribeJournalS3ExportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/DescribeJournalS3Export func (c *QLDB) DescribeJournalS3ExportRequest(input *DescribeJournalS3ExportInput) (req *request.Request, output *DescribeJournalS3ExportOutput) { @@ -439,8 +438,8 @@ func (c *QLDB) DescribeJournalS3ExportRequest(input *DescribeJournalS3ExportInpu // API operation DescribeJournalS3Export for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - ResourceNotFoundException +// The specified resource doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/DescribeJournalS3Export func (c *QLDB) DescribeJournalS3Export(input *DescribeJournalS3ExportInput) (*DescribeJournalS3ExportOutput, error) { @@ -480,14 +479,13 @@ const opDescribeLedger = "DescribeLedger" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLedgerRequest method. +// req, resp := client.DescribeLedgerRequest(params) // -// // Example sending a request using the DescribeLedgerRequest method. -// req, resp := client.DescribeLedgerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/DescribeLedger func (c *QLDB) DescribeLedgerRequest(input *DescribeLedgerInput) (req *request.Request, output *DescribeLedgerOutput) { @@ -519,11 +517,12 @@ func (c *QLDB) DescribeLedgerRequest(input *DescribeLedgerInput) (req *request.R // API operation DescribeLedger for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in the request aren't valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in the request aren't valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/DescribeLedger func (c *QLDB) DescribeLedger(input *DescribeLedgerInput) (*DescribeLedgerOutput, error) { @@ -563,14 +562,13 @@ const opExportJournalToS3 = "ExportJournalToS3" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportJournalToS3Request method. +// req, resp := client.ExportJournalToS3Request(params) // -// // Example sending a request using the ExportJournalToS3Request method. -// req, resp := client.ExportJournalToS3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ExportJournalToS3 func (c *QLDB) ExportJournalToS3Request(input *ExportJournalToS3Input) (req *request.Request, output *ExportJournalToS3Output) { @@ -617,11 +615,12 @@ func (c *QLDB) ExportJournalToS3Request(input *ExportJournalToS3Input) (req *req // API operation ExportJournalToS3 for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * ResourcePreconditionNotMetException -// The operation failed because a condition wasn't satisfied in advance. +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - ResourcePreconditionNotMetException +// The operation failed because a condition wasn't satisfied in advance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ExportJournalToS3 func (c *QLDB) ExportJournalToS3(input *ExportJournalToS3Input) (*ExportJournalToS3Output, error) { @@ -661,14 +660,13 @@ const opGetBlock = "GetBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBlockRequest method. +// req, resp := client.GetBlockRequest(params) // -// // Example sending a request using the GetBlockRequest method. -// req, resp := client.GetBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/GetBlock func (c *QLDB) GetBlockRequest(input *GetBlockInput) (req *request.Request, output *GetBlockOutput) { @@ -711,14 +709,15 @@ func (c *QLDB) GetBlockRequest(input *GetBlockInput) (req *request.Request, outp // API operation GetBlock for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in the request aren't valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in the request aren't valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * ResourcePreconditionNotMetException -// The operation failed because a condition wasn't satisfied in advance. +// - ResourcePreconditionNotMetException +// The operation failed because a condition wasn't satisfied in advance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/GetBlock func (c *QLDB) GetBlock(input *GetBlockInput) (*GetBlockOutput, error) { @@ -758,14 +757,13 @@ const opGetDigest = "GetDigest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDigestRequest method. +// req, resp := client.GetDigestRequest(params) // -// // Example sending a request using the GetDigestRequest method. -// req, resp := client.GetDigestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/GetDigest func (c *QLDB) GetDigestRequest(input *GetDigestInput) (req *request.Request, output *GetDigestOutput) { @@ -797,14 +795,15 @@ func (c *QLDB) GetDigestRequest(input *GetDigestInput) (req *request.Request, ou // API operation GetDigest for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in the request aren't valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in the request aren't valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * ResourcePreconditionNotMetException -// The operation failed because a condition wasn't satisfied in advance. +// - ResourcePreconditionNotMetException +// The operation failed because a condition wasn't satisfied in advance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/GetDigest func (c *QLDB) GetDigest(input *GetDigestInput) (*GetDigestOutput, error) { @@ -844,14 +843,13 @@ const opGetRevision = "GetRevision" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRevisionRequest method. +// req, resp := client.GetRevisionRequest(params) // -// // Example sending a request using the GetRevisionRequest method. -// req, resp := client.GetRevisionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/GetRevision func (c *QLDB) GetRevisionRequest(input *GetRevisionInput) (req *request.Request, output *GetRevisionOutput) { @@ -884,14 +882,15 @@ func (c *QLDB) GetRevisionRequest(input *GetRevisionInput) (req *request.Request // API operation GetRevision for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in the request aren't valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in the request aren't valid. // -// * ResourcePreconditionNotMetException -// The operation failed because a condition wasn't satisfied in advance. +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - ResourcePreconditionNotMetException +// The operation failed because a condition wasn't satisfied in advance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/GetRevision func (c *QLDB) GetRevision(input *GetRevisionInput) (*GetRevisionOutput, error) { @@ -931,14 +930,13 @@ const opListJournalKinesisStreamsForLedger = "ListJournalKinesisStreamsForLedger // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJournalKinesisStreamsForLedgerRequest method. +// req, resp := client.ListJournalKinesisStreamsForLedgerRequest(params) // -// // Example sending a request using the ListJournalKinesisStreamsForLedgerRequest method. -// req, resp := client.ListJournalKinesisStreamsForLedgerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ListJournalKinesisStreamsForLedger func (c *QLDB) ListJournalKinesisStreamsForLedgerRequest(input *ListJournalKinesisStreamsForLedgerInput) (req *request.Request, output *ListJournalKinesisStreamsForLedgerOutput) { @@ -985,14 +983,15 @@ func (c *QLDB) ListJournalKinesisStreamsForLedgerRequest(input *ListJournalKines // API operation ListJournalKinesisStreamsForLedger for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in the request aren't valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in the request aren't valid. // -// * ResourcePreconditionNotMetException -// The operation failed because a condition wasn't satisfied in advance. +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - ResourcePreconditionNotMetException +// The operation failed because a condition wasn't satisfied in advance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ListJournalKinesisStreamsForLedger func (c *QLDB) ListJournalKinesisStreamsForLedger(input *ListJournalKinesisStreamsForLedgerInput) (*ListJournalKinesisStreamsForLedgerOutput, error) { @@ -1024,15 +1023,14 @@ func (c *QLDB) ListJournalKinesisStreamsForLedgerWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJournalKinesisStreamsForLedger operation. -// pageNum := 0 -// err := client.ListJournalKinesisStreamsForLedgerPages(params, -// func(page *qldb.ListJournalKinesisStreamsForLedgerOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJournalKinesisStreamsForLedger operation. +// pageNum := 0 +// err := client.ListJournalKinesisStreamsForLedgerPages(params, +// func(page *qldb.ListJournalKinesisStreamsForLedgerOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QLDB) ListJournalKinesisStreamsForLedgerPages(input *ListJournalKinesisStreamsForLedgerInput, fn func(*ListJournalKinesisStreamsForLedgerOutput, bool) bool) error { return c.ListJournalKinesisStreamsForLedgerPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1084,14 +1082,13 @@ const opListJournalS3Exports = "ListJournalS3Exports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJournalS3ExportsRequest method. +// req, resp := client.ListJournalS3ExportsRequest(params) // -// // Example sending a request using the ListJournalS3ExportsRequest method. -// req, resp := client.ListJournalS3ExportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ListJournalS3Exports func (c *QLDB) ListJournalS3ExportsRequest(input *ListJournalS3ExportsInput) (req *request.Request, output *ListJournalS3ExportsOutput) { @@ -1164,15 +1161,14 @@ func (c *QLDB) ListJournalS3ExportsWithContext(ctx aws.Context, input *ListJourn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJournalS3Exports operation. -// pageNum := 0 -// err := client.ListJournalS3ExportsPages(params, -// func(page *qldb.ListJournalS3ExportsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJournalS3Exports operation. +// pageNum := 0 +// err := client.ListJournalS3ExportsPages(params, +// func(page *qldb.ListJournalS3ExportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QLDB) ListJournalS3ExportsPages(input *ListJournalS3ExportsInput, fn func(*ListJournalS3ExportsOutput, bool) bool) error { return c.ListJournalS3ExportsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1224,14 +1220,13 @@ const opListJournalS3ExportsForLedger = "ListJournalS3ExportsForLedger" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJournalS3ExportsForLedgerRequest method. +// req, resp := client.ListJournalS3ExportsForLedgerRequest(params) // -// // Example sending a request using the ListJournalS3ExportsForLedgerRequest method. -// req, resp := client.ListJournalS3ExportsForLedgerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ListJournalS3ExportsForLedger func (c *QLDB) ListJournalS3ExportsForLedgerRequest(input *ListJournalS3ExportsForLedgerInput) (req *request.Request, output *ListJournalS3ExportsForLedgerOutput) { @@ -1304,15 +1299,14 @@ func (c *QLDB) ListJournalS3ExportsForLedgerWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJournalS3ExportsForLedger operation. -// pageNum := 0 -// err := client.ListJournalS3ExportsForLedgerPages(params, -// func(page *qldb.ListJournalS3ExportsForLedgerOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJournalS3ExportsForLedger operation. +// pageNum := 0 +// err := client.ListJournalS3ExportsForLedgerPages(params, +// func(page *qldb.ListJournalS3ExportsForLedgerOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QLDB) ListJournalS3ExportsForLedgerPages(input *ListJournalS3ExportsForLedgerInput, fn func(*ListJournalS3ExportsForLedgerOutput, bool) bool) error { return c.ListJournalS3ExportsForLedgerPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1364,14 +1358,13 @@ const opListLedgers = "ListLedgers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLedgersRequest method. +// req, resp := client.ListLedgersRequest(params) // -// // Example sending a request using the ListLedgersRequest method. -// req, resp := client.ListLedgersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ListLedgers func (c *QLDB) ListLedgersRequest(input *ListLedgersInput) (req *request.Request, output *ListLedgersOutput) { @@ -1440,15 +1433,14 @@ func (c *QLDB) ListLedgersWithContext(ctx aws.Context, input *ListLedgersInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLedgers operation. -// pageNum := 0 -// err := client.ListLedgersPages(params, -// func(page *qldb.ListLedgersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLedgers operation. +// pageNum := 0 +// err := client.ListLedgersPages(params, +// func(page *qldb.ListLedgersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QLDB) ListLedgersPages(input *ListLedgersInput, fn func(*ListLedgersOutput, bool) bool) error { return c.ListLedgersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1500,14 +1492,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ListTagsForResource func (c *QLDB) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1538,11 +1529,12 @@ func (c *QLDB) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in the request aren't valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in the request aren't valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/ListTagsForResource func (c *QLDB) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1582,14 +1574,13 @@ const opStreamJournalToKinesis = "StreamJournalToKinesis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StreamJournalToKinesisRequest method. +// req, resp := client.StreamJournalToKinesisRequest(params) // -// // Example sending a request using the StreamJournalToKinesisRequest method. -// req, resp := client.StreamJournalToKinesisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/StreamJournalToKinesis func (c *QLDB) StreamJournalToKinesisRequest(input *StreamJournalToKinesisInput) (req *request.Request, output *StreamJournalToKinesisOutput) { @@ -1622,14 +1613,15 @@ func (c *QLDB) StreamJournalToKinesisRequest(input *StreamJournalToKinesisInput) // API operation StreamJournalToKinesis for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in the request aren't valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in the request aren't valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * ResourcePreconditionNotMetException -// The operation failed because a condition wasn't satisfied in advance. +// - ResourcePreconditionNotMetException +// The operation failed because a condition wasn't satisfied in advance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/StreamJournalToKinesis func (c *QLDB) StreamJournalToKinesis(input *StreamJournalToKinesisInput) (*StreamJournalToKinesisOutput, error) { @@ -1669,14 +1661,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/TagResource func (c *QLDB) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1711,11 +1702,12 @@ func (c *QLDB) TagResourceRequest(input *TagResourceInput) (req *request.Request // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in the request aren't valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in the request aren't valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/TagResource func (c *QLDB) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1755,14 +1747,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/UntagResource func (c *QLDB) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1795,11 +1786,12 @@ func (c *QLDB) UntagResourceRequest(input *UntagResourceInput) (req *request.Req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in the request aren't valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in the request aren't valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/UntagResource func (c *QLDB) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1839,14 +1831,13 @@ const opUpdateLedger = "UpdateLedger" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLedgerRequest method. +// req, resp := client.UpdateLedgerRequest(params) // -// // Example sending a request using the UpdateLedgerRequest method. -// req, resp := client.UpdateLedgerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/UpdateLedger func (c *QLDB) UpdateLedgerRequest(input *UpdateLedgerInput) (req *request.Request, output *UpdateLedgerOutput) { @@ -1877,11 +1868,12 @@ func (c *QLDB) UpdateLedgerRequest(input *UpdateLedgerInput) (req *request.Reque // API operation UpdateLedger for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in the request aren't valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in the request aren't valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/UpdateLedger func (c *QLDB) UpdateLedger(input *UpdateLedgerInput) (*UpdateLedgerOutput, error) { @@ -1921,14 +1913,13 @@ const opUpdateLedgerPermissionsMode = "UpdateLedgerPermissionsMode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLedgerPermissionsModeRequest method. +// req, resp := client.UpdateLedgerPermissionsModeRequest(params) // -// // Example sending a request using the UpdateLedgerPermissionsModeRequest method. -// req, resp := client.UpdateLedgerPermissionsModeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/UpdateLedgerPermissionsMode func (c *QLDB) UpdateLedgerPermissionsModeRequest(input *UpdateLedgerPermissionsModeInput) (req *request.Request, output *UpdateLedgerPermissionsModeOutput) { @@ -1964,11 +1955,12 @@ func (c *QLDB) UpdateLedgerPermissionsModeRequest(input *UpdateLedgerPermissions // API operation UpdateLedgerPermissionsMode for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in the request aren't valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in the request aren't valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02/UpdateLedgerPermissionsMode func (c *QLDB) UpdateLedgerPermissionsMode(input *UpdateLedgerPermissionsModeInput) (*UpdateLedgerPermissionsModeOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/doc.go index 41d3555afa5a..621b982e0e8a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/doc.go @@ -3,14 +3,14 @@ // Package qldb provides the client and types for making API // requests to Amazon QLDB. // -// The control plane for Amazon QLDB +// # The control plane for Amazon QLDB // // See https://docs.aws.amazon.com/goto/WebAPI/qldb-2019-01-02 for more information on this service. // // See qldb package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/qldb/ // -// Using the Client +// # Using the Client // // To contact Amazon QLDB with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/qldbiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/qldbiface/interface.go index 73cbebd0a8de..2e4ef3f7c435 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/qldbiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/qldbiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon QLDB. -// func myFunc(svc qldbiface.QLDBAPI) bool { -// // Make svc.CancelJournalKinesisStream request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon QLDB. +// func myFunc(svc qldbiface.QLDBAPI) bool { +// // Make svc.CancelJournalKinesisStream request +// } // -// func main() { -// sess := session.New() -// svc := qldb.New(sess) +// func main() { +// sess := session.New() +// svc := qldb.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockQLDBClient struct { -// qldbiface.QLDBAPI -// } -// func (m *mockQLDBClient) CancelJournalKinesisStream(input *qldb.CancelJournalKinesisStreamInput) (*qldb.CancelJournalKinesisStreamOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockQLDBClient struct { +// qldbiface.QLDBAPI +// } +// func (m *mockQLDBClient) CancelJournalKinesisStream(input *qldb.CancelJournalKinesisStreamInput) (*qldb.CancelJournalKinesisStreamOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockQLDBClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockQLDBClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/service.go index e9db3060716a..8189362f80cf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldb/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a QLDB client from just a session. -// svc := qldb.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a QLDB client with additional configuration -// svc := qldb.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a QLDB client from just a session. +// svc := qldb.New(mySession) +// +// // Create a QLDB client with additional configuration +// svc := qldb.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *QLDB { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/api.go index b9dcf2644b4e..e9f760af5011 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/api.go @@ -27,14 +27,13 @@ const opSendCommand = "SendCommand" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendCommandRequest method. +// req, resp := client.SendCommandRequest(params) // -// // Example sending a request using the SendCommandRequest method. -// req, resp := client.SendCommandRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/SendCommand func (c *QLDBSession) SendCommandRequest(input *SendCommandInput) (req *request.Request, output *SendCommandOutput) { @@ -60,17 +59,17 @@ func (c *QLDBSession) SendCommandRequest(input *SendCommandInput) (req *request. // Instead of interacting directly with this API, we recommend using the QLDB // driver or the QLDB shell to execute data transactions on a ledger. // -// * If you are working with an AWS SDK, use the QLDB driver. The driver -// provides a high-level abstraction layer above this QLDB Session data plane -// and manages SendCommand API calls for you. For information and a list -// of supported programming languages, see Getting started with the driver -// (https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started-driver.html) -// in the Amazon QLDB Developer Guide. +// - If you are working with an AWS SDK, use the QLDB driver. The driver +// provides a high-level abstraction layer above this QLDB Session data plane +// and manages SendCommand API calls for you. For information and a list +// of supported programming languages, see Getting started with the driver +// (https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started-driver.html) +// in the Amazon QLDB Developer Guide. // -// * If you are working with the AWS Command Line Interface (AWS CLI), use -// the QLDB shell. The shell is a command line interface that uses the QLDB -// driver to interact with a ledger. For information, see Accessing Amazon -// QLDB using the QLDB shell (https://docs.aws.amazon.com/qldb/latest/developerguide/data-shell.html). +// - If you are working with the AWS Command Line Interface (AWS CLI), use +// the QLDB shell. The shell is a command line interface that uses the QLDB +// driver to interact with a ledger. For information, see Accessing Amazon +// QLDB using the QLDB shell (https://docs.aws.amazon.com/qldb/latest/developerguide/data-shell.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -80,25 +79,26 @@ func (c *QLDBSession) SendCommandRequest(input *SendCommandInput) (req *request. // API operation SendCommand for usage and error information. // // Returned Error Types: -// * BadRequestException -// Returned if the request is malformed or contains an error such as an invalid -// parameter value or a missing required parameter. // -// * InvalidSessionException -// Returned if the session doesn't exist anymore because it timed out or expired. +// - BadRequestException +// Returned if the request is malformed or contains an error such as an invalid +// parameter value or a missing required parameter. +// +// - InvalidSessionException +// Returned if the session doesn't exist anymore because it timed out or expired. // -// * OccConflictException -// Returned when a transaction cannot be written to the journal due to a failure -// in the verification phase of optimistic concurrency control (OCC). +// - OccConflictException +// Returned when a transaction cannot be written to the journal due to a failure +// in the verification phase of optimistic concurrency control (OCC). // -// * RateExceededException -// Returned when the rate of requests exceeds the allowed throughput. +// - RateExceededException +// Returned when the rate of requests exceeds the allowed throughput. // -// * LimitExceededException -// Returned if a resource limit such as number of active sessions is exceeded. +// - LimitExceededException +// Returned if a resource limit such as number of active sessions is exceeded. // -// * CapacityExceededException -// Returned when the request exceeds the processing capacity of the ledger. +// - CapacityExceededException +// Returned when the request exceeds the processing capacity of the ledger. // // See also, https://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11/SendCommand func (c *QLDBSession) SendCommand(input *SendCommandInput) (*SendCommandOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/doc.go index c8cd1740ad59..dbc66502b4a7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/doc.go @@ -3,29 +3,29 @@ // Package qldbsession provides the client and types for making API // requests to Amazon QLDB Session. // -// The transactional data APIs for Amazon QLDB +// # The transactional data APIs for Amazon QLDB // // Instead of interacting directly with this API, we recommend using the QLDB // driver or the QLDB shell to execute data transactions on a ledger. // -// * If you are working with an AWS SDK, use the QLDB driver. The driver -// provides a high-level abstraction layer above this QLDB Session data plane -// and manages SendCommand API calls for you. For information and a list -// of supported programming languages, see Getting started with the driver -// (https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started-driver.html) -// in the Amazon QLDB Developer Guide. +// - If you are working with an AWS SDK, use the QLDB driver. The driver +// provides a high-level abstraction layer above this QLDB Session data plane +// and manages SendCommand API calls for you. For information and a list +// of supported programming languages, see Getting started with the driver +// (https://docs.aws.amazon.com/qldb/latest/developerguide/getting-started-driver.html) +// in the Amazon QLDB Developer Guide. // -// * If you are working with the AWS Command Line Interface (AWS CLI), use -// the QLDB shell. The shell is a command line interface that uses the QLDB -// driver to interact with a ledger. For information, see Accessing Amazon -// QLDB using the QLDB shell (https://docs.aws.amazon.com/qldb/latest/developerguide/data-shell.html). +// - If you are working with the AWS Command Line Interface (AWS CLI), use +// the QLDB shell. The shell is a command line interface that uses the QLDB +// driver to interact with a ledger. For information, see Accessing Amazon +// QLDB using the QLDB shell (https://docs.aws.amazon.com/qldb/latest/developerguide/data-shell.html). // // See https://docs.aws.amazon.com/goto/WebAPI/qldb-session-2019-07-11 for more information on this service. // // See qldbsession package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/qldbsession/ // -// Using the Client +// # Using the Client // // To contact Amazon QLDB Session with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/qldbsessioniface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/qldbsessioniface/interface.go index 9393df553323..e1780a7168e6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/qldbsessioniface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/qldbsessioniface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon QLDB Session. -// func myFunc(svc qldbsessioniface.QLDBSessionAPI) bool { -// // Make svc.SendCommand request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon QLDB Session. +// func myFunc(svc qldbsessioniface.QLDBSessionAPI) bool { +// // Make svc.SendCommand request +// } // -// func main() { -// sess := session.New() -// svc := qldbsession.New(sess) +// func main() { +// sess := session.New() +// svc := qldbsession.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockQLDBSessionClient struct { -// qldbsessioniface.QLDBSessionAPI -// } -// func (m *mockQLDBSessionClient) SendCommand(input *qldbsession.SendCommandInput) (*qldbsession.SendCommandOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockQLDBSessionClient struct { +// qldbsessioniface.QLDBSessionAPI +// } +// func (m *mockQLDBSessionClient) SendCommand(input *qldbsession.SendCommandInput) (*qldbsession.SendCommandOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockQLDBSessionClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockQLDBSessionClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/service.go index fee1c35e1c28..29e8552c9ded 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/qldbsession/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a QLDBSession client from just a session. -// svc := qldbsession.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a QLDBSession client with additional configuration -// svc := qldbsession.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a QLDBSession client from just a session. +// svc := qldbsession.New(mySession) +// +// // Create a QLDBSession client with additional configuration +// svc := qldbsession.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *QLDBSession { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/api.go index 7545b3fe51a4..1335c41d5c48 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/api.go @@ -28,14 +28,13 @@ const opCancelIngestion = "CancelIngestion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelIngestionRequest method. +// req, resp := client.CancelIngestionRequest(params) // -// // Example sending a request using the CancelIngestionRequest method. -// req, resp := client.CancelIngestionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CancelIngestion func (c *QuickSight) CancelIngestionRequest(input *CancelIngestionInput) (req *request.Request, output *CancelIngestionOutput) { @@ -66,27 +65,28 @@ func (c *QuickSight) CancelIngestionRequest(input *CancelIngestionInput) (req *r // API operation CancelIngestion for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * ResourceExistsException -// The resource specified already exists. +// - ResourceExistsException +// The resource specified already exists. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CancelIngestion func (c *QuickSight) CancelIngestion(input *CancelIngestionInput) (*CancelIngestionOutput, error) { @@ -126,14 +126,13 @@ const opCreateAccountCustomization = "CreateAccountCustomization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAccountCustomizationRequest method. +// req, resp := client.CreateAccountCustomizationRequest(params) // -// // Example sending a request using the CreateAccountCustomizationRequest method. -// req, resp := client.CreateAccountCustomizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateAccountCustomization func (c *QuickSight) CreateAccountCustomizationRequest(input *CreateAccountCustomizationInput) (req *request.Request, output *CreateAccountCustomizationOutput) { @@ -185,33 +184,34 @@ func (c *QuickSight) CreateAccountCustomizationRequest(input *CreateAccountCusto // API operation CreateAccountCustomization for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceExistsException -// The resource specified already exists. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceExistsException +// The resource specified already exists. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InternalFailureException -// An internal failure occurred. +// - ThrottlingException +// Access is throttled. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateAccountCustomization func (c *QuickSight) CreateAccountCustomization(input *CreateAccountCustomizationInput) (*CreateAccountCustomizationOutput, error) { @@ -251,14 +251,13 @@ const opCreateAnalysis = "CreateAnalysis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAnalysisRequest method. +// req, resp := client.CreateAnalysisRequest(params) // -// // Example sending a request using the CreateAnalysisRequest method. -// req, resp := client.CreateAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateAnalysis func (c *QuickSight) CreateAnalysisRequest(input *CreateAnalysisInput) (req *request.Request, output *CreateAnalysisOutput) { @@ -289,29 +288,30 @@ func (c *QuickSight) CreateAnalysisRequest(input *CreateAnalysisInput) (req *req // API operation CreateAnalysis for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceExistsException -// The resource specified already exists. +// - ThrottlingException +// Access is throttled. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ResourceExistsException +// The resource specified already exists. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateAnalysis func (c *QuickSight) CreateAnalysis(input *CreateAnalysisInput) (*CreateAnalysisOutput, error) { @@ -351,14 +351,13 @@ const opCreateDashboard = "CreateDashboard" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDashboardRequest method. +// req, resp := client.CreateDashboardRequest(params) // -// // Example sending a request using the CreateDashboardRequest method. -// req, resp := client.CreateDashboardRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDashboard func (c *QuickSight) CreateDashboardRequest(input *CreateDashboardInput) (req *request.Request, output *CreateDashboardOutput) { @@ -397,29 +396,30 @@ func (c *QuickSight) CreateDashboardRequest(input *CreateDashboardInput) (req *r // API operation CreateDashboard for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceExistsException -// The resource specified already exists. +// - ThrottlingException +// Access is throttled. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ResourceExistsException +// The resource specified already exists. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDashboard func (c *QuickSight) CreateDashboard(input *CreateDashboardInput) (*CreateDashboardOutput, error) { @@ -459,14 +459,13 @@ const opCreateDataSet = "CreateDataSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataSetRequest method. +// req, resp := client.CreateDataSetRequest(params) // -// // Example sending a request using the CreateDataSetRequest method. -// req, resp := client.CreateDataSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSet func (c *QuickSight) CreateDataSetRequest(input *CreateDataSetInput) (req *request.Request, output *CreateDataSetOutput) { @@ -498,39 +497,40 @@ func (c *QuickSight) CreateDataSetRequest(input *CreateDataSetInput) (req *reque // API operation CreateDataSet for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * LimitExceededException -// A limit is exceeded. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceExistsException -// The resource specified already exists. +// - LimitExceededException +// A limit is exceeded. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceExistsException +// The resource specified already exists. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSet func (c *QuickSight) CreateDataSet(input *CreateDataSetInput) (*CreateDataSetOutput, error) { @@ -570,14 +570,13 @@ const opCreateDataSource = "CreateDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataSourceRequest method. +// req, resp := client.CreateDataSourceRequest(params) // -// // Example sending a request using the CreateDataSourceRequest method. -// req, resp := client.CreateDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSource func (c *QuickSight) CreateDataSourceRequest(input *CreateDataSourceInput) (req *request.Request, output *CreateDataSourceOutput) { @@ -608,33 +607,34 @@ func (c *QuickSight) CreateDataSourceRequest(input *CreateDataSourceInput) (req // API operation CreateDataSource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * LimitExceededException -// A limit is exceeded. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - LimitExceededException +// A limit is exceeded. // -// * ResourceExistsException -// The resource specified already exists. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ResourceExistsException +// The resource specified already exists. // -// * InternalFailureException -// An internal failure occurred. +// - ThrottlingException +// Access is throttled. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateDataSource func (c *QuickSight) CreateDataSource(input *CreateDataSourceInput) (*CreateDataSourceOutput, error) { @@ -674,14 +674,13 @@ const opCreateFolder = "CreateFolder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFolderRequest method. +// req, resp := client.CreateFolderRequest(params) // -// // Example sending a request using the CreateFolderRequest method. -// req, resp := client.CreateFolderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateFolder func (c *QuickSight) CreateFolderRequest(input *CreateFolderInput) (req *request.Request, output *CreateFolderOutput) { @@ -712,39 +711,40 @@ func (c *QuickSight) CreateFolderRequest(input *CreateFolderInput) (req *request // API operation CreateFolder for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceExistsException -// The resource specified already exists. +// - ThrottlingException +// Access is throttled. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ResourceExistsException +// The resource specified already exists. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * LimitExceededException -// A limit is exceeded. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * InternalFailureException -// An internal failure occurred. +// - LimitExceededException +// A limit is exceeded. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateFolder func (c *QuickSight) CreateFolder(input *CreateFolderInput) (*CreateFolderOutput, error) { @@ -784,14 +784,13 @@ const opCreateFolderMembership = "CreateFolderMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFolderMembershipRequest method. +// req, resp := client.CreateFolderMembershipRequest(params) // -// // Example sending a request using the CreateFolderMembershipRequest method. -// req, resp := client.CreateFolderMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateFolderMembership func (c *QuickSight) CreateFolderMembershipRequest(input *CreateFolderMembershipInput) (req *request.Request, output *CreateFolderMembershipOutput) { @@ -822,36 +821,37 @@ func (c *QuickSight) CreateFolderMembershipRequest(input *CreateFolderMembership // API operation CreateFolderMembership for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceExistsException -// The resource specified already exists. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ResourceExistsException +// The resource specified already exists. // -// * LimitExceededException -// A limit is exceeded. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - LimitExceededException +// A limit is exceeded. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateFolderMembership func (c *QuickSight) CreateFolderMembership(input *CreateFolderMembershipInput) (*CreateFolderMembershipOutput, error) { @@ -891,14 +891,13 @@ const opCreateGroup = "CreateGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGroupRequest method. +// req, resp := client.CreateGroupRequest(params) // -// // Example sending a request using the CreateGroupRequest method. -// req, resp := client.CreateGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroup func (c *QuickSight) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput) { @@ -933,36 +932,37 @@ func (c *QuickSight) CreateGroupRequest(input *CreateGroupInput) (req *request.R // API operation CreateGroup for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceExistsException -// The resource specified already exists. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceExistsException +// The resource specified already exists. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - ThrottlingException +// Access is throttled. // -// * LimitExceededException -// A limit is exceeded. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * InternalFailureException -// An internal failure occurred. +// - LimitExceededException +// A limit is exceeded. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroup func (c *QuickSight) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error) { @@ -1002,14 +1002,13 @@ const opCreateGroupMembership = "CreateGroupMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGroupMembershipRequest method. +// req, resp := client.CreateGroupMembershipRequest(params) // -// // Example sending a request using the CreateGroupMembershipRequest method. -// req, resp := client.CreateGroupMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroupMembership func (c *QuickSight) CreateGroupMembershipRequest(input *CreateGroupMembershipInput) (req *request.Request, output *CreateGroupMembershipOutput) { @@ -1040,30 +1039,31 @@ func (c *QuickSight) CreateGroupMembershipRequest(input *CreateGroupMembershipIn // API operation CreateGroupMembership for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateGroupMembership func (c *QuickSight) CreateGroupMembership(input *CreateGroupMembershipInput) (*CreateGroupMembershipOutput, error) { @@ -1103,14 +1103,13 @@ const opCreateIAMPolicyAssignment = "CreateIAMPolicyAssignment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIAMPolicyAssignmentRequest method. +// req, resp := client.CreateIAMPolicyAssignmentRequest(params) // -// // Example sending a request using the CreateIAMPolicyAssignmentRequest method. -// req, resp := client.CreateIAMPolicyAssignmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIAMPolicyAssignment func (c *QuickSight) CreateIAMPolicyAssignmentRequest(input *CreateIAMPolicyAssignmentInput) (req *request.Request, output *CreateIAMPolicyAssignmentOutput) { @@ -1145,31 +1144,32 @@ func (c *QuickSight) CreateIAMPolicyAssignmentRequest(input *CreateIAMPolicyAssi // API operation CreateIAMPolicyAssignment for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceExistsException -// The resource specified already exists. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceExistsException +// The resource specified already exists. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ConcurrentUpdatingException -// A resource is already in a state that indicates an operation is happening -// that must complete before a new update can be applied. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - ConcurrentUpdatingException +// A resource is already in a state that indicates an operation is happening +// that must complete before a new update can be applied. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIAMPolicyAssignment func (c *QuickSight) CreateIAMPolicyAssignment(input *CreateIAMPolicyAssignmentInput) (*CreateIAMPolicyAssignmentOutput, error) { @@ -1209,14 +1209,13 @@ const opCreateIngestion = "CreateIngestion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIngestionRequest method. +// req, resp := client.CreateIngestionRequest(params) // -// // Example sending a request using the CreateIngestionRequest method. -// req, resp := client.CreateIngestionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIngestion func (c *QuickSight) CreateIngestionRequest(input *CreateIngestionInput) (req *request.Request, output *CreateIngestionOutput) { @@ -1257,30 +1256,31 @@ func (c *QuickSight) CreateIngestionRequest(input *CreateIngestionInput) (req *r // API operation CreateIngestion for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * LimitExceededException -// A limit is exceeded. +// - ThrottlingException +// Access is throttled. // -// * ResourceExistsException -// The resource specified already exists. +// - LimitExceededException +// A limit is exceeded. // -// * InternalFailureException -// An internal failure occurred. +// - ResourceExistsException +// The resource specified already exists. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateIngestion func (c *QuickSight) CreateIngestion(input *CreateIngestionInput) (*CreateIngestionOutput, error) { @@ -1320,14 +1320,13 @@ const opCreateNamespace = "CreateNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNamespaceRequest method. +// req, resp := client.CreateNamespaceRequest(params) // -// // Example sending a request using the CreateNamespaceRequest method. -// req, resp := client.CreateNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateNamespace func (c *QuickSight) CreateNamespaceRequest(input *CreateNamespaceInput) (req *request.Request, output *CreateNamespaceOutput) { @@ -1368,39 +1367,40 @@ func (c *QuickSight) CreateNamespaceRequest(input *CreateNamespaceInput) (req *r // API operation CreateNamespace for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * LimitExceededException -// A limit is exceeded. +// - ThrottlingException +// Access is throttled. // -// * ResourceExistsException -// The resource specified already exists. +// - LimitExceededException +// A limit is exceeded. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - ResourceExistsException +// The resource specified already exists. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * InternalFailureException -// An internal failure occurred. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateNamespace func (c *QuickSight) CreateNamespace(input *CreateNamespaceInput) (*CreateNamespaceOutput, error) { @@ -1440,14 +1440,13 @@ const opCreateTemplate = "CreateTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTemplateRequest method. +// req, resp := client.CreateTemplateRequest(params) // -// // Example sending a request using the CreateTemplateRequest method. -// req, resp := client.CreateTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplate func (c *QuickSight) CreateTemplateRequest(input *CreateTemplateInput) (req *request.Request, output *CreateTemplateOutput) { @@ -1486,39 +1485,40 @@ func (c *QuickSight) CreateTemplateRequest(input *CreateTemplateInput) (req *req // API operation CreateTemplate for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceExistsException -// The resource specified already exists. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceExistsException +// The resource specified already exists. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * LimitExceededException -// A limit is exceeded. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - LimitExceededException +// A limit is exceeded. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplate func (c *QuickSight) CreateTemplate(input *CreateTemplateInput) (*CreateTemplateOutput, error) { @@ -1558,14 +1558,13 @@ const opCreateTemplateAlias = "CreateTemplateAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTemplateAliasRequest method. +// req, resp := client.CreateTemplateAliasRequest(params) // -// // Example sending a request using the CreateTemplateAliasRequest method. -// req, resp := client.CreateTemplateAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplateAlias func (c *QuickSight) CreateTemplateAliasRequest(input *CreateTemplateAliasInput) (req *request.Request, output *CreateTemplateAliasOutput) { @@ -1596,32 +1595,33 @@ func (c *QuickSight) CreateTemplateAliasRequest(input *CreateTemplateAliasInput) // API operation CreateTemplateAlias for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ThrottlingException +// Access is throttled. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ResourceExistsException -// The resource specified already exists. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * LimitExceededException -// A limit is exceeded. +// - ResourceExistsException +// The resource specified already exists. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - LimitExceededException +// A limit is exceeded. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTemplateAlias func (c *QuickSight) CreateTemplateAlias(input *CreateTemplateAliasInput) (*CreateTemplateAliasOutput, error) { @@ -1661,14 +1661,13 @@ const opCreateTheme = "CreateTheme" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateThemeRequest method. +// req, resp := client.CreateThemeRequest(params) // -// // Example sending a request using the CreateThemeRequest method. -// req, resp := client.CreateThemeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTheme func (c *QuickSight) CreateThemeRequest(input *CreateThemeInput) (req *request.Request, output *CreateThemeOutput) { @@ -1704,36 +1703,37 @@ func (c *QuickSight) CreateThemeRequest(input *CreateThemeInput) (req *request.R // API operation CreateTheme for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceExistsException -// The resource specified already exists. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceExistsException +// The resource specified already exists. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - ThrottlingException +// Access is throttled. // -// * LimitExceededException -// A limit is exceeded. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - LimitExceededException +// A limit is exceeded. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateTheme func (c *QuickSight) CreateTheme(input *CreateThemeInput) (*CreateThemeOutput, error) { @@ -1773,14 +1773,13 @@ const opCreateThemeAlias = "CreateThemeAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateThemeAliasRequest method. +// req, resp := client.CreateThemeAliasRequest(params) // -// // Example sending a request using the CreateThemeAliasRequest method. -// req, resp := client.CreateThemeAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateThemeAlias func (c *QuickSight) CreateThemeAliasRequest(input *CreateThemeAliasInput) (req *request.Request, output *CreateThemeAliasOutput) { @@ -1811,32 +1810,33 @@ func (c *QuickSight) CreateThemeAliasRequest(input *CreateThemeAliasInput) (req // API operation CreateThemeAlias for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * LimitExceededException -// A limit is exceeded. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceExistsException -// The resource specified already exists. +// - LimitExceededException +// A limit is exceeded. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceExistsException +// The resource specified already exists. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/CreateThemeAlias func (c *QuickSight) CreateThemeAlias(input *CreateThemeAliasInput) (*CreateThemeAliasOutput, error) { @@ -1876,14 +1876,13 @@ const opDeleteAccountCustomization = "DeleteAccountCustomization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccountCustomizationRequest method. +// req, resp := client.DeleteAccountCustomizationRequest(params) // -// // Example sending a request using the DeleteAccountCustomizationRequest method. -// req, resp := client.DeleteAccountCustomizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAccountCustomization func (c *QuickSight) DeleteAccountCustomizationRequest(input *DeleteAccountCustomizationInput) (req *request.Request, output *DeleteAccountCustomizationOutput) { @@ -1916,30 +1915,31 @@ func (c *QuickSight) DeleteAccountCustomizationRequest(input *DeleteAccountCusto // API operation DeleteAccountCustomization for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InternalFailureException -// An internal failure occurred. +// - ThrottlingException +// Access is throttled. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAccountCustomization func (c *QuickSight) DeleteAccountCustomization(input *DeleteAccountCustomizationInput) (*DeleteAccountCustomizationOutput, error) { @@ -1979,14 +1979,13 @@ const opDeleteAnalysis = "DeleteAnalysis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAnalysisRequest method. +// req, resp := client.DeleteAnalysisRequest(params) // -// // Example sending a request using the DeleteAnalysisRequest method. -// req, resp := client.DeleteAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAnalysis func (c *QuickSight) DeleteAnalysisRequest(input *DeleteAnalysisInput) (req *request.Request, output *DeleteAnalysisOutput) { @@ -2031,26 +2030,27 @@ func (c *QuickSight) DeleteAnalysisRequest(input *DeleteAnalysisInput) (req *req // API operation DeleteAnalysis for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ThrottlingException +// Access is throttled. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteAnalysis func (c *QuickSight) DeleteAnalysis(input *DeleteAnalysisInput) (*DeleteAnalysisOutput, error) { @@ -2090,14 +2090,13 @@ const opDeleteDashboard = "DeleteDashboard" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDashboardRequest method. +// req, resp := client.DeleteDashboardRequest(params) // -// // Example sending a request using the DeleteDashboardRequest method. -// req, resp := client.DeleteDashboardRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDashboard func (c *QuickSight) DeleteDashboardRequest(input *DeleteDashboardInput) (req *request.Request, output *DeleteDashboardOutput) { @@ -2128,26 +2127,27 @@ func (c *QuickSight) DeleteDashboardRequest(input *DeleteDashboardInput) (req *r // API operation DeleteDashboard for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ThrottlingException +// Access is throttled. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDashboard func (c *QuickSight) DeleteDashboard(input *DeleteDashboardInput) (*DeleteDashboardOutput, error) { @@ -2187,14 +2187,13 @@ const opDeleteDataSet = "DeleteDataSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDataSetRequest method. +// req, resp := client.DeleteDataSetRequest(params) // -// // Example sending a request using the DeleteDataSetRequest method. -// req, resp := client.DeleteDataSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSet func (c *QuickSight) DeleteDataSetRequest(input *DeleteDataSetInput) (req *request.Request, output *DeleteDataSetOutput) { @@ -2225,24 +2224,25 @@ func (c *QuickSight) DeleteDataSetRequest(input *DeleteDataSetInput) (req *reque // API operation DeleteDataSet for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ThrottlingException -// Access is throttled. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSet func (c *QuickSight) DeleteDataSet(input *DeleteDataSetInput) (*DeleteDataSetOutput, error) { @@ -2282,14 +2282,13 @@ const opDeleteDataSource = "DeleteDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDataSourceRequest method. +// req, resp := client.DeleteDataSourceRequest(params) // -// // Example sending a request using the DeleteDataSourceRequest method. -// req, resp := client.DeleteDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSource func (c *QuickSight) DeleteDataSourceRequest(input *DeleteDataSourceInput) (req *request.Request, output *DeleteDataSourceOutput) { @@ -2321,24 +2320,25 @@ func (c *QuickSight) DeleteDataSourceRequest(input *DeleteDataSourceInput) (req // API operation DeleteDataSource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ThrottlingException -// Access is throttled. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteDataSource func (c *QuickSight) DeleteDataSource(input *DeleteDataSourceInput) (*DeleteDataSourceOutput, error) { @@ -2378,14 +2378,13 @@ const opDeleteFolder = "DeleteFolder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFolderRequest method. +// req, resp := client.DeleteFolderRequest(params) // -// // Example sending a request using the DeleteFolderRequest method. -// req, resp := client.DeleteFolderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteFolder func (c *QuickSight) DeleteFolderRequest(input *DeleteFolderInput) (req *request.Request, output *DeleteFolderOutput) { @@ -2416,36 +2415,37 @@ func (c *QuickSight) DeleteFolderRequest(input *DeleteFolderInput) (req *request // API operation DeleteFolder for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteFolder func (c *QuickSight) DeleteFolder(input *DeleteFolderInput) (*DeleteFolderOutput, error) { @@ -2485,14 +2485,13 @@ const opDeleteFolderMembership = "DeleteFolderMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFolderMembershipRequest method. +// req, resp := client.DeleteFolderMembershipRequest(params) // -// // Example sending a request using the DeleteFolderMembershipRequest method. -// req, resp := client.DeleteFolderMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteFolderMembership func (c *QuickSight) DeleteFolderMembershipRequest(input *DeleteFolderMembershipInput) (req *request.Request, output *DeleteFolderMembershipOutput) { @@ -2523,30 +2522,31 @@ func (c *QuickSight) DeleteFolderMembershipRequest(input *DeleteFolderMembership // API operation DeleteFolderMembership for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteFolderMembership func (c *QuickSight) DeleteFolderMembership(input *DeleteFolderMembershipInput) (*DeleteFolderMembershipOutput, error) { @@ -2586,14 +2586,13 @@ const opDeleteGroup = "DeleteGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGroupRequest method. +// req, resp := client.DeleteGroupRequest(params) // -// // Example sending a request using the DeleteGroupRequest method. -// req, resp := client.DeleteGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroup func (c *QuickSight) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput) { @@ -2624,30 +2623,31 @@ func (c *QuickSight) DeleteGroupRequest(input *DeleteGroupInput) (req *request.R // API operation DeleteGroup for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroup func (c *QuickSight) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error) { @@ -2687,14 +2687,13 @@ const opDeleteGroupMembership = "DeleteGroupMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGroupMembershipRequest method. +// req, resp := client.DeleteGroupMembershipRequest(params) // -// // Example sending a request using the DeleteGroupMembershipRequest method. -// req, resp := client.DeleteGroupMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroupMembership func (c *QuickSight) DeleteGroupMembershipRequest(input *DeleteGroupMembershipInput) (req *request.Request, output *DeleteGroupMembershipOutput) { @@ -2726,30 +2725,31 @@ func (c *QuickSight) DeleteGroupMembershipRequest(input *DeleteGroupMembershipIn // API operation DeleteGroupMembership for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteGroupMembership func (c *QuickSight) DeleteGroupMembership(input *DeleteGroupMembershipInput) (*DeleteGroupMembershipOutput, error) { @@ -2789,14 +2789,13 @@ const opDeleteIAMPolicyAssignment = "DeleteIAMPolicyAssignment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIAMPolicyAssignmentRequest method. +// req, resp := client.DeleteIAMPolicyAssignmentRequest(params) // -// // Example sending a request using the DeleteIAMPolicyAssignmentRequest method. -// req, resp := client.DeleteIAMPolicyAssignmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteIAMPolicyAssignment func (c *QuickSight) DeleteIAMPolicyAssignmentRequest(input *DeleteIAMPolicyAssignmentInput) (req *request.Request, output *DeleteIAMPolicyAssignmentOutput) { @@ -2827,31 +2826,32 @@ func (c *QuickSight) DeleteIAMPolicyAssignmentRequest(input *DeleteIAMPolicyAssi // API operation DeleteIAMPolicyAssignment for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceExistsException -// The resource specified already exists. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceExistsException +// The resource specified already exists. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ConcurrentUpdatingException -// A resource is already in a state that indicates an operation is happening -// that must complete before a new update can be applied. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - ConcurrentUpdatingException +// A resource is already in a state that indicates an operation is happening +// that must complete before a new update can be applied. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteIAMPolicyAssignment func (c *QuickSight) DeleteIAMPolicyAssignment(input *DeleteIAMPolicyAssignmentInput) (*DeleteIAMPolicyAssignmentOutput, error) { @@ -2891,14 +2891,13 @@ const opDeleteNamespace = "DeleteNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNamespaceRequest method. +// req, resp := client.DeleteNamespaceRequest(params) // -// // Example sending a request using the DeleteNamespaceRequest method. -// req, resp := client.DeleteNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteNamespace func (c *QuickSight) DeleteNamespaceRequest(input *DeleteNamespaceInput) (req *request.Request, output *DeleteNamespaceOutput) { @@ -2932,30 +2931,31 @@ func (c *QuickSight) DeleteNamespaceRequest(input *DeleteNamespaceInput) (req *r // API operation DeleteNamespace for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteNamespace func (c *QuickSight) DeleteNamespace(input *DeleteNamespaceInput) (*DeleteNamespaceOutput, error) { @@ -2995,14 +2995,13 @@ const opDeleteTemplate = "DeleteTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTemplateRequest method. +// req, resp := client.DeleteTemplateRequest(params) // -// // Example sending a request using the DeleteTemplateRequest method. -// req, resp := client.DeleteTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplate func (c *QuickSight) DeleteTemplateRequest(input *DeleteTemplateInput) (req *request.Request, output *DeleteTemplateOutput) { @@ -3033,29 +3032,30 @@ func (c *QuickSight) DeleteTemplateRequest(input *DeleteTemplateInput) (req *req // API operation DeleteTemplate for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ThrottlingException +// Access is throttled. // -// * LimitExceededException -// A limit is exceeded. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - LimitExceededException +// A limit is exceeded. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplate func (c *QuickSight) DeleteTemplate(input *DeleteTemplateInput) (*DeleteTemplateOutput, error) { @@ -3095,14 +3095,13 @@ const opDeleteTemplateAlias = "DeleteTemplateAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTemplateAliasRequest method. +// req, resp := client.DeleteTemplateAliasRequest(params) // -// // Example sending a request using the DeleteTemplateAliasRequest method. -// req, resp := client.DeleteTemplateAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplateAlias func (c *QuickSight) DeleteTemplateAliasRequest(input *DeleteTemplateAliasInput) (req *request.Request, output *DeleteTemplateAliasOutput) { @@ -3135,23 +3134,24 @@ func (c *QuickSight) DeleteTemplateAliasRequest(input *DeleteTemplateAliasInput) // API operation DeleteTemplateAlias for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTemplateAlias func (c *QuickSight) DeleteTemplateAlias(input *DeleteTemplateAliasInput) (*DeleteTemplateAliasOutput, error) { @@ -3191,14 +3191,13 @@ const opDeleteTheme = "DeleteTheme" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteThemeRequest method. +// req, resp := client.DeleteThemeRequest(params) // -// // Example sending a request using the DeleteThemeRequest method. -// req, resp := client.DeleteThemeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTheme func (c *QuickSight) DeleteThemeRequest(input *DeleteThemeInput) (req *request.Request, output *DeleteThemeOutput) { @@ -3229,33 +3228,34 @@ func (c *QuickSight) DeleteThemeRequest(input *DeleteThemeInput) (req *request.R // API operation DeleteTheme for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteTheme func (c *QuickSight) DeleteTheme(input *DeleteThemeInput) (*DeleteThemeOutput, error) { @@ -3295,14 +3295,13 @@ const opDeleteThemeAlias = "DeleteThemeAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteThemeAliasRequest method. +// req, resp := client.DeleteThemeAliasRequest(params) // -// // Example sending a request using the DeleteThemeAliasRequest method. -// req, resp := client.DeleteThemeAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteThemeAlias func (c *QuickSight) DeleteThemeAliasRequest(input *DeleteThemeAliasInput) (req *request.Request, output *DeleteThemeAliasOutput) { @@ -3335,26 +3334,27 @@ func (c *QuickSight) DeleteThemeAliasRequest(input *DeleteThemeAliasInput) (req // API operation DeleteThemeAlias for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteThemeAlias func (c *QuickSight) DeleteThemeAlias(input *DeleteThemeAliasInput) (*DeleteThemeAliasOutput, error) { @@ -3394,14 +3394,13 @@ const opDeleteUser = "DeleteUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserRequest method. +// req, resp := client.DeleteUserRequest(params) // -// // Example sending a request using the DeleteUserRequest method. -// req, resp := client.DeleteUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUser func (c *QuickSight) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { @@ -3434,30 +3433,31 @@ func (c *QuickSight) DeleteUserRequest(input *DeleteUserInput) (req *request.Req // API operation DeleteUser for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUser func (c *QuickSight) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { @@ -3497,14 +3497,13 @@ const opDeleteUserByPrincipalId = "DeleteUserByPrincipalId" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserByPrincipalIdRequest method. +// req, resp := client.DeleteUserByPrincipalIdRequest(params) // -// // Example sending a request using the DeleteUserByPrincipalIdRequest method. -// req, resp := client.DeleteUserByPrincipalIdRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUserByPrincipalId func (c *QuickSight) DeleteUserByPrincipalIdRequest(input *DeleteUserByPrincipalIdInput) (req *request.Request, output *DeleteUserByPrincipalIdOutput) { @@ -3535,30 +3534,31 @@ func (c *QuickSight) DeleteUserByPrincipalIdRequest(input *DeleteUserByPrincipal // API operation DeleteUserByPrincipalId for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DeleteUserByPrincipalId func (c *QuickSight) DeleteUserByPrincipalId(input *DeleteUserByPrincipalIdInput) (*DeleteUserByPrincipalIdOutput, error) { @@ -3598,14 +3598,13 @@ const opDescribeAccountCustomization = "DescribeAccountCustomization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountCustomizationRequest method. +// req, resp := client.DescribeAccountCustomizationRequest(params) // -// // Example sending a request using the DescribeAccountCustomizationRequest method. -// req, resp := client.DescribeAccountCustomizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountCustomization func (c *QuickSight) DescribeAccountCustomizationRequest(input *DescribeAccountCustomizationInput) (req *request.Request, output *DescribeAccountCustomizationOutput) { @@ -3634,42 +3633,42 @@ func (c *QuickSight) DescribeAccountCustomizationRequest(input *DescribeAccountC // To determine what customizations display when you run this command, it can // help to visualize the relationship of the entities involved. // -// * Amazon Web Services account - The Amazon Web Services account exists -// at the top of the hierarchy. It has the potential to use all of the Amazon -// Web Services Regions and Amazon Web Services Services. When you subscribe -// to Amazon QuickSight, you choose one Amazon Web Services Region to use -// as your home Region. That's where your free SPICE capacity is located. -// You can use Amazon QuickSight in any supported Amazon Web Services Region. -// -// * Amazon Web Services Region - In each Amazon Web Services Region where -// you sign in to Amazon QuickSight at least once, Amazon QuickSight acts -// as a separate instance of the same service. If you have a user directory, -// it resides in us-east-1, which is the US East (N. Virginia). Generally -// speaking, these users have access to Amazon QuickSight in any Amazon Web -// Services Region, unless they are constrained to a namespace. To run the -// command in a different Amazon Web Services Region, you change your Region -// settings. If you're using the CLI, you can use one of the following options: -// Use command line options (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-options.html). -// Use named profiles (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). -// Run aws configure to change your default Amazon Web Services Region. Use -// Enter to key the same settings for your keys. For more information, see -// Configuring the CLI (https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html). -// -// * Namespace - A QuickSight namespace is a partition that contains users -// and assets (data sources, datasets, dashboards, and so on). To access -// assets that are in a specific namespace, users and groups must also be -// part of the same namespace. People who share a namespace are completely -// isolated from users and assets in other namespaces, even if they are in -// the same Amazon Web Services account and Amazon Web Services Region. -// -// * Applied customizations - Within an Amazon Web Services Region, a set -// of Amazon QuickSight customizations can apply to an Amazon Web Services -// account or to a namespace. Settings that you apply to a namespace override -// settings that you apply to an Amazon Web Services account. All settings -// are isolated to a single Amazon Web Services Region. To apply them in -// other Amazon Web Services Regions, run the CreateAccountCustomization -// command in each Amazon Web Services Region where you want to apply the -// same customizations. +// - Amazon Web Services account - The Amazon Web Services account exists +// at the top of the hierarchy. It has the potential to use all of the Amazon +// Web Services Regions and Amazon Web Services Services. When you subscribe +// to Amazon QuickSight, you choose one Amazon Web Services Region to use +// as your home Region. That's where your free SPICE capacity is located. +// You can use Amazon QuickSight in any supported Amazon Web Services Region. +// +// - Amazon Web Services Region - In each Amazon Web Services Region where +// you sign in to Amazon QuickSight at least once, Amazon QuickSight acts +// as a separate instance of the same service. If you have a user directory, +// it resides in us-east-1, which is the US East (N. Virginia). Generally +// speaking, these users have access to Amazon QuickSight in any Amazon Web +// Services Region, unless they are constrained to a namespace. To run the +// command in a different Amazon Web Services Region, you change your Region +// settings. If you're using the CLI, you can use one of the following options: +// Use command line options (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-options.html). +// Use named profiles (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html). +// Run aws configure to change your default Amazon Web Services Region. Use +// Enter to key the same settings for your keys. For more information, see +// Configuring the CLI (https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html). +// +// - Namespace - A QuickSight namespace is a partition that contains users +// and assets (data sources, datasets, dashboards, and so on). To access +// assets that are in a specific namespace, users and groups must also be +// part of the same namespace. People who share a namespace are completely +// isolated from users and assets in other namespaces, even if they are in +// the same Amazon Web Services account and Amazon Web Services Region. +// +// - Applied customizations - Within an Amazon Web Services Region, a set +// of Amazon QuickSight customizations can apply to an Amazon Web Services +// account or to a namespace. Settings that you apply to a namespace override +// settings that you apply to an Amazon Web Services account. All settings +// are isolated to a single Amazon Web Services Region. To apply them in +// other Amazon Web Services Regions, run the CreateAccountCustomization +// command in each Amazon Web Services Region where you want to apply the +// same customizations. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3679,27 +3678,28 @@ func (c *QuickSight) DescribeAccountCustomizationRequest(input *DescribeAccountC // API operation DescribeAccountCustomization for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountCustomization func (c *QuickSight) DescribeAccountCustomization(input *DescribeAccountCustomizationInput) (*DescribeAccountCustomizationOutput, error) { @@ -3739,14 +3739,13 @@ const opDescribeAccountSettings = "DescribeAccountSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountSettingsRequest method. +// req, resp := client.DescribeAccountSettingsRequest(params) // -// // Example sending a request using the DescribeAccountSettingsRequest method. -// req, resp := client.DescribeAccountSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountSettings func (c *QuickSight) DescribeAccountSettingsRequest(input *DescribeAccountSettingsInput) (req *request.Request, output *DescribeAccountSettingsOutput) { @@ -3778,27 +3777,28 @@ func (c *QuickSight) DescribeAccountSettingsRequest(input *DescribeAccountSettin // API operation DescribeAccountSettings for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAccountSettings func (c *QuickSight) DescribeAccountSettings(input *DescribeAccountSettingsInput) (*DescribeAccountSettingsOutput, error) { @@ -3838,14 +3838,13 @@ const opDescribeAnalysis = "DescribeAnalysis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAnalysisRequest method. +// req, resp := client.DescribeAnalysisRequest(params) // -// // Example sending a request using the DescribeAnalysisRequest method. -// req, resp := client.DescribeAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysis func (c *QuickSight) DescribeAnalysisRequest(input *DescribeAnalysisInput) (req *request.Request, output *DescribeAnalysisOutput) { @@ -3876,30 +3875,31 @@ func (c *QuickSight) DescribeAnalysisRequest(input *DescribeAnalysisInput) (req // API operation DescribeAnalysis for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysis func (c *QuickSight) DescribeAnalysis(input *DescribeAnalysisInput) (*DescribeAnalysisOutput, error) { @@ -3939,14 +3939,13 @@ const opDescribeAnalysisPermissions = "DescribeAnalysisPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAnalysisPermissionsRequest method. +// req, resp := client.DescribeAnalysisPermissionsRequest(params) // -// // Example sending a request using the DescribeAnalysisPermissionsRequest method. -// req, resp := client.DescribeAnalysisPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysisPermissions func (c *QuickSight) DescribeAnalysisPermissionsRequest(input *DescribeAnalysisPermissionsInput) (req *request.Request, output *DescribeAnalysisPermissionsOutput) { @@ -3977,23 +3976,24 @@ func (c *QuickSight) DescribeAnalysisPermissionsRequest(input *DescribeAnalysisP // API operation DescribeAnalysisPermissions for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeAnalysisPermissions func (c *QuickSight) DescribeAnalysisPermissions(input *DescribeAnalysisPermissionsInput) (*DescribeAnalysisPermissionsOutput, error) { @@ -4033,14 +4033,13 @@ const opDescribeDashboard = "DescribeDashboard" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDashboardRequest method. +// req, resp := client.DescribeDashboardRequest(params) // -// // Example sending a request using the DescribeDashboardRequest method. -// req, resp := client.DescribeDashboardRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboard func (c *QuickSight) DescribeDashboardRequest(input *DescribeDashboardInput) (req *request.Request, output *DescribeDashboardOutput) { @@ -4071,30 +4070,31 @@ func (c *QuickSight) DescribeDashboardRequest(input *DescribeDashboardInput) (re // API operation DescribeDashboard for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboard func (c *QuickSight) DescribeDashboard(input *DescribeDashboardInput) (*DescribeDashboardOutput, error) { @@ -4134,14 +4134,13 @@ const opDescribeDashboardPermissions = "DescribeDashboardPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDashboardPermissionsRequest method. +// req, resp := client.DescribeDashboardPermissionsRequest(params) // -// // Example sending a request using the DescribeDashboardPermissionsRequest method. -// req, resp := client.DescribeDashboardPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboardPermissions func (c *QuickSight) DescribeDashboardPermissionsRequest(input *DescribeDashboardPermissionsInput) (req *request.Request, output *DescribeDashboardPermissionsOutput) { @@ -4172,23 +4171,24 @@ func (c *QuickSight) DescribeDashboardPermissionsRequest(input *DescribeDashboar // API operation DescribeDashboardPermissions for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDashboardPermissions func (c *QuickSight) DescribeDashboardPermissions(input *DescribeDashboardPermissionsInput) (*DescribeDashboardPermissionsOutput, error) { @@ -4228,14 +4228,13 @@ const opDescribeDataSet = "DescribeDataSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDataSetRequest method. +// req, resp := client.DescribeDataSetRequest(params) // -// // Example sending a request using the DescribeDataSetRequest method. -// req, resp := client.DescribeDataSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSet func (c *QuickSight) DescribeDataSetRequest(input *DescribeDataSetInput) (req *request.Request, output *DescribeDataSetOutput) { @@ -4267,24 +4266,25 @@ func (c *QuickSight) DescribeDataSetRequest(input *DescribeDataSetInput) (req *r // API operation DescribeDataSet for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSet func (c *QuickSight) DescribeDataSet(input *DescribeDataSetInput) (*DescribeDataSetOutput, error) { @@ -4324,14 +4324,13 @@ const opDescribeDataSetPermissions = "DescribeDataSetPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDataSetPermissionsRequest method. +// req, resp := client.DescribeDataSetPermissionsRequest(params) // -// // Example sending a request using the DescribeDataSetPermissionsRequest method. -// req, resp := client.DescribeDataSetPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSetPermissions func (c *QuickSight) DescribeDataSetPermissionsRequest(input *DescribeDataSetPermissionsInput) (req *request.Request, output *DescribeDataSetPermissionsOutput) { @@ -4364,24 +4363,25 @@ func (c *QuickSight) DescribeDataSetPermissionsRequest(input *DescribeDataSetPer // API operation DescribeDataSetPermissions for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSetPermissions func (c *QuickSight) DescribeDataSetPermissions(input *DescribeDataSetPermissionsInput) (*DescribeDataSetPermissionsOutput, error) { @@ -4421,14 +4421,13 @@ const opDescribeDataSource = "DescribeDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDataSourceRequest method. +// req, resp := client.DescribeDataSourceRequest(params) // -// // Example sending a request using the DescribeDataSourceRequest method. -// req, resp := client.DescribeDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSource func (c *QuickSight) DescribeDataSourceRequest(input *DescribeDataSourceInput) (req *request.Request, output *DescribeDataSourceOutput) { @@ -4459,24 +4458,25 @@ func (c *QuickSight) DescribeDataSourceRequest(input *DescribeDataSourceInput) ( // API operation DescribeDataSource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSource func (c *QuickSight) DescribeDataSource(input *DescribeDataSourceInput) (*DescribeDataSourceOutput, error) { @@ -4516,14 +4516,13 @@ const opDescribeDataSourcePermissions = "DescribeDataSourcePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDataSourcePermissionsRequest method. +// req, resp := client.DescribeDataSourcePermissionsRequest(params) // -// // Example sending a request using the DescribeDataSourcePermissionsRequest method. -// req, resp := client.DescribeDataSourcePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSourcePermissions func (c *QuickSight) DescribeDataSourcePermissionsRequest(input *DescribeDataSourcePermissionsInput) (req *request.Request, output *DescribeDataSourcePermissionsOutput) { @@ -4554,24 +4553,25 @@ func (c *QuickSight) DescribeDataSourcePermissionsRequest(input *DescribeDataSou // API operation DescribeDataSourcePermissions for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeDataSourcePermissions func (c *QuickSight) DescribeDataSourcePermissions(input *DescribeDataSourcePermissionsInput) (*DescribeDataSourcePermissionsOutput, error) { @@ -4611,14 +4611,13 @@ const opDescribeFolder = "DescribeFolder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFolderRequest method. +// req, resp := client.DescribeFolderRequest(params) // -// // Example sending a request using the DescribeFolderRequest method. -// req, resp := client.DescribeFolderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolder func (c *QuickSight) DescribeFolderRequest(input *DescribeFolderInput) (req *request.Request, output *DescribeFolderOutput) { @@ -4649,30 +4648,31 @@ func (c *QuickSight) DescribeFolderRequest(input *DescribeFolderInput) (req *req // API operation DescribeFolder for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolder func (c *QuickSight) DescribeFolder(input *DescribeFolderInput) (*DescribeFolderOutput, error) { @@ -4712,14 +4712,13 @@ const opDescribeFolderPermissions = "DescribeFolderPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFolderPermissionsRequest method. +// req, resp := client.DescribeFolderPermissionsRequest(params) // -// // Example sending a request using the DescribeFolderPermissionsRequest method. -// req, resp := client.DescribeFolderPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolderPermissions func (c *QuickSight) DescribeFolderPermissionsRequest(input *DescribeFolderPermissionsInput) (req *request.Request, output *DescribeFolderPermissionsOutput) { @@ -4750,30 +4749,31 @@ func (c *QuickSight) DescribeFolderPermissionsRequest(input *DescribeFolderPermi // API operation DescribeFolderPermissions for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolderPermissions func (c *QuickSight) DescribeFolderPermissions(input *DescribeFolderPermissionsInput) (*DescribeFolderPermissionsOutput, error) { @@ -4813,14 +4813,13 @@ const opDescribeFolderResolvedPermissions = "DescribeFolderResolvedPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFolderResolvedPermissionsRequest method. +// req, resp := client.DescribeFolderResolvedPermissionsRequest(params) // -// // Example sending a request using the DescribeFolderResolvedPermissionsRequest method. -// req, resp := client.DescribeFolderResolvedPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolderResolvedPermissions func (c *QuickSight) DescribeFolderResolvedPermissionsRequest(input *DescribeFolderResolvedPermissionsInput) (req *request.Request, output *DescribeFolderResolvedPermissionsOutput) { @@ -4852,30 +4851,31 @@ func (c *QuickSight) DescribeFolderResolvedPermissionsRequest(input *DescribeFol // API operation DescribeFolderResolvedPermissions for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeFolderResolvedPermissions func (c *QuickSight) DescribeFolderResolvedPermissions(input *DescribeFolderResolvedPermissionsInput) (*DescribeFolderResolvedPermissionsOutput, error) { @@ -4915,14 +4915,13 @@ const opDescribeGroup = "DescribeGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGroupRequest method. +// req, resp := client.DescribeGroupRequest(params) // -// // Example sending a request using the DescribeGroupRequest method. -// req, resp := client.DescribeGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroup func (c *QuickSight) DescribeGroupRequest(input *DescribeGroupInput) (req *request.Request, output *DescribeGroupOutput) { @@ -4954,30 +4953,31 @@ func (c *QuickSight) DescribeGroupRequest(input *DescribeGroupInput) (req *reque // API operation DescribeGroup for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroup func (c *QuickSight) DescribeGroup(input *DescribeGroupInput) (*DescribeGroupOutput, error) { @@ -5017,14 +5017,13 @@ const opDescribeGroupMembership = "DescribeGroupMembership" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGroupMembershipRequest method. +// req, resp := client.DescribeGroupMembershipRequest(params) // -// // Example sending a request using the DescribeGroupMembershipRequest method. -// req, resp := client.DescribeGroupMembershipRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroupMembership func (c *QuickSight) DescribeGroupMembershipRequest(input *DescribeGroupMembershipInput) (req *request.Request, output *DescribeGroupMembershipOutput) { @@ -5057,30 +5056,31 @@ func (c *QuickSight) DescribeGroupMembershipRequest(input *DescribeGroupMembersh // API operation DescribeGroupMembership for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeGroupMembership func (c *QuickSight) DescribeGroupMembership(input *DescribeGroupMembershipInput) (*DescribeGroupMembershipOutput, error) { @@ -5120,14 +5120,13 @@ const opDescribeIAMPolicyAssignment = "DescribeIAMPolicyAssignment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIAMPolicyAssignmentRequest method. +// req, resp := client.DescribeIAMPolicyAssignmentRequest(params) // -// // Example sending a request using the DescribeIAMPolicyAssignmentRequest method. -// req, resp := client.DescribeIAMPolicyAssignmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIAMPolicyAssignment func (c *QuickSight) DescribeIAMPolicyAssignmentRequest(input *DescribeIAMPolicyAssignmentInput) (req *request.Request, output *DescribeIAMPolicyAssignmentOutput) { @@ -5159,27 +5158,28 @@ func (c *QuickSight) DescribeIAMPolicyAssignmentRequest(input *DescribeIAMPolicy // API operation DescribeIAMPolicyAssignment for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIAMPolicyAssignment func (c *QuickSight) DescribeIAMPolicyAssignment(input *DescribeIAMPolicyAssignmentInput) (*DescribeIAMPolicyAssignmentOutput, error) { @@ -5219,14 +5219,13 @@ const opDescribeIngestion = "DescribeIngestion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIngestionRequest method. +// req, resp := client.DescribeIngestionRequest(params) // -// // Example sending a request using the DescribeIngestionRequest method. -// req, resp := client.DescribeIngestionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIngestion func (c *QuickSight) DescribeIngestionRequest(input *DescribeIngestionInput) (req *request.Request, output *DescribeIngestionOutput) { @@ -5257,27 +5256,28 @@ func (c *QuickSight) DescribeIngestionRequest(input *DescribeIngestionInput) (re // API operation DescribeIngestion for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * ResourceExistsException -// The resource specified already exists. +// - ResourceExistsException +// The resource specified already exists. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIngestion func (c *QuickSight) DescribeIngestion(input *DescribeIngestionInput) (*DescribeIngestionOutput, error) { @@ -5317,14 +5317,13 @@ const opDescribeIpRestriction = "DescribeIpRestriction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIpRestrictionRequest method. +// req, resp := client.DescribeIpRestrictionRequest(params) // -// // Example sending a request using the DescribeIpRestrictionRequest method. -// req, resp := client.DescribeIpRestrictionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIpRestriction func (c *QuickSight) DescribeIpRestrictionRequest(input *DescribeIpRestrictionInput) (req *request.Request, output *DescribeIpRestrictionOutput) { @@ -5355,24 +5354,25 @@ func (c *QuickSight) DescribeIpRestrictionRequest(input *DescribeIpRestrictionIn // API operation DescribeIpRestriction for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeIpRestriction func (c *QuickSight) DescribeIpRestriction(input *DescribeIpRestrictionInput) (*DescribeIpRestrictionOutput, error) { @@ -5412,14 +5412,13 @@ const opDescribeNamespace = "DescribeNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNamespaceRequest method. +// req, resp := client.DescribeNamespaceRequest(params) // -// // Example sending a request using the DescribeNamespaceRequest method. -// req, resp := client.DescribeNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeNamespace func (c *QuickSight) DescribeNamespaceRequest(input *DescribeNamespaceInput) (req *request.Request, output *DescribeNamespaceOutput) { @@ -5450,27 +5449,28 @@ func (c *QuickSight) DescribeNamespaceRequest(input *DescribeNamespaceInput) (re // API operation DescribeNamespace for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeNamespace func (c *QuickSight) DescribeNamespace(input *DescribeNamespaceInput) (*DescribeNamespaceOutput, error) { @@ -5510,14 +5510,13 @@ const opDescribeTemplate = "DescribeTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTemplateRequest method. +// req, resp := client.DescribeTemplateRequest(params) // -// // Example sending a request using the DescribeTemplateRequest method. -// req, resp := client.DescribeTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplate func (c *QuickSight) DescribeTemplateRequest(input *DescribeTemplateInput) (req *request.Request, output *DescribeTemplateOutput) { @@ -5548,36 +5547,37 @@ func (c *QuickSight) DescribeTemplateRequest(input *DescribeTemplateInput) (req // API operation DescribeTemplate for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceExistsException -// The resource specified already exists. +// - ResourceExistsException +// The resource specified already exists. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplate func (c *QuickSight) DescribeTemplate(input *DescribeTemplateInput) (*DescribeTemplateOutput, error) { @@ -5617,14 +5617,13 @@ const opDescribeTemplateAlias = "DescribeTemplateAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTemplateAliasRequest method. +// req, resp := client.DescribeTemplateAliasRequest(params) // -// // Example sending a request using the DescribeTemplateAliasRequest method. -// req, resp := client.DescribeTemplateAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplateAlias func (c *QuickSight) DescribeTemplateAliasRequest(input *DescribeTemplateAliasInput) (req *request.Request, output *DescribeTemplateAliasOutput) { @@ -5655,20 +5654,21 @@ func (c *QuickSight) DescribeTemplateAliasRequest(input *DescribeTemplateAliasIn // API operation DescribeTemplateAlias for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ThrottlingException +// Access is throttled. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplateAlias func (c *QuickSight) DescribeTemplateAlias(input *DescribeTemplateAliasInput) (*DescribeTemplateAliasOutput, error) { @@ -5708,14 +5708,13 @@ const opDescribeTemplatePermissions = "DescribeTemplatePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTemplatePermissionsRequest method. +// req, resp := client.DescribeTemplatePermissionsRequest(params) // -// // Example sending a request using the DescribeTemplatePermissionsRequest method. -// req, resp := client.DescribeTemplatePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplatePermissions func (c *QuickSight) DescribeTemplatePermissionsRequest(input *DescribeTemplatePermissionsInput) (req *request.Request, output *DescribeTemplatePermissionsOutput) { @@ -5746,26 +5745,27 @@ func (c *QuickSight) DescribeTemplatePermissionsRequest(input *DescribeTemplateP // API operation DescribeTemplatePermissions for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ThrottlingException +// Access is throttled. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTemplatePermissions func (c *QuickSight) DescribeTemplatePermissions(input *DescribeTemplatePermissionsInput) (*DescribeTemplatePermissionsOutput, error) { @@ -5805,14 +5805,13 @@ const opDescribeTheme = "DescribeTheme" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeThemeRequest method. +// req, resp := client.DescribeThemeRequest(params) // -// // Example sending a request using the DescribeThemeRequest method. -// req, resp := client.DescribeThemeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTheme func (c *QuickSight) DescribeThemeRequest(input *DescribeThemeInput) (req *request.Request, output *DescribeThemeOutput) { @@ -5843,33 +5842,34 @@ func (c *QuickSight) DescribeThemeRequest(input *DescribeThemeInput) (req *reque // API operation DescribeTheme for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceExistsException -// The resource specified already exists. +// - ResourceExistsException +// The resource specified already exists. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeTheme func (c *QuickSight) DescribeTheme(input *DescribeThemeInput) (*DescribeThemeOutput, error) { @@ -5909,14 +5909,13 @@ const opDescribeThemeAlias = "DescribeThemeAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeThemeAliasRequest method. +// req, resp := client.DescribeThemeAliasRequest(params) // -// // Example sending a request using the DescribeThemeAliasRequest method. -// req, resp := client.DescribeThemeAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemeAlias func (c *QuickSight) DescribeThemeAliasRequest(input *DescribeThemeAliasInput) (req *request.Request, output *DescribeThemeAliasOutput) { @@ -5947,26 +5946,27 @@ func (c *QuickSight) DescribeThemeAliasRequest(input *DescribeThemeAliasInput) ( // API operation DescribeThemeAlias for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemeAlias func (c *QuickSight) DescribeThemeAlias(input *DescribeThemeAliasInput) (*DescribeThemeAliasOutput, error) { @@ -6006,14 +6006,13 @@ const opDescribeThemePermissions = "DescribeThemePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeThemePermissionsRequest method. +// req, resp := client.DescribeThemePermissionsRequest(params) // -// // Example sending a request using the DescribeThemePermissionsRequest method. -// req, resp := client.DescribeThemePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemePermissions func (c *QuickSight) DescribeThemePermissionsRequest(input *DescribeThemePermissionsInput) (req *request.Request, output *DescribeThemePermissionsOutput) { @@ -6044,30 +6043,31 @@ func (c *QuickSight) DescribeThemePermissionsRequest(input *DescribeThemePermiss // API operation DescribeThemePermissions for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeThemePermissions func (c *QuickSight) DescribeThemePermissions(input *DescribeThemePermissionsInput) (*DescribeThemePermissionsOutput, error) { @@ -6107,14 +6107,13 @@ const opDescribeUser = "DescribeUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserRequest method. +// req, resp := client.DescribeUserRequest(params) // -// // Example sending a request using the DescribeUserRequest method. -// req, resp := client.DescribeUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeUser func (c *QuickSight) DescribeUserRequest(input *DescribeUserInput) (req *request.Request, output *DescribeUserOutput) { @@ -6145,30 +6144,31 @@ func (c *QuickSight) DescribeUserRequest(input *DescribeUserInput) (req *request // API operation DescribeUser for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DescribeUser func (c *QuickSight) DescribeUser(input *DescribeUserInput) (*DescribeUserOutput, error) { @@ -6208,14 +6208,13 @@ const opGenerateEmbedUrlForAnonymousUser = "GenerateEmbedUrlForAnonymousUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateEmbedUrlForAnonymousUserRequest method. +// req, resp := client.GenerateEmbedUrlForAnonymousUserRequest(params) // -// // Example sending a request using the GenerateEmbedUrlForAnonymousUserRequest method. -// req, resp := client.GenerateEmbedUrlForAnonymousUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GenerateEmbedUrlForAnonymousUser func (c *QuickSight) GenerateEmbedUrlForAnonymousUserRequest(input *GenerateEmbedUrlForAnonymousUserInput) (req *request.Request, output *GenerateEmbedUrlForAnonymousUserOutput) { @@ -6242,17 +6241,17 @@ func (c *QuickSight) GenerateEmbedUrlForAnonymousUserRequest(input *GenerateEmbe // // The following rules apply to the generated URL: // -// * It contains a temporary bearer token. It is valid for 5 minutes after -// it is generated. Once redeemed within this period, it cannot be re-used -// again. +// - It contains a temporary bearer token. It is valid for 5 minutes after +// it is generated. Once redeemed within this period, it cannot be re-used +// again. // -// * The URL validity period should not be confused with the actual session -// lifetime that can be customized using the SessionLifetimeInMinutes (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForAnonymousUser.html#QS-GenerateEmbedUrlForAnonymousUser-request-SessionLifetimeInMinutes) -// parameter. The resulting user session is valid for 15 minutes (minimum) -// to 10 hours (maximum). The default session duration is 10 hours. +// - The URL validity period should not be confused with the actual session +// lifetime that can be customized using the SessionLifetimeInMinutes (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForAnonymousUser.html#QS-GenerateEmbedUrlForAnonymousUser-request-SessionLifetimeInMinutes) +// parameter. The resulting user session is valid for 15 minutes (minimum) +// to 10 hours (maximum). The default session duration is 10 hours. // -// * You are charged only when the URL is used or there is interaction with -// Amazon QuickSight. +// - You are charged only when the URL is used or there is interaction with +// Amazon QuickSight. // // For more information, see Embedded Analytics (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html) // in the Amazon QuickSight User Guide. @@ -6269,44 +6268,45 @@ func (c *QuickSight) GenerateEmbedUrlForAnonymousUserRequest(input *GenerateEmbe // API operation GenerateEmbedUrlForAnonymousUser for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * SessionLifetimeInMinutesInvalidException -// The number of minutes specified for the lifetime of a session isn't valid. -// The session lifetime must be 15-600 minutes. +// - SessionLifetimeInMinutesInvalidException +// The number of minutes specified for the lifetime of a session isn't valid. +// The session lifetime must be 15-600 minutes. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * UnsupportedPricingPlanException -// This error indicates that you are calling an embedding operation in Amazon -// QuickSight without the required pricing plan on your Amazon Web Services -// account. Before you can use embedding for anonymous users, a QuickSight administrator -// needs to add capacity pricing to Amazon QuickSight. You can do this on the -// Manage Amazon QuickSight page. +// - UnsupportedPricingPlanException +// This error indicates that you are calling an embedding operation in Amazon +// QuickSight without the required pricing plan on your Amazon Web Services +// account. Before you can use embedding for anonymous users, a QuickSight administrator +// needs to add capacity pricing to Amazon QuickSight. You can do this on the +// Manage Amazon QuickSight page. // -// After capacity pricing is added, you can use the GetDashboardEmbedUrl (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GetDashboardEmbedUrl.html) -// API operation with the --identity-type ANONYMOUS option. +// After capacity pricing is added, you can use the GetDashboardEmbedUrl (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GetDashboardEmbedUrl.html) +// API operation with the --identity-type ANONYMOUS option. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GenerateEmbedUrlForAnonymousUser func (c *QuickSight) GenerateEmbedUrlForAnonymousUser(input *GenerateEmbedUrlForAnonymousUserInput) (*GenerateEmbedUrlForAnonymousUserOutput, error) { @@ -6346,14 +6346,13 @@ const opGenerateEmbedUrlForRegisteredUser = "GenerateEmbedUrlForRegisteredUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateEmbedUrlForRegisteredUserRequest method. +// req, resp := client.GenerateEmbedUrlForRegisteredUserRequest(params) // -// // Example sending a request using the GenerateEmbedUrlForRegisteredUserRequest method. -// req, resp := client.GenerateEmbedUrlForRegisteredUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GenerateEmbedUrlForRegisteredUser func (c *QuickSight) GenerateEmbedUrlForRegisteredUserRequest(input *GenerateEmbedUrlForRegisteredUserInput) (req *request.Request, output *GenerateEmbedUrlForRegisteredUserOutput) { @@ -6381,17 +6380,17 @@ func (c *QuickSight) GenerateEmbedUrlForRegisteredUserRequest(input *GenerateEmb // // The following rules apply to the generated URL: // -// * It contains a temporary bearer token. It is valid for 5 minutes after -// it is generated. Once redeemed within this period, it cannot be re-used -// again. +// - It contains a temporary bearer token. It is valid for 5 minutes after +// it is generated. Once redeemed within this period, it cannot be re-used +// again. // -// * The URL validity period should not be confused with the actual session -// lifetime that can be customized using the SessionLifetimeInMinutes (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForRegisteredUser.html#QS-GenerateEmbedUrlForRegisteredUser-request-SessionLifetimeInMinutes) -// parameter. The resulting user session is valid for 15 minutes (minimum) -// to 10 hours (maximum). The default session duration is 10 hours. +// - The URL validity period should not be confused with the actual session +// lifetime that can be customized using the SessionLifetimeInMinutes (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GenerateEmbedUrlForRegisteredUser.html#QS-GenerateEmbedUrlForRegisteredUser-request-SessionLifetimeInMinutes) +// parameter. The resulting user session is valid for 15 minutes (minimum) +// to 10 hours (maximum). The default session duration is 10 hours. // -// * You are charged only when the URL is used or there is interaction with -// Amazon QuickSight. +// - You are charged only when the URL is used or there is interaction with +// Amazon QuickSight. // // For more information, see Embedded Analytics (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html) // in the Amazon QuickSight User Guide. @@ -6408,49 +6407,50 @@ func (c *QuickSight) GenerateEmbedUrlForRegisteredUserRequest(input *GenerateEmb // API operation GenerateEmbedUrlForRegisteredUser for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. -// -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. -// -// * UserNotFoundException -// The user with the provided name isn't found. This error can happen in any -// operation that requires finding a user based on a provided user name, such -// as DeleteUser, DescribeUser, and so on. -// -// * ResourceNotFoundException -// One or more resources can't be found. -// -// * SessionLifetimeInMinutesInvalidException -// The number of minutes specified for the lifetime of a session isn't valid. -// The session lifetime must be 15-600 minutes. -// -// * ThrottlingException -// Access is throttled. -// -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. -// -// * UnsupportedPricingPlanException -// This error indicates that you are calling an embedding operation in Amazon -// QuickSight without the required pricing plan on your Amazon Web Services -// account. Before you can use embedding for anonymous users, a QuickSight administrator -// needs to add capacity pricing to Amazon QuickSight. You can do this on the -// Manage Amazon QuickSight page. -// -// After capacity pricing is added, you can use the GetDashboardEmbedUrl (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GetDashboardEmbedUrl.html) -// API operation with the --identity-type ANONYMOUS option. -// -// * InternalFailureException -// An internal failure occurred. +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - UserNotFoundException +// The user with the provided name isn't found. This error can happen in any +// operation that requires finding a user based on a provided user name, such +// as DeleteUser, DescribeUser, and so on. +// +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - SessionLifetimeInMinutesInvalidException +// The number of minutes specified for the lifetime of a session isn't valid. +// The session lifetime must be 15-600 minutes. +// +// - ThrottlingException +// Access is throttled. +// +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - UnsupportedPricingPlanException +// This error indicates that you are calling an embedding operation in Amazon +// QuickSight without the required pricing plan on your Amazon Web Services +// account. Before you can use embedding for anonymous users, a QuickSight administrator +// needs to add capacity pricing to Amazon QuickSight. You can do this on the +// Manage Amazon QuickSight page. +// +// After capacity pricing is added, you can use the GetDashboardEmbedUrl (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GetDashboardEmbedUrl.html) +// API operation with the --identity-type ANONYMOUS option. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GenerateEmbedUrlForRegisteredUser func (c *QuickSight) GenerateEmbedUrlForRegisteredUser(input *GenerateEmbedUrlForRegisteredUserInput) (*GenerateEmbedUrlForRegisteredUserOutput, error) { @@ -6490,14 +6490,13 @@ const opGetDashboardEmbedUrl = "GetDashboardEmbedUrl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDashboardEmbedUrlRequest method. +// req, resp := client.GetDashboardEmbedUrlRequest(params) // -// // Example sending a request using the GetDashboardEmbedUrlRequest method. -// req, resp := client.GetDashboardEmbedUrlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetDashboardEmbedUrl func (c *QuickSight) GetDashboardEmbedUrlRequest(input *GetDashboardEmbedUrlInput) (req *request.Request, output *GetDashboardEmbedUrlOutput) { @@ -6527,13 +6526,13 @@ func (c *QuickSight) GetDashboardEmbedUrlRequest(input *GetDashboardEmbedUrlInpu // the user's browser. The following rules apply to the combination of URL and // authorization code: // -// * They must be used together. +// - They must be used together. // -// * They can be used one time only. +// - They can be used one time only. // -// * They are valid for 5 minutes after you run this command. +// - They are valid for 5 minutes after you run this command. // -// * The resulting user session is valid for 10 hours. +// - The resulting user session is valid for 10 hours. // // For more information, see Embedding Analytics Using GetDashboardEmbedUrl // (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics-deprecated.html) @@ -6551,60 +6550,61 @@ func (c *QuickSight) GetDashboardEmbedUrlRequest(input *GetDashboardEmbedUrlInpu // API operation GetDashboardEmbedUrl for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceExistsException -// The resource specified already exists. +// - ResourceExistsException +// The resource specified already exists. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * DomainNotWhitelistedException -// The domain specified isn't on the allow list. All domains for embedded dashboards -// must be added to the approved list by an Amazon QuickSight admin. +// - DomainNotWhitelistedException +// The domain specified isn't on the allow list. All domains for embedded dashboards +// must be added to the approved list by an Amazon QuickSight admin. // -// * UserNotFoundException -// The user with the provided name isn't found. This error can happen in any -// operation that requires finding a user based on a provided user name, such -// as DeleteUser, DescribeUser, and so on. +// - UserNotFoundException +// The user with the provided name isn't found. This error can happen in any +// operation that requires finding a user based on a provided user name, such +// as DeleteUser, DescribeUser, and so on. // -// * IdentityTypeNotSupportedException -// The identity type specified isn't supported. Supported identity types include -// IAM and QUICKSIGHT. +// - IdentityTypeNotSupportedException +// The identity type specified isn't supported. Supported identity types include +// IAM and QUICKSIGHT. // -// * SessionLifetimeInMinutesInvalidException -// The number of minutes specified for the lifetime of a session isn't valid. -// The session lifetime must be 15-600 minutes. +// - SessionLifetimeInMinutesInvalidException +// The number of minutes specified for the lifetime of a session isn't valid. +// The session lifetime must be 15-600 minutes. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * UnsupportedPricingPlanException -// This error indicates that you are calling an embedding operation in Amazon -// QuickSight without the required pricing plan on your Amazon Web Services -// account. Before you can use embedding for anonymous users, a QuickSight administrator -// needs to add capacity pricing to Amazon QuickSight. You can do this on the -// Manage Amazon QuickSight page. +// - UnsupportedPricingPlanException +// This error indicates that you are calling an embedding operation in Amazon +// QuickSight without the required pricing plan on your Amazon Web Services +// account. Before you can use embedding for anonymous users, a QuickSight administrator +// needs to add capacity pricing to Amazon QuickSight. You can do this on the +// Manage Amazon QuickSight page. // -// After capacity pricing is added, you can use the GetDashboardEmbedUrl (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GetDashboardEmbedUrl.html) -// API operation with the --identity-type ANONYMOUS option. +// After capacity pricing is added, you can use the GetDashboardEmbedUrl (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GetDashboardEmbedUrl.html) +// API operation with the --identity-type ANONYMOUS option. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetDashboardEmbedUrl func (c *QuickSight) GetDashboardEmbedUrl(input *GetDashboardEmbedUrlInput) (*GetDashboardEmbedUrlOutput, error) { @@ -6644,14 +6644,13 @@ const opGetSessionEmbedUrl = "GetSessionEmbedUrl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSessionEmbedUrlRequest method. +// req, resp := client.GetSessionEmbedUrlRequest(params) // -// // Example sending a request using the GetSessionEmbedUrlRequest method. -// req, resp := client.GetSessionEmbedUrlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetSessionEmbedUrl func (c *QuickSight) GetSessionEmbedUrlRequest(input *GetSessionEmbedUrlInput) (req *request.Request, output *GetSessionEmbedUrlOutput) { @@ -6684,9 +6683,9 @@ func (c *QuickSight) GetSessionEmbedUrlRequest(input *GetSessionEmbedUrlInput) ( // For more information, see the following sections in the Amazon QuickSight // User Guide: // -// * Embedding Analytics (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html) +// - Embedding Analytics (https://docs.aws.amazon.com/quicksight/latest/user/embedded-analytics.html) // -// * Customizing Access to the Amazon QuickSight Console (https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html) +// - Customizing Access to the Amazon QuickSight Console (https://docs.aws.amazon.com/quicksight/latest/user/customizing-permissions-to-the-quicksight-console.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6696,42 +6695,43 @@ func (c *QuickSight) GetSessionEmbedUrlRequest(input *GetSessionEmbedUrlInput) ( // API operation GetSessionEmbedUrl for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceExistsException -// The resource specified already exists. +// - ResourceExistsException +// The resource specified already exists. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UserNotFoundException -// The user with the provided name isn't found. This error can happen in any -// operation that requires finding a user based on a provided user name, such -// as DeleteUser, DescribeUser, and so on. +// - UserNotFoundException +// The user with the provided name isn't found. This error can happen in any +// operation that requires finding a user based on a provided user name, such +// as DeleteUser, DescribeUser, and so on. // -// * SessionLifetimeInMinutesInvalidException -// The number of minutes specified for the lifetime of a session isn't valid. -// The session lifetime must be 15-600 minutes. +// - SessionLifetimeInMinutesInvalidException +// The number of minutes specified for the lifetime of a session isn't valid. +// The session lifetime must be 15-600 minutes. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/GetSessionEmbedUrl func (c *QuickSight) GetSessionEmbedUrl(input *GetSessionEmbedUrlInput) (*GetSessionEmbedUrlOutput, error) { @@ -6771,14 +6771,13 @@ const opListAnalyses = "ListAnalyses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAnalysesRequest method. +// req, resp := client.ListAnalysesRequest(params) // -// // Example sending a request using the ListAnalysesRequest method. -// req, resp := client.ListAnalysesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListAnalyses func (c *QuickSight) ListAnalysesRequest(input *ListAnalysesInput) (req *request.Request, output *ListAnalysesOutput) { @@ -6816,20 +6815,21 @@ func (c *QuickSight) ListAnalysesRequest(input *ListAnalysesInput) (req *request // API operation ListAnalyses for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - ThrottlingException +// Access is throttled. +// +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListAnalyses func (c *QuickSight) ListAnalyses(input *ListAnalysesInput) (*ListAnalysesOutput, error) { @@ -6861,15 +6861,14 @@ func (c *QuickSight) ListAnalysesWithContext(ctx aws.Context, input *ListAnalyse // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAnalyses operation. -// pageNum := 0 -// err := client.ListAnalysesPages(params, -// func(page *quicksight.ListAnalysesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAnalyses operation. +// pageNum := 0 +// err := client.ListAnalysesPages(params, +// func(page *quicksight.ListAnalysesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QuickSight) ListAnalysesPages(input *ListAnalysesInput, fn func(*ListAnalysesOutput, bool) bool) error { return c.ListAnalysesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6921,14 +6920,13 @@ const opListDashboardVersions = "ListDashboardVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDashboardVersionsRequest method. +// req, resp := client.ListDashboardVersionsRequest(params) // -// // Example sending a request using the ListDashboardVersionsRequest method. -// req, resp := client.ListDashboardVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboardVersions func (c *QuickSight) ListDashboardVersionsRequest(input *ListDashboardVersionsInput) (req *request.Request, output *ListDashboardVersionsOutput) { @@ -6965,26 +6963,27 @@ func (c *QuickSight) ListDashboardVersionsRequest(input *ListDashboardVersionsIn // API operation ListDashboardVersions for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboardVersions func (c *QuickSight) ListDashboardVersions(input *ListDashboardVersionsInput) (*ListDashboardVersionsOutput, error) { @@ -7016,15 +7015,14 @@ func (c *QuickSight) ListDashboardVersionsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDashboardVersions operation. -// pageNum := 0 -// err := client.ListDashboardVersionsPages(params, -// func(page *quicksight.ListDashboardVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDashboardVersions operation. +// pageNum := 0 +// err := client.ListDashboardVersionsPages(params, +// func(page *quicksight.ListDashboardVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QuickSight) ListDashboardVersionsPages(input *ListDashboardVersionsInput, fn func(*ListDashboardVersionsOutput, bool) bool) error { return c.ListDashboardVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7076,14 +7074,13 @@ const opListDashboards = "ListDashboards" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDashboardsRequest method. +// req, resp := client.ListDashboardsRequest(params) // -// // Example sending a request using the ListDashboardsRequest method. -// req, resp := client.ListDashboardsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboards func (c *QuickSight) ListDashboardsRequest(input *ListDashboardsInput) (req *request.Request, output *ListDashboardsOutput) { @@ -7120,20 +7117,21 @@ func (c *QuickSight) ListDashboardsRequest(input *ListDashboardsInput) (req *req // API operation ListDashboards for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - ThrottlingException +// Access is throttled. +// +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDashboards func (c *QuickSight) ListDashboards(input *ListDashboardsInput) (*ListDashboardsOutput, error) { @@ -7165,15 +7163,14 @@ func (c *QuickSight) ListDashboardsWithContext(ctx aws.Context, input *ListDashb // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDashboards operation. -// pageNum := 0 -// err := client.ListDashboardsPages(params, -// func(page *quicksight.ListDashboardsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDashboards operation. +// pageNum := 0 +// err := client.ListDashboardsPages(params, +// func(page *quicksight.ListDashboardsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QuickSight) ListDashboardsPages(input *ListDashboardsInput, fn func(*ListDashboardsOutput, bool) bool) error { return c.ListDashboardsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7225,14 +7222,13 @@ const opListDataSets = "ListDataSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDataSetsRequest method. +// req, resp := client.ListDataSetsRequest(params) // -// // Example sending a request using the ListDataSetsRequest method. -// req, resp := client.ListDataSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSets func (c *QuickSight) ListDataSetsRequest(input *ListDataSetsInput) (req *request.Request, output *ListDataSetsOutput) { @@ -7272,24 +7268,25 @@ func (c *QuickSight) ListDataSetsRequest(input *ListDataSetsInput) (req *request // API operation ListDataSets for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ThrottlingException -// Access is throttled. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - InvalidNextTokenException +// The NextToken value isn't valid. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSets func (c *QuickSight) ListDataSets(input *ListDataSetsInput) (*ListDataSetsOutput, error) { @@ -7321,15 +7318,14 @@ func (c *QuickSight) ListDataSetsWithContext(ctx aws.Context, input *ListDataSet // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDataSets operation. -// pageNum := 0 -// err := client.ListDataSetsPages(params, -// func(page *quicksight.ListDataSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDataSets operation. +// pageNum := 0 +// err := client.ListDataSetsPages(params, +// func(page *quicksight.ListDataSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QuickSight) ListDataSetsPages(input *ListDataSetsInput, fn func(*ListDataSetsOutput, bool) bool) error { return c.ListDataSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7381,14 +7377,13 @@ const opListDataSources = "ListDataSources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDataSourcesRequest method. +// req, resp := client.ListDataSourcesRequest(params) // -// // Example sending a request using the ListDataSourcesRequest method. -// req, resp := client.ListDataSourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSources func (c *QuickSight) ListDataSourcesRequest(input *ListDataSourcesInput) (req *request.Request, output *ListDataSourcesOutput) { @@ -7426,24 +7421,25 @@ func (c *QuickSight) ListDataSourcesRequest(input *ListDataSourcesInput) (req *r // API operation ListDataSources for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListDataSources func (c *QuickSight) ListDataSources(input *ListDataSourcesInput) (*ListDataSourcesOutput, error) { @@ -7475,15 +7471,14 @@ func (c *QuickSight) ListDataSourcesWithContext(ctx aws.Context, input *ListData // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDataSources operation. -// pageNum := 0 -// err := client.ListDataSourcesPages(params, -// func(page *quicksight.ListDataSourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDataSources operation. +// pageNum := 0 +// err := client.ListDataSourcesPages(params, +// func(page *quicksight.ListDataSourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QuickSight) ListDataSourcesPages(input *ListDataSourcesInput, fn func(*ListDataSourcesOutput, bool) bool) error { return c.ListDataSourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7535,14 +7530,13 @@ const opListFolderMembers = "ListFolderMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFolderMembersRequest method. +// req, resp := client.ListFolderMembersRequest(params) // -// // Example sending a request using the ListFolderMembersRequest method. -// req, resp := client.ListFolderMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFolderMembers func (c *QuickSight) ListFolderMembersRequest(input *ListFolderMembersInput) (req *request.Request, output *ListFolderMembersOutput) { @@ -7573,33 +7567,34 @@ func (c *QuickSight) ListFolderMembersRequest(input *ListFolderMembersInput) (re // API operation ListFolderMembers for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFolderMembers func (c *QuickSight) ListFolderMembers(input *ListFolderMembersInput) (*ListFolderMembersOutput, error) { @@ -7639,14 +7634,13 @@ const opListFolders = "ListFolders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFoldersRequest method. +// req, resp := client.ListFoldersRequest(params) // -// // Example sending a request using the ListFoldersRequest method. -// req, resp := client.ListFoldersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFolders func (c *QuickSight) ListFoldersRequest(input *ListFoldersInput) (req *request.Request, output *ListFoldersOutput) { @@ -7677,33 +7671,34 @@ func (c *QuickSight) ListFoldersRequest(input *ListFoldersInput) (req *request.R // API operation ListFolders for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFolders func (c *QuickSight) ListFolders(input *ListFoldersInput) (*ListFoldersOutput, error) { @@ -7743,14 +7738,13 @@ const opListGroupMemberships = "ListGroupMemberships" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroupMembershipsRequest method. +// req, resp := client.ListGroupMembershipsRequest(params) // -// // Example sending a request using the ListGroupMembershipsRequest method. -// req, resp := client.ListGroupMembershipsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroupMemberships func (c *QuickSight) ListGroupMembershipsRequest(input *ListGroupMembershipsInput) (req *request.Request, output *ListGroupMembershipsOutput) { @@ -7781,33 +7775,34 @@ func (c *QuickSight) ListGroupMembershipsRequest(input *ListGroupMembershipsInpu // API operation ListGroupMemberships for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - ThrottlingException +// Access is throttled. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * InternalFailureException -// An internal failure occurred. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroupMemberships func (c *QuickSight) ListGroupMemberships(input *ListGroupMembershipsInput) (*ListGroupMembershipsOutput, error) { @@ -7847,14 +7842,13 @@ const opListGroups = "ListGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroupsRequest method. +// req, resp := client.ListGroupsRequest(params) // -// // Example sending a request using the ListGroupsRequest method. -// req, resp := client.ListGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroups func (c *QuickSight) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput) { @@ -7885,33 +7879,34 @@ func (c *QuickSight) ListGroupsRequest(input *ListGroupsInput) (req *request.Req // API operation ListGroups for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - ThrottlingException +// Access is throttled. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * InternalFailureException -// An internal failure occurred. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - InternalFailureException +// An internal failure occurred. +// +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListGroups func (c *QuickSight) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error) { @@ -7951,14 +7946,13 @@ const opListIAMPolicyAssignments = "ListIAMPolicyAssignments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIAMPolicyAssignmentsRequest method. +// req, resp := client.ListIAMPolicyAssignmentsRequest(params) // -// // Example sending a request using the ListIAMPolicyAssignmentsRequest method. -// req, resp := client.ListIAMPolicyAssignmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignments func (c *QuickSight) ListIAMPolicyAssignmentsRequest(input *ListIAMPolicyAssignmentsInput) (req *request.Request, output *ListIAMPolicyAssignmentsOutput) { @@ -7989,27 +7983,28 @@ func (c *QuickSight) ListIAMPolicyAssignmentsRequest(input *ListIAMPolicyAssignm // API operation ListIAMPolicyAssignments for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - InvalidNextTokenException +// The NextToken value isn't valid. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignments func (c *QuickSight) ListIAMPolicyAssignments(input *ListIAMPolicyAssignmentsInput) (*ListIAMPolicyAssignmentsOutput, error) { @@ -8049,14 +8044,13 @@ const opListIAMPolicyAssignmentsForUser = "ListIAMPolicyAssignmentsForUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIAMPolicyAssignmentsForUserRequest method. +// req, resp := client.ListIAMPolicyAssignmentsForUserRequest(params) // -// // Example sending a request using the ListIAMPolicyAssignmentsForUserRequest method. -// req, resp := client.ListIAMPolicyAssignmentsForUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignmentsForUser func (c *QuickSight) ListIAMPolicyAssignmentsForUserRequest(input *ListIAMPolicyAssignmentsForUserInput) (req *request.Request, output *ListIAMPolicyAssignmentsForUserOutput) { @@ -8089,31 +8083,32 @@ func (c *QuickSight) ListIAMPolicyAssignmentsForUserRequest(input *ListIAMPolicy // API operation ListIAMPolicyAssignmentsForUser for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceExistsException -// The resource specified already exists. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceExistsException +// The resource specified already exists. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ConcurrentUpdatingException -// A resource is already in a state that indicates an operation is happening -// that must complete before a new update can be applied. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - ConcurrentUpdatingException +// A resource is already in a state that indicates an operation is happening +// that must complete before a new update can be applied. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIAMPolicyAssignmentsForUser func (c *QuickSight) ListIAMPolicyAssignmentsForUser(input *ListIAMPolicyAssignmentsForUserInput) (*ListIAMPolicyAssignmentsForUserOutput, error) { @@ -8153,14 +8148,13 @@ const opListIngestions = "ListIngestions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIngestionsRequest method. +// req, resp := client.ListIngestionsRequest(params) // -// // Example sending a request using the ListIngestionsRequest method. -// req, resp := client.ListIngestionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIngestions func (c *QuickSight) ListIngestionsRequest(input *ListIngestionsInput) (req *request.Request, output *ListIngestionsOutput) { @@ -8197,30 +8191,31 @@ func (c *QuickSight) ListIngestionsRequest(input *ListIngestionsInput) (req *req // API operation ListIngestions for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ResourceExistsException -// The resource specified already exists. +// - ThrottlingException +// Access is throttled. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - ResourceExistsException +// The resource specified already exists. // -// * InternalFailureException -// An internal failure occurred. +// - InvalidNextTokenException +// The NextToken value isn't valid. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListIngestions func (c *QuickSight) ListIngestions(input *ListIngestionsInput) (*ListIngestionsOutput, error) { @@ -8252,15 +8247,14 @@ func (c *QuickSight) ListIngestionsWithContext(ctx aws.Context, input *ListInges // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListIngestions operation. -// pageNum := 0 -// err := client.ListIngestionsPages(params, -// func(page *quicksight.ListIngestionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListIngestions operation. +// pageNum := 0 +// err := client.ListIngestionsPages(params, +// func(page *quicksight.ListIngestionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QuickSight) ListIngestionsPages(input *ListIngestionsInput, fn func(*ListIngestionsOutput, bool) bool) error { return c.ListIngestionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8312,14 +8306,13 @@ const opListNamespaces = "ListNamespaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNamespacesRequest method. +// req, resp := client.ListNamespacesRequest(params) // -// // Example sending a request using the ListNamespacesRequest method. -// req, resp := client.ListNamespacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListNamespaces func (c *QuickSight) ListNamespacesRequest(input *ListNamespacesInput) (req *request.Request, output *ListNamespacesOutput) { @@ -8356,33 +8349,34 @@ func (c *QuickSight) ListNamespacesRequest(input *ListNamespacesInput) (req *req // API operation ListNamespaces for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListNamespaces func (c *QuickSight) ListNamespaces(input *ListNamespacesInput) (*ListNamespacesOutput, error) { @@ -8414,15 +8408,14 @@ func (c *QuickSight) ListNamespacesWithContext(ctx aws.Context, input *ListNames // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNamespaces operation. -// pageNum := 0 -// err := client.ListNamespacesPages(params, -// func(page *quicksight.ListNamespacesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNamespaces operation. +// pageNum := 0 +// err := client.ListNamespacesPages(params, +// func(page *quicksight.ListNamespacesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QuickSight) ListNamespacesPages(input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool) error { return c.ListNamespacesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8474,14 +8467,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTagsForResource func (c *QuickSight) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -8512,24 +8504,25 @@ func (c *QuickSight) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InternalFailureException -// An internal failure occurred. +// - ThrottlingException +// Access is throttled. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTagsForResource func (c *QuickSight) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -8569,14 +8562,13 @@ const opListTemplateAliases = "ListTemplateAliases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTemplateAliasesRequest method. +// req, resp := client.ListTemplateAliasesRequest(params) // -// // Example sending a request using the ListTemplateAliasesRequest method. -// req, resp := client.ListTemplateAliasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateAliases func (c *QuickSight) ListTemplateAliasesRequest(input *ListTemplateAliasesInput) (req *request.Request, output *ListTemplateAliasesOutput) { @@ -8613,23 +8605,24 @@ func (c *QuickSight) ListTemplateAliasesRequest(input *ListTemplateAliasesInput) // API operation ListTemplateAliases for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The NextToken value isn't valid. // -// * ThrottlingException -// Access is throttled. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateAliases func (c *QuickSight) ListTemplateAliases(input *ListTemplateAliasesInput) (*ListTemplateAliasesOutput, error) { @@ -8661,15 +8654,14 @@ func (c *QuickSight) ListTemplateAliasesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTemplateAliases operation. -// pageNum := 0 -// err := client.ListTemplateAliasesPages(params, -// func(page *quicksight.ListTemplateAliasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTemplateAliases operation. +// pageNum := 0 +// err := client.ListTemplateAliasesPages(params, +// func(page *quicksight.ListTemplateAliasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QuickSight) ListTemplateAliasesPages(input *ListTemplateAliasesInput, fn func(*ListTemplateAliasesOutput, bool) bool) error { return c.ListTemplateAliasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8721,14 +8713,13 @@ const opListTemplateVersions = "ListTemplateVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTemplateVersionsRequest method. +// req, resp := client.ListTemplateVersionsRequest(params) // -// // Example sending a request using the ListTemplateVersionsRequest method. -// req, resp := client.ListTemplateVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateVersions func (c *QuickSight) ListTemplateVersionsRequest(input *ListTemplateVersionsInput) (req *request.Request, output *ListTemplateVersionsOutput) { @@ -8766,26 +8757,27 @@ func (c *QuickSight) ListTemplateVersionsRequest(input *ListTemplateVersionsInpu // API operation ListTemplateVersions for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ThrottlingException +// Access is throttled. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplateVersions func (c *QuickSight) ListTemplateVersions(input *ListTemplateVersionsInput) (*ListTemplateVersionsOutput, error) { @@ -8817,15 +8809,14 @@ func (c *QuickSight) ListTemplateVersionsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTemplateVersions operation. -// pageNum := 0 -// err := client.ListTemplateVersionsPages(params, -// func(page *quicksight.ListTemplateVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTemplateVersions operation. +// pageNum := 0 +// err := client.ListTemplateVersionsPages(params, +// func(page *quicksight.ListTemplateVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QuickSight) ListTemplateVersionsPages(input *ListTemplateVersionsInput, fn func(*ListTemplateVersionsOutput, bool) bool) error { return c.ListTemplateVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8877,14 +8868,13 @@ const opListTemplates = "ListTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTemplatesRequest method. +// req, resp := client.ListTemplatesRequest(params) // -// // Example sending a request using the ListTemplatesRequest method. -// req, resp := client.ListTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplates func (c *QuickSight) ListTemplatesRequest(input *ListTemplatesInput) (req *request.Request, output *ListTemplatesOutput) { @@ -8921,26 +8911,27 @@ func (c *QuickSight) ListTemplatesRequest(input *ListTemplatesInput) (req *reque // API operation ListTemplates for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ThrottlingException +// Access is throttled. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListTemplates func (c *QuickSight) ListTemplates(input *ListTemplatesInput) (*ListTemplatesOutput, error) { @@ -8972,15 +8963,14 @@ func (c *QuickSight) ListTemplatesWithContext(ctx aws.Context, input *ListTempla // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTemplates operation. -// pageNum := 0 -// err := client.ListTemplatesPages(params, -// func(page *quicksight.ListTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTemplates operation. +// pageNum := 0 +// err := client.ListTemplatesPages(params, +// func(page *quicksight.ListTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QuickSight) ListTemplatesPages(input *ListTemplatesInput, fn func(*ListTemplatesOutput, bool) bool) error { return c.ListTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9032,14 +9022,13 @@ const opListThemeAliases = "ListThemeAliases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThemeAliasesRequest method. +// req, resp := client.ListThemeAliasesRequest(params) // -// // Example sending a request using the ListThemeAliasesRequest method. -// req, resp := client.ListThemeAliasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeAliases func (c *QuickSight) ListThemeAliasesRequest(input *ListThemeAliasesInput) (req *request.Request, output *ListThemeAliasesOutput) { @@ -9070,29 +9059,30 @@ func (c *QuickSight) ListThemeAliasesRequest(input *ListThemeAliasesInput) (req // API operation ListThemeAliases for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeAliases func (c *QuickSight) ListThemeAliases(input *ListThemeAliasesInput) (*ListThemeAliasesOutput, error) { @@ -9132,14 +9122,13 @@ const opListThemeVersions = "ListThemeVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThemeVersionsRequest method. +// req, resp := client.ListThemeVersionsRequest(params) // -// // Example sending a request using the ListThemeVersionsRequest method. -// req, resp := client.ListThemeVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeVersions func (c *QuickSight) ListThemeVersionsRequest(input *ListThemeVersionsInput) (req *request.Request, output *ListThemeVersionsOutput) { @@ -9176,33 +9165,34 @@ func (c *QuickSight) ListThemeVersionsRequest(input *ListThemeVersionsInput) (re // API operation ListThemeVersions for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemeVersions func (c *QuickSight) ListThemeVersions(input *ListThemeVersionsInput) (*ListThemeVersionsOutput, error) { @@ -9234,15 +9224,14 @@ func (c *QuickSight) ListThemeVersionsWithContext(ctx aws.Context, input *ListTh // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListThemeVersions operation. -// pageNum := 0 -// err := client.ListThemeVersionsPages(params, -// func(page *quicksight.ListThemeVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListThemeVersions operation. +// pageNum := 0 +// err := client.ListThemeVersionsPages(params, +// func(page *quicksight.ListThemeVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QuickSight) ListThemeVersionsPages(input *ListThemeVersionsInput, fn func(*ListThemeVersionsOutput, bool) bool) error { return c.ListThemeVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9294,14 +9283,13 @@ const opListThemes = "ListThemes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListThemesRequest method. +// req, resp := client.ListThemesRequest(params) // -// // Example sending a request using the ListThemesRequest method. -// req, resp := client.ListThemesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemes func (c *QuickSight) ListThemesRequest(input *ListThemesInput) (req *request.Request, output *ListThemesOutput) { @@ -9338,33 +9326,34 @@ func (c *QuickSight) ListThemesRequest(input *ListThemesInput) (req *request.Req // API operation ListThemes for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListThemes func (c *QuickSight) ListThemes(input *ListThemesInput) (*ListThemesOutput, error) { @@ -9396,15 +9385,14 @@ func (c *QuickSight) ListThemesWithContext(ctx aws.Context, input *ListThemesInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListThemes operation. -// pageNum := 0 -// err := client.ListThemesPages(params, -// func(page *quicksight.ListThemesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListThemes operation. +// pageNum := 0 +// err := client.ListThemesPages(params, +// func(page *quicksight.ListThemesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QuickSight) ListThemesPages(input *ListThemesInput, fn func(*ListThemesOutput, bool) bool) error { return c.ListThemesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9456,14 +9444,13 @@ const opListUserGroups = "ListUserGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUserGroupsRequest method. +// req, resp := client.ListUserGroupsRequest(params) // -// // Example sending a request using the ListUserGroupsRequest method. -// req, resp := client.ListUserGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUserGroups func (c *QuickSight) ListUserGroupsRequest(input *ListUserGroupsInput) (req *request.Request, output *ListUserGroupsOutput) { @@ -9495,30 +9482,31 @@ func (c *QuickSight) ListUserGroupsRequest(input *ListUserGroupsInput) (req *req // API operation ListUserGroups for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUserGroups func (c *QuickSight) ListUserGroups(input *ListUserGroupsInput) (*ListUserGroupsOutput, error) { @@ -9558,14 +9546,13 @@ const opListUsers = "ListUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUsersRequest method. +// req, resp := client.ListUsersRequest(params) // -// // Example sending a request using the ListUsersRequest method. -// req, resp := client.ListUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUsers func (c *QuickSight) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) { @@ -9596,33 +9583,34 @@ func (c *QuickSight) ListUsersRequest(input *ListUsersInput) (req *request.Reque // API operation ListUsers for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUsers func (c *QuickSight) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) { @@ -9662,14 +9650,13 @@ const opRegisterUser = "RegisterUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterUserRequest method. +// req, resp := client.RegisterUserRequest(params) // -// // Example sending a request using the RegisterUserRequest method. -// req, resp := client.RegisterUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RegisterUser func (c *QuickSight) RegisterUserRequest(input *RegisterUserInput) (req *request.Request, output *RegisterUserOutput) { @@ -9701,36 +9688,37 @@ func (c *QuickSight) RegisterUserRequest(input *RegisterUserInput) (req *request // API operation RegisterUser for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * LimitExceededException -// A limit is exceeded. +// - LimitExceededException +// A limit is exceeded. // -// * ResourceExistsException -// The resource specified already exists. +// - ResourceExistsException +// The resource specified already exists. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RegisterUser func (c *QuickSight) RegisterUser(input *RegisterUserInput) (*RegisterUserOutput, error) { @@ -9770,14 +9758,13 @@ const opRestoreAnalysis = "RestoreAnalysis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreAnalysisRequest method. +// req, resp := client.RestoreAnalysisRequest(params) // -// // Example sending a request using the RestoreAnalysisRequest method. -// req, resp := client.RestoreAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RestoreAnalysis func (c *QuickSight) RestoreAnalysisRequest(input *RestoreAnalysisInput) (req *request.Request, output *RestoreAnalysisOutput) { @@ -9808,26 +9795,27 @@ func (c *QuickSight) RestoreAnalysisRequest(input *RestoreAnalysisInput) (req *r // API operation RestoreAnalysis for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ThrottlingException +// Access is throttled. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/RestoreAnalysis func (c *QuickSight) RestoreAnalysis(input *RestoreAnalysisInput) (*RestoreAnalysisOutput, error) { @@ -9867,14 +9855,13 @@ const opSearchAnalyses = "SearchAnalyses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchAnalysesRequest method. +// req, resp := client.SearchAnalysesRequest(params) // -// // Example sending a request using the SearchAnalysesRequest method. -// req, resp := client.SearchAnalysesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchAnalyses func (c *QuickSight) SearchAnalysesRequest(input *SearchAnalysesInput) (req *request.Request, output *SearchAnalysesOutput) { @@ -9914,26 +9901,27 @@ func (c *QuickSight) SearchAnalysesRequest(input *SearchAnalysesInput) (req *req // API operation SearchAnalyses for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ThrottlingException +// Access is throttled. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchAnalyses func (c *QuickSight) SearchAnalyses(input *SearchAnalysesInput) (*SearchAnalysesOutput, error) { @@ -9965,15 +9953,14 @@ func (c *QuickSight) SearchAnalysesWithContext(ctx aws.Context, input *SearchAna // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchAnalyses operation. -// pageNum := 0 -// err := client.SearchAnalysesPages(params, -// func(page *quicksight.SearchAnalysesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchAnalyses operation. +// pageNum := 0 +// err := client.SearchAnalysesPages(params, +// func(page *quicksight.SearchAnalysesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QuickSight) SearchAnalysesPages(input *SearchAnalysesInput, fn func(*SearchAnalysesOutput, bool) bool) error { return c.SearchAnalysesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10025,14 +10012,13 @@ const opSearchDashboards = "SearchDashboards" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchDashboardsRequest method. +// req, resp := client.SearchDashboardsRequest(params) // -// // Example sending a request using the SearchDashboardsRequest method. -// req, resp := client.SearchDashboardsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchDashboards func (c *QuickSight) SearchDashboardsRequest(input *SearchDashboardsInput) (req *request.Request, output *SearchDashboardsOutput) { @@ -10072,26 +10058,27 @@ func (c *QuickSight) SearchDashboardsRequest(input *SearchDashboardsInput) (req // API operation SearchDashboards for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ThrottlingException +// Access is throttled. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InvalidNextTokenException +// The NextToken value isn't valid. +// +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchDashboards func (c *QuickSight) SearchDashboards(input *SearchDashboardsInput) (*SearchDashboardsOutput, error) { @@ -10123,15 +10110,14 @@ func (c *QuickSight) SearchDashboardsWithContext(ctx aws.Context, input *SearchD // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchDashboards operation. -// pageNum := 0 -// err := client.SearchDashboardsPages(params, -// func(page *quicksight.SearchDashboardsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchDashboards operation. +// pageNum := 0 +// err := client.SearchDashboardsPages(params, +// func(page *quicksight.SearchDashboardsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *QuickSight) SearchDashboardsPages(input *SearchDashboardsInput, fn func(*SearchDashboardsOutput, bool) bool) error { return c.SearchDashboardsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10183,14 +10169,13 @@ const opSearchFolders = "SearchFolders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchFoldersRequest method. +// req, resp := client.SearchFoldersRequest(params) // -// // Example sending a request using the SearchFoldersRequest method. -// req, resp := client.SearchFoldersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchFolders func (c *QuickSight) SearchFoldersRequest(input *SearchFoldersInput) (req *request.Request, output *SearchFoldersOutput) { @@ -10221,33 +10206,34 @@ func (c *QuickSight) SearchFoldersRequest(input *SearchFoldersInput) (req *reque // API operation SearchFolders for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchFolders func (c *QuickSight) SearchFolders(input *SearchFoldersInput) (*SearchFoldersOutput, error) { @@ -10287,14 +10273,13 @@ const opSearchGroups = "SearchGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchGroupsRequest method. +// req, resp := client.SearchGroupsRequest(params) // -// // Example sending a request using the SearchGroupsRequest method. -// req, resp := client.SearchGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchGroups func (c *QuickSight) SearchGroupsRequest(input *SearchGroupsInput) (req *request.Request, output *SearchGroupsOutput) { @@ -10326,33 +10311,34 @@ func (c *QuickSight) SearchGroupsRequest(input *SearchGroupsInput) (req *request // API operation SearchGroups for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * InvalidNextTokenException -// The NextToken value isn't valid. +// - InvalidNextTokenException +// The NextToken value isn't valid. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/SearchGroups func (c *QuickSight) SearchGroups(input *SearchGroupsInput) (*SearchGroupsOutput, error) { @@ -10392,14 +10378,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/TagResource func (c *QuickSight) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -10438,13 +10423,13 @@ func (c *QuickSight) TagResourceRequest(input *TagResourceInput) (req *request.R // Tagging for Amazon QuickSight works in a similar way to tagging for other // Amazon Web Services services, except for the following: // -// * You can't use tags to track costs for Amazon QuickSight. This isn't -// possible because you can't tag the resources that Amazon QuickSight costs -// are based on, for example Amazon QuickSight storage capacity (SPICE), -// number of users, type of users, and usage metrics. +// - You can't use tags to track costs for Amazon QuickSight. This isn't +// possible because you can't tag the resources that Amazon QuickSight costs +// are based on, for example Amazon QuickSight storage capacity (SPICE), +// number of users, type of users, and usage metrics. // -// * Amazon QuickSight doesn't currently support the tag editor for Resource -// Groups. +// - Amazon QuickSight doesn't currently support the tag editor for Resource +// Groups. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -10454,27 +10439,28 @@ func (c *QuickSight) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Types: -// * LimitExceededException -// A limit is exceeded. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - LimitExceededException +// A limit is exceeded. +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/TagResource func (c *QuickSight) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -10514,14 +10500,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UntagResource func (c *QuickSight) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -10552,24 +10537,25 @@ func (c *QuickSight) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UntagResource func (c *QuickSight) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -10609,14 +10595,13 @@ const opUpdateAccountCustomization = "UpdateAccountCustomization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAccountCustomizationRequest method. +// req, resp := client.UpdateAccountCustomizationRequest(params) // -// // Example sending a request using the UpdateAccountCustomizationRequest method. -// req, resp := client.UpdateAccountCustomizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountCustomization func (c *QuickSight) UpdateAccountCustomizationRequest(input *UpdateAccountCustomizationInput) (req *request.Request, output *UpdateAccountCustomizationOutput) { @@ -10654,30 +10639,31 @@ func (c *QuickSight) UpdateAccountCustomizationRequest(input *UpdateAccountCusto // API operation UpdateAccountCustomization for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountCustomization func (c *QuickSight) UpdateAccountCustomization(input *UpdateAccountCustomizationInput) (*UpdateAccountCustomizationOutput, error) { @@ -10717,14 +10703,13 @@ const opUpdateAccountSettings = "UpdateAccountSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAccountSettingsRequest method. +// req, resp := client.UpdateAccountSettingsRequest(params) // -// // Example sending a request using the UpdateAccountSettingsRequest method. -// req, resp := client.UpdateAccountSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountSettings func (c *QuickSight) UpdateAccountSettingsRequest(input *UpdateAccountSettingsInput) (req *request.Request, output *UpdateAccountSettingsOutput) { @@ -10755,27 +10740,28 @@ func (c *QuickSight) UpdateAccountSettingsRequest(input *UpdateAccountSettingsIn // API operation UpdateAccountSettings for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAccountSettings func (c *QuickSight) UpdateAccountSettings(input *UpdateAccountSettingsInput) (*UpdateAccountSettingsOutput, error) { @@ -10815,14 +10801,13 @@ const opUpdateAnalysis = "UpdateAnalysis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAnalysisRequest method. +// req, resp := client.UpdateAnalysisRequest(params) // -// // Example sending a request using the UpdateAnalysisRequest method. -// req, resp := client.UpdateAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysis func (c *QuickSight) UpdateAnalysisRequest(input *UpdateAnalysisInput) (req *request.Request, output *UpdateAnalysisOutput) { @@ -10843,7 +10828,7 @@ func (c *QuickSight) UpdateAnalysisRequest(input *UpdateAnalysisInput) (req *req // UpdateAnalysis API operation for Amazon QuickSight. // -// Updates an analysis in Amazon QuickSight +// # Updates an analysis in Amazon QuickSight // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -10853,29 +10838,30 @@ func (c *QuickSight) UpdateAnalysisRequest(input *UpdateAnalysisInput) (req *req // API operation UpdateAnalysis for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// One or more resources can't be found. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ResourceNotFoundException +// One or more resources can't be found. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * ResourceExistsException -// The resource specified already exists. +// - ResourceExistsException +// The resource specified already exists. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysis func (c *QuickSight) UpdateAnalysis(input *UpdateAnalysisInput) (*UpdateAnalysisOutput, error) { @@ -10915,14 +10901,13 @@ const opUpdateAnalysisPermissions = "UpdateAnalysisPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAnalysisPermissionsRequest method. +// req, resp := client.UpdateAnalysisPermissionsRequest(params) // -// // Example sending a request using the UpdateAnalysisPermissionsRequest method. -// req, resp := client.UpdateAnalysisPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysisPermissions func (c *QuickSight) UpdateAnalysisPermissionsRequest(input *UpdateAnalysisPermissionsInput) (req *request.Request, output *UpdateAnalysisPermissionsOutput) { @@ -10953,26 +10938,27 @@ func (c *QuickSight) UpdateAnalysisPermissionsRequest(input *UpdateAnalysisPermi // API operation UpdateAnalysisPermissions for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ThrottlingException +// Access is throttled. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateAnalysisPermissions func (c *QuickSight) UpdateAnalysisPermissions(input *UpdateAnalysisPermissionsInput) (*UpdateAnalysisPermissionsOutput, error) { @@ -11012,14 +10998,13 @@ const opUpdateDashboard = "UpdateDashboard" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDashboardRequest method. +// req, resp := client.UpdateDashboardRequest(params) // -// // Example sending a request using the UpdateDashboardRequest method. -// req, resp := client.UpdateDashboardRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboard func (c *QuickSight) UpdateDashboardRequest(input *UpdateDashboardInput) (req *request.Request, output *UpdateDashboardOutput) { @@ -11055,29 +11040,30 @@ func (c *QuickSight) UpdateDashboardRequest(input *UpdateDashboardInput) (req *r // API operation UpdateDashboard for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ThrottlingException +// Access is throttled. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * LimitExceededException -// A limit is exceeded. +// - LimitExceededException +// A limit is exceeded. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboard func (c *QuickSight) UpdateDashboard(input *UpdateDashboardInput) (*UpdateDashboardOutput, error) { @@ -11117,14 +11103,13 @@ const opUpdateDashboardPermissions = "UpdateDashboardPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDashboardPermissionsRequest method. +// req, resp := client.UpdateDashboardPermissionsRequest(params) // -// // Example sending a request using the UpdateDashboardPermissionsRequest method. -// req, resp := client.UpdateDashboardPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPermissions func (c *QuickSight) UpdateDashboardPermissionsRequest(input *UpdateDashboardPermissionsInput) (req *request.Request, output *UpdateDashboardPermissionsOutput) { @@ -11155,26 +11140,27 @@ func (c *QuickSight) UpdateDashboardPermissionsRequest(input *UpdateDashboardPer // API operation UpdateDashboardPermissions for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ThrottlingException +// Access is throttled. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPermissions func (c *QuickSight) UpdateDashboardPermissions(input *UpdateDashboardPermissionsInput) (*UpdateDashboardPermissionsOutput, error) { @@ -11214,14 +11200,13 @@ const opUpdateDashboardPublishedVersion = "UpdateDashboardPublishedVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDashboardPublishedVersionRequest method. +// req, resp := client.UpdateDashboardPublishedVersionRequest(params) // -// // Example sending a request using the UpdateDashboardPublishedVersionRequest method. -// req, resp := client.UpdateDashboardPublishedVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPublishedVersion func (c *QuickSight) UpdateDashboardPublishedVersionRequest(input *UpdateDashboardPublishedVersionInput) (req *request.Request, output *UpdateDashboardPublishedVersionOutput) { @@ -11252,26 +11237,27 @@ func (c *QuickSight) UpdateDashboardPublishedVersionRequest(input *UpdateDashboa // API operation UpdateDashboardPublishedVersion for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - ThrottlingException +// Access is throttled. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDashboardPublishedVersion func (c *QuickSight) UpdateDashboardPublishedVersion(input *UpdateDashboardPublishedVersionInput) (*UpdateDashboardPublishedVersionOutput, error) { @@ -11311,14 +11297,13 @@ const opUpdateDataSet = "UpdateDataSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDataSetRequest method. +// req, resp := client.UpdateDataSetRequest(params) // -// // Example sending a request using the UpdateDataSetRequest method. -// req, resp := client.UpdateDataSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSet func (c *QuickSight) UpdateDataSetRequest(input *UpdateDataSetInput) (req *request.Request, output *UpdateDataSetOutput) { @@ -11350,36 +11335,37 @@ func (c *QuickSight) UpdateDataSetRequest(input *UpdateDataSetInput) (req *reque // API operation UpdateDataSet for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * LimitExceededException -// A limit is exceeded. +// - LimitExceededException +// A limit is exceeded. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSet func (c *QuickSight) UpdateDataSet(input *UpdateDataSetInput) (*UpdateDataSetOutput, error) { @@ -11419,14 +11405,13 @@ const opUpdateDataSetPermissions = "UpdateDataSetPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDataSetPermissionsRequest method. +// req, resp := client.UpdateDataSetPermissionsRequest(params) // -// // Example sending a request using the UpdateDataSetPermissionsRequest method. -// req, resp := client.UpdateDataSetPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSetPermissions func (c *QuickSight) UpdateDataSetPermissionsRequest(input *UpdateDataSetPermissionsInput) (req *request.Request, output *UpdateDataSetPermissionsOutput) { @@ -11459,27 +11444,28 @@ func (c *QuickSight) UpdateDataSetPermissionsRequest(input *UpdateDataSetPermiss // API operation UpdateDataSetPermissions for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSetPermissions func (c *QuickSight) UpdateDataSetPermissions(input *UpdateDataSetPermissionsInput) (*UpdateDataSetPermissionsOutput, error) { @@ -11519,14 +11505,13 @@ const opUpdateDataSource = "UpdateDataSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDataSourceRequest method. +// req, resp := client.UpdateDataSourceRequest(params) // -// // Example sending a request using the UpdateDataSourceRequest method. -// req, resp := client.UpdateDataSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSource func (c *QuickSight) UpdateDataSourceRequest(input *UpdateDataSourceInput) (req *request.Request, output *UpdateDataSourceOutput) { @@ -11557,27 +11542,28 @@ func (c *QuickSight) UpdateDataSourceRequest(input *UpdateDataSourceInput) (req // API operation UpdateDataSource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSource func (c *QuickSight) UpdateDataSource(input *UpdateDataSourceInput) (*UpdateDataSourceOutput, error) { @@ -11617,14 +11603,13 @@ const opUpdateDataSourcePermissions = "UpdateDataSourcePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDataSourcePermissionsRequest method. +// req, resp := client.UpdateDataSourcePermissionsRequest(params) // -// // Example sending a request using the UpdateDataSourcePermissionsRequest method. -// req, resp := client.UpdateDataSourcePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSourcePermissions func (c *QuickSight) UpdateDataSourcePermissionsRequest(input *UpdateDataSourcePermissionsInput) (req *request.Request, output *UpdateDataSourcePermissionsOutput) { @@ -11655,27 +11640,28 @@ func (c *QuickSight) UpdateDataSourcePermissionsRequest(input *UpdateDataSourceP // API operation UpdateDataSourcePermissions for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateDataSourcePermissions func (c *QuickSight) UpdateDataSourcePermissions(input *UpdateDataSourcePermissionsInput) (*UpdateDataSourcePermissionsOutput, error) { @@ -11715,14 +11701,13 @@ const opUpdateFolder = "UpdateFolder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFolderRequest method. +// req, resp := client.UpdateFolderRequest(params) // -// // Example sending a request using the UpdateFolderRequest method. -// req, resp := client.UpdateFolderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateFolder func (c *QuickSight) UpdateFolderRequest(input *UpdateFolderInput) (req *request.Request, output *UpdateFolderOutput) { @@ -11753,36 +11738,37 @@ func (c *QuickSight) UpdateFolderRequest(input *UpdateFolderInput) (req *request // API operation UpdateFolder for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * ResourceExistsException -// The resource specified already exists. +// - ResourceExistsException +// The resource specified already exists. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateFolder func (c *QuickSight) UpdateFolder(input *UpdateFolderInput) (*UpdateFolderOutput, error) { @@ -11822,14 +11808,13 @@ const opUpdateFolderPermissions = "UpdateFolderPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFolderPermissionsRequest method. +// req, resp := client.UpdateFolderPermissionsRequest(params) // -// // Example sending a request using the UpdateFolderPermissionsRequest method. -// req, resp := client.UpdateFolderPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateFolderPermissions func (c *QuickSight) UpdateFolderPermissionsRequest(input *UpdateFolderPermissionsInput) (req *request.Request, output *UpdateFolderPermissionsOutput) { @@ -11860,33 +11845,34 @@ func (c *QuickSight) UpdateFolderPermissionsRequest(input *UpdateFolderPermissio // API operation UpdateFolderPermissions for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * LimitExceededException -// A limit is exceeded. +// - LimitExceededException +// A limit is exceeded. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateFolderPermissions func (c *QuickSight) UpdateFolderPermissions(input *UpdateFolderPermissionsInput) (*UpdateFolderPermissionsOutput, error) { @@ -11926,14 +11912,13 @@ const opUpdateGroup = "UpdateGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGroupRequest method. +// req, resp := client.UpdateGroupRequest(params) // -// // Example sending a request using the UpdateGroupRequest method. -// req, resp := client.UpdateGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateGroup func (c *QuickSight) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput) { @@ -11964,30 +11949,31 @@ func (c *QuickSight) UpdateGroupRequest(input *UpdateGroupInput) (req *request.R // API operation UpdateGroup for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateGroup func (c *QuickSight) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error) { @@ -12027,14 +12013,13 @@ const opUpdateIAMPolicyAssignment = "UpdateIAMPolicyAssignment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIAMPolicyAssignmentRequest method. +// req, resp := client.UpdateIAMPolicyAssignmentRequest(params) // -// // Example sending a request using the UpdateIAMPolicyAssignmentRequest method. -// req, resp := client.UpdateIAMPolicyAssignmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateIAMPolicyAssignment func (c *QuickSight) UpdateIAMPolicyAssignmentRequest(input *UpdateIAMPolicyAssignmentInput) (req *request.Request, output *UpdateIAMPolicyAssignmentOutput) { @@ -12067,31 +12052,32 @@ func (c *QuickSight) UpdateIAMPolicyAssignmentRequest(input *UpdateIAMPolicyAssi // API operation UpdateIAMPolicyAssignment for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceExistsException -// The resource specified already exists. +// - ResourceExistsException +// The resource specified already exists. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * ConcurrentUpdatingException -// A resource is already in a state that indicates an operation is happening -// that must complete before a new update can be applied. +// - ConcurrentUpdatingException +// A resource is already in a state that indicates an operation is happening +// that must complete before a new update can be applied. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateIAMPolicyAssignment func (c *QuickSight) UpdateIAMPolicyAssignment(input *UpdateIAMPolicyAssignmentInput) (*UpdateIAMPolicyAssignmentOutput, error) { @@ -12131,14 +12117,13 @@ const opUpdateIpRestriction = "UpdateIpRestriction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIpRestrictionRequest method. +// req, resp := client.UpdateIpRestrictionRequest(params) // -// // Example sending a request using the UpdateIpRestrictionRequest method. -// req, resp := client.UpdateIpRestrictionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateIpRestriction func (c *QuickSight) UpdateIpRestrictionRequest(input *UpdateIpRestrictionInput) (req *request.Request, output *UpdateIpRestrictionOutput) { @@ -12171,27 +12156,28 @@ func (c *QuickSight) UpdateIpRestrictionRequest(input *UpdateIpRestrictionInput) // API operation UpdateIpRestriction for usage and error information. // // Returned Error Types: -// * LimitExceededException -// A limit is exceeded. // -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. +// - LimitExceededException +// A limit is exceeded. +// +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateIpRestriction func (c *QuickSight) UpdateIpRestriction(input *UpdateIpRestrictionInput) (*UpdateIpRestrictionOutput, error) { @@ -12231,14 +12217,13 @@ const opUpdatePublicSharingSettings = "UpdatePublicSharingSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePublicSharingSettingsRequest method. +// req, resp := client.UpdatePublicSharingSettingsRequest(params) // -// // Example sending a request using the UpdatePublicSharingSettingsRequest method. -// req, resp := client.UpdatePublicSharingSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdatePublicSharingSettings func (c *QuickSight) UpdatePublicSharingSettingsRequest(input *UpdatePublicSharingSettingsInput) (req *request.Request, output *UpdatePublicSharingSettingsOutput) { @@ -12278,34 +12263,35 @@ func (c *QuickSight) UpdatePublicSharingSettingsRequest(input *UpdatePublicShari // API operation UpdatePublicSharingSettings for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedPricingPlanException -// This error indicates that you are calling an embedding operation in Amazon -// QuickSight without the required pricing plan on your Amazon Web Services -// account. Before you can use embedding for anonymous users, a QuickSight administrator -// needs to add capacity pricing to Amazon QuickSight. You can do this on the -// Manage Amazon QuickSight page. +// - UnsupportedPricingPlanException +// This error indicates that you are calling an embedding operation in Amazon +// QuickSight without the required pricing plan on your Amazon Web Services +// account. Before you can use embedding for anonymous users, a QuickSight administrator +// needs to add capacity pricing to Amazon QuickSight. You can do this on the +// Manage Amazon QuickSight page. // -// After capacity pricing is added, you can use the GetDashboardEmbedUrl (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GetDashboardEmbedUrl.html) -// API operation with the --identity-type ANONYMOUS option. +// After capacity pricing is added, you can use the GetDashboardEmbedUrl (https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GetDashboardEmbedUrl.html) +// API operation with the --identity-type ANONYMOUS option. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdatePublicSharingSettings func (c *QuickSight) UpdatePublicSharingSettings(input *UpdatePublicSharingSettingsInput) (*UpdatePublicSharingSettingsOutput, error) { @@ -12345,14 +12331,13 @@ const opUpdateTemplate = "UpdateTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTemplateRequest method. +// req, resp := client.UpdateTemplateRequest(params) // -// // Example sending a request using the UpdateTemplateRequest method. -// req, resp := client.UpdateTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplate func (c *QuickSight) UpdateTemplateRequest(input *UpdateTemplateInput) (req *request.Request, output *UpdateTemplateOutput) { @@ -12384,32 +12369,33 @@ func (c *QuickSight) UpdateTemplateRequest(input *UpdateTemplateInput) (req *req // API operation UpdateTemplate for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. // -// * ResourceExistsException -// The resource specified already exists. +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. +// +// - ResourceExistsException +// The resource specified already exists. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * LimitExceededException -// A limit is exceeded. +// - LimitExceededException +// A limit is exceeded. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplate func (c *QuickSight) UpdateTemplate(input *UpdateTemplateInput) (*UpdateTemplateOutput, error) { @@ -12449,14 +12435,13 @@ const opUpdateTemplateAlias = "UpdateTemplateAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTemplateAliasRequest method. +// req, resp := client.UpdateTemplateAliasRequest(params) // -// // Example sending a request using the UpdateTemplateAliasRequest method. -// req, resp := client.UpdateTemplateAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplateAlias func (c *QuickSight) UpdateTemplateAliasRequest(input *UpdateTemplateAliasInput) (req *request.Request, output *UpdateTemplateAliasOutput) { @@ -12487,26 +12472,27 @@ func (c *QuickSight) UpdateTemplateAliasRequest(input *UpdateTemplateAliasInput) // API operation UpdateTemplateAlias for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ThrottlingException +// Access is throttled. +// +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplateAlias func (c *QuickSight) UpdateTemplateAlias(input *UpdateTemplateAliasInput) (*UpdateTemplateAliasOutput, error) { @@ -12546,14 +12532,13 @@ const opUpdateTemplatePermissions = "UpdateTemplatePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTemplatePermissionsRequest method. +// req, resp := client.UpdateTemplatePermissionsRequest(params) // -// // Example sending a request using the UpdateTemplatePermissionsRequest method. -// req, resp := client.UpdateTemplatePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplatePermissions func (c *QuickSight) UpdateTemplatePermissionsRequest(input *UpdateTemplatePermissionsInput) (req *request.Request, output *UpdateTemplatePermissionsOutput) { @@ -12584,26 +12569,27 @@ func (c *QuickSight) UpdateTemplatePermissionsRequest(input *UpdateTemplatePermi // API operation UpdateTemplatePermissions for usage and error information. // // Returned Error Types: -// * ThrottlingException -// Access is throttled. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ThrottlingException +// Access is throttled. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTemplatePermissions func (c *QuickSight) UpdateTemplatePermissions(input *UpdateTemplatePermissionsInput) (*UpdateTemplatePermissionsOutput, error) { @@ -12643,14 +12629,13 @@ const opUpdateTheme = "UpdateTheme" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateThemeRequest method. +// req, resp := client.UpdateThemeRequest(params) // -// // Example sending a request using the UpdateThemeRequest method. -// req, resp := client.UpdateThemeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTheme func (c *QuickSight) UpdateThemeRequest(input *UpdateThemeInput) (req *request.Request, output *UpdateThemeOutput) { @@ -12681,36 +12666,37 @@ func (c *QuickSight) UpdateThemeRequest(input *UpdateThemeInput) (req *request.R // API operation UpdateTheme for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * LimitExceededException -// A limit is exceeded. +// - LimitExceededException +// A limit is exceeded. // -// * ResourceExistsException -// The resource specified already exists. +// - ResourceExistsException +// The resource specified already exists. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateTheme func (c *QuickSight) UpdateTheme(input *UpdateThemeInput) (*UpdateThemeOutput, error) { @@ -12750,14 +12736,13 @@ const opUpdateThemeAlias = "UpdateThemeAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateThemeAliasRequest method. +// req, resp := client.UpdateThemeAliasRequest(params) // -// // Example sending a request using the UpdateThemeAliasRequest method. -// req, resp := client.UpdateThemeAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemeAlias func (c *QuickSight) UpdateThemeAliasRequest(input *UpdateThemeAliasInput) (req *request.Request, output *UpdateThemeAliasOutput) { @@ -12788,29 +12773,30 @@ func (c *QuickSight) UpdateThemeAliasRequest(input *UpdateThemeAliasInput) (req // API operation UpdateThemeAlias for usage and error information. // // Returned Error Types: -// * ConflictException -// Updating or deleting a resource can cause an inconsistent state. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - ConflictException +// Updating or deleting a resource can cause an inconsistent state. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceExistsException -// The resource specified already exists. +// - ResourceExistsException +// The resource specified already exists. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemeAlias func (c *QuickSight) UpdateThemeAlias(input *UpdateThemeAliasInput) (*UpdateThemeAliasOutput, error) { @@ -12850,14 +12836,13 @@ const opUpdateThemePermissions = "UpdateThemePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateThemePermissionsRequest method. +// req, resp := client.UpdateThemePermissionsRequest(params) // -// // Example sending a request using the UpdateThemePermissionsRequest method. -// req, resp := client.UpdateThemePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemePermissions func (c *QuickSight) UpdateThemePermissionsRequest(input *UpdateThemePermissionsInput) (req *request.Request, output *UpdateThemePermissionsOutput) { @@ -12884,15 +12869,15 @@ func (c *QuickSight) UpdateThemePermissionsRequest(input *UpdateThemePermissions // Theme permissions apply in groupings. Valid groupings include the following // for the three levels of permissions, which are user, owner, or no permissions: // -// * User "quicksight:DescribeTheme" "quicksight:DescribeThemeAlias" "quicksight:ListThemeAliases" -// "quicksight:ListThemeVersions" +// - User "quicksight:DescribeTheme" "quicksight:DescribeThemeAlias" "quicksight:ListThemeAliases" +// "quicksight:ListThemeVersions" // -// * Owner "quicksight:DescribeTheme" "quicksight:DescribeThemeAlias" "quicksight:ListThemeAliases" -// "quicksight:ListThemeVersions" "quicksight:DeleteTheme" "quicksight:UpdateTheme" -// "quicksight:CreateThemeAlias" "quicksight:DeleteThemeAlias" "quicksight:UpdateThemeAlias" -// "quicksight:UpdateThemePermissions" "quicksight:DescribeThemePermissions" +// - Owner "quicksight:DescribeTheme" "quicksight:DescribeThemeAlias" "quicksight:ListThemeAliases" +// "quicksight:ListThemeVersions" "quicksight:DeleteTheme" "quicksight:UpdateTheme" +// "quicksight:CreateThemeAlias" "quicksight:DeleteThemeAlias" "quicksight:UpdateThemeAlias" +// "quicksight:UpdateThemePermissions" "quicksight:DescribeThemePermissions" // -// * To specify no permissions, omit the permissions list. +// - To specify no permissions, omit the permissions list. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -12902,30 +12887,31 @@ func (c *QuickSight) UpdateThemePermissionsRequest(input *UpdateThemePermissions // API operation UpdateThemePermissions for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * UnsupportedUserEditionException -// This error indicates that you are calling an operation on an Amazon QuickSight -// subscription where the edition doesn't include support for that operation. -// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. -// Not every operation and capability is available in every edition. +// - UnsupportedUserEditionException +// This error indicates that you are calling an operation on an Amazon QuickSight +// subscription where the edition doesn't include support for that operation. +// Amazon Amazon QuickSight currently has Standard Edition and Enterprise Edition. +// Not every operation and capability is available in every edition. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateThemePermissions func (c *QuickSight) UpdateThemePermissions(input *UpdateThemePermissionsInput) (*UpdateThemePermissionsOutput, error) { @@ -12965,14 +12951,13 @@ const opUpdateUser = "UpdateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserRequest method. +// req, resp := client.UpdateUserRequest(params) // -// // Example sending a request using the UpdateUserRequest method. -// req, resp := client.UpdateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateUser func (c *QuickSight) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput) { @@ -13003,30 +12988,31 @@ func (c *QuickSight) UpdateUserRequest(input *UpdateUserInput) (req *request.Req // API operation UpdateUser for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have access to this item. The provided credentials couldn't be -// validated. You might not be authorized to carry out the request. Make sure -// that your account is authorized to use the Amazon QuickSight service, that -// your policies have the correct permissions, and that you are using the correct -// access keys. // -// * InvalidParameterValueException -// One or more parameters has a value that isn't valid. +// - AccessDeniedException +// You don't have access to this item. The provided credentials couldn't be +// validated. You might not be authorized to carry out the request. Make sure +// that your account is authorized to use the Amazon QuickSight service, that +// your policies have the correct permissions, and that you are using the correct +// access keys. +// +// - InvalidParameterValueException +// One or more parameters has a value that isn't valid. // -// * ResourceNotFoundException -// One or more resources can't be found. +// - ResourceNotFoundException +// One or more resources can't be found. // -// * ThrottlingException -// Access is throttled. +// - ThrottlingException +// Access is throttled. // -// * PreconditionNotMetException -// One or more preconditions aren't met. +// - PreconditionNotMetException +// One or more preconditions aren't met. // -// * InternalFailureException -// An internal failure occurred. +// - InternalFailureException +// An internal failure occurred. // -// * ResourceUnavailableException -// This resource is currently unavailable. +// - ResourceUnavailableException +// This resource is currently unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateUser func (c *QuickSight) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/doc.go index cc61dc446a7c..edfb37bb7848 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/doc.go @@ -13,7 +13,7 @@ // See quicksight package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/quicksight/ // -// Using the Client +// # Using the Client // // To contact Amazon QuickSight with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/quicksightiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/quicksightiface/interface.go index 01a7c388cf57..fa871a1ca5fd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/quicksightiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/quicksightiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon QuickSight. -// func myFunc(svc quicksightiface.QuickSightAPI) bool { -// // Make svc.CancelIngestion request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon QuickSight. +// func myFunc(svc quicksightiface.QuickSightAPI) bool { +// // Make svc.CancelIngestion request +// } // -// func main() { -// sess := session.New() -// svc := quicksight.New(sess) +// func main() { +// sess := session.New() +// svc := quicksight.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockQuickSightClient struct { -// quicksightiface.QuickSightAPI -// } -// func (m *mockQuickSightClient) CancelIngestion(input *quicksight.CancelIngestionInput) (*quicksight.CancelIngestionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockQuickSightClient struct { +// quicksightiface.QuickSightAPI +// } +// func (m *mockQuickSightClient) CancelIngestion(input *quicksight.CancelIngestionInput) (*quicksight.CancelIngestionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockQuickSightClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockQuickSightClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/service.go index aba0bea68f20..be0959cefec2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/quicksight/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a QuickSight client from just a session. -// svc := quicksight.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a QuickSight client with additional configuration -// svc := quicksight.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a QuickSight client from just a session. +// svc := quicksight.New(mySession) +// +// // Create a QuickSight client with additional configuration +// svc := quicksight.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *QuickSight { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/api.go index a82b617f8dea..8c028953bceb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/api.go @@ -29,14 +29,13 @@ const opAcceptResourceShareInvitation = "AcceptResourceShareInvitation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptResourceShareInvitationRequest method. +// req, resp := client.AcceptResourceShareInvitationRequest(params) // -// // Example sending a request using the AcceptResourceShareInvitationRequest method. -// req, resp := client.AcceptResourceShareInvitationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AcceptResourceShareInvitation func (c *RAM) AcceptResourceShareInvitationRequest(input *AcceptResourceShareInvitationInput) (req *request.Request, output *AcceptResourceShareInvitationOutput) { @@ -70,37 +69,38 @@ func (c *RAM) AcceptResourceShareInvitationRequest(input *AcceptResourceShareInv // API operation AcceptResourceShareInvitation for usage and error information. // // Returned Error Types: -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. // -// * OperationNotPermittedException -// The requested operation is not permitted. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. +// +// - OperationNotPermittedException +// The requested operation is not permitted. // -// * ResourceShareInvitationArnNotFoundException -// The specified Amazon Resource Name (ARN) for an invitation was not found. +// - ResourceShareInvitationArnNotFoundException +// The specified Amazon Resource Name (ARN) for an invitation was not found. // -// * ResourceShareInvitationAlreadyAcceptedException -// The specified invitation was already accepted. +// - ResourceShareInvitationAlreadyAcceptedException +// The specified invitation was already accepted. // -// * ResourceShareInvitationAlreadyRejectedException -// The specified invitation was already rejected. +// - ResourceShareInvitationAlreadyRejectedException +// The specified invitation was already rejected. // -// * ResourceShareInvitationExpiredException -// The specified invitation is expired. +// - ResourceShareInvitationExpiredException +// The specified invitation is expired. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ServiceUnavailableException -// The service is not available. +// - ServiceUnavailableException +// The service is not available. // -// * InvalidClientTokenException -// The client token is not valid. +// - InvalidClientTokenException +// The client token is not valid. // -// * IdempotentParameterMismatchException -// The client token input parameter was matched one used with a previous call -// to the operation, but at least one of the other input parameters is different -// from the previous call. +// - IdempotentParameterMismatchException +// The client token input parameter was matched one used with a previous call +// to the operation, but at least one of the other input parameters is different +// from the previous call. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AcceptResourceShareInvitation func (c *RAM) AcceptResourceShareInvitation(input *AcceptResourceShareInvitationInput) (*AcceptResourceShareInvitationOutput, error) { @@ -140,14 +140,13 @@ const opAssociateResourceShare = "AssociateResourceShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateResourceShareRequest method. +// req, resp := client.AssociateResourceShareRequest(params) // -// // Example sending a request using the AssociateResourceShareRequest method. -// req, resp := client.AssociateResourceShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceShare func (c *RAM) AssociateResourceShareRequest(input *AssociateResourceShareInput) (req *request.Request, output *AssociateResourceShareOutput) { @@ -181,47 +180,48 @@ func (c *RAM) AssociateResourceShareRequest(input *AssociateResourceShareInput) // API operation AssociateResourceShare for usage and error information. // // Returned Error Types: -// * IdempotentParameterMismatchException -// The client token input parameter was matched one used with a previous call -// to the operation, but at least one of the other input parameters is different -// from the previous call. // -// * UnknownResourceException -// A specified resource was not found. +// - IdempotentParameterMismatchException +// The client token input parameter was matched one used with a previous call +// to the operation, but at least one of the other input parameters is different +// from the previous call. +// +// - UnknownResourceException +// A specified resource was not found. // -// * InvalidStateTransitionException -// The requested state transition is not valid. +// - InvalidStateTransitionException +// The requested state transition is not valid. // -// * ResourceShareLimitExceededException -// This request would exceed the limit for resource shares for your account. +// - ResourceShareLimitExceededException +// This request would exceed the limit for resource shares for your account. // -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. // -// * InvalidStateTransitionException -// The requested state transition is not valid. +// - InvalidStateTransitionException +// The requested state transition is not valid. // -// * InvalidClientTokenException -// The client token is not valid. +// - InvalidClientTokenException +// The client token is not valid. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidParameterException +// A parameter is not valid. // -// * OperationNotPermittedException -// The requested operation is not permitted. +// - OperationNotPermittedException +// The requested operation is not permitted. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ServiceUnavailableException -// The service is not available. +// - ServiceUnavailableException +// The service is not available. // -// * UnknownResourceException -// A specified resource was not found. +// - UnknownResourceException +// A specified resource was not found. // -// * ThrottlingException -// You exceeded the rate at which you are allowed to perform this operation. -// Please try again later. +// - ThrottlingException +// You exceeded the rate at which you are allowed to perform this operation. +// Please try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceShare func (c *RAM) AssociateResourceShare(input *AssociateResourceShareInput) (*AssociateResourceShareOutput, error) { @@ -261,14 +261,13 @@ const opAssociateResourceSharePermission = "AssociateResourceSharePermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateResourceSharePermissionRequest method. +// req, resp := client.AssociateResourceSharePermissionRequest(params) // -// // Example sending a request using the AssociateResourceSharePermissionRequest method. -// req, resp := client.AssociateResourceSharePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceSharePermission func (c *RAM) AssociateResourceSharePermissionRequest(input *AssociateResourceSharePermissionInput) (req *request.Request, output *AssociateResourceSharePermissionOutput) { @@ -303,26 +302,27 @@ func (c *RAM) AssociateResourceSharePermissionRequest(input *AssociateResourceSh // API operation AssociateResourceSharePermission for usage and error information. // // Returned Error Types: -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. // -// * UnknownResourceException -// A specified resource was not found. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. +// +// - UnknownResourceException +// A specified resource was not found. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidParameterException +// A parameter is not valid. // -// * InvalidClientTokenException -// The client token is not valid. +// - InvalidClientTokenException +// The client token is not valid. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ServiceUnavailableException -// The service is not available. +// - ServiceUnavailableException +// The service is not available. // -// * OperationNotPermittedException -// The requested operation is not permitted. +// - OperationNotPermittedException +// The requested operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/AssociateResourceSharePermission func (c *RAM) AssociateResourceSharePermission(input *AssociateResourceSharePermissionInput) (*AssociateResourceSharePermissionOutput, error) { @@ -362,14 +362,13 @@ const opCreateResourceShare = "CreateResourceShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResourceShareRequest method. +// req, resp := client.CreateResourceShareRequest(params) // -// // Example sending a request using the CreateResourceShareRequest method. -// req, resp := client.CreateResourceShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreateResourceShare func (c *RAM) CreateResourceShareRequest(input *CreateResourceShareInput) (req *request.Request, output *CreateResourceShareOutput) { @@ -408,40 +407,41 @@ func (c *RAM) CreateResourceShareRequest(input *CreateResourceShareInput) (req * // API operation CreateResourceShare for usage and error information. // // Returned Error Types: -// * IdempotentParameterMismatchException -// The client token input parameter was matched one used with a previous call -// to the operation, but at least one of the other input parameters is different -// from the previous call. // -// * InvalidStateTransitionException -// The requested state transition is not valid. +// - IdempotentParameterMismatchException +// The client token input parameter was matched one used with a previous call +// to the operation, but at least one of the other input parameters is different +// from the previous call. +// +// - InvalidStateTransitionException +// The requested state transition is not valid. // -// * UnknownResourceException -// A specified resource was not found. +// - UnknownResourceException +// A specified resource was not found. // -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. // -// * InvalidClientTokenException -// The client token is not valid. +// - InvalidClientTokenException +// The client token is not valid. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidParameterException +// A parameter is not valid. // -// * OperationNotPermittedException -// The requested operation is not permitted. +// - OperationNotPermittedException +// The requested operation is not permitted. // -// * ResourceShareLimitExceededException -// This request would exceed the limit for resource shares for your account. +// - ResourceShareLimitExceededException +// This request would exceed the limit for resource shares for your account. // -// * TagPolicyViolationException -// The specified tag key is a reserved word and can't be used. +// - TagPolicyViolationException +// The specified tag key is a reserved word and can't be used. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ServiceUnavailableException -// The service is not available. +// - ServiceUnavailableException +// The service is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/CreateResourceShare func (c *RAM) CreateResourceShare(input *CreateResourceShareInput) (*CreateResourceShareOutput, error) { @@ -481,14 +481,13 @@ const opDeleteResourceShare = "DeleteResourceShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourceShareRequest method. +// req, resp := client.DeleteResourceShareRequest(params) // -// // Example sending a request using the DeleteResourceShareRequest method. -// req, resp := client.DeleteResourceShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DeleteResourceShare func (c *RAM) DeleteResourceShareRequest(input *DeleteResourceShareInput) (req *request.Request, output *DeleteResourceShareOutput) { @@ -521,34 +520,35 @@ func (c *RAM) DeleteResourceShareRequest(input *DeleteResourceShareInput) (req * // API operation DeleteResourceShare for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The requested operation is not permitted. // -// * IdempotentParameterMismatchException -// The client token input parameter was matched one used with a previous call -// to the operation, but at least one of the other input parameters is different -// from the previous call. +// - OperationNotPermittedException +// The requested operation is not permitted. +// +// - IdempotentParameterMismatchException +// The client token input parameter was matched one used with a previous call +// to the operation, but at least one of the other input parameters is different +// from the previous call. // -// * InvalidStateTransitionException -// The requested state transition is not valid. +// - InvalidStateTransitionException +// The requested state transition is not valid. // -// * UnknownResourceException -// A specified resource was not found. +// - UnknownResourceException +// A specified resource was not found. // -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. // -// * InvalidClientTokenException -// The client token is not valid. +// - InvalidClientTokenException +// The client token is not valid. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidParameterException +// A parameter is not valid. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ServiceUnavailableException -// The service is not available. +// - ServiceUnavailableException +// The service is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DeleteResourceShare func (c *RAM) DeleteResourceShare(input *DeleteResourceShareInput) (*DeleteResourceShareOutput, error) { @@ -588,14 +588,13 @@ const opDisassociateResourceShare = "DisassociateResourceShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateResourceShareRequest method. +// req, resp := client.DisassociateResourceShareRequest(params) // -// // Example sending a request using the DisassociateResourceShareRequest method. -// req, resp := client.DisassociateResourceShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceShare func (c *RAM) DisassociateResourceShareRequest(input *DisassociateResourceShareInput) (req *request.Request, output *DisassociateResourceShareOutput) { @@ -627,37 +626,38 @@ func (c *RAM) DisassociateResourceShareRequest(input *DisassociateResourceShareI // API operation DisassociateResourceShare for usage and error information. // // Returned Error Types: -// * IdempotentParameterMismatchException -// The client token input parameter was matched one used with a previous call -// to the operation, but at least one of the other input parameters is different -// from the previous call. // -// * ResourceShareLimitExceededException -// This request would exceed the limit for resource shares for your account. +// - IdempotentParameterMismatchException +// The client token input parameter was matched one used with a previous call +// to the operation, but at least one of the other input parameters is different +// from the previous call. +// +// - ResourceShareLimitExceededException +// This request would exceed the limit for resource shares for your account. // -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. // -// * InvalidStateTransitionException -// The requested state transition is not valid. +// - InvalidStateTransitionException +// The requested state transition is not valid. // -// * InvalidClientTokenException -// The client token is not valid. +// - InvalidClientTokenException +// The client token is not valid. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidParameterException +// A parameter is not valid. // -// * OperationNotPermittedException -// The requested operation is not permitted. +// - OperationNotPermittedException +// The requested operation is not permitted. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ServiceUnavailableException -// The service is not available. +// - ServiceUnavailableException +// The service is not available. // -// * UnknownResourceException -// A specified resource was not found. +// - UnknownResourceException +// A specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceShare func (c *RAM) DisassociateResourceShare(input *DisassociateResourceShareInput) (*DisassociateResourceShareOutput, error) { @@ -697,14 +697,13 @@ const opDisassociateResourceSharePermission = "DisassociateResourceSharePermissi // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateResourceSharePermissionRequest method. +// req, resp := client.DisassociateResourceSharePermissionRequest(params) // -// // Example sending a request using the DisassociateResourceSharePermissionRequest method. -// req, resp := client.DisassociateResourceSharePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceSharePermission func (c *RAM) DisassociateResourceSharePermissionRequest(input *DisassociateResourceSharePermissionInput) (req *request.Request, output *DisassociateResourceSharePermissionOutput) { @@ -738,29 +737,30 @@ func (c *RAM) DisassociateResourceSharePermissionRequest(input *DisassociateReso // API operation DisassociateResourceSharePermission for usage and error information. // // Returned Error Types: -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. // -// * UnknownResourceException -// A specified resource was not found. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. +// +// - UnknownResourceException +// A specified resource was not found. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidParameterException +// A parameter is not valid. // -// * InvalidClientTokenException -// The client token is not valid. +// - InvalidClientTokenException +// The client token is not valid. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ServiceUnavailableException -// The service is not available. +// - ServiceUnavailableException +// The service is not available. // -// * OperationNotPermittedException -// The requested operation is not permitted. +// - OperationNotPermittedException +// The requested operation is not permitted. // -// * InvalidStateTransitionException -// The requested state transition is not valid. +// - InvalidStateTransitionException +// The requested state transition is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/DisassociateResourceSharePermission func (c *RAM) DisassociateResourceSharePermission(input *DisassociateResourceSharePermissionInput) (*DisassociateResourceSharePermissionOutput, error) { @@ -800,14 +800,13 @@ const opEnableSharingWithAwsOrganization = "EnableSharingWithAwsOrganization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableSharingWithAwsOrganizationRequest method. +// req, resp := client.EnableSharingWithAwsOrganizationRequest(params) // -// // Example sending a request using the EnableSharingWithAwsOrganizationRequest method. -// req, resp := client.EnableSharingWithAwsOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/EnableSharingWithAwsOrganization func (c *RAM) EnableSharingWithAwsOrganizationRequest(input *EnableSharingWithAwsOrganizationInput) (req *request.Request, output *EnableSharingWithAwsOrganizationOutput) { @@ -847,14 +846,15 @@ func (c *RAM) EnableSharingWithAwsOrganizationRequest(input *EnableSharingWithAw // API operation EnableSharingWithAwsOrganization for usage and error information. // // Returned Error Types: -// * OperationNotPermittedException -// The requested operation is not permitted. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - OperationNotPermittedException +// The requested operation is not permitted. +// +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ServiceUnavailableException -// The service is not available. +// - ServiceUnavailableException +// The service is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/EnableSharingWithAwsOrganization func (c *RAM) EnableSharingWithAwsOrganization(input *EnableSharingWithAwsOrganizationInput) (*EnableSharingWithAwsOrganizationOutput, error) { @@ -894,14 +894,13 @@ const opGetPermission = "GetPermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPermissionRequest method. +// req, resp := client.GetPermissionRequest(params) // -// // Example sending a request using the GetPermissionRequest method. -// req, resp := client.GetPermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermission func (c *RAM) GetPermissionRequest(input *GetPermissionInput) (req *request.Request, output *GetPermissionOutput) { @@ -932,23 +931,24 @@ func (c *RAM) GetPermissionRequest(input *GetPermissionInput) (req *request.Requ // API operation GetPermission for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is not valid. // -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. +// - InvalidParameterException +// A parameter is not valid. +// +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. // -// * UnknownResourceException -// A specified resource was not found. +// - UnknownResourceException +// A specified resource was not found. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ServiceUnavailableException -// The service is not available. +// - ServiceUnavailableException +// The service is not available. // -// * OperationNotPermittedException -// The requested operation is not permitted. +// - OperationNotPermittedException +// The requested operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetPermission func (c *RAM) GetPermission(input *GetPermissionInput) (*GetPermissionOutput, error) { @@ -988,14 +988,13 @@ const opGetResourcePolicies = "GetResourcePolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourcePoliciesRequest method. +// req, resp := client.GetResourcePoliciesRequest(params) // -// // Example sending a request using the GetResourcePoliciesRequest method. -// req, resp := client.GetResourcePoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourcePolicies func (c *RAM) GetResourcePoliciesRequest(input *GetResourcePoliciesInput) (req *request.Request, output *GetResourcePoliciesOutput) { @@ -1033,23 +1032,24 @@ func (c *RAM) GetResourcePoliciesRequest(input *GetResourcePoliciesInput) (req * // API operation GetResourcePolicies for usage and error information. // // Returned Error Types: -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. // -// * InvalidNextTokenException -// The specified value for NextToken is not valid. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. +// +// - InvalidNextTokenException +// The specified value for NextToken is not valid. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidParameterException +// A parameter is not valid. // -// * ResourceArnNotFoundException -// The specified Amazon Resource Name (ARN) was not found. +// - ResourceArnNotFoundException +// The specified Amazon Resource Name (ARN) was not found. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ServiceUnavailableException -// The service is not available. +// - ServiceUnavailableException +// The service is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourcePolicies func (c *RAM) GetResourcePolicies(input *GetResourcePoliciesInput) (*GetResourcePoliciesOutput, error) { @@ -1081,15 +1081,14 @@ func (c *RAM) GetResourcePoliciesWithContext(ctx aws.Context, input *GetResource // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetResourcePolicies operation. -// pageNum := 0 -// err := client.GetResourcePoliciesPages(params, -// func(page *ram.GetResourcePoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetResourcePolicies operation. +// pageNum := 0 +// err := client.GetResourcePoliciesPages(params, +// func(page *ram.GetResourcePoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RAM) GetResourcePoliciesPages(input *GetResourcePoliciesInput, fn func(*GetResourcePoliciesOutput, bool) bool) error { return c.GetResourcePoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1141,14 +1140,13 @@ const opGetResourceShareAssociations = "GetResourceShareAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceShareAssociationsRequest method. +// req, resp := client.GetResourceShareAssociationsRequest(params) // -// // Example sending a request using the GetResourceShareAssociationsRequest method. -// req, resp := client.GetResourceShareAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareAssociations func (c *RAM) GetResourceShareAssociationsRequest(input *GetResourceShareAssociationsInput) (req *request.Request, output *GetResourceShareAssociationsOutput) { @@ -1186,26 +1184,27 @@ func (c *RAM) GetResourceShareAssociationsRequest(input *GetResourceShareAssocia // API operation GetResourceShareAssociations for usage and error information. // // Returned Error Types: -// * UnknownResourceException -// A specified resource was not found. // -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. +// - UnknownResourceException +// A specified resource was not found. // -// * InvalidNextTokenException -// The specified value for NextToken is not valid. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidNextTokenException +// The specified value for NextToken is not valid. // -// * OperationNotPermittedException -// The requested operation is not permitted. +// - InvalidParameterException +// A parameter is not valid. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - OperationNotPermittedException +// The requested operation is not permitted. // -// * ServiceUnavailableException -// The service is not available. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. +// +// - ServiceUnavailableException +// The service is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareAssociations func (c *RAM) GetResourceShareAssociations(input *GetResourceShareAssociationsInput) (*GetResourceShareAssociationsOutput, error) { @@ -1237,15 +1236,14 @@ func (c *RAM) GetResourceShareAssociationsWithContext(ctx aws.Context, input *Ge // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetResourceShareAssociations operation. -// pageNum := 0 -// err := client.GetResourceShareAssociationsPages(params, -// func(page *ram.GetResourceShareAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetResourceShareAssociations operation. +// pageNum := 0 +// err := client.GetResourceShareAssociationsPages(params, +// func(page *ram.GetResourceShareAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RAM) GetResourceShareAssociationsPages(input *GetResourceShareAssociationsInput, fn func(*GetResourceShareAssociationsOutput, bool) bool) error { return c.GetResourceShareAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1297,14 +1295,13 @@ const opGetResourceShareInvitations = "GetResourceShareInvitations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceShareInvitationsRequest method. +// req, resp := client.GetResourceShareInvitationsRequest(params) // -// // Example sending a request using the GetResourceShareInvitationsRequest method. -// req, resp := client.GetResourceShareInvitationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareInvitations func (c *RAM) GetResourceShareInvitationsRequest(input *GetResourceShareInvitationsInput) (req *request.Request, output *GetResourceShareInvitationsOutput) { @@ -1341,29 +1338,30 @@ func (c *RAM) GetResourceShareInvitationsRequest(input *GetResourceShareInvitati // API operation GetResourceShareInvitations for usage and error information. // // Returned Error Types: -// * ResourceShareInvitationArnNotFoundException -// The specified Amazon Resource Name (ARN) for an invitation was not found. // -// * InvalidMaxResultsException -// The specified value for MaxResults is not valid. +// - ResourceShareInvitationArnNotFoundException +// The specified Amazon Resource Name (ARN) for an invitation was not found. +// +// - InvalidMaxResultsException +// The specified value for MaxResults is not valid. // -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. // -// * UnknownResourceException -// A specified resource was not found. +// - UnknownResourceException +// A specified resource was not found. // -// * InvalidNextTokenException -// The specified value for NextToken is not valid. +// - InvalidNextTokenException +// The specified value for NextToken is not valid. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidParameterException +// A parameter is not valid. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ServiceUnavailableException -// The service is not available. +// - ServiceUnavailableException +// The service is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShareInvitations func (c *RAM) GetResourceShareInvitations(input *GetResourceShareInvitationsInput) (*GetResourceShareInvitationsOutput, error) { @@ -1395,15 +1393,14 @@ func (c *RAM) GetResourceShareInvitationsWithContext(ctx aws.Context, input *Get // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetResourceShareInvitations operation. -// pageNum := 0 -// err := client.GetResourceShareInvitationsPages(params, -// func(page *ram.GetResourceShareInvitationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetResourceShareInvitations operation. +// pageNum := 0 +// err := client.GetResourceShareInvitationsPages(params, +// func(page *ram.GetResourceShareInvitationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RAM) GetResourceShareInvitationsPages(input *GetResourceShareInvitationsInput, fn func(*GetResourceShareInvitationsOutput, bool) bool) error { return c.GetResourceShareInvitationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1455,14 +1452,13 @@ const opGetResourceShares = "GetResourceShares" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceSharesRequest method. +// req, resp := client.GetResourceSharesRequest(params) // -// // Example sending a request using the GetResourceSharesRequest method. -// req, resp := client.GetResourceSharesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShares func (c *RAM) GetResourceSharesRequest(input *GetResourceSharesInput) (req *request.Request, output *GetResourceSharesOutput) { @@ -1500,23 +1496,24 @@ func (c *RAM) GetResourceSharesRequest(input *GetResourceSharesInput) (req *requ // API operation GetResourceShares for usage and error information. // // Returned Error Types: -// * UnknownResourceException -// A specified resource was not found. // -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. +// - UnknownResourceException +// A specified resource was not found. // -// * InvalidNextTokenException -// The specified value for NextToken is not valid. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidNextTokenException +// The specified value for NextToken is not valid. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - InvalidParameterException +// A parameter is not valid. // -// * ServiceUnavailableException -// The service is not available. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. +// +// - ServiceUnavailableException +// The service is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/GetResourceShares func (c *RAM) GetResourceShares(input *GetResourceSharesInput) (*GetResourceSharesOutput, error) { @@ -1548,15 +1545,14 @@ func (c *RAM) GetResourceSharesWithContext(ctx aws.Context, input *GetResourceSh // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetResourceShares operation. -// pageNum := 0 -// err := client.GetResourceSharesPages(params, -// func(page *ram.GetResourceSharesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetResourceShares operation. +// pageNum := 0 +// err := client.GetResourceSharesPages(params, +// func(page *ram.GetResourceSharesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RAM) GetResourceSharesPages(input *GetResourceSharesInput, fn func(*GetResourceSharesOutput, bool) bool) error { return c.GetResourceSharesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1608,14 +1604,13 @@ const opListPendingInvitationResources = "ListPendingInvitationResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPendingInvitationResourcesRequest method. +// req, resp := client.ListPendingInvitationResourcesRequest(params) // -// // Example sending a request using the ListPendingInvitationResourcesRequest method. -// req, resp := client.ListPendingInvitationResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPendingInvitationResources func (c *RAM) ListPendingInvitationResourcesRequest(input *ListPendingInvitationResourcesInput) (req *request.Request, output *ListPendingInvitationResourcesOutput) { @@ -1654,32 +1649,33 @@ func (c *RAM) ListPendingInvitationResourcesRequest(input *ListPendingInvitation // API operation ListPendingInvitationResources for usage and error information. // // Returned Error Types: -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. // -// * InvalidNextTokenException -// The specified value for NextToken is not valid. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidNextTokenException +// The specified value for NextToken is not valid. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - InvalidParameterException +// A parameter is not valid. // -// * ServiceUnavailableException -// The service is not available. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ResourceShareInvitationArnNotFoundException -// The specified Amazon Resource Name (ARN) for an invitation was not found. +// - ServiceUnavailableException +// The service is not available. // -// * MissingRequiredParameterException -// A required input parameter is missing. +// - ResourceShareInvitationArnNotFoundException +// The specified Amazon Resource Name (ARN) for an invitation was not found. // -// * ResourceShareInvitationAlreadyRejectedException -// The specified invitation was already rejected. +// - MissingRequiredParameterException +// A required input parameter is missing. // -// * ResourceShareInvitationExpiredException -// The specified invitation is expired. +// - ResourceShareInvitationAlreadyRejectedException +// The specified invitation was already rejected. +// +// - ResourceShareInvitationExpiredException +// The specified invitation is expired. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPendingInvitationResources func (c *RAM) ListPendingInvitationResources(input *ListPendingInvitationResourcesInput) (*ListPendingInvitationResourcesOutput, error) { @@ -1711,15 +1707,14 @@ func (c *RAM) ListPendingInvitationResourcesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPendingInvitationResources operation. -// pageNum := 0 -// err := client.ListPendingInvitationResourcesPages(params, -// func(page *ram.ListPendingInvitationResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPendingInvitationResources operation. +// pageNum := 0 +// err := client.ListPendingInvitationResourcesPages(params, +// func(page *ram.ListPendingInvitationResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RAM) ListPendingInvitationResourcesPages(input *ListPendingInvitationResourcesInput, fn func(*ListPendingInvitationResourcesOutput, bool) bool) error { return c.ListPendingInvitationResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1771,14 +1766,13 @@ const opListPermissionVersions = "ListPermissionVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPermissionVersionsRequest method. +// req, resp := client.ListPermissionVersionsRequest(params) // -// // Example sending a request using the ListPermissionVersionsRequest method. -// req, resp := client.ListPermissionVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissionVersions func (c *RAM) ListPermissionVersionsRequest(input *ListPermissionVersionsInput) (req *request.Request, output *ListPermissionVersionsOutput) { @@ -1815,26 +1809,27 @@ func (c *RAM) ListPermissionVersionsRequest(input *ListPermissionVersionsInput) // API operation ListPermissionVersions for usage and error information. // // Returned Error Types: -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. // -// * UnknownResourceException -// A specified resource was not found. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. +// +// - UnknownResourceException +// A specified resource was not found. // -// * InvalidNextTokenException -// The specified value for NextToken is not valid. +// - InvalidNextTokenException +// The specified value for NextToken is not valid. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ServiceUnavailableException -// The service is not available. +// - ServiceUnavailableException +// The service is not available. // -// * OperationNotPermittedException -// The requested operation is not permitted. +// - OperationNotPermittedException +// The requested operation is not permitted. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidParameterException +// A parameter is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissionVersions func (c *RAM) ListPermissionVersions(input *ListPermissionVersionsInput) (*ListPermissionVersionsOutput, error) { @@ -1866,15 +1861,14 @@ func (c *RAM) ListPermissionVersionsWithContext(ctx aws.Context, input *ListPerm // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPermissionVersions operation. -// pageNum := 0 -// err := client.ListPermissionVersionsPages(params, -// func(page *ram.ListPermissionVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPermissionVersions operation. +// pageNum := 0 +// err := client.ListPermissionVersionsPages(params, +// func(page *ram.ListPermissionVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RAM) ListPermissionVersionsPages(input *ListPermissionVersionsInput, fn func(*ListPermissionVersionsOutput, bool) bool) error { return c.ListPermissionVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1926,14 +1920,13 @@ const opListPermissions = "ListPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPermissionsRequest method. +// req, resp := client.ListPermissionsRequest(params) // -// // Example sending a request using the ListPermissionsRequest method. -// req, resp := client.ListPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissions func (c *RAM) ListPermissionsRequest(input *ListPermissionsInput) (req *request.Request, output *ListPermissionsOutput) { @@ -1971,20 +1964,21 @@ func (c *RAM) ListPermissionsRequest(input *ListPermissionsInput) (req *request. // API operation ListPermissions for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is not valid. // -// * InvalidNextTokenException -// The specified value for NextToken is not valid. +// - InvalidParameterException +// A parameter is not valid. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - InvalidNextTokenException +// The specified value for NextToken is not valid. // -// * ServiceUnavailableException -// The service is not available. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * OperationNotPermittedException -// The requested operation is not permitted. +// - ServiceUnavailableException +// The service is not available. +// +// - OperationNotPermittedException +// The requested operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPermissions func (c *RAM) ListPermissions(input *ListPermissionsInput) (*ListPermissionsOutput, error) { @@ -2016,15 +2010,14 @@ func (c *RAM) ListPermissionsWithContext(ctx aws.Context, input *ListPermissions // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPermissions operation. -// pageNum := 0 -// err := client.ListPermissionsPages(params, -// func(page *ram.ListPermissionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPermissions operation. +// pageNum := 0 +// err := client.ListPermissionsPages(params, +// func(page *ram.ListPermissionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RAM) ListPermissionsPages(input *ListPermissionsInput, fn func(*ListPermissionsOutput, bool) bool) error { return c.ListPermissionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2076,14 +2069,13 @@ const opListPrincipals = "ListPrincipals" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPrincipalsRequest method. +// req, resp := client.ListPrincipalsRequest(params) // -// // Example sending a request using the ListPrincipalsRequest method. -// req, resp := client.ListPrincipalsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPrincipals func (c *RAM) ListPrincipalsRequest(input *ListPrincipalsInput) (req *request.Request, output *ListPrincipalsOutput) { @@ -2121,23 +2113,24 @@ func (c *RAM) ListPrincipalsRequest(input *ListPrincipalsInput) (req *request.Re // API operation ListPrincipals for usage and error information. // // Returned Error Types: -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. // -// * UnknownResourceException -// A specified resource was not found. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. +// +// - UnknownResourceException +// A specified resource was not found. // -// * InvalidNextTokenException -// The specified value for NextToken is not valid. +// - InvalidNextTokenException +// The specified value for NextToken is not valid. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidParameterException +// A parameter is not valid. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ServiceUnavailableException -// The service is not available. +// - ServiceUnavailableException +// The service is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListPrincipals func (c *RAM) ListPrincipals(input *ListPrincipalsInput) (*ListPrincipalsOutput, error) { @@ -2169,15 +2162,14 @@ func (c *RAM) ListPrincipalsWithContext(ctx aws.Context, input *ListPrincipalsIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPrincipals operation. -// pageNum := 0 -// err := client.ListPrincipalsPages(params, -// func(page *ram.ListPrincipalsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPrincipals operation. +// pageNum := 0 +// err := client.ListPrincipalsPages(params, +// func(page *ram.ListPrincipalsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RAM) ListPrincipalsPages(input *ListPrincipalsInput, fn func(*ListPrincipalsOutput, bool) bool) error { return c.ListPrincipalsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2229,14 +2221,13 @@ const opListResourceSharePermissions = "ListResourceSharePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourceSharePermissionsRequest method. +// req, resp := client.ListResourceSharePermissionsRequest(params) // -// // Example sending a request using the ListResourceSharePermissionsRequest method. -// req, resp := client.ListResourceSharePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissions func (c *RAM) ListResourceSharePermissionsRequest(input *ListResourceSharePermissionsInput) (req *request.Request, output *ListResourceSharePermissionsOutput) { @@ -2273,26 +2264,27 @@ func (c *RAM) ListResourceSharePermissionsRequest(input *ListResourceSharePermis // API operation ListResourceSharePermissions for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is not valid. // -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. +// - InvalidParameterException +// A parameter is not valid. // -// * UnknownResourceException -// A specified resource was not found. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. // -// * InvalidNextTokenException -// The specified value for NextToken is not valid. +// - UnknownResourceException +// A specified resource was not found. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - InvalidNextTokenException +// The specified value for NextToken is not valid. // -// * ServiceUnavailableException -// The service is not available. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * OperationNotPermittedException -// The requested operation is not permitted. +// - ServiceUnavailableException +// The service is not available. +// +// - OperationNotPermittedException +// The requested operation is not permitted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceSharePermissions func (c *RAM) ListResourceSharePermissions(input *ListResourceSharePermissionsInput) (*ListResourceSharePermissionsOutput, error) { @@ -2324,15 +2316,14 @@ func (c *RAM) ListResourceSharePermissionsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResourceSharePermissions operation. -// pageNum := 0 -// err := client.ListResourceSharePermissionsPages(params, -// func(page *ram.ListResourceSharePermissionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResourceSharePermissions operation. +// pageNum := 0 +// err := client.ListResourceSharePermissionsPages(params, +// func(page *ram.ListResourceSharePermissionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RAM) ListResourceSharePermissionsPages(input *ListResourceSharePermissionsInput, fn func(*ListResourceSharePermissionsOutput, bool) bool) error { return c.ListResourceSharePermissionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2384,14 +2375,13 @@ const opListResourceTypes = "ListResourceTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourceTypesRequest method. +// req, resp := client.ListResourceTypesRequest(params) // -// // Example sending a request using the ListResourceTypesRequest method. -// req, resp := client.ListResourceTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceTypes func (c *RAM) ListResourceTypesRequest(input *ListResourceTypesInput) (req *request.Request, output *ListResourceTypesOutput) { @@ -2428,17 +2418,18 @@ func (c *RAM) ListResourceTypesRequest(input *ListResourceTypesInput) (req *requ // API operation ListResourceTypes for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The specified value for NextToken is not valid. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidNextTokenException +// The specified value for NextToken is not valid. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - InvalidParameterException +// A parameter is not valid. // -// * ServiceUnavailableException -// The service is not available. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. +// +// - ServiceUnavailableException +// The service is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResourceTypes func (c *RAM) ListResourceTypes(input *ListResourceTypesInput) (*ListResourceTypesOutput, error) { @@ -2470,15 +2461,14 @@ func (c *RAM) ListResourceTypesWithContext(ctx aws.Context, input *ListResourceT // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResourceTypes operation. -// pageNum := 0 -// err := client.ListResourceTypesPages(params, -// func(page *ram.ListResourceTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResourceTypes operation. +// pageNum := 0 +// err := client.ListResourceTypesPages(params, +// func(page *ram.ListResourceTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RAM) ListResourceTypesPages(input *ListResourceTypesInput, fn func(*ListResourceTypesOutput, bool) bool) error { return c.ListResourceTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2530,14 +2520,13 @@ const opListResources = "ListResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourcesRequest method. +// req, resp := client.ListResourcesRequest(params) // -// // Example sending a request using the ListResourcesRequest method. -// req, resp := client.ListResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResources func (c *RAM) ListResourcesRequest(input *ListResourcesInput) (req *request.Request, output *ListResourcesOutput) { @@ -2575,26 +2564,27 @@ func (c *RAM) ListResourcesRequest(input *ListResourcesInput) (req *request.Requ // API operation ListResources for usage and error information. // // Returned Error Types: -// * InvalidResourceTypeException -// The specified resource type is not valid. // -// * UnknownResourceException -// A specified resource was not found. +// - InvalidResourceTypeException +// The specified resource type is not valid. +// +// - UnknownResourceException +// A specified resource was not found. // -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. // -// * InvalidNextTokenException -// The specified value for NextToken is not valid. +// - InvalidNextTokenException +// The specified value for NextToken is not valid. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidParameterException +// A parameter is not valid. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ServiceUnavailableException -// The service is not available. +// - ServiceUnavailableException +// The service is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/ListResources func (c *RAM) ListResources(input *ListResourcesInput) (*ListResourcesOutput, error) { @@ -2626,15 +2616,14 @@ func (c *RAM) ListResourcesWithContext(ctx aws.Context, input *ListResourcesInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResources operation. -// pageNum := 0 -// err := client.ListResourcesPages(params, -// func(page *ram.ListResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResources operation. +// pageNum := 0 +// err := client.ListResourcesPages(params, +// func(page *ram.ListResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RAM) ListResourcesPages(input *ListResourcesInput, fn func(*ListResourcesOutput, bool) bool) error { return c.ListResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2686,14 +2675,13 @@ const opPromoteResourceShareCreatedFromPolicy = "PromoteResourceShareCreatedFrom // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PromoteResourceShareCreatedFromPolicyRequest method. +// req, resp := client.PromoteResourceShareCreatedFromPolicyRequest(params) // -// // Example sending a request using the PromoteResourceShareCreatedFromPolicyRequest method. -// req, resp := client.PromoteResourceShareCreatedFromPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PromoteResourceShareCreatedFromPolicy func (c *RAM) PromoteResourceShareCreatedFromPolicyRequest(input *PromoteResourceShareCreatedFromPolicyInput) (req *request.Request, output *PromoteResourceShareCreatedFromPolicyOutput) { @@ -2732,29 +2720,30 @@ func (c *RAM) PromoteResourceShareCreatedFromPolicyRequest(input *PromoteResourc // API operation PromoteResourceShareCreatedFromPolicy for usage and error information. // // Returned Error Types: -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. // -// * ResourceShareLimitExceededException -// This request would exceed the limit for resource shares for your account. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. // -// * OperationNotPermittedException -// The requested operation is not permitted. +// - ResourceShareLimitExceededException +// This request would exceed the limit for resource shares for your account. // -// * InvalidParameterException -// A parameter is not valid. +// - OperationNotPermittedException +// The requested operation is not permitted. // -// * MissingRequiredParameterException -// A required input parameter is missing. +// - InvalidParameterException +// A parameter is not valid. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - MissingRequiredParameterException +// A required input parameter is missing. // -// * ServiceUnavailableException -// The service is not available. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * UnknownResourceException -// A specified resource was not found. +// - ServiceUnavailableException +// The service is not available. +// +// - UnknownResourceException +// A specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/PromoteResourceShareCreatedFromPolicy func (c *RAM) PromoteResourceShareCreatedFromPolicy(input *PromoteResourceShareCreatedFromPolicyInput) (*PromoteResourceShareCreatedFromPolicyOutput, error) { @@ -2794,14 +2783,13 @@ const opRejectResourceShareInvitation = "RejectResourceShareInvitation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectResourceShareInvitationRequest method. +// req, resp := client.RejectResourceShareInvitationRequest(params) // -// // Example sending a request using the RejectResourceShareInvitationRequest method. -// req, resp := client.RejectResourceShareInvitationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/RejectResourceShareInvitation func (c *RAM) RejectResourceShareInvitationRequest(input *RejectResourceShareInvitationInput) (req *request.Request, output *RejectResourceShareInvitationOutput) { @@ -2833,37 +2821,38 @@ func (c *RAM) RejectResourceShareInvitationRequest(input *RejectResourceShareInv // API operation RejectResourceShareInvitation for usage and error information. // // Returned Error Types: -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. // -// * OperationNotPermittedException -// The requested operation is not permitted. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. // -// * ResourceShareInvitationArnNotFoundException -// The specified Amazon Resource Name (ARN) for an invitation was not found. +// - OperationNotPermittedException +// The requested operation is not permitted. // -// * ResourceShareInvitationAlreadyAcceptedException -// The specified invitation was already accepted. +// - ResourceShareInvitationArnNotFoundException +// The specified Amazon Resource Name (ARN) for an invitation was not found. // -// * ResourceShareInvitationAlreadyRejectedException -// The specified invitation was already rejected. +// - ResourceShareInvitationAlreadyAcceptedException +// The specified invitation was already accepted. // -// * ResourceShareInvitationExpiredException -// The specified invitation is expired. +// - ResourceShareInvitationAlreadyRejectedException +// The specified invitation was already rejected. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - ResourceShareInvitationExpiredException +// The specified invitation is expired. // -// * ServiceUnavailableException -// The service is not available. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * InvalidClientTokenException -// The client token is not valid. +// - ServiceUnavailableException +// The service is not available. // -// * IdempotentParameterMismatchException -// The client token input parameter was matched one used with a previous call -// to the operation, but at least one of the other input parameters is different -// from the previous call. +// - InvalidClientTokenException +// The client token is not valid. +// +// - IdempotentParameterMismatchException +// The client token input parameter was matched one used with a previous call +// to the operation, but at least one of the other input parameters is different +// from the previous call. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/RejectResourceShareInvitation func (c *RAM) RejectResourceShareInvitation(input *RejectResourceShareInvitationInput) (*RejectResourceShareInvitationOutput, error) { @@ -2903,14 +2892,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/TagResource func (c *RAM) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2944,29 +2932,30 @@ func (c *RAM) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is not valid. // -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. +// - InvalidParameterException +// A parameter is not valid. // -// * UnknownResourceException -// A specified resource was not found. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. // -// * TagLimitExceededException -// This request would exceed the limit for tags for your account. +// - UnknownResourceException +// A specified resource was not found. // -// * ResourceArnNotFoundException -// The specified Amazon Resource Name (ARN) was not found. +// - TagLimitExceededException +// This request would exceed the limit for tags for your account. // -// * TagPolicyViolationException -// The specified tag key is a reserved word and can't be used. +// - ResourceArnNotFoundException +// The specified Amazon Resource Name (ARN) was not found. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - TagPolicyViolationException +// The specified tag key is a reserved word and can't be used. // -// * ServiceUnavailableException -// The service is not available. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. +// +// - ServiceUnavailableException +// The service is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/TagResource func (c *RAM) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3006,14 +2995,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UntagResource func (c *RAM) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3046,14 +3034,15 @@ func (c *RAM) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter is not valid. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - InvalidParameterException +// A parameter is not valid. // -// * ServiceUnavailableException -// The service is not available. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. +// +// - ServiceUnavailableException +// The service is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UntagResource func (c *RAM) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3093,14 +3082,13 @@ const opUpdateResourceShare = "UpdateResourceShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResourceShareRequest method. +// req, resp := client.UpdateResourceShareRequest(params) // -// // Example sending a request using the UpdateResourceShareRequest method. -// req, resp := client.UpdateResourceShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UpdateResourceShare func (c *RAM) UpdateResourceShareRequest(input *UpdateResourceShareInput) (req *request.Request, output *UpdateResourceShareOutput) { @@ -3131,34 +3119,35 @@ func (c *RAM) UpdateResourceShareRequest(input *UpdateResourceShareInput) (req * // API operation UpdateResourceShare for usage and error information. // // Returned Error Types: -// * IdempotentParameterMismatchException -// The client token input parameter was matched one used with a previous call -// to the operation, but at least one of the other input parameters is different -// from the previous call. // -// * MissingRequiredParameterException -// A required input parameter is missing. +// - IdempotentParameterMismatchException +// The client token input parameter was matched one used with a previous call +// to the operation, but at least one of the other input parameters is different +// from the previous call. +// +// - MissingRequiredParameterException +// A required input parameter is missing. // -// * UnknownResourceException -// A specified resource was not found. +// - UnknownResourceException +// A specified resource was not found. // -// * MalformedArnException -// The format of an Amazon Resource Name (ARN) is not valid. +// - MalformedArnException +// The format of an Amazon Resource Name (ARN) is not valid. // -// * InvalidClientTokenException -// The client token is not valid. +// - InvalidClientTokenException +// The client token is not valid. // -// * InvalidParameterException -// A parameter is not valid. +// - InvalidParameterException +// A parameter is not valid. // -// * OperationNotPermittedException -// The requested operation is not permitted. +// - OperationNotPermittedException +// The requested operation is not permitted. // -// * ServerInternalException -// The service could not respond to the request due to an internal problem. +// - ServerInternalException +// The service could not respond to the request due to an internal problem. // -// * ServiceUnavailableException -// The service is not available. +// - ServiceUnavailableException +// The service is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04/UpdateResourceShare func (c *RAM) UpdateResourceShare(input *UpdateResourceShareInput) (*UpdateResourceShareOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/doc.go index 4dfa50a29ebc..39061b61279f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/doc.go @@ -15,16 +15,16 @@ // // To learn more about RAM, see the following resources: // -// * Resource Access Manager product page (http://aws.amazon.com/ram) +// - Resource Access Manager product page (http://aws.amazon.com/ram) // -// * Resource Access Manager User Guide (https://docs.aws.amazon.com/ram/latest/userguide/) +// - Resource Access Manager User Guide (https://docs.aws.amazon.com/ram/latest/userguide/) // // See https://docs.aws.amazon.com/goto/WebAPI/ram-2018-01-04 for more information on this service. // // See ram package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ram/ // -// Using the Client +// # Using the Client // // To contact AWS Resource Access Manager with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/ramiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/ramiface/interface.go index 9a20a9ee48a2..f12ea4fca74c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/ramiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/ramiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Resource Access Manager. -// func myFunc(svc ramiface.RAMAPI) bool { -// // Make svc.AcceptResourceShareInvitation request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Resource Access Manager. +// func myFunc(svc ramiface.RAMAPI) bool { +// // Make svc.AcceptResourceShareInvitation request +// } // -// func main() { -// sess := session.New() -// svc := ram.New(sess) +// func main() { +// sess := session.New() +// svc := ram.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRAMClient struct { -// ramiface.RAMAPI -// } -// func (m *mockRAMClient) AcceptResourceShareInvitation(input *ram.AcceptResourceShareInvitationInput) (*ram.AcceptResourceShareInvitationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRAMClient struct { +// ramiface.RAMAPI +// } +// func (m *mockRAMClient) AcceptResourceShareInvitation(input *ram.AcceptResourceShareInvitationInput) (*ram.AcceptResourceShareInvitationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRAMClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRAMClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/service.go index 7dd4a2e5df29..40666c005960 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ram/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a RAM client from just a session. -// svc := ram.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a RAM client with additional configuration -// svc := ram.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a RAM client from just a session. +// svc := ram.New(mySession) +// +// // Create a RAM client with additional configuration +// svc := ram.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *RAM { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/api.go index a3ed10af6e88..2b02deb9dac9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/api.go @@ -29,14 +29,13 @@ const opAddRoleToDBCluster = "AddRoleToDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddRoleToDBClusterRequest method. +// req, resp := client.AddRoleToDBClusterRequest(params) // -// // Example sending a request using the AddRoleToDBClusterRequest method. -// req, resp := client.AddRoleToDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBCluster func (c *RDS) AddRoleToDBClusterRequest(input *AddRoleToDBClusterInput) (req *request.Request, output *AddRoleToDBClusterOutput) { @@ -68,19 +67,20 @@ func (c *RDS) AddRoleToDBClusterRequest(input *AddRoleToDBClusterInput) (req *re // API operation AddRoleToDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeDBClusterRoleAlreadyExistsFault "DBClusterRoleAlreadyExists" -// The specified IAM role Amazon Resource Name (ARN) is already associated with -// the specified DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. +// +// - ErrCodeDBClusterRoleAlreadyExistsFault "DBClusterRoleAlreadyExists" +// The specified IAM role Amazon Resource Name (ARN) is already associated with +// the specified DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeDBClusterRoleQuotaExceededFault "DBClusterRoleQuotaExceeded" -// You have exceeded the maximum number of IAM roles that can be associated -// with the specified DB cluster. +// - ErrCodeDBClusterRoleQuotaExceededFault "DBClusterRoleQuotaExceeded" +// You have exceeded the maximum number of IAM roles that can be associated +// with the specified DB cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBCluster func (c *RDS) AddRoleToDBCluster(input *AddRoleToDBClusterInput) (*AddRoleToDBClusterOutput, error) { @@ -120,14 +120,13 @@ const opAddRoleToDBInstance = "AddRoleToDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddRoleToDBInstanceRequest method. +// req, resp := client.AddRoleToDBInstanceRequest(params) // -// // Example sending a request using the AddRoleToDBInstanceRequest method. -// req, resp := client.AddRoleToDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBInstance func (c *RDS) AddRoleToDBInstanceRequest(input *AddRoleToDBInstanceInput) (req *request.Request, output *AddRoleToDBInstanceOutput) { @@ -164,19 +163,20 @@ func (c *RDS) AddRoleToDBInstanceRequest(input *AddRoleToDBInstanceInput) (req * // API operation AddRoleToDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeDBInstanceRoleAlreadyExistsFault "DBInstanceRoleAlreadyExists" -// The specified RoleArn or FeatureName value is already associated with the -// DB instance. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeDBInstanceRoleAlreadyExistsFault "DBInstanceRoleAlreadyExists" +// The specified RoleArn or FeatureName value is already associated with the +// DB instance. // -// * ErrCodeDBInstanceRoleQuotaExceededFault "DBInstanceRoleQuotaExceeded" -// You can't associate any more Amazon Web Services Identity and Access Management -// (IAM) roles with the DB instance because the quota has been reached. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. +// +// - ErrCodeDBInstanceRoleQuotaExceededFault "DBInstanceRoleQuotaExceeded" +// You can't associate any more Amazon Web Services Identity and Access Management +// (IAM) roles with the DB instance because the quota has been reached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddRoleToDBInstance func (c *RDS) AddRoleToDBInstance(input *AddRoleToDBInstanceInput) (*AddRoleToDBInstanceOutput, error) { @@ -216,14 +216,13 @@ const opAddSourceIdentifierToSubscription = "AddSourceIdentifierToSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddSourceIdentifierToSubscriptionRequest method. +// req, resp := client.AddSourceIdentifierToSubscriptionRequest(params) // -// // Example sending a request using the AddSourceIdentifierToSubscriptionRequest method. -// req, resp := client.AddSourceIdentifierToSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddSourceIdentifierToSubscription func (c *RDS) AddSourceIdentifierToSubscriptionRequest(input *AddSourceIdentifierToSubscriptionInput) (req *request.Request, output *AddSourceIdentifierToSubscriptionOutput) { @@ -254,11 +253,12 @@ func (c *RDS) AddSourceIdentifierToSubscriptionRequest(input *AddSourceIdentifie // API operation AddSourceIdentifierToSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// The subscription name does not exist. // -// * ErrCodeSourceNotFoundFault "SourceNotFound" -// The requested source could not be found. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// The subscription name does not exist. +// +// - ErrCodeSourceNotFoundFault "SourceNotFound" +// The requested source could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddSourceIdentifierToSubscription func (c *RDS) AddSourceIdentifierToSubscription(input *AddSourceIdentifierToSubscriptionInput) (*AddSourceIdentifierToSubscriptionOutput, error) { @@ -298,14 +298,13 @@ const opAddTagsToResource = "AddTagsToResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsToResourceRequest method. +// req, resp := client.AddTagsToResourceRequest(params) // -// // Example sending a request using the AddTagsToResourceRequest method. -// req, resp := client.AddTagsToResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResource func (c *RDS) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput) { @@ -342,22 +341,23 @@ func (c *RDS) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *requ // API operation AddTagsToResource for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" -// The specified proxy name doesn't correspond to a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. // -// * ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" -// The specified target group isn't available for a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" +// The specified proxy name doesn't correspond to a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. +// +// - ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" +// The specified target group isn't available for a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AddTagsToResource func (c *RDS) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error) { @@ -397,14 +397,13 @@ const opApplyPendingMaintenanceAction = "ApplyPendingMaintenanceAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ApplyPendingMaintenanceActionRequest method. +// req, resp := client.ApplyPendingMaintenanceActionRequest(params) // -// // Example sending a request using the ApplyPendingMaintenanceActionRequest method. -// req, resp := client.ApplyPendingMaintenanceActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ApplyPendingMaintenanceAction func (c *RDS) ApplyPendingMaintenanceActionRequest(input *ApplyPendingMaintenanceActionInput) (req *request.Request, output *ApplyPendingMaintenanceActionOutput) { @@ -436,14 +435,15 @@ func (c *RDS) ApplyPendingMaintenanceActionRequest(input *ApplyPendingMaintenanc // API operation ApplyPendingMaintenanceAction for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" -// The specified resource ID was not found. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The specified resource ID was not found. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ApplyPendingMaintenanceAction func (c *RDS) ApplyPendingMaintenanceAction(input *ApplyPendingMaintenanceActionInput) (*ApplyPendingMaintenanceActionOutput, error) { @@ -483,14 +483,13 @@ const opAuthorizeDBSecurityGroupIngress = "AuthorizeDBSecurityGroupIngress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AuthorizeDBSecurityGroupIngressRequest method. +// req, resp := client.AuthorizeDBSecurityGroupIngressRequest(params) // -// // Example sending a request using the AuthorizeDBSecurityGroupIngressRequest method. -// req, resp := client.AuthorizeDBSecurityGroupIngressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngress func (c *RDS) AuthorizeDBSecurityGroupIngressRequest(input *AuthorizeDBSecurityGroupIngressInput) (req *request.Request, output *AuthorizeDBSecurityGroupIngressOutput) { @@ -534,18 +533,19 @@ func (c *RDS) AuthorizeDBSecurityGroupIngressRequest(input *AuthorizeDBSecurityG // API operation AuthorizeDBSecurityGroupIngress for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" -// DBSecurityGroupName doesn't refer to an existing DB security group. // -// * ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" -// The state of the DB security group doesn't allow deletion. +// - ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" +// DBSecurityGroupName doesn't refer to an existing DB security group. // -// * ErrCodeAuthorizationAlreadyExistsFault "AuthorizationAlreadyExists" -// The specified CIDR IP range or Amazon EC2 security group is already authorized -// for the specified DB security group. +// - ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" +// The state of the DB security group doesn't allow deletion. // -// * ErrCodeAuthorizationQuotaExceededFault "AuthorizationQuotaExceeded" -// The DB security group authorization quota has been reached. +// - ErrCodeAuthorizationAlreadyExistsFault "AuthorizationAlreadyExists" +// The specified CIDR IP range or Amazon EC2 security group is already authorized +// for the specified DB security group. +// +// - ErrCodeAuthorizationQuotaExceededFault "AuthorizationQuotaExceeded" +// The DB security group authorization quota has been reached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/AuthorizeDBSecurityGroupIngress func (c *RDS) AuthorizeDBSecurityGroupIngress(input *AuthorizeDBSecurityGroupIngressInput) (*AuthorizeDBSecurityGroupIngressOutput, error) { @@ -585,14 +585,13 @@ const opBacktrackDBCluster = "BacktrackDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BacktrackDBClusterRequest method. +// req, resp := client.BacktrackDBClusterRequest(params) // -// // Example sending a request using the BacktrackDBClusterRequest method. -// req, resp := client.BacktrackDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/BacktrackDBCluster func (c *RDS) BacktrackDBClusterRequest(input *BacktrackDBClusterInput) (req *request.Request, output *BacktrackDBClusterOutput) { @@ -629,11 +628,12 @@ func (c *RDS) BacktrackDBClusterRequest(input *BacktrackDBClusterInput) (req *re // API operation BacktrackDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/BacktrackDBCluster func (c *RDS) BacktrackDBCluster(input *BacktrackDBClusterInput) (*BacktrackDBClusterOutput, error) { @@ -673,14 +673,13 @@ const opCancelExportTask = "CancelExportTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelExportTaskRequest method. +// req, resp := client.CancelExportTaskRequest(params) // -// // Example sending a request using the CancelExportTaskRequest method. -// req, resp := client.CancelExportTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CancelExportTask func (c *RDS) CancelExportTaskRequest(input *CancelExportTaskInput) (req *request.Request, output *CancelExportTaskOutput) { @@ -712,11 +711,12 @@ func (c *RDS) CancelExportTaskRequest(input *CancelExportTaskInput) (req *reques // API operation CancelExportTask for usage and error information. // // Returned Error Codes: -// * ErrCodeExportTaskNotFoundFault "ExportTaskNotFound" -// The export task doesn't exist. // -// * ErrCodeInvalidExportTaskStateFault "InvalidExportTaskStateFault" -// You can't cancel an export task that has completed. +// - ErrCodeExportTaskNotFoundFault "ExportTaskNotFound" +// The export task doesn't exist. +// +// - ErrCodeInvalidExportTaskStateFault "InvalidExportTaskStateFault" +// You can't cancel an export task that has completed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CancelExportTask func (c *RDS) CancelExportTask(input *CancelExportTaskInput) (*CancelExportTaskOutput, error) { @@ -756,14 +756,13 @@ const opCopyDBClusterParameterGroup = "CopyDBClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyDBClusterParameterGroupRequest method. +// req, resp := client.CopyDBClusterParameterGroupRequest(params) // -// // Example sending a request using the CopyDBClusterParameterGroupRequest method. -// req, resp := client.CopyDBClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroup func (c *RDS) CopyDBClusterParameterGroupRequest(input *CopyDBClusterParameterGroupInput) (req *request.Request, output *CopyDBClusterParameterGroupOutput) { @@ -794,15 +793,16 @@ func (c *RDS) CopyDBClusterParameterGroupRequest(input *CopyDBClusterParameterGr // API operation CopyDBClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. // -// * ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB parameter -// groups. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. // -// * ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" -// A DB parameter group with the same name exists. +// - ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB parameter +// groups. +// +// - ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" +// A DB parameter group with the same name exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterParameterGroup func (c *RDS) CopyDBClusterParameterGroup(input *CopyDBClusterParameterGroupInput) (*CopyDBClusterParameterGroupOutput, error) { @@ -842,14 +842,13 @@ const opCopyDBClusterSnapshot = "CopyDBClusterSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyDBClusterSnapshotRequest method. +// req, resp := client.CopyDBClusterSnapshotRequest(params) // -// // Example sending a request using the CopyDBClusterSnapshotRequest method. -// req, resp := client.CopyDBClusterSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshot func (c *RDS) CopyDBClusterSnapshotRequest(input *CopyDBClusterSnapshotInput) (req *request.Request, output *CopyDBClusterSnapshotOutput) { @@ -881,47 +880,47 @@ func (c *RDS) CopyDBClusterSnapshotRequest(input *CopyDBClusterSnapshotInput) (r // cluster snapshot to be copied to. To copy an encrypted DB cluster snapshot // from another Amazon Web Services Region, you must provide the following values: // -// * KmsKeyId - The Amazon Web Services Key Management System (Amazon Web -// Services KMS) key identifier for the key to use to encrypt the copy of -// the DB cluster snapshot in the destination Amazon Web Services Region. -// -// * PreSignedUrl - A URL that contains a Signature Version 4 signed request -// for the CopyDBClusterSnapshot action to be called in the source Amazon -// Web Services Region where the DB cluster snapshot is copied from. The -// pre-signed URL must be a valid request for the CopyDBClusterSnapshot API -// action that can be executed in the source Amazon Web Services Region that -// contains the encrypted DB cluster snapshot to be copied. The pre-signed -// URL request must contain the following parameter values: KmsKeyId - The -// Amazon Web Services KMS key identifier for the KMS key to use to encrypt -// the copy of the DB cluster snapshot in the destination Amazon Web Services -// Region. This is the same identifier for both the CopyDBClusterSnapshot -// action that is called in the destination Amazon Web Services Region, and -// the action contained in the pre-signed URL. DestinationRegion - The name -// of the Amazon Web Services Region that the DB cluster snapshot is to be -// created in. SourceDBClusterSnapshotIdentifier - The DB cluster snapshot -// identifier for the encrypted DB cluster snapshot to be copied. This identifier -// must be in the Amazon Resource Name (ARN) format for the source Amazon -// Web Services Region. For example, if you are copying an encrypted DB cluster -// snapshot from the us-west-2 Amazon Web Services Region, then your SourceDBClusterSnapshotIdentifier -// looks like the following example: arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115. -// To learn how to generate a Signature Version 4 signed request, see Authenticating -// Requests: Using Query Parameters (Amazon Web Services Signature Version -// 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) -// and Signature Version 4 Signing Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). -// If you are using an Amazon Web Services SDK tool or the CLI, you can specify -// SourceRegion (or --source-region for the CLI) instead of specifying PreSignedUrl -// manually. Specifying SourceRegion autogenerates a pre-signed URL that -// is a valid request for the operation that can be executed in the source -// Amazon Web Services Region. -// -// * TargetDBClusterSnapshotIdentifier - The identifier for the new copy -// of the DB cluster snapshot in the destination Amazon Web Services Region. -// -// * SourceDBClusterSnapshotIdentifier - The DB cluster snapshot identifier -// for the encrypted DB cluster snapshot to be copied. This identifier must -// be in the ARN format for the source Amazon Web Services Region and is -// the same value as the SourceDBClusterSnapshotIdentifier in the pre-signed -// URL. +// - KmsKeyId - The Amazon Web Services Key Management System (Amazon Web +// Services KMS) key identifier for the key to use to encrypt the copy of +// the DB cluster snapshot in the destination Amazon Web Services Region. +// +// - PreSignedUrl - A URL that contains a Signature Version 4 signed request +// for the CopyDBClusterSnapshot action to be called in the source Amazon +// Web Services Region where the DB cluster snapshot is copied from. The +// pre-signed URL must be a valid request for the CopyDBClusterSnapshot API +// action that can be executed in the source Amazon Web Services Region that +// contains the encrypted DB cluster snapshot to be copied. The pre-signed +// URL request must contain the following parameter values: KmsKeyId - The +// Amazon Web Services KMS key identifier for the KMS key to use to encrypt +// the copy of the DB cluster snapshot in the destination Amazon Web Services +// Region. This is the same identifier for both the CopyDBClusterSnapshot +// action that is called in the destination Amazon Web Services Region, and +// the action contained in the pre-signed URL. DestinationRegion - The name +// of the Amazon Web Services Region that the DB cluster snapshot is to be +// created in. SourceDBClusterSnapshotIdentifier - The DB cluster snapshot +// identifier for the encrypted DB cluster snapshot to be copied. This identifier +// must be in the Amazon Resource Name (ARN) format for the source Amazon +// Web Services Region. For example, if you are copying an encrypted DB cluster +// snapshot from the us-west-2 Amazon Web Services Region, then your SourceDBClusterSnapshotIdentifier +// looks like the following example: arn:aws:rds:us-west-2:123456789012:cluster-snapshot:aurora-cluster1-snapshot-20161115. +// To learn how to generate a Signature Version 4 signed request, see Authenticating +// Requests: Using Query Parameters (Amazon Web Services Signature Version +// 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) +// and Signature Version 4 Signing Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). +// If you are using an Amazon Web Services SDK tool or the CLI, you can specify +// SourceRegion (or --source-region for the CLI) instead of specifying PreSignedUrl +// manually. Specifying SourceRegion autogenerates a pre-signed URL that +// is a valid request for the operation that can be executed in the source +// Amazon Web Services Region. +// +// - TargetDBClusterSnapshotIdentifier - The identifier for the new copy +// of the DB cluster snapshot in the destination Amazon Web Services Region. +// +// - SourceDBClusterSnapshotIdentifier - The DB cluster snapshot identifier +// for the encrypted DB cluster snapshot to be copied. This identifier must +// be in the ARN format for the source Amazon Web Services Region and is +// the same value as the SourceDBClusterSnapshotIdentifier in the pre-signed +// URL. // // To cancel the copy operation once it is in progress, delete the target DB // cluster snapshot identified by TargetDBClusterSnapshotIdentifier while that @@ -947,23 +946,24 @@ func (c *RDS) CopyDBClusterSnapshotRequest(input *CopyDBClusterSnapshotInput) (r // API operation CopyDBClusterSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" -// The user already has a DB cluster snapshot with the given identifier. // -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. +// - ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" +// The user already has a DB cluster snapshot with the given identifier. +// +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The supplied value isn't a valid DB cluster snapshot state. +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The supplied value isn't a valid DB cluster snapshot state. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB snapshots. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB snapshots. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBClusterSnapshot func (c *RDS) CopyDBClusterSnapshot(input *CopyDBClusterSnapshotInput) (*CopyDBClusterSnapshotOutput, error) { @@ -1003,14 +1003,13 @@ const opCopyDBParameterGroup = "CopyDBParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyDBParameterGroupRequest method. +// req, resp := client.CopyDBParameterGroupRequest(params) // -// // Example sending a request using the CopyDBParameterGroupRequest method. -// req, resp := client.CopyDBParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroup func (c *RDS) CopyDBParameterGroupRequest(input *CopyDBParameterGroupInput) (req *request.Request, output *CopyDBParameterGroupOutput) { @@ -1041,15 +1040,16 @@ func (c *RDS) CopyDBParameterGroupRequest(input *CopyDBParameterGroupInput) (req // API operation CopyDBParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. // -// * ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" -// A DB parameter group with the same name exists. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. +// +// - ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" +// A DB parameter group with the same name exists. // -// * ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB parameter -// groups. +// - ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB parameter +// groups. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBParameterGroup func (c *RDS) CopyDBParameterGroup(input *CopyDBParameterGroupInput) (*CopyDBParameterGroupOutput, error) { @@ -1089,14 +1089,13 @@ const opCopyDBSnapshot = "CopyDBSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyDBSnapshotRequest method. +// req, resp := client.CopyDBSnapshotRequest(params) // -// // Example sending a request using the CopyDBSnapshotRequest method. -// req, resp := client.CopyDBSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshot func (c *RDS) CopyDBSnapshotRequest(input *CopyDBSnapshotInput) (req *request.Request, output *CopyDBSnapshotOutput) { @@ -1138,24 +1137,25 @@ func (c *RDS) CopyDBSnapshotRequest(input *CopyDBSnapshotInput) (req *request.Re // API operation CopyDBSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" -// DBSnapshotIdentifier is already used by an existing snapshot. // -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. +// - ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" +// DBSnapshotIdentifier is already used by an existing snapshot. +// +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. // -// * ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" -// The state of the DB snapshot doesn't allow deletion. +// - ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" +// The state of the DB snapshot doesn't allow deletion. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB snapshots. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB snapshots. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // -// * ErrCodeCustomAvailabilityZoneNotFoundFault "CustomAvailabilityZoneNotFound" -// CustomAvailabilityZoneId doesn't refer to an existing custom Availability -// Zone identifier. +// - ErrCodeCustomAvailabilityZoneNotFoundFault "CustomAvailabilityZoneNotFound" +// CustomAvailabilityZoneId doesn't refer to an existing custom Availability +// Zone identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyDBSnapshot func (c *RDS) CopyDBSnapshot(input *CopyDBSnapshotInput) (*CopyDBSnapshotOutput, error) { @@ -1195,14 +1195,13 @@ const opCopyOptionGroup = "CopyOptionGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyOptionGroupRequest method. +// req, resp := client.CopyOptionGroupRequest(params) // -// // Example sending a request using the CopyOptionGroupRequest method. -// req, resp := client.CopyOptionGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroup func (c *RDS) CopyOptionGroupRequest(input *CopyOptionGroupInput) (req *request.Request, output *CopyOptionGroupOutput) { @@ -1233,14 +1232,15 @@ func (c *RDS) CopyOptionGroupRequest(input *CopyOptionGroupInput) (req *request. // API operation CopyOptionGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeOptionGroupAlreadyExistsFault "OptionGroupAlreadyExistsFault" -// The option group you are trying to create already exists. // -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The specified option group could not be found. +// - ErrCodeOptionGroupAlreadyExistsFault "OptionGroupAlreadyExistsFault" +// The option group you are trying to create already exists. +// +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The specified option group could not be found. // -// * ErrCodeOptionGroupQuotaExceededFault "OptionGroupQuotaExceededFault" -// The quota of 20 option groups was exceeded for this Amazon Web Services account. +// - ErrCodeOptionGroupQuotaExceededFault "OptionGroupQuotaExceededFault" +// The quota of 20 option groups was exceeded for this Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CopyOptionGroup func (c *RDS) CopyOptionGroup(input *CopyOptionGroupInput) (*CopyOptionGroupOutput, error) { @@ -1280,14 +1280,13 @@ const opCreateCustomDBEngineVersion = "CreateCustomDBEngineVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCustomDBEngineVersionRequest method. +// req, resp := client.CreateCustomDBEngineVersionRequest(params) // -// // Example sending a request using the CreateCustomDBEngineVersionRequest method. -// req, resp := client.CreateCustomDBEngineVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateCustomDBEngineVersion func (c *RDS) CreateCustomDBEngineVersionRequest(input *CreateCustomDBEngineVersionInput) (req *request.Request, output *CreateCustomDBEngineVersionOutput) { @@ -1311,11 +1310,11 @@ func (c *RDS) CreateCustomDBEngineVersionRequest(input *CreateCustomDBEngineVers // Creates a custom DB engine version (CEV). A CEV is a binary volume snapshot // of a database engine and specific AMI. The supported engines are the following: // -// * Oracle Database 12.1 Enterprise Edition with the January 2021 or later -// RU/RUR +// - Oracle Database 12.1 Enterprise Edition with the January 2021 or later +// RU/RUR // -// * Oracle Database 19c Enterprise Edition with the January 2021 or later -// RU/RUR +// - Oracle Database 19c Enterprise Edition with the January 2021 or later +// RU/RUR // // Amazon RDS, which is a fully managed service, supplies the Amazon Machine // Image (AMI) and database software. The Amazon RDS database software is preinstalled, @@ -1356,14 +1355,15 @@ func (c *RDS) CreateCustomDBEngineVersionRequest(input *CreateCustomDBEngineVers // API operation CreateCustomDBEngineVersion for usage and error information. // // Returned Error Codes: -// * ErrCodeCustomDBEngineVersionAlreadyExistsFault "CustomDBEngineVersionAlreadyExistsFault" -// A CEV with the specified name already exists. // -// * ErrCodeCustomDBEngineVersionQuotaExceededFault "CustomDBEngineVersionQuotaExceededFault" -// You have exceeded your CEV quota. +// - ErrCodeCustomDBEngineVersionAlreadyExistsFault "CustomDBEngineVersionAlreadyExistsFault" +// A CEV with the specified name already exists. +// +// - ErrCodeCustomDBEngineVersionQuotaExceededFault "CustomDBEngineVersionQuotaExceededFault" +// You have exceeded your CEV quota. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateCustomDBEngineVersion func (c *RDS) CreateCustomDBEngineVersion(input *CreateCustomDBEngineVersionInput) (*CreateCustomDBEngineVersionOutput, error) { @@ -1403,14 +1403,13 @@ const opCreateDBCluster = "CreateDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBClusterRequest method. +// req, resp := client.CreateDBClusterRequest(params) // -// // Example sending a request using the CreateDBClusterRequest method. -// req, resp := client.CreateDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBCluster func (c *RDS) CreateDBClusterRequest(input *CreateDBClusterInput) (req *request.Request, output *CreateDBClusterOutput) { @@ -1454,69 +1453,70 @@ func (c *RDS) CreateDBClusterRequest(input *CreateDBClusterInput) (req *request. // API operation CreateDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" -// The user already has a DB cluster with the given identifier. // -// * ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" -// There is insufficient storage available for the current action. You might -// be able to resolve this error by updating your subnet group to use different -// Availability Zones that have more storage available. +// - ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" +// The user already has a DB cluster with the given identifier. +// +// - ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" +// There is insufficient storage available for the current action. You might +// be able to resolve this error by updating your subnet group to use different +// Availability Zones that have more storage available. // -// * ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" -// The user attempted to create a new DB cluster and the user has already reached -// the maximum allowed DB cluster quota. +// - ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" +// The user attempted to create a new DB cluster and the user has already reached +// the maximum allowed DB cluster quota. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would result in the user exceeding the allowed amount of storage -// available across all DB instances. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would result in the user exceeding the allowed amount of storage +// available across all DB instances. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing DB subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing DB subnet group. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The DB subnet group doesn't cover all Availability Zones after it's created -// because of users' change. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The DB subnet group doesn't cover all Availability Zones after it's created +// because of users' change. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" -// The DB subnet group cannot be deleted because it's in use. +// - ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" +// The DB subnet group cannot be deleted because it's in use. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // -// * ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" -// DBClusterParameterGroupName doesn't refer to an existing DB cluster parameter -// group. +// - ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" +// DBClusterParameterGroupName doesn't refer to an existing DB cluster parameter +// group. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the DB subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the DB subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. // -// * ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" -// The GlobalClusterIdentifier doesn't refer to an existing global database -// cluster. +// - ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" +// The GlobalClusterIdentifier doesn't refer to an existing global database +// cluster. // -// * ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" -// The global cluster is in an invalid state and can't perform the requested -// operation. +// - ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" +// The global cluster is in an invalid state and can't perform the requested +// operation. // -// * ErrCodeDomainNotFoundFault "DomainNotFoundFault" -// Domain doesn't refer to an existing Active Directory domain. +// - ErrCodeDomainNotFoundFault "DomainNotFoundFault" +// Domain doesn't refer to an existing Active Directory domain. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBCluster func (c *RDS) CreateDBCluster(input *CreateDBClusterInput) (*CreateDBClusterOutput, error) { @@ -1556,14 +1556,13 @@ const opCreateDBClusterEndpoint = "CreateDBClusterEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBClusterEndpointRequest method. +// req, resp := client.CreateDBClusterEndpointRequest(params) // -// // Example sending a request using the CreateDBClusterEndpointRequest method. -// req, resp := client.CreateDBClusterEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterEndpoint func (c *RDS) CreateDBClusterEndpointRequest(input *CreateDBClusterEndpointInput) (req *request.Request, output *CreateDBClusterEndpointOutput) { @@ -1597,23 +1596,24 @@ func (c *RDS) CreateDBClusterEndpointRequest(input *CreateDBClusterEndpointInput // API operation CreateDBClusterEndpoint for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterEndpointQuotaExceededFault "DBClusterEndpointQuotaExceededFault" -// The cluster already has the maximum number of custom endpoints. // -// * ErrCodeDBClusterEndpointAlreadyExistsFault "DBClusterEndpointAlreadyExistsFault" -// The specified custom endpoint can't be created because it already exists. +// - ErrCodeDBClusterEndpointQuotaExceededFault "DBClusterEndpointQuotaExceededFault" +// The cluster already has the maximum number of custom endpoints. +// +// - ErrCodeDBClusterEndpointAlreadyExistsFault "DBClusterEndpointAlreadyExistsFault" +// The specified custom endpoint can't be created because it already exists. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterEndpoint func (c *RDS) CreateDBClusterEndpoint(input *CreateDBClusterEndpointInput) (*CreateDBClusterEndpointOutput, error) { @@ -1653,14 +1653,13 @@ const opCreateDBClusterParameterGroup = "CreateDBClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBClusterParameterGroupRequest method. +// req, resp := client.CreateDBClusterParameterGroupRequest(params) // -// // Example sending a request using the CreateDBClusterParameterGroupRequest method. -// req, resp := client.CreateDBClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroup func (c *RDS) CreateDBClusterParameterGroupRequest(input *CreateDBClusterParameterGroupInput) (req *request.Request, output *CreateDBClusterParameterGroupOutput) { @@ -1727,12 +1726,13 @@ func (c *RDS) CreateDBClusterParameterGroupRequest(input *CreateDBClusterParamet // API operation CreateDBClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB parameter -// groups. // -// * ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" -// A DB parameter group with the same name exists. +// - ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB parameter +// groups. +// +// - ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" +// A DB parameter group with the same name exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterParameterGroup func (c *RDS) CreateDBClusterParameterGroup(input *CreateDBClusterParameterGroupInput) (*CreateDBClusterParameterGroupOutput, error) { @@ -1772,14 +1772,13 @@ const opCreateDBClusterSnapshot = "CreateDBClusterSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBClusterSnapshotRequest method. +// req, resp := client.CreateDBClusterSnapshotRequest(params) // -// // Example sending a request using the CreateDBClusterSnapshotRequest method. -// req, resp := client.CreateDBClusterSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshot func (c *RDS) CreateDBClusterSnapshotRequest(input *CreateDBClusterSnapshotInput) (req *request.Request, output *CreateDBClusterSnapshotOutput) { @@ -1817,20 +1816,21 @@ func (c *RDS) CreateDBClusterSnapshotRequest(input *CreateDBClusterSnapshotInput // API operation CreateDBClusterSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" -// The user already has a DB cluster snapshot with the given identifier. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" +// The user already has a DB cluster snapshot with the given identifier. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB snapshots. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB snapshots. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The supplied value isn't a valid DB cluster snapshot state. +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The supplied value isn't a valid DB cluster snapshot state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBClusterSnapshot func (c *RDS) CreateDBClusterSnapshot(input *CreateDBClusterSnapshotInput) (*CreateDBClusterSnapshotOutput, error) { @@ -1870,14 +1870,13 @@ const opCreateDBInstance = "CreateDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBInstanceRequest method. +// req, resp := client.CreateDBInstanceRequest(params) // -// // Example sending a request using the CreateDBInstanceRequest method. -// req, resp := client.CreateDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance func (c *RDS) CreateDBInstanceRequest(input *CreateDBInstanceInput) (req *request.Request, output *CreateDBInstanceOutput) { @@ -1908,74 +1907,75 @@ func (c *RDS) CreateDBInstanceRequest(input *CreateDBInstanceInput) (req *reques // API operation CreateDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" -// The user already has a DB instance with the given identifier. // -// * ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" -// The specified DB instance class isn't available in the specified Availability -// Zone. +// - ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" +// The user already has a DB instance with the given identifier. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. +// - ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" +// The specified DB instance class isn't available in the specified Availability +// Zone. // -// * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" -// DBSecurityGroupName doesn't refer to an existing DB security group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. // -// * ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB instances. +// - ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" +// DBSecurityGroupName doesn't refer to an existing DB security group. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would result in the user exceeding the allowed amount of storage -// available across all DB instances. +// - ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB instances. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing DB subnet group. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would result in the user exceeding the allowed amount of storage +// available across all DB instances. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the DB subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing DB subnet group. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the DB subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The DB subnet group doesn't cover all Availability Zones after it's created -// because of users' change. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" -// Provisioned IOPS not available in the specified Availability Zone. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The DB subnet group doesn't cover all Availability Zones after it's created +// because of users' change. // -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The specified option group could not be found. +// - ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" +// Provisioned IOPS not available in the specified Availability Zone. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The specified option group could not be found. // -// * ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" -// Storage of the StorageType specified can't be associated with the DB instance. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" -// The specified CIDR IP range or Amazon EC2 security group might not be authorized -// for the specified DB security group. +// - ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" +// Storage of the StorageType specified can't be associated with the DB instance. // -// Or, RDS might not be authorized to perform necessary actions using IAM on -// your behalf. +// - ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// The specified CIDR IP range or Amazon EC2 security group might not be authorized +// for the specified DB security group. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// Or, RDS might not be authorized to perform necessary actions using IAM on +// your behalf. // -// * ErrCodeDomainNotFoundFault "DomainNotFoundFault" -// Domain doesn't refer to an existing Active Directory domain. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // -// * ErrCodeBackupPolicyNotFoundFault "BackupPolicyNotFoundFault" +// - ErrCodeDomainNotFoundFault "DomainNotFoundFault" +// Domain doesn't refer to an existing Active Directory domain. // -// * ErrCodeNetworkTypeNotSupported "NetworkTypeNotSupported" -// The network type is invalid for the DB instance. Valid nework type values -// are IPV4 and DUAL. +// - ErrCodeBackupPolicyNotFoundFault "BackupPolicyNotFoundFault" +// +// - ErrCodeNetworkTypeNotSupported "NetworkTypeNotSupported" +// The network type is invalid for the DB instance. Valid nework type values +// are IPV4 and DUAL. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstance func (c *RDS) CreateDBInstance(input *CreateDBInstanceInput) (*CreateDBInstanceOutput, error) { @@ -2015,14 +2015,13 @@ const opCreateDBInstanceReadReplica = "CreateDBInstanceReadReplica" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBInstanceReadReplicaRequest method. +// req, resp := client.CreateDBInstanceReadReplicaRequest(params) // -// // Example sending a request using the CreateDBInstanceReadReplicaRequest method. -// req, resp := client.CreateDBInstanceReadReplicaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica func (c *RDS) CreateDBInstanceReadReplicaRequest(input *CreateDBInstanceReadReplicaInput) (req *request.Request, output *CreateDBInstanceReadReplicaOutput) { @@ -2066,73 +2065,74 @@ func (c *RDS) CreateDBInstanceReadReplicaRequest(input *CreateDBInstanceReadRepl // API operation CreateDBInstanceReadReplica for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" -// The user already has a DB instance with the given identifier. // -// * ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" -// The specified DB instance class isn't available in the specified Availability -// Zone. +// - ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" +// The user already has a DB instance with the given identifier. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. +// - ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" +// The specified DB instance class isn't available in the specified Availability +// Zone. // -// * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" -// DBSecurityGroupName doesn't refer to an existing DB security group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. // -// * ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB instances. +// - ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" +// DBSecurityGroupName doesn't refer to an existing DB security group. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would result in the user exceeding the allowed amount of storage -// available across all DB instances. +// - ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB instances. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would result in the user exceeding the allowed amount of storage +// available across all DB instances. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing DB subnet group. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the DB subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing DB subnet group. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the DB subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The DB subnet group doesn't cover all Availability Zones after it's created -// because of users' change. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" -// Provisioned IOPS not available in the specified Availability Zone. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The DB subnet group doesn't cover all Availability Zones after it's created +// because of users' change. // -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The specified option group could not be found. +// - ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" +// Provisioned IOPS not available in the specified Availability Zone. // -// * ErrCodeDBSubnetGroupNotAllowedFault "DBSubnetGroupNotAllowedFault" -// The DBSubnetGroup shouldn't be specified while creating read replicas that -// lie in the same region as the source instance. +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The specified option group could not be found. // -// * ErrCodeInvalidDBSubnetGroupFault "InvalidDBSubnetGroupFault" -// The DBSubnetGroup doesn't belong to the same VPC as that of an existing cross-region -// read replica of the same source instance. +// - ErrCodeDBSubnetGroupNotAllowedFault "DBSubnetGroupNotAllowedFault" +// The DBSubnetGroup shouldn't be specified while creating read replicas that +// lie in the same region as the source instance. // -// * ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" -// Storage of the StorageType specified can't be associated with the DB instance. +// - ErrCodeInvalidDBSubnetGroupFault "InvalidDBSubnetGroupFault" +// The DBSubnetGroup doesn't belong to the same VPC as that of an existing cross-region +// read replica of the same source instance. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" +// Storage of the StorageType specified can't be associated with the DB instance. // -// * ErrCodeDomainNotFoundFault "DomainNotFoundFault" -// Domain doesn't refer to an existing Active Directory domain. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // -// * ErrCodeNetworkTypeNotSupported "NetworkTypeNotSupported" -// The network type is invalid for the DB instance. Valid nework type values -// are IPV4 and DUAL. +// - ErrCodeDomainNotFoundFault "DomainNotFoundFault" +// Domain doesn't refer to an existing Active Directory domain. +// +// - ErrCodeNetworkTypeNotSupported "NetworkTypeNotSupported" +// The network type is invalid for the DB instance. Valid nework type values +// are IPV4 and DUAL. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBInstanceReadReplica func (c *RDS) CreateDBInstanceReadReplica(input *CreateDBInstanceReadReplicaInput) (*CreateDBInstanceReadReplicaOutput, error) { @@ -2172,14 +2172,13 @@ const opCreateDBParameterGroup = "CreateDBParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBParameterGroupRequest method. +// req, resp := client.CreateDBParameterGroupRequest(params) // -// // Example sending a request using the CreateDBParameterGroupRequest method. -// req, resp := client.CreateDBParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroup func (c *RDS) CreateDBParameterGroupRequest(input *CreateDBParameterGroupInput) (req *request.Request, output *CreateDBParameterGroupOutput) { @@ -2232,12 +2231,13 @@ func (c *RDS) CreateDBParameterGroupRequest(input *CreateDBParameterGroupInput) // API operation CreateDBParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB parameter -// groups. // -// * ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" -// A DB parameter group with the same name exists. +// - ErrCodeDBParameterGroupQuotaExceededFault "DBParameterGroupQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB parameter +// groups. +// +// - ErrCodeDBParameterGroupAlreadyExistsFault "DBParameterGroupAlreadyExists" +// A DB parameter group with the same name exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBParameterGroup func (c *RDS) CreateDBParameterGroup(input *CreateDBParameterGroupInput) (*CreateDBParameterGroupOutput, error) { @@ -2277,14 +2277,13 @@ const opCreateDBProxy = "CreateDBProxy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBProxyRequest method. +// req, resp := client.CreateDBProxyRequest(params) // -// // Example sending a request using the CreateDBProxyRequest method. -// req, resp := client.CreateDBProxyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBProxy func (c *RDS) CreateDBProxyRequest(input *CreateDBProxyInput) (req *request.Request, output *CreateDBProxyOutput) { @@ -2315,17 +2314,18 @@ func (c *RDS) CreateDBProxyRequest(input *CreateDBProxyInput) (req *request.Requ // API operation CreateDBProxy for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. // -// * ErrCodeDBProxyAlreadyExistsFault "DBProxyAlreadyExistsFault" -// The specified proxy name must be unique for all proxies owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeDBProxyQuotaExceededFault "DBProxyQuotaExceededFault" -// Your Amazon Web Services account already has the maximum number of proxies -// in the specified Amazon Web Services Region. +// - ErrCodeDBProxyAlreadyExistsFault "DBProxyAlreadyExistsFault" +// The specified proxy name must be unique for all proxies owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. +// +// - ErrCodeDBProxyQuotaExceededFault "DBProxyQuotaExceededFault" +// Your Amazon Web Services account already has the maximum number of proxies +// in the specified Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBProxy func (c *RDS) CreateDBProxy(input *CreateDBProxyInput) (*CreateDBProxyOutput, error) { @@ -2365,14 +2365,13 @@ const opCreateDBProxyEndpoint = "CreateDBProxyEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBProxyEndpointRequest method. +// req, resp := client.CreateDBProxyEndpointRequest(params) // -// // Example sending a request using the CreateDBProxyEndpointRequest method. -// req, resp := client.CreateDBProxyEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBProxyEndpoint func (c *RDS) CreateDBProxyEndpointRequest(input *CreateDBProxyEndpointInput) (req *request.Request, output *CreateDBProxyEndpointOutput) { @@ -2406,24 +2405,25 @@ func (c *RDS) CreateDBProxyEndpointRequest(input *CreateDBProxyEndpointInput) (r // API operation CreateDBProxyEndpoint for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. // -// * ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" -// The specified proxy name doesn't correspond to a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeDBProxyEndpointAlreadyExistsFault "DBProxyEndpointAlreadyExistsFault" -// The specified DB proxy endpoint name must be unique for all DB proxy endpoints -// owned by your Amazon Web Services account in the specified Amazon Web Services -// Region. +// - ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" +// The specified proxy name doesn't correspond to a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. // -// * ErrCodeDBProxyEndpointQuotaExceededFault "DBProxyEndpointQuotaExceededFault" -// The DB proxy already has the maximum number of endpoints. +// - ErrCodeDBProxyEndpointAlreadyExistsFault "DBProxyEndpointAlreadyExistsFault" +// The specified DB proxy endpoint name must be unique for all DB proxy endpoints +// owned by your Amazon Web Services account in the specified Amazon Web Services +// Region. // -// * ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" -// The requested operation can't be performed while the proxy is in this state. +// - ErrCodeDBProxyEndpointQuotaExceededFault "DBProxyEndpointQuotaExceededFault" +// The DB proxy already has the maximum number of endpoints. +// +// - ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" +// The requested operation can't be performed while the proxy is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBProxyEndpoint func (c *RDS) CreateDBProxyEndpoint(input *CreateDBProxyEndpointInput) (*CreateDBProxyEndpointOutput, error) { @@ -2463,14 +2463,13 @@ const opCreateDBSecurityGroup = "CreateDBSecurityGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBSecurityGroupRequest method. +// req, resp := client.CreateDBSecurityGroupRequest(params) // -// // Example sending a request using the CreateDBSecurityGroupRequest method. -// req, resp := client.CreateDBSecurityGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroup func (c *RDS) CreateDBSecurityGroupRequest(input *CreateDBSecurityGroupInput) (req *request.Request, output *CreateDBSecurityGroupOutput) { @@ -2505,16 +2504,17 @@ func (c *RDS) CreateDBSecurityGroupRequest(input *CreateDBSecurityGroupInput) (r // API operation CreateDBSecurityGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSecurityGroupAlreadyExistsFault "DBSecurityGroupAlreadyExists" -// A DB security group with the name specified in DBSecurityGroupName already -// exists. // -// * ErrCodeDBSecurityGroupQuotaExceededFault "QuotaExceeded.DBSecurityGroup" -// The request would result in the user exceeding the allowed number of DB security -// groups. +// - ErrCodeDBSecurityGroupAlreadyExistsFault "DBSecurityGroupAlreadyExists" +// A DB security group with the name specified in DBSecurityGroupName already +// exists. // -// * ErrCodeDBSecurityGroupNotSupportedFault "DBSecurityGroupNotSupported" -// A DB security group isn't allowed for this action. +// - ErrCodeDBSecurityGroupQuotaExceededFault "QuotaExceeded.DBSecurityGroup" +// The request would result in the user exceeding the allowed number of DB security +// groups. +// +// - ErrCodeDBSecurityGroupNotSupportedFault "DBSecurityGroupNotSupported" +// A DB security group isn't allowed for this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSecurityGroup func (c *RDS) CreateDBSecurityGroup(input *CreateDBSecurityGroupInput) (*CreateDBSecurityGroupOutput, error) { @@ -2554,14 +2554,13 @@ const opCreateDBSnapshot = "CreateDBSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBSnapshotRequest method. +// req, resp := client.CreateDBSnapshotRequest(params) // -// // Example sending a request using the CreateDBSnapshotRequest method. -// req, resp := client.CreateDBSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshot func (c *RDS) CreateDBSnapshotRequest(input *CreateDBSnapshotInput) (req *request.Request, output *CreateDBSnapshotOutput) { @@ -2593,17 +2592,18 @@ func (c *RDS) CreateDBSnapshotRequest(input *CreateDBSnapshotInput) (req *reques // API operation CreateDBSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" -// DBSnapshotIdentifier is already used by an existing snapshot. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" +// DBSnapshotIdentifier is already used by an existing snapshot. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB snapshots. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. +// +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB snapshots. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSnapshot func (c *RDS) CreateDBSnapshot(input *CreateDBSnapshotInput) (*CreateDBSnapshotOutput, error) { @@ -2643,14 +2643,13 @@ const opCreateDBSubnetGroup = "CreateDBSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDBSubnetGroupRequest method. +// req, resp := client.CreateDBSubnetGroupRequest(params) // -// // Example sending a request using the CreateDBSubnetGroupRequest method. -// req, resp := client.CreateDBSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroup func (c *RDS) CreateDBSubnetGroupRequest(input *CreateDBSubnetGroupInput) (req *request.Request, output *CreateDBSubnetGroupOutput) { @@ -2682,24 +2681,25 @@ func (c *RDS) CreateDBSubnetGroupRequest(input *CreateDBSubnetGroupInput) (req * // API operation CreateDBSubnetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSubnetGroupAlreadyExistsFault "DBSubnetGroupAlreadyExists" -// DBSubnetGroupName is already used by an existing DB subnet group. // -// * ErrCodeDBSubnetGroupQuotaExceededFault "DBSubnetGroupQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB subnet -// groups. +// - ErrCodeDBSubnetGroupAlreadyExistsFault "DBSubnetGroupAlreadyExists" +// DBSubnetGroupName is already used by an existing DB subnet group. // -// * ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" -// The request would result in the user exceeding the allowed number of subnets -// in a DB subnet groups. +// - ErrCodeDBSubnetGroupQuotaExceededFault "DBSubnetGroupQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB subnet +// groups. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the DB subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" +// The request would result in the user exceeding the allowed number of subnets +// in a DB subnet groups. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the DB subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. +// +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateDBSubnetGroup func (c *RDS) CreateDBSubnetGroup(input *CreateDBSubnetGroupInput) (*CreateDBSubnetGroupOutput, error) { @@ -2739,14 +2739,13 @@ const opCreateEventSubscription = "CreateEventSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEventSubscriptionRequest method. +// req, resp := client.CreateEventSubscriptionRequest(params) // -// // Example sending a request using the CreateEventSubscriptionRequest method. -// req, resp := client.CreateEventSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscription func (c *RDS) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput) { @@ -2798,26 +2797,27 @@ func (c *RDS) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput // API operation CreateEventSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded" -// You have reached the maximum number of event subscriptions. // -// * ErrCodeSubscriptionAlreadyExistFault "SubscriptionAlreadyExist" -// The supplied subscription name already exists. +// - ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded" +// You have reached the maximum number of event subscriptions. // -// * ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" -// SNS has responded that there is a problem with the SNS topic specified. +// - ErrCodeSubscriptionAlreadyExistFault "SubscriptionAlreadyExist" +// The supplied subscription name already exists. // -// * ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" -// You do not have permission to publish to the SNS topic ARN. +// - ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" +// SNS has responded that there is a problem with the SNS topic specified. // -// * ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" -// The SNS topic ARN does not exist. +// - ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" +// You do not have permission to publish to the SNS topic ARN. // -// * ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound" -// The supplied category does not exist. +// - ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" +// The SNS topic ARN does not exist. // -// * ErrCodeSourceNotFoundFault "SourceNotFound" -// The requested source could not be found. +// - ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound" +// The supplied category does not exist. +// +// - ErrCodeSourceNotFoundFault "SourceNotFound" +// The requested source could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateEventSubscription func (c *RDS) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error) { @@ -2857,14 +2857,13 @@ const opCreateGlobalCluster = "CreateGlobalCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGlobalClusterRequest method. +// req, resp := client.CreateGlobalClusterRequest(params) // -// // Example sending a request using the CreateGlobalClusterRequest method. -// req, resp := client.CreateGlobalClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateGlobalCluster func (c *RDS) CreateGlobalClusterRequest(input *CreateGlobalClusterInput) (req *request.Request, output *CreateGlobalClusterOutput) { @@ -2906,19 +2905,20 @@ func (c *RDS) CreateGlobalClusterRequest(input *CreateGlobalClusterInput) (req * // API operation CreateGlobalCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalClusterAlreadyExistsFault "GlobalClusterAlreadyExistsFault" -// The GlobalClusterIdentifier already exists. Choose a new global database -// identifier (unique name) to create a new global database cluster. // -// * ErrCodeGlobalClusterQuotaExceededFault "GlobalClusterQuotaExceededFault" -// The number of global database clusters for this account is already at the -// maximum allowed. +// - ErrCodeGlobalClusterAlreadyExistsFault "GlobalClusterAlreadyExistsFault" +// The GlobalClusterIdentifier already exists. Choose a new global database +// identifier (unique name) to create a new global database cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeGlobalClusterQuotaExceededFault "GlobalClusterQuotaExceededFault" +// The number of global database clusters for this account is already at the +// maximum allowed. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. +// +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateGlobalCluster func (c *RDS) CreateGlobalCluster(input *CreateGlobalClusterInput) (*CreateGlobalClusterOutput, error) { @@ -2958,14 +2958,13 @@ const opCreateOptionGroup = "CreateOptionGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOptionGroupRequest method. +// req, resp := client.CreateOptionGroupRequest(params) // -// // Example sending a request using the CreateOptionGroupRequest method. -// req, resp := client.CreateOptionGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroup func (c *RDS) CreateOptionGroupRequest(input *CreateOptionGroupInput) (req *request.Request, output *CreateOptionGroupOutput) { @@ -2998,11 +2997,12 @@ func (c *RDS) CreateOptionGroupRequest(input *CreateOptionGroupInput) (req *requ // API operation CreateOptionGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeOptionGroupAlreadyExistsFault "OptionGroupAlreadyExistsFault" -// The option group you are trying to create already exists. // -// * ErrCodeOptionGroupQuotaExceededFault "OptionGroupQuotaExceededFault" -// The quota of 20 option groups was exceeded for this Amazon Web Services account. +// - ErrCodeOptionGroupAlreadyExistsFault "OptionGroupAlreadyExistsFault" +// The option group you are trying to create already exists. +// +// - ErrCodeOptionGroupQuotaExceededFault "OptionGroupQuotaExceededFault" +// The quota of 20 option groups was exceeded for this Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateOptionGroup func (c *RDS) CreateOptionGroup(input *CreateOptionGroupInput) (*CreateOptionGroupOutput, error) { @@ -3042,14 +3042,13 @@ const opDeleteCustomDBEngineVersion = "DeleteCustomDBEngineVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomDBEngineVersionRequest method. +// req, resp := client.DeleteCustomDBEngineVersionRequest(params) // -// // Example sending a request using the DeleteCustomDBEngineVersionRequest method. -// req, resp := client.DeleteCustomDBEngineVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteCustomDBEngineVersion func (c *RDS) DeleteCustomDBEngineVersionRequest(input *DeleteCustomDBEngineVersionInput) (req *request.Request, output *DeleteCustomDBEngineVersionOutput) { @@ -3073,11 +3072,11 @@ func (c *RDS) DeleteCustomDBEngineVersionRequest(input *DeleteCustomDBEngineVers // Deletes a custom engine version. To run this command, make sure you meet // the following prerequisites: // -// * The CEV must not be the default for RDS Custom. If it is, change the -// default before running this command. +// - The CEV must not be the default for RDS Custom. If it is, change the +// default before running this command. // -// * The CEV must not be associated with an RDS Custom DB instance, RDS Custom -// instance snapshot, or automated backup of your RDS Custom instance. +// - The CEV must not be associated with an RDS Custom DB instance, RDS Custom +// instance snapshot, or automated backup of your RDS Custom instance. // // Typically, deletion takes a few minutes. // @@ -3099,11 +3098,12 @@ func (c *RDS) DeleteCustomDBEngineVersionRequest(input *DeleteCustomDBEngineVers // API operation DeleteCustomDBEngineVersion for usage and error information. // // Returned Error Codes: -// * ErrCodeCustomDBEngineVersionNotFoundFault "CustomDBEngineVersionNotFoundFault" -// The specified CEV was not found. // -// * ErrCodeInvalidCustomDBEngineVersionStateFault "InvalidCustomDBEngineVersionStateFault" -// You can't delete the CEV. +// - ErrCodeCustomDBEngineVersionNotFoundFault "CustomDBEngineVersionNotFoundFault" +// The specified CEV was not found. +// +// - ErrCodeInvalidCustomDBEngineVersionStateFault "InvalidCustomDBEngineVersionStateFault" +// You can't delete the CEV. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteCustomDBEngineVersion func (c *RDS) DeleteCustomDBEngineVersion(input *DeleteCustomDBEngineVersionInput) (*DeleteCustomDBEngineVersionOutput, error) { @@ -3143,14 +3143,13 @@ const opDeleteDBCluster = "DeleteDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBClusterRequest method. +// req, resp := client.DeleteDBClusterRequest(params) // -// // Example sending a request using the DeleteDBClusterRequest method. -// req, resp := client.DeleteDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBCluster func (c *RDS) DeleteDBClusterRequest(input *DeleteDBClusterInput) (req *request.Request, output *DeleteDBClusterOutput) { @@ -3191,20 +3190,21 @@ func (c *RDS) DeleteDBClusterRequest(input *DeleteDBClusterInput) (req *request. // API operation DeleteDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" -// The user already has a DB cluster snapshot with the given identifier. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB snapshots. +// - ErrCodeDBClusterSnapshotAlreadyExistsFault "DBClusterSnapshotAlreadyExistsFault" +// The user already has a DB cluster snapshot with the given identifier. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The supplied value isn't a valid DB cluster snapshot state. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB snapshots. +// +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The supplied value isn't a valid DB cluster snapshot state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBCluster func (c *RDS) DeleteDBCluster(input *DeleteDBClusterInput) (*DeleteDBClusterOutput, error) { @@ -3244,14 +3244,13 @@ const opDeleteDBClusterEndpoint = "DeleteDBClusterEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBClusterEndpointRequest method. +// req, resp := client.DeleteDBClusterEndpointRequest(params) // -// // Example sending a request using the DeleteDBClusterEndpointRequest method. -// req, resp := client.DeleteDBClusterEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterEndpoint func (c *RDS) DeleteDBClusterEndpointRequest(input *DeleteDBClusterEndpointInput) (req *request.Request, output *DeleteDBClusterEndpointOutput) { @@ -3284,15 +3283,16 @@ func (c *RDS) DeleteDBClusterEndpointRequest(input *DeleteDBClusterEndpointInput // API operation DeleteDBClusterEndpoint for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBClusterEndpointStateFault "InvalidDBClusterEndpointStateFault" -// The requested operation can't be performed on the endpoint while the endpoint -// is in this state. // -// * ErrCodeDBClusterEndpointNotFoundFault "DBClusterEndpointNotFoundFault" -// The specified custom endpoint doesn't exist. +// - ErrCodeInvalidDBClusterEndpointStateFault "InvalidDBClusterEndpointStateFault" +// The requested operation can't be performed on the endpoint while the endpoint +// is in this state. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeDBClusterEndpointNotFoundFault "DBClusterEndpointNotFoundFault" +// The specified custom endpoint doesn't exist. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterEndpoint func (c *RDS) DeleteDBClusterEndpoint(input *DeleteDBClusterEndpointInput) (*DeleteDBClusterEndpointOutput, error) { @@ -3332,14 +3332,13 @@ const opDeleteDBClusterParameterGroup = "DeleteDBClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBClusterParameterGroupRequest method. +// req, resp := client.DeleteDBClusterParameterGroupRequest(params) // -// // Example sending a request using the DeleteDBClusterParameterGroupRequest method. -// req, resp := client.DeleteDBClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroup func (c *RDS) DeleteDBClusterParameterGroupRequest(input *DeleteDBClusterParameterGroupInput) (req *request.Request, output *DeleteDBClusterParameterGroupOutput) { @@ -3379,13 +3378,14 @@ func (c *RDS) DeleteDBClusterParameterGroupRequest(input *DeleteDBClusterParamet // API operation DeleteDBClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" -// The DB parameter group is in use or is in an invalid state. If you are attempting -// to delete the parameter group, you can't delete it when the parameter group -// is in this state. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. +// - ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" +// The DB parameter group is in use or is in an invalid state. If you are attempting +// to delete the parameter group, you can't delete it when the parameter group +// is in this state. +// +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterParameterGroup func (c *RDS) DeleteDBClusterParameterGroup(input *DeleteDBClusterParameterGroupInput) (*DeleteDBClusterParameterGroupOutput, error) { @@ -3425,14 +3425,13 @@ const opDeleteDBClusterSnapshot = "DeleteDBClusterSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBClusterSnapshotRequest method. +// req, resp := client.DeleteDBClusterSnapshotRequest(params) // -// // Example sending a request using the DeleteDBClusterSnapshotRequest method. -// req, resp := client.DeleteDBClusterSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshot func (c *RDS) DeleteDBClusterSnapshotRequest(input *DeleteDBClusterSnapshotInput) (req *request.Request, output *DeleteDBClusterSnapshotOutput) { @@ -3473,11 +3472,12 @@ func (c *RDS) DeleteDBClusterSnapshotRequest(input *DeleteDBClusterSnapshotInput // API operation DeleteDBClusterSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The supplied value isn't a valid DB cluster snapshot state. // -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The supplied value isn't a valid DB cluster snapshot state. +// +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBClusterSnapshot func (c *RDS) DeleteDBClusterSnapshot(input *DeleteDBClusterSnapshotInput) (*DeleteDBClusterSnapshotOutput, error) { @@ -3517,14 +3517,13 @@ const opDeleteDBInstance = "DeleteDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBInstanceRequest method. +// req, resp := client.DeleteDBInstanceRequest(params) // -// // Example sending a request using the DeleteDBInstanceRequest method. -// req, resp := client.DeleteDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance func (c *RDS) DeleteDBInstanceRequest(input *DeleteDBInstanceInput) (req *request.Request, output *DeleteDBInstanceOutput) { @@ -3562,9 +3561,9 @@ func (c *RDS) DeleteDBInstanceRequest(input *DeleteDBInstanceInput) (req *reques // If the specified DB instance is part of an Amazon Aurora DB cluster, you // can't delete the DB instance if both of the following conditions are true: // -// * The DB cluster is a read replica of another Amazon Aurora DB cluster. +// - The DB cluster is a read replica of another Amazon Aurora DB cluster. // -// * The DB instance is the only instance in the DB cluster. +// - The DB instance is the only instance in the DB cluster. // // To delete a DB instance in this case, first call the PromoteReadReplicaDBCluster // API action to promote the DB cluster so it's no longer a read replica. After @@ -3579,25 +3578,26 @@ func (c *RDS) DeleteDBInstanceRequest(input *DeleteDBInstanceInput) (req *reques // API operation DeleteDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // -// * ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" -// DBSnapshotIdentifier is already used by an existing snapshot. +// - ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" +// DBSnapshotIdentifier is already used by an existing snapshot. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB snapshots. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB snapshots. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeDBInstanceAutomatedBackupQuotaExceededFault "DBInstanceAutomatedBackupQuotaExceeded" -// The quota for retained automated backups was exceeded. This prevents you -// from retaining any additional automated backups. The retained automated backups -// quota is the same as your DB Instance quota. +// - ErrCodeDBInstanceAutomatedBackupQuotaExceededFault "DBInstanceAutomatedBackupQuotaExceeded" +// The quota for retained automated backups was exceeded. This prevents you +// from retaining any additional automated backups. The retained automated backups +// quota is the same as your DB Instance quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstance func (c *RDS) DeleteDBInstance(input *DeleteDBInstanceInput) (*DeleteDBInstanceOutput, error) { @@ -3637,14 +3637,13 @@ const opDeleteDBInstanceAutomatedBackup = "DeleteDBInstanceAutomatedBackup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBInstanceAutomatedBackupRequest method. +// req, resp := client.DeleteDBInstanceAutomatedBackupRequest(params) // -// // Example sending a request using the DeleteDBInstanceAutomatedBackupRequest method. -// req, resp := client.DeleteDBInstanceAutomatedBackupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstanceAutomatedBackup func (c *RDS) DeleteDBInstanceAutomatedBackupRequest(input *DeleteDBInstanceAutomatedBackupInput) (req *request.Request, output *DeleteDBInstanceAutomatedBackupOutput) { @@ -3676,12 +3675,13 @@ func (c *RDS) DeleteDBInstanceAutomatedBackupRequest(input *DeleteDBInstanceAuto // API operation DeleteDBInstanceAutomatedBackup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBInstanceAutomatedBackupStateFault "InvalidDBInstanceAutomatedBackupState" -// The automated backup is in an invalid state. For example, this automated -// backup is associated with an active instance. // -// * ErrCodeDBInstanceAutomatedBackupNotFoundFault "DBInstanceAutomatedBackupNotFound" -// No automated backup for this DB instance was found. +// - ErrCodeInvalidDBInstanceAutomatedBackupStateFault "InvalidDBInstanceAutomatedBackupState" +// The automated backup is in an invalid state. For example, this automated +// backup is associated with an active instance. +// +// - ErrCodeDBInstanceAutomatedBackupNotFoundFault "DBInstanceAutomatedBackupNotFound" +// No automated backup for this DB instance was found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBInstanceAutomatedBackup func (c *RDS) DeleteDBInstanceAutomatedBackup(input *DeleteDBInstanceAutomatedBackupInput) (*DeleteDBInstanceAutomatedBackupOutput, error) { @@ -3721,14 +3721,13 @@ const opDeleteDBParameterGroup = "DeleteDBParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBParameterGroupRequest method. +// req, resp := client.DeleteDBParameterGroupRequest(params) // -// // Example sending a request using the DeleteDBParameterGroupRequest method. -// req, resp := client.DeleteDBParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroup func (c *RDS) DeleteDBParameterGroupRequest(input *DeleteDBParameterGroupInput) (req *request.Request, output *DeleteDBParameterGroupOutput) { @@ -3761,13 +3760,14 @@ func (c *RDS) DeleteDBParameterGroupRequest(input *DeleteDBParameterGroupInput) // API operation DeleteDBParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" -// The DB parameter group is in use or is in an invalid state. If you are attempting -// to delete the parameter group, you can't delete it when the parameter group -// is in this state. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. +// - ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" +// The DB parameter group is in use or is in an invalid state. If you are attempting +// to delete the parameter group, you can't delete it when the parameter group +// is in this state. +// +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBParameterGroup func (c *RDS) DeleteDBParameterGroup(input *DeleteDBParameterGroupInput) (*DeleteDBParameterGroupOutput, error) { @@ -3807,14 +3807,13 @@ const opDeleteDBProxy = "DeleteDBProxy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBProxyRequest method. +// req, resp := client.DeleteDBProxyRequest(params) // -// // Example sending a request using the DeleteDBProxyRequest method. -// req, resp := client.DeleteDBProxyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBProxy func (c *RDS) DeleteDBProxyRequest(input *DeleteDBProxyInput) (req *request.Request, output *DeleteDBProxyOutput) { @@ -3845,12 +3844,13 @@ func (c *RDS) DeleteDBProxyRequest(input *DeleteDBProxyInput) (req *request.Requ // API operation DeleteDBProxy for usage and error information. // // Returned Error Codes: -// * ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" -// The specified proxy name doesn't correspond to a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. // -// * ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" -// The requested operation can't be performed while the proxy is in this state. +// - ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" +// The specified proxy name doesn't correspond to a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. +// +// - ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" +// The requested operation can't be performed while the proxy is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBProxy func (c *RDS) DeleteDBProxy(input *DeleteDBProxyInput) (*DeleteDBProxyOutput, error) { @@ -3890,14 +3890,13 @@ const opDeleteDBProxyEndpoint = "DeleteDBProxyEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBProxyEndpointRequest method. +// req, resp := client.DeleteDBProxyEndpointRequest(params) // -// // Example sending a request using the DeleteDBProxyEndpointRequest method. -// req, resp := client.DeleteDBProxyEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBProxyEndpoint func (c *RDS) DeleteDBProxyEndpointRequest(input *DeleteDBProxyEndpointInput) (req *request.Request, output *DeleteDBProxyEndpointOutput) { @@ -3931,12 +3930,13 @@ func (c *RDS) DeleteDBProxyEndpointRequest(input *DeleteDBProxyEndpointInput) (r // API operation DeleteDBProxyEndpoint for usage and error information. // // Returned Error Codes: -// * ErrCodeDBProxyEndpointNotFoundFault "DBProxyEndpointNotFoundFault" -// The DB proxy endpoint doesn't exist. // -// * ErrCodeInvalidDBProxyEndpointStateFault "InvalidDBProxyEndpointStateFault" -// You can't perform this operation while the DB proxy endpoint is in a particular -// state. +// - ErrCodeDBProxyEndpointNotFoundFault "DBProxyEndpointNotFoundFault" +// The DB proxy endpoint doesn't exist. +// +// - ErrCodeInvalidDBProxyEndpointStateFault "InvalidDBProxyEndpointStateFault" +// You can't perform this operation while the DB proxy endpoint is in a particular +// state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBProxyEndpoint func (c *RDS) DeleteDBProxyEndpoint(input *DeleteDBProxyEndpointInput) (*DeleteDBProxyEndpointOutput, error) { @@ -3976,14 +3976,13 @@ const opDeleteDBSecurityGroup = "DeleteDBSecurityGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBSecurityGroupRequest method. +// req, resp := client.DeleteDBSecurityGroupRequest(params) // -// // Example sending a request using the DeleteDBSecurityGroupRequest method. -// req, resp := client.DeleteDBSecurityGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroup func (c *RDS) DeleteDBSecurityGroupRequest(input *DeleteDBSecurityGroupInput) (req *request.Request, output *DeleteDBSecurityGroupOutput) { @@ -4017,11 +4016,12 @@ func (c *RDS) DeleteDBSecurityGroupRequest(input *DeleteDBSecurityGroupInput) (r // API operation DeleteDBSecurityGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" -// The state of the DB security group doesn't allow deletion. // -// * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" -// DBSecurityGroupName doesn't refer to an existing DB security group. +// - ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" +// The state of the DB security group doesn't allow deletion. +// +// - ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" +// DBSecurityGroupName doesn't refer to an existing DB security group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSecurityGroup func (c *RDS) DeleteDBSecurityGroup(input *DeleteDBSecurityGroupInput) (*DeleteDBSecurityGroupOutput, error) { @@ -4061,14 +4061,13 @@ const opDeleteDBSnapshot = "DeleteDBSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBSnapshotRequest method. +// req, resp := client.DeleteDBSnapshotRequest(params) // -// // Example sending a request using the DeleteDBSnapshotRequest method. -// req, resp := client.DeleteDBSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshot func (c *RDS) DeleteDBSnapshotRequest(input *DeleteDBSnapshotInput) (req *request.Request, output *DeleteDBSnapshotOutput) { @@ -4102,11 +4101,12 @@ func (c *RDS) DeleteDBSnapshotRequest(input *DeleteDBSnapshotInput) (req *reques // API operation DeleteDBSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" -// The state of the DB snapshot doesn't allow deletion. // -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. +// - ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" +// The state of the DB snapshot doesn't allow deletion. +// +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSnapshot func (c *RDS) DeleteDBSnapshot(input *DeleteDBSnapshotInput) (*DeleteDBSnapshotOutput, error) { @@ -4146,14 +4146,13 @@ const opDeleteDBSubnetGroup = "DeleteDBSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDBSubnetGroupRequest method. +// req, resp := client.DeleteDBSubnetGroupRequest(params) // -// // Example sending a request using the DeleteDBSubnetGroupRequest method. -// req, resp := client.DeleteDBSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroup func (c *RDS) DeleteDBSubnetGroupRequest(input *DeleteDBSubnetGroupInput) (req *request.Request, output *DeleteDBSubnetGroupOutput) { @@ -4187,14 +4186,15 @@ func (c *RDS) DeleteDBSubnetGroupRequest(input *DeleteDBSubnetGroupInput) (req * // API operation DeleteDBSubnetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" -// The DB subnet group cannot be deleted because it's in use. // -// * ErrCodeInvalidDBSubnetStateFault "InvalidDBSubnetStateFault" -// The DB subnet isn't in the available state. +// - ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" +// The DB subnet group cannot be deleted because it's in use. +// +// - ErrCodeInvalidDBSubnetStateFault "InvalidDBSubnetStateFault" +// The DB subnet isn't in the available state. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing DB subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing DB subnet group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteDBSubnetGroup func (c *RDS) DeleteDBSubnetGroup(input *DeleteDBSubnetGroupInput) (*DeleteDBSubnetGroupOutput, error) { @@ -4234,14 +4234,13 @@ const opDeleteEventSubscription = "DeleteEventSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventSubscriptionRequest method. +// req, resp := client.DeleteEventSubscriptionRequest(params) // -// // Example sending a request using the DeleteEventSubscriptionRequest method. -// req, resp := client.DeleteEventSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteEventSubscription func (c *RDS) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput) { @@ -4272,12 +4271,13 @@ func (c *RDS) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput // API operation DeleteEventSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// The subscription name does not exist. // -// * ErrCodeInvalidEventSubscriptionStateFault "InvalidEventSubscriptionState" -// This error can occur if someone else is modifying a subscription. You should -// retry the action. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// The subscription name does not exist. +// +// - ErrCodeInvalidEventSubscriptionStateFault "InvalidEventSubscriptionState" +// This error can occur if someone else is modifying a subscription. You should +// retry the action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteEventSubscription func (c *RDS) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error) { @@ -4317,14 +4317,13 @@ const opDeleteGlobalCluster = "DeleteGlobalCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGlobalClusterRequest method. +// req, resp := client.DeleteGlobalClusterRequest(params) // -// // Example sending a request using the DeleteGlobalClusterRequest method. -// req, resp := client.DeleteGlobalClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteGlobalCluster func (c *RDS) DeleteGlobalClusterRequest(input *DeleteGlobalClusterInput) (req *request.Request, output *DeleteGlobalClusterOutput) { @@ -4358,13 +4357,14 @@ func (c *RDS) DeleteGlobalClusterRequest(input *DeleteGlobalClusterInput) (req * // API operation DeleteGlobalCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" -// The GlobalClusterIdentifier doesn't refer to an existing global database -// cluster. // -// * ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" -// The global cluster is in an invalid state and can't perform the requested -// operation. +// - ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" +// The GlobalClusterIdentifier doesn't refer to an existing global database +// cluster. +// +// - ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" +// The global cluster is in an invalid state and can't perform the requested +// operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteGlobalCluster func (c *RDS) DeleteGlobalCluster(input *DeleteGlobalClusterInput) (*DeleteGlobalClusterOutput, error) { @@ -4404,14 +4404,13 @@ const opDeleteOptionGroup = "DeleteOptionGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOptionGroupRequest method. +// req, resp := client.DeleteOptionGroupRequest(params) // -// // Example sending a request using the DeleteOptionGroupRequest method. -// req, resp := client.DeleteOptionGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroup func (c *RDS) DeleteOptionGroupRequest(input *DeleteOptionGroupInput) (req *request.Request, output *DeleteOptionGroupOutput) { @@ -4443,11 +4442,12 @@ func (c *RDS) DeleteOptionGroupRequest(input *DeleteOptionGroupInput) (req *requ // API operation DeleteOptionGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The specified option group could not be found. // -// * ErrCodeInvalidOptionGroupStateFault "InvalidOptionGroupStateFault" -// The option group isn't in the available state. +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The specified option group could not be found. +// +// - ErrCodeInvalidOptionGroupStateFault "InvalidOptionGroupStateFault" +// The option group isn't in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteOptionGroup func (c *RDS) DeleteOptionGroup(input *DeleteOptionGroupInput) (*DeleteOptionGroupOutput, error) { @@ -4487,14 +4487,13 @@ const opDeregisterDBProxyTargets = "DeregisterDBProxyTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterDBProxyTargetsRequest method. +// req, resp := client.DeregisterDBProxyTargetsRequest(params) // -// // Example sending a request using the DeregisterDBProxyTargetsRequest method. -// req, resp := client.DeregisterDBProxyTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeregisterDBProxyTargets func (c *RDS) DeregisterDBProxyTargetsRequest(input *DeregisterDBProxyTargetsInput) (req *request.Request, output *DeregisterDBProxyTargetsOutput) { @@ -4527,21 +4526,22 @@ func (c *RDS) DeregisterDBProxyTargetsRequest(input *DeregisterDBProxyTargetsInp // API operation DeregisterDBProxyTargets for usage and error information. // // Returned Error Codes: -// * ErrCodeDBProxyTargetNotFoundFault "DBProxyTargetNotFoundFault" -// The specified RDS DB instance or Aurora DB cluster isn't available for a -// proxy owned by your Amazon Web Services account in the specified Amazon Web -// Services Region. // -// * ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" -// The specified target group isn't available for a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeDBProxyTargetNotFoundFault "DBProxyTargetNotFoundFault" +// The specified RDS DB instance or Aurora DB cluster isn't available for a +// proxy owned by your Amazon Web Services account in the specified Amazon Web +// Services Region. // -// * ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" -// The specified proxy name doesn't correspond to a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" +// The specified target group isn't available for a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. // -// * ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" -// The requested operation can't be performed while the proxy is in this state. +// - ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" +// The specified proxy name doesn't correspond to a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. +// +// - ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" +// The requested operation can't be performed while the proxy is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeregisterDBProxyTargets func (c *RDS) DeregisterDBProxyTargets(input *DeregisterDBProxyTargetsInput) (*DeregisterDBProxyTargetsOutput, error) { @@ -4581,14 +4581,13 @@ const opDescribeAccountAttributes = "DescribeAccountAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountAttributesRequest method. +// req, resp := client.DescribeAccountAttributesRequest(params) // -// // Example sending a request using the DescribeAccountAttributesRequest method. -// req, resp := client.DescribeAccountAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeAccountAttributes func (c *RDS) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput) { @@ -4660,14 +4659,13 @@ const opDescribeCertificates = "DescribeCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCertificatesRequest method. +// req, resp := client.DescribeCertificatesRequest(params) // -// // Example sending a request using the DescribeCertificatesRequest method. -// req, resp := client.DescribeCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeCertificates func (c *RDS) DescribeCertificatesRequest(input *DescribeCertificatesInput) (req *request.Request, output *DescribeCertificatesOutput) { @@ -4705,8 +4703,8 @@ func (c *RDS) DescribeCertificatesRequest(input *DescribeCertificatesInput) (req // API operation DescribeCertificates for usage and error information. // // Returned Error Codes: -// * ErrCodeCertificateNotFoundFault "CertificateNotFound" -// CertificateIdentifier doesn't refer to an existing certificate. +// - ErrCodeCertificateNotFoundFault "CertificateNotFound" +// CertificateIdentifier doesn't refer to an existing certificate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeCertificates func (c *RDS) DescribeCertificates(input *DescribeCertificatesInput) (*DescribeCertificatesOutput, error) { @@ -4738,15 +4736,14 @@ func (c *RDS) DescribeCertificatesWithContext(ctx aws.Context, input *DescribeCe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCertificates operation. -// pageNum := 0 -// err := client.DescribeCertificatesPages(params, -// func(page *rds.DescribeCertificatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCertificates operation. +// pageNum := 0 +// err := client.DescribeCertificatesPages(params, +// func(page *rds.DescribeCertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeCertificatesPages(input *DescribeCertificatesInput, fn func(*DescribeCertificatesOutput, bool) bool) error { return c.DescribeCertificatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4798,14 +4795,13 @@ const opDescribeDBClusterBacktracks = "DescribeDBClusterBacktracks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClusterBacktracksRequest method. +// req, resp := client.DescribeDBClusterBacktracksRequest(params) // -// // Example sending a request using the DescribeDBClusterBacktracksRequest method. -// req, resp := client.DescribeDBClusterBacktracksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterBacktracks func (c *RDS) DescribeDBClusterBacktracksRequest(input *DescribeDBClusterBacktracksInput) (req *request.Request, output *DescribeDBClusterBacktracksOutput) { @@ -4847,11 +4843,12 @@ func (c *RDS) DescribeDBClusterBacktracksRequest(input *DescribeDBClusterBacktra // API operation DescribeDBClusterBacktracks for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeDBClusterBacktrackNotFoundFault "DBClusterBacktrackNotFoundFault" -// BacktrackIdentifier doesn't refer to an existing backtrack. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. +// +// - ErrCodeDBClusterBacktrackNotFoundFault "DBClusterBacktrackNotFoundFault" +// BacktrackIdentifier doesn't refer to an existing backtrack. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterBacktracks func (c *RDS) DescribeDBClusterBacktracks(input *DescribeDBClusterBacktracksInput) (*DescribeDBClusterBacktracksOutput, error) { @@ -4883,15 +4880,14 @@ func (c *RDS) DescribeDBClusterBacktracksWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBClusterBacktracks operation. -// pageNum := 0 -// err := client.DescribeDBClusterBacktracksPages(params, -// func(page *rds.DescribeDBClusterBacktracksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBClusterBacktracks operation. +// pageNum := 0 +// err := client.DescribeDBClusterBacktracksPages(params, +// func(page *rds.DescribeDBClusterBacktracksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBClusterBacktracksPages(input *DescribeDBClusterBacktracksInput, fn func(*DescribeDBClusterBacktracksOutput, bool) bool) error { return c.DescribeDBClusterBacktracksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4943,14 +4939,13 @@ const opDescribeDBClusterEndpoints = "DescribeDBClusterEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClusterEndpointsRequest method. +// req, resp := client.DescribeDBClusterEndpointsRequest(params) // -// // Example sending a request using the DescribeDBClusterEndpointsRequest method. -// req, resp := client.DescribeDBClusterEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterEndpoints func (c *RDS) DescribeDBClusterEndpointsRequest(input *DescribeDBClusterEndpointsInput) (req *request.Request, output *DescribeDBClusterEndpointsOutput) { @@ -4989,8 +4984,8 @@ func (c *RDS) DescribeDBClusterEndpointsRequest(input *DescribeDBClusterEndpoint // API operation DescribeDBClusterEndpoints for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterEndpoints func (c *RDS) DescribeDBClusterEndpoints(input *DescribeDBClusterEndpointsInput) (*DescribeDBClusterEndpointsOutput, error) { @@ -5022,15 +5017,14 @@ func (c *RDS) DescribeDBClusterEndpointsWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBClusterEndpoints operation. -// pageNum := 0 -// err := client.DescribeDBClusterEndpointsPages(params, -// func(page *rds.DescribeDBClusterEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBClusterEndpoints operation. +// pageNum := 0 +// err := client.DescribeDBClusterEndpointsPages(params, +// func(page *rds.DescribeDBClusterEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBClusterEndpointsPages(input *DescribeDBClusterEndpointsInput, fn func(*DescribeDBClusterEndpointsOutput, bool) bool) error { return c.DescribeDBClusterEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5082,14 +5076,13 @@ const opDescribeDBClusterParameterGroups = "DescribeDBClusterParameterGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClusterParameterGroupsRequest method. +// req, resp := client.DescribeDBClusterParameterGroupsRequest(params) // -// // Example sending a request using the DescribeDBClusterParameterGroupsRequest method. -// req, resp := client.DescribeDBClusterParameterGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameterGroups func (c *RDS) DescribeDBClusterParameterGroupsRequest(input *DescribeDBClusterParameterGroupsInput) (req *request.Request, output *DescribeDBClusterParameterGroupsOutput) { @@ -5135,8 +5128,8 @@ func (c *RDS) DescribeDBClusterParameterGroupsRequest(input *DescribeDBClusterPa // API operation DescribeDBClusterParameterGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameterGroups func (c *RDS) DescribeDBClusterParameterGroups(input *DescribeDBClusterParameterGroupsInput) (*DescribeDBClusterParameterGroupsOutput, error) { @@ -5168,15 +5161,14 @@ func (c *RDS) DescribeDBClusterParameterGroupsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBClusterParameterGroups operation. -// pageNum := 0 -// err := client.DescribeDBClusterParameterGroupsPages(params, -// func(page *rds.DescribeDBClusterParameterGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBClusterParameterGroups operation. +// pageNum := 0 +// err := client.DescribeDBClusterParameterGroupsPages(params, +// func(page *rds.DescribeDBClusterParameterGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBClusterParameterGroupsPages(input *DescribeDBClusterParameterGroupsInput, fn func(*DescribeDBClusterParameterGroupsOutput, bool) bool) error { return c.DescribeDBClusterParameterGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5228,14 +5220,13 @@ const opDescribeDBClusterParameters = "DescribeDBClusterParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClusterParametersRequest method. +// req, resp := client.DescribeDBClusterParametersRequest(params) // -// // Example sending a request using the DescribeDBClusterParametersRequest method. -// req, resp := client.DescribeDBClusterParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameters func (c *RDS) DescribeDBClusterParametersRequest(input *DescribeDBClusterParametersInput) (req *request.Request, output *DescribeDBClusterParametersOutput) { @@ -5280,8 +5271,8 @@ func (c *RDS) DescribeDBClusterParametersRequest(input *DescribeDBClusterParamet // API operation DescribeDBClusterParameters for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterParameters func (c *RDS) DescribeDBClusterParameters(input *DescribeDBClusterParametersInput) (*DescribeDBClusterParametersOutput, error) { @@ -5313,15 +5304,14 @@ func (c *RDS) DescribeDBClusterParametersWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBClusterParameters operation. -// pageNum := 0 -// err := client.DescribeDBClusterParametersPages(params, -// func(page *rds.DescribeDBClusterParametersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBClusterParameters operation. +// pageNum := 0 +// err := client.DescribeDBClusterParametersPages(params, +// func(page *rds.DescribeDBClusterParametersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBClusterParametersPages(input *DescribeDBClusterParametersInput, fn func(*DescribeDBClusterParametersOutput, bool) bool) error { return c.DescribeDBClusterParametersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5373,14 +5363,13 @@ const opDescribeDBClusterSnapshotAttributes = "DescribeDBClusterSnapshotAttribut // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClusterSnapshotAttributesRequest method. +// req, resp := client.DescribeDBClusterSnapshotAttributesRequest(params) // -// // Example sending a request using the DescribeDBClusterSnapshotAttributesRequest method. -// req, resp := client.DescribeDBClusterSnapshotAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributes func (c *RDS) DescribeDBClusterSnapshotAttributesRequest(input *DescribeDBClusterSnapshotAttributesInput) (req *request.Request, output *DescribeDBClusterSnapshotAttributesOutput) { @@ -5423,8 +5412,8 @@ func (c *RDS) DescribeDBClusterSnapshotAttributesRequest(input *DescribeDBCluste // API operation DescribeDBClusterSnapshotAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributes func (c *RDS) DescribeDBClusterSnapshotAttributes(input *DescribeDBClusterSnapshotAttributesInput) (*DescribeDBClusterSnapshotAttributesOutput, error) { @@ -5464,14 +5453,13 @@ const opDescribeDBClusterSnapshots = "DescribeDBClusterSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClusterSnapshotsRequest method. +// req, resp := client.DescribeDBClusterSnapshotsRequest(params) // -// // Example sending a request using the DescribeDBClusterSnapshotsRequest method. -// req, resp := client.DescribeDBClusterSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshots func (c *RDS) DescribeDBClusterSnapshotsRequest(input *DescribeDBClusterSnapshotsInput) (req *request.Request, output *DescribeDBClusterSnapshotsOutput) { @@ -5517,8 +5505,8 @@ func (c *RDS) DescribeDBClusterSnapshotsRequest(input *DescribeDBClusterSnapshot // API operation DescribeDBClusterSnapshots for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshots func (c *RDS) DescribeDBClusterSnapshots(input *DescribeDBClusterSnapshotsInput) (*DescribeDBClusterSnapshotsOutput, error) { @@ -5550,15 +5538,14 @@ func (c *RDS) DescribeDBClusterSnapshotsWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBClusterSnapshots operation. -// pageNum := 0 -// err := client.DescribeDBClusterSnapshotsPages(params, -// func(page *rds.DescribeDBClusterSnapshotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBClusterSnapshots operation. +// pageNum := 0 +// err := client.DescribeDBClusterSnapshotsPages(params, +// func(page *rds.DescribeDBClusterSnapshotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBClusterSnapshotsPages(input *DescribeDBClusterSnapshotsInput, fn func(*DescribeDBClusterSnapshotsOutput, bool) bool) error { return c.DescribeDBClusterSnapshotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5610,14 +5597,13 @@ const opDescribeDBClusters = "DescribeDBClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBClustersRequest method. +// req, resp := client.DescribeDBClustersRequest(params) // -// // Example sending a request using the DescribeDBClustersRequest method. -// req, resp := client.DescribeDBClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusters func (c *RDS) DescribeDBClustersRequest(input *DescribeDBClustersInput) (req *request.Request, output *DescribeDBClustersOutput) { @@ -5666,8 +5652,8 @@ func (c *RDS) DescribeDBClustersRequest(input *DescribeDBClustersInput) (req *re // API operation DescribeDBClusters for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusters func (c *RDS) DescribeDBClusters(input *DescribeDBClustersInput) (*DescribeDBClustersOutput, error) { @@ -5699,15 +5685,14 @@ func (c *RDS) DescribeDBClustersWithContext(ctx aws.Context, input *DescribeDBCl // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBClusters operation. -// pageNum := 0 -// err := client.DescribeDBClustersPages(params, -// func(page *rds.DescribeDBClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBClusters operation. +// pageNum := 0 +// err := client.DescribeDBClustersPages(params, +// func(page *rds.DescribeDBClustersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBClustersPages(input *DescribeDBClustersInput, fn func(*DescribeDBClustersOutput, bool) bool) error { return c.DescribeDBClustersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5759,14 +5744,13 @@ const opDescribeDBEngineVersions = "DescribeDBEngineVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBEngineVersionsRequest method. +// req, resp := client.DescribeDBEngineVersionsRequest(params) // -// // Example sending a request using the DescribeDBEngineVersionsRequest method. -// req, resp := client.DescribeDBEngineVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBEngineVersions func (c *RDS) DescribeDBEngineVersionsRequest(input *DescribeDBEngineVersionsInput) (req *request.Request, output *DescribeDBEngineVersionsOutput) { @@ -5831,15 +5815,14 @@ func (c *RDS) DescribeDBEngineVersionsWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBEngineVersions operation. -// pageNum := 0 -// err := client.DescribeDBEngineVersionsPages(params, -// func(page *rds.DescribeDBEngineVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBEngineVersions operation. +// pageNum := 0 +// err := client.DescribeDBEngineVersionsPages(params, +// func(page *rds.DescribeDBEngineVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBEngineVersionsPages(input *DescribeDBEngineVersionsInput, fn func(*DescribeDBEngineVersionsOutput, bool) bool) error { return c.DescribeDBEngineVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5891,14 +5874,13 @@ const opDescribeDBInstanceAutomatedBackups = "DescribeDBInstanceAutomatedBackups // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBInstanceAutomatedBackupsRequest method. +// req, resp := client.DescribeDBInstanceAutomatedBackupsRequest(params) // -// // Example sending a request using the DescribeDBInstanceAutomatedBackupsRequest method. -// req, resp := client.DescribeDBInstanceAutomatedBackupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstanceAutomatedBackups func (c *RDS) DescribeDBInstanceAutomatedBackupsRequest(input *DescribeDBInstanceAutomatedBackupsInput) (req *request.Request, output *DescribeDBInstanceAutomatedBackupsOutput) { @@ -5941,8 +5923,8 @@ func (c *RDS) DescribeDBInstanceAutomatedBackupsRequest(input *DescribeDBInstanc // API operation DescribeDBInstanceAutomatedBackups for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceAutomatedBackupNotFoundFault "DBInstanceAutomatedBackupNotFound" -// No automated backup for this DB instance was found. +// - ErrCodeDBInstanceAutomatedBackupNotFoundFault "DBInstanceAutomatedBackupNotFound" +// No automated backup for this DB instance was found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstanceAutomatedBackups func (c *RDS) DescribeDBInstanceAutomatedBackups(input *DescribeDBInstanceAutomatedBackupsInput) (*DescribeDBInstanceAutomatedBackupsOutput, error) { @@ -5974,15 +5956,14 @@ func (c *RDS) DescribeDBInstanceAutomatedBackupsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBInstanceAutomatedBackups operation. -// pageNum := 0 -// err := client.DescribeDBInstanceAutomatedBackupsPages(params, -// func(page *rds.DescribeDBInstanceAutomatedBackupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBInstanceAutomatedBackups operation. +// pageNum := 0 +// err := client.DescribeDBInstanceAutomatedBackupsPages(params, +// func(page *rds.DescribeDBInstanceAutomatedBackupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBInstanceAutomatedBackupsPages(input *DescribeDBInstanceAutomatedBackupsInput, fn func(*DescribeDBInstanceAutomatedBackupsOutput, bool) bool) error { return c.DescribeDBInstanceAutomatedBackupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6034,14 +6015,13 @@ const opDescribeDBInstances = "DescribeDBInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBInstancesRequest method. +// req, resp := client.DescribeDBInstancesRequest(params) // -// // Example sending a request using the DescribeDBInstancesRequest method. -// req, resp := client.DescribeDBInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstances func (c *RDS) DescribeDBInstancesRequest(input *DescribeDBInstancesInput) (req *request.Request, output *DescribeDBInstancesOutput) { @@ -6081,8 +6061,8 @@ func (c *RDS) DescribeDBInstancesRequest(input *DescribeDBInstancesInput) (req * // API operation DescribeDBInstances for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBInstances func (c *RDS) DescribeDBInstances(input *DescribeDBInstancesInput) (*DescribeDBInstancesOutput, error) { @@ -6114,15 +6094,14 @@ func (c *RDS) DescribeDBInstancesWithContext(ctx aws.Context, input *DescribeDBI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBInstances operation. -// pageNum := 0 -// err := client.DescribeDBInstancesPages(params, -// func(page *rds.DescribeDBInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBInstances operation. +// pageNum := 0 +// err := client.DescribeDBInstancesPages(params, +// func(page *rds.DescribeDBInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBInstancesPages(input *DescribeDBInstancesInput, fn func(*DescribeDBInstancesOutput, bool) bool) error { return c.DescribeDBInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6174,14 +6153,13 @@ const opDescribeDBLogFiles = "DescribeDBLogFiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBLogFilesRequest method. +// req, resp := client.DescribeDBLogFilesRequest(params) // -// // Example sending a request using the DescribeDBLogFilesRequest method. -// req, resp := client.DescribeDBLogFilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFiles func (c *RDS) DescribeDBLogFilesRequest(input *DescribeDBLogFilesInput) (req *request.Request, output *DescribeDBLogFilesOutput) { @@ -6220,8 +6198,8 @@ func (c *RDS) DescribeDBLogFilesRequest(input *DescribeDBLogFilesInput) (req *re // API operation DescribeDBLogFiles for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBLogFiles func (c *RDS) DescribeDBLogFiles(input *DescribeDBLogFilesInput) (*DescribeDBLogFilesOutput, error) { @@ -6253,15 +6231,14 @@ func (c *RDS) DescribeDBLogFilesWithContext(ctx aws.Context, input *DescribeDBLo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBLogFiles operation. -// pageNum := 0 -// err := client.DescribeDBLogFilesPages(params, -// func(page *rds.DescribeDBLogFilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBLogFiles operation. +// pageNum := 0 +// err := client.DescribeDBLogFilesPages(params, +// func(page *rds.DescribeDBLogFilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBLogFilesPages(input *DescribeDBLogFilesInput, fn func(*DescribeDBLogFilesOutput, bool) bool) error { return c.DescribeDBLogFilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6313,14 +6290,13 @@ const opDescribeDBParameterGroups = "DescribeDBParameterGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBParameterGroupsRequest method. +// req, resp := client.DescribeDBParameterGroupsRequest(params) // -// // Example sending a request using the DescribeDBParameterGroupsRequest method. -// req, resp := client.DescribeDBParameterGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameterGroups func (c *RDS) DescribeDBParameterGroupsRequest(input *DescribeDBParameterGroupsInput) (req *request.Request, output *DescribeDBParameterGroupsOutput) { @@ -6359,8 +6335,8 @@ func (c *RDS) DescribeDBParameterGroupsRequest(input *DescribeDBParameterGroupsI // API operation DescribeDBParameterGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameterGroups func (c *RDS) DescribeDBParameterGroups(input *DescribeDBParameterGroupsInput) (*DescribeDBParameterGroupsOutput, error) { @@ -6392,15 +6368,14 @@ func (c *RDS) DescribeDBParameterGroupsWithContext(ctx aws.Context, input *Descr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBParameterGroups operation. -// pageNum := 0 -// err := client.DescribeDBParameterGroupsPages(params, -// func(page *rds.DescribeDBParameterGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBParameterGroups operation. +// pageNum := 0 +// err := client.DescribeDBParameterGroupsPages(params, +// func(page *rds.DescribeDBParameterGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBParameterGroupsPages(input *DescribeDBParameterGroupsInput, fn func(*DescribeDBParameterGroupsOutput, bool) bool) error { return c.DescribeDBParameterGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6452,14 +6427,13 @@ const opDescribeDBParameters = "DescribeDBParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBParametersRequest method. +// req, resp := client.DescribeDBParametersRequest(params) // -// // Example sending a request using the DescribeDBParametersRequest method. -// req, resp := client.DescribeDBParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameters func (c *RDS) DescribeDBParametersRequest(input *DescribeDBParametersInput) (req *request.Request, output *DescribeDBParametersOutput) { @@ -6496,8 +6470,8 @@ func (c *RDS) DescribeDBParametersRequest(input *DescribeDBParametersInput) (req // API operation DescribeDBParameters for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBParameters func (c *RDS) DescribeDBParameters(input *DescribeDBParametersInput) (*DescribeDBParametersOutput, error) { @@ -6529,15 +6503,14 @@ func (c *RDS) DescribeDBParametersWithContext(ctx aws.Context, input *DescribeDB // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBParameters operation. -// pageNum := 0 -// err := client.DescribeDBParametersPages(params, -// func(page *rds.DescribeDBParametersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBParameters operation. +// pageNum := 0 +// err := client.DescribeDBParametersPages(params, +// func(page *rds.DescribeDBParametersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBParametersPages(input *DescribeDBParametersInput, fn func(*DescribeDBParametersOutput, bool) bool) error { return c.DescribeDBParametersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6589,14 +6562,13 @@ const opDescribeDBProxies = "DescribeDBProxies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBProxiesRequest method. +// req, resp := client.DescribeDBProxiesRequest(params) // -// // Example sending a request using the DescribeDBProxiesRequest method. -// req, resp := client.DescribeDBProxiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBProxies func (c *RDS) DescribeDBProxiesRequest(input *DescribeDBProxiesInput) (req *request.Request, output *DescribeDBProxiesOutput) { @@ -6633,9 +6605,9 @@ func (c *RDS) DescribeDBProxiesRequest(input *DescribeDBProxiesInput) (req *requ // API operation DescribeDBProxies for usage and error information. // // Returned Error Codes: -// * ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" -// The specified proxy name doesn't correspond to a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" +// The specified proxy name doesn't correspond to a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBProxies func (c *RDS) DescribeDBProxies(input *DescribeDBProxiesInput) (*DescribeDBProxiesOutput, error) { @@ -6667,15 +6639,14 @@ func (c *RDS) DescribeDBProxiesWithContext(ctx aws.Context, input *DescribeDBPro // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBProxies operation. -// pageNum := 0 -// err := client.DescribeDBProxiesPages(params, -// func(page *rds.DescribeDBProxiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBProxies operation. +// pageNum := 0 +// err := client.DescribeDBProxiesPages(params, +// func(page *rds.DescribeDBProxiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBProxiesPages(input *DescribeDBProxiesInput, fn func(*DescribeDBProxiesOutput, bool) bool) error { return c.DescribeDBProxiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6727,14 +6698,13 @@ const opDescribeDBProxyEndpoints = "DescribeDBProxyEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBProxyEndpointsRequest method. +// req, resp := client.DescribeDBProxyEndpointsRequest(params) // -// // Example sending a request using the DescribeDBProxyEndpointsRequest method. -// req, resp := client.DescribeDBProxyEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBProxyEndpoints func (c *RDS) DescribeDBProxyEndpointsRequest(input *DescribeDBProxyEndpointsInput) (req *request.Request, output *DescribeDBProxyEndpointsOutput) { @@ -6771,12 +6741,13 @@ func (c *RDS) DescribeDBProxyEndpointsRequest(input *DescribeDBProxyEndpointsInp // API operation DescribeDBProxyEndpoints for usage and error information. // // Returned Error Codes: -// * ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" -// The specified proxy name doesn't correspond to a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. // -// * ErrCodeDBProxyEndpointNotFoundFault "DBProxyEndpointNotFoundFault" -// The DB proxy endpoint doesn't exist. +// - ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" +// The specified proxy name doesn't correspond to a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. +// +// - ErrCodeDBProxyEndpointNotFoundFault "DBProxyEndpointNotFoundFault" +// The DB proxy endpoint doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBProxyEndpoints func (c *RDS) DescribeDBProxyEndpoints(input *DescribeDBProxyEndpointsInput) (*DescribeDBProxyEndpointsOutput, error) { @@ -6808,15 +6779,14 @@ func (c *RDS) DescribeDBProxyEndpointsWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBProxyEndpoints operation. -// pageNum := 0 -// err := client.DescribeDBProxyEndpointsPages(params, -// func(page *rds.DescribeDBProxyEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBProxyEndpoints operation. +// pageNum := 0 +// err := client.DescribeDBProxyEndpointsPages(params, +// func(page *rds.DescribeDBProxyEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBProxyEndpointsPages(input *DescribeDBProxyEndpointsInput, fn func(*DescribeDBProxyEndpointsOutput, bool) bool) error { return c.DescribeDBProxyEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6868,14 +6838,13 @@ const opDescribeDBProxyTargetGroups = "DescribeDBProxyTargetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBProxyTargetGroupsRequest method. +// req, resp := client.DescribeDBProxyTargetGroupsRequest(params) // -// // Example sending a request using the DescribeDBProxyTargetGroupsRequest method. -// req, resp := client.DescribeDBProxyTargetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBProxyTargetGroups func (c *RDS) DescribeDBProxyTargetGroupsRequest(input *DescribeDBProxyTargetGroupsInput) (req *request.Request, output *DescribeDBProxyTargetGroupsOutput) { @@ -6913,16 +6882,17 @@ func (c *RDS) DescribeDBProxyTargetGroupsRequest(input *DescribeDBProxyTargetGro // API operation DescribeDBProxyTargetGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" -// The specified proxy name doesn't correspond to a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. // -// * ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" -// The specified target group isn't available for a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" +// The specified proxy name doesn't correspond to a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. +// +// - ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" +// The specified target group isn't available for a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. // -// * ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" -// The requested operation can't be performed while the proxy is in this state. +// - ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" +// The requested operation can't be performed while the proxy is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBProxyTargetGroups func (c *RDS) DescribeDBProxyTargetGroups(input *DescribeDBProxyTargetGroupsInput) (*DescribeDBProxyTargetGroupsOutput, error) { @@ -6954,15 +6924,14 @@ func (c *RDS) DescribeDBProxyTargetGroupsWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBProxyTargetGroups operation. -// pageNum := 0 -// err := client.DescribeDBProxyTargetGroupsPages(params, -// func(page *rds.DescribeDBProxyTargetGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBProxyTargetGroups operation. +// pageNum := 0 +// err := client.DescribeDBProxyTargetGroupsPages(params, +// func(page *rds.DescribeDBProxyTargetGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBProxyTargetGroupsPages(input *DescribeDBProxyTargetGroupsInput, fn func(*DescribeDBProxyTargetGroupsOutput, bool) bool) error { return c.DescribeDBProxyTargetGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7014,14 +6983,13 @@ const opDescribeDBProxyTargets = "DescribeDBProxyTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBProxyTargetsRequest method. +// req, resp := client.DescribeDBProxyTargetsRequest(params) // -// // Example sending a request using the DescribeDBProxyTargetsRequest method. -// req, resp := client.DescribeDBProxyTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBProxyTargets func (c *RDS) DescribeDBProxyTargetsRequest(input *DescribeDBProxyTargetsInput) (req *request.Request, output *DescribeDBProxyTargetsOutput) { @@ -7058,21 +7026,22 @@ func (c *RDS) DescribeDBProxyTargetsRequest(input *DescribeDBProxyTargetsInput) // API operation DescribeDBProxyTargets for usage and error information. // // Returned Error Codes: -// * ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" -// The specified proxy name doesn't correspond to a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. // -// * ErrCodeDBProxyTargetNotFoundFault "DBProxyTargetNotFoundFault" -// The specified RDS DB instance or Aurora DB cluster isn't available for a -// proxy owned by your Amazon Web Services account in the specified Amazon Web -// Services Region. +// - ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" +// The specified proxy name doesn't correspond to a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. // -// * ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" -// The specified target group isn't available for a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeDBProxyTargetNotFoundFault "DBProxyTargetNotFoundFault" +// The specified RDS DB instance or Aurora DB cluster isn't available for a +// proxy owned by your Amazon Web Services account in the specified Amazon Web +// Services Region. // -// * ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" -// The requested operation can't be performed while the proxy is in this state. +// - ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" +// The specified target group isn't available for a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. +// +// - ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" +// The requested operation can't be performed while the proxy is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBProxyTargets func (c *RDS) DescribeDBProxyTargets(input *DescribeDBProxyTargetsInput) (*DescribeDBProxyTargetsOutput, error) { @@ -7104,15 +7073,14 @@ func (c *RDS) DescribeDBProxyTargetsWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBProxyTargets operation. -// pageNum := 0 -// err := client.DescribeDBProxyTargetsPages(params, -// func(page *rds.DescribeDBProxyTargetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBProxyTargets operation. +// pageNum := 0 +// err := client.DescribeDBProxyTargetsPages(params, +// func(page *rds.DescribeDBProxyTargetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBProxyTargetsPages(input *DescribeDBProxyTargetsInput, fn func(*DescribeDBProxyTargetsOutput, bool) bool) error { return c.DescribeDBProxyTargetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7164,14 +7132,13 @@ const opDescribeDBSecurityGroups = "DescribeDBSecurityGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBSecurityGroupsRequest method. +// req, resp := client.DescribeDBSecurityGroupsRequest(params) // -// // Example sending a request using the DescribeDBSecurityGroupsRequest method. -// req, resp := client.DescribeDBSecurityGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSecurityGroups func (c *RDS) DescribeDBSecurityGroupsRequest(input *DescribeDBSecurityGroupsInput) (req *request.Request, output *DescribeDBSecurityGroupsOutput) { @@ -7210,8 +7177,8 @@ func (c *RDS) DescribeDBSecurityGroupsRequest(input *DescribeDBSecurityGroupsInp // API operation DescribeDBSecurityGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" -// DBSecurityGroupName doesn't refer to an existing DB security group. +// - ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" +// DBSecurityGroupName doesn't refer to an existing DB security group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSecurityGroups func (c *RDS) DescribeDBSecurityGroups(input *DescribeDBSecurityGroupsInput) (*DescribeDBSecurityGroupsOutput, error) { @@ -7243,15 +7210,14 @@ func (c *RDS) DescribeDBSecurityGroupsWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBSecurityGroups operation. -// pageNum := 0 -// err := client.DescribeDBSecurityGroupsPages(params, -// func(page *rds.DescribeDBSecurityGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBSecurityGroups operation. +// pageNum := 0 +// err := client.DescribeDBSecurityGroupsPages(params, +// func(page *rds.DescribeDBSecurityGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBSecurityGroupsPages(input *DescribeDBSecurityGroupsInput, fn func(*DescribeDBSecurityGroupsOutput, bool) bool) error { return c.DescribeDBSecurityGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7303,14 +7269,13 @@ const opDescribeDBSnapshotAttributes = "DescribeDBSnapshotAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBSnapshotAttributesRequest method. +// req, resp := client.DescribeDBSnapshotAttributesRequest(params) // -// // Example sending a request using the DescribeDBSnapshotAttributesRequest method. -// req, resp := client.DescribeDBSnapshotAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributes func (c *RDS) DescribeDBSnapshotAttributesRequest(input *DescribeDBSnapshotAttributesInput) (req *request.Request, output *DescribeDBSnapshotAttributesOutput) { @@ -7353,8 +7318,8 @@ func (c *RDS) DescribeDBSnapshotAttributesRequest(input *DescribeDBSnapshotAttri // API operation DescribeDBSnapshotAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshotAttributes func (c *RDS) DescribeDBSnapshotAttributes(input *DescribeDBSnapshotAttributesInput) (*DescribeDBSnapshotAttributesOutput, error) { @@ -7394,14 +7359,13 @@ const opDescribeDBSnapshots = "DescribeDBSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBSnapshotsRequest method. +// req, resp := client.DescribeDBSnapshotsRequest(params) // -// // Example sending a request using the DescribeDBSnapshotsRequest method. -// req, resp := client.DescribeDBSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshots func (c *RDS) DescribeDBSnapshotsRequest(input *DescribeDBSnapshotsInput) (req *request.Request, output *DescribeDBSnapshotsOutput) { @@ -7438,8 +7402,8 @@ func (c *RDS) DescribeDBSnapshotsRequest(input *DescribeDBSnapshotsInput) (req * // API operation DescribeDBSnapshots for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSnapshots func (c *RDS) DescribeDBSnapshots(input *DescribeDBSnapshotsInput) (*DescribeDBSnapshotsOutput, error) { @@ -7471,15 +7435,14 @@ func (c *RDS) DescribeDBSnapshotsWithContext(ctx aws.Context, input *DescribeDBS // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBSnapshots operation. -// pageNum := 0 -// err := client.DescribeDBSnapshotsPages(params, -// func(page *rds.DescribeDBSnapshotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBSnapshots operation. +// pageNum := 0 +// err := client.DescribeDBSnapshotsPages(params, +// func(page *rds.DescribeDBSnapshotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBSnapshotsPages(input *DescribeDBSnapshotsInput, fn func(*DescribeDBSnapshotsOutput, bool) bool) error { return c.DescribeDBSnapshotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7531,14 +7494,13 @@ const opDescribeDBSubnetGroups = "DescribeDBSubnetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDBSubnetGroupsRequest method. +// req, resp := client.DescribeDBSubnetGroupsRequest(params) // -// // Example sending a request using the DescribeDBSubnetGroupsRequest method. -// req, resp := client.DescribeDBSubnetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSubnetGroups func (c *RDS) DescribeDBSubnetGroupsRequest(input *DescribeDBSubnetGroupsInput) (req *request.Request, output *DescribeDBSubnetGroupsOutput) { @@ -7578,8 +7540,8 @@ func (c *RDS) DescribeDBSubnetGroupsRequest(input *DescribeDBSubnetGroupsInput) // API operation DescribeDBSubnetGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing DB subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing DB subnet group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBSubnetGroups func (c *RDS) DescribeDBSubnetGroups(input *DescribeDBSubnetGroupsInput) (*DescribeDBSubnetGroupsOutput, error) { @@ -7611,15 +7573,14 @@ func (c *RDS) DescribeDBSubnetGroupsWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDBSubnetGroups operation. -// pageNum := 0 -// err := client.DescribeDBSubnetGroupsPages(params, -// func(page *rds.DescribeDBSubnetGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDBSubnetGroups operation. +// pageNum := 0 +// err := client.DescribeDBSubnetGroupsPages(params, +// func(page *rds.DescribeDBSubnetGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeDBSubnetGroupsPages(input *DescribeDBSubnetGroupsInput, fn func(*DescribeDBSubnetGroupsOutput, bool) bool) error { return c.DescribeDBSubnetGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7671,14 +7632,13 @@ const opDescribeEngineDefaultClusterParameters = "DescribeEngineDefaultClusterPa // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEngineDefaultClusterParametersRequest method. +// req, resp := client.DescribeEngineDefaultClusterParametersRequest(params) // -// // Example sending a request using the DescribeEngineDefaultClusterParametersRequest method. -// req, resp := client.DescribeEngineDefaultClusterParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultClusterParameters func (c *RDS) DescribeEngineDefaultClusterParametersRequest(input *DescribeEngineDefaultClusterParametersInput) (req *request.Request, output *DescribeEngineDefaultClusterParametersOutput) { @@ -7749,14 +7709,13 @@ const opDescribeEngineDefaultParameters = "DescribeEngineDefaultParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEngineDefaultParametersRequest method. +// req, resp := client.DescribeEngineDefaultParametersRequest(params) // -// // Example sending a request using the DescribeEngineDefaultParametersRequest method. -// req, resp := client.DescribeEngineDefaultParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEngineDefaultParameters func (c *RDS) DescribeEngineDefaultParametersRequest(input *DescribeEngineDefaultParametersInput) (req *request.Request, output *DescribeEngineDefaultParametersOutput) { @@ -7822,15 +7781,14 @@ func (c *RDS) DescribeEngineDefaultParametersWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEngineDefaultParameters operation. -// pageNum := 0 -// err := client.DescribeEngineDefaultParametersPages(params, -// func(page *rds.DescribeEngineDefaultParametersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEngineDefaultParameters operation. +// pageNum := 0 +// err := client.DescribeEngineDefaultParametersPages(params, +// func(page *rds.DescribeEngineDefaultParametersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeEngineDefaultParametersPages(input *DescribeEngineDefaultParametersInput, fn func(*DescribeEngineDefaultParametersOutput, bool) bool) error { return c.DescribeEngineDefaultParametersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7882,14 +7840,13 @@ const opDescribeEventCategories = "DescribeEventCategories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventCategoriesRequest method. +// req, resp := client.DescribeEventCategoriesRequest(params) // -// // Example sending a request using the DescribeEventCategoriesRequest method. -// req, resp := client.DescribeEventCategoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventCategories func (c *RDS) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput) { @@ -7960,14 +7917,13 @@ const opDescribeEventSubscriptions = "DescribeEventSubscriptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventSubscriptionsRequest method. +// req, resp := client.DescribeEventSubscriptionsRequest(params) // -// // Example sending a request using the DescribeEventSubscriptionsRequest method. -// req, resp := client.DescribeEventSubscriptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventSubscriptions func (c *RDS) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput) { @@ -8008,8 +7964,8 @@ func (c *RDS) DescribeEventSubscriptionsRequest(input *DescribeEventSubscription // API operation DescribeEventSubscriptions for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// The subscription name does not exist. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// The subscription name does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEventSubscriptions func (c *RDS) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error) { @@ -8041,15 +7997,14 @@ func (c *RDS) DescribeEventSubscriptionsWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEventSubscriptions operation. -// pageNum := 0 -// err := client.DescribeEventSubscriptionsPages(params, -// func(page *rds.DescribeEventSubscriptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEventSubscriptions operation. +// pageNum := 0 +// err := client.DescribeEventSubscriptionsPages(params, +// func(page *rds.DescribeEventSubscriptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeEventSubscriptionsPages(input *DescribeEventSubscriptionsInput, fn func(*DescribeEventSubscriptionsOutput, bool) bool) error { return c.DescribeEventSubscriptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8101,14 +8056,13 @@ const opDescribeEvents = "DescribeEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventsRequest method. +// req, resp := client.DescribeEventsRequest(params) // -// // Example sending a request using the DescribeEventsRequest method. -// req, resp := client.DescribeEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeEvents func (c *RDS) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { @@ -8179,15 +8133,14 @@ func (c *RDS) DescribeEventsWithContext(ctx aws.Context, input *DescribeEventsIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEvents operation. -// pageNum := 0 -// err := client.DescribeEventsPages(params, -// func(page *rds.DescribeEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEvents operation. +// pageNum := 0 +// err := client.DescribeEventsPages(params, +// func(page *rds.DescribeEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeEventsPages(input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool) error { return c.DescribeEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8239,14 +8192,13 @@ const opDescribeExportTasks = "DescribeExportTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExportTasksRequest method. +// req, resp := client.DescribeExportTasksRequest(params) // -// // Example sending a request using the DescribeExportTasksRequest method. -// req, resp := client.DescribeExportTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeExportTasks func (c *RDS) DescribeExportTasksRequest(input *DescribeExportTasksInput) (req *request.Request, output *DescribeExportTasksOutput) { @@ -8284,8 +8236,8 @@ func (c *RDS) DescribeExportTasksRequest(input *DescribeExportTasksInput) (req * // API operation DescribeExportTasks for usage and error information. // // Returned Error Codes: -// * ErrCodeExportTaskNotFoundFault "ExportTaskNotFound" -// The export task doesn't exist. +// - ErrCodeExportTaskNotFoundFault "ExportTaskNotFound" +// The export task doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeExportTasks func (c *RDS) DescribeExportTasks(input *DescribeExportTasksInput) (*DescribeExportTasksOutput, error) { @@ -8317,15 +8269,14 @@ func (c *RDS) DescribeExportTasksWithContext(ctx aws.Context, input *DescribeExp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeExportTasks operation. -// pageNum := 0 -// err := client.DescribeExportTasksPages(params, -// func(page *rds.DescribeExportTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeExportTasks operation. +// pageNum := 0 +// err := client.DescribeExportTasksPages(params, +// func(page *rds.DescribeExportTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeExportTasksPages(input *DescribeExportTasksInput, fn func(*DescribeExportTasksOutput, bool) bool) error { return c.DescribeExportTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8377,14 +8328,13 @@ const opDescribeGlobalClusters = "DescribeGlobalClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGlobalClustersRequest method. +// req, resp := client.DescribeGlobalClustersRequest(params) // -// // Example sending a request using the DescribeGlobalClustersRequest method. -// req, resp := client.DescribeGlobalClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeGlobalClusters func (c *RDS) DescribeGlobalClustersRequest(input *DescribeGlobalClustersInput) (req *request.Request, output *DescribeGlobalClustersOutput) { @@ -8427,9 +8377,9 @@ func (c *RDS) DescribeGlobalClustersRequest(input *DescribeGlobalClustersInput) // API operation DescribeGlobalClusters for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" -// The GlobalClusterIdentifier doesn't refer to an existing global database -// cluster. +// - ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" +// The GlobalClusterIdentifier doesn't refer to an existing global database +// cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeGlobalClusters func (c *RDS) DescribeGlobalClusters(input *DescribeGlobalClustersInput) (*DescribeGlobalClustersOutput, error) { @@ -8461,15 +8411,14 @@ func (c *RDS) DescribeGlobalClustersWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeGlobalClusters operation. -// pageNum := 0 -// err := client.DescribeGlobalClustersPages(params, -// func(page *rds.DescribeGlobalClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeGlobalClusters operation. +// pageNum := 0 +// err := client.DescribeGlobalClustersPages(params, +// func(page *rds.DescribeGlobalClustersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeGlobalClustersPages(input *DescribeGlobalClustersInput, fn func(*DescribeGlobalClustersOutput, bool) bool) error { return c.DescribeGlobalClustersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8521,14 +8470,13 @@ const opDescribeOptionGroupOptions = "DescribeOptionGroupOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOptionGroupOptionsRequest method. +// req, resp := client.DescribeOptionGroupOptionsRequest(params) // -// // Example sending a request using the DescribeOptionGroupOptionsRequest method. -// req, resp := client.DescribeOptionGroupOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroupOptions func (c *RDS) DescribeOptionGroupOptionsRequest(input *DescribeOptionGroupOptionsInput) (req *request.Request, output *DescribeOptionGroupOptionsOutput) { @@ -8593,15 +8541,14 @@ func (c *RDS) DescribeOptionGroupOptionsWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOptionGroupOptions operation. -// pageNum := 0 -// err := client.DescribeOptionGroupOptionsPages(params, -// func(page *rds.DescribeOptionGroupOptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOptionGroupOptions operation. +// pageNum := 0 +// err := client.DescribeOptionGroupOptionsPages(params, +// func(page *rds.DescribeOptionGroupOptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeOptionGroupOptionsPages(input *DescribeOptionGroupOptionsInput, fn func(*DescribeOptionGroupOptionsOutput, bool) bool) error { return c.DescribeOptionGroupOptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8653,14 +8600,13 @@ const opDescribeOptionGroups = "DescribeOptionGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOptionGroupsRequest method. +// req, resp := client.DescribeOptionGroupsRequest(params) // -// // Example sending a request using the DescribeOptionGroupsRequest method. -// req, resp := client.DescribeOptionGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroups func (c *RDS) DescribeOptionGroupsRequest(input *DescribeOptionGroupsInput) (req *request.Request, output *DescribeOptionGroupsOutput) { @@ -8697,8 +8643,8 @@ func (c *RDS) DescribeOptionGroupsRequest(input *DescribeOptionGroupsInput) (req // API operation DescribeOptionGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The specified option group could not be found. +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The specified option group could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOptionGroups func (c *RDS) DescribeOptionGroups(input *DescribeOptionGroupsInput) (*DescribeOptionGroupsOutput, error) { @@ -8730,15 +8676,14 @@ func (c *RDS) DescribeOptionGroupsWithContext(ctx aws.Context, input *DescribeOp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOptionGroups operation. -// pageNum := 0 -// err := client.DescribeOptionGroupsPages(params, -// func(page *rds.DescribeOptionGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOptionGroups operation. +// pageNum := 0 +// err := client.DescribeOptionGroupsPages(params, +// func(page *rds.DescribeOptionGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeOptionGroupsPages(input *DescribeOptionGroupsInput, fn func(*DescribeOptionGroupsOutput, bool) bool) error { return c.DescribeOptionGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8790,14 +8735,13 @@ const opDescribeOrderableDBInstanceOptions = "DescribeOrderableDBInstanceOptions // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrderableDBInstanceOptionsRequest method. +// req, resp := client.DescribeOrderableDBInstanceOptionsRequest(params) // -// // Example sending a request using the DescribeOrderableDBInstanceOptionsRequest method. -// req, resp := client.DescribeOrderableDBInstanceOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeOrderableDBInstanceOptions func (c *RDS) DescribeOrderableDBInstanceOptionsRequest(input *DescribeOrderableDBInstanceOptionsInput) (req *request.Request, output *DescribeOrderableDBInstanceOptionsOutput) { @@ -8863,15 +8807,14 @@ func (c *RDS) DescribeOrderableDBInstanceOptionsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOrderableDBInstanceOptions operation. -// pageNum := 0 -// err := client.DescribeOrderableDBInstanceOptionsPages(params, -// func(page *rds.DescribeOrderableDBInstanceOptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOrderableDBInstanceOptions operation. +// pageNum := 0 +// err := client.DescribeOrderableDBInstanceOptionsPages(params, +// func(page *rds.DescribeOrderableDBInstanceOptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeOrderableDBInstanceOptionsPages(input *DescribeOrderableDBInstanceOptionsInput, fn func(*DescribeOrderableDBInstanceOptionsOutput, bool) bool) error { return c.DescribeOrderableDBInstanceOptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8923,14 +8866,13 @@ const opDescribePendingMaintenanceActions = "DescribePendingMaintenanceActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePendingMaintenanceActionsRequest method. +// req, resp := client.DescribePendingMaintenanceActionsRequest(params) // -// // Example sending a request using the DescribePendingMaintenanceActionsRequest method. -// req, resp := client.DescribePendingMaintenanceActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribePendingMaintenanceActions func (c *RDS) DescribePendingMaintenanceActionsRequest(input *DescribePendingMaintenanceActionsInput) (req *request.Request, output *DescribePendingMaintenanceActionsOutput) { @@ -8968,8 +8910,8 @@ func (c *RDS) DescribePendingMaintenanceActionsRequest(input *DescribePendingMai // API operation DescribePendingMaintenanceActions for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" -// The specified resource ID was not found. +// - ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The specified resource ID was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribePendingMaintenanceActions func (c *RDS) DescribePendingMaintenanceActions(input *DescribePendingMaintenanceActionsInput) (*DescribePendingMaintenanceActionsOutput, error) { @@ -9001,15 +8943,14 @@ func (c *RDS) DescribePendingMaintenanceActionsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePendingMaintenanceActions operation. -// pageNum := 0 -// err := client.DescribePendingMaintenanceActionsPages(params, -// func(page *rds.DescribePendingMaintenanceActionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePendingMaintenanceActions operation. +// pageNum := 0 +// err := client.DescribePendingMaintenanceActionsPages(params, +// func(page *rds.DescribePendingMaintenanceActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribePendingMaintenanceActionsPages(input *DescribePendingMaintenanceActionsInput, fn func(*DescribePendingMaintenanceActionsOutput, bool) bool) error { return c.DescribePendingMaintenanceActionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9061,14 +9002,13 @@ const opDescribeReservedDBInstances = "DescribeReservedDBInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservedDBInstancesRequest method. +// req, resp := client.DescribeReservedDBInstancesRequest(params) // -// // Example sending a request using the DescribeReservedDBInstancesRequest method. -// req, resp := client.DescribeReservedDBInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstances func (c *RDS) DescribeReservedDBInstancesRequest(input *DescribeReservedDBInstancesInput) (req *request.Request, output *DescribeReservedDBInstancesOutput) { @@ -9106,8 +9046,8 @@ func (c *RDS) DescribeReservedDBInstancesRequest(input *DescribeReservedDBInstan // API operation DescribeReservedDBInstances for usage and error information. // // Returned Error Codes: -// * ErrCodeReservedDBInstanceNotFoundFault "ReservedDBInstanceNotFound" -// The specified reserved DB Instance not found. +// - ErrCodeReservedDBInstanceNotFoundFault "ReservedDBInstanceNotFound" +// The specified reserved DB Instance not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstances func (c *RDS) DescribeReservedDBInstances(input *DescribeReservedDBInstancesInput) (*DescribeReservedDBInstancesOutput, error) { @@ -9139,15 +9079,14 @@ func (c *RDS) DescribeReservedDBInstancesWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReservedDBInstances operation. -// pageNum := 0 -// err := client.DescribeReservedDBInstancesPages(params, -// func(page *rds.DescribeReservedDBInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReservedDBInstances operation. +// pageNum := 0 +// err := client.DescribeReservedDBInstancesPages(params, +// func(page *rds.DescribeReservedDBInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeReservedDBInstancesPages(input *DescribeReservedDBInstancesInput, fn func(*DescribeReservedDBInstancesOutput, bool) bool) error { return c.DescribeReservedDBInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9199,14 +9138,13 @@ const opDescribeReservedDBInstancesOfferings = "DescribeReservedDBInstancesOffer // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservedDBInstancesOfferingsRequest method. +// req, resp := client.DescribeReservedDBInstancesOfferingsRequest(params) // -// // Example sending a request using the DescribeReservedDBInstancesOfferingsRequest method. -// req, resp := client.DescribeReservedDBInstancesOfferingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesOfferings func (c *RDS) DescribeReservedDBInstancesOfferingsRequest(input *DescribeReservedDBInstancesOfferingsInput) (req *request.Request, output *DescribeReservedDBInstancesOfferingsOutput) { @@ -9243,8 +9181,8 @@ func (c *RDS) DescribeReservedDBInstancesOfferingsRequest(input *DescribeReserve // API operation DescribeReservedDBInstancesOfferings for usage and error information. // // Returned Error Codes: -// * ErrCodeReservedDBInstancesOfferingNotFoundFault "ReservedDBInstancesOfferingNotFound" -// Specified offering does not exist. +// - ErrCodeReservedDBInstancesOfferingNotFoundFault "ReservedDBInstancesOfferingNotFound" +// Specified offering does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeReservedDBInstancesOfferings func (c *RDS) DescribeReservedDBInstancesOfferings(input *DescribeReservedDBInstancesOfferingsInput) (*DescribeReservedDBInstancesOfferingsOutput, error) { @@ -9276,15 +9214,14 @@ func (c *RDS) DescribeReservedDBInstancesOfferingsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReservedDBInstancesOfferings operation. -// pageNum := 0 -// err := client.DescribeReservedDBInstancesOfferingsPages(params, -// func(page *rds.DescribeReservedDBInstancesOfferingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReservedDBInstancesOfferings operation. +// pageNum := 0 +// err := client.DescribeReservedDBInstancesOfferingsPages(params, +// func(page *rds.DescribeReservedDBInstancesOfferingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeReservedDBInstancesOfferingsPages(input *DescribeReservedDBInstancesOfferingsInput, fn func(*DescribeReservedDBInstancesOfferingsOutput, bool) bool) error { return c.DescribeReservedDBInstancesOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9336,14 +9273,13 @@ const opDescribeSourceRegions = "DescribeSourceRegions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSourceRegionsRequest method. +// req, resp := client.DescribeSourceRegionsRequest(params) // -// // Example sending a request using the DescribeSourceRegionsRequest method. -// req, resp := client.DescribeSourceRegionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeSourceRegions func (c *RDS) DescribeSourceRegionsRequest(input *DescribeSourceRegionsInput) (req *request.Request, output *DescribeSourceRegionsOutput) { @@ -9410,15 +9346,14 @@ func (c *RDS) DescribeSourceRegionsWithContext(ctx aws.Context, input *DescribeS // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSourceRegions operation. -// pageNum := 0 -// err := client.DescribeSourceRegionsPages(params, -// func(page *rds.DescribeSourceRegionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSourceRegions operation. +// pageNum := 0 +// err := client.DescribeSourceRegionsPages(params, +// func(page *rds.DescribeSourceRegionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DescribeSourceRegionsPages(input *DescribeSourceRegionsInput, fn func(*DescribeSourceRegionsOutput, bool) bool) error { return c.DescribeSourceRegionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9470,14 +9405,13 @@ const opDescribeValidDBInstanceModifications = "DescribeValidDBInstanceModificat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeValidDBInstanceModificationsRequest method. +// req, resp := client.DescribeValidDBInstanceModificationsRequest(params) // -// // Example sending a request using the DescribeValidDBInstanceModificationsRequest method. -// req, resp := client.DescribeValidDBInstanceModificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeValidDBInstanceModifications func (c *RDS) DescribeValidDBInstanceModificationsRequest(input *DescribeValidDBInstanceModificationsInput) (req *request.Request, output *DescribeValidDBInstanceModificationsOutput) { @@ -9512,11 +9446,12 @@ func (c *RDS) DescribeValidDBInstanceModificationsRequest(input *DescribeValidDB // API operation DescribeValidDBInstanceModifications for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeValidDBInstanceModifications func (c *RDS) DescribeValidDBInstanceModifications(input *DescribeValidDBInstanceModificationsInput) (*DescribeValidDBInstanceModificationsOutput, error) { @@ -9556,14 +9491,13 @@ const opDownloadDBLogFilePortion = "DownloadDBLogFilePortion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DownloadDBLogFilePortionRequest method. +// req, resp := client.DownloadDBLogFilePortionRequest(params) // -// // Example sending a request using the DownloadDBLogFilePortionRequest method. -// req, resp := client.DownloadDBLogFilePortionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortion func (c *RDS) DownloadDBLogFilePortionRequest(input *DownloadDBLogFilePortionInput) (req *request.Request, output *DownloadDBLogFilePortionOutput) { @@ -9602,11 +9536,12 @@ func (c *RDS) DownloadDBLogFilePortionRequest(input *DownloadDBLogFilePortionInp // API operation DownloadDBLogFilePortion for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeDBLogFileNotFoundFault "DBLogFileNotFoundFault" -// LogFileName doesn't refer to an existing DB log file. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. +// +// - ErrCodeDBLogFileNotFoundFault "DBLogFileNotFoundFault" +// LogFileName doesn't refer to an existing DB log file. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DownloadDBLogFilePortion func (c *RDS) DownloadDBLogFilePortion(input *DownloadDBLogFilePortionInput) (*DownloadDBLogFilePortionOutput, error) { @@ -9638,15 +9573,14 @@ func (c *RDS) DownloadDBLogFilePortionWithContext(ctx aws.Context, input *Downlo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DownloadDBLogFilePortion operation. -// pageNum := 0 -// err := client.DownloadDBLogFilePortionPages(params, -// func(page *rds.DownloadDBLogFilePortionOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DownloadDBLogFilePortion operation. +// pageNum := 0 +// err := client.DownloadDBLogFilePortionPages(params, +// func(page *rds.DownloadDBLogFilePortionOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RDS) DownloadDBLogFilePortionPages(input *DownloadDBLogFilePortionInput, fn func(*DownloadDBLogFilePortionOutput, bool) bool) error { return c.DownloadDBLogFilePortionPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9698,14 +9632,13 @@ const opFailoverDBCluster = "FailoverDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the FailoverDBClusterRequest method. +// req, resp := client.FailoverDBClusterRequest(params) // -// // Example sending a request using the FailoverDBClusterRequest method. -// req, resp := client.FailoverDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBCluster func (c *RDS) FailoverDBClusterRequest(input *FailoverDBClusterInput) (req *request.Request, output *FailoverDBClusterOutput) { @@ -9762,14 +9695,15 @@ func (c *RDS) FailoverDBClusterRequest(input *FailoverDBClusterInput) (req *requ // API operation FailoverDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverDBCluster func (c *RDS) FailoverDBCluster(input *FailoverDBClusterInput) (*FailoverDBClusterOutput, error) { @@ -9809,14 +9743,13 @@ const opFailoverGlobalCluster = "FailoverGlobalCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the FailoverGlobalClusterRequest method. +// req, resp := client.FailoverGlobalClusterRequest(params) // -// // Example sending a request using the FailoverGlobalClusterRequest method. -// req, resp := client.FailoverGlobalClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverGlobalCluster func (c *RDS) FailoverGlobalClusterRequest(input *FailoverGlobalClusterInput) (req *request.Request, output *FailoverGlobalClusterOutput) { @@ -9863,19 +9796,20 @@ func (c *RDS) FailoverGlobalClusterRequest(input *FailoverGlobalClusterInput) (r // API operation FailoverGlobalCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" -// The GlobalClusterIdentifier doesn't refer to an existing global database -// cluster. // -// * ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" -// The global cluster is in an invalid state and can't perform the requested -// operation. +// - ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" +// The GlobalClusterIdentifier doesn't refer to an existing global database +// cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" +// The global cluster is in an invalid state and can't perform the requested +// operation. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. +// +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverGlobalCluster func (c *RDS) FailoverGlobalCluster(input *FailoverGlobalClusterInput) (*FailoverGlobalClusterOutput, error) { @@ -9915,14 +9849,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ListTagsForResource func (c *RDS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -9957,22 +9890,23 @@ func (c *RDS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. // -// * ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" -// The specified proxy name doesn't correspond to a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" -// The specified target group isn't available for a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" +// The specified proxy name doesn't correspond to a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. +// +// - ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" +// The specified target group isn't available for a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ListTagsForResource func (c *RDS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -10012,14 +9946,13 @@ const opModifyCertificates = "ModifyCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyCertificatesRequest method. +// req, resp := client.ModifyCertificatesRequest(params) // -// // Example sending a request using the ModifyCertificatesRequest method. -// req, resp := client.ModifyCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyCertificates func (c *RDS) ModifyCertificatesRequest(input *ModifyCertificatesInput) (req *request.Request, output *ModifyCertificatesOutput) { @@ -10051,14 +9984,14 @@ func (c *RDS) ModifyCertificatesRequest(input *ModifyCertificatesInput) (req *re // // You might need to override the default certificate in the following situations: // -// * You already migrated your applications to support the latest certificate -// authority (CA) certificate, but the new CA certificate is not yet the -// RDS default CA certificate for the specified Amazon Web Services Region. +// - You already migrated your applications to support the latest certificate +// authority (CA) certificate, but the new CA certificate is not yet the +// RDS default CA certificate for the specified Amazon Web Services Region. // -// * RDS has already moved to a new default CA certificate for the specified -// Amazon Web Services Region, but you are still in the process of supporting -// the new CA certificate. In this case, you temporarily need additional -// time to finish your application changes. +// - RDS has already moved to a new default CA certificate for the specified +// Amazon Web Services Region, but you are still in the process of supporting +// the new CA certificate. In this case, you temporarily need additional +// time to finish your application changes. // // For more information about rotating your SSL/TLS certificate for RDS DB engines, // see Rotating Your SSL/TLS Certificate (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL-certificate-rotation.html) @@ -10076,8 +10009,8 @@ func (c *RDS) ModifyCertificatesRequest(input *ModifyCertificatesInput) (req *re // API operation ModifyCertificates for usage and error information. // // Returned Error Codes: -// * ErrCodeCertificateNotFoundFault "CertificateNotFound" -// CertificateIdentifier doesn't refer to an existing certificate. +// - ErrCodeCertificateNotFoundFault "CertificateNotFound" +// CertificateIdentifier doesn't refer to an existing certificate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyCertificates func (c *RDS) ModifyCertificates(input *ModifyCertificatesInput) (*ModifyCertificatesOutput, error) { @@ -10117,14 +10050,13 @@ const opModifyCurrentDBClusterCapacity = "ModifyCurrentDBClusterCapacity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyCurrentDBClusterCapacityRequest method. +// req, resp := client.ModifyCurrentDBClusterCapacityRequest(params) // -// // Example sending a request using the ModifyCurrentDBClusterCapacityRequest method. -// req, resp := client.ModifyCurrentDBClusterCapacityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyCurrentDBClusterCapacity func (c *RDS) ModifyCurrentDBClusterCapacityRequest(input *ModifyCurrentDBClusterCapacityInput) (req *request.Request, output *ModifyCurrentDBClusterCapacityOutput) { @@ -10176,15 +10108,16 @@ func (c *RDS) ModifyCurrentDBClusterCapacityRequest(input *ModifyCurrentDBCluste // API operation ModifyCurrentDBClusterCapacity for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeInvalidDBClusterCapacityFault "InvalidDBClusterCapacityFault" -// Capacity isn't a valid Aurora Serverless DB cluster capacity. Valid capacity -// values are 2, 4, 8, 16, 32, 64, 128, and 256. +// - ErrCodeInvalidDBClusterCapacityFault "InvalidDBClusterCapacityFault" +// Capacity isn't a valid Aurora Serverless DB cluster capacity. Valid capacity +// values are 2, 4, 8, 16, 32, 64, 128, and 256. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyCurrentDBClusterCapacity func (c *RDS) ModifyCurrentDBClusterCapacity(input *ModifyCurrentDBClusterCapacityInput) (*ModifyCurrentDBClusterCapacityOutput, error) { @@ -10224,14 +10157,13 @@ const opModifyCustomDBEngineVersion = "ModifyCustomDBEngineVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyCustomDBEngineVersionRequest method. +// req, resp := client.ModifyCustomDBEngineVersionRequest(params) // -// // Example sending a request using the ModifyCustomDBEngineVersionRequest method. -// req, resp := client.ModifyCustomDBEngineVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyCustomDBEngineVersion func (c *RDS) ModifyCustomDBEngineVersionRequest(input *ModifyCustomDBEngineVersionInput) (req *request.Request, output *ModifyCustomDBEngineVersionOutput) { @@ -10273,11 +10205,12 @@ func (c *RDS) ModifyCustomDBEngineVersionRequest(input *ModifyCustomDBEngineVers // API operation ModifyCustomDBEngineVersion for usage and error information. // // Returned Error Codes: -// * ErrCodeCustomDBEngineVersionNotFoundFault "CustomDBEngineVersionNotFoundFault" -// The specified CEV was not found. // -// * ErrCodeInvalidCustomDBEngineVersionStateFault "InvalidCustomDBEngineVersionStateFault" -// You can't delete the CEV. +// - ErrCodeCustomDBEngineVersionNotFoundFault "CustomDBEngineVersionNotFoundFault" +// The specified CEV was not found. +// +// - ErrCodeInvalidCustomDBEngineVersionStateFault "InvalidCustomDBEngineVersionStateFault" +// You can't delete the CEV. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyCustomDBEngineVersion func (c *RDS) ModifyCustomDBEngineVersion(input *ModifyCustomDBEngineVersionInput) (*ModifyCustomDBEngineVersionOutput, error) { @@ -10317,14 +10250,13 @@ const opModifyDBCluster = "ModifyDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBClusterRequest method. +// req, resp := client.ModifyDBClusterRequest(params) // -// // Example sending a request using the ModifyDBClusterRequest method. -// req, resp := client.ModifyDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBCluster func (c *RDS) ModifyDBClusterRequest(input *ModifyDBClusterInput) (req *request.Request, output *ModifyDBClusterOutput) { @@ -10365,45 +10297,46 @@ func (c *RDS) ModifyDBClusterRequest(input *ModifyDBClusterInput) (req *request. // API operation ModifyDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would result in the user exceeding the allowed amount of storage -// available across all DB instances. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would result in the user exceeding the allowed amount of storage +// available across all DB instances. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing DB subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing DB subnet group. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The DB subnet group doesn't cover all Availability Zones after it's created -// because of users' change. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The DB subnet group doesn't cover all Availability Zones after it's created +// because of users' change. // -// * ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" -// The DB subnet group cannot be deleted because it's in use. +// - ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" +// The DB subnet group cannot be deleted because it's in use. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" -// DBClusterParameterGroupName doesn't refer to an existing DB cluster parameter -// group. +// - ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" +// DBClusterParameterGroupName doesn't refer to an existing DB cluster parameter +// group. // -// * ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" -// The state of the DB security group doesn't allow deletion. +// - ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" +// The state of the DB security group doesn't allow deletion. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // -// * ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" -// The user already has a DB cluster with the given identifier. +// - ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" +// The user already has a DB cluster with the given identifier. // -// * ErrCodeDomainNotFoundFault "DomainNotFoundFault" -// Domain doesn't refer to an existing Active Directory domain. +// - ErrCodeDomainNotFoundFault "DomainNotFoundFault" +// Domain doesn't refer to an existing Active Directory domain. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBCluster func (c *RDS) ModifyDBCluster(input *ModifyDBClusterInput) (*ModifyDBClusterOutput, error) { @@ -10443,14 +10376,13 @@ const opModifyDBClusterEndpoint = "ModifyDBClusterEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBClusterEndpointRequest method. +// req, resp := client.ModifyDBClusterEndpointRequest(params) // -// // Example sending a request using the ModifyDBClusterEndpointRequest method. -// req, resp := client.ModifyDBClusterEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterEndpoint func (c *RDS) ModifyDBClusterEndpointRequest(input *ModifyDBClusterEndpointInput) (req *request.Request, output *ModifyDBClusterEndpointOutput) { @@ -10483,21 +10415,22 @@ func (c *RDS) ModifyDBClusterEndpointRequest(input *ModifyDBClusterEndpointInput // API operation ModifyDBClusterEndpoint for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeInvalidDBClusterEndpointStateFault "InvalidDBClusterEndpointStateFault" -// The requested operation can't be performed on the endpoint while the endpoint -// is in this state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. +// +// - ErrCodeInvalidDBClusterEndpointStateFault "InvalidDBClusterEndpointStateFault" +// The requested operation can't be performed on the endpoint while the endpoint +// is in this state. // -// * ErrCodeDBClusterEndpointNotFoundFault "DBClusterEndpointNotFoundFault" -// The specified custom endpoint doesn't exist. +// - ErrCodeDBClusterEndpointNotFoundFault "DBClusterEndpointNotFoundFault" +// The specified custom endpoint doesn't exist. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterEndpoint func (c *RDS) ModifyDBClusterEndpoint(input *ModifyDBClusterEndpointInput) (*ModifyDBClusterEndpointOutput, error) { @@ -10537,14 +10470,13 @@ const opModifyDBClusterParameterGroup = "ModifyDBClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBClusterParameterGroupRequest method. +// req, resp := client.ModifyDBClusterParameterGroupRequest(params) // -// // Example sending a request using the ModifyDBClusterParameterGroupRequest method. -// req, resp := client.ModifyDBClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterParameterGroup func (c *RDS) ModifyDBClusterParameterGroupRequest(input *ModifyDBClusterParameterGroupInput) (req *request.Request, output *DBClusterParameterGroupNameMessage) { @@ -10602,13 +10534,14 @@ func (c *RDS) ModifyDBClusterParameterGroupRequest(input *ModifyDBClusterParamet // API operation ModifyDBClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. // -// * ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" -// The DB parameter group is in use or is in an invalid state. If you are attempting -// to delete the parameter group, you can't delete it when the parameter group -// is in this state. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. +// +// - ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" +// The DB parameter group is in use or is in an invalid state. If you are attempting +// to delete the parameter group, you can't delete it when the parameter group +// is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterParameterGroup func (c *RDS) ModifyDBClusterParameterGroup(input *ModifyDBClusterParameterGroupInput) (*DBClusterParameterGroupNameMessage, error) { @@ -10648,14 +10581,13 @@ const opModifyDBClusterSnapshotAttribute = "ModifyDBClusterSnapshotAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBClusterSnapshotAttributeRequest method. +// req, resp := client.ModifyDBClusterSnapshotAttributeRequest(params) // -// // Example sending a request using the ModifyDBClusterSnapshotAttributeRequest method. -// req, resp := client.ModifyDBClusterSnapshotAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttribute func (c *RDS) ModifyDBClusterSnapshotAttributeRequest(input *ModifyDBClusterSnapshotAttributeInput) (req *request.Request, output *ModifyDBClusterSnapshotAttributeOutput) { @@ -10708,15 +10640,16 @@ func (c *RDS) ModifyDBClusterSnapshotAttributeRequest(input *ModifyDBClusterSnap // API operation ModifyDBClusterSnapshotAttribute for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The supplied value isn't a valid DB cluster snapshot state. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. +// +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The supplied value isn't a valid DB cluster snapshot state. // -// * ErrCodeSharedSnapshotQuotaExceededFault "SharedSnapshotQuotaExceeded" -// You have exceeded the maximum number of accounts that you can share a manual -// DB snapshot with. +// - ErrCodeSharedSnapshotQuotaExceededFault "SharedSnapshotQuotaExceeded" +// You have exceeded the maximum number of accounts that you can share a manual +// DB snapshot with. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBClusterSnapshotAttribute func (c *RDS) ModifyDBClusterSnapshotAttribute(input *ModifyDBClusterSnapshotAttributeInput) (*ModifyDBClusterSnapshotAttributeOutput, error) { @@ -10756,14 +10689,13 @@ const opModifyDBInstance = "ModifyDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBInstanceRequest method. +// req, resp := client.ModifyDBInstanceRequest(params) // -// // Example sending a request using the ModifyDBInstanceRequest method. -// req, resp := client.ModifyDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance func (c *RDS) ModifyDBInstanceRequest(input *ModifyDBInstanceInput) (req *request.Request, output *ModifyDBInstanceOutput) { @@ -10797,72 +10729,73 @@ func (c *RDS) ModifyDBInstanceRequest(input *ModifyDBInstanceInput) (req *reques // API operation ModifyDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. // -// * ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" -// The state of the DB security group doesn't allow deletion. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. +// +// - ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" +// The state of the DB security group doesn't allow deletion. // -// * ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" -// The user already has a DB instance with the given identifier. +// - ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" +// The user already has a DB instance with the given identifier. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" -// DBSecurityGroupName doesn't refer to an existing DB security group. +// - ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" +// DBSecurityGroupName doesn't refer to an existing DB security group. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. // -// * ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" -// The specified DB instance class isn't available in the specified Availability -// Zone. +// - ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" +// The specified DB instance class isn't available in the specified Availability +// Zone. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would result in the user exceeding the allowed amount of storage -// available across all DB instances. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would result in the user exceeding the allowed amount of storage +// available across all DB instances. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The DB subnet group doesn't cover all Availability Zones after it's created -// because of users' change. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The DB subnet group doesn't cover all Availability Zones after it's created +// because of users' change. // -// * ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" -// Provisioned IOPS not available in the specified Availability Zone. +// - ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" +// Provisioned IOPS not available in the specified Availability Zone. // -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The specified option group could not be found. +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The specified option group could not be found. // -// * ErrCodeDBUpgradeDependencyFailureFault "DBUpgradeDependencyFailure" -// The DB upgrade failed because a resource the DB depends on can't be modified. +// - ErrCodeDBUpgradeDependencyFailureFault "DBUpgradeDependencyFailure" +// The DB upgrade failed because a resource the DB depends on can't be modified. // -// * ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" -// Storage of the StorageType specified can't be associated with the DB instance. +// - ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" +// Storage of the StorageType specified can't be associated with the DB instance. // -// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" -// The specified CIDR IP range or Amazon EC2 security group might not be authorized -// for the specified DB security group. +// - ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// The specified CIDR IP range or Amazon EC2 security group might not be authorized +// for the specified DB security group. // -// Or, RDS might not be authorized to perform necessary actions using IAM on -// your behalf. +// Or, RDS might not be authorized to perform necessary actions using IAM on +// your behalf. // -// * ErrCodeCertificateNotFoundFault "CertificateNotFound" -// CertificateIdentifier doesn't refer to an existing certificate. +// - ErrCodeCertificateNotFoundFault "CertificateNotFound" +// CertificateIdentifier doesn't refer to an existing certificate. // -// * ErrCodeDomainNotFoundFault "DomainNotFoundFault" -// Domain doesn't refer to an existing Active Directory domain. +// - ErrCodeDomainNotFoundFault "DomainNotFoundFault" +// Domain doesn't refer to an existing Active Directory domain. // -// * ErrCodeBackupPolicyNotFoundFault "BackupPolicyNotFoundFault" +// - ErrCodeBackupPolicyNotFoundFault "BackupPolicyNotFoundFault" // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeNetworkTypeNotSupported "NetworkTypeNotSupported" -// The network type is invalid for the DB instance. Valid nework type values -// are IPV4 and DUAL. +// - ErrCodeNetworkTypeNotSupported "NetworkTypeNotSupported" +// The network type is invalid for the DB instance. Valid nework type values +// are IPV4 and DUAL. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBInstance func (c *RDS) ModifyDBInstance(input *ModifyDBInstanceInput) (*ModifyDBInstanceOutput, error) { @@ -10902,14 +10835,13 @@ const opModifyDBParameterGroup = "ModifyDBParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBParameterGroupRequest method. +// req, resp := client.ModifyDBParameterGroupRequest(params) // -// // Example sending a request using the ModifyDBParameterGroupRequest method. -// req, resp := client.ModifyDBParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBParameterGroup func (c *RDS) ModifyDBParameterGroupRequest(input *ModifyDBParameterGroupInput) (req *request.Request, output *DBParameterGroupNameMessage) { @@ -10953,13 +10885,14 @@ func (c *RDS) ModifyDBParameterGroupRequest(input *ModifyDBParameterGroupInput) // API operation ModifyDBParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. // -// * ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" -// The DB parameter group is in use or is in an invalid state. If you are attempting -// to delete the parameter group, you can't delete it when the parameter group -// is in this state. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. +// +// - ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" +// The DB parameter group is in use or is in an invalid state. If you are attempting +// to delete the parameter group, you can't delete it when the parameter group +// is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBParameterGroup func (c *RDS) ModifyDBParameterGroup(input *ModifyDBParameterGroupInput) (*DBParameterGroupNameMessage, error) { @@ -10999,14 +10932,13 @@ const opModifyDBProxy = "ModifyDBProxy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBProxyRequest method. +// req, resp := client.ModifyDBProxyRequest(params) // -// // Example sending a request using the ModifyDBProxyRequest method. -// req, resp := client.ModifyDBProxyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBProxy func (c *RDS) ModifyDBProxyRequest(input *ModifyDBProxyInput) (req *request.Request, output *ModifyDBProxyOutput) { @@ -11037,16 +10969,17 @@ func (c *RDS) ModifyDBProxyRequest(input *ModifyDBProxyInput) (req *request.Requ // API operation ModifyDBProxy for usage and error information. // // Returned Error Codes: -// * ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" -// The specified proxy name doesn't correspond to a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. // -// * ErrCodeDBProxyAlreadyExistsFault "DBProxyAlreadyExistsFault" -// The specified proxy name must be unique for all proxies owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" +// The specified proxy name doesn't correspond to a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. +// +// - ErrCodeDBProxyAlreadyExistsFault "DBProxyAlreadyExistsFault" +// The specified proxy name must be unique for all proxies owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. // -// * ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" -// The requested operation can't be performed while the proxy is in this state. +// - ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" +// The requested operation can't be performed while the proxy is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBProxy func (c *RDS) ModifyDBProxy(input *ModifyDBProxyInput) (*ModifyDBProxyOutput, error) { @@ -11086,14 +11019,13 @@ const opModifyDBProxyEndpoint = "ModifyDBProxyEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBProxyEndpointRequest method. +// req, resp := client.ModifyDBProxyEndpointRequest(params) // -// // Example sending a request using the ModifyDBProxyEndpointRequest method. -// req, resp := client.ModifyDBProxyEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBProxyEndpoint func (c *RDS) ModifyDBProxyEndpointRequest(input *ModifyDBProxyEndpointInput) (req *request.Request, output *ModifyDBProxyEndpointOutput) { @@ -11124,20 +11056,21 @@ func (c *RDS) ModifyDBProxyEndpointRequest(input *ModifyDBProxyEndpointInput) (r // API operation ModifyDBProxyEndpoint for usage and error information. // // Returned Error Codes: -// * ErrCodeDBProxyEndpointNotFoundFault "DBProxyEndpointNotFoundFault" -// The DB proxy endpoint doesn't exist. // -// * ErrCodeDBProxyEndpointAlreadyExistsFault "DBProxyEndpointAlreadyExistsFault" -// The specified DB proxy endpoint name must be unique for all DB proxy endpoints -// owned by your Amazon Web Services account in the specified Amazon Web Services -// Region. +// - ErrCodeDBProxyEndpointNotFoundFault "DBProxyEndpointNotFoundFault" +// The DB proxy endpoint doesn't exist. +// +// - ErrCodeDBProxyEndpointAlreadyExistsFault "DBProxyEndpointAlreadyExistsFault" +// The specified DB proxy endpoint name must be unique for all DB proxy endpoints +// owned by your Amazon Web Services account in the specified Amazon Web Services +// Region. // -// * ErrCodeInvalidDBProxyEndpointStateFault "InvalidDBProxyEndpointStateFault" -// You can't perform this operation while the DB proxy endpoint is in a particular -// state. +// - ErrCodeInvalidDBProxyEndpointStateFault "InvalidDBProxyEndpointStateFault" +// You can't perform this operation while the DB proxy endpoint is in a particular +// state. // -// * ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" -// The requested operation can't be performed while the proxy is in this state. +// - ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" +// The requested operation can't be performed while the proxy is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBProxyEndpoint func (c *RDS) ModifyDBProxyEndpoint(input *ModifyDBProxyEndpointInput) (*ModifyDBProxyEndpointOutput, error) { @@ -11177,14 +11110,13 @@ const opModifyDBProxyTargetGroup = "ModifyDBProxyTargetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBProxyTargetGroupRequest method. +// req, resp := client.ModifyDBProxyTargetGroupRequest(params) // -// // Example sending a request using the ModifyDBProxyTargetGroupRequest method. -// req, resp := client.ModifyDBProxyTargetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBProxyTargetGroup func (c *RDS) ModifyDBProxyTargetGroupRequest(input *ModifyDBProxyTargetGroupInput) (req *request.Request, output *ModifyDBProxyTargetGroupOutput) { @@ -11215,16 +11147,17 @@ func (c *RDS) ModifyDBProxyTargetGroupRequest(input *ModifyDBProxyTargetGroupInp // API operation ModifyDBProxyTargetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" -// The specified proxy name doesn't correspond to a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. // -// * ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" -// The specified target group isn't available for a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" +// The specified proxy name doesn't correspond to a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. +// +// - ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" +// The specified target group isn't available for a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. // -// * ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" -// The requested operation can't be performed while the proxy is in this state. +// - ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" +// The requested operation can't be performed while the proxy is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBProxyTargetGroup func (c *RDS) ModifyDBProxyTargetGroup(input *ModifyDBProxyTargetGroupInput) (*ModifyDBProxyTargetGroupOutput, error) { @@ -11264,14 +11197,13 @@ const opModifyDBSnapshot = "ModifyDBSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBSnapshotRequest method. +// req, resp := client.ModifyDBSnapshotRequest(params) // -// // Example sending a request using the ModifyDBSnapshotRequest method. -// req, resp := client.ModifyDBSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshot func (c *RDS) ModifyDBSnapshotRequest(input *ModifyDBSnapshotInput) (req *request.Request, output *ModifyDBSnapshotOutput) { @@ -11306,8 +11238,8 @@ func (c *RDS) ModifyDBSnapshotRequest(input *ModifyDBSnapshotInput) (req *reques // API operation ModifyDBSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshot func (c *RDS) ModifyDBSnapshot(input *ModifyDBSnapshotInput) (*ModifyDBSnapshotOutput, error) { @@ -11347,14 +11279,13 @@ const opModifyDBSnapshotAttribute = "ModifyDBSnapshotAttribute" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBSnapshotAttributeRequest method. +// req, resp := client.ModifyDBSnapshotAttributeRequest(params) // -// // Example sending a request using the ModifyDBSnapshotAttributeRequest method. -// req, resp := client.ModifyDBSnapshotAttributeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttribute func (c *RDS) ModifyDBSnapshotAttributeRequest(input *ModifyDBSnapshotAttributeInput) (req *request.Request, output *ModifyDBSnapshotAttributeOutput) { @@ -11405,15 +11336,16 @@ func (c *RDS) ModifyDBSnapshotAttributeRequest(input *ModifyDBSnapshotAttributeI // API operation ModifyDBSnapshotAttribute for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. // -// * ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" -// The state of the DB snapshot doesn't allow deletion. +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. // -// * ErrCodeSharedSnapshotQuotaExceededFault "SharedSnapshotQuotaExceeded" -// You have exceeded the maximum number of accounts that you can share a manual -// DB snapshot with. +// - ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" +// The state of the DB snapshot doesn't allow deletion. +// +// - ErrCodeSharedSnapshotQuotaExceededFault "SharedSnapshotQuotaExceeded" +// You have exceeded the maximum number of accounts that you can share a manual +// DB snapshot with. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSnapshotAttribute func (c *RDS) ModifyDBSnapshotAttribute(input *ModifyDBSnapshotAttributeInput) (*ModifyDBSnapshotAttributeOutput, error) { @@ -11453,14 +11385,13 @@ const opModifyDBSubnetGroup = "ModifyDBSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDBSubnetGroupRequest method. +// req, resp := client.ModifyDBSubnetGroupRequest(params) // -// // Example sending a request using the ModifyDBSubnetGroupRequest method. -// req, resp := client.ModifyDBSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroup func (c *RDS) ModifyDBSubnetGroupRequest(input *ModifyDBSubnetGroupInput) (req *request.Request, output *ModifyDBSubnetGroupOutput) { @@ -11492,23 +11423,24 @@ func (c *RDS) ModifyDBSubnetGroupRequest(input *ModifyDBSubnetGroupInput) (req * // API operation ModifyDBSubnetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing DB subnet group. // -// * ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" -// The request would result in the user exceeding the allowed number of subnets -// in a DB subnet groups. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing DB subnet group. +// +// - ErrCodeDBSubnetQuotaExceededFault "DBSubnetQuotaExceededFault" +// The request would result in the user exceeding the allowed number of subnets +// in a DB subnet groups. // -// * ErrCodeSubnetAlreadyInUse "SubnetAlreadyInUse" -// The DB subnet is already in use in the Availability Zone. +// - ErrCodeSubnetAlreadyInUse "SubnetAlreadyInUse" +// The DB subnet is already in use in the Availability Zone. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the DB subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the DB subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyDBSubnetGroup func (c *RDS) ModifyDBSubnetGroup(input *ModifyDBSubnetGroupInput) (*ModifyDBSubnetGroupOutput, error) { @@ -11548,14 +11480,13 @@ const opModifyEventSubscription = "ModifyEventSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyEventSubscriptionRequest method. +// req, resp := client.ModifyEventSubscriptionRequest(params) // -// // Example sending a request using the ModifyEventSubscriptionRequest method. -// req, resp := client.ModifyEventSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscription func (c *RDS) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput) { @@ -11593,23 +11524,24 @@ func (c *RDS) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput // API operation ModifyEventSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded" -// You have reached the maximum number of event subscriptions. // -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// The subscription name does not exist. +// - ErrCodeEventSubscriptionQuotaExceededFault "EventSubscriptionQuotaExceeded" +// You have reached the maximum number of event subscriptions. +// +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// The subscription name does not exist. // -// * ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" -// SNS has responded that there is a problem with the SNS topic specified. +// - ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" +// SNS has responded that there is a problem with the SNS topic specified. // -// * ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" -// You do not have permission to publish to the SNS topic ARN. +// - ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" +// You do not have permission to publish to the SNS topic ARN. // -// * ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" -// The SNS topic ARN does not exist. +// - ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" +// The SNS topic ARN does not exist. // -// * ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound" -// The supplied category does not exist. +// - ErrCodeSubscriptionCategoryNotFoundFault "SubscriptionCategoryNotFound" +// The supplied category does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyEventSubscription func (c *RDS) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error) { @@ -11649,14 +11581,13 @@ const opModifyGlobalCluster = "ModifyGlobalCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyGlobalClusterRequest method. +// req, resp := client.ModifyGlobalClusterRequest(params) // -// // Example sending a request using the ModifyGlobalClusterRequest method. -// req, resp := client.ModifyGlobalClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyGlobalCluster func (c *RDS) ModifyGlobalClusterRequest(input *ModifyGlobalClusterInput) (req *request.Request, output *ModifyGlobalClusterOutput) { @@ -11693,19 +11624,20 @@ func (c *RDS) ModifyGlobalClusterRequest(input *ModifyGlobalClusterInput) (req * // API operation ModifyGlobalCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" -// The GlobalClusterIdentifier doesn't refer to an existing global database -// cluster. // -// * ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" -// The global cluster is in an invalid state and can't perform the requested -// operation. +// - ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" +// The GlobalClusterIdentifier doesn't refer to an existing global database +// cluster. +// +// - ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" +// The global cluster is in an invalid state and can't perform the requested +// operation. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyGlobalCluster func (c *RDS) ModifyGlobalCluster(input *ModifyGlobalClusterInput) (*ModifyGlobalClusterOutput, error) { @@ -11745,14 +11677,13 @@ const opModifyOptionGroup = "ModifyOptionGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyOptionGroupRequest method. +// req, resp := client.ModifyOptionGroupRequest(params) // -// // Example sending a request using the ModifyOptionGroupRequest method. -// req, resp := client.ModifyOptionGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroup func (c *RDS) ModifyOptionGroupRequest(input *ModifyOptionGroupInput) (req *request.Request, output *ModifyOptionGroupOutput) { @@ -11783,11 +11714,12 @@ func (c *RDS) ModifyOptionGroupRequest(input *ModifyOptionGroupInput) (req *requ // API operation ModifyOptionGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidOptionGroupStateFault "InvalidOptionGroupStateFault" -// The option group isn't in the available state. // -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The specified option group could not be found. +// - ErrCodeInvalidOptionGroupStateFault "InvalidOptionGroupStateFault" +// The option group isn't in the available state. +// +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The specified option group could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyOptionGroup func (c *RDS) ModifyOptionGroup(input *ModifyOptionGroupInput) (*ModifyOptionGroupOutput, error) { @@ -11827,14 +11759,13 @@ const opPromoteReadReplica = "PromoteReadReplica" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PromoteReadReplicaRequest method. +// req, resp := client.PromoteReadReplicaRequest(params) // -// // Example sending a request using the PromoteReadReplicaRequest method. -// req, resp := client.PromoteReadReplicaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica func (c *RDS) PromoteReadReplicaRequest(input *PromoteReadReplicaInput) (req *request.Request, output *PromoteReadReplicaOutput) { @@ -11857,17 +11788,17 @@ func (c *RDS) PromoteReadReplicaRequest(input *PromoteReadReplicaInput) (req *re // // Promotes a read replica DB instance to a standalone DB instance. // -// * Backup duration is a function of the amount of changes to the database -// since the previous backup. If you plan to promote a read replica to a -// standalone instance, we recommend that you enable backups and complete -// at least one backup prior to promotion. In addition, a read replica cannot -// be promoted to a standalone instance when it is in the backing-up status. -// If you have enabled backups on your read replica, configure the automated -// backup window so that daily backups do not interfere with read replica -// promotion. +// - Backup duration is a function of the amount of changes to the database +// since the previous backup. If you plan to promote a read replica to a +// standalone instance, we recommend that you enable backups and complete +// at least one backup prior to promotion. In addition, a read replica cannot +// be promoted to a standalone instance when it is in the backing-up status. +// If you have enabled backups on your read replica, configure the automated +// backup window so that daily backups do not interfere with read replica +// promotion. // -// * This command doesn't apply to Aurora MySQL, Aurora PostgreSQL, or RDS -// Custom. +// - This command doesn't apply to Aurora MySQL, Aurora PostgreSQL, or RDS +// Custom. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -11877,11 +11808,12 @@ func (c *RDS) PromoteReadReplicaRequest(input *PromoteReadReplicaInput) (req *re // API operation PromoteReadReplica for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. +// +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplica func (c *RDS) PromoteReadReplica(input *PromoteReadReplicaInput) (*PromoteReadReplicaOutput, error) { @@ -11921,14 +11853,13 @@ const opPromoteReadReplicaDBCluster = "PromoteReadReplicaDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PromoteReadReplicaDBClusterRequest method. +// req, resp := client.PromoteReadReplicaDBClusterRequest(params) // -// // Example sending a request using the PromoteReadReplicaDBClusterRequest method. -// req, resp := client.PromoteReadReplicaDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBCluster func (c *RDS) PromoteReadReplicaDBClusterRequest(input *PromoteReadReplicaDBClusterInput) (req *request.Request, output *PromoteReadReplicaDBClusterOutput) { @@ -11959,11 +11890,12 @@ func (c *RDS) PromoteReadReplicaDBClusterRequest(input *PromoteReadReplicaDBClus // API operation PromoteReadReplicaDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PromoteReadReplicaDBCluster func (c *RDS) PromoteReadReplicaDBCluster(input *PromoteReadReplicaDBClusterInput) (*PromoteReadReplicaDBClusterOutput, error) { @@ -12003,14 +11935,13 @@ const opPurchaseReservedDBInstancesOffering = "PurchaseReservedDBInstancesOfferi // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PurchaseReservedDBInstancesOfferingRequest method. +// req, resp := client.PurchaseReservedDBInstancesOfferingRequest(params) // -// // Example sending a request using the PurchaseReservedDBInstancesOfferingRequest method. -// req, resp := client.PurchaseReservedDBInstancesOfferingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOffering func (c *RDS) PurchaseReservedDBInstancesOfferingRequest(input *PurchaseReservedDBInstancesOfferingInput) (req *request.Request, output *PurchaseReservedDBInstancesOfferingOutput) { @@ -12041,14 +11972,15 @@ func (c *RDS) PurchaseReservedDBInstancesOfferingRequest(input *PurchaseReserved // API operation PurchaseReservedDBInstancesOffering for usage and error information. // // Returned Error Codes: -// * ErrCodeReservedDBInstancesOfferingNotFoundFault "ReservedDBInstancesOfferingNotFound" -// Specified offering does not exist. // -// * ErrCodeReservedDBInstanceAlreadyExistsFault "ReservedDBInstanceAlreadyExists" -// User already has a reservation with the given identifier. +// - ErrCodeReservedDBInstancesOfferingNotFoundFault "ReservedDBInstancesOfferingNotFound" +// Specified offering does not exist. +// +// - ErrCodeReservedDBInstanceAlreadyExistsFault "ReservedDBInstanceAlreadyExists" +// User already has a reservation with the given identifier. // -// * ErrCodeReservedDBInstanceQuotaExceededFault "ReservedDBInstanceQuotaExceeded" -// Request would exceed the user's DB Instance quota. +// - ErrCodeReservedDBInstanceQuotaExceededFault "ReservedDBInstanceQuotaExceeded" +// Request would exceed the user's DB Instance quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/PurchaseReservedDBInstancesOffering func (c *RDS) PurchaseReservedDBInstancesOffering(input *PurchaseReservedDBInstancesOfferingInput) (*PurchaseReservedDBInstancesOfferingOutput, error) { @@ -12088,14 +12020,13 @@ const opRebootDBCluster = "RebootDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebootDBClusterRequest method. +// req, resp := client.RebootDBClusterRequest(params) // -// // Example sending a request using the RebootDBClusterRequest method. -// req, resp := client.RebootDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBCluster func (c *RDS) RebootDBClusterRequest(input *RebootDBClusterInput) (req *request.Request, output *RebootDBClusterOutput) { @@ -12139,14 +12070,15 @@ func (c *RDS) RebootDBClusterRequest(input *RebootDBClusterInput) (req *request. // API operation RebootDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBCluster func (c *RDS) RebootDBCluster(input *RebootDBClusterInput) (*RebootDBClusterOutput, error) { @@ -12186,14 +12118,13 @@ const opRebootDBInstance = "RebootDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebootDBInstanceRequest method. +// req, resp := client.RebootDBInstanceRequest(params) // -// // Example sending a request using the RebootDBInstanceRequest method. -// req, resp := client.RebootDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance func (c *RDS) RebootDBInstanceRequest(input *RebootDBInstanceInput) (req *request.Request, output *RebootDBInstanceOutput) { @@ -12236,11 +12167,12 @@ func (c *RDS) RebootDBInstanceRequest(input *RebootDBInstanceInput) (req *reques // API operation RebootDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. +// +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RebootDBInstance func (c *RDS) RebootDBInstance(input *RebootDBInstanceInput) (*RebootDBInstanceOutput, error) { @@ -12280,14 +12212,13 @@ const opRegisterDBProxyTargets = "RegisterDBProxyTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterDBProxyTargetsRequest method. +// req, resp := client.RegisterDBProxyTargetsRequest(params) // -// // Example sending a request using the RegisterDBProxyTargetsRequest method. -// req, resp := client.RegisterDBProxyTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RegisterDBProxyTargets func (c *RDS) RegisterDBProxyTargetsRequest(input *RegisterDBProxyTargetsInput) (req *request.Request, output *RegisterDBProxyTargetsOutput) { @@ -12318,37 +12249,38 @@ func (c *RDS) RegisterDBProxyTargetsRequest(input *RegisterDBProxyTargetsInput) // API operation RegisterDBProxyTargets for usage and error information. // // Returned Error Codes: -// * ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" -// The specified proxy name doesn't correspond to a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. // -// * ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" -// The specified target group isn't available for a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" +// The specified proxy name doesn't correspond to a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" +// The specified target group isn't available for a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeDBProxyTargetAlreadyRegisteredFault "DBProxyTargetAlreadyRegisteredFault" -// The proxy is already associated with the specified RDS DB instance or Aurora -// DB cluster. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeDBProxyTargetAlreadyRegisteredFault "DBProxyTargetAlreadyRegisteredFault" +// The proxy is already associated with the specified RDS DB instance or Aurora +// DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // -// * ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" -// The requested operation can't be performed while the proxy is in this state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeInsufficientAvailableIPsInSubnetFault "InsufficientAvailableIPsInSubnetFault" -// The requested operation can't be performed because there aren't enough available -// IP addresses in the proxy's subnets. Add more CIDR blocks to the VPC or remove -// IP address that aren't required from the subnets. +// - ErrCodeInvalidDBProxyStateFault "InvalidDBProxyStateFault" +// The requested operation can't be performed while the proxy is in this state. +// +// - ErrCodeInsufficientAvailableIPsInSubnetFault "InsufficientAvailableIPsInSubnetFault" +// The requested operation can't be performed because there aren't enough available +// IP addresses in the proxy's subnets. Add more CIDR blocks to the VPC or remove +// IP address that aren't required from the subnets. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RegisterDBProxyTargets func (c *RDS) RegisterDBProxyTargets(input *RegisterDBProxyTargetsInput) (*RegisterDBProxyTargetsOutput, error) { @@ -12388,14 +12320,13 @@ const opRemoveFromGlobalCluster = "RemoveFromGlobalCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveFromGlobalClusterRequest method. +// req, resp := client.RemoveFromGlobalClusterRequest(params) // -// // Example sending a request using the RemoveFromGlobalClusterRequest method. -// req, resp := client.RemoveFromGlobalClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveFromGlobalCluster func (c *RDS) RemoveFromGlobalClusterRequest(input *RemoveFromGlobalClusterInput) (req *request.Request, output *RemoveFromGlobalClusterOutput) { @@ -12431,16 +12362,17 @@ func (c *RDS) RemoveFromGlobalClusterRequest(input *RemoveFromGlobalClusterInput // API operation RemoveFromGlobalCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" -// The GlobalClusterIdentifier doesn't refer to an existing global database -// cluster. // -// * ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" -// The global cluster is in an invalid state and can't perform the requested -// operation. +// - ErrCodeGlobalClusterNotFoundFault "GlobalClusterNotFoundFault" +// The GlobalClusterIdentifier doesn't refer to an existing global database +// cluster. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeInvalidGlobalClusterStateFault "InvalidGlobalClusterStateFault" +// The global cluster is in an invalid state and can't perform the requested +// operation. +// +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveFromGlobalCluster func (c *RDS) RemoveFromGlobalCluster(input *RemoveFromGlobalClusterInput) (*RemoveFromGlobalClusterOutput, error) { @@ -12480,14 +12412,13 @@ const opRemoveRoleFromDBCluster = "RemoveRoleFromDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveRoleFromDBClusterRequest method. +// req, resp := client.RemoveRoleFromDBClusterRequest(params) // -// // Example sending a request using the RemoveRoleFromDBClusterRequest method. -// req, resp := client.RemoveRoleFromDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBCluster func (c *RDS) RemoveRoleFromDBClusterRequest(input *RemoveRoleFromDBClusterInput) (req *request.Request, output *RemoveRoleFromDBClusterOutput) { @@ -12528,15 +12459,16 @@ func (c *RDS) RemoveRoleFromDBClusterRequest(input *RemoveRoleFromDBClusterInput // API operation RemoveRoleFromDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeDBClusterRoleNotFoundFault "DBClusterRoleNotFound" -// The specified IAM role Amazon Resource Name (ARN) isn't associated with the -// specified DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeDBClusterRoleNotFoundFault "DBClusterRoleNotFound" +// The specified IAM role Amazon Resource Name (ARN) isn't associated with the +// specified DB cluster. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBCluster func (c *RDS) RemoveRoleFromDBCluster(input *RemoveRoleFromDBClusterInput) (*RemoveRoleFromDBClusterOutput, error) { @@ -12576,14 +12508,13 @@ const opRemoveRoleFromDBInstance = "RemoveRoleFromDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveRoleFromDBInstanceRequest method. +// req, resp := client.RemoveRoleFromDBInstanceRequest(params) // -// // Example sending a request using the RemoveRoleFromDBInstanceRequest method. -// req, resp := client.RemoveRoleFromDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBInstance func (c *RDS) RemoveRoleFromDBInstanceRequest(input *RemoveRoleFromDBInstanceInput) (req *request.Request, output *RemoveRoleFromDBInstanceOutput) { @@ -12616,15 +12547,16 @@ func (c *RDS) RemoveRoleFromDBInstanceRequest(input *RemoveRoleFromDBInstanceInp // API operation RemoveRoleFromDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeDBInstanceRoleNotFoundFault "DBInstanceRoleNotFound" -// The specified RoleArn value doesn't match the specified feature for the DB -// instance. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeDBInstanceRoleNotFoundFault "DBInstanceRoleNotFound" +// The specified RoleArn value doesn't match the specified feature for the DB +// instance. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveRoleFromDBInstance func (c *RDS) RemoveRoleFromDBInstance(input *RemoveRoleFromDBInstanceInput) (*RemoveRoleFromDBInstanceOutput, error) { @@ -12664,14 +12596,13 @@ const opRemoveSourceIdentifierFromSubscription = "RemoveSourceIdentifierFromSubs // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveSourceIdentifierFromSubscriptionRequest method. +// req, resp := client.RemoveSourceIdentifierFromSubscriptionRequest(params) // -// // Example sending a request using the RemoveSourceIdentifierFromSubscriptionRequest method. -// req, resp := client.RemoveSourceIdentifierFromSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveSourceIdentifierFromSubscription func (c *RDS) RemoveSourceIdentifierFromSubscriptionRequest(input *RemoveSourceIdentifierFromSubscriptionInput) (req *request.Request, output *RemoveSourceIdentifierFromSubscriptionOutput) { @@ -12702,11 +12633,12 @@ func (c *RDS) RemoveSourceIdentifierFromSubscriptionRequest(input *RemoveSourceI // API operation RemoveSourceIdentifierFromSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// The subscription name does not exist. // -// * ErrCodeSourceNotFoundFault "SourceNotFound" -// The requested source could not be found. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// The subscription name does not exist. +// +// - ErrCodeSourceNotFoundFault "SourceNotFound" +// The requested source could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveSourceIdentifierFromSubscription func (c *RDS) RemoveSourceIdentifierFromSubscription(input *RemoveSourceIdentifierFromSubscriptionInput) (*RemoveSourceIdentifierFromSubscriptionOutput, error) { @@ -12746,14 +12678,13 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsFromResourceRequest method. +// req, resp := client.RemoveTagsFromResourceRequest(params) // -// // Example sending a request using the RemoveTagsFromResourceRequest method. -// req, resp := client.RemoveTagsFromResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResource func (c *RDS) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput) { @@ -12789,22 +12720,23 @@ func (c *RDS) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) // API operation RemoveTagsFromResource for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. // -// * ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" -// The specified proxy name doesn't correspond to a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" -// The specified target group isn't available for a proxy owned by your Amazon -// Web Services account in the specified Amazon Web Services Region. +// - ErrCodeDBProxyNotFoundFault "DBProxyNotFoundFault" +// The specified proxy name doesn't correspond to a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. +// +// - ErrCodeDBProxyTargetGroupNotFoundFault "DBProxyTargetGroupNotFoundFault" +// The specified target group isn't available for a proxy owned by your Amazon +// Web Services account in the specified Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveTagsFromResource func (c *RDS) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error) { @@ -12844,14 +12776,13 @@ const opResetDBClusterParameterGroup = "ResetDBClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetDBClusterParameterGroupRequest method. +// req, resp := client.ResetDBClusterParameterGroupRequest(params) // -// // Example sending a request using the ResetDBClusterParameterGroupRequest method. -// req, resp := client.ResetDBClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBClusterParameterGroup func (c *RDS) ResetDBClusterParameterGroupRequest(input *ResetDBClusterParameterGroupInput) (req *request.Request, output *DBClusterParameterGroupNameMessage) { @@ -12899,13 +12830,14 @@ func (c *RDS) ResetDBClusterParameterGroupRequest(input *ResetDBClusterParameter // API operation ResetDBClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" -// The DB parameter group is in use or is in an invalid state. If you are attempting -// to delete the parameter group, you can't delete it when the parameter group -// is in this state. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. +// - ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" +// The DB parameter group is in use or is in an invalid state. If you are attempting +// to delete the parameter group, you can't delete it when the parameter group +// is in this state. +// +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBClusterParameterGroup func (c *RDS) ResetDBClusterParameterGroup(input *ResetDBClusterParameterGroupInput) (*DBClusterParameterGroupNameMessage, error) { @@ -12945,14 +12877,13 @@ const opResetDBParameterGroup = "ResetDBParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetDBParameterGroupRequest method. +// req, resp := client.ResetDBParameterGroupRequest(params) // -// // Example sending a request using the ResetDBParameterGroupRequest method. -// req, resp := client.ResetDBParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBParameterGroup func (c *RDS) ResetDBParameterGroupRequest(input *ResetDBParameterGroupInput) (req *request.Request, output *DBParameterGroupNameMessage) { @@ -12989,13 +12920,14 @@ func (c *RDS) ResetDBParameterGroupRequest(input *ResetDBParameterGroupInput) (r // API operation ResetDBParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" -// The DB parameter group is in use or is in an invalid state. If you are attempting -// to delete the parameter group, you can't delete it when the parameter group -// is in this state. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. +// - ErrCodeInvalidDBParameterGroupStateFault "InvalidDBParameterGroupState" +// The DB parameter group is in use or is in an invalid state. If you are attempting +// to delete the parameter group, you can't delete it when the parameter group +// is in this state. +// +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ResetDBParameterGroup func (c *RDS) ResetDBParameterGroup(input *ResetDBParameterGroupInput) (*DBParameterGroupNameMessage, error) { @@ -13035,14 +12967,13 @@ const opRestoreDBClusterFromS3 = "RestoreDBClusterFromS3" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreDBClusterFromS3Request method. +// req, resp := client.RestoreDBClusterFromS3Request(params) // -// // Example sending a request using the RestoreDBClusterFromS3Request method. -// req, resp := client.RestoreDBClusterFromS3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3 func (c *RDS) RestoreDBClusterFromS3Request(input *RestoreDBClusterFromS3Input) (req *request.Request, output *RestoreDBClusterFromS3Output) { @@ -13089,56 +13020,57 @@ func (c *RDS) RestoreDBClusterFromS3Request(input *RestoreDBClusterFromS3Input) // API operation RestoreDBClusterFromS3 for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" -// The user already has a DB cluster with the given identifier. // -// * ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" -// The user attempted to create a new DB cluster and the user has already reached -// the maximum allowed DB cluster quota. +// - ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" +// The user already has a DB cluster with the given identifier. +// +// - ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" +// The user attempted to create a new DB cluster and the user has already reached +// the maximum allowed DB cluster quota. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would result in the user exceeding the allowed amount of storage -// available across all DB instances. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would result in the user exceeding the allowed amount of storage +// available across all DB instances. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing DB subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing DB subnet group. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The DB subnet group doesn't cover all Availability Zones after it's created -// because of users' change. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The DB subnet group doesn't cover all Availability Zones after it's created +// because of users' change. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" -// The DB subnet group cannot be deleted because it's in use. +// - ErrCodeInvalidDBSubnetGroupStateFault "InvalidDBSubnetGroupStateFault" +// The DB subnet group cannot be deleted because it's in use. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeInvalidS3BucketFault "InvalidS3BucketFault" -// The specified Amazon S3 bucket name can't be found or Amazon RDS isn't authorized -// to access the specified Amazon S3 bucket. Verify the SourceS3BucketName and -// S3IngestionRoleArn values and try again. +// - ErrCodeInvalidS3BucketFault "InvalidS3BucketFault" +// The specified Amazon S3 bucket name can't be found or Amazon RDS isn't authorized +// to access the specified Amazon S3 bucket. Verify the SourceS3BucketName and +// S3IngestionRoleArn values and try again. // -// * ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" -// DBClusterParameterGroupName doesn't refer to an existing DB cluster parameter -// group. +// - ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" +// DBClusterParameterGroupName doesn't refer to an existing DB cluster parameter +// group. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeDomainNotFoundFault "DomainNotFoundFault" -// Domain doesn't refer to an existing Active Directory domain. +// - ErrCodeDomainNotFoundFault "DomainNotFoundFault" +// Domain doesn't refer to an existing Active Directory domain. // -// * ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" -// There is insufficient storage available for the current action. You might -// be able to resolve this error by updating your subnet group to use different -// Availability Zones that have more storage available. +// - ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" +// There is insufficient storage available for the current action. You might +// be able to resolve this error by updating your subnet group to use different +// Availability Zones that have more storage available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromS3 func (c *RDS) RestoreDBClusterFromS3(input *RestoreDBClusterFromS3Input) (*RestoreDBClusterFromS3Output, error) { @@ -13178,14 +13110,13 @@ const opRestoreDBClusterFromSnapshot = "RestoreDBClusterFromSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreDBClusterFromSnapshotRequest method. +// req, resp := client.RestoreDBClusterFromSnapshotRequest(params) // -// // Example sending a request using the RestoreDBClusterFromSnapshotRequest method. -// req, resp := client.RestoreDBClusterFromSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshot func (c *RDS) RestoreDBClusterFromSnapshotRequest(input *RestoreDBClusterFromSnapshotInput) (req *request.Request, output *RestoreDBClusterFromSnapshotOutput) { @@ -13234,70 +13165,71 @@ func (c *RDS) RestoreDBClusterFromSnapshotRequest(input *RestoreDBClusterFromSna // API operation RestoreDBClusterFromSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" -// The user already has a DB cluster with the given identifier. // -// * ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" -// The user attempted to create a new DB cluster and the user has already reached -// the maximum allowed DB cluster quota. +// - ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" +// The user already has a DB cluster with the given identifier. +// +// - ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" +// The user attempted to create a new DB cluster and the user has already reached +// the maximum allowed DB cluster quota. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would result in the user exceeding the allowed amount of storage -// available across all DB instances. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would result in the user exceeding the allowed amount of storage +// available across all DB instances. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing DB subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing DB subnet group. // -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. // -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. // -// * ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" -// The DB cluster doesn't have enough capacity for the current operation. +// - ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" +// The DB cluster doesn't have enough capacity for the current operation. // -// * ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" -// There is insufficient storage available for the current action. You might -// be able to resolve this error by updating your subnet group to use different -// Availability Zones that have more storage available. +// - ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" +// There is insufficient storage available for the current action. You might +// be able to resolve this error by updating your subnet group to use different +// Availability Zones that have more storage available. // -// * ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" -// The state of the DB snapshot doesn't allow deletion. +// - ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" +// The state of the DB snapshot doesn't allow deletion. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The supplied value isn't a valid DB cluster snapshot state. +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The supplied value isn't a valid DB cluster snapshot state. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would result in the user exceeding the allowed amount of storage -// available across all DB instances. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would result in the user exceeding the allowed amount of storage +// available across all DB instances. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The DB subnet group doesn't cover all Availability Zones after it's created -// because of users' change. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The DB subnet group doesn't cover all Availability Zones after it's created +// because of users' change. // -// * ErrCodeInvalidRestoreFault "InvalidRestoreFault" -// Cannot restore from VPC backup to non-VPC DB instance. +// - ErrCodeInvalidRestoreFault "InvalidRestoreFault" +// Cannot restore from VPC backup to non-VPC DB instance. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing DB subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing DB subnet group. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The specified option group could not be found. +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The specified option group could not be found. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // -// * ErrCodeDomainNotFoundFault "DomainNotFoundFault" -// Domain doesn't refer to an existing Active Directory domain. +// - ErrCodeDomainNotFoundFault "DomainNotFoundFault" +// Domain doesn't refer to an existing Active Directory domain. // -// * ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" -// DBClusterParameterGroupName doesn't refer to an existing DB cluster parameter -// group. +// - ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" +// DBClusterParameterGroupName doesn't refer to an existing DB cluster parameter +// group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterFromSnapshot func (c *RDS) RestoreDBClusterFromSnapshot(input *RestoreDBClusterFromSnapshotInput) (*RestoreDBClusterFromSnapshotOutput, error) { @@ -13337,14 +13269,13 @@ const opRestoreDBClusterToPointInTime = "RestoreDBClusterToPointInTime" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreDBClusterToPointInTimeRequest method. +// req, resp := client.RestoreDBClusterToPointInTimeRequest(params) // -// // Example sending a request using the RestoreDBClusterToPointInTimeRequest method. -// req, resp := client.RestoreDBClusterToPointInTimeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTime func (c *RDS) RestoreDBClusterToPointInTimeRequest(input *RestoreDBClusterToPointInTimeInput) (req *request.Request, output *RestoreDBClusterToPointInTimeOutput) { @@ -13394,66 +13325,67 @@ func (c *RDS) RestoreDBClusterToPointInTimeRequest(input *RestoreDBClusterToPoin // API operation RestoreDBClusterToPointInTime for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" -// The user already has a DB cluster with the given identifier. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeDBClusterAlreadyExistsFault "DBClusterAlreadyExistsFault" +// The user already has a DB cluster with the given identifier. +// +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" -// The user attempted to create a new DB cluster and the user has already reached -// the maximum allowed DB cluster quota. +// - ErrCodeDBClusterQuotaExceededFault "DBClusterQuotaExceededFault" +// The user attempted to create a new DB cluster and the user has already reached +// the maximum allowed DB cluster quota. // -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing DB subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing DB subnet group. // -// * ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" -// The DB cluster doesn't have enough capacity for the current operation. +// - ErrCodeInsufficientDBClusterCapacityFault "InsufficientDBClusterCapacityFault" +// The DB cluster doesn't have enough capacity for the current operation. // -// * ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" -// There is insufficient storage available for the current action. You might -// be able to resolve this error by updating your subnet group to use different -// Availability Zones that have more storage available. +// - ErrCodeInsufficientStorageClusterCapacityFault "InsufficientStorageClusterCapacity" +// There is insufficient storage available for the current action. You might +// be able to resolve this error by updating your subnet group to use different +// Availability Zones that have more storage available. // -// * ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" -// The supplied value isn't a valid DB cluster snapshot state. +// - ErrCodeInvalidDBClusterSnapshotStateFault "InvalidDBClusterSnapshotStateFault" +// The supplied value isn't a valid DB cluster snapshot state. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" -// The state of the DB snapshot doesn't allow deletion. +// - ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" +// The state of the DB snapshot doesn't allow deletion. // -// * ErrCodeInvalidRestoreFault "InvalidRestoreFault" -// Cannot restore from VPC backup to non-VPC DB instance. +// - ErrCodeInvalidRestoreFault "InvalidRestoreFault" +// Cannot restore from VPC backup to non-VPC DB instance. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The DB subnet group doesn't cover all Availability Zones after it's created -// because of users' change. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The DB subnet group doesn't cover all Availability Zones after it's created +// because of users' change. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The specified option group could not be found. +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The specified option group could not be found. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would result in the user exceeding the allowed amount of storage -// available across all DB instances. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would result in the user exceeding the allowed amount of storage +// available across all DB instances. // -// * ErrCodeDomainNotFoundFault "DomainNotFoundFault" -// Domain doesn't refer to an existing Active Directory domain. +// - ErrCodeDomainNotFoundFault "DomainNotFoundFault" +// Domain doesn't refer to an existing Active Directory domain. // -// * ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" -// DBClusterParameterGroupName doesn't refer to an existing DB cluster parameter -// group. +// - ErrCodeDBClusterParameterGroupNotFoundFault "DBClusterParameterGroupNotFound" +// DBClusterParameterGroupName doesn't refer to an existing DB cluster parameter +// group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBClusterToPointInTime func (c *RDS) RestoreDBClusterToPointInTime(input *RestoreDBClusterToPointInTimeInput) (*RestoreDBClusterToPointInTimeOutput, error) { @@ -13493,14 +13425,13 @@ const opRestoreDBInstanceFromDBSnapshot = "RestoreDBInstanceFromDBSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreDBInstanceFromDBSnapshotRequest method. +// req, resp := client.RestoreDBInstanceFromDBSnapshotRequest(params) // -// // Example sending a request using the RestoreDBInstanceFromDBSnapshotRequest method. -// req, resp := client.RestoreDBInstanceFromDBSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot func (c *RDS) RestoreDBInstanceFromDBSnapshotRequest(input *RestoreDBInstanceFromDBSnapshotInput) (req *request.Request, output *RestoreDBInstanceFromDBSnapshotOutput) { @@ -13552,77 +13483,78 @@ func (c *RDS) RestoreDBInstanceFromDBSnapshotRequest(input *RestoreDBInstanceFro // API operation RestoreDBInstanceFromDBSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" -// The user already has a DB instance with the given identifier. // -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. +// - ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" +// The user already has a DB instance with the given identifier. +// +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. // -// * ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB instances. +// - ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB instances. // -// * ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" -// The specified DB instance class isn't available in the specified Availability -// Zone. +// - ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" +// The specified DB instance class isn't available in the specified Availability +// Zone. // -// * ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" -// The state of the DB snapshot doesn't allow deletion. +// - ErrCodeInvalidDBSnapshotStateFault "InvalidDBSnapshotState" +// The state of the DB snapshot doesn't allow deletion. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would result in the user exceeding the allowed amount of storage -// available across all DB instances. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would result in the user exceeding the allowed amount of storage +// available across all DB instances. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The DB subnet group doesn't cover all Availability Zones after it's created -// because of users' change. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The DB subnet group doesn't cover all Availability Zones after it's created +// because of users' change. // -// * ErrCodeInvalidRestoreFault "InvalidRestoreFault" -// Cannot restore from VPC backup to non-VPC DB instance. +// - ErrCodeInvalidRestoreFault "InvalidRestoreFault" +// Cannot restore from VPC backup to non-VPC DB instance. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing DB subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing DB subnet group. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the DB subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the DB subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" -// Provisioned IOPS not available in the specified Availability Zone. +// - ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" +// Provisioned IOPS not available in the specified Availability Zone. // -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The specified option group could not be found. +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The specified option group could not be found. // -// * ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" -// Storage of the StorageType specified can't be associated with the DB instance. +// - ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" +// Storage of the StorageType specified can't be associated with the DB instance. // -// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" -// The specified CIDR IP range or Amazon EC2 security group might not be authorized -// for the specified DB security group. +// - ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// The specified CIDR IP range or Amazon EC2 security group might not be authorized +// for the specified DB security group. // -// Or, RDS might not be authorized to perform necessary actions using IAM on -// your behalf. +// Or, RDS might not be authorized to perform necessary actions using IAM on +// your behalf. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // -// * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" -// DBSecurityGroupName doesn't refer to an existing DB security group. +// - ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" +// DBSecurityGroupName doesn't refer to an existing DB security group. // -// * ErrCodeDomainNotFoundFault "DomainNotFoundFault" -// Domain doesn't refer to an existing Active Directory domain. +// - ErrCodeDomainNotFoundFault "DomainNotFoundFault" +// Domain doesn't refer to an existing Active Directory domain. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. // -// * ErrCodeBackupPolicyNotFoundFault "BackupPolicyNotFoundFault" +// - ErrCodeBackupPolicyNotFoundFault "BackupPolicyNotFoundFault" // -// * ErrCodeNetworkTypeNotSupported "NetworkTypeNotSupported" -// The network type is invalid for the DB instance. Valid nework type values -// are IPV4 and DUAL. +// - ErrCodeNetworkTypeNotSupported "NetworkTypeNotSupported" +// The network type is invalid for the DB instance. Valid nework type values +// are IPV4 and DUAL. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromDBSnapshot func (c *RDS) RestoreDBInstanceFromDBSnapshot(input *RestoreDBInstanceFromDBSnapshotInput) (*RestoreDBInstanceFromDBSnapshotOutput, error) { @@ -13662,14 +13594,13 @@ const opRestoreDBInstanceFromS3 = "RestoreDBInstanceFromS3" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreDBInstanceFromS3Request method. +// req, resp := client.RestoreDBInstanceFromS3Request(params) // -// // Example sending a request using the RestoreDBInstanceFromS3Request method. -// req, resp := client.RestoreDBInstanceFromS3Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3 func (c *RDS) RestoreDBInstanceFromS3Request(input *RestoreDBInstanceFromS3Input) (req *request.Request, output *RestoreDBInstanceFromS3Output) { @@ -13708,70 +13639,71 @@ func (c *RDS) RestoreDBInstanceFromS3Request(input *RestoreDBInstanceFromS3Input // API operation RestoreDBInstanceFromS3 for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" -// The user already has a DB instance with the given identifier. // -// * ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" -// The specified DB instance class isn't available in the specified Availability -// Zone. +// - ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" +// The user already has a DB instance with the given identifier. +// +// - ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" +// The specified DB instance class isn't available in the specified Availability +// Zone. // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. // -// * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" -// DBSecurityGroupName doesn't refer to an existing DB security group. +// - ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" +// DBSecurityGroupName doesn't refer to an existing DB security group. // -// * ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB instances. +// - ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB instances. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would result in the user exceeding the allowed amount of storage -// available across all DB instances. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would result in the user exceeding the allowed amount of storage +// available across all DB instances. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing DB subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing DB subnet group. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the DB subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the DB subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The DB subnet group doesn't cover all Availability Zones after it's created -// because of users' change. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The DB subnet group doesn't cover all Availability Zones after it's created +// because of users' change. // -// * ErrCodeInvalidS3BucketFault "InvalidS3BucketFault" -// The specified Amazon S3 bucket name can't be found or Amazon RDS isn't authorized -// to access the specified Amazon S3 bucket. Verify the SourceS3BucketName and -// S3IngestionRoleArn values and try again. +// - ErrCodeInvalidS3BucketFault "InvalidS3BucketFault" +// The specified Amazon S3 bucket name can't be found or Amazon RDS isn't authorized +// to access the specified Amazon S3 bucket. Verify the SourceS3BucketName and +// S3IngestionRoleArn values and try again. // -// * ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" -// Provisioned IOPS not available in the specified Availability Zone. +// - ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" +// Provisioned IOPS not available in the specified Availability Zone. // -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The specified option group could not be found. +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The specified option group could not be found. // -// * ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" -// Storage of the StorageType specified can't be associated with the DB instance. +// - ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" +// Storage of the StorageType specified can't be associated with the DB instance. // -// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" -// The specified CIDR IP range or Amazon EC2 security group might not be authorized -// for the specified DB security group. +// - ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// The specified CIDR IP range or Amazon EC2 security group might not be authorized +// for the specified DB security group. // -// Or, RDS might not be authorized to perform necessary actions using IAM on -// your behalf. +// Or, RDS might not be authorized to perform necessary actions using IAM on +// your behalf. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // -// * ErrCodeBackupPolicyNotFoundFault "BackupPolicyNotFoundFault" +// - ErrCodeBackupPolicyNotFoundFault "BackupPolicyNotFoundFault" // -// * ErrCodeNetworkTypeNotSupported "NetworkTypeNotSupported" -// The network type is invalid for the DB instance. Valid nework type values -// are IPV4 and DUAL. +// - ErrCodeNetworkTypeNotSupported "NetworkTypeNotSupported" +// The network type is invalid for the DB instance. Valid nework type values +// are IPV4 and DUAL. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceFromS3 func (c *RDS) RestoreDBInstanceFromS3(input *RestoreDBInstanceFromS3Input) (*RestoreDBInstanceFromS3Output, error) { @@ -13811,14 +13743,13 @@ const opRestoreDBInstanceToPointInTime = "RestoreDBInstanceToPointInTime" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreDBInstanceToPointInTimeRequest method. +// req, resp := client.RestoreDBInstanceToPointInTimeRequest(params) // -// // Example sending a request using the RestoreDBInstanceToPointInTimeRequest method. -// req, resp := client.RestoreDBInstanceToPointInTimeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime func (c *RDS) RestoreDBInstanceToPointInTimeRequest(input *RestoreDBInstanceToPointInTimeInput) (req *request.Request, output *RestoreDBInstanceToPointInTimeOutput) { @@ -13863,84 +13794,85 @@ func (c *RDS) RestoreDBInstanceToPointInTimeRequest(input *RestoreDBInstanceToPo // API operation RestoreDBInstanceToPointInTime for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" -// The user already has a DB instance with the given identifier. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. +// - ErrCodeDBInstanceAlreadyExistsFault "DBInstanceAlreadyExists" +// The user already has a DB instance with the given identifier. +// +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB instances. +// - ErrCodeInstanceQuotaExceededFault "InstanceQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB instances. // -// * ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" -// The specified DB instance class isn't available in the specified Availability -// Zone. +// - ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" +// The specified DB instance class isn't available in the specified Availability +// Zone. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // -// * ErrCodePointInTimeRestoreNotEnabledFault "PointInTimeRestoreNotEnabled" -// SourceDBInstanceIdentifier refers to a DB instance with BackupRetentionPeriod -// equal to 0. +// - ErrCodePointInTimeRestoreNotEnabledFault "PointInTimeRestoreNotEnabled" +// SourceDBInstanceIdentifier refers to a DB instance with BackupRetentionPeriod +// equal to 0. // -// * ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" -// The request would result in the user exceeding the allowed amount of storage -// available across all DB instances. +// - ErrCodeStorageQuotaExceededFault "StorageQuotaExceeded" +// The request would result in the user exceeding the allowed amount of storage +// available across all DB instances. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The DB subnet group doesn't cover all Availability Zones after it's created -// because of users' change. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The DB subnet group doesn't cover all Availability Zones after it's created +// because of users' change. // -// * ErrCodeInvalidRestoreFault "InvalidRestoreFault" -// Cannot restore from VPC backup to non-VPC DB instance. +// - ErrCodeInvalidRestoreFault "InvalidRestoreFault" +// Cannot restore from VPC backup to non-VPC DB instance. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing DB subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing DB subnet group. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the DB subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the DB subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" -// Provisioned IOPS not available in the specified Availability Zone. +// - ErrCodeProvisionedIopsNotAvailableInAZFault "ProvisionedIopsNotAvailableInAZFault" +// Provisioned IOPS not available in the specified Availability Zone. // -// * ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" -// The specified option group could not be found. +// - ErrCodeOptionGroupNotFoundFault "OptionGroupNotFoundFault" +// The specified option group could not be found. // -// * ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" -// Storage of the StorageType specified can't be associated with the DB instance. +// - ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" +// Storage of the StorageType specified can't be associated with the DB instance. // -// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" -// The specified CIDR IP range or Amazon EC2 security group might not be authorized -// for the specified DB security group. +// - ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// The specified CIDR IP range or Amazon EC2 security group might not be authorized +// for the specified DB security group. // -// Or, RDS might not be authorized to perform necessary actions using IAM on -// your behalf. +// Or, RDS might not be authorized to perform necessary actions using IAM on +// your behalf. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // -// * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" -// DBSecurityGroupName doesn't refer to an existing DB security group. +// - ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" +// DBSecurityGroupName doesn't refer to an existing DB security group. // -// * ErrCodeDomainNotFoundFault "DomainNotFoundFault" -// Domain doesn't refer to an existing Active Directory domain. +// - ErrCodeDomainNotFoundFault "DomainNotFoundFault" +// Domain doesn't refer to an existing Active Directory domain. // -// * ErrCodeBackupPolicyNotFoundFault "BackupPolicyNotFoundFault" +// - ErrCodeBackupPolicyNotFoundFault "BackupPolicyNotFoundFault" // -// * ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" -// DBParameterGroupName doesn't refer to an existing DB parameter group. +// - ErrCodeDBParameterGroupNotFoundFault "DBParameterGroupNotFound" +// DBParameterGroupName doesn't refer to an existing DB parameter group. // -// * ErrCodeDBInstanceAutomatedBackupNotFoundFault "DBInstanceAutomatedBackupNotFound" -// No automated backup for this DB instance was found. +// - ErrCodeDBInstanceAutomatedBackupNotFoundFault "DBInstanceAutomatedBackupNotFound" +// No automated backup for this DB instance was found. // -// * ErrCodeNetworkTypeNotSupported "NetworkTypeNotSupported" -// The network type is invalid for the DB instance. Valid nework type values -// are IPV4 and DUAL. +// - ErrCodeNetworkTypeNotSupported "NetworkTypeNotSupported" +// The network type is invalid for the DB instance. Valid nework type values +// are IPV4 and DUAL. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RestoreDBInstanceToPointInTime func (c *RDS) RestoreDBInstanceToPointInTime(input *RestoreDBInstanceToPointInTimeInput) (*RestoreDBInstanceToPointInTimeOutput, error) { @@ -13980,14 +13912,13 @@ const opRevokeDBSecurityGroupIngress = "RevokeDBSecurityGroupIngress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeDBSecurityGroupIngressRequest method. +// req, resp := client.RevokeDBSecurityGroupIngressRequest(params) // -// // Example sending a request using the RevokeDBSecurityGroupIngressRequest method. -// req, resp := client.RevokeDBSecurityGroupIngressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngress func (c *RDS) RevokeDBSecurityGroupIngressRequest(input *RevokeDBSecurityGroupIngressInput) (req *request.Request, output *RevokeDBSecurityGroupIngressOutput) { @@ -14021,18 +13952,19 @@ func (c *RDS) RevokeDBSecurityGroupIngressRequest(input *RevokeDBSecurityGroupIn // API operation RevokeDBSecurityGroupIngress for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" -// DBSecurityGroupName doesn't refer to an existing DB security group. // -// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" -// The specified CIDR IP range or Amazon EC2 security group might not be authorized -// for the specified DB security group. +// - ErrCodeDBSecurityGroupNotFoundFault "DBSecurityGroupNotFound" +// DBSecurityGroupName doesn't refer to an existing DB security group. +// +// - ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// The specified CIDR IP range or Amazon EC2 security group might not be authorized +// for the specified DB security group. // -// Or, RDS might not be authorized to perform necessary actions using IAM on -// your behalf. +// Or, RDS might not be authorized to perform necessary actions using IAM on +// your behalf. // -// * ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" -// The state of the DB security group doesn't allow deletion. +// - ErrCodeInvalidDBSecurityGroupStateFault "InvalidDBSecurityGroupState" +// The state of the DB security group doesn't allow deletion. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RevokeDBSecurityGroupIngress func (c *RDS) RevokeDBSecurityGroupIngress(input *RevokeDBSecurityGroupIngressInput) (*RevokeDBSecurityGroupIngressOutput, error) { @@ -14072,14 +14004,13 @@ const opStartActivityStream = "StartActivityStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartActivityStreamRequest method. +// req, resp := client.StartActivityStreamRequest(params) // -// // Example sending a request using the StartActivityStreamRequest method. -// req, resp := client.StartActivityStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartActivityStream func (c *RDS) StartActivityStreamRequest(input *StartActivityStreamInput) (req *request.Request, output *StartActivityStreamOutput) { @@ -14112,23 +14043,24 @@ func (c *RDS) StartActivityStreamRequest(input *StartActivityStreamInput) (req * // API operation StartActivityStream for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" -// The specified resource ID was not found. +// - ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The specified resource ID was not found. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartActivityStream func (c *RDS) StartActivityStream(input *StartActivityStreamInput) (*StartActivityStreamOutput, error) { @@ -14168,14 +14100,13 @@ const opStartDBCluster = "StartDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDBClusterRequest method. +// req, resp := client.StartDBClusterRequest(params) // -// // Example sending a request using the StartDBClusterRequest method. -// req, resp := client.StartDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBCluster func (c *RDS) StartDBClusterRequest(input *StartDBClusterInput) (req *request.Request, output *StartDBClusterOutput) { @@ -14212,14 +14143,15 @@ func (c *RDS) StartDBClusterRequest(input *StartDBClusterInput) (req *request.Re // API operation StartDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBCluster func (c *RDS) StartDBCluster(input *StartDBClusterInput) (*StartDBClusterOutput, error) { @@ -14259,14 +14191,13 @@ const opStartDBInstance = "StartDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDBInstanceRequest method. +// req, resp := client.StartDBInstanceRequest(params) // -// // Example sending a request using the StartDBInstanceRequest method. -// req, resp := client.StartDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance func (c *RDS) StartDBInstanceRequest(input *StartDBInstanceInput) (req *request.Request, output *StartDBInstanceOutput) { @@ -14305,46 +14236,47 @@ func (c *RDS) StartDBInstanceRequest(input *StartDBInstanceInput) (req *request. // API operation StartDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // -// * ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" -// The specified DB instance class isn't available in the specified Availability -// Zone. +// - ErrCodeInsufficientDBInstanceCapacityFault "InsufficientDBInstanceCapacity" +// The specified DB instance class isn't available in the specified Availability +// Zone. // -// * ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" -// DBSubnetGroupName doesn't refer to an existing DB subnet group. +// - ErrCodeDBSubnetGroupNotFoundFault "DBSubnetGroupNotFoundFault" +// DBSubnetGroupName doesn't refer to an existing DB subnet group. // -// * ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" -// Subnets in the DB subnet group should cover at least two Availability Zones -// unless there is only one Availability Zone. +// - ErrCodeDBSubnetGroupDoesNotCoverEnoughAZs "DBSubnetGroupDoesNotCoverEnoughAZs" +// Subnets in the DB subnet group should cover at least two Availability Zones +// unless there is only one Availability Zone. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is invalid, or multiple subnets were requested that -// are not all in a common VPC. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is invalid, or multiple subnets were requested that +// are not all in a common VPC. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The DB subnet group doesn't cover all Availability Zones after it's created -// because of users' change. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The DB subnet group doesn't cover all Availability Zones after it's created +// because of users' change. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" -// The specified CIDR IP range or Amazon EC2 security group might not be authorized -// for the specified DB security group. +// - ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// The specified CIDR IP range or Amazon EC2 security group might not be authorized +// for the specified DB security group. // -// Or, RDS might not be authorized to perform necessary actions using IAM on -// your behalf. +// Or, RDS might not be authorized to perform necessary actions using IAM on +// your behalf. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstance func (c *RDS) StartDBInstance(input *StartDBInstanceInput) (*StartDBInstanceOutput, error) { @@ -14384,14 +14316,13 @@ const opStartDBInstanceAutomatedBackupsReplication = "StartDBInstanceAutomatedBa // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDBInstanceAutomatedBackupsReplicationRequest method. +// req, resp := client.StartDBInstanceAutomatedBackupsReplicationRequest(params) // -// // Example sending a request using the StartDBInstanceAutomatedBackupsReplicationRequest method. -// req, resp := client.StartDBInstanceAutomatedBackupsReplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstanceAutomatedBackupsReplication func (c *RDS) StartDBInstanceAutomatedBackupsReplicationRequest(input *StartDBInstanceAutomatedBackupsReplicationInput) (req *request.Request, output *StartDBInstanceAutomatedBackupsReplicationOutput) { @@ -14429,22 +14360,23 @@ func (c *RDS) StartDBInstanceAutomatedBackupsReplicationRequest(input *StartDBIn // API operation StartDBInstanceAutomatedBackupsReplication for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // -// * ErrCodeDBInstanceAutomatedBackupQuotaExceededFault "DBInstanceAutomatedBackupQuotaExceeded" -// The quota for retained automated backups was exceeded. This prevents you -// from retaining any additional automated backups. The retained automated backups -// quota is the same as your DB Instance quota. +// - ErrCodeDBInstanceAutomatedBackupQuotaExceededFault "DBInstanceAutomatedBackupQuotaExceeded" +// The quota for retained automated backups was exceeded. This prevents you +// from retaining any additional automated backups. The retained automated backups +// quota is the same as your DB Instance quota. // -// * ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" -// Storage of the StorageType specified can't be associated with the DB instance. +// - ErrCodeStorageTypeNotSupportedFault "StorageTypeNotSupported" +// Storage of the StorageType specified can't be associated with the DB instance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartDBInstanceAutomatedBackupsReplication func (c *RDS) StartDBInstanceAutomatedBackupsReplication(input *StartDBInstanceAutomatedBackupsReplicationInput) (*StartDBInstanceAutomatedBackupsReplicationOutput, error) { @@ -14484,14 +14416,13 @@ const opStartExportTask = "StartExportTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartExportTaskRequest method. +// req, resp := client.StartExportTaskRequest(params) // -// // Example sending a request using the StartExportTaskRequest method. -// req, resp := client.StartExportTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartExportTask func (c *RDS) StartExportTaskRequest(input *StartExportTaskInput) (req *request.Request, output *StartExportTaskOutput) { @@ -14525,35 +14456,36 @@ func (c *RDS) StartExportTaskRequest(input *StartExportTaskInput) (req *request. // API operation StartExportTask for usage and error information. // // Returned Error Codes: -// * ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" -// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. // -// * ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" -// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. +// - ErrCodeDBSnapshotNotFoundFault "DBSnapshotNotFound" +// DBSnapshotIdentifier doesn't refer to an existing DB snapshot. +// +// - ErrCodeDBClusterSnapshotNotFoundFault "DBClusterSnapshotNotFoundFault" +// DBClusterSnapshotIdentifier doesn't refer to an existing DB cluster snapshot. // -// * ErrCodeExportTaskAlreadyExistsFault "ExportTaskAlreadyExists" -// You can't start an export task that's already running. +// - ErrCodeExportTaskAlreadyExistsFault "ExportTaskAlreadyExists" +// You can't start an export task that's already running. // -// * ErrCodeInvalidS3BucketFault "InvalidS3BucketFault" -// The specified Amazon S3 bucket name can't be found or Amazon RDS isn't authorized -// to access the specified Amazon S3 bucket. Verify the SourceS3BucketName and -// S3IngestionRoleArn values and try again. +// - ErrCodeInvalidS3BucketFault "InvalidS3BucketFault" +// The specified Amazon S3 bucket name can't be found or Amazon RDS isn't authorized +// to access the specified Amazon S3 bucket. Verify the SourceS3BucketName and +// S3IngestionRoleArn values and try again. // -// * ErrCodeIamRoleNotFoundFault "IamRoleNotFound" -// The IAM role is missing for exporting to an Amazon S3 bucket. +// - ErrCodeIamRoleNotFoundFault "IamRoleNotFound" +// The IAM role is missing for exporting to an Amazon S3 bucket. // -// * ErrCodeIamRoleMissingPermissionsFault "IamRoleMissingPermissions" -// The IAM role requires additional permissions to export to an Amazon S3 bucket. +// - ErrCodeIamRoleMissingPermissionsFault "IamRoleMissingPermissions" +// The IAM role requires additional permissions to export to an Amazon S3 bucket. // -// * ErrCodeInvalidExportOnlyFault "InvalidExportOnly" -// The export is invalid for exporting to an Amazon S3 bucket. +// - ErrCodeInvalidExportOnlyFault "InvalidExportOnly" +// The export is invalid for exporting to an Amazon S3 bucket. // -// * ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" -// An error occurred accessing an Amazon Web Services KMS key. +// - ErrCodeKMSKeyNotAccessibleFault "KMSKeyNotAccessibleFault" +// An error occurred accessing an Amazon Web Services KMS key. // -// * ErrCodeInvalidExportSourceStateFault "InvalidExportSourceState" -// The state of the export snapshot is invalid for exporting to an Amazon S3 -// bucket. +// - ErrCodeInvalidExportSourceStateFault "InvalidExportSourceState" +// The state of the export snapshot is invalid for exporting to an Amazon S3 +// bucket. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StartExportTask func (c *RDS) StartExportTask(input *StartExportTaskInput) (*StartExportTaskOutput, error) { @@ -14593,14 +14525,13 @@ const opStopActivityStream = "StopActivityStream" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopActivityStreamRequest method. +// req, resp := client.StopActivityStreamRequest(params) // -// // Example sending a request using the StopActivityStreamRequest method. -// req, resp := client.StopActivityStreamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopActivityStream func (c *RDS) StopActivityStreamRequest(input *StopActivityStreamInput) (req *request.Request, output *StopActivityStreamOutput) { @@ -14636,20 +14567,21 @@ func (c *RDS) StopActivityStreamRequest(input *StopActivityStreamInput) (req *re // API operation StopActivityStream for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" -// The specified resource ID was not found. +// - ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The specified resource ID was not found. // -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopActivityStream func (c *RDS) StopActivityStream(input *StopActivityStreamInput) (*StopActivityStreamOutput, error) { @@ -14689,14 +14621,13 @@ const opStopDBCluster = "StopDBCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopDBClusterRequest method. +// req, resp := client.StopDBClusterRequest(params) // -// // Example sending a request using the StopDBClusterRequest method. -// req, resp := client.StopDBClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBCluster func (c *RDS) StopDBClusterRequest(input *StopDBClusterInput) (req *request.Request, output *StopDBClusterOutput) { @@ -14735,14 +14666,15 @@ func (c *RDS) StopDBClusterRequest(input *StopDBClusterInput) (req *request.Requ // API operation StopDBCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" -// DBClusterIdentifier doesn't refer to an existing DB cluster. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeDBClusterNotFoundFault "DBClusterNotFoundFault" +// DBClusterIdentifier doesn't refer to an existing DB cluster. +// +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBCluster func (c *RDS) StopDBCluster(input *StopDBClusterInput) (*StopDBClusterOutput, error) { @@ -14782,14 +14714,13 @@ const opStopDBInstance = "StopDBInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopDBInstanceRequest method. +// req, resp := client.StopDBInstanceRequest(params) // -// // Example sending a request using the StopDBInstanceRequest method. -// req, resp := client.StopDBInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance func (c *RDS) StopDBInstanceRequest(input *StopDBInstanceInput) (req *request.Request, output *StopDBInstanceOutput) { @@ -14830,20 +14761,21 @@ func (c *RDS) StopDBInstanceRequest(input *StopDBInstanceInput) (req *request.Re // API operation StopDBInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // -// * ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" -// DBSnapshotIdentifier is already used by an existing snapshot. +// - ErrCodeDBSnapshotAlreadyExistsFault "DBSnapshotAlreadyExists" +// DBSnapshotIdentifier is already used by an existing snapshot. // -// * ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" -// The request would result in the user exceeding the allowed number of DB snapshots. +// - ErrCodeSnapshotQuotaExceededFault "SnapshotQuotaExceeded" +// The request would result in the user exceeding the allowed number of DB snapshots. // -// * ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" -// The requested operation can't be performed while the cluster is in this state. +// - ErrCodeInvalidDBClusterStateFault "InvalidDBClusterStateFault" +// The requested operation can't be performed while the cluster is in this state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstance func (c *RDS) StopDBInstance(input *StopDBInstanceInput) (*StopDBInstanceOutput, error) { @@ -14883,14 +14815,13 @@ const opStopDBInstanceAutomatedBackupsReplication = "StopDBInstanceAutomatedBack // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopDBInstanceAutomatedBackupsReplicationRequest method. +// req, resp := client.StopDBInstanceAutomatedBackupsReplicationRequest(params) // -// // Example sending a request using the StopDBInstanceAutomatedBackupsReplicationRequest method. -// req, resp := client.StopDBInstanceAutomatedBackupsReplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstanceAutomatedBackupsReplication func (c *RDS) StopDBInstanceAutomatedBackupsReplicationRequest(input *StopDBInstanceAutomatedBackupsReplicationInput) (req *request.Request, output *StopDBInstanceAutomatedBackupsReplicationOutput) { @@ -14927,11 +14858,12 @@ func (c *RDS) StopDBInstanceAutomatedBackupsReplicationRequest(input *StopDBInst // API operation StopDBInstanceAutomatedBackupsReplication for usage and error information. // // Returned Error Codes: -// * ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" -// DBInstanceIdentifier doesn't refer to an existing DB instance. // -// * ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" -// The DB instance isn't in a valid state. +// - ErrCodeDBInstanceNotFoundFault "DBInstanceNotFound" +// DBInstanceIdentifier doesn't refer to an existing DB instance. +// +// - ErrCodeInvalidDBInstanceStateFault "InvalidDBInstanceState" +// The DB instance isn't in a valid state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/StopDBInstanceAutomatedBackupsReplication func (c *RDS) StopDBInstanceAutomatedBackupsReplication(input *StopDBInstanceAutomatedBackupsReplicationInput) (*StopDBInstanceAutomatedBackupsReplicationOutput, error) { @@ -14959,81 +14891,81 @@ func (c *RDS) StopDBInstanceAutomatedBackupsReplicationWithContext(ctx aws.Conte // // The following are account quotas: // -// * AllocatedStorage - The total allocated storage per account, in GiB. -// The used value is the total allocated storage in the account, in GiB. +// - AllocatedStorage - The total allocated storage per account, in GiB. +// The used value is the total allocated storage in the account, in GiB. // -// * AuthorizationsPerDBSecurityGroup - The number of ingress rules per DB -// security group. The used value is the highest number of ingress rules -// in a DB security group in the account. Other DB security groups in the -// account might have a lower number of ingress rules. +// - AuthorizationsPerDBSecurityGroup - The number of ingress rules per DB +// security group. The used value is the highest number of ingress rules +// in a DB security group in the account. Other DB security groups in the +// account might have a lower number of ingress rules. // -// * CustomEndpointsPerDBCluster - The number of custom endpoints per DB -// cluster. The used value is the highest number of custom endpoints in a -// DB clusters in the account. Other DB clusters in the account might have -// a lower number of custom endpoints. +// - CustomEndpointsPerDBCluster - The number of custom endpoints per DB +// cluster. The used value is the highest number of custom endpoints in a +// DB clusters in the account. Other DB clusters in the account might have +// a lower number of custom endpoints. // -// * DBClusterParameterGroups - The number of DB cluster parameter groups -// per account, excluding default parameter groups. The used value is the -// count of nondefault DB cluster parameter groups in the account. +// - DBClusterParameterGroups - The number of DB cluster parameter groups +// per account, excluding default parameter groups. The used value is the +// count of nondefault DB cluster parameter groups in the account. // -// * DBClusterRoles - The number of associated Amazon Web Services Identity -// and Access Management (IAM) roles per DB cluster. The used value is the -// highest number of associated IAM roles for a DB cluster in the account. -// Other DB clusters in the account might have a lower number of associated -// IAM roles. +// - DBClusterRoles - The number of associated Amazon Web Services Identity +// and Access Management (IAM) roles per DB cluster. The used value is the +// highest number of associated IAM roles for a DB cluster in the account. +// Other DB clusters in the account might have a lower number of associated +// IAM roles. // -// * DBClusters - The number of DB clusters per account. The used value is -// the count of DB clusters in the account. +// - DBClusters - The number of DB clusters per account. The used value is +// the count of DB clusters in the account. // -// * DBInstanceRoles - The number of associated IAM roles per DB instance. -// The used value is the highest number of associated IAM roles for a DB -// instance in the account. Other DB instances in the account might have -// a lower number of associated IAM roles. +// - DBInstanceRoles - The number of associated IAM roles per DB instance. +// The used value is the highest number of associated IAM roles for a DB +// instance in the account. Other DB instances in the account might have +// a lower number of associated IAM roles. // -// * DBInstances - The number of DB instances per account. The used value -// is the count of the DB instances in the account. Amazon RDS DB instances, -// Amazon Aurora DB instances, Amazon Neptune instances, and Amazon DocumentDB -// instances apply to this quota. +// - DBInstances - The number of DB instances per account. The used value +// is the count of the DB instances in the account. Amazon RDS DB instances, +// Amazon Aurora DB instances, Amazon Neptune instances, and Amazon DocumentDB +// instances apply to this quota. // -// * DBParameterGroups - The number of DB parameter groups per account, excluding -// default parameter groups. The used value is the count of nondefault DB -// parameter groups in the account. +// - DBParameterGroups - The number of DB parameter groups per account, excluding +// default parameter groups. The used value is the count of nondefault DB +// parameter groups in the account. // -// * DBSecurityGroups - The number of DB security groups (not VPC security -// groups) per account, excluding the default security group. The used value -// is the count of nondefault DB security groups in the account. +// - DBSecurityGroups - The number of DB security groups (not VPC security +// groups) per account, excluding the default security group. The used value +// is the count of nondefault DB security groups in the account. // -// * DBSubnetGroups - The number of DB subnet groups per account. The used -// value is the count of the DB subnet groups in the account. +// - DBSubnetGroups - The number of DB subnet groups per account. The used +// value is the count of the DB subnet groups in the account. // -// * EventSubscriptions - The number of event subscriptions per account. -// The used value is the count of the event subscriptions in the account. +// - EventSubscriptions - The number of event subscriptions per account. +// The used value is the count of the event subscriptions in the account. // -// * ManualClusterSnapshots - The number of manual DB cluster snapshots per -// account. The used value is the count of the manual DB cluster snapshots -// in the account. +// - ManualClusterSnapshots - The number of manual DB cluster snapshots per +// account. The used value is the count of the manual DB cluster snapshots +// in the account. // -// * ManualSnapshots - The number of manual DB instance snapshots per account. -// The used value is the count of the manual DB instance snapshots in the -// account. +// - ManualSnapshots - The number of manual DB instance snapshots per account. +// The used value is the count of the manual DB instance snapshots in the +// account. // -// * OptionGroups - The number of DB option groups per account, excluding -// default option groups. The used value is the count of nondefault DB option -// groups in the account. +// - OptionGroups - The number of DB option groups per account, excluding +// default option groups. The used value is the count of nondefault DB option +// groups in the account. // -// * ReadReplicasPerMaster - The number of read replicas per DB instance. -// The used value is the highest number of read replicas for a DB instance -// in the account. Other DB instances in the account might have a lower number -// of read replicas. +// - ReadReplicasPerMaster - The number of read replicas per DB instance. +// The used value is the highest number of read replicas for a DB instance +// in the account. Other DB instances in the account might have a lower number +// of read replicas. // -// * ReservedDBInstances - The number of reserved DB instances per account. -// The used value is the count of the active reserved DB instances in the -// account. +// - ReservedDBInstances - The number of reserved DB instances per account. +// The used value is the count of the active reserved DB instances in the +// account. // -// * SubnetsPerDBSubnetGroup - The number of subnets per DB subnet group. -// The used value is highest number of subnets for a DB subnet group in the -// account. Other DB subnet groups in the account might have a lower number -// of subnets. +// - SubnetsPerDBSubnetGroup - The number of subnets per DB subnet group. +// The used value is highest number of subnets for a DB subnet group in the +// account. Other DB subnet groups in the account might have a lower number +// of subnets. // // For more information, see Quotas for Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html) // in the Amazon RDS User Guide and Quotas for Amazon Aurora (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_Limits.html) @@ -18194,13 +18126,13 @@ func (s *CreateDBClusterEndpointInput) SetTags(v []*Tag) *CreateDBClusterEndpoin // Aurora DB cluster. This data type is used as a response element in the following // actions: // -// * CreateDBClusterEndpoint +// - CreateDBClusterEndpoint // -// * DescribeDBClusterEndpoints +// - DescribeDBClusterEndpoints // -// * ModifyDBClusterEndpoint +// - ModifyDBClusterEndpoint // -// * DeleteDBClusterEndpoint +// - DeleteDBClusterEndpoint // // For the data structure that represents Amazon RDS DB instance endpoints, // see Endpoint. @@ -23744,13 +23676,13 @@ func (s *DBCluster) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *DBClu // Aurora DB cluster. This data type is used as a response element in the following // actions: // -// * CreateDBClusterEndpoint +// - CreateDBClusterEndpoint // -// * DescribeDBClusterEndpoints +// - DescribeDBClusterEndpoints // -// * ModifyDBClusterEndpoint +// - ModifyDBClusterEndpoint // -// * DeleteDBClusterEndpoint +// - DeleteDBClusterEndpoint // // For the data structure that represents Amazon RDS DB instance endpoints, // see Endpoint. @@ -26200,17 +26132,17 @@ func (s *DBParameterGroupNameMessage) SetDBParameterGroupName(v string) *DBParam // // This data type is used as a response element in the following actions: // -// * CreateDBInstance +// - CreateDBInstance // -// * CreateDBInstanceReadReplica +// - CreateDBInstanceReadReplica // -// * DeleteDBInstance +// - DeleteDBInstance // -// * ModifyDBInstance +// - ModifyDBInstance // -// * RebootDBInstance +// - RebootDBInstance // -// * RestoreDBInstanceFromDBSnapshot +// - RestoreDBInstanceFromDBSnapshot type DBParameterGroupStatus struct { _ struct{} `type:"structure"` @@ -26877,13 +26809,13 @@ func (s *DBSecurityGroup) SetVpcId(v string) *DBSecurityGroup { // This data type is used as a response element in the following actions: // -// * ModifyDBInstance +// - ModifyDBInstance // -// * RebootDBInstance +// - RebootDBInstance // -// * RestoreDBInstanceFromDBSnapshot +// - RestoreDBInstanceFromDBSnapshot // -// * RestoreDBInstanceToPointInTime +// - RestoreDBInstanceToPointInTime type DBSecurityGroupMembership struct { _ struct{} `type:"structure"` @@ -27856,13 +27788,13 @@ func (s *DeleteDBClusterEndpointInput) SetDBClusterEndpointIdentifier(v string) // Aurora DB cluster. This data type is used as a response element in the following // actions: // -// * CreateDBClusterEndpoint +// - CreateDBClusterEndpoint // -// * DescribeDBClusterEndpoints +// - DescribeDBClusterEndpoints // -// * ModifyDBClusterEndpoint +// - ModifyDBClusterEndpoint // -// * DeleteDBClusterEndpoint +// - DeleteDBClusterEndpoint // // For the data structure that represents Amazon RDS DB instance endpoints, // see Endpoint. @@ -35437,11 +35369,11 @@ func (s *DownloadDBLogFilePortionOutput) SetMarker(v string) *DownloadDBLogFileP // This data type is used as a response element in the following actions: // -// * AuthorizeDBSecurityGroupIngress +// - AuthorizeDBSecurityGroupIngress // -// * DescribeDBSecurityGroups +// - DescribeDBSecurityGroups // -// * RevokeDBSecurityGroupIngress +// - RevokeDBSecurityGroupIngress type EC2SecurityGroup struct { _ struct{} `type:"structure"` @@ -35506,11 +35438,11 @@ func (s *EC2SecurityGroup) SetStatus(v string) *EC2SecurityGroup { // RDS DB instance. This data type is used as a response element in the following // actions: // -// * CreateDBInstance +// - CreateDBInstance // -// * DescribeDBInstances +// - DescribeDBInstances // -// * DeleteDBInstance +// - DeleteDBInstance // // For the data structure that represents Amazon Aurora DB cluster endpoints, // see DBClusterEndpoint. @@ -36336,15 +36268,15 @@ func (s *FailoverState) SetToDbClusterArn(v string) *FailoverState { // // The following actions can be filtered: // -// * DescribeDBClusterBacktracks +// - DescribeDBClusterBacktracks // -// * DescribeDBClusterEndpoints +// - DescribeDBClusterEndpoints // -// * DescribeDBClusters +// - DescribeDBClusters // -// * DescribeDBInstances +// - DescribeDBInstances // -// * DescribePendingMaintenanceActions +// - DescribePendingMaintenanceActions type Filter struct { _ struct{} `type:"structure"` @@ -37498,13 +37430,13 @@ func (s *ModifyDBClusterEndpointInput) SetStaticMembers(v []*string) *ModifyDBCl // Aurora DB cluster. This data type is used as a response element in the following // actions: // -// * CreateDBClusterEndpoint +// - CreateDBClusterEndpoint // -// * DescribeDBClusterEndpoints +// - DescribeDBClusterEndpoints // -// * ModifyDBClusterEndpoint +// - ModifyDBClusterEndpoint // -// * DeleteDBClusterEndpoint +// - DeleteDBClusterEndpoint // // For the data structure that represents Amazon RDS DB instance endpoints, // see Endpoint. @@ -42399,15 +42331,15 @@ func (s *PendingModifiedValues) SetStorageType(v string) *PendingModifiedValues // You can set the processor features of the DB instance class for a DB instance // when you call one of the following actions: // -// * CreateDBInstance +// - CreateDBInstance // -// * ModifyDBInstance +// - ModifyDBInstance // -// * RestoreDBInstanceFromDBSnapshot +// - RestoreDBInstanceFromDBSnapshot // -// * RestoreDBInstanceFromS3 +// - RestoreDBInstanceFromS3 // -// * RestoreDBInstanceToPointInTime +// - RestoreDBInstanceToPointInTime // // You can view the valid processor values for a particular instance class by // calling the DescribeOrderableDBInstanceOptions action and specifying the @@ -42416,21 +42348,21 @@ func (s *PendingModifiedValues) SetStorageType(v string) *PendingModifiedValues // In addition, you can use the following actions for DB instance class processor // information: // -// * DescribeDBInstances +// - DescribeDBInstances // -// * DescribeDBSnapshots +// - DescribeDBSnapshots // -// * DescribeValidDBInstanceModifications +// - DescribeValidDBInstanceModifications // // If you call DescribeDBInstances, ProcessorFeature returns non-null values // only if the following conditions are met: // -// * You are accessing an Oracle DB instance. +// - You are accessing an Oracle DB instance. // -// * Your Oracle DB instance class supports configuring the number of CPU -// cores and threads per core. +// - Your Oracle DB instance class supports configuring the number of CPU +// cores and threads per core. // -// * The current number CPU cores and threads is set to a non-default value. +// - The current number CPU cores and threads is set to a non-default value. // // For more information, see Configuring the Processor of the DB Instance Class // (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/doc.go index 8f7077a1bad0..8b1fe721dab4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/doc.go @@ -30,28 +30,28 @@ // // Amazon RDS API Reference // -// * For the alphabetical list of API actions, see API Actions (https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Operations.html). +// - For the alphabetical list of API actions, see API Actions (https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Operations.html). // -// * For the alphabetical list of data types, see Data Types (https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Types.html). +// - For the alphabetical list of data types, see Data Types (https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Types.html). // -// * For a list of common query parameters, see Common Parameters (https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/CommonParameters.html). +// - For a list of common query parameters, see Common Parameters (https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/CommonParameters.html). // -// * For descriptions of the error codes, see Common Errors (https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/CommonErrors.html). +// - For descriptions of the error codes, see Common Errors (https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/CommonErrors.html). // // Amazon RDS User Guide // -// * For a summary of the Amazon RDS interfaces, see Available RDS Interfaces -// (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Welcome.html#Welcome.Interfaces). +// - For a summary of the Amazon RDS interfaces, see Available RDS Interfaces +// (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Welcome.html#Welcome.Interfaces). // -// * For more information about how to use the Query API, see Using the Query -// API (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Using_the_Query_API.html). +// - For more information about how to use the Query API, see Using the Query +// API (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Using_the_Query_API.html). // // See https://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31 for more information on this service. // // See rds package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/rds/ // -// Using the Client +// # Using the Client // // To contact Amazon Relational Database Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/doc_custom.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/doc_custom.go index 3a4b87905224..922803c5e78c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/doc_custom.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/doc_custom.go @@ -9,16 +9,16 @@ // The following example shows how to use BuildAuthToken to create an authentication // token for connecting to a MySQL database in RDS. // -// authToken, err := rdsutils.BuildAuthToken(dbEndpoint, awsRegion, dbUser, awsCreds) +// authToken, err := rdsutils.BuildAuthToken(dbEndpoint, awsRegion, dbUser, awsCreds) // -// // Create the MySQL DNS string for the DB connection -// // user:password@protocol(endpoint)/dbname? -// dnsStr = fmt.Sprintf("%s:%s@tcp(%s)/%s?tls=true", -// dbUser, authToken, dbEndpoint, dbName, -// ) +// // Create the MySQL DNS string for the DB connection +// // user:password@protocol(endpoint)/dbname? +// dnsStr = fmt.Sprintf("%s:%s@tcp(%s)/%s?tls=true", +// dbUser, authToken, dbEndpoint, dbName, +// ) // -// // Use db to perform SQL operations on database -// db, err := sql.Open("mysql", dnsStr) +// // Use db to perform SQL operations on database +// db, err := sql.Open("mysql", dnsStr) // // See rdsutil package for more information. // http://docs.aws.amazon.com/sdk-for-go/api/service/rds/rdsutils/ diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsiface/interface.go index e1f9d0c49002..cb4151f9c0a1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Relational Database Service. -// func myFunc(svc rdsiface.RDSAPI) bool { -// // Make svc.AddRoleToDBCluster request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Relational Database Service. +// func myFunc(svc rdsiface.RDSAPI) bool { +// // Make svc.AddRoleToDBCluster request +// } // -// func main() { -// sess := session.New() -// svc := rds.New(sess) +// func main() { +// sess := session.New() +// svc := rds.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRDSClient struct { -// rdsiface.RDSAPI -// } -// func (m *mockRDSClient) AddRoleToDBCluster(input *rds.AddRoleToDBClusterInput) (*rds.AddRoleToDBClusterOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRDSClient struct { +// rdsiface.RDSAPI +// } +// func (m *mockRDSClient) AddRoleToDBCluster(input *rds.AddRoleToDBClusterInput) (*rds.AddRoleToDBClusterOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRDSClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRDSClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsutils/connect.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsutils/connect.go index f31c26e76653..45b12aa53608 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsutils/connect.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsutils/connect.go @@ -20,16 +20,16 @@ import ( // The following example shows how to use BuildAuthToken to create an authentication // token for connecting to a MySQL database in RDS. // -// authToken, err := BuildAuthToken(dbEndpoint, awsRegion, dbUser, awsCreds) +// authToken, err := BuildAuthToken(dbEndpoint, awsRegion, dbUser, awsCreds) // -// // Create the MySQL DNS string for the DB connection -// // user:password@protocol(endpoint)/dbname? -// connectStr = fmt.Sprintf("%s:%s@tcp(%s)/%s?allowCleartextPasswords=true&tls=rds", -// dbUser, authToken, dbEndpoint, dbName, -// ) +// // Create the MySQL DNS string for the DB connection +// // user:password@protocol(endpoint)/dbname? +// connectStr = fmt.Sprintf("%s:%s@tcp(%s)/%s?allowCleartextPasswords=true&tls=rds", +// dbUser, authToken, dbEndpoint, dbName, +// ) // -// // Use db to perform SQL operations on database -// db, err := sql.Open("mysql", connectStr) +// // Use db to perform SQL operations on database +// db, err := sql.Open("mysql", connectStr) // // See http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html // for more information on using IAM database authentication with RDS. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsutils/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsutils/doc.go index d1ff2511af8d..9f3e8813baa7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsutils/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsutils/doc.go @@ -6,13 +6,15 @@ // https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html#UsingWithRDS.IAMDBAuth.Availability // // When building the connection string, there are two required parameters that are needed to be set on the query. -// * tls -// * allowCleartextPasswords must be set to true // -// Example creating a basic auth token with the builder: -// v := url.Values{} -// v.Add("tls", "tls_profile_name") -// v.Add("allowCleartextPasswords", "true") -// b := rdsutils.NewConnectionStringBuilder(endpoint, region, user, dbname, creds) -// connectStr, err := b.WithTCPFormat().WithParams(v).Build() +// - tls +// +// - allowCleartextPasswords must be set to true +// +// Example creating a basic auth token with the builder: +// v := url.Values{} +// v.Add("tls", "tls_profile_name") +// v.Add("allowCleartextPasswords", "true") +// b := rdsutils.NewConnectionStringBuilder(endpoint, region, user, dbname, creds) +// connectStr, err := b.WithTCPFormat().WithParams(v).Build() package rdsutils diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsutils/example_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsutils/example_test.go index eb672937d8b9..52195fee6b1a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsutils/example_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/rdsutils/example_test.go @@ -23,6 +23,7 @@ import ( // https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem // // Usage: +// // ./main -user "iamuser" -dbname "foo" -region "us-west-2" -rolearn "arn" -endpoint "dbendpoint" -port 3306 func ExampleConnectionStringBuilder() { userPtr := flag.String("user", "", "user of the credentials") diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/service.go index 4d68c88ce943..cc04e4fab2a0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rds/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a RDS client from just a session. -// svc := rds.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a RDS client with additional configuration -// svc := rds.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a RDS client from just a session. +// svc := rds.New(mySession) +// +// // Create a RDS client with additional configuration +// svc := rds.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *RDS { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/api.go index eed51b021e72..fcf259f9372d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/api.go @@ -27,14 +27,13 @@ const opBatchExecuteStatement = "BatchExecuteStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchExecuteStatementRequest method. +// req, resp := client.BatchExecuteStatementRequest(params) // -// // Example sending a request using the BatchExecuteStatementRequest method. -// req, resp := client.BatchExecuteStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/BatchExecuteStatement func (c *RDSDataService) BatchExecuteStatementRequest(input *BatchExecuteStatementInput) (req *request.Request, output *BatchExecuteStatementOutput) { @@ -72,23 +71,24 @@ func (c *RDSDataService) BatchExecuteStatementRequest(input *BatchExecuteStateme // API operation BatchExecuteStatement for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * BadRequestException -// There is an error in the call or in a SQL statement. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - BadRequestException +// There is an error in the call or in a SQL statement. // -// * StatementTimeoutException -// The execution of the SQL statement timed out. +// - StatementTimeoutException +// The execution of the SQL statement timed out. // -// * InternalServerErrorException -// An internal error occurred. +// - InternalServerErrorException +// An internal error occurred. // -// * ForbiddenException -// There are insufficient privileges to make the call. +// - ForbiddenException +// There are insufficient privileges to make the call. // -// * ServiceUnavailableError -// The service specified by the resourceArn parameter is not available. +// - ServiceUnavailableError +// The service specified by the resourceArn parameter is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/BatchExecuteStatement func (c *RDSDataService) BatchExecuteStatement(input *BatchExecuteStatementInput) (*BatchExecuteStatementOutput, error) { @@ -128,14 +128,13 @@ const opBeginTransaction = "BeginTransaction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BeginTransactionRequest method. +// req, resp := client.BeginTransactionRequest(params) // -// // Example sending a request using the BeginTransactionRequest method. -// req, resp := client.BeginTransactionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/BeginTransaction func (c *RDSDataService) BeginTransactionRequest(input *BeginTransactionInput) (req *request.Request, output *BeginTransactionOutput) { @@ -158,13 +157,13 @@ func (c *RDSDataService) BeginTransactionRequest(input *BeginTransactionInput) ( // // Starts a SQL transaction. // -//

A transaction can run for a maximum of 24 hours. A transaction -// is terminated and rolled back automatically after 24 hours.

A transaction -// times out if no calls use its transaction ID in three minutes. If a transaction -// times out before it's committed, it's rolled back automatically.

DDL -// statements inside a transaction cause an implicit commit. We recommend -// that you run each DDL statement in a separate ExecuteStatement -// call with continueAfterTimeout enabled.

+//

A transaction can run for a maximum of 24 hours. A transaction +// is terminated and rolled back automatically after 24 hours.

A transaction +// times out if no calls use its transaction ID in three minutes. If a transaction +// times out before it's committed, it's rolled back automatically.

DDL +// statements inside a transaction cause an implicit commit. We recommend +// that you run each DDL statement in a separate ExecuteStatement +// call with continueAfterTimeout enabled.

// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -174,23 +173,24 @@ func (c *RDSDataService) BeginTransactionRequest(input *BeginTransactionInput) ( // API operation BeginTransaction for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * BadRequestException -// There is an error in the call or in a SQL statement. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * StatementTimeoutException -// The execution of the SQL statement timed out. +// - BadRequestException +// There is an error in the call or in a SQL statement. // -// * InternalServerErrorException -// An internal error occurred. +// - StatementTimeoutException +// The execution of the SQL statement timed out. // -// * ForbiddenException -// There are insufficient privileges to make the call. +// - InternalServerErrorException +// An internal error occurred. // -// * ServiceUnavailableError -// The service specified by the resourceArn parameter is not available. +// - ForbiddenException +// There are insufficient privileges to make the call. +// +// - ServiceUnavailableError +// The service specified by the resourceArn parameter is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/BeginTransaction func (c *RDSDataService) BeginTransaction(input *BeginTransactionInput) (*BeginTransactionOutput, error) { @@ -230,14 +230,13 @@ const opCommitTransaction = "CommitTransaction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CommitTransactionRequest method. +// req, resp := client.CommitTransactionRequest(params) // -// // Example sending a request using the CommitTransactionRequest method. -// req, resp := client.CommitTransactionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/CommitTransaction func (c *RDSDataService) CommitTransactionRequest(input *CommitTransactionInput) (req *request.Request, output *CommitTransactionOutput) { @@ -269,26 +268,27 @@ func (c *RDSDataService) CommitTransactionRequest(input *CommitTransactionInput) // API operation CommitTransaction for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * BadRequestException -// There is an error in the call or in a SQL statement. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - BadRequestException +// There is an error in the call or in a SQL statement. // -// * StatementTimeoutException -// The execution of the SQL statement timed out. +// - StatementTimeoutException +// The execution of the SQL statement timed out. // -// * InternalServerErrorException -// An internal error occurred. +// - InternalServerErrorException +// An internal error occurred. // -// * ForbiddenException -// There are insufficient privileges to make the call. +// - ForbiddenException +// There are insufficient privileges to make the call. // -// * ServiceUnavailableError -// The service specified by the resourceArn parameter is not available. +// - ServiceUnavailableError +// The service specified by the resourceArn parameter is not available. // -// * NotFoundException -// The resourceArn, secretArn, or transactionId value can't be found. +// - NotFoundException +// The resourceArn, secretArn, or transactionId value can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/CommitTransaction func (c *RDSDataService) CommitTransaction(input *CommitTransactionInput) (*CommitTransactionOutput, error) { @@ -328,14 +328,13 @@ const opExecuteSql = "ExecuteSql" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExecuteSqlRequest method. +// req, resp := client.ExecuteSqlRequest(params) // -// // Example sending a request using the ExecuteSqlRequest method. -// req, resp := client.ExecuteSqlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/ExecuteSql // @@ -374,20 +373,21 @@ func (c *RDSDataService) ExecuteSqlRequest(input *ExecuteSqlInput) (req *request // API operation ExecuteSql for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * BadRequestException -// There is an error in the call or in a SQL statement. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - BadRequestException +// There is an error in the call or in a SQL statement. // -// * InternalServerErrorException -// An internal error occurred. +// - InternalServerErrorException +// An internal error occurred. // -// * ForbiddenException -// There are insufficient privileges to make the call. +// - ForbiddenException +// There are insufficient privileges to make the call. // -// * ServiceUnavailableError -// The service specified by the resourceArn parameter is not available. +// - ServiceUnavailableError +// The service specified by the resourceArn parameter is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/ExecuteSql // @@ -431,14 +431,13 @@ const opExecuteStatement = "ExecuteStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExecuteStatementRequest method. +// req, resp := client.ExecuteStatementRequest(params) // -// // Example sending a request using the ExecuteStatementRequest method. -// req, resp := client.ExecuteStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/ExecuteStatement func (c *RDSDataService) ExecuteStatementRequest(input *ExecuteStatementInput) (req *request.Request, output *ExecuteStatementOutput) { @@ -475,23 +474,24 @@ func (c *RDSDataService) ExecuteStatementRequest(input *ExecuteStatementInput) ( // API operation ExecuteStatement for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * BadRequestException -// There is an error in the call or in a SQL statement. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * StatementTimeoutException -// The execution of the SQL statement timed out. +// - BadRequestException +// There is an error in the call or in a SQL statement. // -// * InternalServerErrorException -// An internal error occurred. +// - StatementTimeoutException +// The execution of the SQL statement timed out. // -// * ForbiddenException -// There are insufficient privileges to make the call. +// - InternalServerErrorException +// An internal error occurred. // -// * ServiceUnavailableError -// The service specified by the resourceArn parameter is not available. +// - ForbiddenException +// There are insufficient privileges to make the call. +// +// - ServiceUnavailableError +// The service specified by the resourceArn parameter is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/ExecuteStatement func (c *RDSDataService) ExecuteStatement(input *ExecuteStatementInput) (*ExecuteStatementOutput, error) { @@ -531,14 +531,13 @@ const opRollbackTransaction = "RollbackTransaction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RollbackTransactionRequest method. +// req, resp := client.RollbackTransactionRequest(params) // -// // Example sending a request using the RollbackTransactionRequest method. -// req, resp := client.RollbackTransactionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/RollbackTransaction func (c *RDSDataService) RollbackTransactionRequest(input *RollbackTransactionInput) (req *request.Request, output *RollbackTransactionOutput) { @@ -570,26 +569,27 @@ func (c *RDSDataService) RollbackTransactionRequest(input *RollbackTransactionIn // API operation RollbackTransaction for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * BadRequestException -// There is an error in the call or in a SQL statement. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - BadRequestException +// There is an error in the call or in a SQL statement. // -// * StatementTimeoutException -// The execution of the SQL statement timed out. +// - StatementTimeoutException +// The execution of the SQL statement timed out. // -// * InternalServerErrorException -// An internal error occurred. +// - InternalServerErrorException +// An internal error occurred. // -// * ForbiddenException -// There are insufficient privileges to make the call. +// - ForbiddenException +// There are insufficient privileges to make the call. // -// * ServiceUnavailableError -// The service specified by the resourceArn parameter is not available. +// - ServiceUnavailableError +// The service specified by the resourceArn parameter is not available. // -// * NotFoundException -// The resourceArn, secretArn, or transactionId value can't be found. +// - NotFoundException +// The resourceArn, secretArn, or transactionId value can't be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rds-data-2018-08-01/RollbackTransaction func (c *RDSDataService) RollbackTransaction(input *RollbackTransactionInput) (*RollbackTransactionOutput, error) { @@ -2451,9 +2451,9 @@ func (s *SqlParameter) SetValue(v *Field) *SqlParameter { // The result of a SQL statement. // -//

This data structure is only used with the deprecated ExecuteSql -// operation. Use the BatchExecuteStatement or ExecuteStatement -// operation instead.

+//

This data structure is only used with the deprecated ExecuteSql +// operation. Use the BatchExecuteStatement or ExecuteStatement +// operation instead.

type SqlStatementResult struct { _ struct{} `type:"structure"` @@ -2631,9 +2631,9 @@ func (s *UpdateResult) SetGeneratedFields(v []*Field) *UpdateResult { // Contains the value of a column. // -//

This data structure is only used with the deprecated ExecuteSql -// operation. Use the BatchExecuteStatement or ExecuteStatement -// operation instead.

+//

This data structure is only used with the deprecated ExecuteSql +// operation. Use the BatchExecuteStatement or ExecuteStatement +// operation instead.

type Value struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/doc.go index 7be42e065a32..3b3fb1e3367f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/doc.go @@ -15,7 +15,7 @@ // See rdsdataservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/rdsdataservice/ // -// Using the Client +// # Using the Client // // To contact AWS RDS DataService with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/rdsdataserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/rdsdataserviceiface/interface.go index 9bc4f0b6432d..71e03c71cecf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/rdsdataserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/rdsdataserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS RDS DataService. -// func myFunc(svc rdsdataserviceiface.RDSDataServiceAPI) bool { -// // Make svc.BatchExecuteStatement request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS RDS DataService. +// func myFunc(svc rdsdataserviceiface.RDSDataServiceAPI) bool { +// // Make svc.BatchExecuteStatement request +// } // -// func main() { -// sess := session.New() -// svc := rdsdataservice.New(sess) +// func main() { +// sess := session.New() +// svc := rdsdataservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRDSDataServiceClient struct { -// rdsdataserviceiface.RDSDataServiceAPI -// } -// func (m *mockRDSDataServiceClient) BatchExecuteStatement(input *rdsdataservice.BatchExecuteStatementInput) (*rdsdataservice.BatchExecuteStatementOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRDSDataServiceClient struct { +// rdsdataserviceiface.RDSDataServiceAPI +// } +// func (m *mockRDSDataServiceClient) BatchExecuteStatement(input *rdsdataservice.BatchExecuteStatementInput) (*rdsdataservice.BatchExecuteStatementOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRDSDataServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRDSDataServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/service.go index 6e11201968d5..8d717ce886f0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rdsdataservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a RDSDataService client from just a session. -// svc := rdsdataservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a RDSDataService client with additional configuration -// svc := rdsdataservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a RDSDataService client from just a session. +// svc := rdsdataservice.New(mySession) +// +// // Create a RDSDataService client with additional configuration +// svc := rdsdataservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *RDSDataService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/api.go index 61ee19d2d511..adac9e2c774a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/api.go @@ -28,14 +28,13 @@ const opCreateRule = "CreateRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRuleRequest method. +// req, resp := client.CreateRuleRequest(params) // -// // Example sending a request using the CreateRuleRequest method. -// req, resp := client.CreateRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/CreateRule func (c *RecycleBin) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, output *CreateRuleOutput) { @@ -68,15 +67,16 @@ func (c *RecycleBin) CreateRuleRequest(input *CreateRuleInput) (req *request.Req // API operation CreateRule for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more of the parameters in the request is not valid. // -// * ServiceQuotaExceededException -// The request would cause a service quota for the number of tags per resource -// to be exceeded. +// - ValidationException +// One or more of the parameters in the request is not valid. +// +// - ServiceQuotaExceededException +// The request would cause a service quota for the number of tags per resource +// to be exceeded. // -// * InternalServerException -// The service could not respond to the request due to an internal problem. +// - InternalServerException +// The service could not respond to the request due to an internal problem. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/CreateRule func (c *RecycleBin) CreateRule(input *CreateRuleInput) (*CreateRuleOutput, error) { @@ -116,14 +116,13 @@ const opDeleteRule = "DeleteRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRuleRequest method. +// req, resp := client.DeleteRuleRequest(params) // -// // Example sending a request using the DeleteRuleRequest method. -// req, resp := client.DeleteRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/DeleteRule func (c *RecycleBin) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, output *DeleteRuleOutput) { @@ -157,14 +156,15 @@ func (c *RecycleBin) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Req // API operation DeleteRule for usage and error information. // // Returned Error Types: -// * InternalServerException -// The service could not respond to the request due to an internal problem. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InternalServerException +// The service could not respond to the request due to an internal problem. // -// * ValidationException -// One or more of the parameters in the request is not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ValidationException +// One or more of the parameters in the request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/DeleteRule func (c *RecycleBin) DeleteRule(input *DeleteRuleInput) (*DeleteRuleOutput, error) { @@ -204,14 +204,13 @@ const opGetRule = "GetRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRuleRequest method. +// req, resp := client.GetRuleRequest(params) // -// // Example sending a request using the GetRuleRequest method. -// req, resp := client.GetRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/GetRule func (c *RecycleBin) GetRuleRequest(input *GetRuleInput) (req *request.Request, output *GetRuleOutput) { @@ -242,14 +241,15 @@ func (c *RecycleBin) GetRuleRequest(input *GetRuleInput) (req *request.Request, // API operation GetRule for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more of the parameters in the request is not valid. // -// * InternalServerException -// The service could not respond to the request due to an internal problem. +// - ValidationException +// One or more of the parameters in the request is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InternalServerException +// The service could not respond to the request due to an internal problem. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/GetRule func (c *RecycleBin) GetRule(input *GetRuleInput) (*GetRuleOutput, error) { @@ -289,14 +289,13 @@ const opListRules = "ListRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRulesRequest method. +// req, resp := client.ListRulesRequest(params) // -// // Example sending a request using the ListRulesRequest method. -// req, resp := client.ListRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/ListRules func (c *RecycleBin) ListRulesRequest(input *ListRulesInput) (req *request.Request, output *ListRulesOutput) { @@ -333,11 +332,12 @@ func (c *RecycleBin) ListRulesRequest(input *ListRulesInput) (req *request.Reque // API operation ListRules for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more of the parameters in the request is not valid. // -// * InternalServerException -// The service could not respond to the request due to an internal problem. +// - ValidationException +// One or more of the parameters in the request is not valid. +// +// - InternalServerException +// The service could not respond to the request due to an internal problem. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/ListRules func (c *RecycleBin) ListRules(input *ListRulesInput) (*ListRulesOutput, error) { @@ -369,15 +369,14 @@ func (c *RecycleBin) ListRulesWithContext(ctx aws.Context, input *ListRulesInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRules operation. -// pageNum := 0 -// err := client.ListRulesPages(params, -// func(page *recyclebin.ListRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRules operation. +// pageNum := 0 +// err := client.ListRulesPages(params, +// func(page *recyclebin.ListRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RecycleBin) ListRulesPages(input *ListRulesInput, fn func(*ListRulesOutput, bool) bool) error { return c.ListRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -429,14 +428,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/ListTagsForResource func (c *RecycleBin) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -467,14 +465,15 @@ func (c *RecycleBin) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more of the parameters in the request is not valid. // -// * InternalServerException -// The service could not respond to the request due to an internal problem. +// - ValidationException +// One or more of the parameters in the request is not valid. +// +// - InternalServerException +// The service could not respond to the request due to an internal problem. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/ListTagsForResource func (c *RecycleBin) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -514,14 +513,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/TagResource func (c *RecycleBin) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -553,18 +551,19 @@ func (c *RecycleBin) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more of the parameters in the request is not valid. // -// * InternalServerException -// The service could not respond to the request due to an internal problem. +// - ValidationException +// One or more of the parameters in the request is not valid. +// +// - InternalServerException +// The service could not respond to the request due to an internal problem. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ServiceQuotaExceededException -// The request would cause a service quota for the number of tags per resource -// to be exceeded. +// - ServiceQuotaExceededException +// The request would cause a service quota for the number of tags per resource +// to be exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/TagResource func (c *RecycleBin) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -604,14 +603,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/UntagResource func (c *RecycleBin) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -643,14 +641,15 @@ func (c *RecycleBin) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more of the parameters in the request is not valid. // -// * InternalServerException -// The service could not respond to the request due to an internal problem. +// - ValidationException +// One or more of the parameters in the request is not valid. +// +// - InternalServerException +// The service could not respond to the request due to an internal problem. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/UntagResource func (c *RecycleBin) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -690,14 +689,13 @@ const opUpdateRule = "UpdateRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRuleRequest method. +// req, resp := client.UpdateRuleRequest(params) // -// // Example sending a request using the UpdateRuleRequest method. -// req, resp := client.UpdateRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/UpdateRule func (c *RecycleBin) UpdateRuleRequest(input *UpdateRuleInput) (req *request.Request, output *UpdateRuleOutput) { @@ -730,14 +728,15 @@ func (c *RecycleBin) UpdateRuleRequest(input *UpdateRuleInput) (req *request.Req // API operation UpdateRule for usage and error information. // // Returned Error Types: -// * ValidationException -// One or more of the parameters in the request is not valid. // -// * InternalServerException -// The service could not respond to the request due to an internal problem. +// - ValidationException +// One or more of the parameters in the request is not valid. +// +// - InternalServerException +// The service could not respond to the request due to an internal problem. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/UpdateRule func (c *RecycleBin) UpdateRule(input *UpdateRuleInput) (*UpdateRuleOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/doc.go index 5531774f3fc4..74ec9518649a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/doc.go @@ -25,7 +25,7 @@ // See recyclebin package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/recyclebin/ // -// Using the Client +// # Using the Client // // To contact Amazon Recycle Bin with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/recyclebiniface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/recyclebiniface/interface.go index dcf1bb4c495e..2bc540fabcc8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/recyclebiniface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/recyclebiniface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Recycle Bin. -// func myFunc(svc recyclebiniface.RecycleBinAPI) bool { -// // Make svc.CreateRule request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Recycle Bin. +// func myFunc(svc recyclebiniface.RecycleBinAPI) bool { +// // Make svc.CreateRule request +// } // -// func main() { -// sess := session.New() -// svc := recyclebin.New(sess) +// func main() { +// sess := session.New() +// svc := recyclebin.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRecycleBinClient struct { -// recyclebiniface.RecycleBinAPI -// } -// func (m *mockRecycleBinClient) CreateRule(input *recyclebin.CreateRuleInput) (*recyclebin.CreateRuleOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRecycleBinClient struct { +// recyclebiniface.RecycleBinAPI +// } +// func (m *mockRecycleBinClient) CreateRule(input *recyclebin.CreateRuleInput) (*recyclebin.CreateRuleOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRecycleBinClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRecycleBinClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/service.go index 750b5d17e4a5..720359ee5ece 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/recyclebin/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a RecycleBin client from just a session. -// svc := recyclebin.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a RecycleBin client with additional configuration -// svc := recyclebin.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a RecycleBin client from just a session. +// svc := recyclebin.New(mySession) +// +// // Create a RecycleBin client with additional configuration +// svc := recyclebin.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *RecycleBin { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/api.go index 1710c90ab39e..6f68b4b0d4a2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/api.go @@ -29,14 +29,13 @@ const opAcceptReservedNodeExchange = "AcceptReservedNodeExchange" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptReservedNodeExchangeRequest method. +// req, resp := client.AcceptReservedNodeExchangeRequest(params) // -// // Example sending a request using the AcceptReservedNodeExchangeRequest method. -// req, resp := client.AcceptReservedNodeExchangeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AcceptReservedNodeExchange func (c *Redshift) AcceptReservedNodeExchangeRequest(input *AcceptReservedNodeExchangeInput) (req *request.Request, output *AcceptReservedNodeExchangeOutput) { @@ -69,27 +68,28 @@ func (c *Redshift) AcceptReservedNodeExchangeRequest(input *AcceptReservedNodeEx // API operation AcceptReservedNodeExchange for usage and error information. // // Returned Error Codes: -// * ErrCodeReservedNodeNotFoundFault "ReservedNodeNotFound" -// The specified reserved compute node not found. // -// * ErrCodeInvalidReservedNodeStateFault "InvalidReservedNodeState" -// Indicates that the Reserved Node being exchanged is not in an active state. +// - ErrCodeReservedNodeNotFoundFault "ReservedNodeNotFound" +// The specified reserved compute node not found. +// +// - ErrCodeInvalidReservedNodeStateFault "InvalidReservedNodeState" +// Indicates that the Reserved Node being exchanged is not in an active state. // -// * ErrCodeReservedNodeAlreadyMigratedFault "ReservedNodeAlreadyMigrated" -// Indicates that the reserved node has already been exchanged. +// - ErrCodeReservedNodeAlreadyMigratedFault "ReservedNodeAlreadyMigrated" +// Indicates that the reserved node has already been exchanged. // -// * ErrCodeReservedNodeOfferingNotFoundFault "ReservedNodeOfferingNotFound" -// Specified offering does not exist. +// - ErrCodeReservedNodeOfferingNotFoundFault "ReservedNodeOfferingNotFound" +// Specified offering does not exist. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // -// * ErrCodeDependentServiceUnavailableFault "DependentServiceUnavailableFault" -// Your request cannot be completed because a dependent internal service is -// temporarily unavailable. Wait 30 to 60 seconds and try again. +// - ErrCodeDependentServiceUnavailableFault "DependentServiceUnavailableFault" +// Your request cannot be completed because a dependent internal service is +// temporarily unavailable. Wait 30 to 60 seconds and try again. // -// * ErrCodeReservedNodeAlreadyExistsFault "ReservedNodeAlreadyExists" -// User already has a reservation with the given identifier. +// - ErrCodeReservedNodeAlreadyExistsFault "ReservedNodeAlreadyExists" +// User already has a reservation with the given identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AcceptReservedNodeExchange func (c *Redshift) AcceptReservedNodeExchange(input *AcceptReservedNodeExchangeInput) (*AcceptReservedNodeExchangeOutput, error) { @@ -129,14 +129,13 @@ const opAddPartner = "AddPartner" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddPartnerRequest method. +// req, resp := client.AddPartnerRequest(params) // -// // Example sending a request using the AddPartnerRequest method. -// req, resp := client.AddPartnerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AddPartner func (c *Redshift) AddPartnerRequest(input *AddPartnerInput) (req *request.Request, output *AddPartnerOutput) { @@ -169,14 +168,15 @@ func (c *Redshift) AddPartnerRequest(input *AddPartnerInput) (req *request.Reque // API operation AddPartner for usage and error information. // // Returned Error Codes: -// * ErrCodePartnerNotFoundFault "PartnerNotFound" -// The name of the partner was not found. // -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. +// - ErrCodePartnerNotFoundFault "PartnerNotFound" +// The name of the partner was not found. +// +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeUnauthorizedPartnerIntegrationFault "UnauthorizedPartnerIntegration" -// The partner integration is not authorized. +// - ErrCodeUnauthorizedPartnerIntegrationFault "UnauthorizedPartnerIntegration" +// The partner integration is not authorized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AddPartner func (c *Redshift) AddPartner(input *AddPartnerInput) (*AddPartnerOutput, error) { @@ -216,14 +216,13 @@ const opAssociateDataShareConsumer = "AssociateDataShareConsumer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateDataShareConsumerRequest method. +// req, resp := client.AssociateDataShareConsumerRequest(params) // -// // Example sending a request using the AssociateDataShareConsumerRequest method. -// req, resp := client.AssociateDataShareConsumerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AssociateDataShareConsumer func (c *Redshift) AssociateDataShareConsumerRequest(input *AssociateDataShareConsumerInput) (req *request.Request, output *AssociateDataShareConsumerOutput) { @@ -256,12 +255,13 @@ func (c *Redshift) AssociateDataShareConsumerRequest(input *AssociateDataShareCo // API operation AssociateDataShareConsumer for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDataShareFault "InvalidDataShareFault" -// There is an error with the datashare. // -// * ErrCodeInvalidNamespaceFault "InvalidNamespaceFault" -// The namespace isn't valid because the namespace doesn't exist. Provide a -// valid namespace. +// - ErrCodeInvalidDataShareFault "InvalidDataShareFault" +// There is an error with the datashare. +// +// - ErrCodeInvalidNamespaceFault "InvalidNamespaceFault" +// The namespace isn't valid because the namespace doesn't exist. Provide a +// valid namespace. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AssociateDataShareConsumer func (c *Redshift) AssociateDataShareConsumer(input *AssociateDataShareConsumerInput) (*AssociateDataShareConsumerOutput, error) { @@ -301,14 +301,13 @@ const opAuthorizeClusterSecurityGroupIngress = "AuthorizeClusterSecurityGroupIng // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AuthorizeClusterSecurityGroupIngressRequest method. +// req, resp := client.AuthorizeClusterSecurityGroupIngressRequest(params) // -// // Example sending a request using the AuthorizeClusterSecurityGroupIngressRequest method. -// req, resp := client.AuthorizeClusterSecurityGroupIngressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeClusterSecurityGroupIngress func (c *Redshift) AuthorizeClusterSecurityGroupIngressRequest(input *AuthorizeClusterSecurityGroupIngressInput) (req *request.Request, output *AuthorizeClusterSecurityGroupIngressOutput) { @@ -358,19 +357,20 @@ func (c *Redshift) AuthorizeClusterSecurityGroupIngressRequest(input *AuthorizeC // API operation AuthorizeClusterSecurityGroupIngress for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterSecurityGroupNotFoundFault "ClusterSecurityGroupNotFound" -// The cluster security group name does not refer to an existing cluster security -// group. // -// * ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" -// The state of the cluster security group is not available. +// - ErrCodeClusterSecurityGroupNotFoundFault "ClusterSecurityGroupNotFound" +// The cluster security group name does not refer to an existing cluster security +// group. +// +// - ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" +// The state of the cluster security group is not available. // -// * ErrCodeAuthorizationAlreadyExistsFault "AuthorizationAlreadyExists" -// The specified CIDR block or EC2 security group is already authorized for -// the specified cluster security group. +// - ErrCodeAuthorizationAlreadyExistsFault "AuthorizationAlreadyExists" +// The specified CIDR block or EC2 security group is already authorized for +// the specified cluster security group. // -// * ErrCodeAuthorizationQuotaExceededFault "AuthorizationQuotaExceeded" -// The authorization quota for the cluster security group has been reached. +// - ErrCodeAuthorizationQuotaExceededFault "AuthorizationQuotaExceeded" +// The authorization quota for the cluster security group has been reached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeClusterSecurityGroupIngress func (c *Redshift) AuthorizeClusterSecurityGroupIngress(input *AuthorizeClusterSecurityGroupIngressInput) (*AuthorizeClusterSecurityGroupIngressOutput, error) { @@ -410,14 +410,13 @@ const opAuthorizeDataShare = "AuthorizeDataShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AuthorizeDataShareRequest method. +// req, resp := client.AuthorizeDataShareRequest(params) // -// // Example sending a request using the AuthorizeDataShareRequest method. -// req, resp := client.AuthorizeDataShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeDataShare func (c *Redshift) AuthorizeDataShareRequest(input *AuthorizeDataShareInput) (req *request.Request, output *AuthorizeDataShareOutput) { @@ -450,8 +449,8 @@ func (c *Redshift) AuthorizeDataShareRequest(input *AuthorizeDataShareInput) (re // API operation AuthorizeDataShare for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDataShareFault "InvalidDataShareFault" -// There is an error with the datashare. +// - ErrCodeInvalidDataShareFault "InvalidDataShareFault" +// There is an error with the datashare. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeDataShare func (c *Redshift) AuthorizeDataShare(input *AuthorizeDataShareInput) (*AuthorizeDataShareOutput, error) { @@ -491,14 +490,13 @@ const opAuthorizeEndpointAccess = "AuthorizeEndpointAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AuthorizeEndpointAccessRequest method. +// req, resp := client.AuthorizeEndpointAccessRequest(params) // -// // Example sending a request using the AuthorizeEndpointAccessRequest method. -// req, resp := client.AuthorizeEndpointAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeEndpointAccess func (c *Redshift) AuthorizeEndpointAccessRequest(input *AuthorizeEndpointAccessInput) (req *request.Request, output *AuthorizeEndpointAccessOutput) { @@ -529,23 +527,24 @@ func (c *Redshift) AuthorizeEndpointAccessRequest(input *AuthorizeEndpointAccess // API operation AuthorizeEndpointAccess for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeEndpointAuthorizationsPerClusterLimitExceededFault "EndpointAuthorizationsPerClusterLimitExceeded" -// The number of endpoint authorizations per cluster has exceeded its limit. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeEndpointAuthorizationsPerClusterLimitExceededFault "EndpointAuthorizationsPerClusterLimitExceeded" +// The number of endpoint authorizations per cluster has exceeded its limit. // -// * ErrCodeEndpointAuthorizationAlreadyExistsFault "EndpointAuthorizationAlreadyExists" -// The authorization already exists for this endpoint. +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // -// * ErrCodeInvalidAuthorizationStateFault "InvalidAuthorizationState" -// The status of the authorization is not valid. +// - ErrCodeEndpointAuthorizationAlreadyExistsFault "EndpointAuthorizationAlreadyExists" +// The authorization already exists for this endpoint. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeInvalidAuthorizationStateFault "InvalidAuthorizationState" +// The status of the authorization is not valid. +// +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeEndpointAccess func (c *Redshift) AuthorizeEndpointAccess(input *AuthorizeEndpointAccessInput) (*AuthorizeEndpointAccessOutput, error) { @@ -585,14 +584,13 @@ const opAuthorizeSnapshotAccess = "AuthorizeSnapshotAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AuthorizeSnapshotAccessRequest method. +// req, resp := client.AuthorizeSnapshotAccessRequest(params) // -// // Example sending a request using the AuthorizeSnapshotAccessRequest method. -// req, resp := client.AuthorizeSnapshotAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccess func (c *Redshift) AuthorizeSnapshotAccessRequest(input *AuthorizeSnapshotAccessInput) (req *request.Request, output *AuthorizeSnapshotAccessOutput) { @@ -628,26 +626,27 @@ func (c *Redshift) AuthorizeSnapshotAccessRequest(input *AuthorizeSnapshotAccess // API operation AuthorizeSnapshotAccess for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" -// The snapshot identifier does not refer to an existing cluster snapshot. // -// * ErrCodeAuthorizationAlreadyExistsFault "AuthorizationAlreadyExists" -// The specified CIDR block or EC2 security group is already authorized for -// the specified cluster security group. +// - ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" +// The snapshot identifier does not refer to an existing cluster snapshot. // -// * ErrCodeAuthorizationQuotaExceededFault "AuthorizationQuotaExceeded" -// The authorization quota for the cluster security group has been reached. +// - ErrCodeAuthorizationAlreadyExistsFault "AuthorizationAlreadyExists" +// The specified CIDR block or EC2 security group is already authorized for +// the specified cluster security group. // -// * ErrCodeDependentServiceRequestThrottlingFault "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. +// - ErrCodeAuthorizationQuotaExceededFault "AuthorizationQuotaExceeded" +// The authorization quota for the cluster security group has been reached. // -// * ErrCodeInvalidClusterSnapshotStateFault "InvalidClusterSnapshotState" -// The specified cluster snapshot is not in the available state, or other accounts -// are authorized to access the snapshot. +// - ErrCodeDependentServiceRequestThrottlingFault "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. // -// * ErrCodeLimitExceededFault "LimitExceededFault" -// The encryption key has exceeded its grant limit in Amazon Web Services KMS. +// - ErrCodeInvalidClusterSnapshotStateFault "InvalidClusterSnapshotState" +// The specified cluster snapshot is not in the available state, or other accounts +// are authorized to access the snapshot. +// +// - ErrCodeLimitExceededFault "LimitExceededFault" +// The encryption key has exceeded its grant limit in Amazon Web Services KMS. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeSnapshotAccess func (c *Redshift) AuthorizeSnapshotAccess(input *AuthorizeSnapshotAccessInput) (*AuthorizeSnapshotAccessOutput, error) { @@ -687,14 +686,13 @@ const opBatchDeleteClusterSnapshots = "BatchDeleteClusterSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteClusterSnapshotsRequest method. +// req, resp := client.BatchDeleteClusterSnapshotsRequest(params) // -// // Example sending a request using the BatchDeleteClusterSnapshotsRequest method. -// req, resp := client.BatchDeleteClusterSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/BatchDeleteClusterSnapshots func (c *Redshift) BatchDeleteClusterSnapshotsRequest(input *BatchDeleteClusterSnapshotsInput) (req *request.Request, output *BatchDeleteClusterSnapshotsOutput) { @@ -725,9 +723,9 @@ func (c *Redshift) BatchDeleteClusterSnapshotsRequest(input *BatchDeleteClusterS // API operation BatchDeleteClusterSnapshots for usage and error information. // // Returned Error Codes: -// * ErrCodeBatchDeleteRequestSizeExceededFault "BatchDeleteRequestSizeExceeded" -// The maximum number for a batch delete of snapshots has been reached. The -// limit is 100. +// - ErrCodeBatchDeleteRequestSizeExceededFault "BatchDeleteRequestSizeExceeded" +// The maximum number for a batch delete of snapshots has been reached. The +// limit is 100. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/BatchDeleteClusterSnapshots func (c *Redshift) BatchDeleteClusterSnapshots(input *BatchDeleteClusterSnapshotsInput) (*BatchDeleteClusterSnapshotsOutput, error) { @@ -767,14 +765,13 @@ const opBatchModifyClusterSnapshots = "BatchModifyClusterSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchModifyClusterSnapshotsRequest method. +// req, resp := client.BatchModifyClusterSnapshotsRequest(params) // -// // Example sending a request using the BatchModifyClusterSnapshotsRequest method. -// req, resp := client.BatchModifyClusterSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/BatchModifyClusterSnapshots func (c *Redshift) BatchModifyClusterSnapshotsRequest(input *BatchModifyClusterSnapshotsInput) (req *request.Request, output *BatchModifyClusterSnapshotsOutput) { @@ -805,14 +802,15 @@ func (c *Redshift) BatchModifyClusterSnapshotsRequest(input *BatchModifyClusterS // API operation BatchModifyClusterSnapshots for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" -// The retention period specified is either in the past or is not a valid value. // -// The value must be either -1 or an integer between 1 and 3,653. +// - ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" +// The retention period specified is either in the past or is not a valid value. +// +// The value must be either -1 or an integer between 1 and 3,653. // -// * ErrCodeBatchModifyClusterSnapshotsLimitExceededFault "BatchModifyClusterSnapshotsLimitExceededFault" -// The maximum number for snapshot identifiers has been reached. The limit is -// 100. +// - ErrCodeBatchModifyClusterSnapshotsLimitExceededFault "BatchModifyClusterSnapshotsLimitExceededFault" +// The maximum number for snapshot identifiers has been reached. The limit is +// 100. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/BatchModifyClusterSnapshots func (c *Redshift) BatchModifyClusterSnapshots(input *BatchModifyClusterSnapshotsInput) (*BatchModifyClusterSnapshotsOutput, error) { @@ -852,14 +850,13 @@ const opCancelResize = "CancelResize" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelResizeRequest method. +// req, resp := client.CancelResizeRequest(params) // -// // Example sending a request using the CancelResizeRequest method. -// req, resp := client.CancelResizeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CancelResize func (c *Redshift) CancelResizeRequest(input *CancelResizeInput) (req *request.Request, output *CancelResizeOutput) { @@ -890,17 +887,18 @@ func (c *Redshift) CancelResizeRequest(input *CancelResizeInput) (req *request.R // API operation CancelResize for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeResizeNotFoundFault "ResizeNotFound" -// A resize operation for the specified cluster is not found. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeResizeNotFoundFault "ResizeNotFound" +// A resize operation for the specified cluster is not found. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CancelResize func (c *Redshift) CancelResize(input *CancelResizeInput) (*CancelResizeOutput, error) { @@ -940,14 +938,13 @@ const opCopyClusterSnapshot = "CopyClusterSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyClusterSnapshotRequest method. +// req, resp := client.CopyClusterSnapshotRequest(params) // -// // Example sending a request using the CopyClusterSnapshotRequest method. -// req, resp := client.CopyClusterSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshot func (c *Redshift) CopyClusterSnapshotRequest(input *CopyClusterSnapshotInput) (req *request.Request, output *CopyClusterSnapshotOutput) { @@ -990,25 +987,26 @@ func (c *Redshift) CopyClusterSnapshotRequest(input *CopyClusterSnapshotInput) ( // API operation CopyClusterSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterSnapshotAlreadyExistsFault "ClusterSnapshotAlreadyExists" -// The value specified as a snapshot identifier is already used by an existing -// snapshot. // -// * ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" -// The snapshot identifier does not refer to an existing cluster snapshot. +// - ErrCodeClusterSnapshotAlreadyExistsFault "ClusterSnapshotAlreadyExists" +// The value specified as a snapshot identifier is already used by an existing +// snapshot. +// +// - ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" +// The snapshot identifier does not refer to an existing cluster snapshot. // -// * ErrCodeInvalidClusterSnapshotStateFault "InvalidClusterSnapshotState" -// The specified cluster snapshot is not in the available state, or other accounts -// are authorized to access the snapshot. +// - ErrCodeInvalidClusterSnapshotStateFault "InvalidClusterSnapshotState" +// The specified cluster snapshot is not in the available state, or other accounts +// are authorized to access the snapshot. // -// * ErrCodeClusterSnapshotQuotaExceededFault "ClusterSnapshotQuotaExceeded" -// The request would result in the user exceeding the allowed number of cluster -// snapshots. +// - ErrCodeClusterSnapshotQuotaExceededFault "ClusterSnapshotQuotaExceeded" +// The request would result in the user exceeding the allowed number of cluster +// snapshots. // -// * ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" -// The retention period specified is either in the past or is not a valid value. +// - ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" +// The retention period specified is either in the past or is not a valid value. // -// The value must be either -1 or an integer between 1 and 3,653. +// The value must be either -1 or an integer between 1 and 3,653. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CopyClusterSnapshot func (c *Redshift) CopyClusterSnapshot(input *CopyClusterSnapshotInput) (*CopyClusterSnapshotOutput, error) { @@ -1048,14 +1046,13 @@ const opCreateAuthenticationProfile = "CreateAuthenticationProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAuthenticationProfileRequest method. +// req, resp := client.CreateAuthenticationProfileRequest(params) // -// // Example sending a request using the CreateAuthenticationProfileRequest method. -// req, resp := client.CreateAuthenticationProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateAuthenticationProfile func (c *Redshift) CreateAuthenticationProfileRequest(input *CreateAuthenticationProfileInput) (req *request.Request, output *CreateAuthenticationProfileOutput) { @@ -1086,18 +1083,19 @@ func (c *Redshift) CreateAuthenticationProfileRequest(input *CreateAuthenticatio // API operation CreateAuthenticationProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeAuthenticationProfileAlreadyExistsFault "AuthenticationProfileAlreadyExistsFault" -// The authentication profile already exists. // -// * ErrCodeAuthenticationProfileQuotaExceededFault "AuthenticationProfileQuotaExceededFault" -// The size or number of authentication profiles has exceeded the quota. The -// maximum length of the JSON string and maximum number of authentication profiles -// is determined by a quota for your account. +// - ErrCodeAuthenticationProfileAlreadyExistsFault "AuthenticationProfileAlreadyExistsFault" +// The authentication profile already exists. +// +// - ErrCodeAuthenticationProfileQuotaExceededFault "AuthenticationProfileQuotaExceededFault" +// The size or number of authentication profiles has exceeded the quota. The +// maximum length of the JSON string and maximum number of authentication profiles +// is determined by a quota for your account. // -// * ErrCodeInvalidAuthenticationProfileRequestFault "InvalidAuthenticationProfileRequestFault" -// The authentication profile request is not valid. The profile name can't be -// null or empty. The authentication profile API operation must be available -// in the Amazon Web Services Region. +// - ErrCodeInvalidAuthenticationProfileRequestFault "InvalidAuthenticationProfileRequestFault" +// The authentication profile request is not valid. The profile name can't be +// null or empty. The authentication profile API operation must be available +// in the Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateAuthenticationProfile func (c *Redshift) CreateAuthenticationProfile(input *CreateAuthenticationProfileInput) (*CreateAuthenticationProfileOutput, error) { @@ -1137,14 +1135,13 @@ const opCreateCluster = "CreateCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClusterRequest method. +// req, resp := client.CreateClusterRequest(params) // -// // Example sending a request using the CreateClusterRequest method. -// req, resp := client.CreateClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateCluster func (c *Redshift) CreateClusterRequest(input *CreateClusterInput) (req *request.Request, output *CreateClusterOutput) { @@ -1181,83 +1178,84 @@ func (c *Redshift) CreateClusterRequest(input *CreateClusterInput) (req *request // API operation CreateCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterAlreadyExistsFault "ClusterAlreadyExists" -// The account already has a cluster with the given identifier. // -// * ErrCodeInsufficientClusterCapacityFault "InsufficientClusterCapacity" -// The number of nodes specified exceeds the allotted capacity of the cluster. +// - ErrCodeClusterAlreadyExistsFault "ClusterAlreadyExists" +// The account already has a cluster with the given identifier. +// +// - ErrCodeInsufficientClusterCapacityFault "InsufficientClusterCapacity" +// The number of nodes specified exceeds the allotted capacity of the cluster. // -// * ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" -// The parameter group name does not refer to an existing parameter group. +// - ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" +// The parameter group name does not refer to an existing parameter group. // -// * ErrCodeClusterSecurityGroupNotFoundFault "ClusterSecurityGroupNotFound" -// The cluster security group name does not refer to an existing cluster security -// group. +// - ErrCodeClusterSecurityGroupNotFoundFault "ClusterSecurityGroupNotFound" +// The cluster security group name does not refer to an existing cluster security +// group. // -// * ErrCodeClusterQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) -// in the Amazon Redshift Cluster Management Guide. +// - ErrCodeClusterQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) +// in the Amazon Redshift Cluster Management Guide. // -// * ErrCodeNumberOfNodesQuotaExceededFault "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 -// (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) -// in the Amazon Redshift Cluster Management Guide. +// - ErrCodeNumberOfNodesQuotaExceededFault "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 +// (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) +// in the Amazon Redshift Cluster Management Guide. // -// * ErrCodeNumberOfNodesPerClusterLimitExceededFault "NumberOfNodesPerClusterLimitExceeded" -// The operation would exceed the number of nodes allowed for a cluster. +// - ErrCodeNumberOfNodesPerClusterLimitExceededFault "NumberOfNodesPerClusterLimitExceeded" +// The operation would exceed the number of nodes allowed for a cluster. // -// * ErrCodeClusterSubnetGroupNotFoundFault "ClusterSubnetGroupNotFoundFault" -// The cluster subnet group name does not refer to an existing cluster subnet -// group. +// - ErrCodeClusterSubnetGroupNotFoundFault "ClusterSubnetGroupNotFoundFault" +// The cluster subnet group name does not refer to an existing cluster subnet +// group. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The cluster subnet group does not cover all Availability Zones. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The cluster subnet group does not cover all Availability Zones. // -// * ErrCodeInvalidClusterSubnetGroupStateFault "InvalidClusterSubnetGroupStateFault" -// The cluster subnet group cannot be deleted because it is in use. +// - ErrCodeInvalidClusterSubnetGroupStateFault "InvalidClusterSubnetGroupStateFault" +// The cluster subnet group cannot be deleted because it is in use. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is not valid, or not all of the subnets are in the same -// VPC. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is not valid, or not all of the subnets are in the same +// VPC. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. // -// * ErrCodeHsmClientCertificateNotFoundFault "HsmClientCertificateNotFoundFault" -// There is no Amazon Redshift HSM client certificate with the specified identifier. +// - ErrCodeHsmClientCertificateNotFoundFault "HsmClientCertificateNotFoundFault" +// There is no Amazon Redshift HSM client certificate with the specified identifier. // -// * ErrCodeHsmConfigurationNotFoundFault "HsmConfigurationNotFoundFault" -// There is no Amazon Redshift HSM configuration with the specified identifier. +// - ErrCodeHsmConfigurationNotFoundFault "HsmConfigurationNotFoundFault" +// There is no Amazon Redshift HSM configuration with the specified identifier. // -// * ErrCodeInvalidElasticIpFault "InvalidElasticIpFault" -// The Elastic IP (EIP) is invalid or cannot be found. +// - ErrCodeInvalidElasticIpFault "InvalidElasticIpFault" +// The Elastic IP (EIP) is invalid or cannot be found. // -// * ErrCodeTagLimitExceededFault "TagLimitExceededFault" -// You have exceeded the number of tags allowed. +// - ErrCodeTagLimitExceededFault "TagLimitExceededFault" +// You have exceeded the number of tags allowed. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // -// * ErrCodeLimitExceededFault "LimitExceededFault" -// The encryption key has exceeded its grant limit in Amazon Web Services KMS. +// - ErrCodeLimitExceededFault "LimitExceededFault" +// The encryption key has exceeded its grant limit in Amazon Web Services KMS. // -// * ErrCodeDependentServiceRequestThrottlingFault "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" +// The request cannot be completed because a dependent service is throttling +// requests made by Amazon Redshift on your behalf. Wait and retry the request. // -// * ErrCodeInvalidClusterTrackFault "InvalidClusterTrack" -// The provided cluster track name is not valid. +// - ErrCodeInvalidClusterTrackFault "InvalidClusterTrack" +// The provided cluster track name is not valid. // -// * ErrCodeSnapshotScheduleNotFoundFault "SnapshotScheduleNotFound" -// We could not find the specified snapshot schedule. +// - ErrCodeSnapshotScheduleNotFoundFault "SnapshotScheduleNotFound" +// We could not find the specified snapshot schedule. // -// * ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" -// The retention period specified is either in the past or is not a valid value. +// - ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" +// The retention period specified is either in the past or is not a valid value. // -// The value must be either -1 or an integer between 1 and 3,653. +// The value must be either -1 or an integer between 1 and 3,653. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateCluster func (c *Redshift) CreateCluster(input *CreateClusterInput) (*CreateClusterOutput, error) { @@ -1297,14 +1295,13 @@ const opCreateClusterParameterGroup = "CreateClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClusterParameterGroupRequest method. +// req, resp := client.CreateClusterParameterGroupRequest(params) // -// // Example sending a request using the CreateClusterParameterGroupRequest method. -// req, resp := client.CreateClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterParameterGroup func (c *Redshift) CreateClusterParameterGroupRequest(input *CreateClusterParameterGroupInput) (req *request.Request, output *CreateClusterParameterGroupOutput) { @@ -1345,20 +1342,21 @@ func (c *Redshift) CreateClusterParameterGroupRequest(input *CreateClusterParame // API operation CreateClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterParameterGroupQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) -// in the Amazon Redshift Cluster Management Guide. // -// * ErrCodeClusterParameterGroupAlreadyExistsFault "ClusterParameterGroupAlreadyExists" -// A cluster parameter group with the same name already exists. +// - ErrCodeClusterParameterGroupQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) +// in the Amazon Redshift Cluster Management Guide. +// +// - ErrCodeClusterParameterGroupAlreadyExistsFault "ClusterParameterGroupAlreadyExists" +// A cluster parameter group with the same name already exists. // -// * ErrCodeTagLimitExceededFault "TagLimitExceededFault" -// You have exceeded the number of tags allowed. +// - ErrCodeTagLimitExceededFault "TagLimitExceededFault" +// You have exceeded the number of tags allowed. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterParameterGroup func (c *Redshift) CreateClusterParameterGroup(input *CreateClusterParameterGroupInput) (*CreateClusterParameterGroupOutput, error) { @@ -1398,14 +1396,13 @@ const opCreateClusterSecurityGroup = "CreateClusterSecurityGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClusterSecurityGroupRequest method. +// req, resp := client.CreateClusterSecurityGroupRequest(params) // -// // Example sending a request using the CreateClusterSecurityGroupRequest method. -// req, resp := client.CreateClusterSecurityGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSecurityGroup func (c *Redshift) CreateClusterSecurityGroupRequest(input *CreateClusterSecurityGroupInput) (req *request.Request, output *CreateClusterSecurityGroupOutput) { @@ -1441,20 +1438,21 @@ func (c *Redshift) CreateClusterSecurityGroupRequest(input *CreateClusterSecurit // API operation CreateClusterSecurityGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterSecurityGroupAlreadyExistsFault "ClusterSecurityGroupAlreadyExists" -// A cluster security group with the same name already exists. // -// * ErrCodeClusterSecurityGroupQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) -// in the Amazon Redshift Cluster Management Guide. +// - ErrCodeClusterSecurityGroupAlreadyExistsFault "ClusterSecurityGroupAlreadyExists" +// A cluster security group with the same name already exists. +// +// - ErrCodeClusterSecurityGroupQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) +// in the Amazon Redshift Cluster Management Guide. // -// * ErrCodeTagLimitExceededFault "TagLimitExceededFault" -// You have exceeded the number of tags allowed. +// - ErrCodeTagLimitExceededFault "TagLimitExceededFault" +// You have exceeded the number of tags allowed. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSecurityGroup func (c *Redshift) CreateClusterSecurityGroup(input *CreateClusterSecurityGroupInput) (*CreateClusterSecurityGroupOutput, error) { @@ -1494,14 +1492,13 @@ const opCreateClusterSnapshot = "CreateClusterSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClusterSnapshotRequest method. +// req, resp := client.CreateClusterSnapshotRequest(params) // -// // Example sending a request using the CreateClusterSnapshotRequest method. -// req, resp := client.CreateClusterSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshot func (c *Redshift) CreateClusterSnapshotRequest(input *CreateClusterSnapshotInput) (req *request.Request, output *CreateClusterSnapshotOutput) { @@ -1537,30 +1534,31 @@ func (c *Redshift) CreateClusterSnapshotRequest(input *CreateClusterSnapshotInpu // API operation CreateClusterSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterSnapshotAlreadyExistsFault "ClusterSnapshotAlreadyExists" -// The value specified as a snapshot identifier is already used by an existing -// snapshot. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeClusterSnapshotAlreadyExistsFault "ClusterSnapshotAlreadyExists" +// The value specified as a snapshot identifier is already used by an existing +// snapshot. +// +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeClusterSnapshotQuotaExceededFault "ClusterSnapshotQuotaExceeded" -// The request would result in the user exceeding the allowed number of cluster -// snapshots. +// - ErrCodeClusterSnapshotQuotaExceededFault "ClusterSnapshotQuotaExceeded" +// The request would result in the user exceeding the allowed number of cluster +// snapshots. // -// * ErrCodeTagLimitExceededFault "TagLimitExceededFault" -// You have exceeded the number of tags allowed. +// - ErrCodeTagLimitExceededFault "TagLimitExceededFault" +// You have exceeded the number of tags allowed. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // -// * ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" -// The retention period specified is either in the past or is not a valid value. +// - ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" +// The retention period specified is either in the past or is not a valid value. // -// The value must be either -1 or an integer between 1 and 3,653. +// The value must be either -1 or an integer between 1 and 3,653. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSnapshot func (c *Redshift) CreateClusterSnapshot(input *CreateClusterSnapshotInput) (*CreateClusterSnapshotOutput, error) { @@ -1600,14 +1598,13 @@ const opCreateClusterSubnetGroup = "CreateClusterSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClusterSubnetGroupRequest method. +// req, resp := client.CreateClusterSubnetGroupRequest(params) // -// // Example sending a request using the CreateClusterSubnetGroupRequest method. -// req, resp := client.CreateClusterSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSubnetGroup func (c *Redshift) CreateClusterSubnetGroupRequest(input *CreateClusterSubnetGroupInput) (req *request.Request, output *CreateClusterSubnetGroupOutput) { @@ -1644,37 +1641,38 @@ func (c *Redshift) CreateClusterSubnetGroupRequest(input *CreateClusterSubnetGro // API operation CreateClusterSubnetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterSubnetGroupAlreadyExistsFault "ClusterSubnetGroupAlreadyExists" -// A ClusterSubnetGroupName is already used by an existing cluster subnet group. // -// * ErrCodeClusterSubnetGroupQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) -// in the Amazon Redshift Cluster Management Guide. +// - ErrCodeClusterSubnetGroupAlreadyExistsFault "ClusterSubnetGroupAlreadyExists" +// A ClusterSubnetGroupName is already used by an existing cluster subnet group. +// +// - ErrCodeClusterSubnetGroupQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) +// in the Amazon Redshift Cluster Management Guide. // -// * ErrCodeClusterSubnetQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) -// in the Amazon Redshift Cluster Management Guide. +// - ErrCodeClusterSubnetQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) +// in the Amazon Redshift Cluster Management Guide. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is not valid, or not all of the subnets are in the same -// VPC. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is not valid, or not all of the subnets are in the same +// VPC. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. // -// * ErrCodeTagLimitExceededFault "TagLimitExceededFault" -// You have exceeded the number of tags allowed. +// - ErrCodeTagLimitExceededFault "TagLimitExceededFault" +// You have exceeded the number of tags allowed. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // -// * ErrCodeDependentServiceRequestThrottlingFault "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" +// The request cannot be completed because a dependent service is throttling +// requests made by Amazon Redshift on your behalf. Wait and retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateClusterSubnetGroup func (c *Redshift) CreateClusterSubnetGroup(input *CreateClusterSubnetGroupInput) (*CreateClusterSubnetGroupOutput, error) { @@ -1714,14 +1712,13 @@ const opCreateEndpointAccess = "CreateEndpointAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEndpointAccessRequest method. +// req, resp := client.CreateEndpointAccessRequest(params) // -// // Example sending a request using the CreateEndpointAccessRequest method. -// req, resp := client.CreateEndpointAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEndpointAccess func (c *Redshift) CreateEndpointAccessRequest(input *CreateEndpointAccessInput) (req *request.Request, output *CreateEndpointAccessOutput) { @@ -1752,38 +1749,39 @@ func (c *Redshift) CreateEndpointAccessRequest(input *CreateEndpointAccessInput) // API operation CreateEndpointAccess for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeAccessToClusterDeniedFault "AccessToClusterDenied" -// You are not authorized to access the cluster. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeAccessToClusterDeniedFault "AccessToClusterDenied" +// You are not authorized to access the cluster. // -// * ErrCodeEndpointsPerClusterLimitExceededFault "EndpointsPerClusterLimitExceeded" -// The number of Redshift-managed VPC endpoints per cluster has exceeded its -// limit. +// - ErrCodeEndpointsPerClusterLimitExceededFault "EndpointsPerClusterLimitExceeded" +// The number of Redshift-managed VPC endpoints per cluster has exceeded its +// limit. // -// * ErrCodeEndpointsPerAuthorizationLimitExceededFault "EndpointsPerAuthorizationLimitExceeded" -// The number of Redshift-managed VPC endpoints per authorization has exceeded -// its limit. +// - ErrCodeEndpointsPerAuthorizationLimitExceededFault "EndpointsPerAuthorizationLimitExceeded" +// The number of Redshift-managed VPC endpoints per authorization has exceeded +// its limit. // -// * ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" -// The state of the cluster security group is not available. +// - ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" +// The state of the cluster security group is not available. // -// * ErrCodeClusterSubnetGroupNotFoundFault "ClusterSubnetGroupNotFoundFault" -// The cluster subnet group name does not refer to an existing cluster subnet -// group. +// - ErrCodeClusterSubnetGroupNotFoundFault "ClusterSubnetGroupNotFoundFault" +// The cluster subnet group name does not refer to an existing cluster subnet +// group. // -// * ErrCodeEndpointAlreadyExistsFault "EndpointAlreadyExists" -// The account already has a Redshift-managed VPC endpoint with the given identifier. +// - ErrCodeEndpointAlreadyExistsFault "EndpointAlreadyExists" +// The account already has a Redshift-managed VPC endpoint with the given identifier. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEndpointAccess func (c *Redshift) CreateEndpointAccess(input *CreateEndpointAccessInput) (*CreateEndpointAccessOutput, error) { @@ -1823,14 +1821,13 @@ const opCreateEventSubscription = "CreateEventSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEventSubscriptionRequest method. +// req, resp := client.CreateEventSubscriptionRequest(params) // -// // Example sending a request using the CreateEventSubscriptionRequest method. -// req, resp := client.CreateEventSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEventSubscription func (c *Redshift) CreateEventSubscriptionRequest(input *CreateEventSubscriptionInput) (req *request.Request, output *CreateEventSubscriptionOutput) { @@ -1883,48 +1880,49 @@ func (c *Redshift) CreateEventSubscriptionRequest(input *CreateEventSubscription // API operation CreateEventSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeEventSubscriptionQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) -// in the Amazon Redshift Cluster Management Guide. // -// * ErrCodeSubscriptionAlreadyExistFault "SubscriptionAlreadyExist" -// There is already an existing event notification subscription with the specified -// name. +// - ErrCodeEventSubscriptionQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) +// in the Amazon Redshift Cluster Management Guide. +// +// - ErrCodeSubscriptionAlreadyExistFault "SubscriptionAlreadyExist" +// There is already an existing event notification subscription with the specified +// name. // -// * ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" -// Amazon SNS has responded that there is a problem with the specified Amazon -// SNS topic. +// - ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" +// Amazon SNS has responded that there is a problem with the specified Amazon +// SNS topic. // -// * ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" -// You do not have permission to publish to the specified Amazon SNS topic. +// - ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" +// You do not have permission to publish to the specified Amazon SNS topic. // -// * ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" -// An Amazon SNS topic with the specified Amazon Resource Name (ARN) does not -// exist. +// - ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" +// An Amazon SNS topic with the specified Amazon Resource Name (ARN) does not +// exist. // -// * ErrCodeSubscriptionEventIdNotFoundFault "SubscriptionEventIdNotFound" -// An Amazon Redshift event with the specified event ID does not exist. +// - ErrCodeSubscriptionEventIdNotFoundFault "SubscriptionEventIdNotFound" +// An Amazon Redshift event with the specified event ID does not exist. // -// * ErrCodeSubscriptionCategoryNotFoundFault "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" +// 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. // -// * ErrCodeSubscriptionSeverityNotFoundFault "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" +// 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. // -// * ErrCodeSourceNotFoundFault "SourceNotFound" -// The specified Amazon Redshift event source could not be found. +// - ErrCodeSourceNotFoundFault "SourceNotFound" +// The specified Amazon Redshift event source could not be found. // -// * ErrCodeTagLimitExceededFault "TagLimitExceededFault" -// You have exceeded the number of tags allowed. +// - ErrCodeTagLimitExceededFault "TagLimitExceededFault" +// You have exceeded the number of tags allowed. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEventSubscription func (c *Redshift) CreateEventSubscription(input *CreateEventSubscriptionInput) (*CreateEventSubscriptionOutput, error) { @@ -1964,14 +1962,13 @@ const opCreateHsmClientCertificate = "CreateHsmClientCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHsmClientCertificateRequest method. +// req, resp := client.CreateHsmClientCertificateRequest(params) // -// // Example sending a request using the CreateHsmClientCertificateRequest method. -// req, resp := client.CreateHsmClientCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmClientCertificate func (c *Redshift) CreateHsmClientCertificateRequest(input *CreateHsmClientCertificateInput) (req *request.Request, output *CreateHsmClientCertificateOutput) { @@ -2010,20 +2007,21 @@ func (c *Redshift) CreateHsmClientCertificateRequest(input *CreateHsmClientCerti // API operation CreateHsmClientCertificate for usage and error information. // // Returned Error Codes: -// * ErrCodeHsmClientCertificateAlreadyExistsFault "HsmClientCertificateAlreadyExistsFault" -// There is already an existing Amazon Redshift HSM client certificate with -// the specified identifier. // -// * ErrCodeHsmClientCertificateQuotaExceededFault "HsmClientCertificateQuotaExceededFault" -// The quota for HSM client certificates has been reached. For information about -// increasing your quota, go to Limits in Amazon Redshift (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) -// in the Amazon Redshift Cluster Management Guide. +// - ErrCodeHsmClientCertificateAlreadyExistsFault "HsmClientCertificateAlreadyExistsFault" +// There is already an existing Amazon Redshift HSM client certificate with +// the specified identifier. +// +// - ErrCodeHsmClientCertificateQuotaExceededFault "HsmClientCertificateQuotaExceededFault" +// The quota for HSM client certificates has been reached. For information about +// increasing your quota, go to Limits in Amazon Redshift (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) +// in the Amazon Redshift Cluster Management Guide. // -// * ErrCodeTagLimitExceededFault "TagLimitExceededFault" -// You have exceeded the number of tags allowed. +// - ErrCodeTagLimitExceededFault "TagLimitExceededFault" +// You have exceeded the number of tags allowed. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmClientCertificate func (c *Redshift) CreateHsmClientCertificate(input *CreateHsmClientCertificateInput) (*CreateHsmClientCertificateOutput, error) { @@ -2063,14 +2061,13 @@ const opCreateHsmConfiguration = "CreateHsmConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHsmConfigurationRequest method. +// req, resp := client.CreateHsmConfigurationRequest(params) // -// // Example sending a request using the CreateHsmConfigurationRequest method. -// req, resp := client.CreateHsmConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmConfiguration func (c *Redshift) CreateHsmConfigurationRequest(input *CreateHsmConfigurationInput) (req *request.Request, output *CreateHsmConfigurationOutput) { @@ -2110,20 +2107,21 @@ func (c *Redshift) CreateHsmConfigurationRequest(input *CreateHsmConfigurationIn // API operation CreateHsmConfiguration for usage and error information. // // Returned Error Codes: -// * ErrCodeHsmConfigurationAlreadyExistsFault "HsmConfigurationAlreadyExistsFault" -// There is already an existing Amazon Redshift HSM configuration with the specified -// identifier. // -// * ErrCodeHsmConfigurationQuotaExceededFault "HsmConfigurationQuotaExceededFault" -// The quota for HSM configurations has been reached. For information about -// increasing your quota, go to Limits in Amazon Redshift (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) -// in the Amazon Redshift Cluster Management Guide. +// - ErrCodeHsmConfigurationAlreadyExistsFault "HsmConfigurationAlreadyExistsFault" +// There is already an existing Amazon Redshift HSM configuration with the specified +// identifier. +// +// - ErrCodeHsmConfigurationQuotaExceededFault "HsmConfigurationQuotaExceededFault" +// The quota for HSM configurations has been reached. For information about +// increasing your quota, go to Limits in Amazon Redshift (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) +// in the Amazon Redshift Cluster Management Guide. // -// * ErrCodeTagLimitExceededFault "TagLimitExceededFault" -// You have exceeded the number of tags allowed. +// - ErrCodeTagLimitExceededFault "TagLimitExceededFault" +// You have exceeded the number of tags allowed. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateHsmConfiguration func (c *Redshift) CreateHsmConfiguration(input *CreateHsmConfigurationInput) (*CreateHsmConfigurationOutput, error) { @@ -2163,14 +2161,13 @@ const opCreateScheduledAction = "CreateScheduledAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateScheduledActionRequest method. +// req, resp := client.CreateScheduledActionRequest(params) // -// // Example sending a request using the CreateScheduledActionRequest method. -// req, resp := client.CreateScheduledActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateScheduledAction func (c *Redshift) CreateScheduledActionRequest(input *CreateScheduledActionInput) (req *request.Request, output *CreateScheduledActionOutput) { @@ -2203,23 +2200,24 @@ func (c *Redshift) CreateScheduledActionRequest(input *CreateScheduledActionInpu // API operation CreateScheduledAction for usage and error information. // // Returned Error Codes: -// * ErrCodeScheduledActionAlreadyExistsFault "ScheduledActionAlreadyExists" -// The scheduled action already exists. // -// * ErrCodeScheduledActionQuotaExceededFault "ScheduledActionQuotaExceeded" -// The quota for scheduled actions exceeded. +// - ErrCodeScheduledActionAlreadyExistsFault "ScheduledActionAlreadyExists" +// The scheduled action already exists. +// +// - ErrCodeScheduledActionQuotaExceededFault "ScheduledActionQuotaExceeded" +// The quota for scheduled actions exceeded. // -// * ErrCodeScheduledActionTypeUnsupportedFault "ScheduledActionTypeUnsupported" -// The action type specified for a scheduled action is not supported. +// - ErrCodeScheduledActionTypeUnsupportedFault "ScheduledActionTypeUnsupported" +// The action type specified for a scheduled action is not supported. // -// * ErrCodeInvalidScheduleFault "InvalidSchedule" -// The schedule you submitted isn't valid. +// - ErrCodeInvalidScheduleFault "InvalidSchedule" +// The schedule you submitted isn't valid. // -// * ErrCodeInvalidScheduledActionFault "InvalidScheduledAction" -// The scheduled action is not valid. +// - ErrCodeInvalidScheduledActionFault "InvalidScheduledAction" +// The scheduled action is not valid. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateScheduledAction func (c *Redshift) CreateScheduledAction(input *CreateScheduledActionInput) (*CreateScheduledActionOutput, error) { @@ -2259,14 +2257,13 @@ const opCreateSnapshotCopyGrant = "CreateSnapshotCopyGrant" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSnapshotCopyGrantRequest method. +// req, resp := client.CreateSnapshotCopyGrantRequest(params) // -// // Example sending a request using the CreateSnapshotCopyGrantRequest method. -// req, resp := client.CreateSnapshotCopyGrantRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotCopyGrant func (c *Redshift) CreateSnapshotCopyGrantRequest(input *CreateSnapshotCopyGrantInput) (req *request.Request, output *CreateSnapshotCopyGrantOutput) { @@ -2303,26 +2300,27 @@ func (c *Redshift) CreateSnapshotCopyGrantRequest(input *CreateSnapshotCopyGrant // API operation CreateSnapshotCopyGrant for usage and error information. // // Returned Error Codes: -// * ErrCodeSnapshotCopyGrantAlreadyExistsFault "SnapshotCopyGrantAlreadyExistsFault" -// The snapshot copy grant can't be created because a grant with the same name -// already exists. // -// * ErrCodeSnapshotCopyGrantQuotaExceededFault "SnapshotCopyGrantQuotaExceededFault" -// The Amazon Web Services account has exceeded the maximum number of snapshot -// copy grants in this region. +// - ErrCodeSnapshotCopyGrantAlreadyExistsFault "SnapshotCopyGrantAlreadyExistsFault" +// The snapshot copy grant can't be created because a grant with the same name +// already exists. +// +// - ErrCodeSnapshotCopyGrantQuotaExceededFault "SnapshotCopyGrantQuotaExceededFault" +// The Amazon Web Services account has exceeded the maximum number of snapshot +// copy grants in this region. // -// * ErrCodeLimitExceededFault "LimitExceededFault" -// The encryption key has exceeded its grant limit in Amazon Web Services KMS. +// - ErrCodeLimitExceededFault "LimitExceededFault" +// The encryption key has exceeded its grant limit in Amazon Web Services KMS. // -// * ErrCodeTagLimitExceededFault "TagLimitExceededFault" -// You have exceeded the number of tags allowed. +// - ErrCodeTagLimitExceededFault "TagLimitExceededFault" +// You have exceeded the number of tags allowed. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // -// * ErrCodeDependentServiceRequestThrottlingFault "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" +// The request cannot be completed because a dependent service is throttling +// requests made by Amazon Redshift on your behalf. Wait and retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotCopyGrant func (c *Redshift) CreateSnapshotCopyGrant(input *CreateSnapshotCopyGrantInput) (*CreateSnapshotCopyGrantOutput, error) { @@ -2362,14 +2360,13 @@ const opCreateSnapshotSchedule = "CreateSnapshotSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSnapshotScheduleRequest method. +// req, resp := client.CreateSnapshotScheduleRequest(params) // -// // Example sending a request using the CreateSnapshotScheduleRequest method. -// req, resp := client.CreateSnapshotScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotSchedule func (c *Redshift) CreateSnapshotScheduleRequest(input *CreateSnapshotScheduleInput) (req *request.Request, output *CreateSnapshotScheduleOutput) { @@ -2401,23 +2398,24 @@ func (c *Redshift) CreateSnapshotScheduleRequest(input *CreateSnapshotScheduleIn // API operation CreateSnapshotSchedule for usage and error information. // // Returned Error Codes: -// * ErrCodeSnapshotScheduleAlreadyExistsFault "SnapshotScheduleAlreadyExists" -// The specified snapshot schedule already exists. // -// * ErrCodeInvalidScheduleFault "InvalidSchedule" -// The schedule you submitted isn't valid. +// - ErrCodeSnapshotScheduleAlreadyExistsFault "SnapshotScheduleAlreadyExists" +// The specified snapshot schedule already exists. +// +// - ErrCodeInvalidScheduleFault "InvalidSchedule" +// The schedule you submitted isn't valid. // -// * ErrCodeSnapshotScheduleQuotaExceededFault "SnapshotScheduleQuotaExceeded" -// You have exceeded the quota of snapshot schedules. +// - ErrCodeSnapshotScheduleQuotaExceededFault "SnapshotScheduleQuotaExceeded" +// You have exceeded the quota of snapshot schedules. // -// * ErrCodeTagLimitExceededFault "TagLimitExceededFault" -// You have exceeded the number of tags allowed. +// - ErrCodeTagLimitExceededFault "TagLimitExceededFault" +// You have exceeded the number of tags allowed. // -// * ErrCodeScheduleDefinitionTypeUnsupportedFault "ScheduleDefinitionTypeUnsupported" -// The definition you submitted is not supported. +// - ErrCodeScheduleDefinitionTypeUnsupportedFault "ScheduleDefinitionTypeUnsupported" +// The definition you submitted is not supported. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateSnapshotSchedule func (c *Redshift) CreateSnapshotSchedule(input *CreateSnapshotScheduleInput) (*CreateSnapshotScheduleOutput, error) { @@ -2457,14 +2455,13 @@ const opCreateTags = "CreateTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTagsRequest method. +// req, resp := client.CreateTagsRequest(params) // -// // Example sending a request using the CreateTagsRequest method. -// req, resp := client.CreateTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateTags func (c *Redshift) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput) { @@ -2502,17 +2499,18 @@ func (c *Redshift) CreateTagsRequest(input *CreateTagsInput) (req *request.Reque // API operation CreateTags for usage and error information. // // Returned Error Codes: -// * ErrCodeTagLimitExceededFault "TagLimitExceededFault" -// You have exceeded the number of tags allowed. // -// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" -// The resource could not be found. +// - ErrCodeTagLimitExceededFault "TagLimitExceededFault" +// You have exceeded the number of tags allowed. +// +// - ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The resource could not be found. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateTags func (c *Redshift) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error) { @@ -2552,14 +2550,13 @@ const opCreateUsageLimit = "CreateUsageLimit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUsageLimitRequest method. +// req, resp := client.CreateUsageLimitRequest(params) // -// // Example sending a request using the CreateUsageLimitRequest method. -// req, resp := client.CreateUsageLimitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateUsageLimit func (c *Redshift) CreateUsageLimitRequest(input *CreateUsageLimitInput) (req *request.Request, output *CreateUsageLimitOutput) { @@ -2591,26 +2588,27 @@ func (c *Redshift) CreateUsageLimitRequest(input *CreateUsageLimitInput) (req *r // API operation CreateUsageLimit for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // -// * ErrCodeLimitExceededFault "LimitExceededFault" -// The encryption key has exceeded its grant limit in Amazon Web Services KMS. +// - ErrCodeLimitExceededFault "LimitExceededFault" +// The encryption key has exceeded its grant limit in Amazon Web Services KMS. // -// * ErrCodeUsageLimitAlreadyExistsFault "UsageLimitAlreadyExists" -// The usage limit already exists. +// - ErrCodeUsageLimitAlreadyExistsFault "UsageLimitAlreadyExists" +// The usage limit already exists. // -// * ErrCodeInvalidUsageLimitFault "InvalidUsageLimit" -// The usage limit is not valid. +// - ErrCodeInvalidUsageLimitFault "InvalidUsageLimit" +// The usage limit is not valid. // -// * ErrCodeTagLimitExceededFault "TagLimitExceededFault" -// You have exceeded the number of tags allowed. +// - ErrCodeTagLimitExceededFault "TagLimitExceededFault" +// You have exceeded the number of tags allowed. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateUsageLimit func (c *Redshift) CreateUsageLimit(input *CreateUsageLimitInput) (*CreateUsageLimitOutput, error) { @@ -2650,14 +2648,13 @@ const opDeauthorizeDataShare = "DeauthorizeDataShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeauthorizeDataShareRequest method. +// req, resp := client.DeauthorizeDataShareRequest(params) // -// // Example sending a request using the DeauthorizeDataShareRequest method. -// req, resp := client.DeauthorizeDataShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeauthorizeDataShare func (c *Redshift) DeauthorizeDataShareRequest(input *DeauthorizeDataShareInput) (req *request.Request, output *DeauthorizeDataShareOutput) { @@ -2689,8 +2686,8 @@ func (c *Redshift) DeauthorizeDataShareRequest(input *DeauthorizeDataShareInput) // API operation DeauthorizeDataShare for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDataShareFault "InvalidDataShareFault" -// There is an error with the datashare. +// - ErrCodeInvalidDataShareFault "InvalidDataShareFault" +// There is an error with the datashare. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeauthorizeDataShare func (c *Redshift) DeauthorizeDataShare(input *DeauthorizeDataShareInput) (*DeauthorizeDataShareOutput, error) { @@ -2730,14 +2727,13 @@ const opDeleteAuthenticationProfile = "DeleteAuthenticationProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAuthenticationProfileRequest method. +// req, resp := client.DeleteAuthenticationProfileRequest(params) // -// // Example sending a request using the DeleteAuthenticationProfileRequest method. -// req, resp := client.DeleteAuthenticationProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteAuthenticationProfile func (c *Redshift) DeleteAuthenticationProfileRequest(input *DeleteAuthenticationProfileInput) (req *request.Request, output *DeleteAuthenticationProfileOutput) { @@ -2768,13 +2764,14 @@ func (c *Redshift) DeleteAuthenticationProfileRequest(input *DeleteAuthenticatio // API operation DeleteAuthenticationProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeAuthenticationProfileNotFoundFault "AuthenticationProfileNotFoundFault" -// The authentication profile can't be found. // -// * ErrCodeInvalidAuthenticationProfileRequestFault "InvalidAuthenticationProfileRequestFault" -// The authentication profile request is not valid. The profile name can't be -// null or empty. The authentication profile API operation must be available -// in the Amazon Web Services Region. +// - ErrCodeAuthenticationProfileNotFoundFault "AuthenticationProfileNotFoundFault" +// The authentication profile can't be found. +// +// - ErrCodeInvalidAuthenticationProfileRequestFault "InvalidAuthenticationProfileRequestFault" +// The authentication profile request is not valid. The profile name can't be +// null or empty. The authentication profile API operation must be available +// in the Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteAuthenticationProfile func (c *Redshift) DeleteAuthenticationProfile(input *DeleteAuthenticationProfileInput) (*DeleteAuthenticationProfileOutput, error) { @@ -2814,14 +2811,13 @@ const opDeleteCluster = "DeleteCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClusterRequest method. +// req, resp := client.DeleteClusterRequest(params) // -// // Example sending a request using the DeleteClusterRequest method. -// req, resp := client.DeleteClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteCluster func (c *Redshift) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Request, output *DeleteClusterOutput) { @@ -2869,24 +2865,25 @@ func (c *Redshift) DeleteClusterRequest(input *DeleteClusterInput) (req *request // API operation DeleteCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeClusterSnapshotAlreadyExistsFault "ClusterSnapshotAlreadyExists" -// The value specified as a snapshot identifier is already used by an existing -// snapshot. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // -// * ErrCodeClusterSnapshotQuotaExceededFault "ClusterSnapshotQuotaExceeded" -// The request would result in the user exceeding the allowed number of cluster -// snapshots. +// - ErrCodeClusterSnapshotAlreadyExistsFault "ClusterSnapshotAlreadyExists" +// The value specified as a snapshot identifier is already used by an existing +// snapshot. // -// * ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" -// The retention period specified is either in the past or is not a valid value. +// - ErrCodeClusterSnapshotQuotaExceededFault "ClusterSnapshotQuotaExceeded" +// The request would result in the user exceeding the allowed number of cluster +// snapshots. // -// The value must be either -1 or an integer between 1 and 3,653. +// - ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" +// The retention period specified is either in the past or is not a valid value. +// +// The value must be either -1 or an integer between 1 and 3,653. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteCluster func (c *Redshift) DeleteCluster(input *DeleteClusterInput) (*DeleteClusterOutput, error) { @@ -2926,14 +2923,13 @@ const opDeleteClusterParameterGroup = "DeleteClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClusterParameterGroupRequest method. +// req, resp := client.DeleteClusterParameterGroupRequest(params) // -// // Example sending a request using the DeleteClusterParameterGroupRequest method. -// req, resp := client.DeleteClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterParameterGroup func (c *Redshift) DeleteClusterParameterGroupRequest(input *DeleteClusterParameterGroupInput) (req *request.Request, output *DeleteClusterParameterGroupOutput) { @@ -2967,13 +2963,14 @@ func (c *Redshift) DeleteClusterParameterGroupRequest(input *DeleteClusterParame // API operation DeleteClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidClusterParameterGroupStateFault "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. // -// * ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" -// The parameter group name does not refer to an existing parameter group. +// - ErrCodeInvalidClusterParameterGroupStateFault "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. +// +// - ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" +// The parameter group name does not refer to an existing parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterParameterGroup func (c *Redshift) DeleteClusterParameterGroup(input *DeleteClusterParameterGroupInput) (*DeleteClusterParameterGroupOutput, error) { @@ -3013,14 +3010,13 @@ const opDeleteClusterSecurityGroup = "DeleteClusterSecurityGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClusterSecurityGroupRequest method. +// req, resp := client.DeleteClusterSecurityGroupRequest(params) // -// // Example sending a request using the DeleteClusterSecurityGroupRequest method. -// req, resp := client.DeleteClusterSecurityGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSecurityGroup func (c *Redshift) DeleteClusterSecurityGroupRequest(input *DeleteClusterSecurityGroupInput) (req *request.Request, output *DeleteClusterSecurityGroupOutput) { @@ -3059,12 +3055,13 @@ func (c *Redshift) DeleteClusterSecurityGroupRequest(input *DeleteClusterSecurit // API operation DeleteClusterSecurityGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" -// The state of the cluster security group is not available. // -// * ErrCodeClusterSecurityGroupNotFoundFault "ClusterSecurityGroupNotFound" -// The cluster security group name does not refer to an existing cluster security -// group. +// - ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" +// The state of the cluster security group is not available. +// +// - ErrCodeClusterSecurityGroupNotFoundFault "ClusterSecurityGroupNotFound" +// The cluster security group name does not refer to an existing cluster security +// group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSecurityGroup func (c *Redshift) DeleteClusterSecurityGroup(input *DeleteClusterSecurityGroupInput) (*DeleteClusterSecurityGroupOutput, error) { @@ -3104,14 +3101,13 @@ const opDeleteClusterSnapshot = "DeleteClusterSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClusterSnapshotRequest method. +// req, resp := client.DeleteClusterSnapshotRequest(params) // -// // Example sending a request using the DeleteClusterSnapshotRequest method. -// req, resp := client.DeleteClusterSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSnapshot func (c *Redshift) DeleteClusterSnapshotRequest(input *DeleteClusterSnapshotInput) (req *request.Request, output *DeleteClusterSnapshotOutput) { @@ -3149,12 +3145,13 @@ func (c *Redshift) DeleteClusterSnapshotRequest(input *DeleteClusterSnapshotInpu // API operation DeleteClusterSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidClusterSnapshotStateFault "InvalidClusterSnapshotState" -// The specified cluster snapshot is not in the available state, or other accounts -// are authorized to access the snapshot. // -// * ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" -// The snapshot identifier does not refer to an existing cluster snapshot. +// - ErrCodeInvalidClusterSnapshotStateFault "InvalidClusterSnapshotState" +// The specified cluster snapshot is not in the available state, or other accounts +// are authorized to access the snapshot. +// +// - ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" +// The snapshot identifier does not refer to an existing cluster snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSnapshot func (c *Redshift) DeleteClusterSnapshot(input *DeleteClusterSnapshotInput) (*DeleteClusterSnapshotOutput, error) { @@ -3194,14 +3191,13 @@ const opDeleteClusterSubnetGroup = "DeleteClusterSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClusterSubnetGroupRequest method. +// req, resp := client.DeleteClusterSubnetGroupRequest(params) // -// // Example sending a request using the DeleteClusterSubnetGroupRequest method. -// req, resp := client.DeleteClusterSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSubnetGroup func (c *Redshift) DeleteClusterSubnetGroupRequest(input *DeleteClusterSubnetGroupInput) (req *request.Request, output *DeleteClusterSubnetGroupOutput) { @@ -3233,15 +3229,16 @@ func (c *Redshift) DeleteClusterSubnetGroupRequest(input *DeleteClusterSubnetGro // API operation DeleteClusterSubnetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidClusterSubnetGroupStateFault "InvalidClusterSubnetGroupStateFault" -// The cluster subnet group cannot be deleted because it is in use. // -// * ErrCodeInvalidClusterSubnetStateFault "InvalidClusterSubnetStateFault" -// The state of the subnet is invalid. +// - ErrCodeInvalidClusterSubnetGroupStateFault "InvalidClusterSubnetGroupStateFault" +// The cluster subnet group cannot be deleted because it is in use. +// +// - ErrCodeInvalidClusterSubnetStateFault "InvalidClusterSubnetStateFault" +// The state of the subnet is invalid. // -// * ErrCodeClusterSubnetGroupNotFoundFault "ClusterSubnetGroupNotFoundFault" -// The cluster subnet group name does not refer to an existing cluster subnet -// group. +// - ErrCodeClusterSubnetGroupNotFoundFault "ClusterSubnetGroupNotFoundFault" +// The cluster subnet group name does not refer to an existing cluster subnet +// group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteClusterSubnetGroup func (c *Redshift) DeleteClusterSubnetGroup(input *DeleteClusterSubnetGroupInput) (*DeleteClusterSubnetGroupOutput, error) { @@ -3281,14 +3278,13 @@ const opDeleteEndpointAccess = "DeleteEndpointAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEndpointAccessRequest method. +// req, resp := client.DeleteEndpointAccessRequest(params) // -// // Example sending a request using the DeleteEndpointAccessRequest method. -// req, resp := client.DeleteEndpointAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEndpointAccess func (c *Redshift) DeleteEndpointAccessRequest(input *DeleteEndpointAccessInput) (req *request.Request, output *DeleteEndpointAccessOutput) { @@ -3319,20 +3315,21 @@ func (c *Redshift) DeleteEndpointAccessRequest(input *DeleteEndpointAccessInput) // API operation DeleteEndpointAccess for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidEndpointStateFault "InvalidEndpointState" -// The status of the endpoint is not valid. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeInvalidEndpointStateFault "InvalidEndpointState" +// The status of the endpoint is not valid. // -// * ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" -// The state of the cluster security group is not available. +// - ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" +// The state of the cluster security group is not available. // -// * ErrCodeEndpointNotFoundFault "EndpointNotFound" -// The endpoint name doesn't refer to an existing endpoint. +// - ErrCodeEndpointNotFoundFault "EndpointNotFound" +// The endpoint name doesn't refer to an existing endpoint. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEndpointAccess func (c *Redshift) DeleteEndpointAccess(input *DeleteEndpointAccessInput) (*DeleteEndpointAccessOutput, error) { @@ -3372,14 +3369,13 @@ const opDeleteEventSubscription = "DeleteEventSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEventSubscriptionRequest method. +// req, resp := client.DeleteEventSubscriptionRequest(params) // -// // Example sending a request using the DeleteEventSubscriptionRequest method. -// req, resp := client.DeleteEventSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEventSubscription func (c *Redshift) DeleteEventSubscriptionRequest(input *DeleteEventSubscriptionInput) (req *request.Request, output *DeleteEventSubscriptionOutput) { @@ -3411,13 +3407,14 @@ func (c *Redshift) DeleteEventSubscriptionRequest(input *DeleteEventSubscription // API operation DeleteEventSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// An Amazon Redshift event notification subscription with the specified name -// does not exist. // -// * ErrCodeInvalidSubscriptionStateFault "InvalidSubscriptionStateFault" -// The subscription request is invalid because it is a duplicate request. This -// subscription request is already in progress. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// An Amazon Redshift event notification subscription with the specified name +// does not exist. +// +// - ErrCodeInvalidSubscriptionStateFault "InvalidSubscriptionStateFault" +// The subscription request is invalid because it is a duplicate request. This +// subscription request is already in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEventSubscription func (c *Redshift) DeleteEventSubscription(input *DeleteEventSubscriptionInput) (*DeleteEventSubscriptionOutput, error) { @@ -3457,14 +3454,13 @@ const opDeleteHsmClientCertificate = "DeleteHsmClientCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteHsmClientCertificateRequest method. +// req, resp := client.DeleteHsmClientCertificateRequest(params) // -// // Example sending a request using the DeleteHsmClientCertificateRequest method. -// req, resp := client.DeleteHsmClientCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmClientCertificate func (c *Redshift) DeleteHsmClientCertificateRequest(input *DeleteHsmClientCertificateInput) (req *request.Request, output *DeleteHsmClientCertificateOutput) { @@ -3496,12 +3492,13 @@ func (c *Redshift) DeleteHsmClientCertificateRequest(input *DeleteHsmClientCerti // API operation DeleteHsmClientCertificate for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidHsmClientCertificateStateFault "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. // -// * ErrCodeHsmClientCertificateNotFoundFault "HsmClientCertificateNotFoundFault" -// There is no Amazon Redshift HSM client certificate with the specified identifier. +// - ErrCodeInvalidHsmClientCertificateStateFault "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. +// +// - ErrCodeHsmClientCertificateNotFoundFault "HsmClientCertificateNotFoundFault" +// There is no Amazon Redshift HSM client certificate with the specified identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmClientCertificate func (c *Redshift) DeleteHsmClientCertificate(input *DeleteHsmClientCertificateInput) (*DeleteHsmClientCertificateOutput, error) { @@ -3541,14 +3538,13 @@ const opDeleteHsmConfiguration = "DeleteHsmConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteHsmConfigurationRequest method. +// req, resp := client.DeleteHsmConfigurationRequest(params) // -// // Example sending a request using the DeleteHsmConfigurationRequest method. -// req, resp := client.DeleteHsmConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmConfiguration func (c *Redshift) DeleteHsmConfigurationRequest(input *DeleteHsmConfigurationInput) (req *request.Request, output *DeleteHsmConfigurationOutput) { @@ -3580,12 +3576,13 @@ func (c *Redshift) DeleteHsmConfigurationRequest(input *DeleteHsmConfigurationIn // API operation DeleteHsmConfiguration for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidHsmConfigurationStateFault "InvalidHsmConfigurationStateFault" -// The specified HSM configuration is not in the available state, or it is still -// in use by one or more Amazon Redshift clusters. // -// * ErrCodeHsmConfigurationNotFoundFault "HsmConfigurationNotFoundFault" -// There is no Amazon Redshift HSM configuration with the specified identifier. +// - ErrCodeInvalidHsmConfigurationStateFault "InvalidHsmConfigurationStateFault" +// The specified HSM configuration is not in the available state, or it is still +// in use by one or more Amazon Redshift clusters. +// +// - ErrCodeHsmConfigurationNotFoundFault "HsmConfigurationNotFoundFault" +// There is no Amazon Redshift HSM configuration with the specified identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteHsmConfiguration func (c *Redshift) DeleteHsmConfiguration(input *DeleteHsmConfigurationInput) (*DeleteHsmConfigurationOutput, error) { @@ -3625,14 +3622,13 @@ const opDeletePartner = "DeletePartner" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePartnerRequest method. +// req, resp := client.DeletePartnerRequest(params) // -// // Example sending a request using the DeletePartnerRequest method. -// req, resp := client.DeletePartnerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeletePartner func (c *Redshift) DeletePartnerRequest(input *DeletePartnerInput) (req *request.Request, output *DeletePartnerOutput) { @@ -3664,14 +3660,15 @@ func (c *Redshift) DeletePartnerRequest(input *DeletePartnerInput) (req *request // API operation DeletePartner for usage and error information. // // Returned Error Codes: -// * ErrCodePartnerNotFoundFault "PartnerNotFound" -// The name of the partner was not found. // -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. +// - ErrCodePartnerNotFoundFault "PartnerNotFound" +// The name of the partner was not found. +// +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeUnauthorizedPartnerIntegrationFault "UnauthorizedPartnerIntegration" -// The partner integration is not authorized. +// - ErrCodeUnauthorizedPartnerIntegrationFault "UnauthorizedPartnerIntegration" +// The partner integration is not authorized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeletePartner func (c *Redshift) DeletePartner(input *DeletePartnerInput) (*DeletePartnerOutput, error) { @@ -3711,14 +3708,13 @@ const opDeleteScheduledAction = "DeleteScheduledAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteScheduledActionRequest method. +// req, resp := client.DeleteScheduledActionRequest(params) // -// // Example sending a request using the DeleteScheduledActionRequest method. -// req, resp := client.DeleteScheduledActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteScheduledAction func (c *Redshift) DeleteScheduledActionRequest(input *DeleteScheduledActionInput) (req *request.Request, output *DeleteScheduledActionOutput) { @@ -3750,11 +3746,12 @@ func (c *Redshift) DeleteScheduledActionRequest(input *DeleteScheduledActionInpu // API operation DeleteScheduledAction for usage and error information. // // Returned Error Codes: -// * ErrCodeScheduledActionNotFoundFault "ScheduledActionNotFound" -// The scheduled action cannot be found. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeScheduledActionNotFoundFault "ScheduledActionNotFound" +// The scheduled action cannot be found. +// +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteScheduledAction func (c *Redshift) DeleteScheduledAction(input *DeleteScheduledActionInput) (*DeleteScheduledActionOutput, error) { @@ -3794,14 +3791,13 @@ const opDeleteSnapshotCopyGrant = "DeleteSnapshotCopyGrant" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSnapshotCopyGrantRequest method. +// req, resp := client.DeleteSnapshotCopyGrantRequest(params) // -// // Example sending a request using the DeleteSnapshotCopyGrantRequest method. -// req, resp := client.DeleteSnapshotCopyGrantRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteSnapshotCopyGrant func (c *Redshift) DeleteSnapshotCopyGrantRequest(input *DeleteSnapshotCopyGrantInput) (req *request.Request, output *DeleteSnapshotCopyGrantOutput) { @@ -3833,13 +3829,14 @@ func (c *Redshift) DeleteSnapshotCopyGrantRequest(input *DeleteSnapshotCopyGrant // API operation DeleteSnapshotCopyGrant for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidSnapshotCopyGrantStateFault "InvalidSnapshotCopyGrantStateFault" -// The snapshot copy grant can't be deleted because it is used by one or more -// clusters. // -// * ErrCodeSnapshotCopyGrantNotFoundFault "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. +// - ErrCodeInvalidSnapshotCopyGrantStateFault "InvalidSnapshotCopyGrantStateFault" +// The snapshot copy grant can't be deleted because it is used by one or more +// clusters. +// +// - ErrCodeSnapshotCopyGrantNotFoundFault "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. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteSnapshotCopyGrant func (c *Redshift) DeleteSnapshotCopyGrant(input *DeleteSnapshotCopyGrantInput) (*DeleteSnapshotCopyGrantOutput, error) { @@ -3879,14 +3876,13 @@ const opDeleteSnapshotSchedule = "DeleteSnapshotSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSnapshotScheduleRequest method. +// req, resp := client.DeleteSnapshotScheduleRequest(params) // -// // Example sending a request using the DeleteSnapshotScheduleRequest method. -// req, resp := client.DeleteSnapshotScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteSnapshotSchedule func (c *Redshift) DeleteSnapshotScheduleRequest(input *DeleteSnapshotScheduleInput) (req *request.Request, output *DeleteSnapshotScheduleOutput) { @@ -3918,11 +3914,12 @@ func (c *Redshift) DeleteSnapshotScheduleRequest(input *DeleteSnapshotScheduleIn // API operation DeleteSnapshotSchedule for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidClusterSnapshotScheduleStateFault "InvalidClusterSnapshotScheduleState" -// The cluster snapshot schedule state is not valid. // -// * ErrCodeSnapshotScheduleNotFoundFault "SnapshotScheduleNotFound" -// We could not find the specified snapshot schedule. +// - ErrCodeInvalidClusterSnapshotScheduleStateFault "InvalidClusterSnapshotScheduleState" +// The cluster snapshot schedule state is not valid. +// +// - ErrCodeSnapshotScheduleNotFoundFault "SnapshotScheduleNotFound" +// We could not find the specified snapshot schedule. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteSnapshotSchedule func (c *Redshift) DeleteSnapshotSchedule(input *DeleteSnapshotScheduleInput) (*DeleteSnapshotScheduleOutput, error) { @@ -3962,14 +3959,13 @@ const opDeleteTags = "DeleteTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTagsRequest method. +// req, resp := client.DeleteTagsRequest(params) // -// // Example sending a request using the DeleteTagsRequest method. -// req, resp := client.DeleteTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteTags func (c *Redshift) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { @@ -4002,11 +3998,12 @@ func (c *Redshift) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Reque // API operation DeleteTags for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" -// The resource could not be found. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The resource could not be found. +// +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteTags func (c *Redshift) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) { @@ -4046,14 +4043,13 @@ const opDeleteUsageLimit = "DeleteUsageLimit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUsageLimitRequest method. +// req, resp := client.DeleteUsageLimitRequest(params) // -// // Example sending a request using the DeleteUsageLimitRequest method. -// req, resp := client.DeleteUsageLimitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteUsageLimit func (c *Redshift) DeleteUsageLimitRequest(input *DeleteUsageLimitInput) (req *request.Request, output *DeleteUsageLimitOutput) { @@ -4085,11 +4081,12 @@ func (c *Redshift) DeleteUsageLimitRequest(input *DeleteUsageLimitInput) (req *r // API operation DeleteUsageLimit for usage and error information. // // Returned Error Codes: -// * ErrCodeUsageLimitNotFoundFault "UsageLimitNotFound" -// The usage limit identifier can't be found. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeUsageLimitNotFoundFault "UsageLimitNotFound" +// The usage limit identifier can't be found. +// +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteUsageLimit func (c *Redshift) DeleteUsageLimit(input *DeleteUsageLimitInput) (*DeleteUsageLimitOutput, error) { @@ -4129,14 +4126,13 @@ const opDescribeAccountAttributes = "DescribeAccountAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountAttributesRequest method. +// req, resp := client.DescribeAccountAttributesRequest(params) // -// // Example sending a request using the DescribeAccountAttributesRequest method. -// req, resp := client.DescribeAccountAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeAccountAttributes func (c *Redshift) DescribeAccountAttributesRequest(input *DescribeAccountAttributesInput) (req *request.Request, output *DescribeAccountAttributesOutput) { @@ -4157,7 +4153,7 @@ func (c *Redshift) DescribeAccountAttributesRequest(input *DescribeAccountAttrib // DescribeAccountAttributes API operation for Amazon Redshift. // -// Returns a list of attributes attached to an account +// # Returns a list of attributes attached to an account // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4203,14 +4199,13 @@ const opDescribeAuthenticationProfiles = "DescribeAuthenticationProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAuthenticationProfilesRequest method. +// req, resp := client.DescribeAuthenticationProfilesRequest(params) // -// // Example sending a request using the DescribeAuthenticationProfilesRequest method. -// req, resp := client.DescribeAuthenticationProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeAuthenticationProfiles func (c *Redshift) DescribeAuthenticationProfilesRequest(input *DescribeAuthenticationProfilesInput) (req *request.Request, output *DescribeAuthenticationProfilesOutput) { @@ -4241,13 +4236,14 @@ func (c *Redshift) DescribeAuthenticationProfilesRequest(input *DescribeAuthenti // API operation DescribeAuthenticationProfiles for usage and error information. // // Returned Error Codes: -// * ErrCodeAuthenticationProfileNotFoundFault "AuthenticationProfileNotFoundFault" -// The authentication profile can't be found. // -// * ErrCodeInvalidAuthenticationProfileRequestFault "InvalidAuthenticationProfileRequestFault" -// The authentication profile request is not valid. The profile name can't be -// null or empty. The authentication profile API operation must be available -// in the Amazon Web Services Region. +// - ErrCodeAuthenticationProfileNotFoundFault "AuthenticationProfileNotFoundFault" +// The authentication profile can't be found. +// +// - ErrCodeInvalidAuthenticationProfileRequestFault "InvalidAuthenticationProfileRequestFault" +// The authentication profile request is not valid. The profile name can't be +// null or empty. The authentication profile API operation must be available +// in the Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeAuthenticationProfiles func (c *Redshift) DescribeAuthenticationProfiles(input *DescribeAuthenticationProfilesInput) (*DescribeAuthenticationProfilesOutput, error) { @@ -4287,14 +4283,13 @@ const opDescribeClusterDbRevisions = "DescribeClusterDbRevisions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClusterDbRevisionsRequest method. +// req, resp := client.DescribeClusterDbRevisionsRequest(params) // -// // Example sending a request using the DescribeClusterDbRevisionsRequest method. -// req, resp := client.DescribeClusterDbRevisionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterDbRevisions func (c *Redshift) DescribeClusterDbRevisionsRequest(input *DescribeClusterDbRevisionsInput) (req *request.Request, output *DescribeClusterDbRevisionsOutput) { @@ -4331,11 +4326,12 @@ func (c *Redshift) DescribeClusterDbRevisionsRequest(input *DescribeClusterDbRev // API operation DescribeClusterDbRevisions for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterDbRevisions func (c *Redshift) DescribeClusterDbRevisions(input *DescribeClusterDbRevisionsInput) (*DescribeClusterDbRevisionsOutput, error) { @@ -4367,15 +4363,14 @@ func (c *Redshift) DescribeClusterDbRevisionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClusterDbRevisions operation. -// pageNum := 0 -// err := client.DescribeClusterDbRevisionsPages(params, -// func(page *redshift.DescribeClusterDbRevisionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClusterDbRevisions operation. +// pageNum := 0 +// err := client.DescribeClusterDbRevisionsPages(params, +// func(page *redshift.DescribeClusterDbRevisionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeClusterDbRevisionsPages(input *DescribeClusterDbRevisionsInput, fn func(*DescribeClusterDbRevisionsOutput, bool) bool) error { return c.DescribeClusterDbRevisionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4427,14 +4422,13 @@ const opDescribeClusterParameterGroups = "DescribeClusterParameterGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClusterParameterGroupsRequest method. +// req, resp := client.DescribeClusterParameterGroupsRequest(params) // -// // Example sending a request using the DescribeClusterParameterGroupsRequest method. -// req, resp := client.DescribeClusterParameterGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParameterGroups func (c *Redshift) DescribeClusterParameterGroupsRequest(input *DescribeClusterParameterGroupsInput) (req *request.Request, output *DescribeClusterParameterGroupsOutput) { @@ -4489,11 +4483,12 @@ func (c *Redshift) DescribeClusterParameterGroupsRequest(input *DescribeClusterP // API operation DescribeClusterParameterGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" -// The parameter group name does not refer to an existing parameter group. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" +// The parameter group name does not refer to an existing parameter group. +// +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParameterGroups func (c *Redshift) DescribeClusterParameterGroups(input *DescribeClusterParameterGroupsInput) (*DescribeClusterParameterGroupsOutput, error) { @@ -4525,15 +4520,14 @@ func (c *Redshift) DescribeClusterParameterGroupsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClusterParameterGroups operation. -// pageNum := 0 -// err := client.DescribeClusterParameterGroupsPages(params, -// func(page *redshift.DescribeClusterParameterGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClusterParameterGroups operation. +// pageNum := 0 +// err := client.DescribeClusterParameterGroupsPages(params, +// func(page *redshift.DescribeClusterParameterGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeClusterParameterGroupsPages(input *DescribeClusterParameterGroupsInput, fn func(*DescribeClusterParameterGroupsOutput, bool) bool) error { return c.DescribeClusterParameterGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4585,14 +4579,13 @@ const opDescribeClusterParameters = "DescribeClusterParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClusterParametersRequest method. +// req, resp := client.DescribeClusterParametersRequest(params) // -// // Example sending a request using the DescribeClusterParametersRequest method. -// req, resp := client.DescribeClusterParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParameters func (c *Redshift) DescribeClusterParametersRequest(input *DescribeClusterParametersInput) (req *request.Request, output *DescribeClusterParametersOutput) { @@ -4640,8 +4633,8 @@ func (c *Redshift) DescribeClusterParametersRequest(input *DescribeClusterParame // API operation DescribeClusterParameters for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" -// The parameter group name does not refer to an existing parameter group. +// - ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" +// The parameter group name does not refer to an existing parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterParameters func (c *Redshift) DescribeClusterParameters(input *DescribeClusterParametersInput) (*DescribeClusterParametersOutput, error) { @@ -4673,15 +4666,14 @@ func (c *Redshift) DescribeClusterParametersWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClusterParameters operation. -// pageNum := 0 -// err := client.DescribeClusterParametersPages(params, -// func(page *redshift.DescribeClusterParametersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClusterParameters operation. +// pageNum := 0 +// err := client.DescribeClusterParametersPages(params, +// func(page *redshift.DescribeClusterParametersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeClusterParametersPages(input *DescribeClusterParametersInput, fn func(*DescribeClusterParametersOutput, bool) bool) error { return c.DescribeClusterParametersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4733,14 +4725,13 @@ const opDescribeClusterSecurityGroups = "DescribeClusterSecurityGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClusterSecurityGroupsRequest method. +// req, resp := client.DescribeClusterSecurityGroupsRequest(params) // -// // Example sending a request using the DescribeClusterSecurityGroupsRequest method. -// req, resp := client.DescribeClusterSecurityGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSecurityGroups func (c *Redshift) DescribeClusterSecurityGroupsRequest(input *DescribeClusterSecurityGroupsInput) (req *request.Request, output *DescribeClusterSecurityGroupsOutput) { @@ -4793,12 +4784,13 @@ func (c *Redshift) DescribeClusterSecurityGroupsRequest(input *DescribeClusterSe // API operation DescribeClusterSecurityGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterSecurityGroupNotFoundFault "ClusterSecurityGroupNotFound" -// The cluster security group name does not refer to an existing cluster security -// group. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeClusterSecurityGroupNotFoundFault "ClusterSecurityGroupNotFound" +// The cluster security group name does not refer to an existing cluster security +// group. +// +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSecurityGroups func (c *Redshift) DescribeClusterSecurityGroups(input *DescribeClusterSecurityGroupsInput) (*DescribeClusterSecurityGroupsOutput, error) { @@ -4830,15 +4822,14 @@ func (c *Redshift) DescribeClusterSecurityGroupsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClusterSecurityGroups operation. -// pageNum := 0 -// err := client.DescribeClusterSecurityGroupsPages(params, -// func(page *redshift.DescribeClusterSecurityGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClusterSecurityGroups operation. +// pageNum := 0 +// err := client.DescribeClusterSecurityGroupsPages(params, +// func(page *redshift.DescribeClusterSecurityGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeClusterSecurityGroupsPages(input *DescribeClusterSecurityGroupsInput, fn func(*DescribeClusterSecurityGroupsOutput, bool) bool) error { return c.DescribeClusterSecurityGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4890,14 +4881,13 @@ const opDescribeClusterSnapshots = "DescribeClusterSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClusterSnapshotsRequest method. +// req, resp := client.DescribeClusterSnapshotsRequest(params) // -// // Example sending a request using the DescribeClusterSnapshotsRequest method. -// req, resp := client.DescribeClusterSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSnapshots func (c *Redshift) DescribeClusterSnapshotsRequest(input *DescribeClusterSnapshotsInput) (req *request.Request, output *DescribeClusterSnapshotsOutput) { @@ -4948,14 +4938,15 @@ func (c *Redshift) DescribeClusterSnapshotsRequest(input *DescribeClusterSnapsho // API operation DescribeClusterSnapshots for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" -// The snapshot identifier does not refer to an existing cluster snapshot. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" +// The snapshot identifier does not refer to an existing cluster snapshot. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSnapshots func (c *Redshift) DescribeClusterSnapshots(input *DescribeClusterSnapshotsInput) (*DescribeClusterSnapshotsOutput, error) { @@ -4987,15 +4978,14 @@ func (c *Redshift) DescribeClusterSnapshotsWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClusterSnapshots operation. -// pageNum := 0 -// err := client.DescribeClusterSnapshotsPages(params, -// func(page *redshift.DescribeClusterSnapshotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClusterSnapshots operation. +// pageNum := 0 +// err := client.DescribeClusterSnapshotsPages(params, +// func(page *redshift.DescribeClusterSnapshotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeClusterSnapshotsPages(input *DescribeClusterSnapshotsInput, fn func(*DescribeClusterSnapshotsOutput, bool) bool) error { return c.DescribeClusterSnapshotsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5047,14 +5037,13 @@ const opDescribeClusterSubnetGroups = "DescribeClusterSubnetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClusterSubnetGroupsRequest method. +// req, resp := client.DescribeClusterSubnetGroupsRequest(params) // -// // Example sending a request using the DescribeClusterSubnetGroupsRequest method. -// req, resp := client.DescribeClusterSubnetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSubnetGroups func (c *Redshift) DescribeClusterSubnetGroupsRequest(input *DescribeClusterSubnetGroupsInput) (req *request.Request, output *DescribeClusterSubnetGroupsOutput) { @@ -5104,12 +5093,13 @@ func (c *Redshift) DescribeClusterSubnetGroupsRequest(input *DescribeClusterSubn // API operation DescribeClusterSubnetGroups for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterSubnetGroupNotFoundFault "ClusterSubnetGroupNotFoundFault" -// The cluster subnet group name does not refer to an existing cluster subnet -// group. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeClusterSubnetGroupNotFoundFault "ClusterSubnetGroupNotFoundFault" +// The cluster subnet group name does not refer to an existing cluster subnet +// group. +// +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterSubnetGroups func (c *Redshift) DescribeClusterSubnetGroups(input *DescribeClusterSubnetGroupsInput) (*DescribeClusterSubnetGroupsOutput, error) { @@ -5141,15 +5131,14 @@ func (c *Redshift) DescribeClusterSubnetGroupsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClusterSubnetGroups operation. -// pageNum := 0 -// err := client.DescribeClusterSubnetGroupsPages(params, -// func(page *redshift.DescribeClusterSubnetGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClusterSubnetGroups operation. +// pageNum := 0 +// err := client.DescribeClusterSubnetGroupsPages(params, +// func(page *redshift.DescribeClusterSubnetGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeClusterSubnetGroupsPages(input *DescribeClusterSubnetGroupsInput, fn func(*DescribeClusterSubnetGroupsOutput, bool) bool) error { return c.DescribeClusterSubnetGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5201,14 +5190,13 @@ const opDescribeClusterTracks = "DescribeClusterTracks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClusterTracksRequest method. +// req, resp := client.DescribeClusterTracksRequest(params) // -// // Example sending a request using the DescribeClusterTracksRequest method. -// req, resp := client.DescribeClusterTracksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterTracks func (c *Redshift) DescribeClusterTracksRequest(input *DescribeClusterTracksInput) (req *request.Request, output *DescribeClusterTracksOutput) { @@ -5245,11 +5233,12 @@ func (c *Redshift) DescribeClusterTracksRequest(input *DescribeClusterTracksInpu // API operation DescribeClusterTracks for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidClusterTrackFault "InvalidClusterTrack" -// The provided cluster track name is not valid. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeInvalidClusterTrackFault "InvalidClusterTrack" +// The provided cluster track name is not valid. +// +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterTracks func (c *Redshift) DescribeClusterTracks(input *DescribeClusterTracksInput) (*DescribeClusterTracksOutput, error) { @@ -5281,15 +5270,14 @@ func (c *Redshift) DescribeClusterTracksWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClusterTracks operation. -// pageNum := 0 -// err := client.DescribeClusterTracksPages(params, -// func(page *redshift.DescribeClusterTracksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClusterTracks operation. +// pageNum := 0 +// err := client.DescribeClusterTracksPages(params, +// func(page *redshift.DescribeClusterTracksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeClusterTracksPages(input *DescribeClusterTracksInput, fn func(*DescribeClusterTracksOutput, bool) bool) error { return c.DescribeClusterTracksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5341,14 +5329,13 @@ const opDescribeClusterVersions = "DescribeClusterVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClusterVersionsRequest method. +// req, resp := client.DescribeClusterVersionsRequest(params) // -// // Example sending a request using the DescribeClusterVersionsRequest method. -// req, resp := client.DescribeClusterVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusterVersions func (c *Redshift) DescribeClusterVersionsRequest(input *DescribeClusterVersionsInput) (req *request.Request, output *DescribeClusterVersionsOutput) { @@ -5417,15 +5404,14 @@ func (c *Redshift) DescribeClusterVersionsWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClusterVersions operation. -// pageNum := 0 -// err := client.DescribeClusterVersionsPages(params, -// func(page *redshift.DescribeClusterVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClusterVersions operation. +// pageNum := 0 +// err := client.DescribeClusterVersionsPages(params, +// func(page *redshift.DescribeClusterVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeClusterVersionsPages(input *DescribeClusterVersionsInput, fn func(*DescribeClusterVersionsOutput, bool) bool) error { return c.DescribeClusterVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5477,14 +5463,13 @@ const opDescribeClusters = "DescribeClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClustersRequest method. +// req, resp := client.DescribeClustersRequest(params) // -// // Example sending a request using the DescribeClustersRequest method. -// req, resp := client.DescribeClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusters func (c *Redshift) DescribeClustersRequest(input *DescribeClustersInput) (req *request.Request, output *DescribeClustersOutput) { @@ -5534,11 +5519,12 @@ func (c *Redshift) DescribeClustersRequest(input *DescribeClustersInput) (req *r // API operation DescribeClusters for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeClusters func (c *Redshift) DescribeClusters(input *DescribeClustersInput) (*DescribeClustersOutput, error) { @@ -5570,15 +5556,14 @@ func (c *Redshift) DescribeClustersWithContext(ctx aws.Context, input *DescribeC // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeClusters operation. -// pageNum := 0 -// err := client.DescribeClustersPages(params, -// func(page *redshift.DescribeClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeClusters operation. +// pageNum := 0 +// err := client.DescribeClustersPages(params, +// func(page *redshift.DescribeClustersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeClustersPages(input *DescribeClustersInput, fn func(*DescribeClustersOutput, bool) bool) error { return c.DescribeClustersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5630,14 +5615,13 @@ const opDescribeDataShares = "DescribeDataShares" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDataSharesRequest method. +// req, resp := client.DescribeDataSharesRequest(params) // -// // Example sending a request using the DescribeDataSharesRequest method. -// req, resp := client.DescribeDataSharesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataShares func (c *Redshift) DescribeDataSharesRequest(input *DescribeDataSharesInput) (req *request.Request, output *DescribeDataSharesOutput) { @@ -5675,8 +5659,8 @@ func (c *Redshift) DescribeDataSharesRequest(input *DescribeDataSharesInput) (re // API operation DescribeDataShares for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDataShareFault "InvalidDataShareFault" -// There is an error with the datashare. +// - ErrCodeInvalidDataShareFault "InvalidDataShareFault" +// There is an error with the datashare. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataShares func (c *Redshift) DescribeDataShares(input *DescribeDataSharesInput) (*DescribeDataSharesOutput, error) { @@ -5708,15 +5692,14 @@ func (c *Redshift) DescribeDataSharesWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDataShares operation. -// pageNum := 0 -// err := client.DescribeDataSharesPages(params, -// func(page *redshift.DescribeDataSharesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDataShares operation. +// pageNum := 0 +// err := client.DescribeDataSharesPages(params, +// func(page *redshift.DescribeDataSharesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeDataSharesPages(input *DescribeDataSharesInput, fn func(*DescribeDataSharesOutput, bool) bool) error { return c.DescribeDataSharesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5768,14 +5751,13 @@ const opDescribeDataSharesForConsumer = "DescribeDataSharesForConsumer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDataSharesForConsumerRequest method. +// req, resp := client.DescribeDataSharesForConsumerRequest(params) // -// // Example sending a request using the DescribeDataSharesForConsumerRequest method. -// req, resp := client.DescribeDataSharesForConsumerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForConsumer func (c *Redshift) DescribeDataSharesForConsumerRequest(input *DescribeDataSharesForConsumerInput) (req *request.Request, output *DescribeDataSharesForConsumerOutput) { @@ -5813,9 +5795,9 @@ func (c *Redshift) DescribeDataSharesForConsumerRequest(input *DescribeDataShare // API operation DescribeDataSharesForConsumer for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNamespaceFault "InvalidNamespaceFault" -// The namespace isn't valid because the namespace doesn't exist. Provide a -// valid namespace. +// - ErrCodeInvalidNamespaceFault "InvalidNamespaceFault" +// The namespace isn't valid because the namespace doesn't exist. Provide a +// valid namespace. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForConsumer func (c *Redshift) DescribeDataSharesForConsumer(input *DescribeDataSharesForConsumerInput) (*DescribeDataSharesForConsumerOutput, error) { @@ -5847,15 +5829,14 @@ func (c *Redshift) DescribeDataSharesForConsumerWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDataSharesForConsumer operation. -// pageNum := 0 -// err := client.DescribeDataSharesForConsumerPages(params, -// func(page *redshift.DescribeDataSharesForConsumerOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDataSharesForConsumer operation. +// pageNum := 0 +// err := client.DescribeDataSharesForConsumerPages(params, +// func(page *redshift.DescribeDataSharesForConsumerOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeDataSharesForConsumerPages(input *DescribeDataSharesForConsumerInput, fn func(*DescribeDataSharesForConsumerOutput, bool) bool) error { return c.DescribeDataSharesForConsumerPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5907,14 +5888,13 @@ const opDescribeDataSharesForProducer = "DescribeDataSharesForProducer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDataSharesForProducerRequest method. +// req, resp := client.DescribeDataSharesForProducerRequest(params) // -// // Example sending a request using the DescribeDataSharesForProducerRequest method. -// req, resp := client.DescribeDataSharesForProducerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForProducer func (c *Redshift) DescribeDataSharesForProducerRequest(input *DescribeDataSharesForProducerInput) (req *request.Request, output *DescribeDataSharesForProducerOutput) { @@ -5952,9 +5932,9 @@ func (c *Redshift) DescribeDataSharesForProducerRequest(input *DescribeDataShare // API operation DescribeDataSharesForProducer for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidNamespaceFault "InvalidNamespaceFault" -// The namespace isn't valid because the namespace doesn't exist. Provide a -// valid namespace. +// - ErrCodeInvalidNamespaceFault "InvalidNamespaceFault" +// The namespace isn't valid because the namespace doesn't exist. Provide a +// valid namespace. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDataSharesForProducer func (c *Redshift) DescribeDataSharesForProducer(input *DescribeDataSharesForProducerInput) (*DescribeDataSharesForProducerOutput, error) { @@ -5986,15 +5966,14 @@ func (c *Redshift) DescribeDataSharesForProducerWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDataSharesForProducer operation. -// pageNum := 0 -// err := client.DescribeDataSharesForProducerPages(params, -// func(page *redshift.DescribeDataSharesForProducerOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDataSharesForProducer operation. +// pageNum := 0 +// err := client.DescribeDataSharesForProducerPages(params, +// func(page *redshift.DescribeDataSharesForProducerOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeDataSharesForProducerPages(input *DescribeDataSharesForProducerInput, fn func(*DescribeDataSharesForProducerOutput, bool) bool) error { return c.DescribeDataSharesForProducerPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6046,14 +6025,13 @@ const opDescribeDefaultClusterParameters = "DescribeDefaultClusterParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDefaultClusterParametersRequest method. +// req, resp := client.DescribeDefaultClusterParametersRequest(params) // -// // Example sending a request using the DescribeDefaultClusterParametersRequest method. -// req, resp := client.DescribeDefaultClusterParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeDefaultClusterParameters func (c *Redshift) DescribeDefaultClusterParametersRequest(input *DescribeDefaultClusterParametersInput) (req *request.Request, output *DescribeDefaultClusterParametersOutput) { @@ -6122,15 +6100,14 @@ func (c *Redshift) DescribeDefaultClusterParametersWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDefaultClusterParameters operation. -// pageNum := 0 -// err := client.DescribeDefaultClusterParametersPages(params, -// func(page *redshift.DescribeDefaultClusterParametersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDefaultClusterParameters operation. +// pageNum := 0 +// err := client.DescribeDefaultClusterParametersPages(params, +// func(page *redshift.DescribeDefaultClusterParametersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeDefaultClusterParametersPages(input *DescribeDefaultClusterParametersInput, fn func(*DescribeDefaultClusterParametersOutput, bool) bool) error { return c.DescribeDefaultClusterParametersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6182,14 +6159,13 @@ const opDescribeEndpointAccess = "DescribeEndpointAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointAccessRequest method. +// req, resp := client.DescribeEndpointAccessRequest(params) // -// // Example sending a request using the DescribeEndpointAccessRequest method. -// req, resp := client.DescribeEndpointAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEndpointAccess func (c *Redshift) DescribeEndpointAccessRequest(input *DescribeEndpointAccessInput) (req *request.Request, output *DescribeEndpointAccessOutput) { @@ -6226,14 +6202,15 @@ func (c *Redshift) DescribeEndpointAccessRequest(input *DescribeEndpointAccessIn // API operation DescribeEndpointAccess for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // -// * ErrCodeEndpointNotFoundFault "EndpointNotFound" -// The endpoint name doesn't refer to an existing endpoint. +// - ErrCodeEndpointNotFoundFault "EndpointNotFound" +// The endpoint name doesn't refer to an existing endpoint. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEndpointAccess func (c *Redshift) DescribeEndpointAccess(input *DescribeEndpointAccessInput) (*DescribeEndpointAccessOutput, error) { @@ -6265,15 +6242,14 @@ func (c *Redshift) DescribeEndpointAccessWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEndpointAccess operation. -// pageNum := 0 -// err := client.DescribeEndpointAccessPages(params, -// func(page *redshift.DescribeEndpointAccessOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEndpointAccess operation. +// pageNum := 0 +// err := client.DescribeEndpointAccessPages(params, +// func(page *redshift.DescribeEndpointAccessOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeEndpointAccessPages(input *DescribeEndpointAccessInput, fn func(*DescribeEndpointAccessOutput, bool) bool) error { return c.DescribeEndpointAccessPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6325,14 +6301,13 @@ const opDescribeEndpointAuthorization = "DescribeEndpointAuthorization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointAuthorizationRequest method. +// req, resp := client.DescribeEndpointAuthorizationRequest(params) // -// // Example sending a request using the DescribeEndpointAuthorizationRequest method. -// req, resp := client.DescribeEndpointAuthorizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEndpointAuthorization func (c *Redshift) DescribeEndpointAuthorizationRequest(input *DescribeEndpointAuthorizationInput) (req *request.Request, output *DescribeEndpointAuthorizationOutput) { @@ -6369,11 +6344,12 @@ func (c *Redshift) DescribeEndpointAuthorizationRequest(input *DescribeEndpointA // API operation DescribeEndpointAuthorization for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEndpointAuthorization func (c *Redshift) DescribeEndpointAuthorization(input *DescribeEndpointAuthorizationInput) (*DescribeEndpointAuthorizationOutput, error) { @@ -6405,15 +6381,14 @@ func (c *Redshift) DescribeEndpointAuthorizationWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEndpointAuthorization operation. -// pageNum := 0 -// err := client.DescribeEndpointAuthorizationPages(params, -// func(page *redshift.DescribeEndpointAuthorizationOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEndpointAuthorization operation. +// pageNum := 0 +// err := client.DescribeEndpointAuthorizationPages(params, +// func(page *redshift.DescribeEndpointAuthorizationOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeEndpointAuthorizationPages(input *DescribeEndpointAuthorizationInput, fn func(*DescribeEndpointAuthorizationOutput, bool) bool) error { return c.DescribeEndpointAuthorizationPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6465,14 +6440,13 @@ const opDescribeEventCategories = "DescribeEventCategories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventCategoriesRequest method. +// req, resp := client.DescribeEventCategoriesRequest(params) // -// // Example sending a request using the DescribeEventCategoriesRequest method. -// req, resp := client.DescribeEventCategoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventCategories func (c *Redshift) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput) { @@ -6541,14 +6515,13 @@ const opDescribeEventSubscriptions = "DescribeEventSubscriptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventSubscriptionsRequest method. +// req, resp := client.DescribeEventSubscriptionsRequest(params) // -// // Example sending a request using the DescribeEventSubscriptionsRequest method. -// req, resp := client.DescribeEventSubscriptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventSubscriptions func (c *Redshift) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput) { @@ -6597,12 +6570,13 @@ func (c *Redshift) DescribeEventSubscriptionsRequest(input *DescribeEventSubscri // API operation DescribeEventSubscriptions for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// An Amazon Redshift event notification subscription with the specified name -// does not exist. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// An Amazon Redshift event notification subscription with the specified name +// does not exist. +// +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventSubscriptions func (c *Redshift) DescribeEventSubscriptions(input *DescribeEventSubscriptionsInput) (*DescribeEventSubscriptionsOutput, error) { @@ -6634,15 +6608,14 @@ func (c *Redshift) DescribeEventSubscriptionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEventSubscriptions operation. -// pageNum := 0 -// err := client.DescribeEventSubscriptionsPages(params, -// func(page *redshift.DescribeEventSubscriptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEventSubscriptions operation. +// pageNum := 0 +// err := client.DescribeEventSubscriptionsPages(params, +// func(page *redshift.DescribeEventSubscriptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeEventSubscriptionsPages(input *DescribeEventSubscriptionsInput, fn func(*DescribeEventSubscriptionsOutput, bool) bool) error { return c.DescribeEventSubscriptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6694,14 +6667,13 @@ const opDescribeEvents = "DescribeEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEventsRequest method. +// req, resp := client.DescribeEventsRequest(params) // -// // Example sending a request using the DescribeEventsRequest method. -// req, resp := client.DescribeEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEvents func (c *Redshift) DescribeEventsRequest(input *DescribeEventsInput) (req *request.Request, output *DescribeEventsOutput) { @@ -6769,15 +6741,14 @@ func (c *Redshift) DescribeEventsWithContext(ctx aws.Context, input *DescribeEve // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEvents operation. -// pageNum := 0 -// err := client.DescribeEventsPages(params, -// func(page *redshift.DescribeEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEvents operation. +// pageNum := 0 +// err := client.DescribeEventsPages(params, +// func(page *redshift.DescribeEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeEventsPages(input *DescribeEventsInput, fn func(*DescribeEventsOutput, bool) bool) error { return c.DescribeEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6829,14 +6800,13 @@ const opDescribeHsmClientCertificates = "DescribeHsmClientCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHsmClientCertificatesRequest method. +// req, resp := client.DescribeHsmClientCertificatesRequest(params) // -// // Example sending a request using the DescribeHsmClientCertificatesRequest method. -// req, resp := client.DescribeHsmClientCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmClientCertificates func (c *Redshift) DescribeHsmClientCertificatesRequest(input *DescribeHsmClientCertificatesInput) (req *request.Request, output *DescribeHsmClientCertificatesOutput) { @@ -6885,11 +6855,12 @@ func (c *Redshift) DescribeHsmClientCertificatesRequest(input *DescribeHsmClient // API operation DescribeHsmClientCertificates for usage and error information. // // Returned Error Codes: -// * ErrCodeHsmClientCertificateNotFoundFault "HsmClientCertificateNotFoundFault" -// There is no Amazon Redshift HSM client certificate with the specified identifier. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeHsmClientCertificateNotFoundFault "HsmClientCertificateNotFoundFault" +// There is no Amazon Redshift HSM client certificate with the specified identifier. +// +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmClientCertificates func (c *Redshift) DescribeHsmClientCertificates(input *DescribeHsmClientCertificatesInput) (*DescribeHsmClientCertificatesOutput, error) { @@ -6921,15 +6892,14 @@ func (c *Redshift) DescribeHsmClientCertificatesWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeHsmClientCertificates operation. -// pageNum := 0 -// err := client.DescribeHsmClientCertificatesPages(params, -// func(page *redshift.DescribeHsmClientCertificatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeHsmClientCertificates operation. +// pageNum := 0 +// err := client.DescribeHsmClientCertificatesPages(params, +// func(page *redshift.DescribeHsmClientCertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeHsmClientCertificatesPages(input *DescribeHsmClientCertificatesInput, fn func(*DescribeHsmClientCertificatesOutput, bool) bool) error { return c.DescribeHsmClientCertificatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6981,14 +6951,13 @@ const opDescribeHsmConfigurations = "DescribeHsmConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHsmConfigurationsRequest method. +// req, resp := client.DescribeHsmConfigurationsRequest(params) // -// // Example sending a request using the DescribeHsmConfigurationsRequest method. -// req, resp := client.DescribeHsmConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmConfigurations func (c *Redshift) DescribeHsmConfigurationsRequest(input *DescribeHsmConfigurationsInput) (req *request.Request, output *DescribeHsmConfigurationsOutput) { @@ -7037,11 +7006,12 @@ func (c *Redshift) DescribeHsmConfigurationsRequest(input *DescribeHsmConfigurat // API operation DescribeHsmConfigurations for usage and error information. // // Returned Error Codes: -// * ErrCodeHsmConfigurationNotFoundFault "HsmConfigurationNotFoundFault" -// There is no Amazon Redshift HSM configuration with the specified identifier. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeHsmConfigurationNotFoundFault "HsmConfigurationNotFoundFault" +// There is no Amazon Redshift HSM configuration with the specified identifier. +// +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeHsmConfigurations func (c *Redshift) DescribeHsmConfigurations(input *DescribeHsmConfigurationsInput) (*DescribeHsmConfigurationsOutput, error) { @@ -7073,15 +7043,14 @@ func (c *Redshift) DescribeHsmConfigurationsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeHsmConfigurations operation. -// pageNum := 0 -// err := client.DescribeHsmConfigurationsPages(params, -// func(page *redshift.DescribeHsmConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeHsmConfigurations operation. +// pageNum := 0 +// err := client.DescribeHsmConfigurationsPages(params, +// func(page *redshift.DescribeHsmConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeHsmConfigurationsPages(input *DescribeHsmConfigurationsInput, fn func(*DescribeHsmConfigurationsOutput, bool) bool) error { return c.DescribeHsmConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7133,14 +7102,13 @@ const opDescribeLoggingStatus = "DescribeLoggingStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLoggingStatusRequest method. +// req, resp := client.DescribeLoggingStatusRequest(params) // -// // Example sending a request using the DescribeLoggingStatusRequest method. -// req, resp := client.DescribeLoggingStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeLoggingStatus func (c *Redshift) DescribeLoggingStatusRequest(input *DescribeLoggingStatusInput) (req *request.Request, output *LoggingStatus) { @@ -7172,8 +7140,8 @@ func (c *Redshift) DescribeLoggingStatusRequest(input *DescribeLoggingStatusInpu // API operation DescribeLoggingStatus for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeLoggingStatus func (c *Redshift) DescribeLoggingStatus(input *DescribeLoggingStatusInput) (*LoggingStatus, error) { @@ -7213,14 +7181,13 @@ const opDescribeNodeConfigurationOptions = "DescribeNodeConfigurationOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNodeConfigurationOptionsRequest method. +// req, resp := client.DescribeNodeConfigurationOptionsRequest(params) // -// // Example sending a request using the DescribeNodeConfigurationOptionsRequest method. -// req, resp := client.DescribeNodeConfigurationOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeNodeConfigurationOptions func (c *Redshift) DescribeNodeConfigurationOptionsRequest(input *DescribeNodeConfigurationOptionsInput) (req *request.Request, output *DescribeNodeConfigurationOptionsOutput) { @@ -7258,19 +7225,20 @@ func (c *Redshift) DescribeNodeConfigurationOptionsRequest(input *DescribeNodeCo // API operation DescribeNodeConfigurationOptions for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" -// The snapshot identifier does not refer to an existing cluster snapshot. // -// * ErrCodeInvalidClusterSnapshotStateFault "InvalidClusterSnapshotState" -// The specified cluster snapshot is not in the available state, or other accounts -// are authorized to access the snapshot. +// - ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" +// The snapshot identifier does not refer to an existing cluster snapshot. +// +// - ErrCodeInvalidClusterSnapshotStateFault "InvalidClusterSnapshotState" +// The specified cluster snapshot is not in the available state, or other accounts +// are authorized to access the snapshot. // -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeAccessToSnapshotDeniedFault "AccessToSnapshotDenied" -// The owner of the specified snapshot has not authorized your account to access -// the snapshot. +// - ErrCodeAccessToSnapshotDeniedFault "AccessToSnapshotDenied" +// The owner of the specified snapshot has not authorized your account to access +// the snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeNodeConfigurationOptions func (c *Redshift) DescribeNodeConfigurationOptions(input *DescribeNodeConfigurationOptionsInput) (*DescribeNodeConfigurationOptionsOutput, error) { @@ -7302,15 +7270,14 @@ func (c *Redshift) DescribeNodeConfigurationOptionsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeNodeConfigurationOptions operation. -// pageNum := 0 -// err := client.DescribeNodeConfigurationOptionsPages(params, -// func(page *redshift.DescribeNodeConfigurationOptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeNodeConfigurationOptions operation. +// pageNum := 0 +// err := client.DescribeNodeConfigurationOptionsPages(params, +// func(page *redshift.DescribeNodeConfigurationOptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeNodeConfigurationOptionsPages(input *DescribeNodeConfigurationOptionsInput, fn func(*DescribeNodeConfigurationOptionsOutput, bool) bool) error { return c.DescribeNodeConfigurationOptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7362,14 +7329,13 @@ const opDescribeOrderableClusterOptions = "DescribeOrderableClusterOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrderableClusterOptionsRequest method. +// req, resp := client.DescribeOrderableClusterOptionsRequest(params) // -// // Example sending a request using the DescribeOrderableClusterOptionsRequest method. -// req, resp := client.DescribeOrderableClusterOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeOrderableClusterOptions func (c *Redshift) DescribeOrderableClusterOptionsRequest(input *DescribeOrderableClusterOptionsInput) (req *request.Request, output *DescribeOrderableClusterOptionsOutput) { @@ -7442,15 +7408,14 @@ func (c *Redshift) DescribeOrderableClusterOptionsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOrderableClusterOptions operation. -// pageNum := 0 -// err := client.DescribeOrderableClusterOptionsPages(params, -// func(page *redshift.DescribeOrderableClusterOptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOrderableClusterOptions operation. +// pageNum := 0 +// err := client.DescribeOrderableClusterOptionsPages(params, +// func(page *redshift.DescribeOrderableClusterOptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeOrderableClusterOptionsPages(input *DescribeOrderableClusterOptionsInput, fn func(*DescribeOrderableClusterOptionsOutput, bool) bool) error { return c.DescribeOrderableClusterOptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7502,14 +7467,13 @@ const opDescribePartners = "DescribePartners" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePartnersRequest method. +// req, resp := client.DescribePartnersRequest(params) // -// // Example sending a request using the DescribePartnersRequest method. -// req, resp := client.DescribePartnersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribePartners func (c *Redshift) DescribePartnersRequest(input *DescribePartnersInput) (req *request.Request, output *DescribePartnersOutput) { @@ -7540,11 +7504,12 @@ func (c *Redshift) DescribePartnersRequest(input *DescribePartnersInput) (req *r // API operation DescribePartners for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeUnauthorizedPartnerIntegrationFault "UnauthorizedPartnerIntegration" -// The partner integration is not authorized. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeUnauthorizedPartnerIntegrationFault "UnauthorizedPartnerIntegration" +// The partner integration is not authorized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribePartners func (c *Redshift) DescribePartners(input *DescribePartnersInput) (*DescribePartnersOutput, error) { @@ -7584,14 +7549,13 @@ const opDescribeReservedNodeExchangeStatus = "DescribeReservedNodeExchangeStatus // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservedNodeExchangeStatusRequest method. +// req, resp := client.DescribeReservedNodeExchangeStatusRequest(params) // -// // Example sending a request using the DescribeReservedNodeExchangeStatusRequest method. -// req, resp := client.DescribeReservedNodeExchangeStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodeExchangeStatus func (c *Redshift) DescribeReservedNodeExchangeStatusRequest(input *DescribeReservedNodeExchangeStatusInput) (req *request.Request, output *DescribeReservedNodeExchangeStatusOutput) { @@ -7629,14 +7593,15 @@ func (c *Redshift) DescribeReservedNodeExchangeStatusRequest(input *DescribeRese // API operation DescribeReservedNodeExchangeStatus for usage and error information. // // Returned Error Codes: -// * ErrCodeReservedNodeNotFoundFault "ReservedNodeNotFound" -// The specified reserved compute node not found. // -// * ErrCodeReservedNodeExchangeNotFoundFault "ReservedNodeExchangeNotFond" -// The reserved-node exchange status wasn't found. +// - ErrCodeReservedNodeNotFoundFault "ReservedNodeNotFound" +// The specified reserved compute node not found. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeReservedNodeExchangeNotFoundFault "ReservedNodeExchangeNotFond" +// The reserved-node exchange status wasn't found. +// +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodeExchangeStatus func (c *Redshift) DescribeReservedNodeExchangeStatus(input *DescribeReservedNodeExchangeStatusInput) (*DescribeReservedNodeExchangeStatusOutput, error) { @@ -7668,15 +7633,14 @@ func (c *Redshift) DescribeReservedNodeExchangeStatusWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReservedNodeExchangeStatus operation. -// pageNum := 0 -// err := client.DescribeReservedNodeExchangeStatusPages(params, -// func(page *redshift.DescribeReservedNodeExchangeStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReservedNodeExchangeStatus operation. +// pageNum := 0 +// err := client.DescribeReservedNodeExchangeStatusPages(params, +// func(page *redshift.DescribeReservedNodeExchangeStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeReservedNodeExchangeStatusPages(input *DescribeReservedNodeExchangeStatusInput, fn func(*DescribeReservedNodeExchangeStatusOutput, bool) bool) error { return c.DescribeReservedNodeExchangeStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7728,14 +7692,13 @@ const opDescribeReservedNodeOfferings = "DescribeReservedNodeOfferings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservedNodeOfferingsRequest method. +// req, resp := client.DescribeReservedNodeOfferingsRequest(params) // -// // Example sending a request using the DescribeReservedNodeOfferingsRequest method. -// req, resp := client.DescribeReservedNodeOfferingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodeOfferings func (c *Redshift) DescribeReservedNodeOfferingsRequest(input *DescribeReservedNodeOfferingsInput) (req *request.Request, output *DescribeReservedNodeOfferingsOutput) { @@ -7781,15 +7744,16 @@ func (c *Redshift) DescribeReservedNodeOfferingsRequest(input *DescribeReservedN // API operation DescribeReservedNodeOfferings for usage and error information. // // Returned Error Codes: -// * ErrCodeReservedNodeOfferingNotFoundFault "ReservedNodeOfferingNotFound" -// Specified offering does not exist. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeReservedNodeOfferingNotFoundFault "ReservedNodeOfferingNotFound" +// Specified offering does not exist. +// +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // -// * ErrCodeDependentServiceUnavailableFault "DependentServiceUnavailableFault" -// Your request cannot be completed because a dependent internal service is -// temporarily unavailable. Wait 30 to 60 seconds and try again. +// - ErrCodeDependentServiceUnavailableFault "DependentServiceUnavailableFault" +// Your request cannot be completed because a dependent internal service is +// temporarily unavailable. Wait 30 to 60 seconds and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodeOfferings func (c *Redshift) DescribeReservedNodeOfferings(input *DescribeReservedNodeOfferingsInput) (*DescribeReservedNodeOfferingsOutput, error) { @@ -7821,15 +7785,14 @@ func (c *Redshift) DescribeReservedNodeOfferingsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReservedNodeOfferings operation. -// pageNum := 0 -// err := client.DescribeReservedNodeOfferingsPages(params, -// func(page *redshift.DescribeReservedNodeOfferingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReservedNodeOfferings operation. +// pageNum := 0 +// err := client.DescribeReservedNodeOfferingsPages(params, +// func(page *redshift.DescribeReservedNodeOfferingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeReservedNodeOfferingsPages(input *DescribeReservedNodeOfferingsInput, fn func(*DescribeReservedNodeOfferingsOutput, bool) bool) error { return c.DescribeReservedNodeOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7881,14 +7844,13 @@ const opDescribeReservedNodes = "DescribeReservedNodes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReservedNodesRequest method. +// req, resp := client.DescribeReservedNodesRequest(params) // -// // Example sending a request using the DescribeReservedNodesRequest method. -// req, resp := client.DescribeReservedNodesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodes func (c *Redshift) DescribeReservedNodesRequest(input *DescribeReservedNodesInput) (req *request.Request, output *DescribeReservedNodesOutput) { @@ -7925,12 +7887,13 @@ func (c *Redshift) DescribeReservedNodesRequest(input *DescribeReservedNodesInpu // API operation DescribeReservedNodes for usage and error information. // // Returned Error Codes: -// * ErrCodeReservedNodeNotFoundFault "ReservedNodeNotFound" -// The specified reserved compute node not found. // -// * ErrCodeDependentServiceUnavailableFault "DependentServiceUnavailableFault" -// Your request cannot be completed because a dependent internal service is -// temporarily unavailable. Wait 30 to 60 seconds and try again. +// - ErrCodeReservedNodeNotFoundFault "ReservedNodeNotFound" +// The specified reserved compute node not found. +// +// - ErrCodeDependentServiceUnavailableFault "DependentServiceUnavailableFault" +// Your request cannot be completed because a dependent internal service is +// temporarily unavailable. Wait 30 to 60 seconds and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeReservedNodes func (c *Redshift) DescribeReservedNodes(input *DescribeReservedNodesInput) (*DescribeReservedNodesOutput, error) { @@ -7962,15 +7925,14 @@ func (c *Redshift) DescribeReservedNodesWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeReservedNodes operation. -// pageNum := 0 -// err := client.DescribeReservedNodesPages(params, -// func(page *redshift.DescribeReservedNodesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeReservedNodes operation. +// pageNum := 0 +// err := client.DescribeReservedNodesPages(params, +// func(page *redshift.DescribeReservedNodesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeReservedNodesPages(input *DescribeReservedNodesInput, fn func(*DescribeReservedNodesOutput, bool) bool) error { return c.DescribeReservedNodesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8022,14 +7984,13 @@ const opDescribeResize = "DescribeResize" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeResizeRequest method. +// req, resp := client.DescribeResizeRequest(params) // -// // Example sending a request using the DescribeResizeRequest method. -// req, resp := client.DescribeResizeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeResize func (c *Redshift) DescribeResizeRequest(input *DescribeResizeInput) (req *request.Request, output *DescribeResizeOutput) { @@ -8066,11 +8027,12 @@ func (c *Redshift) DescribeResizeRequest(input *DescribeResizeInput) (req *reque // API operation DescribeResize for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeResizeNotFoundFault "ResizeNotFound" -// A resize operation for the specified cluster is not found. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeResizeNotFoundFault "ResizeNotFound" +// A resize operation for the specified cluster is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeResize func (c *Redshift) DescribeResize(input *DescribeResizeInput) (*DescribeResizeOutput, error) { @@ -8110,14 +8072,13 @@ const opDescribeScheduledActions = "DescribeScheduledActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScheduledActionsRequest method. +// req, resp := client.DescribeScheduledActionsRequest(params) // -// // Example sending a request using the DescribeScheduledActionsRequest method. -// req, resp := client.DescribeScheduledActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeScheduledActions func (c *Redshift) DescribeScheduledActionsRequest(input *DescribeScheduledActionsInput) (req *request.Request, output *DescribeScheduledActionsOutput) { @@ -8154,11 +8115,12 @@ func (c *Redshift) DescribeScheduledActionsRequest(input *DescribeScheduledActio // API operation DescribeScheduledActions for usage and error information. // // Returned Error Codes: -// * ErrCodeScheduledActionNotFoundFault "ScheduledActionNotFound" -// The scheduled action cannot be found. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeScheduledActionNotFoundFault "ScheduledActionNotFound" +// The scheduled action cannot be found. +// +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeScheduledActions func (c *Redshift) DescribeScheduledActions(input *DescribeScheduledActionsInput) (*DescribeScheduledActionsOutput, error) { @@ -8190,15 +8152,14 @@ func (c *Redshift) DescribeScheduledActionsWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeScheduledActions operation. -// pageNum := 0 -// err := client.DescribeScheduledActionsPages(params, -// func(page *redshift.DescribeScheduledActionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeScheduledActions operation. +// pageNum := 0 +// err := client.DescribeScheduledActionsPages(params, +// func(page *redshift.DescribeScheduledActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeScheduledActionsPages(input *DescribeScheduledActionsInput, fn func(*DescribeScheduledActionsOutput, bool) bool) error { return c.DescribeScheduledActionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8250,14 +8211,13 @@ const opDescribeSnapshotCopyGrants = "DescribeSnapshotCopyGrants" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSnapshotCopyGrantsRequest method. +// req, resp := client.DescribeSnapshotCopyGrantsRequest(params) // -// // Example sending a request using the DescribeSnapshotCopyGrantsRequest method. -// req, resp := client.DescribeSnapshotCopyGrantsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeSnapshotCopyGrants func (c *Redshift) DescribeSnapshotCopyGrantsRequest(input *DescribeSnapshotCopyGrantsInput) (req *request.Request, output *DescribeSnapshotCopyGrantsOutput) { @@ -8299,12 +8259,13 @@ func (c *Redshift) DescribeSnapshotCopyGrantsRequest(input *DescribeSnapshotCopy // API operation DescribeSnapshotCopyGrants for usage and error information. // // Returned Error Codes: -// * ErrCodeSnapshotCopyGrantNotFoundFault "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. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeSnapshotCopyGrantNotFoundFault "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. +// +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeSnapshotCopyGrants func (c *Redshift) DescribeSnapshotCopyGrants(input *DescribeSnapshotCopyGrantsInput) (*DescribeSnapshotCopyGrantsOutput, error) { @@ -8336,15 +8297,14 @@ func (c *Redshift) DescribeSnapshotCopyGrantsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSnapshotCopyGrants operation. -// pageNum := 0 -// err := client.DescribeSnapshotCopyGrantsPages(params, -// func(page *redshift.DescribeSnapshotCopyGrantsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSnapshotCopyGrants operation. +// pageNum := 0 +// err := client.DescribeSnapshotCopyGrantsPages(params, +// func(page *redshift.DescribeSnapshotCopyGrantsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeSnapshotCopyGrantsPages(input *DescribeSnapshotCopyGrantsInput, fn func(*DescribeSnapshotCopyGrantsOutput, bool) bool) error { return c.DescribeSnapshotCopyGrantsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8396,14 +8356,13 @@ const opDescribeSnapshotSchedules = "DescribeSnapshotSchedules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSnapshotSchedulesRequest method. +// req, resp := client.DescribeSnapshotSchedulesRequest(params) // -// // Example sending a request using the DescribeSnapshotSchedulesRequest method. -// req, resp := client.DescribeSnapshotSchedulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeSnapshotSchedules func (c *Redshift) DescribeSnapshotSchedulesRequest(input *DescribeSnapshotSchedulesInput) (req *request.Request, output *DescribeSnapshotSchedulesOutput) { @@ -8468,15 +8427,14 @@ func (c *Redshift) DescribeSnapshotSchedulesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSnapshotSchedules operation. -// pageNum := 0 -// err := client.DescribeSnapshotSchedulesPages(params, -// func(page *redshift.DescribeSnapshotSchedulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSnapshotSchedules operation. +// pageNum := 0 +// err := client.DescribeSnapshotSchedulesPages(params, +// func(page *redshift.DescribeSnapshotSchedulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeSnapshotSchedulesPages(input *DescribeSnapshotSchedulesInput, fn func(*DescribeSnapshotSchedulesOutput, bool) bool) error { return c.DescribeSnapshotSchedulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8528,14 +8486,13 @@ const opDescribeStorage = "DescribeStorage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStorageRequest method. +// req, resp := client.DescribeStorageRequest(params) // -// // Example sending a request using the DescribeStorageRequest method. -// req, resp := client.DescribeStorageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeStorage func (c *Redshift) DescribeStorageRequest(input *DescribeStorageInput) (req *request.Request, output *DescribeStorageOutput) { @@ -8602,14 +8559,13 @@ const opDescribeTableRestoreStatus = "DescribeTableRestoreStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTableRestoreStatusRequest method. +// req, resp := client.DescribeTableRestoreStatusRequest(params) // -// // Example sending a request using the DescribeTableRestoreStatusRequest method. -// req, resp := client.DescribeTableRestoreStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTableRestoreStatus func (c *Redshift) DescribeTableRestoreStatusRequest(input *DescribeTableRestoreStatusInput) (req *request.Request, output *DescribeTableRestoreStatusOutput) { @@ -8650,11 +8606,12 @@ func (c *Redshift) DescribeTableRestoreStatusRequest(input *DescribeTableRestore // API operation DescribeTableRestoreStatus for usage and error information. // // Returned Error Codes: -// * ErrCodeTableRestoreNotFoundFault "TableRestoreNotFoundFault" -// The specified TableRestoreRequestId value was not found. // -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. +// - ErrCodeTableRestoreNotFoundFault "TableRestoreNotFoundFault" +// The specified TableRestoreRequestId value was not found. +// +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTableRestoreStatus func (c *Redshift) DescribeTableRestoreStatus(input *DescribeTableRestoreStatusInput) (*DescribeTableRestoreStatusOutput, error) { @@ -8686,15 +8643,14 @@ func (c *Redshift) DescribeTableRestoreStatusWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTableRestoreStatus operation. -// pageNum := 0 -// err := client.DescribeTableRestoreStatusPages(params, -// func(page *redshift.DescribeTableRestoreStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTableRestoreStatus operation. +// pageNum := 0 +// err := client.DescribeTableRestoreStatusPages(params, +// func(page *redshift.DescribeTableRestoreStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeTableRestoreStatusPages(input *DescribeTableRestoreStatusInput, fn func(*DescribeTableRestoreStatusOutput, bool) bool) error { return c.DescribeTableRestoreStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8746,14 +8702,13 @@ const opDescribeTags = "DescribeTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTagsRequest method. +// req, resp := client.DescribeTagsRequest(params) // -// // Example sending a request using the DescribeTagsRequest method. -// req, resp := client.DescribeTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTags func (c *Redshift) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { @@ -8786,14 +8741,14 @@ func (c *Redshift) DescribeTagsRequest(input *DescribeTagsInput) (req *request.R // // The following are limitations for DescribeTags: // -// * You cannot specify an ARN and a resource-type value together in the -// same request. +// - You cannot specify an ARN and a resource-type value together in the +// same request. // -// * You cannot use the MaxRecords and Marker parameters together with the -// ARN parameter. +// - You cannot use the MaxRecords and Marker parameters together with the +// ARN parameter. // -// * The MaxRecords parameter can be a range from 10 to 50 results to return -// in a request. +// - The MaxRecords parameter can be a range from 10 to 50 results to return +// in a request. // // If you specify both tag keys and tag values in the same request, Amazon Redshift // returns all resources that match any combination of the specified keys and @@ -8812,11 +8767,12 @@ func (c *Redshift) DescribeTagsRequest(input *DescribeTagsInput) (req *request.R // API operation DescribeTags for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundFault "ResourceNotFoundFault" -// The resource could not be found. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeResourceNotFoundFault "ResourceNotFoundFault" +// The resource could not be found. +// +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeTags func (c *Redshift) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { @@ -8848,15 +8804,14 @@ func (c *Redshift) DescribeTagsWithContext(ctx aws.Context, input *DescribeTagsI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTags operation. -// pageNum := 0 -// err := client.DescribeTagsPages(params, -// func(page *redshift.DescribeTagsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTags operation. +// pageNum := 0 +// err := client.DescribeTagsPages(params, +// func(page *redshift.DescribeTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeTagsPages(input *DescribeTagsInput, fn func(*DescribeTagsOutput, bool) bool) error { return c.DescribeTagsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8908,14 +8863,13 @@ const opDescribeUsageLimits = "DescribeUsageLimits" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUsageLimitsRequest method. +// req, resp := client.DescribeUsageLimitsRequest(params) // -// // Example sending a request using the DescribeUsageLimitsRequest method. -// req, resp := client.DescribeUsageLimitsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeUsageLimits func (c *Redshift) DescribeUsageLimitsRequest(input *DescribeUsageLimitsInput) (req *request.Request, output *DescribeUsageLimitsOutput) { @@ -8945,18 +8899,18 @@ func (c *Redshift) DescribeUsageLimitsRequest(input *DescribeUsageLimitsInput) ( // Shows usage limits on a cluster. Results are filtered based on the combination // of input usage limit identifier, cluster identifier, and feature type parameters: // -// * If usage limit identifier, cluster identifier, and feature type are -// not provided, then all usage limit objects for the current account in -// the current region are returned. +// - If usage limit identifier, cluster identifier, and feature type are +// not provided, then all usage limit objects for the current account in +// the current region are returned. // -// * If usage limit identifier is provided, then the corresponding usage -// limit object is returned. +// - If usage limit identifier is provided, then the corresponding usage +// limit object is returned. // -// * If cluster identifier is provided, then all usage limit objects for -// the specified cluster are returned. +// - If cluster identifier is provided, then all usage limit objects for +// the specified cluster are returned. // -// * If cluster identifier and feature type are provided, then all usage -// limit objects for the combination of cluster and feature are returned. +// - If cluster identifier and feature type are provided, then all usage +// limit objects for the combination of cluster and feature are returned. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8966,11 +8920,12 @@ func (c *Redshift) DescribeUsageLimitsRequest(input *DescribeUsageLimitsInput) ( // API operation DescribeUsageLimits for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeUsageLimits func (c *Redshift) DescribeUsageLimits(input *DescribeUsageLimitsInput) (*DescribeUsageLimitsOutput, error) { @@ -9002,15 +8957,14 @@ func (c *Redshift) DescribeUsageLimitsWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeUsageLimits operation. -// pageNum := 0 -// err := client.DescribeUsageLimitsPages(params, -// func(page *redshift.DescribeUsageLimitsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeUsageLimits operation. +// pageNum := 0 +// err := client.DescribeUsageLimitsPages(params, +// func(page *redshift.DescribeUsageLimitsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) DescribeUsageLimitsPages(input *DescribeUsageLimitsInput, fn func(*DescribeUsageLimitsOutput, bool) bool) error { return c.DescribeUsageLimitsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9062,14 +9016,13 @@ const opDisableLogging = "DisableLogging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableLoggingRequest method. +// req, resp := client.DisableLoggingRequest(params) // -// // Example sending a request using the DisableLoggingRequest method. -// req, resp := client.DisableLoggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableLogging func (c *Redshift) DisableLoggingRequest(input *DisableLoggingInput) (req *request.Request, output *LoggingStatus) { @@ -9101,11 +9054,12 @@ func (c *Redshift) DisableLoggingRequest(input *DisableLoggingInput) (req *reque // API operation DisableLogging for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableLogging func (c *Redshift) DisableLogging(input *DisableLoggingInput) (*LoggingStatus, error) { @@ -9145,14 +9099,13 @@ const opDisableSnapshotCopy = "DisableSnapshotCopy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableSnapshotCopyRequest method. +// req, resp := client.DisableSnapshotCopyRequest(params) // -// // Example sending a request using the DisableSnapshotCopyRequest method. -// req, resp := client.DisableSnapshotCopyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopy func (c *Redshift) DisableSnapshotCopyRequest(input *DisableSnapshotCopyInput) (req *request.Request, output *DisableSnapshotCopyOutput) { @@ -9189,17 +9142,18 @@ func (c *Redshift) DisableSnapshotCopyRequest(input *DisableSnapshotCopyInput) ( // API operation DisableSnapshotCopy for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeSnapshotCopyAlreadyDisabledFault "SnapshotCopyAlreadyDisabledFault" -// The cluster already has cross-region snapshot copy disabled. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeSnapshotCopyAlreadyDisabledFault "SnapshotCopyAlreadyDisabledFault" +// The cluster already has cross-region snapshot copy disabled. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisableSnapshotCopy func (c *Redshift) DisableSnapshotCopy(input *DisableSnapshotCopyInput) (*DisableSnapshotCopyOutput, error) { @@ -9239,14 +9193,13 @@ const opDisassociateDataShareConsumer = "DisassociateDataShareConsumer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateDataShareConsumerRequest method. +// req, resp := client.DisassociateDataShareConsumerRequest(params) // -// // Example sending a request using the DisassociateDataShareConsumerRequest method. -// req, resp := client.DisassociateDataShareConsumerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisassociateDataShareConsumer func (c *Redshift) DisassociateDataShareConsumerRequest(input *DisassociateDataShareConsumerInput) (req *request.Request, output *DisassociateDataShareConsumerOutput) { @@ -9277,12 +9230,13 @@ func (c *Redshift) DisassociateDataShareConsumerRequest(input *DisassociateDataS // API operation DisassociateDataShareConsumer for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDataShareFault "InvalidDataShareFault" -// There is an error with the datashare. // -// * ErrCodeInvalidNamespaceFault "InvalidNamespaceFault" -// The namespace isn't valid because the namespace doesn't exist. Provide a -// valid namespace. +// - ErrCodeInvalidDataShareFault "InvalidDataShareFault" +// There is an error with the datashare. +// +// - ErrCodeInvalidNamespaceFault "InvalidNamespaceFault" +// The namespace isn't valid because the namespace doesn't exist. Provide a +// valid namespace. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DisassociateDataShareConsumer func (c *Redshift) DisassociateDataShareConsumer(input *DisassociateDataShareConsumerInput) (*DisassociateDataShareConsumerOutput, error) { @@ -9322,14 +9276,13 @@ const opEnableLogging = "EnableLogging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableLoggingRequest method. +// req, resp := client.EnableLoggingRequest(params) // -// // Example sending a request using the EnableLoggingRequest method. -// req, resp := client.EnableLoggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableLogging func (c *Redshift) EnableLoggingRequest(input *EnableLoggingInput) (req *request.Request, output *LoggingStatus) { @@ -9361,27 +9314,28 @@ func (c *Redshift) EnableLoggingRequest(input *EnableLoggingInput) (req *request // API operation EnableLogging for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeBucketNotFoundFault "BucketNotFoundFault" -// Could not find the specified S3 bucket. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeBucketNotFoundFault "BucketNotFoundFault" +// Could not find the specified S3 bucket. // -// * ErrCodeInsufficientS3BucketPolicyFault "InsufficientS3BucketPolicyFault" -// The cluster does not have read bucket or put object permissions on the S3 -// bucket specified when enabling logging. +// - ErrCodeInsufficientS3BucketPolicyFault "InsufficientS3BucketPolicyFault" +// The cluster does not have read bucket or put object permissions on the S3 +// bucket specified when enabling logging. // -// * ErrCodeInvalidS3KeyPrefixFault "InvalidS3KeyPrefixFault" -// The string specified for the logging S3 key prefix does not comply with the -// documented constraints. +// - ErrCodeInvalidS3KeyPrefixFault "InvalidS3KeyPrefixFault" +// The string specified for the logging S3 key prefix does not comply with the +// documented constraints. // -// * ErrCodeInvalidS3BucketNameFault "InvalidS3BucketNameFault" -// The S3 bucket name is invalid. For more information about naming rules, go -// to Bucket Restrictions and Limitations (https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html) -// in the Amazon Simple Storage Service (S3) Developer Guide. +// - ErrCodeInvalidS3BucketNameFault "InvalidS3BucketNameFault" +// The S3 bucket name is invalid. For more information about naming rules, go +// to Bucket Restrictions and Limitations (https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html) +// in the Amazon Simple Storage Service (S3) Developer Guide. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableLogging func (c *Redshift) EnableLogging(input *EnableLoggingInput) (*LoggingStatus, error) { @@ -9421,14 +9375,13 @@ const opEnableSnapshotCopy = "EnableSnapshotCopy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableSnapshotCopyRequest method. +// req, resp := client.EnableSnapshotCopyRequest(params) // -// // Example sending a request using the EnableSnapshotCopyRequest method. -// req, resp := client.EnableSnapshotCopyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopy func (c *Redshift) EnableSnapshotCopyRequest(input *EnableSnapshotCopyInput) (req *request.Request, output *EnableSnapshotCopyOutput) { @@ -9460,42 +9413,43 @@ func (c *Redshift) EnableSnapshotCopyRequest(input *EnableSnapshotCopyInput) (re // API operation EnableSnapshotCopy for usage and error information. // // Returned Error Codes: -// * ErrCodeIncompatibleOrderableOptions "IncompatibleOrderableOptions" -// The specified options are incompatible. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeIncompatibleOrderableOptions "IncompatibleOrderableOptions" +// The specified options are incompatible. +// +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeCopyToRegionDisabledFault "CopyToRegionDisabledFault" -// Cross-region snapshot copy was temporarily disabled. Try your request again. +// - ErrCodeCopyToRegionDisabledFault "CopyToRegionDisabledFault" +// Cross-region snapshot copy was temporarily disabled. Try your request again. // -// * ErrCodeSnapshotCopyAlreadyEnabledFault "SnapshotCopyAlreadyEnabledFault" -// The cluster already has cross-region snapshot copy enabled. +// - ErrCodeSnapshotCopyAlreadyEnabledFault "SnapshotCopyAlreadyEnabledFault" +// The cluster already has cross-region snapshot copy enabled. // -// * ErrCodeUnknownSnapshotCopyRegionFault "UnknownSnapshotCopyRegionFault" -// The specified region is incorrect or does not exist. +// - ErrCodeUnknownSnapshotCopyRegionFault "UnknownSnapshotCopyRegionFault" +// The specified region is incorrect or does not exist. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. // -// * ErrCodeSnapshotCopyGrantNotFoundFault "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" +// 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. // -// * ErrCodeLimitExceededFault "LimitExceededFault" -// The encryption key has exceeded its grant limit in Amazon Web Services KMS. +// - ErrCodeLimitExceededFault "LimitExceededFault" +// The encryption key has exceeded its grant limit in Amazon Web Services KMS. // -// * ErrCodeDependentServiceRequestThrottlingFault "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" +// The request cannot be completed because a dependent service is throttling +// requests made by Amazon Redshift on your behalf. Wait and retry the request. // -// * ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" -// The retention period specified is either in the past or is not a valid value. +// - ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" +// The retention period specified is either in the past or is not a valid value. // -// The value must be either -1 or an integer between 1 and 3,653. +// The value must be either -1 or an integer between 1 and 3,653. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/EnableSnapshotCopy func (c *Redshift) EnableSnapshotCopy(input *EnableSnapshotCopyInput) (*EnableSnapshotCopyOutput, error) { @@ -9535,14 +9489,13 @@ const opGetClusterCredentials = "GetClusterCredentials" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetClusterCredentialsRequest method. +// req, resp := client.GetClusterCredentialsRequest(params) // -// // Example sending a request using the GetClusterCredentialsRequest method. -// req, resp := client.GetClusterCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetClusterCredentials func (c *Redshift) GetClusterCredentialsRequest(input *GetClusterCredentialsInput) (req *request.Request, output *GetClusterCredentialsOutput) { @@ -9596,11 +9549,12 @@ func (c *Redshift) GetClusterCredentialsRequest(input *GetClusterCredentialsInpu // API operation GetClusterCredentials for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetClusterCredentials func (c *Redshift) GetClusterCredentials(input *GetClusterCredentialsInput) (*GetClusterCredentialsOutput, error) { @@ -9640,14 +9594,13 @@ const opGetReservedNodeExchangeConfigurationOptions = "GetReservedNodeExchangeCo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReservedNodeExchangeConfigurationOptionsRequest method. +// req, resp := client.GetReservedNodeExchangeConfigurationOptionsRequest(params) // -// // Example sending a request using the GetReservedNodeExchangeConfigurationOptionsRequest method. -// req, resp := client.GetReservedNodeExchangeConfigurationOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetReservedNodeExchangeConfigurationOptions func (c *Redshift) GetReservedNodeExchangeConfigurationOptionsRequest(input *GetReservedNodeExchangeConfigurationOptionsInput) (req *request.Request, output *GetReservedNodeExchangeConfigurationOptionsOutput) { @@ -9687,30 +9640,31 @@ func (c *Redshift) GetReservedNodeExchangeConfigurationOptionsRequest(input *Get // API operation GetReservedNodeExchangeConfigurationOptions for usage and error information. // // Returned Error Codes: -// * ErrCodeReservedNodeNotFoundFault "ReservedNodeNotFound" -// The specified reserved compute node not found. // -// * ErrCodeInvalidReservedNodeStateFault "InvalidReservedNodeState" -// Indicates that the Reserved Node being exchanged is not in an active state. +// - ErrCodeReservedNodeNotFoundFault "ReservedNodeNotFound" +// The specified reserved compute node not found. +// +// - ErrCodeInvalidReservedNodeStateFault "InvalidReservedNodeState" +// Indicates that the Reserved Node being exchanged is not in an active state. // -// * ErrCodeReservedNodeAlreadyMigratedFault "ReservedNodeAlreadyMigrated" -// Indicates that the reserved node has already been exchanged. +// - ErrCodeReservedNodeAlreadyMigratedFault "ReservedNodeAlreadyMigrated" +// Indicates that the reserved node has already been exchanged. // -// * ErrCodeReservedNodeOfferingNotFoundFault "ReservedNodeOfferingNotFound" -// Specified offering does not exist. +// - ErrCodeReservedNodeOfferingNotFoundFault "ReservedNodeOfferingNotFound" +// Specified offering does not exist. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // -// * ErrCodeDependentServiceUnavailableFault "DependentServiceUnavailableFault" -// Your request cannot be completed because a dependent internal service is -// temporarily unavailable. Wait 30 to 60 seconds and try again. +// - ErrCodeDependentServiceUnavailableFault "DependentServiceUnavailableFault" +// Your request cannot be completed because a dependent internal service is +// temporarily unavailable. Wait 30 to 60 seconds and try again. // -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" -// The snapshot identifier does not refer to an existing cluster snapshot. +// - ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" +// The snapshot identifier does not refer to an existing cluster snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetReservedNodeExchangeConfigurationOptions func (c *Redshift) GetReservedNodeExchangeConfigurationOptions(input *GetReservedNodeExchangeConfigurationOptionsInput) (*GetReservedNodeExchangeConfigurationOptionsOutput, error) { @@ -9742,15 +9696,14 @@ func (c *Redshift) GetReservedNodeExchangeConfigurationOptionsWithContext(ctx aw // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetReservedNodeExchangeConfigurationOptions operation. -// pageNum := 0 -// err := client.GetReservedNodeExchangeConfigurationOptionsPages(params, -// func(page *redshift.GetReservedNodeExchangeConfigurationOptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetReservedNodeExchangeConfigurationOptions operation. +// pageNum := 0 +// err := client.GetReservedNodeExchangeConfigurationOptionsPages(params, +// func(page *redshift.GetReservedNodeExchangeConfigurationOptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) GetReservedNodeExchangeConfigurationOptionsPages(input *GetReservedNodeExchangeConfigurationOptionsInput, fn func(*GetReservedNodeExchangeConfigurationOptionsOutput, bool) bool) error { return c.GetReservedNodeExchangeConfigurationOptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9802,14 +9755,13 @@ const opGetReservedNodeExchangeOfferings = "GetReservedNodeExchangeOfferings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReservedNodeExchangeOfferingsRequest method. +// req, resp := client.GetReservedNodeExchangeOfferingsRequest(params) // -// // Example sending a request using the GetReservedNodeExchangeOfferingsRequest method. -// req, resp := client.GetReservedNodeExchangeOfferingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetReservedNodeExchangeOfferings func (c *Redshift) GetReservedNodeExchangeOfferingsRequest(input *GetReservedNodeExchangeOfferingsInput) (req *request.Request, output *GetReservedNodeExchangeOfferingsOutput) { @@ -9847,24 +9799,25 @@ func (c *Redshift) GetReservedNodeExchangeOfferingsRequest(input *GetReservedNod // API operation GetReservedNodeExchangeOfferings for usage and error information. // // Returned Error Codes: -// * ErrCodeReservedNodeNotFoundFault "ReservedNodeNotFound" -// The specified reserved compute node not found. // -// * ErrCodeInvalidReservedNodeStateFault "InvalidReservedNodeState" -// Indicates that the Reserved Node being exchanged is not in an active state. +// - ErrCodeReservedNodeNotFoundFault "ReservedNodeNotFound" +// The specified reserved compute node not found. +// +// - ErrCodeInvalidReservedNodeStateFault "InvalidReservedNodeState" +// Indicates that the Reserved Node being exchanged is not in an active state. // -// * ErrCodeReservedNodeAlreadyMigratedFault "ReservedNodeAlreadyMigrated" -// Indicates that the reserved node has already been exchanged. +// - ErrCodeReservedNodeAlreadyMigratedFault "ReservedNodeAlreadyMigrated" +// Indicates that the reserved node has already been exchanged. // -// * ErrCodeReservedNodeOfferingNotFoundFault "ReservedNodeOfferingNotFound" -// Specified offering does not exist. +// - ErrCodeReservedNodeOfferingNotFoundFault "ReservedNodeOfferingNotFound" +// Specified offering does not exist. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // -// * ErrCodeDependentServiceUnavailableFault "DependentServiceUnavailableFault" -// Your request cannot be completed because a dependent internal service is -// temporarily unavailable. Wait 30 to 60 seconds and try again. +// - ErrCodeDependentServiceUnavailableFault "DependentServiceUnavailableFault" +// Your request cannot be completed because a dependent internal service is +// temporarily unavailable. Wait 30 to 60 seconds and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/GetReservedNodeExchangeOfferings func (c *Redshift) GetReservedNodeExchangeOfferings(input *GetReservedNodeExchangeOfferingsInput) (*GetReservedNodeExchangeOfferingsOutput, error) { @@ -9896,15 +9849,14 @@ func (c *Redshift) GetReservedNodeExchangeOfferingsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetReservedNodeExchangeOfferings operation. -// pageNum := 0 -// err := client.GetReservedNodeExchangeOfferingsPages(params, -// func(page *redshift.GetReservedNodeExchangeOfferingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetReservedNodeExchangeOfferings operation. +// pageNum := 0 +// err := client.GetReservedNodeExchangeOfferingsPages(params, +// func(page *redshift.GetReservedNodeExchangeOfferingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Redshift) GetReservedNodeExchangeOfferingsPages(input *GetReservedNodeExchangeOfferingsInput, fn func(*GetReservedNodeExchangeOfferingsOutput, bool) bool) error { return c.GetReservedNodeExchangeOfferingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9956,14 +9908,13 @@ const opModifyAquaConfiguration = "ModifyAquaConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyAquaConfigurationRequest method. +// req, resp := client.ModifyAquaConfigurationRequest(params) // -// // Example sending a request using the ModifyAquaConfigurationRequest method. -// req, resp := client.ModifyAquaConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyAquaConfiguration func (c *Redshift) ModifyAquaConfigurationRequest(input *ModifyAquaConfigurationInput) (req *request.Request, output *ModifyAquaConfigurationOutput) { @@ -9994,14 +9945,15 @@ func (c *Redshift) ModifyAquaConfigurationRequest(input *ModifyAquaConfiguration // API operation ModifyAquaConfiguration for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. +// +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyAquaConfiguration func (c *Redshift) ModifyAquaConfiguration(input *ModifyAquaConfigurationInput) (*ModifyAquaConfigurationOutput, error) { @@ -10041,14 +9993,13 @@ const opModifyAuthenticationProfile = "ModifyAuthenticationProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyAuthenticationProfileRequest method. +// req, resp := client.ModifyAuthenticationProfileRequest(params) // -// // Example sending a request using the ModifyAuthenticationProfileRequest method. -// req, resp := client.ModifyAuthenticationProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyAuthenticationProfile func (c *Redshift) ModifyAuthenticationProfileRequest(input *ModifyAuthenticationProfileInput) (req *request.Request, output *ModifyAuthenticationProfileOutput) { @@ -10079,18 +10030,19 @@ func (c *Redshift) ModifyAuthenticationProfileRequest(input *ModifyAuthenticatio // API operation ModifyAuthenticationProfile for usage and error information. // // Returned Error Codes: -// * ErrCodeAuthenticationProfileNotFoundFault "AuthenticationProfileNotFoundFault" -// The authentication profile can't be found. // -// * ErrCodeAuthenticationProfileQuotaExceededFault "AuthenticationProfileQuotaExceededFault" -// The size or number of authentication profiles has exceeded the quota. The -// maximum length of the JSON string and maximum number of authentication profiles -// is determined by a quota for your account. +// - ErrCodeAuthenticationProfileNotFoundFault "AuthenticationProfileNotFoundFault" +// The authentication profile can't be found. // -// * ErrCodeInvalidAuthenticationProfileRequestFault "InvalidAuthenticationProfileRequestFault" -// The authentication profile request is not valid. The profile name can't be -// null or empty. The authentication profile API operation must be available -// in the Amazon Web Services Region. +// - ErrCodeAuthenticationProfileQuotaExceededFault "AuthenticationProfileQuotaExceededFault" +// The size or number of authentication profiles has exceeded the quota. The +// maximum length of the JSON string and maximum number of authentication profiles +// is determined by a quota for your account. +// +// - ErrCodeInvalidAuthenticationProfileRequestFault "InvalidAuthenticationProfileRequestFault" +// The authentication profile request is not valid. The profile name can't be +// null or empty. The authentication profile API operation must be available +// in the Amazon Web Services Region. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyAuthenticationProfile func (c *Redshift) ModifyAuthenticationProfile(input *ModifyAuthenticationProfileInput) (*ModifyAuthenticationProfileOutput, error) { @@ -10130,14 +10082,13 @@ const opModifyCluster = "ModifyCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyClusterRequest method. +// req, resp := client.ModifyClusterRequest(params) // -// // Example sending a request using the ModifyClusterRequest method. -// req, resp := client.ModifyClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyCluster func (c *Redshift) ModifyClusterRequest(input *ModifyClusterInput) (req *request.Request, output *ModifyClusterOutput) { @@ -10179,70 +10130,71 @@ func (c *Redshift) ModifyClusterRequest(input *ModifyClusterInput) (req *request // API operation ModifyCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. // -// * ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" -// The state of the cluster security group is not available. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. +// - ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" +// The state of the cluster security group is not available. // -// * ErrCodeNumberOfNodesQuotaExceededFault "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 -// (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) -// in the Amazon Redshift Cluster Management Guide. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeNumberOfNodesPerClusterLimitExceededFault "NumberOfNodesPerClusterLimitExceeded" -// The operation would exceed the number of nodes allowed for a cluster. +// - ErrCodeNumberOfNodesQuotaExceededFault "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 +// (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) +// in the Amazon Redshift Cluster Management Guide. // -// * ErrCodeClusterSecurityGroupNotFoundFault "ClusterSecurityGroupNotFound" -// The cluster security group name does not refer to an existing cluster security -// group. +// - ErrCodeNumberOfNodesPerClusterLimitExceededFault "NumberOfNodesPerClusterLimitExceeded" +// The operation would exceed the number of nodes allowed for a cluster. // -// * ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" -// The parameter group name does not refer to an existing parameter group. +// - ErrCodeClusterSecurityGroupNotFoundFault "ClusterSecurityGroupNotFound" +// The cluster security group name does not refer to an existing cluster security +// group. // -// * ErrCodeInsufficientClusterCapacityFault "InsufficientClusterCapacity" -// The number of nodes specified exceeds the allotted capacity of the cluster. +// - ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" +// The parameter group name does not refer to an existing parameter group. // -// * ErrCodeUnsupportedOptionFault "UnsupportedOptionFault" -// A request option was specified that is not supported. +// - ErrCodeInsufficientClusterCapacityFault "InsufficientClusterCapacity" +// The number of nodes specified exceeds the allotted capacity of the cluster. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeUnsupportedOptionFault "UnsupportedOptionFault" +// A request option was specified that is not supported. // -// * ErrCodeHsmClientCertificateNotFoundFault "HsmClientCertificateNotFoundFault" -// There is no Amazon Redshift HSM client certificate with the specified identifier. +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. // -// * ErrCodeHsmConfigurationNotFoundFault "HsmConfigurationNotFoundFault" -// There is no Amazon Redshift HSM configuration with the specified identifier. +// - ErrCodeHsmClientCertificateNotFoundFault "HsmClientCertificateNotFoundFault" +// There is no Amazon Redshift HSM client certificate with the specified identifier. // -// * ErrCodeClusterAlreadyExistsFault "ClusterAlreadyExists" -// The account already has a cluster with the given identifier. +// - ErrCodeHsmConfigurationNotFoundFault "HsmConfigurationNotFoundFault" +// There is no Amazon Redshift HSM configuration with the specified identifier. // -// * ErrCodeLimitExceededFault "LimitExceededFault" -// The encryption key has exceeded its grant limit in Amazon Web Services KMS. +// - ErrCodeClusterAlreadyExistsFault "ClusterAlreadyExists" +// The account already has a cluster with the given identifier. // -// * ErrCodeDependentServiceRequestThrottlingFault "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. +// - ErrCodeLimitExceededFault "LimitExceededFault" +// The encryption key has exceeded its grant limit in Amazon Web Services KMS. // -// * ErrCodeInvalidElasticIpFault "InvalidElasticIpFault" -// The Elastic IP (EIP) is invalid or cannot be found. +// - ErrCodeDependentServiceRequestThrottlingFault "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. // -// * ErrCodeTableLimitExceededFault "TableLimitExceeded" -// The number of tables in the cluster exceeds the limit for the requested new -// cluster node type. +// - ErrCodeInvalidElasticIpFault "InvalidElasticIpFault" +// The Elastic IP (EIP) is invalid or cannot be found. // -// * ErrCodeInvalidClusterTrackFault "InvalidClusterTrack" -// The provided cluster track name is not valid. +// - ErrCodeTableLimitExceededFault "TableLimitExceeded" +// The number of tables in the cluster exceeds the limit for the requested new +// cluster node type. // -// * ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" -// The retention period specified is either in the past or is not a valid value. +// - ErrCodeInvalidClusterTrackFault "InvalidClusterTrack" +// The provided cluster track name is not valid. // -// The value must be either -1 or an integer between 1 and 3,653. +// - ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" +// The retention period specified is either in the past or is not a valid value. +// +// The value must be either -1 or an integer between 1 and 3,653. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyCluster func (c *Redshift) ModifyCluster(input *ModifyClusterInput) (*ModifyClusterOutput, error) { @@ -10282,14 +10234,13 @@ const opModifyClusterDbRevision = "ModifyClusterDbRevision" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyClusterDbRevisionRequest method. +// req, resp := client.ModifyClusterDbRevisionRequest(params) // -// // Example sending a request using the ModifyClusterDbRevisionRequest method. -// req, resp := client.ModifyClusterDbRevisionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterDbRevision func (c *Redshift) ModifyClusterDbRevisionRequest(input *ModifyClusterDbRevisionInput) (req *request.Request, output *ModifyClusterDbRevisionOutput) { @@ -10321,14 +10272,15 @@ func (c *Redshift) ModifyClusterDbRevisionRequest(input *ModifyClusterDbRevision // API operation ModifyClusterDbRevision for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeClusterOnLatestRevisionFault "ClusterOnLatestRevision" -// Cluster is already on the latest database revision. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeClusterOnLatestRevisionFault "ClusterOnLatestRevision" +// Cluster is already on the latest database revision. +// +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterDbRevision func (c *Redshift) ModifyClusterDbRevision(input *ModifyClusterDbRevisionInput) (*ModifyClusterDbRevisionOutput, error) { @@ -10368,14 +10320,13 @@ const opModifyClusterIamRoles = "ModifyClusterIamRoles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyClusterIamRolesRequest method. +// req, resp := client.ModifyClusterIamRolesRequest(params) // -// // Example sending a request using the ModifyClusterIamRolesRequest method. -// req, resp := client.ModifyClusterIamRolesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRoles func (c *Redshift) ModifyClusterIamRolesRequest(input *ModifyClusterIamRolesInput) (req *request.Request, output *ModifyClusterIamRolesOutput) { @@ -10411,11 +10362,12 @@ func (c *Redshift) ModifyClusterIamRolesRequest(input *ModifyClusterIamRolesInpu // API operation ModifyClusterIamRoles for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. // -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. +// +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterIamRoles func (c *Redshift) ModifyClusterIamRoles(input *ModifyClusterIamRolesInput) (*ModifyClusterIamRolesOutput, error) { @@ -10455,14 +10407,13 @@ const opModifyClusterMaintenance = "ModifyClusterMaintenance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyClusterMaintenanceRequest method. +// req, resp := client.ModifyClusterMaintenanceRequest(params) // -// // Example sending a request using the ModifyClusterMaintenanceRequest method. -// req, resp := client.ModifyClusterMaintenanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterMaintenance func (c *Redshift) ModifyClusterMaintenanceRequest(input *ModifyClusterMaintenanceInput) (req *request.Request, output *ModifyClusterMaintenanceOutput) { @@ -10493,11 +10444,12 @@ func (c *Redshift) ModifyClusterMaintenanceRequest(input *ModifyClusterMaintenan // API operation ModifyClusterMaintenance for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterMaintenance func (c *Redshift) ModifyClusterMaintenance(input *ModifyClusterMaintenanceInput) (*ModifyClusterMaintenanceOutput, error) { @@ -10537,14 +10489,13 @@ const opModifyClusterParameterGroup = "ModifyClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyClusterParameterGroupRequest method. +// req, resp := client.ModifyClusterParameterGroupRequest(params) // -// // Example sending a request using the ModifyClusterParameterGroupRequest method. -// req, resp := client.ModifyClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterParameterGroup func (c *Redshift) ModifyClusterParameterGroupRequest(input *ModifyClusterParameterGroupInput) (req *request.Request, output *ClusterParameterGroupNameMessage) { @@ -10580,13 +10531,14 @@ func (c *Redshift) ModifyClusterParameterGroupRequest(input *ModifyClusterParame // API operation ModifyClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" -// The parameter group name does not refer to an existing parameter group. // -// * ErrCodeInvalidClusterParameterGroupStateFault "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. +// - ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" +// The parameter group name does not refer to an existing parameter group. +// +// - ErrCodeInvalidClusterParameterGroupStateFault "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. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterParameterGroup func (c *Redshift) ModifyClusterParameterGroup(input *ModifyClusterParameterGroupInput) (*ClusterParameterGroupNameMessage, error) { @@ -10626,14 +10578,13 @@ const opModifyClusterSnapshot = "ModifyClusterSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyClusterSnapshotRequest method. +// req, resp := client.ModifyClusterSnapshotRequest(params) // -// // Example sending a request using the ModifyClusterSnapshotRequest method. -// req, resp := client.ModifyClusterSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSnapshot func (c *Redshift) ModifyClusterSnapshotRequest(input *ModifyClusterSnapshotInput) (req *request.Request, output *ModifyClusterSnapshotOutput) { @@ -10667,17 +10618,18 @@ func (c *Redshift) ModifyClusterSnapshotRequest(input *ModifyClusterSnapshotInpu // API operation ModifyClusterSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidClusterSnapshotStateFault "InvalidClusterSnapshotState" -// The specified cluster snapshot is not in the available state, or other accounts -// are authorized to access the snapshot. // -// * ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" -// The snapshot identifier does not refer to an existing cluster snapshot. +// - ErrCodeInvalidClusterSnapshotStateFault "InvalidClusterSnapshotState" +// The specified cluster snapshot is not in the available state, or other accounts +// are authorized to access the snapshot. // -// * ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" -// The retention period specified is either in the past or is not a valid value. +// - ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" +// The snapshot identifier does not refer to an existing cluster snapshot. // -// The value must be either -1 or an integer between 1 and 3,653. +// - ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" +// The retention period specified is either in the past or is not a valid value. +// +// The value must be either -1 or an integer between 1 and 3,653. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSnapshot func (c *Redshift) ModifyClusterSnapshot(input *ModifyClusterSnapshotInput) (*ModifyClusterSnapshotOutput, error) { @@ -10717,14 +10669,13 @@ const opModifyClusterSnapshotSchedule = "ModifyClusterSnapshotSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyClusterSnapshotScheduleRequest method. +// req, resp := client.ModifyClusterSnapshotScheduleRequest(params) // -// // Example sending a request using the ModifyClusterSnapshotScheduleRequest method. -// req, resp := client.ModifyClusterSnapshotScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSnapshotSchedule func (c *Redshift) ModifyClusterSnapshotScheduleRequest(input *ModifyClusterSnapshotScheduleInput) (req *request.Request, output *ModifyClusterSnapshotScheduleOutput) { @@ -10756,14 +10707,15 @@ func (c *Redshift) ModifyClusterSnapshotScheduleRequest(input *ModifyClusterSnap // API operation ModifyClusterSnapshotSchedule for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeSnapshotScheduleNotFoundFault "SnapshotScheduleNotFound" -// We could not find the specified snapshot schedule. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidClusterSnapshotScheduleStateFault "InvalidClusterSnapshotScheduleState" -// The cluster snapshot schedule state is not valid. +// - ErrCodeSnapshotScheduleNotFoundFault "SnapshotScheduleNotFound" +// We could not find the specified snapshot schedule. +// +// - ErrCodeInvalidClusterSnapshotScheduleStateFault "InvalidClusterSnapshotScheduleState" +// The cluster snapshot schedule state is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSnapshotSchedule func (c *Redshift) ModifyClusterSnapshotSchedule(input *ModifyClusterSnapshotScheduleInput) (*ModifyClusterSnapshotScheduleOutput, error) { @@ -10803,14 +10755,13 @@ const opModifyClusterSubnetGroup = "ModifyClusterSubnetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyClusterSubnetGroupRequest method. +// req, resp := client.ModifyClusterSubnetGroupRequest(params) // -// // Example sending a request using the ModifyClusterSubnetGroupRequest method. -// req, resp := client.ModifyClusterSubnetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSubnetGroup func (c *Redshift) ModifyClusterSubnetGroupRequest(input *ModifyClusterSubnetGroupInput) (req *request.Request, output *ModifyClusterSubnetGroupOutput) { @@ -10843,29 +10794,30 @@ func (c *Redshift) ModifyClusterSubnetGroupRequest(input *ModifyClusterSubnetGro // API operation ModifyClusterSubnetGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterSubnetGroupNotFoundFault "ClusterSubnetGroupNotFoundFault" -// The cluster subnet group name does not refer to an existing cluster subnet -// group. // -// * ErrCodeClusterSubnetQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) -// in the Amazon Redshift Cluster Management Guide. +// - ErrCodeClusterSubnetGroupNotFoundFault "ClusterSubnetGroupNotFoundFault" +// The cluster subnet group name does not refer to an existing cluster subnet +// group. // -// * ErrCodeSubnetAlreadyInUse "SubnetAlreadyInUse" -// A specified subnet is already in use by another cluster. +// - ErrCodeClusterSubnetQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) +// in the Amazon Redshift Cluster Management Guide. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is not valid, or not all of the subnets are in the same -// VPC. +// - ErrCodeSubnetAlreadyInUse "SubnetAlreadyInUse" +// A specified subnet is already in use by another cluster. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is not valid, or not all of the subnets are in the same +// VPC. // -// * ErrCodeDependentServiceRequestThrottlingFault "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. +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. +// +// - ErrCodeDependentServiceRequestThrottlingFault "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. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyClusterSubnetGroup func (c *Redshift) ModifyClusterSubnetGroup(input *ModifyClusterSubnetGroupInput) (*ModifyClusterSubnetGroupOutput, error) { @@ -10905,14 +10857,13 @@ const opModifyEndpointAccess = "ModifyEndpointAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyEndpointAccessRequest method. +// req, resp := client.ModifyEndpointAccessRequest(params) // -// // Example sending a request using the ModifyEndpointAccessRequest method. -// req, resp := client.ModifyEndpointAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEndpointAccess func (c *Redshift) ModifyEndpointAccessRequest(input *ModifyEndpointAccessInput) (req *request.Request, output *ModifyEndpointAccessOutput) { @@ -10943,23 +10894,24 @@ func (c *Redshift) ModifyEndpointAccessRequest(input *ModifyEndpointAccessInput) // API operation ModifyEndpointAccess for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" -// The state of the cluster security group is not available. // -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. +// - ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" +// The state of the cluster security group is not available. // -// * ErrCodeInvalidEndpointStateFault "InvalidEndpointState" -// The status of the endpoint is not valid. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeEndpointNotFoundFault "EndpointNotFound" -// The endpoint name doesn't refer to an existing endpoint. +// - ErrCodeInvalidEndpointStateFault "InvalidEndpointState" +// The status of the endpoint is not valid. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeEndpointNotFoundFault "EndpointNotFound" +// The endpoint name doesn't refer to an existing endpoint. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. +// +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEndpointAccess func (c *Redshift) ModifyEndpointAccess(input *ModifyEndpointAccessInput) (*ModifyEndpointAccessOutput, error) { @@ -10999,14 +10951,13 @@ const opModifyEventSubscription = "ModifyEventSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyEventSubscriptionRequest method. +// req, resp := client.ModifyEventSubscriptionRequest(params) // -// // Example sending a request using the ModifyEventSubscriptionRequest method. -// req, resp := client.ModifyEventSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEventSubscription func (c *Redshift) ModifyEventSubscriptionRequest(input *ModifyEventSubscriptionInput) (req *request.Request, output *ModifyEventSubscriptionOutput) { @@ -11037,40 +10988,41 @@ func (c *Redshift) ModifyEventSubscriptionRequest(input *ModifyEventSubscription // API operation ModifyEventSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" -// An Amazon Redshift event notification subscription with the specified name -// does not exist. // -// * ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" -// Amazon SNS has responded that there is a problem with the specified Amazon -// SNS topic. +// - ErrCodeSubscriptionNotFoundFault "SubscriptionNotFound" +// An Amazon Redshift event notification subscription with the specified name +// does not exist. // -// * ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" -// You do not have permission to publish to the specified Amazon SNS topic. +// - ErrCodeSNSInvalidTopicFault "SNSInvalidTopic" +// Amazon SNS has responded that there is a problem with the specified Amazon +// SNS topic. // -// * ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" -// An Amazon SNS topic with the specified Amazon Resource Name (ARN) does not -// exist. +// - ErrCodeSNSNoAuthorizationFault "SNSNoAuthorization" +// You do not have permission to publish to the specified Amazon SNS topic. // -// * ErrCodeSubscriptionEventIdNotFoundFault "SubscriptionEventIdNotFound" -// An Amazon Redshift event with the specified event ID does not exist. +// - ErrCodeSNSTopicArnNotFoundFault "SNSTopicArnNotFound" +// An Amazon SNS topic with the specified Amazon Resource Name (ARN) does not +// exist. // -// * ErrCodeSubscriptionCategoryNotFoundFault "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. +// - ErrCodeSubscriptionEventIdNotFoundFault "SubscriptionEventIdNotFound" +// An Amazon Redshift event with the specified event ID does not exist. // -// * ErrCodeSubscriptionSeverityNotFoundFault "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. +// - ErrCodeSubscriptionCategoryNotFoundFault "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. // -// * ErrCodeSourceNotFoundFault "SourceNotFound" -// The specified Amazon Redshift event source could not be found. +// - ErrCodeSubscriptionSeverityNotFoundFault "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. // -// * ErrCodeInvalidSubscriptionStateFault "InvalidSubscriptionStateFault" -// The subscription request is invalid because it is a duplicate request. This -// subscription request is already in progress. +// - ErrCodeSourceNotFoundFault "SourceNotFound" +// The specified Amazon Redshift event source could not be found. +// +// - ErrCodeInvalidSubscriptionStateFault "InvalidSubscriptionStateFault" +// The subscription request is invalid because it is a duplicate request. This +// subscription request is already in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEventSubscription func (c *Redshift) ModifyEventSubscription(input *ModifyEventSubscriptionInput) (*ModifyEventSubscriptionOutput, error) { @@ -11110,14 +11062,13 @@ const opModifyScheduledAction = "ModifyScheduledAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyScheduledActionRequest method. +// req, resp := client.ModifyScheduledActionRequest(params) // -// // Example sending a request using the ModifyScheduledActionRequest method. -// req, resp := client.ModifyScheduledActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyScheduledAction func (c *Redshift) ModifyScheduledActionRequest(input *ModifyScheduledActionInput) (req *request.Request, output *ModifyScheduledActionOutput) { @@ -11148,20 +11099,21 @@ func (c *Redshift) ModifyScheduledActionRequest(input *ModifyScheduledActionInpu // API operation ModifyScheduledAction for usage and error information. // // Returned Error Codes: -// * ErrCodeScheduledActionNotFoundFault "ScheduledActionNotFound" -// The scheduled action cannot be found. // -// * ErrCodeScheduledActionTypeUnsupportedFault "ScheduledActionTypeUnsupported" -// The action type specified for a scheduled action is not supported. +// - ErrCodeScheduledActionNotFoundFault "ScheduledActionNotFound" +// The scheduled action cannot be found. // -// * ErrCodeInvalidScheduleFault "InvalidSchedule" -// The schedule you submitted isn't valid. +// - ErrCodeScheduledActionTypeUnsupportedFault "ScheduledActionTypeUnsupported" +// The action type specified for a scheduled action is not supported. // -// * ErrCodeInvalidScheduledActionFault "InvalidScheduledAction" -// The scheduled action is not valid. +// - ErrCodeInvalidScheduleFault "InvalidSchedule" +// The schedule you submitted isn't valid. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeInvalidScheduledActionFault "InvalidScheduledAction" +// The scheduled action is not valid. +// +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyScheduledAction func (c *Redshift) ModifyScheduledAction(input *ModifyScheduledActionInput) (*ModifyScheduledActionOutput, error) { @@ -11201,14 +11153,13 @@ const opModifySnapshotCopyRetentionPeriod = "ModifySnapshotCopyRetentionPeriod" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifySnapshotCopyRetentionPeriodRequest method. +// req, resp := client.ModifySnapshotCopyRetentionPeriodRequest(params) // -// // Example sending a request using the ModifySnapshotCopyRetentionPeriodRequest method. -// req, resp := client.ModifySnapshotCopyRetentionPeriodRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriod func (c *Redshift) ModifySnapshotCopyRetentionPeriodRequest(input *ModifySnapshotCopyRetentionPeriodInput) (req *request.Request, output *ModifySnapshotCopyRetentionPeriodOutput) { @@ -11246,22 +11197,23 @@ func (c *Redshift) ModifySnapshotCopyRetentionPeriodRequest(input *ModifySnapsho // API operation ModifySnapshotCopyRetentionPeriod for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeSnapshotCopyDisabledFault "SnapshotCopyDisabledFault" -// Cross-region snapshot copy was temporarily disabled. Try your request again. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeSnapshotCopyDisabledFault "SnapshotCopyDisabledFault" +// Cross-region snapshot copy was temporarily disabled. Try your request again. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // -// * ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" -// The retention period specified is either in the past or is not a valid value. +// - ErrCodeInvalidRetentionPeriodFault "InvalidRetentionPeriodFault" +// The retention period specified is either in the past or is not a valid value. // -// The value must be either -1 or an integer between 1 and 3,653. +// The value must be either -1 or an integer between 1 and 3,653. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotCopyRetentionPeriod func (c *Redshift) ModifySnapshotCopyRetentionPeriod(input *ModifySnapshotCopyRetentionPeriodInput) (*ModifySnapshotCopyRetentionPeriodOutput, error) { @@ -11301,14 +11253,13 @@ const opModifySnapshotSchedule = "ModifySnapshotSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifySnapshotScheduleRequest method. +// req, resp := client.ModifySnapshotScheduleRequest(params) // -// // Example sending a request using the ModifySnapshotScheduleRequest method. -// req, resp := client.ModifySnapshotScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotSchedule func (c *Redshift) ModifySnapshotScheduleRequest(input *ModifySnapshotScheduleInput) (req *request.Request, output *ModifySnapshotScheduleOutput) { @@ -11340,14 +11291,15 @@ func (c *Redshift) ModifySnapshotScheduleRequest(input *ModifySnapshotScheduleIn // API operation ModifySnapshotSchedule for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidScheduleFault "InvalidSchedule" -// The schedule you submitted isn't valid. // -// * ErrCodeSnapshotScheduleNotFoundFault "SnapshotScheduleNotFound" -// We could not find the specified snapshot schedule. +// - ErrCodeInvalidScheduleFault "InvalidSchedule" +// The schedule you submitted isn't valid. +// +// - ErrCodeSnapshotScheduleNotFoundFault "SnapshotScheduleNotFound" +// We could not find the specified snapshot schedule. // -// * ErrCodeSnapshotScheduleUpdateInProgressFault "SnapshotScheduleUpdateInProgress" -// The specified snapshot schedule is already being updated. +// - ErrCodeSnapshotScheduleUpdateInProgressFault "SnapshotScheduleUpdateInProgress" +// The specified snapshot schedule is already being updated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifySnapshotSchedule func (c *Redshift) ModifySnapshotSchedule(input *ModifySnapshotScheduleInput) (*ModifySnapshotScheduleOutput, error) { @@ -11387,14 +11339,13 @@ const opModifyUsageLimit = "ModifyUsageLimit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyUsageLimitRequest method. +// req, resp := client.ModifyUsageLimitRequest(params) // -// // Example sending a request using the ModifyUsageLimitRequest method. -// req, resp := client.ModifyUsageLimitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyUsageLimit func (c *Redshift) ModifyUsageLimitRequest(input *ModifyUsageLimitInput) (req *request.Request, output *ModifyUsageLimitOutput) { @@ -11426,14 +11377,15 @@ func (c *Redshift) ModifyUsageLimitRequest(input *ModifyUsageLimitInput) (req *r // API operation ModifyUsageLimit for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidUsageLimitFault "InvalidUsageLimit" -// The usage limit is not valid. // -// * ErrCodeUsageLimitNotFoundFault "UsageLimitNotFound" -// The usage limit identifier can't be found. +// - ErrCodeInvalidUsageLimitFault "InvalidUsageLimit" +// The usage limit is not valid. +// +// - ErrCodeUsageLimitNotFoundFault "UsageLimitNotFound" +// The usage limit identifier can't be found. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyUsageLimit func (c *Redshift) ModifyUsageLimit(input *ModifyUsageLimitInput) (*ModifyUsageLimitOutput, error) { @@ -11473,14 +11425,13 @@ const opPauseCluster = "PauseCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PauseClusterRequest method. +// req, resp := client.PauseClusterRequest(params) // -// // Example sending a request using the PauseClusterRequest method. -// req, resp := client.PauseClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PauseCluster func (c *Redshift) PauseClusterRequest(input *PauseClusterInput) (req *request.Request, output *PauseClusterOutput) { @@ -11511,11 +11462,12 @@ func (c *Redshift) PauseClusterRequest(input *PauseClusterInput) (req *request.R // API operation PauseCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PauseCluster func (c *Redshift) PauseCluster(input *PauseClusterInput) (*PauseClusterOutput, error) { @@ -11555,14 +11507,13 @@ const opPurchaseReservedNodeOffering = "PurchaseReservedNodeOffering" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PurchaseReservedNodeOfferingRequest method. +// req, resp := client.PurchaseReservedNodeOfferingRequest(params) // -// // Example sending a request using the PurchaseReservedNodeOfferingRequest method. -// req, resp := client.PurchaseReservedNodeOfferingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PurchaseReservedNodeOffering func (c *Redshift) PurchaseReservedNodeOfferingRequest(input *PurchaseReservedNodeOfferingInput) (req *request.Request, output *PurchaseReservedNodeOfferingOutput) { @@ -11601,19 +11552,20 @@ func (c *Redshift) PurchaseReservedNodeOfferingRequest(input *PurchaseReservedNo // API operation PurchaseReservedNodeOffering for usage and error information. // // Returned Error Codes: -// * ErrCodeReservedNodeOfferingNotFoundFault "ReservedNodeOfferingNotFound" -// Specified offering does not exist. // -// * ErrCodeReservedNodeAlreadyExistsFault "ReservedNodeAlreadyExists" -// User already has a reservation with the given identifier. +// - ErrCodeReservedNodeOfferingNotFoundFault "ReservedNodeOfferingNotFound" +// Specified offering does not exist. +// +// - ErrCodeReservedNodeAlreadyExistsFault "ReservedNodeAlreadyExists" +// User already has a reservation with the given identifier. // -// * ErrCodeReservedNodeQuotaExceededFault "ReservedNodeQuotaExceeded" -// Request would exceed the user's compute node quota. For information about -// increasing your quota, go to Limits in Amazon Redshift (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) -// in the Amazon Redshift Cluster Management Guide. +// - ErrCodeReservedNodeQuotaExceededFault "ReservedNodeQuotaExceeded" +// Request would exceed the user's compute node quota. For information about +// increasing your quota, go to Limits in Amazon Redshift (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) +// in the Amazon Redshift Cluster Management Guide. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/PurchaseReservedNodeOffering func (c *Redshift) PurchaseReservedNodeOffering(input *PurchaseReservedNodeOfferingInput) (*PurchaseReservedNodeOfferingOutput, error) { @@ -11653,14 +11605,13 @@ const opRebootCluster = "RebootCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebootClusterRequest method. +// req, resp := client.RebootClusterRequest(params) // -// // Example sending a request using the RebootClusterRequest method. -// req, resp := client.RebootClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootCluster func (c *Redshift) RebootClusterRequest(input *RebootClusterInput) (req *request.Request, output *RebootClusterOutput) { @@ -11697,11 +11648,12 @@ func (c *Redshift) RebootClusterRequest(input *RebootClusterInput) (req *request // API operation RebootCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. // -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. +// +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RebootCluster func (c *Redshift) RebootCluster(input *RebootClusterInput) (*RebootClusterOutput, error) { @@ -11741,14 +11693,13 @@ const opRejectDataShare = "RejectDataShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectDataShareRequest method. +// req, resp := client.RejectDataShareRequest(params) // -// // Example sending a request using the RejectDataShareRequest method. -// req, resp := client.RejectDataShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RejectDataShare func (c *Redshift) RejectDataShareRequest(input *RejectDataShareInput) (req *request.Request, output *RejectDataShareOutput) { @@ -11779,8 +11730,8 @@ func (c *Redshift) RejectDataShareRequest(input *RejectDataShareInput) (req *req // API operation RejectDataShare for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDataShareFault "InvalidDataShareFault" -// There is an error with the datashare. +// - ErrCodeInvalidDataShareFault "InvalidDataShareFault" +// There is an error with the datashare. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RejectDataShare func (c *Redshift) RejectDataShare(input *RejectDataShareInput) (*RejectDataShareOutput, error) { @@ -11820,14 +11771,13 @@ const opResetClusterParameterGroup = "ResetClusterParameterGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetClusterParameterGroupRequest method. +// req, resp := client.ResetClusterParameterGroupRequest(params) // -// // Example sending a request using the ResetClusterParameterGroupRequest method. -// req, resp := client.ResetClusterParameterGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResetClusterParameterGroup func (c *Redshift) ResetClusterParameterGroupRequest(input *ResetClusterParameterGroupInput) (req *request.Request, output *ClusterParameterGroupNameMessage) { @@ -11861,13 +11811,14 @@ func (c *Redshift) ResetClusterParameterGroupRequest(input *ResetClusterParamete // API operation ResetClusterParameterGroup for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidClusterParameterGroupStateFault "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. // -// * ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" -// The parameter group name does not refer to an existing parameter group. +// - ErrCodeInvalidClusterParameterGroupStateFault "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. +// +// - ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" +// The parameter group name does not refer to an existing parameter group. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResetClusterParameterGroup func (c *Redshift) ResetClusterParameterGroup(input *ResetClusterParameterGroupInput) (*ClusterParameterGroupNameMessage, error) { @@ -11907,14 +11858,13 @@ const opResizeCluster = "ResizeCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResizeClusterRequest method. +// req, resp := client.ResizeClusterRequest(params) // -// // Example sending a request using the ResizeClusterRequest method. -// req, resp := client.ResizeClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResizeCluster func (c *Redshift) ResizeClusterRequest(input *ResizeClusterInput) (req *request.Request, output *ResizeClusterOutput) { @@ -11942,11 +11892,11 @@ func (c *Redshift) ResizeClusterRequest(input *ResizeClusterInput) (req *request // // Elastic resize operations have the following restrictions: // -// * You can only resize clusters of the following types: dc1.large (if your -// cluster is in a VPC) dc1.8xlarge (if your cluster is in a VPC) dc2.large -// dc2.8xlarge ds2.xlarge ds2.8xlarge ra3.xlplus ra3.4xlarge ra3.16xlarge +// - You can only resize clusters of the following types: dc1.large (if your +// cluster is in a VPC) dc1.8xlarge (if your cluster is in a VPC) dc2.large +// dc2.8xlarge ds2.xlarge ds2.8xlarge ra3.xlplus ra3.4xlarge ra3.16xlarge // -// * The type of nodes that you add must match the node type for the cluster. +// - The type of nodes that you add must match the node type for the cluster. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -11956,54 +11906,55 @@ func (c *Redshift) ResizeClusterRequest(input *ResizeClusterInput) (req *request // API operation ResizeCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. // -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // -// * ErrCodeNumberOfNodesQuotaExceededFault "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 -// (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) -// in the Amazon Redshift Cluster Management Guide. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeNumberOfNodesPerClusterLimitExceededFault "NumberOfNodesPerClusterLimitExceeded" -// The operation would exceed the number of nodes allowed for a cluster. +// - ErrCodeNumberOfNodesQuotaExceededFault "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 +// (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) +// in the Amazon Redshift Cluster Management Guide. // -// * ErrCodeInsufficientClusterCapacityFault "InsufficientClusterCapacity" -// The number of nodes specified exceeds the allotted capacity of the cluster. +// - ErrCodeNumberOfNodesPerClusterLimitExceededFault "NumberOfNodesPerClusterLimitExceeded" +// The operation would exceed the number of nodes allowed for a cluster. // -// * ErrCodeUnsupportedOptionFault "UnsupportedOptionFault" -// A request option was specified that is not supported. +// - ErrCodeInsufficientClusterCapacityFault "InsufficientClusterCapacity" +// The number of nodes specified exceeds the allotted capacity of the cluster. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeUnsupportedOptionFault "UnsupportedOptionFault" +// A request option was specified that is not supported. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // -// * ErrCodeLimitExceededFault "LimitExceededFault" -// The encryption key has exceeded its grant limit in Amazon Web Services KMS. +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. // -// * ErrCodeReservedNodeNotFoundFault "ReservedNodeNotFound" -// The specified reserved compute node not found. +// - ErrCodeLimitExceededFault "LimitExceededFault" +// The encryption key has exceeded its grant limit in Amazon Web Services KMS. // -// * ErrCodeInvalidReservedNodeStateFault "InvalidReservedNodeState" -// Indicates that the Reserved Node being exchanged is not in an active state. +// - ErrCodeReservedNodeNotFoundFault "ReservedNodeNotFound" +// The specified reserved compute node not found. // -// * ErrCodeReservedNodeAlreadyMigratedFault "ReservedNodeAlreadyMigrated" -// Indicates that the reserved node has already been exchanged. +// - ErrCodeInvalidReservedNodeStateFault "InvalidReservedNodeState" +// Indicates that the Reserved Node being exchanged is not in an active state. // -// * ErrCodeReservedNodeOfferingNotFoundFault "ReservedNodeOfferingNotFound" -// Specified offering does not exist. +// - ErrCodeReservedNodeAlreadyMigratedFault "ReservedNodeAlreadyMigrated" +// Indicates that the reserved node has already been exchanged. // -// * ErrCodeDependentServiceUnavailableFault "DependentServiceUnavailableFault" -// Your request cannot be completed because a dependent internal service is -// temporarily unavailable. Wait 30 to 60 seconds and try again. +// - ErrCodeReservedNodeOfferingNotFoundFault "ReservedNodeOfferingNotFound" +// Specified offering does not exist. // -// * ErrCodeReservedNodeAlreadyExistsFault "ReservedNodeAlreadyExists" -// User already has a reservation with the given identifier. +// - ErrCodeDependentServiceUnavailableFault "DependentServiceUnavailableFault" +// Your request cannot be completed because a dependent internal service is +// temporarily unavailable. Wait 30 to 60 seconds and try again. +// +// - ErrCodeReservedNodeAlreadyExistsFault "ReservedNodeAlreadyExists" +// User already has a reservation with the given identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResizeCluster func (c *Redshift) ResizeCluster(input *ResizeClusterInput) (*ResizeClusterOutput, error) { @@ -12043,14 +11994,13 @@ const opRestoreFromClusterSnapshot = "RestoreFromClusterSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreFromClusterSnapshotRequest method. +// req, resp := client.RestoreFromClusterSnapshotRequest(params) // -// // Example sending a request using the RestoreFromClusterSnapshotRequest method. -// req, resp := client.RestoreFromClusterSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshot func (c *Redshift) RestoreFromClusterSnapshotRequest(input *RestoreFromClusterSnapshotInput) (req *request.Request, output *RestoreFromClusterSnapshotOutput) { @@ -12095,114 +12045,115 @@ func (c *Redshift) RestoreFromClusterSnapshotRequest(input *RestoreFromClusterSn // API operation RestoreFromClusterSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessToSnapshotDeniedFault "AccessToSnapshotDenied" -// The owner of the specified snapshot has not authorized your account to access -// the snapshot. // -// * ErrCodeClusterAlreadyExistsFault "ClusterAlreadyExists" -// The account already has a cluster with the given identifier. +// - ErrCodeAccessToSnapshotDeniedFault "AccessToSnapshotDenied" +// The owner of the specified snapshot has not authorized your account to access +// the snapshot. // -// * ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" -// The snapshot identifier does not refer to an existing cluster snapshot. +// - ErrCodeClusterAlreadyExistsFault "ClusterAlreadyExists" +// The account already has a cluster with the given identifier. // -// * ErrCodeClusterQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) -// in the Amazon Redshift Cluster Management Guide. +// - ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" +// The snapshot identifier does not refer to an existing cluster snapshot. // -// * ErrCodeInsufficientClusterCapacityFault "InsufficientClusterCapacity" -// The number of nodes specified exceeds the allotted capacity of the cluster. +// - ErrCodeClusterQuotaExceededFault "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 (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) +// in the Amazon Redshift Cluster Management Guide. // -// * ErrCodeInvalidClusterSnapshotStateFault "InvalidClusterSnapshotState" -// The specified cluster snapshot is not in the available state, or other accounts -// are authorized to access the snapshot. +// - ErrCodeInsufficientClusterCapacityFault "InsufficientClusterCapacity" +// The number of nodes specified exceeds the allotted capacity of the cluster. // -// * ErrCodeInvalidRestoreFault "InvalidRestore" -// The restore is invalid. +// - ErrCodeInvalidClusterSnapshotStateFault "InvalidClusterSnapshotState" +// The specified cluster snapshot is not in the available state, or other accounts +// are authorized to access the snapshot. // -// * ErrCodeNumberOfNodesQuotaExceededFault "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 -// (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) -// in the Amazon Redshift Cluster Management Guide. +// - ErrCodeInvalidRestoreFault "InvalidRestore" +// The restore is invalid. // -// * ErrCodeNumberOfNodesPerClusterLimitExceededFault "NumberOfNodesPerClusterLimitExceeded" -// The operation would exceed the number of nodes allowed for a cluster. +// - ErrCodeNumberOfNodesQuotaExceededFault "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 +// (https://docs.aws.amazon.com/redshift/latest/mgmt/amazon-redshift-limits.html) +// in the Amazon Redshift Cluster Management Guide. // -// * ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" -// The cluster subnet group does not cover all Availability Zones. +// - ErrCodeNumberOfNodesPerClusterLimitExceededFault "NumberOfNodesPerClusterLimitExceeded" +// The operation would exceed the number of nodes allowed for a cluster. // -// * ErrCodeInvalidClusterSubnetGroupStateFault "InvalidClusterSubnetGroupStateFault" -// The cluster subnet group cannot be deleted because it is in use. +// - ErrCodeInvalidVPCNetworkStateFault "InvalidVPCNetworkStateFault" +// The cluster subnet group does not cover all Availability Zones. // -// * ErrCodeInvalidSubnet "InvalidSubnet" -// The requested subnet is not valid, or not all of the subnets are in the same -// VPC. +// - ErrCodeInvalidClusterSubnetGroupStateFault "InvalidClusterSubnetGroupStateFault" +// The cluster subnet group cannot be deleted because it is in use. // -// * ErrCodeClusterSubnetGroupNotFoundFault "ClusterSubnetGroupNotFoundFault" -// The cluster subnet group name does not refer to an existing cluster subnet -// group. +// - ErrCodeInvalidSubnet "InvalidSubnet" +// The requested subnet is not valid, or not all of the subnets are in the same +// VPC. // -// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" -// Your account is not authorized to perform the requested operation. +// - ErrCodeClusterSubnetGroupNotFoundFault "ClusterSubnetGroupNotFoundFault" +// The cluster subnet group name does not refer to an existing cluster subnet +// group. // -// * ErrCodeHsmClientCertificateNotFoundFault "HsmClientCertificateNotFoundFault" -// There is no Amazon Redshift HSM client certificate with the specified identifier. +// - ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. // -// * ErrCodeHsmConfigurationNotFoundFault "HsmConfigurationNotFoundFault" -// There is no Amazon Redshift HSM configuration with the specified identifier. +// - ErrCodeHsmClientCertificateNotFoundFault "HsmClientCertificateNotFoundFault" +// There is no Amazon Redshift HSM client certificate with the specified identifier. // -// * ErrCodeInvalidElasticIpFault "InvalidElasticIpFault" -// The Elastic IP (EIP) is invalid or cannot be found. +// - ErrCodeHsmConfigurationNotFoundFault "HsmConfigurationNotFoundFault" +// There is no Amazon Redshift HSM configuration with the specified identifier. // -// * ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" -// The parameter group name does not refer to an existing parameter group. +// - ErrCodeInvalidElasticIpFault "InvalidElasticIpFault" +// The Elastic IP (EIP) is invalid or cannot be found. // -// * ErrCodeClusterSecurityGroupNotFoundFault "ClusterSecurityGroupNotFound" -// The cluster security group name does not refer to an existing cluster security -// group. +// - ErrCodeClusterParameterGroupNotFoundFault "ClusterParameterGroupNotFound" +// The parameter group name does not refer to an existing parameter group. // -// * ErrCodeLimitExceededFault "LimitExceededFault" -// The encryption key has exceeded its grant limit in Amazon Web Services KMS. +// - ErrCodeClusterSecurityGroupNotFoundFault "ClusterSecurityGroupNotFound" +// The cluster security group name does not refer to an existing cluster security +// group. // -// * ErrCodeDependentServiceRequestThrottlingFault "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. +// - ErrCodeLimitExceededFault "LimitExceededFault" +// The encryption key has exceeded its grant limit in Amazon Web Services KMS. // -// * ErrCodeInvalidClusterTrackFault "InvalidClusterTrack" -// The provided cluster track name is not valid. +// - ErrCodeDependentServiceRequestThrottlingFault "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. // -// * ErrCodeSnapshotScheduleNotFoundFault "SnapshotScheduleNotFound" -// We could not find the specified snapshot schedule. +// - ErrCodeInvalidClusterTrackFault "InvalidClusterTrack" +// The provided cluster track name is not valid. // -// * ErrCodeTagLimitExceededFault "TagLimitExceededFault" -// You have exceeded the number of tags allowed. +// - ErrCodeSnapshotScheduleNotFoundFault "SnapshotScheduleNotFound" +// We could not find the specified snapshot schedule. // -// * ErrCodeInvalidTagFault "InvalidTagFault" -// The tag is invalid. +// - ErrCodeTagLimitExceededFault "TagLimitExceededFault" +// You have exceeded the number of tags allowed. // -// * ErrCodeReservedNodeNotFoundFault "ReservedNodeNotFound" -// The specified reserved compute node not found. +// - ErrCodeInvalidTagFault "InvalidTagFault" +// The tag is invalid. // -// * ErrCodeInvalidReservedNodeStateFault "InvalidReservedNodeState" -// Indicates that the Reserved Node being exchanged is not in an active state. +// - ErrCodeReservedNodeNotFoundFault "ReservedNodeNotFound" +// The specified reserved compute node not found. // -// * ErrCodeReservedNodeAlreadyMigratedFault "ReservedNodeAlreadyMigrated" -// Indicates that the reserved node has already been exchanged. +// - ErrCodeInvalidReservedNodeStateFault "InvalidReservedNodeState" +// Indicates that the Reserved Node being exchanged is not in an active state. // -// * ErrCodeReservedNodeOfferingNotFoundFault "ReservedNodeOfferingNotFound" -// Specified offering does not exist. +// - ErrCodeReservedNodeAlreadyMigratedFault "ReservedNodeAlreadyMigrated" +// Indicates that the reserved node has already been exchanged. // -// * ErrCodeDependentServiceUnavailableFault "DependentServiceUnavailableFault" -// Your request cannot be completed because a dependent internal service is -// temporarily unavailable. Wait 30 to 60 seconds and try again. +// - ErrCodeReservedNodeOfferingNotFoundFault "ReservedNodeOfferingNotFound" +// Specified offering does not exist. // -// * ErrCodeReservedNodeAlreadyExistsFault "ReservedNodeAlreadyExists" -// User already has a reservation with the given identifier. +// - ErrCodeDependentServiceUnavailableFault "DependentServiceUnavailableFault" +// Your request cannot be completed because a dependent internal service is +// temporarily unavailable. Wait 30 to 60 seconds and try again. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeReservedNodeAlreadyExistsFault "ReservedNodeAlreadyExists" +// User already has a reservation with the given identifier. +// +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreFromClusterSnapshot func (c *Redshift) RestoreFromClusterSnapshot(input *RestoreFromClusterSnapshotInput) (*RestoreFromClusterSnapshotOutput, error) { @@ -12242,14 +12193,13 @@ const opRestoreTableFromClusterSnapshot = "RestoreTableFromClusterSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreTableFromClusterSnapshotRequest method. +// req, resp := client.RestoreTableFromClusterSnapshotRequest(params) // -// // Example sending a request using the RestoreTableFromClusterSnapshotRequest method. -// req, resp := client.RestoreTableFromClusterSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreTableFromClusterSnapshot func (c *Redshift) RestoreTableFromClusterSnapshotRequest(input *RestoreTableFromClusterSnapshotInput) (req *request.Request, output *RestoreTableFromClusterSnapshotOutput) { @@ -12292,29 +12242,30 @@ func (c *Redshift) RestoreTableFromClusterSnapshotRequest(input *RestoreTableFro // API operation RestoreTableFromClusterSnapshot for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" -// The snapshot identifier does not refer to an existing cluster snapshot. // -// * ErrCodeInProgressTableRestoreQuotaExceededFault "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. +// - ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" +// The snapshot identifier does not refer to an existing cluster snapshot. // -// * ErrCodeInvalidClusterSnapshotStateFault "InvalidClusterSnapshotState" -// The specified cluster snapshot is not in the available state, or other accounts -// are authorized to access the snapshot. +// - ErrCodeInProgressTableRestoreQuotaExceededFault "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. // -// * ErrCodeInvalidTableRestoreArgumentFault "InvalidTableRestoreArgument" -// The value specified for the sourceDatabaseName, sourceSchemaName, or sourceTableName -// parameter, or a combination of these, doesn't exist in the snapshot. +// - ErrCodeInvalidClusterSnapshotStateFault "InvalidClusterSnapshotState" +// The specified cluster snapshot is not in the available state, or other accounts +// are authorized to access the snapshot. // -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. +// - ErrCodeInvalidTableRestoreArgumentFault "InvalidTableRestoreArgument" +// The value specified for the sourceDatabaseName, sourceSchemaName, or sourceTableName +// parameter, or a combination of these, doesn't exist in the snapshot. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" -// The requested operation isn't supported. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. +// +// - ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RestoreTableFromClusterSnapshot func (c *Redshift) RestoreTableFromClusterSnapshot(input *RestoreTableFromClusterSnapshotInput) (*RestoreTableFromClusterSnapshotOutput, error) { @@ -12354,14 +12305,13 @@ const opResumeCluster = "ResumeCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResumeClusterRequest method. +// req, resp := client.ResumeClusterRequest(params) // -// // Example sending a request using the ResumeClusterRequest method. -// req, resp := client.ResumeClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResumeCluster func (c *Redshift) ResumeClusterRequest(input *ResumeClusterInput) (req *request.Request, output *ResumeClusterOutput) { @@ -12392,14 +12342,15 @@ func (c *Redshift) ResumeClusterRequest(input *ResumeClusterInput) (req *request // API operation ResumeCluster for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInsufficientClusterCapacityFault "InsufficientClusterCapacity" -// The number of nodes specified exceeds the allotted capacity of the cluster. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. +// +// - ErrCodeInsufficientClusterCapacityFault "InsufficientClusterCapacity" +// The number of nodes specified exceeds the allotted capacity of the cluster. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ResumeCluster func (c *Redshift) ResumeCluster(input *ResumeClusterInput) (*ResumeClusterOutput, error) { @@ -12439,14 +12390,13 @@ const opRevokeClusterSecurityGroupIngress = "RevokeClusterSecurityGroupIngress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeClusterSecurityGroupIngressRequest method. +// req, resp := client.RevokeClusterSecurityGroupIngressRequest(params) // -// // Example sending a request using the RevokeClusterSecurityGroupIngressRequest method. -// req, resp := client.RevokeClusterSecurityGroupIngressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeClusterSecurityGroupIngress func (c *Redshift) RevokeClusterSecurityGroupIngressRequest(input *RevokeClusterSecurityGroupIngressInput) (req *request.Request, output *RevokeClusterSecurityGroupIngressOutput) { @@ -12481,16 +12431,17 @@ func (c *Redshift) RevokeClusterSecurityGroupIngressRequest(input *RevokeCluster // API operation RevokeClusterSecurityGroupIngress for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterSecurityGroupNotFoundFault "ClusterSecurityGroupNotFound" -// The cluster security group name does not refer to an existing cluster security -// group. // -// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" -// The specified CIDR IP range or EC2 security group is not authorized for the -// specified cluster security group. +// - ErrCodeClusterSecurityGroupNotFoundFault "ClusterSecurityGroupNotFound" +// The cluster security group name does not refer to an existing cluster security +// group. // -// * ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" -// The state of the cluster security group is not available. +// - ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// The specified CIDR IP range or EC2 security group is not authorized for the +// specified cluster security group. +// +// - ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" +// The state of the cluster security group is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeClusterSecurityGroupIngress func (c *Redshift) RevokeClusterSecurityGroupIngress(input *RevokeClusterSecurityGroupIngressInput) (*RevokeClusterSecurityGroupIngressOutput, error) { @@ -12530,14 +12481,13 @@ const opRevokeEndpointAccess = "RevokeEndpointAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeEndpointAccessRequest method. +// req, resp := client.RevokeEndpointAccessRequest(params) // -// // Example sending a request using the RevokeEndpointAccessRequest method. -// req, resp := client.RevokeEndpointAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeEndpointAccess func (c *Redshift) RevokeEndpointAccessRequest(input *RevokeEndpointAccessInput) (req *request.Request, output *RevokeEndpointAccessOutput) { @@ -12568,26 +12518,27 @@ func (c *Redshift) RevokeEndpointAccessRequest(input *RevokeEndpointAccessInput) // API operation RevokeEndpointAccess for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidEndpointStateFault "InvalidEndpointState" -// The status of the endpoint is not valid. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" -// The state of the cluster security group is not available. +// - ErrCodeInvalidEndpointStateFault "InvalidEndpointState" +// The status of the endpoint is not valid. // -// * ErrCodeEndpointNotFoundFault "EndpointNotFound" -// The endpoint name doesn't refer to an existing endpoint. +// - ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" +// The state of the cluster security group is not available. // -// * ErrCodeEndpointAuthorizationNotFoundFault "EndpointAuthorizationNotFound" -// The authorization for this endpoint can't be found. +// - ErrCodeEndpointNotFoundFault "EndpointNotFound" +// The endpoint name doesn't refer to an existing endpoint. // -// * ErrCodeInvalidAuthorizationStateFault "InvalidAuthorizationState" -// The status of the authorization is not valid. +// - ErrCodeEndpointAuthorizationNotFoundFault "EndpointAuthorizationNotFound" +// The authorization for this endpoint can't be found. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeInvalidAuthorizationStateFault "InvalidAuthorizationState" +// The status of the authorization is not valid. +// +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeEndpointAccess func (c *Redshift) RevokeEndpointAccess(input *RevokeEndpointAccessInput) (*RevokeEndpointAccessOutput, error) { @@ -12627,14 +12578,13 @@ const opRevokeSnapshotAccess = "RevokeSnapshotAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeSnapshotAccessRequest method. +// req, resp := client.RevokeSnapshotAccessRequest(params) // -// // Example sending a request using the RevokeSnapshotAccessRequest method. -// req, resp := client.RevokeSnapshotAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccess func (c *Redshift) RevokeSnapshotAccessRequest(input *RevokeSnapshotAccessInput) (req *request.Request, output *RevokeSnapshotAccessOutput) { @@ -12671,16 +12621,17 @@ func (c *Redshift) RevokeSnapshotAccessRequest(input *RevokeSnapshotAccessInput) // API operation RevokeSnapshotAccess for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessToSnapshotDeniedFault "AccessToSnapshotDenied" -// The owner of the specified snapshot has not authorized your account to access -// the snapshot. // -// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" -// The specified CIDR IP range or EC2 security group is not authorized for the -// specified cluster security group. +// - ErrCodeAccessToSnapshotDeniedFault "AccessToSnapshotDenied" +// The owner of the specified snapshot has not authorized your account to access +// the snapshot. // -// * ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" -// The snapshot identifier does not refer to an existing cluster snapshot. +// - ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// The specified CIDR IP range or EC2 security group is not authorized for the +// specified cluster security group. +// +// - ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" +// The snapshot identifier does not refer to an existing cluster snapshot. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccess func (c *Redshift) RevokeSnapshotAccess(input *RevokeSnapshotAccessInput) (*RevokeSnapshotAccessOutput, error) { @@ -12720,14 +12671,13 @@ const opRotateEncryptionKey = "RotateEncryptionKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RotateEncryptionKeyRequest method. +// req, resp := client.RotateEncryptionKeyRequest(params) // -// // Example sending a request using the RotateEncryptionKeyRequest method. -// req, resp := client.RotateEncryptionKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKey func (c *Redshift) RotateEncryptionKeyRequest(input *RotateEncryptionKeyInput) (req *request.Request, output *RotateEncryptionKeyOutput) { @@ -12758,15 +12708,16 @@ func (c *Redshift) RotateEncryptionKeyRequest(input *RotateEncryptionKeyInput) ( // API operation RotateEncryptionKey for usage and error information. // // Returned Error Codes: -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeInvalidClusterStateFault "InvalidClusterState" -// The specified cluster is not in the available state. +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeDependentServiceRequestThrottlingFault "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. +// - ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. +// +// - ErrCodeDependentServiceRequestThrottlingFault "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. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RotateEncryptionKey func (c *Redshift) RotateEncryptionKey(input *RotateEncryptionKeyInput) (*RotateEncryptionKeyOutput, error) { @@ -12806,14 +12757,13 @@ const opUpdatePartnerStatus = "UpdatePartnerStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePartnerStatusRequest method. +// req, resp := client.UpdatePartnerStatusRequest(params) // -// // Example sending a request using the UpdatePartnerStatusRequest method. -// req, resp := client.UpdatePartnerStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/UpdatePartnerStatus func (c *Redshift) UpdatePartnerStatusRequest(input *UpdatePartnerStatusInput) (req *request.Request, output *UpdatePartnerStatusOutput) { @@ -12844,14 +12794,15 @@ func (c *Redshift) UpdatePartnerStatusRequest(input *UpdatePartnerStatusInput) ( // API operation UpdatePartnerStatus for usage and error information. // // Returned Error Codes: -// * ErrCodePartnerNotFoundFault "PartnerNotFound" -// The name of the partner was not found. // -// * ErrCodeClusterNotFoundFault "ClusterNotFound" -// The ClusterIdentifier parameter does not refer to an existing cluster. +// - ErrCodePartnerNotFoundFault "PartnerNotFound" +// The name of the partner was not found. +// +// - ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeUnauthorizedPartnerIntegrationFault "UnauthorizedPartnerIntegration" -// The partner integration is not authorized. +// - ErrCodeUnauthorizedPartnerIntegrationFault "UnauthorizedPartnerIntegration" +// The partner integration is not authorized. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/UpdatePartnerStatus func (c *Redshift) UpdatePartnerStatus(input *UpdatePartnerStatusInput) (*UpdatePartnerStatusOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/doc.go index aac7cb405819..3c9192d98108 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/doc.go @@ -3,7 +3,7 @@ // Package redshift provides the client and types for making API // requests to Amazon Redshift. // -// Overview +// # 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 @@ -33,7 +33,7 @@ // See redshift package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/redshift/ // -// Using the Client +// # Using the Client // // To contact 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. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/redshiftiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/redshiftiface/interface.go index f1c1e42ab1c4..44b5777ec476 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/redshiftiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/redshiftiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into 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.AcceptReservedNodeExchange request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Redshift. +// func myFunc(svc redshiftiface.RedshiftAPI) bool { +// // Make svc.AcceptReservedNodeExchange request +// } // -// func main() { -// sess := session.New() -// svc := redshift.New(sess) +// func main() { +// sess := session.New() +// svc := redshift.New(sess) // -// myFunc(svc) -// } +// 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) AcceptReservedNodeExchange(input *redshift.AcceptReservedNodeExchangeInput) (*redshift.AcceptReservedNodeExchangeOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRedshiftClient struct { +// redshiftiface.RedshiftAPI +// } +// func (m *mockRedshiftClient) AcceptReservedNodeExchange(input *redshift.AcceptReservedNodeExchangeInput) (*redshift.AcceptReservedNodeExchangeOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRedshiftClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRedshiftClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/service.go index 3728f125a524..c00aad1c79ee 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshift/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Redshift client from just a session. -// svc := redshift.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Redshift client with additional configuration -// svc := redshift.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // 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...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/api.go index 158b292d8b7e..0d86f6c26454 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/api.go @@ -28,14 +28,13 @@ const opBatchExecuteStatement = "BatchExecuteStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchExecuteStatementRequest method. +// req, resp := client.BatchExecuteStatementRequest(params) // -// // Example sending a request using the BatchExecuteStatementRequest method. -// req, resp := client.BatchExecuteStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/BatchExecuteStatement func (c *RedshiftDataAPIService) BatchExecuteStatementRequest(input *BatchExecuteStatementInput) (req *request.Request, output *BatchExecuteStatementOutput) { @@ -60,16 +59,16 @@ func (c *RedshiftDataAPIService) BatchExecuteStatementRequest(input *BatchExecut // (DML) or data definition language (DDL). Depending on the authorization method, // use one of the following combinations of request parameters: // -// * Secrets Manager - when connecting to a cluster, specify the Amazon Resource -// Name (ARN) of the secret, the database name, and the cluster identifier -// that matches the cluster in the secret. When connecting to a serverless -// endpoint, specify the Amazon Resource Name (ARN) of the secret and the -// database name. +// - Secrets Manager - when connecting to a cluster, specify the Amazon Resource +// Name (ARN) of the secret, the database name, and the cluster identifier +// that matches the cluster in the secret. When connecting to a serverless +// endpoint, specify the Amazon Resource Name (ARN) of the secret and the +// database name. // -// * Temporary credentials - when connecting to a cluster, specify the cluster -// identifier, the database name, and the database user name. Also, permission -// to call the redshift:GetClusterCredentials operation is required. When -// connecting to a serverless endpoint, specify the database name. +// - Temporary credentials - when connecting to a cluster, specify the cluster +// identifier, the database name, and the database user name. Also, permission +// to call the redshift:GetClusterCredentials operation is required. When +// connecting to a serverless endpoint, specify the database name. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -79,14 +78,15 @@ func (c *RedshiftDataAPIService) BatchExecuteStatementRequest(input *BatchExecut // API operation BatchExecuteStatement for usage and error information. // // Returned Error Types: -// * ValidationException -// The Amazon Redshift Data API operation failed due to invalid input. // -// * ActiveStatementsExceededException -// The number of active statements exceeds the limit. +// - ValidationException +// The Amazon Redshift Data API operation failed due to invalid input. +// +// - ActiveStatementsExceededException +// The number of active statements exceeds the limit. // -// * BatchExecuteStatementException -// An SQL statement encountered an environmental error while running. +// - BatchExecuteStatementException +// An SQL statement encountered an environmental error while running. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/BatchExecuteStatement func (c *RedshiftDataAPIService) BatchExecuteStatement(input *BatchExecuteStatementInput) (*BatchExecuteStatementOutput, error) { @@ -126,14 +126,13 @@ const opCancelStatement = "CancelStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelStatementRequest method. +// req, resp := client.CancelStatementRequest(params) // -// // Example sending a request using the CancelStatementRequest method. -// req, resp := client.CancelStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/CancelStatement func (c *RedshiftDataAPIService) CancelStatementRequest(input *CancelStatementInput) (req *request.Request, output *CancelStatementOutput) { @@ -164,17 +163,18 @@ func (c *RedshiftDataAPIService) CancelStatementRequest(input *CancelStatementIn // API operation CancelStatement for usage and error information. // // Returned Error Types: -// * ValidationException -// The Amazon Redshift Data API operation failed due to invalid input. // -// * ResourceNotFoundException -// The Amazon Redshift Data API operation failed due to a missing resource. +// - ValidationException +// The Amazon Redshift Data API operation failed due to invalid input. +// +// - ResourceNotFoundException +// The Amazon Redshift Data API operation failed due to a missing resource. // -// * InternalServerException -// The Amazon Redshift Data API operation failed due to invalid input. +// - InternalServerException +// The Amazon Redshift Data API operation failed due to invalid input. // -// * DatabaseConnectionException -// Connection to a database failed. +// - DatabaseConnectionException +// Connection to a database failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/CancelStatement func (c *RedshiftDataAPIService) CancelStatement(input *CancelStatementInput) (*CancelStatementOutput, error) { @@ -214,14 +214,13 @@ const opDescribeStatement = "DescribeStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStatementRequest method. +// req, resp := client.DescribeStatementRequest(params) // -// // Example sending a request using the DescribeStatementRequest method. -// req, resp := client.DescribeStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/DescribeStatement func (c *RedshiftDataAPIService) DescribeStatementRequest(input *DescribeStatementInput) (req *request.Request, output *DescribeStatementOutput) { @@ -255,14 +254,15 @@ func (c *RedshiftDataAPIService) DescribeStatementRequest(input *DescribeStateme // API operation DescribeStatement for usage and error information. // // Returned Error Types: -// * ValidationException -// The Amazon Redshift Data API operation failed due to invalid input. // -// * ResourceNotFoundException -// The Amazon Redshift Data API operation failed due to a missing resource. +// - ValidationException +// The Amazon Redshift Data API operation failed due to invalid input. +// +// - ResourceNotFoundException +// The Amazon Redshift Data API operation failed due to a missing resource. // -// * InternalServerException -// The Amazon Redshift Data API operation failed due to invalid input. +// - InternalServerException +// The Amazon Redshift Data API operation failed due to invalid input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/DescribeStatement func (c *RedshiftDataAPIService) DescribeStatement(input *DescribeStatementInput) (*DescribeStatementOutput, error) { @@ -302,14 +302,13 @@ const opDescribeTable = "DescribeTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTableRequest method. +// req, resp := client.DescribeTableRequest(params) // -// // Example sending a request using the DescribeTableRequest method. -// req, resp := client.DescribeTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/DescribeTable func (c *RedshiftDataAPIService) DescribeTableRequest(input *DescribeTableInput) (req *request.Request, output *DescribeTableOutput) { @@ -341,16 +340,16 @@ func (c *RedshiftDataAPIService) DescribeTableRequest(input *DescribeTableInput) // the column list. Depending on the authorization method, use one of the following // combinations of request parameters: // -// * Secrets Manager - when connecting to a cluster, specify the Amazon Resource -// Name (ARN) of the secret, the database name, and the cluster identifier -// that matches the cluster in the secret. When connecting to a serverless -// endpoint, specify the Amazon Resource Name (ARN) of the secret and the -// database name. +// - Secrets Manager - when connecting to a cluster, specify the Amazon Resource +// Name (ARN) of the secret, the database name, and the cluster identifier +// that matches the cluster in the secret. When connecting to a serverless +// endpoint, specify the Amazon Resource Name (ARN) of the secret and the +// database name. // -// * Temporary credentials - when connecting to a cluster, specify the cluster -// identifier, the database name, and the database user name. Also, permission -// to call the redshift:GetClusterCredentials operation is required. When -// connecting to a serverless endpoint, specify the database name. +// - Temporary credentials - when connecting to a cluster, specify the cluster +// identifier, the database name, and the database user name. Also, permission +// to call the redshift:GetClusterCredentials operation is required. When +// connecting to a serverless endpoint, specify the database name. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -360,14 +359,15 @@ func (c *RedshiftDataAPIService) DescribeTableRequest(input *DescribeTableInput) // API operation DescribeTable for usage and error information. // // Returned Error Types: -// * ValidationException -// The Amazon Redshift Data API operation failed due to invalid input. // -// * InternalServerException -// The Amazon Redshift Data API operation failed due to invalid input. +// - ValidationException +// The Amazon Redshift Data API operation failed due to invalid input. // -// * DatabaseConnectionException -// Connection to a database failed. +// - InternalServerException +// The Amazon Redshift Data API operation failed due to invalid input. +// +// - DatabaseConnectionException +// Connection to a database failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/DescribeTable func (c *RedshiftDataAPIService) DescribeTable(input *DescribeTableInput) (*DescribeTableOutput, error) { @@ -399,15 +399,14 @@ func (c *RedshiftDataAPIService) DescribeTableWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTable operation. -// pageNum := 0 -// err := client.DescribeTablePages(params, -// func(page *redshiftdataapiservice.DescribeTableOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTable operation. +// pageNum := 0 +// err := client.DescribeTablePages(params, +// func(page *redshiftdataapiservice.DescribeTableOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RedshiftDataAPIService) DescribeTablePages(input *DescribeTableInput, fn func(*DescribeTableOutput, bool) bool) error { return c.DescribeTablePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -459,14 +458,13 @@ const opExecuteStatement = "ExecuteStatement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExecuteStatementRequest method. +// req, resp := client.ExecuteStatementRequest(params) // -// // Example sending a request using the ExecuteStatementRequest method. -// req, resp := client.ExecuteStatementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ExecuteStatement func (c *RedshiftDataAPIService) ExecuteStatementRequest(input *ExecuteStatementInput) (req *request.Request, output *ExecuteStatementOutput) { @@ -492,16 +490,16 @@ func (c *RedshiftDataAPIService) ExecuteStatementRequest(input *ExecuteStatement // Depending on the authorization method, use one of the following combinations // of request parameters: // -// * Secrets Manager - when connecting to a cluster, specify the Amazon Resource -// Name (ARN) of the secret, the database name, and the cluster identifier -// that matches the cluster in the secret. When connecting to a serverless -// endpoint, specify the Amazon Resource Name (ARN) of the secret and the -// database name. +// - Secrets Manager - when connecting to a cluster, specify the Amazon Resource +// Name (ARN) of the secret, the database name, and the cluster identifier +// that matches the cluster in the secret. When connecting to a serverless +// endpoint, specify the Amazon Resource Name (ARN) of the secret and the +// database name. // -// * Temporary credentials - when connecting to a cluster, specify the cluster -// identifier, the database name, and the database user name. Also, permission -// to call the redshift:GetClusterCredentials operation is required. When -// connecting to a serverless endpoint, specify the database name. +// - Temporary credentials - when connecting to a cluster, specify the cluster +// identifier, the database name, and the database user name. Also, permission +// to call the redshift:GetClusterCredentials operation is required. When +// connecting to a serverless endpoint, specify the database name. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -511,14 +509,15 @@ func (c *RedshiftDataAPIService) ExecuteStatementRequest(input *ExecuteStatement // API operation ExecuteStatement for usage and error information. // // Returned Error Types: -// * ValidationException -// The Amazon Redshift Data API operation failed due to invalid input. // -// * ExecuteStatementException -// The SQL statement encountered an environmental error while running. +// - ValidationException +// The Amazon Redshift Data API operation failed due to invalid input. // -// * ActiveStatementsExceededException -// The number of active statements exceeds the limit. +// - ExecuteStatementException +// The SQL statement encountered an environmental error while running. +// +// - ActiveStatementsExceededException +// The number of active statements exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ExecuteStatement func (c *RedshiftDataAPIService) ExecuteStatement(input *ExecuteStatementInput) (*ExecuteStatementOutput, error) { @@ -558,14 +557,13 @@ const opGetStatementResult = "GetStatementResult" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStatementResultRequest method. +// req, resp := client.GetStatementResultRequest(params) // -// // Example sending a request using the GetStatementResultRequest method. -// req, resp := client.GetStatementResultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/GetStatementResult func (c *RedshiftDataAPIService) GetStatementResultRequest(input *GetStatementResultInput) (req *request.Request, output *GetStatementResultOutput) { @@ -603,14 +601,15 @@ func (c *RedshiftDataAPIService) GetStatementResultRequest(input *GetStatementRe // API operation GetStatementResult for usage and error information. // // Returned Error Types: -// * ValidationException -// The Amazon Redshift Data API operation failed due to invalid input. // -// * ResourceNotFoundException -// The Amazon Redshift Data API operation failed due to a missing resource. +// - ValidationException +// The Amazon Redshift Data API operation failed due to invalid input. +// +// - ResourceNotFoundException +// The Amazon Redshift Data API operation failed due to a missing resource. // -// * InternalServerException -// The Amazon Redshift Data API operation failed due to invalid input. +// - InternalServerException +// The Amazon Redshift Data API operation failed due to invalid input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/GetStatementResult func (c *RedshiftDataAPIService) GetStatementResult(input *GetStatementResultInput) (*GetStatementResultOutput, error) { @@ -642,15 +641,14 @@ func (c *RedshiftDataAPIService) GetStatementResultWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetStatementResult operation. -// pageNum := 0 -// err := client.GetStatementResultPages(params, -// func(page *redshiftdataapiservice.GetStatementResultOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetStatementResult operation. +// pageNum := 0 +// err := client.GetStatementResultPages(params, +// func(page *redshiftdataapiservice.GetStatementResultOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RedshiftDataAPIService) GetStatementResultPages(input *GetStatementResultInput, fn func(*GetStatementResultOutput, bool) bool) error { return c.GetStatementResultPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -702,14 +700,13 @@ const opListDatabases = "ListDatabases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatabasesRequest method. +// req, resp := client.ListDatabasesRequest(params) // -// // Example sending a request using the ListDatabasesRequest method. -// req, resp := client.ListDatabasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListDatabases func (c *RedshiftDataAPIService) ListDatabasesRequest(input *ListDatabasesInput) (req *request.Request, output *ListDatabasesOutput) { @@ -740,16 +737,16 @@ func (c *RedshiftDataAPIService) ListDatabasesRequest(input *ListDatabasesInput) // database list. Depending on the authorization method, use one of the following // combinations of request parameters: // -// * Secrets Manager - when connecting to a cluster, specify the Amazon Resource -// Name (ARN) of the secret, the database name, and the cluster identifier -// that matches the cluster in the secret. When connecting to a serverless -// endpoint, specify the Amazon Resource Name (ARN) of the secret and the -// database name. +// - Secrets Manager - when connecting to a cluster, specify the Amazon Resource +// Name (ARN) of the secret, the database name, and the cluster identifier +// that matches the cluster in the secret. When connecting to a serverless +// endpoint, specify the Amazon Resource Name (ARN) of the secret and the +// database name. // -// * Temporary credentials - when connecting to a cluster, specify the cluster -// identifier, the database name, and the database user name. Also, permission -// to call the redshift:GetClusterCredentials operation is required. When -// connecting to a serverless endpoint, specify the database name. +// - Temporary credentials - when connecting to a cluster, specify the cluster +// identifier, the database name, and the database user name. Also, permission +// to call the redshift:GetClusterCredentials operation is required. When +// connecting to a serverless endpoint, specify the database name. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -759,14 +756,15 @@ func (c *RedshiftDataAPIService) ListDatabasesRequest(input *ListDatabasesInput) // API operation ListDatabases for usage and error information. // // Returned Error Types: -// * ValidationException -// The Amazon Redshift Data API operation failed due to invalid input. // -// * InternalServerException -// The Amazon Redshift Data API operation failed due to invalid input. +// - ValidationException +// The Amazon Redshift Data API operation failed due to invalid input. // -// * DatabaseConnectionException -// Connection to a database failed. +// - InternalServerException +// The Amazon Redshift Data API operation failed due to invalid input. +// +// - DatabaseConnectionException +// Connection to a database failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListDatabases func (c *RedshiftDataAPIService) ListDatabases(input *ListDatabasesInput) (*ListDatabasesOutput, error) { @@ -798,15 +796,14 @@ func (c *RedshiftDataAPIService) ListDatabasesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatabases operation. -// pageNum := 0 -// err := client.ListDatabasesPages(params, -// func(page *redshiftdataapiservice.ListDatabasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatabases operation. +// pageNum := 0 +// err := client.ListDatabasesPages(params, +// func(page *redshiftdataapiservice.ListDatabasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RedshiftDataAPIService) ListDatabasesPages(input *ListDatabasesInput, fn func(*ListDatabasesOutput, bool) bool) error { return c.ListDatabasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -858,14 +855,13 @@ const opListSchemas = "ListSchemas" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSchemasRequest method. +// req, resp := client.ListSchemasRequest(params) // -// // Example sending a request using the ListSchemasRequest method. -// req, resp := client.ListSchemasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListSchemas func (c *RedshiftDataAPIService) ListSchemasRequest(input *ListSchemasInput) (req *request.Request, output *ListSchemasOutput) { @@ -896,16 +892,16 @@ func (c *RedshiftDataAPIService) ListSchemasRequest(input *ListSchemasInput) (re // schema list. Depending on the authorization method, use one of the following // combinations of request parameters: // -// * Secrets Manager - when connecting to a cluster, specify the Amazon Resource -// Name (ARN) of the secret, the database name, and the cluster identifier -// that matches the cluster in the secret. When connecting to a serverless -// endpoint, specify the Amazon Resource Name (ARN) of the secret and the -// database name. +// - Secrets Manager - when connecting to a cluster, specify the Amazon Resource +// Name (ARN) of the secret, the database name, and the cluster identifier +// that matches the cluster in the secret. When connecting to a serverless +// endpoint, specify the Amazon Resource Name (ARN) of the secret and the +// database name. // -// * Temporary credentials - when connecting to a cluster, specify the cluster -// identifier, the database name, and the database user name. Also, permission -// to call the redshift:GetClusterCredentials operation is required. When -// connecting to a serverless endpoint, specify the database name. +// - Temporary credentials - when connecting to a cluster, specify the cluster +// identifier, the database name, and the database user name. Also, permission +// to call the redshift:GetClusterCredentials operation is required. When +// connecting to a serverless endpoint, specify the database name. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -915,14 +911,15 @@ func (c *RedshiftDataAPIService) ListSchemasRequest(input *ListSchemasInput) (re // API operation ListSchemas for usage and error information. // // Returned Error Types: -// * ValidationException -// The Amazon Redshift Data API operation failed due to invalid input. // -// * InternalServerException -// The Amazon Redshift Data API operation failed due to invalid input. +// - ValidationException +// The Amazon Redshift Data API operation failed due to invalid input. +// +// - InternalServerException +// The Amazon Redshift Data API operation failed due to invalid input. // -// * DatabaseConnectionException -// Connection to a database failed. +// - DatabaseConnectionException +// Connection to a database failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListSchemas func (c *RedshiftDataAPIService) ListSchemas(input *ListSchemasInput) (*ListSchemasOutput, error) { @@ -954,15 +951,14 @@ func (c *RedshiftDataAPIService) ListSchemasWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSchemas operation. -// pageNum := 0 -// err := client.ListSchemasPages(params, -// func(page *redshiftdataapiservice.ListSchemasOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSchemas operation. +// pageNum := 0 +// err := client.ListSchemasPages(params, +// func(page *redshiftdataapiservice.ListSchemasOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RedshiftDataAPIService) ListSchemasPages(input *ListSchemasInput, fn func(*ListSchemasOutput, bool) bool) error { return c.ListSchemasPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1014,14 +1010,13 @@ const opListStatements = "ListStatements" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStatementsRequest method. +// req, resp := client.ListStatementsRequest(params) // -// // Example sending a request using the ListStatementsRequest method. -// req, resp := client.ListStatementsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListStatements func (c *RedshiftDataAPIService) ListStatementsRequest(input *ListStatementsInput) (req *request.Request, output *ListStatementsOutput) { @@ -1059,11 +1054,12 @@ func (c *RedshiftDataAPIService) ListStatementsRequest(input *ListStatementsInpu // API operation ListStatements for usage and error information. // // Returned Error Types: -// * ValidationException -// The Amazon Redshift Data API operation failed due to invalid input. // -// * InternalServerException -// The Amazon Redshift Data API operation failed due to invalid input. +// - ValidationException +// The Amazon Redshift Data API operation failed due to invalid input. +// +// - InternalServerException +// The Amazon Redshift Data API operation failed due to invalid input. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListStatements func (c *RedshiftDataAPIService) ListStatements(input *ListStatementsInput) (*ListStatementsOutput, error) { @@ -1095,15 +1091,14 @@ func (c *RedshiftDataAPIService) ListStatementsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStatements operation. -// pageNum := 0 -// err := client.ListStatementsPages(params, -// func(page *redshiftdataapiservice.ListStatementsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStatements operation. +// pageNum := 0 +// err := client.ListStatementsPages(params, +// func(page *redshiftdataapiservice.ListStatementsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RedshiftDataAPIService) ListStatementsPages(input *ListStatementsInput, fn func(*ListStatementsOutput, bool) bool) error { return c.ListStatementsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1155,14 +1150,13 @@ const opListTables = "ListTables" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTablesRequest method. +// req, resp := client.ListTablesRequest(params) // -// // Example sending a request using the ListTablesRequest method. -// req, resp := client.ListTablesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListTables func (c *RedshiftDataAPIService) ListTablesRequest(input *ListTablesInput) (req *request.Request, output *ListTablesOutput) { @@ -1194,16 +1188,16 @@ func (c *RedshiftDataAPIService) ListTablesRequest(input *ListTablesInput) (req // to page through the table list. Depending on the authorization method, use // one of the following combinations of request parameters: // -// * Secrets Manager - when connecting to a cluster, specify the Amazon Resource -// Name (ARN) of the secret, the database name, and the cluster identifier -// that matches the cluster in the secret. When connecting to a serverless -// endpoint, specify the Amazon Resource Name (ARN) of the secret and the -// database name. +// - Secrets Manager - when connecting to a cluster, specify the Amazon Resource +// Name (ARN) of the secret, the database name, and the cluster identifier +// that matches the cluster in the secret. When connecting to a serverless +// endpoint, specify the Amazon Resource Name (ARN) of the secret and the +// database name. // -// * Temporary credentials - when connecting to a cluster, specify the cluster -// identifier, the database name, and the database user name. Also, permission -// to call the redshift:GetClusterCredentials operation is required. When -// connecting to a serverless endpoint, specify the database name. +// - Temporary credentials - when connecting to a cluster, specify the cluster +// identifier, the database name, and the database user name. Also, permission +// to call the redshift:GetClusterCredentials operation is required. When +// connecting to a serverless endpoint, specify the database name. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1213,14 +1207,15 @@ func (c *RedshiftDataAPIService) ListTablesRequest(input *ListTablesInput) (req // API operation ListTables for usage and error information. // // Returned Error Types: -// * ValidationException -// The Amazon Redshift Data API operation failed due to invalid input. // -// * InternalServerException -// The Amazon Redshift Data API operation failed due to invalid input. +// - ValidationException +// The Amazon Redshift Data API operation failed due to invalid input. +// +// - InternalServerException +// The Amazon Redshift Data API operation failed due to invalid input. // -// * DatabaseConnectionException -// Connection to a database failed. +// - DatabaseConnectionException +// Connection to a database failed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListTables func (c *RedshiftDataAPIService) ListTables(input *ListTablesInput) (*ListTablesOutput, error) { @@ -1252,15 +1247,14 @@ func (c *RedshiftDataAPIService) ListTablesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTables operation. -// pageNum := 0 -// err := client.ListTablesPages(params, -// func(page *redshiftdataapiservice.ListTablesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTables operation. +// pageNum := 0 +// err := client.ListTablesPages(params, +// func(page *redshiftdataapiservice.ListTablesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RedshiftDataAPIService) ListTablesPages(input *ListTablesInput, fn func(*ListTablesOutput, bool) bool) error { return c.ListTablesPagesWithContext(aws.BackgroundContext(), input, fn) } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/doc.go index 979fecbf8f8d..4d5f48907988 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/doc.go @@ -16,7 +16,7 @@ // See redshiftdataapiservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/redshiftdataapiservice/ // -// Using the Client +// # Using the Client // // To contact Redshift Data API Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/redshiftdataapiserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/redshiftdataapiserviceiface/interface.go index e924c7c6d490..c14d05e43fae 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/redshiftdataapiserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/redshiftdataapiserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Redshift Data API Service. -// func myFunc(svc redshiftdataapiserviceiface.RedshiftDataAPIServiceAPI) bool { -// // Make svc.BatchExecuteStatement request -// } +// // myFunc uses an SDK service client to make a request to +// // Redshift Data API Service. +// func myFunc(svc redshiftdataapiserviceiface.RedshiftDataAPIServiceAPI) bool { +// // Make svc.BatchExecuteStatement request +// } // -// func main() { -// sess := session.New() -// svc := redshiftdataapiservice.New(sess) +// func main() { +// sess := session.New() +// svc := redshiftdataapiservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRedshiftDataAPIServiceClient struct { -// redshiftdataapiserviceiface.RedshiftDataAPIServiceAPI -// } -// func (m *mockRedshiftDataAPIServiceClient) BatchExecuteStatement(input *redshiftdataapiservice.BatchExecuteStatementInput) (*redshiftdataapiservice.BatchExecuteStatementOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRedshiftDataAPIServiceClient struct { +// redshiftdataapiserviceiface.RedshiftDataAPIServiceAPI +// } +// func (m *mockRedshiftDataAPIServiceClient) BatchExecuteStatement(input *redshiftdataapiservice.BatchExecuteStatementInput) (*redshiftdataapiservice.BatchExecuteStatementOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRedshiftDataAPIServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRedshiftDataAPIServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/service.go index f61d8b4baa03..85f9818a52e6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/redshiftdataapiservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a RedshiftDataAPIService client from just a session. -// svc := redshiftdataapiservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a RedshiftDataAPIService client with additional configuration -// svc := redshiftdataapiservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a RedshiftDataAPIService client from just a session. +// svc := redshiftdataapiservice.New(mySession) +// +// // Create a RedshiftDataAPIService client with additional configuration +// svc := redshiftdataapiservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *RedshiftDataAPIService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/api.go index 57083ddfb7d1..10931a909474 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/api.go @@ -29,14 +29,13 @@ const opCompareFaces = "CompareFaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CompareFacesRequest method. +// req, resp := client.CompareFacesRequest(params) // -// // Example sending a request using the CompareFacesRequest method. -// req, resp := client.CompareFacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) CompareFacesRequest(input *CompareFacesInput) (req *request.Request, output *CompareFacesOutput) { op := &request.Operation{ Name: opCompareFaces, @@ -122,36 +121,36 @@ func (c *Rekognition) CompareFacesRequest(input *CompareFacesInput) (req *reques // API operation CompareFaces for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. // -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ImageTooLargeException -// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, -// the image size or resolution exceeds the allowed limit. For more information, -// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition -// Developer Guide. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - ImageTooLargeException +// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, +// the image size or resolution exceeds the allowed limit. For more information, +// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition +// Developer Guide. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidImageFormatException -// The provided image format is not supported. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // +// - InvalidImageFormatException +// The provided image format is not supported. func (c *Rekognition) CompareFaces(input *CompareFacesInput) (*CompareFacesOutput, error) { req, out := c.CompareFacesRequest(input) return out, req.Send() @@ -189,14 +188,13 @@ const opCreateCollection = "CreateCollection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCollectionRequest method. +// req, resp := client.CreateCollectionRequest(params) // -// // Example sending a request using the CreateCollectionRequest method. -// req, resp := client.CreateCollectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) CreateCollectionRequest(input *CreateCollectionInput) (req *request.Request, output *CreateCollectionOutput) { op := &request.Operation{ Name: opCreateCollection, @@ -240,32 +238,32 @@ func (c *Rekognition) CreateCollectionRequest(input *CreateCollectionInput) (req // API operation CreateCollection for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * ResourceAlreadyExistsException -// A resource with the specified ID already exists. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ServiceQuotaExceededException -// The size of the collection exceeds the allowed limit. For more information, -// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition -// Developer Guide. +// - ResourceAlreadyExistsException +// A resource with the specified ID already exists. // +// - ServiceQuotaExceededException +// The size of the collection exceeds the allowed limit. For more information, +// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition +// Developer Guide. func (c *Rekognition) CreateCollection(input *CreateCollectionInput) (*CreateCollectionOutput, error) { req, out := c.CreateCollectionRequest(input) return out, req.Send() @@ -303,14 +301,13 @@ const opCreateDataset = "CreateDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatasetRequest method. +// req, resp := client.CreateDatasetRequest(params) // -// // Example sending a request using the CreateDatasetRequest method. -// req, resp := client.CreateDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) CreateDatasetRequest(input *CreateDatasetInput) (req *request.Request, output *CreateDatasetOutput) { op := &request.Operation{ Name: opCreateDataset, @@ -363,40 +360,40 @@ func (c *Rekognition) CreateDatasetRequest(input *CreateDatasetInput) (req *requ // API operation CreateDataset for usage and error information. // // Returned Error Types: -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // -// * ResourceAlreadyExistsException -// A resource with the specified ID already exists. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ResourceAlreadyExistsException +// A resource with the specified ID already exists. // +// - ResourceNotFoundException +// The resource specified in the request cannot be found. func (c *Rekognition) CreateDataset(input *CreateDatasetInput) (*CreateDatasetOutput, error) { req, out := c.CreateDatasetRequest(input) return out, req.Send() @@ -434,14 +431,13 @@ const opCreateProject = "CreateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProjectRequest method. +// req, resp := client.CreateProjectRequest(params) // -// // Example sending a request using the CreateProjectRequest method. -// req, resp := client.CreateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) { op := &request.Operation{ Name: opCreateProject, @@ -475,34 +471,34 @@ func (c *Rekognition) CreateProjectRequest(input *CreateProjectInput) (req *requ // API operation CreateProject for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The specified resource is already being used. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - ResourceInUseException +// The specified resource is already being used. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) { req, out := c.CreateProjectRequest(input) return out, req.Send() @@ -540,14 +536,13 @@ const opCreateProjectVersion = "CreateProjectVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProjectVersionRequest method. +// req, resp := client.CreateProjectVersionRequest(params) // -// // Example sending a request using the CreateProjectVersionRequest method. -// req, resp := client.CreateProjectVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) CreateProjectVersionRequest(input *CreateProjectVersionInput) (req *request.Request, output *CreateProjectVersionOutput) { op := &request.Operation{ Name: opCreateProjectVersion, @@ -612,42 +607,42 @@ func (c *Rekognition) CreateProjectVersionRequest(input *CreateProjectVersionInp // API operation CreateProjectVersion for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The specified resource is already being used. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ResourceInUseException +// The specified resource is already being used. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * ServiceQuotaExceededException -// The size of the collection exceeds the allowed limit. For more information, -// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition -// Developer Guide. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // +// - ServiceQuotaExceededException +// The size of the collection exceeds the allowed limit. For more information, +// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition +// Developer Guide. func (c *Rekognition) CreateProjectVersion(input *CreateProjectVersionInput) (*CreateProjectVersionOutput, error) { req, out := c.CreateProjectVersionRequest(input) return out, req.Send() @@ -685,14 +680,13 @@ const opCreateStreamProcessor = "CreateStreamProcessor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStreamProcessorRequest method. +// req, resp := client.CreateStreamProcessorRequest(params) // -// // Example sending a request using the CreateStreamProcessorRequest method. -// req, resp := client.CreateStreamProcessorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) CreateStreamProcessorRequest(input *CreateStreamProcessorInput) (req *request.Request, output *CreateStreamProcessorOutput) { op := &request.Operation{ Name: opCreateStreamProcessor, @@ -718,23 +712,23 @@ func (c *Rekognition) CreateStreamProcessorRequest(input *CreateStreamProcessorI // Video Streams. There are two different settings for stream processors in // Amazon Rekognition: detecting faces and detecting labels. // -// * If you are creating a stream processor for detecting faces, you provide -// as input a Kinesis video stream (Input) and a Kinesis data stream (Output) -// stream. You also specify the face recognition criteria in Settings. For -// example, the collection containing faces that you want to recognize. After -// you have finished analyzing a streaming video, use StopStreamProcessor -// to stop processing. -// -// * If you are creating a stream processor to detect labels, you provide -// as input a Kinesis video stream (Input), Amazon S3 bucket information -// (Output), and an Amazon SNS topic ARN (NotificationChannel). You can also -// provide a KMS key ID to encrypt the data sent to your Amazon S3 bucket. -// You specify what you want to detect in ConnectedHomeSettings, such as -// people, packages and people, or pets, people, and packages. You can also -// specify where in the frame you want Amazon Rekognition to monitor with -// RegionsOfInterest. When you run the StartStreamProcessor operation on -// a label detection stream processor, you input start and stop information -// to determine the length of the processing time. +// - If you are creating a stream processor for detecting faces, you provide +// as input a Kinesis video stream (Input) and a Kinesis data stream (Output) +// stream. You also specify the face recognition criteria in Settings. For +// example, the collection containing faces that you want to recognize. After +// you have finished analyzing a streaming video, use StopStreamProcessor +// to stop processing. +// +// - If you are creating a stream processor to detect labels, you provide +// as input a Kinesis video stream (Input), Amazon S3 bucket information +// (Output), and an Amazon SNS topic ARN (NotificationChannel). You can also +// provide a KMS key ID to encrypt the data sent to your Amazon S3 bucket. +// You specify what you want to detect in ConnectedHomeSettings, such as +// people, packages and people, or pets, people, and packages. You can also +// specify where in the frame you want Amazon Rekognition to monitor with +// RegionsOfInterest. When you run the StartStreamProcessor operation on +// a label detection stream processor, you input start and stop information +// to determine the length of the processing time. // // Use Name to assign an identifier for the stream processor. You use Name to // manage the stream processor. For example, you can start processing the source @@ -752,39 +746,39 @@ func (c *Rekognition) CreateStreamProcessorRequest(input *CreateStreamProcessorI // API operation CreateStreamProcessor for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ResourceInUseException -// The specified resource is already being used. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ResourceInUseException +// The specified resource is already being used. // -// * ServiceQuotaExceededException -// The size of the collection exceeds the allowed limit. For more information, -// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition -// Developer Guide. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // +// - ServiceQuotaExceededException +// The size of the collection exceeds the allowed limit. For more information, +// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition +// Developer Guide. func (c *Rekognition) CreateStreamProcessor(input *CreateStreamProcessorInput) (*CreateStreamProcessorOutput, error) { req, out := c.CreateStreamProcessorRequest(input) return out, req.Send() @@ -822,14 +816,13 @@ const opDeleteCollection = "DeleteCollection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCollectionRequest method. +// req, resp := client.DeleteCollectionRequest(params) // -// // Example sending a request using the DeleteCollectionRequest method. -// req, resp := client.DeleteCollectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DeleteCollectionRequest(input *DeleteCollectionInput) (req *request.Request, output *DeleteCollectionOutput) { op := &request.Operation{ Name: opDeleteCollection, @@ -862,27 +855,27 @@ func (c *Rekognition) DeleteCollectionRequest(input *DeleteCollectionInput) (req // API operation DeleteCollection for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // +// - ResourceNotFoundException +// The resource specified in the request cannot be found. func (c *Rekognition) DeleteCollection(input *DeleteCollectionInput) (*DeleteCollectionOutput, error) { req, out := c.DeleteCollectionRequest(input) return out, req.Send() @@ -920,14 +913,13 @@ const opDeleteDataset = "DeleteDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatasetRequest method. +// req, resp := client.DeleteDatasetRequest(params) // -// // Example sending a request using the DeleteDatasetRequest method. -// req, resp := client.DeleteDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DeleteDatasetRequest(input *DeleteDatasetInput) (req *request.Request, output *DeleteDatasetOutput) { op := &request.Operation{ Name: opDeleteDataset, @@ -967,37 +959,37 @@ func (c *Rekognition) DeleteDatasetRequest(input *DeleteDatasetInput) (req *requ // API operation DeleteDataset for usage and error information. // // Returned Error Types: -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ResourceInUseException -// The specified resource is already being used. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ResourceInUseException +// The specified resource is already being used. // +// - ResourceNotFoundException +// The resource specified in the request cannot be found. func (c *Rekognition) DeleteDataset(input *DeleteDatasetInput) (*DeleteDatasetOutput, error) { req, out := c.DeleteDatasetRequest(input) return out, req.Send() @@ -1035,14 +1027,13 @@ const opDeleteFaces = "DeleteFaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFacesRequest method. +// req, resp := client.DeleteFacesRequest(params) // -// // Example sending a request using the DeleteFacesRequest method. -// req, resp := client.DeleteFacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DeleteFacesRequest(input *DeleteFacesInput) (req *request.Request, output *DeleteFacesOutput) { op := &request.Operation{ Name: opDeleteFaces, @@ -1075,27 +1066,27 @@ func (c *Rekognition) DeleteFacesRequest(input *DeleteFacesInput) (req *request. // API operation DeleteFaces for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // +// - ResourceNotFoundException +// The resource specified in the request cannot be found. func (c *Rekognition) DeleteFaces(input *DeleteFacesInput) (*DeleteFacesOutput, error) { req, out := c.DeleteFacesRequest(input) return out, req.Send() @@ -1133,14 +1124,13 @@ const opDeleteProject = "DeleteProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProjectRequest method. +// req, resp := client.DeleteProjectRequest(params) // -// // Example sending a request using the DeleteProjectRequest method. -// req, resp := client.DeleteProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) { op := &request.Operation{ Name: opDeleteProject, @@ -1178,30 +1168,30 @@ func (c *Rekognition) DeleteProjectRequest(input *DeleteProjectInput) (req *requ // API operation DeleteProject for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// The specified resource is already being used. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ResourceInUseException +// The specified resource is already being used. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) { req, out := c.DeleteProjectRequest(input) return out, req.Send() @@ -1239,14 +1229,13 @@ const opDeleteProjectVersion = "DeleteProjectVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProjectVersionRequest method. +// req, resp := client.DeleteProjectVersionRequest(params) // -// // Example sending a request using the DeleteProjectVersionRequest method. -// req, resp := client.DeleteProjectVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DeleteProjectVersionRequest(input *DeleteProjectVersionInput) (req *request.Request, output *DeleteProjectVersionOutput) { op := &request.Operation{ Name: opDeleteProjectVersion, @@ -1283,30 +1272,30 @@ func (c *Rekognition) DeleteProjectVersionRequest(input *DeleteProjectVersionInp // API operation DeleteProjectVersion for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request cannot be found. // -// * ResourceInUseException -// The specified resource is already being used. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ResourceInUseException +// The specified resource is already being used. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) DeleteProjectVersion(input *DeleteProjectVersionInput) (*DeleteProjectVersionOutput, error) { req, out := c.DeleteProjectVersionRequest(input) return out, req.Send() @@ -1344,14 +1333,13 @@ const opDeleteStreamProcessor = "DeleteStreamProcessor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStreamProcessorRequest method. +// req, resp := client.DeleteStreamProcessorRequest(params) // -// // Example sending a request using the DeleteStreamProcessorRequest method. -// req, resp := client.DeleteStreamProcessorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DeleteStreamProcessorRequest(input *DeleteStreamProcessorInput) (req *request.Request, output *DeleteStreamProcessorOutput) { op := &request.Operation{ Name: opDeleteStreamProcessor, @@ -1384,30 +1372,30 @@ func (c *Rekognition) DeleteStreamProcessorRequest(input *DeleteStreamProcessorI // API operation DeleteStreamProcessor for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ResourceInUseException -// The specified resource is already being used. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ResourceInUseException +// The specified resource is already being used. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) DeleteStreamProcessor(input *DeleteStreamProcessorInput) (*DeleteStreamProcessorOutput, error) { req, out := c.DeleteStreamProcessorRequest(input) return out, req.Send() @@ -1445,14 +1433,13 @@ const opDescribeCollection = "DescribeCollection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCollectionRequest method. +// req, resp := client.DescribeCollectionRequest(params) // -// // Example sending a request using the DescribeCollectionRequest method. -// req, resp := client.DescribeCollectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DescribeCollectionRequest(input *DescribeCollectionInput) (req *request.Request, output *DescribeCollectionOutput) { op := &request.Operation{ Name: opDescribeCollection, @@ -1486,27 +1473,27 @@ func (c *Rekognition) DescribeCollectionRequest(input *DescribeCollectionInput) // API operation DescribeCollection for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // +// - ResourceNotFoundException +// The resource specified in the request cannot be found. func (c *Rekognition) DescribeCollection(input *DescribeCollectionInput) (*DescribeCollectionOutput, error) { req, out := c.DescribeCollectionRequest(input) return out, req.Send() @@ -1544,14 +1531,13 @@ const opDescribeDataset = "DescribeDataset" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDatasetRequest method. +// req, resp := client.DescribeDatasetRequest(params) // -// // Example sending a request using the DescribeDatasetRequest method. -// req, resp := client.DescribeDatasetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DescribeDatasetRequest(input *DescribeDatasetInput) (req *request.Request, output *DescribeDatasetOutput) { op := &request.Operation{ Name: opDescribeDataset, @@ -1585,27 +1571,27 @@ func (c *Rekognition) DescribeDatasetRequest(input *DescribeDatasetInput) (req * // API operation DescribeDataset for usage and error information. // // Returned Error Types: -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - AccessDeniedException +// You are not authorized to perform the action. // +// - ResourceNotFoundException +// The resource specified in the request cannot be found. func (c *Rekognition) DescribeDataset(input *DescribeDatasetInput) (*DescribeDatasetOutput, error) { req, out := c.DescribeDatasetRequest(input) return out, req.Send() @@ -1643,14 +1629,13 @@ const opDescribeProjectVersions = "DescribeProjectVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProjectVersionsRequest method. +// req, resp := client.DescribeProjectVersionsRequest(params) // -// // Example sending a request using the DescribeProjectVersionsRequest method. -// req, resp := client.DescribeProjectVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DescribeProjectVersionsRequest(input *DescribeProjectVersionsInput) (req *request.Request, output *DescribeProjectVersionsOutput) { op := &request.Operation{ Name: opDescribeProjectVersions, @@ -1691,30 +1676,30 @@ func (c *Rekognition) DescribeProjectVersionsRequest(input *DescribeProjectVersi // API operation DescribeProjectVersions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request cannot be found. // -// * InvalidPaginationTokenException -// Pagination token in the request is not valid. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InvalidPaginationTokenException +// Pagination token in the request is not valid. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) DescribeProjectVersions(input *DescribeProjectVersionsInput) (*DescribeProjectVersionsOutput, error) { req, out := c.DescribeProjectVersionsRequest(input) return out, req.Send() @@ -1744,15 +1729,14 @@ func (c *Rekognition) DescribeProjectVersionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeProjectVersions operation. -// pageNum := 0 -// err := client.DescribeProjectVersionsPages(params, -// func(page *rekognition.DescribeProjectVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeProjectVersions operation. +// pageNum := 0 +// err := client.DescribeProjectVersionsPages(params, +// func(page *rekognition.DescribeProjectVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Rekognition) DescribeProjectVersionsPages(input *DescribeProjectVersionsInput, fn func(*DescribeProjectVersionsOutput, bool) bool) error { return c.DescribeProjectVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1804,14 +1788,13 @@ const opDescribeProjects = "DescribeProjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProjectsRequest method. +// req, resp := client.DescribeProjectsRequest(params) // -// // Example sending a request using the DescribeProjectsRequest method. -// req, resp := client.DescribeProjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DescribeProjectsRequest(input *DescribeProjectsInput) (req *request.Request, output *DescribeProjectsOutput) { op := &request.Operation{ Name: opDescribeProjects, @@ -1849,27 +1832,27 @@ func (c *Rekognition) DescribeProjectsRequest(input *DescribeProjectsInput) (req // API operation DescribeProjects for usage and error information. // // Returned Error Types: -// * InvalidPaginationTokenException -// Pagination token in the request is not valid. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InvalidPaginationTokenException +// Pagination token in the request is not valid. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) DescribeProjects(input *DescribeProjectsInput) (*DescribeProjectsOutput, error) { req, out := c.DescribeProjectsRequest(input) return out, req.Send() @@ -1899,15 +1882,14 @@ func (c *Rekognition) DescribeProjectsWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeProjects operation. -// pageNum := 0 -// err := client.DescribeProjectsPages(params, -// func(page *rekognition.DescribeProjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeProjects operation. +// pageNum := 0 +// err := client.DescribeProjectsPages(params, +// func(page *rekognition.DescribeProjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Rekognition) DescribeProjectsPages(input *DescribeProjectsInput, fn func(*DescribeProjectsOutput, bool) bool) error { return c.DescribeProjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1959,14 +1941,13 @@ const opDescribeStreamProcessor = "DescribeStreamProcessor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStreamProcessorRequest method. +// req, resp := client.DescribeStreamProcessorRequest(params) // -// // Example sending a request using the DescribeStreamProcessorRequest method. -// req, resp := client.DescribeStreamProcessorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DescribeStreamProcessorRequest(input *DescribeStreamProcessorInput) (req *request.Request, output *DescribeStreamProcessorOutput) { op := &request.Operation{ Name: opDescribeStreamProcessor, @@ -1998,27 +1979,27 @@ func (c *Rekognition) DescribeStreamProcessorRequest(input *DescribeStreamProces // API operation DescribeStreamProcessor for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) DescribeStreamProcessor(input *DescribeStreamProcessorInput) (*DescribeStreamProcessorOutput, error) { req, out := c.DescribeStreamProcessorRequest(input) return out, req.Send() @@ -2056,14 +2037,13 @@ const opDetectCustomLabels = "DetectCustomLabels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectCustomLabelsRequest method. +// req, resp := client.DetectCustomLabelsRequest(params) // -// // Example sending a request using the DetectCustomLabelsRequest method. -// req, resp := client.DetectCustomLabelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DetectCustomLabelsRequest(input *DetectCustomLabelsInput) (req *request.Request, output *DetectCustomLabelsOutput) { op := &request.Operation{ Name: opDetectCustomLabels, @@ -2131,50 +2111,50 @@ func (c *Rekognition) DetectCustomLabelsRequest(input *DetectCustomLabelsInput) // API operation DetectCustomLabels for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request cannot be found. // -// * ResourceNotReadyException -// The requested resource isn't ready. For example, this exception occurs when -// you call DetectCustomLabels with a model version that isn't deployed. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. +// - ResourceNotReadyException +// The requested resource isn't ready. For example, this exception occurs when +// you call DetectCustomLabels with a model version that isn't deployed. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * ImageTooLargeException -// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, -// the image size or resolution exceeds the allowed limit. For more information, -// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition -// Developer Guide. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - ImageTooLargeException +// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, +// the image size or resolution exceeds the allowed limit. For more information, +// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition +// Developer Guide. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidImageFormatException -// The provided image format is not supported. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // +// - InvalidImageFormatException +// The provided image format is not supported. func (c *Rekognition) DetectCustomLabels(input *DetectCustomLabelsInput) (*DetectCustomLabelsOutput, error) { req, out := c.DetectCustomLabelsRequest(input) return out, req.Send() @@ -2212,14 +2192,13 @@ const opDetectFaces = "DetectFaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectFacesRequest method. +// req, resp := client.DetectFacesRequest(params) // -// // Example sending a request using the DetectFacesRequest method. -// req, resp := client.DetectFacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DetectFacesRequest(input *DetectFacesInput) (req *request.Request, output *DetectFacesOutput) { op := &request.Operation{ Name: opDetectFaces, @@ -2269,36 +2248,36 @@ func (c *Rekognition) DetectFacesRequest(input *DetectFacesInput) (req *request. // API operation DetectFaces for usage and error information. // // Returned Error Types: -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * ImageTooLargeException -// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, -// the image size or resolution exceeds the allowed limit. For more information, -// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition -// Developer Guide. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - ImageTooLargeException +// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, +// the image size or resolution exceeds the allowed limit. For more information, +// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition +// Developer Guide. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidImageFormatException -// The provided image format is not supported. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // +// - InvalidImageFormatException +// The provided image format is not supported. func (c *Rekognition) DetectFaces(input *DetectFacesInput) (*DetectFacesOutput, error) { req, out := c.DetectFacesRequest(input) return out, req.Send() @@ -2336,14 +2315,13 @@ const opDetectLabels = "DetectLabels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectLabelsRequest method. +// req, resp := client.DetectLabelsRequest(params) // -// // Example sending a request using the DetectLabelsRequest method. -// req, resp := client.DetectLabelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DetectLabelsRequest(input *DetectLabelsInput) (req *request.Request, output *DetectLabelsOutput) { op := &request.Operation{ Name: opDetectLabels, @@ -2440,36 +2418,36 @@ func (c *Rekognition) DetectLabelsRequest(input *DetectLabelsInput) (req *reques // API operation DetectLabels for usage and error information. // // Returned Error Types: -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * ImageTooLargeException -// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, -// the image size or resolution exceeds the allowed limit. For more information, -// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition -// Developer Guide. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - ImageTooLargeException +// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, +// the image size or resolution exceeds the allowed limit. For more information, +// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition +// Developer Guide. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidImageFormatException -// The provided image format is not supported. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // +// - InvalidImageFormatException +// The provided image format is not supported. func (c *Rekognition) DetectLabels(input *DetectLabelsInput) (*DetectLabelsOutput, error) { req, out := c.DetectLabelsRequest(input) return out, req.Send() @@ -2507,14 +2485,13 @@ const opDetectModerationLabels = "DetectModerationLabels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectModerationLabelsRequest method. +// req, resp := client.DetectModerationLabelsRequest(params) // -// // Example sending a request using the DetectModerationLabelsRequest method. -// req, resp := client.DetectModerationLabelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DetectModerationLabelsRequest(input *DetectModerationLabelsInput) (req *request.Request, output *DetectModerationLabelsOutput) { op := &request.Operation{ Name: opDetectModerationLabels, @@ -2557,40 +2534,40 @@ func (c *Rekognition) DetectModerationLabelsRequest(input *DetectModerationLabel // API operation DetectModerationLabels for usage and error information. // // Returned Error Types: -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * ImageTooLargeException -// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, -// the image size or resolution exceeds the allowed limit. For more information, -// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition -// Developer Guide. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - ImageTooLargeException +// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, +// the image size or resolution exceeds the allowed limit. For more information, +// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition +// Developer Guide. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidImageFormatException -// The provided image format is not supported. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * HumanLoopQuotaExceededException -// The number of in-progress human reviews you have has exceeded the number -// allowed. +// - InvalidImageFormatException +// The provided image format is not supported. // +// - HumanLoopQuotaExceededException +// The number of in-progress human reviews you have has exceeded the number +// allowed. func (c *Rekognition) DetectModerationLabels(input *DetectModerationLabelsInput) (*DetectModerationLabelsOutput, error) { req, out := c.DetectModerationLabelsRequest(input) return out, req.Send() @@ -2628,14 +2605,13 @@ const opDetectProtectiveEquipment = "DetectProtectiveEquipment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectProtectiveEquipmentRequest method. +// req, resp := client.DetectProtectiveEquipmentRequest(params) // -// // Example sending a request using the DetectProtectiveEquipmentRequest method. -// req, resp := client.DetectProtectiveEquipmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DetectProtectiveEquipmentRequest(input *DetectProtectiveEquipmentInput) (req *request.Request, output *DetectProtectiveEquipmentOutput) { op := &request.Operation{ Name: opDetectProtectiveEquipment, @@ -2657,11 +2633,11 @@ func (c *Rekognition) DetectProtectiveEquipmentRequest(input *DetectProtectiveEq // Detects Personal Protective Equipment (PPE) worn by people detected in an // image. Amazon Rekognition can detect the following types of PPE. // -// * Face cover +// - Face cover // -// * Hand cover +// - Hand cover // -// * Head cover +// - Head cover // // You pass the input image as base64-encoded image bytes or as a reference // to an image in an Amazon S3 bucket. The image must be either a PNG or JPG @@ -2680,11 +2656,11 @@ func (c *Rekognition) DetectProtectiveEquipmentRequest(input *DetectProtectiveEq // You can optionally request a summary of detected PPE items with the SummarizationAttributes // input parameter. The summary provides the following information. // -// * The persons detected as wearing all of the types of PPE that you specify. +// - The persons detected as wearing all of the types of PPE that you specify. // -// * The persons detected as not wearing all of the types PPE that you specify. +// - The persons detected as not wearing all of the types PPE that you specify. // -// * The persons detected where PPE adornment could not be determined. +// - The persons detected where PPE adornment could not be determined. // // This is a stateless API operation. That is, the operation does not persist // any data. @@ -2700,36 +2676,36 @@ func (c *Rekognition) DetectProtectiveEquipmentRequest(input *DetectProtectiveEq // API operation DetectProtectiveEquipment for usage and error information. // // Returned Error Types: -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * ImageTooLargeException -// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, -// the image size or resolution exceeds the allowed limit. For more information, -// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition -// Developer Guide. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - ImageTooLargeException +// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, +// the image size or resolution exceeds the allowed limit. For more information, +// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition +// Developer Guide. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidImageFormatException -// The provided image format is not supported. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // +// - InvalidImageFormatException +// The provided image format is not supported. func (c *Rekognition) DetectProtectiveEquipment(input *DetectProtectiveEquipmentInput) (*DetectProtectiveEquipmentOutput, error) { req, out := c.DetectProtectiveEquipmentRequest(input) return out, req.Send() @@ -2767,14 +2743,13 @@ const opDetectText = "DetectText" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectTextRequest method. +// req, resp := client.DetectTextRequest(params) // -// // Example sending a request using the DetectTextRequest method. -// req, resp := client.DetectTextRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DetectTextRequest(input *DetectTextInput) (req *request.Request, output *DetectTextOutput) { op := &request.Operation{ Name: opDetectText, @@ -2834,36 +2809,36 @@ func (c *Rekognition) DetectTextRequest(input *DetectTextInput) (req *request.Re // API operation DetectText for usage and error information. // // Returned Error Types: -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * ImageTooLargeException -// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, -// the image size or resolution exceeds the allowed limit. For more information, -// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition -// Developer Guide. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - ImageTooLargeException +// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, +// the image size or resolution exceeds the allowed limit. For more information, +// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition +// Developer Guide. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidImageFormatException -// The provided image format is not supported. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // +// - InvalidImageFormatException +// The provided image format is not supported. func (c *Rekognition) DetectText(input *DetectTextInput) (*DetectTextOutput, error) { req, out := c.DetectTextRequest(input) return out, req.Send() @@ -2901,14 +2876,13 @@ const opDistributeDatasetEntries = "DistributeDatasetEntries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DistributeDatasetEntriesRequest method. +// req, resp := client.DistributeDatasetEntriesRequest(params) // -// // Example sending a request using the DistributeDatasetEntriesRequest method. -// req, resp := client.DistributeDatasetEntriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) DistributeDatasetEntriesRequest(input *DistributeDatasetEntriesInput) (req *request.Request, output *DistributeDatasetEntriesOutput) { op := &request.Operation{ Name: opDistributeDatasetEntries, @@ -2954,31 +2928,31 @@ func (c *Rekognition) DistributeDatasetEntriesRequest(input *DistributeDatasetEn // API operation DistributeDatasetEntries for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request cannot be found. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * ResourceNotReadyException -// The requested resource isn't ready. For example, this exception occurs when -// you call DetectCustomLabels with a model version that isn't deployed. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // +// - ResourceNotReadyException +// The requested resource isn't ready. For example, this exception occurs when +// you call DetectCustomLabels with a model version that isn't deployed. func (c *Rekognition) DistributeDatasetEntries(input *DistributeDatasetEntriesInput) (*DistributeDatasetEntriesOutput, error) { req, out := c.DistributeDatasetEntriesRequest(input) return out, req.Send() @@ -3016,14 +2990,13 @@ const opGetCelebrityInfo = "GetCelebrityInfo" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCelebrityInfoRequest method. +// req, resp := client.GetCelebrityInfoRequest(params) // -// // Example sending a request using the GetCelebrityInfoRequest method. -// req, resp := client.GetCelebrityInfoRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) GetCelebrityInfoRequest(input *GetCelebrityInfoInput) (req *request.Request, output *GetCelebrityInfoOutput) { op := &request.Operation{ Name: opGetCelebrityInfo, @@ -3061,27 +3034,27 @@ func (c *Rekognition) GetCelebrityInfoRequest(input *GetCelebrityInfoInput) (req // API operation GetCelebrityInfo for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // +// - ResourceNotFoundException +// The resource specified in the request cannot be found. func (c *Rekognition) GetCelebrityInfo(input *GetCelebrityInfoInput) (*GetCelebrityInfoOutput, error) { req, out := c.GetCelebrityInfoRequest(input) return out, req.Send() @@ -3119,14 +3092,13 @@ const opGetCelebrityRecognition = "GetCelebrityRecognition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCelebrityRecognitionRequest method. +// req, resp := client.GetCelebrityRecognitionRequest(params) // -// // Example sending a request using the GetCelebrityRecognitionRequest method. -// req, resp := client.GetCelebrityRecognitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) GetCelebrityRecognitionRequest(input *GetCelebrityRecognitionInput) (req *request.Request, output *GetCelebrityRecognitionOutput) { op := &request.Operation{ Name: opGetCelebrityRecognition, @@ -3207,30 +3179,30 @@ func (c *Rekognition) GetCelebrityRecognitionRequest(input *GetCelebrityRecognit // API operation GetCelebrityRecognition for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * InvalidPaginationTokenException -// Pagination token in the request is not valid. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - InvalidPaginationTokenException +// Pagination token in the request is not valid. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) GetCelebrityRecognition(input *GetCelebrityRecognitionInput) (*GetCelebrityRecognitionOutput, error) { req, out := c.GetCelebrityRecognitionRequest(input) return out, req.Send() @@ -3260,15 +3232,14 @@ func (c *Rekognition) GetCelebrityRecognitionWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetCelebrityRecognition operation. -// pageNum := 0 -// err := client.GetCelebrityRecognitionPages(params, -// func(page *rekognition.GetCelebrityRecognitionOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetCelebrityRecognition operation. +// pageNum := 0 +// err := client.GetCelebrityRecognitionPages(params, +// func(page *rekognition.GetCelebrityRecognitionOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Rekognition) GetCelebrityRecognitionPages(input *GetCelebrityRecognitionInput, fn func(*GetCelebrityRecognitionOutput, bool) bool) error { return c.GetCelebrityRecognitionPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3320,14 +3291,13 @@ const opGetContentModeration = "GetContentModeration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContentModerationRequest method. +// req, resp := client.GetContentModerationRequest(params) // -// // Example sending a request using the GetContentModerationRequest method. -// req, resp := client.GetContentModerationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) GetContentModerationRequest(input *GetContentModerationInput) (req *request.Request, output *GetContentModerationOutput) { op := &request.Operation{ Name: opGetContentModeration, @@ -3396,30 +3366,30 @@ func (c *Rekognition) GetContentModerationRequest(input *GetContentModerationInp // API operation GetContentModeration for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * InvalidPaginationTokenException -// Pagination token in the request is not valid. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - InvalidPaginationTokenException +// Pagination token in the request is not valid. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) GetContentModeration(input *GetContentModerationInput) (*GetContentModerationOutput, error) { req, out := c.GetContentModerationRequest(input) return out, req.Send() @@ -3449,15 +3419,14 @@ func (c *Rekognition) GetContentModerationWithContext(ctx aws.Context, input *Ge // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetContentModeration operation. -// pageNum := 0 -// err := client.GetContentModerationPages(params, -// func(page *rekognition.GetContentModerationOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetContentModeration operation. +// pageNum := 0 +// err := client.GetContentModerationPages(params, +// func(page *rekognition.GetContentModerationOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Rekognition) GetContentModerationPages(input *GetContentModerationInput, fn func(*GetContentModerationOutput, bool) bool) error { return c.GetContentModerationPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3509,14 +3478,13 @@ const opGetFaceDetection = "GetFaceDetection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFaceDetectionRequest method. +// req, resp := client.GetFaceDetectionRequest(params) // -// // Example sending a request using the GetFaceDetectionRequest method. -// req, resp := client.GetFaceDetectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) GetFaceDetectionRequest(input *GetFaceDetectionInput) (req *request.Request, output *GetFaceDetectionOutput) { op := &request.Operation{ Name: opGetFaceDetection, @@ -3571,30 +3539,30 @@ func (c *Rekognition) GetFaceDetectionRequest(input *GetFaceDetectionInput) (req // API operation GetFaceDetection for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * InvalidPaginationTokenException -// Pagination token in the request is not valid. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - InvalidPaginationTokenException +// Pagination token in the request is not valid. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) GetFaceDetection(input *GetFaceDetectionInput) (*GetFaceDetectionOutput, error) { req, out := c.GetFaceDetectionRequest(input) return out, req.Send() @@ -3624,15 +3592,14 @@ func (c *Rekognition) GetFaceDetectionWithContext(ctx aws.Context, input *GetFac // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetFaceDetection operation. -// pageNum := 0 -// err := client.GetFaceDetectionPages(params, -// func(page *rekognition.GetFaceDetectionOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetFaceDetection operation. +// pageNum := 0 +// err := client.GetFaceDetectionPages(params, +// func(page *rekognition.GetFaceDetectionOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Rekognition) GetFaceDetectionPages(input *GetFaceDetectionInput, fn func(*GetFaceDetectionOutput, bool) bool) error { return c.GetFaceDetectionPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3684,14 +3651,13 @@ const opGetFaceSearch = "GetFaceSearch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFaceSearchRequest method. +// req, resp := client.GetFaceSearchRequest(params) // -// // Example sending a request using the GetFaceSearchRequest method. -// req, resp := client.GetFaceSearchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) GetFaceSearchRequest(input *GetFaceSearchInput) (req *request.Request, output *GetFaceSearchOutput) { op := &request.Operation{ Name: opGetFaceSearch, @@ -3756,30 +3722,30 @@ func (c *Rekognition) GetFaceSearchRequest(input *GetFaceSearchInput) (req *requ // API operation GetFaceSearch for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * InvalidPaginationTokenException -// Pagination token in the request is not valid. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - InvalidPaginationTokenException +// Pagination token in the request is not valid. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) GetFaceSearch(input *GetFaceSearchInput) (*GetFaceSearchOutput, error) { req, out := c.GetFaceSearchRequest(input) return out, req.Send() @@ -3809,15 +3775,14 @@ func (c *Rekognition) GetFaceSearchWithContext(ctx aws.Context, input *GetFaceSe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetFaceSearch operation. -// pageNum := 0 -// err := client.GetFaceSearchPages(params, -// func(page *rekognition.GetFaceSearchOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetFaceSearch operation. +// pageNum := 0 +// err := client.GetFaceSearchPages(params, +// func(page *rekognition.GetFaceSearchOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Rekognition) GetFaceSearchPages(input *GetFaceSearchInput, fn func(*GetFaceSearchOutput, bool) bool) error { return c.GetFaceSearchPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3869,14 +3834,13 @@ const opGetLabelDetection = "GetLabelDetection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLabelDetectionRequest method. +// req, resp := client.GetLabelDetectionRequest(params) // -// // Example sending a request using the GetLabelDetectionRequest method. -// req, resp := client.GetLabelDetectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) GetLabelDetectionRequest(input *GetLabelDetectionInput) (req *request.Request, output *GetLabelDetectionOutput) { op := &request.Operation{ Name: opGetLabelDetection, @@ -3940,30 +3904,30 @@ func (c *Rekognition) GetLabelDetectionRequest(input *GetLabelDetectionInput) (r // API operation GetLabelDetection for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * InvalidPaginationTokenException -// Pagination token in the request is not valid. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - InvalidPaginationTokenException +// Pagination token in the request is not valid. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) GetLabelDetection(input *GetLabelDetectionInput) (*GetLabelDetectionOutput, error) { req, out := c.GetLabelDetectionRequest(input) return out, req.Send() @@ -3993,15 +3957,14 @@ func (c *Rekognition) GetLabelDetectionWithContext(ctx aws.Context, input *GetLa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetLabelDetection operation. -// pageNum := 0 -// err := client.GetLabelDetectionPages(params, -// func(page *rekognition.GetLabelDetectionOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetLabelDetection operation. +// pageNum := 0 +// err := client.GetLabelDetectionPages(params, +// func(page *rekognition.GetLabelDetectionOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Rekognition) GetLabelDetectionPages(input *GetLabelDetectionInput, fn func(*GetLabelDetectionOutput, bool) bool) error { return c.GetLabelDetectionPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4053,14 +4016,13 @@ const opGetPersonTracking = "GetPersonTracking" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPersonTrackingRequest method. +// req, resp := client.GetPersonTrackingRequest(params) // -// // Example sending a request using the GetPersonTrackingRequest method. -// req, resp := client.GetPersonTrackingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) GetPersonTrackingRequest(input *GetPersonTrackingInput) (req *request.Request, output *GetPersonTrackingOutput) { op := &request.Operation{ Name: opGetPersonTracking, @@ -4127,30 +4089,30 @@ func (c *Rekognition) GetPersonTrackingRequest(input *GetPersonTrackingInput) (r // API operation GetPersonTracking for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * InvalidPaginationTokenException -// Pagination token in the request is not valid. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - InvalidPaginationTokenException +// Pagination token in the request is not valid. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) GetPersonTracking(input *GetPersonTrackingInput) (*GetPersonTrackingOutput, error) { req, out := c.GetPersonTrackingRequest(input) return out, req.Send() @@ -4180,15 +4142,14 @@ func (c *Rekognition) GetPersonTrackingWithContext(ctx aws.Context, input *GetPe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetPersonTracking operation. -// pageNum := 0 -// err := client.GetPersonTrackingPages(params, -// func(page *rekognition.GetPersonTrackingOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetPersonTracking operation. +// pageNum := 0 +// err := client.GetPersonTrackingPages(params, +// func(page *rekognition.GetPersonTrackingOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Rekognition) GetPersonTrackingPages(input *GetPersonTrackingInput, fn func(*GetPersonTrackingOutput, bool) bool) error { return c.GetPersonTrackingPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4240,14 +4201,13 @@ const opGetSegmentDetection = "GetSegmentDetection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSegmentDetectionRequest method. +// req, resp := client.GetSegmentDetectionRequest(params) // -// // Example sending a request using the GetSegmentDetectionRequest method. -// req, resp := client.GetSegmentDetectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) GetSegmentDetectionRequest(input *GetSegmentDetectionInput) (req *request.Request, output *GetSegmentDetectionOutput) { op := &request.Operation{ Name: opGetSegmentDetection, @@ -4313,30 +4273,30 @@ func (c *Rekognition) GetSegmentDetectionRequest(input *GetSegmentDetectionInput // API operation GetSegmentDetection for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * InvalidPaginationTokenException -// Pagination token in the request is not valid. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - InvalidPaginationTokenException +// Pagination token in the request is not valid. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) GetSegmentDetection(input *GetSegmentDetectionInput) (*GetSegmentDetectionOutput, error) { req, out := c.GetSegmentDetectionRequest(input) return out, req.Send() @@ -4366,15 +4326,14 @@ func (c *Rekognition) GetSegmentDetectionWithContext(ctx aws.Context, input *Get // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetSegmentDetection operation. -// pageNum := 0 -// err := client.GetSegmentDetectionPages(params, -// func(page *rekognition.GetSegmentDetectionOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetSegmentDetection operation. +// pageNum := 0 +// err := client.GetSegmentDetectionPages(params, +// func(page *rekognition.GetSegmentDetectionOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Rekognition) GetSegmentDetectionPages(input *GetSegmentDetectionInput, fn func(*GetSegmentDetectionOutput, bool) bool) error { return c.GetSegmentDetectionPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4426,14 +4385,13 @@ const opGetTextDetection = "GetTextDetection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTextDetectionRequest method. +// req, resp := client.GetTextDetectionRequest(params) // -// // Example sending a request using the GetTextDetectionRequest method. -// req, resp := client.GetTextDetectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) GetTextDetectionRequest(input *GetTextDetectionInput) (req *request.Request, output *GetTextDetectionOutput) { op := &request.Operation{ Name: opGetTextDetection, @@ -4493,30 +4451,30 @@ func (c *Rekognition) GetTextDetectionRequest(input *GetTextDetectionInput) (req // API operation GetTextDetection for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * InvalidPaginationTokenException -// Pagination token in the request is not valid. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - InvalidPaginationTokenException +// Pagination token in the request is not valid. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) GetTextDetection(input *GetTextDetectionInput) (*GetTextDetectionOutput, error) { req, out := c.GetTextDetectionRequest(input) return out, req.Send() @@ -4546,15 +4504,14 @@ func (c *Rekognition) GetTextDetectionWithContext(ctx aws.Context, input *GetTex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTextDetection operation. -// pageNum := 0 -// err := client.GetTextDetectionPages(params, -// func(page *rekognition.GetTextDetectionOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTextDetection operation. +// pageNum := 0 +// err := client.GetTextDetectionPages(params, +// func(page *rekognition.GetTextDetectionOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Rekognition) GetTextDetectionPages(input *GetTextDetectionInput, fn func(*GetTextDetectionOutput, bool) bool) error { return c.GetTextDetectionPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4606,14 +4563,13 @@ const opIndexFaces = "IndexFaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the IndexFacesRequest method. +// req, resp := client.IndexFacesRequest(params) // -// // Example sending a request using the IndexFacesRequest method. -// req, resp := client.IndexFacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) IndexFacesRequest(input *IndexFacesInput) (req *request.Request, output *IndexFacesOutput) { op := &request.Operation{ Name: opIndexFaces, @@ -4687,31 +4643,31 @@ func (c *Rekognition) IndexFacesRequest(input *IndexFacesInput) (req *request.Re // in an array of UnindexedFace objects, UnindexedFaces. Faces aren't indexed // for reasons such as: // -// * The number of faces detected exceeds the value of the MaxFaces request -// parameter. +// - The number of faces detected exceeds the value of the MaxFaces request +// parameter. // -// * The face is too small compared to the image dimensions. +// - The face is too small compared to the image dimensions. // -// * The face is too blurry. +// - The face is too blurry. // -// * The image is too dark. +// - The image is too dark. // -// * The face has an extreme pose. +// - The face has an extreme pose. // -// * The face doesn’t have enough detail to be suitable for face search. +// - The face doesn’t have enough detail to be suitable for face search. // // In response, the IndexFaces operation returns an array of metadata for all // detected faces, FaceRecords. This includes: // -// * The bounding box, BoundingBox, of the detected face. +// - The bounding box, BoundingBox, of the detected face. // -// * A confidence value, Confidence, which indicates the confidence that -// the bounding box contains a face. +// - A confidence value, Confidence, which indicates the confidence that +// the bounding box contains a face. // -// * A face ID, FaceId, assigned by the service for each face that's detected -// and stored. +// - A face ID, FaceId, assigned by the service for each face that's detected +// and stored. // -// * An image ID, ImageId, assigned by the service for the input image. +// - An image ID, ImageId, assigned by the service for the input image. // // If you request all facial attributes (by using the detectionAttributes parameter), // Amazon Rekognition returns detailed facial attributes, such as facial landmarks @@ -4736,44 +4692,44 @@ func (c *Rekognition) IndexFacesRequest(input *IndexFacesInput) (req *request.Re // API operation IndexFaces for usage and error information. // // Returned Error Types: -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * ImageTooLargeException -// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, -// the image size or resolution exceeds the allowed limit. For more information, -// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition -// Developer Guide. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - ImageTooLargeException +// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, +// the image size or resolution exceeds the allowed limit. For more information, +// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition +// Developer Guide. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * InvalidImageFormatException -// The provided image format is not supported. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * ServiceQuotaExceededException -// The size of the collection exceeds the allowed limit. For more information, -// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition -// Developer Guide. +// - InvalidImageFormatException +// The provided image format is not supported. // +// - ServiceQuotaExceededException +// The size of the collection exceeds the allowed limit. For more information, +// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition +// Developer Guide. func (c *Rekognition) IndexFaces(input *IndexFacesInput) (*IndexFacesOutput, error) { req, out := c.IndexFacesRequest(input) return out, req.Send() @@ -4811,14 +4767,13 @@ const opListCollections = "ListCollections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCollectionsRequest method. +// req, resp := client.ListCollectionsRequest(params) // -// // Example sending a request using the ListCollectionsRequest method. -// req, resp := client.ListCollectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) ListCollectionsRequest(input *ListCollectionsInput) (req *request.Request, output *ListCollectionsOutput) { op := &request.Operation{ Name: opListCollections, @@ -4861,30 +4816,30 @@ func (c *Rekognition) ListCollectionsRequest(input *ListCollectionsInput) (req * // API operation ListCollections for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidPaginationTokenException -// Pagination token in the request is not valid. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - InvalidPaginationTokenException +// Pagination token in the request is not valid. // +// - ResourceNotFoundException +// The resource specified in the request cannot be found. func (c *Rekognition) ListCollections(input *ListCollectionsInput) (*ListCollectionsOutput, error) { req, out := c.ListCollectionsRequest(input) return out, req.Send() @@ -4914,15 +4869,14 @@ func (c *Rekognition) ListCollectionsWithContext(ctx aws.Context, input *ListCol // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCollections operation. -// pageNum := 0 -// err := client.ListCollectionsPages(params, -// func(page *rekognition.ListCollectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCollections operation. +// pageNum := 0 +// err := client.ListCollectionsPages(params, +// func(page *rekognition.ListCollectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Rekognition) ListCollectionsPages(input *ListCollectionsInput, fn func(*ListCollectionsOutput, bool) bool) error { return c.ListCollectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4974,14 +4928,13 @@ const opListDatasetEntries = "ListDatasetEntries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetEntriesRequest method. +// req, resp := client.ListDatasetEntriesRequest(params) // -// // Example sending a request using the ListDatasetEntriesRequest method. -// req, resp := client.ListDatasetEntriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) ListDatasetEntriesRequest(input *ListDatasetEntriesInput) (req *request.Request, output *ListDatasetEntriesOutput) { op := &request.Operation{ Name: opListDatasetEntries, @@ -5031,37 +4984,37 @@ func (c *Rekognition) ListDatasetEntriesRequest(input *ListDatasetEntriesInput) // API operation ListDatasetEntries for usage and error information. // // Returned Error Types: -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ResourceInUseException -// The specified resource is already being used. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ResourceInUseException +// The specified resource is already being used. // -// * InvalidPaginationTokenException -// Pagination token in the request is not valid. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * ResourceNotReadyException -// The requested resource isn't ready. For example, this exception occurs when -// you call DetectCustomLabels with a model version that isn't deployed. +// - InvalidPaginationTokenException +// Pagination token in the request is not valid. // +// - ResourceNotReadyException +// The requested resource isn't ready. For example, this exception occurs when +// you call DetectCustomLabels with a model version that isn't deployed. func (c *Rekognition) ListDatasetEntries(input *ListDatasetEntriesInput) (*ListDatasetEntriesOutput, error) { req, out := c.ListDatasetEntriesRequest(input) return out, req.Send() @@ -5091,15 +5044,14 @@ func (c *Rekognition) ListDatasetEntriesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatasetEntries operation. -// pageNum := 0 -// err := client.ListDatasetEntriesPages(params, -// func(page *rekognition.ListDatasetEntriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatasetEntries operation. +// pageNum := 0 +// err := client.ListDatasetEntriesPages(params, +// func(page *rekognition.ListDatasetEntriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Rekognition) ListDatasetEntriesPages(input *ListDatasetEntriesInput, fn func(*ListDatasetEntriesOutput, bool) bool) error { return c.ListDatasetEntriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5151,14 +5103,13 @@ const opListDatasetLabels = "ListDatasetLabels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatasetLabelsRequest method. +// req, resp := client.ListDatasetLabelsRequest(params) // -// // Example sending a request using the ListDatasetLabelsRequest method. -// req, resp := client.ListDatasetLabelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) ListDatasetLabelsRequest(input *ListDatasetLabelsInput) (req *request.Request, output *ListDatasetLabelsOutput) { op := &request.Operation{ Name: opListDatasetLabels, @@ -5198,37 +5149,37 @@ func (c *Rekognition) ListDatasetLabelsRequest(input *ListDatasetLabelsInput) (r // API operation ListDatasetLabels for usage and error information. // // Returned Error Types: -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ResourceInUseException -// The specified resource is already being used. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidPaginationTokenException -// Pagination token in the request is not valid. +// - ResourceInUseException +// The specified resource is already being used. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - InvalidPaginationTokenException +// Pagination token in the request is not valid. // -// * ResourceNotReadyException -// The requested resource isn't ready. For example, this exception occurs when -// you call DetectCustomLabels with a model version that isn't deployed. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // +// - ResourceNotReadyException +// The requested resource isn't ready. For example, this exception occurs when +// you call DetectCustomLabels with a model version that isn't deployed. func (c *Rekognition) ListDatasetLabels(input *ListDatasetLabelsInput) (*ListDatasetLabelsOutput, error) { req, out := c.ListDatasetLabelsRequest(input) return out, req.Send() @@ -5258,15 +5209,14 @@ func (c *Rekognition) ListDatasetLabelsWithContext(ctx aws.Context, input *ListD // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatasetLabels operation. -// pageNum := 0 -// err := client.ListDatasetLabelsPages(params, -// func(page *rekognition.ListDatasetLabelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatasetLabels operation. +// pageNum := 0 +// err := client.ListDatasetLabelsPages(params, +// func(page *rekognition.ListDatasetLabelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Rekognition) ListDatasetLabelsPages(input *ListDatasetLabelsInput, fn func(*ListDatasetLabelsOutput, bool) bool) error { return c.ListDatasetLabelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5318,14 +5268,13 @@ const opListFaces = "ListFaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFacesRequest method. +// req, resp := client.ListFacesRequest(params) // -// // Example sending a request using the ListFacesRequest method. -// req, resp := client.ListFacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) ListFacesRequest(input *ListFacesInput) (req *request.Request, output *ListFacesOutput) { op := &request.Operation{ Name: opListFaces, @@ -5366,30 +5315,30 @@ func (c *Rekognition) ListFacesRequest(input *ListFacesInput) (req *request.Requ // API operation ListFaces for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidPaginationTokenException -// Pagination token in the request is not valid. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - InvalidPaginationTokenException +// Pagination token in the request is not valid. // +// - ResourceNotFoundException +// The resource specified in the request cannot be found. func (c *Rekognition) ListFaces(input *ListFacesInput) (*ListFacesOutput, error) { req, out := c.ListFacesRequest(input) return out, req.Send() @@ -5419,15 +5368,14 @@ func (c *Rekognition) ListFacesWithContext(ctx aws.Context, input *ListFacesInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFaces operation. -// pageNum := 0 -// err := client.ListFacesPages(params, -// func(page *rekognition.ListFacesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFaces operation. +// pageNum := 0 +// err := client.ListFacesPages(params, +// func(page *rekognition.ListFacesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Rekognition) ListFacesPages(input *ListFacesInput, fn func(*ListFacesOutput, bool) bool) error { return c.ListFacesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5479,14 +5427,13 @@ const opListStreamProcessors = "ListStreamProcessors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStreamProcessorsRequest method. +// req, resp := client.ListStreamProcessorsRequest(params) // -// // Example sending a request using the ListStreamProcessorsRequest method. -// req, resp := client.ListStreamProcessorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) ListStreamProcessorsRequest(input *ListStreamProcessorsInput) (req *request.Request, output *ListStreamProcessorsOutput) { op := &request.Operation{ Name: opListStreamProcessors, @@ -5521,27 +5468,27 @@ func (c *Rekognition) ListStreamProcessorsRequest(input *ListStreamProcessorsInp // API operation ListStreamProcessors for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidPaginationTokenException -// Pagination token in the request is not valid. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - InvalidPaginationTokenException +// Pagination token in the request is not valid. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) ListStreamProcessors(input *ListStreamProcessorsInput) (*ListStreamProcessorsOutput, error) { req, out := c.ListStreamProcessorsRequest(input) return out, req.Send() @@ -5571,15 +5518,14 @@ func (c *Rekognition) ListStreamProcessorsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStreamProcessors operation. -// pageNum := 0 -// err := client.ListStreamProcessorsPages(params, -// func(page *rekognition.ListStreamProcessorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStreamProcessors operation. +// pageNum := 0 +// err := client.ListStreamProcessorsPages(params, +// func(page *rekognition.ListStreamProcessorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Rekognition) ListStreamProcessorsPages(input *ListStreamProcessorsInput, fn func(*ListStreamProcessorsOutput, bool) bool) error { return c.ListStreamProcessorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5631,14 +5577,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ Name: opListTagsForResource, @@ -5671,27 +5616,27 @@ func (c *Rekognition) ListTagsForResourceRequest(input *ListTagsForResourceInput // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request cannot be found. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { req, out := c.ListTagsForResourceRequest(input) return out, req.Send() @@ -5729,14 +5674,13 @@ const opRecognizeCelebrities = "RecognizeCelebrities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RecognizeCelebritiesRequest method. +// req, resp := client.RecognizeCelebritiesRequest(params) // -// // Example sending a request using the RecognizeCelebritiesRequest method. -// req, resp := client.RecognizeCelebritiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) RecognizeCelebritiesRequest(input *RecognizeCelebritiesInput) (req *request.Request, output *RecognizeCelebritiesOutput) { op := &request.Operation{ Name: opRecognizeCelebrities, @@ -5794,39 +5738,39 @@ func (c *Rekognition) RecognizeCelebritiesRequest(input *RecognizeCelebritiesInp // API operation RecognizeCelebrities for usage and error information. // // Returned Error Types: -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * InvalidImageFormatException -// The provided image format is not supported. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ImageTooLargeException -// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, -// the image size or resolution exceeds the allowed limit. For more information, -// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition -// Developer Guide. +// - InvalidImageFormatException +// The provided image format is not supported. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - ImageTooLargeException +// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, +// the image size or resolution exceeds the allowed limit. For more information, +// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition +// Developer Guide. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidImageFormatException -// The provided image format is not supported. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // +// - InvalidImageFormatException +// The provided image format is not supported. func (c *Rekognition) RecognizeCelebrities(input *RecognizeCelebritiesInput) (*RecognizeCelebritiesOutput, error) { req, out := c.RecognizeCelebritiesRequest(input) return out, req.Send() @@ -5864,14 +5808,13 @@ const opSearchFaces = "SearchFaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchFacesRequest method. +// req, resp := client.SearchFacesRequest(params) // -// // Example sending a request using the SearchFacesRequest method. -// req, resp := client.SearchFacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) SearchFacesRequest(input *SearchFacesInput) (req *request.Request, output *SearchFacesOutput) { op := &request.Operation{ Name: opSearchFaces, @@ -5918,27 +5861,27 @@ func (c *Rekognition) SearchFacesRequest(input *SearchFacesInput) (req *request. // API operation SearchFaces for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // +// - ResourceNotFoundException +// The resource specified in the request cannot be found. func (c *Rekognition) SearchFaces(input *SearchFacesInput) (*SearchFacesOutput, error) { req, out := c.SearchFacesRequest(input) return out, req.Send() @@ -5976,14 +5919,13 @@ const opSearchFacesByImage = "SearchFacesByImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchFacesByImageRequest method. +// req, resp := client.SearchFacesByImageRequest(params) // -// // Example sending a request using the SearchFacesByImageRequest method. -// req, resp := client.SearchFacesByImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) SearchFacesByImageRequest(input *SearchFacesByImageInput) (req *request.Request, output *SearchFacesByImageOutput) { op := &request.Operation{ Name: opSearchFacesByImage, @@ -6054,39 +5996,39 @@ func (c *Rekognition) SearchFacesByImageRequest(input *SearchFacesByImageInput) // API operation SearchFacesByImage for usage and error information. // // Returned Error Types: -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * ImageTooLargeException -// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, -// the image size or resolution exceeds the allowed limit. For more information, -// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition -// Developer Guide. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - ImageTooLargeException +// The input image size exceeds the allowed limit. If you are calling DetectProtectiveEquipment, +// the image size or resolution exceeds the allowed limit. For more information, +// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition +// Developer Guide. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * InvalidImageFormatException -// The provided image format is not supported. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // +// - InvalidImageFormatException +// The provided image format is not supported. func (c *Rekognition) SearchFacesByImage(input *SearchFacesByImageInput) (*SearchFacesByImageOutput, error) { req, out := c.SearchFacesByImageRequest(input) return out, req.Send() @@ -6124,14 +6066,13 @@ const opStartCelebrityRecognition = "StartCelebrityRecognition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartCelebrityRecognitionRequest method. +// req, resp := client.StartCelebrityRecognitionRequest(params) // -// // Example sending a request using the StartCelebrityRecognitionRequest method. -// req, resp := client.StartCelebrityRecognitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) StartCelebrityRecognitionRequest(input *StartCelebrityRecognitionInput) (req *request.Request, output *StartCelebrityRecognitionOutput) { op := &request.Operation{ Name: opStartCelebrityRecognition, @@ -6174,43 +6115,43 @@ func (c *Rekognition) StartCelebrityRecognitionRequest(input *StartCelebrityReco // API operation StartCelebrityRecognition for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * IdempotentParameterMismatchException -// A ClientRequestToken input parameter was reused with an operation, but at -// least one of the other input parameters is different from the previous call -// to the operation. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - IdempotentParameterMismatchException +// A ClientRequestToken input parameter was reused with an operation, but at +// least one of the other input parameters is different from the previous call +// to the operation. // -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * VideoTooLargeException -// The file size or duration of the supplied media is too large. The maximum -// file size is 10GB. The maximum duration is 6 hours. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - VideoTooLargeException +// The file size or duration of the supplied media is too large. The maximum +// file size is 10GB. The maximum duration is 6 hours. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) StartCelebrityRecognition(input *StartCelebrityRecognitionInput) (*StartCelebrityRecognitionOutput, error) { req, out := c.StartCelebrityRecognitionRequest(input) return out, req.Send() @@ -6248,14 +6189,13 @@ const opStartContentModeration = "StartContentModeration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartContentModerationRequest method. +// req, resp := client.StartContentModerationRequest(params) // -// // Example sending a request using the StartContentModerationRequest method. -// req, resp := client.StartContentModerationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) StartContentModerationRequest(input *StartContentModerationInput) (req *request.Request, output *StartContentModerationOutput) { op := &request.Operation{ Name: opStartContentModeration, @@ -6300,43 +6240,43 @@ func (c *Rekognition) StartContentModerationRequest(input *StartContentModeratio // API operation StartContentModeration for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * IdempotentParameterMismatchException -// A ClientRequestToken input parameter was reused with an operation, but at -// least one of the other input parameters is different from the previous call -// to the operation. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - IdempotentParameterMismatchException +// A ClientRequestToken input parameter was reused with an operation, but at +// least one of the other input parameters is different from the previous call +// to the operation. // -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * VideoTooLargeException -// The file size or duration of the supplied media is too large. The maximum -// file size is 10GB. The maximum duration is 6 hours. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - VideoTooLargeException +// The file size or duration of the supplied media is too large. The maximum +// file size is 10GB. The maximum duration is 6 hours. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) StartContentModeration(input *StartContentModerationInput) (*StartContentModerationOutput, error) { req, out := c.StartContentModerationRequest(input) return out, req.Send() @@ -6374,14 +6314,13 @@ const opStartFaceDetection = "StartFaceDetection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartFaceDetectionRequest method. +// req, resp := client.StartFaceDetectionRequest(params) // -// // Example sending a request using the StartFaceDetectionRequest method. -// req, resp := client.StartFaceDetectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) StartFaceDetectionRequest(input *StartFaceDetectionInput) (req *request.Request, output *StartFaceDetectionOutput) { op := &request.Operation{ Name: opStartFaceDetection, @@ -6423,43 +6362,43 @@ func (c *Rekognition) StartFaceDetectionRequest(input *StartFaceDetectionInput) // API operation StartFaceDetection for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * IdempotentParameterMismatchException -// A ClientRequestToken input parameter was reused with an operation, but at -// least one of the other input parameters is different from the previous call -// to the operation. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - IdempotentParameterMismatchException +// A ClientRequestToken input parameter was reused with an operation, but at +// least one of the other input parameters is different from the previous call +// to the operation. // -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * VideoTooLargeException -// The file size or duration of the supplied media is too large. The maximum -// file size is 10GB. The maximum duration is 6 hours. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - VideoTooLargeException +// The file size or duration of the supplied media is too large. The maximum +// file size is 10GB. The maximum duration is 6 hours. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) StartFaceDetection(input *StartFaceDetectionInput) (*StartFaceDetectionOutput, error) { req, out := c.StartFaceDetectionRequest(input) return out, req.Send() @@ -6497,14 +6436,13 @@ const opStartFaceSearch = "StartFaceSearch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartFaceSearchRequest method. +// req, resp := client.StartFaceSearchRequest(params) // -// // Example sending a request using the StartFaceSearchRequest method. -// req, resp := client.StartFaceSearchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) StartFaceSearchRequest(input *StartFaceSearchInput) (req *request.Request, output *StartFaceSearchOutput) { op := &request.Operation{ Name: opStartFaceSearch, @@ -6545,46 +6483,46 @@ func (c *Rekognition) StartFaceSearchRequest(input *StartFaceSearchInput) (req * // API operation StartFaceSearch for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * IdempotentParameterMismatchException -// A ClientRequestToken input parameter was reused with an operation, but at -// least one of the other input parameters is different from the previous call -// to the operation. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - IdempotentParameterMismatchException +// A ClientRequestToken input parameter was reused with an operation, but at +// least one of the other input parameters is different from the previous call +// to the operation. // -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * VideoTooLargeException -// The file size or duration of the supplied media is too large. The maximum -// file size is 10GB. The maximum duration is 6 hours. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - VideoTooLargeException +// The file size or duration of the supplied media is too large. The maximum +// file size is 10GB. The maximum duration is 6 hours. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) StartFaceSearch(input *StartFaceSearchInput) (*StartFaceSearchOutput, error) { req, out := c.StartFaceSearchRequest(input) return out, req.Send() @@ -6622,14 +6560,13 @@ const opStartLabelDetection = "StartLabelDetection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartLabelDetectionRequest method. +// req, resp := client.StartLabelDetectionRequest(params) // -// // Example sending a request using the StartLabelDetectionRequest method. -// req, resp := client.StartLabelDetectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) StartLabelDetectionRequest(input *StartLabelDetectionInput) (req *request.Request, output *StartLabelDetectionOutput) { op := &request.Operation{ Name: opStartLabelDetection, @@ -6676,43 +6613,43 @@ func (c *Rekognition) StartLabelDetectionRequest(input *StartLabelDetectionInput // API operation StartLabelDetection for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * IdempotentParameterMismatchException -// A ClientRequestToken input parameter was reused with an operation, but at -// least one of the other input parameters is different from the previous call -// to the operation. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - IdempotentParameterMismatchException +// A ClientRequestToken input parameter was reused with an operation, but at +// least one of the other input parameters is different from the previous call +// to the operation. // -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * VideoTooLargeException -// The file size or duration of the supplied media is too large. The maximum -// file size is 10GB. The maximum duration is 6 hours. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - VideoTooLargeException +// The file size or duration of the supplied media is too large. The maximum +// file size is 10GB. The maximum duration is 6 hours. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) StartLabelDetection(input *StartLabelDetectionInput) (*StartLabelDetectionOutput, error) { req, out := c.StartLabelDetectionRequest(input) return out, req.Send() @@ -6750,14 +6687,13 @@ const opStartPersonTracking = "StartPersonTracking" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartPersonTrackingRequest method. +// req, resp := client.StartPersonTrackingRequest(params) // -// // Example sending a request using the StartPersonTrackingRequest method. -// req, resp := client.StartPersonTrackingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) StartPersonTrackingRequest(input *StartPersonTrackingInput) (req *request.Request, output *StartPersonTrackingOutput) { op := &request.Operation{ Name: opStartPersonTracking, @@ -6798,43 +6734,43 @@ func (c *Rekognition) StartPersonTrackingRequest(input *StartPersonTrackingInput // API operation StartPersonTracking for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * IdempotentParameterMismatchException -// A ClientRequestToken input parameter was reused with an operation, but at -// least one of the other input parameters is different from the previous call -// to the operation. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - IdempotentParameterMismatchException +// A ClientRequestToken input parameter was reused with an operation, but at +// least one of the other input parameters is different from the previous call +// to the operation. // -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * VideoTooLargeException -// The file size or duration of the supplied media is too large. The maximum -// file size is 10GB. The maximum duration is 6 hours. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - VideoTooLargeException +// The file size or duration of the supplied media is too large. The maximum +// file size is 10GB. The maximum duration is 6 hours. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) StartPersonTracking(input *StartPersonTrackingInput) (*StartPersonTrackingOutput, error) { req, out := c.StartPersonTrackingRequest(input) return out, req.Send() @@ -6872,14 +6808,13 @@ const opStartProjectVersion = "StartProjectVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartProjectVersionRequest method. +// req, resp := client.StartProjectVersionRequest(params) // -// // Example sending a request using the StartProjectVersionRequest method. -// req, resp := client.StartProjectVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) StartProjectVersionRequest(input *StartProjectVersionInput) (req *request.Request, output *StartProjectVersionOutput) { op := &request.Operation{ Name: opStartProjectVersion, @@ -6918,37 +6853,37 @@ func (c *Rekognition) StartProjectVersionRequest(input *StartProjectVersionInput // API operation StartProjectVersion for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request cannot be found. // -// * ResourceInUseException -// The specified resource is already being used. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - ResourceInUseException +// The specified resource is already being used. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) StartProjectVersion(input *StartProjectVersionInput) (*StartProjectVersionOutput, error) { req, out := c.StartProjectVersionRequest(input) return out, req.Send() @@ -6986,14 +6921,13 @@ const opStartSegmentDetection = "StartSegmentDetection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartSegmentDetectionRequest method. +// req, resp := client.StartSegmentDetectionRequest(params) // -// // Example sending a request using the StartSegmentDetectionRequest method. -// req, resp := client.StartSegmentDetectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) StartSegmentDetectionRequest(input *StartSegmentDetectionInput) (req *request.Request, output *StartSegmentDetectionOutput) { op := &request.Operation{ Name: opStartSegmentDetection, @@ -7043,43 +6977,43 @@ func (c *Rekognition) StartSegmentDetectionRequest(input *StartSegmentDetectionI // API operation StartSegmentDetection for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * IdempotentParameterMismatchException -// A ClientRequestToken input parameter was reused with an operation, but at -// least one of the other input parameters is different from the previous call -// to the operation. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - IdempotentParameterMismatchException +// A ClientRequestToken input parameter was reused with an operation, but at +// least one of the other input parameters is different from the previous call +// to the operation. // -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * VideoTooLargeException -// The file size or duration of the supplied media is too large. The maximum -// file size is 10GB. The maximum duration is 6 hours. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - VideoTooLargeException +// The file size or duration of the supplied media is too large. The maximum +// file size is 10GB. The maximum duration is 6 hours. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) StartSegmentDetection(input *StartSegmentDetectionInput) (*StartSegmentDetectionOutput, error) { req, out := c.StartSegmentDetectionRequest(input) return out, req.Send() @@ -7117,14 +7051,13 @@ const opStartStreamProcessor = "StartStreamProcessor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartStreamProcessorRequest method. +// req, resp := client.StartStreamProcessorRequest(params) // -// // Example sending a request using the StartStreamProcessorRequest method. -// req, resp := client.StartStreamProcessorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) StartStreamProcessorRequest(input *StartStreamProcessorInput) (req *request.Request, output *StartStreamProcessorOutput) { op := &request.Operation{ Name: opStartStreamProcessor, @@ -7159,30 +7092,30 @@ func (c *Rekognition) StartStreamProcessorRequest(input *StartStreamProcessorInp // API operation StartStreamProcessor for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ResourceInUseException -// The specified resource is already being used. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ResourceInUseException +// The specified resource is already being used. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) StartStreamProcessor(input *StartStreamProcessorInput) (*StartStreamProcessorOutput, error) { req, out := c.StartStreamProcessorRequest(input) return out, req.Send() @@ -7220,14 +7153,13 @@ const opStartTextDetection = "StartTextDetection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartTextDetectionRequest method. +// req, resp := client.StartTextDetectionRequest(params) // -// // Example sending a request using the StartTextDetectionRequest method. -// req, resp := client.StartTextDetectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) StartTextDetectionRequest(input *StartTextDetectionInput) (req *request.Request, output *StartTextDetectionOutput) { op := &request.Operation{ Name: opStartTextDetection, @@ -7268,43 +7200,43 @@ func (c *Rekognition) StartTextDetectionRequest(input *StartTextDetectionInput) // API operation StartTextDetection for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * IdempotentParameterMismatchException -// A ClientRequestToken input parameter was reused with an operation, but at -// least one of the other input parameters is different from the previous call -// to the operation. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - IdempotentParameterMismatchException +// A ClientRequestToken input parameter was reused with an operation, but at +// least one of the other input parameters is different from the previous call +// to the operation. // -// * InvalidS3ObjectException -// Amazon Rekognition is unable to access the S3 object specified in the request. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - InvalidS3ObjectException +// Amazon Rekognition is unable to access the S3 object specified in the request. // -// * VideoTooLargeException -// The file size or duration of the supplied media is too large. The maximum -// file size is 10GB. The maximum duration is 6 hours. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - VideoTooLargeException +// The file size or duration of the supplied media is too large. The maximum +// file size is 10GB. The maximum duration is 6 hours. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. func (c *Rekognition) StartTextDetection(input *StartTextDetectionInput) (*StartTextDetectionOutput, error) { req, out := c.StartTextDetectionRequest(input) return out, req.Send() @@ -7342,14 +7274,13 @@ const opStopProjectVersion = "StopProjectVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopProjectVersionRequest method. +// req, resp := client.StopProjectVersionRequest(params) // -// // Example sending a request using the StopProjectVersionRequest method. -// req, resp := client.StopProjectVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) StopProjectVersionRequest(input *StopProjectVersionInput) (req *request.Request, output *StopProjectVersionOutput) { op := &request.Operation{ Name: opStopProjectVersion, @@ -7379,30 +7310,30 @@ func (c *Rekognition) StopProjectVersionRequest(input *StopProjectVersionInput) // API operation StopProjectVersion for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request cannot be found. // -// * ResourceInUseException -// The specified resource is already being used. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ResourceInUseException +// The specified resource is already being used. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) StopProjectVersion(input *StopProjectVersionInput) (*StopProjectVersionOutput, error) { req, out := c.StopProjectVersionRequest(input) return out, req.Send() @@ -7440,14 +7371,13 @@ const opStopStreamProcessor = "StopStreamProcessor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopStreamProcessorRequest method. +// req, resp := client.StopStreamProcessorRequest(params) // -// // Example sending a request using the StopStreamProcessorRequest method. -// req, resp := client.StopStreamProcessorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) StopStreamProcessorRequest(input *StopStreamProcessorInput) (req *request.Request, output *StopStreamProcessorOutput) { op := &request.Operation{ Name: opStopStreamProcessor, @@ -7477,30 +7407,30 @@ func (c *Rekognition) StopStreamProcessorRequest(input *StopStreamProcessorInput // API operation StopStreamProcessor for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ResourceInUseException -// The specified resource is already being used. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ResourceInUseException +// The specified resource is already being used. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) StopStreamProcessor(input *StopStreamProcessorInput) (*StopStreamProcessorOutput, error) { req, out := c.StopStreamProcessorRequest(input) return out, req.Send() @@ -7538,14 +7468,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { op := &request.Operation{ Name: opTagResource, @@ -7580,32 +7509,32 @@ func (c *Rekognition) TagResourceRequest(input *TagResourceInput) (req *request. // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request cannot be found. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * ServiceQuotaExceededException -// The size of the collection exceeds the allowed limit. For more information, -// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition -// Developer Guide. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - ServiceQuotaExceededException +// The size of the collection exceeds the allowed limit. For more information, +// see Guidelines and quotas in Amazon Rekognition in the Amazon Rekognition +// Developer Guide. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) return out, req.Send() @@ -7643,14 +7572,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { op := &request.Operation{ Name: opUntagResource, @@ -7684,27 +7612,27 @@ func (c *Rekognition) UntagResourceRequest(input *UntagResourceInput) (req *requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource specified in the request cannot be found. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { req, out := c.UntagResourceRequest(input) return out, req.Send() @@ -7742,14 +7670,13 @@ const opUpdateDatasetEntries = "UpdateDatasetEntries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDatasetEntriesRequest method. +// req, resp := client.UpdateDatasetEntriesRequest(params) // -// // Example sending a request using the UpdateDatasetEntriesRequest method. -// req, resp := client.UpdateDatasetEntriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) UpdateDatasetEntriesRequest(input *UpdateDatasetEntriesInput) (req *request.Request, output *UpdateDatasetEntriesOutput) { op := &request.Operation{ Name: opUpdateDatasetEntries, @@ -7805,37 +7732,37 @@ func (c *Rekognition) UpdateDatasetEntriesRequest(input *UpdateDatasetEntriesInp // API operation UpdateDatasetEntries for usage and error information. // // Returned Error Types: -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. // -// * AccessDeniedException -// You are not authorized to perform the action. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * LimitExceededException -// An Amazon Rekognition service limit was exceeded. For example, if you start -// too many Amazon Rekognition Video jobs concurrently, calls to start operations -// (StartLabelDetection, for example) will raise a LimitExceededException exception -// (HTTP status code: 400) until the number of concurrently running jobs is -// below the Amazon Rekognition service limit. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ResourceInUseException -// The specified resource is already being used. +// - LimitExceededException +// An Amazon Rekognition service limit was exceeded. For example, if you start +// too many Amazon Rekognition Video jobs concurrently, calls to start operations +// (StartLabelDetection, for example) will raise a LimitExceededException exception +// (HTTP status code: 400) until the number of concurrently running jobs is +// below the Amazon Rekognition service limit. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - ResourceInUseException +// The specified resource is already being used. // +// - ResourceNotFoundException +// The resource specified in the request cannot be found. func (c *Rekognition) UpdateDatasetEntries(input *UpdateDatasetEntriesInput) (*UpdateDatasetEntriesOutput, error) { req, out := c.UpdateDatasetEntriesRequest(input) return out, req.Send() @@ -7873,14 +7800,13 @@ const opUpdateStreamProcessor = "UpdateStreamProcessor" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStreamProcessorRequest method. +// req, resp := client.UpdateStreamProcessorRequest(params) // -// // Example sending a request using the UpdateStreamProcessorRequest method. -// req, resp := client.UpdateStreamProcessorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *Rekognition) UpdateStreamProcessorRequest(input *UpdateStreamProcessorInput) (req *request.Request, output *UpdateStreamProcessorOutput) { op := &request.Operation{ Name: opUpdateStreamProcessor, @@ -7911,27 +7837,27 @@ func (c *Rekognition) UpdateStreamProcessorRequest(input *UpdateStreamProcessorI // API operation UpdateStreamProcessor for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform the action. // -// * InternalServerError -// Amazon Rekognition experienced a service issue. Try your call again. +// - AccessDeniedException +// You are not authorized to perform the action. // -// * ThrottlingException -// Amazon Rekognition is temporarily unable to process the request. Try your -// call again. +// - InternalServerError +// Amazon Rekognition experienced a service issue. Try your call again. // -// * InvalidParameterException -// Input parameter violated a constraint. Validate your parameter before calling -// the API operation again. +// - ThrottlingException +// Amazon Rekognition is temporarily unable to process the request. Try your +// call again. // -// * ResourceNotFoundException -// The resource specified in the request cannot be found. +// - InvalidParameterException +// Input parameter violated a constraint. Validate your parameter before calling +// the API operation again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Rekognition. +// - ResourceNotFoundException +// The resource specified in the request cannot be found. // +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Rekognition. func (c *Rekognition) UpdateStreamProcessor(input *UpdateStreamProcessorInput) (*UpdateStreamProcessorOutput, error) { req, out := c.UpdateStreamProcessorRequest(input) return out, req.Send() @@ -12875,11 +12801,11 @@ func (s *Face) SetIndexFacesModelVersion(v string) *Face { // attributes. The corresponding Start operations don't have a FaceAttributes // input parameter. // -// * GetCelebrityRecognition +// - GetCelebrityRecognition // -// * GetPersonTracking +// - GetPersonTracking // -// * GetFaceSearch +// - GetFaceSearch // // The Amazon Rekognition Image DetectFaces and IndexFaces operations can return // all facial attributes. To specify which attributes to return, use the Attributes diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/doc.go index 4a0bb95b9acc..94790ac09b69 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/doc.go @@ -12,126 +12,126 @@ // // Amazon Rekognition Image // -// * CompareFaces (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CompareFaces.html) +// - CompareFaces (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CompareFaces.html) // -// * CreateCollection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateCollection.html) +// - CreateCollection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateCollection.html) // -// * DeleteCollection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DeleteCollection.html) +// - DeleteCollection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DeleteCollection.html) // -// * DeleteFaces (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DeleteFaces.html) +// - DeleteFaces (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DeleteFaces.html) // -// * DescribeCollection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DescribeCollection.html) +// - DescribeCollection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DescribeCollection.html) // -// * DetectFaces (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DetectFaces.html) +// - DetectFaces (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DetectFaces.html) // -// * DetectLabels (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DetectLabels.html) +// - DetectLabels (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DetectLabels.html) // -// * DetectModerationLabels (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DetectModerationLabels.html) +// - DetectModerationLabels (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DetectModerationLabels.html) // -// * DetectProtectiveEquipment (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DetectProtectiveEquipment.html) +// - DetectProtectiveEquipment (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DetectProtectiveEquipment.html) // -// * DetectText (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DetectText.html) +// - DetectText (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DetectText.html) // -// * GetCelebrityInfo (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetCelebrityInfo.html) +// - GetCelebrityInfo (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetCelebrityInfo.html) // -// * IndexFaces (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_IndexFaces.html) +// - IndexFaces (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_IndexFaces.html) // -// * ListCollections (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListCollections.html) +// - ListCollections (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListCollections.html) // -// * ListFaces (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListFaces.html) +// - ListFaces (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListFaces.html) // -// * RecognizeCelebrities (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_RecognizeCelebrities.html) +// - RecognizeCelebrities (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_RecognizeCelebrities.html) // -// * SearchFaces (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_SearchFaces.html) +// - SearchFaces (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_SearchFaces.html) // -// * SearchFacesByImage (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_SearchFacesByImage.html) +// - SearchFacesByImage (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_SearchFacesByImage.html) // // Amazon Rekognition Custom Labels // -// * CreateDataset (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateDataset.html) +// - CreateDataset (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateDataset.html) // -// * CreateProject (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateProject.html) +// - CreateProject (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateProject.html) // -// * CreateProjectVersion (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateProjectVersion.html) +// - CreateProjectVersion (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateProjectVersion.html) // -// * DeleteDataset (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DeleteDataset.html) +// - DeleteDataset (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DeleteDataset.html) // -// * DeleteProject (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DeleteProject.html) +// - DeleteProject (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DeleteProject.html) // -// * DeleteProjectVersion (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DeleteProjectVersion.html) +// - DeleteProjectVersion (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DeleteProjectVersion.html) // -// * DescribeDataset (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DescribeDataset.html) +// - DescribeDataset (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DescribeDataset.html) // -// * DescribeProjects (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DescribeProjects.html) +// - DescribeProjects (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DescribeProjects.html) // -// * DescribeProjectVersions (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DescribeProjectVersions.html) +// - DescribeProjectVersions (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DescribeProjectVersions.html) // -// * DetectCustomLabels (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DetectCustomLabels.html) +// - DetectCustomLabels (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DetectCustomLabels.html) // -// * DistributeDatasetEntries (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DistributeDatasetEntries.html) +// - DistributeDatasetEntries (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DistributeDatasetEntries.html) // -// * ListDatasetEntries (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListDatasetEntries.html) +// - ListDatasetEntries (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListDatasetEntries.html) // -// * ListDatasetLabels (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListDatasetLabels.html) +// - ListDatasetLabels (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListDatasetLabels.html) // -// * StartProjectVersion (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartProjectVersion.html) +// - StartProjectVersion (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartProjectVersion.html) // -// * StopProjectVersion (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StopProjectVersion.html) +// - StopProjectVersion (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StopProjectVersion.html) // -// * UpdateDatasetEntries (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_UpdateDatasetEntries.html) +// - UpdateDatasetEntries (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_UpdateDatasetEntries.html) // // Amazon Rekognition Video Stored Video // -// * GetCelebrityRecognition (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetCelebrityRecognition.html) +// - GetCelebrityRecognition (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetCelebrityRecognition.html) // -// * GetContentModeration (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetContentModeration.html) +// - GetContentModeration (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetContentModeration.html) // -// * GetFaceDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetFaceDetection.html) +// - GetFaceDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetFaceDetection.html) // -// * GetFaceSearch (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetFaceSearch.html) +// - GetFaceSearch (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetFaceSearch.html) // -// * GetLabelDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetLabelDetection.html) +// - GetLabelDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetLabelDetection.html) // -// * GetPersonTracking (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetPersonTracking.html) +// - GetPersonTracking (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetPersonTracking.html) // -// * GetSegmentDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetSegmentDetection.html) +// - GetSegmentDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetSegmentDetection.html) // -// * GetTextDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetTextDetection.html) +// - GetTextDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_GetTextDetection.html) // -// * StartCelebrityRecognition (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartCelebrityRecognition.html) +// - StartCelebrityRecognition (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartCelebrityRecognition.html) // -// * StartContentModeration (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartContentModeration.html) +// - StartContentModeration (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartContentModeration.html) // -// * StartFaceDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartFaceDetection.html) +// - StartFaceDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartFaceDetection.html) // -// * StartFaceSearch (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartFaceSearch.html) +// - StartFaceSearch (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartFaceSearch.html) // -// * StartLabelDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartLabelDetection.html) +// - StartLabelDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartLabelDetection.html) // -// * StartPersonTracking (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartPersonTracking.html) +// - StartPersonTracking (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartPersonTracking.html) // -// * StartSegmentDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartSegmentDetection.html) +// - StartSegmentDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartSegmentDetection.html) // -// * StartTextDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartTextDetection.html) +// - StartTextDetection (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartTextDetection.html) // // Amazon Rekognition Video Streaming Video // -// * CreateStreamProcessor (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateStreamProcessor.html) +// - CreateStreamProcessor (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateStreamProcessor.html) // -// * DeleteStreamProcessor (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DeleteStreamProcessor.html) +// - DeleteStreamProcessor (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DeleteStreamProcessor.html) // -// * DescribeStreamProcessor (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DescribeStreamProcessor.html) +// - DescribeStreamProcessor (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DescribeStreamProcessor.html) // -// * ListStreamProcessors (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListStreamProcessors.html) +// - ListStreamProcessors (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListStreamProcessors.html) // -// * StartStreamProcessor (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartStreamProcessor.html) +// - StartStreamProcessor (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StartStreamProcessor.html) // -// * StopStreamProcessor (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StopStreamProcessor.html) +// - StopStreamProcessor (https://docs.aws.amazon.com/rekognition/latest/APIReference/API_StopStreamProcessor.html) // // See rekognition package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/rekognition/ // -// Using the Client +// # Using the Client // // To contact Amazon Rekognition with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/rekognitioniface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/rekognitioniface/interface.go index c7efc394e7b1..833f258fcd74 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/rekognitioniface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/rekognitioniface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Rekognition. -// func myFunc(svc rekognitioniface.RekognitionAPI) bool { -// // Make svc.CompareFaces request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Rekognition. +// func myFunc(svc rekognitioniface.RekognitionAPI) bool { +// // Make svc.CompareFaces request +// } // -// func main() { -// sess := session.New() -// svc := rekognition.New(sess) +// func main() { +// sess := session.New() +// svc := rekognition.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRekognitionClient struct { -// rekognitioniface.RekognitionAPI -// } -// func (m *mockRekognitionClient) CompareFaces(input *rekognition.CompareFacesInput) (*rekognition.CompareFacesOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRekognitionClient struct { +// rekognitioniface.RekognitionAPI +// } +// func (m *mockRekognitionClient) CompareFaces(input *rekognition.CompareFacesInput) (*rekognition.CompareFacesOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRekognitionClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRekognitionClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/service.go index 049a2df0262f..06d690f43f22 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/rekognition/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Rekognition client from just a session. -// svc := rekognition.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Rekognition client with additional configuration -// svc := rekognition.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Rekognition client from just a session. +// svc := rekognition.New(mySession) +// +// // Create a Rekognition client with additional configuration +// svc := rekognition.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Rekognition { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/api.go index 27180f74bf0d..a27e0ace1929 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/api.go @@ -29,14 +29,13 @@ const opAddDraftAppVersionResourceMappings = "AddDraftAppVersionResourceMappings // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddDraftAppVersionResourceMappingsRequest method. +// req, resp := client.AddDraftAppVersionResourceMappingsRequest(params) // -// // Example sending a request using the AddDraftAppVersionResourceMappingsRequest method. -// req, resp := client.AddDraftAppVersionResourceMappingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AddDraftAppVersionResourceMappings func (c *ResilienceHub) AddDraftAppVersionResourceMappingsRequest(input *AddDraftAppVersionResourceMappingsInput) (req *request.Request, output *AddDraftAppVersionResourceMappingsOutput) { @@ -67,29 +66,30 @@ func (c *ResilienceHub) AddDraftAppVersionResourceMappingsRequest(input *AddDraf // API operation AddDraftAppVersionResourceMappings for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AddDraftAppVersionResourceMappings func (c *ResilienceHub) AddDraftAppVersionResourceMappings(input *AddDraftAppVersionResourceMappingsInput) (*AddDraftAppVersionResourceMappingsOutput, error) { @@ -129,14 +129,13 @@ const opCreateApp = "CreateApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppRequest method. +// req, resp := client.CreateAppRequest(params) // -// // Example sending a request using the CreateAppRequest method. -// req, resp := client.CreateAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateApp func (c *ResilienceHub) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput) { @@ -163,11 +162,11 @@ func (c *ResilienceHub) CreateAppRequest(input *CreateAppInput) (req *request.Re // you provide an application name, resources from one or more–up to five–CloudFormation // stacks, and an appropriate resiliency policy. // -//

After you create a Resilience Hub application, you publish it so that -// you can run a resiliency assessment on it. You can then use recommendations -// from the assessment to improve resiliency by running another assessment, -// comparing results, and then iterating the process until you achieve your -// goals for recovery time objective (RTO) and recovery point objective (RPO).

+//

After you create a Resilience Hub application, you publish it so that +// you can run a resiliency assessment on it. You can then use recommendations +// from the assessment to improve resiliency by running another assessment, +// comparing results, and then iterating the process until you achieve your +// goals for recovery time objective (RTO) and recovery point objective (RPO).

// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -177,34 +176,35 @@ func (c *ResilienceHub) CreateAppRequest(input *CreateAppInput) (req *request.Re // API operation CreateApp for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ServiceQuotaExceededException -// You have exceeded your service quota. To perform the requested action, remove -// some of the relevant resources, or use Service Quotas to request a service -// quota increase. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ServiceQuotaExceededException +// You have exceeded your service quota. To perform the requested action, remove +// some of the relevant resources, or use Service Quotas to request a service +// quota increase. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateApp func (c *ResilienceHub) CreateApp(input *CreateAppInput) (*CreateAppOutput, error) { @@ -244,14 +244,13 @@ const opCreateRecommendationTemplate = "CreateRecommendationTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRecommendationTemplateRequest method. +// req, resp := client.CreateRecommendationTemplateRequest(params) // -// // Example sending a request using the CreateRecommendationTemplateRequest method. -// req, resp := client.CreateRecommendationTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateRecommendationTemplate func (c *ResilienceHub) CreateRecommendationTemplateRequest(input *CreateRecommendationTemplateInput) (req *request.Request, output *CreateRecommendationTemplateOutput) { @@ -282,29 +281,30 @@ func (c *ResilienceHub) CreateRecommendationTemplateRequest(input *CreateRecomme // API operation CreateRecommendationTemplate for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateRecommendationTemplate func (c *ResilienceHub) CreateRecommendationTemplate(input *CreateRecommendationTemplateInput) (*CreateRecommendationTemplateOutput, error) { @@ -344,14 +344,13 @@ const opCreateResiliencyPolicy = "CreateResiliencyPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResiliencyPolicyRequest method. +// req, resp := client.CreateResiliencyPolicyRequest(params) // -// // Example sending a request using the CreateResiliencyPolicyRequest method. -// req, resp := client.CreateResiliencyPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateResiliencyPolicy func (c *ResilienceHub) CreateResiliencyPolicyRequest(input *CreateResiliencyPolicyInput) (req *request.Request, output *CreateResiliencyPolicyOutput) { @@ -382,31 +381,32 @@ func (c *ResilienceHub) CreateResiliencyPolicyRequest(input *CreateResiliencyPol // API operation CreateResiliencyPolicy for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ServiceQuotaExceededException -// You have exceeded your service quota. To perform the requested action, remove -// some of the relevant resources, or use Service Quotas to request a service -// quota increase. +// - ServiceQuotaExceededException +// You have exceeded your service quota. To perform the requested action, remove +// some of the relevant resources, or use Service Quotas to request a service +// quota increase. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateResiliencyPolicy func (c *ResilienceHub) CreateResiliencyPolicy(input *CreateResiliencyPolicyInput) (*CreateResiliencyPolicyOutput, error) { @@ -446,14 +446,13 @@ const opDeleteApp = "DeleteApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppRequest method. +// req, resp := client.DeleteAppRequest(params) // -// // Example sending a request using the DeleteAppRequest method. -// req, resp := client.DeleteAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteApp func (c *ResilienceHub) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput) { @@ -485,24 +484,25 @@ func (c *ResilienceHub) DeleteAppRequest(input *DeleteAppInput) (req *request.Re // API operation DeleteApp for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. +// +// - ValidationException +// Indicates that a request was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteApp func (c *ResilienceHub) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error) { @@ -542,14 +542,13 @@ const opDeleteAppAssessment = "DeleteAppAssessment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppAssessmentRequest method. +// req, resp := client.DeleteAppAssessmentRequest(params) // -// // Example sending a request using the DeleteAppAssessmentRequest method. -// req, resp := client.DeleteAppAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppAssessment func (c *ResilienceHub) DeleteAppAssessmentRequest(input *DeleteAppAssessmentInput) (req *request.Request, output *DeleteAppAssessmentOutput) { @@ -581,29 +580,30 @@ func (c *ResilienceHub) DeleteAppAssessmentRequest(input *DeleteAppAssessmentInp // API operation DeleteAppAssessment for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppAssessment func (c *ResilienceHub) DeleteAppAssessment(input *DeleteAppAssessmentInput) (*DeleteAppAssessmentOutput, error) { @@ -643,14 +643,13 @@ const opDeleteRecommendationTemplate = "DeleteRecommendationTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRecommendationTemplateRequest method. +// req, resp := client.DeleteRecommendationTemplateRequest(params) // -// // Example sending a request using the DeleteRecommendationTemplateRequest method. -// req, resp := client.DeleteRecommendationTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteRecommendationTemplate func (c *ResilienceHub) DeleteRecommendationTemplateRequest(input *DeleteRecommendationTemplateInput) (req *request.Request, output *DeleteRecommendationTemplateOutput) { @@ -682,23 +681,24 @@ func (c *ResilienceHub) DeleteRecommendationTemplateRequest(input *DeleteRecomme // API operation DeleteRecommendationTemplate for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteRecommendationTemplate func (c *ResilienceHub) DeleteRecommendationTemplate(input *DeleteRecommendationTemplateInput) (*DeleteRecommendationTemplateOutput, error) { @@ -738,14 +738,13 @@ const opDeleteResiliencyPolicy = "DeleteResiliencyPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResiliencyPolicyRequest method. +// req, resp := client.DeleteResiliencyPolicyRequest(params) // -// // Example sending a request using the DeleteResiliencyPolicyRequest method. -// req, resp := client.DeleteResiliencyPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteResiliencyPolicy func (c *ResilienceHub) DeleteResiliencyPolicyRequest(input *DeleteResiliencyPolicyInput) (req *request.Request, output *DeleteResiliencyPolicyOutput) { @@ -776,29 +775,30 @@ func (c *ResilienceHub) DeleteResiliencyPolicyRequest(input *DeleteResiliencyPol // API operation DeleteResiliencyPolicy for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteResiliencyPolicy func (c *ResilienceHub) DeleteResiliencyPolicy(input *DeleteResiliencyPolicyInput) (*DeleteResiliencyPolicyOutput, error) { @@ -838,14 +838,13 @@ const opDescribeApp = "DescribeApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAppRequest method. +// req, resp := client.DescribeAppRequest(params) // -// // Example sending a request using the DescribeAppRequest method. -// req, resp := client.DescribeAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeApp func (c *ResilienceHub) DescribeAppRequest(input *DescribeAppInput) (req *request.Request, output *DescribeAppOutput) { @@ -876,23 +875,24 @@ func (c *ResilienceHub) DescribeAppRequest(input *DescribeAppInput) (req *reques // API operation DescribeApp for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeApp func (c *ResilienceHub) DescribeApp(input *DescribeAppInput) (*DescribeAppOutput, error) { @@ -932,14 +932,13 @@ const opDescribeAppAssessment = "DescribeAppAssessment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAppAssessmentRequest method. +// req, resp := client.DescribeAppAssessmentRequest(params) // -// // Example sending a request using the DescribeAppAssessmentRequest method. -// req, resp := client.DescribeAppAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppAssessment func (c *ResilienceHub) DescribeAppAssessmentRequest(input *DescribeAppAssessmentInput) (req *request.Request, output *DescribeAppAssessmentOutput) { @@ -970,23 +969,24 @@ func (c *ResilienceHub) DescribeAppAssessmentRequest(input *DescribeAppAssessmen // API operation DescribeAppAssessment for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppAssessment func (c *ResilienceHub) DescribeAppAssessment(input *DescribeAppAssessmentInput) (*DescribeAppAssessmentOutput, error) { @@ -1026,14 +1026,13 @@ const opDescribeAppVersionResourcesResolutionStatus = "DescribeAppVersionResourc // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAppVersionResourcesResolutionStatusRequest method. +// req, resp := client.DescribeAppVersionResourcesResolutionStatusRequest(params) // -// // Example sending a request using the DescribeAppVersionResourcesResolutionStatusRequest method. -// req, resp := client.DescribeAppVersionResourcesResolutionStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResourcesResolutionStatus func (c *ResilienceHub) DescribeAppVersionResourcesResolutionStatusRequest(input *DescribeAppVersionResourcesResolutionStatusInput) (req *request.Request, output *DescribeAppVersionResourcesResolutionStatusOutput) { @@ -1066,23 +1065,24 @@ func (c *ResilienceHub) DescribeAppVersionResourcesResolutionStatusRequest(input // API operation DescribeAppVersionResourcesResolutionStatus for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResourcesResolutionStatus func (c *ResilienceHub) DescribeAppVersionResourcesResolutionStatus(input *DescribeAppVersionResourcesResolutionStatusInput) (*DescribeAppVersionResourcesResolutionStatusOutput, error) { @@ -1122,14 +1122,13 @@ const opDescribeAppVersionTemplate = "DescribeAppVersionTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAppVersionTemplateRequest method. +// req, resp := client.DescribeAppVersionTemplateRequest(params) // -// // Example sending a request using the DescribeAppVersionTemplateRequest method. -// req, resp := client.DescribeAppVersionTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionTemplate func (c *ResilienceHub) DescribeAppVersionTemplateRequest(input *DescribeAppVersionTemplateInput) (req *request.Request, output *DescribeAppVersionTemplateOutput) { @@ -1150,7 +1149,7 @@ func (c *ResilienceHub) DescribeAppVersionTemplateRequest(input *DescribeAppVers // DescribeAppVersionTemplate API operation for AWS Resilience Hub. // -// Describes details about an AWS Resilience Hub +// # Describes details about an AWS Resilience Hub // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1160,23 +1159,24 @@ func (c *ResilienceHub) DescribeAppVersionTemplateRequest(input *DescribeAppVers // API operation DescribeAppVersionTemplate for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionTemplate func (c *ResilienceHub) DescribeAppVersionTemplate(input *DescribeAppVersionTemplateInput) (*DescribeAppVersionTemplateOutput, error) { @@ -1216,14 +1216,13 @@ const opDescribeDraftAppVersionResourcesImportStatus = "DescribeDraftAppVersionR // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDraftAppVersionResourcesImportStatusRequest method. +// req, resp := client.DescribeDraftAppVersionResourcesImportStatusRequest(params) // -// // Example sending a request using the DescribeDraftAppVersionResourcesImportStatusRequest method. -// req, resp := client.DescribeDraftAppVersionResourcesImportStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeDraftAppVersionResourcesImportStatus func (c *ResilienceHub) DescribeDraftAppVersionResourcesImportStatusRequest(input *DescribeDraftAppVersionResourcesImportStatusInput) (req *request.Request, output *DescribeDraftAppVersionResourcesImportStatusOutput) { @@ -1254,23 +1253,24 @@ func (c *ResilienceHub) DescribeDraftAppVersionResourcesImportStatusRequest(inpu // API operation DescribeDraftAppVersionResourcesImportStatus for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeDraftAppVersionResourcesImportStatus func (c *ResilienceHub) DescribeDraftAppVersionResourcesImportStatus(input *DescribeDraftAppVersionResourcesImportStatusInput) (*DescribeDraftAppVersionResourcesImportStatusOutput, error) { @@ -1310,14 +1310,13 @@ const opDescribeResiliencyPolicy = "DescribeResiliencyPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeResiliencyPolicyRequest method. +// req, resp := client.DescribeResiliencyPolicyRequest(params) // -// // Example sending a request using the DescribeResiliencyPolicyRequest method. -// req, resp := client.DescribeResiliencyPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResiliencyPolicy func (c *ResilienceHub) DescribeResiliencyPolicyRequest(input *DescribeResiliencyPolicyInput) (req *request.Request, output *DescribeResiliencyPolicyOutput) { @@ -1350,23 +1349,24 @@ func (c *ResilienceHub) DescribeResiliencyPolicyRequest(input *DescribeResilienc // API operation DescribeResiliencyPolicy for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResiliencyPolicy func (c *ResilienceHub) DescribeResiliencyPolicy(input *DescribeResiliencyPolicyInput) (*DescribeResiliencyPolicyOutput, error) { @@ -1406,14 +1406,13 @@ const opImportResourcesToDraftAppVersion = "ImportResourcesToDraftAppVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportResourcesToDraftAppVersionRequest method. +// req, resp := client.ImportResourcesToDraftAppVersionRequest(params) // -// // Example sending a request using the ImportResourcesToDraftAppVersionRequest method. -// req, resp := client.ImportResourcesToDraftAppVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersion func (c *ResilienceHub) ImportResourcesToDraftAppVersionRequest(input *ImportResourcesToDraftAppVersionInput) (req *request.Request, output *ImportResourcesToDraftAppVersionOutput) { @@ -1445,29 +1444,30 @@ func (c *ResilienceHub) ImportResourcesToDraftAppVersionRequest(input *ImportRes // API operation ImportResourcesToDraftAppVersion for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersion func (c *ResilienceHub) ImportResourcesToDraftAppVersion(input *ImportResourcesToDraftAppVersionInput) (*ImportResourcesToDraftAppVersionOutput, error) { @@ -1507,14 +1507,13 @@ const opListAlarmRecommendations = "ListAlarmRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAlarmRecommendationsRequest method. +// req, resp := client.ListAlarmRecommendationsRequest(params) // -// // Example sending a request using the ListAlarmRecommendationsRequest method. -// req, resp := client.ListAlarmRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAlarmRecommendations func (c *ResilienceHub) ListAlarmRecommendationsRequest(input *ListAlarmRecommendationsInput) (req *request.Request, output *ListAlarmRecommendationsOutput) { @@ -1551,23 +1550,24 @@ func (c *ResilienceHub) ListAlarmRecommendationsRequest(input *ListAlarmRecommen // API operation ListAlarmRecommendations for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAlarmRecommendations func (c *ResilienceHub) ListAlarmRecommendations(input *ListAlarmRecommendationsInput) (*ListAlarmRecommendationsOutput, error) { @@ -1599,15 +1599,14 @@ func (c *ResilienceHub) ListAlarmRecommendationsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAlarmRecommendations operation. -// pageNum := 0 -// err := client.ListAlarmRecommendationsPages(params, -// func(page *resiliencehub.ListAlarmRecommendationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAlarmRecommendations operation. +// pageNum := 0 +// err := client.ListAlarmRecommendationsPages(params, +// func(page *resiliencehub.ListAlarmRecommendationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResilienceHub) ListAlarmRecommendationsPages(input *ListAlarmRecommendationsInput, fn func(*ListAlarmRecommendationsOutput, bool) bool) error { return c.ListAlarmRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1659,14 +1658,13 @@ const opListAppAssessments = "ListAppAssessments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppAssessmentsRequest method. +// req, resp := client.ListAppAssessmentsRequest(params) // -// // Example sending a request using the ListAppAssessmentsRequest method. -// req, resp := client.ListAppAssessmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessments func (c *ResilienceHub) ListAppAssessmentsRequest(input *ListAppAssessmentsInput) (req *request.Request, output *ListAppAssessmentsOutput) { @@ -1704,23 +1702,24 @@ func (c *ResilienceHub) ListAppAssessmentsRequest(input *ListAppAssessmentsInput // API operation ListAppAssessments for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessments func (c *ResilienceHub) ListAppAssessments(input *ListAppAssessmentsInput) (*ListAppAssessmentsOutput, error) { @@ -1752,15 +1751,14 @@ func (c *ResilienceHub) ListAppAssessmentsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppAssessments operation. -// pageNum := 0 -// err := client.ListAppAssessmentsPages(params, -// func(page *resiliencehub.ListAppAssessmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppAssessments operation. +// pageNum := 0 +// err := client.ListAppAssessmentsPages(params, +// func(page *resiliencehub.ListAppAssessmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResilienceHub) ListAppAssessmentsPages(input *ListAppAssessmentsInput, fn func(*ListAppAssessmentsOutput, bool) bool) error { return c.ListAppAssessmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1812,14 +1810,13 @@ const opListAppComponentCompliances = "ListAppComponentCompliances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppComponentCompliancesRequest method. +// req, resp := client.ListAppComponentCompliancesRequest(params) // -// // Example sending a request using the ListAppComponentCompliancesRequest method. -// req, resp := client.ListAppComponentCompliancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentCompliances func (c *ResilienceHub) ListAppComponentCompliancesRequest(input *ListAppComponentCompliancesInput) (req *request.Request, output *ListAppComponentCompliancesOutput) { @@ -1856,23 +1853,24 @@ func (c *ResilienceHub) ListAppComponentCompliancesRequest(input *ListAppCompone // API operation ListAppComponentCompliances for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentCompliances func (c *ResilienceHub) ListAppComponentCompliances(input *ListAppComponentCompliancesInput) (*ListAppComponentCompliancesOutput, error) { @@ -1904,15 +1902,14 @@ func (c *ResilienceHub) ListAppComponentCompliancesWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppComponentCompliances operation. -// pageNum := 0 -// err := client.ListAppComponentCompliancesPages(params, -// func(page *resiliencehub.ListAppComponentCompliancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppComponentCompliances operation. +// pageNum := 0 +// err := client.ListAppComponentCompliancesPages(params, +// func(page *resiliencehub.ListAppComponentCompliancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResilienceHub) ListAppComponentCompliancesPages(input *ListAppComponentCompliancesInput, fn func(*ListAppComponentCompliancesOutput, bool) bool) error { return c.ListAppComponentCompliancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1964,14 +1961,13 @@ const opListAppComponentRecommendations = "ListAppComponentRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppComponentRecommendationsRequest method. +// req, resp := client.ListAppComponentRecommendationsRequest(params) // -// // Example sending a request using the ListAppComponentRecommendationsRequest method. -// req, resp := client.ListAppComponentRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendations func (c *ResilienceHub) ListAppComponentRecommendationsRequest(input *ListAppComponentRecommendationsInput) (req *request.Request, output *ListAppComponentRecommendationsOutput) { @@ -2008,23 +2004,24 @@ func (c *ResilienceHub) ListAppComponentRecommendationsRequest(input *ListAppCom // API operation ListAppComponentRecommendations for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendations func (c *ResilienceHub) ListAppComponentRecommendations(input *ListAppComponentRecommendationsInput) (*ListAppComponentRecommendationsOutput, error) { @@ -2056,15 +2053,14 @@ func (c *ResilienceHub) ListAppComponentRecommendationsWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppComponentRecommendations operation. -// pageNum := 0 -// err := client.ListAppComponentRecommendationsPages(params, -// func(page *resiliencehub.ListAppComponentRecommendationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppComponentRecommendations operation. +// pageNum := 0 +// err := client.ListAppComponentRecommendationsPages(params, +// func(page *resiliencehub.ListAppComponentRecommendationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResilienceHub) ListAppComponentRecommendationsPages(input *ListAppComponentRecommendationsInput, fn func(*ListAppComponentRecommendationsOutput, bool) bool) error { return c.ListAppComponentRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2116,14 +2112,13 @@ const opListAppVersionResourceMappings = "ListAppVersionResourceMappings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppVersionResourceMappingsRequest method. +// req, resp := client.ListAppVersionResourceMappingsRequest(params) // -// // Example sending a request using the ListAppVersionResourceMappingsRequest method. -// req, resp := client.ListAppVersionResourceMappingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourceMappings func (c *ResilienceHub) ListAppVersionResourceMappingsRequest(input *ListAppVersionResourceMappingsInput) (req *request.Request, output *ListAppVersionResourceMappingsOutput) { @@ -2162,23 +2157,24 @@ func (c *ResilienceHub) ListAppVersionResourceMappingsRequest(input *ListAppVers // API operation ListAppVersionResourceMappings for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourceMappings func (c *ResilienceHub) ListAppVersionResourceMappings(input *ListAppVersionResourceMappingsInput) (*ListAppVersionResourceMappingsOutput, error) { @@ -2210,15 +2206,14 @@ func (c *ResilienceHub) ListAppVersionResourceMappingsWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppVersionResourceMappings operation. -// pageNum := 0 -// err := client.ListAppVersionResourceMappingsPages(params, -// func(page *resiliencehub.ListAppVersionResourceMappingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppVersionResourceMappings operation. +// pageNum := 0 +// err := client.ListAppVersionResourceMappingsPages(params, +// func(page *resiliencehub.ListAppVersionResourceMappingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResilienceHub) ListAppVersionResourceMappingsPages(input *ListAppVersionResourceMappingsInput, fn func(*ListAppVersionResourceMappingsOutput, bool) bool) error { return c.ListAppVersionResourceMappingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2270,14 +2265,13 @@ const opListAppVersionResources = "ListAppVersionResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppVersionResourcesRequest method. +// req, resp := client.ListAppVersionResourcesRequest(params) // -// // Example sending a request using the ListAppVersionResourcesRequest method. -// req, resp := client.ListAppVersionResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResources func (c *ResilienceHub) ListAppVersionResourcesRequest(input *ListAppVersionResourcesInput) (req *request.Request, output *ListAppVersionResourcesOutput) { @@ -2314,29 +2308,30 @@ func (c *ResilienceHub) ListAppVersionResourcesRequest(input *ListAppVersionReso // API operation ListAppVersionResources for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResources func (c *ResilienceHub) ListAppVersionResources(input *ListAppVersionResourcesInput) (*ListAppVersionResourcesOutput, error) { @@ -2368,15 +2363,14 @@ func (c *ResilienceHub) ListAppVersionResourcesWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppVersionResources operation. -// pageNum := 0 -// err := client.ListAppVersionResourcesPages(params, -// func(page *resiliencehub.ListAppVersionResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppVersionResources operation. +// pageNum := 0 +// err := client.ListAppVersionResourcesPages(params, +// func(page *resiliencehub.ListAppVersionResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResilienceHub) ListAppVersionResourcesPages(input *ListAppVersionResourcesInput, fn func(*ListAppVersionResourcesOutput, bool) bool) error { return c.ListAppVersionResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2428,14 +2422,13 @@ const opListAppVersions = "ListAppVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppVersionsRequest method. +// req, resp := client.ListAppVersionsRequest(params) // -// // Example sending a request using the ListAppVersionsRequest method. -// req, resp := client.ListAppVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersions func (c *ResilienceHub) ListAppVersionsRequest(input *ListAppVersionsInput) (req *request.Request, output *ListAppVersionsOutput) { @@ -2472,20 +2465,21 @@ func (c *ResilienceHub) ListAppVersionsRequest(input *ListAppVersionsInput) (req // API operation ListAppVersions for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ValidationException -// Indicates that a request was not valid. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersions func (c *ResilienceHub) ListAppVersions(input *ListAppVersionsInput) (*ListAppVersionsOutput, error) { @@ -2517,15 +2511,14 @@ func (c *ResilienceHub) ListAppVersionsWithContext(ctx aws.Context, input *ListA // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppVersions operation. -// pageNum := 0 -// err := client.ListAppVersionsPages(params, -// func(page *resiliencehub.ListAppVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppVersions operation. +// pageNum := 0 +// err := client.ListAppVersionsPages(params, +// func(page *resiliencehub.ListAppVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResilienceHub) ListAppVersionsPages(input *ListAppVersionsInput, fn func(*ListAppVersionsOutput, bool) bool) error { return c.ListAppVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2577,14 +2570,13 @@ const opListApps = "ListApps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppsRequest method. +// req, resp := client.ListAppsRequest(params) // -// // Example sending a request using the ListAppsRequest method. -// req, resp := client.ListAppsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListApps func (c *ResilienceHub) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput) { @@ -2621,20 +2613,21 @@ func (c *ResilienceHub) ListAppsRequest(input *ListAppsInput) (req *request.Requ // API operation ListApps for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListApps func (c *ResilienceHub) ListApps(input *ListAppsInput) (*ListAppsOutput, error) { @@ -2666,15 +2659,14 @@ func (c *ResilienceHub) ListAppsWithContext(ctx aws.Context, input *ListAppsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApps operation. -// pageNum := 0 -// err := client.ListAppsPages(params, -// func(page *resiliencehub.ListAppsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApps operation. +// pageNum := 0 +// err := client.ListAppsPages(params, +// func(page *resiliencehub.ListAppsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResilienceHub) ListAppsPages(input *ListAppsInput, fn func(*ListAppsOutput, bool) bool) error { return c.ListAppsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2726,14 +2718,13 @@ const opListRecommendationTemplates = "ListRecommendationTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRecommendationTemplatesRequest method. +// req, resp := client.ListRecommendationTemplatesRequest(params) // -// // Example sending a request using the ListRecommendationTemplatesRequest method. -// req, resp := client.ListRecommendationTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListRecommendationTemplates func (c *ResilienceHub) ListRecommendationTemplatesRequest(input *ListRecommendationTemplatesInput) (req *request.Request, output *ListRecommendationTemplatesOutput) { @@ -2770,20 +2761,21 @@ func (c *ResilienceHub) ListRecommendationTemplatesRequest(input *ListRecommenda // API operation ListRecommendationTemplates for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListRecommendationTemplates func (c *ResilienceHub) ListRecommendationTemplates(input *ListRecommendationTemplatesInput) (*ListRecommendationTemplatesOutput, error) { @@ -2815,15 +2807,14 @@ func (c *ResilienceHub) ListRecommendationTemplatesWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRecommendationTemplates operation. -// pageNum := 0 -// err := client.ListRecommendationTemplatesPages(params, -// func(page *resiliencehub.ListRecommendationTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRecommendationTemplates operation. +// pageNum := 0 +// err := client.ListRecommendationTemplatesPages(params, +// func(page *resiliencehub.ListRecommendationTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResilienceHub) ListRecommendationTemplatesPages(input *ListRecommendationTemplatesInput, fn func(*ListRecommendationTemplatesOutput, bool) bool) error { return c.ListRecommendationTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2875,14 +2866,13 @@ const opListResiliencyPolicies = "ListResiliencyPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResiliencyPoliciesRequest method. +// req, resp := client.ListResiliencyPoliciesRequest(params) // -// // Example sending a request using the ListResiliencyPoliciesRequest method. -// req, resp := client.ListResiliencyPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResiliencyPolicies func (c *ResilienceHub) ListResiliencyPoliciesRequest(input *ListResiliencyPoliciesInput) (req *request.Request, output *ListResiliencyPoliciesOutput) { @@ -2919,23 +2909,24 @@ func (c *ResilienceHub) ListResiliencyPoliciesRequest(input *ListResiliencyPolic // API operation ListResiliencyPolicies for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResiliencyPolicies func (c *ResilienceHub) ListResiliencyPolicies(input *ListResiliencyPoliciesInput) (*ListResiliencyPoliciesOutput, error) { @@ -2967,15 +2958,14 @@ func (c *ResilienceHub) ListResiliencyPoliciesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResiliencyPolicies operation. -// pageNum := 0 -// err := client.ListResiliencyPoliciesPages(params, -// func(page *resiliencehub.ListResiliencyPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResiliencyPolicies operation. +// pageNum := 0 +// err := client.ListResiliencyPoliciesPages(params, +// func(page *resiliencehub.ListResiliencyPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResilienceHub) ListResiliencyPoliciesPages(input *ListResiliencyPoliciesInput, fn func(*ListResiliencyPoliciesOutput, bool) bool) error { return c.ListResiliencyPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3027,14 +3017,13 @@ const opListSopRecommendations = "ListSopRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSopRecommendationsRequest method. +// req, resp := client.ListSopRecommendationsRequest(params) // -// // Example sending a request using the ListSopRecommendationsRequest method. -// req, resp := client.ListSopRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSopRecommendations func (c *ResilienceHub) ListSopRecommendationsRequest(input *ListSopRecommendationsInput) (req *request.Request, output *ListSopRecommendationsOutput) { @@ -3072,29 +3061,30 @@ func (c *ResilienceHub) ListSopRecommendationsRequest(input *ListSopRecommendati // API operation ListSopRecommendations for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSopRecommendations func (c *ResilienceHub) ListSopRecommendations(input *ListSopRecommendationsInput) (*ListSopRecommendationsOutput, error) { @@ -3126,15 +3116,14 @@ func (c *ResilienceHub) ListSopRecommendationsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSopRecommendations operation. -// pageNum := 0 -// err := client.ListSopRecommendationsPages(params, -// func(page *resiliencehub.ListSopRecommendationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSopRecommendations operation. +// pageNum := 0 +// err := client.ListSopRecommendationsPages(params, +// func(page *resiliencehub.ListSopRecommendationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResilienceHub) ListSopRecommendationsPages(input *ListSopRecommendationsInput, fn func(*ListSopRecommendationsOutput, bool) bool) error { return c.ListSopRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3186,14 +3175,13 @@ const opListSuggestedResiliencyPolicies = "ListSuggestedResiliencyPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSuggestedResiliencyPoliciesRequest method. +// req, resp := client.ListSuggestedResiliencyPoliciesRequest(params) // -// // Example sending a request using the ListSuggestedResiliencyPoliciesRequest method. -// req, resp := client.ListSuggestedResiliencyPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSuggestedResiliencyPolicies func (c *ResilienceHub) ListSuggestedResiliencyPoliciesRequest(input *ListSuggestedResiliencyPoliciesInput) (req *request.Request, output *ListSuggestedResiliencyPoliciesOutput) { @@ -3230,23 +3218,24 @@ func (c *ResilienceHub) ListSuggestedResiliencyPoliciesRequest(input *ListSugges // API operation ListSuggestedResiliencyPolicies for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSuggestedResiliencyPolicies func (c *ResilienceHub) ListSuggestedResiliencyPolicies(input *ListSuggestedResiliencyPoliciesInput) (*ListSuggestedResiliencyPoliciesOutput, error) { @@ -3278,15 +3267,14 @@ func (c *ResilienceHub) ListSuggestedResiliencyPoliciesWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSuggestedResiliencyPolicies operation. -// pageNum := 0 -// err := client.ListSuggestedResiliencyPoliciesPages(params, -// func(page *resiliencehub.ListSuggestedResiliencyPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSuggestedResiliencyPolicies operation. +// pageNum := 0 +// err := client.ListSuggestedResiliencyPoliciesPages(params, +// func(page *resiliencehub.ListSuggestedResiliencyPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResilienceHub) ListSuggestedResiliencyPoliciesPages(input *ListSuggestedResiliencyPoliciesInput, fn func(*ListSuggestedResiliencyPoliciesOutput, bool) bool) error { return c.ListSuggestedResiliencyPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3338,14 +3326,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTagsForResource func (c *ResilienceHub) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -3376,23 +3363,24 @@ func (c *ResilienceHub) ListTagsForResourceRequest(input *ListTagsForResourceInp // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTagsForResource func (c *ResilienceHub) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3432,14 +3420,13 @@ const opListTestRecommendations = "ListTestRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTestRecommendationsRequest method. +// req, resp := client.ListTestRecommendationsRequest(params) // -// // Example sending a request using the ListTestRecommendationsRequest method. -// req, resp := client.ListTestRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTestRecommendations func (c *ResilienceHub) ListTestRecommendationsRequest(input *ListTestRecommendationsInput) (req *request.Request, output *ListTestRecommendationsOutput) { @@ -3476,29 +3463,30 @@ func (c *ResilienceHub) ListTestRecommendationsRequest(input *ListTestRecommenda // API operation ListTestRecommendations for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTestRecommendations func (c *ResilienceHub) ListTestRecommendations(input *ListTestRecommendationsInput) (*ListTestRecommendationsOutput, error) { @@ -3530,15 +3518,14 @@ func (c *ResilienceHub) ListTestRecommendationsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTestRecommendations operation. -// pageNum := 0 -// err := client.ListTestRecommendationsPages(params, -// func(page *resiliencehub.ListTestRecommendationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTestRecommendations operation. +// pageNum := 0 +// err := client.ListTestRecommendationsPages(params, +// func(page *resiliencehub.ListTestRecommendationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResilienceHub) ListTestRecommendationsPages(input *ListTestRecommendationsInput, fn func(*ListTestRecommendationsOutput, bool) bool) error { return c.ListTestRecommendationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3590,14 +3577,13 @@ const opListUnsupportedAppVersionResources = "ListUnsupportedAppVersionResources // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUnsupportedAppVersionResourcesRequest method. +// req, resp := client.ListUnsupportedAppVersionResourcesRequest(params) // -// // Example sending a request using the ListUnsupportedAppVersionResourcesRequest method. -// req, resp := client.ListUnsupportedAppVersionResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListUnsupportedAppVersionResources func (c *ResilienceHub) ListUnsupportedAppVersionResourcesRequest(input *ListUnsupportedAppVersionResourcesInput) (req *request.Request, output *ListUnsupportedAppVersionResourcesOutput) { @@ -3636,29 +3622,30 @@ func (c *ResilienceHub) ListUnsupportedAppVersionResourcesRequest(input *ListUns // API operation ListUnsupportedAppVersionResources for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListUnsupportedAppVersionResources func (c *ResilienceHub) ListUnsupportedAppVersionResources(input *ListUnsupportedAppVersionResourcesInput) (*ListUnsupportedAppVersionResourcesOutput, error) { @@ -3690,15 +3677,14 @@ func (c *ResilienceHub) ListUnsupportedAppVersionResourcesWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUnsupportedAppVersionResources operation. -// pageNum := 0 -// err := client.ListUnsupportedAppVersionResourcesPages(params, -// func(page *resiliencehub.ListUnsupportedAppVersionResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUnsupportedAppVersionResources operation. +// pageNum := 0 +// err := client.ListUnsupportedAppVersionResourcesPages(params, +// func(page *resiliencehub.ListUnsupportedAppVersionResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResilienceHub) ListUnsupportedAppVersionResourcesPages(input *ListUnsupportedAppVersionResourcesInput, fn func(*ListUnsupportedAppVersionResourcesOutput, bool) bool) error { return c.ListUnsupportedAppVersionResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3750,14 +3736,13 @@ const opPublishAppVersion = "PublishAppVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PublishAppVersionRequest method. +// req, resp := client.PublishAppVersionRequest(params) // -// // Example sending a request using the PublishAppVersionRequest method. -// req, resp := client.PublishAppVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersion func (c *ResilienceHub) PublishAppVersionRequest(input *PublishAppVersionInput) (req *request.Request, output *PublishAppVersionOutput) { @@ -3788,29 +3773,30 @@ func (c *ResilienceHub) PublishAppVersionRequest(input *PublishAppVersionInput) // API operation PublishAppVersion for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersion func (c *ResilienceHub) PublishAppVersion(input *PublishAppVersionInput) (*PublishAppVersionOutput, error) { @@ -3850,14 +3836,13 @@ const opPutDraftAppVersionTemplate = "PutDraftAppVersionTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDraftAppVersionTemplateRequest method. +// req, resp := client.PutDraftAppVersionTemplateRequest(params) // -// // Example sending a request using the PutDraftAppVersionTemplateRequest method. -// req, resp := client.PutDraftAppVersionTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PutDraftAppVersionTemplate func (c *ResilienceHub) PutDraftAppVersionTemplateRequest(input *PutDraftAppVersionTemplateInput) (req *request.Request, output *PutDraftAppVersionTemplateOutput) { @@ -3889,29 +3874,30 @@ func (c *ResilienceHub) PutDraftAppVersionTemplateRequest(input *PutDraftAppVers // API operation PutDraftAppVersionTemplate for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PutDraftAppVersionTemplate func (c *ResilienceHub) PutDraftAppVersionTemplate(input *PutDraftAppVersionTemplateInput) (*PutDraftAppVersionTemplateOutput, error) { @@ -3951,14 +3937,13 @@ const opRemoveDraftAppVersionResourceMappings = "RemoveDraftAppVersionResourceMa // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveDraftAppVersionResourceMappingsRequest method. +// req, resp := client.RemoveDraftAppVersionResourceMappingsRequest(params) // -// // Example sending a request using the RemoveDraftAppVersionResourceMappingsRequest method. -// req, resp := client.RemoveDraftAppVersionResourceMappingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RemoveDraftAppVersionResourceMappings func (c *ResilienceHub) RemoveDraftAppVersionResourceMappingsRequest(input *RemoveDraftAppVersionResourceMappingsInput) (req *request.Request, output *RemoveDraftAppVersionResourceMappingsOutput) { @@ -3989,29 +3974,30 @@ func (c *ResilienceHub) RemoveDraftAppVersionResourceMappingsRequest(input *Remo // API operation RemoveDraftAppVersionResourceMappings for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RemoveDraftAppVersionResourceMappings func (c *ResilienceHub) RemoveDraftAppVersionResourceMappings(input *RemoveDraftAppVersionResourceMappingsInput) (*RemoveDraftAppVersionResourceMappingsOutput, error) { @@ -4051,14 +4037,13 @@ const opResolveAppVersionResources = "ResolveAppVersionResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResolveAppVersionResourcesRequest method. +// req, resp := client.ResolveAppVersionResourcesRequest(params) // -// // Example sending a request using the ResolveAppVersionResourcesRequest method. -// req, resp := client.ResolveAppVersionResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResolveAppVersionResources func (c *ResilienceHub) ResolveAppVersionResourcesRequest(input *ResolveAppVersionResourcesInput) (req *request.Request, output *ResolveAppVersionResourcesOutput) { @@ -4089,29 +4074,30 @@ func (c *ResilienceHub) ResolveAppVersionResourcesRequest(input *ResolveAppVersi // API operation ResolveAppVersionResources for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResolveAppVersionResources func (c *ResilienceHub) ResolveAppVersionResources(input *ResolveAppVersionResourcesInput) (*ResolveAppVersionResourcesOutput, error) { @@ -4151,14 +4137,13 @@ const opStartAppAssessment = "StartAppAssessment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartAppAssessmentRequest method. +// req, resp := client.StartAppAssessmentRequest(params) // -// // Example sending a request using the StartAppAssessmentRequest method. -// req, resp := client.StartAppAssessmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartAppAssessment func (c *ResilienceHub) StartAppAssessmentRequest(input *StartAppAssessmentInput) (req *request.Request, output *StartAppAssessmentOutput) { @@ -4189,34 +4174,35 @@ func (c *ResilienceHub) StartAppAssessmentRequest(input *StartAppAssessmentInput // API operation StartAppAssessment for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ServiceQuotaExceededException -// You have exceeded your service quota. To perform the requested action, remove -// some of the relevant resources, or use Service Quotas to request a service -// quota increase. +// - ServiceQuotaExceededException +// You have exceeded your service quota. To perform the requested action, remove +// some of the relevant resources, or use Service Quotas to request a service +// quota increase. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartAppAssessment func (c *ResilienceHub) StartAppAssessment(input *StartAppAssessmentInput) (*StartAppAssessmentOutput, error) { @@ -4256,14 +4242,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/TagResource func (c *ResilienceHub) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -4295,23 +4280,24 @@ func (c *ResilienceHub) TagResourceRequest(input *TagResourceInput) (req *reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/TagResource func (c *ResilienceHub) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4351,14 +4337,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UntagResource func (c *ResilienceHub) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4390,23 +4375,24 @@ func (c *ResilienceHub) UntagResourceRequest(input *UntagResourceInput) (req *re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ValidationException -// Indicates that a request was not valid. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - ValidationException +// Indicates that a request was not valid. +// +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UntagResource func (c *ResilienceHub) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -4446,14 +4432,13 @@ const opUpdateApp = "UpdateApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAppRequest method. +// req, resp := client.UpdateAppRequest(params) // -// // Example sending a request using the UpdateAppRequest method. -// req, resp := client.UpdateAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateApp func (c *ResilienceHub) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, output *UpdateAppOutput) { @@ -4484,29 +4469,30 @@ func (c *ResilienceHub) UpdateAppRequest(input *UpdateAppInput) (req *request.Re // API operation UpdateApp for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateApp func (c *ResilienceHub) UpdateApp(input *UpdateAppInput) (*UpdateAppOutput, error) { @@ -4546,14 +4532,13 @@ const opUpdateResiliencyPolicy = "UpdateResiliencyPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResiliencyPolicyRequest method. +// req, resp := client.UpdateResiliencyPolicyRequest(params) // -// // Example sending a request using the UpdateResiliencyPolicyRequest method. -// req, resp := client.UpdateResiliencyPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateResiliencyPolicy func (c *ResilienceHub) UpdateResiliencyPolicyRequest(input *UpdateResiliencyPolicyInput) (req *request.Request, output *UpdateResiliencyPolicyOutput) { @@ -4584,29 +4569,30 @@ func (c *ResilienceHub) UpdateResiliencyPolicyRequest(input *UpdateResiliencyPol // API operation UpdateResiliencyPolicy for usage and error information. // // Returned Error Types: -// * InternalServerException -// This exception occurs when there is an internal failure in the AWS Resilience -// Hub service. // -// * ResourceNotFoundException -// The specified resource could not be found. +// - InternalServerException +// This exception occurs when there is an internal failure in the AWS Resilience +// Hub service. +// +// - ResourceNotFoundException +// The specified resource could not be found. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // -// * ThrottlingException -// The limit on the number of requests per second was exceeded. +// - ThrottlingException +// The limit on the number of requests per second was exceeded. // -// * ValidationException -// Indicates that a request was not valid. +// - ValidationException +// Indicates that a request was not valid. // -// * AccessDeniedException -// You don't have permissions to perform the requested operation. The user or -// role that is making the request must have at least one IAM permissions policy -// attached that grants the required permissions. +// - AccessDeniedException +// You don't have permissions to perform the requested operation. The user or +// role that is making the request must have at least one IAM permissions policy +// attached that grants the required permissions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateResiliencyPolicy func (c *ResilienceHub) UpdateResiliencyPolicy(input *UpdateResiliencyPolicyInput) (*UpdateResiliencyPolicyOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/doc.go index 51c64081e7b5..bb594b84e333 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/doc.go @@ -15,7 +15,7 @@ // See resiliencehub package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/resiliencehub/ // -// Using the Client +// # Using the Client // // To contact AWS Resilience Hub with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/resiliencehubiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/resiliencehubiface/interface.go index c733839ce593..98ea74644a08 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/resiliencehubiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/resiliencehubiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Resilience Hub. -// func myFunc(svc resiliencehubiface.ResilienceHubAPI) bool { -// // Make svc.AddDraftAppVersionResourceMappings request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Resilience Hub. +// func myFunc(svc resiliencehubiface.ResilienceHubAPI) bool { +// // Make svc.AddDraftAppVersionResourceMappings request +// } // -// func main() { -// sess := session.New() -// svc := resiliencehub.New(sess) +// func main() { +// sess := session.New() +// svc := resiliencehub.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockResilienceHubClient struct { -// resiliencehubiface.ResilienceHubAPI -// } -// func (m *mockResilienceHubClient) AddDraftAppVersionResourceMappings(input *resiliencehub.AddDraftAppVersionResourceMappingsInput) (*resiliencehub.AddDraftAppVersionResourceMappingsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockResilienceHubClient struct { +// resiliencehubiface.ResilienceHubAPI +// } +// func (m *mockResilienceHubClient) AddDraftAppVersionResourceMappings(input *resiliencehub.AddDraftAppVersionResourceMappingsInput) (*resiliencehub.AddDraftAppVersionResourceMappingsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockResilienceHubClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockResilienceHubClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/service.go index a666feeb965f..9cb385349d36 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resiliencehub/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ResilienceHub client from just a session. -// svc := resiliencehub.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ResilienceHub client with additional configuration -// svc := resiliencehub.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ResilienceHub client from just a session. +// svc := resiliencehub.New(mySession) +// +// // Create a ResilienceHub client with additional configuration +// svc := resiliencehub.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ResilienceHub { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/api.go index 8cd267d68d9f..30d8e7e09af6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/api.go @@ -28,14 +28,13 @@ const opCreateGroup = "CreateGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGroupRequest method. +// req, resp := client.CreateGroupRequest(params) // -// // Example sending a request using the CreateGroupRequest method. -// req, resp := client.CreateGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/CreateGroup func (c *ResourceGroups) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput) { @@ -63,11 +62,11 @@ func (c *ResourceGroups) CreateGroupRequest(input *CreateGroupInput) (req *reque // For more information about service configurations, see Service configurations // for resource groups (https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html). // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:CreateGroup +// - resource-groups:CreateGroup // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -77,21 +76,22 @@ func (c *ResourceGroups) CreateGroupRequest(input *CreateGroupInput) (req *reque // API operation CreateGroup for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request includes one or more parameters that violate validation rules. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - BadRequestException +// The request includes one or more parameters that violate validation rules. +// +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/CreateGroup func (c *ResourceGroups) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error) { @@ -131,14 +131,13 @@ const opDeleteGroup = "DeleteGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGroupRequest method. +// req, resp := client.DeleteGroupRequest(params) // -// // Example sending a request using the DeleteGroupRequest method. -// req, resp := client.DeleteGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/DeleteGroup func (c *ResourceGroups) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput) { @@ -163,11 +162,11 @@ func (c *ResourceGroups) DeleteGroupRequest(input *DeleteGroupInput) (req *reque // delete any resources that are members of the group; it only deletes the group // structure. // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:DeleteGroup +// - resource-groups:DeleteGroup // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -177,24 +176,25 @@ func (c *ResourceGroups) DeleteGroupRequest(input *DeleteGroupInput) (req *reque // API operation DeleteGroup for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request includes one or more parameters that violate validation rules. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - BadRequestException +// The request includes one or more parameters that violate validation rules. // -// * NotFoundException -// One or more of the specified resources don't exist. +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - NotFoundException +// One or more of the specified resources don't exist. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. +// +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/DeleteGroup func (c *ResourceGroups) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error) { @@ -234,14 +234,13 @@ const opGetGroup = "GetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGroupRequest method. +// req, resp := client.GetGroupRequest(params) // -// // Example sending a request using the GetGroupRequest method. -// req, resp := client.GetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetGroup func (c *ResourceGroups) GetGroupRequest(input *GetGroupInput) (req *request.Request, output *GetGroupOutput) { @@ -264,11 +263,11 @@ func (c *ResourceGroups) GetGroupRequest(input *GetGroupInput) (req *request.Req // // Returns information about a specified resource group. // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:GetGroup +// - resource-groups:GetGroup // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -278,24 +277,25 @@ func (c *ResourceGroups) GetGroupRequest(input *GetGroupInput) (req *request.Req // API operation GetGroup for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request includes one or more parameters that violate validation rules. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - BadRequestException +// The request includes one or more parameters that violate validation rules. // -// * NotFoundException -// One or more of the specified resources don't exist. +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - NotFoundException +// One or more of the specified resources don't exist. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. +// +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetGroup func (c *ResourceGroups) GetGroup(input *GetGroupInput) (*GetGroupOutput, error) { @@ -335,14 +335,13 @@ const opGetGroupConfiguration = "GetGroupConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGroupConfigurationRequest method. +// req, resp := client.GetGroupConfigurationRequest(params) // -// // Example sending a request using the GetGroupConfigurationRequest method. -// req, resp := client.GetGroupConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetGroupConfiguration func (c *ResourceGroups) GetGroupConfigurationRequest(input *GetGroupConfigurationInput) (req *request.Request, output *GetGroupConfigurationOutput) { @@ -367,11 +366,11 @@ func (c *ResourceGroups) GetGroupConfigurationRequest(input *GetGroupConfigurati // group. For details about the service configuration syntax, see Service configurations // for resource groups (https://docs.aws.amazon.com/ARG/latest/APIReference/about-slg.html). // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:GetGroupConfiguration +// - resource-groups:GetGroupConfiguration // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -381,24 +380,25 @@ func (c *ResourceGroups) GetGroupConfigurationRequest(input *GetGroupConfigurati // API operation GetGroupConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request includes one or more parameters that violate validation rules. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - BadRequestException +// The request includes one or more parameters that violate validation rules. // -// * NotFoundException -// One or more of the specified resources don't exist. +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - NotFoundException +// One or more of the specified resources don't exist. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. +// +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetGroupConfiguration func (c *ResourceGroups) GetGroupConfiguration(input *GetGroupConfigurationInput) (*GetGroupConfigurationOutput, error) { @@ -438,14 +438,13 @@ const opGetGroupQuery = "GetGroupQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGroupQueryRequest method. +// req, resp := client.GetGroupQueryRequest(params) // -// // Example sending a request using the GetGroupQueryRequest method. -// req, resp := client.GetGroupQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetGroupQuery func (c *ResourceGroups) GetGroupQueryRequest(input *GetGroupQueryInput) (req *request.Request, output *GetGroupQueryOutput) { @@ -470,11 +469,11 @@ func (c *ResourceGroups) GetGroupQueryRequest(input *GetGroupQueryInput) (req *r // For more information about resource queries, see Create a tag-based group // in Resource Groups (https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag). // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:GetGroupQuery +// - resource-groups:GetGroupQuery // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -484,24 +483,25 @@ func (c *ResourceGroups) GetGroupQueryRequest(input *GetGroupQueryInput) (req *r // API operation GetGroupQuery for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request includes one or more parameters that violate validation rules. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - BadRequestException +// The request includes one or more parameters that violate validation rules. // -// * NotFoundException -// One or more of the specified resources don't exist. +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - NotFoundException +// One or more of the specified resources don't exist. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. +// +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetGroupQuery func (c *ResourceGroups) GetGroupQuery(input *GetGroupQueryInput) (*GetGroupQueryOutput, error) { @@ -541,14 +541,13 @@ const opGetTags = "GetTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTagsRequest method. +// req, resp := client.GetTagsRequest(params) // -// // Example sending a request using the GetTagsRequest method. -// req, resp := client.GetTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetTags func (c *ResourceGroups) GetTagsRequest(input *GetTagsInput) (req *request.Request, output *GetTagsOutput) { @@ -572,11 +571,11 @@ func (c *ResourceGroups) GetTagsRequest(input *GetTagsInput) (req *request.Reque // Returns a list of tags that are associated with a resource group, specified // by an ARN. // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:GetTags +// - resource-groups:GetTags // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -586,24 +585,25 @@ func (c *ResourceGroups) GetTagsRequest(input *GetTagsInput) (req *request.Reque // API operation GetTags for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request includes one or more parameters that violate validation rules. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - BadRequestException +// The request includes one or more parameters that violate validation rules. +// +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * NotFoundException -// One or more of the specified resources don't exist. +// - NotFoundException +// One or more of the specified resources don't exist. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GetTags func (c *ResourceGroups) GetTags(input *GetTagsInput) (*GetTagsOutput, error) { @@ -643,14 +643,13 @@ const opGroupResources = "GroupResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GroupResourcesRequest method. +// req, resp := client.GroupResourcesRequest(params) // -// // Example sending a request using the GroupResourcesRequest method. -// req, resp := client.GroupResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GroupResources func (c *ResourceGroups) GroupResourcesRequest(input *GroupResourcesInput) (req *request.Request, output *GroupResourcesOutput) { @@ -673,11 +672,11 @@ func (c *ResourceGroups) GroupResourcesRequest(input *GroupResourcesInput) (req // // Adds the specified resources to the specified group. // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:GroupResources +// - resource-groups:GroupResources // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -687,24 +686,25 @@ func (c *ResourceGroups) GroupResourcesRequest(input *GroupResourcesInput) (req // API operation GroupResources for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request includes one or more parameters that violate validation rules. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - BadRequestException +// The request includes one or more parameters that violate validation rules. +// +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * NotFoundException -// One or more of the specified resources don't exist. +// - NotFoundException +// One or more of the specified resources don't exist. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/GroupResources func (c *ResourceGroups) GroupResources(input *GroupResourcesInput) (*GroupResourcesOutput, error) { @@ -744,14 +744,13 @@ const opListGroupResources = "ListGroupResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroupResourcesRequest method. +// req, resp := client.ListGroupResourcesRequest(params) // -// // Example sending a request using the ListGroupResourcesRequest method. -// req, resp := client.ListGroupResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ListGroupResources func (c *ResourceGroups) ListGroupResourcesRequest(input *ListGroupResourcesInput) (req *request.Request, output *ListGroupResourcesOutput) { @@ -781,17 +780,17 @@ func (c *ResourceGroups) ListGroupResourcesRequest(input *ListGroupResourcesInpu // Returns a list of ARNs of the resources that are members of a specified resource // group. // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:ListGroupResources +// - resource-groups:ListGroupResources // -// * cloudformation:DescribeStacks +// - cloudformation:DescribeStacks // -// * cloudformation:ListStackResources +// - cloudformation:ListStackResources // -// * tag:GetResources +// - tag:GetResources // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -801,28 +800,29 @@ func (c *ResourceGroups) ListGroupResourcesRequest(input *ListGroupResourcesInpu // API operation ListGroupResources for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request was rejected because it doesn't have valid credentials for the -// target resource. // -// * BadRequestException -// The request includes one or more parameters that violate validation rules. +// - UnauthorizedException +// The request was rejected because it doesn't have valid credentials for the +// target resource. +// +// - BadRequestException +// The request includes one or more parameters that violate validation rules. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * NotFoundException -// One or more of the specified resources don't exist. +// - NotFoundException +// One or more of the specified resources don't exist. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ListGroupResources func (c *ResourceGroups) ListGroupResources(input *ListGroupResourcesInput) (*ListGroupResourcesOutput, error) { @@ -854,15 +854,14 @@ func (c *ResourceGroups) ListGroupResourcesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGroupResources operation. -// pageNum := 0 -// err := client.ListGroupResourcesPages(params, -// func(page *resourcegroups.ListGroupResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGroupResources operation. +// pageNum := 0 +// err := client.ListGroupResourcesPages(params, +// func(page *resourcegroups.ListGroupResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResourceGroups) ListGroupResourcesPages(input *ListGroupResourcesInput, fn func(*ListGroupResourcesOutput, bool) bool) error { return c.ListGroupResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -914,14 +913,13 @@ const opListGroups = "ListGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroupsRequest method. +// req, resp := client.ListGroupsRequest(params) // -// // Example sending a request using the ListGroupsRequest method. -// req, resp := client.ListGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ListGroups func (c *ResourceGroups) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput) { @@ -950,11 +948,11 @@ func (c *ResourceGroups) ListGroupsRequest(input *ListGroupsInput) (req *request // // Returns a list of existing resource groups in your account. // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:ListGroups +// - resource-groups:ListGroups // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -964,21 +962,22 @@ func (c *ResourceGroups) ListGroupsRequest(input *ListGroupsInput) (req *request // API operation ListGroups for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request includes one or more parameters that violate validation rules. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - BadRequestException +// The request includes one or more parameters that violate validation rules. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. +// +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/ListGroups func (c *ResourceGroups) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error) { @@ -1010,15 +1009,14 @@ func (c *ResourceGroups) ListGroupsWithContext(ctx aws.Context, input *ListGroup // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGroups operation. -// pageNum := 0 -// err := client.ListGroupsPages(params, -// func(page *resourcegroups.ListGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGroups operation. +// pageNum := 0 +// err := client.ListGroupsPages(params, +// func(page *resourcegroups.ListGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResourceGroups) ListGroupsPages(input *ListGroupsInput, fn func(*ListGroupsOutput, bool) bool) error { return c.ListGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1070,14 +1068,13 @@ const opPutGroupConfiguration = "PutGroupConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutGroupConfigurationRequest method. +// req, resp := client.PutGroupConfigurationRequest(params) // -// // Example sending a request using the PutGroupConfigurationRequest method. -// req, resp := client.PutGroupConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/PutGroupConfiguration func (c *ResourceGroups) PutGroupConfigurationRequest(input *PutGroupConfigurationInput) (req *request.Request, output *PutGroupConfigurationOutput) { @@ -1103,11 +1100,11 @@ func (c *ResourceGroups) PutGroupConfigurationRequest(input *PutGroupConfigurati // and can take time to complete. You can use GetGroupConfiguration to check // the status of the update. // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:PutGroupConfiguration +// - resource-groups:PutGroupConfiguration // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1117,24 +1114,25 @@ func (c *ResourceGroups) PutGroupConfigurationRequest(input *PutGroupConfigurati // API operation PutGroupConfiguration for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request includes one or more parameters that violate validation rules. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - BadRequestException +// The request includes one or more parameters that violate validation rules. // -// * NotFoundException -// One or more of the specified resources don't exist. +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - NotFoundException +// One or more of the specified resources don't exist. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. +// +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/PutGroupConfiguration func (c *ResourceGroups) PutGroupConfiguration(input *PutGroupConfigurationInput) (*PutGroupConfigurationOutput, error) { @@ -1174,14 +1172,13 @@ const opSearchResources = "SearchResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchResourcesRequest method. +// req, resp := client.SearchResourcesRequest(params) // -// // Example sending a request using the SearchResourcesRequest method. -// req, resp := client.SearchResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/SearchResources func (c *ResourceGroups) SearchResourcesRequest(input *SearchResourcesInput) (req *request.Request, output *SearchResourcesOutput) { @@ -1212,17 +1209,17 @@ func (c *ResourceGroups) SearchResourcesRequest(input *SearchResourcesInput) (re // The query uses the same format as a resource query in a CreateGroup or UpdateGroupQuery // operation. // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:SearchResources +// - resource-groups:SearchResources // -// * cloudformation:DescribeStacks +// - cloudformation:DescribeStacks // -// * cloudformation:ListStackResources +// - cloudformation:ListStackResources // -// * tag:GetResources +// - tag:GetResources // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1232,25 +1229,26 @@ func (c *ResourceGroups) SearchResourcesRequest(input *SearchResourcesInput) (re // API operation SearchResources for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// The request was rejected because it doesn't have valid credentials for the -// target resource. // -// * BadRequestException -// The request includes one or more parameters that violate validation rules. +// - UnauthorizedException +// The request was rejected because it doesn't have valid credentials for the +// target resource. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - BadRequestException +// The request includes one or more parameters that violate validation rules. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. +// +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/SearchResources func (c *ResourceGroups) SearchResources(input *SearchResourcesInput) (*SearchResourcesOutput, error) { @@ -1282,15 +1280,14 @@ func (c *ResourceGroups) SearchResourcesWithContext(ctx aws.Context, input *Sear // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchResources operation. -// pageNum := 0 -// err := client.SearchResourcesPages(params, -// func(page *resourcegroups.SearchResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchResources operation. +// pageNum := 0 +// err := client.SearchResourcesPages(params, +// func(page *resourcegroups.SearchResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResourceGroups) SearchResourcesPages(input *SearchResourcesInput, fn func(*SearchResourcesOutput, bool) bool) error { return c.SearchResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1342,14 +1339,13 @@ const opTag = "Tag" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagRequest method. +// req, resp := client.TagRequest(params) // -// // Example sending a request using the TagRequest method. -// req, resp := client.TagRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/Tag func (c *ResourceGroups) TagRequest(input *TagInput) (req *request.Request, output *TagOutput) { @@ -1378,11 +1374,11 @@ func (c *ResourceGroups) TagRequest(input *TagInput) (req *request.Request, outp // and administration services. Tags are not intended to be used for private // or sensitive data. // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:Tag +// - resource-groups:Tag // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1392,24 +1388,25 @@ func (c *ResourceGroups) TagRequest(input *TagInput) (req *request.Request, outp // API operation Tag for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request includes one or more parameters that violate validation rules. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - BadRequestException +// The request includes one or more parameters that violate validation rules. +// +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * NotFoundException -// One or more of the specified resources don't exist. +// - NotFoundException +// One or more of the specified resources don't exist. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/Tag func (c *ResourceGroups) Tag(input *TagInput) (*TagOutput, error) { @@ -1449,14 +1446,13 @@ const opUngroupResources = "UngroupResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UngroupResourcesRequest method. +// req, resp := client.UngroupResourcesRequest(params) // -// // Example sending a request using the UngroupResourcesRequest method. -// req, resp := client.UngroupResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UngroupResources func (c *ResourceGroups) UngroupResourcesRequest(input *UngroupResourcesInput) (req *request.Request, output *UngroupResourcesOutput) { @@ -1479,11 +1475,11 @@ func (c *ResourceGroups) UngroupResourcesRequest(input *UngroupResourcesInput) ( // // Removes the specified resources from the specified group. // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:UngroupResources +// - resource-groups:UngroupResources // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1493,24 +1489,25 @@ func (c *ResourceGroups) UngroupResourcesRequest(input *UngroupResourcesInput) ( // API operation UngroupResources for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request includes one or more parameters that violate validation rules. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - BadRequestException +// The request includes one or more parameters that violate validation rules. +// +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * NotFoundException -// One or more of the specified resources don't exist. +// - NotFoundException +// One or more of the specified resources don't exist. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UngroupResources func (c *ResourceGroups) UngroupResources(input *UngroupResourcesInput) (*UngroupResourcesOutput, error) { @@ -1550,14 +1547,13 @@ const opUntag = "Untag" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagRequest method. +// req, resp := client.UntagRequest(params) // -// // Example sending a request using the UntagRequest method. -// req, resp := client.UntagRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/Untag func (c *ResourceGroups) UntagRequest(input *UntagInput) (req *request.Request, output *UntagOutput) { @@ -1580,11 +1576,11 @@ func (c *ResourceGroups) UntagRequest(input *UntagInput) (req *request.Request, // // Deletes tags from a specified resource group. // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:Untag +// - resource-groups:Untag // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1594,24 +1590,25 @@ func (c *ResourceGroups) UntagRequest(input *UntagInput) (req *request.Request, // API operation Untag for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request includes one or more parameters that violate validation rules. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - BadRequestException +// The request includes one or more parameters that violate validation rules. +// +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * NotFoundException -// One or more of the specified resources don't exist. +// - NotFoundException +// One or more of the specified resources don't exist. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/Untag func (c *ResourceGroups) Untag(input *UntagInput) (*UntagOutput, error) { @@ -1651,14 +1648,13 @@ const opUpdateGroup = "UpdateGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGroupRequest method. +// req, resp := client.UpdateGroupRequest(params) // -// // Example sending a request using the UpdateGroupRequest method. -// req, resp := client.UpdateGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UpdateGroup func (c *ResourceGroups) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput) { @@ -1682,11 +1678,11 @@ func (c *ResourceGroups) UpdateGroupRequest(input *UpdateGroupInput) (req *reque // Updates the description for an existing group. You cannot update the name // of a resource group. // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:UpdateGroup +// - resource-groups:UpdateGroup // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1696,24 +1692,25 @@ func (c *ResourceGroups) UpdateGroupRequest(input *UpdateGroupInput) (req *reque // API operation UpdateGroup for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request includes one or more parameters that violate validation rules. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - BadRequestException +// The request includes one or more parameters that violate validation rules. +// +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * NotFoundException -// One or more of the specified resources don't exist. +// - NotFoundException +// One or more of the specified resources don't exist. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UpdateGroup func (c *ResourceGroups) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error) { @@ -1753,14 +1750,13 @@ const opUpdateGroupQuery = "UpdateGroupQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGroupQueryRequest method. +// req, resp := client.UpdateGroupQueryRequest(params) // -// // Example sending a request using the UpdateGroupQueryRequest method. -// req, resp := client.UpdateGroupQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UpdateGroupQuery func (c *ResourceGroups) UpdateGroupQueryRequest(input *UpdateGroupQueryInput) (req *request.Request, output *UpdateGroupQueryOutput) { @@ -1784,11 +1780,11 @@ func (c *ResourceGroups) UpdateGroupQueryRequest(input *UpdateGroupQueryInput) ( // Updates the resource query of a group. For more information about resource // queries, see Create a tag-based group in Resource Groups (https://docs.aws.amazon.com/ARG/latest/userguide/gettingstarted-query.html#gettingstarted-query-cli-tag). // -// Minimum permissions +// # Minimum permissions // // To run this command, you must have the following permissions: // -// * resource-groups:UpdateGroupQuery +// - resource-groups:UpdateGroupQuery // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1798,24 +1794,25 @@ func (c *ResourceGroups) UpdateGroupQueryRequest(input *UpdateGroupQueryInput) ( // API operation UpdateGroupQuery for usage and error information. // // Returned Error Types: -// * BadRequestException -// The request includes one or more parameters that violate validation rules. // -// * ForbiddenException -// The caller isn't authorized to make the request. Check permissions. +// - BadRequestException +// The request includes one or more parameters that violate validation rules. +// +// - ForbiddenException +// The caller isn't authorized to make the request. Check permissions. // -// * NotFoundException -// One or more of the specified resources don't exist. +// - NotFoundException +// One or more of the specified resources don't exist. // -// * MethodNotAllowedException -// The request uses an HTTP method that isn't allowed for the specified resource. +// - MethodNotAllowedException +// The request uses an HTTP method that isn't allowed for the specified resource. // -// * TooManyRequestsException -// You've exceeded throttling limits by making too many requests in a period -// of time. +// - TooManyRequestsException +// You've exceeded throttling limits by making too many requests in a period +// of time. // -// * InternalServerErrorException -// An internal error occurred while processing the request. Try again later. +// - InternalServerErrorException +// An internal error occurred while processing the request. Try again later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27/UpdateGroupQuery func (c *ResourceGroups) UpdateGroupQuery(input *UpdateGroupQueryInput) (*UpdateGroupQueryOutput, error) { @@ -2632,15 +2629,15 @@ func (s *GetTagsOutput) SetTags(v map[string]*string) *GetTagsOutput { // A resource group that contains AWS resources. You can assign resources to // the group by associating either of the following elements with the group: // -// * ResourceQuery - Use a resource query to specify a set of tag keys and -// values. All resources in the same AWS Region and AWS account that have -// those keys with the same values are included in the group. You can add -// a resource query when you create the group, or later by using the PutGroupConfiguration -// operation. +// - ResourceQuery - Use a resource query to specify a set of tag keys and +// values. All resources in the same AWS Region and AWS account that have +// those keys with the same values are included in the group. You can add +// a resource query when you create the group, or later by using the PutGroupConfiguration +// operation. // -// * GroupConfiguration - Use a service configuration to associate the group -// with an AWS service. The configuration specifies which resource types -// can be included in the group. +// - GroupConfiguration - Use a service configuration to associate the group +// with an AWS service. The configuration specifies which resource types +// can be included in the group. type Group struct { _ struct{} `type:"structure"` @@ -4052,16 +4049,16 @@ func (s *ResourceIdentifier) SetResourceType(v string) *ResourceIdentifier { // (https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-quoting-strings.html) // in the AWS CLI User Guide. // -// Example 1 +// # Example 1 // // The following generic example shows a resource query JSON string that includes // only resources that meet the following criteria: // -// * The resource type must be either resource_type1 or resource_type2. +// - The resource type must be either resource_type1 or resource_type2. // -// * The resource must have a tag Key1 with a value of either ValueA or ValueB. +// - The resource must have a tag Key1 with a value of either ValueA or ValueB. // -// * The resource must have a tag Key2 with a value of either ValueC or ValueD. +// - The resource must have a tag Key2 with a value of either ValueC or ValueD. // // { "Type": "TAG_FILTERS_1_0", "Query": { "ResourceTypeFilters": [ "resource_type1", // "resource_type2"], "TagFilters": [ { "Key": "Key1", "Values": ["ValueA","ValueB"] @@ -4073,7 +4070,7 @@ func (s *ResourceIdentifier) SetResourceType(v string) *ResourceIdentifier { // "resource_type2"], "TagFilters": [ { "Key1": ["ValueA","ValueB"] }, { "Key2": // ["ValueC","ValueD"] } ] } } // -// Example 2 +// # Example 2 // // The following example shows a resource query JSON string that includes only // Amazon EC2 instances that are tagged Stage with a value of Test. @@ -4081,7 +4078,7 @@ func (s *ResourceIdentifier) SetResourceType(v string) *ResourceIdentifier { // { "Type": "TAG_FILTERS_1_0", "Query": "{ "ResourceTypeFilters": "AWS::EC2::Instance", // "TagFilters": { "Stage": "Test" } } } // -// Example 3 +// # Example 3 // // The following example shows a resource query JSON string that includes resource // of any supported type as long as it is tagged Stage with a value of Prod. @@ -4089,7 +4086,7 @@ func (s *ResourceIdentifier) SetResourceType(v string) *ResourceIdentifier { // { "Type": "TAG_FILTERS_1_0", "Query": { "ResourceTypeFilters": "AWS::AllSupported", // "TagFilters": { "Stage": "Prod" } } } // -// Example 4 +// # Example 4 // // The following example shows a resource query JSON string that includes only // Amazon EC2 instances and Amazon S3 buckets that are part of the specified diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/doc.go index 3de9bc95f932..d820857f541d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/doc.go @@ -25,24 +25,24 @@ // AWS Resource Groups uses a REST-compliant API that you can use to perform // the following types of operations. // -// * Create, Read, Update, and Delete (CRUD) operations on resource groups -// and resource query entities +// - Create, Read, Update, and Delete (CRUD) operations on resource groups +// and resource query entities // -// * Applying, editing, and removing tags from resource groups +// - Applying, editing, and removing tags from resource groups // -// * Resolving resource group member ARNs so they can be returned as search -// results +// - Resolving resource group member ARNs so they can be returned as search +// results // -// * Getting data about resources that are members of a group +// - Getting data about resources that are members of a group // -// * Searching AWS resources based on a resource query +// - Searching AWS resources based on a resource query // // See https://docs.aws.amazon.com/goto/WebAPI/resource-groups-2017-11-27 for more information on this service. // // See resourcegroups package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/resourcegroups/ // -// Using the Client +// # Using the Client // // To contact AWS Resource Groups with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/resourcegroupsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/resourcegroupsiface/interface.go index e62cf3fa652e..599b834ab982 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/resourcegroupsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/resourcegroupsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Resource Groups. -// func myFunc(svc resourcegroupsiface.ResourceGroupsAPI) bool { -// // Make svc.CreateGroup request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Resource Groups. +// func myFunc(svc resourcegroupsiface.ResourceGroupsAPI) bool { +// // Make svc.CreateGroup request +// } // -// func main() { -// sess := session.New() -// svc := resourcegroups.New(sess) +// func main() { +// sess := session.New() +// svc := resourcegroups.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockResourceGroupsClient struct { -// resourcegroupsiface.ResourceGroupsAPI -// } -// func (m *mockResourceGroupsClient) CreateGroup(input *resourcegroups.CreateGroupInput) (*resourcegroups.CreateGroupOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockResourceGroupsClient struct { +// resourcegroupsiface.ResourceGroupsAPI +// } +// func (m *mockResourceGroupsClient) CreateGroup(input *resourcegroups.CreateGroupInput) (*resourcegroups.CreateGroupOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockResourceGroupsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockResourceGroupsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/service.go index 4a6c915a3606..12785a6bfefd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroups/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ResourceGroups client from just a session. -// svc := resourcegroups.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ResourceGroups client with additional configuration -// svc := resourcegroups.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ResourceGroups client from just a session. +// svc := resourcegroups.New(mySession) +// +// // Create a ResourceGroups client with additional configuration +// svc := resourcegroups.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ResourceGroups { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/api.go index d831ebad8ce7..0234e05b34aa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/api.go @@ -28,14 +28,13 @@ const opDescribeReportCreation = "DescribeReportCreation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReportCreationRequest method. +// req, resp := client.DescribeReportCreationRequest(params) // -// // Example sending a request using the DescribeReportCreationRequest method. -// req, resp := client.DescribeReportCreationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/DescribeReportCreation func (c *ResourceGroupsTaggingAPI) DescribeReportCreationRequest(input *DescribeReportCreationInput) (req *request.Request, output *DescribeReportCreationOutput) { @@ -69,45 +68,46 @@ func (c *ResourceGroupsTaggingAPI) DescribeReportCreationRequest(input *Describe // API operation DescribeReportCreation for usage and error information. // // Returned Error Types: -// * ConstraintViolationException -// The request was denied because performing this operation violates a constraint. // -// Some of the reasons in the following list might not apply to this specific -// operation. +// - ConstraintViolationException +// The request was denied because performing this operation violates a constraint. +// +// Some of the reasons in the following list might not apply to this specific +// operation. // -// * You must meet the prerequisites for using tag policies. For information, -// see Prerequisites and Permissions for Using Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) -// in the Organizations User Guide. +// - You must meet the prerequisites for using tag policies. For information, +// see Prerequisites and Permissions for Using Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) +// in the Organizations User Guide. // -// * You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com) -// to integrate with Organizations For information, see EnableAWSServiceAccess -// (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). +// - You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com) +// to integrate with Organizations For information, see EnableAWSServiceAccess +// (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). // -// * You must have a tag policy attached to the organization root, an OU, -// or an account. +// - You must have a tag policy attached to the organization root, an OU, +// or an account. // -// * InternalServiceException -// The request processing failed because of an unknown error, exception, or -// failure. You can retry the request. +// - InternalServiceException +// The request processing failed because of an unknown error, exception, or +// failure. You can retry the request. // -// * InvalidParameterException -// This error indicates one of the following: +// - InvalidParameterException +// This error indicates one of the following: // -// * A parameter is missing. +// - A parameter is missing. // -// * A malformed string was supplied for the request parameter. +// - A malformed string was supplied for the request parameter. // -// * An out-of-range value was supplied for the request parameter. +// - An out-of-range value was supplied for the request parameter. // -// * The target ID is invalid, unsupported, or doesn't exist. +// - The target ID is invalid, unsupported, or doesn't exist. // -// * You can't access the Amazon S3 bucket for report storage. For more information, -// see Additional Requirements for Organization-wide Tag Compliance Reports -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the Organizations User Guide. +// - You can't access the Amazon S3 bucket for report storage. For more information, +// see Additional Requirements for Organization-wide Tag Compliance Reports +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. // -// * ThrottledException -// The request was denied to limit the frequency of submitted requests. +// - ThrottledException +// The request was denied to limit the frequency of submitted requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/DescribeReportCreation func (c *ResourceGroupsTaggingAPI) DescribeReportCreation(input *DescribeReportCreationInput) (*DescribeReportCreationOutput, error) { @@ -147,14 +147,13 @@ const opGetComplianceSummary = "GetComplianceSummary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetComplianceSummaryRequest method. +// req, resp := client.GetComplianceSummaryRequest(params) // -// // Example sending a request using the GetComplianceSummaryRequest method. -// req, resp := client.GetComplianceSummaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetComplianceSummary func (c *ResourceGroupsTaggingAPI) GetComplianceSummaryRequest(input *GetComplianceSummaryInput) (req *request.Request, output *GetComplianceSummaryOutput) { @@ -205,45 +204,46 @@ func (c *ResourceGroupsTaggingAPI) GetComplianceSummaryRequest(input *GetComplia // API operation GetComplianceSummary for usage and error information. // // Returned Error Types: -// * ConstraintViolationException -// The request was denied because performing this operation violates a constraint. // -// Some of the reasons in the following list might not apply to this specific -// operation. +// - ConstraintViolationException +// The request was denied because performing this operation violates a constraint. // -// * You must meet the prerequisites for using tag policies. For information, -// see Prerequisites and Permissions for Using Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) -// in the Organizations User Guide. +// Some of the reasons in the following list might not apply to this specific +// operation. // -// * You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com) -// to integrate with Organizations For information, see EnableAWSServiceAccess -// (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). +// - You must meet the prerequisites for using tag policies. For information, +// see Prerequisites and Permissions for Using Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) +// in the Organizations User Guide. // -// * You must have a tag policy attached to the organization root, an OU, -// or an account. +// - You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com) +// to integrate with Organizations For information, see EnableAWSServiceAccess +// (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). // -// * InternalServiceException -// The request processing failed because of an unknown error, exception, or -// failure. You can retry the request. +// - You must have a tag policy attached to the organization root, an OU, +// or an account. // -// * InvalidParameterException -// This error indicates one of the following: +// - InternalServiceException +// The request processing failed because of an unknown error, exception, or +// failure. You can retry the request. // -// * A parameter is missing. +// - InvalidParameterException +// This error indicates one of the following: // -// * A malformed string was supplied for the request parameter. +// - A parameter is missing. // -// * An out-of-range value was supplied for the request parameter. +// - A malformed string was supplied for the request parameter. // -// * The target ID is invalid, unsupported, or doesn't exist. +// - An out-of-range value was supplied for the request parameter. // -// * You can't access the Amazon S3 bucket for report storage. For more information, -// see Additional Requirements for Organization-wide Tag Compliance Reports -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the Organizations User Guide. +// - The target ID is invalid, unsupported, or doesn't exist. // -// * ThrottledException -// The request was denied to limit the frequency of submitted requests. +// - You can't access the Amazon S3 bucket for report storage. For more information, +// see Additional Requirements for Organization-wide Tag Compliance Reports +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. +// +// - ThrottledException +// The request was denied to limit the frequency of submitted requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetComplianceSummary func (c *ResourceGroupsTaggingAPI) GetComplianceSummary(input *GetComplianceSummaryInput) (*GetComplianceSummaryOutput, error) { @@ -275,15 +275,14 @@ func (c *ResourceGroupsTaggingAPI) GetComplianceSummaryWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetComplianceSummary operation. -// pageNum := 0 -// err := client.GetComplianceSummaryPages(params, -// func(page *resourcegroupstaggingapi.GetComplianceSummaryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetComplianceSummary operation. +// pageNum := 0 +// err := client.GetComplianceSummaryPages(params, +// func(page *resourcegroupstaggingapi.GetComplianceSummaryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResourceGroupsTaggingAPI) GetComplianceSummaryPages(input *GetComplianceSummaryInput, fn func(*GetComplianceSummaryOutput, bool) bool) error { return c.GetComplianceSummaryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -335,14 +334,13 @@ const opGetResources = "GetResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourcesRequest method. +// req, resp := client.GetResourcesRequest(params) // -// // Example sending a request using the GetResourcesRequest method. -// req, resp := client.GetResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetResources func (c *ResourceGroupsTaggingAPI) GetResourcesRequest(input *GetResourcesInput) (req *request.Request, output *GetResourcesOutput) { @@ -375,13 +373,13 @@ func (c *ResourceGroupsTaggingAPI) GetResourcesRequest(input *GetResourcesInput) // Depending on what information you want returned, you can also specify the // following: // -// * Filters that specify what tags and resource types you want returned. -// The response includes all tags that are associated with the requested -// resources. +// - Filters that specify what tags and resource types you want returned. +// The response includes all tags that are associated with the requested +// resources. // -// * Information about compliance with the account's effective tag policy. -// For more information on tag policies, see Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) -// in the Organizations User Guide. +// - Information about compliance with the account's effective tag policy. +// For more information on tag policies, see Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html) +// in the Organizations User Guide. // // This operation supports pagination, where the response can be sent in multiple // pages. You should check the PaginationToken response parameter to determine @@ -398,32 +396,33 @@ func (c *ResourceGroupsTaggingAPI) GetResourcesRequest(input *GetResourcesInput) // API operation GetResources for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This error indicates one of the following: // -// * A parameter is missing. +// - InvalidParameterException +// This error indicates one of the following: +// +// - A parameter is missing. // -// * A malformed string was supplied for the request parameter. +// - A malformed string was supplied for the request parameter. // -// * An out-of-range value was supplied for the request parameter. +// - An out-of-range value was supplied for the request parameter. // -// * The target ID is invalid, unsupported, or doesn't exist. +// - The target ID is invalid, unsupported, or doesn't exist. // -// * You can't access the Amazon S3 bucket for report storage. For more information, -// see Additional Requirements for Organization-wide Tag Compliance Reports -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the Organizations User Guide. +// - You can't access the Amazon S3 bucket for report storage. For more information, +// see Additional Requirements for Organization-wide Tag Compliance Reports +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. // -// * ThrottledException -// The request was denied to limit the frequency of submitted requests. +// - ThrottledException +// The request was denied to limit the frequency of submitted requests. // -// * InternalServiceException -// The request processing failed because of an unknown error, exception, or -// failure. You can retry the request. +// - InternalServiceException +// The request processing failed because of an unknown error, exception, or +// failure. You can retry the request. // -// * PaginationTokenExpiredException -// A PaginationToken is valid for a maximum of 15 minutes. Your request was -// denied because the specified PaginationToken has expired. +// - PaginationTokenExpiredException +// A PaginationToken is valid for a maximum of 15 minutes. Your request was +// denied because the specified PaginationToken has expired. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetResources func (c *ResourceGroupsTaggingAPI) GetResources(input *GetResourcesInput) (*GetResourcesOutput, error) { @@ -455,15 +454,14 @@ func (c *ResourceGroupsTaggingAPI) GetResourcesWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetResources operation. -// pageNum := 0 -// err := client.GetResourcesPages(params, -// func(page *resourcegroupstaggingapi.GetResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetResources operation. +// pageNum := 0 +// err := client.GetResourcesPages(params, +// func(page *resourcegroupstaggingapi.GetResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResourceGroupsTaggingAPI) GetResourcesPages(input *GetResourcesInput, fn func(*GetResourcesOutput, bool) bool) error { return c.GetResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -515,14 +513,13 @@ const opGetTagKeys = "GetTagKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTagKeysRequest method. +// req, resp := client.GetTagKeysRequest(params) // -// // Example sending a request using the GetTagKeysRequest method. -// req, resp := client.GetTagKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetTagKeys func (c *ResourceGroupsTaggingAPI) GetTagKeysRequest(input *GetTagKeysInput) (req *request.Request, output *GetTagKeysOutput) { @@ -567,32 +564,33 @@ func (c *ResourceGroupsTaggingAPI) GetTagKeysRequest(input *GetTagKeysInput) (re // API operation GetTagKeys for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This error indicates one of the following: // -// * A parameter is missing. +// - InvalidParameterException +// This error indicates one of the following: +// +// - A parameter is missing. // -// * A malformed string was supplied for the request parameter. +// - A malformed string was supplied for the request parameter. // -// * An out-of-range value was supplied for the request parameter. +// - An out-of-range value was supplied for the request parameter. // -// * The target ID is invalid, unsupported, or doesn't exist. +// - The target ID is invalid, unsupported, or doesn't exist. // -// * You can't access the Amazon S3 bucket for report storage. For more information, -// see Additional Requirements for Organization-wide Tag Compliance Reports -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the Organizations User Guide. +// - You can't access the Amazon S3 bucket for report storage. For more information, +// see Additional Requirements for Organization-wide Tag Compliance Reports +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. // -// * ThrottledException -// The request was denied to limit the frequency of submitted requests. +// - ThrottledException +// The request was denied to limit the frequency of submitted requests. // -// * InternalServiceException -// The request processing failed because of an unknown error, exception, or -// failure. You can retry the request. +// - InternalServiceException +// The request processing failed because of an unknown error, exception, or +// failure. You can retry the request. // -// * PaginationTokenExpiredException -// A PaginationToken is valid for a maximum of 15 minutes. Your request was -// denied because the specified PaginationToken has expired. +// - PaginationTokenExpiredException +// A PaginationToken is valid for a maximum of 15 minutes. Your request was +// denied because the specified PaginationToken has expired. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetTagKeys func (c *ResourceGroupsTaggingAPI) GetTagKeys(input *GetTagKeysInput) (*GetTagKeysOutput, error) { @@ -624,15 +622,14 @@ func (c *ResourceGroupsTaggingAPI) GetTagKeysWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTagKeys operation. -// pageNum := 0 -// err := client.GetTagKeysPages(params, -// func(page *resourcegroupstaggingapi.GetTagKeysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTagKeys operation. +// pageNum := 0 +// err := client.GetTagKeysPages(params, +// func(page *resourcegroupstaggingapi.GetTagKeysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResourceGroupsTaggingAPI) GetTagKeysPages(input *GetTagKeysInput, fn func(*GetTagKeysOutput, bool) bool) error { return c.GetTagKeysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -684,14 +681,13 @@ const opGetTagValues = "GetTagValues" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTagValuesRequest method. +// req, resp := client.GetTagValuesRequest(params) // -// // Example sending a request using the GetTagValuesRequest method. -// req, resp := client.GetTagValuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetTagValues func (c *ResourceGroupsTaggingAPI) GetTagValuesRequest(input *GetTagValuesInput) (req *request.Request, output *GetTagValuesOutput) { @@ -736,32 +732,33 @@ func (c *ResourceGroupsTaggingAPI) GetTagValuesRequest(input *GetTagValuesInput) // API operation GetTagValues for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This error indicates one of the following: // -// * A parameter is missing. +// - InvalidParameterException +// This error indicates one of the following: +// +// - A parameter is missing. // -// * A malformed string was supplied for the request parameter. +// - A malformed string was supplied for the request parameter. // -// * An out-of-range value was supplied for the request parameter. +// - An out-of-range value was supplied for the request parameter. // -// * The target ID is invalid, unsupported, or doesn't exist. +// - The target ID is invalid, unsupported, or doesn't exist. // -// * You can't access the Amazon S3 bucket for report storage. For more information, -// see Additional Requirements for Organization-wide Tag Compliance Reports -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the Organizations User Guide. +// - You can't access the Amazon S3 bucket for report storage. For more information, +// see Additional Requirements for Organization-wide Tag Compliance Reports +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. // -// * ThrottledException -// The request was denied to limit the frequency of submitted requests. +// - ThrottledException +// The request was denied to limit the frequency of submitted requests. // -// * InternalServiceException -// The request processing failed because of an unknown error, exception, or -// failure. You can retry the request. +// - InternalServiceException +// The request processing failed because of an unknown error, exception, or +// failure. You can retry the request. // -// * PaginationTokenExpiredException -// A PaginationToken is valid for a maximum of 15 minutes. Your request was -// denied because the specified PaginationToken has expired. +// - PaginationTokenExpiredException +// A PaginationToken is valid for a maximum of 15 minutes. Your request was +// denied because the specified PaginationToken has expired. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/GetTagValues func (c *ResourceGroupsTaggingAPI) GetTagValues(input *GetTagValuesInput) (*GetTagValuesOutput, error) { @@ -793,15 +790,14 @@ func (c *ResourceGroupsTaggingAPI) GetTagValuesWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTagValues operation. -// pageNum := 0 -// err := client.GetTagValuesPages(params, -// func(page *resourcegroupstaggingapi.GetTagValuesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTagValues operation. +// pageNum := 0 +// err := client.GetTagValuesPages(params, +// func(page *resourcegroupstaggingapi.GetTagValuesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ResourceGroupsTaggingAPI) GetTagValuesPages(input *GetTagValuesInput, fn func(*GetTagValuesOutput, bool) bool) error { return c.GetTagValuesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -853,14 +849,13 @@ const opStartReportCreation = "StartReportCreation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartReportCreationRequest method. +// req, resp := client.StartReportCreationRequest(params) // -// // Example sending a request using the StartReportCreationRequest method. -// req, resp := client.StartReportCreationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/StartReportCreation func (c *ResourceGroupsTaggingAPI) StartReportCreationRequest(input *StartReportCreationInput) (req *request.Request, output *StartReportCreationOutput) { @@ -901,49 +896,50 @@ func (c *ResourceGroupsTaggingAPI) StartReportCreationRequest(input *StartReport // API operation StartReportCreation for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// The target of the operation is currently being modified by a different request. -// Try again later. // -// * ConstraintViolationException -// The request was denied because performing this operation violates a constraint. +// - ConcurrentModificationException +// The target of the operation is currently being modified by a different request. +// Try again later. // -// Some of the reasons in the following list might not apply to this specific -// operation. +// - ConstraintViolationException +// The request was denied because performing this operation violates a constraint. // -// * You must meet the prerequisites for using tag policies. For information, -// see Prerequisites and Permissions for Using Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) -// in the Organizations User Guide. +// Some of the reasons in the following list might not apply to this specific +// operation. // -// * You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com) -// to integrate with Organizations For information, see EnableAWSServiceAccess -// (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). +// - You must meet the prerequisites for using tag policies. For information, +// see Prerequisites and Permissions for Using Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) +// in the Organizations User Guide. // -// * You must have a tag policy attached to the organization root, an OU, -// or an account. +// - You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com) +// to integrate with Organizations For information, see EnableAWSServiceAccess +// (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). // -// * InternalServiceException -// The request processing failed because of an unknown error, exception, or -// failure. You can retry the request. +// - You must have a tag policy attached to the organization root, an OU, +// or an account. // -// * InvalidParameterException -// This error indicates one of the following: +// - InternalServiceException +// The request processing failed because of an unknown error, exception, or +// failure. You can retry the request. // -// * A parameter is missing. +// - InvalidParameterException +// This error indicates one of the following: // -// * A malformed string was supplied for the request parameter. +// - A parameter is missing. // -// * An out-of-range value was supplied for the request parameter. +// - A malformed string was supplied for the request parameter. // -// * The target ID is invalid, unsupported, or doesn't exist. +// - An out-of-range value was supplied for the request parameter. // -// * You can't access the Amazon S3 bucket for report storage. For more information, -// see Additional Requirements for Organization-wide Tag Compliance Reports -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the Organizations User Guide. +// - The target ID is invalid, unsupported, or doesn't exist. // -// * ThrottledException -// The request was denied to limit the frequency of submitted requests. +// - You can't access the Amazon S3 bucket for report storage. For more information, +// see Additional Requirements for Organization-wide Tag Compliance Reports +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. +// +// - ThrottledException +// The request was denied to limit the frequency of submitted requests. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/StartReportCreation func (c *ResourceGroupsTaggingAPI) StartReportCreation(input *StartReportCreationInput) (*StartReportCreationOutput, error) { @@ -983,14 +979,13 @@ const opTagResources = "TagResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourcesRequest method. +// req, resp := client.TagResourcesRequest(params) // -// // Example sending a request using the TagResourcesRequest method. -// req, resp := client.TagResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/TagResources func (c *ResourceGroupsTaggingAPI) TagResourcesRequest(input *TagResourcesInput) (req *request.Request, output *TagResourcesOutput) { @@ -1013,39 +1008,39 @@ func (c *ResourceGroupsTaggingAPI) TagResourcesRequest(input *TagResourcesInput) // // Applies one or more tags to the specified resources. Note the following: // -// * Not all resources can have tags. For a list of services with resources -// that support tagging using this operation, see Services that support the -// Resource Groups Tagging API (https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/supported-services.html). -// If the resource doesn't yet support this operation, the resource's service -// might support tagging using its own API operations. For more information, -// refer to the documentation for that service. +// - Not all resources can have tags. For a list of services with resources +// that support tagging using this operation, see Services that support the +// Resource Groups Tagging API (https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/supported-services.html). +// If the resource doesn't yet support this operation, the resource's service +// might support tagging using its own API operations. For more information, +// refer to the documentation for that service. // -// * Each resource can have up to 50 tags. For other limits, see Tag Naming -// and Usage Conventions (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html#tag-conventions) -// in the Amazon Web Services General Reference. +// - Each resource can have up to 50 tags. For other limits, see Tag Naming +// and Usage Conventions (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html#tag-conventions) +// in the Amazon Web Services General Reference. // -// * You can only tag resources that are located in the specified Amazon -// Web Services Region for the Amazon Web Services account. +// - You can only tag resources that are located in the specified Amazon +// Web Services Region for the Amazon Web Services account. // -// * To add tags to a resource, you need the necessary permissions for the -// service that the resource belongs to as well as permissions for adding -// tags. For more information, see the documentation for each service. +// - To add tags to a resource, you need the necessary permissions for the +// service that the resource belongs to as well as permissions for adding +// tags. For more information, see the documentation for each service. // // Do not store personally identifiable information (PII) or other confidential // or sensitive information in tags. We use tags to provide you with billing // and administration services. Tags are not intended to be used for private // or sensitive data. // -// Minimum permissions +// # Minimum permissions // // In addition to the tag:TagResources permission required by this operation, // you must also have the tagging permission defined by the service that created // the resource. For example, to tag an Amazon EC2 instance using the TagResources // operation, you must have both of the following permissions: // -// * tag:TagResource +// - tag:TagResource // -// * ec2:CreateTags +// - ec2:CreateTags // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1055,28 +1050,29 @@ func (c *ResourceGroupsTaggingAPI) TagResourcesRequest(input *TagResourcesInput) // API operation TagResources for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This error indicates one of the following: // -// * A parameter is missing. +// - InvalidParameterException +// This error indicates one of the following: +// +// - A parameter is missing. // -// * A malformed string was supplied for the request parameter. +// - A malformed string was supplied for the request parameter. // -// * An out-of-range value was supplied for the request parameter. +// - An out-of-range value was supplied for the request parameter. // -// * The target ID is invalid, unsupported, or doesn't exist. +// - The target ID is invalid, unsupported, or doesn't exist. // -// * You can't access the Amazon S3 bucket for report storage. For more information, -// see Additional Requirements for Organization-wide Tag Compliance Reports -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the Organizations User Guide. +// - You can't access the Amazon S3 bucket for report storage. For more information, +// see Additional Requirements for Organization-wide Tag Compliance Reports +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. // -// * ThrottledException -// The request was denied to limit the frequency of submitted requests. +// - ThrottledException +// The request was denied to limit the frequency of submitted requests. // -// * InternalServiceException -// The request processing failed because of an unknown error, exception, or -// failure. You can retry the request. +// - InternalServiceException +// The request processing failed because of an unknown error, exception, or +// failure. You can retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/TagResources func (c *ResourceGroupsTaggingAPI) TagResources(input *TagResourcesInput) (*TagResourcesOutput, error) { @@ -1116,14 +1112,13 @@ const opUntagResources = "UntagResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourcesRequest method. +// req, resp := client.UntagResourcesRequest(params) // -// // Example sending a request using the UntagResourcesRequest method. -// req, resp := client.UntagResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/UntagResources func (c *ResourceGroupsTaggingAPI) UntagResourcesRequest(input *UntagResourcesInput) (req *request.Request, output *UntagResourcesOutput) { @@ -1149,15 +1144,15 @@ func (c *ResourceGroupsTaggingAPI) UntagResourcesRequest(input *UntagResourcesIn // operation succeeds even if you attempt to remove tags from a resource that // were already removed. Note the following: // -// * To remove tags from a resource, you need the necessary permissions for -// the service that the resource belongs to as well as permissions for removing -// tags. For more information, see the documentation for the service whose -// resource you want to untag. +// - To remove tags from a resource, you need the necessary permissions for +// the service that the resource belongs to as well as permissions for removing +// tags. For more information, see the documentation for the service whose +// resource you want to untag. // -// * You can only tag resources that are located in the specified Amazon -// Web Services Region for the calling Amazon Web Services account. +// - You can only tag resources that are located in the specified Amazon +// Web Services Region for the calling Amazon Web Services account. // -// Minimum permissions +// # Minimum permissions // // In addition to the tag:UntagResources permission required by this operation, // you must also have the remove tags permission defined by the service that @@ -1165,9 +1160,9 @@ func (c *ResourceGroupsTaggingAPI) UntagResourcesRequest(input *UntagResourcesIn // instance using the UntagResources operation, you must have both of the following // permissions: // -// * tag:UntagResource +// - tag:UntagResource // -// * ec2:DeleteTags +// - ec2:DeleteTags // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1177,28 +1172,29 @@ func (c *ResourceGroupsTaggingAPI) UntagResourcesRequest(input *UntagResourcesIn // API operation UntagResources for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// This error indicates one of the following: // -// * A parameter is missing. +// - InvalidParameterException +// This error indicates one of the following: +// +// - A parameter is missing. // -// * A malformed string was supplied for the request parameter. +// - A malformed string was supplied for the request parameter. // -// * An out-of-range value was supplied for the request parameter. +// - An out-of-range value was supplied for the request parameter. // -// * The target ID is invalid, unsupported, or doesn't exist. +// - The target ID is invalid, unsupported, or doesn't exist. // -// * You can't access the Amazon S3 bucket for report storage. For more information, -// see Additional Requirements for Organization-wide Tag Compliance Reports -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the Organizations User Guide. +// - You can't access the Amazon S3 bucket for report storage. For more information, +// see Additional Requirements for Organization-wide Tag Compliance Reports +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. // -// * ThrottledException -// The request was denied to limit the frequency of submitted requests. +// - ThrottledException +// The request was denied to limit the frequency of submitted requests. // -// * InternalServiceException -// The request processing failed because of an unknown error, exception, or -// failure. You can retry the request. +// - InternalServiceException +// The request processing failed because of an unknown error, exception, or +// failure. You can retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26/UntagResources func (c *ResourceGroupsTaggingAPI) UntagResources(input *UntagResourcesInput) (*UntagResourcesOutput, error) { @@ -1344,16 +1340,16 @@ func (s *ConcurrentModificationException) RequestID() string { // Some of the reasons in the following list might not apply to this specific // operation. // -// * You must meet the prerequisites for using tag policies. For information, -// see Prerequisites and Permissions for Using Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) -// in the Organizations User Guide. +// - You must meet the prerequisites for using tag policies. For information, +// see Prerequisites and Permissions for Using Tag Policies (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html) +// in the Organizations User Guide. // -// * You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com) -// to integrate with Organizations For information, see EnableAWSServiceAccess -// (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). +// - You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com) +// to integrate with Organizations For information, see EnableAWSServiceAccess +// (https://docs.aws.amazon.com/organizations/latest/APIReference/API_EnableAWSServiceAccess.html). // -// * You must have a tag policy attached to the organization root, an OU, -// or an account. +// - You must have a tag policy attached to the organization root, an OU, +// or an account. type ConstraintViolationException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -1507,20 +1503,20 @@ func (s *DescribeReportCreationOutput) SetStatus(v string) *DescribeReportCreati // The following are common error codes that you might receive from other Amazon // Web Services services: // -// * InternalServiceException – This can mean that the Resource Groups -// Tagging API didn't receive a response from another Amazon Web Services -// service. It can also mean that the resource type in the request is not -// supported by the Resource Groups Tagging API. In these cases, it's safe -// to retry the request and then call GetResources (https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html) -// to verify the changes. -// -// * AccessDeniedException – This can mean that you need permission to -// call the tagging operations in the Amazon Web Services service that contains -// the resource. For example, to use the Resource Groups Tagging API to tag -// a Amazon CloudWatch alarm resource, you need permission to call both TagResources -// (https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_TagResources.html) -// and TagResource (https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html) -// in the CloudWatch API. +// - InternalServiceException – This can mean that the Resource Groups +// Tagging API didn't receive a response from another Amazon Web Services +// service. It can also mean that the resource type in the request is not +// supported by the Resource Groups Tagging API. In these cases, it's safe +// to retry the request and then call GetResources (https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html) +// to verify the changes. +// +// - AccessDeniedException – This can mean that you need permission to +// call the tagging operations in the Amazon Web Services service that contains +// the resource. For example, to use the Resource Groups Tagging API to tag +// a Amazon CloudWatch alarm resource, you need permission to call both TagResources +// (https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_TagResources.html) +// and TagResource (https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html) +// in the CloudWatch API. // // For more information on errors that are generated from other Amazon Web Services // services, see the documentation for that service. @@ -2249,18 +2245,18 @@ func (s *InternalServiceException) RequestID() string { // This error indicates one of the following: // -// * A parameter is missing. +// - A parameter is missing. // -// * A malformed string was supplied for the request parameter. +// - A malformed string was supplied for the request parameter. // -// * An out-of-range value was supplied for the request parameter. +// - An out-of-range value was supplied for the request parameter. // -// * The target ID is invalid, unsupported, or doesn't exist. +// - The target ID is invalid, unsupported, or doesn't exist. // -// * You can't access the Amazon S3 bucket for report storage. For more information, -// see Additional Requirements for Organization-wide Tag Compliance Reports -// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) -// in the Organizations User Guide. +// - You can't access the Amazon S3 bucket for report storage. For more information, +// see Additional Requirements for Organization-wide Tag Compliance Reports +// (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies-prereqs.html#bucket-policies-org-report) +// in the Organizations User Guide. type InvalidParameterException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/doc.go index 932da3e82ab0..fad73571ce34 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/doc.go @@ -3,14 +3,14 @@ // Package resourcegroupstaggingapi provides the client and types for making API // requests to AWS Resource Groups Tagging API. // -// Resource Groups Tagging API +// # Resource Groups Tagging API // // See https://docs.aws.amazon.com/goto/WebAPI/resourcegroupstaggingapi-2017-01-26 for more information on this service. // // See resourcegroupstaggingapi package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/resourcegroupstaggingapi/ // -// Using the Client +// # Using the Client // // To contact AWS Resource Groups Tagging API with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/resourcegroupstaggingapiiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/resourcegroupstaggingapiiface/interface.go index 250322ff064e..b28f502901aa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/resourcegroupstaggingapiiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/resourcegroupstaggingapiiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Resource Groups Tagging API. -// func myFunc(svc resourcegroupstaggingapiiface.ResourceGroupsTaggingAPIAPI) bool { -// // Make svc.DescribeReportCreation request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Resource Groups Tagging API. +// func myFunc(svc resourcegroupstaggingapiiface.ResourceGroupsTaggingAPIAPI) bool { +// // Make svc.DescribeReportCreation request +// } // -// func main() { -// sess := session.New() -// svc := resourcegroupstaggingapi.New(sess) +// func main() { +// sess := session.New() +// svc := resourcegroupstaggingapi.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockResourceGroupsTaggingAPIClient struct { -// resourcegroupstaggingapiiface.ResourceGroupsTaggingAPIAPI -// } -// func (m *mockResourceGroupsTaggingAPIClient) DescribeReportCreation(input *resourcegroupstaggingapi.DescribeReportCreationInput) (*resourcegroupstaggingapi.DescribeReportCreationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockResourceGroupsTaggingAPIClient struct { +// resourcegroupstaggingapiiface.ResourceGroupsTaggingAPIAPI +// } +// func (m *mockResourceGroupsTaggingAPIClient) DescribeReportCreation(input *resourcegroupstaggingapi.DescribeReportCreationInput) (*resourcegroupstaggingapi.DescribeReportCreationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockResourceGroupsTaggingAPIClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockResourceGroupsTaggingAPIClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/service.go index 09939bb435c7..7182b4f9bd3d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/resourcegroupstaggingapi/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ResourceGroupsTaggingAPI client from just a session. -// svc := resourcegroupstaggingapi.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ResourceGroupsTaggingAPI client with additional configuration -// svc := resourcegroupstaggingapi.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ResourceGroupsTaggingAPI client from just a session. +// svc := resourcegroupstaggingapi.New(mySession) +// +// // Create a ResourceGroupsTaggingAPI client with additional configuration +// svc := resourcegroupstaggingapi.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ResourceGroupsTaggingAPI { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/api.go index 147e6bd44d65..f76bee40c20b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/api.go @@ -29,14 +29,13 @@ const opBatchDeleteWorlds = "BatchDeleteWorlds" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteWorldsRequest method. +// req, resp := client.BatchDeleteWorldsRequest(params) // -// // Example sending a request using the BatchDeleteWorldsRequest method. -// req, resp := client.BatchDeleteWorldsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/BatchDeleteWorlds func (c *RoboMaker) BatchDeleteWorldsRequest(input *BatchDeleteWorldsInput) (req *request.Request, output *BatchDeleteWorldsOutput) { @@ -67,16 +66,17 @@ func (c *RoboMaker) BatchDeleteWorldsRequest(input *BatchDeleteWorldsInput) (req // API operation BatchDeleteWorlds for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/BatchDeleteWorlds func (c *RoboMaker) BatchDeleteWorlds(input *BatchDeleteWorldsInput) (*BatchDeleteWorldsOutput, error) { @@ -116,14 +116,13 @@ const opBatchDescribeSimulationJob = "BatchDescribeSimulationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDescribeSimulationJobRequest method. +// req, resp := client.BatchDescribeSimulationJobRequest(params) // -// // Example sending a request using the BatchDescribeSimulationJobRequest method. -// req, resp := client.BatchDescribeSimulationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/BatchDescribeSimulationJob func (c *RoboMaker) BatchDescribeSimulationJobRequest(input *BatchDescribeSimulationJobInput) (req *request.Request, output *BatchDescribeSimulationJobOutput) { @@ -154,19 +153,20 @@ func (c *RoboMaker) BatchDescribeSimulationJobRequest(input *BatchDescribeSimula // API operation BatchDescribeSimulationJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/BatchDescribeSimulationJob func (c *RoboMaker) BatchDescribeSimulationJob(input *BatchDescribeSimulationJobInput) (*BatchDescribeSimulationJobOutput, error) { @@ -206,14 +206,13 @@ const opCancelDeploymentJob = "CancelDeploymentJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelDeploymentJobRequest method. +// req, resp := client.CancelDeploymentJobRequest(params) // -// // Example sending a request using the CancelDeploymentJobRequest method. -// req, resp := client.CancelDeploymentJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelDeploymentJob // @@ -253,19 +252,20 @@ func (c *RoboMaker) CancelDeploymentJobRequest(input *CancelDeploymentJobInput) // API operation CancelDeploymentJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelDeploymentJob // @@ -309,14 +309,13 @@ const opCancelSimulationJob = "CancelSimulationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelSimulationJobRequest method. +// req, resp := client.CancelSimulationJobRequest(params) // -// // Example sending a request using the CancelSimulationJobRequest method. -// req, resp := client.CancelSimulationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelSimulationJob func (c *RoboMaker) CancelSimulationJobRequest(input *CancelSimulationJobInput) (req *request.Request, output *CancelSimulationJobOutput) { @@ -348,19 +347,20 @@ func (c *RoboMaker) CancelSimulationJobRequest(input *CancelSimulationJobInput) // API operation CancelSimulationJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelSimulationJob func (c *RoboMaker) CancelSimulationJob(input *CancelSimulationJobInput) (*CancelSimulationJobOutput, error) { @@ -400,14 +400,13 @@ const opCancelSimulationJobBatch = "CancelSimulationJobBatch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelSimulationJobBatchRequest method. +// req, resp := client.CancelSimulationJobBatchRequest(params) // -// // Example sending a request using the CancelSimulationJobBatchRequest method. -// req, resp := client.CancelSimulationJobBatchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelSimulationJobBatch func (c *RoboMaker) CancelSimulationJobBatchRequest(input *CancelSimulationJobBatchInput) (req *request.Request, output *CancelSimulationJobBatchOutput) { @@ -441,19 +440,20 @@ func (c *RoboMaker) CancelSimulationJobBatchRequest(input *CancelSimulationJobBa // API operation CancelSimulationJobBatch for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelSimulationJobBatch func (c *RoboMaker) CancelSimulationJobBatch(input *CancelSimulationJobBatchInput) (*CancelSimulationJobBatchOutput, error) { @@ -493,14 +493,13 @@ const opCancelWorldExportJob = "CancelWorldExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelWorldExportJobRequest method. +// req, resp := client.CancelWorldExportJobRequest(params) // -// // Example sending a request using the CancelWorldExportJobRequest method. -// req, resp := client.CancelWorldExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelWorldExportJob func (c *RoboMaker) CancelWorldExportJobRequest(input *CancelWorldExportJobInput) (req *request.Request, output *CancelWorldExportJobOutput) { @@ -532,19 +531,20 @@ func (c *RoboMaker) CancelWorldExportJobRequest(input *CancelWorldExportJobInput // API operation CancelWorldExportJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelWorldExportJob func (c *RoboMaker) CancelWorldExportJob(input *CancelWorldExportJobInput) (*CancelWorldExportJobOutput, error) { @@ -584,14 +584,13 @@ const opCancelWorldGenerationJob = "CancelWorldGenerationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelWorldGenerationJobRequest method. +// req, resp := client.CancelWorldGenerationJobRequest(params) // -// // Example sending a request using the CancelWorldGenerationJobRequest method. -// req, resp := client.CancelWorldGenerationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelWorldGenerationJob func (c *RoboMaker) CancelWorldGenerationJobRequest(input *CancelWorldGenerationJobInput) (req *request.Request, output *CancelWorldGenerationJobOutput) { @@ -623,19 +622,20 @@ func (c *RoboMaker) CancelWorldGenerationJobRequest(input *CancelWorldGeneration // API operation CancelWorldGenerationJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CancelWorldGenerationJob func (c *RoboMaker) CancelWorldGenerationJob(input *CancelWorldGenerationJobInput) (*CancelWorldGenerationJobOutput, error) { @@ -675,14 +675,13 @@ const opCreateDeploymentJob = "CreateDeploymentJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeploymentJobRequest method. +// req, resp := client.CreateDeploymentJobRequest(params) // -// // Example sending a request using the CreateDeploymentJobRequest method. -// req, resp := client.CreateDeploymentJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateDeploymentJob // @@ -727,31 +726,32 @@ func (c *RoboMaker) CreateDeploymentJobRequest(input *CreateDeploymentJobInput) // API operation CreateDeploymentJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ConcurrentDeploymentException -// The failure percentage threshold percentage was met. +// - ConcurrentDeploymentException +// The failure percentage threshold percentage was met. // -// * IdempotentParameterMismatchException -// The request uses the same client token as a previous, but non-identical request. -// Do not reuse a client token with different requests, unless the requests -// are identical. +// - IdempotentParameterMismatchException +// The request uses the same client token as a previous, but non-identical request. +// Do not reuse a client token with different requests, unless the requests +// are identical. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateDeploymentJob // @@ -795,14 +795,13 @@ const opCreateFleet = "CreateFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFleetRequest method. +// req, resp := client.CreateFleetRequest(params) // -// // Example sending a request using the CreateFleetRequest method. -// req, resp := client.CreateFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateFleet // @@ -840,20 +839,21 @@ func (c *RoboMaker) CreateFleetRequest(input *CreateFleetInput) (req *request.Re // API operation CreateFleet for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateFleet // @@ -897,14 +897,13 @@ const opCreateRobot = "CreateRobot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRobotRequest method. +// req, resp := client.CreateRobotRequest(params) // -// // Example sending a request using the CreateRobotRequest method. -// req, resp := client.CreateRobotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobot // @@ -942,23 +941,24 @@ func (c *RoboMaker) CreateRobotRequest(input *CreateRobotInput) (req *request.Re // API operation CreateRobot for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - ResourceAlreadyExistsException +// The specified resource already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobot // @@ -1002,14 +1002,13 @@ const opCreateRobotApplication = "CreateRobotApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRobotApplicationRequest method. +// req, resp := client.CreateRobotApplicationRequest(params) // -// // Example sending a request using the CreateRobotApplicationRequest method. -// req, resp := client.CreateRobotApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplication func (c *RoboMaker) CreateRobotApplicationRequest(input *CreateRobotApplicationInput) (req *request.Request, output *CreateRobotApplicationOutput) { @@ -1040,28 +1039,29 @@ func (c *RoboMaker) CreateRobotApplicationRequest(input *CreateRobotApplicationI // API operation CreateRobotApplication for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * IdempotentParameterMismatchException -// The request uses the same client token as a previous, but non-identical request. -// Do not reuse a client token with different requests, unless the requests -// are identical. +// - IdempotentParameterMismatchException +// The request uses the same client token as a previous, but non-identical request. +// Do not reuse a client token with different requests, unless the requests +// are identical. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplication func (c *RoboMaker) CreateRobotApplication(input *CreateRobotApplicationInput) (*CreateRobotApplicationOutput, error) { @@ -1101,14 +1101,13 @@ const opCreateRobotApplicationVersion = "CreateRobotApplicationVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRobotApplicationVersionRequest method. +// req, resp := client.CreateRobotApplicationVersionRequest(params) // -// // Example sending a request using the CreateRobotApplicationVersionRequest method. -// req, resp := client.CreateRobotApplicationVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplicationVersion func (c *RoboMaker) CreateRobotApplicationVersionRequest(input *CreateRobotApplicationVersionInput) (req *request.Request, output *CreateRobotApplicationVersionOutput) { @@ -1139,25 +1138,26 @@ func (c *RoboMaker) CreateRobotApplicationVersionRequest(input *CreateRobotAppli // API operation CreateRobotApplicationVersion for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * IdempotentParameterMismatchException -// The request uses the same client token as a previous, but non-identical request. -// Do not reuse a client token with different requests, unless the requests -// are identical. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - IdempotentParameterMismatchException +// The request uses the same client token as a previous, but non-identical request. +// Do not reuse a client token with different requests, unless the requests +// are identical. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateRobotApplicationVersion func (c *RoboMaker) CreateRobotApplicationVersion(input *CreateRobotApplicationVersionInput) (*CreateRobotApplicationVersionOutput, error) { @@ -1197,14 +1197,13 @@ const opCreateSimulationApplication = "CreateSimulationApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSimulationApplicationRequest method. +// req, resp := client.CreateSimulationApplicationRequest(params) // -// // Example sending a request using the CreateSimulationApplicationRequest method. -// req, resp := client.CreateSimulationApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplication func (c *RoboMaker) CreateSimulationApplicationRequest(input *CreateSimulationApplicationInput) (req *request.Request, output *CreateSimulationApplicationOutput) { @@ -1235,28 +1234,29 @@ func (c *RoboMaker) CreateSimulationApplicationRequest(input *CreateSimulationAp // API operation CreateSimulationApplication for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * IdempotentParameterMismatchException -// The request uses the same client token as a previous, but non-identical request. -// Do not reuse a client token with different requests, unless the requests -// are identical. +// - IdempotentParameterMismatchException +// The request uses the same client token as a previous, but non-identical request. +// Do not reuse a client token with different requests, unless the requests +// are identical. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplication func (c *RoboMaker) CreateSimulationApplication(input *CreateSimulationApplicationInput) (*CreateSimulationApplicationOutput, error) { @@ -1296,14 +1296,13 @@ const opCreateSimulationApplicationVersion = "CreateSimulationApplicationVersion // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSimulationApplicationVersionRequest method. +// req, resp := client.CreateSimulationApplicationVersionRequest(params) // -// // Example sending a request using the CreateSimulationApplicationVersionRequest method. -// req, resp := client.CreateSimulationApplicationVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplicationVersion func (c *RoboMaker) CreateSimulationApplicationVersionRequest(input *CreateSimulationApplicationVersionInput) (req *request.Request, output *CreateSimulationApplicationVersionOutput) { @@ -1334,25 +1333,26 @@ func (c *RoboMaker) CreateSimulationApplicationVersionRequest(input *CreateSimul // API operation CreateSimulationApplicationVersion for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * IdempotentParameterMismatchException -// The request uses the same client token as a previous, but non-identical request. -// Do not reuse a client token with different requests, unless the requests -// are identical. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - IdempotentParameterMismatchException +// The request uses the same client token as a previous, but non-identical request. +// Do not reuse a client token with different requests, unless the requests +// are identical. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationApplicationVersion func (c *RoboMaker) CreateSimulationApplicationVersion(input *CreateSimulationApplicationVersionInput) (*CreateSimulationApplicationVersionOutput, error) { @@ -1392,14 +1392,13 @@ const opCreateSimulationJob = "CreateSimulationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSimulationJobRequest method. +// req, resp := client.CreateSimulationJobRequest(params) // -// // Example sending a request using the CreateSimulationJobRequest method. -// req, resp := client.CreateSimulationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationJob func (c *RoboMaker) CreateSimulationJobRequest(input *CreateSimulationJobInput) (req *request.Request, output *CreateSimulationJobOutput) { @@ -1433,31 +1432,32 @@ func (c *RoboMaker) CreateSimulationJobRequest(input *CreateSimulationJobInput) // API operation CreateSimulationJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * IdempotentParameterMismatchException -// The request uses the same client token as a previous, but non-identical request. -// Do not reuse a client token with different requests, unless the requests -// are identical. +// - IdempotentParameterMismatchException +// The request uses the same client token as a previous, but non-identical request. +// Do not reuse a client token with different requests, unless the requests +// are identical. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateSimulationJob func (c *RoboMaker) CreateSimulationJob(input *CreateSimulationJobInput) (*CreateSimulationJobOutput, error) { @@ -1497,14 +1497,13 @@ const opCreateWorldExportJob = "CreateWorldExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorldExportJobRequest method. +// req, resp := client.CreateWorldExportJobRequest(params) // -// // Example sending a request using the CreateWorldExportJobRequest method. -// req, resp := client.CreateWorldExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateWorldExportJob func (c *RoboMaker) CreateWorldExportJobRequest(input *CreateWorldExportJobInput) (req *request.Request, output *CreateWorldExportJobOutput) { @@ -1535,27 +1534,28 @@ func (c *RoboMaker) CreateWorldExportJobRequest(input *CreateWorldExportJobInput // API operation CreateWorldExportJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * IdempotentParameterMismatchException -// The request uses the same client token as a previous, but non-identical request. -// Do not reuse a client token with different requests, unless the requests -// are identical. +// - IdempotentParameterMismatchException +// The request uses the same client token as a previous, but non-identical request. +// Do not reuse a client token with different requests, unless the requests +// are identical. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateWorldExportJob func (c *RoboMaker) CreateWorldExportJob(input *CreateWorldExportJobInput) (*CreateWorldExportJobOutput, error) { @@ -1595,14 +1595,13 @@ const opCreateWorldGenerationJob = "CreateWorldGenerationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorldGenerationJobRequest method. +// req, resp := client.CreateWorldGenerationJobRequest(params) // -// // Example sending a request using the CreateWorldGenerationJobRequest method. -// req, resp := client.CreateWorldGenerationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateWorldGenerationJob func (c *RoboMaker) CreateWorldGenerationJobRequest(input *CreateWorldGenerationJobInput) (req *request.Request, output *CreateWorldGenerationJobOutput) { @@ -1633,31 +1632,32 @@ func (c *RoboMaker) CreateWorldGenerationJobRequest(input *CreateWorldGeneration // API operation CreateWorldGenerationJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * IdempotentParameterMismatchException -// The request uses the same client token as a previous, but non-identical request. -// Do not reuse a client token with different requests, unless the requests -// are identical. +// - IdempotentParameterMismatchException +// The request uses the same client token as a previous, but non-identical request. +// Do not reuse a client token with different requests, unless the requests +// are identical. // -// * ServiceUnavailableException -// The request has failed due to a temporary failure of the server. +// - ServiceUnavailableException +// The request has failed due to a temporary failure of the server. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateWorldGenerationJob func (c *RoboMaker) CreateWorldGenerationJob(input *CreateWorldGenerationJobInput) (*CreateWorldGenerationJobOutput, error) { @@ -1697,14 +1697,13 @@ const opCreateWorldTemplate = "CreateWorldTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorldTemplateRequest method. +// req, resp := client.CreateWorldTemplateRequest(params) // -// // Example sending a request using the CreateWorldTemplateRequest method. -// req, resp := client.CreateWorldTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateWorldTemplate func (c *RoboMaker) CreateWorldTemplateRequest(input *CreateWorldTemplateInput) (req *request.Request, output *CreateWorldTemplateOutput) { @@ -1735,26 +1734,27 @@ func (c *RoboMaker) CreateWorldTemplateRequest(input *CreateWorldTemplateInput) // API operation CreateWorldTemplate for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/CreateWorldTemplate func (c *RoboMaker) CreateWorldTemplate(input *CreateWorldTemplateInput) (*CreateWorldTemplateOutput, error) { @@ -1794,14 +1794,13 @@ const opDeleteFleet = "DeleteFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFleetRequest method. +// req, resp := client.DeleteFleetRequest(params) // -// // Example sending a request using the DeleteFleetRequest method. -// req, resp := client.DeleteFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteFleet // @@ -1841,16 +1840,17 @@ func (c *RoboMaker) DeleteFleetRequest(input *DeleteFleetInput) (req *request.Re // API operation DeleteFleet for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteFleet // @@ -1894,14 +1894,13 @@ const opDeleteRobot = "DeleteRobot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRobotRequest method. +// req, resp := client.DeleteRobotRequest(params) // -// // Example sending a request using the DeleteRobotRequest method. -// req, resp := client.DeleteRobotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobot // @@ -1941,16 +1940,17 @@ func (c *RoboMaker) DeleteRobotRequest(input *DeleteRobotInput) (req *request.Re // API operation DeleteRobot for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobot // @@ -1994,14 +1994,13 @@ const opDeleteRobotApplication = "DeleteRobotApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRobotApplicationRequest method. +// req, resp := client.DeleteRobotApplicationRequest(params) // -// // Example sending a request using the DeleteRobotApplicationRequest method. -// req, resp := client.DeleteRobotApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobotApplication func (c *RoboMaker) DeleteRobotApplicationRequest(input *DeleteRobotApplicationInput) (req *request.Request, output *DeleteRobotApplicationOutput) { @@ -2033,16 +2032,17 @@ func (c *RoboMaker) DeleteRobotApplicationRequest(input *DeleteRobotApplicationI // API operation DeleteRobotApplication for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteRobotApplication func (c *RoboMaker) DeleteRobotApplication(input *DeleteRobotApplicationInput) (*DeleteRobotApplicationOutput, error) { @@ -2082,14 +2082,13 @@ const opDeleteSimulationApplication = "DeleteSimulationApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSimulationApplicationRequest method. +// req, resp := client.DeleteSimulationApplicationRequest(params) // -// // Example sending a request using the DeleteSimulationApplicationRequest method. -// req, resp := client.DeleteSimulationApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteSimulationApplication func (c *RoboMaker) DeleteSimulationApplicationRequest(input *DeleteSimulationApplicationInput) (req *request.Request, output *DeleteSimulationApplicationOutput) { @@ -2121,16 +2120,17 @@ func (c *RoboMaker) DeleteSimulationApplicationRequest(input *DeleteSimulationAp // API operation DeleteSimulationApplication for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteSimulationApplication func (c *RoboMaker) DeleteSimulationApplication(input *DeleteSimulationApplicationInput) (*DeleteSimulationApplicationOutput, error) { @@ -2170,14 +2170,13 @@ const opDeleteWorldTemplate = "DeleteWorldTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorldTemplateRequest method. +// req, resp := client.DeleteWorldTemplateRequest(params) // -// // Example sending a request using the DeleteWorldTemplateRequest method. -// req, resp := client.DeleteWorldTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteWorldTemplate func (c *RoboMaker) DeleteWorldTemplateRequest(input *DeleteWorldTemplateInput) (req *request.Request, output *DeleteWorldTemplateOutput) { @@ -2209,19 +2208,20 @@ func (c *RoboMaker) DeleteWorldTemplateRequest(input *DeleteWorldTemplateInput) // API operation DeleteWorldTemplate for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeleteWorldTemplate func (c *RoboMaker) DeleteWorldTemplate(input *DeleteWorldTemplateInput) (*DeleteWorldTemplateOutput, error) { @@ -2261,14 +2261,13 @@ const opDeregisterRobot = "DeregisterRobot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterRobotRequest method. +// req, resp := client.DeregisterRobotRequest(params) // -// // Example sending a request using the DeregisterRobotRequest method. -// req, resp := client.DeregisterRobotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeregisterRobot // @@ -2307,19 +2306,20 @@ func (c *RoboMaker) DeregisterRobotRequest(input *DeregisterRobotInput) (req *re // API operation DeregisterRobot for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DeregisterRobot // @@ -2363,14 +2363,13 @@ const opDescribeDeploymentJob = "DescribeDeploymentJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDeploymentJobRequest method. +// req, resp := client.DescribeDeploymentJobRequest(params) // -// // Example sending a request using the DescribeDeploymentJobRequest method. -// req, resp := client.DescribeDeploymentJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeDeploymentJob // @@ -2409,19 +2408,20 @@ func (c *RoboMaker) DescribeDeploymentJobRequest(input *DescribeDeploymentJobInp // API operation DescribeDeploymentJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeDeploymentJob // @@ -2465,14 +2465,13 @@ const opDescribeFleet = "DescribeFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFleetRequest method. +// req, resp := client.DescribeFleetRequest(params) // -// // Example sending a request using the DescribeFleetRequest method. -// req, resp := client.DescribeFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeFleet // @@ -2511,19 +2510,20 @@ func (c *RoboMaker) DescribeFleetRequest(input *DescribeFleetInput) (req *reques // API operation DescribeFleet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeFleet // @@ -2567,14 +2567,13 @@ const opDescribeRobot = "DescribeRobot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRobotRequest method. +// req, resp := client.DescribeRobotRequest(params) // -// // Example sending a request using the DescribeRobotRequest method. -// req, resp := client.DescribeRobotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobot // @@ -2613,19 +2612,20 @@ func (c *RoboMaker) DescribeRobotRequest(input *DescribeRobotInput) (req *reques // API operation DescribeRobot for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobot // @@ -2669,14 +2669,13 @@ const opDescribeRobotApplication = "DescribeRobotApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRobotApplicationRequest method. +// req, resp := client.DescribeRobotApplicationRequest(params) // -// // Example sending a request using the DescribeRobotApplicationRequest method. -// req, resp := client.DescribeRobotApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobotApplication func (c *RoboMaker) DescribeRobotApplicationRequest(input *DescribeRobotApplicationInput) (req *request.Request, output *DescribeRobotApplicationOutput) { @@ -2707,19 +2706,20 @@ func (c *RoboMaker) DescribeRobotApplicationRequest(input *DescribeRobotApplicat // API operation DescribeRobotApplication for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeRobotApplication func (c *RoboMaker) DescribeRobotApplication(input *DescribeRobotApplicationInput) (*DescribeRobotApplicationOutput, error) { @@ -2759,14 +2759,13 @@ const opDescribeSimulationApplication = "DescribeSimulationApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSimulationApplicationRequest method. +// req, resp := client.DescribeSimulationApplicationRequest(params) // -// // Example sending a request using the DescribeSimulationApplicationRequest method. -// req, resp := client.DescribeSimulationApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationApplication func (c *RoboMaker) DescribeSimulationApplicationRequest(input *DescribeSimulationApplicationInput) (req *request.Request, output *DescribeSimulationApplicationOutput) { @@ -2797,19 +2796,20 @@ func (c *RoboMaker) DescribeSimulationApplicationRequest(input *DescribeSimulati // API operation DescribeSimulationApplication for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationApplication func (c *RoboMaker) DescribeSimulationApplication(input *DescribeSimulationApplicationInput) (*DescribeSimulationApplicationOutput, error) { @@ -2849,14 +2849,13 @@ const opDescribeSimulationJob = "DescribeSimulationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSimulationJobRequest method. +// req, resp := client.DescribeSimulationJobRequest(params) // -// // Example sending a request using the DescribeSimulationJobRequest method. -// req, resp := client.DescribeSimulationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationJob func (c *RoboMaker) DescribeSimulationJobRequest(input *DescribeSimulationJobInput) (req *request.Request, output *DescribeSimulationJobOutput) { @@ -2887,19 +2886,20 @@ func (c *RoboMaker) DescribeSimulationJobRequest(input *DescribeSimulationJobInp // API operation DescribeSimulationJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationJob func (c *RoboMaker) DescribeSimulationJob(input *DescribeSimulationJobInput) (*DescribeSimulationJobOutput, error) { @@ -2939,14 +2939,13 @@ const opDescribeSimulationJobBatch = "DescribeSimulationJobBatch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSimulationJobBatchRequest method. +// req, resp := client.DescribeSimulationJobBatchRequest(params) // -// // Example sending a request using the DescribeSimulationJobBatchRequest method. -// req, resp := client.DescribeSimulationJobBatchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationJobBatch func (c *RoboMaker) DescribeSimulationJobBatchRequest(input *DescribeSimulationJobBatchInput) (req *request.Request, output *DescribeSimulationJobBatchOutput) { @@ -2977,15 +2976,16 @@ func (c *RoboMaker) DescribeSimulationJobBatchRequest(input *DescribeSimulationJ // API operation DescribeSimulationJobBatch for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeSimulationJobBatch func (c *RoboMaker) DescribeSimulationJobBatch(input *DescribeSimulationJobBatchInput) (*DescribeSimulationJobBatchOutput, error) { @@ -3025,14 +3025,13 @@ const opDescribeWorld = "DescribeWorld" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorldRequest method. +// req, resp := client.DescribeWorldRequest(params) // -// // Example sending a request using the DescribeWorldRequest method. -// req, resp := client.DescribeWorldRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeWorld func (c *RoboMaker) DescribeWorldRequest(input *DescribeWorldInput) (req *request.Request, output *DescribeWorldOutput) { @@ -3063,19 +3062,20 @@ func (c *RoboMaker) DescribeWorldRequest(input *DescribeWorldInput) (req *reques // API operation DescribeWorld for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeWorld func (c *RoboMaker) DescribeWorld(input *DescribeWorldInput) (*DescribeWorldOutput, error) { @@ -3115,14 +3115,13 @@ const opDescribeWorldExportJob = "DescribeWorldExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorldExportJobRequest method. +// req, resp := client.DescribeWorldExportJobRequest(params) // -// // Example sending a request using the DescribeWorldExportJobRequest method. -// req, resp := client.DescribeWorldExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeWorldExportJob func (c *RoboMaker) DescribeWorldExportJobRequest(input *DescribeWorldExportJobInput) (req *request.Request, output *DescribeWorldExportJobOutput) { @@ -3153,19 +3152,20 @@ func (c *RoboMaker) DescribeWorldExportJobRequest(input *DescribeWorldExportJobI // API operation DescribeWorldExportJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. +// +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeWorldExportJob func (c *RoboMaker) DescribeWorldExportJob(input *DescribeWorldExportJobInput) (*DescribeWorldExportJobOutput, error) { @@ -3205,14 +3205,13 @@ const opDescribeWorldGenerationJob = "DescribeWorldGenerationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorldGenerationJobRequest method. +// req, resp := client.DescribeWorldGenerationJobRequest(params) // -// // Example sending a request using the DescribeWorldGenerationJobRequest method. -// req, resp := client.DescribeWorldGenerationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeWorldGenerationJob func (c *RoboMaker) DescribeWorldGenerationJobRequest(input *DescribeWorldGenerationJobInput) (req *request.Request, output *DescribeWorldGenerationJobOutput) { @@ -3243,19 +3242,20 @@ func (c *RoboMaker) DescribeWorldGenerationJobRequest(input *DescribeWorldGenera // API operation DescribeWorldGenerationJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. +// +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeWorldGenerationJob func (c *RoboMaker) DescribeWorldGenerationJob(input *DescribeWorldGenerationJobInput) (*DescribeWorldGenerationJobOutput, error) { @@ -3295,14 +3295,13 @@ const opDescribeWorldTemplate = "DescribeWorldTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorldTemplateRequest method. +// req, resp := client.DescribeWorldTemplateRequest(params) // -// // Example sending a request using the DescribeWorldTemplateRequest method. -// req, resp := client.DescribeWorldTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeWorldTemplate func (c *RoboMaker) DescribeWorldTemplateRequest(input *DescribeWorldTemplateInput) (req *request.Request, output *DescribeWorldTemplateOutput) { @@ -3333,19 +3332,20 @@ func (c *RoboMaker) DescribeWorldTemplateRequest(input *DescribeWorldTemplateInp // API operation DescribeWorldTemplate for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/DescribeWorldTemplate func (c *RoboMaker) DescribeWorldTemplate(input *DescribeWorldTemplateInput) (*DescribeWorldTemplateOutput, error) { @@ -3385,14 +3385,13 @@ const opGetWorldTemplateBody = "GetWorldTemplateBody" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWorldTemplateBodyRequest method. +// req, resp := client.GetWorldTemplateBodyRequest(params) // -// // Example sending a request using the GetWorldTemplateBodyRequest method. -// req, resp := client.GetWorldTemplateBodyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/GetWorldTemplateBody func (c *RoboMaker) GetWorldTemplateBodyRequest(input *GetWorldTemplateBodyInput) (req *request.Request, output *GetWorldTemplateBodyOutput) { @@ -3423,19 +3422,20 @@ func (c *RoboMaker) GetWorldTemplateBodyRequest(input *GetWorldTemplateBodyInput // API operation GetWorldTemplateBody for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/GetWorldTemplateBody func (c *RoboMaker) GetWorldTemplateBody(input *GetWorldTemplateBodyInput) (*GetWorldTemplateBodyOutput, error) { @@ -3475,14 +3475,13 @@ const opListDeploymentJobs = "ListDeploymentJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeploymentJobsRequest method. +// req, resp := client.ListDeploymentJobsRequest(params) // -// // Example sending a request using the ListDeploymentJobsRequest method. -// req, resp := client.ListDeploymentJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListDeploymentJobs // @@ -3528,19 +3527,20 @@ func (c *RoboMaker) ListDeploymentJobsRequest(input *ListDeploymentJobsInput) (r // API operation ListDeploymentJobs for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. +// +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListDeploymentJobs // @@ -3576,15 +3576,14 @@ func (c *RoboMaker) ListDeploymentJobsWithContext(ctx aws.Context, input *ListDe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDeploymentJobs operation. -// pageNum := 0 -// err := client.ListDeploymentJobsPages(params, -// func(page *robomaker.ListDeploymentJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDeploymentJobs operation. +// pageNum := 0 +// err := client.ListDeploymentJobsPages(params, +// func(page *robomaker.ListDeploymentJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) // // Deprecated: Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html. func (c *RoboMaker) ListDeploymentJobsPages(input *ListDeploymentJobsInput, fn func(*ListDeploymentJobsOutput, bool) bool) error { @@ -3640,14 +3639,13 @@ const opListFleets = "ListFleets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFleetsRequest method. +// req, resp := client.ListFleetsRequest(params) // -// // Example sending a request using the ListFleetsRequest method. -// req, resp := client.ListFleetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListFleets // @@ -3693,19 +3691,20 @@ func (c *RoboMaker) ListFleetsRequest(input *ListFleetsInput) (req *request.Requ // API operation ListFleets for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListFleets // @@ -3741,15 +3740,14 @@ func (c *RoboMaker) ListFleetsWithContext(ctx aws.Context, input *ListFleetsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFleets operation. -// pageNum := 0 -// err := client.ListFleetsPages(params, -// func(page *robomaker.ListFleetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFleets operation. +// pageNum := 0 +// err := client.ListFleetsPages(params, +// func(page *robomaker.ListFleetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) // // Deprecated: Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html. func (c *RoboMaker) ListFleetsPages(input *ListFleetsInput, fn func(*ListFleetsOutput, bool) bool) error { @@ -3805,14 +3803,13 @@ const opListRobotApplications = "ListRobotApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRobotApplicationsRequest method. +// req, resp := client.ListRobotApplicationsRequest(params) // -// // Example sending a request using the ListRobotApplicationsRequest method. -// req, resp := client.ListRobotApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobotApplications func (c *RoboMaker) ListRobotApplicationsRequest(input *ListRobotApplicationsInput) (req *request.Request, output *ListRobotApplicationsOutput) { @@ -3850,16 +3847,17 @@ func (c *RoboMaker) ListRobotApplicationsRequest(input *ListRobotApplicationsInp // API operation ListRobotApplications for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobotApplications func (c *RoboMaker) ListRobotApplications(input *ListRobotApplicationsInput) (*ListRobotApplicationsOutput, error) { @@ -3891,15 +3889,14 @@ func (c *RoboMaker) ListRobotApplicationsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRobotApplications operation. -// pageNum := 0 -// err := client.ListRobotApplicationsPages(params, -// func(page *robomaker.ListRobotApplicationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRobotApplications operation. +// pageNum := 0 +// err := client.ListRobotApplicationsPages(params, +// func(page *robomaker.ListRobotApplicationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RoboMaker) ListRobotApplicationsPages(input *ListRobotApplicationsInput, fn func(*ListRobotApplicationsOutput, bool) bool) error { return c.ListRobotApplicationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3951,14 +3948,13 @@ const opListRobots = "ListRobots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRobotsRequest method. +// req, resp := client.ListRobotsRequest(params) // -// // Example sending a request using the ListRobotsRequest method. -// req, resp := client.ListRobotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobots // @@ -4004,19 +4000,20 @@ func (c *RoboMaker) ListRobotsRequest(input *ListRobotsInput) (req *request.Requ // API operation ListRobots for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. +// +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListRobots // @@ -4052,15 +4049,14 @@ func (c *RoboMaker) ListRobotsWithContext(ctx aws.Context, input *ListRobotsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRobots operation. -// pageNum := 0 -// err := client.ListRobotsPages(params, -// func(page *robomaker.ListRobotsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRobots operation. +// pageNum := 0 +// err := client.ListRobotsPages(params, +// func(page *robomaker.ListRobotsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) // // Deprecated: Support for the AWS RoboMaker application deployment feature has ended. For additional information, see https://docs.aws.amazon.com/robomaker/latest/dg/fleets.html. func (c *RoboMaker) ListRobotsPages(input *ListRobotsInput, fn func(*ListRobotsOutput, bool) bool) error { @@ -4116,14 +4112,13 @@ const opListSimulationApplications = "ListSimulationApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSimulationApplicationsRequest method. +// req, resp := client.ListSimulationApplicationsRequest(params) // -// // Example sending a request using the ListSimulationApplicationsRequest method. -// req, resp := client.ListSimulationApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationApplications func (c *RoboMaker) ListSimulationApplicationsRequest(input *ListSimulationApplicationsInput) (req *request.Request, output *ListSimulationApplicationsOutput) { @@ -4161,16 +4156,17 @@ func (c *RoboMaker) ListSimulationApplicationsRequest(input *ListSimulationAppli // API operation ListSimulationApplications for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationApplications func (c *RoboMaker) ListSimulationApplications(input *ListSimulationApplicationsInput) (*ListSimulationApplicationsOutput, error) { @@ -4202,15 +4198,14 @@ func (c *RoboMaker) ListSimulationApplicationsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSimulationApplications operation. -// pageNum := 0 -// err := client.ListSimulationApplicationsPages(params, -// func(page *robomaker.ListSimulationApplicationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSimulationApplications operation. +// pageNum := 0 +// err := client.ListSimulationApplicationsPages(params, +// func(page *robomaker.ListSimulationApplicationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RoboMaker) ListSimulationApplicationsPages(input *ListSimulationApplicationsInput, fn func(*ListSimulationApplicationsOutput, bool) bool) error { return c.ListSimulationApplicationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4262,14 +4257,13 @@ const opListSimulationJobBatches = "ListSimulationJobBatches" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSimulationJobBatchesRequest method. +// req, resp := client.ListSimulationJobBatchesRequest(params) // -// // Example sending a request using the ListSimulationJobBatchesRequest method. -// req, resp := client.ListSimulationJobBatchesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationJobBatches func (c *RoboMaker) ListSimulationJobBatchesRequest(input *ListSimulationJobBatchesInput) (req *request.Request, output *ListSimulationJobBatchesOutput) { @@ -4307,12 +4301,13 @@ func (c *RoboMaker) ListSimulationJobBatchesRequest(input *ListSimulationJobBatc // API operation ListSimulationJobBatches for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationJobBatches func (c *RoboMaker) ListSimulationJobBatches(input *ListSimulationJobBatchesInput) (*ListSimulationJobBatchesOutput, error) { @@ -4344,15 +4339,14 @@ func (c *RoboMaker) ListSimulationJobBatchesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSimulationJobBatches operation. -// pageNum := 0 -// err := client.ListSimulationJobBatchesPages(params, -// func(page *robomaker.ListSimulationJobBatchesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSimulationJobBatches operation. +// pageNum := 0 +// err := client.ListSimulationJobBatchesPages(params, +// func(page *robomaker.ListSimulationJobBatchesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RoboMaker) ListSimulationJobBatchesPages(input *ListSimulationJobBatchesInput, fn func(*ListSimulationJobBatchesOutput, bool) bool) error { return c.ListSimulationJobBatchesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4404,14 +4398,13 @@ const opListSimulationJobs = "ListSimulationJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSimulationJobsRequest method. +// req, resp := client.ListSimulationJobsRequest(params) // -// // Example sending a request using the ListSimulationJobsRequest method. -// req, resp := client.ListSimulationJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationJobs func (c *RoboMaker) ListSimulationJobsRequest(input *ListSimulationJobsInput) (req *request.Request, output *ListSimulationJobsOutput) { @@ -4449,16 +4442,17 @@ func (c *RoboMaker) ListSimulationJobsRequest(input *ListSimulationJobsInput) (r // API operation ListSimulationJobs for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. +// +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationJobs func (c *RoboMaker) ListSimulationJobs(input *ListSimulationJobsInput) (*ListSimulationJobsOutput, error) { @@ -4490,15 +4484,14 @@ func (c *RoboMaker) ListSimulationJobsWithContext(ctx aws.Context, input *ListSi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSimulationJobs operation. -// pageNum := 0 -// err := client.ListSimulationJobsPages(params, -// func(page *robomaker.ListSimulationJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSimulationJobs operation. +// pageNum := 0 +// err := client.ListSimulationJobsPages(params, +// func(page *robomaker.ListSimulationJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RoboMaker) ListSimulationJobsPages(input *ListSimulationJobsInput, fn func(*ListSimulationJobsOutput, bool) bool) error { return c.ListSimulationJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4550,14 +4543,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListTagsForResource func (c *RoboMaker) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4588,19 +4580,20 @@ func (c *RoboMaker) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListTagsForResource func (c *RoboMaker) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4640,14 +4633,13 @@ const opListWorldExportJobs = "ListWorldExportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorldExportJobsRequest method. +// req, resp := client.ListWorldExportJobsRequest(params) // -// // Example sending a request using the ListWorldExportJobsRequest method. -// req, resp := client.ListWorldExportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListWorldExportJobs func (c *RoboMaker) ListWorldExportJobsRequest(input *ListWorldExportJobsInput) (req *request.Request, output *ListWorldExportJobsOutput) { @@ -4684,16 +4676,17 @@ func (c *RoboMaker) ListWorldExportJobsRequest(input *ListWorldExportJobsInput) // API operation ListWorldExportJobs for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. +// +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListWorldExportJobs func (c *RoboMaker) ListWorldExportJobs(input *ListWorldExportJobsInput) (*ListWorldExportJobsOutput, error) { @@ -4725,15 +4718,14 @@ func (c *RoboMaker) ListWorldExportJobsWithContext(ctx aws.Context, input *ListW // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorldExportJobs operation. -// pageNum := 0 -// err := client.ListWorldExportJobsPages(params, -// func(page *robomaker.ListWorldExportJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorldExportJobs operation. +// pageNum := 0 +// err := client.ListWorldExportJobsPages(params, +// func(page *robomaker.ListWorldExportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RoboMaker) ListWorldExportJobsPages(input *ListWorldExportJobsInput, fn func(*ListWorldExportJobsOutput, bool) bool) error { return c.ListWorldExportJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4785,14 +4777,13 @@ const opListWorldGenerationJobs = "ListWorldGenerationJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorldGenerationJobsRequest method. +// req, resp := client.ListWorldGenerationJobsRequest(params) // -// // Example sending a request using the ListWorldGenerationJobsRequest method. -// req, resp := client.ListWorldGenerationJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListWorldGenerationJobs func (c *RoboMaker) ListWorldGenerationJobsRequest(input *ListWorldGenerationJobsInput) (req *request.Request, output *ListWorldGenerationJobsOutput) { @@ -4829,16 +4820,17 @@ func (c *RoboMaker) ListWorldGenerationJobsRequest(input *ListWorldGenerationJob // API operation ListWorldGenerationJobs for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListWorldGenerationJobs func (c *RoboMaker) ListWorldGenerationJobs(input *ListWorldGenerationJobsInput) (*ListWorldGenerationJobsOutput, error) { @@ -4870,15 +4862,14 @@ func (c *RoboMaker) ListWorldGenerationJobsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorldGenerationJobs operation. -// pageNum := 0 -// err := client.ListWorldGenerationJobsPages(params, -// func(page *robomaker.ListWorldGenerationJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorldGenerationJobs operation. +// pageNum := 0 +// err := client.ListWorldGenerationJobsPages(params, +// func(page *robomaker.ListWorldGenerationJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RoboMaker) ListWorldGenerationJobsPages(input *ListWorldGenerationJobsInput, fn func(*ListWorldGenerationJobsOutput, bool) bool) error { return c.ListWorldGenerationJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4930,14 +4921,13 @@ const opListWorldTemplates = "ListWorldTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorldTemplatesRequest method. +// req, resp := client.ListWorldTemplatesRequest(params) // -// // Example sending a request using the ListWorldTemplatesRequest method. -// req, resp := client.ListWorldTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListWorldTemplates func (c *RoboMaker) ListWorldTemplatesRequest(input *ListWorldTemplatesInput) (req *request.Request, output *ListWorldTemplatesOutput) { @@ -4974,16 +4964,17 @@ func (c *RoboMaker) ListWorldTemplatesRequest(input *ListWorldTemplatesInput) (r // API operation ListWorldTemplates for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListWorldTemplates func (c *RoboMaker) ListWorldTemplates(input *ListWorldTemplatesInput) (*ListWorldTemplatesOutput, error) { @@ -5015,15 +5006,14 @@ func (c *RoboMaker) ListWorldTemplatesWithContext(ctx aws.Context, input *ListWo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorldTemplates operation. -// pageNum := 0 -// err := client.ListWorldTemplatesPages(params, -// func(page *robomaker.ListWorldTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorldTemplates operation. +// pageNum := 0 +// err := client.ListWorldTemplatesPages(params, +// func(page *robomaker.ListWorldTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RoboMaker) ListWorldTemplatesPages(input *ListWorldTemplatesInput, fn func(*ListWorldTemplatesOutput, bool) bool) error { return c.ListWorldTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5075,14 +5065,13 @@ const opListWorlds = "ListWorlds" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorldsRequest method. +// req, resp := client.ListWorldsRequest(params) // -// // Example sending a request using the ListWorldsRequest method. -// req, resp := client.ListWorldsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListWorlds func (c *RoboMaker) ListWorldsRequest(input *ListWorldsInput) (req *request.Request, output *ListWorldsOutput) { @@ -5119,16 +5108,17 @@ func (c *RoboMaker) ListWorldsRequest(input *ListWorldsInput) (req *request.Requ // API operation ListWorlds for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListWorlds func (c *RoboMaker) ListWorlds(input *ListWorldsInput) (*ListWorldsOutput, error) { @@ -5160,15 +5150,14 @@ func (c *RoboMaker) ListWorldsWithContext(ctx aws.Context, input *ListWorldsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorlds operation. -// pageNum := 0 -// err := client.ListWorldsPages(params, -// func(page *robomaker.ListWorldsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorlds operation. +// pageNum := 0 +// err := client.ListWorldsPages(params, +// func(page *robomaker.ListWorldsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *RoboMaker) ListWorldsPages(input *ListWorldsInput, fn func(*ListWorldsOutput, bool) bool) error { return c.ListWorldsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5220,14 +5209,13 @@ const opRegisterRobot = "RegisterRobot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterRobotRequest method. +// req, resp := client.RegisterRobotRequest(params) // -// // Example sending a request using the RegisterRobotRequest method. -// req, resp := client.RegisterRobotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RegisterRobot // @@ -5265,23 +5253,24 @@ func (c *RoboMaker) RegisterRobotRequest(input *RegisterRobotInput) (req *reques // API operation RegisterRobot for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. +// +// - ResourceNotFoundException +// The specified resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RegisterRobot // @@ -5325,14 +5314,13 @@ const opRestartSimulationJob = "RestartSimulationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestartSimulationJobRequest method. +// req, resp := client.RestartSimulationJobRequest(params) // -// // Example sending a request using the RestartSimulationJobRequest method. -// req, resp := client.RestartSimulationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RestartSimulationJob func (c *RoboMaker) RestartSimulationJobRequest(input *RestartSimulationJobInput) (req *request.Request, output *RestartSimulationJobOutput) { @@ -5364,23 +5352,24 @@ func (c *RoboMaker) RestartSimulationJobRequest(input *RestartSimulationJobInput // API operation RestartSimulationJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/RestartSimulationJob func (c *RoboMaker) RestartSimulationJob(input *RestartSimulationJobInput) (*RestartSimulationJobOutput, error) { @@ -5420,14 +5409,13 @@ const opStartSimulationJobBatch = "StartSimulationJobBatch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartSimulationJobBatchRequest method. +// req, resp := client.StartSimulationJobBatchRequest(params) // -// // Example sending a request using the StartSimulationJobBatchRequest method. -// req, resp := client.StartSimulationJobBatchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/StartSimulationJobBatch func (c *RoboMaker) StartSimulationJobBatchRequest(input *StartSimulationJobBatchInput) (req *request.Request, output *StartSimulationJobBatchOutput) { @@ -5459,25 +5447,26 @@ func (c *RoboMaker) StartSimulationJobBatchRequest(input *StartSimulationJobBatc // API operation StartSimulationJobBatch for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * IdempotentParameterMismatchException -// The request uses the same client token as a previous, but non-identical request. -// Do not reuse a client token with different requests, unless the requests -// are identical. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - IdempotentParameterMismatchException +// The request uses the same client token as a previous, but non-identical request. +// Do not reuse a client token with different requests, unless the requests +// are identical. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/StartSimulationJobBatch func (c *RoboMaker) StartSimulationJobBatch(input *StartSimulationJobBatchInput) (*StartSimulationJobBatchOutput, error) { @@ -5517,14 +5506,13 @@ const opSyncDeploymentJob = "SyncDeploymentJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SyncDeploymentJobRequest method. +// req, resp := client.SyncDeploymentJobRequest(params) // -// // Example sending a request using the SyncDeploymentJobRequest method. -// req, resp := client.SyncDeploymentJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/SyncDeploymentJob // @@ -5564,31 +5552,32 @@ func (c *RoboMaker) SyncDeploymentJobRequest(input *SyncDeploymentJobInput) (req // API operation SyncDeploymentJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource does not exist. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * ConcurrentDeploymentException -// The failure percentage threshold percentage was met. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * IdempotentParameterMismatchException -// The request uses the same client token as a previous, but non-identical request. -// Do not reuse a client token with different requests, unless the requests -// are identical. +// - ConcurrentDeploymentException +// The failure percentage threshold percentage was met. +// +// - IdempotentParameterMismatchException +// The request uses the same client token as a previous, but non-identical request. +// Do not reuse a client token with different requests, unless the requests +// are identical. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/SyncDeploymentJob // @@ -5632,14 +5621,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/TagResource func (c *RoboMaker) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -5678,19 +5666,20 @@ func (c *RoboMaker) TagResourceRequest(input *TagResourceInput) (req *request.Re // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/TagResource func (c *RoboMaker) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -5730,14 +5719,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UntagResource func (c *RoboMaker) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -5772,19 +5760,20 @@ func (c *RoboMaker) UntagResourceRequest(input *UntagResourceInput) (req *reques // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UntagResource func (c *RoboMaker) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -5824,14 +5813,13 @@ const opUpdateRobotApplication = "UpdateRobotApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRobotApplicationRequest method. +// req, resp := client.UpdateRobotApplicationRequest(params) // -// // Example sending a request using the UpdateRobotApplicationRequest method. -// req, resp := client.UpdateRobotApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateRobotApplication func (c *RoboMaker) UpdateRobotApplicationRequest(input *UpdateRobotApplicationInput) (req *request.Request, output *UpdateRobotApplicationOutput) { @@ -5862,23 +5850,24 @@ func (c *RoboMaker) UpdateRobotApplicationRequest(input *UpdateRobotApplicationI // API operation UpdateRobotApplication for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateRobotApplication func (c *RoboMaker) UpdateRobotApplication(input *UpdateRobotApplicationInput) (*UpdateRobotApplicationOutput, error) { @@ -5918,14 +5907,13 @@ const opUpdateSimulationApplication = "UpdateSimulationApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSimulationApplicationRequest method. +// req, resp := client.UpdateSimulationApplicationRequest(params) // -// // Example sending a request using the UpdateSimulationApplicationRequest method. -// req, resp := client.UpdateSimulationApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateSimulationApplication func (c *RoboMaker) UpdateSimulationApplicationRequest(input *UpdateSimulationApplicationInput) (req *request.Request, output *UpdateSimulationApplicationOutput) { @@ -5956,23 +5944,24 @@ func (c *RoboMaker) UpdateSimulationApplicationRequest(input *UpdateSimulationAp // API operation UpdateSimulationApplication for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. // -// * LimitExceededException -// The requested resource exceeds the maximum number allowed, or the number -// of concurrent stream requests exceeds the maximum number allowed. +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - LimitExceededException +// The requested resource exceeds the maximum number allowed, or the number +// of concurrent stream requests exceeds the maximum number allowed. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. +// +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateSimulationApplication func (c *RoboMaker) UpdateSimulationApplication(input *UpdateSimulationApplicationInput) (*UpdateSimulationApplicationOutput, error) { @@ -6012,14 +6001,13 @@ const opUpdateWorldTemplate = "UpdateWorldTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWorldTemplateRequest method. +// req, resp := client.UpdateWorldTemplateRequest(params) // -// // Example sending a request using the UpdateWorldTemplateRequest method. -// req, resp := client.UpdateWorldTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateWorldTemplate func (c *RoboMaker) UpdateWorldTemplateRequest(input *UpdateWorldTemplateInput) (req *request.Request, output *UpdateWorldTemplateOutput) { @@ -6050,19 +6038,20 @@ func (c *RoboMaker) UpdateWorldTemplateRequest(input *UpdateWorldTemplateInput) // API operation UpdateWorldTemplate for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A parameter specified in a request is not valid, is unsupported, or cannot -// be used. The returned message provides an explanation of the error value. // -// * ResourceNotFoundException -// The specified resource does not exist. +// - InvalidParameterException +// A parameter specified in a request is not valid, is unsupported, or cannot +// be used. The returned message provides an explanation of the error value. +// +// - ResourceNotFoundException +// The specified resource does not exist. // -// * ThrottlingException -// AWS RoboMaker is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// AWS RoboMaker is temporarily unable to process the request. Try your call +// again. // -// * InternalServerException -// AWS RoboMaker experienced a service issue. Try your call again. +// - InternalServerException +// AWS RoboMaker experienced a service issue. Try your call again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/UpdateWorldTemplate func (c *RoboMaker) UpdateWorldTemplate(input *UpdateWorldTemplateInput) (*UpdateWorldTemplateOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/doc.go index 4b19c499ebb1..34393416e833 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/doc.go @@ -10,7 +10,7 @@ // See robomaker package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/robomaker/ // -// Using the Client +// # Using the Client // // To contact AWS RoboMaker with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/robomakeriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/robomakeriface/interface.go index e11ec6e0a266..c821206b4699 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/robomakeriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/robomakeriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS RoboMaker. -// func myFunc(svc robomakeriface.RoboMakerAPI) bool { -// // Make svc.BatchDeleteWorlds request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS RoboMaker. +// func myFunc(svc robomakeriface.RoboMakerAPI) bool { +// // Make svc.BatchDeleteWorlds request +// } // -// func main() { -// sess := session.New() -// svc := robomaker.New(sess) +// func main() { +// sess := session.New() +// svc := robomaker.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRoboMakerClient struct { -// robomakeriface.RoboMakerAPI -// } -// func (m *mockRoboMakerClient) BatchDeleteWorlds(input *robomaker.BatchDeleteWorldsInput) (*robomaker.BatchDeleteWorldsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRoboMakerClient struct { +// robomakeriface.RoboMakerAPI +// } +// func (m *mockRoboMakerClient) BatchDeleteWorlds(input *robomaker.BatchDeleteWorldsInput) (*robomaker.BatchDeleteWorldsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRoboMakerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRoboMakerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/service.go index b77c3eb199b7..f40e6329c489 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/robomaker/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a RoboMaker client from just a session. -// svc := robomaker.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a RoboMaker client with additional configuration -// svc := robomaker.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a RoboMaker client from just a session. +// svc := robomaker.New(mySession) +// +// // Create a RoboMaker client with additional configuration +// svc := robomaker.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *RoboMaker { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/api.go index 9e05cd035c98..aa561c13e705 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/api.go @@ -29,14 +29,13 @@ const opActivateKeySigningKey = "ActivateKeySigningKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ActivateKeySigningKeyRequest method. +// req, resp := client.ActivateKeySigningKeyRequest(params) // -// // Example sending a request using the ActivateKeySigningKeyRequest method. -// req, resp := client.ActivateKeySigningKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ActivateKeySigningKey func (c *Route53) ActivateKeySigningKeyRequest(input *ActivateKeySigningKeyInput) (req *request.Request, output *ActivateKeySigningKeyOutput) { @@ -68,27 +67,28 @@ func (c *Route53) ActivateKeySigningKeyRequest(input *ActivateKeySigningKeyInput // API operation ActivateKeySigningKey for usage and error information. // // Returned Error Codes: -// * ErrCodeConcurrentModification "ConcurrentModification" -// Another user submitted a request to create, update, or delete the object -// at the same time that you did. Retry the request. // -// * ErrCodeNoSuchKeySigningKey "NoSuchKeySigningKey" -// The specified key-signing key (KSK) doesn't exist. +// - ErrCodeConcurrentModification "ConcurrentModification" +// Another user submitted a request to create, update, or delete the object +// at the same time that you did. Retry the request. +// +// - ErrCodeNoSuchKeySigningKey "NoSuchKeySigningKey" +// The specified key-signing key (KSK) doesn't exist. // -// * ErrCodeInvalidKeySigningKeyStatus "InvalidKeySigningKeyStatus" -// The key-signing key (KSK) status isn't valid or another KSK has the status -// INTERNAL_FAILURE. +// - ErrCodeInvalidKeySigningKeyStatus "InvalidKeySigningKeyStatus" +// The key-signing key (KSK) status isn't valid or another KSK has the status +// INTERNAL_FAILURE. // -// * ErrCodeInvalidSigningStatus "InvalidSigningStatus" -// Your hosted zone status isn't valid for this operation. In the hosted zone, -// change the status to enable DNSSEC or disable DNSSEC. +// - ErrCodeInvalidSigningStatus "InvalidSigningStatus" +// Your hosted zone status isn't valid for this operation. In the hosted zone, +// change the status to enable DNSSEC or disable DNSSEC. // -// * ErrCodeInvalidKMSArn "InvalidKMSArn" -// The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC -// signing. +// - ErrCodeInvalidKMSArn "InvalidKMSArn" +// The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC +// signing. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ActivateKeySigningKey func (c *Route53) ActivateKeySigningKey(input *ActivateKeySigningKeyInput) (*ActivateKeySigningKeyOutput, error) { @@ -128,14 +128,13 @@ const opAssociateVPCWithHostedZone = "AssociateVPCWithHostedZone" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateVPCWithHostedZoneRequest method. +// req, resp := client.AssociateVPCWithHostedZoneRequest(params) // -// // Example sending a request using the AssociateVPCWithHostedZoneRequest method. -// req, resp := client.AssociateVPCWithHostedZoneRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AssociateVPCWithHostedZone func (c *Route53) AssociateVPCWithHostedZoneRequest(input *AssociateVPCWithHostedZoneInput) (req *request.Request, output *AssociateVPCWithHostedZoneOutput) { @@ -174,11 +173,11 @@ func (c *Route53) AssociateVPCWithHostedZoneRequest(input *AssociateVPCWithHoste // // The following are the supported partitions: // -// * aws - Amazon Web Services Regions +// - aws - Amazon Web Services Regions // -// * aws-cn - China Regions +// - aws-cn - China Regions // -// * aws-us-gov - Amazon Web Services GovCloud (US) Region +// - aws-us-gov - Amazon Web Services GovCloud (US) Region // // For more information, see Access Management (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. @@ -191,59 +190,60 @@ func (c *Route53) AssociateVPCWithHostedZoneRequest(input *AssociateVPCWithHoste // API operation AssociateVPCWithHostedZone for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. -// -// * ErrCodeNotAuthorizedException "NotAuthorizedException" -// Associating the specified VPC with the specified hosted zone has not been -// authorized. -// -// * ErrCodeInvalidVPCId "InvalidVPCId" -// The VPC ID that you specified either isn't a valid ID or the current account -// is not authorized to access this VPC. -// -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. -// -// * ErrCodePublicZoneVPCAssociation "PublicZoneVPCAssociation" -// You're trying to associate a VPC with a public hosted zone. Amazon Route -// 53 doesn't support associating a VPC with a public hosted zone. -// -// * ErrCodeConflictingDomainExists "ConflictingDomainExists" -// The cause of this error depends on the operation that you're performing: -// -// * Create a public hosted zone: Two hosted zones that have the same name -// or that have a parent/child relationship (example.com and test.example.com) -// can't have any common name servers. You tried to create a hosted zone -// that has the same name as an existing hosted zone or that's the parent -// or child of an existing hosted zone, and you specified a delegation set -// that shares one or more name servers with the existing hosted zone. For -// more information, see CreateReusableDelegationSet (https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html). -// -// * Create a private hosted zone: A hosted zone with the specified name -// already exists and is already associated with the Amazon VPC that you -// specified. -// -// * Associate VPCs with a private hosted zone: The VPC that you specified -// is already associated with another hosted zone that has the same name. -// -// * ErrCodeLimitsExceeded "LimitsExceeded" -// This operation can't be completed either because the current account has -// reached the limit on reusable delegation sets that it can create or because -// you've reached the limit on the number of Amazon VPCs that you can associate -// with a private hosted zone. To get the current limit on the number of reusable -// delegation sets, see GetAccountLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html). -// To get the current limit on the number of Amazon VPCs that you can associate -// with a private hosted zone, see GetHostedZoneLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetHostedZoneLimit.html). -// To request a higher limit, create a case (http://aws.amazon.com/route53-request) -// with the Amazon Web Services Support Center. -// -// * ErrCodePriorRequestNotComplete "PriorRequestNotComplete" -// If Amazon Route 53 can't process a request before the next request arrives, -// it will reject subsequent requests for the same hosted zone and return an -// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for -// the same request, we recommend that you wait, in intervals of increasing -// duration, before you try the request again. +// +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. +// +// - ErrCodeNotAuthorizedException "NotAuthorizedException" +// Associating the specified VPC with the specified hosted zone has not been +// authorized. +// +// - ErrCodeInvalidVPCId "InvalidVPCId" +// The VPC ID that you specified either isn't a valid ID or the current account +// is not authorized to access this VPC. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodePublicZoneVPCAssociation "PublicZoneVPCAssociation" +// You're trying to associate a VPC with a public hosted zone. Amazon Route +// 53 doesn't support associating a VPC with a public hosted zone. +// +// - ErrCodeConflictingDomainExists "ConflictingDomainExists" +// The cause of this error depends on the operation that you're performing: +// +// - Create a public hosted zone: Two hosted zones that have the same name +// or that have a parent/child relationship (example.com and test.example.com) +// can't have any common name servers. You tried to create a hosted zone +// that has the same name as an existing hosted zone or that's the parent +// or child of an existing hosted zone, and you specified a delegation set +// that shares one or more name servers with the existing hosted zone. For +// more information, see CreateReusableDelegationSet (https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html). +// +// - Create a private hosted zone: A hosted zone with the specified name +// already exists and is already associated with the Amazon VPC that you +// specified. +// +// - Associate VPCs with a private hosted zone: The VPC that you specified +// is already associated with another hosted zone that has the same name. +// +// - ErrCodeLimitsExceeded "LimitsExceeded" +// This operation can't be completed either because the current account has +// reached the limit on reusable delegation sets that it can create or because +// you've reached the limit on the number of Amazon VPCs that you can associate +// with a private hosted zone. To get the current limit on the number of reusable +// delegation sets, see GetAccountLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html). +// To get the current limit on the number of Amazon VPCs that you can associate +// with a private hosted zone, see GetHostedZoneLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetHostedZoneLimit.html). +// To request a higher limit, create a case (http://aws.amazon.com/route53-request) +// with the Amazon Web Services Support Center. +// +// - ErrCodePriorRequestNotComplete "PriorRequestNotComplete" +// If Amazon Route 53 can't process a request before the next request arrives, +// it will reject subsequent requests for the same hosted zone and return an +// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for +// the same request, we recommend that you wait, in intervals of increasing +// duration, before you try the request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AssociateVPCWithHostedZone func (c *Route53) AssociateVPCWithHostedZone(input *AssociateVPCWithHostedZoneInput) (*AssociateVPCWithHostedZoneOutput, error) { @@ -283,14 +283,13 @@ const opChangeResourceRecordSets = "ChangeResourceRecordSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ChangeResourceRecordSetsRequest method. +// req, resp := client.ChangeResourceRecordSetsRequest(params) // -// // Example sending a request using the ChangeResourceRecordSetsRequest method. -// req, resp := client.ChangeResourceRecordSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeResourceRecordSets func (c *Route53) ChangeResourceRecordSetsRequest(input *ChangeResourceRecordSetsInput) (req *request.Request, output *ChangeResourceRecordSetsOutput) { @@ -317,12 +316,12 @@ func (c *Route53) ChangeResourceRecordSetsRequest(input *ChangeResourceRecordSet // routes traffic for test.example.com to a web server that has an IP address // of 192.0.2.44. // -// Deleting Resource Record Sets +// # Deleting Resource Record Sets // // To delete a resource record set, you must specify all the same values that // you specified when you created it. // -// Change Batches and Transactional Changes +// # Change Batches and Transactional Changes // // The request body must include a document with a ChangeResourceRecordSetsRequest // element. The request body contains a list of change items, known as a change @@ -342,7 +341,7 @@ func (c *Route53) ChangeResourceRecordSetsRequest(input *ChangeResourceRecordSet // If you try to delete the same resource record set more than once in a single // change batch, Route 53 returns an InvalidChangeBatch error. // -// Traffic Flow +// # Traffic Flow // // To create resource record sets for complex routing configurations, use either // the traffic flow visual editor in the Route 53 console or the API actions @@ -354,19 +353,19 @@ func (c *Route53) ChangeResourceRecordSetsRequest(input *ChangeResourceRecordSet // see Using Traffic Flow to Route DNS Traffic (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/traffic-flow.html) // in the Amazon Route 53 Developer Guide. // -// Create, Delete, and Upsert +// # Create, Delete, and Upsert // // Use ChangeResourceRecordsSetsRequest to perform the following actions: // -// * CREATE: Creates a resource record set that has the specified values. +// - CREATE: Creates a resource record set that has the specified values. // -// * DELETE: Deletes an existing resource record set that has the specified -// values. +// - DELETE: Deletes an existing resource record set that has the specified +// values. // -// * UPSERT: If a resource set exists Route 53 updates it with the values -// in the request. +// - UPSERT: If a resource set exists Route 53 updates it with the values +// in the request. // -// Syntaxes for Creating, Updating, and Deleting Resource Record Sets +// # Syntaxes for Creating, Updating, and Deleting Resource Record Sets // // The syntax for a request depends on the type of resource record set that // you want to create, delete, or update, such as weighted, alias, or failover. @@ -378,7 +377,7 @@ func (c *Route53) ChangeResourceRecordSetsRequest(input *ChangeResourceRecordSet // all of the elements for every kind of resource record set that you can create, // delete, or update by using ChangeResourceRecordSets. // -// Change Propagation to Route 53 DNS Servers +// # Change Propagation to Route 53 DNS Servers // // When you submit a ChangeResourceRecordSets request, Route 53 propagates your // changes to all of the Route 53 authoritative DNS servers. While your changes @@ -387,7 +386,7 @@ func (c *Route53) ChangeResourceRecordSetsRequest(input *ChangeResourceRecordSet // to all Route 53 name servers within 60 seconds. For more information, see // GetChange (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html). // -// Limits on ChangeResourceRecordSets Requests +// # Limits on ChangeResourceRecordSets Requests // // For information about the limits on a ChangeResourceRecordSets request, see // Limits (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) @@ -401,25 +400,26 @@ func (c *Route53) ChangeResourceRecordSetsRequest(input *ChangeResourceRecordSet // API operation ChangeResourceRecordSets for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. // -// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" -// No health check exists with the specified ID. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidChangeBatch "InvalidChangeBatch" -// This exception contains a list of messages that might contain one or more -// error messages. Each error message indicates one error in the change batch. +// - ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" +// No health check exists with the specified ID. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidChangeBatch "InvalidChangeBatch" +// This exception contains a list of messages that might contain one or more +// error messages. Each error message indicates one error in the change batch. // -// * ErrCodePriorRequestNotComplete "PriorRequestNotComplete" -// If Amazon Route 53 can't process a request before the next request arrives, -// it will reject subsequent requests for the same hosted zone and return an -// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for -// the same request, we recommend that you wait, in intervals of increasing -// duration, before you try the request again. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodePriorRequestNotComplete "PriorRequestNotComplete" +// If Amazon Route 53 can't process a request before the next request arrives, +// it will reject subsequent requests for the same hosted zone and return an +// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for +// the same request, we recommend that you wait, in intervals of increasing +// duration, before you try the request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeResourceRecordSets func (c *Route53) ChangeResourceRecordSets(input *ChangeResourceRecordSetsInput) (*ChangeResourceRecordSetsOutput, error) { @@ -459,14 +459,13 @@ const opChangeTagsForResource = "ChangeTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ChangeTagsForResourceRequest method. +// req, resp := client.ChangeTagsForResourceRequest(params) // -// // Example sending a request using the ChangeTagsForResourceRequest method. -// req, resp := client.ChangeTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeTagsForResource func (c *Route53) ChangeTagsForResourceRequest(input *ChangeTagsForResourceInput) (req *request.Request, output *ChangeTagsForResourceOutput) { @@ -502,24 +501,25 @@ func (c *Route53) ChangeTagsForResourceRequest(input *ChangeTagsForResourceInput // API operation ChangeTagsForResource for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" -// No health check exists with the specified ID. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. +// - ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" +// No health check exists with the specified ID. // -// * ErrCodePriorRequestNotComplete "PriorRequestNotComplete" -// If Amazon Route 53 can't process a request before the next request arrives, -// it will reject subsequent requests for the same hosted zone and return an -// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for -// the same request, we recommend that you wait, in intervals of increasing -// duration, before you try the request again. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // -// * ErrCodeThrottlingException "ThrottlingException" -// The limit on the number of requests per second was exceeded. +// - ErrCodePriorRequestNotComplete "PriorRequestNotComplete" +// If Amazon Route 53 can't process a request before the next request arrives, +// it will reject subsequent requests for the same hosted zone and return an +// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for +// the same request, we recommend that you wait, in intervals of increasing +// duration, before you try the request again. +// +// - ErrCodeThrottlingException "ThrottlingException" +// The limit on the number of requests per second was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeTagsForResource func (c *Route53) ChangeTagsForResource(input *ChangeTagsForResourceInput) (*ChangeTagsForResourceOutput, error) { @@ -559,14 +559,13 @@ const opCreateHealthCheck = "CreateHealthCheck" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHealthCheckRequest method. +// req, resp := client.CreateHealthCheckRequest(params) // -// // Example sending a request using the CreateHealthCheckRequest method. -// req, resp := client.CreateHealthCheckRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHealthCheck func (c *Route53) CreateHealthCheckRequest(input *CreateHealthCheckInput) (req *request.Request, output *CreateHealthCheckOutput) { @@ -593,7 +592,7 @@ func (c *Route53) CreateHealthCheckRequest(input *CreateHealthCheckInput) (req * // (https://docs.aws.amazon.com/Route53/latest/APIReference/API_ResourceRecordSet.html#Route53-Type-ResourceRecordSet-HealthCheckId) // in ChangeResourceRecordSets (https://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html). // -// ELB Load Balancers +// # ELB Load Balancers // // If you're registering EC2 instances with an Elastic Load Balancing (ELB) // load balancer, do not create Amazon Route 53 health checks for the EC2 instances. @@ -601,25 +600,25 @@ func (c *Route53) CreateHealthCheckRequest(input *CreateHealthCheckInput) (req * // for an ELB health check, which performs a similar function to a Route 53 // health check. // -// Private Hosted Zones +// # Private Hosted Zones // // You can associate health checks with failover resource record sets in a private // hosted zone. Note the following: // -// * Route 53 health checkers are outside the VPC. To check the health of -// an endpoint within a VPC by IP address, you must assign a public IP address -// to the instance in the VPC. +// - Route 53 health checkers are outside the VPC. To check the health of +// an endpoint within a VPC by IP address, you must assign a public IP address +// to the instance in the VPC. // -// * You can configure a health checker to check the health of an external -// resource that the instance relies on, such as a database server. +// - You can configure a health checker to check the health of an external +// resource that the instance relies on, such as a database server. // -// * You can create a CloudWatch metric, associate an alarm with the metric, -// and then create a health check that is based on the state of the alarm. -// For example, you might create a CloudWatch metric that checks the status -// of the Amazon EC2 StatusCheckFailed metric, add an alarm to the metric, -// and then create a health check that is based on the state of the alarm. -// For information about creating CloudWatch metrics and alarms by using -// the CloudWatch console, see the Amazon CloudWatch User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/WhatIsCloudWatch.html). +// - You can create a CloudWatch metric, associate an alarm with the metric, +// and then create a health check that is based on the state of the alarm. +// For example, you might create a CloudWatch metric that checks the status +// of the Amazon EC2 StatusCheckFailed metric, add an alarm to the metric, +// and then create a health check that is based on the state of the alarm. +// For information about creating CloudWatch metrics and alarms by using +// the CloudWatch console, see the Amazon CloudWatch User Guide (https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/WhatIsCloudWatch.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -629,35 +628,36 @@ func (c *Route53) CreateHealthCheckRequest(input *CreateHealthCheckInput) (req * // API operation CreateHealthCheck for usage and error information. // // Returned Error Codes: -// * ErrCodeTooManyHealthChecks "TooManyHealthChecks" -// This health check can't be created because the current account has reached -// the limit on the number of active health checks. // -// For information about default limits, see Limits (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) -// in the Amazon Route 53 Developer Guide. +// - ErrCodeTooManyHealthChecks "TooManyHealthChecks" +// This health check can't be created because the current account has reached +// the limit on the number of active health checks. // -// For information about how to get the current limit for an account, see GetAccountLimit -// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html). -// To request a higher limit, create a case (http://aws.amazon.com/route53-request) -// with the Amazon Web Services Support Center. +// For information about default limits, see Limits (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) +// in the Amazon Route 53 Developer Guide. // -// You have reached the maximum number of active health checks for an Amazon -// Web Services account. To request a higher limit, create a case (http://aws.amazon.com/route53-request) -// with the Amazon Web Services Support Center. +// For information about how to get the current limit for an account, see GetAccountLimit +// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html). +// To request a higher limit, create a case (http://aws.amazon.com/route53-request) +// with the Amazon Web Services Support Center. // -// * ErrCodeHealthCheckAlreadyExists "HealthCheckAlreadyExists" -// The health check you're attempting to create already exists. Amazon Route -// 53 returns this error when you submit a request that has the following values: +// You have reached the maximum number of active health checks for an Amazon +// Web Services account. To request a higher limit, create a case (http://aws.amazon.com/route53-request) +// with the Amazon Web Services Support Center. // -// * The same value for CallerReference as an existing health check, and -// one or more values that differ from the existing health check that has -// the same caller reference. +// - ErrCodeHealthCheckAlreadyExists "HealthCheckAlreadyExists" +// The health check you're attempting to create already exists. Amazon Route +// 53 returns this error when you submit a request that has the following values: // -// * The same value for CallerReference as a health check that you created -// and later deleted, regardless of the other settings in the request. +// - The same value for CallerReference as an existing health check, and +// one or more values that differ from the existing health check that has +// the same caller reference. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - The same value for CallerReference as a health check that you created +// and later deleted, regardless of the other settings in the request. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHealthCheck func (c *Route53) CreateHealthCheck(input *CreateHealthCheckInput) (*CreateHealthCheckOutput, error) { @@ -697,14 +697,13 @@ const opCreateHostedZone = "CreateHostedZone" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHostedZoneRequest method. +// req, resp := client.CreateHostedZoneRequest(params) // -// // Example sending a request using the CreateHostedZoneRequest method. -// req, resp := client.CreateHostedZoneRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHostedZone func (c *Route53) CreateHostedZoneRequest(input *CreateHostedZoneInput) (req *request.Request, output *CreateHostedZoneOutput) { @@ -741,23 +740,23 @@ func (c *Route53) CreateHostedZoneRequest(input *CreateHostedZoneInput) (req *re // // Note the following: // -// * You can't create a hosted zone for a top-level domain (TLD) such as -// .com. +// - You can't create a hosted zone for a top-level domain (TLD) such as +// .com. // -// * For public hosted zones, Route 53 automatically creates a default SOA -// record and four NS records for the zone. For more information about SOA -// and NS records, see NS and SOA Records that Route 53 Creates for a Hosted -// Zone (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/SOA-NSrecords.html) -// in the Amazon Route 53 Developer Guide. If you want to use the same name -// servers for multiple public hosted zones, you can optionally associate -// a reusable delegation set with the hosted zone. See the DelegationSetId -// element. +// - For public hosted zones, Route 53 automatically creates a default SOA +// record and four NS records for the zone. For more information about SOA +// and NS records, see NS and SOA Records that Route 53 Creates for a Hosted +// Zone (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/SOA-NSrecords.html) +// in the Amazon Route 53 Developer Guide. If you want to use the same name +// servers for multiple public hosted zones, you can optionally associate +// a reusable delegation set with the hosted zone. See the DelegationSetId +// element. // -// * If your domain is registered with a registrar other than Route 53, you -// must update the name servers with your registrar to make Route 53 the -// DNS service for the domain. For more information, see Migrating DNS Service -// for an Existing Domain to Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/MigratingDNS.html) -// in the Amazon Route 53 Developer Guide. +// - If your domain is registered with a registrar other than Route 53, you +// must update the name servers with your registrar to make Route 53 the +// DNS service for the domain. For more information, see Migrating DNS Service +// for an Existing Domain to Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/MigratingDNS.html) +// in the Amazon Route 53 Developer Guide. // // When you submit a CreateHostedZone request, the initial status of the hosted // zone is PENDING. For public hosted zones, this means that the NS and SOA @@ -773,11 +772,11 @@ func (c *Route53) CreateHostedZoneRequest(input *CreateHostedZoneInput) (req *re // // The following are the supported partitions: // -// * aws - Amazon Web Services Regions +// - aws - Amazon Web Services Regions // -// * aws-cn - China Regions +// - aws-cn - China Regions // -// * aws-us-gov - Amazon Web Services GovCloud (US) Region +// - aws-us-gov - Amazon Web Services GovCloud (US) Region // // For more information, see Access Management (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. @@ -790,69 +789,70 @@ func (c *Route53) CreateHostedZoneRequest(input *CreateHostedZoneInput) (req *re // API operation CreateHostedZone for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidDomainName "InvalidDomainName" -// The specified domain name is not valid. // -// * ErrCodeHostedZoneAlreadyExists "HostedZoneAlreadyExists" -// The hosted zone you're trying to create already exists. Amazon Route 53 returns -// this error when a hosted zone has already been created with the specified -// CallerReference. +// - ErrCodeInvalidDomainName "InvalidDomainName" +// The specified domain name is not valid. // -// * ErrCodeTooManyHostedZones "TooManyHostedZones" -// This operation can't be completed either because the current account has -// reached the limit on the number of hosted zones or because you've reached -// the limit on the number of hosted zones that can be associated with a reusable -// delegation set. +// - ErrCodeHostedZoneAlreadyExists "HostedZoneAlreadyExists" +// The hosted zone you're trying to create already exists. Amazon Route 53 returns +// this error when a hosted zone has already been created with the specified +// CallerReference. // -// For information about default limits, see Limits (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) -// in the Amazon Route 53 Developer Guide. +// - ErrCodeTooManyHostedZones "TooManyHostedZones" +// This operation can't be completed either because the current account has +// reached the limit on the number of hosted zones or because you've reached +// the limit on the number of hosted zones that can be associated with a reusable +// delegation set. // -// To get the current limit on hosted zones that can be created by an account, -// see GetAccountLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html). +// For information about default limits, see Limits (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) +// in the Amazon Route 53 Developer Guide. // -// To get the current limit on hosted zones that can be associated with a reusable -// delegation set, see GetReusableDelegationSetLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetReusableDelegationSetLimit.html). +// To get the current limit on hosted zones that can be created by an account, +// see GetAccountLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html). // -// To request a higher limit, create a case (http://aws.amazon.com/route53-request) -// with the Amazon Web Services Support Center. +// To get the current limit on hosted zones that can be associated with a reusable +// delegation set, see GetReusableDelegationSetLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetReusableDelegationSetLimit.html). // -// * ErrCodeInvalidVPCId "InvalidVPCId" -// The VPC ID that you specified either isn't a valid ID or the current account -// is not authorized to access this VPC. +// To request a higher limit, create a case (http://aws.amazon.com/route53-request) +// with the Amazon Web Services Support Center. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidVPCId "InvalidVPCId" +// The VPC ID that you specified either isn't a valid ID or the current account +// is not authorized to access this VPC. // -// * ErrCodeDelegationSetNotAvailable "DelegationSetNotAvailable" -// You can create a hosted zone that has the same name as an existing hosted -// zone (example.com is common), but there is a limit to the number of hosted -// zones that have the same name. If you get this error, Amazon Route 53 has -// reached that limit. If you own the domain name and Route 53 generates this -// error, contact Customer Support. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // -// * ErrCodeConflictingDomainExists "ConflictingDomainExists" -// The cause of this error depends on the operation that you're performing: +// - ErrCodeDelegationSetNotAvailable "DelegationSetNotAvailable" +// You can create a hosted zone that has the same name as an existing hosted +// zone (example.com is common), but there is a limit to the number of hosted +// zones that have the same name. If you get this error, Amazon Route 53 has +// reached that limit. If you own the domain name and Route 53 generates this +// error, contact Customer Support. // -// * Create a public hosted zone: Two hosted zones that have the same name -// or that have a parent/child relationship (example.com and test.example.com) -// can't have any common name servers. You tried to create a hosted zone -// that has the same name as an existing hosted zone or that's the parent -// or child of an existing hosted zone, and you specified a delegation set -// that shares one or more name servers with the existing hosted zone. For -// more information, see CreateReusableDelegationSet (https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html). +// - ErrCodeConflictingDomainExists "ConflictingDomainExists" +// The cause of this error depends on the operation that you're performing: // -// * Create a private hosted zone: A hosted zone with the specified name -// already exists and is already associated with the Amazon VPC that you -// specified. +// - Create a public hosted zone: Two hosted zones that have the same name +// or that have a parent/child relationship (example.com and test.example.com) +// can't have any common name servers. You tried to create a hosted zone +// that has the same name as an existing hosted zone or that's the parent +// or child of an existing hosted zone, and you specified a delegation set +// that shares one or more name servers with the existing hosted zone. For +// more information, see CreateReusableDelegationSet (https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html). // -// * Associate VPCs with a private hosted zone: The VPC that you specified -// is already associated with another hosted zone that has the same name. +// - Create a private hosted zone: A hosted zone with the specified name +// already exists and is already associated with the Amazon VPC that you +// specified. // -// * ErrCodeNoSuchDelegationSet "NoSuchDelegationSet" -// A reusable delegation set with the specified ID does not exist. +// - Associate VPCs with a private hosted zone: The VPC that you specified +// is already associated with another hosted zone that has the same name. // -// * ErrCodeDelegationSetNotReusable "DelegationSetNotReusable" -// A reusable delegation set with the specified ID does not exist. +// - ErrCodeNoSuchDelegationSet "NoSuchDelegationSet" +// A reusable delegation set with the specified ID does not exist. +// +// - ErrCodeDelegationSetNotReusable "DelegationSetNotReusable" +// A reusable delegation set with the specified ID does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateHostedZone func (c *Route53) CreateHostedZone(input *CreateHostedZoneInput) (*CreateHostedZoneOutput, error) { @@ -892,14 +892,13 @@ const opCreateKeySigningKey = "CreateKeySigningKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateKeySigningKeyRequest method. +// req, resp := client.CreateKeySigningKeyRequest(params) // -// // Example sending a request using the CreateKeySigningKeyRequest method. -// req, resp := client.CreateKeySigningKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateKeySigningKey func (c *Route53) CreateKeySigningKeyRequest(input *CreateKeySigningKeyInput) (req *request.Request, output *CreateKeySigningKeyOutput) { @@ -931,41 +930,42 @@ func (c *Route53) CreateKeySigningKeyRequest(input *CreateKeySigningKeyInput) (r // API operation CreateKeySigningKey for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidArgument "InvalidArgument" -// Parameter name is not valid. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidArgument "InvalidArgument" +// Parameter name is not valid. // -// * ErrCodeInvalidKMSArn "InvalidKMSArn" -// The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC -// signing. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // -// * ErrCodeInvalidKeySigningKeyStatus "InvalidKeySigningKeyStatus" -// The key-signing key (KSK) status isn't valid or another KSK has the status -// INTERNAL_FAILURE. +// - ErrCodeInvalidKMSArn "InvalidKMSArn" +// The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC +// signing. // -// * ErrCodeInvalidSigningStatus "InvalidSigningStatus" -// Your hosted zone status isn't valid for this operation. In the hosted zone, -// change the status to enable DNSSEC or disable DNSSEC. +// - ErrCodeInvalidKeySigningKeyStatus "InvalidKeySigningKeyStatus" +// The key-signing key (KSK) status isn't valid or another KSK has the status +// INTERNAL_FAILURE. // -// * ErrCodeInvalidKeySigningKeyName "InvalidKeySigningKeyName" -// The key-signing key (KSK) name that you specified isn't a valid name. +// - ErrCodeInvalidSigningStatus "InvalidSigningStatus" +// Your hosted zone status isn't valid for this operation. In the hosted zone, +// change the status to enable DNSSEC or disable DNSSEC. // -// * ErrCodeKeySigningKeyAlreadyExists "KeySigningKeyAlreadyExists" -// You've already created a key-signing key (KSK) with this name or with the -// same customer managed key ARN. +// - ErrCodeInvalidKeySigningKeyName "InvalidKeySigningKeyName" +// The key-signing key (KSK) name that you specified isn't a valid name. // -// * ErrCodeTooManyKeySigningKeys "TooManyKeySigningKeys" -// You've reached the limit for the number of key-signing keys (KSKs). Remove -// at least one KSK, and then try again. +// - ErrCodeKeySigningKeyAlreadyExists "KeySigningKeyAlreadyExists" +// You've already created a key-signing key (KSK) with this name or with the +// same customer managed key ARN. // -// * ErrCodeConcurrentModification "ConcurrentModification" -// Another user submitted a request to create, update, or delete the object -// at the same time that you did. Retry the request. +// - ErrCodeTooManyKeySigningKeys "TooManyKeySigningKeys" +// You've reached the limit for the number of key-signing keys (KSKs). Remove +// at least one KSK, and then try again. +// +// - ErrCodeConcurrentModification "ConcurrentModification" +// Another user submitted a request to create, update, or delete the object +// at the same time that you did. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateKeySigningKey func (c *Route53) CreateKeySigningKey(input *CreateKeySigningKeyInput) (*CreateKeySigningKeyOutput, error) { @@ -1005,14 +1005,13 @@ const opCreateQueryLoggingConfig = "CreateQueryLoggingConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateQueryLoggingConfigRequest method. +// req, resp := client.CreateQueryLoggingConfigRequest(params) // -// // Example sending a request using the CreateQueryLoggingConfigRequest method. -// req, resp := client.CreateQueryLoggingConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfig func (c *Route53) CreateQueryLoggingConfigRequest(input *CreateQueryLoggingConfigInput) (req *request.Request, output *CreateQueryLoggingConfigOutput) { @@ -1040,15 +1039,15 @@ func (c *Route53) CreateQueryLoggingConfigRequest(input *CreateQueryLoggingConfi // DNS query logs contain information about the queries that Route 53 receives // for a specified public hosted zone, such as the following: // -// * Route 53 edge location that responded to the DNS query +// - Route 53 edge location that responded to the DNS query // -// * Domain or subdomain that was requested +// - Domain or subdomain that was requested // -// * DNS record type, such as A or AAAA +// - DNS record type, such as A or AAAA // -// * DNS response code, such as NoError or ServFail +// - DNS response code, such as NoError or ServFail // -// Log Group and Resource Policy +// # Log Group and Resource Policy // // Before you create a query logging configuration, perform the following operations. // @@ -1058,19 +1057,19 @@ func (c *Route53) CreateQueryLoggingConfigRequest(input *CreateQueryLoggingConfi // Create a CloudWatch Logs log group, and make note of the ARN, which you specify // when you create a query logging configuration. Note the following: // -// * You must create the log group in the us-east-1 region. +// - You must create the log group in the us-east-1 region. // -// * You must use the same Amazon Web Services account to create the log -// group and the hosted zone that you want to configure query logging for. +// - You must use the same Amazon Web Services account to create the log +// group and the hosted zone that you want to configure query logging for. // -// * When you create log groups for query logging, we recommend that you -// use a consistent prefix, for example: /aws/route53/hosted zone name In -// the next step, you'll create a resource policy, which controls access -// to one or more log groups and the associated Amazon Web Services resources, -// such as Route 53 hosted zones. There's a limit on the number of resource -// policies that you can create, so we recommend that you use a consistent -// prefix so you can use the same resource policy for all the log groups -// that you create for query logging. +// - When you create log groups for query logging, we recommend that you +// use a consistent prefix, for example: /aws/route53/hosted zone name In +// the next step, you'll create a resource policy, which controls access +// to one or more log groups and the associated Amazon Web Services resources, +// such as Route 53 hosted zones. There's a limit on the number of resource +// policies that you can create, so we recommend that you use a consistent +// prefix so you can use the same resource policy for all the log groups +// that you create for query logging. // // Create a CloudWatch Logs resource policy, and give it the permissions that // Route 53 needs to create log streams and to send query logs to log streams. @@ -1086,12 +1085,12 @@ func (c *Route53) CreateQueryLoggingConfigRequest(input *CreateQueryLoggingConfi // it, you can optionally limit the permissions that a service has to a resource // in a resource-based policy by supplying the following values: // -// * For aws:SourceArn, supply the hosted zone ARN used in creating the query -// logging configuration. For example, aws:SourceArn: arn:aws:route53:::hostedzone/hosted -// zone ID. +// - For aws:SourceArn, supply the hosted zone ARN used in creating the query +// logging configuration. For example, aws:SourceArn: arn:aws:route53:::hostedzone/hosted +// zone ID. // -// * For aws:SourceAccount, supply the account ID for the account that creates -// the query logging configuration. For example, aws:SourceAccount:111111111111. +// - For aws:SourceAccount, supply the account ID for the account that creates +// the query logging configuration. For example, aws:SourceAccount:111111111111. // // For more information, see The confused deputy problem (https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html) // in the Amazon Web Services IAM User Guide. @@ -1100,17 +1099,17 @@ func (c *Route53) CreateQueryLoggingConfigRequest(input *CreateQueryLoggingConfi // You must use the CloudWatch API, one of the Amazon Web Services SDKs, or // the CLI. // -// Log Streams and Edge Locations +// # Log Streams and Edge Locations // // When Route 53 finishes creating the configuration for DNS query logging, // it does the following: // -// * Creates a log stream for an edge location the first time that the edge -// location responds to DNS queries for the specified hosted zone. That log -// stream is used to log all queries that Route 53 responds to for that edge -// location. +// - Creates a log stream for an edge location the first time that the edge +// location responds to DNS queries for the specified hosted zone. That log +// stream is used to log all queries that Route 53 responds to for that edge +// location. // -// * Begins to send query logs to the applicable log stream. +// - Begins to send query logs to the applicable log stream. // // The name of each log stream is in the following format: // @@ -1123,7 +1122,7 @@ func (c *Route53) CreateQueryLoggingConfigRequest(input *CreateQueryLoggingConfi // a list of edge locations, see "The Route 53 Global Network" on the Route // 53 Product Details (http://aws.amazon.com/route53/details/) page. // -// Queries That Are Logged +// # Queries That Are Logged // // Query logs contain only the queries that DNS resolvers forward to Route 53. // If a DNS resolver has already cached the response to a query (such as the @@ -1137,18 +1136,18 @@ func (c *Route53) CreateQueryLoggingConfigRequest(input *CreateQueryLoggingConfi // to Your Website or Web Application (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-dns-service.html) // in the Amazon Route 53 Developer Guide. // -// Log File Format +// # Log File Format // // For a list of the values in each query log and the format of each value, // see Logging DNS Queries (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html) // in the Amazon Route 53 Developer Guide. // -// Pricing +// # Pricing // // For information about charges for query logs, see Amazon CloudWatch Pricing // (http://aws.amazon.com/cloudwatch/pricing/). // -// How to Stop Logging +// # How to Stop Logging // // If you want Route 53 to stop sending query logs to CloudWatch Logs, delete // the query logging configuration. For more information, see DeleteQueryLoggingConfig @@ -1162,38 +1161,39 @@ func (c *Route53) CreateQueryLoggingConfigRequest(input *CreateQueryLoggingConfi // API operation CreateQueryLoggingConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeConcurrentModification "ConcurrentModification" -// Another user submitted a request to create, update, or delete the object -// at the same time that you did. Retry the request. // -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. +// - ErrCodeConcurrentModification "ConcurrentModification" +// Another user submitted a request to create, update, or delete the object +// at the same time that you did. Retry the request. // -// * ErrCodeNoSuchCloudWatchLogsLogGroup "NoSuchCloudWatchLogsLogGroup" -// There is no CloudWatch Logs log group with the specified ARN. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchCloudWatchLogsLogGroup "NoSuchCloudWatchLogsLogGroup" +// There is no CloudWatch Logs log group with the specified ARN. // -// * ErrCodeQueryLoggingConfigAlreadyExists "QueryLoggingConfigAlreadyExists" -// You can create only one query logging configuration for a hosted zone, and -// a query logging configuration already exists for this hosted zone. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // -// * ErrCodeInsufficientCloudWatchLogsResourcePolicy "InsufficientCloudWatchLogsResourcePolicy" -// Amazon Route 53 doesn't have the permissions required to create log streams -// and send query logs to log streams. Possible causes include the following: +// - ErrCodeQueryLoggingConfigAlreadyExists "QueryLoggingConfigAlreadyExists" +// You can create only one query logging configuration for a hosted zone, and +// a query logging configuration already exists for this hosted zone. // -// * There is no resource policy that specifies the log group ARN in the -// value for Resource. +// - ErrCodeInsufficientCloudWatchLogsResourcePolicy "InsufficientCloudWatchLogsResourcePolicy" +// Amazon Route 53 doesn't have the permissions required to create log streams +// and send query logs to log streams. Possible causes include the following: // -// * The resource policy that includes the log group ARN in the value for -// Resource doesn't have the necessary permissions. +// - There is no resource policy that specifies the log group ARN in the +// value for Resource. // -// * The resource policy hasn't finished propagating yet. +// - The resource policy that includes the log group ARN in the value for +// Resource doesn't have the necessary permissions. // -// * The Key management service (KMS) key you specified doesn’t exist or -// it can’t be used with the log group associated with query log. Update -// or provide a resource policy to grant permissions for the KMS key. +// - The resource policy hasn't finished propagating yet. +// +// - The Key management service (KMS) key you specified doesn’t exist or +// it can’t be used with the log group associated with query log. Update +// or provide a resource policy to grant permissions for the KMS key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateQueryLoggingConfig func (c *Route53) CreateQueryLoggingConfig(input *CreateQueryLoggingConfigInput) (*CreateQueryLoggingConfigOutput, error) { @@ -1233,14 +1233,13 @@ const opCreateReusableDelegationSet = "CreateReusableDelegationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReusableDelegationSetRequest method. +// req, resp := client.CreateReusableDelegationSetRequest(params) // -// // Example sending a request using the CreateReusableDelegationSetRequest method. -// req, resp := client.CreateReusableDelegationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateReusableDelegationSet func (c *Route53) CreateReusableDelegationSetRequest(input *CreateReusableDelegationSetInput) (req *request.Request, output *CreateReusableDelegationSetOutput) { @@ -1297,18 +1296,18 @@ func (c *Route53) CreateReusableDelegationSetRequest(input *CreateReusableDelega // one or more name servers that are assigned to the reusable delegation set, // you can do one of the following: // -// * For small numbers of hosted zones—up to a few hundred—it's relatively -// easy to create reusable delegation sets until you get one that has four -// name servers that don't overlap with any of the name servers in your hosted -// zones. +// - For small numbers of hosted zones—up to a few hundred—it's relatively +// easy to create reusable delegation sets until you get one that has four +// name servers that don't overlap with any of the name servers in your hosted +// zones. // -// * For larger numbers of hosted zones, the easiest solution is to use more -// than one reusable delegation set. +// - For larger numbers of hosted zones, the easiest solution is to use more +// than one reusable delegation set. // -// * For larger numbers of hosted zones, you can also migrate hosted zones -// that have overlapping name servers to hosted zones that don't have overlapping -// name servers, then migrate the hosted zones again to use the reusable -// delegation set. +// - For larger numbers of hosted zones, you can also migrate hosted zones +// that have overlapping name servers to hosted zones that don't have overlapping +// name servers, then migrate the hosted zones again to use the reusable +// delegation set. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1318,39 +1317,40 @@ func (c *Route53) CreateReusableDelegationSetRequest(input *CreateReusableDelega // API operation CreateReusableDelegationSet for usage and error information. // // Returned Error Codes: -// * ErrCodeDelegationSetAlreadyCreated "DelegationSetAlreadyCreated" -// A delegation set with the same owner and caller reference combination has -// already been created. -// -// * ErrCodeLimitsExceeded "LimitsExceeded" -// This operation can't be completed either because the current account has -// reached the limit on reusable delegation sets that it can create or because -// you've reached the limit on the number of Amazon VPCs that you can associate -// with a private hosted zone. To get the current limit on the number of reusable -// delegation sets, see GetAccountLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html). -// To get the current limit on the number of Amazon VPCs that you can associate -// with a private hosted zone, see GetHostedZoneLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetHostedZoneLimit.html). -// To request a higher limit, create a case (http://aws.amazon.com/route53-request) -// with the Amazon Web Services Support Center. -// -// * ErrCodeHostedZoneNotFound "HostedZoneNotFound" -// The specified HostedZone can't be found. -// -// * ErrCodeInvalidArgument "InvalidArgument" -// Parameter name is not valid. -// -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. -// -// * ErrCodeDelegationSetNotAvailable "DelegationSetNotAvailable" -// You can create a hosted zone that has the same name as an existing hosted -// zone (example.com is common), but there is a limit to the number of hosted -// zones that have the same name. If you get this error, Amazon Route 53 has -// reached that limit. If you own the domain name and Route 53 generates this -// error, contact Customer Support. -// -// * ErrCodeDelegationSetAlreadyReusable "DelegationSetAlreadyReusable" -// The specified delegation set has already been marked as reusable. +// +// - ErrCodeDelegationSetAlreadyCreated "DelegationSetAlreadyCreated" +// A delegation set with the same owner and caller reference combination has +// already been created. +// +// - ErrCodeLimitsExceeded "LimitsExceeded" +// This operation can't be completed either because the current account has +// reached the limit on reusable delegation sets that it can create or because +// you've reached the limit on the number of Amazon VPCs that you can associate +// with a private hosted zone. To get the current limit on the number of reusable +// delegation sets, see GetAccountLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html). +// To get the current limit on the number of Amazon VPCs that you can associate +// with a private hosted zone, see GetHostedZoneLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetHostedZoneLimit.html). +// To request a higher limit, create a case (http://aws.amazon.com/route53-request) +// with the Amazon Web Services Support Center. +// +// - ErrCodeHostedZoneNotFound "HostedZoneNotFound" +// The specified HostedZone can't be found. +// +// - ErrCodeInvalidArgument "InvalidArgument" +// Parameter name is not valid. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodeDelegationSetNotAvailable "DelegationSetNotAvailable" +// You can create a hosted zone that has the same name as an existing hosted +// zone (example.com is common), but there is a limit to the number of hosted +// zones that have the same name. If you get this error, Amazon Route 53 has +// reached that limit. If you own the domain name and Route 53 generates this +// error, contact Customer Support. +// +// - ErrCodeDelegationSetAlreadyReusable "DelegationSetAlreadyReusable" +// The specified delegation set has already been marked as reusable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateReusableDelegationSet func (c *Route53) CreateReusableDelegationSet(input *CreateReusableDelegationSetInput) (*CreateReusableDelegationSetOutput, error) { @@ -1390,14 +1390,13 @@ const opCreateTrafficPolicy = "CreateTrafficPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTrafficPolicyRequest method. +// req, resp := client.CreateTrafficPolicyRequest(params) // -// // Example sending a request using the CreateTrafficPolicyRequest method. -// req, resp := client.CreateTrafficPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicy func (c *Route53) CreateTrafficPolicyRequest(input *CreateTrafficPolicyInput) (req *request.Request, output *CreateTrafficPolicyOutput) { @@ -1430,27 +1429,28 @@ func (c *Route53) CreateTrafficPolicyRequest(input *CreateTrafficPolicyInput) (r // API operation CreateTrafficPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeTooManyTrafficPolicies "TooManyTrafficPolicies" -// This traffic policy can't be created because the current account has reached -// the limit on the number of traffic policies. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // -// For information about default limits, see Limits (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) -// in the Amazon Route 53 Developer Guide. +// - ErrCodeTooManyTrafficPolicies "TooManyTrafficPolicies" +// This traffic policy can't be created because the current account has reached +// the limit on the number of traffic policies. // -// To get the current limit for an account, see GetAccountLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html). +// For information about default limits, see Limits (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) +// in the Amazon Route 53 Developer Guide. // -// To request a higher limit, create a case (http://aws.amazon.com/route53-request) -// with the Amazon Web Services Support Center. +// To get the current limit for an account, see GetAccountLimit (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html). // -// * ErrCodeTrafficPolicyAlreadyExists "TrafficPolicyAlreadyExists" -// A traffic policy that has the same value for Name already exists. +// To request a higher limit, create a case (http://aws.amazon.com/route53-request) +// with the Amazon Web Services Support Center. // -// * ErrCodeInvalidTrafficPolicyDocument "InvalidTrafficPolicyDocument" -// The format of the traffic policy document that you specified in the Document -// element is not valid. +// - ErrCodeTrafficPolicyAlreadyExists "TrafficPolicyAlreadyExists" +// A traffic policy that has the same value for Name already exists. +// +// - ErrCodeInvalidTrafficPolicyDocument "InvalidTrafficPolicyDocument" +// The format of the traffic policy document that you specified in the Document +// element is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicy func (c *Route53) CreateTrafficPolicy(input *CreateTrafficPolicyInput) (*CreateTrafficPolicyOutput, error) { @@ -1490,14 +1490,13 @@ const opCreateTrafficPolicyInstance = "CreateTrafficPolicyInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTrafficPolicyInstanceRequest method. +// req, resp := client.CreateTrafficPolicyInstanceRequest(params) // -// // Example sending a request using the CreateTrafficPolicyInstanceRequest method. -// req, resp := client.CreateTrafficPolicyInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstance func (c *Route53) CreateTrafficPolicyInstanceRequest(input *CreateTrafficPolicyInstanceInput) (req *request.Request, output *CreateTrafficPolicyInstanceOutput) { @@ -1533,30 +1532,31 @@ func (c *Route53) CreateTrafficPolicyInstanceRequest(input *CreateTrafficPolicyI // API operation CreateTrafficPolicyInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // -// * ErrCodeTooManyTrafficPolicyInstances "TooManyTrafficPolicyInstances" -// This traffic policy instance can't be created because the current account -// has reached the limit on the number of traffic policy instances. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // -// For information about default limits, see Limits (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) -// in the Amazon Route 53 Developer Guide. +// - ErrCodeTooManyTrafficPolicyInstances "TooManyTrafficPolicyInstances" +// This traffic policy instance can't be created because the current account +// has reached the limit on the number of traffic policy instances. // -// For information about how to get the current limit for an account, see GetAccountLimit -// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html). +// For information about default limits, see Limits (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html) +// in the Amazon Route 53 Developer Guide. // -// To request a higher limit, create a case (http://aws.amazon.com/route53-request) -// with the Amazon Web Services Support Center. +// For information about how to get the current limit for an account, see GetAccountLimit +// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetAccountLimit.html). // -// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" -// No traffic policy exists with the specified ID. +// To request a higher limit, create a case (http://aws.amazon.com/route53-request) +// with the Amazon Web Services Support Center. // -// * ErrCodeTrafficPolicyInstanceAlreadyExists "TrafficPolicyInstanceAlreadyExists" -// There is already a traffic policy instance with the specified ID. +// - ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" +// No traffic policy exists with the specified ID. +// +// - ErrCodeTrafficPolicyInstanceAlreadyExists "TrafficPolicyInstanceAlreadyExists" +// There is already a traffic policy instance with the specified ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstance func (c *Route53) CreateTrafficPolicyInstance(input *CreateTrafficPolicyInstanceInput) (*CreateTrafficPolicyInstanceOutput, error) { @@ -1596,14 +1596,13 @@ const opCreateTrafficPolicyVersion = "CreateTrafficPolicyVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTrafficPolicyVersionRequest method. +// req, resp := client.CreateTrafficPolicyVersionRequest(params) // -// // Example sending a request using the CreateTrafficPolicyVersionRequest method. -// req, resp := client.CreateTrafficPolicyVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyVersion func (c *Route53) CreateTrafficPolicyVersionRequest(input *CreateTrafficPolicyVersionInput) (req *request.Request, output *CreateTrafficPolicyVersionOutput) { @@ -1641,29 +1640,30 @@ func (c *Route53) CreateTrafficPolicyVersionRequest(input *CreateTrafficPolicyVe // API operation CreateTrafficPolicyVersion for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" -// No traffic policy exists with the specified ID. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" +// No traffic policy exists with the specified ID. // -// * ErrCodeTooManyTrafficPolicyVersionsForCurrentPolicy "TooManyTrafficPolicyVersionsForCurrentPolicy" -// This traffic policy version can't be created because you've reached the limit -// of 1000 on the number of versions that you can create for the current traffic -// policy. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // -// To create more traffic policy versions, you can use GetTrafficPolicy (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetTrafficPolicy.html) -// to get the traffic policy document for a specified traffic policy version, -// and then use CreateTrafficPolicy (https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html) -// to create a new traffic policy using the traffic policy document. +// - ErrCodeTooManyTrafficPolicyVersionsForCurrentPolicy "TooManyTrafficPolicyVersionsForCurrentPolicy" +// This traffic policy version can't be created because you've reached the limit +// of 1000 on the number of versions that you can create for the current traffic +// policy. // -// * ErrCodeConcurrentModification "ConcurrentModification" -// Another user submitted a request to create, update, or delete the object -// at the same time that you did. Retry the request. +// To create more traffic policy versions, you can use GetTrafficPolicy (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetTrafficPolicy.html) +// to get the traffic policy document for a specified traffic policy version, +// and then use CreateTrafficPolicy (https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html) +// to create a new traffic policy using the traffic policy document. // -// * ErrCodeInvalidTrafficPolicyDocument "InvalidTrafficPolicyDocument" -// The format of the traffic policy document that you specified in the Document -// element is not valid. +// - ErrCodeConcurrentModification "ConcurrentModification" +// Another user submitted a request to create, update, or delete the object +// at the same time that you did. Retry the request. +// +// - ErrCodeInvalidTrafficPolicyDocument "InvalidTrafficPolicyDocument" +// The format of the traffic policy document that you specified in the Document +// element is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyVersion func (c *Route53) CreateTrafficPolicyVersion(input *CreateTrafficPolicyVersionInput) (*CreateTrafficPolicyVersionOutput, error) { @@ -1703,14 +1703,13 @@ const opCreateVPCAssociationAuthorization = "CreateVPCAssociationAuthorization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVPCAssociationAuthorizationRequest method. +// req, resp := client.CreateVPCAssociationAuthorizationRequest(params) // -// // Example sending a request using the CreateVPCAssociationAuthorizationRequest method. -// req, resp := client.CreateVPCAssociationAuthorizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateVPCAssociationAuthorization func (c *Route53) CreateVPCAssociationAuthorizationRequest(input *CreateVPCAssociationAuthorizationInput) (req *request.Request, output *CreateVPCAssociationAuthorizationOutput) { @@ -1750,26 +1749,27 @@ func (c *Route53) CreateVPCAssociationAuthorizationRequest(input *CreateVPCAssoc // API operation CreateVPCAssociationAuthorization for usage and error information. // // Returned Error Codes: -// * ErrCodeConcurrentModification "ConcurrentModification" -// Another user submitted a request to create, update, or delete the object -// at the same time that you did. Retry the request. // -// * ErrCodeTooManyVPCAssociationAuthorizations "TooManyVPCAssociationAuthorizations" -// You've created the maximum number of authorizations that can be created for -// the specified hosted zone. To authorize another VPC to be associated with -// the hosted zone, submit a DeleteVPCAssociationAuthorization request to remove -// an existing authorization. To get a list of existing authorizations, submit -// a ListVPCAssociationAuthorizations request. +// - ErrCodeConcurrentModification "ConcurrentModification" +// Another user submitted a request to create, update, or delete the object +// at the same time that you did. Retry the request. // -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. +// - ErrCodeTooManyVPCAssociationAuthorizations "TooManyVPCAssociationAuthorizations" +// You've created the maximum number of authorizations that can be created for +// the specified hosted zone. To authorize another VPC to be associated with +// the hosted zone, submit a DeleteVPCAssociationAuthorization request to remove +// an existing authorization. To get a list of existing authorizations, submit +// a ListVPCAssociationAuthorizations request. // -// * ErrCodeInvalidVPCId "InvalidVPCId" -// The VPC ID that you specified either isn't a valid ID or the current account -// is not authorized to access this VPC. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidVPCId "InvalidVPCId" +// The VPC ID that you specified either isn't a valid ID or the current account +// is not authorized to access this VPC. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateVPCAssociationAuthorization func (c *Route53) CreateVPCAssociationAuthorization(input *CreateVPCAssociationAuthorizationInput) (*CreateVPCAssociationAuthorizationOutput, error) { @@ -1809,14 +1809,13 @@ const opDeactivateKeySigningKey = "DeactivateKeySigningKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeactivateKeySigningKeyRequest method. +// req, resp := client.DeactivateKeySigningKeyRequest(params) // -// // Example sending a request using the DeactivateKeySigningKeyRequest method. -// req, resp := client.DeactivateKeySigningKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeactivateKeySigningKey func (c *Route53) DeactivateKeySigningKeyRequest(input *DeactivateKeySigningKeyInput) (req *request.Request, output *DeactivateKeySigningKeyOutput) { @@ -1848,31 +1847,32 @@ func (c *Route53) DeactivateKeySigningKeyRequest(input *DeactivateKeySigningKeyI // API operation DeactivateKeySigningKey for usage and error information. // // Returned Error Codes: -// * ErrCodeConcurrentModification "ConcurrentModification" -// Another user submitted a request to create, update, or delete the object -// at the same time that you did. Retry the request. // -// * ErrCodeNoSuchKeySigningKey "NoSuchKeySigningKey" -// The specified key-signing key (KSK) doesn't exist. +// - ErrCodeConcurrentModification "ConcurrentModification" +// Another user submitted a request to create, update, or delete the object +// at the same time that you did. Retry the request. // -// * ErrCodeInvalidKeySigningKeyStatus "InvalidKeySigningKeyStatus" -// The key-signing key (KSK) status isn't valid or another KSK has the status -// INTERNAL_FAILURE. +// - ErrCodeNoSuchKeySigningKey "NoSuchKeySigningKey" +// The specified key-signing key (KSK) doesn't exist. // -// * ErrCodeInvalidSigningStatus "InvalidSigningStatus" -// Your hosted zone status isn't valid for this operation. In the hosted zone, -// change the status to enable DNSSEC or disable DNSSEC. +// - ErrCodeInvalidKeySigningKeyStatus "InvalidKeySigningKeyStatus" +// The key-signing key (KSK) status isn't valid or another KSK has the status +// INTERNAL_FAILURE. // -// * ErrCodeKeySigningKeyInUse "KeySigningKeyInUse" -// The key-signing key (KSK) that you specified can't be deactivated because -// it's the only KSK for a currently-enabled DNSSEC. Disable DNSSEC signing, -// or add or enable another KSK. +// - ErrCodeInvalidSigningStatus "InvalidSigningStatus" +// Your hosted zone status isn't valid for this operation. In the hosted zone, +// change the status to enable DNSSEC or disable DNSSEC. // -// * ErrCodeKeySigningKeyInParentDSRecord "KeySigningKeyInParentDSRecord" -// The key-signing key (KSK) is specified in a parent DS record. +// - ErrCodeKeySigningKeyInUse "KeySigningKeyInUse" +// The key-signing key (KSK) that you specified can't be deactivated because +// it's the only KSK for a currently-enabled DNSSEC. Disable DNSSEC signing, +// or add or enable another KSK. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeKeySigningKeyInParentDSRecord "KeySigningKeyInParentDSRecord" +// The key-signing key (KSK) is specified in a parent DS record. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeactivateKeySigningKey func (c *Route53) DeactivateKeySigningKey(input *DeactivateKeySigningKeyInput) (*DeactivateKeySigningKeyOutput, error) { @@ -1912,14 +1912,13 @@ const opDeleteHealthCheck = "DeleteHealthCheck" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteHealthCheckRequest method. +// req, resp := client.DeleteHealthCheckRequest(params) // -// // Example sending a request using the DeleteHealthCheckRequest method. -// req, resp := client.DeleteHealthCheckRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHealthCheck func (c *Route53) DeleteHealthCheckRequest(input *DeleteHealthCheckInput) (req *request.Request, output *DeleteHealthCheckOutput) { @@ -1965,14 +1964,15 @@ func (c *Route53) DeleteHealthCheckRequest(input *DeleteHealthCheckInput) (req * // API operation DeleteHealthCheck for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" -// No health check exists with the specified ID. // -// * ErrCodeHealthCheckInUse "HealthCheckInUse" -// This error code is not in use. +// - ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" +// No health check exists with the specified ID. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeHealthCheckInUse "HealthCheckInUse" +// This error code is not in use. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHealthCheck func (c *Route53) DeleteHealthCheck(input *DeleteHealthCheckInput) (*DeleteHealthCheckOutput, error) { @@ -2012,14 +2012,13 @@ const opDeleteHostedZone = "DeleteHostedZone" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteHostedZoneRequest method. +// req, resp := client.DeleteHostedZoneRequest(params) // -// // Example sending a request using the DeleteHostedZoneRequest method. -// req, resp := client.DeleteHostedZoneRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHostedZone func (c *Route53) DeleteHostedZoneRequest(input *DeleteHostedZoneInput) (req *request.Request, output *DeleteHostedZoneOutput) { @@ -2081,11 +2080,11 @@ func (c *Route53) DeleteHostedZoneRequest(input *DeleteHostedZoneInput) (req *re // // To verify that the hosted zone has been deleted, do one of the following: // -// * Use the GetHostedZone action to request information about the hosted -// zone. +// - Use the GetHostedZone action to request information about the hosted +// zone. // -// * Use the ListHostedZones action to get a list of the hosted zones associated -// with the current Amazon Web Services account. +// - Use the ListHostedZones action to get a list of the hosted zones associated +// with the current Amazon Web Services account. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2095,24 +2094,25 @@ func (c *Route53) DeleteHostedZoneRequest(input *DeleteHostedZoneInput) (req *re // API operation DeleteHostedZone for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. // -// * ErrCodeHostedZoneNotEmpty "HostedZoneNotEmpty" -// The hosted zone contains resource records that are not SOA or NS records. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // -// * ErrCodePriorRequestNotComplete "PriorRequestNotComplete" -// If Amazon Route 53 can't process a request before the next request arrives, -// it will reject subsequent requests for the same hosted zone and return an -// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for -// the same request, we recommend that you wait, in intervals of increasing -// duration, before you try the request again. +// - ErrCodeHostedZoneNotEmpty "HostedZoneNotEmpty" +// The hosted zone contains resource records that are not SOA or NS records. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodePriorRequestNotComplete "PriorRequestNotComplete" +// If Amazon Route 53 can't process a request before the next request arrives, +// it will reject subsequent requests for the same hosted zone and return an +// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for +// the same request, we recommend that you wait, in intervals of increasing +// duration, before you try the request again. // -// * ErrCodeInvalidDomainName "InvalidDomainName" -// The specified domain name is not valid. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodeInvalidDomainName "InvalidDomainName" +// The specified domain name is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteHostedZone func (c *Route53) DeleteHostedZone(input *DeleteHostedZoneInput) (*DeleteHostedZoneOutput, error) { @@ -2152,14 +2152,13 @@ const opDeleteKeySigningKey = "DeleteKeySigningKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteKeySigningKeyRequest method. +// req, resp := client.DeleteKeySigningKeyRequest(params) // -// // Example sending a request using the DeleteKeySigningKeyRequest method. -// req, resp := client.DeleteKeySigningKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteKeySigningKey func (c *Route53) DeleteKeySigningKeyRequest(input *DeleteKeySigningKeyInput) (req *request.Request, output *DeleteKeySigningKeyOutput) { @@ -2198,27 +2197,28 @@ func (c *Route53) DeleteKeySigningKeyRequest(input *DeleteKeySigningKeyInput) (r // API operation DeleteKeySigningKey for usage and error information. // // Returned Error Codes: -// * ErrCodeConcurrentModification "ConcurrentModification" -// Another user submitted a request to create, update, or delete the object -// at the same time that you did. Retry the request. // -// * ErrCodeNoSuchKeySigningKey "NoSuchKeySigningKey" -// The specified key-signing key (KSK) doesn't exist. +// - ErrCodeConcurrentModification "ConcurrentModification" +// Another user submitted a request to create, update, or delete the object +// at the same time that you did. Retry the request. // -// * ErrCodeInvalidKeySigningKeyStatus "InvalidKeySigningKeyStatus" -// The key-signing key (KSK) status isn't valid or another KSK has the status -// INTERNAL_FAILURE. +// - ErrCodeNoSuchKeySigningKey "NoSuchKeySigningKey" +// The specified key-signing key (KSK) doesn't exist. // -// * ErrCodeInvalidSigningStatus "InvalidSigningStatus" -// Your hosted zone status isn't valid for this operation. In the hosted zone, -// change the status to enable DNSSEC or disable DNSSEC. +// - ErrCodeInvalidKeySigningKeyStatus "InvalidKeySigningKeyStatus" +// The key-signing key (KSK) status isn't valid or another KSK has the status +// INTERNAL_FAILURE. // -// * ErrCodeInvalidKMSArn "InvalidKMSArn" -// The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC -// signing. +// - ErrCodeInvalidSigningStatus "InvalidSigningStatus" +// Your hosted zone status isn't valid for this operation. In the hosted zone, +// change the status to enable DNSSEC or disable DNSSEC. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidKMSArn "InvalidKMSArn" +// The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC +// signing. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteKeySigningKey func (c *Route53) DeleteKeySigningKey(input *DeleteKeySigningKeyInput) (*DeleteKeySigningKeyOutput, error) { @@ -2258,14 +2258,13 @@ const opDeleteQueryLoggingConfig = "DeleteQueryLoggingConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteQueryLoggingConfigRequest method. +// req, resp := client.DeleteQueryLoggingConfigRequest(params) // -// // Example sending a request using the DeleteQueryLoggingConfigRequest method. -// req, resp := client.DeleteQueryLoggingConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteQueryLoggingConfig func (c *Route53) DeleteQueryLoggingConfigRequest(input *DeleteQueryLoggingConfigInput) (req *request.Request, output *DeleteQueryLoggingConfigOutput) { @@ -2301,15 +2300,16 @@ func (c *Route53) DeleteQueryLoggingConfigRequest(input *DeleteQueryLoggingConfi // API operation DeleteQueryLoggingConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeConcurrentModification "ConcurrentModification" -// Another user submitted a request to create, update, or delete the object -// at the same time that you did. Retry the request. // -// * ErrCodeNoSuchQueryLoggingConfig "NoSuchQueryLoggingConfig" -// There is no DNS query logging configuration with the specified ID. +// - ErrCodeConcurrentModification "ConcurrentModification" +// Another user submitted a request to create, update, or delete the object +// at the same time that you did. Retry the request. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchQueryLoggingConfig "NoSuchQueryLoggingConfig" +// There is no DNS query logging configuration with the specified ID. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteQueryLoggingConfig func (c *Route53) DeleteQueryLoggingConfig(input *DeleteQueryLoggingConfigInput) (*DeleteQueryLoggingConfigOutput, error) { @@ -2349,14 +2349,13 @@ const opDeleteReusableDelegationSet = "DeleteReusableDelegationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReusableDelegationSetRequest method. +// req, resp := client.DeleteReusableDelegationSetRequest(params) // -// // Example sending a request using the DeleteReusableDelegationSetRequest method. -// req, resp := client.DeleteReusableDelegationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteReusableDelegationSet func (c *Route53) DeleteReusableDelegationSetRequest(input *DeleteReusableDelegationSetInput) (req *request.Request, output *DeleteReusableDelegationSetOutput) { @@ -2396,18 +2395,19 @@ func (c *Route53) DeleteReusableDelegationSetRequest(input *DeleteReusableDelega // API operation DeleteReusableDelegationSet for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchDelegationSet "NoSuchDelegationSet" -// A reusable delegation set with the specified ID does not exist. // -// * ErrCodeDelegationSetInUse "DelegationSetInUse" -// The specified delegation contains associated hosted zones which must be deleted -// before the reusable delegation set can be deleted. +// - ErrCodeNoSuchDelegationSet "NoSuchDelegationSet" +// A reusable delegation set with the specified ID does not exist. // -// * ErrCodeDelegationSetNotReusable "DelegationSetNotReusable" -// A reusable delegation set with the specified ID does not exist. +// - ErrCodeDelegationSetInUse "DelegationSetInUse" +// The specified delegation contains associated hosted zones which must be deleted +// before the reusable delegation set can be deleted. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeDelegationSetNotReusable "DelegationSetNotReusable" +// A reusable delegation set with the specified ID does not exist. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteReusableDelegationSet func (c *Route53) DeleteReusableDelegationSet(input *DeleteReusableDelegationSetInput) (*DeleteReusableDelegationSetOutput, error) { @@ -2447,14 +2447,13 @@ const opDeleteTrafficPolicy = "DeleteTrafficPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTrafficPolicyRequest method. +// req, resp := client.DeleteTrafficPolicyRequest(params) // -// // Example sending a request using the DeleteTrafficPolicyRequest method. -// req, resp := client.DeleteTrafficPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicy func (c *Route53) DeleteTrafficPolicyRequest(input *DeleteTrafficPolicyInput) (req *request.Request, output *DeleteTrafficPolicyOutput) { @@ -2482,14 +2481,14 @@ func (c *Route53) DeleteTrafficPolicyRequest(input *DeleteTrafficPolicyInput) (r // that it has been deleted. However, Route 53 never fully deletes the traffic // policy. Note the following: // -// * Deleted traffic policies aren't listed if you run ListTrafficPolicies -// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListTrafficPolicies.html). +// - Deleted traffic policies aren't listed if you run ListTrafficPolicies +// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListTrafficPolicies.html). // -// * There's no way to get a list of deleted policies. +// - There's no way to get a list of deleted policies. // -// * If you retain the ID of the policy, you can get information about the -// policy, including the traffic policy document, by running GetTrafficPolicy -// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetTrafficPolicy.html). +// - If you retain the ID of the policy, you can get information about the +// policy, including the traffic policy document, by running GetTrafficPolicy +// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetTrafficPolicy.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2499,19 +2498,20 @@ func (c *Route53) DeleteTrafficPolicyRequest(input *DeleteTrafficPolicyInput) (r // API operation DeleteTrafficPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" -// No traffic policy exists with the specified ID. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" +// No traffic policy exists with the specified ID. // -// * ErrCodeTrafficPolicyInUse "TrafficPolicyInUse" -// One or more traffic policy instances were created by using the specified -// traffic policy. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // -// * ErrCodeConcurrentModification "ConcurrentModification" -// Another user submitted a request to create, update, or delete the object -// at the same time that you did. Retry the request. +// - ErrCodeTrafficPolicyInUse "TrafficPolicyInUse" +// One or more traffic policy instances were created by using the specified +// traffic policy. +// +// - ErrCodeConcurrentModification "ConcurrentModification" +// Another user submitted a request to create, update, or delete the object +// at the same time that you did. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicy func (c *Route53) DeleteTrafficPolicy(input *DeleteTrafficPolicyInput) (*DeleteTrafficPolicyOutput, error) { @@ -2551,14 +2551,13 @@ const opDeleteTrafficPolicyInstance = "DeleteTrafficPolicyInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTrafficPolicyInstanceRequest method. +// req, resp := client.DeleteTrafficPolicyInstanceRequest(params) // -// // Example sending a request using the DeleteTrafficPolicyInstanceRequest method. -// req, resp := client.DeleteTrafficPolicyInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyInstance func (c *Route53) DeleteTrafficPolicyInstanceRequest(input *DeleteTrafficPolicyInstanceInput) (req *request.Request, output *DeleteTrafficPolicyInstanceOutput) { @@ -2593,18 +2592,19 @@ func (c *Route53) DeleteTrafficPolicyInstanceRequest(input *DeleteTrafficPolicyI // API operation DeleteTrafficPolicyInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance" -// No traffic policy instance exists with the specified ID. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance" +// No traffic policy instance exists with the specified ID. // -// * ErrCodePriorRequestNotComplete "PriorRequestNotComplete" -// If Amazon Route 53 can't process a request before the next request arrives, -// it will reject subsequent requests for the same hosted zone and return an -// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for -// the same request, we recommend that you wait, in intervals of increasing -// duration, before you try the request again. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodePriorRequestNotComplete "PriorRequestNotComplete" +// If Amazon Route 53 can't process a request before the next request arrives, +// it will reject subsequent requests for the same hosted zone and return an +// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for +// the same request, we recommend that you wait, in intervals of increasing +// duration, before you try the request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteTrafficPolicyInstance func (c *Route53) DeleteTrafficPolicyInstance(input *DeleteTrafficPolicyInstanceInput) (*DeleteTrafficPolicyInstanceOutput, error) { @@ -2644,14 +2644,13 @@ const opDeleteVPCAssociationAuthorization = "DeleteVPCAssociationAuthorization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVPCAssociationAuthorizationRequest method. +// req, resp := client.DeleteVPCAssociationAuthorizationRequest(params) // -// // Example sending a request using the DeleteVPCAssociationAuthorizationRequest method. -// req, resp := client.DeleteVPCAssociationAuthorizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteVPCAssociationAuthorization func (c *Route53) DeleteVPCAssociationAuthorizationRequest(input *DeleteVPCAssociationAuthorizationInput) (req *request.Request, output *DeleteVPCAssociationAuthorizationOutput) { @@ -2692,23 +2691,24 @@ func (c *Route53) DeleteVPCAssociationAuthorizationRequest(input *DeleteVPCAssoc // API operation DeleteVPCAssociationAuthorization for usage and error information. // // Returned Error Codes: -// * ErrCodeConcurrentModification "ConcurrentModification" -// Another user submitted a request to create, update, or delete the object -// at the same time that you did. Retry the request. // -// * ErrCodeVPCAssociationAuthorizationNotFound "VPCAssociationAuthorizationNotFound" -// The VPC that you specified is not authorized to be associated with the hosted -// zone. +// - ErrCodeConcurrentModification "ConcurrentModification" +// Another user submitted a request to create, update, or delete the object +// at the same time that you did. Retry the request. // -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. +// - ErrCodeVPCAssociationAuthorizationNotFound "VPCAssociationAuthorizationNotFound" +// The VPC that you specified is not authorized to be associated with the hosted +// zone. // -// * ErrCodeInvalidVPCId "InvalidVPCId" -// The VPC ID that you specified either isn't a valid ID or the current account -// is not authorized to access this VPC. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidVPCId "InvalidVPCId" +// The VPC ID that you specified either isn't a valid ID or the current account +// is not authorized to access this VPC. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteVPCAssociationAuthorization func (c *Route53) DeleteVPCAssociationAuthorization(input *DeleteVPCAssociationAuthorizationInput) (*DeleteVPCAssociationAuthorizationOutput, error) { @@ -2748,14 +2748,13 @@ const opDisableHostedZoneDNSSEC = "DisableHostedZoneDNSSEC" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableHostedZoneDNSSECRequest method. +// req, resp := client.DisableHostedZoneDNSSECRequest(params) // -// // Example sending a request using the DisableHostedZoneDNSSECRequest method. -// req, resp := client.DisableHostedZoneDNSSECRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisableHostedZoneDNSSEC func (c *Route53) DisableHostedZoneDNSSECRequest(input *DisableHostedZoneDNSSECInput) (req *request.Request, output *DisableHostedZoneDNSSECOutput) { @@ -2787,32 +2786,33 @@ func (c *Route53) DisableHostedZoneDNSSECRequest(input *DisableHostedZoneDNSSECI // API operation DisableHostedZoneDNSSEC for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidArgument "InvalidArgument" -// Parameter name is not valid. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // -// * ErrCodeConcurrentModification "ConcurrentModification" -// Another user submitted a request to create, update, or delete the object -// at the same time that you did. Retry the request. +// - ErrCodeInvalidArgument "InvalidArgument" +// Parameter name is not valid. // -// * ErrCodeKeySigningKeyInParentDSRecord "KeySigningKeyInParentDSRecord" -// The key-signing key (KSK) is specified in a parent DS record. +// - ErrCodeConcurrentModification "ConcurrentModification" +// Another user submitted a request to create, update, or delete the object +// at the same time that you did. Retry the request. // -// * ErrCodeDNSSECNotFound "DNSSECNotFound" -// The hosted zone doesn't have any DNSSEC resources. +// - ErrCodeKeySigningKeyInParentDSRecord "KeySigningKeyInParentDSRecord" +// The key-signing key (KSK) is specified in a parent DS record. // -// * ErrCodeInvalidKeySigningKeyStatus "InvalidKeySigningKeyStatus" -// The key-signing key (KSK) status isn't valid or another KSK has the status -// INTERNAL_FAILURE. +// - ErrCodeDNSSECNotFound "DNSSECNotFound" +// The hosted zone doesn't have any DNSSEC resources. // -// * ErrCodeInvalidKMSArn "InvalidKMSArn" -// The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC -// signing. +// - ErrCodeInvalidKeySigningKeyStatus "InvalidKeySigningKeyStatus" +// The key-signing key (KSK) status isn't valid or another KSK has the status +// INTERNAL_FAILURE. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidKMSArn "InvalidKMSArn" +// The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC +// signing. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisableHostedZoneDNSSEC func (c *Route53) DisableHostedZoneDNSSEC(input *DisableHostedZoneDNSSECInput) (*DisableHostedZoneDNSSECOutput, error) { @@ -2852,14 +2852,13 @@ const opDisassociateVPCFromHostedZone = "DisassociateVPCFromHostedZone" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateVPCFromHostedZoneRequest method. +// req, resp := client.DisassociateVPCFromHostedZoneRequest(params) // -// // Example sending a request using the DisassociateVPCFromHostedZoneRequest method. -// req, resp := client.DisassociateVPCFromHostedZoneRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZone func (c *Route53) DisassociateVPCFromHostedZoneRequest(input *DisassociateVPCFromHostedZoneInput) (req *request.Request, output *DisassociateVPCFromHostedZoneOutput) { @@ -2883,22 +2882,22 @@ func (c *Route53) DisassociateVPCFromHostedZoneRequest(input *DisassociateVPCFro // Disassociates an Amazon Virtual Private Cloud (Amazon VPC) from an Amazon // Route 53 private hosted zone. Note the following: // -// * You can't disassociate the last Amazon VPC from a private hosted zone. +// - You can't disassociate the last Amazon VPC from a private hosted zone. // -// * You can't convert a private hosted zone into a public hosted zone. +// - You can't convert a private hosted zone into a public hosted zone. // -// * You can submit a DisassociateVPCFromHostedZone request using either -// the account that created the hosted zone or the account that created the -// Amazon VPC. +// - You can submit a DisassociateVPCFromHostedZone request using either +// the account that created the hosted zone or the account that created the +// Amazon VPC. // -// * Some services, such as Cloud Map and Amazon Elastic File System (Amazon -// EFS) automatically create hosted zones and associate VPCs with the hosted -// zones. A service can create a hosted zone using your account or using -// its own account. You can disassociate a VPC from a hosted zone only if -// the service created the hosted zone using your account. When you run DisassociateVPCFromHostedZone -// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListHostedZonesByVPC.html), -// if the hosted zone has a value for OwningAccount, you can use DisassociateVPCFromHostedZone. -// If the hosted zone has a value for OwningService, you can't use DisassociateVPCFromHostedZone. +// - Some services, such as Cloud Map and Amazon Elastic File System (Amazon +// EFS) automatically create hosted zones and associate VPCs with the hosted +// zones. A service can create a hosted zone using your account or using +// its own account. You can disassociate a VPC from a hosted zone only if +// the service created the hosted zone using your account. When you run DisassociateVPCFromHostedZone +// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListHostedZonesByVPC.html), +// if the hosted zone has a value for OwningAccount, you can use DisassociateVPCFromHostedZone. +// If the hosted zone has a value for OwningService, you can't use DisassociateVPCFromHostedZone. // // When revoking access, the hosted zone and the Amazon VPC must belong to the // same partition. A partition is a group of Amazon Web Services Regions. Each @@ -2906,11 +2905,11 @@ func (c *Route53) DisassociateVPCFromHostedZoneRequest(input *DisassociateVPCFro // // The following are the supported partitions: // -// * aws - Amazon Web Services Regions +// - aws - Amazon Web Services Regions // -// * aws-cn - China Regions +// - aws-cn - China Regions // -// * aws-us-gov - Amazon Web Services GovCloud (US) Region +// - aws-us-gov - Amazon Web Services GovCloud (US) Region // // For more information, see Access Management (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. @@ -2923,23 +2922,24 @@ func (c *Route53) DisassociateVPCFromHostedZoneRequest(input *DisassociateVPCFro // API operation DisassociateVPCFromHostedZone for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidVPCId "InvalidVPCId" -// The VPC ID that you specified either isn't a valid ID or the current account -// is not authorized to access this VPC. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // -// * ErrCodeVPCAssociationNotFound "VPCAssociationNotFound" -// The specified VPC and hosted zone are not currently associated. +// - ErrCodeInvalidVPCId "InvalidVPCId" +// The VPC ID that you specified either isn't a valid ID or the current account +// is not authorized to access this VPC. // -// * ErrCodeLastVPCAssociation "LastVPCAssociation" -// The VPC that you're trying to disassociate from the private hosted zone is -// the last VPC that is associated with the hosted zone. Amazon Route 53 doesn't -// support disassociating the last VPC from a hosted zone. +// - ErrCodeVPCAssociationNotFound "VPCAssociationNotFound" +// The specified VPC and hosted zone are not currently associated. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeLastVPCAssociation "LastVPCAssociation" +// The VPC that you're trying to disassociate from the private hosted zone is +// the last VPC that is associated with the hosted zone. Amazon Route 53 doesn't +// support disassociating the last VPC from a hosted zone. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisassociateVPCFromHostedZone func (c *Route53) DisassociateVPCFromHostedZone(input *DisassociateVPCFromHostedZoneInput) (*DisassociateVPCFromHostedZoneOutput, error) { @@ -2979,14 +2979,13 @@ const opEnableHostedZoneDNSSEC = "EnableHostedZoneDNSSEC" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableHostedZoneDNSSECRequest method. +// req, resp := client.EnableHostedZoneDNSSECRequest(params) // -// // Example sending a request using the EnableHostedZoneDNSSECRequest method. -// req, resp := client.EnableHostedZoneDNSSECRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/EnableHostedZoneDNSSEC func (c *Route53) EnableHostedZoneDNSSECRequest(input *EnableHostedZoneDNSSECInput) (req *request.Request, output *EnableHostedZoneDNSSECOutput) { @@ -3017,36 +3016,37 @@ func (c *Route53) EnableHostedZoneDNSSECRequest(input *EnableHostedZoneDNSSECInp // API operation EnableHostedZoneDNSSEC for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidArgument "InvalidArgument" -// Parameter name is not valid. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // -// * ErrCodeConcurrentModification "ConcurrentModification" -// Another user submitted a request to create, update, or delete the object -// at the same time that you did. Retry the request. +// - ErrCodeInvalidArgument "InvalidArgument" +// Parameter name is not valid. // -// * ErrCodeKeySigningKeyWithActiveStatusNotFound "KeySigningKeyWithActiveStatusNotFound" -// A key-signing key (KSK) with ACTIVE status wasn't found. +// - ErrCodeConcurrentModification "ConcurrentModification" +// Another user submitted a request to create, update, or delete the object +// at the same time that you did. Retry the request. // -// * ErrCodeInvalidKMSArn "InvalidKMSArn" -// The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC -// signing. +// - ErrCodeKeySigningKeyWithActiveStatusNotFound "KeySigningKeyWithActiveStatusNotFound" +// A key-signing key (KSK) with ACTIVE status wasn't found. // -// * ErrCodeHostedZonePartiallyDelegated "HostedZonePartiallyDelegated" -// The hosted zone nameservers don't match the parent nameservers. The hosted -// zone and parent must have the same nameservers. +// - ErrCodeInvalidKMSArn "InvalidKMSArn" +// The KeyManagementServiceArn that you specified isn't valid to use with DNSSEC +// signing. // -// * ErrCodeDNSSECNotFound "DNSSECNotFound" -// The hosted zone doesn't have any DNSSEC resources. +// - ErrCodeHostedZonePartiallyDelegated "HostedZonePartiallyDelegated" +// The hosted zone nameservers don't match the parent nameservers. The hosted +// zone and parent must have the same nameservers. // -// * ErrCodeInvalidKeySigningKeyStatus "InvalidKeySigningKeyStatus" -// The key-signing key (KSK) status isn't valid or another KSK has the status -// INTERNAL_FAILURE. +// - ErrCodeDNSSECNotFound "DNSSECNotFound" +// The hosted zone doesn't have any DNSSEC resources. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidKeySigningKeyStatus "InvalidKeySigningKeyStatus" +// The key-signing key (KSK) status isn't valid or another KSK has the status +// INTERNAL_FAILURE. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/EnableHostedZoneDNSSEC func (c *Route53) EnableHostedZoneDNSSEC(input *EnableHostedZoneDNSSECInput) (*EnableHostedZoneDNSSECOutput, error) { @@ -3086,14 +3086,13 @@ const opGetAccountLimit = "GetAccountLimit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountLimitRequest method. +// req, resp := client.GetAccountLimitRequest(params) // -// // Example sending a request using the GetAccountLimitRequest method. -// req, resp := client.GetAccountLimitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetAccountLimit func (c *Route53) GetAccountLimitRequest(input *GetAccountLimitInput) (req *request.Request, output *GetAccountLimitOutput) { @@ -3134,8 +3133,8 @@ func (c *Route53) GetAccountLimitRequest(input *GetAccountLimitInput) (req *requ // API operation GetAccountLimit for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetAccountLimit func (c *Route53) GetAccountLimit(input *GetAccountLimitInput) (*GetAccountLimitOutput, error) { @@ -3175,14 +3174,13 @@ const opGetChange = "GetChange" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetChangeRequest method. +// req, resp := client.GetChangeRequest(params) // -// // Example sending a request using the GetChangeRequest method. -// req, resp := client.GetChangeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetChange func (c *Route53) GetChangeRequest(input *GetChangeInput) (req *request.Request, output *GetChangeOutput) { @@ -3206,12 +3204,12 @@ func (c *Route53) GetChangeRequest(input *GetChangeInput) (req *request.Request, // Returns the current status of a change batch request. The status is one of // the following values: // -// * PENDING indicates that the changes in this request have not propagated -// to all Amazon Route 53 DNS servers. This is the initial status of all -// change batch requests. +// - PENDING indicates that the changes in this request have not propagated +// to all Amazon Route 53 DNS servers. This is the initial status of all +// change batch requests. // -// * INSYNC indicates that the changes have propagated to all Route 53 DNS -// servers. +// - INSYNC indicates that the changes have propagated to all Route 53 DNS +// servers. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3221,11 +3219,12 @@ func (c *Route53) GetChangeRequest(input *GetChangeInput) (req *request.Request, // API operation GetChange for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchChange "NoSuchChange" -// A change with the specified change ID does not exist. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchChange "NoSuchChange" +// A change with the specified change ID does not exist. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetChange func (c *Route53) GetChange(input *GetChangeInput) (*GetChangeOutput, error) { @@ -3265,14 +3264,13 @@ const opGetCheckerIpRanges = "GetCheckerIpRanges" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCheckerIpRangesRequest method. +// req, resp := client.GetCheckerIpRangesRequest(params) // -// // Example sending a request using the GetCheckerIpRangesRequest method. -// req, resp := client.GetCheckerIpRangesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetCheckerIpRanges func (c *Route53) GetCheckerIpRangesRequest(input *GetCheckerIpRangesInput) (req *request.Request, output *GetCheckerIpRangesOutput) { @@ -3345,14 +3343,13 @@ const opGetDNSSEC = "GetDNSSEC" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDNSSECRequest method. +// req, resp := client.GetDNSSECRequest(params) // -// // Example sending a request using the GetDNSSECRequest method. -// req, resp := client.GetDNSSECRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetDNSSEC func (c *Route53) GetDNSSECRequest(input *GetDNSSECInput) (req *request.Request, output *GetDNSSECOutput) { @@ -3384,14 +3381,15 @@ func (c *Route53) GetDNSSECRequest(input *GetDNSSECInput) (req *request.Request, // API operation GetDNSSEC for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidArgument "InvalidArgument" -// Parameter name is not valid. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidArgument "InvalidArgument" +// Parameter name is not valid. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetDNSSEC func (c *Route53) GetDNSSEC(input *GetDNSSECInput) (*GetDNSSECOutput, error) { @@ -3431,14 +3429,13 @@ const opGetGeoLocation = "GetGeoLocation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGeoLocationRequest method. +// req, resp := client.GetGeoLocationRequest(params) // -// // Example sending a request using the GetGeoLocationRequest method. -// req, resp := client.GetGeoLocationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetGeoLocation func (c *Route53) GetGeoLocationRequest(input *GetGeoLocationInput) (req *request.Request, output *GetGeoLocationOutput) { @@ -3489,13 +3486,14 @@ func (c *Route53) GetGeoLocationRequest(input *GetGeoLocationInput) (req *reques // API operation GetGeoLocation for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchGeoLocation "NoSuchGeoLocation" -// Amazon Route 53 doesn't support the specified geographic location. For a -// list of supported geolocation codes, see the GeoLocation (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GeoLocation.html) -// data type. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchGeoLocation "NoSuchGeoLocation" +// Amazon Route 53 doesn't support the specified geographic location. For a +// list of supported geolocation codes, see the GeoLocation (https://docs.aws.amazon.com/Route53/latest/APIReference/API_GeoLocation.html) +// data type. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetGeoLocation func (c *Route53) GetGeoLocation(input *GetGeoLocationInput) (*GetGeoLocationOutput, error) { @@ -3535,14 +3533,13 @@ const opGetHealthCheck = "GetHealthCheck" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetHealthCheckRequest method. +// req, resp := client.GetHealthCheckRequest(params) // -// // Example sending a request using the GetHealthCheckRequest method. -// req, resp := client.GetHealthCheckRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheck func (c *Route53) GetHealthCheckRequest(input *GetHealthCheckInput) (req *request.Request, output *GetHealthCheckOutput) { @@ -3573,15 +3570,16 @@ func (c *Route53) GetHealthCheckRequest(input *GetHealthCheckInput) (req *reques // API operation GetHealthCheck for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" -// No health check exists with the specified ID. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" +// No health check exists with the specified ID. // -// * ErrCodeIncompatibleVersion "IncompatibleVersion" -// The resource you're trying to access is unsupported on this Amazon Route -// 53 endpoint. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodeIncompatibleVersion "IncompatibleVersion" +// The resource you're trying to access is unsupported on this Amazon Route +// 53 endpoint. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheck func (c *Route53) GetHealthCheck(input *GetHealthCheckInput) (*GetHealthCheckOutput, error) { @@ -3621,14 +3619,13 @@ const opGetHealthCheckCount = "GetHealthCheckCount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetHealthCheckCountRequest method. +// req, resp := client.GetHealthCheckCountRequest(params) // -// // Example sending a request using the GetHealthCheckCountRequest method. -// req, resp := client.GetHealthCheckCountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckCount func (c *Route53) GetHealthCheckCountRequest(input *GetHealthCheckCountInput) (req *request.Request, output *GetHealthCheckCountOutput) { @@ -3696,14 +3693,13 @@ const opGetHealthCheckLastFailureReason = "GetHealthCheckLastFailureReason" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetHealthCheckLastFailureReasonRequest method. +// req, resp := client.GetHealthCheckLastFailureReasonRequest(params) // -// // Example sending a request using the GetHealthCheckLastFailureReasonRequest method. -// req, resp := client.GetHealthCheckLastFailureReasonRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckLastFailureReason func (c *Route53) GetHealthCheckLastFailureReasonRequest(input *GetHealthCheckLastFailureReasonInput) (req *request.Request, output *GetHealthCheckLastFailureReasonOutput) { @@ -3734,11 +3730,12 @@ func (c *Route53) GetHealthCheckLastFailureReasonRequest(input *GetHealthCheckLa // API operation GetHealthCheckLastFailureReason for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" -// No health check exists with the specified ID. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" +// No health check exists with the specified ID. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckLastFailureReason func (c *Route53) GetHealthCheckLastFailureReason(input *GetHealthCheckLastFailureReasonInput) (*GetHealthCheckLastFailureReasonOutput, error) { @@ -3778,14 +3775,13 @@ const opGetHealthCheckStatus = "GetHealthCheckStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetHealthCheckStatusRequest method. +// req, resp := client.GetHealthCheckStatusRequest(params) // -// // Example sending a request using the GetHealthCheckStatusRequest method. -// req, resp := client.GetHealthCheckStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckStatus func (c *Route53) GetHealthCheckStatusRequest(input *GetHealthCheckStatusInput) (req *request.Request, output *GetHealthCheckStatusOutput) { @@ -3820,11 +3816,12 @@ func (c *Route53) GetHealthCheckStatusRequest(input *GetHealthCheckStatusInput) // API operation GetHealthCheckStatus for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" -// No health check exists with the specified ID. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" +// No health check exists with the specified ID. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHealthCheckStatus func (c *Route53) GetHealthCheckStatus(input *GetHealthCheckStatusInput) (*GetHealthCheckStatusOutput, error) { @@ -3864,14 +3861,13 @@ const opGetHostedZone = "GetHostedZone" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetHostedZoneRequest method. +// req, resp := client.GetHostedZoneRequest(params) // -// // Example sending a request using the GetHostedZoneRequest method. -// req, resp := client.GetHostedZoneRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZone func (c *Route53) GetHostedZoneRequest(input *GetHostedZoneInput) (req *request.Request, output *GetHostedZoneOutput) { @@ -3903,11 +3899,12 @@ func (c *Route53) GetHostedZoneRequest(input *GetHostedZoneInput) (req *request. // API operation GetHostedZone for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZone func (c *Route53) GetHostedZone(input *GetHostedZoneInput) (*GetHostedZoneOutput, error) { @@ -3947,14 +3944,13 @@ const opGetHostedZoneCount = "GetHostedZoneCount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetHostedZoneCountRequest method. +// req, resp := client.GetHostedZoneCountRequest(params) // -// // Example sending a request using the GetHostedZoneCountRequest method. -// req, resp := client.GetHostedZoneCountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneCount func (c *Route53) GetHostedZoneCountRequest(input *GetHostedZoneCountInput) (req *request.Request, output *GetHostedZoneCountOutput) { @@ -3986,8 +3982,8 @@ func (c *Route53) GetHostedZoneCountRequest(input *GetHostedZoneCountInput) (req // API operation GetHostedZoneCount for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneCount func (c *Route53) GetHostedZoneCount(input *GetHostedZoneCountInput) (*GetHostedZoneCountOutput, error) { @@ -4027,14 +4023,13 @@ const opGetHostedZoneLimit = "GetHostedZoneLimit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetHostedZoneLimitRequest method. +// req, resp := client.GetHostedZoneLimitRequest(params) // -// // Example sending a request using the GetHostedZoneLimitRequest method. -// req, resp := client.GetHostedZoneLimitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneLimit func (c *Route53) GetHostedZoneLimitRequest(input *GetHostedZoneLimitInput) (req *request.Request, output *GetHostedZoneLimitOutput) { @@ -4070,14 +4065,15 @@ func (c *Route53) GetHostedZoneLimitRequest(input *GetHostedZoneLimitInput) (req // API operation GetHostedZoneLimit for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // -// * ErrCodeHostedZoneNotPrivate "HostedZoneNotPrivate" -// The specified hosted zone is a public hosted zone, not a private hosted zone. +// - ErrCodeHostedZoneNotPrivate "HostedZoneNotPrivate" +// The specified hosted zone is a public hosted zone, not a private hosted zone. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneLimit func (c *Route53) GetHostedZoneLimit(input *GetHostedZoneLimitInput) (*GetHostedZoneLimitOutput, error) { @@ -4117,14 +4113,13 @@ const opGetQueryLoggingConfig = "GetQueryLoggingConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetQueryLoggingConfigRequest method. +// req, resp := client.GetQueryLoggingConfigRequest(params) // -// // Example sending a request using the GetQueryLoggingConfigRequest method. -// req, resp := client.GetQueryLoggingConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfig func (c *Route53) GetQueryLoggingConfigRequest(input *GetQueryLoggingConfigInput) (req *request.Request, output *GetQueryLoggingConfigOutput) { @@ -4158,11 +4153,12 @@ func (c *Route53) GetQueryLoggingConfigRequest(input *GetQueryLoggingConfigInput // API operation GetQueryLoggingConfig for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchQueryLoggingConfig "NoSuchQueryLoggingConfig" -// There is no DNS query logging configuration with the specified ID. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchQueryLoggingConfig "NoSuchQueryLoggingConfig" +// There is no DNS query logging configuration with the specified ID. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetQueryLoggingConfig func (c *Route53) GetQueryLoggingConfig(input *GetQueryLoggingConfigInput) (*GetQueryLoggingConfigOutput, error) { @@ -4202,14 +4198,13 @@ const opGetReusableDelegationSet = "GetReusableDelegationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReusableDelegationSetRequest method. +// req, resp := client.GetReusableDelegationSetRequest(params) // -// // Example sending a request using the GetReusableDelegationSetRequest method. -// req, resp := client.GetReusableDelegationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSet func (c *Route53) GetReusableDelegationSetRequest(input *GetReusableDelegationSetInput) (req *request.Request, output *GetReusableDelegationSetOutput) { @@ -4241,14 +4236,15 @@ func (c *Route53) GetReusableDelegationSetRequest(input *GetReusableDelegationSe // API operation GetReusableDelegationSet for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchDelegationSet "NoSuchDelegationSet" -// A reusable delegation set with the specified ID does not exist. // -// * ErrCodeDelegationSetNotReusable "DelegationSetNotReusable" -// A reusable delegation set with the specified ID does not exist. +// - ErrCodeNoSuchDelegationSet "NoSuchDelegationSet" +// A reusable delegation set with the specified ID does not exist. +// +// - ErrCodeDelegationSetNotReusable "DelegationSetNotReusable" +// A reusable delegation set with the specified ID does not exist. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSet func (c *Route53) GetReusableDelegationSet(input *GetReusableDelegationSetInput) (*GetReusableDelegationSetOutput, error) { @@ -4288,14 +4284,13 @@ const opGetReusableDelegationSetLimit = "GetReusableDelegationSetLimit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReusableDelegationSetLimitRequest method. +// req, resp := client.GetReusableDelegationSetLimitRequest(params) // -// // Example sending a request using the GetReusableDelegationSetLimitRequest method. -// req, resp := client.GetReusableDelegationSetLimitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetLimit func (c *Route53) GetReusableDelegationSetLimitRequest(input *GetReusableDelegationSetLimitInput) (req *request.Request, output *GetReusableDelegationSetLimitOutput) { @@ -4331,11 +4326,12 @@ func (c *Route53) GetReusableDelegationSetLimitRequest(input *GetReusableDelegat // API operation GetReusableDelegationSetLimit for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeNoSuchDelegationSet "NoSuchDelegationSet" -// A reusable delegation set with the specified ID does not exist. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodeNoSuchDelegationSet "NoSuchDelegationSet" +// A reusable delegation set with the specified ID does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetLimit func (c *Route53) GetReusableDelegationSetLimit(input *GetReusableDelegationSetLimitInput) (*GetReusableDelegationSetLimitOutput, error) { @@ -4375,14 +4371,13 @@ const opGetTrafficPolicy = "GetTrafficPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTrafficPolicyRequest method. +// req, resp := client.GetTrafficPolicyRequest(params) // -// // Example sending a request using the GetTrafficPolicyRequest method. -// req, resp := client.GetTrafficPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicy func (c *Route53) GetTrafficPolicyRequest(input *GetTrafficPolicyInput) (req *request.Request, output *GetTrafficPolicyOutput) { @@ -4416,11 +4411,12 @@ func (c *Route53) GetTrafficPolicyRequest(input *GetTrafficPolicyInput) (req *re // API operation GetTrafficPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" -// No traffic policy exists with the specified ID. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" +// No traffic policy exists with the specified ID. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicy func (c *Route53) GetTrafficPolicy(input *GetTrafficPolicyInput) (*GetTrafficPolicyOutput, error) { @@ -4460,14 +4456,13 @@ const opGetTrafficPolicyInstance = "GetTrafficPolicyInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTrafficPolicyInstanceRequest method. +// req, resp := client.GetTrafficPolicyInstanceRequest(params) // -// // Example sending a request using the GetTrafficPolicyInstanceRequest method. -// req, resp := client.GetTrafficPolicyInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstance func (c *Route53) GetTrafficPolicyInstanceRequest(input *GetTrafficPolicyInstanceInput) (req *request.Request, output *GetTrafficPolicyInstanceOutput) { @@ -4505,11 +4500,12 @@ func (c *Route53) GetTrafficPolicyInstanceRequest(input *GetTrafficPolicyInstanc // API operation GetTrafficPolicyInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance" -// No traffic policy instance exists with the specified ID. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance" +// No traffic policy instance exists with the specified ID. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstance func (c *Route53) GetTrafficPolicyInstance(input *GetTrafficPolicyInstanceInput) (*GetTrafficPolicyInstanceOutput, error) { @@ -4549,14 +4545,13 @@ const opGetTrafficPolicyInstanceCount = "GetTrafficPolicyInstanceCount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTrafficPolicyInstanceCountRequest method. +// req, resp := client.GetTrafficPolicyInstanceCountRequest(params) // -// // Example sending a request using the GetTrafficPolicyInstanceCountRequest method. -// req, resp := client.GetTrafficPolicyInstanceCountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstanceCount func (c *Route53) GetTrafficPolicyInstanceCountRequest(input *GetTrafficPolicyInstanceCountInput) (req *request.Request, output *GetTrafficPolicyInstanceCountOutput) { @@ -4624,14 +4619,13 @@ const opListGeoLocations = "ListGeoLocations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGeoLocationsRequest method. +// req, resp := client.ListGeoLocationsRequest(params) // -// // Example sending a request using the ListGeoLocationsRequest method. -// req, resp := client.ListGeoLocationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListGeoLocations func (c *Route53) ListGeoLocationsRequest(input *ListGeoLocationsInput) (req *request.Request, output *ListGeoLocationsOutput) { @@ -4673,8 +4667,8 @@ func (c *Route53) ListGeoLocationsRequest(input *ListGeoLocationsInput) (req *re // API operation ListGeoLocations for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListGeoLocations func (c *Route53) ListGeoLocations(input *ListGeoLocationsInput) (*ListGeoLocationsOutput, error) { @@ -4714,14 +4708,13 @@ const opListHealthChecks = "ListHealthChecks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHealthChecksRequest method. +// req, resp := client.ListHealthChecksRequest(params) // -// // Example sending a request using the ListHealthChecksRequest method. -// req, resp := client.ListHealthChecksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHealthChecks func (c *Route53) ListHealthChecksRequest(input *ListHealthChecksInput) (req *request.Request, output *ListHealthChecksOutput) { @@ -4759,12 +4752,13 @@ func (c *Route53) ListHealthChecksRequest(input *ListHealthChecksInput) (req *re // API operation ListHealthChecks for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeIncompatibleVersion "IncompatibleVersion" -// The resource you're trying to access is unsupported on this Amazon Route -// 53 endpoint. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodeIncompatibleVersion "IncompatibleVersion" +// The resource you're trying to access is unsupported on this Amazon Route +// 53 endpoint. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHealthChecks func (c *Route53) ListHealthChecks(input *ListHealthChecksInput) (*ListHealthChecksOutput, error) { @@ -4796,15 +4790,14 @@ func (c *Route53) ListHealthChecksWithContext(ctx aws.Context, input *ListHealth // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListHealthChecks operation. -// pageNum := 0 -// err := client.ListHealthChecksPages(params, -// func(page *route53.ListHealthChecksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListHealthChecks operation. +// pageNum := 0 +// err := client.ListHealthChecksPages(params, +// func(page *route53.ListHealthChecksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53) ListHealthChecksPages(input *ListHealthChecksInput, fn func(*ListHealthChecksOutput, bool) bool) error { return c.ListHealthChecksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4856,14 +4849,13 @@ const opListHostedZones = "ListHostedZones" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHostedZonesRequest method. +// req, resp := client.ListHostedZonesRequest(params) // -// // Example sending a request using the ListHostedZonesRequest method. -// req, resp := client.ListHostedZonesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZones func (c *Route53) ListHostedZonesRequest(input *ListHostedZonesInput) (req *request.Request, output *ListHostedZonesOutput) { @@ -4906,14 +4898,15 @@ func (c *Route53) ListHostedZonesRequest(input *ListHostedZonesInput) (req *requ // API operation ListHostedZones for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeNoSuchDelegationSet "NoSuchDelegationSet" -// A reusable delegation set with the specified ID does not exist. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // -// * ErrCodeDelegationSetNotReusable "DelegationSetNotReusable" -// A reusable delegation set with the specified ID does not exist. +// - ErrCodeNoSuchDelegationSet "NoSuchDelegationSet" +// A reusable delegation set with the specified ID does not exist. +// +// - ErrCodeDelegationSetNotReusable "DelegationSetNotReusable" +// A reusable delegation set with the specified ID does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZones func (c *Route53) ListHostedZones(input *ListHostedZonesInput) (*ListHostedZonesOutput, error) { @@ -4945,15 +4938,14 @@ func (c *Route53) ListHostedZonesWithContext(ctx aws.Context, input *ListHostedZ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListHostedZones operation. -// pageNum := 0 -// err := client.ListHostedZonesPages(params, -// func(page *route53.ListHostedZonesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListHostedZones operation. +// pageNum := 0 +// err := client.ListHostedZonesPages(params, +// func(page *route53.ListHostedZonesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53) ListHostedZonesPages(input *ListHostedZonesInput, fn func(*ListHostedZonesOutput, bool) bool) error { return c.ListHostedZonesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5005,14 +4997,13 @@ const opListHostedZonesByName = "ListHostedZonesByName" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHostedZonesByNameRequest method. +// req, resp := client.ListHostedZonesByNameRequest(params) // -// // Example sending a request using the ListHostedZonesByNameRequest method. -// req, resp := client.ListHostedZonesByNameRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesByName func (c *Route53) ListHostedZonesByNameRequest(input *ListHostedZonesByNameInput) (req *request.Request, output *ListHostedZonesByNameOutput) { @@ -5062,26 +5053,26 @@ func (c *Route53) ListHostedZonesByNameRequest(input *ListHostedZonesByNameInput // response includes values that help navigate from one group of MaxItems hosted // zones to the next: // -// * The DNSName and HostedZoneId elements in the response contain the values, -// if any, specified for the dnsname and hostedzoneid parameters in the request -// that produced the current response. +// - The DNSName and HostedZoneId elements in the response contain the values, +// if any, specified for the dnsname and hostedzoneid parameters in the request +// that produced the current response. // -// * The MaxItems element in the response contains the value, if any, that -// you specified for the maxitems parameter in the request that produced -// the current response. +// - The MaxItems element in the response contains the value, if any, that +// you specified for the maxitems parameter in the request that produced +// the current response. // -// * If the value of IsTruncated in the response is true, there are more -// hosted zones associated with the current Amazon Web Services account. -// If IsTruncated is false, this response includes the last hosted zone that -// is associated with the current account. The NextDNSName element and NextHostedZoneId -// elements are omitted from the response. +// - If the value of IsTruncated in the response is true, there are more +// hosted zones associated with the current Amazon Web Services account. +// If IsTruncated is false, this response includes the last hosted zone that +// is associated with the current account. The NextDNSName element and NextHostedZoneId +// elements are omitted from the response. // -// * The NextDNSName and NextHostedZoneId elements in the response contain -// the domain name and the hosted zone ID of the next hosted zone that is -// associated with the current Amazon Web Services account. If you want to -// list more hosted zones, make another call to ListHostedZonesByName, and -// specify the value of NextDNSName and NextHostedZoneId in the dnsname and -// hostedzoneid parameters, respectively. +// - The NextDNSName and NextHostedZoneId elements in the response contain +// the domain name and the hosted zone ID of the next hosted zone that is +// associated with the current Amazon Web Services account. If you want to +// list more hosted zones, make another call to ListHostedZonesByName, and +// specify the value of NextDNSName and NextHostedZoneId in the dnsname and +// hostedzoneid parameters, respectively. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5091,11 +5082,12 @@ func (c *Route53) ListHostedZonesByNameRequest(input *ListHostedZonesByNameInput // API operation ListHostedZonesByName for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeInvalidDomainName "InvalidDomainName" -// The specified domain name is not valid. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodeInvalidDomainName "InvalidDomainName" +// The specified domain name is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesByName func (c *Route53) ListHostedZonesByName(input *ListHostedZonesByNameInput) (*ListHostedZonesByNameOutput, error) { @@ -5135,14 +5127,13 @@ const opListHostedZonesByVPC = "ListHostedZonesByVPC" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHostedZonesByVPCRequest method. +// req, resp := client.ListHostedZonesByVPCRequest(params) // -// // Example sending a request using the ListHostedZonesByVPCRequest method. -// req, resp := client.ListHostedZonesByVPCRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesByVPC func (c *Route53) ListHostedZonesByVPCRequest(input *ListHostedZonesByVPCInput) (req *request.Request, output *ListHostedZonesByVPCOutput) { @@ -5168,15 +5159,15 @@ func (c *Route53) ListHostedZonesByVPCRequest(input *ListHostedZonesByVPCInput) // owns the hosted zones. The HostedZoneOwner structure in the response contains // one of the following values: // -// * An OwningAccount element, which contains the account number of either -// the current Amazon Web Services account or another Amazon Web Services -// account. Some services, such as Cloud Map, create hosted zones using the -// current account. +// - An OwningAccount element, which contains the account number of either +// the current Amazon Web Services account or another Amazon Web Services +// account. Some services, such as Cloud Map, create hosted zones using the +// current account. // -// * An OwningService element, which identifies the Amazon Web Services service -// that created and owns the hosted zone. For example, if a hosted zone was -// created by Amazon Elastic File System (Amazon EFS), the value of Owner -// is efs.amazonaws.com. +// - An OwningService element, which identifies the Amazon Web Services service +// that created and owns the hosted zone. For example, if a hosted zone was +// created by Amazon Elastic File System (Amazon EFS), the value of Owner +// is efs.amazonaws.com. // // When listing private hosted zones, the hosted zone and the Amazon VPC must // belong to the same partition where the hosted zones were created. A partition @@ -5185,11 +5176,11 @@ func (c *Route53) ListHostedZonesByVPCRequest(input *ListHostedZonesByVPCInput) // // The following are the supported partitions: // -// * aws - Amazon Web Services Regions +// - aws - Amazon Web Services Regions // -// * aws-cn - China Regions +// - aws-cn - China Regions // -// * aws-us-gov - Amazon Web Services GovCloud (US) Region +// - aws-us-gov - Amazon Web Services GovCloud (US) Region // // For more information, see Access Management (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the Amazon Web Services General Reference. @@ -5202,12 +5193,13 @@ func (c *Route53) ListHostedZonesByVPCRequest(input *ListHostedZonesByVPCInput) // API operation ListHostedZonesByVPC for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeInvalidPaginationToken "InvalidPaginationToken" -// The value that you specified to get the second or subsequent page of results -// is invalid. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodeInvalidPaginationToken "InvalidPaginationToken" +// The value that you specified to get the second or subsequent page of results +// is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListHostedZonesByVPC func (c *Route53) ListHostedZonesByVPC(input *ListHostedZonesByVPCInput) (*ListHostedZonesByVPCOutput, error) { @@ -5247,14 +5239,13 @@ const opListQueryLoggingConfigs = "ListQueryLoggingConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListQueryLoggingConfigsRequest method. +// req, resp := client.ListQueryLoggingConfigsRequest(params) // -// // Example sending a request using the ListQueryLoggingConfigsRequest method. -// req, resp := client.ListQueryLoggingConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListQueryLoggingConfigs func (c *Route53) ListQueryLoggingConfigsRequest(input *ListQueryLoggingConfigsInput) (req *request.Request, output *ListQueryLoggingConfigsOutput) { @@ -5298,15 +5289,16 @@ func (c *Route53) ListQueryLoggingConfigsRequest(input *ListQueryLoggingConfigsI // API operation ListQueryLoggingConfigs for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeInvalidPaginationToken "InvalidPaginationToken" -// The value that you specified to get the second or subsequent page of results -// is invalid. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodeInvalidPaginationToken "InvalidPaginationToken" +// The value that you specified to get the second or subsequent page of results +// is invalid. // -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListQueryLoggingConfigs func (c *Route53) ListQueryLoggingConfigs(input *ListQueryLoggingConfigsInput) (*ListQueryLoggingConfigsOutput, error) { @@ -5338,15 +5330,14 @@ func (c *Route53) ListQueryLoggingConfigsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListQueryLoggingConfigs operation. -// pageNum := 0 -// err := client.ListQueryLoggingConfigsPages(params, -// func(page *route53.ListQueryLoggingConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListQueryLoggingConfigs operation. +// pageNum := 0 +// err := client.ListQueryLoggingConfigsPages(params, +// func(page *route53.ListQueryLoggingConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53) ListQueryLoggingConfigsPages(input *ListQueryLoggingConfigsInput, fn func(*ListQueryLoggingConfigsOutput, bool) bool) error { return c.ListQueryLoggingConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5398,14 +5389,13 @@ const opListResourceRecordSets = "ListResourceRecordSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourceRecordSetsRequest method. +// req, resp := client.ListResourceRecordSetsRequest(params) // -// // Example sending a request using the ListResourceRecordSetsRequest method. -// req, resp := client.ListResourceRecordSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSets func (c *Route53) ListResourceRecordSetsRequest(input *ListResourceRecordSetsInput) (req *request.Request, output *ListResourceRecordSetsOutput) { @@ -5437,7 +5427,7 @@ func (c *Route53) ListResourceRecordSetsRequest(input *ListResourceRecordSetsInp // ListResourceRecordSets returns up to 300 resource record sets at a time in // ASCII order, beginning at a position specified by the name and type elements. // -// Sort order +// # Sort order // // ListResourceRecordSets sorts results first by DNS name with the labels reversed, // for example: @@ -5451,38 +5441,38 @@ func (c *Route53) ListResourceRecordSetsRequest(input *ListResourceRecordSetsInp // When multiple records have the same DNS name, ListResourceRecordSets sorts // results by the record type. // -// Specifying where to start listing records +// # Specifying where to start listing records // // You can use the name and type elements to specify the resource record set // that the list begins with: // -// If you do not specify Name or Type +// # If you do not specify Name or Type // // The results begin with the first resource record set that the hosted zone // contains. // -// If you specify Name but not Type +// # If you specify Name but not Type // // The results begin with the first resource record set in the list whose name // is greater than or equal to Name. // -// If you specify Type but not Name +// # If you specify Type but not Name // // Amazon Route 53 returns the InvalidInput error. // -// If you specify both Name and Type +// # If you specify both Name and Type // // The results begin with the first resource record set in the list whose name // is greater than or equal to Name, and whose type is greater than or equal // to Type. // -// Resource record sets that are PENDING +// # Resource record sets that are PENDING // // This action returns the most current version of the records. This includes // records that are PENDING, and that are not yet available on all Route 53 // DNS servers. // -// Changing resource record sets +// # Changing resource record sets // // To ensure that you get an accurate listing of the resource record sets for // a hosted zone at a point in time, do not submit a ChangeResourceRecordSets @@ -5490,7 +5480,7 @@ func (c *Route53) ListResourceRecordSetsRequest(input *ListResourceRecordSetsInp // request. If you do, some pages may display results without the latest changes // while other pages display results with the latest changes. // -// Displaying the next page of results +// # Displaying the next page of results // // If a ListResourceRecordSets command returns more than one page of results, // the value of IsTruncated is true. To display the next page of results, get @@ -5506,11 +5496,12 @@ func (c *Route53) ListResourceRecordSetsRequest(input *ListResourceRecordSetsInp // API operation ListResourceRecordSets for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSets func (c *Route53) ListResourceRecordSets(input *ListResourceRecordSetsInput) (*ListResourceRecordSetsOutput, error) { @@ -5542,15 +5533,14 @@ func (c *Route53) ListResourceRecordSetsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResourceRecordSets operation. -// pageNum := 0 -// err := client.ListResourceRecordSetsPages(params, -// func(page *route53.ListResourceRecordSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResourceRecordSets operation. +// pageNum := 0 +// err := client.ListResourceRecordSetsPages(params, +// func(page *route53.ListResourceRecordSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53) ListResourceRecordSetsPages(input *ListResourceRecordSetsInput, fn func(*ListResourceRecordSetsOutput, bool) bool) error { return c.ListResourceRecordSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5602,14 +5592,13 @@ const opListReusableDelegationSets = "ListReusableDelegationSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReusableDelegationSetsRequest method. +// req, resp := client.ListReusableDelegationSetsRequest(params) // -// // Example sending a request using the ListReusableDelegationSetsRequest method. -// req, resp := client.ListReusableDelegationSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListReusableDelegationSets func (c *Route53) ListReusableDelegationSetsRequest(input *ListReusableDelegationSetsInput) (req *request.Request, output *ListReusableDelegationSetsOutput) { @@ -5641,8 +5630,8 @@ func (c *Route53) ListReusableDelegationSetsRequest(input *ListReusableDelegatio // API operation ListReusableDelegationSets for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListReusableDelegationSets func (c *Route53) ListReusableDelegationSets(input *ListReusableDelegationSetsInput) (*ListReusableDelegationSetsOutput, error) { @@ -5682,14 +5671,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResource func (c *Route53) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -5724,24 +5712,25 @@ func (c *Route53) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r // API operation ListTagsForResource for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" -// No health check exists with the specified ID. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. +// - ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" +// No health check exists with the specified ID. // -// * ErrCodePriorRequestNotComplete "PriorRequestNotComplete" -// If Amazon Route 53 can't process a request before the next request arrives, -// it will reject subsequent requests for the same hosted zone and return an -// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for -// the same request, we recommend that you wait, in intervals of increasing -// duration, before you try the request again. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // -// * ErrCodeThrottlingException "ThrottlingException" -// The limit on the number of requests per second was exceeded. +// - ErrCodePriorRequestNotComplete "PriorRequestNotComplete" +// If Amazon Route 53 can't process a request before the next request arrives, +// it will reject subsequent requests for the same hosted zone and return an +// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for +// the same request, we recommend that you wait, in intervals of increasing +// duration, before you try the request again. +// +// - ErrCodeThrottlingException "ThrottlingException" +// The limit on the number of requests per second was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResource func (c *Route53) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -5781,14 +5770,13 @@ const opListTagsForResources = "ListTagsForResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourcesRequest method. +// req, resp := client.ListTagsForResourcesRequest(params) // -// // Example sending a request using the ListTagsForResourcesRequest method. -// req, resp := client.ListTagsForResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResources func (c *Route53) ListTagsForResourcesRequest(input *ListTagsForResourcesInput) (req *request.Request, output *ListTagsForResourcesOutput) { @@ -5823,24 +5811,25 @@ func (c *Route53) ListTagsForResourcesRequest(input *ListTagsForResourcesInput) // API operation ListTagsForResources for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" -// No health check exists with the specified ID. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. +// - ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" +// No health check exists with the specified ID. // -// * ErrCodePriorRequestNotComplete "PriorRequestNotComplete" -// If Amazon Route 53 can't process a request before the next request arrives, -// it will reject subsequent requests for the same hosted zone and return an -// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for -// the same request, we recommend that you wait, in intervals of increasing -// duration, before you try the request again. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // -// * ErrCodeThrottlingException "ThrottlingException" -// The limit on the number of requests per second was exceeded. +// - ErrCodePriorRequestNotComplete "PriorRequestNotComplete" +// If Amazon Route 53 can't process a request before the next request arrives, +// it will reject subsequent requests for the same hosted zone and return an +// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for +// the same request, we recommend that you wait, in intervals of increasing +// duration, before you try the request again. +// +// - ErrCodeThrottlingException "ThrottlingException" +// The limit on the number of requests per second was exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTagsForResources func (c *Route53) ListTagsForResources(input *ListTagsForResourcesInput) (*ListTagsForResourcesOutput, error) { @@ -5880,14 +5869,13 @@ const opListTrafficPolicies = "ListTrafficPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTrafficPoliciesRequest method. +// req, resp := client.ListTrafficPoliciesRequest(params) // -// // Example sending a request using the ListTrafficPoliciesRequest method. -// req, resp := client.ListTrafficPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicies func (c *Route53) ListTrafficPoliciesRequest(input *ListTrafficPoliciesInput) (req *request.Request, output *ListTrafficPoliciesOutput) { @@ -5923,8 +5911,8 @@ func (c *Route53) ListTrafficPoliciesRequest(input *ListTrafficPoliciesInput) (r // API operation ListTrafficPolicies for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicies func (c *Route53) ListTrafficPolicies(input *ListTrafficPoliciesInput) (*ListTrafficPoliciesOutput, error) { @@ -5964,14 +5952,13 @@ const opListTrafficPolicyInstances = "ListTrafficPolicyInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTrafficPolicyInstancesRequest method. +// req, resp := client.ListTrafficPolicyInstancesRequest(params) // -// // Example sending a request using the ListTrafficPolicyInstancesRequest method. -// req, resp := client.ListTrafficPolicyInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstances func (c *Route53) ListTrafficPolicyInstancesRequest(input *ListTrafficPolicyInstancesInput) (req *request.Request, output *ListTrafficPolicyInstancesOutput) { @@ -6012,11 +5999,12 @@ func (c *Route53) ListTrafficPolicyInstancesRequest(input *ListTrafficPolicyInst // API operation ListTrafficPolicyInstances for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance" -// No traffic policy instance exists with the specified ID. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance" +// No traffic policy instance exists with the specified ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstances func (c *Route53) ListTrafficPolicyInstances(input *ListTrafficPolicyInstancesInput) (*ListTrafficPolicyInstancesOutput, error) { @@ -6056,14 +6044,13 @@ const opListTrafficPolicyInstancesByHostedZone = "ListTrafficPolicyInstancesByHo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTrafficPolicyInstancesByHostedZoneRequest method. +// req, resp := client.ListTrafficPolicyInstancesByHostedZoneRequest(params) // -// // Example sending a request using the ListTrafficPolicyInstancesByHostedZoneRequest method. -// req, resp := client.ListTrafficPolicyInstancesByHostedZoneRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByHostedZone func (c *Route53) ListTrafficPolicyInstancesByHostedZoneRequest(input *ListTrafficPolicyInstancesByHostedZoneInput) (req *request.Request, output *ListTrafficPolicyInstancesByHostedZoneOutput) { @@ -6104,14 +6091,15 @@ func (c *Route53) ListTrafficPolicyInstancesByHostedZoneRequest(input *ListTraff // API operation ListTrafficPolicyInstancesByHostedZone for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance" -// No traffic policy instance exists with the specified ID. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance" +// No traffic policy instance exists with the specified ID. // -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByHostedZone func (c *Route53) ListTrafficPolicyInstancesByHostedZone(input *ListTrafficPolicyInstancesByHostedZoneInput) (*ListTrafficPolicyInstancesByHostedZoneOutput, error) { @@ -6151,14 +6139,13 @@ const opListTrafficPolicyInstancesByPolicy = "ListTrafficPolicyInstancesByPolicy // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTrafficPolicyInstancesByPolicyRequest method. +// req, resp := client.ListTrafficPolicyInstancesByPolicyRequest(params) // -// // Example sending a request using the ListTrafficPolicyInstancesByPolicyRequest method. -// req, resp := client.ListTrafficPolicyInstancesByPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByPolicy func (c *Route53) ListTrafficPolicyInstancesByPolicyRequest(input *ListTrafficPolicyInstancesByPolicyInput) (req *request.Request, output *ListTrafficPolicyInstancesByPolicyOutput) { @@ -6199,14 +6186,15 @@ func (c *Route53) ListTrafficPolicyInstancesByPolicyRequest(input *ListTrafficPo // API operation ListTrafficPolicyInstancesByPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance" -// No traffic policy instance exists with the specified ID. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance" +// No traffic policy instance exists with the specified ID. // -// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" -// No traffic policy exists with the specified ID. +// - ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" +// No traffic policy exists with the specified ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyInstancesByPolicy func (c *Route53) ListTrafficPolicyInstancesByPolicy(input *ListTrafficPolicyInstancesByPolicyInput) (*ListTrafficPolicyInstancesByPolicyOutput, error) { @@ -6246,14 +6234,13 @@ const opListTrafficPolicyVersions = "ListTrafficPolicyVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTrafficPolicyVersionsRequest method. +// req, resp := client.ListTrafficPolicyVersionsRequest(params) // -// // Example sending a request using the ListTrafficPolicyVersionsRequest method. -// req, resp := client.ListTrafficPolicyVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyVersions func (c *Route53) ListTrafficPolicyVersionsRequest(input *ListTrafficPolicyVersionsInput) (req *request.Request, output *ListTrafficPolicyVersionsOutput) { @@ -6286,11 +6273,12 @@ func (c *Route53) ListTrafficPolicyVersionsRequest(input *ListTrafficPolicyVersi // API operation ListTrafficPolicyVersions for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" -// No traffic policy exists with the specified ID. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" +// No traffic policy exists with the specified ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListTrafficPolicyVersions func (c *Route53) ListTrafficPolicyVersions(input *ListTrafficPolicyVersionsInput) (*ListTrafficPolicyVersionsOutput, error) { @@ -6330,14 +6318,13 @@ const opListVPCAssociationAuthorizations = "ListVPCAssociationAuthorizations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVPCAssociationAuthorizationsRequest method. +// req, resp := client.ListVPCAssociationAuthorizationsRequest(params) // -// // Example sending a request using the ListVPCAssociationAuthorizationsRequest method. -// req, resp := client.ListVPCAssociationAuthorizationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListVPCAssociationAuthorizations func (c *Route53) ListVPCAssociationAuthorizationsRequest(input *ListVPCAssociationAuthorizationsInput) (req *request.Request, output *ListVPCAssociationAuthorizationsOutput) { @@ -6373,15 +6360,16 @@ func (c *Route53) ListVPCAssociationAuthorizationsRequest(input *ListVPCAssociat // API operation ListVPCAssociationAuthorizations for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // -// * ErrCodeInvalidPaginationToken "InvalidPaginationToken" -// The value that you specified to get the second or subsequent page of results -// is invalid. +// - ErrCodeInvalidPaginationToken "InvalidPaginationToken" +// The value that you specified to get the second or subsequent page of results +// is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListVPCAssociationAuthorizations func (c *Route53) ListVPCAssociationAuthorizations(input *ListVPCAssociationAuthorizationsInput) (*ListVPCAssociationAuthorizationsOutput, error) { @@ -6421,14 +6409,13 @@ const opTestDNSAnswer = "TestDNSAnswer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestDNSAnswerRequest method. +// req, resp := client.TestDNSAnswerRequest(params) // -// // Example sending a request using the TestDNSAnswerRequest method. -// req, resp := client.TestDNSAnswerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TestDNSAnswer func (c *Route53) TestDNSAnswerRequest(input *TestDNSAnswerInput) (req *request.Request, output *TestDNSAnswerOutput) { @@ -6463,11 +6450,12 @@ func (c *Route53) TestDNSAnswerRequest(input *TestDNSAnswerInput) (req *request. // API operation TestDNSAnswer for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/TestDNSAnswer func (c *Route53) TestDNSAnswer(input *TestDNSAnswerInput) (*TestDNSAnswerOutput, error) { @@ -6507,14 +6495,13 @@ const opUpdateHealthCheck = "UpdateHealthCheck" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateHealthCheckRequest method. +// req, resp := client.UpdateHealthCheckRequest(params) // -// // Example sending a request using the UpdateHealthCheckRequest method. -// req, resp := client.UpdateHealthCheckRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHealthCheck func (c *Route53) UpdateHealthCheckRequest(input *UpdateHealthCheckInput) (req *request.Request, output *UpdateHealthCheckOutput) { @@ -6549,15 +6536,16 @@ func (c *Route53) UpdateHealthCheckRequest(input *UpdateHealthCheckInput) (req * // API operation UpdateHealthCheck for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" -// No health check exists with the specified ID. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchHealthCheck "NoSuchHealthCheck" +// No health check exists with the specified ID. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // -// * ErrCodeHealthCheckVersionMismatch "HealthCheckVersionMismatch" -// The value of HealthCheckVersion in the request doesn't match the value of -// HealthCheckVersion in the health check. +// - ErrCodeHealthCheckVersionMismatch "HealthCheckVersionMismatch" +// The value of HealthCheckVersion in the request doesn't match the value of +// HealthCheckVersion in the health check. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHealthCheck func (c *Route53) UpdateHealthCheck(input *UpdateHealthCheckInput) (*UpdateHealthCheckOutput, error) { @@ -6597,14 +6585,13 @@ const opUpdateHostedZoneComment = "UpdateHostedZoneComment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateHostedZoneCommentRequest method. +// req, resp := client.UpdateHostedZoneCommentRequest(params) // -// // Example sending a request using the UpdateHostedZoneCommentRequest method. -// req, resp := client.UpdateHostedZoneCommentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHostedZoneComment func (c *Route53) UpdateHostedZoneCommentRequest(input *UpdateHostedZoneCommentInput) (req *request.Request, output *UpdateHostedZoneCommentOutput) { @@ -6635,18 +6622,19 @@ func (c *Route53) UpdateHostedZoneCommentRequest(input *UpdateHostedZoneCommentI // API operation UpdateHostedZoneComment for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchHostedZone "NoSuchHostedZone" -// No hosted zone exists with the ID that you specified. // -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. +// - ErrCodeNoSuchHostedZone "NoSuchHostedZone" +// No hosted zone exists with the ID that you specified. +// +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. // -// * ErrCodePriorRequestNotComplete "PriorRequestNotComplete" -// If Amazon Route 53 can't process a request before the next request arrives, -// it will reject subsequent requests for the same hosted zone and return an -// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for -// the same request, we recommend that you wait, in intervals of increasing -// duration, before you try the request again. +// - ErrCodePriorRequestNotComplete "PriorRequestNotComplete" +// If Amazon Route 53 can't process a request before the next request arrives, +// it will reject subsequent requests for the same hosted zone and return an +// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for +// the same request, we recommend that you wait, in intervals of increasing +// duration, before you try the request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateHostedZoneComment func (c *Route53) UpdateHostedZoneComment(input *UpdateHostedZoneCommentInput) (*UpdateHostedZoneCommentOutput, error) { @@ -6686,14 +6674,13 @@ const opUpdateTrafficPolicyComment = "UpdateTrafficPolicyComment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTrafficPolicyCommentRequest method. +// req, resp := client.UpdateTrafficPolicyCommentRequest(params) // -// // Example sending a request using the UpdateTrafficPolicyCommentRequest method. -// req, resp := client.UpdateTrafficPolicyCommentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyComment func (c *Route53) UpdateTrafficPolicyCommentRequest(input *UpdateTrafficPolicyCommentInput) (req *request.Request, output *UpdateTrafficPolicyCommentOutput) { @@ -6724,15 +6711,16 @@ func (c *Route53) UpdateTrafficPolicyCommentRequest(input *UpdateTrafficPolicyCo // API operation UpdateTrafficPolicyComment for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" -// No traffic policy exists with the specified ID. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" +// No traffic policy exists with the specified ID. // -// * ErrCodeConcurrentModification "ConcurrentModification" -// Another user submitted a request to create, update, or delete the object -// at the same time that you did. Retry the request. +// - ErrCodeConcurrentModification "ConcurrentModification" +// Another user submitted a request to create, update, or delete the object +// at the same time that you did. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyComment func (c *Route53) UpdateTrafficPolicyComment(input *UpdateTrafficPolicyCommentInput) (*UpdateTrafficPolicyCommentOutput, error) { @@ -6772,14 +6760,13 @@ const opUpdateTrafficPolicyInstance = "UpdateTrafficPolicyInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTrafficPolicyInstanceRequest method. +// req, resp := client.UpdateTrafficPolicyInstanceRequest(params) // -// // Example sending a request using the UpdateTrafficPolicyInstanceRequest method. -// req, resp := client.UpdateTrafficPolicyInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyInstance func (c *Route53) UpdateTrafficPolicyInstanceRequest(input *UpdateTrafficPolicyInstanceInput) (req *request.Request, output *UpdateTrafficPolicyInstanceOutput) { @@ -6828,26 +6815,27 @@ func (c *Route53) UpdateTrafficPolicyInstanceRequest(input *UpdateTrafficPolicyI // API operation UpdateTrafficPolicyInstance for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidInput "InvalidInput" -// The input is not valid. // -// * ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" -// No traffic policy exists with the specified ID. +// - ErrCodeInvalidInput "InvalidInput" +// The input is not valid. +// +// - ErrCodeNoSuchTrafficPolicy "NoSuchTrafficPolicy" +// No traffic policy exists with the specified ID. // -// * ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance" -// No traffic policy instance exists with the specified ID. +// - ErrCodeNoSuchTrafficPolicyInstance "NoSuchTrafficPolicyInstance" +// No traffic policy instance exists with the specified ID. // -// * ErrCodePriorRequestNotComplete "PriorRequestNotComplete" -// If Amazon Route 53 can't process a request before the next request arrives, -// it will reject subsequent requests for the same hosted zone and return an -// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for -// the same request, we recommend that you wait, in intervals of increasing -// duration, before you try the request again. +// - ErrCodePriorRequestNotComplete "PriorRequestNotComplete" +// If Amazon Route 53 can't process a request before the next request arrives, +// it will reject subsequent requests for the same hosted zone and return an +// HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for +// the same request, we recommend that you wait, in intervals of increasing +// duration, before you try the request again. // -// * ErrCodeConflictingTypes "ConflictingTypes" -// You tried to update a traffic policy instance by using a traffic policy version -// that has a different DNS type than the current type for the instance. You -// specified the type in the JSON document in the CreateTrafficPolicy or CreateTrafficPolicyVersionrequest. +// - ErrCodeConflictingTypes "ConflictingTypes" +// You tried to update a traffic policy instance by using a traffic policy version +// that has a different DNS type than the current type for the instance. You +// specified the type in the JSON document in the CreateTrafficPolicy or CreateTrafficPolicyVersionrequest. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyInstance func (c *Route53) UpdateTrafficPolicyInstance(input *UpdateTrafficPolicyInstanceInput) (*UpdateTrafficPolicyInstanceOutput, error) { @@ -7127,11 +7115,11 @@ func (s *AlarmIdentifier) SetRegion(v string) *AlarmIdentifier { // // When creating resource record sets for a private hosted zone, note the following: // -// * Creating geolocation alias resource record sets or latency alias resource -// record sets in a private hosted zone is unsupported. +// - Creating geolocation alias resource record sets or latency alias resource +// record sets in a private hosted zone is unsupported. // -// * For information about creating failover resource record sets in a private -// hosted zone, see Configuring Failover in a Private Hosted Zone (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-private-hosted-zones.html). +// - For information about creating failover resource record sets in a private +// hosted zone, see Configuring Failover in a Private Hosted Zone (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-private-hosted-zones.html). type AliasTarget struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/doc.go index 386f616dbc3a..e8efe56f1c9e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/doc.go @@ -11,7 +11,7 @@ // See route53 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/route53/ // -// Using the Client +// # Using the Client // // To contact Amazon Route 53 with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/route53iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/route53iface/interface.go index c5775c229822..04daa1dffc3b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/route53iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/route53iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Route 53. -// func myFunc(svc route53iface.Route53API) bool { -// // Make svc.ActivateKeySigningKey request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Route 53. +// func myFunc(svc route53iface.Route53API) bool { +// // Make svc.ActivateKeySigningKey request +// } // -// func main() { -// sess := session.New() -// svc := route53.New(sess) +// func main() { +// sess := session.New() +// svc := route53.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRoute53Client struct { -// route53iface.Route53API -// } -// func (m *mockRoute53Client) ActivateKeySigningKey(input *route53.ActivateKeySigningKeyInput) (*route53.ActivateKeySigningKeyOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRoute53Client struct { +// route53iface.Route53API +// } +// func (m *mockRoute53Client) ActivateKeySigningKey(input *route53.ActivateKeySigningKeyInput) (*route53.ActivateKeySigningKeyOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRoute53Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRoute53Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/service.go index 6e920b79c2fb..a96a685e038f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Route53 client from just a session. -// svc := route53.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Route53 client with additional configuration -// svc := route53.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Route53 client from just a session. +// svc := route53.New(mySession) +// +// // Create a Route53 client with additional configuration +// svc := route53.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Route53 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/api.go index fce51d1a1109..4d5a91ad4117 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/api.go @@ -29,14 +29,13 @@ const opAcceptDomainTransferFromAnotherAwsAccount = "AcceptDomainTransferFromAno // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptDomainTransferFromAnotherAwsAccountRequest method. +// req, resp := client.AcceptDomainTransferFromAnotherAwsAccountRequest(params) // -// // Example sending a request using the AcceptDomainTransferFromAnotherAwsAccountRequest method. -// req, resp := client.AcceptDomainTransferFromAnotherAwsAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/AcceptDomainTransferFromAnotherAwsAccount func (c *Route53Domains) AcceptDomainTransferFromAnotherAwsAccountRequest(input *AcceptDomainTransferFromAnotherAwsAccountInput) (req *request.Request, output *AcceptDomainTransferFromAnotherAwsAccountOutput) { @@ -80,21 +79,22 @@ func (c *Route53Domains) AcceptDomainTransferFromAnotherAwsAccountRequest(input // API operation AcceptDomainTransferFromAnotherAwsAccount for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. // -// * DomainLimitExceeded -// The number of domains has exceeded the allowed threshold for the account. +// - DomainLimitExceeded +// The number of domains has exceeded the allowed threshold for the account. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/AcceptDomainTransferFromAnotherAwsAccount func (c *Route53Domains) AcceptDomainTransferFromAnotherAwsAccount(input *AcceptDomainTransferFromAnotherAwsAccountInput) (*AcceptDomainTransferFromAnotherAwsAccountOutput, error) { @@ -134,14 +134,13 @@ const opCancelDomainTransferToAnotherAwsAccount = "CancelDomainTransferToAnother // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelDomainTransferToAnotherAwsAccountRequest method. +// req, resp := client.CancelDomainTransferToAnotherAwsAccountRequest(params) // -// // Example sending a request using the CancelDomainTransferToAnotherAwsAccountRequest method. -// req, resp := client.CancelDomainTransferToAnotherAwsAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CancelDomainTransferToAnotherAwsAccount func (c *Route53Domains) CancelDomainTransferToAnotherAwsAccountRequest(input *CancelDomainTransferToAnotherAwsAccountInput) (req *request.Request, output *CancelDomainTransferToAnotherAwsAccountOutput) { @@ -183,18 +182,19 @@ func (c *Route53Domains) CancelDomainTransferToAnotherAwsAccountRequest(input *C // API operation CancelDomainTransferToAnotherAwsAccount for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CancelDomainTransferToAnotherAwsAccount func (c *Route53Domains) CancelDomainTransferToAnotherAwsAccount(input *CancelDomainTransferToAnotherAwsAccountInput) (*CancelDomainTransferToAnotherAwsAccountOutput, error) { @@ -234,14 +234,13 @@ const opCheckDomainAvailability = "CheckDomainAvailability" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CheckDomainAvailabilityRequest method. +// req, resp := client.CheckDomainAvailabilityRequest(params) // -// // Example sending a request using the CheckDomainAvailabilityRequest method. -// req, resp := client.CheckDomainAvailabilityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainAvailability func (c *Route53Domains) CheckDomainAvailabilityRequest(input *CheckDomainAvailabilityInput) (req *request.Request, output *CheckDomainAvailabilityOutput) { @@ -274,14 +273,15 @@ func (c *Route53Domains) CheckDomainAvailabilityRequest(input *CheckDomainAvaila // API operation CheckDomainAvailability for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainAvailability func (c *Route53Domains) CheckDomainAvailability(input *CheckDomainAvailabilityInput) (*CheckDomainAvailabilityOutput, error) { @@ -321,14 +321,13 @@ const opCheckDomainTransferability = "CheckDomainTransferability" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CheckDomainTransferabilityRequest method. +// req, resp := client.CheckDomainTransferabilityRequest(params) // -// // Example sending a request using the CheckDomainTransferabilityRequest method. -// req, resp := client.CheckDomainTransferabilityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainTransferability func (c *Route53Domains) CheckDomainTransferabilityRequest(input *CheckDomainTransferabilityInput) (req *request.Request, output *CheckDomainTransferabilityOutput) { @@ -359,14 +358,15 @@ func (c *Route53Domains) CheckDomainTransferabilityRequest(input *CheckDomainTra // API operation CheckDomainTransferability for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/CheckDomainTransferability func (c *Route53Domains) CheckDomainTransferability(input *CheckDomainTransferabilityInput) (*CheckDomainTransferabilityOutput, error) { @@ -406,14 +406,13 @@ const opDeleteDomain = "DeleteDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainRequest method. +// req, resp := client.DeleteDomainRequest(params) // -// // Example sending a request using the DeleteDomainRequest method. -// req, resp := client.DeleteDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DeleteDomain func (c *Route53Domains) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) { @@ -458,20 +457,21 @@ func (c *Route53Domains) DeleteDomainRequest(input *DeleteDomainInput) (req *req // API operation DeleteDomain for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * DuplicateRequest -// The request is already in progress for the domain. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - DuplicateRequest +// The request is already in progress for the domain. // -// * TLDRulesViolation -// The top-level domain does not support this operation. +// - TLDRulesViolation +// The top-level domain does not support this operation. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DeleteDomain func (c *Route53Domains) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) { @@ -511,14 +511,13 @@ const opDeleteTagsForDomain = "DeleteTagsForDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTagsForDomainRequest method. +// req, resp := client.DeleteTagsForDomainRequest(params) // -// // Example sending a request using the DeleteTagsForDomainRequest method. -// req, resp := client.DeleteTagsForDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DeleteTagsForDomain func (c *Route53Domains) DeleteTagsForDomainRequest(input *DeleteTagsForDomainInput) (req *request.Request, output *DeleteTagsForDomainOutput) { @@ -553,18 +552,19 @@ func (c *Route53Domains) DeleteTagsForDomainRequest(input *DeleteTagsForDomainIn // API operation DeleteTagsForDomain for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DeleteTagsForDomain func (c *Route53Domains) DeleteTagsForDomain(input *DeleteTagsForDomainInput) (*DeleteTagsForDomainOutput, error) { @@ -604,14 +604,13 @@ const opDisableDomainAutoRenew = "DisableDomainAutoRenew" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableDomainAutoRenewRequest method. +// req, resp := client.DisableDomainAutoRenewRequest(params) // -// // Example sending a request using the DisableDomainAutoRenewRequest method. -// req, resp := client.DisableDomainAutoRenewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainAutoRenew func (c *Route53Domains) DisableDomainAutoRenewRequest(input *DisableDomainAutoRenewInput) (req *request.Request, output *DisableDomainAutoRenewOutput) { @@ -644,14 +643,15 @@ func (c *Route53Domains) DisableDomainAutoRenewRequest(input *DisableDomainAutoR // API operation DisableDomainAutoRenew for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainAutoRenew func (c *Route53Domains) DisableDomainAutoRenew(input *DisableDomainAutoRenewInput) (*DisableDomainAutoRenewOutput, error) { @@ -691,14 +691,13 @@ const opDisableDomainTransferLock = "DisableDomainTransferLock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableDomainTransferLockRequest method. +// req, resp := client.DisableDomainTransferLockRequest(params) // -// // Example sending a request using the DisableDomainTransferLockRequest method. -// req, resp := client.DisableDomainTransferLockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainTransferLock func (c *Route53Domains) DisableDomainTransferLockRequest(input *DisableDomainTransferLockInput) (req *request.Request, output *DisableDomainTransferLockOutput) { @@ -735,24 +734,25 @@ func (c *Route53Domains) DisableDomainTransferLockRequest(input *DisableDomainTr // API operation DisableDomainTransferLock for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * DuplicateRequest -// The request is already in progress for the domain. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // -// * TLDRulesViolation -// The top-level domain does not support this operation. +// - DuplicateRequest +// The request is already in progress for the domain. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - TLDRulesViolation +// The top-level domain does not support this operation. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/DisableDomainTransferLock func (c *Route53Domains) DisableDomainTransferLock(input *DisableDomainTransferLockInput) (*DisableDomainTransferLockOutput, error) { @@ -792,14 +792,13 @@ const opEnableDomainAutoRenew = "EnableDomainAutoRenew" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableDomainAutoRenewRequest method. +// req, resp := client.EnableDomainAutoRenewRequest(params) // -// // Example sending a request using the EnableDomainAutoRenewRequest method. -// req, resp := client.EnableDomainAutoRenewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainAutoRenew func (c *Route53Domains) EnableDomainAutoRenewRequest(input *EnableDomainAutoRenewInput) (req *request.Request, output *EnableDomainAutoRenewOutput) { @@ -840,17 +839,18 @@ func (c *Route53Domains) EnableDomainAutoRenewRequest(input *EnableDomainAutoRen // API operation EnableDomainAutoRenew for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // -// * TLDRulesViolation -// The top-level domain does not support this operation. +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). +// +// - TLDRulesViolation +// The top-level domain does not support this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainAutoRenew func (c *Route53Domains) EnableDomainAutoRenew(input *EnableDomainAutoRenewInput) (*EnableDomainAutoRenewOutput, error) { @@ -890,14 +890,13 @@ const opEnableDomainTransferLock = "EnableDomainTransferLock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableDomainTransferLockRequest method. +// req, resp := client.EnableDomainTransferLockRequest(params) // -// // Example sending a request using the EnableDomainTransferLockRequest method. -// req, resp := client.EnableDomainTransferLockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainTransferLock func (c *Route53Domains) EnableDomainTransferLockRequest(input *EnableDomainTransferLockInput) (req *request.Request, output *EnableDomainTransferLockOutput) { @@ -932,24 +931,25 @@ func (c *Route53Domains) EnableDomainTransferLockRequest(input *EnableDomainTran // API operation EnableDomainTransferLock for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * DuplicateRequest -// The request is already in progress for the domain. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // -// * TLDRulesViolation -// The top-level domain does not support this operation. +// - DuplicateRequest +// The request is already in progress for the domain. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - TLDRulesViolation +// The top-level domain does not support this operation. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/EnableDomainTransferLock func (c *Route53Domains) EnableDomainTransferLock(input *EnableDomainTransferLockInput) (*EnableDomainTransferLockOutput, error) { @@ -989,14 +989,13 @@ const opGetContactReachabilityStatus = "GetContactReachabilityStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContactReachabilityStatusRequest method. +// req, resp := client.GetContactReachabilityStatusRequest(params) // -// // Example sending a request using the GetContactReachabilityStatusRequest method. -// req, resp := client.GetContactReachabilityStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetContactReachabilityStatus func (c *Route53Domains) GetContactReachabilityStatusRequest(input *GetContactReachabilityStatusInput) (req *request.Request, output *GetContactReachabilityStatusOutput) { @@ -1032,18 +1031,19 @@ func (c *Route53Domains) GetContactReachabilityStatusRequest(input *GetContactRe // API operation GetContactReachabilityStatus for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetContactReachabilityStatus func (c *Route53Domains) GetContactReachabilityStatus(input *GetContactReachabilityStatusInput) (*GetContactReachabilityStatusOutput, error) { @@ -1083,14 +1083,13 @@ const opGetDomainDetail = "GetDomainDetail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainDetailRequest method. +// req, resp := client.GetDomainDetailRequest(params) // -// // Example sending a request using the GetDomainDetailRequest method. -// req, resp := client.GetDomainDetailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainDetail func (c *Route53Domains) GetDomainDetailRequest(input *GetDomainDetailInput) (req *request.Request, output *GetDomainDetailOutput) { @@ -1123,14 +1122,15 @@ func (c *Route53Domains) GetDomainDetailRequest(input *GetDomainDetailInput) (re // API operation GetDomainDetail for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainDetail func (c *Route53Domains) GetDomainDetail(input *GetDomainDetailInput) (*GetDomainDetailOutput, error) { @@ -1170,14 +1170,13 @@ const opGetDomainSuggestions = "GetDomainSuggestions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainSuggestionsRequest method. +// req, resp := client.GetDomainSuggestionsRequest(params) // -// // Example sending a request using the GetDomainSuggestionsRequest method. -// req, resp := client.GetDomainSuggestionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainSuggestions func (c *Route53Domains) GetDomainSuggestionsRequest(input *GetDomainSuggestionsInput) (req *request.Request, output *GetDomainSuggestionsOutput) { @@ -1208,14 +1207,15 @@ func (c *Route53Domains) GetDomainSuggestionsRequest(input *GetDomainSuggestions // API operation GetDomainSuggestions for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetDomainSuggestions func (c *Route53Domains) GetDomainSuggestions(input *GetDomainSuggestionsInput) (*GetDomainSuggestionsOutput, error) { @@ -1255,14 +1255,13 @@ const opGetOperationDetail = "GetOperationDetail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOperationDetailRequest method. +// req, resp := client.GetOperationDetailRequest(params) // -// // Example sending a request using the GetOperationDetailRequest method. -// req, resp := client.GetOperationDetailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetOperationDetail func (c *Route53Domains) GetOperationDetailRequest(input *GetOperationDetailInput) (req *request.Request, output *GetOperationDetailOutput) { @@ -1293,11 +1292,11 @@ func (c *Route53Domains) GetOperationDetailRequest(input *GetOperationDetailInpu // API operation GetOperationDetail for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/GetOperationDetail func (c *Route53Domains) GetOperationDetail(input *GetOperationDetailInput) (*GetOperationDetailOutput, error) { @@ -1337,14 +1336,13 @@ const opListDomains = "ListDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainsRequest method. +// req, resp := client.ListDomainsRequest(params) // -// // Example sending a request using the ListDomainsRequest method. -// req, resp := client.ListDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListDomains func (c *Route53Domains) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) { @@ -1383,11 +1381,11 @@ func (c *Route53Domains) ListDomainsRequest(input *ListDomainsInput) (req *reque // API operation ListDomains for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListDomains func (c *Route53Domains) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) { @@ -1419,15 +1417,14 @@ func (c *Route53Domains) ListDomainsWithContext(ctx aws.Context, input *ListDoma // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDomains operation. -// pageNum := 0 -// err := client.ListDomainsPages(params, -// func(page *route53domains.ListDomainsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDomains operation. +// pageNum := 0 +// err := client.ListDomainsPages(params, +// func(page *route53domains.ListDomainsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Domains) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error { return c.ListDomainsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1479,14 +1476,13 @@ const opListOperations = "ListOperations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOperationsRequest method. +// req, resp := client.ListOperationsRequest(params) // -// // Example sending a request using the ListOperationsRequest method. -// req, resp := client.ListOperationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListOperations func (c *Route53Domains) ListOperationsRequest(input *ListOperationsInput) (req *request.Request, output *ListOperationsOutput) { @@ -1527,11 +1523,11 @@ func (c *Route53Domains) ListOperationsRequest(input *ListOperationsInput) (req // API operation ListOperations for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListOperations func (c *Route53Domains) ListOperations(input *ListOperationsInput) (*ListOperationsOutput, error) { @@ -1563,15 +1559,14 @@ func (c *Route53Domains) ListOperationsWithContext(ctx aws.Context, input *ListO // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOperations operation. -// pageNum := 0 -// err := client.ListOperationsPages(params, -// func(page *route53domains.ListOperationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOperations operation. +// pageNum := 0 +// err := client.ListOperationsPages(params, +// func(page *route53domains.ListOperationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Domains) ListOperationsPages(input *ListOperationsInput, fn func(*ListOperationsOutput, bool) bool) error { return c.ListOperationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1623,14 +1618,13 @@ const opListPrices = "ListPrices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPricesRequest method. +// req, resp := client.ListPricesRequest(params) // -// // Example sending a request using the ListPricesRequest method. -// req, resp := client.ListPricesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListPrices func (c *Route53Domains) ListPricesRequest(input *ListPricesInput) (req *request.Request, output *ListPricesOutput) { @@ -1660,15 +1654,15 @@ func (c *Route53Domains) ListPricesRequest(input *ListPricesInput) (req *request // Lists the following prices for either all the TLDs supported by Route 53, // or the specified TLD: // -// * Registration +// - Registration // -// * Transfer +// - Transfer // -// * Owner change +// - Owner change // -// * Domain renewal +// - Domain renewal // -// * Domain restoration +// - Domain restoration // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1678,14 +1672,15 @@ func (c *Route53Domains) ListPricesRequest(input *ListPricesInput) (req *request // API operation ListPrices for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListPrices func (c *Route53Domains) ListPrices(input *ListPricesInput) (*ListPricesOutput, error) { @@ -1717,15 +1712,14 @@ func (c *Route53Domains) ListPricesWithContext(ctx aws.Context, input *ListPrice // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPrices operation. -// pageNum := 0 -// err := client.ListPricesPages(params, -// func(page *route53domains.ListPricesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPrices operation. +// pageNum := 0 +// err := client.ListPricesPages(params, +// func(page *route53domains.ListPricesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Domains) ListPricesPages(input *ListPricesInput, fn func(*ListPricesOutput, bool) bool) error { return c.ListPricesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1777,14 +1771,13 @@ const opListTagsForDomain = "ListTagsForDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForDomainRequest method. +// req, resp := client.ListTagsForDomainRequest(params) // -// // Example sending a request using the ListTagsForDomainRequest method. -// req, resp := client.ListTagsForDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListTagsForDomain func (c *Route53Domains) ListTagsForDomainRequest(input *ListTagsForDomainInput) (req *request.Request, output *ListTagsForDomainOutput) { @@ -1819,18 +1812,19 @@ func (c *Route53Domains) ListTagsForDomainRequest(input *ListTagsForDomainInput) // API operation ListTagsForDomain for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ListTagsForDomain func (c *Route53Domains) ListTagsForDomain(input *ListTagsForDomainInput) (*ListTagsForDomainOutput, error) { @@ -1870,14 +1864,13 @@ const opRegisterDomain = "RegisterDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterDomainRequest method. +// req, resp := client.RegisterDomainRequest(params) // -// // Example sending a request using the RegisterDomainRequest method. -// req, resp := client.RegisterDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RegisterDomain func (c *Route53Domains) RegisterDomainRequest(input *RegisterDomainInput) (req *request.Request, output *RegisterDomainOutput) { @@ -1905,28 +1898,28 @@ func (c *Route53Domains) RegisterDomainRequest(input *RegisterDomainInput) (req // // When you register a domain, Amazon Route 53 does the following: // -// * Creates a Route 53 hosted zone that has the same name as the domain. -// Route 53 assigns four name servers to your hosted zone and automatically -// updates your domain registration with the names of these name servers. +// - Creates a Route 53 hosted zone that has the same name as the domain. +// Route 53 assigns four name servers to your hosted zone and automatically +// updates your domain registration with the names of these name servers. // -// * Enables autorenew, so your domain registration will renew automatically -// each year. We'll notify you in advance of the renewal date so you can -// choose whether to renew the registration. +// - Enables autorenew, so your domain registration will renew automatically +// each year. We'll notify you in advance of the renewal date so you can +// choose whether to renew the registration. // -// * Optionally enables privacy protection, so WHOIS queries return contact -// information either for Amazon Registrar (for .com, .net, and .org domains) -// or for our registrar associate, Gandi (for all other TLDs). If you don't -// enable privacy protection, WHOIS queries return the information that you -// entered for the administrative, registrant, and technical contacts. You -// must specify the same privacy setting for the administrative, registrant, -// and technical contacts. +// - Optionally enables privacy protection, so WHOIS queries return contact +// information either for Amazon Registrar (for .com, .net, and .org domains) +// or for our registrar associate, Gandi (for all other TLDs). If you don't +// enable privacy protection, WHOIS queries return the information that you +// entered for the administrative, registrant, and technical contacts. You +// must specify the same privacy setting for the administrative, registrant, +// and technical contacts. // -// * If registration is successful, returns an operation ID that you can -// use to track the progress and completion of the action. If the request -// is not completed successfully, the domain registrant is notified by email. +// - If registration is successful, returns an operation ID that you can +// use to track the progress and completion of the action. If the request +// is not completed successfully, the domain registrant is notified by email. // -// * Charges your Amazon Web Services account an amount based on the top-level -// domain. For more information, see Amazon Route 53 Pricing (http://aws.amazon.com/route53/pricing/). +// - Charges your Amazon Web Services account an amount based on the top-level +// domain. For more information, see Amazon Route 53 Pricing (http://aws.amazon.com/route53/pricing/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1936,27 +1929,28 @@ func (c *Route53Domains) RegisterDomainRequest(input *RegisterDomainInput) (req // API operation RegisterDomain for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // -// * DuplicateRequest -// The request is already in progress for the domain. +// - DuplicateRequest +// The request is already in progress for the domain. // -// * TLDRulesViolation -// The top-level domain does not support this operation. +// - TLDRulesViolation +// The top-level domain does not support this operation. // -// * DomainLimitExceeded -// The number of domains has exceeded the allowed threshold for the account. +// - DomainLimitExceeded +// The number of domains has exceeded the allowed threshold for the account. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RegisterDomain func (c *Route53Domains) RegisterDomain(input *RegisterDomainInput) (*RegisterDomainOutput, error) { @@ -1996,14 +1990,13 @@ const opRejectDomainTransferFromAnotherAwsAccount = "RejectDomainTransferFromAno // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectDomainTransferFromAnotherAwsAccountRequest method. +// req, resp := client.RejectDomainTransferFromAnotherAwsAccountRequest(params) // -// // Example sending a request using the RejectDomainTransferFromAnotherAwsAccountRequest method. -// req, resp := client.RejectDomainTransferFromAnotherAwsAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RejectDomainTransferFromAnotherAwsAccount func (c *Route53Domains) RejectDomainTransferFromAnotherAwsAccountRequest(input *RejectDomainTransferFromAnotherAwsAccountInput) (req *request.Request, output *RejectDomainTransferFromAnotherAwsAccountOutput) { @@ -2042,18 +2035,19 @@ func (c *Route53Domains) RejectDomainTransferFromAnotherAwsAccountRequest(input // API operation RejectDomainTransferFromAnotherAwsAccount for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RejectDomainTransferFromAnotherAwsAccount func (c *Route53Domains) RejectDomainTransferFromAnotherAwsAccount(input *RejectDomainTransferFromAnotherAwsAccountInput) (*RejectDomainTransferFromAnotherAwsAccountOutput, error) { @@ -2093,14 +2087,13 @@ const opRenewDomain = "RenewDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RenewDomainRequest method. +// req, resp := client.RenewDomainRequest(params) // -// // Example sending a request using the RenewDomainRequest method. -// req, resp := client.RenewDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RenewDomain func (c *Route53Domains) RenewDomainRequest(input *RenewDomainInput) (req *request.Request, output *RenewDomainOutput) { @@ -2138,24 +2131,25 @@ func (c *Route53Domains) RenewDomainRequest(input *RenewDomainInput) (req *reque // API operation RenewDomain for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // -// * DuplicateRequest -// The request is already in progress for the domain. +// - DuplicateRequest +// The request is already in progress for the domain. // -// * TLDRulesViolation -// The top-level domain does not support this operation. +// - TLDRulesViolation +// The top-level domain does not support this operation. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RenewDomain func (c *Route53Domains) RenewDomain(input *RenewDomainInput) (*RenewDomainOutput, error) { @@ -2195,14 +2189,13 @@ const opResendContactReachabilityEmail = "ResendContactReachabilityEmail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResendContactReachabilityEmailRequest method. +// req, resp := client.ResendContactReachabilityEmailRequest(params) // -// // Example sending a request using the ResendContactReachabilityEmailRequest method. -// req, resp := client.ResendContactReachabilityEmailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ResendContactReachabilityEmail func (c *Route53Domains) ResendContactReachabilityEmailRequest(input *ResendContactReachabilityEmailInput) (req *request.Request, output *ResendContactReachabilityEmailOutput) { @@ -2235,18 +2228,19 @@ func (c *Route53Domains) ResendContactReachabilityEmailRequest(input *ResendCont // API operation ResendContactReachabilityEmail for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ResendContactReachabilityEmail func (c *Route53Domains) ResendContactReachabilityEmail(input *ResendContactReachabilityEmailInput) (*ResendContactReachabilityEmailOutput, error) { @@ -2286,14 +2280,13 @@ const opRetrieveDomainAuthCode = "RetrieveDomainAuthCode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RetrieveDomainAuthCodeRequest method. +// req, resp := client.RetrieveDomainAuthCodeRequest(params) // -// // Example sending a request using the RetrieveDomainAuthCodeRequest method. -// req, resp := client.RetrieveDomainAuthCodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RetrieveDomainAuthCode func (c *Route53Domains) RetrieveDomainAuthCodeRequest(input *RetrieveDomainAuthCodeInput) (req *request.Request, output *RetrieveDomainAuthCodeOutput) { @@ -2325,14 +2318,15 @@ func (c *Route53Domains) RetrieveDomainAuthCodeRequest(input *RetrieveDomainAuth // API operation RetrieveDomainAuthCode for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/RetrieveDomainAuthCode func (c *Route53Domains) RetrieveDomainAuthCode(input *RetrieveDomainAuthCodeInput) (*RetrieveDomainAuthCodeOutput, error) { @@ -2372,14 +2366,13 @@ const opTransferDomain = "TransferDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TransferDomainRequest method. +// req, resp := client.TransferDomainRequest(params) // -// // Example sending a request using the TransferDomainRequest method. -// req, resp := client.TransferDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomain func (c *Route53Domains) TransferDomainRequest(input *TransferDomainInput) (req *request.Request, output *TransferDomainOutput) { @@ -2407,17 +2400,17 @@ func (c *Route53Domains) TransferDomainRequest(input *TransferDomainInput) (req // // For more information about transferring domains, see the following topics: // -// * For transfer requirements, a detailed procedure, and information about -// viewing the status of a domain that you're transferring to Route 53, see -// Transferring Registration for a Domain to Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-transfer-to-route-53.html) -// in the Amazon Route 53 Developer Guide. +// - For transfer requirements, a detailed procedure, and information about +// viewing the status of a domain that you're transferring to Route 53, see +// Transferring Registration for a Domain to Amazon Route 53 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-transfer-to-route-53.html) +// in the Amazon Route 53 Developer Guide. // -// * For information about how to transfer a domain from one Amazon Web Services -// account to another, see TransferDomainToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html). +// - For information about how to transfer a domain from one Amazon Web Services +// account to another, see TransferDomainToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_TransferDomainToAnotherAwsAccount.html). // -// * For information about how to transfer a domain to another domain registrar, -// see Transferring a Domain from Amazon Route 53 to Another Registrar (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-transfer-from-route-53.html) -// in the Amazon Route 53 Developer Guide. +// - For information about how to transfer a domain to another domain registrar, +// see Transferring a Domain from Amazon Route 53 to Another Registrar (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-transfer-from-route-53.html) +// in the Amazon Route 53 Developer Guide. // // If the registrar for your domain is also the DNS service provider for the // domain, we highly recommend that you transfer your DNS service to Route 53 @@ -2443,27 +2436,28 @@ func (c *Route53Domains) TransferDomainRequest(input *TransferDomainInput) (req // API operation TransferDomain for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // -// * DuplicateRequest -// The request is already in progress for the domain. +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // -// * TLDRulesViolation -// The top-level domain does not support this operation. +// - DuplicateRequest +// The request is already in progress for the domain. // -// * DomainLimitExceeded -// The number of domains has exceeded the allowed threshold for the account. +// - TLDRulesViolation +// The top-level domain does not support this operation. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - DomainLimitExceeded +// The number of domains has exceeded the allowed threshold for the account. +// +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomain func (c *Route53Domains) TransferDomain(input *TransferDomainInput) (*TransferDomainOutput, error) { @@ -2503,14 +2497,13 @@ const opTransferDomainToAnotherAwsAccount = "TransferDomainToAnotherAwsAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TransferDomainToAnotherAwsAccountRequest method. +// req, resp := client.TransferDomainToAnotherAwsAccountRequest(params) // -// // Example sending a request using the TransferDomainToAnotherAwsAccountRequest method. -// req, resp := client.TransferDomainToAnotherAwsAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomainToAnotherAwsAccount func (c *Route53Domains) TransferDomainToAnotherAwsAccountRequest(input *TransferDomainToAnotherAwsAccountInput) (req *request.Request, output *TransferDomainToAnotherAwsAccountOutput) { @@ -2534,16 +2527,16 @@ func (c *Route53Domains) TransferDomainToAnotherAwsAccountRequest(input *Transfe // Transfers a domain from the current Amazon Web Services account to another // Amazon Web Services account. Note the following: // -// * The Amazon Web Services account that you're transferring the domain -// to must accept the transfer. If the other account doesn't accept the transfer -// within 3 days, we cancel the transfer. See AcceptDomainTransferFromAnotherAwsAccount -// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html). +// - The Amazon Web Services account that you're transferring the domain +// to must accept the transfer. If the other account doesn't accept the transfer +// within 3 days, we cancel the transfer. See AcceptDomainTransferFromAnotherAwsAccount +// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_AcceptDomainTransferFromAnotherAwsAccount.html). // -// * You can cancel the transfer before the other account accepts it. See -// CancelDomainTransferToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_CancelDomainTransferToAnotherAwsAccount.html). +// - You can cancel the transfer before the other account accepts it. See +// CancelDomainTransferToAnotherAwsAccount (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_CancelDomainTransferToAnotherAwsAccount.html). // -// * The other account can reject the transfer. See RejectDomainTransferFromAnotherAwsAccount -// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_RejectDomainTransferFromAnotherAwsAccount.html). +// - The other account can reject the transfer. See RejectDomainTransferFromAnotherAwsAccount +// (https://docs.aws.amazon.com/Route53/latest/APIReference/API_domains_RejectDomainTransferFromAnotherAwsAccount.html). // // When you transfer a domain from one Amazon Web Services account to another, // Route 53 doesn't transfer the hosted zone that is associated with the domain. @@ -2567,21 +2560,22 @@ func (c *Route53Domains) TransferDomainToAnotherAwsAccountRequest(input *Transfe // API operation TransferDomainToAnotherAwsAccount for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // -// * DuplicateRequest -// The request is already in progress for the domain. +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - DuplicateRequest +// The request is already in progress for the domain. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/TransferDomainToAnotherAwsAccount func (c *Route53Domains) TransferDomainToAnotherAwsAccount(input *TransferDomainToAnotherAwsAccountInput) (*TransferDomainToAnotherAwsAccountOutput, error) { @@ -2621,14 +2615,13 @@ const opUpdateDomainContact = "UpdateDomainContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDomainContactRequest method. +// req, resp := client.UpdateDomainContactRequest(params) // -// // Example sending a request using the UpdateDomainContactRequest method. -// req, resp := client.UpdateDomainContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContact func (c *Route53Domains) UpdateDomainContactRequest(input *UpdateDomainContactInput) (req *request.Request, output *UpdateDomainContactOutput) { @@ -2666,24 +2659,25 @@ func (c *Route53Domains) UpdateDomainContactRequest(input *UpdateDomainContactIn // API operation UpdateDomainContact for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * DuplicateRequest -// The request is already in progress for the domain. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // -// * TLDRulesViolation -// The top-level domain does not support this operation. +// - DuplicateRequest +// The request is already in progress for the domain. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - TLDRulesViolation +// The top-level domain does not support this operation. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContact func (c *Route53Domains) UpdateDomainContact(input *UpdateDomainContactInput) (*UpdateDomainContactOutput, error) { @@ -2723,14 +2717,13 @@ const opUpdateDomainContactPrivacy = "UpdateDomainContactPrivacy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDomainContactPrivacyRequest method. +// req, resp := client.UpdateDomainContactPrivacyRequest(params) // -// // Example sending a request using the UpdateDomainContactPrivacyRequest method. -// req, resp := client.UpdateDomainContactPrivacyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactPrivacy func (c *Route53Domains) UpdateDomainContactPrivacyRequest(input *UpdateDomainContactPrivacyInput) (req *request.Request, output *UpdateDomainContactPrivacyOutput) { @@ -2784,24 +2777,25 @@ func (c *Route53Domains) UpdateDomainContactPrivacyRequest(input *UpdateDomainCo // API operation UpdateDomainContactPrivacy for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * DuplicateRequest -// The request is already in progress for the domain. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // -// * TLDRulesViolation -// The top-level domain does not support this operation. +// - DuplicateRequest +// The request is already in progress for the domain. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - TLDRulesViolation +// The top-level domain does not support this operation. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainContactPrivacy func (c *Route53Domains) UpdateDomainContactPrivacy(input *UpdateDomainContactPrivacyInput) (*UpdateDomainContactPrivacyOutput, error) { @@ -2841,14 +2835,13 @@ const opUpdateDomainNameservers = "UpdateDomainNameservers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDomainNameserversRequest method. +// req, resp := client.UpdateDomainNameserversRequest(params) // -// // Example sending a request using the UpdateDomainNameserversRequest method. -// req, resp := client.UpdateDomainNameserversRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainNameservers func (c *Route53Domains) UpdateDomainNameserversRequest(input *UpdateDomainNameserversInput) (req *request.Request, output *UpdateDomainNameserversOutput) { @@ -2886,24 +2879,25 @@ func (c *Route53Domains) UpdateDomainNameserversRequest(input *UpdateDomainNames // API operation UpdateDomainNameservers for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * DuplicateRequest -// The request is already in progress for the domain. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // -// * TLDRulesViolation -// The top-level domain does not support this operation. +// - DuplicateRequest +// The request is already in progress for the domain. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - TLDRulesViolation +// The top-level domain does not support this operation. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateDomainNameservers func (c *Route53Domains) UpdateDomainNameservers(input *UpdateDomainNameserversInput) (*UpdateDomainNameserversOutput, error) { @@ -2943,14 +2937,13 @@ const opUpdateTagsForDomain = "UpdateTagsForDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTagsForDomainRequest method. +// req, resp := client.UpdateTagsForDomainRequest(params) // -// // Example sending a request using the UpdateTagsForDomainRequest method. -// req, resp := client.UpdateTagsForDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateTagsForDomain func (c *Route53Domains) UpdateTagsForDomainRequest(input *UpdateTagsForDomainInput) (req *request.Request, output *UpdateTagsForDomainOutput) { @@ -2985,18 +2978,19 @@ func (c *Route53Domains) UpdateTagsForDomainRequest(input *UpdateTagsForDomainIn // API operation UpdateTagsForDomain for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. // -// * OperationLimitExceeded -// The number of operations or jobs running exceeded the allowed threshold for -// the account. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // -// * UnsupportedTLD -// Amazon Route 53 does not support this top-level domain (TLD). +// - OperationLimitExceeded +// The number of operations or jobs running exceeded the allowed threshold for +// the account. +// +// - UnsupportedTLD +// Amazon Route 53 does not support this top-level domain (TLD). // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/UpdateTagsForDomain func (c *Route53Domains) UpdateTagsForDomain(input *UpdateTagsForDomainInput) (*UpdateTagsForDomainOutput, error) { @@ -3036,14 +3030,13 @@ const opViewBilling = "ViewBilling" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ViewBillingRequest method. +// req, resp := client.ViewBillingRequest(params) // -// // Example sending a request using the ViewBillingRequest method. -// req, resp := client.ViewBillingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ViewBilling func (c *Route53Domains) ViewBillingRequest(input *ViewBillingInput) (req *request.Request, output *ViewBillingOutput) { @@ -3081,11 +3074,11 @@ func (c *Route53Domains) ViewBillingRequest(input *ViewBillingInput) (req *reque // API operation ViewBilling for usage and error information. // // Returned Error Types: -// * InvalidInput -// The requested item is not acceptable. For example, for APIs that accept a -// domain name, the request might specify a domain name that doesn't belong -// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, -// the password might be invalid. +// - InvalidInput +// The requested item is not acceptable. For example, for APIs that accept a +// domain name, the request might specify a domain name that doesn't belong +// to the account that submitted the request. For AcceptDomainTransferFromAnotherAwsAccount, +// the password might be invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53domains-2014-05-15/ViewBilling func (c *Route53Domains) ViewBilling(input *ViewBillingInput) (*ViewBillingOutput, error) { @@ -3117,15 +3110,14 @@ func (c *Route53Domains) ViewBillingWithContext(ctx aws.Context, input *ViewBill // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ViewBilling operation. -// pageNum := 0 -// err := client.ViewBillingPages(params, -// func(page *route53domains.ViewBillingOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ViewBilling operation. +// pageNum := 0 +// err := client.ViewBillingPages(params, +// func(page *route53domains.ViewBillingOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Domains) ViewBillingPages(input *ViewBillingInput, fn func(*ViewBillingOutput, bool) bool) error { return c.ViewBillingPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9755,11 +9747,11 @@ func SortOrder_Values() []string { // // Valid values: // -// TRANSFERABLE +// # TRANSFERABLE // // The domain name can be transferred to Route 53. // -// UNTRANSFERRABLE +// # UNTRANSFERRABLE // // The domain name can't be transferred to Route 53. // diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/doc.go index b6b057326adf..bb1f7454041a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/doc.go @@ -11,7 +11,7 @@ // See route53domains package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/route53domains/ // -// Using the Client +// # Using the Client // // To contact Amazon Route 53 Domains with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/route53domainsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/route53domainsiface/interface.go index 59ffb304847b..67fd038028d7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/route53domainsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/route53domainsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Route 53 Domains. -// func myFunc(svc route53domainsiface.Route53DomainsAPI) bool { -// // Make svc.AcceptDomainTransferFromAnotherAwsAccount request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Route 53 Domains. +// func myFunc(svc route53domainsiface.Route53DomainsAPI) bool { +// // Make svc.AcceptDomainTransferFromAnotherAwsAccount request +// } // -// func main() { -// sess := session.New() -// svc := route53domains.New(sess) +// func main() { +// sess := session.New() +// svc := route53domains.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRoute53DomainsClient struct { -// route53domainsiface.Route53DomainsAPI -// } -// func (m *mockRoute53DomainsClient) AcceptDomainTransferFromAnotherAwsAccount(input *route53domains.AcceptDomainTransferFromAnotherAwsAccountInput) (*route53domains.AcceptDomainTransferFromAnotherAwsAccountOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRoute53DomainsClient struct { +// route53domainsiface.Route53DomainsAPI +// } +// func (m *mockRoute53DomainsClient) AcceptDomainTransferFromAnotherAwsAccount(input *route53domains.AcceptDomainTransferFromAnotherAwsAccountInput) (*route53domains.AcceptDomainTransferFromAnotherAwsAccountOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRoute53DomainsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRoute53DomainsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/service.go index 69512c710078..204f376e2b7b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53domains/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Route53Domains client from just a session. -// svc := route53domains.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Route53Domains client with additional configuration -// svc := route53domains.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Route53Domains client from just a session. +// svc := route53domains.New(mySession) +// +// // Create a Route53Domains client with additional configuration +// svc := route53domains.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Route53Domains { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/api.go index 4cc5ae12ff36..9e2d75351800 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/api.go @@ -28,14 +28,13 @@ const opGetRoutingControlState = "GetRoutingControlState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRoutingControlStateRequest method. +// req, resp := client.GetRoutingControlStateRequest(params) // -// // Example sending a request using the GetRoutingControlStateRequest method. -// req, resp := client.GetRoutingControlStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-cluster-2019-12-02/GetRoutingControlState func (c *Route53RecoveryCluster) GetRoutingControlStateRequest(input *GetRoutingControlStateInput) (req *request.Request, output *GetRoutingControlStateOutput) { @@ -78,9 +77,9 @@ func (c *Route53RecoveryCluster) GetRoutingControlStateRequest(input *GetRouting // Learn more about working with routing controls in the following topics in // the Amazon Route 53 Application Recovery Controller Developer Guide: // -// * Viewing and updating routing control states (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html) +// - Viewing and updating routing control states (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html) // -// * Working with routing controls in Route 53 ARC (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html) +// - Working with routing controls in Route 53 ARC (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -90,23 +89,24 @@ func (c *Route53RecoveryCluster) GetRoutingControlStateRequest(input *GetRouting // API operation GetRoutingControlState for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient permissions to perform this action. // -// * InternalServerException -// There was an unexpected error during processing of the request. +// - AccessDeniedException +// You don't have sufficient permissions to perform this action. +// +// - InternalServerException +// There was an unexpected error during processing of the request. // -// * ResourceNotFoundException -// The request references a routing control or control panel that was not found. +// - ResourceNotFoundException +// The request references a routing control or control panel that was not found. // -// * ValidationException -// There was a validation error on the request. +// - ValidationException +// There was a validation error on the request. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // -// * EndpointTemporarilyUnavailableException -// The cluster endpoint isn't available. Try another cluster endpoint. +// - EndpointTemporarilyUnavailableException +// The cluster endpoint isn't available. Try another cluster endpoint. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-cluster-2019-12-02/GetRoutingControlState func (c *Route53RecoveryCluster) GetRoutingControlState(input *GetRoutingControlStateInput) (*GetRoutingControlStateOutput, error) { @@ -146,14 +146,13 @@ const opListRoutingControls = "ListRoutingControls" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRoutingControlsRequest method. +// req, resp := client.ListRoutingControlsRequest(params) // -// // Example sending a request using the ListRoutingControlsRequest method. -// req, resp := client.ListRoutingControlsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-cluster-2019-12-02/ListRoutingControls func (c *Route53RecoveryCluster) ListRoutingControlsRequest(input *ListRoutingControlsInput) (req *request.Request, output *ListRoutingControlsOutput) { @@ -203,9 +202,9 @@ func (c *Route53RecoveryCluster) ListRoutingControlsRequest(input *ListRoutingCo // Learn more about working with routing controls in the following topics in // the Amazon Route 53 Application Recovery Controller Developer Guide: // -// * Viewing and updating routing control states (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html) +// - Viewing and updating routing control states (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html) // -// * Working with routing controls in Route 53 ARC (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html) +// - Working with routing controls in Route 53 ARC (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -215,23 +214,24 @@ func (c *Route53RecoveryCluster) ListRoutingControlsRequest(input *ListRoutingCo // API operation ListRoutingControls for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient permissions to perform this action. // -// * InternalServerException -// There was an unexpected error during processing of the request. +// - AccessDeniedException +// You don't have sufficient permissions to perform this action. // -// * ResourceNotFoundException -// The request references a routing control or control panel that was not found. +// - InternalServerException +// There was an unexpected error during processing of the request. // -// * ValidationException -// There was a validation error on the request. +// - ResourceNotFoundException +// The request references a routing control or control panel that was not found. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ValidationException +// There was a validation error on the request. // -// * EndpointTemporarilyUnavailableException -// The cluster endpoint isn't available. Try another cluster endpoint. +// - ThrottlingException +// The request was denied because of request throttling. +// +// - EndpointTemporarilyUnavailableException +// The cluster endpoint isn't available. Try another cluster endpoint. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-cluster-2019-12-02/ListRoutingControls func (c *Route53RecoveryCluster) ListRoutingControls(input *ListRoutingControlsInput) (*ListRoutingControlsOutput, error) { @@ -263,15 +263,14 @@ func (c *Route53RecoveryCluster) ListRoutingControlsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRoutingControls operation. -// pageNum := 0 -// err := client.ListRoutingControlsPages(params, -// func(page *route53recoverycluster.ListRoutingControlsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRoutingControls operation. +// pageNum := 0 +// err := client.ListRoutingControlsPages(params, +// func(page *route53recoverycluster.ListRoutingControlsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryCluster) ListRoutingControlsPages(input *ListRoutingControlsInput, fn func(*ListRoutingControlsOutput, bool) bool) error { return c.ListRoutingControlsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -323,14 +322,13 @@ const opUpdateRoutingControlState = "UpdateRoutingControlState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRoutingControlStateRequest method. +// req, resp := client.UpdateRoutingControlStateRequest(params) // -// // Example sending a request using the UpdateRoutingControlStateRequest method. -// req, resp := client.UpdateRoutingControlStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-cluster-2019-12-02/UpdateRoutingControlState func (c *Route53RecoveryCluster) UpdateRoutingControlStateRequest(input *UpdateRoutingControlStateInput) (req *request.Request, output *UpdateRoutingControlStateOutput) { @@ -378,9 +376,9 @@ func (c *Route53RecoveryCluster) UpdateRoutingControlStateRequest(input *UpdateR // Regional cluster endpoints in sequence, see API examples (https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html) // in the Amazon Route 53 Application Recovery Controller Developer Guide. // -// * Viewing and updating routing control states (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html) +// - Viewing and updating routing control states (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html) // -// * Working with routing controls overall (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html) +// - Working with routing controls overall (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -390,26 +388,27 @@ func (c *Route53RecoveryCluster) UpdateRoutingControlStateRequest(input *UpdateR // API operation UpdateRoutingControlState for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient permissions to perform this action. // -// * InternalServerException -// There was an unexpected error during processing of the request. +// - AccessDeniedException +// You don't have sufficient permissions to perform this action. +// +// - InternalServerException +// There was an unexpected error during processing of the request. // -// * ResourceNotFoundException -// The request references a routing control or control panel that was not found. +// - ResourceNotFoundException +// The request references a routing control or control panel that was not found. // -// * ValidationException -// There was a validation error on the request. +// - ValidationException +// There was a validation error on the request. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // -// * EndpointTemporarilyUnavailableException -// The cluster endpoint isn't available. Try another cluster endpoint. +// - EndpointTemporarilyUnavailableException +// The cluster endpoint isn't available. Try another cluster endpoint. // -// * ConflictException -// There was a conflict with this request. Try again. +// - ConflictException +// There was a conflict with this request. Try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-cluster-2019-12-02/UpdateRoutingControlState func (c *Route53RecoveryCluster) UpdateRoutingControlState(input *UpdateRoutingControlStateInput) (*UpdateRoutingControlStateOutput, error) { @@ -449,14 +448,13 @@ const opUpdateRoutingControlStates = "UpdateRoutingControlStates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRoutingControlStatesRequest method. +// req, resp := client.UpdateRoutingControlStatesRequest(params) // -// // Example sending a request using the UpdateRoutingControlStatesRequest method. -// req, resp := client.UpdateRoutingControlStatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-cluster-2019-12-02/UpdateRoutingControlStates func (c *Route53RecoveryCluster) UpdateRoutingControlStatesRequest(input *UpdateRoutingControlStatesInput) (req *request.Request, output *UpdateRoutingControlStatesOutput) { @@ -504,9 +502,9 @@ func (c *Route53RecoveryCluster) UpdateRoutingControlStatesRequest(input *Update // Regional cluster endpoints in sequence, see API examples (https://docs.aws.amazon.com/r53recovery/latest/dg/service_code_examples_actions.html) // in the Amazon Route 53 Application Recovery Controller Developer Guide. // -// * Viewing and updating routing control states (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html) +// - Viewing and updating routing control states (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.update.html) // -// * Working with routing controls overall (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html) +// - Working with routing controls overall (https://docs.aws.amazon.com/r53recovery/latest/dg/routing-control.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -516,30 +514,31 @@ func (c *Route53RecoveryCluster) UpdateRoutingControlStatesRequest(input *Update // API operation UpdateRoutingControlStates for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient permissions to perform this action. // -// * InternalServerException -// There was an unexpected error during processing of the request. +// - AccessDeniedException +// You don't have sufficient permissions to perform this action. +// +// - InternalServerException +// There was an unexpected error during processing of the request. // -// * ResourceNotFoundException -// The request references a routing control or control panel that was not found. +// - ResourceNotFoundException +// The request references a routing control or control panel that was not found. // -// * ValidationException -// There was a validation error on the request. +// - ValidationException +// There was a validation error on the request. // -// * ThrottlingException -// The request was denied because of request throttling. +// - ThrottlingException +// The request was denied because of request throttling. // -// * EndpointTemporarilyUnavailableException -// The cluster endpoint isn't available. Try another cluster endpoint. +// - EndpointTemporarilyUnavailableException +// The cluster endpoint isn't available. Try another cluster endpoint. // -// * ConflictException -// There was a conflict with this request. Try again. +// - ConflictException +// There was a conflict with this request. Try again. // -// * ServiceLimitExceededException -// The request can't update that many routing control states at the same time. -// Try again with fewer routing control states. +// - ServiceLimitExceededException +// The request can't update that many routing control states at the same time. +// Try again with fewer routing control states. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-cluster-2019-12-02/UpdateRoutingControlStates func (c *Route53RecoveryCluster) UpdateRoutingControlStates(input *UpdateRoutingControlStatesInput) (*UpdateRoutingControlStatesOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/doc.go index e9ee97b743eb..b1cfa99a8daa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/doc.go @@ -32,32 +32,32 @@ // For more information about working with routing control in Route 53 ARC, // see the following: // -// * Create clusters, control panels, and routing controls by using API operations. -// For more information, see the Recovery Control Configuration API Reference -// Guide for Amazon Route 53 Application Recovery Controller (https://docs.aws.amazon.com/recovery-cluster/latest/api/). -// -// * Learn about the components in recovery control, including clusters, -// routing controls, and control panels, and how to work with Route 53 ARC -// in the Amazon Web Services console. For more information, see Recovery -// control components (https://docs.aws.amazon.com/r53recovery/latest/dg/introduction-components.html#introduction-components-routing) -// in the Amazon Route 53 Application Recovery Controller Developer Guide. -// -// * Route 53 ARC also provides readiness checks that continually audit resources -// to help make sure that your applications are scaled and ready to handle -// failover traffic. For more information about the related API operations, -// see the Recovery Readiness API Reference Guide for Amazon Route 53 Application -// Recovery Controller (https://docs.aws.amazon.com/recovery-readiness/latest/api/). -// -// * For more information about creating resilient applications and preparing -// for recovery readiness with Route 53 ARC, see the Amazon Route 53 Application -// Recovery Controller Developer Guide (https://docs.aws.amazon.com/r53recovery/latest/dg/). +// - Create clusters, control panels, and routing controls by using API operations. +// For more information, see the Recovery Control Configuration API Reference +// Guide for Amazon Route 53 Application Recovery Controller (https://docs.aws.amazon.com/recovery-cluster/latest/api/). +// +// - Learn about the components in recovery control, including clusters, +// routing controls, and control panels, and how to work with Route 53 ARC +// in the Amazon Web Services console. For more information, see Recovery +// control components (https://docs.aws.amazon.com/r53recovery/latest/dg/introduction-components.html#introduction-components-routing) +// in the Amazon Route 53 Application Recovery Controller Developer Guide. +// +// - Route 53 ARC also provides readiness checks that continually audit resources +// to help make sure that your applications are scaled and ready to handle +// failover traffic. For more information about the related API operations, +// see the Recovery Readiness API Reference Guide for Amazon Route 53 Application +// Recovery Controller (https://docs.aws.amazon.com/recovery-readiness/latest/api/). +// +// - For more information about creating resilient applications and preparing +// for recovery readiness with Route 53 ARC, see the Amazon Route 53 Application +// Recovery Controller Developer Guide (https://docs.aws.amazon.com/r53recovery/latest/dg/). // // See https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-cluster-2019-12-02 for more information on this service. // // See route53recoverycluster package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/route53recoverycluster/ // -// Using the Client +// # Using the Client // // To contact Route53 Recovery Cluster with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/route53recoveryclusteriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/route53recoveryclusteriface/interface.go index 409722c6ec30..b4758a3f2053 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/route53recoveryclusteriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/route53recoveryclusteriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Route53 Recovery Cluster. -// func myFunc(svc route53recoveryclusteriface.Route53RecoveryClusterAPI) bool { -// // Make svc.GetRoutingControlState request -// } +// // myFunc uses an SDK service client to make a request to +// // Route53 Recovery Cluster. +// func myFunc(svc route53recoveryclusteriface.Route53RecoveryClusterAPI) bool { +// // Make svc.GetRoutingControlState request +// } // -// func main() { -// sess := session.New() -// svc := route53recoverycluster.New(sess) +// func main() { +// sess := session.New() +// svc := route53recoverycluster.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRoute53RecoveryClusterClient struct { -// route53recoveryclusteriface.Route53RecoveryClusterAPI -// } -// func (m *mockRoute53RecoveryClusterClient) GetRoutingControlState(input *route53recoverycluster.GetRoutingControlStateInput) (*route53recoverycluster.GetRoutingControlStateOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRoute53RecoveryClusterClient struct { +// route53recoveryclusteriface.Route53RecoveryClusterAPI +// } +// func (m *mockRoute53RecoveryClusterClient) GetRoutingControlState(input *route53recoverycluster.GetRoutingControlStateInput) (*route53recoverycluster.GetRoutingControlStateOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRoute53RecoveryClusterClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRoute53RecoveryClusterClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/service.go index e94600a77110..75795314de66 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycluster/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Route53RecoveryCluster client from just a session. -// svc := route53recoverycluster.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Route53RecoveryCluster client with additional configuration -// svc := route53recoverycluster.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Route53RecoveryCluster client from just a session. +// svc := route53recoverycluster.New(mySession) +// +// // Create a Route53RecoveryCluster client with additional configuration +// svc := route53recoverycluster.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Route53RecoveryCluster { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/api.go index 98214bd1bae3..3eaa4fb142df 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/api.go @@ -28,14 +28,13 @@ const opCreateCluster = "CreateCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClusterRequest method. +// req, resp := client.CreateClusterRequest(params) // -// // Example sending a request using the CreateClusterRequest method. -// req, resp := client.CreateClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateCluster func (c *Route53RecoveryControlConfig) CreateClusterRequest(input *CreateClusterInput) (req *request.Request, output *CreateClusterOutput) { @@ -71,30 +70,31 @@ func (c *Route53RecoveryControlConfig) CreateClusterRequest(input *CreateCluster // API operation CreateCluster for usage and error information. // // Returned Error Types: -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. +// +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // -// * ServiceQuotaExceededException -// 402 response - You attempted to create more resources than the service allows -// based on service quotas. +// - ServiceQuotaExceededException +// 402 response - You attempted to create more resources than the service allows +// based on service quotas. // -// * AccessDeniedException -// 403 response - You do not have sufficient access to perform this action. +// - AccessDeniedException +// 403 response - You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. // -// * ThrottlingException -// 429 response - LimitExceededException or TooManyRequestsException. +// - ThrottlingException +// 429 response - LimitExceededException or TooManyRequestsException. // -// * ConflictException -// 409 response - ConflictException. You might be using a predefined variable. +// - ConflictException +// 409 response - ConflictException. You might be using a predefined variable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateCluster func (c *Route53RecoveryControlConfig) CreateCluster(input *CreateClusterInput) (*CreateClusterOutput, error) { @@ -134,14 +134,13 @@ const opCreateControlPanel = "CreateControlPanel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateControlPanelRequest method. +// req, resp := client.CreateControlPanelRequest(params) // -// // Example sending a request using the CreateControlPanelRequest method. -// req, resp := client.CreateControlPanelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateControlPanel func (c *Route53RecoveryControlConfig) CreateControlPanelRequest(input *CreateControlPanelInput) (req *request.Request, output *CreateControlPanelOutput) { @@ -176,30 +175,31 @@ func (c *Route53RecoveryControlConfig) CreateControlPanelRequest(input *CreateCo // API operation CreateControlPanel for usage and error information. // // Returned Error Types: -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. +// +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // -// * ServiceQuotaExceededException -// 402 response - You attempted to create more resources than the service allows -// based on service quotas. +// - ServiceQuotaExceededException +// 402 response - You attempted to create more resources than the service allows +// based on service quotas. // -// * AccessDeniedException -// 403 response - You do not have sufficient access to perform this action. +// - AccessDeniedException +// 403 response - You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. // -// * ThrottlingException -// 429 response - LimitExceededException or TooManyRequestsException. +// - ThrottlingException +// 429 response - LimitExceededException or TooManyRequestsException. // -// * ConflictException -// 409 response - ConflictException. You might be using a predefined variable. +// - ConflictException +// 409 response - ConflictException. You might be using a predefined variable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateControlPanel func (c *Route53RecoveryControlConfig) CreateControlPanel(input *CreateControlPanelInput) (*CreateControlPanelOutput, error) { @@ -239,14 +239,13 @@ const opCreateRoutingControl = "CreateRoutingControl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRoutingControlRequest method. +// req, resp := client.CreateRoutingControlRequest(params) // -// // Example sending a request using the CreateRoutingControlRequest method. -// req, resp := client.CreateRoutingControlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateRoutingControl func (c *Route53RecoveryControlConfig) CreateRoutingControlRequest(input *CreateRoutingControlInput) (req *request.Request, output *CreateRoutingControlOutput) { @@ -284,30 +283,31 @@ func (c *Route53RecoveryControlConfig) CreateRoutingControlRequest(input *Create // API operation CreateRoutingControl for usage and error information. // // Returned Error Types: -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. +// +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // -// * ServiceQuotaExceededException -// 402 response - You attempted to create more resources than the service allows -// based on service quotas. +// - ServiceQuotaExceededException +// 402 response - You attempted to create more resources than the service allows +// based on service quotas. // -// * AccessDeniedException -// 403 response - You do not have sufficient access to perform this action. +// - AccessDeniedException +// 403 response - You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. // -// * ThrottlingException -// 429 response - LimitExceededException or TooManyRequestsException. +// - ThrottlingException +// 429 response - LimitExceededException or TooManyRequestsException. // -// * ConflictException -// 409 response - ConflictException. You might be using a predefined variable. +// - ConflictException +// 409 response - ConflictException. You might be using a predefined variable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateRoutingControl func (c *Route53RecoveryControlConfig) CreateRoutingControl(input *CreateRoutingControlInput) (*CreateRoutingControlOutput, error) { @@ -347,14 +347,13 @@ const opCreateSafetyRule = "CreateSafetyRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSafetyRuleRequest method. +// req, resp := client.CreateSafetyRuleRequest(params) // -// // Example sending a request using the CreateSafetyRuleRequest method. -// req, resp := client.CreateSafetyRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateSafetyRule func (c *Route53RecoveryControlConfig) CreateSafetyRuleRequest(input *CreateSafetyRuleInput) (req *request.Request, output *CreateSafetyRuleOutput) { @@ -403,13 +402,14 @@ func (c *Route53RecoveryControlConfig) CreateSafetyRuleRequest(input *CreateSafe // API operation CreateSafetyRule for usage and error information. // // Returned Error Types: -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. +// +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateSafetyRule func (c *Route53RecoveryControlConfig) CreateSafetyRule(input *CreateSafetyRuleInput) (*CreateSafetyRuleOutput, error) { @@ -449,14 +449,13 @@ const opDeleteCluster = "DeleteCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClusterRequest method. +// req, resp := client.DeleteClusterRequest(params) // -// // Example sending a request using the DeleteClusterRequest method. -// req, resp := client.DeleteClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteCluster func (c *Route53RecoveryControlConfig) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Request, output *DeleteClusterOutput) { @@ -488,26 +487,27 @@ func (c *Route53RecoveryControlConfig) DeleteClusterRequest(input *DeleteCluster // API operation DeleteCluster for usage and error information. // // Returned Error Types: -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. +// +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // -// * AccessDeniedException -// 403 response - You do not have sufficient access to perform this action. +// - AccessDeniedException +// 403 response - You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. // -// * ThrottlingException -// 429 response - LimitExceededException or TooManyRequestsException. +// - ThrottlingException +// 429 response - LimitExceededException or TooManyRequestsException. // -// * ConflictException -// 409 response - ConflictException. You might be using a predefined variable. +// - ConflictException +// 409 response - ConflictException. You might be using a predefined variable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteCluster func (c *Route53RecoveryControlConfig) DeleteCluster(input *DeleteClusterInput) (*DeleteClusterOutput, error) { @@ -547,14 +547,13 @@ const opDeleteControlPanel = "DeleteControlPanel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteControlPanelRequest method. +// req, resp := client.DeleteControlPanelRequest(params) // -// // Example sending a request using the DeleteControlPanelRequest method. -// req, resp := client.DeleteControlPanelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteControlPanel func (c *Route53RecoveryControlConfig) DeleteControlPanelRequest(input *DeleteControlPanelInput) (req *request.Request, output *DeleteControlPanelOutput) { @@ -586,26 +585,27 @@ func (c *Route53RecoveryControlConfig) DeleteControlPanelRequest(input *DeleteCo // API operation DeleteControlPanel for usage and error information. // // Returned Error Types: -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. +// +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // -// * AccessDeniedException -// 403 response - You do not have sufficient access to perform this action. +// - AccessDeniedException +// 403 response - You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. // -// * ThrottlingException -// 429 response - LimitExceededException or TooManyRequestsException. +// - ThrottlingException +// 429 response - LimitExceededException or TooManyRequestsException. // -// * ConflictException -// 409 response - ConflictException. You might be using a predefined variable. +// - ConflictException +// 409 response - ConflictException. You might be using a predefined variable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteControlPanel func (c *Route53RecoveryControlConfig) DeleteControlPanel(input *DeleteControlPanelInput) (*DeleteControlPanelOutput, error) { @@ -645,14 +645,13 @@ const opDeleteRoutingControl = "DeleteRoutingControl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRoutingControlRequest method. +// req, resp := client.DeleteRoutingControlRequest(params) // -// // Example sending a request using the DeleteRoutingControlRequest method. -// req, resp := client.DeleteRoutingControlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteRoutingControl func (c *Route53RecoveryControlConfig) DeleteRoutingControlRequest(input *DeleteRoutingControlInput) (req *request.Request, output *DeleteRoutingControlOutput) { @@ -684,26 +683,27 @@ func (c *Route53RecoveryControlConfig) DeleteRoutingControlRequest(input *Delete // API operation DeleteRoutingControl for usage and error information. // // Returned Error Types: -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. // -// * AccessDeniedException -// 403 response - You do not have sufficient access to perform this action. +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. +// - AccessDeniedException +// 403 response - You do not have sufficient access to perform this action. // -// * ThrottlingException -// 429 response - LimitExceededException or TooManyRequestsException. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. // -// * ConflictException -// 409 response - ConflictException. You might be using a predefined variable. +// - ThrottlingException +// 429 response - LimitExceededException or TooManyRequestsException. +// +// - ConflictException +// 409 response - ConflictException. You might be using a predefined variable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteRoutingControl func (c *Route53RecoveryControlConfig) DeleteRoutingControl(input *DeleteRoutingControlInput) (*DeleteRoutingControlOutput, error) { @@ -743,14 +743,13 @@ const opDeleteSafetyRule = "DeleteSafetyRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSafetyRuleRequest method. +// req, resp := client.DeleteSafetyRuleRequest(params) // -// // Example sending a request using the DeleteSafetyRuleRequest method. -// req, resp := client.DeleteSafetyRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteSafetyRule func (c *Route53RecoveryControlConfig) DeleteSafetyRuleRequest(input *DeleteSafetyRuleInput) (req *request.Request, output *DeleteSafetyRuleOutput) { @@ -783,17 +782,18 @@ func (c *Route53RecoveryControlConfig) DeleteSafetyRuleRequest(input *DeleteSafe // API operation DeleteSafetyRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. // -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. +// +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DeleteSafetyRule func (c *Route53RecoveryControlConfig) DeleteSafetyRule(input *DeleteSafetyRuleInput) (*DeleteSafetyRuleOutput, error) { @@ -833,14 +833,13 @@ const opDescribeCluster = "DescribeCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClusterRequest method. +// req, resp := client.DescribeClusterRequest(params) // -// // Example sending a request using the DescribeClusterRequest method. -// req, resp := client.DescribeClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeCluster func (c *Route53RecoveryControlConfig) DescribeClusterRequest(input *DescribeClusterInput) (req *request.Request, output *DescribeClusterOutput) { @@ -872,26 +871,27 @@ func (c *Route53RecoveryControlConfig) DescribeClusterRequest(input *DescribeClu // API operation DescribeCluster for usage and error information. // // Returned Error Types: -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. // -// * AccessDeniedException -// 403 response - You do not have sufficient access to perform this action. +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. +// - AccessDeniedException +// 403 response - You do not have sufficient access to perform this action. // -// * ThrottlingException -// 429 response - LimitExceededException or TooManyRequestsException. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. // -// * ConflictException -// 409 response - ConflictException. You might be using a predefined variable. +// - ThrottlingException +// 429 response - LimitExceededException or TooManyRequestsException. +// +// - ConflictException +// 409 response - ConflictException. You might be using a predefined variable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeCluster func (c *Route53RecoveryControlConfig) DescribeCluster(input *DescribeClusterInput) (*DescribeClusterOutput, error) { @@ -931,14 +931,13 @@ const opDescribeControlPanel = "DescribeControlPanel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeControlPanelRequest method. +// req, resp := client.DescribeControlPanelRequest(params) // -// // Example sending a request using the DescribeControlPanelRequest method. -// req, resp := client.DescribeControlPanelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeControlPanel func (c *Route53RecoveryControlConfig) DescribeControlPanelRequest(input *DescribeControlPanelInput) (req *request.Request, output *DescribeControlPanelOutput) { @@ -969,26 +968,27 @@ func (c *Route53RecoveryControlConfig) DescribeControlPanelRequest(input *Descri // API operation DescribeControlPanel for usage and error information. // // Returned Error Types: -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. +// +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // -// * AccessDeniedException -// 403 response - You do not have sufficient access to perform this action. +// - AccessDeniedException +// 403 response - You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. // -// * ThrottlingException -// 429 response - LimitExceededException or TooManyRequestsException. +// - ThrottlingException +// 429 response - LimitExceededException or TooManyRequestsException. // -// * ConflictException -// 409 response - ConflictException. You might be using a predefined variable. +// - ConflictException +// 409 response - ConflictException. You might be using a predefined variable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeControlPanel func (c *Route53RecoveryControlConfig) DescribeControlPanel(input *DescribeControlPanelInput) (*DescribeControlPanelOutput, error) { @@ -1028,14 +1028,13 @@ const opDescribeRoutingControl = "DescribeRoutingControl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRoutingControlRequest method. +// req, resp := client.DescribeRoutingControlRequest(params) // -// // Example sending a request using the DescribeRoutingControlRequest method. -// req, resp := client.DescribeRoutingControlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeRoutingControl func (c *Route53RecoveryControlConfig) DescribeRoutingControlRequest(input *DescribeRoutingControlInput) (req *request.Request, output *DescribeRoutingControlOutput) { @@ -1071,26 +1070,27 @@ func (c *Route53RecoveryControlConfig) DescribeRoutingControlRequest(input *Desc // API operation DescribeRoutingControl for usage and error information. // // Returned Error Types: -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. +// +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // -// * AccessDeniedException -// 403 response - You do not have sufficient access to perform this action. +// - AccessDeniedException +// 403 response - You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. // -// * ThrottlingException -// 429 response - LimitExceededException or TooManyRequestsException. +// - ThrottlingException +// 429 response - LimitExceededException or TooManyRequestsException. // -// * ConflictException -// 409 response - ConflictException. You might be using a predefined variable. +// - ConflictException +// 409 response - ConflictException. You might be using a predefined variable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeRoutingControl func (c *Route53RecoveryControlConfig) DescribeRoutingControl(input *DescribeRoutingControlInput) (*DescribeRoutingControlOutput, error) { @@ -1130,14 +1130,13 @@ const opDescribeSafetyRule = "DescribeSafetyRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSafetyRuleRequest method. +// req, resp := client.DescribeSafetyRuleRequest(params) // -// // Example sending a request using the DescribeSafetyRuleRequest method. -// req, resp := client.DescribeSafetyRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeSafetyRule func (c *Route53RecoveryControlConfig) DescribeSafetyRuleRequest(input *DescribeSafetyRuleInput) (req *request.Request, output *DescribeSafetyRuleOutput) { @@ -1168,14 +1167,15 @@ func (c *Route53RecoveryControlConfig) DescribeSafetyRuleRequest(input *Describe // API operation DescribeSafetyRule for usage and error information. // // Returned Error Types: -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. // -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. +// +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeSafetyRule func (c *Route53RecoveryControlConfig) DescribeSafetyRule(input *DescribeSafetyRuleInput) (*DescribeSafetyRuleOutput, error) { @@ -1215,14 +1215,13 @@ const opListAssociatedRoute53HealthChecks = "ListAssociatedRoute53HealthChecks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssociatedRoute53HealthChecksRequest method. +// req, resp := client.ListAssociatedRoute53HealthChecksRequest(params) // -// // Example sending a request using the ListAssociatedRoute53HealthChecksRequest method. -// req, resp := client.ListAssociatedRoute53HealthChecksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListAssociatedRoute53HealthChecks func (c *Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksRequest(input *ListAssociatedRoute53HealthChecksInput) (req *request.Request, output *ListAssociatedRoute53HealthChecksOutput) { @@ -1260,17 +1259,18 @@ func (c *Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksRequest( // API operation ListAssociatedRoute53HealthChecks for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. // -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. +// +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListAssociatedRoute53HealthChecks func (c *Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecks(input *ListAssociatedRoute53HealthChecksInput) (*ListAssociatedRoute53HealthChecksOutput, error) { @@ -1302,15 +1302,14 @@ func (c *Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksWithCont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssociatedRoute53HealthChecks operation. -// pageNum := 0 -// err := client.ListAssociatedRoute53HealthChecksPages(params, -// func(page *route53recoverycontrolconfig.ListAssociatedRoute53HealthChecksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssociatedRoute53HealthChecks operation. +// pageNum := 0 +// err := client.ListAssociatedRoute53HealthChecksPages(params, +// func(page *route53recoverycontrolconfig.ListAssociatedRoute53HealthChecksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryControlConfig) ListAssociatedRoute53HealthChecksPages(input *ListAssociatedRoute53HealthChecksInput, fn func(*ListAssociatedRoute53HealthChecksOutput, bool) bool) error { return c.ListAssociatedRoute53HealthChecksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1362,14 +1361,13 @@ const opListClusters = "ListClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListClustersRequest method. +// req, resp := client.ListClustersRequest(params) // -// // Example sending a request using the ListClustersRequest method. -// req, resp := client.ListClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListClusters func (c *Route53RecoveryControlConfig) ListClustersRequest(input *ListClustersInput) (req *request.Request, output *ListClustersOutput) { @@ -1406,23 +1404,24 @@ func (c *Route53RecoveryControlConfig) ListClustersRequest(input *ListClustersIn // API operation ListClusters for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. // -// * ThrottlingException -// 429 response - LimitExceededException or TooManyRequestsException. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. // -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. +// - ThrottlingException +// 429 response - LimitExceededException or TooManyRequestsException. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. // -// * AccessDeniedException -// 403 response - You do not have sufficient access to perform this action. +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. +// +// - AccessDeniedException +// 403 response - You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListClusters func (c *Route53RecoveryControlConfig) ListClusters(input *ListClustersInput) (*ListClustersOutput, error) { @@ -1454,15 +1453,14 @@ func (c *Route53RecoveryControlConfig) ListClustersWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListClusters operation. -// pageNum := 0 -// err := client.ListClustersPages(params, -// func(page *route53recoverycontrolconfig.ListClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListClusters operation. +// pageNum := 0 +// err := client.ListClustersPages(params, +// func(page *route53recoverycontrolconfig.ListClustersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryControlConfig) ListClustersPages(input *ListClustersInput, fn func(*ListClustersOutput, bool) bool) error { return c.ListClustersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1514,14 +1512,13 @@ const opListControlPanels = "ListControlPanels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListControlPanelsRequest method. +// req, resp := client.ListControlPanelsRequest(params) // -// // Example sending a request using the ListControlPanelsRequest method. -// req, resp := client.ListControlPanelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListControlPanels func (c *Route53RecoveryControlConfig) ListControlPanelsRequest(input *ListControlPanelsInput) (req *request.Request, output *ListControlPanelsOutput) { @@ -1558,23 +1555,24 @@ func (c *Route53RecoveryControlConfig) ListControlPanelsRequest(input *ListContr // API operation ListControlPanels for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. // -// * ThrottlingException -// 429 response - LimitExceededException or TooManyRequestsException. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. +// +// - ThrottlingException +// 429 response - LimitExceededException or TooManyRequestsException. // -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // -// * AccessDeniedException -// 403 response - You do not have sufficient access to perform this action. +// - AccessDeniedException +// 403 response - You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListControlPanels func (c *Route53RecoveryControlConfig) ListControlPanels(input *ListControlPanelsInput) (*ListControlPanelsOutput, error) { @@ -1606,15 +1604,14 @@ func (c *Route53RecoveryControlConfig) ListControlPanelsWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListControlPanels operation. -// pageNum := 0 -// err := client.ListControlPanelsPages(params, -// func(page *route53recoverycontrolconfig.ListControlPanelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListControlPanels operation. +// pageNum := 0 +// err := client.ListControlPanelsPages(params, +// func(page *route53recoverycontrolconfig.ListControlPanelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryControlConfig) ListControlPanelsPages(input *ListControlPanelsInput, fn func(*ListControlPanelsOutput, bool) bool) error { return c.ListControlPanelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1666,14 +1663,13 @@ const opListRoutingControls = "ListRoutingControls" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRoutingControlsRequest method. +// req, resp := client.ListRoutingControlsRequest(params) // -// // Example sending a request using the ListRoutingControlsRequest method. -// req, resp := client.ListRoutingControlsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListRoutingControls func (c *Route53RecoveryControlConfig) ListRoutingControlsRequest(input *ListRoutingControlsInput) (req *request.Request, output *ListRoutingControlsOutput) { @@ -1713,23 +1709,24 @@ func (c *Route53RecoveryControlConfig) ListRoutingControlsRequest(input *ListRou // API operation ListRoutingControls for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. // -// * ThrottlingException -// 429 response - LimitExceededException or TooManyRequestsException. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. +// +// - ThrottlingException +// 429 response - LimitExceededException or TooManyRequestsException. // -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // -// * AccessDeniedException -// 403 response - You do not have sufficient access to perform this action. +// - AccessDeniedException +// 403 response - You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListRoutingControls func (c *Route53RecoveryControlConfig) ListRoutingControls(input *ListRoutingControlsInput) (*ListRoutingControlsOutput, error) { @@ -1761,15 +1758,14 @@ func (c *Route53RecoveryControlConfig) ListRoutingControlsWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRoutingControls operation. -// pageNum := 0 -// err := client.ListRoutingControlsPages(params, -// func(page *route53recoverycontrolconfig.ListRoutingControlsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRoutingControls operation. +// pageNum := 0 +// err := client.ListRoutingControlsPages(params, +// func(page *route53recoverycontrolconfig.ListRoutingControlsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryControlConfig) ListRoutingControlsPages(input *ListRoutingControlsInput, fn func(*ListRoutingControlsOutput, bool) bool) error { return c.ListRoutingControlsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1821,14 +1817,13 @@ const opListSafetyRules = "ListSafetyRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSafetyRulesRequest method. +// req, resp := client.ListSafetyRulesRequest(params) // -// // Example sending a request using the ListSafetyRulesRequest method. -// req, resp := client.ListSafetyRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListSafetyRules func (c *Route53RecoveryControlConfig) ListSafetyRulesRequest(input *ListSafetyRulesInput) (req *request.Request, output *ListSafetyRulesOutput) { @@ -1866,23 +1861,24 @@ func (c *Route53RecoveryControlConfig) ListSafetyRulesRequest(input *ListSafetyR // API operation ListSafetyRules for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. // -// * ThrottlingException -// 429 response - LimitExceededException or TooManyRequestsException. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. +// +// - ThrottlingException +// 429 response - LimitExceededException or TooManyRequestsException. // -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // -// * AccessDeniedException -// 403 response - You do not have sufficient access to perform this action. +// - AccessDeniedException +// 403 response - You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListSafetyRules func (c *Route53RecoveryControlConfig) ListSafetyRules(input *ListSafetyRulesInput) (*ListSafetyRulesOutput, error) { @@ -1914,15 +1910,14 @@ func (c *Route53RecoveryControlConfig) ListSafetyRulesWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSafetyRules operation. -// pageNum := 0 -// err := client.ListSafetyRulesPages(params, -// func(page *route53recoverycontrolconfig.ListSafetyRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSafetyRules operation. +// pageNum := 0 +// err := client.ListSafetyRulesPages(params, +// func(page *route53recoverycontrolconfig.ListSafetyRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryControlConfig) ListSafetyRulesPages(input *ListSafetyRulesInput, fn func(*ListSafetyRulesOutput, bool) bool) error { return c.ListSafetyRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1974,14 +1969,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListTagsForResource func (c *Route53RecoveryControlConfig) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2012,17 +2006,18 @@ func (c *Route53RecoveryControlConfig) ListTagsForResourceRequest(input *ListTag // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. // -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. +// +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListTagsForResource func (c *Route53RecoveryControlConfig) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2062,14 +2057,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/TagResource func (c *Route53RecoveryControlConfig) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2101,17 +2095,18 @@ func (c *Route53RecoveryControlConfig) TagResourceRequest(input *TagResourceInpu // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. // -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. +// +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/TagResource func (c *Route53RecoveryControlConfig) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2151,14 +2146,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UntagResource func (c *Route53RecoveryControlConfig) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2190,17 +2184,18 @@ func (c *Route53RecoveryControlConfig) UntagResourceRequest(input *UntagResource // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. // -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. +// +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UntagResource func (c *Route53RecoveryControlConfig) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2240,14 +2235,13 @@ const opUpdateControlPanel = "UpdateControlPanel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateControlPanelRequest method. +// req, resp := client.UpdateControlPanelRequest(params) // -// // Example sending a request using the UpdateControlPanelRequest method. -// req, resp := client.UpdateControlPanelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateControlPanel func (c *Route53RecoveryControlConfig) UpdateControlPanelRequest(input *UpdateControlPanelInput) (req *request.Request, output *UpdateControlPanelOutput) { @@ -2279,26 +2273,27 @@ func (c *Route53RecoveryControlConfig) UpdateControlPanelRequest(input *UpdateCo // API operation UpdateControlPanel for usage and error information. // // Returned Error Types: -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. +// +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // -// * AccessDeniedException -// 403 response - You do not have sufficient access to perform this action. +// - AccessDeniedException +// 403 response - You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. // -// * ThrottlingException -// 429 response - LimitExceededException or TooManyRequestsException. +// - ThrottlingException +// 429 response - LimitExceededException or TooManyRequestsException. // -// * ConflictException -// 409 response - ConflictException. You might be using a predefined variable. +// - ConflictException +// 409 response - ConflictException. You might be using a predefined variable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateControlPanel func (c *Route53RecoveryControlConfig) UpdateControlPanel(input *UpdateControlPanelInput) (*UpdateControlPanelOutput, error) { @@ -2338,14 +2333,13 @@ const opUpdateRoutingControl = "UpdateRoutingControl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRoutingControlRequest method. +// req, resp := client.UpdateRoutingControlRequest(params) // -// // Example sending a request using the UpdateRoutingControlRequest method. -// req, resp := client.UpdateRoutingControlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateRoutingControl func (c *Route53RecoveryControlConfig) UpdateRoutingControlRequest(input *UpdateRoutingControlInput) (req *request.Request, output *UpdateRoutingControlOutput) { @@ -2378,26 +2372,27 @@ func (c *Route53RecoveryControlConfig) UpdateRoutingControlRequest(input *Update // API operation UpdateRoutingControl for usage and error information. // // Returned Error Types: -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. // -// * AccessDeniedException -// 403 response - You do not have sufficient access to perform this action. +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. +// - AccessDeniedException +// 403 response - You do not have sufficient access to perform this action. // -// * ThrottlingException -// 429 response - LimitExceededException or TooManyRequestsException. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. // -// * ConflictException -// 409 response - ConflictException. You might be using a predefined variable. +// - ThrottlingException +// 429 response - LimitExceededException or TooManyRequestsException. +// +// - ConflictException +// 409 response - ConflictException. You might be using a predefined variable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateRoutingControl func (c *Route53RecoveryControlConfig) UpdateRoutingControl(input *UpdateRoutingControlInput) (*UpdateRoutingControlOutput, error) { @@ -2437,14 +2432,13 @@ const opUpdateSafetyRule = "UpdateSafetyRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSafetyRuleRequest method. +// req, resp := client.UpdateSafetyRuleRequest(params) // -// // Example sending a request using the UpdateSafetyRuleRequest method. -// req, resp := client.UpdateSafetyRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateSafetyRule func (c *Route53RecoveryControlConfig) UpdateSafetyRuleRequest(input *UpdateSafetyRuleInput) (req *request.Request, output *UpdateSafetyRuleOutput) { @@ -2477,17 +2471,18 @@ func (c *Route53RecoveryControlConfig) UpdateSafetyRuleRequest(input *UpdateSafe // API operation UpdateSafetyRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// 404 response - MalformedQueryString. The query string contains a syntax error -// or resource not found.. // -// * ValidationException -// 400 response - Multiple causes. For example, you might have a malformed query -// string and input parameter might be out of range, or you might have used -// parameters together incorrectly. +// - ResourceNotFoundException +// 404 response - MalformedQueryString. The query string contains a syntax error +// or resource not found.. +// +// - ValidationException +// 400 response - Multiple causes. For example, you might have a malformed query +// string and input parameter might be out of range, or you might have used +// parameters together incorrectly. // -// * InternalServerException -// 500 response - InternalServiceError. Temporary service error. Retry the request. +// - InternalServerException +// 500 response - InternalServiceError. Temporary service error. Retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateSafetyRule func (c *Route53RecoveryControlConfig) UpdateSafetyRule(input *UpdateSafetyRuleInput) (*UpdateSafetyRuleOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/doc.go index 76e2d4392f69..db49c99e18c5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/doc.go @@ -11,7 +11,7 @@ // See route53recoverycontrolconfig package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/route53recoverycontrolconfig/ // -// Using the Client +// # Using the Client // // To contact AWS Route53 Recovery Control Config with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/route53recoverycontrolconfigiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/route53recoverycontrolconfigiface/interface.go index 36ae88b8b90f..870430c19ac4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/route53recoverycontrolconfigiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/route53recoverycontrolconfigiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Route53 Recovery Control Config. -// func myFunc(svc route53recoverycontrolconfigiface.Route53RecoveryControlConfigAPI) bool { -// // Make svc.CreateCluster request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Route53 Recovery Control Config. +// func myFunc(svc route53recoverycontrolconfigiface.Route53RecoveryControlConfigAPI) bool { +// // Make svc.CreateCluster request +// } // -// func main() { -// sess := session.New() -// svc := route53recoverycontrolconfig.New(sess) +// func main() { +// sess := session.New() +// svc := route53recoverycontrolconfig.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRoute53RecoveryControlConfigClient struct { -// route53recoverycontrolconfigiface.Route53RecoveryControlConfigAPI -// } -// func (m *mockRoute53RecoveryControlConfigClient) CreateCluster(input *route53recoverycontrolconfig.CreateClusterInput) (*route53recoverycontrolconfig.CreateClusterOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRoute53RecoveryControlConfigClient struct { +// route53recoverycontrolconfigiface.Route53RecoveryControlConfigAPI +// } +// func (m *mockRoute53RecoveryControlConfigClient) CreateCluster(input *route53recoverycontrolconfig.CreateClusterInput) (*route53recoverycontrolconfig.CreateClusterOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRoute53RecoveryControlConfigClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRoute53RecoveryControlConfigClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/service.go index 787ec4ac85cf..bb3dc75a1c08 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoverycontrolconfig/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Route53RecoveryControlConfig client from just a session. -// svc := route53recoverycontrolconfig.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Route53RecoveryControlConfig client with additional configuration -// svc := route53recoverycontrolconfig.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Route53RecoveryControlConfig client from just a session. +// svc := route53recoverycontrolconfig.New(mySession) +// +// // Create a Route53RecoveryControlConfig client with additional configuration +// svc := route53recoverycontrolconfig.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Route53RecoveryControlConfig { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/api.go index 6f522b8ce569..6d4c90ceace0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/api.go @@ -29,14 +29,13 @@ const opCreateCell = "CreateCell" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCellRequest method. +// req, resp := client.CreateCellRequest(params) // -// // Example sending a request using the CreateCellRequest method. -// req, resp := client.CreateCellRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateCell func (c *Route53RecoveryReadiness) CreateCellRequest(input *CreateCellInput) (req *request.Request, output *CreateCellOutput) { @@ -67,15 +66,16 @@ func (c *Route53RecoveryReadiness) CreateCellRequest(input *CreateCellInput) (re // API operation CreateCell for usage and error information. // // Returned Error Types: -// * ThrottlingException // -// * ValidationException +// - ThrottlingException +// +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * ConflictException +// - ConflictException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateCell func (c *Route53RecoveryReadiness) CreateCell(input *CreateCellInput) (*CreateCellOutput, error) { @@ -115,14 +115,13 @@ const opCreateCrossAccountAuthorization = "CreateCrossAccountAuthorization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCrossAccountAuthorizationRequest method. +// req, resp := client.CreateCrossAccountAuthorizationRequest(params) // -// // Example sending a request using the CreateCrossAccountAuthorizationRequest method. -// req, resp := client.CreateCrossAccountAuthorizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateCrossAccountAuthorization func (c *Route53RecoveryReadiness) CreateCrossAccountAuthorizationRequest(input *CreateCrossAccountAuthorizationInput) (req *request.Request, output *CreateCrossAccountAuthorizationOutput) { @@ -155,15 +154,16 @@ func (c *Route53RecoveryReadiness) CreateCrossAccountAuthorizationRequest(input // API operation CreateCrossAccountAuthorization for usage and error information. // // Returned Error Types: -// * ThrottlingException // -// * ValidationException +// - ThrottlingException // -// * InternalServerException +// - ValidationException // -// * ConflictException +// - InternalServerException // -// * AccessDeniedException +// - ConflictException +// +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateCrossAccountAuthorization func (c *Route53RecoveryReadiness) CreateCrossAccountAuthorization(input *CreateCrossAccountAuthorizationInput) (*CreateCrossAccountAuthorizationOutput, error) { @@ -203,14 +203,13 @@ const opCreateReadinessCheck = "CreateReadinessCheck" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReadinessCheckRequest method. +// req, resp := client.CreateReadinessCheckRequest(params) // -// // Example sending a request using the CreateReadinessCheckRequest method. -// req, resp := client.CreateReadinessCheckRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateReadinessCheck func (c *Route53RecoveryReadiness) CreateReadinessCheckRequest(input *CreateReadinessCheckInput) (req *request.Request, output *CreateReadinessCheckOutput) { @@ -244,15 +243,16 @@ func (c *Route53RecoveryReadiness) CreateReadinessCheckRequest(input *CreateRead // API operation CreateReadinessCheck for usage and error information. // // Returned Error Types: -// * ThrottlingException // -// * ValidationException +// - ThrottlingException // -// * InternalServerException +// - ValidationException // -// * ConflictException +// - InternalServerException // -// * AccessDeniedException +// - ConflictException +// +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateReadinessCheck func (c *Route53RecoveryReadiness) CreateReadinessCheck(input *CreateReadinessCheckInput) (*CreateReadinessCheckOutput, error) { @@ -292,14 +292,13 @@ const opCreateRecoveryGroup = "CreateRecoveryGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRecoveryGroupRequest method. +// req, resp := client.CreateRecoveryGroupRequest(params) // -// // Example sending a request using the CreateRecoveryGroupRequest method. -// req, resp := client.CreateRecoveryGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateRecoveryGroup func (c *Route53RecoveryReadiness) CreateRecoveryGroupRequest(input *CreateRecoveryGroupInput) (req *request.Request, output *CreateRecoveryGroupOutput) { @@ -331,15 +330,16 @@ func (c *Route53RecoveryReadiness) CreateRecoveryGroupRequest(input *CreateRecov // API operation CreateRecoveryGroup for usage and error information. // // Returned Error Types: -// * ThrottlingException // -// * ValidationException +// - ThrottlingException +// +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * ConflictException +// - ConflictException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateRecoveryGroup func (c *Route53RecoveryReadiness) CreateRecoveryGroup(input *CreateRecoveryGroupInput) (*CreateRecoveryGroupOutput, error) { @@ -379,14 +379,13 @@ const opCreateResourceSet = "CreateResourceSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResourceSetRequest method. +// req, resp := client.CreateResourceSetRequest(params) // -// // Example sending a request using the CreateResourceSetRequest method. -// req, resp := client.CreateResourceSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateResourceSet func (c *Route53RecoveryReadiness) CreateResourceSetRequest(input *CreateResourceSetInput) (req *request.Request, output *CreateResourceSetOutput) { @@ -419,15 +418,16 @@ func (c *Route53RecoveryReadiness) CreateResourceSetRequest(input *CreateResourc // API operation CreateResourceSet for usage and error information. // // Returned Error Types: -// * ThrottlingException // -// * ValidationException +// - ThrottlingException +// +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * ConflictException +// - ConflictException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/CreateResourceSet func (c *Route53RecoveryReadiness) CreateResourceSet(input *CreateResourceSetInput) (*CreateResourceSetOutput, error) { @@ -467,14 +467,13 @@ const opDeleteCell = "DeleteCell" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCellRequest method. +// req, resp := client.DeleteCellRequest(params) // -// // Example sending a request using the DeleteCellRequest method. -// req, resp := client.DeleteCellRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteCell func (c *Route53RecoveryReadiness) DeleteCellRequest(input *DeleteCellInput) (req *request.Request, output *DeleteCellOutput) { @@ -507,15 +506,16 @@ func (c *Route53RecoveryReadiness) DeleteCellRequest(input *DeleteCellInput) (re // API operation DeleteCell for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException +// +// - ThrottlingException // -// * ValidationException +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteCell func (c *Route53RecoveryReadiness) DeleteCell(input *DeleteCellInput) (*DeleteCellOutput, error) { @@ -555,14 +555,13 @@ const opDeleteCrossAccountAuthorization = "DeleteCrossAccountAuthorization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCrossAccountAuthorizationRequest method. +// req, resp := client.DeleteCrossAccountAuthorizationRequest(params) // -// // Example sending a request using the DeleteCrossAccountAuthorizationRequest method. -// req, resp := client.DeleteCrossAccountAuthorizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteCrossAccountAuthorization func (c *Route53RecoveryReadiness) DeleteCrossAccountAuthorizationRequest(input *DeleteCrossAccountAuthorizationInput) (req *request.Request, output *DeleteCrossAccountAuthorizationOutput) { @@ -594,13 +593,14 @@ func (c *Route53RecoveryReadiness) DeleteCrossAccountAuthorizationRequest(input // API operation DeleteCrossAccountAuthorization for usage and error information. // // Returned Error Types: -// * ThrottlingException // -// * ValidationException +// - ThrottlingException // -// * InternalServerException +// - ValidationException // -// * AccessDeniedException +// - InternalServerException +// +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteCrossAccountAuthorization func (c *Route53RecoveryReadiness) DeleteCrossAccountAuthorization(input *DeleteCrossAccountAuthorizationInput) (*DeleteCrossAccountAuthorizationOutput, error) { @@ -640,14 +640,13 @@ const opDeleteReadinessCheck = "DeleteReadinessCheck" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReadinessCheckRequest method. +// req, resp := client.DeleteReadinessCheckRequest(params) // -// // Example sending a request using the DeleteReadinessCheckRequest method. -// req, resp := client.DeleteReadinessCheckRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteReadinessCheck func (c *Route53RecoveryReadiness) DeleteReadinessCheckRequest(input *DeleteReadinessCheckInput) (req *request.Request, output *DeleteReadinessCheckOutput) { @@ -679,15 +678,16 @@ func (c *Route53RecoveryReadiness) DeleteReadinessCheckRequest(input *DeleteRead // API operation DeleteReadinessCheck for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException // -// * ValidationException +// - ThrottlingException // -// * InternalServerException +// - ValidationException // -// * AccessDeniedException +// - InternalServerException +// +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteReadinessCheck func (c *Route53RecoveryReadiness) DeleteReadinessCheck(input *DeleteReadinessCheckInput) (*DeleteReadinessCheckOutput, error) { @@ -727,14 +727,13 @@ const opDeleteRecoveryGroup = "DeleteRecoveryGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRecoveryGroupRequest method. +// req, resp := client.DeleteRecoveryGroupRequest(params) // -// // Example sending a request using the DeleteRecoveryGroupRequest method. -// req, resp := client.DeleteRecoveryGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteRecoveryGroup func (c *Route53RecoveryReadiness) DeleteRecoveryGroupRequest(input *DeleteRecoveryGroupInput) (req *request.Request, output *DeleteRecoveryGroupOutput) { @@ -766,15 +765,16 @@ func (c *Route53RecoveryReadiness) DeleteRecoveryGroupRequest(input *DeleteRecov // API operation DeleteRecoveryGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException // -// * ValidationException +// - ThrottlingException // -// * InternalServerException +// - ValidationException // -// * AccessDeniedException +// - InternalServerException +// +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteRecoveryGroup func (c *Route53RecoveryReadiness) DeleteRecoveryGroup(input *DeleteRecoveryGroupInput) (*DeleteRecoveryGroupOutput, error) { @@ -814,14 +814,13 @@ const opDeleteResourceSet = "DeleteResourceSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourceSetRequest method. +// req, resp := client.DeleteResourceSetRequest(params) // -// // Example sending a request using the DeleteResourceSetRequest method. -// req, resp := client.DeleteResourceSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteResourceSet func (c *Route53RecoveryReadiness) DeleteResourceSetRequest(input *DeleteResourceSetInput) (req *request.Request, output *DeleteResourceSetOutput) { @@ -853,15 +852,16 @@ func (c *Route53RecoveryReadiness) DeleteResourceSetRequest(input *DeleteResourc // API operation DeleteResourceSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException // -// * ValidationException +// - ThrottlingException // -// * InternalServerException +// - ValidationException // -// * AccessDeniedException +// - InternalServerException +// +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/DeleteResourceSet func (c *Route53RecoveryReadiness) DeleteResourceSet(input *DeleteResourceSetInput) (*DeleteResourceSetOutput, error) { @@ -901,14 +901,13 @@ const opGetArchitectureRecommendations = "GetArchitectureRecommendations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetArchitectureRecommendationsRequest method. +// req, resp := client.GetArchitectureRecommendationsRequest(params) // -// // Example sending a request using the GetArchitectureRecommendationsRequest method. -// req, resp := client.GetArchitectureRecommendationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetArchitectureRecommendations func (c *Route53RecoveryReadiness) GetArchitectureRecommendationsRequest(input *GetArchitectureRecommendationsInput) (req *request.Request, output *GetArchitectureRecommendationsOutput) { @@ -940,15 +939,16 @@ func (c *Route53RecoveryReadiness) GetArchitectureRecommendationsRequest(input * // API operation GetArchitectureRecommendations for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException +// +// - ThrottlingException // -// * ValidationException +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetArchitectureRecommendations func (c *Route53RecoveryReadiness) GetArchitectureRecommendations(input *GetArchitectureRecommendationsInput) (*GetArchitectureRecommendationsOutput, error) { @@ -988,14 +988,13 @@ const opGetCell = "GetCell" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCellRequest method. +// req, resp := client.GetCellRequest(params) // -// // Example sending a request using the GetCellRequest method. -// req, resp := client.GetCellRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetCell func (c *Route53RecoveryReadiness) GetCellRequest(input *GetCellInput) (req *request.Request, output *GetCellOutput) { @@ -1028,15 +1027,16 @@ func (c *Route53RecoveryReadiness) GetCellRequest(input *GetCellInput) (req *req // API operation GetCell for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException +// +// - ThrottlingException // -// * ValidationException +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetCell func (c *Route53RecoveryReadiness) GetCell(input *GetCellInput) (*GetCellOutput, error) { @@ -1076,14 +1076,13 @@ const opGetCellReadinessSummary = "GetCellReadinessSummary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCellReadinessSummaryRequest method. +// req, resp := client.GetCellReadinessSummaryRequest(params) // -// // Example sending a request using the GetCellReadinessSummaryRequest method. -// req, resp := client.GetCellReadinessSummaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetCellReadinessSummary func (c *Route53RecoveryReadiness) GetCellReadinessSummaryRequest(input *GetCellReadinessSummaryInput) (req *request.Request, output *GetCellReadinessSummaryOutput) { @@ -1121,15 +1120,16 @@ func (c *Route53RecoveryReadiness) GetCellReadinessSummaryRequest(input *GetCell // API operation GetCellReadinessSummary for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException +// +// - ThrottlingException // -// * ValidationException +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetCellReadinessSummary func (c *Route53RecoveryReadiness) GetCellReadinessSummary(input *GetCellReadinessSummaryInput) (*GetCellReadinessSummaryOutput, error) { @@ -1161,15 +1161,14 @@ func (c *Route53RecoveryReadiness) GetCellReadinessSummaryWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetCellReadinessSummary operation. -// pageNum := 0 -// err := client.GetCellReadinessSummaryPages(params, -// func(page *route53recoveryreadiness.GetCellReadinessSummaryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetCellReadinessSummary operation. +// pageNum := 0 +// err := client.GetCellReadinessSummaryPages(params, +// func(page *route53recoveryreadiness.GetCellReadinessSummaryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryReadiness) GetCellReadinessSummaryPages(input *GetCellReadinessSummaryInput, fn func(*GetCellReadinessSummaryOutput, bool) bool) error { return c.GetCellReadinessSummaryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1221,14 +1220,13 @@ const opGetReadinessCheck = "GetReadinessCheck" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReadinessCheckRequest method. +// req, resp := client.GetReadinessCheckRequest(params) // -// // Example sending a request using the GetReadinessCheckRequest method. -// req, resp := client.GetReadinessCheckRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetReadinessCheck func (c *Route53RecoveryReadiness) GetReadinessCheckRequest(input *GetReadinessCheckInput) (req *request.Request, output *GetReadinessCheckOutput) { @@ -1259,15 +1257,16 @@ func (c *Route53RecoveryReadiness) GetReadinessCheckRequest(input *GetReadinessC // API operation GetReadinessCheck for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException // -// * ValidationException +// - ThrottlingException // -// * InternalServerException +// - ValidationException // -// * AccessDeniedException +// - InternalServerException +// +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetReadinessCheck func (c *Route53RecoveryReadiness) GetReadinessCheck(input *GetReadinessCheckInput) (*GetReadinessCheckOutput, error) { @@ -1307,14 +1306,13 @@ const opGetReadinessCheckResourceStatus = "GetReadinessCheckResourceStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReadinessCheckResourceStatusRequest method. +// req, resp := client.GetReadinessCheckResourceStatusRequest(params) // -// // Example sending a request using the GetReadinessCheckResourceStatusRequest method. -// req, resp := client.GetReadinessCheckResourceStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetReadinessCheckResourceStatus func (c *Route53RecoveryReadiness) GetReadinessCheckResourceStatusRequest(input *GetReadinessCheckResourceStatusInput) (req *request.Request, output *GetReadinessCheckResourceStatusOutput) { @@ -1353,15 +1351,16 @@ func (c *Route53RecoveryReadiness) GetReadinessCheckResourceStatusRequest(input // API operation GetReadinessCheckResourceStatus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException +// +// - ThrottlingException // -// * ValidationException +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetReadinessCheckResourceStatus func (c *Route53RecoveryReadiness) GetReadinessCheckResourceStatus(input *GetReadinessCheckResourceStatusInput) (*GetReadinessCheckResourceStatusOutput, error) { @@ -1393,15 +1392,14 @@ func (c *Route53RecoveryReadiness) GetReadinessCheckResourceStatusWithContext(ct // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetReadinessCheckResourceStatus operation. -// pageNum := 0 -// err := client.GetReadinessCheckResourceStatusPages(params, -// func(page *route53recoveryreadiness.GetReadinessCheckResourceStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetReadinessCheckResourceStatus operation. +// pageNum := 0 +// err := client.GetReadinessCheckResourceStatusPages(params, +// func(page *route53recoveryreadiness.GetReadinessCheckResourceStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryReadiness) GetReadinessCheckResourceStatusPages(input *GetReadinessCheckResourceStatusInput, fn func(*GetReadinessCheckResourceStatusOutput, bool) bool) error { return c.GetReadinessCheckResourceStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1453,14 +1451,13 @@ const opGetReadinessCheckStatus = "GetReadinessCheckStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReadinessCheckStatusRequest method. +// req, resp := client.GetReadinessCheckStatusRequest(params) // -// // Example sending a request using the GetReadinessCheckStatusRequest method. -// req, resp := client.GetReadinessCheckStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetReadinessCheckStatus func (c *Route53RecoveryReadiness) GetReadinessCheckStatusRequest(input *GetReadinessCheckStatusInput) (req *request.Request, output *GetReadinessCheckStatusOutput) { @@ -1499,15 +1496,16 @@ func (c *Route53RecoveryReadiness) GetReadinessCheckStatusRequest(input *GetRead // API operation GetReadinessCheckStatus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException // -// * ValidationException +// - ThrottlingException // -// * InternalServerException +// - ValidationException // -// * AccessDeniedException +// - InternalServerException +// +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetReadinessCheckStatus func (c *Route53RecoveryReadiness) GetReadinessCheckStatus(input *GetReadinessCheckStatusInput) (*GetReadinessCheckStatusOutput, error) { @@ -1539,15 +1537,14 @@ func (c *Route53RecoveryReadiness) GetReadinessCheckStatusWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetReadinessCheckStatus operation. -// pageNum := 0 -// err := client.GetReadinessCheckStatusPages(params, -// func(page *route53recoveryreadiness.GetReadinessCheckStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetReadinessCheckStatus operation. +// pageNum := 0 +// err := client.GetReadinessCheckStatusPages(params, +// func(page *route53recoveryreadiness.GetReadinessCheckStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryReadiness) GetReadinessCheckStatusPages(input *GetReadinessCheckStatusInput, fn func(*GetReadinessCheckStatusOutput, bool) bool) error { return c.GetReadinessCheckStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1599,14 +1596,13 @@ const opGetRecoveryGroup = "GetRecoveryGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRecoveryGroupRequest method. +// req, resp := client.GetRecoveryGroupRequest(params) // -// // Example sending a request using the GetRecoveryGroupRequest method. -// req, resp := client.GetRecoveryGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetRecoveryGroup func (c *Route53RecoveryReadiness) GetRecoveryGroupRequest(input *GetRecoveryGroupInput) (req *request.Request, output *GetRecoveryGroupOutput) { @@ -1638,15 +1634,16 @@ func (c *Route53RecoveryReadiness) GetRecoveryGroupRequest(input *GetRecoveryGro // API operation GetRecoveryGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException +// +// - ThrottlingException // -// * ValidationException +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetRecoveryGroup func (c *Route53RecoveryReadiness) GetRecoveryGroup(input *GetRecoveryGroupInput) (*GetRecoveryGroupOutput, error) { @@ -1686,14 +1683,13 @@ const opGetRecoveryGroupReadinessSummary = "GetRecoveryGroupReadinessSummary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRecoveryGroupReadinessSummaryRequest method. +// req, resp := client.GetRecoveryGroupReadinessSummaryRequest(params) // -// // Example sending a request using the GetRecoveryGroupReadinessSummaryRequest method. -// req, resp := client.GetRecoveryGroupReadinessSummaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetRecoveryGroupReadinessSummary func (c *Route53RecoveryReadiness) GetRecoveryGroupReadinessSummaryRequest(input *GetRecoveryGroupReadinessSummaryInput) (req *request.Request, output *GetRecoveryGroupReadinessSummaryOutput) { @@ -1732,15 +1728,16 @@ func (c *Route53RecoveryReadiness) GetRecoveryGroupReadinessSummaryRequest(input // API operation GetRecoveryGroupReadinessSummary for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException +// +// - ThrottlingException // -// * ValidationException +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetRecoveryGroupReadinessSummary func (c *Route53RecoveryReadiness) GetRecoveryGroupReadinessSummary(input *GetRecoveryGroupReadinessSummaryInput) (*GetRecoveryGroupReadinessSummaryOutput, error) { @@ -1772,15 +1769,14 @@ func (c *Route53RecoveryReadiness) GetRecoveryGroupReadinessSummaryWithContext(c // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetRecoveryGroupReadinessSummary operation. -// pageNum := 0 -// err := client.GetRecoveryGroupReadinessSummaryPages(params, -// func(page *route53recoveryreadiness.GetRecoveryGroupReadinessSummaryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetRecoveryGroupReadinessSummary operation. +// pageNum := 0 +// err := client.GetRecoveryGroupReadinessSummaryPages(params, +// func(page *route53recoveryreadiness.GetRecoveryGroupReadinessSummaryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryReadiness) GetRecoveryGroupReadinessSummaryPages(input *GetRecoveryGroupReadinessSummaryInput, fn func(*GetRecoveryGroupReadinessSummaryOutput, bool) bool) error { return c.GetRecoveryGroupReadinessSummaryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1832,14 +1828,13 @@ const opGetResourceSet = "GetResourceSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourceSetRequest method. +// req, resp := client.GetResourceSetRequest(params) // -// // Example sending a request using the GetResourceSetRequest method. -// req, resp := client.GetResourceSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetResourceSet func (c *Route53RecoveryReadiness) GetResourceSetRequest(input *GetResourceSetInput) (req *request.Request, output *GetResourceSetOutput) { @@ -1871,15 +1866,16 @@ func (c *Route53RecoveryReadiness) GetResourceSetRequest(input *GetResourceSetIn // API operation GetResourceSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException +// +// - ThrottlingException // -// * ValidationException +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/GetResourceSet func (c *Route53RecoveryReadiness) GetResourceSet(input *GetResourceSetInput) (*GetResourceSetOutput, error) { @@ -1919,14 +1915,13 @@ const opListCells = "ListCells" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCellsRequest method. +// req, resp := client.ListCellsRequest(params) // -// // Example sending a request using the ListCellsRequest method. -// req, resp := client.ListCellsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListCells func (c *Route53RecoveryReadiness) ListCellsRequest(input *ListCellsInput) (req *request.Request, output *ListCellsOutput) { @@ -1963,13 +1958,14 @@ func (c *Route53RecoveryReadiness) ListCellsRequest(input *ListCellsInput) (req // API operation ListCells for usage and error information. // // Returned Error Types: -// * ThrottlingException // -// * ValidationException +// - ThrottlingException +// +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListCells func (c *Route53RecoveryReadiness) ListCells(input *ListCellsInput) (*ListCellsOutput, error) { @@ -2001,15 +1997,14 @@ func (c *Route53RecoveryReadiness) ListCellsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCells operation. -// pageNum := 0 -// err := client.ListCellsPages(params, -// func(page *route53recoveryreadiness.ListCellsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCells operation. +// pageNum := 0 +// err := client.ListCellsPages(params, +// func(page *route53recoveryreadiness.ListCellsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryReadiness) ListCellsPages(input *ListCellsInput, fn func(*ListCellsOutput, bool) bool) error { return c.ListCellsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2061,14 +2056,13 @@ const opListCrossAccountAuthorizations = "ListCrossAccountAuthorizations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCrossAccountAuthorizationsRequest method. +// req, resp := client.ListCrossAccountAuthorizationsRequest(params) // -// // Example sending a request using the ListCrossAccountAuthorizationsRequest method. -// req, resp := client.ListCrossAccountAuthorizationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListCrossAccountAuthorizations func (c *Route53RecoveryReadiness) ListCrossAccountAuthorizationsRequest(input *ListCrossAccountAuthorizationsInput) (req *request.Request, output *ListCrossAccountAuthorizationsOutput) { @@ -2106,13 +2100,14 @@ func (c *Route53RecoveryReadiness) ListCrossAccountAuthorizationsRequest(input * // API operation ListCrossAccountAuthorizations for usage and error information. // // Returned Error Types: -// * ThrottlingException // -// * ValidationException +// - ThrottlingException +// +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListCrossAccountAuthorizations func (c *Route53RecoveryReadiness) ListCrossAccountAuthorizations(input *ListCrossAccountAuthorizationsInput) (*ListCrossAccountAuthorizationsOutput, error) { @@ -2144,15 +2139,14 @@ func (c *Route53RecoveryReadiness) ListCrossAccountAuthorizationsWithContext(ctx // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCrossAccountAuthorizations operation. -// pageNum := 0 -// err := client.ListCrossAccountAuthorizationsPages(params, -// func(page *route53recoveryreadiness.ListCrossAccountAuthorizationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCrossAccountAuthorizations operation. +// pageNum := 0 +// err := client.ListCrossAccountAuthorizationsPages(params, +// func(page *route53recoveryreadiness.ListCrossAccountAuthorizationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryReadiness) ListCrossAccountAuthorizationsPages(input *ListCrossAccountAuthorizationsInput, fn func(*ListCrossAccountAuthorizationsOutput, bool) bool) error { return c.ListCrossAccountAuthorizationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2204,14 +2198,13 @@ const opListReadinessChecks = "ListReadinessChecks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReadinessChecksRequest method. +// req, resp := client.ListReadinessChecksRequest(params) // -// // Example sending a request using the ListReadinessChecksRequest method. -// req, resp := client.ListReadinessChecksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListReadinessChecks func (c *Route53RecoveryReadiness) ListReadinessChecksRequest(input *ListReadinessChecksInput) (req *request.Request, output *ListReadinessChecksOutput) { @@ -2248,13 +2241,14 @@ func (c *Route53RecoveryReadiness) ListReadinessChecksRequest(input *ListReadine // API operation ListReadinessChecks for usage and error information. // // Returned Error Types: -// * ThrottlingException // -// * ValidationException +// - ThrottlingException +// +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListReadinessChecks func (c *Route53RecoveryReadiness) ListReadinessChecks(input *ListReadinessChecksInput) (*ListReadinessChecksOutput, error) { @@ -2286,15 +2280,14 @@ func (c *Route53RecoveryReadiness) ListReadinessChecksWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListReadinessChecks operation. -// pageNum := 0 -// err := client.ListReadinessChecksPages(params, -// func(page *route53recoveryreadiness.ListReadinessChecksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListReadinessChecks operation. +// pageNum := 0 +// err := client.ListReadinessChecksPages(params, +// func(page *route53recoveryreadiness.ListReadinessChecksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryReadiness) ListReadinessChecksPages(input *ListReadinessChecksInput, fn func(*ListReadinessChecksOutput, bool) bool) error { return c.ListReadinessChecksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2346,14 +2339,13 @@ const opListRecoveryGroups = "ListRecoveryGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRecoveryGroupsRequest method. +// req, resp := client.ListRecoveryGroupsRequest(params) // -// // Example sending a request using the ListRecoveryGroupsRequest method. -// req, resp := client.ListRecoveryGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListRecoveryGroups func (c *Route53RecoveryReadiness) ListRecoveryGroupsRequest(input *ListRecoveryGroupsInput) (req *request.Request, output *ListRecoveryGroupsOutput) { @@ -2390,13 +2382,14 @@ func (c *Route53RecoveryReadiness) ListRecoveryGroupsRequest(input *ListRecovery // API operation ListRecoveryGroups for usage and error information. // // Returned Error Types: -// * ThrottlingException // -// * ValidationException +// - ThrottlingException // -// * InternalServerException +// - ValidationException // -// * AccessDeniedException +// - InternalServerException +// +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListRecoveryGroups func (c *Route53RecoveryReadiness) ListRecoveryGroups(input *ListRecoveryGroupsInput) (*ListRecoveryGroupsOutput, error) { @@ -2428,15 +2421,14 @@ func (c *Route53RecoveryReadiness) ListRecoveryGroupsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRecoveryGroups operation. -// pageNum := 0 -// err := client.ListRecoveryGroupsPages(params, -// func(page *route53recoveryreadiness.ListRecoveryGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRecoveryGroups operation. +// pageNum := 0 +// err := client.ListRecoveryGroupsPages(params, +// func(page *route53recoveryreadiness.ListRecoveryGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryReadiness) ListRecoveryGroupsPages(input *ListRecoveryGroupsInput, fn func(*ListRecoveryGroupsOutput, bool) bool) error { return c.ListRecoveryGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2488,14 +2480,13 @@ const opListResourceSets = "ListResourceSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourceSetsRequest method. +// req, resp := client.ListResourceSetsRequest(params) // -// // Example sending a request using the ListResourceSetsRequest method. -// req, resp := client.ListResourceSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListResourceSets func (c *Route53RecoveryReadiness) ListResourceSetsRequest(input *ListResourceSetsInput) (req *request.Request, output *ListResourceSetsOutput) { @@ -2532,13 +2523,14 @@ func (c *Route53RecoveryReadiness) ListResourceSetsRequest(input *ListResourceSe // API operation ListResourceSets for usage and error information. // // Returned Error Types: -// * ThrottlingException // -// * ValidationException +// - ThrottlingException +// +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListResourceSets func (c *Route53RecoveryReadiness) ListResourceSets(input *ListResourceSetsInput) (*ListResourceSetsOutput, error) { @@ -2570,15 +2562,14 @@ func (c *Route53RecoveryReadiness) ListResourceSetsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResourceSets operation. -// pageNum := 0 -// err := client.ListResourceSetsPages(params, -// func(page *route53recoveryreadiness.ListResourceSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResourceSets operation. +// pageNum := 0 +// err := client.ListResourceSetsPages(params, +// func(page *route53recoveryreadiness.ListResourceSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryReadiness) ListResourceSetsPages(input *ListResourceSetsInput, fn func(*ListResourceSetsOutput, bool) bool) error { return c.ListResourceSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2630,14 +2621,13 @@ const opListRules = "ListRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRulesRequest method. +// req, resp := client.ListRulesRequest(params) // -// // Example sending a request using the ListRulesRequest method. -// req, resp := client.ListRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListRules func (c *Route53RecoveryReadiness) ListRulesRequest(input *ListRulesInput) (req *request.Request, output *ListRulesOutput) { @@ -2675,13 +2665,14 @@ func (c *Route53RecoveryReadiness) ListRulesRequest(input *ListRulesInput) (req // API operation ListRules for usage and error information. // // Returned Error Types: -// * ThrottlingException // -// * ValidationException +// - ThrottlingException +// +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListRules func (c *Route53RecoveryReadiness) ListRules(input *ListRulesInput) (*ListRulesOutput, error) { @@ -2713,15 +2704,14 @@ func (c *Route53RecoveryReadiness) ListRulesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRules operation. -// pageNum := 0 -// err := client.ListRulesPages(params, -// func(page *route53recoveryreadiness.ListRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRules operation. +// pageNum := 0 +// err := client.ListRulesPages(params, +// func(page *route53recoveryreadiness.ListRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53RecoveryReadiness) ListRulesPages(input *ListRulesInput, fn func(*ListRulesOutput, bool) bool) error { return c.ListRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2773,14 +2763,13 @@ const opListTagsForResources = "ListTagsForResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourcesRequest method. +// req, resp := client.ListTagsForResourcesRequest(params) // -// // Example sending a request using the ListTagsForResourcesRequest method. -// req, resp := client.ListTagsForResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListTagsForResources func (c *Route53RecoveryReadiness) ListTagsForResourcesRequest(input *ListTagsForResourcesInput) (req *request.Request, output *ListTagsForResourcesOutput) { @@ -2811,11 +2800,12 @@ func (c *Route53RecoveryReadiness) ListTagsForResourcesRequest(input *ListTagsFo // API operation ListTagsForResources for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ValidationException +// - ResourceNotFoundException // -// * InternalServerException +// - ValidationException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/ListTagsForResources func (c *Route53RecoveryReadiness) ListTagsForResources(input *ListTagsForResourcesInput) (*ListTagsForResourcesOutput, error) { @@ -2855,14 +2845,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/TagResource func (c *Route53RecoveryReadiness) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2894,11 +2883,12 @@ func (c *Route53RecoveryReadiness) TagResourceRequest(input *TagResourceInput) ( // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ValidationException +// - ResourceNotFoundException // -// * InternalServerException +// - ValidationException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/TagResource func (c *Route53RecoveryReadiness) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2938,14 +2928,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UntagResource func (c *Route53RecoveryReadiness) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2977,11 +2966,12 @@ func (c *Route53RecoveryReadiness) UntagResourceRequest(input *UntagResourceInpu // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ValidationException +// - ResourceNotFoundException // -// * InternalServerException +// - ValidationException +// +// - InternalServerException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UntagResource func (c *Route53RecoveryReadiness) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3021,14 +3011,13 @@ const opUpdateCell = "UpdateCell" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCellRequest method. +// req, resp := client.UpdateCellRequest(params) // -// // Example sending a request using the UpdateCellRequest method. -// req, resp := client.UpdateCellRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateCell func (c *Route53RecoveryReadiness) UpdateCellRequest(input *UpdateCellInput) (req *request.Request, output *UpdateCellOutput) { @@ -3060,15 +3049,16 @@ func (c *Route53RecoveryReadiness) UpdateCellRequest(input *UpdateCellInput) (re // API operation UpdateCell for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException +// +// - ThrottlingException // -// * ValidationException +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateCell func (c *Route53RecoveryReadiness) UpdateCell(input *UpdateCellInput) (*UpdateCellOutput, error) { @@ -3108,14 +3098,13 @@ const opUpdateReadinessCheck = "UpdateReadinessCheck" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateReadinessCheckRequest method. +// req, resp := client.UpdateReadinessCheckRequest(params) // -// // Example sending a request using the UpdateReadinessCheckRequest method. -// req, resp := client.UpdateReadinessCheckRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateReadinessCheck func (c *Route53RecoveryReadiness) UpdateReadinessCheckRequest(input *UpdateReadinessCheckInput) (req *request.Request, output *UpdateReadinessCheckOutput) { @@ -3146,15 +3135,16 @@ func (c *Route53RecoveryReadiness) UpdateReadinessCheckRequest(input *UpdateRead // API operation UpdateReadinessCheck for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException +// +// - ThrottlingException // -// * ValidationException +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateReadinessCheck func (c *Route53RecoveryReadiness) UpdateReadinessCheck(input *UpdateReadinessCheckInput) (*UpdateReadinessCheckOutput, error) { @@ -3194,14 +3184,13 @@ const opUpdateRecoveryGroup = "UpdateRecoveryGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRecoveryGroupRequest method. +// req, resp := client.UpdateRecoveryGroupRequest(params) // -// // Example sending a request using the UpdateRecoveryGroupRequest method. -// req, resp := client.UpdateRecoveryGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateRecoveryGroup func (c *Route53RecoveryReadiness) UpdateRecoveryGroupRequest(input *UpdateRecoveryGroupInput) (req *request.Request, output *UpdateRecoveryGroupOutput) { @@ -3232,15 +3221,16 @@ func (c *Route53RecoveryReadiness) UpdateRecoveryGroupRequest(input *UpdateRecov // API operation UpdateRecoveryGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException +// +// - ThrottlingException // -// * ValidationException +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateRecoveryGroup func (c *Route53RecoveryReadiness) UpdateRecoveryGroup(input *UpdateRecoveryGroupInput) (*UpdateRecoveryGroupOutput, error) { @@ -3280,14 +3270,13 @@ const opUpdateResourceSet = "UpdateResourceSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResourceSetRequest method. +// req, resp := client.UpdateResourceSetRequest(params) // -// // Example sending a request using the UpdateResourceSetRequest method. -// req, resp := client.UpdateResourceSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateResourceSet func (c *Route53RecoveryReadiness) UpdateResourceSetRequest(input *UpdateResourceSetInput) (req *request.Request, output *UpdateResourceSetOutput) { @@ -3318,15 +3307,16 @@ func (c *Route53RecoveryReadiness) UpdateResourceSetRequest(input *UpdateResourc // API operation UpdateResourceSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException // -// * ThrottlingException +// - ResourceNotFoundException +// +// - ThrottlingException // -// * ValidationException +// - ValidationException // -// * InternalServerException +// - InternalServerException // -// * AccessDeniedException +// - AccessDeniedException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02/UpdateResourceSet func (c *Route53RecoveryReadiness) UpdateResourceSet(input *UpdateResourceSetInput) (*UpdateResourceSetOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/doc.go index dc814a61ee54..0e2b8a7272a4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/doc.go @@ -3,14 +3,14 @@ // Package route53recoveryreadiness provides the client and types for making API // requests to AWS Route53 Recovery Readiness. // -// Recovery readiness +// # Recovery readiness // // See https://docs.aws.amazon.com/goto/WebAPI/route53-recovery-readiness-2019-12-02 for more information on this service. // // See route53recoveryreadiness package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/route53recoveryreadiness/ // -// Using the Client +// # Using the Client // // To contact AWS Route53 Recovery Readiness with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/route53recoveryreadinessiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/route53recoveryreadinessiface/interface.go index 76e22ba79a53..acc285c83052 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/route53recoveryreadinessiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/route53recoveryreadinessiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Route53 Recovery Readiness. -// func myFunc(svc route53recoveryreadinessiface.Route53RecoveryReadinessAPI) bool { -// // Make svc.CreateCell request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Route53 Recovery Readiness. +// func myFunc(svc route53recoveryreadinessiface.Route53RecoveryReadinessAPI) bool { +// // Make svc.CreateCell request +// } // -// func main() { -// sess := session.New() -// svc := route53recoveryreadiness.New(sess) +// func main() { +// sess := session.New() +// svc := route53recoveryreadiness.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRoute53RecoveryReadinessClient struct { -// route53recoveryreadinessiface.Route53RecoveryReadinessAPI -// } -// func (m *mockRoute53RecoveryReadinessClient) CreateCell(input *route53recoveryreadiness.CreateCellInput) (*route53recoveryreadiness.CreateCellOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRoute53RecoveryReadinessClient struct { +// route53recoveryreadinessiface.Route53RecoveryReadinessAPI +// } +// func (m *mockRoute53RecoveryReadinessClient) CreateCell(input *route53recoveryreadiness.CreateCellInput) (*route53recoveryreadiness.CreateCellOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRoute53RecoveryReadinessClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRoute53RecoveryReadinessClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/service.go index 1caa7db587a9..7c25a447f26e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53recoveryreadiness/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Route53RecoveryReadiness client from just a session. -// svc := route53recoveryreadiness.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Route53RecoveryReadiness client with additional configuration -// svc := route53recoveryreadiness.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Route53RecoveryReadiness client from just a session. +// svc := route53recoveryreadiness.New(mySession) +// +// // Create a Route53RecoveryReadiness client with additional configuration +// svc := route53recoveryreadiness.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Route53RecoveryReadiness { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/api.go index 070d7827e1e4..d2be396f04f2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/api.go @@ -28,14 +28,13 @@ const opAssociateFirewallRuleGroup = "AssociateFirewallRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateFirewallRuleGroupRequest method. +// req, resp := client.AssociateFirewallRuleGroupRequest(params) // -// // Example sending a request using the AssociateFirewallRuleGroupRequest method. -// req, resp := client.AssociateFirewallRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateFirewallRuleGroup func (c *Route53Resolver) AssociateFirewallRuleGroupRequest(input *AssociateFirewallRuleGroupInput) (req *request.Request, output *AssociateFirewallRuleGroupOutput) { @@ -67,25 +66,26 @@ func (c *Route53Resolver) AssociateFirewallRuleGroupRequest(input *AssociateFire // API operation AssociateFirewallRuleGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * ValidationException +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - ValidationException // -// * LimitExceededException -// The request caused one or more limits to be exceeded. +// - LimitExceededException +// The request caused one or more limits to be exceeded. // -// * ConflictException +// - ConflictException // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateFirewallRuleGroup func (c *Route53Resolver) AssociateFirewallRuleGroup(input *AssociateFirewallRuleGroupInput) (*AssociateFirewallRuleGroupOutput, error) { @@ -125,14 +125,13 @@ const opAssociateResolverEndpointIpAddress = "AssociateResolverEndpointIpAddress // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateResolverEndpointIpAddressRequest method. +// req, resp := client.AssociateResolverEndpointIpAddressRequest(params) // -// // Example sending a request using the AssociateResolverEndpointIpAddressRequest method. -// req, resp := client.AssociateResolverEndpointIpAddressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverEndpointIpAddress func (c *Route53Resolver) AssociateResolverEndpointIpAddressRequest(input *AssociateResolverEndpointIpAddressInput) (req *request.Request, output *AssociateResolverEndpointIpAddressOutput) { @@ -168,26 +167,27 @@ func (c *Route53Resolver) AssociateResolverEndpointIpAddressRequest(input *Assoc // API operation AssociateResolverEndpointIpAddress for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InvalidRequestException -// The request is invalid. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * ResourceExistsException -// The resource that you tried to create already exists. +// - InvalidRequestException +// The request is invalid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - ResourceExistsException +// The resource that you tried to create already exists. // -// * LimitExceededException -// The request caused one or more limits to be exceeded. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - LimitExceededException +// The request caused one or more limits to be exceeded. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverEndpointIpAddress func (c *Route53Resolver) AssociateResolverEndpointIpAddress(input *AssociateResolverEndpointIpAddressInput) (*AssociateResolverEndpointIpAddressOutput, error) { @@ -227,14 +227,13 @@ const opAssociateResolverQueryLogConfig = "AssociateResolverQueryLogConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateResolverQueryLogConfigRequest method. +// req, resp := client.AssociateResolverQueryLogConfigRequest(params) // -// // Example sending a request using the AssociateResolverQueryLogConfigRequest method. -// req, resp := client.AssociateResolverQueryLogConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverQueryLogConfig func (c *Route53Resolver) AssociateResolverQueryLogConfigRequest(input *AssociateResolverQueryLogConfigInput) (req *request.Request, output *AssociateResolverQueryLogConfigOutput) { @@ -275,30 +274,31 @@ func (c *Route53Resolver) AssociateResolverQueryLogConfigRequest(input *Associat // API operation AssociateResolverQueryLogConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in this request are not valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InvalidRequestException -// The request is invalid. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * ResourceExistsException -// The resource that you tried to create already exists. +// - InvalidRequestException +// The request is invalid. // -// * LimitExceededException -// The request caused one or more limits to be exceeded. +// - ResourceExistsException +// The resource that you tried to create already exists. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - LimitExceededException +// The request caused one or more limits to be exceeded. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. +// +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverQueryLogConfig func (c *Route53Resolver) AssociateResolverQueryLogConfig(input *AssociateResolverQueryLogConfigInput) (*AssociateResolverQueryLogConfigOutput, error) { @@ -338,14 +338,13 @@ const opAssociateResolverRule = "AssociateResolverRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateResolverRuleRequest method. +// req, resp := client.AssociateResolverRuleRequest(params) // -// // Example sending a request using the AssociateResolverRuleRequest method. -// req, resp := client.AssociateResolverRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverRule func (c *Route53Resolver) AssociateResolverRuleRequest(input *AssociateResolverRuleInput) (req *request.Request, output *AssociateResolverRuleOutput) { @@ -380,29 +379,30 @@ func (c *Route53Resolver) AssociateResolverRuleRequest(input *AssociateResolverR // API operation AssociateResolverRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidRequestException -// The request is invalid. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * LimitExceededException -// The request caused one or more limits to be exceeded. +// - InvalidRequestException +// The request is invalid. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - LimitExceededException +// The request caused one or more limits to be exceeded. // -// * ResourceUnavailableException -// The specified resource isn't available. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * ResourceExistsException -// The resource that you tried to create already exists. +// - ResourceUnavailableException +// The specified resource isn't available. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - ResourceExistsException +// The resource that you tried to create already exists. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverRule func (c *Route53Resolver) AssociateResolverRule(input *AssociateResolverRuleInput) (*AssociateResolverRuleOutput, error) { @@ -442,14 +442,13 @@ const opCreateFirewallDomainList = "CreateFirewallDomainList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFirewallDomainListRequest method. +// req, resp := client.CreateFirewallDomainListRequest(params) // -// // Example sending a request using the CreateFirewallDomainListRequest method. -// req, resp := client.CreateFirewallDomainListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateFirewallDomainList func (c *Route53Resolver) CreateFirewallDomainListRequest(input *CreateFirewallDomainListInput) (req *request.Request, output *CreateFirewallDomainListOutput) { @@ -482,20 +481,21 @@ func (c *Route53Resolver) CreateFirewallDomainListRequest(input *CreateFirewallD // API operation CreateFirewallDomainList for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The request caused one or more limits to be exceeded. // -// * ValidationException +// - LimitExceededException +// The request caused one or more limits to be exceeded. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ValidationException // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateFirewallDomainList func (c *Route53Resolver) CreateFirewallDomainList(input *CreateFirewallDomainListInput) (*CreateFirewallDomainListOutput, error) { @@ -535,14 +535,13 @@ const opCreateFirewallRule = "CreateFirewallRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFirewallRuleRequest method. +// req, resp := client.CreateFirewallRuleRequest(params) // -// // Example sending a request using the CreateFirewallRuleRequest method. -// req, resp := client.CreateFirewallRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateFirewallRule func (c *Route53Resolver) CreateFirewallRuleRequest(input *CreateFirewallRuleInput) (req *request.Request, output *CreateFirewallRuleOutput) { @@ -574,23 +573,24 @@ func (c *Route53Resolver) CreateFirewallRuleRequest(input *CreateFirewallRuleInp // API operation CreateFirewallRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * ValidationException +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - ValidationException // -// * LimitExceededException -// The request caused one or more limits to be exceeded. +// - LimitExceededException +// The request caused one or more limits to be exceeded. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateFirewallRule func (c *Route53Resolver) CreateFirewallRule(input *CreateFirewallRuleInput) (*CreateFirewallRuleOutput, error) { @@ -630,14 +630,13 @@ const opCreateFirewallRuleGroup = "CreateFirewallRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFirewallRuleGroupRequest method. +// req, resp := client.CreateFirewallRuleGroupRequest(params) // -// // Example sending a request using the CreateFirewallRuleGroupRequest method. -// req, resp := client.CreateFirewallRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateFirewallRuleGroup func (c *Route53Resolver) CreateFirewallRuleGroupRequest(input *CreateFirewallRuleGroupInput) (req *request.Request, output *CreateFirewallRuleGroupOutput) { @@ -669,20 +668,21 @@ func (c *Route53Resolver) CreateFirewallRuleGroupRequest(input *CreateFirewallRu // API operation CreateFirewallRuleGroup for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The request caused one or more limits to be exceeded. // -// * ValidationException +// - LimitExceededException +// The request caused one or more limits to be exceeded. +// +// - ValidationException // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateFirewallRuleGroup func (c *Route53Resolver) CreateFirewallRuleGroup(input *CreateFirewallRuleGroupInput) (*CreateFirewallRuleGroupOutput, error) { @@ -722,14 +722,13 @@ const opCreateResolverEndpoint = "CreateResolverEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResolverEndpointRequest method. +// req, resp := client.CreateResolverEndpointRequest(params) // -// // Example sending a request using the CreateResolverEndpointRequest method. -// req, resp := client.CreateResolverEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverEndpoint func (c *Route53Resolver) CreateResolverEndpointRequest(input *CreateResolverEndpointInput) (req *request.Request, output *CreateResolverEndpointOutput) { @@ -753,11 +752,11 @@ func (c *Route53Resolver) CreateResolverEndpointRequest(input *CreateResolverEnd // Creates a Resolver endpoint. There are two types of Resolver endpoints, inbound // and outbound: // -// * An inbound Resolver endpoint forwards DNS queries to the DNS service -// for a VPC from your network. +// - An inbound Resolver endpoint forwards DNS queries to the DNS service +// for a VPC from your network. // -// * An outbound Resolver endpoint forwards DNS queries from the DNS service -// for a VPC to your network. +// - An outbound Resolver endpoint forwards DNS queries from the DNS service +// for a VPC to your network. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -767,26 +766,27 @@ func (c *Route53Resolver) CreateResolverEndpointRequest(input *CreateResolverEnd // API operation CreateResolverEndpoint for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in this request are not valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in this request are not valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InvalidRequestException -// The request is invalid. +// - InvalidRequestException +// The request is invalid. // -// * ResourceExistsException -// The resource that you tried to create already exists. +// - ResourceExistsException +// The resource that you tried to create already exists. // -// * LimitExceededException -// The request caused one or more limits to be exceeded. +// - LimitExceededException +// The request caused one or more limits to be exceeded. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverEndpoint func (c *Route53Resolver) CreateResolverEndpoint(input *CreateResolverEndpointInput) (*CreateResolverEndpointOutput, error) { @@ -826,14 +826,13 @@ const opCreateResolverQueryLogConfig = "CreateResolverQueryLogConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResolverQueryLogConfigRequest method. +// req, resp := client.CreateResolverQueryLogConfigRequest(params) // -// // Example sending a request using the CreateResolverQueryLogConfigRequest method. -// req, resp := client.CreateResolverQueryLogConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverQueryLogConfig func (c *Route53Resolver) CreateResolverQueryLogConfigRequest(input *CreateResolverQueryLogConfigInput) (req *request.Request, output *CreateResolverQueryLogConfigOutput) { @@ -876,30 +875,31 @@ func (c *Route53Resolver) CreateResolverQueryLogConfigRequest(input *CreateResol // API operation CreateResolverQueryLogConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in this request are not valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in this request are not valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InvalidRequestException -// The request is invalid. +// - InvalidRequestException +// The request is invalid. // -// * ResourceExistsException -// The resource that you tried to create already exists. +// - ResourceExistsException +// The resource that you tried to create already exists. // -// * LimitExceededException -// The request caused one or more limits to be exceeded. +// - LimitExceededException +// The request caused one or more limits to be exceeded. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverQueryLogConfig func (c *Route53Resolver) CreateResolverQueryLogConfig(input *CreateResolverQueryLogConfigInput) (*CreateResolverQueryLogConfigOutput, error) { @@ -939,14 +939,13 @@ const opCreateResolverRule = "CreateResolverRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResolverRuleRequest method. +// req, resp := client.CreateResolverRuleRequest(params) // -// // Example sending a request using the CreateResolverRuleRequest method. -// req, resp := client.CreateResolverRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverRule func (c *Route53Resolver) CreateResolverRuleRequest(input *CreateResolverRuleInput) (req *request.Request, output *CreateResolverRuleOutput) { @@ -979,29 +978,30 @@ func (c *Route53Resolver) CreateResolverRuleRequest(input *CreateResolverRuleInp // API operation CreateResolverRule for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in this request are not valid. // -// * InvalidRequestException -// The request is invalid. +// - InvalidParameterException +// One or more parameters in this request are not valid. +// +// - InvalidRequestException +// The request is invalid. // -// * LimitExceededException -// The request caused one or more limits to be exceeded. +// - LimitExceededException +// The request caused one or more limits to be exceeded. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * ResourceExistsException -// The resource that you tried to create already exists. +// - ResourceExistsException +// The resource that you tried to create already exists. // -// * ResourceUnavailableException -// The specified resource isn't available. +// - ResourceUnavailableException +// The specified resource isn't available. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverRule func (c *Route53Resolver) CreateResolverRule(input *CreateResolverRuleInput) (*CreateResolverRuleOutput, error) { @@ -1041,14 +1041,13 @@ const opDeleteFirewallDomainList = "DeleteFirewallDomainList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFirewallDomainListRequest method. +// req, resp := client.DeleteFirewallDomainListRequest(params) // -// // Example sending a request using the DeleteFirewallDomainListRequest method. -// req, resp := client.DeleteFirewallDomainListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteFirewallDomainList func (c *Route53Resolver) DeleteFirewallDomainListRequest(input *DeleteFirewallDomainListInput) (req *request.Request, output *DeleteFirewallDomainListOutput) { @@ -1079,20 +1078,21 @@ func (c *Route53Resolver) DeleteFirewallDomainListRequest(input *DeleteFirewallD // API operation DeleteFirewallDomainList for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * ConflictException +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ConflictException // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteFirewallDomainList func (c *Route53Resolver) DeleteFirewallDomainList(input *DeleteFirewallDomainListInput) (*DeleteFirewallDomainListOutput, error) { @@ -1132,14 +1132,13 @@ const opDeleteFirewallRule = "DeleteFirewallRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFirewallRuleRequest method. +// req, resp := client.DeleteFirewallRuleRequest(params) // -// // Example sending a request using the DeleteFirewallRuleRequest method. -// req, resp := client.DeleteFirewallRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteFirewallRule func (c *Route53Resolver) DeleteFirewallRuleRequest(input *DeleteFirewallRuleInput) (req *request.Request, output *DeleteFirewallRuleOutput) { @@ -1170,18 +1169,19 @@ func (c *Route53Resolver) DeleteFirewallRuleRequest(input *DeleteFirewallRuleInp // API operation DeleteFirewallRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteFirewallRule func (c *Route53Resolver) DeleteFirewallRule(input *DeleteFirewallRuleInput) (*DeleteFirewallRuleOutput, error) { @@ -1221,14 +1221,13 @@ const opDeleteFirewallRuleGroup = "DeleteFirewallRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFirewallRuleGroupRequest method. +// req, resp := client.DeleteFirewallRuleGroupRequest(params) // -// // Example sending a request using the DeleteFirewallRuleGroupRequest method. -// req, resp := client.DeleteFirewallRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteFirewallRuleGroup func (c *Route53Resolver) DeleteFirewallRuleGroupRequest(input *DeleteFirewallRuleGroupInput) (req *request.Request, output *DeleteFirewallRuleGroupOutput) { @@ -1259,22 +1258,23 @@ func (c *Route53Resolver) DeleteFirewallRuleGroupRequest(input *DeleteFirewallRu // API operation DeleteFirewallRuleGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * ConflictException +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * ValidationException +// - ConflictException // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ValidationException // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteFirewallRuleGroup func (c *Route53Resolver) DeleteFirewallRuleGroup(input *DeleteFirewallRuleGroupInput) (*DeleteFirewallRuleGroupOutput, error) { @@ -1314,14 +1314,13 @@ const opDeleteResolverEndpoint = "DeleteResolverEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResolverEndpointRequest method. +// req, resp := client.DeleteResolverEndpointRequest(params) // -// // Example sending a request using the DeleteResolverEndpointRequest method. -// req, resp := client.DeleteResolverEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverEndpoint func (c *Route53Resolver) DeleteResolverEndpointRequest(input *DeleteResolverEndpointInput) (req *request.Request, output *DeleteResolverEndpointOutput) { @@ -1345,10 +1344,10 @@ func (c *Route53Resolver) DeleteResolverEndpointRequest(input *DeleteResolverEnd // Deletes a Resolver endpoint. The effect of deleting a Resolver endpoint depends // on whether it's an inbound or an outbound Resolver endpoint: // -// * Inbound: DNS queries from your network are no longer routed to the DNS -// service for the specified VPC. +// - Inbound: DNS queries from your network are no longer routed to the DNS +// service for the specified VPC. // -// * Outbound: DNS queries from a VPC are no longer routed to your network. +// - Outbound: DNS queries from a VPC are no longer routed to your network. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1358,20 +1357,21 @@ func (c *Route53Resolver) DeleteResolverEndpointRequest(input *DeleteResolverEnd // API operation DeleteResolverEndpoint for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InvalidRequestException -// The request is invalid. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InvalidRequestException +// The request is invalid. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverEndpoint func (c *Route53Resolver) DeleteResolverEndpoint(input *DeleteResolverEndpointInput) (*DeleteResolverEndpointOutput, error) { @@ -1411,14 +1411,13 @@ const opDeleteResolverQueryLogConfig = "DeleteResolverQueryLogConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResolverQueryLogConfigRequest method. +// req, resp := client.DeleteResolverQueryLogConfigRequest(params) // -// // Example sending a request using the DeleteResolverQueryLogConfigRequest method. -// req, resp := client.DeleteResolverQueryLogConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverQueryLogConfig func (c *Route53Resolver) DeleteResolverQueryLogConfigRequest(input *DeleteResolverQueryLogConfigInput) (req *request.Request, output *DeleteResolverQueryLogConfigOutput) { @@ -1463,24 +1462,25 @@ func (c *Route53Resolver) DeleteResolverQueryLogConfigRequest(input *DeleteResol // API operation DeleteResolverQueryLogConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InvalidRequestException -// The request is invalid. +// - InvalidRequestException +// The request is invalid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverQueryLogConfig func (c *Route53Resolver) DeleteResolverQueryLogConfig(input *DeleteResolverQueryLogConfigInput) (*DeleteResolverQueryLogConfigOutput, error) { @@ -1520,14 +1520,13 @@ const opDeleteResolverRule = "DeleteResolverRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResolverRuleRequest method. +// req, resp := client.DeleteResolverRuleRequest(params) // -// // Example sending a request using the DeleteResolverRuleRequest method. -// req, resp := client.DeleteResolverRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRule func (c *Route53Resolver) DeleteResolverRuleRequest(input *DeleteResolverRuleInput) (req *request.Request, output *DeleteResolverRuleOutput) { @@ -1560,20 +1559,21 @@ func (c *Route53Resolver) DeleteResolverRuleRequest(input *DeleteResolverRuleInp // API operation DeleteResolverRule for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in this request are not valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in this request are not valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * ResourceInUseException -// The resource that you tried to update or delete is currently in use. +// - ResourceInUseException +// The resource that you tried to update or delete is currently in use. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverRule func (c *Route53Resolver) DeleteResolverRule(input *DeleteResolverRuleInput) (*DeleteResolverRuleOutput, error) { @@ -1613,14 +1613,13 @@ const opDisassociateFirewallRuleGroup = "DisassociateFirewallRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateFirewallRuleGroupRequest method. +// req, resp := client.DisassociateFirewallRuleGroupRequest(params) // -// // Example sending a request using the DisassociateFirewallRuleGroupRequest method. -// req, resp := client.DisassociateFirewallRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateFirewallRuleGroup func (c *Route53Resolver) DisassociateFirewallRuleGroupRequest(input *DisassociateFirewallRuleGroupInput) (req *request.Request, output *DisassociateFirewallRuleGroupOutput) { @@ -1652,22 +1651,23 @@ func (c *Route53Resolver) DisassociateFirewallRuleGroupRequest(input *Disassocia // API operation DisassociateFirewallRuleGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * ValidationException +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - ValidationException // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * ConflictException +// - ConflictException // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateFirewallRuleGroup func (c *Route53Resolver) DisassociateFirewallRuleGroup(input *DisassociateFirewallRuleGroupInput) (*DisassociateFirewallRuleGroupOutput, error) { @@ -1707,14 +1707,13 @@ const opDisassociateResolverEndpointIpAddress = "DisassociateResolverEndpointIpA // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateResolverEndpointIpAddressRequest method. +// req, resp := client.DisassociateResolverEndpointIpAddressRequest(params) // -// // Example sending a request using the DisassociateResolverEndpointIpAddressRequest method. -// req, resp := client.DisassociateResolverEndpointIpAddressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverEndpointIpAddress func (c *Route53Resolver) DisassociateResolverEndpointIpAddressRequest(input *DisassociateResolverEndpointIpAddressInput) (req *request.Request, output *DisassociateResolverEndpointIpAddressOutput) { @@ -1750,23 +1749,24 @@ func (c *Route53Resolver) DisassociateResolverEndpointIpAddressRequest(input *Di // API operation DisassociateResolverEndpointIpAddress for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InvalidRequestException -// The request is invalid. +// - InvalidRequestException +// The request is invalid. // -// * ResourceExistsException -// The resource that you tried to create already exists. +// - ResourceExistsException +// The resource that you tried to create already exists. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverEndpointIpAddress func (c *Route53Resolver) DisassociateResolverEndpointIpAddress(input *DisassociateResolverEndpointIpAddressInput) (*DisassociateResolverEndpointIpAddressOutput, error) { @@ -1806,14 +1806,13 @@ const opDisassociateResolverQueryLogConfig = "DisassociateResolverQueryLogConfig // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateResolverQueryLogConfigRequest method. +// req, resp := client.DisassociateResolverQueryLogConfigRequest(params) // -// // Example sending a request using the DisassociateResolverQueryLogConfigRequest method. -// req, resp := client.DisassociateResolverQueryLogConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverQueryLogConfig func (c *Route53Resolver) DisassociateResolverQueryLogConfigRequest(input *DisassociateResolverQueryLogConfigInput) (req *request.Request, output *DisassociateResolverQueryLogConfigOutput) { @@ -1841,10 +1840,10 @@ func (c *Route53Resolver) DisassociateResolverQueryLogConfigRequest(input *Disas // to share a query logging configuration with other accounts, VPCs can be disassociated // from the configuration in the following ways: // -// * The accounts that you shared the configuration with can disassociate -// VPCs from the configuration. +// - The accounts that you shared the configuration with can disassociate +// VPCs from the configuration. // -// * You can stop sharing the configuration. +// - You can stop sharing the configuration. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1854,24 +1853,25 @@ func (c *Route53Resolver) DisassociateResolverQueryLogConfigRequest(input *Disas // API operation DisassociateResolverQueryLogConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InvalidRequestException -// The request is invalid. +// - InvalidRequestException +// The request is invalid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverQueryLogConfig func (c *Route53Resolver) DisassociateResolverQueryLogConfig(input *DisassociateResolverQueryLogConfigInput) (*DisassociateResolverQueryLogConfigOutput, error) { @@ -1911,14 +1911,13 @@ const opDisassociateResolverRule = "DisassociateResolverRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateResolverRuleRequest method. +// req, resp := client.DisassociateResolverRuleRequest(params) // -// // Example sending a request using the DisassociateResolverRuleRequest method. -// req, resp := client.DisassociateResolverRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverRule func (c *Route53Resolver) DisassociateResolverRuleRequest(input *DisassociateResolverRuleInput) (req *request.Request, output *DisassociateResolverRuleOutput) { @@ -1953,17 +1952,18 @@ func (c *Route53Resolver) DisassociateResolverRuleRequest(input *DisassociateRes // API operation DisassociateResolverRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverRule func (c *Route53Resolver) DisassociateResolverRule(input *DisassociateResolverRuleInput) (*DisassociateResolverRuleOutput, error) { @@ -2003,14 +2003,13 @@ const opGetFirewallConfig = "GetFirewallConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFirewallConfigRequest method. +// req, resp := client.GetFirewallConfigRequest(params) // -// // Example sending a request using the GetFirewallConfigRequest method. -// req, resp := client.GetFirewallConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetFirewallConfig func (c *Route53Resolver) GetFirewallConfigRequest(input *GetFirewallConfigInput) (req *request.Request, output *GetFirewallConfigOutput) { @@ -2042,20 +2041,21 @@ func (c *Route53Resolver) GetFirewallConfigRequest(input *GetFirewallConfigInput // API operation GetFirewallConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ValidationException +// - ThrottlingException +// The request was throttled. Try again in a few minutes. +// +// - ValidationException // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetFirewallConfig func (c *Route53Resolver) GetFirewallConfig(input *GetFirewallConfigInput) (*GetFirewallConfigOutput, error) { @@ -2095,14 +2095,13 @@ const opGetFirewallDomainList = "GetFirewallDomainList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFirewallDomainListRequest method. +// req, resp := client.GetFirewallDomainListRequest(params) // -// // Example sending a request using the GetFirewallDomainListRequest method. -// req, resp := client.GetFirewallDomainListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetFirewallDomainList func (c *Route53Resolver) GetFirewallDomainListRequest(input *GetFirewallDomainListInput) (req *request.Request, output *GetFirewallDomainListOutput) { @@ -2133,18 +2132,19 @@ func (c *Route53Resolver) GetFirewallDomainListRequest(input *GetFirewallDomainL // API operation GetFirewallDomainList for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetFirewallDomainList func (c *Route53Resolver) GetFirewallDomainList(input *GetFirewallDomainListInput) (*GetFirewallDomainListOutput, error) { @@ -2184,14 +2184,13 @@ const opGetFirewallRuleGroup = "GetFirewallRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFirewallRuleGroupRequest method. +// req, resp := client.GetFirewallRuleGroupRequest(params) // -// // Example sending a request using the GetFirewallRuleGroupRequest method. -// req, resp := client.GetFirewallRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetFirewallRuleGroup func (c *Route53Resolver) GetFirewallRuleGroupRequest(input *GetFirewallRuleGroupInput) (req *request.Request, output *GetFirewallRuleGroupOutput) { @@ -2222,18 +2221,19 @@ func (c *Route53Resolver) GetFirewallRuleGroupRequest(input *GetFirewallRuleGrou // API operation GetFirewallRuleGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetFirewallRuleGroup func (c *Route53Resolver) GetFirewallRuleGroup(input *GetFirewallRuleGroupInput) (*GetFirewallRuleGroupOutput, error) { @@ -2273,14 +2273,13 @@ const opGetFirewallRuleGroupAssociation = "GetFirewallRuleGroupAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFirewallRuleGroupAssociationRequest method. +// req, resp := client.GetFirewallRuleGroupAssociationRequest(params) // -// // Example sending a request using the GetFirewallRuleGroupAssociationRequest method. -// req, resp := client.GetFirewallRuleGroupAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetFirewallRuleGroupAssociation func (c *Route53Resolver) GetFirewallRuleGroupAssociationRequest(input *GetFirewallRuleGroupAssociationInput) (req *request.Request, output *GetFirewallRuleGroupAssociationOutput) { @@ -2314,18 +2313,19 @@ func (c *Route53Resolver) GetFirewallRuleGroupAssociationRequest(input *GetFirew // API operation GetFirewallRuleGroupAssociation for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetFirewallRuleGroupAssociation func (c *Route53Resolver) GetFirewallRuleGroupAssociation(input *GetFirewallRuleGroupAssociationInput) (*GetFirewallRuleGroupAssociationOutput, error) { @@ -2365,14 +2365,13 @@ const opGetFirewallRuleGroupPolicy = "GetFirewallRuleGroupPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFirewallRuleGroupPolicyRequest method. +// req, resp := client.GetFirewallRuleGroupPolicyRequest(params) // -// // Example sending a request using the GetFirewallRuleGroupPolicyRequest method. -// req, resp := client.GetFirewallRuleGroupPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetFirewallRuleGroupPolicy func (c *Route53Resolver) GetFirewallRuleGroupPolicyRequest(input *GetFirewallRuleGroupPolicyInput) (req *request.Request, output *GetFirewallRuleGroupPolicyOutput) { @@ -2405,20 +2404,21 @@ func (c *Route53Resolver) GetFirewallRuleGroupPolicyRequest(input *GetFirewallRu // API operation GetFirewallRuleGroupPolicy for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - ValidationException +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetFirewallRuleGroupPolicy func (c *Route53Resolver) GetFirewallRuleGroupPolicy(input *GetFirewallRuleGroupPolicyInput) (*GetFirewallRuleGroupPolicyOutput, error) { @@ -2458,14 +2458,13 @@ const opGetResolverConfig = "GetResolverConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResolverConfigRequest method. +// req, resp := client.GetResolverConfigRequest(params) // -// // Example sending a request using the GetResolverConfigRequest method. -// req, resp := client.GetResolverConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverConfig func (c *Route53Resolver) GetResolverConfigRequest(input *GetResolverConfigInput) (req *request.Request, output *GetResolverConfigOutput) { @@ -2497,21 +2496,22 @@ func (c *Route53Resolver) GetResolverConfigRequest(input *GetResolverConfigInput // API operation GetResolverConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverConfig func (c *Route53Resolver) GetResolverConfig(input *GetResolverConfigInput) (*GetResolverConfigOutput, error) { @@ -2551,14 +2551,13 @@ const opGetResolverDnssecConfig = "GetResolverDnssecConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResolverDnssecConfigRequest method. +// req, resp := client.GetResolverDnssecConfigRequest(params) // -// // Example sending a request using the GetResolverDnssecConfigRequest method. -// req, resp := client.GetResolverDnssecConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverDnssecConfig func (c *Route53Resolver) GetResolverDnssecConfigRequest(input *GetResolverDnssecConfigInput) (req *request.Request, output *GetResolverDnssecConfigOutput) { @@ -2589,24 +2588,25 @@ func (c *Route53Resolver) GetResolverDnssecConfigRequest(input *GetResolverDnsse // API operation GetResolverDnssecConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in this request are not valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in this request are not valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InvalidRequestException -// The request is invalid. +// - InvalidRequestException +// The request is invalid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverDnssecConfig func (c *Route53Resolver) GetResolverDnssecConfig(input *GetResolverDnssecConfigInput) (*GetResolverDnssecConfigOutput, error) { @@ -2646,14 +2646,13 @@ const opGetResolverEndpoint = "GetResolverEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResolverEndpointRequest method. +// req, resp := client.GetResolverEndpointRequest(params) // -// // Example sending a request using the GetResolverEndpointRequest method. -// req, resp := client.GetResolverEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverEndpoint func (c *Route53Resolver) GetResolverEndpointRequest(input *GetResolverEndpointInput) (req *request.Request, output *GetResolverEndpointOutput) { @@ -2686,17 +2685,18 @@ func (c *Route53Resolver) GetResolverEndpointRequest(input *GetResolverEndpointI // API operation GetResolverEndpoint for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverEndpoint func (c *Route53Resolver) GetResolverEndpoint(input *GetResolverEndpointInput) (*GetResolverEndpointOutput, error) { @@ -2736,14 +2736,13 @@ const opGetResolverQueryLogConfig = "GetResolverQueryLogConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResolverQueryLogConfigRequest method. +// req, resp := client.GetResolverQueryLogConfigRequest(params) // -// // Example sending a request using the GetResolverQueryLogConfigRequest method. -// req, resp := client.GetResolverQueryLogConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfig func (c *Route53Resolver) GetResolverQueryLogConfigRequest(input *GetResolverQueryLogConfigInput) (req *request.Request, output *GetResolverQueryLogConfigOutput) { @@ -2776,24 +2775,25 @@ func (c *Route53Resolver) GetResolverQueryLogConfigRequest(input *GetResolverQue // API operation GetResolverQueryLogConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidRequestException -// The request is invalid. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - InvalidRequestException +// The request is invalid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. +// +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfig func (c *Route53Resolver) GetResolverQueryLogConfig(input *GetResolverQueryLogConfigInput) (*GetResolverQueryLogConfigOutput, error) { @@ -2833,14 +2833,13 @@ const opGetResolverQueryLogConfigAssociation = "GetResolverQueryLogConfigAssocia // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResolverQueryLogConfigAssociationRequest method. +// req, resp := client.GetResolverQueryLogConfigAssociationRequest(params) // -// // Example sending a request using the GetResolverQueryLogConfigAssociationRequest method. -// req, resp := client.GetResolverQueryLogConfigAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigAssociation func (c *Route53Resolver) GetResolverQueryLogConfigAssociationRequest(input *GetResolverQueryLogConfigAssociationInput) (req *request.Request, output *GetResolverQueryLogConfigAssociationOutput) { @@ -2873,24 +2872,25 @@ func (c *Route53Resolver) GetResolverQueryLogConfigAssociationRequest(input *Get // API operation GetResolverQueryLogConfigAssociation for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidRequestException -// The request is invalid. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - InvalidRequestException +// The request is invalid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. +// +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigAssociation func (c *Route53Resolver) GetResolverQueryLogConfigAssociation(input *GetResolverQueryLogConfigAssociationInput) (*GetResolverQueryLogConfigAssociationOutput, error) { @@ -2930,14 +2930,13 @@ const opGetResolverQueryLogConfigPolicy = "GetResolverQueryLogConfigPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResolverQueryLogConfigPolicyRequest method. +// req, resp := client.GetResolverQueryLogConfigPolicyRequest(params) // -// // Example sending a request using the GetResolverQueryLogConfigPolicyRequest method. -// req, resp := client.GetResolverQueryLogConfigPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigPolicy func (c *Route53Resolver) GetResolverQueryLogConfigPolicyRequest(input *GetResolverQueryLogConfigPolicyInput) (req *request.Request, output *GetResolverQueryLogConfigPolicyOutput) { @@ -2970,21 +2969,22 @@ func (c *Route53Resolver) GetResolverQueryLogConfigPolicyRequest(input *GetResol // API operation GetResolverQueryLogConfigPolicy for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in this request are not valid. // -// * InvalidRequestException -// The request is invalid. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * UnknownResourceException -// The specified resource doesn't exist. +// - InvalidRequestException +// The request is invalid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - UnknownResourceException +// The specified resource doesn't exist. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverQueryLogConfigPolicy func (c *Route53Resolver) GetResolverQueryLogConfigPolicy(input *GetResolverQueryLogConfigPolicyInput) (*GetResolverQueryLogConfigPolicyOutput, error) { @@ -3024,14 +3024,13 @@ const opGetResolverRule = "GetResolverRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResolverRuleRequest method. +// req, resp := client.GetResolverRuleRequest(params) // -// // Example sending a request using the GetResolverRuleRequest method. -// req, resp := client.GetResolverRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRule func (c *Route53Resolver) GetResolverRuleRequest(input *GetResolverRuleInput) (req *request.Request, output *GetResolverRuleOutput) { @@ -3064,17 +3063,18 @@ func (c *Route53Resolver) GetResolverRuleRequest(input *GetResolverRuleInput) (r // API operation GetResolverRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRule func (c *Route53Resolver) GetResolverRule(input *GetResolverRuleInput) (*GetResolverRuleOutput, error) { @@ -3114,14 +3114,13 @@ const opGetResolverRuleAssociation = "GetResolverRuleAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResolverRuleAssociationRequest method. +// req, resp := client.GetResolverRuleAssociationRequest(params) // -// // Example sending a request using the GetResolverRuleAssociationRequest method. -// req, resp := client.GetResolverRuleAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleAssociation func (c *Route53Resolver) GetResolverRuleAssociationRequest(input *GetResolverRuleAssociationInput) (req *request.Request, output *GetResolverRuleAssociationOutput) { @@ -3154,17 +3153,18 @@ func (c *Route53Resolver) GetResolverRuleAssociationRequest(input *GetResolverRu // API operation GetResolverRuleAssociation for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRuleAssociation func (c *Route53Resolver) GetResolverRuleAssociation(input *GetResolverRuleAssociationInput) (*GetResolverRuleAssociationOutput, error) { @@ -3204,14 +3204,13 @@ const opGetResolverRulePolicy = "GetResolverRulePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResolverRulePolicyRequest method. +// req, resp := client.GetResolverRulePolicyRequest(params) // -// // Example sending a request using the GetResolverRulePolicyRequest method. -// req, resp := client.GetResolverRulePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRulePolicy func (c *Route53Resolver) GetResolverRulePolicyRequest(input *GetResolverRulePolicyInput) (req *request.Request, output *GetResolverRulePolicyOutput) { @@ -3245,14 +3244,15 @@ func (c *Route53Resolver) GetResolverRulePolicyRequest(input *GetResolverRulePol // API operation GetResolverRulePolicy for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in this request are not valid. // -// * UnknownResourceException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - UnknownResourceException +// The specified resource doesn't exist. +// +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverRulePolicy func (c *Route53Resolver) GetResolverRulePolicy(input *GetResolverRulePolicyInput) (*GetResolverRulePolicyOutput, error) { @@ -3292,14 +3292,13 @@ const opImportFirewallDomains = "ImportFirewallDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportFirewallDomainsRequest method. +// req, resp := client.ImportFirewallDomainsRequest(params) // -// // Example sending a request using the ImportFirewallDomainsRequest method. -// req, resp := client.ImportFirewallDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ImportFirewallDomains func (c *Route53Resolver) ImportFirewallDomainsRequest(input *ImportFirewallDomainsInput) (req *request.Request, output *ImportFirewallDomainsOutput) { @@ -3326,12 +3325,12 @@ func (c *Route53Resolver) ImportFirewallDomainsRequest(input *ImportFirewallDoma // Each domain specification in your domain list must satisfy the following // requirements: // -// * It can optionally start with * (asterisk). +// - It can optionally start with * (asterisk). // -// * With the exception of the optional starting asterisk, it must only contain -// the following characters: A-Z, a-z, 0-9, - (hyphen). +// - With the exception of the optional starting asterisk, it must only contain +// the following characters: A-Z, a-z, 0-9, - (hyphen). // -// * It must be from 1-255 characters in length. +// - It must be from 1-255 characters in length. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3341,25 +3340,26 @@ func (c *Route53Resolver) ImportFirewallDomainsRequest(input *ImportFirewallDoma // API operation ImportFirewallDomains for usage and error information. // // Returned Error Types: -// * ValidationException // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ValidationException // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * LimitExceededException -// The request caused one or more limits to be exceeded. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * ConflictException +// - LimitExceededException +// The request caused one or more limits to be exceeded. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - ConflictException // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ImportFirewallDomains func (c *Route53Resolver) ImportFirewallDomains(input *ImportFirewallDomainsInput) (*ImportFirewallDomainsOutput, error) { @@ -3399,14 +3399,13 @@ const opListFirewallConfigs = "ListFirewallConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFirewallConfigsRequest method. +// req, resp := client.ListFirewallConfigsRequest(params) // -// // Example sending a request using the ListFirewallConfigsRequest method. -// req, resp := client.ListFirewallConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallConfigs func (c *Route53Resolver) ListFirewallConfigsRequest(input *ListFirewallConfigsInput) (req *request.Request, output *ListFirewallConfigsOutput) { @@ -3447,17 +3446,18 @@ func (c *Route53Resolver) ListFirewallConfigsRequest(input *ListFirewallConfigsI // API operation ListFirewallConfigs for usage and error information. // // Returned Error Types: -// * ValidationException // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ValidationException // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallConfigs func (c *Route53Resolver) ListFirewallConfigs(input *ListFirewallConfigsInput) (*ListFirewallConfigsOutput, error) { @@ -3489,15 +3489,14 @@ func (c *Route53Resolver) ListFirewallConfigsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFirewallConfigs operation. -// pageNum := 0 -// err := client.ListFirewallConfigsPages(params, -// func(page *route53resolver.ListFirewallConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFirewallConfigs operation. +// pageNum := 0 +// err := client.ListFirewallConfigsPages(params, +// func(page *route53resolver.ListFirewallConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Resolver) ListFirewallConfigsPages(input *ListFirewallConfigsInput, fn func(*ListFirewallConfigsOutput, bool) bool) error { return c.ListFirewallConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3549,14 +3548,13 @@ const opListFirewallDomainLists = "ListFirewallDomainLists" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFirewallDomainListsRequest method. +// req, resp := client.ListFirewallDomainListsRequest(params) // -// // Example sending a request using the ListFirewallDomainListsRequest method. -// req, resp := client.ListFirewallDomainListsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallDomainLists func (c *Route53Resolver) ListFirewallDomainListsRequest(input *ListFirewallDomainListsInput) (req *request.Request, output *ListFirewallDomainListsOutput) { @@ -3598,17 +3596,18 @@ func (c *Route53Resolver) ListFirewallDomainListsRequest(input *ListFirewallDoma // API operation ListFirewallDomainLists for usage and error information. // // Returned Error Types: -// * ValidationException // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ValidationException // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallDomainLists func (c *Route53Resolver) ListFirewallDomainLists(input *ListFirewallDomainListsInput) (*ListFirewallDomainListsOutput, error) { @@ -3640,15 +3639,14 @@ func (c *Route53Resolver) ListFirewallDomainListsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFirewallDomainLists operation. -// pageNum := 0 -// err := client.ListFirewallDomainListsPages(params, -// func(page *route53resolver.ListFirewallDomainListsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFirewallDomainLists operation. +// pageNum := 0 +// err := client.ListFirewallDomainListsPages(params, +// func(page *route53resolver.ListFirewallDomainListsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Resolver) ListFirewallDomainListsPages(input *ListFirewallDomainListsInput, fn func(*ListFirewallDomainListsOutput, bool) bool) error { return c.ListFirewallDomainListsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3700,14 +3698,13 @@ const opListFirewallDomains = "ListFirewallDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFirewallDomainsRequest method. +// req, resp := client.ListFirewallDomainsRequest(params) // -// // Example sending a request using the ListFirewallDomainsRequest method. -// req, resp := client.ListFirewallDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallDomains func (c *Route53Resolver) ListFirewallDomainsRequest(input *ListFirewallDomainsInput) (req *request.Request, output *ListFirewallDomainsOutput) { @@ -3748,20 +3745,21 @@ func (c *Route53Resolver) ListFirewallDomainsRequest(input *ListFirewallDomainsI // API operation ListFirewallDomains for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * ValidationException +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - ValidationException // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallDomains func (c *Route53Resolver) ListFirewallDomains(input *ListFirewallDomainsInput) (*ListFirewallDomainsOutput, error) { @@ -3793,15 +3791,14 @@ func (c *Route53Resolver) ListFirewallDomainsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFirewallDomains operation. -// pageNum := 0 -// err := client.ListFirewallDomainsPages(params, -// func(page *route53resolver.ListFirewallDomainsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFirewallDomains operation. +// pageNum := 0 +// err := client.ListFirewallDomainsPages(params, +// func(page *route53resolver.ListFirewallDomainsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Resolver) ListFirewallDomainsPages(input *ListFirewallDomainsInput, fn func(*ListFirewallDomainsOutput, bool) bool) error { return c.ListFirewallDomainsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3853,14 +3850,13 @@ const opListFirewallRuleGroupAssociations = "ListFirewallRuleGroupAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFirewallRuleGroupAssociationsRequest method. +// req, resp := client.ListFirewallRuleGroupAssociationsRequest(params) // -// // Example sending a request using the ListFirewallRuleGroupAssociationsRequest method. -// req, resp := client.ListFirewallRuleGroupAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallRuleGroupAssociations func (c *Route53Resolver) ListFirewallRuleGroupAssociationsRequest(input *ListFirewallRuleGroupAssociationsInput) (req *request.Request, output *ListFirewallRuleGroupAssociationsOutput) { @@ -3901,17 +3897,18 @@ func (c *Route53Resolver) ListFirewallRuleGroupAssociationsRequest(input *ListFi // API operation ListFirewallRuleGroupAssociations for usage and error information. // // Returned Error Types: -// * ValidationException // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ValidationException // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallRuleGroupAssociations func (c *Route53Resolver) ListFirewallRuleGroupAssociations(input *ListFirewallRuleGroupAssociationsInput) (*ListFirewallRuleGroupAssociationsOutput, error) { @@ -3943,15 +3940,14 @@ func (c *Route53Resolver) ListFirewallRuleGroupAssociationsWithContext(ctx aws.C // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFirewallRuleGroupAssociations operation. -// pageNum := 0 -// err := client.ListFirewallRuleGroupAssociationsPages(params, -// func(page *route53resolver.ListFirewallRuleGroupAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFirewallRuleGroupAssociations operation. +// pageNum := 0 +// err := client.ListFirewallRuleGroupAssociationsPages(params, +// func(page *route53resolver.ListFirewallRuleGroupAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Resolver) ListFirewallRuleGroupAssociationsPages(input *ListFirewallRuleGroupAssociationsInput, fn func(*ListFirewallRuleGroupAssociationsOutput, bool) bool) error { return c.ListFirewallRuleGroupAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4003,14 +3999,13 @@ const opListFirewallRuleGroups = "ListFirewallRuleGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFirewallRuleGroupsRequest method. +// req, resp := client.ListFirewallRuleGroupsRequest(params) // -// // Example sending a request using the ListFirewallRuleGroupsRequest method. -// req, resp := client.ListFirewallRuleGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallRuleGroups func (c *Route53Resolver) ListFirewallRuleGroupsRequest(input *ListFirewallRuleGroupsInput) (req *request.Request, output *ListFirewallRuleGroupsOutput) { @@ -4051,17 +4046,18 @@ func (c *Route53Resolver) ListFirewallRuleGroupsRequest(input *ListFirewallRuleG // API operation ListFirewallRuleGroups for usage and error information. // // Returned Error Types: -// * ValidationException // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ValidationException // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallRuleGroups func (c *Route53Resolver) ListFirewallRuleGroups(input *ListFirewallRuleGroupsInput) (*ListFirewallRuleGroupsOutput, error) { @@ -4093,15 +4089,14 @@ func (c *Route53Resolver) ListFirewallRuleGroupsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFirewallRuleGroups operation. -// pageNum := 0 -// err := client.ListFirewallRuleGroupsPages(params, -// func(page *route53resolver.ListFirewallRuleGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFirewallRuleGroups operation. +// pageNum := 0 +// err := client.ListFirewallRuleGroupsPages(params, +// func(page *route53resolver.ListFirewallRuleGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Resolver) ListFirewallRuleGroupsPages(input *ListFirewallRuleGroupsInput, fn func(*ListFirewallRuleGroupsOutput, bool) bool) error { return c.ListFirewallRuleGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4153,14 +4148,13 @@ const opListFirewallRules = "ListFirewallRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFirewallRulesRequest method. +// req, resp := client.ListFirewallRulesRequest(params) // -// // Example sending a request using the ListFirewallRulesRequest method. -// req, resp := client.ListFirewallRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallRules func (c *Route53Resolver) ListFirewallRulesRequest(input *ListFirewallRulesInput) (req *request.Request, output *ListFirewallRulesOutput) { @@ -4202,20 +4196,21 @@ func (c *Route53Resolver) ListFirewallRulesRequest(input *ListFirewallRulesInput // API operation ListFirewallRules for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * ValidationException +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - ValidationException // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallRules func (c *Route53Resolver) ListFirewallRules(input *ListFirewallRulesInput) (*ListFirewallRulesOutput, error) { @@ -4247,15 +4242,14 @@ func (c *Route53Resolver) ListFirewallRulesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFirewallRules operation. -// pageNum := 0 -// err := client.ListFirewallRulesPages(params, -// func(page *route53resolver.ListFirewallRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFirewallRules operation. +// pageNum := 0 +// err := client.ListFirewallRulesPages(params, +// func(page *route53resolver.ListFirewallRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Resolver) ListFirewallRulesPages(input *ListFirewallRulesInput, fn func(*ListFirewallRulesOutput, bool) bool) error { return c.ListFirewallRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4307,14 +4301,13 @@ const opListResolverConfigs = "ListResolverConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResolverConfigsRequest method. +// req, resp := client.ListResolverConfigsRequest(params) // -// // Example sending a request using the ListResolverConfigsRequest method. -// req, resp := client.ListResolverConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverConfigs func (c *Route53Resolver) ListResolverConfigsRequest(input *ListResolverConfigsInput) (req *request.Request, output *ListResolverConfigsOutput) { @@ -4352,24 +4345,25 @@ func (c *Route53Resolver) ListResolverConfigsRequest(input *ListResolverConfigsI // API operation ListResolverConfigs for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The value that you specified for NextToken in a List request isn't valid. // -// * InvalidRequestException -// The request is invalid. +// - InvalidNextTokenException +// The value that you specified for NextToken in a List request isn't valid. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - InvalidRequestException +// The request is invalid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. +// +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverConfigs func (c *Route53Resolver) ListResolverConfigs(input *ListResolverConfigsInput) (*ListResolverConfigsOutput, error) { @@ -4401,15 +4395,14 @@ func (c *Route53Resolver) ListResolverConfigsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResolverConfigs operation. -// pageNum := 0 -// err := client.ListResolverConfigsPages(params, -// func(page *route53resolver.ListResolverConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResolverConfigs operation. +// pageNum := 0 +// err := client.ListResolverConfigsPages(params, +// func(page *route53resolver.ListResolverConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Resolver) ListResolverConfigsPages(input *ListResolverConfigsInput, fn func(*ListResolverConfigsOutput, bool) bool) error { return c.ListResolverConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4461,14 +4454,13 @@ const opListResolverDnssecConfigs = "ListResolverDnssecConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResolverDnssecConfigsRequest method. +// req, resp := client.ListResolverDnssecConfigsRequest(params) // -// // Example sending a request using the ListResolverDnssecConfigsRequest method. -// req, resp := client.ListResolverDnssecConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverDnssecConfigs func (c *Route53Resolver) ListResolverDnssecConfigsRequest(input *ListResolverDnssecConfigsInput) (req *request.Request, output *ListResolverDnssecConfigsOutput) { @@ -4506,24 +4498,25 @@ func (c *Route53Resolver) ListResolverDnssecConfigsRequest(input *ListResolverDn // API operation ListResolverDnssecConfigs for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The value that you specified for NextToken in a List request isn't valid. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - InvalidNextTokenException +// The value that you specified for NextToken in a List request isn't valid. // -// * InvalidRequestException -// The request is invalid. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InvalidRequestException +// The request is invalid. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. +// +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverDnssecConfigs func (c *Route53Resolver) ListResolverDnssecConfigs(input *ListResolverDnssecConfigsInput) (*ListResolverDnssecConfigsOutput, error) { @@ -4555,15 +4548,14 @@ func (c *Route53Resolver) ListResolverDnssecConfigsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResolverDnssecConfigs operation. -// pageNum := 0 -// err := client.ListResolverDnssecConfigsPages(params, -// func(page *route53resolver.ListResolverDnssecConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResolverDnssecConfigs operation. +// pageNum := 0 +// err := client.ListResolverDnssecConfigsPages(params, +// func(page *route53resolver.ListResolverDnssecConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Resolver) ListResolverDnssecConfigsPages(input *ListResolverDnssecConfigsInput, fn func(*ListResolverDnssecConfigsOutput, bool) bool) error { return c.ListResolverDnssecConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4615,14 +4607,13 @@ const opListResolverEndpointIpAddresses = "ListResolverEndpointIpAddresses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResolverEndpointIpAddressesRequest method. +// req, resp := client.ListResolverEndpointIpAddressesRequest(params) // -// // Example sending a request using the ListResolverEndpointIpAddressesRequest method. -// req, resp := client.ListResolverEndpointIpAddressesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointIpAddresses func (c *Route53Resolver) ListResolverEndpointIpAddressesRequest(input *ListResolverEndpointIpAddressesInput) (req *request.Request, output *ListResolverEndpointIpAddressesOutput) { @@ -4659,20 +4650,21 @@ func (c *Route53Resolver) ListResolverEndpointIpAddressesRequest(input *ListReso // API operation ListResolverEndpointIpAddresses for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * InvalidNextTokenException -// The value that you specified for NextToken in a List request isn't valid. +// - InvalidNextTokenException +// The value that you specified for NextToken in a List request isn't valid. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpointIpAddresses func (c *Route53Resolver) ListResolverEndpointIpAddresses(input *ListResolverEndpointIpAddressesInput) (*ListResolverEndpointIpAddressesOutput, error) { @@ -4704,15 +4696,14 @@ func (c *Route53Resolver) ListResolverEndpointIpAddressesWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResolverEndpointIpAddresses operation. -// pageNum := 0 -// err := client.ListResolverEndpointIpAddressesPages(params, -// func(page *route53resolver.ListResolverEndpointIpAddressesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResolverEndpointIpAddresses operation. +// pageNum := 0 +// err := client.ListResolverEndpointIpAddressesPages(params, +// func(page *route53resolver.ListResolverEndpointIpAddressesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Resolver) ListResolverEndpointIpAddressesPages(input *ListResolverEndpointIpAddressesInput, fn func(*ListResolverEndpointIpAddressesOutput, bool) bool) error { return c.ListResolverEndpointIpAddressesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4764,14 +4755,13 @@ const opListResolverEndpoints = "ListResolverEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResolverEndpointsRequest method. +// req, resp := client.ListResolverEndpointsRequest(params) // -// // Example sending a request using the ListResolverEndpointsRequest method. -// req, resp := client.ListResolverEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpoints func (c *Route53Resolver) ListResolverEndpointsRequest(input *ListResolverEndpointsInput) (req *request.Request, output *ListResolverEndpointsOutput) { @@ -4809,20 +4799,21 @@ func (c *Route53Resolver) ListResolverEndpointsRequest(input *ListResolverEndpoi // API operation ListResolverEndpoints for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The value that you specified for NextToken in a List request isn't valid. // -// * InvalidRequestException -// The request is invalid. +// - InvalidNextTokenException +// The value that you specified for NextToken in a List request isn't valid. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - InvalidRequestException +// The request is invalid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpoints func (c *Route53Resolver) ListResolverEndpoints(input *ListResolverEndpointsInput) (*ListResolverEndpointsOutput, error) { @@ -4854,15 +4845,14 @@ func (c *Route53Resolver) ListResolverEndpointsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResolverEndpoints operation. -// pageNum := 0 -// err := client.ListResolverEndpointsPages(params, -// func(page *route53resolver.ListResolverEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResolverEndpoints operation. +// pageNum := 0 +// err := client.ListResolverEndpointsPages(params, +// func(page *route53resolver.ListResolverEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Resolver) ListResolverEndpointsPages(input *ListResolverEndpointsInput, fn func(*ListResolverEndpointsOutput, bool) bool) error { return c.ListResolverEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4914,14 +4904,13 @@ const opListResolverQueryLogConfigAssociations = "ListResolverQueryLogConfigAsso // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResolverQueryLogConfigAssociationsRequest method. +// req, resp := client.ListResolverQueryLogConfigAssociationsRequest(params) // -// // Example sending a request using the ListResolverQueryLogConfigAssociationsRequest method. -// req, resp := client.ListResolverQueryLogConfigAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigAssociations func (c *Route53Resolver) ListResolverQueryLogConfigAssociationsRequest(input *ListResolverQueryLogConfigAssociationsInput) (req *request.Request, output *ListResolverQueryLogConfigAssociationsOutput) { @@ -4959,24 +4948,25 @@ func (c *Route53Resolver) ListResolverQueryLogConfigAssociationsRequest(input *L // API operation ListResolverQueryLogConfigAssociations for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in this request are not valid. // -// * InvalidRequestException -// The request is invalid. +// - InvalidParameterException +// One or more parameters in this request are not valid. +// +// - InvalidRequestException +// The request is invalid. // -// * LimitExceededException -// The request caused one or more limits to be exceeded. +// - LimitExceededException +// The request caused one or more limits to be exceeded. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigAssociations func (c *Route53Resolver) ListResolverQueryLogConfigAssociations(input *ListResolverQueryLogConfigAssociationsInput) (*ListResolverQueryLogConfigAssociationsOutput, error) { @@ -5008,15 +4998,14 @@ func (c *Route53Resolver) ListResolverQueryLogConfigAssociationsWithContext(ctx // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResolverQueryLogConfigAssociations operation. -// pageNum := 0 -// err := client.ListResolverQueryLogConfigAssociationsPages(params, -// func(page *route53resolver.ListResolverQueryLogConfigAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResolverQueryLogConfigAssociations operation. +// pageNum := 0 +// err := client.ListResolverQueryLogConfigAssociationsPages(params, +// func(page *route53resolver.ListResolverQueryLogConfigAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Resolver) ListResolverQueryLogConfigAssociationsPages(input *ListResolverQueryLogConfigAssociationsInput, fn func(*ListResolverQueryLogConfigAssociationsOutput, bool) bool) error { return c.ListResolverQueryLogConfigAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5068,14 +5057,13 @@ const opListResolverQueryLogConfigs = "ListResolverQueryLogConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResolverQueryLogConfigsRequest method. +// req, resp := client.ListResolverQueryLogConfigsRequest(params) // -// // Example sending a request using the ListResolverQueryLogConfigsRequest method. -// req, resp := client.ListResolverQueryLogConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigs func (c *Route53Resolver) ListResolverQueryLogConfigsRequest(input *ListResolverQueryLogConfigsInput) (req *request.Request, output *ListResolverQueryLogConfigsOutput) { @@ -5114,24 +5102,25 @@ func (c *Route53Resolver) ListResolverQueryLogConfigsRequest(input *ListResolver // API operation ListResolverQueryLogConfigs for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The value that you specified for NextToken in a List request isn't valid. // -// * InvalidRequestException -// The request is invalid. +// - InvalidNextTokenException +// The value that you specified for NextToken in a List request isn't valid. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - InvalidRequestException +// The request is invalid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. +// +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverQueryLogConfigs func (c *Route53Resolver) ListResolverQueryLogConfigs(input *ListResolverQueryLogConfigsInput) (*ListResolverQueryLogConfigsOutput, error) { @@ -5163,15 +5152,14 @@ func (c *Route53Resolver) ListResolverQueryLogConfigsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResolverQueryLogConfigs operation. -// pageNum := 0 -// err := client.ListResolverQueryLogConfigsPages(params, -// func(page *route53resolver.ListResolverQueryLogConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResolverQueryLogConfigs operation. +// pageNum := 0 +// err := client.ListResolverQueryLogConfigsPages(params, +// func(page *route53resolver.ListResolverQueryLogConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Resolver) ListResolverQueryLogConfigsPages(input *ListResolverQueryLogConfigsInput, fn func(*ListResolverQueryLogConfigsOutput, bool) bool) error { return c.ListResolverQueryLogConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5223,14 +5211,13 @@ const opListResolverRuleAssociations = "ListResolverRuleAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResolverRuleAssociationsRequest method. +// req, resp := client.ListResolverRuleAssociationsRequest(params) // -// // Example sending a request using the ListResolverRuleAssociationsRequest method. -// req, resp := client.ListResolverRuleAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRuleAssociations func (c *Route53Resolver) ListResolverRuleAssociationsRequest(input *ListResolverRuleAssociationsInput) (req *request.Request, output *ListResolverRuleAssociationsOutput) { @@ -5268,20 +5255,21 @@ func (c *Route53Resolver) ListResolverRuleAssociationsRequest(input *ListResolve // API operation ListResolverRuleAssociations for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The value that you specified for NextToken in a List request isn't valid. // -// * InvalidRequestException -// The request is invalid. +// - InvalidNextTokenException +// The value that you specified for NextToken in a List request isn't valid. +// +// - InvalidRequestException +// The request is invalid. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRuleAssociations func (c *Route53Resolver) ListResolverRuleAssociations(input *ListResolverRuleAssociationsInput) (*ListResolverRuleAssociationsOutput, error) { @@ -5313,15 +5301,14 @@ func (c *Route53Resolver) ListResolverRuleAssociationsWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResolverRuleAssociations operation. -// pageNum := 0 -// err := client.ListResolverRuleAssociationsPages(params, -// func(page *route53resolver.ListResolverRuleAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResolverRuleAssociations operation. +// pageNum := 0 +// err := client.ListResolverRuleAssociationsPages(params, +// func(page *route53resolver.ListResolverRuleAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Resolver) ListResolverRuleAssociationsPages(input *ListResolverRuleAssociationsInput, fn func(*ListResolverRuleAssociationsOutput, bool) bool) error { return c.ListResolverRuleAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5373,14 +5360,13 @@ const opListResolverRules = "ListResolverRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResolverRulesRequest method. +// req, resp := client.ListResolverRulesRequest(params) // -// // Example sending a request using the ListResolverRulesRequest method. -// req, resp := client.ListResolverRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRules func (c *Route53Resolver) ListResolverRulesRequest(input *ListResolverRulesInput) (req *request.Request, output *ListResolverRulesOutput) { @@ -5418,20 +5404,21 @@ func (c *Route53Resolver) ListResolverRulesRequest(input *ListResolverRulesInput // API operation ListResolverRules for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The value that you specified for NextToken in a List request isn't valid. // -// * InvalidRequestException -// The request is invalid. +// - InvalidNextTokenException +// The value that you specified for NextToken in a List request isn't valid. +// +// - InvalidRequestException +// The request is invalid. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverRules func (c *Route53Resolver) ListResolverRules(input *ListResolverRulesInput) (*ListResolverRulesOutput, error) { @@ -5463,15 +5450,14 @@ func (c *Route53Resolver) ListResolverRulesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResolverRules operation. -// pageNum := 0 -// err := client.ListResolverRulesPages(params, -// func(page *route53resolver.ListResolverRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResolverRules operation. +// pageNum := 0 +// err := client.ListResolverRulesPages(params, +// func(page *route53resolver.ListResolverRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Resolver) ListResolverRulesPages(input *ListResolverRulesInput, fn func(*ListResolverRulesOutput, bool) bool) error { return c.ListResolverRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5523,14 +5509,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListTagsForResource func (c *Route53Resolver) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -5567,23 +5552,24 @@ func (c *Route53Resolver) ListTagsForResourceRequest(input *ListTagsForResourceI // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InvalidNextTokenException -// The value that you specified for NextToken in a List request isn't valid. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InvalidRequestException -// The request is invalid. +// - InvalidNextTokenException +// The value that you specified for NextToken in a List request isn't valid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InvalidRequestException +// The request is invalid. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListTagsForResource func (c *Route53Resolver) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -5615,15 +5601,14 @@ func (c *Route53Resolver) ListTagsForResourceWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *route53resolver.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *route53resolver.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Route53Resolver) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5675,14 +5660,13 @@ const opPutFirewallRuleGroupPolicy = "PutFirewallRuleGroupPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutFirewallRuleGroupPolicyRequest method. +// req, resp := client.PutFirewallRuleGroupPolicyRequest(params) // -// // Example sending a request using the PutFirewallRuleGroupPolicyRequest method. -// req, resp := client.PutFirewallRuleGroupPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutFirewallRuleGroupPolicy func (c *Route53Resolver) PutFirewallRuleGroupPolicyRequest(input *PutFirewallRuleGroupPolicyInput) (req *request.Request, output *PutFirewallRuleGroupPolicyOutput) { @@ -5715,20 +5699,21 @@ func (c *Route53Resolver) PutFirewallRuleGroupPolicyRequest(input *PutFirewallRu // API operation PutFirewallRuleGroupPolicy for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - ValidationException +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutFirewallRuleGroupPolicy func (c *Route53Resolver) PutFirewallRuleGroupPolicy(input *PutFirewallRuleGroupPolicyInput) (*PutFirewallRuleGroupPolicyOutput, error) { @@ -5768,14 +5753,13 @@ const opPutResolverQueryLogConfigPolicy = "PutResolverQueryLogConfigPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutResolverQueryLogConfigPolicyRequest method. +// req, resp := client.PutResolverQueryLogConfigPolicyRequest(params) // -// // Example sending a request using the PutResolverQueryLogConfigPolicyRequest method. -// req, resp := client.PutResolverQueryLogConfigPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverQueryLogConfigPolicy func (c *Route53Resolver) PutResolverQueryLogConfigPolicyRequest(input *PutResolverQueryLogConfigPolicyInput) (req *request.Request, output *PutResolverQueryLogConfigPolicyOutput) { @@ -5809,24 +5793,25 @@ func (c *Route53Resolver) PutResolverQueryLogConfigPolicyRequest(input *PutResol // API operation PutResolverQueryLogConfigPolicy for usage and error information. // // Returned Error Types: -// * InvalidPolicyDocument -// The specified Resolver rule policy is invalid. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - InvalidPolicyDocument +// The specified Resolver rule policy is invalid. // -// * InvalidRequestException -// The request is invalid. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * UnknownResourceException -// The specified resource doesn't exist. +// - InvalidRequestException +// The request is invalid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - UnknownResourceException +// The specified resource doesn't exist. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverQueryLogConfigPolicy func (c *Route53Resolver) PutResolverQueryLogConfigPolicy(input *PutResolverQueryLogConfigPolicyInput) (*PutResolverQueryLogConfigPolicyOutput, error) { @@ -5866,14 +5851,13 @@ const opPutResolverRulePolicy = "PutResolverRulePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutResolverRulePolicyRequest method. +// req, resp := client.PutResolverRulePolicyRequest(params) // -// // Example sending a request using the PutResolverRulePolicyRequest method. -// req, resp := client.PutResolverRulePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverRulePolicy func (c *Route53Resolver) PutResolverRulePolicyRequest(input *PutResolverRulePolicyInput) (req *request.Request, output *PutResolverRulePolicyOutput) { @@ -5906,17 +5890,18 @@ func (c *Route53Resolver) PutResolverRulePolicyRequest(input *PutResolverRulePol // API operation PutResolverRulePolicy for usage and error information. // // Returned Error Types: -// * InvalidPolicyDocument -// The specified Resolver rule policy is invalid. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - InvalidPolicyDocument +// The specified Resolver rule policy is invalid. // -// * UnknownResourceException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - UnknownResourceException +// The specified resource doesn't exist. +// +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/PutResolverRulePolicy func (c *Route53Resolver) PutResolverRulePolicy(input *PutResolverRulePolicyInput) (*PutResolverRulePolicyOutput, error) { @@ -5956,14 +5941,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/TagResource func (c *Route53Resolver) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -5995,26 +5979,27 @@ func (c *Route53Resolver) TagResourceRequest(input *TagResourceInput) (req *requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The request caused one or more limits to be exceeded. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - LimitExceededException +// The request caused one or more limits to be exceeded. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InvalidRequestException -// The request is invalid. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InvalidTagException -// The specified tag is invalid. +// - InvalidRequestException +// The request is invalid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InvalidTagException +// The specified tag is invalid. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/TagResource func (c *Route53Resolver) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -6054,14 +6039,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UntagResource func (c *Route53Resolver) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -6093,20 +6077,21 @@ func (c *Route53Resolver) UntagResourceRequest(input *UntagResourceInput) (req * // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InvalidRequestException -// The request is invalid. +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InvalidRequestException +// The request is invalid. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. +// +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UntagResource func (c *Route53Resolver) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -6146,14 +6131,13 @@ const opUpdateFirewallConfig = "UpdateFirewallConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFirewallConfigRequest method. +// req, resp := client.UpdateFirewallConfigRequest(params) // -// // Example sending a request using the UpdateFirewallConfigRequest method. -// req, resp := client.UpdateFirewallConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateFirewallConfig func (c *Route53Resolver) UpdateFirewallConfigRequest(input *UpdateFirewallConfigInput) (req *request.Request, output *UpdateFirewallConfigOutput) { @@ -6185,20 +6169,21 @@ func (c *Route53Resolver) UpdateFirewallConfigRequest(input *UpdateFirewallConfi // API operation UpdateFirewallConfig for usage and error information. // // Returned Error Types: -// * ValidationException // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - ValidationException +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateFirewallConfig func (c *Route53Resolver) UpdateFirewallConfig(input *UpdateFirewallConfigInput) (*UpdateFirewallConfigOutput, error) { @@ -6238,14 +6223,13 @@ const opUpdateFirewallDomains = "UpdateFirewallDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFirewallDomainsRequest method. +// req, resp := client.UpdateFirewallDomainsRequest(params) // -// // Example sending a request using the UpdateFirewallDomainsRequest method. -// req, resp := client.UpdateFirewallDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateFirewallDomains func (c *Route53Resolver) UpdateFirewallDomainsRequest(input *UpdateFirewallDomainsInput) (req *request.Request, output *UpdateFirewallDomainsOutput) { @@ -6276,25 +6260,26 @@ func (c *Route53Resolver) UpdateFirewallDomainsRequest(input *UpdateFirewallDoma // API operation UpdateFirewallDomains for usage and error information. // // Returned Error Types: -// * ValidationException // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - ValidationException +// +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * LimitExceededException -// The request caused one or more limits to be exceeded. +// - LimitExceededException +// The request caused one or more limits to be exceeded. // -// * ConflictException +// - ConflictException // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateFirewallDomains func (c *Route53Resolver) UpdateFirewallDomains(input *UpdateFirewallDomainsInput) (*UpdateFirewallDomainsOutput, error) { @@ -6334,14 +6319,13 @@ const opUpdateFirewallRule = "UpdateFirewallRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFirewallRuleRequest method. +// req, resp := client.UpdateFirewallRuleRequest(params) // -// // Example sending a request using the UpdateFirewallRuleRequest method. -// req, resp := client.UpdateFirewallRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateFirewallRule func (c *Route53Resolver) UpdateFirewallRuleRequest(input *UpdateFirewallRuleInput) (req *request.Request, output *UpdateFirewallRuleOutput) { @@ -6372,22 +6356,23 @@ func (c *Route53Resolver) UpdateFirewallRuleRequest(input *UpdateFirewallRuleInp // API operation UpdateFirewallRule for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * ValidationException +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - ValidationException // -// * ConflictException +// - ConflictException // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateFirewallRule func (c *Route53Resolver) UpdateFirewallRule(input *UpdateFirewallRuleInput) (*UpdateFirewallRuleOutput, error) { @@ -6427,14 +6412,13 @@ const opUpdateFirewallRuleGroupAssociation = "UpdateFirewallRuleGroupAssociation // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFirewallRuleGroupAssociationRequest method. +// req, resp := client.UpdateFirewallRuleGroupAssociationRequest(params) // -// // Example sending a request using the UpdateFirewallRuleGroupAssociationRequest method. -// req, resp := client.UpdateFirewallRuleGroupAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateFirewallRuleGroupAssociation func (c *Route53Resolver) UpdateFirewallRuleGroupAssociationRequest(input *UpdateFirewallRuleGroupAssociationInput) (req *request.Request, output *UpdateFirewallRuleGroupAssociationOutput) { @@ -6466,22 +6450,23 @@ func (c *Route53Resolver) UpdateFirewallRuleGroupAssociationRequest(input *Updat // API operation UpdateFirewallRuleGroupAssociation for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * ValidationException +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - ValidationException // -// * ConflictException +// - ConflictException // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateFirewallRuleGroupAssociation func (c *Route53Resolver) UpdateFirewallRuleGroupAssociation(input *UpdateFirewallRuleGroupAssociationInput) (*UpdateFirewallRuleGroupAssociationOutput, error) { @@ -6521,14 +6506,13 @@ const opUpdateResolverConfig = "UpdateResolverConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResolverConfigRequest method. +// req, resp := client.UpdateResolverConfigRequest(params) // -// // Example sending a request using the UpdateResolverConfigRequest method. -// req, resp := client.UpdateResolverConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverConfig func (c *Route53Resolver) UpdateResolverConfigRequest(input *UpdateResolverConfigInput) (req *request.Request, output *UpdateResolverConfigOutput) { @@ -6560,30 +6544,31 @@ func (c *Route53Resolver) UpdateResolverConfigRequest(input *UpdateResolverConfi // API operation UpdateResolverConfig for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - InvalidRequestException +// The request is invalid. +// +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * ResourceUnavailableException -// The specified resource isn't available. +// - ResourceUnavailableException +// The specified resource isn't available. // -// * LimitExceededException -// The request caused one or more limits to be exceeded. +// - LimitExceededException +// The request caused one or more limits to be exceeded. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverConfig func (c *Route53Resolver) UpdateResolverConfig(input *UpdateResolverConfigInput) (*UpdateResolverConfigOutput, error) { @@ -6623,14 +6608,13 @@ const opUpdateResolverDnssecConfig = "UpdateResolverDnssecConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResolverDnssecConfigRequest method. +// req, resp := client.UpdateResolverDnssecConfigRequest(params) // -// // Example sending a request using the UpdateResolverDnssecConfigRequest method. -// req, resp := client.UpdateResolverDnssecConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverDnssecConfig func (c *Route53Resolver) UpdateResolverDnssecConfigRequest(input *UpdateResolverDnssecConfigInput) (req *request.Request, output *UpdateResolverDnssecConfigOutput) { @@ -6662,24 +6646,25 @@ func (c *Route53Resolver) UpdateResolverDnssecConfigRequest(input *UpdateResolve // API operation UpdateResolverDnssecConfig for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more parameters in this request are not valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - InvalidParameterException +// One or more parameters in this request are not valid. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * InvalidRequestException -// The request is invalid. +// - InvalidRequestException +// The request is invalid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // -// * AccessDeniedException -// The current account doesn't have the IAM permissions required to perform -// the specified Resolver operation. +// - AccessDeniedException +// The current account doesn't have the IAM permissions required to perform +// the specified Resolver operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverDnssecConfig func (c *Route53Resolver) UpdateResolverDnssecConfig(input *UpdateResolverDnssecConfigInput) (*UpdateResolverDnssecConfigOutput, error) { @@ -6719,14 +6704,13 @@ const opUpdateResolverEndpoint = "UpdateResolverEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResolverEndpointRequest method. +// req, resp := client.UpdateResolverEndpointRequest(params) // -// // Example sending a request using the UpdateResolverEndpointRequest method. -// req, resp := client.UpdateResolverEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverEndpoint func (c *Route53Resolver) UpdateResolverEndpointRequest(input *UpdateResolverEndpointInput) (req *request.Request, output *UpdateResolverEndpointOutput) { @@ -6757,20 +6741,21 @@ func (c *Route53Resolver) UpdateResolverEndpointRequest(input *UpdateResolverEnd // API operation UpdateResolverEndpoint for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource doesn't exist. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - ResourceNotFoundException +// The specified resource doesn't exist. +// +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * InvalidRequestException -// The request is invalid. +// - InvalidRequestException +// The request is invalid. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverEndpoint func (c *Route53Resolver) UpdateResolverEndpoint(input *UpdateResolverEndpointInput) (*UpdateResolverEndpointOutput, error) { @@ -6810,14 +6795,13 @@ const opUpdateResolverRule = "UpdateResolverRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResolverRuleRequest method. +// req, resp := client.UpdateResolverRuleRequest(params) // -// // Example sending a request using the UpdateResolverRuleRequest method. -// req, resp := client.UpdateResolverRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRule func (c *Route53Resolver) UpdateResolverRuleRequest(input *UpdateResolverRuleInput) (req *request.Request, output *UpdateResolverRuleOutput) { @@ -6850,26 +6834,27 @@ func (c *Route53Resolver) UpdateResolverRuleRequest(input *UpdateResolverRuleInp // API operation UpdateResolverRule for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is invalid. // -// * InvalidParameterException -// One or more parameters in this request are not valid. +// - InvalidRequestException +// The request is invalid. +// +// - InvalidParameterException +// One or more parameters in this request are not valid. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - ResourceNotFoundException +// The specified resource doesn't exist. // -// * ResourceUnavailableException -// The specified resource isn't available. +// - ResourceUnavailableException +// The specified resource isn't available. // -// * LimitExceededException -// The request caused one or more limits to be exceeded. +// - LimitExceededException +// The request caused one or more limits to be exceeded. // -// * InternalServiceErrorException -// We encountered an unknown error. Try again in a few minutes. +// - InternalServiceErrorException +// We encountered an unknown error. Try again in a few minutes. // -// * ThrottlingException -// The request was throttled. Try again in a few minutes. +// - ThrottlingException +// The request was throttled. Try again in a few minutes. // // See also, https://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverRule func (c *Route53Resolver) UpdateResolverRule(input *UpdateResolverRuleInput) (*UpdateResolverRuleOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/doc.go index 7728b6cc6651..23b27bebeb73 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/doc.go @@ -12,7 +12,7 @@ // You can also configure DNS resolution between your VPC and your network over // a Direct Connect or VPN connection: // -// Forward DNS queries from resolvers on your network to Route 53 Resolver +// # Forward DNS queries from resolvers on your network to Route 53 Resolver // // DNS resolvers on your network can forward DNS queries to Resolver in a specified // VPC. This allows your DNS resolvers to easily resolve domain names for Amazon @@ -21,7 +21,7 @@ // Forward DNS Queries to Route 53 Resolver (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver.html#resolver-overview-forward-network-to-vpc) // in the Amazon Route 53 Developer Guide. // -// Conditionally forward queries from a VPC to resolvers on your network +// # Conditionally forward queries from a VPC to resolvers on your network // // You can configure Resolver to forward queries that it receives from EC2 instances // in your VPCs to DNS resolvers on your network. To forward selected queries, @@ -45,7 +45,7 @@ // See route53resolver package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/route53resolver/ // -// Using the Client +// # Using the Client // // To contact Amazon Route 53 Resolver with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/route53resolveriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/route53resolveriface/interface.go index 0de50ba17023..58a7b52360fa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/route53resolveriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/route53resolveriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Route 53 Resolver. -// func myFunc(svc route53resolveriface.Route53ResolverAPI) bool { -// // Make svc.AssociateFirewallRuleGroup request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Route 53 Resolver. +// func myFunc(svc route53resolveriface.Route53ResolverAPI) bool { +// // Make svc.AssociateFirewallRuleGroup request +// } // -// func main() { -// sess := session.New() -// svc := route53resolver.New(sess) +// func main() { +// sess := session.New() +// svc := route53resolver.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockRoute53ResolverClient struct { -// route53resolveriface.Route53ResolverAPI -// } -// func (m *mockRoute53ResolverClient) AssociateFirewallRuleGroup(input *route53resolver.AssociateFirewallRuleGroupInput) (*route53resolver.AssociateFirewallRuleGroupOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockRoute53ResolverClient struct { +// route53resolveriface.Route53ResolverAPI +// } +// func (m *mockRoute53ResolverClient) AssociateFirewallRuleGroup(input *route53resolver.AssociateFirewallRuleGroupInput) (*route53resolver.AssociateFirewallRuleGroupOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockRoute53ResolverClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockRoute53ResolverClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/service.go index be9839237f43..37e45cbb5206 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/route53resolver/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Route53Resolver client from just a session. -// svc := route53resolver.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Route53Resolver client with additional configuration -// svc := route53resolver.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Route53Resolver client from just a session. +// svc := route53resolver.New(mySession) +// +// // Create a Route53Resolver client with additional configuration +// svc := route53resolver.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Route53Resolver { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/api.go index 283dec53313c..653396c88280 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/api.go @@ -40,14 +40,13 @@ const opAbortMultipartUpload = "AbortMultipartUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AbortMultipartUploadRequest method. +// req, resp := client.AbortMultipartUploadRequest(params) // -// // Example sending a request using the AbortMultipartUploadRequest method. -// req, resp := client.AbortMultipartUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUpload func (c *S3) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) (req *request.Request, output *AbortMultipartUploadOutput) { @@ -84,15 +83,15 @@ func (c *S3) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) (req // // The following operations are related to AbortMultipartUpload: // -// * CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html) +// - CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html) // -// * UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) +// - UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) // -// * CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) +// - CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) // -// * ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) +// - ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) // -// * ListMultipartUploads (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html) +// - ListMultipartUploads (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -102,8 +101,8 @@ func (c *S3) AbortMultipartUploadRequest(input *AbortMultipartUploadInput) (req // API operation AbortMultipartUpload for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchUpload "NoSuchUpload" -// The specified multipart upload does not exist. +// - ErrCodeNoSuchUpload "NoSuchUpload" +// The specified multipart upload does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUpload func (c *S3) AbortMultipartUpload(input *AbortMultipartUploadInput) (*AbortMultipartUploadOutput, error) { @@ -143,14 +142,13 @@ const opCompleteMultipartUpload = "CompleteMultipartUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CompleteMultipartUploadRequest method. +// req, resp := client.CompleteMultipartUploadRequest(params) // -// // Example sending a request using the CompleteMultipartUploadRequest method. -// req, resp := client.CompleteMultipartUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUpload func (c *S3) CompleteMultipartUploadRequest(input *CompleteMultipartUploadInput) (req *request.Request, output *CompleteMultipartUploadOutput) { @@ -208,33 +206,33 @@ func (c *S3) CompleteMultipartUploadRequest(input *CompleteMultipartUploadInput) // // CompleteMultipartUpload has the following special errors: // -// * Error code: EntityTooSmall Description: Your proposed upload is smaller -// than the minimum allowed object size. Each part must be at least 5 MB -// in size, except the last part. 400 Bad Request +// - Error code: EntityTooSmall Description: Your proposed upload is smaller +// than the minimum allowed object size. Each part must be at least 5 MB +// in size, except the last part. 400 Bad Request // -// * Error code: InvalidPart Description: One or more of the specified parts -// could not be found. The part might not have been uploaded, or the specified -// entity tag might not have matched the part's entity tag. 400 Bad Request +// - Error code: InvalidPart Description: One or more of the specified parts +// could not be found. The part might not have been uploaded, or the specified +// entity tag might not have matched the part's entity tag. 400 Bad Request // -// * Error code: InvalidPartOrder Description: The list of parts was not -// in ascending order. The parts list must be specified in order by part -// number. 400 Bad Request +// - Error code: InvalidPartOrder Description: The list of parts was not +// in ascending order. The parts list must be specified in order by part +// number. 400 Bad Request // -// * Error code: NoSuchUpload Description: The specified multipart upload -// does not exist. The upload ID might be invalid, or the multipart upload -// might have been aborted or completed. 404 Not Found +// - Error code: NoSuchUpload Description: The specified multipart upload +// does not exist. The upload ID might be invalid, or the multipart upload +// might have been aborted or completed. 404 Not Found // // The following operations are related to CompleteMultipartUpload: // -// * CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html) +// - CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html) // -// * UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) +// - UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) // -// * AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html) +// - AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html) // -// * ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) +// - ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) // -// * ListMultipartUploads (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html) +// - ListMultipartUploads (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -280,14 +278,13 @@ const opCopyObject = "CopyObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyObjectRequest method. +// req, resp := client.CopyObjectRequest(params) // -// // Example sending a request using the CopyObjectRequest method. -// req, resp := client.CopyObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObject func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, output *CopyObjectOutput) { @@ -346,7 +343,7 @@ func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, ou // get a 400 Bad Request error. For more information, see Transfer Acceleration // (https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html). // -// Metadata +// # Metadata // // When copying an object, you can preserve all metadata (default) or specify // new metadata. However, the ACL is not preserved and is set to private for @@ -369,34 +366,34 @@ func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, ou // matches or whether the object was modified before or after a specified date, // use the following request parameters: // -// * x-amz-copy-source-if-match +// - x-amz-copy-source-if-match // -// * x-amz-copy-source-if-none-match +// - x-amz-copy-source-if-none-match // -// * x-amz-copy-source-if-unmodified-since +// - x-amz-copy-source-if-unmodified-since // -// * x-amz-copy-source-if-modified-since +// - x-amz-copy-source-if-modified-since // // If both the x-amz-copy-source-if-match and x-amz-copy-source-if-unmodified-since // headers are present in the request and evaluate as follows, Amazon S3 returns // 200 OK and copies the data: // -// * x-amz-copy-source-if-match condition evaluates to true +// - x-amz-copy-source-if-match condition evaluates to true // -// * x-amz-copy-source-if-unmodified-since condition evaluates to false +// - x-amz-copy-source-if-unmodified-since condition evaluates to false // // If both the x-amz-copy-source-if-none-match and x-amz-copy-source-if-modified-since // headers are present in the request and evaluate as follows, Amazon S3 returns // the 412 Precondition Failed response code: // -// * x-amz-copy-source-if-none-match condition evaluates to false +// - x-amz-copy-source-if-none-match condition evaluates to false // -// * x-amz-copy-source-if-modified-since condition evaluates to true +// - x-amz-copy-source-if-modified-since condition evaluates to true // // All headers with the x-amz- prefix, including x-amz-copy-source, must be // signed. // -// Server-side encryption +// # Server-side encryption // // When you perform a CopyObject operation, you can optionally use the appropriate // encryption-related headers to encrypt the object using server-side encryption @@ -410,7 +407,7 @@ func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, ou // object. For more information, see Amazon S3 Bucket Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) // in the Amazon S3 User Guide. // -// Access Control List (ACL)-Specific Request Headers +// # Access Control List (ACL)-Specific Request Headers // // When copying an object, you can optionally use headers to grant ACL-based // permissions. By default, all objects are private. Only the owner has full @@ -435,21 +432,21 @@ func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, ou // all objects written to the bucket by any account will be owned by the bucket // owner. // -// Checksums +// # Checksums // // When copying an object, if it has a checksum, that checksum will be copied // to the new object by default. When you copy the object over, you may optionally // specify a different checksum algorithm to use with the x-amz-checksum-algorithm // header. // -// Storage Class Options +// # Storage Class Options // // You can use the CopyObject action to change the storage class of an object // that is already stored in Amazon S3 using the StorageClass parameter. For // more information, see Storage Classes (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html) // in the Amazon S3 User Guide. // -// Versioning +// # Versioning // // By default, x-amz-copy-source identifies the current version of an object // to copy. If the current version is a delete marker, Amazon S3 behaves as @@ -470,9 +467,9 @@ func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, ou // // The following operations are related to CopyObject: // -// * PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) +// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) // -// * GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) +// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) // // For more information, see Copying Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/CopyingObjectsExamples.html). // @@ -484,9 +481,9 @@ func (c *S3) CopyObjectRequest(input *CopyObjectInput) (req *request.Request, ou // API operation CopyObject for usage and error information. // // Returned Error Codes: -// * ErrCodeObjectNotInActiveTierError "ObjectNotInActiveTierError" -// The source object of the COPY action is not in the active tier and is only -// stored in Amazon S3 Glacier. +// - ErrCodeObjectNotInActiveTierError "ObjectNotInActiveTierError" +// The source object of the COPY action is not in the active tier and is only +// stored in Amazon S3 Glacier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObject func (c *S3) CopyObject(input *CopyObjectInput) (*CopyObjectOutput, error) { @@ -526,14 +523,13 @@ const opCreateBucket = "CreateBucket" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBucketRequest method. +// req, resp := client.CreateBucketRequest(params) // -// // Example sending a request using the CreateBucketRequest method. -// req, resp := client.CreateBucketRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucket func (c *S3) CreateBucketRequest(input *CreateBucketInput) (req *request.Request, output *CreateBucketOutput) { @@ -595,59 +591,59 @@ func (c *S3) CreateBucketRequest(input *CreateBucketInput) (req *request.Request // There are two ways to grant the appropriate permissions using the request // headers. // -// * Specify a canned ACL using the x-amz-acl request header. Amazon S3 supports -// a set of predefined ACLs, known as canned ACLs. Each canned ACL has a -// predefined set of grantees and permissions. For more information, see -// Canned ACL (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL). -// -// * Specify access permissions explicitly using the x-amz-grant-read, x-amz-grant-write, -// x-amz-grant-read-acp, x-amz-grant-write-acp, and x-amz-grant-full-control -// headers. These headers map to the set of permissions Amazon S3 supports -// in an ACL. For more information, see Access control list (ACL) overview -// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html). -// You specify each grantee as a type=value pair, where the type is one of -// the following: id – if the value specified is the canonical user ID -// of an Amazon Web Services account uri – if you are granting permissions -// to a predefined group emailAddress – if the value specified is the email -// address of an Amazon Web Services account Using email addresses to specify -// a grantee is only supported in the following Amazon Web Services Regions: -// US East (N. Virginia) US West (N. California) US West (Oregon) Asia Pacific -// (Singapore) Asia Pacific (Sydney) Asia Pacific (Tokyo) Europe (Ireland) -// South America (São Paulo) For a list of all the Amazon S3 supported Regions -// and endpoints, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) -// in the Amazon Web Services General Reference. For example, the following -// x-amz-grant-read header grants the Amazon Web Services accounts identified -// by account IDs permissions to read object data and its metadata: x-amz-grant-read: -// id="11112222333", id="444455556666" +// - Specify a canned ACL using the x-amz-acl request header. Amazon S3 supports +// a set of predefined ACLs, known as canned ACLs. Each canned ACL has a +// predefined set of grantees and permissions. For more information, see +// Canned ACL (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL). +// +// - Specify access permissions explicitly using the x-amz-grant-read, x-amz-grant-write, +// x-amz-grant-read-acp, x-amz-grant-write-acp, and x-amz-grant-full-control +// headers. These headers map to the set of permissions Amazon S3 supports +// in an ACL. For more information, see Access control list (ACL) overview +// (https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html). +// You specify each grantee as a type=value pair, where the type is one of +// the following: id – if the value specified is the canonical user ID +// of an Amazon Web Services account uri – if you are granting permissions +// to a predefined group emailAddress – if the value specified is the email +// address of an Amazon Web Services account Using email addresses to specify +// a grantee is only supported in the following Amazon Web Services Regions: +// US East (N. Virginia) US West (N. California) US West (Oregon) Asia Pacific +// (Singapore) Asia Pacific (Sydney) Asia Pacific (Tokyo) Europe (Ireland) +// South America (São Paulo) For a list of all the Amazon S3 supported Regions +// and endpoints, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) +// in the Amazon Web Services General Reference. For example, the following +// x-amz-grant-read header grants the Amazon Web Services accounts identified +// by account IDs permissions to read object data and its metadata: x-amz-grant-read: +// id="11112222333", id="444455556666" // // You can use either a canned ACL or specify access permissions explicitly. // You cannot do both. // -// Permissions +// # Permissions // // In addition to s3:CreateBucket, the following permissions are required when // your CreateBucket includes specific headers: // -// * ACLs - If your CreateBucket request specifies ACL permissions and the -// ACL is public-read, public-read-write, authenticated-read, or if you specify -// access permissions explicitly through any other ACL, both s3:CreateBucket -// and s3:PutBucketAcl permissions are needed. If the ACL the CreateBucket -// request is private or doesn't specify any ACLs, only s3:CreateBucket permission -// is needed. +// - ACLs - If your CreateBucket request specifies ACL permissions and the +// ACL is public-read, public-read-write, authenticated-read, or if you specify +// access permissions explicitly through any other ACL, both s3:CreateBucket +// and s3:PutBucketAcl permissions are needed. If the ACL the CreateBucket +// request is private or doesn't specify any ACLs, only s3:CreateBucket permission +// is needed. // -// * Object Lock - If ObjectLockEnabledForBucket is set to true in your CreateBucket -// request, s3:PutBucketObjectLockConfiguration and s3:PutBucketVersioning -// permissions are required. +// - Object Lock - If ObjectLockEnabledForBucket is set to true in your CreateBucket +// request, s3:PutBucketObjectLockConfiguration and s3:PutBucketVersioning +// permissions are required. // -// * S3 Object Ownership - If your CreateBucket request includes the the -// x-amz-object-ownership header, s3:PutBucketOwnershipControls permission -// is required. +// - S3 Object Ownership - If your CreateBucket request includes the the +// x-amz-object-ownership header, s3:PutBucketOwnershipControls permission +// is required. // // The following operations are related to CreateBucket: // -// * PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) +// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) // -// * DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html) +// - DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -657,16 +653,17 @@ func (c *S3) CreateBucketRequest(input *CreateBucketInput) (req *request.Request // API operation CreateBucket for usage and error information. // // Returned Error Codes: -// * ErrCodeBucketAlreadyExists "BucketAlreadyExists" -// The requested bucket name is not available. The bucket namespace is shared -// by all users of the system. Select a different name and try again. // -// * ErrCodeBucketAlreadyOwnedByYou "BucketAlreadyOwnedByYou" -// The bucket you tried to create already exists, and you own it. Amazon S3 -// returns this error in all Amazon Web Services Regions except in the North -// Virginia Region. For legacy compatibility, if you re-create an existing bucket -// that you already own in the North Virginia Region, Amazon S3 returns 200 -// OK and resets the bucket access control lists (ACLs). +// - ErrCodeBucketAlreadyExists "BucketAlreadyExists" +// The requested bucket name is not available. The bucket namespace is shared +// by all users of the system. Select a different name and try again. +// +// - ErrCodeBucketAlreadyOwnedByYou "BucketAlreadyOwnedByYou" +// The bucket you tried to create already exists, and you own it. Amazon S3 +// returns this error in all Amazon Web Services Regions except in the North +// Virginia Region. For legacy compatibility, if you re-create an existing bucket +// that you already own in the North Virginia Region, Amazon S3 returns 200 +// OK and resets the bucket access control lists (ACLs). // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucket func (c *S3) CreateBucket(input *CreateBucketInput) (*CreateBucketOutput, error) { @@ -706,14 +703,13 @@ const opCreateMultipartUpload = "CreateMultipartUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMultipartUploadRequest method. +// req, resp := client.CreateMultipartUploadRequest(params) // -// // Example sending a request using the CreateMultipartUploadRequest method. -// req, resp := client.CreateMultipartUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUpload func (c *S3) CreateMultipartUploadRequest(input *CreateMultipartUploadInput) (req *request.Request, output *CreateMultipartUploadOutput) { @@ -793,24 +789,24 @@ func (c *S3) CreateMultipartUploadRequest(input *CreateMultipartUploadInput) (re // // For more information, see Protecting Data Using Server-Side Encryption (https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html). // -// Access Permissions +// # Access Permissions // // When copying an object, you can optionally specify the accounts or groups // that should be granted specific permissions on the new object. There are // two ways to grant the permissions using the request headers: // -// * Specify a canned ACL with the x-amz-acl request header. For more information, -// see Canned ACL (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL). +// - Specify a canned ACL with the x-amz-acl request header. For more information, +// see Canned ACL (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL). // -// * Specify access permissions explicitly with the x-amz-grant-read, x-amz-grant-read-acp, -// x-amz-grant-write-acp, and x-amz-grant-full-control headers. These parameters -// map to the set of permissions that Amazon S3 supports in an ACL. For more -// information, see Access Control List (ACL) Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html). +// - Specify access permissions explicitly with the x-amz-grant-read, x-amz-grant-read-acp, +// x-amz-grant-write-acp, and x-amz-grant-full-control headers. These parameters +// map to the set of permissions that Amazon S3 supports in an ACL. For more +// information, see Access Control List (ACL) Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html). // // You can use either a canned ACL or specify access permissions explicitly. // You cannot do both. // -// Server-Side- Encryption-Specific Request Headers +// # Server-Side- Encryption-Specific Request Headers // // You can optionally tell Amazon S3 to encrypt data at rest using server-side // encryption. Server-side encryption is for data encryption at rest. Amazon @@ -819,27 +815,27 @@ func (c *S3) CreateMultipartUploadRequest(input *CreateMultipartUploadInput) (re // use Amazon Web Services managed encryption keys or provide your own encryption // key. // -// * Use encryption keys managed by Amazon S3 or customer managed key stored -// in Amazon Web Services Key Management Service (Amazon Web Services KMS) -// – If you want Amazon Web Services to manage the keys used to encrypt -// data, specify the following headers in the request. x-amz-server-side-encryption -// x-amz-server-side-encryption-aws-kms-key-id x-amz-server-side-encryption-context -// If you specify x-amz-server-side-encryption:aws:kms, but don't provide -// x-amz-server-side-encryption-aws-kms-key-id, Amazon S3 uses the Amazon -// Web Services managed key in Amazon Web Services KMS to protect the data. -// All GET and PUT requests for an object protected by Amazon Web Services -// KMS fail if you don't make them with SSL or by using SigV4. For more information -// about server-side encryption with KMS key (SSE-KMS), see Protecting Data -// Using Server-Side Encryption with KMS keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html). -// -// * Use customer-provided encryption keys – If you want to manage your -// own encryption keys, provide all the following headers in the request. -// x-amz-server-side-encryption-customer-algorithm x-amz-server-side-encryption-customer-key -// x-amz-server-side-encryption-customer-key-MD5 For more information about -// server-side encryption with KMS keys (SSE-KMS), see Protecting Data Using -// Server-Side Encryption with KMS keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html). -// -// Access-Control-List (ACL)-Specific Request Headers +// - Use encryption keys managed by Amazon S3 or customer managed key stored +// in Amazon Web Services Key Management Service (Amazon Web Services KMS) +// – If you want Amazon Web Services to manage the keys used to encrypt +// data, specify the following headers in the request. x-amz-server-side-encryption +// x-amz-server-side-encryption-aws-kms-key-id x-amz-server-side-encryption-context +// If you specify x-amz-server-side-encryption:aws:kms, but don't provide +// x-amz-server-side-encryption-aws-kms-key-id, Amazon S3 uses the Amazon +// Web Services managed key in Amazon Web Services KMS to protect the data. +// All GET and PUT requests for an object protected by Amazon Web Services +// KMS fail if you don't make them with SSL or by using SigV4. For more information +// about server-side encryption with KMS key (SSE-KMS), see Protecting Data +// Using Server-Side Encryption with KMS keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html). +// +// - Use customer-provided encryption keys – If you want to manage your +// own encryption keys, provide all the following headers in the request. +// x-amz-server-side-encryption-customer-algorithm x-amz-server-side-encryption-customer-key +// x-amz-server-side-encryption-customer-key-MD5 For more information about +// server-side encryption with KMS keys (SSE-KMS), see Protecting Data Using +// Server-Side Encryption with KMS keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html). +// +// # Access-Control-List (ACL)-Specific Request Headers // // You also can use the following access control–related headers with this // operation. By default, all objects are private. Only the owner has full access @@ -850,44 +846,44 @@ func (c *S3) CreateMultipartUploadRequest(input *CreateMultipartUploadInput) (re // With this operation, you can grant access permissions using one of the following // two methods: // -// * Specify a canned ACL (x-amz-acl) — Amazon S3 supports a set of predefined -// ACLs, known as canned ACLs. Each canned ACL has a predefined set of grantees -// and permissions. For more information, see Canned ACL (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL). -// -// * Specify access permissions explicitly — To explicitly grant access -// permissions to specific Amazon Web Services accounts or groups, use the -// following headers. Each header maps to specific permissions that Amazon -// S3 supports in an ACL. For more information, see Access Control List (ACL) -// Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html). -// In the header, you specify a list of grantees who get the specific permission. -// To grant permissions explicitly, use: x-amz-grant-read x-amz-grant-write -// x-amz-grant-read-acp x-amz-grant-write-acp x-amz-grant-full-control You -// specify each grantee as a type=value pair, where the type is one of the -// following: id – if the value specified is the canonical user ID of an -// Amazon Web Services account uri – if you are granting permissions to -// a predefined group emailAddress – if the value specified is the email -// address of an Amazon Web Services account Using email addresses to specify -// a grantee is only supported in the following Amazon Web Services Regions: -// US East (N. Virginia) US West (N. California) US West (Oregon) Asia Pacific -// (Singapore) Asia Pacific (Sydney) Asia Pacific (Tokyo) Europe (Ireland) -// South America (São Paulo) For a list of all the Amazon S3 supported Regions -// and endpoints, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) -// in the Amazon Web Services General Reference. For example, the following -// x-amz-grant-read header grants the Amazon Web Services accounts identified -// by account IDs permissions to read object data and its metadata: x-amz-grant-read: -// id="11112222333", id="444455556666" +// - Specify a canned ACL (x-amz-acl) — Amazon S3 supports a set of predefined +// ACLs, known as canned ACLs. Each canned ACL has a predefined set of grantees +// and permissions. For more information, see Canned ACL (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL). +// +// - Specify access permissions explicitly — To explicitly grant access +// permissions to specific Amazon Web Services accounts or groups, use the +// following headers. Each header maps to specific permissions that Amazon +// S3 supports in an ACL. For more information, see Access Control List (ACL) +// Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html). +// In the header, you specify a list of grantees who get the specific permission. +// To grant permissions explicitly, use: x-amz-grant-read x-amz-grant-write +// x-amz-grant-read-acp x-amz-grant-write-acp x-amz-grant-full-control You +// specify each grantee as a type=value pair, where the type is one of the +// following: id – if the value specified is the canonical user ID of an +// Amazon Web Services account uri – if you are granting permissions to +// a predefined group emailAddress – if the value specified is the email +// address of an Amazon Web Services account Using email addresses to specify +// a grantee is only supported in the following Amazon Web Services Regions: +// US East (N. Virginia) US West (N. California) US West (Oregon) Asia Pacific +// (Singapore) Asia Pacific (Sydney) Asia Pacific (Tokyo) Europe (Ireland) +// South America (São Paulo) For a list of all the Amazon S3 supported Regions +// and endpoints, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) +// in the Amazon Web Services General Reference. For example, the following +// x-amz-grant-read header grants the Amazon Web Services accounts identified +// by account IDs permissions to read object data and its metadata: x-amz-grant-read: +// id="11112222333", id="444455556666" // // The following operations are related to CreateMultipartUpload: // -// * UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) +// - UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) // -// * CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) +// - CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) // -// * AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html) +// - AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html) // -// * ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) +// - ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) // -// * ListMultipartUploads (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html) +// - ListMultipartUploads (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -933,14 +929,13 @@ const opDeleteBucket = "DeleteBucket" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketRequest method. +// req, resp := client.DeleteBucketRequest(params) // -// // Example sending a request using the DeleteBucketRequest method. -// req, resp := client.DeleteBucketRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucket func (c *S3) DeleteBucketRequest(input *DeleteBucketInput) (req *request.Request, output *DeleteBucketOutput) { @@ -967,9 +962,9 @@ func (c *S3) DeleteBucketRequest(input *DeleteBucketInput) (req *request.Request // // Related Resources // -// * CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) +// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) // -// * DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) +// - DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1015,14 +1010,13 @@ const opDeleteBucketAnalyticsConfiguration = "DeleteBucketAnalyticsConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketAnalyticsConfigurationRequest method. +// req, resp := client.DeleteBucketAnalyticsConfigurationRequest(params) // -// // Example sending a request using the DeleteBucketAnalyticsConfigurationRequest method. -// req, resp := client.DeleteBucketAnalyticsConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfiguration func (c *S3) DeleteBucketAnalyticsConfigurationRequest(input *DeleteBucketAnalyticsConfigurationInput) (req *request.Request, output *DeleteBucketAnalyticsConfigurationOutput) { @@ -1058,11 +1052,11 @@ func (c *S3) DeleteBucketAnalyticsConfigurationRequest(input *DeleteBucketAnalyt // // The following operations are related to DeleteBucketAnalyticsConfiguration: // -// * GetBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAnalyticsConfiguration.html) +// - GetBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAnalyticsConfiguration.html) // -// * ListBucketAnalyticsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketAnalyticsConfigurations.html) +// - ListBucketAnalyticsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketAnalyticsConfigurations.html) // -// * PutBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAnalyticsConfiguration.html) +// - PutBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAnalyticsConfiguration.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1108,14 +1102,13 @@ const opDeleteBucketCors = "DeleteBucketCors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketCorsRequest method. +// req, resp := client.DeleteBucketCorsRequest(params) // -// // Example sending a request using the DeleteBucketCorsRequest method. -// req, resp := client.DeleteBucketCorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCors func (c *S3) DeleteBucketCorsRequest(input *DeleteBucketCorsInput) (req *request.Request, output *DeleteBucketCorsOutput) { @@ -1148,9 +1141,9 @@ func (c *S3) DeleteBucketCorsRequest(input *DeleteBucketCorsInput) (req *request // // Related Resources: // -// * PutBucketCors (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketCors.html) +// - PutBucketCors (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketCors.html) // -// * RESTOPTIONSobject (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTOPTIONSobject.html) +// - RESTOPTIONSobject (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTOPTIONSobject.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1196,14 +1189,13 @@ const opDeleteBucketEncryption = "DeleteBucketEncryption" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketEncryptionRequest method. +// req, resp := client.DeleteBucketEncryptionRequest(params) // -// // Example sending a request using the DeleteBucketEncryptionRequest method. -// req, resp := client.DeleteBucketEncryptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryption func (c *S3) DeleteBucketEncryptionRequest(input *DeleteBucketEncryptionInput) (req *request.Request, output *DeleteBucketEncryptionOutput) { @@ -1239,9 +1231,9 @@ func (c *S3) DeleteBucketEncryptionRequest(input *DeleteBucketEncryptionInput) ( // // Related Resources // -// * PutBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html) +// - PutBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html) // -// * GetBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html) +// - GetBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1287,14 +1279,13 @@ const opDeleteBucketIntelligentTieringConfiguration = "DeleteBucketIntelligentTi // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketIntelligentTieringConfigurationRequest method. +// req, resp := client.DeleteBucketIntelligentTieringConfigurationRequest(params) // -// // Example sending a request using the DeleteBucketIntelligentTieringConfigurationRequest method. -// req, resp := client.DeleteBucketIntelligentTieringConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketIntelligentTieringConfiguration func (c *S3) DeleteBucketIntelligentTieringConfigurationRequest(input *DeleteBucketIntelligentTieringConfigurationInput) (req *request.Request, output *DeleteBucketIntelligentTieringConfigurationOutput) { @@ -1337,11 +1328,11 @@ func (c *S3) DeleteBucketIntelligentTieringConfigurationRequest(input *DeleteBuc // // Operations related to DeleteBucketIntelligentTieringConfiguration include: // -// * GetBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html) +// - GetBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html) // -// * PutBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html) +// - PutBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html) // -// * ListBucketIntelligentTieringConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html) +// - ListBucketIntelligentTieringConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1387,14 +1378,13 @@ const opDeleteBucketInventoryConfiguration = "DeleteBucketInventoryConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketInventoryConfigurationRequest method. +// req, resp := client.DeleteBucketInventoryConfigurationRequest(params) // -// // Example sending a request using the DeleteBucketInventoryConfigurationRequest method. -// req, resp := client.DeleteBucketInventoryConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfiguration func (c *S3) DeleteBucketInventoryConfigurationRequest(input *DeleteBucketInventoryConfigurationInput) (req *request.Request, output *DeleteBucketInventoryConfigurationOutput) { @@ -1430,11 +1420,11 @@ func (c *S3) DeleteBucketInventoryConfigurationRequest(input *DeleteBucketInvent // // Operations related to DeleteBucketInventoryConfiguration include: // -// * GetBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketInventoryConfiguration.html) +// - GetBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketInventoryConfiguration.html) // -// * PutBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html) +// - PutBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html) // -// * ListBucketInventoryConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html) +// - ListBucketInventoryConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1480,14 +1470,13 @@ const opDeleteBucketLifecycle = "DeleteBucketLifecycle" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketLifecycleRequest method. +// req, resp := client.DeleteBucketLifecycleRequest(params) // -// // Example sending a request using the DeleteBucketLifecycleRequest method. -// req, resp := client.DeleteBucketLifecycleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycle func (c *S3) DeleteBucketLifecycleRequest(input *DeleteBucketLifecycleInput) (req *request.Request, output *DeleteBucketLifecycleOutput) { @@ -1527,9 +1516,9 @@ func (c *S3) DeleteBucketLifecycleRequest(input *DeleteBucketLifecycleInput) (re // // Related actions include: // -// * PutBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html) +// - PutBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html) // -// * GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html) +// - GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1575,14 +1564,13 @@ const opDeleteBucketMetricsConfiguration = "DeleteBucketMetricsConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketMetricsConfigurationRequest method. +// req, resp := client.DeleteBucketMetricsConfigurationRequest(params) // -// // Example sending a request using the DeleteBucketMetricsConfigurationRequest method. -// req, resp := client.DeleteBucketMetricsConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfiguration func (c *S3) DeleteBucketMetricsConfigurationRequest(input *DeleteBucketMetricsConfigurationInput) (req *request.Request, output *DeleteBucketMetricsConfigurationOutput) { @@ -1619,13 +1607,13 @@ func (c *S3) DeleteBucketMetricsConfigurationRequest(input *DeleteBucketMetricsC // // The following operations are related to DeleteBucketMetricsConfiguration: // -// * GetBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html) +// - GetBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html) // -// * PutBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html) +// - PutBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html) // -// * ListBucketMetricsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html) +// - ListBucketMetricsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html) // -// * Monitoring Metrics with Amazon CloudWatch (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html) +// - Monitoring Metrics with Amazon CloudWatch (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1671,14 +1659,13 @@ const opDeleteBucketOwnershipControls = "DeleteBucketOwnershipControls" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketOwnershipControlsRequest method. +// req, resp := client.DeleteBucketOwnershipControlsRequest(params) // -// // Example sending a request using the DeleteBucketOwnershipControlsRequest method. -// req, resp := client.DeleteBucketOwnershipControlsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketOwnershipControls func (c *S3) DeleteBucketOwnershipControlsRequest(input *DeleteBucketOwnershipControlsInput) (req *request.Request, output *DeleteBucketOwnershipControlsOutput) { @@ -1709,9 +1696,9 @@ func (c *S3) DeleteBucketOwnershipControlsRequest(input *DeleteBucketOwnershipCo // // The following operations are related to DeleteBucketOwnershipControls: // -// * GetBucketOwnershipControls +// - GetBucketOwnershipControls // -// * PutBucketOwnershipControls +// - PutBucketOwnershipControls // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1757,14 +1744,13 @@ const opDeleteBucketPolicy = "DeleteBucketPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketPolicyRequest method. +// req, resp := client.DeleteBucketPolicyRequest(params) // -// // Example sending a request using the DeleteBucketPolicyRequest method. -// req, resp := client.DeleteBucketPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicy func (c *S3) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) (req *request.Request, output *DeleteBucketPolicyOutput) { @@ -1806,9 +1792,9 @@ func (c *S3) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) (req *req // // The following operations are related to DeleteBucketPolicy // -// * CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) +// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) // -// * DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) +// - DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1854,14 +1840,13 @@ const opDeleteBucketReplication = "DeleteBucketReplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketReplicationRequest method. +// req, resp := client.DeleteBucketReplicationRequest(params) // -// // Example sending a request using the DeleteBucketReplicationRequest method. -// req, resp := client.DeleteBucketReplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplication func (c *S3) DeleteBucketReplicationRequest(input *DeleteBucketReplicationInput) (req *request.Request, output *DeleteBucketReplicationOutput) { @@ -1899,9 +1884,9 @@ func (c *S3) DeleteBucketReplicationRequest(input *DeleteBucketReplicationInput) // // The following operations are related to DeleteBucketReplication: // -// * PutBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html) +// - PutBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html) // -// * GetBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketReplication.html) +// - GetBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketReplication.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1947,14 +1932,13 @@ const opDeleteBucketTagging = "DeleteBucketTagging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketTaggingRequest method. +// req, resp := client.DeleteBucketTaggingRequest(params) // -// // Example sending a request using the DeleteBucketTaggingRequest method. -// req, resp := client.DeleteBucketTaggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTagging func (c *S3) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) (req *request.Request, output *DeleteBucketTaggingOutput) { @@ -1984,9 +1968,9 @@ func (c *S3) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) (req *r // // The following operations are related to DeleteBucketTagging: // -// * GetBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html) +// - GetBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html) // -// * PutBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html) +// - PutBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2032,14 +2016,13 @@ const opDeleteBucketWebsite = "DeleteBucketWebsite" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketWebsiteRequest method. +// req, resp := client.DeleteBucketWebsiteRequest(params) // -// // Example sending a request using the DeleteBucketWebsiteRequest method. -// req, resp := client.DeleteBucketWebsiteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsite func (c *S3) DeleteBucketWebsiteRequest(input *DeleteBucketWebsiteInput) (req *request.Request, output *DeleteBucketWebsiteOutput) { @@ -2078,9 +2061,9 @@ func (c *S3) DeleteBucketWebsiteRequest(input *DeleteBucketWebsiteInput) (req *r // // The following operations are related to DeleteBucketWebsite: // -// * GetBucketWebsite (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketWebsite.html) +// - GetBucketWebsite (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketWebsite.html) // -// * PutBucketWebsite (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html) +// - PutBucketWebsite (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2126,14 +2109,13 @@ const opDeleteObject = "DeleteObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteObjectRequest method. +// req, resp := client.DeleteObjectRequest(params) // -// // Example sending a request using the DeleteObjectRequest method. -// req, resp := client.DeleteObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObject func (c *S3) DeleteObjectRequest(input *DeleteObjectInput) (req *request.Request, output *DeleteObjectOutput) { @@ -2181,7 +2163,7 @@ func (c *S3) DeleteObjectRequest(input *DeleteObjectInput) (req *request.Request // // The following action is related to DeleteObject: // -// * PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) +// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2227,14 +2209,13 @@ const opDeleteObjectTagging = "DeleteObjectTagging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteObjectTaggingRequest method. +// req, resp := client.DeleteObjectTaggingRequest(params) // -// // Example sending a request using the DeleteObjectTaggingRequest method. -// req, resp := client.DeleteObjectTaggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTagging func (c *S3) DeleteObjectTaggingRequest(input *DeleteObjectTaggingInput) (req *request.Request, output *DeleteObjectTaggingOutput) { @@ -2267,9 +2248,9 @@ func (c *S3) DeleteObjectTaggingRequest(input *DeleteObjectTaggingInput) (req *r // // The following operations are related to DeleteBucketMetricsConfiguration: // -// * PutObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html) +// - PutObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html) // -// * GetObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html) +// - GetObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2315,14 +2296,13 @@ const opDeleteObjects = "DeleteObjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteObjectsRequest method. +// req, resp := client.DeleteObjectsRequest(params) // -// // Example sending a request using the DeleteObjectsRequest method. -// req, resp := client.DeleteObjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjects func (c *S3) DeleteObjectsRequest(input *DeleteObjectsInput) (req *request.Request, output *DeleteObjectsOutput) { @@ -2380,15 +2360,15 @@ func (c *S3) DeleteObjectsRequest(input *DeleteObjectsInput) (req *request.Reque // // The following operations are related to DeleteObjects: // -// * CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html) +// - CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html) // -// * UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) +// - UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) // -// * CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) +// - CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) // -// * ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) +// - ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) // -// * AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html) +// - AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2434,14 +2414,13 @@ const opDeletePublicAccessBlock = "DeletePublicAccessBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePublicAccessBlockRequest method. +// req, resp := client.DeletePublicAccessBlockRequest(params) // -// // Example sending a request using the DeletePublicAccessBlockRequest method. -// req, resp := client.DeletePublicAccessBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletePublicAccessBlock func (c *S3) DeletePublicAccessBlockRequest(input *DeletePublicAccessBlockInput) (req *request.Request, output *DeletePublicAccessBlockOutput) { @@ -2471,13 +2450,13 @@ func (c *S3) DeletePublicAccessBlockRequest(input *DeletePublicAccessBlockInput) // // The following operations are related to DeletePublicAccessBlock: // -// * Using Amazon S3 Block Public Access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html) +// - Using Amazon S3 Block Public Access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html) // -// * GetPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html) +// - GetPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html) // -// * PutPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html) +// - PutPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html) // -// * GetBucketPolicyStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicyStatus.html) +// - GetBucketPolicyStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicyStatus.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2523,14 +2502,13 @@ const opGetBucketAccelerateConfiguration = "GetBucketAccelerateConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketAccelerateConfigurationRequest method. +// req, resp := client.GetBucketAccelerateConfigurationRequest(params) // -// // Example sending a request using the GetBucketAccelerateConfigurationRequest method. -// req, resp := client.GetBucketAccelerateConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfiguration func (c *S3) GetBucketAccelerateConfigurationRequest(input *GetBucketAccelerateConfigurationInput) (req *request.Request, output *GetBucketAccelerateConfigurationOutput) { @@ -2577,7 +2555,7 @@ func (c *S3) GetBucketAccelerateConfigurationRequest(input *GetBucketAccelerateC // // Related Resources // -// * PutBucketAccelerateConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAccelerateConfiguration.html) +// - PutBucketAccelerateConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAccelerateConfiguration.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2623,14 +2601,13 @@ const opGetBucketAcl = "GetBucketAcl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketAclRequest method. +// req, resp := client.GetBucketAclRequest(params) // -// // Example sending a request using the GetBucketAclRequest method. -// req, resp := client.GetBucketAclRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAcl func (c *S3) GetBucketAclRequest(input *GetBucketAclInput) (req *request.Request, output *GetBucketAclOutput) { @@ -2665,7 +2642,7 @@ func (c *S3) GetBucketAclRequest(input *GetBucketAclInput) (req *request.Request // // Related Resources // -// * ListObjects (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html) +// - ListObjects (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2711,14 +2688,13 @@ const opGetBucketAnalyticsConfiguration = "GetBucketAnalyticsConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketAnalyticsConfigurationRequest method. +// req, resp := client.GetBucketAnalyticsConfigurationRequest(params) // -// // Example sending a request using the GetBucketAnalyticsConfigurationRequest method. -// req, resp := client.GetBucketAnalyticsConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfiguration func (c *S3) GetBucketAnalyticsConfigurationRequest(input *GetBucketAnalyticsConfigurationInput) (req *request.Request, output *GetBucketAnalyticsConfigurationOutput) { @@ -2755,11 +2731,11 @@ func (c *S3) GetBucketAnalyticsConfigurationRequest(input *GetBucketAnalyticsCon // // Related Resources // -// * DeleteBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketAnalyticsConfiguration.html) +// - DeleteBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketAnalyticsConfiguration.html) // -// * ListBucketAnalyticsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketAnalyticsConfigurations.html) +// - ListBucketAnalyticsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketAnalyticsConfigurations.html) // -// * PutBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAnalyticsConfiguration.html) +// - PutBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAnalyticsConfiguration.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2805,14 +2781,13 @@ const opGetBucketCors = "GetBucketCors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketCorsRequest method. +// req, resp := client.GetBucketCorsRequest(params) // -// // Example sending a request using the GetBucketCorsRequest method. -// req, resp := client.GetBucketCorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCors func (c *S3) GetBucketCorsRequest(input *GetBucketCorsInput) (req *request.Request, output *GetBucketCorsOutput) { @@ -2845,9 +2820,9 @@ func (c *S3) GetBucketCorsRequest(input *GetBucketCorsInput) (req *request.Reque // // The following operations are related to GetBucketCors: // -// * PutBucketCors (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketCors.html) +// - PutBucketCors (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketCors.html) // -// * DeleteBucketCors (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketCors.html) +// - DeleteBucketCors (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketCors.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2893,14 +2868,13 @@ const opGetBucketEncryption = "GetBucketEncryption" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketEncryptionRequest method. +// req, resp := client.GetBucketEncryptionRequest(params) // -// // Example sending a request using the GetBucketEncryptionRequest method. -// req, resp := client.GetBucketEncryptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryption func (c *S3) GetBucketEncryptionRequest(input *GetBucketEncryptionInput) (req *request.Request, output *GetBucketEncryptionOutput) { @@ -2936,9 +2910,9 @@ func (c *S3) GetBucketEncryptionRequest(input *GetBucketEncryptionInput) (req *r // // The following operations are related to GetBucketEncryption: // -// * PutBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html) +// - PutBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html) // -// * DeleteBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html) +// - DeleteBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2984,14 +2958,13 @@ const opGetBucketIntelligentTieringConfiguration = "GetBucketIntelligentTieringC // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketIntelligentTieringConfigurationRequest method. +// req, resp := client.GetBucketIntelligentTieringConfigurationRequest(params) // -// // Example sending a request using the GetBucketIntelligentTieringConfigurationRequest method. -// req, resp := client.GetBucketIntelligentTieringConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketIntelligentTieringConfiguration func (c *S3) GetBucketIntelligentTieringConfigurationRequest(input *GetBucketIntelligentTieringConfigurationInput) (req *request.Request, output *GetBucketIntelligentTieringConfigurationOutput) { @@ -3033,11 +3006,11 @@ func (c *S3) GetBucketIntelligentTieringConfigurationRequest(input *GetBucketInt // // Operations related to GetBucketIntelligentTieringConfiguration include: // -// * DeleteBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketIntelligentTieringConfiguration.html) +// - DeleteBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketIntelligentTieringConfiguration.html) // -// * PutBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html) +// - PutBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html) // -// * ListBucketIntelligentTieringConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html) +// - ListBucketIntelligentTieringConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3083,14 +3056,13 @@ const opGetBucketInventoryConfiguration = "GetBucketInventoryConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketInventoryConfigurationRequest method. +// req, resp := client.GetBucketInventoryConfigurationRequest(params) // -// // Example sending a request using the GetBucketInventoryConfigurationRequest method. -// req, resp := client.GetBucketInventoryConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfiguration func (c *S3) GetBucketInventoryConfigurationRequest(input *GetBucketInventoryConfigurationInput) (req *request.Request, output *GetBucketInventoryConfigurationOutput) { @@ -3125,11 +3097,11 @@ func (c *S3) GetBucketInventoryConfigurationRequest(input *GetBucketInventoryCon // // The following operations are related to GetBucketInventoryConfiguration: // -// * DeleteBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketInventoryConfiguration.html) +// - DeleteBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketInventoryConfiguration.html) // -// * ListBucketInventoryConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html) +// - ListBucketInventoryConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html) // -// * PutBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html) +// - PutBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3175,14 +3147,13 @@ const opGetBucketLifecycle = "GetBucketLifecycle" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketLifecycleRequest method. +// req, resp := client.GetBucketLifecycleRequest(params) // -// // Example sending a request using the GetBucketLifecycleRequest method. -// req, resp := client.GetBucketLifecycleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycle // @@ -3208,7 +3179,6 @@ func (c *S3) GetBucketLifecycleRequest(input *GetBucketLifecycleInput) (req *req // GetBucketLifecycle API operation for Amazon Simple Storage Service. // -// // For an updated version of this API, see GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html). // If you configured a bucket lifecycle using the filter element, you should // see the updated version of this topic. This topic is provided for backward @@ -3225,17 +3195,17 @@ func (c *S3) GetBucketLifecycleRequest(input *GetBucketLifecycleInput) (req *req // // GetBucketLifecycle has the following special error: // -// * Error code: NoSuchLifecycleConfiguration Description: The lifecycle -// configuration does not exist. HTTP Status Code: 404 Not Found SOAP Fault -// Code Prefix: Client +// - Error code: NoSuchLifecycleConfiguration Description: The lifecycle +// configuration does not exist. HTTP Status Code: 404 Not Found SOAP Fault +// Code Prefix: Client // // The following operations are related to GetBucketLifecycle: // -// * GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html) +// - GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html) // -// * PutBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html) +// - PutBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html) // -// * DeleteBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html) +// - DeleteBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3285,14 +3255,13 @@ const opGetBucketLifecycleConfiguration = "GetBucketLifecycleConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketLifecycleConfigurationRequest method. +// req, resp := client.GetBucketLifecycleConfigurationRequest(params) // -// // Example sending a request using the GetBucketLifecycleConfigurationRequest method. -// req, resp := client.GetBucketLifecycleConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfiguration func (c *S3) GetBucketLifecycleConfigurationRequest(input *GetBucketLifecycleConfigurationInput) (req *request.Request, output *GetBucketLifecycleConfigurationOutput) { @@ -3313,7 +3282,6 @@ func (c *S3) GetBucketLifecycleConfigurationRequest(input *GetBucketLifecycleCon // GetBucketLifecycleConfiguration API operation for Amazon Simple Storage Service. // -// // Bucket lifecycle configuration now supports specifying a lifecycle rule using // an object key name prefix, one or more object tags, or a combination of both. // Accordingly, this section describes the latest API. The response describes @@ -3333,17 +3301,17 @@ func (c *S3) GetBucketLifecycleConfigurationRequest(input *GetBucketLifecycleCon // // GetBucketLifecycleConfiguration has the following special error: // -// * Error code: NoSuchLifecycleConfiguration Description: The lifecycle -// configuration does not exist. HTTP Status Code: 404 Not Found SOAP Fault -// Code Prefix: Client +// - Error code: NoSuchLifecycleConfiguration Description: The lifecycle +// configuration does not exist. HTTP Status Code: 404 Not Found SOAP Fault +// Code Prefix: Client // // The following operations are related to GetBucketLifecycleConfiguration: // -// * GetBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycle.html) +// - GetBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycle.html) // -// * PutBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html) +// - PutBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html) // -// * DeleteBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html) +// - DeleteBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3389,14 +3357,13 @@ const opGetBucketLocation = "GetBucketLocation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketLocationRequest method. +// req, resp := client.GetBucketLocationRequest(params) // -// // Example sending a request using the GetBucketLocationRequest method. -// req, resp := client.GetBucketLocationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocation func (c *S3) GetBucketLocationRequest(input *GetBucketLocationInput) (req *request.Request, output *GetBucketLocationOutput) { @@ -3428,9 +3395,9 @@ func (c *S3) GetBucketLocationRequest(input *GetBucketLocationInput) (req *reque // // The following operations are related to GetBucketLocation: // -// * GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) +// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) // -// * CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) +// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3476,14 +3443,13 @@ const opGetBucketLogging = "GetBucketLogging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketLoggingRequest method. +// req, resp := client.GetBucketLoggingRequest(params) // -// // Example sending a request using the GetBucketLoggingRequest method. -// req, resp := client.GetBucketLoggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLogging func (c *S3) GetBucketLoggingRequest(input *GetBucketLoggingInput) (req *request.Request, output *GetBucketLoggingOutput) { @@ -3509,9 +3475,9 @@ func (c *S3) GetBucketLoggingRequest(input *GetBucketLoggingInput) (req *request // // The following operations are related to GetBucketLogging: // -// * CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) +// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) // -// * PutBucketLogging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLogging.html) +// - PutBucketLogging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLogging.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3557,14 +3523,13 @@ const opGetBucketMetricsConfiguration = "GetBucketMetricsConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketMetricsConfigurationRequest method. +// req, resp := client.GetBucketMetricsConfigurationRequest(params) // -// // Example sending a request using the GetBucketMetricsConfigurationRequest method. -// req, resp := client.GetBucketMetricsConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfiguration func (c *S3) GetBucketMetricsConfigurationRequest(input *GetBucketMetricsConfigurationInput) (req *request.Request, output *GetBucketMetricsConfigurationOutput) { @@ -3599,13 +3564,13 @@ func (c *S3) GetBucketMetricsConfigurationRequest(input *GetBucketMetricsConfigu // // The following operations are related to GetBucketMetricsConfiguration: // -// * PutBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html) +// - PutBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html) // -// * DeleteBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetricsConfiguration.html) +// - DeleteBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetricsConfiguration.html) // -// * ListBucketMetricsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html) +// - ListBucketMetricsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html) // -// * Monitoring Metrics with Amazon CloudWatch (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html) +// - Monitoring Metrics with Amazon CloudWatch (https://docs.aws.amazon.com/AmazonS3/latest/dev/cloudwatch-monitoring.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3651,14 +3616,13 @@ const opGetBucketNotification = "GetBucketNotification" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketNotificationRequest method. +// req, resp := client.GetBucketNotificationRequest(params) // -// // Example sending a request using the GetBucketNotificationRequest method. -// req, resp := client.GetBucketNotificationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotification // @@ -3734,14 +3698,13 @@ const opGetBucketNotificationConfiguration = "GetBucketNotificationConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketNotificationConfigurationRequest method. +// req, resp := client.GetBucketNotificationConfigurationRequest(params) // -// // Example sending a request using the GetBucketNotificationConfigurationRequest method. -// req, resp := client.GetBucketNotificationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationConfiguration func (c *S3) GetBucketNotificationConfigurationRequest(input *GetBucketNotificationConfigurationRequest) (req *request.Request, output *NotificationConfiguration) { @@ -3778,7 +3741,7 @@ func (c *S3) GetBucketNotificationConfigurationRequest(input *GetBucketNotificat // // The following action is related to GetBucketNotification: // -// * PutBucketNotification (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketNotification.html) +// - PutBucketNotification (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketNotification.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3824,14 +3787,13 @@ const opGetBucketOwnershipControls = "GetBucketOwnershipControls" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketOwnershipControlsRequest method. +// req, resp := client.GetBucketOwnershipControlsRequest(params) // -// // Example sending a request using the GetBucketOwnershipControlsRequest method. -// req, resp := client.GetBucketOwnershipControlsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketOwnershipControls func (c *S3) GetBucketOwnershipControlsRequest(input *GetBucketOwnershipControlsInput) (req *request.Request, output *GetBucketOwnershipControlsOutput) { @@ -3861,9 +3823,9 @@ func (c *S3) GetBucketOwnershipControlsRequest(input *GetBucketOwnershipControls // // The following operations are related to GetBucketOwnershipControls: // -// * PutBucketOwnershipControls +// - PutBucketOwnershipControls // -// * DeleteBucketOwnershipControls +// - DeleteBucketOwnershipControls // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3909,14 +3871,13 @@ const opGetBucketPolicy = "GetBucketPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketPolicyRequest method. +// req, resp := client.GetBucketPolicyRequest(params) // -// // Example sending a request using the GetBucketPolicyRequest method. -// req, resp := client.GetBucketPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicy func (c *S3) GetBucketPolicyRequest(input *GetBucketPolicyInput) (req *request.Request, output *GetBucketPolicyOutput) { @@ -3956,7 +3917,7 @@ func (c *S3) GetBucketPolicyRequest(input *GetBucketPolicyInput) (req *request.R // // The following action is related to GetBucketPolicy: // -// * GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) +// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4002,14 +3963,13 @@ const opGetBucketPolicyStatus = "GetBucketPolicyStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketPolicyStatusRequest method. +// req, resp := client.GetBucketPolicyStatusRequest(params) // -// // Example sending a request using the GetBucketPolicyStatusRequest method. -// req, resp := client.GetBucketPolicyStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyStatus func (c *S3) GetBucketPolicyStatusRequest(input *GetBucketPolicyStatusInput) (req *request.Request, output *GetBucketPolicyStatusOutput) { @@ -4040,13 +4000,13 @@ func (c *S3) GetBucketPolicyStatusRequest(input *GetBucketPolicyStatusInput) (re // // The following operations are related to GetBucketPolicyStatus: // -// * Using Amazon S3 Block Public Access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html) +// - Using Amazon S3 Block Public Access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html) // -// * GetPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html) +// - GetPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html) // -// * PutPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html) +// - PutPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html) // -// * DeletePublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html) +// - DeletePublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4092,14 +4052,13 @@ const opGetBucketReplication = "GetBucketReplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketReplicationRequest method. +// req, resp := client.GetBucketReplicationRequest(params) // -// // Example sending a request using the GetBucketReplicationRequest method. -// req, resp := client.GetBucketReplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplication func (c *S3) GetBucketReplicationRequest(input *GetBucketReplicationInput) (req *request.Request, output *GetBucketReplicationOutput) { @@ -4142,9 +4101,9 @@ func (c *S3) GetBucketReplicationRequest(input *GetBucketReplicationInput) (req // // The following operations are related to GetBucketReplication: // -// * PutBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html) +// - PutBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketReplication.html) // -// * DeleteBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketReplication.html) +// - DeleteBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketReplication.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4190,14 +4149,13 @@ const opGetBucketRequestPayment = "GetBucketRequestPayment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketRequestPaymentRequest method. +// req, resp := client.GetBucketRequestPaymentRequest(params) // -// // Example sending a request using the GetBucketRequestPaymentRequest method. -// req, resp := client.GetBucketRequestPaymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPayment func (c *S3) GetBucketRequestPaymentRequest(input *GetBucketRequestPaymentInput) (req *request.Request, output *GetBucketRequestPaymentOutput) { @@ -4224,7 +4182,7 @@ func (c *S3) GetBucketRequestPaymentRequest(input *GetBucketRequestPaymentInput) // // The following operations are related to GetBucketRequestPayment: // -// * ListObjects (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html) +// - ListObjects (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4270,14 +4228,13 @@ const opGetBucketTagging = "GetBucketTagging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketTaggingRequest method. +// req, resp := client.GetBucketTaggingRequest(params) // -// // Example sending a request using the GetBucketTaggingRequest method. -// req, resp := client.GetBucketTaggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTagging func (c *S3) GetBucketTaggingRequest(input *GetBucketTaggingInput) (req *request.Request, output *GetBucketTaggingOutput) { @@ -4306,14 +4263,14 @@ func (c *S3) GetBucketTaggingRequest(input *GetBucketTaggingInput) (req *request // // GetBucketTagging has the following special error: // -// * Error code: NoSuchTagSet Description: There is no tag set associated -// with the bucket. +// - Error code: NoSuchTagSet Description: There is no tag set associated +// with the bucket. // // The following operations are related to GetBucketTagging: // -// * PutBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html) +// - PutBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html) // -// * DeleteBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html) +// - DeleteBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4359,14 +4316,13 @@ const opGetBucketVersioning = "GetBucketVersioning" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketVersioningRequest method. +// req, resp := client.GetBucketVersioningRequest(params) // -// // Example sending a request using the GetBucketVersioningRequest method. -// req, resp := client.GetBucketVersioningRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioning func (c *S3) GetBucketVersioningRequest(input *GetBucketVersioningInput) (req *request.Request, output *GetBucketVersioningOutput) { @@ -4397,11 +4353,11 @@ func (c *S3) GetBucketVersioningRequest(input *GetBucketVersioningInput) (req *r // // The following operations are related to GetBucketVersioning: // -// * GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) +// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) // -// * PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) +// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) // -// * DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) +// - DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4447,14 +4403,13 @@ const opGetBucketWebsite = "GetBucketWebsite" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketWebsiteRequest method. +// req, resp := client.GetBucketWebsiteRequest(params) // -// // Example sending a request using the GetBucketWebsiteRequest method. -// req, resp := client.GetBucketWebsiteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsite func (c *S3) GetBucketWebsiteRequest(input *GetBucketWebsiteInput) (req *request.Request, output *GetBucketWebsiteOutput) { @@ -4487,9 +4442,9 @@ func (c *S3) GetBucketWebsiteRequest(input *GetBucketWebsiteInput) (req *request // // The following operations are related to DeleteBucketWebsite: // -// * DeleteBucketWebsite (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketWebsite.html) +// - DeleteBucketWebsite (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketWebsite.html) // -// * PutBucketWebsite (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html) +// - PutBucketWebsite (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4535,14 +4490,13 @@ const opGetObject = "GetObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetObjectRequest method. +// req, resp := client.GetObjectRequest(params) // -// // Example sending a request using the GetObjectRequest method. -// req, resp := client.GetObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObject func (c *S3) GetObjectRequest(input *GetObjectInput) (req *request.Request, output *GetObjectOutput) { @@ -4601,11 +4555,11 @@ func (c *S3) GetObjectRequest(input *GetObjectInput) (req *request.Request, outp // encryption keys (SSE-C) when you store the object in Amazon S3, then when // you GET the object, you must use the following headers: // -// * x-amz-server-side-encryption-customer-algorithm +// - x-amz-server-side-encryption-customer-algorithm // -// * x-amz-server-side-encryption-customer-key +// - x-amz-server-side-encryption-customer-key // -// * x-amz-server-side-encryption-customer-key-MD5 +// - x-amz-server-side-encryption-customer-key-MD5 // // For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided // Encryption Keys) (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html). @@ -4615,35 +4569,35 @@ func (c *S3) GetObjectRequest(input *GetObjectInput) (req *request.Request, outp // of tags associated with the object. You can use GetObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html) // to retrieve the tag set associated with an object. // -// Permissions +// # Permissions // // You need the relevant read object (or version) permission for this operation. // For more information, see Specifying Permissions in a Policy (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html). // If the object you request does not exist, the error Amazon S3 returns depends // on whether you also have the s3:ListBucket permission. // -// * If you have the s3:ListBucket permission on the bucket, Amazon S3 will -// return an HTTP status code 404 ("no such key") error. +// - If you have the s3:ListBucket permission on the bucket, Amazon S3 will +// return an HTTP status code 404 ("no such key") error. // -// * If you don’t have the s3:ListBucket permission, Amazon S3 will return -// an HTTP status code 403 ("access denied") error. +// - If you don’t have the s3:ListBucket permission, Amazon S3 will return +// an HTTP status code 403 ("access denied") error. // -// Versioning +// # Versioning // // By default, the GET action returns the current version of an object. To return // a different version, use the versionId subresource. // -// * If you supply a versionId, you need the s3:GetObjectVersion permission -// to access a specific version of an object. If you request a specific version, -// you do not need to have the s3:GetObject permission. +// - If you supply a versionId, you need the s3:GetObjectVersion permission +// to access a specific version of an object. If you request a specific version, +// you do not need to have the s3:GetObject permission. // -// * If the current version of the object is a delete marker, Amazon S3 behaves -// as if the object was deleted and includes x-amz-delete-marker: true in -// the response. +// - If the current version of the object is a delete marker, Amazon S3 behaves +// as if the object was deleted and includes x-amz-delete-marker: true in +// the response. // // For more information about versioning, see PutBucketVersioning (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketVersioning.html). // -// Overriding Response Header Values +// # Overriding Response Header Values // // There are times when you want to override certain response header values // in a GET response. For example, you might override the Content-Disposition @@ -4662,19 +4616,19 @@ func (c *S3) GetObjectRequest(input *GetObjectInput) (req *request.Request, outp // URL, when using these parameters. They cannot be used with an unsigned (anonymous) // request. // -// * response-content-type +// - response-content-type // -// * response-content-language +// - response-content-language // -// * response-expires +// - response-expires // -// * response-cache-control +// - response-cache-control // -// * response-content-disposition +// - response-content-disposition // -// * response-content-encoding +// - response-content-encoding // -// Additional Considerations about Request Headers +// # Additional Considerations about Request Headers // // If both of the If-Match and If-Unmodified-Since headers are present in the // request as follows: If-Match condition evaluates to true, and; If-Unmodified-Since @@ -4688,9 +4642,9 @@ func (c *S3) GetObjectRequest(input *GetObjectInput) (req *request.Request, outp // // The following operations are related to GetObject: // -// * ListBuckets (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html) +// - ListBuckets (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html) // -// * GetObjectAcl (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html) +// - GetObjectAcl (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4700,11 +4654,12 @@ func (c *S3) GetObjectRequest(input *GetObjectInput) (req *request.Request, outp // API operation GetObject for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchKey "NoSuchKey" -// The specified key does not exist. // -// * ErrCodeInvalidObjectState "InvalidObjectState" -// Object is archived and inaccessible until restored. +// - ErrCodeNoSuchKey "NoSuchKey" +// The specified key does not exist. +// +// - ErrCodeInvalidObjectState "InvalidObjectState" +// Object is archived and inaccessible until restored. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObject func (c *S3) GetObject(input *GetObjectInput) (*GetObjectOutput, error) { @@ -4744,14 +4699,13 @@ const opGetObjectAcl = "GetObjectAcl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetObjectAclRequest method. +// req, resp := client.GetObjectAclRequest(params) // -// // Example sending a request using the GetObjectAclRequest method. -// req, resp := client.GetObjectAclRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAcl func (c *S3) GetObjectAclRequest(input *GetObjectAclInput) (req *request.Request, output *GetObjectAclOutput) { @@ -4780,7 +4734,7 @@ func (c *S3) GetObjectAclRequest(input *GetObjectAclInput) (req *request.Request // // This action is not supported by Amazon S3 on Outposts. // -// Versioning +// # Versioning // // By default, GET returns ACL information about the current version of an object. // To return ACL information about a different version, use the versionId subresource. @@ -4793,13 +4747,13 @@ func (c *S3) GetObjectAclRequest(input *GetObjectAclInput) (req *request.Request // // The following operations are related to GetObjectAcl: // -// * GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) +// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) // -// * GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html) +// - GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html) // -// * DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) +// - DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) // -// * PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) +// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4809,8 +4763,8 @@ func (c *S3) GetObjectAclRequest(input *GetObjectAclInput) (req *request.Request // API operation GetObjectAcl for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchKey "NoSuchKey" -// The specified key does not exist. +// - ErrCodeNoSuchKey "NoSuchKey" +// The specified key does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAcl func (c *S3) GetObjectAcl(input *GetObjectAclInput) (*GetObjectAclOutput, error) { @@ -4850,14 +4804,13 @@ const opGetObjectAttributes = "GetObjectAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetObjectAttributesRequest method. +// req, resp := client.GetObjectAttributesRequest(params) // -// // Example sending a request using the GetObjectAttributesRequest method. -// req, resp := client.GetObjectAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAttributes func (c *S3) GetObjectAttributesRequest(input *GetObjectAttributesInput) (req *request.Request, output *GetObjectAttributesOutput) { @@ -4891,41 +4844,41 @@ func (c *S3) GetObjectAttributesRequest(input *GetObjectAttributesInput) (req *r // encryption keys (SSE-C) when you store the object in Amazon S3, then when // you retrieve the metadata from the object, you must use the following headers: // -// * x-amz-server-side-encryption-customer-algorithm +// - x-amz-server-side-encryption-customer-algorithm // -// * x-amz-server-side-encryption-customer-key +// - x-amz-server-side-encryption-customer-key // -// * x-amz-server-side-encryption-customer-key-MD5 +// - x-amz-server-side-encryption-customer-key-MD5 // // For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided // Encryption Keys) (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) // in the Amazon S3 User Guide. // -// * Encryption request headers, such as x-amz-server-side-encryption, should -// not be sent for GET requests if your object uses server-side encryption -// with Amazon Web Services KMS keys stored in Amazon Web Services Key Management -// Service (SSE-KMS) or server-side encryption with Amazon S3 managed encryption -// keys (SSE-S3). If your object does use these types of keys, you'll get -// an HTTP 400 Bad Request error. +// - Encryption request headers, such as x-amz-server-side-encryption, should +// not be sent for GET requests if your object uses server-side encryption +// with Amazon Web Services KMS keys stored in Amazon Web Services Key Management +// Service (SSE-KMS) or server-side encryption with Amazon S3 managed encryption +// keys (SSE-S3). If your object does use these types of keys, you'll get +// an HTTP 400 Bad Request error. // -// * The last modified property in this case is the creation date of the -// object. +// - The last modified property in this case is the creation date of the +// object. // // Consider the following when using request headers: // -// * If both of the If-Match and If-Unmodified-Since headers are present -// in the request as follows, then Amazon S3 returns the HTTP status code -// 200 OK and the data requested: If-Match condition evaluates to true. If-Unmodified-Since -// condition evaluates to false. +// - If both of the If-Match and If-Unmodified-Since headers are present +// in the request as follows, then Amazon S3 returns the HTTP status code +// 200 OK and the data requested: If-Match condition evaluates to true. If-Unmodified-Since +// condition evaluates to false. // -// * If both of the If-None-Match and If-Modified-Since headers are present -// in the request as follows, then Amazon S3 returns the HTTP status code -// 304 Not Modified: If-None-Match condition evaluates to false. If-Modified-Since -// condition evaluates to true. +// - If both of the If-None-Match and If-Modified-Since headers are present +// in the request as follows, then Amazon S3 returns the HTTP status code +// 304 Not Modified: If-None-Match condition evaluates to false. If-Modified-Since +// condition evaluates to true. // // For more information about conditional requests, see RFC 7232 (https://tools.ietf.org/html/rfc7232). // -// Permissions +// # Permissions // // The permissions that you need to use this operation depend on whether the // bucket is versioned. If the bucket is versioned, you need both the s3:GetObjectVersion @@ -4937,29 +4890,29 @@ func (c *S3) GetObjectAttributesRequest(input *GetObjectAttributesInput) (req *r // the error Amazon S3 returns depends on whether you also have the s3:ListBucket // permission. // -// * If you have the s3:ListBucket permission on the bucket, Amazon S3 returns -// an HTTP status code 404 Not Found ("no such key") error. +// - If you have the s3:ListBucket permission on the bucket, Amazon S3 returns +// an HTTP status code 404 Not Found ("no such key") error. // -// * If you don't have the s3:ListBucket permission, Amazon S3 returns an -// HTTP status code 403 Forbidden ("access denied") error. +// - If you don't have the s3:ListBucket permission, Amazon S3 returns an +// HTTP status code 403 Forbidden ("access denied") error. // // The following actions are related to GetObjectAttributes: // -// * GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) +// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) // -// * GetObjectAcl (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html) +// - GetObjectAcl (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html) // -// * GetObjectLegalHold (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLegalHold.html) +// - GetObjectLegalHold (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLegalHold.html) // -// * GetObjectLockConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLockConfiguration.html) +// - GetObjectLockConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLockConfiguration.html) // -// * GetObjectRetention (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectRetention.html) +// - GetObjectRetention (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectRetention.html) // -// * GetObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html) +// - GetObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html) // -// * HeadObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html) +// - HeadObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html) // -// * ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) +// - ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4969,8 +4922,8 @@ func (c *S3) GetObjectAttributesRequest(input *GetObjectAttributesInput) (req *r // API operation GetObjectAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchKey "NoSuchKey" -// The specified key does not exist. +// - ErrCodeNoSuchKey "NoSuchKey" +// The specified key does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAttributes func (c *S3) GetObjectAttributes(input *GetObjectAttributesInput) (*GetObjectAttributesOutput, error) { @@ -5010,14 +4963,13 @@ const opGetObjectLegalHold = "GetObjectLegalHold" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetObjectLegalHoldRequest method. +// req, resp := client.GetObjectLegalHoldRequest(params) // -// // Example sending a request using the GetObjectLegalHoldRequest method. -// req, resp := client.GetObjectLegalHoldRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLegalHold func (c *S3) GetObjectLegalHoldRequest(input *GetObjectLegalHoldInput) (req *request.Request, output *GetObjectLegalHoldOutput) { @@ -5045,7 +4997,7 @@ func (c *S3) GetObjectLegalHoldRequest(input *GetObjectLegalHoldInput) (req *req // // The following action is related to GetObjectLegalHold: // -// * GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html) +// - GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5091,14 +5043,13 @@ const opGetObjectLockConfiguration = "GetObjectLockConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetObjectLockConfigurationRequest method. +// req, resp := client.GetObjectLockConfigurationRequest(params) // -// // Example sending a request using the GetObjectLockConfigurationRequest method. -// req, resp := client.GetObjectLockConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLockConfiguration func (c *S3) GetObjectLockConfigurationRequest(input *GetObjectLockConfigurationInput) (req *request.Request, output *GetObjectLockConfigurationOutput) { @@ -5126,7 +5077,7 @@ func (c *S3) GetObjectLockConfigurationRequest(input *GetObjectLockConfiguration // // The following action is related to GetObjectLockConfiguration: // -// * GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html) +// - GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5172,14 +5123,13 @@ const opGetObjectRetention = "GetObjectRetention" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetObjectRetentionRequest method. +// req, resp := client.GetObjectRetentionRequest(params) // -// // Example sending a request using the GetObjectRetentionRequest method. -// req, resp := client.GetObjectRetentionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRetention func (c *S3) GetObjectRetentionRequest(input *GetObjectRetentionInput) (req *request.Request, output *GetObjectRetentionOutput) { @@ -5207,7 +5157,7 @@ func (c *S3) GetObjectRetentionRequest(input *GetObjectRetentionInput) (req *req // // The following action is related to GetObjectRetention: // -// * GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html) +// - GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5253,14 +5203,13 @@ const opGetObjectTagging = "GetObjectTagging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetObjectTaggingRequest method. +// req, resp := client.GetObjectTaggingRequest(params) // -// // Example sending a request using the GetObjectTaggingRequest method. -// req, resp := client.GetObjectTaggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTagging func (c *S3) GetObjectTaggingRequest(input *GetObjectTaggingInput) (req *request.Request, output *GetObjectTaggingOutput) { @@ -5299,11 +5248,11 @@ func (c *S3) GetObjectTaggingRequest(input *GetObjectTaggingInput) (req *request // // The following actions are related to GetObjectTagging: // -// * DeleteObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html) +// - DeleteObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html) // -// * GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html) +// - GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html) // -// * PutObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html) +// - PutObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5349,14 +5298,13 @@ const opGetObjectTorrent = "GetObjectTorrent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetObjectTorrentRequest method. +// req, resp := client.GetObjectTorrentRequest(params) // -// // Example sending a request using the GetObjectTorrentRequest method. -// req, resp := client.GetObjectTorrentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrent func (c *S3) GetObjectTorrentRequest(input *GetObjectTorrentInput) (req *request.Request, output *GetObjectTorrentOutput) { @@ -5391,7 +5339,7 @@ func (c *S3) GetObjectTorrentRequest(input *GetObjectTorrentInput) (req *request // // The following action is related to GetObjectTorrent: // -// * GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) +// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5437,14 +5385,13 @@ const opGetPublicAccessBlock = "GetPublicAccessBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPublicAccessBlockRequest method. +// req, resp := client.GetPublicAccessBlockRequest(params) // -// // Example sending a request using the GetPublicAccessBlockRequest method. -// req, resp := client.GetPublicAccessBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetPublicAccessBlock func (c *S3) GetPublicAccessBlockRequest(input *GetPublicAccessBlockInput) (req *request.Request, output *GetPublicAccessBlockOutput) { @@ -5482,13 +5429,13 @@ func (c *S3) GetPublicAccessBlockRequest(input *GetPublicAccessBlockInput) (req // // The following operations are related to GetPublicAccessBlock: // -// * Using Amazon S3 Block Public Access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html) +// - Using Amazon S3 Block Public Access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html) // -// * PutPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html) +// - PutPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutPublicAccessBlock.html) // -// * GetPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html) +// - GetPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html) // -// * DeletePublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html) +// - DeletePublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5534,14 +5481,13 @@ const opHeadBucket = "HeadBucket" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the HeadBucketRequest method. +// req, resp := client.HeadBucketRequest(params) // -// // Example sending a request using the HeadBucketRequest method. -// req, resp := client.HeadBucketRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucket func (c *S3) HeadBucketRequest(input *HeadBucketInput) (req *request.Request, output *HeadBucketOutput) { @@ -5593,8 +5539,8 @@ func (c *S3) HeadBucketRequest(input *HeadBucketInput) (req *request.Request, ou // API operation HeadBucket for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchBucket "NoSuchBucket" -// The specified bucket does not exist. +// - ErrCodeNoSuchBucket "NoSuchBucket" +// The specified bucket does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucket func (c *S3) HeadBucket(input *HeadBucketInput) (*HeadBucketOutput, error) { @@ -5634,14 +5580,13 @@ const opHeadObject = "HeadObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the HeadObjectRequest method. +// req, resp := client.HeadObjectRequest(params) // -// // Example sending a request using the HeadObjectRequest method. -// req, resp := client.HeadObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObject func (c *S3) HeadObjectRequest(input *HeadObjectInput) (req *request.Request, output *HeadObjectOutput) { @@ -5676,59 +5621,59 @@ func (c *S3) HeadObjectRequest(input *HeadObjectInput) (req *request.Request, ou // encryption keys (SSE-C) when you store the object in Amazon S3, then when // you retrieve the metadata from the object, you must use the following headers: // -// * x-amz-server-side-encryption-customer-algorithm +// - x-amz-server-side-encryption-customer-algorithm // -// * x-amz-server-side-encryption-customer-key +// - x-amz-server-side-encryption-customer-key // -// * x-amz-server-side-encryption-customer-key-MD5 +// - x-amz-server-side-encryption-customer-key-MD5 // // For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided // Encryption Keys) (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html). // -// * Encryption request headers, like x-amz-server-side-encryption, should -// not be sent for GET requests if your object uses server-side encryption -// with KMS keys (SSE-KMS) or server-side encryption with Amazon S3–managed -// encryption keys (SSE-S3). If your object does use these types of keys, -// you’ll get an HTTP 400 BadRequest error. +// - Encryption request headers, like x-amz-server-side-encryption, should +// not be sent for GET requests if your object uses server-side encryption +// with KMS keys (SSE-KMS) or server-side encryption with Amazon S3–managed +// encryption keys (SSE-S3). If your object does use these types of keys, +// you’ll get an HTTP 400 BadRequest error. // -// * The last modified property in this case is the creation date of the -// object. +// - The last modified property in this case is the creation date of the +// object. // // Request headers are limited to 8 KB in size. For more information, see Common // Request Headers (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html). // // Consider the following when using request headers: // -// * Consideration 1 – If both of the If-Match and If-Unmodified-Since -// headers are present in the request as follows: If-Match condition evaluates -// to true, and; If-Unmodified-Since condition evaluates to false; Then Amazon -// S3 returns 200 OK and the data requested. +// - Consideration 1 – If both of the If-Match and If-Unmodified-Since +// headers are present in the request as follows: If-Match condition evaluates +// to true, and; If-Unmodified-Since condition evaluates to false; Then Amazon +// S3 returns 200 OK and the data requested. // -// * Consideration 2 – If both of the If-None-Match and If-Modified-Since -// headers are present in the request as follows: If-None-Match condition -// evaluates to false, and; If-Modified-Since condition evaluates to true; -// Then Amazon S3 returns the 304 Not Modified response code. +// - Consideration 2 – If both of the If-None-Match and If-Modified-Since +// headers are present in the request as follows: If-None-Match condition +// evaluates to false, and; If-Modified-Since condition evaluates to true; +// Then Amazon S3 returns the 304 Not Modified response code. // // For more information about conditional requests, see RFC 7232 (https://tools.ietf.org/html/rfc7232). // -// Permissions +// # Permissions // // You need the relevant read object (or version) permission for this operation. // For more information, see Specifying Permissions in a Policy (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html). // If the object you request does not exist, the error Amazon S3 returns depends // on whether you also have the s3:ListBucket permission. // -// * If you have the s3:ListBucket permission on the bucket, Amazon S3 returns -// an HTTP status code 404 ("no such key") error. +// - If you have the s3:ListBucket permission on the bucket, Amazon S3 returns +// an HTTP status code 404 ("no such key") error. // -// * If you don’t have the s3:ListBucket permission, Amazon S3 returns -// an HTTP status code 403 ("access denied") error. +// - If you don’t have the s3:ListBucket permission, Amazon S3 returns +// an HTTP status code 403 ("access denied") error. // // The following actions are related to HeadObject: // -// * GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) +// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) // -// * GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html) +// - GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html) // // See http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses // for more information on returned errors. @@ -5777,14 +5722,13 @@ const opListBucketAnalyticsConfigurations = "ListBucketAnalyticsConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBucketAnalyticsConfigurationsRequest method. +// req, resp := client.ListBucketAnalyticsConfigurationsRequest(params) // -// // Example sending a request using the ListBucketAnalyticsConfigurationsRequest method. -// req, resp := client.ListBucketAnalyticsConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurations func (c *S3) ListBucketAnalyticsConfigurationsRequest(input *ListBucketAnalyticsConfigurationsInput) (req *request.Request, output *ListBucketAnalyticsConfigurationsOutput) { @@ -5827,11 +5771,11 @@ func (c *S3) ListBucketAnalyticsConfigurationsRequest(input *ListBucketAnalytics // // The following operations are related to ListBucketAnalyticsConfigurations: // -// * GetBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAnalyticsConfiguration.html) +// - GetBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAnalyticsConfiguration.html) // -// * DeleteBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketAnalyticsConfiguration.html) +// - DeleteBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketAnalyticsConfiguration.html) // -// * PutBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAnalyticsConfiguration.html) +// - PutBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAnalyticsConfiguration.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5877,14 +5821,13 @@ const opListBucketIntelligentTieringConfigurations = "ListBucketIntelligentTieri // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBucketIntelligentTieringConfigurationsRequest method. +// req, resp := client.ListBucketIntelligentTieringConfigurationsRequest(params) // -// // Example sending a request using the ListBucketIntelligentTieringConfigurationsRequest method. -// req, resp := client.ListBucketIntelligentTieringConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketIntelligentTieringConfigurations func (c *S3) ListBucketIntelligentTieringConfigurationsRequest(input *ListBucketIntelligentTieringConfigurationsInput) (req *request.Request, output *ListBucketIntelligentTieringConfigurationsOutput) { @@ -5926,11 +5869,11 @@ func (c *S3) ListBucketIntelligentTieringConfigurationsRequest(input *ListBucket // // Operations related to ListBucketIntelligentTieringConfigurations include: // -// * DeleteBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketIntelligentTieringConfiguration.html) +// - DeleteBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketIntelligentTieringConfiguration.html) // -// * PutBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html) +// - PutBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketIntelligentTieringConfiguration.html) // -// * GetBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html) +// - GetBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5976,14 +5919,13 @@ const opListBucketInventoryConfigurations = "ListBucketInventoryConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBucketInventoryConfigurationsRequest method. +// req, resp := client.ListBucketInventoryConfigurationsRequest(params) // -// // Example sending a request using the ListBucketInventoryConfigurationsRequest method. -// req, resp := client.ListBucketInventoryConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurations func (c *S3) ListBucketInventoryConfigurationsRequest(input *ListBucketInventoryConfigurationsInput) (req *request.Request, output *ListBucketInventoryConfigurationsOutput) { @@ -6026,11 +5968,11 @@ func (c *S3) ListBucketInventoryConfigurationsRequest(input *ListBucketInventory // // The following operations are related to ListBucketInventoryConfigurations: // -// * GetBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketInventoryConfiguration.html) +// - GetBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketInventoryConfiguration.html) // -// * DeleteBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketInventoryConfiguration.html) +// - DeleteBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketInventoryConfiguration.html) // -// * PutBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html) +// - PutBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6076,14 +6018,13 @@ const opListBucketMetricsConfigurations = "ListBucketMetricsConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBucketMetricsConfigurationsRequest method. +// req, resp := client.ListBucketMetricsConfigurationsRequest(params) // -// // Example sending a request using the ListBucketMetricsConfigurationsRequest method. -// req, resp := client.ListBucketMetricsConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurations func (c *S3) ListBucketMetricsConfigurationsRequest(input *ListBucketMetricsConfigurationsInput) (req *request.Request, output *ListBucketMetricsConfigurationsOutput) { @@ -6127,11 +6068,11 @@ func (c *S3) ListBucketMetricsConfigurationsRequest(input *ListBucketMetricsConf // // The following operations are related to ListBucketMetricsConfigurations: // -// * PutBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html) +// - PutBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketMetricsConfiguration.html) // -// * GetBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html) +// - GetBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html) // -// * DeleteBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetricsConfiguration.html) +// - DeleteBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetricsConfiguration.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6177,14 +6118,13 @@ const opListBuckets = "ListBuckets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBucketsRequest method. +// req, resp := client.ListBucketsRequest(params) // -// // Example sending a request using the ListBucketsRequest method. -// req, resp := client.ListBucketsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBuckets func (c *S3) ListBucketsRequest(input *ListBucketsInput) (req *request.Request, output *ListBucketsOutput) { @@ -6252,14 +6192,13 @@ const opListMultipartUploads = "ListMultipartUploads" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMultipartUploadsRequest method. +// req, resp := client.ListMultipartUploadsRequest(params) // -// // Example sending a request using the ListMultipartUploadsRequest method. -// req, resp := client.ListMultipartUploadsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploads func (c *S3) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) (req *request.Request, output *ListMultipartUploadsOutput) { @@ -6311,15 +6250,15 @@ func (c *S3) ListMultipartUploadsRequest(input *ListMultipartUploadsInput) (req // // The following operations are related to ListMultipartUploads: // -// * CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html) +// - CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html) // -// * UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) +// - UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) // -// * CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) +// - CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) // -// * ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) +// - ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) // -// * AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html) +// - AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6357,15 +6296,14 @@ func (c *S3) ListMultipartUploadsWithContext(ctx aws.Context, input *ListMultipa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMultipartUploads operation. -// pageNum := 0 -// err := client.ListMultipartUploadsPages(params, -// func(page *s3.ListMultipartUploadsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMultipartUploads operation. +// pageNum := 0 +// err := client.ListMultipartUploadsPages(params, +// func(page *s3.ListMultipartUploadsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *S3) ListMultipartUploadsPages(input *ListMultipartUploadsInput, fn func(*ListMultipartUploadsOutput, bool) bool) error { return c.ListMultipartUploadsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6417,14 +6355,13 @@ const opListObjectVersions = "ListObjectVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListObjectVersionsRequest method. +// req, resp := client.ListObjectVersionsRequest(params) // -// // Example sending a request using the ListObjectVersionsRequest method. -// req, resp := client.ListObjectVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersions func (c *S3) ListObjectVersionsRequest(input *ListObjectVersionsInput) (req *request.Request, output *ListObjectVersionsOutput) { @@ -6467,13 +6404,13 @@ func (c *S3) ListObjectVersionsRequest(input *ListObjectVersionsInput) (req *req // // The following operations are related to ListObjectVersions: // -// * ListObjectsV2 (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html) +// - ListObjectsV2 (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html) // -// * GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) +// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) // -// * PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) +// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) // -// * DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) +// - DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6511,15 +6448,14 @@ func (c *S3) ListObjectVersionsWithContext(ctx aws.Context, input *ListObjectVer // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListObjectVersions operation. -// pageNum := 0 -// err := client.ListObjectVersionsPages(params, -// func(page *s3.ListObjectVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListObjectVersions operation. +// pageNum := 0 +// err := client.ListObjectVersionsPages(params, +// func(page *s3.ListObjectVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *S3) ListObjectVersionsPages(input *ListObjectVersionsInput, fn func(*ListObjectVersionsOutput, bool) bool) error { return c.ListObjectVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6571,14 +6507,13 @@ const opListObjects = "ListObjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListObjectsRequest method. +// req, resp := client.ListObjectsRequest(params) // -// // Example sending a request using the ListObjectsRequest method. -// req, resp := client.ListObjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects func (c *S3) ListObjectsRequest(input *ListObjectsInput) (req *request.Request, output *ListObjectsOutput) { @@ -6618,15 +6553,15 @@ func (c *S3) ListObjectsRequest(input *ListObjectsInput) (req *request.Request, // // The following operations are related to ListObjects: // -// * ListObjectsV2 (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html) +// - ListObjectsV2 (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html) // -// * GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) +// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) // -// * PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) +// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) // -// * CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) +// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) // -// * ListBuckets (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html) +// - ListBuckets (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6636,8 +6571,8 @@ func (c *S3) ListObjectsRequest(input *ListObjectsInput) (req *request.Request, // API operation ListObjects for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchBucket "NoSuchBucket" -// The specified bucket does not exist. +// - ErrCodeNoSuchBucket "NoSuchBucket" +// The specified bucket does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjects func (c *S3) ListObjects(input *ListObjectsInput) (*ListObjectsOutput, error) { @@ -6669,15 +6604,14 @@ func (c *S3) ListObjectsWithContext(ctx aws.Context, input *ListObjectsInput, op // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListObjects operation. -// pageNum := 0 -// err := client.ListObjectsPages(params, -// func(page *s3.ListObjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListObjects operation. +// pageNum := 0 +// err := client.ListObjectsPages(params, +// func(page *s3.ListObjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *S3) ListObjectsPages(input *ListObjectsInput, fn func(*ListObjectsOutput, bool) bool) error { return c.ListObjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6729,14 +6663,13 @@ const opListObjectsV2 = "ListObjectsV2" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListObjectsV2Request method. +// req, resp := client.ListObjectsV2Request(params) // -// // Example sending a request using the ListObjectsV2Request method. -// req, resp := client.ListObjectsV2Request(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2 func (c *S3) ListObjectsV2Request(input *ListObjectsV2Input) (req *request.Request, output *ListObjectsV2Output) { @@ -6789,11 +6722,11 @@ func (c *S3) ListObjectsV2Request(input *ListObjectsV2Input) (req *request.Reque // // The following operations are related to ListObjectsV2: // -// * GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) +// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) // -// * PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) +// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) // -// * CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) +// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6803,8 +6736,8 @@ func (c *S3) ListObjectsV2Request(input *ListObjectsV2Input) (req *request.Reque // API operation ListObjectsV2 for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchBucket "NoSuchBucket" -// The specified bucket does not exist. +// - ErrCodeNoSuchBucket "NoSuchBucket" +// The specified bucket does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2 func (c *S3) ListObjectsV2(input *ListObjectsV2Input) (*ListObjectsV2Output, error) { @@ -6836,15 +6769,14 @@ func (c *S3) ListObjectsV2WithContext(ctx aws.Context, input *ListObjectsV2Input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListObjectsV2 operation. -// pageNum := 0 -// err := client.ListObjectsV2Pages(params, -// func(page *s3.ListObjectsV2Output, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListObjectsV2 operation. +// pageNum := 0 +// err := client.ListObjectsV2Pages(params, +// func(page *s3.ListObjectsV2Output, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *S3) ListObjectsV2Pages(input *ListObjectsV2Input, fn func(*ListObjectsV2Output, bool) bool) error { return c.ListObjectsV2PagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6896,14 +6828,13 @@ const opListParts = "ListParts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPartsRequest method. +// req, resp := client.ListPartsRequest(params) // -// // Example sending a request using the ListPartsRequest method. -// req, resp := client.ListPartsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListParts func (c *S3) ListPartsRequest(input *ListPartsInput) (req *request.Request, output *ListPartsOutput) { @@ -6952,17 +6883,17 @@ func (c *S3) ListPartsRequest(input *ListPartsInput) (req *request.Request, outp // // The following operations are related to ListParts: // -// * CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html) +// - CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html) // -// * UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) +// - UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) // -// * CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) +// - CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) // -// * AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html) +// - AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html) // -// * GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html) +// - GetObjectAttributes (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html) // -// * ListMultipartUploads (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html) +// - ListMultipartUploads (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7000,15 +6931,14 @@ func (c *S3) ListPartsWithContext(ctx aws.Context, input *ListPartsInput, opts . // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListParts operation. -// pageNum := 0 -// err := client.ListPartsPages(params, -// func(page *s3.ListPartsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListParts operation. +// pageNum := 0 +// err := client.ListPartsPages(params, +// func(page *s3.ListPartsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *S3) ListPartsPages(input *ListPartsInput, fn func(*ListPartsOutput, bool) bool) error { return c.ListPartsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7060,14 +6990,13 @@ const opPutBucketAccelerateConfiguration = "PutBucketAccelerateConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketAccelerateConfigurationRequest method. +// req, resp := client.PutBucketAccelerateConfigurationRequest(params) // -// // Example sending a request using the PutBucketAccelerateConfigurationRequest method. -// req, resp := client.PutBucketAccelerateConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfiguration func (c *S3) PutBucketAccelerateConfigurationRequest(input *PutBucketAccelerateConfigurationInput) (req *request.Request, output *PutBucketAccelerateConfigurationOutput) { @@ -7102,9 +7031,9 @@ func (c *S3) PutBucketAccelerateConfigurationRequest(input *PutBucketAccelerateC // The Transfer Acceleration state of a bucket can be set to one of the following // two values: // -// * Enabled – Enables accelerated data transfers to the bucket. +// - Enabled – Enables accelerated data transfers to the bucket. // -// * Suspended – Disables accelerated data transfers to the bucket. +// - Suspended – Disables accelerated data transfers to the bucket. // // The GetBucketAccelerateConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAccelerateConfiguration.html) // action returns the transfer acceleration state of a bucket. @@ -7121,9 +7050,9 @@ func (c *S3) PutBucketAccelerateConfigurationRequest(input *PutBucketAccelerateC // // The following operations are related to PutBucketAccelerateConfiguration: // -// * GetBucketAccelerateConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAccelerateConfiguration.html) +// - GetBucketAccelerateConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAccelerateConfiguration.html) // -// * CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) +// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7169,14 +7098,13 @@ const opPutBucketAcl = "PutBucketAcl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketAclRequest method. +// req, resp := client.PutBucketAclRequest(params) // -// // Example sending a request using the PutBucketAclRequest method. -// req, resp := client.PutBucketAclRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAcl func (c *S3) PutBucketAclRequest(input *PutBucketAclInput) (req *request.Request, output *PutBucketAclOutput) { @@ -7208,9 +7136,9 @@ func (c *S3) PutBucketAclRequest(input *PutBucketAclInput) (req *request.Request // // You can use one of the following two ways to set a bucket's permissions: // -// * Specify the ACL in the request body +// - Specify the ACL in the request body // -// * Specify permissions using request headers +// - Specify permissions using request headers // // You cannot specify access permission using both the body and the request // headers. @@ -7228,75 +7156,75 @@ func (c *S3) PutBucketAclRequest(input *PutBucketAclInput) (req *request.Request // object ownership (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) // in the Amazon S3 User Guide. // -// Access Permissions +// # Access Permissions // // You can set access permissions using one of the following methods: // -// * Specify a canned ACL with the x-amz-acl request header. Amazon S3 supports -// a set of predefined ACLs, known as canned ACLs. Each canned ACL has a -// predefined set of grantees and permissions. Specify the canned ACL name -// as the value of x-amz-acl. If you use this header, you cannot use other -// access control-specific headers in your request. For more information, -// see Canned ACL (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL). -// -// * Specify access permissions explicitly with the x-amz-grant-read, x-amz-grant-read-acp, -// x-amz-grant-write-acp, and x-amz-grant-full-control headers. When using -// these headers, you specify explicit access permissions and grantees (Amazon -// Web Services accounts or Amazon S3 groups) who will receive the permission. -// If you use these ACL-specific headers, you cannot use the x-amz-acl header -// to set a canned ACL. These parameters map to the set of permissions that -// Amazon S3 supports in an ACL. For more information, see Access Control -// List (ACL) Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html). -// You specify each grantee as a type=value pair, where the type is one of -// the following: id – if the value specified is the canonical user ID -// of an Amazon Web Services account uri – if you are granting permissions -// to a predefined group emailAddress – if the value specified is the email -// address of an Amazon Web Services account Using email addresses to specify -// a grantee is only supported in the following Amazon Web Services Regions: -// US East (N. Virginia) US West (N. California) US West (Oregon) Asia Pacific -// (Singapore) Asia Pacific (Sydney) Asia Pacific (Tokyo) Europe (Ireland) -// South America (São Paulo) For a list of all the Amazon S3 supported Regions -// and endpoints, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) -// in the Amazon Web Services General Reference. For example, the following -// x-amz-grant-write header grants create, overwrite, and delete objects -// permission to LogDelivery group predefined by Amazon S3 and two Amazon -// Web Services accounts identified by their email addresses. x-amz-grant-write: -// uri="http://acs.amazonaws.com/groups/s3/LogDelivery", id="111122223333", -// id="555566667777" +// - Specify a canned ACL with the x-amz-acl request header. Amazon S3 supports +// a set of predefined ACLs, known as canned ACLs. Each canned ACL has a +// predefined set of grantees and permissions. Specify the canned ACL name +// as the value of x-amz-acl. If you use this header, you cannot use other +// access control-specific headers in your request. For more information, +// see Canned ACL (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL). +// +// - Specify access permissions explicitly with the x-amz-grant-read, x-amz-grant-read-acp, +// x-amz-grant-write-acp, and x-amz-grant-full-control headers. When using +// these headers, you specify explicit access permissions and grantees (Amazon +// Web Services accounts or Amazon S3 groups) who will receive the permission. +// If you use these ACL-specific headers, you cannot use the x-amz-acl header +// to set a canned ACL. These parameters map to the set of permissions that +// Amazon S3 supports in an ACL. For more information, see Access Control +// List (ACL) Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html). +// You specify each grantee as a type=value pair, where the type is one of +// the following: id – if the value specified is the canonical user ID +// of an Amazon Web Services account uri – if you are granting permissions +// to a predefined group emailAddress – if the value specified is the email +// address of an Amazon Web Services account Using email addresses to specify +// a grantee is only supported in the following Amazon Web Services Regions: +// US East (N. Virginia) US West (N. California) US West (Oregon) Asia Pacific +// (Singapore) Asia Pacific (Sydney) Asia Pacific (Tokyo) Europe (Ireland) +// South America (São Paulo) For a list of all the Amazon S3 supported Regions +// and endpoints, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) +// in the Amazon Web Services General Reference. For example, the following +// x-amz-grant-write header grants create, overwrite, and delete objects +// permission to LogDelivery group predefined by Amazon S3 and two Amazon +// Web Services accounts identified by their email addresses. x-amz-grant-write: +// uri="http://acs.amazonaws.com/groups/s3/LogDelivery", id="111122223333", +// id="555566667777" // // You can use either a canned ACL or specify access permissions explicitly. // You cannot do both. // -// Grantee Values +// # Grantee Values // // You can specify the person (grantee) to whom you're assigning access rights // (using request elements) in the following ways: // -// * By the person's ID: <>ID<><>GranteesEmail<> -// DisplayName is optional and ignored in the request +// - By the person's ID: <>ID<><>GranteesEmail<> +// DisplayName is optional and ignored in the request // -// * By URI: <>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<> +// - By URI: <>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<> // -// * By Email address: <>Grantees@email.com<>lt;/Grantee> -// The grantee is resolved to the CanonicalUser and, in a response to a GET -// Object acl request, appears as the CanonicalUser. Using email addresses -// to specify a grantee is only supported in the following Amazon Web Services -// Regions: US East (N. Virginia) US West (N. California) US West (Oregon) -// Asia Pacific (Singapore) Asia Pacific (Sydney) Asia Pacific (Tokyo) Europe -// (Ireland) South America (São Paulo) For a list of all the Amazon S3 supported -// Regions and endpoints, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) -// in the Amazon Web Services General Reference. +// - By Email address: <>Grantees@email.com<>lt;/Grantee> +// The grantee is resolved to the CanonicalUser and, in a response to a GET +// Object acl request, appears as the CanonicalUser. Using email addresses +// to specify a grantee is only supported in the following Amazon Web Services +// Regions: US East (N. Virginia) US West (N. California) US West (Oregon) +// Asia Pacific (Singapore) Asia Pacific (Sydney) Asia Pacific (Tokyo) Europe +// (Ireland) South America (São Paulo) For a list of all the Amazon S3 supported +// Regions and endpoints, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) +// in the Amazon Web Services General Reference. // // Related Resources // -// * CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) +// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) // -// * DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html) +// - DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html) // -// * GetObjectAcl (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html) +// - GetObjectAcl (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7342,14 +7270,13 @@ const opPutBucketAnalyticsConfiguration = "PutBucketAnalyticsConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketAnalyticsConfigurationRequest method. +// req, resp := client.PutBucketAnalyticsConfigurationRequest(params) // -// // Example sending a request using the PutBucketAnalyticsConfigurationRequest method. -// req, resp := client.PutBucketAnalyticsConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfiguration func (c *S3) PutBucketAnalyticsConfigurationRequest(input *PutBucketAnalyticsConfigurationInput) (req *request.Request, output *PutBucketAnalyticsConfigurationOutput) { @@ -7398,24 +7325,24 @@ func (c *S3) PutBucketAnalyticsConfigurationRequest(input *PutBucketAnalyticsCon // // Special Errors // -// * HTTP Error: HTTP 400 Bad Request Code: InvalidArgument Cause: Invalid -// argument. +// - HTTP Error: HTTP 400 Bad Request Code: InvalidArgument Cause: Invalid +// argument. // -// * HTTP Error: HTTP 400 Bad Request Code: TooManyConfigurations Cause: -// You are attempting to create a new configuration but have already reached -// the 1,000-configuration limit. +// - HTTP Error: HTTP 400 Bad Request Code: TooManyConfigurations Cause: +// You are attempting to create a new configuration but have already reached +// the 1,000-configuration limit. // -// * HTTP Error: HTTP 403 Forbidden Code: AccessDenied Cause: You are not -// the owner of the specified bucket, or you do not have the s3:PutAnalyticsConfiguration -// bucket permission to set the configuration on the bucket. +// - HTTP Error: HTTP 403 Forbidden Code: AccessDenied Cause: You are not +// the owner of the specified bucket, or you do not have the s3:PutAnalyticsConfiguration +// bucket permission to set the configuration on the bucket. // // Related Resources // -// * GetBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAnalyticsConfiguration.html) +// - GetBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketAnalyticsConfiguration.html) // -// * DeleteBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketAnalyticsConfiguration.html) +// - DeleteBucketAnalyticsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketAnalyticsConfiguration.html) // -// * ListBucketAnalyticsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketAnalyticsConfigurations.html) +// - ListBucketAnalyticsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketAnalyticsConfigurations.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7461,14 +7388,13 @@ const opPutBucketCors = "PutBucketCors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketCorsRequest method. +// req, resp := client.PutBucketCorsRequest(params) // -// // Example sending a request using the PutBucketCorsRequest method. -// req, resp := client.PutBucketCorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCors func (c *S3) PutBucketCorsRequest(input *PutBucketCorsInput) (req *request.Request, output *PutBucketCorsOutput) { @@ -7517,14 +7443,14 @@ func (c *S3) PutBucketCorsRequest(input *PutBucketCorsInput) (req *request.Reque // a cross-origin request. For a rule to match, the following conditions must // be met: // -// * The request's Origin header must match AllowedOrigin elements. +// - The request's Origin header must match AllowedOrigin elements. // -// * The request method (for example, GET, PUT, HEAD, and so on) or the Access-Control-Request-Method -// header in case of a pre-flight OPTIONS request must be one of the AllowedMethod -// elements. +// - The request method (for example, GET, PUT, HEAD, and so on) or the Access-Control-Request-Method +// header in case of a pre-flight OPTIONS request must be one of the AllowedMethod +// elements. // -// * Every header specified in the Access-Control-Request-Headers request -// header of a pre-flight request must match an AllowedHeader element. +// - Every header specified in the Access-Control-Request-Headers request +// header of a pre-flight request must match an AllowedHeader element. // // For more information about CORS, go to Enabling Cross-Origin Resource Sharing // (https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html) in the Amazon @@ -7532,11 +7458,11 @@ func (c *S3) PutBucketCorsRequest(input *PutBucketCorsInput) (req *request.Reque // // Related Resources // -// * GetBucketCors (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketCors.html) +// - GetBucketCors (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketCors.html) // -// * DeleteBucketCors (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketCors.html) +// - DeleteBucketCors (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketCors.html) // -// * RESTOPTIONSobject (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTOPTIONSobject.html) +// - RESTOPTIONSobject (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTOPTIONSobject.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7582,14 +7508,13 @@ const opPutBucketEncryption = "PutBucketEncryption" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketEncryptionRequest method. +// req, resp := client.PutBucketEncryptionRequest(params) // -// // Example sending a request using the PutBucketEncryptionRequest method. -// req, resp := client.PutBucketEncryptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryption func (c *S3) PutBucketEncryptionRequest(input *PutBucketEncryptionInput) (req *request.Request, output *PutBucketEncryptionOutput) { @@ -7641,9 +7566,9 @@ func (c *S3) PutBucketEncryptionRequest(input *PutBucketEncryptionInput) (req *r // // Related Resources // -// * GetBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html) +// - GetBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html) // -// * DeleteBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html) +// - DeleteBucketEncryption (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7689,14 +7614,13 @@ const opPutBucketIntelligentTieringConfiguration = "PutBucketIntelligentTieringC // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketIntelligentTieringConfigurationRequest method. +// req, resp := client.PutBucketIntelligentTieringConfigurationRequest(params) // -// // Example sending a request using the PutBucketIntelligentTieringConfigurationRequest method. -// req, resp := client.PutBucketIntelligentTieringConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketIntelligentTieringConfiguration func (c *S3) PutBucketIntelligentTieringConfigurationRequest(input *PutBucketIntelligentTieringConfigurationInput) (req *request.Request, output *PutBucketIntelligentTieringConfigurationOutput) { @@ -7740,11 +7664,11 @@ func (c *S3) PutBucketIntelligentTieringConfigurationRequest(input *PutBucketInt // // Operations related to PutBucketIntelligentTieringConfiguration include: // -// * DeleteBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketIntelligentTieringConfiguration.html) +// - DeleteBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketIntelligentTieringConfiguration.html) // -// * GetBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html) +// - GetBucketIntelligentTieringConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketIntelligentTieringConfiguration.html) // -// * ListBucketIntelligentTieringConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html) +// - ListBucketIntelligentTieringConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketIntelligentTieringConfigurations.html) // // You only need S3 Intelligent-Tiering enabled on a bucket if you want to automatically // move objects stored in the S3 Intelligent-Tiering storage class to the Archive @@ -7752,15 +7676,15 @@ func (c *S3) PutBucketIntelligentTieringConfigurationRequest(input *PutBucketInt // // Special Errors // -// * HTTP 400 Bad Request Error Code: InvalidArgument Cause: Invalid Argument +// - HTTP 400 Bad Request Error Code: InvalidArgument Cause: Invalid Argument // -// * HTTP 400 Bad Request Error Code: TooManyConfigurations Cause: You are -// attempting to create a new configuration but have already reached the -// 1,000-configuration limit. +// - HTTP 400 Bad Request Error Code: TooManyConfigurations Cause: You are +// attempting to create a new configuration but have already reached the +// 1,000-configuration limit. // -// * HTTP 403 Forbidden Error Code: AccessDenied Cause: You are not the owner -// of the specified bucket, or you do not have the s3:PutIntelligentTieringConfiguration -// bucket permission to set the configuration on the bucket. +// - HTTP 403 Forbidden Error Code: AccessDenied Cause: You are not the owner +// of the specified bucket, or you do not have the s3:PutIntelligentTieringConfiguration +// bucket permission to set the configuration on the bucket. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7806,14 +7730,13 @@ const opPutBucketInventoryConfiguration = "PutBucketInventoryConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketInventoryConfigurationRequest method. +// req, resp := client.PutBucketInventoryConfigurationRequest(params) // -// // Example sending a request using the PutBucketInventoryConfigurationRequest method. -// req, resp := client.PutBucketInventoryConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfiguration func (c *S3) PutBucketInventoryConfigurationRequest(input *PutBucketInventoryConfigurationInput) (req *request.Request, output *PutBucketInventoryConfigurationOutput) { @@ -7866,23 +7789,23 @@ func (c *S3) PutBucketInventoryConfigurationRequest(input *PutBucketInventoryCon // // Special Errors // -// * HTTP 400 Bad Request Error Code: InvalidArgument Cause: Invalid Argument +// - HTTP 400 Bad Request Error Code: InvalidArgument Cause: Invalid Argument // -// * HTTP 400 Bad Request Error Code: TooManyConfigurations Cause: You are -// attempting to create a new configuration but have already reached the -// 1,000-configuration limit. +// - HTTP 400 Bad Request Error Code: TooManyConfigurations Cause: You are +// attempting to create a new configuration but have already reached the +// 1,000-configuration limit. // -// * HTTP 403 Forbidden Error Code: AccessDenied Cause: You are not the owner -// of the specified bucket, or you do not have the s3:PutInventoryConfiguration -// bucket permission to set the configuration on the bucket. +// - HTTP 403 Forbidden Error Code: AccessDenied Cause: You are not the owner +// of the specified bucket, or you do not have the s3:PutInventoryConfiguration +// bucket permission to set the configuration on the bucket. // // Related Resources // -// * GetBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketInventoryConfiguration.html) +// - GetBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketInventoryConfiguration.html) // -// * DeleteBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketInventoryConfiguration.html) +// - DeleteBucketInventoryConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketInventoryConfiguration.html) // -// * ListBucketInventoryConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html) +// - ListBucketInventoryConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7928,14 +7851,13 @@ const opPutBucketLifecycle = "PutBucketLifecycle" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketLifecycleRequest method. +// req, resp := client.PutBucketLifecycleRequest(params) // -// // Example sending a request using the PutBucketLifecycleRequest method. -// req, resp := client.PutBucketLifecycleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycle // @@ -7966,7 +7888,6 @@ func (c *S3) PutBucketLifecycleRequest(input *PutBucketLifecycleInput) (req *req // PutBucketLifecycle API operation for Amazon Simple Storage Service. // -// // For an updated version of this API, see PutBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html). // This version has been deprecated. Existing lifecycle configurations will // work. For new lifecycle configurations, use the updated API. @@ -7988,11 +7909,11 @@ func (c *S3) PutBucketLifecycleRequest(input *PutBucketLifecycleInput) (req *req // or deleting objects from your bucket, you must deny them permissions for // the following actions: // -// * s3:DeleteObject +// - s3:DeleteObject // -// * s3:DeleteObjectVersion +// - s3:DeleteObjectVersion // -// * s3:PutLifecycleConfiguration +// - s3:PutLifecycleConfiguration // // For more information about permissions, see Managing Access Permissions to // your Amazon S3 Resources (https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html) @@ -8003,18 +7924,18 @@ func (c *S3) PutBucketLifecycleRequest(input *PutBucketLifecycleInput) (req *req // // Related Resources // -// * GetBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycle.html)(Deprecated) +// - GetBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycle.html)(Deprecated) // -// * GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html) +// - GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html) // -// * RestoreObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html) +// - RestoreObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html) // -// * By default, a resource owner—in this case, a bucket owner, which is -// the Amazon Web Services account that created the bucket—can perform -// any of the operations. A resource owner can also grant others permission -// to perform the operation. For more information, see the following topics -// in the Amazon S3 User Guide: Specifying Permissions in a Policy (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html) -// Managing Access Permissions to your Amazon S3 Resources (https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html) +// - By default, a resource owner—in this case, a bucket owner, which is +// the Amazon Web Services account that created the bucket—can perform +// any of the operations. A resource owner can also grant others permission +// to perform the operation. For more information, see the following topics +// in the Amazon S3 User Guide: Specifying Permissions in a Policy (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html) +// Managing Access Permissions to your Amazon S3 Resources (https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8064,14 +7985,13 @@ const opPutBucketLifecycleConfiguration = "PutBucketLifecycleConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketLifecycleConfigurationRequest method. +// req, resp := client.PutBucketLifecycleConfigurationRequest(params) // -// // Example sending a request using the PutBucketLifecycleConfigurationRequest method. -// req, resp := client.PutBucketLifecycleConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfiguration func (c *S3) PutBucketLifecycleConfigurationRequest(input *PutBucketLifecycleConfigurationInput) (req *request.Request, output *PutBucketLifecycleConfigurationOutput) { @@ -8110,30 +8030,30 @@ func (c *S3) PutBucketLifecycleConfigurationRequest(input *PutBucketLifecycleCon // is supported for backward compatibility. For the related API description, // see PutBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html). // -// Rules +// # Rules // // You specify the lifecycle configuration in your request body. The lifecycle // configuration is specified as XML consisting of one or more rules. An Amazon // S3 Lifecycle configuration can have up to 1,000 rules. This limit is not // adjustable. Each rule consists of the following: // -// * Filter identifying a subset of objects to which the rule applies. The -// filter can be based on a key name prefix, object tags, or a combination -// of both. +// - Filter identifying a subset of objects to which the rule applies. The +// filter can be based on a key name prefix, object tags, or a combination +// of both. // -// * Status whether the rule is in effect. +// - Status whether the rule is in effect. // -// * One or more lifecycle transition and expiration actions that you want -// Amazon S3 to perform on the objects identified by the filter. If the state -// of your bucket is versioning-enabled or versioning-suspended, you can -// have many versions of the same object (one current version and zero or -// more noncurrent versions). Amazon S3 provides predefined actions that -// you can specify for current and noncurrent object versions. +// - One or more lifecycle transition and expiration actions that you want +// Amazon S3 to perform on the objects identified by the filter. If the state +// of your bucket is versioning-enabled or versioning-suspended, you can +// have many versions of the same object (one current version and zero or +// more noncurrent versions). Amazon S3 provides predefined actions that +// you can specify for current and noncurrent object versions. // // For more information, see Object Lifecycle Management (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html) // and Lifecycle Configuration Elements (https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html). // -// Permissions +// # Permissions // // By default, all Amazon S3 resources are private, including buckets, objects, // and related subresources (for example, lifecycle configuration and website @@ -8147,22 +8067,22 @@ func (c *S3) PutBucketLifecycleConfigurationRequest(input *PutBucketLifecycleCon // deleting objects from your bucket, you must deny them permissions for the // following actions: // -// * s3:DeleteObject +// - s3:DeleteObject // -// * s3:DeleteObjectVersion +// - s3:DeleteObjectVersion // -// * s3:PutLifecycleConfiguration +// - s3:PutLifecycleConfiguration // // For more information about permissions, see Managing Access Permissions to // Your Amazon S3 Resources (https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html). // // The following are related to PutBucketLifecycleConfiguration: // -// * Examples of Lifecycle Configuration (https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-configuration-examples.html) +// - Examples of Lifecycle Configuration (https://docs.aws.amazon.com/AmazonS3/latest/dev/lifecycle-configuration-examples.html) // -// * GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html) +// - GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html) // -// * DeleteBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html) +// - DeleteBucketLifecycle (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8208,14 +8128,13 @@ const opPutBucketLogging = "PutBucketLogging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketLoggingRequest method. +// req, resp := client.PutBucketLoggingRequest(params) // -// // Example sending a request using the PutBucketLoggingRequest method. -// req, resp := client.PutBucketLoggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLogging func (c *S3) PutBucketLoggingRequest(input *PutBucketLoggingInput) (req *request.Request, output *PutBucketLoggingOutput) { @@ -8256,22 +8175,22 @@ func (c *S3) PutBucketLoggingRequest(input *PutBucketLoggingInput) (req *request // information, see Permissions for server access log delivery (https://docs.aws.amazon.com/AmazonS3/latest/userguide/enable-server-access-logging.html#grant-log-delivery-permissions-general) // in the Amazon S3 User Guide. // -// Grantee Values +// # Grantee Values // // You can specify the person (grantee) to whom you're assigning access rights // (using request elements) in the following ways: // -// * By the person's ID: <>ID<><>GranteesEmail<> -// DisplayName is optional and ignored in the request. +// - By the person's ID: <>ID<><>GranteesEmail<> +// DisplayName is optional and ignored in the request. // -// * By Email address: <>Grantees@email.com<> -// The grantee is resolved to the CanonicalUser and, in a response to a GET -// Object acl request, appears as the CanonicalUser. +// - By Email address: <>Grantees@email.com<> +// The grantee is resolved to the CanonicalUser and, in a response to a GET +// Object acl request, appears as the CanonicalUser. // -// * By URI: <>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<> +// - By URI: <>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<> // // To enable logging, you use LoggingEnabled and its children request elements. // To disable logging, you use an empty BucketLoggingStatus request element: @@ -8288,13 +8207,13 @@ func (c *S3) PutBucketLoggingRequest(input *PutBucketLoggingInput) (req *request // // The following operations are related to PutBucketLogging: // -// * PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) +// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) // -// * DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html) +// - DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html) // -// * CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) +// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) // -// * GetBucketLogging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLogging.html) +// - GetBucketLogging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLogging.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8340,14 +8259,13 @@ const opPutBucketMetricsConfiguration = "PutBucketMetricsConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketMetricsConfigurationRequest method. +// req, resp := client.PutBucketMetricsConfigurationRequest(params) // -// // Example sending a request using the PutBucketMetricsConfigurationRequest method. -// req, resp := client.PutBucketMetricsConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfiguration func (c *S3) PutBucketMetricsConfigurationRequest(input *PutBucketMetricsConfigurationInput) (req *request.Request, output *PutBucketMetricsConfigurationOutput) { @@ -8386,17 +8304,17 @@ func (c *S3) PutBucketMetricsConfigurationRequest(input *PutBucketMetricsConfigu // // The following operations are related to PutBucketMetricsConfiguration: // -// * DeleteBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetricsConfiguration.html) +// - DeleteBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetricsConfiguration.html) // -// * GetBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html) +// - GetBucketMetricsConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html) // -// * ListBucketMetricsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html) +// - ListBucketMetricsConfigurations (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketMetricsConfigurations.html) // // GetBucketLifecycle has the following special error: // -// * Error code: TooManyConfigurations Description: You are attempting to -// create a new configuration but have already reached the 1,000-configuration -// limit. HTTP Status Code: HTTP 400 Bad Request +// - Error code: TooManyConfigurations Description: You are attempting to +// create a new configuration but have already reached the 1,000-configuration +// limit. HTTP Status Code: HTTP 400 Bad Request // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8442,14 +8360,13 @@ const opPutBucketNotification = "PutBucketNotification" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketNotificationRequest method. +// req, resp := client.PutBucketNotificationRequest(params) // -// // Example sending a request using the PutBucketNotificationRequest method. -// req, resp := client.PutBucketNotificationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotification // @@ -8531,14 +8448,13 @@ const opPutBucketNotificationConfiguration = "PutBucketNotificationConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketNotificationConfigurationRequest method. +// req, resp := client.PutBucketNotificationConfigurationRequest(params) // -// // Example sending a request using the PutBucketNotificationConfigurationRequest method. -// req, resp := client.PutBucketNotificationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationConfiguration func (c *S3) PutBucketNotificationConfigurationRequest(input *PutBucketNotificationConfigurationInput) (req *request.Request, output *PutBucketNotificationConfigurationOutput) { @@ -8603,7 +8519,7 @@ func (c *S3) PutBucketNotificationConfigurationRequest(input *PutBucketNotificat // messages to your SNS topic. If the message fails, the entire PUT action will // fail, and Amazon S3 will not add the configuration to your bucket. // -// Responses +// # Responses // // If the configuration in the request body includes only one TopicConfiguration // specifying only the s3:ReducedRedundancyLostObject event type, the response @@ -8612,7 +8528,7 @@ func (c *S3) PutBucketNotificationConfigurationRequest(input *PutBucketNotificat // // The following action is related to PutBucketNotificationConfiguration: // -// * GetBucketNotificationConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketNotificationConfiguration.html) +// - GetBucketNotificationConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketNotificationConfiguration.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8658,14 +8574,13 @@ const opPutBucketOwnershipControls = "PutBucketOwnershipControls" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketOwnershipControlsRequest method. +// req, resp := client.PutBucketOwnershipControlsRequest(params) // -// // Example sending a request using the PutBucketOwnershipControlsRequest method. -// req, resp := client.PutBucketOwnershipControlsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketOwnershipControls func (c *S3) PutBucketOwnershipControlsRequest(input *PutBucketOwnershipControlsInput) (req *request.Request, output *PutBucketOwnershipControlsOutput) { @@ -8701,9 +8616,9 @@ func (c *S3) PutBucketOwnershipControlsRequest(input *PutBucketOwnershipControls // // The following operations are related to PutBucketOwnershipControls: // -// * GetBucketOwnershipControls +// - GetBucketOwnershipControls // -// * DeleteBucketOwnershipControls +// - DeleteBucketOwnershipControls // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8749,14 +8664,13 @@ const opPutBucketPolicy = "PutBucketPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketPolicyRequest method. +// req, resp := client.PutBucketPolicyRequest(params) // -// // Example sending a request using the PutBucketPolicyRequest method. -// req, resp := client.PutBucketPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicy func (c *S3) PutBucketPolicyRequest(input *PutBucketPolicyInput) (req *request.Request, output *PutBucketPolicyOutput) { @@ -8801,9 +8715,9 @@ func (c *S3) PutBucketPolicyRequest(input *PutBucketPolicyInput) (req *request.R // // The following operations are related to PutBucketPolicy: // -// * CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) +// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) // -// * DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html) +// - DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8849,14 +8763,13 @@ const opPutBucketReplication = "PutBucketReplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketReplicationRequest method. +// req, resp := client.PutBucketReplicationRequest(params) // -// // Example sending a request using the PutBucketReplicationRequest method. -// req, resp := client.PutBucketReplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplication func (c *S3) PutBucketReplicationRequest(input *PutBucketReplicationInput) (req *request.Request, output *PutBucketReplicationOutput) { @@ -8909,7 +8822,7 @@ func (c *S3) PutBucketReplicationRequest(input *PutBucketReplicationInput) (req // For information about enabling versioning on a bucket, see Using Versioning // (https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html). // -// Handling Replication of Encrypted Objects +// # Handling Replication of Encrypted Objects // // By default, Amazon S3 doesn't replicate objects that are stored at rest using // server-side encryption with KMS keys. To replicate Amazon Web Services KMS-encrypted @@ -8921,7 +8834,7 @@ func (c *S3) PutBucketReplicationRequest(input *PutBucketReplicationInput) (req // For information on PutBucketReplication errors, see List of replication-related // error codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ReplicationErrorCodeList) // -// Permissions +// # Permissions // // To create a PutBucketReplication request, you must have s3:PutReplicationConfiguration // permissions for the bucket. @@ -8938,9 +8851,9 @@ func (c *S3) PutBucketReplicationRequest(input *PutBucketReplicationInput) (req // // The following operations are related to PutBucketReplication: // -// * GetBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketReplication.html) +// - GetBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketReplication.html) // -// * DeleteBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketReplication.html) +// - DeleteBucketReplication (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketReplication.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8986,14 +8899,13 @@ const opPutBucketRequestPayment = "PutBucketRequestPayment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketRequestPaymentRequest method. +// req, resp := client.PutBucketRequestPaymentRequest(params) // -// // Example sending a request using the PutBucketRequestPaymentRequest method. -// req, resp := client.PutBucketRequestPaymentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPayment func (c *S3) PutBucketRequestPaymentRequest(input *PutBucketRequestPaymentInput) (req *request.Request, output *PutBucketRequestPaymentOutput) { @@ -9027,9 +8939,9 @@ func (c *S3) PutBucketRequestPaymentRequest(input *PutBucketRequestPaymentInput) // // The following operations are related to PutBucketRequestPayment: // -// * CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) +// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) // -// * GetBucketRequestPayment (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketRequestPayment.html) +// - GetBucketRequestPayment (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketRequestPayment.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -9075,14 +8987,13 @@ const opPutBucketTagging = "PutBucketTagging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketTaggingRequest method. +// req, resp := client.PutBucketTaggingRequest(params) // -// // Example sending a request using the PutBucketTaggingRequest method. -// req, resp := client.PutBucketTaggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTagging func (c *S3) PutBucketTaggingRequest(input *PutBucketTaggingInput) (req *request.Request, output *PutBucketTaggingOutput) { @@ -9132,26 +9043,26 @@ func (c *S3) PutBucketTaggingRequest(input *PutBucketTaggingInput) (req *request // // PutBucketTagging has the following special errors: // -// * Error code: InvalidTagError Description: The tag provided was not a -// valid tag. This error can occur if the tag did not pass input validation. -// For information about tag restrictions, see User-Defined Tag Restrictions -// (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html) -// and Amazon Web Services-Generated Cost Allocation Tag Restrictions (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/aws-tag-restrictions.html). +// - Error code: InvalidTagError Description: The tag provided was not a +// valid tag. This error can occur if the tag did not pass input validation. +// For information about tag restrictions, see User-Defined Tag Restrictions +// (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html) +// and Amazon Web Services-Generated Cost Allocation Tag Restrictions (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/aws-tag-restrictions.html). // -// * Error code: MalformedXMLError Description: The XML provided does not -// match the schema. +// - Error code: MalformedXMLError Description: The XML provided does not +// match the schema. // -// * Error code: OperationAbortedError Description: A conflicting conditional -// action is currently in progress against this resource. Please try again. +// - Error code: OperationAbortedError Description: A conflicting conditional +// action is currently in progress against this resource. Please try again. // -// * Error code: InternalError Description: The service was unable to apply -// the provided tag to the bucket. +// - Error code: InternalError Description: The service was unable to apply +// the provided tag to the bucket. // // The following operations are related to PutBucketTagging: // -// * GetBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html) +// - GetBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html) // -// * DeleteBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html) +// - DeleteBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -9197,14 +9108,13 @@ const opPutBucketVersioning = "PutBucketVersioning" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketVersioningRequest method. +// req, resp := client.PutBucketVersioningRequest(params) // -// // Example sending a request using the PutBucketVersioningRequest method. -// req, resp := client.PutBucketVersioningRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioning func (c *S3) PutBucketVersioningRequest(input *PutBucketVersioningInput) (req *request.Request, output *PutBucketVersioningOutput) { @@ -9259,11 +9169,11 @@ func (c *S3) PutBucketVersioningRequest(input *PutBucketVersioningInput) (req *r // // Related Resources // -// * CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) +// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) // -// * DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html) +// - DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html) // -// * GetBucketVersioning (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html) +// - GetBucketVersioning (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -9309,14 +9219,13 @@ const opPutBucketWebsite = "PutBucketWebsite" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketWebsiteRequest method. +// req, resp := client.PutBucketWebsiteRequest(params) // -// // Example sending a request using the PutBucketWebsiteRequest method. -// req, resp := client.PutBucketWebsiteRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsite func (c *S3) PutBucketWebsiteRequest(input *PutBucketWebsiteInput) (req *request.Request, output *PutBucketWebsiteOutput) { @@ -9358,13 +9267,13 @@ func (c *S3) PutBucketWebsiteRequest(input *PutBucketWebsiteInput) (req *request // are sent to another website, you don't need to provide index document name // for the bucket. // -// * WebsiteConfiguration +// - WebsiteConfiguration // -// * RedirectAllRequestsTo +// - RedirectAllRequestsTo // -// * HostName +// - HostName // -// * Protocol +// - Protocol // // If you want granular control over redirects, you can use the following elements // to add routing rules that describe conditions for redirecting requests and @@ -9372,37 +9281,37 @@ func (c *S3) PutBucketWebsiteRequest(input *PutBucketWebsiteInput) (req *request // must provide an index document for the bucket, because some requests might // not be redirected. // -// * WebsiteConfiguration +// - WebsiteConfiguration // -// * IndexDocument +// - IndexDocument // -// * Suffix +// - Suffix // -// * ErrorDocument +// - ErrorDocument // -// * Key +// - Key // -// * RoutingRules +// - RoutingRules // -// * RoutingRule +// - RoutingRule // -// * Condition +// - Condition // -// * HttpErrorCodeReturnedEquals +// - HttpErrorCodeReturnedEquals // -// * KeyPrefixEquals +// - KeyPrefixEquals // -// * Redirect +// - Redirect // -// * Protocol +// - Protocol // -// * HostName +// - HostName // -// * ReplaceKeyPrefixWith +// - ReplaceKeyPrefixWith // -// * ReplaceKeyWith +// - ReplaceKeyWith // -// * HttpRedirectCode +// - HttpRedirectCode // // Amazon S3 has a limitation of 50 routing rules per website configuration. // If you require more than 50 routing rules, you can use object redirect. For @@ -9453,14 +9362,13 @@ const opPutObject = "PutObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutObjectRequest method. +// req, resp := client.PutObjectRequest(params) // -// // Example sending a request using the PutObjectRequest method. -// req, resp := client.PutObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObject func (c *S3) PutObjectRequest(input *PutObjectInput) (req *request.Request, output *PutObjectOutput) { @@ -9498,19 +9406,19 @@ func (c *S3) PutObjectRequest(input *PutObjectInput) (req *request.Request, outp // you can calculate the MD5 while putting an object to Amazon S3 and compare // the returned ETag to the calculated MD5 value. // -// * To successfully complete the PutObject request, you must have the s3:PutObject -// in your IAM permissions. +// - To successfully complete the PutObject request, you must have the s3:PutObject +// in your IAM permissions. // -// * To successfully change the objects acl of your PutObject request, you -// must have the s3:PutObjectAcl in your IAM permissions. +// - To successfully change the objects acl of your PutObject request, you +// must have the s3:PutObjectAcl in your IAM permissions. // -// * The Content-MD5 header is required for any request to upload an object -// with a retention period configured using Amazon S3 Object Lock. For more -// information about Amazon S3 Object Lock, see Amazon S3 Object Lock Overview -// (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html) -// in the Amazon S3 User Guide. +// - The Content-MD5 header is required for any request to upload an object +// with a retention period configured using Amazon S3 Object Lock. For more +// information about Amazon S3 Object Lock, see Amazon S3 Object Lock Overview +// (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html) +// in the Amazon S3 User Guide. // -// Server-side Encryption +// # Server-side Encryption // // You can optionally request server-side encryption. With server-side encryption, // Amazon S3 encrypts your data as it writes it to disks in its data centers @@ -9524,7 +9432,7 @@ func (c *S3) PutObjectRequest(input *PutObjectInput) (req *request.Request, outp // more information, see Amazon S3 Bucket Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html) // in the Amazon S3 User Guide. // -// Access Control List (ACL)-Specific Request Headers +// # Access Control List (ACL)-Specific Request Headers // // You can use headers to grant ACL- based permissions. By default, all objects // are private. Only the owner has full access control. When adding a new object, @@ -9551,7 +9459,7 @@ func (c *S3) PutObjectRequest(input *PutObjectInput) (req *request.Request, outp // all objects written to the bucket by any account will be owned by the bucket // owner. // -// Storage Class Options +// # Storage Class Options // // By default, Amazon S3 uses the STANDARD Storage Class to store newly created // objects. The STANDARD storage class provides high durability and high availability. @@ -9560,7 +9468,7 @@ func (c *S3) PutObjectRequest(input *PutObjectInput) (req *request.Request, outp // see Storage Classes (https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html) // in the Amazon S3 User Guide. // -// Versioning +// # Versioning // // If you enable versioning for a bucket, Amazon S3 automatically generates // a unique version ID for the object being stored. Amazon S3 returns this ID @@ -9575,9 +9483,9 @@ func (c *S3) PutObjectRequest(input *PutObjectInput) (req *request.Request, outp // // Related Resources // -// * CopyObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) +// - CopyObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) // -// * DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) +// - DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -9623,14 +9531,13 @@ const opPutObjectAcl = "PutObjectAcl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutObjectAclRequest method. +// req, resp := client.PutObjectAclRequest(params) // -// // Example sending a request using the PutObjectAclRequest method. -// req, resp := client.PutObjectAclRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAcl func (c *S3) PutObjectAclRequest(input *PutObjectAclInput) (req *request.Request, output *PutObjectAclOutput) { @@ -9678,67 +9585,67 @@ func (c *S3) PutObjectAclRequest(input *PutObjectAclInput) (req *request.Request // object ownership (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) // in the Amazon S3 User Guide. // -// Access Permissions +// # Access Permissions // // You can set access permissions using one of the following methods: // -// * Specify a canned ACL with the x-amz-acl request header. Amazon S3 supports -// a set of predefined ACLs, known as canned ACLs. Each canned ACL has a -// predefined set of grantees and permissions. Specify the canned ACL name -// as the value of x-amz-acl. If you use this header, you cannot use other -// access control-specific headers in your request. For more information, -// see Canned ACL (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL). -// -// * Specify access permissions explicitly with the x-amz-grant-read, x-amz-grant-read-acp, -// x-amz-grant-write-acp, and x-amz-grant-full-control headers. When using -// these headers, you specify explicit access permissions and grantees (Amazon -// Web Services accounts or Amazon S3 groups) who will receive the permission. -// If you use these ACL-specific headers, you cannot use x-amz-acl header -// to set a canned ACL. These parameters map to the set of permissions that -// Amazon S3 supports in an ACL. For more information, see Access Control -// List (ACL) Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html). -// You specify each grantee as a type=value pair, where the type is one of -// the following: id – if the value specified is the canonical user ID -// of an Amazon Web Services account uri – if you are granting permissions -// to a predefined group emailAddress – if the value specified is the email -// address of an Amazon Web Services account Using email addresses to specify -// a grantee is only supported in the following Amazon Web Services Regions: -// US East (N. Virginia) US West (N. California) US West (Oregon) Asia Pacific -// (Singapore) Asia Pacific (Sydney) Asia Pacific (Tokyo) Europe (Ireland) -// South America (São Paulo) For a list of all the Amazon S3 supported Regions -// and endpoints, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) -// in the Amazon Web Services General Reference. For example, the following -// x-amz-grant-read header grants list objects permission to the two Amazon -// Web Services accounts identified by their email addresses. x-amz-grant-read: -// emailAddress="xyz@amazon.com", emailAddress="abc@amazon.com" +// - Specify a canned ACL with the x-amz-acl request header. Amazon S3 supports +// a set of predefined ACLs, known as canned ACLs. Each canned ACL has a +// predefined set of grantees and permissions. Specify the canned ACL name +// as the value of x-amz-acl. If you use this header, you cannot use other +// access control-specific headers in your request. For more information, +// see Canned ACL (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#CannedACL). +// +// - Specify access permissions explicitly with the x-amz-grant-read, x-amz-grant-read-acp, +// x-amz-grant-write-acp, and x-amz-grant-full-control headers. When using +// these headers, you specify explicit access permissions and grantees (Amazon +// Web Services accounts or Amazon S3 groups) who will receive the permission. +// If you use these ACL-specific headers, you cannot use x-amz-acl header +// to set a canned ACL. These parameters map to the set of permissions that +// Amazon S3 supports in an ACL. For more information, see Access Control +// List (ACL) Overview (https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html). +// You specify each grantee as a type=value pair, where the type is one of +// the following: id – if the value specified is the canonical user ID +// of an Amazon Web Services account uri – if you are granting permissions +// to a predefined group emailAddress – if the value specified is the email +// address of an Amazon Web Services account Using email addresses to specify +// a grantee is only supported in the following Amazon Web Services Regions: +// US East (N. Virginia) US West (N. California) US West (Oregon) Asia Pacific +// (Singapore) Asia Pacific (Sydney) Asia Pacific (Tokyo) Europe (Ireland) +// South America (São Paulo) For a list of all the Amazon S3 supported Regions +// and endpoints, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) +// in the Amazon Web Services General Reference. For example, the following +// x-amz-grant-read header grants list objects permission to the two Amazon +// Web Services accounts identified by their email addresses. x-amz-grant-read: +// emailAddress="xyz@amazon.com", emailAddress="abc@amazon.com" // // You can use either a canned ACL or specify access permissions explicitly. // You cannot do both. // -// Grantee Values +// # Grantee Values // // You can specify the person (grantee) to whom you're assigning access rights // (using request elements) in the following ways: // -// * By the person's ID: <>ID<><>GranteesEmail<> -// DisplayName is optional and ignored in the request. +// - By the person's ID: <>ID<><>GranteesEmail<> +// DisplayName is optional and ignored in the request. // -// * By URI: <>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<> +// - By URI: <>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<> // -// * By Email address: <>Grantees@email.com<>lt;/Grantee> -// The grantee is resolved to the CanonicalUser and, in a response to a GET -// Object acl request, appears as the CanonicalUser. Using email addresses -// to specify a grantee is only supported in the following Amazon Web Services -// Regions: US East (N. Virginia) US West (N. California) US West (Oregon) -// Asia Pacific (Singapore) Asia Pacific (Sydney) Asia Pacific (Tokyo) Europe -// (Ireland) South America (São Paulo) For a list of all the Amazon S3 supported -// Regions and endpoints, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) -// in the Amazon Web Services General Reference. +// - By Email address: <>Grantees@email.com<>lt;/Grantee> +// The grantee is resolved to the CanonicalUser and, in a response to a GET +// Object acl request, appears as the CanonicalUser. Using email addresses +// to specify a grantee is only supported in the following Amazon Web Services +// Regions: US East (N. Virginia) US West (N. California) US West (Oregon) +// Asia Pacific (Singapore) Asia Pacific (Sydney) Asia Pacific (Tokyo) Europe +// (Ireland) South America (São Paulo) For a list of all the Amazon S3 supported +// Regions and endpoints, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region) +// in the Amazon Web Services General Reference. // -// Versioning +// # Versioning // // The ACL of an object is set at the object version level. By default, PUT // sets the ACL of the current version of an object. To set the ACL of a different @@ -9746,9 +9653,9 @@ func (c *S3) PutObjectAclRequest(input *PutObjectAclInput) (req *request.Request // // Related Resources // -// * CopyObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) +// - CopyObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) // -// * GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) +// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -9758,8 +9665,8 @@ func (c *S3) PutObjectAclRequest(input *PutObjectAclInput) (req *request.Request // API operation PutObjectAcl for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchKey "NoSuchKey" -// The specified key does not exist. +// - ErrCodeNoSuchKey "NoSuchKey" +// The specified key does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAcl func (c *S3) PutObjectAcl(input *PutObjectAclInput) (*PutObjectAclOutput, error) { @@ -9799,14 +9706,13 @@ const opPutObjectLegalHold = "PutObjectLegalHold" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutObjectLegalHoldRequest method. +// req, resp := client.PutObjectLegalHoldRequest(params) // -// // Example sending a request using the PutObjectLegalHoldRequest method. -// req, resp := client.PutObjectLegalHoldRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHold func (c *S3) PutObjectLegalHoldRequest(input *PutObjectLegalHoldInput) (req *request.Request, output *PutObjectLegalHoldOutput) { @@ -9880,14 +9786,13 @@ const opPutObjectLockConfiguration = "PutObjectLockConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutObjectLockConfigurationRequest method. +// req, resp := client.PutObjectLockConfigurationRequest(params) // -// // Example sending a request using the PutObjectLockConfigurationRequest method. -// req, resp := client.PutObjectLockConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLockConfiguration func (c *S3) PutObjectLockConfigurationRequest(input *PutObjectLockConfigurationInput) (req *request.Request, output *PutObjectLockConfigurationOutput) { @@ -9917,13 +9822,13 @@ func (c *S3) PutObjectLockConfigurationRequest(input *PutObjectLockConfiguration // object placed in the specified bucket. For more information, see Locking // Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). // -// * The DefaultRetention settings require both a mode and a period. +// - The DefaultRetention settings require both a mode and a period. // -// * The DefaultRetention period can be either Days or Years but you must -// select one. You cannot specify Days and Years at the same time. +// - The DefaultRetention period can be either Days or Years but you must +// select one. You cannot specify Days and Years at the same time. // -// * You can only enable Object Lock for new buckets. If you want to turn -// on Object Lock for an existing bucket, contact Amazon Web Services Support. +// - You can only enable Object Lock for new buckets. If you want to turn +// on Object Lock for an existing bucket, contact Amazon Web Services Support. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -9969,14 +9874,13 @@ const opPutObjectRetention = "PutObjectRetention" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutObjectRetentionRequest method. +// req, resp := client.PutObjectRetentionRequest(params) // -// // Example sending a request using the PutObjectRetentionRequest method. -// req, resp := client.PutObjectRetentionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRetention func (c *S3) PutObjectRetentionRequest(input *PutObjectRetentionInput) (req *request.Request, output *PutObjectRetentionOutput) { @@ -10053,14 +9957,13 @@ const opPutObjectTagging = "PutObjectTagging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutObjectTaggingRequest method. +// req, resp := client.PutObjectTaggingRequest(params) // -// // Example sending a request using the PutObjectTaggingRequest method. -// req, resp := client.PutObjectTaggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectTagging func (c *S3) PutObjectTaggingRequest(input *PutObjectTaggingInput) (req *request.Request, output *PutObjectTaggingOutput) { @@ -10108,23 +10011,23 @@ func (c *S3) PutObjectTaggingRequest(input *PutObjectTaggingInput) (req *request // // Special Errors // -// * Code: InvalidTagError Cause: The tag provided was not a valid tag. This -// error can occur if the tag did not pass input validation. For more information, -// see Object Tagging (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html). +// - Code: InvalidTagError Cause: The tag provided was not a valid tag. This +// error can occur if the tag did not pass input validation. For more information, +// see Object Tagging (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html). // -// * Code: MalformedXMLError Cause: The XML provided does not match the schema. +// - Code: MalformedXMLError Cause: The XML provided does not match the schema. // -// * Code: OperationAbortedError Cause: A conflicting conditional action -// is currently in progress against this resource. Please try again. +// - Code: OperationAbortedError Cause: A conflicting conditional action +// is currently in progress against this resource. Please try again. // -// * Code: InternalError Cause: The service was unable to apply the provided -// tag to the object. +// - Code: InternalError Cause: The service was unable to apply the provided +// tag to the object. // // Related Resources // -// * GetObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html) +// - GetObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html) // -// * DeleteObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html) +// - DeleteObjectTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObjectTagging.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -10170,14 +10073,13 @@ const opPutPublicAccessBlock = "PutPublicAccessBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPublicAccessBlockRequest method. +// req, resp := client.PutPublicAccessBlockRequest(params) // -// // Example sending a request using the PutPublicAccessBlockRequest method. -// req, resp := client.PutPublicAccessBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutPublicAccessBlock func (c *S3) PutPublicAccessBlockRequest(input *PutPublicAccessBlockInput) (req *request.Request, output *PutPublicAccessBlockOutput) { @@ -10220,13 +10122,13 @@ func (c *S3) PutPublicAccessBlockRequest(input *PutPublicAccessBlockInput) (req // // Related Resources // -// * GetPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html) +// - GetPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html) // -// * DeletePublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html) +// - DeletePublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeletePublicAccessBlock.html) // -// * GetBucketPolicyStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicyStatus.html) +// - GetBucketPolicyStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicyStatus.html) // -// * Using Amazon S3 Block Public Access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html) +// - Using Amazon S3 Block Public Access (https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -10272,14 +10174,13 @@ const opRestoreObject = "RestoreObject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreObjectRequest method. +// req, resp := client.RestoreObjectRequest(params) // -// // Example sending a request using the RestoreObjectRequest method. -// req, resp := client.RestoreObjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObject func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Request, output *RestoreObjectOutput) { @@ -10300,15 +10201,15 @@ func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Reque // RestoreObject API operation for Amazon Simple Storage Service. // -// Restores an archived copy of an object back into Amazon S3 +// # Restores an archived copy of an object back into Amazon S3 // // This action is not supported by Amazon S3 on Outposts. // // This action performs the following types of requests: // -// * select - Perform a select query on an archived object +// - select - Perform a select query on an archived object // -// * restore an archive - Restore an archived object +// - restore an archive - Restore an archived object // // To use this operation, you must have permissions to perform the s3:RestoreObject // action. The bucket owner has this permission by default and can grant this @@ -10317,7 +10218,7 @@ func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Reque // and Managing Access Permissions to Your Amazon S3 Resources (https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html) // in the Amazon S3 User Guide. // -// Querying Archives with Select Requests +// # Querying Archives with Select Requests // // You use a select type of request to perform SQL queries on archived objects. // The archived objects that are being queried by the select request must be @@ -10329,31 +10230,31 @@ func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Reque // // When making a select request, do the following: // -// * Define an output location for the select query's output. This must be -// an Amazon S3 bucket in the same Amazon Web Services Region as the bucket -// that contains the archive object that is being queried. The Amazon Web -// Services account that initiates the job must have permissions to write -// to the S3 bucket. You can specify the storage class and encryption for -// the output objects stored in the bucket. For more information about output, -// see Querying Archived Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/querying-glacier-archives.html) -// in the Amazon S3 User Guide. For more information about the S3 structure -// in the request body, see the following: PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) -// Managing Access with ACLs (https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html) -// in the Amazon S3 User Guide Protecting Data Using Server-Side Encryption -// (https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html) -// in the Amazon S3 User Guide -// -// * Define the SQL expression for the SELECT type of restoration for your -// query in the request body's SelectParameters structure. You can use expressions -// like the following examples. The following expression returns all records -// from the specified object. SELECT * FROM Object Assuming that you are -// not using any headers for data stored in the object, you can specify columns -// with positional headers. SELECT s._1, s._2 FROM Object s WHERE s._3 > -// 100 If you have headers and you set the fileHeaderInfo in the CSV structure -// in the request body to USE, you can specify headers in the query. (If -// you set the fileHeaderInfo field to IGNORE, the first row is skipped for -// the query.) You cannot mix ordinal positions with header column names. -// SELECT s.Id, s.FirstName, s.SSN FROM S3Object s +// - Define an output location for the select query's output. This must be +// an Amazon S3 bucket in the same Amazon Web Services Region as the bucket +// that contains the archive object that is being queried. The Amazon Web +// Services account that initiates the job must have permissions to write +// to the S3 bucket. You can specify the storage class and encryption for +// the output objects stored in the bucket. For more information about output, +// see Querying Archived Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/querying-glacier-archives.html) +// in the Amazon S3 User Guide. For more information about the S3 structure +// in the request body, see the following: PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) +// Managing Access with ACLs (https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html) +// in the Amazon S3 User Guide Protecting Data Using Server-Side Encryption +// (https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html) +// in the Amazon S3 User Guide +// +// - Define the SQL expression for the SELECT type of restoration for your +// query in the request body's SelectParameters structure. You can use expressions +// like the following examples. The following expression returns all records +// from the specified object. SELECT * FROM Object Assuming that you are +// not using any headers for data stored in the object, you can specify columns +// with positional headers. SELECT s._1, s._2 FROM Object s WHERE s._3 > +// 100 If you have headers and you set the fileHeaderInfo in the CSV structure +// in the request body to USE, you can specify headers in the query. (If +// you set the fileHeaderInfo field to IGNORE, the first row is skipped for +// the query.) You cannot mix ordinal positions with header column names. +// SELECT s.Id, s.FirstName, s.SSN FROM S3Object s // // For more information about using SQL with S3 Glacier Select restore, see // SQL Reference for Amazon S3 Select and S3 Glacier Select (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-glacier-select-sql-reference.html) @@ -10361,26 +10262,26 @@ func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Reque // // When making a select request, you can also do the following: // -// * To expedite your queries, specify the Expedited tier. For more information -// about tiers, see "Restoring Archives," later in this topic. +// - To expedite your queries, specify the Expedited tier. For more information +// about tiers, see "Restoring Archives," later in this topic. // -// * Specify details about the data serialization format of both the input -// object that is being queried and the serialization of the CSV-encoded -// query results. +// - Specify details about the data serialization format of both the input +// object that is being queried and the serialization of the CSV-encoded +// query results. // // The following are additional important facts about the select feature: // -// * The output results are new Amazon S3 objects. Unlike archive retrievals, -// they are stored until explicitly deleted-manually or through a lifecycle -// policy. +// - The output results are new Amazon S3 objects. Unlike archive retrievals, +// they are stored until explicitly deleted-manually or through a lifecycle +// policy. // -// * You can issue more than one select request on the same Amazon S3 object. -// Amazon S3 doesn't deduplicate requests, so avoid issuing duplicate requests. +// - You can issue more than one select request on the same Amazon S3 object. +// Amazon S3 doesn't deduplicate requests, so avoid issuing duplicate requests. // -// * Amazon S3 accepts a select request even if the object has already been -// restored. A select request doesn’t return error response 409. +// - Amazon S3 accepts a select request even if the object has already been +// restored. A select request doesn’t return error response 409. // -// Restoring objects +// # Restoring objects // // Objects that you archive to the S3 Glacier or S3 Glacier Deep Archive storage // class, and S3 Intelligent-Tiering Archive or S3 Intelligent-Tiering Deep @@ -10399,32 +10300,32 @@ func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Reque // one of the following data access tier options in the Tier element of the // request body: // -// * Expedited - Expedited retrievals allow you to quickly access your data -// stored in the S3 Glacier storage class or S3 Intelligent-Tiering Archive -// tier when occasional urgent requests for a subset of archives are required. -// For all but the largest archived objects (250 MB+), data accessed using -// Expedited retrievals is typically made available within 1–5 minutes. -// Provisioned capacity ensures that retrieval capacity for Expedited retrievals -// is available when you need it. Expedited retrievals and provisioned capacity -// are not available for objects stored in the S3 Glacier Deep Archive storage -// class or S3 Intelligent-Tiering Deep Archive tier. -// -// * Standard - Standard retrievals allow you to access any of your archived -// objects within several hours. This is the default option for retrieval -// requests that do not specify the retrieval option. Standard retrievals -// typically finish within 3–5 hours for objects stored in the S3 Glacier -// storage class or S3 Intelligent-Tiering Archive tier. They typically finish -// within 12 hours for objects stored in the S3 Glacier Deep Archive storage -// class or S3 Intelligent-Tiering Deep Archive tier. Standard retrievals -// are free for objects stored in S3 Intelligent-Tiering. -// -// * Bulk - Bulk retrievals are the lowest-cost retrieval option in S3 Glacier, -// enabling you to retrieve large amounts, even petabytes, of data inexpensively. -// Bulk retrievals typically finish within 5–12 hours for objects stored -// in the S3 Glacier storage class or S3 Intelligent-Tiering Archive tier. -// They typically finish within 48 hours for objects stored in the S3 Glacier -// Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier. -// Bulk retrievals are free for objects stored in S3 Intelligent-Tiering. +// - Expedited - Expedited retrievals allow you to quickly access your data +// stored in the S3 Glacier storage class or S3 Intelligent-Tiering Archive +// tier when occasional urgent requests for a subset of archives are required. +// For all but the largest archived objects (250 MB+), data accessed using +// Expedited retrievals is typically made available within 1–5 minutes. +// Provisioned capacity ensures that retrieval capacity for Expedited retrievals +// is available when you need it. Expedited retrievals and provisioned capacity +// are not available for objects stored in the S3 Glacier Deep Archive storage +// class or S3 Intelligent-Tiering Deep Archive tier. +// +// - Standard - Standard retrievals allow you to access any of your archived +// objects within several hours. This is the default option for retrieval +// requests that do not specify the retrieval option. Standard retrievals +// typically finish within 3–5 hours for objects stored in the S3 Glacier +// storage class or S3 Intelligent-Tiering Archive tier. They typically finish +// within 12 hours for objects stored in the S3 Glacier Deep Archive storage +// class or S3 Intelligent-Tiering Deep Archive tier. Standard retrievals +// are free for objects stored in S3 Intelligent-Tiering. +// +// - Bulk - Bulk retrievals are the lowest-cost retrieval option in S3 Glacier, +// enabling you to retrieve large amounts, even petabytes, of data inexpensively. +// Bulk retrievals typically finish within 5–12 hours for objects stored +// in the S3 Glacier storage class or S3 Intelligent-Tiering Archive tier. +// They typically finish within 48 hours for objects stored in the S3 Glacier +// Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier. +// Bulk retrievals are free for objects stored in S3 Intelligent-Tiering. // // For more information about archive retrieval options and provisioned capacity // for Expedited data access, see Restoring Archived Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html) @@ -10457,36 +10358,36 @@ func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Reque // and Object Lifecycle Management (https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html) // in Amazon S3 User Guide. // -// Responses +// # Responses // // A successful action returns either the 200 OK or 202 Accepted status code. // -// * If the object is not previously restored, then Amazon S3 returns 202 -// Accepted in the response. +// - If the object is not previously restored, then Amazon S3 returns 202 +// Accepted in the response. // -// * If the object is previously restored, Amazon S3 returns 200 OK in the -// response. +// - If the object is previously restored, Amazon S3 returns 200 OK in the +// response. // // Special Errors // -// * Code: RestoreAlreadyInProgress Cause: Object restore is already in progress. -// (This error does not apply to SELECT type requests.) HTTP Status Code: -// 409 Conflict SOAP Fault Code Prefix: Client +// - Code: RestoreAlreadyInProgress Cause: Object restore is already in progress. +// (This error does not apply to SELECT type requests.) HTTP Status Code: +// 409 Conflict SOAP Fault Code Prefix: Client // -// * Code: GlacierExpeditedRetrievalNotAvailable Cause: expedited retrievals -// are currently not available. Try again later. (Returned if there is insufficient -// capacity to process the Expedited request. This error applies only to -// Expedited retrievals and not to S3 Standard or Bulk retrievals.) HTTP -// Status Code: 503 SOAP Fault Code Prefix: N/A +// - Code: GlacierExpeditedRetrievalNotAvailable Cause: expedited retrievals +// are currently not available. Try again later. (Returned if there is insufficient +// capacity to process the Expedited request. This error applies only to +// Expedited retrievals and not to S3 Standard or Bulk retrievals.) HTTP +// Status Code: 503 SOAP Fault Code Prefix: N/A // // Related Resources // -// * PutBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html) +// - PutBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html) // -// * GetBucketNotificationConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketNotificationConfiguration.html) +// - GetBucketNotificationConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketNotificationConfiguration.html) // -// * SQL Reference for Amazon S3 Select and S3 Glacier Select (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-glacier-select-sql-reference.html) -// in the Amazon S3 User Guide +// - SQL Reference for Amazon S3 Select and S3 Glacier Select (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-glacier-select-sql-reference.html) +// in the Amazon S3 User Guide // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -10496,8 +10397,8 @@ func (c *S3) RestoreObjectRequest(input *RestoreObjectInput) (req *request.Reque // API operation RestoreObject for usage and error information. // // Returned Error Codes: -// * ErrCodeObjectAlreadyInActiveTierError "ObjectAlreadyInActiveTierError" -// This action is not allowed against this storage tier. +// - ErrCodeObjectAlreadyInActiveTierError "ObjectAlreadyInActiveTierError" +// This action is not allowed against this storage tier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObject func (c *S3) RestoreObject(input *RestoreObjectInput) (*RestoreObjectOutput, error) { @@ -10537,14 +10438,13 @@ const opSelectObjectContent = "SelectObjectContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SelectObjectContentRequest method. +// req, resp := client.SelectObjectContentRequest(params) // -// // Example sending a request using the SelectObjectContentRequest method. -// req, resp := client.SelectObjectContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContent func (c *S3) SelectObjectContentRequest(input *SelectObjectContentInput) (req *request.Request, output *SelectObjectContentOutput) { @@ -10593,75 +10493,75 @@ func (c *S3) SelectObjectContentRequest(input *SelectObjectContentInput) (req *r // for Amazon S3 Select and S3 Glacier Select (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-glacier-select-sql-reference.html) // in the Amazon S3 User Guide. // -// Permissions +// # Permissions // // You must have s3:GetObject permission for this operation. Amazon S3 Select // does not support anonymous access. For more information about permissions, // see Specifying Permissions in a Policy (https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html) // in the Amazon S3 User Guide. // -// Object Data Formats +// # Object Data Formats // // You can use Amazon S3 Select to query objects that have the following format // properties: // -// * CSV, JSON, and Parquet - Objects must be in CSV, JSON, or Parquet format. +// - CSV, JSON, and Parquet - Objects must be in CSV, JSON, or Parquet format. // -// * UTF-8 - UTF-8 is the only encoding type Amazon S3 Select supports. +// - UTF-8 - UTF-8 is the only encoding type Amazon S3 Select supports. // -// * GZIP or BZIP2 - CSV and JSON files can be compressed using GZIP or BZIP2. -// GZIP and BZIP2 are the only compression formats that Amazon S3 Select -// supports for CSV and JSON files. Amazon S3 Select supports columnar compression -// for Parquet using GZIP or Snappy. Amazon S3 Select does not support whole-object -// compression for Parquet objects. +// - GZIP or BZIP2 - CSV and JSON files can be compressed using GZIP or BZIP2. +// GZIP and BZIP2 are the only compression formats that Amazon S3 Select +// supports for CSV and JSON files. Amazon S3 Select supports columnar compression +// for Parquet using GZIP or Snappy. Amazon S3 Select does not support whole-object +// compression for Parquet objects. // -// * Server-side encryption - Amazon S3 Select supports querying objects -// that are protected with server-side encryption. For objects that are encrypted -// with customer-provided encryption keys (SSE-C), you must use HTTPS, and -// you must use the headers that are documented in the GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html). -// For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided -// Encryption Keys) (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) -// in the Amazon S3 User Guide. For objects that are encrypted with Amazon -// S3 managed encryption keys (SSE-S3) and Amazon Web Services KMS keys (SSE-KMS), -// server-side encryption is handled transparently, so you don't need to -// specify anything. For more information about server-side encryption, including -// SSE-S3 and SSE-KMS, see Protecting Data Using Server-Side Encryption (https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html) -// in the Amazon S3 User Guide. +// - Server-side encryption - Amazon S3 Select supports querying objects +// that are protected with server-side encryption. For objects that are encrypted +// with customer-provided encryption keys (SSE-C), you must use HTTPS, and +// you must use the headers that are documented in the GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html). +// For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided +// Encryption Keys) (https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html) +// in the Amazon S3 User Guide. For objects that are encrypted with Amazon +// S3 managed encryption keys (SSE-S3) and Amazon Web Services KMS keys (SSE-KMS), +// server-side encryption is handled transparently, so you don't need to +// specify anything. For more information about server-side encryption, including +// SSE-S3 and SSE-KMS, see Protecting Data Using Server-Side Encryption (https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html) +// in the Amazon S3 User Guide. // -// Working with the Response Body +// # Working with the Response Body // // Given the response size is unknown, Amazon S3 Select streams the response // as a series of messages and includes a Transfer-Encoding header with chunked // as its value in the response. For more information, see Appendix: SelectObjectContent // Response (https://docs.aws.amazon.com/AmazonS3/latest/API/RESTSelectObjectAppendix.html). // -// GetObject Support +// # GetObject Support // // The SelectObjectContent action does not support the following GetObject functionality. // For more information, see GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html). // -// * Range: Although you can specify a scan range for an Amazon S3 Select -// request (see SelectObjectContentRequest - ScanRange (https://docs.aws.amazon.com/AmazonS3/latest/API/API_SelectObjectContent.html#AmazonS3-SelectObjectContent-request-ScanRange) -// in the request parameters), you cannot specify the range of bytes of an -// object to return. +// - Range: Although you can specify a scan range for an Amazon S3 Select +// request (see SelectObjectContentRequest - ScanRange (https://docs.aws.amazon.com/AmazonS3/latest/API/API_SelectObjectContent.html#AmazonS3-SelectObjectContent-request-ScanRange) +// in the request parameters), you cannot specify the range of bytes of an +// object to return. // -// * GLACIER, DEEP_ARCHIVE and REDUCED_REDUNDANCY storage classes: You cannot -// specify the GLACIER, DEEP_ARCHIVE, or REDUCED_REDUNDANCY storage classes. -// For more information, about storage classes see Storage Classes (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#storage-class-intro) -// in the Amazon S3 User Guide. +// - GLACIER, DEEP_ARCHIVE and REDUCED_REDUNDANCY storage classes: You cannot +// specify the GLACIER, DEEP_ARCHIVE, or REDUCED_REDUNDANCY storage classes. +// For more information, about storage classes see Storage Classes (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#storage-class-intro) +// in the Amazon S3 User Guide. // -// Special Errors +// # Special Errors // // For a list of special errors for this operation, see List of SELECT Object // Content Error Codes (https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#SelectObjectContentErrorCodeList) // // Related Resources // -// * GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) +// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) // -// * GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html) +// - GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html) // -// * PutBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html) +// - PutBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -10730,10 +10630,10 @@ type SelectObjectContentEventStream struct { // (e.g. http.Response.Body), that will be closed when the stream Close method // is called. // -// es := NewSelectObjectContentEventStream(func(o *SelectObjectContentEventStream){ -// es.Reader = myMockStreamReader -// es.StreamCloser = myMockStreamCloser -// }) +// es := NewSelectObjectContentEventStream(func(o *SelectObjectContentEventStream){ +// es.Reader = myMockStreamReader +// es.StreamCloser = myMockStreamCloser +// }) func NewSelectObjectContentEventStream(opts ...func(*SelectObjectContentEventStream)) *SelectObjectContentEventStream { es := &SelectObjectContentEventStream{ done: make(chan struct{}), @@ -10786,12 +10686,12 @@ func (es *SelectObjectContentEventStream) waitStreamPartClose() { // // These events are: // -// * ContinuationEvent -// * EndEvent -// * ProgressEvent -// * RecordsEvent -// * StatsEvent -// * SelectObjectContentEventStreamUnknownEvent +// - ContinuationEvent +// - EndEvent +// - ProgressEvent +// - RecordsEvent +// - StatsEvent +// - SelectObjectContentEventStreamUnknownEvent func (es *SelectObjectContentEventStream) Events() <-chan SelectObjectContentEventStreamEvent { return es.Reader.Events() } @@ -10827,7 +10727,6 @@ func (es *SelectObjectContentEventStream) runOutputStream(r *request.Request) { // // You can use the closing of the Reader's Events channel to terminate your // application's read from the API's stream. -// func (es *SelectObjectContentEventStream) Close() (err error) { es.closeOnce.Do(es.safeClose) return es.Err() @@ -10875,14 +10774,13 @@ const opUploadPart = "UploadPart" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UploadPartRequest method. +// req, resp := client.UploadPartRequest(params) // -// // Example sending a request using the UploadPartRequest method. -// req, resp := client.UploadPartRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPart func (c *S3) UploadPartRequest(input *UploadPartInput) (req *request.Request, output *UploadPartOutput) { @@ -10969,30 +10867,30 @@ func (c *S3) UploadPartRequest(input *UploadPartInput) (req *request.Request, ou // key in your initiate multipart upload request, you must provide identical // encryption information in each part upload using the following headers. // -// * x-amz-server-side-encryption-customer-algorithm +// - x-amz-server-side-encryption-customer-algorithm // -// * x-amz-server-side-encryption-customer-key +// - x-amz-server-side-encryption-customer-key // -// * x-amz-server-side-encryption-customer-key-MD5 +// - x-amz-server-side-encryption-customer-key-MD5 // // Special Errors // -// * Code: NoSuchUpload Cause: The specified multipart upload does not exist. -// The upload ID might be invalid, or the multipart upload might have been -// aborted or completed. HTTP Status Code: 404 Not Found SOAP Fault Code -// Prefix: Client +// - Code: NoSuchUpload Cause: The specified multipart upload does not exist. +// The upload ID might be invalid, or the multipart upload might have been +// aborted or completed. HTTP Status Code: 404 Not Found SOAP Fault Code +// Prefix: Client // // Related Resources // -// * CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html) +// - CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html) // -// * CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) +// - CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) // -// * AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html) +// - AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html) // -// * ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) +// - ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) // -// * ListMultipartUploads (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html) +// - ListMultipartUploads (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -11038,14 +10936,13 @@ const opUploadPartCopy = "UploadPartCopy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UploadPartCopyRequest method. +// req, resp := client.UploadPartCopyRequest(params) // -// // Example sending a request using the UploadPartCopyRequest method. -// req, resp := client.UploadPartCopyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopy func (c *S3) UploadPartCopyRequest(input *UploadPartCopyInput) (req *request.Request, output *UploadPartCopyOutput) { @@ -11085,39 +10982,39 @@ func (c *S3) UploadPartCopyRequest(input *UploadPartCopyInput) (req *request.Req // // For more information about using the UploadPartCopy operation, see the following: // -// * For conceptual information about multipart uploads, see Uploading Objects -// Using Multipart Upload (https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html) -// in the Amazon S3 User Guide. +// - For conceptual information about multipart uploads, see Uploading Objects +// Using Multipart Upload (https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html) +// in the Amazon S3 User Guide. // -// * For information about permissions required to use the multipart upload -// API, see Multipart Upload and Permissions (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html) -// in the Amazon S3 User Guide. +// - For information about permissions required to use the multipart upload +// API, see Multipart Upload and Permissions (https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html) +// in the Amazon S3 User Guide. // -// * For information about copying objects using a single atomic action vs. -// a multipart upload, see Operations on Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectOperations.html) -// in the Amazon S3 User Guide. +// - For information about copying objects using a single atomic action vs. +// a multipart upload, see Operations on Objects (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectOperations.html) +// in the Amazon S3 User Guide. // -// * For information about using server-side encryption with customer-provided -// encryption keys with the UploadPartCopy operation, see CopyObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) -// and UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html). +// - For information about using server-side encryption with customer-provided +// encryption keys with the UploadPartCopy operation, see CopyObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html) +// and UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html). // // Note the following additional considerations about the request headers x-amz-copy-source-if-match, // x-amz-copy-source-if-none-match, x-amz-copy-source-if-unmodified-since, and // x-amz-copy-source-if-modified-since: // -// * Consideration 1 - If both of the x-amz-copy-source-if-match and x-amz-copy-source-if-unmodified-since -// headers are present in the request as follows: x-amz-copy-source-if-match -// condition evaluates to true, and; x-amz-copy-source-if-unmodified-since -// condition evaluates to false; Amazon S3 returns 200 OK and copies the -// data. +// - Consideration 1 - If both of the x-amz-copy-source-if-match and x-amz-copy-source-if-unmodified-since +// headers are present in the request as follows: x-amz-copy-source-if-match +// condition evaluates to true, and; x-amz-copy-source-if-unmodified-since +// condition evaluates to false; Amazon S3 returns 200 OK and copies the +// data. // -// * Consideration 2 - If both of the x-amz-copy-source-if-none-match and -// x-amz-copy-source-if-modified-since headers are present in the request -// as follows: x-amz-copy-source-if-none-match condition evaluates to false, -// and; x-amz-copy-source-if-modified-since condition evaluates to true; -// Amazon S3 returns 412 Precondition Failed response code. +// - Consideration 2 - If both of the x-amz-copy-source-if-none-match and +// x-amz-copy-source-if-modified-since headers are present in the request +// as follows: x-amz-copy-source-if-none-match condition evaluates to false, +// and; x-amz-copy-source-if-modified-since condition evaluates to true; +// Amazon S3 returns 412 Precondition Failed response code. // -// Versioning +// # Versioning // // If your bucket has versioning enabled, you could have multiple versions of // the same object. By default, x-amz-copy-source identifies the current version @@ -11135,26 +11032,26 @@ func (c *S3) UploadPartCopyRequest(input *UploadPartCopyInput) (req *request.Req // // Special Errors // -// * Code: NoSuchUpload Cause: The specified multipart upload does not exist. -// The upload ID might be invalid, or the multipart upload might have been -// aborted or completed. HTTP Status Code: 404 Not Found +// - Code: NoSuchUpload Cause: The specified multipart upload does not exist. +// The upload ID might be invalid, or the multipart upload might have been +// aborted or completed. HTTP Status Code: 404 Not Found // -// * Code: InvalidRequest Cause: The specified copy source is not supported -// as a byte-range copy source. HTTP Status Code: 400 Bad Request +// - Code: InvalidRequest Cause: The specified copy source is not supported +// as a byte-range copy source. HTTP Status Code: 400 Bad Request // // Related Resources // -// * CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html) +// - CreateMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html) // -// * UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) +// - UploadPart (https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) // -// * CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) +// - CompleteMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html) // -// * AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html) +// - AbortMultipartUpload (https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html) // -// * ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) +// - ListParts (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html) // -// * ListMultipartUploads (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html) +// - ListMultipartUploads (https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -11200,14 +11097,13 @@ const opWriteGetObjectResponse = "WriteGetObjectResponse" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the WriteGetObjectResponseRequest method. +// req, resp := client.WriteGetObjectResponseRequest(params) // -// // Example sending a request using the WriteGetObjectResponseRequest method. -// req, resp := client.WriteGetObjectResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/WriteGetObjectResponse func (c *S3) WriteGetObjectResponseRequest(input *WriteGetObjectResponseInput) (req *request.Request, output *WriteGetObjectResponseOutput) { @@ -15207,10 +15103,10 @@ func (s *CreateMultipartUploadOutput) SetUploadId(v string) *CreateMultipartUplo // The container element for specifying the default Object Lock retention settings // for new objects placed in the specified bucket. // -// * The DefaultRetention settings require both a mode and a period. +// - The DefaultRetention settings require both a mode and a period. // -// * The DefaultRetention period can be either Days or Years but you must -// select one. You cannot specify Days and Years at the same time. +// - The DefaultRetention period can be either Days or Years but you must +// select one. You cannot specify Days and Years at the same time. type DefaultRetention struct { _ struct{} `type:"structure"` @@ -36689,11 +36585,11 @@ func (s *ReplicationRule) SetStatus(v string) *ReplicationRule { // // For example: // -// * If you specify both a Prefix and a Tag filter, wrap these filters in -// an And tag. +// - If you specify both a Prefix and a Tag filter, wrap these filters in +// an And tag. // -// * If you specify a filter based on multiple tags, wrap the Tag elements -// in an And tag. +// - If you specify a filter based on multiple tags, wrap the Tag elements +// in an And tag. type ReplicationRuleAndOperator struct { _ struct{} `type:"structure"` @@ -37701,11 +37597,11 @@ func (s *ScanRange) SetStart(v int64) *ScanRange { // // These events are: // -// * ContinuationEvent -// * EndEvent -// * ProgressEvent -// * RecordsEvent -// * StatsEvent +// - ContinuationEvent +// - EndEvent +// - ProgressEvent +// - RecordsEvent +// - StatsEvent type SelectObjectContentEventStreamEvent interface { eventSelectObjectContentEventStream() eventstreamapi.Marshaler @@ -37719,12 +37615,12 @@ type SelectObjectContentEventStreamEvent interface { // // These events are: // -// * ContinuationEvent -// * EndEvent -// * ProgressEvent -// * RecordsEvent -// * StatsEvent -// * SelectObjectContentEventStreamUnknownEvent +// - ContinuationEvent +// - EndEvent +// - ProgressEvent +// - RecordsEvent +// - StatsEvent +// - SelectObjectContentEventStreamUnknownEvent type SelectObjectContentEventStreamReader interface { // Returns a channel of events as they are read from the event stream. Events() <-chan SelectObjectContentEventStreamEvent diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/bucket_location.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/bucket_location.go index b122813820f3..8f205089dde6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/bucket_location.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/bucket_location.go @@ -39,11 +39,11 @@ func NormalizeBucketLocation(loc string) string { // See http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlocation.html // for more information on the values that can be returned. // -// req, result := svc.GetBucketLocationRequest(&s3.GetBucketLocationInput{ -// Bucket: aws.String(bucket), -// }) -// req.Handlers.Unmarshal.PushBackNamed(NormalizeBucketLocationHandler) -// err := req.Send() +// req, result := svc.GetBucketLocationRequest(&s3.GetBucketLocationInput{ +// Bucket: aws.String(bucket), +// }) +// req.Handlers.Unmarshal.PushBackNamed(NormalizeBucketLocationHandler) +// err := req.Send() var NormalizeBucketLocationHandler = request.NamedHandler{ Name: "awssdk.s3.NormalizeBucketLocation", Fn: func(req *request.Request) { @@ -65,12 +65,12 @@ var NormalizeBucketLocationHandler = request.NamedHandler{ // See http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGETlocation.html // for more information on the values that can be returned. // -// result, err := svc.GetBucketLocationWithContext(ctx, -// &s3.GetBucketLocationInput{ -// Bucket: aws.String(bucket), -// }, -// s3.WithNormalizeBucketLocation, -// ) +// result, err := svc.GetBucketLocationWithContext(ctx, +// &s3.GetBucketLocationInput{ +// Bucket: aws.String(bucket), +// }, +// s3.WithNormalizeBucketLocation, +// ) func WithNormalizeBucketLocation(r *request.Request) { r.Handlers.Unmarshal.PushBackNamed(NormalizeBucketLocationHandler) } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/doc.go index 0def02255ac8..c148f757ee1c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/doc.go @@ -8,7 +8,7 @@ // See s3 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/s3/ // -// Using the Client +// # Using the Client // // To contact Amazon Simple Storage Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/doc_custom.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/doc_custom.go index 7f7aca208594..2e8244f8f64a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/doc_custom.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/doc_custom.go @@ -6,99 +6,99 @@ // for optimizations if the Body satisfies that type. Once the Uploader instance // is created you can call Upload concurrently from multiple goroutines safely. // -// // The session the S3 Uploader will use -// sess := session.Must(session.NewSession()) -// -// // Create an uploader with the session and default options -// uploader := s3manager.NewUploader(sess) -// -// f, err := os.Open(filename) -// if err != nil { -// return fmt.Errorf("failed to open file %q, %v", filename, err) -// } -// -// // Upload the file to S3. -// result, err := uploader.Upload(&s3manager.UploadInput{ -// Bucket: aws.String(myBucket), -// Key: aws.String(myString), -// Body: f, -// }) -// if err != nil { -// return fmt.Errorf("failed to upload file, %v", err) -// } -// fmt.Printf("file uploaded to, %s\n", aws.StringValue(result.Location)) +// // The session the S3 Uploader will use +// sess := session.Must(session.NewSession()) +// +// // Create an uploader with the session and default options +// uploader := s3manager.NewUploader(sess) +// +// f, err := os.Open(filename) +// if err != nil { +// return fmt.Errorf("failed to open file %q, %v", filename, err) +// } +// +// // Upload the file to S3. +// result, err := uploader.Upload(&s3manager.UploadInput{ +// Bucket: aws.String(myBucket), +// Key: aws.String(myString), +// Body: f, +// }) +// if err != nil { +// return fmt.Errorf("failed to upload file, %v", err) +// } +// fmt.Printf("file uploaded to, %s\n", aws.StringValue(result.Location)) // // See the s3manager package's Uploader type documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3manager/#Uploader // -// Download Manager +// # Download Manager // // The s3manager package's Downloader provides concurrently downloading of Objects // from S3. The Downloader will write S3 Object content with an io.WriterAt. // Once the Downloader instance is created you can call Download concurrently from // multiple goroutines safely. // -// // The session the S3 Downloader will use -// sess := session.Must(session.NewSession()) +// // The session the S3 Downloader will use +// sess := session.Must(session.NewSession()) // -// // Create a downloader with the session and default options -// downloader := s3manager.NewDownloader(sess) +// // Create a downloader with the session and default options +// downloader := s3manager.NewDownloader(sess) // -// // Create a file to write the S3 Object contents to. -// f, err := os.Create(filename) -// if err != nil { -// return fmt.Errorf("failed to create file %q, %v", filename, err) -// } +// // Create a file to write the S3 Object contents to. +// f, err := os.Create(filename) +// if err != nil { +// return fmt.Errorf("failed to create file %q, %v", filename, err) +// } // -// // Write the contents of S3 Object to the file -// n, err := downloader.Download(f, &s3.GetObjectInput{ -// Bucket: aws.String(myBucket), -// Key: aws.String(myString), -// }) -// if err != nil { -// return fmt.Errorf("failed to download file, %v", err) -// } -// fmt.Printf("file downloaded, %d bytes\n", n) +// // Write the contents of S3 Object to the file +// n, err := downloader.Download(f, &s3.GetObjectInput{ +// Bucket: aws.String(myBucket), +// Key: aws.String(myString), +// }) +// if err != nil { +// return fmt.Errorf("failed to download file, %v", err) +// } +// fmt.Printf("file downloaded, %d bytes\n", n) // // See the s3manager package's Downloader type documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3manager/#Downloader // -// Automatic URI cleaning +// # Automatic URI cleaning // // Interacting with objects whose keys contain adjacent slashes (e.g. bucketname/foo//bar/objectname) // requires setting DisableRestProtocolURICleaning to true in the aws.Config struct // used by the service client. // -// svc := s3.New(sess, &aws.Config{ -// DisableRestProtocolURICleaning: aws.Bool(true), -// }) -// out, err := svc.GetObject(&s3.GetObjectInput { -// Bucket: aws.String("bucketname"), -// Key: aws.String("//foo//bar//moo"), -// }) +// svc := s3.New(sess, &aws.Config{ +// DisableRestProtocolURICleaning: aws.Bool(true), +// }) +// out, err := svc.GetObject(&s3.GetObjectInput { +// Bucket: aws.String("bucketname"), +// Key: aws.String("//foo//bar//moo"), +// }) // -// Get Bucket Region +// # Get Bucket Region // // GetBucketRegion will attempt to get the region for a bucket using a region // hint to determine which AWS partition to perform the query on. Use this utility // to determine the region a bucket is in. // -// sess := session.Must(session.NewSession()) +// sess := session.Must(session.NewSession()) // -// bucket := "my-bucket" -// region, err := s3manager.GetBucketRegion(ctx, sess, bucket, "us-west-2") -// if err != nil { -// if aerr, ok := err.(awserr.Error); ok && aerr.Code() == "NotFound" { -// fmt.Fprintf(os.Stderr, "unable to find bucket %s's region not found\n", bucket) -// } -// return err -// } -// fmt.Printf("Bucket %s is in %s region\n", bucket, region) +// bucket := "my-bucket" +// region, err := s3manager.GetBucketRegion(ctx, sess, bucket, "us-west-2") +// if err != nil { +// if aerr, ok := err.(awserr.Error); ok && aerr.Code() == "NotFound" { +// fmt.Fprintf(os.Stderr, "unable to find bucket %s's region not found\n", bucket) +// } +// return err +// } +// fmt.Printf("Bucket %s is in %s region\n", bucket, region) // // See the s3manager package's GetBucketRegion function documentation for more information // https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3manager/#GetBucketRegion // -// S3 Crypto Client +// # S3 Crypto Client // // The s3crypto package provides the tools to upload and download encrypted // content from S3. The Encryption and Decryption clients can be used concurrently @@ -106,5 +106,4 @@ // // See the s3crypto package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/s3/s3crypto/ -// package s3 diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/endpoint.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/endpoint.go index 8ed0d059b02c..9109f001cef7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/endpoint.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/endpoint.go @@ -52,9 +52,8 @@ func accessPointResourceParser(a awsarn.ARN) (arn.Resource, error) { // outpost access-point resource. // // Supported Outpost AccessPoint ARN format: -// - ARN format: arn:{partition}:s3-outposts:{region}:{accountId}:outpost/{outpostId}/accesspoint/{accesspointName} -// - example: arn:aws:s3-outposts:us-west-2:012345678901:outpost/op-1234567890123456/accesspoint/myaccesspoint -// +// - ARN format: arn:{partition}:s3-outposts:{region}:{accountId}:outpost/{outpostId}/accesspoint/{accesspointName} +// - example: arn:aws:s3-outposts:us-west-2:012345678901:outpost/op-1234567890123456/accesspoint/myaccesspoint func parseOutpostAccessPointResource(a awsarn.ARN, resParts []string) (arn.OutpostAccessPointARN, error) { // outpost accesspoint arn is only valid if service is s3-outposts if a.Service != "s3-outposts" { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/endpoint_builder.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/endpoint_builder.go index 2f31c7d7cf7e..9c957a7241e2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/endpoint_builder.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/endpoint_builder.go @@ -37,7 +37,6 @@ type accessPointEndpointBuilder arn.AccessPointARN // - example : myaccesspoint-012345678901.s3-accesspoint.us-west-2.amazonaws.com // // Access Point Endpoint requests are signed using "s3" as signing name. -// func (a accessPointEndpointBuilder) build(req *request.Request) error { resolveService := arn.AccessPointARN(a).Service resolveRegion := arn.AccessPointARN(a).Region @@ -92,7 +91,6 @@ type s3ObjectLambdaAccessPointEndpointBuilder arn.S3ObjectLambdaAccessPointARN // - example : myaccesspoint-012345678901.s3-object-lambda.us-west-2.amazonaws.com // // Access Point Endpoint requests are signed using "s3-object-lambda" as signing name. -// func (a s3ObjectLambdaAccessPointEndpointBuilder) build(req *request.Request) error { resolveRegion := arn.S3ObjectLambdaAccessPointARN(a).Region @@ -147,7 +145,6 @@ type outpostAccessPointEndpointBuilder arn.OutpostAccessPointARN // - example : myaccesspoint-012345678901.op-01234567890123456.s3-outposts.us-west-2.amazonaws.com // // Outpost AccessPoint Endpoint request are signed using "s3-outposts" as signing name. -// func (o outpostAccessPointEndpointBuilder) build(req *request.Request) error { resolveRegion := o.Region resolveService := o.Service diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/aes_cbc_content_cipher.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/aes_cbc_content_cipher.go index 952632c18eb2..ea7ce5551312 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/aes_cbc_content_cipher.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/aes_cbc_content_cipher.go @@ -25,6 +25,7 @@ func AESCBCContentCipherBuilder(generator CipherDataGenerator, padder Padder) Co // RegisterAESCBCContentCipher registers the AES/CBC cipher and padder with the provided CryptoRegistry. // // Example: +// // cr := s3crypto.NewCryptoRegistry() // if err := s3crypto.RegisterAESCBCContentCipher(cr, s3crypto.AESCBCPadder); err != nil { // panic(err) // handle error diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/aes_gcm_content_cipher.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/aes_gcm_content_cipher.go index 5ab1b7b86b5d..87dee156345e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/aes_gcm_content_cipher.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/aes_gcm_content_cipher.go @@ -37,11 +37,11 @@ func AESGCMContentCipherBuilderV2(generator CipherDataGeneratorWithCEKAlg) Conte // RegisterAESGCMContentCipher registers the AES/GCM content cipher algorithm with the provided CryptoRegistry. // // Example: +// // cr := s3crypto.NewCryptoRegistry() // if err := s3crypto.RegisterAESGCMContentCipher(cr); err != nil { // panic(err) // handle error // } -// func RegisterAESGCMContentCipher(registry *CryptoRegistry) error { if registry == nil { return errNilCryptoRegistry diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/crypto_registry.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/crypto_registry.go index ba58df6e9284..fd9abc615d46 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/crypto_registry.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/crypto_registry.go @@ -46,6 +46,7 @@ func (c CryptoRegistry) GetWrap(name string) (WrapEntry, bool) { // // This method should only be used if you need to register custom wrapping algorithms. Please see the following methods // for helpers to register AWS provided algorithms: +// // RegisterKMSContextWrapWithAnyCMK (kms+context) // RegisterKMSContextWrapWithCMK (kms+context) // RegisterKMSWrapWithAnyCMK (kms) @@ -87,6 +88,7 @@ func (c CryptoRegistry) GetCEK(name string) (CEKEntry, bool) { // // This method should only be used if you need to register custom content encryption algorithms. Please see the following methods // for helpers to register AWS provided algorithms: +// // RegisterAESGCMContentCipher (AES/GCM) // RegisterAESCBCContentCipher (AES/CBC) func (c *CryptoRegistry) AddCEK(name string, entry CEKEntry) error { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/decryption_client.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/decryption_client.go index b2ea60dfd4ac..68e15129e407 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/decryption_client.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/decryption_client.go @@ -18,11 +18,12 @@ type CEKEntry func(CipherData) (ContentCipher, error) // DecryptionClient is an S3 crypto client. The decryption client // will handle all get object requests from Amazon S3. // Supported key wrapping algorithms: +// // *AWS KMS // // Supported content ciphers: -// * AES/GCM -// * AES/CBC +// - AES/GCM +// - AES/CBC // // deprecated: This feature is in maintenance mode, no new updates will be released. Please see https://docs.aws.amazon.com/general/latest/gr/aws_sdk_cryptography.html for more information. type DecryptionClient struct { @@ -41,6 +42,7 @@ type DecryptionClient struct { // NewDecryptionClient instantiates a new S3 crypto client // // Example: +// // sess := session.Must(session.NewSession()) // svc := s3crypto.NewDecryptionClient(sess, func(svc *s3crypto.DecryptionClient{ // // Custom client options here @@ -84,13 +86,14 @@ func NewDecryptionClient(prov client.ConfigProvider, options ...func(*Decryption // decryption will be done. The SDK only supports V2 reads of KMS and GCM. // // Example: -// sess := session.Must(session.NewSession()) -// svc := s3crypto.NewDecryptionClient(sess) -// req, out := svc.GetObjectRequest(&s3.GetObjectInput { -// Key: aws.String("testKey"), -// Bucket: aws.String("testBucket"), -// }) -// err := req.Send() +// +// sess := session.Must(session.NewSession()) +// svc := s3crypto.NewDecryptionClient(sess) +// req, out := svc.GetObjectRequest(&s3.GetObjectInput { +// Key: aws.String("testKey"), +// Bucket: aws.String("testBucket"), +// }) +// err := req.Send() // // deprecated: This feature is in maintenance mode, no new updates will be released. Please see https://docs.aws.amazon.com/general/latest/gr/aws_sdk_cryptography.html for more information. func (c *DecryptionClient) GetObjectRequest(input *s3.GetObjectInput) (*request.Request, *s3.GetObjectOutput) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/decryption_client_v2.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/decryption_client_v2.go index cc2bc6b46fb3..bb3a08087655 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/decryption_client_v2.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/decryption_client_v2.go @@ -11,12 +11,12 @@ import ( // DecryptionClientV2 is an S3 crypto client. The decryption client // will handle all get object requests from Amazon S3. // Supported key wrapping algorithms: -// * AWS KMS -// * AWS KMS + Context +// - AWS KMS +// - AWS KMS + Context // // Supported content ciphers: -// * AES/GCM -// * AES/CBC +// - AES/GCM +// - AES/CBC type DecryptionClientV2 struct { options DecryptionClientOptions } @@ -39,9 +39,10 @@ type DecryptionClientOptions struct { // NewDecryptionClientV2 will return an error if no key wrapping or content encryption algorithms have been provided. // // Example: +// // sess := session.Must(session.NewSession()) // cr := s3crypto.NewCryptoRegistry() -// if err := s3crypto.RegisterKMSContextWrapWithAnyCMK(cr, kms.New(sess)); err != nil { +// if err := s3crypto.RegisterKMSContextWrapWithAnyCMK(cr, kms.New(sess)); err != nil { // panic(err) // handle error // } // if err := s3crypto.RegisterAESGCMContentCipher(cr); err != nil { @@ -85,6 +86,7 @@ func NewDecryptionClientV2( // decryption will be done. The SDK only supports V2 reads of KMS and GCM. // // Example: +// // req, out := svc.GetObjectRequest(&s3.GetObjectInput { // Key: aws.String("testKey"), // Bucket: aws.String("testBucket"), diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/doc.go index 55c639b71af2..71c9d93838a5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/doc.go @@ -68,14 +68,14 @@ Configuration of the S3 cryptography client panic(err) // handle error } -Object Metadata SaveStrategy +# Object Metadata SaveStrategy The default SaveStrategy is to save metadata to an object's headers. An alternative SaveStrategy can be provided to the EncryptionClientV2. For example, the S3SaveStrategy can be used to save the encryption metadata to a instruction file that is stored in S3 using the objects KeyName+InstructionFileSuffix. The InstructionFileSuffix defaults to .instruction. If using this strategy you will need to configure the DecryptionClientV2 to use the matching S3LoadStrategy LoadStrategy in order to decrypt object using this save strategy. -Custom Key Wrappers and Custom Content Encryption Algorithms +# Custom Key Wrappers and Custom Content Encryption Algorithms Registration of custom key wrapping or content encryption algorithms not provided by AWS is allowed by the SDK, but security and compatibility with custom types can not be guaranteed. For example if you want to support `CustomWrap` @@ -109,14 +109,14 @@ defined ciphers. // Our content cipher builder, NewCustomCEKContentBuilder svc := s3crypto.NewEncryptionClientV2(sess, NewCustomCEKContentBuilder(handler)) -Maintenance Mode Notification for V1 Clients +# Maintenance Mode Notification for V1 Clients The EncryptionClient and DecryptionClient are in maintenance mode, no new updates will be released. Please see https://docs.aws.amazon.com/general/latest/gr/aws_sdk_cryptography.html for more information. Users of these clients should migrate to EncryptionClientV2 and DecryptionClientV2. EncryptionClientV2 removes encryption support of the following features - * AES/CBC (content cipher) - * kms (key wrap algorithm) + - AES/CBC (content cipher) + - kms (key wrap algorithm) Attempting to construct an EncryptionClientV2 with deprecated features will result in an error returned back to the calling application during construction of the client. @@ -127,12 +127,11 @@ Users of `kms` key provider will need to migrate `kms+context`. DecryptionClientV2 client adds support for the `kms+context` key provider and maintains backwards comparability with objects encrypted with the V1 EncryptionClient. -Migrating from V1 to V2 Clients +# Migrating from V1 to V2 Clients Examples of how to migrate usage of the V1 clients to the V2 equivalents have been documented as usage examples of the NewEncryptionClientV2 and NewDecryptionClientV2 functions. Please see the AWS SDK for Go Developer Guide for additional migration steps https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/s3-encryption-migration.html - */ package s3crypto diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/encryption_client.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/encryption_client.go index 278a859da806..ee84702d2181 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/encryption_client.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/encryption_client.go @@ -50,10 +50,11 @@ func validateV1EncryptionClientConstruction(c *EncryptionClient) error { // NewEncryptionClient instantiates a new S3 crypto client // // Example: -// cmkID := "arn:aws:kms:region:000000000000:key/00000000-0000-0000-0000-000000000000" -// sess := session.Must(session.NewSession()) -// handler := s3crypto.NewKMSKeyGenerator(kms.New(sess), cmkID) -// svc := s3crypto.NewEncryptionClient(sess, s3crypto.AESGCMContentCipherBuilder(handler)) +// +// cmkID := "arn:aws:kms:region:000000000000:key/00000000-0000-0000-0000-000000000000" +// sess := session.Must(session.NewSession()) +// handler := s3crypto.NewKMSKeyGenerator(kms.New(sess), cmkID) +// svc := s3crypto.NewEncryptionClient(sess, s3crypto.AESGCMContentCipherBuilder(handler)) // // deprecated: This feature is in maintenance mode, no new updates will be released. Please see https://docs.aws.amazon.com/general/latest/gr/aws_sdk_cryptography.html for more information. func NewEncryptionClient(prov client.ConfigProvider, builder ContentCipherBuilder, options ...func(*EncryptionClient)) *EncryptionClient { @@ -81,6 +82,7 @@ func NewEncryptionClient(prov client.ConfigProvider, builder ContentCipherBuilde // that data to S3. // // Example: +// // svc := s3crypto.NewEncryptionClient(session.Must(session.NewSession()), s3crypto.AESGCMContentCipherBuilder(handler)) // req, out := svc.PutObjectRequest(&s3.PutObjectInput { // Key: aws.String("testKey"), diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/encryption_client_v2.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/encryption_client_v2.go index 75ad7ce54109..e7589112ce55 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/encryption_client_v2.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/encryption_client_v2.go @@ -38,11 +38,12 @@ type EncryptionClientOptions struct { // contentCipherBuilder has been deprecated or was constructed with a deprecated component. // // Example: -// cmkID := "arn:aws:kms:region:000000000000:key/00000000-0000-0000-0000-000000000000" -// sess := session.Must(session.NewSession()) -// var matdesc s3crypto.MaterialDescription -// handler := s3crypto.NewKMSContextKeyGenerator(kms.New(sess), cmkID, matdesc) -// svc := s3crypto.NewEncryptionClientV2(sess, s3crypto.AESGCMContentCipherBuilderV2(handler)) +// +// cmkID := "arn:aws:kms:region:000000000000:key/00000000-0000-0000-0000-000000000000" +// sess := session.Must(session.NewSession()) +// var matdesc s3crypto.MaterialDescription +// handler := s3crypto.NewKMSContextKeyGenerator(kms.New(sess), cmkID, matdesc) +// svc := s3crypto.NewEncryptionClientV2(sess, s3crypto.AESGCMContentCipherBuilderV2(handler)) func NewEncryptionClientV2(prov client.ConfigProvider, contentCipherBuilder ContentCipherBuilder, options ...func(clientOptions *EncryptionClientOptions), ) ( client *EncryptionClientV2, err error, @@ -88,6 +89,7 @@ func NewEncryptionClientV2(prov client.ConfigProvider, contentCipherBuilder Cont // that data to S3. // // Example: +// // req, out := svc.PutObjectRequest(&s3.PutObjectInput { // Key: aws.String("testKey"), // Bucket: aws.String("testBucket"), diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/kms_context_key_handler.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/kms_context_key_handler.go index c7f5feba89d2..9b53745878d3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/kms_context_key_handler.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/kms_context_key_handler.go @@ -21,6 +21,7 @@ const ( // description. // // Example: +// // sess := session.Must(session.NewSession()) // cmkID := "KMS Key ARN" // var matdesc s3crypto.MaterialDescription @@ -33,6 +34,7 @@ func NewKMSContextKeyGenerator(client kmsiface.KMSAPI, cmkID string, matdesc Mat // will be configured to only call KMS Decrypt using the provided CMK. // // Example: +// // cr := s3crypto.NewCryptoRegistry() // if err := RegisterKMSContextWrapWithCMK(); err != nil { // panic(err) // handle error @@ -48,6 +50,7 @@ func RegisterKMSContextWrapWithCMK(registry *CryptoRegistry, client kmsiface.KMS // will be configured to call KMS decrypt without providing a CMK. // // Example: +// // sess := session.Must(session.NewSession()) // cr := s3crypto.NewCryptoRegistry() // if err := s3crypto.RegisterKMSContextWrapWithAnyCMK(cr, kms.New(sess)); err != nil { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/kms_key_handler.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/kms_key_handler.go index c44633aad06a..5cfb864f2d3b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/kms_key_handler.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3crypto/kms_key_handler.go @@ -27,6 +27,7 @@ type kmsKeyHandler struct { // description. // // Example: +// // sess := session.Must(session.NewSession()) // cmkID := "arn to key" // matdesc := s3crypto.MaterialDescription{} @@ -60,6 +61,7 @@ func newKMSKeyHandler(client kmsiface.KMSAPI, cmkID string, matdesc MaterialDesc // description. // // Example: +// // sess := session.Must(session.NewSession()) // cmkID := "arn to key" // matdesc := s3crypto.MaterialDescription{} @@ -73,6 +75,7 @@ func NewKMSKeyGeneratorWithMatDesc(kmsClient kmsiface.KMSAPI, cmkID string, matd // NewKMSWrapEntry builds returns a new KMS key provider and its decrypt handler. // // Example: +// // sess := session.Must(session.NewSession()) // customKMSClient := kms.New(sess) // decryptHandler := s3crypto.NewKMSWrapEntry(customKMSClient) @@ -91,6 +94,7 @@ func NewKMSWrapEntry(kmsClient kmsiface.KMSAPI) WrapEntry { // configured to call KMS Decrypt with the provided CMK. // // Example: +// // sess := session.Must(session.NewSession()) // cr := s3crypto.NewCryptoRegistry() // if err := s3crypto.RegisterKMSWrapWithCMK(cr, kms.New(sess), "cmkId"); err != nil { @@ -109,6 +113,7 @@ func RegisterKMSWrapWithCMK(registry *CryptoRegistry, client kmsiface.KMSAPI, cm // configured to call KMS Decrypt without providing a CMK. // // Example: +// // sess := session.Must(session.NewSession()) // cr := s3crypto.NewCryptoRegistry() // if err := s3crypto.RegisterKMSWrapWithAnyCMK(cr, kms.New(sess)); err != nil { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3iface/interface.go index 2e771919df01..aa8cbb9489c6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Simple Storage Service. -// func myFunc(svc s3iface.S3API) bool { -// // Make svc.AbortMultipartUpload request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Simple Storage Service. +// func myFunc(svc s3iface.S3API) bool { +// // Make svc.AbortMultipartUpload request +// } // -// func main() { -// sess := session.New() -// svc := s3.New(sess) +// func main() { +// sess := session.New() +// svc := s3.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockS3Client struct { -// s3iface.S3API -// } -// func (m *mockS3Client) AbortMultipartUpload(input *s3.AbortMultipartUploadInput) (*s3.AbortMultipartUploadOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockS3Client struct { +// s3iface.S3API +// } +// func (m *mockS3Client) AbortMultipartUpload(input *s3.AbortMultipartUploadInput) (*s3.AbortMultipartUploadOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockS3Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockS3Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/batch.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/batch.go index 1f6bfa8ea818..48e5724c9149 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/batch.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/batch.go @@ -112,6 +112,7 @@ type BatchDeleteIterator interface { // iterate through a list of objects and delete the objects. // // Example: +// // iter := &s3manager.DeleteListIterator{ // Client: svc, // Input: &s3.ListObjectsInput{ @@ -203,6 +204,7 @@ type BatchDelete struct { // objects. // // Example: +// // batcher := s3manager.NewBatchDeleteWithClient(client, size) // // objects := []BatchDeleteObject{ @@ -236,6 +238,7 @@ func NewBatchDeleteWithClient(client s3iface.S3API, options ...func(*BatchDelete // objects. // // Example: +// // batcher := s3manager.NewBatchDelete(sess, size) // // objects := []BatchDeleteObject{ diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/bucket_region.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/bucket_region.go index 91ce3d56105a..a7aab6b45575 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/bucket_region.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/bucket_region.go @@ -24,30 +24,30 @@ import ( // For example to get the region of a bucket which exists in "eu-central-1" // you could provide a region hint of "us-west-2". // -// sess := session.Must(session.NewSession()) -// -// bucket := "my-bucket" -// region, err := s3manager.GetBucketRegion(ctx, sess, bucket, "us-west-2") -// if err != nil { -// if aerr, ok := err.(awserr.Error); ok && aerr.Code() == "NotFound" { -// fmt.Fprintf(os.Stderr, "unable to find bucket %s's region not found\n", bucket) -// } -// return err -// } -// fmt.Printf("Bucket %s is in %s region\n", bucket, region) +// sess := session.Must(session.NewSession()) +// +// bucket := "my-bucket" +// region, err := s3manager.GetBucketRegion(ctx, sess, bucket, "us-west-2") +// if err != nil { +// if aerr, ok := err.(awserr.Error); ok && aerr.Code() == "NotFound" { +// fmt.Fprintf(os.Stderr, "unable to find bucket %s's region not found\n", bucket) +// } +// return err +// } +// fmt.Printf("Bucket %s is in %s region\n", bucket, region) // // By default the request will be made to the Amazon S3 endpoint using the Path // style addressing. // -// s3.us-west-2.amazonaws.com/bucketname +// s3.us-west-2.amazonaws.com/bucketname // // This is not compatible with Amazon S3's FIPS endpoints. To override this // behavior to use Virtual Host style addressing, provide a functional option // that will set the Request's Config.S3ForcePathStyle to aws.Bool(false). // -// region, err := s3manager.GetBucketRegion(ctx, sess, "bucketname", "us-west-2", func(r *request.Request) { -// r.S3ForcePathStyle = aws.Bool(false) -// }) +// region, err := s3manager.GetBucketRegion(ctx, sess, "bucketname", "us-west-2", func(r *request.Request) { +// r.S3ForcePathStyle = aws.Bool(false) +// }) // // To configure the GetBucketRegion to make a request via the Amazon // S3 FIPS endpoints directly when a FIPS region name is not available, (e.g. @@ -55,11 +55,11 @@ import ( // utility is called with. The hint region will be ignored if an endpoint URL // is configured on the session or client. // -// sess, err := session.NewSession(&aws.Config{ -// Endpoint: aws.String("https://s3-fips.us-west-2.amazonaws.com"), -// }) +// sess, err := session.NewSession(&aws.Config{ +// Endpoint: aws.String("https://s3-fips.us-west-2.amazonaws.com"), +// }) // -// region, err := s3manager.GetBucketRegion(context.Background(), sess, "bucketname", "") +// region, err := s3manager.GetBucketRegion(context.Background(), sess, "bucketname", "") func GetBucketRegion(ctx aws.Context, c client.ConfigProvider, bucket, regionHint string, opts ...request.Option) (string, error) { var cfg aws.Config if len(regionHint) != 0 { @@ -78,15 +78,15 @@ const bucketRegionHeader = "X-Amz-Bucket-Region" // By default the request will be made to the Amazon S3 endpoint using the Path // style addressing. // -// s3.us-west-2.amazonaws.com/bucketname +// s3.us-west-2.amazonaws.com/bucketname // // This is not compatible with Amazon S3's FIPS endpoints. To override this // behavior to use Virtual Host style addressing, provide a functional option // that will set the Request's Config.S3ForcePathStyle to aws.Bool(false). // -// region, err := s3manager.GetBucketRegionWithClient(ctx, client, "bucketname", func(r *request.Request) { -// r.S3ForcePathStyle = aws.Bool(false) -// }) +// region, err := s3manager.GetBucketRegionWithClient(ctx, client, "bucketname", func(r *request.Request) { +// r.S3ForcePathStyle = aws.Bool(false) +// }) // // To configure the GetBucketRegion to make a request via the Amazon // S3 FIPS endpoints directly when a FIPS region name is not available, (e.g. @@ -94,11 +94,11 @@ const bucketRegionHeader = "X-Amz-Bucket-Region" // utility is called with. The hint region will be ignored if an endpoint URL // is configured on the session or client. // -// region, err := s3manager.GetBucketRegionWithClient(context.Background(), -// s3.New(sess, &aws.Config{ -// Endpoint: aws.String("https://s3-fips.us-west-2.amazonaws.com"), -// }), -// "bucketname") +// region, err := s3manager.GetBucketRegionWithClient(context.Background(), +// s3.New(sess, &aws.Config{ +// Endpoint: aws.String("https://s3-fips.us-west-2.amazonaws.com"), +// }), +// "bucketname") // // See GetBucketRegion for more information. func GetBucketRegionWithClient(ctx aws.Context, svc s3iface.S3API, bucket string, opts ...request.Option) (string, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/download.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/download.go index b7e5202a1220..f48ff1f012de 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/download.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/download.go @@ -86,16 +86,17 @@ func WithDownloaderRequestOptions(opts ...request.Option) func(*Downloader) { // interface. // // Example: -// // The session the S3 Downloader will use -// sess := session.Must(session.NewSession()) // -// // Create a downloader with the session and default options -// downloader := s3manager.NewDownloader(sess) +// // The session the S3 Downloader will use +// sess := session.Must(session.NewSession()) // -// // Create a downloader with the session and custom options -// downloader := s3manager.NewDownloader(sess, func(d *s3manager.Downloader) { -// d.PartSize = 64 * 1024 * 1024 // 64MB per part -// }) +// // Create a downloader with the session and default options +// downloader := s3manager.NewDownloader(sess) +// +// // Create a downloader with the session and custom options +// downloader := s3manager.NewDownloader(sess, func(d *s3manager.Downloader) { +// d.PartSize = 64 * 1024 * 1024 // 64MB per part +// }) func NewDownloader(c client.ConfigProvider, options ...func(*Downloader)) *Downloader { return newDownloader(s3.New(c), options...) } @@ -120,19 +121,20 @@ func newDownloader(client s3iface.S3API, options ...func(*Downloader)) *Download // to make S3 API calls. // // Example: -// // The session the S3 Downloader will use -// sess := session.Must(session.NewSession()) // -// // The S3 client the S3 Downloader will use -// s3Svc := s3.New(sess) +// // The session the S3 Downloader will use +// sess := session.Must(session.NewSession()) +// +// // The S3 client the S3 Downloader will use +// s3Svc := s3.New(sess) // -// // Create a downloader with the s3 client and default options -// downloader := s3manager.NewDownloaderWithClient(s3Svc) +// // Create a downloader with the s3 client and default options +// downloader := s3manager.NewDownloaderWithClient(s3Svc) // -// // Create a downloader with the s3 client and custom options -// downloader := s3manager.NewDownloaderWithClient(s3Svc, func(d *s3manager.Downloader) { -// d.PartSize = 64 * 1024 * 1024 // 64MB per part -// }) +// // Create a downloader with the s3 client and custom options +// downloader := s3manager.NewDownloaderWithClient(s3Svc, func(d *s3manager.Downloader) { +// d.PartSize = 64 * 1024 * 1024 // 64MB per part +// }) func NewDownloaderWithClient(svc s3iface.S3API, options ...func(*Downloader)) *Downloader { return newDownloader(svc, options...) } @@ -223,6 +225,7 @@ func (d Downloader) DownloadWithContext(ctx aws.Context, w io.WriterAt, input *s // to the io.WriterAt specificed in the iterator. // // Example: +// // svc := s3manager.NewDownloader(session) // // fooFile, err := os.Open("/tmp/foo.file") diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/upload.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/upload.go index c0395c44fabc..c42495fb6c88 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/upload.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/s3manager/upload.go @@ -40,18 +40,17 @@ const DefaultUploadConcurrency = 5 // // Example: // -// u := s3manager.NewUploader(opts) -// output, err := u.upload(input) -// if err != nil { -// if multierr, ok := err.(s3manager.MultiUploadFailure); ok { -// // Process error and its associated uploadID -// fmt.Println("Error:", multierr.Code(), multierr.Message(), multierr.UploadID()) -// } else { -// // Process error generically -// fmt.Println("Error:", err.Error()) -// } -// } -// +// u := s3manager.NewUploader(opts) +// output, err := u.upload(input) +// if err != nil { +// if multierr, ok := err.(s3manager.MultiUploadFailure); ok { +// // Process error and its associated uploadID +// fmt.Println("Error:", multierr.Code(), multierr.Message(), multierr.UploadID()) +// } else { +// // Process error generically +// fmt.Println("Error:", err.Error()) +// } +// } type MultiUploadFailure interface { awserr.Error @@ -77,7 +76,7 @@ type multiUploadError struct { // Error returns the string representation of the error. // -// See apierr.BaseError ErrorWithExtra for output format +// # See apierr.BaseError ErrorWithExtra for output format // // Satisfies the error interface. func (m multiUploadError) Error() string { @@ -187,16 +186,17 @@ type Uploader struct { // satisfies the client.ConfigProvider interface. // // Example: -// // The session the S3 Uploader will use -// sess := session.Must(session.NewSession()) // -// // Create an uploader with the session and default options -// uploader := s3manager.NewUploader(sess) +// // The session the S3 Uploader will use +// sess := session.Must(session.NewSession()) // -// // Create an uploader with the session and custom options -// uploader := s3manager.NewUploader(session, func(u *s3manager.Uploader) { -// u.PartSize = 64 * 1024 * 1024 // 64MB per part -// }) +// // Create an uploader with the session and default options +// uploader := s3manager.NewUploader(sess) +// +// // Create an uploader with the session and custom options +// uploader := s3manager.NewUploader(session, func(u *s3manager.Uploader) { +// u.PartSize = 64 * 1024 * 1024 // 64MB per part +// }) func NewUploader(c client.ConfigProvider, options ...func(*Uploader)) *Uploader { return newUploader(s3.New(c), options...) } @@ -225,19 +225,20 @@ func newUploader(client s3iface.S3API, options ...func(*Uploader)) *Uploader { // a S3 service client to make S3 API calls. // // Example: -// // The session the S3 Uploader will use -// sess := session.Must(session.NewSession()) // -// // S3 service client the Upload manager will use. -// s3Svc := s3.New(sess) +// // The session the S3 Uploader will use +// sess := session.Must(session.NewSession()) +// +// // S3 service client the Upload manager will use. +// s3Svc := s3.New(sess) // -// // Create an uploader with S3 client and default options -// uploader := s3manager.NewUploaderWithClient(s3Svc) +// // Create an uploader with S3 client and default options +// uploader := s3manager.NewUploaderWithClient(s3Svc) // -// // Create an uploader with S3 client and custom options -// uploader := s3manager.NewUploaderWithClient(s3Svc, func(u *s3manager.Uploader) { -// u.PartSize = 64 * 1024 * 1024 // 64MB per part -// }) +// // Create an uploader with S3 client and custom options +// uploader := s3manager.NewUploaderWithClient(s3Svc, func(u *s3manager.Uploader) { +// u.PartSize = 64 * 1024 * 1024 // 64MB per part +// }) func NewUploaderWithClient(svc s3iface.S3API, options ...func(*Uploader)) *Uploader { return newUploader(svc, options...) } @@ -256,21 +257,22 @@ func NewUploaderWithClient(svc s3iface.S3API, options ...func(*Uploader)) *Uploa // It is safe to call this method concurrently across goroutines. // // Example: -// // Upload input parameters -// upParams := &s3manager.UploadInput{ -// Bucket: &bucketName, -// Key: &keyName, -// Body: file, -// } // -// // Perform an upload. -// result, err := uploader.Upload(upParams) +// // Upload input parameters +// upParams := &s3manager.UploadInput{ +// Bucket: &bucketName, +// Key: &keyName, +// Body: file, +// } +// +// // Perform an upload. +// result, err := uploader.Upload(upParams) // -// // Perform upload with options different than the those in the Uploader. -// result, err := uploader.Upload(upParams, func(u *s3manager.Uploader) { -// u.PartSize = 10 * 1024 * 1024 // 10MB part size -// u.LeavePartsOnError = true // Don't delete the parts if the upload fails. -// }) +// // Perform upload with options different than the those in the Uploader. +// result, err := uploader.Upload(upParams, func(u *s3manager.Uploader) { +// u.PartSize = 10 * 1024 * 1024 // 10MB part size +// u.LeavePartsOnError = true // Don't delete the parts if the upload fails. +// }) func (u Uploader) Upload(input *UploadInput, options ...func(*Uploader)) (*UploadOutput, error) { return u.UploadWithContext(aws.BackgroundContext(), input, options...) } @@ -310,6 +312,7 @@ func (u Uploader) UploadWithContext(ctx aws.Context, input *UploadInput, opts .. // allows for custom defined functionality. // // Example: +// // svc:= s3manager.NewUploader(sess) // // objects := []BatchUploadObject{ diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/service.go index de347f90767e..5b755b592adf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a S3 client from just a session. -// svc := s3.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a S3 client with additional configuration -// svc := s3.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a S3 client from just a session. +// svc := s3.New(mySession) +// +// // Create a S3 client with additional configuration +// svc := s3.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *S3 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/api.go index da64512044af..c98a75235df9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/api.go @@ -31,14 +31,13 @@ const opCreateAccessPoint = "CreateAccessPoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAccessPointRequest method. +// req, resp := client.CreateAccessPointRequest(params) // -// // Example sending a request using the CreateAccessPointRequest method. -// req, resp := client.CreateAccessPointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessPoint func (c *S3Control) CreateAccessPointRequest(input *CreateAccessPointInput) (req *request.Request, output *CreateAccessPointOutput) { @@ -84,11 +83,11 @@ func (c *S3Control) CreateAccessPointRequest(input *CreateAccessPointInput) (req // // The following actions are related to CreateAccessPoint: // -// * GetAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html) +// - GetAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html) // -// * DeleteAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html) +// - DeleteAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html) // -// * ListAccessPoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPoints.html) +// - ListAccessPoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPoints.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -134,14 +133,13 @@ const opCreateAccessPointForObjectLambda = "CreateAccessPointForObjectLambda" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAccessPointForObjectLambdaRequest method. +// req, resp := client.CreateAccessPointForObjectLambdaRequest(params) // -// // Example sending a request using the CreateAccessPointForObjectLambdaRequest method. -// req, resp := client.CreateAccessPointForObjectLambdaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateAccessPointForObjectLambda func (c *S3Control) CreateAccessPointForObjectLambdaRequest(input *CreateAccessPointForObjectLambdaInput) (req *request.Request, output *CreateAccessPointForObjectLambdaOutput) { @@ -170,11 +168,11 @@ func (c *S3Control) CreateAccessPointForObjectLambdaRequest(input *CreateAccessP // // The following actions are related to CreateAccessPointForObjectLambda: // -// * DeleteAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html) +// - DeleteAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html) // -// * GetAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html) +// - GetAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html) // -// * ListAccessPointsForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html) +// - ListAccessPointsForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -220,14 +218,13 @@ const opCreateBucket = "CreateBucket" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBucketRequest method. +// req, resp := client.CreateBucketRequest(params) // -// // Example sending a request using the CreateBucketRequest method. -// req, resp := client.CreateBucketRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateBucket func (c *S3Control) CreateBucketRequest(input *CreateBucketInput) (req *request.Request, output *CreateBucketOutput) { @@ -252,7 +249,6 @@ func (c *S3Control) CreateBucketRequest(input *CreateBucketInput) (req *request. // CreateBucket API operation for AWS S3 Control. // -// // This action creates an Amazon S3 on Outposts bucket. To create an S3 bucket, // see Create Bucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) // in the Amazon S3 API Reference. @@ -267,9 +263,9 @@ func (c *S3Control) CreateBucketRequest(input *CreateBucketInput) (req *request. // // S3 on Outposts buckets support: // -// * Tags +// - Tags // -// * LifecycleConfigurations for deleting expired objects +// - LifecycleConfigurations for deleting expired objects // // For a complete list of restrictions and Amazon S3 feature limitations on // S3 on Outposts, see Amazon S3 on Outposts Restrictions and Limitations (https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3OnOutpostsRestrictionsLimitations.html). @@ -281,15 +277,15 @@ func (c *S3Control) CreateBucketRequest(input *CreateBucketInput) (req *request. // // The following actions are related to CreateBucket for Amazon S3 on Outposts: // -// * PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) +// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) // -// * GetBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html) +// - GetBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html) // -// * DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html) +// - DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html) // -// * CreateAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html) +// - CreateAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html) // -// * PutAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html) +// - PutAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -299,13 +295,14 @@ func (c *S3Control) CreateBucketRequest(input *CreateBucketInput) (req *request. // API operation CreateBucket for usage and error information. // // Returned Error Codes: -// * ErrCodeBucketAlreadyExists "BucketAlreadyExists" -// The requested Outposts bucket name is not available. The bucket namespace -// is shared by all users of the Outposts in this Region. Select a different -// name and try again. // -// * ErrCodeBucketAlreadyOwnedByYou "BucketAlreadyOwnedByYou" -// The Outposts bucket you tried to create already exists, and you own it. +// - ErrCodeBucketAlreadyExists "BucketAlreadyExists" +// The requested Outposts bucket name is not available. The bucket namespace +// is shared by all users of the Outposts in this Region. Select a different +// name and try again. +// +// - ErrCodeBucketAlreadyOwnedByYou "BucketAlreadyOwnedByYou" +// The Outposts bucket you tried to create already exists, and you own it. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateBucket func (c *S3Control) CreateBucket(input *CreateBucketInput) (*CreateBucketOutput, error) { @@ -345,14 +342,13 @@ const opCreateJob = "CreateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateJobRequest method. +// req, resp := client.CreateJobRequest(params) // -// // Example sending a request using the CreateJobRequest method. -// req, resp := client.CreateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateJob func (c *S3Control) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobOutput) { @@ -384,15 +380,15 @@ func (c *S3Control) CreateJobRequest(input *CreateJobInput) (req *request.Reques // // Related actions include: // -// * DescribeJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeJob.html) +// - DescribeJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeJob.html) // -// * ListJobs (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListJobs.html) +// - ListJobs (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListJobs.html) // -// * UpdateJobPriority (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobPriority.html) +// - UpdateJobPriority (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobPriority.html) // -// * UpdateJobStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html) +// - UpdateJobStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html) // -// * JobOperation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_JobOperation.html) +// - JobOperation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_JobOperation.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -402,13 +398,14 @@ func (c *S3Control) CreateJobRequest(input *CreateJobInput) (req *request.Reques // API operation CreateJob for usage and error information. // // Returned Error Codes: -// * ErrCodeTooManyRequestsException "TooManyRequestsException" // -// * ErrCodeBadRequestException "BadRequestException" +// - ErrCodeTooManyRequestsException "TooManyRequestsException" // -// * ErrCodeIdempotencyException "IdempotencyException" +// - ErrCodeBadRequestException "BadRequestException" // -// * ErrCodeInternalServiceException "InternalServiceException" +// - ErrCodeIdempotencyException "IdempotencyException" +// +// - ErrCodeInternalServiceException "InternalServiceException" // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateJob func (c *S3Control) CreateJob(input *CreateJobInput) (*CreateJobOutput, error) { @@ -448,14 +445,13 @@ const opCreateMultiRegionAccessPoint = "CreateMultiRegionAccessPoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMultiRegionAccessPointRequest method. +// req, resp := client.CreateMultiRegionAccessPointRequest(params) // -// // Example sending a request using the CreateMultiRegionAccessPointRequest method. -// req, resp := client.CreateMultiRegionAccessPointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/CreateMultiRegionAccessPoint func (c *S3Control) CreateMultiRegionAccessPointRequest(input *CreateMultiRegionAccessPointInput) (req *request.Request, output *CreateMultiRegionAccessPointOutput) { @@ -498,13 +494,13 @@ func (c *S3Control) CreateMultiRegionAccessPointRequest(input *CreateMultiRegion // // The following actions are related to CreateMultiRegionAccessPoint: // -// * DeleteMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html) +// - DeleteMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html) // -// * DescribeMultiRegionAccessPointOperation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html) +// - DescribeMultiRegionAccessPointOperation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html) // -// * GetMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html) +// - GetMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html) // -// * ListMultiRegionAccessPoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html) +// - ListMultiRegionAccessPoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -550,14 +546,13 @@ const opDeleteAccessPoint = "DeleteAccessPoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccessPointRequest method. +// req, resp := client.DeleteAccessPointRequest(params) // -// // Example sending a request using the DeleteAccessPointRequest method. -// req, resp := client.DeleteAccessPointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPoint func (c *S3Control) DeleteAccessPointRequest(input *DeleteAccessPointInput) (req *request.Request, output *DeleteAccessPointOutput) { @@ -596,11 +591,11 @@ func (c *S3Control) DeleteAccessPointRequest(input *DeleteAccessPointInput) (req // // The following actions are related to DeleteAccessPoint: // -// * CreateAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html) +// - CreateAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html) // -// * GetAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html) +// - GetAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html) // -// * ListAccessPoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPoints.html) +// - ListAccessPoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPoints.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -646,14 +641,13 @@ const opDeleteAccessPointForObjectLambda = "DeleteAccessPointForObjectLambda" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccessPointForObjectLambdaRequest method. +// req, resp := client.DeleteAccessPointForObjectLambdaRequest(params) // -// // Example sending a request using the DeleteAccessPointForObjectLambdaRequest method. -// req, resp := client.DeleteAccessPointForObjectLambdaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointForObjectLambda func (c *S3Control) DeleteAccessPointForObjectLambdaRequest(input *DeleteAccessPointForObjectLambdaInput) (req *request.Request, output *DeleteAccessPointForObjectLambdaOutput) { @@ -681,11 +675,11 @@ func (c *S3Control) DeleteAccessPointForObjectLambdaRequest(input *DeleteAccessP // // The following actions are related to DeleteAccessPointForObjectLambda: // -// * CreateAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html) +// - CreateAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html) // -// * GetAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html) +// - GetAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html) // -// * ListAccessPointsForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html) +// - ListAccessPointsForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -731,14 +725,13 @@ const opDeleteAccessPointPolicy = "DeleteAccessPointPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccessPointPolicyRequest method. +// req, resp := client.DeleteAccessPointPolicyRequest(params) // -// // Example sending a request using the DeleteAccessPointPolicyRequest method. -// req, resp := client.DeleteAccessPointPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointPolicy func (c *S3Control) DeleteAccessPointPolicyRequest(input *DeleteAccessPointPolicyInput) (req *request.Request, output *DeleteAccessPointPolicyOutput) { @@ -777,9 +770,9 @@ func (c *S3Control) DeleteAccessPointPolicyRequest(input *DeleteAccessPointPolic // // The following actions are related to DeleteAccessPointPolicy: // -// * PutAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html) +// - PutAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html) // -// * GetAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicy.html) +// - GetAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicy.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -825,14 +818,13 @@ const opDeleteAccessPointPolicyForObjectLambda = "DeleteAccessPointPolicyForObje // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccessPointPolicyForObjectLambdaRequest method. +// req, resp := client.DeleteAccessPointPolicyForObjectLambdaRequest(params) // -// // Example sending a request using the DeleteAccessPointPolicyForObjectLambdaRequest method. -// req, resp := client.DeleteAccessPointPolicyForObjectLambdaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteAccessPointPolicyForObjectLambda func (c *S3Control) DeleteAccessPointPolicyForObjectLambdaRequest(input *DeleteAccessPointPolicyForObjectLambdaInput) (req *request.Request, output *DeleteAccessPointPolicyForObjectLambdaOutput) { @@ -860,9 +852,9 @@ func (c *S3Control) DeleteAccessPointPolicyForObjectLambdaRequest(input *DeleteA // // The following actions are related to DeleteAccessPointPolicyForObjectLambda: // -// * GetAccessPointPolicyForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicyForObjectLambda.html) +// - GetAccessPointPolicyForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicyForObjectLambda.html) // -// * PutAccessPointPolicyForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicyForObjectLambda.html) +// - PutAccessPointPolicyForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicyForObjectLambda.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -908,14 +900,13 @@ const opDeleteBucket = "DeleteBucket" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketRequest method. +// req, resp := client.DeleteBucketRequest(params) // -// // Example sending a request using the DeleteBucketRequest method. -// req, resp := client.DeleteBucketRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteBucket func (c *S3Control) DeleteBucketRequest(input *DeleteBucketInput) (req *request.Request, output *DeleteBucketOutput) { @@ -942,7 +933,6 @@ func (c *S3Control) DeleteBucketRequest(input *DeleteBucketInput) (req *request. // DeleteBucket API operation for AWS S3 Control. // -// // This action deletes an Amazon S3 on Outposts bucket. To delete an S3 bucket, // see DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html) // in the Amazon S3 API Reference. @@ -963,11 +953,11 @@ func (c *S3Control) DeleteBucketRequest(input *DeleteBucketInput) (req *request. // // Related Resources // -// * CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html) +// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html) // -// * GetBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html) +// - GetBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html) // -// * DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) +// - DeleteObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1013,14 +1003,13 @@ const opDeleteBucketLifecycleConfiguration = "DeleteBucketLifecycleConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketLifecycleConfigurationRequest method. +// req, resp := client.DeleteBucketLifecycleConfigurationRequest(params) // -// // Example sending a request using the DeleteBucketLifecycleConfigurationRequest method. -// req, resp := client.DeleteBucketLifecycleConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteBucketLifecycleConfiguration func (c *S3Control) DeleteBucketLifecycleConfigurationRequest(input *DeleteBucketLifecycleConfigurationInput) (req *request.Request, output *DeleteBucketLifecycleConfigurationOutput) { @@ -1047,7 +1036,6 @@ func (c *S3Control) DeleteBucketLifecycleConfigurationRequest(input *DeleteBucke // DeleteBucketLifecycleConfiguration API operation for AWS S3 Control. // -// // This action deletes an Amazon S3 on Outposts bucket's lifecycle configuration. // To delete an S3 bucket's lifecycle configuration, see DeleteBucketLifecycle // (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html) @@ -1078,9 +1066,9 @@ func (c *S3Control) DeleteBucketLifecycleConfigurationRequest(input *DeleteBucke // // Related actions include: // -// * PutBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html) +// - PutBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html) // -// * GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html) +// - GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1126,14 +1114,13 @@ const opDeleteBucketPolicy = "DeleteBucketPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketPolicyRequest method. +// req, resp := client.DeleteBucketPolicyRequest(params) // -// // Example sending a request using the DeleteBucketPolicyRequest method. -// req, resp := client.DeleteBucketPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteBucketPolicy func (c *S3Control) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) (req *request.Request, output *DeleteBucketPolicyOutput) { @@ -1160,7 +1147,6 @@ func (c *S3Control) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) (r // DeleteBucketPolicy API operation for AWS S3 Control. // -// // This action deletes an Amazon S3 on Outposts bucket policy. To delete an // S3 bucket policy, see DeleteBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketPolicy.html) // in the Amazon S3 API Reference. @@ -1196,9 +1182,9 @@ func (c *S3Control) DeleteBucketPolicyRequest(input *DeleteBucketPolicyInput) (r // // The following actions are related to DeleteBucketPolicy: // -// * GetBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html) +// - GetBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html) // -// * PutBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html) +// - PutBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1244,14 +1230,13 @@ const opDeleteBucketTagging = "DeleteBucketTagging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBucketTaggingRequest method. +// req, resp := client.DeleteBucketTaggingRequest(params) // -// // Example sending a request using the DeleteBucketTaggingRequest method. -// req, resp := client.DeleteBucketTaggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteBucketTagging func (c *S3Control) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) (req *request.Request, output *DeleteBucketTaggingOutput) { @@ -1278,7 +1263,6 @@ func (c *S3Control) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) // DeleteBucketTagging API operation for AWS S3 Control. // -// // This action deletes an Amazon S3 on Outposts bucket's tags. To delete an // S3 bucket tags, see DeleteBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html) // in the Amazon S3 API Reference. @@ -1301,9 +1285,9 @@ func (c *S3Control) DeleteBucketTaggingRequest(input *DeleteBucketTaggingInput) // // The following actions are related to DeleteBucketTagging: // -// * GetBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html) +// - GetBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html) // -// * PutBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html) +// - PutBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1349,14 +1333,13 @@ const opDeleteJobTagging = "DeleteJobTagging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteJobTaggingRequest method. +// req, resp := client.DeleteJobTaggingRequest(params) // -// // Example sending a request using the DeleteJobTaggingRequest method. -// req, resp := client.DeleteJobTaggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteJobTagging func (c *S3Control) DeleteJobTaggingRequest(input *DeleteJobTaggingInput) (req *request.Request, output *DeleteJobTaggingOutput) { @@ -1388,11 +1371,11 @@ func (c *S3Control) DeleteJobTaggingRequest(input *DeleteJobTaggingInput) (req * // // Related actions include: // -// * CreateJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html) +// - CreateJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html) // -// * GetJobTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetJobTagging.html) +// - GetJobTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetJobTagging.html) // -// * PutJobTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutJobTagging.html) +// - PutJobTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutJobTagging.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1402,11 +1385,12 @@ func (c *S3Control) DeleteJobTaggingRequest(input *DeleteJobTaggingInput) (req * // API operation DeleteJobTagging for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalServiceException "InternalServiceException" // -// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// - ErrCodeInternalServiceException "InternalServiceException" // -// * ErrCodeNotFoundException "NotFoundException" +// - ErrCodeTooManyRequestsException "TooManyRequestsException" +// +// - ErrCodeNotFoundException "NotFoundException" // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteJobTagging func (c *S3Control) DeleteJobTagging(input *DeleteJobTaggingInput) (*DeleteJobTaggingOutput, error) { @@ -1446,14 +1430,13 @@ const opDeleteMultiRegionAccessPoint = "DeleteMultiRegionAccessPoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMultiRegionAccessPointRequest method. +// req, resp := client.DeleteMultiRegionAccessPointRequest(params) // -// // Example sending a request using the DeleteMultiRegionAccessPointRequest method. -// req, resp := client.DeleteMultiRegionAccessPointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteMultiRegionAccessPoint func (c *S3Control) DeleteMultiRegionAccessPointRequest(input *DeleteMultiRegionAccessPointInput) (req *request.Request, output *DeleteMultiRegionAccessPointOutput) { @@ -1495,13 +1478,13 @@ func (c *S3Control) DeleteMultiRegionAccessPointRequest(input *DeleteMultiRegion // // The following actions are related to DeleteMultiRegionAccessPoint: // -// * CreateMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html) +// - CreateMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html) // -// * DescribeMultiRegionAccessPointOperation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html) +// - DescribeMultiRegionAccessPointOperation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html) // -// * GetMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html) +// - GetMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html) // -// * ListMultiRegionAccessPoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html) +// - ListMultiRegionAccessPoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1547,14 +1530,13 @@ const opDeletePublicAccessBlock = "DeletePublicAccessBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePublicAccessBlockRequest method. +// req, resp := client.DeletePublicAccessBlockRequest(params) // -// // Example sending a request using the DeletePublicAccessBlockRequest method. -// req, resp := client.DeletePublicAccessBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeletePublicAccessBlock func (c *S3Control) DeletePublicAccessBlockRequest(input *DeletePublicAccessBlockInput) (req *request.Request, output *DeletePublicAccessBlockOutput) { @@ -1583,9 +1565,9 @@ func (c *S3Control) DeletePublicAccessBlockRequest(input *DeletePublicAccessBloc // // Related actions include: // -// * GetPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetPublicAccessBlock.html) +// - GetPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetPublicAccessBlock.html) // -// * PutPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutPublicAccessBlock.html) +// - PutPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutPublicAccessBlock.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1631,14 +1613,13 @@ const opDeleteStorageLensConfiguration = "DeleteStorageLensConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStorageLensConfigurationRequest method. +// req, resp := client.DeleteStorageLensConfigurationRequest(params) // -// // Example sending a request using the DeleteStorageLensConfigurationRequest method. -// req, resp := client.DeleteStorageLensConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteStorageLensConfiguration func (c *S3Control) DeleteStorageLensConfigurationRequest(input *DeleteStorageLensConfigurationInput) (req *request.Request, output *DeleteStorageLensConfigurationOutput) { @@ -1716,14 +1697,13 @@ const opDeleteStorageLensConfigurationTagging = "DeleteStorageLensConfigurationT // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStorageLensConfigurationTaggingRequest method. +// req, resp := client.DeleteStorageLensConfigurationTaggingRequest(params) // -// // Example sending a request using the DeleteStorageLensConfigurationTaggingRequest method. -// req, resp := client.DeleteStorageLensConfigurationTaggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DeleteStorageLensConfigurationTagging func (c *S3Control) DeleteStorageLensConfigurationTaggingRequest(input *DeleteStorageLensConfigurationTaggingInput) (req *request.Request, output *DeleteStorageLensConfigurationTaggingOutput) { @@ -1801,14 +1781,13 @@ const opDescribeJob = "DescribeJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobRequest method. +// req, resp := client.DescribeJobRequest(params) // -// // Example sending a request using the DescribeJobRequest method. -// req, resp := client.DescribeJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DescribeJob func (c *S3Control) DescribeJobRequest(input *DescribeJobInput) (req *request.Request, output *DescribeJobOutput) { @@ -1837,13 +1816,13 @@ func (c *S3Control) DescribeJobRequest(input *DescribeJobInput) (req *request.Re // // Related actions include: // -// * CreateJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html) +// - CreateJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html) // -// * ListJobs (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListJobs.html) +// - ListJobs (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListJobs.html) // -// * UpdateJobPriority (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobPriority.html) +// - UpdateJobPriority (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobPriority.html) // -// * UpdateJobStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html) +// - UpdateJobStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1853,13 +1832,14 @@ func (c *S3Control) DescribeJobRequest(input *DescribeJobInput) (req *request.Re // API operation DescribeJob for usage and error information. // // Returned Error Codes: -// * ErrCodeBadRequestException "BadRequestException" // -// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// - ErrCodeBadRequestException "BadRequestException" // -// * ErrCodeNotFoundException "NotFoundException" +// - ErrCodeTooManyRequestsException "TooManyRequestsException" // -// * ErrCodeInternalServiceException "InternalServiceException" +// - ErrCodeNotFoundException "NotFoundException" +// +// - ErrCodeInternalServiceException "InternalServiceException" // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DescribeJob func (c *S3Control) DescribeJob(input *DescribeJobInput) (*DescribeJobOutput, error) { @@ -1899,14 +1879,13 @@ const opDescribeMultiRegionAccessPointOperation = "DescribeMultiRegionAccessPoin // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMultiRegionAccessPointOperationRequest method. +// req, resp := client.DescribeMultiRegionAccessPointOperationRequest(params) // -// // Example sending a request using the DescribeMultiRegionAccessPointOperationRequest method. -// req, resp := client.DescribeMultiRegionAccessPointOperationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/DescribeMultiRegionAccessPointOperation func (c *S3Control) DescribeMultiRegionAccessPointOperationRequest(input *DescribeMultiRegionAccessPointOperationInput) (req *request.Request, output *DescribeMultiRegionAccessPointOperationOutput) { @@ -1941,13 +1920,13 @@ func (c *S3Control) DescribeMultiRegionAccessPointOperationRequest(input *Descri // // The following actions are related to GetMultiRegionAccessPoint: // -// * CreateMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html) +// - CreateMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html) // -// * DeleteMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html) +// - DeleteMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html) // -// * GetMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html) +// - GetMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html) // -// * ListMultiRegionAccessPoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html) +// - ListMultiRegionAccessPoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1993,14 +1972,13 @@ const opGetAccessPoint = "GetAccessPoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccessPointRequest method. +// req, resp := client.GetAccessPointRequest(params) // -// // Example sending a request using the GetAccessPointRequest method. -// req, resp := client.GetAccessPointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPoint func (c *S3Control) GetAccessPointRequest(input *GetAccessPointInput) (req *request.Request, output *GetAccessPointOutput) { @@ -2038,11 +2016,11 @@ func (c *S3Control) GetAccessPointRequest(input *GetAccessPointInput) (req *requ // // The following actions are related to GetAccessPoint: // -// * CreateAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html) +// - CreateAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html) // -// * DeleteAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html) +// - DeleteAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html) // -// * ListAccessPoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPoints.html) +// - ListAccessPoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPoints.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2088,14 +2066,13 @@ const opGetAccessPointConfigurationForObjectLambda = "GetAccessPointConfiguratio // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccessPointConfigurationForObjectLambdaRequest method. +// req, resp := client.GetAccessPointConfigurationForObjectLambdaRequest(params) // -// // Example sending a request using the GetAccessPointConfigurationForObjectLambdaRequest method. -// req, resp := client.GetAccessPointConfigurationForObjectLambdaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointConfigurationForObjectLambda func (c *S3Control) GetAccessPointConfigurationForObjectLambdaRequest(input *GetAccessPointConfigurationForObjectLambdaInput) (req *request.Request, output *GetAccessPointConfigurationForObjectLambdaOutput) { @@ -2122,7 +2099,7 @@ func (c *S3Control) GetAccessPointConfigurationForObjectLambdaRequest(input *Get // // The following actions are related to GetAccessPointConfigurationForObjectLambda: // -// * PutAccessPointConfigurationForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointConfigurationForObjectLambda.html) +// - PutAccessPointConfigurationForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointConfigurationForObjectLambda.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2168,14 +2145,13 @@ const opGetAccessPointForObjectLambda = "GetAccessPointForObjectLambda" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccessPointForObjectLambdaRequest method. +// req, resp := client.GetAccessPointForObjectLambdaRequest(params) // -// // Example sending a request using the GetAccessPointForObjectLambdaRequest method. -// req, resp := client.GetAccessPointForObjectLambdaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointForObjectLambda func (c *S3Control) GetAccessPointForObjectLambdaRequest(input *GetAccessPointForObjectLambdaInput) (req *request.Request, output *GetAccessPointForObjectLambdaOutput) { @@ -2203,11 +2179,11 @@ func (c *S3Control) GetAccessPointForObjectLambdaRequest(input *GetAccessPointFo // // The following actions are related to GetAccessPointForObjectLambda: // -// * CreateAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html) +// - CreateAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html) // -// * DeleteAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html) +// - DeleteAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html) // -// * ListAccessPointsForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html) +// - ListAccessPointsForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListAccessPointsForObjectLambda.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2253,14 +2229,13 @@ const opGetAccessPointPolicy = "GetAccessPointPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccessPointPolicyRequest method. +// req, resp := client.GetAccessPointPolicyRequest(params) // -// // Example sending a request using the GetAccessPointPolicyRequest method. -// req, resp := client.GetAccessPointPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicy func (c *S3Control) GetAccessPointPolicyRequest(input *GetAccessPointPolicyInput) (req *request.Request, output *GetAccessPointPolicyOutput) { @@ -2290,9 +2265,9 @@ func (c *S3Control) GetAccessPointPolicyRequest(input *GetAccessPointPolicyInput // // The following actions are related to GetAccessPointPolicy: // -// * PutAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html) +// - PutAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicy.html) // -// * DeleteAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicy.html) +// - DeleteAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicy.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2338,14 +2313,13 @@ const opGetAccessPointPolicyForObjectLambda = "GetAccessPointPolicyForObjectLamb // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccessPointPolicyForObjectLambdaRequest method. +// req, resp := client.GetAccessPointPolicyForObjectLambdaRequest(params) // -// // Example sending a request using the GetAccessPointPolicyForObjectLambdaRequest method. -// req, resp := client.GetAccessPointPolicyForObjectLambdaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyForObjectLambda func (c *S3Control) GetAccessPointPolicyForObjectLambdaRequest(input *GetAccessPointPolicyForObjectLambdaInput) (req *request.Request, output *GetAccessPointPolicyForObjectLambdaOutput) { @@ -2372,9 +2346,9 @@ func (c *S3Control) GetAccessPointPolicyForObjectLambdaRequest(input *GetAccessP // // The following actions are related to GetAccessPointPolicyForObjectLambda: // -// * DeleteAccessPointPolicyForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html) +// - DeleteAccessPointPolicyForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html) // -// * PutAccessPointPolicyForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicyForObjectLambda.html) +// - PutAccessPointPolicyForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutAccessPointPolicyForObjectLambda.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2420,14 +2394,13 @@ const opGetAccessPointPolicyStatus = "GetAccessPointPolicyStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccessPointPolicyStatusRequest method. +// req, resp := client.GetAccessPointPolicyStatusRequest(params) // -// // Example sending a request using the GetAccessPointPolicyStatusRequest method. -// req, resp := client.GetAccessPointPolicyStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyStatus func (c *S3Control) GetAccessPointPolicyStatusRequest(input *GetAccessPointPolicyStatusInput) (req *request.Request, output *GetAccessPointPolicyStatusOutput) { @@ -2499,14 +2472,13 @@ const opGetAccessPointPolicyStatusForObjectLambda = "GetAccessPointPolicyStatusF // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccessPointPolicyStatusForObjectLambdaRequest method. +// req, resp := client.GetAccessPointPolicyStatusForObjectLambdaRequest(params) // -// // Example sending a request using the GetAccessPointPolicyStatusForObjectLambdaRequest method. -// req, resp := client.GetAccessPointPolicyStatusForObjectLambdaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetAccessPointPolicyStatusForObjectLambda func (c *S3Control) GetAccessPointPolicyStatusForObjectLambdaRequest(input *GetAccessPointPolicyStatusForObjectLambdaInput) (req *request.Request, output *GetAccessPointPolicyStatusForObjectLambdaOutput) { @@ -2576,14 +2548,13 @@ const opGetBucket = "GetBucket" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketRequest method. +// req, resp := client.GetBucketRequest(params) // -// // Example sending a request using the GetBucketRequest method. -// req, resp := client.GetBucketRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucket func (c *S3Control) GetBucketRequest(input *GetBucketInput) (req *request.Request, output *GetBucketOutput) { @@ -2634,11 +2605,11 @@ func (c *S3Control) GetBucketRequest(input *GetBucketInput) (req *request.Reques // point ARN, see the Examples (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html#API_control_GetBucket_Examples) // section. // -// * PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) +// - PutObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html) // -// * CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html) +// - CreateBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html) // -// * DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html) +// - DeleteBucket (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2684,14 +2655,13 @@ const opGetBucketLifecycleConfiguration = "GetBucketLifecycleConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketLifecycleConfigurationRequest method. +// req, resp := client.GetBucketLifecycleConfigurationRequest(params) // -// // Example sending a request using the GetBucketLifecycleConfigurationRequest method. -// req, resp := client.GetBucketLifecycleConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketLifecycleConfiguration func (c *S3Control) GetBucketLifecycleConfigurationRequest(input *GetBucketLifecycleConfigurationInput) (req *request.Request, output *GetBucketLifecycleConfigurationOutput) { @@ -2717,7 +2687,6 @@ func (c *S3Control) GetBucketLifecycleConfigurationRequest(input *GetBucketLifec // GetBucketLifecycleConfiguration API operation for AWS S3 Control. // -// // This action gets an Amazon S3 on Outposts bucket's lifecycle configuration. // To get an S3 bucket's lifecycle configuration, see GetBucketLifecycleConfiguration // (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLifecycleConfiguration.html) @@ -2745,15 +2714,15 @@ func (c *S3Control) GetBucketLifecycleConfigurationRequest(input *GetBucketLifec // // GetBucketLifecycleConfiguration has the following special error: // -// * Error code: NoSuchLifecycleConfiguration Description: The lifecycle -// configuration does not exist. HTTP Status Code: 404 Not Found SOAP Fault -// Code Prefix: Client +// - Error code: NoSuchLifecycleConfiguration Description: The lifecycle +// configuration does not exist. HTTP Status Code: 404 Not Found SOAP Fault +// Code Prefix: Client // // The following actions are related to GetBucketLifecycleConfiguration: // -// * PutBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html) +// - PutBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html) // -// * DeleteBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html) +// - DeleteBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2799,14 +2768,13 @@ const opGetBucketPolicy = "GetBucketPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketPolicyRequest method. +// req, resp := client.GetBucketPolicyRequest(params) // -// // Example sending a request using the GetBucketPolicyRequest method. -// req, resp := client.GetBucketPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketPolicy func (c *S3Control) GetBucketPolicyRequest(input *GetBucketPolicyInput) (req *request.Request, output *GetBucketPolicyOutput) { @@ -2832,7 +2800,6 @@ func (c *S3Control) GetBucketPolicyRequest(input *GetBucketPolicyInput) (req *re // GetBucketPolicy API operation for AWS S3 Control. // -// // This action gets a bucket policy for an Amazon S3 on Outposts bucket. To // get a policy for an S3 bucket, see GetBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicy.html) // in the Amazon S3 API Reference. @@ -2868,11 +2835,11 @@ func (c *S3Control) GetBucketPolicyRequest(input *GetBucketPolicyInput) (req *re // // The following actions are related to GetBucketPolicy: // -// * GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) +// - GetObject (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) // -// * PutBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html) +// - PutBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html) // -// * DeleteBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html) +// - DeleteBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2918,14 +2885,13 @@ const opGetBucketTagging = "GetBucketTagging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBucketTaggingRequest method. +// req, resp := client.GetBucketTaggingRequest(params) // -// // Example sending a request using the GetBucketTaggingRequest method. -// req, resp := client.GetBucketTaggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetBucketTagging func (c *S3Control) GetBucketTaggingRequest(input *GetBucketTaggingInput) (req *request.Request, output *GetBucketTaggingOutput) { @@ -2951,7 +2917,6 @@ func (c *S3Control) GetBucketTaggingRequest(input *GetBucketTaggingInput) (req * // GetBucketTagging API operation for AWS S3 Control. // -// // This action gets an Amazon S3 on Outposts bucket's tags. To get an S3 bucket // tags, see GetBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html) // in the Amazon S3 API Reference. @@ -2966,8 +2931,8 @@ func (c *S3Control) GetBucketTaggingRequest(input *GetBucketTaggingInput) (req * // // GetBucketTagging has the following special error: // -// * Error code: NoSuchTagSetError Description: There is no tag set associated -// with the bucket. +// - Error code: NoSuchTagSetError Description: There is no tag set associated +// with the bucket. // // All Amazon S3 on Outposts REST API requests for this action require an additional // parameter of x-amz-outpost-id to be passed with the request and an S3 on @@ -2979,9 +2944,9 @@ func (c *S3Control) GetBucketTaggingRequest(input *GetBucketTaggingInput) (req * // // The following actions are related to GetBucketTagging: // -// * PutBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html) +// - PutBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html) // -// * DeleteBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html) +// - DeleteBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3027,14 +2992,13 @@ const opGetJobTagging = "GetJobTagging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobTaggingRequest method. +// req, resp := client.GetJobTaggingRequest(params) // -// // Example sending a request using the GetJobTaggingRequest method. -// req, resp := client.GetJobTaggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetJobTagging func (c *S3Control) GetJobTaggingRequest(input *GetJobTaggingInput) (req *request.Request, output *GetJobTaggingOutput) { @@ -3064,11 +3028,11 @@ func (c *S3Control) GetJobTaggingRequest(input *GetJobTaggingInput) (req *reques // // Related actions include: // -// * CreateJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html) +// - CreateJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html) // -// * PutJobTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutJobTagging.html) +// - PutJobTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutJobTagging.html) // -// * DeleteJobTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteJobTagging.html) +// - DeleteJobTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteJobTagging.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3078,11 +3042,12 @@ func (c *S3Control) GetJobTaggingRequest(input *GetJobTaggingInput) (req *reques // API operation GetJobTagging for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalServiceException "InternalServiceException" // -// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// - ErrCodeInternalServiceException "InternalServiceException" +// +// - ErrCodeTooManyRequestsException "TooManyRequestsException" // -// * ErrCodeNotFoundException "NotFoundException" +// - ErrCodeNotFoundException "NotFoundException" // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetJobTagging func (c *S3Control) GetJobTagging(input *GetJobTaggingInput) (*GetJobTaggingOutput, error) { @@ -3122,14 +3087,13 @@ const opGetMultiRegionAccessPoint = "GetMultiRegionAccessPoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMultiRegionAccessPointRequest method. +// req, resp := client.GetMultiRegionAccessPointRequest(params) // -// // Example sending a request using the GetMultiRegionAccessPointRequest method. -// req, resp := client.GetMultiRegionAccessPointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPoint func (c *S3Control) GetMultiRegionAccessPointRequest(input *GetMultiRegionAccessPointInput) (req *request.Request, output *GetMultiRegionAccessPointOutput) { @@ -3166,13 +3130,13 @@ func (c *S3Control) GetMultiRegionAccessPointRequest(input *GetMultiRegionAccess // // The following actions are related to GetMultiRegionAccessPoint: // -// * CreateMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html) +// - CreateMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html) // -// * DeleteMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html) +// - DeleteMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html) // -// * DescribeMultiRegionAccessPointOperation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html) +// - DescribeMultiRegionAccessPointOperation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html) // -// * ListMultiRegionAccessPoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html) +// - ListMultiRegionAccessPoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3218,14 +3182,13 @@ const opGetMultiRegionAccessPointPolicy = "GetMultiRegionAccessPointPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMultiRegionAccessPointPolicyRequest method. +// req, resp := client.GetMultiRegionAccessPointPolicyRequest(params) // -// // Example sending a request using the GetMultiRegionAccessPointPolicyRequest method. -// req, resp := client.GetMultiRegionAccessPointPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointPolicy func (c *S3Control) GetMultiRegionAccessPointPolicyRequest(input *GetMultiRegionAccessPointPolicyInput) (req *request.Request, output *GetMultiRegionAccessPointPolicyOutput) { @@ -3261,9 +3224,9 @@ func (c *S3Control) GetMultiRegionAccessPointPolicyRequest(input *GetMultiRegion // // The following actions are related to GetMultiRegionAccessPointPolicy: // -// * GetMultiRegionAccessPointPolicyStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicyStatus.html) +// - GetMultiRegionAccessPointPolicyStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicyStatus.html) // -// * PutMultiRegionAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutMultiRegionAccessPointPolicy.html) +// - PutMultiRegionAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutMultiRegionAccessPointPolicy.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3309,14 +3272,13 @@ const opGetMultiRegionAccessPointPolicyStatus = "GetMultiRegionAccessPointPolicy // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMultiRegionAccessPointPolicyStatusRequest method. +// req, resp := client.GetMultiRegionAccessPointPolicyStatusRequest(params) // -// // Example sending a request using the GetMultiRegionAccessPointPolicyStatusRequest method. -// req, resp := client.GetMultiRegionAccessPointPolicyStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetMultiRegionAccessPointPolicyStatus func (c *S3Control) GetMultiRegionAccessPointPolicyStatusRequest(input *GetMultiRegionAccessPointPolicyStatusInput) (req *request.Request, output *GetMultiRegionAccessPointPolicyStatusOutput) { @@ -3353,9 +3315,9 @@ func (c *S3Control) GetMultiRegionAccessPointPolicyStatusRequest(input *GetMulti // // The following actions are related to GetMultiRegionAccessPointPolicyStatus: // -// * GetMultiRegionAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicy.html) +// - GetMultiRegionAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicy.html) // -// * PutMultiRegionAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutMultiRegionAccessPointPolicy.html) +// - PutMultiRegionAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutMultiRegionAccessPointPolicy.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3401,14 +3363,13 @@ const opGetPublicAccessBlock = "GetPublicAccessBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPublicAccessBlockRequest method. +// req, resp := client.GetPublicAccessBlockRequest(params) // -// // Example sending a request using the GetPublicAccessBlockRequest method. -// req, resp := client.GetPublicAccessBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetPublicAccessBlock func (c *S3Control) GetPublicAccessBlockRequest(input *GetPublicAccessBlockInput) (req *request.Request, output *GetPublicAccessBlockOutput) { @@ -3436,9 +3397,9 @@ func (c *S3Control) GetPublicAccessBlockRequest(input *GetPublicAccessBlockInput // // Related actions include: // -// * DeletePublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeletePublicAccessBlock.html) +// - DeletePublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeletePublicAccessBlock.html) // -// * PutPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutPublicAccessBlock.html) +// - PutPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutPublicAccessBlock.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3448,9 +3409,9 @@ func (c *S3Control) GetPublicAccessBlockRequest(input *GetPublicAccessBlockInput // API operation GetPublicAccessBlock for usage and error information. // // Returned Error Codes: -// * ErrCodeNoSuchPublicAccessBlockConfiguration "NoSuchPublicAccessBlockConfiguration" -// Amazon S3 throws this exception if you make a GetPublicAccessBlock request -// against an account that doesn't have a PublicAccessBlockConfiguration set. +// - ErrCodeNoSuchPublicAccessBlockConfiguration "NoSuchPublicAccessBlockConfiguration" +// Amazon S3 throws this exception if you make a GetPublicAccessBlock request +// against an account that doesn't have a PublicAccessBlockConfiguration set. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetPublicAccessBlock func (c *S3Control) GetPublicAccessBlock(input *GetPublicAccessBlockInput) (*GetPublicAccessBlockOutput, error) { @@ -3490,14 +3451,13 @@ const opGetStorageLensConfiguration = "GetStorageLensConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStorageLensConfigurationRequest method. +// req, resp := client.GetStorageLensConfigurationRequest(params) // -// // Example sending a request using the GetStorageLensConfigurationRequest method. -// req, resp := client.GetStorageLensConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensConfiguration func (c *S3Control) GetStorageLensConfigurationRequest(input *GetStorageLensConfigurationInput) (req *request.Request, output *GetStorageLensConfigurationOutput) { @@ -3573,14 +3533,13 @@ const opGetStorageLensConfigurationTagging = "GetStorageLensConfigurationTagging // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetStorageLensConfigurationTaggingRequest method. +// req, resp := client.GetStorageLensConfigurationTaggingRequest(params) // -// // Example sending a request using the GetStorageLensConfigurationTaggingRequest method. -// req, resp := client.GetStorageLensConfigurationTaggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/GetStorageLensConfigurationTagging func (c *S3Control) GetStorageLensConfigurationTaggingRequest(input *GetStorageLensConfigurationTaggingInput) (req *request.Request, output *GetStorageLensConfigurationTaggingOutput) { @@ -3657,14 +3616,13 @@ const opListAccessPoints = "ListAccessPoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccessPointsRequest method. +// req, resp := client.ListAccessPointsRequest(params) // -// // Example sending a request using the ListAccessPointsRequest method. -// req, resp := client.ListAccessPointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPoints func (c *S3Control) ListAccessPointsRequest(input *ListAccessPointsInput) (req *request.Request, output *ListAccessPointsOutput) { @@ -3712,11 +3670,11 @@ func (c *S3Control) ListAccessPointsRequest(input *ListAccessPointsInput) (req * // // The following actions are related to ListAccessPoints: // -// * CreateAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html) +// - CreateAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPoint.html) // -// * DeleteAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html) +// - DeleteAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html) // -// * GetAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html) +// - GetAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPoint.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3754,15 +3712,14 @@ func (c *S3Control) ListAccessPointsWithContext(ctx aws.Context, input *ListAcce // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccessPoints operation. -// pageNum := 0 -// err := client.ListAccessPointsPages(params, -// func(page *s3control.ListAccessPointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccessPoints operation. +// pageNum := 0 +// err := client.ListAccessPointsPages(params, +// func(page *s3control.ListAccessPointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *S3Control) ListAccessPointsPages(input *ListAccessPointsInput, fn func(*ListAccessPointsOutput, bool) bool) error { return c.ListAccessPointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3814,14 +3771,13 @@ const opListAccessPointsForObjectLambda = "ListAccessPointsForObjectLambda" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccessPointsForObjectLambdaRequest method. +// req, resp := client.ListAccessPointsForObjectLambdaRequest(params) // -// // Example sending a request using the ListAccessPointsForObjectLambdaRequest method. -// req, resp := client.ListAccessPointsForObjectLambdaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListAccessPointsForObjectLambda func (c *S3Control) ListAccessPointsForObjectLambdaRequest(input *ListAccessPointsForObjectLambdaInput) (req *request.Request, output *ListAccessPointsForObjectLambdaOutput) { @@ -3857,11 +3813,11 @@ func (c *S3Control) ListAccessPointsForObjectLambdaRequest(input *ListAccessPoin // // The following actions are related to ListAccessPointsForObjectLambda: // -// * CreateAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html) +// - CreateAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateAccessPointForObjectLambda.html) // -// * DeleteAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html) +// - DeleteAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointForObjectLambda.html) // -// * GetAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html) +// - GetAccessPointForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointForObjectLambda.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3899,15 +3855,14 @@ func (c *S3Control) ListAccessPointsForObjectLambdaWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccessPointsForObjectLambda operation. -// pageNum := 0 -// err := client.ListAccessPointsForObjectLambdaPages(params, -// func(page *s3control.ListAccessPointsForObjectLambdaOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccessPointsForObjectLambda operation. +// pageNum := 0 +// err := client.ListAccessPointsForObjectLambdaPages(params, +// func(page *s3control.ListAccessPointsForObjectLambdaOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *S3Control) ListAccessPointsForObjectLambdaPages(input *ListAccessPointsForObjectLambdaInput, fn func(*ListAccessPointsForObjectLambdaOutput, bool) bool) error { return c.ListAccessPointsForObjectLambdaPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3959,14 +3914,13 @@ const opListJobs = "ListJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobsRequest method. +// req, resp := client.ListJobsRequest(params) // -// // Example sending a request using the ListJobsRequest method. -// req, resp := client.ListJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListJobs func (c *S3Control) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { @@ -4002,13 +3956,13 @@ func (c *S3Control) ListJobsRequest(input *ListJobsInput) (req *request.Request, // // Related actions include: // -// * CreateJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html) +// - CreateJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html) // -// * DescribeJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeJob.html) +// - DescribeJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeJob.html) // -// * UpdateJobPriority (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobPriority.html) +// - UpdateJobPriority (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobPriority.html) // -// * UpdateJobStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html) +// - UpdateJobStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4018,11 +3972,12 @@ func (c *S3Control) ListJobsRequest(input *ListJobsInput) (req *request.Request, // API operation ListJobs for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidRequestException "InvalidRequestException" // -// * ErrCodeInternalServiceException "InternalServiceException" +// - ErrCodeInvalidRequestException "InvalidRequestException" // -// * ErrCodeInvalidNextTokenException "InvalidNextTokenException" +// - ErrCodeInternalServiceException "InternalServiceException" +// +// - ErrCodeInvalidNextTokenException "InvalidNextTokenException" // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListJobs func (c *S3Control) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { @@ -4054,15 +4009,14 @@ func (c *S3Control) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobs operation. -// pageNum := 0 -// err := client.ListJobsPages(params, -// func(page *s3control.ListJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobs operation. +// pageNum := 0 +// err := client.ListJobsPages(params, +// func(page *s3control.ListJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *S3Control) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error { return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4114,14 +4068,13 @@ const opListMultiRegionAccessPoints = "ListMultiRegionAccessPoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMultiRegionAccessPointsRequest method. +// req, resp := client.ListMultiRegionAccessPointsRequest(params) // -// // Example sending a request using the ListMultiRegionAccessPointsRequest method. -// req, resp := client.ListMultiRegionAccessPointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListMultiRegionAccessPoints func (c *S3Control) ListMultiRegionAccessPointsRequest(input *ListMultiRegionAccessPointsInput) (req *request.Request, output *ListMultiRegionAccessPointsOutput) { @@ -4166,13 +4119,13 @@ func (c *S3Control) ListMultiRegionAccessPointsRequest(input *ListMultiRegionAcc // // The following actions are related to ListMultiRegionAccessPoint: // -// * CreateMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html) +// - CreateMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html) // -// * DeleteMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html) +// - DeleteMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteMultiRegionAccessPoint.html) // -// * DescribeMultiRegionAccessPointOperation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html) +// - DescribeMultiRegionAccessPointOperation (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html) // -// * GetMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html) +// - GetMultiRegionAccessPoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4210,15 +4163,14 @@ func (c *S3Control) ListMultiRegionAccessPointsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMultiRegionAccessPoints operation. -// pageNum := 0 -// err := client.ListMultiRegionAccessPointsPages(params, -// func(page *s3control.ListMultiRegionAccessPointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMultiRegionAccessPoints operation. +// pageNum := 0 +// err := client.ListMultiRegionAccessPointsPages(params, +// func(page *s3control.ListMultiRegionAccessPointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *S3Control) ListMultiRegionAccessPointsPages(input *ListMultiRegionAccessPointsInput, fn func(*ListMultiRegionAccessPointsOutput, bool) bool) error { return c.ListMultiRegionAccessPointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4270,14 +4222,13 @@ const opListRegionalBuckets = "ListRegionalBuckets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRegionalBucketsRequest method. +// req, resp := client.ListRegionalBucketsRequest(params) // -// // Example sending a request using the ListRegionalBucketsRequest method. -// req, resp := client.ListRegionalBucketsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListRegionalBuckets func (c *S3Control) ListRegionalBucketsRequest(input *ListRegionalBucketsInput) (req *request.Request, output *ListRegionalBucketsOutput) { @@ -4352,15 +4303,14 @@ func (c *S3Control) ListRegionalBucketsWithContext(ctx aws.Context, input *ListR // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRegionalBuckets operation. -// pageNum := 0 -// err := client.ListRegionalBucketsPages(params, -// func(page *s3control.ListRegionalBucketsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRegionalBuckets operation. +// pageNum := 0 +// err := client.ListRegionalBucketsPages(params, +// func(page *s3control.ListRegionalBucketsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *S3Control) ListRegionalBucketsPages(input *ListRegionalBucketsInput, fn func(*ListRegionalBucketsOutput, bool) bool) error { return c.ListRegionalBucketsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4412,14 +4362,13 @@ const opListStorageLensConfigurations = "ListStorageLensConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStorageLensConfigurationsRequest method. +// req, resp := client.ListStorageLensConfigurationsRequest(params) // -// // Example sending a request using the ListStorageLensConfigurationsRequest method. -// req, resp := client.ListStorageLensConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/ListStorageLensConfigurations func (c *S3Control) ListStorageLensConfigurationsRequest(input *ListStorageLensConfigurationsInput) (req *request.Request, output *ListStorageLensConfigurationsOutput) { @@ -4494,15 +4443,14 @@ func (c *S3Control) ListStorageLensConfigurationsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStorageLensConfigurations operation. -// pageNum := 0 -// err := client.ListStorageLensConfigurationsPages(params, -// func(page *s3control.ListStorageLensConfigurationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStorageLensConfigurations operation. +// pageNum := 0 +// err := client.ListStorageLensConfigurationsPages(params, +// func(page *s3control.ListStorageLensConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *S3Control) ListStorageLensConfigurationsPages(input *ListStorageLensConfigurationsInput, fn func(*ListStorageLensConfigurationsOutput, bool) bool) error { return c.ListStorageLensConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4554,14 +4502,13 @@ const opPutAccessPointConfigurationForObjectLambda = "PutAccessPointConfiguratio // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAccessPointConfigurationForObjectLambdaRequest method. +// req, resp := client.PutAccessPointConfigurationForObjectLambdaRequest(params) // -// // Example sending a request using the PutAccessPointConfigurationForObjectLambdaRequest method. -// req, resp := client.PutAccessPointConfigurationForObjectLambdaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointConfigurationForObjectLambda func (c *S3Control) PutAccessPointConfigurationForObjectLambdaRequest(input *PutAccessPointConfigurationForObjectLambdaInput) (req *request.Request, output *PutAccessPointConfigurationForObjectLambdaOutput) { @@ -4589,7 +4536,7 @@ func (c *S3Control) PutAccessPointConfigurationForObjectLambdaRequest(input *Put // // The following actions are related to PutAccessPointConfigurationForObjectLambda: // -// * GetAccessPointConfigurationForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointConfigurationForObjectLambda.html) +// - GetAccessPointConfigurationForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointConfigurationForObjectLambda.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4635,14 +4582,13 @@ const opPutAccessPointPolicy = "PutAccessPointPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAccessPointPolicyRequest method. +// req, resp := client.PutAccessPointPolicyRequest(params) // -// // Example sending a request using the PutAccessPointPolicyRequest method. -// req, resp := client.PutAccessPointPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointPolicy func (c *S3Control) PutAccessPointPolicyRequest(input *PutAccessPointPolicyInput) (req *request.Request, output *PutAccessPointPolicyOutput) { @@ -4683,9 +4629,9 @@ func (c *S3Control) PutAccessPointPolicyRequest(input *PutAccessPointPolicyInput // // The following actions are related to PutAccessPointPolicy: // -// * GetAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicy.html) +// - GetAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicy.html) // -// * DeleteAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicy.html) +// - DeleteAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicy.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4731,14 +4677,13 @@ const opPutAccessPointPolicyForObjectLambda = "PutAccessPointPolicyForObjectLamb // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAccessPointPolicyForObjectLambdaRequest method. +// req, resp := client.PutAccessPointPolicyForObjectLambdaRequest(params) // -// // Example sending a request using the PutAccessPointPolicyForObjectLambdaRequest method. -// req, resp := client.PutAccessPointPolicyForObjectLambdaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutAccessPointPolicyForObjectLambda func (c *S3Control) PutAccessPointPolicyForObjectLambdaRequest(input *PutAccessPointPolicyForObjectLambdaInput) (req *request.Request, output *PutAccessPointPolicyForObjectLambdaOutput) { @@ -4768,9 +4713,9 @@ func (c *S3Control) PutAccessPointPolicyForObjectLambdaRequest(input *PutAccessP // // The following actions are related to PutAccessPointPolicyForObjectLambda: // -// * DeleteAccessPointPolicyForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html) +// - DeleteAccessPointPolicyForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html) // -// * GetAccessPointPolicyForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicyForObjectLambda.html) +// - GetAccessPointPolicyForObjectLambda (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicyForObjectLambda.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4816,14 +4761,13 @@ const opPutBucketLifecycleConfiguration = "PutBucketLifecycleConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketLifecycleConfigurationRequest method. +// req, resp := client.PutBucketLifecycleConfigurationRequest(params) // -// // Example sending a request using the PutBucketLifecycleConfigurationRequest method. -// req, resp := client.PutBucketLifecycleConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketLifecycleConfiguration func (c *S3Control) PutBucketLifecycleConfigurationRequest(input *PutBucketLifecycleConfigurationInput) (req *request.Request, output *PutBucketLifecycleConfigurationOutput) { @@ -4854,7 +4798,6 @@ func (c *S3Control) PutBucketLifecycleConfigurationRequest(input *PutBucketLifec // PutBucketLifecycleConfiguration API operation for AWS S3 Control. // -// // This action puts a lifecycle configuration to an Amazon S3 on Outposts bucket. // To put a lifecycle configuration to an S3 bucket, see PutBucketLifecycleConfiguration // (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html) @@ -4875,9 +4818,9 @@ func (c *S3Control) PutBucketLifecycleConfigurationRequest(input *PutBucketLifec // // The following actions are related to PutBucketLifecycleConfiguration: // -// * GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html) +// - GetBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html) // -// * DeleteBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html) +// - DeleteBucketLifecycleConfiguration (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4923,14 +4866,13 @@ const opPutBucketPolicy = "PutBucketPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketPolicyRequest method. +// req, resp := client.PutBucketPolicyRequest(params) // -// // Example sending a request using the PutBucketPolicyRequest method. -// req, resp := client.PutBucketPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketPolicy func (c *S3Control) PutBucketPolicyRequest(input *PutBucketPolicyInput) (req *request.Request, output *PutBucketPolicyOutput) { @@ -4961,7 +4903,6 @@ func (c *S3Control) PutBucketPolicyRequest(input *PutBucketPolicyInput) (req *re // PutBucketPolicy API operation for AWS S3 Control. // -// // This action puts a bucket policy to an Amazon S3 on Outposts bucket. To put // a policy on an S3 bucket, see PutBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketPolicy.html) // in the Amazon S3 API Reference. @@ -4997,9 +4938,9 @@ func (c *S3Control) PutBucketPolicyRequest(input *PutBucketPolicyInput) (req *re // // The following actions are related to PutBucketPolicy: // -// * GetBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html) +// - GetBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html) // -// * DeleteBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html) +// - DeleteBucketPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5045,14 +4986,13 @@ const opPutBucketTagging = "PutBucketTagging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutBucketTaggingRequest method. +// req, resp := client.PutBucketTaggingRequest(params) // -// // Example sending a request using the PutBucketTaggingRequest method. -// req, resp := client.PutBucketTaggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutBucketTagging func (c *S3Control) PutBucketTaggingRequest(input *PutBucketTaggingInput) (req *request.Request, output *PutBucketTaggingOutput) { @@ -5083,7 +5023,6 @@ func (c *S3Control) PutBucketTaggingRequest(input *PutBucketTaggingInput) (req * // PutBucketTagging API operation for AWS S3 Control. // -// // This action puts tags on an Amazon S3 on Outposts bucket. To put tags on // an S3 bucket, see PutBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html) // in the Amazon S3 API Reference. @@ -5113,20 +5052,20 @@ func (c *S3Control) PutBucketTaggingRequest(input *PutBucketTaggingInput) (req * // // PutBucketTagging has the following special errors: // -// * Error code: InvalidTagError Description: The tag provided was not a -// valid tag. This error can occur if the tag did not pass input validation. -// For information about tag restrictions, see User-Defined Tag Restrictions -// (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html) -// and Amazon Web Services-Generated Cost Allocation Tag Restrictions (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/aws-tag-restrictions.html). +// - Error code: InvalidTagError Description: The tag provided was not a +// valid tag. This error can occur if the tag did not pass input validation. +// For information about tag restrictions, see User-Defined Tag Restrictions +// (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html) +// and Amazon Web Services-Generated Cost Allocation Tag Restrictions (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/aws-tag-restrictions.html). // -// * Error code: MalformedXMLError Description: The XML provided does not -// match the schema. +// - Error code: MalformedXMLError Description: The XML provided does not +// match the schema. // -// * Error code: OperationAbortedError Description: A conflicting conditional -// action is currently in progress against this resource. Try again. +// - Error code: OperationAbortedError Description: A conflicting conditional +// action is currently in progress against this resource. Try again. // -// * Error code: InternalError Description: The service was unable to apply -// the provided tag to the bucket. +// - Error code: InternalError Description: The service was unable to apply +// the provided tag to the bucket. // // All Amazon S3 on Outposts REST API requests for this action require an additional // parameter of x-amz-outpost-id to be passed with the request and an S3 on @@ -5138,9 +5077,9 @@ func (c *S3Control) PutBucketTaggingRequest(input *PutBucketTaggingInput) (req * // // The following actions are related to PutBucketTagging: // -// * GetBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html) +// - GetBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html) // -// * DeleteBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html) +// - DeleteBucketTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5186,14 +5125,13 @@ const opPutJobTagging = "PutJobTagging" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutJobTaggingRequest method. +// req, resp := client.PutJobTaggingRequest(params) // -// // Example sending a request using the PutJobTaggingRequest method. -// req, resp := client.PutJobTaggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutJobTagging func (c *S3Control) PutJobTaggingRequest(input *PutJobTaggingInput) (req *request.Request, output *PutJobTaggingOutput) { @@ -5229,35 +5167,35 @@ func (c *S3Control) PutJobTaggingRequest(input *PutJobTaggingInput) (req *reques // jobs using tags (https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-managing-jobs.html#batch-ops-job-tags) // in the Amazon S3 User Guide. // -// * If you send this request with an empty tag set, Amazon S3 deletes the -// existing tag set on the Batch Operations job. If you use this method, -// you are charged for a Tier 1 Request (PUT). For more information, see -// Amazon S3 pricing (http://aws.amazon.com/s3/pricing/). -// -// * For deleting existing tags for your Batch Operations job, a DeleteJobTagging -// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteJobTagging.html) -// request is preferred because it achieves the same result without incurring -// charges. -// -// * A few things to consider about using tags: Amazon S3 limits the maximum -// number of tags to 50 tags per job. You can associate up to 50 tags with -// a job as long as they have unique tag keys. A tag key can be up to 128 -// Unicode characters in length, and tag values can be up to 256 Unicode -// characters in length. The key and values are case sensitive. For tagging-related -// restrictions related to characters and encodings, see User-Defined Tag -// Restrictions (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html) -// in the Billing and Cost Management User Guide. +// - If you send this request with an empty tag set, Amazon S3 deletes the +// existing tag set on the Batch Operations job. If you use this method, +// you are charged for a Tier 1 Request (PUT). For more information, see +// Amazon S3 pricing (http://aws.amazon.com/s3/pricing/). +// +// - For deleting existing tags for your Batch Operations job, a DeleteJobTagging +// (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteJobTagging.html) +// request is preferred because it achieves the same result without incurring +// charges. +// +// - A few things to consider about using tags: Amazon S3 limits the maximum +// number of tags to 50 tags per job. You can associate up to 50 tags with +// a job as long as they have unique tag keys. A tag key can be up to 128 +// Unicode characters in length, and tag values can be up to 256 Unicode +// characters in length. The key and values are case sensitive. For tagging-related +// restrictions related to characters and encodings, see User-Defined Tag +// Restrictions (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html) +// in the Billing and Cost Management User Guide. // // To use this action, you must have permission to perform the s3:PutJobTagging // action. // // Related actions include: // -// * CreateJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html) +// - CreateJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html) // -// * GetJobTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetJobTagging.html) +// - GetJobTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetJobTagging.html) // -// * DeleteJobTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteJobTagging.html) +// - DeleteJobTagging (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteJobTagging.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5267,14 +5205,15 @@ func (c *S3Control) PutJobTaggingRequest(input *PutJobTaggingInput) (req *reques // API operation PutJobTagging for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalServiceException "InternalServiceException" // -// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// - ErrCodeInternalServiceException "InternalServiceException" +// +// - ErrCodeTooManyRequestsException "TooManyRequestsException" // -// * ErrCodeNotFoundException "NotFoundException" +// - ErrCodeNotFoundException "NotFoundException" // -// * ErrCodeTooManyTagsException "TooManyTagsException" -// Amazon S3 throws this exception if you have too many tags in your tag set. +// - ErrCodeTooManyTagsException "TooManyTagsException" +// Amazon S3 throws this exception if you have too many tags in your tag set. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutJobTagging func (c *S3Control) PutJobTagging(input *PutJobTaggingInput) (*PutJobTaggingOutput, error) { @@ -5314,14 +5253,13 @@ const opPutMultiRegionAccessPointPolicy = "PutMultiRegionAccessPointPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutMultiRegionAccessPointPolicyRequest method. +// req, resp := client.PutMultiRegionAccessPointPolicyRequest(params) // -// // Example sending a request using the PutMultiRegionAccessPointPolicyRequest method. -// req, resp := client.PutMultiRegionAccessPointPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutMultiRegionAccessPointPolicy func (c *S3Control) PutMultiRegionAccessPointPolicyRequest(input *PutMultiRegionAccessPointPolicyInput) (req *request.Request, output *PutMultiRegionAccessPointPolicyOutput) { @@ -5360,9 +5298,9 @@ func (c *S3Control) PutMultiRegionAccessPointPolicyRequest(input *PutMultiRegion // // The following actions are related to PutMultiRegionAccessPointPolicy: // -// * GetMultiRegionAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicy.html) +// - GetMultiRegionAccessPointPolicy (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicy.html) // -// * GetMultiRegionAccessPointPolicyStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicyStatus.html) +// - GetMultiRegionAccessPointPolicyStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPointPolicyStatus.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5408,14 +5346,13 @@ const opPutPublicAccessBlock = "PutPublicAccessBlock" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPublicAccessBlockRequest method. +// req, resp := client.PutPublicAccessBlockRequest(params) // -// // Example sending a request using the PutPublicAccessBlockRequest method. -// req, resp := client.PutPublicAccessBlockRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutPublicAccessBlock func (c *S3Control) PutPublicAccessBlockRequest(input *PutPublicAccessBlockInput) (req *request.Request, output *PutPublicAccessBlockOutput) { @@ -5446,9 +5383,9 @@ func (c *S3Control) PutPublicAccessBlockRequest(input *PutPublicAccessBlockInput // // Related actions include: // -// * GetPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetPublicAccessBlock.html) +// - GetPublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetPublicAccessBlock.html) // -// * DeletePublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeletePublicAccessBlock.html) +// - DeletePublicAccessBlock (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeletePublicAccessBlock.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5494,14 +5431,13 @@ const opPutStorageLensConfiguration = "PutStorageLensConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutStorageLensConfigurationRequest method. +// req, resp := client.PutStorageLensConfigurationRequest(params) // -// // Example sending a request using the PutStorageLensConfigurationRequest method. -// req, resp := client.PutStorageLensConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutStorageLensConfiguration func (c *S3Control) PutStorageLensConfigurationRequest(input *PutStorageLensConfigurationInput) (req *request.Request, output *PutStorageLensConfigurationOutput) { @@ -5578,14 +5514,13 @@ const opPutStorageLensConfigurationTagging = "PutStorageLensConfigurationTagging // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutStorageLensConfigurationTaggingRequest method. +// req, resp := client.PutStorageLensConfigurationTaggingRequest(params) // -// // Example sending a request using the PutStorageLensConfigurationTaggingRequest method. -// req, resp := client.PutStorageLensConfigurationTaggingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/PutStorageLensConfigurationTagging func (c *S3Control) PutStorageLensConfigurationTaggingRequest(input *PutStorageLensConfigurationTaggingInput) (req *request.Request, output *PutStorageLensConfigurationTaggingOutput) { @@ -5663,14 +5598,13 @@ const opUpdateJobPriority = "UpdateJobPriority" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateJobPriorityRequest method. +// req, resp := client.UpdateJobPriorityRequest(params) // -// // Example sending a request using the UpdateJobPriorityRequest method. -// req, resp := client.UpdateJobPriorityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UpdateJobPriority func (c *S3Control) UpdateJobPriorityRequest(input *UpdateJobPriorityInput) (req *request.Request, output *UpdateJobPriorityOutput) { @@ -5699,13 +5633,13 @@ func (c *S3Control) UpdateJobPriorityRequest(input *UpdateJobPriorityInput) (req // // Related actions include: // -// * CreateJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html) +// - CreateJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html) // -// * ListJobs (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListJobs.html) +// - ListJobs (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListJobs.html) // -// * DescribeJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeJob.html) +// - DescribeJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeJob.html) // -// * UpdateJobStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html) +// - UpdateJobStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5715,13 +5649,14 @@ func (c *S3Control) UpdateJobPriorityRequest(input *UpdateJobPriorityInput) (req // API operation UpdateJobPriority for usage and error information. // // Returned Error Codes: -// * ErrCodeBadRequestException "BadRequestException" // -// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// - ErrCodeBadRequestException "BadRequestException" +// +// - ErrCodeTooManyRequestsException "TooManyRequestsException" // -// * ErrCodeNotFoundException "NotFoundException" +// - ErrCodeNotFoundException "NotFoundException" // -// * ErrCodeInternalServiceException "InternalServiceException" +// - ErrCodeInternalServiceException "InternalServiceException" // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UpdateJobPriority func (c *S3Control) UpdateJobPriority(input *UpdateJobPriorityInput) (*UpdateJobPriorityOutput, error) { @@ -5761,14 +5696,13 @@ const opUpdateJobStatus = "UpdateJobStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateJobStatusRequest method. +// req, resp := client.UpdateJobStatusRequest(params) // -// // Example sending a request using the UpdateJobStatusRequest method. -// req, resp := client.UpdateJobStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UpdateJobStatus func (c *S3Control) UpdateJobStatusRequest(input *UpdateJobStatusInput) (req *request.Request, output *UpdateJobStatusOutput) { @@ -5798,13 +5732,13 @@ func (c *S3Control) UpdateJobStatusRequest(input *UpdateJobStatusInput) (req *re // // Related actions include: // -// * CreateJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html) +// - CreateJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html) // -// * ListJobs (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListJobs.html) +// - ListJobs (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListJobs.html) // -// * DescribeJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeJob.html) +// - DescribeJob (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeJob.html) // -// * UpdateJobStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html) +// - UpdateJobStatus (https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_UpdateJobStatus.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5814,15 +5748,16 @@ func (c *S3Control) UpdateJobStatusRequest(input *UpdateJobStatusInput) (req *re // API operation UpdateJobStatus for usage and error information. // // Returned Error Codes: -// * ErrCodeBadRequestException "BadRequestException" // -// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// - ErrCodeBadRequestException "BadRequestException" +// +// - ErrCodeTooManyRequestsException "TooManyRequestsException" // -// * ErrCodeNotFoundException "NotFoundException" +// - ErrCodeNotFoundException "NotFoundException" // -// * ErrCodeJobStatusException "JobStatusException" +// - ErrCodeJobStatusException "JobStatusException" // -// * ErrCodeInternalServiceException "InternalServiceException" +// - ErrCodeInternalServiceException "InternalServiceException" // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3control-2018-08-20/UpdateJobStatus func (c *S3Control) UpdateJobStatus(input *UpdateJobStatusInput) (*UpdateJobStatusOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/doc.go index e44948eb5937..0f4865b3401f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/doc.go @@ -11,7 +11,7 @@ // See s3control package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/s3control/ // -// Using the Client +// # Using the Client // // To contact AWS S3 Control with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/endpoint_builder.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/endpoint_builder.go index b5ee02476840..e216850ae83f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/endpoint_builder.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/endpoint_builder.go @@ -35,7 +35,6 @@ type outpostAccessPointEndpointBuilder arn.OutpostAccessPointARN // - example : s3-outposts.us-west-2.amazonaws.com // // Outpost AccessPoint Endpoint request are signed using "s3-outposts" as signing name. -// func (o outpostAccessPointEndpointBuilder) build(req *request.Request) error { resolveRegion := o.Region resolveService := o.Service @@ -93,7 +92,6 @@ type outpostBucketResourceEndpointBuilder arn.OutpostBucketARN // - example : s3-outposts.us-west-2.amazonaws.com // // Outpost bucket arn endpoint request are signed using "s3-outposts" as signing name -// func (o outpostBucketResourceEndpointBuilder) build(req *request.Request) error { resolveService := arn.OutpostBucketARN(o).Service resolveRegion := arn.OutpostBucketARN(o).Region diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/s3controliface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/s3controliface/interface.go index 7b5ad5beafc1..0f17886884a3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/s3controliface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/s3controliface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS S3 Control. -// func myFunc(svc s3controliface.S3ControlAPI) bool { -// // Make svc.CreateAccessPoint request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS S3 Control. +// func myFunc(svc s3controliface.S3ControlAPI) bool { +// // Make svc.CreateAccessPoint request +// } // -// func main() { -// sess := session.New() -// svc := s3control.New(sess) +// func main() { +// sess := session.New() +// svc := s3control.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockS3ControlClient struct { -// s3controliface.S3ControlAPI -// } -// func (m *mockS3ControlClient) CreateAccessPoint(input *s3control.CreateAccessPointInput) (*s3control.CreateAccessPointOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockS3ControlClient struct { +// s3controliface.S3ControlAPI +// } +// func (m *mockS3ControlClient) CreateAccessPoint(input *s3control.CreateAccessPointInput) (*s3control.CreateAccessPointOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockS3ControlClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockS3ControlClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/service.go index 2520f3e3e815..5c9ed5342e0e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3control/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a S3Control client from just a session. -// svc := s3control.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a S3Control client with additional configuration -// svc := s3control.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a S3Control client from just a session. +// svc := s3control.New(mySession) +// +// // Create a S3Control client with additional configuration +// svc := s3control.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *S3Control { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/api.go index ffb6f0ea275d..92d4f1186192 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/api.go @@ -29,14 +29,13 @@ const opCreateEndpoint = "CreateEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEndpointRequest method. +// req, resp := client.CreateEndpointRequest(params) // -// // Example sending a request using the CreateEndpointRequest method. -// req, resp := client.CreateEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/CreateEndpoint func (c *S3Outposts) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput) { @@ -63,9 +62,9 @@ func (c *S3Outposts) CreateEndpointRequest(input *CreateEndpointInput) (req *req // // Related actions include: // -// * DeleteEndpoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html) +// - DeleteEndpoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html) // -// * ListEndpoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html) +// - ListEndpoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -75,20 +74,21 @@ func (c *S3Outposts) CreateEndpointRequest(input *CreateEndpointInput) (req *req // API operation CreateEndpoint for usage and error information. // // Returned Error Types: -// * InternalServerException -// There was an exception with the internal server. // -// * ValidationException -// There was an exception validating this data. +// - InternalServerException +// There was an exception with the internal server. +// +// - ValidationException +// There was an exception validating this data. // -// * AccessDeniedException -// Access was denied for this action. +// - AccessDeniedException +// Access was denied for this action. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * ConflictException -// There was a conflict with this action, and it could not be completed. +// - ConflictException +// There was a conflict with this action, and it could not be completed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/CreateEndpoint func (c *S3Outposts) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error) { @@ -128,14 +128,13 @@ const opDeleteEndpoint = "DeleteEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEndpointRequest method. +// req, resp := client.DeleteEndpointRequest(params) // -// // Example sending a request using the DeleteEndpointRequest method. -// req, resp := client.DeleteEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/DeleteEndpoint func (c *S3Outposts) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) { @@ -163,9 +162,9 @@ func (c *S3Outposts) DeleteEndpointRequest(input *DeleteEndpointInput) (req *req // // Related actions include: // -// * CreateEndpoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html) +// - CreateEndpoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html) // -// * ListEndpoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html) +// - ListEndpoints (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_ListEndpoints.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -175,17 +174,18 @@ func (c *S3Outposts) DeleteEndpointRequest(input *DeleteEndpointInput) (req *req // API operation DeleteEndpoint for usage and error information. // // Returned Error Types: -// * InternalServerException -// There was an exception with the internal server. // -// * AccessDeniedException -// Access was denied for this action. +// - InternalServerException +// There was an exception with the internal server. // -// * ResourceNotFoundException -// The requested resource was not found. +// - AccessDeniedException +// Access was denied for this action. // -// * ValidationException -// There was an exception validating this data. +// - ResourceNotFoundException +// The requested resource was not found. +// +// - ValidationException +// There was an exception validating this data. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/DeleteEndpoint func (c *S3Outposts) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) { @@ -225,14 +225,13 @@ const opListEndpoints = "ListEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEndpointsRequest method. +// req, resp := client.ListEndpointsRequest(params) // -// // Example sending a request using the ListEndpointsRequest method. -// req, resp := client.ListEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListEndpoints func (c *S3Outposts) ListEndpointsRequest(input *ListEndpointsInput) (req *request.Request, output *ListEndpointsOutput) { @@ -263,9 +262,9 @@ func (c *S3Outposts) ListEndpointsRequest(input *ListEndpointsInput) (req *reque // // Related actions include: // -// * CreateEndpoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html) +// - CreateEndpoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html) // -// * DeleteEndpoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html) +// - DeleteEndpoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -275,17 +274,18 @@ func (c *S3Outposts) ListEndpointsRequest(input *ListEndpointsInput) (req *reque // API operation ListEndpoints for usage and error information. // // Returned Error Types: -// * InternalServerException -// There was an exception with the internal server. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InternalServerException +// There was an exception with the internal server. // -// * AccessDeniedException -// Access was denied for this action. +// - ResourceNotFoundException +// The requested resource was not found. // -// * ValidationException -// There was an exception validating this data. +// - AccessDeniedException +// Access was denied for this action. +// +// - ValidationException +// There was an exception validating this data. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListEndpoints func (c *S3Outposts) ListEndpoints(input *ListEndpointsInput) (*ListEndpointsOutput, error) { @@ -317,15 +317,14 @@ func (c *S3Outposts) ListEndpointsWithContext(ctx aws.Context, input *ListEndpoi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEndpoints operation. -// pageNum := 0 -// err := client.ListEndpointsPages(params, -// func(page *s3outposts.ListEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEndpoints operation. +// pageNum := 0 +// err := client.ListEndpointsPages(params, +// func(page *s3outposts.ListEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *S3Outposts) ListEndpointsPages(input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool) error { return c.ListEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -377,14 +376,13 @@ const opListSharedEndpoints = "ListSharedEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSharedEndpointsRequest method. +// req, resp := client.ListSharedEndpointsRequest(params) // -// // Example sending a request using the ListSharedEndpointsRequest method. -// req, resp := client.ListSharedEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListSharedEndpoints func (c *S3Outposts) ListSharedEndpointsRequest(input *ListSharedEndpointsInput) (req *request.Request, output *ListSharedEndpointsOutput) { @@ -416,9 +414,9 @@ func (c *S3Outposts) ListSharedEndpointsRequest(input *ListSharedEndpointsInput) // // Related actions include: // -// * CreateEndpoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html) +// - CreateEndpoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_CreateEndpoint.html) // -// * DeleteEndpoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html) +// - DeleteEndpoint (https://docs.aws.amazon.com/AmazonS3/latest/API/API_s3outposts_DeleteEndpoint.html) // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -428,17 +426,18 @@ func (c *S3Outposts) ListSharedEndpointsRequest(input *ListSharedEndpointsInput) // API operation ListSharedEndpoints for usage and error information. // // Returned Error Types: -// * InternalServerException -// There was an exception with the internal server. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InternalServerException +// There was an exception with the internal server. // -// * AccessDeniedException -// Access was denied for this action. +// - ResourceNotFoundException +// The requested resource was not found. // -// * ValidationException -// There was an exception validating this data. +// - AccessDeniedException +// Access was denied for this action. +// +// - ValidationException +// There was an exception validating this data. // // See also, https://docs.aws.amazon.com/goto/WebAPI/s3outposts-2017-07-25/ListSharedEndpoints func (c *S3Outposts) ListSharedEndpoints(input *ListSharedEndpointsInput) (*ListSharedEndpointsOutput, error) { @@ -470,15 +469,14 @@ func (c *S3Outposts) ListSharedEndpointsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSharedEndpoints operation. -// pageNum := 0 -// err := client.ListSharedEndpointsPages(params, -// func(page *s3outposts.ListSharedEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSharedEndpoints operation. +// pageNum := 0 +// err := client.ListSharedEndpointsPages(params, +// func(page *s3outposts.ListSharedEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *S3Outposts) ListSharedEndpointsPages(input *ListSharedEndpointsInput, fn func(*ListSharedEndpointsOutput, bool) bool) error { return c.ListSharedEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/doc.go index d0e994d61f6e..aea76debde61 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/doc.go @@ -10,7 +10,7 @@ // See s3outposts package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/s3outposts/ // -// Using the Client +// # Using the Client // // To contact Amazon S3 on Outposts with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/s3outpostsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/s3outpostsiface/interface.go index 491ebd320774..8d319bb478ba 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/s3outpostsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/s3outpostsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon S3 on Outposts. -// func myFunc(svc s3outpostsiface.S3OutpostsAPI) bool { -// // Make svc.CreateEndpoint request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon S3 on Outposts. +// func myFunc(svc s3outpostsiface.S3OutpostsAPI) bool { +// // Make svc.CreateEndpoint request +// } // -// func main() { -// sess := session.New() -// svc := s3outposts.New(sess) +// func main() { +// sess := session.New() +// svc := s3outposts.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockS3OutpostsClient struct { -// s3outpostsiface.S3OutpostsAPI -// } -// func (m *mockS3OutpostsClient) CreateEndpoint(input *s3outposts.CreateEndpointInput) (*s3outposts.CreateEndpointOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockS3OutpostsClient struct { +// s3outpostsiface.S3OutpostsAPI +// } +// func (m *mockS3OutpostsClient) CreateEndpoint(input *s3outposts.CreateEndpointInput) (*s3outposts.CreateEndpointOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockS3OutpostsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockS3OutpostsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/service.go index e0335bff40fb..c3399eb7c2e6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/s3outposts/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a S3Outposts client from just a session. -// svc := s3outposts.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a S3Outposts client with additional configuration -// svc := s3outposts.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a S3Outposts client from just a session. +// svc := s3outposts.New(mySession) +// +// // Create a S3Outposts client with additional configuration +// svc := s3outposts.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *S3Outposts { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/api.go index 50095e45f85a..4987aa9d1e75 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/api.go @@ -29,14 +29,13 @@ const opAddAssociation = "AddAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddAssociationRequest method. +// req, resp := client.AddAssociationRequest(params) // -// // Example sending a request using the AddAssociationRequest method. -// req, resp := client.AddAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddAssociation func (c *SageMaker) AddAssociationRequest(input *AddAssociationInput) (req *request.Request, output *AddAssociationOutput) { @@ -70,12 +69,13 @@ func (c *SageMaker) AddAssociationRequest(input *AddAssociationInput) (req *requ // API operation AddAssociation for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceNotFound +// Resource being access is not found. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddAssociation func (c *SageMaker) AddAssociation(input *AddAssociationInput) (*AddAssociationOutput, error) { @@ -115,14 +115,13 @@ const opAddTags = "AddTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsRequest method. +// req, resp := client.AddTagsRequest(params) // -// // Example sending a request using the AddTagsRequest method. -// req, resp := client.AddTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddTags func (c *SageMaker) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) { @@ -213,14 +212,13 @@ const opAssociateTrialComponent = "AssociateTrialComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateTrialComponentRequest method. +// req, resp := client.AssociateTrialComponentRequest(params) // -// // Example sending a request using the AssociateTrialComponentRequest method. -// req, resp := client.AssociateTrialComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AssociateTrialComponent func (c *SageMaker) AssociateTrialComponentRequest(input *AssociateTrialComponentInput) (req *request.Request, output *AssociateTrialComponentOutput) { @@ -253,12 +251,13 @@ func (c *SageMaker) AssociateTrialComponentRequest(input *AssociateTrialComponen // API operation AssociateTrialComponent for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceNotFound +// Resource being access is not found. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AssociateTrialComponent func (c *SageMaker) AssociateTrialComponent(input *AssociateTrialComponentInput) (*AssociateTrialComponentOutput, error) { @@ -298,14 +297,13 @@ const opBatchDescribeModelPackage = "BatchDescribeModelPackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDescribeModelPackageRequest method. +// req, resp := client.BatchDescribeModelPackageRequest(params) // -// // Example sending a request using the BatchDescribeModelPackageRequest method. -// req, resp := client.BatchDescribeModelPackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/BatchDescribeModelPackage func (c *SageMaker) BatchDescribeModelPackageRequest(input *BatchDescribeModelPackageInput) (req *request.Request, output *BatchDescribeModelPackageOutput) { @@ -326,7 +324,7 @@ func (c *SageMaker) BatchDescribeModelPackageRequest(input *BatchDescribeModelPa // BatchDescribeModelPackage API operation for Amazon SageMaker Service. // -// This action batch describes a list of versioned model packages +// # This action batch describes a list of versioned model packages // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -372,14 +370,13 @@ const opCreateAction = "CreateAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateActionRequest method. +// req, resp := client.CreateActionRequest(params) // -// // Example sending a request using the CreateActionRequest method. -// req, resp := client.CreateActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAction func (c *SageMaker) CreateActionRequest(input *CreateActionInput) (req *request.Request, output *CreateActionOutput) { @@ -413,9 +410,9 @@ func (c *SageMaker) CreateActionRequest(input *CreateActionInput) (req *request. // API operation CreateAction for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAction func (c *SageMaker) CreateAction(input *CreateActionInput) (*CreateActionOutput, error) { @@ -455,14 +452,13 @@ const opCreateAlgorithm = "CreateAlgorithm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAlgorithmRequest method. +// req, resp := client.CreateAlgorithmRequest(params) // -// // Example sending a request using the CreateAlgorithmRequest method. -// req, resp := client.CreateAlgorithmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAlgorithm func (c *SageMaker) CreateAlgorithmRequest(input *CreateAlgorithmInput) (req *request.Request, output *CreateAlgorithmOutput) { @@ -530,14 +526,13 @@ const opCreateApp = "CreateApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppRequest method. +// req, resp := client.CreateAppRequest(params) // -// // Example sending a request using the CreateAppRequest method. -// req, resp := client.CreateAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateApp func (c *SageMaker) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput) { @@ -571,12 +566,13 @@ func (c *SageMaker) CreateAppRequest(input *CreateAppInput) (req *request.Reques // API operation CreateApp for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. // -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateApp func (c *SageMaker) CreateApp(input *CreateAppInput) (*CreateAppOutput, error) { @@ -616,14 +612,13 @@ const opCreateAppImageConfig = "CreateAppImageConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppImageConfigRequest method. +// req, resp := client.CreateAppImageConfigRequest(params) // -// // Example sending a request using the CreateAppImageConfigRequest method. -// req, resp := client.CreateAppImageConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAppImageConfig func (c *SageMaker) CreateAppImageConfigRequest(input *CreateAppImageConfigInput) (req *request.Request, output *CreateAppImageConfigOutput) { @@ -656,8 +651,8 @@ func (c *SageMaker) CreateAppImageConfigRequest(input *CreateAppImageConfigInput // API operation CreateAppImageConfig for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAppImageConfig func (c *SageMaker) CreateAppImageConfig(input *CreateAppImageConfigInput) (*CreateAppImageConfigOutput, error) { @@ -697,14 +692,13 @@ const opCreateArtifact = "CreateArtifact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateArtifactRequest method. +// req, resp := client.CreateArtifactRequest(params) // -// // Example sending a request using the CreateArtifactRequest method. -// req, resp := client.CreateArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateArtifact func (c *SageMaker) CreateArtifactRequest(input *CreateArtifactInput) (req *request.Request, output *CreateArtifactOutput) { @@ -738,9 +732,9 @@ func (c *SageMaker) CreateArtifactRequest(input *CreateArtifactInput) (req *requ // API operation CreateArtifact for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateArtifact func (c *SageMaker) CreateArtifact(input *CreateArtifactInput) (*CreateArtifactOutput, error) { @@ -780,14 +774,13 @@ const opCreateAutoMLJob = "CreateAutoMLJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAutoMLJobRequest method. +// req, resp := client.CreateAutoMLJobRequest(params) // -// // Example sending a request using the CreateAutoMLJobRequest method. -// req, resp := client.CreateAutoMLJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAutoMLJob func (c *SageMaker) CreateAutoMLJobRequest(input *CreateAutoMLJobInput) (req *request.Request, output *CreateAutoMLJobOutput) { @@ -823,12 +816,13 @@ func (c *SageMaker) CreateAutoMLJobRequest(input *CreateAutoMLJobInput) (req *re // API operation CreateAutoMLJob for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAutoMLJob func (c *SageMaker) CreateAutoMLJob(input *CreateAutoMLJobInput) (*CreateAutoMLJobOutput, error) { @@ -868,14 +862,13 @@ const opCreateCodeRepository = "CreateCodeRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCodeRepositoryRequest method. +// req, resp := client.CreateCodeRepositoryRequest(params) // -// // Example sending a request using the CreateCodeRepositoryRequest method. -// req, resp := client.CreateCodeRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCodeRepository func (c *SageMaker) CreateCodeRepositoryRequest(input *CreateCodeRepositoryInput) (req *request.Request, output *CreateCodeRepositoryOutput) { @@ -950,14 +943,13 @@ const opCreateCompilationJob = "CreateCompilationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCompilationJobRequest method. +// req, resp := client.CreateCompilationJobRequest(params) // -// // Example sending a request using the CreateCompilationJobRequest method. -// req, resp := client.CreateCompilationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCompilationJob func (c *SageMaker) CreateCompilationJobRequest(input *CreateCompilationJobInput) (req *request.Request, output *CreateCompilationJobOutput) { @@ -989,15 +981,15 @@ func (c *SageMaker) CreateCompilationJobRequest(input *CreateCompilationJobInput // // In the request body, you provide the following: // -// * A name for the compilation job +// - A name for the compilation job // -// * Information about the input model artifacts +// - Information about the input model artifacts // -// * The output location for the compiled model and the device (target) that -// the model runs on +// - The output location for the compiled model and the device (target) that +// the model runs on // -// * The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker -// assumes to perform the model compilation job. +// - The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker +// assumes to perform the model compilation job. // // You can also provide a Tag to track the model compilation job's resource // use and costs. The response body contains the CompilationJobArn for the compiled @@ -1015,12 +1007,13 @@ func (c *SageMaker) CreateCompilationJobRequest(input *CreateCompilationJobInput // API operation CreateCompilationJob for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCompilationJob func (c *SageMaker) CreateCompilationJob(input *CreateCompilationJobInput) (*CreateCompilationJobOutput, error) { @@ -1060,14 +1053,13 @@ const opCreateContext = "CreateContext" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateContextRequest method. +// req, resp := client.CreateContextRequest(params) // -// // Example sending a request using the CreateContextRequest method. -// req, resp := client.CreateContextRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateContext func (c *SageMaker) CreateContextRequest(input *CreateContextInput) (req *request.Request, output *CreateContextOutput) { @@ -1101,9 +1093,9 @@ func (c *SageMaker) CreateContextRequest(input *CreateContextInput) (req *reques // API operation CreateContext for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateContext func (c *SageMaker) CreateContext(input *CreateContextInput) (*CreateContextOutput, error) { @@ -1143,14 +1135,13 @@ const opCreateDataQualityJobDefinition = "CreateDataQualityJobDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDataQualityJobDefinitionRequest method. +// req, resp := client.CreateDataQualityJobDefinitionRequest(params) // -// // Example sending a request using the CreateDataQualityJobDefinitionRequest method. -// req, resp := client.CreateDataQualityJobDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDataQualityJobDefinition func (c *SageMaker) CreateDataQualityJobDefinitionRequest(input *CreateDataQualityJobDefinitionInput) (req *request.Request, output *CreateDataQualityJobDefinitionOutput) { @@ -1182,12 +1173,13 @@ func (c *SageMaker) CreateDataQualityJobDefinitionRequest(input *CreateDataQuali // API operation CreateDataQualityJobDefinition for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. // -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDataQualityJobDefinition func (c *SageMaker) CreateDataQualityJobDefinition(input *CreateDataQualityJobDefinitionInput) (*CreateDataQualityJobDefinitionOutput, error) { @@ -1227,14 +1219,13 @@ const opCreateDeviceFleet = "CreateDeviceFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeviceFleetRequest method. +// req, resp := client.CreateDeviceFleetRequest(params) // -// // Example sending a request using the CreateDeviceFleetRequest method. -// req, resp := client.CreateDeviceFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDeviceFleet func (c *SageMaker) CreateDeviceFleetRequest(input *CreateDeviceFleetInput) (req *request.Request, output *CreateDeviceFleetOutput) { @@ -1266,12 +1257,13 @@ func (c *SageMaker) CreateDeviceFleetRequest(input *CreateDeviceFleetInput) (req // API operation CreateDeviceFleet for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDeviceFleet func (c *SageMaker) CreateDeviceFleet(input *CreateDeviceFleetInput) (*CreateDeviceFleetOutput, error) { @@ -1311,14 +1303,13 @@ const opCreateDomain = "CreateDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDomainRequest method. +// req, resp := client.CreateDomainRequest(params) // -// // Example sending a request using the CreateDomainRequest method. -// req, resp := client.CreateDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDomain func (c *SageMaker) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) { @@ -1346,7 +1337,7 @@ func (c *SageMaker) CreateDomainRequest(input *CreateDomainInput) (req *request. // to one domain per region. Users within a domain can share notebook files // and other artifacts with each other. // -// EFS storage +// # EFS storage // // When a domain is created, an EFS volume is created for use by all of the // users within the domain. Each user receives a private home directory within @@ -1358,7 +1349,7 @@ func (c *SageMaker) CreateDomainRequest(input *CreateDomainInput) (req *request. // customer managed key. For more information, see Protect Data at Rest Using // Encryption (https://docs.aws.amazon.com/sagemaker/latest/dg/encryption-at-rest.html). // -// VPC configuration +// # VPC configuration // // All SageMaker Studio traffic between the domain and the EFS volume is through // the specified VPC and subnets. For other Studio traffic, you can specify @@ -1366,15 +1357,15 @@ func (c *SageMaker) CreateDomainRequest(input *CreateDomainInput) (req *request. // network access type that you choose when you onboard to Studio. The following // options are available: // -// * PublicInternetOnly - Non-EFS traffic goes through a VPC managed by Amazon -// SageMaker, which allows internet access. This is the default value. +// - PublicInternetOnly - Non-EFS traffic goes through a VPC managed by Amazon +// SageMaker, which allows internet access. This is the default value. // -// * VpcOnly - All Studio traffic is through the specified VPC and subnets. -// Internet access is disabled by default. To allow internet access, you -// must specify a NAT gateway. When internet access is disabled, you won't -// be able to run a Studio notebook or to train or host models unless your -// VPC has an interface endpoint to the SageMaker API and runtime or a NAT -// gateway and your security groups allow outbound connections. +// - VpcOnly - All Studio traffic is through the specified VPC and subnets. +// Internet access is disabled by default. To allow internet access, you +// must specify a NAT gateway. When internet access is disabled, you won't +// be able to run a Studio notebook or to train or host models unless your +// VPC has an interface endpoint to the SageMaker API and runtime or a NAT +// gateway and your security groups allow outbound connections. // // NFS traffic over TCP on port 2049 needs to be allowed in both inbound and // outbound rules in order to launch a SageMaker Studio app successfully. @@ -1390,12 +1381,13 @@ func (c *SageMaker) CreateDomainRequest(input *CreateDomainInput) (req *request. // API operation CreateDomain for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. // -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDomain func (c *SageMaker) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) { @@ -1435,14 +1427,13 @@ const opCreateEdgePackagingJob = "CreateEdgePackagingJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEdgePackagingJobRequest method. +// req, resp := client.CreateEdgePackagingJobRequest(params) // -// // Example sending a request using the CreateEdgePackagingJobRequest method. -// req, resp := client.CreateEdgePackagingJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEdgePackagingJob func (c *SageMaker) CreateEdgePackagingJobRequest(input *CreateEdgePackagingJobInput) (req *request.Request, output *CreateEdgePackagingJobOutput) { @@ -1477,9 +1468,9 @@ func (c *SageMaker) CreateEdgePackagingJobRequest(input *CreateEdgePackagingJobI // API operation CreateEdgePackagingJob for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEdgePackagingJob func (c *SageMaker) CreateEdgePackagingJob(input *CreateEdgePackagingJobInput) (*CreateEdgePackagingJobOutput, error) { @@ -1519,14 +1510,13 @@ const opCreateEndpoint = "CreateEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEndpointRequest method. +// req, resp := client.CreateEndpointRequest(params) // -// // Example sending a request using the CreateEndpointRequest method. -// req, resp := client.CreateEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint func (c *SageMaker) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput) { @@ -1597,15 +1587,15 @@ func (c *SageMaker) CreateEndpointRequest(input *CreateEndpointInput) (req *requ // the CreateEndpoint and CreateEndpointConfig API operations, add the following // policies to the role. // -// * Option 1: For a full SageMaker access, search and attach the AmazonSageMakerFullAccess -// policy. +// - Option 1: For a full SageMaker access, search and attach the AmazonSageMakerFullAccess +// policy. // -// * Option 2: For granting a limited access to an IAM role, paste the following -// Action elements manually into the JSON file of the IAM role: "Action": -// ["sagemaker:CreateEndpoint", "sagemaker:CreateEndpointConfig"] "Resource": -// [ "arn:aws:sagemaker:region:account-id:endpoint/endpointName" "arn:aws:sagemaker:region:account-id:endpoint-config/endpointConfigName" -// ] For more information, see SageMaker API Permissions: Actions, Permissions, -// and Resources Reference (https://docs.aws.amazon.com/sagemaker/latest/dg/api-permissions-reference.html). +// - Option 2: For granting a limited access to an IAM role, paste the following +// Action elements manually into the JSON file of the IAM role: "Action": +// ["sagemaker:CreateEndpoint", "sagemaker:CreateEndpointConfig"] "Resource": +// [ "arn:aws:sagemaker:region:account-id:endpoint/endpointName" "arn:aws:sagemaker:region:account-id:endpoint-config/endpointConfigName" +// ] For more information, see SageMaker API Permissions: Actions, Permissions, +// and Resources Reference (https://docs.aws.amazon.com/sagemaker/latest/dg/api-permissions-reference.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1615,9 +1605,9 @@ func (c *SageMaker) CreateEndpointRequest(input *CreateEndpointInput) (req *requ // API operation CreateEndpoint for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint func (c *SageMaker) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error) { @@ -1657,14 +1647,13 @@ const opCreateEndpointConfig = "CreateEndpointConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEndpointConfigRequest method. +// req, resp := client.CreateEndpointConfigRequest(params) // -// // Example sending a request using the CreateEndpointConfigRequest method. -// req, resp := client.CreateEndpointConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig func (c *SageMaker) CreateEndpointConfigRequest(input *CreateEndpointConfigInput) (req *request.Request, output *CreateEndpointConfigOutput) { @@ -1723,9 +1712,9 @@ func (c *SageMaker) CreateEndpointConfigRequest(input *CreateEndpointConfigInput // API operation CreateEndpointConfig for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig func (c *SageMaker) CreateEndpointConfig(input *CreateEndpointConfigInput) (*CreateEndpointConfigOutput, error) { @@ -1765,14 +1754,13 @@ const opCreateExperiment = "CreateExperiment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateExperimentRequest method. +// req, resp := client.CreateExperimentRequest(params) // -// // Example sending a request using the CreateExperimentRequest method. -// req, resp := client.CreateExperimentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateExperiment func (c *SageMaker) CreateExperimentRequest(input *CreateExperimentInput) (req *request.Request, output *CreateExperimentOutput) { @@ -1827,9 +1815,9 @@ func (c *SageMaker) CreateExperimentRequest(input *CreateExperimentInput) (req * // API operation CreateExperiment for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateExperiment func (c *SageMaker) CreateExperiment(input *CreateExperimentInput) (*CreateExperimentOutput, error) { @@ -1869,14 +1857,13 @@ const opCreateFeatureGroup = "CreateFeatureGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFeatureGroupRequest method. +// req, resp := client.CreateFeatureGroupRequest(params) // -// // Example sending a request using the CreateFeatureGroupRequest method. -// req, resp := client.CreateFeatureGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFeatureGroup func (c *SageMaker) CreateFeatureGroupRequest(input *CreateFeatureGroupInput) (req *request.Request, output *CreateFeatureGroupOutput) { @@ -1917,12 +1904,13 @@ func (c *SageMaker) CreateFeatureGroupRequest(input *CreateFeatureGroupInput) (r // API operation CreateFeatureGroup for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFeatureGroup func (c *SageMaker) CreateFeatureGroup(input *CreateFeatureGroupInput) (*CreateFeatureGroupOutput, error) { @@ -1962,14 +1950,13 @@ const opCreateFlowDefinition = "CreateFlowDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFlowDefinitionRequest method. +// req, resp := client.CreateFlowDefinitionRequest(params) // -// // Example sending a request using the CreateFlowDefinitionRequest method. -// req, resp := client.CreateFlowDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFlowDefinition func (c *SageMaker) CreateFlowDefinitionRequest(input *CreateFlowDefinitionInput) (req *request.Request, output *CreateFlowDefinitionOutput) { @@ -2000,12 +1987,13 @@ func (c *SageMaker) CreateFlowDefinitionRequest(input *CreateFlowDefinitionInput // API operation CreateFlowDefinition for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. // -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFlowDefinition func (c *SageMaker) CreateFlowDefinition(input *CreateFlowDefinitionInput) (*CreateFlowDefinitionOutput, error) { @@ -2045,14 +2033,13 @@ const opCreateHumanTaskUi = "CreateHumanTaskUi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHumanTaskUiRequest method. +// req, resp := client.CreateHumanTaskUiRequest(params) // -// // Example sending a request using the CreateHumanTaskUiRequest method. -// req, resp := client.CreateHumanTaskUiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHumanTaskUi func (c *SageMaker) CreateHumanTaskUiRequest(input *CreateHumanTaskUiInput) (req *request.Request, output *CreateHumanTaskUiOutput) { @@ -2085,12 +2072,13 @@ func (c *SageMaker) CreateHumanTaskUiRequest(input *CreateHumanTaskUiInput) (req // API operation CreateHumanTaskUi for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. // -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHumanTaskUi func (c *SageMaker) CreateHumanTaskUi(input *CreateHumanTaskUiInput) (*CreateHumanTaskUiOutput, error) { @@ -2130,14 +2118,13 @@ const opCreateHyperParameterTuningJob = "CreateHyperParameterTuningJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHyperParameterTuningJobRequest method. +// req, resp := client.CreateHyperParameterTuningJobRequest(params) // -// // Example sending a request using the CreateHyperParameterTuningJobRequest method. -// req, resp := client.CreateHyperParameterTuningJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHyperParameterTuningJob func (c *SageMaker) CreateHyperParameterTuningJobRequest(input *CreateHyperParameterTuningJobInput) (req *request.Request, output *CreateHyperParameterTuningJobOutput) { @@ -2172,12 +2159,13 @@ func (c *SageMaker) CreateHyperParameterTuningJobRequest(input *CreateHyperParam // API operation CreateHyperParameterTuningJob for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHyperParameterTuningJob func (c *SageMaker) CreateHyperParameterTuningJob(input *CreateHyperParameterTuningJobInput) (*CreateHyperParameterTuningJobOutput, error) { @@ -2217,14 +2205,13 @@ const opCreateImage = "CreateImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateImageRequest method. +// req, resp := client.CreateImageRequest(params) // -// // Example sending a request using the CreateImageRequest method. -// req, resp := client.CreateImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImage func (c *SageMaker) CreateImageRequest(input *CreateImageInput) (req *request.Request, output *CreateImageOutput) { @@ -2258,12 +2245,13 @@ func (c *SageMaker) CreateImageRequest(input *CreateImageInput) (req *request.Re // API operation CreateImage for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImage func (c *SageMaker) CreateImage(input *CreateImageInput) (*CreateImageOutput, error) { @@ -2303,14 +2291,13 @@ const opCreateImageVersion = "CreateImageVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateImageVersionRequest method. +// req, resp := client.CreateImageVersionRequest(params) // -// // Example sending a request using the CreateImageVersionRequest method. -// req, resp := client.CreateImageVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageVersion func (c *SageMaker) CreateImageVersionRequest(input *CreateImageVersionInput) (req *request.Request, output *CreateImageVersionOutput) { @@ -2343,15 +2330,16 @@ func (c *SageMaker) CreateImageVersionRequest(input *CreateImageVersionInput) (r // API operation CreateImageVersion for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageVersion func (c *SageMaker) CreateImageVersion(input *CreateImageVersionInput) (*CreateImageVersionOutput, error) { @@ -2391,14 +2379,13 @@ const opCreateInferenceRecommendationsJob = "CreateInferenceRecommendationsJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInferenceRecommendationsJobRequest method. +// req, resp := client.CreateInferenceRecommendationsJobRequest(params) // -// // Example sending a request using the CreateInferenceRecommendationsJobRequest method. -// req, resp := client.CreateInferenceRecommendationsJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateInferenceRecommendationsJob func (c *SageMaker) CreateInferenceRecommendationsJobRequest(input *CreateInferenceRecommendationsJobInput) (req *request.Request, output *CreateInferenceRecommendationsJobOutput) { @@ -2430,12 +2417,13 @@ func (c *SageMaker) CreateInferenceRecommendationsJobRequest(input *CreateInfere // API operation CreateInferenceRecommendationsJob for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateInferenceRecommendationsJob func (c *SageMaker) CreateInferenceRecommendationsJob(input *CreateInferenceRecommendationsJobInput) (*CreateInferenceRecommendationsJobOutput, error) { @@ -2475,14 +2463,13 @@ const opCreateLabelingJob = "CreateLabelingJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLabelingJobRequest method. +// req, resp := client.CreateLabelingJobRequest(params) // -// // Example sending a request using the CreateLabelingJobRequest method. -// req, resp := client.CreateLabelingJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLabelingJob func (c *SageMaker) CreateLabelingJobRequest(input *CreateLabelingJobInput) (req *request.Request, output *CreateLabelingJobOutput) { @@ -2508,16 +2495,16 @@ func (c *SageMaker) CreateLabelingJobRequest(input *CreateLabelingJobInput) (req // // You can select your workforce from one of three providers: // -// * A private workforce that you create. It can include employees, contractors, -// and outside experts. Use a private workforce when want the data to stay -// within your organization or when a specific set of skills is required. +// - A private workforce that you create. It can include employees, contractors, +// and outside experts. Use a private workforce when want the data to stay +// within your organization or when a specific set of skills is required. // -// * One or more vendors that you select from the Amazon Web Services Marketplace. -// Vendors provide expertise in specific areas. +// - One or more vendors that you select from the Amazon Web Services Marketplace. +// Vendors provide expertise in specific areas. // -// * The Amazon Mechanical Turk workforce. This is the largest workforce, -// but it should only be used for public data or data that has been stripped -// of any personally identifiable information. +// - The Amazon Mechanical Turk workforce. This is the largest workforce, +// but it should only be used for public data or data that has been stripped +// of any personally identifiable information. // // You can also use automated data labeling to reduce the number of data objects // that need to be labeled by a human. Automated data labeling uses active learning @@ -2550,12 +2537,13 @@ func (c *SageMaker) CreateLabelingJobRequest(input *CreateLabelingJobInput) (req // API operation CreateLabelingJob for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLabelingJob func (c *SageMaker) CreateLabelingJob(input *CreateLabelingJobInput) (*CreateLabelingJobOutput, error) { @@ -2595,14 +2583,13 @@ const opCreateModel = "CreateModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateModelRequest method. +// req, resp := client.CreateModelRequest(params) // -// // Example sending a request using the CreateModelRequest method. -// req, resp := client.CreateModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel func (c *SageMaker) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput) { @@ -2660,9 +2647,9 @@ func (c *SageMaker) CreateModelRequest(input *CreateModelInput) (req *request.Re // API operation CreateModel for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel func (c *SageMaker) CreateModel(input *CreateModelInput) (*CreateModelOutput, error) { @@ -2702,14 +2689,13 @@ const opCreateModelBiasJobDefinition = "CreateModelBiasJobDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateModelBiasJobDefinitionRequest method. +// req, resp := client.CreateModelBiasJobDefinitionRequest(params) // -// // Example sending a request using the CreateModelBiasJobDefinitionRequest method. -// req, resp := client.CreateModelBiasJobDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelBiasJobDefinition func (c *SageMaker) CreateModelBiasJobDefinitionRequest(input *CreateModelBiasJobDefinitionInput) (req *request.Request, output *CreateModelBiasJobDefinitionOutput) { @@ -2740,12 +2726,13 @@ func (c *SageMaker) CreateModelBiasJobDefinitionRequest(input *CreateModelBiasJo // API operation CreateModelBiasJobDefinition for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. // -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelBiasJobDefinition func (c *SageMaker) CreateModelBiasJobDefinition(input *CreateModelBiasJobDefinitionInput) (*CreateModelBiasJobDefinitionOutput, error) { @@ -2785,14 +2772,13 @@ const opCreateModelExplainabilityJobDefinition = "CreateModelExplainabilityJobDe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateModelExplainabilityJobDefinitionRequest method. +// req, resp := client.CreateModelExplainabilityJobDefinitionRequest(params) // -// // Example sending a request using the CreateModelExplainabilityJobDefinitionRequest method. -// req, resp := client.CreateModelExplainabilityJobDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelExplainabilityJobDefinition func (c *SageMaker) CreateModelExplainabilityJobDefinitionRequest(input *CreateModelExplainabilityJobDefinitionInput) (req *request.Request, output *CreateModelExplainabilityJobDefinitionOutput) { @@ -2823,12 +2809,13 @@ func (c *SageMaker) CreateModelExplainabilityJobDefinitionRequest(input *CreateM // API operation CreateModelExplainabilityJobDefinition for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. // -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelExplainabilityJobDefinition func (c *SageMaker) CreateModelExplainabilityJobDefinition(input *CreateModelExplainabilityJobDefinitionInput) (*CreateModelExplainabilityJobDefinitionOutput, error) { @@ -2868,14 +2855,13 @@ const opCreateModelPackage = "CreateModelPackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateModelPackageRequest method. +// req, resp := client.CreateModelPackageRequest(params) // -// // Example sending a request using the CreateModelPackageRequest method. -// req, resp := client.CreateModelPackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage func (c *SageMaker) CreateModelPackageRequest(input *CreateModelPackageInput) (req *request.Request, output *CreateModelPackageOutput) { @@ -2909,9 +2895,9 @@ func (c *SageMaker) CreateModelPackageRequest(input *CreateModelPackageInput) (r // // There are two types of model packages: // -// * Versioned - a model that is part of a model group in the model registry. +// - Versioned - a model that is part of a model group in the model registry. // -// * Unversioned - a model package that is not part of a model group. +// - Unversioned - a model package that is not part of a model group. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2921,13 +2907,14 @@ func (c *SageMaker) CreateModelPackageRequest(input *CreateModelPackageInput) (r // API operation CreateModelPackage for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict when you attempted to modify a SageMaker entity such -// as an Experiment or Artifact. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage func (c *SageMaker) CreateModelPackage(input *CreateModelPackageInput) (*CreateModelPackageOutput, error) { @@ -2967,14 +2954,13 @@ const opCreateModelPackageGroup = "CreateModelPackageGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateModelPackageGroupRequest method. +// req, resp := client.CreateModelPackageGroupRequest(params) // -// // Example sending a request using the CreateModelPackageGroupRequest method. -// req, resp := client.CreateModelPackageGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackageGroup func (c *SageMaker) CreateModelPackageGroupRequest(input *CreateModelPackageGroupInput) (req *request.Request, output *CreateModelPackageGroupOutput) { @@ -3005,9 +2991,9 @@ func (c *SageMaker) CreateModelPackageGroupRequest(input *CreateModelPackageGrou // API operation CreateModelPackageGroup for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackageGroup func (c *SageMaker) CreateModelPackageGroup(input *CreateModelPackageGroupInput) (*CreateModelPackageGroupOutput, error) { @@ -3047,14 +3033,13 @@ const opCreateModelQualityJobDefinition = "CreateModelQualityJobDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateModelQualityJobDefinitionRequest method. +// req, resp := client.CreateModelQualityJobDefinitionRequest(params) // -// // Example sending a request using the CreateModelQualityJobDefinitionRequest method. -// req, resp := client.CreateModelQualityJobDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelQualityJobDefinition func (c *SageMaker) CreateModelQualityJobDefinitionRequest(input *CreateModelQualityJobDefinitionInput) (req *request.Request, output *CreateModelQualityJobDefinitionOutput) { @@ -3086,12 +3071,13 @@ func (c *SageMaker) CreateModelQualityJobDefinitionRequest(input *CreateModelQua // API operation CreateModelQualityJobDefinition for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. // -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelQualityJobDefinition func (c *SageMaker) CreateModelQualityJobDefinition(input *CreateModelQualityJobDefinitionInput) (*CreateModelQualityJobDefinitionOutput, error) { @@ -3131,14 +3117,13 @@ const opCreateMonitoringSchedule = "CreateMonitoringSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMonitoringScheduleRequest method. +// req, resp := client.CreateMonitoringScheduleRequest(params) // -// // Example sending a request using the CreateMonitoringScheduleRequest method. -// req, resp := client.CreateMonitoringScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateMonitoringSchedule func (c *SageMaker) CreateMonitoringScheduleRequest(input *CreateMonitoringScheduleInput) (req *request.Request, output *CreateMonitoringScheduleOutput) { @@ -3170,12 +3155,13 @@ func (c *SageMaker) CreateMonitoringScheduleRequest(input *CreateMonitoringSched // API operation CreateMonitoringSchedule for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. // -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateMonitoringSchedule func (c *SageMaker) CreateMonitoringSchedule(input *CreateMonitoringScheduleInput) (*CreateMonitoringScheduleOutput, error) { @@ -3215,14 +3201,13 @@ const opCreateNotebookInstance = "CreateNotebookInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNotebookInstanceRequest method. +// req, resp := client.CreateNotebookInstanceRequest(params) // -// // Example sending a request using the CreateNotebookInstanceRequest method. -// req, resp := client.CreateNotebookInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance func (c *SageMaker) CreateNotebookInstanceRequest(input *CreateNotebookInstanceInput) (req *request.Request, output *CreateNotebookInstanceOutput) { @@ -3290,9 +3275,9 @@ func (c *SageMaker) CreateNotebookInstanceRequest(input *CreateNotebookInstanceI // API operation CreateNotebookInstance for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance func (c *SageMaker) CreateNotebookInstance(input *CreateNotebookInstanceInput) (*CreateNotebookInstanceOutput, error) { @@ -3332,14 +3317,13 @@ const opCreateNotebookInstanceLifecycleConfig = "CreateNotebookInstanceLifecycle // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNotebookInstanceLifecycleConfigRequest method. +// req, resp := client.CreateNotebookInstanceLifecycleConfigRequest(params) // -// // Example sending a request using the CreateNotebookInstanceLifecycleConfigRequest method. -// req, resp := client.CreateNotebookInstanceLifecycleConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig func (c *SageMaker) CreateNotebookInstanceLifecycleConfigRequest(input *CreateNotebookInstanceLifecycleConfigInput) (req *request.Request, output *CreateNotebookInstanceLifecycleConfigOutput) { @@ -3387,9 +3371,9 @@ func (c *SageMaker) CreateNotebookInstanceLifecycleConfigRequest(input *CreateNo // API operation CreateNotebookInstanceLifecycleConfig for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig func (c *SageMaker) CreateNotebookInstanceLifecycleConfig(input *CreateNotebookInstanceLifecycleConfigInput) (*CreateNotebookInstanceLifecycleConfigOutput, error) { @@ -3429,14 +3413,13 @@ const opCreatePipeline = "CreatePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePipelineRequest method. +// req, resp := client.CreatePipelineRequest(params) // -// // Example sending a request using the CreatePipelineRequest method. -// req, resp := client.CreatePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePipeline func (c *SageMaker) CreatePipelineRequest(input *CreatePipelineInput) (req *request.Request, output *CreatePipelineOutput) { @@ -3467,12 +3450,13 @@ func (c *SageMaker) CreatePipelineRequest(input *CreatePipelineInput) (req *requ // API operation CreatePipeline for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceNotFound +// Resource being access is not found. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePipeline func (c *SageMaker) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error) { @@ -3512,14 +3496,13 @@ const opCreatePresignedDomainUrl = "CreatePresignedDomainUrl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePresignedDomainUrlRequest method. +// req, resp := client.CreatePresignedDomainUrlRequest(params) // -// // Example sending a request using the CreatePresignedDomainUrlRequest method. -// req, resp := client.CreatePresignedDomainUrlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedDomainUrl func (c *SageMaker) CreatePresignedDomainUrlRequest(input *CreatePresignedDomainUrlInput) (req *request.Request, output *CreatePresignedDomainUrlOutput) { @@ -3570,8 +3553,8 @@ func (c *SageMaker) CreatePresignedDomainUrlRequest(input *CreatePresignedDomain // API operation CreatePresignedDomainUrl for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedDomainUrl func (c *SageMaker) CreatePresignedDomainUrl(input *CreatePresignedDomainUrlInput) (*CreatePresignedDomainUrlOutput, error) { @@ -3611,14 +3594,13 @@ const opCreatePresignedNotebookInstanceUrl = "CreatePresignedNotebookInstanceUrl // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePresignedNotebookInstanceUrlRequest method. +// req, resp := client.CreatePresignedNotebookInstanceUrlRequest(params) // -// // Example sending a request using the CreatePresignedNotebookInstanceUrlRequest method. -// req, resp := client.CreatePresignedNotebookInstanceUrlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl func (c *SageMaker) CreatePresignedNotebookInstanceUrlRequest(input *CreatePresignedNotebookInstanceUrlInput) (req *request.Request, output *CreatePresignedNotebookInstanceUrlOutput) { @@ -3705,14 +3687,13 @@ const opCreateProcessingJob = "CreateProcessingJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProcessingJobRequest method. +// req, resp := client.CreateProcessingJobRequest(params) // -// // Example sending a request using the CreateProcessingJobRequest method. -// req, resp := client.CreateProcessingJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProcessingJob func (c *SageMaker) CreateProcessingJobRequest(input *CreateProcessingJobInput) (req *request.Request, output *CreateProcessingJobOutput) { @@ -3743,15 +3724,16 @@ func (c *SageMaker) CreateProcessingJobRequest(input *CreateProcessingJobInput) // API operation CreateProcessingJob for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceInUse +// Resource being accessed is in use. // -// * ResourceNotFound -// Resource being access is not found. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProcessingJob func (c *SageMaker) CreateProcessingJob(input *CreateProcessingJobInput) (*CreateProcessingJobOutput, error) { @@ -3791,14 +3773,13 @@ const opCreateProject = "CreateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProjectRequest method. +// req, resp := client.CreateProjectRequest(params) // -// // Example sending a request using the CreateProjectRequest method. -// req, resp := client.CreateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProject func (c *SageMaker) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) { @@ -3830,9 +3811,9 @@ func (c *SageMaker) CreateProjectRequest(input *CreateProjectInput) (req *reques // API operation CreateProject for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProject func (c *SageMaker) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) { @@ -3872,14 +3853,13 @@ const opCreateStudioLifecycleConfig = "CreateStudioLifecycleConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStudioLifecycleConfigRequest method. +// req, resp := client.CreateStudioLifecycleConfigRequest(params) // -// // Example sending a request using the CreateStudioLifecycleConfigRequest method. -// req, resp := client.CreateStudioLifecycleConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateStudioLifecycleConfig func (c *SageMaker) CreateStudioLifecycleConfigRequest(input *CreateStudioLifecycleConfigInput) (req *request.Request, output *CreateStudioLifecycleConfigOutput) { @@ -3910,8 +3890,8 @@ func (c *SageMaker) CreateStudioLifecycleConfigRequest(input *CreateStudioLifecy // API operation CreateStudioLifecycleConfig for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateStudioLifecycleConfig func (c *SageMaker) CreateStudioLifecycleConfig(input *CreateStudioLifecycleConfigInput) (*CreateStudioLifecycleConfigOutput, error) { @@ -3951,14 +3931,13 @@ const opCreateTrainingJob = "CreateTrainingJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTrainingJobRequest method. +// req, resp := client.CreateTrainingJobRequest(params) // -// // Example sending a request using the CreateTrainingJobRequest method. -// req, resp := client.CreateTrainingJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob func (c *SageMaker) CreateTrainingJobRequest(input *CreateTrainingJobInput) (req *request.Request, output *CreateTrainingJobOutput) { @@ -3989,40 +3968,40 @@ func (c *SageMaker) CreateTrainingJobRequest(input *CreateTrainingJobInput) (req // // In the request body, you provide the following: // -// * AlgorithmSpecification - Identifies the training algorithm to use. +// - AlgorithmSpecification - Identifies the training algorithm to use. // -// * HyperParameters - Specify these algorithm-specific parameters to enable -// the estimation of model parameters during training. Hyperparameters can -// be tuned to optimize this learning process. For a list of hyperparameters -// for each training algorithm provided by SageMaker, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). +// - HyperParameters - Specify these algorithm-specific parameters to enable +// the estimation of model parameters during training. Hyperparameters can +// be tuned to optimize this learning process. For a list of hyperparameters +// for each training algorithm provided by SageMaker, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). // -// * InputDataConfig - Describes the training dataset and the Amazon S3, -// EFS, or FSx location where it is stored. +// - InputDataConfig - Describes the training dataset and the Amazon S3, +// EFS, or FSx location where it is stored. // -// * OutputDataConfig - Identifies the Amazon S3 bucket where you want SageMaker -// to save the results of model training. +// - OutputDataConfig - Identifies the Amazon S3 bucket where you want SageMaker +// to save the results of model training. // -// * ResourceConfig - Identifies the resources, ML compute instances, and -// ML storage volumes to deploy for model training. In distributed training, -// you specify more than one instance. +// - ResourceConfig - Identifies the resources, ML compute instances, and +// ML storage volumes to deploy for model training. In distributed training, +// you specify more than one instance. // -// * EnableManagedSpotTraining - Optimize the cost of training machine learning -// models by up to 80% by using Amazon EC2 Spot instances. For more information, -// see Managed Spot Training (https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html). +// - EnableManagedSpotTraining - Optimize the cost of training machine learning +// models by up to 80% by using Amazon EC2 Spot instances. For more information, +// see Managed Spot Training (https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html). // -// * RoleArn - The Amazon Resource Name (ARN) that SageMaker assumes to perform -// tasks on your behalf during model training. You must grant this role the -// necessary permissions so that SageMaker can successfully complete model -// training. +// - RoleArn - The Amazon Resource Name (ARN) that SageMaker assumes to perform +// tasks on your behalf during model training. You must grant this role the +// necessary permissions so that SageMaker can successfully complete model +// training. // -// * StoppingCondition - To help cap training costs, use MaxRuntimeInSeconds -// to set a time limit for training. Use MaxWaitTimeInSeconds to specify -// how long a managed spot training job has to complete. +// - StoppingCondition - To help cap training costs, use MaxRuntimeInSeconds +// to set a time limit for training. Use MaxWaitTimeInSeconds to specify +// how long a managed spot training job has to complete. // -// * Environment - The environment variables to set in the Docker container. +// - Environment - The environment variables to set in the Docker container. // -// * RetryStrategy - The number of times to retry the job when the job fails -// due to an InternalServerError. +// - RetryStrategy - The number of times to retry the job when the job fails +// due to an InternalServerError. // // For more information about SageMaker, see How It Works (https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html). // @@ -4034,15 +4013,16 @@ func (c *SageMaker) CreateTrainingJobRequest(input *CreateTrainingJobInput) (req // API operation CreateTrainingJob for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob func (c *SageMaker) CreateTrainingJob(input *CreateTrainingJobInput) (*CreateTrainingJobOutput, error) { @@ -4082,14 +4062,13 @@ const opCreateTransformJob = "CreateTransformJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTransformJobRequest method. +// req, resp := client.CreateTransformJobRequest(params) // -// // Example sending a request using the CreateTransformJobRequest method. -// req, resp := client.CreateTransformJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTransformJob func (c *SageMaker) CreateTransformJobRequest(input *CreateTransformJobInput) (req *request.Request, output *CreateTransformJobOutput) { @@ -4118,22 +4097,22 @@ func (c *SageMaker) CreateTransformJobRequest(input *CreateTransformJobInput) (r // // In the request body, you provide the following: // -// * TransformJobName - Identifies the transform job. The name must be unique -// within an Amazon Web Services Region in an Amazon Web Services account. +// - TransformJobName - Identifies the transform job. The name must be unique +// within an Amazon Web Services Region in an Amazon Web Services account. // -// * ModelName - Identifies the model to use. ModelName must be the name -// of an existing Amazon SageMaker model in the same Amazon Web Services -// Region and Amazon Web Services account. For information on creating a -// model, see CreateModel (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModel.html). +// - ModelName - Identifies the model to use. ModelName must be the name +// of an existing Amazon SageMaker model in the same Amazon Web Services +// Region and Amazon Web Services account. For information on creating a +// model, see CreateModel (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateModel.html). // -// * TransformInput - Describes the dataset to be transformed and the Amazon -// S3 location where it is stored. +// - TransformInput - Describes the dataset to be transformed and the Amazon +// S3 location where it is stored. // -// * TransformOutput - Identifies the Amazon S3 location where you want Amazon -// SageMaker to save the results from the transform job. +// - TransformOutput - Identifies the Amazon S3 location where you want Amazon +// SageMaker to save the results from the transform job. // -// * TransformResources - Identifies the ML compute instances for the transform -// job. +// - TransformResources - Identifies the ML compute instances for the transform +// job. // // For more information about how batch transformation works, see Batch Transform // (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html). @@ -4146,15 +4125,16 @@ func (c *SageMaker) CreateTransformJobRequest(input *CreateTransformJobInput) (r // API operation CreateTransformJob for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTransformJob func (c *SageMaker) CreateTransformJob(input *CreateTransformJobInput) (*CreateTransformJobOutput, error) { @@ -4194,14 +4174,13 @@ const opCreateTrial = "CreateTrial" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTrialRequest method. +// req, resp := client.CreateTrialRequest(params) // -// // Example sending a request using the CreateTrialRequest method. -// req, resp := client.CreateTrialRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrial func (c *SageMaker) CreateTrialRequest(input *CreateTrialInput) (req *request.Request, output *CreateTrialOutput) { @@ -4246,12 +4225,13 @@ func (c *SageMaker) CreateTrialRequest(input *CreateTrialInput) (req *request.Re // API operation CreateTrial for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceNotFound +// Resource being access is not found. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrial func (c *SageMaker) CreateTrial(input *CreateTrialInput) (*CreateTrialOutput, error) { @@ -4291,14 +4271,13 @@ const opCreateTrialComponent = "CreateTrialComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTrialComponentRequest method. +// req, resp := client.CreateTrialComponentRequest(params) // -// // Example sending a request using the CreateTrialComponentRequest method. -// req, resp := client.CreateTrialComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrialComponent func (c *SageMaker) CreateTrialComponentRequest(input *CreateTrialComponentInput) (req *request.Request, output *CreateTrialComponentOutput) { @@ -4342,9 +4321,9 @@ func (c *SageMaker) CreateTrialComponentRequest(input *CreateTrialComponentInput // API operation CreateTrialComponent for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrialComponent func (c *SageMaker) CreateTrialComponent(input *CreateTrialComponentInput) (*CreateTrialComponentOutput, error) { @@ -4384,14 +4363,13 @@ const opCreateUserProfile = "CreateUserProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserProfileRequest method. +// req, resp := client.CreateUserProfileRequest(params) // -// // Example sending a request using the CreateUserProfileRequest method. -// req, resp := client.CreateUserProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateUserProfile func (c *SageMaker) CreateUserProfileRequest(input *CreateUserProfileInput) (req *request.Request, output *CreateUserProfileOutput) { @@ -4429,12 +4407,13 @@ func (c *SageMaker) CreateUserProfileRequest(input *CreateUserProfileInput) (req // API operation CreateUserProfile for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. // -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateUserProfile func (c *SageMaker) CreateUserProfile(input *CreateUserProfileInput) (*CreateUserProfileOutput, error) { @@ -4474,14 +4453,13 @@ const opCreateWorkforce = "CreateWorkforce" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorkforceRequest method. +// req, resp := client.CreateWorkforceRequest(params) // -// // Example sending a request using the CreateWorkforceRequest method. -// req, resp := client.CreateWorkforceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkforce func (c *SageMaker) CreateWorkforceRequest(input *CreateWorkforceInput) (req *request.Request, output *CreateWorkforceOutput) { @@ -4565,14 +4543,13 @@ const opCreateWorkteam = "CreateWorkteam" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorkteamRequest method. +// req, resp := client.CreateWorkteamRequest(params) // -// // Example sending a request using the CreateWorkteamRequest method. -// req, resp := client.CreateWorkteamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkteam func (c *SageMaker) CreateWorkteamRequest(input *CreateWorkteamInput) (req *request.Request, output *CreateWorkteamOutput) { @@ -4607,12 +4584,13 @@ func (c *SageMaker) CreateWorkteamRequest(input *CreateWorkteamInput) (req *requ // API operation CreateWorkteam for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkteam func (c *SageMaker) CreateWorkteam(input *CreateWorkteamInput) (*CreateWorkteamOutput, error) { @@ -4652,14 +4630,13 @@ const opDeleteAction = "DeleteAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteActionRequest method. +// req, resp := client.DeleteActionRequest(params) // -// // Example sending a request using the DeleteActionRequest method. -// req, resp := client.DeleteActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAction func (c *SageMaker) DeleteActionRequest(input *DeleteActionInput) (req *request.Request, output *DeleteActionOutput) { @@ -4690,8 +4667,8 @@ func (c *SageMaker) DeleteActionRequest(input *DeleteActionInput) (req *request. // API operation DeleteAction for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAction func (c *SageMaker) DeleteAction(input *DeleteActionInput) (*DeleteActionOutput, error) { @@ -4731,14 +4708,13 @@ const opDeleteAlgorithm = "DeleteAlgorithm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAlgorithmRequest method. +// req, resp := client.DeleteAlgorithmRequest(params) // -// // Example sending a request using the DeleteAlgorithmRequest method. -// req, resp := client.DeleteAlgorithmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAlgorithm func (c *SageMaker) DeleteAlgorithmRequest(input *DeleteAlgorithmInput) (req *request.Request, output *DeleteAlgorithmOutput) { @@ -4806,14 +4782,13 @@ const opDeleteApp = "DeleteApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppRequest method. +// req, resp := client.DeleteAppRequest(params) // -// // Example sending a request using the DeleteAppRequest method. -// req, resp := client.DeleteAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteApp func (c *SageMaker) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput) { @@ -4845,11 +4820,12 @@ func (c *SageMaker) DeleteAppRequest(input *DeleteAppInput) (req *request.Reques // API operation DeleteApp for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceNotFound -// Resource being access is not found. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteApp func (c *SageMaker) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error) { @@ -4889,14 +4865,13 @@ const opDeleteAppImageConfig = "DeleteAppImageConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppImageConfigRequest method. +// req, resp := client.DeleteAppImageConfigRequest(params) // -// // Example sending a request using the DeleteAppImageConfigRequest method. -// req, resp := client.DeleteAppImageConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAppImageConfig func (c *SageMaker) DeleteAppImageConfigRequest(input *DeleteAppImageConfigInput) (req *request.Request, output *DeleteAppImageConfigOutput) { @@ -4928,8 +4903,8 @@ func (c *SageMaker) DeleteAppImageConfigRequest(input *DeleteAppImageConfigInput // API operation DeleteAppImageConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAppImageConfig func (c *SageMaker) DeleteAppImageConfig(input *DeleteAppImageConfigInput) (*DeleteAppImageConfigOutput, error) { @@ -4969,14 +4944,13 @@ const opDeleteArtifact = "DeleteArtifact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteArtifactRequest method. +// req, resp := client.DeleteArtifactRequest(params) // -// // Example sending a request using the DeleteArtifactRequest method. -// req, resp := client.DeleteArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteArtifact func (c *SageMaker) DeleteArtifactRequest(input *DeleteArtifactInput) (req *request.Request, output *DeleteArtifactOutput) { @@ -5007,8 +4981,8 @@ func (c *SageMaker) DeleteArtifactRequest(input *DeleteArtifactInput) (req *requ // API operation DeleteArtifact for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteArtifact func (c *SageMaker) DeleteArtifact(input *DeleteArtifactInput) (*DeleteArtifactOutput, error) { @@ -5048,14 +5022,13 @@ const opDeleteAssociation = "DeleteAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAssociationRequest method. +// req, resp := client.DeleteAssociationRequest(params) // -// // Example sending a request using the DeleteAssociationRequest method. -// req, resp := client.DeleteAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAssociation func (c *SageMaker) DeleteAssociationRequest(input *DeleteAssociationInput) (req *request.Request, output *DeleteAssociationOutput) { @@ -5086,8 +5059,8 @@ func (c *SageMaker) DeleteAssociationRequest(input *DeleteAssociationInput) (req // API operation DeleteAssociation for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAssociation func (c *SageMaker) DeleteAssociation(input *DeleteAssociationInput) (*DeleteAssociationOutput, error) { @@ -5127,14 +5100,13 @@ const opDeleteCodeRepository = "DeleteCodeRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCodeRepositoryRequest method. +// req, resp := client.DeleteCodeRepositoryRequest(params) // -// // Example sending a request using the DeleteCodeRepositoryRequest method. -// req, resp := client.DeleteCodeRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCodeRepository func (c *SageMaker) DeleteCodeRepositoryRequest(input *DeleteCodeRepositoryInput) (req *request.Request, output *DeleteCodeRepositoryOutput) { @@ -5202,14 +5174,13 @@ const opDeleteContext = "DeleteContext" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteContextRequest method. +// req, resp := client.DeleteContextRequest(params) // -// // Example sending a request using the DeleteContextRequest method. -// req, resp := client.DeleteContextRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteContext func (c *SageMaker) DeleteContextRequest(input *DeleteContextInput) (req *request.Request, output *DeleteContextOutput) { @@ -5240,8 +5211,8 @@ func (c *SageMaker) DeleteContextRequest(input *DeleteContextInput) (req *reques // API operation DeleteContext for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteContext func (c *SageMaker) DeleteContext(input *DeleteContextInput) (*DeleteContextOutput, error) { @@ -5281,14 +5252,13 @@ const opDeleteDataQualityJobDefinition = "DeleteDataQualityJobDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDataQualityJobDefinitionRequest method. +// req, resp := client.DeleteDataQualityJobDefinitionRequest(params) // -// // Example sending a request using the DeleteDataQualityJobDefinitionRequest method. -// req, resp := client.DeleteDataQualityJobDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDataQualityJobDefinition func (c *SageMaker) DeleteDataQualityJobDefinitionRequest(input *DeleteDataQualityJobDefinitionInput) (req *request.Request, output *DeleteDataQualityJobDefinitionOutput) { @@ -5320,8 +5290,8 @@ func (c *SageMaker) DeleteDataQualityJobDefinitionRequest(input *DeleteDataQuali // API operation DeleteDataQualityJobDefinition for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDataQualityJobDefinition func (c *SageMaker) DeleteDataQualityJobDefinition(input *DeleteDataQualityJobDefinitionInput) (*DeleteDataQualityJobDefinitionOutput, error) { @@ -5361,14 +5331,13 @@ const opDeleteDeviceFleet = "DeleteDeviceFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDeviceFleetRequest method. +// req, resp := client.DeleteDeviceFleetRequest(params) // -// // Example sending a request using the DeleteDeviceFleetRequest method. -// req, resp := client.DeleteDeviceFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDeviceFleet func (c *SageMaker) DeleteDeviceFleetRequest(input *DeleteDeviceFleetInput) (req *request.Request, output *DeleteDeviceFleetOutput) { @@ -5400,8 +5369,8 @@ func (c *SageMaker) DeleteDeviceFleetRequest(input *DeleteDeviceFleetInput) (req // API operation DeleteDeviceFleet for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDeviceFleet func (c *SageMaker) DeleteDeviceFleet(input *DeleteDeviceFleetInput) (*DeleteDeviceFleetOutput, error) { @@ -5441,14 +5410,13 @@ const opDeleteDomain = "DeleteDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainRequest method. +// req, resp := client.DeleteDomainRequest(params) // -// // Example sending a request using the DeleteDomainRequest method. -// req, resp := client.DeleteDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDomain func (c *SageMaker) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) { @@ -5483,11 +5451,12 @@ func (c *SageMaker) DeleteDomainRequest(input *DeleteDomainInput) (req *request. // API operation DeleteDomain for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceNotFound -// Resource being access is not found. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDomain func (c *SageMaker) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) { @@ -5527,14 +5496,13 @@ const opDeleteEndpoint = "DeleteEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEndpointRequest method. +// req, resp := client.DeleteEndpointRequest(params) // -// // Example sending a request using the DeleteEndpointRequest method. -// req, resp := client.DeleteEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint func (c *SageMaker) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) { @@ -5613,14 +5581,13 @@ const opDeleteEndpointConfig = "DeleteEndpointConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEndpointConfigRequest method. +// req, resp := client.DeleteEndpointConfigRequest(params) // -// // Example sending a request using the DeleteEndpointConfigRequest method. -// req, resp := client.DeleteEndpointConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig func (c *SageMaker) DeleteEndpointConfigRequest(input *DeleteEndpointConfigInput) (req *request.Request, output *DeleteEndpointConfigOutput) { @@ -5697,14 +5664,13 @@ const opDeleteExperiment = "DeleteExperiment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteExperimentRequest method. +// req, resp := client.DeleteExperimentRequest(params) // -// // Example sending a request using the DeleteExperimentRequest method. -// req, resp := client.DeleteExperimentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteExperiment func (c *SageMaker) DeleteExperimentRequest(input *DeleteExperimentInput) (req *request.Request, output *DeleteExperimentOutput) { @@ -5737,8 +5703,8 @@ func (c *SageMaker) DeleteExperimentRequest(input *DeleteExperimentInput) (req * // API operation DeleteExperiment for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteExperiment func (c *SageMaker) DeleteExperiment(input *DeleteExperimentInput) (*DeleteExperimentOutput, error) { @@ -5778,14 +5744,13 @@ const opDeleteFeatureGroup = "DeleteFeatureGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFeatureGroupRequest method. +// req, resp := client.DeleteFeatureGroupRequest(params) // -// // Example sending a request using the DeleteFeatureGroupRequest method. -// req, resp := client.DeleteFeatureGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFeatureGroup func (c *SageMaker) DeleteFeatureGroupRequest(input *DeleteFeatureGroupInput) (req *request.Request, output *DeleteFeatureGroupOutput) { @@ -5823,8 +5788,8 @@ func (c *SageMaker) DeleteFeatureGroupRequest(input *DeleteFeatureGroupInput) (r // API operation DeleteFeatureGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFeatureGroup func (c *SageMaker) DeleteFeatureGroup(input *DeleteFeatureGroupInput) (*DeleteFeatureGroupOutput, error) { @@ -5864,14 +5829,13 @@ const opDeleteFlowDefinition = "DeleteFlowDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFlowDefinitionRequest method. +// req, resp := client.DeleteFlowDefinitionRequest(params) // -// // Example sending a request using the DeleteFlowDefinitionRequest method. -// req, resp := client.DeleteFlowDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFlowDefinition func (c *SageMaker) DeleteFlowDefinitionRequest(input *DeleteFlowDefinitionInput) (req *request.Request, output *DeleteFlowDefinitionOutput) { @@ -5903,11 +5867,12 @@ func (c *SageMaker) DeleteFlowDefinitionRequest(input *DeleteFlowDefinitionInput // API operation DeleteFlowDefinition for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceNotFound -// Resource being access is not found. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFlowDefinition func (c *SageMaker) DeleteFlowDefinition(input *DeleteFlowDefinitionInput) (*DeleteFlowDefinitionOutput, error) { @@ -5947,14 +5912,13 @@ const opDeleteHumanTaskUi = "DeleteHumanTaskUi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteHumanTaskUiRequest method. +// req, resp := client.DeleteHumanTaskUiRequest(params) // -// // Example sending a request using the DeleteHumanTaskUiRequest method. -// req, resp := client.DeleteHumanTaskUiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHumanTaskUi func (c *SageMaker) DeleteHumanTaskUiRequest(input *DeleteHumanTaskUiInput) (req *request.Request, output *DeleteHumanTaskUiOutput) { @@ -5990,8 +5954,8 @@ func (c *SageMaker) DeleteHumanTaskUiRequest(input *DeleteHumanTaskUiInput) (req // API operation DeleteHumanTaskUi for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHumanTaskUi func (c *SageMaker) DeleteHumanTaskUi(input *DeleteHumanTaskUiInput) (*DeleteHumanTaskUiOutput, error) { @@ -6031,14 +5995,13 @@ const opDeleteImage = "DeleteImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteImageRequest method. +// req, resp := client.DeleteImageRequest(params) // -// // Example sending a request using the DeleteImageRequest method. -// req, resp := client.DeleteImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImage func (c *SageMaker) DeleteImageRequest(input *DeleteImageInput) (req *request.Request, output *DeleteImageOutput) { @@ -6071,11 +6034,12 @@ func (c *SageMaker) DeleteImageRequest(input *DeleteImageInput) (req *request.Re // API operation DeleteImage for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceNotFound -// Resource being access is not found. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImage func (c *SageMaker) DeleteImage(input *DeleteImageInput) (*DeleteImageOutput, error) { @@ -6115,14 +6079,13 @@ const opDeleteImageVersion = "DeleteImageVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteImageVersionRequest method. +// req, resp := client.DeleteImageVersionRequest(params) // -// // Example sending a request using the DeleteImageVersionRequest method. -// req, resp := client.DeleteImageVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImageVersion func (c *SageMaker) DeleteImageVersionRequest(input *DeleteImageVersionInput) (req *request.Request, output *DeleteImageVersionOutput) { @@ -6155,11 +6118,12 @@ func (c *SageMaker) DeleteImageVersionRequest(input *DeleteImageVersionInput) (r // API operation DeleteImageVersion for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceNotFound -// Resource being access is not found. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImageVersion func (c *SageMaker) DeleteImageVersion(input *DeleteImageVersionInput) (*DeleteImageVersionOutput, error) { @@ -6199,14 +6163,13 @@ const opDeleteModel = "DeleteModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteModelRequest method. +// req, resp := client.DeleteModelRequest(params) // -// // Example sending a request using the DeleteModelRequest method. -// req, resp := client.DeleteModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel func (c *SageMaker) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput) { @@ -6277,14 +6240,13 @@ const opDeleteModelBiasJobDefinition = "DeleteModelBiasJobDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteModelBiasJobDefinitionRequest method. +// req, resp := client.DeleteModelBiasJobDefinitionRequest(params) // -// // Example sending a request using the DeleteModelBiasJobDefinitionRequest method. -// req, resp := client.DeleteModelBiasJobDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelBiasJobDefinition func (c *SageMaker) DeleteModelBiasJobDefinitionRequest(input *DeleteModelBiasJobDefinitionInput) (req *request.Request, output *DeleteModelBiasJobDefinitionOutput) { @@ -6316,8 +6278,8 @@ func (c *SageMaker) DeleteModelBiasJobDefinitionRequest(input *DeleteModelBiasJo // API operation DeleteModelBiasJobDefinition for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelBiasJobDefinition func (c *SageMaker) DeleteModelBiasJobDefinition(input *DeleteModelBiasJobDefinitionInput) (*DeleteModelBiasJobDefinitionOutput, error) { @@ -6357,14 +6319,13 @@ const opDeleteModelExplainabilityJobDefinition = "DeleteModelExplainabilityJobDe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteModelExplainabilityJobDefinitionRequest method. +// req, resp := client.DeleteModelExplainabilityJobDefinitionRequest(params) // -// // Example sending a request using the DeleteModelExplainabilityJobDefinitionRequest method. -// req, resp := client.DeleteModelExplainabilityJobDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelExplainabilityJobDefinition func (c *SageMaker) DeleteModelExplainabilityJobDefinitionRequest(input *DeleteModelExplainabilityJobDefinitionInput) (req *request.Request, output *DeleteModelExplainabilityJobDefinitionOutput) { @@ -6396,8 +6357,8 @@ func (c *SageMaker) DeleteModelExplainabilityJobDefinitionRequest(input *DeleteM // API operation DeleteModelExplainabilityJobDefinition for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelExplainabilityJobDefinition func (c *SageMaker) DeleteModelExplainabilityJobDefinition(input *DeleteModelExplainabilityJobDefinitionInput) (*DeleteModelExplainabilityJobDefinitionOutput, error) { @@ -6437,14 +6398,13 @@ const opDeleteModelPackage = "DeleteModelPackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteModelPackageRequest method. +// req, resp := client.DeleteModelPackageRequest(params) // -// // Example sending a request using the DeleteModelPackageRequest method. -// req, resp := client.DeleteModelPackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage func (c *SageMaker) DeleteModelPackageRequest(input *DeleteModelPackageInput) (req *request.Request, output *DeleteModelPackageOutput) { @@ -6480,9 +6440,9 @@ func (c *SageMaker) DeleteModelPackageRequest(input *DeleteModelPackageInput) (r // API operation DeleteModelPackage for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict when you attempted to modify a SageMaker entity such -// as an Experiment or Artifact. +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage func (c *SageMaker) DeleteModelPackage(input *DeleteModelPackageInput) (*DeleteModelPackageOutput, error) { @@ -6522,14 +6482,13 @@ const opDeleteModelPackageGroup = "DeleteModelPackageGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteModelPackageGroupRequest method. +// req, resp := client.DeleteModelPackageGroupRequest(params) // -// // Example sending a request using the DeleteModelPackageGroupRequest method. -// req, resp := client.DeleteModelPackageGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackageGroup func (c *SageMaker) DeleteModelPackageGroupRequest(input *DeleteModelPackageGroupInput) (req *request.Request, output *DeleteModelPackageGroupOutput) { @@ -6561,9 +6520,9 @@ func (c *SageMaker) DeleteModelPackageGroupRequest(input *DeleteModelPackageGrou // API operation DeleteModelPackageGroup for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict when you attempted to modify a SageMaker entity such -// as an Experiment or Artifact. +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackageGroup func (c *SageMaker) DeleteModelPackageGroup(input *DeleteModelPackageGroupInput) (*DeleteModelPackageGroupOutput, error) { @@ -6603,14 +6562,13 @@ const opDeleteModelPackageGroupPolicy = "DeleteModelPackageGroupPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteModelPackageGroupPolicyRequest method. +// req, resp := client.DeleteModelPackageGroupPolicyRequest(params) // -// // Example sending a request using the DeleteModelPackageGroupPolicyRequest method. -// req, resp := client.DeleteModelPackageGroupPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackageGroupPolicy func (c *SageMaker) DeleteModelPackageGroupPolicyRequest(input *DeleteModelPackageGroupPolicyInput) (req *request.Request, output *DeleteModelPackageGroupPolicyOutput) { @@ -6678,14 +6636,13 @@ const opDeleteModelQualityJobDefinition = "DeleteModelQualityJobDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteModelQualityJobDefinitionRequest method. +// req, resp := client.DeleteModelQualityJobDefinitionRequest(params) // -// // Example sending a request using the DeleteModelQualityJobDefinitionRequest method. -// req, resp := client.DeleteModelQualityJobDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelQualityJobDefinition func (c *SageMaker) DeleteModelQualityJobDefinitionRequest(input *DeleteModelQualityJobDefinitionInput) (req *request.Request, output *DeleteModelQualityJobDefinitionOutput) { @@ -6717,8 +6674,8 @@ func (c *SageMaker) DeleteModelQualityJobDefinitionRequest(input *DeleteModelQua // API operation DeleteModelQualityJobDefinition for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelQualityJobDefinition func (c *SageMaker) DeleteModelQualityJobDefinition(input *DeleteModelQualityJobDefinitionInput) (*DeleteModelQualityJobDefinitionOutput, error) { @@ -6758,14 +6715,13 @@ const opDeleteMonitoringSchedule = "DeleteMonitoringSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMonitoringScheduleRequest method. +// req, resp := client.DeleteMonitoringScheduleRequest(params) // -// // Example sending a request using the DeleteMonitoringScheduleRequest method. -// req, resp := client.DeleteMonitoringScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteMonitoringSchedule func (c *SageMaker) DeleteMonitoringScheduleRequest(input *DeleteMonitoringScheduleInput) (req *request.Request, output *DeleteMonitoringScheduleOutput) { @@ -6799,8 +6755,8 @@ func (c *SageMaker) DeleteMonitoringScheduleRequest(input *DeleteMonitoringSched // API operation DeleteMonitoringSchedule for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteMonitoringSchedule func (c *SageMaker) DeleteMonitoringSchedule(input *DeleteMonitoringScheduleInput) (*DeleteMonitoringScheduleOutput, error) { @@ -6840,14 +6796,13 @@ const opDeleteNotebookInstance = "DeleteNotebookInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNotebookInstanceRequest method. +// req, resp := client.DeleteNotebookInstanceRequest(params) // -// // Example sending a request using the DeleteNotebookInstanceRequest method. -// req, resp := client.DeleteNotebookInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance func (c *SageMaker) DeleteNotebookInstanceRequest(input *DeleteNotebookInstanceInput) (req *request.Request, output *DeleteNotebookInstanceOutput) { @@ -6920,14 +6875,13 @@ const opDeleteNotebookInstanceLifecycleConfig = "DeleteNotebookInstanceLifecycle // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNotebookInstanceLifecycleConfigRequest method. +// req, resp := client.DeleteNotebookInstanceLifecycleConfigRequest(params) // -// // Example sending a request using the DeleteNotebookInstanceLifecycleConfigRequest method. -// req, resp := client.DeleteNotebookInstanceLifecycleConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfig func (c *SageMaker) DeleteNotebookInstanceLifecycleConfigRequest(input *DeleteNotebookInstanceLifecycleConfigInput) (req *request.Request, output *DeleteNotebookInstanceLifecycleConfigOutput) { @@ -6995,14 +6949,13 @@ const opDeletePipeline = "DeletePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePipelineRequest method. +// req, resp := client.DeletePipelineRequest(params) // -// // Example sending a request using the DeletePipelineRequest method. -// req, resp := client.DeletePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeletePipeline func (c *SageMaker) DeletePipelineRequest(input *DeletePipelineInput) (req *request.Request, output *DeletePipelineOutput) { @@ -7036,8 +6989,8 @@ func (c *SageMaker) DeletePipelineRequest(input *DeletePipelineInput) (req *requ // API operation DeletePipeline for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeletePipeline func (c *SageMaker) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error) { @@ -7077,14 +7030,13 @@ const opDeleteProject = "DeleteProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProjectRequest method. +// req, resp := client.DeleteProjectRequest(params) // -// // Example sending a request using the DeleteProjectRequest method. -// req, resp := client.DeleteProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteProject func (c *SageMaker) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) { @@ -7116,9 +7068,9 @@ func (c *SageMaker) DeleteProjectRequest(input *DeleteProjectInput) (req *reques // API operation DeleteProject for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict when you attempted to modify a SageMaker entity such -// as an Experiment or Artifact. +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteProject func (c *SageMaker) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) { @@ -7158,14 +7110,13 @@ const opDeleteStudioLifecycleConfig = "DeleteStudioLifecycleConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStudioLifecycleConfigRequest method. +// req, resp := client.DeleteStudioLifecycleConfigRequest(params) // -// // Example sending a request using the DeleteStudioLifecycleConfigRequest method. -// req, resp := client.DeleteStudioLifecycleConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteStudioLifecycleConfig func (c *SageMaker) DeleteStudioLifecycleConfigRequest(input *DeleteStudioLifecycleConfigInput) (req *request.Request, output *DeleteStudioLifecycleConfigOutput) { @@ -7200,11 +7151,12 @@ func (c *SageMaker) DeleteStudioLifecycleConfigRequest(input *DeleteStudioLifecy // API operation DeleteStudioLifecycleConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. // -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceNotFound +// Resource being access is not found. +// +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteStudioLifecycleConfig func (c *SageMaker) DeleteStudioLifecycleConfig(input *DeleteStudioLifecycleConfigInput) (*DeleteStudioLifecycleConfigOutput, error) { @@ -7244,14 +7196,13 @@ const opDeleteTags = "DeleteTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTagsRequest method. +// req, resp := client.DeleteTagsRequest(params) // -// // Example sending a request using the DeleteTagsRequest method. -// req, resp := client.DeleteTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags func (c *SageMaker) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { @@ -7329,14 +7280,13 @@ const opDeleteTrial = "DeleteTrial" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTrialRequest method. +// req, resp := client.DeleteTrialRequest(params) // -// // Example sending a request using the DeleteTrialRequest method. -// req, resp := client.DeleteTrialRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrial func (c *SageMaker) DeleteTrialRequest(input *DeleteTrialInput) (req *request.Request, output *DeleteTrialOutput) { @@ -7369,8 +7319,8 @@ func (c *SageMaker) DeleteTrialRequest(input *DeleteTrialInput) (req *request.Re // API operation DeleteTrial for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrial func (c *SageMaker) DeleteTrial(input *DeleteTrialInput) (*DeleteTrialOutput, error) { @@ -7410,14 +7360,13 @@ const opDeleteTrialComponent = "DeleteTrialComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTrialComponentRequest method. +// req, resp := client.DeleteTrialComponentRequest(params) // -// // Example sending a request using the DeleteTrialComponentRequest method. -// req, resp := client.DeleteTrialComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrialComponent func (c *SageMaker) DeleteTrialComponentRequest(input *DeleteTrialComponentInput) (req *request.Request, output *DeleteTrialComponentOutput) { @@ -7450,8 +7399,8 @@ func (c *SageMaker) DeleteTrialComponentRequest(input *DeleteTrialComponentInput // API operation DeleteTrialComponent for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrialComponent func (c *SageMaker) DeleteTrialComponent(input *DeleteTrialComponentInput) (*DeleteTrialComponentOutput, error) { @@ -7491,14 +7440,13 @@ const opDeleteUserProfile = "DeleteUserProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserProfileRequest method. +// req, resp := client.DeleteUserProfileRequest(params) // -// // Example sending a request using the DeleteUserProfileRequest method. -// req, resp := client.DeleteUserProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteUserProfile func (c *SageMaker) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req *request.Request, output *DeleteUserProfileOutput) { @@ -7531,11 +7479,12 @@ func (c *SageMaker) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req // API operation DeleteUserProfile for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceNotFound -// Resource being access is not found. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteUserProfile func (c *SageMaker) DeleteUserProfile(input *DeleteUserProfileInput) (*DeleteUserProfileOutput, error) { @@ -7575,14 +7524,13 @@ const opDeleteWorkforce = "DeleteWorkforce" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorkforceRequest method. +// req, resp := client.DeleteWorkforceRequest(params) // -// // Example sending a request using the DeleteWorkforceRequest method. -// req, resp := client.DeleteWorkforceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkforce func (c *SageMaker) DeleteWorkforceRequest(input *DeleteWorkforceInput) (req *request.Request, output *DeleteWorkforceOutput) { @@ -7659,14 +7607,13 @@ const opDeleteWorkteam = "DeleteWorkteam" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorkteamRequest method. +// req, resp := client.DeleteWorkteamRequest(params) // -// // Example sending a request using the DeleteWorkteamRequest method. -// req, resp := client.DeleteWorkteamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkteam func (c *SageMaker) DeleteWorkteamRequest(input *DeleteWorkteamInput) (req *request.Request, output *DeleteWorkteamOutput) { @@ -7697,9 +7644,9 @@ func (c *SageMaker) DeleteWorkteamRequest(input *DeleteWorkteamInput) (req *requ // API operation DeleteWorkteam for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkteam func (c *SageMaker) DeleteWorkteam(input *DeleteWorkteamInput) (*DeleteWorkteamOutput, error) { @@ -7739,14 +7686,13 @@ const opDeregisterDevices = "DeregisterDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterDevicesRequest method. +// req, resp := client.DeregisterDevicesRequest(params) // -// // Example sending a request using the DeregisterDevicesRequest method. -// req, resp := client.DeregisterDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeregisterDevices func (c *SageMaker) DeregisterDevicesRequest(input *DeregisterDevicesInput) (req *request.Request, output *DeregisterDevicesOutput) { @@ -7815,14 +7761,13 @@ const opDescribeAction = "DescribeAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeActionRequest method. +// req, resp := client.DescribeActionRequest(params) // -// // Example sending a request using the DescribeActionRequest method. -// req, resp := client.DescribeActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAction func (c *SageMaker) DescribeActionRequest(input *DescribeActionInput) (req *request.Request, output *DescribeActionOutput) { @@ -7853,8 +7798,8 @@ func (c *SageMaker) DescribeActionRequest(input *DescribeActionInput) (req *requ // API operation DescribeAction for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAction func (c *SageMaker) DescribeAction(input *DescribeActionInput) (*DescribeActionOutput, error) { @@ -7894,14 +7839,13 @@ const opDescribeAlgorithm = "DescribeAlgorithm" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAlgorithmRequest method. +// req, resp := client.DescribeAlgorithmRequest(params) // -// // Example sending a request using the DescribeAlgorithmRequest method. -// req, resp := client.DescribeAlgorithmRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAlgorithm func (c *SageMaker) DescribeAlgorithmRequest(input *DescribeAlgorithmInput) (req *request.Request, output *DescribeAlgorithmOutput) { @@ -7968,14 +7912,13 @@ const opDescribeApp = "DescribeApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAppRequest method. +// req, resp := client.DescribeAppRequest(params) // -// // Example sending a request using the DescribeAppRequest method. -// req, resp := client.DescribeAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeApp func (c *SageMaker) DescribeAppRequest(input *DescribeAppInput) (req *request.Request, output *DescribeAppOutput) { @@ -8006,8 +7949,8 @@ func (c *SageMaker) DescribeAppRequest(input *DescribeAppInput) (req *request.Re // API operation DescribeApp for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeApp func (c *SageMaker) DescribeApp(input *DescribeAppInput) (*DescribeAppOutput, error) { @@ -8047,14 +7990,13 @@ const opDescribeAppImageConfig = "DescribeAppImageConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAppImageConfigRequest method. +// req, resp := client.DescribeAppImageConfigRequest(params) // -// // Example sending a request using the DescribeAppImageConfigRequest method. -// req, resp := client.DescribeAppImageConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAppImageConfig func (c *SageMaker) DescribeAppImageConfigRequest(input *DescribeAppImageConfigInput) (req *request.Request, output *DescribeAppImageConfigOutput) { @@ -8085,8 +8027,8 @@ func (c *SageMaker) DescribeAppImageConfigRequest(input *DescribeAppImageConfigI // API operation DescribeAppImageConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAppImageConfig func (c *SageMaker) DescribeAppImageConfig(input *DescribeAppImageConfigInput) (*DescribeAppImageConfigOutput, error) { @@ -8126,14 +8068,13 @@ const opDescribeArtifact = "DescribeArtifact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeArtifactRequest method. +// req, resp := client.DescribeArtifactRequest(params) // -// // Example sending a request using the DescribeArtifactRequest method. -// req, resp := client.DescribeArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeArtifact func (c *SageMaker) DescribeArtifactRequest(input *DescribeArtifactInput) (req *request.Request, output *DescribeArtifactOutput) { @@ -8164,8 +8105,8 @@ func (c *SageMaker) DescribeArtifactRequest(input *DescribeArtifactInput) (req * // API operation DescribeArtifact for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeArtifact func (c *SageMaker) DescribeArtifact(input *DescribeArtifactInput) (*DescribeArtifactOutput, error) { @@ -8205,14 +8146,13 @@ const opDescribeAutoMLJob = "DescribeAutoMLJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAutoMLJobRequest method. +// req, resp := client.DescribeAutoMLJobRequest(params) // -// // Example sending a request using the DescribeAutoMLJobRequest method. -// req, resp := client.DescribeAutoMLJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAutoMLJob func (c *SageMaker) DescribeAutoMLJobRequest(input *DescribeAutoMLJobInput) (req *request.Request, output *DescribeAutoMLJobOutput) { @@ -8243,8 +8183,8 @@ func (c *SageMaker) DescribeAutoMLJobRequest(input *DescribeAutoMLJobInput) (req // API operation DescribeAutoMLJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAutoMLJob func (c *SageMaker) DescribeAutoMLJob(input *DescribeAutoMLJobInput) (*DescribeAutoMLJobOutput, error) { @@ -8284,14 +8224,13 @@ const opDescribeCodeRepository = "DescribeCodeRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCodeRepositoryRequest method. +// req, resp := client.DescribeCodeRepositoryRequest(params) // -// // Example sending a request using the DescribeCodeRepositoryRequest method. -// req, resp := client.DescribeCodeRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCodeRepository func (c *SageMaker) DescribeCodeRepositoryRequest(input *DescribeCodeRepositoryInput) (req *request.Request, output *DescribeCodeRepositoryOutput) { @@ -8358,14 +8297,13 @@ const opDescribeCompilationJob = "DescribeCompilationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCompilationJobRequest method. +// req, resp := client.DescribeCompilationJobRequest(params) // -// // Example sending a request using the DescribeCompilationJobRequest method. -// req, resp := client.DescribeCompilationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob func (c *SageMaker) DescribeCompilationJobRequest(input *DescribeCompilationJobInput) (req *request.Request, output *DescribeCompilationJobOutput) { @@ -8399,8 +8337,8 @@ func (c *SageMaker) DescribeCompilationJobRequest(input *DescribeCompilationJobI // API operation DescribeCompilationJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob func (c *SageMaker) DescribeCompilationJob(input *DescribeCompilationJobInput) (*DescribeCompilationJobOutput, error) { @@ -8440,14 +8378,13 @@ const opDescribeContext = "DescribeContext" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeContextRequest method. +// req, resp := client.DescribeContextRequest(params) // -// // Example sending a request using the DescribeContextRequest method. -// req, resp := client.DescribeContextRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeContext func (c *SageMaker) DescribeContextRequest(input *DescribeContextInput) (req *request.Request, output *DescribeContextOutput) { @@ -8478,8 +8415,8 @@ func (c *SageMaker) DescribeContextRequest(input *DescribeContextInput) (req *re // API operation DescribeContext for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeContext func (c *SageMaker) DescribeContext(input *DescribeContextInput) (*DescribeContextOutput, error) { @@ -8519,14 +8456,13 @@ const opDescribeDataQualityJobDefinition = "DescribeDataQualityJobDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDataQualityJobDefinitionRequest method. +// req, resp := client.DescribeDataQualityJobDefinitionRequest(params) // -// // Example sending a request using the DescribeDataQualityJobDefinitionRequest method. -// req, resp := client.DescribeDataQualityJobDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDataQualityJobDefinition func (c *SageMaker) DescribeDataQualityJobDefinitionRequest(input *DescribeDataQualityJobDefinitionInput) (req *request.Request, output *DescribeDataQualityJobDefinitionOutput) { @@ -8557,8 +8493,8 @@ func (c *SageMaker) DescribeDataQualityJobDefinitionRequest(input *DescribeDataQ // API operation DescribeDataQualityJobDefinition for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDataQualityJobDefinition func (c *SageMaker) DescribeDataQualityJobDefinition(input *DescribeDataQualityJobDefinitionInput) (*DescribeDataQualityJobDefinitionOutput, error) { @@ -8598,14 +8534,13 @@ const opDescribeDevice = "DescribeDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDeviceRequest method. +// req, resp := client.DescribeDeviceRequest(params) // -// // Example sending a request using the DescribeDeviceRequest method. -// req, resp := client.DescribeDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDevice func (c *SageMaker) DescribeDeviceRequest(input *DescribeDeviceInput) (req *request.Request, output *DescribeDeviceOutput) { @@ -8636,8 +8571,8 @@ func (c *SageMaker) DescribeDeviceRequest(input *DescribeDeviceInput) (req *requ // API operation DescribeDevice for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDevice func (c *SageMaker) DescribeDevice(input *DescribeDeviceInput) (*DescribeDeviceOutput, error) { @@ -8677,14 +8612,13 @@ const opDescribeDeviceFleet = "DescribeDeviceFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDeviceFleetRequest method. +// req, resp := client.DescribeDeviceFleetRequest(params) // -// // Example sending a request using the DescribeDeviceFleetRequest method. -// req, resp := client.DescribeDeviceFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDeviceFleet func (c *SageMaker) DescribeDeviceFleetRequest(input *DescribeDeviceFleetInput) (req *request.Request, output *DescribeDeviceFleetOutput) { @@ -8715,8 +8649,8 @@ func (c *SageMaker) DescribeDeviceFleetRequest(input *DescribeDeviceFleetInput) // API operation DescribeDeviceFleet for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDeviceFleet func (c *SageMaker) DescribeDeviceFleet(input *DescribeDeviceFleetInput) (*DescribeDeviceFleetOutput, error) { @@ -8756,14 +8690,13 @@ const opDescribeDomain = "DescribeDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainRequest method. +// req, resp := client.DescribeDomainRequest(params) // -// // Example sending a request using the DescribeDomainRequest method. -// req, resp := client.DescribeDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDomain func (c *SageMaker) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Request, output *DescribeDomainOutput) { @@ -8794,8 +8727,8 @@ func (c *SageMaker) DescribeDomainRequest(input *DescribeDomainInput) (req *requ // API operation DescribeDomain for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDomain func (c *SageMaker) DescribeDomain(input *DescribeDomainInput) (*DescribeDomainOutput, error) { @@ -8835,14 +8768,13 @@ const opDescribeEdgePackagingJob = "DescribeEdgePackagingJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEdgePackagingJobRequest method. +// req, resp := client.DescribeEdgePackagingJobRequest(params) // -// // Example sending a request using the DescribeEdgePackagingJobRequest method. -// req, resp := client.DescribeEdgePackagingJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEdgePackagingJob func (c *SageMaker) DescribeEdgePackagingJobRequest(input *DescribeEdgePackagingJobInput) (req *request.Request, output *DescribeEdgePackagingJobOutput) { @@ -8873,8 +8805,8 @@ func (c *SageMaker) DescribeEdgePackagingJobRequest(input *DescribeEdgePackaging // API operation DescribeEdgePackagingJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEdgePackagingJob func (c *SageMaker) DescribeEdgePackagingJob(input *DescribeEdgePackagingJobInput) (*DescribeEdgePackagingJobOutput, error) { @@ -8914,14 +8846,13 @@ const opDescribeEndpoint = "DescribeEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointRequest method. +// req, resp := client.DescribeEndpointRequest(params) // -// // Example sending a request using the DescribeEndpointRequest method. -// req, resp := client.DescribeEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint func (c *SageMaker) DescribeEndpointRequest(input *DescribeEndpointInput) (req *request.Request, output *DescribeEndpointOutput) { @@ -8988,14 +8919,13 @@ const opDescribeEndpointConfig = "DescribeEndpointConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointConfigRequest method. +// req, resp := client.DescribeEndpointConfigRequest(params) // -// // Example sending a request using the DescribeEndpointConfigRequest method. -// req, resp := client.DescribeEndpointConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig func (c *SageMaker) DescribeEndpointConfigRequest(input *DescribeEndpointConfigInput) (req *request.Request, output *DescribeEndpointConfigOutput) { @@ -9063,14 +8993,13 @@ const opDescribeExperiment = "DescribeExperiment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExperimentRequest method. +// req, resp := client.DescribeExperimentRequest(params) // -// // Example sending a request using the DescribeExperimentRequest method. -// req, resp := client.DescribeExperimentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeExperiment func (c *SageMaker) DescribeExperimentRequest(input *DescribeExperimentInput) (req *request.Request, output *DescribeExperimentOutput) { @@ -9101,8 +9030,8 @@ func (c *SageMaker) DescribeExperimentRequest(input *DescribeExperimentInput) (r // API operation DescribeExperiment for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeExperiment func (c *SageMaker) DescribeExperiment(input *DescribeExperimentInput) (*DescribeExperimentOutput, error) { @@ -9142,14 +9071,13 @@ const opDescribeFeatureGroup = "DescribeFeatureGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFeatureGroupRequest method. +// req, resp := client.DescribeFeatureGroupRequest(params) // -// // Example sending a request using the DescribeFeatureGroupRequest method. -// req, resp := client.DescribeFeatureGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFeatureGroup func (c *SageMaker) DescribeFeatureGroupRequest(input *DescribeFeatureGroupInput) (req *request.Request, output *DescribeFeatureGroupOutput) { @@ -9182,8 +9110,8 @@ func (c *SageMaker) DescribeFeatureGroupRequest(input *DescribeFeatureGroupInput // API operation DescribeFeatureGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFeatureGroup func (c *SageMaker) DescribeFeatureGroup(input *DescribeFeatureGroupInput) (*DescribeFeatureGroupOutput, error) { @@ -9223,14 +9151,13 @@ const opDescribeFlowDefinition = "DescribeFlowDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFlowDefinitionRequest method. +// req, resp := client.DescribeFlowDefinitionRequest(params) // -// // Example sending a request using the DescribeFlowDefinitionRequest method. -// req, resp := client.DescribeFlowDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFlowDefinition func (c *SageMaker) DescribeFlowDefinitionRequest(input *DescribeFlowDefinitionInput) (req *request.Request, output *DescribeFlowDefinitionOutput) { @@ -9261,8 +9188,8 @@ func (c *SageMaker) DescribeFlowDefinitionRequest(input *DescribeFlowDefinitionI // API operation DescribeFlowDefinition for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFlowDefinition func (c *SageMaker) DescribeFlowDefinition(input *DescribeFlowDefinitionInput) (*DescribeFlowDefinitionOutput, error) { @@ -9302,14 +9229,13 @@ const opDescribeHumanTaskUi = "DescribeHumanTaskUi" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHumanTaskUiRequest method. +// req, resp := client.DescribeHumanTaskUiRequest(params) // -// // Example sending a request using the DescribeHumanTaskUiRequest method. -// req, resp := client.DescribeHumanTaskUiRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHumanTaskUi func (c *SageMaker) DescribeHumanTaskUiRequest(input *DescribeHumanTaskUiInput) (req *request.Request, output *DescribeHumanTaskUiOutput) { @@ -9341,8 +9267,8 @@ func (c *SageMaker) DescribeHumanTaskUiRequest(input *DescribeHumanTaskUiInput) // API operation DescribeHumanTaskUi for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHumanTaskUi func (c *SageMaker) DescribeHumanTaskUi(input *DescribeHumanTaskUiInput) (*DescribeHumanTaskUiOutput, error) { @@ -9382,14 +9308,13 @@ const opDescribeHyperParameterTuningJob = "DescribeHyperParameterTuningJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHyperParameterTuningJobRequest method. +// req, resp := client.DescribeHyperParameterTuningJobRequest(params) // -// // Example sending a request using the DescribeHyperParameterTuningJobRequest method. -// req, resp := client.DescribeHyperParameterTuningJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob func (c *SageMaker) DescribeHyperParameterTuningJobRequest(input *DescribeHyperParameterTuningJobInput) (req *request.Request, output *DescribeHyperParameterTuningJobOutput) { @@ -9420,8 +9345,8 @@ func (c *SageMaker) DescribeHyperParameterTuningJobRequest(input *DescribeHyperP // API operation DescribeHyperParameterTuningJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob func (c *SageMaker) DescribeHyperParameterTuningJob(input *DescribeHyperParameterTuningJobInput) (*DescribeHyperParameterTuningJobOutput, error) { @@ -9461,14 +9386,13 @@ const opDescribeImage = "DescribeImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImageRequest method. +// req, resp := client.DescribeImageRequest(params) // -// // Example sending a request using the DescribeImageRequest method. -// req, resp := client.DescribeImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImage func (c *SageMaker) DescribeImageRequest(input *DescribeImageInput) (req *request.Request, output *DescribeImageOutput) { @@ -9499,8 +9423,8 @@ func (c *SageMaker) DescribeImageRequest(input *DescribeImageInput) (req *reques // API operation DescribeImage for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImage func (c *SageMaker) DescribeImage(input *DescribeImageInput) (*DescribeImageOutput, error) { @@ -9540,14 +9464,13 @@ const opDescribeImageVersion = "DescribeImageVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeImageVersionRequest method. +// req, resp := client.DescribeImageVersionRequest(params) // -// // Example sending a request using the DescribeImageVersionRequest method. -// req, resp := client.DescribeImageVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageVersion func (c *SageMaker) DescribeImageVersionRequest(input *DescribeImageVersionInput) (req *request.Request, output *DescribeImageVersionOutput) { @@ -9578,8 +9501,8 @@ func (c *SageMaker) DescribeImageVersionRequest(input *DescribeImageVersionInput // API operation DescribeImageVersion for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageVersion func (c *SageMaker) DescribeImageVersion(input *DescribeImageVersionInput) (*DescribeImageVersionOutput, error) { @@ -9619,14 +9542,13 @@ const opDescribeInferenceRecommendationsJob = "DescribeInferenceRecommendationsJ // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInferenceRecommendationsJobRequest method. +// req, resp := client.DescribeInferenceRecommendationsJobRequest(params) // -// // Example sending a request using the DescribeInferenceRecommendationsJobRequest method. -// req, resp := client.DescribeInferenceRecommendationsJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeInferenceRecommendationsJob func (c *SageMaker) DescribeInferenceRecommendationsJobRequest(input *DescribeInferenceRecommendationsJobInput) (req *request.Request, output *DescribeInferenceRecommendationsJobOutput) { @@ -9658,8 +9580,8 @@ func (c *SageMaker) DescribeInferenceRecommendationsJobRequest(input *DescribeIn // API operation DescribeInferenceRecommendationsJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeInferenceRecommendationsJob func (c *SageMaker) DescribeInferenceRecommendationsJob(input *DescribeInferenceRecommendationsJobInput) (*DescribeInferenceRecommendationsJobOutput, error) { @@ -9699,14 +9621,13 @@ const opDescribeLabelingJob = "DescribeLabelingJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLabelingJobRequest method. +// req, resp := client.DescribeLabelingJobRequest(params) // -// // Example sending a request using the DescribeLabelingJobRequest method. -// req, resp := client.DescribeLabelingJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLabelingJob func (c *SageMaker) DescribeLabelingJobRequest(input *DescribeLabelingJobInput) (req *request.Request, output *DescribeLabelingJobOutput) { @@ -9737,8 +9658,8 @@ func (c *SageMaker) DescribeLabelingJobRequest(input *DescribeLabelingJobInput) // API operation DescribeLabelingJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLabelingJob func (c *SageMaker) DescribeLabelingJob(input *DescribeLabelingJobInput) (*DescribeLabelingJobOutput, error) { @@ -9778,14 +9699,13 @@ const opDescribeLineageGroup = "DescribeLineageGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLineageGroupRequest method. +// req, resp := client.DescribeLineageGroupRequest(params) // -// // Example sending a request using the DescribeLineageGroupRequest method. -// req, resp := client.DescribeLineageGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLineageGroup func (c *SageMaker) DescribeLineageGroupRequest(input *DescribeLineageGroupInput) (req *request.Request, output *DescribeLineageGroupOutput) { @@ -9818,8 +9738,8 @@ func (c *SageMaker) DescribeLineageGroupRequest(input *DescribeLineageGroupInput // API operation DescribeLineageGroup for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLineageGroup func (c *SageMaker) DescribeLineageGroup(input *DescribeLineageGroupInput) (*DescribeLineageGroupOutput, error) { @@ -9859,14 +9779,13 @@ const opDescribeModel = "DescribeModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeModelRequest method. +// req, resp := client.DescribeModelRequest(params) // -// // Example sending a request using the DescribeModelRequest method. -// req, resp := client.DescribeModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel func (c *SageMaker) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput) { @@ -9933,14 +9852,13 @@ const opDescribeModelBiasJobDefinition = "DescribeModelBiasJobDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeModelBiasJobDefinitionRequest method. +// req, resp := client.DescribeModelBiasJobDefinitionRequest(params) // -// // Example sending a request using the DescribeModelBiasJobDefinitionRequest method. -// req, resp := client.DescribeModelBiasJobDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelBiasJobDefinition func (c *SageMaker) DescribeModelBiasJobDefinitionRequest(input *DescribeModelBiasJobDefinitionInput) (req *request.Request, output *DescribeModelBiasJobDefinitionOutput) { @@ -9971,8 +9889,8 @@ func (c *SageMaker) DescribeModelBiasJobDefinitionRequest(input *DescribeModelBi // API operation DescribeModelBiasJobDefinition for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelBiasJobDefinition func (c *SageMaker) DescribeModelBiasJobDefinition(input *DescribeModelBiasJobDefinitionInput) (*DescribeModelBiasJobDefinitionOutput, error) { @@ -10012,14 +9930,13 @@ const opDescribeModelExplainabilityJobDefinition = "DescribeModelExplainabilityJ // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeModelExplainabilityJobDefinitionRequest method. +// req, resp := client.DescribeModelExplainabilityJobDefinitionRequest(params) // -// // Example sending a request using the DescribeModelExplainabilityJobDefinitionRequest method. -// req, resp := client.DescribeModelExplainabilityJobDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelExplainabilityJobDefinition func (c *SageMaker) DescribeModelExplainabilityJobDefinitionRequest(input *DescribeModelExplainabilityJobDefinitionInput) (req *request.Request, output *DescribeModelExplainabilityJobDefinitionOutput) { @@ -10050,8 +9967,8 @@ func (c *SageMaker) DescribeModelExplainabilityJobDefinitionRequest(input *Descr // API operation DescribeModelExplainabilityJobDefinition for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelExplainabilityJobDefinition func (c *SageMaker) DescribeModelExplainabilityJobDefinition(input *DescribeModelExplainabilityJobDefinitionInput) (*DescribeModelExplainabilityJobDefinitionOutput, error) { @@ -10091,14 +10008,13 @@ const opDescribeModelPackage = "DescribeModelPackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeModelPackageRequest method. +// req, resp := client.DescribeModelPackageRequest(params) // -// // Example sending a request using the DescribeModelPackageRequest method. -// req, resp := client.DescribeModelPackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage func (c *SageMaker) DescribeModelPackageRequest(input *DescribeModelPackageInput) (req *request.Request, output *DescribeModelPackageOutput) { @@ -10169,14 +10085,13 @@ const opDescribeModelPackageGroup = "DescribeModelPackageGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeModelPackageGroupRequest method. +// req, resp := client.DescribeModelPackageGroupRequest(params) // -// // Example sending a request using the DescribeModelPackageGroupRequest method. -// req, resp := client.DescribeModelPackageGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackageGroup func (c *SageMaker) DescribeModelPackageGroupRequest(input *DescribeModelPackageGroupInput) (req *request.Request, output *DescribeModelPackageGroupOutput) { @@ -10243,14 +10158,13 @@ const opDescribeModelQualityJobDefinition = "DescribeModelQualityJobDefinition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeModelQualityJobDefinitionRequest method. +// req, resp := client.DescribeModelQualityJobDefinitionRequest(params) // -// // Example sending a request using the DescribeModelQualityJobDefinitionRequest method. -// req, resp := client.DescribeModelQualityJobDefinitionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelQualityJobDefinition func (c *SageMaker) DescribeModelQualityJobDefinitionRequest(input *DescribeModelQualityJobDefinitionInput) (req *request.Request, output *DescribeModelQualityJobDefinitionOutput) { @@ -10281,8 +10195,8 @@ func (c *SageMaker) DescribeModelQualityJobDefinitionRequest(input *DescribeMode // API operation DescribeModelQualityJobDefinition for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelQualityJobDefinition func (c *SageMaker) DescribeModelQualityJobDefinition(input *DescribeModelQualityJobDefinitionInput) (*DescribeModelQualityJobDefinitionOutput, error) { @@ -10322,14 +10236,13 @@ const opDescribeMonitoringSchedule = "DescribeMonitoringSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMonitoringScheduleRequest method. +// req, resp := client.DescribeMonitoringScheduleRequest(params) // -// // Example sending a request using the DescribeMonitoringScheduleRequest method. -// req, resp := client.DescribeMonitoringScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeMonitoringSchedule func (c *SageMaker) DescribeMonitoringScheduleRequest(input *DescribeMonitoringScheduleInput) (req *request.Request, output *DescribeMonitoringScheduleOutput) { @@ -10360,8 +10273,8 @@ func (c *SageMaker) DescribeMonitoringScheduleRequest(input *DescribeMonitoringS // API operation DescribeMonitoringSchedule for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeMonitoringSchedule func (c *SageMaker) DescribeMonitoringSchedule(input *DescribeMonitoringScheduleInput) (*DescribeMonitoringScheduleOutput, error) { @@ -10401,14 +10314,13 @@ const opDescribeNotebookInstance = "DescribeNotebookInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNotebookInstanceRequest method. +// req, resp := client.DescribeNotebookInstanceRequest(params) // -// // Example sending a request using the DescribeNotebookInstanceRequest method. -// req, resp := client.DescribeNotebookInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance func (c *SageMaker) DescribeNotebookInstanceRequest(input *DescribeNotebookInstanceInput) (req *request.Request, output *DescribeNotebookInstanceOutput) { @@ -10475,14 +10387,13 @@ const opDescribeNotebookInstanceLifecycleConfig = "DescribeNotebookInstanceLifec // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNotebookInstanceLifecycleConfigRequest method. +// req, resp := client.DescribeNotebookInstanceLifecycleConfigRequest(params) // -// // Example sending a request using the DescribeNotebookInstanceLifecycleConfigRequest method. -// req, resp := client.DescribeNotebookInstanceLifecycleConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfig func (c *SageMaker) DescribeNotebookInstanceLifecycleConfigRequest(input *DescribeNotebookInstanceLifecycleConfigInput) (req *request.Request, output *DescribeNotebookInstanceLifecycleConfigOutput) { @@ -10552,14 +10463,13 @@ const opDescribePipeline = "DescribePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePipelineRequest method. +// req, resp := client.DescribePipelineRequest(params) // -// // Example sending a request using the DescribePipelineRequest method. -// req, resp := client.DescribePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipeline func (c *SageMaker) DescribePipelineRequest(input *DescribePipelineInput) (req *request.Request, output *DescribePipelineOutput) { @@ -10590,8 +10500,8 @@ func (c *SageMaker) DescribePipelineRequest(input *DescribePipelineInput) (req * // API operation DescribePipeline for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipeline func (c *SageMaker) DescribePipeline(input *DescribePipelineInput) (*DescribePipelineOutput, error) { @@ -10631,14 +10541,13 @@ const opDescribePipelineDefinitionForExecution = "DescribePipelineDefinitionForE // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePipelineDefinitionForExecutionRequest method. +// req, resp := client.DescribePipelineDefinitionForExecutionRequest(params) // -// // Example sending a request using the DescribePipelineDefinitionForExecutionRequest method. -// req, resp := client.DescribePipelineDefinitionForExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineDefinitionForExecution func (c *SageMaker) DescribePipelineDefinitionForExecutionRequest(input *DescribePipelineDefinitionForExecutionInput) (req *request.Request, output *DescribePipelineDefinitionForExecutionOutput) { @@ -10669,8 +10578,8 @@ func (c *SageMaker) DescribePipelineDefinitionForExecutionRequest(input *Describ // API operation DescribePipelineDefinitionForExecution for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineDefinitionForExecution func (c *SageMaker) DescribePipelineDefinitionForExecution(input *DescribePipelineDefinitionForExecutionInput) (*DescribePipelineDefinitionForExecutionOutput, error) { @@ -10710,14 +10619,13 @@ const opDescribePipelineExecution = "DescribePipelineExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePipelineExecutionRequest method. +// req, resp := client.DescribePipelineExecutionRequest(params) // -// // Example sending a request using the DescribePipelineExecutionRequest method. -// req, resp := client.DescribePipelineExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineExecution func (c *SageMaker) DescribePipelineExecutionRequest(input *DescribePipelineExecutionInput) (req *request.Request, output *DescribePipelineExecutionOutput) { @@ -10748,8 +10656,8 @@ func (c *SageMaker) DescribePipelineExecutionRequest(input *DescribePipelineExec // API operation DescribePipelineExecution for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineExecution func (c *SageMaker) DescribePipelineExecution(input *DescribePipelineExecutionInput) (*DescribePipelineExecutionOutput, error) { @@ -10789,14 +10697,13 @@ const opDescribeProcessingJob = "DescribeProcessingJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProcessingJobRequest method. +// req, resp := client.DescribeProcessingJobRequest(params) // -// // Example sending a request using the DescribeProcessingJobRequest method. -// req, resp := client.DescribeProcessingJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProcessingJob func (c *SageMaker) DescribeProcessingJobRequest(input *DescribeProcessingJobInput) (req *request.Request, output *DescribeProcessingJobOutput) { @@ -10827,8 +10734,8 @@ func (c *SageMaker) DescribeProcessingJobRequest(input *DescribeProcessingJobInp // API operation DescribeProcessingJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProcessingJob func (c *SageMaker) DescribeProcessingJob(input *DescribeProcessingJobInput) (*DescribeProcessingJobOutput, error) { @@ -10868,14 +10775,13 @@ const opDescribeProject = "DescribeProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProjectRequest method. +// req, resp := client.DescribeProjectRequest(params) // -// // Example sending a request using the DescribeProjectRequest method. -// req, resp := client.DescribeProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProject func (c *SageMaker) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput) { @@ -10942,14 +10848,13 @@ const opDescribeStudioLifecycleConfig = "DescribeStudioLifecycleConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStudioLifecycleConfigRequest method. +// req, resp := client.DescribeStudioLifecycleConfigRequest(params) // -// // Example sending a request using the DescribeStudioLifecycleConfigRequest method. -// req, resp := client.DescribeStudioLifecycleConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeStudioLifecycleConfig func (c *SageMaker) DescribeStudioLifecycleConfigRequest(input *DescribeStudioLifecycleConfigInput) (req *request.Request, output *DescribeStudioLifecycleConfigOutput) { @@ -10980,8 +10885,8 @@ func (c *SageMaker) DescribeStudioLifecycleConfigRequest(input *DescribeStudioLi // API operation DescribeStudioLifecycleConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeStudioLifecycleConfig func (c *SageMaker) DescribeStudioLifecycleConfig(input *DescribeStudioLifecycleConfigInput) (*DescribeStudioLifecycleConfigOutput, error) { @@ -11021,14 +10926,13 @@ const opDescribeSubscribedWorkteam = "DescribeSubscribedWorkteam" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSubscribedWorkteamRequest method. +// req, resp := client.DescribeSubscribedWorkteamRequest(params) // -// // Example sending a request using the DescribeSubscribedWorkteamRequest method. -// req, resp := client.DescribeSubscribedWorkteamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSubscribedWorkteam func (c *SageMaker) DescribeSubscribedWorkteamRequest(input *DescribeSubscribedWorkteamInput) (req *request.Request, output *DescribeSubscribedWorkteamOutput) { @@ -11096,14 +11000,13 @@ const opDescribeTrainingJob = "DescribeTrainingJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTrainingJobRequest method. +// req, resp := client.DescribeTrainingJobRequest(params) // -// // Example sending a request using the DescribeTrainingJobRequest method. -// req, resp := client.DescribeTrainingJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob func (c *SageMaker) DescribeTrainingJobRequest(input *DescribeTrainingJobInput) (req *request.Request, output *DescribeTrainingJobOutput) { @@ -11139,8 +11042,8 @@ func (c *SageMaker) DescribeTrainingJobRequest(input *DescribeTrainingJobInput) // API operation DescribeTrainingJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob func (c *SageMaker) DescribeTrainingJob(input *DescribeTrainingJobInput) (*DescribeTrainingJobOutput, error) { @@ -11180,14 +11083,13 @@ const opDescribeTransformJob = "DescribeTransformJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTransformJobRequest method. +// req, resp := client.DescribeTransformJobRequest(params) // -// // Example sending a request using the DescribeTransformJobRequest method. -// req, resp := client.DescribeTransformJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTransformJob func (c *SageMaker) DescribeTransformJobRequest(input *DescribeTransformJobInput) (req *request.Request, output *DescribeTransformJobOutput) { @@ -11218,8 +11120,8 @@ func (c *SageMaker) DescribeTransformJobRequest(input *DescribeTransformJobInput // API operation DescribeTransformJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTransformJob func (c *SageMaker) DescribeTransformJob(input *DescribeTransformJobInput) (*DescribeTransformJobOutput, error) { @@ -11259,14 +11161,13 @@ const opDescribeTrial = "DescribeTrial" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTrialRequest method. +// req, resp := client.DescribeTrialRequest(params) // -// // Example sending a request using the DescribeTrialRequest method. -// req, resp := client.DescribeTrialRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrial func (c *SageMaker) DescribeTrialRequest(input *DescribeTrialInput) (req *request.Request, output *DescribeTrialOutput) { @@ -11297,8 +11198,8 @@ func (c *SageMaker) DescribeTrialRequest(input *DescribeTrialInput) (req *reques // API operation DescribeTrial for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrial func (c *SageMaker) DescribeTrial(input *DescribeTrialInput) (*DescribeTrialOutput, error) { @@ -11338,14 +11239,13 @@ const opDescribeTrialComponent = "DescribeTrialComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTrialComponentRequest method. +// req, resp := client.DescribeTrialComponentRequest(params) // -// // Example sending a request using the DescribeTrialComponentRequest method. -// req, resp := client.DescribeTrialComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrialComponent func (c *SageMaker) DescribeTrialComponentRequest(input *DescribeTrialComponentInput) (req *request.Request, output *DescribeTrialComponentOutput) { @@ -11376,8 +11276,8 @@ func (c *SageMaker) DescribeTrialComponentRequest(input *DescribeTrialComponentI // API operation DescribeTrialComponent for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrialComponent func (c *SageMaker) DescribeTrialComponent(input *DescribeTrialComponentInput) (*DescribeTrialComponentOutput, error) { @@ -11417,14 +11317,13 @@ const opDescribeUserProfile = "DescribeUserProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserProfileRequest method. +// req, resp := client.DescribeUserProfileRequest(params) // -// // Example sending a request using the DescribeUserProfileRequest method. -// req, resp := client.DescribeUserProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeUserProfile func (c *SageMaker) DescribeUserProfileRequest(input *DescribeUserProfileInput) (req *request.Request, output *DescribeUserProfileOutput) { @@ -11455,8 +11354,8 @@ func (c *SageMaker) DescribeUserProfileRequest(input *DescribeUserProfileInput) // API operation DescribeUserProfile for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeUserProfile func (c *SageMaker) DescribeUserProfile(input *DescribeUserProfileInput) (*DescribeUserProfileOutput, error) { @@ -11496,14 +11395,13 @@ const opDescribeWorkforce = "DescribeWorkforce" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkforceRequest method. +// req, resp := client.DescribeWorkforceRequest(params) // -// // Example sending a request using the DescribeWorkforceRequest method. -// req, resp := client.DescribeWorkforceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkforce func (c *SageMaker) DescribeWorkforceRequest(input *DescribeWorkforceInput) (req *request.Request, output *DescribeWorkforceOutput) { @@ -11575,14 +11473,13 @@ const opDescribeWorkteam = "DescribeWorkteam" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkteamRequest method. +// req, resp := client.DescribeWorkteamRequest(params) // -// // Example sending a request using the DescribeWorkteamRequest method. -// req, resp := client.DescribeWorkteamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkteam func (c *SageMaker) DescribeWorkteamRequest(input *DescribeWorkteamInput) (req *request.Request, output *DescribeWorkteamOutput) { @@ -11651,14 +11548,13 @@ const opDisableSagemakerServicecatalogPortfolio = "DisableSagemakerServicecatalo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableSagemakerServicecatalogPortfolioRequest method. +// req, resp := client.DisableSagemakerServicecatalogPortfolioRequest(params) // -// // Example sending a request using the DisableSagemakerServicecatalogPortfolioRequest method. -// req, resp := client.DisableSagemakerServicecatalogPortfolioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisableSagemakerServicecatalogPortfolio func (c *SageMaker) DisableSagemakerServicecatalogPortfolioRequest(input *DisableSagemakerServicecatalogPortfolioInput) (req *request.Request, output *DisableSagemakerServicecatalogPortfolioOutput) { @@ -11727,14 +11623,13 @@ const opDisassociateTrialComponent = "DisassociateTrialComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateTrialComponentRequest method. +// req, resp := client.DisassociateTrialComponentRequest(params) // -// // Example sending a request using the DisassociateTrialComponentRequest method. -// req, resp := client.DisassociateTrialComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisassociateTrialComponent func (c *SageMaker) DisassociateTrialComponentRequest(input *DisassociateTrialComponentInput) (req *request.Request, output *DisassociateTrialComponentOutput) { @@ -11773,8 +11668,8 @@ func (c *SageMaker) DisassociateTrialComponentRequest(input *DisassociateTrialCo // API operation DisassociateTrialComponent for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisassociateTrialComponent func (c *SageMaker) DisassociateTrialComponent(input *DisassociateTrialComponentInput) (*DisassociateTrialComponentOutput, error) { @@ -11814,14 +11709,13 @@ const opEnableSagemakerServicecatalogPortfolio = "EnableSagemakerServicecatalogP // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableSagemakerServicecatalogPortfolioRequest method. +// req, resp := client.EnableSagemakerServicecatalogPortfolioRequest(params) // -// // Example sending a request using the EnableSagemakerServicecatalogPortfolioRequest method. -// req, resp := client.EnableSagemakerServicecatalogPortfolioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EnableSagemakerServicecatalogPortfolio func (c *SageMaker) EnableSagemakerServicecatalogPortfolioRequest(input *EnableSagemakerServicecatalogPortfolioInput) (req *request.Request, output *EnableSagemakerServicecatalogPortfolioOutput) { @@ -11890,14 +11784,13 @@ const opGetDeviceFleetReport = "GetDeviceFleetReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeviceFleetReportRequest method. +// req, resp := client.GetDeviceFleetReportRequest(params) // -// // Example sending a request using the GetDeviceFleetReportRequest method. -// req, resp := client.GetDeviceFleetReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetDeviceFleetReport func (c *SageMaker) GetDeviceFleetReportRequest(input *GetDeviceFleetReportInput) (req *request.Request, output *GetDeviceFleetReportOutput) { @@ -11964,14 +11857,13 @@ const opGetLineageGroupPolicy = "GetLineageGroupPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLineageGroupPolicyRequest method. +// req, resp := client.GetLineageGroupPolicyRequest(params) // -// // Example sending a request using the GetLineageGroupPolicyRequest method. -// req, resp := client.GetLineageGroupPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetLineageGroupPolicy func (c *SageMaker) GetLineageGroupPolicyRequest(input *GetLineageGroupPolicyInput) (req *request.Request, output *GetLineageGroupPolicyOutput) { @@ -12002,8 +11894,8 @@ func (c *SageMaker) GetLineageGroupPolicyRequest(input *GetLineageGroupPolicyInp // API operation GetLineageGroupPolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetLineageGroupPolicy func (c *SageMaker) GetLineageGroupPolicy(input *GetLineageGroupPolicyInput) (*GetLineageGroupPolicyOutput, error) { @@ -12043,14 +11935,13 @@ const opGetModelPackageGroupPolicy = "GetModelPackageGroupPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetModelPackageGroupPolicyRequest method. +// req, resp := client.GetModelPackageGroupPolicyRequest(params) // -// // Example sending a request using the GetModelPackageGroupPolicyRequest method. -// req, resp := client.GetModelPackageGroupPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetModelPackageGroupPolicy func (c *SageMaker) GetModelPackageGroupPolicyRequest(input *GetModelPackageGroupPolicyInput) (req *request.Request, output *GetModelPackageGroupPolicyOutput) { @@ -12120,14 +12011,13 @@ const opGetSagemakerServicecatalogPortfolioStatus = "GetSagemakerServicecatalogP // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSagemakerServicecatalogPortfolioStatusRequest method. +// req, resp := client.GetSagemakerServicecatalogPortfolioStatusRequest(params) // -// // Example sending a request using the GetSagemakerServicecatalogPortfolioStatusRequest method. -// req, resp := client.GetSagemakerServicecatalogPortfolioStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSagemakerServicecatalogPortfolioStatus func (c *SageMaker) GetSagemakerServicecatalogPortfolioStatusRequest(input *GetSagemakerServicecatalogPortfolioStatusInput) (req *request.Request, output *GetSagemakerServicecatalogPortfolioStatusOutput) { @@ -12195,14 +12085,13 @@ const opGetSearchSuggestions = "GetSearchSuggestions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSearchSuggestionsRequest method. +// req, resp := client.GetSearchSuggestionsRequest(params) // -// // Example sending a request using the GetSearchSuggestionsRequest method. -// req, resp := client.GetSearchSuggestionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSearchSuggestions func (c *SageMaker) GetSearchSuggestionsRequest(input *GetSearchSuggestionsInput) (req *request.Request, output *GetSearchSuggestionsOutput) { @@ -12272,14 +12161,13 @@ const opListActions = "ListActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListActionsRequest method. +// req, resp := client.ListActionsRequest(params) // -// // Example sending a request using the ListActionsRequest method. -// req, resp := client.ListActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListActions func (c *SageMaker) ListActionsRequest(input *ListActionsInput) (req *request.Request, output *ListActionsOutput) { @@ -12316,8 +12204,8 @@ func (c *SageMaker) ListActionsRequest(input *ListActionsInput) (req *request.Re // API operation ListActions for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListActions func (c *SageMaker) ListActions(input *ListActionsInput) (*ListActionsOutput, error) { @@ -12349,15 +12237,14 @@ func (c *SageMaker) ListActionsWithContext(ctx aws.Context, input *ListActionsIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListActions operation. -// pageNum := 0 -// err := client.ListActionsPages(params, -// func(page *sagemaker.ListActionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListActions operation. +// pageNum := 0 +// err := client.ListActionsPages(params, +// func(page *sagemaker.ListActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListActionsPages(input *ListActionsInput, fn func(*ListActionsOutput, bool) bool) error { return c.ListActionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12409,14 +12296,13 @@ const opListAlgorithms = "ListAlgorithms" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAlgorithmsRequest method. +// req, resp := client.ListAlgorithmsRequest(params) // -// // Example sending a request using the ListAlgorithmsRequest method. -// req, resp := client.ListAlgorithmsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAlgorithms func (c *SageMaker) ListAlgorithmsRequest(input *ListAlgorithmsInput) (req *request.Request, output *ListAlgorithmsOutput) { @@ -12481,15 +12367,14 @@ func (c *SageMaker) ListAlgorithmsWithContext(ctx aws.Context, input *ListAlgori // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAlgorithms operation. -// pageNum := 0 -// err := client.ListAlgorithmsPages(params, -// func(page *sagemaker.ListAlgorithmsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAlgorithms operation. +// pageNum := 0 +// err := client.ListAlgorithmsPages(params, +// func(page *sagemaker.ListAlgorithmsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListAlgorithmsPages(input *ListAlgorithmsInput, fn func(*ListAlgorithmsOutput, bool) bool) error { return c.ListAlgorithmsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12541,14 +12426,13 @@ const opListAppImageConfigs = "ListAppImageConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppImageConfigsRequest method. +// req, resp := client.ListAppImageConfigsRequest(params) // -// // Example sending a request using the ListAppImageConfigsRequest method. -// req, resp := client.ListAppImageConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAppImageConfigs func (c *SageMaker) ListAppImageConfigsRequest(input *ListAppImageConfigsInput) (req *request.Request, output *ListAppImageConfigsOutput) { @@ -12615,15 +12499,14 @@ func (c *SageMaker) ListAppImageConfigsWithContext(ctx aws.Context, input *ListA // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAppImageConfigs operation. -// pageNum := 0 -// err := client.ListAppImageConfigsPages(params, -// func(page *sagemaker.ListAppImageConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAppImageConfigs operation. +// pageNum := 0 +// err := client.ListAppImageConfigsPages(params, +// func(page *sagemaker.ListAppImageConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListAppImageConfigsPages(input *ListAppImageConfigsInput, fn func(*ListAppImageConfigsOutput, bool) bool) error { return c.ListAppImageConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12675,14 +12558,13 @@ const opListApps = "ListApps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppsRequest method. +// req, resp := client.ListAppsRequest(params) // -// // Example sending a request using the ListAppsRequest method. -// req, resp := client.ListAppsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListApps func (c *SageMaker) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput) { @@ -12747,15 +12629,14 @@ func (c *SageMaker) ListAppsWithContext(ctx aws.Context, input *ListAppsInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApps operation. -// pageNum := 0 -// err := client.ListAppsPages(params, -// func(page *sagemaker.ListAppsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApps operation. +// pageNum := 0 +// err := client.ListAppsPages(params, +// func(page *sagemaker.ListAppsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListAppsPages(input *ListAppsInput, fn func(*ListAppsOutput, bool) bool) error { return c.ListAppsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12807,14 +12688,13 @@ const opListArtifacts = "ListArtifacts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListArtifactsRequest method. +// req, resp := client.ListArtifactsRequest(params) // -// // Example sending a request using the ListArtifactsRequest method. -// req, resp := client.ListArtifactsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListArtifacts func (c *SageMaker) ListArtifactsRequest(input *ListArtifactsInput) (req *request.Request, output *ListArtifactsOutput) { @@ -12851,8 +12731,8 @@ func (c *SageMaker) ListArtifactsRequest(input *ListArtifactsInput) (req *reques // API operation ListArtifacts for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListArtifacts func (c *SageMaker) ListArtifacts(input *ListArtifactsInput) (*ListArtifactsOutput, error) { @@ -12884,15 +12764,14 @@ func (c *SageMaker) ListArtifactsWithContext(ctx aws.Context, input *ListArtifac // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListArtifacts operation. -// pageNum := 0 -// err := client.ListArtifactsPages(params, -// func(page *sagemaker.ListArtifactsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListArtifacts operation. +// pageNum := 0 +// err := client.ListArtifactsPages(params, +// func(page *sagemaker.ListArtifactsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListArtifactsPages(input *ListArtifactsInput, fn func(*ListArtifactsOutput, bool) bool) error { return c.ListArtifactsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12944,14 +12823,13 @@ const opListAssociations = "ListAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssociationsRequest method. +// req, resp := client.ListAssociationsRequest(params) // -// // Example sending a request using the ListAssociationsRequest method. -// req, resp := client.ListAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAssociations func (c *SageMaker) ListAssociationsRequest(input *ListAssociationsInput) (req *request.Request, output *ListAssociationsOutput) { @@ -12988,8 +12866,8 @@ func (c *SageMaker) ListAssociationsRequest(input *ListAssociationsInput) (req * // API operation ListAssociations for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAssociations func (c *SageMaker) ListAssociations(input *ListAssociationsInput) (*ListAssociationsOutput, error) { @@ -13021,15 +12899,14 @@ func (c *SageMaker) ListAssociationsWithContext(ctx aws.Context, input *ListAsso // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssociations operation. -// pageNum := 0 -// err := client.ListAssociationsPages(params, -// func(page *sagemaker.ListAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssociations operation. +// pageNum := 0 +// err := client.ListAssociationsPages(params, +// func(page *sagemaker.ListAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListAssociationsPages(input *ListAssociationsInput, fn func(*ListAssociationsOutput, bool) bool) error { return c.ListAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13081,14 +12958,13 @@ const opListAutoMLJobs = "ListAutoMLJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAutoMLJobsRequest method. +// req, resp := client.ListAutoMLJobsRequest(params) // -// // Example sending a request using the ListAutoMLJobsRequest method. -// req, resp := client.ListAutoMLJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAutoMLJobs func (c *SageMaker) ListAutoMLJobsRequest(input *ListAutoMLJobsInput) (req *request.Request, output *ListAutoMLJobsOutput) { @@ -13153,15 +13029,14 @@ func (c *SageMaker) ListAutoMLJobsWithContext(ctx aws.Context, input *ListAutoML // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAutoMLJobs operation. -// pageNum := 0 -// err := client.ListAutoMLJobsPages(params, -// func(page *sagemaker.ListAutoMLJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAutoMLJobs operation. +// pageNum := 0 +// err := client.ListAutoMLJobsPages(params, +// func(page *sagemaker.ListAutoMLJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListAutoMLJobsPages(input *ListAutoMLJobsInput, fn func(*ListAutoMLJobsOutput, bool) bool) error { return c.ListAutoMLJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13213,14 +13088,13 @@ const opListCandidatesForAutoMLJob = "ListCandidatesForAutoMLJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCandidatesForAutoMLJobRequest method. +// req, resp := client.ListCandidatesForAutoMLJobRequest(params) // -// // Example sending a request using the ListCandidatesForAutoMLJobRequest method. -// req, resp := client.ListCandidatesForAutoMLJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCandidatesForAutoMLJob func (c *SageMaker) ListCandidatesForAutoMLJobRequest(input *ListCandidatesForAutoMLJobInput) (req *request.Request, output *ListCandidatesForAutoMLJobOutput) { @@ -13257,8 +13131,8 @@ func (c *SageMaker) ListCandidatesForAutoMLJobRequest(input *ListCandidatesForAu // API operation ListCandidatesForAutoMLJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCandidatesForAutoMLJob func (c *SageMaker) ListCandidatesForAutoMLJob(input *ListCandidatesForAutoMLJobInput) (*ListCandidatesForAutoMLJobOutput, error) { @@ -13290,15 +13164,14 @@ func (c *SageMaker) ListCandidatesForAutoMLJobWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCandidatesForAutoMLJob operation. -// pageNum := 0 -// err := client.ListCandidatesForAutoMLJobPages(params, -// func(page *sagemaker.ListCandidatesForAutoMLJobOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCandidatesForAutoMLJob operation. +// pageNum := 0 +// err := client.ListCandidatesForAutoMLJobPages(params, +// func(page *sagemaker.ListCandidatesForAutoMLJobOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListCandidatesForAutoMLJobPages(input *ListCandidatesForAutoMLJobInput, fn func(*ListCandidatesForAutoMLJobOutput, bool) bool) error { return c.ListCandidatesForAutoMLJobPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13350,14 +13223,13 @@ const opListCodeRepositories = "ListCodeRepositories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCodeRepositoriesRequest method. +// req, resp := client.ListCodeRepositoriesRequest(params) // -// // Example sending a request using the ListCodeRepositoriesRequest method. -// req, resp := client.ListCodeRepositoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCodeRepositories func (c *SageMaker) ListCodeRepositoriesRequest(input *ListCodeRepositoriesInput) (req *request.Request, output *ListCodeRepositoriesOutput) { @@ -13422,15 +13294,14 @@ func (c *SageMaker) ListCodeRepositoriesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCodeRepositories operation. -// pageNum := 0 -// err := client.ListCodeRepositoriesPages(params, -// func(page *sagemaker.ListCodeRepositoriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCodeRepositories operation. +// pageNum := 0 +// err := client.ListCodeRepositoriesPages(params, +// func(page *sagemaker.ListCodeRepositoriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListCodeRepositoriesPages(input *ListCodeRepositoriesInput, fn func(*ListCodeRepositoriesOutput, bool) bool) error { return c.ListCodeRepositoriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13482,14 +13353,13 @@ const opListCompilationJobs = "ListCompilationJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCompilationJobsRequest method. +// req, resp := client.ListCompilationJobsRequest(params) // -// // Example sending a request using the ListCompilationJobsRequest method. -// req, resp := client.ListCompilationJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCompilationJobs func (c *SageMaker) ListCompilationJobsRequest(input *ListCompilationJobsInput) (req *request.Request, output *ListCompilationJobsOutput) { @@ -13557,15 +13427,14 @@ func (c *SageMaker) ListCompilationJobsWithContext(ctx aws.Context, input *ListC // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCompilationJobs operation. -// pageNum := 0 -// err := client.ListCompilationJobsPages(params, -// func(page *sagemaker.ListCompilationJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCompilationJobs operation. +// pageNum := 0 +// err := client.ListCompilationJobsPages(params, +// func(page *sagemaker.ListCompilationJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListCompilationJobsPages(input *ListCompilationJobsInput, fn func(*ListCompilationJobsOutput, bool) bool) error { return c.ListCompilationJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13617,14 +13486,13 @@ const opListContexts = "ListContexts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListContextsRequest method. +// req, resp := client.ListContextsRequest(params) // -// // Example sending a request using the ListContextsRequest method. -// req, resp := client.ListContextsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListContexts func (c *SageMaker) ListContextsRequest(input *ListContextsInput) (req *request.Request, output *ListContextsOutput) { @@ -13661,8 +13529,8 @@ func (c *SageMaker) ListContextsRequest(input *ListContextsInput) (req *request. // API operation ListContexts for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListContexts func (c *SageMaker) ListContexts(input *ListContextsInput) (*ListContextsOutput, error) { @@ -13694,15 +13562,14 @@ func (c *SageMaker) ListContextsWithContext(ctx aws.Context, input *ListContexts // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListContexts operation. -// pageNum := 0 -// err := client.ListContextsPages(params, -// func(page *sagemaker.ListContextsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListContexts operation. +// pageNum := 0 +// err := client.ListContextsPages(params, +// func(page *sagemaker.ListContextsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListContextsPages(input *ListContextsInput, fn func(*ListContextsOutput, bool) bool) error { return c.ListContextsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13754,14 +13621,13 @@ const opListDataQualityJobDefinitions = "ListDataQualityJobDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDataQualityJobDefinitionsRequest method. +// req, resp := client.ListDataQualityJobDefinitionsRequest(params) // -// // Example sending a request using the ListDataQualityJobDefinitionsRequest method. -// req, resp := client.ListDataQualityJobDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDataQualityJobDefinitions func (c *SageMaker) ListDataQualityJobDefinitionsRequest(input *ListDataQualityJobDefinitionsInput) (req *request.Request, output *ListDataQualityJobDefinitionsOutput) { @@ -13826,15 +13692,14 @@ func (c *SageMaker) ListDataQualityJobDefinitionsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDataQualityJobDefinitions operation. -// pageNum := 0 -// err := client.ListDataQualityJobDefinitionsPages(params, -// func(page *sagemaker.ListDataQualityJobDefinitionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDataQualityJobDefinitions operation. +// pageNum := 0 +// err := client.ListDataQualityJobDefinitionsPages(params, +// func(page *sagemaker.ListDataQualityJobDefinitionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListDataQualityJobDefinitionsPages(input *ListDataQualityJobDefinitionsInput, fn func(*ListDataQualityJobDefinitionsOutput, bool) bool) error { return c.ListDataQualityJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -13886,14 +13751,13 @@ const opListDeviceFleets = "ListDeviceFleets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeviceFleetsRequest method. +// req, resp := client.ListDeviceFleetsRequest(params) // -// // Example sending a request using the ListDeviceFleetsRequest method. -// req, resp := client.ListDeviceFleetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDeviceFleets func (c *SageMaker) ListDeviceFleetsRequest(input *ListDeviceFleetsInput) (req *request.Request, output *ListDeviceFleetsOutput) { @@ -13958,15 +13822,14 @@ func (c *SageMaker) ListDeviceFleetsWithContext(ctx aws.Context, input *ListDevi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDeviceFleets operation. -// pageNum := 0 -// err := client.ListDeviceFleetsPages(params, -// func(page *sagemaker.ListDeviceFleetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDeviceFleets operation. +// pageNum := 0 +// err := client.ListDeviceFleetsPages(params, +// func(page *sagemaker.ListDeviceFleetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListDeviceFleetsPages(input *ListDeviceFleetsInput, fn func(*ListDeviceFleetsOutput, bool) bool) error { return c.ListDeviceFleetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14018,14 +13881,13 @@ const opListDevices = "ListDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDevicesRequest method. +// req, resp := client.ListDevicesRequest(params) // -// // Example sending a request using the ListDevicesRequest method. -// req, resp := client.ListDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDevices func (c *SageMaker) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput) { @@ -14090,15 +13952,14 @@ func (c *SageMaker) ListDevicesWithContext(ctx aws.Context, input *ListDevicesIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDevices operation. -// pageNum := 0 -// err := client.ListDevicesPages(params, -// func(page *sagemaker.ListDevicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDevices operation. +// pageNum := 0 +// err := client.ListDevicesPages(params, +// func(page *sagemaker.ListDevicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListDevicesPages(input *ListDevicesInput, fn func(*ListDevicesOutput, bool) bool) error { return c.ListDevicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14150,14 +14011,13 @@ const opListDomains = "ListDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainsRequest method. +// req, resp := client.ListDomainsRequest(params) // -// // Example sending a request using the ListDomainsRequest method. -// req, resp := client.ListDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDomains func (c *SageMaker) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) { @@ -14222,15 +14082,14 @@ func (c *SageMaker) ListDomainsWithContext(ctx aws.Context, input *ListDomainsIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDomains operation. -// pageNum := 0 -// err := client.ListDomainsPages(params, -// func(page *sagemaker.ListDomainsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDomains operation. +// pageNum := 0 +// err := client.ListDomainsPages(params, +// func(page *sagemaker.ListDomainsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error { return c.ListDomainsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14282,14 +14141,13 @@ const opListEdgePackagingJobs = "ListEdgePackagingJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEdgePackagingJobsRequest method. +// req, resp := client.ListEdgePackagingJobsRequest(params) // -// // Example sending a request using the ListEdgePackagingJobsRequest method. -// req, resp := client.ListEdgePackagingJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEdgePackagingJobs func (c *SageMaker) ListEdgePackagingJobsRequest(input *ListEdgePackagingJobsInput) (req *request.Request, output *ListEdgePackagingJobsOutput) { @@ -14354,15 +14212,14 @@ func (c *SageMaker) ListEdgePackagingJobsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEdgePackagingJobs operation. -// pageNum := 0 -// err := client.ListEdgePackagingJobsPages(params, -// func(page *sagemaker.ListEdgePackagingJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEdgePackagingJobs operation. +// pageNum := 0 +// err := client.ListEdgePackagingJobsPages(params, +// func(page *sagemaker.ListEdgePackagingJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListEdgePackagingJobsPages(input *ListEdgePackagingJobsInput, fn func(*ListEdgePackagingJobsOutput, bool) bool) error { return c.ListEdgePackagingJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14414,14 +14271,13 @@ const opListEndpointConfigs = "ListEndpointConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEndpointConfigsRequest method. +// req, resp := client.ListEndpointConfigsRequest(params) // -// // Example sending a request using the ListEndpointConfigsRequest method. -// req, resp := client.ListEndpointConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs func (c *SageMaker) ListEndpointConfigsRequest(input *ListEndpointConfigsInput) (req *request.Request, output *ListEndpointConfigsOutput) { @@ -14486,15 +14342,14 @@ func (c *SageMaker) ListEndpointConfigsWithContext(ctx aws.Context, input *ListE // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEndpointConfigs operation. -// pageNum := 0 -// err := client.ListEndpointConfigsPages(params, -// func(page *sagemaker.ListEndpointConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEndpointConfigs operation. +// pageNum := 0 +// err := client.ListEndpointConfigsPages(params, +// func(page *sagemaker.ListEndpointConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListEndpointConfigsPages(input *ListEndpointConfigsInput, fn func(*ListEndpointConfigsOutput, bool) bool) error { return c.ListEndpointConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14546,14 +14401,13 @@ const opListEndpoints = "ListEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEndpointsRequest method. +// req, resp := client.ListEndpointsRequest(params) // -// // Example sending a request using the ListEndpointsRequest method. -// req, resp := client.ListEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints func (c *SageMaker) ListEndpointsRequest(input *ListEndpointsInput) (req *request.Request, output *ListEndpointsOutput) { @@ -14618,15 +14472,14 @@ func (c *SageMaker) ListEndpointsWithContext(ctx aws.Context, input *ListEndpoin // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEndpoints operation. -// pageNum := 0 -// err := client.ListEndpointsPages(params, -// func(page *sagemaker.ListEndpointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEndpoints operation. +// pageNum := 0 +// err := client.ListEndpointsPages(params, +// func(page *sagemaker.ListEndpointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListEndpointsPages(input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool) error { return c.ListEndpointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14678,14 +14531,13 @@ const opListExperiments = "ListExperiments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExperimentsRequest method. +// req, resp := client.ListExperimentsRequest(params) // -// // Example sending a request using the ListExperimentsRequest method. -// req, resp := client.ListExperimentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListExperiments func (c *SageMaker) ListExperimentsRequest(input *ListExperimentsInput) (req *request.Request, output *ListExperimentsOutput) { @@ -14752,15 +14604,14 @@ func (c *SageMaker) ListExperimentsWithContext(ctx aws.Context, input *ListExper // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExperiments operation. -// pageNum := 0 -// err := client.ListExperimentsPages(params, -// func(page *sagemaker.ListExperimentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExperiments operation. +// pageNum := 0 +// err := client.ListExperimentsPages(params, +// func(page *sagemaker.ListExperimentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListExperimentsPages(input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool) error { return c.ListExperimentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14812,14 +14663,13 @@ const opListFeatureGroups = "ListFeatureGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFeatureGroupsRequest method. +// req, resp := client.ListFeatureGroupsRequest(params) // -// // Example sending a request using the ListFeatureGroupsRequest method. -// req, resp := client.ListFeatureGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFeatureGroups func (c *SageMaker) ListFeatureGroupsRequest(input *ListFeatureGroupsInput) (req *request.Request, output *ListFeatureGroupsOutput) { @@ -14884,15 +14734,14 @@ func (c *SageMaker) ListFeatureGroupsWithContext(ctx aws.Context, input *ListFea // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFeatureGroups operation. -// pageNum := 0 -// err := client.ListFeatureGroupsPages(params, -// func(page *sagemaker.ListFeatureGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFeatureGroups operation. +// pageNum := 0 +// err := client.ListFeatureGroupsPages(params, +// func(page *sagemaker.ListFeatureGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListFeatureGroupsPages(input *ListFeatureGroupsInput, fn func(*ListFeatureGroupsOutput, bool) bool) error { return c.ListFeatureGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -14944,14 +14793,13 @@ const opListFlowDefinitions = "ListFlowDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFlowDefinitionsRequest method. +// req, resp := client.ListFlowDefinitionsRequest(params) // -// // Example sending a request using the ListFlowDefinitionsRequest method. -// req, resp := client.ListFlowDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFlowDefinitions func (c *SageMaker) ListFlowDefinitionsRequest(input *ListFlowDefinitionsInput) (req *request.Request, output *ListFlowDefinitionsOutput) { @@ -15016,15 +14864,14 @@ func (c *SageMaker) ListFlowDefinitionsWithContext(ctx aws.Context, input *ListF // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFlowDefinitions operation. -// pageNum := 0 -// err := client.ListFlowDefinitionsPages(params, -// func(page *sagemaker.ListFlowDefinitionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFlowDefinitions operation. +// pageNum := 0 +// err := client.ListFlowDefinitionsPages(params, +// func(page *sagemaker.ListFlowDefinitionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListFlowDefinitionsPages(input *ListFlowDefinitionsInput, fn func(*ListFlowDefinitionsOutput, bool) bool) error { return c.ListFlowDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15076,14 +14923,13 @@ const opListHumanTaskUis = "ListHumanTaskUis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHumanTaskUisRequest method. +// req, resp := client.ListHumanTaskUisRequest(params) // -// // Example sending a request using the ListHumanTaskUisRequest method. -// req, resp := client.ListHumanTaskUisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHumanTaskUis func (c *SageMaker) ListHumanTaskUisRequest(input *ListHumanTaskUisInput) (req *request.Request, output *ListHumanTaskUisOutput) { @@ -15148,15 +14994,14 @@ func (c *SageMaker) ListHumanTaskUisWithContext(ctx aws.Context, input *ListHuma // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListHumanTaskUis operation. -// pageNum := 0 -// err := client.ListHumanTaskUisPages(params, -// func(page *sagemaker.ListHumanTaskUisOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListHumanTaskUis operation. +// pageNum := 0 +// err := client.ListHumanTaskUisPages(params, +// func(page *sagemaker.ListHumanTaskUisOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListHumanTaskUisPages(input *ListHumanTaskUisInput, fn func(*ListHumanTaskUisOutput, bool) bool) error { return c.ListHumanTaskUisPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15208,14 +15053,13 @@ const opListHyperParameterTuningJobs = "ListHyperParameterTuningJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListHyperParameterTuningJobsRequest method. +// req, resp := client.ListHyperParameterTuningJobsRequest(params) // -// // Example sending a request using the ListHyperParameterTuningJobsRequest method. -// req, resp := client.ListHyperParameterTuningJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs func (c *SageMaker) ListHyperParameterTuningJobsRequest(input *ListHyperParameterTuningJobsInput) (req *request.Request, output *ListHyperParameterTuningJobsOutput) { @@ -15281,15 +15125,14 @@ func (c *SageMaker) ListHyperParameterTuningJobsWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListHyperParameterTuningJobs operation. -// pageNum := 0 -// err := client.ListHyperParameterTuningJobsPages(params, -// func(page *sagemaker.ListHyperParameterTuningJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListHyperParameterTuningJobs operation. +// pageNum := 0 +// err := client.ListHyperParameterTuningJobsPages(params, +// func(page *sagemaker.ListHyperParameterTuningJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListHyperParameterTuningJobsPages(input *ListHyperParameterTuningJobsInput, fn func(*ListHyperParameterTuningJobsOutput, bool) bool) error { return c.ListHyperParameterTuningJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15341,14 +15184,13 @@ const opListImageVersions = "ListImageVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListImageVersionsRequest method. +// req, resp := client.ListImageVersionsRequest(params) // -// // Example sending a request using the ListImageVersionsRequest method. -// req, resp := client.ListImageVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImageVersions func (c *SageMaker) ListImageVersionsRequest(input *ListImageVersionsInput) (req *request.Request, output *ListImageVersionsOutput) { @@ -15386,8 +15228,8 @@ func (c *SageMaker) ListImageVersionsRequest(input *ListImageVersionsInput) (req // API operation ListImageVersions for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImageVersions func (c *SageMaker) ListImageVersions(input *ListImageVersionsInput) (*ListImageVersionsOutput, error) { @@ -15419,15 +15261,14 @@ func (c *SageMaker) ListImageVersionsWithContext(ctx aws.Context, input *ListIma // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListImageVersions operation. -// pageNum := 0 -// err := client.ListImageVersionsPages(params, -// func(page *sagemaker.ListImageVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListImageVersions operation. +// pageNum := 0 +// err := client.ListImageVersionsPages(params, +// func(page *sagemaker.ListImageVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListImageVersionsPages(input *ListImageVersionsInput, fn func(*ListImageVersionsOutput, bool) bool) error { return c.ListImageVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15479,14 +15320,13 @@ const opListImages = "ListImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListImagesRequest method. +// req, resp := client.ListImagesRequest(params) // -// // Example sending a request using the ListImagesRequest method. -// req, resp := client.ListImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImages func (c *SageMaker) ListImagesRequest(input *ListImagesInput) (req *request.Request, output *ListImagesOutput) { @@ -15553,15 +15393,14 @@ func (c *SageMaker) ListImagesWithContext(ctx aws.Context, input *ListImagesInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListImages operation. -// pageNum := 0 -// err := client.ListImagesPages(params, -// func(page *sagemaker.ListImagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListImages operation. +// pageNum := 0 +// err := client.ListImagesPages(params, +// func(page *sagemaker.ListImagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListImagesPages(input *ListImagesInput, fn func(*ListImagesOutput, bool) bool) error { return c.ListImagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15613,14 +15452,13 @@ const opListInferenceRecommendationsJobs = "ListInferenceRecommendationsJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInferenceRecommendationsJobsRequest method. +// req, resp := client.ListInferenceRecommendationsJobsRequest(params) // -// // Example sending a request using the ListInferenceRecommendationsJobsRequest method. -// req, resp := client.ListInferenceRecommendationsJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListInferenceRecommendationsJobs func (c *SageMaker) ListInferenceRecommendationsJobsRequest(input *ListInferenceRecommendationsJobsInput) (req *request.Request, output *ListInferenceRecommendationsJobsOutput) { @@ -15685,15 +15523,14 @@ func (c *SageMaker) ListInferenceRecommendationsJobsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInferenceRecommendationsJobs operation. -// pageNum := 0 -// err := client.ListInferenceRecommendationsJobsPages(params, -// func(page *sagemaker.ListInferenceRecommendationsJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInferenceRecommendationsJobs operation. +// pageNum := 0 +// err := client.ListInferenceRecommendationsJobsPages(params, +// func(page *sagemaker.ListInferenceRecommendationsJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListInferenceRecommendationsJobsPages(input *ListInferenceRecommendationsJobsInput, fn func(*ListInferenceRecommendationsJobsOutput, bool) bool) error { return c.ListInferenceRecommendationsJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15745,14 +15582,13 @@ const opListLabelingJobs = "ListLabelingJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLabelingJobsRequest method. +// req, resp := client.ListLabelingJobsRequest(params) // -// // Example sending a request using the ListLabelingJobsRequest method. -// req, resp := client.ListLabelingJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobs func (c *SageMaker) ListLabelingJobsRequest(input *ListLabelingJobsInput) (req *request.Request, output *ListLabelingJobsOutput) { @@ -15817,15 +15653,14 @@ func (c *SageMaker) ListLabelingJobsWithContext(ctx aws.Context, input *ListLabe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLabelingJobs operation. -// pageNum := 0 -// err := client.ListLabelingJobsPages(params, -// func(page *sagemaker.ListLabelingJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLabelingJobs operation. +// pageNum := 0 +// err := client.ListLabelingJobsPages(params, +// func(page *sagemaker.ListLabelingJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListLabelingJobsPages(input *ListLabelingJobsInput, fn func(*ListLabelingJobsOutput, bool) bool) error { return c.ListLabelingJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -15877,14 +15712,13 @@ const opListLabelingJobsForWorkteam = "ListLabelingJobsForWorkteam" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLabelingJobsForWorkteamRequest method. +// req, resp := client.ListLabelingJobsForWorkteamRequest(params) // -// // Example sending a request using the ListLabelingJobsForWorkteamRequest method. -// req, resp := client.ListLabelingJobsForWorkteamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobsForWorkteam func (c *SageMaker) ListLabelingJobsForWorkteamRequest(input *ListLabelingJobsForWorkteamInput) (req *request.Request, output *ListLabelingJobsForWorkteamOutput) { @@ -15921,8 +15755,8 @@ func (c *SageMaker) ListLabelingJobsForWorkteamRequest(input *ListLabelingJobsFo // API operation ListLabelingJobsForWorkteam for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobsForWorkteam func (c *SageMaker) ListLabelingJobsForWorkteam(input *ListLabelingJobsForWorkteamInput) (*ListLabelingJobsForWorkteamOutput, error) { @@ -15954,15 +15788,14 @@ func (c *SageMaker) ListLabelingJobsForWorkteamWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLabelingJobsForWorkteam operation. -// pageNum := 0 -// err := client.ListLabelingJobsForWorkteamPages(params, -// func(page *sagemaker.ListLabelingJobsForWorkteamOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLabelingJobsForWorkteam operation. +// pageNum := 0 +// err := client.ListLabelingJobsForWorkteamPages(params, +// func(page *sagemaker.ListLabelingJobsForWorkteamOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListLabelingJobsForWorkteamPages(input *ListLabelingJobsForWorkteamInput, fn func(*ListLabelingJobsForWorkteamOutput, bool) bool) error { return c.ListLabelingJobsForWorkteamPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16014,14 +15847,13 @@ const opListLineageGroups = "ListLineageGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLineageGroupsRequest method. +// req, resp := client.ListLineageGroupsRequest(params) // -// // Example sending a request using the ListLineageGroupsRequest method. -// req, resp := client.ListLineageGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLineageGroups func (c *SageMaker) ListLineageGroupsRequest(input *ListLineageGroupsInput) (req *request.Request, output *ListLineageGroupsOutput) { @@ -16088,15 +15920,14 @@ func (c *SageMaker) ListLineageGroupsWithContext(ctx aws.Context, input *ListLin // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLineageGroups operation. -// pageNum := 0 -// err := client.ListLineageGroupsPages(params, -// func(page *sagemaker.ListLineageGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLineageGroups operation. +// pageNum := 0 +// err := client.ListLineageGroupsPages(params, +// func(page *sagemaker.ListLineageGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListLineageGroupsPages(input *ListLineageGroupsInput, fn func(*ListLineageGroupsOutput, bool) bool) error { return c.ListLineageGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16148,14 +15979,13 @@ const opListModelBiasJobDefinitions = "ListModelBiasJobDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListModelBiasJobDefinitionsRequest method. +// req, resp := client.ListModelBiasJobDefinitionsRequest(params) // -// // Example sending a request using the ListModelBiasJobDefinitionsRequest method. -// req, resp := client.ListModelBiasJobDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelBiasJobDefinitions func (c *SageMaker) ListModelBiasJobDefinitionsRequest(input *ListModelBiasJobDefinitionsInput) (req *request.Request, output *ListModelBiasJobDefinitionsOutput) { @@ -16220,15 +16050,14 @@ func (c *SageMaker) ListModelBiasJobDefinitionsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListModelBiasJobDefinitions operation. -// pageNum := 0 -// err := client.ListModelBiasJobDefinitionsPages(params, -// func(page *sagemaker.ListModelBiasJobDefinitionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListModelBiasJobDefinitions operation. +// pageNum := 0 +// err := client.ListModelBiasJobDefinitionsPages(params, +// func(page *sagemaker.ListModelBiasJobDefinitionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListModelBiasJobDefinitionsPages(input *ListModelBiasJobDefinitionsInput, fn func(*ListModelBiasJobDefinitionsOutput, bool) bool) error { return c.ListModelBiasJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16280,14 +16109,13 @@ const opListModelExplainabilityJobDefinitions = "ListModelExplainabilityJobDefin // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListModelExplainabilityJobDefinitionsRequest method. +// req, resp := client.ListModelExplainabilityJobDefinitionsRequest(params) // -// // Example sending a request using the ListModelExplainabilityJobDefinitionsRequest method. -// req, resp := client.ListModelExplainabilityJobDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelExplainabilityJobDefinitions func (c *SageMaker) ListModelExplainabilityJobDefinitionsRequest(input *ListModelExplainabilityJobDefinitionsInput) (req *request.Request, output *ListModelExplainabilityJobDefinitionsOutput) { @@ -16352,15 +16180,14 @@ func (c *SageMaker) ListModelExplainabilityJobDefinitionsWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListModelExplainabilityJobDefinitions operation. -// pageNum := 0 -// err := client.ListModelExplainabilityJobDefinitionsPages(params, -// func(page *sagemaker.ListModelExplainabilityJobDefinitionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListModelExplainabilityJobDefinitions operation. +// pageNum := 0 +// err := client.ListModelExplainabilityJobDefinitionsPages(params, +// func(page *sagemaker.ListModelExplainabilityJobDefinitionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListModelExplainabilityJobDefinitionsPages(input *ListModelExplainabilityJobDefinitionsInput, fn func(*ListModelExplainabilityJobDefinitionsOutput, bool) bool) error { return c.ListModelExplainabilityJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16412,14 +16239,13 @@ const opListModelMetadata = "ListModelMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListModelMetadataRequest method. +// req, resp := client.ListModelMetadataRequest(params) // -// // Example sending a request using the ListModelMetadataRequest method. -// req, resp := client.ListModelMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelMetadata func (c *SageMaker) ListModelMetadataRequest(input *ListModelMetadataInput) (req *request.Request, output *ListModelMetadataOutput) { @@ -16485,15 +16311,14 @@ func (c *SageMaker) ListModelMetadataWithContext(ctx aws.Context, input *ListMod // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListModelMetadata operation. -// pageNum := 0 -// err := client.ListModelMetadataPages(params, -// func(page *sagemaker.ListModelMetadataOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListModelMetadata operation. +// pageNum := 0 +// err := client.ListModelMetadataPages(params, +// func(page *sagemaker.ListModelMetadataOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListModelMetadataPages(input *ListModelMetadataInput, fn func(*ListModelMetadataOutput, bool) bool) error { return c.ListModelMetadataPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16545,14 +16370,13 @@ const opListModelPackageGroups = "ListModelPackageGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListModelPackageGroupsRequest method. +// req, resp := client.ListModelPackageGroupsRequest(params) // -// // Example sending a request using the ListModelPackageGroupsRequest method. -// req, resp := client.ListModelPackageGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackageGroups func (c *SageMaker) ListModelPackageGroupsRequest(input *ListModelPackageGroupsInput) (req *request.Request, output *ListModelPackageGroupsOutput) { @@ -16617,15 +16441,14 @@ func (c *SageMaker) ListModelPackageGroupsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListModelPackageGroups operation. -// pageNum := 0 -// err := client.ListModelPackageGroupsPages(params, -// func(page *sagemaker.ListModelPackageGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListModelPackageGroups operation. +// pageNum := 0 +// err := client.ListModelPackageGroupsPages(params, +// func(page *sagemaker.ListModelPackageGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListModelPackageGroupsPages(input *ListModelPackageGroupsInput, fn func(*ListModelPackageGroupsOutput, bool) bool) error { return c.ListModelPackageGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16677,14 +16500,13 @@ const opListModelPackages = "ListModelPackages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListModelPackagesRequest method. +// req, resp := client.ListModelPackagesRequest(params) // -// // Example sending a request using the ListModelPackagesRequest method. -// req, resp := client.ListModelPackagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackages func (c *SageMaker) ListModelPackagesRequest(input *ListModelPackagesInput) (req *request.Request, output *ListModelPackagesOutput) { @@ -16749,15 +16571,14 @@ func (c *SageMaker) ListModelPackagesWithContext(ctx aws.Context, input *ListMod // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListModelPackages operation. -// pageNum := 0 -// err := client.ListModelPackagesPages(params, -// func(page *sagemaker.ListModelPackagesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListModelPackages operation. +// pageNum := 0 +// err := client.ListModelPackagesPages(params, +// func(page *sagemaker.ListModelPackagesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListModelPackagesPages(input *ListModelPackagesInput, fn func(*ListModelPackagesOutput, bool) bool) error { return c.ListModelPackagesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16809,14 +16630,13 @@ const opListModelQualityJobDefinitions = "ListModelQualityJobDefinitions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListModelQualityJobDefinitionsRequest method. +// req, resp := client.ListModelQualityJobDefinitionsRequest(params) // -// // Example sending a request using the ListModelQualityJobDefinitionsRequest method. -// req, resp := client.ListModelQualityJobDefinitionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelQualityJobDefinitions func (c *SageMaker) ListModelQualityJobDefinitionsRequest(input *ListModelQualityJobDefinitionsInput) (req *request.Request, output *ListModelQualityJobDefinitionsOutput) { @@ -16881,15 +16701,14 @@ func (c *SageMaker) ListModelQualityJobDefinitionsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListModelQualityJobDefinitions operation. -// pageNum := 0 -// err := client.ListModelQualityJobDefinitionsPages(params, -// func(page *sagemaker.ListModelQualityJobDefinitionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListModelQualityJobDefinitions operation. +// pageNum := 0 +// err := client.ListModelQualityJobDefinitionsPages(params, +// func(page *sagemaker.ListModelQualityJobDefinitionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListModelQualityJobDefinitionsPages(input *ListModelQualityJobDefinitionsInput, fn func(*ListModelQualityJobDefinitionsOutput, bool) bool) error { return c.ListModelQualityJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -16941,14 +16760,13 @@ const opListModels = "ListModels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListModelsRequest method. +// req, resp := client.ListModelsRequest(params) // -// // Example sending a request using the ListModelsRequest method. -// req, resp := client.ListModelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels func (c *SageMaker) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput) { @@ -17013,15 +16831,14 @@ func (c *SageMaker) ListModelsWithContext(ctx aws.Context, input *ListModelsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListModels operation. -// pageNum := 0 -// err := client.ListModelsPages(params, -// func(page *sagemaker.ListModelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListModels operation. +// pageNum := 0 +// err := client.ListModelsPages(params, +// func(page *sagemaker.ListModelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error { return c.ListModelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17073,14 +16890,13 @@ const opListMonitoringExecutions = "ListMonitoringExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMonitoringExecutionsRequest method. +// req, resp := client.ListMonitoringExecutionsRequest(params) // -// // Example sending a request using the ListMonitoringExecutionsRequest method. -// req, resp := client.ListMonitoringExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringExecutions func (c *SageMaker) ListMonitoringExecutionsRequest(input *ListMonitoringExecutionsInput) (req *request.Request, output *ListMonitoringExecutionsOutput) { @@ -17145,15 +16961,14 @@ func (c *SageMaker) ListMonitoringExecutionsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMonitoringExecutions operation. -// pageNum := 0 -// err := client.ListMonitoringExecutionsPages(params, -// func(page *sagemaker.ListMonitoringExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMonitoringExecutions operation. +// pageNum := 0 +// err := client.ListMonitoringExecutionsPages(params, +// func(page *sagemaker.ListMonitoringExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListMonitoringExecutionsPages(input *ListMonitoringExecutionsInput, fn func(*ListMonitoringExecutionsOutput, bool) bool) error { return c.ListMonitoringExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17205,14 +17020,13 @@ const opListMonitoringSchedules = "ListMonitoringSchedules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMonitoringSchedulesRequest method. +// req, resp := client.ListMonitoringSchedulesRequest(params) // -// // Example sending a request using the ListMonitoringSchedulesRequest method. -// req, resp := client.ListMonitoringSchedulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringSchedules func (c *SageMaker) ListMonitoringSchedulesRequest(input *ListMonitoringSchedulesInput) (req *request.Request, output *ListMonitoringSchedulesOutput) { @@ -17277,15 +17091,14 @@ func (c *SageMaker) ListMonitoringSchedulesWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMonitoringSchedules operation. -// pageNum := 0 -// err := client.ListMonitoringSchedulesPages(params, -// func(page *sagemaker.ListMonitoringSchedulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMonitoringSchedules operation. +// pageNum := 0 +// err := client.ListMonitoringSchedulesPages(params, +// func(page *sagemaker.ListMonitoringSchedulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListMonitoringSchedulesPages(input *ListMonitoringSchedulesInput, fn func(*ListMonitoringSchedulesOutput, bool) bool) error { return c.ListMonitoringSchedulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17337,14 +17150,13 @@ const opListNotebookInstanceLifecycleConfigs = "ListNotebookInstanceLifecycleCon // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNotebookInstanceLifecycleConfigsRequest method. +// req, resp := client.ListNotebookInstanceLifecycleConfigsRequest(params) // -// // Example sending a request using the ListNotebookInstanceLifecycleConfigsRequest method. -// req, resp := client.ListNotebookInstanceLifecycleConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigs func (c *SageMaker) ListNotebookInstanceLifecycleConfigsRequest(input *ListNotebookInstanceLifecycleConfigsInput) (req *request.Request, output *ListNotebookInstanceLifecycleConfigsOutput) { @@ -17410,15 +17222,14 @@ func (c *SageMaker) ListNotebookInstanceLifecycleConfigsWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNotebookInstanceLifecycleConfigs operation. -// pageNum := 0 -// err := client.ListNotebookInstanceLifecycleConfigsPages(params, -// func(page *sagemaker.ListNotebookInstanceLifecycleConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNotebookInstanceLifecycleConfigs operation. +// pageNum := 0 +// err := client.ListNotebookInstanceLifecycleConfigsPages(params, +// func(page *sagemaker.ListNotebookInstanceLifecycleConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListNotebookInstanceLifecycleConfigsPages(input *ListNotebookInstanceLifecycleConfigsInput, fn func(*ListNotebookInstanceLifecycleConfigsOutput, bool) bool) error { return c.ListNotebookInstanceLifecycleConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17470,14 +17281,13 @@ const opListNotebookInstances = "ListNotebookInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNotebookInstancesRequest method. +// req, resp := client.ListNotebookInstancesRequest(params) // -// // Example sending a request using the ListNotebookInstancesRequest method. -// req, resp := client.ListNotebookInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances func (c *SageMaker) ListNotebookInstancesRequest(input *ListNotebookInstancesInput) (req *request.Request, output *ListNotebookInstancesOutput) { @@ -17543,15 +17353,14 @@ func (c *SageMaker) ListNotebookInstancesWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNotebookInstances operation. -// pageNum := 0 -// err := client.ListNotebookInstancesPages(params, -// func(page *sagemaker.ListNotebookInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNotebookInstances operation. +// pageNum := 0 +// err := client.ListNotebookInstancesPages(params, +// func(page *sagemaker.ListNotebookInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListNotebookInstancesPages(input *ListNotebookInstancesInput, fn func(*ListNotebookInstancesOutput, bool) bool) error { return c.ListNotebookInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17603,14 +17412,13 @@ const opListPipelineExecutionSteps = "ListPipelineExecutionSteps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPipelineExecutionStepsRequest method. +// req, resp := client.ListPipelineExecutionStepsRequest(params) // -// // Example sending a request using the ListPipelineExecutionStepsRequest method. -// req, resp := client.ListPipelineExecutionStepsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutionSteps func (c *SageMaker) ListPipelineExecutionStepsRequest(input *ListPipelineExecutionStepsInput) (req *request.Request, output *ListPipelineExecutionStepsOutput) { @@ -17647,8 +17455,8 @@ func (c *SageMaker) ListPipelineExecutionStepsRequest(input *ListPipelineExecuti // API operation ListPipelineExecutionSteps for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutionSteps func (c *SageMaker) ListPipelineExecutionSteps(input *ListPipelineExecutionStepsInput) (*ListPipelineExecutionStepsOutput, error) { @@ -17680,15 +17488,14 @@ func (c *SageMaker) ListPipelineExecutionStepsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPipelineExecutionSteps operation. -// pageNum := 0 -// err := client.ListPipelineExecutionStepsPages(params, -// func(page *sagemaker.ListPipelineExecutionStepsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPipelineExecutionSteps operation. +// pageNum := 0 +// err := client.ListPipelineExecutionStepsPages(params, +// func(page *sagemaker.ListPipelineExecutionStepsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListPipelineExecutionStepsPages(input *ListPipelineExecutionStepsInput, fn func(*ListPipelineExecutionStepsOutput, bool) bool) error { return c.ListPipelineExecutionStepsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17740,14 +17547,13 @@ const opListPipelineExecutions = "ListPipelineExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPipelineExecutionsRequest method. +// req, resp := client.ListPipelineExecutionsRequest(params) // -// // Example sending a request using the ListPipelineExecutionsRequest method. -// req, resp := client.ListPipelineExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutions func (c *SageMaker) ListPipelineExecutionsRequest(input *ListPipelineExecutionsInput) (req *request.Request, output *ListPipelineExecutionsOutput) { @@ -17784,8 +17590,8 @@ func (c *SageMaker) ListPipelineExecutionsRequest(input *ListPipelineExecutionsI // API operation ListPipelineExecutions for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutions func (c *SageMaker) ListPipelineExecutions(input *ListPipelineExecutionsInput) (*ListPipelineExecutionsOutput, error) { @@ -17817,15 +17623,14 @@ func (c *SageMaker) ListPipelineExecutionsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPipelineExecutions operation. -// pageNum := 0 -// err := client.ListPipelineExecutionsPages(params, -// func(page *sagemaker.ListPipelineExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPipelineExecutions operation. +// pageNum := 0 +// err := client.ListPipelineExecutionsPages(params, +// func(page *sagemaker.ListPipelineExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListPipelineExecutionsPages(input *ListPipelineExecutionsInput, fn func(*ListPipelineExecutionsOutput, bool) bool) error { return c.ListPipelineExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -17877,14 +17682,13 @@ const opListPipelineParametersForExecution = "ListPipelineParametersForExecution // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPipelineParametersForExecutionRequest method. +// req, resp := client.ListPipelineParametersForExecutionRequest(params) // -// // Example sending a request using the ListPipelineParametersForExecutionRequest method. -// req, resp := client.ListPipelineParametersForExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineParametersForExecution func (c *SageMaker) ListPipelineParametersForExecutionRequest(input *ListPipelineParametersForExecutionInput) (req *request.Request, output *ListPipelineParametersForExecutionOutput) { @@ -17921,8 +17725,8 @@ func (c *SageMaker) ListPipelineParametersForExecutionRequest(input *ListPipelin // API operation ListPipelineParametersForExecution for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineParametersForExecution func (c *SageMaker) ListPipelineParametersForExecution(input *ListPipelineParametersForExecutionInput) (*ListPipelineParametersForExecutionOutput, error) { @@ -17954,15 +17758,14 @@ func (c *SageMaker) ListPipelineParametersForExecutionWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPipelineParametersForExecution operation. -// pageNum := 0 -// err := client.ListPipelineParametersForExecutionPages(params, -// func(page *sagemaker.ListPipelineParametersForExecutionOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPipelineParametersForExecution operation. +// pageNum := 0 +// err := client.ListPipelineParametersForExecutionPages(params, +// func(page *sagemaker.ListPipelineParametersForExecutionOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListPipelineParametersForExecutionPages(input *ListPipelineParametersForExecutionInput, fn func(*ListPipelineParametersForExecutionOutput, bool) bool) error { return c.ListPipelineParametersForExecutionPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18014,14 +17817,13 @@ const opListPipelines = "ListPipelines" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPipelinesRequest method. +// req, resp := client.ListPipelinesRequest(params) // -// // Example sending a request using the ListPipelinesRequest method. -// req, resp := client.ListPipelinesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelines func (c *SageMaker) ListPipelinesRequest(input *ListPipelinesInput) (req *request.Request, output *ListPipelinesOutput) { @@ -18086,15 +17888,14 @@ func (c *SageMaker) ListPipelinesWithContext(ctx aws.Context, input *ListPipelin // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPipelines operation. -// pageNum := 0 -// err := client.ListPipelinesPages(params, -// func(page *sagemaker.ListPipelinesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPipelines operation. +// pageNum := 0 +// err := client.ListPipelinesPages(params, +// func(page *sagemaker.ListPipelinesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListPipelinesPages(input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool) error { return c.ListPipelinesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18146,14 +17947,13 @@ const opListProcessingJobs = "ListProcessingJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProcessingJobsRequest method. +// req, resp := client.ListProcessingJobsRequest(params) // -// // Example sending a request using the ListProcessingJobsRequest method. -// req, resp := client.ListProcessingJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProcessingJobs func (c *SageMaker) ListProcessingJobsRequest(input *ListProcessingJobsInput) (req *request.Request, output *ListProcessingJobsOutput) { @@ -18218,15 +18018,14 @@ func (c *SageMaker) ListProcessingJobsWithContext(ctx aws.Context, input *ListPr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProcessingJobs operation. -// pageNum := 0 -// err := client.ListProcessingJobsPages(params, -// func(page *sagemaker.ListProcessingJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProcessingJobs operation. +// pageNum := 0 +// err := client.ListProcessingJobsPages(params, +// func(page *sagemaker.ListProcessingJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListProcessingJobsPages(input *ListProcessingJobsInput, fn func(*ListProcessingJobsOutput, bool) bool) error { return c.ListProcessingJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18278,14 +18077,13 @@ const opListProjects = "ListProjects" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProjectsRequest method. +// req, resp := client.ListProjectsRequest(params) // -// // Example sending a request using the ListProjectsRequest method. -// req, resp := client.ListProjectsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProjects func (c *SageMaker) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) { @@ -18350,15 +18148,14 @@ func (c *SageMaker) ListProjectsWithContext(ctx aws.Context, input *ListProjects // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProjects operation. -// pageNum := 0 -// err := client.ListProjectsPages(params, -// func(page *sagemaker.ListProjectsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProjects operation. +// pageNum := 0 +// err := client.ListProjectsPages(params, +// func(page *sagemaker.ListProjectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error { return c.ListProjectsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18410,14 +18207,13 @@ const opListStudioLifecycleConfigs = "ListStudioLifecycleConfigs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStudioLifecycleConfigsRequest method. +// req, resp := client.ListStudioLifecycleConfigsRequest(params) // -// // Example sending a request using the ListStudioLifecycleConfigsRequest method. -// req, resp := client.ListStudioLifecycleConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListStudioLifecycleConfigs func (c *SageMaker) ListStudioLifecycleConfigsRequest(input *ListStudioLifecycleConfigsInput) (req *request.Request, output *ListStudioLifecycleConfigsOutput) { @@ -18454,8 +18250,8 @@ func (c *SageMaker) ListStudioLifecycleConfigsRequest(input *ListStudioLifecycle // API operation ListStudioLifecycleConfigs for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListStudioLifecycleConfigs func (c *SageMaker) ListStudioLifecycleConfigs(input *ListStudioLifecycleConfigsInput) (*ListStudioLifecycleConfigsOutput, error) { @@ -18487,15 +18283,14 @@ func (c *SageMaker) ListStudioLifecycleConfigsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStudioLifecycleConfigs operation. -// pageNum := 0 -// err := client.ListStudioLifecycleConfigsPages(params, -// func(page *sagemaker.ListStudioLifecycleConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStudioLifecycleConfigs operation. +// pageNum := 0 +// err := client.ListStudioLifecycleConfigsPages(params, +// func(page *sagemaker.ListStudioLifecycleConfigsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListStudioLifecycleConfigsPages(input *ListStudioLifecycleConfigsInput, fn func(*ListStudioLifecycleConfigsOutput, bool) bool) error { return c.ListStudioLifecycleConfigsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18547,14 +18342,13 @@ const opListSubscribedWorkteams = "ListSubscribedWorkteams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSubscribedWorkteamsRequest method. +// req, resp := client.ListSubscribedWorkteamsRequest(params) // -// // Example sending a request using the ListSubscribedWorkteamsRequest method. -// req, resp := client.ListSubscribedWorkteamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListSubscribedWorkteams func (c *SageMaker) ListSubscribedWorkteamsRequest(input *ListSubscribedWorkteamsInput) (req *request.Request, output *ListSubscribedWorkteamsOutput) { @@ -18621,15 +18415,14 @@ func (c *SageMaker) ListSubscribedWorkteamsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSubscribedWorkteams operation. -// pageNum := 0 -// err := client.ListSubscribedWorkteamsPages(params, -// func(page *sagemaker.ListSubscribedWorkteamsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSubscribedWorkteams operation. +// pageNum := 0 +// err := client.ListSubscribedWorkteamsPages(params, +// func(page *sagemaker.ListSubscribedWorkteamsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListSubscribedWorkteamsPages(input *ListSubscribedWorkteamsInput, fn func(*ListSubscribedWorkteamsOutput, bool) bool) error { return c.ListSubscribedWorkteamsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18681,14 +18474,13 @@ const opListTags = "ListTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsRequest method. +// req, resp := client.ListTagsRequest(params) // -// // Example sending a request using the ListTagsRequest method. -// req, resp := client.ListTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags func (c *SageMaker) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) { @@ -18753,15 +18545,14 @@ func (c *SageMaker) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTags operation. -// pageNum := 0 -// err := client.ListTagsPages(params, -// func(page *sagemaker.ListTagsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTags operation. +// pageNum := 0 +// err := client.ListTagsPages(params, +// func(page *sagemaker.ListTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error { return c.ListTagsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18813,14 +18604,13 @@ const opListTrainingJobs = "ListTrainingJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTrainingJobsRequest method. +// req, resp := client.ListTrainingJobsRequest(params) // -// // Example sending a request using the ListTrainingJobsRequest method. -// req, resp := client.ListTrainingJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs func (c *SageMaker) ListTrainingJobsRequest(input *ListTrainingJobsInput) (req *request.Request, output *ListTrainingJobsOutput) { @@ -18903,15 +18693,14 @@ func (c *SageMaker) ListTrainingJobsWithContext(ctx aws.Context, input *ListTrai // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTrainingJobs operation. -// pageNum := 0 -// err := client.ListTrainingJobsPages(params, -// func(page *sagemaker.ListTrainingJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTrainingJobs operation. +// pageNum := 0 +// err := client.ListTrainingJobsPages(params, +// func(page *sagemaker.ListTrainingJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListTrainingJobsPages(input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool) error { return c.ListTrainingJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -18963,14 +18752,13 @@ const opListTrainingJobsForHyperParameterTuningJob = "ListTrainingJobsForHyperPa // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTrainingJobsForHyperParameterTuningJobRequest method. +// req, resp := client.ListTrainingJobsForHyperParameterTuningJobRequest(params) // -// // Example sending a request using the ListTrainingJobsForHyperParameterTuningJobRequest method. -// req, resp := client.ListTrainingJobsForHyperParameterTuningJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsForHyperParameterTuningJob func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobRequest(input *ListTrainingJobsForHyperParameterTuningJobInput) (req *request.Request, output *ListTrainingJobsForHyperParameterTuningJobOutput) { @@ -19008,8 +18796,8 @@ func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobRequest(input *Lis // API operation ListTrainingJobsForHyperParameterTuningJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsForHyperParameterTuningJob func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJob(input *ListTrainingJobsForHyperParameterTuningJobInput) (*ListTrainingJobsForHyperParameterTuningJobOutput, error) { @@ -19041,15 +18829,14 @@ func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobWithContext(ctx aw // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTrainingJobsForHyperParameterTuningJob operation. -// pageNum := 0 -// err := client.ListTrainingJobsForHyperParameterTuningJobPages(params, -// func(page *sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTrainingJobsForHyperParameterTuningJob operation. +// pageNum := 0 +// err := client.ListTrainingJobsForHyperParameterTuningJobPages(params, +// func(page *sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobPages(input *ListTrainingJobsForHyperParameterTuningJobInput, fn func(*ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool) error { return c.ListTrainingJobsForHyperParameterTuningJobPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19101,14 +18888,13 @@ const opListTransformJobs = "ListTransformJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTransformJobsRequest method. +// req, resp := client.ListTransformJobsRequest(params) // -// // Example sending a request using the ListTransformJobsRequest method. -// req, resp := client.ListTransformJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTransformJobs func (c *SageMaker) ListTransformJobsRequest(input *ListTransformJobsInput) (req *request.Request, output *ListTransformJobsOutput) { @@ -19173,15 +18959,14 @@ func (c *SageMaker) ListTransformJobsWithContext(ctx aws.Context, input *ListTra // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTransformJobs operation. -// pageNum := 0 -// err := client.ListTransformJobsPages(params, -// func(page *sagemaker.ListTransformJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTransformJobs operation. +// pageNum := 0 +// err := client.ListTransformJobsPages(params, +// func(page *sagemaker.ListTransformJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListTransformJobsPages(input *ListTransformJobsInput, fn func(*ListTransformJobsOutput, bool) bool) error { return c.ListTransformJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19233,14 +19018,13 @@ const opListTrialComponents = "ListTrialComponents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTrialComponentsRequest method. +// req, resp := client.ListTrialComponentsRequest(params) // -// // Example sending a request using the ListTrialComponentsRequest method. -// req, resp := client.ListTrialComponentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrialComponents func (c *SageMaker) ListTrialComponentsRequest(input *ListTrialComponentsInput) (req *request.Request, output *ListTrialComponentsOutput) { @@ -19272,11 +19056,11 @@ func (c *SageMaker) ListTrialComponentsRequest(input *ListTrialComponentsInput) // that were created in a specific time range. You can also filter on one of // the following: // -// * ExperimentName +// - ExperimentName // -// * SourceArn +// - SourceArn // -// * TrialName +// - TrialName // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -19286,8 +19070,8 @@ func (c *SageMaker) ListTrialComponentsRequest(input *ListTrialComponentsInput) // API operation ListTrialComponents for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrialComponents func (c *SageMaker) ListTrialComponents(input *ListTrialComponentsInput) (*ListTrialComponentsOutput, error) { @@ -19319,15 +19103,14 @@ func (c *SageMaker) ListTrialComponentsWithContext(ctx aws.Context, input *ListT // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTrialComponents operation. -// pageNum := 0 -// err := client.ListTrialComponentsPages(params, -// func(page *sagemaker.ListTrialComponentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTrialComponents operation. +// pageNum := 0 +// err := client.ListTrialComponentsPages(params, +// func(page *sagemaker.ListTrialComponentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListTrialComponentsPages(input *ListTrialComponentsInput, fn func(*ListTrialComponentsOutput, bool) bool) error { return c.ListTrialComponentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19379,14 +19162,13 @@ const opListTrials = "ListTrials" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTrialsRequest method. +// req, resp := client.ListTrialsRequest(params) // -// // Example sending a request using the ListTrialsRequest method. -// req, resp := client.ListTrialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrials func (c *SageMaker) ListTrialsRequest(input *ListTrialsInput) (req *request.Request, output *ListTrialsOutput) { @@ -19427,8 +19209,8 @@ func (c *SageMaker) ListTrialsRequest(input *ListTrialsInput) (req *request.Requ // API operation ListTrials for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrials func (c *SageMaker) ListTrials(input *ListTrialsInput) (*ListTrialsOutput, error) { @@ -19460,15 +19242,14 @@ func (c *SageMaker) ListTrialsWithContext(ctx aws.Context, input *ListTrialsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTrials operation. -// pageNum := 0 -// err := client.ListTrialsPages(params, -// func(page *sagemaker.ListTrialsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTrials operation. +// pageNum := 0 +// err := client.ListTrialsPages(params, +// func(page *sagemaker.ListTrialsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListTrialsPages(input *ListTrialsInput, fn func(*ListTrialsOutput, bool) bool) error { return c.ListTrialsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19520,14 +19301,13 @@ const opListUserProfiles = "ListUserProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUserProfilesRequest method. +// req, resp := client.ListUserProfilesRequest(params) // -// // Example sending a request using the ListUserProfilesRequest method. -// req, resp := client.ListUserProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListUserProfiles func (c *SageMaker) ListUserProfilesRequest(input *ListUserProfilesInput) (req *request.Request, output *ListUserProfilesOutput) { @@ -19592,15 +19372,14 @@ func (c *SageMaker) ListUserProfilesWithContext(ctx aws.Context, input *ListUser // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUserProfiles operation. -// pageNum := 0 -// err := client.ListUserProfilesPages(params, -// func(page *sagemaker.ListUserProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUserProfiles operation. +// pageNum := 0 +// err := client.ListUserProfilesPages(params, +// func(page *sagemaker.ListUserProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListUserProfilesPages(input *ListUserProfilesInput, fn func(*ListUserProfilesOutput, bool) bool) error { return c.ListUserProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19652,14 +19431,13 @@ const opListWorkforces = "ListWorkforces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorkforcesRequest method. +// req, resp := client.ListWorkforcesRequest(params) // -// // Example sending a request using the ListWorkforcesRequest method. -// req, resp := client.ListWorkforcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkforces func (c *SageMaker) ListWorkforcesRequest(input *ListWorkforcesInput) (req *request.Request, output *ListWorkforcesOutput) { @@ -19726,15 +19504,14 @@ func (c *SageMaker) ListWorkforcesWithContext(ctx aws.Context, input *ListWorkfo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorkforces operation. -// pageNum := 0 -// err := client.ListWorkforcesPages(params, -// func(page *sagemaker.ListWorkforcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorkforces operation. +// pageNum := 0 +// err := client.ListWorkforcesPages(params, +// func(page *sagemaker.ListWorkforcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListWorkforcesPages(input *ListWorkforcesInput, fn func(*ListWorkforcesOutput, bool) bool) error { return c.ListWorkforcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19786,14 +19563,13 @@ const opListWorkteams = "ListWorkteams" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorkteamsRequest method. +// req, resp := client.ListWorkteamsRequest(params) // -// // Example sending a request using the ListWorkteamsRequest method. -// req, resp := client.ListWorkteamsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkteams func (c *SageMaker) ListWorkteamsRequest(input *ListWorkteamsInput) (req *request.Request, output *ListWorkteamsOutput) { @@ -19860,15 +19636,14 @@ func (c *SageMaker) ListWorkteamsWithContext(ctx aws.Context, input *ListWorktea // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorkteams operation. -// pageNum := 0 -// err := client.ListWorkteamsPages(params, -// func(page *sagemaker.ListWorkteamsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorkteams operation. +// pageNum := 0 +// err := client.ListWorkteamsPages(params, +// func(page *sagemaker.ListWorkteamsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) ListWorkteamsPages(input *ListWorkteamsInput, fn func(*ListWorkteamsOutput, bool) bool) error { return c.ListWorkteamsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -19920,14 +19695,13 @@ const opPutModelPackageGroupPolicy = "PutModelPackageGroupPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutModelPackageGroupPolicyRequest method. +// req, resp := client.PutModelPackageGroupPolicyRequest(params) // -// // Example sending a request using the PutModelPackageGroupPolicyRequest method. -// req, resp := client.PutModelPackageGroupPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PutModelPackageGroupPolicy func (c *SageMaker) PutModelPackageGroupPolicyRequest(input *PutModelPackageGroupPolicyInput) (req *request.Request, output *PutModelPackageGroupPolicyOutput) { @@ -19997,14 +19771,13 @@ const opQueryLineage = "QueryLineage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the QueryLineageRequest method. +// req, resp := client.QueryLineageRequest(params) // -// // Example sending a request using the QueryLineageRequest method. -// req, resp := client.QueryLineageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/QueryLineage func (c *SageMaker) QueryLineageRequest(input *QueryLineageInput) (req *request.Request, output *QueryLineageOutput) { @@ -20043,8 +19816,8 @@ func (c *SageMaker) QueryLineageRequest(input *QueryLineageInput) (req *request. // API operation QueryLineage for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/QueryLineage func (c *SageMaker) QueryLineage(input *QueryLineageInput) (*QueryLineageOutput, error) { @@ -20076,15 +19849,14 @@ func (c *SageMaker) QueryLineageWithContext(ctx aws.Context, input *QueryLineage // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a QueryLineage operation. -// pageNum := 0 -// err := client.QueryLineagePages(params, -// func(page *sagemaker.QueryLineageOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a QueryLineage operation. +// pageNum := 0 +// err := client.QueryLineagePages(params, +// func(page *sagemaker.QueryLineageOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) QueryLineagePages(input *QueryLineageInput, fn func(*QueryLineageOutput, bool) bool) error { return c.QueryLineagePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -20136,14 +19908,13 @@ const opRegisterDevices = "RegisterDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterDevicesRequest method. +// req, resp := client.RegisterDevicesRequest(params) // -// // Example sending a request using the RegisterDevicesRequest method. -// req, resp := client.RegisterDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RegisterDevices func (c *SageMaker) RegisterDevicesRequest(input *RegisterDevicesInput) (req *request.Request, output *RegisterDevicesOutput) { @@ -20175,9 +19946,9 @@ func (c *SageMaker) RegisterDevicesRequest(input *RegisterDevicesInput) (req *re // API operation RegisterDevices for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RegisterDevices func (c *SageMaker) RegisterDevices(input *RegisterDevicesInput) (*RegisterDevicesOutput, error) { @@ -20217,14 +19988,13 @@ const opRenderUiTemplate = "RenderUiTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RenderUiTemplateRequest method. +// req, resp := client.RenderUiTemplateRequest(params) // -// // Example sending a request using the RenderUiTemplateRequest method. -// req, resp := client.RenderUiTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RenderUiTemplate func (c *SageMaker) RenderUiTemplateRequest(input *RenderUiTemplateInput) (req *request.Request, output *RenderUiTemplateOutput) { @@ -20255,8 +20025,8 @@ func (c *SageMaker) RenderUiTemplateRequest(input *RenderUiTemplateInput) (req * // API operation RenderUiTemplate for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RenderUiTemplate func (c *SageMaker) RenderUiTemplate(input *RenderUiTemplateInput) (*RenderUiTemplateOutput, error) { @@ -20296,14 +20066,13 @@ const opRetryPipelineExecution = "RetryPipelineExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RetryPipelineExecutionRequest method. +// req, resp := client.RetryPipelineExecutionRequest(params) // -// // Example sending a request using the RetryPipelineExecutionRequest method. -// req, resp := client.RetryPipelineExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RetryPipelineExecution func (c *SageMaker) RetryPipelineExecutionRequest(input *RetryPipelineExecutionInput) (req *request.Request, output *RetryPipelineExecutionOutput) { @@ -20334,16 +20103,17 @@ func (c *SageMaker) RetryPipelineExecutionRequest(input *RetryPipelineExecutionI // API operation RetryPipelineExecution for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceNotFound +// Resource being access is not found. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // -// * ConflictException -// There was a conflict when you attempted to modify a SageMaker entity such -// as an Experiment or Artifact. +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RetryPipelineExecution func (c *SageMaker) RetryPipelineExecution(input *RetryPipelineExecutionInput) (*RetryPipelineExecutionOutput, error) { @@ -20383,14 +20153,13 @@ const opSearch = "Search" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchRequest method. +// req, resp := client.SearchRequest(params) // -// // Example sending a request using the SearchRequest method. -// req, resp := client.SearchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Search func (c *SageMaker) SearchRequest(input *SearchInput) (req *request.Request, output *SearchOutput) { @@ -20461,15 +20230,14 @@ func (c *SageMaker) SearchWithContext(ctx aws.Context, input *SearchInput, opts // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a Search operation. -// pageNum := 0 -// err := client.SearchPages(params, -// func(page *sagemaker.SearchOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a Search operation. +// pageNum := 0 +// err := client.SearchPages(params, +// func(page *sagemaker.SearchOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SageMaker) SearchPages(input *SearchInput, fn func(*SearchOutput, bool) bool) error { return c.SearchPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -20521,14 +20289,13 @@ const opSendPipelineExecutionStepFailure = "SendPipelineExecutionStepFailure" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendPipelineExecutionStepFailureRequest method. +// req, resp := client.SendPipelineExecutionStepFailureRequest(params) // -// // Example sending a request using the SendPipelineExecutionStepFailureRequest method. -// req, resp := client.SendPipelineExecutionStepFailureRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SendPipelineExecutionStepFailure func (c *SageMaker) SendPipelineExecutionStepFailureRequest(input *SendPipelineExecutionStepFailureInput) (req *request.Request, output *SendPipelineExecutionStepFailureOutput) { @@ -20562,12 +20329,13 @@ func (c *SageMaker) SendPipelineExecutionStepFailureRequest(input *SendPipelineE // API operation SendPipelineExecutionStepFailure for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceNotFound +// Resource being access is not found. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SendPipelineExecutionStepFailure func (c *SageMaker) SendPipelineExecutionStepFailure(input *SendPipelineExecutionStepFailureInput) (*SendPipelineExecutionStepFailureOutput, error) { @@ -20607,14 +20375,13 @@ const opSendPipelineExecutionStepSuccess = "SendPipelineExecutionStepSuccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendPipelineExecutionStepSuccessRequest method. +// req, resp := client.SendPipelineExecutionStepSuccessRequest(params) // -// // Example sending a request using the SendPipelineExecutionStepSuccessRequest method. -// req, resp := client.SendPipelineExecutionStepSuccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SendPipelineExecutionStepSuccess func (c *SageMaker) SendPipelineExecutionStepSuccessRequest(input *SendPipelineExecutionStepSuccessInput) (req *request.Request, output *SendPipelineExecutionStepSuccessOutput) { @@ -20648,12 +20415,13 @@ func (c *SageMaker) SendPipelineExecutionStepSuccessRequest(input *SendPipelineE // API operation SendPipelineExecutionStepSuccess for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceNotFound +// Resource being access is not found. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SendPipelineExecutionStepSuccess func (c *SageMaker) SendPipelineExecutionStepSuccess(input *SendPipelineExecutionStepSuccessInput) (*SendPipelineExecutionStepSuccessOutput, error) { @@ -20693,14 +20461,13 @@ const opStartMonitoringSchedule = "StartMonitoringSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMonitoringScheduleRequest method. +// req, resp := client.StartMonitoringScheduleRequest(params) // -// // Example sending a request using the StartMonitoringScheduleRequest method. -// req, resp := client.StartMonitoringScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartMonitoringSchedule func (c *SageMaker) StartMonitoringScheduleRequest(input *StartMonitoringScheduleInput) (req *request.Request, output *StartMonitoringScheduleOutput) { @@ -20735,8 +20502,8 @@ func (c *SageMaker) StartMonitoringScheduleRequest(input *StartMonitoringSchedul // API operation StartMonitoringSchedule for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartMonitoringSchedule func (c *SageMaker) StartMonitoringSchedule(input *StartMonitoringScheduleInput) (*StartMonitoringScheduleOutput, error) { @@ -20776,14 +20543,13 @@ const opStartNotebookInstance = "StartNotebookInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartNotebookInstanceRequest method. +// req, resp := client.StartNotebookInstanceRequest(params) // -// // Example sending a request using the StartNotebookInstanceRequest method. -// req, resp := client.StartNotebookInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance func (c *SageMaker) StartNotebookInstanceRequest(input *StartNotebookInstanceInput) (req *request.Request, output *StartNotebookInstanceOutput) { @@ -20818,9 +20584,9 @@ func (c *SageMaker) StartNotebookInstanceRequest(input *StartNotebookInstanceInp // API operation StartNotebookInstance for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance func (c *SageMaker) StartNotebookInstance(input *StartNotebookInstanceInput) (*StartNotebookInstanceOutput, error) { @@ -20860,14 +20626,13 @@ const opStartPipelineExecution = "StartPipelineExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartPipelineExecutionRequest method. +// req, resp := client.StartPipelineExecutionRequest(params) // -// // Example sending a request using the StartPipelineExecutionRequest method. -// req, resp := client.StartPipelineExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartPipelineExecution func (c *SageMaker) StartPipelineExecutionRequest(input *StartPipelineExecutionInput) (req *request.Request, output *StartPipelineExecutionOutput) { @@ -20898,12 +20663,13 @@ func (c *SageMaker) StartPipelineExecutionRequest(input *StartPipelineExecutionI // API operation StartPipelineExecution for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. // -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceNotFound +// Resource being access is not found. +// +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartPipelineExecution func (c *SageMaker) StartPipelineExecution(input *StartPipelineExecutionInput) (*StartPipelineExecutionOutput, error) { @@ -20943,14 +20709,13 @@ const opStopAutoMLJob = "StopAutoMLJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopAutoMLJobRequest method. +// req, resp := client.StopAutoMLJobRequest(params) // -// // Example sending a request using the StopAutoMLJobRequest method. -// req, resp := client.StopAutoMLJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopAutoMLJob func (c *SageMaker) StopAutoMLJobRequest(input *StopAutoMLJobInput) (req *request.Request, output *StopAutoMLJobOutput) { @@ -20982,8 +20747,8 @@ func (c *SageMaker) StopAutoMLJobRequest(input *StopAutoMLJobInput) (req *reques // API operation StopAutoMLJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopAutoMLJob func (c *SageMaker) StopAutoMLJob(input *StopAutoMLJobInput) (*StopAutoMLJobOutput, error) { @@ -21023,14 +20788,13 @@ const opStopCompilationJob = "StopCompilationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopCompilationJobRequest method. +// req, resp := client.StopCompilationJobRequest(params) // -// // Example sending a request using the StopCompilationJobRequest method. -// req, resp := client.StopCompilationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopCompilationJob func (c *SageMaker) StopCompilationJobRequest(input *StopCompilationJobInput) (req *request.Request, output *StopCompilationJobOutput) { @@ -21071,8 +20835,8 @@ func (c *SageMaker) StopCompilationJobRequest(input *StopCompilationJobInput) (r // API operation StopCompilationJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopCompilationJob func (c *SageMaker) StopCompilationJob(input *StopCompilationJobInput) (*StopCompilationJobOutput, error) { @@ -21112,14 +20876,13 @@ const opStopEdgePackagingJob = "StopEdgePackagingJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopEdgePackagingJobRequest method. +// req, resp := client.StopEdgePackagingJobRequest(params) // -// // Example sending a request using the StopEdgePackagingJobRequest method. -// req, resp := client.StopEdgePackagingJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopEdgePackagingJob func (c *SageMaker) StopEdgePackagingJobRequest(input *StopEdgePackagingJobInput) (req *request.Request, output *StopEdgePackagingJobOutput) { @@ -21187,14 +20950,13 @@ const opStopHyperParameterTuningJob = "StopHyperParameterTuningJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopHyperParameterTuningJobRequest method. +// req, resp := client.StopHyperParameterTuningJobRequest(params) // -// // Example sending a request using the StopHyperParameterTuningJobRequest method. -// req, resp := client.StopHyperParameterTuningJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopHyperParameterTuningJob func (c *SageMaker) StopHyperParameterTuningJobRequest(input *StopHyperParameterTuningJobInput) (req *request.Request, output *StopHyperParameterTuningJobOutput) { @@ -21232,8 +20994,8 @@ func (c *SageMaker) StopHyperParameterTuningJobRequest(input *StopHyperParameter // API operation StopHyperParameterTuningJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopHyperParameterTuningJob func (c *SageMaker) StopHyperParameterTuningJob(input *StopHyperParameterTuningJobInput) (*StopHyperParameterTuningJobOutput, error) { @@ -21273,14 +21035,13 @@ const opStopInferenceRecommendationsJob = "StopInferenceRecommendationsJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopInferenceRecommendationsJobRequest method. +// req, resp := client.StopInferenceRecommendationsJobRequest(params) // -// // Example sending a request using the StopInferenceRecommendationsJobRequest method. -// req, resp := client.StopInferenceRecommendationsJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopInferenceRecommendationsJob func (c *SageMaker) StopInferenceRecommendationsJobRequest(input *StopInferenceRecommendationsJobInput) (req *request.Request, output *StopInferenceRecommendationsJobOutput) { @@ -21312,8 +21073,8 @@ func (c *SageMaker) StopInferenceRecommendationsJobRequest(input *StopInferenceR // API operation StopInferenceRecommendationsJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopInferenceRecommendationsJob func (c *SageMaker) StopInferenceRecommendationsJob(input *StopInferenceRecommendationsJobInput) (*StopInferenceRecommendationsJobOutput, error) { @@ -21353,14 +21114,13 @@ const opStopLabelingJob = "StopLabelingJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopLabelingJobRequest method. +// req, resp := client.StopLabelingJobRequest(params) // -// // Example sending a request using the StopLabelingJobRequest method. -// req, resp := client.StopLabelingJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopLabelingJob func (c *SageMaker) StopLabelingJobRequest(input *StopLabelingJobInput) (req *request.Request, output *StopLabelingJobOutput) { @@ -21394,8 +21154,8 @@ func (c *SageMaker) StopLabelingJobRequest(input *StopLabelingJobInput) (req *re // API operation StopLabelingJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopLabelingJob func (c *SageMaker) StopLabelingJob(input *StopLabelingJobInput) (*StopLabelingJobOutput, error) { @@ -21435,14 +21195,13 @@ const opStopMonitoringSchedule = "StopMonitoringSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopMonitoringScheduleRequest method. +// req, resp := client.StopMonitoringScheduleRequest(params) // -// // Example sending a request using the StopMonitoringScheduleRequest method. -// req, resp := client.StopMonitoringScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopMonitoringSchedule func (c *SageMaker) StopMonitoringScheduleRequest(input *StopMonitoringScheduleInput) (req *request.Request, output *StopMonitoringScheduleOutput) { @@ -21474,8 +21233,8 @@ func (c *SageMaker) StopMonitoringScheduleRequest(input *StopMonitoringScheduleI // API operation StopMonitoringSchedule for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopMonitoringSchedule func (c *SageMaker) StopMonitoringSchedule(input *StopMonitoringScheduleInput) (*StopMonitoringScheduleOutput, error) { @@ -21515,14 +21274,13 @@ const opStopNotebookInstance = "StopNotebookInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopNotebookInstanceRequest method. +// req, resp := client.StopNotebookInstanceRequest(params) // -// // Example sending a request using the StopNotebookInstanceRequest method. -// req, resp := client.StopNotebookInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance func (c *SageMaker) StopNotebookInstanceRequest(input *StopNotebookInstanceInput) (req *request.Request, output *StopNotebookInstanceOutput) { @@ -21598,14 +21356,13 @@ const opStopPipelineExecution = "StopPipelineExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopPipelineExecutionRequest method. +// req, resp := client.StopPipelineExecutionRequest(params) // -// // Example sending a request using the StopPipelineExecutionRequest method. -// req, resp := client.StopPipelineExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopPipelineExecution func (c *SageMaker) StopPipelineExecutionRequest(input *StopPipelineExecutionInput) (req *request.Request, output *StopPipelineExecutionOutput) { @@ -21628,7 +21385,7 @@ func (c *SageMaker) StopPipelineExecutionRequest(input *StopPipelineExecutionInp // // Stops a pipeline execution. // -// Callback Step +// # Callback Step // // A pipeline execution won't stop while a callback step is running. When you // call StopPipelineExecution on a pipeline execution with a running callback @@ -21643,7 +21400,7 @@ func (c *SageMaker) StopPipelineExecutionRequest(input *StopPipelineExecutionInp // Only when SageMaker Pipelines receives one of these calls will it stop the // pipeline execution. // -// Lambda Step +// # Lambda Step // // A pipeline execution can't be stopped while a lambda step is running because // the Lambda function invoked by the lambda step can't be stopped. If you attempt @@ -21661,8 +21418,8 @@ func (c *SageMaker) StopPipelineExecutionRequest(input *StopPipelineExecutionInp // API operation StopPipelineExecution for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopPipelineExecution func (c *SageMaker) StopPipelineExecution(input *StopPipelineExecutionInput) (*StopPipelineExecutionOutput, error) { @@ -21702,14 +21459,13 @@ const opStopProcessingJob = "StopProcessingJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopProcessingJobRequest method. +// req, resp := client.StopProcessingJobRequest(params) // -// // Example sending a request using the StopProcessingJobRequest method. -// req, resp := client.StopProcessingJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopProcessingJob func (c *SageMaker) StopProcessingJobRequest(input *StopProcessingJobInput) (req *request.Request, output *StopProcessingJobOutput) { @@ -21741,8 +21497,8 @@ func (c *SageMaker) StopProcessingJobRequest(input *StopProcessingJobInput) (req // API operation StopProcessingJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopProcessingJob func (c *SageMaker) StopProcessingJob(input *StopProcessingJobInput) (*StopProcessingJobOutput, error) { @@ -21782,14 +21538,13 @@ const opStopTrainingJob = "StopTrainingJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopTrainingJobRequest method. +// req, resp := client.StopTrainingJobRequest(params) // -// // Example sending a request using the StopTrainingJobRequest method. -// req, resp := client.StopTrainingJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob func (c *SageMaker) StopTrainingJobRequest(input *StopTrainingJobInput) (req *request.Request, output *StopTrainingJobOutput) { @@ -21828,8 +21583,8 @@ func (c *SageMaker) StopTrainingJobRequest(input *StopTrainingJobInput) (req *re // API operation StopTrainingJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob func (c *SageMaker) StopTrainingJob(input *StopTrainingJobInput) (*StopTrainingJobOutput, error) { @@ -21869,14 +21624,13 @@ const opStopTransformJob = "StopTransformJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopTransformJobRequest method. +// req, resp := client.StopTransformJobRequest(params) // -// // Example sending a request using the StopTransformJobRequest method. -// req, resp := client.StopTransformJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTransformJob func (c *SageMaker) StopTransformJobRequest(input *StopTransformJobInput) (req *request.Request, output *StopTransformJobOutput) { @@ -21913,8 +21667,8 @@ func (c *SageMaker) StopTransformJobRequest(input *StopTransformJobInput) (req * // API operation StopTransformJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTransformJob func (c *SageMaker) StopTransformJob(input *StopTransformJobInput) (*StopTransformJobOutput, error) { @@ -21954,14 +21708,13 @@ const opUpdateAction = "UpdateAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateActionRequest method. +// req, resp := client.UpdateActionRequest(params) // -// // Example sending a request using the UpdateActionRequest method. -// req, resp := client.UpdateActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAction func (c *SageMaker) UpdateActionRequest(input *UpdateActionInput) (req *request.Request, output *UpdateActionOutput) { @@ -21992,12 +21745,13 @@ func (c *SageMaker) UpdateActionRequest(input *UpdateActionInput) (req *request. // API operation UpdateAction for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict when you attempted to modify a SageMaker entity such -// as an Experiment or Artifact. // -// * ResourceNotFound -// Resource being access is not found. +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAction func (c *SageMaker) UpdateAction(input *UpdateActionInput) (*UpdateActionOutput, error) { @@ -22037,14 +21791,13 @@ const opUpdateAppImageConfig = "UpdateAppImageConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAppImageConfigRequest method. +// req, resp := client.UpdateAppImageConfigRequest(params) // -// // Example sending a request using the UpdateAppImageConfigRequest method. -// req, resp := client.UpdateAppImageConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAppImageConfig func (c *SageMaker) UpdateAppImageConfigRequest(input *UpdateAppImageConfigInput) (req *request.Request, output *UpdateAppImageConfigOutput) { @@ -22075,8 +21828,8 @@ func (c *SageMaker) UpdateAppImageConfigRequest(input *UpdateAppImageConfigInput // API operation UpdateAppImageConfig for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAppImageConfig func (c *SageMaker) UpdateAppImageConfig(input *UpdateAppImageConfigInput) (*UpdateAppImageConfigOutput, error) { @@ -22116,14 +21869,13 @@ const opUpdateArtifact = "UpdateArtifact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateArtifactRequest method. +// req, resp := client.UpdateArtifactRequest(params) // -// // Example sending a request using the UpdateArtifactRequest method. -// req, resp := client.UpdateArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateArtifact func (c *SageMaker) UpdateArtifactRequest(input *UpdateArtifactInput) (req *request.Request, output *UpdateArtifactOutput) { @@ -22154,12 +21906,13 @@ func (c *SageMaker) UpdateArtifactRequest(input *UpdateArtifactInput) (req *requ // API operation UpdateArtifact for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict when you attempted to modify a SageMaker entity such -// as an Experiment or Artifact. // -// * ResourceNotFound -// Resource being access is not found. +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateArtifact func (c *SageMaker) UpdateArtifact(input *UpdateArtifactInput) (*UpdateArtifactOutput, error) { @@ -22199,14 +21952,13 @@ const opUpdateCodeRepository = "UpdateCodeRepository" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCodeRepositoryRequest method. +// req, resp := client.UpdateCodeRepositoryRequest(params) // -// // Example sending a request using the UpdateCodeRepositoryRequest method. -// req, resp := client.UpdateCodeRepositoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateCodeRepository func (c *SageMaker) UpdateCodeRepositoryRequest(input *UpdateCodeRepositoryInput) (req *request.Request, output *UpdateCodeRepositoryOutput) { @@ -22273,14 +22025,13 @@ const opUpdateContext = "UpdateContext" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContextRequest method. +// req, resp := client.UpdateContextRequest(params) // -// // Example sending a request using the UpdateContextRequest method. -// req, resp := client.UpdateContextRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateContext func (c *SageMaker) UpdateContextRequest(input *UpdateContextInput) (req *request.Request, output *UpdateContextOutput) { @@ -22311,12 +22062,13 @@ func (c *SageMaker) UpdateContextRequest(input *UpdateContextInput) (req *reques // API operation UpdateContext for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict when you attempted to modify a SageMaker entity such -// as an Experiment or Artifact. // -// * ResourceNotFound -// Resource being access is not found. +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateContext func (c *SageMaker) UpdateContext(input *UpdateContextInput) (*UpdateContextOutput, error) { @@ -22356,14 +22108,13 @@ const opUpdateDeviceFleet = "UpdateDeviceFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDeviceFleetRequest method. +// req, resp := client.UpdateDeviceFleetRequest(params) // -// // Example sending a request using the UpdateDeviceFleetRequest method. -// req, resp := client.UpdateDeviceFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDeviceFleet func (c *SageMaker) UpdateDeviceFleetRequest(input *UpdateDeviceFleetInput) (req *request.Request, output *UpdateDeviceFleetOutput) { @@ -22395,8 +22146,8 @@ func (c *SageMaker) UpdateDeviceFleetRequest(input *UpdateDeviceFleetInput) (req // API operation UpdateDeviceFleet for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceInUse +// Resource being accessed is in use. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDeviceFleet func (c *SageMaker) UpdateDeviceFleet(input *UpdateDeviceFleetInput) (*UpdateDeviceFleetOutput, error) { @@ -22436,14 +22187,13 @@ const opUpdateDevices = "UpdateDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDevicesRequest method. +// req, resp := client.UpdateDevicesRequest(params) // -// // Example sending a request using the UpdateDevicesRequest method. -// req, resp := client.UpdateDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDevices func (c *SageMaker) UpdateDevicesRequest(input *UpdateDevicesInput) (req *request.Request, output *UpdateDevicesOutput) { @@ -22511,14 +22261,13 @@ const opUpdateDomain = "UpdateDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDomainRequest method. +// req, resp := client.UpdateDomainRequest(params) // -// // Example sending a request using the UpdateDomainRequest method. -// req, resp := client.UpdateDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDomain func (c *SageMaker) UpdateDomainRequest(input *UpdateDomainInput) (req *request.Request, output *UpdateDomainOutput) { @@ -22549,15 +22298,16 @@ func (c *SageMaker) UpdateDomainRequest(input *UpdateDomainInput) (req *request. // API operation UpdateDomain for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. // -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // -// * ResourceNotFound -// Resource being access is not found. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDomain func (c *SageMaker) UpdateDomain(input *UpdateDomainInput) (*UpdateDomainOutput, error) { @@ -22597,14 +22347,13 @@ const opUpdateEndpoint = "UpdateEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEndpointRequest method. +// req, resp := client.UpdateEndpointRequest(params) // -// // Example sending a request using the UpdateEndpointRequest method. -// req, resp := client.UpdateEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint func (c *SageMaker) UpdateEndpointRequest(input *UpdateEndpointInput) (req *request.Request, output *UpdateEndpointOutput) { @@ -22649,9 +22398,9 @@ func (c *SageMaker) UpdateEndpointRequest(input *UpdateEndpointInput) (req *requ // API operation UpdateEndpoint for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint func (c *SageMaker) UpdateEndpoint(input *UpdateEndpointInput) (*UpdateEndpointOutput, error) { @@ -22691,14 +22440,13 @@ const opUpdateEndpointWeightsAndCapacities = "UpdateEndpointWeightsAndCapacities // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEndpointWeightsAndCapacitiesRequest method. +// req, resp := client.UpdateEndpointWeightsAndCapacitiesRequest(params) // -// // Example sending a request using the UpdateEndpointWeightsAndCapacitiesRequest method. -// req, resp := client.UpdateEndpointWeightsAndCapacitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesRequest(input *UpdateEndpointWeightsAndCapacitiesInput) (req *request.Request, output *UpdateEndpointWeightsAndCapacitiesOutput) { @@ -22733,9 +22481,9 @@ func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesRequest(input *UpdateEndpo // API operation UpdateEndpointWeightsAndCapacities for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities func (c *SageMaker) UpdateEndpointWeightsAndCapacities(input *UpdateEndpointWeightsAndCapacitiesInput) (*UpdateEndpointWeightsAndCapacitiesOutput, error) { @@ -22775,14 +22523,13 @@ const opUpdateExperiment = "UpdateExperiment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateExperimentRequest method. +// req, resp := client.UpdateExperimentRequest(params) // -// // Example sending a request using the UpdateExperimentRequest method. -// req, resp := client.UpdateExperimentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateExperiment func (c *SageMaker) UpdateExperimentRequest(input *UpdateExperimentInput) (req *request.Request, output *UpdateExperimentOutput) { @@ -22814,12 +22561,13 @@ func (c *SageMaker) UpdateExperimentRequest(input *UpdateExperimentInput) (req * // API operation UpdateExperiment for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict when you attempted to modify a SageMaker entity such -// as an Experiment or Artifact. // -// * ResourceNotFound -// Resource being access is not found. +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateExperiment func (c *SageMaker) UpdateExperiment(input *UpdateExperimentInput) (*UpdateExperimentOutput, error) { @@ -22859,14 +22607,13 @@ const opUpdateImage = "UpdateImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateImageRequest method. +// req, resp := client.UpdateImageRequest(params) // -// // Example sending a request using the UpdateImageRequest method. -// req, resp := client.UpdateImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImage func (c *SageMaker) UpdateImageRequest(input *UpdateImageInput) (req *request.Request, output *UpdateImageOutput) { @@ -22898,11 +22645,12 @@ func (c *SageMaker) UpdateImageRequest(input *UpdateImageInput) (req *request.Re // API operation UpdateImage for usage and error information. // // Returned Error Types: -// * ResourceInUse -// Resource being accessed is in use. // -// * ResourceNotFound -// Resource being access is not found. +// - ResourceInUse +// Resource being accessed is in use. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImage func (c *SageMaker) UpdateImage(input *UpdateImageInput) (*UpdateImageOutput, error) { @@ -22942,14 +22690,13 @@ const opUpdateModelPackage = "UpdateModelPackage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateModelPackageRequest method. +// req, resp := client.UpdateModelPackageRequest(params) // -// // Example sending a request using the UpdateModelPackageRequest method. -// req, resp := client.UpdateModelPackageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateModelPackage func (c *SageMaker) UpdateModelPackageRequest(input *UpdateModelPackageInput) (req *request.Request, output *UpdateModelPackageOutput) { @@ -23016,14 +22763,13 @@ const opUpdateMonitoringSchedule = "UpdateMonitoringSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMonitoringScheduleRequest method. +// req, resp := client.UpdateMonitoringScheduleRequest(params) // -// // Example sending a request using the UpdateMonitoringScheduleRequest method. -// req, resp := client.UpdateMonitoringScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateMonitoringSchedule func (c *SageMaker) UpdateMonitoringScheduleRequest(input *UpdateMonitoringScheduleInput) (req *request.Request, output *UpdateMonitoringScheduleOutput) { @@ -23054,12 +22800,13 @@ func (c *SageMaker) UpdateMonitoringScheduleRequest(input *UpdateMonitoringSched // API operation UpdateMonitoringSchedule for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. // -// * ResourceNotFound -// Resource being access is not found. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateMonitoringSchedule func (c *SageMaker) UpdateMonitoringSchedule(input *UpdateMonitoringScheduleInput) (*UpdateMonitoringScheduleOutput, error) { @@ -23099,14 +22846,13 @@ const opUpdateNotebookInstance = "UpdateNotebookInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNotebookInstanceRequest method. +// req, resp := client.UpdateNotebookInstanceRequest(params) // -// // Example sending a request using the UpdateNotebookInstanceRequest method. -// req, resp := client.UpdateNotebookInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance func (c *SageMaker) UpdateNotebookInstanceRequest(input *UpdateNotebookInstanceInput) (req *request.Request, output *UpdateNotebookInstanceOutput) { @@ -23140,9 +22886,9 @@ func (c *SageMaker) UpdateNotebookInstanceRequest(input *UpdateNotebookInstanceI // API operation UpdateNotebookInstance for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance func (c *SageMaker) UpdateNotebookInstance(input *UpdateNotebookInstanceInput) (*UpdateNotebookInstanceOutput, error) { @@ -23182,14 +22928,13 @@ const opUpdateNotebookInstanceLifecycleConfig = "UpdateNotebookInstanceLifecycle // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNotebookInstanceLifecycleConfigRequest method. +// req, resp := client.UpdateNotebookInstanceLifecycleConfigRequest(params) // -// // Example sending a request using the UpdateNotebookInstanceLifecycleConfigRequest method. -// req, resp := client.UpdateNotebookInstanceLifecycleConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfig func (c *SageMaker) UpdateNotebookInstanceLifecycleConfigRequest(input *UpdateNotebookInstanceLifecycleConfigInput) (req *request.Request, output *UpdateNotebookInstanceLifecycleConfigOutput) { @@ -23222,9 +22967,9 @@ func (c *SageMaker) UpdateNotebookInstanceLifecycleConfigRequest(input *UpdateNo // API operation UpdateNotebookInstanceLifecycleConfig for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfig func (c *SageMaker) UpdateNotebookInstanceLifecycleConfig(input *UpdateNotebookInstanceLifecycleConfigInput) (*UpdateNotebookInstanceLifecycleConfigOutput, error) { @@ -23264,14 +23009,13 @@ const opUpdatePipeline = "UpdatePipeline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePipelineRequest method. +// req, resp := client.UpdatePipelineRequest(params) // -// // Example sending a request using the UpdatePipelineRequest method. -// req, resp := client.UpdatePipelineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipeline func (c *SageMaker) UpdatePipelineRequest(input *UpdatePipelineInput) (req *request.Request, output *UpdatePipelineOutput) { @@ -23302,8 +23046,8 @@ func (c *SageMaker) UpdatePipelineRequest(input *UpdatePipelineInput) (req *requ // API operation UpdatePipeline for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipeline func (c *SageMaker) UpdatePipeline(input *UpdatePipelineInput) (*UpdatePipelineOutput, error) { @@ -23343,14 +23087,13 @@ const opUpdatePipelineExecution = "UpdatePipelineExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePipelineExecutionRequest method. +// req, resp := client.UpdatePipelineExecutionRequest(params) // -// // Example sending a request using the UpdatePipelineExecutionRequest method. -// req, resp := client.UpdatePipelineExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipelineExecution func (c *SageMaker) UpdatePipelineExecutionRequest(input *UpdatePipelineExecutionInput) (req *request.Request, output *UpdatePipelineExecutionOutput) { @@ -23381,8 +23124,8 @@ func (c *SageMaker) UpdatePipelineExecutionRequest(input *UpdatePipelineExecutio // API operation UpdatePipelineExecution for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipelineExecution func (c *SageMaker) UpdatePipelineExecution(input *UpdatePipelineExecutionInput) (*UpdatePipelineExecutionOutput, error) { @@ -23422,14 +23165,13 @@ const opUpdateProject = "UpdateProject" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProjectRequest method. +// req, resp := client.UpdateProjectRequest(params) // -// // Example sending a request using the UpdateProjectRequest method. -// req, resp := client.UpdateProjectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateProject func (c *SageMaker) UpdateProjectRequest(input *UpdateProjectInput) (req *request.Request, output *UpdateProjectOutput) { @@ -23501,14 +23243,13 @@ const opUpdateTrainingJob = "UpdateTrainingJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTrainingJobRequest method. +// req, resp := client.UpdateTrainingJobRequest(params) // -// // Example sending a request using the UpdateTrainingJobRequest method. -// req, resp := client.UpdateTrainingJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrainingJob func (c *SageMaker) UpdateTrainingJobRequest(input *UpdateTrainingJobInput) (req *request.Request, output *UpdateTrainingJobOutput) { @@ -23539,8 +23280,8 @@ func (c *SageMaker) UpdateTrainingJobRequest(input *UpdateTrainingJobInput) (req // API operation UpdateTrainingJob for usage and error information. // // Returned Error Types: -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrainingJob func (c *SageMaker) UpdateTrainingJob(input *UpdateTrainingJobInput) (*UpdateTrainingJobOutput, error) { @@ -23580,14 +23321,13 @@ const opUpdateTrial = "UpdateTrial" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTrialRequest method. +// req, resp := client.UpdateTrialRequest(params) // -// // Example sending a request using the UpdateTrialRequest method. -// req, resp := client.UpdateTrialRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrial func (c *SageMaker) UpdateTrialRequest(input *UpdateTrialInput) (req *request.Request, output *UpdateTrialOutput) { @@ -23618,12 +23358,13 @@ func (c *SageMaker) UpdateTrialRequest(input *UpdateTrialInput) (req *request.Re // API operation UpdateTrial for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict when you attempted to modify a SageMaker entity such -// as an Experiment or Artifact. // -// * ResourceNotFound -// Resource being access is not found. +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrial func (c *SageMaker) UpdateTrial(input *UpdateTrialInput) (*UpdateTrialOutput, error) { @@ -23663,14 +23404,13 @@ const opUpdateTrialComponent = "UpdateTrialComponent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTrialComponentRequest method. +// req, resp := client.UpdateTrialComponentRequest(params) // -// // Example sending a request using the UpdateTrialComponentRequest method. -// req, resp := client.UpdateTrialComponentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrialComponent func (c *SageMaker) UpdateTrialComponentRequest(input *UpdateTrialComponentInput) (req *request.Request, output *UpdateTrialComponentOutput) { @@ -23701,12 +23441,13 @@ func (c *SageMaker) UpdateTrialComponentRequest(input *UpdateTrialComponentInput // API operation UpdateTrialComponent for usage and error information. // // Returned Error Types: -// * ConflictException -// There was a conflict when you attempted to modify a SageMaker entity such -// as an Experiment or Artifact. // -// * ResourceNotFound -// Resource being access is not found. +// - ConflictException +// There was a conflict when you attempted to modify a SageMaker entity such +// as an Experiment or Artifact. +// +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrialComponent func (c *SageMaker) UpdateTrialComponent(input *UpdateTrialComponentInput) (*UpdateTrialComponentOutput, error) { @@ -23746,14 +23487,13 @@ const opUpdateUserProfile = "UpdateUserProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserProfileRequest method. +// req, resp := client.UpdateUserProfileRequest(params) // -// // Example sending a request using the UpdateUserProfileRequest method. -// req, resp := client.UpdateUserProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateUserProfile func (c *SageMaker) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req *request.Request, output *UpdateUserProfileOutput) { @@ -23784,15 +23524,16 @@ func (c *SageMaker) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req // API operation UpdateUserProfile for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. // -// * ResourceInUse -// Resource being accessed is in use. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. +// +// - ResourceInUse +// Resource being accessed is in use. // -// * ResourceNotFound -// Resource being access is not found. +// - ResourceNotFound +// Resource being access is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateUserProfile func (c *SageMaker) UpdateUserProfile(input *UpdateUserProfileInput) (*UpdateUserProfileOutput, error) { @@ -23832,14 +23573,13 @@ const opUpdateWorkforce = "UpdateWorkforce" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWorkforceRequest method. +// req, resp := client.UpdateWorkforceRequest(params) // -// // Example sending a request using the UpdateWorkforceRequest method. -// req, resp := client.UpdateWorkforceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkforce func (c *SageMaker) UpdateWorkforceRequest(input *UpdateWorkforceInput) (req *request.Request, output *UpdateWorkforceOutput) { @@ -23928,14 +23668,13 @@ const opUpdateWorkteam = "UpdateWorkteam" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWorkteamRequest method. +// req, resp := client.UpdateWorkteamRequest(params) // -// // Example sending a request using the UpdateWorkteamRequest method. -// req, resp := client.UpdateWorkteamRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam func (c *SageMaker) UpdateWorkteamRequest(input *UpdateWorkteamInput) (req *request.Request, output *UpdateWorkteamOutput) { @@ -23966,9 +23705,9 @@ func (c *SageMaker) UpdateWorkteamRequest(input *UpdateWorkteamInput) (req *requ // API operation UpdateWorkteam for usage and error information. // // Returned Error Types: -// * ResourceLimitExceeded -// You have exceeded an SageMaker resource limit. For example, you might have -// too many training jobs created. +// - ResourceLimitExceeded +// You have exceeded an SageMaker resource limit. For example, you might have +// too many training jobs created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam func (c *SageMaker) UpdateWorkteam(input *UpdateWorkteamInput) (*UpdateWorkteamOutput, error) { @@ -55369,11 +55108,11 @@ func (s *Experiment) SetTags(v []*Tag) *Experiment { // Associates a SageMaker job as a trial component with an experiment and trial. // Specified when you call the following APIs: // -// * CreateProcessingJob +// - CreateProcessingJob // -// * CreateTrainingJob +// - CreateTrainingJob // -// * CreateTransformJob +// - CreateTransformJob type ExperimentConfig struct { _ struct{} `type:"structure"` @@ -56173,7 +55912,7 @@ func (s *FileSystemDataSource) SetFileSystemType(v string) *FileSystemDataSource // // In search, there are several property types: // -// Metrics +// # Metrics // // To define a metric filter, enter a value using the form "Metrics.", // where is a metric name. For example, the following filter searches @@ -56189,7 +55928,7 @@ func (s *FileSystemDataSource) SetFileSystemType(v string) *FileSystemDataSource // // } // -// HyperParameters +// # HyperParameters // // To define a hyperparameter filter, enter a value with the form "HyperParameters.". // Decimal hyperparameter values are treated as a decimal in a comparison if @@ -56208,7 +55947,7 @@ func (s *FileSystemDataSource) SetFileSystemType(v string) *FileSystemDataSource // // } // -// Tags +// # Tags // // To define a tag filter, enter a value with the form Tags.. type Filter struct { @@ -75363,10 +75102,10 @@ func (s *NeoVpcConfig) SetSubnets(v []*string) *NeoVpcConfig { // For example, to filter on a training job's InputDataConfig property with // a specific channel name and S3Uri prefix, define the following filters: // -// * '{Name:"InputDataConfig.ChannelName", "Operator":"Equals", "Value":"train"}', +// - '{Name:"InputDataConfig.ChannelName", "Operator":"Equals", "Value":"train"}', // -// * '{Name:"InputDataConfig.DataSource.S3DataSource.S3Uri", "Operator":"Contains", -// "Value":"mybucket/catdata"}' +// - '{Name:"InputDataConfig.DataSource.S3DataSource.S3Uri", "Operator":"Contains", +// "Value":"mybucket/catdata"}' type NestedFilters struct { _ struct{} `type:"structure"` @@ -80505,204 +80244,204 @@ func (s *ProvisioningParameter) SetValue(v string) *ProvisioningParameter { // dollars and should be based on the complexity of the task; the longer it // takes in your initial testing, the more you should offer. // -// * 0.036 +// - 0.036 // -// * 0.048 +// - 0.048 // -// * 0.060 +// - 0.060 // -// * 0.072 +// - 0.072 // -// * 0.120 +// - 0.120 // -// * 0.240 +// - 0.240 // -// * 0.360 +// - 0.360 // -// * 0.480 +// - 0.480 // -// * 0.600 +// - 0.600 // -// * 0.720 +// - 0.720 // -// * 0.840 +// - 0.840 // -// * 0.960 +// - 0.960 // -// * 1.080 +// - 1.080 // -// * 1.200 +// - 1.200 // // Use one of the following prices for image classification, text classification, // and custom tasks. Prices are in US dollars. // -// * 0.012 +// - 0.012 // -// * 0.024 +// - 0.024 // -// * 0.036 +// - 0.036 // -// * 0.048 +// - 0.048 // -// * 0.060 +// - 0.060 // -// * 0.072 +// - 0.072 // -// * 0.120 +// - 0.120 // -// * 0.240 +// - 0.240 // -// * 0.360 +// - 0.360 // -// * 0.480 +// - 0.480 // -// * 0.600 +// - 0.600 // -// * 0.720 +// - 0.720 // -// * 0.840 +// - 0.840 // -// * 0.960 +// - 0.960 // -// * 1.080 +// - 1.080 // -// * 1.200 +// - 1.200 // // Use one of the following prices for semantic segmentation tasks. Prices are // in US dollars. // -// * 0.840 +// - 0.840 // -// * 0.960 +// - 0.960 // -// * 1.080 +// - 1.080 // -// * 1.200 +// - 1.200 // // Use one of the following prices for Textract AnalyzeDocument Important Form // Key Amazon Augmented AI review tasks. Prices are in US dollars. // -// * 2.400 +// - 2.400 // -// * 2.280 +// - 2.280 // -// * 2.160 +// - 2.160 // -// * 2.040 +// - 2.040 // -// * 1.920 +// - 1.920 // -// * 1.800 +// - 1.800 // -// * 1.680 +// - 1.680 // -// * 1.560 +// - 1.560 // -// * 1.440 +// - 1.440 // -// * 1.320 +// - 1.320 // -// * 1.200 +// - 1.200 // -// * 1.080 +// - 1.080 // -// * 0.960 +// - 0.960 // -// * 0.840 +// - 0.840 // -// * 0.720 +// - 0.720 // -// * 0.600 +// - 0.600 // -// * 0.480 +// - 0.480 // -// * 0.360 +// - 0.360 // -// * 0.240 +// - 0.240 // -// * 0.120 +// - 0.120 // -// * 0.072 +// - 0.072 // -// * 0.060 +// - 0.060 // -// * 0.048 +// - 0.048 // -// * 0.036 +// - 0.036 // -// * 0.024 +// - 0.024 // -// * 0.012 +// - 0.012 // // Use one of the following prices for Rekognition DetectModerationLabels Amazon // Augmented AI review tasks. Prices are in US dollars. // -// * 1.200 +// - 1.200 // -// * 1.080 +// - 1.080 // -// * 0.960 +// - 0.960 // -// * 0.840 +// - 0.840 // -// * 0.720 +// - 0.720 // -// * 0.600 +// - 0.600 // -// * 0.480 +// - 0.480 // -// * 0.360 +// - 0.360 // -// * 0.240 +// - 0.240 // -// * 0.120 +// - 0.120 // -// * 0.072 +// - 0.072 // -// * 0.060 +// - 0.060 // -// * 0.048 +// - 0.048 // -// * 0.036 +// - 0.036 // -// * 0.024 +// - 0.024 // -// * 0.012 +// - 0.012 // // Use one of the following prices for Amazon Augmented AI custom human review // tasks. Prices are in US dollars. // -// * 1.200 +// - 1.200 // -// * 1.080 +// - 1.080 // -// * 0.960 +// - 0.960 // -// * 0.840 +// - 0.840 // -// * 0.720 +// - 0.720 // -// * 0.600 +// - 0.600 // -// * 0.480 +// - 0.480 // -// * 0.360 +// - 0.360 // -// * 0.240 +// - 0.240 // -// * 0.120 +// - 0.120 // -// * 0.072 +// - 0.072 // -// * 0.060 +// - 0.060 // -// * 0.048 +// - 0.048 // -// * 0.036 +// - 0.036 // -// * 0.024 +// - 0.024 // -// * 0.012 +// - 0.012 type PublicWorkforceTaskPrice struct { _ struct{} `type:"structure"` @@ -83488,17 +83227,17 @@ func (s *ScheduleConfig) SetScheduleExpression(v string) *ScheduleConfig { // // A SearchExpression contains the following components: // -// * A list of Filter objects. Each filter defines a simple Boolean expression -// comprised of a resource property name, Boolean operator, and value. +// - A list of Filter objects. Each filter defines a simple Boolean expression +// comprised of a resource property name, Boolean operator, and value. // -// * A list of NestedFilter objects. Each nested filter defines a list of -// Boolean expressions using a list of resource properties. A nested filter -// is satisfied if a single object in the list satisfies all Boolean expressions. +// - A list of NestedFilter objects. Each nested filter defines a list of +// Boolean expressions using a list of resource properties. A nested filter +// is satisfied if a single object in the list satisfies all Boolean expressions. // -// * A list of SearchExpression objects. A search expression object can be -// nested in a list of search expression objects. +// - A list of SearchExpression objects. A search expression object can be +// nested in a list of search expression objects. // -// * A Boolean operator: And or Or. +// - A Boolean operator: And or Or. type SearchExpression struct { _ struct{} `type:"structure"` @@ -98508,12 +98247,12 @@ func TrafficType_Values() []string { // The training input mode that the algorithm supports. For more information // about input modes, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). // -// Pipe mode +// # Pipe mode // // If an algorithm supports Pipe mode, Amazon SageMaker streams data directly // from Amazon S3 to the container. // -// File mode +// # File mode // // If an algorithm supports File mode, SageMaker downloads the training data // from S3 to the provisioned ML storage volume, and mounts the directory to @@ -98531,7 +98270,7 @@ func TrafficType_Values() []string { // is also skewed when one host in a training cluster is overloaded, thus becoming // a bottleneck in training. // -// FastFile mode +// # FastFile mode // // If an algorithm supports FastFile mode, SageMaker streams data directly from // S3 to the container with no code changes, and provides file system access diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/doc.go index 11985ddd6e28..813e1c6a4f8c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/doc.go @@ -7,16 +7,16 @@ // // Other Resources: // -// * SageMaker Developer Guide (https://docs.aws.amazon.com/sagemaker/latest/dg/whatis.html#first-time-user) +// - SageMaker Developer Guide (https://docs.aws.amazon.com/sagemaker/latest/dg/whatis.html#first-time-user) // -// * Amazon Augmented AI Runtime API Reference (https://docs.aws.amazon.com/augmented-ai/2019-11-07/APIReference/Welcome.html) +// - Amazon Augmented AI Runtime API Reference (https://docs.aws.amazon.com/augmented-ai/2019-11-07/APIReference/Welcome.html) // // See https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24 for more information on this service. // // See sagemaker package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/sagemaker/ // -// Using the Client +// # Using the Client // // To contact Amazon SageMaker Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/sagemakeriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/sagemakeriface/interface.go index dce801cef02f..a95590cc236d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/sagemakeriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/sagemakeriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon SageMaker Service. -// func myFunc(svc sagemakeriface.SageMakerAPI) bool { -// // Make svc.AddAssociation request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon SageMaker Service. +// func myFunc(svc sagemakeriface.SageMakerAPI) bool { +// // Make svc.AddAssociation request +// } // -// func main() { -// sess := session.New() -// svc := sagemaker.New(sess) +// func main() { +// sess := session.New() +// svc := sagemaker.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSageMakerClient struct { -// sagemakeriface.SageMakerAPI -// } -// func (m *mockSageMakerClient) AddAssociation(input *sagemaker.AddAssociationInput) (*sagemaker.AddAssociationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSageMakerClient struct { +// sagemakeriface.SageMakerAPI +// } +// func (m *mockSageMakerClient) AddAssociation(input *sagemaker.AddAssociationInput) (*sagemaker.AddAssociationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSageMakerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSageMakerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/service.go index d435a6c682f8..7bb683f48e6d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemaker/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SageMaker client from just a session. -// svc := sagemaker.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SageMaker client with additional configuration -// svc := sagemaker.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SageMaker client from just a session. +// svc := sagemaker.New(mySession) +// +// // Create a SageMaker client with additional configuration +// svc := sagemaker.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SageMaker { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/api.go index dc6d983f8554..52069f71aa0c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/api.go @@ -29,14 +29,13 @@ const opGetDeviceRegistration = "GetDeviceRegistration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeviceRegistrationRequest method. +// req, resp := client.GetDeviceRegistrationRequest(params) // -// // Example sending a request using the GetDeviceRegistrationRequest method. -// req, resp := client.GetDeviceRegistrationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-edge-2020-09-23/GetDeviceRegistration func (c *SagemakerEdgeManager) GetDeviceRegistrationRequest(input *GetDeviceRegistrationInput) (req *request.Request, output *GetDeviceRegistrationOutput) { @@ -67,9 +66,9 @@ func (c *SagemakerEdgeManager) GetDeviceRegistrationRequest(input *GetDeviceRegi // API operation GetDeviceRegistration for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal failure occurred. Try your request again. If the problem persists, -// contact AWS customer support. +// - InternalServiceException +// An internal failure occurred. Try your request again. If the problem persists, +// contact AWS customer support. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-edge-2020-09-23/GetDeviceRegistration func (c *SagemakerEdgeManager) GetDeviceRegistration(input *GetDeviceRegistrationInput) (*GetDeviceRegistrationOutput, error) { @@ -109,14 +108,13 @@ const opSendHeartbeat = "SendHeartbeat" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendHeartbeatRequest method. +// req, resp := client.SendHeartbeatRequest(params) // -// // Example sending a request using the SendHeartbeatRequest method. -// req, resp := client.SendHeartbeatRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-edge-2020-09-23/SendHeartbeat func (c *SagemakerEdgeManager) SendHeartbeatRequest(input *SendHeartbeatInput) (req *request.Request, output *SendHeartbeatOutput) { @@ -148,9 +146,9 @@ func (c *SagemakerEdgeManager) SendHeartbeatRequest(input *SendHeartbeatInput) ( // API operation SendHeartbeat for usage and error information. // // Returned Error Types: -// * InternalServiceException -// An internal failure occurred. Try your request again. If the problem persists, -// contact AWS customer support. +// - InternalServiceException +// An internal failure occurred. Try your request again. If the problem persists, +// contact AWS customer support. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-edge-2020-09-23/SendHeartbeat func (c *SagemakerEdgeManager) SendHeartbeat(input *SendHeartbeatInput) (*SendHeartbeatOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/doc.go index ce7833a81c5b..54498789c4a6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/doc.go @@ -10,7 +10,7 @@ // See sagemakeredgemanager package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/sagemakeredgemanager/ // -// Using the Client +// # Using the Client // // To contact Amazon Sagemaker Edge Manager with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/sagemakeredgemanageriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/sagemakeredgemanageriface/interface.go index 0e321712c20e..7c36b72ea146 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/sagemakeredgemanageriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/sagemakeredgemanageriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Sagemaker Edge Manager. -// func myFunc(svc sagemakeredgemanageriface.SagemakerEdgeManagerAPI) bool { -// // Make svc.GetDeviceRegistration request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Sagemaker Edge Manager. +// func myFunc(svc sagemakeredgemanageriface.SagemakerEdgeManagerAPI) bool { +// // Make svc.GetDeviceRegistration request +// } // -// func main() { -// sess := session.New() -// svc := sagemakeredgemanager.New(sess) +// func main() { +// sess := session.New() +// svc := sagemakeredgemanager.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSagemakerEdgeManagerClient struct { -// sagemakeredgemanageriface.SagemakerEdgeManagerAPI -// } -// func (m *mockSagemakerEdgeManagerClient) GetDeviceRegistration(input *sagemakeredgemanager.GetDeviceRegistrationInput) (*sagemakeredgemanager.GetDeviceRegistrationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSagemakerEdgeManagerClient struct { +// sagemakeredgemanageriface.SagemakerEdgeManagerAPI +// } +// func (m *mockSagemakerEdgeManagerClient) GetDeviceRegistration(input *sagemakeredgemanager.GetDeviceRegistrationInput) (*sagemakeredgemanager.GetDeviceRegistrationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSagemakerEdgeManagerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSagemakerEdgeManagerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/service.go index cc61ae081edf..f9c29170dd3c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakeredgemanager/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SagemakerEdgeManager client from just a session. -// svc := sagemakeredgemanager.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SagemakerEdgeManager client with additional configuration -// svc := sagemakeredgemanager.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SagemakerEdgeManager client from just a session. +// svc := sagemakeredgemanager.New(mySession) +// +// // Create a SagemakerEdgeManager client with additional configuration +// svc := sagemakeredgemanager.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SagemakerEdgeManager { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/api.go index 8dc9f2561973..505a51a27056 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/api.go @@ -28,14 +28,13 @@ const opBatchGetRecord = "BatchGetRecord" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetRecordRequest method. +// req, resp := client.BatchGetRecordRequest(params) // -// // Example sending a request using the BatchGetRecordRequest method. -// req, resp := client.BatchGetRecordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/BatchGetRecord func (c *SageMakerFeatureStoreRuntime) BatchGetRecordRequest(input *BatchGetRecordInput) (req *request.Request, output *BatchGetRecordOutput) { @@ -66,18 +65,19 @@ func (c *SageMakerFeatureStoreRuntime) BatchGetRecordRequest(input *BatchGetReco // API operation BatchGetRecord for usage and error information. // // Returned Error Types: -// * ValidationError -// There was an error validating your request. // -// * InternalFailure -// An internal failure occurred. Try your request again. If the problem persists, -// contact AWS customer support. +// - ValidationError +// There was an error validating your request. +// +// - InternalFailure +// An internal failure occurred. Try your request again. If the problem persists, +// contact AWS customer support. // -// * ServiceUnavailable -// The service is currently unavailable. +// - ServiceUnavailable +// The service is currently unavailable. // -// * AccessForbidden -// You do not have permission to perform an action. +// - AccessForbidden +// You do not have permission to perform an action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/BatchGetRecord func (c *SageMakerFeatureStoreRuntime) BatchGetRecord(input *BatchGetRecordInput) (*BatchGetRecordOutput, error) { @@ -117,14 +117,13 @@ const opDeleteRecord = "DeleteRecord" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRecordRequest method. +// req, resp := client.DeleteRecordRequest(params) // -// // Example sending a request using the DeleteRecordRequest method. -// req, resp := client.DeleteRecordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/DeleteRecord func (c *SageMakerFeatureStoreRuntime) DeleteRecordRequest(input *DeleteRecordInput) (req *request.Request, output *DeleteRecordOutput) { @@ -158,18 +157,19 @@ func (c *SageMakerFeatureStoreRuntime) DeleteRecordRequest(input *DeleteRecordIn // API operation DeleteRecord for usage and error information. // // Returned Error Types: -// * ValidationError -// There was an error validating your request. // -// * InternalFailure -// An internal failure occurred. Try your request again. If the problem persists, -// contact AWS customer support. +// - ValidationError +// There was an error validating your request. +// +// - InternalFailure +// An internal failure occurred. Try your request again. If the problem persists, +// contact AWS customer support. // -// * ServiceUnavailable -// The service is currently unavailable. +// - ServiceUnavailable +// The service is currently unavailable. // -// * AccessForbidden -// You do not have permission to perform an action. +// - AccessForbidden +// You do not have permission to perform an action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/DeleteRecord func (c *SageMakerFeatureStoreRuntime) DeleteRecord(input *DeleteRecordInput) (*DeleteRecordOutput, error) { @@ -209,14 +209,13 @@ const opGetRecord = "GetRecord" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRecordRequest method. +// req, resp := client.GetRecordRequest(params) // -// // Example sending a request using the GetRecordRequest method. -// req, resp := client.GetRecordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/GetRecord func (c *SageMakerFeatureStoreRuntime) GetRecordRequest(input *GetRecordInput) (req *request.Request, output *GetRecordOutput) { @@ -249,21 +248,22 @@ func (c *SageMakerFeatureStoreRuntime) GetRecordRequest(input *GetRecordInput) ( // API operation GetRecord for usage and error information. // // Returned Error Types: -// * ValidationError -// There was an error validating your request. // -// * ResourceNotFound -// A resource that is required to perform an action was not found. +// - ValidationError +// There was an error validating your request. +// +// - ResourceNotFound +// A resource that is required to perform an action was not found. // -// * InternalFailure -// An internal failure occurred. Try your request again. If the problem persists, -// contact AWS customer support. +// - InternalFailure +// An internal failure occurred. Try your request again. If the problem persists, +// contact AWS customer support. // -// * ServiceUnavailable -// The service is currently unavailable. +// - ServiceUnavailable +// The service is currently unavailable. // -// * AccessForbidden -// You do not have permission to perform an action. +// - AccessForbidden +// You do not have permission to perform an action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/GetRecord func (c *SageMakerFeatureStoreRuntime) GetRecord(input *GetRecordInput) (*GetRecordOutput, error) { @@ -303,14 +303,13 @@ const opPutRecord = "PutRecord" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRecordRequest method. +// req, resp := client.PutRecordRequest(params) // -// // Example sending a request using the PutRecordRequest method. -// req, resp := client.PutRecordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/PutRecord func (c *SageMakerFeatureStoreRuntime) PutRecordRequest(input *PutRecordInput) (req *request.Request, output *PutRecordOutput) { @@ -346,18 +345,19 @@ func (c *SageMakerFeatureStoreRuntime) PutRecordRequest(input *PutRecordInput) ( // API operation PutRecord for usage and error information. // // Returned Error Types: -// * ValidationError -// There was an error validating your request. // -// * InternalFailure -// An internal failure occurred. Try your request again. If the problem persists, -// contact AWS customer support. +// - ValidationError +// There was an error validating your request. +// +// - InternalFailure +// An internal failure occurred. Try your request again. If the problem persists, +// contact AWS customer support. // -// * ServiceUnavailable -// The service is currently unavailable. +// - ServiceUnavailable +// The service is currently unavailable. // -// * AccessForbidden -// You do not have permission to perform an action. +// - AccessForbidden +// You do not have permission to perform an action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01/PutRecord func (c *SageMakerFeatureStoreRuntime) PutRecord(input *PutRecordInput) (*PutRecordOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/doc.go index 59f31e99c8a9..28d03f627472 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/doc.go @@ -10,20 +10,20 @@ // Use the following operations to configure your OnlineStore and OfflineStore // features, and to create and manage feature groups: // -// * CreateFeatureGroup (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateFeatureGroup.html) +// - CreateFeatureGroup (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateFeatureGroup.html) // -// * DeleteFeatureGroup (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteFeatureGroup.html) +// - DeleteFeatureGroup (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteFeatureGroup.html) // -// * DescribeFeatureGroup (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeFeatureGroup.html) +// - DescribeFeatureGroup (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeFeatureGroup.html) // -// * ListFeatureGroups (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListFeatureGroups.html) +// - ListFeatureGroups (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListFeatureGroups.html) // // See https://docs.aws.amazon.com/goto/WebAPI/sagemaker-featurestore-runtime-2020-07-01 for more information on this service. // // See sagemakerfeaturestoreruntime package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/sagemakerfeaturestoreruntime/ // -// Using the Client +// # Using the Client // // To contact Amazon SageMaker Feature Store Runtime with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/sagemakerfeaturestoreruntimeiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/sagemakerfeaturestoreruntimeiface/interface.go index 4b85acc90f8c..e3337bba7c85 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/sagemakerfeaturestoreruntimeiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/sagemakerfeaturestoreruntimeiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon SageMaker Feature Store Runtime. -// func myFunc(svc sagemakerfeaturestoreruntimeiface.SageMakerFeatureStoreRuntimeAPI) bool { -// // Make svc.BatchGetRecord request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon SageMaker Feature Store Runtime. +// func myFunc(svc sagemakerfeaturestoreruntimeiface.SageMakerFeatureStoreRuntimeAPI) bool { +// // Make svc.BatchGetRecord request +// } // -// func main() { -// sess := session.New() -// svc := sagemakerfeaturestoreruntime.New(sess) +// func main() { +// sess := session.New() +// svc := sagemakerfeaturestoreruntime.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSageMakerFeatureStoreRuntimeClient struct { -// sagemakerfeaturestoreruntimeiface.SageMakerFeatureStoreRuntimeAPI -// } -// func (m *mockSageMakerFeatureStoreRuntimeClient) BatchGetRecord(input *sagemakerfeaturestoreruntime.BatchGetRecordInput) (*sagemakerfeaturestoreruntime.BatchGetRecordOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSageMakerFeatureStoreRuntimeClient struct { +// sagemakerfeaturestoreruntimeiface.SageMakerFeatureStoreRuntimeAPI +// } +// func (m *mockSageMakerFeatureStoreRuntimeClient) BatchGetRecord(input *sagemakerfeaturestoreruntime.BatchGetRecordInput) (*sagemakerfeaturestoreruntime.BatchGetRecordOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSageMakerFeatureStoreRuntimeClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSageMakerFeatureStoreRuntimeClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/service.go index 6f37ed8eb6d2..d6cab82070c1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerfeaturestoreruntime/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SageMakerFeatureStoreRuntime client from just a session. -// svc := sagemakerfeaturestoreruntime.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SageMakerFeatureStoreRuntime client with additional configuration -// svc := sagemakerfeaturestoreruntime.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SageMakerFeatureStoreRuntime client from just a session. +// svc := sagemakerfeaturestoreruntime.New(mySession) +// +// // Create a SageMakerFeatureStoreRuntime client with additional configuration +// svc := sagemakerfeaturestoreruntime.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SageMakerFeatureStoreRuntime { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/api.go index 3e53b2be9211..e2fd7bddf184 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/api.go @@ -27,14 +27,13 @@ const opInvokeEndpoint = "InvokeEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InvokeEndpointRequest method. +// req, resp := client.InvokeEndpointRequest(params) // -// // Example sending a request using the InvokeEndpointRequest method. -// req, resp := client.InvokeEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpoint func (c *SageMakerRuntime) InvokeEndpointRequest(input *InvokeEndpointInput) (req *request.Request, output *InvokeEndpointOutput) { @@ -87,27 +86,28 @@ func (c *SageMakerRuntime) InvokeEndpointRequest(input *InvokeEndpointInput) (re // API operation InvokeEndpoint for usage and error information. // // Returned Error Types: -// * InternalFailure -// An internal failure occurred. // -// * ServiceUnavailable -// The service is unavailable. Try your call again. +// - InternalFailure +// An internal failure occurred. +// +// - ServiceUnavailable +// The service is unavailable. Try your call again. // -// * ValidationError -// Inspect your request and try again. +// - ValidationError +// Inspect your request and try again. // -// * ModelError -// Model (owned by the customer in the container) returned 4xx or 5xx error -// code. +// - ModelError +// Model (owned by the customer in the container) returned 4xx or 5xx error +// code. // -// * InternalDependencyException -// Your request caused an exception with an internal dependency. Contact customer -// support. +// - InternalDependencyException +// Your request caused an exception with an internal dependency. Contact customer +// support. // -// * ModelNotReadyException -// Either a serverless endpoint variant's resources are still being provisioned, -// or a multi-model endpoint is still downloading or loading the target model. -// Wait and try your request again. +// - ModelNotReadyException +// Either a serverless endpoint variant's resources are still being provisioned, +// or a multi-model endpoint is still downloading or loading the target model. +// Wait and try your request again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpoint func (c *SageMakerRuntime) InvokeEndpoint(input *InvokeEndpointInput) (*InvokeEndpointOutput, error) { @@ -147,14 +147,13 @@ const opInvokeEndpointAsync = "InvokeEndpointAsync" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InvokeEndpointAsyncRequest method. +// req, resp := client.InvokeEndpointAsyncRequest(params) // -// // Example sending a request using the InvokeEndpointAsyncRequest method. -// req, resp := client.InvokeEndpointAsyncRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointAsync func (c *SageMakerRuntime) InvokeEndpointAsyncRequest(input *InvokeEndpointAsyncInput) (req *request.Request, output *InvokeEndpointAsyncOutput) { @@ -202,14 +201,15 @@ func (c *SageMakerRuntime) InvokeEndpointAsyncRequest(input *InvokeEndpointAsync // API operation InvokeEndpointAsync for usage and error information. // // Returned Error Types: -// * InternalFailure -// An internal failure occurred. // -// * ServiceUnavailable -// The service is unavailable. Try your call again. +// - InternalFailure +// An internal failure occurred. +// +// - ServiceUnavailable +// The service is unavailable. Try your call again. // -// * ValidationError -// Inspect your request and try again. +// - ValidationError +// Inspect your request and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpointAsync func (c *SageMakerRuntime) InvokeEndpointAsync(input *InvokeEndpointAsyncInput) (*InvokeEndpointAsyncOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/doc.go index 6f9478dd5c4c..6c3aa31408ab 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/doc.go @@ -10,7 +10,7 @@ // See sagemakerruntime package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/sagemakerruntime/ // -// Using the Client +// # Using the Client // // To contact Amazon SageMaker Runtime with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/sagemakerruntimeiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/sagemakerruntimeiface/interface.go index d2c2ea9b0470..7460ce00f3df 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/sagemakerruntimeiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/sagemakerruntimeiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon SageMaker Runtime. -// func myFunc(svc sagemakerruntimeiface.SageMakerRuntimeAPI) bool { -// // Make svc.InvokeEndpoint request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon SageMaker Runtime. +// func myFunc(svc sagemakerruntimeiface.SageMakerRuntimeAPI) bool { +// // Make svc.InvokeEndpoint request +// } // -// func main() { -// sess := session.New() -// svc := sagemakerruntime.New(sess) +// func main() { +// sess := session.New() +// svc := sagemakerruntime.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSageMakerRuntimeClient struct { -// sagemakerruntimeiface.SageMakerRuntimeAPI -// } -// func (m *mockSageMakerRuntimeClient) InvokeEndpoint(input *sagemakerruntime.InvokeEndpointInput) (*sagemakerruntime.InvokeEndpointOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSageMakerRuntimeClient struct { +// sagemakerruntimeiface.SageMakerRuntimeAPI +// } +// func (m *mockSageMakerRuntimeClient) InvokeEndpoint(input *sagemakerruntime.InvokeEndpointInput) (*sagemakerruntime.InvokeEndpointOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSageMakerRuntimeClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSageMakerRuntimeClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/service.go index 3d5154ee0846..8e9d1294215b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sagemakerruntime/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SageMakerRuntime client from just a session. -// svc := sagemakerruntime.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SageMakerRuntime client with additional configuration -// svc := sagemakerruntime.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SageMakerRuntime client from just a session. +// svc := sagemakerruntime.New(mySession) +// +// // Create a SageMakerRuntime client with additional configuration +// svc := sagemakerruntime.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SageMakerRuntime { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/api.go index 5fc39f07dfb3..d17f01fb3a83 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/api.go @@ -29,14 +29,13 @@ const opCreateSavingsPlan = "CreateSavingsPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSavingsPlanRequest method. +// req, resp := client.CreateSavingsPlanRequest(params) // -// // Example sending a request using the CreateSavingsPlanRequest method. -// req, resp := client.CreateSavingsPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/CreateSavingsPlan func (c *SavingsPlans) CreateSavingsPlanRequest(input *CreateSavingsPlanInput) (req *request.Request, output *CreateSavingsPlanOutput) { @@ -67,17 +66,18 @@ func (c *SavingsPlans) CreateSavingsPlanRequest(input *CreateSavingsPlanInput) ( // API operation CreateSavingsPlan for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ValidationException -// One of the input parameters is not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ValidationException +// One of the input parameters is not valid. // -// * InternalServerException -// An unexpected error occurred. +// - InternalServerException +// An unexpected error occurred. // -// * ServiceQuotaExceededException -// A service quota has been exceeded. +// - ServiceQuotaExceededException +// A service quota has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/CreateSavingsPlan func (c *SavingsPlans) CreateSavingsPlan(input *CreateSavingsPlanInput) (*CreateSavingsPlanOutput, error) { @@ -117,14 +117,13 @@ const opDeleteQueuedSavingsPlan = "DeleteQueuedSavingsPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteQueuedSavingsPlanRequest method. +// req, resp := client.DeleteQueuedSavingsPlanRequest(params) // -// // Example sending a request using the DeleteQueuedSavingsPlanRequest method. -// req, resp := client.DeleteQueuedSavingsPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/DeleteQueuedSavingsPlan func (c *SavingsPlans) DeleteQueuedSavingsPlanRequest(input *DeleteQueuedSavingsPlanInput) (req *request.Request, output *DeleteQueuedSavingsPlanOutput) { @@ -156,17 +155,18 @@ func (c *SavingsPlans) DeleteQueuedSavingsPlanRequest(input *DeleteQueuedSavings // API operation DeleteQueuedSavingsPlan for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the input parameters is not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ValidationException +// One of the input parameters is not valid. // -// * InternalServerException -// An unexpected error occurred. +// - ResourceNotFoundException +// The specified resource was not found. // -// * ServiceQuotaExceededException -// A service quota has been exceeded. +// - InternalServerException +// An unexpected error occurred. +// +// - ServiceQuotaExceededException +// A service quota has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/DeleteQueuedSavingsPlan func (c *SavingsPlans) DeleteQueuedSavingsPlan(input *DeleteQueuedSavingsPlanInput) (*DeleteQueuedSavingsPlanOutput, error) { @@ -206,14 +206,13 @@ const opDescribeSavingsPlanRates = "DescribeSavingsPlanRates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSavingsPlanRatesRequest method. +// req, resp := client.DescribeSavingsPlanRatesRequest(params) // -// // Example sending a request using the DescribeSavingsPlanRatesRequest method. -// req, resp := client.DescribeSavingsPlanRatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/DescribeSavingsPlanRates func (c *SavingsPlans) DescribeSavingsPlanRatesRequest(input *DescribeSavingsPlanRatesInput) (req *request.Request, output *DescribeSavingsPlanRatesOutput) { @@ -244,11 +243,12 @@ func (c *SavingsPlans) DescribeSavingsPlanRatesRequest(input *DescribeSavingsPla // API operation DescribeSavingsPlanRates for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ValidationException -// One of the input parameters is not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ValidationException +// One of the input parameters is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/DescribeSavingsPlanRates func (c *SavingsPlans) DescribeSavingsPlanRates(input *DescribeSavingsPlanRatesInput) (*DescribeSavingsPlanRatesOutput, error) { @@ -288,14 +288,13 @@ const opDescribeSavingsPlans = "DescribeSavingsPlans" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSavingsPlansRequest method. +// req, resp := client.DescribeSavingsPlansRequest(params) // -// // Example sending a request using the DescribeSavingsPlansRequest method. -// req, resp := client.DescribeSavingsPlansRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/DescribeSavingsPlans func (c *SavingsPlans) DescribeSavingsPlansRequest(input *DescribeSavingsPlansInput) (req *request.Request, output *DescribeSavingsPlansOutput) { @@ -326,11 +325,12 @@ func (c *SavingsPlans) DescribeSavingsPlansRequest(input *DescribeSavingsPlansIn // API operation DescribeSavingsPlans for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error occurred. // -// * ValidationException -// One of the input parameters is not valid. +// - InternalServerException +// An unexpected error occurred. +// +// - ValidationException +// One of the input parameters is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/DescribeSavingsPlans func (c *SavingsPlans) DescribeSavingsPlans(input *DescribeSavingsPlansInput) (*DescribeSavingsPlansOutput, error) { @@ -370,14 +370,13 @@ const opDescribeSavingsPlansOfferingRates = "DescribeSavingsPlansOfferingRates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSavingsPlansOfferingRatesRequest method. +// req, resp := client.DescribeSavingsPlansOfferingRatesRequest(params) // -// // Example sending a request using the DescribeSavingsPlansOfferingRatesRequest method. -// req, resp := client.DescribeSavingsPlansOfferingRatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/DescribeSavingsPlansOfferingRates func (c *SavingsPlans) DescribeSavingsPlansOfferingRatesRequest(input *DescribeSavingsPlansOfferingRatesInput) (req *request.Request, output *DescribeSavingsPlansOfferingRatesOutput) { @@ -408,11 +407,12 @@ func (c *SavingsPlans) DescribeSavingsPlansOfferingRatesRequest(input *DescribeS // API operation DescribeSavingsPlansOfferingRates for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the input parameters is not valid. // -// * InternalServerException -// An unexpected error occurred. +// - ValidationException +// One of the input parameters is not valid. +// +// - InternalServerException +// An unexpected error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/DescribeSavingsPlansOfferingRates func (c *SavingsPlans) DescribeSavingsPlansOfferingRates(input *DescribeSavingsPlansOfferingRatesInput) (*DescribeSavingsPlansOfferingRatesOutput, error) { @@ -452,14 +452,13 @@ const opDescribeSavingsPlansOfferings = "DescribeSavingsPlansOfferings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSavingsPlansOfferingsRequest method. +// req, resp := client.DescribeSavingsPlansOfferingsRequest(params) // -// // Example sending a request using the DescribeSavingsPlansOfferingsRequest method. -// req, resp := client.DescribeSavingsPlansOfferingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/DescribeSavingsPlansOfferings func (c *SavingsPlans) DescribeSavingsPlansOfferingsRequest(input *DescribeSavingsPlansOfferingsInput) (req *request.Request, output *DescribeSavingsPlansOfferingsOutput) { @@ -490,11 +489,12 @@ func (c *SavingsPlans) DescribeSavingsPlansOfferingsRequest(input *DescribeSavin // API operation DescribeSavingsPlansOfferings for usage and error information. // // Returned Error Types: -// * ValidationException -// One of the input parameters is not valid. // -// * InternalServerException -// An unexpected error occurred. +// - ValidationException +// One of the input parameters is not valid. +// +// - InternalServerException +// An unexpected error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/DescribeSavingsPlansOfferings func (c *SavingsPlans) DescribeSavingsPlansOfferings(input *DescribeSavingsPlansOfferingsInput) (*DescribeSavingsPlansOfferingsOutput, error) { @@ -534,14 +534,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/ListTagsForResource func (c *SavingsPlans) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -572,14 +571,15 @@ func (c *SavingsPlans) ListTagsForResourceRequest(input *ListTagsForResourceInpu // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ValidationException -// One of the input parameters is not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ValidationException +// One of the input parameters is not valid. // -// * InternalServerException -// An unexpected error occurred. +// - InternalServerException +// An unexpected error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/ListTagsForResource func (c *SavingsPlans) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -619,14 +619,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/TagResource func (c *SavingsPlans) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -658,17 +657,18 @@ func (c *SavingsPlans) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ServiceQuotaExceededException -// A service quota has been exceeded. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ServiceQuotaExceededException +// A service quota has been exceeded. // -// * ValidationException -// One of the input parameters is not valid. +// - ValidationException +// One of the input parameters is not valid. // -// * InternalServerException -// An unexpected error occurred. +// - InternalServerException +// An unexpected error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/TagResource func (c *SavingsPlans) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -708,14 +708,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/UntagResource func (c *SavingsPlans) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -747,14 +746,15 @@ func (c *SavingsPlans) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ValidationException -// One of the input parameters is not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ValidationException +// One of the input parameters is not valid. // -// * InternalServerException -// An unexpected error occurred. +// - InternalServerException +// An unexpected error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/savingsplans-2019-06-28/UntagResource func (c *SavingsPlans) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/doc.go index 700ed64a33ba..240a59bcd2c3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/doc.go @@ -14,7 +14,7 @@ // See savingsplans package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/savingsplans/ // -// Using the Client +// # Using the Client // // To contact AWS Savings Plans with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/savingsplansiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/savingsplansiface/interface.go index 4a1f9aad4ded..7d2829535674 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/savingsplansiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/savingsplansiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Savings Plans. -// func myFunc(svc savingsplansiface.SavingsPlansAPI) bool { -// // Make svc.CreateSavingsPlan request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Savings Plans. +// func myFunc(svc savingsplansiface.SavingsPlansAPI) bool { +// // Make svc.CreateSavingsPlan request +// } // -// func main() { -// sess := session.New() -// svc := savingsplans.New(sess) +// func main() { +// sess := session.New() +// svc := savingsplans.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSavingsPlansClient struct { -// savingsplansiface.SavingsPlansAPI -// } -// func (m *mockSavingsPlansClient) CreateSavingsPlan(input *savingsplans.CreateSavingsPlanInput) (*savingsplans.CreateSavingsPlanOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSavingsPlansClient struct { +// savingsplansiface.SavingsPlansAPI +// } +// func (m *mockSavingsPlansClient) CreateSavingsPlan(input *savingsplans.CreateSavingsPlanInput) (*savingsplans.CreateSavingsPlanOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSavingsPlansClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSavingsPlansClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/service.go index e44fe92b1dc2..4021ce770943 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/savingsplans/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SavingsPlans client from just a session. -// svc := savingsplans.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SavingsPlans client with additional configuration -// svc := savingsplans.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SavingsPlans client from just a session. +// svc := savingsplans.New(mySession) +// +// // Create a SavingsPlans client with additional configuration +// svc := savingsplans.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SavingsPlans { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/api.go index 4299a41f6d1c..566f399a2d07 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/api.go @@ -29,14 +29,13 @@ const opCreateDiscoverer = "CreateDiscoverer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDiscovererRequest method. +// req, resp := client.CreateDiscovererRequest(params) // -// // Example sending a request using the CreateDiscovererRequest method. -// req, resp := client.CreateDiscovererRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateDiscoverer func (c *Schemas) CreateDiscovererRequest(input *CreateDiscovererInput) (req *request.Request, output *CreateDiscovererOutput) { @@ -67,17 +66,18 @@ func (c *Schemas) CreateDiscovererRequest(input *CreateDiscovererInput) (req *re // API operation CreateDiscoverer for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * UnauthorizedException +// - UnauthorizedException // -// * ForbiddenException +// - ForbiddenException // -// * ServiceUnavailableException +// - ServiceUnavailableException // -// * ConflictException +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateDiscoverer func (c *Schemas) CreateDiscoverer(input *CreateDiscovererInput) (*CreateDiscovererOutput, error) { @@ -117,14 +117,13 @@ const opCreateRegistry = "CreateRegistry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRegistryRequest method. +// req, resp := client.CreateRegistryRequest(params) // -// // Example sending a request using the CreateRegistryRequest method. -// req, resp := client.CreateRegistryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateRegistry func (c *Schemas) CreateRegistryRequest(input *CreateRegistryInput) (req *request.Request, output *CreateRegistryOutput) { @@ -155,17 +154,18 @@ func (c *Schemas) CreateRegistryRequest(input *CreateRegistryInput) (req *reques // API operation CreateRegistry for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException // -// * UnauthorizedException +// - InternalServerErrorException // -// * ForbiddenException +// - UnauthorizedException // -// * ServiceUnavailableException +// - ForbiddenException // -// * ConflictException +// - ServiceUnavailableException +// +// - ConflictException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateRegistry func (c *Schemas) CreateRegistry(input *CreateRegistryInput) (*CreateRegistryOutput, error) { @@ -205,14 +205,13 @@ const opCreateSchema = "CreateSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSchemaRequest method. +// req, resp := client.CreateSchemaRequest(params) // -// // Example sending a request using the CreateSchemaRequest method. -// req, resp := client.CreateSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateSchema func (c *Schemas) CreateSchemaRequest(input *CreateSchemaInput) (req *request.Request, output *CreateSchemaOutput) { @@ -245,13 +244,14 @@ func (c *Schemas) CreateSchemaRequest(input *CreateSchemaInput) (req *request.Re // API operation CreateSchema for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException // -// * BadRequestException +// - ServiceUnavailableException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException +// +// - ForbiddenException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/CreateSchema func (c *Schemas) CreateSchema(input *CreateSchemaInput) (*CreateSchemaOutput, error) { @@ -291,14 +291,13 @@ const opDeleteDiscoverer = "DeleteDiscoverer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDiscovererRequest method. +// req, resp := client.DeleteDiscovererRequest(params) // -// // Example sending a request using the DeleteDiscovererRequest method. -// req, resp := client.DeleteDiscovererRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteDiscoverer func (c *Schemas) DeleteDiscovererRequest(input *DeleteDiscovererInput) (req *request.Request, output *DeleteDiscovererOutput) { @@ -330,17 +329,18 @@ func (c *Schemas) DeleteDiscovererRequest(input *DeleteDiscovererInput) (req *re // API operation DeleteDiscoverer for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException // -// * InternalServerErrorException +// - UnauthorizedException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException +// +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteDiscoverer func (c *Schemas) DeleteDiscoverer(input *DeleteDiscovererInput) (*DeleteDiscovererOutput, error) { @@ -380,14 +380,13 @@ const opDeleteRegistry = "DeleteRegistry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRegistryRequest method. +// req, resp := client.DeleteRegistryRequest(params) // -// // Example sending a request using the DeleteRegistryRequest method. -// req, resp := client.DeleteRegistryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteRegistry func (c *Schemas) DeleteRegistryRequest(input *DeleteRegistryInput) (req *request.Request, output *DeleteRegistryOutput) { @@ -419,17 +418,18 @@ func (c *Schemas) DeleteRegistryRequest(input *DeleteRegistryInput) (req *reques // API operation DeleteRegistry for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException // -// * InternalServerErrorException +// - UnauthorizedException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException +// +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteRegistry func (c *Schemas) DeleteRegistry(input *DeleteRegistryInput) (*DeleteRegistryOutput, error) { @@ -469,14 +469,13 @@ const opDeleteResourcePolicy = "DeleteResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourcePolicyRequest method. +// req, resp := client.DeleteResourcePolicyRequest(params) // -// // Example sending a request using the DeleteResourcePolicyRequest method. -// req, resp := client.DeleteResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteResourcePolicy func (c *Schemas) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { @@ -508,17 +507,18 @@ func (c *Schemas) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) // API operation DeleteResourcePolicy for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException // -// * InternalServerErrorException +// - UnauthorizedException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException +// +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteResourcePolicy func (c *Schemas) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { @@ -558,14 +558,13 @@ const opDeleteSchema = "DeleteSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSchemaRequest method. +// req, resp := client.DeleteSchemaRequest(params) // -// // Example sending a request using the DeleteSchemaRequest method. -// req, resp := client.DeleteSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteSchema func (c *Schemas) DeleteSchemaRequest(input *DeleteSchemaInput) (req *request.Request, output *DeleteSchemaOutput) { @@ -597,17 +596,18 @@ func (c *Schemas) DeleteSchemaRequest(input *DeleteSchemaInput) (req *request.Re // API operation DeleteSchema for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException // -// * InternalServerErrorException +// - UnauthorizedException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException +// +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteSchema func (c *Schemas) DeleteSchema(input *DeleteSchemaInput) (*DeleteSchemaOutput, error) { @@ -647,14 +647,13 @@ const opDeleteSchemaVersion = "DeleteSchemaVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSchemaVersionRequest method. +// req, resp := client.DeleteSchemaVersionRequest(params) // -// // Example sending a request using the DeleteSchemaVersionRequest method. -// req, resp := client.DeleteSchemaVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteSchemaVersion func (c *Schemas) DeleteSchemaVersionRequest(input *DeleteSchemaVersionInput) (req *request.Request, output *DeleteSchemaVersionOutput) { @@ -676,7 +675,7 @@ func (c *Schemas) DeleteSchemaVersionRequest(input *DeleteSchemaVersionInput) (r // DeleteSchemaVersion API operation for Schemas. // -// Delete the schema version definition +// # Delete the schema version definition // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -686,17 +685,18 @@ func (c *Schemas) DeleteSchemaVersionRequest(input *DeleteSchemaVersionInput) (r // API operation DeleteSchemaVersion for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException // -// * InternalServerErrorException +// - UnauthorizedException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException +// +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DeleteSchemaVersion func (c *Schemas) DeleteSchemaVersion(input *DeleteSchemaVersionInput) (*DeleteSchemaVersionOutput, error) { @@ -736,14 +736,13 @@ const opDescribeCodeBinding = "DescribeCodeBinding" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCodeBindingRequest method. +// req, resp := client.DescribeCodeBindingRequest(params) // -// // Example sending a request using the DescribeCodeBindingRequest method. -// req, resp := client.DescribeCodeBindingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeCodeBinding func (c *Schemas) DescribeCodeBindingRequest(input *DescribeCodeBindingInput) (req *request.Request, output *DescribeCodeBindingOutput) { @@ -774,17 +773,18 @@ func (c *Schemas) DescribeCodeBindingRequest(input *DescribeCodeBindingInput) (r // API operation DescribeCodeBinding for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException // -// * InternalServerErrorException +// - UnauthorizedException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * TooManyRequestsException +// - NotFoundException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeCodeBinding func (c *Schemas) DescribeCodeBinding(input *DescribeCodeBindingInput) (*DescribeCodeBindingOutput, error) { @@ -824,14 +824,13 @@ const opDescribeDiscoverer = "DescribeDiscoverer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDiscovererRequest method. +// req, resp := client.DescribeDiscovererRequest(params) // -// // Example sending a request using the DescribeDiscovererRequest method. -// req, resp := client.DescribeDiscovererRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeDiscoverer func (c *Schemas) DescribeDiscovererRequest(input *DescribeDiscovererInput) (req *request.Request, output *DescribeDiscovererOutput) { @@ -862,17 +861,18 @@ func (c *Schemas) DescribeDiscovererRequest(input *DescribeDiscovererInput) (req // API operation DescribeDiscoverer for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException +// +// - UnauthorizedException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeDiscoverer func (c *Schemas) DescribeDiscoverer(input *DescribeDiscovererInput) (*DescribeDiscovererOutput, error) { @@ -912,14 +912,13 @@ const opDescribeRegistry = "DescribeRegistry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRegistryRequest method. +// req, resp := client.DescribeRegistryRequest(params) // -// // Example sending a request using the DescribeRegistryRequest method. -// req, resp := client.DescribeRegistryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeRegistry func (c *Schemas) DescribeRegistryRequest(input *DescribeRegistryInput) (req *request.Request, output *DescribeRegistryOutput) { @@ -950,17 +949,18 @@ func (c *Schemas) DescribeRegistryRequest(input *DescribeRegistryInput) (req *re // API operation DescribeRegistry for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException +// +// - UnauthorizedException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeRegistry func (c *Schemas) DescribeRegistry(input *DescribeRegistryInput) (*DescribeRegistryOutput, error) { @@ -1000,14 +1000,13 @@ const opDescribeSchema = "DescribeSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSchemaRequest method. +// req, resp := client.DescribeSchemaRequest(params) // -// // Example sending a request using the DescribeSchemaRequest method. -// req, resp := client.DescribeSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeSchema func (c *Schemas) DescribeSchemaRequest(input *DescribeSchemaInput) (req *request.Request, output *DescribeSchemaOutput) { @@ -1038,17 +1037,18 @@ func (c *Schemas) DescribeSchemaRequest(input *DescribeSchemaInput) (req *reques // API operation DescribeSchema for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException +// +// - UnauthorizedException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/DescribeSchema func (c *Schemas) DescribeSchema(input *DescribeSchemaInput) (*DescribeSchemaOutput, error) { @@ -1088,14 +1088,13 @@ const opExportSchema = "ExportSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportSchemaRequest method. +// req, resp := client.ExportSchemaRequest(params) // -// // Example sending a request using the ExportSchemaRequest method. -// req, resp := client.ExportSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ExportSchema func (c *Schemas) ExportSchemaRequest(input *ExportSchemaInput) (req *request.Request, output *ExportSchemaOutput) { @@ -1126,19 +1125,20 @@ func (c *Schemas) ExportSchemaRequest(input *ExportSchemaInput) (req *request.Re // API operation ExportSchema for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException +// +// - UnauthorizedException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ExportSchema func (c *Schemas) ExportSchema(input *ExportSchemaInput) (*ExportSchemaOutput, error) { @@ -1178,14 +1178,13 @@ const opGetCodeBindingSource = "GetCodeBindingSource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCodeBindingSourceRequest method. +// req, resp := client.GetCodeBindingSourceRequest(params) // -// // Example sending a request using the GetCodeBindingSourceRequest method. -// req, resp := client.GetCodeBindingSourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/GetCodeBindingSource func (c *Schemas) GetCodeBindingSourceRequest(input *GetCodeBindingSourceInput) (req *request.Request, output *GetCodeBindingSourceOutput) { @@ -1216,17 +1215,18 @@ func (c *Schemas) GetCodeBindingSourceRequest(input *GetCodeBindingSourceInput) // API operation GetCodeBindingSource for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException +// +// - UnauthorizedException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * TooManyRequestsException +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/GetCodeBindingSource func (c *Schemas) GetCodeBindingSource(input *GetCodeBindingSourceInput) (*GetCodeBindingSourceOutput, error) { @@ -1266,14 +1266,13 @@ const opGetDiscoveredSchema = "GetDiscoveredSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDiscoveredSchemaRequest method. +// req, resp := client.GetDiscoveredSchemaRequest(params) // -// // Example sending a request using the GetDiscoveredSchemaRequest method. -// req, resp := client.GetDiscoveredSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/GetDiscoveredSchema func (c *Schemas) GetDiscoveredSchemaRequest(input *GetDiscoveredSchemaInput) (req *request.Request, output *GetDiscoveredSchemaOutput) { @@ -1304,15 +1303,16 @@ func (c *Schemas) GetDiscoveredSchemaRequest(input *GetDiscoveredSchemaInput) (r // API operation GetDiscoveredSchema for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException // -// * BadRequestException +// - ServiceUnavailableException +// +// - BadRequestException // -// * UnauthorizedException +// - UnauthorizedException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/GetDiscoveredSchema func (c *Schemas) GetDiscoveredSchema(input *GetDiscoveredSchemaInput) (*GetDiscoveredSchemaOutput, error) { @@ -1352,14 +1352,13 @@ const opGetResourcePolicy = "GetResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourcePolicyRequest method. +// req, resp := client.GetResourcePolicyRequest(params) // -// // Example sending a request using the GetResourcePolicyRequest method. -// req, resp := client.GetResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/GetResourcePolicy func (c *Schemas) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput) { @@ -1390,17 +1389,18 @@ func (c *Schemas) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req * // API operation GetResourcePolicy for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException +// +// - UnauthorizedException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/GetResourcePolicy func (c *Schemas) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error) { @@ -1440,14 +1440,13 @@ const opListDiscoverers = "ListDiscoverers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDiscoverersRequest method. +// req, resp := client.ListDiscoverersRequest(params) // -// // Example sending a request using the ListDiscoverersRequest method. -// req, resp := client.ListDiscoverersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListDiscoverers func (c *Schemas) ListDiscoverersRequest(input *ListDiscoverersInput) (req *request.Request, output *ListDiscoverersOutput) { @@ -1484,15 +1483,16 @@ func (c *Schemas) ListDiscoverersRequest(input *ListDiscoverersInput) (req *requ // API operation ListDiscoverers for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException // -// * BadRequestException +// - ServiceUnavailableException +// +// - BadRequestException // -// * UnauthorizedException +// - UnauthorizedException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListDiscoverers func (c *Schemas) ListDiscoverers(input *ListDiscoverersInput) (*ListDiscoverersOutput, error) { @@ -1524,15 +1524,14 @@ func (c *Schemas) ListDiscoverersWithContext(ctx aws.Context, input *ListDiscove // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDiscoverers operation. -// pageNum := 0 -// err := client.ListDiscoverersPages(params, -// func(page *schemas.ListDiscoverersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDiscoverers operation. +// pageNum := 0 +// err := client.ListDiscoverersPages(params, +// func(page *schemas.ListDiscoverersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Schemas) ListDiscoverersPages(input *ListDiscoverersInput, fn func(*ListDiscoverersOutput, bool) bool) error { return c.ListDiscoverersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1584,14 +1583,13 @@ const opListRegistries = "ListRegistries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRegistriesRequest method. +// req, resp := client.ListRegistriesRequest(params) // -// // Example sending a request using the ListRegistriesRequest method. -// req, resp := client.ListRegistriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListRegistries func (c *Schemas) ListRegistriesRequest(input *ListRegistriesInput) (req *request.Request, output *ListRegistriesOutput) { @@ -1628,15 +1626,16 @@ func (c *Schemas) ListRegistriesRequest(input *ListRegistriesInput) (req *reques // API operation ListRegistries for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException // -// * BadRequestException +// - ServiceUnavailableException +// +// - BadRequestException // -// * UnauthorizedException +// - UnauthorizedException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListRegistries func (c *Schemas) ListRegistries(input *ListRegistriesInput) (*ListRegistriesOutput, error) { @@ -1668,15 +1667,14 @@ func (c *Schemas) ListRegistriesWithContext(ctx aws.Context, input *ListRegistri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRegistries operation. -// pageNum := 0 -// err := client.ListRegistriesPages(params, -// func(page *schemas.ListRegistriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRegistries operation. +// pageNum := 0 +// err := client.ListRegistriesPages(params, +// func(page *schemas.ListRegistriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Schemas) ListRegistriesPages(input *ListRegistriesInput, fn func(*ListRegistriesOutput, bool) bool) error { return c.ListRegistriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1728,14 +1726,13 @@ const opListSchemaVersions = "ListSchemaVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSchemaVersionsRequest method. +// req, resp := client.ListSchemaVersionsRequest(params) // -// // Example sending a request using the ListSchemaVersionsRequest method. -// req, resp := client.ListSchemaVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListSchemaVersions func (c *Schemas) ListSchemaVersionsRequest(input *ListSchemaVersionsInput) (req *request.Request, output *ListSchemaVersionsOutput) { @@ -1772,17 +1769,18 @@ func (c *Schemas) ListSchemaVersionsRequest(input *ListSchemaVersionsInput) (req // API operation ListSchemaVersions for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException // -// * InternalServerErrorException +// - UnauthorizedException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException +// +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListSchemaVersions func (c *Schemas) ListSchemaVersions(input *ListSchemaVersionsInput) (*ListSchemaVersionsOutput, error) { @@ -1814,15 +1812,14 @@ func (c *Schemas) ListSchemaVersionsWithContext(ctx aws.Context, input *ListSche // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSchemaVersions operation. -// pageNum := 0 -// err := client.ListSchemaVersionsPages(params, -// func(page *schemas.ListSchemaVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSchemaVersions operation. +// pageNum := 0 +// err := client.ListSchemaVersionsPages(params, +// func(page *schemas.ListSchemaVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Schemas) ListSchemaVersionsPages(input *ListSchemaVersionsInput, fn func(*ListSchemaVersionsOutput, bool) bool) error { return c.ListSchemaVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1874,14 +1871,13 @@ const opListSchemas = "ListSchemas" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSchemasRequest method. +// req, resp := client.ListSchemasRequest(params) // -// // Example sending a request using the ListSchemasRequest method. -// req, resp := client.ListSchemasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListSchemas func (c *Schemas) ListSchemasRequest(input *ListSchemasInput) (req *request.Request, output *ListSchemasOutput) { @@ -1918,15 +1914,16 @@ func (c *Schemas) ListSchemasRequest(input *ListSchemasInput) (req *request.Requ // API operation ListSchemas for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException // -// * BadRequestException +// - ServiceUnavailableException +// +// - BadRequestException // -// * UnauthorizedException +// - UnauthorizedException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListSchemas func (c *Schemas) ListSchemas(input *ListSchemasInput) (*ListSchemasOutput, error) { @@ -1958,15 +1955,14 @@ func (c *Schemas) ListSchemasWithContext(ctx aws.Context, input *ListSchemasInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSchemas operation. -// pageNum := 0 -// err := client.ListSchemasPages(params, -// func(page *schemas.ListSchemasOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSchemas operation. +// pageNum := 0 +// err := client.ListSchemasPages(params, +// func(page *schemas.ListSchemasOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Schemas) ListSchemasPages(input *ListSchemasInput, fn func(*ListSchemasOutput, bool) bool) error { return c.ListSchemasPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2018,14 +2014,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListTagsForResource func (c *Schemas) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2056,13 +2051,14 @@ func (c *Schemas) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * NotFoundException // -// * BadRequestException +// - NotFoundException // -// * InternalServerErrorException +// - BadRequestException // -// * ForbiddenException +// - InternalServerErrorException +// +// - ForbiddenException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/ListTagsForResource func (c *Schemas) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2102,14 +2098,13 @@ const opPutCodeBinding = "PutCodeBinding" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutCodeBindingRequest method. +// req, resp := client.PutCodeBindingRequest(params) // -// // Example sending a request using the PutCodeBindingRequest method. -// req, resp := client.PutCodeBindingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/PutCodeBinding func (c *Schemas) PutCodeBindingRequest(input *PutCodeBindingInput) (req *request.Request, output *PutCodeBindingOutput) { @@ -2130,7 +2125,7 @@ func (c *Schemas) PutCodeBindingRequest(input *PutCodeBindingInput) (req *reques // PutCodeBinding API operation for Schemas. // -// Put code binding URI +// # Put code binding URI // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2140,19 +2135,20 @@ func (c *Schemas) PutCodeBindingRequest(input *PutCodeBindingInput) (req *reques // API operation PutCodeBinding for usage and error information. // // Returned Error Types: -// * GoneException // -// * BadRequestException +// - GoneException // -// * UnauthorizedException +// - BadRequestException // -// * InternalServerErrorException +// - UnauthorizedException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * TooManyRequestsException +// - NotFoundException +// +// - TooManyRequestsException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/PutCodeBinding func (c *Schemas) PutCodeBinding(input *PutCodeBindingInput) (*PutCodeBindingOutput, error) { @@ -2192,14 +2188,13 @@ const opPutResourcePolicy = "PutResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutResourcePolicyRequest method. +// req, resp := client.PutResourcePolicyRequest(params) // -// // Example sending a request using the PutResourcePolicyRequest method. -// req, resp := client.PutResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/PutResourcePolicy func (c *Schemas) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { @@ -2230,19 +2225,20 @@ func (c *Schemas) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req * // API operation PutResourcePolicy for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException // -// * PreconditionFailedException +// - UnauthorizedException // -// * InternalServerErrorException +// - PreconditionFailedException // -// * ForbiddenException +// - InternalServerErrorException // -// * NotFoundException +// - ForbiddenException // -// * ServiceUnavailableException +// - NotFoundException +// +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/PutResourcePolicy func (c *Schemas) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { @@ -2282,14 +2278,13 @@ const opSearchSchemas = "SearchSchemas" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchSchemasRequest method. +// req, resp := client.SearchSchemasRequest(params) // -// // Example sending a request using the SearchSchemasRequest method. -// req, resp := client.SearchSchemasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/SearchSchemas func (c *Schemas) SearchSchemasRequest(input *SearchSchemasInput) (req *request.Request, output *SearchSchemasOutput) { @@ -2316,7 +2311,7 @@ func (c *Schemas) SearchSchemasRequest(input *SearchSchemasInput) (req *request. // SearchSchemas API operation for Schemas. // -// Search the schemas +// # Search the schemas // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2326,15 +2321,16 @@ func (c *Schemas) SearchSchemasRequest(input *SearchSchemasInput) (req *request. // API operation SearchSchemas for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException // -// * BadRequestException +// - ServiceUnavailableException // -// * UnauthorizedException +// - BadRequestException // -// * InternalServerErrorException +// - UnauthorizedException // -// * ForbiddenException +// - InternalServerErrorException +// +// - ForbiddenException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/SearchSchemas func (c *Schemas) SearchSchemas(input *SearchSchemasInput) (*SearchSchemasOutput, error) { @@ -2366,15 +2362,14 @@ func (c *Schemas) SearchSchemasWithContext(ctx aws.Context, input *SearchSchemas // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchSchemas operation. -// pageNum := 0 -// err := client.SearchSchemasPages(params, -// func(page *schemas.SearchSchemasOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchSchemas operation. +// pageNum := 0 +// err := client.SearchSchemasPages(params, +// func(page *schemas.SearchSchemasOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Schemas) SearchSchemasPages(input *SearchSchemasInput, fn func(*SearchSchemasOutput, bool) bool) error { return c.SearchSchemasPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2426,14 +2421,13 @@ const opStartDiscoverer = "StartDiscoverer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDiscovererRequest method. +// req, resp := client.StartDiscovererRequest(params) // -// // Example sending a request using the StartDiscovererRequest method. -// req, resp := client.StartDiscovererRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/StartDiscoverer func (c *Schemas) StartDiscovererRequest(input *StartDiscovererInput) (req *request.Request, output *StartDiscovererOutput) { @@ -2454,7 +2448,7 @@ func (c *Schemas) StartDiscovererRequest(input *StartDiscovererInput) (req *requ // StartDiscoverer API operation for Schemas. // -// Starts the discoverer +// # Starts the discoverer // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2464,17 +2458,18 @@ func (c *Schemas) StartDiscovererRequest(input *StartDiscovererInput) (req *requ // API operation StartDiscoverer for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException +// +// - UnauthorizedException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/StartDiscoverer func (c *Schemas) StartDiscoverer(input *StartDiscovererInput) (*StartDiscovererOutput, error) { @@ -2514,14 +2509,13 @@ const opStopDiscoverer = "StopDiscoverer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopDiscovererRequest method. +// req, resp := client.StopDiscovererRequest(params) // -// // Example sending a request using the StopDiscovererRequest method. -// req, resp := client.StopDiscovererRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/StopDiscoverer func (c *Schemas) StopDiscovererRequest(input *StopDiscovererInput) (req *request.Request, output *StopDiscovererOutput) { @@ -2542,7 +2536,7 @@ func (c *Schemas) StopDiscovererRequest(input *StopDiscovererInput) (req *reques // StopDiscoverer API operation for Schemas. // -// Stops the discoverer +// # Stops the discoverer // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2552,17 +2546,18 @@ func (c *Schemas) StopDiscovererRequest(input *StopDiscovererInput) (req *reques // API operation StopDiscoverer for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException +// +// - UnauthorizedException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/StopDiscoverer func (c *Schemas) StopDiscoverer(input *StopDiscovererInput) (*StopDiscovererOutput, error) { @@ -2602,14 +2597,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/TagResource func (c *Schemas) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2641,13 +2635,14 @@ func (c *Schemas) TagResourceRequest(input *TagResourceInput) (req *request.Requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * NotFoundException // -// * BadRequestException +// - NotFoundException +// +// - BadRequestException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/TagResource func (c *Schemas) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2687,14 +2682,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UntagResource func (c *Schemas) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2726,13 +2720,14 @@ func (c *Schemas) UntagResourceRequest(input *UntagResourceInput) (req *request. // API operation UntagResource for usage and error information. // // Returned Error Types: -// * NotFoundException // -// * BadRequestException +// - NotFoundException +// +// - BadRequestException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UntagResource func (c *Schemas) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2772,14 +2767,13 @@ const opUpdateDiscoverer = "UpdateDiscoverer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDiscovererRequest method. +// req, resp := client.UpdateDiscovererRequest(params) // -// // Example sending a request using the UpdateDiscovererRequest method. -// req, resp := client.UpdateDiscovererRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateDiscoverer func (c *Schemas) UpdateDiscovererRequest(input *UpdateDiscovererInput) (req *request.Request, output *UpdateDiscovererOutput) { @@ -2800,7 +2794,7 @@ func (c *Schemas) UpdateDiscovererRequest(input *UpdateDiscovererInput) (req *re // UpdateDiscoverer API operation for Schemas. // -// Updates the discoverer +// # Updates the discoverer // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2810,17 +2804,18 @@ func (c *Schemas) UpdateDiscovererRequest(input *UpdateDiscovererInput) (req *re // API operation UpdateDiscoverer for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException +// +// - UnauthorizedException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateDiscoverer func (c *Schemas) UpdateDiscoverer(input *UpdateDiscovererInput) (*UpdateDiscovererOutput, error) { @@ -2860,14 +2855,13 @@ const opUpdateRegistry = "UpdateRegistry" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRegistryRequest method. +// req, resp := client.UpdateRegistryRequest(params) // -// // Example sending a request using the UpdateRegistryRequest method. -// req, resp := client.UpdateRegistryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateRegistry func (c *Schemas) UpdateRegistryRequest(input *UpdateRegistryInput) (req *request.Request, output *UpdateRegistryOutput) { @@ -2898,17 +2892,18 @@ func (c *Schemas) UpdateRegistryRequest(input *UpdateRegistryInput) (req *reques // API operation UpdateRegistry for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * UnauthorizedException +// - BadRequestException +// +// - UnauthorizedException // -// * InternalServerErrorException +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateRegistry func (c *Schemas) UpdateRegistry(input *UpdateRegistryInput) (*UpdateRegistryOutput, error) { @@ -2948,14 +2943,13 @@ const opUpdateSchema = "UpdateSchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSchemaRequest method. +// req, resp := client.UpdateSchemaRequest(params) // -// // Example sending a request using the UpdateSchemaRequest method. -// req, resp := client.UpdateSchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateSchema func (c *Schemas) UpdateSchemaRequest(input *UpdateSchemaInput) (req *request.Request, output *UpdateSchemaOutput) { @@ -2976,7 +2970,7 @@ func (c *Schemas) UpdateSchemaRequest(input *UpdateSchemaInput) (req *request.Re // UpdateSchema API operation for Schemas. // -// Updates the schema definition +// # Updates the schema definition // // Inactive schemas will be deleted after two years. // @@ -2988,15 +2982,16 @@ func (c *Schemas) UpdateSchemaRequest(input *UpdateSchemaInput) (req *request.Re // API operation UpdateSchema for usage and error information. // // Returned Error Types: -// * BadRequestException // -// * InternalServerErrorException +// - BadRequestException +// +// - InternalServerErrorException // -// * ForbiddenException +// - ForbiddenException // -// * NotFoundException +// - NotFoundException // -// * ServiceUnavailableException +// - ServiceUnavailableException // // See also, https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02/UpdateSchema func (c *Schemas) UpdateSchema(input *UpdateSchemaInput) (*UpdateSchemaOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/doc.go index 67fd4291b97d..e302f207ee2a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/doc.go @@ -3,14 +3,14 @@ // Package schemas provides the client and types for making API // requests to Schemas. // -// Amazon EventBridge Schema Registry +// # Amazon EventBridge Schema Registry // // See https://docs.aws.amazon.com/goto/WebAPI/schemas-2019-12-02 for more information on this service. // // See schemas package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/schemas/ // -// Using the Client +// # Using the Client // // To contact Schemas with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/schemasiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/schemasiface/interface.go index 5c1dbca72d46..1d96c1f1fdd5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/schemasiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/schemasiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Schemas. -// func myFunc(svc schemasiface.SchemasAPI) bool { -// // Make svc.CreateDiscoverer request -// } +// // myFunc uses an SDK service client to make a request to +// // Schemas. +// func myFunc(svc schemasiface.SchemasAPI) bool { +// // Make svc.CreateDiscoverer request +// } // -// func main() { -// sess := session.New() -// svc := schemas.New(sess) +// func main() { +// sess := session.New() +// svc := schemas.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSchemasClient struct { -// schemasiface.SchemasAPI -// } -// func (m *mockSchemasClient) CreateDiscoverer(input *schemas.CreateDiscovererInput) (*schemas.CreateDiscovererOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSchemasClient struct { +// schemasiface.SchemasAPI +// } +// func (m *mockSchemasClient) CreateDiscoverer(input *schemas.CreateDiscovererInput) (*schemas.CreateDiscovererOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSchemasClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSchemasClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/service.go index 9b86565511be..cb5c2e033147 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/schemas/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Schemas client from just a session. -// svc := schemas.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Schemas client with additional configuration -// svc := schemas.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Schemas client from just a session. +// svc := schemas.New(mySession) +// +// // Create a Schemas client with additional configuration +// svc := schemas.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Schemas { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/api.go index b33b38a40e6a..e355c476c3f1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/api.go @@ -29,14 +29,13 @@ const opCancelRotateSecret = "CancelRotateSecret" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelRotateSecretRequest method. +// req, resp := client.CancelRotateSecretRequest(params) // -// // Example sending a request using the CancelRotateSecretRequest method. -// req, resp := client.CancelRotateSecretRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/CancelRotateSecret func (c *SecretsManager) CancelRotateSecretRequest(input *CancelRotateSecretInput) (req *request.Request, output *CancelRotateSecretOutput) { @@ -82,25 +81,26 @@ func (c *SecretsManager) CancelRotateSecretRequest(input *CancelRotateSecretInpu // API operation CancelRotateSecret for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. +// +// - InvalidParameterException +// The parameter name or value is invalid. // -// * InternalServiceError -// An error occurred on the server side. +// - InternalServiceError +// An error occurred on the server side. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// Possible causes: +// Possible causes: // -// * The secret is scheduled for deletion. +// - The secret is scheduled for deletion. // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/CancelRotateSecret func (c *SecretsManager) CancelRotateSecret(input *CancelRotateSecretInput) (*CancelRotateSecretOutput, error) { @@ -140,14 +140,13 @@ const opCreateSecret = "CreateSecret" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSecretRequest method. +// req, resp := client.CreateSecretRequest(params) // -// // Example sending a request using the CreateSecretRequest method. -// req, resp := client.CreateSecretRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/CreateSecret func (c *SecretsManager) CreateSecretRequest(input *CreateSecretInput) (req *request.Request, output *CreateSecretOutput) { @@ -216,46 +215,47 @@ func (c *SecretsManager) CreateSecretRequest(input *CreateSecretInput) (req *req // API operation CreateSecret for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The parameter name or value is invalid. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - InvalidParameterException +// The parameter name or value is invalid. // -// Possible causes: +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// * The secret is scheduled for deletion. +// Possible causes: // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - The secret is scheduled for deletion. // -// * LimitExceededException -// The request failed because it would exceed one of the Secrets Manager quotas. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // -// * EncryptionFailure -// Secrets Manager can't encrypt the protected secret text using the provided -// KMS key. Check that the KMS key is available, enabled, and not in an invalid -// state. For more information, see Key state: Effect on your KMS key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html). +// - LimitExceededException +// The request failed because it would exceed one of the Secrets Manager quotas. // -// * ResourceExistsException -// A resource with the ID you requested already exists. +// - EncryptionFailure +// Secrets Manager can't encrypt the protected secret text using the provided +// KMS key. Check that the KMS key is available, enabled, and not in an invalid +// state. For more information, see Key state: Effect on your KMS key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html). // -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. +// - ResourceExistsException +// A resource with the ID you requested already exists. // -// * MalformedPolicyDocumentException -// The resource policy has syntax errors. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. // -// * InternalServiceError -// An error occurred on the server side. +// - MalformedPolicyDocumentException +// The resource policy has syntax errors. // -// * PreconditionNotMetException -// The request failed because you did not complete all the prerequisite steps. +// - InternalServiceError +// An error occurred on the server side. // -// * DecryptionFailure -// Secrets Manager can't decrypt the protected secret text using the provided -// KMS key. +// - PreconditionNotMetException +// The request failed because you did not complete all the prerequisite steps. +// +// - DecryptionFailure +// Secrets Manager can't decrypt the protected secret text using the provided +// KMS key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/CreateSecret func (c *SecretsManager) CreateSecret(input *CreateSecretInput) (*CreateSecretOutput, error) { @@ -295,14 +295,13 @@ const opDeleteResourcePolicy = "DeleteResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourcePolicyRequest method. +// req, resp := client.DeleteResourcePolicyRequest(params) // -// // Example sending a request using the DeleteResourcePolicyRequest method. -// req, resp := client.DeleteResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/DeleteResourcePolicy func (c *SecretsManager) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { @@ -338,25 +337,26 @@ func (c *SecretsManager) DeleteResourcePolicyRequest(input *DeleteResourcePolicy // API operation DeleteResourcePolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. // -// * InternalServiceError -// An error occurred on the server side. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. +// +// - InternalServiceError +// An error occurred on the server side. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// Possible causes: +// Possible causes: // -// * The secret is scheduled for deletion. +// - The secret is scheduled for deletion. // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - InvalidParameterException +// The parameter name or value is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/DeleteResourcePolicy func (c *SecretsManager) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { @@ -396,14 +396,13 @@ const opDeleteSecret = "DeleteSecret" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSecretRequest method. +// req, resp := client.DeleteSecretRequest(params) // -// // Example sending a request using the DeleteSecretRequest method. -// req, resp := client.DeleteSecretRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/DeleteSecret func (c *SecretsManager) DeleteSecretRequest(input *DeleteSecretInput) (req *request.Request, output *DeleteSecretOutput) { @@ -468,25 +467,26 @@ func (c *SecretsManager) DeleteSecretRequest(input *DeleteSecretInput) (req *req // API operation DeleteSecret for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. +// +// - InvalidParameterException +// The parameter name or value is invalid. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// Possible causes: +// Possible causes: // -// * The secret is scheduled for deletion. +// - The secret is scheduled for deletion. // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // -// * InternalServiceError -// An error occurred on the server side. +// - InternalServiceError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/DeleteSecret func (c *SecretsManager) DeleteSecret(input *DeleteSecretInput) (*DeleteSecretOutput, error) { @@ -526,14 +526,13 @@ const opDescribeSecret = "DescribeSecret" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSecretRequest method. +// req, resp := client.DescribeSecretRequest(params) // -// // Example sending a request using the DescribeSecretRequest method. -// req, resp := client.DescribeSecretRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/DescribeSecret func (c *SecretsManager) DescribeSecretRequest(input *DescribeSecretInput) (req *request.Request, output *DescribeSecretOutput) { @@ -569,14 +568,15 @@ func (c *SecretsManager) DescribeSecretRequest(input *DescribeSecretInput) (req // API operation DescribeSecret for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. // -// * InternalServiceError -// An error occurred on the server side. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - InternalServiceError +// An error occurred on the server side. +// +// - InvalidParameterException +// The parameter name or value is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/DescribeSecret func (c *SecretsManager) DescribeSecret(input *DescribeSecretInput) (*DescribeSecretOutput, error) { @@ -616,14 +616,13 @@ const opGetRandomPassword = "GetRandomPassword" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRandomPasswordRequest method. +// req, resp := client.GetRandomPasswordRequest(params) // -// // Example sending a request using the GetRandomPasswordRequest method. -// req, resp := client.GetRandomPasswordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/GetRandomPassword func (c *SecretsManager) GetRandomPasswordRequest(input *GetRandomPasswordInput) (req *request.Request, output *GetRandomPasswordOutput) { @@ -660,22 +659,23 @@ func (c *SecretsManager) GetRandomPasswordRequest(input *GetRandomPasswordInput) // API operation GetRandomPassword for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The parameter name or value is invalid. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - InvalidParameterException +// The parameter name or value is invalid. +// +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// Possible causes: +// Possible causes: // -// * The secret is scheduled for deletion. +// - The secret is scheduled for deletion. // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // -// * InternalServiceError -// An error occurred on the server side. +// - InternalServiceError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/GetRandomPassword func (c *SecretsManager) GetRandomPassword(input *GetRandomPasswordInput) (*GetRandomPasswordOutput, error) { @@ -715,14 +715,13 @@ const opGetResourcePolicy = "GetResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourcePolicyRequest method. +// req, resp := client.GetResourcePolicyRequest(params) // -// // Example sending a request using the GetResourcePolicyRequest method. -// req, resp := client.GetResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/GetResourcePolicy func (c *SecretsManager) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput) { @@ -759,25 +758,26 @@ func (c *SecretsManager) GetResourcePolicyRequest(input *GetResourcePolicyInput) // API operation GetResourcePolicy for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. // -// * InternalServiceError -// An error occurred on the server side. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. +// +// - InternalServiceError +// An error occurred on the server side. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// Possible causes: +// Possible causes: // -// * The secret is scheduled for deletion. +// - The secret is scheduled for deletion. // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - InvalidParameterException +// The parameter name or value is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/GetResourcePolicy func (c *SecretsManager) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error) { @@ -817,14 +817,13 @@ const opGetSecretValue = "GetSecretValue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSecretValueRequest method. +// req, resp := client.GetSecretValueRequest(params) // -// // Example sending a request using the GetSecretValueRequest method. -// req, resp := client.GetSecretValueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/GetSecretValue func (c *SecretsManager) GetSecretValueRequest(input *GetSecretValueInput) (req *request.Request, output *GetSecretValueOutput) { @@ -866,29 +865,30 @@ func (c *SecretsManager) GetSecretValueRequest(input *GetSecretValueInput) (req // API operation GetSecretValue for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - InvalidParameterException +// The parameter name or value is invalid. // -// Possible causes: +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// * The secret is scheduled for deletion. +// Possible causes: // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - The secret is scheduled for deletion. // -// * DecryptionFailure -// Secrets Manager can't decrypt the protected secret text using the provided -// KMS key. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // -// * InternalServiceError -// An error occurred on the server side. +// - DecryptionFailure +// Secrets Manager can't decrypt the protected secret text using the provided +// KMS key. +// +// - InternalServiceError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/GetSecretValue func (c *SecretsManager) GetSecretValue(input *GetSecretValueInput) (*GetSecretValueOutput, error) { @@ -928,14 +928,13 @@ const opListSecretVersionIds = "ListSecretVersionIds" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSecretVersionIdsRequest method. +// req, resp := client.ListSecretVersionIdsRequest(params) // -// // Example sending a request using the ListSecretVersionIdsRequest method. -// req, resp := client.ListSecretVersionIdsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/ListSecretVersionIds func (c *SecretsManager) ListSecretVersionIdsRequest(input *ListSecretVersionIdsInput) (req *request.Request, output *ListSecretVersionIdsOutput) { @@ -980,17 +979,18 @@ func (c *SecretsManager) ListSecretVersionIdsRequest(input *ListSecretVersionIds // API operation ListSecretVersionIds for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The NextToken value is invalid. // -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. +// - InvalidNextTokenException +// The NextToken value is invalid. +// +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. // -// * InternalServiceError -// An error occurred on the server side. +// - InternalServiceError +// An error occurred on the server side. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - InvalidParameterException +// The parameter name or value is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/ListSecretVersionIds func (c *SecretsManager) ListSecretVersionIds(input *ListSecretVersionIdsInput) (*ListSecretVersionIdsOutput, error) { @@ -1022,15 +1022,14 @@ func (c *SecretsManager) ListSecretVersionIdsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSecretVersionIds operation. -// pageNum := 0 -// err := client.ListSecretVersionIdsPages(params, -// func(page *secretsmanager.ListSecretVersionIdsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSecretVersionIds operation. +// pageNum := 0 +// err := client.ListSecretVersionIdsPages(params, +// func(page *secretsmanager.ListSecretVersionIdsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SecretsManager) ListSecretVersionIdsPages(input *ListSecretVersionIdsInput, fn func(*ListSecretVersionIdsOutput, bool) bool) error { return c.ListSecretVersionIdsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1082,14 +1081,13 @@ const opListSecrets = "ListSecrets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSecretsRequest method. +// req, resp := client.ListSecretsRequest(params) // -// // Example sending a request using the ListSecretsRequest method. -// req, resp := client.ListSecretsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/ListSecrets func (c *SecretsManager) ListSecretsRequest(input *ListSecretsInput) (req *request.Request, output *ListSecretsOutput) { @@ -1139,14 +1137,15 @@ func (c *SecretsManager) ListSecretsRequest(input *ListSecretsInput) (req *reque // API operation ListSecrets for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The parameter name or value is invalid. // -// * InvalidNextTokenException -// The NextToken value is invalid. +// - InvalidParameterException +// The parameter name or value is invalid. +// +// - InvalidNextTokenException +// The NextToken value is invalid. // -// * InternalServiceError -// An error occurred on the server side. +// - InternalServiceError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/ListSecrets func (c *SecretsManager) ListSecrets(input *ListSecretsInput) (*ListSecretsOutput, error) { @@ -1178,15 +1177,14 @@ func (c *SecretsManager) ListSecretsWithContext(ctx aws.Context, input *ListSecr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSecrets operation. -// pageNum := 0 -// err := client.ListSecretsPages(params, -// func(page *secretsmanager.ListSecretsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSecrets operation. +// pageNum := 0 +// err := client.ListSecretsPages(params, +// func(page *secretsmanager.ListSecretsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SecretsManager) ListSecretsPages(input *ListSecretsInput, fn func(*ListSecretsOutput, bool) bool) error { return c.ListSecretsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1238,14 +1236,13 @@ const opPutResourcePolicy = "PutResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutResourcePolicyRequest method. +// req, resp := client.PutResourcePolicyRequest(params) // -// // Example sending a request using the PutResourcePolicyRequest method. -// req, resp := client.PutResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/PutResourcePolicy func (c *SecretsManager) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { @@ -1285,32 +1282,33 @@ func (c *SecretsManager) PutResourcePolicyRequest(input *PutResourcePolicyInput) // API operation PutResourcePolicy for usage and error information. // // Returned Error Types: -// * MalformedPolicyDocumentException -// The resource policy has syntax errors. // -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. +// - MalformedPolicyDocumentException +// The resource policy has syntax errors. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. // -// * InternalServiceError -// An error occurred on the server side. +// - InvalidParameterException +// The parameter name or value is invalid. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - InternalServiceError +// An error occurred on the server side. // -// Possible causes: +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// * The secret is scheduled for deletion. +// Possible causes: // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - The secret is scheduled for deletion. // -// * PublicPolicyException -// The BlockPublicPolicy parameter is set to true, and the resource policy did -// not prevent broad access to the secret. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. +// +// - PublicPolicyException +// The BlockPublicPolicy parameter is set to true, and the resource policy did +// not prevent broad access to the secret. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/PutResourcePolicy func (c *SecretsManager) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { @@ -1350,14 +1348,13 @@ const opPutSecretValue = "PutSecretValue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutSecretValueRequest method. +// req, resp := client.PutSecretValueRequest(params) // -// // Example sending a request using the PutSecretValueRequest method. -// req, resp := client.PutSecretValueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/PutSecretValue func (c *SecretsManager) PutSecretValueRequest(input *PutSecretValueInput) (req *request.Request, output *PutSecretValueOutput) { @@ -1418,40 +1415,41 @@ func (c *SecretsManager) PutSecretValueRequest(input *PutSecretValueInput) (req // API operation PutSecretValue for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The parameter name or value is invalid. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - InvalidParameterException +// The parameter name or value is invalid. +// +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// Possible causes: +// Possible causes: // -// * The secret is scheduled for deletion. +// - The secret is scheduled for deletion. // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // -// * LimitExceededException -// The request failed because it would exceed one of the Secrets Manager quotas. +// - LimitExceededException +// The request failed because it would exceed one of the Secrets Manager quotas. // -// * EncryptionFailure -// Secrets Manager can't encrypt the protected secret text using the provided -// KMS key. Check that the KMS key is available, enabled, and not in an invalid -// state. For more information, see Key state: Effect on your KMS key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html). +// - EncryptionFailure +// Secrets Manager can't encrypt the protected secret text using the provided +// KMS key. Check that the KMS key is available, enabled, and not in an invalid +// state. For more information, see Key state: Effect on your KMS key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html). // -// * ResourceExistsException -// A resource with the ID you requested already exists. +// - ResourceExistsException +// A resource with the ID you requested already exists. // -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. // -// * InternalServiceError -// An error occurred on the server side. +// - InternalServiceError +// An error occurred on the server side. // -// * DecryptionFailure -// Secrets Manager can't decrypt the protected secret text using the provided -// KMS key. +// - DecryptionFailure +// Secrets Manager can't decrypt the protected secret text using the provided +// KMS key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/PutSecretValue func (c *SecretsManager) PutSecretValue(input *PutSecretValueInput) (*PutSecretValueOutput, error) { @@ -1491,14 +1489,13 @@ const opRemoveRegionsFromReplication = "RemoveRegionsFromReplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveRegionsFromReplicationRequest method. +// req, resp := client.RemoveRegionsFromReplicationRequest(params) // -// // Example sending a request using the RemoveRegionsFromReplicationRequest method. -// req, resp := client.RemoveRegionsFromReplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/RemoveRegionsFromReplication func (c *SecretsManager) RemoveRegionsFromReplicationRequest(input *RemoveRegionsFromReplicationInput) (req *request.Request, output *RemoveRegionsFromReplicationOutput) { @@ -1534,25 +1531,26 @@ func (c *SecretsManager) RemoveRegionsFromReplicationRequest(input *RemoveRegion // API operation RemoveRegionsFromReplication for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. +// +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// Possible causes: +// Possible causes: // -// * The secret is scheduled for deletion. +// - The secret is scheduled for deletion. // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - InvalidParameterException +// The parameter name or value is invalid. // -// * InternalServiceError -// An error occurred on the server side. +// - InternalServiceError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/RemoveRegionsFromReplication func (c *SecretsManager) RemoveRegionsFromReplication(input *RemoveRegionsFromReplicationInput) (*RemoveRegionsFromReplicationOutput, error) { @@ -1592,14 +1590,13 @@ const opReplicateSecretToRegions = "ReplicateSecretToRegions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReplicateSecretToRegionsRequest method. +// req, resp := client.ReplicateSecretToRegionsRequest(params) // -// // Example sending a request using the ReplicateSecretToRegionsRequest method. -// req, resp := client.ReplicateSecretToRegionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/ReplicateSecretToRegions func (c *SecretsManager) ReplicateSecretToRegionsRequest(input *ReplicateSecretToRegionsInput) (req *request.Request, output *ReplicateSecretToRegionsOutput) { @@ -1634,25 +1631,26 @@ func (c *SecretsManager) ReplicateSecretToRegionsRequest(input *ReplicateSecretT // API operation ReplicateSecretToRegions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. // -// Possible causes: +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// * The secret is scheduled for deletion. +// Possible causes: // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - The secret is scheduled for deletion. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // -// * InternalServiceError -// An error occurred on the server side. +// - InvalidParameterException +// The parameter name or value is invalid. +// +// - InternalServiceError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/ReplicateSecretToRegions func (c *SecretsManager) ReplicateSecretToRegions(input *ReplicateSecretToRegionsInput) (*ReplicateSecretToRegionsOutput, error) { @@ -1692,14 +1690,13 @@ const opRestoreSecret = "RestoreSecret" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreSecretRequest method. +// req, resp := client.RestoreSecretRequest(params) // -// // Example sending a request using the RestoreSecretRequest method. -// req, resp := client.RestoreSecretRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/RestoreSecret func (c *SecretsManager) RestoreSecretRequest(input *RestoreSecretInput) (req *request.Request, output *RestoreSecretOutput) { @@ -1735,25 +1732,26 @@ func (c *SecretsManager) RestoreSecretRequest(input *RestoreSecretInput) (req *r // API operation RestoreSecret for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. +// +// - InvalidParameterException +// The parameter name or value is invalid. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// Possible causes: +// Possible causes: // -// * The secret is scheduled for deletion. +// - The secret is scheduled for deletion. // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // -// * InternalServiceError -// An error occurred on the server side. +// - InternalServiceError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/RestoreSecret func (c *SecretsManager) RestoreSecret(input *RestoreSecretInput) (*RestoreSecretOutput, error) { @@ -1793,14 +1791,13 @@ const opRotateSecret = "RotateSecret" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RotateSecretRequest method. +// req, resp := client.RotateSecretRequest(params) // -// // Example sending a request using the RotateSecretRequest method. -// req, resp := client.RotateSecretRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/RotateSecret func (c *SecretsManager) RotateSecretRequest(input *RotateSecretInput) (req *request.Request, output *RotateSecretOutput) { @@ -1869,25 +1866,26 @@ func (c *SecretsManager) RotateSecretRequest(input *RotateSecretInput) (req *req // API operation RotateSecret for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. +// +// - InvalidParameterException +// The parameter name or value is invalid. // -// * InternalServiceError -// An error occurred on the server side. +// - InternalServiceError +// An error occurred on the server side. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// Possible causes: +// Possible causes: // -// * The secret is scheduled for deletion. +// - The secret is scheduled for deletion. // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/RotateSecret func (c *SecretsManager) RotateSecret(input *RotateSecretInput) (*RotateSecretOutput, error) { @@ -1927,14 +1925,13 @@ const opStopReplicationToReplica = "StopReplicationToReplica" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopReplicationToReplicaRequest method. +// req, resp := client.StopReplicationToReplicaRequest(params) // -// // Example sending a request using the StopReplicationToReplicaRequest method. -// req, resp := client.StopReplicationToReplicaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/StopReplicationToReplica func (c *SecretsManager) StopReplicationToReplicaRequest(input *StopReplicationToReplicaInput) (req *request.Request, output *StopReplicationToReplicaOutput) { @@ -1973,25 +1970,26 @@ func (c *SecretsManager) StopReplicationToReplicaRequest(input *StopReplicationT // API operation StopReplicationToReplica for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. // -// Possible causes: +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// * The secret is scheduled for deletion. +// Possible causes: // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - The secret is scheduled for deletion. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // -// * InternalServiceError -// An error occurred on the server side. +// - InvalidParameterException +// The parameter name or value is invalid. +// +// - InternalServiceError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/StopReplicationToReplica func (c *SecretsManager) StopReplicationToReplica(input *StopReplicationToReplicaInput) (*StopReplicationToReplicaOutput, error) { @@ -2031,14 +2029,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/TagResource func (c *SecretsManager) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2066,23 +2063,23 @@ func (c *SecretsManager) TagResourceRequest(input *TagResourceInput) (req *reque // // The following restrictions apply to tags: // -// * Maximum number of tags per secret: 50 +// - Maximum number of tags per secret: 50 // -// * Maximum key length: 127 Unicode characters in UTF-8 +// - Maximum key length: 127 Unicode characters in UTF-8 // -// * Maximum value length: 255 Unicode characters in UTF-8 +// - Maximum value length: 255 Unicode characters in UTF-8 // -// * Tag keys and values are case sensitive. +// - Tag keys and values are case sensitive. // -// * Do not use the aws: prefix in your tag names or values because Amazon -// Web Services reserves it for Amazon Web Services use. You can't edit or -// delete tag names or values with this prefix. Tags with this prefix do -// not count against your tags per secret limit. +// - Do not use the aws: prefix in your tag names or values because Amazon +// Web Services reserves it for Amazon Web Services use. You can't edit or +// delete tag names or values with this prefix. Tags with this prefix do +// not count against your tags per secret limit. // -// * If you use your tagging schema across multiple services and resources, -// other services might have restrictions on allowed characters. Generally -// allowed characters: letters, spaces, and numbers representable in UTF-8, -// plus the following special characters: + - = . _ : / @. +// - If you use your tagging schema across multiple services and resources, +// other services might have restrictions on allowed characters. Generally +// allowed characters: letters, spaces, and numbers representable in UTF-8, +// plus the following special characters: + - = . _ : / @. // // If you use tags as part of your security strategy, then adding or removing // a tag can change permissions. If successfully completing this operation would @@ -2101,25 +2098,26 @@ func (c *SecretsManager) TagResourceRequest(input *TagResourceInput) (req *reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. +// +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// Possible causes: +// Possible causes: // -// * The secret is scheduled for deletion. +// - The secret is scheduled for deletion. // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - InvalidParameterException +// The parameter name or value is invalid. // -// * InternalServiceError -// An error occurred on the server side. +// - InternalServiceError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/TagResource func (c *SecretsManager) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2159,14 +2157,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/UntagResource func (c *SecretsManager) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2210,25 +2207,26 @@ func (c *SecretsManager) UntagResourceRequest(input *UntagResourceInput) (req *r // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. +// +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// Possible causes: +// Possible causes: // -// * The secret is scheduled for deletion. +// - The secret is scheduled for deletion. // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - InvalidParameterException +// The parameter name or value is invalid. // -// * InternalServiceError -// An error occurred on the server side. +// - InternalServiceError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/UntagResource func (c *SecretsManager) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2268,14 +2266,13 @@ const opUpdateSecret = "UpdateSecret" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSecretRequest method. +// req, resp := client.UpdateSecretRequest(params) // -// // Example sending a request using the UpdateSecretRequest method. -// req, resp := client.UpdateSecretRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/UpdateSecret func (c *SecretsManager) UpdateSecretRequest(input *UpdateSecretInput) (req *request.Request, output *UpdateSecretOutput) { @@ -2344,46 +2341,47 @@ func (c *SecretsManager) UpdateSecretRequest(input *UpdateSecretInput) (req *req // API operation UpdateSecret for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// The parameter name or value is invalid. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - InvalidParameterException +// The parameter name or value is invalid. // -// Possible causes: +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// * The secret is scheduled for deletion. +// Possible causes: // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - The secret is scheduled for deletion. // -// * LimitExceededException -// The request failed because it would exceed one of the Secrets Manager quotas. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // -// * EncryptionFailure -// Secrets Manager can't encrypt the protected secret text using the provided -// KMS key. Check that the KMS key is available, enabled, and not in an invalid -// state. For more information, see Key state: Effect on your KMS key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html). +// - LimitExceededException +// The request failed because it would exceed one of the Secrets Manager quotas. // -// * ResourceExistsException -// A resource with the ID you requested already exists. +// - EncryptionFailure +// Secrets Manager can't encrypt the protected secret text using the provided +// KMS key. Check that the KMS key is available, enabled, and not in an invalid +// state. For more information, see Key state: Effect on your KMS key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html). // -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. +// - ResourceExistsException +// A resource with the ID you requested already exists. // -// * MalformedPolicyDocumentException -// The resource policy has syntax errors. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. // -// * InternalServiceError -// An error occurred on the server side. +// - MalformedPolicyDocumentException +// The resource policy has syntax errors. // -// * PreconditionNotMetException -// The request failed because you did not complete all the prerequisite steps. +// - InternalServiceError +// An error occurred on the server side. // -// * DecryptionFailure -// Secrets Manager can't decrypt the protected secret text using the provided -// KMS key. +// - PreconditionNotMetException +// The request failed because you did not complete all the prerequisite steps. +// +// - DecryptionFailure +// Secrets Manager can't decrypt the protected secret text using the provided +// KMS key. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/UpdateSecret func (c *SecretsManager) UpdateSecret(input *UpdateSecretInput) (*UpdateSecretOutput, error) { @@ -2423,14 +2421,13 @@ const opUpdateSecretVersionStage = "UpdateSecretVersionStage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSecretVersionStageRequest method. +// req, resp := client.UpdateSecretVersionStageRequest(params) // -// // Example sending a request using the UpdateSecretVersionStageRequest method. -// req, resp := client.UpdateSecretVersionStageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/UpdateSecretVersionStage func (c *SecretsManager) UpdateSecretVersionStageRequest(input *UpdateSecretVersionStageInput) (req *request.Request, output *UpdateSecretVersionStageOutput) { @@ -2484,28 +2481,29 @@ func (c *SecretsManager) UpdateSecretVersionStageRequest(input *UpdateSecretVers // API operation UpdateSecretVersionStage for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. +// +// - InvalidParameterException +// The parameter name or value is invalid. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// Possible causes: +// Possible causes: // -// * The secret is scheduled for deletion. +// - The secret is scheduled for deletion. // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // -// * LimitExceededException -// The request failed because it would exceed one of the Secrets Manager quotas. +// - LimitExceededException +// The request failed because it would exceed one of the Secrets Manager quotas. // -// * InternalServiceError -// An error occurred on the server side. +// - InternalServiceError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/UpdateSecretVersionStage func (c *SecretsManager) UpdateSecretVersionStage(input *UpdateSecretVersionStageInput) (*UpdateSecretVersionStageOutput, error) { @@ -2545,14 +2543,13 @@ const opValidateResourcePolicy = "ValidateResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ValidateResourcePolicyRequest method. +// req, resp := client.ValidateResourcePolicyRequest(params) // -// // Example sending a request using the ValidateResourcePolicyRequest method. -// req, resp := client.ValidateResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/ValidateResourcePolicy func (c *SecretsManager) ValidateResourcePolicyRequest(input *ValidateResourcePolicyInput) (req *request.Request, output *ValidateResourcePolicyOutput) { @@ -2578,14 +2575,14 @@ func (c *SecretsManager) ValidateResourcePolicyRequest(input *ValidateResourcePo // // The API performs three checks when validating the policy: // -// * Sends a call to Zelkova (https://aws.amazon.com/blogs/security/protect-sensitive-data-in-the-cloud-with-automated-reasoning-zelkova/), -// an automated reasoning engine, to ensure your resource policy does not -// allow broad access to your secret, for example policies that use a wildcard -// for the principal. +// - Sends a call to Zelkova (https://aws.amazon.com/blogs/security/protect-sensitive-data-in-the-cloud-with-automated-reasoning-zelkova/), +// an automated reasoning engine, to ensure your resource policy does not +// allow broad access to your secret, for example policies that use a wildcard +// for the principal. // -// * Checks for correct syntax in a policy. +// - Checks for correct syntax in a policy. // -// * Verifies the policy does not lock out a caller. +// - Verifies the policy does not lock out a caller. // // Required permissions: secretsmanager:ValidateResourcePolicy. For more information, // see IAM policy actions for Secrets Manager (https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions) @@ -2599,28 +2596,29 @@ func (c *SecretsManager) ValidateResourcePolicyRequest(input *ValidateResourcePo // API operation ValidateResourcePolicy for usage and error information. // // Returned Error Types: -// * MalformedPolicyDocumentException -// The resource policy has syntax errors. // -// * ResourceNotFoundException -// Secrets Manager can't find the resource that you asked for. +// - MalformedPolicyDocumentException +// The resource policy has syntax errors. +// +// - ResourceNotFoundException +// Secrets Manager can't find the resource that you asked for. // -// * InvalidParameterException -// The parameter name or value is invalid. +// - InvalidParameterException +// The parameter name or value is invalid. // -// * InternalServiceError -// An error occurred on the server side. +// - InternalServiceError +// An error occurred on the server side. // -// * InvalidRequestException -// A parameter value is not valid for the current state of the resource. +// - InvalidRequestException +// A parameter value is not valid for the current state of the resource. // -// Possible causes: +// Possible causes: // -// * The secret is scheduled for deletion. +// - The secret is scheduled for deletion. // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. // // See also, https://docs.aws.amazon.com/goto/WebAPI/secretsmanager-2017-10-17/ValidateResourcePolicy func (c *SecretsManager) ValidateResourcePolicy(input *ValidateResourcePolicyInput) (*ValidateResourcePolicyOutput, error) { @@ -4429,11 +4427,11 @@ func (s *InvalidParameterException) RequestID() string { // // Possible causes: // -// * The secret is scheduled for deletion. +// - The secret is scheduled for deletion. // -// * You tried to enable rotation on a secret that doesn't already have a -// Lambda function ARN configured and you didn't include such an ARN as a -// parameter in this call. +// - You tried to enable rotation on a secret that doesn't already have a +// Lambda function ARN configured and you didn't include such an ARN as a +// parameter in this call. type InvalidRequestException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/doc.go index ced65a617d2e..e4a983867e4b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/doc.go @@ -10,12 +10,12 @@ // about using this service, see the Amazon Web Services Secrets Manager User // Guide (https://docs.aws.amazon.com/secretsmanager/latest/userguide/introduction.html). // -// API Version +// # API Version // // This version of the Secrets Manager API Reference documents the Secrets Manager // API version 2017-10-17. // -// Support and Feedback for Amazon Web Services Secrets Manager +// # Support and Feedback for Amazon Web Services Secrets Manager // // We welcome your feedback. Send your comments to awssecretsmanager-feedback@amazon.com // (mailto:awssecretsmanager-feedback@amazon.com), or post your feedback and @@ -23,7 +23,7 @@ // For more information about the Amazon Web Services Discussion Forums, see // Forums Help (http://forums.aws.amazon.com/help.jspa). // -// Logging API Requests +// # Logging API Requests // // Amazon Web Services Secrets Manager supports Amazon Web Services CloudTrail, // a service that records Amazon Web Services API calls for your Amazon Web @@ -42,7 +42,7 @@ // See secretsmanager package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/secretsmanager/ // -// Using the Client +// # Using the Client // // To contact AWS Secrets Manager with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/secretsmanageriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/secretsmanageriface/interface.go index e6d32e2e0971..49ab110c363b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/secretsmanageriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/secretsmanageriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Secrets Manager. -// func myFunc(svc secretsmanageriface.SecretsManagerAPI) bool { -// // Make svc.CancelRotateSecret request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Secrets Manager. +// func myFunc(svc secretsmanageriface.SecretsManagerAPI) bool { +// // Make svc.CancelRotateSecret request +// } // -// func main() { -// sess := session.New() -// svc := secretsmanager.New(sess) +// func main() { +// sess := session.New() +// svc := secretsmanager.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSecretsManagerClient struct { -// secretsmanageriface.SecretsManagerAPI -// } -// func (m *mockSecretsManagerClient) CancelRotateSecret(input *secretsmanager.CancelRotateSecretInput) (*secretsmanager.CancelRotateSecretOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSecretsManagerClient struct { +// secretsmanageriface.SecretsManagerAPI +// } +// func (m *mockSecretsManagerClient) CancelRotateSecret(input *secretsmanager.CancelRotateSecretInput) (*secretsmanager.CancelRotateSecretOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSecretsManagerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSecretsManagerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/service.go index 464f39e6dd67..493ccc75e7d3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/secretsmanager/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SecretsManager client from just a session. -// svc := secretsmanager.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SecretsManager client with additional configuration -// svc := secretsmanager.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SecretsManager client from just a session. +// svc := secretsmanager.New(mySession) +// +// // Create a SecretsManager client with additional configuration +// svc := secretsmanager.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SecretsManager { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/api.go index c08aaac3ad35..00dd3dafa03b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/api.go @@ -29,14 +29,13 @@ const opAcceptAdministratorInvitation = "AcceptAdministratorInvitation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptAdministratorInvitationRequest method. +// req, resp := client.AcceptAdministratorInvitationRequest(params) // -// // Example sending a request using the AcceptAdministratorInvitationRequest method. -// req, resp := client.AcceptAdministratorInvitationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AcceptAdministratorInvitation func (c *SecurityHub) AcceptAdministratorInvitationRequest(input *AcceptAdministratorInvitationInput) (req *request.Request, output *AcceptAdministratorInvitationOutput) { @@ -75,25 +74,26 @@ func (c *SecurityHub) AcceptAdministratorInvitationRequest(input *AcceptAdminist // API operation AcceptAdministratorInvitation for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AcceptAdministratorInvitation func (c *SecurityHub) AcceptAdministratorInvitation(input *AcceptAdministratorInvitationInput) (*AcceptAdministratorInvitationOutput, error) { @@ -133,14 +133,13 @@ const opAcceptInvitation = "AcceptInvitation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptInvitationRequest method. +// req, resp := client.AcceptInvitationRequest(params) // -// // Example sending a request using the AcceptInvitationRequest method. -// req, resp := client.AcceptInvitationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AcceptInvitation // @@ -193,25 +192,26 @@ func (c *SecurityHub) AcceptInvitationRequest(input *AcceptInvitationInput) (req // API operation AcceptInvitation for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AcceptInvitation // @@ -255,14 +255,13 @@ const opBatchDisableStandards = "BatchDisableStandards" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDisableStandardsRequest method. +// req, resp := client.BatchDisableStandardsRequest(params) // -// // Example sending a request using the BatchDisableStandardsRequest method. -// req, resp := client.BatchDisableStandardsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchDisableStandards func (c *SecurityHub) BatchDisableStandardsRequest(input *BatchDisableStandardsInput) (req *request.Request, output *BatchDisableStandardsOutput) { @@ -296,22 +295,23 @@ func (c *SecurityHub) BatchDisableStandardsRequest(input *BatchDisableStandardsI // API operation BatchDisableStandards for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchDisableStandards func (c *SecurityHub) BatchDisableStandards(input *BatchDisableStandardsInput) (*BatchDisableStandardsOutput, error) { @@ -351,14 +351,13 @@ const opBatchEnableStandards = "BatchEnableStandards" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchEnableStandardsRequest method. +// req, resp := client.BatchEnableStandardsRequest(params) // -// // Example sending a request using the BatchEnableStandardsRequest method. -// req, resp := client.BatchEnableStandardsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchEnableStandards func (c *SecurityHub) BatchEnableStandardsRequest(input *BatchEnableStandardsInput) (req *request.Request, output *BatchEnableStandardsOutput) { @@ -393,22 +392,23 @@ func (c *SecurityHub) BatchEnableStandardsRequest(input *BatchEnableStandardsInp // API operation BatchEnableStandards for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchEnableStandards func (c *SecurityHub) BatchEnableStandards(input *BatchEnableStandardsInput) (*BatchEnableStandardsOutput, error) { @@ -448,14 +448,13 @@ const opBatchImportFindings = "BatchImportFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchImportFindingsRequest method. +// req, resp := client.BatchImportFindingsRequest(params) // -// // Example sending a request using the BatchImportFindingsRequest method. -// req, resp := client.BatchImportFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchImportFindings func (c *SecurityHub) BatchImportFindingsRequest(input *BatchImportFindingsInput) (req *request.Request, output *BatchImportFindingsOutput) { @@ -482,17 +481,17 @@ func (c *SecurityHub) BatchImportFindingsRequest(input *BatchImportFindingsInput // // BatchImportFindings must be called by one of the following: // -// * The Amazon Web Services account that is associated with a finding if -// you are using the default product ARN (https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-custom-providers.html#securityhub-custom-providers-bfi-reqs) -// or are a partner sending findings from within a customer's Amazon Web -// Services account. In these cases, the identifier of the account that you -// are calling BatchImportFindings from needs to be the same as the AwsAccountId -// attribute for the finding. +// - The Amazon Web Services account that is associated with a finding if +// you are using the default product ARN (https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-custom-providers.html#securityhub-custom-providers-bfi-reqs) +// or are a partner sending findings from within a customer's Amazon Web +// Services account. In these cases, the identifier of the account that you +// are calling BatchImportFindings from needs to be the same as the AwsAccountId +// attribute for the finding. // -// * An Amazon Web Services account that Security Hub has allow-listed for -// an official partner integration. In this case, you can call BatchImportFindings -// from the allow-listed account and send findings from different customer -// accounts in the same batch. +// - An Amazon Web Services account that Security Hub has allow-listed for +// an official partner integration. In this case, you can call BatchImportFindings +// from the allow-listed account and send findings from different customer +// accounts in the same batch. // // The maximum allowed size for a finding is 240 Kb. An error is returned for // any finding larger than 240 Kb. @@ -501,26 +500,26 @@ func (c *SecurityHub) BatchImportFindingsRequest(input *BatchImportFindingsInput // the following finding fields and objects, which Security Hub customers use // to manage their investigation workflow. // -// * Note +// - Note // -// * UserDefinedFields +// - UserDefinedFields // -// * VerificationState +// - VerificationState // -// * Workflow +// - Workflow // // Finding providers also should not use BatchImportFindings to update the following // attributes. // -// * Confidence +// - Confidence // -// * Criticality +// - Criticality // -// * RelatedFindings +// - RelatedFindings // -// * Severity +// - Severity // -// * Types +// - Types // // Instead, finding providers use FindingProviderFields to provide values for // these attributes. @@ -533,22 +532,23 @@ func (c *SecurityHub) BatchImportFindingsRequest(input *BatchImportFindingsInput // API operation BatchImportFindings for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchImportFindings func (c *SecurityHub) BatchImportFindings(input *BatchImportFindingsInput) (*BatchImportFindingsOutput, error) { @@ -588,14 +588,13 @@ const opBatchUpdateFindings = "BatchUpdateFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchUpdateFindingsRequest method. +// req, resp := client.BatchUpdateFindingsRequest(params) // -// // Example sending a request using the BatchUpdateFindingsRequest method. -// req, resp := client.BatchUpdateFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchUpdateFindings func (c *SecurityHub) BatchUpdateFindingsRequest(input *BatchUpdateFindingsInput) (req *request.Request, output *BatchUpdateFindingsOutput) { @@ -627,23 +626,23 @@ func (c *SecurityHub) BatchUpdateFindingsRequest(input *BatchUpdateFindingsInput // Administrator and member accounts can use BatchUpdateFindings to update the // following finding fields and objects. // -// * Confidence +// - Confidence // -// * Criticality +// - Criticality // -// * Note +// - Note // -// * RelatedFindings +// - RelatedFindings // -// * Severity +// - Severity // -// * Types +// - Types // -// * UserDefinedFields +// - UserDefinedFields // -// * VerificationState +// - VerificationState // -// * Workflow +// - Workflow // // You can configure IAM policies to restrict access to fields and field values. // For example, you might not want member accounts to be able to suppress findings @@ -659,22 +658,23 @@ func (c *SecurityHub) BatchUpdateFindingsRequest(input *BatchUpdateFindingsInput // API operation BatchUpdateFindings for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchUpdateFindings func (c *SecurityHub) BatchUpdateFindings(input *BatchUpdateFindingsInput) (*BatchUpdateFindingsOutput, error) { @@ -714,14 +714,13 @@ const opCreateActionTarget = "CreateActionTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateActionTargetRequest method. +// req, resp := client.CreateActionTargetRequest(params) // -// // Example sending a request using the CreateActionTargetRequest method. -// req, resp := client.CreateActionTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateActionTarget func (c *SecurityHub) CreateActionTargetRequest(input *CreateActionTargetInput) (req *request.Request, output *CreateActionTargetOutput) { @@ -755,25 +754,26 @@ func (c *SecurityHub) CreateActionTargetRequest(input *CreateActionTargetInput) // API operation CreateActionTarget for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * ResourceConflictException -// The resource specified in the request conflicts with an existing resource. +// - ResourceConflictException +// The resource specified in the request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateActionTarget func (c *SecurityHub) CreateActionTarget(input *CreateActionTargetInput) (*CreateActionTargetOutput, error) { @@ -813,14 +813,13 @@ const opCreateFindingAggregator = "CreateFindingAggregator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFindingAggregatorRequest method. +// req, resp := client.CreateFindingAggregatorRequest(params) // -// // Example sending a request using the CreateFindingAggregatorRequest method. -// req, resp := client.CreateFindingAggregatorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateFindingAggregator func (c *SecurityHub) CreateFindingAggregatorRequest(input *CreateFindingAggregatorInput) (req *request.Request, output *CreateFindingAggregatorOutput) { @@ -855,25 +854,26 @@ func (c *SecurityHub) CreateFindingAggregatorRequest(input *CreateFindingAggrega // API operation CreateFindingAggregator for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InternalException +// Internal server error. +// +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * AccessDeniedException -// You don't have permission to perform the action specified in the request. +// - AccessDeniedException +// You don't have permission to perform the action specified in the request. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateFindingAggregator func (c *SecurityHub) CreateFindingAggregator(input *CreateFindingAggregatorInput) (*CreateFindingAggregatorOutput, error) { @@ -913,14 +913,13 @@ const opCreateInsight = "CreateInsight" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInsightRequest method. +// req, resp := client.CreateInsightRequest(params) // -// // Example sending a request using the CreateInsightRequest method. -// req, resp := client.CreateInsightRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateInsight func (c *SecurityHub) CreateInsightRequest(input *CreateInsightInput) (req *request.Request, output *CreateInsightOutput) { @@ -954,25 +953,26 @@ func (c *SecurityHub) CreateInsightRequest(input *CreateInsightInput) (req *requ // API operation CreateInsight for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceConflictException -// The resource specified in the request conflicts with an existing resource. +// - ResourceConflictException +// The resource specified in the request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateInsight func (c *SecurityHub) CreateInsight(input *CreateInsightInput) (*CreateInsightOutput, error) { @@ -1012,14 +1012,13 @@ const opCreateMembers = "CreateMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMembersRequest method. +// req, resp := client.CreateMembersRequest(params) // -// // Example sending a request using the CreateMembersRequest method. -// req, resp := client.CreateMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateMembers func (c *SecurityHub) CreateMembersRequest(input *CreateMembersInput) (req *request.Request, output *CreateMembersOutput) { @@ -1050,10 +1049,10 @@ func (c *SecurityHub) CreateMembersRequest(input *CreateMembersInput) (req *requ // For accounts that are managed using Organizations, CreateMembers is only // used in the following cases: // -// * Security Hub is not configured to automatically add new organization -// accounts. +// - Security Hub is not configured to automatically add new organization +// accounts. // -// * The account was disassociated or deleted in Security Hub. +// - The account was disassociated or deleted in Security Hub. // // This action can only be used by an account that has Security Hub enabled. // To enable Security Hub, you can use the EnableSecurityHub operation. @@ -1066,15 +1065,15 @@ func (c *SecurityHub) CreateMembersRequest(input *CreateMembersInput) (req *requ // Accounts that are managed using Organizations do not receive an invitation. // They automatically become a member account in Security Hub. // -// * If the organization account does not have Security Hub enabled, then -// Security Hub and the default standards are automatically enabled. Note -// that Security Hub cannot be enabled automatically for the organization -// management account. The organization management account must enable Security -// Hub before the administrator account enables it as a member account. +// - If the organization account does not have Security Hub enabled, then +// Security Hub and the default standards are automatically enabled. Note +// that Security Hub cannot be enabled automatically for the organization +// management account. The organization management account must enable Security +// Hub before the administrator account enables it as a member account. // -// * For organization accounts that already have Security Hub enabled, Security -// Hub does not make any other changes to those accounts. It does not change -// their enabled standards or controls. +// - For organization accounts that already have Security Hub enabled, Security +// Hub does not make any other changes to those accounts. It does not change +// their enabled standards or controls. // // A permissions policy is added that permits the administrator account to view // the findings generated in the member account. @@ -1090,25 +1089,26 @@ func (c *SecurityHub) CreateMembersRequest(input *CreateMembersInput) (req *requ // API operation CreateMembers for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceConflictException -// The resource specified in the request conflicts with an existing resource. +// - ResourceConflictException +// The resource specified in the request conflicts with an existing resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateMembers func (c *SecurityHub) CreateMembers(input *CreateMembersInput) (*CreateMembersOutput, error) { @@ -1148,14 +1148,13 @@ const opDeclineInvitations = "DeclineInvitations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeclineInvitationsRequest method. +// req, resp := client.DeclineInvitationsRequest(params) // -// // Example sending a request using the DeclineInvitationsRequest method. -// req, resp := client.DeclineInvitationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeclineInvitations func (c *SecurityHub) DeclineInvitationsRequest(input *DeclineInvitationsInput) (req *request.Request, output *DeclineInvitationsOutput) { @@ -1189,20 +1188,21 @@ func (c *SecurityHub) DeclineInvitationsRequest(input *DeclineInvitationsInput) // API operation DeclineInvitations for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeclineInvitations func (c *SecurityHub) DeclineInvitations(input *DeclineInvitationsInput) (*DeclineInvitationsOutput, error) { @@ -1242,14 +1242,13 @@ const opDeleteActionTarget = "DeleteActionTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteActionTargetRequest method. +// req, resp := client.DeleteActionTargetRequest(params) // -// // Example sending a request using the DeleteActionTargetRequest method. -// req, resp := client.DeleteActionTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteActionTarget func (c *SecurityHub) DeleteActionTargetRequest(input *DeleteActionTargetInput) (req *request.Request, output *DeleteActionTargetOutput) { @@ -1283,20 +1282,21 @@ func (c *SecurityHub) DeleteActionTargetRequest(input *DeleteActionTargetInput) // API operation DeleteActionTarget for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteActionTarget func (c *SecurityHub) DeleteActionTarget(input *DeleteActionTargetInput) (*DeleteActionTargetOutput, error) { @@ -1336,14 +1336,13 @@ const opDeleteFindingAggregator = "DeleteFindingAggregator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFindingAggregatorRequest method. +// req, resp := client.DeleteFindingAggregatorRequest(params) // -// // Example sending a request using the DeleteFindingAggregatorRequest method. -// req, resp := client.DeleteFindingAggregatorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteFindingAggregator func (c *SecurityHub) DeleteFindingAggregatorRequest(input *DeleteFindingAggregatorInput) (req *request.Request, output *DeleteFindingAggregatorOutput) { @@ -1380,28 +1379,29 @@ func (c *SecurityHub) DeleteFindingAggregatorRequest(input *DeleteFindingAggrega // API operation DeleteFindingAggregator for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InternalException +// Internal server error. +// +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * AccessDeniedException -// You don't have permission to perform the action specified in the request. +// - AccessDeniedException +// You don't have permission to perform the action specified in the request. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteFindingAggregator func (c *SecurityHub) DeleteFindingAggregator(input *DeleteFindingAggregatorInput) (*DeleteFindingAggregatorOutput, error) { @@ -1441,14 +1441,13 @@ const opDeleteInsight = "DeleteInsight" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInsightRequest method. +// req, resp := client.DeleteInsightRequest(params) // -// // Example sending a request using the DeleteInsightRequest method. -// req, resp := client.DeleteInsightRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInsight func (c *SecurityHub) DeleteInsightRequest(input *DeleteInsightInput) (req *request.Request, output *DeleteInsightOutput) { @@ -1479,25 +1478,26 @@ func (c *SecurityHub) DeleteInsightRequest(input *DeleteInsightInput) (req *requ // API operation DeleteInsight for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInsight func (c *SecurityHub) DeleteInsight(input *DeleteInsightInput) (*DeleteInsightOutput, error) { @@ -1537,14 +1537,13 @@ const opDeleteInvitations = "DeleteInvitations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInvitationsRequest method. +// req, resp := client.DeleteInvitationsRequest(params) // -// // Example sending a request using the DeleteInvitationsRequest method. -// req, resp := client.DeleteInvitationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInvitations func (c *SecurityHub) DeleteInvitationsRequest(input *DeleteInvitationsInput) (req *request.Request, output *DeleteInvitationsOutput) { @@ -1579,25 +1578,26 @@ func (c *SecurityHub) DeleteInvitationsRequest(input *DeleteInvitationsInput) (r // API operation DeleteInvitations for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInvitations func (c *SecurityHub) DeleteInvitations(input *DeleteInvitationsInput) (*DeleteInvitationsOutput, error) { @@ -1637,14 +1637,13 @@ const opDeleteMembers = "DeleteMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMembersRequest method. +// req, resp := client.DeleteMembersRequest(params) // -// // Example sending a request using the DeleteMembersRequest method. -// req, resp := client.DeleteMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteMembers func (c *SecurityHub) DeleteMembersRequest(input *DeleteMembersInput) (req *request.Request, output *DeleteMembersOutput) { @@ -1678,25 +1677,26 @@ func (c *SecurityHub) DeleteMembersRequest(input *DeleteMembersInput) (req *requ // API operation DeleteMembers for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteMembers func (c *SecurityHub) DeleteMembers(input *DeleteMembersInput) (*DeleteMembersOutput, error) { @@ -1736,14 +1736,13 @@ const opDescribeActionTargets = "DescribeActionTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeActionTargetsRequest method. +// req, resp := client.DescribeActionTargetsRequest(params) // -// // Example sending a request using the DescribeActionTargetsRequest method. -// req, resp := client.DescribeActionTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeActionTargets func (c *SecurityHub) DescribeActionTargetsRequest(input *DescribeActionTargetsInput) (req *request.Request, output *DescribeActionTargetsOutput) { @@ -1780,20 +1779,21 @@ func (c *SecurityHub) DescribeActionTargetsRequest(input *DescribeActionTargetsI // API operation DescribeActionTargets for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeActionTargets func (c *SecurityHub) DescribeActionTargets(input *DescribeActionTargetsInput) (*DescribeActionTargetsOutput, error) { @@ -1825,15 +1825,14 @@ func (c *SecurityHub) DescribeActionTargetsWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeActionTargets operation. -// pageNum := 0 -// err := client.DescribeActionTargetsPages(params, -// func(page *securityhub.DescribeActionTargetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeActionTargets operation. +// pageNum := 0 +// err := client.DescribeActionTargetsPages(params, +// func(page *securityhub.DescribeActionTargetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SecurityHub) DescribeActionTargetsPages(input *DescribeActionTargetsInput, fn func(*DescribeActionTargetsOutput, bool) bool) error { return c.DescribeActionTargetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1885,14 +1884,13 @@ const opDescribeHub = "DescribeHub" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeHubRequest method. +// req, resp := client.DescribeHubRequest(params) // -// // Example sending a request using the DescribeHubRequest method. -// req, resp := client.DescribeHubRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeHub func (c *SecurityHub) DescribeHubRequest(input *DescribeHubInput) (req *request.Request, output *DescribeHubOutput) { @@ -1924,25 +1922,26 @@ func (c *SecurityHub) DescribeHubRequest(input *DescribeHubInput) (req *request. // API operation DescribeHub for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InternalException +// Internal server error. +// +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeHub func (c *SecurityHub) DescribeHub(input *DescribeHubInput) (*DescribeHubOutput, error) { @@ -1982,14 +1981,13 @@ const opDescribeOrganizationConfiguration = "DescribeOrganizationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrganizationConfigurationRequest method. +// req, resp := client.DescribeOrganizationConfigurationRequest(params) // -// // Example sending a request using the DescribeOrganizationConfigurationRequest method. -// req, resp := client.DescribeOrganizationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeOrganizationConfiguration func (c *SecurityHub) DescribeOrganizationConfigurationRequest(input *DescribeOrganizationConfigurationInput) (req *request.Request, output *DescribeOrganizationConfigurationOutput) { @@ -2021,22 +2019,23 @@ func (c *SecurityHub) DescribeOrganizationConfigurationRequest(input *DescribeOr // API operation DescribeOrganizationConfiguration for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeOrganizationConfiguration func (c *SecurityHub) DescribeOrganizationConfiguration(input *DescribeOrganizationConfigurationInput) (*DescribeOrganizationConfigurationOutput, error) { @@ -2076,14 +2075,13 @@ const opDescribeProducts = "DescribeProducts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProductsRequest method. +// req, resp := client.DescribeProductsRequest(params) // -// // Example sending a request using the DescribeProductsRequest method. -// req, resp := client.DescribeProductsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeProducts func (c *SecurityHub) DescribeProductsRequest(input *DescribeProductsInput) (req *request.Request, output *DescribeProductsOutput) { @@ -2126,22 +2124,23 @@ func (c *SecurityHub) DescribeProductsRequest(input *DescribeProductsInput) (req // API operation DescribeProducts for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InternalException +// Internal server error. +// +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeProducts func (c *SecurityHub) DescribeProducts(input *DescribeProductsInput) (*DescribeProductsOutput, error) { @@ -2173,15 +2172,14 @@ func (c *SecurityHub) DescribeProductsWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeProducts operation. -// pageNum := 0 -// err := client.DescribeProductsPages(params, -// func(page *securityhub.DescribeProductsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeProducts operation. +// pageNum := 0 +// err := client.DescribeProductsPages(params, +// func(page *securityhub.DescribeProductsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SecurityHub) DescribeProductsPages(input *DescribeProductsInput, fn func(*DescribeProductsOutput, bool) bool) error { return c.DescribeProductsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2233,14 +2231,13 @@ const opDescribeStandards = "DescribeStandards" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStandardsRequest method. +// req, resp := client.DescribeStandardsRequest(params) // -// // Example sending a request using the DescribeStandardsRequest method. -// req, resp := client.DescribeStandardsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeStandards func (c *SecurityHub) DescribeStandardsRequest(input *DescribeStandardsInput) (req *request.Request, output *DescribeStandardsOutput) { @@ -2280,17 +2277,18 @@ func (c *SecurityHub) DescribeStandardsRequest(input *DescribeStandardsInput) (r // API operation DescribeStandards for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. +// +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeStandards func (c *SecurityHub) DescribeStandards(input *DescribeStandardsInput) (*DescribeStandardsOutput, error) { @@ -2322,15 +2320,14 @@ func (c *SecurityHub) DescribeStandardsWithContext(ctx aws.Context, input *Descr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeStandards operation. -// pageNum := 0 -// err := client.DescribeStandardsPages(params, -// func(page *securityhub.DescribeStandardsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeStandards operation. +// pageNum := 0 +// err := client.DescribeStandardsPages(params, +// func(page *securityhub.DescribeStandardsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SecurityHub) DescribeStandardsPages(input *DescribeStandardsInput, fn func(*DescribeStandardsOutput, bool) bool) error { return c.DescribeStandardsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2382,14 +2379,13 @@ const opDescribeStandardsControls = "DescribeStandardsControls" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStandardsControlsRequest method. +// req, resp := client.DescribeStandardsControlsRequest(params) // -// // Example sending a request using the DescribeStandardsControlsRequest method. -// req, resp := client.DescribeStandardsControlsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeStandardsControls func (c *SecurityHub) DescribeStandardsControlsRequest(input *DescribeStandardsControlsInput) (req *request.Request, output *DescribeStandardsControlsOutput) { @@ -2429,20 +2425,21 @@ func (c *SecurityHub) DescribeStandardsControlsRequest(input *DescribeStandardsC // API operation DescribeStandardsControls for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeStandardsControls func (c *SecurityHub) DescribeStandardsControls(input *DescribeStandardsControlsInput) (*DescribeStandardsControlsOutput, error) { @@ -2474,15 +2471,14 @@ func (c *SecurityHub) DescribeStandardsControlsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeStandardsControls operation. -// pageNum := 0 -// err := client.DescribeStandardsControlsPages(params, -// func(page *securityhub.DescribeStandardsControlsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeStandardsControls operation. +// pageNum := 0 +// err := client.DescribeStandardsControlsPages(params, +// func(page *securityhub.DescribeStandardsControlsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SecurityHub) DescribeStandardsControlsPages(input *DescribeStandardsControlsInput, fn func(*DescribeStandardsControlsOutput, bool) bool) error { return c.DescribeStandardsControlsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2534,14 +2530,13 @@ const opDisableImportFindingsForProduct = "DisableImportFindingsForProduct" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableImportFindingsForProductRequest method. +// req, resp := client.DisableImportFindingsForProductRequest(params) // -// // Example sending a request using the DisableImportFindingsForProductRequest method. -// req, resp := client.DisableImportFindingsForProductRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableImportFindingsForProduct func (c *SecurityHub) DisableImportFindingsForProductRequest(input *DisableImportFindingsForProductInput) (req *request.Request, output *DisableImportFindingsForProductOutput) { @@ -2575,25 +2570,26 @@ func (c *SecurityHub) DisableImportFindingsForProductRequest(input *DisableImpor // API operation DisableImportFindingsForProduct for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. +// +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableImportFindingsForProduct func (c *SecurityHub) DisableImportFindingsForProduct(input *DisableImportFindingsForProductInput) (*DisableImportFindingsForProductOutput, error) { @@ -2633,14 +2629,13 @@ const opDisableOrganizationAdminAccount = "DisableOrganizationAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableOrganizationAdminAccountRequest method. +// req, resp := client.DisableOrganizationAdminAccountRequest(params) // -// // Example sending a request using the DisableOrganizationAdminAccountRequest method. -// req, resp := client.DisableOrganizationAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableOrganizationAdminAccount func (c *SecurityHub) DisableOrganizationAdminAccountRequest(input *DisableOrganizationAdminAccountInput) (req *request.Request, output *DisableOrganizationAdminAccountOutput) { @@ -2673,22 +2668,23 @@ func (c *SecurityHub) DisableOrganizationAdminAccountRequest(input *DisableOrgan // API operation DisableOrganizationAdminAccount for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. +// +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableOrganizationAdminAccount func (c *SecurityHub) DisableOrganizationAdminAccount(input *DisableOrganizationAdminAccountInput) (*DisableOrganizationAdminAccountOutput, error) { @@ -2728,14 +2724,13 @@ const opDisableSecurityHub = "DisableSecurityHub" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableSecurityHubRequest method. +// req, resp := client.DisableSecurityHubRequest(params) // -// // Example sending a request using the DisableSecurityHubRequest method. -// req, resp := client.DisableSecurityHubRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableSecurityHub func (c *SecurityHub) DisableSecurityHubRequest(input *DisableSecurityHubInput) (req *request.Request, output *DisableSecurityHubOutput) { @@ -2780,21 +2775,22 @@ func (c *SecurityHub) DisableSecurityHubRequest(input *DisableSecurityHubInput) // API operation DisableSecurityHub for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableSecurityHub func (c *SecurityHub) DisableSecurityHub(input *DisableSecurityHubInput) (*DisableSecurityHubOutput, error) { @@ -2834,14 +2830,13 @@ const opDisassociateFromAdministratorAccount = "DisassociateFromAdministratorAcc // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateFromAdministratorAccountRequest method. +// req, resp := client.DisassociateFromAdministratorAccountRequest(params) // -// // Example sending a request using the DisassociateFromAdministratorAccountRequest method. -// req, resp := client.DisassociateFromAdministratorAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateFromAdministratorAccount func (c *SecurityHub) DisassociateFromAdministratorAccountRequest(input *DisassociateFromAdministratorAccountInput) (req *request.Request, output *DisassociateFromAdministratorAccountOutput) { @@ -2878,25 +2873,26 @@ func (c *SecurityHub) DisassociateFromAdministratorAccountRequest(input *Disasso // API operation DisassociateFromAdministratorAccount for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateFromAdministratorAccount func (c *SecurityHub) DisassociateFromAdministratorAccount(input *DisassociateFromAdministratorAccountInput) (*DisassociateFromAdministratorAccountOutput, error) { @@ -2936,14 +2932,13 @@ const opDisassociateFromMasterAccount = "DisassociateFromMasterAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateFromMasterAccountRequest method. +// req, resp := client.DisassociateFromMasterAccountRequest(params) // -// // Example sending a request using the DisassociateFromMasterAccountRequest method. -// req, resp := client.DisassociateFromMasterAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateFromMasterAccount // @@ -2994,25 +2989,26 @@ func (c *SecurityHub) DisassociateFromMasterAccountRequest(input *DisassociateFr // API operation DisassociateFromMasterAccount for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateFromMasterAccount // @@ -3056,14 +3052,13 @@ const opDisassociateMembers = "DisassociateMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateMembersRequest method. +// req, resp := client.DisassociateMembersRequest(params) // -// // Example sending a request using the DisassociateMembersRequest method. -// req, resp := client.DisassociateMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateMembers func (c *SecurityHub) DisassociateMembersRequest(input *DisassociateMembersInput) (req *request.Request, output *DisassociateMembersOutput) { @@ -3099,25 +3094,26 @@ func (c *SecurityHub) DisassociateMembersRequest(input *DisassociateMembersInput // API operation DisassociateMembers for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateMembers func (c *SecurityHub) DisassociateMembers(input *DisassociateMembersInput) (*DisassociateMembersOutput, error) { @@ -3157,14 +3153,13 @@ const opEnableImportFindingsForProduct = "EnableImportFindingsForProduct" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableImportFindingsForProductRequest method. +// req, resp := client.EnableImportFindingsForProductRequest(params) // -// // Example sending a request using the EnableImportFindingsForProductRequest method. -// req, resp := client.EnableImportFindingsForProductRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableImportFindingsForProduct func (c *SecurityHub) EnableImportFindingsForProductRequest(input *EnableImportFindingsForProductInput) (req *request.Request, output *EnableImportFindingsForProductOutput) { @@ -3199,25 +3194,26 @@ func (c *SecurityHub) EnableImportFindingsForProductRequest(input *EnableImportF // API operation EnableImportFindingsForProduct for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceConflictException -// The resource specified in the request conflicts with an existing resource. +// - ResourceConflictException +// The resource specified in the request conflicts with an existing resource. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableImportFindingsForProduct func (c *SecurityHub) EnableImportFindingsForProduct(input *EnableImportFindingsForProductInput) (*EnableImportFindingsForProductOutput, error) { @@ -3257,14 +3253,13 @@ const opEnableOrganizationAdminAccount = "EnableOrganizationAdminAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableOrganizationAdminAccountRequest method. +// req, resp := client.EnableOrganizationAdminAccountRequest(params) // -// // Example sending a request using the EnableOrganizationAdminAccountRequest method. -// req, resp := client.EnableOrganizationAdminAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableOrganizationAdminAccount func (c *SecurityHub) EnableOrganizationAdminAccountRequest(input *EnableOrganizationAdminAccountInput) (req *request.Request, output *EnableOrganizationAdminAccountOutput) { @@ -3297,22 +3292,23 @@ func (c *SecurityHub) EnableOrganizationAdminAccountRequest(input *EnableOrganiz // API operation EnableOrganizationAdminAccount for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableOrganizationAdminAccount func (c *SecurityHub) EnableOrganizationAdminAccount(input *EnableOrganizationAdminAccountInput) (*EnableOrganizationAdminAccountOutput, error) { @@ -3352,14 +3348,13 @@ const opEnableSecurityHub = "EnableSecurityHub" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableSecurityHubRequest method. +// req, resp := client.EnableSecurityHubRequest(params) // -// // Example sending a request using the EnableSecurityHubRequest method. -// req, resp := client.EnableSecurityHubRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableSecurityHub func (c *SecurityHub) EnableSecurityHubRequest(input *EnableSecurityHubInput) (req *request.Request, output *EnableSecurityHubOutput) { @@ -3391,9 +3386,9 @@ func (c *SecurityHub) EnableSecurityHubRequest(input *EnableSecurityHubInput) (r // When you use the EnableSecurityHub operation to enable Security Hub, you // also automatically enable the following standards. // -// * CIS Amazon Web Services Foundations +// - CIS Amazon Web Services Foundations // -// * Amazon Web Services Foundational Security Best Practices +// - Amazon Web Services Foundational Security Best Practices // // You do not enable the Payment Card Industry Data Security Standard (PCI DSS) // standard. @@ -3415,24 +3410,25 @@ func (c *SecurityHub) EnableSecurityHubRequest(input *EnableSecurityHubInput) (r // API operation EnableSecurityHub for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InternalException +// Internal server error. +// +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceConflictException -// The resource specified in the request conflicts with an existing resource. +// - ResourceConflictException +// The resource specified in the request conflicts with an existing resource. // -// * AccessDeniedException -// You don't have permission to perform the action specified in the request. +// - AccessDeniedException +// You don't have permission to perform the action specified in the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableSecurityHub func (c *SecurityHub) EnableSecurityHub(input *EnableSecurityHubInput) (*EnableSecurityHubOutput, error) { @@ -3472,14 +3468,13 @@ const opGetAdministratorAccount = "GetAdministratorAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAdministratorAccountRequest method. +// req, resp := client.GetAdministratorAccountRequest(params) // -// // Example sending a request using the GetAdministratorAccountRequest method. -// req, resp := client.GetAdministratorAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetAdministratorAccount func (c *SecurityHub) GetAdministratorAccountRequest(input *GetAdministratorAccountInput) (req *request.Request, output *GetAdministratorAccountOutput) { @@ -3514,25 +3509,26 @@ func (c *SecurityHub) GetAdministratorAccountRequest(input *GetAdministratorAcco // API operation GetAdministratorAccount for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetAdministratorAccount func (c *SecurityHub) GetAdministratorAccount(input *GetAdministratorAccountInput) (*GetAdministratorAccountOutput, error) { @@ -3572,14 +3568,13 @@ const opGetEnabledStandards = "GetEnabledStandards" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEnabledStandardsRequest method. +// req, resp := client.GetEnabledStandardsRequest(params) // -// // Example sending a request using the GetEnabledStandardsRequest method. -// req, resp := client.GetEnabledStandardsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetEnabledStandards func (c *SecurityHub) GetEnabledStandardsRequest(input *GetEnabledStandardsInput) (req *request.Request, output *GetEnabledStandardsOutput) { @@ -3616,22 +3611,23 @@ func (c *SecurityHub) GetEnabledStandardsRequest(input *GetEnabledStandardsInput // API operation GetEnabledStandards for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetEnabledStandards func (c *SecurityHub) GetEnabledStandards(input *GetEnabledStandardsInput) (*GetEnabledStandardsOutput, error) { @@ -3663,15 +3659,14 @@ func (c *SecurityHub) GetEnabledStandardsWithContext(ctx aws.Context, input *Get // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetEnabledStandards operation. -// pageNum := 0 -// err := client.GetEnabledStandardsPages(params, -// func(page *securityhub.GetEnabledStandardsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetEnabledStandards operation. +// pageNum := 0 +// err := client.GetEnabledStandardsPages(params, +// func(page *securityhub.GetEnabledStandardsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SecurityHub) GetEnabledStandardsPages(input *GetEnabledStandardsInput, fn func(*GetEnabledStandardsOutput, bool) bool) error { return c.GetEnabledStandardsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3723,14 +3718,13 @@ const opGetFindingAggregator = "GetFindingAggregator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFindingAggregatorRequest method. +// req, resp := client.GetFindingAggregatorRequest(params) // -// // Example sending a request using the GetFindingAggregatorRequest method. -// req, resp := client.GetFindingAggregatorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindingAggregator func (c *SecurityHub) GetFindingAggregatorRequest(input *GetFindingAggregatorInput) (req *request.Request, output *GetFindingAggregatorOutput) { @@ -3761,28 +3755,29 @@ func (c *SecurityHub) GetFindingAggregatorRequest(input *GetFindingAggregatorInp // API operation GetFindingAggregator for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * AccessDeniedException -// You don't have permission to perform the action specified in the request. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - AccessDeniedException +// You don't have permission to perform the action specified in the request. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindingAggregator func (c *SecurityHub) GetFindingAggregator(input *GetFindingAggregatorInput) (*GetFindingAggregatorOutput, error) { @@ -3822,14 +3817,13 @@ const opGetFindings = "GetFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFindingsRequest method. +// req, resp := client.GetFindingsRequest(params) // -// // Example sending a request using the GetFindingsRequest method. -// req, resp := client.GetFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindings func (c *SecurityHub) GetFindingsRequest(input *GetFindingsInput) (req *request.Request, output *GetFindingsOutput) { @@ -3870,22 +3864,23 @@ func (c *SecurityHub) GetFindingsRequest(input *GetFindingsInput) (req *request. // API operation GetFindings for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. +// +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindings func (c *SecurityHub) GetFindings(input *GetFindingsInput) (*GetFindingsOutput, error) { @@ -3917,15 +3912,14 @@ func (c *SecurityHub) GetFindingsWithContext(ctx aws.Context, input *GetFindings // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetFindings operation. -// pageNum := 0 -// err := client.GetFindingsPages(params, -// func(page *securityhub.GetFindingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetFindings operation. +// pageNum := 0 +// err := client.GetFindingsPages(params, +// func(page *securityhub.GetFindingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SecurityHub) GetFindingsPages(input *GetFindingsInput, fn func(*GetFindingsOutput, bool) bool) error { return c.GetFindingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3977,14 +3971,13 @@ const opGetInsightResults = "GetInsightResults" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInsightResultsRequest method. +// req, resp := client.GetInsightResultsRequest(params) // -// // Example sending a request using the GetInsightResultsRequest method. -// req, resp := client.GetInsightResultsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsightResults func (c *SecurityHub) GetInsightResultsRequest(input *GetInsightResultsInput) (req *request.Request, output *GetInsightResultsOutput) { @@ -4015,25 +4008,26 @@ func (c *SecurityHub) GetInsightResultsRequest(input *GetInsightResultsInput) (r // API operation GetInsightResults for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsightResults func (c *SecurityHub) GetInsightResults(input *GetInsightResultsInput) (*GetInsightResultsOutput, error) { @@ -4073,14 +4067,13 @@ const opGetInsights = "GetInsights" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInsightsRequest method. +// req, resp := client.GetInsightsRequest(params) // -// // Example sending a request using the GetInsightsRequest method. -// req, resp := client.GetInsightsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsights func (c *SecurityHub) GetInsightsRequest(input *GetInsightsInput) (req *request.Request, output *GetInsightsOutput) { @@ -4117,25 +4110,26 @@ func (c *SecurityHub) GetInsightsRequest(input *GetInsightsInput) (req *request. // API operation GetInsights for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsights func (c *SecurityHub) GetInsights(input *GetInsightsInput) (*GetInsightsOutput, error) { @@ -4167,15 +4161,14 @@ func (c *SecurityHub) GetInsightsWithContext(ctx aws.Context, input *GetInsights // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetInsights operation. -// pageNum := 0 -// err := client.GetInsightsPages(params, -// func(page *securityhub.GetInsightsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetInsights operation. +// pageNum := 0 +// err := client.GetInsightsPages(params, +// func(page *securityhub.GetInsightsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SecurityHub) GetInsightsPages(input *GetInsightsInput, fn func(*GetInsightsOutput, bool) bool) error { return c.GetInsightsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4227,14 +4220,13 @@ const opGetInvitationsCount = "GetInvitationsCount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInvitationsCountRequest method. +// req, resp := client.GetInvitationsCountRequest(params) // -// // Example sending a request using the GetInvitationsCountRequest method. -// req, resp := client.GetInvitationsCountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInvitationsCount func (c *SecurityHub) GetInvitationsCountRequest(input *GetInvitationsCountInput) (req *request.Request, output *GetInvitationsCountOutput) { @@ -4266,22 +4258,23 @@ func (c *SecurityHub) GetInvitationsCountRequest(input *GetInvitationsCountInput // API operation GetInvitationsCount for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. +// +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInvitationsCount func (c *SecurityHub) GetInvitationsCount(input *GetInvitationsCountInput) (*GetInvitationsCountOutput, error) { @@ -4321,14 +4314,13 @@ const opGetMasterAccount = "GetMasterAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMasterAccountRequest method. +// req, resp := client.GetMasterAccountRequest(params) // -// // Example sending a request using the GetMasterAccountRequest method. -// req, resp := client.GetMasterAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMasterAccount // @@ -4376,25 +4368,26 @@ func (c *SecurityHub) GetMasterAccountRequest(input *GetMasterAccountInput) (req // API operation GetMasterAccount for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMasterAccount // @@ -4438,14 +4431,13 @@ const opGetMembers = "GetMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMembersRequest method. +// req, resp := client.GetMembersRequest(params) // -// // Example sending a request using the GetMembersRequest method. -// req, resp := client.GetMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMembers func (c *SecurityHub) GetMembersRequest(input *GetMembersInput) (req *request.Request, output *GetMembersOutput) { @@ -4484,25 +4476,26 @@ func (c *SecurityHub) GetMembersRequest(input *GetMembersInput) (req *request.Re // API operation GetMembers for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMembers func (c *SecurityHub) GetMembers(input *GetMembersInput) (*GetMembersOutput, error) { @@ -4542,14 +4535,13 @@ const opInviteMembers = "InviteMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InviteMembersRequest method. +// req, resp := client.InviteMembersRequest(params) // -// // Example sending a request using the InviteMembersRequest method. -// req, resp := client.InviteMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/InviteMembers func (c *SecurityHub) InviteMembersRequest(input *InviteMembersInput) (req *request.Request, output *InviteMembersOutput) { @@ -4591,25 +4583,26 @@ func (c *SecurityHub) InviteMembersRequest(input *InviteMembersInput) (req *requ // API operation InviteMembers for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/InviteMembers func (c *SecurityHub) InviteMembers(input *InviteMembersInput) (*InviteMembersOutput, error) { @@ -4649,14 +4642,13 @@ const opListEnabledProductsForImport = "ListEnabledProductsForImport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEnabledProductsForImportRequest method. +// req, resp := client.ListEnabledProductsForImportRequest(params) // -// // Example sending a request using the ListEnabledProductsForImportRequest method. -// req, resp := client.ListEnabledProductsForImportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListEnabledProductsForImport func (c *SecurityHub) ListEnabledProductsForImportRequest(input *ListEnabledProductsForImportInput) (req *request.Request, output *ListEnabledProductsForImportOutput) { @@ -4694,18 +4686,19 @@ func (c *SecurityHub) ListEnabledProductsForImportRequest(input *ListEnabledProd // API operation ListEnabledProductsForImport for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. +// +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListEnabledProductsForImport func (c *SecurityHub) ListEnabledProductsForImport(input *ListEnabledProductsForImportInput) (*ListEnabledProductsForImportOutput, error) { @@ -4737,15 +4730,14 @@ func (c *SecurityHub) ListEnabledProductsForImportWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEnabledProductsForImport operation. -// pageNum := 0 -// err := client.ListEnabledProductsForImportPages(params, -// func(page *securityhub.ListEnabledProductsForImportOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEnabledProductsForImport operation. +// pageNum := 0 +// err := client.ListEnabledProductsForImportPages(params, +// func(page *securityhub.ListEnabledProductsForImportOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SecurityHub) ListEnabledProductsForImportPages(input *ListEnabledProductsForImportInput, fn func(*ListEnabledProductsForImportOutput, bool) bool) error { return c.ListEnabledProductsForImportPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4797,14 +4789,13 @@ const opListFindingAggregators = "ListFindingAggregators" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFindingAggregatorsRequest method. +// req, resp := client.ListFindingAggregatorsRequest(params) // -// // Example sending a request using the ListFindingAggregatorsRequest method. -// req, resp := client.ListFindingAggregatorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListFindingAggregators func (c *SecurityHub) ListFindingAggregatorsRequest(input *ListFindingAggregatorsInput) (req *request.Request, output *ListFindingAggregatorsOutput) { @@ -4842,25 +4833,26 @@ func (c *SecurityHub) ListFindingAggregatorsRequest(input *ListFindingAggregator // API operation ListFindingAggregators for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * AccessDeniedException -// You don't have permission to perform the action specified in the request. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - AccessDeniedException +// You don't have permission to perform the action specified in the request. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListFindingAggregators func (c *SecurityHub) ListFindingAggregators(input *ListFindingAggregatorsInput) (*ListFindingAggregatorsOutput, error) { @@ -4892,15 +4884,14 @@ func (c *SecurityHub) ListFindingAggregatorsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFindingAggregators operation. -// pageNum := 0 -// err := client.ListFindingAggregatorsPages(params, -// func(page *securityhub.ListFindingAggregatorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFindingAggregators operation. +// pageNum := 0 +// err := client.ListFindingAggregatorsPages(params, +// func(page *securityhub.ListFindingAggregatorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SecurityHub) ListFindingAggregatorsPages(input *ListFindingAggregatorsInput, fn func(*ListFindingAggregatorsOutput, bool) bool) error { return c.ListFindingAggregatorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4952,14 +4943,13 @@ const opListInvitations = "ListInvitations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInvitationsRequest method. +// req, resp := client.ListInvitationsRequest(params) // -// // Example sending a request using the ListInvitationsRequest method. -// req, resp := client.ListInvitationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListInvitations func (c *SecurityHub) ListInvitationsRequest(input *ListInvitationsInput) (req *request.Request, output *ListInvitationsOutput) { @@ -5001,22 +4991,23 @@ func (c *SecurityHub) ListInvitationsRequest(input *ListInvitationsInput) (req * // API operation ListInvitations for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListInvitations func (c *SecurityHub) ListInvitations(input *ListInvitationsInput) (*ListInvitationsOutput, error) { @@ -5048,15 +5039,14 @@ func (c *SecurityHub) ListInvitationsWithContext(ctx aws.Context, input *ListInv // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInvitations operation. -// pageNum := 0 -// err := client.ListInvitationsPages(params, -// func(page *securityhub.ListInvitationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInvitations operation. +// pageNum := 0 +// err := client.ListInvitationsPages(params, +// func(page *securityhub.ListInvitationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SecurityHub) ListInvitationsPages(input *ListInvitationsInput, fn func(*ListInvitationsOutput, bool) bool) error { return c.ListInvitationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5108,14 +5098,13 @@ const opListMembers = "ListMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMembersRequest method. +// req, resp := client.ListMembersRequest(params) // -// // Example sending a request using the ListMembersRequest method. -// req, resp := client.ListMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListMembers func (c *SecurityHub) ListMembersRequest(input *ListMembersInput) (req *request.Request, output *ListMembersOutput) { @@ -5156,22 +5145,23 @@ func (c *SecurityHub) ListMembersRequest(input *ListMembersInput) (req *request. // API operation ListMembers for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. +// +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListMembers func (c *SecurityHub) ListMembers(input *ListMembersInput) (*ListMembersOutput, error) { @@ -5203,15 +5193,14 @@ func (c *SecurityHub) ListMembersWithContext(ctx aws.Context, input *ListMembers // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMembers operation. -// pageNum := 0 -// err := client.ListMembersPages(params, -// func(page *securityhub.ListMembersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMembers operation. +// pageNum := 0 +// err := client.ListMembersPages(params, +// func(page *securityhub.ListMembersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SecurityHub) ListMembersPages(input *ListMembersInput, fn func(*ListMembersOutput, bool) bool) error { return c.ListMembersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5263,14 +5252,13 @@ const opListOrganizationAdminAccounts = "ListOrganizationAdminAccounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOrganizationAdminAccountsRequest method. +// req, resp := client.ListOrganizationAdminAccountsRequest(params) // -// // Example sending a request using the ListOrganizationAdminAccountsRequest method. -// req, resp := client.ListOrganizationAdminAccountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListOrganizationAdminAccounts func (c *SecurityHub) ListOrganizationAdminAccountsRequest(input *ListOrganizationAdminAccountsInput) (req *request.Request, output *ListOrganizationAdminAccountsOutput) { @@ -5308,22 +5296,23 @@ func (c *SecurityHub) ListOrganizationAdminAccountsRequest(input *ListOrganizati // API operation ListOrganizationAdminAccounts for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListOrganizationAdminAccounts func (c *SecurityHub) ListOrganizationAdminAccounts(input *ListOrganizationAdminAccountsInput) (*ListOrganizationAdminAccountsOutput, error) { @@ -5355,15 +5344,14 @@ func (c *SecurityHub) ListOrganizationAdminAccountsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOrganizationAdminAccounts operation. -// pageNum := 0 -// err := client.ListOrganizationAdminAccountsPages(params, -// func(page *securityhub.ListOrganizationAdminAccountsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOrganizationAdminAccounts operation. +// pageNum := 0 +// err := client.ListOrganizationAdminAccountsPages(params, +// func(page *securityhub.ListOrganizationAdminAccountsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SecurityHub) ListOrganizationAdminAccountsPages(input *ListOrganizationAdminAccountsInput, fn func(*ListOrganizationAdminAccountsOutput, bool) bool) error { return c.ListOrganizationAdminAccountsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5415,14 +5403,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListTagsForResource func (c *SecurityHub) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -5453,15 +5440,16 @@ func (c *SecurityHub) ListTagsForResourceRequest(input *ListTagsForResourceInput // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListTagsForResource func (c *SecurityHub) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -5501,14 +5489,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/TagResource func (c *SecurityHub) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -5540,15 +5527,16 @@ func (c *SecurityHub) TagResourceRequest(input *TagResourceInput) (req *request. // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/TagResource func (c *SecurityHub) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -5588,14 +5576,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UntagResource func (c *SecurityHub) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -5627,15 +5614,16 @@ func (c *SecurityHub) UntagResourceRequest(input *UntagResourceInput) (req *requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UntagResource func (c *SecurityHub) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -5675,14 +5663,13 @@ const opUpdateActionTarget = "UpdateActionTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateActionTargetRequest method. +// req, resp := client.UpdateActionTargetRequest(params) // -// // Example sending a request using the UpdateActionTargetRequest method. -// req, resp := client.UpdateActionTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateActionTarget func (c *SecurityHub) UpdateActionTargetRequest(input *UpdateActionTargetInput) (req *request.Request, output *UpdateActionTargetOutput) { @@ -5714,23 +5701,24 @@ func (c *SecurityHub) UpdateActionTargetRequest(input *UpdateActionTargetInput) // API operation UpdateActionTarget for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateActionTarget func (c *SecurityHub) UpdateActionTarget(input *UpdateActionTargetInput) (*UpdateActionTargetOutput, error) { @@ -5770,14 +5758,13 @@ const opUpdateFindingAggregator = "UpdateFindingAggregator" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFindingAggregatorRequest method. +// req, resp := client.UpdateFindingAggregatorRequest(params) // -// // Example sending a request using the UpdateFindingAggregatorRequest method. -// req, resp := client.UpdateFindingAggregatorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateFindingAggregator func (c *SecurityHub) UpdateFindingAggregatorRequest(input *UpdateFindingAggregatorInput) (req *request.Request, output *UpdateFindingAggregatorOutput) { @@ -5812,28 +5799,29 @@ func (c *SecurityHub) UpdateFindingAggregatorRequest(input *UpdateFindingAggrega // API operation UpdateFindingAggregator for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * AccessDeniedException -// You don't have permission to perform the action specified in the request. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - AccessDeniedException +// You don't have permission to perform the action specified in the request. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateFindingAggregator func (c *SecurityHub) UpdateFindingAggregator(input *UpdateFindingAggregatorInput) (*UpdateFindingAggregatorOutput, error) { @@ -5873,14 +5861,13 @@ const opUpdateFindings = "UpdateFindings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFindingsRequest method. +// req, resp := client.UpdateFindingsRequest(params) // -// // Example sending a request using the UpdateFindingsRequest method. -// req, resp := client.UpdateFindingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateFindings func (c *SecurityHub) UpdateFindingsRequest(input *UpdateFindingsInput) (req *request.Request, output *UpdateFindingsOutput) { @@ -5916,25 +5903,26 @@ func (c *SecurityHub) UpdateFindingsRequest(input *UpdateFindingsInput) (req *re // API operation UpdateFindings for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateFindings func (c *SecurityHub) UpdateFindings(input *UpdateFindingsInput) (*UpdateFindingsOutput, error) { @@ -5974,14 +5962,13 @@ const opUpdateInsight = "UpdateInsight" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateInsightRequest method. +// req, resp := client.UpdateInsightRequest(params) // -// // Example sending a request using the UpdateInsightRequest method. -// req, resp := client.UpdateInsightRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateInsight func (c *SecurityHub) UpdateInsightRequest(input *UpdateInsightInput) (req *request.Request, output *UpdateInsightOutput) { @@ -6013,25 +6000,26 @@ func (c *SecurityHub) UpdateInsightRequest(input *UpdateInsightInput) (req *requ // API operation UpdateInsight for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateInsight func (c *SecurityHub) UpdateInsight(input *UpdateInsightInput) (*UpdateInsightOutput, error) { @@ -6071,14 +6059,13 @@ const opUpdateOrganizationConfiguration = "UpdateOrganizationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateOrganizationConfigurationRequest method. +// req, resp := client.UpdateOrganizationConfigurationRequest(params) // -// // Example sending a request using the UpdateOrganizationConfigurationRequest method. -// req, resp := client.UpdateOrganizationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateOrganizationConfiguration func (c *SecurityHub) UpdateOrganizationConfigurationRequest(input *UpdateOrganizationConfigurationInput) (req *request.Request, output *UpdateOrganizationConfigurationOutput) { @@ -6111,22 +6098,23 @@ func (c *SecurityHub) UpdateOrganizationConfigurationRequest(input *UpdateOrgani // API operation UpdateOrganizationConfiguration for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. +// +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateOrganizationConfiguration func (c *SecurityHub) UpdateOrganizationConfiguration(input *UpdateOrganizationConfigurationInput) (*UpdateOrganizationConfigurationOutput, error) { @@ -6166,14 +6154,13 @@ const opUpdateSecurityHubConfiguration = "UpdateSecurityHubConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSecurityHubConfigurationRequest method. +// req, resp := client.UpdateSecurityHubConfigurationRequest(params) // -// // Example sending a request using the UpdateSecurityHubConfigurationRequest method. -// req, resp := client.UpdateSecurityHubConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateSecurityHubConfiguration func (c *SecurityHub) UpdateSecurityHubConfigurationRequest(input *UpdateSecurityHubConfigurationInput) (req *request.Request, output *UpdateSecurityHubConfigurationOutput) { @@ -6205,25 +6192,26 @@ func (c *SecurityHub) UpdateSecurityHubConfigurationRequest(input *UpdateSecurit // API operation UpdateSecurityHubConfiguration for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * LimitExceededException -// The request was rejected because it attempted to create resources beyond -// the current Amazon Web Services account or throttling limits. The error code -// describes the limit exceeded. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - LimitExceededException +// The request was rejected because it attempted to create resources beyond +// the current Amazon Web Services account or throttling limits. The error code +// describes the limit exceeded. +// +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateSecurityHubConfiguration func (c *SecurityHub) UpdateSecurityHubConfiguration(input *UpdateSecurityHubConfigurationInput) (*UpdateSecurityHubConfigurationOutput, error) { @@ -6263,14 +6251,13 @@ const opUpdateStandardsControl = "UpdateStandardsControl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStandardsControlRequest method. +// req, resp := client.UpdateStandardsControlRequest(params) // -// // Example sending a request using the UpdateStandardsControlRequest method. -// req, resp := client.UpdateStandardsControlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateStandardsControl func (c *SecurityHub) UpdateStandardsControlRequest(input *UpdateStandardsControlInput) (req *request.Request, output *UpdateStandardsControlOutput) { @@ -6303,20 +6290,21 @@ func (c *SecurityHub) UpdateStandardsControlRequest(input *UpdateStandardsContro // API operation UpdateStandardsControl for usage and error information. // // Returned Error Types: -// * InternalException -// Internal server error. // -// * InvalidInputException -// The request was rejected because you supplied an invalid or out-of-range -// value for an input parameter. +// - InternalException +// Internal server error. +// +// - InvalidInputException +// The request was rejected because you supplied an invalid or out-of-range +// value for an input parameter. // -// * InvalidAccessException -// There is an issue with the account used to make the request. Either Security -// Hub is not enabled for the account, or the account does not have permission -// to perform this action. +// - InvalidAccessException +// There is an issue with the account used to make the request. Either Security +// Hub is not enabled for the account, or the account does not have permission +// to perform this action. // -// * ResourceNotFoundException -// The request was rejected because we can't find the specified resource. +// - ResourceNotFoundException +// The request was rejected because we can't find the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateStandardsControl func (c *SecurityHub) UpdateStandardsControl(input *UpdateStandardsControlInput) (*UpdateStandardsControlOutput, error) { @@ -6631,13 +6619,13 @@ func (s *AccountDetails) SetEmail(v string) *AccountDetails { // Provides details about one of the following actions that affects or that // was taken on a resource: // -// * A remote IP address issued an Amazon Web Services API call +// - A remote IP address issued an Amazon Web Services API call // -// * A DNS request was received +// - A DNS request was received // -// * A remote IP address attempted to connect to an EC2 instance +// - A remote IP address attempted to connect to an EC2 instance // -// * A remote IP address attempted a port probe on an EC2 instance +// - A remote IP address attempted a port probe on an EC2 instance type Action struct { _ struct{} `type:"structure"` @@ -9381,11 +9369,11 @@ func (s *AwsCertificateManagerCertificateDetails) SetType(v string) *AwsCertific // Contains information about one of the following: // -// * The initial validation of each domain name that occurs as a result of -// the RequestCertificate request +// - The initial validation of each domain name that occurs as a result of +// the RequestCertificate request // -// * The validation of each domain name in the certificate, as it pertains -// to Certificate Manager managed renewal +// - The validation of each domain name in the certificate, as it pertains +// to Certificate Manager managed renewal type AwsCertificateManagerCertificateDomainValidationOption struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/doc.go index 839b778ff7f8..f20c7419025d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/doc.go @@ -27,30 +27,30 @@ // // The following throttling limits apply to using Security Hub API operations. // -// * BatchEnableStandards - RateLimit of 1 request per second, BurstLimit -// of 1 request per second. +// - BatchEnableStandards - RateLimit of 1 request per second, BurstLimit +// of 1 request per second. // -// * GetFindings - RateLimit of 3 requests per second. BurstLimit of 6 requests -// per second. +// - GetFindings - RateLimit of 3 requests per second. BurstLimit of 6 requests +// per second. // -// * BatchImportFindings - RateLimit of 10 requests per second. BurstLimit -// of 30 requests per second. +// - BatchImportFindings - RateLimit of 10 requests per second. BurstLimit +// of 30 requests per second. // -// * BatchUpdateFindings - RateLimit of 10 requests per second. BurstLimit -// of 30 requests per second. +// - BatchUpdateFindings - RateLimit of 10 requests per second. BurstLimit +// of 30 requests per second. // -// * UpdateStandardsControl - RateLimit of 1 request per second, BurstLimit -// of 5 requests per second. +// - UpdateStandardsControl - RateLimit of 1 request per second, BurstLimit +// of 5 requests per second. // -// * All other operations - RateLimit of 10 requests per second. BurstLimit -// of 30 requests per second. +// - All other operations - RateLimit of 10 requests per second. BurstLimit +// of 30 requests per second. // // See https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26 for more information on this service. // // See securityhub package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/securityhub/ // -// Using the Client +// # Using the Client // // To contact AWS SecurityHub with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/securityhubiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/securityhubiface/interface.go index 86d1d2e45546..225645f67b02 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/securityhubiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/securityhubiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS SecurityHub. -// func myFunc(svc securityhubiface.SecurityHubAPI) bool { -// // Make svc.AcceptAdministratorInvitation request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS SecurityHub. +// func myFunc(svc securityhubiface.SecurityHubAPI) bool { +// // Make svc.AcceptAdministratorInvitation request +// } // -// func main() { -// sess := session.New() -// svc := securityhub.New(sess) +// func main() { +// sess := session.New() +// svc := securityhub.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSecurityHubClient struct { -// securityhubiface.SecurityHubAPI -// } -// func (m *mockSecurityHubClient) AcceptAdministratorInvitation(input *securityhub.AcceptAdministratorInvitationInput) (*securityhub.AcceptAdministratorInvitationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSecurityHubClient struct { +// securityhubiface.SecurityHubAPI +// } +// func (m *mockSecurityHubClient) AcceptAdministratorInvitation(input *securityhub.AcceptAdministratorInvitationInput) (*securityhub.AcceptAdministratorInvitationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSecurityHubClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSecurityHubClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/service.go index 01fccc29c221..e1552dc752f0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/securityhub/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SecurityHub client from just a session. -// svc := securityhub.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SecurityHub client with additional configuration -// svc := securityhub.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SecurityHub client from just a session. +// svc := securityhub.New(mySession) +// +// // Create a SecurityHub client with additional configuration +// svc := securityhub.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SecurityHub { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/api.go index 2bd89d8a5d86..90b94fa3d751 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/api.go @@ -28,14 +28,13 @@ const opCreateApplication = "CreateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationRequest method. +// req, resp := client.CreateApplicationRequest(params) // -// // Example sending a request using the CreateApplicationRequest method. -// req, resp := client.CreateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplication func (c *ServerlessApplicationRepository) CreateApplicationRequest(input *CreateApplicationRequest) (req *request.Request, output *CreateApplicationOutput) { @@ -67,22 +66,23 @@ func (c *ServerlessApplicationRepository) CreateApplicationRequest(input *Create // API operation CreateApplication for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// The client is sending more than the allowed number of requests per unit of -// time. // -// * BadRequestException -// One of the parameters in the request is invalid. +// - TooManyRequestsException +// The client is sending more than the allowed number of requests per unit of +// time. +// +// - BadRequestException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// The AWS Serverless Application Repository service encountered an internal -// error. +// - InternalServerErrorException +// The AWS Serverless Application Repository service encountered an internal +// error. // -// * ConflictException -// The resource already exists. +// - ConflictException +// The resource already exists. // -// * ForbiddenException -// The client is not authenticated. +// - ForbiddenException +// The client is not authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplication func (c *ServerlessApplicationRepository) CreateApplication(input *CreateApplicationRequest) (*CreateApplicationOutput, error) { @@ -122,14 +122,13 @@ const opCreateApplicationVersion = "CreateApplicationVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateApplicationVersionRequest method. +// req, resp := client.CreateApplicationVersionRequest(params) // -// // Example sending a request using the CreateApplicationVersionRequest method. -// req, resp := client.CreateApplicationVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationVersion func (c *ServerlessApplicationRepository) CreateApplicationVersionRequest(input *CreateApplicationVersionRequest) (req *request.Request, output *CreateApplicationVersionOutput) { @@ -160,22 +159,23 @@ func (c *ServerlessApplicationRepository) CreateApplicationVersionRequest(input // API operation CreateApplicationVersion for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// The client is sending more than the allowed number of requests per unit of -// time. // -// * BadRequestException -// One of the parameters in the request is invalid. +// - TooManyRequestsException +// The client is sending more than the allowed number of requests per unit of +// time. +// +// - BadRequestException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// The AWS Serverless Application Repository service encountered an internal -// error. +// - InternalServerErrorException +// The AWS Serverless Application Repository service encountered an internal +// error. // -// * ConflictException -// The resource already exists. +// - ConflictException +// The resource already exists. // -// * ForbiddenException -// The client is not authenticated. +// - ForbiddenException +// The client is not authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateApplicationVersion func (c *ServerlessApplicationRepository) CreateApplicationVersion(input *CreateApplicationVersionRequest) (*CreateApplicationVersionOutput, error) { @@ -215,14 +215,13 @@ const opCreateCloudFormationChangeSet = "CreateCloudFormationChangeSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCloudFormationChangeSetRequest method. +// req, resp := client.CreateCloudFormationChangeSetRequest(params) // -// // Example sending a request using the CreateCloudFormationChangeSetRequest method. -// req, resp := client.CreateCloudFormationChangeSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationChangeSet func (c *ServerlessApplicationRepository) CreateCloudFormationChangeSetRequest(input *CreateCloudFormationChangeSetRequest) (req *request.Request, output *CreateCloudFormationChangeSetOutput) { @@ -253,19 +252,20 @@ func (c *ServerlessApplicationRepository) CreateCloudFormationChangeSetRequest(i // API operation CreateCloudFormationChangeSet for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// The client is sending more than the allowed number of requests per unit of -// time. // -// * BadRequestException -// One of the parameters in the request is invalid. +// - TooManyRequestsException +// The client is sending more than the allowed number of requests per unit of +// time. +// +// - BadRequestException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// The AWS Serverless Application Repository service encountered an internal -// error. +// - InternalServerErrorException +// The AWS Serverless Application Repository service encountered an internal +// error. // -// * ForbiddenException -// The client is not authenticated. +// - ForbiddenException +// The client is not authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationChangeSet func (c *ServerlessApplicationRepository) CreateCloudFormationChangeSet(input *CreateCloudFormationChangeSetRequest) (*CreateCloudFormationChangeSetOutput, error) { @@ -305,14 +305,13 @@ const opCreateCloudFormationTemplate = "CreateCloudFormationTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCloudFormationTemplateRequest method. +// req, resp := client.CreateCloudFormationTemplateRequest(params) // -// // Example sending a request using the CreateCloudFormationTemplateRequest method. -// req, resp := client.CreateCloudFormationTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationTemplate func (c *ServerlessApplicationRepository) CreateCloudFormationTemplateRequest(input *CreateCloudFormationTemplateInput) (req *request.Request, output *CreateCloudFormationTemplateOutput) { @@ -343,23 +342,24 @@ func (c *ServerlessApplicationRepository) CreateCloudFormationTemplateRequest(in // API operation CreateCloudFormationTemplate for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource (for example, an access policy statement) specified in the request -// doesn't exist. // -// * TooManyRequestsException -// The client is sending more than the allowed number of requests per unit of -// time. +// - NotFoundException +// The resource (for example, an access policy statement) specified in the request +// doesn't exist. +// +// - TooManyRequestsException +// The client is sending more than the allowed number of requests per unit of +// time. // -// * BadRequestException -// One of the parameters in the request is invalid. +// - BadRequestException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// The AWS Serverless Application Repository service encountered an internal -// error. +// - InternalServerErrorException +// The AWS Serverless Application Repository service encountered an internal +// error. // -// * ForbiddenException -// The client is not authenticated. +// - ForbiddenException +// The client is not authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/CreateCloudFormationTemplate func (c *ServerlessApplicationRepository) CreateCloudFormationTemplate(input *CreateCloudFormationTemplateInput) (*CreateCloudFormationTemplateOutput, error) { @@ -399,14 +399,13 @@ const opDeleteApplication = "DeleteApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteApplicationRequest method. +// req, resp := client.DeleteApplicationRequest(params) // -// // Example sending a request using the DeleteApplicationRequest method. -// req, resp := client.DeleteApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/DeleteApplication func (c *ServerlessApplicationRepository) DeleteApplicationRequest(input *DeleteApplicationInput) (req *request.Request, output *DeleteApplicationOutput) { @@ -438,26 +437,27 @@ func (c *ServerlessApplicationRepository) DeleteApplicationRequest(input *Delete // API operation DeleteApplication for usage and error information. // // Returned Error Types: -// * BadRequestException -// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// The AWS Serverless Application Repository service encountered an internal -// error. +// - BadRequestException +// One of the parameters in the request is invalid. +// +// - InternalServerErrorException +// The AWS Serverless Application Repository service encountered an internal +// error. // -// * ForbiddenException -// The client is not authenticated. +// - ForbiddenException +// The client is not authenticated. // -// * NotFoundException -// The resource (for example, an access policy statement) specified in the request -// doesn't exist. +// - NotFoundException +// The resource (for example, an access policy statement) specified in the request +// doesn't exist. // -// * TooManyRequestsException -// The client is sending more than the allowed number of requests per unit of -// time. +// - TooManyRequestsException +// The client is sending more than the allowed number of requests per unit of +// time. // -// * ConflictException -// The resource already exists. +// - ConflictException +// The resource already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/DeleteApplication func (c *ServerlessApplicationRepository) DeleteApplication(input *DeleteApplicationInput) (*DeleteApplicationOutput, error) { @@ -497,14 +497,13 @@ const opGetApplication = "GetApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApplicationRequest method. +// req, resp := client.GetApplicationRequest(params) // -// // Example sending a request using the GetApplicationRequest method. -// req, resp := client.GetApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplication func (c *ServerlessApplicationRepository) GetApplicationRequest(input *GetApplicationInput) (req *request.Request, output *GetApplicationOutput) { @@ -535,23 +534,24 @@ func (c *ServerlessApplicationRepository) GetApplicationRequest(input *GetApplic // API operation GetApplication for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource (for example, an access policy statement) specified in the request -// doesn't exist. // -// * TooManyRequestsException -// The client is sending more than the allowed number of requests per unit of -// time. +// - NotFoundException +// The resource (for example, an access policy statement) specified in the request +// doesn't exist. +// +// - TooManyRequestsException +// The client is sending more than the allowed number of requests per unit of +// time. // -// * BadRequestException -// One of the parameters in the request is invalid. +// - BadRequestException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// The AWS Serverless Application Repository service encountered an internal -// error. +// - InternalServerErrorException +// The AWS Serverless Application Repository service encountered an internal +// error. // -// * ForbiddenException -// The client is not authenticated. +// - ForbiddenException +// The client is not authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplication func (c *ServerlessApplicationRepository) GetApplication(input *GetApplicationInput) (*GetApplicationOutput, error) { @@ -591,14 +591,13 @@ const opGetApplicationPolicy = "GetApplicationPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetApplicationPolicyRequest method. +// req, resp := client.GetApplicationPolicyRequest(params) // -// // Example sending a request using the GetApplicationPolicyRequest method. -// req, resp := client.GetApplicationPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationPolicy func (c *ServerlessApplicationRepository) GetApplicationPolicyRequest(input *GetApplicationPolicyInput) (req *request.Request, output *GetApplicationPolicyOutput) { @@ -629,23 +628,24 @@ func (c *ServerlessApplicationRepository) GetApplicationPolicyRequest(input *Get // API operation GetApplicationPolicy for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource (for example, an access policy statement) specified in the request -// doesn't exist. // -// * TooManyRequestsException -// The client is sending more than the allowed number of requests per unit of -// time. +// - NotFoundException +// The resource (for example, an access policy statement) specified in the request +// doesn't exist. +// +// - TooManyRequestsException +// The client is sending more than the allowed number of requests per unit of +// time. // -// * BadRequestException -// One of the parameters in the request is invalid. +// - BadRequestException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// The AWS Serverless Application Repository service encountered an internal -// error. +// - InternalServerErrorException +// The AWS Serverless Application Repository service encountered an internal +// error. // -// * ForbiddenException -// The client is not authenticated. +// - ForbiddenException +// The client is not authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetApplicationPolicy func (c *ServerlessApplicationRepository) GetApplicationPolicy(input *GetApplicationPolicyInput) (*GetApplicationPolicyOutput, error) { @@ -685,14 +685,13 @@ const opGetCloudFormationTemplate = "GetCloudFormationTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCloudFormationTemplateRequest method. +// req, resp := client.GetCloudFormationTemplateRequest(params) // -// // Example sending a request using the GetCloudFormationTemplateRequest method. -// req, resp := client.GetCloudFormationTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetCloudFormationTemplate func (c *ServerlessApplicationRepository) GetCloudFormationTemplateRequest(input *GetCloudFormationTemplateInput) (req *request.Request, output *GetCloudFormationTemplateOutput) { @@ -723,23 +722,24 @@ func (c *ServerlessApplicationRepository) GetCloudFormationTemplateRequest(input // API operation GetCloudFormationTemplate for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource (for example, an access policy statement) specified in the request -// doesn't exist. // -// * TooManyRequestsException -// The client is sending more than the allowed number of requests per unit of -// time. +// - NotFoundException +// The resource (for example, an access policy statement) specified in the request +// doesn't exist. +// +// - TooManyRequestsException +// The client is sending more than the allowed number of requests per unit of +// time. // -// * BadRequestException -// One of the parameters in the request is invalid. +// - BadRequestException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// The AWS Serverless Application Repository service encountered an internal -// error. +// - InternalServerErrorException +// The AWS Serverless Application Repository service encountered an internal +// error. // -// * ForbiddenException -// The client is not authenticated. +// - ForbiddenException +// The client is not authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/GetCloudFormationTemplate func (c *ServerlessApplicationRepository) GetCloudFormationTemplate(input *GetCloudFormationTemplateInput) (*GetCloudFormationTemplateOutput, error) { @@ -779,14 +779,13 @@ const opListApplicationDependencies = "ListApplicationDependencies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationDependenciesRequest method. +// req, resp := client.ListApplicationDependenciesRequest(params) // -// // Example sending a request using the ListApplicationDependenciesRequest method. -// req, resp := client.ListApplicationDependenciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationDependencies func (c *ServerlessApplicationRepository) ListApplicationDependenciesRequest(input *ListApplicationDependenciesInput) (req *request.Request, output *ListApplicationDependenciesOutput) { @@ -823,23 +822,24 @@ func (c *ServerlessApplicationRepository) ListApplicationDependenciesRequest(inp // API operation ListApplicationDependencies for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource (for example, an access policy statement) specified in the request -// doesn't exist. // -// * TooManyRequestsException -// The client is sending more than the allowed number of requests per unit of -// time. +// - NotFoundException +// The resource (for example, an access policy statement) specified in the request +// doesn't exist. +// +// - TooManyRequestsException +// The client is sending more than the allowed number of requests per unit of +// time. // -// * BadRequestException -// One of the parameters in the request is invalid. +// - BadRequestException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// The AWS Serverless Application Repository service encountered an internal -// error. +// - InternalServerErrorException +// The AWS Serverless Application Repository service encountered an internal +// error. // -// * ForbiddenException -// The client is not authenticated. +// - ForbiddenException +// The client is not authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationDependencies func (c *ServerlessApplicationRepository) ListApplicationDependencies(input *ListApplicationDependenciesInput) (*ListApplicationDependenciesOutput, error) { @@ -871,15 +871,14 @@ func (c *ServerlessApplicationRepository) ListApplicationDependenciesWithContext // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplicationDependencies operation. -// pageNum := 0 -// err := client.ListApplicationDependenciesPages(params, -// func(page *serverlessapplicationrepository.ListApplicationDependenciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplicationDependencies operation. +// pageNum := 0 +// err := client.ListApplicationDependenciesPages(params, +// func(page *serverlessapplicationrepository.ListApplicationDependenciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServerlessApplicationRepository) ListApplicationDependenciesPages(input *ListApplicationDependenciesInput, fn func(*ListApplicationDependenciesOutput, bool) bool) error { return c.ListApplicationDependenciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -931,14 +930,13 @@ const opListApplicationVersions = "ListApplicationVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationVersionsRequest method. +// req, resp := client.ListApplicationVersionsRequest(params) // -// // Example sending a request using the ListApplicationVersionsRequest method. -// req, resp := client.ListApplicationVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationVersions func (c *ServerlessApplicationRepository) ListApplicationVersionsRequest(input *ListApplicationVersionsInput) (req *request.Request, output *ListApplicationVersionsOutput) { @@ -975,23 +973,24 @@ func (c *ServerlessApplicationRepository) ListApplicationVersionsRequest(input * // API operation ListApplicationVersions for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource (for example, an access policy statement) specified in the request -// doesn't exist. // -// * TooManyRequestsException -// The client is sending more than the allowed number of requests per unit of -// time. +// - NotFoundException +// The resource (for example, an access policy statement) specified in the request +// doesn't exist. // -// * BadRequestException -// One of the parameters in the request is invalid. +// - TooManyRequestsException +// The client is sending more than the allowed number of requests per unit of +// time. // -// * InternalServerErrorException -// The AWS Serverless Application Repository service encountered an internal -// error. +// - BadRequestException +// One of the parameters in the request is invalid. // -// * ForbiddenException -// The client is not authenticated. +// - InternalServerErrorException +// The AWS Serverless Application Repository service encountered an internal +// error. +// +// - ForbiddenException +// The client is not authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationVersions func (c *ServerlessApplicationRepository) ListApplicationVersions(input *ListApplicationVersionsInput) (*ListApplicationVersionsOutput, error) { @@ -1023,15 +1022,14 @@ func (c *ServerlessApplicationRepository) ListApplicationVersionsWithContext(ctx // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplicationVersions operation. -// pageNum := 0 -// err := client.ListApplicationVersionsPages(params, -// func(page *serverlessapplicationrepository.ListApplicationVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplicationVersions operation. +// pageNum := 0 +// err := client.ListApplicationVersionsPages(params, +// func(page *serverlessapplicationrepository.ListApplicationVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServerlessApplicationRepository) ListApplicationVersionsPages(input *ListApplicationVersionsInput, fn func(*ListApplicationVersionsOutput, bool) bool) error { return c.ListApplicationVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1083,14 +1081,13 @@ const opListApplications = "ListApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListApplicationsRequest method. +// req, resp := client.ListApplicationsRequest(params) // -// // Example sending a request using the ListApplicationsRequest method. -// req, resp := client.ListApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplications func (c *ServerlessApplicationRepository) ListApplicationsRequest(input *ListApplicationsInput) (req *request.Request, output *ListApplicationsOutput) { @@ -1127,19 +1124,20 @@ func (c *ServerlessApplicationRepository) ListApplicationsRequest(input *ListApp // API operation ListApplications for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource (for example, an access policy statement) specified in the request -// doesn't exist. // -// * BadRequestException -// One of the parameters in the request is invalid. +// - NotFoundException +// The resource (for example, an access policy statement) specified in the request +// doesn't exist. +// +// - BadRequestException +// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// The AWS Serverless Application Repository service encountered an internal -// error. +// - InternalServerErrorException +// The AWS Serverless Application Repository service encountered an internal +// error. // -// * ForbiddenException -// The client is not authenticated. +// - ForbiddenException +// The client is not authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplications func (c *ServerlessApplicationRepository) ListApplications(input *ListApplicationsInput) (*ListApplicationsOutput, error) { @@ -1171,15 +1169,14 @@ func (c *ServerlessApplicationRepository) ListApplicationsWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListApplications operation. -// pageNum := 0 -// err := client.ListApplicationsPages(params, -// func(page *serverlessapplicationrepository.ListApplicationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListApplications operation. +// pageNum := 0 +// err := client.ListApplicationsPages(params, +// func(page *serverlessapplicationrepository.ListApplicationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServerlessApplicationRepository) ListApplicationsPages(input *ListApplicationsInput, fn func(*ListApplicationsOutput, bool) bool) error { return c.ListApplicationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1231,14 +1228,13 @@ const opPutApplicationPolicy = "PutApplicationPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutApplicationPolicyRequest method. +// req, resp := client.PutApplicationPolicyRequest(params) // -// // Example sending a request using the PutApplicationPolicyRequest method. -// req, resp := client.PutApplicationPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/PutApplicationPolicy func (c *ServerlessApplicationRepository) PutApplicationPolicyRequest(input *PutApplicationPolicyInput) (req *request.Request, output *PutApplicationPolicyOutput) { @@ -1270,23 +1266,24 @@ func (c *ServerlessApplicationRepository) PutApplicationPolicyRequest(input *Put // API operation PutApplicationPolicy for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource (for example, an access policy statement) specified in the request -// doesn't exist. // -// * TooManyRequestsException -// The client is sending more than the allowed number of requests per unit of -// time. +// - NotFoundException +// The resource (for example, an access policy statement) specified in the request +// doesn't exist. // -// * BadRequestException -// One of the parameters in the request is invalid. +// - TooManyRequestsException +// The client is sending more than the allowed number of requests per unit of +// time. // -// * InternalServerErrorException -// The AWS Serverless Application Repository service encountered an internal -// error. +// - BadRequestException +// One of the parameters in the request is invalid. // -// * ForbiddenException -// The client is not authenticated. +// - InternalServerErrorException +// The AWS Serverless Application Repository service encountered an internal +// error. +// +// - ForbiddenException +// The client is not authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/PutApplicationPolicy func (c *ServerlessApplicationRepository) PutApplicationPolicy(input *PutApplicationPolicyInput) (*PutApplicationPolicyOutput, error) { @@ -1326,14 +1323,13 @@ const opUnshareApplication = "UnshareApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnshareApplicationRequest method. +// req, resp := client.UnshareApplicationRequest(params) // -// // Example sending a request using the UnshareApplicationRequest method. -// req, resp := client.UnshareApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UnshareApplication func (c *ServerlessApplicationRepository) UnshareApplicationRequest(input *UnshareApplicationInput) (req *request.Request, output *UnshareApplicationOutput) { @@ -1367,23 +1363,24 @@ func (c *ServerlessApplicationRepository) UnshareApplicationRequest(input *Unsha // API operation UnshareApplication for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource (for example, an access policy statement) specified in the request -// doesn't exist. // -// * TooManyRequestsException -// The client is sending more than the allowed number of requests per unit of -// time. +// - NotFoundException +// The resource (for example, an access policy statement) specified in the request +// doesn't exist. // -// * BadRequestException -// One of the parameters in the request is invalid. +// - TooManyRequestsException +// The client is sending more than the allowed number of requests per unit of +// time. // -// * InternalServerErrorException -// The AWS Serverless Application Repository service encountered an internal -// error. +// - BadRequestException +// One of the parameters in the request is invalid. // -// * ForbiddenException -// The client is not authenticated. +// - InternalServerErrorException +// The AWS Serverless Application Repository service encountered an internal +// error. +// +// - ForbiddenException +// The client is not authenticated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UnshareApplication func (c *ServerlessApplicationRepository) UnshareApplication(input *UnshareApplicationInput) (*UnshareApplicationOutput, error) { @@ -1423,14 +1420,13 @@ const opUpdateApplication = "UpdateApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationRequest method. +// req, resp := client.UpdateApplicationRequest(params) // -// // Example sending a request using the UpdateApplicationRequest method. -// req, resp := client.UpdateApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UpdateApplication func (c *ServerlessApplicationRepository) UpdateApplicationRequest(input *UpdateApplicationRequest) (req *request.Request, output *UpdateApplicationOutput) { @@ -1461,26 +1457,27 @@ func (c *ServerlessApplicationRepository) UpdateApplicationRequest(input *Update // API operation UpdateApplication for usage and error information. // // Returned Error Types: -// * BadRequestException -// One of the parameters in the request is invalid. // -// * InternalServerErrorException -// The AWS Serverless Application Repository service encountered an internal -// error. +// - BadRequestException +// One of the parameters in the request is invalid. +// +// - InternalServerErrorException +// The AWS Serverless Application Repository service encountered an internal +// error. // -// * ForbiddenException -// The client is not authenticated. +// - ForbiddenException +// The client is not authenticated. // -// * NotFoundException -// The resource (for example, an access policy statement) specified in the request -// doesn't exist. +// - NotFoundException +// The resource (for example, an access policy statement) specified in the request +// doesn't exist. // -// * TooManyRequestsException -// The client is sending more than the allowed number of requests per unit of -// time. +// - TooManyRequestsException +// The client is sending more than the allowed number of requests per unit of +// time. // -// * ConflictException -// The resource already exists. +// - ConflictException +// The resource already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/UpdateApplication func (c *ServerlessApplicationRepository) UpdateApplication(input *UpdateApplicationRequest) (*UpdateApplicationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/doc.go index f2f6c12983f7..6473e5d55287 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/doc.go @@ -28,18 +28,18 @@ // The AWS Serverless Application Repository Developer Guide contains more information // about the two developer experiences available: // -// * Consuming Applications – Browse for applications and view information -// about them, including source code and readme files. Also install, configure, -// and deploy applications of your choosing. Publishing Applications – -// Configure and upload applications to make them available to other developers, -// and publish new versions of applications. +// - Consuming Applications – Browse for applications and view information +// about them, including source code and readme files. Also install, configure, +// and deploy applications of your choosing. Publishing Applications – +// Configure and upload applications to make them available to other developers, +// and publish new versions of applications. // // See https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08 for more information on this service. // // See serverlessapplicationrepository package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/serverlessapplicationrepository/ // -// Using the Client +// # Using the Client // // To contact AWSServerlessApplicationRepository with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/serverlessapplicationrepositoryiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/serverlessapplicationrepositoryiface/interface.go index 9c6db333fa97..596aa306ffec 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/serverlessapplicationrepositoryiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/serverlessapplicationrepositoryiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWSServerlessApplicationRepository. -// func myFunc(svc serverlessapplicationrepositoryiface.ServerlessApplicationRepositoryAPI) bool { -// // Make svc.CreateApplication request -// } +// // myFunc uses an SDK service client to make a request to +// // AWSServerlessApplicationRepository. +// func myFunc(svc serverlessapplicationrepositoryiface.ServerlessApplicationRepositoryAPI) bool { +// // Make svc.CreateApplication request +// } // -// func main() { -// sess := session.New() -// svc := serverlessapplicationrepository.New(sess) +// func main() { +// sess := session.New() +// svc := serverlessapplicationrepository.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockServerlessApplicationRepositoryClient struct { -// serverlessapplicationrepositoryiface.ServerlessApplicationRepositoryAPI -// } -// func (m *mockServerlessApplicationRepositoryClient) CreateApplication(input *serverlessapplicationrepository.CreateApplicationRequest) (*serverlessapplicationrepository.CreateApplicationOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockServerlessApplicationRepositoryClient struct { +// serverlessapplicationrepositoryiface.ServerlessApplicationRepositoryAPI +// } +// func (m *mockServerlessApplicationRepositoryClient) CreateApplication(input *serverlessapplicationrepository.CreateApplicationRequest) (*serverlessapplicationrepository.CreateApplicationOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockServerlessApplicationRepositoryClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockServerlessApplicationRepositoryClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/service.go index f83fec7fbeed..9ee10d859b03 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/serverlessapplicationrepository/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ServerlessApplicationRepository client from just a session. -// svc := serverlessapplicationrepository.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ServerlessApplicationRepository client with additional configuration -// svc := serverlessapplicationrepository.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ServerlessApplicationRepository client from just a session. +// svc := serverlessapplicationrepository.New(mySession) +// +// // Create a ServerlessApplicationRepository client with additional configuration +// svc := serverlessapplicationrepository.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ServerlessApplicationRepository { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/api.go index ec5bd7d86e49..3dbdff4e3c15 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/api.go @@ -29,14 +29,13 @@ const opAcceptPortfolioShare = "AcceptPortfolioShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptPortfolioShareRequest method. +// req, resp := client.AcceptPortfolioShareRequest(params) // -// // Example sending a request using the AcceptPortfolioShareRequest method. -// req, resp := client.AcceptPortfolioShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShare func (c *ServiceCatalog) AcceptPortfolioShareRequest(input *AcceptPortfolioShareInput) (req *request.Request, output *AcceptPortfolioShareOutput) { @@ -68,16 +67,17 @@ func (c *ServiceCatalog) AcceptPortfolioShareRequest(input *AcceptPortfolioShare // API operation AcceptPortfolioShare for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The current limits of the service would have been exceeded by this operation. -// Decrease your resource use or increase your service limits and retry the -// operation. +// - LimitExceededException +// The current limits of the service would have been exceeded by this operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AcceptPortfolioShare func (c *ServiceCatalog) AcceptPortfolioShare(input *AcceptPortfolioShareInput) (*AcceptPortfolioShareOutput, error) { @@ -117,14 +117,13 @@ const opAssociateBudgetWithResource = "AssociateBudgetWithResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateBudgetWithResourceRequest method. +// req, resp := client.AssociateBudgetWithResourceRequest(params) // -// // Example sending a request using the AssociateBudgetWithResourceRequest method. -// req, resp := client.AssociateBudgetWithResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateBudgetWithResource func (c *ServiceCatalog) AssociateBudgetWithResourceRequest(input *AssociateBudgetWithResourceInput) (req *request.Request, output *AssociateBudgetWithResourceOutput) { @@ -156,19 +155,20 @@ func (c *ServiceCatalog) AssociateBudgetWithResourceRequest(input *AssociateBudg // API operation AssociateBudgetWithResource for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * DuplicateResourceException -// The specified resource is a duplicate. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // -// * LimitExceededException -// The current limits of the service would have been exceeded by this operation. -// Decrease your resource use or increase your service limits and retry the -// operation. +// - DuplicateResourceException +// The specified resource is a duplicate. // -// * ResourceNotFoundException -// The specified resource was not found. +// - LimitExceededException +// The current limits of the service would have been exceeded by this operation. +// Decrease your resource use or increase your service limits and retry the +// operation. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateBudgetWithResource func (c *ServiceCatalog) AssociateBudgetWithResource(input *AssociateBudgetWithResourceInput) (*AssociateBudgetWithResourceOutput, error) { @@ -208,14 +208,13 @@ const opAssociatePrincipalWithPortfolio = "AssociatePrincipalWithPortfolio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociatePrincipalWithPortfolioRequest method. +// req, resp := client.AssociatePrincipalWithPortfolioRequest(params) // -// // Example sending a request using the AssociatePrincipalWithPortfolioRequest method. -// req, resp := client.AssociatePrincipalWithPortfolioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolio func (c *ServiceCatalog) AssociatePrincipalWithPortfolioRequest(input *AssociatePrincipalWithPortfolioInput) (req *request.Request, output *AssociatePrincipalWithPortfolioOutput) { @@ -247,16 +246,17 @@ func (c *ServiceCatalog) AssociatePrincipalWithPortfolioRequest(input *Associate // API operation AssociatePrincipalWithPortfolio for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The current limits of the service would have been exceeded by this operation. -// Decrease your resource use or increase your service limits and retry the -// operation. +// - LimitExceededException +// The current limits of the service would have been exceeded by this operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociatePrincipalWithPortfolio func (c *ServiceCatalog) AssociatePrincipalWithPortfolio(input *AssociatePrincipalWithPortfolioInput) (*AssociatePrincipalWithPortfolioOutput, error) { @@ -296,14 +296,13 @@ const opAssociateProductWithPortfolio = "AssociateProductWithPortfolio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateProductWithPortfolioRequest method. +// req, resp := client.AssociateProductWithPortfolioRequest(params) // -// // Example sending a request using the AssociateProductWithPortfolioRequest method. -// req, resp := client.AssociateProductWithPortfolioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateProductWithPortfolio func (c *ServiceCatalog) AssociateProductWithPortfolioRequest(input *AssociateProductWithPortfolioInput) (req *request.Request, output *AssociateProductWithPortfolioOutput) { @@ -337,16 +336,17 @@ func (c *ServiceCatalog) AssociateProductWithPortfolioRequest(input *AssociatePr // API operation AssociateProductWithPortfolio for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The current limits of the service would have been exceeded by this operation. -// Decrease your resource use or increase your service limits and retry the -// operation. +// - LimitExceededException +// The current limits of the service would have been exceeded by this operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateProductWithPortfolio func (c *ServiceCatalog) AssociateProductWithPortfolio(input *AssociateProductWithPortfolioInput) (*AssociateProductWithPortfolioOutput, error) { @@ -386,14 +386,13 @@ const opAssociateServiceActionWithProvisioningArtifact = "AssociateServiceAction // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateServiceActionWithProvisioningArtifactRequest method. +// req, resp := client.AssociateServiceActionWithProvisioningArtifactRequest(params) // -// // Example sending a request using the AssociateServiceActionWithProvisioningArtifactRequest method. -// req, resp := client.AssociateServiceActionWithProvisioningArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateServiceActionWithProvisioningArtifact func (c *ServiceCatalog) AssociateServiceActionWithProvisioningArtifactRequest(input *AssociateServiceActionWithProvisioningArtifactInput) (req *request.Request, output *AssociateServiceActionWithProvisioningArtifactOutput) { @@ -425,16 +424,17 @@ func (c *ServiceCatalog) AssociateServiceActionWithProvisioningArtifactRequest(i // API operation AssociateServiceActionWithProvisioningArtifact for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * DuplicateResourceException -// The specified resource is a duplicate. +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The current limits of the service would have been exceeded by this operation. -// Decrease your resource use or increase your service limits and retry the -// operation. +// - DuplicateResourceException +// The specified resource is a duplicate. +// +// - LimitExceededException +// The current limits of the service would have been exceeded by this operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateServiceActionWithProvisioningArtifact func (c *ServiceCatalog) AssociateServiceActionWithProvisioningArtifact(input *AssociateServiceActionWithProvisioningArtifactInput) (*AssociateServiceActionWithProvisioningArtifactOutput, error) { @@ -474,14 +474,13 @@ const opAssociateTagOptionWithResource = "AssociateTagOptionWithResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateTagOptionWithResourceRequest method. +// req, resp := client.AssociateTagOptionWithResourceRequest(params) // -// // Example sending a request using the AssociateTagOptionWithResourceRequest method. -// req, resp := client.AssociateTagOptionWithResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateTagOptionWithResource func (c *ServiceCatalog) AssociateTagOptionWithResourceRequest(input *AssociateTagOptionWithResourceInput) (req *request.Request, output *AssociateTagOptionWithResourceOutput) { @@ -513,29 +512,30 @@ func (c *ServiceCatalog) AssociateTagOptionWithResourceRequest(input *AssociateT // API operation AssociateTagOptionWithResource for usage and error information. // // Returned Error Types: -// * TagOptionNotMigratedException -// An operation requiring TagOptions failed because the TagOptions migration -// process has not been performed for this account. Please use the AWS console -// to perform the migration process before retrying the operation. // -// * ResourceNotFoundException -// The specified resource was not found. +// - TagOptionNotMigratedException +// An operation requiring TagOptions failed because the TagOptions migration +// process has not been performed for this account. Please use the AWS console +// to perform the migration process before retrying the operation. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The current limits of the service would have been exceeded by this operation. -// Decrease your resource use or increase your service limits and retry the -// operation. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // -// * DuplicateResourceException -// The specified resource is a duplicate. +// - LimitExceededException +// The current limits of the service would have been exceeded by this operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // -// * InvalidStateException -// An attempt was made to modify a resource that is in a state that is not valid. -// Check your resources to ensure that they are in valid states before retrying -// the operation. +// - DuplicateResourceException +// The specified resource is a duplicate. +// +// - InvalidStateException +// An attempt was made to modify a resource that is in a state that is not valid. +// Check your resources to ensure that they are in valid states before retrying +// the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/AssociateTagOptionWithResource func (c *ServiceCatalog) AssociateTagOptionWithResource(input *AssociateTagOptionWithResourceInput) (*AssociateTagOptionWithResourceOutput, error) { @@ -575,14 +575,13 @@ const opBatchAssociateServiceActionWithProvisioningArtifact = "BatchAssociateSer // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchAssociateServiceActionWithProvisioningArtifactRequest method. +// req, resp := client.BatchAssociateServiceActionWithProvisioningArtifactRequest(params) // -// // Example sending a request using the BatchAssociateServiceActionWithProvisioningArtifactRequest method. -// req, resp := client.BatchAssociateServiceActionWithProvisioningArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/BatchAssociateServiceActionWithProvisioningArtifact func (c *ServiceCatalog) BatchAssociateServiceActionWithProvisioningArtifactRequest(input *BatchAssociateServiceActionWithProvisioningArtifactInput) (req *request.Request, output *BatchAssociateServiceActionWithProvisioningArtifactOutput) { @@ -613,8 +612,8 @@ func (c *ServiceCatalog) BatchAssociateServiceActionWithProvisioningArtifactRequ // API operation BatchAssociateServiceActionWithProvisioningArtifact for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/BatchAssociateServiceActionWithProvisioningArtifact func (c *ServiceCatalog) BatchAssociateServiceActionWithProvisioningArtifact(input *BatchAssociateServiceActionWithProvisioningArtifactInput) (*BatchAssociateServiceActionWithProvisioningArtifactOutput, error) { @@ -654,14 +653,13 @@ const opBatchDisassociateServiceActionFromProvisioningArtifact = "BatchDisassoci // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDisassociateServiceActionFromProvisioningArtifactRequest method. +// req, resp := client.BatchDisassociateServiceActionFromProvisioningArtifactRequest(params) // -// // Example sending a request using the BatchDisassociateServiceActionFromProvisioningArtifactRequest method. -// req, resp := client.BatchDisassociateServiceActionFromProvisioningArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/BatchDisassociateServiceActionFromProvisioningArtifact func (c *ServiceCatalog) BatchDisassociateServiceActionFromProvisioningArtifactRequest(input *BatchDisassociateServiceActionFromProvisioningArtifactInput) (req *request.Request, output *BatchDisassociateServiceActionFromProvisioningArtifactOutput) { @@ -693,8 +691,8 @@ func (c *ServiceCatalog) BatchDisassociateServiceActionFromProvisioningArtifactR // API operation BatchDisassociateServiceActionFromProvisioningArtifact for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/BatchDisassociateServiceActionFromProvisioningArtifact func (c *ServiceCatalog) BatchDisassociateServiceActionFromProvisioningArtifact(input *BatchDisassociateServiceActionFromProvisioningArtifactInput) (*BatchDisassociateServiceActionFromProvisioningArtifactOutput, error) { @@ -734,14 +732,13 @@ const opCopyProduct = "CopyProduct" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyProductRequest method. +// req, resp := client.CopyProductRequest(params) // -// // Example sending a request using the CopyProductRequest method. -// req, resp := client.CopyProductRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CopyProduct func (c *ServiceCatalog) CopyProductRequest(input *CopyProductInput) (req *request.Request, output *CopyProductOutput) { @@ -779,11 +776,12 @@ func (c *ServiceCatalog) CopyProductRequest(input *CopyProductInput) (req *reque // API operation CopyProduct for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CopyProduct func (c *ServiceCatalog) CopyProduct(input *CopyProductInput) (*CopyProductOutput, error) { @@ -823,14 +821,13 @@ const opCreateConstraint = "CreateConstraint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConstraintRequest method. +// req, resp := client.CreateConstraintRequest(params) // -// // Example sending a request using the CreateConstraintRequest method. -// req, resp := client.CreateConstraintRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraint func (c *ServiceCatalog) CreateConstraintRequest(input *CreateConstraintInput) (req *request.Request, output *CreateConstraintOutput) { @@ -863,19 +860,20 @@ func (c *ServiceCatalog) CreateConstraintRequest(input *CreateConstraintInput) ( // API operation CreateConstraint for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The current limits of the service would have been exceeded by this operation. -// Decrease your resource use or increase your service limits and retry the -// operation. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // -// * DuplicateResourceException -// The specified resource is a duplicate. +// - LimitExceededException +// The current limits of the service would have been exceeded by this operation. +// Decrease your resource use or increase your service limits and retry the +// operation. +// +// - DuplicateResourceException +// The specified resource is a duplicate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateConstraint func (c *ServiceCatalog) CreateConstraint(input *CreateConstraintInput) (*CreateConstraintOutput, error) { @@ -915,14 +913,13 @@ const opCreatePortfolio = "CreatePortfolio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePortfolioRequest method. +// req, resp := client.CreatePortfolioRequest(params) // -// // Example sending a request using the CreatePortfolioRequest method. -// req, resp := client.CreatePortfolioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolio func (c *ServiceCatalog) CreatePortfolioRequest(input *CreatePortfolioInput) (req *request.Request, output *CreatePortfolioOutput) { @@ -955,18 +952,19 @@ func (c *ServiceCatalog) CreatePortfolioRequest(input *CreatePortfolioInput) (re // API operation CreatePortfolio for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * LimitExceededException -// The current limits of the service would have been exceeded by this operation. -// Decrease your resource use or increase your service limits and retry the -// operation. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - LimitExceededException +// The current limits of the service would have been exceeded by this operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // -// * TagOptionNotMigratedException -// An operation requiring TagOptions failed because the TagOptions migration -// process has not been performed for this account. Please use the AWS console -// to perform the migration process before retrying the operation. +// - TagOptionNotMigratedException +// An operation requiring TagOptions failed because the TagOptions migration +// process has not been performed for this account. Please use the AWS console +// to perform the migration process before retrying the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolio func (c *ServiceCatalog) CreatePortfolio(input *CreatePortfolioInput) (*CreatePortfolioOutput, error) { @@ -1006,14 +1004,13 @@ const opCreatePortfolioShare = "CreatePortfolioShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePortfolioShareRequest method. +// req, resp := client.CreatePortfolioShareRequest(params) // -// // Example sending a request using the CreatePortfolioShareRequest method. -// req, resp := client.CreatePortfolioShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShare func (c *ServiceCatalog) CreatePortfolioShareRequest(input *CreatePortfolioShareInput) (req *request.Request, output *CreatePortfolioShareOutput) { @@ -1060,24 +1057,25 @@ func (c *ServiceCatalog) CreatePortfolioShareRequest(input *CreatePortfolioShare // API operation CreatePortfolioShare for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * LimitExceededException -// The current limits of the service would have been exceeded by this operation. -// Decrease your resource use or increase your service limits and retry the -// operation. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - LimitExceededException +// The current limits of the service would have been exceeded by this operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // -// * OperationNotSupportedException -// The operation is not supported. +// - OperationNotSupportedException +// The operation is not supported. // -// * InvalidStateException -// An attempt was made to modify a resource that is in a state that is not valid. -// Check your resources to ensure that they are in valid states before retrying -// the operation. +// - InvalidStateException +// An attempt was made to modify a resource that is in a state that is not valid. +// Check your resources to ensure that they are in valid states before retrying +// the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreatePortfolioShare func (c *ServiceCatalog) CreatePortfolioShare(input *CreatePortfolioShareInput) (*CreatePortfolioShareOutput, error) { @@ -1117,14 +1115,13 @@ const opCreateProduct = "CreateProduct" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProductRequest method. +// req, resp := client.CreateProductRequest(params) // -// // Example sending a request using the CreateProductRequest method. -// req, resp := client.CreateProductRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProduct func (c *ServiceCatalog) CreateProductRequest(input *CreateProductInput) (req *request.Request, output *CreateProductOutput) { @@ -1161,18 +1158,19 @@ func (c *ServiceCatalog) CreateProductRequest(input *CreateProductInput) (req *r // API operation CreateProduct for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * LimitExceededException -// The current limits of the service would have been exceeded by this operation. -// Decrease your resource use or increase your service limits and retry the -// operation. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - LimitExceededException +// The current limits of the service would have been exceeded by this operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // -// * TagOptionNotMigratedException -// An operation requiring TagOptions failed because the TagOptions migration -// process has not been performed for this account. Please use the AWS console -// to perform the migration process before retrying the operation. +// - TagOptionNotMigratedException +// An operation requiring TagOptions failed because the TagOptions migration +// process has not been performed for this account. Please use the AWS console +// to perform the migration process before retrying the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProduct func (c *ServiceCatalog) CreateProduct(input *CreateProductInput) (*CreateProductOutput, error) { @@ -1212,14 +1210,13 @@ const opCreateProvisionedProductPlan = "CreateProvisionedProductPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProvisionedProductPlanRequest method. +// req, resp := client.CreateProvisionedProductPlanRequest(params) // -// // Example sending a request using the CreateProvisionedProductPlanRequest method. -// req, resp := client.CreateProvisionedProductPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisionedProductPlan func (c *ServiceCatalog) CreateProvisionedProductPlanRequest(input *CreateProvisionedProductPlanInput) (req *request.Request, output *CreateProvisionedProductPlanOutput) { @@ -1258,16 +1255,17 @@ func (c *ServiceCatalog) CreateProvisionedProductPlanRequest(input *CreateProvis // API operation CreateProvisionedProductPlan for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // -// * InvalidStateException -// An attempt was made to modify a resource that is in a state that is not valid. -// Check your resources to ensure that they are in valid states before retrying -// the operation. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidStateException +// An attempt was made to modify a resource that is in a state that is not valid. +// Check your resources to ensure that they are in valid states before retrying +// the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisionedProductPlan func (c *ServiceCatalog) CreateProvisionedProductPlan(input *CreateProvisionedProductPlanInput) (*CreateProvisionedProductPlanOutput, error) { @@ -1307,14 +1305,13 @@ const opCreateProvisioningArtifact = "CreateProvisioningArtifact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProvisioningArtifactRequest method. +// req, resp := client.CreateProvisioningArtifactRequest(params) // -// // Example sending a request using the CreateProvisioningArtifactRequest method. -// req, resp := client.CreateProvisioningArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifact func (c *ServiceCatalog) CreateProvisioningArtifactRequest(input *CreateProvisioningArtifactInput) (req *request.Request, output *CreateProvisioningArtifactOutput) { @@ -1353,16 +1350,17 @@ func (c *ServiceCatalog) CreateProvisioningArtifactRequest(input *CreateProvisio // API operation CreateProvisioningArtifact for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // -// * LimitExceededException -// The current limits of the service would have been exceeded by this operation. -// Decrease your resource use or increase your service limits and retry the -// operation. +// - LimitExceededException +// The current limits of the service would have been exceeded by this operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateProvisioningArtifact func (c *ServiceCatalog) CreateProvisioningArtifact(input *CreateProvisioningArtifactInput) (*CreateProvisioningArtifactOutput, error) { @@ -1402,14 +1400,13 @@ const opCreateServiceAction = "CreateServiceAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateServiceActionRequest method. +// req, resp := client.CreateServiceActionRequest(params) // -// // Example sending a request using the CreateServiceActionRequest method. -// req, resp := client.CreateServiceActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateServiceAction func (c *ServiceCatalog) CreateServiceActionRequest(input *CreateServiceActionInput) (req *request.Request, output *CreateServiceActionOutput) { @@ -1440,13 +1437,14 @@ func (c *ServiceCatalog) CreateServiceActionRequest(input *CreateServiceActionIn // API operation CreateServiceAction for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * LimitExceededException -// The current limits of the service would have been exceeded by this operation. -// Decrease your resource use or increase your service limits and retry the -// operation. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - LimitExceededException +// The current limits of the service would have been exceeded by this operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateServiceAction func (c *ServiceCatalog) CreateServiceAction(input *CreateServiceActionInput) (*CreateServiceActionOutput, error) { @@ -1486,14 +1484,13 @@ const opCreateTagOption = "CreateTagOption" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTagOptionRequest method. +// req, resp := client.CreateTagOptionRequest(params) // -// // Example sending a request using the CreateTagOptionRequest method. -// req, resp := client.CreateTagOptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOption func (c *ServiceCatalog) CreateTagOptionRequest(input *CreateTagOptionInput) (req *request.Request, output *CreateTagOptionOutput) { @@ -1524,18 +1521,19 @@ func (c *ServiceCatalog) CreateTagOptionRequest(input *CreateTagOptionInput) (re // API operation CreateTagOption for usage and error information. // // Returned Error Types: -// * TagOptionNotMigratedException -// An operation requiring TagOptions failed because the TagOptions migration -// process has not been performed for this account. Please use the AWS console -// to perform the migration process before retrying the operation. // -// * DuplicateResourceException -// The specified resource is a duplicate. +// - TagOptionNotMigratedException +// An operation requiring TagOptions failed because the TagOptions migration +// process has not been performed for this account. Please use the AWS console +// to perform the migration process before retrying the operation. // -// * LimitExceededException -// The current limits of the service would have been exceeded by this operation. -// Decrease your resource use or increase your service limits and retry the -// operation. +// - DuplicateResourceException +// The specified resource is a duplicate. +// +// - LimitExceededException +// The current limits of the service would have been exceeded by this operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/CreateTagOption func (c *ServiceCatalog) CreateTagOption(input *CreateTagOptionInput) (*CreateTagOptionOutput, error) { @@ -1575,14 +1573,13 @@ const opDeleteConstraint = "DeleteConstraint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConstraintRequest method. +// req, resp := client.DeleteConstraintRequest(params) // -// // Example sending a request using the DeleteConstraintRequest method. -// req, resp := client.DeleteConstraintRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraint func (c *ServiceCatalog) DeleteConstraintRequest(input *DeleteConstraintInput) (req *request.Request, output *DeleteConstraintOutput) { @@ -1616,11 +1613,12 @@ func (c *ServiceCatalog) DeleteConstraintRequest(input *DeleteConstraintInput) ( // API operation DeleteConstraint for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteConstraint func (c *ServiceCatalog) DeleteConstraint(input *DeleteConstraintInput) (*DeleteConstraintOutput, error) { @@ -1660,14 +1658,13 @@ const opDeletePortfolio = "DeletePortfolio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePortfolioRequest method. +// req, resp := client.DeletePortfolioRequest(params) // -// // Example sending a request using the DeletePortfolioRequest method. -// req, resp := client.DeletePortfolioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolio func (c *ServiceCatalog) DeletePortfolioRequest(input *DeletePortfolioInput) (req *request.Request, output *DeletePortfolioOutput) { @@ -1704,20 +1701,21 @@ func (c *ServiceCatalog) DeletePortfolioRequest(input *DeletePortfolioInput) (re // API operation DeletePortfolio for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // -// * ResourceInUseException -// A resource that is currently in use. Ensure that the resource is not in use -// and retry the operation. +// - ResourceInUseException +// A resource that is currently in use. Ensure that the resource is not in use +// and retry the operation. // -// * TagOptionNotMigratedException -// An operation requiring TagOptions failed because the TagOptions migration -// process has not been performed for this account. Please use the AWS console -// to perform the migration process before retrying the operation. +// - TagOptionNotMigratedException +// An operation requiring TagOptions failed because the TagOptions migration +// process has not been performed for this account. Please use the AWS console +// to perform the migration process before retrying the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolio func (c *ServiceCatalog) DeletePortfolio(input *DeletePortfolioInput) (*DeletePortfolioOutput, error) { @@ -1757,14 +1755,13 @@ const opDeletePortfolioShare = "DeletePortfolioShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePortfolioShareRequest method. +// req, resp := client.DeletePortfolioShareRequest(params) // -// // Example sending a request using the DeletePortfolioShareRequest method. -// req, resp := client.DeletePortfolioShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShare func (c *ServiceCatalog) DeletePortfolioShareRequest(input *DeletePortfolioShareInput) (req *request.Request, output *DeletePortfolioShareOutput) { @@ -1800,19 +1797,20 @@ func (c *ServiceCatalog) DeletePortfolioShareRequest(input *DeletePortfolioShare // API operation DeletePortfolioShare for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // -// * OperationNotSupportedException -// The operation is not supported. +// - OperationNotSupportedException +// The operation is not supported. // -// * InvalidStateException -// An attempt was made to modify a resource that is in a state that is not valid. -// Check your resources to ensure that they are in valid states before retrying -// the operation. +// - InvalidStateException +// An attempt was made to modify a resource that is in a state that is not valid. +// Check your resources to ensure that they are in valid states before retrying +// the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeletePortfolioShare func (c *ServiceCatalog) DeletePortfolioShare(input *DeletePortfolioShareInput) (*DeletePortfolioShareOutput, error) { @@ -1852,14 +1850,13 @@ const opDeleteProduct = "DeleteProduct" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProductRequest method. +// req, resp := client.DeleteProductRequest(params) // -// // Example sending a request using the DeleteProductRequest method. -// req, resp := client.DeleteProductRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProduct func (c *ServiceCatalog) DeleteProductRequest(input *DeleteProductInput) (req *request.Request, output *DeleteProductOutput) { @@ -1896,20 +1893,21 @@ func (c *ServiceCatalog) DeleteProductRequest(input *DeleteProductInput) (req *r // API operation DeleteProduct for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ResourceInUseException -// A resource that is currently in use. Ensure that the resource is not in use -// and retry the operation. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceInUseException +// A resource that is currently in use. Ensure that the resource is not in use +// and retry the operation. // -// * TagOptionNotMigratedException -// An operation requiring TagOptions failed because the TagOptions migration -// process has not been performed for this account. Please use the AWS console -// to perform the migration process before retrying the operation. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - TagOptionNotMigratedException +// An operation requiring TagOptions failed because the TagOptions migration +// process has not been performed for this account. Please use the AWS console +// to perform the migration process before retrying the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProduct func (c *ServiceCatalog) DeleteProduct(input *DeleteProductInput) (*DeleteProductOutput, error) { @@ -1949,14 +1947,13 @@ const opDeleteProvisionedProductPlan = "DeleteProvisionedProductPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProvisionedProductPlanRequest method. +// req, resp := client.DeleteProvisionedProductPlanRequest(params) // -// // Example sending a request using the DeleteProvisionedProductPlanRequest method. -// req, resp := client.DeleteProvisionedProductPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisionedProductPlan func (c *ServiceCatalog) DeleteProvisionedProductPlanRequest(input *DeleteProvisionedProductPlanInput) (req *request.Request, output *DeleteProvisionedProductPlanOutput) { @@ -1988,11 +1985,12 @@ func (c *ServiceCatalog) DeleteProvisionedProductPlanRequest(input *DeleteProvis // API operation DeleteProvisionedProductPlan for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisionedProductPlan func (c *ServiceCatalog) DeleteProvisionedProductPlan(input *DeleteProvisionedProductPlanInput) (*DeleteProvisionedProductPlanOutput, error) { @@ -2032,14 +2030,13 @@ const opDeleteProvisioningArtifact = "DeleteProvisioningArtifact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProvisioningArtifactRequest method. +// req, resp := client.DeleteProvisioningArtifactRequest(params) // -// // Example sending a request using the DeleteProvisioningArtifactRequest method. -// req, resp := client.DeleteProvisioningArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifact func (c *ServiceCatalog) DeleteProvisioningArtifactRequest(input *DeleteProvisioningArtifactInput) (req *request.Request, output *DeleteProvisioningArtifactOutput) { @@ -2076,15 +2073,16 @@ func (c *ServiceCatalog) DeleteProvisioningArtifactRequest(input *DeleteProvisio // API operation DeleteProvisioningArtifact for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ResourceInUseException -// A resource that is currently in use. Ensure that the resource is not in use -// and retry the operation. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ResourceInUseException +// A resource that is currently in use. Ensure that the resource is not in use +// and retry the operation. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteProvisioningArtifact func (c *ServiceCatalog) DeleteProvisioningArtifact(input *DeleteProvisioningArtifactInput) (*DeleteProvisioningArtifactOutput, error) { @@ -2124,14 +2122,13 @@ const opDeleteServiceAction = "DeleteServiceAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServiceActionRequest method. +// req, resp := client.DeleteServiceActionRequest(params) // -// // Example sending a request using the DeleteServiceActionRequest method. -// req, resp := client.DeleteServiceActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteServiceAction func (c *ServiceCatalog) DeleteServiceActionRequest(input *DeleteServiceActionInput) (req *request.Request, output *DeleteServiceActionOutput) { @@ -2163,12 +2160,13 @@ func (c *ServiceCatalog) DeleteServiceActionRequest(input *DeleteServiceActionIn // API operation DeleteServiceAction for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ResourceInUseException -// A resource that is currently in use. Ensure that the resource is not in use -// and retry the operation. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ResourceInUseException +// A resource that is currently in use. Ensure that the resource is not in use +// and retry the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteServiceAction func (c *ServiceCatalog) DeleteServiceAction(input *DeleteServiceActionInput) (*DeleteServiceActionOutput, error) { @@ -2208,14 +2206,13 @@ const opDeleteTagOption = "DeleteTagOption" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTagOptionRequest method. +// req, resp := client.DeleteTagOptionRequest(params) // -// // Example sending a request using the DeleteTagOptionRequest method. -// req, resp := client.DeleteTagOptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteTagOption func (c *ServiceCatalog) DeleteTagOptionRequest(input *DeleteTagOptionInput) (req *request.Request, output *DeleteTagOptionOutput) { @@ -2249,17 +2246,18 @@ func (c *ServiceCatalog) DeleteTagOptionRequest(input *DeleteTagOptionInput) (re // API operation DeleteTagOption for usage and error information. // // Returned Error Types: -// * TagOptionNotMigratedException -// An operation requiring TagOptions failed because the TagOptions migration -// process has not been performed for this account. Please use the AWS console -// to perform the migration process before retrying the operation. // -// * ResourceInUseException -// A resource that is currently in use. Ensure that the resource is not in use -// and retry the operation. +// - TagOptionNotMigratedException +// An operation requiring TagOptions failed because the TagOptions migration +// process has not been performed for this account. Please use the AWS console +// to perform the migration process before retrying the operation. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceInUseException +// A resource that is currently in use. Ensure that the resource is not in use +// and retry the operation. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DeleteTagOption func (c *ServiceCatalog) DeleteTagOption(input *DeleteTagOptionInput) (*DeleteTagOptionOutput, error) { @@ -2299,14 +2297,13 @@ const opDescribeConstraint = "DescribeConstraint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConstraintRequest method. +// req, resp := client.DescribeConstraintRequest(params) // -// // Example sending a request using the DescribeConstraintRequest method. -// req, resp := client.DescribeConstraintRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeConstraint func (c *ServiceCatalog) DescribeConstraintRequest(input *DescribeConstraintInput) (req *request.Request, output *DescribeConstraintOutput) { @@ -2337,8 +2334,8 @@ func (c *ServiceCatalog) DescribeConstraintRequest(input *DescribeConstraintInpu // API operation DescribeConstraint for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeConstraint func (c *ServiceCatalog) DescribeConstraint(input *DescribeConstraintInput) (*DescribeConstraintOutput, error) { @@ -2378,14 +2375,13 @@ const opDescribeCopyProductStatus = "DescribeCopyProductStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCopyProductStatusRequest method. +// req, resp := client.DescribeCopyProductStatusRequest(params) // -// // Example sending a request using the DescribeCopyProductStatusRequest method. -// req, resp := client.DescribeCopyProductStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeCopyProductStatus func (c *ServiceCatalog) DescribeCopyProductStatusRequest(input *DescribeCopyProductStatusInput) (req *request.Request, output *DescribeCopyProductStatusOutput) { @@ -2416,8 +2412,8 @@ func (c *ServiceCatalog) DescribeCopyProductStatusRequest(input *DescribeCopyPro // API operation DescribeCopyProductStatus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeCopyProductStatus func (c *ServiceCatalog) DescribeCopyProductStatus(input *DescribeCopyProductStatusInput) (*DescribeCopyProductStatusOutput, error) { @@ -2457,14 +2453,13 @@ const opDescribePortfolio = "DescribePortfolio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePortfolioRequest method. +// req, resp := client.DescribePortfolioRequest(params) // -// // Example sending a request using the DescribePortfolioRequest method. -// req, resp := client.DescribePortfolioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolio func (c *ServiceCatalog) DescribePortfolioRequest(input *DescribePortfolioInput) (req *request.Request, output *DescribePortfolioOutput) { @@ -2497,8 +2492,8 @@ func (c *ServiceCatalog) DescribePortfolioRequest(input *DescribePortfolioInput) // API operation DescribePortfolio for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolio func (c *ServiceCatalog) DescribePortfolio(input *DescribePortfolioInput) (*DescribePortfolioOutput, error) { @@ -2538,14 +2533,13 @@ const opDescribePortfolioShareStatus = "DescribePortfolioShareStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePortfolioShareStatusRequest method. +// req, resp := client.DescribePortfolioShareStatusRequest(params) // -// // Example sending a request using the DescribePortfolioShareStatusRequest method. -// req, resp := client.DescribePortfolioShareStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioShareStatus func (c *ServiceCatalog) DescribePortfolioShareStatusRequest(input *DescribePortfolioShareStatusInput) (req *request.Request, output *DescribePortfolioShareStatusOutput) { @@ -2578,14 +2572,15 @@ func (c *ServiceCatalog) DescribePortfolioShareStatusRequest(input *DescribePort // API operation DescribePortfolioShareStatus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // -// * OperationNotSupportedException -// The operation is not supported. +// - OperationNotSupportedException +// The operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioShareStatus func (c *ServiceCatalog) DescribePortfolioShareStatus(input *DescribePortfolioShareStatusInput) (*DescribePortfolioShareStatusOutput, error) { @@ -2625,14 +2620,13 @@ const opDescribePortfolioShares = "DescribePortfolioShares" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePortfolioSharesRequest method. +// req, resp := client.DescribePortfolioSharesRequest(params) // -// // Example sending a request using the DescribePortfolioSharesRequest method. -// req, resp := client.DescribePortfolioSharesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioShares func (c *ServiceCatalog) DescribePortfolioSharesRequest(input *DescribePortfolioSharesInput) (req *request.Request, output *DescribePortfolioSharesOutput) { @@ -2676,11 +2670,12 @@ func (c *ServiceCatalog) DescribePortfolioSharesRequest(input *DescribePortfolio // API operation DescribePortfolioShares for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribePortfolioShares func (c *ServiceCatalog) DescribePortfolioShares(input *DescribePortfolioSharesInput) (*DescribePortfolioSharesOutput, error) { @@ -2712,15 +2707,14 @@ func (c *ServiceCatalog) DescribePortfolioSharesWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePortfolioShares operation. -// pageNum := 0 -// err := client.DescribePortfolioSharesPages(params, -// func(page *servicecatalog.DescribePortfolioSharesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePortfolioShares operation. +// pageNum := 0 +// err := client.DescribePortfolioSharesPages(params, +// func(page *servicecatalog.DescribePortfolioSharesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) DescribePortfolioSharesPages(input *DescribePortfolioSharesInput, fn func(*DescribePortfolioSharesOutput, bool) bool) error { return c.DescribePortfolioSharesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2772,14 +2766,13 @@ const opDescribeProduct = "DescribeProduct" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProductRequest method. +// req, resp := client.DescribeProductRequest(params) // -// // Example sending a request using the DescribeProductRequest method. -// req, resp := client.DescribeProductRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProduct func (c *ServiceCatalog) DescribeProductRequest(input *DescribeProductInput) (req *request.Request, output *DescribeProductOutput) { @@ -2810,11 +2803,12 @@ func (c *ServiceCatalog) DescribeProductRequest(input *DescribeProductInput) (re // API operation DescribeProduct for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProduct func (c *ServiceCatalog) DescribeProduct(input *DescribeProductInput) (*DescribeProductOutput, error) { @@ -2854,14 +2848,13 @@ const opDescribeProductAsAdmin = "DescribeProductAsAdmin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProductAsAdminRequest method. +// req, resp := client.DescribeProductAsAdminRequest(params) // -// // Example sending a request using the DescribeProductAsAdminRequest method. -// req, resp := client.DescribeProductAsAdminRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdmin func (c *ServiceCatalog) DescribeProductAsAdminRequest(input *DescribeProductAsAdminInput) (req *request.Request, output *DescribeProductAsAdminOutput) { @@ -2893,11 +2886,12 @@ func (c *ServiceCatalog) DescribeProductAsAdminRequest(input *DescribeProductAsA // API operation DescribeProductAsAdmin for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductAsAdmin func (c *ServiceCatalog) DescribeProductAsAdmin(input *DescribeProductAsAdminInput) (*DescribeProductAsAdminOutput, error) { @@ -2937,14 +2931,13 @@ const opDescribeProductView = "DescribeProductView" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProductViewRequest method. +// req, resp := client.DescribeProductViewRequest(params) // -// // Example sending a request using the DescribeProductViewRequest method. -// req, resp := client.DescribeProductViewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductView func (c *ServiceCatalog) DescribeProductViewRequest(input *DescribeProductViewInput) (req *request.Request, output *DescribeProductViewOutput) { @@ -2975,11 +2968,12 @@ func (c *ServiceCatalog) DescribeProductViewRequest(input *DescribeProductViewIn // API operation DescribeProductView for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProductView func (c *ServiceCatalog) DescribeProductView(input *DescribeProductViewInput) (*DescribeProductViewOutput, error) { @@ -3019,14 +3013,13 @@ const opDescribeProvisionedProduct = "DescribeProvisionedProduct" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProvisionedProductRequest method. +// req, resp := client.DescribeProvisionedProductRequest(params) // -// // Example sending a request using the DescribeProvisionedProductRequest method. -// req, resp := client.DescribeProvisionedProductRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProduct func (c *ServiceCatalog) DescribeProvisionedProductRequest(input *DescribeProvisionedProductInput) (req *request.Request, output *DescribeProvisionedProductOutput) { @@ -3057,11 +3050,12 @@ func (c *ServiceCatalog) DescribeProvisionedProductRequest(input *DescribeProvis // API operation DescribeProvisionedProduct for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProduct func (c *ServiceCatalog) DescribeProvisionedProduct(input *DescribeProvisionedProductInput) (*DescribeProvisionedProductOutput, error) { @@ -3101,14 +3095,13 @@ const opDescribeProvisionedProductPlan = "DescribeProvisionedProductPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProvisionedProductPlanRequest method. +// req, resp := client.DescribeProvisionedProductPlanRequest(params) // -// // Example sending a request using the DescribeProvisionedProductPlanRequest method. -// req, resp := client.DescribeProvisionedProductPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProductPlan func (c *ServiceCatalog) DescribeProvisionedProductPlanRequest(input *DescribeProvisionedProductPlanInput) (req *request.Request, output *DescribeProvisionedProductPlanOutput) { @@ -3139,11 +3132,12 @@ func (c *ServiceCatalog) DescribeProvisionedProductPlanRequest(input *DescribePr // API operation DescribeProvisionedProductPlan for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisionedProductPlan func (c *ServiceCatalog) DescribeProvisionedProductPlan(input *DescribeProvisionedProductPlanInput) (*DescribeProvisionedProductPlanOutput, error) { @@ -3183,14 +3177,13 @@ const opDescribeProvisioningArtifact = "DescribeProvisioningArtifact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProvisioningArtifactRequest method. +// req, resp := client.DescribeProvisioningArtifactRequest(params) // -// // Example sending a request using the DescribeProvisioningArtifactRequest method. -// req, resp := client.DescribeProvisioningArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifact func (c *ServiceCatalog) DescribeProvisioningArtifactRequest(input *DescribeProvisioningArtifactInput) (req *request.Request, output *DescribeProvisioningArtifactOutput) { @@ -3222,11 +3215,12 @@ func (c *ServiceCatalog) DescribeProvisioningArtifactRequest(input *DescribeProv // API operation DescribeProvisioningArtifact for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningArtifact func (c *ServiceCatalog) DescribeProvisioningArtifact(input *DescribeProvisioningArtifactInput) (*DescribeProvisioningArtifactOutput, error) { @@ -3266,14 +3260,13 @@ const opDescribeProvisioningParameters = "DescribeProvisioningParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProvisioningParametersRequest method. +// req, resp := client.DescribeProvisioningParametersRequest(params) // -// // Example sending a request using the DescribeProvisioningParametersRequest method. -// req, resp := client.DescribeProvisioningParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParameters func (c *ServiceCatalog) DescribeProvisioningParametersRequest(input *DescribeProvisioningParametersInput) (req *request.Request, output *DescribeProvisioningParametersOutput) { @@ -3312,11 +3305,12 @@ func (c *ServiceCatalog) DescribeProvisioningParametersRequest(input *DescribePr // API operation DescribeProvisioningParameters for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeProvisioningParameters func (c *ServiceCatalog) DescribeProvisioningParameters(input *DescribeProvisioningParametersInput) (*DescribeProvisioningParametersOutput, error) { @@ -3356,14 +3350,13 @@ const opDescribeRecord = "DescribeRecord" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRecordRequest method. +// req, resp := client.DescribeRecordRequest(params) // -// // Example sending a request using the DescribeRecordRequest method. -// req, resp := client.DescribeRecordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecord func (c *ServiceCatalog) DescribeRecordRequest(input *DescribeRecordInput) (req *request.Request, output *DescribeRecordOutput) { @@ -3403,8 +3396,8 @@ func (c *ServiceCatalog) DescribeRecordRequest(input *DescribeRecordInput) (req // API operation DescribeRecord for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeRecord func (c *ServiceCatalog) DescribeRecord(input *DescribeRecordInput) (*DescribeRecordOutput, error) { @@ -3444,14 +3437,13 @@ const opDescribeServiceAction = "DescribeServiceAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeServiceActionRequest method. +// req, resp := client.DescribeServiceActionRequest(params) // -// // Example sending a request using the DescribeServiceActionRequest method. -// req, resp := client.DescribeServiceActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeServiceAction func (c *ServiceCatalog) DescribeServiceActionRequest(input *DescribeServiceActionInput) (req *request.Request, output *DescribeServiceActionOutput) { @@ -3482,8 +3474,8 @@ func (c *ServiceCatalog) DescribeServiceActionRequest(input *DescribeServiceActi // API operation DescribeServiceAction for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeServiceAction func (c *ServiceCatalog) DescribeServiceAction(input *DescribeServiceActionInput) (*DescribeServiceActionOutput, error) { @@ -3523,14 +3515,13 @@ const opDescribeServiceActionExecutionParameters = "DescribeServiceActionExecuti // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeServiceActionExecutionParametersRequest method. +// req, resp := client.DescribeServiceActionExecutionParametersRequest(params) // -// // Example sending a request using the DescribeServiceActionExecutionParametersRequest method. -// req, resp := client.DescribeServiceActionExecutionParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeServiceActionExecutionParameters func (c *ServiceCatalog) DescribeServiceActionExecutionParametersRequest(input *DescribeServiceActionExecutionParametersInput) (req *request.Request, output *DescribeServiceActionExecutionParametersOutput) { @@ -3562,11 +3553,12 @@ func (c *ServiceCatalog) DescribeServiceActionExecutionParametersRequest(input * // API operation DescribeServiceActionExecutionParameters for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeServiceActionExecutionParameters func (c *ServiceCatalog) DescribeServiceActionExecutionParameters(input *DescribeServiceActionExecutionParametersInput) (*DescribeServiceActionExecutionParametersOutput, error) { @@ -3606,14 +3598,13 @@ const opDescribeTagOption = "DescribeTagOption" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTagOptionRequest method. +// req, resp := client.DescribeTagOptionRequest(params) // -// // Example sending a request using the DescribeTagOptionRequest method. -// req, resp := client.DescribeTagOptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOption func (c *ServiceCatalog) DescribeTagOptionRequest(input *DescribeTagOptionInput) (req *request.Request, output *DescribeTagOptionOutput) { @@ -3644,13 +3635,14 @@ func (c *ServiceCatalog) DescribeTagOptionRequest(input *DescribeTagOptionInput) // API operation DescribeTagOption for usage and error information. // // Returned Error Types: -// * TagOptionNotMigratedException -// An operation requiring TagOptions failed because the TagOptions migration -// process has not been performed for this account. Please use the AWS console -// to perform the migration process before retrying the operation. // -// * ResourceNotFoundException -// The specified resource was not found. +// - TagOptionNotMigratedException +// An operation requiring TagOptions failed because the TagOptions migration +// process has not been performed for this account. Please use the AWS console +// to perform the migration process before retrying the operation. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DescribeTagOption func (c *ServiceCatalog) DescribeTagOption(input *DescribeTagOptionInput) (*DescribeTagOptionOutput, error) { @@ -3690,14 +3682,13 @@ const opDisableAWSOrganizationsAccess = "DisableAWSOrganizationsAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableAWSOrganizationsAccessRequest method. +// req, resp := client.DisableAWSOrganizationsAccessRequest(params) // -// // Example sending a request using the DisableAWSOrganizationsAccessRequest method. -// req, resp := client.DisableAWSOrganizationsAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisableAWSOrganizationsAccess func (c *ServiceCatalog) DisableAWSOrganizationsAccessRequest(input *DisableAWSOrganizationsAccessInput) (req *request.Request, output *DisableAWSOrganizationsAccessOutput) { @@ -3738,16 +3729,17 @@ func (c *ServiceCatalog) DisableAWSOrganizationsAccessRequest(input *DisableAWSO // API operation DisableAWSOrganizationsAccess for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidStateException -// An attempt was made to modify a resource that is in a state that is not valid. -// Check your resources to ensure that they are in valid states before retrying -// the operation. +// - ResourceNotFoundException +// The specified resource was not found. // -// * OperationNotSupportedException -// The operation is not supported. +// - InvalidStateException +// An attempt was made to modify a resource that is in a state that is not valid. +// Check your resources to ensure that they are in valid states before retrying +// the operation. +// +// - OperationNotSupportedException +// The operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisableAWSOrganizationsAccess func (c *ServiceCatalog) DisableAWSOrganizationsAccess(input *DisableAWSOrganizationsAccessInput) (*DisableAWSOrganizationsAccessOutput, error) { @@ -3787,14 +3779,13 @@ const opDisassociateBudgetFromResource = "DisassociateBudgetFromResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateBudgetFromResourceRequest method. +// req, resp := client.DisassociateBudgetFromResourceRequest(params) // -// // Example sending a request using the DisassociateBudgetFromResourceRequest method. -// req, resp := client.DisassociateBudgetFromResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateBudgetFromResource func (c *ServiceCatalog) DisassociateBudgetFromResourceRequest(input *DisassociateBudgetFromResourceInput) (req *request.Request, output *DisassociateBudgetFromResourceOutput) { @@ -3826,8 +3817,8 @@ func (c *ServiceCatalog) DisassociateBudgetFromResourceRequest(input *Disassocia // API operation DisassociateBudgetFromResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateBudgetFromResource func (c *ServiceCatalog) DisassociateBudgetFromResource(input *DisassociateBudgetFromResourceInput) (*DisassociateBudgetFromResourceOutput, error) { @@ -3867,14 +3858,13 @@ const opDisassociatePrincipalFromPortfolio = "DisassociatePrincipalFromPortfolio // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociatePrincipalFromPortfolioRequest method. +// req, resp := client.DisassociatePrincipalFromPortfolioRequest(params) // -// // Example sending a request using the DisassociatePrincipalFromPortfolioRequest method. -// req, resp := client.DisassociatePrincipalFromPortfolioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolio func (c *ServiceCatalog) DisassociatePrincipalFromPortfolioRequest(input *DisassociatePrincipalFromPortfolioInput) (req *request.Request, output *DisassociatePrincipalFromPortfolioOutput) { @@ -3906,11 +3896,12 @@ func (c *ServiceCatalog) DisassociatePrincipalFromPortfolioRequest(input *Disass // API operation DisassociatePrincipalFromPortfolio for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociatePrincipalFromPortfolio func (c *ServiceCatalog) DisassociatePrincipalFromPortfolio(input *DisassociatePrincipalFromPortfolioInput) (*DisassociatePrincipalFromPortfolioOutput, error) { @@ -3950,14 +3941,13 @@ const opDisassociateProductFromPortfolio = "DisassociateProductFromPortfolio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateProductFromPortfolioRequest method. +// req, resp := client.DisassociateProductFromPortfolioRequest(params) // -// // Example sending a request using the DisassociateProductFromPortfolioRequest method. -// req, resp := client.DisassociateProductFromPortfolioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateProductFromPortfolio func (c *ServiceCatalog) DisassociateProductFromPortfolioRequest(input *DisassociateProductFromPortfolioInput) (req *request.Request, output *DisassociateProductFromPortfolioOutput) { @@ -3991,15 +3981,16 @@ func (c *ServiceCatalog) DisassociateProductFromPortfolioRequest(input *Disassoc // API operation DisassociateProductFromPortfolio for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * ResourceInUseException -// A resource that is currently in use. Ensure that the resource is not in use -// and retry the operation. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ResourceInUseException +// A resource that is currently in use. Ensure that the resource is not in use +// and retry the operation. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateProductFromPortfolio func (c *ServiceCatalog) DisassociateProductFromPortfolio(input *DisassociateProductFromPortfolioInput) (*DisassociateProductFromPortfolioOutput, error) { @@ -4039,14 +4030,13 @@ const opDisassociateServiceActionFromProvisioningArtifact = "DisassociateService // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateServiceActionFromProvisioningArtifactRequest method. +// req, resp := client.DisassociateServiceActionFromProvisioningArtifactRequest(params) // -// // Example sending a request using the DisassociateServiceActionFromProvisioningArtifactRequest method. -// req, resp := client.DisassociateServiceActionFromProvisioningArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateServiceActionFromProvisioningArtifact func (c *ServiceCatalog) DisassociateServiceActionFromProvisioningArtifactRequest(input *DisassociateServiceActionFromProvisioningArtifactInput) (req *request.Request, output *DisassociateServiceActionFromProvisioningArtifactOutput) { @@ -4079,8 +4069,8 @@ func (c *ServiceCatalog) DisassociateServiceActionFromProvisioningArtifactReques // API operation DisassociateServiceActionFromProvisioningArtifact for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateServiceActionFromProvisioningArtifact func (c *ServiceCatalog) DisassociateServiceActionFromProvisioningArtifact(input *DisassociateServiceActionFromProvisioningArtifactInput) (*DisassociateServiceActionFromProvisioningArtifactOutput, error) { @@ -4120,14 +4110,13 @@ const opDisassociateTagOptionFromResource = "DisassociateTagOptionFromResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateTagOptionFromResourceRequest method. +// req, resp := client.DisassociateTagOptionFromResourceRequest(params) // -// // Example sending a request using the DisassociateTagOptionFromResourceRequest method. -// req, resp := client.DisassociateTagOptionFromResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateTagOptionFromResource func (c *ServiceCatalog) DisassociateTagOptionFromResourceRequest(input *DisassociateTagOptionFromResourceInput) (req *request.Request, output *DisassociateTagOptionFromResourceOutput) { @@ -4159,13 +4148,14 @@ func (c *ServiceCatalog) DisassociateTagOptionFromResourceRequest(input *Disasso // API operation DisassociateTagOptionFromResource for usage and error information. // // Returned Error Types: -// * TagOptionNotMigratedException -// An operation requiring TagOptions failed because the TagOptions migration -// process has not been performed for this account. Please use the AWS console -// to perform the migration process before retrying the operation. // -// * ResourceNotFoundException -// The specified resource was not found. +// - TagOptionNotMigratedException +// An operation requiring TagOptions failed because the TagOptions migration +// process has not been performed for this account. Please use the AWS console +// to perform the migration process before retrying the operation. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/DisassociateTagOptionFromResource func (c *ServiceCatalog) DisassociateTagOptionFromResource(input *DisassociateTagOptionFromResourceInput) (*DisassociateTagOptionFromResourceOutput, error) { @@ -4205,14 +4195,13 @@ const opEnableAWSOrganizationsAccess = "EnableAWSOrganizationsAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableAWSOrganizationsAccessRequest method. +// req, resp := client.EnableAWSOrganizationsAccessRequest(params) // -// // Example sending a request using the EnableAWSOrganizationsAccessRequest method. -// req, resp := client.EnableAWSOrganizationsAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/EnableAWSOrganizationsAccess func (c *ServiceCatalog) EnableAWSOrganizationsAccessRequest(input *EnableAWSOrganizationsAccessInput) (req *request.Request, output *EnableAWSOrganizationsAccessOutput) { @@ -4253,16 +4242,17 @@ func (c *ServiceCatalog) EnableAWSOrganizationsAccessRequest(input *EnableAWSOrg // API operation EnableAWSOrganizationsAccess for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidStateException -// An attempt was made to modify a resource that is in a state that is not valid. -// Check your resources to ensure that they are in valid states before retrying -// the operation. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidStateException +// An attempt was made to modify a resource that is in a state that is not valid. +// Check your resources to ensure that they are in valid states before retrying +// the operation. // -// * OperationNotSupportedException -// The operation is not supported. +// - OperationNotSupportedException +// The operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/EnableAWSOrganizationsAccess func (c *ServiceCatalog) EnableAWSOrganizationsAccess(input *EnableAWSOrganizationsAccessInput) (*EnableAWSOrganizationsAccessOutput, error) { @@ -4302,14 +4292,13 @@ const opExecuteProvisionedProductPlan = "ExecuteProvisionedProductPlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExecuteProvisionedProductPlanRequest method. +// req, resp := client.ExecuteProvisionedProductPlanRequest(params) // -// // Example sending a request using the ExecuteProvisionedProductPlanRequest method. -// req, resp := client.ExecuteProvisionedProductPlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ExecuteProvisionedProductPlan func (c *ServiceCatalog) ExecuteProvisionedProductPlanRequest(input *ExecuteProvisionedProductPlanInput) (req *request.Request, output *ExecuteProvisionedProductPlanOutput) { @@ -4341,16 +4330,17 @@ func (c *ServiceCatalog) ExecuteProvisionedProductPlanRequest(input *ExecuteProv // API operation ExecuteProvisionedProductPlan for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidStateException -// An attempt was made to modify a resource that is in a state that is not valid. -// Check your resources to ensure that they are in valid states before retrying -// the operation. +// - InvalidStateException +// An attempt was made to modify a resource that is in a state that is not valid. +// Check your resources to ensure that they are in valid states before retrying +// the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ExecuteProvisionedProductPlan func (c *ServiceCatalog) ExecuteProvisionedProductPlan(input *ExecuteProvisionedProductPlanInput) (*ExecuteProvisionedProductPlanOutput, error) { @@ -4390,14 +4380,13 @@ const opExecuteProvisionedProductServiceAction = "ExecuteProvisionedProductServi // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExecuteProvisionedProductServiceActionRequest method. +// req, resp := client.ExecuteProvisionedProductServiceActionRequest(params) // -// // Example sending a request using the ExecuteProvisionedProductServiceActionRequest method. -// req, resp := client.ExecuteProvisionedProductServiceActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ExecuteProvisionedProductServiceAction func (c *ServiceCatalog) ExecuteProvisionedProductServiceActionRequest(input *ExecuteProvisionedProductServiceActionInput) (req *request.Request, output *ExecuteProvisionedProductServiceActionOutput) { @@ -4428,16 +4417,17 @@ func (c *ServiceCatalog) ExecuteProvisionedProductServiceActionRequest(input *Ex // API operation ExecuteProvisionedProductServiceAction for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // -// * InvalidStateException -// An attempt was made to modify a resource that is in a state that is not valid. -// Check your resources to ensure that they are in valid states before retrying -// the operation. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidStateException +// An attempt was made to modify a resource that is in a state that is not valid. +// Check your resources to ensure that they are in valid states before retrying +// the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ExecuteProvisionedProductServiceAction func (c *ServiceCatalog) ExecuteProvisionedProductServiceAction(input *ExecuteProvisionedProductServiceActionInput) (*ExecuteProvisionedProductServiceActionOutput, error) { @@ -4477,14 +4467,13 @@ const opGetAWSOrganizationsAccessStatus = "GetAWSOrganizationsAccessStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAWSOrganizationsAccessStatusRequest method. +// req, resp := client.GetAWSOrganizationsAccessStatusRequest(params) // -// // Example sending a request using the GetAWSOrganizationsAccessStatusRequest method. -// req, resp := client.GetAWSOrganizationsAccessStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/GetAWSOrganizationsAccessStatus func (c *ServiceCatalog) GetAWSOrganizationsAccessStatusRequest(input *GetAWSOrganizationsAccessStatusInput) (req *request.Request, output *GetAWSOrganizationsAccessStatusOutput) { @@ -4517,11 +4506,12 @@ func (c *ServiceCatalog) GetAWSOrganizationsAccessStatusRequest(input *GetAWSOrg // API operation GetAWSOrganizationsAccessStatus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * OperationNotSupportedException -// The operation is not supported. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - OperationNotSupportedException +// The operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/GetAWSOrganizationsAccessStatus func (c *ServiceCatalog) GetAWSOrganizationsAccessStatus(input *GetAWSOrganizationsAccessStatusInput) (*GetAWSOrganizationsAccessStatusOutput, error) { @@ -4561,14 +4551,13 @@ const opGetProvisionedProductOutputs = "GetProvisionedProductOutputs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetProvisionedProductOutputsRequest method. +// req, resp := client.GetProvisionedProductOutputsRequest(params) // -// // Example sending a request using the GetProvisionedProductOutputsRequest method. -// req, resp := client.GetProvisionedProductOutputsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/GetProvisionedProductOutputs func (c *ServiceCatalog) GetProvisionedProductOutputsRequest(input *GetProvisionedProductOutputsInput) (req *request.Request, output *GetProvisionedProductOutputsOutput) { @@ -4607,11 +4596,12 @@ func (c *ServiceCatalog) GetProvisionedProductOutputsRequest(input *GetProvision // API operation GetProvisionedProductOutputs for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/GetProvisionedProductOutputs func (c *ServiceCatalog) GetProvisionedProductOutputs(input *GetProvisionedProductOutputsInput) (*GetProvisionedProductOutputsOutput, error) { @@ -4643,15 +4633,14 @@ func (c *ServiceCatalog) GetProvisionedProductOutputsWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetProvisionedProductOutputs operation. -// pageNum := 0 -// err := client.GetProvisionedProductOutputsPages(params, -// func(page *servicecatalog.GetProvisionedProductOutputsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetProvisionedProductOutputs operation. +// pageNum := 0 +// err := client.GetProvisionedProductOutputsPages(params, +// func(page *servicecatalog.GetProvisionedProductOutputsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) GetProvisionedProductOutputsPages(input *GetProvisionedProductOutputsInput, fn func(*GetProvisionedProductOutputsOutput, bool) bool) error { return c.GetProvisionedProductOutputsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4703,14 +4692,13 @@ const opImportAsProvisionedProduct = "ImportAsProvisionedProduct" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportAsProvisionedProductRequest method. +// req, resp := client.ImportAsProvisionedProductRequest(params) // -// // Example sending a request using the ImportAsProvisionedProductRequest method. -// req, resp := client.ImportAsProvisionedProductRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ImportAsProvisionedProduct func (c *ServiceCatalog) ImportAsProvisionedProductRequest(input *ImportAsProvisionedProductInput) (req *request.Request, output *ImportAsProvisionedProductOutput) { @@ -4757,19 +4745,20 @@ func (c *ServiceCatalog) ImportAsProvisionedProductRequest(input *ImportAsProvis // API operation ImportAsProvisionedProduct for usage and error information. // // Returned Error Types: -// * DuplicateResourceException -// The specified resource is a duplicate. // -// * InvalidStateException -// An attempt was made to modify a resource that is in a state that is not valid. -// Check your resources to ensure that they are in valid states before retrying -// the operation. +// - DuplicateResourceException +// The specified resource is a duplicate. +// +// - InvalidStateException +// An attempt was made to modify a resource that is in a state that is not valid. +// Check your resources to ensure that they are in valid states before retrying +// the operation. // -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ImportAsProvisionedProduct func (c *ServiceCatalog) ImportAsProvisionedProduct(input *ImportAsProvisionedProductInput) (*ImportAsProvisionedProductOutput, error) { @@ -4809,14 +4798,13 @@ const opListAcceptedPortfolioShares = "ListAcceptedPortfolioShares" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAcceptedPortfolioSharesRequest method. +// req, resp := client.ListAcceptedPortfolioSharesRequest(params) // -// // Example sending a request using the ListAcceptedPortfolioSharesRequest method. -// req, resp := client.ListAcceptedPortfolioSharesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioShares func (c *ServiceCatalog) ListAcceptedPortfolioSharesRequest(input *ListAcceptedPortfolioSharesInput) (req *request.Request, output *ListAcceptedPortfolioSharesOutput) { @@ -4855,11 +4843,12 @@ func (c *ServiceCatalog) ListAcceptedPortfolioSharesRequest(input *ListAcceptedP // API operation ListAcceptedPortfolioShares for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * OperationNotSupportedException -// The operation is not supported. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - OperationNotSupportedException +// The operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListAcceptedPortfolioShares func (c *ServiceCatalog) ListAcceptedPortfolioShares(input *ListAcceptedPortfolioSharesInput) (*ListAcceptedPortfolioSharesOutput, error) { @@ -4891,15 +4880,14 @@ func (c *ServiceCatalog) ListAcceptedPortfolioSharesWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAcceptedPortfolioShares operation. -// pageNum := 0 -// err := client.ListAcceptedPortfolioSharesPages(params, -// func(page *servicecatalog.ListAcceptedPortfolioSharesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAcceptedPortfolioShares operation. +// pageNum := 0 +// err := client.ListAcceptedPortfolioSharesPages(params, +// func(page *servicecatalog.ListAcceptedPortfolioSharesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) ListAcceptedPortfolioSharesPages(input *ListAcceptedPortfolioSharesInput, fn func(*ListAcceptedPortfolioSharesOutput, bool) bool) error { return c.ListAcceptedPortfolioSharesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4951,14 +4939,13 @@ const opListBudgetsForResource = "ListBudgetsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBudgetsForResourceRequest method. +// req, resp := client.ListBudgetsForResourceRequest(params) // -// // Example sending a request using the ListBudgetsForResourceRequest method. -// req, resp := client.ListBudgetsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListBudgetsForResource func (c *ServiceCatalog) ListBudgetsForResourceRequest(input *ListBudgetsForResourceInput) (req *request.Request, output *ListBudgetsForResourceOutput) { @@ -4995,11 +4982,12 @@ func (c *ServiceCatalog) ListBudgetsForResourceRequest(input *ListBudgetsForReso // API operation ListBudgetsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListBudgetsForResource func (c *ServiceCatalog) ListBudgetsForResource(input *ListBudgetsForResourceInput) (*ListBudgetsForResourceOutput, error) { @@ -5031,15 +5019,14 @@ func (c *ServiceCatalog) ListBudgetsForResourceWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBudgetsForResource operation. -// pageNum := 0 -// err := client.ListBudgetsForResourcePages(params, -// func(page *servicecatalog.ListBudgetsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBudgetsForResource operation. +// pageNum := 0 +// err := client.ListBudgetsForResourcePages(params, +// func(page *servicecatalog.ListBudgetsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) ListBudgetsForResourcePages(input *ListBudgetsForResourceInput, fn func(*ListBudgetsForResourceOutput, bool) bool) error { return c.ListBudgetsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5091,14 +5078,13 @@ const opListConstraintsForPortfolio = "ListConstraintsForPortfolio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConstraintsForPortfolioRequest method. +// req, resp := client.ListConstraintsForPortfolioRequest(params) // -// // Example sending a request using the ListConstraintsForPortfolioRequest method. -// req, resp := client.ListConstraintsForPortfolioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolio func (c *ServiceCatalog) ListConstraintsForPortfolioRequest(input *ListConstraintsForPortfolioInput) (req *request.Request, output *ListConstraintsForPortfolioOutput) { @@ -5135,11 +5121,12 @@ func (c *ServiceCatalog) ListConstraintsForPortfolioRequest(input *ListConstrain // API operation ListConstraintsForPortfolio for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListConstraintsForPortfolio func (c *ServiceCatalog) ListConstraintsForPortfolio(input *ListConstraintsForPortfolioInput) (*ListConstraintsForPortfolioOutput, error) { @@ -5171,15 +5158,14 @@ func (c *ServiceCatalog) ListConstraintsForPortfolioWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListConstraintsForPortfolio operation. -// pageNum := 0 -// err := client.ListConstraintsForPortfolioPages(params, -// func(page *servicecatalog.ListConstraintsForPortfolioOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListConstraintsForPortfolio operation. +// pageNum := 0 +// err := client.ListConstraintsForPortfolioPages(params, +// func(page *servicecatalog.ListConstraintsForPortfolioOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) ListConstraintsForPortfolioPages(input *ListConstraintsForPortfolioInput, fn func(*ListConstraintsForPortfolioOutput, bool) bool) error { return c.ListConstraintsForPortfolioPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5231,14 +5217,13 @@ const opListLaunchPaths = "ListLaunchPaths" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLaunchPathsRequest method. +// req, resp := client.ListLaunchPathsRequest(params) // -// // Example sending a request using the ListLaunchPathsRequest method. -// req, resp := client.ListLaunchPathsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPaths func (c *ServiceCatalog) ListLaunchPathsRequest(input *ListLaunchPathsInput) (req *request.Request, output *ListLaunchPathsOutput) { @@ -5277,11 +5262,12 @@ func (c *ServiceCatalog) ListLaunchPathsRequest(input *ListLaunchPathsInput) (re // API operation ListLaunchPaths for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListLaunchPaths func (c *ServiceCatalog) ListLaunchPaths(input *ListLaunchPathsInput) (*ListLaunchPathsOutput, error) { @@ -5313,15 +5299,14 @@ func (c *ServiceCatalog) ListLaunchPathsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLaunchPaths operation. -// pageNum := 0 -// err := client.ListLaunchPathsPages(params, -// func(page *servicecatalog.ListLaunchPathsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLaunchPaths operation. +// pageNum := 0 +// err := client.ListLaunchPathsPages(params, +// func(page *servicecatalog.ListLaunchPathsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) ListLaunchPathsPages(input *ListLaunchPathsInput, fn func(*ListLaunchPathsOutput, bool) bool) error { return c.ListLaunchPathsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5373,14 +5358,13 @@ const opListOrganizationPortfolioAccess = "ListOrganizationPortfolioAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOrganizationPortfolioAccessRequest method. +// req, resp := client.ListOrganizationPortfolioAccessRequest(params) // -// // Example sending a request using the ListOrganizationPortfolioAccessRequest method. -// req, resp := client.ListOrganizationPortfolioAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListOrganizationPortfolioAccess func (c *ServiceCatalog) ListOrganizationPortfolioAccessRequest(input *ListOrganizationPortfolioAccessInput) (req *request.Request, output *ListOrganizationPortfolioAccessOutput) { @@ -5421,14 +5405,15 @@ func (c *ServiceCatalog) ListOrganizationPortfolioAccessRequest(input *ListOrgan // API operation ListOrganizationPortfolioAccess for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // -// * OperationNotSupportedException -// The operation is not supported. +// - OperationNotSupportedException +// The operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListOrganizationPortfolioAccess func (c *ServiceCatalog) ListOrganizationPortfolioAccess(input *ListOrganizationPortfolioAccessInput) (*ListOrganizationPortfolioAccessOutput, error) { @@ -5460,15 +5445,14 @@ func (c *ServiceCatalog) ListOrganizationPortfolioAccessWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOrganizationPortfolioAccess operation. -// pageNum := 0 -// err := client.ListOrganizationPortfolioAccessPages(params, -// func(page *servicecatalog.ListOrganizationPortfolioAccessOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOrganizationPortfolioAccess operation. +// pageNum := 0 +// err := client.ListOrganizationPortfolioAccessPages(params, +// func(page *servicecatalog.ListOrganizationPortfolioAccessOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) ListOrganizationPortfolioAccessPages(input *ListOrganizationPortfolioAccessInput, fn func(*ListOrganizationPortfolioAccessOutput, bool) bool) error { return c.ListOrganizationPortfolioAccessPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5520,14 +5504,13 @@ const opListPortfolioAccess = "ListPortfolioAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPortfolioAccessRequest method. +// req, resp := client.ListPortfolioAccessRequest(params) // -// // Example sending a request using the ListPortfolioAccessRequest method. -// req, resp := client.ListPortfolioAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccess func (c *ServiceCatalog) ListPortfolioAccessRequest(input *ListPortfolioAccessInput) (req *request.Request, output *ListPortfolioAccessOutput) { @@ -5568,11 +5551,12 @@ func (c *ServiceCatalog) ListPortfolioAccessRequest(input *ListPortfolioAccessIn // API operation ListPortfolioAccess for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolioAccess func (c *ServiceCatalog) ListPortfolioAccess(input *ListPortfolioAccessInput) (*ListPortfolioAccessOutput, error) { @@ -5604,15 +5588,14 @@ func (c *ServiceCatalog) ListPortfolioAccessWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPortfolioAccess operation. -// pageNum := 0 -// err := client.ListPortfolioAccessPages(params, -// func(page *servicecatalog.ListPortfolioAccessOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPortfolioAccess operation. +// pageNum := 0 +// err := client.ListPortfolioAccessPages(params, +// func(page *servicecatalog.ListPortfolioAccessOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) ListPortfolioAccessPages(input *ListPortfolioAccessInput, fn func(*ListPortfolioAccessOutput, bool) bool) error { return c.ListPortfolioAccessPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5664,14 +5647,13 @@ const opListPortfolios = "ListPortfolios" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPortfoliosRequest method. +// req, resp := client.ListPortfoliosRequest(params) // -// // Example sending a request using the ListPortfoliosRequest method. -// req, resp := client.ListPortfoliosRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolios func (c *ServiceCatalog) ListPortfoliosRequest(input *ListPortfoliosInput) (req *request.Request, output *ListPortfoliosOutput) { @@ -5708,8 +5690,8 @@ func (c *ServiceCatalog) ListPortfoliosRequest(input *ListPortfoliosInput) (req // API operation ListPortfolios for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfolios func (c *ServiceCatalog) ListPortfolios(input *ListPortfoliosInput) (*ListPortfoliosOutput, error) { @@ -5741,15 +5723,14 @@ func (c *ServiceCatalog) ListPortfoliosWithContext(ctx aws.Context, input *ListP // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPortfolios operation. -// pageNum := 0 -// err := client.ListPortfoliosPages(params, -// func(page *servicecatalog.ListPortfoliosOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPortfolios operation. +// pageNum := 0 +// err := client.ListPortfoliosPages(params, +// func(page *servicecatalog.ListPortfoliosOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) ListPortfoliosPages(input *ListPortfoliosInput, fn func(*ListPortfoliosOutput, bool) bool) error { return c.ListPortfoliosPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5801,14 +5782,13 @@ const opListPortfoliosForProduct = "ListPortfoliosForProduct" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPortfoliosForProductRequest method. +// req, resp := client.ListPortfoliosForProductRequest(params) // -// // Example sending a request using the ListPortfoliosForProductRequest method. -// req, resp := client.ListPortfoliosForProductRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProduct func (c *ServiceCatalog) ListPortfoliosForProductRequest(input *ListPortfoliosForProductInput) (req *request.Request, output *ListPortfoliosForProductOutput) { @@ -5845,11 +5825,12 @@ func (c *ServiceCatalog) ListPortfoliosForProductRequest(input *ListPortfoliosFo // API operation ListPortfoliosForProduct for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPortfoliosForProduct func (c *ServiceCatalog) ListPortfoliosForProduct(input *ListPortfoliosForProductInput) (*ListPortfoliosForProductOutput, error) { @@ -5881,15 +5862,14 @@ func (c *ServiceCatalog) ListPortfoliosForProductWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPortfoliosForProduct operation. -// pageNum := 0 -// err := client.ListPortfoliosForProductPages(params, -// func(page *servicecatalog.ListPortfoliosForProductOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPortfoliosForProduct operation. +// pageNum := 0 +// err := client.ListPortfoliosForProductPages(params, +// func(page *servicecatalog.ListPortfoliosForProductOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) ListPortfoliosForProductPages(input *ListPortfoliosForProductInput, fn func(*ListPortfoliosForProductOutput, bool) bool) error { return c.ListPortfoliosForProductPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5941,14 +5921,13 @@ const opListPrincipalsForPortfolio = "ListPrincipalsForPortfolio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPrincipalsForPortfolioRequest method. +// req, resp := client.ListPrincipalsForPortfolioRequest(params) // -// // Example sending a request using the ListPrincipalsForPortfolioRequest method. -// req, resp := client.ListPrincipalsForPortfolioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolio func (c *ServiceCatalog) ListPrincipalsForPortfolioRequest(input *ListPrincipalsForPortfolioInput) (req *request.Request, output *ListPrincipalsForPortfolioOutput) { @@ -5985,11 +5964,12 @@ func (c *ServiceCatalog) ListPrincipalsForPortfolioRequest(input *ListPrincipals // API operation ListPrincipalsForPortfolio for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListPrincipalsForPortfolio func (c *ServiceCatalog) ListPrincipalsForPortfolio(input *ListPrincipalsForPortfolioInput) (*ListPrincipalsForPortfolioOutput, error) { @@ -6021,15 +6001,14 @@ func (c *ServiceCatalog) ListPrincipalsForPortfolioWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPrincipalsForPortfolio operation. -// pageNum := 0 -// err := client.ListPrincipalsForPortfolioPages(params, -// func(page *servicecatalog.ListPrincipalsForPortfolioOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPrincipalsForPortfolio operation. +// pageNum := 0 +// err := client.ListPrincipalsForPortfolioPages(params, +// func(page *servicecatalog.ListPrincipalsForPortfolioOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) ListPrincipalsForPortfolioPages(input *ListPrincipalsForPortfolioInput, fn func(*ListPrincipalsForPortfolioOutput, bool) bool) error { return c.ListPrincipalsForPortfolioPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6081,14 +6060,13 @@ const opListProvisionedProductPlans = "ListProvisionedProductPlans" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProvisionedProductPlansRequest method. +// req, resp := client.ListProvisionedProductPlansRequest(params) // -// // Example sending a request using the ListProvisionedProductPlansRequest method. -// req, resp := client.ListProvisionedProductPlansRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisionedProductPlans func (c *ServiceCatalog) ListProvisionedProductPlansRequest(input *ListProvisionedProductPlansInput) (req *request.Request, output *ListProvisionedProductPlansOutput) { @@ -6120,11 +6098,12 @@ func (c *ServiceCatalog) ListProvisionedProductPlansRequest(input *ListProvision // API operation ListProvisionedProductPlans for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisionedProductPlans func (c *ServiceCatalog) ListProvisionedProductPlans(input *ListProvisionedProductPlansInput) (*ListProvisionedProductPlansOutput, error) { @@ -6164,14 +6143,13 @@ const opListProvisioningArtifacts = "ListProvisioningArtifacts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProvisioningArtifactsRequest method. +// req, resp := client.ListProvisioningArtifactsRequest(params) // -// // Example sending a request using the ListProvisioningArtifactsRequest method. -// req, resp := client.ListProvisioningArtifactsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifacts func (c *ServiceCatalog) ListProvisioningArtifactsRequest(input *ListProvisioningArtifactsInput) (req *request.Request, output *ListProvisioningArtifactsOutput) { @@ -6203,11 +6181,12 @@ func (c *ServiceCatalog) ListProvisioningArtifactsRequest(input *ListProvisionin // API operation ListProvisioningArtifacts for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifacts func (c *ServiceCatalog) ListProvisioningArtifacts(input *ListProvisioningArtifactsInput) (*ListProvisioningArtifactsOutput, error) { @@ -6247,14 +6226,13 @@ const opListProvisioningArtifactsForServiceAction = "ListProvisioningArtifactsFo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProvisioningArtifactsForServiceActionRequest method. +// req, resp := client.ListProvisioningArtifactsForServiceActionRequest(params) // -// // Example sending a request using the ListProvisioningArtifactsForServiceActionRequest method. -// req, resp := client.ListProvisioningArtifactsForServiceActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifactsForServiceAction func (c *ServiceCatalog) ListProvisioningArtifactsForServiceActionRequest(input *ListProvisioningArtifactsForServiceActionInput) (req *request.Request, output *ListProvisioningArtifactsForServiceActionOutput) { @@ -6292,11 +6270,12 @@ func (c *ServiceCatalog) ListProvisioningArtifactsForServiceActionRequest(input // API operation ListProvisioningArtifactsForServiceAction for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListProvisioningArtifactsForServiceAction func (c *ServiceCatalog) ListProvisioningArtifactsForServiceAction(input *ListProvisioningArtifactsForServiceActionInput) (*ListProvisioningArtifactsForServiceActionOutput, error) { @@ -6328,15 +6307,14 @@ func (c *ServiceCatalog) ListProvisioningArtifactsForServiceActionWithContext(ct // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProvisioningArtifactsForServiceAction operation. -// pageNum := 0 -// err := client.ListProvisioningArtifactsForServiceActionPages(params, -// func(page *servicecatalog.ListProvisioningArtifactsForServiceActionOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProvisioningArtifactsForServiceAction operation. +// pageNum := 0 +// err := client.ListProvisioningArtifactsForServiceActionPages(params, +// func(page *servicecatalog.ListProvisioningArtifactsForServiceActionOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) ListProvisioningArtifactsForServiceActionPages(input *ListProvisioningArtifactsForServiceActionInput, fn func(*ListProvisioningArtifactsForServiceActionOutput, bool) bool) error { return c.ListProvisioningArtifactsForServiceActionPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6388,14 +6366,13 @@ const opListRecordHistory = "ListRecordHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRecordHistoryRequest method. +// req, resp := client.ListRecordHistoryRequest(params) // -// // Example sending a request using the ListRecordHistoryRequest method. -// req, resp := client.ListRecordHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistory func (c *ServiceCatalog) ListRecordHistoryRequest(input *ListRecordHistoryInput) (req *request.Request, output *ListRecordHistoryOutput) { @@ -6426,8 +6403,8 @@ func (c *ServiceCatalog) ListRecordHistoryRequest(input *ListRecordHistoryInput) // API operation ListRecordHistory for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListRecordHistory func (c *ServiceCatalog) ListRecordHistory(input *ListRecordHistoryInput) (*ListRecordHistoryOutput, error) { @@ -6467,14 +6444,13 @@ const opListResourcesForTagOption = "ListResourcesForTagOption" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourcesForTagOptionRequest method. +// req, resp := client.ListResourcesForTagOptionRequest(params) // -// // Example sending a request using the ListResourcesForTagOptionRequest method. -// req, resp := client.ListResourcesForTagOptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListResourcesForTagOption func (c *ServiceCatalog) ListResourcesForTagOptionRequest(input *ListResourcesForTagOptionInput) (req *request.Request, output *ListResourcesForTagOptionOutput) { @@ -6511,16 +6487,17 @@ func (c *ServiceCatalog) ListResourcesForTagOptionRequest(input *ListResourcesFo // API operation ListResourcesForTagOption for usage and error information. // // Returned Error Types: -// * TagOptionNotMigratedException -// An operation requiring TagOptions failed because the TagOptions migration -// process has not been performed for this account. Please use the AWS console -// to perform the migration process before retrying the operation. // -// * ResourceNotFoundException -// The specified resource was not found. +// - TagOptionNotMigratedException +// An operation requiring TagOptions failed because the TagOptions migration +// process has not been performed for this account. Please use the AWS console +// to perform the migration process before retrying the operation. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListResourcesForTagOption func (c *ServiceCatalog) ListResourcesForTagOption(input *ListResourcesForTagOptionInput) (*ListResourcesForTagOptionOutput, error) { @@ -6552,15 +6529,14 @@ func (c *ServiceCatalog) ListResourcesForTagOptionWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResourcesForTagOption operation. -// pageNum := 0 -// err := client.ListResourcesForTagOptionPages(params, -// func(page *servicecatalog.ListResourcesForTagOptionOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResourcesForTagOption operation. +// pageNum := 0 +// err := client.ListResourcesForTagOptionPages(params, +// func(page *servicecatalog.ListResourcesForTagOptionOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) ListResourcesForTagOptionPages(input *ListResourcesForTagOptionInput, fn func(*ListResourcesForTagOptionOutput, bool) bool) error { return c.ListResourcesForTagOptionPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6612,14 +6588,13 @@ const opListServiceActions = "ListServiceActions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServiceActionsRequest method. +// req, resp := client.ListServiceActionsRequest(params) // -// // Example sending a request using the ListServiceActionsRequest method. -// req, resp := client.ListServiceActionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListServiceActions func (c *ServiceCatalog) ListServiceActionsRequest(input *ListServiceActionsInput) (req *request.Request, output *ListServiceActionsOutput) { @@ -6656,8 +6631,8 @@ func (c *ServiceCatalog) ListServiceActionsRequest(input *ListServiceActionsInpu // API operation ListServiceActions for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListServiceActions func (c *ServiceCatalog) ListServiceActions(input *ListServiceActionsInput) (*ListServiceActionsOutput, error) { @@ -6689,15 +6664,14 @@ func (c *ServiceCatalog) ListServiceActionsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServiceActions operation. -// pageNum := 0 -// err := client.ListServiceActionsPages(params, -// func(page *servicecatalog.ListServiceActionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServiceActions operation. +// pageNum := 0 +// err := client.ListServiceActionsPages(params, +// func(page *servicecatalog.ListServiceActionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) ListServiceActionsPages(input *ListServiceActionsInput, fn func(*ListServiceActionsOutput, bool) bool) error { return c.ListServiceActionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6749,14 +6723,13 @@ const opListServiceActionsForProvisioningArtifact = "ListServiceActionsForProvis // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServiceActionsForProvisioningArtifactRequest method. +// req, resp := client.ListServiceActionsForProvisioningArtifactRequest(params) // -// // Example sending a request using the ListServiceActionsForProvisioningArtifactRequest method. -// req, resp := client.ListServiceActionsForProvisioningArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListServiceActionsForProvisioningArtifact func (c *ServiceCatalog) ListServiceActionsForProvisioningArtifactRequest(input *ListServiceActionsForProvisioningArtifactInput) (req *request.Request, output *ListServiceActionsForProvisioningArtifactOutput) { @@ -6794,11 +6767,12 @@ func (c *ServiceCatalog) ListServiceActionsForProvisioningArtifactRequest(input // API operation ListServiceActionsForProvisioningArtifact for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListServiceActionsForProvisioningArtifact func (c *ServiceCatalog) ListServiceActionsForProvisioningArtifact(input *ListServiceActionsForProvisioningArtifactInput) (*ListServiceActionsForProvisioningArtifactOutput, error) { @@ -6830,15 +6804,14 @@ func (c *ServiceCatalog) ListServiceActionsForProvisioningArtifactWithContext(ct // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServiceActionsForProvisioningArtifact operation. -// pageNum := 0 -// err := client.ListServiceActionsForProvisioningArtifactPages(params, -// func(page *servicecatalog.ListServiceActionsForProvisioningArtifactOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServiceActionsForProvisioningArtifact operation. +// pageNum := 0 +// err := client.ListServiceActionsForProvisioningArtifactPages(params, +// func(page *servicecatalog.ListServiceActionsForProvisioningArtifactOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) ListServiceActionsForProvisioningArtifactPages(input *ListServiceActionsForProvisioningArtifactInput, fn func(*ListServiceActionsForProvisioningArtifactOutput, bool) bool) error { return c.ListServiceActionsForProvisioningArtifactPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6890,14 +6863,13 @@ const opListStackInstancesForProvisionedProduct = "ListStackInstancesForProvisio // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStackInstancesForProvisionedProductRequest method. +// req, resp := client.ListStackInstancesForProvisionedProductRequest(params) // -// // Example sending a request using the ListStackInstancesForProvisionedProductRequest method. -// req, resp := client.ListStackInstancesForProvisionedProductRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListStackInstancesForProvisionedProduct func (c *ServiceCatalog) ListStackInstancesForProvisionedProductRequest(input *ListStackInstancesForProvisionedProductInput) (req *request.Request, output *ListStackInstancesForProvisionedProductOutput) { @@ -6930,11 +6902,12 @@ func (c *ServiceCatalog) ListStackInstancesForProvisionedProductRequest(input *L // API operation ListStackInstancesForProvisionedProduct for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListStackInstancesForProvisionedProduct func (c *ServiceCatalog) ListStackInstancesForProvisionedProduct(input *ListStackInstancesForProvisionedProductInput) (*ListStackInstancesForProvisionedProductOutput, error) { @@ -6974,14 +6947,13 @@ const opListTagOptions = "ListTagOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagOptionsRequest method. +// req, resp := client.ListTagOptionsRequest(params) // -// // Example sending a request using the ListTagOptionsRequest method. -// req, resp := client.ListTagOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptions func (c *ServiceCatalog) ListTagOptionsRequest(input *ListTagOptionsInput) (req *request.Request, output *ListTagOptionsOutput) { @@ -7018,13 +6990,14 @@ func (c *ServiceCatalog) ListTagOptionsRequest(input *ListTagOptionsInput) (req // API operation ListTagOptions for usage and error information. // // Returned Error Types: -// * TagOptionNotMigratedException -// An operation requiring TagOptions failed because the TagOptions migration -// process has not been performed for this account. Please use the AWS console -// to perform the migration process before retrying the operation. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - TagOptionNotMigratedException +// An operation requiring TagOptions failed because the TagOptions migration +// process has not been performed for this account. Please use the AWS console +// to perform the migration process before retrying the operation. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ListTagOptions func (c *ServiceCatalog) ListTagOptions(input *ListTagOptionsInput) (*ListTagOptionsOutput, error) { @@ -7056,15 +7029,14 @@ func (c *ServiceCatalog) ListTagOptionsWithContext(ctx aws.Context, input *ListT // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagOptions operation. -// pageNum := 0 -// err := client.ListTagOptionsPages(params, -// func(page *servicecatalog.ListTagOptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagOptions operation. +// pageNum := 0 +// err := client.ListTagOptionsPages(params, +// func(page *servicecatalog.ListTagOptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) ListTagOptionsPages(input *ListTagOptionsInput, fn func(*ListTagOptionsOutput, bool) bool) error { return c.ListTagOptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7116,14 +7088,13 @@ const opProvisionProduct = "ProvisionProduct" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ProvisionProductRequest method. +// req, resp := client.ProvisionProductRequest(params) // -// // Example sending a request using the ProvisionProductRequest method. -// req, resp := client.ProvisionProductRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProduct func (c *ServiceCatalog) ProvisionProductRequest(input *ProvisionProductInput) (req *request.Request, output *ProvisionProductOutput) { @@ -7164,14 +7135,15 @@ func (c *ServiceCatalog) ProvisionProductRequest(input *ProvisionProductInput) ( // API operation ProvisionProduct for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * DuplicateResourceException -// The specified resource is a duplicate. +// - DuplicateResourceException +// The specified resource is a duplicate. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ProvisionProduct func (c *ServiceCatalog) ProvisionProduct(input *ProvisionProductInput) (*ProvisionProductOutput, error) { @@ -7211,14 +7183,13 @@ const opRejectPortfolioShare = "RejectPortfolioShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RejectPortfolioShareRequest method. +// req, resp := client.RejectPortfolioShareRequest(params) // -// // Example sending a request using the RejectPortfolioShareRequest method. -// req, resp := client.RejectPortfolioShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShare func (c *ServiceCatalog) RejectPortfolioShareRequest(input *RejectPortfolioShareInput) (req *request.Request, output *RejectPortfolioShareOutput) { @@ -7250,8 +7221,8 @@ func (c *ServiceCatalog) RejectPortfolioShareRequest(input *RejectPortfolioShare // API operation RejectPortfolioShare for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/RejectPortfolioShare func (c *ServiceCatalog) RejectPortfolioShare(input *RejectPortfolioShareInput) (*RejectPortfolioShareOutput, error) { @@ -7291,14 +7262,13 @@ const opScanProvisionedProducts = "ScanProvisionedProducts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ScanProvisionedProductsRequest method. +// req, resp := client.ScanProvisionedProductsRequest(params) // -// // Example sending a request using the ScanProvisionedProductsRequest method. -// req, resp := client.ScanProvisionedProductsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProducts func (c *ServiceCatalog) ScanProvisionedProductsRequest(input *ScanProvisionedProductsInput) (req *request.Request, output *ScanProvisionedProductsOutput) { @@ -7331,8 +7301,8 @@ func (c *ServiceCatalog) ScanProvisionedProductsRequest(input *ScanProvisionedPr // API operation ScanProvisionedProducts for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/ScanProvisionedProducts func (c *ServiceCatalog) ScanProvisionedProducts(input *ScanProvisionedProductsInput) (*ScanProvisionedProductsOutput, error) { @@ -7372,14 +7342,13 @@ const opSearchProducts = "SearchProducts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchProductsRequest method. +// req, resp := client.SearchProductsRequest(params) // -// // Example sending a request using the SearchProductsRequest method. -// req, resp := client.SearchProductsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProducts func (c *ServiceCatalog) SearchProductsRequest(input *SearchProductsInput) (req *request.Request, output *SearchProductsOutput) { @@ -7416,8 +7385,8 @@ func (c *ServiceCatalog) SearchProductsRequest(input *SearchProductsInput) (req // API operation SearchProducts for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProducts func (c *ServiceCatalog) SearchProducts(input *SearchProductsInput) (*SearchProductsOutput, error) { @@ -7449,15 +7418,14 @@ func (c *ServiceCatalog) SearchProductsWithContext(ctx aws.Context, input *Searc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchProducts operation. -// pageNum := 0 -// err := client.SearchProductsPages(params, -// func(page *servicecatalog.SearchProductsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchProducts operation. +// pageNum := 0 +// err := client.SearchProductsPages(params, +// func(page *servicecatalog.SearchProductsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) SearchProductsPages(input *SearchProductsInput, fn func(*SearchProductsOutput, bool) bool) error { return c.SearchProductsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7509,14 +7477,13 @@ const opSearchProductsAsAdmin = "SearchProductsAsAdmin" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchProductsAsAdminRequest method. +// req, resp := client.SearchProductsAsAdminRequest(params) // -// // Example sending a request using the SearchProductsAsAdminRequest method. -// req, resp := client.SearchProductsAsAdminRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdmin func (c *ServiceCatalog) SearchProductsAsAdminRequest(input *SearchProductsAsAdminInput) (req *request.Request, output *SearchProductsAsAdminOutput) { @@ -7553,11 +7520,12 @@ func (c *ServiceCatalog) SearchProductsAsAdminRequest(input *SearchProductsAsAdm // API operation SearchProductsAsAdmin for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProductsAsAdmin func (c *ServiceCatalog) SearchProductsAsAdmin(input *SearchProductsAsAdminInput) (*SearchProductsAsAdminOutput, error) { @@ -7589,15 +7557,14 @@ func (c *ServiceCatalog) SearchProductsAsAdminWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchProductsAsAdmin operation. -// pageNum := 0 -// err := client.SearchProductsAsAdminPages(params, -// func(page *servicecatalog.SearchProductsAsAdminOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchProductsAsAdmin operation. +// pageNum := 0 +// err := client.SearchProductsAsAdminPages(params, +// func(page *servicecatalog.SearchProductsAsAdminOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) SearchProductsAsAdminPages(input *SearchProductsAsAdminInput, fn func(*SearchProductsAsAdminOutput, bool) bool) error { return c.SearchProductsAsAdminPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7649,14 +7616,13 @@ const opSearchProvisionedProducts = "SearchProvisionedProducts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SearchProvisionedProductsRequest method. +// req, resp := client.SearchProvisionedProductsRequest(params) // -// // Example sending a request using the SearchProvisionedProductsRequest method. -// req, resp := client.SearchProvisionedProductsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProvisionedProducts func (c *ServiceCatalog) SearchProvisionedProductsRequest(input *SearchProvisionedProductsInput) (req *request.Request, output *SearchProvisionedProductsOutput) { @@ -7693,8 +7659,8 @@ func (c *ServiceCatalog) SearchProvisionedProductsRequest(input *SearchProvision // API operation SearchProvisionedProducts for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/SearchProvisionedProducts func (c *ServiceCatalog) SearchProvisionedProducts(input *SearchProvisionedProductsInput) (*SearchProvisionedProductsOutput, error) { @@ -7726,15 +7692,14 @@ func (c *ServiceCatalog) SearchProvisionedProductsWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a SearchProvisionedProducts operation. -// pageNum := 0 -// err := client.SearchProvisionedProductsPages(params, -// func(page *servicecatalog.SearchProvisionedProductsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a SearchProvisionedProducts operation. +// pageNum := 0 +// err := client.SearchProvisionedProductsPages(params, +// func(page *servicecatalog.SearchProvisionedProductsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceCatalog) SearchProvisionedProductsPages(input *SearchProvisionedProductsInput, fn func(*SearchProvisionedProductsOutput, bool) bool) error { return c.SearchProvisionedProductsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7786,14 +7751,13 @@ const opTerminateProvisionedProduct = "TerminateProvisionedProduct" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TerminateProvisionedProductRequest method. +// req, resp := client.TerminateProvisionedProductRequest(params) // -// // Example sending a request using the TerminateProvisionedProductRequest method. -// req, resp := client.TerminateProvisionedProductRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProduct func (c *ServiceCatalog) TerminateProvisionedProductRequest(input *TerminateProvisionedProductInput) (req *request.Request, output *TerminateProvisionedProductOutput) { @@ -7829,8 +7793,8 @@ func (c *ServiceCatalog) TerminateProvisionedProductRequest(input *TerminateProv // API operation TerminateProvisionedProduct for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/TerminateProvisionedProduct func (c *ServiceCatalog) TerminateProvisionedProduct(input *TerminateProvisionedProductInput) (*TerminateProvisionedProductOutput, error) { @@ -7870,14 +7834,13 @@ const opUpdateConstraint = "UpdateConstraint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConstraintRequest method. +// req, resp := client.UpdateConstraintRequest(params) // -// // Example sending a request using the UpdateConstraintRequest method. -// req, resp := client.UpdateConstraintRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraint func (c *ServiceCatalog) UpdateConstraintRequest(input *UpdateConstraintInput) (req *request.Request, output *UpdateConstraintOutput) { @@ -7908,11 +7871,12 @@ func (c *ServiceCatalog) UpdateConstraintRequest(input *UpdateConstraintInput) ( // API operation UpdateConstraint for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateConstraint func (c *ServiceCatalog) UpdateConstraint(input *UpdateConstraintInput) (*UpdateConstraintOutput, error) { @@ -7952,14 +7916,13 @@ const opUpdatePortfolio = "UpdatePortfolio" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePortfolioRequest method. +// req, resp := client.UpdatePortfolioRequest(params) // -// // Example sending a request using the UpdatePortfolioRequest method. -// req, resp := client.UpdatePortfolioRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolio func (c *ServiceCatalog) UpdatePortfolioRequest(input *UpdatePortfolioInput) (req *request.Request, output *UpdatePortfolioOutput) { @@ -7992,21 +7955,22 @@ func (c *ServiceCatalog) UpdatePortfolioRequest(input *UpdatePortfolioInput) (re // API operation UpdatePortfolio for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * LimitExceededException -// The current limits of the service would have been exceeded by this operation. -// Decrease your resource use or increase your service limits and retry the -// operation. +// - LimitExceededException +// The current limits of the service would have been exceeded by this operation. +// Decrease your resource use or increase your service limits and retry the +// operation. // -// * TagOptionNotMigratedException -// An operation requiring TagOptions failed because the TagOptions migration -// process has not been performed for this account. Please use the AWS console -// to perform the migration process before retrying the operation. +// - TagOptionNotMigratedException +// An operation requiring TagOptions failed because the TagOptions migration +// process has not been performed for this account. Please use the AWS console +// to perform the migration process before retrying the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolio func (c *ServiceCatalog) UpdatePortfolio(input *UpdatePortfolioInput) (*UpdatePortfolioOutput, error) { @@ -8046,14 +8010,13 @@ const opUpdatePortfolioShare = "UpdatePortfolioShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePortfolioShareRequest method. +// req, resp := client.UpdatePortfolioShareRequest(params) // -// // Example sending a request using the UpdatePortfolioShareRequest method. -// req, resp := client.UpdatePortfolioShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioShare func (c *ServiceCatalog) UpdatePortfolioShareRequest(input *UpdatePortfolioShareInput) (req *request.Request, output *UpdatePortfolioShareOutput) { @@ -8099,19 +8062,20 @@ func (c *ServiceCatalog) UpdatePortfolioShareRequest(input *UpdatePortfolioShare // API operation UpdatePortfolioShare for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. // -// * OperationNotSupportedException -// The operation is not supported. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // -// * InvalidStateException -// An attempt was made to modify a resource that is in a state that is not valid. -// Check your resources to ensure that they are in valid states before retrying -// the operation. +// - OperationNotSupportedException +// The operation is not supported. +// +// - InvalidStateException +// An attempt was made to modify a resource that is in a state that is not valid. +// Check your resources to ensure that they are in valid states before retrying +// the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdatePortfolioShare func (c *ServiceCatalog) UpdatePortfolioShare(input *UpdatePortfolioShareInput) (*UpdatePortfolioShareOutput, error) { @@ -8151,14 +8115,13 @@ const opUpdateProduct = "UpdateProduct" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProductRequest method. +// req, resp := client.UpdateProductRequest(params) // -// // Example sending a request using the UpdateProductRequest method. -// req, resp := client.UpdateProductRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProduct func (c *ServiceCatalog) UpdateProductRequest(input *UpdateProductInput) (req *request.Request, output *UpdateProductOutput) { @@ -8189,16 +8152,17 @@ func (c *ServiceCatalog) UpdateProductRequest(input *UpdateProductInput) (req *r // API operation UpdateProduct for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. // -// * TagOptionNotMigratedException -// An operation requiring TagOptions failed because the TagOptions migration -// process has not been performed for this account. Please use the AWS console -// to perform the migration process before retrying the operation. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - TagOptionNotMigratedException +// An operation requiring TagOptions failed because the TagOptions migration +// process has not been performed for this account. Please use the AWS console +// to perform the migration process before retrying the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProduct func (c *ServiceCatalog) UpdateProduct(input *UpdateProductInput) (*UpdateProductOutput, error) { @@ -8238,14 +8202,13 @@ const opUpdateProvisionedProduct = "UpdateProvisionedProduct" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProvisionedProductRequest method. +// req, resp := client.UpdateProvisionedProductRequest(params) // -// // Example sending a request using the UpdateProvisionedProductRequest method. -// req, resp := client.UpdateProvisionedProductRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProduct func (c *ServiceCatalog) UpdateProvisionedProductRequest(input *UpdateProvisionedProductInput) (req *request.Request, output *UpdateProvisionedProductOutput) { @@ -8283,11 +8246,12 @@ func (c *ServiceCatalog) UpdateProvisionedProductRequest(input *UpdateProvisione // API operation UpdateProvisionedProduct for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProduct func (c *ServiceCatalog) UpdateProvisionedProduct(input *UpdateProvisionedProductInput) (*UpdateProvisionedProductOutput, error) { @@ -8327,14 +8291,13 @@ const opUpdateProvisionedProductProperties = "UpdateProvisionedProductProperties // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProvisionedProductPropertiesRequest method. +// req, resp := client.UpdateProvisionedProductPropertiesRequest(params) // -// // Example sending a request using the UpdateProvisionedProductPropertiesRequest method. -// req, resp := client.UpdateProvisionedProductPropertiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProductProperties func (c *ServiceCatalog) UpdateProvisionedProductPropertiesRequest(input *UpdateProvisionedProductPropertiesInput) (req *request.Request, output *UpdateProvisionedProductPropertiesOutput) { @@ -8365,16 +8328,17 @@ func (c *ServiceCatalog) UpdateProvisionedProductPropertiesRequest(input *Update // API operation UpdateProvisionedProductProperties for usage and error information. // // Returned Error Types: -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. // -// * ResourceNotFoundException -// The specified resource was not found. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * InvalidStateException -// An attempt was made to modify a resource that is in a state that is not valid. -// Check your resources to ensure that they are in valid states before retrying -// the operation. +// - InvalidStateException +// An attempt was made to modify a resource that is in a state that is not valid. +// Check your resources to ensure that they are in valid states before retrying +// the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisionedProductProperties func (c *ServiceCatalog) UpdateProvisionedProductProperties(input *UpdateProvisionedProductPropertiesInput) (*UpdateProvisionedProductPropertiesOutput, error) { @@ -8414,14 +8378,13 @@ const opUpdateProvisioningArtifact = "UpdateProvisioningArtifact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProvisioningArtifactRequest method. +// req, resp := client.UpdateProvisioningArtifactRequest(params) // -// // Example sending a request using the UpdateProvisioningArtifactRequest method. -// req, resp := client.UpdateProvisioningArtifactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifact func (c *ServiceCatalog) UpdateProvisioningArtifactRequest(input *UpdateProvisioningArtifactInput) (req *request.Request, output *UpdateProvisioningArtifactOutput) { @@ -8456,11 +8419,12 @@ func (c *ServiceCatalog) UpdateProvisioningArtifactRequest(input *UpdateProvisio // API operation UpdateProvisioningArtifact for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateProvisioningArtifact func (c *ServiceCatalog) UpdateProvisioningArtifact(input *UpdateProvisioningArtifactInput) (*UpdateProvisioningArtifactOutput, error) { @@ -8500,14 +8464,13 @@ const opUpdateServiceAction = "UpdateServiceAction" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServiceActionRequest method. +// req, resp := client.UpdateServiceActionRequest(params) // -// // Example sending a request using the UpdateServiceActionRequest method. -// req, resp := client.UpdateServiceActionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateServiceAction func (c *ServiceCatalog) UpdateServiceActionRequest(input *UpdateServiceActionInput) (req *request.Request, output *UpdateServiceActionOutput) { @@ -8538,11 +8501,12 @@ func (c *ServiceCatalog) UpdateServiceActionRequest(input *UpdateServiceActionIn // API operation UpdateServiceAction for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource was not found. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - ResourceNotFoundException +// The specified resource was not found. +// +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateServiceAction func (c *ServiceCatalog) UpdateServiceAction(input *UpdateServiceActionInput) (*UpdateServiceActionOutput, error) { @@ -8582,14 +8546,13 @@ const opUpdateTagOption = "UpdateTagOption" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTagOptionRequest method. +// req, resp := client.UpdateTagOptionRequest(params) // -// // Example sending a request using the UpdateTagOptionRequest method. -// req, resp := client.UpdateTagOptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOption func (c *ServiceCatalog) UpdateTagOptionRequest(input *UpdateTagOptionInput) (req *request.Request, output *UpdateTagOptionOutput) { @@ -8620,19 +8583,20 @@ func (c *ServiceCatalog) UpdateTagOptionRequest(input *UpdateTagOptionInput) (re // API operation UpdateTagOption for usage and error information. // // Returned Error Types: -// * TagOptionNotMigratedException -// An operation requiring TagOptions failed because the TagOptions migration -// process has not been performed for this account. Please use the AWS console -// to perform the migration process before retrying the operation. // -// * ResourceNotFoundException -// The specified resource was not found. +// - TagOptionNotMigratedException +// An operation requiring TagOptions failed because the TagOptions migration +// process has not been performed for this account. Please use the AWS console +// to perform the migration process before retrying the operation. +// +// - ResourceNotFoundException +// The specified resource was not found. // -// * DuplicateResourceException -// The specified resource is a duplicate. +// - DuplicateResourceException +// The specified resource is a duplicate. // -// * InvalidParametersException -// One or more parameters provided to the operation are not valid. +// - InvalidParametersException +// One or more parameters provided to the operation are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicecatalog-2015-12-10/UpdateTagOption func (c *ServiceCatalog) UpdateTagOption(input *UpdateTagOptionInput) (*UpdateTagOptionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/doc.go index 70698c91db28..ec1d917440dd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/doc.go @@ -13,7 +13,7 @@ // See servicecatalog package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/servicecatalog/ // -// Using the Client +// # Using the Client // // To contact AWS Service Catalog with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/service.go index 9e85aa26c025..a09a4994cb36 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ServiceCatalog client from just a session. -// svc := servicecatalog.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ServiceCatalog client with additional configuration -// svc := servicecatalog.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ServiceCatalog client from just a session. +// svc := servicecatalog.New(mySession) +// +// // Create a ServiceCatalog client with additional configuration +// svc := servicecatalog.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ServiceCatalog { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/servicecatalogiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/servicecatalogiface/interface.go index 2ce290f9557c..8c35cd8ad35e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/servicecatalogiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicecatalog/servicecatalogiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Service Catalog. -// func myFunc(svc servicecatalogiface.ServiceCatalogAPI) bool { -// // Make svc.AcceptPortfolioShare request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Service Catalog. +// func myFunc(svc servicecatalogiface.ServiceCatalogAPI) bool { +// // Make svc.AcceptPortfolioShare request +// } // -// func main() { -// sess := session.New() -// svc := servicecatalog.New(sess) +// func main() { +// sess := session.New() +// svc := servicecatalog.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockServiceCatalogClient struct { -// servicecatalogiface.ServiceCatalogAPI -// } -// func (m *mockServiceCatalogClient) AcceptPortfolioShare(input *servicecatalog.AcceptPortfolioShareInput) (*servicecatalog.AcceptPortfolioShareOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockServiceCatalogClient struct { +// servicecatalogiface.ServiceCatalogAPI +// } +// func (m *mockServiceCatalogClient) AcceptPortfolioShare(input *servicecatalog.AcceptPortfolioShareInput) (*servicecatalog.AcceptPortfolioShareOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockServiceCatalogClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockServiceCatalogClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/api.go index 84208b3e94e2..d728e8a1d202 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/api.go @@ -29,14 +29,13 @@ const opCreateHttpNamespace = "CreateHttpNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateHttpNamespaceRequest method. +// req, resp := client.CreateHttpNamespaceRequest(params) // -// // Example sending a request using the CreateHttpNamespaceRequest method. -// req, resp := client.CreateHttpNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateHttpNamespace func (c *ServiceDiscovery) CreateHttpNamespaceRequest(input *CreateHttpNamespaceInput) (req *request.Request, output *CreateHttpNamespaceOutput) { @@ -73,24 +72,25 @@ func (c *ServiceDiscovery) CreateHttpNamespaceRequest(input *CreateHttpNamespace // API operation CreateHttpNamespace for usage and error information. // // Returned Error Types: -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. // -// * NamespaceAlreadyExists -// The namespace that you're trying to create already exists. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. +// +// - NamespaceAlreadyExists +// The namespace that you're trying to create already exists. // -// * ResourceLimitExceeded -// The resource can't be created because you've reached the quota on the number -// of resources. +// - ResourceLimitExceeded +// The resource can't be created because you've reached the quota on the number +// of resources. // -// * DuplicateRequest -// The operation is already in progress. +// - DuplicateRequest +// The operation is already in progress. // -// * TooManyTagsException -// The list of tags on the resource is over the quota. The maximum number of -// tags that can be applied to a resource is 50. +// - TooManyTagsException +// The list of tags on the resource is over the quota. The maximum number of +// tags that can be applied to a resource is 50. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateHttpNamespace func (c *ServiceDiscovery) CreateHttpNamespace(input *CreateHttpNamespaceInput) (*CreateHttpNamespaceOutput, error) { @@ -130,14 +130,13 @@ const opCreatePrivateDnsNamespace = "CreatePrivateDnsNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePrivateDnsNamespaceRequest method. +// req, resp := client.CreatePrivateDnsNamespaceRequest(params) // -// // Example sending a request using the CreatePrivateDnsNamespaceRequest method. -// req, resp := client.CreatePrivateDnsNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePrivateDnsNamespace func (c *ServiceDiscovery) CreatePrivateDnsNamespaceRequest(input *CreatePrivateDnsNamespaceInput) (req *request.Request, output *CreatePrivateDnsNamespaceOutput) { @@ -176,24 +175,25 @@ func (c *ServiceDiscovery) CreatePrivateDnsNamespaceRequest(input *CreatePrivate // API operation CreatePrivateDnsNamespace for usage and error information. // // Returned Error Types: -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. // -// * NamespaceAlreadyExists -// The namespace that you're trying to create already exists. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. +// +// - NamespaceAlreadyExists +// The namespace that you're trying to create already exists. // -// * ResourceLimitExceeded -// The resource can't be created because you've reached the quota on the number -// of resources. +// - ResourceLimitExceeded +// The resource can't be created because you've reached the quota on the number +// of resources. // -// * DuplicateRequest -// The operation is already in progress. +// - DuplicateRequest +// The operation is already in progress. // -// * TooManyTagsException -// The list of tags on the resource is over the quota. The maximum number of -// tags that can be applied to a resource is 50. +// - TooManyTagsException +// The list of tags on the resource is over the quota. The maximum number of +// tags that can be applied to a resource is 50. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePrivateDnsNamespace func (c *ServiceDiscovery) CreatePrivateDnsNamespace(input *CreatePrivateDnsNamespaceInput) (*CreatePrivateDnsNamespaceOutput, error) { @@ -233,14 +233,13 @@ const opCreatePublicDnsNamespace = "CreatePublicDnsNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePublicDnsNamespaceRequest method. +// req, resp := client.CreatePublicDnsNamespaceRequest(params) // -// // Example sending a request using the CreatePublicDnsNamespaceRequest method. -// req, resp := client.CreatePublicDnsNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePublicDnsNamespace func (c *ServiceDiscovery) CreatePublicDnsNamespaceRequest(input *CreatePublicDnsNamespaceInput) (req *request.Request, output *CreatePublicDnsNamespaceOutput) { @@ -278,24 +277,25 @@ func (c *ServiceDiscovery) CreatePublicDnsNamespaceRequest(input *CreatePublicDn // API operation CreatePublicDnsNamespace for usage and error information. // // Returned Error Types: -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. // -// * NamespaceAlreadyExists -// The namespace that you're trying to create already exists. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. +// +// - NamespaceAlreadyExists +// The namespace that you're trying to create already exists. // -// * ResourceLimitExceeded -// The resource can't be created because you've reached the quota on the number -// of resources. +// - ResourceLimitExceeded +// The resource can't be created because you've reached the quota on the number +// of resources. // -// * DuplicateRequest -// The operation is already in progress. +// - DuplicateRequest +// The operation is already in progress. // -// * TooManyTagsException -// The list of tags on the resource is over the quota. The maximum number of -// tags that can be applied to a resource is 50. +// - TooManyTagsException +// The list of tags on the resource is over the quota. The maximum number of +// tags that can be applied to a resource is 50. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreatePublicDnsNamespace func (c *ServiceDiscovery) CreatePublicDnsNamespace(input *CreatePublicDnsNamespaceInput) (*CreatePublicDnsNamespaceOutput, error) { @@ -335,14 +335,13 @@ const opCreateService = "CreateService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateServiceRequest method. +// req, resp := client.CreateServiceRequest(params) // -// // Example sending a request using the CreateServiceRequest method. -// req, resp := client.CreateServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateService func (c *ServiceDiscovery) CreateServiceRequest(input *CreateServiceInput) (req *request.Request, output *CreateServiceOutput) { @@ -366,10 +365,10 @@ func (c *ServiceDiscovery) CreateServiceRequest(input *CreateServiceInput) (req // Creates a service. This action defines the configuration for the following // entities: // -// * For public and private DNS namespaces, one of the following combinations -// of DNS records in Amazon Route 53: A AAAA A and AAAA SRV CNAME +// - For public and private DNS namespaces, one of the following combinations +// of DNS records in Amazon Route 53: A AAAA A and AAAA SRV CNAME // -// * Optionally, a health check +// - Optionally, a health check // // After you create the service, you can submit a RegisterInstance (https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html) // request, and Cloud Map uses the values in the configuration to create the @@ -387,25 +386,26 @@ func (c *ServiceDiscovery) CreateServiceRequest(input *CreateServiceInput) (req // API operation CreateService for usage and error information. // // Returned Error Types: -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. // -// * ResourceLimitExceeded -// The resource can't be created because you've reached the quota on the number -// of resources. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // -// * NamespaceNotFound -// No namespace exists with the specified ID. +// - ResourceLimitExceeded +// The resource can't be created because you've reached the quota on the number +// of resources. // -// * ServiceAlreadyExists -// The service can't be created because a service with the same name already -// exists. +// - NamespaceNotFound +// No namespace exists with the specified ID. // -// * TooManyTagsException -// The list of tags on the resource is over the quota. The maximum number of -// tags that can be applied to a resource is 50. +// - ServiceAlreadyExists +// The service can't be created because a service with the same name already +// exists. +// +// - TooManyTagsException +// The list of tags on the resource is over the quota. The maximum number of +// tags that can be applied to a resource is 50. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/CreateService func (c *ServiceDiscovery) CreateService(input *CreateServiceInput) (*CreateServiceOutput, error) { @@ -445,14 +445,13 @@ const opDeleteNamespace = "DeleteNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNamespaceRequest method. +// req, resp := client.DeleteNamespaceRequest(params) // -// // Example sending a request using the DeleteNamespaceRequest method. -// req, resp := client.DeleteNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteNamespace func (c *ServiceDiscovery) DeleteNamespaceRequest(input *DeleteNamespaceInput) (req *request.Request, output *DeleteNamespaceOutput) { @@ -484,20 +483,21 @@ func (c *ServiceDiscovery) DeleteNamespaceRequest(input *DeleteNamespaceInput) ( // API operation DeleteNamespace for usage and error information. // // Returned Error Types: -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. // -// * NamespaceNotFound -// No namespace exists with the specified ID. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // -// * ResourceInUse -// The specified resource can't be deleted because it contains other resources. -// For example, you can't delete a service that contains any instances. +// - NamespaceNotFound +// No namespace exists with the specified ID. // -// * DuplicateRequest -// The operation is already in progress. +// - ResourceInUse +// The specified resource can't be deleted because it contains other resources. +// For example, you can't delete a service that contains any instances. +// +// - DuplicateRequest +// The operation is already in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteNamespace func (c *ServiceDiscovery) DeleteNamespace(input *DeleteNamespaceInput) (*DeleteNamespaceOutput, error) { @@ -537,14 +537,13 @@ const opDeleteService = "DeleteService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServiceRequest method. +// req, resp := client.DeleteServiceRequest(params) // -// // Example sending a request using the DeleteServiceRequest method. -// req, resp := client.DeleteServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteService func (c *ServiceDiscovery) DeleteServiceRequest(input *DeleteServiceInput) (req *request.Request, output *DeleteServiceOutput) { @@ -577,17 +576,18 @@ func (c *ServiceDiscovery) DeleteServiceRequest(input *DeleteServiceInput) (req // API operation DeleteService for usage and error information. // // Returned Error Types: -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. // -// * ServiceNotFound -// No service exists with the specified ID. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // -// * ResourceInUse -// The specified resource can't be deleted because it contains other resources. -// For example, you can't delete a service that contains any instances. +// - ServiceNotFound +// No service exists with the specified ID. +// +// - ResourceInUse +// The specified resource can't be deleted because it contains other resources. +// For example, you can't delete a service that contains any instances. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeleteService func (c *ServiceDiscovery) DeleteService(input *DeleteServiceInput) (*DeleteServiceOutput, error) { @@ -627,14 +627,13 @@ const opDeregisterInstance = "DeregisterInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterInstanceRequest method. +// req, resp := client.DeregisterInstanceRequest(params) // -// // Example sending a request using the DeregisterInstanceRequest method. -// req, resp := client.DeregisterInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeregisterInstance func (c *ServiceDiscovery) DeregisterInstanceRequest(input *DeregisterInstanceInput) (req *request.Request, output *DeregisterInstanceOutput) { @@ -666,24 +665,25 @@ func (c *ServiceDiscovery) DeregisterInstanceRequest(input *DeregisterInstanceIn // API operation DeregisterInstance for usage and error information. // // Returned Error Types: -// * DuplicateRequest -// The operation is already in progress. // -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. +// - DuplicateRequest +// The operation is already in progress. +// +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // -// * InstanceNotFound -// No instance exists with the specified ID, or the instance was recently registered, -// and information about the instance hasn't propagated yet. +// - InstanceNotFound +// No instance exists with the specified ID, or the instance was recently registered, +// and information about the instance hasn't propagated yet. // -// * ResourceInUse -// The specified resource can't be deleted because it contains other resources. -// For example, you can't delete a service that contains any instances. +// - ResourceInUse +// The specified resource can't be deleted because it contains other resources. +// For example, you can't delete a service that contains any instances. // -// * ServiceNotFound -// No service exists with the specified ID. +// - ServiceNotFound +// No service exists with the specified ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DeregisterInstance func (c *ServiceDiscovery) DeregisterInstance(input *DeregisterInstanceInput) (*DeregisterInstanceOutput, error) { @@ -723,14 +723,13 @@ const opDiscoverInstances = "DiscoverInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DiscoverInstancesRequest method. +// req, resp := client.DiscoverInstancesRequest(params) // -// // Example sending a request using the DiscoverInstancesRequest method. -// req, resp := client.DiscoverInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DiscoverInstances func (c *ServiceDiscovery) DiscoverInstancesRequest(input *DiscoverInstancesInput) (req *request.Request, output *DiscoverInstancesOutput) { @@ -766,22 +765,23 @@ func (c *ServiceDiscovery) DiscoverInstancesRequest(input *DiscoverInstancesInpu // API operation DiscoverInstances for usage and error information. // // Returned Error Types: -// * ServiceNotFound -// No service exists with the specified ID. // -// * NamespaceNotFound -// No namespace exists with the specified ID. +// - ServiceNotFound +// No service exists with the specified ID. +// +// - NamespaceNotFound +// No namespace exists with the specified ID. // -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // -// * RequestLimitExceeded -// The operation can't be completed because you've reached the quota for the -// number of requests. For more information, see Cloud Map API request throttling -// quota (https://docs.aws.amazon.com/cloud-map/latest/dg/throttling.html) in -// the Cloud Map Developer Guide. +// - RequestLimitExceeded +// The operation can't be completed because you've reached the quota for the +// number of requests. For more information, see Cloud Map API request throttling +// quota (https://docs.aws.amazon.com/cloud-map/latest/dg/throttling.html) in +// the Cloud Map Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/DiscoverInstances func (c *ServiceDiscovery) DiscoverInstances(input *DiscoverInstancesInput) (*DiscoverInstancesOutput, error) { @@ -821,14 +821,13 @@ const opGetInstance = "GetInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInstanceRequest method. +// req, resp := client.GetInstanceRequest(params) // -// // Example sending a request using the GetInstanceRequest method. -// req, resp := client.GetInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstance func (c *ServiceDiscovery) GetInstanceRequest(input *GetInstanceInput) (req *request.Request, output *GetInstanceOutput) { @@ -859,17 +858,18 @@ func (c *ServiceDiscovery) GetInstanceRequest(input *GetInstanceInput) (req *req // API operation GetInstance for usage and error information. // // Returned Error Types: -// * InstanceNotFound -// No instance exists with the specified ID, or the instance was recently registered, -// and information about the instance hasn't propagated yet. // -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. +// - InstanceNotFound +// No instance exists with the specified ID, or the instance was recently registered, +// and information about the instance hasn't propagated yet. +// +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // -// * ServiceNotFound -// No service exists with the specified ID. +// - ServiceNotFound +// No service exists with the specified ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstance func (c *ServiceDiscovery) GetInstance(input *GetInstanceInput) (*GetInstanceOutput, error) { @@ -909,14 +909,13 @@ const opGetInstancesHealthStatus = "GetInstancesHealthStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInstancesHealthStatusRequest method. +// req, resp := client.GetInstancesHealthStatusRequest(params) // -// // Example sending a request using the GetInstancesHealthStatusRequest method. -// req, resp := client.GetInstancesHealthStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstancesHealthStatus func (c *ServiceDiscovery) GetInstancesHealthStatusRequest(input *GetInstancesHealthStatusInput) (req *request.Request, output *GetInstancesHealthStatusOutput) { @@ -957,17 +956,18 @@ func (c *ServiceDiscovery) GetInstancesHealthStatusRequest(input *GetInstancesHe // API operation GetInstancesHealthStatus for usage and error information. // // Returned Error Types: -// * InstanceNotFound -// No instance exists with the specified ID, or the instance was recently registered, -// and information about the instance hasn't propagated yet. // -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. +// - InstanceNotFound +// No instance exists with the specified ID, or the instance was recently registered, +// and information about the instance hasn't propagated yet. +// +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // -// * ServiceNotFound -// No service exists with the specified ID. +// - ServiceNotFound +// No service exists with the specified ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetInstancesHealthStatus func (c *ServiceDiscovery) GetInstancesHealthStatus(input *GetInstancesHealthStatusInput) (*GetInstancesHealthStatusOutput, error) { @@ -999,15 +999,14 @@ func (c *ServiceDiscovery) GetInstancesHealthStatusWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetInstancesHealthStatus operation. -// pageNum := 0 -// err := client.GetInstancesHealthStatusPages(params, -// func(page *servicediscovery.GetInstancesHealthStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetInstancesHealthStatus operation. +// pageNum := 0 +// err := client.GetInstancesHealthStatusPages(params, +// func(page *servicediscovery.GetInstancesHealthStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceDiscovery) GetInstancesHealthStatusPages(input *GetInstancesHealthStatusInput, fn func(*GetInstancesHealthStatusOutput, bool) bool) error { return c.GetInstancesHealthStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1059,14 +1058,13 @@ const opGetNamespace = "GetNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNamespaceRequest method. +// req, resp := client.GetNamespaceRequest(params) // -// // Example sending a request using the GetNamespaceRequest method. -// req, resp := client.GetNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetNamespace func (c *ServiceDiscovery) GetNamespaceRequest(input *GetNamespaceInput) (req *request.Request, output *GetNamespaceOutput) { @@ -1097,13 +1095,14 @@ func (c *ServiceDiscovery) GetNamespaceRequest(input *GetNamespaceInput) (req *r // API operation GetNamespace for usage and error information. // // Returned Error Types: -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. // -// * NamespaceNotFound -// No namespace exists with the specified ID. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. +// +// - NamespaceNotFound +// No namespace exists with the specified ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetNamespace func (c *ServiceDiscovery) GetNamespace(input *GetNamespaceInput) (*GetNamespaceOutput, error) { @@ -1143,14 +1142,13 @@ const opGetOperation = "GetOperation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOperationRequest method. +// req, resp := client.GetOperationRequest(params) // -// // Example sending a request using the GetOperationRequest method. -// req, resp := client.GetOperationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetOperation func (c *ServiceDiscovery) GetOperationRequest(input *GetOperationInput) (req *request.Request, output *GetOperationOutput) { @@ -1185,13 +1183,14 @@ func (c *ServiceDiscovery) GetOperationRequest(input *GetOperationInput) (req *r // API operation GetOperation for usage and error information. // // Returned Error Types: -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. // -// * OperationNotFound -// No operation exists with the specified ID. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. +// +// - OperationNotFound +// No operation exists with the specified ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetOperation func (c *ServiceDiscovery) GetOperation(input *GetOperationInput) (*GetOperationOutput, error) { @@ -1231,14 +1230,13 @@ const opGetService = "GetService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceRequest method. +// req, resp := client.GetServiceRequest(params) // -// // Example sending a request using the GetServiceRequest method. -// req, resp := client.GetServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetService func (c *ServiceDiscovery) GetServiceRequest(input *GetServiceInput) (req *request.Request, output *GetServiceOutput) { @@ -1269,13 +1267,14 @@ func (c *ServiceDiscovery) GetServiceRequest(input *GetServiceInput) (req *reque // API operation GetService for usage and error information. // // Returned Error Types: -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. // -// * ServiceNotFound -// No service exists with the specified ID. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. +// +// - ServiceNotFound +// No service exists with the specified ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/GetService func (c *ServiceDiscovery) GetService(input *GetServiceInput) (*GetServiceOutput, error) { @@ -1315,14 +1314,13 @@ const opListInstances = "ListInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInstancesRequest method. +// req, resp := client.ListInstancesRequest(params) // -// // Example sending a request using the ListInstancesRequest method. -// req, resp := client.ListInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstances func (c *ServiceDiscovery) ListInstancesRequest(input *ListInstancesInput) (req *request.Request, output *ListInstancesOutput) { @@ -1360,13 +1358,14 @@ func (c *ServiceDiscovery) ListInstancesRequest(input *ListInstancesInput) (req // API operation ListInstances for usage and error information. // // Returned Error Types: -// * ServiceNotFound -// No service exists with the specified ID. // -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. +// - ServiceNotFound +// No service exists with the specified ID. +// +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListInstances func (c *ServiceDiscovery) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error) { @@ -1398,15 +1397,14 @@ func (c *ServiceDiscovery) ListInstancesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInstances operation. -// pageNum := 0 -// err := client.ListInstancesPages(params, -// func(page *servicediscovery.ListInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInstances operation. +// pageNum := 0 +// err := client.ListInstancesPages(params, +// func(page *servicediscovery.ListInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceDiscovery) ListInstancesPages(input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool) error { return c.ListInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1458,14 +1456,13 @@ const opListNamespaces = "ListNamespaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNamespacesRequest method. +// req, resp := client.ListNamespacesRequest(params) // -// // Example sending a request using the ListNamespacesRequest method. -// req, resp := client.ListNamespacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListNamespaces func (c *ServiceDiscovery) ListNamespacesRequest(input *ListNamespacesInput) (req *request.Request, output *ListNamespacesOutput) { @@ -1503,10 +1500,10 @@ func (c *ServiceDiscovery) ListNamespacesRequest(input *ListNamespacesInput) (re // API operation ListNamespaces for usage and error information. // // Returned Error Types: -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListNamespaces func (c *ServiceDiscovery) ListNamespaces(input *ListNamespacesInput) (*ListNamespacesOutput, error) { @@ -1538,15 +1535,14 @@ func (c *ServiceDiscovery) ListNamespacesWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNamespaces operation. -// pageNum := 0 -// err := client.ListNamespacesPages(params, -// func(page *servicediscovery.ListNamespacesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNamespaces operation. +// pageNum := 0 +// err := client.ListNamespacesPages(params, +// func(page *servicediscovery.ListNamespacesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceDiscovery) ListNamespacesPages(input *ListNamespacesInput, fn func(*ListNamespacesOutput, bool) bool) error { return c.ListNamespacesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1598,14 +1594,13 @@ const opListOperations = "ListOperations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOperationsRequest method. +// req, resp := client.ListOperationsRequest(params) // -// // Example sending a request using the ListOperationsRequest method. -// req, resp := client.ListOperationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListOperations func (c *ServiceDiscovery) ListOperationsRequest(input *ListOperationsInput) (req *request.Request, output *ListOperationsOutput) { @@ -1642,10 +1637,10 @@ func (c *ServiceDiscovery) ListOperationsRequest(input *ListOperationsInput) (re // API operation ListOperations for usage and error information. // // Returned Error Types: -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListOperations func (c *ServiceDiscovery) ListOperations(input *ListOperationsInput) (*ListOperationsOutput, error) { @@ -1677,15 +1672,14 @@ func (c *ServiceDiscovery) ListOperationsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOperations operation. -// pageNum := 0 -// err := client.ListOperationsPages(params, -// func(page *servicediscovery.ListOperationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOperations operation. +// pageNum := 0 +// err := client.ListOperationsPages(params, +// func(page *servicediscovery.ListOperationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceDiscovery) ListOperationsPages(input *ListOperationsInput, fn func(*ListOperationsOutput, bool) bool) error { return c.ListOperationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1737,14 +1731,13 @@ const opListServices = "ListServices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServicesRequest method. +// req, resp := client.ListServicesRequest(params) // -// // Example sending a request using the ListServicesRequest method. -// req, resp := client.ListServicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListServices func (c *ServiceDiscovery) ListServicesRequest(input *ListServicesInput) (req *request.Request, output *ListServicesOutput) { @@ -1782,10 +1775,10 @@ func (c *ServiceDiscovery) ListServicesRequest(input *ListServicesInput) (req *r // API operation ListServices for usage and error information. // // Returned Error Types: -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListServices func (c *ServiceDiscovery) ListServices(input *ListServicesInput) (*ListServicesOutput, error) { @@ -1817,15 +1810,14 @@ func (c *ServiceDiscovery) ListServicesWithContext(ctx aws.Context, input *ListS // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServices operation. -// pageNum := 0 -// err := client.ListServicesPages(params, -// func(page *servicediscovery.ListServicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServices operation. +// pageNum := 0 +// err := client.ListServicesPages(params, +// func(page *servicediscovery.ListServicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceDiscovery) ListServicesPages(input *ListServicesInput, fn func(*ListServicesOutput, bool) bool) error { return c.ListServicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1877,14 +1869,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListTagsForResource func (c *ServiceDiscovery) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1915,13 +1906,14 @@ func (c *ServiceDiscovery) ListTagsForResourceRequest(input *ListTagsForResource // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation can't be completed because the resource was not found. // -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. +// - ResourceNotFoundException +// The operation can't be completed because the resource was not found. +// +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/ListTagsForResource func (c *ServiceDiscovery) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1961,14 +1953,13 @@ const opRegisterInstance = "RegisterInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterInstanceRequest method. +// req, resp := client.RegisterInstanceRequest(params) // -// // Example sending a request using the RegisterInstanceRequest method. -// req, resp := client.RegisterInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/RegisterInstance func (c *ServiceDiscovery) RegisterInstanceRequest(input *RegisterInstanceInput) (req *request.Request, output *RegisterInstanceOutput) { @@ -1993,15 +1984,15 @@ func (c *ServiceDiscovery) RegisterInstanceRequest(input *RegisterInstanceInput) // check based on the settings in a specified service. When you submit a RegisterInstance // request, the following occurs: // -// * For each DNS record that you define in the service that's specified -// by ServiceId, a record is created or updated in the hosted zone that's -// associated with the corresponding namespace. +// - For each DNS record that you define in the service that's specified +// by ServiceId, a record is created or updated in the hosted zone that's +// associated with the corresponding namespace. // -// * If the service includes HealthCheckConfig, a health check is created -// based on the settings in the health check configuration. +// - If the service includes HealthCheckConfig, a health check is created +// based on the settings in the health check configuration. // -// * The health check, if any, is associated with each of the new or updated -// records. +// - The health check, if any, is associated with each of the new or updated +// records. // // One RegisterInstance request must complete before you can submit another // request and specify the same service ID and instance ID. @@ -2011,13 +2002,13 @@ func (c *ServiceDiscovery) RegisterInstanceRequest(input *RegisterInstanceInput) // When Cloud Map receives a DNS query for the specified DNS name, it returns // the applicable value: // -// * If the health check is healthy: returns all the records +// - If the health check is healthy: returns all the records // -// * If the health check is unhealthy: returns the applicable value for the -// last healthy instance +// - If the health check is unhealthy: returns the applicable value for the +// last healthy instance // -// * If you didn't specify a health check configuration: returns all the -// records +// - If you didn't specify a health check configuration: returns all the +// records // // For the current quota on the number of instances that you can register using // the same namespace and using the same service, see Cloud Map quotas (https://docs.aws.amazon.com/cloud-map/latest/dg/cloud-map-limits.html) @@ -2031,24 +2022,25 @@ func (c *ServiceDiscovery) RegisterInstanceRequest(input *RegisterInstanceInput) // API operation RegisterInstance for usage and error information. // // Returned Error Types: -// * DuplicateRequest -// The operation is already in progress. // -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. +// - DuplicateRequest +// The operation is already in progress. +// +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // -// * ResourceInUse -// The specified resource can't be deleted because it contains other resources. -// For example, you can't delete a service that contains any instances. +// - ResourceInUse +// The specified resource can't be deleted because it contains other resources. +// For example, you can't delete a service that contains any instances. // -// * ResourceLimitExceeded -// The resource can't be created because you've reached the quota on the number -// of resources. +// - ResourceLimitExceeded +// The resource can't be created because you've reached the quota on the number +// of resources. // -// * ServiceNotFound -// No service exists with the specified ID. +// - ServiceNotFound +// No service exists with the specified ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/RegisterInstance func (c *ServiceDiscovery) RegisterInstance(input *RegisterInstanceInput) (*RegisterInstanceOutput, error) { @@ -2088,14 +2080,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/TagResource func (c *ServiceDiscovery) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2127,17 +2118,18 @@ func (c *ServiceDiscovery) TagResourceRequest(input *TagResourceInput) (req *req // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation can't be completed because the resource was not found. // -// * TooManyTagsException -// The list of tags on the resource is over the quota. The maximum number of -// tags that can be applied to a resource is 50. +// - ResourceNotFoundException +// The operation can't be completed because the resource was not found. // -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. +// - TooManyTagsException +// The list of tags on the resource is over the quota. The maximum number of +// tags that can be applied to a resource is 50. +// +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/TagResource func (c *ServiceDiscovery) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2177,14 +2169,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UntagResource func (c *ServiceDiscovery) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2216,13 +2207,14 @@ func (c *ServiceDiscovery) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation can't be completed because the resource was not found. // -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. +// - ResourceNotFoundException +// The operation can't be completed because the resource was not found. +// +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UntagResource func (c *ServiceDiscovery) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2262,14 +2254,13 @@ const opUpdateHttpNamespace = "UpdateHttpNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateHttpNamespaceRequest method. +// req, resp := client.UpdateHttpNamespaceRequest(params) // -// // Example sending a request using the UpdateHttpNamespaceRequest method. -// req, resp := client.UpdateHttpNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateHttpNamespace func (c *ServiceDiscovery) UpdateHttpNamespaceRequest(input *UpdateHttpNamespaceInput) (req *request.Request, output *UpdateHttpNamespaceOutput) { @@ -2300,20 +2291,21 @@ func (c *ServiceDiscovery) UpdateHttpNamespaceRequest(input *UpdateHttpNamespace // API operation UpdateHttpNamespace for usage and error information. // // Returned Error Types: -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. // -// * NamespaceNotFound -// No namespace exists with the specified ID. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // -// * ResourceInUse -// The specified resource can't be deleted because it contains other resources. -// For example, you can't delete a service that contains any instances. +// - NamespaceNotFound +// No namespace exists with the specified ID. // -// * DuplicateRequest -// The operation is already in progress. +// - ResourceInUse +// The specified resource can't be deleted because it contains other resources. +// For example, you can't delete a service that contains any instances. +// +// - DuplicateRequest +// The operation is already in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateHttpNamespace func (c *ServiceDiscovery) UpdateHttpNamespace(input *UpdateHttpNamespaceInput) (*UpdateHttpNamespaceOutput, error) { @@ -2353,14 +2345,13 @@ const opUpdateInstanceCustomHealthStatus = "UpdateInstanceCustomHealthStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateInstanceCustomHealthStatusRequest method. +// req, resp := client.UpdateInstanceCustomHealthStatusRequest(params) // -// // Example sending a request using the UpdateInstanceCustomHealthStatusRequest method. -// req, resp := client.UpdateInstanceCustomHealthStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateInstanceCustomHealthStatus func (c *ServiceDiscovery) UpdateInstanceCustomHealthStatusRequest(input *UpdateInstanceCustomHealthStatusInput) (req *request.Request, output *UpdateInstanceCustomHealthStatusOutput) { @@ -2400,21 +2391,22 @@ func (c *ServiceDiscovery) UpdateInstanceCustomHealthStatusRequest(input *Update // API operation UpdateInstanceCustomHealthStatus for usage and error information. // // Returned Error Types: -// * InstanceNotFound -// No instance exists with the specified ID, or the instance was recently registered, -// and information about the instance hasn't propagated yet. // -// * ServiceNotFound -// No service exists with the specified ID. +// - InstanceNotFound +// No instance exists with the specified ID, or the instance was recently registered, +// and information about the instance hasn't propagated yet. +// +// - ServiceNotFound +// No service exists with the specified ID. // -// * CustomHealthNotFound -// The health check for the instance that's specified by ServiceId and InstanceId -// isn't a custom health check. +// - CustomHealthNotFound +// The health check for the instance that's specified by ServiceId and InstanceId +// isn't a custom health check. // -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateInstanceCustomHealthStatus func (c *ServiceDiscovery) UpdateInstanceCustomHealthStatus(input *UpdateInstanceCustomHealthStatusInput) (*UpdateInstanceCustomHealthStatusOutput, error) { @@ -2454,14 +2446,13 @@ const opUpdatePrivateDnsNamespace = "UpdatePrivateDnsNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePrivateDnsNamespaceRequest method. +// req, resp := client.UpdatePrivateDnsNamespaceRequest(params) // -// // Example sending a request using the UpdatePrivateDnsNamespaceRequest method. -// req, resp := client.UpdatePrivateDnsNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdatePrivateDnsNamespace func (c *ServiceDiscovery) UpdatePrivateDnsNamespaceRequest(input *UpdatePrivateDnsNamespaceInput) (req *request.Request, output *UpdatePrivateDnsNamespaceOutput) { @@ -2492,20 +2483,21 @@ func (c *ServiceDiscovery) UpdatePrivateDnsNamespaceRequest(input *UpdatePrivate // API operation UpdatePrivateDnsNamespace for usage and error information. // // Returned Error Types: -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. // -// * NamespaceNotFound -// No namespace exists with the specified ID. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. +// +// - NamespaceNotFound +// No namespace exists with the specified ID. // -// * ResourceInUse -// The specified resource can't be deleted because it contains other resources. -// For example, you can't delete a service that contains any instances. +// - ResourceInUse +// The specified resource can't be deleted because it contains other resources. +// For example, you can't delete a service that contains any instances. // -// * DuplicateRequest -// The operation is already in progress. +// - DuplicateRequest +// The operation is already in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdatePrivateDnsNamespace func (c *ServiceDiscovery) UpdatePrivateDnsNamespace(input *UpdatePrivateDnsNamespaceInput) (*UpdatePrivateDnsNamespaceOutput, error) { @@ -2545,14 +2537,13 @@ const opUpdatePublicDnsNamespace = "UpdatePublicDnsNamespace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePublicDnsNamespaceRequest method. +// req, resp := client.UpdatePublicDnsNamespaceRequest(params) // -// // Example sending a request using the UpdatePublicDnsNamespaceRequest method. -// req, resp := client.UpdatePublicDnsNamespaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdatePublicDnsNamespace func (c *ServiceDiscovery) UpdatePublicDnsNamespaceRequest(input *UpdatePublicDnsNamespaceInput) (req *request.Request, output *UpdatePublicDnsNamespaceOutput) { @@ -2583,20 +2574,21 @@ func (c *ServiceDiscovery) UpdatePublicDnsNamespaceRequest(input *UpdatePublicDn // API operation UpdatePublicDnsNamespace for usage and error information. // // Returned Error Types: -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. // -// * NamespaceNotFound -// No namespace exists with the specified ID. +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // -// * ResourceInUse -// The specified resource can't be deleted because it contains other resources. -// For example, you can't delete a service that contains any instances. +// - NamespaceNotFound +// No namespace exists with the specified ID. // -// * DuplicateRequest -// The operation is already in progress. +// - ResourceInUse +// The specified resource can't be deleted because it contains other resources. +// For example, you can't delete a service that contains any instances. +// +// - DuplicateRequest +// The operation is already in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdatePublicDnsNamespace func (c *ServiceDiscovery) UpdatePublicDnsNamespace(input *UpdatePublicDnsNamespaceInput) (*UpdatePublicDnsNamespaceOutput, error) { @@ -2636,14 +2628,13 @@ const opUpdateService = "UpdateService" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServiceRequest method. +// req, resp := client.UpdateServiceRequest(params) // -// // Example sending a request using the UpdateServiceRequest method. -// req, resp := client.UpdateServiceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateService func (c *ServiceDiscovery) UpdateServiceRequest(input *UpdateServiceInput) (req *request.Request, output *UpdateServiceOutput) { @@ -2666,19 +2657,19 @@ func (c *ServiceDiscovery) UpdateServiceRequest(input *UpdateServiceInput) (req // // Submits a request to perform the following operations: // -// * Update the TTL setting for existing DnsRecords configurations +// - Update the TTL setting for existing DnsRecords configurations // -// * Add, update, or delete HealthCheckConfig for a specified service You -// can't add, update, or delete a HealthCheckCustomConfig configuration. +// - Add, update, or delete HealthCheckConfig for a specified service You +// can't add, update, or delete a HealthCheckCustomConfig configuration. // // For public and private DNS namespaces, note the following: // -// * If you omit any existing DnsRecords or HealthCheckConfig configurations -// from an UpdateService request, the configurations are deleted from the -// service. +// - If you omit any existing DnsRecords or HealthCheckConfig configurations +// from an UpdateService request, the configurations are deleted from the +// service. // -// * If you omit an existing HealthCheckCustomConfig configuration from an -// UpdateService request, the configuration isn't deleted from the service. +// - If you omit an existing HealthCheckCustomConfig configuration from an +// UpdateService request, the configuration isn't deleted from the service. // // When you update settings for a service, Cloud Map also updates the corresponding // settings in all the records and health checks that were created by using @@ -2692,16 +2683,17 @@ func (c *ServiceDiscovery) UpdateServiceRequest(input *UpdateServiceInput) (req // API operation UpdateService for usage and error information. // // Returned Error Types: -// * DuplicateRequest -// The operation is already in progress. // -// * InvalidInput -// One or more specified values aren't valid. For example, a required value -// might be missing, a numeric value might be outside the allowed range, or -// a string value might exceed length constraints. +// - DuplicateRequest +// The operation is already in progress. +// +// - InvalidInput +// One or more specified values aren't valid. For example, a required value +// might be missing, a numeric value might be outside the allowed range, or +// a string value might exceed length constraints. // -// * ServiceNotFound -// No service exists with the specified ID. +// - ServiceNotFound +// No service exists with the specified ID. // // See also, https://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/UpdateService func (c *ServiceDiscovery) UpdateService(input *UpdateServiceInput) (*UpdateServiceOutput, error) { @@ -4720,20 +4712,20 @@ func (s *GetServiceOutput) SetService(v *Service) *GetServiceOutput { // // Note the following about configuring health checks. // -// A and AAAA records +// # A and AAAA records // // If DnsConfig includes configurations for both A and AAAA records, Cloud Map // creates a health check that uses the IPv4 address to check the health of // the resource. If the endpoint tthat's specified by the IPv4 address is unhealthy, // Route 53 considers both the A and AAAA records to be unhealthy. // -// CNAME records +// # CNAME records // // You can't specify settings for HealthCheckConfig when the DNSConfig includes // CNAME for the value of Type. If you do, the CreateService request will fail // with an InvalidInput error. // -// Request interval +// # Request interval // // A Route 53 health checker in each health-checking Amazon Web Services Region // sends a health check request to an endpoint every 30 seconds. On average, @@ -4742,26 +4734,26 @@ func (s *GetServiceOutput) SetService(v *Service) *GetServiceOutput { // see several requests in one second that's followed by a few seconds with // no health checks at all. // -// Health checking regions +// # Health checking regions // // Health checkers perform checks from all Route 53 health-checking Regions. // For a list of the current Regions, see Regions (https://docs.aws.amazon.com/Route53/latest/APIReference/API_HealthCheckConfig.html#Route53-Type-HealthCheckConfig-Regions). // -// Alias records +// # Alias records // // When you register an instance, if you include the AWS_ALIAS_DNS_NAME attribute, // Cloud Map creates a Route 53 alias record. Note the following: // -// * Route 53 automatically sets EvaluateTargetHealth to true for alias records. -// When EvaluateTargetHealth is true, the alias record inherits the health -// of the referenced Amazon Web Services resource. such as an ELB load balancer. -// For more information, see EvaluateTargetHealth (https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html#Route53-Type-AliasTarget-EvaluateTargetHealth). +// - Route 53 automatically sets EvaluateTargetHealth to true for alias records. +// When EvaluateTargetHealth is true, the alias record inherits the health +// of the referenced Amazon Web Services resource. such as an ELB load balancer. +// For more information, see EvaluateTargetHealth (https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html#Route53-Type-AliasTarget-EvaluateTargetHealth). // -// * If you include HealthCheckConfig and then use the service to register -// an instance that creates an alias record, Route 53 doesn't create the -// health check. +// - If you include HealthCheckConfig and then use the service to register +// an instance that creates an alias record, Route 53 doesn't create the +// health check. // -// Charges for health checks +// # Charges for health checks // // Health checks are basic Route 53 health checks that monitor an Amazon Web // Services endpoint. For information about pricing for health checks, see Amazon @@ -4870,14 +4862,14 @@ func (s *HealthCheckConfig) SetType(v string) *HealthCheckConfig { // checker to evaluate the health of your resources, is useful in the following // circumstances: // -// * You can't use a health check that's defined by HealthCheckConfig because -// the resource isn't available over the internet. For example, you can use -// a custom health check when the instance is in an Amazon VPC. (To check -// the health of resources in a VPC, the health checker must also be in the -// VPC.) +// - You can't use a health check that's defined by HealthCheckConfig because +// the resource isn't available over the internet. For example, you can use +// a custom health check when the instance is in an Amazon VPC. (To check +// the health of resources in a VPC, the health checker must also be in the +// VPC.) // -// * You want to use a third-party health checker regardless of where your -// resources are located. +// - You want to use a third-party health checker regardless of where your +// resources are located. // // If you specify a health check configuration, you can specify either HealthCheckCustomConfig // or HealthCheckConfig but not both. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/doc.go index 70970acdf1f1..305212ca411b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/doc.go @@ -16,7 +16,7 @@ // See servicediscovery package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/servicediscovery/ // -// Using the Client +// # Using the Client // // To contact AWS Cloud Map with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/service.go index aead67ba87ca..0da45afd5871 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ServiceDiscovery client from just a session. -// svc := servicediscovery.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ServiceDiscovery client with additional configuration -// svc := servicediscovery.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ServiceDiscovery client from just a session. +// svc := servicediscovery.New(mySession) +// +// // Create a ServiceDiscovery client with additional configuration +// svc := servicediscovery.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ServiceDiscovery { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/servicediscoveryiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/servicediscoveryiface/interface.go index 941826687e7e..07a9cd7ece3f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/servicediscoveryiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicediscovery/servicediscoveryiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Cloud Map. -// func myFunc(svc servicediscoveryiface.ServiceDiscoveryAPI) bool { -// // Make svc.CreateHttpNamespace request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Cloud Map. +// func myFunc(svc servicediscoveryiface.ServiceDiscoveryAPI) bool { +// // Make svc.CreateHttpNamespace request +// } // -// func main() { -// sess := session.New() -// svc := servicediscovery.New(sess) +// func main() { +// sess := session.New() +// svc := servicediscovery.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockServiceDiscoveryClient struct { -// servicediscoveryiface.ServiceDiscoveryAPI -// } -// func (m *mockServiceDiscoveryClient) CreateHttpNamespace(input *servicediscovery.CreateHttpNamespaceInput) (*servicediscovery.CreateHttpNamespaceOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockServiceDiscoveryClient struct { +// servicediscoveryiface.ServiceDiscoveryAPI +// } +// func (m *mockServiceDiscoveryClient) CreateHttpNamespace(input *servicediscovery.CreateHttpNamespaceInput) (*servicediscovery.CreateHttpNamespaceOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockServiceDiscoveryClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockServiceDiscoveryClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/api.go index ccf6c09f249d..8b67fbbe56e4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/api.go @@ -29,14 +29,13 @@ const opAssociateServiceQuotaTemplate = "AssociateServiceQuotaTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateServiceQuotaTemplateRequest method. +// req, resp := client.AssociateServiceQuotaTemplateRequest(params) // -// // Example sending a request using the AssociateServiceQuotaTemplateRequest method. -// req, resp := client.AssociateServiceQuotaTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/AssociateServiceQuotaTemplate func (c *ServiceQuotas) AssociateServiceQuotaTemplateRequest(input *AssociateServiceQuotaTemplateInput) (req *request.Request, output *AssociateServiceQuotaTemplateOutput) { @@ -71,31 +70,32 @@ func (c *ServiceQuotas) AssociateServiceQuotaTemplateRequest(input *AssociateSer // API operation AssociateServiceQuotaTemplate for usage and error information. // // Returned Error Types: -// * DependencyAccessDeniedException -// You can't perform this action because a dependency does not have access. // -// * AccessDeniedException -// You do not have sufficient permission to perform this action. +// - DependencyAccessDeniedException +// You can't perform this action because a dependency does not have access. +// +// - AccessDeniedException +// You do not have sufficient permission to perform this action. // -// * ServiceException -// Something went wrong. +// - ServiceException +// Something went wrong. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // -// * AWSServiceAccessNotEnabledException -// The action you attempted is not allowed unless Service Access with Service -// Quotas is enabled in your organization. +// - AWSServiceAccessNotEnabledException +// The action you attempted is not allowed unless Service Access with Service +// Quotas is enabled in your organization. // -// * OrganizationNotInAllFeaturesModeException -// The organization that your account belongs to is not in All Features mode. +// - OrganizationNotInAllFeaturesModeException +// The organization that your account belongs to is not in All Features mode. // -// * TemplatesNotAvailableInRegionException -// The Service Quotas template is not available in this AWS Region. +// - TemplatesNotAvailableInRegionException +// The Service Quotas template is not available in this AWS Region. // -// * NoAvailableOrganizationException -// The account making this call is not a member of an organization. +// - NoAvailableOrganizationException +// The account making this call is not a member of an organization. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/AssociateServiceQuotaTemplate func (c *ServiceQuotas) AssociateServiceQuotaTemplate(input *AssociateServiceQuotaTemplateInput) (*AssociateServiceQuotaTemplateOutput, error) { @@ -135,14 +135,13 @@ const opDeleteServiceQuotaIncreaseRequestFromTemplate = "DeleteServiceQuotaIncre // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServiceQuotaIncreaseRequestFromTemplateRequest method. +// req, resp := client.DeleteServiceQuotaIncreaseRequestFromTemplateRequest(params) // -// // Example sending a request using the DeleteServiceQuotaIncreaseRequestFromTemplateRequest method. -// req, resp := client.DeleteServiceQuotaIncreaseRequestFromTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DeleteServiceQuotaIncreaseRequestFromTemplate func (c *ServiceQuotas) DeleteServiceQuotaIncreaseRequestFromTemplateRequest(input *DeleteServiceQuotaIncreaseRequestFromTemplateInput) (req *request.Request, output *DeleteServiceQuotaIncreaseRequestFromTemplateOutput) { @@ -175,34 +174,35 @@ func (c *ServiceQuotas) DeleteServiceQuotaIncreaseRequestFromTemplateRequest(inp // API operation DeleteServiceQuotaIncreaseRequestFromTemplate for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permission to perform this action. // -// * ServiceException -// Something went wrong. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. // -// * DependencyAccessDeniedException -// You can't perform this action because a dependency does not have access. +// - ServiceException +// Something went wrong. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - DependencyAccessDeniedException +// You can't perform this action because a dependency does not have access. // -// * NoSuchResourceException -// The specified resource does not exist. +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // -// * IllegalArgumentException -// Invalid input was provided. +// - NoSuchResourceException +// The specified resource does not exist. // -// * AWSServiceAccessNotEnabledException -// The action you attempted is not allowed unless Service Access with Service -// Quotas is enabled in your organization. +// - IllegalArgumentException +// Invalid input was provided. // -// * TemplatesNotAvailableInRegionException -// The Service Quotas template is not available in this AWS Region. +// - AWSServiceAccessNotEnabledException +// The action you attempted is not allowed unless Service Access with Service +// Quotas is enabled in your organization. // -// * NoAvailableOrganizationException -// The account making this call is not a member of an organization. +// - TemplatesNotAvailableInRegionException +// The Service Quotas template is not available in this AWS Region. +// +// - NoAvailableOrganizationException +// The account making this call is not a member of an organization. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DeleteServiceQuotaIncreaseRequestFromTemplate func (c *ServiceQuotas) DeleteServiceQuotaIncreaseRequestFromTemplate(input *DeleteServiceQuotaIncreaseRequestFromTemplateInput) (*DeleteServiceQuotaIncreaseRequestFromTemplateOutput, error) { @@ -242,14 +242,13 @@ const opDisassociateServiceQuotaTemplate = "DisassociateServiceQuotaTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateServiceQuotaTemplateRequest method. +// req, resp := client.DisassociateServiceQuotaTemplateRequest(params) // -// // Example sending a request using the DisassociateServiceQuotaTemplateRequest method. -// req, resp := client.DisassociateServiceQuotaTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DisassociateServiceQuotaTemplate func (c *ServiceQuotas) DisassociateServiceQuotaTemplateRequest(input *DisassociateServiceQuotaTemplateInput) (req *request.Request, output *DisassociateServiceQuotaTemplateOutput) { @@ -284,31 +283,32 @@ func (c *ServiceQuotas) DisassociateServiceQuotaTemplateRequest(input *Disassoci // API operation DisassociateServiceQuotaTemplate for usage and error information. // // Returned Error Types: -// * DependencyAccessDeniedException -// You can't perform this action because a dependency does not have access. // -// * ServiceQuotaTemplateNotInUseException -// The quota request template is not associated with your organization. +// - DependencyAccessDeniedException +// You can't perform this action because a dependency does not have access. +// +// - ServiceQuotaTemplateNotInUseException +// The quota request template is not associated with your organization. // -// * AccessDeniedException -// You do not have sufficient permission to perform this action. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. // -// * ServiceException -// Something went wrong. +// - ServiceException +// Something went wrong. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // -// * AWSServiceAccessNotEnabledException -// The action you attempted is not allowed unless Service Access with Service -// Quotas is enabled in your organization. +// - AWSServiceAccessNotEnabledException +// The action you attempted is not allowed unless Service Access with Service +// Quotas is enabled in your organization. // -// * TemplatesNotAvailableInRegionException -// The Service Quotas template is not available in this AWS Region. +// - TemplatesNotAvailableInRegionException +// The Service Quotas template is not available in this AWS Region. // -// * NoAvailableOrganizationException -// The account making this call is not a member of an organization. +// - NoAvailableOrganizationException +// The account making this call is not a member of an organization. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/DisassociateServiceQuotaTemplate func (c *ServiceQuotas) DisassociateServiceQuotaTemplate(input *DisassociateServiceQuotaTemplateInput) (*DisassociateServiceQuotaTemplateOutput, error) { @@ -348,14 +348,13 @@ const opGetAWSDefaultServiceQuota = "GetAWSDefaultServiceQuota" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAWSDefaultServiceQuotaRequest method. +// req, resp := client.GetAWSDefaultServiceQuotaRequest(params) // -// // Example sending a request using the GetAWSDefaultServiceQuotaRequest method. -// req, resp := client.GetAWSDefaultServiceQuotaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuota func (c *ServiceQuotas) GetAWSDefaultServiceQuotaRequest(input *GetAWSDefaultServiceQuotaInput) (req *request.Request, output *GetAWSDefaultServiceQuotaOutput) { @@ -387,21 +386,22 @@ func (c *ServiceQuotas) GetAWSDefaultServiceQuotaRequest(input *GetAWSDefaultSer // API operation GetAWSDefaultServiceQuota for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permission to perform this action. // -// * NoSuchResourceException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. +// +// - NoSuchResourceException +// The specified resource does not exist. // -// * IllegalArgumentException -// Invalid input was provided. +// - IllegalArgumentException +// Invalid input was provided. // -// * ServiceException -// Something went wrong. +// - ServiceException +// Something went wrong. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAWSDefaultServiceQuota func (c *ServiceQuotas) GetAWSDefaultServiceQuota(input *GetAWSDefaultServiceQuotaInput) (*GetAWSDefaultServiceQuotaOutput, error) { @@ -441,14 +441,13 @@ const opGetAssociationForServiceQuotaTemplate = "GetAssociationForServiceQuotaTe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAssociationForServiceQuotaTemplateRequest method. +// req, resp := client.GetAssociationForServiceQuotaTemplateRequest(params) // -// // Example sending a request using the GetAssociationForServiceQuotaTemplateRequest method. -// req, resp := client.GetAssociationForServiceQuotaTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAssociationForServiceQuotaTemplate func (c *ServiceQuotas) GetAssociationForServiceQuotaTemplateRequest(input *GetAssociationForServiceQuotaTemplateInput) (req *request.Request, output *GetAssociationForServiceQuotaTemplateOutput) { @@ -479,31 +478,32 @@ func (c *ServiceQuotas) GetAssociationForServiceQuotaTemplateRequest(input *GetA // API operation GetAssociationForServiceQuotaTemplate for usage and error information. // // Returned Error Types: -// * DependencyAccessDeniedException -// You can't perform this action because a dependency does not have access. // -// * ServiceQuotaTemplateNotInUseException -// The quota request template is not associated with your organization. +// - DependencyAccessDeniedException +// You can't perform this action because a dependency does not have access. // -// * AccessDeniedException -// You do not have sufficient permission to perform this action. +// - ServiceQuotaTemplateNotInUseException +// The quota request template is not associated with your organization. // -// * ServiceException -// Something went wrong. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - ServiceException +// Something went wrong. // -// * AWSServiceAccessNotEnabledException -// The action you attempted is not allowed unless Service Access with Service -// Quotas is enabled in your organization. +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // -// * TemplatesNotAvailableInRegionException -// The Service Quotas template is not available in this AWS Region. +// - AWSServiceAccessNotEnabledException +// The action you attempted is not allowed unless Service Access with Service +// Quotas is enabled in your organization. // -// * NoAvailableOrganizationException -// The account making this call is not a member of an organization. +// - TemplatesNotAvailableInRegionException +// The Service Quotas template is not available in this AWS Region. +// +// - NoAvailableOrganizationException +// The account making this call is not a member of an organization. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetAssociationForServiceQuotaTemplate func (c *ServiceQuotas) GetAssociationForServiceQuotaTemplate(input *GetAssociationForServiceQuotaTemplateInput) (*GetAssociationForServiceQuotaTemplateOutput, error) { @@ -543,14 +543,13 @@ const opGetRequestedServiceQuotaChange = "GetRequestedServiceQuotaChange" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRequestedServiceQuotaChangeRequest method. +// req, resp := client.GetRequestedServiceQuotaChangeRequest(params) // -// // Example sending a request using the GetRequestedServiceQuotaChangeRequest method. -// req, resp := client.GetRequestedServiceQuotaChangeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetRequestedServiceQuotaChange func (c *ServiceQuotas) GetRequestedServiceQuotaChangeRequest(input *GetRequestedServiceQuotaChangeInput) (req *request.Request, output *GetRequestedServiceQuotaChangeOutput) { @@ -581,21 +580,22 @@ func (c *ServiceQuotas) GetRequestedServiceQuotaChangeRequest(input *GetRequeste // API operation GetRequestedServiceQuotaChange for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permission to perform this action. // -// * NoSuchResourceException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. // -// * IllegalArgumentException -// Invalid input was provided. +// - NoSuchResourceException +// The specified resource does not exist. // -// * ServiceException -// Something went wrong. +// - IllegalArgumentException +// Invalid input was provided. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - ServiceException +// Something went wrong. +// +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetRequestedServiceQuotaChange func (c *ServiceQuotas) GetRequestedServiceQuotaChange(input *GetRequestedServiceQuotaChangeInput) (*GetRequestedServiceQuotaChangeOutput, error) { @@ -635,14 +635,13 @@ const opGetServiceQuota = "GetServiceQuota" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceQuotaRequest method. +// req, resp := client.GetServiceQuotaRequest(params) // -// // Example sending a request using the GetServiceQuotaRequest method. -// req, resp := client.GetServiceQuotaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuota func (c *ServiceQuotas) GetServiceQuotaRequest(input *GetServiceQuotaInput) (req *request.Request, output *GetServiceQuotaOutput) { @@ -675,21 +674,22 @@ func (c *ServiceQuotas) GetServiceQuotaRequest(input *GetServiceQuotaInput) (req // API operation GetServiceQuota for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permission to perform this action. // -// * NoSuchResourceException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. +// +// - NoSuchResourceException +// The specified resource does not exist. // -// * IllegalArgumentException -// Invalid input was provided. +// - IllegalArgumentException +// Invalid input was provided. // -// * ServiceException -// Something went wrong. +// - ServiceException +// Something went wrong. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuota func (c *ServiceQuotas) GetServiceQuota(input *GetServiceQuotaInput) (*GetServiceQuotaOutput, error) { @@ -729,14 +729,13 @@ const opGetServiceQuotaIncreaseRequestFromTemplate = "GetServiceQuotaIncreaseReq // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceQuotaIncreaseRequestFromTemplateRequest method. +// req, resp := client.GetServiceQuotaIncreaseRequestFromTemplateRequest(params) // -// // Example sending a request using the GetServiceQuotaIncreaseRequestFromTemplateRequest method. -// req, resp := client.GetServiceQuotaIncreaseRequestFromTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaIncreaseRequestFromTemplate func (c *ServiceQuotas) GetServiceQuotaIncreaseRequestFromTemplateRequest(input *GetServiceQuotaIncreaseRequestFromTemplateInput) (req *request.Request, output *GetServiceQuotaIncreaseRequestFromTemplateOutput) { @@ -768,34 +767,35 @@ func (c *ServiceQuotas) GetServiceQuotaIncreaseRequestFromTemplateRequest(input // API operation GetServiceQuotaIncreaseRequestFromTemplate for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permission to perform this action. // -// * DependencyAccessDeniedException -// You can't perform this action because a dependency does not have access. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. +// +// - DependencyAccessDeniedException +// You can't perform this action because a dependency does not have access. // -// * ServiceException -// Something went wrong. +// - ServiceException +// Something went wrong. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // -// * NoSuchResourceException -// The specified resource does not exist. +// - NoSuchResourceException +// The specified resource does not exist. // -// * IllegalArgumentException -// Invalid input was provided. +// - IllegalArgumentException +// Invalid input was provided. // -// * AWSServiceAccessNotEnabledException -// The action you attempted is not allowed unless Service Access with Service -// Quotas is enabled in your organization. +// - AWSServiceAccessNotEnabledException +// The action you attempted is not allowed unless Service Access with Service +// Quotas is enabled in your organization. // -// * TemplatesNotAvailableInRegionException -// The Service Quotas template is not available in this AWS Region. +// - TemplatesNotAvailableInRegionException +// The Service Quotas template is not available in this AWS Region. // -// * NoAvailableOrganizationException -// The account making this call is not a member of an organization. +// - NoAvailableOrganizationException +// The account making this call is not a member of an organization. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/GetServiceQuotaIncreaseRequestFromTemplate func (c *ServiceQuotas) GetServiceQuotaIncreaseRequestFromTemplate(input *GetServiceQuotaIncreaseRequestFromTemplateInput) (*GetServiceQuotaIncreaseRequestFromTemplateOutput, error) { @@ -835,14 +835,13 @@ const opListAWSDefaultServiceQuotas = "ListAWSDefaultServiceQuotas" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAWSDefaultServiceQuotasRequest method. +// req, resp := client.ListAWSDefaultServiceQuotasRequest(params) // -// // Example sending a request using the ListAWSDefaultServiceQuotasRequest method. -// req, resp := client.ListAWSDefaultServiceQuotasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotas func (c *ServiceQuotas) ListAWSDefaultServiceQuotasRequest(input *ListAWSDefaultServiceQuotasInput) (req *request.Request, output *ListAWSDefaultServiceQuotasOutput) { @@ -880,24 +879,25 @@ func (c *ServiceQuotas) ListAWSDefaultServiceQuotasRequest(input *ListAWSDefault // API operation ListAWSDefaultServiceQuotas for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permission to perform this action. // -// * NoSuchResourceException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. // -// * IllegalArgumentException -// Invalid input was provided. +// - NoSuchResourceException +// The specified resource does not exist. // -// * InvalidPaginationTokenException -// Invalid input was provided. +// - IllegalArgumentException +// Invalid input was provided. // -// * ServiceException -// Something went wrong. +// - InvalidPaginationTokenException +// Invalid input was provided. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - ServiceException +// Something went wrong. +// +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListAWSDefaultServiceQuotas func (c *ServiceQuotas) ListAWSDefaultServiceQuotas(input *ListAWSDefaultServiceQuotasInput) (*ListAWSDefaultServiceQuotasOutput, error) { @@ -929,15 +929,14 @@ func (c *ServiceQuotas) ListAWSDefaultServiceQuotasWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAWSDefaultServiceQuotas operation. -// pageNum := 0 -// err := client.ListAWSDefaultServiceQuotasPages(params, -// func(page *servicequotas.ListAWSDefaultServiceQuotasOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAWSDefaultServiceQuotas operation. +// pageNum := 0 +// err := client.ListAWSDefaultServiceQuotasPages(params, +// func(page *servicequotas.ListAWSDefaultServiceQuotasOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceQuotas) ListAWSDefaultServiceQuotasPages(input *ListAWSDefaultServiceQuotasInput, fn func(*ListAWSDefaultServiceQuotasOutput, bool) bool) error { return c.ListAWSDefaultServiceQuotasPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -989,14 +988,13 @@ const opListRequestedServiceQuotaChangeHistory = "ListRequestedServiceQuotaChang // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRequestedServiceQuotaChangeHistoryRequest method. +// req, resp := client.ListRequestedServiceQuotaChangeHistoryRequest(params) // -// // Example sending a request using the ListRequestedServiceQuotaChangeHistoryRequest method. -// req, resp := client.ListRequestedServiceQuotaChangeHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistory func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryRequest(input *ListRequestedServiceQuotaChangeHistoryInput) (req *request.Request, output *ListRequestedServiceQuotaChangeHistoryOutput) { @@ -1033,24 +1031,25 @@ func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryRequest(input *Lis // API operation ListRequestedServiceQuotaChangeHistory for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permission to perform this action. // -// * NoSuchResourceException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. // -// * IllegalArgumentException -// Invalid input was provided. +// - NoSuchResourceException +// The specified resource does not exist. // -// * InvalidPaginationTokenException -// Invalid input was provided. +// - IllegalArgumentException +// Invalid input was provided. // -// * ServiceException -// Something went wrong. +// - InvalidPaginationTokenException +// Invalid input was provided. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - ServiceException +// Something went wrong. +// +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistory func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistory(input *ListRequestedServiceQuotaChangeHistoryInput) (*ListRequestedServiceQuotaChangeHistoryOutput, error) { @@ -1082,15 +1081,14 @@ func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryWithContext(ctx aw // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRequestedServiceQuotaChangeHistory operation. -// pageNum := 0 -// err := client.ListRequestedServiceQuotaChangeHistoryPages(params, -// func(page *servicequotas.ListRequestedServiceQuotaChangeHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRequestedServiceQuotaChangeHistory operation. +// pageNum := 0 +// err := client.ListRequestedServiceQuotaChangeHistoryPages(params, +// func(page *servicequotas.ListRequestedServiceQuotaChangeHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryPages(input *ListRequestedServiceQuotaChangeHistoryInput, fn func(*ListRequestedServiceQuotaChangeHistoryOutput, bool) bool) error { return c.ListRequestedServiceQuotaChangeHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1142,14 +1140,13 @@ const opListRequestedServiceQuotaChangeHistoryByQuota = "ListRequestedServiceQuo // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRequestedServiceQuotaChangeHistoryByQuotaRequest method. +// req, resp := client.ListRequestedServiceQuotaChangeHistoryByQuotaRequest(params) // -// // Example sending a request using the ListRequestedServiceQuotaChangeHistoryByQuotaRequest method. -// req, resp := client.ListRequestedServiceQuotaChangeHistoryByQuotaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuota func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaRequest(input *ListRequestedServiceQuotaChangeHistoryByQuotaInput) (req *request.Request, output *ListRequestedServiceQuotaChangeHistoryByQuotaOutput) { @@ -1186,24 +1183,25 @@ func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaRequest(inp // API operation ListRequestedServiceQuotaChangeHistoryByQuota for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permission to perform this action. // -// * NoSuchResourceException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. +// +// - NoSuchResourceException +// The specified resource does not exist. // -// * IllegalArgumentException -// Invalid input was provided. +// - IllegalArgumentException +// Invalid input was provided. // -// * InvalidPaginationTokenException -// Invalid input was provided. +// - InvalidPaginationTokenException +// Invalid input was provided. // -// * ServiceException -// Something went wrong. +// - ServiceException +// Something went wrong. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListRequestedServiceQuotaChangeHistoryByQuota func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuota(input *ListRequestedServiceQuotaChangeHistoryByQuotaInput) (*ListRequestedServiceQuotaChangeHistoryByQuotaOutput, error) { @@ -1235,15 +1233,14 @@ func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaWithContext // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRequestedServiceQuotaChangeHistoryByQuota operation. -// pageNum := 0 -// err := client.ListRequestedServiceQuotaChangeHistoryByQuotaPages(params, -// func(page *servicequotas.ListRequestedServiceQuotaChangeHistoryByQuotaOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRequestedServiceQuotaChangeHistoryByQuota operation. +// pageNum := 0 +// err := client.ListRequestedServiceQuotaChangeHistoryByQuotaPages(params, +// func(page *servicequotas.ListRequestedServiceQuotaChangeHistoryByQuotaOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceQuotas) ListRequestedServiceQuotaChangeHistoryByQuotaPages(input *ListRequestedServiceQuotaChangeHistoryByQuotaInput, fn func(*ListRequestedServiceQuotaChangeHistoryByQuotaOutput, bool) bool) error { return c.ListRequestedServiceQuotaChangeHistoryByQuotaPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1295,14 +1292,13 @@ const opListServiceQuotaIncreaseRequestsInTemplate = "ListServiceQuotaIncreaseRe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServiceQuotaIncreaseRequestsInTemplateRequest method. +// req, resp := client.ListServiceQuotaIncreaseRequestsInTemplateRequest(params) // -// // Example sending a request using the ListServiceQuotaIncreaseRequestsInTemplateRequest method. -// req, resp := client.ListServiceQuotaIncreaseRequestsInTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotaIncreaseRequestsInTemplate func (c *ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplateRequest(input *ListServiceQuotaIncreaseRequestsInTemplateInput) (req *request.Request, output *ListServiceQuotaIncreaseRequestsInTemplateOutput) { @@ -1339,31 +1335,32 @@ func (c *ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplateRequest(input // API operation ListServiceQuotaIncreaseRequestsInTemplate for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permission to perform this action. // -// * DependencyAccessDeniedException -// You can't perform this action because a dependency does not have access. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. +// +// - DependencyAccessDeniedException +// You can't perform this action because a dependency does not have access. // -// * ServiceException -// Something went wrong. +// - ServiceException +// Something went wrong. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // -// * IllegalArgumentException -// Invalid input was provided. +// - IllegalArgumentException +// Invalid input was provided. // -// * AWSServiceAccessNotEnabledException -// The action you attempted is not allowed unless Service Access with Service -// Quotas is enabled in your organization. +// - AWSServiceAccessNotEnabledException +// The action you attempted is not allowed unless Service Access with Service +// Quotas is enabled in your organization. // -// * TemplatesNotAvailableInRegionException -// The Service Quotas template is not available in this AWS Region. +// - TemplatesNotAvailableInRegionException +// The Service Quotas template is not available in this AWS Region. // -// * NoAvailableOrganizationException -// The account making this call is not a member of an organization. +// - NoAvailableOrganizationException +// The account making this call is not a member of an organization. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotaIncreaseRequestsInTemplate func (c *ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplate(input *ListServiceQuotaIncreaseRequestsInTemplateInput) (*ListServiceQuotaIncreaseRequestsInTemplateOutput, error) { @@ -1395,15 +1392,14 @@ func (c *ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplateWithContext(ct // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServiceQuotaIncreaseRequestsInTemplate operation. -// pageNum := 0 -// err := client.ListServiceQuotaIncreaseRequestsInTemplatePages(params, -// func(page *servicequotas.ListServiceQuotaIncreaseRequestsInTemplateOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServiceQuotaIncreaseRequestsInTemplate operation. +// pageNum := 0 +// err := client.ListServiceQuotaIncreaseRequestsInTemplatePages(params, +// func(page *servicequotas.ListServiceQuotaIncreaseRequestsInTemplateOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceQuotas) ListServiceQuotaIncreaseRequestsInTemplatePages(input *ListServiceQuotaIncreaseRequestsInTemplateInput, fn func(*ListServiceQuotaIncreaseRequestsInTemplateOutput, bool) bool) error { return c.ListServiceQuotaIncreaseRequestsInTemplatePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1455,14 +1451,13 @@ const opListServiceQuotas = "ListServiceQuotas" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServiceQuotasRequest method. +// req, resp := client.ListServiceQuotasRequest(params) // -// // Example sending a request using the ListServiceQuotasRequest method. -// req, resp := client.ListServiceQuotasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotas func (c *ServiceQuotas) ListServiceQuotasRequest(input *ListServiceQuotasInput) (req *request.Request, output *ListServiceQuotasOutput) { @@ -1501,24 +1496,25 @@ func (c *ServiceQuotas) ListServiceQuotasRequest(input *ListServiceQuotasInput) // API operation ListServiceQuotas for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permission to perform this action. // -// * NoSuchResourceException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. +// +// - NoSuchResourceException +// The specified resource does not exist. // -// * IllegalArgumentException -// Invalid input was provided. +// - IllegalArgumentException +// Invalid input was provided. // -// * InvalidPaginationTokenException -// Invalid input was provided. +// - InvalidPaginationTokenException +// Invalid input was provided. // -// * ServiceException -// Something went wrong. +// - ServiceException +// Something went wrong. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServiceQuotas func (c *ServiceQuotas) ListServiceQuotas(input *ListServiceQuotasInput) (*ListServiceQuotasOutput, error) { @@ -1550,15 +1546,14 @@ func (c *ServiceQuotas) ListServiceQuotasWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServiceQuotas operation. -// pageNum := 0 -// err := client.ListServiceQuotasPages(params, -// func(page *servicequotas.ListServiceQuotasOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServiceQuotas operation. +// pageNum := 0 +// err := client.ListServiceQuotasPages(params, +// func(page *servicequotas.ListServiceQuotasOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceQuotas) ListServiceQuotasPages(input *ListServiceQuotasInput, fn func(*ListServiceQuotasOutput, bool) bool) error { return c.ListServiceQuotasPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1610,14 +1605,13 @@ const opListServices = "ListServices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServicesRequest method. +// req, resp := client.ListServicesRequest(params) // -// // Example sending a request using the ListServicesRequest method. -// req, resp := client.ListServicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServices func (c *ServiceQuotas) ListServicesRequest(input *ListServicesInput) (req *request.Request, output *ListServicesOutput) { @@ -1654,21 +1648,22 @@ func (c *ServiceQuotas) ListServicesRequest(input *ListServicesInput) (req *requ // API operation ListServices for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permission to perform this action. // -// * IllegalArgumentException -// Invalid input was provided. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. +// +// - IllegalArgumentException +// Invalid input was provided. // -// * InvalidPaginationTokenException -// Invalid input was provided. +// - InvalidPaginationTokenException +// Invalid input was provided. // -// * ServiceException -// Something went wrong. +// - ServiceException +// Something went wrong. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListServices func (c *ServiceQuotas) ListServices(input *ListServicesInput) (*ListServicesOutput, error) { @@ -1700,15 +1695,14 @@ func (c *ServiceQuotas) ListServicesWithContext(ctx aws.Context, input *ListServ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServices operation. -// pageNum := 0 -// err := client.ListServicesPages(params, -// func(page *servicequotas.ListServicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServices operation. +// pageNum := 0 +// err := client.ListServicesPages(params, +// func(page *servicequotas.ListServicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *ServiceQuotas) ListServicesPages(input *ListServicesInput, fn func(*ListServicesOutput, bool) bool) error { return c.ListServicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1760,14 +1754,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListTagsForResource func (c *ServiceQuotas) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1798,21 +1791,22 @@ func (c *ServiceQuotas) ListTagsForResourceRequest(input *ListTagsForResourceInp // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. // -// * NoSuchResourceException -// The specified resource does not exist. +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. +// +// - NoSuchResourceException +// The specified resource does not exist. // -// * IllegalArgumentException -// Invalid input was provided. +// - IllegalArgumentException +// Invalid input was provided. // -// * AccessDeniedException -// You do not have sufficient permission to perform this action. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. // -// * ServiceException -// Something went wrong. +// - ServiceException +// Something went wrong. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/ListTagsForResource func (c *ServiceQuotas) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1852,14 +1846,13 @@ const opPutServiceQuotaIncreaseRequestIntoTemplate = "PutServiceQuotaIncreaseReq // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutServiceQuotaIncreaseRequestIntoTemplateRequest method. +// req, resp := client.PutServiceQuotaIncreaseRequestIntoTemplateRequest(params) // -// // Example sending a request using the PutServiceQuotaIncreaseRequestIntoTemplateRequest method. -// req, resp := client.PutServiceQuotaIncreaseRequestIntoTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/PutServiceQuotaIncreaseRequestIntoTemplate func (c *ServiceQuotas) PutServiceQuotaIncreaseRequestIntoTemplateRequest(input *PutServiceQuotaIncreaseRequestIntoTemplateInput) (req *request.Request, output *PutServiceQuotaIncreaseRequestIntoTemplateOutput) { @@ -1890,39 +1883,40 @@ func (c *ServiceQuotas) PutServiceQuotaIncreaseRequestIntoTemplateRequest(input // API operation PutServiceQuotaIncreaseRequestIntoTemplate for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient permission to perform this action. // -// * DependencyAccessDeniedException -// You can't perform this action because a dependency does not have access. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. +// +// - DependencyAccessDeniedException +// You can't perform this action because a dependency does not have access. // -// * ServiceException -// Something went wrong. +// - ServiceException +// Something went wrong. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // -// * IllegalArgumentException -// Invalid input was provided. +// - IllegalArgumentException +// Invalid input was provided. // -// * QuotaExceededException -// You have exceeded your service quota. To perform the requested action, remove -// some of the relevant resources, or use Service Quotas to request a service -// quota increase. +// - QuotaExceededException +// You have exceeded your service quota. To perform the requested action, remove +// some of the relevant resources, or use Service Quotas to request a service +// quota increase. // -// * NoSuchResourceException -// The specified resource does not exist. +// - NoSuchResourceException +// The specified resource does not exist. // -// * AWSServiceAccessNotEnabledException -// The action you attempted is not allowed unless Service Access with Service -// Quotas is enabled in your organization. +// - AWSServiceAccessNotEnabledException +// The action you attempted is not allowed unless Service Access with Service +// Quotas is enabled in your organization. // -// * TemplatesNotAvailableInRegionException -// The Service Quotas template is not available in this AWS Region. +// - TemplatesNotAvailableInRegionException +// The Service Quotas template is not available in this AWS Region. // -// * NoAvailableOrganizationException -// The account making this call is not a member of an organization. +// - NoAvailableOrganizationException +// The account making this call is not a member of an organization. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/PutServiceQuotaIncreaseRequestIntoTemplate func (c *ServiceQuotas) PutServiceQuotaIncreaseRequestIntoTemplate(input *PutServiceQuotaIncreaseRequestIntoTemplateInput) (*PutServiceQuotaIncreaseRequestIntoTemplateOutput, error) { @@ -1962,14 +1956,13 @@ const opRequestServiceQuotaIncrease = "RequestServiceQuotaIncrease" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RequestServiceQuotaIncreaseRequest method. +// req, resp := client.RequestServiceQuotaIncreaseRequest(params) // -// // Example sending a request using the RequestServiceQuotaIncreaseRequest method. -// req, resp := client.RequestServiceQuotaIncreaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncrease func (c *ServiceQuotas) RequestServiceQuotaIncreaseRequest(input *RequestServiceQuotaIncreaseInput) (req *request.Request, output *RequestServiceQuotaIncreaseOutput) { @@ -2000,35 +1993,36 @@ func (c *ServiceQuotas) RequestServiceQuotaIncreaseRequest(input *RequestService // API operation RequestServiceQuotaIncrease for usage and error information. // // Returned Error Types: -// * DependencyAccessDeniedException -// You can't perform this action because a dependency does not have access. // -// * QuotaExceededException -// You have exceeded your service quota. To perform the requested action, remove -// some of the relevant resources, or use Service Quotas to request a service -// quota increase. +// - DependencyAccessDeniedException +// You can't perform this action because a dependency does not have access. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - QuotaExceededException +// You have exceeded your service quota. To perform the requested action, remove +// some of the relevant resources, or use Service Quotas to request a service +// quota increase. // -// * AccessDeniedException -// You do not have sufficient permission to perform this action. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * NoSuchResourceException -// The specified resource does not exist. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. // -// * IllegalArgumentException -// Invalid input was provided. +// - NoSuchResourceException +// The specified resource does not exist. // -// * InvalidResourceStateException -// The resource is in an invalid state. +// - IllegalArgumentException +// Invalid input was provided. // -// * ServiceException -// Something went wrong. +// - InvalidResourceStateException +// The resource is in an invalid state. // -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. +// - ServiceException +// Something went wrong. +// +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/RequestServiceQuotaIncrease func (c *ServiceQuotas) RequestServiceQuotaIncrease(input *RequestServiceQuotaIncreaseInput) (*RequestServiceQuotaIncreaseOutput, error) { @@ -2068,14 +2062,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/TagResource func (c *ServiceQuotas) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2108,29 +2101,30 @@ func (c *ServiceQuotas) TagResourceRequest(input *TagResourceInput) (req *reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. // -// * NoSuchResourceException -// The specified resource does not exist. +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. +// +// - NoSuchResourceException +// The specified resource does not exist. // -// * TooManyTagsException -// You've exceeded the number of tags allowed for a resource. For more information, -// see Tag restrictions (https://docs.aws.amazon.com/servicequotas/latest/userguide/sq-tagging.html#sq-tagging-restrictions) -// in the Service Quotas User Guide. +// - TooManyTagsException +// You've exceeded the number of tags allowed for a resource. For more information, +// see Tag restrictions (https://docs.aws.amazon.com/servicequotas/latest/userguide/sq-tagging.html#sq-tagging-restrictions) +// in the Service Quotas User Guide. // -// * TagPolicyViolationException -// The specified tag is a reserved word and cannot be used. +// - TagPolicyViolationException +// The specified tag is a reserved word and cannot be used. // -// * IllegalArgumentException -// Invalid input was provided. +// - IllegalArgumentException +// Invalid input was provided. // -// * AccessDeniedException -// You do not have sufficient permission to perform this action. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. // -// * ServiceException -// Something went wrong. +// - ServiceException +// Something went wrong. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/TagResource func (c *ServiceQuotas) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2170,14 +2164,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/UntagResource func (c *ServiceQuotas) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2210,21 +2203,22 @@ func (c *ServiceQuotas) UntagResourceRequest(input *UntagResourceInput) (req *re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Due to throttling, the request was denied. Slow down the rate of request -// calls, or request an increase for this quota. // -// * NoSuchResourceException -// The specified resource does not exist. +// - TooManyRequestsException +// Due to throttling, the request was denied. Slow down the rate of request +// calls, or request an increase for this quota. +// +// - NoSuchResourceException +// The specified resource does not exist. // -// * IllegalArgumentException -// Invalid input was provided. +// - IllegalArgumentException +// Invalid input was provided. // -// * AccessDeniedException -// You do not have sufficient permission to perform this action. +// - AccessDeniedException +// You do not have sufficient permission to perform this action. // -// * ServiceException -// Something went wrong. +// - ServiceException +// Something went wrong. // // See also, https://docs.aws.amazon.com/goto/WebAPI/service-quotas-2019-06-24/UntagResource func (c *ServiceQuotas) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/doc.go index f321ac7c8492..48382140b9f2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/doc.go @@ -13,7 +13,7 @@ // See servicequotas package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/servicequotas/ // -// Using the Client +// # Using the Client // // To contact Service Quotas with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/service.go index 5840d486389a..760db62ce7ae 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a ServiceQuotas client from just a session. -// svc := servicequotas.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a ServiceQuotas client with additional configuration -// svc := servicequotas.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a ServiceQuotas client from just a session. +// svc := servicequotas.New(mySession) +// +// // Create a ServiceQuotas client with additional configuration +// svc := servicequotas.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *ServiceQuotas { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/servicequotasiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/servicequotasiface/interface.go index cae13e9784cf..4b51d6527ba8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/servicequotasiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/servicequotas/servicequotasiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Service Quotas. -// func myFunc(svc servicequotasiface.ServiceQuotasAPI) bool { -// // Make svc.AssociateServiceQuotaTemplate request -// } +// // myFunc uses an SDK service client to make a request to +// // Service Quotas. +// func myFunc(svc servicequotasiface.ServiceQuotasAPI) bool { +// // Make svc.AssociateServiceQuotaTemplate request +// } // -// func main() { -// sess := session.New() -// svc := servicequotas.New(sess) +// func main() { +// sess := session.New() +// svc := servicequotas.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockServiceQuotasClient struct { -// servicequotasiface.ServiceQuotasAPI -// } -// func (m *mockServiceQuotasClient) AssociateServiceQuotaTemplate(input *servicequotas.AssociateServiceQuotaTemplateInput) (*servicequotas.AssociateServiceQuotaTemplateOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockServiceQuotasClient struct { +// servicequotasiface.ServiceQuotasAPI +// } +// func (m *mockServiceQuotasClient) AssociateServiceQuotaTemplate(input *servicequotas.AssociateServiceQuotaTemplateInput) (*servicequotas.AssociateServiceQuotaTemplateOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockServiceQuotasClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockServiceQuotasClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/api.go index 80d8c49d909e..406e0f0b84ba 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/api.go @@ -29,14 +29,13 @@ const opCloneReceiptRuleSet = "CloneReceiptRuleSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CloneReceiptRuleSetRequest method. +// req, resp := client.CloneReceiptRuleSetRequest(params) // -// // Example sending a request using the CloneReceiptRuleSetRequest method. -// req, resp := client.CloneReceiptRuleSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloneReceiptRuleSet func (c *SES) CloneReceiptRuleSetRequest(input *CloneReceiptRuleSetInput) (req *request.Request, output *CloneReceiptRuleSetOutput) { @@ -75,15 +74,16 @@ func (c *SES) CloneReceiptRuleSetRequest(input *CloneReceiptRuleSetInput) (req * // API operation CloneReceiptRuleSet for usage and error information. // // Returned Error Codes: -// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" -// Indicates that the provided receipt rule set does not exist. // -// * ErrCodeAlreadyExistsException "AlreadyExists" -// Indicates that a resource could not be created because of a naming conflict. +// - ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" +// Indicates that the provided receipt rule set does not exist. +// +// - ErrCodeAlreadyExistsException "AlreadyExists" +// Indicates that a resource could not be created because of a naming conflict. // -// * ErrCodeLimitExceededException "LimitExceeded" -// Indicates that a resource could not be created because of service limits. -// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). +// - ErrCodeLimitExceededException "LimitExceeded" +// Indicates that a resource could not be created because of service limits. +// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CloneReceiptRuleSet func (c *SES) CloneReceiptRuleSet(input *CloneReceiptRuleSetInput) (*CloneReceiptRuleSetOutput, error) { @@ -123,14 +123,13 @@ const opCreateConfigurationSet = "CreateConfigurationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConfigurationSetRequest method. +// req, resp := client.CreateConfigurationSetRequest(params) // -// // Example sending a request using the CreateConfigurationSetRequest method. -// req, resp := client.CreateConfigurationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSet func (c *SES) CreateConfigurationSetRequest(input *CreateConfigurationSetInput) (req *request.Request, output *CreateConfigurationSetOutput) { @@ -167,17 +166,18 @@ func (c *SES) CreateConfigurationSetRequest(input *CreateConfigurationSetInput) // API operation CreateConfigurationSet for usage and error information. // // Returned Error Codes: -// * ErrCodeConfigurationSetAlreadyExistsException "ConfigurationSetAlreadyExists" -// Indicates that the configuration set could not be created because of a naming -// conflict. // -// * ErrCodeInvalidConfigurationSetException "InvalidConfigurationSet" -// Indicates that the configuration set is invalid. See the error message for -// details. +// - ErrCodeConfigurationSetAlreadyExistsException "ConfigurationSetAlreadyExists" +// Indicates that the configuration set could not be created because of a naming +// conflict. +// +// - ErrCodeInvalidConfigurationSetException "InvalidConfigurationSet" +// Indicates that the configuration set is invalid. See the error message for +// details. // -// * ErrCodeLimitExceededException "LimitExceeded" -// Indicates that a resource could not be created because of service limits. -// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). +// - ErrCodeLimitExceededException "LimitExceeded" +// Indicates that a resource could not be created because of service limits. +// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSet func (c *SES) CreateConfigurationSet(input *CreateConfigurationSetInput) (*CreateConfigurationSetOutput, error) { @@ -217,14 +217,13 @@ const opCreateConfigurationSetEventDestination = "CreateConfigurationSetEventDes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConfigurationSetEventDestinationRequest method. +// req, resp := client.CreateConfigurationSetEventDestinationRequest(params) // -// // Example sending a request using the CreateConfigurationSetEventDestinationRequest method. -// req, resp := client.CreateConfigurationSetEventDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetEventDestination func (c *SES) CreateConfigurationSetEventDestinationRequest(input *CreateConfigurationSetEventDestinationInput) (req *request.Request, output *CreateConfigurationSetEventDestinationOutput) { @@ -266,28 +265,29 @@ func (c *SES) CreateConfigurationSetEventDestinationRequest(input *CreateConfigu // API operation CreateConfigurationSetEventDestination for usage and error information. // // Returned Error Codes: -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. // -// * ErrCodeEventDestinationAlreadyExistsException "EventDestinationAlreadyExists" -// Indicates that the event destination could not be created because of a naming -// conflict. +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. +// +// - ErrCodeEventDestinationAlreadyExistsException "EventDestinationAlreadyExists" +// Indicates that the event destination could not be created because of a naming +// conflict. // -// * ErrCodeInvalidCloudWatchDestinationException "InvalidCloudWatchDestination" -// Indicates that the Amazon CloudWatch destination is invalid. See the error -// message for details. +// - ErrCodeInvalidCloudWatchDestinationException "InvalidCloudWatchDestination" +// Indicates that the Amazon CloudWatch destination is invalid. See the error +// message for details. // -// * ErrCodeInvalidFirehoseDestinationException "InvalidFirehoseDestination" -// Indicates that the Amazon Kinesis Firehose destination is invalid. See the -// error message for details. +// - ErrCodeInvalidFirehoseDestinationException "InvalidFirehoseDestination" +// Indicates that the Amazon Kinesis Firehose destination is invalid. See the +// error message for details. // -// * ErrCodeInvalidSNSDestinationException "InvalidSNSDestination" -// Indicates that the Amazon Simple Notification Service (Amazon SNS) destination -// is invalid. See the error message for details. +// - ErrCodeInvalidSNSDestinationException "InvalidSNSDestination" +// Indicates that the Amazon Simple Notification Service (Amazon SNS) destination +// is invalid. See the error message for details. // -// * ErrCodeLimitExceededException "LimitExceeded" -// Indicates that a resource could not be created because of service limits. -// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). +// - ErrCodeLimitExceededException "LimitExceeded" +// Indicates that a resource could not be created because of service limits. +// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetEventDestination func (c *SES) CreateConfigurationSetEventDestination(input *CreateConfigurationSetEventDestinationInput) (*CreateConfigurationSetEventDestinationOutput, error) { @@ -327,14 +327,13 @@ const opCreateConfigurationSetTrackingOptions = "CreateConfigurationSetTrackingO // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConfigurationSetTrackingOptionsRequest method. +// req, resp := client.CreateConfigurationSetTrackingOptionsRequest(params) // -// // Example sending a request using the CreateConfigurationSetTrackingOptionsRequest method. -// req, resp := client.CreateConfigurationSetTrackingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetTrackingOptions func (c *SES) CreateConfigurationSetTrackingOptionsRequest(input *CreateConfigurationSetTrackingOptionsInput) (req *request.Request, output *CreateConfigurationSetTrackingOptionsOutput) { @@ -372,20 +371,21 @@ func (c *SES) CreateConfigurationSetTrackingOptionsRequest(input *CreateConfigur // API operation CreateConfigurationSetTrackingOptions for usage and error information. // // Returned Error Codes: -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. // -// * ErrCodeTrackingOptionsAlreadyExistsException "TrackingOptionsAlreadyExistsException" -// Indicates that the configuration set you specified already contains a TrackingOptions -// object. +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. // -// * ErrCodeInvalidTrackingOptionsException "InvalidTrackingOptions" -// Indicates that the custom domain to be used for open and click tracking redirects -// is invalid. This error appears most often in the following situations: +// - ErrCodeTrackingOptionsAlreadyExistsException "TrackingOptionsAlreadyExistsException" +// Indicates that the configuration set you specified already contains a TrackingOptions +// object. // -// * When the tracking domain you specified is not verified in Amazon SES. +// - ErrCodeInvalidTrackingOptionsException "InvalidTrackingOptions" +// Indicates that the custom domain to be used for open and click tracking redirects +// is invalid. This error appears most often in the following situations: // -// * When the tracking domain you specified is not a valid domain or subdomain. +// - When the tracking domain you specified is not verified in Amazon SES. +// +// - When the tracking domain you specified is not a valid domain or subdomain. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateConfigurationSetTrackingOptions func (c *SES) CreateConfigurationSetTrackingOptions(input *CreateConfigurationSetTrackingOptionsInput) (*CreateConfigurationSetTrackingOptionsOutput, error) { @@ -425,14 +425,13 @@ const opCreateCustomVerificationEmailTemplate = "CreateCustomVerificationEmailTe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCustomVerificationEmailTemplateRequest method. +// req, resp := client.CreateCustomVerificationEmailTemplateRequest(params) // -// // Example sending a request using the CreateCustomVerificationEmailTemplateRequest method. -// req, resp := client.CreateCustomVerificationEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateCustomVerificationEmailTemplate func (c *SES) CreateCustomVerificationEmailTemplateRequest(input *CreateCustomVerificationEmailTemplateInput) (req *request.Request, output *CreateCustomVerificationEmailTemplateOutput) { @@ -470,21 +469,22 @@ func (c *SES) CreateCustomVerificationEmailTemplateRequest(input *CreateCustomVe // API operation CreateCustomVerificationEmailTemplate for usage and error information. // // Returned Error Codes: -// * ErrCodeCustomVerificationEmailTemplateAlreadyExistsException "CustomVerificationEmailTemplateAlreadyExists" -// Indicates that a custom verification email template with the name you specified -// already exists. // -// * ErrCodeFromEmailAddressNotVerifiedException "FromEmailAddressNotVerified" -// Indicates that the sender address specified for a custom verification email -// is not verified, and is therefore not eligible to send the custom verification -// email. +// - ErrCodeCustomVerificationEmailTemplateAlreadyExistsException "CustomVerificationEmailTemplateAlreadyExists" +// Indicates that a custom verification email template with the name you specified +// already exists. +// +// - ErrCodeFromEmailAddressNotVerifiedException "FromEmailAddressNotVerified" +// Indicates that the sender address specified for a custom verification email +// is not verified, and is therefore not eligible to send the custom verification +// email. // -// * ErrCodeCustomVerificationEmailInvalidContentException "CustomVerificationEmailInvalidContent" -// Indicates that custom verification email template provided content is invalid. +// - ErrCodeCustomVerificationEmailInvalidContentException "CustomVerificationEmailInvalidContent" +// Indicates that custom verification email template provided content is invalid. // -// * ErrCodeLimitExceededException "LimitExceeded" -// Indicates that a resource could not be created because of service limits. -// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). +// - ErrCodeLimitExceededException "LimitExceeded" +// Indicates that a resource could not be created because of service limits. +// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateCustomVerificationEmailTemplate func (c *SES) CreateCustomVerificationEmailTemplate(input *CreateCustomVerificationEmailTemplateInput) (*CreateCustomVerificationEmailTemplateOutput, error) { @@ -524,14 +524,13 @@ const opCreateReceiptFilter = "CreateReceiptFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReceiptFilterRequest method. +// req, resp := client.CreateReceiptFilterRequest(params) // -// // Example sending a request using the CreateReceiptFilterRequest method. -// req, resp := client.CreateReceiptFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptFilter func (c *SES) CreateReceiptFilterRequest(input *CreateReceiptFilterInput) (req *request.Request, output *CreateReceiptFilterOutput) { @@ -568,12 +567,13 @@ func (c *SES) CreateReceiptFilterRequest(input *CreateReceiptFilterInput) (req * // API operation CreateReceiptFilter for usage and error information. // // Returned Error Codes: -// * ErrCodeLimitExceededException "LimitExceeded" -// Indicates that a resource could not be created because of service limits. -// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // -// * ErrCodeAlreadyExistsException "AlreadyExists" -// Indicates that a resource could not be created because of a naming conflict. +// - ErrCodeLimitExceededException "LimitExceeded" +// Indicates that a resource could not be created because of service limits. +// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). +// +// - ErrCodeAlreadyExistsException "AlreadyExists" +// Indicates that a resource could not be created because of a naming conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptFilter func (c *SES) CreateReceiptFilter(input *CreateReceiptFilterInput) (*CreateReceiptFilterOutput, error) { @@ -613,14 +613,13 @@ const opCreateReceiptRule = "CreateReceiptRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReceiptRuleRequest method. +// req, resp := client.CreateReceiptRuleRequest(params) // -// // Example sending a request using the CreateReceiptRuleRequest method. -// req, resp := client.CreateReceiptRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRule func (c *SES) CreateReceiptRuleRequest(input *CreateReceiptRuleInput) (req *request.Request, output *CreateReceiptRuleOutput) { @@ -657,35 +656,36 @@ func (c *SES) CreateReceiptRuleRequest(input *CreateReceiptRuleInput) (req *requ // API operation CreateReceiptRule for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidSnsTopicException "InvalidSnsTopic" -// Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES -// could not publish to the topic, possibly due to permissions issues. For information -// about giving permissions, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html). // -// * ErrCodeInvalidS3ConfigurationException "InvalidS3Configuration" -// Indicates that the provided Amazon S3 bucket or AWS KMS encryption key is -// invalid, or that Amazon SES could not publish to the bucket, possibly due -// to permissions issues. For information about giving permissions, see the -// Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html). +// - ErrCodeInvalidSnsTopicException "InvalidSnsTopic" +// Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES +// could not publish to the topic, possibly due to permissions issues. For information +// about giving permissions, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html). // -// * ErrCodeInvalidLambdaFunctionException "InvalidLambdaFunction" -// Indicates that the provided AWS Lambda function is invalid, or that Amazon -// SES could not execute the provided function, possibly due to permissions -// issues. For information about giving permissions, see the Amazon SES Developer -// Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html). +// - ErrCodeInvalidS3ConfigurationException "InvalidS3Configuration" +// Indicates that the provided Amazon S3 bucket or AWS KMS encryption key is +// invalid, or that Amazon SES could not publish to the bucket, possibly due +// to permissions issues. For information about giving permissions, see the +// Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html). // -// * ErrCodeAlreadyExistsException "AlreadyExists" -// Indicates that a resource could not be created because of a naming conflict. +// - ErrCodeInvalidLambdaFunctionException "InvalidLambdaFunction" +// Indicates that the provided AWS Lambda function is invalid, or that Amazon +// SES could not execute the provided function, possibly due to permissions +// issues. For information about giving permissions, see the Amazon SES Developer +// Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html). // -// * ErrCodeRuleDoesNotExistException "RuleDoesNotExist" -// Indicates that the provided receipt rule does not exist. +// - ErrCodeAlreadyExistsException "AlreadyExists" +// Indicates that a resource could not be created because of a naming conflict. // -// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" -// Indicates that the provided receipt rule set does not exist. +// - ErrCodeRuleDoesNotExistException "RuleDoesNotExist" +// Indicates that the provided receipt rule does not exist. // -// * ErrCodeLimitExceededException "LimitExceeded" -// Indicates that a resource could not be created because of service limits. -// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). +// - ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" +// Indicates that the provided receipt rule set does not exist. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// Indicates that a resource could not be created because of service limits. +// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRule func (c *SES) CreateReceiptRule(input *CreateReceiptRuleInput) (*CreateReceiptRuleOutput, error) { @@ -725,14 +725,13 @@ const opCreateReceiptRuleSet = "CreateReceiptRuleSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReceiptRuleSetRequest method. +// req, resp := client.CreateReceiptRuleSetRequest(params) // -// // Example sending a request using the CreateReceiptRuleSetRequest method. -// req, resp := client.CreateReceiptRuleSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleSet func (c *SES) CreateReceiptRuleSetRequest(input *CreateReceiptRuleSetInput) (req *request.Request, output *CreateReceiptRuleSetOutput) { @@ -769,12 +768,13 @@ func (c *SES) CreateReceiptRuleSetRequest(input *CreateReceiptRuleSetInput) (req // API operation CreateReceiptRuleSet for usage and error information. // // Returned Error Codes: -// * ErrCodeAlreadyExistsException "AlreadyExists" -// Indicates that a resource could not be created because of a naming conflict. // -// * ErrCodeLimitExceededException "LimitExceeded" -// Indicates that a resource could not be created because of service limits. -// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). +// - ErrCodeAlreadyExistsException "AlreadyExists" +// Indicates that a resource could not be created because of a naming conflict. +// +// - ErrCodeLimitExceededException "LimitExceeded" +// Indicates that a resource could not be created because of service limits. +// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateReceiptRuleSet func (c *SES) CreateReceiptRuleSet(input *CreateReceiptRuleSetInput) (*CreateReceiptRuleSetOutput, error) { @@ -814,14 +814,13 @@ const opCreateTemplate = "CreateTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTemplateRequest method. +// req, resp := client.CreateTemplateRequest(params) // -// // Example sending a request using the CreateTemplateRequest method. -// req, resp := client.CreateTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateTemplate func (c *SES) CreateTemplateRequest(input *CreateTemplateInput) (req *request.Request, output *CreateTemplateOutput) { @@ -857,16 +856,17 @@ func (c *SES) CreateTemplateRequest(input *CreateTemplateInput) (req *request.Re // API operation CreateTemplate for usage and error information. // // Returned Error Codes: -// * ErrCodeAlreadyExistsException "AlreadyExists" -// Indicates that a resource could not be created because of a naming conflict. // -// * ErrCodeInvalidTemplateException "InvalidTemplate" -// Indicates that the template that you specified could not be rendered. This -// issue may occur when a template refers to a partial that does not exist. +// - ErrCodeAlreadyExistsException "AlreadyExists" +// Indicates that a resource could not be created because of a naming conflict. +// +// - ErrCodeInvalidTemplateException "InvalidTemplate" +// Indicates that the template that you specified could not be rendered. This +// issue may occur when a template refers to a partial that does not exist. // -// * ErrCodeLimitExceededException "LimitExceeded" -// Indicates that a resource could not be created because of service limits. -// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). +// - ErrCodeLimitExceededException "LimitExceeded" +// Indicates that a resource could not be created because of service limits. +// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/CreateTemplate func (c *SES) CreateTemplate(input *CreateTemplateInput) (*CreateTemplateOutput, error) { @@ -906,14 +906,13 @@ const opDeleteConfigurationSet = "DeleteConfigurationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigurationSetRequest method. +// req, resp := client.DeleteConfigurationSetRequest(params) // -// // Example sending a request using the DeleteConfigurationSetRequest method. -// req, resp := client.DeleteConfigurationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSet func (c *SES) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput) (req *request.Request, output *DeleteConfigurationSetOutput) { @@ -949,8 +948,8 @@ func (c *SES) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput) // API operation DeleteConfigurationSet for usage and error information. // // Returned Error Codes: -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSet func (c *SES) DeleteConfigurationSet(input *DeleteConfigurationSetInput) (*DeleteConfigurationSetOutput, error) { @@ -990,14 +989,13 @@ const opDeleteConfigurationSetEventDestination = "DeleteConfigurationSetEventDes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigurationSetEventDestinationRequest method. +// req, resp := client.DeleteConfigurationSetEventDestinationRequest(params) // -// // Example sending a request using the DeleteConfigurationSetEventDestinationRequest method. -// req, resp := client.DeleteConfigurationSetEventDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetEventDestination func (c *SES) DeleteConfigurationSetEventDestinationRequest(input *DeleteConfigurationSetEventDestinationInput) (req *request.Request, output *DeleteConfigurationSetEventDestinationOutput) { @@ -1034,11 +1032,12 @@ func (c *SES) DeleteConfigurationSetEventDestinationRequest(input *DeleteConfigu // API operation DeleteConfigurationSetEventDestination for usage and error information. // // Returned Error Codes: -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. // -// * ErrCodeEventDestinationDoesNotExistException "EventDestinationDoesNotExist" -// Indicates that the event destination does not exist. +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. +// +// - ErrCodeEventDestinationDoesNotExistException "EventDestinationDoesNotExist" +// Indicates that the event destination does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetEventDestination func (c *SES) DeleteConfigurationSetEventDestination(input *DeleteConfigurationSetEventDestinationInput) (*DeleteConfigurationSetEventDestinationOutput, error) { @@ -1078,14 +1077,13 @@ const opDeleteConfigurationSetTrackingOptions = "DeleteConfigurationSetTrackingO // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigurationSetTrackingOptionsRequest method. +// req, resp := client.DeleteConfigurationSetTrackingOptionsRequest(params) // -// // Example sending a request using the DeleteConfigurationSetTrackingOptionsRequest method. -// req, resp := client.DeleteConfigurationSetTrackingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetTrackingOptions func (c *SES) DeleteConfigurationSetTrackingOptionsRequest(input *DeleteConfigurationSetTrackingOptionsInput) (req *request.Request, output *DeleteConfigurationSetTrackingOptionsOutput) { @@ -1127,11 +1125,12 @@ func (c *SES) DeleteConfigurationSetTrackingOptionsRequest(input *DeleteConfigur // API operation DeleteConfigurationSetTrackingOptions for usage and error information. // // Returned Error Codes: -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. // -// * ErrCodeTrackingOptionsDoesNotExistException "TrackingOptionsDoesNotExistException" -// Indicates that the TrackingOptions object you specified does not exist. +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. +// +// - ErrCodeTrackingOptionsDoesNotExistException "TrackingOptionsDoesNotExistException" +// Indicates that the TrackingOptions object you specified does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteConfigurationSetTrackingOptions func (c *SES) DeleteConfigurationSetTrackingOptions(input *DeleteConfigurationSetTrackingOptionsInput) (*DeleteConfigurationSetTrackingOptionsOutput, error) { @@ -1171,14 +1170,13 @@ const opDeleteCustomVerificationEmailTemplate = "DeleteCustomVerificationEmailTe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomVerificationEmailTemplateRequest method. +// req, resp := client.DeleteCustomVerificationEmailTemplateRequest(params) // -// // Example sending a request using the DeleteCustomVerificationEmailTemplateRequest method. -// req, resp := client.DeleteCustomVerificationEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteCustomVerificationEmailTemplate func (c *SES) DeleteCustomVerificationEmailTemplateRequest(input *DeleteCustomVerificationEmailTemplateInput) (req *request.Request, output *DeleteCustomVerificationEmailTemplateOutput) { @@ -1252,14 +1250,13 @@ const opDeleteIdentity = "DeleteIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIdentityRequest method. +// req, resp := client.DeleteIdentityRequest(params) // -// // Example sending a request using the DeleteIdentityRequest method. -// req, resp := client.DeleteIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentity func (c *SES) DeleteIdentityRequest(input *DeleteIdentityInput) (req *request.Request, output *DeleteIdentityOutput) { @@ -1330,14 +1327,13 @@ const opDeleteIdentityPolicy = "DeleteIdentityPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIdentityPolicyRequest method. +// req, resp := client.DeleteIdentityPolicyRequest(params) // -// // Example sending a request using the DeleteIdentityPolicyRequest method. -// req, resp := client.DeleteIdentityPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteIdentityPolicy func (c *SES) DeleteIdentityPolicyRequest(input *DeleteIdentityPolicyInput) (req *request.Request, output *DeleteIdentityPolicyOutput) { @@ -1416,14 +1412,13 @@ const opDeleteReceiptFilter = "DeleteReceiptFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReceiptFilterRequest method. +// req, resp := client.DeleteReceiptFilterRequest(params) // -// // Example sending a request using the DeleteReceiptFilterRequest method. -// req, resp := client.DeleteReceiptFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptFilter func (c *SES) DeleteReceiptFilterRequest(input *DeleteReceiptFilterInput) (req *request.Request, output *DeleteReceiptFilterOutput) { @@ -1496,14 +1491,13 @@ const opDeleteReceiptRule = "DeleteReceiptRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReceiptRuleRequest method. +// req, resp := client.DeleteReceiptRuleRequest(params) // -// // Example sending a request using the DeleteReceiptRuleRequest method. -// req, resp := client.DeleteReceiptRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRule func (c *SES) DeleteReceiptRuleRequest(input *DeleteReceiptRuleInput) (req *request.Request, output *DeleteReceiptRuleOutput) { @@ -1540,8 +1534,8 @@ func (c *SES) DeleteReceiptRuleRequest(input *DeleteReceiptRuleInput) (req *requ // API operation DeleteReceiptRule for usage and error information. // // Returned Error Codes: -// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" -// Indicates that the provided receipt rule set does not exist. +// - ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" +// Indicates that the provided receipt rule set does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRule func (c *SES) DeleteReceiptRule(input *DeleteReceiptRuleInput) (*DeleteReceiptRuleOutput, error) { @@ -1581,14 +1575,13 @@ const opDeleteReceiptRuleSet = "DeleteReceiptRuleSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReceiptRuleSetRequest method. +// req, resp := client.DeleteReceiptRuleSetRequest(params) // -// // Example sending a request using the DeleteReceiptRuleSetRequest method. -// req, resp := client.DeleteReceiptRuleSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleSet func (c *SES) DeleteReceiptRuleSetRequest(input *DeleteReceiptRuleSetInput) (req *request.Request, output *DeleteReceiptRuleSetOutput) { @@ -1627,8 +1620,8 @@ func (c *SES) DeleteReceiptRuleSetRequest(input *DeleteReceiptRuleSetInput) (req // API operation DeleteReceiptRuleSet for usage and error information. // // Returned Error Codes: -// * ErrCodeCannotDeleteException "CannotDelete" -// Indicates that the delete operation could not be completed. +// - ErrCodeCannotDeleteException "CannotDelete" +// Indicates that the delete operation could not be completed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteReceiptRuleSet func (c *SES) DeleteReceiptRuleSet(input *DeleteReceiptRuleSetInput) (*DeleteReceiptRuleSetOutput, error) { @@ -1668,14 +1661,13 @@ const opDeleteTemplate = "DeleteTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTemplateRequest method. +// req, resp := client.DeleteTemplateRequest(params) // -// // Example sending a request using the DeleteTemplateRequest method. -// req, resp := client.DeleteTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteTemplate func (c *SES) DeleteTemplateRequest(input *DeleteTemplateInput) (req *request.Request, output *DeleteTemplateOutput) { @@ -1745,14 +1737,13 @@ const opDeleteVerifiedEmailAddress = "DeleteVerifiedEmailAddress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVerifiedEmailAddressRequest method. +// req, resp := client.DeleteVerifiedEmailAddressRequest(params) // -// // Example sending a request using the DeleteVerifiedEmailAddressRequest method. -// req, resp := client.DeleteVerifiedEmailAddressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DeleteVerifiedEmailAddress func (c *SES) DeleteVerifiedEmailAddressRequest(input *DeleteVerifiedEmailAddressInput) (req *request.Request, output *DeleteVerifiedEmailAddressOutput) { @@ -1821,14 +1812,13 @@ const opDescribeActiveReceiptRuleSet = "DescribeActiveReceiptRuleSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeActiveReceiptRuleSetRequest method. +// req, resp := client.DescribeActiveReceiptRuleSetRequest(params) // -// // Example sending a request using the DescribeActiveReceiptRuleSetRequest method. -// req, resp := client.DescribeActiveReceiptRuleSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeActiveReceiptRuleSet func (c *SES) DescribeActiveReceiptRuleSetRequest(input *DescribeActiveReceiptRuleSetInput) (req *request.Request, output *DescribeActiveReceiptRuleSetOutput) { @@ -1901,14 +1891,13 @@ const opDescribeConfigurationSet = "DescribeConfigurationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConfigurationSetRequest method. +// req, resp := client.DescribeConfigurationSetRequest(params) // -// // Example sending a request using the DescribeConfigurationSetRequest method. -// req, resp := client.DescribeConfigurationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeConfigurationSet func (c *SES) DescribeConfigurationSetRequest(input *DescribeConfigurationSetInput) (req *request.Request, output *DescribeConfigurationSetOutput) { @@ -1942,8 +1931,8 @@ func (c *SES) DescribeConfigurationSetRequest(input *DescribeConfigurationSetInp // API operation DescribeConfigurationSet for usage and error information. // // Returned Error Codes: -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeConfigurationSet func (c *SES) DescribeConfigurationSet(input *DescribeConfigurationSetInput) (*DescribeConfigurationSetOutput, error) { @@ -1983,14 +1972,13 @@ const opDescribeReceiptRule = "DescribeReceiptRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReceiptRuleRequest method. +// req, resp := client.DescribeReceiptRuleRequest(params) // -// // Example sending a request using the DescribeReceiptRuleRequest method. -// req, resp := client.DescribeReceiptRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRule func (c *SES) DescribeReceiptRuleRequest(input *DescribeReceiptRuleInput) (req *request.Request, output *DescribeReceiptRuleOutput) { @@ -2026,11 +2014,12 @@ func (c *SES) DescribeReceiptRuleRequest(input *DescribeReceiptRuleInput) (req * // API operation DescribeReceiptRule for usage and error information. // // Returned Error Codes: -// * ErrCodeRuleDoesNotExistException "RuleDoesNotExist" -// Indicates that the provided receipt rule does not exist. // -// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" -// Indicates that the provided receipt rule set does not exist. +// - ErrCodeRuleDoesNotExistException "RuleDoesNotExist" +// Indicates that the provided receipt rule does not exist. +// +// - ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" +// Indicates that the provided receipt rule set does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRule func (c *SES) DescribeReceiptRule(input *DescribeReceiptRuleInput) (*DescribeReceiptRuleOutput, error) { @@ -2070,14 +2059,13 @@ const opDescribeReceiptRuleSet = "DescribeReceiptRuleSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReceiptRuleSetRequest method. +// req, resp := client.DescribeReceiptRuleSetRequest(params) // -// // Example sending a request using the DescribeReceiptRuleSetRequest method. -// req, resp := client.DescribeReceiptRuleSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleSet func (c *SES) DescribeReceiptRuleSetRequest(input *DescribeReceiptRuleSetInput) (req *request.Request, output *DescribeReceiptRuleSetOutput) { @@ -2113,8 +2101,8 @@ func (c *SES) DescribeReceiptRuleSetRequest(input *DescribeReceiptRuleSetInput) // API operation DescribeReceiptRuleSet for usage and error information. // // Returned Error Codes: -// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" -// Indicates that the provided receipt rule set does not exist. +// - ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" +// Indicates that the provided receipt rule set does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/DescribeReceiptRuleSet func (c *SES) DescribeReceiptRuleSet(input *DescribeReceiptRuleSetInput) (*DescribeReceiptRuleSetOutput, error) { @@ -2154,14 +2142,13 @@ const opGetAccountSendingEnabled = "GetAccountSendingEnabled" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountSendingEnabledRequest method. +// req, resp := client.GetAccountSendingEnabledRequest(params) // -// // Example sending a request using the GetAccountSendingEnabledRequest method. -// req, resp := client.GetAccountSendingEnabledRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetAccountSendingEnabled func (c *SES) GetAccountSendingEnabledRequest(input *GetAccountSendingEnabledInput) (req *request.Request, output *GetAccountSendingEnabledOutput) { @@ -2231,14 +2218,13 @@ const opGetCustomVerificationEmailTemplate = "GetCustomVerificationEmailTemplate // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCustomVerificationEmailTemplateRequest method. +// req, resp := client.GetCustomVerificationEmailTemplateRequest(params) // -// // Example sending a request using the GetCustomVerificationEmailTemplateRequest method. -// req, resp := client.GetCustomVerificationEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetCustomVerificationEmailTemplate func (c *SES) GetCustomVerificationEmailTemplateRequest(input *GetCustomVerificationEmailTemplateInput) (req *request.Request, output *GetCustomVerificationEmailTemplateOutput) { @@ -2276,9 +2262,9 @@ func (c *SES) GetCustomVerificationEmailTemplateRequest(input *GetCustomVerifica // API operation GetCustomVerificationEmailTemplate for usage and error information. // // Returned Error Codes: -// * ErrCodeCustomVerificationEmailTemplateDoesNotExistException "CustomVerificationEmailTemplateDoesNotExist" -// Indicates that a custom verification email template with the name you specified -// does not exist. +// - ErrCodeCustomVerificationEmailTemplateDoesNotExistException "CustomVerificationEmailTemplateDoesNotExist" +// Indicates that a custom verification email template with the name you specified +// does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetCustomVerificationEmailTemplate func (c *SES) GetCustomVerificationEmailTemplate(input *GetCustomVerificationEmailTemplateInput) (*GetCustomVerificationEmailTemplateOutput, error) { @@ -2318,14 +2304,13 @@ const opGetIdentityDkimAttributes = "GetIdentityDkimAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIdentityDkimAttributesRequest method. +// req, resp := client.GetIdentityDkimAttributesRequest(params) // -// // Example sending a request using the GetIdentityDkimAttributesRequest method. -// req, resp := client.GetIdentityDkimAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityDkimAttributes func (c *SES) GetIdentityDkimAttributesRequest(input *GetIdentityDkimAttributesInput) (req *request.Request, output *GetIdentityDkimAttributesOutput) { @@ -2354,14 +2339,14 @@ func (c *SES) GetIdentityDkimAttributesRequest(input *GetIdentityDkimAttributesI // This operation takes a list of identities as input and returns the following // information for each: // -// * Whether Easy DKIM signing is enabled or disabled. +// - Whether Easy DKIM signing is enabled or disabled. // -// * A set of DKIM tokens that represent the identity. If the identity is -// an email address, the tokens represent the domain of that address. +// - A set of DKIM tokens that represent the identity. If the identity is +// an email address, the tokens represent the domain of that address. // -// * Whether Amazon SES has successfully verified the DKIM tokens published -// in the domain's DNS. This information is only returned for domain name -// identities, not for email addresses. +// - Whether Amazon SES has successfully verified the DKIM tokens published +// in the domain's DNS. This information is only returned for domain name +// identities, not for email addresses. // // This operation is throttled at one request per second and can only get DKIM // attributes for up to 100 identities at a time. @@ -2413,14 +2398,13 @@ const opGetIdentityMailFromDomainAttributes = "GetIdentityMailFromDomainAttribut // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIdentityMailFromDomainAttributesRequest method. +// req, resp := client.GetIdentityMailFromDomainAttributesRequest(params) // -// // Example sending a request using the GetIdentityMailFromDomainAttributesRequest method. -// req, resp := client.GetIdentityMailFromDomainAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityMailFromDomainAttributes func (c *SES) GetIdentityMailFromDomainAttributesRequest(input *GetIdentityMailFromDomainAttributesInput) (req *request.Request, output *GetIdentityMailFromDomainAttributesOutput) { @@ -2491,14 +2475,13 @@ const opGetIdentityNotificationAttributes = "GetIdentityNotificationAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIdentityNotificationAttributesRequest method. +// req, resp := client.GetIdentityNotificationAttributesRequest(params) // -// // Example sending a request using the GetIdentityNotificationAttributesRequest method. -// req, resp := client.GetIdentityNotificationAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityNotificationAttributes func (c *SES) GetIdentityNotificationAttributesRequest(input *GetIdentityNotificationAttributesInput) (req *request.Request, output *GetIdentityNotificationAttributesOutput) { @@ -2572,14 +2555,13 @@ const opGetIdentityPolicies = "GetIdentityPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIdentityPoliciesRequest method. +// req, resp := client.GetIdentityPoliciesRequest(params) // -// // Example sending a request using the GetIdentityPoliciesRequest method. -// req, resp := client.GetIdentityPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityPolicies func (c *SES) GetIdentityPoliciesRequest(input *GetIdentityPoliciesInput) (req *request.Request, output *GetIdentityPoliciesOutput) { @@ -2658,14 +2640,13 @@ const opGetIdentityVerificationAttributes = "GetIdentityVerificationAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIdentityVerificationAttributesRequest method. +// req, resp := client.GetIdentityVerificationAttributesRequest(params) // -// // Example sending a request using the GetIdentityVerificationAttributesRequest method. -// req, resp := client.GetIdentityVerificationAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetIdentityVerificationAttributes func (c *SES) GetIdentityVerificationAttributesRequest(input *GetIdentityVerificationAttributesInput) (req *request.Request, output *GetIdentityVerificationAttributesOutput) { @@ -2753,14 +2734,13 @@ const opGetSendQuota = "GetSendQuota" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSendQuotaRequest method. +// req, resp := client.GetSendQuotaRequest(params) // -// // Example sending a request using the GetSendQuotaRequest method. -// req, resp := client.GetSendQuotaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendQuota func (c *SES) GetSendQuotaRequest(input *GetSendQuotaInput) (req *request.Request, output *GetSendQuotaOutput) { @@ -2829,14 +2809,13 @@ const opGetSendStatistics = "GetSendStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSendStatisticsRequest method. +// req, resp := client.GetSendStatisticsRequest(params) // -// // Example sending a request using the GetSendStatisticsRequest method. -// req, resp := client.GetSendStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetSendStatistics func (c *SES) GetSendStatisticsRequest(input *GetSendStatisticsInput) (req *request.Request, output *GetSendStatisticsOutput) { @@ -2907,14 +2886,13 @@ const opGetTemplate = "GetTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTemplateRequest method. +// req, resp := client.GetTemplateRequest(params) // -// // Example sending a request using the GetTemplateRequest method. -// req, resp := client.GetTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetTemplate func (c *SES) GetTemplateRequest(input *GetTemplateInput) (req *request.Request, output *GetTemplateOutput) { @@ -2948,9 +2926,9 @@ func (c *SES) GetTemplateRequest(input *GetTemplateInput) (req *request.Request, // API operation GetTemplate for usage and error information. // // Returned Error Codes: -// * ErrCodeTemplateDoesNotExistException "TemplateDoesNotExist" -// Indicates that the Template object you specified does not exist in your Amazon -// SES account. +// - ErrCodeTemplateDoesNotExistException "TemplateDoesNotExist" +// Indicates that the Template object you specified does not exist in your Amazon +// SES account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/GetTemplate func (c *SES) GetTemplate(input *GetTemplateInput) (*GetTemplateOutput, error) { @@ -2990,14 +2968,13 @@ const opListConfigurationSets = "ListConfigurationSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConfigurationSetsRequest method. +// req, resp := client.ListConfigurationSetsRequest(params) // -// // Example sending a request using the ListConfigurationSetsRequest method. -// req, resp := client.ListConfigurationSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListConfigurationSets func (c *SES) ListConfigurationSetsRequest(input *ListConfigurationSetsInput) (req *request.Request, output *ListConfigurationSetsOutput) { @@ -3074,14 +3051,13 @@ const opListCustomVerificationEmailTemplates = "ListCustomVerificationEmailTempl // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCustomVerificationEmailTemplatesRequest method. +// req, resp := client.ListCustomVerificationEmailTemplatesRequest(params) // -// // Example sending a request using the ListCustomVerificationEmailTemplatesRequest method. -// req, resp := client.ListCustomVerificationEmailTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListCustomVerificationEmailTemplates func (c *SES) ListCustomVerificationEmailTemplatesRequest(input *ListCustomVerificationEmailTemplatesInput) (req *request.Request, output *ListCustomVerificationEmailTemplatesOutput) { @@ -3153,15 +3129,14 @@ func (c *SES) ListCustomVerificationEmailTemplatesWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCustomVerificationEmailTemplates operation. -// pageNum := 0 -// err := client.ListCustomVerificationEmailTemplatesPages(params, -// func(page *ses.ListCustomVerificationEmailTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCustomVerificationEmailTemplates operation. +// pageNum := 0 +// err := client.ListCustomVerificationEmailTemplatesPages(params, +// func(page *ses.ListCustomVerificationEmailTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SES) ListCustomVerificationEmailTemplatesPages(input *ListCustomVerificationEmailTemplatesInput, fn func(*ListCustomVerificationEmailTemplatesOutput, bool) bool) error { return c.ListCustomVerificationEmailTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3213,14 +3188,13 @@ const opListIdentities = "ListIdentities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIdentitiesRequest method. +// req, resp := client.ListIdentitiesRequest(params) // -// // Example sending a request using the ListIdentitiesRequest method. -// req, resp := client.ListIdentitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentities func (c *SES) ListIdentitiesRequest(input *ListIdentitiesInput) (req *request.Request, output *ListIdentitiesOutput) { @@ -3289,15 +3263,14 @@ func (c *SES) ListIdentitiesWithContext(ctx aws.Context, input *ListIdentitiesIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListIdentities operation. -// pageNum := 0 -// err := client.ListIdentitiesPages(params, -// func(page *ses.ListIdentitiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListIdentities operation. +// pageNum := 0 +// err := client.ListIdentitiesPages(params, +// func(page *ses.ListIdentitiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SES) ListIdentitiesPages(input *ListIdentitiesInput, fn func(*ListIdentitiesOutput, bool) bool) error { return c.ListIdentitiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3349,14 +3322,13 @@ const opListIdentityPolicies = "ListIdentityPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIdentityPoliciesRequest method. +// req, resp := client.ListIdentityPoliciesRequest(params) // -// // Example sending a request using the ListIdentityPoliciesRequest method. -// req, resp := client.ListIdentityPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListIdentityPolicies func (c *SES) ListIdentityPoliciesRequest(input *ListIdentityPoliciesInput) (req *request.Request, output *ListIdentityPoliciesOutput) { @@ -3434,14 +3406,13 @@ const opListReceiptFilters = "ListReceiptFilters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReceiptFiltersRequest method. +// req, resp := client.ListReceiptFiltersRequest(params) // -// // Example sending a request using the ListReceiptFiltersRequest method. -// req, resp := client.ListReceiptFiltersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptFilters func (c *SES) ListReceiptFiltersRequest(input *ListReceiptFiltersInput) (req *request.Request, output *ListReceiptFiltersOutput) { @@ -3514,14 +3485,13 @@ const opListReceiptRuleSets = "ListReceiptRuleSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReceiptRuleSetsRequest method. +// req, resp := client.ListReceiptRuleSetsRequest(params) // -// // Example sending a request using the ListReceiptRuleSetsRequest method. -// req, resp := client.ListReceiptRuleSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListReceiptRuleSets func (c *SES) ListReceiptRuleSetsRequest(input *ListReceiptRuleSetsInput) (req *request.Request, output *ListReceiptRuleSetsOutput) { @@ -3596,14 +3566,13 @@ const opListTemplates = "ListTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTemplatesRequest method. +// req, resp := client.ListTemplatesRequest(params) // -// // Example sending a request using the ListTemplatesRequest method. -// req, resp := client.ListTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListTemplates func (c *SES) ListTemplatesRequest(input *ListTemplatesInput) (req *request.Request, output *ListTemplatesOutput) { @@ -3673,14 +3642,13 @@ const opListVerifiedEmailAddresses = "ListVerifiedEmailAddresses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVerifiedEmailAddressesRequest method. +// req, resp := client.ListVerifiedEmailAddressesRequest(params) // -// // Example sending a request using the ListVerifiedEmailAddressesRequest method. -// req, resp := client.ListVerifiedEmailAddressesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ListVerifiedEmailAddresses func (c *SES) ListVerifiedEmailAddressesRequest(input *ListVerifiedEmailAddressesInput) (req *request.Request, output *ListVerifiedEmailAddressesOutput) { @@ -3748,14 +3716,13 @@ const opPutConfigurationSetDeliveryOptions = "PutConfigurationSetDeliveryOptions // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutConfigurationSetDeliveryOptionsRequest method. +// req, resp := client.PutConfigurationSetDeliveryOptionsRequest(params) // -// // Example sending a request using the PutConfigurationSetDeliveryOptionsRequest method. -// req, resp := client.PutConfigurationSetDeliveryOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutConfigurationSetDeliveryOptions func (c *SES) PutConfigurationSetDeliveryOptionsRequest(input *PutConfigurationSetDeliveryOptionsInput) (req *request.Request, output *PutConfigurationSetDeliveryOptionsOutput) { @@ -3787,11 +3754,12 @@ func (c *SES) PutConfigurationSetDeliveryOptionsRequest(input *PutConfigurationS // API operation PutConfigurationSetDeliveryOptions for usage and error information. // // Returned Error Codes: -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. // -// * ErrCodeInvalidDeliveryOptionsException "InvalidDeliveryOptions" -// Indicates that provided delivery option is invalid. +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. +// +// - ErrCodeInvalidDeliveryOptionsException "InvalidDeliveryOptions" +// Indicates that provided delivery option is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutConfigurationSetDeliveryOptions func (c *SES) PutConfigurationSetDeliveryOptions(input *PutConfigurationSetDeliveryOptionsInput) (*PutConfigurationSetDeliveryOptionsOutput, error) { @@ -3831,14 +3799,13 @@ const opPutIdentityPolicy = "PutIdentityPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutIdentityPolicyRequest method. +// req, resp := client.PutIdentityPolicyRequest(params) // -// // Example sending a request using the PutIdentityPolicyRequest method. -// req, resp := client.PutIdentityPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutIdentityPolicy func (c *SES) PutIdentityPolicyRequest(input *PutIdentityPolicyInput) (req *request.Request, output *PutIdentityPolicyOutput) { @@ -3880,9 +3847,9 @@ func (c *SES) PutIdentityPolicyRequest(input *PutIdentityPolicyInput) (req *requ // API operation PutIdentityPolicy for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidPolicyException "InvalidPolicy" -// Indicates that the provided policy is invalid. Check the error stack for -// more information about what caused the error. +// - ErrCodeInvalidPolicyException "InvalidPolicy" +// Indicates that the provided policy is invalid. Check the error stack for +// more information about what caused the error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/PutIdentityPolicy func (c *SES) PutIdentityPolicy(input *PutIdentityPolicyInput) (*PutIdentityPolicyOutput, error) { @@ -3922,14 +3889,13 @@ const opReorderReceiptRuleSet = "ReorderReceiptRuleSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReorderReceiptRuleSetRequest method. +// req, resp := client.ReorderReceiptRuleSetRequest(params) // -// // Example sending a request using the ReorderReceiptRuleSetRequest method. -// req, resp := client.ReorderReceiptRuleSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReorderReceiptRuleSet func (c *SES) ReorderReceiptRuleSetRequest(input *ReorderReceiptRuleSetInput) (req *request.Request, output *ReorderReceiptRuleSetOutput) { @@ -3970,11 +3936,12 @@ func (c *SES) ReorderReceiptRuleSetRequest(input *ReorderReceiptRuleSetInput) (r // API operation ReorderReceiptRuleSet for usage and error information. // // Returned Error Codes: -// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" -// Indicates that the provided receipt rule set does not exist. // -// * ErrCodeRuleDoesNotExistException "RuleDoesNotExist" -// Indicates that the provided receipt rule does not exist. +// - ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" +// Indicates that the provided receipt rule set does not exist. +// +// - ErrCodeRuleDoesNotExistException "RuleDoesNotExist" +// Indicates that the provided receipt rule does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/ReorderReceiptRuleSet func (c *SES) ReorderReceiptRuleSet(input *ReorderReceiptRuleSetInput) (*ReorderReceiptRuleSetOutput, error) { @@ -4014,14 +3981,13 @@ const opSendBounce = "SendBounce" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendBounceRequest method. +// req, resp := client.SendBounceRequest(params) // -// // Example sending a request using the SendBounceRequest method. -// req, resp := client.SendBounceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBounce func (c *SES) SendBounceRequest(input *SendBounceInput) (req *request.Request, output *SendBounceOutput) { @@ -4062,9 +4028,9 @@ func (c *SES) SendBounceRequest(input *SendBounceInput) (req *request.Request, o // API operation SendBounce for usage and error information. // // Returned Error Codes: -// * ErrCodeMessageRejected "MessageRejected" -// Indicates that the action failed, and the message could not be sent. Check -// the error stack for more information about what caused the error. +// - ErrCodeMessageRejected "MessageRejected" +// Indicates that the action failed, and the message could not be sent. Check +// the error stack for more information about what caused the error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBounce func (c *SES) SendBounce(input *SendBounceInput) (*SendBounceOutput, error) { @@ -4104,14 +4070,13 @@ const opSendBulkTemplatedEmail = "SendBulkTemplatedEmail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendBulkTemplatedEmailRequest method. +// req, resp := client.SendBulkTemplatedEmailRequest(params) // -// // Example sending a request using the SendBulkTemplatedEmailRequest method. -// req, resp := client.SendBulkTemplatedEmailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBulkTemplatedEmail func (c *SES) SendBulkTemplatedEmailRequest(input *SendBulkTemplatedEmailInput) (req *request.Request, output *SendBulkTemplatedEmailOutput) { @@ -4138,34 +4103,34 @@ func (c *SES) SendBulkTemplatedEmailRequest(input *SendBulkTemplatedEmailInput) // In order to send email using the SendBulkTemplatedEmail operation, your call // to the API must meet the following requirements: // -// * The call must refer to an existing email template. You can create email -// templates using the CreateTemplate operation. +// - The call must refer to an existing email template. You can create email +// templates using the CreateTemplate operation. // -// * The message must be sent from a verified email address or domain. +// - The message must be sent from a verified email address or domain. // -// * If your account is still in the Amazon SES sandbox, you may only send -// to verified addresses or domains, or to email addresses associated with -// the Amazon SES Mailbox Simulator. For more information, see Verifying -// Email Addresses and Domains (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html) -// in the Amazon SES Developer Guide. +// - If your account is still in the Amazon SES sandbox, you may only send +// to verified addresses or domains, or to email addresses associated with +// the Amazon SES Mailbox Simulator. For more information, see Verifying +// Email Addresses and Domains (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html) +// in the Amazon SES Developer Guide. // -// * The maximum message size is 10 MB. +// - The maximum message size is 10 MB. // -// * Each Destination parameter must include at least one recipient email -// address. The recipient address can be a To: address, a CC: address, or -// a BCC: address. If a recipient email address is invalid (that is, it is -// not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire -// message will be rejected, even if the message contains other recipients -// that are valid. +// - Each Destination parameter must include at least one recipient email +// address. The recipient address can be a To: address, a CC: address, or +// a BCC: address. If a recipient email address is invalid (that is, it is +// not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire +// message will be rejected, even if the message contains other recipients +// that are valid. // -// * The message may not include more than 50 recipients, across the To:, -// CC: and BCC: fields. If you need to send an email message to a larger -// audience, you can divide your recipient list into groups of 50 or fewer, -// and then call the SendBulkTemplatedEmail operation several times to send -// the message to each group. +// - The message may not include more than 50 recipients, across the To:, +// CC: and BCC: fields. If you need to send an email message to a larger +// audience, you can divide your recipient list into groups of 50 or fewer, +// and then call the SendBulkTemplatedEmail operation several times to send +// the message to each group. // -// * The number of destinations you can contact in a single call to the API -// may be limited by your account's maximum sending rate. +// - The number of destinations you can contact in a single call to the API +// may be limited by your account's maximum sending rate. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4175,33 +4140,34 @@ func (c *SES) SendBulkTemplatedEmailRequest(input *SendBulkTemplatedEmailInput) // API operation SendBulkTemplatedEmail for usage and error information. // // Returned Error Codes: -// * ErrCodeMessageRejected "MessageRejected" -// Indicates that the action failed, and the message could not be sent. Check -// the error stack for more information about what caused the error. // -// * ErrCodeMailFromDomainNotVerifiedException "MailFromDomainNotVerifiedException" -// Indicates that the message could not be sent because Amazon SES could not -// read the MX record required to use the specified MAIL FROM domain. For information -// about editing the custom MAIL FROM domain settings for an identity, see the -// Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html). +// - ErrCodeMessageRejected "MessageRejected" +// Indicates that the action failed, and the message could not be sent. Check +// the error stack for more information about what caused the error. // -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. +// - ErrCodeMailFromDomainNotVerifiedException "MailFromDomainNotVerifiedException" +// Indicates that the message could not be sent because Amazon SES could not +// read the MX record required to use the specified MAIL FROM domain. For information +// about editing the custom MAIL FROM domain settings for an identity, see the +// Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html). // -// * ErrCodeTemplateDoesNotExistException "TemplateDoesNotExist" -// Indicates that the Template object you specified does not exist in your Amazon -// SES account. +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. // -// * ErrCodeConfigurationSetSendingPausedException "ConfigurationSetSendingPausedException" -// Indicates that email sending is disabled for the configuration set. +// - ErrCodeTemplateDoesNotExistException "TemplateDoesNotExist" +// Indicates that the Template object you specified does not exist in your Amazon +// SES account. // -// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. +// - ErrCodeConfigurationSetSendingPausedException "ConfigurationSetSendingPausedException" +// Indicates that email sending is disabled for the configuration set. // -// * ErrCodeAccountSendingPausedException "AccountSendingPausedException" -// Indicates that email sending is disabled for your entire Amazon SES account. +// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. // -// You can enable or disable email sending for your Amazon SES account using -// UpdateAccountSendingEnabled. +// - ErrCodeAccountSendingPausedException "AccountSendingPausedException" +// Indicates that email sending is disabled for your entire Amazon SES account. +// +// You can enable or disable email sending for your Amazon SES account using +// UpdateAccountSendingEnabled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendBulkTemplatedEmail func (c *SES) SendBulkTemplatedEmail(input *SendBulkTemplatedEmailInput) (*SendBulkTemplatedEmailOutput, error) { @@ -4241,14 +4207,13 @@ const opSendCustomVerificationEmail = "SendCustomVerificationEmail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendCustomVerificationEmailRequest method. +// req, resp := client.SendCustomVerificationEmailRequest(params) // -// // Example sending a request using the SendCustomVerificationEmailRequest method. -// req, resp := client.SendCustomVerificationEmailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendCustomVerificationEmail func (c *SES) SendCustomVerificationEmailRequest(input *SendCustomVerificationEmailInput) (req *request.Request, output *SendCustomVerificationEmailOutput) { @@ -4289,24 +4254,25 @@ func (c *SES) SendCustomVerificationEmailRequest(input *SendCustomVerificationEm // API operation SendCustomVerificationEmail for usage and error information. // // Returned Error Codes: -// * ErrCodeMessageRejected "MessageRejected" -// Indicates that the action failed, and the message could not be sent. Check -// the error stack for more information about what caused the error. // -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. +// - ErrCodeMessageRejected "MessageRejected" +// Indicates that the action failed, and the message could not be sent. Check +// the error stack for more information about what caused the error. +// +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. // -// * ErrCodeCustomVerificationEmailTemplateDoesNotExistException "CustomVerificationEmailTemplateDoesNotExist" -// Indicates that a custom verification email template with the name you specified -// does not exist. +// - ErrCodeCustomVerificationEmailTemplateDoesNotExistException "CustomVerificationEmailTemplateDoesNotExist" +// Indicates that a custom verification email template with the name you specified +// does not exist. // -// * ErrCodeFromEmailAddressNotVerifiedException "FromEmailAddressNotVerified" -// Indicates that the sender address specified for a custom verification email -// is not verified, and is therefore not eligible to send the custom verification -// email. +// - ErrCodeFromEmailAddressNotVerifiedException "FromEmailAddressNotVerified" +// Indicates that the sender address specified for a custom verification email +// is not verified, and is therefore not eligible to send the custom verification +// email. // -// * ErrCodeProductionAccessNotGrantedException "ProductionAccessNotGranted" -// Indicates that the account has not been granted production access. +// - ErrCodeProductionAccessNotGrantedException "ProductionAccessNotGranted" +// Indicates that the account has not been granted production access. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendCustomVerificationEmail func (c *SES) SendCustomVerificationEmail(input *SendCustomVerificationEmailInput) (*SendCustomVerificationEmailOutput, error) { @@ -4346,14 +4312,13 @@ const opSendEmail = "SendEmail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendEmailRequest method. +// req, resp := client.SendEmailRequest(params) // -// // Example sending a request using the SendEmailRequest method. -// req, resp := client.SendEmailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendEmail func (c *SES) SendEmailRequest(input *SendEmailInput) (req *request.Request, output *SendEmailOutput) { @@ -4378,29 +4343,29 @@ func (c *SES) SendEmailRequest(input *SendEmailInput) (req *request.Request, out // to send email using the SendEmail operation, your message must meet the following // requirements: // -// * The message must be sent from a verified email address or domain. If -// you attempt to send email using a non-verified address or domain, the -// operation will result in an "Email address not verified" error. +// - The message must be sent from a verified email address or domain. If +// you attempt to send email using a non-verified address or domain, the +// operation will result in an "Email address not verified" error. // -// * If your account is still in the Amazon SES sandbox, you may only send -// to verified addresses or domains, or to email addresses associated with -// the Amazon SES Mailbox Simulator. For more information, see Verifying -// Email Addresses and Domains (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html) -// in the Amazon SES Developer Guide. +// - If your account is still in the Amazon SES sandbox, you may only send +// to verified addresses or domains, or to email addresses associated with +// the Amazon SES Mailbox Simulator. For more information, see Verifying +// Email Addresses and Domains (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html) +// in the Amazon SES Developer Guide. // -// * The maximum message size is 10 MB. +// - The maximum message size is 10 MB. // -// * The message must include at least one recipient email address. The recipient -// address can be a To: address, a CC: address, or a BCC: address. If a recipient -// email address is invalid (that is, it is not in the format UserName@[SubDomain.]Domain.TopLevelDomain), -// the entire message will be rejected, even if the message contains other -// recipients that are valid. +// - The message must include at least one recipient email address. The recipient +// address can be a To: address, a CC: address, or a BCC: address. If a recipient +// email address is invalid (that is, it is not in the format UserName@[SubDomain.]Domain.TopLevelDomain), +// the entire message will be rejected, even if the message contains other +// recipients that are valid. // -// * The message may not include more than 50 recipients, across the To:, -// CC: and BCC: fields. If you need to send an email message to a larger -// audience, you can divide your recipient list into groups of 50 or fewer, -// and then call the SendEmail operation several times to send the message -// to each group. +// - The message may not include more than 50 recipients, across the To:, +// CC: and BCC: fields. If you need to send an email message to a larger +// audience, you can divide your recipient list into groups of 50 or fewer, +// and then call the SendEmail operation several times to send the message +// to each group. // // For every message that you send, the total number of recipients (including // each recipient in the To:, CC: and BCC: fields) is counted against the maximum @@ -4417,29 +4382,30 @@ func (c *SES) SendEmailRequest(input *SendEmailInput) (req *request.Request, out // API operation SendEmail for usage and error information. // // Returned Error Codes: -// * ErrCodeMessageRejected "MessageRejected" -// Indicates that the action failed, and the message could not be sent. Check -// the error stack for more information about what caused the error. // -// * ErrCodeMailFromDomainNotVerifiedException "MailFromDomainNotVerifiedException" -// Indicates that the message could not be sent because Amazon SES could not -// read the MX record required to use the specified MAIL FROM domain. For information -// about editing the custom MAIL FROM domain settings for an identity, see the -// Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html). +// - ErrCodeMessageRejected "MessageRejected" +// Indicates that the action failed, and the message could not be sent. Check +// the error stack for more information about what caused the error. +// +// - ErrCodeMailFromDomainNotVerifiedException "MailFromDomainNotVerifiedException" +// Indicates that the message could not be sent because Amazon SES could not +// read the MX record required to use the specified MAIL FROM domain. For information +// about editing the custom MAIL FROM domain settings for an identity, see the +// Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html). // -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. // -// * ErrCodeConfigurationSetSendingPausedException "ConfigurationSetSendingPausedException" -// Indicates that email sending is disabled for the configuration set. +// - ErrCodeConfigurationSetSendingPausedException "ConfigurationSetSendingPausedException" +// Indicates that email sending is disabled for the configuration set. // -// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. +// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. // -// * ErrCodeAccountSendingPausedException "AccountSendingPausedException" -// Indicates that email sending is disabled for your entire Amazon SES account. +// - ErrCodeAccountSendingPausedException "AccountSendingPausedException" +// Indicates that email sending is disabled for your entire Amazon SES account. // -// You can enable or disable email sending for your Amazon SES account using -// UpdateAccountSendingEnabled. +// You can enable or disable email sending for your Amazon SES account using +// UpdateAccountSendingEnabled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendEmail func (c *SES) SendEmail(input *SendEmailInput) (*SendEmailOutput, error) { @@ -4479,14 +4445,13 @@ const opSendRawEmail = "SendRawEmail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendRawEmailRequest method. +// req, resp := client.SendRawEmailRequest(params) // -// // Example sending a request using the SendRawEmailRequest method. -// req, resp := client.SendRawEmailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendRawEmail func (c *SES) SendRawEmailRequest(input *SendRawEmailInput) (req *request.Request, output *SendRawEmailOutput) { @@ -4518,66 +4483,66 @@ func (c *SES) SendRawEmailRequest(input *SendRawEmailInput) (req *request.Reques // // The SendRawEmail operation has the following requirements: // -// * You can only send email from verified email addresses or domains (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html). -// If you try to send email from an address that isn't verified, the operation -// results in an "Email address not verified" error. +// - You can only send email from verified email addresses or domains (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html). +// If you try to send email from an address that isn't verified, the operation +// results in an "Email address not verified" error. // -// * If your account is still in the Amazon SES sandbox (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html), -// you can only send email to other verified addresses in your account, or -// to addresses that are associated with the Amazon SES mailbox simulator -// (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mailbox-simulator.html). +// - If your account is still in the Amazon SES sandbox (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html), +// you can only send email to other verified addresses in your account, or +// to addresses that are associated with the Amazon SES mailbox simulator +// (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mailbox-simulator.html). // -// * The maximum message size, including attachments, is 10 MB. +// - The maximum message size, including attachments, is 10 MB. // -// * Each message has to include at least one recipient address. A recipient -// address includes any address on the To:, CC:, or BCC: lines. +// - Each message has to include at least one recipient address. A recipient +// address includes any address on the To:, CC:, or BCC: lines. // -// * If you send a single message to more than one recipient address, and -// one of the recipient addresses isn't in a valid format (that is, it's -// not in the format UserName@[SubDomain.]Domain.TopLevelDomain), Amazon -// SES rejects the entire message, even if the other addresses are valid. +// - If you send a single message to more than one recipient address, and +// one of the recipient addresses isn't in a valid format (that is, it's +// not in the format UserName@[SubDomain.]Domain.TopLevelDomain), Amazon +// SES rejects the entire message, even if the other addresses are valid. // -// * Each message can include up to 50 recipient addresses across the To:, -// CC:, or BCC: lines. If you need to send a single message to more than -// 50 recipients, you have to split the list of recipient addresses into -// groups of less than 50 recipients, and send separate messages to each -// group. +// - Each message can include up to 50 recipient addresses across the To:, +// CC:, or BCC: lines. If you need to send a single message to more than +// 50 recipients, you have to split the list of recipient addresses into +// groups of less than 50 recipients, and send separate messages to each +// group. // -// * Amazon SES allows you to specify 8-bit Content-Transfer-Encoding for -// MIME message parts. However, if Amazon SES has to modify the contents -// of your message (for example, if you use open and click tracking), 8-bit -// content isn't preserved. For this reason, we highly recommend that you -// encode all content that isn't 7-bit ASCII. For more information, see MIME -// Encoding (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html#send-email-mime-encoding) -// in the Amazon SES Developer Guide. +// - Amazon SES allows you to specify 8-bit Content-Transfer-Encoding for +// MIME message parts. However, if Amazon SES has to modify the contents +// of your message (for example, if you use open and click tracking), 8-bit +// content isn't preserved. For this reason, we highly recommend that you +// encode all content that isn't 7-bit ASCII. For more information, see MIME +// Encoding (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-raw.html#send-email-mime-encoding) +// in the Amazon SES Developer Guide. // // Additionally, keep the following considerations in mind when using the SendRawEmail // operation: // -// * Although you can customize the message headers when using the SendRawEmail -// operation, Amazon SES will automatically apply its own Message-ID and -// Date headers; if you passed these headers when creating the message, they -// will be overwritten by the values that Amazon SES provides. -// -// * If you are using sending authorization to send on behalf of another -// user, SendRawEmail enables you to specify the cross-account identity for -// the email's Source, From, and Return-Path parameters in one of two ways: -// you can pass optional parameters SourceArn, FromArn, and/or ReturnPathArn -// to the API, or you can include the following X-headers in the header of -// your raw email: X-SES-SOURCE-ARN X-SES-FROM-ARN X-SES-RETURN-PATH-ARN -// Don't include these X-headers in the DKIM signature. Amazon SES removes -// these before it sends the email. If you only specify the SourceIdentityArn -// parameter, Amazon SES sets the From and Return-Path addresses to the same -// identity that you specified. For more information about sending authorization, -// see the Using Sending Authorization with Amazon SES (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html) -// in the Amazon SES Developer Guide. -// -// * For every message that you send, the total number of recipients (including -// each recipient in the To:, CC: and BCC: fields) is counted against the -// maximum number of emails you can send in a 24-hour period (your sending -// quota). For more information about sending quotas in Amazon SES, see Managing -// Your Amazon SES Sending Limits (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/manage-sending-limits.html) -// in the Amazon SES Developer Guide. +// - Although you can customize the message headers when using the SendRawEmail +// operation, Amazon SES will automatically apply its own Message-ID and +// Date headers; if you passed these headers when creating the message, they +// will be overwritten by the values that Amazon SES provides. +// +// - If you are using sending authorization to send on behalf of another +// user, SendRawEmail enables you to specify the cross-account identity for +// the email's Source, From, and Return-Path parameters in one of two ways: +// you can pass optional parameters SourceArn, FromArn, and/or ReturnPathArn +// to the API, or you can include the following X-headers in the header of +// your raw email: X-SES-SOURCE-ARN X-SES-FROM-ARN X-SES-RETURN-PATH-ARN +// Don't include these X-headers in the DKIM signature. Amazon SES removes +// these before it sends the email. If you only specify the SourceIdentityArn +// parameter, Amazon SES sets the From and Return-Path addresses to the same +// identity that you specified. For more information about sending authorization, +// see the Using Sending Authorization with Amazon SES (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/sending-authorization.html) +// in the Amazon SES Developer Guide. +// +// - For every message that you send, the total number of recipients (including +// each recipient in the To:, CC: and BCC: fields) is counted against the +// maximum number of emails you can send in a 24-hour period (your sending +// quota). For more information about sending quotas in Amazon SES, see Managing +// Your Amazon SES Sending Limits (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/manage-sending-limits.html) +// in the Amazon SES Developer Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4587,29 +4552,30 @@ func (c *SES) SendRawEmailRequest(input *SendRawEmailInput) (req *request.Reques // API operation SendRawEmail for usage and error information. // // Returned Error Codes: -// * ErrCodeMessageRejected "MessageRejected" -// Indicates that the action failed, and the message could not be sent. Check -// the error stack for more information about what caused the error. // -// * ErrCodeMailFromDomainNotVerifiedException "MailFromDomainNotVerifiedException" -// Indicates that the message could not be sent because Amazon SES could not -// read the MX record required to use the specified MAIL FROM domain. For information -// about editing the custom MAIL FROM domain settings for an identity, see the -// Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html). +// - ErrCodeMessageRejected "MessageRejected" +// Indicates that the action failed, and the message could not be sent. Check +// the error stack for more information about what caused the error. // -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. +// - ErrCodeMailFromDomainNotVerifiedException "MailFromDomainNotVerifiedException" +// Indicates that the message could not be sent because Amazon SES could not +// read the MX record required to use the specified MAIL FROM domain. For information +// about editing the custom MAIL FROM domain settings for an identity, see the +// Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html). // -// * ErrCodeConfigurationSetSendingPausedException "ConfigurationSetSendingPausedException" -// Indicates that email sending is disabled for the configuration set. +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. // -// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. +// - ErrCodeConfigurationSetSendingPausedException "ConfigurationSetSendingPausedException" +// Indicates that email sending is disabled for the configuration set. // -// * ErrCodeAccountSendingPausedException "AccountSendingPausedException" -// Indicates that email sending is disabled for your entire Amazon SES account. +// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. // -// You can enable or disable email sending for your Amazon SES account using -// UpdateAccountSendingEnabled. +// - ErrCodeAccountSendingPausedException "AccountSendingPausedException" +// Indicates that email sending is disabled for your entire Amazon SES account. +// +// You can enable or disable email sending for your Amazon SES account using +// UpdateAccountSendingEnabled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendRawEmail func (c *SES) SendRawEmail(input *SendRawEmailInput) (*SendRawEmailOutput, error) { @@ -4649,14 +4615,13 @@ const opSendTemplatedEmail = "SendTemplatedEmail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendTemplatedEmailRequest method. +// req, resp := client.SendTemplatedEmailRequest(params) // -// // Example sending a request using the SendTemplatedEmailRequest method. -// req, resp := client.SendTemplatedEmailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendTemplatedEmail func (c *SES) SendTemplatedEmailRequest(input *SendTemplatedEmailInput) (req *request.Request, output *SendTemplatedEmailOutput) { @@ -4683,30 +4648,30 @@ func (c *SES) SendTemplatedEmailRequest(input *SendTemplatedEmailInput) (req *re // In order to send email using the SendTemplatedEmail operation, your call // to the API must meet the following requirements: // -// * The call must refer to an existing email template. You can create email -// templates using the CreateTemplate operation. +// - The call must refer to an existing email template. You can create email +// templates using the CreateTemplate operation. // -// * The message must be sent from a verified email address or domain. +// - The message must be sent from a verified email address or domain. // -// * If your account is still in the Amazon SES sandbox, you may only send -// to verified addresses or domains, or to email addresses associated with -// the Amazon SES Mailbox Simulator. For more information, see Verifying -// Email Addresses and Domains (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html) -// in the Amazon SES Developer Guide. +// - If your account is still in the Amazon SES sandbox, you may only send +// to verified addresses or domains, or to email addresses associated with +// the Amazon SES Mailbox Simulator. For more information, see Verifying +// Email Addresses and Domains (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/verify-addresses-and-domains.html) +// in the Amazon SES Developer Guide. // -// * The maximum message size is 10 MB. +// - The maximum message size is 10 MB. // -// * Calls to the SendTemplatedEmail operation may only include one Destination -// parameter. A destination is a set of recipients who will receive the same -// version of the email. The Destination parameter can include up to 50 recipients, -// across the To:, CC: and BCC: fields. +// - Calls to the SendTemplatedEmail operation may only include one Destination +// parameter. A destination is a set of recipients who will receive the same +// version of the email. The Destination parameter can include up to 50 recipients, +// across the To:, CC: and BCC: fields. // -// * The Destination parameter must include at least one recipient email -// address. The recipient address can be a To: address, a CC: address, or -// a BCC: address. If a recipient email address is invalid (that is, it is -// not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire -// message will be rejected, even if the message contains other recipients -// that are valid. +// - The Destination parameter must include at least one recipient email +// address. The recipient address can be a To: address, a CC: address, or +// a BCC: address. If a recipient email address is invalid (that is, it is +// not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire +// message will be rejected, even if the message contains other recipients +// that are valid. // // If your call to the SendTemplatedEmail operation includes all of the required // parameters, Amazon SES accepts it and returns a Message ID. However, if Amazon @@ -4727,33 +4692,34 @@ func (c *SES) SendTemplatedEmailRequest(input *SendTemplatedEmailInput) (req *re // API operation SendTemplatedEmail for usage and error information. // // Returned Error Codes: -// * ErrCodeMessageRejected "MessageRejected" -// Indicates that the action failed, and the message could not be sent. Check -// the error stack for more information about what caused the error. // -// * ErrCodeMailFromDomainNotVerifiedException "MailFromDomainNotVerifiedException" -// Indicates that the message could not be sent because Amazon SES could not -// read the MX record required to use the specified MAIL FROM domain. For information -// about editing the custom MAIL FROM domain settings for an identity, see the -// Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html). +// - ErrCodeMessageRejected "MessageRejected" +// Indicates that the action failed, and the message could not be sent. Check +// the error stack for more information about what caused the error. +// +// - ErrCodeMailFromDomainNotVerifiedException "MailFromDomainNotVerifiedException" +// Indicates that the message could not be sent because Amazon SES could not +// read the MX record required to use the specified MAIL FROM domain. For information +// about editing the custom MAIL FROM domain settings for an identity, see the +// Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-edit.html). // -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. // -// * ErrCodeTemplateDoesNotExistException "TemplateDoesNotExist" -// Indicates that the Template object you specified does not exist in your Amazon -// SES account. +// - ErrCodeTemplateDoesNotExistException "TemplateDoesNotExist" +// Indicates that the Template object you specified does not exist in your Amazon +// SES account. // -// * ErrCodeConfigurationSetSendingPausedException "ConfigurationSetSendingPausedException" -// Indicates that email sending is disabled for the configuration set. +// - ErrCodeConfigurationSetSendingPausedException "ConfigurationSetSendingPausedException" +// Indicates that email sending is disabled for the configuration set. // -// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. +// You can enable or disable email sending for a configuration set using UpdateConfigurationSetSendingEnabled. // -// * ErrCodeAccountSendingPausedException "AccountSendingPausedException" -// Indicates that email sending is disabled for your entire Amazon SES account. +// - ErrCodeAccountSendingPausedException "AccountSendingPausedException" +// Indicates that email sending is disabled for your entire Amazon SES account. // -// You can enable or disable email sending for your Amazon SES account using -// UpdateAccountSendingEnabled. +// You can enable or disable email sending for your Amazon SES account using +// UpdateAccountSendingEnabled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SendTemplatedEmail func (c *SES) SendTemplatedEmail(input *SendTemplatedEmailInput) (*SendTemplatedEmailOutput, error) { @@ -4793,14 +4759,13 @@ const opSetActiveReceiptRuleSet = "SetActiveReceiptRuleSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetActiveReceiptRuleSetRequest method. +// req, resp := client.SetActiveReceiptRuleSetRequest(params) // -// // Example sending a request using the SetActiveReceiptRuleSetRequest method. -// req, resp := client.SetActiveReceiptRuleSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetActiveReceiptRuleSet func (c *SES) SetActiveReceiptRuleSetRequest(input *SetActiveReceiptRuleSetInput) (req *request.Request, output *SetActiveReceiptRuleSetOutput) { @@ -4840,8 +4805,8 @@ func (c *SES) SetActiveReceiptRuleSetRequest(input *SetActiveReceiptRuleSetInput // API operation SetActiveReceiptRuleSet for usage and error information. // // Returned Error Codes: -// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" -// Indicates that the provided receipt rule set does not exist. +// - ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" +// Indicates that the provided receipt rule set does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetActiveReceiptRuleSet func (c *SES) SetActiveReceiptRuleSet(input *SetActiveReceiptRuleSetInput) (*SetActiveReceiptRuleSetOutput, error) { @@ -4881,14 +4846,13 @@ const opSetIdentityDkimEnabled = "SetIdentityDkimEnabled" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetIdentityDkimEnabledRequest method. +// req, resp := client.SetIdentityDkimEnabledRequest(params) // -// // Example sending a request using the SetIdentityDkimEnabledRequest method. -// req, resp := client.SetIdentityDkimEnabledRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityDkimEnabled func (c *SES) SetIdentityDkimEnabledRequest(input *SetIdentityDkimEnabledInput) (req *request.Request, output *SetIdentityDkimEnabledOutput) { @@ -4973,14 +4937,13 @@ const opSetIdentityFeedbackForwardingEnabled = "SetIdentityFeedbackForwardingEna // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetIdentityFeedbackForwardingEnabledRequest method. +// req, resp := client.SetIdentityFeedbackForwardingEnabledRequest(params) // -// // Example sending a request using the SetIdentityFeedbackForwardingEnabledRequest method. -// req, resp := client.SetIdentityFeedbackForwardingEnabledRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityFeedbackForwardingEnabled func (c *SES) SetIdentityFeedbackForwardingEnabledRequest(input *SetIdentityFeedbackForwardingEnabledInput) (req *request.Request, output *SetIdentityFeedbackForwardingEnabledOutput) { @@ -5059,14 +5022,13 @@ const opSetIdentityHeadersInNotificationsEnabled = "SetIdentityHeadersInNotifica // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetIdentityHeadersInNotificationsEnabledRequest method. +// req, resp := client.SetIdentityHeadersInNotificationsEnabledRequest(params) // -// // Example sending a request using the SetIdentityHeadersInNotificationsEnabledRequest method. -// req, resp := client.SetIdentityHeadersInNotificationsEnabledRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityHeadersInNotificationsEnabled func (c *SES) SetIdentityHeadersInNotificationsEnabledRequest(input *SetIdentityHeadersInNotificationsEnabledInput) (req *request.Request, output *SetIdentityHeadersInNotificationsEnabledOutput) { @@ -5141,14 +5103,13 @@ const opSetIdentityMailFromDomain = "SetIdentityMailFromDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetIdentityMailFromDomainRequest method. +// req, resp := client.SetIdentityMailFromDomainRequest(params) // -// // Example sending a request using the SetIdentityMailFromDomainRequest method. -// req, resp := client.SetIdentityMailFromDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityMailFromDomain func (c *SES) SetIdentityMailFromDomainRequest(input *SetIdentityMailFromDomainInput) (req *request.Request, output *SetIdentityMailFromDomainOutput) { @@ -5224,14 +5185,13 @@ const opSetIdentityNotificationTopic = "SetIdentityNotificationTopic" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetIdentityNotificationTopicRequest method. +// req, resp := client.SetIdentityNotificationTopicRequest(params) // -// // Example sending a request using the SetIdentityNotificationTopicRequest method. -// req, resp := client.SetIdentityNotificationTopicRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetIdentityNotificationTopic func (c *SES) SetIdentityNotificationTopicRequest(input *SetIdentityNotificationTopicInput) (req *request.Request, output *SetIdentityNotificationTopicOutput) { @@ -5309,14 +5269,13 @@ const opSetReceiptRulePosition = "SetReceiptRulePosition" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetReceiptRulePositionRequest method. +// req, resp := client.SetReceiptRulePositionRequest(params) // -// // Example sending a request using the SetReceiptRulePositionRequest method. -// req, resp := client.SetReceiptRulePositionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetReceiptRulePosition func (c *SES) SetReceiptRulePositionRequest(input *SetReceiptRulePositionInput) (req *request.Request, output *SetReceiptRulePositionOutput) { @@ -5353,11 +5312,12 @@ func (c *SES) SetReceiptRulePositionRequest(input *SetReceiptRulePositionInput) // API operation SetReceiptRulePosition for usage and error information. // // Returned Error Codes: -// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" -// Indicates that the provided receipt rule set does not exist. // -// * ErrCodeRuleDoesNotExistException "RuleDoesNotExist" -// Indicates that the provided receipt rule does not exist. +// - ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" +// Indicates that the provided receipt rule set does not exist. +// +// - ErrCodeRuleDoesNotExistException "RuleDoesNotExist" +// Indicates that the provided receipt rule does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/SetReceiptRulePosition func (c *SES) SetReceiptRulePosition(input *SetReceiptRulePositionInput) (*SetReceiptRulePositionOutput, error) { @@ -5397,14 +5357,13 @@ const opTestRenderTemplate = "TestRenderTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestRenderTemplateRequest method. +// req, resp := client.TestRenderTemplateRequest(params) // -// // Example sending a request using the TestRenderTemplateRequest method. -// req, resp := client.TestRenderTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TestRenderTemplate func (c *SES) TestRenderTemplateRequest(input *TestRenderTemplateInput) (req *request.Request, output *TestRenderTemplateOutput) { @@ -5438,18 +5397,19 @@ func (c *SES) TestRenderTemplateRequest(input *TestRenderTemplateInput) (req *re // API operation TestRenderTemplate for usage and error information. // // Returned Error Codes: -// * ErrCodeTemplateDoesNotExistException "TemplateDoesNotExist" -// Indicates that the Template object you specified does not exist in your Amazon -// SES account. // -// * ErrCodeInvalidRenderingParameterException "InvalidRenderingParameter" -// Indicates that one or more of the replacement values you provided is invalid. -// This error may occur when the TemplateData object contains invalid JSON. +// - ErrCodeTemplateDoesNotExistException "TemplateDoesNotExist" +// Indicates that the Template object you specified does not exist in your Amazon +// SES account. // -// * ErrCodeMissingRenderingAttributeException "MissingRenderingAttribute" -// Indicates that one or more of the replacement values for the specified template -// was not specified. Ensure that the TemplateData object contains references -// to all of the replacement tags in the specified template. +// - ErrCodeInvalidRenderingParameterException "InvalidRenderingParameter" +// Indicates that one or more of the replacement values you provided is invalid. +// This error may occur when the TemplateData object contains invalid JSON. +// +// - ErrCodeMissingRenderingAttributeException "MissingRenderingAttribute" +// Indicates that one or more of the replacement values for the specified template +// was not specified. Ensure that the TemplateData object contains references +// to all of the replacement tags in the specified template. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/TestRenderTemplate func (c *SES) TestRenderTemplate(input *TestRenderTemplateInput) (*TestRenderTemplateOutput, error) { @@ -5489,14 +5449,13 @@ const opUpdateAccountSendingEnabled = "UpdateAccountSendingEnabled" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAccountSendingEnabledRequest method. +// req, resp := client.UpdateAccountSendingEnabledRequest(params) // -// // Example sending a request using the UpdateAccountSendingEnabledRequest method. -// req, resp := client.UpdateAccountSendingEnabledRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateAccountSendingEnabled func (c *SES) UpdateAccountSendingEnabledRequest(input *UpdateAccountSendingEnabledInput) (req *request.Request, output *UpdateAccountSendingEnabledOutput) { @@ -5570,14 +5529,13 @@ const opUpdateConfigurationSetEventDestination = "UpdateConfigurationSetEventDes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConfigurationSetEventDestinationRequest method. +// req, resp := client.UpdateConfigurationSetEventDestinationRequest(params) // -// // Example sending a request using the UpdateConfigurationSetEventDestinationRequest method. -// req, resp := client.UpdateConfigurationSetEventDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetEventDestination func (c *SES) UpdateConfigurationSetEventDestinationRequest(input *UpdateConfigurationSetEventDestinationInput) (req *request.Request, output *UpdateConfigurationSetEventDestinationOutput) { @@ -5620,23 +5578,24 @@ func (c *SES) UpdateConfigurationSetEventDestinationRequest(input *UpdateConfigu // API operation UpdateConfigurationSetEventDestination for usage and error information. // // Returned Error Codes: -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. // -// * ErrCodeEventDestinationDoesNotExistException "EventDestinationDoesNotExist" -// Indicates that the event destination does not exist. +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. // -// * ErrCodeInvalidCloudWatchDestinationException "InvalidCloudWatchDestination" -// Indicates that the Amazon CloudWatch destination is invalid. See the error -// message for details. +// - ErrCodeEventDestinationDoesNotExistException "EventDestinationDoesNotExist" +// Indicates that the event destination does not exist. // -// * ErrCodeInvalidFirehoseDestinationException "InvalidFirehoseDestination" -// Indicates that the Amazon Kinesis Firehose destination is invalid. See the -// error message for details. +// - ErrCodeInvalidCloudWatchDestinationException "InvalidCloudWatchDestination" +// Indicates that the Amazon CloudWatch destination is invalid. See the error +// message for details. // -// * ErrCodeInvalidSNSDestinationException "InvalidSNSDestination" -// Indicates that the Amazon Simple Notification Service (Amazon SNS) destination -// is invalid. See the error message for details. +// - ErrCodeInvalidFirehoseDestinationException "InvalidFirehoseDestination" +// Indicates that the Amazon Kinesis Firehose destination is invalid. See the +// error message for details. +// +// - ErrCodeInvalidSNSDestinationException "InvalidSNSDestination" +// Indicates that the Amazon Simple Notification Service (Amazon SNS) destination +// is invalid. See the error message for details. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetEventDestination func (c *SES) UpdateConfigurationSetEventDestination(input *UpdateConfigurationSetEventDestinationInput) (*UpdateConfigurationSetEventDestinationOutput, error) { @@ -5676,14 +5635,13 @@ const opUpdateConfigurationSetReputationMetricsEnabled = "UpdateConfigurationSet // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConfigurationSetReputationMetricsEnabledRequest method. +// req, resp := client.UpdateConfigurationSetReputationMetricsEnabledRequest(params) // -// // Example sending a request using the UpdateConfigurationSetReputationMetricsEnabledRequest method. -// req, resp := client.UpdateConfigurationSetReputationMetricsEnabledRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetReputationMetricsEnabled func (c *SES) UpdateConfigurationSetReputationMetricsEnabledRequest(input *UpdateConfigurationSetReputationMetricsEnabledInput) (req *request.Request, output *UpdateConfigurationSetReputationMetricsEnabledOutput) { @@ -5721,8 +5679,8 @@ func (c *SES) UpdateConfigurationSetReputationMetricsEnabledRequest(input *Updat // API operation UpdateConfigurationSetReputationMetricsEnabled for usage and error information. // // Returned Error Codes: -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetReputationMetricsEnabled func (c *SES) UpdateConfigurationSetReputationMetricsEnabled(input *UpdateConfigurationSetReputationMetricsEnabledInput) (*UpdateConfigurationSetReputationMetricsEnabledOutput, error) { @@ -5762,14 +5720,13 @@ const opUpdateConfigurationSetSendingEnabled = "UpdateConfigurationSetSendingEna // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConfigurationSetSendingEnabledRequest method. +// req, resp := client.UpdateConfigurationSetSendingEnabledRequest(params) // -// // Example sending a request using the UpdateConfigurationSetSendingEnabledRequest method. -// req, resp := client.UpdateConfigurationSetSendingEnabledRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetSendingEnabled func (c *SES) UpdateConfigurationSetSendingEnabledRequest(input *UpdateConfigurationSetSendingEnabledInput) (req *request.Request, output *UpdateConfigurationSetSendingEnabledOutput) { @@ -5807,8 +5764,8 @@ func (c *SES) UpdateConfigurationSetSendingEnabledRequest(input *UpdateConfigura // API operation UpdateConfigurationSetSendingEnabled for usage and error information. // // Returned Error Codes: -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetSendingEnabled func (c *SES) UpdateConfigurationSetSendingEnabled(input *UpdateConfigurationSetSendingEnabledInput) (*UpdateConfigurationSetSendingEnabledOutput, error) { @@ -5848,14 +5805,13 @@ const opUpdateConfigurationSetTrackingOptions = "UpdateConfigurationSetTrackingO // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConfigurationSetTrackingOptionsRequest method. +// req, resp := client.UpdateConfigurationSetTrackingOptionsRequest(params) // -// // Example sending a request using the UpdateConfigurationSetTrackingOptionsRequest method. -// req, resp := client.UpdateConfigurationSetTrackingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetTrackingOptions func (c *SES) UpdateConfigurationSetTrackingOptionsRequest(input *UpdateConfigurationSetTrackingOptionsInput) (req *request.Request, output *UpdateConfigurationSetTrackingOptionsOutput) { @@ -5893,19 +5849,20 @@ func (c *SES) UpdateConfigurationSetTrackingOptionsRequest(input *UpdateConfigur // API operation UpdateConfigurationSetTrackingOptions for usage and error information. // // Returned Error Codes: -// * ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" -// Indicates that the configuration set does not exist. // -// * ErrCodeTrackingOptionsDoesNotExistException "TrackingOptionsDoesNotExistException" -// Indicates that the TrackingOptions object you specified does not exist. +// - ErrCodeConfigurationSetDoesNotExistException "ConfigurationSetDoesNotExist" +// Indicates that the configuration set does not exist. +// +// - ErrCodeTrackingOptionsDoesNotExistException "TrackingOptionsDoesNotExistException" +// Indicates that the TrackingOptions object you specified does not exist. // -// * ErrCodeInvalidTrackingOptionsException "InvalidTrackingOptions" -// Indicates that the custom domain to be used for open and click tracking redirects -// is invalid. This error appears most often in the following situations: +// - ErrCodeInvalidTrackingOptionsException "InvalidTrackingOptions" +// Indicates that the custom domain to be used for open and click tracking redirects +// is invalid. This error appears most often in the following situations: // -// * When the tracking domain you specified is not verified in Amazon SES. +// - When the tracking domain you specified is not verified in Amazon SES. // -// * When the tracking domain you specified is not a valid domain or subdomain. +// - When the tracking domain you specified is not a valid domain or subdomain. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateConfigurationSetTrackingOptions func (c *SES) UpdateConfigurationSetTrackingOptions(input *UpdateConfigurationSetTrackingOptionsInput) (*UpdateConfigurationSetTrackingOptionsOutput, error) { @@ -5945,14 +5902,13 @@ const opUpdateCustomVerificationEmailTemplate = "UpdateCustomVerificationEmailTe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCustomVerificationEmailTemplateRequest method. +// req, resp := client.UpdateCustomVerificationEmailTemplateRequest(params) // -// // Example sending a request using the UpdateCustomVerificationEmailTemplateRequest method. -// req, resp := client.UpdateCustomVerificationEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateCustomVerificationEmailTemplate func (c *SES) UpdateCustomVerificationEmailTemplateRequest(input *UpdateCustomVerificationEmailTemplateInput) (req *request.Request, output *UpdateCustomVerificationEmailTemplateOutput) { @@ -5990,17 +5946,18 @@ func (c *SES) UpdateCustomVerificationEmailTemplateRequest(input *UpdateCustomVe // API operation UpdateCustomVerificationEmailTemplate for usage and error information. // // Returned Error Codes: -// * ErrCodeCustomVerificationEmailTemplateDoesNotExistException "CustomVerificationEmailTemplateDoesNotExist" -// Indicates that a custom verification email template with the name you specified -// does not exist. // -// * ErrCodeFromEmailAddressNotVerifiedException "FromEmailAddressNotVerified" -// Indicates that the sender address specified for a custom verification email -// is not verified, and is therefore not eligible to send the custom verification -// email. +// - ErrCodeCustomVerificationEmailTemplateDoesNotExistException "CustomVerificationEmailTemplateDoesNotExist" +// Indicates that a custom verification email template with the name you specified +// does not exist. // -// * ErrCodeCustomVerificationEmailInvalidContentException "CustomVerificationEmailInvalidContent" -// Indicates that custom verification email template provided content is invalid. +// - ErrCodeFromEmailAddressNotVerifiedException "FromEmailAddressNotVerified" +// Indicates that the sender address specified for a custom verification email +// is not verified, and is therefore not eligible to send the custom verification +// email. +// +// - ErrCodeCustomVerificationEmailInvalidContentException "CustomVerificationEmailInvalidContent" +// Indicates that custom verification email template provided content is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateCustomVerificationEmailTemplate func (c *SES) UpdateCustomVerificationEmailTemplate(input *UpdateCustomVerificationEmailTemplateInput) (*UpdateCustomVerificationEmailTemplateOutput, error) { @@ -6040,14 +5997,13 @@ const opUpdateReceiptRule = "UpdateReceiptRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateReceiptRuleRequest method. +// req, resp := client.UpdateReceiptRuleRequest(params) // -// // Example sending a request using the UpdateReceiptRuleRequest method. -// req, resp := client.UpdateReceiptRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateReceiptRule func (c *SES) UpdateReceiptRuleRequest(input *UpdateReceiptRuleInput) (req *request.Request, output *UpdateReceiptRuleOutput) { @@ -6084,32 +6040,33 @@ func (c *SES) UpdateReceiptRuleRequest(input *UpdateReceiptRuleInput) (req *requ // API operation UpdateReceiptRule for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidSnsTopicException "InvalidSnsTopic" -// Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES -// could not publish to the topic, possibly due to permissions issues. For information -// about giving permissions, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html). // -// * ErrCodeInvalidS3ConfigurationException "InvalidS3Configuration" -// Indicates that the provided Amazon S3 bucket or AWS KMS encryption key is -// invalid, or that Amazon SES could not publish to the bucket, possibly due -// to permissions issues. For information about giving permissions, see the -// Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html). +// - ErrCodeInvalidSnsTopicException "InvalidSnsTopic" +// Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES +// could not publish to the topic, possibly due to permissions issues. For information +// about giving permissions, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html). +// +// - ErrCodeInvalidS3ConfigurationException "InvalidS3Configuration" +// Indicates that the provided Amazon S3 bucket or AWS KMS encryption key is +// invalid, or that Amazon SES could not publish to the bucket, possibly due +// to permissions issues. For information about giving permissions, see the +// Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html). // -// * ErrCodeInvalidLambdaFunctionException "InvalidLambdaFunction" -// Indicates that the provided AWS Lambda function is invalid, or that Amazon -// SES could not execute the provided function, possibly due to permissions -// issues. For information about giving permissions, see the Amazon SES Developer -// Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html). +// - ErrCodeInvalidLambdaFunctionException "InvalidLambdaFunction" +// Indicates that the provided AWS Lambda function is invalid, or that Amazon +// SES could not execute the provided function, possibly due to permissions +// issues. For information about giving permissions, see the Amazon SES Developer +// Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-permissions.html). // -// * ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" -// Indicates that the provided receipt rule set does not exist. +// - ErrCodeRuleSetDoesNotExistException "RuleSetDoesNotExist" +// Indicates that the provided receipt rule set does not exist. // -// * ErrCodeRuleDoesNotExistException "RuleDoesNotExist" -// Indicates that the provided receipt rule does not exist. +// - ErrCodeRuleDoesNotExistException "RuleDoesNotExist" +// Indicates that the provided receipt rule does not exist. // -// * ErrCodeLimitExceededException "LimitExceeded" -// Indicates that a resource could not be created because of service limits. -// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). +// - ErrCodeLimitExceededException "LimitExceeded" +// Indicates that a resource could not be created because of service limits. +// For a list of Amazon SES limits, see the Amazon SES Developer Guide (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/limits.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateReceiptRule func (c *SES) UpdateReceiptRule(input *UpdateReceiptRuleInput) (*UpdateReceiptRuleOutput, error) { @@ -6149,14 +6106,13 @@ const opUpdateTemplate = "UpdateTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTemplateRequest method. +// req, resp := client.UpdateTemplateRequest(params) // -// // Example sending a request using the UpdateTemplateRequest method. -// req, resp := client.UpdateTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateTemplate func (c *SES) UpdateTemplateRequest(input *UpdateTemplateInput) (req *request.Request, output *UpdateTemplateOutput) { @@ -6192,13 +6148,14 @@ func (c *SES) UpdateTemplateRequest(input *UpdateTemplateInput) (req *request.Re // API operation UpdateTemplate for usage and error information. // // Returned Error Codes: -// * ErrCodeTemplateDoesNotExistException "TemplateDoesNotExist" -// Indicates that the Template object you specified does not exist in your Amazon -// SES account. // -// * ErrCodeInvalidTemplateException "InvalidTemplate" -// Indicates that the template that you specified could not be rendered. This -// issue may occur when a template refers to a partial that does not exist. +// - ErrCodeTemplateDoesNotExistException "TemplateDoesNotExist" +// Indicates that the Template object you specified does not exist in your Amazon +// SES account. +// +// - ErrCodeInvalidTemplateException "InvalidTemplate" +// Indicates that the template that you specified could not be rendered. This +// issue may occur when a template refers to a partial that does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/UpdateTemplate func (c *SES) UpdateTemplate(input *UpdateTemplateInput) (*UpdateTemplateOutput, error) { @@ -6238,14 +6195,13 @@ const opVerifyDomainDkim = "VerifyDomainDkim" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the VerifyDomainDkimRequest method. +// req, resp := client.VerifyDomainDkimRequest(params) // -// // Example sending a request using the VerifyDomainDkimRequest method. -// req, resp := client.VerifyDomainDkimRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainDkim func (c *SES) VerifyDomainDkimRequest(input *VerifyDomainDkimInput) (req *request.Request, output *VerifyDomainDkimOutput) { @@ -6284,11 +6240,11 @@ func (c *SES) VerifyDomainDkimRequest(input *VerifyDomainDkimInput) (req *reques // // To create the CNAME records for DKIM authentication, use the following values: // -// * Name: token._domainkey.example.com +// - Name: token._domainkey.example.com // -// * Type: CNAME +// - Type: CNAME // -// * Value: token.dkim.amazonses.com +// - Value: token.dkim.amazonses.com // // In the preceding example, replace token with one of the tokens that are generated // when you execute this operation. Replace example.com with your domain. Repeat @@ -6340,14 +6296,13 @@ const opVerifyDomainIdentity = "VerifyDomainIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the VerifyDomainIdentityRequest method. +// req, resp := client.VerifyDomainIdentityRequest(params) // -// // Example sending a request using the VerifyDomainIdentityRequest method. -// req, resp := client.VerifyDomainIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyDomainIdentity func (c *SES) VerifyDomainIdentityRequest(input *VerifyDomainIdentityInput) (req *request.Request, output *VerifyDomainIdentityOutput) { @@ -6419,14 +6374,13 @@ const opVerifyEmailAddress = "VerifyEmailAddress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the VerifyEmailAddressRequest method. +// req, resp := client.VerifyEmailAddressRequest(params) // -// // Example sending a request using the VerifyEmailAddressRequest method. -// req, resp := client.VerifyEmailAddressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailAddress func (c *SES) VerifyEmailAddressRequest(input *VerifyEmailAddressInput) (req *request.Request, output *VerifyEmailAddressOutput) { @@ -6494,14 +6448,13 @@ const opVerifyEmailIdentity = "VerifyEmailIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the VerifyEmailIdentityRequest method. +// req, resp := client.VerifyEmailIdentityRequest(params) // -// // Example sending a request using the VerifyEmailIdentityRequest method. -// req, resp := client.VerifyEmailIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/VerifyEmailIdentity func (c *SES) VerifyEmailIdentityRequest(input *VerifyEmailIdentityInput) (req *request.Request, output *VerifyEmailIdentityOutput) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/doc.go index 00aec63b3471..09ce8e9acac2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/doc.go @@ -17,7 +17,7 @@ // See ses package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ses/ // -// Using the Client +// # Using the Client // // To contact Amazon Simple Email Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/service.go index 1ba699fd1a1f..ce5d5f07309f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SES client from just a session. -// svc := ses.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SES client with additional configuration -// svc := ses.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SES client from just a session. +// svc := ses.New(mySession) +// +// // Create a SES client with additional configuration +// svc := ses.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SES { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/sesiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/sesiface/interface.go index 973be29a78f0..8a36b4aad22b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/sesiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ses/sesiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Simple Email Service. -// func myFunc(svc sesiface.SESAPI) bool { -// // Make svc.CloneReceiptRuleSet request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Simple Email Service. +// func myFunc(svc sesiface.SESAPI) bool { +// // Make svc.CloneReceiptRuleSet request +// } // -// func main() { -// sess := session.New() -// svc := ses.New(sess) +// func main() { +// sess := session.New() +// svc := ses.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSESClient struct { -// sesiface.SESAPI -// } -// func (m *mockSESClient) CloneReceiptRuleSet(input *ses.CloneReceiptRuleSetInput) (*ses.CloneReceiptRuleSetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSESClient struct { +// sesiface.SESAPI +// } +// func (m *mockSESClient) CloneReceiptRuleSet(input *ses.CloneReceiptRuleSetInput) (*ses.CloneReceiptRuleSetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSESClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSESClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/api.go index 60e90c5038c6..a8106b2d4adc 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/api.go @@ -29,14 +29,13 @@ const opCreateConfigurationSet = "CreateConfigurationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConfigurationSetRequest method. +// req, resp := client.CreateConfigurationSetRequest(params) // -// // Example sending a request using the CreateConfigurationSetRequest method. -// req, resp := client.CreateConfigurationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateConfigurationSet func (c *SESV2) CreateConfigurationSetRequest(input *CreateConfigurationSetInput) (req *request.Request, output *CreateConfigurationSetOutput) { @@ -72,23 +71,24 @@ func (c *SESV2) CreateConfigurationSetRequest(input *CreateConfigurationSetInput // API operation CreateConfigurationSet for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource specified in your request already exists. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - AlreadyExistsException +// The resource specified in your request already exists. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateConfigurationSet func (c *SESV2) CreateConfigurationSet(input *CreateConfigurationSetInput) (*CreateConfigurationSetOutput, error) { @@ -128,14 +128,13 @@ const opCreateConfigurationSetEventDestination = "CreateConfigurationSetEventDes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConfigurationSetEventDestinationRequest method. +// req, resp := client.CreateConfigurationSetEventDestinationRequest(params) // -// // Example sending a request using the CreateConfigurationSetEventDestinationRequest method. -// req, resp := client.CreateConfigurationSetEventDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateConfigurationSetEventDestination func (c *SESV2) CreateConfigurationSetEventDestinationRequest(input *CreateConfigurationSetEventDestinationInput) (req *request.Request, output *CreateConfigurationSetEventDestinationOutput) { @@ -174,20 +173,21 @@ func (c *SESV2) CreateConfigurationSetEventDestinationRequest(input *CreateConfi // API operation CreateConfigurationSetEventDestination for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * AlreadyExistsException -// The resource specified in your request already exists. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - AlreadyExistsException +// The resource specified in your request already exists. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateConfigurationSetEventDestination func (c *SESV2) CreateConfigurationSetEventDestination(input *CreateConfigurationSetEventDestinationInput) (*CreateConfigurationSetEventDestinationOutput, error) { @@ -227,14 +227,13 @@ const opCreateContact = "CreateContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateContactRequest method. +// req, resp := client.CreateContactRequest(params) // -// // Example sending a request using the CreateContactRequest method. -// req, resp := client.CreateContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateContact func (c *SESV2) CreateContactRequest(input *CreateContactInput) (req *request.Request, output *CreateContactOutput) { @@ -267,17 +266,18 @@ func (c *SESV2) CreateContactRequest(input *CreateContactInput) (req *request.Re // API operation CreateContact for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - BadRequestException +// The input you provided is invalid. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * AlreadyExistsException -// The resource specified in your request already exists. +// - AlreadyExistsException +// The resource specified in your request already exists. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateContact func (c *SESV2) CreateContact(input *CreateContactInput) (*CreateContactOutput, error) { @@ -317,14 +317,13 @@ const opCreateContactList = "CreateContactList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateContactListRequest method. +// req, resp := client.CreateContactListRequest(params) // -// // Example sending a request using the CreateContactListRequest method. -// req, resp := client.CreateContactListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateContactList func (c *SESV2) CreateContactListRequest(input *CreateContactListInput) (req *request.Request, output *CreateContactListOutput) { @@ -356,17 +355,18 @@ func (c *SESV2) CreateContactListRequest(input *CreateContactListInput) (req *re // API operation CreateContactList for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - BadRequestException +// The input you provided is invalid. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * AlreadyExistsException -// The resource specified in your request already exists. +// - AlreadyExistsException +// The resource specified in your request already exists. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - LimitExceededException +// There are too many instances of the specified resource type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateContactList func (c *SESV2) CreateContactList(input *CreateContactListInput) (*CreateContactListOutput, error) { @@ -406,14 +406,13 @@ const opCreateCustomVerificationEmailTemplate = "CreateCustomVerificationEmailTe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCustomVerificationEmailTemplateRequest method. +// req, resp := client.CreateCustomVerificationEmailTemplateRequest(params) // -// // Example sending a request using the CreateCustomVerificationEmailTemplateRequest method. -// req, resp := client.CreateCustomVerificationEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateCustomVerificationEmailTemplate func (c *SESV2) CreateCustomVerificationEmailTemplateRequest(input *CreateCustomVerificationEmailTemplateInput) (req *request.Request, output *CreateCustomVerificationEmailTemplateOutput) { @@ -451,20 +450,21 @@ func (c *SESV2) CreateCustomVerificationEmailTemplateRequest(input *CreateCustom // API operation CreateCustomVerificationEmailTemplate for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * AlreadyExistsException -// The resource specified in your request already exists. +// - BadRequestException +// The input you provided is invalid. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - AlreadyExistsException +// The resource specified in your request already exists. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - LimitExceededException +// There are too many instances of the specified resource type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateCustomVerificationEmailTemplate func (c *SESV2) CreateCustomVerificationEmailTemplate(input *CreateCustomVerificationEmailTemplateInput) (*CreateCustomVerificationEmailTemplateOutput, error) { @@ -504,14 +504,13 @@ const opCreateDedicatedIpPool = "CreateDedicatedIpPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDedicatedIpPoolRequest method. +// req, resp := client.CreateDedicatedIpPoolRequest(params) // -// // Example sending a request using the CreateDedicatedIpPoolRequest method. -// req, resp := client.CreateDedicatedIpPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateDedicatedIpPool func (c *SESV2) CreateDedicatedIpPoolRequest(input *CreateDedicatedIpPoolInput) (req *request.Request, output *CreateDedicatedIpPoolOutput) { @@ -547,20 +546,21 @@ func (c *SESV2) CreateDedicatedIpPoolRequest(input *CreateDedicatedIpPoolInput) // API operation CreateDedicatedIpPool for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource specified in your request already exists. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - AlreadyExistsException +// The resource specified in your request already exists. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - BadRequestException +// The input you provided is invalid. +// +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateDedicatedIpPool func (c *SESV2) CreateDedicatedIpPool(input *CreateDedicatedIpPoolInput) (*CreateDedicatedIpPoolOutput, error) { @@ -600,14 +600,13 @@ const opCreateDeliverabilityTestReport = "CreateDeliverabilityTestReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDeliverabilityTestReportRequest method. +// req, resp := client.CreateDeliverabilityTestReportRequest(params) // -// // Example sending a request using the CreateDeliverabilityTestReportRequest method. -// req, resp := client.CreateDeliverabilityTestReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateDeliverabilityTestReport func (c *SESV2) CreateDeliverabilityTestReportRequest(input *CreateDeliverabilityTestReportInput) (req *request.Request, output *CreateDeliverabilityTestReportOutput) { @@ -645,34 +644,35 @@ func (c *SESV2) CreateDeliverabilityTestReportRequest(input *CreateDeliverabilit // API operation CreateDeliverabilityTestReport for usage and error information. // // Returned Error Types: -// * AccountSuspendedException -// The message can't be sent because the account's ability to send email has -// been permanently restricted. // -// * SendingPausedException -// The message can't be sent because the account's ability to send email is -// currently paused. +// - AccountSuspendedException +// The message can't be sent because the account's ability to send email has +// been permanently restricted. +// +// - SendingPausedException +// The message can't be sent because the account's ability to send email is +// currently paused. // -// * MessageRejected -// The message can't be sent because it contains invalid content. +// - MessageRejected +// The message can't be sent because it contains invalid content. // -// * MailFromDomainNotVerifiedException -// The message can't be sent because the sending domain isn't verified. +// - MailFromDomainNotVerifiedException +// The message can't be sent because the sending domain isn't verified. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateDeliverabilityTestReport func (c *SESV2) CreateDeliverabilityTestReport(input *CreateDeliverabilityTestReportInput) (*CreateDeliverabilityTestReportOutput, error) { @@ -712,14 +712,13 @@ const opCreateEmailIdentity = "CreateEmailIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEmailIdentityRequest method. +// req, resp := client.CreateEmailIdentityRequest(params) // -// // Example sending a request using the CreateEmailIdentityRequest method. -// req, resp := client.CreateEmailIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailIdentity func (c *SESV2) CreateEmailIdentityRequest(input *CreateEmailIdentityInput) (req *request.Request, output *CreateEmailIdentityOutput) { @@ -781,23 +780,24 @@ func (c *SESV2) CreateEmailIdentityRequest(input *CreateEmailIdentityInput) (req // API operation CreateEmailIdentity for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource specified in your request already exists. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - AlreadyExistsException +// The resource specified in your request already exists. +// +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailIdentity func (c *SESV2) CreateEmailIdentity(input *CreateEmailIdentityInput) (*CreateEmailIdentityOutput, error) { @@ -837,14 +837,13 @@ const opCreateEmailIdentityPolicy = "CreateEmailIdentityPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEmailIdentityPolicyRequest method. +// req, resp := client.CreateEmailIdentityPolicyRequest(params) // -// // Example sending a request using the CreateEmailIdentityPolicyRequest method. -// req, resp := client.CreateEmailIdentityPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailIdentityPolicy func (c *SESV2) CreateEmailIdentityPolicyRequest(input *CreateEmailIdentityPolicyInput) (req *request.Request, output *CreateEmailIdentityPolicyOutput) { @@ -886,20 +885,21 @@ func (c *SESV2) CreateEmailIdentityPolicyRequest(input *CreateEmailIdentityPolic // API operation CreateEmailIdentityPolicy for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * AlreadyExistsException -// The resource specified in your request already exists. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - AlreadyExistsException +// The resource specified in your request already exists. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - LimitExceededException +// There are too many instances of the specified resource type. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailIdentityPolicy func (c *SESV2) CreateEmailIdentityPolicy(input *CreateEmailIdentityPolicyInput) (*CreateEmailIdentityPolicyOutput, error) { @@ -939,14 +939,13 @@ const opCreateEmailTemplate = "CreateEmailTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateEmailTemplateRequest method. +// req, resp := client.CreateEmailTemplateRequest(params) // -// // Example sending a request using the CreateEmailTemplateRequest method. -// req, resp := client.CreateEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailTemplate func (c *SESV2) CreateEmailTemplateRequest(input *CreateEmailTemplateInput) (req *request.Request, output *CreateEmailTemplateOutput) { @@ -982,17 +981,18 @@ func (c *SESV2) CreateEmailTemplateRequest(input *CreateEmailTemplateInput) (req // API operation CreateEmailTemplate for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource specified in your request already exists. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - AlreadyExistsException +// The resource specified in your request already exists. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - LimitExceededException +// There are too many instances of the specified resource type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateEmailTemplate func (c *SESV2) CreateEmailTemplate(input *CreateEmailTemplateInput) (*CreateEmailTemplateOutput, error) { @@ -1032,14 +1032,13 @@ const opCreateImportJob = "CreateImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateImportJobRequest method. +// req, resp := client.CreateImportJobRequest(params) // -// // Example sending a request using the CreateImportJobRequest method. -// req, resp := client.CreateImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateImportJob func (c *SESV2) CreateImportJobRequest(input *CreateImportJobInput) (req *request.Request, output *CreateImportJobOutput) { @@ -1070,14 +1069,15 @@ func (c *SESV2) CreateImportJobRequest(input *CreateImportJobInput) (req *reques // API operation CreateImportJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - BadRequestException +// The input you provided is invalid. +// +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - TooManyRequestsException +// Too many requests have been made to the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/CreateImportJob func (c *SESV2) CreateImportJob(input *CreateImportJobInput) (*CreateImportJobOutput, error) { @@ -1117,14 +1117,13 @@ const opDeleteConfigurationSet = "DeleteConfigurationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigurationSetRequest method. +// req, resp := client.DeleteConfigurationSetRequest(params) // -// // Example sending a request using the DeleteConfigurationSetRequest method. -// req, resp := client.DeleteConfigurationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteConfigurationSet func (c *SESV2) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput) (req *request.Request, output *DeleteConfigurationSetOutput) { @@ -1162,17 +1161,18 @@ func (c *SESV2) DeleteConfigurationSetRequest(input *DeleteConfigurationSetInput // API operation DeleteConfigurationSet for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteConfigurationSet func (c *SESV2) DeleteConfigurationSet(input *DeleteConfigurationSetInput) (*DeleteConfigurationSetOutput, error) { @@ -1212,14 +1212,13 @@ const opDeleteConfigurationSetEventDestination = "DeleteConfigurationSetEventDes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConfigurationSetEventDestinationRequest method. +// req, resp := client.DeleteConfigurationSetEventDestinationRequest(params) // -// // Example sending a request using the DeleteConfigurationSetEventDestinationRequest method. -// req, resp := client.DeleteConfigurationSetEventDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteConfigurationSetEventDestination func (c *SESV2) DeleteConfigurationSetEventDestinationRequest(input *DeleteConfigurationSetEventDestinationInput) (req *request.Request, output *DeleteConfigurationSetEventDestinationOutput) { @@ -1257,14 +1256,15 @@ func (c *SESV2) DeleteConfigurationSetEventDestinationRequest(input *DeleteConfi // API operation DeleteConfigurationSetEventDestination for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteConfigurationSetEventDestination func (c *SESV2) DeleteConfigurationSetEventDestination(input *DeleteConfigurationSetEventDestinationInput) (*DeleteConfigurationSetEventDestinationOutput, error) { @@ -1304,14 +1304,13 @@ const opDeleteContact = "DeleteContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteContactRequest method. +// req, resp := client.DeleteContactRequest(params) // -// // Example sending a request using the DeleteContactRequest method. -// req, resp := client.DeleteContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteContact func (c *SESV2) DeleteContactRequest(input *DeleteContactInput) (req *request.Request, output *DeleteContactOutput) { @@ -1343,14 +1342,15 @@ func (c *SESV2) DeleteContactRequest(input *DeleteContactInput) (req *request.Re // API operation DeleteContact for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - BadRequestException +// The input you provided is invalid. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteContact func (c *SESV2) DeleteContact(input *DeleteContactInput) (*DeleteContactOutput, error) { @@ -1390,14 +1390,13 @@ const opDeleteContactList = "DeleteContactList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteContactListRequest method. +// req, resp := client.DeleteContactListRequest(params) // -// // Example sending a request using the DeleteContactListRequest method. -// req, resp := client.DeleteContactListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteContactList func (c *SESV2) DeleteContactListRequest(input *DeleteContactListInput) (req *request.Request, output *DeleteContactListOutput) { @@ -1429,17 +1428,18 @@ func (c *SESV2) DeleteContactListRequest(input *DeleteContactListInput) (req *re // API operation DeleteContactList for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteContactList func (c *SESV2) DeleteContactList(input *DeleteContactListInput) (*DeleteContactListOutput, error) { @@ -1479,14 +1479,13 @@ const opDeleteCustomVerificationEmailTemplate = "DeleteCustomVerificationEmailTe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomVerificationEmailTemplateRequest method. +// req, resp := client.DeleteCustomVerificationEmailTemplateRequest(params) // -// // Example sending a request using the DeleteCustomVerificationEmailTemplateRequest method. -// req, resp := client.DeleteCustomVerificationEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteCustomVerificationEmailTemplate func (c *SESV2) DeleteCustomVerificationEmailTemplateRequest(input *DeleteCustomVerificationEmailTemplateInput) (req *request.Request, output *DeleteCustomVerificationEmailTemplateOutput) { @@ -1524,14 +1523,15 @@ func (c *SESV2) DeleteCustomVerificationEmailTemplateRequest(input *DeleteCustom // API operation DeleteCustomVerificationEmailTemplate for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteCustomVerificationEmailTemplate func (c *SESV2) DeleteCustomVerificationEmailTemplate(input *DeleteCustomVerificationEmailTemplateInput) (*DeleteCustomVerificationEmailTemplateOutput, error) { @@ -1571,14 +1571,13 @@ const opDeleteDedicatedIpPool = "DeleteDedicatedIpPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDedicatedIpPoolRequest method. +// req, resp := client.DeleteDedicatedIpPoolRequest(params) // -// // Example sending a request using the DeleteDedicatedIpPoolRequest method. -// req, resp := client.DeleteDedicatedIpPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteDedicatedIpPool func (c *SESV2) DeleteDedicatedIpPoolRequest(input *DeleteDedicatedIpPoolInput) (req *request.Request, output *DeleteDedicatedIpPoolOutput) { @@ -1610,17 +1609,18 @@ func (c *SESV2) DeleteDedicatedIpPoolRequest(input *DeleteDedicatedIpPoolInput) // API operation DeleteDedicatedIpPool for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - BadRequestException +// The input you provided is invalid. +// +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteDedicatedIpPool func (c *SESV2) DeleteDedicatedIpPool(input *DeleteDedicatedIpPoolInput) (*DeleteDedicatedIpPoolOutput, error) { @@ -1660,14 +1660,13 @@ const opDeleteEmailIdentity = "DeleteEmailIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEmailIdentityRequest method. +// req, resp := client.DeleteEmailIdentityRequest(params) // -// // Example sending a request using the DeleteEmailIdentityRequest method. -// req, resp := client.DeleteEmailIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailIdentity func (c *SESV2) DeleteEmailIdentityRequest(input *DeleteEmailIdentityInput) (req *request.Request, output *DeleteEmailIdentityOutput) { @@ -1700,17 +1699,18 @@ func (c *SESV2) DeleteEmailIdentityRequest(input *DeleteEmailIdentityInput) (req // API operation DeleteEmailIdentity for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailIdentity func (c *SESV2) DeleteEmailIdentity(input *DeleteEmailIdentityInput) (*DeleteEmailIdentityOutput, error) { @@ -1750,14 +1750,13 @@ const opDeleteEmailIdentityPolicy = "DeleteEmailIdentityPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEmailIdentityPolicyRequest method. +// req, resp := client.DeleteEmailIdentityPolicyRequest(params) // -// // Example sending a request using the DeleteEmailIdentityPolicyRequest method. -// req, resp := client.DeleteEmailIdentityPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailIdentityPolicy func (c *SESV2) DeleteEmailIdentityPolicyRequest(input *DeleteEmailIdentityPolicyInput) (req *request.Request, output *DeleteEmailIdentityPolicyOutput) { @@ -1800,14 +1799,15 @@ func (c *SESV2) DeleteEmailIdentityPolicyRequest(input *DeleteEmailIdentityPolic // API operation DeleteEmailIdentityPolicy for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailIdentityPolicy func (c *SESV2) DeleteEmailIdentityPolicy(input *DeleteEmailIdentityPolicyInput) (*DeleteEmailIdentityPolicyOutput, error) { @@ -1847,14 +1847,13 @@ const opDeleteEmailTemplate = "DeleteEmailTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEmailTemplateRequest method. +// req, resp := client.DeleteEmailTemplateRequest(params) // -// // Example sending a request using the DeleteEmailTemplateRequest method. -// req, resp := client.DeleteEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailTemplate func (c *SESV2) DeleteEmailTemplateRequest(input *DeleteEmailTemplateInput) (req *request.Request, output *DeleteEmailTemplateOutput) { @@ -1888,14 +1887,15 @@ func (c *SESV2) DeleteEmailTemplateRequest(input *DeleteEmailTemplateInput) (req // API operation DeleteEmailTemplate for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteEmailTemplate func (c *SESV2) DeleteEmailTemplate(input *DeleteEmailTemplateInput) (*DeleteEmailTemplateOutput, error) { @@ -1935,14 +1935,13 @@ const opDeleteSuppressedDestination = "DeleteSuppressedDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSuppressedDestinationRequest method. +// req, resp := client.DeleteSuppressedDestinationRequest(params) // -// // Example sending a request using the DeleteSuppressedDestinationRequest method. -// req, resp := client.DeleteSuppressedDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteSuppressedDestination func (c *SESV2) DeleteSuppressedDestinationRequest(input *DeleteSuppressedDestinationInput) (req *request.Request, output *DeleteSuppressedDestinationOutput) { @@ -1974,14 +1973,15 @@ func (c *SESV2) DeleteSuppressedDestinationRequest(input *DeleteSuppressedDestin // API operation DeleteSuppressedDestination for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - BadRequestException +// The input you provided is invalid. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - TooManyRequestsException +// Too many requests have been made to the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/DeleteSuppressedDestination func (c *SESV2) DeleteSuppressedDestination(input *DeleteSuppressedDestinationInput) (*DeleteSuppressedDestinationOutput, error) { @@ -2021,14 +2021,13 @@ const opGetAccount = "GetAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccountRequest method. +// req, resp := client.GetAccountRequest(params) // -// // Example sending a request using the GetAccountRequest method. -// req, resp := client.GetAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetAccount func (c *SESV2) GetAccountRequest(input *GetAccountInput) (req *request.Request, output *GetAccountOutput) { @@ -2060,11 +2059,12 @@ func (c *SESV2) GetAccountRequest(input *GetAccountInput) (req *request.Request, // API operation GetAccount for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetAccount func (c *SESV2) GetAccount(input *GetAccountInput) (*GetAccountOutput, error) { @@ -2104,14 +2104,13 @@ const opGetBlacklistReports = "GetBlacklistReports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBlacklistReportsRequest method. +// req, resp := client.GetBlacklistReportsRequest(params) // -// // Example sending a request using the GetBlacklistReportsRequest method. -// req, resp := client.GetBlacklistReportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetBlacklistReports func (c *SESV2) GetBlacklistReportsRequest(input *GetBlacklistReportsInput) (req *request.Request, output *GetBlacklistReportsOutput) { @@ -2143,14 +2142,15 @@ func (c *SESV2) GetBlacklistReportsRequest(input *GetBlacklistReportsInput) (req // API operation GetBlacklistReports for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetBlacklistReports func (c *SESV2) GetBlacklistReports(input *GetBlacklistReportsInput) (*GetBlacklistReportsOutput, error) { @@ -2190,14 +2190,13 @@ const opGetConfigurationSet = "GetConfigurationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConfigurationSetRequest method. +// req, resp := client.GetConfigurationSetRequest(params) // -// // Example sending a request using the GetConfigurationSetRequest method. -// req, resp := client.GetConfigurationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetConfigurationSet func (c *SESV2) GetConfigurationSetRequest(input *GetConfigurationSetInput) (req *request.Request, output *GetConfigurationSetOutput) { @@ -2236,14 +2235,15 @@ func (c *SESV2) GetConfigurationSetRequest(input *GetConfigurationSetInput) (req // API operation GetConfigurationSet for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetConfigurationSet func (c *SESV2) GetConfigurationSet(input *GetConfigurationSetInput) (*GetConfigurationSetOutput, error) { @@ -2283,14 +2283,13 @@ const opGetConfigurationSetEventDestinations = "GetConfigurationSetEventDestinat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConfigurationSetEventDestinationsRequest method. +// req, resp := client.GetConfigurationSetEventDestinationsRequest(params) // -// // Example sending a request using the GetConfigurationSetEventDestinationsRequest method. -// req, resp := client.GetConfigurationSetEventDestinationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetConfigurationSetEventDestinations func (c *SESV2) GetConfigurationSetEventDestinationsRequest(input *GetConfigurationSetEventDestinationsInput) (req *request.Request, output *GetConfigurationSetEventDestinationsOutput) { @@ -2328,14 +2327,15 @@ func (c *SESV2) GetConfigurationSetEventDestinationsRequest(input *GetConfigurat // API operation GetConfigurationSetEventDestinations for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetConfigurationSetEventDestinations func (c *SESV2) GetConfigurationSetEventDestinations(input *GetConfigurationSetEventDestinationsInput) (*GetConfigurationSetEventDestinationsOutput, error) { @@ -2375,14 +2375,13 @@ const opGetContact = "GetContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContactRequest method. +// req, resp := client.GetContactRequest(params) // -// // Example sending a request using the GetContactRequest method. -// req, resp := client.GetContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetContact func (c *SESV2) GetContactRequest(input *GetContactInput) (req *request.Request, output *GetContactOutput) { @@ -2413,14 +2412,15 @@ func (c *SESV2) GetContactRequest(input *GetContactInput) (req *request.Request, // API operation GetContact for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - BadRequestException +// The input you provided is invalid. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetContact func (c *SESV2) GetContact(input *GetContactInput) (*GetContactOutput, error) { @@ -2460,14 +2460,13 @@ const opGetContactList = "GetContactList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContactListRequest method. +// req, resp := client.GetContactListRequest(params) // -// // Example sending a request using the GetContactListRequest method. -// req, resp := client.GetContactListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetContactList func (c *SESV2) GetContactListRequest(input *GetContactListInput) (req *request.Request, output *GetContactListOutput) { @@ -2499,14 +2498,15 @@ func (c *SESV2) GetContactListRequest(input *GetContactListInput) (req *request. // API operation GetContactList for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetContactList func (c *SESV2) GetContactList(input *GetContactListInput) (*GetContactListOutput, error) { @@ -2546,14 +2546,13 @@ const opGetCustomVerificationEmailTemplate = "GetCustomVerificationEmailTemplate // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCustomVerificationEmailTemplateRequest method. +// req, resp := client.GetCustomVerificationEmailTemplateRequest(params) // -// // Example sending a request using the GetCustomVerificationEmailTemplateRequest method. -// req, resp := client.GetCustomVerificationEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetCustomVerificationEmailTemplate func (c *SESV2) GetCustomVerificationEmailTemplateRequest(input *GetCustomVerificationEmailTemplateInput) (req *request.Request, output *GetCustomVerificationEmailTemplateOutput) { @@ -2591,14 +2590,15 @@ func (c *SESV2) GetCustomVerificationEmailTemplateRequest(input *GetCustomVerifi // API operation GetCustomVerificationEmailTemplate for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetCustomVerificationEmailTemplate func (c *SESV2) GetCustomVerificationEmailTemplate(input *GetCustomVerificationEmailTemplateInput) (*GetCustomVerificationEmailTemplateOutput, error) { @@ -2638,14 +2638,13 @@ const opGetDedicatedIp = "GetDedicatedIp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDedicatedIpRequest method. +// req, resp := client.GetDedicatedIpRequest(params) // -// // Example sending a request using the GetDedicatedIpRequest method. -// req, resp := client.GetDedicatedIpRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDedicatedIp func (c *SESV2) GetDedicatedIpRequest(input *GetDedicatedIpInput) (req *request.Request, output *GetDedicatedIpOutput) { @@ -2678,14 +2677,15 @@ func (c *SESV2) GetDedicatedIpRequest(input *GetDedicatedIpInput) (req *request. // API operation GetDedicatedIp for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDedicatedIp func (c *SESV2) GetDedicatedIp(input *GetDedicatedIpInput) (*GetDedicatedIpOutput, error) { @@ -2725,14 +2725,13 @@ const opGetDedicatedIps = "GetDedicatedIps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDedicatedIpsRequest method. +// req, resp := client.GetDedicatedIpsRequest(params) // -// // Example sending a request using the GetDedicatedIpsRequest method. -// req, resp := client.GetDedicatedIpsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDedicatedIps func (c *SESV2) GetDedicatedIpsRequest(input *GetDedicatedIpsInput) (req *request.Request, output *GetDedicatedIpsOutput) { @@ -2770,14 +2769,15 @@ func (c *SESV2) GetDedicatedIpsRequest(input *GetDedicatedIpsInput) (req *reques // API operation GetDedicatedIps for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDedicatedIps func (c *SESV2) GetDedicatedIps(input *GetDedicatedIpsInput) (*GetDedicatedIpsOutput, error) { @@ -2809,15 +2809,14 @@ func (c *SESV2) GetDedicatedIpsWithContext(ctx aws.Context, input *GetDedicatedI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetDedicatedIps operation. -// pageNum := 0 -// err := client.GetDedicatedIpsPages(params, -// func(page *sesv2.GetDedicatedIpsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetDedicatedIps operation. +// pageNum := 0 +// err := client.GetDedicatedIpsPages(params, +// func(page *sesv2.GetDedicatedIpsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SESV2) GetDedicatedIpsPages(input *GetDedicatedIpsInput, fn func(*GetDedicatedIpsOutput, bool) bool) error { return c.GetDedicatedIpsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2869,14 +2868,13 @@ const opGetDeliverabilityDashboardOptions = "GetDeliverabilityDashboardOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeliverabilityDashboardOptionsRequest method. +// req, resp := client.GetDeliverabilityDashboardOptionsRequest(params) // -// // Example sending a request using the GetDeliverabilityDashboardOptionsRequest method. -// req, resp := client.GetDeliverabilityDashboardOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDeliverabilityDashboardOptions func (c *SESV2) GetDeliverabilityDashboardOptionsRequest(input *GetDeliverabilityDashboardOptionsInput) (req *request.Request, output *GetDeliverabilityDashboardOptionsOutput) { @@ -2917,14 +2915,15 @@ func (c *SESV2) GetDeliverabilityDashboardOptionsRequest(input *GetDeliverabilit // API operation GetDeliverabilityDashboardOptions for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDeliverabilityDashboardOptions func (c *SESV2) GetDeliverabilityDashboardOptions(input *GetDeliverabilityDashboardOptionsInput) (*GetDeliverabilityDashboardOptionsOutput, error) { @@ -2964,14 +2963,13 @@ const opGetDeliverabilityTestReport = "GetDeliverabilityTestReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeliverabilityTestReportRequest method. +// req, resp := client.GetDeliverabilityTestReportRequest(params) // -// // Example sending a request using the GetDeliverabilityTestReportRequest method. -// req, resp := client.GetDeliverabilityTestReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDeliverabilityTestReport func (c *SESV2) GetDeliverabilityTestReportRequest(input *GetDeliverabilityTestReportInput) (req *request.Request, output *GetDeliverabilityTestReportOutput) { @@ -3002,14 +3000,15 @@ func (c *SESV2) GetDeliverabilityTestReportRequest(input *GetDeliverabilityTestR // API operation GetDeliverabilityTestReport for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDeliverabilityTestReport func (c *SESV2) GetDeliverabilityTestReport(input *GetDeliverabilityTestReportInput) (*GetDeliverabilityTestReportOutput, error) { @@ -3049,14 +3048,13 @@ const opGetDomainDeliverabilityCampaign = "GetDomainDeliverabilityCampaign" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainDeliverabilityCampaignRequest method. +// req, resp := client.GetDomainDeliverabilityCampaignRequest(params) // -// // Example sending a request using the GetDomainDeliverabilityCampaignRequest method. -// req, resp := client.GetDomainDeliverabilityCampaignRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDomainDeliverabilityCampaign func (c *SESV2) GetDomainDeliverabilityCampaignRequest(input *GetDomainDeliverabilityCampaignInput) (req *request.Request, output *GetDomainDeliverabilityCampaignOutput) { @@ -3089,14 +3087,15 @@ func (c *SESV2) GetDomainDeliverabilityCampaignRequest(input *GetDomainDeliverab // API operation GetDomainDeliverabilityCampaign for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - BadRequestException +// The input you provided is invalid. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDomainDeliverabilityCampaign func (c *SESV2) GetDomainDeliverabilityCampaign(input *GetDomainDeliverabilityCampaignInput) (*GetDomainDeliverabilityCampaignOutput, error) { @@ -3136,14 +3135,13 @@ const opGetDomainStatisticsReport = "GetDomainStatisticsReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDomainStatisticsReportRequest method. +// req, resp := client.GetDomainStatisticsReportRequest(params) // -// // Example sending a request using the GetDomainStatisticsReportRequest method. -// req, resp := client.GetDomainStatisticsReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDomainStatisticsReport func (c *SESV2) GetDomainStatisticsReportRequest(input *GetDomainStatisticsReportInput) (req *request.Request, output *GetDomainStatisticsReportOutput) { @@ -3175,14 +3173,15 @@ func (c *SESV2) GetDomainStatisticsReportRequest(input *GetDomainStatisticsRepor // API operation GetDomainStatisticsReport for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetDomainStatisticsReport func (c *SESV2) GetDomainStatisticsReport(input *GetDomainStatisticsReportInput) (*GetDomainStatisticsReportOutput, error) { @@ -3222,14 +3221,13 @@ const opGetEmailIdentity = "GetEmailIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEmailIdentityRequest method. +// req, resp := client.GetEmailIdentityRequest(params) // -// // Example sending a request using the GetEmailIdentityRequest method. -// req, resp := client.GetEmailIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentity func (c *SESV2) GetEmailIdentityRequest(input *GetEmailIdentityInput) (req *request.Request, output *GetEmailIdentityOutput) { @@ -3262,14 +3260,15 @@ func (c *SESV2) GetEmailIdentityRequest(input *GetEmailIdentityInput) (req *requ // API operation GetEmailIdentity for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentity func (c *SESV2) GetEmailIdentity(input *GetEmailIdentityInput) (*GetEmailIdentityOutput, error) { @@ -3309,14 +3308,13 @@ const opGetEmailIdentityPolicies = "GetEmailIdentityPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEmailIdentityPoliciesRequest method. +// req, resp := client.GetEmailIdentityPoliciesRequest(params) // -// // Example sending a request using the GetEmailIdentityPoliciesRequest method. -// req, resp := client.GetEmailIdentityPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentityPolicies func (c *SESV2) GetEmailIdentityPoliciesRequest(input *GetEmailIdentityPoliciesInput) (req *request.Request, output *GetEmailIdentityPoliciesOutput) { @@ -3359,14 +3357,15 @@ func (c *SESV2) GetEmailIdentityPoliciesRequest(input *GetEmailIdentityPoliciesI // API operation GetEmailIdentityPolicies for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailIdentityPolicies func (c *SESV2) GetEmailIdentityPolicies(input *GetEmailIdentityPoliciesInput) (*GetEmailIdentityPoliciesOutput, error) { @@ -3406,14 +3405,13 @@ const opGetEmailTemplate = "GetEmailTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEmailTemplateRequest method. +// req, resp := client.GetEmailTemplateRequest(params) // -// // Example sending a request using the GetEmailTemplateRequest method. -// req, resp := client.GetEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailTemplate func (c *SESV2) GetEmailTemplateRequest(input *GetEmailTemplateInput) (req *request.Request, output *GetEmailTemplateOutput) { @@ -3447,14 +3445,15 @@ func (c *SESV2) GetEmailTemplateRequest(input *GetEmailTemplateInput) (req *requ // API operation GetEmailTemplate for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetEmailTemplate func (c *SESV2) GetEmailTemplate(input *GetEmailTemplateInput) (*GetEmailTemplateOutput, error) { @@ -3494,14 +3493,13 @@ const opGetImportJob = "GetImportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetImportJobRequest method. +// req, resp := client.GetImportJobRequest(params) // -// // Example sending a request using the GetImportJobRequest method. -// req, resp := client.GetImportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetImportJob func (c *SESV2) GetImportJobRequest(input *GetImportJobInput) (req *request.Request, output *GetImportJobOutput) { @@ -3532,14 +3530,15 @@ func (c *SESV2) GetImportJobRequest(input *GetImportJobInput) (req *request.Requ // API operation GetImportJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - BadRequestException +// The input you provided is invalid. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - TooManyRequestsException +// Too many requests have been made to the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetImportJob func (c *SESV2) GetImportJob(input *GetImportJobInput) (*GetImportJobOutput, error) { @@ -3579,14 +3578,13 @@ const opGetSuppressedDestination = "GetSuppressedDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSuppressedDestinationRequest method. +// req, resp := client.GetSuppressedDestinationRequest(params) // -// // Example sending a request using the GetSuppressedDestinationRequest method. -// req, resp := client.GetSuppressedDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetSuppressedDestination func (c *SESV2) GetSuppressedDestinationRequest(input *GetSuppressedDestinationInput) (req *request.Request, output *GetSuppressedDestinationOutput) { @@ -3618,14 +3616,15 @@ func (c *SESV2) GetSuppressedDestinationRequest(input *GetSuppressedDestinationI // API operation GetSuppressedDestination for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - BadRequestException +// The input you provided is invalid. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/GetSuppressedDestination func (c *SESV2) GetSuppressedDestination(input *GetSuppressedDestinationInput) (*GetSuppressedDestinationOutput, error) { @@ -3665,14 +3664,13 @@ const opListConfigurationSets = "ListConfigurationSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListConfigurationSetsRequest method. +// req, resp := client.ListConfigurationSetsRequest(params) // -// // Example sending a request using the ListConfigurationSetsRequest method. -// req, resp := client.ListConfigurationSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListConfigurationSets func (c *SESV2) ListConfigurationSetsRequest(input *ListConfigurationSetsInput) (req *request.Request, output *ListConfigurationSetsOutput) { @@ -3716,11 +3714,12 @@ func (c *SESV2) ListConfigurationSetsRequest(input *ListConfigurationSetsInput) // API operation ListConfigurationSets for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListConfigurationSets func (c *SESV2) ListConfigurationSets(input *ListConfigurationSetsInput) (*ListConfigurationSetsOutput, error) { @@ -3752,15 +3751,14 @@ func (c *SESV2) ListConfigurationSetsWithContext(ctx aws.Context, input *ListCon // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListConfigurationSets operation. -// pageNum := 0 -// err := client.ListConfigurationSetsPages(params, -// func(page *sesv2.ListConfigurationSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListConfigurationSets operation. +// pageNum := 0 +// err := client.ListConfigurationSetsPages(params, +// func(page *sesv2.ListConfigurationSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SESV2) ListConfigurationSetsPages(input *ListConfigurationSetsInput, fn func(*ListConfigurationSetsOutput, bool) bool) error { return c.ListConfigurationSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3812,14 +3810,13 @@ const opListContactLists = "ListContactLists" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListContactListsRequest method. +// req, resp := client.ListContactListsRequest(params) // -// // Example sending a request using the ListContactListsRequest method. -// req, resp := client.ListContactListsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListContactLists func (c *SESV2) ListContactListsRequest(input *ListContactListsInput) (req *request.Request, output *ListContactListsOutput) { @@ -3856,11 +3853,12 @@ func (c *SESV2) ListContactListsRequest(input *ListContactListsInput) (req *requ // API operation ListContactLists for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - BadRequestException +// The input you provided is invalid. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListContactLists func (c *SESV2) ListContactLists(input *ListContactListsInput) (*ListContactListsOutput, error) { @@ -3892,15 +3890,14 @@ func (c *SESV2) ListContactListsWithContext(ctx aws.Context, input *ListContactL // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListContactLists operation. -// pageNum := 0 -// err := client.ListContactListsPages(params, -// func(page *sesv2.ListContactListsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListContactLists operation. +// pageNum := 0 +// err := client.ListContactListsPages(params, +// func(page *sesv2.ListContactListsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SESV2) ListContactListsPages(input *ListContactListsInput, fn func(*ListContactListsOutput, bool) bool) error { return c.ListContactListsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3952,14 +3949,13 @@ const opListContacts = "ListContacts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListContactsRequest method. +// req, resp := client.ListContactsRequest(params) // -// // Example sending a request using the ListContactsRequest method. -// req, resp := client.ListContactsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListContacts func (c *SESV2) ListContactsRequest(input *ListContactsInput) (req *request.Request, output *ListContactsOutput) { @@ -3996,14 +3992,15 @@ func (c *SESV2) ListContactsRequest(input *ListContactsInput) (req *request.Requ // API operation ListContacts for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - BadRequestException +// The input you provided is invalid. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListContacts func (c *SESV2) ListContacts(input *ListContactsInput) (*ListContactsOutput, error) { @@ -4035,15 +4032,14 @@ func (c *SESV2) ListContactsWithContext(ctx aws.Context, input *ListContactsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListContacts operation. -// pageNum := 0 -// err := client.ListContactsPages(params, -// func(page *sesv2.ListContactsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListContacts operation. +// pageNum := 0 +// err := client.ListContactsPages(params, +// func(page *sesv2.ListContactsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SESV2) ListContactsPages(input *ListContactsInput, fn func(*ListContactsOutput, bool) bool) error { return c.ListContactsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4095,14 +4091,13 @@ const opListCustomVerificationEmailTemplates = "ListCustomVerificationEmailTempl // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCustomVerificationEmailTemplatesRequest method. +// req, resp := client.ListCustomVerificationEmailTemplatesRequest(params) // -// // Example sending a request using the ListCustomVerificationEmailTemplatesRequest method. -// req, resp := client.ListCustomVerificationEmailTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListCustomVerificationEmailTemplates func (c *SESV2) ListCustomVerificationEmailTemplatesRequest(input *ListCustomVerificationEmailTemplatesInput) (req *request.Request, output *ListCustomVerificationEmailTemplatesOutput) { @@ -4146,11 +4141,12 @@ func (c *SESV2) ListCustomVerificationEmailTemplatesRequest(input *ListCustomVer // API operation ListCustomVerificationEmailTemplates for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListCustomVerificationEmailTemplates func (c *SESV2) ListCustomVerificationEmailTemplates(input *ListCustomVerificationEmailTemplatesInput) (*ListCustomVerificationEmailTemplatesOutput, error) { @@ -4182,15 +4178,14 @@ func (c *SESV2) ListCustomVerificationEmailTemplatesWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCustomVerificationEmailTemplates operation. -// pageNum := 0 -// err := client.ListCustomVerificationEmailTemplatesPages(params, -// func(page *sesv2.ListCustomVerificationEmailTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCustomVerificationEmailTemplates operation. +// pageNum := 0 +// err := client.ListCustomVerificationEmailTemplatesPages(params, +// func(page *sesv2.ListCustomVerificationEmailTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SESV2) ListCustomVerificationEmailTemplatesPages(input *ListCustomVerificationEmailTemplatesInput, fn func(*ListCustomVerificationEmailTemplatesOutput, bool) bool) error { return c.ListCustomVerificationEmailTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4242,14 +4237,13 @@ const opListDedicatedIpPools = "ListDedicatedIpPools" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDedicatedIpPoolsRequest method. +// req, resp := client.ListDedicatedIpPoolsRequest(params) // -// // Example sending a request using the ListDedicatedIpPoolsRequest method. -// req, resp := client.ListDedicatedIpPoolsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListDedicatedIpPools func (c *SESV2) ListDedicatedIpPoolsRequest(input *ListDedicatedIpPoolsInput) (req *request.Request, output *ListDedicatedIpPoolsOutput) { @@ -4287,11 +4281,12 @@ func (c *SESV2) ListDedicatedIpPoolsRequest(input *ListDedicatedIpPoolsInput) (r // API operation ListDedicatedIpPools for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListDedicatedIpPools func (c *SESV2) ListDedicatedIpPools(input *ListDedicatedIpPoolsInput) (*ListDedicatedIpPoolsOutput, error) { @@ -4323,15 +4318,14 @@ func (c *SESV2) ListDedicatedIpPoolsWithContext(ctx aws.Context, input *ListDedi // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDedicatedIpPools operation. -// pageNum := 0 -// err := client.ListDedicatedIpPoolsPages(params, -// func(page *sesv2.ListDedicatedIpPoolsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDedicatedIpPools operation. +// pageNum := 0 +// err := client.ListDedicatedIpPoolsPages(params, +// func(page *sesv2.ListDedicatedIpPoolsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SESV2) ListDedicatedIpPoolsPages(input *ListDedicatedIpPoolsInput, fn func(*ListDedicatedIpPoolsOutput, bool) bool) error { return c.ListDedicatedIpPoolsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4383,14 +4377,13 @@ const opListDeliverabilityTestReports = "ListDeliverabilityTestReports" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeliverabilityTestReportsRequest method. +// req, resp := client.ListDeliverabilityTestReportsRequest(params) // -// // Example sending a request using the ListDeliverabilityTestReportsRequest method. -// req, resp := client.ListDeliverabilityTestReportsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListDeliverabilityTestReports func (c *SESV2) ListDeliverabilityTestReportsRequest(input *ListDeliverabilityTestReportsInput) (req *request.Request, output *ListDeliverabilityTestReportsOutput) { @@ -4430,14 +4423,15 @@ func (c *SESV2) ListDeliverabilityTestReportsRequest(input *ListDeliverabilityTe // API operation ListDeliverabilityTestReports for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListDeliverabilityTestReports func (c *SESV2) ListDeliverabilityTestReports(input *ListDeliverabilityTestReportsInput) (*ListDeliverabilityTestReportsOutput, error) { @@ -4469,15 +4463,14 @@ func (c *SESV2) ListDeliverabilityTestReportsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDeliverabilityTestReports operation. -// pageNum := 0 -// err := client.ListDeliverabilityTestReportsPages(params, -// func(page *sesv2.ListDeliverabilityTestReportsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDeliverabilityTestReports operation. +// pageNum := 0 +// err := client.ListDeliverabilityTestReportsPages(params, +// func(page *sesv2.ListDeliverabilityTestReportsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SESV2) ListDeliverabilityTestReportsPages(input *ListDeliverabilityTestReportsInput, fn func(*ListDeliverabilityTestReportsOutput, bool) bool) error { return c.ListDeliverabilityTestReportsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4529,14 +4522,13 @@ const opListDomainDeliverabilityCampaigns = "ListDomainDeliverabilityCampaigns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainDeliverabilityCampaignsRequest method. +// req, resp := client.ListDomainDeliverabilityCampaignsRequest(params) // -// // Example sending a request using the ListDomainDeliverabilityCampaignsRequest method. -// req, resp := client.ListDomainDeliverabilityCampaignsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListDomainDeliverabilityCampaigns func (c *SESV2) ListDomainDeliverabilityCampaignsRequest(input *ListDomainDeliverabilityCampaignsInput) (req *request.Request, output *ListDomainDeliverabilityCampaignsOutput) { @@ -4575,14 +4567,15 @@ func (c *SESV2) ListDomainDeliverabilityCampaignsRequest(input *ListDomainDelive // API operation ListDomainDeliverabilityCampaigns for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - BadRequestException +// The input you provided is invalid. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListDomainDeliverabilityCampaigns func (c *SESV2) ListDomainDeliverabilityCampaigns(input *ListDomainDeliverabilityCampaignsInput) (*ListDomainDeliverabilityCampaignsOutput, error) { @@ -4614,15 +4607,14 @@ func (c *SESV2) ListDomainDeliverabilityCampaignsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDomainDeliverabilityCampaigns operation. -// pageNum := 0 -// err := client.ListDomainDeliverabilityCampaignsPages(params, -// func(page *sesv2.ListDomainDeliverabilityCampaignsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDomainDeliverabilityCampaigns operation. +// pageNum := 0 +// err := client.ListDomainDeliverabilityCampaignsPages(params, +// func(page *sesv2.ListDomainDeliverabilityCampaignsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SESV2) ListDomainDeliverabilityCampaignsPages(input *ListDomainDeliverabilityCampaignsInput, fn func(*ListDomainDeliverabilityCampaignsOutput, bool) bool) error { return c.ListDomainDeliverabilityCampaignsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4674,14 +4666,13 @@ const opListEmailIdentities = "ListEmailIdentities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEmailIdentitiesRequest method. +// req, resp := client.ListEmailIdentitiesRequest(params) // -// // Example sending a request using the ListEmailIdentitiesRequest method. -// req, resp := client.ListEmailIdentitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListEmailIdentities func (c *SESV2) ListEmailIdentitiesRequest(input *ListEmailIdentitiesInput) (req *request.Request, output *ListEmailIdentitiesOutput) { @@ -4722,11 +4713,12 @@ func (c *SESV2) ListEmailIdentitiesRequest(input *ListEmailIdentitiesInput) (req // API operation ListEmailIdentities for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListEmailIdentities func (c *SESV2) ListEmailIdentities(input *ListEmailIdentitiesInput) (*ListEmailIdentitiesOutput, error) { @@ -4758,15 +4750,14 @@ func (c *SESV2) ListEmailIdentitiesWithContext(ctx aws.Context, input *ListEmail // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEmailIdentities operation. -// pageNum := 0 -// err := client.ListEmailIdentitiesPages(params, -// func(page *sesv2.ListEmailIdentitiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEmailIdentities operation. +// pageNum := 0 +// err := client.ListEmailIdentitiesPages(params, +// func(page *sesv2.ListEmailIdentitiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SESV2) ListEmailIdentitiesPages(input *ListEmailIdentitiesInput, fn func(*ListEmailIdentitiesOutput, bool) bool) error { return c.ListEmailIdentitiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4818,14 +4809,13 @@ const opListEmailTemplates = "ListEmailTemplates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEmailTemplatesRequest method. +// req, resp := client.ListEmailTemplatesRequest(params) // -// // Example sending a request using the ListEmailTemplatesRequest method. -// req, resp := client.ListEmailTemplatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListEmailTemplates func (c *SESV2) ListEmailTemplatesRequest(input *ListEmailTemplatesInput) (req *request.Request, output *ListEmailTemplatesOutput) { @@ -4865,11 +4855,12 @@ func (c *SESV2) ListEmailTemplatesRequest(input *ListEmailTemplatesInput) (req * // API operation ListEmailTemplates for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListEmailTemplates func (c *SESV2) ListEmailTemplates(input *ListEmailTemplatesInput) (*ListEmailTemplatesOutput, error) { @@ -4901,15 +4892,14 @@ func (c *SESV2) ListEmailTemplatesWithContext(ctx aws.Context, input *ListEmailT // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEmailTemplates operation. -// pageNum := 0 -// err := client.ListEmailTemplatesPages(params, -// func(page *sesv2.ListEmailTemplatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEmailTemplates operation. +// pageNum := 0 +// err := client.ListEmailTemplatesPages(params, +// func(page *sesv2.ListEmailTemplatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SESV2) ListEmailTemplatesPages(input *ListEmailTemplatesInput, fn func(*ListEmailTemplatesOutput, bool) bool) error { return c.ListEmailTemplatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4961,14 +4951,13 @@ const opListImportJobs = "ListImportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListImportJobsRequest method. +// req, resp := client.ListImportJobsRequest(params) // -// // Example sending a request using the ListImportJobsRequest method. -// req, resp := client.ListImportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListImportJobs func (c *SESV2) ListImportJobsRequest(input *ListImportJobsInput) (req *request.Request, output *ListImportJobsOutput) { @@ -5005,11 +4994,12 @@ func (c *SESV2) ListImportJobsRequest(input *ListImportJobsInput) (req *request. // API operation ListImportJobs for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListImportJobs func (c *SESV2) ListImportJobs(input *ListImportJobsInput) (*ListImportJobsOutput, error) { @@ -5041,15 +5031,14 @@ func (c *SESV2) ListImportJobsWithContext(ctx aws.Context, input *ListImportJobs // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListImportJobs operation. -// pageNum := 0 -// err := client.ListImportJobsPages(params, -// func(page *sesv2.ListImportJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListImportJobs operation. +// pageNum := 0 +// err := client.ListImportJobsPages(params, +// func(page *sesv2.ListImportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SESV2) ListImportJobsPages(input *ListImportJobsInput, fn func(*ListImportJobsOutput, bool) bool) error { return c.ListImportJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5101,14 +5090,13 @@ const opListSuppressedDestinations = "ListSuppressedDestinations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSuppressedDestinationsRequest method. +// req, resp := client.ListSuppressedDestinationsRequest(params) // -// // Example sending a request using the ListSuppressedDestinationsRequest method. -// req, resp := client.ListSuppressedDestinationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListSuppressedDestinations func (c *SESV2) ListSuppressedDestinationsRequest(input *ListSuppressedDestinationsInput) (req *request.Request, output *ListSuppressedDestinationsOutput) { @@ -5146,14 +5134,15 @@ func (c *SESV2) ListSuppressedDestinationsRequest(input *ListSuppressedDestinati // API operation ListSuppressedDestinations for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - BadRequestException +// The input you provided is invalid. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * InvalidNextTokenException -// The specified request includes an invalid or expired token. +// - InvalidNextTokenException +// The specified request includes an invalid or expired token. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListSuppressedDestinations func (c *SESV2) ListSuppressedDestinations(input *ListSuppressedDestinationsInput) (*ListSuppressedDestinationsOutput, error) { @@ -5185,15 +5174,14 @@ func (c *SESV2) ListSuppressedDestinationsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSuppressedDestinations operation. -// pageNum := 0 -// err := client.ListSuppressedDestinationsPages(params, -// func(page *sesv2.ListSuppressedDestinationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSuppressedDestinations operation. +// pageNum := 0 +// err := client.ListSuppressedDestinationsPages(params, +// func(page *sesv2.ListSuppressedDestinationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SESV2) ListSuppressedDestinationsPages(input *ListSuppressedDestinationsInput, fn func(*ListSuppressedDestinationsOutput, bool) bool) error { return c.ListSuppressedDestinationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5245,14 +5233,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListTagsForResource func (c *SESV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -5288,14 +5275,15 @@ func (c *SESV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - BadRequestException +// The input you provided is invalid. +// +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - TooManyRequestsException +// Too many requests have been made to the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/ListTagsForResource func (c *SESV2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -5335,14 +5323,13 @@ const opPutAccountDedicatedIpWarmupAttributes = "PutAccountDedicatedIpWarmupAttr // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAccountDedicatedIpWarmupAttributesRequest method. +// req, resp := client.PutAccountDedicatedIpWarmupAttributesRequest(params) // -// // Example sending a request using the PutAccountDedicatedIpWarmupAttributesRequest method. -// req, resp := client.PutAccountDedicatedIpWarmupAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountDedicatedIpWarmupAttributes func (c *SESV2) PutAccountDedicatedIpWarmupAttributesRequest(input *PutAccountDedicatedIpWarmupAttributesInput) (req *request.Request, output *PutAccountDedicatedIpWarmupAttributesOutput) { @@ -5374,11 +5361,12 @@ func (c *SESV2) PutAccountDedicatedIpWarmupAttributesRequest(input *PutAccountDe // API operation PutAccountDedicatedIpWarmupAttributes for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountDedicatedIpWarmupAttributes func (c *SESV2) PutAccountDedicatedIpWarmupAttributes(input *PutAccountDedicatedIpWarmupAttributesInput) (*PutAccountDedicatedIpWarmupAttributesOutput, error) { @@ -5418,14 +5406,13 @@ const opPutAccountDetails = "PutAccountDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAccountDetailsRequest method. +// req, resp := client.PutAccountDetailsRequest(params) // -// // Example sending a request using the PutAccountDetailsRequest method. -// req, resp := client.PutAccountDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountDetails func (c *SESV2) PutAccountDetailsRequest(input *PutAccountDetailsInput) (req *request.Request, output *PutAccountDetailsOutput) { @@ -5457,14 +5444,15 @@ func (c *SESV2) PutAccountDetailsRequest(input *PutAccountDetailsInput) (req *re // API operation PutAccountDetails for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // -// * ConflictException -// If there is already an ongoing account details update under review. +// - ConflictException +// If there is already an ongoing account details update under review. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountDetails func (c *SESV2) PutAccountDetails(input *PutAccountDetailsInput) (*PutAccountDetailsOutput, error) { @@ -5504,14 +5492,13 @@ const opPutAccountSendingAttributes = "PutAccountSendingAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAccountSendingAttributesRequest method. +// req, resp := client.PutAccountSendingAttributesRequest(params) // -// // Example sending a request using the PutAccountSendingAttributesRequest method. -// req, resp := client.PutAccountSendingAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountSendingAttributes func (c *SESV2) PutAccountSendingAttributesRequest(input *PutAccountSendingAttributesInput) (req *request.Request, output *PutAccountSendingAttributesOutput) { @@ -5543,11 +5530,12 @@ func (c *SESV2) PutAccountSendingAttributesRequest(input *PutAccountSendingAttri // API operation PutAccountSendingAttributes for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountSendingAttributes func (c *SESV2) PutAccountSendingAttributes(input *PutAccountSendingAttributesInput) (*PutAccountSendingAttributesOutput, error) { @@ -5587,14 +5575,13 @@ const opPutAccountSuppressionAttributes = "PutAccountSuppressionAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAccountSuppressionAttributesRequest method. +// req, resp := client.PutAccountSuppressionAttributesRequest(params) // -// // Example sending a request using the PutAccountSuppressionAttributesRequest method. -// req, resp := client.PutAccountSuppressionAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountSuppressionAttributes func (c *SESV2) PutAccountSuppressionAttributesRequest(input *PutAccountSuppressionAttributesInput) (req *request.Request, output *PutAccountSuppressionAttributesOutput) { @@ -5626,11 +5613,12 @@ func (c *SESV2) PutAccountSuppressionAttributesRequest(input *PutAccountSuppress // API operation PutAccountSuppressionAttributes for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutAccountSuppressionAttributes func (c *SESV2) PutAccountSuppressionAttributes(input *PutAccountSuppressionAttributesInput) (*PutAccountSuppressionAttributesOutput, error) { @@ -5670,14 +5658,13 @@ const opPutConfigurationSetDeliveryOptions = "PutConfigurationSetDeliveryOptions // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutConfigurationSetDeliveryOptionsRequest method. +// req, resp := client.PutConfigurationSetDeliveryOptionsRequest(params) // -// // Example sending a request using the PutConfigurationSetDeliveryOptionsRequest method. -// req, resp := client.PutConfigurationSetDeliveryOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetDeliveryOptions func (c *SESV2) PutConfigurationSetDeliveryOptionsRequest(input *PutConfigurationSetDeliveryOptionsInput) (req *request.Request, output *PutConfigurationSetDeliveryOptionsOutput) { @@ -5711,14 +5698,15 @@ func (c *SESV2) PutConfigurationSetDeliveryOptionsRequest(input *PutConfiguratio // API operation PutConfigurationSetDeliveryOptions for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetDeliveryOptions func (c *SESV2) PutConfigurationSetDeliveryOptions(input *PutConfigurationSetDeliveryOptionsInput) (*PutConfigurationSetDeliveryOptionsOutput, error) { @@ -5758,14 +5746,13 @@ const opPutConfigurationSetReputationOptions = "PutConfigurationSetReputationOpt // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutConfigurationSetReputationOptionsRequest method. +// req, resp := client.PutConfigurationSetReputationOptionsRequest(params) // -// // Example sending a request using the PutConfigurationSetReputationOptionsRequest method. -// req, resp := client.PutConfigurationSetReputationOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetReputationOptions func (c *SESV2) PutConfigurationSetReputationOptionsRequest(input *PutConfigurationSetReputationOptionsInput) (req *request.Request, output *PutConfigurationSetReputationOptionsOutput) { @@ -5798,14 +5785,15 @@ func (c *SESV2) PutConfigurationSetReputationOptionsRequest(input *PutConfigurat // API operation PutConfigurationSetReputationOptions for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetReputationOptions func (c *SESV2) PutConfigurationSetReputationOptions(input *PutConfigurationSetReputationOptionsInput) (*PutConfigurationSetReputationOptionsOutput, error) { @@ -5845,14 +5833,13 @@ const opPutConfigurationSetSendingOptions = "PutConfigurationSetSendingOptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutConfigurationSetSendingOptionsRequest method. +// req, resp := client.PutConfigurationSetSendingOptionsRequest(params) // -// // Example sending a request using the PutConfigurationSetSendingOptionsRequest method. -// req, resp := client.PutConfigurationSetSendingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetSendingOptions func (c *SESV2) PutConfigurationSetSendingOptionsRequest(input *PutConfigurationSetSendingOptionsInput) (req *request.Request, output *PutConfigurationSetSendingOptionsOutput) { @@ -5885,14 +5872,15 @@ func (c *SESV2) PutConfigurationSetSendingOptionsRequest(input *PutConfiguration // API operation PutConfigurationSetSendingOptions for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetSendingOptions func (c *SESV2) PutConfigurationSetSendingOptions(input *PutConfigurationSetSendingOptionsInput) (*PutConfigurationSetSendingOptionsOutput, error) { @@ -5932,14 +5920,13 @@ const opPutConfigurationSetSuppressionOptions = "PutConfigurationSetSuppressionO // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutConfigurationSetSuppressionOptionsRequest method. +// req, resp := client.PutConfigurationSetSuppressionOptionsRequest(params) // -// // Example sending a request using the PutConfigurationSetSuppressionOptionsRequest method. -// req, resp := client.PutConfigurationSetSuppressionOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetSuppressionOptions func (c *SESV2) PutConfigurationSetSuppressionOptionsRequest(input *PutConfigurationSetSuppressionOptionsInput) (req *request.Request, output *PutConfigurationSetSuppressionOptionsOutput) { @@ -5971,14 +5958,15 @@ func (c *SESV2) PutConfigurationSetSuppressionOptionsRequest(input *PutConfigura // API operation PutConfigurationSetSuppressionOptions for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetSuppressionOptions func (c *SESV2) PutConfigurationSetSuppressionOptions(input *PutConfigurationSetSuppressionOptionsInput) (*PutConfigurationSetSuppressionOptionsOutput, error) { @@ -6018,14 +6006,13 @@ const opPutConfigurationSetTrackingOptions = "PutConfigurationSetTrackingOptions // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutConfigurationSetTrackingOptionsRequest method. +// req, resp := client.PutConfigurationSetTrackingOptionsRequest(params) // -// // Example sending a request using the PutConfigurationSetTrackingOptionsRequest method. -// req, resp := client.PutConfigurationSetTrackingOptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetTrackingOptions func (c *SESV2) PutConfigurationSetTrackingOptionsRequest(input *PutConfigurationSetTrackingOptionsInput) (req *request.Request, output *PutConfigurationSetTrackingOptionsOutput) { @@ -6058,14 +6045,15 @@ func (c *SESV2) PutConfigurationSetTrackingOptionsRequest(input *PutConfiguratio // API operation PutConfigurationSetTrackingOptions for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutConfigurationSetTrackingOptions func (c *SESV2) PutConfigurationSetTrackingOptions(input *PutConfigurationSetTrackingOptionsInput) (*PutConfigurationSetTrackingOptionsOutput, error) { @@ -6105,14 +6093,13 @@ const opPutDedicatedIpInPool = "PutDedicatedIpInPool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDedicatedIpInPoolRequest method. +// req, resp := client.PutDedicatedIpInPoolRequest(params) // -// // Example sending a request using the PutDedicatedIpInPoolRequest method. -// req, resp := client.PutDedicatedIpInPoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDedicatedIpInPool func (c *SESV2) PutDedicatedIpInPoolRequest(input *PutDedicatedIpInPoolInput) (req *request.Request, output *PutDedicatedIpInPoolOutput) { @@ -6150,14 +6137,15 @@ func (c *SESV2) PutDedicatedIpInPoolRequest(input *PutDedicatedIpInPoolInput) (r // API operation PutDedicatedIpInPool for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDedicatedIpInPool func (c *SESV2) PutDedicatedIpInPool(input *PutDedicatedIpInPoolInput) (*PutDedicatedIpInPoolOutput, error) { @@ -6197,14 +6185,13 @@ const opPutDedicatedIpWarmupAttributes = "PutDedicatedIpWarmupAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDedicatedIpWarmupAttributesRequest method. +// req, resp := client.PutDedicatedIpWarmupAttributesRequest(params) // -// // Example sending a request using the PutDedicatedIpWarmupAttributesRequest method. -// req, resp := client.PutDedicatedIpWarmupAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDedicatedIpWarmupAttributes func (c *SESV2) PutDedicatedIpWarmupAttributesRequest(input *PutDedicatedIpWarmupAttributesInput) (req *request.Request, output *PutDedicatedIpWarmupAttributesOutput) { @@ -6234,14 +6221,15 @@ func (c *SESV2) PutDedicatedIpWarmupAttributesRequest(input *PutDedicatedIpWarmu // API operation PutDedicatedIpWarmupAttributes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDedicatedIpWarmupAttributes func (c *SESV2) PutDedicatedIpWarmupAttributes(input *PutDedicatedIpWarmupAttributesInput) (*PutDedicatedIpWarmupAttributesOutput, error) { @@ -6281,14 +6269,13 @@ const opPutDeliverabilityDashboardOption = "PutDeliverabilityDashboardOption" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutDeliverabilityDashboardOptionRequest method. +// req, resp := client.PutDeliverabilityDashboardOptionRequest(params) // -// // Example sending a request using the PutDeliverabilityDashboardOptionRequest method. -// req, resp := client.PutDeliverabilityDashboardOptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDeliverabilityDashboardOption func (c *SESV2) PutDeliverabilityDashboardOptionRequest(input *PutDeliverabilityDashboardOptionInput) (req *request.Request, output *PutDeliverabilityDashboardOptionOutput) { @@ -6329,20 +6316,21 @@ func (c *SESV2) PutDeliverabilityDashboardOptionRequest(input *PutDeliverability // API operation PutDeliverabilityDashboardOption for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// The resource specified in your request already exists. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - AlreadyExistsException +// The resource specified in your request already exists. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - LimitExceededException +// There are too many instances of the specified resource type. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutDeliverabilityDashboardOption func (c *SESV2) PutDeliverabilityDashboardOption(input *PutDeliverabilityDashboardOptionInput) (*PutDeliverabilityDashboardOptionOutput, error) { @@ -6382,14 +6370,13 @@ const opPutEmailIdentityConfigurationSetAttributes = "PutEmailIdentityConfigurat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEmailIdentityConfigurationSetAttributesRequest method. +// req, resp := client.PutEmailIdentityConfigurationSetAttributesRequest(params) // -// // Example sending a request using the PutEmailIdentityConfigurationSetAttributesRequest method. -// req, resp := client.PutEmailIdentityConfigurationSetAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityConfigurationSetAttributes func (c *SESV2) PutEmailIdentityConfigurationSetAttributesRequest(input *PutEmailIdentityConfigurationSetAttributesInput) (req *request.Request, output *PutEmailIdentityConfigurationSetAttributesOutput) { @@ -6421,14 +6408,15 @@ func (c *SESV2) PutEmailIdentityConfigurationSetAttributesRequest(input *PutEmai // API operation PutEmailIdentityConfigurationSetAttributes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityConfigurationSetAttributes func (c *SESV2) PutEmailIdentityConfigurationSetAttributes(input *PutEmailIdentityConfigurationSetAttributesInput) (*PutEmailIdentityConfigurationSetAttributesOutput, error) { @@ -6468,14 +6456,13 @@ const opPutEmailIdentityDkimAttributes = "PutEmailIdentityDkimAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEmailIdentityDkimAttributesRequest method. +// req, resp := client.PutEmailIdentityDkimAttributesRequest(params) // -// // Example sending a request using the PutEmailIdentityDkimAttributesRequest method. -// req, resp := client.PutEmailIdentityDkimAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityDkimAttributes func (c *SESV2) PutEmailIdentityDkimAttributesRequest(input *PutEmailIdentityDkimAttributesInput) (req *request.Request, output *PutEmailIdentityDkimAttributesOutput) { @@ -6507,14 +6494,15 @@ func (c *SESV2) PutEmailIdentityDkimAttributesRequest(input *PutEmailIdentityDki // API operation PutEmailIdentityDkimAttributes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityDkimAttributes func (c *SESV2) PutEmailIdentityDkimAttributes(input *PutEmailIdentityDkimAttributesInput) (*PutEmailIdentityDkimAttributesOutput, error) { @@ -6554,14 +6542,13 @@ const opPutEmailIdentityDkimSigningAttributes = "PutEmailIdentityDkimSigningAttr // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEmailIdentityDkimSigningAttributesRequest method. +// req, resp := client.PutEmailIdentityDkimSigningAttributesRequest(params) // -// // Example sending a request using the PutEmailIdentityDkimSigningAttributesRequest method. -// req, resp := client.PutEmailIdentityDkimSigningAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityDkimSigningAttributes func (c *SESV2) PutEmailIdentityDkimSigningAttributesRequest(input *PutEmailIdentityDkimSigningAttributesInput) (req *request.Request, output *PutEmailIdentityDkimSigningAttributesOutput) { @@ -6585,18 +6572,18 @@ func (c *SESV2) PutEmailIdentityDkimSigningAttributesRequest(input *PutEmailIden // Used to configure or change the DKIM authentication settings for an email // domain identity. You can use this operation to do any of the following: // -// * Update the signing attributes for an identity that uses Bring Your Own -// DKIM (BYODKIM). +// - Update the signing attributes for an identity that uses Bring Your Own +// DKIM (BYODKIM). // -// * Update the key length that should be used for Easy DKIM. +// - Update the key length that should be used for Easy DKIM. // -// * Change from using no DKIM authentication to using Easy DKIM. +// - Change from using no DKIM authentication to using Easy DKIM. // -// * Change from using no DKIM authentication to using BYODKIM. +// - Change from using no DKIM authentication to using BYODKIM. // -// * Change from using Easy DKIM to using BYODKIM. +// - Change from using Easy DKIM to using BYODKIM. // -// * Change from using BYODKIM to using Easy DKIM. +// - Change from using BYODKIM to using Easy DKIM. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -6606,14 +6593,15 @@ func (c *SESV2) PutEmailIdentityDkimSigningAttributesRequest(input *PutEmailIden // API operation PutEmailIdentityDkimSigningAttributes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityDkimSigningAttributes func (c *SESV2) PutEmailIdentityDkimSigningAttributes(input *PutEmailIdentityDkimSigningAttributesInput) (*PutEmailIdentityDkimSigningAttributesOutput, error) { @@ -6653,14 +6641,13 @@ const opPutEmailIdentityFeedbackAttributes = "PutEmailIdentityFeedbackAttributes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEmailIdentityFeedbackAttributesRequest method. +// req, resp := client.PutEmailIdentityFeedbackAttributesRequest(params) // -// // Example sending a request using the PutEmailIdentityFeedbackAttributesRequest method. -// req, resp := client.PutEmailIdentityFeedbackAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityFeedbackAttributes func (c *SESV2) PutEmailIdentityFeedbackAttributesRequest(input *PutEmailIdentityFeedbackAttributesInput) (req *request.Request, output *PutEmailIdentityFeedbackAttributesOutput) { @@ -6703,14 +6690,15 @@ func (c *SESV2) PutEmailIdentityFeedbackAttributesRequest(input *PutEmailIdentit // API operation PutEmailIdentityFeedbackAttributes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityFeedbackAttributes func (c *SESV2) PutEmailIdentityFeedbackAttributes(input *PutEmailIdentityFeedbackAttributesInput) (*PutEmailIdentityFeedbackAttributesOutput, error) { @@ -6750,14 +6738,13 @@ const opPutEmailIdentityMailFromAttributes = "PutEmailIdentityMailFromAttributes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEmailIdentityMailFromAttributesRequest method. +// req, resp := client.PutEmailIdentityMailFromAttributesRequest(params) // -// // Example sending a request using the PutEmailIdentityMailFromAttributesRequest method. -// req, resp := client.PutEmailIdentityMailFromAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityMailFromAttributes func (c *SESV2) PutEmailIdentityMailFromAttributesRequest(input *PutEmailIdentityMailFromAttributesInput) (req *request.Request, output *PutEmailIdentityMailFromAttributesOutput) { @@ -6790,14 +6777,15 @@ func (c *SESV2) PutEmailIdentityMailFromAttributesRequest(input *PutEmailIdentit // API operation PutEmailIdentityMailFromAttributes for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutEmailIdentityMailFromAttributes func (c *SESV2) PutEmailIdentityMailFromAttributes(input *PutEmailIdentityMailFromAttributesInput) (*PutEmailIdentityMailFromAttributesOutput, error) { @@ -6837,14 +6825,13 @@ const opPutSuppressedDestination = "PutSuppressedDestination" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutSuppressedDestinationRequest method. +// req, resp := client.PutSuppressedDestinationRequest(params) // -// // Example sending a request using the PutSuppressedDestinationRequest method. -// req, resp := client.PutSuppressedDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutSuppressedDestination func (c *SESV2) PutSuppressedDestinationRequest(input *PutSuppressedDestinationInput) (req *request.Request, output *PutSuppressedDestinationOutput) { @@ -6876,11 +6863,12 @@ func (c *SESV2) PutSuppressedDestinationRequest(input *PutSuppressedDestinationI // API operation PutSuppressedDestination for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - BadRequestException +// The input you provided is invalid. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/PutSuppressedDestination func (c *SESV2) PutSuppressedDestination(input *PutSuppressedDestinationInput) (*PutSuppressedDestinationOutput, error) { @@ -6920,14 +6908,13 @@ const opSendBulkEmail = "SendBulkEmail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendBulkEmailRequest method. +// req, resp := client.SendBulkEmailRequest(params) // -// // Example sending a request using the SendBulkEmailRequest method. -// req, resp := client.SendBulkEmailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendBulkEmail func (c *SESV2) SendBulkEmailRequest(input *SendBulkEmailInput) (req *request.Request, output *SendBulkEmailOutput) { @@ -6958,31 +6945,32 @@ func (c *SESV2) SendBulkEmailRequest(input *SendBulkEmailInput) (req *request.Re // API operation SendBulkEmail for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * AccountSuspendedException -// The message can't be sent because the account's ability to send email has -// been permanently restricted. +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * SendingPausedException -// The message can't be sent because the account's ability to send email is -// currently paused. +// - AccountSuspendedException +// The message can't be sent because the account's ability to send email has +// been permanently restricted. // -// * MessageRejected -// The message can't be sent because it contains invalid content. +// - SendingPausedException +// The message can't be sent because the account's ability to send email is +// currently paused. // -// * MailFromDomainNotVerifiedException -// The message can't be sent because the sending domain isn't verified. +// - MessageRejected +// The message can't be sent because it contains invalid content. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - MailFromDomainNotVerifiedException +// The message can't be sent because the sending domain isn't verified. // -// * BadRequestException -// The input you provided is invalid. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendBulkEmail func (c *SESV2) SendBulkEmail(input *SendBulkEmailInput) (*SendBulkEmailOutput, error) { @@ -7022,14 +7010,13 @@ const opSendCustomVerificationEmail = "SendCustomVerificationEmail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendCustomVerificationEmailRequest method. +// req, resp := client.SendCustomVerificationEmailRequest(params) // -// // Example sending a request using the SendCustomVerificationEmailRequest method. -// req, resp := client.SendCustomVerificationEmailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendCustomVerificationEmail func (c *SESV2) SendCustomVerificationEmailRequest(input *SendCustomVerificationEmailInput) (req *request.Request, output *SendCustomVerificationEmailOutput) { @@ -7070,27 +7057,28 @@ func (c *SESV2) SendCustomVerificationEmailRequest(input *SendCustomVerification // API operation SendCustomVerificationEmail for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * MessageRejected -// The message can't be sent because it contains invalid content. +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * SendingPausedException -// The message can't be sent because the account's ability to send email is -// currently paused. +// - MessageRejected +// The message can't be sent because it contains invalid content. // -// * MailFromDomainNotVerifiedException -// The message can't be sent because the sending domain isn't verified. +// - SendingPausedException +// The message can't be sent because the account's ability to send email is +// currently paused. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - MailFromDomainNotVerifiedException +// The message can't be sent because the sending domain isn't verified. // -// * BadRequestException -// The input you provided is invalid. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendCustomVerificationEmail func (c *SESV2) SendCustomVerificationEmail(input *SendCustomVerificationEmailInput) (*SendCustomVerificationEmailOutput, error) { @@ -7130,14 +7118,13 @@ const opSendEmail = "SendEmail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendEmailRequest method. +// req, resp := client.SendEmailRequest(params) // -// // Example sending a request using the SendEmailRequest method. -// req, resp := client.SendEmailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendEmail func (c *SESV2) SendEmailRequest(input *SendEmailInput) (req *request.Request, output *SendEmailOutput) { @@ -7161,18 +7148,18 @@ func (c *SESV2) SendEmailRequest(input *SendEmailInput) (req *request.Request, o // Sends an email message. You can use the Amazon SES API v2 to send the following // types of messages: // -// * Simple – A standard email message. When you create this type of message, -// you specify the sender, the recipient, and the message body, and Amazon -// SES assembles the message for you. +// - Simple – A standard email message. When you create this type of message, +// you specify the sender, the recipient, and the message body, and Amazon +// SES assembles the message for you. // -// * Raw – A raw, MIME-formatted email message. When you send this type -// of email, you have to specify all of the message headers, as well as the -// message body. You can use this message type to send messages that contain -// attachments. The message that you specify has to be a valid MIME message. +// - Raw – A raw, MIME-formatted email message. When you send this type +// of email, you have to specify all of the message headers, as well as the +// message body. You can use this message type to send messages that contain +// attachments. The message that you specify has to be a valid MIME message. // -// * Templated – A message that contains personalization tags. When you -// send this type of email, Amazon SES API v2 automatically replaces the -// tags with values that you specify. +// - Templated – A message that contains personalization tags. When you +// send this type of email, Amazon SES API v2 automatically replaces the +// tags with values that you specify. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -7182,31 +7169,32 @@ func (c *SESV2) SendEmailRequest(input *SendEmailInput) (req *request.Request, o // API operation SendEmail for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// Too many requests have been made to the operation. // -// * LimitExceededException -// There are too many instances of the specified resource type. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - LimitExceededException +// There are too many instances of the specified resource type. // -// * AccountSuspendedException -// The message can't be sent because the account's ability to send email has -// been permanently restricted. +// - AccountSuspendedException +// The message can't be sent because the account's ability to send email has +// been permanently restricted. // -// * SendingPausedException -// The message can't be sent because the account's ability to send email is -// currently paused. +// - SendingPausedException +// The message can't be sent because the account's ability to send email is +// currently paused. // -// * MessageRejected -// The message can't be sent because it contains invalid content. +// - MessageRejected +// The message can't be sent because it contains invalid content. // -// * MailFromDomainNotVerifiedException -// The message can't be sent because the sending domain isn't verified. +// - MailFromDomainNotVerifiedException +// The message can't be sent because the sending domain isn't verified. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/SendEmail func (c *SESV2) SendEmail(input *SendEmailInput) (*SendEmailOutput, error) { @@ -7246,14 +7234,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/TagResource func (c *SESV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -7294,17 +7281,18 @@ func (c *SESV2) TagResourceRequest(input *TagResourceInput) (req *request.Reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - BadRequestException +// The input you provided is invalid. +// +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - TooManyRequestsException +// Too many requests have been made to the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/TagResource func (c *SESV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -7344,14 +7332,13 @@ const opTestRenderEmailTemplate = "TestRenderEmailTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestRenderEmailTemplateRequest method. +// req, resp := client.TestRenderEmailTemplateRequest(params) // -// // Example sending a request using the TestRenderEmailTemplateRequest method. -// req, resp := client.TestRenderEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/TestRenderEmailTemplate func (c *SESV2) TestRenderEmailTemplateRequest(input *TestRenderEmailTemplateInput) (req *request.Request, output *TestRenderEmailTemplateOutput) { @@ -7385,14 +7372,15 @@ func (c *SESV2) TestRenderEmailTemplateRequest(input *TestRenderEmailTemplateInp // API operation TestRenderEmailTemplate for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - TooManyRequestsException +// Too many requests have been made to the operation. +// +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/TestRenderEmailTemplate func (c *SESV2) TestRenderEmailTemplate(input *TestRenderEmailTemplateInput) (*TestRenderEmailTemplateOutput, error) { @@ -7432,14 +7420,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UntagResource func (c *SESV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -7471,17 +7458,18 @@ func (c *SESV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - BadRequestException +// The input you provided is invalid. +// +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - TooManyRequestsException +// Too many requests have been made to the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UntagResource func (c *SESV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -7521,14 +7509,13 @@ const opUpdateConfigurationSetEventDestination = "UpdateConfigurationSetEventDes // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConfigurationSetEventDestinationRequest method. +// req, resp := client.UpdateConfigurationSetEventDestinationRequest(params) // -// // Example sending a request using the UpdateConfigurationSetEventDestinationRequest method. -// req, resp := client.UpdateConfigurationSetEventDestinationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateConfigurationSetEventDestination func (c *SESV2) UpdateConfigurationSetEventDestinationRequest(input *UpdateConfigurationSetEventDestinationInput) (req *request.Request, output *UpdateConfigurationSetEventDestinationOutput) { @@ -7566,14 +7553,15 @@ func (c *SESV2) UpdateConfigurationSetEventDestinationRequest(input *UpdateConfi // API operation UpdateConfigurationSetEventDestination for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateConfigurationSetEventDestination func (c *SESV2) UpdateConfigurationSetEventDestination(input *UpdateConfigurationSetEventDestinationInput) (*UpdateConfigurationSetEventDestinationOutput, error) { @@ -7613,14 +7601,13 @@ const opUpdateContact = "UpdateContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContactRequest method. +// req, resp := client.UpdateContactRequest(params) // -// // Example sending a request using the UpdateContactRequest method. -// req, resp := client.UpdateContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateContact func (c *SESV2) UpdateContactRequest(input *UpdateContactInput) (req *request.Request, output *UpdateContactOutput) { @@ -7654,17 +7641,18 @@ func (c *SESV2) UpdateContactRequest(input *UpdateContactInput) (req *request.Re // API operation UpdateContact for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - BadRequestException +// The input you provided is invalid. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateContact func (c *SESV2) UpdateContact(input *UpdateContactInput) (*UpdateContactOutput, error) { @@ -7704,14 +7692,13 @@ const opUpdateContactList = "UpdateContactList" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContactListRequest method. +// req, resp := client.UpdateContactListRequest(params) // -// // Example sending a request using the UpdateContactListRequest method. -// req, resp := client.UpdateContactListRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateContactList func (c *SESV2) UpdateContactListRequest(input *UpdateContactListInput) (req *request.Request, output *UpdateContactListOutput) { @@ -7743,17 +7730,18 @@ func (c *SESV2) UpdateContactListRequest(input *UpdateContactListInput) (req *re // API operation UpdateContactList for usage and error information. // // Returned Error Types: -// * BadRequestException -// The input you provided is invalid. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - BadRequestException +// The input you provided is invalid. // -// * NotFoundException -// The resource you attempted to access doesn't exist. +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * ConcurrentModificationException -// The resource is being modified by another operation or thread. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - ConcurrentModificationException +// The resource is being modified by another operation or thread. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateContactList func (c *SESV2) UpdateContactList(input *UpdateContactListInput) (*UpdateContactListOutput, error) { @@ -7793,14 +7781,13 @@ const opUpdateCustomVerificationEmailTemplate = "UpdateCustomVerificationEmailTe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCustomVerificationEmailTemplateRequest method. +// req, resp := client.UpdateCustomVerificationEmailTemplateRequest(params) // -// // Example sending a request using the UpdateCustomVerificationEmailTemplateRequest method. -// req, resp := client.UpdateCustomVerificationEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateCustomVerificationEmailTemplate func (c *SESV2) UpdateCustomVerificationEmailTemplateRequest(input *UpdateCustomVerificationEmailTemplateInput) (req *request.Request, output *UpdateCustomVerificationEmailTemplateOutput) { @@ -7838,14 +7825,15 @@ func (c *SESV2) UpdateCustomVerificationEmailTemplateRequest(input *UpdateCustom // API operation UpdateCustomVerificationEmailTemplate for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * BadRequestException -// The input you provided is invalid. +// - NotFoundException +// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - BadRequestException +// The input you provided is invalid. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateCustomVerificationEmailTemplate func (c *SESV2) UpdateCustomVerificationEmailTemplate(input *UpdateCustomVerificationEmailTemplateInput) (*UpdateCustomVerificationEmailTemplateOutput, error) { @@ -7885,14 +7873,13 @@ const opUpdateEmailIdentityPolicy = "UpdateEmailIdentityPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEmailIdentityPolicyRequest method. +// req, resp := client.UpdateEmailIdentityPolicyRequest(params) // -// // Example sending a request using the UpdateEmailIdentityPolicyRequest method. -// req, resp := client.UpdateEmailIdentityPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateEmailIdentityPolicy func (c *SESV2) UpdateEmailIdentityPolicyRequest(input *UpdateEmailIdentityPolicyInput) (req *request.Request, output *UpdateEmailIdentityPolicyOutput) { @@ -7935,14 +7922,15 @@ func (c *SESV2) UpdateEmailIdentityPolicyRequest(input *UpdateEmailIdentityPolic // API operation UpdateEmailIdentityPolicy for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateEmailIdentityPolicy func (c *SESV2) UpdateEmailIdentityPolicy(input *UpdateEmailIdentityPolicyInput) (*UpdateEmailIdentityPolicyOutput, error) { @@ -7982,14 +7970,13 @@ const opUpdateEmailTemplate = "UpdateEmailTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEmailTemplateRequest method. +// req, resp := client.UpdateEmailTemplateRequest(params) // -// // Example sending a request using the UpdateEmailTemplateRequest method. -// req, resp := client.UpdateEmailTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateEmailTemplate func (c *SESV2) UpdateEmailTemplateRequest(input *UpdateEmailTemplateInput) (req *request.Request, output *UpdateEmailTemplateOutput) { @@ -8025,14 +8012,15 @@ func (c *SESV2) UpdateEmailTemplateRequest(input *UpdateEmailTemplateInput) (req // API operation UpdateEmailTemplate for usage and error information. // // Returned Error Types: -// * NotFoundException -// The resource you attempted to access doesn't exist. // -// * TooManyRequestsException -// Too many requests have been made to the operation. +// - NotFoundException +// The resource you attempted to access doesn't exist. +// +// - TooManyRequestsException +// Too many requests have been made to the operation. // -// * BadRequestException -// The input you provided is invalid. +// - BadRequestException +// The input you provided is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sesv2-2019-09-27/UpdateEmailTemplate func (c *SESV2) UpdateEmailTemplate(input *UpdateEmailTemplateInput) (*UpdateEmailTemplateOutput, error) { @@ -20222,21 +20210,21 @@ func (s *SuppressionOptions) SetSuppressedReasons(v []*string) *SuppressionOptio // digits, white space, or one of the following symbols: _ . : / = + -. The // following additional restrictions apply to tags: // -// * Tag keys and values are case sensitive. +// - Tag keys and values are case sensitive. // -// * For each associated resource, each tag key must be unique and it can -// have only one value. +// - For each associated resource, each tag key must be unique and it can +// have only one value. // -// * The aws: prefix is reserved for use by Amazon Web Services; you can’t -// use it in any tag keys or values that you define. In addition, you can't -// edit or remove tag keys or values that use this prefix. Tags that use -// this prefix don’t count against the limit of 50 tags per resource. +// - The aws: prefix is reserved for use by Amazon Web Services; you can’t +// use it in any tag keys or values that you define. In addition, you can't +// edit or remove tag keys or values that use this prefix. Tags that use +// this prefix don’t count against the limit of 50 tags per resource. // -// * You can associate tags with public or shared resources, but the tags -// are available only for your Amazon Web Services account, not any other -// accounts that share the resource. In addition, the tags are available -// only for resources that are located in the specified Amazon Web Services -// Region for your Amazon Web Services account. +// - You can associate tags with public or shared resources, but the tags +// are available only for your Amazon Web Services account, not any other +// accounts that share the resource. In addition, the tags are available +// only for resources that are located in the specified Amazon Web Services +// Region for your Amazon Web Services account. type Tag struct { _ struct{} `type:"structure"` @@ -21965,20 +21953,20 @@ func DkimSigningKeyLength_Values() []string { // The DKIM authentication status of the identity. The status can be one of // the following: // -// * PENDING – The verification process was initiated, but Amazon SES hasn't -// yet detected the DKIM records in the DNS configuration for the domain. +// - PENDING – The verification process was initiated, but Amazon SES hasn't +// yet detected the DKIM records in the DNS configuration for the domain. // -// * SUCCESS – The verification process completed successfully. +// - SUCCESS – The verification process completed successfully. // -// * FAILED – The verification process failed. This typically occurs when -// Amazon SES fails to find the DKIM records in the DNS configuration of -// the domain. +// - FAILED – The verification process failed. This typically occurs when +// Amazon SES fails to find the DKIM records in the DNS configuration of +// the domain. // -// * TEMPORARY_FAILURE – A temporary issue is preventing Amazon SES from -// determining the DKIM authentication status of the domain. +// - TEMPORARY_FAILURE – A temporary issue is preventing Amazon SES from +// determining the DKIM authentication status of the domain. // -// * NOT_STARTED – The DKIM verification process hasn't been initiated -// for the domain. +// - NOT_STARTED – The DKIM verification process hasn't been initiated +// for the domain. const ( // DkimStatusPending is a DkimStatus enum value DkimStatusPending = "PENDING" @@ -22122,16 +22110,16 @@ func JobStatus_Values() []string { // The status of the MAIL FROM domain. This status can have the following values: // -// * PENDING – Amazon SES hasn't started searching for the MX record yet. +// - PENDING – Amazon SES hasn't started searching for the MX record yet. // -// * SUCCESS – Amazon SES detected the required MX record for the MAIL -// FROM domain. +// - SUCCESS – Amazon SES detected the required MX record for the MAIL +// FROM domain. // -// * FAILED – Amazon SES can't find the required MX record, or the record -// no longer exists. +// - FAILED – Amazon SES can't find the required MX record, or the record +// no longer exists. // -// * TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon -// SES from determining the status of the MAIL FROM domain. +// - TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon +// SES from determining the status of the MAIL FROM domain. const ( // MailFromDomainStatusPending is a MailFromDomainStatus enum value MailFromDomainStatusPending = "PENDING" @@ -22215,9 +22203,9 @@ func SubscriptionStatus_Values() []string { // The type of action to perform on the address. The following are possible // values: // -// * PUT: add the addresses to the suppression list. +// - PUT: add the addresses to the suppression list. // -// * DELETE: remove the address from the suppression list. +// - DELETE: remove the address from the suppression list. const ( // SuppressionListImportActionDelete is a SuppressionListImportAction enum value SuppressionListImportActionDelete = "DELETE" @@ -22237,12 +22225,12 @@ func SuppressionListImportAction_Values() []string { // The reason that the address was added to the suppression list for your account. // The value can be one of the following: // -// * COMPLAINT – Amazon SES added an email address to the suppression list -// for your account because a message sent to that address results in a complaint. +// - COMPLAINT – Amazon SES added an email address to the suppression list +// for your account because a message sent to that address results in a complaint. // -// * BOUNCE – Amazon SES added an email address to the suppression list -// for your account because a message sent to that address results in a hard -// bounce. +// - BOUNCE – Amazon SES added an email address to the suppression list +// for your account because a message sent to that address results in a hard +// bounce. const ( // SuppressionListReasonBounce is a SuppressionListReason enum value SuppressionListReasonBounce = "BOUNCE" diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/doc.go index 2cc4d12b944e..cbc77057c260 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/doc.go @@ -16,7 +16,7 @@ // See sesv2 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/sesv2/ // -// Using the Client +// # Using the Client // // To contact Amazon Simple Email Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/service.go index 07cd3f89af5a..74ffe6b75267 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SESV2 client from just a session. -// svc := sesv2.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SESV2 client with additional configuration -// svc := sesv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SESV2 client from just a session. +// svc := sesv2.New(mySession) +// +// // Create a SESV2 client with additional configuration +// svc := sesv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SESV2 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/sesv2iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/sesv2iface/interface.go index d094a971030f..eb22c7df6096 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/sesv2iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sesv2/sesv2iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Simple Email Service. -// func myFunc(svc sesv2iface.SESV2API) bool { -// // Make svc.CreateConfigurationSet request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Simple Email Service. +// func myFunc(svc sesv2iface.SESV2API) bool { +// // Make svc.CreateConfigurationSet request +// } // -// func main() { -// sess := session.New() -// svc := sesv2.New(sess) +// func main() { +// sess := session.New() +// svc := sesv2.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSESV2Client struct { -// sesv2iface.SESV2API -// } -// func (m *mockSESV2Client) CreateConfigurationSet(input *sesv2.CreateConfigurationSetInput) (*sesv2.CreateConfigurationSetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSESV2Client struct { +// sesv2iface.SESV2API +// } +// func (m *mockSESV2Client) CreateConfigurationSet(input *sesv2.CreateConfigurationSetInput) (*sesv2.CreateConfigurationSetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSESV2Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSESV2Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/api.go index a5b8c3cb7d6b..da7506328e4a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/api.go @@ -29,14 +29,13 @@ const opCreateActivity = "CreateActivity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateActivityRequest method. +// req, resp := client.CreateActivityRequest(params) // -// // Example sending a request using the CreateActivityRequest method. -// req, resp := client.CreateActivityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivity func (c *SFN) CreateActivityRequest(input *CreateActivityInput) (req *request.Request, output *CreateActivityOutput) { @@ -82,17 +81,18 @@ func (c *SFN) CreateActivityRequest(input *CreateActivityInput) (req *request.Re // API operation CreateActivity for usage and error information. // // Returned Error Types: -// * ActivityLimitExceeded -// The maximum number of activities has been reached. Existing activities must -// be deleted before a new activity can be created. // -// * InvalidName -// The provided name is invalid. +// - ActivityLimitExceeded +// The maximum number of activities has been reached. Existing activities must +// be deleted before a new activity can be created. +// +// - InvalidName +// The provided name is invalid. // -// * TooManyTags -// You've exceeded the number of tags allowed for a resource. See the Limits -// Topic (https://docs.aws.amazon.com/step-functions/latest/dg/limits.html) -// in the AWS Step Functions Developer Guide. +// - TooManyTags +// You've exceeded the number of tags allowed for a resource. See the Limits +// Topic (https://docs.aws.amazon.com/step-functions/latest/dg/limits.html) +// in the AWS Step Functions Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateActivity func (c *SFN) CreateActivity(input *CreateActivityInput) (*CreateActivityOutput, error) { @@ -132,14 +132,13 @@ const opCreateStateMachine = "CreateStateMachine" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStateMachineRequest method. +// req, resp := client.CreateStateMachineRequest(params) // -// // Example sending a request using the CreateStateMachineRequest method. -// req, resp := client.CreateStateMachineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachine func (c *SFN) CreateStateMachineRequest(input *CreateStateMachineInput) (req *request.Request, output *CreateStateMachineOutput) { @@ -186,38 +185,39 @@ func (c *SFN) CreateStateMachineRequest(input *CreateStateMachineInput) (req *re // API operation CreateStateMachine for usage and error information. // // Returned Error Types: -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. // -// * InvalidDefinition -// The provided Amazon States Language definition is invalid. +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. // -// * InvalidName -// The provided name is invalid. +// - InvalidDefinition +// The provided Amazon States Language definition is invalid. // -// * InvalidLoggingConfiguration +// - InvalidName +// The provided name is invalid. // -// * InvalidTracingConfiguration -// Your tracingConfiguration key does not match, or enabled has not been set -// to true or false. +// - InvalidLoggingConfiguration // -// * StateMachineAlreadyExists -// A state machine with the same name but a different definition or role ARN -// already exists. +// - InvalidTracingConfiguration +// Your tracingConfiguration key does not match, or enabled has not been set +// to true or false. // -// * StateMachineDeleting -// The specified state machine is being deleted. +// - StateMachineAlreadyExists +// A state machine with the same name but a different definition or role ARN +// already exists. // -// * StateMachineLimitExceeded -// The maximum number of state machines has been reached. Existing state machines -// must be deleted before a new state machine can be created. +// - StateMachineDeleting +// The specified state machine is being deleted. // -// * StateMachineTypeNotSupported +// - StateMachineLimitExceeded +// The maximum number of state machines has been reached. Existing state machines +// must be deleted before a new state machine can be created. // -// * TooManyTags -// You've exceeded the number of tags allowed for a resource. See the Limits -// Topic (https://docs.aws.amazon.com/step-functions/latest/dg/limits.html) -// in the AWS Step Functions Developer Guide. +// - StateMachineTypeNotSupported +// +// - TooManyTags +// You've exceeded the number of tags allowed for a resource. See the Limits +// Topic (https://docs.aws.amazon.com/step-functions/latest/dg/limits.html) +// in the AWS Step Functions Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/CreateStateMachine func (c *SFN) CreateStateMachine(input *CreateStateMachineInput) (*CreateStateMachineOutput, error) { @@ -257,14 +257,13 @@ const opDeleteActivity = "DeleteActivity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteActivityRequest method. +// req, resp := client.DeleteActivityRequest(params) // -// // Example sending a request using the DeleteActivityRequest method. -// req, resp := client.DeleteActivityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivity func (c *SFN) DeleteActivityRequest(input *DeleteActivityInput) (req *request.Request, output *DeleteActivityOutput) { @@ -296,8 +295,8 @@ func (c *SFN) DeleteActivityRequest(input *DeleteActivityInput) (req *request.Re // API operation DeleteActivity for usage and error information. // // Returned Error Types: -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteActivity func (c *SFN) DeleteActivity(input *DeleteActivityInput) (*DeleteActivityOutput, error) { @@ -337,14 +336,13 @@ const opDeleteStateMachine = "DeleteStateMachine" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteStateMachineRequest method. +// req, resp := client.DeleteStateMachineRequest(params) // -// // Example sending a request using the DeleteStateMachineRequest method. -// req, resp := client.DeleteStateMachineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachine func (c *SFN) DeleteStateMachineRequest(input *DeleteStateMachineInput) (req *request.Request, output *DeleteStateMachineOutput) { @@ -381,8 +379,8 @@ func (c *SFN) DeleteStateMachineRequest(input *DeleteStateMachineInput) (req *re // API operation DeleteStateMachine for usage and error information. // // Returned Error Types: -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DeleteStateMachine func (c *SFN) DeleteStateMachine(input *DeleteStateMachineInput) (*DeleteStateMachineOutput, error) { @@ -422,14 +420,13 @@ const opDescribeActivity = "DescribeActivity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeActivityRequest method. +// req, resp := client.DescribeActivityRequest(params) // -// // Example sending a request using the DescribeActivityRequest method. -// req, resp := client.DescribeActivityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivity func (c *SFN) DescribeActivityRequest(input *DescribeActivityInput) (req *request.Request, output *DescribeActivityOutput) { @@ -463,11 +460,12 @@ func (c *SFN) DescribeActivityRequest(input *DescribeActivityInput) (req *reques // API operation DescribeActivity for usage and error information. // // Returned Error Types: -// * ActivityDoesNotExist -// The specified activity does not exist. // -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. +// - ActivityDoesNotExist +// The specified activity does not exist. +// +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeActivity func (c *SFN) DescribeActivity(input *DescribeActivityInput) (*DescribeActivityOutput, error) { @@ -507,14 +505,13 @@ const opDescribeExecution = "DescribeExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExecutionRequest method. +// req, resp := client.DescribeExecutionRequest(params) // -// // Example sending a request using the DescribeExecutionRequest method. -// req, resp := client.DescribeExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecution func (c *SFN) DescribeExecutionRequest(input *DescribeExecutionInput) (req *request.Request, output *DescribeExecutionOutput) { @@ -550,11 +547,12 @@ func (c *SFN) DescribeExecutionRequest(input *DescribeExecutionInput) (req *requ // API operation DescribeExecution for usage and error information. // // Returned Error Types: -// * ExecutionDoesNotExist -// The specified execution does not exist. // -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. +// - ExecutionDoesNotExist +// The specified execution does not exist. +// +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeExecution func (c *SFN) DescribeExecution(input *DescribeExecutionInput) (*DescribeExecutionOutput, error) { @@ -594,14 +592,13 @@ const opDescribeStateMachine = "DescribeStateMachine" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStateMachineRequest method. +// req, resp := client.DescribeStateMachineRequest(params) // -// // Example sending a request using the DescribeStateMachineRequest method. -// req, resp := client.DescribeStateMachineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine func (c *SFN) DescribeStateMachineRequest(input *DescribeStateMachineInput) (req *request.Request, output *DescribeStateMachineOutput) { @@ -635,11 +632,12 @@ func (c *SFN) DescribeStateMachineRequest(input *DescribeStateMachineInput) (req // API operation DescribeStateMachine for usage and error information. // // Returned Error Types: -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. // -// * StateMachineDoesNotExist -// The specified state machine does not exist. +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. +// +// - StateMachineDoesNotExist +// The specified state machine does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachine func (c *SFN) DescribeStateMachine(input *DescribeStateMachineInput) (*DescribeStateMachineOutput, error) { @@ -679,14 +677,13 @@ const opDescribeStateMachineForExecution = "DescribeStateMachineForExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStateMachineForExecutionRequest method. +// req, resp := client.DescribeStateMachineForExecutionRequest(params) // -// // Example sending a request using the DescribeStateMachineForExecutionRequest method. -// req, resp := client.DescribeStateMachineForExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecution func (c *SFN) DescribeStateMachineForExecutionRequest(input *DescribeStateMachineForExecutionInput) (req *request.Request, output *DescribeStateMachineForExecutionOutput) { @@ -722,11 +719,12 @@ func (c *SFN) DescribeStateMachineForExecutionRequest(input *DescribeStateMachin // API operation DescribeStateMachineForExecution for usage and error information. // // Returned Error Types: -// * ExecutionDoesNotExist -// The specified execution does not exist. // -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. +// - ExecutionDoesNotExist +// The specified execution does not exist. +// +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/DescribeStateMachineForExecution func (c *SFN) DescribeStateMachineForExecution(input *DescribeStateMachineForExecutionInput) (*DescribeStateMachineForExecutionOutput, error) { @@ -766,14 +764,13 @@ const opGetActivityTask = "GetActivityTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetActivityTaskRequest method. +// req, resp := client.GetActivityTaskRequest(params) // -// // Example sending a request using the GetActivityTaskRequest method. -// req, resp := client.GetActivityTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTask func (c *SFN) GetActivityTaskRequest(input *GetActivityTaskInput) (req *request.Request, output *GetActivityTaskOutput) { @@ -817,15 +814,16 @@ func (c *SFN) GetActivityTaskRequest(input *GetActivityTaskInput) (req *request. // API operation GetActivityTask for usage and error information. // // Returned Error Types: -// * ActivityDoesNotExist -// The specified activity does not exist. // -// * ActivityWorkerLimitExceeded -// The maximum number of workers concurrently polling for activity tasks has -// been reached. +// - ActivityDoesNotExist +// The specified activity does not exist. // -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. +// - ActivityWorkerLimitExceeded +// The maximum number of workers concurrently polling for activity tasks has +// been reached. +// +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetActivityTask func (c *SFN) GetActivityTask(input *GetActivityTaskInput) (*GetActivityTaskOutput, error) { @@ -865,14 +863,13 @@ const opGetExecutionHistory = "GetExecutionHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetExecutionHistoryRequest method. +// req, resp := client.GetExecutionHistoryRequest(params) // -// // Example sending a request using the GetExecutionHistoryRequest method. -// req, resp := client.GetExecutionHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistory func (c *SFN) GetExecutionHistoryRequest(input *GetExecutionHistoryInput) (req *request.Request, output *GetExecutionHistoryOutput) { @@ -919,14 +916,15 @@ func (c *SFN) GetExecutionHistoryRequest(input *GetExecutionHistoryInput) (req * // API operation GetExecutionHistory for usage and error information. // // Returned Error Types: -// * ExecutionDoesNotExist -// The specified execution does not exist. // -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. +// - ExecutionDoesNotExist +// The specified execution does not exist. +// +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. // -// * InvalidToken -// The provided token is invalid. +// - InvalidToken +// The provided token is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/GetExecutionHistory func (c *SFN) GetExecutionHistory(input *GetExecutionHistoryInput) (*GetExecutionHistoryOutput, error) { @@ -958,15 +956,14 @@ func (c *SFN) GetExecutionHistoryWithContext(ctx aws.Context, input *GetExecutio // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetExecutionHistory operation. -// pageNum := 0 -// err := client.GetExecutionHistoryPages(params, -// func(page *sfn.GetExecutionHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetExecutionHistory operation. +// pageNum := 0 +// err := client.GetExecutionHistoryPages(params, +// func(page *sfn.GetExecutionHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SFN) GetExecutionHistoryPages(input *GetExecutionHistoryInput, fn func(*GetExecutionHistoryOutput, bool) bool) error { return c.GetExecutionHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1018,14 +1015,13 @@ const opListActivities = "ListActivities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListActivitiesRequest method. +// req, resp := client.ListActivitiesRequest(params) // -// // Example sending a request using the ListActivitiesRequest method. -// req, resp := client.ListActivitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivities func (c *SFN) ListActivitiesRequest(input *ListActivitiesInput) (req *request.Request, output *ListActivitiesOutput) { @@ -1071,8 +1067,8 @@ func (c *SFN) ListActivitiesRequest(input *ListActivitiesInput) (req *request.Re // API operation ListActivities for usage and error information. // // Returned Error Types: -// * InvalidToken -// The provided token is invalid. +// - InvalidToken +// The provided token is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListActivities func (c *SFN) ListActivities(input *ListActivitiesInput) (*ListActivitiesOutput, error) { @@ -1104,15 +1100,14 @@ func (c *SFN) ListActivitiesWithContext(ctx aws.Context, input *ListActivitiesIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListActivities operation. -// pageNum := 0 -// err := client.ListActivitiesPages(params, -// func(page *sfn.ListActivitiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListActivities operation. +// pageNum := 0 +// err := client.ListActivitiesPages(params, +// func(page *sfn.ListActivitiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SFN) ListActivitiesPages(input *ListActivitiesInput, fn func(*ListActivitiesOutput, bool) bool) error { return c.ListActivitiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1164,14 +1159,13 @@ const opListExecutions = "ListExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExecutionsRequest method. +// req, resp := client.ListExecutionsRequest(params) // -// // Example sending a request using the ListExecutionsRequest method. -// req, resp := client.ListExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutions func (c *SFN) ListExecutionsRequest(input *ListExecutionsInput) (req *request.Request, output *ListExecutionsOutput) { @@ -1220,16 +1214,17 @@ func (c *SFN) ListExecutionsRequest(input *ListExecutionsInput) (req *request.Re // API operation ListExecutions for usage and error information. // // Returned Error Types: -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. // -// * InvalidToken -// The provided token is invalid. +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. +// +// - InvalidToken +// The provided token is invalid. // -// * StateMachineDoesNotExist -// The specified state machine does not exist. +// - StateMachineDoesNotExist +// The specified state machine does not exist. // -// * StateMachineTypeNotSupported +// - StateMachineTypeNotSupported // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListExecutions func (c *SFN) ListExecutions(input *ListExecutionsInput) (*ListExecutionsOutput, error) { @@ -1261,15 +1256,14 @@ func (c *SFN) ListExecutionsWithContext(ctx aws.Context, input *ListExecutionsIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExecutions operation. -// pageNum := 0 -// err := client.ListExecutionsPages(params, -// func(page *sfn.ListExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExecutions operation. +// pageNum := 0 +// err := client.ListExecutionsPages(params, +// func(page *sfn.ListExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SFN) ListExecutionsPages(input *ListExecutionsInput, fn func(*ListExecutionsOutput, bool) bool) error { return c.ListExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1321,14 +1315,13 @@ const opListStateMachines = "ListStateMachines" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListStateMachinesRequest method. +// req, resp := client.ListStateMachinesRequest(params) // -// // Example sending a request using the ListStateMachinesRequest method. -// req, resp := client.ListStateMachinesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachines func (c *SFN) ListStateMachinesRequest(input *ListStateMachinesInput) (req *request.Request, output *ListStateMachinesOutput) { @@ -1374,8 +1367,8 @@ func (c *SFN) ListStateMachinesRequest(input *ListStateMachinesInput) (req *requ // API operation ListStateMachines for usage and error information. // // Returned Error Types: -// * InvalidToken -// The provided token is invalid. +// - InvalidToken +// The provided token is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListStateMachines func (c *SFN) ListStateMachines(input *ListStateMachinesInput) (*ListStateMachinesOutput, error) { @@ -1407,15 +1400,14 @@ func (c *SFN) ListStateMachinesWithContext(ctx aws.Context, input *ListStateMach // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListStateMachines operation. -// pageNum := 0 -// err := client.ListStateMachinesPages(params, -// func(page *sfn.ListStateMachinesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListStateMachines operation. +// pageNum := 0 +// err := client.ListStateMachinesPages(params, +// func(page *sfn.ListStateMachinesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SFN) ListStateMachinesPages(input *ListStateMachinesInput, fn func(*ListStateMachinesOutput, bool) bool) error { return c.ListStateMachinesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1467,14 +1459,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListTagsForResource func (c *SFN) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1508,12 +1499,13 @@ func (c *SFN) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. // -// * ResourceNotFound -// Could not find the referenced resource. Only state machine and activity ARNs -// are supported. +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. +// +// - ResourceNotFound +// Could not find the referenced resource. Only state machine and activity ARNs +// are supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/ListTagsForResource func (c *SFN) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1553,14 +1545,13 @@ const opSendTaskFailure = "SendTaskFailure" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendTaskFailureRequest method. +// req, resp := client.SendTaskFailureRequest(params) // -// // Example sending a request using the SendTaskFailureRequest method. -// req, resp := client.SendTaskFailureRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailure func (c *SFN) SendTaskFailureRequest(input *SendTaskFailureInput) (req *request.Request, output *SendTaskFailureOutput) { @@ -1593,12 +1584,13 @@ func (c *SFN) SendTaskFailureRequest(input *SendTaskFailureInput) (req *request. // API operation SendTaskFailure for usage and error information. // // Returned Error Types: -// * TaskDoesNotExist // -// * InvalidToken -// The provided token is invalid. +// - TaskDoesNotExist // -// * TaskTimedOut +// - InvalidToken +// The provided token is invalid. +// +// - TaskTimedOut // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskFailure func (c *SFN) SendTaskFailure(input *SendTaskFailureInput) (*SendTaskFailureOutput, error) { @@ -1638,14 +1630,13 @@ const opSendTaskHeartbeat = "SendTaskHeartbeat" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendTaskHeartbeatRequest method. +// req, resp := client.SendTaskHeartbeatRequest(params) // -// // Example sending a request using the SendTaskHeartbeatRequest method. -// req, resp := client.SendTaskHeartbeatRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeat func (c *SFN) SendTaskHeartbeatRequest(input *SendTaskHeartbeatInput) (req *request.Request, output *SendTaskHeartbeatOutput) { @@ -1691,12 +1682,13 @@ func (c *SFN) SendTaskHeartbeatRequest(input *SendTaskHeartbeatInput) (req *requ // API operation SendTaskHeartbeat for usage and error information. // // Returned Error Types: -// * TaskDoesNotExist // -// * InvalidToken -// The provided token is invalid. +// - TaskDoesNotExist +// +// - InvalidToken +// The provided token is invalid. // -// * TaskTimedOut +// - TaskTimedOut // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskHeartbeat func (c *SFN) SendTaskHeartbeat(input *SendTaskHeartbeatInput) (*SendTaskHeartbeatOutput, error) { @@ -1736,14 +1728,13 @@ const opSendTaskSuccess = "SendTaskSuccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendTaskSuccessRequest method. +// req, resp := client.SendTaskSuccessRequest(params) // -// // Example sending a request using the SendTaskSuccessRequest method. -// req, resp := client.SendTaskSuccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccess func (c *SFN) SendTaskSuccessRequest(input *SendTaskSuccessInput) (req *request.Request, output *SendTaskSuccessOutput) { @@ -1776,15 +1767,16 @@ func (c *SFN) SendTaskSuccessRequest(input *SendTaskSuccessInput) (req *request. // API operation SendTaskSuccess for usage and error information. // // Returned Error Types: -// * TaskDoesNotExist // -// * InvalidOutput -// The provided JSON output data is invalid. +// - TaskDoesNotExist +// +// - InvalidOutput +// The provided JSON output data is invalid. // -// * InvalidToken -// The provided token is invalid. +// - InvalidToken +// The provided token is invalid. // -// * TaskTimedOut +// - TaskTimedOut // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/SendTaskSuccess func (c *SFN) SendTaskSuccess(input *SendTaskSuccessInput) (*SendTaskSuccessOutput, error) { @@ -1824,14 +1816,13 @@ const opStartExecution = "StartExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartExecutionRequest method. +// req, resp := client.StartExecutionRequest(params) // -// // Example sending a request using the StartExecutionRequest method. -// req, resp := client.StartExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecution func (c *SFN) StartExecutionRequest(input *StartExecutionInput) (req *request.Request, output *StartExecutionOutput) { @@ -1868,29 +1859,30 @@ func (c *SFN) StartExecutionRequest(input *StartExecutionInput) (req *request.Re // API operation StartExecution for usage and error information. // // Returned Error Types: -// * ExecutionLimitExceeded -// The maximum number of running executions has been reached. Running executions -// must end or be stopped before a new execution can be started. // -// * ExecutionAlreadyExists -// The execution has the same name as another execution (but a different input). +// - ExecutionLimitExceeded +// The maximum number of running executions has been reached. Running executions +// must end or be stopped before a new execution can be started. // -// Executions with the same name and input are considered idempotent. +// - ExecutionAlreadyExists +// The execution has the same name as another execution (but a different input). // -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. +// Executions with the same name and input are considered idempotent. // -// * InvalidExecutionInput -// The provided JSON input data is invalid. +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. // -// * InvalidName -// The provided name is invalid. +// - InvalidExecutionInput +// The provided JSON input data is invalid. // -// * StateMachineDoesNotExist -// The specified state machine does not exist. +// - InvalidName +// The provided name is invalid. // -// * StateMachineDeleting -// The specified state machine is being deleted. +// - StateMachineDoesNotExist +// The specified state machine does not exist. +// +// - StateMachineDeleting +// The specified state machine is being deleted. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartExecution func (c *SFN) StartExecution(input *StartExecutionInput) (*StartExecutionOutput, error) { @@ -1930,14 +1922,13 @@ const opStartSyncExecution = "StartSyncExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartSyncExecutionRequest method. +// req, resp := client.StartSyncExecutionRequest(params) // -// // Example sending a request using the StartSyncExecutionRequest method. -// req, resp := client.StartSyncExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartSyncExecution func (c *SFN) StartSyncExecutionRequest(input *StartSyncExecutionInput) (req *request.Request, output *StartSyncExecutionOutput) { @@ -1970,22 +1961,23 @@ func (c *SFN) StartSyncExecutionRequest(input *StartSyncExecutionInput) (req *re // API operation StartSyncExecution for usage and error information. // // Returned Error Types: -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. // -// * InvalidExecutionInput -// The provided JSON input data is invalid. +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. +// +// - InvalidExecutionInput +// The provided JSON input data is invalid. // -// * InvalidName -// The provided name is invalid. +// - InvalidName +// The provided name is invalid. // -// * StateMachineDoesNotExist -// The specified state machine does not exist. +// - StateMachineDoesNotExist +// The specified state machine does not exist. // -// * StateMachineDeleting -// The specified state machine is being deleted. +// - StateMachineDeleting +// The specified state machine is being deleted. // -// * StateMachineTypeNotSupported +// - StateMachineTypeNotSupported // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StartSyncExecution func (c *SFN) StartSyncExecution(input *StartSyncExecutionInput) (*StartSyncExecutionOutput, error) { @@ -2025,14 +2017,13 @@ const opStopExecution = "StopExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopExecutionRequest method. +// req, resp := client.StopExecutionRequest(params) // -// // Example sending a request using the StopExecutionRequest method. -// req, resp := client.StopExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecution func (c *SFN) StopExecutionRequest(input *StopExecutionInput) (req *request.Request, output *StopExecutionOutput) { @@ -2065,11 +2056,12 @@ func (c *SFN) StopExecutionRequest(input *StopExecutionInput) (req *request.Requ // API operation StopExecution for usage and error information. // // Returned Error Types: -// * ExecutionDoesNotExist -// The specified execution does not exist. // -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. +// - ExecutionDoesNotExist +// The specified execution does not exist. +// +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/StopExecution func (c *SFN) StopExecution(input *StopExecutionInput) (*StopExecutionOutput, error) { @@ -2109,14 +2101,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TagResource func (c *SFN) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2156,17 +2147,18 @@ func (c *SFN) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. // -// * ResourceNotFound -// Could not find the referenced resource. Only state machine and activity ARNs -// are supported. +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. // -// * TooManyTags -// You've exceeded the number of tags allowed for a resource. See the Limits -// Topic (https://docs.aws.amazon.com/step-functions/latest/dg/limits.html) -// in the AWS Step Functions Developer Guide. +// - ResourceNotFound +// Could not find the referenced resource. Only state machine and activity ARNs +// are supported. +// +// - TooManyTags +// You've exceeded the number of tags allowed for a resource. See the Limits +// Topic (https://docs.aws.amazon.com/step-functions/latest/dg/limits.html) +// in the AWS Step Functions Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/TagResource func (c *SFN) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2206,14 +2198,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UntagResource func (c *SFN) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2235,7 +2226,7 @@ func (c *SFN) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // UntagResource API operation for AWS Step Functions. // -// Remove a tag from a Step Functions resource +// # Remove a tag from a Step Functions resource // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2245,12 +2236,13 @@ func (c *SFN) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. // -// * ResourceNotFound -// Could not find the referenced resource. Only state machine and activity ARNs -// are supported. +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. +// +// - ResourceNotFound +// Could not find the referenced resource. Only state machine and activity ARNs +// are supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UntagResource func (c *SFN) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2290,14 +2282,13 @@ const opUpdateStateMachine = "UpdateStateMachine" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateStateMachineRequest method. +// req, resp := client.UpdateStateMachineRequest(params) // -// // Example sending a request using the UpdateStateMachineRequest method. -// req, resp := client.UpdateStateMachineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachine func (c *SFN) UpdateStateMachineRequest(input *UpdateStateMachineInput) (req *request.Request, output *UpdateStateMachineOutput) { @@ -2335,27 +2326,28 @@ func (c *SFN) UpdateStateMachineRequest(input *UpdateStateMachineInput) (req *re // API operation UpdateStateMachine for usage and error information. // // Returned Error Types: -// * InvalidArn -// The provided Amazon Resource Name (ARN) is invalid. // -// * InvalidDefinition -// The provided Amazon States Language definition is invalid. +// - InvalidArn +// The provided Amazon Resource Name (ARN) is invalid. +// +// - InvalidDefinition +// The provided Amazon States Language definition is invalid. // -// * InvalidLoggingConfiguration +// - InvalidLoggingConfiguration // -// * InvalidTracingConfiguration -// Your tracingConfiguration key does not match, or enabled has not been set -// to true or false. +// - InvalidTracingConfiguration +// Your tracingConfiguration key does not match, or enabled has not been set +// to true or false. // -// * MissingRequiredParameter -// Request is missing a required parameter. This error occurs if both definition -// and roleArn are not specified. +// - MissingRequiredParameter +// Request is missing a required parameter. This error occurs if both definition +// and roleArn are not specified. // -// * StateMachineDeleting -// The specified state machine is being deleted. +// - StateMachineDeleting +// The specified state machine is being deleted. // -// * StateMachineDoesNotExist -// The specified state machine does not exist. +// - StateMachineDoesNotExist +// The specified state machine does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/states-2016-11-23/UpdateStateMachine func (c *SFN) UpdateStateMachine(input *UpdateStateMachineInput) (*UpdateStateMachineOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/doc.go index f3880014fdda..e35b53708dbd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/doc.go @@ -27,7 +27,7 @@ // See sfn package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/sfn/ // -// Using the Client +// # Using the Client // // To contact AWS Step Functions with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/service.go index 71604a4d40b0..1c246eec818f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SFN client from just a session. -// svc := sfn.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SFN client with additional configuration -// svc := sfn.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SFN client from just a session. +// svc := sfn.New(mySession) +// +// // Create a SFN client with additional configuration +// svc := sfn.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SFN { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/sfniface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/sfniface/interface.go index 5a05649a7be8..f3f8503206a5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/sfniface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sfn/sfniface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Step Functions. -// func myFunc(svc sfniface.SFNAPI) bool { -// // Make svc.CreateActivity request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Step Functions. +// func myFunc(svc sfniface.SFNAPI) bool { +// // Make svc.CreateActivity request +// } // -// func main() { -// sess := session.New() -// svc := sfn.New(sess) +// func main() { +// sess := session.New() +// svc := sfn.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSFNClient struct { -// sfniface.SFNAPI -// } -// func (m *mockSFNClient) CreateActivity(input *sfn.CreateActivityInput) (*sfn.CreateActivityOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSFNClient struct { +// sfniface.SFNAPI +// } +// func (m *mockSFNClient) CreateActivity(input *sfn.CreateActivityInput) (*sfn.CreateActivityOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSFNClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSFNClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/api.go index 2299d4e4f3c1..512b323c0ca7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/api.go @@ -29,14 +29,13 @@ const opAssociateDRTLogBucket = "AssociateDRTLogBucket" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateDRTLogBucketRequest method. +// req, resp := client.AssociateDRTLogBucketRequest(params) // -// // Example sending a request using the AssociateDRTLogBucketRequest method. -// req, resp := client.AssociateDRTLogBucketRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AssociateDRTLogBucket func (c *Shield) AssociateDRTLogBucketRequest(input *AssociateDRTLogBucketInput) (req *request.Request, output *AssociateDRTLogBucketOutput) { @@ -75,38 +74,39 @@ func (c *Shield) AssociateDRTLogBucketRequest(input *AssociateDRTLogBucketInput) // API operation AssociateDRTLogBucket for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidOperationException -// Exception that indicates that the operation would not cause any change to -// occur. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - InvalidOperationException +// Exception that indicates that the operation would not cause any change to +// occur. // -// * NoAssociatedRoleException -// The ARN of the role that you specifed does not exist. +// - NoAssociatedRoleException +// The ARN of the role that you specifed does not exist. // -// * LimitsExceededException -// Exception that indicates that the operation would exceed a limit. +// - LimitsExceededException +// Exception that indicates that the operation would exceed a limit. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // -// * AccessDeniedForDependencyException -// In order to grant the necessary access to the Shield Response Team (SRT) -// the user submitting the request must have the iam:PassRole permission. This -// error indicates the user did not have the appropriate permissions. For more -// information, see Granting a User Permissions to Pass a Role to an Amazon -// Web Services Service (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html). +// - AccessDeniedForDependencyException +// In order to grant the necessary access to the Shield Response Team (SRT) +// the user submitting the request must have the iam:PassRole permission. This +// error indicates the user did not have the appropriate permissions. For more +// information, see Granting a User Permissions to Pass a Role to an Amazon +// Web Services Service (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html). // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AssociateDRTLogBucket func (c *Shield) AssociateDRTLogBucket(input *AssociateDRTLogBucketInput) (*AssociateDRTLogBucketOutput, error) { @@ -146,14 +146,13 @@ const opAssociateDRTRole = "AssociateDRTRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateDRTRoleRequest method. +// req, resp := client.AssociateDRTRoleRequest(params) // -// // Example sending a request using the AssociateDRTRoleRequest method. -// req, resp := client.AssociateDRTRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AssociateDRTRole func (c *Shield) AssociateDRTRoleRequest(input *AssociateDRTRoleInput) (req *request.Request, output *AssociateDRTRoleOutput) { @@ -212,32 +211,33 @@ func (c *Shield) AssociateDRTRoleRequest(input *AssociateDRTRoleInput) (req *req // API operation AssociateDRTRole for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidOperationException -// Exception that indicates that the operation would not cause any change to -// occur. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - InvalidOperationException +// Exception that indicates that the operation would not cause any change to +// occur. // -// * AccessDeniedForDependencyException -// In order to grant the necessary access to the Shield Response Team (SRT) -// the user submitting the request must have the iam:PassRole permission. This -// error indicates the user did not have the appropriate permissions. For more -// information, see Granting a User Permissions to Pass a Role to an Amazon -// Web Services Service (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html). +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - AccessDeniedForDependencyException +// In order to grant the necessary access to the Shield Response Team (SRT) +// the user submitting the request must have the iam:PassRole permission. This +// error indicates the user did not have the appropriate permissions. For more +// information, see Granting a User Permissions to Pass a Role to an Amazon +// Web Services Service (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html). // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. +// +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AssociateDRTRole func (c *Shield) AssociateDRTRole(input *AssociateDRTRoleInput) (*AssociateDRTRoleOutput, error) { @@ -277,14 +277,13 @@ const opAssociateHealthCheck = "AssociateHealthCheck" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateHealthCheckRequest method. +// req, resp := client.AssociateHealthCheckRequest(params) // -// // Example sending a request using the AssociateHealthCheckRequest method. -// req, resp := client.AssociateHealthCheckRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AssociateHealthCheck func (c *Shield) AssociateHealthCheckRequest(input *AssociateHealthCheckInput) (req *request.Request, output *AssociateHealthCheckOutput) { @@ -324,28 +323,29 @@ func (c *Shield) AssociateHealthCheckRequest(input *AssociateHealthCheckInput) ( // API operation AssociateHealthCheck for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * LimitsExceededException -// Exception that indicates that the operation would exceed a limit. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - LimitsExceededException +// Exception that indicates that the operation would exceed a limit. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // -// * InvalidResourceException -// Exception that indicates that the resource is invalid. You might not have -// access to the resource, or the resource might not exist. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. +// +// - InvalidResourceException +// Exception that indicates that the resource is invalid. You might not have +// access to the resource, or the resource might not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AssociateHealthCheck func (c *Shield) AssociateHealthCheck(input *AssociateHealthCheckInput) (*AssociateHealthCheckOutput, error) { @@ -385,14 +385,13 @@ const opAssociateProactiveEngagementDetails = "AssociateProactiveEngagementDetai // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateProactiveEngagementDetailsRequest method. +// req, resp := client.AssociateProactiveEngagementDetailsRequest(params) // -// // Example sending a request using the AssociateProactiveEngagementDetailsRequest method. -// req, resp := client.AssociateProactiveEngagementDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AssociateProactiveEngagementDetails func (c *Shield) AssociateProactiveEngagementDetailsRequest(input *AssociateProactiveEngagementDetailsInput) (req *request.Request, output *AssociateProactiveEngagementDetailsOutput) { @@ -439,25 +438,26 @@ func (c *Shield) AssociateProactiveEngagementDetailsRequest(input *AssociateProa // API operation AssociateProactiveEngagementDetails for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidOperationException -// Exception that indicates that the operation would not cause any change to -// occur. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - InvalidOperationException +// Exception that indicates that the operation would not cause any change to +// occur. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/AssociateProactiveEngagementDetails func (c *Shield) AssociateProactiveEngagementDetails(input *AssociateProactiveEngagementDetailsInput) (*AssociateProactiveEngagementDetailsOutput, error) { @@ -497,14 +497,13 @@ const opCreateProtection = "CreateProtection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProtectionRequest method. +// req, resp := client.CreateProtectionRequest(params) // -// // Example sending a request using the CreateProtectionRequest method. -// req, resp := client.CreateProtectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateProtection func (c *Shield) CreateProtectionRequest(input *CreateProtectionInput) (req *request.Request, output *CreateProtectionOutput) { @@ -545,36 +544,37 @@ func (c *Shield) CreateProtectionRequest(input *CreateProtectionInput) (req *req // API operation CreateProtection for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidResourceException -// Exception that indicates that the resource is invalid. You might not have -// access to the resource, or the resource might not exist. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - InvalidResourceException +// Exception that indicates that the resource is invalid. You might not have +// access to the resource, or the resource might not exist. // -// * InvalidOperationException -// Exception that indicates that the operation would not cause any change to -// occur. +// - InvalidOperationException +// Exception that indicates that the operation would not cause any change to +// occur. // -// * LimitsExceededException -// Exception that indicates that the operation would exceed a limit. +// - LimitsExceededException +// Exception that indicates that the operation would exceed a limit. // -// * ResourceAlreadyExistsException -// Exception indicating the specified resource already exists. If available, -// this exception includes details in additional properties. +// - ResourceAlreadyExistsException +// Exception indicating the specified resource already exists. If available, +// this exception includes details in additional properties. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateProtection func (c *Shield) CreateProtection(input *CreateProtectionInput) (*CreateProtectionOutput, error) { @@ -614,14 +614,13 @@ const opCreateProtectionGroup = "CreateProtectionGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateProtectionGroupRequest method. +// req, resp := client.CreateProtectionGroupRequest(params) // -// // Example sending a request using the CreateProtectionGroupRequest method. -// req, resp := client.CreateProtectionGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateProtectionGroup func (c *Shield) CreateProtectionGroupRequest(input *CreateProtectionGroupInput) (req *request.Request, output *CreateProtectionGroupOutput) { @@ -655,28 +654,29 @@ func (c *Shield) CreateProtectionGroupRequest(input *CreateProtectionGroupInput) // API operation CreateProtectionGroup for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * ResourceAlreadyExistsException -// Exception indicating the specified resource already exists. If available, -// this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - ResourceAlreadyExistsException +// Exception indicating the specified resource already exists. If available, +// this exception includes details in additional properties. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // -// * LimitsExceededException -// Exception that indicates that the operation would exceed a limit. +// - LimitsExceededException +// Exception that indicates that the operation would exceed a limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateProtectionGroup func (c *Shield) CreateProtectionGroup(input *CreateProtectionGroupInput) (*CreateProtectionGroupOutput, error) { @@ -716,14 +716,13 @@ const opCreateSubscription = "CreateSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSubscriptionRequest method. +// req, resp := client.CreateSubscriptionRequest(params) // -// // Example sending a request using the CreateSubscriptionRequest method. -// req, resp := client.CreateSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateSubscription func (c *Shield) CreateSubscriptionRequest(input *CreateSubscriptionInput) (req *request.Request, output *CreateSubscriptionOutput) { @@ -759,13 +758,14 @@ func (c *Shield) CreateSubscriptionRequest(input *CreateSubscriptionInput) (req // API operation CreateSubscription for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * ResourceAlreadyExistsException -// Exception indicating the specified resource already exists. If available, -// this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - ResourceAlreadyExistsException +// Exception indicating the specified resource already exists. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/CreateSubscription func (c *Shield) CreateSubscription(input *CreateSubscriptionInput) (*CreateSubscriptionOutput, error) { @@ -805,14 +805,13 @@ const opDeleteProtection = "DeleteProtection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProtectionRequest method. +// req, resp := client.DeleteProtectionRequest(params) // -// // Example sending a request using the DeleteProtectionRequest method. -// req, resp := client.DeleteProtectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteProtection func (c *Shield) DeleteProtectionRequest(input *DeleteProtectionInput) (req *request.Request, output *DeleteProtectionOutput) { @@ -844,17 +843,18 @@ func (c *Shield) DeleteProtectionRequest(input *DeleteProtectionInput) (req *req // API operation DeleteProtection for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. +// +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteProtection func (c *Shield) DeleteProtection(input *DeleteProtectionInput) (*DeleteProtectionOutput, error) { @@ -894,14 +894,13 @@ const opDeleteProtectionGroup = "DeleteProtectionGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteProtectionGroupRequest method. +// req, resp := client.DeleteProtectionGroupRequest(params) // -// // Example sending a request using the DeleteProtectionGroupRequest method. -// req, resp := client.DeleteProtectionGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteProtectionGroup func (c *Shield) DeleteProtectionGroupRequest(input *DeleteProtectionGroupInput) (req *request.Request, output *DeleteProtectionGroupOutput) { @@ -933,17 +932,18 @@ func (c *Shield) DeleteProtectionGroupRequest(input *DeleteProtectionGroupInput) // API operation DeleteProtectionGroup for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteProtectionGroup func (c *Shield) DeleteProtectionGroup(input *DeleteProtectionGroupInput) (*DeleteProtectionGroupOutput, error) { @@ -983,14 +983,13 @@ const opDeleteSubscription = "DeleteSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSubscriptionRequest method. +// req, resp := client.DeleteSubscriptionRequest(params) // -// // Example sending a request using the DeleteSubscriptionRequest method. -// req, resp := client.DeleteSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteSubscription // @@ -1029,19 +1028,20 @@ func (c *Shield) DeleteSubscriptionRequest(input *DeleteSubscriptionInput) (req // API operation DeleteSubscription for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * LockedSubscriptionException -// You are trying to update a subscription that has not yet completed the 1-year -// commitment. You can change the AutoRenew parameter during the last 30 days -// of your subscription. This exception indicates that you are attempting to -// change AutoRenew prior to that period. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - LockedSubscriptionException +// You are trying to update a subscription that has not yet completed the 1-year +// commitment. You can change the AutoRenew parameter during the last 30 days +// of your subscription. This exception indicates that you are attempting to +// change AutoRenew prior to that period. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DeleteSubscription // @@ -1085,14 +1085,13 @@ const opDescribeAttack = "DescribeAttack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAttackRequest method. +// req, resp := client.DescribeAttackRequest(params) // -// // Example sending a request using the DescribeAttackRequest method. -// req, resp := client.DescribeAttackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeAttack func (c *Shield) DescribeAttackRequest(input *DescribeAttackInput) (req *request.Request, output *DescribeAttackOutput) { @@ -1123,13 +1122,14 @@ func (c *Shield) DescribeAttackRequest(input *DescribeAttackInput) (req *request // API operation DescribeAttack for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * AccessDeniedException -// Exception that indicates the specified AttackId does not exist, or the requester -// does not have the appropriate permissions to access the AttackId. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - AccessDeniedException +// Exception that indicates the specified AttackId does not exist, or the requester +// does not have the appropriate permissions to access the AttackId. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeAttack func (c *Shield) DescribeAttack(input *DescribeAttackInput) (*DescribeAttackOutput, error) { @@ -1169,14 +1169,13 @@ const opDescribeAttackStatistics = "DescribeAttackStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAttackStatisticsRequest method. +// req, resp := client.DescribeAttackStatisticsRequest(params) // -// // Example sending a request using the DescribeAttackStatisticsRequest method. -// req, resp := client.DescribeAttackStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeAttackStatistics func (c *Shield) DescribeAttackStatisticsRequest(input *DescribeAttackStatisticsInput) (req *request.Request, output *DescribeAttackStatisticsOutput) { @@ -1218,9 +1217,9 @@ func (c *Shield) DescribeAttackStatisticsRequest(input *DescribeAttackStatistics // API operation DescribeAttackStatistics for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeAttackStatistics func (c *Shield) DescribeAttackStatistics(input *DescribeAttackStatisticsInput) (*DescribeAttackStatisticsOutput, error) { @@ -1260,14 +1259,13 @@ const opDescribeDRTAccess = "DescribeDRTAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDRTAccessRequest method. +// req, resp := client.DescribeDRTAccessRequest(params) // -// // Example sending a request using the DescribeDRTAccessRequest method. -// req, resp := client.DescribeDRTAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeDRTAccess func (c *Shield) DescribeDRTAccessRequest(input *DescribeDRTAccessInput) (req *request.Request, output *DescribeDRTAccessOutput) { @@ -1300,13 +1298,14 @@ func (c *Shield) DescribeDRTAccessRequest(input *DescribeDRTAccessInput) (req *r // API operation DescribeDRTAccess for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeDRTAccess func (c *Shield) DescribeDRTAccess(input *DescribeDRTAccessInput) (*DescribeDRTAccessOutput, error) { @@ -1346,14 +1345,13 @@ const opDescribeEmergencyContactSettings = "DescribeEmergencyContactSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEmergencyContactSettingsRequest method. +// req, resp := client.DescribeEmergencyContactSettingsRequest(params) // -// // Example sending a request using the DescribeEmergencyContactSettingsRequest method. -// req, resp := client.DescribeEmergencyContactSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeEmergencyContactSettings func (c *Shield) DescribeEmergencyContactSettingsRequest(input *DescribeEmergencyContactSettingsInput) (req *request.Request, output *DescribeEmergencyContactSettingsOutput) { @@ -1386,13 +1384,14 @@ func (c *Shield) DescribeEmergencyContactSettingsRequest(input *DescribeEmergenc // API operation DescribeEmergencyContactSettings for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeEmergencyContactSettings func (c *Shield) DescribeEmergencyContactSettings(input *DescribeEmergencyContactSettingsInput) (*DescribeEmergencyContactSettingsOutput, error) { @@ -1432,14 +1431,13 @@ const opDescribeProtection = "DescribeProtection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProtectionRequest method. +// req, resp := client.DescribeProtectionRequest(params) // -// // Example sending a request using the DescribeProtectionRequest method. -// req, resp := client.DescribeProtectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeProtection func (c *Shield) DescribeProtectionRequest(input *DescribeProtectionInput) (req *request.Request, output *DescribeProtectionOutput) { @@ -1470,17 +1468,18 @@ func (c *Shield) DescribeProtectionRequest(input *DescribeProtectionInput) (req // API operation DescribeProtection for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. +// +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeProtection func (c *Shield) DescribeProtection(input *DescribeProtectionInput) (*DescribeProtectionOutput, error) { @@ -1520,14 +1519,13 @@ const opDescribeProtectionGroup = "DescribeProtectionGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeProtectionGroupRequest method. +// req, resp := client.DescribeProtectionGroupRequest(params) // -// // Example sending a request using the DescribeProtectionGroupRequest method. -// req, resp := client.DescribeProtectionGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeProtectionGroup func (c *Shield) DescribeProtectionGroupRequest(input *DescribeProtectionGroupInput) (req *request.Request, output *DescribeProtectionGroupOutput) { @@ -1558,13 +1556,14 @@ func (c *Shield) DescribeProtectionGroupRequest(input *DescribeProtectionGroupIn // API operation DescribeProtectionGroup for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeProtectionGroup func (c *Shield) DescribeProtectionGroup(input *DescribeProtectionGroupInput) (*DescribeProtectionGroupOutput, error) { @@ -1604,14 +1603,13 @@ const opDescribeSubscription = "DescribeSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSubscriptionRequest method. +// req, resp := client.DescribeSubscriptionRequest(params) // -// // Example sending a request using the DescribeSubscriptionRequest method. -// req, resp := client.DescribeSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeSubscription func (c *Shield) DescribeSubscriptionRequest(input *DescribeSubscriptionInput) (req *request.Request, output *DescribeSubscriptionOutput) { @@ -1642,13 +1640,14 @@ func (c *Shield) DescribeSubscriptionRequest(input *DescribeSubscriptionInput) ( // API operation DescribeSubscription for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DescribeSubscription func (c *Shield) DescribeSubscription(input *DescribeSubscriptionInput) (*DescribeSubscriptionOutput, error) { @@ -1688,14 +1687,13 @@ const opDisableApplicationLayerAutomaticResponse = "DisableApplicationLayerAutom // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableApplicationLayerAutomaticResponseRequest method. +// req, resp := client.DisableApplicationLayerAutomaticResponseRequest(params) // -// // Example sending a request using the DisableApplicationLayerAutomaticResponseRequest method. -// req, resp := client.DisableApplicationLayerAutomaticResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DisableApplicationLayerAutomaticResponse func (c *Shield) DisableApplicationLayerAutomaticResponseRequest(input *DisableApplicationLayerAutomaticResponseInput) (req *request.Request, output *DisableApplicationLayerAutomaticResponseOutput) { @@ -1729,25 +1727,26 @@ func (c *Shield) DisableApplicationLayerAutomaticResponseRequest(input *DisableA // API operation DisableApplicationLayerAutomaticResponse for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. // -// * InvalidOperationException -// Exception that indicates that the operation would not cause any change to -// occur. +// - InvalidOperationException +// Exception that indicates that the operation would not cause any change to +// occur. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DisableApplicationLayerAutomaticResponse func (c *Shield) DisableApplicationLayerAutomaticResponse(input *DisableApplicationLayerAutomaticResponseInput) (*DisableApplicationLayerAutomaticResponseOutput, error) { @@ -1787,14 +1786,13 @@ const opDisableProactiveEngagement = "DisableProactiveEngagement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableProactiveEngagementRequest method. +// req, resp := client.DisableProactiveEngagementRequest(params) // -// // Example sending a request using the DisableProactiveEngagementRequest method. -// req, resp := client.DisableProactiveEngagementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DisableProactiveEngagement func (c *Shield) DisableProactiveEngagementRequest(input *DisableProactiveEngagementInput) (req *request.Request, output *DisableProactiveEngagementOutput) { @@ -1827,25 +1825,26 @@ func (c *Shield) DisableProactiveEngagementRequest(input *DisableProactiveEngage // API operation DisableProactiveEngagement for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidOperationException -// Exception that indicates that the operation would not cause any change to -// occur. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - InvalidOperationException +// Exception that indicates that the operation would not cause any change to +// occur. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DisableProactiveEngagement func (c *Shield) DisableProactiveEngagement(input *DisableProactiveEngagementInput) (*DisableProactiveEngagementOutput, error) { @@ -1885,14 +1884,13 @@ const opDisassociateDRTLogBucket = "DisassociateDRTLogBucket" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateDRTLogBucketRequest method. +// req, resp := client.DisassociateDRTLogBucketRequest(params) // -// // Example sending a request using the DisassociateDRTLogBucketRequest method. -// req, resp := client.DisassociateDRTLogBucketRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DisassociateDRTLogBucket func (c *Shield) DisassociateDRTLogBucketRequest(input *DisassociateDRTLogBucketInput) (req *request.Request, output *DisassociateDRTLogBucketOutput) { @@ -1925,31 +1923,32 @@ func (c *Shield) DisassociateDRTLogBucketRequest(input *DisassociateDRTLogBucket // API operation DisassociateDRTLogBucket for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidOperationException -// Exception that indicates that the operation would not cause any change to -// occur. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - InvalidOperationException +// Exception that indicates that the operation would not cause any change to +// occur. // -// * NoAssociatedRoleException -// The ARN of the role that you specifed does not exist. +// - NoAssociatedRoleException +// The ARN of the role that you specifed does not exist. // -// * AccessDeniedForDependencyException -// In order to grant the necessary access to the Shield Response Team (SRT) -// the user submitting the request must have the iam:PassRole permission. This -// error indicates the user did not have the appropriate permissions. For more -// information, see Granting a User Permissions to Pass a Role to an Amazon -// Web Services Service (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html). +// - AccessDeniedForDependencyException +// In order to grant the necessary access to the Shield Response Team (SRT) +// the user submitting the request must have the iam:PassRole permission. This +// error indicates the user did not have the appropriate permissions. For more +// information, see Granting a User Permissions to Pass a Role to an Amazon +// Web Services Service (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html). // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DisassociateDRTLogBucket func (c *Shield) DisassociateDRTLogBucket(input *DisassociateDRTLogBucketInput) (*DisassociateDRTLogBucketOutput, error) { @@ -1989,14 +1988,13 @@ const opDisassociateDRTRole = "DisassociateDRTRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateDRTRoleRequest method. +// req, resp := client.DisassociateDRTRoleRequest(params) // -// // Example sending a request using the DisassociateDRTRoleRequest method. -// req, resp := client.DisassociateDRTRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DisassociateDRTRole func (c *Shield) DisassociateDRTRoleRequest(input *DisassociateDRTRoleInput) (req *request.Request, output *DisassociateDRTRoleOutput) { @@ -2029,21 +2027,22 @@ func (c *Shield) DisassociateDRTRoleRequest(input *DisassociateDRTRoleInput) (re // API operation DisassociateDRTRole for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidOperationException -// Exception that indicates that the operation would not cause any change to -// occur. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - InvalidOperationException +// Exception that indicates that the operation would not cause any change to +// occur. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DisassociateDRTRole func (c *Shield) DisassociateDRTRole(input *DisassociateDRTRoleInput) (*DisassociateDRTRoleOutput, error) { @@ -2083,14 +2082,13 @@ const opDisassociateHealthCheck = "DisassociateHealthCheck" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateHealthCheckRequest method. +// req, resp := client.DisassociateHealthCheckRequest(params) // -// // Example sending a request using the DisassociateHealthCheckRequest method. -// req, resp := client.DisassociateHealthCheckRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DisassociateHealthCheck func (c *Shield) DisassociateHealthCheckRequest(input *DisassociateHealthCheckInput) (req *request.Request, output *DisassociateHealthCheckOutput) { @@ -2130,25 +2128,26 @@ func (c *Shield) DisassociateHealthCheckRequest(input *DisassociateHealthCheckIn // API operation DisassociateHealthCheck for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // -// * InvalidResourceException -// Exception that indicates that the resource is invalid. You might not have -// access to the resource, or the resource might not exist. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. +// +// - InvalidResourceException +// Exception that indicates that the resource is invalid. You might not have +// access to the resource, or the resource might not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/DisassociateHealthCheck func (c *Shield) DisassociateHealthCheck(input *DisassociateHealthCheckInput) (*DisassociateHealthCheckOutput, error) { @@ -2188,14 +2187,13 @@ const opEnableApplicationLayerAutomaticResponse = "EnableApplicationLayerAutomat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableApplicationLayerAutomaticResponseRequest method. +// req, resp := client.EnableApplicationLayerAutomaticResponseRequest(params) // -// // Example sending a request using the EnableApplicationLayerAutomaticResponseRequest method. -// req, resp := client.EnableApplicationLayerAutomaticResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/EnableApplicationLayerAutomaticResponse func (c *Shield) EnableApplicationLayerAutomaticResponseRequest(input *EnableApplicationLayerAutomaticResponseInput) (req *request.Request, output *EnableApplicationLayerAutomaticResponseOutput) { @@ -2250,28 +2248,29 @@ func (c *Shield) EnableApplicationLayerAutomaticResponseRequest(input *EnableApp // API operation EnableApplicationLayerAutomaticResponse for usage and error information. // // Returned Error Types: -// * LimitsExceededException -// Exception that indicates that the operation would exceed a limit. // -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. +// - LimitsExceededException +// Exception that indicates that the operation would exceed a limit. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // -// * InvalidOperationException -// Exception that indicates that the operation would not cause any change to -// occur. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. +// +// - InvalidOperationException +// Exception that indicates that the operation would not cause any change to +// occur. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/EnableApplicationLayerAutomaticResponse func (c *Shield) EnableApplicationLayerAutomaticResponse(input *EnableApplicationLayerAutomaticResponseInput) (*EnableApplicationLayerAutomaticResponseOutput, error) { @@ -2311,14 +2310,13 @@ const opEnableProactiveEngagement = "EnableProactiveEngagement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EnableProactiveEngagementRequest method. +// req, resp := client.EnableProactiveEngagementRequest(params) // -// // Example sending a request using the EnableProactiveEngagementRequest method. -// req, resp := client.EnableProactiveEngagementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/EnableProactiveEngagement func (c *Shield) EnableProactiveEngagementRequest(input *EnableProactiveEngagementInput) (req *request.Request, output *EnableProactiveEngagementOutput) { @@ -2352,25 +2350,26 @@ func (c *Shield) EnableProactiveEngagementRequest(input *EnableProactiveEngageme // API operation EnableProactiveEngagement for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidOperationException -// Exception that indicates that the operation would not cause any change to -// occur. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - InvalidOperationException +// Exception that indicates that the operation would not cause any change to +// occur. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/EnableProactiveEngagement func (c *Shield) EnableProactiveEngagement(input *EnableProactiveEngagementInput) (*EnableProactiveEngagementOutput, error) { @@ -2410,14 +2409,13 @@ const opGetSubscriptionState = "GetSubscriptionState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSubscriptionStateRequest method. +// req, resp := client.GetSubscriptionStateRequest(params) // -// // Example sending a request using the GetSubscriptionStateRequest method. -// req, resp := client.GetSubscriptionStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/GetSubscriptionState func (c *Shield) GetSubscriptionStateRequest(input *GetSubscriptionStateInput) (req *request.Request, output *GetSubscriptionStateOutput) { @@ -2448,9 +2446,9 @@ func (c *Shield) GetSubscriptionStateRequest(input *GetSubscriptionStateInput) ( // API operation GetSubscriptionState for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/GetSubscriptionState func (c *Shield) GetSubscriptionState(input *GetSubscriptionStateInput) (*GetSubscriptionStateOutput, error) { @@ -2490,14 +2488,13 @@ const opListAttacks = "ListAttacks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAttacksRequest method. +// req, resp := client.ListAttacksRequest(params) // -// // Example sending a request using the ListAttacksRequest method. -// req, resp := client.ListAttacksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacks func (c *Shield) ListAttacksRequest(input *ListAttacksInput) (req *request.Request, output *ListAttacksOutput) { @@ -2535,17 +2532,18 @@ func (c *Shield) ListAttacksRequest(input *ListAttacksInput) (req *request.Reque // API operation ListAttacks for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. // -// * InvalidOperationException -// Exception that indicates that the operation would not cause any change to -// occur. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. +// +// - InvalidOperationException +// Exception that indicates that the operation would not cause any change to +// occur. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListAttacks func (c *Shield) ListAttacks(input *ListAttacksInput) (*ListAttacksOutput, error) { @@ -2577,15 +2575,14 @@ func (c *Shield) ListAttacksWithContext(ctx aws.Context, input *ListAttacksInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAttacks operation. -// pageNum := 0 -// err := client.ListAttacksPages(params, -// func(page *shield.ListAttacksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAttacks operation. +// pageNum := 0 +// err := client.ListAttacksPages(params, +// func(page *shield.ListAttacksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Shield) ListAttacksPages(input *ListAttacksInput, fn func(*ListAttacksOutput, bool) bool) error { return c.ListAttacksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2637,14 +2634,13 @@ const opListProtectionGroups = "ListProtectionGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProtectionGroupsRequest method. +// req, resp := client.ListProtectionGroupsRequest(params) // -// // Example sending a request using the ListProtectionGroupsRequest method. -// req, resp := client.ListProtectionGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtectionGroups func (c *Shield) ListProtectionGroupsRequest(input *ListProtectionGroupsInput) (req *request.Request, output *ListProtectionGroupsOutput) { @@ -2681,18 +2677,19 @@ func (c *Shield) ListProtectionGroupsRequest(input *ListProtectionGroupsInput) ( // API operation ListProtectionGroups for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. // -// * InvalidPaginationTokenException -// Exception that indicates that the NextToken specified in the request is invalid. -// Submit the request using the NextToken value that was returned in the prior -// response. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. +// +// - InvalidPaginationTokenException +// Exception that indicates that the NextToken specified in the request is invalid. +// Submit the request using the NextToken value that was returned in the prior +// response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtectionGroups func (c *Shield) ListProtectionGroups(input *ListProtectionGroupsInput) (*ListProtectionGroupsOutput, error) { @@ -2724,15 +2721,14 @@ func (c *Shield) ListProtectionGroupsWithContext(ctx aws.Context, input *ListPro // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProtectionGroups operation. -// pageNum := 0 -// err := client.ListProtectionGroupsPages(params, -// func(page *shield.ListProtectionGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProtectionGroups operation. +// pageNum := 0 +// err := client.ListProtectionGroupsPages(params, +// func(page *shield.ListProtectionGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Shield) ListProtectionGroupsPages(input *ListProtectionGroupsInput, fn func(*ListProtectionGroupsOutput, bool) bool) error { return c.ListProtectionGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2784,14 +2780,13 @@ const opListProtections = "ListProtections" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProtectionsRequest method. +// req, resp := client.ListProtectionsRequest(params) // -// // Example sending a request using the ListProtectionsRequest method. -// req, resp := client.ListProtectionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtections func (c *Shield) ListProtectionsRequest(input *ListProtectionsInput) (req *request.Request, output *ListProtectionsOutput) { @@ -2828,18 +2823,19 @@ func (c *Shield) ListProtectionsRequest(input *ListProtectionsInput) (req *reque // API operation ListProtections for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // -// * InvalidPaginationTokenException -// Exception that indicates that the NextToken specified in the request is invalid. -// Submit the request using the NextToken value that was returned in the prior -// response. +// - InvalidPaginationTokenException +// Exception that indicates that the NextToken specified in the request is invalid. +// Submit the request using the NextToken value that was returned in the prior +// response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListProtections func (c *Shield) ListProtections(input *ListProtectionsInput) (*ListProtectionsOutput, error) { @@ -2871,15 +2867,14 @@ func (c *Shield) ListProtectionsWithContext(ctx aws.Context, input *ListProtecti // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListProtections operation. -// pageNum := 0 -// err := client.ListProtectionsPages(params, -// func(page *shield.ListProtectionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListProtections operation. +// pageNum := 0 +// err := client.ListProtectionsPages(params, +// func(page *shield.ListProtectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Shield) ListProtectionsPages(input *ListProtectionsInput, fn func(*ListProtectionsOutput, bool) bool) error { return c.ListProtectionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2931,14 +2926,13 @@ const opListResourcesInProtectionGroup = "ListResourcesInProtectionGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourcesInProtectionGroupRequest method. +// req, resp := client.ListResourcesInProtectionGroupRequest(params) // -// // Example sending a request using the ListResourcesInProtectionGroupRequest method. -// req, resp := client.ListResourcesInProtectionGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListResourcesInProtectionGroup func (c *Shield) ListResourcesInProtectionGroupRequest(input *ListResourcesInProtectionGroupInput) (req *request.Request, output *ListResourcesInProtectionGroupOutput) { @@ -2975,18 +2969,19 @@ func (c *Shield) ListResourcesInProtectionGroupRequest(input *ListResourcesInPro // API operation ListResourcesInProtectionGroup for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // -// * InvalidPaginationTokenException -// Exception that indicates that the NextToken specified in the request is invalid. -// Submit the request using the NextToken value that was returned in the prior -// response. +// - InvalidPaginationTokenException +// Exception that indicates that the NextToken specified in the request is invalid. +// Submit the request using the NextToken value that was returned in the prior +// response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListResourcesInProtectionGroup func (c *Shield) ListResourcesInProtectionGroup(input *ListResourcesInProtectionGroupInput) (*ListResourcesInProtectionGroupOutput, error) { @@ -3018,15 +3013,14 @@ func (c *Shield) ListResourcesInProtectionGroupWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResourcesInProtectionGroup operation. -// pageNum := 0 -// err := client.ListResourcesInProtectionGroupPages(params, -// func(page *shield.ListResourcesInProtectionGroupOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResourcesInProtectionGroup operation. +// pageNum := 0 +// err := client.ListResourcesInProtectionGroupPages(params, +// func(page *shield.ListResourcesInProtectionGroupOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Shield) ListResourcesInProtectionGroupPages(input *ListResourcesInProtectionGroupInput, fn func(*ListResourcesInProtectionGroupOutput, bool) bool) error { return c.ListResourcesInProtectionGroupPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3078,14 +3072,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListTagsForResource func (c *Shield) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -3117,17 +3110,18 @@ func (c *Shield) ListTagsForResourceRequest(input *ListTagsForResourceInput) (re // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidResourceException -// Exception that indicates that the resource is invalid. You might not have -// access to the resource, or the resource might not exist. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - InvalidResourceException +// Exception that indicates that the resource is invalid. You might not have +// access to the resource, or the resource might not exist. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/ListTagsForResource func (c *Shield) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3167,14 +3161,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/TagResource func (c *Shield) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3206,21 +3199,22 @@ func (c *Shield) TagResourceRequest(input *TagResourceInput) (req *request.Reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidResourceException -// Exception that indicates that the resource is invalid. You might not have -// access to the resource, or the resource might not exist. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - InvalidResourceException +// Exception that indicates that the resource is invalid. You might not have +// access to the resource, or the resource might not exist. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/TagResource func (c *Shield) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3260,14 +3254,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/UntagResource func (c *Shield) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3299,21 +3292,22 @@ func (c *Shield) UntagResourceRequest(input *UntagResourceInput) (req *request.R // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidResourceException -// Exception that indicates that the resource is invalid. You might not have -// access to the resource, or the resource might not exist. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - InvalidResourceException +// Exception that indicates that the resource is invalid. You might not have +// access to the resource, or the resource might not exist. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/UntagResource func (c *Shield) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3353,14 +3347,13 @@ const opUpdateApplicationLayerAutomaticResponse = "UpdateApplicationLayerAutomat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateApplicationLayerAutomaticResponseRequest method. +// req, resp := client.UpdateApplicationLayerAutomaticResponseRequest(params) // -// // Example sending a request using the UpdateApplicationLayerAutomaticResponseRequest method. -// req, resp := client.UpdateApplicationLayerAutomaticResponseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/UpdateApplicationLayerAutomaticResponse func (c *Shield) UpdateApplicationLayerAutomaticResponseRequest(input *UpdateApplicationLayerAutomaticResponseInput) (req *request.Request, output *UpdateApplicationLayerAutomaticResponseOutput) { @@ -3393,25 +3386,26 @@ func (c *Shield) UpdateApplicationLayerAutomaticResponseRequest(input *UpdateApp // API operation UpdateApplicationLayerAutomaticResponse for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // -// * InvalidOperationException -// Exception that indicates that the operation would not cause any change to -// occur. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. +// +// - InvalidOperationException +// Exception that indicates that the operation would not cause any change to +// occur. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/UpdateApplicationLayerAutomaticResponse func (c *Shield) UpdateApplicationLayerAutomaticResponse(input *UpdateApplicationLayerAutomaticResponseInput) (*UpdateApplicationLayerAutomaticResponseOutput, error) { @@ -3451,14 +3445,13 @@ const opUpdateEmergencyContactSettings = "UpdateEmergencyContactSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateEmergencyContactSettingsRequest method. +// req, resp := client.UpdateEmergencyContactSettingsRequest(params) // -// // Example sending a request using the UpdateEmergencyContactSettingsRequest method. -// req, resp := client.UpdateEmergencyContactSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/UpdateEmergencyContactSettings func (c *Shield) UpdateEmergencyContactSettingsRequest(input *UpdateEmergencyContactSettingsInput) (req *request.Request, output *UpdateEmergencyContactSettingsOutput) { @@ -3493,21 +3486,22 @@ func (c *Shield) UpdateEmergencyContactSettingsRequest(input *UpdateEmergencyCon // API operation UpdateEmergencyContactSettings for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. +// +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/UpdateEmergencyContactSettings func (c *Shield) UpdateEmergencyContactSettings(input *UpdateEmergencyContactSettingsInput) (*UpdateEmergencyContactSettingsOutput, error) { @@ -3547,14 +3541,13 @@ const opUpdateProtectionGroup = "UpdateProtectionGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateProtectionGroupRequest method. +// req, resp := client.UpdateProtectionGroupRequest(params) // -// // Example sending a request using the UpdateProtectionGroupRequest method. -// req, resp := client.UpdateProtectionGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/UpdateProtectionGroup func (c *Shield) UpdateProtectionGroupRequest(input *UpdateProtectionGroupInput) (req *request.Request, output *UpdateProtectionGroupOutput) { @@ -3588,21 +3581,22 @@ func (c *Shield) UpdateProtectionGroupRequest(input *UpdateProtectionGroupInput) // API operation UpdateProtectionGroup for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. // -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. // -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. // -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/UpdateProtectionGroup func (c *Shield) UpdateProtectionGroup(input *UpdateProtectionGroupInput) (*UpdateProtectionGroupOutput, error) { @@ -3642,14 +3636,13 @@ const opUpdateSubscription = "UpdateSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSubscriptionRequest method. +// req, resp := client.UpdateSubscriptionRequest(params) // -// // Example sending a request using the UpdateSubscriptionRequest method. -// req, resp := client.UpdateSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/UpdateSubscription func (c *Shield) UpdateSubscriptionRequest(input *UpdateSubscriptionInput) (req *request.Request, output *UpdateSubscriptionOutput) { @@ -3682,27 +3675,28 @@ func (c *Shield) UpdateSubscriptionRequest(input *UpdateSubscriptionInput) (req // API operation UpdateSubscription for usage and error information. // // Returned Error Types: -// * InternalErrorException -// Exception that indicates that a problem occurred with the service infrastructure. -// You can retry the request. -// -// * LockedSubscriptionException -// You are trying to update a subscription that has not yet completed the 1-year -// commitment. You can change the AutoRenew parameter during the last 30 days -// of your subscription. This exception indicates that you are attempting to -// change AutoRenew prior to that period. -// -// * ResourceNotFoundException -// Exception indicating the specified resource does not exist. If available, -// this exception includes details in additional properties. -// -// * InvalidParameterException -// Exception that indicates that the parameters passed to the API are invalid. -// If available, this exception includes details in additional properties. -// -// * OptimisticLockException -// Exception that indicates that the resource state has been modified by another -// client. Retrieve the resource and then retry your request. +// +// - InternalErrorException +// Exception that indicates that a problem occurred with the service infrastructure. +// You can retry the request. +// +// - LockedSubscriptionException +// You are trying to update a subscription that has not yet completed the 1-year +// commitment. You can change the AutoRenew parameter during the last 30 days +// of your subscription. This exception indicates that you are attempting to +// change AutoRenew prior to that period. +// +// - ResourceNotFoundException +// Exception indicating the specified resource does not exist. If available, +// this exception includes details in additional properties. +// +// - InvalidParameterException +// Exception that indicates that the parameters passed to the API are invalid. +// If available, this exception includes details in additional properties. +// +// - OptimisticLockException +// Exception that indicates that the resource state has been modified by another +// client. Retrieve the resource and then retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/shield-2016-06-02/UpdateSubscription func (c *Shield) UpdateSubscription(input *UpdateSubscriptionInput) (*UpdateSubscriptionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/doc.go index 53a843645054..043fa619418f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/doc.go @@ -14,7 +14,7 @@ // See shield package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/shield/ // -// Using the Client +// # Using the Client // // To contact AWS Shield with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/service.go index 799c90dcc8ac..314dc9beffbf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Shield client from just a session. -// svc := shield.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Shield client with additional configuration -// svc := shield.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Shield client from just a session. +// svc := shield.New(mySession) +// +// // Create a Shield client with additional configuration +// svc := shield.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Shield { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/shieldiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/shieldiface/interface.go index 33456f0e456e..47262fe1c4aa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/shieldiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/shield/shieldiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Shield. -// func myFunc(svc shieldiface.ShieldAPI) bool { -// // Make svc.AssociateDRTLogBucket request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Shield. +// func myFunc(svc shieldiface.ShieldAPI) bool { +// // Make svc.AssociateDRTLogBucket request +// } // -// func main() { -// sess := session.New() -// svc := shield.New(sess) +// func main() { +// sess := session.New() +// svc := shield.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockShieldClient struct { -// shieldiface.ShieldAPI -// } -// func (m *mockShieldClient) AssociateDRTLogBucket(input *shield.AssociateDRTLogBucketInput) (*shield.AssociateDRTLogBucketOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockShieldClient struct { +// shieldiface.ShieldAPI +// } +// func (m *mockShieldClient) AssociateDRTLogBucket(input *shield.AssociateDRTLogBucketInput) (*shield.AssociateDRTLogBucketOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockShieldClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockShieldClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/api.go index ebd7753592fe..75d53d2563db 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/api.go @@ -29,14 +29,13 @@ const opAddProfilePermission = "AddProfilePermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddProfilePermissionRequest method. +// req, resp := client.AddProfilePermissionRequest(params) // -// // Example sending a request using the AddProfilePermissionRequest method. -// req, resp := client.AddProfilePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/AddProfilePermission func (c *Signer) AddProfilePermissionRequest(input *AddProfilePermissionInput) (req *request.Request, output *AddProfilePermissionOutput) { @@ -67,28 +66,29 @@ func (c *Signer) AddProfilePermissionRequest(input *AddProfilePermissionInput) ( // API operation AddProfilePermission for usage and error information. // // Returned Error Types: -// * ValidationException -// You signing certificate could not be validated. // -// * ResourceNotFoundException -// A specified resource could not be found. +// - ValidationException +// You signing certificate could not be validated. +// +// - ResourceNotFoundException +// A specified resource could not be found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ServiceLimitExceededException -// The client is making a request that exceeds service limits. +// - ServiceLimitExceededException +// The client is making a request that exceeds service limits. // -// * ConflictException -// The resource encountered a conflicting state. +// - ConflictException +// The resource encountered a conflicting state. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// This error supersedes the error ThrottlingException. +// This error supersedes the error ThrottlingException. // -// * InternalServiceErrorException -// An internal error occurred. +// - InternalServiceErrorException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/AddProfilePermission func (c *Signer) AddProfilePermission(input *AddProfilePermissionInput) (*AddProfilePermissionOutput, error) { @@ -128,14 +128,13 @@ const opCancelSigningProfile = "CancelSigningProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelSigningProfileRequest method. +// req, resp := client.CancelSigningProfileRequest(params) // -// // Example sending a request using the CancelSigningProfileRequest method. -// req, resp := client.CancelSigningProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/CancelSigningProfile func (c *Signer) CancelSigningProfileRequest(input *CancelSigningProfileInput) (req *request.Request, output *CancelSigningProfileOutput) { @@ -169,19 +168,20 @@ func (c *Signer) CancelSigningProfileRequest(input *CancelSigningProfileInput) ( // API operation CancelSigningProfile for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A specified resource could not be found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// A specified resource could not be found. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// This error supersedes the error ThrottlingException. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// * InternalServiceErrorException -// An internal error occurred. +// This error supersedes the error ThrottlingException. +// +// - InternalServiceErrorException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/CancelSigningProfile func (c *Signer) CancelSigningProfile(input *CancelSigningProfileInput) (*CancelSigningProfileOutput, error) { @@ -221,14 +221,13 @@ const opDescribeSigningJob = "DescribeSigningJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSigningJobRequest method. +// req, resp := client.DescribeSigningJobRequest(params) // -// // Example sending a request using the DescribeSigningJobRequest method. -// req, resp := client.DescribeSigningJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/DescribeSigningJob func (c *Signer) DescribeSigningJobRequest(input *DescribeSigningJobInput) (req *request.Request, output *DescribeSigningJobOutput) { @@ -260,19 +259,20 @@ func (c *Signer) DescribeSigningJobRequest(input *DescribeSigningJobInput) (req // API operation DescribeSigningJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A specified resource could not be found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// A specified resource could not be found. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// This error supersedes the error ThrottlingException. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// * InternalServiceErrorException -// An internal error occurred. +// This error supersedes the error ThrottlingException. +// +// - InternalServiceErrorException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/DescribeSigningJob func (c *Signer) DescribeSigningJob(input *DescribeSigningJobInput) (*DescribeSigningJobOutput, error) { @@ -312,14 +312,13 @@ const opGetSigningPlatform = "GetSigningPlatform" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSigningPlatformRequest method. +// req, resp := client.GetSigningPlatformRequest(params) // -// // Example sending a request using the GetSigningPlatformRequest method. -// req, resp := client.GetSigningPlatformRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetSigningPlatform func (c *Signer) GetSigningPlatformRequest(input *GetSigningPlatformInput) (req *request.Request, output *GetSigningPlatformOutput) { @@ -350,19 +349,20 @@ func (c *Signer) GetSigningPlatformRequest(input *GetSigningPlatformInput) (req // API operation GetSigningPlatform for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A specified resource could not be found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// A specified resource could not be found. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// This error supersedes the error ThrottlingException. +// This error supersedes the error ThrottlingException. // -// * InternalServiceErrorException -// An internal error occurred. +// - InternalServiceErrorException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetSigningPlatform func (c *Signer) GetSigningPlatform(input *GetSigningPlatformInput) (*GetSigningPlatformOutput, error) { @@ -402,14 +402,13 @@ const opGetSigningProfile = "GetSigningProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSigningProfileRequest method. +// req, resp := client.GetSigningProfileRequest(params) // -// // Example sending a request using the GetSigningProfileRequest method. -// req, resp := client.GetSigningProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetSigningProfile func (c *Signer) GetSigningProfileRequest(input *GetSigningProfileInput) (req *request.Request, output *GetSigningProfileOutput) { @@ -440,19 +439,20 @@ func (c *Signer) GetSigningProfileRequest(input *GetSigningProfileInput) (req *r // API operation GetSigningProfile for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A specified resource could not be found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// A specified resource could not be found. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// This error supersedes the error ThrottlingException. +// This error supersedes the error ThrottlingException. // -// * InternalServiceErrorException -// An internal error occurred. +// - InternalServiceErrorException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/GetSigningProfile func (c *Signer) GetSigningProfile(input *GetSigningProfileInput) (*GetSigningProfileOutput, error) { @@ -492,14 +492,13 @@ const opListProfilePermissions = "ListProfilePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListProfilePermissionsRequest method. +// req, resp := client.ListProfilePermissionsRequest(params) // -// // Example sending a request using the ListProfilePermissionsRequest method. -// req, resp := client.ListProfilePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListProfilePermissions func (c *Signer) ListProfilePermissionsRequest(input *ListProfilePermissionsInput) (req *request.Request, output *ListProfilePermissionsOutput) { @@ -530,22 +529,23 @@ func (c *Signer) ListProfilePermissionsRequest(input *ListProfilePermissionsInpu // API operation ListProfilePermissions for usage and error information. // // Returned Error Types: -// * ValidationException -// You signing certificate could not be validated. // -// * ResourceNotFoundException -// A specified resource could not be found. +// - ValidationException +// You signing certificate could not be validated. +// +// - ResourceNotFoundException +// A specified resource could not be found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// This error supersedes the error ThrottlingException. +// This error supersedes the error ThrottlingException. // -// * InternalServiceErrorException -// An internal error occurred. +// - InternalServiceErrorException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListProfilePermissions func (c *Signer) ListProfilePermissions(input *ListProfilePermissionsInput) (*ListProfilePermissionsOutput, error) { @@ -585,14 +585,13 @@ const opListSigningJobs = "ListSigningJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSigningJobsRequest method. +// req, resp := client.ListSigningJobsRequest(params) // -// // Example sending a request using the ListSigningJobsRequest method. -// req, resp := client.ListSigningJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningJobs func (c *Signer) ListSigningJobsRequest(input *ListSigningJobsInput) (req *request.Request, output *ListSigningJobsOutput) { @@ -635,19 +634,20 @@ func (c *Signer) ListSigningJobsRequest(input *ListSigningJobsInput) (req *reque // API operation ListSigningJobs for usage and error information. // // Returned Error Types: -// * ValidationException -// You signing certificate could not be validated. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// You signing certificate could not be validated. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// This error supersedes the error ThrottlingException. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// * InternalServiceErrorException -// An internal error occurred. +// This error supersedes the error ThrottlingException. +// +// - InternalServiceErrorException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningJobs func (c *Signer) ListSigningJobs(input *ListSigningJobsInput) (*ListSigningJobsOutput, error) { @@ -679,15 +679,14 @@ func (c *Signer) ListSigningJobsWithContext(ctx aws.Context, input *ListSigningJ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSigningJobs operation. -// pageNum := 0 -// err := client.ListSigningJobsPages(params, -// func(page *signer.ListSigningJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSigningJobs operation. +// pageNum := 0 +// err := client.ListSigningJobsPages(params, +// func(page *signer.ListSigningJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Signer) ListSigningJobsPages(input *ListSigningJobsInput, fn func(*ListSigningJobsOutput, bool) bool) error { return c.ListSigningJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -739,14 +738,13 @@ const opListSigningPlatforms = "ListSigningPlatforms" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSigningPlatformsRequest method. +// req, resp := client.ListSigningPlatformsRequest(params) // -// // Example sending a request using the ListSigningPlatformsRequest method. -// req, resp := client.ListSigningPlatformsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningPlatforms func (c *Signer) ListSigningPlatformsRequest(input *ListSigningPlatformsInput) (req *request.Request, output *ListSigningPlatformsOutput) { @@ -788,19 +786,20 @@ func (c *Signer) ListSigningPlatformsRequest(input *ListSigningPlatformsInput) ( // API operation ListSigningPlatforms for usage and error information. // // Returned Error Types: -// * ValidationException -// You signing certificate could not be validated. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// You signing certificate could not be validated. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// This error supersedes the error ThrottlingException. +// This error supersedes the error ThrottlingException. // -// * InternalServiceErrorException -// An internal error occurred. +// - InternalServiceErrorException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningPlatforms func (c *Signer) ListSigningPlatforms(input *ListSigningPlatformsInput) (*ListSigningPlatformsOutput, error) { @@ -832,15 +831,14 @@ func (c *Signer) ListSigningPlatformsWithContext(ctx aws.Context, input *ListSig // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSigningPlatforms operation. -// pageNum := 0 -// err := client.ListSigningPlatformsPages(params, -// func(page *signer.ListSigningPlatformsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSigningPlatforms operation. +// pageNum := 0 +// err := client.ListSigningPlatformsPages(params, +// func(page *signer.ListSigningPlatformsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Signer) ListSigningPlatformsPages(input *ListSigningPlatformsInput, fn func(*ListSigningPlatformsOutput, bool) bool) error { return c.ListSigningPlatformsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -892,14 +890,13 @@ const opListSigningProfiles = "ListSigningProfiles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSigningProfilesRequest method. +// req, resp := client.ListSigningProfilesRequest(params) // -// // Example sending a request using the ListSigningProfilesRequest method. -// req, resp := client.ListSigningProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningProfiles func (c *Signer) ListSigningProfilesRequest(input *ListSigningProfilesInput) (req *request.Request, output *ListSigningProfilesOutput) { @@ -942,16 +939,17 @@ func (c *Signer) ListSigningProfilesRequest(input *ListSigningProfilesInput) (re // API operation ListSigningProfiles for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// This error supersedes the error ThrottlingException. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// * InternalServiceErrorException -// An internal error occurred. +// This error supersedes the error ThrottlingException. +// +// - InternalServiceErrorException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListSigningProfiles func (c *Signer) ListSigningProfiles(input *ListSigningProfilesInput) (*ListSigningProfilesOutput, error) { @@ -983,15 +981,14 @@ func (c *Signer) ListSigningProfilesWithContext(ctx aws.Context, input *ListSign // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSigningProfiles operation. -// pageNum := 0 -// err := client.ListSigningProfilesPages(params, -// func(page *signer.ListSigningProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSigningProfiles operation. +// pageNum := 0 +// err := client.ListSigningProfilesPages(params, +// func(page *signer.ListSigningProfilesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Signer) ListSigningProfilesPages(input *ListSigningProfilesInput, fn func(*ListSigningProfilesOutput, bool) bool) error { return c.ListSigningProfilesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1043,14 +1040,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListTagsForResource func (c *Signer) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1081,20 +1077,21 @@ func (c *Signer) ListTagsForResourceRequest(input *ListTagsForResourceInput) (re // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServiceErrorException -// An internal error occurred. // -// * BadRequestException -// The request contains invalid parameters for the ARN or tags. This exception -// also occurs when you call a tagging API on a cancelled signing profile. +// - InternalServiceErrorException +// An internal error occurred. // -// * NotFoundException -// The signing profile was not found. +// - BadRequestException +// The request contains invalid parameters for the ARN or tags. This exception +// also occurs when you call a tagging API on a cancelled signing profile. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - NotFoundException +// The signing profile was not found. // -// This error supersedes the error ThrottlingException. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. +// +// This error supersedes the error ThrottlingException. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/ListTagsForResource func (c *Signer) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1134,14 +1131,13 @@ const opPutSigningProfile = "PutSigningProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutSigningProfileRequest method. +// req, resp := client.PutSigningProfileRequest(params) // -// // Example sending a request using the PutSigningProfileRequest method. -// req, resp := client.PutSigningProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/PutSigningProfile func (c *Signer) PutSigningProfileRequest(input *PutSigningProfileInput) (req *request.Request, output *PutSigningProfileOutput) { @@ -1175,22 +1171,23 @@ func (c *Signer) PutSigningProfileRequest(input *PutSigningProfileInput) (req *r // API operation PutSigningProfile for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// A specified resource could not be found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// A specified resource could not be found. // -// * ValidationException -// You signing certificate could not be validated. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - ValidationException +// You signing certificate could not be validated. // -// This error supersedes the error ThrottlingException. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// * InternalServiceErrorException -// An internal error occurred. +// This error supersedes the error ThrottlingException. +// +// - InternalServiceErrorException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/PutSigningProfile func (c *Signer) PutSigningProfile(input *PutSigningProfileInput) (*PutSigningProfileOutput, error) { @@ -1230,14 +1227,13 @@ const opRemoveProfilePermission = "RemoveProfilePermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveProfilePermissionRequest method. +// req, resp := client.RemoveProfilePermissionRequest(params) // -// // Example sending a request using the RemoveProfilePermissionRequest method. -// req, resp := client.RemoveProfilePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RemoveProfilePermission func (c *Signer) RemoveProfilePermissionRequest(input *RemoveProfilePermissionInput) (req *request.Request, output *RemoveProfilePermissionOutput) { @@ -1268,25 +1264,26 @@ func (c *Signer) RemoveProfilePermissionRequest(input *RemoveProfilePermissionIn // API operation RemoveProfilePermission for usage and error information. // // Returned Error Types: -// * ValidationException -// You signing certificate could not be validated. // -// * ResourceNotFoundException -// A specified resource could not be found. +// - ValidationException +// You signing certificate could not be validated. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ResourceNotFoundException +// A specified resource could not be found. // -// * ConflictException -// The resource encountered a conflicting state. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - ConflictException +// The resource encountered a conflicting state. // -// This error supersedes the error ThrottlingException. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// * InternalServiceErrorException -// An internal error occurred. +// This error supersedes the error ThrottlingException. +// +// - InternalServiceErrorException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RemoveProfilePermission func (c *Signer) RemoveProfilePermission(input *RemoveProfilePermissionInput) (*RemoveProfilePermissionOutput, error) { @@ -1326,14 +1323,13 @@ const opRevokeSignature = "RevokeSignature" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeSignatureRequest method. +// req, resp := client.RevokeSignatureRequest(params) // -// // Example sending a request using the RevokeSignatureRequest method. -// req, resp := client.RevokeSignatureRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RevokeSignature func (c *Signer) RevokeSignatureRequest(input *RevokeSignatureInput) (req *request.Request, output *RevokeSignatureOutput) { @@ -1366,22 +1362,23 @@ func (c *Signer) RevokeSignatureRequest(input *RevokeSignatureInput) (req *reque // API operation RevokeSignature for usage and error information. // // Returned Error Types: -// * ValidationException -// You signing certificate could not be validated. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// You signing certificate could not be validated. // -// * ResourceNotFoundException -// A specified resource could not be found. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - ResourceNotFoundException +// A specified resource could not be found. // -// This error supersedes the error ThrottlingException. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// * InternalServiceErrorException -// An internal error occurred. +// This error supersedes the error ThrottlingException. +// +// - InternalServiceErrorException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RevokeSignature func (c *Signer) RevokeSignature(input *RevokeSignatureInput) (*RevokeSignatureOutput, error) { @@ -1421,14 +1418,13 @@ const opRevokeSigningProfile = "RevokeSigningProfile" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeSigningProfileRequest method. +// req, resp := client.RevokeSigningProfileRequest(params) // -// // Example sending a request using the RevokeSigningProfileRequest method. -// req, resp := client.RevokeSigningProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RevokeSigningProfile func (c *Signer) RevokeSigningProfileRequest(input *RevokeSigningProfileInput) (req *request.Request, output *RevokeSigningProfileOutput) { @@ -1462,22 +1458,23 @@ func (c *Signer) RevokeSigningProfileRequest(input *RevokeSigningProfileInput) ( // API operation RevokeSigningProfile for usage and error information. // // Returned Error Types: -// * ValidationException -// You signing certificate could not be validated. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// You signing certificate could not be validated. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ResourceNotFoundException -// A specified resource could not be found. +// - ResourceNotFoundException +// A specified resource could not be found. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// This error supersedes the error ThrottlingException. +// This error supersedes the error ThrottlingException. // -// * InternalServiceErrorException -// An internal error occurred. +// - InternalServiceErrorException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/RevokeSigningProfile func (c *Signer) RevokeSigningProfile(input *RevokeSigningProfileInput) (*RevokeSigningProfileOutput, error) { @@ -1517,14 +1514,13 @@ const opStartSigningJob = "StartSigningJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartSigningJobRequest method. +// req, resp := client.StartSigningJobRequest(params) // -// // Example sending a request using the StartSigningJobRequest method. -// req, resp := client.StartSigningJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/StartSigningJob func (c *Signer) StartSigningJobRequest(input *StartSigningJobInput) (req *request.Request, output *StartSigningJobOutput) { @@ -1549,20 +1545,20 @@ func (c *Signer) StartSigningJobRequest(input *StartSigningJobInput) (req *reque // are viewable by the ListSigningJobs operation for two years after they are // performed. Note the following requirements: // -// * You must create an Amazon S3 source bucket. For more information, see -// Create a Bucket (http://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html) -// in the Amazon S3 Getting Started Guide. +// - You must create an Amazon S3 source bucket. For more information, see +// Create a Bucket (http://docs.aws.amazon.com/AmazonS3/latest/gsg/CreatingABucket.html) +// in the Amazon S3 Getting Started Guide. // -// * Your S3 source bucket must be version enabled. +// - Your S3 source bucket must be version enabled. // -// * You must create an S3 destination bucket. Code signing uses your S3 -// destination bucket to write your signed code. +// - You must create an S3 destination bucket. Code signing uses your S3 +// destination bucket to write your signed code. // -// * You specify the name of the source and destination buckets when calling -// the StartSigningJob operation. +// - You specify the name of the source and destination buckets when calling +// the StartSigningJob operation. // -// * You must also specify a request token that identifies your request to -// code signing. +// - You must also specify a request token that identifies your request to +// code signing. // // You can call the DescribeSigningJob and the ListSigningJobs actions after // you call StartSigningJob. @@ -1578,27 +1574,28 @@ func (c *Signer) StartSigningJobRequest(input *StartSigningJobInput) (req *reque // API operation StartSigningJob for usage and error information. // // Returned Error Types: -// * ValidationException -// You signing certificate could not be validated. // -// * ResourceNotFoundException -// A specified resource could not be found. +// - ValidationException +// You signing certificate could not be validated. +// +// - ResourceNotFoundException +// A specified resource could not be found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// Instead of this error, TooManyRequestsException should be used. +// Instead of this error, TooManyRequestsException should be used. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// This error supersedes the error ThrottlingException. +// This error supersedes the error ThrottlingException. // -// * InternalServiceErrorException -// An internal error occurred. +// - InternalServiceErrorException +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/StartSigningJob func (c *Signer) StartSigningJob(input *StartSigningJobInput) (*StartSigningJobOutput, error) { @@ -1638,14 +1635,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/TagResource func (c *Signer) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1680,20 +1676,21 @@ func (c *Signer) TagResourceRequest(input *TagResourceInput) (req *request.Reque // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServiceErrorException -// An internal error occurred. // -// * BadRequestException -// The request contains invalid parameters for the ARN or tags. This exception -// also occurs when you call a tagging API on a cancelled signing profile. +// - InternalServiceErrorException +// An internal error occurred. +// +// - BadRequestException +// The request contains invalid parameters for the ARN or tags. This exception +// also occurs when you call a tagging API on a cancelled signing profile. // -// * NotFoundException -// The signing profile was not found. +// - NotFoundException +// The signing profile was not found. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// This error supersedes the error ThrottlingException. +// This error supersedes the error ThrottlingException. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/TagResource func (c *Signer) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1733,14 +1730,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/UntagResource func (c *Signer) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1773,20 +1769,21 @@ func (c *Signer) UntagResourceRequest(input *UntagResourceInput) (req *request.R // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServiceErrorException -// An internal error occurred. // -// * BadRequestException -// The request contains invalid parameters for the ARN or tags. This exception -// also occurs when you call a tagging API on a cancelled signing profile. +// - InternalServiceErrorException +// An internal error occurred. +// +// - BadRequestException +// The request contains invalid parameters for the ARN or tags. This exception +// also occurs when you call a tagging API on a cancelled signing profile. // -// * NotFoundException -// The signing profile was not found. +// - NotFoundException +// The signing profile was not found. // -// * TooManyRequestsException -// The allowed number of job-signing requests has been exceeded. +// - TooManyRequestsException +// The allowed number of job-signing requests has been exceeded. // -// This error supersedes the error ThrottlingException. +// This error supersedes the error ThrottlingException. // // See also, https://docs.aws.amazon.com/goto/WebAPI/signer-2017-08-25/UntagResource func (c *Signer) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/doc.go index 0925464187aa..0e7de82af604 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/doc.go @@ -29,7 +29,7 @@ // See signer package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/signer/ // -// Using the Client +// # Using the Client // // To contact AWS Signer with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/service.go index bae97747fe84..305de6c3ecea 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Signer client from just a session. -// svc := signer.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Signer client with additional configuration -// svc := signer.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Signer client from just a session. +// svc := signer.New(mySession) +// +// // Create a Signer client with additional configuration +// svc := signer.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Signer { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/signeriface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/signeriface/interface.go index c6993c0246fb..ea8214886b77 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/signeriface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/signer/signeriface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Signer. -// func myFunc(svc signeriface.SignerAPI) bool { -// // Make svc.AddProfilePermission request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Signer. +// func myFunc(svc signeriface.SignerAPI) bool { +// // Make svc.AddProfilePermission request +// } // -// func main() { -// sess := session.New() -// svc := signer.New(sess) +// func main() { +// sess := session.New() +// svc := signer.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSignerClient struct { -// signeriface.SignerAPI -// } -// func (m *mockSignerClient) AddProfilePermission(input *signer.AddProfilePermissionInput) (*signer.AddProfilePermissionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSignerClient struct { +// signeriface.SignerAPI +// } +// func (m *mockSignerClient) AddProfilePermission(input *signer.AddProfilePermissionInput) (*signer.AddProfilePermissionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSignerClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSignerClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/api.go index edd058f39ef8..3ba3bec8d52c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/api.go @@ -28,14 +28,13 @@ const opBatchDeleteAttributes = "BatchDeleteAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchDeleteAttributesRequest method. +// req, resp := client.BatchDeleteAttributesRequest(params) // -// // Example sending a request using the BatchDeleteAttributesRequest method. -// req, resp := client.BatchDeleteAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SimpleDB) BatchDeleteAttributesRequest(input *BatchDeleteAttributesInput) (req *request.Request, output *BatchDeleteAttributesOutput) { op := &request.Operation{ Name: opBatchDeleteAttributes, @@ -77,9 +76,10 @@ func (c *SimpleDB) BatchDeleteAttributesRequest(input *BatchDeleteAttributesInpu // or Expected.X.Exists. // // The following limitations are enforced for this operation: -// * 1 MB request size // -// * 25 item limit per BatchDeleteAttributes operation +// - 1 MB request size +// +// - 25 item limit per BatchDeleteAttributes operation // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -124,14 +124,13 @@ const opBatchPutAttributes = "BatchPutAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchPutAttributesRequest method. +// req, resp := client.BatchPutAttributesRequest(params) // -// // Example sending a request using the BatchPutAttributesRequest method. -// req, resp := client.BatchPutAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SimpleDB) BatchPutAttributesRequest(input *BatchPutAttributesInput) (req *request.Request, output *BatchPutAttributesOutput) { op := &request.Operation{ Name: opBatchPutAttributes, @@ -178,33 +177,40 @@ func (c *SimpleDB) BatchPutAttributesRequest(input *BatchPutAttributesInput) (re // a BatchPutAttributes of {'I', 'b', '4' } with the Replace parameter set to // true, the final attributes of the item will be { 'a', '1' } and { 'b', '4' // }, replacing the previous values of the 'b' attribute with the new value. -// You cannot specify an empty string as an item or as an attribute name. -// The -// BatchPutAttributes -// operation succeeds or fails in its entirety. There are no partial puts. -// This operation is vulnerable to exceeding the maximum URL size when making -// a REST request using the HTTP GET method. This operation does not support -// conditions using -// Expected.X.Name +// +// You cannot specify an empty string as an item or as an attribute name. +// The +// BatchPutAttributes +// operation succeeds or fails in its entirety. There are no partial puts. +// This operation is vulnerable to exceeding the maximum URL size when making +// a REST request using the HTTP GET method. This operation does not support +// conditions using +// Expected.X.Name +// // , -// Expected.X.Value +// +// Expected.X.Value +// // , or -// Expected.X.Exists +// +// Expected.X.Exists +// // . // You can execute multiple BatchPutAttributes operations and other operations // in parallel. However, large numbers of concurrent BatchPutAttributes calls // can result in Service Unavailable (503) responses. // // The following limitations are enforced for this operation: -// * 256 attribute name-value pairs per item // -// * 1 MB request size +// - 256 attribute name-value pairs per item +// +// - 1 MB request size // -// * 1 billion attributes per domain +// - 1 billion attributes per domain // -// * 10 GB of total user data storage per domain +// - 10 GB of total user data storage per domain // -// * 25 item limit per BatchPutAttributes operation +// - 25 item limit per BatchPutAttributes operation // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -214,33 +220,33 @@ func (c *SimpleDB) BatchPutAttributesRequest(input *BatchPutAttributesInput) (re // API operation BatchPutAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeDuplicateItemName "DuplicateItemName" -// The item name was specified more than once. // -// * ErrCodeInvalidParameterValue "InvalidParameterValue" -// The value for a parameter is invalid. +// - ErrCodeDuplicateItemName "DuplicateItemName" +// The item name was specified more than once. // -// * ErrCodeMissingParameter "MissingParameter" -// The request must contain the specified missing parameter. +// - ErrCodeInvalidParameterValue "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeNoSuchDomain "NoSuchDomain" -// The specified domain does not exist. +// - ErrCodeMissingParameter "MissingParameter" +// The request must contain the specified missing parameter. // -// * ErrCodeNumberItemAttributesExceeded "NumberItemAttributesExceeded" -// Too many attributes in this item. +// - ErrCodeNoSuchDomain "NoSuchDomain" +// The specified domain does not exist. // -// * ErrCodeNumberDomainAttributesExceeded "NumberDomainAttributesExceeded" -// Too many attributes in this domain. +// - ErrCodeNumberItemAttributesExceeded "NumberItemAttributesExceeded" +// Too many attributes in this item. // -// * ErrCodeNumberDomainBytesExceeded "NumberDomainBytesExceeded" -// Too many bytes in this domain. +// - ErrCodeNumberDomainAttributesExceeded "NumberDomainAttributesExceeded" +// Too many attributes in this domain. // -// * ErrCodeNumberSubmittedItemsExceeded "NumberSubmittedItemsExceeded" -// Too many items exist in a single call. +// - ErrCodeNumberDomainBytesExceeded "NumberDomainBytesExceeded" +// Too many bytes in this domain. // -// * ErrCodeNumberSubmittedAttributesExceeded "NumberSubmittedAttributesExceeded" -// Too many attributes exist in a single call. +// - ErrCodeNumberSubmittedItemsExceeded "NumberSubmittedItemsExceeded" +// Too many items exist in a single call. // +// - ErrCodeNumberSubmittedAttributesExceeded "NumberSubmittedAttributesExceeded" +// Too many attributes exist in a single call. func (c *SimpleDB) BatchPutAttributes(input *BatchPutAttributesInput) (*BatchPutAttributesOutput, error) { req, out := c.BatchPutAttributesRequest(input) return out, req.Send() @@ -278,14 +284,13 @@ const opCreateDomain = "CreateDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDomainRequest method. +// req, resp := client.CreateDomainRequest(params) // -// // Example sending a request using the CreateDomainRequest method. -// req, resp := client.CreateDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SimpleDB) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) { op := &request.Operation{ Name: opCreateDomain, @@ -308,8 +313,10 @@ func (c *SimpleDB) CreateDomainRequest(input *CreateDomainInput) (req *request.R // The CreateDomain operation creates a new domain. The domain name should be // unique among the domains associated with the Access Key ID provided in the // request. The CreateDomain operation may take 10 or more seconds to complete. -// CreateDomain is an idempotent operation; running it multiple times using -// the same domain name will not result in an error response. +// +// CreateDomain is an idempotent operation; running it multiple times using +// the same domain name will not result in an error response. +// // The client can create up to 100 domains per account. // // If the client requires additional domains, go to http://aws.amazon.com/contact-us/simpledb-limit-request/ @@ -323,15 +330,15 @@ func (c *SimpleDB) CreateDomainRequest(input *CreateDomainInput) (req *request.R // API operation CreateDomain for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValue "InvalidParameterValue" -// The value for a parameter is invalid. // -// * ErrCodeMissingParameter "MissingParameter" -// The request must contain the specified missing parameter. +// - ErrCodeInvalidParameterValue "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeNumberDomainsExceeded "NumberDomainsExceeded" -// Too many domains exist per this account. +// - ErrCodeMissingParameter "MissingParameter" +// The request must contain the specified missing parameter. // +// - ErrCodeNumberDomainsExceeded "NumberDomainsExceeded" +// Too many domains exist per this account. func (c *SimpleDB) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) { req, out := c.CreateDomainRequest(input) return out, req.Send() @@ -369,14 +376,13 @@ const opDeleteAttributes = "DeleteAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAttributesRequest method. +// req, resp := client.DeleteAttributesRequest(params) // -// // Example sending a request using the DeleteAttributesRequest method. -// req, resp := client.DeleteAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SimpleDB) DeleteAttributesRequest(input *DeleteAttributesInput) (req *request.Request, output *DeleteAttributesOutput) { op := &request.Operation{ Name: opDeleteAttributes, @@ -398,10 +404,12 @@ func (c *SimpleDB) DeleteAttributesRequest(input *DeleteAttributesInput) (req *r // // Deletes one or more attributes associated with an item. If all attributes // of the item are deleted, the item is deleted. -// If -// DeleteAttributes -// is called without being passed any attributes or values specified, all the -// attributes for the item are deleted. +// +// If +// DeleteAttributes +// is called without being passed any attributes or values specified, all the +// attributes for the item are deleted. +// // DeleteAttributes is an idempotent operation; running it multiple times on // the same item or attribute does not result in an error response. // @@ -418,18 +426,18 @@ func (c *SimpleDB) DeleteAttributesRequest(input *DeleteAttributesInput) (req *r // API operation DeleteAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValue "InvalidParameterValue" -// The value for a parameter is invalid. // -// * ErrCodeMissingParameter "MissingParameter" -// The request must contain the specified missing parameter. +// - ErrCodeInvalidParameterValue "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeNoSuchDomain "NoSuchDomain" -// The specified domain does not exist. +// - ErrCodeMissingParameter "MissingParameter" +// The request must contain the specified missing parameter. // -// * ErrCodeAttributeDoesNotExist "AttributeDoesNotExist" -// The specified attribute does not exist. +// - ErrCodeNoSuchDomain "NoSuchDomain" +// The specified domain does not exist. // +// - ErrCodeAttributeDoesNotExist "AttributeDoesNotExist" +// The specified attribute does not exist. func (c *SimpleDB) DeleteAttributes(input *DeleteAttributesInput) (*DeleteAttributesOutput, error) { req, out := c.DeleteAttributesRequest(input) return out, req.Send() @@ -467,14 +475,13 @@ const opDeleteDomain = "DeleteDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainRequest method. +// req, resp := client.DeleteDomainRequest(params) // -// // Example sending a request using the DeleteDomainRequest method. -// req, resp := client.DeleteDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SimpleDB) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) { op := &request.Operation{ Name: opDeleteDomain, @@ -497,10 +504,11 @@ func (c *SimpleDB) DeleteDomainRequest(input *DeleteDomainInput) (req *request.R // The DeleteDomain operation deletes a domain. Any items (and their attributes) // in the domain are deleted as well. The DeleteDomain operation might take // 10 or more seconds to complete. -// Running -// DeleteDomain -// on a domain that does not exist or running the function multiple times using -// the same domain name will not result in an error response. +// +// Running +// DeleteDomain +// on a domain that does not exist or running the function multiple times using +// the same domain name will not result in an error response. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -510,9 +518,8 @@ func (c *SimpleDB) DeleteDomainRequest(input *DeleteDomainInput) (req *request.R // API operation DeleteDomain for usage and error information. // // Returned Error Codes: -// * ErrCodeMissingParameter "MissingParameter" -// The request must contain the specified missing parameter. -// +// - ErrCodeMissingParameter "MissingParameter" +// The request must contain the specified missing parameter. func (c *SimpleDB) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) { req, out := c.DeleteDomainRequest(input) return out, req.Send() @@ -550,14 +557,13 @@ const opDomainMetadata = "DomainMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DomainMetadataRequest method. +// req, resp := client.DomainMetadataRequest(params) // -// // Example sending a request using the DomainMetadataRequest method. -// req, resp := client.DomainMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SimpleDB) DomainMetadataRequest(input *DomainMetadataInput) (req *request.Request, output *DomainMetadataOutput) { op := &request.Operation{ Name: opDomainMetadata, @@ -588,12 +594,12 @@ func (c *SimpleDB) DomainMetadataRequest(input *DomainMetadataInput) (req *reque // API operation DomainMetadata for usage and error information. // // Returned Error Codes: -// * ErrCodeMissingParameter "MissingParameter" -// The request must contain the specified missing parameter. // -// * ErrCodeNoSuchDomain "NoSuchDomain" -// The specified domain does not exist. +// - ErrCodeMissingParameter "MissingParameter" +// The request must contain the specified missing parameter. // +// - ErrCodeNoSuchDomain "NoSuchDomain" +// The specified domain does not exist. func (c *SimpleDB) DomainMetadata(input *DomainMetadataInput) (*DomainMetadataOutput, error) { req, out := c.DomainMetadataRequest(input) return out, req.Send() @@ -631,14 +637,13 @@ const opGetAttributes = "GetAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAttributesRequest method. +// req, resp := client.GetAttributesRequest(params) // -// // Example sending a request using the GetAttributesRequest method. -// req, resp := client.GetAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SimpleDB) GetAttributesRequest(input *GetAttributesInput) (req *request.Request, output *GetAttributesOutput) { op := &request.Operation{ Name: opGetAttributes, @@ -664,8 +669,9 @@ func (c *SimpleDB) GetAttributesRequest(input *GetAttributesInput) (req *request // If the item does not exist on the replica that was accessed for this operation, // an empty set is returned. The system does not return an error as it cannot // guarantee the item does not exist on other replicas. -// If GetAttributes is called without being passed any attribute names, all -// the attributes for the item are returned. +// +// If GetAttributes is called without being passed any attribute names, all +// the attributes for the item are returned. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -675,15 +681,15 @@ func (c *SimpleDB) GetAttributesRequest(input *GetAttributesInput) (req *request // API operation GetAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValue "InvalidParameterValue" -// The value for a parameter is invalid. // -// * ErrCodeMissingParameter "MissingParameter" -// The request must contain the specified missing parameter. +// - ErrCodeInvalidParameterValue "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeNoSuchDomain "NoSuchDomain" -// The specified domain does not exist. +// - ErrCodeMissingParameter "MissingParameter" +// The request must contain the specified missing parameter. // +// - ErrCodeNoSuchDomain "NoSuchDomain" +// The specified domain does not exist. func (c *SimpleDB) GetAttributes(input *GetAttributesInput) (*GetAttributesOutput, error) { req, out := c.GetAttributesRequest(input) return out, req.Send() @@ -721,14 +727,13 @@ const opListDomains = "ListDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainsRequest method. +// req, resp := client.ListDomainsRequest(params) // -// // Example sending a request using the ListDomainsRequest method. -// req, resp := client.ListDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SimpleDB) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) { op := &request.Operation{ Name: opListDomains, @@ -768,12 +773,12 @@ func (c *SimpleDB) ListDomainsRequest(input *ListDomainsInput) (req *request.Req // API operation ListDomains for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValue "InvalidParameterValue" -// The value for a parameter is invalid. // -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The specified NextToken is not valid. +// - ErrCodeInvalidParameterValue "InvalidParameterValue" +// The value for a parameter is invalid. // +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The specified NextToken is not valid. func (c *SimpleDB) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) { req, out := c.ListDomainsRequest(input) return out, req.Send() @@ -803,15 +808,14 @@ func (c *SimpleDB) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDomains operation. -// pageNum := 0 -// err := client.ListDomainsPages(params, -// func(page *simpledb.ListDomainsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDomains operation. +// pageNum := 0 +// err := client.ListDomainsPages(params, +// func(page *simpledb.ListDomainsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SimpleDB) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error { return c.ListDomainsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -863,14 +867,13 @@ const opPutAttributes = "PutAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAttributesRequest method. +// req, resp := client.PutAttributesRequest(params) // -// // Example sending a request using the PutAttributesRequest method. -// req, resp := client.PutAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SimpleDB) PutAttributesRequest(input *PutAttributesInput) (req *request.Request, output *PutAttributesOutput) { op := &request.Operation{ Name: opPutAttributes, @@ -908,10 +911,12 @@ func (c *SimpleDB) PutAttributesRequest(input *PutAttributesInput) (req *request // using the attributes { 'b', '4' } with the Replace parameter set to true, // the final attributes of the item are changed to { 'a', '1' } and { 'b', '4' // }, which replaces the previous values of the 'b' attribute with the new value. -// Using -// PutAttributes -// to replace attribute values that do not exist will not result in an error -// response. +// +// Using +// PutAttributes +// to replace attribute values that do not exist will not result in an error +// response. +// // You cannot specify an empty string as an attribute name. // // Because Amazon SimpleDB makes multiple copies of client data and uses an @@ -920,11 +925,12 @@ func (c *SimpleDB) PutAttributesRequest(input *PutAttributesInput) (req *request // might not return the updated data. // // The following limitations are enforced for this operation: -// * 256 total attribute name-value pairs per item // -// * One billion attributes per domain +// - 256 total attribute name-value pairs per item // -// * 10 GB of total user data storage per domain +// - One billion attributes per domain +// +// - 10 GB of total user data storage per domain // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -934,27 +940,27 @@ func (c *SimpleDB) PutAttributesRequest(input *PutAttributesInput) (req *request // API operation PutAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValue "InvalidParameterValue" -// The value for a parameter is invalid. // -// * ErrCodeMissingParameter "MissingParameter" -// The request must contain the specified missing parameter. +// - ErrCodeInvalidParameterValue "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeNoSuchDomain "NoSuchDomain" -// The specified domain does not exist. +// - ErrCodeMissingParameter "MissingParameter" +// The request must contain the specified missing parameter. // -// * ErrCodeNumberDomainAttributesExceeded "NumberDomainAttributesExceeded" -// Too many attributes in this domain. +// - ErrCodeNoSuchDomain "NoSuchDomain" +// The specified domain does not exist. // -// * ErrCodeNumberDomainBytesExceeded "NumberDomainBytesExceeded" -// Too many bytes in this domain. +// - ErrCodeNumberDomainAttributesExceeded "NumberDomainAttributesExceeded" +// Too many attributes in this domain. // -// * ErrCodeNumberItemAttributesExceeded "NumberItemAttributesExceeded" -// Too many attributes in this item. +// - ErrCodeNumberDomainBytesExceeded "NumberDomainBytesExceeded" +// Too many bytes in this domain. // -// * ErrCodeAttributeDoesNotExist "AttributeDoesNotExist" -// The specified attribute does not exist. +// - ErrCodeNumberItemAttributesExceeded "NumberItemAttributesExceeded" +// Too many attributes in this item. // +// - ErrCodeAttributeDoesNotExist "AttributeDoesNotExist" +// The specified attribute does not exist. func (c *SimpleDB) PutAttributes(input *PutAttributesInput) (*PutAttributesOutput, error) { req, out := c.PutAttributesRequest(input) return out, req.Send() @@ -992,14 +998,13 @@ const opSelect = "Select" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SelectRequest method. +// req, resp := client.SelectRequest(params) // -// // Example sending a request using the SelectRequest method. -// req, resp := client.SelectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SimpleDB) SelectRequest(input *SelectInput) (req *request.Request, output *SelectOutput) { op := &request.Operation{ Name: opSelect, @@ -1044,34 +1049,34 @@ func (c *SimpleDB) SelectRequest(input *SelectInput) (req *request.Request, outp // API operation Select for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterValue "InvalidParameterValue" -// The value for a parameter is invalid. // -// * ErrCodeInvalidNextToken "InvalidNextToken" -// The specified NextToken is not valid. +// - ErrCodeInvalidParameterValue "InvalidParameterValue" +// The value for a parameter is invalid. // -// * ErrCodeInvalidNumberPredicates "InvalidNumberPredicates" -// Too many predicates exist in the query expression. +// - ErrCodeInvalidNextToken "InvalidNextToken" +// The specified NextToken is not valid. // -// * ErrCodeInvalidNumberValueTests "InvalidNumberValueTests" -// Too many predicates exist in the query expression. +// - ErrCodeInvalidNumberPredicates "InvalidNumberPredicates" +// Too many predicates exist in the query expression. // -// * ErrCodeInvalidQueryExpression "InvalidQueryExpression" -// The specified query expression syntax is not valid. +// - ErrCodeInvalidNumberValueTests "InvalidNumberValueTests" +// Too many predicates exist in the query expression. // -// * ErrCodeMissingParameter "MissingParameter" -// The request must contain the specified missing parameter. +// - ErrCodeInvalidQueryExpression "InvalidQueryExpression" +// The specified query expression syntax is not valid. // -// * ErrCodeNoSuchDomain "NoSuchDomain" -// The specified domain does not exist. +// - ErrCodeMissingParameter "MissingParameter" +// The request must contain the specified missing parameter. // -// * ErrCodeRequestTimeout "RequestTimeout" -// A timeout occurred when attempting to query the specified domain with specified -// query expression. +// - ErrCodeNoSuchDomain "NoSuchDomain" +// The specified domain does not exist. // -// * ErrCodeTooManyRequestedAttributes "TooManyRequestedAttributes" -// Too many attributes requested. +// - ErrCodeRequestTimeout "RequestTimeout" +// A timeout occurred when attempting to query the specified domain with specified +// query expression. // +// - ErrCodeTooManyRequestedAttributes "TooManyRequestedAttributes" +// Too many attributes requested. func (c *SimpleDB) Select(input *SelectInput) (*SelectOutput, error) { req, out := c.SelectRequest(input) return out, req.Send() @@ -1101,15 +1106,14 @@ func (c *SimpleDB) SelectWithContext(ctx aws.Context, input *SelectInput, opts . // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a Select operation. -// pageNum := 0 -// err := client.SelectPages(params, -// func(page *simpledb.SelectOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a Select operation. +// pageNum := 0 +// err := client.SelectPages(params, +// func(page *simpledb.SelectOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SimpleDB) SelectPages(input *SelectInput, fn func(*SelectOutput, bool) bool) error { return c.SelectPagesWithContext(aws.BackgroundContext(), input, fn) } diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/doc.go index f1cb0133dfd0..359c7743d827 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/doc.go @@ -22,7 +22,7 @@ // See simpledb package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/simpledb/ // -// Using the Client +// # Using the Client // // To contact Amazon SimpleDB with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/service.go index 590c3cd963a5..cd2ea6c1b303 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SimpleDB client from just a session. -// svc := simpledb.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SimpleDB client with additional configuration -// svc := simpledb.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SimpleDB client from just a session. +// svc := simpledb.New(mySession) +// +// // Create a SimpleDB client with additional configuration +// svc := simpledb.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SimpleDB { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/simpledbiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/simpledbiface/interface.go index 9e0432a22826..a268a0be969a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/simpledbiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/simpledb/simpledbiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon SimpleDB. -// func myFunc(svc simpledbiface.SimpleDBAPI) bool { -// // Make svc.BatchDeleteAttributes request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon SimpleDB. +// func myFunc(svc simpledbiface.SimpleDBAPI) bool { +// // Make svc.BatchDeleteAttributes request +// } // -// func main() { -// sess := session.New() -// svc := simpledb.New(sess) +// func main() { +// sess := session.New() +// svc := simpledb.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSimpleDBClient struct { -// simpledbiface.SimpleDBAPI -// } -// func (m *mockSimpleDBClient) BatchDeleteAttributes(input *simpledb.BatchDeleteAttributesInput) (*simpledb.BatchDeleteAttributesOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSimpleDBClient struct { +// simpledbiface.SimpleDBAPI +// } +// func (m *mockSimpleDBClient) BatchDeleteAttributes(input *simpledb.BatchDeleteAttributesInput) (*simpledb.BatchDeleteAttributesOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSimpleDBClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSimpleDBClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/api.go index 7aac5b15e00d..8ddb20620967 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/api.go @@ -29,14 +29,13 @@ const opCreateApp = "CreateApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAppRequest method. +// req, resp := client.CreateAppRequest(params) // -// // Example sending a request using the CreateAppRequest method. -// req, resp := client.CreateAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateApp func (c *SMS) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput) { @@ -68,21 +67,22 @@ func (c *SMS) CreateAppRequest(input *CreateAppInput) (req *request.Request, out // API operation CreateApp for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateApp func (c *SMS) CreateApp(input *CreateAppInput) (*CreateAppOutput, error) { @@ -122,14 +122,13 @@ const opCreateReplicationJob = "CreateReplicationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReplicationJobRequest method. +// req, resp := client.CreateReplicationJobRequest(params) // -// // Example sending a request using the CreateReplicationJobRequest method. -// req, resp := client.CreateReplicationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateReplicationJob func (c *SMS) CreateReplicationJobRequest(input *CreateReplicationJobInput) (req *request.Request, output *CreateReplicationJobOutput) { @@ -162,33 +161,34 @@ func (c *SMS) CreateReplicationJobRequest(input *CreateReplicationJobInput) (req // API operation CreateReplicationJob for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - InvalidParameterException +// A specified parameter is not valid. // -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * OperationNotPermittedException -// This operation is not allowed. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServerCannotBeReplicatedException -// The specified server cannot be replicated. +// - OperationNotPermittedException +// This operation is not allowed. // -// * ReplicationJobAlreadyExistsException -// The specified replication job already exists. +// - ServerCannotBeReplicatedException +// The specified server cannot be replicated. // -// * NoConnectorsAvailableException -// There are no connectors available. +// - ReplicationJobAlreadyExistsException +// The specified replication job already exists. // -// * InternalError -// An internal error occurred. +// - NoConnectorsAvailableException +// There are no connectors available. // -// * TemporarilyUnavailableException -// The service is temporarily unavailable. +// - InternalError +// An internal error occurred. +// +// - TemporarilyUnavailableException +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/CreateReplicationJob func (c *SMS) CreateReplicationJob(input *CreateReplicationJobInput) (*CreateReplicationJobOutput, error) { @@ -228,14 +228,13 @@ const opDeleteApp = "DeleteApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppRequest method. +// req, resp := client.DeleteAppRequest(params) // -// // Example sending a request using the DeleteAppRequest method. -// req, resp := client.DeleteAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteApp func (c *SMS) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput) { @@ -269,21 +268,22 @@ func (c *SMS) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, out // API operation DeleteApp for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - InvalidParameterException +// A specified parameter is not valid. // -// * InternalError -// An internal error occurred. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * OperationNotPermittedException -// This operation is not allowed. +// - InternalError +// An internal error occurred. +// +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteApp func (c *SMS) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error) { @@ -323,14 +323,13 @@ const opDeleteAppLaunchConfiguration = "DeleteAppLaunchConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppLaunchConfigurationRequest method. +// req, resp := client.DeleteAppLaunchConfigurationRequest(params) // -// // Example sending a request using the DeleteAppLaunchConfigurationRequest method. -// req, resp := client.DeleteAppLaunchConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppLaunchConfiguration func (c *SMS) DeleteAppLaunchConfigurationRequest(input *DeleteAppLaunchConfigurationInput) (req *request.Request, output *DeleteAppLaunchConfigurationOutput) { @@ -362,21 +361,22 @@ func (c *SMS) DeleteAppLaunchConfigurationRequest(input *DeleteAppLaunchConfigur // API operation DeleteAppLaunchConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppLaunchConfiguration func (c *SMS) DeleteAppLaunchConfiguration(input *DeleteAppLaunchConfigurationInput) (*DeleteAppLaunchConfigurationOutput, error) { @@ -416,14 +416,13 @@ const opDeleteAppReplicationConfiguration = "DeleteAppReplicationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppReplicationConfigurationRequest method. +// req, resp := client.DeleteAppReplicationConfigurationRequest(params) // -// // Example sending a request using the DeleteAppReplicationConfigurationRequest method. -// req, resp := client.DeleteAppReplicationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppReplicationConfiguration func (c *SMS) DeleteAppReplicationConfigurationRequest(input *DeleteAppReplicationConfigurationInput) (req *request.Request, output *DeleteAppReplicationConfigurationOutput) { @@ -455,21 +454,22 @@ func (c *SMS) DeleteAppReplicationConfigurationRequest(input *DeleteAppReplicati // API operation DeleteAppReplicationConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppReplicationConfiguration func (c *SMS) DeleteAppReplicationConfiguration(input *DeleteAppReplicationConfigurationInput) (*DeleteAppReplicationConfigurationOutput, error) { @@ -509,14 +509,13 @@ const opDeleteAppValidationConfiguration = "DeleteAppValidationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAppValidationConfigurationRequest method. +// req, resp := client.DeleteAppValidationConfigurationRequest(params) // -// // Example sending a request using the DeleteAppValidationConfigurationRequest method. -// req, resp := client.DeleteAppValidationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppValidationConfiguration func (c *SMS) DeleteAppValidationConfigurationRequest(input *DeleteAppValidationConfigurationInput) (req *request.Request, output *DeleteAppValidationConfigurationOutput) { @@ -548,21 +547,22 @@ func (c *SMS) DeleteAppValidationConfigurationRequest(input *DeleteAppValidation // API operation DeleteAppValidationConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteAppValidationConfiguration func (c *SMS) DeleteAppValidationConfiguration(input *DeleteAppValidationConfigurationInput) (*DeleteAppValidationConfigurationOutput, error) { @@ -602,14 +602,13 @@ const opDeleteReplicationJob = "DeleteReplicationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReplicationJobRequest method. +// req, resp := client.DeleteReplicationJobRequest(params) // -// // Example sending a request using the DeleteReplicationJobRequest method. -// req, resp := client.DeleteReplicationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteReplicationJob func (c *SMS) DeleteReplicationJobRequest(input *DeleteReplicationJobInput) (req *request.Request, output *DeleteReplicationJobOutput) { @@ -646,21 +645,22 @@ func (c *SMS) DeleteReplicationJobRequest(input *DeleteReplicationJobInput) (req // API operation DeleteReplicationJob for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - InvalidParameterException +// A specified parameter is not valid. // -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * OperationNotPermittedException -// This operation is not allowed. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ReplicationJobNotFoundException -// The specified replication job does not exist. +// - OperationNotPermittedException +// This operation is not allowed. +// +// - ReplicationJobNotFoundException +// The specified replication job does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteReplicationJob func (c *SMS) DeleteReplicationJob(input *DeleteReplicationJobInput) (*DeleteReplicationJobOutput, error) { @@ -700,14 +700,13 @@ const opDeleteServerCatalog = "DeleteServerCatalog" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServerCatalogRequest method. +// req, resp := client.DeleteServerCatalogRequest(params) // -// // Example sending a request using the DeleteServerCatalogRequest method. -// req, resp := client.DeleteServerCatalogRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteServerCatalog func (c *SMS) DeleteServerCatalogRequest(input *DeleteServerCatalogInput) (req *request.Request, output *DeleteServerCatalogOutput) { @@ -739,18 +738,19 @@ func (c *SMS) DeleteServerCatalogRequest(input *DeleteServerCatalogInput) (req * // API operation DeleteServerCatalog for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * OperationNotPermittedException -// This operation is not allowed. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - OperationNotPermittedException +// This operation is not allowed. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - InvalidParameterException +// A specified parameter is not valid. +// +// - MissingRequiredParameterException +// A required parameter is missing. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DeleteServerCatalog func (c *SMS) DeleteServerCatalog(input *DeleteServerCatalogInput) (*DeleteServerCatalogOutput, error) { @@ -790,14 +790,13 @@ const opDisassociateConnector = "DisassociateConnector" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateConnectorRequest method. +// req, resp := client.DisassociateConnectorRequest(params) // -// // Example sending a request using the DisassociateConnectorRequest method. -// req, resp := client.DisassociateConnectorRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DisassociateConnector func (c *SMS) DisassociateConnectorRequest(input *DisassociateConnectorInput) (req *request.Request, output *DisassociateConnectorOutput) { @@ -832,18 +831,19 @@ func (c *SMS) DisassociateConnectorRequest(input *DisassociateConnectorInput) (r // API operation DisassociateConnector for usage and error information. // // Returned Error Types: -// * MissingRequiredParameterException -// A required parameter is missing. // -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * OperationNotPermittedException -// This operation is not allowed. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - OperationNotPermittedException +// This operation is not allowed. +// +// - InvalidParameterException +// A specified parameter is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/DisassociateConnector func (c *SMS) DisassociateConnector(input *DisassociateConnectorInput) (*DisassociateConnectorOutput, error) { @@ -883,14 +883,13 @@ const opGenerateChangeSet = "GenerateChangeSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateChangeSetRequest method. +// req, resp := client.GenerateChangeSetRequest(params) // -// // Example sending a request using the GenerateChangeSetRequest method. -// req, resp := client.GenerateChangeSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GenerateChangeSet func (c *SMS) GenerateChangeSetRequest(input *GenerateChangeSetInput) (req *request.Request, output *GenerateChangeSetOutput) { @@ -922,21 +921,22 @@ func (c *SMS) GenerateChangeSetRequest(input *GenerateChangeSetInput) (req *requ // API operation GenerateChangeSet for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - InvalidParameterException +// A specified parameter is not valid. // -// * InternalError -// An internal error occurred. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * OperationNotPermittedException -// This operation is not allowed. +// - InternalError +// An internal error occurred. +// +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GenerateChangeSet func (c *SMS) GenerateChangeSet(input *GenerateChangeSetInput) (*GenerateChangeSetOutput, error) { @@ -976,14 +976,13 @@ const opGenerateTemplate = "GenerateTemplate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateTemplateRequest method. +// req, resp := client.GenerateTemplateRequest(params) // -// // Example sending a request using the GenerateTemplateRequest method. -// req, resp := client.GenerateTemplateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GenerateTemplate func (c *SMS) GenerateTemplateRequest(input *GenerateTemplateInput) (req *request.Request, output *GenerateTemplateOutput) { @@ -1015,21 +1014,22 @@ func (c *SMS) GenerateTemplateRequest(input *GenerateTemplateInput) (req *reques // API operation GenerateTemplate for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GenerateTemplate func (c *SMS) GenerateTemplate(input *GenerateTemplateInput) (*GenerateTemplateOutput, error) { @@ -1069,14 +1069,13 @@ const opGetApp = "GetApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAppRequest method. +// req, resp := client.GetAppRequest(params) // -// // Example sending a request using the GetAppRequest method. -// req, resp := client.GetAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetApp func (c *SMS) GetAppRequest(input *GetAppInput) (req *request.Request, output *GetAppOutput) { @@ -1107,21 +1106,22 @@ func (c *SMS) GetAppRequest(input *GetAppInput) (req *request.Request, output *G // API operation GetApp for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetApp func (c *SMS) GetApp(input *GetAppInput) (*GetAppOutput, error) { @@ -1161,14 +1161,13 @@ const opGetAppLaunchConfiguration = "GetAppLaunchConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAppLaunchConfigurationRequest method. +// req, resp := client.GetAppLaunchConfigurationRequest(params) // -// // Example sending a request using the GetAppLaunchConfigurationRequest method. -// req, resp := client.GetAppLaunchConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppLaunchConfiguration func (c *SMS) GetAppLaunchConfigurationRequest(input *GetAppLaunchConfigurationInput) (req *request.Request, output *GetAppLaunchConfigurationOutput) { @@ -1200,21 +1199,22 @@ func (c *SMS) GetAppLaunchConfigurationRequest(input *GetAppLaunchConfigurationI // API operation GetAppLaunchConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppLaunchConfiguration func (c *SMS) GetAppLaunchConfiguration(input *GetAppLaunchConfigurationInput) (*GetAppLaunchConfigurationOutput, error) { @@ -1254,14 +1254,13 @@ const opGetAppReplicationConfiguration = "GetAppReplicationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAppReplicationConfigurationRequest method. +// req, resp := client.GetAppReplicationConfigurationRequest(params) // -// // Example sending a request using the GetAppReplicationConfigurationRequest method. -// req, resp := client.GetAppReplicationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppReplicationConfiguration func (c *SMS) GetAppReplicationConfigurationRequest(input *GetAppReplicationConfigurationInput) (req *request.Request, output *GetAppReplicationConfigurationOutput) { @@ -1293,21 +1292,22 @@ func (c *SMS) GetAppReplicationConfigurationRequest(input *GetAppReplicationConf // API operation GetAppReplicationConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppReplicationConfiguration func (c *SMS) GetAppReplicationConfiguration(input *GetAppReplicationConfigurationInput) (*GetAppReplicationConfigurationOutput, error) { @@ -1347,14 +1347,13 @@ const opGetAppValidationConfiguration = "GetAppValidationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAppValidationConfigurationRequest method. +// req, resp := client.GetAppValidationConfigurationRequest(params) // -// // Example sending a request using the GetAppValidationConfigurationRequest method. -// req, resp := client.GetAppValidationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationConfiguration func (c *SMS) GetAppValidationConfigurationRequest(input *GetAppValidationConfigurationInput) (req *request.Request, output *GetAppValidationConfigurationOutput) { @@ -1385,21 +1384,22 @@ func (c *SMS) GetAppValidationConfigurationRequest(input *GetAppValidationConfig // API operation GetAppValidationConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationConfiguration func (c *SMS) GetAppValidationConfiguration(input *GetAppValidationConfigurationInput) (*GetAppValidationConfigurationOutput, error) { @@ -1439,14 +1439,13 @@ const opGetAppValidationOutput = "GetAppValidationOutput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAppValidationOutputRequest method. +// req, resp := client.GetAppValidationOutputRequest(params) // -// // Example sending a request using the GetAppValidationOutputRequest method. -// req, resp := client.GetAppValidationOutputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationOutput func (c *SMS) GetAppValidationOutputRequest(input *GetAppValidationOutputInput) (req *request.Request, output *GetAppValidationOutputOutput) { @@ -1477,21 +1476,22 @@ func (c *SMS) GetAppValidationOutputRequest(input *GetAppValidationOutputInput) // API operation GetAppValidationOutput for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - InvalidParameterException +// A specified parameter is not valid. // -// * InternalError -// An internal error occurred. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * OperationNotPermittedException -// This operation is not allowed. +// - InternalError +// An internal error occurred. +// +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetAppValidationOutput func (c *SMS) GetAppValidationOutput(input *GetAppValidationOutputInput) (*GetAppValidationOutputOutput, error) { @@ -1531,14 +1531,13 @@ const opGetConnectors = "GetConnectors" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConnectorsRequest method. +// req, resp := client.GetConnectorsRequest(params) // -// // Example sending a request using the GetConnectorsRequest method. -// req, resp := client.GetConnectorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetConnectors func (c *SMS) GetConnectorsRequest(input *GetConnectorsInput) (req *request.Request, output *GetConnectorsOutput) { @@ -1575,9 +1574,9 @@ func (c *SMS) GetConnectorsRequest(input *GetConnectorsInput) (req *request.Requ // API operation GetConnectors for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetConnectors func (c *SMS) GetConnectors(input *GetConnectorsInput) (*GetConnectorsOutput, error) { @@ -1609,15 +1608,14 @@ func (c *SMS) GetConnectorsWithContext(ctx aws.Context, input *GetConnectorsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetConnectors operation. -// pageNum := 0 -// err := client.GetConnectorsPages(params, -// func(page *sms.GetConnectorsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetConnectors operation. +// pageNum := 0 +// err := client.GetConnectorsPages(params, +// func(page *sms.GetConnectorsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SMS) GetConnectorsPages(input *GetConnectorsInput, fn func(*GetConnectorsOutput, bool) bool) error { return c.GetConnectorsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1669,14 +1667,13 @@ const opGetReplicationJobs = "GetReplicationJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReplicationJobsRequest method. +// req, resp := client.GetReplicationJobsRequest(params) // -// // Example sending a request using the GetReplicationJobsRequest method. -// req, resp := client.GetReplicationJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationJobs func (c *SMS) GetReplicationJobsRequest(input *GetReplicationJobsInput) (req *request.Request, output *GetReplicationJobsOutput) { @@ -1713,15 +1710,16 @@ func (c *SMS) GetReplicationJobsRequest(input *GetReplicationJobsInput) (req *re // API operation GetReplicationJobs for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - InvalidParameterException +// A specified parameter is not valid. // -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - MissingRequiredParameterException +// A required parameter is missing. +// +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationJobs func (c *SMS) GetReplicationJobs(input *GetReplicationJobsInput) (*GetReplicationJobsOutput, error) { @@ -1753,15 +1751,14 @@ func (c *SMS) GetReplicationJobsWithContext(ctx aws.Context, input *GetReplicati // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetReplicationJobs operation. -// pageNum := 0 -// err := client.GetReplicationJobsPages(params, -// func(page *sms.GetReplicationJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetReplicationJobs operation. +// pageNum := 0 +// err := client.GetReplicationJobsPages(params, +// func(page *sms.GetReplicationJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SMS) GetReplicationJobsPages(input *GetReplicationJobsInput, fn func(*GetReplicationJobsOutput, bool) bool) error { return c.GetReplicationJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1813,14 +1810,13 @@ const opGetReplicationRuns = "GetReplicationRuns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReplicationRunsRequest method. +// req, resp := client.GetReplicationRunsRequest(params) // -// // Example sending a request using the GetReplicationRunsRequest method. -// req, resp := client.GetReplicationRunsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationRuns func (c *SMS) GetReplicationRunsRequest(input *GetReplicationRunsInput) (req *request.Request, output *GetReplicationRunsOutput) { @@ -1857,15 +1853,16 @@ func (c *SMS) GetReplicationRunsRequest(input *GetReplicationRunsInput) (req *re // API operation GetReplicationRuns for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - InvalidParameterException +// A specified parameter is not valid. +// +// - MissingRequiredParameterException +// A required parameter is missing. // -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetReplicationRuns func (c *SMS) GetReplicationRuns(input *GetReplicationRunsInput) (*GetReplicationRunsOutput, error) { @@ -1897,15 +1894,14 @@ func (c *SMS) GetReplicationRunsWithContext(ctx aws.Context, input *GetReplicati // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetReplicationRuns operation. -// pageNum := 0 -// err := client.GetReplicationRunsPages(params, -// func(page *sms.GetReplicationRunsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetReplicationRuns operation. +// pageNum := 0 +// err := client.GetReplicationRunsPages(params, +// func(page *sms.GetReplicationRunsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SMS) GetReplicationRunsPages(input *GetReplicationRunsInput, fn func(*GetReplicationRunsOutput, bool) bool) error { return c.GetReplicationRunsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1957,14 +1953,13 @@ const opGetServers = "GetServers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServersRequest method. +// req, resp := client.GetServersRequest(params) // -// // Example sending a request using the GetServersRequest method. -// req, resp := client.GetServersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetServers func (c *SMS) GetServersRequest(input *GetServersInput) (req *request.Request, output *GetServersOutput) { @@ -2003,18 +1998,19 @@ func (c *SMS) GetServersRequest(input *GetServersInput) (req *request.Request, o // API operation GetServers for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/GetServers func (c *SMS) GetServers(input *GetServersInput) (*GetServersOutput, error) { @@ -2046,15 +2042,14 @@ func (c *SMS) GetServersWithContext(ctx aws.Context, input *GetServersInput, opt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetServers operation. -// pageNum := 0 -// err := client.GetServersPages(params, -// func(page *sms.GetServersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetServers operation. +// pageNum := 0 +// err := client.GetServersPages(params, +// func(page *sms.GetServersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SMS) GetServersPages(input *GetServersInput, fn func(*GetServersOutput, bool) bool) error { return c.GetServersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2106,14 +2101,13 @@ const opImportAppCatalog = "ImportAppCatalog" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportAppCatalogRequest method. +// req, resp := client.ImportAppCatalogRequest(params) // -// // Example sending a request using the ImportAppCatalogRequest method. -// req, resp := client.ImportAppCatalogRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportAppCatalog func (c *SMS) ImportAppCatalogRequest(input *ImportAppCatalogInput) (req *request.Request, output *ImportAppCatalogOutput) { @@ -2145,21 +2139,22 @@ func (c *SMS) ImportAppCatalogRequest(input *ImportAppCatalogInput) (req *reques // API operation ImportAppCatalog for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - InvalidParameterException +// A specified parameter is not valid. // -// * InternalError -// An internal error occurred. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * OperationNotPermittedException -// This operation is not allowed. +// - InternalError +// An internal error occurred. +// +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportAppCatalog func (c *SMS) ImportAppCatalog(input *ImportAppCatalogInput) (*ImportAppCatalogOutput, error) { @@ -2199,14 +2194,13 @@ const opImportServerCatalog = "ImportServerCatalog" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportServerCatalogRequest method. +// req, resp := client.ImportServerCatalogRequest(params) // -// // Example sending a request using the ImportServerCatalogRequest method. -// req, resp := client.ImportServerCatalogRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportServerCatalog func (c *SMS) ImportServerCatalogRequest(input *ImportServerCatalogInput) (req *request.Request, output *ImportServerCatalogOutput) { @@ -2242,21 +2236,22 @@ func (c *SMS) ImportServerCatalogRequest(input *ImportServerCatalogInput) (req * // API operation ImportServerCatalog for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * OperationNotPermittedException -// This operation is not allowed. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - OperationNotPermittedException +// This operation is not allowed. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - InvalidParameterException +// A specified parameter is not valid. // -// * NoConnectorsAvailableException -// There are no connectors available. +// - MissingRequiredParameterException +// A required parameter is missing. +// +// - NoConnectorsAvailableException +// There are no connectors available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ImportServerCatalog func (c *SMS) ImportServerCatalog(input *ImportServerCatalogInput) (*ImportServerCatalogOutput, error) { @@ -2296,14 +2291,13 @@ const opLaunchApp = "LaunchApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the LaunchAppRequest method. +// req, resp := client.LaunchAppRequest(params) // -// // Example sending a request using the LaunchAppRequest method. -// req, resp := client.LaunchAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/LaunchApp func (c *SMS) LaunchAppRequest(input *LaunchAppInput) (req *request.Request, output *LaunchAppOutput) { @@ -2335,21 +2329,22 @@ func (c *SMS) LaunchAppRequest(input *LaunchAppInput) (req *request.Request, out // API operation LaunchApp for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/LaunchApp func (c *SMS) LaunchApp(input *LaunchAppInput) (*LaunchAppOutput, error) { @@ -2389,14 +2384,13 @@ const opListApps = "ListApps" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAppsRequest method. +// req, resp := client.ListAppsRequest(params) // -// // Example sending a request using the ListAppsRequest method. -// req, resp := client.ListAppsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ListApps func (c *SMS) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput) { @@ -2427,21 +2421,22 @@ func (c *SMS) ListAppsRequest(input *ListAppsInput) (req *request.Request, outpu // API operation ListApps for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/ListApps func (c *SMS) ListApps(input *ListAppsInput) (*ListAppsOutput, error) { @@ -2481,14 +2476,13 @@ const opNotifyAppValidationOutput = "NotifyAppValidationOutput" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the NotifyAppValidationOutputRequest method. +// req, resp := client.NotifyAppValidationOutputRequest(params) // -// // Example sending a request using the NotifyAppValidationOutputRequest method. -// req, resp := client.NotifyAppValidationOutputRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/NotifyAppValidationOutput func (c *SMS) NotifyAppValidationOutputRequest(input *NotifyAppValidationOutputInput) (req *request.Request, output *NotifyAppValidationOutputOutput) { @@ -2521,21 +2515,22 @@ func (c *SMS) NotifyAppValidationOutputRequest(input *NotifyAppValidationOutputI // API operation NotifyAppValidationOutput for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/NotifyAppValidationOutput func (c *SMS) NotifyAppValidationOutput(input *NotifyAppValidationOutputInput) (*NotifyAppValidationOutputOutput, error) { @@ -2575,14 +2570,13 @@ const opPutAppLaunchConfiguration = "PutAppLaunchConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAppLaunchConfigurationRequest method. +// req, resp := client.PutAppLaunchConfigurationRequest(params) // -// // Example sending a request using the PutAppLaunchConfigurationRequest method. -// req, resp := client.PutAppLaunchConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppLaunchConfiguration func (c *SMS) PutAppLaunchConfigurationRequest(input *PutAppLaunchConfigurationInput) (req *request.Request, output *PutAppLaunchConfigurationOutput) { @@ -2614,21 +2608,22 @@ func (c *SMS) PutAppLaunchConfigurationRequest(input *PutAppLaunchConfigurationI // API operation PutAppLaunchConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppLaunchConfiguration func (c *SMS) PutAppLaunchConfiguration(input *PutAppLaunchConfigurationInput) (*PutAppLaunchConfigurationOutput, error) { @@ -2668,14 +2663,13 @@ const opPutAppReplicationConfiguration = "PutAppReplicationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAppReplicationConfigurationRequest method. +// req, resp := client.PutAppReplicationConfigurationRequest(params) // -// // Example sending a request using the PutAppReplicationConfigurationRequest method. -// req, resp := client.PutAppReplicationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppReplicationConfiguration func (c *SMS) PutAppReplicationConfigurationRequest(input *PutAppReplicationConfigurationInput) (req *request.Request, output *PutAppReplicationConfigurationOutput) { @@ -2707,21 +2701,22 @@ func (c *SMS) PutAppReplicationConfigurationRequest(input *PutAppReplicationConf // API operation PutAppReplicationConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppReplicationConfiguration func (c *SMS) PutAppReplicationConfiguration(input *PutAppReplicationConfigurationInput) (*PutAppReplicationConfigurationOutput, error) { @@ -2761,14 +2756,13 @@ const opPutAppValidationConfiguration = "PutAppValidationConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAppValidationConfigurationRequest method. +// req, resp := client.PutAppValidationConfigurationRequest(params) // -// // Example sending a request using the PutAppValidationConfigurationRequest method. -// req, resp := client.PutAppValidationConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppValidationConfiguration func (c *SMS) PutAppValidationConfigurationRequest(input *PutAppValidationConfigurationInput) (req *request.Request, output *PutAppValidationConfigurationOutput) { @@ -2800,21 +2794,22 @@ func (c *SMS) PutAppValidationConfigurationRequest(input *PutAppValidationConfig // API operation PutAppValidationConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - InvalidParameterException +// A specified parameter is not valid. // -// * InternalError -// An internal error occurred. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * OperationNotPermittedException -// This operation is not allowed. +// - InternalError +// An internal error occurred. +// +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/PutAppValidationConfiguration func (c *SMS) PutAppValidationConfiguration(input *PutAppValidationConfigurationInput) (*PutAppValidationConfigurationOutput, error) { @@ -2854,14 +2849,13 @@ const opStartAppReplication = "StartAppReplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartAppReplicationRequest method. +// req, resp := client.StartAppReplicationRequest(params) // -// // Example sending a request using the StartAppReplicationRequest method. -// req, resp := client.StartAppReplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartAppReplication func (c *SMS) StartAppReplicationRequest(input *StartAppReplicationInput) (req *request.Request, output *StartAppReplicationOutput) { @@ -2894,21 +2888,22 @@ func (c *SMS) StartAppReplicationRequest(input *StartAppReplicationInput) (req * // API operation StartAppReplication for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - InvalidParameterException +// A specified parameter is not valid. // -// * InternalError -// An internal error occurred. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * OperationNotPermittedException -// This operation is not allowed. +// - InternalError +// An internal error occurred. +// +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartAppReplication func (c *SMS) StartAppReplication(input *StartAppReplicationInput) (*StartAppReplicationOutput, error) { @@ -2948,14 +2943,13 @@ const opStartOnDemandAppReplication = "StartOnDemandAppReplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartOnDemandAppReplicationRequest method. +// req, resp := client.StartOnDemandAppReplicationRequest(params) // -// // Example sending a request using the StartOnDemandAppReplicationRequest method. -// req, resp := client.StartOnDemandAppReplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandAppReplication func (c *SMS) StartOnDemandAppReplicationRequest(input *StartOnDemandAppReplicationInput) (req *request.Request, output *StartOnDemandAppReplicationOutput) { @@ -2987,21 +2981,22 @@ func (c *SMS) StartOnDemandAppReplicationRequest(input *StartOnDemandAppReplicat // API operation StartOnDemandAppReplication for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - InvalidParameterException +// A specified parameter is not valid. // -// * InternalError -// An internal error occurred. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * OperationNotPermittedException -// This operation is not allowed. +// - InternalError +// An internal error occurred. +// +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandAppReplication func (c *SMS) StartOnDemandAppReplication(input *StartOnDemandAppReplicationInput) (*StartOnDemandAppReplicationOutput, error) { @@ -3041,14 +3036,13 @@ const opStartOnDemandReplicationRun = "StartOnDemandReplicationRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartOnDemandReplicationRunRequest method. +// req, resp := client.StartOnDemandReplicationRunRequest(params) // -// // Example sending a request using the StartOnDemandReplicationRunRequest method. -// req, resp := client.StartOnDemandReplicationRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandReplicationRun func (c *SMS) StartOnDemandReplicationRunRequest(input *StartOnDemandReplicationRunInput) (req *request.Request, output *StartOnDemandReplicationRunOutput) { @@ -3084,26 +3078,27 @@ func (c *SMS) StartOnDemandReplicationRunRequest(input *StartOnDemandReplication // API operation StartOnDemandReplicationRun for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - InvalidParameterException +// A specified parameter is not valid. // -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * OperationNotPermittedException -// This operation is not allowed. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ReplicationRunLimitExceededException -// You have exceeded the number of on-demand replication runs you can request -// in a 24-hour period. +// - OperationNotPermittedException +// This operation is not allowed. // -// * DryRunOperationException -// The user has the required permissions, so the request would have succeeded, -// but a dry run was performed. +// - ReplicationRunLimitExceededException +// You have exceeded the number of on-demand replication runs you can request +// in a 24-hour period. +// +// - DryRunOperationException +// The user has the required permissions, so the request would have succeeded, +// but a dry run was performed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StartOnDemandReplicationRun func (c *SMS) StartOnDemandReplicationRun(input *StartOnDemandReplicationRunInput) (*StartOnDemandReplicationRunOutput, error) { @@ -3143,14 +3138,13 @@ const opStopAppReplication = "StopAppReplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopAppReplicationRequest method. +// req, resp := client.StopAppReplicationRequest(params) // -// // Example sending a request using the StopAppReplicationRequest method. -// req, resp := client.StopAppReplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StopAppReplication func (c *SMS) StopAppReplicationRequest(input *StopAppReplicationInput) (req *request.Request, output *StopAppReplicationOutput) { @@ -3183,21 +3177,22 @@ func (c *SMS) StopAppReplicationRequest(input *StopAppReplicationInput) (req *re // API operation StopAppReplication for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/StopAppReplication func (c *SMS) StopAppReplication(input *StopAppReplicationInput) (*StopAppReplicationOutput, error) { @@ -3237,14 +3232,13 @@ const opTerminateApp = "TerminateApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TerminateAppRequest method. +// req, resp := client.TerminateAppRequest(params) // -// // Example sending a request using the TerminateAppRequest method. -// req, resp := client.TerminateAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/TerminateApp func (c *SMS) TerminateAppRequest(input *TerminateAppInput) (req *request.Request, output *TerminateAppOutput) { @@ -3276,21 +3270,22 @@ func (c *SMS) TerminateAppRequest(input *TerminateAppInput) (req *request.Reques // API operation TerminateApp for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/TerminateApp func (c *SMS) TerminateApp(input *TerminateAppInput) (*TerminateAppOutput, error) { @@ -3330,14 +3325,13 @@ const opUpdateApp = "UpdateApp" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAppRequest method. +// req, resp := client.UpdateAppRequest(params) // -// // Example sending a request using the UpdateAppRequest method. -// req, resp := client.UpdateAppRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateApp func (c *SMS) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, output *UpdateAppOutput) { @@ -3368,21 +3362,22 @@ func (c *SMS) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, out // API operation UpdateApp for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. // -// * InvalidParameterException -// A specified parameter is not valid. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. +// +// - InvalidParameterException +// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - MissingRequiredParameterException +// A required parameter is missing. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateApp func (c *SMS) UpdateApp(input *UpdateAppInput) (*UpdateAppOutput, error) { @@ -3422,14 +3417,13 @@ const opUpdateReplicationJob = "UpdateReplicationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateReplicationJobRequest method. +// req, resp := client.UpdateReplicationJobRequest(params) // -// // Example sending a request using the UpdateReplicationJobRequest method. -// req, resp := client.UpdateReplicationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateReplicationJob func (c *SMS) UpdateReplicationJobRequest(input *UpdateReplicationJobInput) (req *request.Request, output *UpdateReplicationJobOutput) { @@ -3461,30 +3455,31 @@ func (c *SMS) UpdateReplicationJobRequest(input *UpdateReplicationJobInput) (req // API operation UpdateReplicationJob for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// A specified parameter is not valid. // -// * MissingRequiredParameterException -// A required parameter is missing. +// - InvalidParameterException +// A specified parameter is not valid. +// +// - MissingRequiredParameterException +// A required parameter is missing. // -// * OperationNotPermittedException -// This operation is not allowed. +// - OperationNotPermittedException +// This operation is not allowed. // -// * UnauthorizedOperationException -// You lack permissions needed to perform this operation. Check your IAM policies, -// and ensure that you are using the correct access keys. +// - UnauthorizedOperationException +// You lack permissions needed to perform this operation. Check your IAM policies, +// and ensure that you are using the correct access keys. // -// * ServerCannotBeReplicatedException -// The specified server cannot be replicated. +// - ServerCannotBeReplicatedException +// The specified server cannot be replicated. // -// * ReplicationJobNotFoundException -// The specified replication job does not exist. +// - ReplicationJobNotFoundException +// The specified replication job does not exist. // -// * InternalError -// An internal error occurred. +// - InternalError +// An internal error occurred. // -// * TemporarilyUnavailableException -// The service is temporarily unavailable. +// - TemporarilyUnavailableException +// The service is temporarily unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24/UpdateReplicationJob func (c *SMS) UpdateReplicationJob(input *UpdateReplicationJobInput) (*UpdateReplicationJobOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/doc.go index ef239d8b3f89..1c97489b22a3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/doc.go @@ -3,8 +3,7 @@ // Package sms provides the client and types for making API // requests to AWS Server Migration Service. // -// -// Product update +// # Product update // // We recommend Amazon Web Services Application Migration Service (http://aws.amazon.com/application-migration-service) // (Amazon Web Services MGN) as the primary migration service for lift-and-shift @@ -16,16 +15,16 @@ // for you to migrate your on-premises workloads to Amazon Web Services. To // learn more about Server Migration Service, see the following resources: // -// * Server Migration Service product page (http://aws.amazon.com/server-migration-service/) +// - Server Migration Service product page (http://aws.amazon.com/server-migration-service/) // -// * Server Migration Service User Guide (https://docs.aws.amazon.com/server-migration-service/latest/userguide/) +// - Server Migration Service User Guide (https://docs.aws.amazon.com/server-migration-service/latest/userguide/) // // See https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24 for more information on this service. // // See sms package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/sms/ // -// Using the Client +// # Using the Client // // To contact AWS Server Migration Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/service.go index 42702a89a1f6..284d11ad9d55 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SMS client from just a session. -// svc := sms.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SMS client with additional configuration -// svc := sms.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SMS client from just a session. +// svc := sms.New(mySession) +// +// // Create a SMS client with additional configuration +// svc := sms.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SMS { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/smsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/smsiface/interface.go index 6f8fd91aae2e..32230e67d72f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/smsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sms/smsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Server Migration Service. -// func myFunc(svc smsiface.SMSAPI) bool { -// // Make svc.CreateApp request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Server Migration Service. +// func myFunc(svc smsiface.SMSAPI) bool { +// // Make svc.CreateApp request +// } // -// func main() { -// sess := session.New() -// svc := sms.New(sess) +// func main() { +// sess := session.New() +// svc := sms.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSMSClient struct { -// smsiface.SMSAPI -// } -// func (m *mockSMSClient) CreateApp(input *sms.CreateAppInput) (*sms.CreateAppOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSMSClient struct { +// smsiface.SMSAPI +// } +// func (m *mockSMSClient) CreateApp(input *sms.CreateAppInput) (*sms.CreateAppOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSMSClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSMSClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/api.go index def57eae5e50..bb1a1a966546 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/api.go @@ -29,14 +29,13 @@ const opCancelCluster = "CancelCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelClusterRequest method. +// req, resp := client.CancelClusterRequest(params) // -// // Example sending a request using the CancelClusterRequest method. -// req, resp := client.CancelClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CancelCluster func (c *Snowball) CancelClusterRequest(input *CancelClusterInput) (req *request.Request, output *CancelClusterOutput) { @@ -70,17 +69,18 @@ func (c *Snowball) CancelClusterRequest(input *CancelClusterInput) (req *request // API operation CancelCluster for usage and error information. // // Returned Error Types: -// * KMSRequestFailedException -// The provided Key Management Service key lacks the permissions to perform -// the specified CreateJob or UpdateJob action. // -// * InvalidJobStateException -// The action can't be performed because the job's current state doesn't allow -// that action to be performed. +// - KMSRequestFailedException +// The provided Key Management Service key lacks the permissions to perform +// the specified CreateJob or UpdateJob action. +// +// - InvalidJobStateException +// The action can't be performed because the job's current state doesn't allow +// that action to be performed. // -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CancelCluster func (c *Snowball) CancelCluster(input *CancelClusterInput) (*CancelClusterOutput, error) { @@ -120,14 +120,13 @@ const opCancelJob = "CancelJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelJobRequest method. +// req, resp := client.CancelJobRequest(params) // -// // Example sending a request using the CancelJobRequest method. -// req, resp := client.CancelJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CancelJob func (c *Snowball) CancelJobRequest(input *CancelJobInput) (req *request.Request, output *CancelJobOutput) { @@ -161,17 +160,18 @@ func (c *Snowball) CancelJobRequest(input *CancelJobInput) (req *request.Request // API operation CancelJob for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. // -// * InvalidJobStateException -// The action can't be performed because the job's current state doesn't allow -// that action to be performed. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. // -// * KMSRequestFailedException -// The provided Key Management Service key lacks the permissions to perform -// the specified CreateJob or UpdateJob action. +// - InvalidJobStateException +// The action can't be performed because the job's current state doesn't allow +// that action to be performed. +// +// - KMSRequestFailedException +// The provided Key Management Service key lacks the permissions to perform +// the specified CreateJob or UpdateJob action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CancelJob func (c *Snowball) CancelJob(input *CancelJobInput) (*CancelJobOutput, error) { @@ -211,14 +211,13 @@ const opCreateAddress = "CreateAddress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAddressRequest method. +// req, resp := client.CreateAddressRequest(params) // -// // Example sending a request using the CreateAddressRequest method. -// req, resp := client.CreateAddressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateAddress func (c *Snowball) CreateAddressRequest(input *CreateAddressInput) (req *request.Request, output *CreateAddressOutput) { @@ -252,14 +251,15 @@ func (c *Snowball) CreateAddressRequest(input *CreateAddressInput) (req *request // API operation CreateAddress for usage and error information. // // Returned Error Types: -// * InvalidAddressException -// The address provided was invalid. Check the address with your region's carrier, -// and try again. // -// * UnsupportedAddressException -// The address is either outside the serviceable area for your region, or an -// error occurred. Check the address with your region's carrier and try again. -// If the issue persists, contact Amazon Web Services Support. +// - InvalidAddressException +// The address provided was invalid. Check the address with your region's carrier, +// and try again. +// +// - UnsupportedAddressException +// The address is either outside the serviceable area for your region, or an +// error occurred. Check the address with your region's carrier and try again. +// If the issue persists, contact Amazon Web Services Support. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateAddress func (c *Snowball) CreateAddress(input *CreateAddressInput) (*CreateAddressOutput, error) { @@ -299,14 +299,13 @@ const opCreateCluster = "CreateCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateClusterRequest method. +// req, resp := client.CreateClusterRequest(params) // -// // Example sending a request using the CreateClusterRequest method. -// req, resp := client.CreateClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateCluster func (c *Snowball) CreateClusterRequest(input *CreateClusterInput) (req *request.Request, output *CreateClusterOutput) { @@ -339,22 +338,23 @@ func (c *Snowball) CreateClusterRequest(input *CreateClusterInput) (req *request // API operation CreateCluster for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. // -// * KMSRequestFailedException -// The provided Key Management Service key lacks the permissions to perform -// the specified CreateJob or UpdateJob action. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. +// +// - KMSRequestFailedException +// The provided Key Management Service key lacks the permissions to perform +// the specified CreateJob or UpdateJob action. // -// * InvalidInputCombinationException -// Job or cluster creation failed. One or more inputs were invalid. Confirm -// that the CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, -// and try again. +// - InvalidInputCombinationException +// Job or cluster creation failed. One or more inputs were invalid. Confirm +// that the CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, +// and try again. // -// * Ec2RequestFailedException -// Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted -// action. +// - Ec2RequestFailedException +// Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted +// action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateCluster func (c *Snowball) CreateCluster(input *CreateClusterInput) (*CreateClusterOutput, error) { @@ -394,14 +394,13 @@ const opCreateJob = "CreateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateJobRequest method. +// req, resp := client.CreateJobRequest(params) // -// // Example sending a request using the CreateJobRequest method. -// req, resp := client.CreateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateJob func (c *Snowball) CreateJobRequest(input *CreateJobInput) (req *request.Request, output *CreateJobOutput) { @@ -439,29 +438,29 @@ func (c *Snowball) CreateJobRequest(input *CreateJobInput) (req *request.Request // // Snow Family Devices and their capacities. // -// * Snow Family device type: SNC1_SSD Capacity: T14 Description: Snowcone +// - Snow Family device type: SNC1_SSD Capacity: T14 Description: Snowcone // -// * Snow Family device type: SNC1_HDD Capacity: T8 Description: Snowcone +// - Snow Family device type: SNC1_HDD Capacity: T8 Description: Snowcone // -// * Device type: EDGE_S Capacity: T98 Description: Snowball Edge Storage -// Optimized for data transfer only +// - Device type: EDGE_S Capacity: T98 Description: Snowball Edge Storage +// Optimized for data transfer only // -// * Device type: EDGE_CG Capacity: T42 Description: Snowball Edge Compute -// Optimized with GPU +// - Device type: EDGE_CG Capacity: T42 Description: Snowball Edge Compute +// Optimized with GPU // -// * Device type: EDGE_C Capacity: T42 Description: Snowball Edge Compute -// Optimized without GPU +// - Device type: EDGE_C Capacity: T42 Description: Snowball Edge Compute +// Optimized without GPU // -// * Device type: EDGE Capacity: T100 Description: Snowball Edge Storage -// Optimized with EC2 Compute +// - Device type: EDGE Capacity: T100 Description: Snowball Edge Storage +// Optimized with EC2 Compute // -// * Device type: STANDARD Capacity: T50 Description: Original Snowball device -// This device is only available in the Ningxia, Beijing, and Singapore Amazon -// Web Services Region +// - Device type: STANDARD Capacity: T50 Description: Original Snowball device +// This device is only available in the Ningxia, Beijing, and Singapore Amazon +// Web Services Region // -// * Device type: STANDARD Capacity: T80 Description: Original Snowball device -// This device is only available in the Ningxia, Beijing, and Singapore Amazon -// Web Services Region. +// - Device type: STANDARD Capacity: T80 Description: Original Snowball device +// This device is only available in the Ningxia, Beijing, and Singapore Amazon +// Web Services Region. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -471,28 +470,29 @@ func (c *Snowball) CreateJobRequest(input *CreateJobInput) (req *request.Request // API operation CreateJob for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. // -// * KMSRequestFailedException -// The provided Key Management Service key lacks the permissions to perform -// the specified CreateJob or UpdateJob action. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. // -// * InvalidInputCombinationException -// Job or cluster creation failed. One or more inputs were invalid. Confirm -// that the CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, -// and try again. +// - KMSRequestFailedException +// The provided Key Management Service key lacks the permissions to perform +// the specified CreateJob or UpdateJob action. // -// * ClusterLimitExceededException -// Job creation failed. Currently, clusters support five nodes. If you have -// fewer than five nodes for your cluster and you have more nodes to create -// for this cluster, try again and create jobs until your cluster has exactly -// five nodes. +// - InvalidInputCombinationException +// Job or cluster creation failed. One or more inputs were invalid. Confirm +// that the CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, +// and try again. // -// * Ec2RequestFailedException -// Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted -// action. +// - ClusterLimitExceededException +// Job creation failed. Currently, clusters support five nodes. If you have +// fewer than five nodes for your cluster and you have more nodes to create +// for this cluster, try again and create jobs until your cluster has exactly +// five nodes. +// +// - Ec2RequestFailedException +// Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted +// action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateJob func (c *Snowball) CreateJob(input *CreateJobInput) (*CreateJobOutput, error) { @@ -532,14 +532,13 @@ const opCreateLongTermPricing = "CreateLongTermPricing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLongTermPricingRequest method. +// req, resp := client.CreateLongTermPricingRequest(params) // -// // Example sending a request using the CreateLongTermPricingRequest method. -// req, resp := client.CreateLongTermPricingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateLongTermPricing func (c *Snowball) CreateLongTermPricingRequest(input *CreateLongTermPricingInput) (req *request.Request, output *CreateLongTermPricingOutput) { @@ -573,9 +572,9 @@ func (c *Snowball) CreateLongTermPricingRequest(input *CreateLongTermPricingInpu // API operation CreateLongTermPricing for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateLongTermPricing func (c *Snowball) CreateLongTermPricing(input *CreateLongTermPricingInput) (*CreateLongTermPricingOutput, error) { @@ -615,14 +614,13 @@ const opCreateReturnShippingLabel = "CreateReturnShippingLabel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReturnShippingLabelRequest method. +// req, resp := client.CreateReturnShippingLabelRequest(params) // -// // Example sending a request using the CreateReturnShippingLabelRequest method. -// req, resp := client.CreateReturnShippingLabelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateReturnShippingLabel func (c *Snowball) CreateReturnShippingLabelRequest(input *CreateReturnShippingLabelInput) (req *request.Request, output *CreateReturnShippingLabelOutput) { @@ -654,27 +652,28 @@ func (c *Snowball) CreateReturnShippingLabelRequest(input *CreateReturnShippingL // API operation CreateReturnShippingLabel for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. // -// * InvalidJobStateException -// The action can't be performed because the job's current state doesn't allow -// that action to be performed. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. +// +// - InvalidJobStateException +// The action can't be performed because the job's current state doesn't allow +// that action to be performed. // -// * InvalidInputCombinationException -// Job or cluster creation failed. One or more inputs were invalid. Confirm -// that the CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, -// and try again. +// - InvalidInputCombinationException +// Job or cluster creation failed. One or more inputs were invalid. Confirm +// that the CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, +// and try again. // -// * ConflictException -// You get this exception when you call CreateReturnShippingLabel more than -// once when other requests are not completed. +// - ConflictException +// You get this exception when you call CreateReturnShippingLabel more than +// once when other requests are not completed. // -// * ReturnShippingLabelAlreadyExistsException -// You get this exception if you call CreateReturnShippingLabel and a valid -// return shipping label already exists. In this case, use DescribeReturnShippingLabel -// to get the URL. +// - ReturnShippingLabelAlreadyExistsException +// You get this exception if you call CreateReturnShippingLabel and a valid +// return shipping label already exists. In this case, use DescribeReturnShippingLabel +// to get the URL. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/CreateReturnShippingLabel func (c *Snowball) CreateReturnShippingLabel(input *CreateReturnShippingLabelInput) (*CreateReturnShippingLabelOutput, error) { @@ -714,14 +713,13 @@ const opDescribeAddress = "DescribeAddress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAddressRequest method. +// req, resp := client.DescribeAddressRequest(params) // -// // Example sending a request using the DescribeAddressRequest method. -// req, resp := client.DescribeAddressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeAddress func (c *Snowball) DescribeAddressRequest(input *DescribeAddressInput) (req *request.Request, output *DescribeAddressOutput) { @@ -753,9 +751,9 @@ func (c *Snowball) DescribeAddressRequest(input *DescribeAddressInput) (req *req // API operation DescribeAddress for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeAddress func (c *Snowball) DescribeAddress(input *DescribeAddressInput) (*DescribeAddressOutput, error) { @@ -795,14 +793,13 @@ const opDescribeAddresses = "DescribeAddresses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAddressesRequest method. +// req, resp := client.DescribeAddressesRequest(params) // -// // Example sending a request using the DescribeAddressesRequest method. -// req, resp := client.DescribeAddressesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeAddresses func (c *Snowball) DescribeAddressesRequest(input *DescribeAddressesInput) (req *request.Request, output *DescribeAddressesOutput) { @@ -841,13 +838,14 @@ func (c *Snowball) DescribeAddressesRequest(input *DescribeAddressesInput) (req // API operation DescribeAddresses for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. // -// * InvalidNextTokenException -// The NextToken string was altered unexpectedly, and the operation has stopped. -// Run the operation without changing the NextToken string, and try again. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. +// +// - InvalidNextTokenException +// The NextToken string was altered unexpectedly, and the operation has stopped. +// Run the operation without changing the NextToken string, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeAddresses func (c *Snowball) DescribeAddresses(input *DescribeAddressesInput) (*DescribeAddressesOutput, error) { @@ -879,15 +877,14 @@ func (c *Snowball) DescribeAddressesWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAddresses operation. -// pageNum := 0 -// err := client.DescribeAddressesPages(params, -// func(page *snowball.DescribeAddressesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAddresses operation. +// pageNum := 0 +// err := client.DescribeAddressesPages(params, +// func(page *snowball.DescribeAddressesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Snowball) DescribeAddressesPages(input *DescribeAddressesInput, fn func(*DescribeAddressesOutput, bool) bool) error { return c.DescribeAddressesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -939,14 +936,13 @@ const opDescribeCluster = "DescribeCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClusterRequest method. +// req, resp := client.DescribeClusterRequest(params) // -// // Example sending a request using the DescribeClusterRequest method. -// req, resp := client.DescribeClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeCluster func (c *Snowball) DescribeClusterRequest(input *DescribeClusterInput) (req *request.Request, output *DescribeClusterOutput) { @@ -978,9 +974,9 @@ func (c *Snowball) DescribeClusterRequest(input *DescribeClusterInput) (req *req // API operation DescribeCluster for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeCluster func (c *Snowball) DescribeCluster(input *DescribeClusterInput) (*DescribeClusterOutput, error) { @@ -1020,14 +1016,13 @@ const opDescribeJob = "DescribeJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeJobRequest method. +// req, resp := client.DescribeJobRequest(params) // -// // Example sending a request using the DescribeJobRequest method. -// req, resp := client.DescribeJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeJob func (c *Snowball) DescribeJobRequest(input *DescribeJobInput) (req *request.Request, output *DescribeJobOutput) { @@ -1059,9 +1054,9 @@ func (c *Snowball) DescribeJobRequest(input *DescribeJobInput) (req *request.Req // API operation DescribeJob for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeJob func (c *Snowball) DescribeJob(input *DescribeJobInput) (*DescribeJobOutput, error) { @@ -1101,14 +1096,13 @@ const opDescribeReturnShippingLabel = "DescribeReturnShippingLabel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeReturnShippingLabelRequest method. +// req, resp := client.DescribeReturnShippingLabelRequest(params) // -// // Example sending a request using the DescribeReturnShippingLabelRequest method. -// req, resp := client.DescribeReturnShippingLabelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeReturnShippingLabel func (c *Snowball) DescribeReturnShippingLabelRequest(input *DescribeReturnShippingLabelInput) (req *request.Request, output *DescribeReturnShippingLabelOutput) { @@ -1140,17 +1134,18 @@ func (c *Snowball) DescribeReturnShippingLabelRequest(input *DescribeReturnShipp // API operation DescribeReturnShippingLabel for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. // -// * InvalidJobStateException -// The action can't be performed because the job's current state doesn't allow -// that action to be performed. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. // -// * ConflictException -// You get this exception when you call CreateReturnShippingLabel more than -// once when other requests are not completed. +// - InvalidJobStateException +// The action can't be performed because the job's current state doesn't allow +// that action to be performed. +// +// - ConflictException +// You get this exception when you call CreateReturnShippingLabel more than +// once when other requests are not completed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/DescribeReturnShippingLabel func (c *Snowball) DescribeReturnShippingLabel(input *DescribeReturnShippingLabelInput) (*DescribeReturnShippingLabelOutput, error) { @@ -1190,14 +1185,13 @@ const opGetJobManifest = "GetJobManifest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobManifestRequest method. +// req, resp := client.GetJobManifestRequest(params) // -// // Example sending a request using the GetJobManifestRequest method. -// req, resp := client.GetJobManifestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/GetJobManifest func (c *Snowball) GetJobManifestRequest(input *GetJobManifestInput) (req *request.Request, output *GetJobManifestOutput) { @@ -1245,13 +1239,14 @@ func (c *Snowball) GetJobManifestRequest(input *GetJobManifestInput) (req *reque // API operation GetJobManifest for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. // -// * InvalidJobStateException -// The action can't be performed because the job's current state doesn't allow -// that action to be performed. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. +// +// - InvalidJobStateException +// The action can't be performed because the job's current state doesn't allow +// that action to be performed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/GetJobManifest func (c *Snowball) GetJobManifest(input *GetJobManifestInput) (*GetJobManifestOutput, error) { @@ -1291,14 +1286,13 @@ const opGetJobUnlockCode = "GetJobUnlockCode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetJobUnlockCodeRequest method. +// req, resp := client.GetJobUnlockCodeRequest(params) // -// // Example sending a request using the GetJobUnlockCodeRequest method. -// req, resp := client.GetJobUnlockCodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/GetJobUnlockCode func (c *Snowball) GetJobUnlockCodeRequest(input *GetJobUnlockCodeInput) (req *request.Request, output *GetJobUnlockCodeOutput) { @@ -1341,13 +1335,14 @@ func (c *Snowball) GetJobUnlockCodeRequest(input *GetJobUnlockCodeInput) (req *r // API operation GetJobUnlockCode for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. // -// * InvalidJobStateException -// The action can't be performed because the job's current state doesn't allow -// that action to be performed. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. +// +// - InvalidJobStateException +// The action can't be performed because the job's current state doesn't allow +// that action to be performed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/GetJobUnlockCode func (c *Snowball) GetJobUnlockCode(input *GetJobUnlockCodeInput) (*GetJobUnlockCodeOutput, error) { @@ -1387,14 +1382,13 @@ const opGetSnowballUsage = "GetSnowballUsage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSnowballUsageRequest method. +// req, resp := client.GetSnowballUsageRequest(params) // -// // Example sending a request using the GetSnowballUsageRequest method. -// req, resp := client.GetSnowballUsageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/GetSnowballUsage func (c *Snowball) GetSnowballUsageRequest(input *GetSnowballUsageInput) (req *request.Request, output *GetSnowballUsageOutput) { @@ -1466,14 +1460,13 @@ const opGetSoftwareUpdates = "GetSoftwareUpdates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSoftwareUpdatesRequest method. +// req, resp := client.GetSoftwareUpdatesRequest(params) // -// // Example sending a request using the GetSoftwareUpdatesRequest method. -// req, resp := client.GetSoftwareUpdatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/GetSoftwareUpdates func (c *Snowball) GetSoftwareUpdatesRequest(input *GetSoftwareUpdatesInput) (req *request.Request, output *GetSoftwareUpdatesOutput) { @@ -1505,13 +1498,14 @@ func (c *Snowball) GetSoftwareUpdatesRequest(input *GetSoftwareUpdatesInput) (re // API operation GetSoftwareUpdates for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. // -// * InvalidJobStateException -// The action can't be performed because the job's current state doesn't allow -// that action to be performed. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. +// +// - InvalidJobStateException +// The action can't be performed because the job's current state doesn't allow +// that action to be performed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/GetSoftwareUpdates func (c *Snowball) GetSoftwareUpdates(input *GetSoftwareUpdatesInput) (*GetSoftwareUpdatesOutput, error) { @@ -1551,14 +1545,13 @@ const opListClusterJobs = "ListClusterJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListClusterJobsRequest method. +// req, resp := client.ListClusterJobsRequest(params) // -// // Example sending a request using the ListClusterJobsRequest method. -// req, resp := client.ListClusterJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListClusterJobs func (c *Snowball) ListClusterJobsRequest(input *ListClusterJobsInput) (req *request.Request, output *ListClusterJobsOutput) { @@ -1591,13 +1584,14 @@ func (c *Snowball) ListClusterJobsRequest(input *ListClusterJobsInput) (req *req // API operation ListClusterJobs for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. // -// * InvalidNextTokenException -// The NextToken string was altered unexpectedly, and the operation has stopped. -// Run the operation without changing the NextToken string, and try again. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. +// +// - InvalidNextTokenException +// The NextToken string was altered unexpectedly, and the operation has stopped. +// Run the operation without changing the NextToken string, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListClusterJobs func (c *Snowball) ListClusterJobs(input *ListClusterJobsInput) (*ListClusterJobsOutput, error) { @@ -1637,14 +1631,13 @@ const opListClusters = "ListClusters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListClustersRequest method. +// req, resp := client.ListClustersRequest(params) // -// // Example sending a request using the ListClustersRequest method. -// req, resp := client.ListClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListClusters func (c *Snowball) ListClustersRequest(input *ListClustersInput) (req *request.Request, output *ListClustersOutput) { @@ -1677,9 +1670,9 @@ func (c *Snowball) ListClustersRequest(input *ListClustersInput) (req *request.R // API operation ListClusters for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The NextToken string was altered unexpectedly, and the operation has stopped. -// Run the operation without changing the NextToken string, and try again. +// - InvalidNextTokenException +// The NextToken string was altered unexpectedly, and the operation has stopped. +// Run the operation without changing the NextToken string, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListClusters func (c *Snowball) ListClusters(input *ListClustersInput) (*ListClustersOutput, error) { @@ -1719,14 +1712,13 @@ const opListCompatibleImages = "ListCompatibleImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCompatibleImagesRequest method. +// req, resp := client.ListCompatibleImagesRequest(params) // -// // Example sending a request using the ListCompatibleImagesRequest method. -// req, resp := client.ListCompatibleImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListCompatibleImages func (c *Snowball) ListCompatibleImagesRequest(input *ListCompatibleImagesInput) (req *request.Request, output *ListCompatibleImagesOutput) { @@ -1761,13 +1753,14 @@ func (c *Snowball) ListCompatibleImagesRequest(input *ListCompatibleImagesInput) // API operation ListCompatibleImages for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The NextToken string was altered unexpectedly, and the operation has stopped. -// Run the operation without changing the NextToken string, and try again. // -// * Ec2RequestFailedException -// Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted -// action. +// - InvalidNextTokenException +// The NextToken string was altered unexpectedly, and the operation has stopped. +// Run the operation without changing the NextToken string, and try again. +// +// - Ec2RequestFailedException +// Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted +// action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListCompatibleImages func (c *Snowball) ListCompatibleImages(input *ListCompatibleImagesInput) (*ListCompatibleImagesOutput, error) { @@ -1807,14 +1800,13 @@ const opListJobs = "ListJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListJobsRequest method. +// req, resp := client.ListJobsRequest(params) // -// // Example sending a request using the ListJobsRequest method. -// req, resp := client.ListJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListJobs func (c *Snowball) ListJobsRequest(input *ListJobsInput) (req *request.Request, output *ListJobsOutput) { @@ -1855,9 +1847,9 @@ func (c *Snowball) ListJobsRequest(input *ListJobsInput) (req *request.Request, // API operation ListJobs for usage and error information. // // Returned Error Types: -// * InvalidNextTokenException -// The NextToken string was altered unexpectedly, and the operation has stopped. -// Run the operation without changing the NextToken string, and try again. +// - InvalidNextTokenException +// The NextToken string was altered unexpectedly, and the operation has stopped. +// Run the operation without changing the NextToken string, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListJobs func (c *Snowball) ListJobs(input *ListJobsInput) (*ListJobsOutput, error) { @@ -1889,15 +1881,14 @@ func (c *Snowball) ListJobsWithContext(ctx aws.Context, input *ListJobsInput, op // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListJobs operation. -// pageNum := 0 -// err := client.ListJobsPages(params, -// func(page *snowball.ListJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListJobs operation. +// pageNum := 0 +// err := client.ListJobsPages(params, +// func(page *snowball.ListJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Snowball) ListJobsPages(input *ListJobsInput, fn func(*ListJobsOutput, bool) bool) error { return c.ListJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1949,14 +1940,13 @@ const opListLongTermPricing = "ListLongTermPricing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLongTermPricingRequest method. +// req, resp := client.ListLongTermPricingRequest(params) // -// // Example sending a request using the ListLongTermPricingRequest method. -// req, resp := client.ListLongTermPricingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListLongTermPricing func (c *Snowball) ListLongTermPricingRequest(input *ListLongTermPricingInput) (req *request.Request, output *ListLongTermPricingOutput) { @@ -1987,13 +1977,14 @@ func (c *Snowball) ListLongTermPricingRequest(input *ListLongTermPricingInput) ( // API operation ListLongTermPricing for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. // -// * InvalidNextTokenException -// The NextToken string was altered unexpectedly, and the operation has stopped. -// Run the operation without changing the NextToken string, and try again. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. +// +// - InvalidNextTokenException +// The NextToken string was altered unexpectedly, and the operation has stopped. +// Run the operation without changing the NextToken string, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/ListLongTermPricing func (c *Snowball) ListLongTermPricing(input *ListLongTermPricingInput) (*ListLongTermPricingOutput, error) { @@ -2033,14 +2024,13 @@ const opUpdateCluster = "UpdateCluster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateClusterRequest method. +// req, resp := client.UpdateClusterRequest(params) // -// // Example sending a request using the UpdateClusterRequest method. -// req, resp := client.UpdateClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateCluster func (c *Snowball) UpdateClusterRequest(input *UpdateClusterInput) (req *request.Request, output *UpdateClusterOutput) { @@ -2075,26 +2065,27 @@ func (c *Snowball) UpdateClusterRequest(input *UpdateClusterInput) (req *request // API operation UpdateCluster for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. // -// * InvalidJobStateException -// The action can't be performed because the job's current state doesn't allow -// that action to be performed. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. +// +// - InvalidJobStateException +// The action can't be performed because the job's current state doesn't allow +// that action to be performed. // -// * KMSRequestFailedException -// The provided Key Management Service key lacks the permissions to perform -// the specified CreateJob or UpdateJob action. +// - KMSRequestFailedException +// The provided Key Management Service key lacks the permissions to perform +// the specified CreateJob or UpdateJob action. // -// * InvalidInputCombinationException -// Job or cluster creation failed. One or more inputs were invalid. Confirm -// that the CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, -// and try again. +// - InvalidInputCombinationException +// Job or cluster creation failed. One or more inputs were invalid. Confirm +// that the CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, +// and try again. // -// * Ec2RequestFailedException -// Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted -// action. +// - Ec2RequestFailedException +// Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted +// action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateCluster func (c *Snowball) UpdateCluster(input *UpdateClusterInput) (*UpdateClusterOutput, error) { @@ -2134,14 +2125,13 @@ const opUpdateJob = "UpdateJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateJobRequest method. +// req, resp := client.UpdateJobRequest(params) // -// // Example sending a request using the UpdateJobRequest method. -// req, resp := client.UpdateJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateJob func (c *Snowball) UpdateJobRequest(input *UpdateJobInput) (req *request.Request, output *UpdateJobOutput) { @@ -2175,32 +2165,33 @@ func (c *Snowball) UpdateJobRequest(input *UpdateJobInput) (req *request.Request // API operation UpdateJob for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. // -// * InvalidJobStateException -// The action can't be performed because the job's current state doesn't allow -// that action to be performed. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. +// +// - InvalidJobStateException +// The action can't be performed because the job's current state doesn't allow +// that action to be performed. // -// * KMSRequestFailedException -// The provided Key Management Service key lacks the permissions to perform -// the specified CreateJob or UpdateJob action. +// - KMSRequestFailedException +// The provided Key Management Service key lacks the permissions to perform +// the specified CreateJob or UpdateJob action. // -// * InvalidInputCombinationException -// Job or cluster creation failed. One or more inputs were invalid. Confirm -// that the CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, -// and try again. +// - InvalidInputCombinationException +// Job or cluster creation failed. One or more inputs were invalid. Confirm +// that the CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, +// and try again. // -// * ClusterLimitExceededException -// Job creation failed. Currently, clusters support five nodes. If you have -// fewer than five nodes for your cluster and you have more nodes to create -// for this cluster, try again and create jobs until your cluster has exactly -// five nodes. +// - ClusterLimitExceededException +// Job creation failed. Currently, clusters support five nodes. If you have +// fewer than five nodes for your cluster and you have more nodes to create +// for this cluster, try again and create jobs until your cluster has exactly +// five nodes. // -// * Ec2RequestFailedException -// Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted -// action. +// - Ec2RequestFailedException +// Your IAM user lacks the necessary Amazon EC2 permissions to perform the attempted +// action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateJob func (c *Snowball) UpdateJob(input *UpdateJobInput) (*UpdateJobOutput, error) { @@ -2240,14 +2231,13 @@ const opUpdateJobShipmentState = "UpdateJobShipmentState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateJobShipmentStateRequest method. +// req, resp := client.UpdateJobShipmentStateRequest(params) // -// // Example sending a request using the UpdateJobShipmentStateRequest method. -// req, resp := client.UpdateJobShipmentStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateJobShipmentState func (c *Snowball) UpdateJobShipmentStateRequest(input *UpdateJobShipmentStateInput) (req *request.Request, output *UpdateJobShipmentStateOutput) { @@ -2279,13 +2269,14 @@ func (c *Snowball) UpdateJobShipmentStateRequest(input *UpdateJobShipmentStateIn // API operation UpdateJobShipmentState for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. // -// * InvalidJobStateException -// The action can't be performed because the job's current state doesn't allow -// that action to be performed. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. +// +// - InvalidJobStateException +// The action can't be performed because the job's current state doesn't allow +// that action to be performed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateJobShipmentState func (c *Snowball) UpdateJobShipmentState(input *UpdateJobShipmentStateInput) (*UpdateJobShipmentStateOutput, error) { @@ -2325,14 +2316,13 @@ const opUpdateLongTermPricing = "UpdateLongTermPricing" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLongTermPricingRequest method. +// req, resp := client.UpdateLongTermPricingRequest(params) // -// // Example sending a request using the UpdateLongTermPricingRequest method. -// req, resp := client.UpdateLongTermPricingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateLongTermPricing func (c *Snowball) UpdateLongTermPricingRequest(input *UpdateLongTermPricingInput) (req *request.Request, output *UpdateLongTermPricingOutput) { @@ -2364,9 +2354,9 @@ func (c *Snowball) UpdateLongTermPricingRequest(input *UpdateLongTermPricingInpu // API operation UpdateLongTermPricing for usage and error information. // // Returned Error Types: -// * InvalidResourceException -// The specified resource can't be found. Check the information you provided -// in your last request, and try again. +// - InvalidResourceException +// The specified resource can't be found. Check the information you provided +// in your last request, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snowball-2016-06-30/UpdateLongTermPricing func (c *Snowball) UpdateLongTermPricing(input *UpdateLongTermPricingInput) (*UpdateLongTermPricingOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/doc.go index 64f46aaf5167..97ff6df5a437 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/doc.go @@ -18,7 +18,7 @@ // See snowball package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/snowball/ // -// Using the Client +// # Using the Client // // To contact Amazon Import/Export Snowball with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/service.go index daca1e430ec0..895845e654fd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Snowball client from just a session. -// svc := snowball.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Snowball client with additional configuration -// svc := snowball.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Snowball client from just a session. +// svc := snowball.New(mySession) +// +// // Create a Snowball client with additional configuration +// svc := snowball.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Snowball { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/snowballiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/snowballiface/interface.go index 0b095776da53..dc57d98f6561 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/snowballiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowball/snowballiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Import/Export Snowball. -// func myFunc(svc snowballiface.SnowballAPI) bool { -// // Make svc.CancelCluster request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Import/Export Snowball. +// func myFunc(svc snowballiface.SnowballAPI) bool { +// // Make svc.CancelCluster request +// } // -// func main() { -// sess := session.New() -// svc := snowball.New(sess) +// func main() { +// sess := session.New() +// svc := snowball.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSnowballClient struct { -// snowballiface.SnowballAPI -// } -// func (m *mockSnowballClient) CancelCluster(input *snowball.CancelClusterInput) (*snowball.CancelClusterOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSnowballClient struct { +// snowballiface.SnowballAPI +// } +// func (m *mockSnowballClient) CancelCluster(input *snowball.CancelClusterInput) (*snowball.CancelClusterOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSnowballClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSnowballClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/api.go index 974393200296..0ba6c4e3be70 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/api.go @@ -29,14 +29,13 @@ const opCancelTask = "CancelTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelTaskRequest method. +// req, resp := client.CancelTaskRequest(params) // -// // Example sending a request using the CancelTaskRequest method. -// req, resp := client.CancelTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/CancelTask func (c *SnowDeviceManagement) CancelTaskRequest(input *CancelTaskInput) (req *request.Request, output *CancelTaskOutput) { @@ -71,21 +70,22 @@ func (c *SnowDeviceManagement) CancelTaskRequest(input *CancelTaskInput) (req *r // API operation CancelTask for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * AccessDeniedException -// You don't have sufficient access to perform this action. +// - AccessDeniedException +// You don't have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/CancelTask func (c *SnowDeviceManagement) CancelTask(input *CancelTaskInput) (*CancelTaskOutput, error) { @@ -125,14 +125,13 @@ const opCreateTask = "CreateTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTaskRequest method. +// req, resp := client.CreateTaskRequest(params) // -// // Example sending a request using the CreateTaskRequest method. -// req, resp := client.CreateTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/CreateTask func (c *SnowDeviceManagement) CreateTaskRequest(input *CreateTaskInput) (req *request.Request, output *CreateTaskOutput) { @@ -163,24 +162,25 @@ func (c *SnowDeviceManagement) CreateTaskRequest(input *CreateTaskInput) (req *r // API operation CreateTask for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The request would cause a service quota to be exceeded. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceQuotaExceededException +// The request would cause a service quota to be exceeded. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * AccessDeniedException -// You don't have sufficient access to perform this action. +// - AccessDeniedException +// You don't have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/CreateTask func (c *SnowDeviceManagement) CreateTask(input *CreateTaskInput) (*CreateTaskOutput, error) { @@ -220,14 +220,13 @@ const opDescribeDevice = "DescribeDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDeviceRequest method. +// req, resp := client.DescribeDeviceRequest(params) // -// // Example sending a request using the DescribeDeviceRequest method. -// req, resp := client.DescribeDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/DescribeDevice func (c *SnowDeviceManagement) DescribeDeviceRequest(input *DescribeDeviceInput) (req *request.Request, output *DescribeDeviceOutput) { @@ -259,21 +258,22 @@ func (c *SnowDeviceManagement) DescribeDeviceRequest(input *DescribeDeviceInput) // API operation DescribeDevice for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * AccessDeniedException -// You don't have sufficient access to perform this action. +// - AccessDeniedException +// You don't have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/DescribeDevice func (c *SnowDeviceManagement) DescribeDevice(input *DescribeDeviceInput) (*DescribeDeviceOutput, error) { @@ -313,14 +313,13 @@ const opDescribeDeviceEc2Instances = "DescribeDeviceEc2Instances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDeviceEc2InstancesRequest method. +// req, resp := client.DescribeDeviceEc2InstancesRequest(params) // -// // Example sending a request using the DescribeDeviceEc2InstancesRequest method. -// req, resp := client.DescribeDeviceEc2InstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/DescribeDeviceEc2Instances func (c *SnowDeviceManagement) DescribeDeviceEc2InstancesRequest(input *DescribeDeviceEc2InstancesInput) (req *request.Request, output *DescribeDeviceEc2InstancesOutput) { @@ -353,21 +352,22 @@ func (c *SnowDeviceManagement) DescribeDeviceEc2InstancesRequest(input *Describe // API operation DescribeDeviceEc2Instances for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * AccessDeniedException -// You don't have sufficient access to perform this action. +// - AccessDeniedException +// You don't have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/DescribeDeviceEc2Instances func (c *SnowDeviceManagement) DescribeDeviceEc2Instances(input *DescribeDeviceEc2InstancesInput) (*DescribeDeviceEc2InstancesOutput, error) { @@ -407,14 +407,13 @@ const opDescribeExecution = "DescribeExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExecutionRequest method. +// req, resp := client.DescribeExecutionRequest(params) // -// // Example sending a request using the DescribeExecutionRequest method. -// req, resp := client.DescribeExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/DescribeExecution func (c *SnowDeviceManagement) DescribeExecutionRequest(input *DescribeExecutionInput) (req *request.Request, output *DescribeExecutionOutput) { @@ -445,21 +444,22 @@ func (c *SnowDeviceManagement) DescribeExecutionRequest(input *DescribeExecution // API operation DescribeExecution for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * AccessDeniedException -// You don't have sufficient access to perform this action. +// - AccessDeniedException +// You don't have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/DescribeExecution func (c *SnowDeviceManagement) DescribeExecution(input *DescribeExecutionInput) (*DescribeExecutionOutput, error) { @@ -499,14 +499,13 @@ const opDescribeTask = "DescribeTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTaskRequest method. +// req, resp := client.DescribeTaskRequest(params) // -// // Example sending a request using the DescribeTaskRequest method. -// req, resp := client.DescribeTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/DescribeTask func (c *SnowDeviceManagement) DescribeTaskRequest(input *DescribeTaskInput) (req *request.Request, output *DescribeTaskOutput) { @@ -537,21 +536,22 @@ func (c *SnowDeviceManagement) DescribeTaskRequest(input *DescribeTaskInput) (re // API operation DescribeTask for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * AccessDeniedException -// You don't have sufficient access to perform this action. +// - AccessDeniedException +// You don't have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/DescribeTask func (c *SnowDeviceManagement) DescribeTask(input *DescribeTaskInput) (*DescribeTaskOutput, error) { @@ -591,14 +591,13 @@ const opListDeviceResources = "ListDeviceResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeviceResourcesRequest method. +// req, resp := client.ListDeviceResourcesRequest(params) // -// // Example sending a request using the ListDeviceResourcesRequest method. -// req, resp := client.ListDeviceResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/ListDeviceResources func (c *SnowDeviceManagement) ListDeviceResourcesRequest(input *ListDeviceResourcesInput) (req *request.Request, output *ListDeviceResourcesOutput) { @@ -636,21 +635,22 @@ func (c *SnowDeviceManagement) ListDeviceResourcesRequest(input *ListDeviceResou // API operation ListDeviceResources for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * AccessDeniedException -// You don't have sufficient access to perform this action. +// - AccessDeniedException +// You don't have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/ListDeviceResources func (c *SnowDeviceManagement) ListDeviceResources(input *ListDeviceResourcesInput) (*ListDeviceResourcesOutput, error) { @@ -682,15 +682,14 @@ func (c *SnowDeviceManagement) ListDeviceResourcesWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDeviceResources operation. -// pageNum := 0 -// err := client.ListDeviceResourcesPages(params, -// func(page *snowdevicemanagement.ListDeviceResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDeviceResources operation. +// pageNum := 0 +// err := client.ListDeviceResourcesPages(params, +// func(page *snowdevicemanagement.ListDeviceResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SnowDeviceManagement) ListDeviceResourcesPages(input *ListDeviceResourcesInput, fn func(*ListDeviceResourcesOutput, bool) bool) error { return c.ListDeviceResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -742,14 +741,13 @@ const opListDevices = "ListDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDevicesRequest method. +// req, resp := client.ListDevicesRequest(params) // -// // Example sending a request using the ListDevicesRequest method. -// req, resp := client.ListDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/ListDevices func (c *SnowDeviceManagement) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput) { @@ -788,18 +786,19 @@ func (c *SnowDeviceManagement) ListDevicesRequest(input *ListDevicesInput) (req // API operation ListDevices for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * AccessDeniedException -// You don't have sufficient access to perform this action. +// - AccessDeniedException +// You don't have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/ListDevices func (c *SnowDeviceManagement) ListDevices(input *ListDevicesInput) (*ListDevicesOutput, error) { @@ -831,15 +830,14 @@ func (c *SnowDeviceManagement) ListDevicesWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDevices operation. -// pageNum := 0 -// err := client.ListDevicesPages(params, -// func(page *snowdevicemanagement.ListDevicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDevices operation. +// pageNum := 0 +// err := client.ListDevicesPages(params, +// func(page *snowdevicemanagement.ListDevicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SnowDeviceManagement) ListDevicesPages(input *ListDevicesInput, fn func(*ListDevicesOutput, bool) bool) error { return c.ListDevicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -891,14 +889,13 @@ const opListExecutions = "ListExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExecutionsRequest method. +// req, resp := client.ListExecutionsRequest(params) // -// // Example sending a request using the ListExecutionsRequest method. -// req, resp := client.ListExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/ListExecutions func (c *SnowDeviceManagement) ListExecutionsRequest(input *ListExecutionsInput) (req *request.Request, output *ListExecutionsOutput) { @@ -935,21 +932,22 @@ func (c *SnowDeviceManagement) ListExecutionsRequest(input *ListExecutionsInput) // API operation ListExecutions for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this action. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - AccessDeniedException +// You don't have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/ListExecutions func (c *SnowDeviceManagement) ListExecutions(input *ListExecutionsInput) (*ListExecutionsOutput, error) { @@ -981,15 +979,14 @@ func (c *SnowDeviceManagement) ListExecutionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExecutions operation. -// pageNum := 0 -// err := client.ListExecutionsPages(params, -// func(page *snowdevicemanagement.ListExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExecutions operation. +// pageNum := 0 +// err := client.ListExecutionsPages(params, +// func(page *snowdevicemanagement.ListExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SnowDeviceManagement) ListExecutionsPages(input *ListExecutionsInput, fn func(*ListExecutionsOutput, bool) bool) error { return c.ListExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1041,14 +1038,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/ListTagsForResource func (c *SnowDeviceManagement) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1079,15 +1075,16 @@ func (c *SnowDeviceManagement) ListTagsForResourceRequest(input *ListTagsForReso // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - InternalServerException +// An unexpected error occurred while processing the request. +// +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/ListTagsForResource func (c *SnowDeviceManagement) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1127,14 +1124,13 @@ const opListTasks = "ListTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTasksRequest method. +// req, resp := client.ListTasksRequest(params) // -// // Example sending a request using the ListTasksRequest method. -// req, resp := client.ListTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/ListTasks func (c *SnowDeviceManagement) ListTasksRequest(input *ListTasksInput) (req *request.Request, output *ListTasksOutput) { @@ -1171,18 +1167,19 @@ func (c *SnowDeviceManagement) ListTasksRequest(input *ListTasksInput) (req *req // API operation ListTasks for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * InternalServerException -// An unexpected error occurred while processing the request. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * AccessDeniedException -// You don't have sufficient access to perform this action. +// - AccessDeniedException +// You don't have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/ListTasks func (c *SnowDeviceManagement) ListTasks(input *ListTasksInput) (*ListTasksOutput, error) { @@ -1214,15 +1211,14 @@ func (c *SnowDeviceManagement) ListTasksWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTasks operation. -// pageNum := 0 -// err := client.ListTasksPages(params, -// func(page *snowdevicemanagement.ListTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTasks operation. +// pageNum := 0 +// err := client.ListTasksPages(params, +// func(page *snowdevicemanagement.ListTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SnowDeviceManagement) ListTasksPages(input *ListTasksInput, fn func(*ListTasksOutput, bool) bool) error { return c.ListTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1274,14 +1270,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/TagResource func (c *SnowDeviceManagement) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1313,15 +1308,16 @@ func (c *SnowDeviceManagement) TagResourceRequest(input *TagResourceInput) (req // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - InternalServerException +// An unexpected error occurred while processing the request. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ResourceNotFoundException +// The request references a resource that doesn't exist. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/TagResource func (c *SnowDeviceManagement) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1361,14 +1357,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/UntagResource func (c *SnowDeviceManagement) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1400,15 +1395,16 @@ func (c *SnowDeviceManagement) UntagResourceRequest(input *UntagResourceInput) ( // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// The request references a resource that doesn't exist. +// - InternalServerException +// An unexpected error occurred while processing the request. +// +// - ResourceNotFoundException +// The request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/snow-device-management-2021-08-04/UntagResource func (c *SnowDeviceManagement) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/doc.go index d67307ededd5..06618d6e9263 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/doc.go @@ -10,7 +10,7 @@ // See snowdevicemanagement package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/snowdevicemanagement/ // -// Using the Client +// # Using the Client // // To contact AWS Snow Device Management with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/service.go index df30532fa4b9..2129b7af2d5b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SnowDeviceManagement client from just a session. -// svc := snowdevicemanagement.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SnowDeviceManagement client with additional configuration -// svc := snowdevicemanagement.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SnowDeviceManagement client from just a session. +// svc := snowdevicemanagement.New(mySession) +// +// // Create a SnowDeviceManagement client with additional configuration +// svc := snowdevicemanagement.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SnowDeviceManagement { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/snowdevicemanagementiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/snowdevicemanagementiface/interface.go index 846316fba417..f28a4e9183ad 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/snowdevicemanagementiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/snowdevicemanagement/snowdevicemanagementiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Snow Device Management. -// func myFunc(svc snowdevicemanagementiface.SnowDeviceManagementAPI) bool { -// // Make svc.CancelTask request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Snow Device Management. +// func myFunc(svc snowdevicemanagementiface.SnowDeviceManagementAPI) bool { +// // Make svc.CancelTask request +// } // -// func main() { -// sess := session.New() -// svc := snowdevicemanagement.New(sess) +// func main() { +// sess := session.New() +// svc := snowdevicemanagement.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSnowDeviceManagementClient struct { -// snowdevicemanagementiface.SnowDeviceManagementAPI -// } -// func (m *mockSnowDeviceManagementClient) CancelTask(input *snowdevicemanagement.CancelTaskInput) (*snowdevicemanagement.CancelTaskOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSnowDeviceManagementClient struct { +// snowdevicemanagementiface.SnowDeviceManagementAPI +// } +// func (m *mockSnowDeviceManagementClient) CancelTask(input *snowdevicemanagement.CancelTaskInput) (*snowdevicemanagement.CancelTaskOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSnowDeviceManagementClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSnowDeviceManagementClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/api.go index d2737ef9f954..b70b38f8f3a9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/api.go @@ -29,14 +29,13 @@ const opAddPermission = "AddPermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddPermissionRequest method. +// req, resp := client.AddPermissionRequest(params) // -// // Example sending a request using the AddPermissionRequest method. -// req, resp := client.AddPermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermission func (c *SNS) AddPermissionRequest(input *AddPermissionInput) (req *request.Request, output *AddPermissionOutput) { @@ -69,17 +68,18 @@ func (c *SNS) AddPermissionRequest(input *AddPermissionInput) (req *request.Requ // API operation AddPermission for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. +// +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/AddPermission func (c *SNS) AddPermission(input *AddPermissionInput) (*AddPermissionOutput, error) { @@ -119,14 +119,13 @@ const opCheckIfPhoneNumberIsOptedOut = "CheckIfPhoneNumberIsOptedOut" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CheckIfPhoneNumberIsOptedOutRequest method. +// req, resp := client.CheckIfPhoneNumberIsOptedOutRequest(params) // -// // Example sending a request using the CheckIfPhoneNumberIsOptedOutRequest method. -// req, resp := client.CheckIfPhoneNumberIsOptedOutRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOut func (c *SNS) CheckIfPhoneNumberIsOptedOutRequest(input *CheckIfPhoneNumberIsOptedOutInput) (req *request.Request, output *CheckIfPhoneNumberIsOptedOutOutput) { @@ -162,18 +161,19 @@ func (c *SNS) CheckIfPhoneNumberIsOptedOutRequest(input *CheckIfPhoneNumberIsOpt // API operation CheckIfPhoneNumberIsOptedOut for usage and error information. // // Returned Error Codes: -// * ErrCodeThrottledException "Throttled" -// Indicates that the rate at which requests have been submitted for this action -// exceeds the limit for your Amazon Web Services account. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeThrottledException "Throttled" +// Indicates that the rate at which requests have been submitted for this action +// exceeds the limit for your Amazon Web Services account. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. +// +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CheckIfPhoneNumberIsOptedOut func (c *SNS) CheckIfPhoneNumberIsOptedOut(input *CheckIfPhoneNumberIsOptedOutInput) (*CheckIfPhoneNumberIsOptedOutOutput, error) { @@ -213,14 +213,13 @@ const opConfirmSubscription = "ConfirmSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ConfirmSubscriptionRequest method. +// req, resp := client.ConfirmSubscriptionRequest(params) // -// // Example sending a request using the ConfirmSubscriptionRequest method. -// req, resp := client.ConfirmSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscription func (c *SNS) ConfirmSubscriptionRequest(input *ConfirmSubscriptionInput) (req *request.Request, output *ConfirmSubscriptionOutput) { @@ -255,25 +254,26 @@ func (c *SNS) ConfirmSubscriptionRequest(input *ConfirmSubscriptionInput) (req * // API operation ConfirmSubscription for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionLimitExceededException "SubscriptionLimitExceeded" -// Indicates that the customer already owns the maximum allowed number of subscriptions. // -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeSubscriptionLimitExceededException "SubscriptionLimitExceeded" +// Indicates that the customer already owns the maximum allowed number of subscriptions. +// +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeFilterPolicyLimitExceededException "FilterPolicyLimitExceeded" -// Indicates that the number of filter polices in your Amazon Web Services account -// exceeds the limit. To add more filter polices, submit an Amazon SNS Limit -// Increase case in the Amazon Web Services Support Center. +// - ErrCodeFilterPolicyLimitExceededException "FilterPolicyLimitExceeded" +// Indicates that the number of filter polices in your Amazon Web Services account +// exceeds the limit. To add more filter polices, submit an Amazon SNS Limit +// Increase case in the Amazon Web Services Support Center. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ConfirmSubscription func (c *SNS) ConfirmSubscription(input *ConfirmSubscriptionInput) (*ConfirmSubscriptionOutput, error) { @@ -313,14 +313,13 @@ const opCreatePlatformApplication = "CreatePlatformApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePlatformApplicationRequest method. +// req, resp := client.CreatePlatformApplicationRequest(params) // -// // Example sending a request using the CreatePlatformApplicationRequest method. -// req, resp := client.CreatePlatformApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplication func (c *SNS) CreatePlatformApplicationRequest(input *CreatePlatformApplicationInput) (req *request.Request, output *CreatePlatformApplicationOutput) { @@ -349,26 +348,26 @@ func (c *SNS) CreatePlatformApplicationRequest(input *CreatePlatformApplicationI // PlatformPrincipal and PlatformCredential are received from the notification // service. // -// * For ADM, PlatformPrincipal is client id and PlatformCredential is client -// secret. +// - For ADM, PlatformPrincipal is client id and PlatformCredential is client +// secret. // -// * For Baidu, PlatformPrincipal is API key and PlatformCredential is secret -// key. +// - For Baidu, PlatformPrincipal is API key and PlatformCredential is secret +// key. // -// * For APNS and APNS_SANDBOX using certificate credentials, PlatformPrincipal -// is SSL certificate and PlatformCredential is private key. +// - For APNS and APNS_SANDBOX using certificate credentials, PlatformPrincipal +// is SSL certificate and PlatformCredential is private key. // -// * For APNS and APNS_SANDBOX using token credentials, PlatformPrincipal -// is signing key ID and PlatformCredential is signing key. +// - For APNS and APNS_SANDBOX using token credentials, PlatformPrincipal +// is signing key ID and PlatformCredential is signing key. // -// * For GCM (Firebase Cloud Messaging), there is no PlatformPrincipal and -// the PlatformCredential is API key. +// - For GCM (Firebase Cloud Messaging), there is no PlatformPrincipal and +// the PlatformCredential is API key. // -// * For MPNS, PlatformPrincipal is TLS certificate and PlatformCredential -// is private key. +// - For MPNS, PlatformPrincipal is TLS certificate and PlatformCredential +// is private key. // -// * For WNS, PlatformPrincipal is Package Security Identifier and PlatformCredential -// is secret key. +// - For WNS, PlatformPrincipal is Package Security Identifier and PlatformCredential +// is secret key. // // You can use the returned PlatformApplicationArn as an attribute for the CreatePlatformEndpoint // action. @@ -381,14 +380,15 @@ func (c *SNS) CreatePlatformApplicationRequest(input *CreatePlatformApplicationI // API operation CreatePlatformApplication for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. +// +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformApplication func (c *SNS) CreatePlatformApplication(input *CreatePlatformApplicationInput) (*CreatePlatformApplicationOutput, error) { @@ -428,14 +428,13 @@ const opCreatePlatformEndpoint = "CreatePlatformEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePlatformEndpointRequest method. +// req, resp := client.CreatePlatformEndpointRequest(params) // -// // Example sending a request using the CreatePlatformEndpointRequest method. -// req, resp := client.CreatePlatformEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformEndpoint func (c *SNS) CreatePlatformEndpointRequest(input *CreatePlatformEndpointInput) (req *request.Request, output *CreatePlatformEndpointOutput) { @@ -478,17 +477,18 @@ func (c *SNS) CreatePlatformEndpointRequest(input *CreatePlatformEndpointInput) // API operation CreatePlatformEndpoint for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. +// +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreatePlatformEndpoint func (c *SNS) CreatePlatformEndpoint(input *CreatePlatformEndpointInput) (*CreatePlatformEndpointOutput, error) { @@ -528,14 +528,13 @@ const opCreateSMSSandboxPhoneNumber = "CreateSMSSandboxPhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSMSSandboxPhoneNumberRequest method. +// req, resp := client.CreateSMSSandboxPhoneNumberRequest(params) // -// // Example sending a request using the CreateSMSSandboxPhoneNumberRequest method. -// req, resp := client.CreateSMSSandboxPhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateSMSSandboxPhoneNumber func (c *SNS) CreateSMSSandboxPhoneNumberRequest(input *CreateSMSSandboxPhoneNumberInput) (req *request.Request, output *CreateSMSSandboxPhoneNumberOutput) { @@ -578,26 +577,27 @@ func (c *SNS) CreateSMSSandboxPhoneNumberRequest(input *CreateSMSSandboxPhoneNum // API operation CreateSMSSandboxPhoneNumber for usage and error information. // // Returned Error Codes: -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeOptedOutException "OptedOut" -// Indicates that the specified phone number opted out of receiving SMS messages -// from your Amazon Web Services account. You can't send SMS messages to phone -// numbers that opt out. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeUserErrorException "UserError" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeOptedOutException "OptedOut" +// Indicates that the specified phone number opted out of receiving SMS messages +// from your Amazon Web Services account. You can't send SMS messages to phone +// numbers that opt out. // -// * ErrCodeThrottledException "Throttled" -// Indicates that the rate at which requests have been submitted for this action -// exceeds the limit for your Amazon Web Services account. +// - ErrCodeUserErrorException "UserError" +// Indicates that a request parameter does not comply with the associated constraints. +// +// - ErrCodeThrottledException "Throttled" +// Indicates that the rate at which requests have been submitted for this action +// exceeds the limit for your Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateSMSSandboxPhoneNumber func (c *SNS) CreateSMSSandboxPhoneNumber(input *CreateSMSSandboxPhoneNumberInput) (*CreateSMSSandboxPhoneNumberOutput, error) { @@ -637,14 +637,13 @@ const opCreateTopic = "CreateTopic" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTopicRequest method. +// req, resp := client.CreateTopicRequest(params) // -// // Example sending a request using the CreateTopicRequest method. -// req, resp := client.CreateTopicRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopic func (c *SNS) CreateTopicRequest(input *CreateTopicInput) (req *request.Request, output *CreateTopicOutput) { @@ -680,36 +679,37 @@ func (c *SNS) CreateTopicRequest(input *CreateTopicInput) (req *request.Request, // API operation CreateTopic for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeTopicLimitExceededException "TopicLimitExceeded" -// Indicates that the customer already owns the maximum allowed number of topics. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. +// +// - ErrCodeTopicLimitExceededException "TopicLimitExceeded" +// Indicates that the customer already owns the maximum allowed number of topics. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeInvalidSecurityException "InvalidSecurity" -// The credential signature isn't valid. You must use an HTTPS endpoint and -// sign your request using Signature Version 4. +// - ErrCodeInvalidSecurityException "InvalidSecurity" +// The credential signature isn't valid. You must use an HTTPS endpoint and +// sign your request using Signature Version 4. // -// * ErrCodeTagLimitExceededException "TagLimitExceeded" -// Can't add more than 50 tags to a topic. +// - ErrCodeTagLimitExceededException "TagLimitExceeded" +// Can't add more than 50 tags to a topic. // -// * ErrCodeStaleTagException "StaleTag" -// A tag has been added to a resource with the same ARN as a deleted resource. -// Wait a short while and then retry the operation. +// - ErrCodeStaleTagException "StaleTag" +// A tag has been added to a resource with the same ARN as a deleted resource. +// Wait a short while and then retry the operation. // -// * ErrCodeTagPolicyException "TagPolicy" -// The request doesn't comply with the IAM tag policy. Correct your request -// and then retry it. +// - ErrCodeTagPolicyException "TagPolicy" +// The request doesn't comply with the IAM tag policy. Correct your request +// and then retry it. // -// * ErrCodeConcurrentAccessException "ConcurrentAccess" -// Can't perform multiple operations on a tag simultaneously. Perform the operations -// sequentially. +// - ErrCodeConcurrentAccessException "ConcurrentAccess" +// Can't perform multiple operations on a tag simultaneously. Perform the operations +// sequentially. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/CreateTopic func (c *SNS) CreateTopic(input *CreateTopicInput) (*CreateTopicOutput, error) { @@ -749,14 +749,13 @@ const opDeleteEndpoint = "DeleteEndpoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEndpointRequest method. +// req, resp := client.DeleteEndpointRequest(params) // -// // Example sending a request using the DeleteEndpointRequest method. -// req, resp := client.DeleteEndpointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpoint func (c *SNS) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) { @@ -793,14 +792,15 @@ func (c *SNS) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Re // API operation DeleteEndpoint for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. +// +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteEndpoint func (c *SNS) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) { @@ -840,14 +840,13 @@ const opDeletePlatformApplication = "DeletePlatformApplication" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePlatformApplicationRequest method. +// req, resp := client.DeletePlatformApplicationRequest(params) // -// // Example sending a request using the DeletePlatformApplicationRequest method. -// req, resp := client.DeletePlatformApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplication func (c *SNS) DeletePlatformApplicationRequest(input *DeletePlatformApplicationInput) (req *request.Request, output *DeletePlatformApplicationOutput) { @@ -881,14 +880,15 @@ func (c *SNS) DeletePlatformApplicationRequest(input *DeletePlatformApplicationI // API operation DeletePlatformApplication for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. +// +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeletePlatformApplication func (c *SNS) DeletePlatformApplication(input *DeletePlatformApplicationInput) (*DeletePlatformApplicationOutput, error) { @@ -928,14 +928,13 @@ const opDeleteSMSSandboxPhoneNumber = "DeleteSMSSandboxPhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSMSSandboxPhoneNumberRequest method. +// req, resp := client.DeleteSMSSandboxPhoneNumberRequest(params) // -// // Example sending a request using the DeleteSMSSandboxPhoneNumberRequest method. -// req, resp := client.DeleteSMSSandboxPhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteSMSSandboxPhoneNumber func (c *SNS) DeleteSMSSandboxPhoneNumberRequest(input *DeleteSMSSandboxPhoneNumberInput) (req *request.Request, output *DeleteSMSSandboxPhoneNumberOutput) { @@ -978,25 +977,26 @@ func (c *SNS) DeleteSMSSandboxPhoneNumberRequest(input *DeleteSMSSandboxPhoneNum // API operation DeleteSMSSandboxPhoneNumber for usage and error information. // // Returned Error Codes: -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. +// +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// Can’t perform the action on the specified resource. Make sure that the -// resource exists. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// Can’t perform the action on the specified resource. Make sure that the +// resource exists. // -// * ErrCodeUserErrorException "UserError" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeUserErrorException "UserError" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeThrottledException "Throttled" -// Indicates that the rate at which requests have been submitted for this action -// exceeds the limit for your Amazon Web Services account. +// - ErrCodeThrottledException "Throttled" +// Indicates that the rate at which requests have been submitted for this action +// exceeds the limit for your Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteSMSSandboxPhoneNumber func (c *SNS) DeleteSMSSandboxPhoneNumber(input *DeleteSMSSandboxPhoneNumberInput) (*DeleteSMSSandboxPhoneNumberOutput, error) { @@ -1036,14 +1036,13 @@ const opDeleteTopic = "DeleteTopic" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTopicRequest method. +// req, resp := client.DeleteTopicRequest(params) // -// // Example sending a request using the DeleteTopicRequest method. -// req, resp := client.DeleteTopicRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopic func (c *SNS) DeleteTopicRequest(input *DeleteTopicInput) (req *request.Request, output *DeleteTopicOutput) { @@ -1078,29 +1077,30 @@ func (c *SNS) DeleteTopicRequest(input *DeleteTopicInput) (req *request.Request, // API operation DeleteTopic for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. +// +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. // -// * ErrCodeStaleTagException "StaleTag" -// A tag has been added to a resource with the same ARN as a deleted resource. -// Wait a short while and then retry the operation. +// - ErrCodeStaleTagException "StaleTag" +// A tag has been added to a resource with the same ARN as a deleted resource. +// Wait a short while and then retry the operation. // -// * ErrCodeTagPolicyException "TagPolicy" -// The request doesn't comply with the IAM tag policy. Correct your request -// and then retry it. +// - ErrCodeTagPolicyException "TagPolicy" +// The request doesn't comply with the IAM tag policy. Correct your request +// and then retry it. // -// * ErrCodeConcurrentAccessException "ConcurrentAccess" -// Can't perform multiple operations on a tag simultaneously. Perform the operations -// sequentially. +// - ErrCodeConcurrentAccessException "ConcurrentAccess" +// Can't perform multiple operations on a tag simultaneously. Perform the operations +// sequentially. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/DeleteTopic func (c *SNS) DeleteTopic(input *DeleteTopicInput) (*DeleteTopicOutput, error) { @@ -1140,14 +1140,13 @@ const opGetEndpointAttributes = "GetEndpointAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEndpointAttributesRequest method. +// req, resp := client.GetEndpointAttributesRequest(params) // -// // Example sending a request using the GetEndpointAttributesRequest method. -// req, resp := client.GetEndpointAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributes func (c *SNS) GetEndpointAttributesRequest(input *GetEndpointAttributesInput) (req *request.Request, output *GetEndpointAttributesOutput) { @@ -1180,17 +1179,18 @@ func (c *SNS) GetEndpointAttributesRequest(input *GetEndpointAttributesInput) (r // API operation GetEndpointAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. +// +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetEndpointAttributes func (c *SNS) GetEndpointAttributes(input *GetEndpointAttributesInput) (*GetEndpointAttributesOutput, error) { @@ -1230,14 +1230,13 @@ const opGetPlatformApplicationAttributes = "GetPlatformApplicationAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPlatformApplicationAttributesRequest method. +// req, resp := client.GetPlatformApplicationAttributesRequest(params) // -// // Example sending a request using the GetPlatformApplicationAttributesRequest method. -// req, resp := client.GetPlatformApplicationAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributes func (c *SNS) GetPlatformApplicationAttributesRequest(input *GetPlatformApplicationAttributesInput) (req *request.Request, output *GetPlatformApplicationAttributesOutput) { @@ -1270,17 +1269,18 @@ func (c *SNS) GetPlatformApplicationAttributesRequest(input *GetPlatformApplicat // API operation GetPlatformApplicationAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. +// +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetPlatformApplicationAttributes func (c *SNS) GetPlatformApplicationAttributes(input *GetPlatformApplicationAttributesInput) (*GetPlatformApplicationAttributesOutput, error) { @@ -1320,14 +1320,13 @@ const opGetSMSAttributes = "GetSMSAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSMSAttributesRequest method. +// req, resp := client.GetSMSAttributesRequest(params) // -// // Example sending a request using the GetSMSAttributesRequest method. -// req, resp := client.GetSMSAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributes func (c *SNS) GetSMSAttributesRequest(input *GetSMSAttributesInput) (req *request.Request, output *GetSMSAttributesOutput) { @@ -1361,18 +1360,19 @@ func (c *SNS) GetSMSAttributesRequest(input *GetSMSAttributesInput) (req *reques // API operation GetSMSAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeThrottledException "Throttled" -// Indicates that the rate at which requests have been submitted for this action -// exceeds the limit for your Amazon Web Services account. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeThrottledException "Throttled" +// Indicates that the rate at which requests have been submitted for this action +// exceeds the limit for your Amazon Web Services account. +// +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributes func (c *SNS) GetSMSAttributes(input *GetSMSAttributesInput) (*GetSMSAttributesOutput, error) { @@ -1412,14 +1412,13 @@ const opGetSMSSandboxAccountStatus = "GetSMSSandboxAccountStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSMSSandboxAccountStatusRequest method. +// req, resp := client.GetSMSSandboxAccountStatusRequest(params) // -// // Example sending a request using the GetSMSSandboxAccountStatusRequest method. -// req, resp := client.GetSMSSandboxAccountStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSSandboxAccountStatus func (c *SNS) GetSMSSandboxAccountStatusRequest(input *GetSMSSandboxAccountStatusInput) (req *request.Request, output *GetSMSSandboxAccountStatusOutput) { @@ -1461,15 +1460,16 @@ func (c *SNS) GetSMSSandboxAccountStatusRequest(input *GetSMSSandboxAccountStatu // API operation GetSMSSandboxAccountStatus for usage and error information. // // Returned Error Codes: -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. +// +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeThrottledException "Throttled" -// Indicates that the rate at which requests have been submitted for this action -// exceeds the limit for your Amazon Web Services account. +// - ErrCodeThrottledException "Throttled" +// Indicates that the rate at which requests have been submitted for this action +// exceeds the limit for your Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSSandboxAccountStatus func (c *SNS) GetSMSSandboxAccountStatus(input *GetSMSSandboxAccountStatusInput) (*GetSMSSandboxAccountStatusOutput, error) { @@ -1509,14 +1509,13 @@ const opGetSubscriptionAttributes = "GetSubscriptionAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSubscriptionAttributesRequest method. +// req, resp := client.GetSubscriptionAttributesRequest(params) // -// // Example sending a request using the GetSubscriptionAttributesRequest method. -// req, resp := client.GetSubscriptionAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributes func (c *SNS) GetSubscriptionAttributesRequest(input *GetSubscriptionAttributesInput) (req *request.Request, output *GetSubscriptionAttributesOutput) { @@ -1547,17 +1546,18 @@ func (c *SNS) GetSubscriptionAttributesRequest(input *GetSubscriptionAttributesI // API operation GetSubscriptionAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. +// +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSubscriptionAttributes func (c *SNS) GetSubscriptionAttributes(input *GetSubscriptionAttributesInput) (*GetSubscriptionAttributesOutput, error) { @@ -1597,14 +1597,13 @@ const opGetTopicAttributes = "GetTopicAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTopicAttributesRequest method. +// req, resp := client.GetTopicAttributesRequest(params) // -// // Example sending a request using the GetTopicAttributesRequest method. -// req, resp := client.GetTopicAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributes func (c *SNS) GetTopicAttributesRequest(input *GetTopicAttributesInput) (req *request.Request, output *GetTopicAttributesOutput) { @@ -1636,21 +1635,22 @@ func (c *SNS) GetTopicAttributesRequest(input *GetTopicAttributesInput) (req *re // API operation GetTopicAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. // -// * ErrCodeInvalidSecurityException "InvalidSecurity" -// The credential signature isn't valid. You must use an HTTPS endpoint and -// sign your request using Signature Version 4. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. +// +// - ErrCodeInvalidSecurityException "InvalidSecurity" +// The credential signature isn't valid. You must use an HTTPS endpoint and +// sign your request using Signature Version 4. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetTopicAttributes func (c *SNS) GetTopicAttributes(input *GetTopicAttributesInput) (*GetTopicAttributesOutput, error) { @@ -1690,14 +1690,13 @@ const opListEndpointsByPlatformApplication = "ListEndpointsByPlatformApplication // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEndpointsByPlatformApplicationRequest method. +// req, resp := client.ListEndpointsByPlatformApplicationRequest(params) // -// // Example sending a request using the ListEndpointsByPlatformApplicationRequest method. -// req, resp := client.ListEndpointsByPlatformApplicationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplication func (c *SNS) ListEndpointsByPlatformApplicationRequest(input *ListEndpointsByPlatformApplicationInput) (req *request.Request, output *ListEndpointsByPlatformApplicationOutput) { @@ -1744,17 +1743,18 @@ func (c *SNS) ListEndpointsByPlatformApplicationRequest(input *ListEndpointsByPl // API operation ListEndpointsByPlatformApplication for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. +// +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListEndpointsByPlatformApplication func (c *SNS) ListEndpointsByPlatformApplication(input *ListEndpointsByPlatformApplicationInput) (*ListEndpointsByPlatformApplicationOutput, error) { @@ -1786,15 +1786,14 @@ func (c *SNS) ListEndpointsByPlatformApplicationWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEndpointsByPlatformApplication operation. -// pageNum := 0 -// err := client.ListEndpointsByPlatformApplicationPages(params, -// func(page *sns.ListEndpointsByPlatformApplicationOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEndpointsByPlatformApplication operation. +// pageNum := 0 +// err := client.ListEndpointsByPlatformApplicationPages(params, +// func(page *sns.ListEndpointsByPlatformApplicationOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SNS) ListEndpointsByPlatformApplicationPages(input *ListEndpointsByPlatformApplicationInput, fn func(*ListEndpointsByPlatformApplicationOutput, bool) bool) error { return c.ListEndpointsByPlatformApplicationPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1846,14 +1845,13 @@ const opListOriginationNumbers = "ListOriginationNumbers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOriginationNumbersRequest method. +// req, resp := client.ListOriginationNumbersRequest(params) // -// // Example sending a request using the ListOriginationNumbersRequest method. -// req, resp := client.ListOriginationNumbersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListOriginationNumbers func (c *SNS) ListOriginationNumbersRequest(input *ListOriginationNumbersInput) (req *request.Request, output *ListOriginationNumbersOutput) { @@ -1893,21 +1891,22 @@ func (c *SNS) ListOriginationNumbersRequest(input *ListOriginationNumbersInput) // API operation ListOriginationNumbers for usage and error information. // // Returned Error Codes: -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. +// +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeThrottledException "Throttled" -// Indicates that the rate at which requests have been submitted for this action -// exceeds the limit for your Amazon Web Services account. +// - ErrCodeThrottledException "Throttled" +// Indicates that the rate at which requests have been submitted for this action +// exceeds the limit for your Amazon Web Services account. // -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeValidationException "ValidationException" -// Indicates that a parameter in the request is invalid. +// - ErrCodeValidationException "ValidationException" +// Indicates that a parameter in the request is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListOriginationNumbers func (c *SNS) ListOriginationNumbers(input *ListOriginationNumbersInput) (*ListOriginationNumbersOutput, error) { @@ -1939,15 +1938,14 @@ func (c *SNS) ListOriginationNumbersWithContext(ctx aws.Context, input *ListOrig // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOriginationNumbers operation. -// pageNum := 0 -// err := client.ListOriginationNumbersPages(params, -// func(page *sns.ListOriginationNumbersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOriginationNumbers operation. +// pageNum := 0 +// err := client.ListOriginationNumbersPages(params, +// func(page *sns.ListOriginationNumbersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SNS) ListOriginationNumbersPages(input *ListOriginationNumbersInput, fn func(*ListOriginationNumbersOutput, bool) bool) error { return c.ListOriginationNumbersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1999,14 +1997,13 @@ const opListPhoneNumbersOptedOut = "ListPhoneNumbersOptedOut" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPhoneNumbersOptedOutRequest method. +// req, resp := client.ListPhoneNumbersOptedOutRequest(params) // -// // Example sending a request using the ListPhoneNumbersOptedOutRequest method. -// req, resp := client.ListPhoneNumbersOptedOutRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOut func (c *SNS) ListPhoneNumbersOptedOutRequest(input *ListPhoneNumbersOptedOutInput) (req *request.Request, output *ListPhoneNumbersOptedOutOutput) { @@ -2051,18 +2048,19 @@ func (c *SNS) ListPhoneNumbersOptedOutRequest(input *ListPhoneNumbersOptedOutInp // API operation ListPhoneNumbersOptedOut for usage and error information. // // Returned Error Codes: -// * ErrCodeThrottledException "Throttled" -// Indicates that the rate at which requests have been submitted for this action -// exceeds the limit for your Amazon Web Services account. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeThrottledException "Throttled" +// Indicates that the rate at which requests have been submitted for this action +// exceeds the limit for your Amazon Web Services account. +// +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPhoneNumbersOptedOut func (c *SNS) ListPhoneNumbersOptedOut(input *ListPhoneNumbersOptedOutInput) (*ListPhoneNumbersOptedOutOutput, error) { @@ -2094,15 +2092,14 @@ func (c *SNS) ListPhoneNumbersOptedOutWithContext(ctx aws.Context, input *ListPh // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPhoneNumbersOptedOut operation. -// pageNum := 0 -// err := client.ListPhoneNumbersOptedOutPages(params, -// func(page *sns.ListPhoneNumbersOptedOutOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPhoneNumbersOptedOut operation. +// pageNum := 0 +// err := client.ListPhoneNumbersOptedOutPages(params, +// func(page *sns.ListPhoneNumbersOptedOutOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SNS) ListPhoneNumbersOptedOutPages(input *ListPhoneNumbersOptedOutInput, fn func(*ListPhoneNumbersOptedOutOutput, bool) bool) error { return c.ListPhoneNumbersOptedOutPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2154,14 +2151,13 @@ const opListPlatformApplications = "ListPlatformApplications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPlatformApplicationsRequest method. +// req, resp := client.ListPlatformApplicationsRequest(params) // -// // Example sending a request using the ListPlatformApplicationsRequest method. -// req, resp := client.ListPlatformApplicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplications func (c *SNS) ListPlatformApplicationsRequest(input *ListPlatformApplicationsInput) (req *request.Request, output *ListPlatformApplicationsOutput) { @@ -2207,14 +2203,15 @@ func (c *SNS) ListPlatformApplicationsRequest(input *ListPlatformApplicationsInp // API operation ListPlatformApplications for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. +// +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListPlatformApplications func (c *SNS) ListPlatformApplications(input *ListPlatformApplicationsInput) (*ListPlatformApplicationsOutput, error) { @@ -2246,15 +2243,14 @@ func (c *SNS) ListPlatformApplicationsWithContext(ctx aws.Context, input *ListPl // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPlatformApplications operation. -// pageNum := 0 -// err := client.ListPlatformApplicationsPages(params, -// func(page *sns.ListPlatformApplicationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPlatformApplications operation. +// pageNum := 0 +// err := client.ListPlatformApplicationsPages(params, +// func(page *sns.ListPlatformApplicationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SNS) ListPlatformApplicationsPages(input *ListPlatformApplicationsInput, fn func(*ListPlatformApplicationsOutput, bool) bool) error { return c.ListPlatformApplicationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2306,14 +2302,13 @@ const opListSMSSandboxPhoneNumbers = "ListSMSSandboxPhoneNumbers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSMSSandboxPhoneNumbersRequest method. +// req, resp := client.ListSMSSandboxPhoneNumbersRequest(params) // -// // Example sending a request using the ListSMSSandboxPhoneNumbersRequest method. -// req, resp := client.ListSMSSandboxPhoneNumbersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSMSSandboxPhoneNumbers func (c *SNS) ListSMSSandboxPhoneNumbersRequest(input *ListSMSSandboxPhoneNumbersInput) (req *request.Request, output *ListSMSSandboxPhoneNumbersOutput) { @@ -2361,22 +2356,23 @@ func (c *SNS) ListSMSSandboxPhoneNumbersRequest(input *ListSMSSandboxPhoneNumber // API operation ListSMSSandboxPhoneNumbers for usage and error information. // // Returned Error Codes: -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// Can’t perform the action on the specified resource. Make sure that the -// resource exists. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeThrottledException "Throttled" -// Indicates that the rate at which requests have been submitted for this action -// exceeds the limit for your Amazon Web Services account. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// Can’t perform the action on the specified resource. Make sure that the +// resource exists. +// +// - ErrCodeThrottledException "Throttled" +// Indicates that the rate at which requests have been submitted for this action +// exceeds the limit for your Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSMSSandboxPhoneNumbers func (c *SNS) ListSMSSandboxPhoneNumbers(input *ListSMSSandboxPhoneNumbersInput) (*ListSMSSandboxPhoneNumbersOutput, error) { @@ -2408,15 +2404,14 @@ func (c *SNS) ListSMSSandboxPhoneNumbersWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSMSSandboxPhoneNumbers operation. -// pageNum := 0 -// err := client.ListSMSSandboxPhoneNumbersPages(params, -// func(page *sns.ListSMSSandboxPhoneNumbersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSMSSandboxPhoneNumbers operation. +// pageNum := 0 +// err := client.ListSMSSandboxPhoneNumbersPages(params, +// func(page *sns.ListSMSSandboxPhoneNumbersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SNS) ListSMSSandboxPhoneNumbersPages(input *ListSMSSandboxPhoneNumbersInput, fn func(*ListSMSSandboxPhoneNumbersOutput, bool) bool) error { return c.ListSMSSandboxPhoneNumbersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2468,14 +2463,13 @@ const opListSubscriptions = "ListSubscriptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSubscriptionsRequest method. +// req, resp := client.ListSubscriptionsRequest(params) // -// // Example sending a request using the ListSubscriptionsRequest method. -// req, resp := client.ListSubscriptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptions func (c *SNS) ListSubscriptionsRequest(input *ListSubscriptionsInput) (req *request.Request, output *ListSubscriptionsOutput) { @@ -2517,14 +2511,15 @@ func (c *SNS) ListSubscriptionsRequest(input *ListSubscriptionsInput) (req *requ // API operation ListSubscriptions for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. +// +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptions func (c *SNS) ListSubscriptions(input *ListSubscriptionsInput) (*ListSubscriptionsOutput, error) { @@ -2556,15 +2551,14 @@ func (c *SNS) ListSubscriptionsWithContext(ctx aws.Context, input *ListSubscript // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSubscriptions operation. -// pageNum := 0 -// err := client.ListSubscriptionsPages(params, -// func(page *sns.ListSubscriptionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSubscriptions operation. +// pageNum := 0 +// err := client.ListSubscriptionsPages(params, +// func(page *sns.ListSubscriptionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SNS) ListSubscriptionsPages(input *ListSubscriptionsInput, fn func(*ListSubscriptionsOutput, bool) bool) error { return c.ListSubscriptionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2616,14 +2610,13 @@ const opListSubscriptionsByTopic = "ListSubscriptionsByTopic" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSubscriptionsByTopicRequest method. +// req, resp := client.ListSubscriptionsByTopicRequest(params) // -// // Example sending a request using the ListSubscriptionsByTopicRequest method. -// req, resp := client.ListSubscriptionsByTopicRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopic func (c *SNS) ListSubscriptionsByTopicRequest(input *ListSubscriptionsByTopicInput) (req *request.Request, output *ListSubscriptionsByTopicOutput) { @@ -2665,17 +2658,18 @@ func (c *SNS) ListSubscriptionsByTopicRequest(input *ListSubscriptionsByTopicInp // API operation ListSubscriptionsByTopic for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. +// +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListSubscriptionsByTopic func (c *SNS) ListSubscriptionsByTopic(input *ListSubscriptionsByTopicInput) (*ListSubscriptionsByTopicOutput, error) { @@ -2707,15 +2701,14 @@ func (c *SNS) ListSubscriptionsByTopicWithContext(ctx aws.Context, input *ListSu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSubscriptionsByTopic operation. -// pageNum := 0 -// err := client.ListSubscriptionsByTopicPages(params, -// func(page *sns.ListSubscriptionsByTopicOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSubscriptionsByTopic operation. +// pageNum := 0 +// err := client.ListSubscriptionsByTopicPages(params, +// func(page *sns.ListSubscriptionsByTopicOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SNS) ListSubscriptionsByTopicPages(input *ListSubscriptionsByTopicInput, fn func(*ListSubscriptionsByTopicOutput, bool) bool) error { return c.ListSubscriptionsByTopicPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2767,14 +2760,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTagsForResource func (c *SNS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2807,23 +2799,24 @@ func (c *SNS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// Can’t perform the action on the specified resource. Make sure that the -// resource exists. // -// * ErrCodeTagPolicyException "TagPolicy" -// The request doesn't comply with the IAM tag policy. Correct your request -// and then retry it. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// Can’t perform the action on the specified resource. Make sure that the +// resource exists. +// +// - ErrCodeTagPolicyException "TagPolicy" +// The request doesn't comply with the IAM tag policy. Correct your request +// and then retry it. // -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeConcurrentAccessException "ConcurrentAccess" -// Can't perform multiple operations on a tag simultaneously. Perform the operations -// sequentially. +// - ErrCodeConcurrentAccessException "ConcurrentAccess" +// Can't perform multiple operations on a tag simultaneously. Perform the operations +// sequentially. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTagsForResource func (c *SNS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2863,14 +2856,13 @@ const opListTopics = "ListTopics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTopicsRequest method. +// req, resp := client.ListTopicsRequest(params) // -// // Example sending a request using the ListTopicsRequest method. -// req, resp := client.ListTopicsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopics func (c *SNS) ListTopicsRequest(input *ListTopicsInput) (req *request.Request, output *ListTopicsOutput) { @@ -2911,14 +2903,15 @@ func (c *SNS) ListTopicsRequest(input *ListTopicsInput) (req *request.Request, o // API operation ListTopics for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. +// +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/ListTopics func (c *SNS) ListTopics(input *ListTopicsInput) (*ListTopicsOutput, error) { @@ -2950,15 +2943,14 @@ func (c *SNS) ListTopicsWithContext(ctx aws.Context, input *ListTopicsInput, opt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTopics operation. -// pageNum := 0 -// err := client.ListTopicsPages(params, -// func(page *sns.ListTopicsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTopics operation. +// pageNum := 0 +// err := client.ListTopicsPages(params, +// func(page *sns.ListTopicsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SNS) ListTopicsPages(input *ListTopicsInput, fn func(*ListTopicsOutput, bool) bool) error { return c.ListTopicsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3010,14 +3002,13 @@ const opOptInPhoneNumber = "OptInPhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OptInPhoneNumberRequest method. +// req, resp := client.OptInPhoneNumberRequest(params) // -// // Example sending a request using the OptInPhoneNumberRequest method. -// req, resp := client.OptInPhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumber func (c *SNS) OptInPhoneNumberRequest(input *OptInPhoneNumberInput) (req *request.Request, output *OptInPhoneNumberOutput) { @@ -3052,18 +3043,19 @@ func (c *SNS) OptInPhoneNumberRequest(input *OptInPhoneNumberInput) (req *reques // API operation OptInPhoneNumber for usage and error information. // // Returned Error Codes: -// * ErrCodeThrottledException "Throttled" -// Indicates that the rate at which requests have been submitted for this action -// exceeds the limit for your Amazon Web Services account. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeThrottledException "Throttled" +// Indicates that the rate at which requests have been submitted for this action +// exceeds the limit for your Amazon Web Services account. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. +// +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/OptInPhoneNumber func (c *SNS) OptInPhoneNumber(input *OptInPhoneNumberInput) (*OptInPhoneNumberOutput, error) { @@ -3103,14 +3095,13 @@ const opPublish = "Publish" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PublishRequest method. +// req, resp := client.PublishRequest(params) // -// // Example sending a request using the PublishRequest method. -// req, resp := client.PublishRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Publish func (c *SNS) PublishRequest(input *PublishInput) (req *request.Request, output *PublishOutput) { @@ -3161,56 +3152,57 @@ func (c *SNS) PublishRequest(input *PublishInput) (req *request.Request, output // API operation Publish for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInvalidParameterValueException "ParameterValueInvalid" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. +// +// - ErrCodeInvalidParameterValueException "ParameterValueInvalid" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. // -// * ErrCodeEndpointDisabledException "EndpointDisabled" -// Exception error indicating endpoint disabled. +// - ErrCodeEndpointDisabledException "EndpointDisabled" +// Exception error indicating endpoint disabled. // -// * ErrCodePlatformApplicationDisabledException "PlatformApplicationDisabled" -// Exception error indicating platform application disabled. +// - ErrCodePlatformApplicationDisabledException "PlatformApplicationDisabled" +// Exception error indicating platform application disabled. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeKMSDisabledException "KMSDisabled" -// The request was rejected because the specified customer master key (CMK) -// isn't enabled. +// - ErrCodeKMSDisabledException "KMSDisabled" +// The request was rejected because the specified customer master key (CMK) +// isn't enabled. // -// * ErrCodeKMSInvalidStateException "KMSInvalidState" -// The request was rejected because the state of the specified resource isn't -// valid for this request. For more information, see How Key State Affects Use -// of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide. +// - ErrCodeKMSInvalidStateException "KMSInvalidState" +// The request was rejected because the state of the specified resource isn't +// valid for this request. For more information, see How Key State Affects Use +// of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide. // -// * ErrCodeKMSNotFoundException "KMSNotFound" -// The request was rejected because the specified entity or resource can't be -// found. +// - ErrCodeKMSNotFoundException "KMSNotFound" +// The request was rejected because the specified entity or resource can't be +// found. // -// * ErrCodeKMSOptInRequired "KMSOptInRequired" -// The Amazon Web Services access key ID needs a subscription for the service. +// - ErrCodeKMSOptInRequired "KMSOptInRequired" +// The Amazon Web Services access key ID needs a subscription for the service. // -// * ErrCodeKMSThrottlingException "KMSThrottling" -// The request was denied due to request throttling. For more information about -// throttling, see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) -// in the Key Management Service Developer Guide. +// - ErrCodeKMSThrottlingException "KMSThrottling" +// The request was denied due to request throttling. For more information about +// throttling, see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) +// in the Key Management Service Developer Guide. // -// * ErrCodeKMSAccessDeniedException "KMSAccessDenied" -// The ciphertext references a key that doesn't exist or that you don't have -// access to. +// - ErrCodeKMSAccessDeniedException "KMSAccessDenied" +// The ciphertext references a key that doesn't exist or that you don't have +// access to. // -// * ErrCodeInvalidSecurityException "InvalidSecurity" -// The credential signature isn't valid. You must use an HTTPS endpoint and -// sign your request using Signature Version 4. +// - ErrCodeInvalidSecurityException "InvalidSecurity" +// The credential signature isn't valid. You must use an HTTPS endpoint and +// sign your request using Signature Version 4. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Publish func (c *SNS) Publish(input *PublishInput) (*PublishOutput, error) { @@ -3250,14 +3242,13 @@ const opPublishBatch = "PublishBatch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PublishBatchRequest method. +// req, resp := client.PublishBatchRequest(params) // -// // Example sending a request using the PublishBatchRequest method. -// req, resp := client.PublishBatchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishBatch func (c *SNS) PublishBatchRequest(input *PublishBatchInput) (req *request.Request, output *PublishBatchOutput) { @@ -3315,71 +3306,72 @@ func (c *SNS) PublishBatchRequest(input *PublishBatchInput) (req *request.Reques // API operation PublishBatch for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInvalidParameterValueException "ParameterValueInvalid" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. +// +// - ErrCodeInvalidParameterValueException "ParameterValueInvalid" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. // -// * ErrCodeEndpointDisabledException "EndpointDisabled" -// Exception error indicating endpoint disabled. +// - ErrCodeEndpointDisabledException "EndpointDisabled" +// Exception error indicating endpoint disabled. // -// * ErrCodePlatformApplicationDisabledException "PlatformApplicationDisabled" -// Exception error indicating platform application disabled. +// - ErrCodePlatformApplicationDisabledException "PlatformApplicationDisabled" +// Exception error indicating platform application disabled. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeBatchEntryIdsNotDistinctException "BatchEntryIdsNotDistinct" -// Two or more batch entries in the request have the same Id. +// - ErrCodeBatchEntryIdsNotDistinctException "BatchEntryIdsNotDistinct" +// Two or more batch entries in the request have the same Id. // -// * ErrCodeBatchRequestTooLongException "BatchRequestTooLong" -// The length of all the batch messages put together is more than the limit. +// - ErrCodeBatchRequestTooLongException "BatchRequestTooLong" +// The length of all the batch messages put together is more than the limit. // -// * ErrCodeEmptyBatchRequestException "EmptyBatchRequest" -// The batch request doesn't contain any entries. +// - ErrCodeEmptyBatchRequestException "EmptyBatchRequest" +// The batch request doesn't contain any entries. // -// * ErrCodeInvalidBatchEntryIdException "InvalidBatchEntryId" -// The Id of a batch entry in a batch request doesn't abide by the specification. +// - ErrCodeInvalidBatchEntryIdException "InvalidBatchEntryId" +// The Id of a batch entry in a batch request doesn't abide by the specification. // -// * ErrCodeTooManyEntriesInBatchRequestException "TooManyEntriesInBatchRequest" -// The batch request contains more entries than permissible. +// - ErrCodeTooManyEntriesInBatchRequestException "TooManyEntriesInBatchRequest" +// The batch request contains more entries than permissible. // -// * ErrCodeKMSDisabledException "KMSDisabled" -// The request was rejected because the specified customer master key (CMK) -// isn't enabled. +// - ErrCodeKMSDisabledException "KMSDisabled" +// The request was rejected because the specified customer master key (CMK) +// isn't enabled. // -// * ErrCodeKMSInvalidStateException "KMSInvalidState" -// The request was rejected because the state of the specified resource isn't -// valid for this request. For more information, see How Key State Affects Use -// of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) -// in the Key Management Service Developer Guide. +// - ErrCodeKMSInvalidStateException "KMSInvalidState" +// The request was rejected because the state of the specified resource isn't +// valid for this request. For more information, see How Key State Affects Use +// of a Customer Master Key (https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html) +// in the Key Management Service Developer Guide. // -// * ErrCodeKMSNotFoundException "KMSNotFound" -// The request was rejected because the specified entity or resource can't be -// found. +// - ErrCodeKMSNotFoundException "KMSNotFound" +// The request was rejected because the specified entity or resource can't be +// found. // -// * ErrCodeKMSOptInRequired "KMSOptInRequired" -// The Amazon Web Services access key ID needs a subscription for the service. +// - ErrCodeKMSOptInRequired "KMSOptInRequired" +// The Amazon Web Services access key ID needs a subscription for the service. // -// * ErrCodeKMSThrottlingException "KMSThrottling" -// The request was denied due to request throttling. For more information about -// throttling, see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) -// in the Key Management Service Developer Guide. +// - ErrCodeKMSThrottlingException "KMSThrottling" +// The request was denied due to request throttling. For more information about +// throttling, see Limits (https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second) +// in the Key Management Service Developer Guide. // -// * ErrCodeKMSAccessDeniedException "KMSAccessDenied" -// The ciphertext references a key that doesn't exist or that you don't have -// access to. +// - ErrCodeKMSAccessDeniedException "KMSAccessDenied" +// The ciphertext references a key that doesn't exist or that you don't have +// access to. // -// * ErrCodeInvalidSecurityException "InvalidSecurity" -// The credential signature isn't valid. You must use an HTTPS endpoint and -// sign your request using Signature Version 4. +// - ErrCodeInvalidSecurityException "InvalidSecurity" +// The credential signature isn't valid. You must use an HTTPS endpoint and +// sign your request using Signature Version 4. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/PublishBatch func (c *SNS) PublishBatch(input *PublishBatchInput) (*PublishBatchOutput, error) { @@ -3419,14 +3411,13 @@ const opRemovePermission = "RemovePermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemovePermissionRequest method. +// req, resp := client.RemovePermissionRequest(params) // -// // Example sending a request using the RemovePermissionRequest method. -// req, resp := client.RemovePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermission func (c *SNS) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput) { @@ -3458,17 +3449,18 @@ func (c *SNS) RemovePermissionRequest(input *RemovePermissionInput) (req *reques // API operation RemovePermission for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. +// +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermission func (c *SNS) RemovePermission(input *RemovePermissionInput) (*RemovePermissionOutput, error) { @@ -3508,14 +3500,13 @@ const opSetEndpointAttributes = "SetEndpointAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetEndpointAttributesRequest method. +// req, resp := client.SetEndpointAttributesRequest(params) // -// // Example sending a request using the SetEndpointAttributesRequest method. -// req, resp := client.SetEndpointAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributes func (c *SNS) SetEndpointAttributesRequest(input *SetEndpointAttributesInput) (req *request.Request, output *SetEndpointAttributesOutput) { @@ -3549,17 +3540,18 @@ func (c *SNS) SetEndpointAttributesRequest(input *SetEndpointAttributesInput) (r // API operation SetEndpointAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. +// +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetEndpointAttributes func (c *SNS) SetEndpointAttributes(input *SetEndpointAttributesInput) (*SetEndpointAttributesOutput, error) { @@ -3599,14 +3591,13 @@ const opSetPlatformApplicationAttributes = "SetPlatformApplicationAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetPlatformApplicationAttributesRequest method. +// req, resp := client.SetPlatformApplicationAttributesRequest(params) // -// // Example sending a request using the SetPlatformApplicationAttributesRequest method. -// req, resp := client.SetPlatformApplicationAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributes func (c *SNS) SetPlatformApplicationAttributesRequest(input *SetPlatformApplicationAttributesInput) (req *request.Request, output *SetPlatformApplicationAttributesOutput) { @@ -3642,17 +3633,18 @@ func (c *SNS) SetPlatformApplicationAttributesRequest(input *SetPlatformApplicat // API operation SetPlatformApplicationAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. +// +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetPlatformApplicationAttributes func (c *SNS) SetPlatformApplicationAttributes(input *SetPlatformApplicationAttributesInput) (*SetPlatformApplicationAttributesOutput, error) { @@ -3692,14 +3684,13 @@ const opSetSMSAttributes = "SetSMSAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetSMSAttributesRequest method. +// req, resp := client.SetSMSAttributesRequest(params) // -// // Example sending a request using the SetSMSAttributesRequest method. -// req, resp := client.SetSMSAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributes func (c *SNS) SetSMSAttributesRequest(input *SetSMSAttributesInput) (req *request.Request, output *SetSMSAttributesOutput) { @@ -3740,18 +3731,19 @@ func (c *SNS) SetSMSAttributesRequest(input *SetSMSAttributesInput) (req *reques // API operation SetSMSAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeThrottledException "Throttled" -// Indicates that the rate at which requests have been submitted for this action -// exceeds the limit for your Amazon Web Services account. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. +// +// - ErrCodeThrottledException "Throttled" +// Indicates that the rate at which requests have been submitted for this action +// exceeds the limit for your Amazon Web Services account. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSMSAttributes func (c *SNS) SetSMSAttributes(input *SetSMSAttributesInput) (*SetSMSAttributesOutput, error) { @@ -3791,14 +3783,13 @@ const opSetSubscriptionAttributes = "SetSubscriptionAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetSubscriptionAttributesRequest method. +// req, resp := client.SetSubscriptionAttributesRequest(params) // -// // Example sending a request using the SetSubscriptionAttributesRequest method. -// req, resp := client.SetSubscriptionAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributes func (c *SNS) SetSubscriptionAttributesRequest(input *SetSubscriptionAttributesInput) (req *request.Request, output *SetSubscriptionAttributesOutput) { @@ -3831,22 +3822,23 @@ func (c *SNS) SetSubscriptionAttributesRequest(input *SetSubscriptionAttributesI // API operation SetSubscriptionAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeFilterPolicyLimitExceededException "FilterPolicyLimitExceeded" -// Indicates that the number of filter polices in your Amazon Web Services account -// exceeds the limit. To add more filter polices, submit an Amazon SNS Limit -// Increase case in the Amazon Web Services Support Center. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeFilterPolicyLimitExceededException "FilterPolicyLimitExceeded" +// Indicates that the number of filter polices in your Amazon Web Services account +// exceeds the limit. To add more filter polices, submit an Amazon SNS Limit +// Increase case in the Amazon Web Services Support Center. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. +// +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetSubscriptionAttributes func (c *SNS) SetSubscriptionAttributes(input *SetSubscriptionAttributesInput) (*SetSubscriptionAttributesOutput, error) { @@ -3886,14 +3878,13 @@ const opSetTopicAttributes = "SetTopicAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetTopicAttributesRequest method. +// req, resp := client.SetTopicAttributesRequest(params) // -// // Example sending a request using the SetTopicAttributesRequest method. -// req, resp := client.SetTopicAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributes func (c *SNS) SetTopicAttributesRequest(input *SetTopicAttributesInput) (req *request.Request, output *SetTopicAttributesOutput) { @@ -3925,21 +3916,22 @@ func (c *SNS) SetTopicAttributesRequest(input *SetTopicAttributesInput) (req *re // API operation SetTopicAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. // -// * ErrCodeInvalidSecurityException "InvalidSecurity" -// The credential signature isn't valid. You must use an HTTPS endpoint and -// sign your request using Signature Version 4. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. +// +// - ErrCodeInvalidSecurityException "InvalidSecurity" +// The credential signature isn't valid. You must use an HTTPS endpoint and +// sign your request using Signature Version 4. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/SetTopicAttributes func (c *SNS) SetTopicAttributes(input *SetTopicAttributesInput) (*SetTopicAttributesOutput, error) { @@ -3979,14 +3971,13 @@ const opSubscribe = "Subscribe" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SubscribeRequest method. +// req, resp := client.SubscribeRequest(params) // -// // Example sending a request using the SubscribeRequest method. -// req, resp := client.SubscribeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Subscribe func (c *SNS) SubscribeRequest(input *SubscribeInput) (req *request.Request, output *SubscribeOutput) { @@ -4025,29 +4016,30 @@ func (c *SNS) SubscribeRequest(input *SubscribeInput) (req *request.Request, out // API operation Subscribe for usage and error information. // // Returned Error Codes: -// * ErrCodeSubscriptionLimitExceededException "SubscriptionLimitExceeded" -// Indicates that the customer already owns the maximum allowed number of subscriptions. // -// * ErrCodeFilterPolicyLimitExceededException "FilterPolicyLimitExceeded" -// Indicates that the number of filter polices in your Amazon Web Services account -// exceeds the limit. To add more filter polices, submit an Amazon SNS Limit -// Increase case in the Amazon Web Services Support Center. +// - ErrCodeSubscriptionLimitExceededException "SubscriptionLimitExceeded" +// Indicates that the customer already owns the maximum allowed number of subscriptions. +// +// - ErrCodeFilterPolicyLimitExceededException "FilterPolicyLimitExceeded" +// Indicates that the number of filter polices in your Amazon Web Services account +// exceeds the limit. To add more filter polices, submit an Amazon SNS Limit +// Increase case in the Amazon Web Services Support Center. // -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeInvalidSecurityException "InvalidSecurity" -// The credential signature isn't valid. You must use an HTTPS endpoint and -// sign your request using Signature Version 4. +// - ErrCodeInvalidSecurityException "InvalidSecurity" +// The credential signature isn't valid. You must use an HTTPS endpoint and +// sign your request using Signature Version 4. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Subscribe func (c *SNS) Subscribe(input *SubscribeInput) (*SubscribeOutput, error) { @@ -4087,14 +4079,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/TagResource func (c *SNS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -4122,19 +4113,19 @@ func (c *SNS) TagResourceRequest(input *TagResourceInput) (req *request.Request, // // When you use topic tags, keep the following guidelines in mind: // -// * Adding more than 50 tags to a topic isn't recommended. +// - Adding more than 50 tags to a topic isn't recommended. // -// * Tags don't have any semantic meaning. Amazon SNS interprets tags as -// character strings. +// - Tags don't have any semantic meaning. Amazon SNS interprets tags as +// character strings. // -// * Tags are case-sensitive. +// - Tags are case-sensitive. // -// * A new tag with a key identical to that of an existing tag overwrites -// the existing tag. +// - A new tag with a key identical to that of an existing tag overwrites +// the existing tag. // -// * Tagging actions are limited to 10 TPS per Amazon Web Services account, -// per Amazon Web Services Region. If your application requires a higher -// throughput, file a technical support request (https://console.aws.amazon.com/support/home#/case/create?issueType=technical). +// - Tagging actions are limited to 10 TPS per Amazon Web Services account, +// per Amazon Web Services Region. If your application requires a higher +// throughput, file a technical support request (https://console.aws.amazon.com/support/home#/case/create?issueType=technical). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4144,30 +4135,31 @@ func (c *SNS) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// Can’t perform the action on the specified resource. Make sure that the -// resource exists. // -// * ErrCodeTagLimitExceededException "TagLimitExceeded" -// Can't add more than 50 tags to a topic. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// Can’t perform the action on the specified resource. Make sure that the +// resource exists. +// +// - ErrCodeTagLimitExceededException "TagLimitExceeded" +// Can't add more than 50 tags to a topic. // -// * ErrCodeStaleTagException "StaleTag" -// A tag has been added to a resource with the same ARN as a deleted resource. -// Wait a short while and then retry the operation. +// - ErrCodeStaleTagException "StaleTag" +// A tag has been added to a resource with the same ARN as a deleted resource. +// Wait a short while and then retry the operation. // -// * ErrCodeTagPolicyException "TagPolicy" -// The request doesn't comply with the IAM tag policy. Correct your request -// and then retry it. +// - ErrCodeTagPolicyException "TagPolicy" +// The request doesn't comply with the IAM tag policy. Correct your request +// and then retry it. // -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeConcurrentAccessException "ConcurrentAccess" -// Can't perform multiple operations on a tag simultaneously. Perform the operations -// sequentially. +// - ErrCodeConcurrentAccessException "ConcurrentAccess" +// Can't perform multiple operations on a tag simultaneously. Perform the operations +// sequentially. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/TagResource func (c *SNS) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4207,14 +4199,13 @@ const opUnsubscribe = "Unsubscribe" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnsubscribeRequest method. +// req, resp := client.UnsubscribeRequest(params) // -// // Example sending a request using the UnsubscribeRequest method. -// req, resp := client.UnsubscribeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Unsubscribe func (c *SNS) UnsubscribeRequest(input *UnsubscribeInput) (req *request.Request, output *UnsubscribeOutput) { @@ -4254,21 +4245,22 @@ func (c *SNS) UnsubscribeRequest(input *UnsubscribeInput) (req *request.Request, // API operation Unsubscribe for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeNotFoundException "NotFound" -// Indicates that the requested resource does not exist. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeInvalidSecurityException "InvalidSecurity" -// The credential signature isn't valid. You must use an HTTPS endpoint and -// sign your request using Signature Version 4. +// - ErrCodeNotFoundException "NotFound" +// Indicates that the requested resource does not exist. +// +// - ErrCodeInvalidSecurityException "InvalidSecurity" +// The credential signature isn't valid. You must use an HTTPS endpoint and +// sign your request using Signature Version 4. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/Unsubscribe func (c *SNS) Unsubscribe(input *UnsubscribeInput) (*UnsubscribeOutput, error) { @@ -4308,14 +4300,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/UntagResource func (c *SNS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4349,30 +4340,31 @@ func (c *SNS) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Codes: -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// Can’t perform the action on the specified resource. Make sure that the -// resource exists. // -// * ErrCodeTagLimitExceededException "TagLimitExceeded" -// Can't add more than 50 tags to a topic. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// Can’t perform the action on the specified resource. Make sure that the +// resource exists. +// +// - ErrCodeTagLimitExceededException "TagLimitExceeded" +// Can't add more than 50 tags to a topic. // -// * ErrCodeStaleTagException "StaleTag" -// A tag has been added to a resource with the same ARN as a deleted resource. -// Wait a short while and then retry the operation. +// - ErrCodeStaleTagException "StaleTag" +// A tag has been added to a resource with the same ARN as a deleted resource. +// Wait a short while and then retry the operation. // -// * ErrCodeTagPolicyException "TagPolicy" -// The request doesn't comply with the IAM tag policy. Correct your request -// and then retry it. +// - ErrCodeTagPolicyException "TagPolicy" +// The request doesn't comply with the IAM tag policy. Correct your request +// and then retry it. // -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeConcurrentAccessException "ConcurrentAccess" -// Can't perform multiple operations on a tag simultaneously. Perform the operations -// sequentially. +// - ErrCodeConcurrentAccessException "ConcurrentAccess" +// Can't perform multiple operations on a tag simultaneously. Perform the operations +// sequentially. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/UntagResource func (c *SNS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -4412,14 +4404,13 @@ const opVerifySMSSandboxPhoneNumber = "VerifySMSSandboxPhoneNumber" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the VerifySMSSandboxPhoneNumberRequest method. +// req, resp := client.VerifySMSSandboxPhoneNumberRequest(params) // -// // Example sending a request using the VerifySMSSandboxPhoneNumberRequest method. -// req, resp := client.VerifySMSSandboxPhoneNumberRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/VerifySMSSandboxPhoneNumber func (c *SNS) VerifySMSSandboxPhoneNumberRequest(input *VerifySMSSandboxPhoneNumberInput) (req *request.Request, output *VerifySMSSandboxPhoneNumberOutput) { @@ -4462,25 +4453,26 @@ func (c *SNS) VerifySMSSandboxPhoneNumberRequest(input *VerifySMSSandboxPhoneNum // API operation VerifySMSSandboxPhoneNumber for usage and error information. // // Returned Error Codes: -// * ErrCodeAuthorizationErrorException "AuthorizationError" -// Indicates that the user has been denied access to the requested resource. // -// * ErrCodeInternalErrorException "InternalError" -// Indicates an internal service error. +// - ErrCodeAuthorizationErrorException "AuthorizationError" +// Indicates that the user has been denied access to the requested resource. +// +// - ErrCodeInternalErrorException "InternalError" +// Indicates an internal service error. // -// * ErrCodeInvalidParameterException "InvalidParameter" -// Indicates that a request parameter does not comply with the associated constraints. +// - ErrCodeInvalidParameterException "InvalidParameter" +// Indicates that a request parameter does not comply with the associated constraints. // -// * ErrCodeResourceNotFoundException "ResourceNotFound" -// Can’t perform the action on the specified resource. Make sure that the -// resource exists. +// - ErrCodeResourceNotFoundException "ResourceNotFound" +// Can’t perform the action on the specified resource. Make sure that the +// resource exists. // -// * ErrCodeVerificationException "VerificationException" -// Indicates that the one-time password (OTP) used for verification is invalid. +// - ErrCodeVerificationException "VerificationException" +// Indicates that the one-time password (OTP) used for verification is invalid. // -// * ErrCodeThrottledException "Throttled" -// Indicates that the rate at which requests have been submitted for this action -// exceeds the limit for your Amazon Web Services account. +// - ErrCodeThrottledException "Throttled" +// Indicates that the rate at which requests have been submitted for this action +// exceeds the limit for your Amazon Web Services account. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/VerifySMSSandboxPhoneNumber func (c *SNS) VerifySMSSandboxPhoneNumber(input *VerifySMSSandboxPhoneNumberInput) (*VerifySMSSandboxPhoneNumberOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/doc.go index 714e3b87f6e0..046c12617384 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/doc.go @@ -26,7 +26,7 @@ // See sns package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/sns/ // -// Using the Client +// # Using the Client // // To contact Amazon Simple Notification Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/service.go index 8bdcb61f1cb5..6a590fbc4df7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SNS client from just a session. -// svc := sns.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SNS client with additional configuration -// svc := sns.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SNS client from just a session. +// svc := sns.New(mySession) +// +// // Create a SNS client with additional configuration +// svc := sns.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SNS { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/snsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/snsiface/interface.go index 66d895178e7a..f13377d485da 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/snsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sns/snsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Simple Notification Service. -// func myFunc(svc snsiface.SNSAPI) bool { -// // Make svc.AddPermission request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Simple Notification Service. +// func myFunc(svc snsiface.SNSAPI) bool { +// // Make svc.AddPermission request +// } // -// func main() { -// sess := session.New() -// svc := sns.New(sess) +// func main() { +// sess := session.New() +// svc := sns.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSNSClient struct { -// snsiface.SNSAPI -// } -// func (m *mockSNSClient) AddPermission(input *sns.AddPermissionInput) (*sns.AddPermissionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSNSClient struct { +// snsiface.SNSAPI +// } +// func (m *mockSNSClient) AddPermission(input *sns.AddPermissionInput) (*sns.AddPermissionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSNSClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSNSClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/api.go index 94ef914a24a7..1ea606991513 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/api.go @@ -28,14 +28,13 @@ const opAddPermission = "AddPermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddPermissionRequest method. +// req, resp := client.AddPermissionRequest(params) // -// // Example sending a request using the AddPermissionRequest method. -// req, resp := client.AddPermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/AddPermission func (c *SQS) AddPermissionRequest(input *AddPermissionInput) (req *request.Request, output *AddPermissionOutput) { @@ -66,16 +65,16 @@ func (c *SQS) AddPermissionRequest(input *AddPermissionInput) (req *request.Requ // Messages to a Shared Queue (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-writing-an-sqs-policy.html#write-messages-to-shared-queue) // in the Amazon SQS Developer Guide. // -// * AddPermission generates a policy for you. You can use SetQueueAttributes -// to upload your policy. For more information, see Using Custom Policies -// with the Amazon SQS Access Policy Language (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-creating-custom-policies.html) -// in the Amazon SQS Developer Guide. +// - AddPermission generates a policy for you. You can use SetQueueAttributes +// to upload your policy. For more information, see Using Custom Policies +// with the Amazon SQS Access Policy Language (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-creating-custom-policies.html) +// in the Amazon SQS Developer Guide. // -// * An Amazon SQS policy can have a maximum of 7 actions. +// - An Amazon SQS policy can have a maximum of 7 actions. // -// * To remove the ability to change queue permissions, you must deny permission -// to the AddPermission, RemovePermission, and SetQueueAttributes actions -// in your IAM policy. +// - To remove the ability to change queue permissions, you must deny permission +// to the AddPermission, RemovePermission, and SetQueueAttributes actions +// in your IAM policy. // // Some actions take lists of parameters. These lists are specified using the // param.n notation. Values of n are integers starting from 1. For example, @@ -97,11 +96,11 @@ func (c *SQS) AddPermissionRequest(input *AddPermissionInput) (req *request.Requ // API operation AddPermission for usage and error information. // // Returned Error Codes: -// * ErrCodeOverLimit "OverLimit" -// The specified action violates a limit. For example, ReceiveMessage returns -// this error if the maximum number of inflight messages is reached and AddPermission -// returns this error if the maximum number of permissions for the queue is -// reached. +// - ErrCodeOverLimit "OverLimit" +// The specified action violates a limit. For example, ReceiveMessage returns +// this error if the maximum number of inflight messages is reached and AddPermission +// returns this error if the maximum number of permissions for the queue is +// reached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/AddPermission func (c *SQS) AddPermission(input *AddPermissionInput) (*AddPermissionOutput, error) { @@ -141,14 +140,13 @@ const opChangeMessageVisibility = "ChangeMessageVisibility" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ChangeMessageVisibilityRequest method. +// req, resp := client.ChangeMessageVisibilityRequest(params) // -// // Example sending a request using the ChangeMessageVisibilityRequest method. -// req, resp := client.ChangeMessageVisibilityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibility func (c *SQS) ChangeMessageVisibilityRequest(input *ChangeMessageVisibilityInput) (req *request.Request, output *ChangeMessageVisibilityOutput) { @@ -231,11 +229,12 @@ func (c *SQS) ChangeMessageVisibilityRequest(input *ChangeMessageVisibilityInput // API operation ChangeMessageVisibility for usage and error information. // // Returned Error Codes: -// * ErrCodeMessageNotInflight "AWS.SimpleQueueService.MessageNotInflight" -// The specified message isn't in flight. // -// * ErrCodeReceiptHandleIsInvalid "ReceiptHandleIsInvalid" -// The specified receipt handle isn't valid. +// - ErrCodeMessageNotInflight "AWS.SimpleQueueService.MessageNotInflight" +// The specified message isn't in flight. +// +// - ErrCodeReceiptHandleIsInvalid "ReceiptHandleIsInvalid" +// The specified receipt handle isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibility func (c *SQS) ChangeMessageVisibility(input *ChangeMessageVisibilityInput) (*ChangeMessageVisibilityOutput, error) { @@ -275,14 +274,13 @@ const opChangeMessageVisibilityBatch = "ChangeMessageVisibilityBatch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ChangeMessageVisibilityBatchRequest method. +// req, resp := client.ChangeMessageVisibilityBatchRequest(params) // -// // Example sending a request using the ChangeMessageVisibilityBatchRequest method. -// req, resp := client.ChangeMessageVisibilityBatchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatch func (c *SQS) ChangeMessageVisibilityBatchRequest(input *ChangeMessageVisibilityBatchInput) (req *request.Request, output *ChangeMessageVisibilityBatchOutput) { @@ -328,17 +326,18 @@ func (c *SQS) ChangeMessageVisibilityBatchRequest(input *ChangeMessageVisibility // API operation ChangeMessageVisibilityBatch for usage and error information. // // Returned Error Codes: -// * ErrCodeTooManyEntriesInBatchRequest "AWS.SimpleQueueService.TooManyEntriesInBatchRequest" -// The batch request contains more entries than permissible. // -// * ErrCodeEmptyBatchRequest "AWS.SimpleQueueService.EmptyBatchRequest" -// The batch request doesn't contain any entries. +// - ErrCodeTooManyEntriesInBatchRequest "AWS.SimpleQueueService.TooManyEntriesInBatchRequest" +// The batch request contains more entries than permissible. // -// * ErrCodeBatchEntryIdsNotDistinct "AWS.SimpleQueueService.BatchEntryIdsNotDistinct" -// Two or more batch entries in the request have the same Id. +// - ErrCodeEmptyBatchRequest "AWS.SimpleQueueService.EmptyBatchRequest" +// The batch request doesn't contain any entries. // -// * ErrCodeInvalidBatchEntryId "AWS.SimpleQueueService.InvalidBatchEntryId" -// The Id of a batch entry in a batch request doesn't abide by the specification. +// - ErrCodeBatchEntryIdsNotDistinct "AWS.SimpleQueueService.BatchEntryIdsNotDistinct" +// Two or more batch entries in the request have the same Id. +// +// - ErrCodeInvalidBatchEntryId "AWS.SimpleQueueService.InvalidBatchEntryId" +// The Id of a batch entry in a batch request doesn't abide by the specification. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ChangeMessageVisibilityBatch func (c *SQS) ChangeMessageVisibilityBatch(input *ChangeMessageVisibilityBatchInput) (*ChangeMessageVisibilityBatchOutput, error) { @@ -378,14 +377,13 @@ const opCreateQueue = "CreateQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateQueueRequest method. +// req, resp := client.CreateQueueRequest(params) // -// // Example sending a request using the CreateQueueRequest method. -// req, resp := client.CreateQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/CreateQueue func (c *SQS) CreateQueueRequest(input *CreateQueueInput) (req *request.Request, output *CreateQueueOutput) { @@ -409,19 +407,19 @@ func (c *SQS) CreateQueueRequest(input *CreateQueueInput) (req *request.Request, // Creates a new standard or FIFO queue. You can pass one or more attributes // in the request. Keep the following in mind: // -// * If you don't specify the FifoQueue attribute, Amazon SQS creates a standard -// queue. You can't change the queue type after you create it and you can't -// convert an existing standard queue into a FIFO queue. You must either -// create a new FIFO queue for your application or delete your existing standard -// queue and recreate it as a FIFO queue. For more information, see Moving -// From a Standard Queue to a FIFO Queue (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-moving) -// in the Amazon SQS Developer Guide. +// - If you don't specify the FifoQueue attribute, Amazon SQS creates a standard +// queue. You can't change the queue type after you create it and you can't +// convert an existing standard queue into a FIFO queue. You must either +// create a new FIFO queue for your application or delete your existing standard +// queue and recreate it as a FIFO queue. For more information, see Moving +// From a Standard Queue to a FIFO Queue (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/FIFO-queues.html#FIFO-queues-moving) +// in the Amazon SQS Developer Guide. // -// * If you don't provide a value for an attribute, the queue is created -// with the default value for the attribute. +// - If you don't provide a value for an attribute, the queue is created +// with the default value for the attribute. // -// * If you delete a queue, you must wait at least 60 seconds before creating -// a queue with the same name. +// - If you delete a queue, you must wait at least 60 seconds before creating +// a queue with the same name. // // To successfully create a new queue, you must provide a queue name that adheres // to the limits related to queues (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-queues.html) @@ -433,12 +431,12 @@ func (c *SQS) CreateQueueRequest(input *CreateQueueInput) (req *request.Request, // To get the queue URL, use the GetQueueUrl action. GetQueueUrl requires only // the QueueName parameter. be aware of existing queue names: // -// * If you provide the name of an existing queue along with the exact names -// and values of all the queue's attributes, CreateQueue returns the queue -// URL for the existing queue. +// - If you provide the name of an existing queue along with the exact names +// and values of all the queue's attributes, CreateQueue returns the queue +// URL for the existing queue. // -// * If the queue name, attribute names, or attribute values don't match -// an existing queue, CreateQueue returns an error. +// - If the queue name, attribute names, or attribute values don't match +// an existing queue, CreateQueue returns an error. // // Some actions take lists of parameters. These lists are specified using the // param.n notation. Values of n are integers starting from 1. For example, @@ -460,14 +458,15 @@ func (c *SQS) CreateQueueRequest(input *CreateQueueInput) (req *request.Request, // API operation CreateQueue for usage and error information. // // Returned Error Codes: -// * ErrCodeQueueDeletedRecently "AWS.SimpleQueueService.QueueDeletedRecently" -// You must wait 60 seconds after deleting a queue before you can create another -// queue with the same name. // -// * ErrCodeQueueNameExists "QueueAlreadyExists" -// A queue with this name already exists. Amazon SQS returns this error only -// if the request includes attributes whose values differ from those of the -// existing queue. +// - ErrCodeQueueDeletedRecently "AWS.SimpleQueueService.QueueDeletedRecently" +// You must wait 60 seconds after deleting a queue before you can create another +// queue with the same name. +// +// - ErrCodeQueueNameExists "QueueAlreadyExists" +// A queue with this name already exists. Amazon SQS returns this error only +// if the request includes attributes whose values differ from those of the +// existing queue. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/CreateQueue func (c *SQS) CreateQueue(input *CreateQueueInput) (*CreateQueueOutput, error) { @@ -507,14 +506,13 @@ const opDeleteMessage = "DeleteMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMessageRequest method. +// req, resp := client.DeleteMessageRequest(params) // -// // Example sending a request using the DeleteMessageRequest method. -// req, resp := client.DeleteMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessage func (c *SQS) DeleteMessageRequest(input *DeleteMessageInput) (req *request.Request, output *DeleteMessageOutput) { @@ -565,11 +563,12 @@ func (c *SQS) DeleteMessageRequest(input *DeleteMessageInput) (req *request.Requ // API operation DeleteMessage for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidIdFormat "InvalidIdFormat" -// The specified receipt handle isn't valid for the current version. // -// * ErrCodeReceiptHandleIsInvalid "ReceiptHandleIsInvalid" -// The specified receipt handle isn't valid. +// - ErrCodeInvalidIdFormat "InvalidIdFormat" +// The specified receipt handle isn't valid for the current version. +// +// - ErrCodeReceiptHandleIsInvalid "ReceiptHandleIsInvalid" +// The specified receipt handle isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessage func (c *SQS) DeleteMessage(input *DeleteMessageInput) (*DeleteMessageOutput, error) { @@ -609,14 +608,13 @@ const opDeleteMessageBatch = "DeleteMessageBatch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMessageBatchRequest method. +// req, resp := client.DeleteMessageBatchRequest(params) // -// // Example sending a request using the DeleteMessageBatchRequest method. -// req, resp := client.DeleteMessageBatchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatch func (c *SQS) DeleteMessageBatchRequest(input *DeleteMessageBatchInput) (req *request.Request, output *DeleteMessageBatchOutput) { @@ -661,17 +659,18 @@ func (c *SQS) DeleteMessageBatchRequest(input *DeleteMessageBatchInput) (req *re // API operation DeleteMessageBatch for usage and error information. // // Returned Error Codes: -// * ErrCodeTooManyEntriesInBatchRequest "AWS.SimpleQueueService.TooManyEntriesInBatchRequest" -// The batch request contains more entries than permissible. // -// * ErrCodeEmptyBatchRequest "AWS.SimpleQueueService.EmptyBatchRequest" -// The batch request doesn't contain any entries. +// - ErrCodeTooManyEntriesInBatchRequest "AWS.SimpleQueueService.TooManyEntriesInBatchRequest" +// The batch request contains more entries than permissible. // -// * ErrCodeBatchEntryIdsNotDistinct "AWS.SimpleQueueService.BatchEntryIdsNotDistinct" -// Two or more batch entries in the request have the same Id. +// - ErrCodeEmptyBatchRequest "AWS.SimpleQueueService.EmptyBatchRequest" +// The batch request doesn't contain any entries. // -// * ErrCodeInvalidBatchEntryId "AWS.SimpleQueueService.InvalidBatchEntryId" -// The Id of a batch entry in a batch request doesn't abide by the specification. +// - ErrCodeBatchEntryIdsNotDistinct "AWS.SimpleQueueService.BatchEntryIdsNotDistinct" +// Two or more batch entries in the request have the same Id. +// +// - ErrCodeInvalidBatchEntryId "AWS.SimpleQueueService.InvalidBatchEntryId" +// The Id of a batch entry in a batch request doesn't abide by the specification. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteMessageBatch func (c *SQS) DeleteMessageBatch(input *DeleteMessageBatchInput) (*DeleteMessageBatchOutput, error) { @@ -711,14 +710,13 @@ const opDeleteQueue = "DeleteQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteQueueRequest method. +// req, resp := client.DeleteQueueRequest(params) // -// // Example sending a request using the DeleteQueueRequest method. -// req, resp := client.DeleteQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/DeleteQueue func (c *SQS) DeleteQueueRequest(input *DeleteQueueInput) (req *request.Request, output *DeleteQueueOutput) { @@ -801,14 +799,13 @@ const opGetQueueAttributes = "GetQueueAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetQueueAttributesRequest method. +// req, resp := client.GetQueueAttributesRequest(params) // -// // Example sending a request using the GetQueueAttributesRequest method. -// req, resp := client.GetQueueAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributes func (c *SQS) GetQueueAttributesRequest(input *GetQueueAttributesInput) (req *request.Request, output *GetQueueAttributesOutput) { @@ -842,8 +839,8 @@ func (c *SQS) GetQueueAttributesRequest(input *GetQueueAttributesInput) (req *re // API operation GetQueueAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidAttributeName "InvalidAttributeName" -// The specified attribute doesn't exist. +// - ErrCodeInvalidAttributeName "InvalidAttributeName" +// The specified attribute doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributes func (c *SQS) GetQueueAttributes(input *GetQueueAttributesInput) (*GetQueueAttributesOutput, error) { @@ -883,14 +880,13 @@ const opGetQueueUrl = "GetQueueUrl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetQueueUrlRequest method. +// req, resp := client.GetQueueUrlRequest(params) // -// // Example sending a request using the GetQueueUrlRequest method. -// req, resp := client.GetQueueUrlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrl func (c *SQS) GetQueueUrlRequest(input *GetQueueUrlInput) (req *request.Request, output *GetQueueUrlOutput) { @@ -928,8 +924,8 @@ func (c *SQS) GetQueueUrlRequest(input *GetQueueUrlInput) (req *request.Request, // API operation GetQueueUrl for usage and error information. // // Returned Error Codes: -// * ErrCodeQueueDoesNotExist "AWS.SimpleQueueService.NonExistentQueue" -// The specified queue doesn't exist. +// - ErrCodeQueueDoesNotExist "AWS.SimpleQueueService.NonExistentQueue" +// The specified queue doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueUrl func (c *SQS) GetQueueUrl(input *GetQueueUrlInput) (*GetQueueUrlOutput, error) { @@ -969,14 +965,13 @@ const opListDeadLetterSourceQueues = "ListDeadLetterSourceQueues" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDeadLetterSourceQueuesRequest method. +// req, resp := client.ListDeadLetterSourceQueuesRequest(params) // -// // Example sending a request using the ListDeadLetterSourceQueuesRequest method. -// req, resp := client.ListDeadLetterSourceQueuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueues func (c *SQS) ListDeadLetterSourceQueuesRequest(input *ListDeadLetterSourceQueuesInput) (req *request.Request, output *ListDeadLetterSourceQueuesOutput) { @@ -1026,8 +1021,8 @@ func (c *SQS) ListDeadLetterSourceQueuesRequest(input *ListDeadLetterSourceQueue // API operation ListDeadLetterSourceQueues for usage and error information. // // Returned Error Codes: -// * ErrCodeQueueDoesNotExist "AWS.SimpleQueueService.NonExistentQueue" -// The specified queue doesn't exist. +// - ErrCodeQueueDoesNotExist "AWS.SimpleQueueService.NonExistentQueue" +// The specified queue doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListDeadLetterSourceQueues func (c *SQS) ListDeadLetterSourceQueues(input *ListDeadLetterSourceQueuesInput) (*ListDeadLetterSourceQueuesOutput, error) { @@ -1059,15 +1054,14 @@ func (c *SQS) ListDeadLetterSourceQueuesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDeadLetterSourceQueues operation. -// pageNum := 0 -// err := client.ListDeadLetterSourceQueuesPages(params, -// func(page *sqs.ListDeadLetterSourceQueuesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDeadLetterSourceQueues operation. +// pageNum := 0 +// err := client.ListDeadLetterSourceQueuesPages(params, +// func(page *sqs.ListDeadLetterSourceQueuesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SQS) ListDeadLetterSourceQueuesPages(input *ListDeadLetterSourceQueuesInput, fn func(*ListDeadLetterSourceQueuesOutput, bool) bool) error { return c.ListDeadLetterSourceQueuesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1119,14 +1113,13 @@ const opListQueueTags = "ListQueueTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListQueueTagsRequest method. +// req, resp := client.ListQueueTagsRequest(params) // -// // Example sending a request using the ListQueueTagsRequest method. -// req, resp := client.ListQueueTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueueTags func (c *SQS) ListQueueTagsRequest(input *ListQueueTagsInput) (req *request.Request, output *ListQueueTagsOutput) { @@ -1199,14 +1192,13 @@ const opListQueues = "ListQueues" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListQueuesRequest method. +// req, resp := client.ListQueuesRequest(params) // -// // Example sending a request using the ListQueuesRequest method. -// req, resp := client.ListQueuesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ListQueues func (c *SQS) ListQueuesRequest(input *ListQueuesInput) (req *request.Request, output *ListQueuesOutput) { @@ -1285,15 +1277,14 @@ func (c *SQS) ListQueuesWithContext(ctx aws.Context, input *ListQueuesInput, opt // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListQueues operation. -// pageNum := 0 -// err := client.ListQueuesPages(params, -// func(page *sqs.ListQueuesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListQueues operation. +// pageNum := 0 +// err := client.ListQueuesPages(params, +// func(page *sqs.ListQueuesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SQS) ListQueuesPages(input *ListQueuesInput, fn func(*ListQueuesOutput, bool) bool) error { return c.ListQueuesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1345,14 +1336,13 @@ const opPurgeQueue = "PurgeQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PurgeQueueRequest method. +// req, resp := client.PurgeQueueRequest(params) // -// // Example sending a request using the PurgeQueueRequest method. -// req, resp := client.PurgeQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/PurgeQueue func (c *SQS) PurgeQueueRequest(input *PurgeQueueInput) (req *request.Request, output *PurgeQueueOutput) { @@ -1396,13 +1386,14 @@ func (c *SQS) PurgeQueueRequest(input *PurgeQueueInput) (req *request.Request, o // API operation PurgeQueue for usage and error information. // // Returned Error Codes: -// * ErrCodeQueueDoesNotExist "AWS.SimpleQueueService.NonExistentQueue" -// The specified queue doesn't exist. // -// * ErrCodePurgeQueueInProgress "AWS.SimpleQueueService.PurgeQueueInProgress" -// Indicates that the specified queue previously received a PurgeQueue request -// within the last 60 seconds (the time it can take to delete the messages in -// the queue). +// - ErrCodeQueueDoesNotExist "AWS.SimpleQueueService.NonExistentQueue" +// The specified queue doesn't exist. +// +// - ErrCodePurgeQueueInProgress "AWS.SimpleQueueService.PurgeQueueInProgress" +// Indicates that the specified queue previously received a PurgeQueue request +// within the last 60 seconds (the time it can take to delete the messages in +// the queue). // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/PurgeQueue func (c *SQS) PurgeQueue(input *PurgeQueueInput) (*PurgeQueueOutput, error) { @@ -1442,14 +1433,13 @@ const opReceiveMessage = "ReceiveMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ReceiveMessageRequest method. +// req, resp := client.ReceiveMessageRequest(params) // -// // Example sending a request using the ReceiveMessageRequest method. -// req, resp := client.ReceiveMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ReceiveMessage func (c *SQS) ReceiveMessageRequest(input *ReceiveMessageInput) (req *request.Request, output *ReceiveMessageOutput) { @@ -1485,18 +1475,18 @@ func (c *SQS) ReceiveMessageRequest(input *ReceiveMessageInput) (req *request.Re // // For each message returned, the response includes the following: // -// * The message body. +// - The message body. // -// * An MD5 digest of the message body. For information about MD5, see RFC1321 -// (https://www.ietf.org/rfc/rfc1321.txt). +// - An MD5 digest of the message body. For information about MD5, see RFC1321 +// (https://www.ietf.org/rfc/rfc1321.txt). // -// * The MessageId you received when you sent the message to the queue. +// - The MessageId you received when you sent the message to the queue. // -// * The receipt handle. +// - The receipt handle. // -// * The message attributes. +// - The message attributes. // -// * An MD5 digest of the message attributes. +// - An MD5 digest of the message attributes. // // The receipt handle is the identifier you must provide when deleting the message. // For more information, see Queue and Message Identifiers (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-queue-message-identifiers.html) @@ -1526,11 +1516,11 @@ func (c *SQS) ReceiveMessageRequest(input *ReceiveMessageInput) (req *request.Re // API operation ReceiveMessage for usage and error information. // // Returned Error Codes: -// * ErrCodeOverLimit "OverLimit" -// The specified action violates a limit. For example, ReceiveMessage returns -// this error if the maximum number of inflight messages is reached and AddPermission -// returns this error if the maximum number of permissions for the queue is -// reached. +// - ErrCodeOverLimit "OverLimit" +// The specified action violates a limit. For example, ReceiveMessage returns +// this error if the maximum number of inflight messages is reached and AddPermission +// returns this error if the maximum number of permissions for the queue is +// reached. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/ReceiveMessage func (c *SQS) ReceiveMessage(input *ReceiveMessageInput) (*ReceiveMessageOutput, error) { @@ -1570,14 +1560,13 @@ const opRemovePermission = "RemovePermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemovePermissionRequest method. +// req, resp := client.RemovePermissionRequest(params) // -// // Example sending a request using the RemovePermissionRequest method. -// req, resp := client.RemovePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/RemovePermission func (c *SQS) RemovePermissionRequest(input *RemovePermissionInput) (req *request.Request, output *RemovePermissionOutput) { @@ -1602,15 +1591,15 @@ func (c *SQS) RemovePermissionRequest(input *RemovePermissionInput) (req *reques // Revokes any permissions in the queue policy that matches the specified Label // parameter. // -// * Only the owner of a queue can remove permissions from it. +// - Only the owner of a queue can remove permissions from it. // -// * Cross-account permissions don't apply to this action. For more information, -// see Grant cross-account permissions to a role and a user name (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name) -// in the Amazon SQS Developer Guide. +// - Cross-account permissions don't apply to this action. For more information, +// see Grant cross-account permissions to a role and a user name (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name) +// in the Amazon SQS Developer Guide. // -// * To remove the ability to change queue permissions, you must deny permission -// to the AddPermission, RemovePermission, and SetQueueAttributes actions -// in your IAM policy. +// - To remove the ability to change queue permissions, you must deny permission +// to the AddPermission, RemovePermission, and SetQueueAttributes actions +// in your IAM policy. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1656,14 +1645,13 @@ const opSendMessage = "SendMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendMessageRequest method. +// req, resp := client.SendMessageRequest(params) // -// // Example sending a request using the SendMessageRequest method. -// req, resp := client.SendMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessage func (c *SQS) SendMessageRequest(input *SendMessageInput) (req *request.Request, output *SendMessageOutput) { @@ -1702,11 +1690,12 @@ func (c *SQS) SendMessageRequest(input *SendMessageInput) (req *request.Request, // API operation SendMessage for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidMessageContents "InvalidMessageContents" -// The message contains characters outside the allowed set. // -// * ErrCodeUnsupportedOperation "AWS.SimpleQueueService.UnsupportedOperation" -// Error code 400. Unsupported operation. +// - ErrCodeInvalidMessageContents "InvalidMessageContents" +// The message contains characters outside the allowed set. +// +// - ErrCodeUnsupportedOperation "AWS.SimpleQueueService.UnsupportedOperation" +// Error code 400. Unsupported operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessage func (c *SQS) SendMessage(input *SendMessageInput) (*SendMessageOutput, error) { @@ -1746,14 +1735,13 @@ const opSendMessageBatch = "SendMessageBatch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendMessageBatchRequest method. +// req, resp := client.SendMessageBatchRequest(params) // -// // Example sending a request using the SendMessageBatchRequest method. -// req, resp := client.SendMessageBatchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatch func (c *SQS) SendMessageBatchRequest(input *SendMessageBatchInput) (req *request.Request, output *SendMessageBatchOutput) { @@ -1814,23 +1802,24 @@ func (c *SQS) SendMessageBatchRequest(input *SendMessageBatchInput) (req *reques // API operation SendMessageBatch for usage and error information. // // Returned Error Codes: -// * ErrCodeTooManyEntriesInBatchRequest "AWS.SimpleQueueService.TooManyEntriesInBatchRequest" -// The batch request contains more entries than permissible. // -// * ErrCodeEmptyBatchRequest "AWS.SimpleQueueService.EmptyBatchRequest" -// The batch request doesn't contain any entries. +// - ErrCodeTooManyEntriesInBatchRequest "AWS.SimpleQueueService.TooManyEntriesInBatchRequest" +// The batch request contains more entries than permissible. +// +// - ErrCodeEmptyBatchRequest "AWS.SimpleQueueService.EmptyBatchRequest" +// The batch request doesn't contain any entries. // -// * ErrCodeBatchEntryIdsNotDistinct "AWS.SimpleQueueService.BatchEntryIdsNotDistinct" -// Two or more batch entries in the request have the same Id. +// - ErrCodeBatchEntryIdsNotDistinct "AWS.SimpleQueueService.BatchEntryIdsNotDistinct" +// Two or more batch entries in the request have the same Id. // -// * ErrCodeBatchRequestTooLong "AWS.SimpleQueueService.BatchRequestTooLong" -// The length of all the messages put together is more than the limit. +// - ErrCodeBatchRequestTooLong "AWS.SimpleQueueService.BatchRequestTooLong" +// The length of all the messages put together is more than the limit. // -// * ErrCodeInvalidBatchEntryId "AWS.SimpleQueueService.InvalidBatchEntryId" -// The Id of a batch entry in a batch request doesn't abide by the specification. +// - ErrCodeInvalidBatchEntryId "AWS.SimpleQueueService.InvalidBatchEntryId" +// The Id of a batch entry in a batch request doesn't abide by the specification. // -// * ErrCodeUnsupportedOperation "AWS.SimpleQueueService.UnsupportedOperation" -// Error code 400. Unsupported operation. +// - ErrCodeUnsupportedOperation "AWS.SimpleQueueService.UnsupportedOperation" +// Error code 400. Unsupported operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SendMessageBatch func (c *SQS) SendMessageBatch(input *SendMessageBatchInput) (*SendMessageBatchOutput, error) { @@ -1870,14 +1859,13 @@ const opSetQueueAttributes = "SetQueueAttributes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetQueueAttributesRequest method. +// req, resp := client.SetQueueAttributesRequest(params) // -// // Example sending a request using the SetQueueAttributesRequest method. -// req, resp := client.SetQueueAttributesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SetQueueAttributes func (c *SQS) SetQueueAttributesRequest(input *SetQueueAttributesInput) (req *request.Request, output *SetQueueAttributesOutput) { @@ -1904,17 +1892,17 @@ func (c *SQS) SetQueueAttributesRequest(input *SetQueueAttributesInput) (req *re // to propagate throughout the Amazon SQS system. Changes made to the MessageRetentionPeriod // attribute can take up to 15 minutes. // -// * In the future, new attributes might be added. If you write code that -// calls this action, we recommend that you structure your code so that it -// can handle new attributes gracefully. +// - In the future, new attributes might be added. If you write code that +// calls this action, we recommend that you structure your code so that it +// can handle new attributes gracefully. // -// * Cross-account permissions don't apply to this action. For more information, -// see Grant cross-account permissions to a role and a user name (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name) -// in the Amazon SQS Developer Guide. +// - Cross-account permissions don't apply to this action. For more information, +// see Grant cross-account permissions to a role and a user name (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-customer-managed-policy-examples.html#grant-cross-account-permissions-to-role-and-user-name) +// in the Amazon SQS Developer Guide. // -// * To remove the ability to change queue permissions, you must deny permission -// to the AddPermission, RemovePermission, and SetQueueAttributes actions -// in your IAM policy. +// - To remove the ability to change queue permissions, you must deny permission +// to the AddPermission, RemovePermission, and SetQueueAttributes actions +// in your IAM policy. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1924,8 +1912,8 @@ func (c *SQS) SetQueueAttributesRequest(input *SetQueueAttributesInput) (req *re // API operation SetQueueAttributes for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidAttributeName "InvalidAttributeName" -// The specified attribute doesn't exist. +// - ErrCodeInvalidAttributeName "InvalidAttributeName" +// The specified attribute doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/SetQueueAttributes func (c *SQS) SetQueueAttributes(input *SetQueueAttributesInput) (*SetQueueAttributesOutput, error) { @@ -1965,14 +1953,13 @@ const opTagQueue = "TagQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagQueueRequest method. +// req, resp := client.TagQueueRequest(params) // -// // Example sending a request using the TagQueueRequest method. -// req, resp := client.TagQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/TagQueue func (c *SQS) TagQueueRequest(input *TagQueueInput) (req *request.Request, output *TagQueueOutput) { @@ -2000,15 +1987,15 @@ func (c *SQS) TagQueueRequest(input *TagQueueInput) (req *request.Request, outpu // // When you use queue tags, keep the following guidelines in mind: // -// * Adding more than 50 tags to a queue isn't recommended. +// - Adding more than 50 tags to a queue isn't recommended. // -// * Tags don't have any semantic meaning. Amazon SQS interprets tags as -// character strings. +// - Tags don't have any semantic meaning. Amazon SQS interprets tags as +// character strings. // -// * Tags are case-sensitive. +// - Tags are case-sensitive. // -// * A new tag with a key identical to that of an existing tag overwrites -// the existing tag. +// - A new tag with a key identical to that of an existing tag overwrites +// the existing tag. // // For a full list of tag restrictions, see Quotas related to queues (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-limits.html#limits-queues) // in the Amazon SQS Developer Guide. @@ -2061,14 +2048,13 @@ const opUntagQueue = "UntagQueue" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagQueueRequest method. +// req, resp := client.UntagQueueRequest(params) // -// // Example sending a request using the UntagQueueRequest method. -// req, resp := client.UntagQueueRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/UntagQueue func (c *SQS) UntagQueueRequest(input *UntagQueueInput) (req *request.Request, output *UntagQueueOutput) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/doc.go index 57d7718cd14f..f4fc323cee4c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/doc.go @@ -17,30 +17,30 @@ // access Amazon SQS using your favorite programming language. The SDKs perform // tasks such as the following automatically: // -// * Cryptographically sign your service requests +// - Cryptographically sign your service requests // -// * Retry requests +// - Retry requests // -// * Handle error responses +// - Handle error responses // // Additional information // -// * Amazon SQS Product Page (http://aws.amazon.com/sqs/) +// - Amazon SQS Product Page (http://aws.amazon.com/sqs/) // -// * Amazon SQS Developer Guide Making API Requests (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html) -// Amazon SQS Message Attributes (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes) -// Amazon SQS Dead-Letter Queues (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html) +// - Amazon SQS Developer Guide Making API Requests (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html) +// Amazon SQS Message Attributes (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-attributes) +// Amazon SQS Dead-Letter Queues (https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html) // -// * Amazon SQS in the Command Line Interface (http://docs.aws.amazon.com/cli/latest/reference/sqs/index.html) +// - Amazon SQS in the Command Line Interface (http://docs.aws.amazon.com/cli/latest/reference/sqs/index.html) // -// * Amazon Web Services General Reference Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#sqs_region) +// - Amazon Web Services General Reference Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html#sqs_region) // // See https://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05 for more information on this service. // // See sqs package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/sqs/ // -// Using the Client +// # Using the Client // // To contact Amazon Simple Queue Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/service.go index b688ec8e0ee2..90ea3fb881dd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SQS client from just a session. -// svc := sqs.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SQS client with additional configuration -// svc := sqs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SQS client from just a session. +// svc := sqs.New(mySession) +// +// // Create a SQS client with additional configuration +// svc := sqs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SQS { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/sqsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/sqsiface/interface.go index 8156fbc9bdc7..c8d0d0939a0f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/sqsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sqs/sqsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Simple Queue Service. -// func myFunc(svc sqsiface.SQSAPI) bool { -// // Make svc.AddPermission request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Simple Queue Service. +// func myFunc(svc sqsiface.SQSAPI) bool { +// // Make svc.AddPermission request +// } // -// func main() { -// sess := session.New() -// svc := sqs.New(sess) +// func main() { +// sess := session.New() +// svc := sqs.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSQSClient struct { -// sqsiface.SQSAPI -// } -// func (m *mockSQSClient) AddPermission(input *sqs.AddPermissionInput) (*sqs.AddPermissionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSQSClient struct { +// sqsiface.SQSAPI +// } +// func (m *mockSQSClient) AddPermission(input *sqs.AddPermissionInput) (*sqs.AddPermissionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSQSClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSQSClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/api.go index e3b5a98abfe2..3bd5f618986e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/api.go @@ -29,14 +29,13 @@ const opAddTagsToResource = "AddTagsToResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsToResourceRequest method. +// req, resp := client.AddTagsToResourceRequest(params) // -// // Example sending a request using the AddTagsToResourceRequest method. -// req, resp := client.AddTagsToResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AddTagsToResource func (c *SSM) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput) { @@ -67,17 +66,17 @@ func (c *SSM) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *requ // for your account's managed nodes that helps you track each node's owner and // stack level. For example: // -// * Key=Owner,Value=DbAdmin +// - Key=Owner,Value=DbAdmin // -// * Key=Owner,Value=SysAdmin +// - Key=Owner,Value=SysAdmin // -// * Key=Owner,Value=Dev +// - Key=Owner,Value=Dev // -// * Key=Stack,Value=Production +// - Key=Stack,Value=Production // -// * Key=Stack,Value=Pre-Production +// - Key=Stack,Value=Pre-Production // -// * Key=Stack,Value=Test +// - Key=Stack,Value=Test // // Most resources can have a maximum of 50 tags. Automations can have a maximum // of 5 tags. @@ -100,24 +99,25 @@ func (c *SSM) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *requ // API operation AddTagsToResource for usage and error information. // // Returned Error Types: -// * InvalidResourceType -// The resource type isn't valid. For example, if you are attempting to tag -// an EC2 instance, the instance must be a registered managed node. // -// * InvalidResourceId -// The resource ID isn't valid. Verify that you entered the correct ID and try -// again. +// - InvalidResourceType +// The resource type isn't valid. For example, if you are attempting to tag +// an EC2 instance, the instance must be a registered managed node. +// +// - InvalidResourceId +// The resource ID isn't valid. Verify that you entered the correct ID and try +// again. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // -// * TooManyTagsError -// The Targets parameter includes too many tags. Remove one or more tags and -// try the command again. +// - TooManyTagsError +// The Targets parameter includes too many tags. Remove one or more tags and +// try the command again. // -// * TooManyUpdates -// There are concurrent updates for a resource that supports one update at a -// time. +// - TooManyUpdates +// There are concurrent updates for a resource that supports one update at a +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AddTagsToResource func (c *SSM) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error) { @@ -157,14 +157,13 @@ const opAssociateOpsItemRelatedItem = "AssociateOpsItemRelatedItem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateOpsItemRelatedItemRequest method. +// req, resp := client.AssociateOpsItemRelatedItemRequest(params) // -// // Example sending a request using the AssociateOpsItemRelatedItemRequest method. -// req, resp := client.AssociateOpsItemRelatedItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociateOpsItemRelatedItem func (c *SSM) AssociateOpsItemRelatedItemRequest(input *AssociateOpsItemRelatedItemInput) (req *request.Request, output *AssociateOpsItemRelatedItemOutput) { @@ -198,22 +197,23 @@ func (c *SSM) AssociateOpsItemRelatedItemRequest(input *AssociateOpsItemRelatedI // API operation AssociateOpsItemRelatedItem for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * OpsItemNotFoundException -// The specified OpsItem ID doesn't exist. Verify the ID and try again. +// - InternalServerError +// An error occurred on the server side. // -// * OpsItemLimitExceededException -// The request caused OpsItems to exceed one or more quotas. For information -// about OpsItem quotas, see What are the resource limits for OpsCenter? (https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-learn-more.html#OpsCenter-learn-more-limits). +// - OpsItemNotFoundException +// The specified OpsItem ID doesn't exist. Verify the ID and try again. // -// * OpsItemInvalidParameterException -// A specified parameter argument isn't valid. Verify the available arguments -// and try again. +// - OpsItemLimitExceededException +// The request caused OpsItems to exceed one or more quotas. For information +// about OpsItem quotas, see What are the resource limits for OpsCenter? (https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-learn-more.html#OpsCenter-learn-more-limits). // -// * OpsItemRelatedItemAlreadyExistsException -// The Amazon Resource Name (ARN) is already associated with the OpsItem. +// - OpsItemInvalidParameterException +// A specified parameter argument isn't valid. Verify the available arguments +// and try again. +// +// - OpsItemRelatedItemAlreadyExistsException +// The Amazon Resource Name (ARN) is already associated with the OpsItem. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociateOpsItemRelatedItem func (c *SSM) AssociateOpsItemRelatedItem(input *AssociateOpsItemRelatedItemInput) (*AssociateOpsItemRelatedItemOutput, error) { @@ -253,14 +253,13 @@ const opCancelCommand = "CancelCommand" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelCommandRequest method. +// req, resp := client.CancelCommandRequest(params) // -// // Example sending a request using the CancelCommandRequest method. -// req, resp := client.CancelCommandRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelCommand func (c *SSM) CancelCommandRequest(input *CancelCommandInput) (req *request.Request, output *CancelCommandOutput) { @@ -293,28 +292,29 @@ func (c *SSM) CancelCommandRequest(input *CancelCommandInput) (req *request.Requ // API operation CancelCommand for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidCommandId -// The specified command ID isn't valid. Verify the ID and try again. +// - InternalServerError +// An error occurred on the server side. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InvalidCommandId +// The specified command ID isn't valid. Verify the ID and try again. // -// * You don't have permission to access the managed node. +// - InvalidInstanceId +// The following problems can cause this exception: // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - You don't have permission to access the managed node. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * DuplicateInstanceId -// You can't specify a managed node ID in more than one association. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// +// - DuplicateInstanceId +// You can't specify a managed node ID in more than one association. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelCommand func (c *SSM) CancelCommand(input *CancelCommandInput) (*CancelCommandOutput, error) { @@ -354,14 +354,13 @@ const opCancelMaintenanceWindowExecution = "CancelMaintenanceWindowExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelMaintenanceWindowExecutionRequest method. +// req, resp := client.CancelMaintenanceWindowExecutionRequest(params) // -// // Example sending a request using the CancelMaintenanceWindowExecutionRequest method. -// req, resp := client.CancelMaintenanceWindowExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelMaintenanceWindowExecution func (c *SSM) CancelMaintenanceWindowExecutionRequest(input *CancelMaintenanceWindowExecutionInput) (req *request.Request, output *CancelMaintenanceWindowExecutionOutput) { @@ -394,16 +393,17 @@ func (c *SSM) CancelMaintenanceWindowExecutionRequest(input *CancelMaintenanceWi // API operation CancelMaintenanceWindowExecution for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. +// - InternalServerError +// An error occurred on the server side. +// +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CancelMaintenanceWindowExecution func (c *SSM) CancelMaintenanceWindowExecution(input *CancelMaintenanceWindowExecutionInput) (*CancelMaintenanceWindowExecutionOutput, error) { @@ -443,14 +443,13 @@ const opCreateActivation = "CreateActivation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateActivationRequest method. +// req, resp := client.CreateActivationRequest(params) // -// // Example sending a request using the CreateActivationRequest method. -// req, resp := client.CreateActivationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateActivation func (c *SSM) CreateActivationRequest(input *CreateActivationInput) (req *request.Request, output *CreateActivationOutput) { @@ -493,13 +492,14 @@ func (c *SSM) CreateActivationRequest(input *CreateActivationInput) (req *reques // API operation CreateActivation for usage and error information. // // Returned Error Types: -// * InvalidParameters -// You must specify values for all required parameters in the Amazon Web Services -// Systems Manager document (SSM document). You can only supply values to parameters -// defined in the SSM document. // -// * InternalServerError -// An error occurred on the server side. +// - InvalidParameters +// You must specify values for all required parameters in the Amazon Web Services +// Systems Manager document (SSM document). You can only supply values to parameters +// defined in the SSM document. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateActivation func (c *SSM) CreateActivation(input *CreateActivationInput) (*CreateActivationOutput, error) { @@ -539,14 +539,13 @@ const opCreateAssociation = "CreateAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAssociationRequest method. +// req, resp := client.CreateAssociationRequest(params) // -// // Example sending a request using the CreateAssociationRequest method. -// req, resp := client.CreateAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation func (c *SSM) CreateAssociationRequest(input *CreateAssociationInput) (req *request.Request, output *CreateAssociationOutput) { @@ -589,57 +588,58 @@ func (c *SSM) CreateAssociationRequest(input *CreateAssociationInput) (req *requ // API operation CreateAssociation for usage and error information. // // Returned Error Types: -// * AssociationAlreadyExists -// The specified association already exists. // -// * AssociationLimitExceeded -// You can have at most 2,000 active associations. +// - AssociationAlreadyExists +// The specified association already exists. +// +// - AssociationLimitExceeded +// You can have at most 2,000 active associations. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidDocumentVersion -// The document version isn't valid or doesn't exist. +// - InvalidDocumentVersion +// The document version isn't valid or doesn't exist. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InvalidInstanceId +// The following problems can cause this exception: // -// * You don't have permission to access the managed node. +// - You don't have permission to access the managed node. // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. // -// * UnsupportedPlatformType -// The document doesn't support the platform type of the given managed node -// ID(s). For example, you sent an document for a Windows managed node to a -// Linux node. +// - UnsupportedPlatformType +// The document doesn't support the platform type of the given managed node +// ID(s). For example, you sent an document for a Windows managed node to a +// Linux node. // -// * InvalidOutputLocation -// The output location isn't valid or doesn't exist. +// - InvalidOutputLocation +// The output location isn't valid or doesn't exist. // -// * InvalidParameters -// You must specify values for all required parameters in the Amazon Web Services -// Systems Manager document (SSM document). You can only supply values to parameters -// defined in the SSM document. +// - InvalidParameters +// You must specify values for all required parameters in the Amazon Web Services +// Systems Manager document (SSM document). You can only supply values to parameters +// defined in the SSM document. // -// * InvalidTarget -// The target isn't valid or doesn't exist. It might not be configured for Systems -// Manager or you might not have permission to perform the operation. +// - InvalidTarget +// The target isn't valid or doesn't exist. It might not be configured for Systems +// Manager or you might not have permission to perform the operation. // -// * InvalidSchedule -// The schedule is invalid. Verify your cron or rate expression and try again. +// - InvalidSchedule +// The schedule is invalid. Verify your cron or rate expression and try again. // -// * InvalidTargetMaps -// TargetMap parameter isn't valid. +// - InvalidTargetMaps +// TargetMap parameter isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociation func (c *SSM) CreateAssociation(input *CreateAssociationInput) (*CreateAssociationOutput, error) { @@ -679,14 +679,13 @@ const opCreateAssociationBatch = "CreateAssociationBatch" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAssociationBatchRequest method. +// req, resp := client.CreateAssociationBatchRequest(params) // -// // Example sending a request using the CreateAssociationBatchRequest method. -// req, resp := client.CreateAssociationBatchRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatch func (c *SSM) CreateAssociationBatchRequest(input *CreateAssociationBatchInput) (req *request.Request, output *CreateAssociationBatchOutput) { @@ -725,57 +724,58 @@ func (c *SSM) CreateAssociationBatchRequest(input *CreateAssociationBatchInput) // API operation CreateAssociationBatch for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InternalServerError +// An error occurred on the server side. // -// * InvalidDocumentVersion -// The document version isn't valid or doesn't exist. +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InvalidDocumentVersion +// The document version isn't valid or doesn't exist. // -// * You don't have permission to access the managed node. +// - InvalidInstanceId +// The following problems can cause this exception: // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - You don't have permission to access the managed node. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * InvalidParameters -// You must specify values for all required parameters in the Amazon Web Services -// Systems Manager document (SSM document). You can only supply values to parameters -// defined in the SSM document. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. // -// * DuplicateInstanceId -// You can't specify a managed node ID in more than one association. +// - InvalidParameters +// You must specify values for all required parameters in the Amazon Web Services +// Systems Manager document (SSM document). You can only supply values to parameters +// defined in the SSM document. // -// * AssociationLimitExceeded -// You can have at most 2,000 active associations. +// - DuplicateInstanceId +// You can't specify a managed node ID in more than one association. // -// * UnsupportedPlatformType -// The document doesn't support the platform type of the given managed node -// ID(s). For example, you sent an document for a Windows managed node to a -// Linux node. +// - AssociationLimitExceeded +// You can have at most 2,000 active associations. // -// * InvalidOutputLocation -// The output location isn't valid or doesn't exist. +// - UnsupportedPlatformType +// The document doesn't support the platform type of the given managed node +// ID(s). For example, you sent an document for a Windows managed node to a +// Linux node. // -// * InvalidTarget -// The target isn't valid or doesn't exist. It might not be configured for Systems -// Manager or you might not have permission to perform the operation. +// - InvalidOutputLocation +// The output location isn't valid or doesn't exist. // -// * InvalidSchedule -// The schedule is invalid. Verify your cron or rate expression and try again. +// - InvalidTarget +// The target isn't valid or doesn't exist. It might not be configured for Systems +// Manager or you might not have permission to perform the operation. // -// * InvalidTargetMaps -// TargetMap parameter isn't valid. +// - InvalidSchedule +// The schedule is invalid. Verify your cron or rate expression and try again. +// +// - InvalidTargetMaps +// TargetMap parameter isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateAssociationBatch func (c *SSM) CreateAssociationBatch(input *CreateAssociationBatchInput) (*CreateAssociationBatchOutput, error) { @@ -815,14 +815,13 @@ const opCreateDocument = "CreateDocument" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDocumentRequest method. +// req, resp := client.CreateDocumentRequest(params) // -// // Example sending a request using the CreateDocumentRequest method. -// req, resp := client.CreateDocumentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocument func (c *SSM) CreateDocumentRequest(input *CreateDocumentInput) (req *request.Request, output *CreateDocumentOutput) { @@ -858,23 +857,24 @@ func (c *SSM) CreateDocumentRequest(input *CreateDocumentInput) (req *request.Re // API operation CreateDocument for usage and error information. // // Returned Error Types: -// * DocumentAlreadyExists -// The specified document already exists. // -// * MaxDocumentSizeExceeded -// The size limit of a document is 64 KB. +// - DocumentAlreadyExists +// The specified document already exists. // -// * InternalServerError -// An error occurred on the server side. +// - MaxDocumentSizeExceeded +// The size limit of a document is 64 KB. // -// * InvalidDocumentContent -// The content for the document isn't valid. +// - InternalServerError +// An error occurred on the server side. // -// * DocumentLimitExceeded -// You can have at most 500 active SSM documents. +// - InvalidDocumentContent +// The content for the document isn't valid. // -// * InvalidDocumentSchemaVersion -// The version of the document schema isn't supported. +// - DocumentLimitExceeded +// You can have at most 500 active SSM documents. +// +// - InvalidDocumentSchemaVersion +// The version of the document schema isn't supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateDocument func (c *SSM) CreateDocument(input *CreateDocumentInput) (*CreateDocumentOutput, error) { @@ -914,14 +914,13 @@ const opCreateMaintenanceWindow = "CreateMaintenanceWindow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMaintenanceWindowRequest method. +// req, resp := client.CreateMaintenanceWindowRequest(params) // -// // Example sending a request using the CreateMaintenanceWindowRequest method. -// req, resp := client.CreateMaintenanceWindowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateMaintenanceWindow func (c *SSM) CreateMaintenanceWindowRequest(input *CreateMaintenanceWindowInput) (req *request.Request, output *CreateMaintenanceWindowOutput) { @@ -959,20 +958,21 @@ func (c *SSM) CreateMaintenanceWindowRequest(input *CreateMaintenanceWindowInput // API operation CreateMaintenanceWindow for usage and error information. // // Returned Error Types: -// * IdempotentParameterMismatch -// Error returned when an idempotent operation is retried and the parameters -// don't match the original call to the API with the same idempotency token. // -// * ResourceLimitExceededException -// Error returned when the caller has exceeded the default resource quotas. -// For example, too many maintenance windows or patch baselines have been created. +// - IdempotentParameterMismatch +// Error returned when an idempotent operation is retried and the parameters +// don't match the original call to the API with the same idempotency token. +// +// - ResourceLimitExceededException +// Error returned when the caller has exceeded the default resource quotas. +// For example, too many maintenance windows or patch baselines have been created. // -// For information about resource quotas in Systems Manager, see Systems Manager -// service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// For information about resource quotas in Systems Manager, see Systems Manager +// service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateMaintenanceWindow func (c *SSM) CreateMaintenanceWindow(input *CreateMaintenanceWindowInput) (*CreateMaintenanceWindowOutput, error) { @@ -1012,14 +1012,13 @@ const opCreateOpsItem = "CreateOpsItem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOpsItemRequest method. +// req, resp := client.CreateOpsItemRequest(params) // -// // Example sending a request using the CreateOpsItemRequest method. -// req, resp := client.CreateOpsItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsItem func (c *SSM) CreateOpsItemRequest(input *CreateOpsItemInput) (req *request.Request, output *CreateOpsItemOutput) { @@ -1059,19 +1058,20 @@ func (c *SSM) CreateOpsItemRequest(input *CreateOpsItemInput) (req *request.Requ // API operation CreateOpsItem for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * OpsItemAlreadyExistsException -// The OpsItem already exists. +// - InternalServerError +// An error occurred on the server side. +// +// - OpsItemAlreadyExistsException +// The OpsItem already exists. // -// * OpsItemLimitExceededException -// The request caused OpsItems to exceed one or more quotas. For information -// about OpsItem quotas, see What are the resource limits for OpsCenter? (https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-learn-more.html#OpsCenter-learn-more-limits). +// - OpsItemLimitExceededException +// The request caused OpsItems to exceed one or more quotas. For information +// about OpsItem quotas, see What are the resource limits for OpsCenter? (https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-learn-more.html#OpsCenter-learn-more-limits). // -// * OpsItemInvalidParameterException -// A specified parameter argument isn't valid. Verify the available arguments -// and try again. +// - OpsItemInvalidParameterException +// A specified parameter argument isn't valid. Verify the available arguments +// and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsItem func (c *SSM) CreateOpsItem(input *CreateOpsItemInput) (*CreateOpsItemOutput, error) { @@ -1111,14 +1111,13 @@ const opCreateOpsMetadata = "CreateOpsMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOpsMetadataRequest method. +// req, resp := client.CreateOpsMetadataRequest(params) // -// // Example sending a request using the CreateOpsMetadataRequest method. -// req, resp := client.CreateOpsMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsMetadata func (c *SSM) CreateOpsMetadataRequest(input *CreateOpsMetadataInput) (req *request.Request, output *CreateOpsMetadataOutput) { @@ -1151,23 +1150,24 @@ func (c *SSM) CreateOpsMetadataRequest(input *CreateOpsMetadataInput) (req *requ // API operation CreateOpsMetadata for usage and error information. // // Returned Error Types: -// * OpsMetadataAlreadyExistsException -// An OpsMetadata object already exists for the selected resource. // -// * OpsMetadataTooManyUpdatesException -// The system is processing too many concurrent updates. Wait a few moments -// and try again. +// - OpsMetadataAlreadyExistsException +// An OpsMetadata object already exists for the selected resource. +// +// - OpsMetadataTooManyUpdatesException +// The system is processing too many concurrent updates. Wait a few moments +// and try again. // -// * OpsMetadataInvalidArgumentException -// One of the arguments passed is invalid. +// - OpsMetadataInvalidArgumentException +// One of the arguments passed is invalid. // -// * OpsMetadataLimitExceededException -// Your account reached the maximum number of OpsMetadata objects allowed by -// Application Manager. The maximum is 200 OpsMetadata objects. Delete one or -// more OpsMetadata object and try again. +// - OpsMetadataLimitExceededException +// Your account reached the maximum number of OpsMetadata objects allowed by +// Application Manager. The maximum is 200 OpsMetadata objects. Delete one or +// more OpsMetadata object and try again. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateOpsMetadata func (c *SSM) CreateOpsMetadata(input *CreateOpsMetadataInput) (*CreateOpsMetadataOutput, error) { @@ -1207,14 +1207,13 @@ const opCreatePatchBaseline = "CreatePatchBaseline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePatchBaselineRequest method. +// req, resp := client.CreatePatchBaselineRequest(params) // -// // Example sending a request using the CreatePatchBaselineRequest method. -// req, resp := client.CreatePatchBaselineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaseline func (c *SSM) CreatePatchBaselineRequest(input *CreatePatchBaselineInput) (req *request.Request, output *CreatePatchBaselineOutput) { @@ -1248,20 +1247,21 @@ func (c *SSM) CreatePatchBaselineRequest(input *CreatePatchBaselineInput) (req * // API operation CreatePatchBaseline for usage and error information. // // Returned Error Types: -// * IdempotentParameterMismatch -// Error returned when an idempotent operation is retried and the parameters -// don't match the original call to the API with the same idempotency token. // -// * ResourceLimitExceededException -// Error returned when the caller has exceeded the default resource quotas. -// For example, too many maintenance windows or patch baselines have been created. +// - IdempotentParameterMismatch +// Error returned when an idempotent operation is retried and the parameters +// don't match the original call to the API with the same idempotency token. // -// For information about resource quotas in Systems Manager, see Systems Manager -// service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - ResourceLimitExceededException +// Error returned when the caller has exceeded the default resource quotas. +// For example, too many maintenance windows or patch baselines have been created. // -// * InternalServerError -// An error occurred on the server side. +// For information about resource quotas in Systems Manager, see Systems Manager +// service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreatePatchBaseline func (c *SSM) CreatePatchBaseline(input *CreatePatchBaselineInput) (*CreatePatchBaselineOutput, error) { @@ -1301,14 +1301,13 @@ const opCreateResourceDataSync = "CreateResourceDataSync" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResourceDataSyncRequest method. +// req, resp := client.CreateResourceDataSyncRequest(params) // -// // Example sending a request using the CreateResourceDataSyncRequest method. -// req, resp := client.CreateResourceDataSyncRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSync func (c *SSM) CreateResourceDataSyncRequest(input *CreateResourceDataSyncInput) (req *request.Request, output *CreateResourceDataSyncOutput) { @@ -1366,17 +1365,18 @@ func (c *SSM) CreateResourceDataSyncRequest(input *CreateResourceDataSyncInput) // API operation CreateResourceDataSync for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * ResourceDataSyncCountExceededException -// You have exceeded the allowed maximum sync configurations. +// - InternalServerError +// An error occurred on the server side. // -// * ResourceDataSyncAlreadyExistsException -// A sync configuration with the same name already exists. +// - ResourceDataSyncCountExceededException +// You have exceeded the allowed maximum sync configurations. // -// * ResourceDataSyncInvalidConfigurationException -// The specified sync configuration is invalid. +// - ResourceDataSyncAlreadyExistsException +// A sync configuration with the same name already exists. +// +// - ResourceDataSyncInvalidConfigurationException +// The specified sync configuration is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/CreateResourceDataSync func (c *SSM) CreateResourceDataSync(input *CreateResourceDataSyncInput) (*CreateResourceDataSyncOutput, error) { @@ -1416,14 +1416,13 @@ const opDeleteActivation = "DeleteActivation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteActivationRequest method. +// req, resp := client.DeleteActivationRequest(params) // -// // Example sending a request using the DeleteActivationRequest method. -// req, resp := client.DeleteActivationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteActivation func (c *SSM) DeleteActivationRequest(input *DeleteActivationInput) (req *request.Request, output *DeleteActivationOutput) { @@ -1458,20 +1457,21 @@ func (c *SSM) DeleteActivationRequest(input *DeleteActivationInput) (req *reques // API operation DeleteActivation for usage and error information. // // Returned Error Types: -// * InvalidActivationId -// The activation ID isn't valid. Verify the you entered the correct ActivationId -// or ActivationCode and try again. // -// * InvalidActivation -// The activation isn't valid. The activation might have been deleted, or the -// ActivationId and the ActivationCode don't match. +// - InvalidActivationId +// The activation ID isn't valid. Verify the you entered the correct ActivationId +// or ActivationCode and try again. +// +// - InvalidActivation +// The activation isn't valid. The activation might have been deleted, or the +// ActivationId and the ActivationCode don't match. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // -// * TooManyUpdates -// There are concurrent updates for a resource that supports one update at a -// time. +// - TooManyUpdates +// There are concurrent updates for a resource that supports one update at a +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteActivation func (c *SSM) DeleteActivation(input *DeleteActivationInput) (*DeleteActivationOutput, error) { @@ -1511,14 +1511,13 @@ const opDeleteAssociation = "DeleteAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAssociationRequest method. +// req, resp := client.DeleteAssociationRequest(params) // -// // Example sending a request using the DeleteAssociationRequest method. -// req, resp := client.DeleteAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteAssociation func (c *SSM) DeleteAssociationRequest(input *DeleteAssociationInput) (req *request.Request, output *DeleteAssociationOutput) { @@ -1558,32 +1557,33 @@ func (c *SSM) DeleteAssociationRequest(input *DeleteAssociationInput) (req *requ // API operation DeleteAssociation for usage and error information. // // Returned Error Types: -// * AssociationDoesNotExist -// The specified association doesn't exist. // -// * InternalServerError -// An error occurred on the server side. +// - AssociationDoesNotExist +// The specified association doesn't exist. +// +// - InternalServerError +// An error occurred on the server side. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InvalidInstanceId +// The following problems can cause this exception: // -// * You don't have permission to access the managed node. +// - You don't have permission to access the managed node. // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. // -// * TooManyUpdates -// There are concurrent updates for a resource that supports one update at a -// time. +// - TooManyUpdates +// There are concurrent updates for a resource that supports one update at a +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteAssociation func (c *SSM) DeleteAssociation(input *DeleteAssociationInput) (*DeleteAssociationOutput, error) { @@ -1623,14 +1623,13 @@ const opDeleteDocument = "DeleteDocument" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDocumentRequest method. +// req, resp := client.DeleteDocumentRequest(params) // -// // Example sending a request using the DeleteDocumentRequest method. -// req, resp := client.DeleteDocumentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocument func (c *SSM) DeleteDocumentRequest(input *DeleteDocumentInput) (req *request.Request, output *DeleteDocumentOutput) { @@ -1666,19 +1665,20 @@ func (c *SSM) DeleteDocumentRequest(input *DeleteDocumentInput) (req *request.Re // API operation DeleteDocument for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidDocumentOperation -// You attempted to delete a document while it is still shared. You must stop -// sharing the document before you can delete it. +// - InvalidDocumentOperation +// You attempted to delete a document while it is still shared. You must stop +// sharing the document before you can delete it. // -// * AssociatedInstances -// You must disassociate a document from all managed nodes before you can delete -// it. +// - AssociatedInstances +// You must disassociate a document from all managed nodes before you can delete +// it. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteDocument func (c *SSM) DeleteDocument(input *DeleteDocumentInput) (*DeleteDocumentOutput, error) { @@ -1718,14 +1718,13 @@ const opDeleteInventory = "DeleteInventory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInventoryRequest method. +// req, resp := client.DeleteInventoryRequest(params) // -// // Example sending a request using the DeleteInventoryRequest method. -// req, resp := client.DeleteInventoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteInventory func (c *SSM) DeleteInventoryRequest(input *DeleteInventoryInput) (req *request.Request, output *DeleteInventoryOutput) { @@ -1758,22 +1757,23 @@ func (c *SSM) DeleteInventoryRequest(input *DeleteInventoryInput) (req *request. // API operation DeleteInventory for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidTypeNameException -// The parameter type name isn't valid. +// - InternalServerError +// An error occurred on the server side. // -// * InvalidOptionException -// The delete inventory option specified isn't valid. Verify the option and -// try again. +// - InvalidTypeNameException +// The parameter type name isn't valid. // -// * InvalidDeleteInventoryParametersException -// One or more of the parameters specified for the delete operation isn't valid. -// Verify all parameters and try again. +// - InvalidOptionException +// The delete inventory option specified isn't valid. Verify the option and +// try again. // -// * InvalidInventoryRequestException -// The request isn't valid. +// - InvalidDeleteInventoryParametersException +// One or more of the parameters specified for the delete operation isn't valid. +// Verify all parameters and try again. +// +// - InvalidInventoryRequestException +// The request isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteInventory func (c *SSM) DeleteInventory(input *DeleteInventoryInput) (*DeleteInventoryOutput, error) { @@ -1813,14 +1813,13 @@ const opDeleteMaintenanceWindow = "DeleteMaintenanceWindow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMaintenanceWindowRequest method. +// req, resp := client.DeleteMaintenanceWindowRequest(params) // -// // Example sending a request using the DeleteMaintenanceWindowRequest method. -// req, resp := client.DeleteMaintenanceWindowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteMaintenanceWindow func (c *SSM) DeleteMaintenanceWindowRequest(input *DeleteMaintenanceWindowInput) (req *request.Request, output *DeleteMaintenanceWindowOutput) { @@ -1851,8 +1850,8 @@ func (c *SSM) DeleteMaintenanceWindowRequest(input *DeleteMaintenanceWindowInput // API operation DeleteMaintenanceWindow for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteMaintenanceWindow func (c *SSM) DeleteMaintenanceWindow(input *DeleteMaintenanceWindowInput) (*DeleteMaintenanceWindowOutput, error) { @@ -1892,14 +1891,13 @@ const opDeleteOpsMetadata = "DeleteOpsMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOpsMetadataRequest method. +// req, resp := client.DeleteOpsMetadataRequest(params) // -// // Example sending a request using the DeleteOpsMetadataRequest method. -// req, resp := client.DeleteOpsMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteOpsMetadata func (c *SSM) DeleteOpsMetadataRequest(input *DeleteOpsMetadataInput) (req *request.Request, output *DeleteOpsMetadataOutput) { @@ -1931,14 +1929,15 @@ func (c *SSM) DeleteOpsMetadataRequest(input *DeleteOpsMetadataInput) (req *requ // API operation DeleteOpsMetadata for usage and error information. // // Returned Error Types: -// * OpsMetadataNotFoundException -// The OpsMetadata object doesn't exist. // -// * OpsMetadataInvalidArgumentException -// One of the arguments passed is invalid. +// - OpsMetadataNotFoundException +// The OpsMetadata object doesn't exist. +// +// - OpsMetadataInvalidArgumentException +// One of the arguments passed is invalid. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteOpsMetadata func (c *SSM) DeleteOpsMetadata(input *DeleteOpsMetadataInput) (*DeleteOpsMetadataOutput, error) { @@ -1978,14 +1977,13 @@ const opDeleteParameter = "DeleteParameter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteParameterRequest method. +// req, resp := client.DeleteParameterRequest(params) // -// // Example sending a request using the DeleteParameterRequest method. -// req, resp := client.DeleteParameterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameter func (c *SSM) DeleteParameterRequest(input *DeleteParameterInput) (req *request.Request, output *DeleteParameterOutput) { @@ -2018,11 +2016,12 @@ func (c *SSM) DeleteParameterRequest(input *DeleteParameterInput) (req *request. // API operation DeleteParameter for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * ParameterNotFound -// The parameter couldn't be found. Verify the name and try again. +// - InternalServerError +// An error occurred on the server side. +// +// - ParameterNotFound +// The parameter couldn't be found. Verify the name and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameter func (c *SSM) DeleteParameter(input *DeleteParameterInput) (*DeleteParameterOutput, error) { @@ -2062,14 +2061,13 @@ const opDeleteParameters = "DeleteParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteParametersRequest method. +// req, resp := client.DeleteParametersRequest(params) // -// // Example sending a request using the DeleteParametersRequest method. -// req, resp := client.DeleteParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameters func (c *SSM) DeleteParametersRequest(input *DeleteParametersInput) (req *request.Request, output *DeleteParametersOutput) { @@ -2101,8 +2099,8 @@ func (c *SSM) DeleteParametersRequest(input *DeleteParametersInput) (req *reques // API operation DeleteParameters for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteParameters func (c *SSM) DeleteParameters(input *DeleteParametersInput) (*DeleteParametersOutput, error) { @@ -2142,14 +2140,13 @@ const opDeletePatchBaseline = "DeletePatchBaseline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePatchBaselineRequest method. +// req, resp := client.DeletePatchBaselineRequest(params) // -// // Example sending a request using the DeletePatchBaselineRequest method. -// req, resp := client.DeletePatchBaselineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeletePatchBaseline func (c *SSM) DeletePatchBaselineRequest(input *DeletePatchBaselineInput) (req *request.Request, output *DeletePatchBaselineOutput) { @@ -2180,12 +2177,13 @@ func (c *SSM) DeletePatchBaselineRequest(input *DeletePatchBaselineInput) (req * // API operation DeletePatchBaseline for usage and error information. // // Returned Error Types: -// * ResourceInUseException -// Error returned if an attempt is made to delete a patch baseline that is registered -// for a patch group. // -// * InternalServerError -// An error occurred on the server side. +// - ResourceInUseException +// Error returned if an attempt is made to delete a patch baseline that is registered +// for a patch group. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeletePatchBaseline func (c *SSM) DeletePatchBaseline(input *DeletePatchBaselineInput) (*DeletePatchBaselineOutput, error) { @@ -2225,14 +2223,13 @@ const opDeleteResourceDataSync = "DeleteResourceDataSync" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourceDataSyncRequest method. +// req, resp := client.DeleteResourceDataSyncRequest(params) // -// // Example sending a request using the DeleteResourceDataSyncRequest method. -// req, resp := client.DeleteResourceDataSyncRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSync func (c *SSM) DeleteResourceDataSyncRequest(input *DeleteResourceDataSyncInput) (req *request.Request, output *DeleteResourceDataSyncOutput) { @@ -2266,14 +2263,15 @@ func (c *SSM) DeleteResourceDataSyncRequest(input *DeleteResourceDataSyncInput) // API operation DeleteResourceDataSync for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * ResourceDataSyncNotFoundException -// The specified sync name wasn't found. +// - InternalServerError +// An error occurred on the server side. // -// * ResourceDataSyncInvalidConfigurationException -// The specified sync configuration is invalid. +// - ResourceDataSyncNotFoundException +// The specified sync name wasn't found. +// +// - ResourceDataSyncInvalidConfigurationException +// The specified sync configuration is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteResourceDataSync func (c *SSM) DeleteResourceDataSync(input *DeleteResourceDataSyncInput) (*DeleteResourceDataSyncOutput, error) { @@ -2313,14 +2311,13 @@ const opDeregisterManagedInstance = "DeregisterManagedInstance" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterManagedInstanceRequest method. +// req, resp := client.DeregisterManagedInstanceRequest(params) // -// // Example sending a request using the DeregisterManagedInstanceRequest method. -// req, resp := client.DeregisterManagedInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterManagedInstance func (c *SSM) DeregisterManagedInstanceRequest(input *DeregisterManagedInstanceInput) (req *request.Request, output *DeregisterManagedInstanceOutput) { @@ -2354,22 +2351,23 @@ func (c *SSM) DeregisterManagedInstanceRequest(input *DeregisterManagedInstanceI // API operation DeregisterManagedInstance for usage and error information. // // Returned Error Types: -// * InvalidInstanceId -// The following problems can cause this exception: // -// * You don't have permission to access the managed node. +// - InvalidInstanceId +// The following problems can cause this exception: // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - You don't have permission to access the managed node. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * InternalServerError -// An error occurred on the server side. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterManagedInstance func (c *SSM) DeregisterManagedInstance(input *DeregisterManagedInstanceInput) (*DeregisterManagedInstanceOutput, error) { @@ -2409,14 +2407,13 @@ const opDeregisterPatchBaselineForPatchGroup = "DeregisterPatchBaselineForPatchG // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterPatchBaselineForPatchGroupRequest method. +// req, resp := client.DeregisterPatchBaselineForPatchGroupRequest(params) // -// // Example sending a request using the DeregisterPatchBaselineForPatchGroupRequest method. -// req, resp := client.DeregisterPatchBaselineForPatchGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterPatchBaselineForPatchGroup func (c *SSM) DeregisterPatchBaselineForPatchGroupRequest(input *DeregisterPatchBaselineForPatchGroupInput) (req *request.Request, output *DeregisterPatchBaselineForPatchGroupOutput) { @@ -2447,12 +2444,13 @@ func (c *SSM) DeregisterPatchBaselineForPatchGroupRequest(input *DeregisterPatch // API operation DeregisterPatchBaselineForPatchGroup for usage and error information. // // Returned Error Types: -// * InvalidResourceId -// The resource ID isn't valid. Verify that you entered the correct ID and try -// again. // -// * InternalServerError -// An error occurred on the server side. +// - InvalidResourceId +// The resource ID isn't valid. Verify that you entered the correct ID and try +// again. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterPatchBaselineForPatchGroup func (c *SSM) DeregisterPatchBaselineForPatchGroup(input *DeregisterPatchBaselineForPatchGroupInput) (*DeregisterPatchBaselineForPatchGroupOutput, error) { @@ -2492,14 +2490,13 @@ const opDeregisterTargetFromMaintenanceWindow = "DeregisterTargetFromMaintenance // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterTargetFromMaintenanceWindowRequest method. +// req, resp := client.DeregisterTargetFromMaintenanceWindowRequest(params) // -// // Example sending a request using the DeregisterTargetFromMaintenanceWindowRequest method. -// req, resp := client.DeregisterTargetFromMaintenanceWindowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindow func (c *SSM) DeregisterTargetFromMaintenanceWindowRequest(input *DeregisterTargetFromMaintenanceWindowInput) (req *request.Request, output *DeregisterTargetFromMaintenanceWindowOutput) { @@ -2530,20 +2527,21 @@ func (c *SSM) DeregisterTargetFromMaintenanceWindowRequest(input *DeregisterTarg // API operation DeregisterTargetFromMaintenanceWindow for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. +// +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // -// * TargetInUseException -// You specified the Safe option for the DeregisterTargetFromMaintenanceWindow -// operation, but the target is still referenced in a task. +// - TargetInUseException +// You specified the Safe option for the DeregisterTargetFromMaintenanceWindow +// operation, but the target is still referenced in a task. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTargetFromMaintenanceWindow func (c *SSM) DeregisterTargetFromMaintenanceWindow(input *DeregisterTargetFromMaintenanceWindowInput) (*DeregisterTargetFromMaintenanceWindowOutput, error) { @@ -2583,14 +2581,13 @@ const opDeregisterTaskFromMaintenanceWindow = "DeregisterTaskFromMaintenanceWind // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterTaskFromMaintenanceWindowRequest method. +// req, resp := client.DeregisterTaskFromMaintenanceWindowRequest(params) // -// // Example sending a request using the DeregisterTaskFromMaintenanceWindowRequest method. -// req, resp := client.DeregisterTaskFromMaintenanceWindowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTaskFromMaintenanceWindow func (c *SSM) DeregisterTaskFromMaintenanceWindowRequest(input *DeregisterTaskFromMaintenanceWindowInput) (req *request.Request, output *DeregisterTaskFromMaintenanceWindowOutput) { @@ -2621,16 +2618,17 @@ func (c *SSM) DeregisterTaskFromMaintenanceWindowRequest(input *DeregisterTaskFr // API operation DeregisterTaskFromMaintenanceWindow for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. +// +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeregisterTaskFromMaintenanceWindow func (c *SSM) DeregisterTaskFromMaintenanceWindow(input *DeregisterTaskFromMaintenanceWindowInput) (*DeregisterTaskFromMaintenanceWindowOutput, error) { @@ -2670,14 +2668,13 @@ const opDescribeActivations = "DescribeActivations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeActivationsRequest method. +// req, resp := client.DescribeActivationsRequest(params) // -// // Example sending a request using the DescribeActivationsRequest method. -// req, resp := client.DescribeActivationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivations func (c *SSM) DescribeActivationsRequest(input *DescribeActivationsInput) (req *request.Request, output *DescribeActivationsOutput) { @@ -2717,15 +2714,16 @@ func (c *SSM) DescribeActivationsRequest(input *DescribeActivationsInput) (req * // API operation DescribeActivations for usage and error information. // // Returned Error Types: -// * InvalidFilter -// The filter name isn't valid. Verify the you entered the correct name and -// try again. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidFilter +// The filter name isn't valid. Verify the you entered the correct name and +// try again. // -// * InternalServerError -// An error occurred on the server side. +// - InvalidNextToken +// The specified token isn't valid. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeActivations func (c *SSM) DescribeActivations(input *DescribeActivationsInput) (*DescribeActivationsOutput, error) { @@ -2757,15 +2755,14 @@ func (c *SSM) DescribeActivationsWithContext(ctx aws.Context, input *DescribeAct // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeActivations operation. -// pageNum := 0 -// err := client.DescribeActivationsPages(params, -// func(page *ssm.DescribeActivationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeActivations operation. +// pageNum := 0 +// err := client.DescribeActivationsPages(params, +// func(page *ssm.DescribeActivationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeActivationsPages(input *DescribeActivationsInput, fn func(*DescribeActivationsOutput, bool) bool) error { return c.DescribeActivationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2817,14 +2814,13 @@ const opDescribeAssociation = "DescribeAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAssociationRequest method. +// req, resp := client.DescribeAssociationRequest(params) // -// // Example sending a request using the DescribeAssociationRequest method. -// req, resp := client.DescribeAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation func (c *SSM) DescribeAssociationRequest(input *DescribeAssociationInput) (req *request.Request, output *DescribeAssociationOutput) { @@ -2857,33 +2853,34 @@ func (c *SSM) DescribeAssociationRequest(input *DescribeAssociationInput) (req * // API operation DescribeAssociation for usage and error information. // // Returned Error Types: -// * AssociationDoesNotExist -// The specified association doesn't exist. // -// * InvalidAssociationVersion -// The version you specified isn't valid. Use ListAssociationVersions to view -// all versions of an association according to the association ID. Or, use the -// $LATEST parameter to view the latest version of the association. +// - AssociationDoesNotExist +// The specified association doesn't exist. +// +// - InvalidAssociationVersion +// The version you specified isn't valid. Use ListAssociationVersions to view +// all versions of an association according to the association ID. Or, use the +// $LATEST parameter to view the latest version of the association. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InvalidInstanceId +// The following problems can cause this exception: // -// * You don't have permission to access the managed node. +// - You don't have permission to access the managed node. // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociation func (c *SSM) DescribeAssociation(input *DescribeAssociationInput) (*DescribeAssociationOutput, error) { @@ -2923,14 +2920,13 @@ const opDescribeAssociationExecutionTargets = "DescribeAssociationExecutionTarge // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAssociationExecutionTargetsRequest method. +// req, resp := client.DescribeAssociationExecutionTargetsRequest(params) // -// // Example sending a request using the DescribeAssociationExecutionTargetsRequest method. -// req, resp := client.DescribeAssociationExecutionTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationExecutionTargets func (c *SSM) DescribeAssociationExecutionTargetsRequest(input *DescribeAssociationExecutionTargetsInput) (req *request.Request, output *DescribeAssociationExecutionTargetsOutput) { @@ -2967,17 +2963,18 @@ func (c *SSM) DescribeAssociationExecutionTargetsRequest(input *DescribeAssociat // API operation DescribeAssociationExecutionTargets for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * AssociationDoesNotExist -// The specified association doesn't exist. +// - InternalServerError +// An error occurred on the server side. // -// * InvalidNextToken -// The specified token isn't valid. +// - AssociationDoesNotExist +// The specified association doesn't exist. // -// * AssociationExecutionDoesNotExist -// The specified execution ID doesn't exist. Verify the ID number and try again. +// - InvalidNextToken +// The specified token isn't valid. +// +// - AssociationExecutionDoesNotExist +// The specified execution ID doesn't exist. Verify the ID number and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationExecutionTargets func (c *SSM) DescribeAssociationExecutionTargets(input *DescribeAssociationExecutionTargetsInput) (*DescribeAssociationExecutionTargetsOutput, error) { @@ -3009,15 +3006,14 @@ func (c *SSM) DescribeAssociationExecutionTargetsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAssociationExecutionTargets operation. -// pageNum := 0 -// err := client.DescribeAssociationExecutionTargetsPages(params, -// func(page *ssm.DescribeAssociationExecutionTargetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAssociationExecutionTargets operation. +// pageNum := 0 +// err := client.DescribeAssociationExecutionTargetsPages(params, +// func(page *ssm.DescribeAssociationExecutionTargetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeAssociationExecutionTargetsPages(input *DescribeAssociationExecutionTargetsInput, fn func(*DescribeAssociationExecutionTargetsOutput, bool) bool) error { return c.DescribeAssociationExecutionTargetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3069,14 +3065,13 @@ const opDescribeAssociationExecutions = "DescribeAssociationExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAssociationExecutionsRequest method. +// req, resp := client.DescribeAssociationExecutionsRequest(params) // -// // Example sending a request using the DescribeAssociationExecutionsRequest method. -// req, resp := client.DescribeAssociationExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationExecutions func (c *SSM) DescribeAssociationExecutionsRequest(input *DescribeAssociationExecutionsInput) (req *request.Request, output *DescribeAssociationExecutionsOutput) { @@ -3113,14 +3108,15 @@ func (c *SSM) DescribeAssociationExecutionsRequest(input *DescribeAssociationExe // API operation DescribeAssociationExecutions for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * AssociationDoesNotExist -// The specified association doesn't exist. +// - InternalServerError +// An error occurred on the server side. +// +// - AssociationDoesNotExist +// The specified association doesn't exist. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAssociationExecutions func (c *SSM) DescribeAssociationExecutions(input *DescribeAssociationExecutionsInput) (*DescribeAssociationExecutionsOutput, error) { @@ -3152,15 +3148,14 @@ func (c *SSM) DescribeAssociationExecutionsWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAssociationExecutions operation. -// pageNum := 0 -// err := client.DescribeAssociationExecutionsPages(params, -// func(page *ssm.DescribeAssociationExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAssociationExecutions operation. +// pageNum := 0 +// err := client.DescribeAssociationExecutionsPages(params, +// func(page *ssm.DescribeAssociationExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeAssociationExecutionsPages(input *DescribeAssociationExecutionsInput, fn func(*DescribeAssociationExecutionsOutput, bool) bool) error { return c.DescribeAssociationExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3212,14 +3207,13 @@ const opDescribeAutomationExecutions = "DescribeAutomationExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAutomationExecutionsRequest method. +// req, resp := client.DescribeAutomationExecutionsRequest(params) // -// // Example sending a request using the DescribeAutomationExecutionsRequest method. -// req, resp := client.DescribeAutomationExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutions func (c *SSM) DescribeAutomationExecutionsRequest(input *DescribeAutomationExecutionsInput) (req *request.Request, output *DescribeAutomationExecutionsOutput) { @@ -3256,17 +3250,18 @@ func (c *SSM) DescribeAutomationExecutionsRequest(input *DescribeAutomationExecu // API operation DescribeAutomationExecutions for usage and error information. // // Returned Error Types: -// * InvalidFilterKey -// The specified key isn't valid. // -// * InvalidFilterValue -// The filter value isn't valid. Verify the value and try again. +// - InvalidFilterKey +// The specified key isn't valid. +// +// - InvalidFilterValue +// The filter value isn't valid. Verify the value and try again. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationExecutions func (c *SSM) DescribeAutomationExecutions(input *DescribeAutomationExecutionsInput) (*DescribeAutomationExecutionsOutput, error) { @@ -3298,15 +3293,14 @@ func (c *SSM) DescribeAutomationExecutionsWithContext(ctx aws.Context, input *De // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAutomationExecutions operation. -// pageNum := 0 -// err := client.DescribeAutomationExecutionsPages(params, -// func(page *ssm.DescribeAutomationExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAutomationExecutions operation. +// pageNum := 0 +// err := client.DescribeAutomationExecutionsPages(params, +// func(page *ssm.DescribeAutomationExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeAutomationExecutionsPages(input *DescribeAutomationExecutionsInput, fn func(*DescribeAutomationExecutionsOutput, bool) bool) error { return c.DescribeAutomationExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3358,14 +3352,13 @@ const opDescribeAutomationStepExecutions = "DescribeAutomationStepExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAutomationStepExecutionsRequest method. +// req, resp := client.DescribeAutomationStepExecutionsRequest(params) // -// // Example sending a request using the DescribeAutomationStepExecutionsRequest method. -// req, resp := client.DescribeAutomationStepExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutions func (c *SSM) DescribeAutomationStepExecutionsRequest(input *DescribeAutomationStepExecutionsInput) (req *request.Request, output *DescribeAutomationStepExecutionsOutput) { @@ -3403,21 +3396,22 @@ func (c *SSM) DescribeAutomationStepExecutionsRequest(input *DescribeAutomationS // API operation DescribeAutomationStepExecutions for usage and error information. // // Returned Error Types: -// * AutomationExecutionNotFoundException -// There is no automation execution information for the requested automation -// execution ID. // -// * InvalidNextToken -// The specified token isn't valid. +// - AutomationExecutionNotFoundException +// There is no automation execution information for the requested automation +// execution ID. +// +// - InvalidNextToken +// The specified token isn't valid. // -// * InvalidFilterKey -// The specified key isn't valid. +// - InvalidFilterKey +// The specified key isn't valid. // -// * InvalidFilterValue -// The filter value isn't valid. Verify the value and try again. +// - InvalidFilterValue +// The filter value isn't valid. Verify the value and try again. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAutomationStepExecutions func (c *SSM) DescribeAutomationStepExecutions(input *DescribeAutomationStepExecutionsInput) (*DescribeAutomationStepExecutionsOutput, error) { @@ -3449,15 +3443,14 @@ func (c *SSM) DescribeAutomationStepExecutionsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAutomationStepExecutions operation. -// pageNum := 0 -// err := client.DescribeAutomationStepExecutionsPages(params, -// func(page *ssm.DescribeAutomationStepExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAutomationStepExecutions operation. +// pageNum := 0 +// err := client.DescribeAutomationStepExecutionsPages(params, +// func(page *ssm.DescribeAutomationStepExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeAutomationStepExecutionsPages(input *DescribeAutomationStepExecutionsInput, fn func(*DescribeAutomationStepExecutionsOutput, bool) bool) error { return c.DescribeAutomationStepExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3509,14 +3502,13 @@ const opDescribeAvailablePatches = "DescribeAvailablePatches" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAvailablePatchesRequest method. +// req, resp := client.DescribeAvailablePatchesRequest(params) // -// // Example sending a request using the DescribeAvailablePatchesRequest method. -// req, resp := client.DescribeAvailablePatchesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAvailablePatches func (c *SSM) DescribeAvailablePatchesRequest(input *DescribeAvailablePatchesInput) (req *request.Request, output *DescribeAvailablePatchesOutput) { @@ -3553,8 +3545,8 @@ func (c *SSM) DescribeAvailablePatchesRequest(input *DescribeAvailablePatchesInp // API operation DescribeAvailablePatches for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeAvailablePatches func (c *SSM) DescribeAvailablePatches(input *DescribeAvailablePatchesInput) (*DescribeAvailablePatchesOutput, error) { @@ -3586,15 +3578,14 @@ func (c *SSM) DescribeAvailablePatchesWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeAvailablePatches operation. -// pageNum := 0 -// err := client.DescribeAvailablePatchesPages(params, -// func(page *ssm.DescribeAvailablePatchesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeAvailablePatches operation. +// pageNum := 0 +// err := client.DescribeAvailablePatchesPages(params, +// func(page *ssm.DescribeAvailablePatchesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeAvailablePatchesPages(input *DescribeAvailablePatchesInput, fn func(*DescribeAvailablePatchesOutput, bool) bool) error { return c.DescribeAvailablePatchesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3646,14 +3637,13 @@ const opDescribeDocument = "DescribeDocument" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDocumentRequest method. +// req, resp := client.DescribeDocumentRequest(params) // -// // Example sending a request using the DescribeDocumentRequest method. -// req, resp := client.DescribeDocumentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocument func (c *SSM) DescribeDocumentRequest(input *DescribeDocumentInput) (req *request.Request, output *DescribeDocumentOutput) { @@ -3685,14 +3675,15 @@ func (c *SSM) DescribeDocumentRequest(input *DescribeDocumentInput) (req *reques // API operation DescribeDocument for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidDocumentVersion -// The document version isn't valid or doesn't exist. +// - InvalidDocumentVersion +// The document version isn't valid or doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocument func (c *SSM) DescribeDocument(input *DescribeDocumentInput) (*DescribeDocumentOutput, error) { @@ -3732,14 +3723,13 @@ const opDescribeDocumentPermission = "DescribeDocumentPermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDocumentPermissionRequest method. +// req, resp := client.DescribeDocumentPermissionRequest(params) // -// // Example sending a request using the DescribeDocumentPermissionRequest method. -// req, resp := client.DescribeDocumentPermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermission func (c *SSM) DescribeDocumentPermissionRequest(input *DescribeDocumentPermissionInput) (req *request.Request, output *DescribeDocumentPermissionOutput) { @@ -3773,22 +3763,23 @@ func (c *SSM) DescribeDocumentPermissionRequest(input *DescribeDocumentPermissio // API operation DescribeDocumentPermission for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // -// * InvalidPermissionType -// The permission type isn't supported. Share is the only supported permission -// type. +// - InvalidPermissionType +// The permission type isn't supported. Share is the only supported permission +// type. // -// * InvalidDocumentOperation -// You attempted to delete a document while it is still shared. You must stop -// sharing the document before you can delete it. +// - InvalidDocumentOperation +// You attempted to delete a document while it is still shared. You must stop +// sharing the document before you can delete it. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeDocumentPermission func (c *SSM) DescribeDocumentPermission(input *DescribeDocumentPermissionInput) (*DescribeDocumentPermissionOutput, error) { @@ -3828,14 +3819,13 @@ const opDescribeEffectiveInstanceAssociations = "DescribeEffectiveInstanceAssoci // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEffectiveInstanceAssociationsRequest method. +// req, resp := client.DescribeEffectiveInstanceAssociationsRequest(params) // -// // Example sending a request using the DescribeEffectiveInstanceAssociationsRequest method. -// req, resp := client.DescribeEffectiveInstanceAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociations func (c *SSM) DescribeEffectiveInstanceAssociationsRequest(input *DescribeEffectiveInstanceAssociationsInput) (req *request.Request, output *DescribeEffectiveInstanceAssociationsOutput) { @@ -3872,25 +3862,26 @@ func (c *SSM) DescribeEffectiveInstanceAssociationsRequest(input *DescribeEffect // API operation DescribeEffectiveInstanceAssociations for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidInstanceId +// The following problems can cause this exception: // -// * You don't have permission to access the managed node. +// - You don't have permission to access the managed node. // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectiveInstanceAssociations func (c *SSM) DescribeEffectiveInstanceAssociations(input *DescribeEffectiveInstanceAssociationsInput) (*DescribeEffectiveInstanceAssociationsOutput, error) { @@ -3922,15 +3913,14 @@ func (c *SSM) DescribeEffectiveInstanceAssociationsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEffectiveInstanceAssociations operation. -// pageNum := 0 -// err := client.DescribeEffectiveInstanceAssociationsPages(params, -// func(page *ssm.DescribeEffectiveInstanceAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEffectiveInstanceAssociations operation. +// pageNum := 0 +// err := client.DescribeEffectiveInstanceAssociationsPages(params, +// func(page *ssm.DescribeEffectiveInstanceAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeEffectiveInstanceAssociationsPages(input *DescribeEffectiveInstanceAssociationsInput, fn func(*DescribeEffectiveInstanceAssociationsOutput, bool) bool) error { return c.DescribeEffectiveInstanceAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3982,14 +3972,13 @@ const opDescribeEffectivePatchesForPatchBaseline = "DescribeEffectivePatchesForP // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEffectivePatchesForPatchBaselineRequest method. +// req, resp := client.DescribeEffectivePatchesForPatchBaselineRequest(params) // -// // Example sending a request using the DescribeEffectivePatchesForPatchBaselineRequest method. -// req, resp := client.DescribeEffectivePatchesForPatchBaselineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectivePatchesForPatchBaseline func (c *SSM) DescribeEffectivePatchesForPatchBaselineRequest(input *DescribeEffectivePatchesForPatchBaselineInput) (req *request.Request, output *DescribeEffectivePatchesForPatchBaselineOutput) { @@ -4028,24 +4017,25 @@ func (c *SSM) DescribeEffectivePatchesForPatchBaselineRequest(input *DescribeEff // API operation DescribeEffectivePatchesForPatchBaseline for usage and error information. // // Returned Error Types: -// * InvalidResourceId -// The resource ID isn't valid. Verify that you entered the correct ID and try -// again. // -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. +// - InvalidResourceId +// The resource ID isn't valid. Verify that you entered the correct ID and try +// again. +// +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * UnsupportedOperatingSystem -// The operating systems you specified isn't supported, or the operation isn't -// supported for the operating system. +// - UnsupportedOperatingSystem +// The operating systems you specified isn't supported, or the operation isn't +// supported for the operating system. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeEffectivePatchesForPatchBaseline func (c *SSM) DescribeEffectivePatchesForPatchBaseline(input *DescribeEffectivePatchesForPatchBaselineInput) (*DescribeEffectivePatchesForPatchBaselineOutput, error) { @@ -4077,15 +4067,14 @@ func (c *SSM) DescribeEffectivePatchesForPatchBaselineWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeEffectivePatchesForPatchBaseline operation. -// pageNum := 0 -// err := client.DescribeEffectivePatchesForPatchBaselinePages(params, -// func(page *ssm.DescribeEffectivePatchesForPatchBaselineOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeEffectivePatchesForPatchBaseline operation. +// pageNum := 0 +// err := client.DescribeEffectivePatchesForPatchBaselinePages(params, +// func(page *ssm.DescribeEffectivePatchesForPatchBaselineOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeEffectivePatchesForPatchBaselinePages(input *DescribeEffectivePatchesForPatchBaselineInput, fn func(*DescribeEffectivePatchesForPatchBaselineOutput, bool) bool) error { return c.DescribeEffectivePatchesForPatchBaselinePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4137,14 +4126,13 @@ const opDescribeInstanceAssociationsStatus = "DescribeInstanceAssociationsStatus // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceAssociationsStatusRequest method. +// req, resp := client.DescribeInstanceAssociationsStatusRequest(params) // -// // Example sending a request using the DescribeInstanceAssociationsStatusRequest method. -// req, resp := client.DescribeInstanceAssociationsStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceAssociationsStatus func (c *SSM) DescribeInstanceAssociationsStatusRequest(input *DescribeInstanceAssociationsStatusInput) (req *request.Request, output *DescribeInstanceAssociationsStatusOutput) { @@ -4181,25 +4169,26 @@ func (c *SSM) DescribeInstanceAssociationsStatusRequest(input *DescribeInstanceA // API operation DescribeInstanceAssociationsStatus for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidInstanceId +// The following problems can cause this exception: // -// * You don't have permission to access the managed node. +// - You don't have permission to access the managed node. // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceAssociationsStatus func (c *SSM) DescribeInstanceAssociationsStatus(input *DescribeInstanceAssociationsStatusInput) (*DescribeInstanceAssociationsStatusOutput, error) { @@ -4231,15 +4220,14 @@ func (c *SSM) DescribeInstanceAssociationsStatusWithContext(ctx aws.Context, inp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInstanceAssociationsStatus operation. -// pageNum := 0 -// err := client.DescribeInstanceAssociationsStatusPages(params, -// func(page *ssm.DescribeInstanceAssociationsStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInstanceAssociationsStatus operation. +// pageNum := 0 +// err := client.DescribeInstanceAssociationsStatusPages(params, +// func(page *ssm.DescribeInstanceAssociationsStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeInstanceAssociationsStatusPages(input *DescribeInstanceAssociationsStatusInput, fn func(*DescribeInstanceAssociationsStatusOutput, bool) bool) error { return c.DescribeInstanceAssociationsStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4291,14 +4279,13 @@ const opDescribeInstanceInformation = "DescribeInstanceInformation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceInformationRequest method. +// req, resp := client.DescribeInstanceInformationRequest(params) // -// // Example sending a request using the DescribeInstanceInformationRequest method. -// req, resp := client.DescribeInstanceInformationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceInformation func (c *SSM) DescribeInstanceInformationRequest(input *DescribeInstanceInformationInput) (req *request.Request, output *DescribeInstanceInformationOutput) { @@ -4346,31 +4333,32 @@ func (c *SSM) DescribeInstanceInformationRequest(input *DescribeInstanceInformat // API operation DescribeInstanceInformation for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InternalServerError +// An error occurred on the server side. // -// * You don't have permission to access the managed node. +// - InvalidInstanceId +// The following problems can cause this exception: // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - You don't have permission to access the managed node. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * InvalidNextToken -// The specified token isn't valid. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. // -// * InvalidInstanceInformationFilterValue -// The specified filter value isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // -// * InvalidFilterKey -// The specified key isn't valid. +// - InvalidInstanceInformationFilterValue +// The specified filter value isn't valid. +// +// - InvalidFilterKey +// The specified key isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstanceInformation func (c *SSM) DescribeInstanceInformation(input *DescribeInstanceInformationInput) (*DescribeInstanceInformationOutput, error) { @@ -4402,15 +4390,14 @@ func (c *SSM) DescribeInstanceInformationWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInstanceInformation operation. -// pageNum := 0 -// err := client.DescribeInstanceInformationPages(params, -// func(page *ssm.DescribeInstanceInformationOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInstanceInformation operation. +// pageNum := 0 +// err := client.DescribeInstanceInformationPages(params, +// func(page *ssm.DescribeInstanceInformationOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeInstanceInformationPages(input *DescribeInstanceInformationInput, fn func(*DescribeInstanceInformationOutput, bool) bool) error { return c.DescribeInstanceInformationPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4462,14 +4449,13 @@ const opDescribeInstancePatchStates = "DescribeInstancePatchStates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstancePatchStatesRequest method. +// req, resp := client.DescribeInstancePatchStatesRequest(params) // -// // Example sending a request using the DescribeInstancePatchStatesRequest method. -// req, resp := client.DescribeInstancePatchStatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStates func (c *SSM) DescribeInstancePatchStatesRequest(input *DescribeInstancePatchStatesInput) (req *request.Request, output *DescribeInstancePatchStatesOutput) { @@ -4506,11 +4492,12 @@ func (c *SSM) DescribeInstancePatchStatesRequest(input *DescribeInstancePatchSta // API operation DescribeInstancePatchStates for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidNextToken -// The specified token isn't valid. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStates func (c *SSM) DescribeInstancePatchStates(input *DescribeInstancePatchStatesInput) (*DescribeInstancePatchStatesOutput, error) { @@ -4542,15 +4529,14 @@ func (c *SSM) DescribeInstancePatchStatesWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInstancePatchStates operation. -// pageNum := 0 -// err := client.DescribeInstancePatchStatesPages(params, -// func(page *ssm.DescribeInstancePatchStatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInstancePatchStates operation. +// pageNum := 0 +// err := client.DescribeInstancePatchStatesPages(params, +// func(page *ssm.DescribeInstancePatchStatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeInstancePatchStatesPages(input *DescribeInstancePatchStatesInput, fn func(*DescribeInstancePatchStatesOutput, bool) bool) error { return c.DescribeInstancePatchStatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4602,14 +4588,13 @@ const opDescribeInstancePatchStatesForPatchGroup = "DescribeInstancePatchStatesF // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstancePatchStatesForPatchGroupRequest method. +// req, resp := client.DescribeInstancePatchStatesForPatchGroupRequest(params) // -// // Example sending a request using the DescribeInstancePatchStatesForPatchGroupRequest method. -// req, resp := client.DescribeInstancePatchStatesForPatchGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroup func (c *SSM) DescribeInstancePatchStatesForPatchGroupRequest(input *DescribeInstancePatchStatesForPatchGroupInput) (req *request.Request, output *DescribeInstancePatchStatesForPatchGroupOutput) { @@ -4647,15 +4632,16 @@ func (c *SSM) DescribeInstancePatchStatesForPatchGroupRequest(input *DescribeIns // API operation DescribeInstancePatchStatesForPatchGroup for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidFilter -// The filter name isn't valid. Verify the you entered the correct name and -// try again. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidFilter +// The filter name isn't valid. Verify the you entered the correct name and +// try again. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatchStatesForPatchGroup func (c *SSM) DescribeInstancePatchStatesForPatchGroup(input *DescribeInstancePatchStatesForPatchGroupInput) (*DescribeInstancePatchStatesForPatchGroupOutput, error) { @@ -4687,15 +4673,14 @@ func (c *SSM) DescribeInstancePatchStatesForPatchGroupWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInstancePatchStatesForPatchGroup operation. -// pageNum := 0 -// err := client.DescribeInstancePatchStatesForPatchGroupPages(params, -// func(page *ssm.DescribeInstancePatchStatesForPatchGroupOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInstancePatchStatesForPatchGroup operation. +// pageNum := 0 +// err := client.DescribeInstancePatchStatesForPatchGroupPages(params, +// func(page *ssm.DescribeInstancePatchStatesForPatchGroupOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeInstancePatchStatesForPatchGroupPages(input *DescribeInstancePatchStatesForPatchGroupInput, fn func(*DescribeInstancePatchStatesForPatchGroupOutput, bool) bool) error { return c.DescribeInstancePatchStatesForPatchGroupPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4747,14 +4732,13 @@ const opDescribeInstancePatches = "DescribeInstancePatches" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstancePatchesRequest method. +// req, resp := client.DescribeInstancePatchesRequest(params) // -// // Example sending a request using the DescribeInstancePatchesRequest method. -// req, resp := client.DescribeInstancePatchesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatches func (c *SSM) DescribeInstancePatchesRequest(input *DescribeInstancePatchesInput) (req *request.Request, output *DescribeInstancePatchesOutput) { @@ -4792,29 +4776,30 @@ func (c *SSM) DescribeInstancePatchesRequest(input *DescribeInstancePatchesInput // API operation DescribeInstancePatches for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidInstanceId +// The following problems can cause this exception: // -// * You don't have permission to access the managed node. +// - You don't have permission to access the managed node. // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. // -// * InvalidFilter -// The filter name isn't valid. Verify the you entered the correct name and -// try again. +// - InvalidFilter +// The filter name isn't valid. Verify the you entered the correct name and +// try again. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInstancePatches func (c *SSM) DescribeInstancePatches(input *DescribeInstancePatchesInput) (*DescribeInstancePatchesOutput, error) { @@ -4846,15 +4831,14 @@ func (c *SSM) DescribeInstancePatchesWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInstancePatches operation. -// pageNum := 0 -// err := client.DescribeInstancePatchesPages(params, -// func(page *ssm.DescribeInstancePatchesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInstancePatches operation. +// pageNum := 0 +// err := client.DescribeInstancePatchesPages(params, +// func(page *ssm.DescribeInstancePatchesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeInstancePatchesPages(input *DescribeInstancePatchesInput, fn func(*DescribeInstancePatchesOutput, bool) bool) error { return c.DescribeInstancePatchesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4906,14 +4890,13 @@ const opDescribeInventoryDeletions = "DescribeInventoryDeletions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInventoryDeletionsRequest method. +// req, resp := client.DescribeInventoryDeletionsRequest(params) // -// // Example sending a request using the DescribeInventoryDeletionsRequest method. -// req, resp := client.DescribeInventoryDeletionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInventoryDeletions func (c *SSM) DescribeInventoryDeletionsRequest(input *DescribeInventoryDeletionsInput) (req *request.Request, output *DescribeInventoryDeletionsOutput) { @@ -4950,15 +4933,16 @@ func (c *SSM) DescribeInventoryDeletionsRequest(input *DescribeInventoryDeletion // API operation DescribeInventoryDeletions for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidDeletionIdException -// The ID specified for the delete operation doesn't exist or isn't valid. Verify -// the ID and try again. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidDeletionIdException +// The ID specified for the delete operation doesn't exist or isn't valid. Verify +// the ID and try again. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeInventoryDeletions func (c *SSM) DescribeInventoryDeletions(input *DescribeInventoryDeletionsInput) (*DescribeInventoryDeletionsOutput, error) { @@ -4990,15 +4974,14 @@ func (c *SSM) DescribeInventoryDeletionsWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeInventoryDeletions operation. -// pageNum := 0 -// err := client.DescribeInventoryDeletionsPages(params, -// func(page *ssm.DescribeInventoryDeletionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeInventoryDeletions operation. +// pageNum := 0 +// err := client.DescribeInventoryDeletionsPages(params, +// func(page *ssm.DescribeInventoryDeletionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeInventoryDeletionsPages(input *DescribeInventoryDeletionsInput, fn func(*DescribeInventoryDeletionsOutput, bool) bool) error { return c.DescribeInventoryDeletionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5050,14 +5033,13 @@ const opDescribeMaintenanceWindowExecutionTaskInvocations = "DescribeMaintenance // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMaintenanceWindowExecutionTaskInvocationsRequest method. +// req, resp := client.DescribeMaintenanceWindowExecutionTaskInvocationsRequest(params) // -// // Example sending a request using the DescribeMaintenanceWindowExecutionTaskInvocationsRequest method. -// req, resp := client.DescribeMaintenanceWindowExecutionTaskInvocationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTaskInvocations func (c *SSM) DescribeMaintenanceWindowExecutionTaskInvocationsRequest(input *DescribeMaintenanceWindowExecutionTaskInvocationsInput) (req *request.Request, output *DescribeMaintenanceWindowExecutionTaskInvocationsOutput) { @@ -5095,16 +5077,17 @@ func (c *SSM) DescribeMaintenanceWindowExecutionTaskInvocationsRequest(input *De // API operation DescribeMaintenanceWindowExecutionTaskInvocations for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. // -// * InternalServerError -// An error occurred on the server side. +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTaskInvocations func (c *SSM) DescribeMaintenanceWindowExecutionTaskInvocations(input *DescribeMaintenanceWindowExecutionTaskInvocationsInput) (*DescribeMaintenanceWindowExecutionTaskInvocationsOutput, error) { @@ -5136,15 +5119,14 @@ func (c *SSM) DescribeMaintenanceWindowExecutionTaskInvocationsWithContext(ctx a // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeMaintenanceWindowExecutionTaskInvocations operation. -// pageNum := 0 -// err := client.DescribeMaintenanceWindowExecutionTaskInvocationsPages(params, -// func(page *ssm.DescribeMaintenanceWindowExecutionTaskInvocationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeMaintenanceWindowExecutionTaskInvocations operation. +// pageNum := 0 +// err := client.DescribeMaintenanceWindowExecutionTaskInvocationsPages(params, +// func(page *ssm.DescribeMaintenanceWindowExecutionTaskInvocationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeMaintenanceWindowExecutionTaskInvocationsPages(input *DescribeMaintenanceWindowExecutionTaskInvocationsInput, fn func(*DescribeMaintenanceWindowExecutionTaskInvocationsOutput, bool) bool) error { return c.DescribeMaintenanceWindowExecutionTaskInvocationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5196,14 +5178,13 @@ const opDescribeMaintenanceWindowExecutionTasks = "DescribeMaintenanceWindowExec // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMaintenanceWindowExecutionTasksRequest method. +// req, resp := client.DescribeMaintenanceWindowExecutionTasksRequest(params) // -// // Example sending a request using the DescribeMaintenanceWindowExecutionTasksRequest method. -// req, resp := client.DescribeMaintenanceWindowExecutionTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTasks func (c *SSM) DescribeMaintenanceWindowExecutionTasksRequest(input *DescribeMaintenanceWindowExecutionTasksInput) (req *request.Request, output *DescribeMaintenanceWindowExecutionTasksOutput) { @@ -5240,16 +5221,17 @@ func (c *SSM) DescribeMaintenanceWindowExecutionTasksRequest(input *DescribeMain // API operation DescribeMaintenanceWindowExecutionTasks for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. // -// * InternalServerError -// An error occurred on the server side. +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutionTasks func (c *SSM) DescribeMaintenanceWindowExecutionTasks(input *DescribeMaintenanceWindowExecutionTasksInput) (*DescribeMaintenanceWindowExecutionTasksOutput, error) { @@ -5281,15 +5263,14 @@ func (c *SSM) DescribeMaintenanceWindowExecutionTasksWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeMaintenanceWindowExecutionTasks operation. -// pageNum := 0 -// err := client.DescribeMaintenanceWindowExecutionTasksPages(params, -// func(page *ssm.DescribeMaintenanceWindowExecutionTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeMaintenanceWindowExecutionTasks operation. +// pageNum := 0 +// err := client.DescribeMaintenanceWindowExecutionTasksPages(params, +// func(page *ssm.DescribeMaintenanceWindowExecutionTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeMaintenanceWindowExecutionTasksPages(input *DescribeMaintenanceWindowExecutionTasksInput, fn func(*DescribeMaintenanceWindowExecutionTasksOutput, bool) bool) error { return c.DescribeMaintenanceWindowExecutionTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5341,14 +5322,13 @@ const opDescribeMaintenanceWindowExecutions = "DescribeMaintenanceWindowExecutio // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMaintenanceWindowExecutionsRequest method. +// req, resp := client.DescribeMaintenanceWindowExecutionsRequest(params) // -// // Example sending a request using the DescribeMaintenanceWindowExecutionsRequest method. -// req, resp := client.DescribeMaintenanceWindowExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutions func (c *SSM) DescribeMaintenanceWindowExecutionsRequest(input *DescribeMaintenanceWindowExecutionsInput) (req *request.Request, output *DescribeMaintenanceWindowExecutionsOutput) { @@ -5387,8 +5367,8 @@ func (c *SSM) DescribeMaintenanceWindowExecutionsRequest(input *DescribeMaintena // API operation DescribeMaintenanceWindowExecutions for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowExecutions func (c *SSM) DescribeMaintenanceWindowExecutions(input *DescribeMaintenanceWindowExecutionsInput) (*DescribeMaintenanceWindowExecutionsOutput, error) { @@ -5420,15 +5400,14 @@ func (c *SSM) DescribeMaintenanceWindowExecutionsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeMaintenanceWindowExecutions operation. -// pageNum := 0 -// err := client.DescribeMaintenanceWindowExecutionsPages(params, -// func(page *ssm.DescribeMaintenanceWindowExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeMaintenanceWindowExecutions operation. +// pageNum := 0 +// err := client.DescribeMaintenanceWindowExecutionsPages(params, +// func(page *ssm.DescribeMaintenanceWindowExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeMaintenanceWindowExecutionsPages(input *DescribeMaintenanceWindowExecutionsInput, fn func(*DescribeMaintenanceWindowExecutionsOutput, bool) bool) error { return c.DescribeMaintenanceWindowExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5480,14 +5459,13 @@ const opDescribeMaintenanceWindowSchedule = "DescribeMaintenanceWindowSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMaintenanceWindowScheduleRequest method. +// req, resp := client.DescribeMaintenanceWindowScheduleRequest(params) // -// // Example sending a request using the DescribeMaintenanceWindowScheduleRequest method. -// req, resp := client.DescribeMaintenanceWindowScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowSchedule func (c *SSM) DescribeMaintenanceWindowScheduleRequest(input *DescribeMaintenanceWindowScheduleInput) (req *request.Request, output *DescribeMaintenanceWindowScheduleOutput) { @@ -5524,16 +5502,17 @@ func (c *SSM) DescribeMaintenanceWindowScheduleRequest(input *DescribeMaintenanc // API operation DescribeMaintenanceWindowSchedule for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. +// - InternalServerError +// An error occurred on the server side. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. +// +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowSchedule func (c *SSM) DescribeMaintenanceWindowSchedule(input *DescribeMaintenanceWindowScheduleInput) (*DescribeMaintenanceWindowScheduleOutput, error) { @@ -5565,15 +5544,14 @@ func (c *SSM) DescribeMaintenanceWindowScheduleWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeMaintenanceWindowSchedule operation. -// pageNum := 0 -// err := client.DescribeMaintenanceWindowSchedulePages(params, -// func(page *ssm.DescribeMaintenanceWindowScheduleOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeMaintenanceWindowSchedule operation. +// pageNum := 0 +// err := client.DescribeMaintenanceWindowSchedulePages(params, +// func(page *ssm.DescribeMaintenanceWindowScheduleOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeMaintenanceWindowSchedulePages(input *DescribeMaintenanceWindowScheduleInput, fn func(*DescribeMaintenanceWindowScheduleOutput, bool) bool) error { return c.DescribeMaintenanceWindowSchedulePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5625,14 +5603,13 @@ const opDescribeMaintenanceWindowTargets = "DescribeMaintenanceWindowTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMaintenanceWindowTargetsRequest method. +// req, resp := client.DescribeMaintenanceWindowTargetsRequest(params) // -// // Example sending a request using the DescribeMaintenanceWindowTargetsRequest method. -// req, resp := client.DescribeMaintenanceWindowTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTargets func (c *SSM) DescribeMaintenanceWindowTargetsRequest(input *DescribeMaintenanceWindowTargetsInput) (req *request.Request, output *DescribeMaintenanceWindowTargetsOutput) { @@ -5669,16 +5646,17 @@ func (c *SSM) DescribeMaintenanceWindowTargetsRequest(input *DescribeMaintenance // API operation DescribeMaintenanceWindowTargets for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. +// +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTargets func (c *SSM) DescribeMaintenanceWindowTargets(input *DescribeMaintenanceWindowTargetsInput) (*DescribeMaintenanceWindowTargetsOutput, error) { @@ -5710,15 +5688,14 @@ func (c *SSM) DescribeMaintenanceWindowTargetsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeMaintenanceWindowTargets operation. -// pageNum := 0 -// err := client.DescribeMaintenanceWindowTargetsPages(params, -// func(page *ssm.DescribeMaintenanceWindowTargetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeMaintenanceWindowTargets operation. +// pageNum := 0 +// err := client.DescribeMaintenanceWindowTargetsPages(params, +// func(page *ssm.DescribeMaintenanceWindowTargetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeMaintenanceWindowTargetsPages(input *DescribeMaintenanceWindowTargetsInput, fn func(*DescribeMaintenanceWindowTargetsOutput, bool) bool) error { return c.DescribeMaintenanceWindowTargetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5770,14 +5747,13 @@ const opDescribeMaintenanceWindowTasks = "DescribeMaintenanceWindowTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMaintenanceWindowTasksRequest method. +// req, resp := client.DescribeMaintenanceWindowTasksRequest(params) // -// // Example sending a request using the DescribeMaintenanceWindowTasksRequest method. -// req, resp := client.DescribeMaintenanceWindowTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasks func (c *SSM) DescribeMaintenanceWindowTasksRequest(input *DescribeMaintenanceWindowTasksInput) (req *request.Request, output *DescribeMaintenanceWindowTasksOutput) { @@ -5819,16 +5795,17 @@ func (c *SSM) DescribeMaintenanceWindowTasksRequest(input *DescribeMaintenanceWi // API operation DescribeMaintenanceWindowTasks for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. +// +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowTasks func (c *SSM) DescribeMaintenanceWindowTasks(input *DescribeMaintenanceWindowTasksInput) (*DescribeMaintenanceWindowTasksOutput, error) { @@ -5860,15 +5837,14 @@ func (c *SSM) DescribeMaintenanceWindowTasksWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeMaintenanceWindowTasks operation. -// pageNum := 0 -// err := client.DescribeMaintenanceWindowTasksPages(params, -// func(page *ssm.DescribeMaintenanceWindowTasksOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeMaintenanceWindowTasks operation. +// pageNum := 0 +// err := client.DescribeMaintenanceWindowTasksPages(params, +// func(page *ssm.DescribeMaintenanceWindowTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeMaintenanceWindowTasksPages(input *DescribeMaintenanceWindowTasksInput, fn func(*DescribeMaintenanceWindowTasksOutput, bool) bool) error { return c.DescribeMaintenanceWindowTasksPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5920,14 +5896,13 @@ const opDescribeMaintenanceWindows = "DescribeMaintenanceWindows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMaintenanceWindowsRequest method. +// req, resp := client.DescribeMaintenanceWindowsRequest(params) // -// // Example sending a request using the DescribeMaintenanceWindowsRequest method. -// req, resp := client.DescribeMaintenanceWindowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindows func (c *SSM) DescribeMaintenanceWindowsRequest(input *DescribeMaintenanceWindowsInput) (req *request.Request, output *DescribeMaintenanceWindowsOutput) { @@ -5964,8 +5939,8 @@ func (c *SSM) DescribeMaintenanceWindowsRequest(input *DescribeMaintenanceWindow // API operation DescribeMaintenanceWindows for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindows func (c *SSM) DescribeMaintenanceWindows(input *DescribeMaintenanceWindowsInput) (*DescribeMaintenanceWindowsOutput, error) { @@ -5997,15 +5972,14 @@ func (c *SSM) DescribeMaintenanceWindowsWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeMaintenanceWindows operation. -// pageNum := 0 -// err := client.DescribeMaintenanceWindowsPages(params, -// func(page *ssm.DescribeMaintenanceWindowsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeMaintenanceWindows operation. +// pageNum := 0 +// err := client.DescribeMaintenanceWindowsPages(params, +// func(page *ssm.DescribeMaintenanceWindowsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeMaintenanceWindowsPages(input *DescribeMaintenanceWindowsInput, fn func(*DescribeMaintenanceWindowsOutput, bool) bool) error { return c.DescribeMaintenanceWindowsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6057,14 +6031,13 @@ const opDescribeMaintenanceWindowsForTarget = "DescribeMaintenanceWindowsForTarg // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMaintenanceWindowsForTargetRequest method. +// req, resp := client.DescribeMaintenanceWindowsForTargetRequest(params) // -// // Example sending a request using the DescribeMaintenanceWindowsForTargetRequest method. -// req, resp := client.DescribeMaintenanceWindowsForTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowsForTarget func (c *SSM) DescribeMaintenanceWindowsForTargetRequest(input *DescribeMaintenanceWindowsForTargetInput) (req *request.Request, output *DescribeMaintenanceWindowsForTargetOutput) { @@ -6102,8 +6075,8 @@ func (c *SSM) DescribeMaintenanceWindowsForTargetRequest(input *DescribeMaintena // API operation DescribeMaintenanceWindowsForTarget for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeMaintenanceWindowsForTarget func (c *SSM) DescribeMaintenanceWindowsForTarget(input *DescribeMaintenanceWindowsForTargetInput) (*DescribeMaintenanceWindowsForTargetOutput, error) { @@ -6135,15 +6108,14 @@ func (c *SSM) DescribeMaintenanceWindowsForTargetWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeMaintenanceWindowsForTarget operation. -// pageNum := 0 -// err := client.DescribeMaintenanceWindowsForTargetPages(params, -// func(page *ssm.DescribeMaintenanceWindowsForTargetOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeMaintenanceWindowsForTarget operation. +// pageNum := 0 +// err := client.DescribeMaintenanceWindowsForTargetPages(params, +// func(page *ssm.DescribeMaintenanceWindowsForTargetOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeMaintenanceWindowsForTargetPages(input *DescribeMaintenanceWindowsForTargetInput, fn func(*DescribeMaintenanceWindowsForTargetOutput, bool) bool) error { return c.DescribeMaintenanceWindowsForTargetPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6195,14 +6167,13 @@ const opDescribeOpsItems = "DescribeOpsItems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOpsItemsRequest method. +// req, resp := client.DescribeOpsItemsRequest(params) // -// // Example sending a request using the DescribeOpsItemsRequest method. -// req, resp := client.DescribeOpsItemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeOpsItems func (c *SSM) DescribeOpsItemsRequest(input *DescribeOpsItemsInput) (req *request.Request, output *DescribeOpsItemsOutput) { @@ -6248,8 +6219,8 @@ func (c *SSM) DescribeOpsItemsRequest(input *DescribeOpsItemsInput) (req *reques // API operation DescribeOpsItems for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeOpsItems func (c *SSM) DescribeOpsItems(input *DescribeOpsItemsInput) (*DescribeOpsItemsOutput, error) { @@ -6281,15 +6252,14 @@ func (c *SSM) DescribeOpsItemsWithContext(ctx aws.Context, input *DescribeOpsIte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeOpsItems operation. -// pageNum := 0 -// err := client.DescribeOpsItemsPages(params, -// func(page *ssm.DescribeOpsItemsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeOpsItems operation. +// pageNum := 0 +// err := client.DescribeOpsItemsPages(params, +// func(page *ssm.DescribeOpsItemsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeOpsItemsPages(input *DescribeOpsItemsInput, fn func(*DescribeOpsItemsOutput, bool) bool) error { return c.DescribeOpsItemsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6341,14 +6311,13 @@ const opDescribeParameters = "DescribeParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeParametersRequest method. +// req, resp := client.DescribeParametersRequest(params) // -// // Example sending a request using the DescribeParametersRequest method. -// req, resp := client.DescribeParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParameters func (c *SSM) DescribeParametersRequest(input *DescribeParametersInput) (req *request.Request, output *DescribeParametersOutput) { @@ -6398,21 +6367,22 @@ func (c *SSM) DescribeParametersRequest(input *DescribeParametersInput) (req *re // API operation DescribeParameters for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidFilterKey -// The specified key isn't valid. +// - InternalServerError +// An error occurred on the server side. // -// * InvalidFilterOption -// The specified filter option isn't valid. Valid options are Equals and BeginsWith. -// For Path filter, valid options are Recursive and OneLevel. +// - InvalidFilterKey +// The specified key isn't valid. // -// * InvalidFilterValue -// The filter value isn't valid. Verify the value and try again. +// - InvalidFilterOption +// The specified filter option isn't valid. Valid options are Equals and BeginsWith. +// For Path filter, valid options are Recursive and OneLevel. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidFilterValue +// The filter value isn't valid. Verify the value and try again. +// +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeParameters func (c *SSM) DescribeParameters(input *DescribeParametersInput) (*DescribeParametersOutput, error) { @@ -6444,15 +6414,14 @@ func (c *SSM) DescribeParametersWithContext(ctx aws.Context, input *DescribePara // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeParameters operation. -// pageNum := 0 -// err := client.DescribeParametersPages(params, -// func(page *ssm.DescribeParametersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeParameters operation. +// pageNum := 0 +// err := client.DescribeParametersPages(params, +// func(page *ssm.DescribeParametersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeParametersPages(input *DescribeParametersInput, fn func(*DescribeParametersOutput, bool) bool) error { return c.DescribeParametersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6504,14 +6473,13 @@ const opDescribePatchBaselines = "DescribePatchBaselines" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePatchBaselinesRequest method. +// req, resp := client.DescribePatchBaselinesRequest(params) // -// // Example sending a request using the DescribePatchBaselinesRequest method. -// req, resp := client.DescribePatchBaselinesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchBaselines func (c *SSM) DescribePatchBaselinesRequest(input *DescribePatchBaselinesInput) (req *request.Request, output *DescribePatchBaselinesOutput) { @@ -6548,8 +6516,8 @@ func (c *SSM) DescribePatchBaselinesRequest(input *DescribePatchBaselinesInput) // API operation DescribePatchBaselines for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchBaselines func (c *SSM) DescribePatchBaselines(input *DescribePatchBaselinesInput) (*DescribePatchBaselinesOutput, error) { @@ -6581,15 +6549,14 @@ func (c *SSM) DescribePatchBaselinesWithContext(ctx aws.Context, input *Describe // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePatchBaselines operation. -// pageNum := 0 -// err := client.DescribePatchBaselinesPages(params, -// func(page *ssm.DescribePatchBaselinesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePatchBaselines operation. +// pageNum := 0 +// err := client.DescribePatchBaselinesPages(params, +// func(page *ssm.DescribePatchBaselinesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribePatchBaselinesPages(input *DescribePatchBaselinesInput, fn func(*DescribePatchBaselinesOutput, bool) bool) error { return c.DescribePatchBaselinesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6641,14 +6608,13 @@ const opDescribePatchGroupState = "DescribePatchGroupState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePatchGroupStateRequest method. +// req, resp := client.DescribePatchGroupStateRequest(params) // -// // Example sending a request using the DescribePatchGroupStateRequest method. -// req, resp := client.DescribePatchGroupStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupState func (c *SSM) DescribePatchGroupStateRequest(input *DescribePatchGroupStateInput) (req *request.Request, output *DescribePatchGroupStateOutput) { @@ -6680,11 +6646,12 @@ func (c *SSM) DescribePatchGroupStateRequest(input *DescribePatchGroupStateInput // API operation DescribePatchGroupState for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidNextToken -// The specified token isn't valid. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroupState func (c *SSM) DescribePatchGroupState(input *DescribePatchGroupStateInput) (*DescribePatchGroupStateOutput, error) { @@ -6724,14 +6691,13 @@ const opDescribePatchGroups = "DescribePatchGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePatchGroupsRequest method. +// req, resp := client.DescribePatchGroupsRequest(params) // -// // Example sending a request using the DescribePatchGroupsRequest method. -// req, resp := client.DescribePatchGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroups func (c *SSM) DescribePatchGroupsRequest(input *DescribePatchGroupsInput) (req *request.Request, output *DescribePatchGroupsOutput) { @@ -6768,8 +6734,8 @@ func (c *SSM) DescribePatchGroupsRequest(input *DescribePatchGroupsInput) (req * // API operation DescribePatchGroups for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchGroups func (c *SSM) DescribePatchGroups(input *DescribePatchGroupsInput) (*DescribePatchGroupsOutput, error) { @@ -6801,15 +6767,14 @@ func (c *SSM) DescribePatchGroupsWithContext(ctx aws.Context, input *DescribePat // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePatchGroups operation. -// pageNum := 0 -// err := client.DescribePatchGroupsPages(params, -// func(page *ssm.DescribePatchGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePatchGroups operation. +// pageNum := 0 +// err := client.DescribePatchGroupsPages(params, +// func(page *ssm.DescribePatchGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribePatchGroupsPages(input *DescribePatchGroupsInput, fn func(*DescribePatchGroupsOutput, bool) bool) error { return c.DescribePatchGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6861,14 +6826,13 @@ const opDescribePatchProperties = "DescribePatchProperties" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePatchPropertiesRequest method. +// req, resp := client.DescribePatchPropertiesRequest(params) // -// // Example sending a request using the DescribePatchPropertiesRequest method. -// req, resp := client.DescribePatchPropertiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchProperties func (c *SSM) DescribePatchPropertiesRequest(input *DescribePatchPropertiesInput) (req *request.Request, output *DescribePatchPropertiesOutput) { @@ -6912,15 +6876,15 @@ func (c *SSM) DescribePatchPropertiesRequest(input *DescribePatchPropertiesInput // // Valid properties: PRODUCT | CLASSIFICATION | SEVERITY // -// CENTOS +// # CENTOS // // Valid properties: PRODUCT | CLASSIFICATION | SEVERITY // -// DEBIAN +// # DEBIAN // // Valid properties: PRODUCT | PRIORITY // -// MACOS +// # MACOS // // Valid properties: PRODUCT | CLASSIFICATION // @@ -6932,15 +6896,15 @@ func (c *SSM) DescribePatchPropertiesRequest(input *DescribePatchPropertiesInput // // Valid properties: PRODUCT | CLASSIFICATION | SEVERITY // -// SUSE +// # SUSE // // Valid properties: PRODUCT | CLASSIFICATION | SEVERITY // -// UBUNTU +// # UBUNTU // // Valid properties: PRODUCT | PRIORITY // -// WINDOWS +// # WINDOWS // // Valid properties: PRODUCT | PRODUCT_FAMILY | CLASSIFICATION | MSRC_SEVERITY // @@ -6952,8 +6916,8 @@ func (c *SSM) DescribePatchPropertiesRequest(input *DescribePatchPropertiesInput // API operation DescribePatchProperties for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribePatchProperties func (c *SSM) DescribePatchProperties(input *DescribePatchPropertiesInput) (*DescribePatchPropertiesOutput, error) { @@ -6985,15 +6949,14 @@ func (c *SSM) DescribePatchPropertiesWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribePatchProperties operation. -// pageNum := 0 -// err := client.DescribePatchPropertiesPages(params, -// func(page *ssm.DescribePatchPropertiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribePatchProperties operation. +// pageNum := 0 +// err := client.DescribePatchPropertiesPages(params, +// func(page *ssm.DescribePatchPropertiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribePatchPropertiesPages(input *DescribePatchPropertiesInput, fn func(*DescribePatchPropertiesOutput, bool) bool) error { return c.DescribePatchPropertiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7045,14 +7008,13 @@ const opDescribeSessions = "DescribeSessions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSessionsRequest method. +// req, resp := client.DescribeSessionsRequest(params) // -// // Example sending a request using the DescribeSessionsRequest method. -// req, resp := client.DescribeSessionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeSessions func (c *SSM) DescribeSessionsRequest(input *DescribeSessionsInput) (req *request.Request, output *DescribeSessionsOutput) { @@ -7090,14 +7052,15 @@ func (c *SSM) DescribeSessionsRequest(input *DescribeSessionsInput) (req *reques // API operation DescribeSessions for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidFilterKey -// The specified key isn't valid. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidFilterKey +// The specified key isn't valid. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DescribeSessions func (c *SSM) DescribeSessions(input *DescribeSessionsInput) (*DescribeSessionsOutput, error) { @@ -7129,15 +7092,14 @@ func (c *SSM) DescribeSessionsWithContext(ctx aws.Context, input *DescribeSessio // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeSessions operation. -// pageNum := 0 -// err := client.DescribeSessionsPages(params, -// func(page *ssm.DescribeSessionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeSessions operation. +// pageNum := 0 +// err := client.DescribeSessionsPages(params, +// func(page *ssm.DescribeSessionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) DescribeSessionsPages(input *DescribeSessionsInput, fn func(*DescribeSessionsOutput, bool) bool) error { return c.DescribeSessionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -7189,14 +7151,13 @@ const opDisassociateOpsItemRelatedItem = "DisassociateOpsItemRelatedItem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateOpsItemRelatedItemRequest method. +// req, resp := client.DisassociateOpsItemRelatedItemRequest(params) // -// // Example sending a request using the DisassociateOpsItemRelatedItemRequest method. -// req, resp := client.DisassociateOpsItemRelatedItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DisassociateOpsItemRelatedItem func (c *SSM) DisassociateOpsItemRelatedItemRequest(input *DisassociateOpsItemRelatedItemInput) (req *request.Request, output *DisassociateOpsItemRelatedItemOutput) { @@ -7230,19 +7191,20 @@ func (c *SSM) DisassociateOpsItemRelatedItemRequest(input *DisassociateOpsItemRe // API operation DisassociateOpsItemRelatedItem for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * OpsItemRelatedItemAssociationNotFoundException -// The association wasn't found using the parameters you specified in the call. -// Verify the information and try again. +// - InternalServerError +// An error occurred on the server side. +// +// - OpsItemRelatedItemAssociationNotFoundException +// The association wasn't found using the parameters you specified in the call. +// Verify the information and try again. // -// * OpsItemNotFoundException -// The specified OpsItem ID doesn't exist. Verify the ID and try again. +// - OpsItemNotFoundException +// The specified OpsItem ID doesn't exist. Verify the ID and try again. // -// * OpsItemInvalidParameterException -// A specified parameter argument isn't valid. Verify the available arguments -// and try again. +// - OpsItemInvalidParameterException +// A specified parameter argument isn't valid. Verify the available arguments +// and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DisassociateOpsItemRelatedItem func (c *SSM) DisassociateOpsItemRelatedItem(input *DisassociateOpsItemRelatedItemInput) (*DisassociateOpsItemRelatedItemOutput, error) { @@ -7282,14 +7244,13 @@ const opGetAutomationExecution = "GetAutomationExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAutomationExecutionRequest method. +// req, resp := client.GetAutomationExecutionRequest(params) // -// // Example sending a request using the GetAutomationExecutionRequest method. -// req, resp := client.GetAutomationExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecution func (c *SSM) GetAutomationExecutionRequest(input *GetAutomationExecutionInput) (req *request.Request, output *GetAutomationExecutionOutput) { @@ -7320,12 +7281,13 @@ func (c *SSM) GetAutomationExecutionRequest(input *GetAutomationExecutionInput) // API operation GetAutomationExecution for usage and error information. // // Returned Error Types: -// * AutomationExecutionNotFoundException -// There is no automation execution information for the requested automation -// execution ID. // -// * InternalServerError -// An error occurred on the server side. +// - AutomationExecutionNotFoundException +// There is no automation execution information for the requested automation +// execution ID. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetAutomationExecution func (c *SSM) GetAutomationExecution(input *GetAutomationExecutionInput) (*GetAutomationExecutionOutput, error) { @@ -7365,14 +7327,13 @@ const opGetCalendarState = "GetCalendarState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCalendarStateRequest method. +// req, resp := client.GetCalendarStateRequest(params) // -// // Example sending a request using the GetCalendarStateRequest method. -// req, resp := client.GetCalendarStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCalendarState func (c *SSM) GetCalendarStateRequest(input *GetCalendarStateInput) (req *request.Request, output *GetCalendarStateOutput) { @@ -7417,18 +7378,19 @@ func (c *SSM) GetCalendarStateRequest(input *GetCalendarStateInput) (req *reques // API operation GetCalendarState for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidDocumentType -// The SSM document type isn't valid. Valid document types are described in -// the DocumentType property. +// - InvalidDocumentType +// The SSM document type isn't valid. Valid document types are described in +// the DocumentType property. // -// * UnsupportedCalendarException -// The calendar entry contained in the specified SSM document isn't supported. +// - UnsupportedCalendarException +// The calendar entry contained in the specified SSM document isn't supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCalendarState func (c *SSM) GetCalendarState(input *GetCalendarStateInput) (*GetCalendarStateOutput, error) { @@ -7468,14 +7430,13 @@ const opGetCommandInvocation = "GetCommandInvocation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCommandInvocationRequest method. +// req, resp := client.GetCommandInvocationRequest(params) // -// // Example sending a request using the GetCommandInvocationRequest method. -// req, resp := client.GetCommandInvocationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocation func (c *SSM) GetCommandInvocationRequest(input *GetCommandInvocationInput) (req *request.Request, output *GetCommandInvocationOutput) { @@ -7511,32 +7472,33 @@ func (c *SSM) GetCommandInvocationRequest(input *GetCommandInvocationInput) (req // API operation GetCommandInvocation for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidCommandId -// The specified command ID isn't valid. Verify the ID and try again. +// - InternalServerError +// An error occurred on the server side. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InvalidCommandId +// The specified command ID isn't valid. Verify the ID and try again. // -// * You don't have permission to access the managed node. +// - InvalidInstanceId +// The following problems can cause this exception: // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - You don't have permission to access the managed node. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * InvalidPluginName -// The plugin name isn't valid. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. // -// * InvocationDoesNotExist -// The command ID and managed node ID you specified didn't match any invocations. -// Verify the command ID and the managed node ID and try again. +// - InvalidPluginName +// The plugin name isn't valid. +// +// - InvocationDoesNotExist +// The command ID and managed node ID you specified didn't match any invocations. +// Verify the command ID and the managed node ID and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetCommandInvocation func (c *SSM) GetCommandInvocation(input *GetCommandInvocationInput) (*GetCommandInvocationOutput, error) { @@ -7576,14 +7538,13 @@ const opGetConnectionStatus = "GetConnectionStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetConnectionStatusRequest method. +// req, resp := client.GetConnectionStatusRequest(params) // -// // Example sending a request using the GetConnectionStatusRequest method. -// req, resp := client.GetConnectionStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetConnectionStatus func (c *SSM) GetConnectionStatusRequest(input *GetConnectionStatusInput) (req *request.Request, output *GetConnectionStatusOutput) { @@ -7615,8 +7576,8 @@ func (c *SSM) GetConnectionStatusRequest(input *GetConnectionStatusInput) (req * // API operation GetConnectionStatus for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetConnectionStatus func (c *SSM) GetConnectionStatus(input *GetConnectionStatusInput) (*GetConnectionStatusOutput, error) { @@ -7656,14 +7617,13 @@ const opGetDefaultPatchBaseline = "GetDefaultPatchBaseline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDefaultPatchBaselineRequest method. +// req, resp := client.GetDefaultPatchBaselineRequest(params) // -// // Example sending a request using the GetDefaultPatchBaselineRequest method. -// req, resp := client.GetDefaultPatchBaselineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline func (c *SSM) GetDefaultPatchBaselineRequest(input *GetDefaultPatchBaselineInput) (req *request.Request, output *GetDefaultPatchBaselineOutput) { @@ -7699,8 +7659,8 @@ func (c *SSM) GetDefaultPatchBaselineRequest(input *GetDefaultPatchBaselineInput // API operation GetDefaultPatchBaseline for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDefaultPatchBaseline func (c *SSM) GetDefaultPatchBaseline(input *GetDefaultPatchBaselineInput) (*GetDefaultPatchBaselineOutput, error) { @@ -7740,14 +7700,13 @@ const opGetDeployablePatchSnapshotForInstance = "GetDeployablePatchSnapshotForIn // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDeployablePatchSnapshotForInstanceRequest method. +// req, resp := client.GetDeployablePatchSnapshotForInstanceRequest(params) // -// // Example sending a request using the GetDeployablePatchSnapshotForInstanceRequest method. -// req, resp := client.GetDeployablePatchSnapshotForInstanceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstance func (c *SSM) GetDeployablePatchSnapshotForInstanceRequest(input *GetDeployablePatchSnapshotForInstanceInput) (req *request.Request, output *GetDeployablePatchSnapshotForInstanceOutput) { @@ -7788,19 +7747,20 @@ func (c *SSM) GetDeployablePatchSnapshotForInstanceRequest(input *GetDeployableP // API operation GetDeployablePatchSnapshotForInstance for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * UnsupportedOperatingSystem -// The operating systems you specified isn't supported, or the operation isn't -// supported for the operating system. +// - InternalServerError +// An error occurred on the server side. +// +// - UnsupportedOperatingSystem +// The operating systems you specified isn't supported, or the operation isn't +// supported for the operating system. // -// * UnsupportedFeatureRequiredException -// Patching for applications released by Microsoft is only available on EC2 -// instances and advanced instances. To patch applications released by Microsoft -// on on-premises servers and VMs, you must enable advanced instances. For more -// information, see Enabling the advanced-instances tier (https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-managedinstances-advanced.html) -// in the Amazon Web Services Systems Manager User Guide. +// - UnsupportedFeatureRequiredException +// Patching for applications released by Microsoft is only available on EC2 +// instances and advanced instances. To patch applications released by Microsoft +// on on-premises servers and VMs, you must enable advanced instances. For more +// information, see Enabling the advanced-instances tier (https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-managedinstances-advanced.html) +// in the Amazon Web Services Systems Manager User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDeployablePatchSnapshotForInstance func (c *SSM) GetDeployablePatchSnapshotForInstance(input *GetDeployablePatchSnapshotForInstanceInput) (*GetDeployablePatchSnapshotForInstanceOutput, error) { @@ -7840,14 +7800,13 @@ const opGetDocument = "GetDocument" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDocumentRequest method. +// req, resp := client.GetDocumentRequest(params) // -// // Example sending a request using the GetDocumentRequest method. -// req, resp := client.GetDocumentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocument func (c *SSM) GetDocumentRequest(input *GetDocumentInput) (req *request.Request, output *GetDocumentOutput) { @@ -7879,14 +7838,15 @@ func (c *SSM) GetDocumentRequest(input *GetDocumentInput) (req *request.Request, // API operation GetDocument for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidDocumentVersion -// The document version isn't valid or doesn't exist. +// - InvalidDocumentVersion +// The document version isn't valid or doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetDocument func (c *SSM) GetDocument(input *GetDocumentInput) (*GetDocumentOutput, error) { @@ -7926,14 +7886,13 @@ const opGetInventory = "GetInventory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInventoryRequest method. +// req, resp := client.GetInventoryRequest(params) // -// // Example sending a request using the GetInventoryRequest method. -// req, resp := client.GetInventoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventory func (c *SSM) GetInventoryRequest(input *GetInventoryInput) (req *request.Request, output *GetInventoryOutput) { @@ -7971,28 +7930,29 @@ func (c *SSM) GetInventoryRequest(input *GetInventoryInput) (req *request.Reques // API operation GetInventory for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidFilter -// The filter name isn't valid. Verify the you entered the correct name and -// try again. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidFilter +// The filter name isn't valid. Verify the you entered the correct name and +// try again. // -// * InvalidInventoryGroupException -// The specified inventory group isn't valid. +// - InvalidInventoryGroupException +// The specified inventory group isn't valid. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // -// * InvalidTypeNameException -// The parameter type name isn't valid. +// - InvalidTypeNameException +// The parameter type name isn't valid. // -// * InvalidAggregatorException -// The specified aggregator isn't valid for inventory groups. Verify that the -// aggregator uses a valid inventory type such as AWS:Application or AWS:InstanceInformation. +// - InvalidAggregatorException +// The specified aggregator isn't valid for inventory groups. Verify that the +// aggregator uses a valid inventory type such as AWS:Application or AWS:InstanceInformation. // -// * InvalidResultAttributeException -// The specified inventory item result attribute isn't valid. +// - InvalidResultAttributeException +// The specified inventory item result attribute isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventory func (c *SSM) GetInventory(input *GetInventoryInput) (*GetInventoryOutput, error) { @@ -8024,15 +7984,14 @@ func (c *SSM) GetInventoryWithContext(ctx aws.Context, input *GetInventoryInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetInventory operation. -// pageNum := 0 -// err := client.GetInventoryPages(params, -// func(page *ssm.GetInventoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetInventory operation. +// pageNum := 0 +// err := client.GetInventoryPages(params, +// func(page *ssm.GetInventoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) GetInventoryPages(input *GetInventoryInput, fn func(*GetInventoryOutput, bool) bool) error { return c.GetInventoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8084,14 +8043,13 @@ const opGetInventorySchema = "GetInventorySchema" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInventorySchemaRequest method. +// req, resp := client.GetInventorySchemaRequest(params) // -// // Example sending a request using the GetInventorySchemaRequest method. -// req, resp := client.GetInventorySchemaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchema func (c *SSM) GetInventorySchemaRequest(input *GetInventorySchemaInput) (req *request.Request, output *GetInventorySchemaOutput) { @@ -8129,14 +8087,15 @@ func (c *SSM) GetInventorySchemaRequest(input *GetInventorySchemaInput) (req *re // API operation GetInventorySchema for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidTypeNameException -// The parameter type name isn't valid. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidTypeNameException +// The parameter type name isn't valid. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetInventorySchema func (c *SSM) GetInventorySchema(input *GetInventorySchemaInput) (*GetInventorySchemaOutput, error) { @@ -8168,15 +8127,14 @@ func (c *SSM) GetInventorySchemaWithContext(ctx aws.Context, input *GetInventory // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetInventorySchema operation. -// pageNum := 0 -// err := client.GetInventorySchemaPages(params, -// func(page *ssm.GetInventorySchemaOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetInventorySchema operation. +// pageNum := 0 +// err := client.GetInventorySchemaPages(params, +// func(page *ssm.GetInventorySchemaOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) GetInventorySchemaPages(input *GetInventorySchemaInput, fn func(*GetInventorySchemaOutput, bool) bool) error { return c.GetInventorySchemaPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -8228,14 +8186,13 @@ const opGetMaintenanceWindow = "GetMaintenanceWindow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMaintenanceWindowRequest method. +// req, resp := client.GetMaintenanceWindowRequest(params) // -// // Example sending a request using the GetMaintenanceWindowRequest method. -// req, resp := client.GetMaintenanceWindowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindow func (c *SSM) GetMaintenanceWindowRequest(input *GetMaintenanceWindowInput) (req *request.Request, output *GetMaintenanceWindowOutput) { @@ -8266,16 +8223,17 @@ func (c *SSM) GetMaintenanceWindowRequest(input *GetMaintenanceWindowInput) (req // API operation GetMaintenanceWindow for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. // -// * InternalServerError -// An error occurred on the server side. +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindow func (c *SSM) GetMaintenanceWindow(input *GetMaintenanceWindowInput) (*GetMaintenanceWindowOutput, error) { @@ -8315,14 +8273,13 @@ const opGetMaintenanceWindowExecution = "GetMaintenanceWindowExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMaintenanceWindowExecutionRequest method. +// req, resp := client.GetMaintenanceWindowExecutionRequest(params) // -// // Example sending a request using the GetMaintenanceWindowExecutionRequest method. -// req, resp := client.GetMaintenanceWindowExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecution func (c *SSM) GetMaintenanceWindowExecutionRequest(input *GetMaintenanceWindowExecutionInput) (req *request.Request, output *GetMaintenanceWindowExecutionOutput) { @@ -8353,16 +8310,17 @@ func (c *SSM) GetMaintenanceWindowExecutionRequest(input *GetMaintenanceWindowEx // API operation GetMaintenanceWindowExecution for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. // -// * InternalServerError -// An error occurred on the server side. +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecution func (c *SSM) GetMaintenanceWindowExecution(input *GetMaintenanceWindowExecutionInput) (*GetMaintenanceWindowExecutionOutput, error) { @@ -8402,14 +8360,13 @@ const opGetMaintenanceWindowExecutionTask = "GetMaintenanceWindowExecutionTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMaintenanceWindowExecutionTaskRequest method. +// req, resp := client.GetMaintenanceWindowExecutionTaskRequest(params) // -// // Example sending a request using the GetMaintenanceWindowExecutionTaskRequest method. -// req, resp := client.GetMaintenanceWindowExecutionTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTask func (c *SSM) GetMaintenanceWindowExecutionTaskRequest(input *GetMaintenanceWindowExecutionTaskInput) (req *request.Request, output *GetMaintenanceWindowExecutionTaskOutput) { @@ -8441,16 +8398,17 @@ func (c *SSM) GetMaintenanceWindowExecutionTaskRequest(input *GetMaintenanceWind // API operation GetMaintenanceWindowExecutionTask for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. +// +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTask func (c *SSM) GetMaintenanceWindowExecutionTask(input *GetMaintenanceWindowExecutionTaskInput) (*GetMaintenanceWindowExecutionTaskOutput, error) { @@ -8490,14 +8448,13 @@ const opGetMaintenanceWindowExecutionTaskInvocation = "GetMaintenanceWindowExecu // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMaintenanceWindowExecutionTaskInvocationRequest method. +// req, resp := client.GetMaintenanceWindowExecutionTaskInvocationRequest(params) // -// // Example sending a request using the GetMaintenanceWindowExecutionTaskInvocationRequest method. -// req, resp := client.GetMaintenanceWindowExecutionTaskInvocationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocation func (c *SSM) GetMaintenanceWindowExecutionTaskInvocationRequest(input *GetMaintenanceWindowExecutionTaskInvocationInput) (req *request.Request, output *GetMaintenanceWindowExecutionTaskInvocationOutput) { @@ -8528,16 +8485,17 @@ func (c *SSM) GetMaintenanceWindowExecutionTaskInvocationRequest(input *GetMaint // API operation GetMaintenanceWindowExecutionTaskInvocation for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. +// +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowExecutionTaskInvocation func (c *SSM) GetMaintenanceWindowExecutionTaskInvocation(input *GetMaintenanceWindowExecutionTaskInvocationInput) (*GetMaintenanceWindowExecutionTaskInvocationOutput, error) { @@ -8577,14 +8535,13 @@ const opGetMaintenanceWindowTask = "GetMaintenanceWindowTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMaintenanceWindowTaskRequest method. +// req, resp := client.GetMaintenanceWindowTaskRequest(params) // -// // Example sending a request using the GetMaintenanceWindowTaskRequest method. -// req, resp := client.GetMaintenanceWindowTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTask func (c *SSM) GetMaintenanceWindowTaskRequest(input *GetMaintenanceWindowTaskInput) (req *request.Request, output *GetMaintenanceWindowTaskOutput) { @@ -8623,16 +8580,17 @@ func (c *SSM) GetMaintenanceWindowTaskRequest(input *GetMaintenanceWindowTaskInp // API operation GetMaintenanceWindowTask for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. +// +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetMaintenanceWindowTask func (c *SSM) GetMaintenanceWindowTask(input *GetMaintenanceWindowTaskInput) (*GetMaintenanceWindowTaskOutput, error) { @@ -8672,14 +8630,13 @@ const opGetOpsItem = "GetOpsItem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOpsItemRequest method. +// req, resp := client.GetOpsItemRequest(params) // -// // Example sending a request using the GetOpsItemRequest method. -// req, resp := client.GetOpsItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsItem func (c *SSM) GetOpsItemRequest(input *GetOpsItemInput) (req *request.Request, output *GetOpsItemOutput) { @@ -8719,11 +8676,12 @@ func (c *SSM) GetOpsItemRequest(input *GetOpsItemInput) (req *request.Request, o // API operation GetOpsItem for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * OpsItemNotFoundException -// The specified OpsItem ID doesn't exist. Verify the ID and try again. +// - InternalServerError +// An error occurred on the server side. +// +// - OpsItemNotFoundException +// The specified OpsItem ID doesn't exist. Verify the ID and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsItem func (c *SSM) GetOpsItem(input *GetOpsItemInput) (*GetOpsItemOutput, error) { @@ -8763,14 +8721,13 @@ const opGetOpsMetadata = "GetOpsMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOpsMetadataRequest method. +// req, resp := client.GetOpsMetadataRequest(params) // -// // Example sending a request using the GetOpsMetadataRequest method. -// req, resp := client.GetOpsMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsMetadata func (c *SSM) GetOpsMetadataRequest(input *GetOpsMetadataInput) (req *request.Request, output *GetOpsMetadataOutput) { @@ -8801,14 +8758,15 @@ func (c *SSM) GetOpsMetadataRequest(input *GetOpsMetadataInput) (req *request.Re // API operation GetOpsMetadata for usage and error information. // // Returned Error Types: -// * OpsMetadataNotFoundException -// The OpsMetadata object doesn't exist. // -// * OpsMetadataInvalidArgumentException -// One of the arguments passed is invalid. +// - OpsMetadataNotFoundException +// The OpsMetadata object doesn't exist. // -// * InternalServerError -// An error occurred on the server side. +// - OpsMetadataInvalidArgumentException +// One of the arguments passed is invalid. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsMetadata func (c *SSM) GetOpsMetadata(input *GetOpsMetadataInput) (*GetOpsMetadataOutput, error) { @@ -8848,14 +8806,13 @@ const opGetOpsSummary = "GetOpsSummary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetOpsSummaryRequest method. +// req, resp := client.GetOpsSummaryRequest(params) // -// // Example sending a request using the GetOpsSummaryRequest method. -// req, resp := client.GetOpsSummaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsSummary func (c *SSM) GetOpsSummaryRequest(input *GetOpsSummaryInput) (req *request.Request, output *GetOpsSummaryOutput) { @@ -8896,25 +8853,26 @@ func (c *SSM) GetOpsSummaryRequest(input *GetOpsSummaryInput) (req *request.Requ // API operation GetOpsSummary for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * ResourceDataSyncNotFoundException -// The specified sync name wasn't found. +// - InternalServerError +// An error occurred on the server side. +// +// - ResourceDataSyncNotFoundException +// The specified sync name wasn't found. // -// * InvalidFilter -// The filter name isn't valid. Verify the you entered the correct name and -// try again. +// - InvalidFilter +// The filter name isn't valid. Verify the you entered the correct name and +// try again. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // -// * InvalidTypeNameException -// The parameter type name isn't valid. +// - InvalidTypeNameException +// The parameter type name isn't valid. // -// * InvalidAggregatorException -// The specified aggregator isn't valid for inventory groups. Verify that the -// aggregator uses a valid inventory type such as AWS:Application or AWS:InstanceInformation. +// - InvalidAggregatorException +// The specified aggregator isn't valid for inventory groups. Verify that the +// aggregator uses a valid inventory type such as AWS:Application or AWS:InstanceInformation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetOpsSummary func (c *SSM) GetOpsSummary(input *GetOpsSummaryInput) (*GetOpsSummaryOutput, error) { @@ -8946,15 +8904,14 @@ func (c *SSM) GetOpsSummaryWithContext(ctx aws.Context, input *GetOpsSummaryInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetOpsSummary operation. -// pageNum := 0 -// err := client.GetOpsSummaryPages(params, -// func(page *ssm.GetOpsSummaryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetOpsSummary operation. +// pageNum := 0 +// err := client.GetOpsSummaryPages(params, +// func(page *ssm.GetOpsSummaryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) GetOpsSummaryPages(input *GetOpsSummaryInput, fn func(*GetOpsSummaryOutput, bool) bool) error { return c.GetOpsSummaryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9006,14 +8963,13 @@ const opGetParameter = "GetParameter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetParameterRequest method. +// req, resp := client.GetParameterRequest(params) // -// // Example sending a request using the GetParameterRequest method. -// req, resp := client.GetParameterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameter func (c *SSM) GetParameterRequest(input *GetParameterInput) (req *request.Request, output *GetParameterOutput) { @@ -9047,18 +9003,19 @@ func (c *SSM) GetParameterRequest(input *GetParameterInput) (req *request.Reques // API operation GetParameter for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidKeyId -// The query key ID isn't valid. +// - InternalServerError +// An error occurred on the server side. // -// * ParameterNotFound -// The parameter couldn't be found. Verify the name and try again. +// - InvalidKeyId +// The query key ID isn't valid. // -// * ParameterVersionNotFound -// The specified parameter version wasn't found. Verify the parameter name and -// version, and try again. +// - ParameterNotFound +// The parameter couldn't be found. Verify the name and try again. +// +// - ParameterVersionNotFound +// The specified parameter version wasn't found. Verify the parameter name and +// version, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameter func (c *SSM) GetParameter(input *GetParameterInput) (*GetParameterOutput, error) { @@ -9098,14 +9055,13 @@ const opGetParameterHistory = "GetParameterHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetParameterHistoryRequest method. +// req, resp := client.GetParameterHistoryRequest(params) // -// // Example sending a request using the GetParameterHistoryRequest method. -// req, resp := client.GetParameterHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistory func (c *SSM) GetParameterHistoryRequest(input *GetParameterHistoryInput) (req *request.Request, output *GetParameterHistoryOutput) { @@ -9147,17 +9103,18 @@ func (c *SSM) GetParameterHistoryRequest(input *GetParameterHistoryInput) (req * // API operation GetParameterHistory for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * ParameterNotFound -// The parameter couldn't be found. Verify the name and try again. +// - InternalServerError +// An error occurred on the server side. +// +// - ParameterNotFound +// The parameter couldn't be found. Verify the name and try again. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // -// * InvalidKeyId -// The query key ID isn't valid. +// - InvalidKeyId +// The query key ID isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameterHistory func (c *SSM) GetParameterHistory(input *GetParameterHistoryInput) (*GetParameterHistoryOutput, error) { @@ -9189,15 +9146,14 @@ func (c *SSM) GetParameterHistoryWithContext(ctx aws.Context, input *GetParamete // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetParameterHistory operation. -// pageNum := 0 -// err := client.GetParameterHistoryPages(params, -// func(page *ssm.GetParameterHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetParameterHistory operation. +// pageNum := 0 +// err := client.GetParameterHistoryPages(params, +// func(page *ssm.GetParameterHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) GetParameterHistoryPages(input *GetParameterHistoryInput, fn func(*GetParameterHistoryOutput, bool) bool) error { return c.GetParameterHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9249,14 +9205,13 @@ const opGetParameters = "GetParameters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetParametersRequest method. +// req, resp := client.GetParametersRequest(params) // -// // Example sending a request using the GetParametersRequest method. -// req, resp := client.GetParametersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameters func (c *SSM) GetParametersRequest(input *GetParametersInput) (req *request.Request, output *GetParametersOutput) { @@ -9291,11 +9246,12 @@ func (c *SSM) GetParametersRequest(input *GetParametersInput) (req *request.Requ // API operation GetParameters for usage and error information. // // Returned Error Types: -// * InvalidKeyId -// The query key ID isn't valid. // -// * InternalServerError -// An error occurred on the server side. +// - InvalidKeyId +// The query key ID isn't valid. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParameters func (c *SSM) GetParameters(input *GetParametersInput) (*GetParametersOutput, error) { @@ -9335,14 +9291,13 @@ const opGetParametersByPath = "GetParametersByPath" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetParametersByPathRequest method. +// req, resp := client.GetParametersByPathRequest(params) // -// // Example sending a request using the GetParametersByPathRequest method. -// req, resp := client.GetParametersByPathRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPath func (c *SSM) GetParametersByPathRequest(input *GetParametersByPathInput) (req *request.Request, output *GetParametersByPathOutput) { @@ -9387,24 +9342,25 @@ func (c *SSM) GetParametersByPathRequest(input *GetParametersByPathInput) (req * // API operation GetParametersByPath for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidFilterKey -// The specified key isn't valid. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidFilterKey +// The specified key isn't valid. // -// * InvalidFilterOption -// The specified filter option isn't valid. Valid options are Equals and BeginsWith. -// For Path filter, valid options are Recursive and OneLevel. +// - InvalidFilterOption +// The specified filter option isn't valid. Valid options are Equals and BeginsWith. +// For Path filter, valid options are Recursive and OneLevel. // -// * InvalidFilterValue -// The filter value isn't valid. Verify the value and try again. +// - InvalidFilterValue +// The filter value isn't valid. Verify the value and try again. // -// * InvalidKeyId -// The query key ID isn't valid. +// - InvalidKeyId +// The query key ID isn't valid. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetParametersByPath func (c *SSM) GetParametersByPath(input *GetParametersByPathInput) (*GetParametersByPathOutput, error) { @@ -9436,15 +9392,14 @@ func (c *SSM) GetParametersByPathWithContext(ctx aws.Context, input *GetParamete // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetParametersByPath operation. -// pageNum := 0 -// err := client.GetParametersByPathPages(params, -// func(page *ssm.GetParametersByPathOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetParametersByPath operation. +// pageNum := 0 +// err := client.GetParametersByPathPages(params, +// func(page *ssm.GetParametersByPathOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) GetParametersByPathPages(input *GetParametersByPathInput, fn func(*GetParametersByPathOutput, bool) bool) error { return c.GetParametersByPathPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -9496,14 +9451,13 @@ const opGetPatchBaseline = "GetPatchBaseline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPatchBaselineRequest method. +// req, resp := client.GetPatchBaselineRequest(params) // -// // Example sending a request using the GetPatchBaselineRequest method. -// req, resp := client.GetPatchBaselineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaseline func (c *SSM) GetPatchBaselineRequest(input *GetPatchBaselineInput) (req *request.Request, output *GetPatchBaselineOutput) { @@ -9534,20 +9488,21 @@ func (c *SSM) GetPatchBaselineRequest(input *GetPatchBaselineInput) (req *reques // API operation GetPatchBaseline for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. // -// * InvalidResourceId -// The resource ID isn't valid. Verify that you entered the correct ID and try -// again. +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * InternalServerError -// An error occurred on the server side. +// - InvalidResourceId +// The resource ID isn't valid. Verify that you entered the correct ID and try +// again. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaseline func (c *SSM) GetPatchBaseline(input *GetPatchBaselineInput) (*GetPatchBaselineOutput, error) { @@ -9587,14 +9542,13 @@ const opGetPatchBaselineForPatchGroup = "GetPatchBaselineForPatchGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPatchBaselineForPatchGroupRequest method. +// req, resp := client.GetPatchBaselineForPatchGroupRequest(params) // -// // Example sending a request using the GetPatchBaselineForPatchGroupRequest method. -// req, resp := client.GetPatchBaselineForPatchGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup func (c *SSM) GetPatchBaselineForPatchGroupRequest(input *GetPatchBaselineForPatchGroupInput) (req *request.Request, output *GetPatchBaselineForPatchGroupOutput) { @@ -9626,8 +9580,8 @@ func (c *SSM) GetPatchBaselineForPatchGroupRequest(input *GetPatchBaselineForPat // API operation GetPatchBaselineForPatchGroup for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetPatchBaselineForPatchGroup func (c *SSM) GetPatchBaselineForPatchGroup(input *GetPatchBaselineForPatchGroupInput) (*GetPatchBaselineForPatchGroupOutput, error) { @@ -9667,14 +9621,13 @@ const opGetServiceSetting = "GetServiceSetting" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceSettingRequest method. +// req, resp := client.GetServiceSettingRequest(params) // -// // Example sending a request using the GetServiceSettingRequest method. -// req, resp := client.GetServiceSettingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetServiceSetting func (c *SSM) GetServiceSettingRequest(input *GetServiceSettingInput) (req *request.Request, output *GetServiceSettingOutput) { @@ -9721,12 +9674,13 @@ func (c *SSM) GetServiceSettingRequest(input *GetServiceSettingInput) (req *requ // API operation GetServiceSetting for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * ServiceSettingNotFound -// The specified service setting wasn't found. Either the service name or the -// setting hasn't been provisioned by the Amazon Web Services service team. +// - InternalServerError +// An error occurred on the server side. +// +// - ServiceSettingNotFound +// The specified service setting wasn't found. Either the service name or the +// setting hasn't been provisioned by the Amazon Web Services service team. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/GetServiceSetting func (c *SSM) GetServiceSetting(input *GetServiceSettingInput) (*GetServiceSettingOutput, error) { @@ -9766,14 +9720,13 @@ const opLabelParameterVersion = "LabelParameterVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the LabelParameterVersionRequest method. +// req, resp := client.LabelParameterVersionRequest(params) // -// // Example sending a request using the LabelParameterVersionRequest method. -// req, resp := client.LabelParameterVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/LabelParameterVersion func (c *SSM) LabelParameterVersionRequest(input *LabelParameterVersionInput) (req *request.Request, output *LabelParameterVersionOutput) { @@ -9802,28 +9755,28 @@ func (c *SSM) LabelParameterVersionRequest(input *LabelParameterVersionInput) (r // // Parameter labels have the following requirements and restrictions. // -// * A version of a parameter can have a maximum of 10 labels. +// - A version of a parameter can have a maximum of 10 labels. // -// * You can't attach the same label to different versions of the same parameter. -// For example, if version 1 has the label Production, then you can't attach -// Production to version 2. +// - You can't attach the same label to different versions of the same parameter. +// For example, if version 1 has the label Production, then you can't attach +// Production to version 2. // -// * You can move a label from one version of a parameter to another. +// - You can move a label from one version of a parameter to another. // -// * You can't create a label when you create a new parameter. You must attach -// a label to a specific version of a parameter. +// - You can't create a label when you create a new parameter. You must attach +// a label to a specific version of a parameter. // -// * If you no longer want to use a parameter label, then you can either -// delete it or move it to a different version of a parameter. +// - If you no longer want to use a parameter label, then you can either +// delete it or move it to a different version of a parameter. // -// * A label can have a maximum of 100 characters. +// - A label can have a maximum of 100 characters. // -// * Labels can contain letters (case sensitive), numbers, periods (.), hyphens -// (-), or underscores (_). +// - Labels can contain letters (case sensitive), numbers, periods (.), hyphens +// (-), or underscores (_). // -// * Labels can't begin with a number, "aws" or "ssm" (not case sensitive). -// If a label fails to meet these requirements, then the label isn't associated -// with a parameter and the system displays it in the list of InvalidLabels. +// - Labels can't begin with a number, "aws" or "ssm" (not case sensitive). +// If a label fails to meet these requirements, then the label isn't associated +// with a parameter and the system displays it in the list of InvalidLabels. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -9833,22 +9786,23 @@ func (c *SSM) LabelParameterVersionRequest(input *LabelParameterVersionInput) (r // API operation LabelParameterVersion for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * TooManyUpdates -// There are concurrent updates for a resource that supports one update at a -// time. +// - InternalServerError +// An error occurred on the server side. // -// * ParameterNotFound -// The parameter couldn't be found. Verify the name and try again. +// - TooManyUpdates +// There are concurrent updates for a resource that supports one update at a +// time. // -// * ParameterVersionNotFound -// The specified parameter version wasn't found. Verify the parameter name and -// version, and try again. +// - ParameterNotFound +// The parameter couldn't be found. Verify the name and try again. // -// * ParameterVersionLabelLimitExceeded -// A parameter version can have a maximum of ten labels. +// - ParameterVersionNotFound +// The specified parameter version wasn't found. Verify the parameter name and +// version, and try again. +// +// - ParameterVersionLabelLimitExceeded +// A parameter version can have a maximum of ten labels. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/LabelParameterVersion func (c *SSM) LabelParameterVersion(input *LabelParameterVersionInput) (*LabelParameterVersionOutput, error) { @@ -9888,14 +9842,13 @@ const opListAssociationVersions = "ListAssociationVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssociationVersionsRequest method. +// req, resp := client.ListAssociationVersionsRequest(params) // -// // Example sending a request using the ListAssociationVersionsRequest method. -// req, resp := client.ListAssociationVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions func (c *SSM) ListAssociationVersionsRequest(input *ListAssociationVersionsInput) (req *request.Request, output *ListAssociationVersionsOutput) { @@ -9932,14 +9885,15 @@ func (c *SSM) ListAssociationVersionsRequest(input *ListAssociationVersionsInput // API operation ListAssociationVersions for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidNextToken -// The specified token isn't valid. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidNextToken +// The specified token isn't valid. // -// * AssociationDoesNotExist -// The specified association doesn't exist. +// - AssociationDoesNotExist +// The specified association doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociationVersions func (c *SSM) ListAssociationVersions(input *ListAssociationVersionsInput) (*ListAssociationVersionsOutput, error) { @@ -9971,15 +9925,14 @@ func (c *SSM) ListAssociationVersionsWithContext(ctx aws.Context, input *ListAss // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssociationVersions operation. -// pageNum := 0 -// err := client.ListAssociationVersionsPages(params, -// func(page *ssm.ListAssociationVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssociationVersions operation. +// pageNum := 0 +// err := client.ListAssociationVersionsPages(params, +// func(page *ssm.ListAssociationVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) ListAssociationVersionsPages(input *ListAssociationVersionsInput, fn func(*ListAssociationVersionsOutput, bool) bool) error { return c.ListAssociationVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10031,14 +9984,13 @@ const opListAssociations = "ListAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAssociationsRequest method. +// req, resp := client.ListAssociationsRequest(params) // -// // Example sending a request using the ListAssociationsRequest method. -// req, resp := client.ListAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations func (c *SSM) ListAssociationsRequest(input *ListAssociationsInput) (req *request.Request, output *ListAssociationsOutput) { @@ -10078,11 +10030,12 @@ func (c *SSM) ListAssociationsRequest(input *ListAssociationsInput) (req *reques // API operation ListAssociations for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidNextToken -// The specified token isn't valid. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListAssociations func (c *SSM) ListAssociations(input *ListAssociationsInput) (*ListAssociationsOutput, error) { @@ -10114,15 +10067,14 @@ func (c *SSM) ListAssociationsWithContext(ctx aws.Context, input *ListAssociatio // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAssociations operation. -// pageNum := 0 -// err := client.ListAssociationsPages(params, -// func(page *ssm.ListAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAssociations operation. +// pageNum := 0 +// err := client.ListAssociationsPages(params, +// func(page *ssm.ListAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) ListAssociationsPages(input *ListAssociationsInput, fn func(*ListAssociationsOutput, bool) bool) error { return c.ListAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10174,14 +10126,13 @@ const opListCommandInvocations = "ListCommandInvocations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCommandInvocationsRequest method. +// req, resp := client.ListCommandInvocationsRequest(params) // -// // Example sending a request using the ListCommandInvocationsRequest method. -// req, resp := client.ListCommandInvocationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocations func (c *SSM) ListCommandInvocationsRequest(input *ListCommandInvocationsInput) (req *request.Request, output *ListCommandInvocationsOutput) { @@ -10222,31 +10173,32 @@ func (c *SSM) ListCommandInvocationsRequest(input *ListCommandInvocationsInput) // API operation ListCommandInvocations for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidCommandId -// The specified command ID isn't valid. Verify the ID and try again. +// - InternalServerError +// An error occurred on the server side. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InvalidCommandId +// The specified command ID isn't valid. Verify the ID and try again. // -// * You don't have permission to access the managed node. +// - InvalidInstanceId +// The following problems can cause this exception: // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - You don't have permission to access the managed node. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * InvalidFilterKey -// The specified key isn't valid. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidFilterKey +// The specified key isn't valid. +// +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommandInvocations func (c *SSM) ListCommandInvocations(input *ListCommandInvocationsInput) (*ListCommandInvocationsOutput, error) { @@ -10278,15 +10230,14 @@ func (c *SSM) ListCommandInvocationsWithContext(ctx aws.Context, input *ListComm // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCommandInvocations operation. -// pageNum := 0 -// err := client.ListCommandInvocationsPages(params, -// func(page *ssm.ListCommandInvocationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCommandInvocations operation. +// pageNum := 0 +// err := client.ListCommandInvocationsPages(params, +// func(page *ssm.ListCommandInvocationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) ListCommandInvocationsPages(input *ListCommandInvocationsInput, fn func(*ListCommandInvocationsOutput, bool) bool) error { return c.ListCommandInvocationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10338,14 +10289,13 @@ const opListCommands = "ListCommands" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCommandsRequest method. +// req, resp := client.ListCommandsRequest(params) // -// // Example sending a request using the ListCommandsRequest method. -// req, resp := client.ListCommandsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommands func (c *SSM) ListCommandsRequest(input *ListCommandsInput) (req *request.Request, output *ListCommandsOutput) { @@ -10382,31 +10332,32 @@ func (c *SSM) ListCommandsRequest(input *ListCommandsInput) (req *request.Reques // API operation ListCommands for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidCommandId -// The specified command ID isn't valid. Verify the ID and try again. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidCommandId +// The specified command ID isn't valid. Verify the ID and try again. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InvalidInstanceId +// The following problems can cause this exception: // -// * You don't have permission to access the managed node. +// - You don't have permission to access the managed node. // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. // -// * InvalidFilterKey -// The specified key isn't valid. +// - InvalidFilterKey +// The specified key isn't valid. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListCommands func (c *SSM) ListCommands(input *ListCommandsInput) (*ListCommandsOutput, error) { @@ -10438,15 +10389,14 @@ func (c *SSM) ListCommandsWithContext(ctx aws.Context, input *ListCommandsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCommands operation. -// pageNum := 0 -// err := client.ListCommandsPages(params, -// func(page *ssm.ListCommandsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCommands operation. +// pageNum := 0 +// err := client.ListCommandsPages(params, +// func(page *ssm.ListCommandsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) ListCommandsPages(input *ListCommandsInput, fn func(*ListCommandsOutput, bool) bool) error { return c.ListCommandsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10498,14 +10448,13 @@ const opListComplianceItems = "ListComplianceItems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListComplianceItemsRequest method. +// req, resp := client.ListComplianceItemsRequest(params) // -// // Example sending a request using the ListComplianceItemsRequest method. -// req, resp := client.ListComplianceItemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItems func (c *SSM) ListComplianceItemsRequest(input *ListComplianceItemsInput) (req *request.Request, output *ListComplianceItemsOutput) { @@ -10545,23 +10494,24 @@ func (c *SSM) ListComplianceItemsRequest(input *ListComplianceItemsInput) (req * // API operation ListComplianceItems for usage and error information. // // Returned Error Types: -// * InvalidResourceType -// The resource type isn't valid. For example, if you are attempting to tag -// an EC2 instance, the instance must be a registered managed node. // -// * InvalidResourceId -// The resource ID isn't valid. Verify that you entered the correct ID and try -// again. +// - InvalidResourceType +// The resource type isn't valid. For example, if you are attempting to tag +// an EC2 instance, the instance must be a registered managed node. +// +// - InvalidResourceId +// The resource ID isn't valid. Verify that you entered the correct ID and try +// again. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // -// * InvalidFilter -// The filter name isn't valid. Verify the you entered the correct name and -// try again. +// - InvalidFilter +// The filter name isn't valid. Verify the you entered the correct name and +// try again. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceItems func (c *SSM) ListComplianceItems(input *ListComplianceItemsInput) (*ListComplianceItemsOutput, error) { @@ -10593,15 +10543,14 @@ func (c *SSM) ListComplianceItemsWithContext(ctx aws.Context, input *ListComplia // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListComplianceItems operation. -// pageNum := 0 -// err := client.ListComplianceItemsPages(params, -// func(page *ssm.ListComplianceItemsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListComplianceItems operation. +// pageNum := 0 +// err := client.ListComplianceItemsPages(params, +// func(page *ssm.ListComplianceItemsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) ListComplianceItemsPages(input *ListComplianceItemsInput, fn func(*ListComplianceItemsOutput, bool) bool) error { return c.ListComplianceItemsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10653,14 +10602,13 @@ const opListComplianceSummaries = "ListComplianceSummaries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListComplianceSummariesRequest method. +// req, resp := client.ListComplianceSummariesRequest(params) // -// // Example sending a request using the ListComplianceSummariesRequest method. -// req, resp := client.ListComplianceSummariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummaries func (c *SSM) ListComplianceSummariesRequest(input *ListComplianceSummariesInput) (req *request.Request, output *ListComplianceSummariesOutput) { @@ -10699,15 +10647,16 @@ func (c *SSM) ListComplianceSummariesRequest(input *ListComplianceSummariesInput // API operation ListComplianceSummaries for usage and error information. // // Returned Error Types: -// * InvalidFilter -// The filter name isn't valid. Verify the you entered the correct name and -// try again. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidFilter +// The filter name isn't valid. Verify the you entered the correct name and +// try again. +// +// - InvalidNextToken +// The specified token isn't valid. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListComplianceSummaries func (c *SSM) ListComplianceSummaries(input *ListComplianceSummariesInput) (*ListComplianceSummariesOutput, error) { @@ -10739,15 +10688,14 @@ func (c *SSM) ListComplianceSummariesWithContext(ctx aws.Context, input *ListCom // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListComplianceSummaries operation. -// pageNum := 0 -// err := client.ListComplianceSummariesPages(params, -// func(page *ssm.ListComplianceSummariesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListComplianceSummaries operation. +// pageNum := 0 +// err := client.ListComplianceSummariesPages(params, +// func(page *ssm.ListComplianceSummariesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) ListComplianceSummariesPages(input *ListComplianceSummariesInput, fn func(*ListComplianceSummariesOutput, bool) bool) error { return c.ListComplianceSummariesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -10799,14 +10747,13 @@ const opListDocumentMetadataHistory = "ListDocumentMetadataHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDocumentMetadataHistoryRequest method. +// req, resp := client.ListDocumentMetadataHistoryRequest(params) // -// // Example sending a request using the ListDocumentMetadataHistoryRequest method. -// req, resp := client.ListDocumentMetadataHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentMetadataHistory func (c *SSM) ListDocumentMetadataHistoryRequest(input *ListDocumentMetadataHistoryInput) (req *request.Request, output *ListDocumentMetadataHistoryOutput) { @@ -10838,17 +10785,18 @@ func (c *SSM) ListDocumentMetadataHistoryRequest(input *ListDocumentMetadataHist // API operation ListDocumentMetadataHistory for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InternalServerError +// An error occurred on the server side. // -// * InvalidDocumentVersion -// The document version isn't valid or doesn't exist. +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidDocumentVersion +// The document version isn't valid or doesn't exist. +// +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentMetadataHistory func (c *SSM) ListDocumentMetadataHistory(input *ListDocumentMetadataHistoryInput) (*ListDocumentMetadataHistoryOutput, error) { @@ -10888,14 +10836,13 @@ const opListDocumentVersions = "ListDocumentVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDocumentVersionsRequest method. +// req, resp := client.ListDocumentVersionsRequest(params) // -// // Example sending a request using the ListDocumentVersionsRequest method. -// req, resp := client.ListDocumentVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersions func (c *SSM) ListDocumentVersionsRequest(input *ListDocumentVersionsInput) (req *request.Request, output *ListDocumentVersionsOutput) { @@ -10932,14 +10879,15 @@ func (c *SSM) ListDocumentVersionsRequest(input *ListDocumentVersionsInput) (req // API operation ListDocumentVersions for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidNextToken -// The specified token isn't valid. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidNextToken +// The specified token isn't valid. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InvalidDocument +// The specified SSM document doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocumentVersions func (c *SSM) ListDocumentVersions(input *ListDocumentVersionsInput) (*ListDocumentVersionsOutput, error) { @@ -10971,15 +10919,14 @@ func (c *SSM) ListDocumentVersionsWithContext(ctx aws.Context, input *ListDocume // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDocumentVersions operation. -// pageNum := 0 -// err := client.ListDocumentVersionsPages(params, -// func(page *ssm.ListDocumentVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDocumentVersions operation. +// pageNum := 0 +// err := client.ListDocumentVersionsPages(params, +// func(page *ssm.ListDocumentVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) ListDocumentVersionsPages(input *ListDocumentVersionsInput, fn func(*ListDocumentVersionsOutput, bool) bool) error { return c.ListDocumentVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11031,14 +10978,13 @@ const opListDocuments = "ListDocuments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDocumentsRequest method. +// req, resp := client.ListDocumentsRequest(params) // -// // Example sending a request using the ListDocumentsRequest method. -// req, resp := client.ListDocumentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocuments func (c *SSM) ListDocumentsRequest(input *ListDocumentsInput) (req *request.Request, output *ListDocumentsOutput) { @@ -11077,14 +11023,15 @@ func (c *SSM) ListDocumentsRequest(input *ListDocumentsInput) (req *request.Requ // API operation ListDocuments for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidNextToken -// The specified token isn't valid. +// - InternalServerError +// An error occurred on the server side. // -// * InvalidFilterKey -// The specified key isn't valid. +// - InvalidNextToken +// The specified token isn't valid. +// +// - InvalidFilterKey +// The specified key isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListDocuments func (c *SSM) ListDocuments(input *ListDocumentsInput) (*ListDocumentsOutput, error) { @@ -11116,15 +11063,14 @@ func (c *SSM) ListDocumentsWithContext(ctx aws.Context, input *ListDocumentsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDocuments operation. -// pageNum := 0 -// err := client.ListDocumentsPages(params, -// func(page *ssm.ListDocumentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDocuments operation. +// pageNum := 0 +// err := client.ListDocumentsPages(params, +// func(page *ssm.ListDocumentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) ListDocumentsPages(input *ListDocumentsInput, fn func(*ListDocumentsOutput, bool) bool) error { return c.ListDocumentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11176,14 +11122,13 @@ const opListInventoryEntries = "ListInventoryEntries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInventoryEntriesRequest method. +// req, resp := client.ListInventoryEntriesRequest(params) // -// // Example sending a request using the ListInventoryEntriesRequest method. -// req, resp := client.ListInventoryEntriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListInventoryEntries func (c *SSM) ListInventoryEntriesRequest(input *ListInventoryEntriesInput) (req *request.Request, output *ListInventoryEntriesOutput) { @@ -11214,32 +11159,33 @@ func (c *SSM) ListInventoryEntriesRequest(input *ListInventoryEntriesInput) (req // API operation ListInventoryEntries for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InternalServerError +// An error occurred on the server side. // -// * You don't have permission to access the managed node. +// - InvalidInstanceId +// The following problems can cause this exception: // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - You don't have permission to access the managed node. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * InvalidTypeNameException -// The parameter type name isn't valid. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. // -// * InvalidFilter -// The filter name isn't valid. Verify the you entered the correct name and -// try again. +// - InvalidTypeNameException +// The parameter type name isn't valid. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidFilter +// The filter name isn't valid. Verify the you entered the correct name and +// try again. +// +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListInventoryEntries func (c *SSM) ListInventoryEntries(input *ListInventoryEntriesInput) (*ListInventoryEntriesOutput, error) { @@ -11279,14 +11225,13 @@ const opListOpsItemEvents = "ListOpsItemEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOpsItemEventsRequest method. +// req, resp := client.ListOpsItemEventsRequest(params) // -// // Example sending a request using the ListOpsItemEventsRequest method. -// req, resp := client.ListOpsItemEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemEvents func (c *SSM) ListOpsItemEventsRequest(input *ListOpsItemEventsInput) (req *request.Request, output *ListOpsItemEventsOutput) { @@ -11325,19 +11270,20 @@ func (c *SSM) ListOpsItemEventsRequest(input *ListOpsItemEventsInput) (req *requ // API operation ListOpsItemEvents for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * OpsItemNotFoundException -// The specified OpsItem ID doesn't exist. Verify the ID and try again. +// - InternalServerError +// An error occurred on the server side. // -// * OpsItemLimitExceededException -// The request caused OpsItems to exceed one or more quotas. For information -// about OpsItem quotas, see What are the resource limits for OpsCenter? (https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-learn-more.html#OpsCenter-learn-more-limits). +// - OpsItemNotFoundException +// The specified OpsItem ID doesn't exist. Verify the ID and try again. // -// * OpsItemInvalidParameterException -// A specified parameter argument isn't valid. Verify the available arguments -// and try again. +// - OpsItemLimitExceededException +// The request caused OpsItems to exceed one or more quotas. For information +// about OpsItem quotas, see What are the resource limits for OpsCenter? (https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-learn-more.html#OpsCenter-learn-more-limits). +// +// - OpsItemInvalidParameterException +// A specified parameter argument isn't valid. Verify the available arguments +// and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemEvents func (c *SSM) ListOpsItemEvents(input *ListOpsItemEventsInput) (*ListOpsItemEventsOutput, error) { @@ -11369,15 +11315,14 @@ func (c *SSM) ListOpsItemEventsWithContext(ctx aws.Context, input *ListOpsItemEv // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOpsItemEvents operation. -// pageNum := 0 -// err := client.ListOpsItemEventsPages(params, -// func(page *ssm.ListOpsItemEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOpsItemEvents operation. +// pageNum := 0 +// err := client.ListOpsItemEventsPages(params, +// func(page *ssm.ListOpsItemEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) ListOpsItemEventsPages(input *ListOpsItemEventsInput, fn func(*ListOpsItemEventsOutput, bool) bool) error { return c.ListOpsItemEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11429,14 +11374,13 @@ const opListOpsItemRelatedItems = "ListOpsItemRelatedItems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOpsItemRelatedItemsRequest method. +// req, resp := client.ListOpsItemRelatedItemsRequest(params) // -// // Example sending a request using the ListOpsItemRelatedItemsRequest method. -// req, resp := client.ListOpsItemRelatedItemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemRelatedItems func (c *SSM) ListOpsItemRelatedItemsRequest(input *ListOpsItemRelatedItemsInput) (req *request.Request, output *ListOpsItemRelatedItemsOutput) { @@ -11474,12 +11418,13 @@ func (c *SSM) ListOpsItemRelatedItemsRequest(input *ListOpsItemRelatedItemsInput // API operation ListOpsItemRelatedItems for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * OpsItemInvalidParameterException -// A specified parameter argument isn't valid. Verify the available arguments -// and try again. +// - InternalServerError +// An error occurred on the server side. +// +// - OpsItemInvalidParameterException +// A specified parameter argument isn't valid. Verify the available arguments +// and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsItemRelatedItems func (c *SSM) ListOpsItemRelatedItems(input *ListOpsItemRelatedItemsInput) (*ListOpsItemRelatedItemsOutput, error) { @@ -11511,15 +11456,14 @@ func (c *SSM) ListOpsItemRelatedItemsWithContext(ctx aws.Context, input *ListOps // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOpsItemRelatedItems operation. -// pageNum := 0 -// err := client.ListOpsItemRelatedItemsPages(params, -// func(page *ssm.ListOpsItemRelatedItemsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOpsItemRelatedItems operation. +// pageNum := 0 +// err := client.ListOpsItemRelatedItemsPages(params, +// func(page *ssm.ListOpsItemRelatedItemsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) ListOpsItemRelatedItemsPages(input *ListOpsItemRelatedItemsInput, fn func(*ListOpsItemRelatedItemsOutput, bool) bool) error { return c.ListOpsItemRelatedItemsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11571,14 +11515,13 @@ const opListOpsMetadata = "ListOpsMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOpsMetadataRequest method. +// req, resp := client.ListOpsMetadataRequest(params) // -// // Example sending a request using the ListOpsMetadataRequest method. -// req, resp := client.ListOpsMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsMetadata func (c *SSM) ListOpsMetadataRequest(input *ListOpsMetadataInput) (req *request.Request, output *ListOpsMetadataOutput) { @@ -11616,11 +11559,12 @@ func (c *SSM) ListOpsMetadataRequest(input *ListOpsMetadataInput) (req *request. // API operation ListOpsMetadata for usage and error information. // // Returned Error Types: -// * OpsMetadataInvalidArgumentException -// One of the arguments passed is invalid. // -// * InternalServerError -// An error occurred on the server side. +// - OpsMetadataInvalidArgumentException +// One of the arguments passed is invalid. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListOpsMetadata func (c *SSM) ListOpsMetadata(input *ListOpsMetadataInput) (*ListOpsMetadataOutput, error) { @@ -11652,15 +11596,14 @@ func (c *SSM) ListOpsMetadataWithContext(ctx aws.Context, input *ListOpsMetadata // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOpsMetadata operation. -// pageNum := 0 -// err := client.ListOpsMetadataPages(params, -// func(page *ssm.ListOpsMetadataOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOpsMetadata operation. +// pageNum := 0 +// err := client.ListOpsMetadataPages(params, +// func(page *ssm.ListOpsMetadataOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) ListOpsMetadataPages(input *ListOpsMetadataInput, fn func(*ListOpsMetadataOutput, bool) bool) error { return c.ListOpsMetadataPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11712,14 +11655,13 @@ const opListResourceComplianceSummaries = "ListResourceComplianceSummaries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourceComplianceSummariesRequest method. +// req, resp := client.ListResourceComplianceSummariesRequest(params) // -// // Example sending a request using the ListResourceComplianceSummariesRequest method. -// req, resp := client.ListResourceComplianceSummariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummaries func (c *SSM) ListResourceComplianceSummariesRequest(input *ListResourceComplianceSummariesInput) (req *request.Request, output *ListResourceComplianceSummariesOutput) { @@ -11758,15 +11700,16 @@ func (c *SSM) ListResourceComplianceSummariesRequest(input *ListResourceComplian // API operation ListResourceComplianceSummaries for usage and error information. // // Returned Error Types: -// * InvalidFilter -// The filter name isn't valid. Verify the you entered the correct name and -// try again. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidFilter +// The filter name isn't valid. Verify the you entered the correct name and +// try again. +// +// - InvalidNextToken +// The specified token isn't valid. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceComplianceSummaries func (c *SSM) ListResourceComplianceSummaries(input *ListResourceComplianceSummariesInput) (*ListResourceComplianceSummariesOutput, error) { @@ -11798,15 +11741,14 @@ func (c *SSM) ListResourceComplianceSummariesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResourceComplianceSummaries operation. -// pageNum := 0 -// err := client.ListResourceComplianceSummariesPages(params, -// func(page *ssm.ListResourceComplianceSummariesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResourceComplianceSummaries operation. +// pageNum := 0 +// err := client.ListResourceComplianceSummariesPages(params, +// func(page *ssm.ListResourceComplianceSummariesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) ListResourceComplianceSummariesPages(input *ListResourceComplianceSummariesInput, fn func(*ListResourceComplianceSummariesOutput, bool) bool) error { return c.ListResourceComplianceSummariesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -11858,14 +11800,13 @@ const opListResourceDataSync = "ListResourceDataSync" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourceDataSyncRequest method. +// req, resp := client.ListResourceDataSyncRequest(params) // -// // Example sending a request using the ListResourceDataSyncRequest method. -// req, resp := client.ListResourceDataSyncRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSync func (c *SSM) ListResourceDataSyncRequest(input *ListResourceDataSyncInput) (req *request.Request, output *ListResourceDataSyncOutput) { @@ -11911,14 +11852,15 @@ func (c *SSM) ListResourceDataSyncRequest(input *ListResourceDataSyncInput) (req // API operation ListResourceDataSync for usage and error information. // // Returned Error Types: -// * ResourceDataSyncInvalidConfigurationException -// The specified sync configuration is invalid. // -// * InternalServerError -// An error occurred on the server side. +// - ResourceDataSyncInvalidConfigurationException +// The specified sync configuration is invalid. +// +// - InternalServerError +// An error occurred on the server side. // -// * InvalidNextToken -// The specified token isn't valid. +// - InvalidNextToken +// The specified token isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListResourceDataSync func (c *SSM) ListResourceDataSync(input *ListResourceDataSyncInput) (*ListResourceDataSyncOutput, error) { @@ -11950,15 +11892,14 @@ func (c *SSM) ListResourceDataSyncWithContext(ctx aws.Context, input *ListResour // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResourceDataSync operation. -// pageNum := 0 -// err := client.ListResourceDataSyncPages(params, -// func(page *ssm.ListResourceDataSyncOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResourceDataSync operation. +// pageNum := 0 +// err := client.ListResourceDataSyncPages(params, +// func(page *ssm.ListResourceDataSyncOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSM) ListResourceDataSyncPages(input *ListResourceDataSyncInput, fn func(*ListResourceDataSyncOutput, bool) bool) error { return c.ListResourceDataSyncPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -12010,14 +11951,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListTagsForResource func (c *SSM) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -12051,16 +11991,17 @@ func (c *SSM) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidResourceType -// The resource type isn't valid. For example, if you are attempting to tag -// an EC2 instance, the instance must be a registered managed node. // -// * InvalidResourceId -// The resource ID isn't valid. Verify that you entered the correct ID and try -// again. +// - InvalidResourceType +// The resource type isn't valid. For example, if you are attempting to tag +// an EC2 instance, the instance must be a registered managed node. // -// * InternalServerError -// An error occurred on the server side. +// - InvalidResourceId +// The resource ID isn't valid. Verify that you entered the correct ID and try +// again. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ListTagsForResource func (c *SSM) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -12100,14 +12041,13 @@ const opModifyDocumentPermission = "ModifyDocumentPermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyDocumentPermissionRequest method. +// req, resp := client.ModifyDocumentPermissionRequest(params) // -// // Example sending a request using the ModifyDocumentPermissionRequest method. -// req, resp := client.ModifyDocumentPermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermission func (c *SSM) ModifyDocumentPermissionRequest(input *ModifyDocumentPermissionInput) (req *request.Request, output *ModifyDocumentPermissionOutput) { @@ -12142,24 +12082,25 @@ func (c *SSM) ModifyDocumentPermissionRequest(input *ModifyDocumentPermissionInp // API operation ModifyDocumentPermission for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidPermissionType -// The permission type isn't supported. Share is the only supported permission -// type. +// - InvalidPermissionType +// The permission type isn't supported. Share is the only supported permission +// type. // -// * DocumentPermissionLimit -// The document can't be shared with more Amazon Web Services user accounts. -// You can share a document with a maximum of 20 accounts. You can publicly -// share up to five documents. If you need to increase this limit, contact Amazon -// Web Services Support. +// - DocumentPermissionLimit +// The document can't be shared with more Amazon Web Services user accounts. +// You can share a document with a maximum of 20 accounts. You can publicly +// share up to five documents. If you need to increase this limit, contact Amazon +// Web Services Support. // -// * DocumentLimitExceeded -// You can have at most 500 active SSM documents. +// - DocumentLimitExceeded +// You can have at most 500 active SSM documents. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ModifyDocumentPermission func (c *SSM) ModifyDocumentPermission(input *ModifyDocumentPermissionInput) (*ModifyDocumentPermissionOutput, error) { @@ -12199,14 +12140,13 @@ const opPutComplianceItems = "PutComplianceItems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutComplianceItemsRequest method. +// req, resp := client.PutComplianceItemsRequest(params) // -// // Example sending a request using the PutComplianceItemsRequest method. -// req, resp := client.PutComplianceItemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItems func (c *SSM) PutComplianceItemsRequest(input *PutComplianceItemsInput) (req *request.Request, output *PutComplianceItemsOutput) { @@ -12236,40 +12176,40 @@ func (c *SSM) PutComplianceItemsRequest(input *PutComplianceItemsInput) (req *re // // ComplianceType can be one of the following: // -// * ExecutionId: The execution ID when the patch, association, or custom -// compliance item was applied. +// - ExecutionId: The execution ID when the patch, association, or custom +// compliance item was applied. // -// * ExecutionType: Specify patch, association, or Custom:string. +// - ExecutionType: Specify patch, association, or Custom:string. // -// * ExecutionTime. The time the patch, association, or custom compliance -// item was applied to the managed node. +// - ExecutionTime. The time the patch, association, or custom compliance +// item was applied to the managed node. // -// * Id: The patch, association, or custom compliance ID. +// - Id: The patch, association, or custom compliance ID. // -// * Title: A title. +// - Title: A title. // -// * Status: The status of the compliance item. For example, approved for -// patches, or Failed for associations. +// - Status: The status of the compliance item. For example, approved for +// patches, or Failed for associations. // -// * Severity: A patch severity. For example, critical. +// - Severity: A patch severity. For example, critical. // -// * DocumentName: An SSM document name. For example, AWS-RunPatchBaseline. +// - DocumentName: An SSM document name. For example, AWS-RunPatchBaseline. // -// * DocumentVersion: An SSM document version number. For example, 4. +// - DocumentVersion: An SSM document version number. For example, 4. // -// * Classification: A patch classification. For example, security updates. +// - Classification: A patch classification. For example, security updates. // -// * PatchBaselineId: A patch baseline ID. +// - PatchBaselineId: A patch baseline ID. // -// * PatchSeverity: A patch severity. For example, Critical. +// - PatchSeverity: A patch severity. For example, Critical. // -// * PatchState: A patch state. For example, InstancesWithFailedPatches. +// - PatchState: A patch state. For example, InstancesWithFailedPatches. // -// * PatchGroup: The name of a patch group. +// - PatchGroup: The name of a patch group. // -// * InstalledTime: The time the association, patch, or custom compliance -// item was applied to the resource. Specify the time by using the following -// format: yyyy-MM-dd'T'HH:mm:ss'Z' +// - InstalledTime: The time the association, patch, or custom compliance +// item was applied to the resource. Specify the time by using the following +// format: yyyy-MM-dd'T'HH:mm:ss'Z' // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -12279,29 +12219,30 @@ func (c *SSM) PutComplianceItemsRequest(input *PutComplianceItemsInput) (req *re // API operation PutComplianceItems for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidItemContentException -// One or more content items isn't valid. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidItemContentException +// One or more content items isn't valid. // -// * TotalSizeLimitExceededException -// The size of inventory data has exceeded the total size limit for the resource. +// - TotalSizeLimitExceededException +// The size of inventory data has exceeded the total size limit for the resource. // -// * ItemSizeLimitExceededException -// The inventory item size has exceeded the size limit. +// - ItemSizeLimitExceededException +// The inventory item size has exceeded the size limit. // -// * ComplianceTypeCountLimitExceededException -// You specified too many custom compliance types. You can specify a maximum -// of 10 different types. +// - ComplianceTypeCountLimitExceededException +// You specified too many custom compliance types. You can specify a maximum +// of 10 different types. // -// * InvalidResourceType -// The resource type isn't valid. For example, if you are attempting to tag -// an EC2 instance, the instance must be a registered managed node. +// - InvalidResourceType +// The resource type isn't valid. For example, if you are attempting to tag +// an EC2 instance, the instance must be a registered managed node. // -// * InvalidResourceId -// The resource ID isn't valid. Verify that you entered the correct ID and try -// again. +// - InvalidResourceId +// The resource ID isn't valid. Verify that you entered the correct ID and try +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutComplianceItems func (c *SSM) PutComplianceItems(input *PutComplianceItemsInput) (*PutComplianceItemsOutput, error) { @@ -12341,14 +12282,13 @@ const opPutInventory = "PutInventory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutInventoryRequest method. +// req, resp := client.PutInventoryRequest(params) // -// // Example sending a request using the PutInventoryRequest method. -// req, resp := client.PutInventoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutInventory func (c *SSM) PutInventoryRequest(input *PutInventoryInput) (req *request.Request, output *PutInventoryOutput) { @@ -12381,58 +12321,59 @@ func (c *SSM) PutInventoryRequest(input *PutInventoryInput) (req *request.Reques // API operation PutInventory for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidInstanceId +// The following problems can cause this exception: // -// * You don't have permission to access the managed node. +// - You don't have permission to access the managed node. // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. // -// * InvalidTypeNameException -// The parameter type name isn't valid. +// - InvalidTypeNameException +// The parameter type name isn't valid. // -// * InvalidItemContentException -// One or more content items isn't valid. +// - InvalidItemContentException +// One or more content items isn't valid. // -// * TotalSizeLimitExceededException -// The size of inventory data has exceeded the total size limit for the resource. +// - TotalSizeLimitExceededException +// The size of inventory data has exceeded the total size limit for the resource. // -// * ItemSizeLimitExceededException -// The inventory item size has exceeded the size limit. +// - ItemSizeLimitExceededException +// The inventory item size has exceeded the size limit. // -// * ItemContentMismatchException -// The inventory item has invalid content. +// - ItemContentMismatchException +// The inventory item has invalid content. // -// * CustomSchemaCountLimitExceededException -// You have exceeded the limit for custom schemas. Delete one or more custom -// schemas and try again. +// - CustomSchemaCountLimitExceededException +// You have exceeded the limit for custom schemas. Delete one or more custom +// schemas and try again. // -// * UnsupportedInventorySchemaVersionException -// Inventory item type schema version has to match supported versions in the -// service. Check output of GetInventorySchema to see the available schema version -// for each type. +// - UnsupportedInventorySchemaVersionException +// Inventory item type schema version has to match supported versions in the +// service. Check output of GetInventorySchema to see the available schema version +// for each type. // -// * UnsupportedInventoryItemContextException -// The Context attribute that you specified for the InventoryItem isn't allowed -// for this inventory type. You can only use the Context attribute with inventory -// types like AWS:ComplianceItem. +// - UnsupportedInventoryItemContextException +// The Context attribute that you specified for the InventoryItem isn't allowed +// for this inventory type. You can only use the Context attribute with inventory +// types like AWS:ComplianceItem. // -// * InvalidInventoryItemContextException -// You specified invalid keys or values in the Context attribute for InventoryItem. -// Verify the keys and values, and try again. +// - InvalidInventoryItemContextException +// You specified invalid keys or values in the Context attribute for InventoryItem. +// Verify the keys and values, and try again. // -// * SubTypeCountLimitExceededException -// The sub-type count exceeded the limit for the inventory type. +// - SubTypeCountLimitExceededException +// The sub-type count exceeded the limit for the inventory type. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutInventory func (c *SSM) PutInventory(input *PutInventoryInput) (*PutInventoryOutput, error) { @@ -12472,14 +12413,13 @@ const opPutParameter = "PutParameter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutParameterRequest method. +// req, resp := client.PutParameterRequest(params) // -// // Example sending a request using the PutParameterRequest method. -// req, resp := client.PutParameterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameter func (c *SSM) PutParameterRequest(input *PutParameterInput) (req *request.Request, output *PutParameterOutput) { @@ -12510,78 +12450,79 @@ func (c *SSM) PutParameterRequest(input *PutParameterInput) (req *request.Reques // API operation PutParameter for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. -// -// * InvalidKeyId -// The query key ID isn't valid. -// -// * ParameterLimitExceeded -// You have exceeded the number of parameters for this Amazon Web Services account. -// Delete one or more parameters and try again. -// -// * TooManyUpdates -// There are concurrent updates for a resource that supports one update at a -// time. -// -// * ParameterAlreadyExists -// The parameter already exists. You can't create duplicate parameters. -// -// * HierarchyLevelLimitExceededException -// A hierarchy can have a maximum of 15 levels. For more information, see Requirements -// and constraints for parameter names (https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-parameter-name-constraints.html) -// in the Amazon Web Services Systems Manager User Guide. -// -// * HierarchyTypeMismatchException -// Parameter Store doesn't support changing a parameter type in a hierarchy. -// For example, you can't change a parameter from a String type to a SecureString -// type. You must create a new, unique parameter. -// -// * InvalidAllowedPatternException -// The request doesn't meet the regular expression requirement. -// -// * ParameterMaxVersionLimitExceeded -// Parameter Store retains the 100 most recently created versions of a parameter. -// After this number of versions has been created, Parameter Store deletes the -// oldest version when a new one is created. However, if the oldest version -// has a label attached to it, Parameter Store won't delete the version and -// instead presents this error message: -// -// An error occurred (ParameterMaxVersionLimitExceeded) when calling the PutParameter -// operation: You attempted to create a new version of parameter-name by calling -// the PutParameter API with the overwrite flag. Version version-number, the -// oldest version, can't be deleted because it has a label associated with it. -// Move the label to another version of the parameter, and try again. -// -// This safeguard is to prevent parameter versions with mission critical labels -// assigned to them from being deleted. To continue creating new parameters, -// first move the label from the oldest version of the parameter to a newer -// one for use in your operations. For information about moving parameter labels, -// see Move a parameter label (console) (https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-labels.html#sysman-paramstore-labels-console-move) -// or Move a parameter label (CLI) (https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-labels.html#sysman-paramstore-labels-cli-move) -// in the Amazon Web Services Systems Manager User Guide. -// -// * ParameterPatternMismatchException -// The parameter name isn't valid. -// -// * UnsupportedParameterType -// The parameter type isn't supported. -// -// * PoliciesLimitExceededException -// You specified more than the maximum number of allowed policies for the parameter. -// The maximum is 10. -// -// * InvalidPolicyTypeException -// The policy type isn't supported. Parameter Store supports the following policy -// types: Expiration, ExpirationNotification, and NoChangeNotification. -// -// * InvalidPolicyAttributeException -// A policy attribute or its value is invalid. -// -// * IncompatiblePolicyException -// There is a conflict in the policies specified for this parameter. You can't, -// for example, specify two Expiration policies for a parameter. Review your -// policies, and try again. +// +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidKeyId +// The query key ID isn't valid. +// +// - ParameterLimitExceeded +// You have exceeded the number of parameters for this Amazon Web Services account. +// Delete one or more parameters and try again. +// +// - TooManyUpdates +// There are concurrent updates for a resource that supports one update at a +// time. +// +// - ParameterAlreadyExists +// The parameter already exists. You can't create duplicate parameters. +// +// - HierarchyLevelLimitExceededException +// A hierarchy can have a maximum of 15 levels. For more information, see Requirements +// and constraints for parameter names (https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-parameter-name-constraints.html) +// in the Amazon Web Services Systems Manager User Guide. +// +// - HierarchyTypeMismatchException +// Parameter Store doesn't support changing a parameter type in a hierarchy. +// For example, you can't change a parameter from a String type to a SecureString +// type. You must create a new, unique parameter. +// +// - InvalidAllowedPatternException +// The request doesn't meet the regular expression requirement. +// +// - ParameterMaxVersionLimitExceeded +// Parameter Store retains the 100 most recently created versions of a parameter. +// After this number of versions has been created, Parameter Store deletes the +// oldest version when a new one is created. However, if the oldest version +// has a label attached to it, Parameter Store won't delete the version and +// instead presents this error message: +// +// An error occurred (ParameterMaxVersionLimitExceeded) when calling the PutParameter +// operation: You attempted to create a new version of parameter-name by calling +// the PutParameter API with the overwrite flag. Version version-number, the +// oldest version, can't be deleted because it has a label associated with it. +// Move the label to another version of the parameter, and try again. +// +// This safeguard is to prevent parameter versions with mission critical labels +// assigned to them from being deleted. To continue creating new parameters, +// first move the label from the oldest version of the parameter to a newer +// one for use in your operations. For information about moving parameter labels, +// see Move a parameter label (console) (https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-labels.html#sysman-paramstore-labels-console-move) +// or Move a parameter label (CLI) (https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-labels.html#sysman-paramstore-labels-cli-move) +// in the Amazon Web Services Systems Manager User Guide. +// +// - ParameterPatternMismatchException +// The parameter name isn't valid. +// +// - UnsupportedParameterType +// The parameter type isn't supported. +// +// - PoliciesLimitExceededException +// You specified more than the maximum number of allowed policies for the parameter. +// The maximum is 10. +// +// - InvalidPolicyTypeException +// The policy type isn't supported. Parameter Store supports the following policy +// types: Expiration, ExpirationNotification, and NoChangeNotification. +// +// - InvalidPolicyAttributeException +// A policy attribute or its value is invalid. +// +// - IncompatiblePolicyException +// There is a conflict in the policies specified for this parameter. You can't, +// for example, specify two Expiration policies for a parameter. Review your +// policies, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/PutParameter func (c *SSM) PutParameter(input *PutParameterInput) (*PutParameterOutput, error) { @@ -12621,14 +12562,13 @@ const opRegisterDefaultPatchBaseline = "RegisterDefaultPatchBaseline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterDefaultPatchBaselineRequest method. +// req, resp := client.RegisterDefaultPatchBaselineRequest(params) // -// // Example sending a request using the RegisterDefaultPatchBaselineRequest method. -// req, resp := client.RegisterDefaultPatchBaselineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultPatchBaseline func (c *SSM) RegisterDefaultPatchBaselineRequest(input *RegisterDefaultPatchBaselineInput) (req *request.Request, output *RegisterDefaultPatchBaselineOutput) { @@ -12664,20 +12604,21 @@ func (c *SSM) RegisterDefaultPatchBaselineRequest(input *RegisterDefaultPatchBas // API operation RegisterDefaultPatchBaseline for usage and error information. // // Returned Error Types: -// * InvalidResourceId -// The resource ID isn't valid. Verify that you entered the correct ID and try -// again. // -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. +// - InvalidResourceId +// The resource ID isn't valid. Verify that you entered the correct ID and try +// again. +// +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterDefaultPatchBaseline func (c *SSM) RegisterDefaultPatchBaseline(input *RegisterDefaultPatchBaselineInput) (*RegisterDefaultPatchBaselineOutput, error) { @@ -12717,14 +12658,13 @@ const opRegisterPatchBaselineForPatchGroup = "RegisterPatchBaselineForPatchGroup // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterPatchBaselineForPatchGroupRequest method. +// req, resp := client.RegisterPatchBaselineForPatchGroupRequest(params) // -// // Example sending a request using the RegisterPatchBaselineForPatchGroupRequest method. -// req, resp := client.RegisterPatchBaselineForPatchGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterPatchBaselineForPatchGroup func (c *SSM) RegisterPatchBaselineForPatchGroupRequest(input *RegisterPatchBaselineForPatchGroupInput) (req *request.Request, output *RegisterPatchBaselineForPatchGroupOutput) { @@ -12755,32 +12695,33 @@ func (c *SSM) RegisterPatchBaselineForPatchGroupRequest(input *RegisterPatchBase // API operation RegisterPatchBaselineForPatchGroup for usage and error information. // // Returned Error Types: -// * AlreadyExistsException -// Error returned if an attempt is made to register a patch group with a patch -// baseline that is already registered with a different patch baseline. // -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. +// - AlreadyExistsException +// Error returned if an attempt is made to register a patch group with a patch +// baseline that is already registered with a different patch baseline. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. // -// * InvalidResourceId -// The resource ID isn't valid. Verify that you entered the correct ID and try -// again. +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * ResourceLimitExceededException -// Error returned when the caller has exceeded the default resource quotas. -// For example, too many maintenance windows or patch baselines have been created. +// - InvalidResourceId +// The resource ID isn't valid. Verify that you entered the correct ID and try +// again. // -// For information about resource quotas in Systems Manager, see Systems Manager -// service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - ResourceLimitExceededException +// Error returned when the caller has exceeded the default resource quotas. +// For example, too many maintenance windows or patch baselines have been created. // -// * InternalServerError -// An error occurred on the server side. +// For information about resource quotas in Systems Manager, see Systems Manager +// service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterPatchBaselineForPatchGroup func (c *SSM) RegisterPatchBaselineForPatchGroup(input *RegisterPatchBaselineForPatchGroupInput) (*RegisterPatchBaselineForPatchGroupOutput, error) { @@ -12820,14 +12761,13 @@ const opRegisterTargetWithMaintenanceWindow = "RegisterTargetWithMaintenanceWind // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterTargetWithMaintenanceWindowRequest method. +// req, resp := client.RegisterTargetWithMaintenanceWindowRequest(params) // -// // Example sending a request using the RegisterTargetWithMaintenanceWindowRequest method. -// req, resp := client.RegisterTargetWithMaintenanceWindowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTargetWithMaintenanceWindow func (c *SSM) RegisterTargetWithMaintenanceWindowRequest(input *RegisterTargetWithMaintenanceWindowInput) (req *request.Request, output *RegisterTargetWithMaintenanceWindowOutput) { @@ -12858,28 +12798,29 @@ func (c *SSM) RegisterTargetWithMaintenanceWindowRequest(input *RegisterTargetWi // API operation RegisterTargetWithMaintenanceWindow for usage and error information. // // Returned Error Types: -// * IdempotentParameterMismatch -// Error returned when an idempotent operation is retried and the parameters -// don't match the original call to the API with the same idempotency token. // -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. +// - IdempotentParameterMismatch +// Error returned when an idempotent operation is retried and the parameters +// don't match the original call to the API with the same idempotency token. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. // -// * ResourceLimitExceededException -// Error returned when the caller has exceeded the default resource quotas. -// For example, too many maintenance windows or patch baselines have been created. +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// For information about resource quotas in Systems Manager, see Systems Manager -// service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - ResourceLimitExceededException +// Error returned when the caller has exceeded the default resource quotas. +// For example, too many maintenance windows or patch baselines have been created. // -// * InternalServerError -// An error occurred on the server side. +// For information about resource quotas in Systems Manager, see Systems Manager +// service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTargetWithMaintenanceWindow func (c *SSM) RegisterTargetWithMaintenanceWindow(input *RegisterTargetWithMaintenanceWindowInput) (*RegisterTargetWithMaintenanceWindowOutput, error) { @@ -12919,14 +12860,13 @@ const opRegisterTaskWithMaintenanceWindow = "RegisterTaskWithMaintenanceWindow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterTaskWithMaintenanceWindowRequest method. +// req, resp := client.RegisterTaskWithMaintenanceWindowRequest(params) // -// // Example sending a request using the RegisterTaskWithMaintenanceWindowRequest method. -// req, resp := client.RegisterTaskWithMaintenanceWindowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindow func (c *SSM) RegisterTaskWithMaintenanceWindowRequest(input *RegisterTaskWithMaintenanceWindowInput) (req *request.Request, output *RegisterTaskWithMaintenanceWindowOutput) { @@ -12957,32 +12897,33 @@ func (c *SSM) RegisterTaskWithMaintenanceWindowRequest(input *RegisterTaskWithMa // API operation RegisterTaskWithMaintenanceWindow for usage and error information. // // Returned Error Types: -// * IdempotentParameterMismatch -// Error returned when an idempotent operation is retried and the parameters -// don't match the original call to the API with the same idempotency token. // -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. +// - IdempotentParameterMismatch +// Error returned when an idempotent operation is retried and the parameters +// don't match the original call to the API with the same idempotency token. +// +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * ResourceLimitExceededException -// Error returned when the caller has exceeded the default resource quotas. -// For example, too many maintenance windows or patch baselines have been created. +// - ResourceLimitExceededException +// Error returned when the caller has exceeded the default resource quotas. +// For example, too many maintenance windows or patch baselines have been created. // -// For information about resource quotas in Systems Manager, see Systems Manager -// service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// For information about resource quotas in Systems Manager, see Systems Manager +// service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * FeatureNotAvailableException -// You attempted to register a LAMBDA or STEP_FUNCTIONS task in a region where -// the corresponding service isn't available. +// - FeatureNotAvailableException +// You attempted to register a LAMBDA or STEP_FUNCTIONS task in a region where +// the corresponding service isn't available. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RegisterTaskWithMaintenanceWindow func (c *SSM) RegisterTaskWithMaintenanceWindow(input *RegisterTaskWithMaintenanceWindowInput) (*RegisterTaskWithMaintenanceWindowOutput, error) { @@ -13022,14 +12963,13 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsFromResourceRequest method. +// req, resp := client.RemoveTagsFromResourceRequest(params) // -// // Example sending a request using the RemoveTagsFromResourceRequest method. -// req, resp := client.RemoveTagsFromResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RemoveTagsFromResource func (c *SSM) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput) { @@ -13061,20 +13001,21 @@ func (c *SSM) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) // API operation RemoveTagsFromResource for usage and error information. // // Returned Error Types: -// * InvalidResourceType -// The resource type isn't valid. For example, if you are attempting to tag -// an EC2 instance, the instance must be a registered managed node. // -// * InvalidResourceId -// The resource ID isn't valid. Verify that you entered the correct ID and try -// again. +// - InvalidResourceType +// The resource type isn't valid. For example, if you are attempting to tag +// an EC2 instance, the instance must be a registered managed node. +// +// - InvalidResourceId +// The resource ID isn't valid. Verify that you entered the correct ID and try +// again. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // -// * TooManyUpdates -// There are concurrent updates for a resource that supports one update at a -// time. +// - TooManyUpdates +// There are concurrent updates for a resource that supports one update at a +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/RemoveTagsFromResource func (c *SSM) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error) { @@ -13114,14 +13055,13 @@ const opResetServiceSetting = "ResetServiceSetting" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetServiceSettingRequest method. +// req, resp := client.ResetServiceSettingRequest(params) // -// // Example sending a request using the ResetServiceSettingRequest method. -// req, resp := client.ResetServiceSettingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResetServiceSetting func (c *SSM) ResetServiceSettingRequest(input *ResetServiceSettingInput) (req *request.Request, output *ResetServiceSettingOutput) { @@ -13168,16 +13108,17 @@ func (c *SSM) ResetServiceSettingRequest(input *ResetServiceSettingInput) (req * // API operation ResetServiceSetting for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * ServiceSettingNotFound -// The specified service setting wasn't found. Either the service name or the -// setting hasn't been provisioned by the Amazon Web Services service team. +// - InternalServerError +// An error occurred on the server side. +// +// - ServiceSettingNotFound +// The specified service setting wasn't found. Either the service name or the +// setting hasn't been provisioned by the Amazon Web Services service team. // -// * TooManyUpdates -// There are concurrent updates for a resource that supports one update at a -// time. +// - TooManyUpdates +// There are concurrent updates for a resource that supports one update at a +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResetServiceSetting func (c *SSM) ResetServiceSetting(input *ResetServiceSettingInput) (*ResetServiceSettingOutput, error) { @@ -13217,14 +13158,13 @@ const opResumeSession = "ResumeSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResumeSessionRequest method. +// req, resp := client.ResumeSessionRequest(params) // -// // Example sending a request using the ResumeSessionRequest method. -// req, resp := client.ResumeSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResumeSession func (c *SSM) ResumeSessionRequest(input *ResumeSessionInput) (req *request.Request, output *ResumeSessionOutput) { @@ -13259,16 +13199,17 @@ func (c *SSM) ResumeSessionRequest(input *ResumeSessionInput) (req *request.Requ // API operation ResumeSession for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. // -// * InternalServerError -// An error occurred on the server side. +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/ResumeSession func (c *SSM) ResumeSession(input *ResumeSessionInput) (*ResumeSessionOutput, error) { @@ -13308,14 +13249,13 @@ const opSendAutomationSignal = "SendAutomationSignal" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendAutomationSignalRequest method. +// req, resp := client.SendAutomationSignalRequest(params) // -// // Example sending a request using the SendAutomationSignalRequest method. -// req, resp := client.SendAutomationSignalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignal func (c *SSM) SendAutomationSignalRequest(input *SendAutomationSignalInput) (req *request.Request, output *SendAutomationSignalOutput) { @@ -13348,19 +13288,20 @@ func (c *SSM) SendAutomationSignalRequest(input *SendAutomationSignalInput) (req // API operation SendAutomationSignal for usage and error information. // // Returned Error Types: -// * AutomationExecutionNotFoundException -// There is no automation execution information for the requested automation -// execution ID. // -// * AutomationStepNotFoundException -// The specified step name and execution ID don't exist. Verify the information -// and try again. +// - AutomationExecutionNotFoundException +// There is no automation execution information for the requested automation +// execution ID. // -// * InvalidAutomationSignalException -// The signal isn't valid for the current Automation execution. +// - AutomationStepNotFoundException +// The specified step name and execution ID don't exist. Verify the information +// and try again. // -// * InternalServerError -// An error occurred on the server side. +// - InvalidAutomationSignalException +// The signal isn't valid for the current Automation execution. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendAutomationSignal func (c *SSM) SendAutomationSignal(input *SendAutomationSignalInput) (*SendAutomationSignalOutput, error) { @@ -13400,14 +13341,13 @@ const opSendCommand = "SendCommand" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendCommandRequest method. +// req, resp := client.SendCommandRequest(params) // -// // Example sending a request using the SendCommandRequest method. -// req, resp := client.SendCommandRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommand func (c *SSM) SendCommandRequest(input *SendCommandInput) (req *request.Request, output *SendCommandOutput) { @@ -13438,58 +13378,59 @@ func (c *SSM) SendCommandRequest(input *SendCommandInput) (req *request.Request, // API operation SendCommand for usage and error information. // // Returned Error Types: -// * DuplicateInstanceId -// You can't specify a managed node ID in more than one association. // -// * InternalServerError -// An error occurred on the server side. +// - DuplicateInstanceId +// You can't specify a managed node ID in more than one association. +// +// - InternalServerError +// An error occurred on the server side. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InvalidInstanceId +// The following problems can cause this exception: // -// * You don't have permission to access the managed node. +// - You don't have permission to access the managed node. // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidDocumentVersion -// The document version isn't valid or doesn't exist. +// - InvalidDocumentVersion +// The document version isn't valid or doesn't exist. // -// * InvalidOutputFolder -// The S3 bucket doesn't exist. +// - InvalidOutputFolder +// The S3 bucket doesn't exist. // -// * InvalidParameters -// You must specify values for all required parameters in the Amazon Web Services -// Systems Manager document (SSM document). You can only supply values to parameters -// defined in the SSM document. +// - InvalidParameters +// You must specify values for all required parameters in the Amazon Web Services +// Systems Manager document (SSM document). You can only supply values to parameters +// defined in the SSM document. // -// * UnsupportedPlatformType -// The document doesn't support the platform type of the given managed node -// ID(s). For example, you sent an document for a Windows managed node to a -// Linux node. +// - UnsupportedPlatformType +// The document doesn't support the platform type of the given managed node +// ID(s). For example, you sent an document for a Windows managed node to a +// Linux node. // -// * MaxDocumentSizeExceeded -// The size limit of a document is 64 KB. +// - MaxDocumentSizeExceeded +// The size limit of a document is 64 KB. // -// * InvalidRole -// The role name can't contain invalid characters. Also verify that you specified -// an IAM role for notifications that includes the required trust policy. For -// information about configuring the IAM role for Run Command notifications, -// see Configuring Amazon SNS Notifications for Run Command (https://docs.aws.amazon.com/systems-manager/latest/userguide/rc-sns-notifications.html) -// in the Amazon Web Services Systems Manager User Guide. +// - InvalidRole +// The role name can't contain invalid characters. Also verify that you specified +// an IAM role for notifications that includes the required trust policy. For +// information about configuring the IAM role for Run Command notifications, +// see Configuring Amazon SNS Notifications for Run Command (https://docs.aws.amazon.com/systems-manager/latest/userguide/rc-sns-notifications.html) +// in the Amazon Web Services Systems Manager User Guide. // -// * InvalidNotificationConfig -// One or more configuration items isn't valid. Verify that a valid Amazon Resource -// Name (ARN) was provided for an Amazon Simple Notification Service topic. +// - InvalidNotificationConfig +// One or more configuration items isn't valid. Verify that a valid Amazon Resource +// Name (ARN) was provided for an Amazon Simple Notification Service topic. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/SendCommand func (c *SSM) SendCommand(input *SendCommandInput) (*SendCommandOutput, error) { @@ -13529,14 +13470,13 @@ const opStartAssociationsOnce = "StartAssociationsOnce" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartAssociationsOnceRequest method. +// req, resp := client.StartAssociationsOnceRequest(params) // -// // Example sending a request using the StartAssociationsOnceRequest method. -// req, resp := client.StartAssociationsOnceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAssociationsOnce func (c *SSM) StartAssociationsOnceRequest(input *StartAssociationsOnceInput) (req *request.Request, output *StartAssociationsOnceOutput) { @@ -13569,11 +13509,12 @@ func (c *SSM) StartAssociationsOnceRequest(input *StartAssociationsOnceInput) (r // API operation StartAssociationsOnce for usage and error information. // // Returned Error Types: -// * InvalidAssociation -// The association isn't valid or doesn't exist. // -// * AssociationDoesNotExist -// The specified association doesn't exist. +// - InvalidAssociation +// The association isn't valid or doesn't exist. +// +// - AssociationDoesNotExist +// The specified association doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAssociationsOnce func (c *SSM) StartAssociationsOnce(input *StartAssociationsOnceInput) (*StartAssociationsOnceOutput, error) { @@ -13613,14 +13554,13 @@ const opStartAutomationExecution = "StartAutomationExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartAutomationExecutionRequest method. +// req, resp := client.StartAutomationExecutionRequest(params) // -// // Example sending a request using the StartAutomationExecutionRequest method. -// req, resp := client.StartAutomationExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecution func (c *SSM) StartAutomationExecutionRequest(input *StartAutomationExecutionInput) (req *request.Request, output *StartAutomationExecutionOutput) { @@ -13651,31 +13591,32 @@ func (c *SSM) StartAutomationExecutionRequest(input *StartAutomationExecutionInp // API operation StartAutomationExecution for usage and error information. // // Returned Error Types: -// * AutomationDefinitionNotFoundException -// An Automation runbook with the specified name couldn't be found. // -// * InvalidAutomationExecutionParametersException -// The supplied parameters for invoking the specified Automation runbook are -// incorrect. For example, they may not match the set of parameters permitted -// for the specified Automation document. +// - AutomationDefinitionNotFoundException +// An Automation runbook with the specified name couldn't be found. +// +// - InvalidAutomationExecutionParametersException +// The supplied parameters for invoking the specified Automation runbook are +// incorrect. For example, they may not match the set of parameters permitted +// for the specified Automation document. // -// * AutomationExecutionLimitExceededException -// The number of simultaneously running Automation executions exceeded the allowable -// limit. +// - AutomationExecutionLimitExceededException +// The number of simultaneously running Automation executions exceeded the allowable +// limit. // -// * AutomationDefinitionVersionNotFoundException -// An Automation runbook with the specified name and version couldn't be found. +// - AutomationDefinitionVersionNotFoundException +// An Automation runbook with the specified name and version couldn't be found. // -// * IdempotentParameterMismatch -// Error returned when an idempotent operation is retried and the parameters -// don't match the original call to the API with the same idempotency token. +// - IdempotentParameterMismatch +// Error returned when an idempotent operation is retried and the parameters +// don't match the original call to the API with the same idempotency token. // -// * InvalidTarget -// The target isn't valid or doesn't exist. It might not be configured for Systems -// Manager or you might not have permission to perform the operation. +// - InvalidTarget +// The target isn't valid or doesn't exist. It might not be configured for Systems +// Manager or you might not have permission to perform the operation. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecution func (c *SSM) StartAutomationExecution(input *StartAutomationExecutionInput) (*StartAutomationExecutionOutput, error) { @@ -13715,14 +13656,13 @@ const opStartChangeRequestExecution = "StartChangeRequestExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartChangeRequestExecutionRequest method. +// req, resp := client.StartChangeRequestExecutionRequest(params) // -// // Example sending a request using the StartChangeRequestExecutionRequest method. -// req, resp := client.StartChangeRequestExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartChangeRequestExecution func (c *SSM) StartChangeRequestExecutionRequest(input *StartChangeRequestExecutionInput) (req *request.Request, output *StartChangeRequestExecutionOutput) { @@ -13755,31 +13695,32 @@ func (c *SSM) StartChangeRequestExecutionRequest(input *StartChangeRequestExecut // API operation StartChangeRequestExecution for usage and error information. // // Returned Error Types: -// * AutomationDefinitionNotFoundException -// An Automation runbook with the specified name couldn't be found. // -// * InvalidAutomationExecutionParametersException -// The supplied parameters for invoking the specified Automation runbook are -// incorrect. For example, they may not match the set of parameters permitted -// for the specified Automation document. +// - AutomationDefinitionNotFoundException +// An Automation runbook with the specified name couldn't be found. // -// * AutomationExecutionLimitExceededException -// The number of simultaneously running Automation executions exceeded the allowable -// limit. +// - InvalidAutomationExecutionParametersException +// The supplied parameters for invoking the specified Automation runbook are +// incorrect. For example, they may not match the set of parameters permitted +// for the specified Automation document. // -// * AutomationDefinitionVersionNotFoundException -// An Automation runbook with the specified name and version couldn't be found. +// - AutomationExecutionLimitExceededException +// The number of simultaneously running Automation executions exceeded the allowable +// limit. // -// * IdempotentParameterMismatch -// Error returned when an idempotent operation is retried and the parameters -// don't match the original call to the API with the same idempotency token. +// - AutomationDefinitionVersionNotFoundException +// An Automation runbook with the specified name and version couldn't be found. // -// * InternalServerError -// An error occurred on the server side. +// - IdempotentParameterMismatch +// Error returned when an idempotent operation is retried and the parameters +// don't match the original call to the API with the same idempotency token. // -// * AutomationDefinitionNotApprovedException -// Indicates that the Change Manager change template used in the change request -// was rejected or is still in a pending state. +// - InternalServerError +// An error occurred on the server side. +// +// - AutomationDefinitionNotApprovedException +// Indicates that the Change Manager change template used in the change request +// was rejected or is still in a pending state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartChangeRequestExecution func (c *SSM) StartChangeRequestExecution(input *StartChangeRequestExecutionInput) (*StartChangeRequestExecutionOutput, error) { @@ -13819,14 +13760,13 @@ const opStartSession = "StartSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartSessionRequest method. +// req, resp := client.StartSessionRequest(params) // -// // Example sending a request using the StartSessionRequest method. -// req, resp := client.StartSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartSession func (c *SSM) StartSessionRequest(input *StartSessionInput) (req *request.Request, output *StartSessionOutput) { @@ -13868,19 +13808,20 @@ func (c *SSM) StartSessionRequest(input *StartSessionInput) (req *request.Reques // API operation StartSession for usage and error information. // // Returned Error Types: -// * InvalidDocument -// The specified SSM document doesn't exist. // -// * TargetNotConnected -// The specified target managed node for the session isn't fully configured -// for use with Session Manager. For more information, see Getting started with -// Session Manager (https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started.html) -// in the Amazon Web Services Systems Manager User Guide. This error is also -// returned if you attempt to start a session on a managed node that is located -// in a different account or Region +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InternalServerError -// An error occurred on the server side. +// - TargetNotConnected +// The specified target managed node for the session isn't fully configured +// for use with Session Manager. For more information, see Getting started with +// Session Manager (https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started.html) +// in the Amazon Web Services Systems Manager User Guide. This error is also +// returned if you attempt to start a session on a managed node that is located +// in a different account or Region +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartSession func (c *SSM) StartSession(input *StartSessionInput) (*StartSessionOutput, error) { @@ -13920,14 +13861,13 @@ const opStopAutomationExecution = "StopAutomationExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopAutomationExecutionRequest method. +// req, resp := client.StopAutomationExecutionRequest(params) // -// // Example sending a request using the StopAutomationExecutionRequest method. -// req, resp := client.StopAutomationExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StopAutomationExecution func (c *SSM) StopAutomationExecutionRequest(input *StopAutomationExecutionInput) (req *request.Request, output *StopAutomationExecutionOutput) { @@ -13959,15 +13899,16 @@ func (c *SSM) StopAutomationExecutionRequest(input *StopAutomationExecutionInput // API operation StopAutomationExecution for usage and error information. // // Returned Error Types: -// * AutomationExecutionNotFoundException -// There is no automation execution information for the requested automation -// execution ID. // -// * InvalidAutomationStatusUpdateException -// The specified update status operation isn't valid. +// - AutomationExecutionNotFoundException +// There is no automation execution information for the requested automation +// execution ID. +// +// - InvalidAutomationStatusUpdateException +// The specified update status operation isn't valid. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StopAutomationExecution func (c *SSM) StopAutomationExecution(input *StopAutomationExecutionInput) (*StopAutomationExecutionOutput, error) { @@ -14007,14 +13948,13 @@ const opTerminateSession = "TerminateSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TerminateSessionRequest method. +// req, resp := client.TerminateSessionRequest(params) // -// // Example sending a request using the TerminateSessionRequest method. -// req, resp := client.TerminateSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/TerminateSession func (c *SSM) TerminateSessionRequest(input *TerminateSessionInput) (req *request.Request, output *TerminateSessionOutput) { @@ -14047,8 +13987,8 @@ func (c *SSM) TerminateSessionRequest(input *TerminateSessionInput) (req *reques // API operation TerminateSession for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/TerminateSession func (c *SSM) TerminateSession(input *TerminateSessionInput) (*TerminateSessionOutput, error) { @@ -14088,14 +14028,13 @@ const opUnlabelParameterVersion = "UnlabelParameterVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UnlabelParameterVersionRequest method. +// req, resp := client.UnlabelParameterVersionRequest(params) // -// // Example sending a request using the UnlabelParameterVersionRequest method. -// req, resp := client.UnlabelParameterVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UnlabelParameterVersion func (c *SSM) UnlabelParameterVersionRequest(input *UnlabelParameterVersionInput) (req *request.Request, output *UnlabelParameterVersionOutput) { @@ -14126,19 +14065,20 @@ func (c *SSM) UnlabelParameterVersionRequest(input *UnlabelParameterVersionInput // API operation UnlabelParameterVersion for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * TooManyUpdates -// There are concurrent updates for a resource that supports one update at a -// time. +// - InternalServerError +// An error occurred on the server side. // -// * ParameterNotFound -// The parameter couldn't be found. Verify the name and try again. +// - TooManyUpdates +// There are concurrent updates for a resource that supports one update at a +// time. // -// * ParameterVersionNotFound -// The specified parameter version wasn't found. Verify the parameter name and -// version, and try again. +// - ParameterNotFound +// The parameter couldn't be found. Verify the name and try again. +// +// - ParameterVersionNotFound +// The specified parameter version wasn't found. Verify the parameter name and +// version, and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UnlabelParameterVersion func (c *SSM) UnlabelParameterVersion(input *UnlabelParameterVersionInput) (*UnlabelParameterVersionOutput, error) { @@ -14178,14 +14118,13 @@ const opUpdateAssociation = "UpdateAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAssociationRequest method. +// req, resp := client.UpdateAssociationRequest(params) // -// // Example sending a request using the UpdateAssociationRequest method. -// req, resp := client.UpdateAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation func (c *SSM) UpdateAssociationRequest(input *UpdateAssociationInput) (req *request.Request, output *UpdateAssociationOutput) { @@ -14236,51 +14175,52 @@ func (c *SSM) UpdateAssociationRequest(input *UpdateAssociationInput) (req *requ // API operation UpdateAssociation for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidSchedule -// The schedule is invalid. Verify your cron or rate expression and try again. +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidSchedule +// The schedule is invalid. Verify your cron or rate expression and try again. // -// * InvalidParameters -// You must specify values for all required parameters in the Amazon Web Services -// Systems Manager document (SSM document). You can only supply values to parameters -// defined in the SSM document. +// - InvalidParameters +// You must specify values for all required parameters in the Amazon Web Services +// Systems Manager document (SSM document). You can only supply values to parameters +// defined in the SSM document. // -// * InvalidOutputLocation -// The output location isn't valid or doesn't exist. +// - InvalidOutputLocation +// The output location isn't valid or doesn't exist. // -// * InvalidDocumentVersion -// The document version isn't valid or doesn't exist. +// - InvalidDocumentVersion +// The document version isn't valid or doesn't exist. // -// * AssociationDoesNotExist -// The specified association doesn't exist. +// - AssociationDoesNotExist +// The specified association doesn't exist. // -// * InvalidUpdate -// The update isn't valid. +// - InvalidUpdate +// The update isn't valid. // -// * TooManyUpdates -// There are concurrent updates for a resource that supports one update at a -// time. +// - TooManyUpdates +// There are concurrent updates for a resource that supports one update at a +// time. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidTarget -// The target isn't valid or doesn't exist. It might not be configured for Systems -// Manager or you might not have permission to perform the operation. +// - InvalidTarget +// The target isn't valid or doesn't exist. It might not be configured for Systems +// Manager or you might not have permission to perform the operation. // -// * InvalidAssociationVersion -// The version you specified isn't valid. Use ListAssociationVersions to view -// all versions of an association according to the association ID. Or, use the -// $LATEST parameter to view the latest version of the association. +// - InvalidAssociationVersion +// The version you specified isn't valid. Use ListAssociationVersions to view +// all versions of an association according to the association ID. Or, use the +// $LATEST parameter to view the latest version of the association. // -// * AssociationVersionLimitExceeded -// You have reached the maximum number versions allowed for an association. -// Each association has a limit of 1,000 versions. +// - AssociationVersionLimitExceeded +// You have reached the maximum number versions allowed for an association. +// Each association has a limit of 1,000 versions. // -// * InvalidTargetMaps -// TargetMap parameter isn't valid. +// - InvalidTargetMaps +// TargetMap parameter isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociation func (c *SSM) UpdateAssociation(input *UpdateAssociationInput) (*UpdateAssociationOutput, error) { @@ -14320,14 +14260,13 @@ const opUpdateAssociationStatus = "UpdateAssociationStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAssociationStatusRequest method. +// req, resp := client.UpdateAssociationStatusRequest(params) // -// // Example sending a request using the UpdateAssociationStatusRequest method. -// req, resp := client.UpdateAssociationStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus func (c *SSM) UpdateAssociationStatusRequest(input *UpdateAssociationStatusInput) (req *request.Request, output *UpdateAssociationStatusOutput) { @@ -14363,35 +14302,36 @@ func (c *SSM) UpdateAssociationStatusRequest(input *UpdateAssociationStatusInput // API operation UpdateAssociationStatus for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidInstanceId -// The following problems can cause this exception: +// - InternalServerError +// An error occurred on the server side. +// +// - InvalidInstanceId +// The following problems can cause this exception: // -// * You don't have permission to access the managed node. +// - You don't have permission to access the managed node. // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * AssociationDoesNotExist -// The specified association doesn't exist. +// - AssociationDoesNotExist +// The specified association doesn't exist. // -// * StatusUnchanged -// The updated status is the same as the current status. +// - StatusUnchanged +// The updated status is the same as the current status. // -// * TooManyUpdates -// There are concurrent updates for a resource that supports one update at a -// time. +// - TooManyUpdates +// There are concurrent updates for a resource that supports one update at a +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateAssociationStatus func (c *SSM) UpdateAssociationStatus(input *UpdateAssociationStatusInput) (*UpdateAssociationStatusOutput, error) { @@ -14431,14 +14371,13 @@ const opUpdateDocument = "UpdateDocument" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDocumentRequest method. +// req, resp := client.UpdateDocumentRequest(params) // -// // Example sending a request using the UpdateDocumentRequest method. -// req, resp := client.UpdateDocumentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument func (c *SSM) UpdateDocumentRequest(input *UpdateDocumentInput) (req *request.Request, output *UpdateDocumentOutput) { @@ -14469,39 +14408,40 @@ func (c *SSM) UpdateDocumentRequest(input *UpdateDocumentInput) (req *request.Re // API operation UpdateDocument for usage and error information. // // Returned Error Types: -// * MaxDocumentSizeExceeded -// The size limit of a document is 64 KB. // -// * DocumentVersionLimitExceeded -// The document has too many versions. Delete one or more document versions -// and try again. +// - MaxDocumentSizeExceeded +// The size limit of a document is 64 KB. +// +// - DocumentVersionLimitExceeded +// The document has too many versions. Delete one or more document versions +// and try again. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // -// * DuplicateDocumentContent -// The content of the association document matches another document. Change -// the content of the document and try again. +// - DuplicateDocumentContent +// The content of the association document matches another document. Change +// the content of the document and try again. // -// * DuplicateDocumentVersionName -// The version name has already been used in this document. Specify a different -// version name, and then try again. +// - DuplicateDocumentVersionName +// The version name has already been used in this document. Specify a different +// version name, and then try again. // -// * InvalidDocumentContent -// The content for the document isn't valid. +// - InvalidDocumentContent +// The content for the document isn't valid. // -// * InvalidDocumentVersion -// The document version isn't valid or doesn't exist. +// - InvalidDocumentVersion +// The document version isn't valid or doesn't exist. // -// * InvalidDocumentSchemaVersion -// The version of the document schema isn't supported. +// - InvalidDocumentSchemaVersion +// The version of the document schema isn't supported. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidDocumentOperation -// You attempted to delete a document while it is still shared. You must stop -// sharing the document before you can delete it. +// - InvalidDocumentOperation +// You attempted to delete a document while it is still shared. You must stop +// sharing the document before you can delete it. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocument func (c *SSM) UpdateDocument(input *UpdateDocumentInput) (*UpdateDocumentOutput, error) { @@ -14541,14 +14481,13 @@ const opUpdateDocumentDefaultVersion = "UpdateDocumentDefaultVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDocumentDefaultVersionRequest method. +// req, resp := client.UpdateDocumentDefaultVersionRequest(params) // -// // Example sending a request using the UpdateDocumentDefaultVersionRequest method. -// req, resp := client.UpdateDocumentDefaultVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentDefaultVersion func (c *SSM) UpdateDocumentDefaultVersionRequest(input *UpdateDocumentDefaultVersionInput) (req *request.Request, output *UpdateDocumentDefaultVersionOutput) { @@ -14583,17 +14522,18 @@ func (c *SSM) UpdateDocumentDefaultVersionRequest(input *UpdateDocumentDefaultVe // API operation UpdateDocumentDefaultVersion for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InternalServerError +// An error occurred on the server side. // -// * InvalidDocumentVersion -// The document version isn't valid or doesn't exist. +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidDocumentSchemaVersion -// The version of the document schema isn't supported. +// - InvalidDocumentVersion +// The document version isn't valid or doesn't exist. +// +// - InvalidDocumentSchemaVersion +// The version of the document schema isn't supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentDefaultVersion func (c *SSM) UpdateDocumentDefaultVersion(input *UpdateDocumentDefaultVersionInput) (*UpdateDocumentDefaultVersionOutput, error) { @@ -14633,14 +14573,13 @@ const opUpdateDocumentMetadata = "UpdateDocumentMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDocumentMetadataRequest method. +// req, resp := client.UpdateDocumentMetadataRequest(params) // -// // Example sending a request using the UpdateDocumentMetadataRequest method. -// req, resp := client.UpdateDocumentMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentMetadata func (c *SSM) UpdateDocumentMetadataRequest(input *UpdateDocumentMetadataInput) (req *request.Request, output *UpdateDocumentMetadataOutput) { @@ -14673,18 +14612,19 @@ func (c *SSM) UpdateDocumentMetadataRequest(input *UpdateDocumentMetadataInput) // API operation UpdateDocumentMetadata for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * InvalidDocument -// The specified SSM document doesn't exist. +// - InternalServerError +// An error occurred on the server side. // -// * InvalidDocumentOperation -// You attempted to delete a document while it is still shared. You must stop -// sharing the document before you can delete it. +// - InvalidDocument +// The specified SSM document doesn't exist. // -// * InvalidDocumentVersion -// The document version isn't valid or doesn't exist. +// - InvalidDocumentOperation +// You attempted to delete a document while it is still shared. You must stop +// sharing the document before you can delete it. +// +// - InvalidDocumentVersion +// The document version isn't valid or doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateDocumentMetadata func (c *SSM) UpdateDocumentMetadata(input *UpdateDocumentMetadataInput) (*UpdateDocumentMetadataOutput, error) { @@ -14724,14 +14664,13 @@ const opUpdateMaintenanceWindow = "UpdateMaintenanceWindow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMaintenanceWindowRequest method. +// req, resp := client.UpdateMaintenanceWindowRequest(params) // -// // Example sending a request using the UpdateMaintenanceWindowRequest method. -// req, resp := client.UpdateMaintenanceWindowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindow func (c *SSM) UpdateMaintenanceWindowRequest(input *UpdateMaintenanceWindowInput) (req *request.Request, output *UpdateMaintenanceWindowOutput) { @@ -14769,16 +14708,17 @@ func (c *SSM) UpdateMaintenanceWindowRequest(input *UpdateMaintenanceWindowInput // API operation UpdateMaintenanceWindow for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. +// +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindow func (c *SSM) UpdateMaintenanceWindow(input *UpdateMaintenanceWindowInput) (*UpdateMaintenanceWindowOutput, error) { @@ -14818,14 +14758,13 @@ const opUpdateMaintenanceWindowTarget = "UpdateMaintenanceWindowTarget" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMaintenanceWindowTargetRequest method. +// req, resp := client.UpdateMaintenanceWindowTargetRequest(params) // -// // Example sending a request using the UpdateMaintenanceWindowTargetRequest method. -// req, resp := client.UpdateMaintenanceWindowTargetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTarget func (c *SSM) UpdateMaintenanceWindowTargetRequest(input *UpdateMaintenanceWindowTargetInput) (req *request.Request, output *UpdateMaintenanceWindowTargetOutput) { @@ -14849,19 +14788,19 @@ func (c *SSM) UpdateMaintenanceWindowTargetRequest(input *UpdateMaintenanceWindo // Modifies the target of an existing maintenance window. You can change the // following: // -// * Name +// - Name // -// * Description +// - Description // -// * Owner +// - Owner // -// * IDs for an ID target +// - IDs for an ID target // -// * Tags for a Tag target +// - Tags for a Tag target // -// * From any supported tag type to another. The three supported tag types -// are ID target, Tag target, and resource group. For more information, see -// Target. +// - From any supported tag type to another. The three supported tag types +// are ID target, Tag target, and resource group. For more information, see +// Target. // // If a parameter is null, then the corresponding field isn't modified. // @@ -14873,16 +14812,17 @@ func (c *SSM) UpdateMaintenanceWindowTargetRequest(input *UpdateMaintenanceWindo // API operation UpdateMaintenanceWindowTarget for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. +// +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTarget func (c *SSM) UpdateMaintenanceWindowTarget(input *UpdateMaintenanceWindowTargetInput) (*UpdateMaintenanceWindowTargetOutput, error) { @@ -14922,14 +14862,13 @@ const opUpdateMaintenanceWindowTask = "UpdateMaintenanceWindowTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMaintenanceWindowTaskRequest method. +// req, resp := client.UpdateMaintenanceWindowTaskRequest(params) // -// // Example sending a request using the UpdateMaintenanceWindowTaskRequest method. -// req, resp := client.UpdateMaintenanceWindowTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTask func (c *SSM) UpdateMaintenanceWindowTaskRequest(input *UpdateMaintenanceWindowTaskInput) (req *request.Request, output *UpdateMaintenanceWindowTaskOutput) { @@ -14953,18 +14892,18 @@ func (c *SSM) UpdateMaintenanceWindowTaskRequest(input *UpdateMaintenanceWindowT // Modifies a task assigned to a maintenance window. You can't change the task // type, but you can change the following values: // -// * TaskARN. For example, you can change a RUN_COMMAND task from AWS-RunPowerShellScript -// to AWS-RunShellScript. +// - TaskARN. For example, you can change a RUN_COMMAND task from AWS-RunPowerShellScript +// to AWS-RunShellScript. // -// * ServiceRoleArn +// - ServiceRoleArn // -// * TaskInvocationParameters +// - TaskInvocationParameters // -// * Priority +// - Priority // -// * MaxConcurrency +// - MaxConcurrency // -// * MaxErrors +// - MaxErrors // // One or more targets must be specified for maintenance window Run Command-type // tasks. Depending on the task, targets are optional for other maintenance @@ -14995,16 +14934,17 @@ func (c *SSM) UpdateMaintenanceWindowTaskRequest(input *UpdateMaintenanceWindowT // API operation UpdateMaintenanceWindowTask for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. +// +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateMaintenanceWindowTask func (c *SSM) UpdateMaintenanceWindowTask(input *UpdateMaintenanceWindowTaskInput) (*UpdateMaintenanceWindowTaskOutput, error) { @@ -15044,14 +14984,13 @@ const opUpdateManagedInstanceRole = "UpdateManagedInstanceRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateManagedInstanceRoleRequest method. +// req, resp := client.UpdateManagedInstanceRoleRequest(params) // -// // Example sending a request using the UpdateManagedInstanceRoleRequest method. -// req, resp := client.UpdateManagedInstanceRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateManagedInstanceRole func (c *SSM) UpdateManagedInstanceRoleRequest(input *UpdateManagedInstanceRoleInput) (req *request.Request, output *UpdateManagedInstanceRoleOutput) { @@ -15086,22 +15025,23 @@ func (c *SSM) UpdateManagedInstanceRoleRequest(input *UpdateManagedInstanceRoleI // API operation UpdateManagedInstanceRole for usage and error information. // // Returned Error Types: -// * InvalidInstanceId -// The following problems can cause this exception: // -// * You don't have permission to access the managed node. +// - InvalidInstanceId +// The following problems can cause this exception: // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - You don't have permission to access the managed node. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * InternalServerError -// An error occurred on the server side. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateManagedInstanceRole func (c *SSM) UpdateManagedInstanceRole(input *UpdateManagedInstanceRoleInput) (*UpdateManagedInstanceRoleOutput, error) { @@ -15141,14 +15081,13 @@ const opUpdateOpsItem = "UpdateOpsItem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateOpsItemRequest method. +// req, resp := client.UpdateOpsItemRequest(params) // -// // Example sending a request using the UpdateOpsItemRequest method. -// req, resp := client.UpdateOpsItemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsItem func (c *SSM) UpdateOpsItemRequest(input *UpdateOpsItemInput) (req *request.Request, output *UpdateOpsItemOutput) { @@ -15189,22 +15128,23 @@ func (c *SSM) UpdateOpsItemRequest(input *UpdateOpsItemInput) (req *request.Requ // API operation UpdateOpsItem for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * OpsItemNotFoundException -// The specified OpsItem ID doesn't exist. Verify the ID and try again. +// - InternalServerError +// An error occurred on the server side. // -// * OpsItemAlreadyExistsException -// The OpsItem already exists. +// - OpsItemNotFoundException +// The specified OpsItem ID doesn't exist. Verify the ID and try again. // -// * OpsItemLimitExceededException -// The request caused OpsItems to exceed one or more quotas. For information -// about OpsItem quotas, see What are the resource limits for OpsCenter? (https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-learn-more.html#OpsCenter-learn-more-limits). +// - OpsItemAlreadyExistsException +// The OpsItem already exists. // -// * OpsItemInvalidParameterException -// A specified parameter argument isn't valid. Verify the available arguments -// and try again. +// - OpsItemLimitExceededException +// The request caused OpsItems to exceed one or more quotas. For information +// about OpsItem quotas, see What are the resource limits for OpsCenter? (https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-learn-more.html#OpsCenter-learn-more-limits). +// +// - OpsItemInvalidParameterException +// A specified parameter argument isn't valid. Verify the available arguments +// and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsItem func (c *SSM) UpdateOpsItem(input *UpdateOpsItemInput) (*UpdateOpsItemOutput, error) { @@ -15244,14 +15184,13 @@ const opUpdateOpsMetadata = "UpdateOpsMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateOpsMetadataRequest method. +// req, resp := client.UpdateOpsMetadataRequest(params) // -// // Example sending a request using the UpdateOpsMetadataRequest method. -// req, resp := client.UpdateOpsMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsMetadata func (c *SSM) UpdateOpsMetadataRequest(input *UpdateOpsMetadataInput) (req *request.Request, output *UpdateOpsMetadataOutput) { @@ -15283,22 +15222,23 @@ func (c *SSM) UpdateOpsMetadataRequest(input *UpdateOpsMetadataInput) (req *requ // API operation UpdateOpsMetadata for usage and error information. // // Returned Error Types: -// * OpsMetadataNotFoundException -// The OpsMetadata object doesn't exist. // -// * OpsMetadataInvalidArgumentException -// One of the arguments passed is invalid. +// - OpsMetadataNotFoundException +// The OpsMetadata object doesn't exist. +// +// - OpsMetadataInvalidArgumentException +// One of the arguments passed is invalid. // -// * OpsMetadataKeyLimitExceededException -// The OpsMetadata object exceeds the maximum number of OpsMetadata keys that -// you can assign to an application in Application Manager. +// - OpsMetadataKeyLimitExceededException +// The OpsMetadata object exceeds the maximum number of OpsMetadata keys that +// you can assign to an application in Application Manager. // -// * OpsMetadataTooManyUpdatesException -// The system is processing too many concurrent updates. Wait a few moments -// and try again. +// - OpsMetadataTooManyUpdatesException +// The system is processing too many concurrent updates. Wait a few moments +// and try again. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsMetadata func (c *SSM) UpdateOpsMetadata(input *UpdateOpsMetadataInput) (*UpdateOpsMetadataOutput, error) { @@ -15338,14 +15278,13 @@ const opUpdatePatchBaseline = "UpdatePatchBaseline" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePatchBaselineRequest method. +// req, resp := client.UpdatePatchBaselineRequest(params) // -// // Example sending a request using the UpdatePatchBaselineRequest method. -// req, resp := client.UpdatePatchBaselineRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdatePatchBaseline func (c *SSM) UpdatePatchBaselineRequest(input *UpdatePatchBaselineInput) (req *request.Request, output *UpdatePatchBaselineOutput) { @@ -15380,16 +15319,17 @@ func (c *SSM) UpdatePatchBaselineRequest(input *UpdatePatchBaselineInput) (req * // API operation UpdatePatchBaseline for usage and error information. // // Returned Error Types: -// * DoesNotExistException -// Error returned when the ID specified for a resource, such as a maintenance -// window or patch baseline, doesn't exist. // -// For information about resource quotas in Amazon Web Services Systems Manager, -// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) -// in the Amazon Web Services General Reference. +// - DoesNotExistException +// Error returned when the ID specified for a resource, such as a maintenance +// window or patch baseline, doesn't exist. +// +// For information about resource quotas in Amazon Web Services Systems Manager, +// see Systems Manager service quotas (https://docs.aws.amazon.com/general/latest/gr/ssm.html#limits_ssm) +// in the Amazon Web Services General Reference. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdatePatchBaseline func (c *SSM) UpdatePatchBaseline(input *UpdatePatchBaselineInput) (*UpdatePatchBaselineOutput, error) { @@ -15429,14 +15369,13 @@ const opUpdateResourceDataSync = "UpdateResourceDataSync" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResourceDataSyncRequest method. +// req, resp := client.UpdateResourceDataSyncRequest(params) // -// // Example sending a request using the UpdateResourceDataSyncRequest method. -// req, resp := client.UpdateResourceDataSyncRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateResourceDataSync func (c *SSM) UpdateResourceDataSyncRequest(input *UpdateResourceDataSyncInput) (req *request.Request, output *UpdateResourceDataSyncOutput) { @@ -15476,18 +15415,19 @@ func (c *SSM) UpdateResourceDataSyncRequest(input *UpdateResourceDataSyncInput) // API operation UpdateResourceDataSync for usage and error information. // // Returned Error Types: -// * ResourceDataSyncNotFoundException -// The specified sync name wasn't found. // -// * ResourceDataSyncInvalidConfigurationException -// The specified sync configuration is invalid. +// - ResourceDataSyncNotFoundException +// The specified sync name wasn't found. +// +// - ResourceDataSyncInvalidConfigurationException +// The specified sync configuration is invalid. // -// * ResourceDataSyncConflictException -// Another UpdateResourceDataSync request is being processed. Wait a few minutes -// and try again. +// - ResourceDataSyncConflictException +// Another UpdateResourceDataSync request is being processed. Wait a few minutes +// and try again. // -// * InternalServerError -// An error occurred on the server side. +// - InternalServerError +// An error occurred on the server side. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateResourceDataSync func (c *SSM) UpdateResourceDataSync(input *UpdateResourceDataSyncInput) (*UpdateResourceDataSyncOutput, error) { @@ -15527,14 +15467,13 @@ const opUpdateServiceSetting = "UpdateServiceSetting" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServiceSettingRequest method. +// req, resp := client.UpdateServiceSettingRequest(params) // -// // Example sending a request using the UpdateServiceSettingRequest method. -// req, resp := client.UpdateServiceSettingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateServiceSetting func (c *SSM) UpdateServiceSettingRequest(input *UpdateServiceSettingInput) (req *request.Request, output *UpdateServiceSettingOutput) { @@ -15581,16 +15520,17 @@ func (c *SSM) UpdateServiceSettingRequest(input *UpdateServiceSettingInput) (req // API operation UpdateServiceSetting for usage and error information. // // Returned Error Types: -// * InternalServerError -// An error occurred on the server side. // -// * ServiceSettingNotFound -// The specified service setting wasn't found. Either the service name or the -// setting hasn't been provisioned by the Amazon Web Services service team. +// - InternalServerError +// An error occurred on the server side. +// +// - ServiceSettingNotFound +// The specified service setting wasn't found. Either the service name or the +// setting hasn't been provisioned by the Amazon Web Services service team. // -// * TooManyUpdates -// There are concurrent updates for a resource that supports one update at a -// time. +// - TooManyUpdates +// There are concurrent updates for a resource that supports one update at a +// time. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateServiceSetting func (c *SSM) UpdateServiceSetting(input *UpdateServiceSettingInput) (*UpdateServiceSettingOutput, error) { @@ -29340,41 +29280,41 @@ func (s *DocumentIdentifier) SetVersionName(v string) *DocumentIdentifier { // // DocumentType // -// * ApplicationConfiguration +// - ApplicationConfiguration // -// * ApplicationConfigurationSchema +// - ApplicationConfigurationSchema // -// * Automation +// - Automation // -// * ChangeCalendar +// - ChangeCalendar // -// * Command +// - Command // -// * Package +// - Package // -// * Policy +// - Policy // -// * Session +// - Session // -// Owner +// # Owner // // Note that only one Owner can be specified in a request. For example: Key=Owner,Values=Self. // -// * Amazon +// - Amazon // -// * Private +// - Private // -// * Public +// - Public // -// * Self +// - Self // -// * ThirdParty +// - ThirdParty // // PlatformTypes // -// * Linux +// - Linux // -// * Windows +// - Windows // // Name is another Amazon Web Services-provided key. If you use Name as a key, // you can use a name prefix to return a list of documents. For example, in @@ -35552,11 +35492,11 @@ func (s *InstancePatchState) SetUnreportedNotApplicableCount(v int64) *InstanceP // Example: To filter for all managed nodes in a patch group having more than // three patches with a FailedCount status, use the following for the filter: // -// * Value for Key: FailedCount +// - Value for Key: FailedCount // -// * Value for Type: GreaterThan +// - Value for Type: GreaterThan // -// * Value for Values: 3 +// - Value for Values: 3 type InstancePatchStateFilter struct { _ struct{} `type:"structure"` @@ -37146,16 +37086,16 @@ func (s *InvalidFilterValue) RequestID() string { // The following problems can cause this exception: // -// * You don't have permission to access the managed node. +// - You don't have permission to access the managed node. // -// * Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. -// Verify that SSM Agent is running. +// - Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. +// Verify that SSM Agent is running. // -// * SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM -// Agent. +// - SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM +// Agent. // -// * The managed node isn't in valid state. Valid states are: Running, Pending, -// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. +// - The managed node isn't in valid state. Valid states are: Running, Pending, +// Stopped, and Stopping. Invalid states are: Shutting-down and Terminated. type InvalidInstanceId struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -42496,17 +42436,17 @@ func (s *MaintenanceWindowExecutionTaskInvocationIdentity) SetWindowTargetId(v s // that includes the filter. API operations that use MaintenanceWindowFilter> // include the following: // -// * DescribeMaintenanceWindowExecutions +// - DescribeMaintenanceWindowExecutions // -// * DescribeMaintenanceWindowExecutionTaskInvocations +// - DescribeMaintenanceWindowExecutionTaskInvocations // -// * DescribeMaintenanceWindowExecutionTasks +// - DescribeMaintenanceWindowExecutionTasks // -// * DescribeMaintenanceWindows +// - DescribeMaintenanceWindows // -// * DescribeMaintenanceWindowTargets +// - DescribeMaintenanceWindowTargets // -// * DescribeMaintenanceWindowTasks +// - DescribeMaintenanceWindowTasks type MaintenanceWindowFilter struct { _ struct{} `type:"structure"` @@ -47811,13 +47751,13 @@ func (s *PatchGroupPatchBaselineMapping) SetPatchGroup(v string) *PatchGroupPatc // on the API operation that includes the filter. Patch Manager API operations // that use PatchOrchestratorFilter include the following: // -// * DescribeAvailablePatches +// - DescribeAvailablePatches // -// * DescribeInstancePatches +// - DescribeInstancePatches // -// * DescribePatchBaselines +// - DescribePatchBaselines // -// * DescribePatchGroups +// - DescribePatchGroups type PatchOrchestratorFilter struct { _ struct{} `type:"structure"` @@ -54056,39 +53996,39 @@ func (s *Tag) SetValue(v string) *Tag { // // Supported formats include the following. // -// * Key=InstanceIds,Values=,, +// - Key=InstanceIds,Values=,, // -// * Key=tag:,Values=, +// - Key=tag:,Values=, // -// * Key=tag-key,Values=, +// - Key=tag-key,Values=, // -// * Run Command and Maintenance window targets only: Key=resource-groups:Name,Values= +// - Run Command and Maintenance window targets only: Key=resource-groups:Name,Values= // -// * Maintenance window targets only: Key=resource-groups:ResourceTypeFilters,Values=, +// - Maintenance window targets only: Key=resource-groups:ResourceTypeFilters,Values=, // -// * Automation targets only: Key=ResourceGroup;Values= +// - Automation targets only: Key=ResourceGroup;Values= // // For example: // -// * Key=InstanceIds,Values=i-02573cafcfEXAMPLE,i-0471e04240EXAMPLE,i-07782c72faEXAMPLE +// - Key=InstanceIds,Values=i-02573cafcfEXAMPLE,i-0471e04240EXAMPLE,i-07782c72faEXAMPLE // -// * Key=tag:CostCenter,Values=CostCenter1,CostCenter2,CostCenter3 +// - Key=tag:CostCenter,Values=CostCenter1,CostCenter2,CostCenter3 // -// * Key=tag-key,Values=Name,Instance-Type,CostCenter +// - Key=tag-key,Values=Name,Instance-Type,CostCenter // -// * Run Command and Maintenance window targets only: Key=resource-groups:Name,Values=ProductionResourceGroup -// This example demonstrates how to target all resources in the resource -// group ProductionResourceGroup in your maintenance window. +// - Run Command and Maintenance window targets only: Key=resource-groups:Name,Values=ProductionResourceGroup +// This example demonstrates how to target all resources in the resource +// group ProductionResourceGroup in your maintenance window. // -// * Maintenance window targets only: Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC -// This example demonstrates how to target only Amazon Elastic Compute Cloud -// (Amazon EC2) instances and VPCs in your maintenance window. +// - Maintenance window targets only: Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC +// This example demonstrates how to target only Amazon Elastic Compute Cloud +// (Amazon EC2) instances and VPCs in your maintenance window. // -// * Automation targets only: Key=ResourceGroup,Values=MyResourceGroup +// - Automation targets only: Key=ResourceGroup,Values=MyResourceGroup // -// * State Manager association targets only: Key=InstanceIds,Values=* This -// example demonstrates how to target all managed instances in the Amazon -// Web Services Region where the association was created. +// - State Manager association targets only: Key=InstanceIds,Values=* This +// example demonstrates how to target all managed instances in the Amazon +// Web Services Region where the association was created. // // For more information about how to send commands that target managed nodes // using Key,Value parameters, see Targeting multiple instances (https://docs.aws.amazon.com/systems-manager/latest/userguide/send-commands-multiple.html#send-commands-targeting) diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/doc.go index 77fff888b6aa..955d11a9c266 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/doc.go @@ -26,26 +26,26 @@ // // Related resources // -// * For information about how to use a Query API, see Making API requests -// (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/making-api-requests.html). +// - For information about how to use a Query API, see Making API requests +// (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/making-api-requests.html). // -// * For information about other API operations you can perform on EC2 instances, -// see the Amazon EC2 API Reference (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/). +// - For information about other API operations you can perform on EC2 instances, +// see the Amazon EC2 API Reference (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/). // -// * For information about AppConfig, a capability of Systems Manager, see -// the AppConfig User Guide (https://docs.aws.amazon.com/appconfig/latest/userguide/) -// and the AppConfig API Reference (https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/). +// - For information about AppConfig, a capability of Systems Manager, see +// the AppConfig User Guide (https://docs.aws.amazon.com/appconfig/latest/userguide/) +// and the AppConfig API Reference (https://docs.aws.amazon.com/appconfig/2019-10-09/APIReference/). // -// * For information about Incident Manager, a capability of Systems Manager, -// see the Incident Manager User Guide (https://docs.aws.amazon.com/incident-manager/latest/userguide/) -// and the Incident Manager API Reference (https://docs.aws.amazon.com/incident-manager/latest/APIReference/). +// - For information about Incident Manager, a capability of Systems Manager, +// see the Incident Manager User Guide (https://docs.aws.amazon.com/incident-manager/latest/userguide/) +// and the Incident Manager API Reference (https://docs.aws.amazon.com/incident-manager/latest/APIReference/). // // See https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06 for more information on this service. // // See ssm package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ssm/ // -// Using the Client +// # Using the Client // // To contact Amazon Simple Systems Manager (SSM) with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/service.go index d9c608f6860f..38726c4d0d0b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SSM client from just a session. -// svc := ssm.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SSM client with additional configuration -// svc := ssm.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SSM client from just a session. +// svc := ssm.New(mySession) +// +// // Create a SSM client with additional configuration +// svc := ssm.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SSM { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/ssmiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/ssmiface/interface.go index b3743b5614b4..5697ee55e25a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/ssmiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssm/ssmiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Simple Systems Manager (SSM). -// func myFunc(svc ssmiface.SSMAPI) bool { -// // Make svc.AddTagsToResource request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Simple Systems Manager (SSM). +// func myFunc(svc ssmiface.SSMAPI) bool { +// // Make svc.AddTagsToResource request +// } // -// func main() { -// sess := session.New() -// svc := ssm.New(sess) +// func main() { +// sess := session.New() +// svc := ssm.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSSMClient struct { -// ssmiface.SSMAPI -// } -// func (m *mockSSMClient) AddTagsToResource(input *ssm.AddTagsToResourceInput) (*ssm.AddTagsToResourceOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSSMClient struct { +// ssmiface.SSMAPI +// } +// func (m *mockSSMClient) AddTagsToResource(input *ssm.AddTagsToResourceInput) (*ssm.AddTagsToResourceOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSSMClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSSMClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/api.go index 406ff2acd7ca..cf97124a7032 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/api.go @@ -29,14 +29,13 @@ const opAcceptPage = "AcceptPage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AcceptPageRequest method. +// req, resp := client.AcceptPageRequest(params) // -// // Example sending a request using the AcceptPageRequest method. -// req, resp := client.AcceptPageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/AcceptPage func (c *SSMContacts) AcceptPageRequest(input *AcceptPageInput) (req *request.Request, output *AcceptPageOutput) { @@ -68,21 +67,22 @@ func (c *SSMContacts) AcceptPageRequest(input *AcceptPageInput) (req *request.Re // API operation AcceptPage for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. +// +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/AcceptPage func (c *SSMContacts) AcceptPage(input *AcceptPageInput) (*AcceptPageOutput, error) { @@ -122,14 +122,13 @@ const opActivateContactChannel = "ActivateContactChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ActivateContactChannelRequest method. +// req, resp := client.ActivateContactChannelRequest(params) // -// // Example sending a request using the ActivateContactChannelRequest method. -// req, resp := client.ActivateContactChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ActivateContactChannel func (c *SSMContacts) ActivateContactChannelRequest(input *ActivateContactChannelInput) (req *request.Request, output *ActivateContactChannelOutput) { @@ -162,21 +161,22 @@ func (c *SSMContacts) ActivateContactChannelRequest(input *ActivateContactChanne // API operation ActivateContactChannel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. +// +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ActivateContactChannel func (c *SSMContacts) ActivateContactChannel(input *ActivateContactChannelInput) (*ActivateContactChannelOutput, error) { @@ -216,14 +216,13 @@ const opCreateContact = "CreateContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateContactRequest method. +// req, resp := client.CreateContactRequest(params) // -// // Example sending a request using the CreateContactRequest method. -// req, resp := client.CreateContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/CreateContact func (c *SSMContacts) CreateContactRequest(input *CreateContactInput) (req *request.Request, output *CreateContactOutput) { @@ -256,27 +255,28 @@ func (c *SSMContacts) CreateContactRequest(input *CreateContactInput) (req *requ // API operation CreateContact for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * ConflictException -// Updating or deleting a resource causes an inconsistent state. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. +// +// - ConflictException +// Updating or deleting a resource causes an inconsistent state. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ServiceQuotaExceededException -// Request would cause a service quota to be exceeded. +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * DataEncryptionException -// The operation failed to due an encryption key error. +// - DataEncryptionException +// The operation failed to due an encryption key error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/CreateContact func (c *SSMContacts) CreateContact(input *CreateContactInput) (*CreateContactOutput, error) { @@ -316,14 +316,13 @@ const opCreateContactChannel = "CreateContactChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateContactChannelRequest method. +// req, resp := client.CreateContactChannelRequest(params) // -// // Example sending a request using the CreateContactChannelRequest method. -// req, resp := client.CreateContactChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/CreateContactChannel func (c *SSMContacts) CreateContactChannelRequest(input *CreateContactChannelInput) (req *request.Request, output *CreateContactChannelOutput) { @@ -355,24 +354,25 @@ func (c *SSMContacts) CreateContactChannelRequest(input *CreateContactChannelInp // API operation CreateContactChannel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * ConflictException -// Updating or deleting a resource causes an inconsistent state. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. +// +// - ConflictException +// Updating or deleting a resource causes an inconsistent state. // -// * DataEncryptionException -// The operation failed to due an encryption key error. +// - DataEncryptionException +// The operation failed to due an encryption key error. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/CreateContactChannel func (c *SSMContacts) CreateContactChannel(input *CreateContactChannelInput) (*CreateContactChannelOutput, error) { @@ -412,14 +412,13 @@ const opDeactivateContactChannel = "DeactivateContactChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeactivateContactChannelRequest method. +// req, resp := client.DeactivateContactChannelRequest(params) // -// // Example sending a request using the DeactivateContactChannelRequest method. -// req, resp := client.DeactivateContactChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/DeactivateContactChannel func (c *SSMContacts) DeactivateContactChannelRequest(input *DeactivateContactChannelInput) (req *request.Request, output *DeactivateContactChannelOutput) { @@ -452,21 +451,22 @@ func (c *SSMContacts) DeactivateContactChannelRequest(input *DeactivateContactCh // API operation DeactivateContactChannel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. +// +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/DeactivateContactChannel func (c *SSMContacts) DeactivateContactChannel(input *DeactivateContactChannelInput) (*DeactivateContactChannelOutput, error) { @@ -506,14 +506,13 @@ const opDeleteContact = "DeleteContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteContactRequest method. +// req, resp := client.DeleteContactRequest(params) // -// // Example sending a request using the DeleteContactRequest method. -// req, resp := client.DeleteContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/DeleteContact func (c *SSMContacts) DeleteContactRequest(input *DeleteContactInput) (req *request.Request, output *DeleteContactOutput) { @@ -549,21 +548,22 @@ func (c *SSMContacts) DeleteContactRequest(input *DeleteContactInput) (req *requ // API operation DeleteContact for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. +// +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/DeleteContact func (c *SSMContacts) DeleteContact(input *DeleteContactInput) (*DeleteContactOutput, error) { @@ -603,14 +603,13 @@ const opDeleteContactChannel = "DeleteContactChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteContactChannelRequest method. +// req, resp := client.DeleteContactChannelRequest(params) // -// // Example sending a request using the DeleteContactChannelRequest method. -// req, resp := client.DeleteContactChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/DeleteContactChannel func (c *SSMContacts) DeleteContactChannelRequest(input *DeleteContactChannelInput) (req *request.Request, output *DeleteContactChannelOutput) { @@ -645,21 +644,22 @@ func (c *SSMContacts) DeleteContactChannelRequest(input *DeleteContactChannelInp // API operation DeleteContactChannel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. +// +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/DeleteContactChannel func (c *SSMContacts) DeleteContactChannel(input *DeleteContactChannelInput) (*DeleteContactChannelOutput, error) { @@ -699,14 +699,13 @@ const opDescribeEngagement = "DescribeEngagement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEngagementRequest method. +// req, resp := client.DescribeEngagementRequest(params) // -// // Example sending a request using the DescribeEngagementRequest method. -// req, resp := client.DescribeEngagementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/DescribeEngagement func (c *SSMContacts) DescribeEngagementRequest(input *DescribeEngagementInput) (req *request.Request, output *DescribeEngagementOutput) { @@ -739,24 +738,25 @@ func (c *SSMContacts) DescribeEngagementRequest(input *DescribeEngagementInput) // API operation DescribeEngagement for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * DataEncryptionException -// The operation failed to due an encryption key error. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - DataEncryptionException +// The operation failed to due an encryption key error. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/DescribeEngagement func (c *SSMContacts) DescribeEngagement(input *DescribeEngagementInput) (*DescribeEngagementOutput, error) { @@ -796,14 +796,13 @@ const opDescribePage = "DescribePage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePageRequest method. +// req, resp := client.DescribePageRequest(params) // -// // Example sending a request using the DescribePageRequest method. -// req, resp := client.DescribePageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/DescribePage func (c *SSMContacts) DescribePageRequest(input *DescribePageInput) (req *request.Request, output *DescribePageOutput) { @@ -834,24 +833,25 @@ func (c *SSMContacts) DescribePageRequest(input *DescribePageInput) (req *reques // API operation DescribePage for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * DataEncryptionException -// The operation failed to due an encryption key error. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - DataEncryptionException +// The operation failed to due an encryption key error. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/DescribePage func (c *SSMContacts) DescribePage(input *DescribePageInput) (*DescribePageOutput, error) { @@ -891,14 +891,13 @@ const opGetContact = "GetContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContactRequest method. +// req, resp := client.GetContactRequest(params) // -// // Example sending a request using the GetContactRequest method. -// req, resp := client.GetContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/GetContact func (c *SSMContacts) GetContactRequest(input *GetContactInput) (req *request.Request, output *GetContactOutput) { @@ -929,24 +928,25 @@ func (c *SSMContacts) GetContactRequest(input *GetContactInput) (req *request.Re // API operation GetContact for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ThrottlingException +// The request was denied due to request throttling. // -// * DataEncryptionException -// The operation failed to due an encryption key error. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - DataEncryptionException +// The operation failed to due an encryption key error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/GetContact func (c *SSMContacts) GetContact(input *GetContactInput) (*GetContactOutput, error) { @@ -986,14 +986,13 @@ const opGetContactChannel = "GetContactChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContactChannelRequest method. +// req, resp := client.GetContactChannelRequest(params) // -// // Example sending a request using the GetContactChannelRequest method. -// req, resp := client.GetContactChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/GetContactChannel func (c *SSMContacts) GetContactChannelRequest(input *GetContactChannelInput) (req *request.Request, output *GetContactChannelOutput) { @@ -1024,24 +1023,25 @@ func (c *SSMContacts) GetContactChannelRequest(input *GetContactChannelInput) (r // API operation GetContactChannel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * DataEncryptionException -// The operation failed to due an encryption key error. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - DataEncryptionException +// The operation failed to due an encryption key error. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/GetContactChannel func (c *SSMContacts) GetContactChannel(input *GetContactChannelInput) (*GetContactChannelOutput, error) { @@ -1081,14 +1081,13 @@ const opGetContactPolicy = "GetContactPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetContactPolicyRequest method. +// req, resp := client.GetContactPolicyRequest(params) // -// // Example sending a request using the GetContactPolicyRequest method. -// req, resp := client.GetContactPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/GetContactPolicy func (c *SSMContacts) GetContactPolicyRequest(input *GetContactPolicyInput) (req *request.Request, output *GetContactPolicyOutput) { @@ -1120,21 +1119,22 @@ func (c *SSMContacts) GetContactPolicyRequest(input *GetContactPolicyInput) (req // API operation GetContactPolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/GetContactPolicy func (c *SSMContacts) GetContactPolicy(input *GetContactPolicyInput) (*GetContactPolicyOutput, error) { @@ -1174,14 +1174,13 @@ const opListContactChannels = "ListContactChannels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListContactChannelsRequest method. +// req, resp := client.ListContactChannelsRequest(params) // -// // Example sending a request using the ListContactChannelsRequest method. -// req, resp := client.ListContactChannelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListContactChannels func (c *SSMContacts) ListContactChannelsRequest(input *ListContactChannelsInput) (req *request.Request, output *ListContactChannelsOutput) { @@ -1218,24 +1217,25 @@ func (c *SSMContacts) ListContactChannelsRequest(input *ListContactChannelsInput // API operation ListContactChannels for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * DataEncryptionException -// The operation failed to due an encryption key error. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - DataEncryptionException +// The operation failed to due an encryption key error. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListContactChannels func (c *SSMContacts) ListContactChannels(input *ListContactChannelsInput) (*ListContactChannelsOutput, error) { @@ -1267,15 +1267,14 @@ func (c *SSMContacts) ListContactChannelsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListContactChannels operation. -// pageNum := 0 -// err := client.ListContactChannelsPages(params, -// func(page *ssmcontacts.ListContactChannelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListContactChannels operation. +// pageNum := 0 +// err := client.ListContactChannelsPages(params, +// func(page *ssmcontacts.ListContactChannelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSMContacts) ListContactChannelsPages(input *ListContactChannelsInput, fn func(*ListContactChannelsOutput, bool) bool) error { return c.ListContactChannelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1327,14 +1326,13 @@ const opListContacts = "ListContacts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListContactsRequest method. +// req, resp := client.ListContactsRequest(params) // -// // Example sending a request using the ListContactsRequest method. -// req, resp := client.ListContactsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListContacts func (c *SSMContacts) ListContactsRequest(input *ListContactsInput) (req *request.Request, output *ListContactsOutput) { @@ -1371,18 +1369,19 @@ func (c *SSMContacts) ListContactsRequest(input *ListContactsInput) (req *reques // API operation ListContacts for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. +// +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListContacts func (c *SSMContacts) ListContacts(input *ListContactsInput) (*ListContactsOutput, error) { @@ -1414,15 +1413,14 @@ func (c *SSMContacts) ListContactsWithContext(ctx aws.Context, input *ListContac // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListContacts operation. -// pageNum := 0 -// err := client.ListContactsPages(params, -// func(page *ssmcontacts.ListContactsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListContacts operation. +// pageNum := 0 +// err := client.ListContactsPages(params, +// func(page *ssmcontacts.ListContactsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSMContacts) ListContactsPages(input *ListContactsInput, fn func(*ListContactsOutput, bool) bool) error { return c.ListContactsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1474,14 +1472,13 @@ const opListEngagements = "ListEngagements" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListEngagementsRequest method. +// req, resp := client.ListEngagementsRequest(params) // -// // Example sending a request using the ListEngagementsRequest method. -// req, resp := client.ListEngagementsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListEngagements func (c *SSMContacts) ListEngagementsRequest(input *ListEngagementsInput) (req *request.Request, output *ListEngagementsOutput) { @@ -1518,18 +1515,19 @@ func (c *SSMContacts) ListEngagementsRequest(input *ListEngagementsInput) (req * // API operation ListEngagements for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. +// +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListEngagements func (c *SSMContacts) ListEngagements(input *ListEngagementsInput) (*ListEngagementsOutput, error) { @@ -1561,15 +1559,14 @@ func (c *SSMContacts) ListEngagementsWithContext(ctx aws.Context, input *ListEng // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListEngagements operation. -// pageNum := 0 -// err := client.ListEngagementsPages(params, -// func(page *ssmcontacts.ListEngagementsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListEngagements operation. +// pageNum := 0 +// err := client.ListEngagementsPages(params, +// func(page *ssmcontacts.ListEngagementsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSMContacts) ListEngagementsPages(input *ListEngagementsInput, fn func(*ListEngagementsOutput, bool) bool) error { return c.ListEngagementsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1621,14 +1618,13 @@ const opListPageReceipts = "ListPageReceipts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPageReceiptsRequest method. +// req, resp := client.ListPageReceiptsRequest(params) // -// // Example sending a request using the ListPageReceiptsRequest method. -// req, resp := client.ListPageReceiptsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListPageReceipts func (c *SSMContacts) ListPageReceiptsRequest(input *ListPageReceiptsInput) (req *request.Request, output *ListPageReceiptsOutput) { @@ -1665,21 +1661,22 @@ func (c *SSMContacts) ListPageReceiptsRequest(input *ListPageReceiptsInput) (req // API operation ListPageReceipts for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListPageReceipts func (c *SSMContacts) ListPageReceipts(input *ListPageReceiptsInput) (*ListPageReceiptsOutput, error) { @@ -1711,15 +1708,14 @@ func (c *SSMContacts) ListPageReceiptsWithContext(ctx aws.Context, input *ListPa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPageReceipts operation. -// pageNum := 0 -// err := client.ListPageReceiptsPages(params, -// func(page *ssmcontacts.ListPageReceiptsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPageReceipts operation. +// pageNum := 0 +// err := client.ListPageReceiptsPages(params, +// func(page *ssmcontacts.ListPageReceiptsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSMContacts) ListPageReceiptsPages(input *ListPageReceiptsInput, fn func(*ListPageReceiptsOutput, bool) bool) error { return c.ListPageReceiptsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1771,14 +1767,13 @@ const opListPagesByContact = "ListPagesByContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPagesByContactRequest method. +// req, resp := client.ListPagesByContactRequest(params) // -// // Example sending a request using the ListPagesByContactRequest method. -// req, resp := client.ListPagesByContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListPagesByContact func (c *SSMContacts) ListPagesByContactRequest(input *ListPagesByContactInput) (req *request.Request, output *ListPagesByContactOutput) { @@ -1815,21 +1810,22 @@ func (c *SSMContacts) ListPagesByContactRequest(input *ListPagesByContactInput) // API operation ListPagesByContact for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. +// +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListPagesByContact func (c *SSMContacts) ListPagesByContact(input *ListPagesByContactInput) (*ListPagesByContactOutput, error) { @@ -1861,15 +1857,14 @@ func (c *SSMContacts) ListPagesByContactWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPagesByContact operation. -// pageNum := 0 -// err := client.ListPagesByContactPages(params, -// func(page *ssmcontacts.ListPagesByContactOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPagesByContact operation. +// pageNum := 0 +// err := client.ListPagesByContactPages(params, +// func(page *ssmcontacts.ListPagesByContactOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSMContacts) ListPagesByContactPages(input *ListPagesByContactInput, fn func(*ListPagesByContactOutput, bool) bool) error { return c.ListPagesByContactPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1921,14 +1916,13 @@ const opListPagesByEngagement = "ListPagesByEngagement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPagesByEngagementRequest method. +// req, resp := client.ListPagesByEngagementRequest(params) // -// // Example sending a request using the ListPagesByEngagementRequest method. -// req, resp := client.ListPagesByEngagementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListPagesByEngagement func (c *SSMContacts) ListPagesByEngagementRequest(input *ListPagesByEngagementInput) (req *request.Request, output *ListPagesByEngagementOutput) { @@ -1965,21 +1959,22 @@ func (c *SSMContacts) ListPagesByEngagementRequest(input *ListPagesByEngagementI // API operation ListPagesByEngagement for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListPagesByEngagement func (c *SSMContacts) ListPagesByEngagement(input *ListPagesByEngagementInput) (*ListPagesByEngagementOutput, error) { @@ -2011,15 +2006,14 @@ func (c *SSMContacts) ListPagesByEngagementWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPagesByEngagement operation. -// pageNum := 0 -// err := client.ListPagesByEngagementPages(params, -// func(page *ssmcontacts.ListPagesByEngagementOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPagesByEngagement operation. +// pageNum := 0 +// err := client.ListPagesByEngagementPages(params, +// func(page *ssmcontacts.ListPagesByEngagementOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSMContacts) ListPagesByEngagementPages(input *ListPagesByEngagementInput, fn func(*ListPagesByEngagementOutput, bool) bool) error { return c.ListPagesByEngagementPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2071,14 +2065,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListTagsForResource func (c *SSMContacts) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2109,21 +2102,22 @@ func (c *SSMContacts) ListTagsForResourceRequest(input *ListTagsForResourceInput // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - InternalServerException +// Unexpected error occurred while processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/ListTagsForResource func (c *SSMContacts) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2163,14 +2157,13 @@ const opPutContactPolicy = "PutContactPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutContactPolicyRequest method. +// req, resp := client.PutContactPolicyRequest(params) // -// // Example sending a request using the PutContactPolicyRequest method. -// req, resp := client.PutContactPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/PutContactPolicy func (c *SSMContacts) PutContactPolicyRequest(input *PutContactPolicyInput) (req *request.Request, output *PutContactPolicyOutput) { @@ -2205,24 +2198,25 @@ func (c *SSMContacts) PutContactPolicyRequest(input *PutContactPolicyInput) (req // API operation PutContactPolicy for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * ConflictException -// Updating or deleting a resource causes an inconsistent state. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ConflictException +// Updating or deleting a resource causes an inconsistent state. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// Unexpected error occurred while processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/PutContactPolicy func (c *SSMContacts) PutContactPolicy(input *PutContactPolicyInput) (*PutContactPolicyOutput, error) { @@ -2262,14 +2256,13 @@ const opSendActivationCode = "SendActivationCode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendActivationCodeRequest method. +// req, resp := client.SendActivationCodeRequest(params) // -// // Example sending a request using the SendActivationCodeRequest method. -// req, resp := client.SendActivationCodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/SendActivationCode func (c *SSMContacts) SendActivationCodeRequest(input *SendActivationCodeInput) (req *request.Request, output *SendActivationCodeOutput) { @@ -2304,27 +2297,28 @@ func (c *SSMContacts) SendActivationCodeRequest(input *SendActivationCodeInput) // API operation SendActivationCode for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * DataEncryptionException -// The operation failed to due an encryption key error. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - DataEncryptionException +// The operation failed to due an encryption key error. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ServiceQuotaExceededException -// Request would cause a service quota to be exceeded. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/SendActivationCode func (c *SSMContacts) SendActivationCode(input *SendActivationCodeInput) (*SendActivationCodeOutput, error) { @@ -2364,14 +2358,13 @@ const opStartEngagement = "StartEngagement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartEngagementRequest method. +// req, resp := client.StartEngagementRequest(params) // -// // Example sending a request using the StartEngagementRequest method. -// req, resp := client.StartEngagementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/StartEngagement func (c *SSMContacts) StartEngagementRequest(input *StartEngagementInput) (req *request.Request, output *StartEngagementOutput) { @@ -2403,24 +2396,25 @@ func (c *SSMContacts) StartEngagementRequest(input *StartEngagementInput) (req * // API operation StartEngagement for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * DataEncryptionException -// The operation failed to due an encryption key error. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - DataEncryptionException +// The operation failed to due an encryption key error. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/StartEngagement func (c *SSMContacts) StartEngagement(input *StartEngagementInput) (*StartEngagementOutput, error) { @@ -2460,14 +2454,13 @@ const opStopEngagement = "StopEngagement" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopEngagementRequest method. +// req, resp := client.StopEngagementRequest(params) // -// // Example sending a request using the StopEngagementRequest method. -// req, resp := client.StopEngagementRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/StopEngagement func (c *SSMContacts) StopEngagementRequest(input *StopEngagementInput) (req *request.Request, output *StopEngagementOutput) { @@ -2500,21 +2493,22 @@ func (c *SSMContacts) StopEngagementRequest(input *StopEngagementInput) (req *re // API operation StopEngagement for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - InternalServerException +// Unexpected error occurred while processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/StopEngagement func (c *SSMContacts) StopEngagement(input *StopEngagementInput) (*StopEngagementOutput, error) { @@ -2554,14 +2548,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/TagResource func (c *SSMContacts) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2594,24 +2587,25 @@ func (c *SSMContacts) TagResourceRequest(input *TagResourceInput) (req *request. // API operation TagResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ServiceQuotaExceededException -// Request would cause a service quota to be exceeded. +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. +// +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/TagResource func (c *SSMContacts) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2651,14 +2645,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/UntagResource func (c *SSMContacts) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2690,21 +2683,22 @@ func (c *SSMContacts) UntagResourceRequest(input *UntagResourceInput) (req *requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * ThrottlingException -// The request was denied due to request throttling. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - InternalServerException +// Unexpected error occurred while processing the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/UntagResource func (c *SSMContacts) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2744,14 +2738,13 @@ const opUpdateContact = "UpdateContact" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContactRequest method. +// req, resp := client.UpdateContactRequest(params) // -// // Example sending a request using the UpdateContactRequest method. -// req, resp := client.UpdateContactRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/UpdateContact func (c *SSMContacts) UpdateContactRequest(input *UpdateContactInput) (req *request.Request, output *UpdateContactOutput) { @@ -2783,27 +2776,28 @@ func (c *SSMContacts) UpdateContactRequest(input *UpdateContactInput) (req *requ // API operation UpdateContact for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ServiceQuotaExceededException -// Request would cause a service quota to be exceeded. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ThrottlingException +// The request was denied due to request throttling. // -// * DataEncryptionException -// The operation failed to due an encryption key error. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - DataEncryptionException +// The operation failed to due an encryption key error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/UpdateContact func (c *SSMContacts) UpdateContact(input *UpdateContactInput) (*UpdateContactOutput, error) { @@ -2843,14 +2837,13 @@ const opUpdateContactChannel = "UpdateContactChannel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateContactChannelRequest method. +// req, resp := client.UpdateContactChannelRequest(params) // -// // Example sending a request using the UpdateContactChannelRequest method. -// req, resp := client.UpdateContactChannelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/UpdateContactChannel func (c *SSMContacts) UpdateContactChannelRequest(input *UpdateContactChannelInput) (req *request.Request, output *UpdateContactChannelOutput) { @@ -2882,27 +2875,28 @@ func (c *SSMContacts) UpdateContactChannelRequest(input *UpdateContactChannelInp // API operation UpdateContactChannel for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You don't have sufficient access to perform this operation. // -// * ConflictException -// Updating or deleting a resource causes an inconsistent state. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. +// +// - ConflictException +// Updating or deleting a resource causes an inconsistent state. // -// * DataEncryptionException -// The operation failed to due an encryption key error. +// - DataEncryptionException +// The operation failed to due an encryption key error. // -// * InternalServerException -// Unexpected error occurred while processing the request. +// - InternalServerException +// Unexpected error occurred while processing the request. // -// * ResourceNotFoundException -// Request references a resource that doesn't exist. +// - ResourceNotFoundException +// Request references a resource that doesn't exist. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-contacts-2021-05-03/UpdateContactChannel func (c *SSMContacts) UpdateContactChannel(input *UpdateContactChannelInput) (*UpdateContactChannelOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/doc.go index d73c63438e97..0ae273f6451a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/doc.go @@ -19,7 +19,7 @@ // See ssmcontacts package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ssmcontacts/ // -// Using the Client +// # Using the Client // // To contact AWS Systems Manager Incident Manager Contacts with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/examples_test.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/examples_test.go index be39e1581154..2fbb1d41d0e5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/examples_test.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/examples_test.go @@ -198,7 +198,7 @@ func ExampleSSMContacts_CreateContactChannel_shared00() { // To deactivate a contact channel // -// The following ``deactivate-contact-channel`` example deactivates a contact channel. +// The following “deactivate-contact-channel“ example deactivates a contact channel. // Deactivating a contact channel means the contact channel will no longer be paged // during an incident. You can also reactivate a contact channel at any time using the // activate-contact-channel operation. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/service.go index 594eb71a149f..babd6ee6cb4e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SSMContacts client from just a session. -// svc := ssmcontacts.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SSMContacts client with additional configuration -// svc := ssmcontacts.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SSMContacts client from just a session. +// svc := ssmcontacts.New(mySession) +// +// // Create a SSMContacts client with additional configuration +// svc := ssmcontacts.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SSMContacts { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/ssmcontactsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/ssmcontactsiface/interface.go index 9f169a0dfb49..37199188b9b3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/ssmcontactsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmcontacts/ssmcontactsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Systems Manager Incident Manager Contacts. -// func myFunc(svc ssmcontactsiface.SSMContactsAPI) bool { -// // Make svc.AcceptPage request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Systems Manager Incident Manager Contacts. +// func myFunc(svc ssmcontactsiface.SSMContactsAPI) bool { +// // Make svc.AcceptPage request +// } // -// func main() { -// sess := session.New() -// svc := ssmcontacts.New(sess) +// func main() { +// sess := session.New() +// svc := ssmcontacts.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSSMContactsClient struct { -// ssmcontactsiface.SSMContactsAPI -// } -// func (m *mockSSMContactsClient) AcceptPage(input *ssmcontacts.AcceptPageInput) (*ssmcontacts.AcceptPageOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSSMContactsClient struct { +// ssmcontactsiface.SSMContactsAPI +// } +// func (m *mockSSMContactsClient) AcceptPage(input *ssmcontacts.AcceptPageInput) (*ssmcontacts.AcceptPageOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSSMContactsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSSMContactsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/api.go index d076b633692a..bb742ad08f82 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/api.go @@ -29,14 +29,13 @@ const opCreateReplicationSet = "CreateReplicationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateReplicationSetRequest method. +// req, resp := client.CreateReplicationSetRequest(params) // -// // Example sending a request using the CreateReplicationSetRequest method. -// req, resp := client.CreateReplicationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/CreateReplicationSet func (c *SSMIncidents) CreateReplicationSetRequest(input *CreateReplicationSetInput) (req *request.Request, output *CreateReplicationSetOutput) { @@ -68,25 +67,26 @@ func (c *SSMIncidents) CreateReplicationSetRequest(input *CreateReplicationSetIn // API operation CreateReplicationSet for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// Request would cause a service quota to be exceeded. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * ConflictException -// Updating or deleting a resource causes an inconsistent state. +// - ConflictException +// Updating or deleting a resource causes an inconsistent state. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/CreateReplicationSet func (c *SSMIncidents) CreateReplicationSet(input *CreateReplicationSetInput) (*CreateReplicationSetOutput, error) { @@ -126,14 +126,13 @@ const opCreateResponsePlan = "CreateResponsePlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResponsePlanRequest method. +// req, resp := client.CreateResponsePlanRequest(params) // -// // Example sending a request using the CreateResponsePlanRequest method. -// req, resp := client.CreateResponsePlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/CreateResponsePlan func (c *SSMIncidents) CreateResponsePlanRequest(input *CreateResponsePlanInput) (req *request.Request, output *CreateResponsePlanOutput) { @@ -166,25 +165,26 @@ func (c *SSMIncidents) CreateResponsePlanRequest(input *CreateResponsePlanInput) // API operation CreateResponsePlan for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * ConflictException -// Updating or deleting a resource causes an inconsistent state. +// - ConflictException +// Updating or deleting a resource causes an inconsistent state. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/CreateResponsePlan func (c *SSMIncidents) CreateResponsePlan(input *CreateResponsePlanInput) (*CreateResponsePlanOutput, error) { @@ -224,14 +224,13 @@ const opCreateTimelineEvent = "CreateTimelineEvent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTimelineEventRequest method. +// req, resp := client.CreateTimelineEventRequest(params) // -// // Example sending a request using the CreateTimelineEventRequest method. -// req, resp := client.CreateTimelineEventRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/CreateTimelineEvent func (c *SSMIncidents) CreateTimelineEventRequest(input *CreateTimelineEventInput) (req *request.Request, output *CreateTimelineEventOutput) { @@ -265,25 +264,26 @@ func (c *SSMIncidents) CreateTimelineEventRequest(input *CreateTimelineEventInpu // API operation CreateTimelineEvent for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * ConflictException -// Updating or deleting a resource causes an inconsistent state. +// - ConflictException +// Updating or deleting a resource causes an inconsistent state. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/CreateTimelineEvent func (c *SSMIncidents) CreateTimelineEvent(input *CreateTimelineEventInput) (*CreateTimelineEventOutput, error) { @@ -323,14 +323,13 @@ const opDeleteIncidentRecord = "DeleteIncidentRecord" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIncidentRecordRequest method. +// req, resp := client.DeleteIncidentRecordRequest(params) // -// // Example sending a request using the DeleteIncidentRecordRequest method. -// req, resp := client.DeleteIncidentRecordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/DeleteIncidentRecord func (c *SSMIncidents) DeleteIncidentRecordRequest(input *DeleteIncidentRecordInput) (req *request.Request, output *DeleteIncidentRecordOutput) { @@ -362,19 +361,20 @@ func (c *SSMIncidents) DeleteIncidentRecordRequest(input *DeleteIncidentRecordIn // API operation DeleteIncidentRecord for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/DeleteIncidentRecord func (c *SSMIncidents) DeleteIncidentRecord(input *DeleteIncidentRecordInput) (*DeleteIncidentRecordOutput, error) { @@ -414,14 +414,13 @@ const opDeleteReplicationSet = "DeleteReplicationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteReplicationSetRequest method. +// req, resp := client.DeleteReplicationSetRequest(params) // -// // Example sending a request using the DeleteReplicationSetRequest method. -// req, resp := client.DeleteReplicationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/DeleteReplicationSet func (c *SSMIncidents) DeleteReplicationSetRequest(input *DeleteReplicationSetInput) (req *request.Request, output *DeleteReplicationSetOutput) { @@ -454,22 +453,23 @@ func (c *SSMIncidents) DeleteReplicationSetRequest(input *DeleteReplicationSetIn // API operation DeleteReplicationSet for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/DeleteReplicationSet func (c *SSMIncidents) DeleteReplicationSet(input *DeleteReplicationSetInput) (*DeleteReplicationSetOutput, error) { @@ -509,14 +509,13 @@ const opDeleteResourcePolicy = "DeleteResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourcePolicyRequest method. +// req, resp := client.DeleteResourcePolicyRequest(params) // -// // Example sending a request using the DeleteResourcePolicyRequest method. -// req, resp := client.DeleteResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/DeleteResourcePolicy func (c *SSMIncidents) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { @@ -549,22 +548,23 @@ func (c *SSMIncidents) DeleteResourcePolicyRequest(input *DeleteResourcePolicyIn // API operation DeleteResourcePolicy for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/DeleteResourcePolicy func (c *SSMIncidents) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { @@ -604,14 +604,13 @@ const opDeleteResponsePlan = "DeleteResponsePlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResponsePlanRequest method. +// req, resp := client.DeleteResponsePlanRequest(params) // -// // Example sending a request using the DeleteResponsePlanRequest method. -// req, resp := client.DeleteResponsePlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/DeleteResponsePlan func (c *SSMIncidents) DeleteResponsePlanRequest(input *DeleteResponsePlanInput) (req *request.Request, output *DeleteResponsePlanOutput) { @@ -645,19 +644,20 @@ func (c *SSMIncidents) DeleteResponsePlanRequest(input *DeleteResponsePlanInput) // API operation DeleteResponsePlan for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/DeleteResponsePlan func (c *SSMIncidents) DeleteResponsePlan(input *DeleteResponsePlanInput) (*DeleteResponsePlanOutput, error) { @@ -697,14 +697,13 @@ const opDeleteTimelineEvent = "DeleteTimelineEvent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTimelineEventRequest method. +// req, resp := client.DeleteTimelineEventRequest(params) // -// // Example sending a request using the DeleteTimelineEventRequest method. -// req, resp := client.DeleteTimelineEventRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/DeleteTimelineEvent func (c *SSMIncidents) DeleteTimelineEventRequest(input *DeleteTimelineEventInput) (req *request.Request, output *DeleteTimelineEventOutput) { @@ -736,19 +735,20 @@ func (c *SSMIncidents) DeleteTimelineEventRequest(input *DeleteTimelineEventInpu // API operation DeleteTimelineEvent for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/DeleteTimelineEvent func (c *SSMIncidents) DeleteTimelineEvent(input *DeleteTimelineEventInput) (*DeleteTimelineEventOutput, error) { @@ -788,14 +788,13 @@ const opGetIncidentRecord = "GetIncidentRecord" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIncidentRecordRequest method. +// req, resp := client.GetIncidentRecordRequest(params) // -// // Example sending a request using the GetIncidentRecordRequest method. -// req, resp := client.GetIncidentRecordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/GetIncidentRecord func (c *SSMIncidents) GetIncidentRecordRequest(input *GetIncidentRecordInput) (req *request.Request, output *GetIncidentRecordOutput) { @@ -826,22 +825,23 @@ func (c *SSMIncidents) GetIncidentRecordRequest(input *GetIncidentRecordInput) ( // API operation GetIncidentRecord for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/GetIncidentRecord func (c *SSMIncidents) GetIncidentRecord(input *GetIncidentRecordInput) (*GetIncidentRecordOutput, error) { @@ -881,14 +881,13 @@ const opGetReplicationSet = "GetReplicationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetReplicationSetRequest method. +// req, resp := client.GetReplicationSetRequest(params) // -// // Example sending a request using the GetReplicationSetRequest method. -// req, resp := client.GetReplicationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/GetReplicationSet func (c *SSMIncidents) GetReplicationSetRequest(input *GetReplicationSetInput) (req *request.Request, output *GetReplicationSetOutput) { @@ -919,22 +918,23 @@ func (c *SSMIncidents) GetReplicationSetRequest(input *GetReplicationSetInput) ( // API operation GetReplicationSet for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/GetReplicationSet func (c *SSMIncidents) GetReplicationSet(input *GetReplicationSetInput) (*GetReplicationSetOutput, error) { @@ -974,14 +974,13 @@ const opGetResourcePolicies = "GetResourcePolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourcePoliciesRequest method. +// req, resp := client.GetResourcePoliciesRequest(params) // -// // Example sending a request using the GetResourcePoliciesRequest method. -// req, resp := client.GetResourcePoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/GetResourcePolicies func (c *SSMIncidents) GetResourcePoliciesRequest(input *GetResourcePoliciesInput) (req *request.Request, output *GetResourcePoliciesOutput) { @@ -1018,22 +1017,23 @@ func (c *SSMIncidents) GetResourcePoliciesRequest(input *GetResourcePoliciesInpu // API operation GetResourcePolicies for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/GetResourcePolicies func (c *SSMIncidents) GetResourcePolicies(input *GetResourcePoliciesInput) (*GetResourcePoliciesOutput, error) { @@ -1065,15 +1065,14 @@ func (c *SSMIncidents) GetResourcePoliciesWithContext(ctx aws.Context, input *Ge // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetResourcePolicies operation. -// pageNum := 0 -// err := client.GetResourcePoliciesPages(params, -// func(page *ssmincidents.GetResourcePoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetResourcePolicies operation. +// pageNum := 0 +// err := client.GetResourcePoliciesPages(params, +// func(page *ssmincidents.GetResourcePoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSMIncidents) GetResourcePoliciesPages(input *GetResourcePoliciesInput, fn func(*GetResourcePoliciesOutput, bool) bool) error { return c.GetResourcePoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1125,14 +1124,13 @@ const opGetResponsePlan = "GetResponsePlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResponsePlanRequest method. +// req, resp := client.GetResponsePlanRequest(params) // -// // Example sending a request using the GetResponsePlanRequest method. -// req, resp := client.GetResponsePlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/GetResponsePlan func (c *SSMIncidents) GetResponsePlanRequest(input *GetResponsePlanInput) (req *request.Request, output *GetResponsePlanOutput) { @@ -1163,22 +1161,23 @@ func (c *SSMIncidents) GetResponsePlanRequest(input *GetResponsePlanInput) (req // API operation GetResponsePlan for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/GetResponsePlan func (c *SSMIncidents) GetResponsePlan(input *GetResponsePlanInput) (*GetResponsePlanOutput, error) { @@ -1218,14 +1217,13 @@ const opGetTimelineEvent = "GetTimelineEvent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTimelineEventRequest method. +// req, resp := client.GetTimelineEventRequest(params) // -// // Example sending a request using the GetTimelineEventRequest method. -// req, resp := client.GetTimelineEventRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/GetTimelineEvent func (c *SSMIncidents) GetTimelineEventRequest(input *GetTimelineEventInput) (req *request.Request, output *GetTimelineEventOutput) { @@ -1256,22 +1254,23 @@ func (c *SSMIncidents) GetTimelineEventRequest(input *GetTimelineEventInput) (re // API operation GetTimelineEvent for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/GetTimelineEvent func (c *SSMIncidents) GetTimelineEvent(input *GetTimelineEventInput) (*GetTimelineEventOutput, error) { @@ -1311,14 +1310,13 @@ const opListIncidentRecords = "ListIncidentRecords" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIncidentRecordsRequest method. +// req, resp := client.ListIncidentRecordsRequest(params) // -// // Example sending a request using the ListIncidentRecordsRequest method. -// req, resp := client.ListIncidentRecordsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListIncidentRecords func (c *SSMIncidents) ListIncidentRecordsRequest(input *ListIncidentRecordsInput) (req *request.Request, output *ListIncidentRecordsOutput) { @@ -1356,19 +1354,20 @@ func (c *SSMIncidents) ListIncidentRecordsRequest(input *ListIncidentRecordsInpu // API operation ListIncidentRecords for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListIncidentRecords func (c *SSMIncidents) ListIncidentRecords(input *ListIncidentRecordsInput) (*ListIncidentRecordsOutput, error) { @@ -1400,15 +1399,14 @@ func (c *SSMIncidents) ListIncidentRecordsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListIncidentRecords operation. -// pageNum := 0 -// err := client.ListIncidentRecordsPages(params, -// func(page *ssmincidents.ListIncidentRecordsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListIncidentRecords operation. +// pageNum := 0 +// err := client.ListIncidentRecordsPages(params, +// func(page *ssmincidents.ListIncidentRecordsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSMIncidents) ListIncidentRecordsPages(input *ListIncidentRecordsInput, fn func(*ListIncidentRecordsOutput, bool) bool) error { return c.ListIncidentRecordsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1460,14 +1458,13 @@ const opListRelatedItems = "ListRelatedItems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRelatedItemsRequest method. +// req, resp := client.ListRelatedItemsRequest(params) // -// // Example sending a request using the ListRelatedItemsRequest method. -// req, resp := client.ListRelatedItemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListRelatedItems func (c *SSMIncidents) ListRelatedItemsRequest(input *ListRelatedItemsInput) (req *request.Request, output *ListRelatedItemsOutput) { @@ -1504,19 +1501,20 @@ func (c *SSMIncidents) ListRelatedItemsRequest(input *ListRelatedItemsInput) (re // API operation ListRelatedItems for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListRelatedItems func (c *SSMIncidents) ListRelatedItems(input *ListRelatedItemsInput) (*ListRelatedItemsOutput, error) { @@ -1548,15 +1546,14 @@ func (c *SSMIncidents) ListRelatedItemsWithContext(ctx aws.Context, input *ListR // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListRelatedItems operation. -// pageNum := 0 -// err := client.ListRelatedItemsPages(params, -// func(page *ssmincidents.ListRelatedItemsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListRelatedItems operation. +// pageNum := 0 +// err := client.ListRelatedItemsPages(params, +// func(page *ssmincidents.ListRelatedItemsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSMIncidents) ListRelatedItemsPages(input *ListRelatedItemsInput, fn func(*ListRelatedItemsOutput, bool) bool) error { return c.ListRelatedItemsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1608,14 +1605,13 @@ const opListReplicationSets = "ListReplicationSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListReplicationSetsRequest method. +// req, resp := client.ListReplicationSetsRequest(params) // -// // Example sending a request using the ListReplicationSetsRequest method. -// req, resp := client.ListReplicationSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListReplicationSets func (c *SSMIncidents) ListReplicationSetsRequest(input *ListReplicationSetsInput) (req *request.Request, output *ListReplicationSetsOutput) { @@ -1652,19 +1648,20 @@ func (c *SSMIncidents) ListReplicationSetsRequest(input *ListReplicationSetsInpu // API operation ListReplicationSets for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListReplicationSets func (c *SSMIncidents) ListReplicationSets(input *ListReplicationSetsInput) (*ListReplicationSetsOutput, error) { @@ -1696,15 +1693,14 @@ func (c *SSMIncidents) ListReplicationSetsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListReplicationSets operation. -// pageNum := 0 -// err := client.ListReplicationSetsPages(params, -// func(page *ssmincidents.ListReplicationSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListReplicationSets operation. +// pageNum := 0 +// err := client.ListReplicationSetsPages(params, +// func(page *ssmincidents.ListReplicationSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSMIncidents) ListReplicationSetsPages(input *ListReplicationSetsInput, fn func(*ListReplicationSetsOutput, bool) bool) error { return c.ListReplicationSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1756,14 +1752,13 @@ const opListResponsePlans = "ListResponsePlans" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResponsePlansRequest method. +// req, resp := client.ListResponsePlansRequest(params) // -// // Example sending a request using the ListResponsePlansRequest method. -// req, resp := client.ListResponsePlansRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListResponsePlans func (c *SSMIncidents) ListResponsePlansRequest(input *ListResponsePlansInput) (req *request.Request, output *ListResponsePlansOutput) { @@ -1800,19 +1795,20 @@ func (c *SSMIncidents) ListResponsePlansRequest(input *ListResponsePlansInput) ( // API operation ListResponsePlans for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListResponsePlans func (c *SSMIncidents) ListResponsePlans(input *ListResponsePlansInput) (*ListResponsePlansOutput, error) { @@ -1844,15 +1840,14 @@ func (c *SSMIncidents) ListResponsePlansWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResponsePlans operation. -// pageNum := 0 -// err := client.ListResponsePlansPages(params, -// func(page *ssmincidents.ListResponsePlansOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResponsePlans operation. +// pageNum := 0 +// err := client.ListResponsePlansPages(params, +// func(page *ssmincidents.ListResponsePlansOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSMIncidents) ListResponsePlansPages(input *ListResponsePlansInput, fn func(*ListResponsePlansOutput, bool) bool) error { return c.ListResponsePlansPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1904,14 +1899,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListTagsForResource func (c *SSMIncidents) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1942,22 +1936,23 @@ func (c *SSMIncidents) ListTagsForResourceRequest(input *ListTagsForResourceInpu // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListTagsForResource func (c *SSMIncidents) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1997,14 +1992,13 @@ const opListTimelineEvents = "ListTimelineEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTimelineEventsRequest method. +// req, resp := client.ListTimelineEventsRequest(params) // -// // Example sending a request using the ListTimelineEventsRequest method. -// req, resp := client.ListTimelineEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListTimelineEvents func (c *SSMIncidents) ListTimelineEventsRequest(input *ListTimelineEventsInput) (req *request.Request, output *ListTimelineEventsOutput) { @@ -2041,19 +2035,20 @@ func (c *SSMIncidents) ListTimelineEventsRequest(input *ListTimelineEventsInput) // API operation ListTimelineEvents for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/ListTimelineEvents func (c *SSMIncidents) ListTimelineEvents(input *ListTimelineEventsInput) (*ListTimelineEventsOutput, error) { @@ -2085,15 +2080,14 @@ func (c *SSMIncidents) ListTimelineEventsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTimelineEvents operation. -// pageNum := 0 -// err := client.ListTimelineEventsPages(params, -// func(page *ssmincidents.ListTimelineEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTimelineEvents operation. +// pageNum := 0 +// err := client.ListTimelineEventsPages(params, +// func(page *ssmincidents.ListTimelineEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSMIncidents) ListTimelineEventsPages(input *ListTimelineEventsInput, fn func(*ListTimelineEventsOutput, bool) bool) error { return c.ListTimelineEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2145,14 +2139,13 @@ const opPutResourcePolicy = "PutResourcePolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutResourcePolicyRequest method. +// req, resp := client.PutResourcePolicyRequest(params) // -// // Example sending a request using the PutResourcePolicyRequest method. -// req, resp := client.PutResourcePolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/PutResourcePolicy func (c *SSMIncidents) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { @@ -2186,22 +2179,23 @@ func (c *SSMIncidents) PutResourcePolicyRequest(input *PutResourcePolicyInput) ( // API operation PutResourcePolicy for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/PutResourcePolicy func (c *SSMIncidents) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { @@ -2241,14 +2235,13 @@ const opStartIncident = "StartIncident" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartIncidentRequest method. +// req, resp := client.StartIncidentRequest(params) // -// // Example sending a request using the StartIncidentRequest method. -// req, resp := client.StartIncidentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/StartIncident func (c *SSMIncidents) StartIncidentRequest(input *StartIncidentInput) (req *request.Request, output *StartIncidentOutput) { @@ -2280,25 +2273,26 @@ func (c *SSMIncidents) StartIncidentRequest(input *StartIncidentInput) (req *req // API operation StartIncident for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * ConflictException -// Updating or deleting a resource causes an inconsistent state. +// - ConflictException +// Updating or deleting a resource causes an inconsistent state. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/StartIncident func (c *SSMIncidents) StartIncident(input *StartIncidentInput) (*StartIncidentOutput, error) { @@ -2338,14 +2332,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/TagResource func (c *SSMIncidents) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2377,28 +2370,29 @@ func (c *SSMIncidents) TagResourceRequest(input *TagResourceInput) (req *request // API operation TagResource for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// Request would cause a service quota to be exceeded. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceQuotaExceededException +// Request would cause a service quota to be exceeded. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * ConflictException -// Updating or deleting a resource causes an inconsistent state. +// - ConflictException +// Updating or deleting a resource causes an inconsistent state. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/TagResource func (c *SSMIncidents) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2438,14 +2432,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UntagResource func (c *SSMIncidents) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2477,25 +2470,26 @@ func (c *SSMIncidents) UntagResourceRequest(input *UntagResourceInput) (req *req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * ConflictException -// Updating or deleting a resource causes an inconsistent state. +// - ConflictException +// Updating or deleting a resource causes an inconsistent state. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UntagResource func (c *SSMIncidents) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2535,14 +2529,13 @@ const opUpdateDeletionProtection = "UpdateDeletionProtection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDeletionProtectionRequest method. +// req, resp := client.UpdateDeletionProtectionRequest(params) // -// // Example sending a request using the UpdateDeletionProtectionRequest method. -// req, resp := client.UpdateDeletionProtectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateDeletionProtection func (c *SSMIncidents) UpdateDeletionProtectionRequest(input *UpdateDeletionProtectionInput) (req *request.Request, output *UpdateDeletionProtectionOutput) { @@ -2575,22 +2568,23 @@ func (c *SSMIncidents) UpdateDeletionProtectionRequest(input *UpdateDeletionProt // API operation UpdateDeletionProtection for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateDeletionProtection func (c *SSMIncidents) UpdateDeletionProtection(input *UpdateDeletionProtectionInput) (*UpdateDeletionProtectionOutput, error) { @@ -2630,14 +2624,13 @@ const opUpdateIncidentRecord = "UpdateIncidentRecord" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIncidentRecordRequest method. +// req, resp := client.UpdateIncidentRecordRequest(params) // -// // Example sending a request using the UpdateIncidentRecordRequest method. -// req, resp := client.UpdateIncidentRecordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateIncidentRecord func (c *SSMIncidents) UpdateIncidentRecordRequest(input *UpdateIncidentRecordInput) (req *request.Request, output *UpdateIncidentRecordOutput) { @@ -2671,25 +2664,26 @@ func (c *SSMIncidents) UpdateIncidentRecordRequest(input *UpdateIncidentRecordIn // API operation UpdateIncidentRecord for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * ConflictException -// Updating or deleting a resource causes an inconsistent state. +// - ConflictException +// Updating or deleting a resource causes an inconsistent state. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateIncidentRecord func (c *SSMIncidents) UpdateIncidentRecord(input *UpdateIncidentRecordInput) (*UpdateIncidentRecordOutput, error) { @@ -2729,14 +2723,13 @@ const opUpdateRelatedItems = "UpdateRelatedItems" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRelatedItemsRequest method. +// req, resp := client.UpdateRelatedItemsRequest(params) // -// // Example sending a request using the UpdateRelatedItemsRequest method. -// req, resp := client.UpdateRelatedItemsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateRelatedItems func (c *SSMIncidents) UpdateRelatedItemsRequest(input *UpdateRelatedItemsInput) (req *request.Request, output *UpdateRelatedItemsOutput) { @@ -2768,25 +2761,26 @@ func (c *SSMIncidents) UpdateRelatedItemsRequest(input *UpdateRelatedItemsInput) // API operation UpdateRelatedItems for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * ConflictException -// Updating or deleting a resource causes an inconsistent state. +// - ConflictException +// Updating or deleting a resource causes an inconsistent state. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateRelatedItems func (c *SSMIncidents) UpdateRelatedItems(input *UpdateRelatedItemsInput) (*UpdateRelatedItemsOutput, error) { @@ -2826,14 +2820,13 @@ const opUpdateReplicationSet = "UpdateReplicationSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateReplicationSetRequest method. +// req, resp := client.UpdateReplicationSetRequest(params) // -// // Example sending a request using the UpdateReplicationSetRequest method. -// req, resp := client.UpdateReplicationSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateReplicationSet func (c *SSMIncidents) UpdateReplicationSetRequest(input *UpdateReplicationSetInput) (req *request.Request, output *UpdateReplicationSetOutput) { @@ -2865,25 +2858,26 @@ func (c *SSMIncidents) UpdateReplicationSetRequest(input *UpdateReplicationSetIn // API operation UpdateReplicationSet for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * ConflictException -// Updating or deleting a resource causes an inconsistent state. +// - ConflictException +// Updating or deleting a resource causes an inconsistent state. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateReplicationSet func (c *SSMIncidents) UpdateReplicationSet(input *UpdateReplicationSetInput) (*UpdateReplicationSetOutput, error) { @@ -2923,14 +2917,13 @@ const opUpdateResponsePlan = "UpdateResponsePlan" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResponsePlanRequest method. +// req, resp := client.UpdateResponsePlanRequest(params) // -// // Example sending a request using the UpdateResponsePlanRequest method. -// req, resp := client.UpdateResponsePlanRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateResponsePlan func (c *SSMIncidents) UpdateResponsePlanRequest(input *UpdateResponsePlanInput) (req *request.Request, output *UpdateResponsePlanOutput) { @@ -2962,25 +2955,26 @@ func (c *SSMIncidents) UpdateResponsePlanRequest(input *UpdateResponsePlanInput) // API operation UpdateResponsePlan for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * ConflictException -// Updating or deleting a resource causes an inconsistent state. +// - ConflictException +// Updating or deleting a resource causes an inconsistent state. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateResponsePlan func (c *SSMIncidents) UpdateResponsePlan(input *UpdateResponsePlanInput) (*UpdateResponsePlanOutput, error) { @@ -3020,14 +3014,13 @@ const opUpdateTimelineEvent = "UpdateTimelineEvent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTimelineEventRequest method. +// req, resp := client.UpdateTimelineEventRequest(params) // -// // Example sending a request using the UpdateTimelineEventRequest method. -// req, resp := client.UpdateTimelineEventRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateTimelineEvent func (c *SSMIncidents) UpdateTimelineEventRequest(input *UpdateTimelineEventInput) (req *request.Request, output *UpdateTimelineEventOutput) { @@ -3059,25 +3052,26 @@ func (c *SSMIncidents) UpdateTimelineEventRequest(input *UpdateTimelineEventInpu // API operation UpdateTimelineEvent for usage and error information. // // Returned Error Types: -// * ThrottlingException -// The request was denied due to request throttling. // -// * ResourceNotFoundException -// Request references a resource which doesn't exist. +// - ThrottlingException +// The request was denied due to request throttling. +// +// - ResourceNotFoundException +// Request references a resource which doesn't exist. // -// * AccessDeniedException -// You don't have sufficient access to perform this operation. +// - AccessDeniedException +// You don't have sufficient access to perform this operation. // -// * ValidationException -// The input fails to satisfy the constraints specified by an Amazon Web Services -// service. +// - ValidationException +// The input fails to satisfy the constraints specified by an Amazon Web Services +// service. // -// * ConflictException -// Updating or deleting a resource causes an inconsistent state. +// - ConflictException +// Updating or deleting a resource causes an inconsistent state. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception -// or failure. +// - InternalServerException +// The request processing has failed because of an unknown error, exception +// or failure. // // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-incidents-2018-05-10/UpdateTimelineEvent func (c *SSMIncidents) UpdateTimelineEvent(input *UpdateTimelineEventInput) (*UpdateTimelineEventOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/doc.go index 8b10609adb29..1eb1c09b509f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/doc.go @@ -19,7 +19,7 @@ // See ssmincidents package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ssmincidents/ // -// Using the Client +// # Using the Client // // To contact AWS Systems Manager Incident Manager with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/service.go index ef17c4f21c73..44c123cf55b7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SSMIncidents client from just a session. -// svc := ssmincidents.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SSMIncidents client with additional configuration -// svc := ssmincidents.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SSMIncidents client from just a session. +// svc := ssmincidents.New(mySession) +// +// // Create a SSMIncidents client with additional configuration +// svc := ssmincidents.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SSMIncidents { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/ssmincidentsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/ssmincidentsiface/interface.go index 53fb768f24ac..ce6c5279fe03 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/ssmincidentsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssmincidents/ssmincidentsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Systems Manager Incident Manager. -// func myFunc(svc ssmincidentsiface.SSMIncidentsAPI) bool { -// // Make svc.CreateReplicationSet request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Systems Manager Incident Manager. +// func myFunc(svc ssmincidentsiface.SSMIncidentsAPI) bool { +// // Make svc.CreateReplicationSet request +// } // -// func main() { -// sess := session.New() -// svc := ssmincidents.New(sess) +// func main() { +// sess := session.New() +// svc := ssmincidents.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSSMIncidentsClient struct { -// ssmincidentsiface.SSMIncidentsAPI -// } -// func (m *mockSSMIncidentsClient) CreateReplicationSet(input *ssmincidents.CreateReplicationSetInput) (*ssmincidents.CreateReplicationSetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSSMIncidentsClient struct { +// ssmincidentsiface.SSMIncidentsAPI +// } +// func (m *mockSSMIncidentsClient) CreateReplicationSet(input *ssmincidents.CreateReplicationSetInput) (*ssmincidents.CreateReplicationSetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSSMIncidentsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSSMIncidentsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/api.go index 6b8a19572f3a..84d123febcae 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/api.go @@ -29,14 +29,13 @@ const opGetRoleCredentials = "GetRoleCredentials" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRoleCredentialsRequest method. +// req, resp := client.GetRoleCredentialsRequest(params) // -// // Example sending a request using the GetRoleCredentialsRequest method. -// req, resp := client.GetRoleCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/GetRoleCredentials func (c *SSO) GetRoleCredentialsRequest(input *GetRoleCredentialsInput) (req *request.Request, output *GetRoleCredentialsOutput) { @@ -69,20 +68,21 @@ func (c *SSO) GetRoleCredentialsRequest(input *GetRoleCredentialsInput) (req *re // API operation GetRoleCredentials for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// Indicates that a problem occurred with the input to the request. For example, -// a required parameter might be missing or out of range. // -// * UnauthorizedException -// Indicates that the request is not authorized. This can happen due to an invalid -// access token in the request. +// - InvalidRequestException +// Indicates that a problem occurred with the input to the request. For example, +// a required parameter might be missing or out of range. +// +// - UnauthorizedException +// Indicates that the request is not authorized. This can happen due to an invalid +// access token in the request. // -// * TooManyRequestsException -// Indicates that the request is being made too frequently and is more than -// what the server can handle. +// - TooManyRequestsException +// Indicates that the request is being made too frequently and is more than +// what the server can handle. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - ResourceNotFoundException +// The specified resource doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/GetRoleCredentials func (c *SSO) GetRoleCredentials(input *GetRoleCredentialsInput) (*GetRoleCredentialsOutput, error) { @@ -122,14 +122,13 @@ const opListAccountRoles = "ListAccountRoles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccountRolesRequest method. +// req, resp := client.ListAccountRolesRequest(params) // -// // Example sending a request using the ListAccountRolesRequest method. -// req, resp := client.ListAccountRolesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/ListAccountRoles func (c *SSO) ListAccountRolesRequest(input *ListAccountRolesInput) (req *request.Request, output *ListAccountRolesOutput) { @@ -167,20 +166,21 @@ func (c *SSO) ListAccountRolesRequest(input *ListAccountRolesInput) (req *reques // API operation ListAccountRoles for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// Indicates that a problem occurred with the input to the request. For example, -// a required parameter might be missing or out of range. // -// * UnauthorizedException -// Indicates that the request is not authorized. This can happen due to an invalid -// access token in the request. +// - InvalidRequestException +// Indicates that a problem occurred with the input to the request. For example, +// a required parameter might be missing or out of range. // -// * TooManyRequestsException -// Indicates that the request is being made too frequently and is more than -// what the server can handle. +// - UnauthorizedException +// Indicates that the request is not authorized. This can happen due to an invalid +// access token in the request. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - TooManyRequestsException +// Indicates that the request is being made too frequently and is more than +// what the server can handle. +// +// - ResourceNotFoundException +// The specified resource doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/ListAccountRoles func (c *SSO) ListAccountRoles(input *ListAccountRolesInput) (*ListAccountRolesOutput, error) { @@ -212,15 +212,14 @@ func (c *SSO) ListAccountRolesWithContext(ctx aws.Context, input *ListAccountRol // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccountRoles operation. -// pageNum := 0 -// err := client.ListAccountRolesPages(params, -// func(page *sso.ListAccountRolesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccountRoles operation. +// pageNum := 0 +// err := client.ListAccountRolesPages(params, +// func(page *sso.ListAccountRolesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSO) ListAccountRolesPages(input *ListAccountRolesInput, fn func(*ListAccountRolesOutput, bool) bool) error { return c.ListAccountRolesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -272,14 +271,13 @@ const opListAccounts = "ListAccounts" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccountsRequest method. +// req, resp := client.ListAccountsRequest(params) // -// // Example sending a request using the ListAccountsRequest method. -// req, resp := client.ListAccountsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/ListAccounts func (c *SSO) ListAccountsRequest(input *ListAccountsInput) (req *request.Request, output *ListAccountsOutput) { @@ -320,20 +318,21 @@ func (c *SSO) ListAccountsRequest(input *ListAccountsInput) (req *request.Reques // API operation ListAccounts for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// Indicates that a problem occurred with the input to the request. For example, -// a required parameter might be missing or out of range. // -// * UnauthorizedException -// Indicates that the request is not authorized. This can happen due to an invalid -// access token in the request. +// - InvalidRequestException +// Indicates that a problem occurred with the input to the request. For example, +// a required parameter might be missing or out of range. +// +// - UnauthorizedException +// Indicates that the request is not authorized. This can happen due to an invalid +// access token in the request. // -// * TooManyRequestsException -// Indicates that the request is being made too frequently and is more than -// what the server can handle. +// - TooManyRequestsException +// Indicates that the request is being made too frequently and is more than +// what the server can handle. // -// * ResourceNotFoundException -// The specified resource doesn't exist. +// - ResourceNotFoundException +// The specified resource doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/ListAccounts func (c *SSO) ListAccounts(input *ListAccountsInput) (*ListAccountsOutput, error) { @@ -365,15 +364,14 @@ func (c *SSO) ListAccountsWithContext(ctx aws.Context, input *ListAccountsInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccounts operation. -// pageNum := 0 -// err := client.ListAccountsPages(params, -// func(page *sso.ListAccountsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccounts operation. +// pageNum := 0 +// err := client.ListAccountsPages(params, +// func(page *sso.ListAccountsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSO) ListAccountsPages(input *ListAccountsInput, fn func(*ListAccountsOutput, bool) bool) error { return c.ListAccountsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -425,14 +423,13 @@ const opLogout = "Logout" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the LogoutRequest method. +// req, resp := client.LogoutRequest(params) // -// // Example sending a request using the LogoutRequest method. -// req, resp := client.LogoutRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/Logout func (c *SSO) LogoutRequest(input *LogoutInput) (req *request.Request, output *LogoutOutput) { @@ -465,17 +462,18 @@ func (c *SSO) LogoutRequest(input *LogoutInput) (req *request.Request, output *L // API operation Logout for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// Indicates that a problem occurred with the input to the request. For example, -// a required parameter might be missing or out of range. // -// * UnauthorizedException -// Indicates that the request is not authorized. This can happen due to an invalid -// access token in the request. +// - InvalidRequestException +// Indicates that a problem occurred with the input to the request. For example, +// a required parameter might be missing or out of range. +// +// - UnauthorizedException +// Indicates that the request is not authorized. This can happen due to an invalid +// access token in the request. // -// * TooManyRequestsException -// Indicates that the request is being made too frequently and is more than -// what the server can handle. +// - TooManyRequestsException +// Indicates that the request is being made too frequently and is more than +// what the server can handle. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-2019-06-10/Logout func (c *SSO) Logout(input *LogoutInput) (*LogoutOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/doc.go index 92d82b2afb68..86a31e96f50d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/doc.go @@ -26,7 +26,7 @@ // See sso package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/sso/ // -// Using the Client +// # Using the Client // // To contact AWS Single Sign-On with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/service.go index 4ebbe66c3552..b5ecda688035 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SSO client from just a session. -// svc := sso.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SSO client with additional configuration -// svc := sso.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SSO client from just a session. +// svc := sso.New(mySession) +// +// // Create a SSO client with additional configuration +// svc := sso.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SSO { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/ssoiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/ssoiface/interface.go index 71cbd0c55f16..147d795e1d13 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/ssoiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sso/ssoiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Single Sign-On. -// func myFunc(svc ssoiface.SSOAPI) bool { -// // Make svc.GetRoleCredentials request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Single Sign-On. +// func myFunc(svc ssoiface.SSOAPI) bool { +// // Make svc.GetRoleCredentials request +// } // -// func main() { -// sess := session.New() -// svc := sso.New(sess) +// func main() { +// sess := session.New() +// svc := sso.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSSOClient struct { -// ssoiface.SSOAPI -// } -// func (m *mockSSOClient) GetRoleCredentials(input *sso.GetRoleCredentialsInput) (*sso.GetRoleCredentialsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSSOClient struct { +// ssoiface.SSOAPI +// } +// func (m *mockSSOClient) GetRoleCredentials(input *sso.GetRoleCredentialsInput) (*sso.GetRoleCredentialsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSSOClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSSOClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/api.go index e629430842c2..763ccef8e9dd 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/api.go @@ -29,14 +29,13 @@ const opAttachManagedPolicyToPermissionSet = "AttachManagedPolicyToPermissionSet // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachManagedPolicyToPermissionSetRequest method. +// req, resp := client.AttachManagedPolicyToPermissionSetRequest(params) // -// // Example sending a request using the AttachManagedPolicyToPermissionSetRequest method. -// req, resp := client.AttachManagedPolicyToPermissionSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/AttachManagedPolicyToPermissionSet func (c *SSOAdmin) AttachManagedPolicyToPermissionSetRequest(input *AttachManagedPolicyToPermissionSetInput) (req *request.Request, output *AttachManagedPolicyToPermissionSetOutput) { @@ -73,32 +72,33 @@ func (c *SSOAdmin) AttachManagedPolicyToPermissionSetRequest(input *AttachManage // API operation AttachManagedPolicyToPermissionSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ServiceQuotaExceededException -// Indicates that the principal has crossed the permitted number of resources -// that can be created. +// - ServiceQuotaExceededException +// Indicates that the principal has crossed the permitted number of resources +// that can be created. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/AttachManagedPolicyToPermissionSet func (c *SSOAdmin) AttachManagedPolicyToPermissionSet(input *AttachManagedPolicyToPermissionSetInput) (*AttachManagedPolicyToPermissionSetOutput, error) { @@ -138,14 +138,13 @@ const opCreateAccountAssignment = "CreateAccountAssignment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAccountAssignmentRequest method. +// req, resp := client.CreateAccountAssignmentRequest(params) // -// // Example sending a request using the CreateAccountAssignmentRequest method. -// req, resp := client.CreateAccountAssignmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateAccountAssignment func (c *SSOAdmin) CreateAccountAssignmentRequest(input *CreateAccountAssignmentInput) (req *request.Request, output *CreateAccountAssignmentOutput) { @@ -187,32 +186,33 @@ func (c *SSOAdmin) CreateAccountAssignmentRequest(input *CreateAccountAssignment // API operation CreateAccountAssignment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * ServiceQuotaExceededException -// Indicates that the principal has crossed the permitted number of resources -// that can be created. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ServiceQuotaExceededException +// Indicates that the principal has crossed the permitted number of resources +// that can be created. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request failed because it contains a syntax error. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateAccountAssignment func (c *SSOAdmin) CreateAccountAssignment(input *CreateAccountAssignmentInput) (*CreateAccountAssignmentOutput, error) { @@ -252,14 +252,13 @@ const opCreateInstanceAccessControlAttributeConfiguration = "CreateInstanceAcces // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateInstanceAccessControlAttributeConfigurationRequest method. +// req, resp := client.CreateInstanceAccessControlAttributeConfigurationRequest(params) // -// // Example sending a request using the CreateInstanceAccessControlAttributeConfigurationRequest method. -// req, resp := client.CreateInstanceAccessControlAttributeConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateInstanceAccessControlAttributeConfiguration func (c *SSOAdmin) CreateInstanceAccessControlAttributeConfigurationRequest(input *CreateInstanceAccessControlAttributeConfigurationInput) (req *request.Request, output *CreateInstanceAccessControlAttributeConfigurationOutput) { @@ -295,28 +294,29 @@ func (c *SSOAdmin) CreateInstanceAccessControlAttributeConfigurationRequest(inpu // API operation CreateInstanceAccessControlAttributeConfiguration for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ResourceNotFoundException -// Indicates that a requested resource is not found. +// - ValidationException +// The request failed because it contains a syntax error. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreateInstanceAccessControlAttributeConfiguration func (c *SSOAdmin) CreateInstanceAccessControlAttributeConfiguration(input *CreateInstanceAccessControlAttributeConfigurationInput) (*CreateInstanceAccessControlAttributeConfigurationOutput, error) { @@ -356,14 +356,13 @@ const opCreatePermissionSet = "CreatePermissionSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePermissionSetRequest method. +// req, resp := client.CreatePermissionSetRequest(params) // -// // Example sending a request using the CreatePermissionSetRequest method. -// req, resp := client.CreatePermissionSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreatePermissionSet func (c *SSOAdmin) CreatePermissionSetRequest(input *CreatePermissionSetInput) (req *request.Request, output *CreatePermissionSetOutput) { @@ -397,32 +396,33 @@ func (c *SSOAdmin) CreatePermissionSetRequest(input *CreatePermissionSetInput) ( // API operation CreatePermissionSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * ServiceQuotaExceededException -// Indicates that the principal has crossed the permitted number of resources -// that can be created. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ServiceQuotaExceededException +// Indicates that the principal has crossed the permitted number of resources +// that can be created. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request failed because it contains a syntax error. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/CreatePermissionSet func (c *SSOAdmin) CreatePermissionSet(input *CreatePermissionSetInput) (*CreatePermissionSetOutput, error) { @@ -462,14 +462,13 @@ const opDeleteAccountAssignment = "DeleteAccountAssignment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccountAssignmentRequest method. +// req, resp := client.DeleteAccountAssignmentRequest(params) // -// // Example sending a request using the DeleteAccountAssignmentRequest method. -// req, resp := client.DeleteAccountAssignmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteAccountAssignment func (c *SSOAdmin) DeleteAccountAssignmentRequest(input *DeleteAccountAssignmentInput) (req *request.Request, output *DeleteAccountAssignmentOutput) { @@ -501,28 +500,29 @@ func (c *SSOAdmin) DeleteAccountAssignmentRequest(input *DeleteAccountAssignment // API operation DeleteAccountAssignment for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request failed because it contains a syntax error. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteAccountAssignment func (c *SSOAdmin) DeleteAccountAssignment(input *DeleteAccountAssignmentInput) (*DeleteAccountAssignmentOutput, error) { @@ -562,14 +562,13 @@ const opDeleteInlinePolicyFromPermissionSet = "DeleteInlinePolicyFromPermissionS // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInlinePolicyFromPermissionSetRequest method. +// req, resp := client.DeleteInlinePolicyFromPermissionSetRequest(params) // -// // Example sending a request using the DeleteInlinePolicyFromPermissionSetRequest method. -// req, resp := client.DeleteInlinePolicyFromPermissionSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInlinePolicyFromPermissionSet func (c *SSOAdmin) DeleteInlinePolicyFromPermissionSetRequest(input *DeleteInlinePolicyFromPermissionSetInput) (req *request.Request, output *DeleteInlinePolicyFromPermissionSetOutput) { @@ -601,28 +600,29 @@ func (c *SSOAdmin) DeleteInlinePolicyFromPermissionSetRequest(input *DeleteInlin // API operation DeleteInlinePolicyFromPermissionSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInlinePolicyFromPermissionSet func (c *SSOAdmin) DeleteInlinePolicyFromPermissionSet(input *DeleteInlinePolicyFromPermissionSetInput) (*DeleteInlinePolicyFromPermissionSetOutput, error) { @@ -662,14 +662,13 @@ const opDeleteInstanceAccessControlAttributeConfiguration = "DeleteInstanceAcces // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteInstanceAccessControlAttributeConfigurationRequest method. +// req, resp := client.DeleteInstanceAccessControlAttributeConfigurationRequest(params) // -// // Example sending a request using the DeleteInstanceAccessControlAttributeConfigurationRequest method. -// req, resp := client.DeleteInstanceAccessControlAttributeConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInstanceAccessControlAttributeConfiguration func (c *SSOAdmin) DeleteInstanceAccessControlAttributeConfigurationRequest(input *DeleteInstanceAccessControlAttributeConfigurationInput) (req *request.Request, output *DeleteInstanceAccessControlAttributeConfigurationOutput) { @@ -707,28 +706,29 @@ func (c *SSOAdmin) DeleteInstanceAccessControlAttributeConfigurationRequest(inpu // API operation DeleteInstanceAccessControlAttributeConfiguration for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * ResourceNotFoundException -// Indicates that a requested resource is not found. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeleteInstanceAccessControlAttributeConfiguration func (c *SSOAdmin) DeleteInstanceAccessControlAttributeConfiguration(input *DeleteInstanceAccessControlAttributeConfigurationInput) (*DeleteInstanceAccessControlAttributeConfigurationOutput, error) { @@ -768,14 +768,13 @@ const opDeletePermissionSet = "DeletePermissionSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePermissionSetRequest method. +// req, resp := client.DeletePermissionSetRequest(params) // -// // Example sending a request using the DeletePermissionSetRequest method. -// req, resp := client.DeletePermissionSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionSet func (c *SSOAdmin) DeletePermissionSetRequest(input *DeletePermissionSetInput) (req *request.Request, output *DeletePermissionSetOutput) { @@ -807,28 +806,29 @@ func (c *SSOAdmin) DeletePermissionSetRequest(input *DeletePermissionSetInput) ( // API operation DeletePermissionSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DeletePermissionSet func (c *SSOAdmin) DeletePermissionSet(input *DeletePermissionSetInput) (*DeletePermissionSetOutput, error) { @@ -868,14 +868,13 @@ const opDescribeAccountAssignmentCreationStatus = "DescribeAccountAssignmentCrea // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountAssignmentCreationStatusRequest method. +// req, resp := client.DescribeAccountAssignmentCreationStatusRequest(params) // -// // Example sending a request using the DescribeAccountAssignmentCreationStatusRequest method. -// req, resp := client.DescribeAccountAssignmentCreationStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentCreationStatus func (c *SSOAdmin) DescribeAccountAssignmentCreationStatusRequest(input *DescribeAccountAssignmentCreationStatusInput) (req *request.Request, output *DescribeAccountAssignmentCreationStatusOutput) { @@ -906,22 +905,23 @@ func (c *SSOAdmin) DescribeAccountAssignmentCreationStatusRequest(input *Describ // API operation DescribeAccountAssignmentCreationStatus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentCreationStatus func (c *SSOAdmin) DescribeAccountAssignmentCreationStatus(input *DescribeAccountAssignmentCreationStatusInput) (*DescribeAccountAssignmentCreationStatusOutput, error) { @@ -961,14 +961,13 @@ const opDescribeAccountAssignmentDeletionStatus = "DescribeAccountAssignmentDele // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountAssignmentDeletionStatusRequest method. +// req, resp := client.DescribeAccountAssignmentDeletionStatusRequest(params) // -// // Example sending a request using the DescribeAccountAssignmentDeletionStatusRequest method. -// req, resp := client.DescribeAccountAssignmentDeletionStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentDeletionStatus func (c *SSOAdmin) DescribeAccountAssignmentDeletionStatusRequest(input *DescribeAccountAssignmentDeletionStatusInput) (req *request.Request, output *DescribeAccountAssignmentDeletionStatusOutput) { @@ -999,22 +998,23 @@ func (c *SSOAdmin) DescribeAccountAssignmentDeletionStatusRequest(input *Describ // API operation DescribeAccountAssignmentDeletionStatus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeAccountAssignmentDeletionStatus func (c *SSOAdmin) DescribeAccountAssignmentDeletionStatus(input *DescribeAccountAssignmentDeletionStatusInput) (*DescribeAccountAssignmentDeletionStatusOutput, error) { @@ -1054,14 +1054,13 @@ const opDescribeInstanceAccessControlAttributeConfiguration = "DescribeInstanceA // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInstanceAccessControlAttributeConfigurationRequest method. +// req, resp := client.DescribeInstanceAccessControlAttributeConfigurationRequest(params) // -// // Example sending a request using the DescribeInstanceAccessControlAttributeConfigurationRequest method. -// req, resp := client.DescribeInstanceAccessControlAttributeConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeInstanceAccessControlAttributeConfiguration func (c *SSOAdmin) DescribeInstanceAccessControlAttributeConfigurationRequest(input *DescribeInstanceAccessControlAttributeConfigurationInput) (req *request.Request, output *DescribeInstanceAccessControlAttributeConfigurationOutput) { @@ -1097,22 +1096,23 @@ func (c *SSOAdmin) DescribeInstanceAccessControlAttributeConfigurationRequest(in // API operation DescribeInstanceAccessControlAttributeConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. +// +// - ValidationException +// The request failed because it contains a syntax error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribeInstanceAccessControlAttributeConfiguration func (c *SSOAdmin) DescribeInstanceAccessControlAttributeConfiguration(input *DescribeInstanceAccessControlAttributeConfigurationInput) (*DescribeInstanceAccessControlAttributeConfigurationOutput, error) { @@ -1152,14 +1152,13 @@ const opDescribePermissionSet = "DescribePermissionSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePermissionSetRequest method. +// req, resp := client.DescribePermissionSetRequest(params) // -// // Example sending a request using the DescribePermissionSetRequest method. -// req, resp := client.DescribePermissionSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSet func (c *SSOAdmin) DescribePermissionSetRequest(input *DescribePermissionSetInput) (req *request.Request, output *DescribePermissionSetOutput) { @@ -1190,22 +1189,23 @@ func (c *SSOAdmin) DescribePermissionSetRequest(input *DescribePermissionSetInpu // API operation DescribePermissionSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request failed because it contains a syntax error. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSet func (c *SSOAdmin) DescribePermissionSet(input *DescribePermissionSetInput) (*DescribePermissionSetOutput, error) { @@ -1245,14 +1245,13 @@ const opDescribePermissionSetProvisioningStatus = "DescribePermissionSetProvisio // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribePermissionSetProvisioningStatusRequest method. +// req, resp := client.DescribePermissionSetProvisioningStatusRequest(params) // -// // Example sending a request using the DescribePermissionSetProvisioningStatusRequest method. -// req, resp := client.DescribePermissionSetProvisioningStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSetProvisioningStatus func (c *SSOAdmin) DescribePermissionSetProvisioningStatusRequest(input *DescribePermissionSetProvisioningStatusInput) (req *request.Request, output *DescribePermissionSetProvisioningStatusOutput) { @@ -1283,22 +1282,23 @@ func (c *SSOAdmin) DescribePermissionSetProvisioningStatusRequest(input *Describ // API operation DescribePermissionSetProvisioningStatus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request failed because it contains a syntax error. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DescribePermissionSetProvisioningStatus func (c *SSOAdmin) DescribePermissionSetProvisioningStatus(input *DescribePermissionSetProvisioningStatusInput) (*DescribePermissionSetProvisioningStatusOutput, error) { @@ -1338,14 +1338,13 @@ const opDetachManagedPolicyFromPermissionSet = "DetachManagedPolicyFromPermissio // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachManagedPolicyFromPermissionSetRequest method. +// req, resp := client.DetachManagedPolicyFromPermissionSetRequest(params) // -// // Example sending a request using the DetachManagedPolicyFromPermissionSetRequest method. -// req, resp := client.DetachManagedPolicyFromPermissionSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachManagedPolicyFromPermissionSet func (c *SSOAdmin) DetachManagedPolicyFromPermissionSetRequest(input *DetachManagedPolicyFromPermissionSetInput) (req *request.Request, output *DetachManagedPolicyFromPermissionSetOutput) { @@ -1378,28 +1377,29 @@ func (c *SSOAdmin) DetachManagedPolicyFromPermissionSetRequest(input *DetachMana // API operation DetachManagedPolicyFromPermissionSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request failed because it contains a syntax error. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/DetachManagedPolicyFromPermissionSet func (c *SSOAdmin) DetachManagedPolicyFromPermissionSet(input *DetachManagedPolicyFromPermissionSetInput) (*DetachManagedPolicyFromPermissionSetOutput, error) { @@ -1439,14 +1439,13 @@ const opGetInlinePolicyForPermissionSet = "GetInlinePolicyForPermissionSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInlinePolicyForPermissionSetRequest method. +// req, resp := client.GetInlinePolicyForPermissionSetRequest(params) // -// // Example sending a request using the GetInlinePolicyForPermissionSetRequest method. -// req, resp := client.GetInlinePolicyForPermissionSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetInlinePolicyForPermissionSet func (c *SSOAdmin) GetInlinePolicyForPermissionSetRequest(input *GetInlinePolicyForPermissionSetInput) (req *request.Request, output *GetInlinePolicyForPermissionSetOutput) { @@ -1477,22 +1476,23 @@ func (c *SSOAdmin) GetInlinePolicyForPermissionSetRequest(input *GetInlinePolicy // API operation GetInlinePolicyForPermissionSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/GetInlinePolicyForPermissionSet func (c *SSOAdmin) GetInlinePolicyForPermissionSet(input *GetInlinePolicyForPermissionSetInput) (*GetInlinePolicyForPermissionSetOutput, error) { @@ -1532,14 +1532,13 @@ const opListAccountAssignmentCreationStatus = "ListAccountAssignmentCreationStat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccountAssignmentCreationStatusRequest method. +// req, resp := client.ListAccountAssignmentCreationStatusRequest(params) // -// // Example sending a request using the ListAccountAssignmentCreationStatusRequest method. -// req, resp := client.ListAccountAssignmentCreationStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentCreationStatus func (c *SSOAdmin) ListAccountAssignmentCreationStatusRequest(input *ListAccountAssignmentCreationStatusInput) (req *request.Request, output *ListAccountAssignmentCreationStatusOutput) { @@ -1577,22 +1576,23 @@ func (c *SSOAdmin) ListAccountAssignmentCreationStatusRequest(input *ListAccount // API operation ListAccountAssignmentCreationStatus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentCreationStatus func (c *SSOAdmin) ListAccountAssignmentCreationStatus(input *ListAccountAssignmentCreationStatusInput) (*ListAccountAssignmentCreationStatusOutput, error) { @@ -1624,15 +1624,14 @@ func (c *SSOAdmin) ListAccountAssignmentCreationStatusWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccountAssignmentCreationStatus operation. -// pageNum := 0 -// err := client.ListAccountAssignmentCreationStatusPages(params, -// func(page *ssoadmin.ListAccountAssignmentCreationStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccountAssignmentCreationStatus operation. +// pageNum := 0 +// err := client.ListAccountAssignmentCreationStatusPages(params, +// func(page *ssoadmin.ListAccountAssignmentCreationStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSOAdmin) ListAccountAssignmentCreationStatusPages(input *ListAccountAssignmentCreationStatusInput, fn func(*ListAccountAssignmentCreationStatusOutput, bool) bool) error { return c.ListAccountAssignmentCreationStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1684,14 +1683,13 @@ const opListAccountAssignmentDeletionStatus = "ListAccountAssignmentDeletionStat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccountAssignmentDeletionStatusRequest method. +// req, resp := client.ListAccountAssignmentDeletionStatusRequest(params) // -// // Example sending a request using the ListAccountAssignmentDeletionStatusRequest method. -// req, resp := client.ListAccountAssignmentDeletionStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentDeletionStatus func (c *SSOAdmin) ListAccountAssignmentDeletionStatusRequest(input *ListAccountAssignmentDeletionStatusInput) (req *request.Request, output *ListAccountAssignmentDeletionStatusOutput) { @@ -1729,22 +1727,23 @@ func (c *SSOAdmin) ListAccountAssignmentDeletionStatusRequest(input *ListAccount // API operation ListAccountAssignmentDeletionStatus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request failed because it contains a syntax error. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignmentDeletionStatus func (c *SSOAdmin) ListAccountAssignmentDeletionStatus(input *ListAccountAssignmentDeletionStatusInput) (*ListAccountAssignmentDeletionStatusOutput, error) { @@ -1776,15 +1775,14 @@ func (c *SSOAdmin) ListAccountAssignmentDeletionStatusWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccountAssignmentDeletionStatus operation. -// pageNum := 0 -// err := client.ListAccountAssignmentDeletionStatusPages(params, -// func(page *ssoadmin.ListAccountAssignmentDeletionStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccountAssignmentDeletionStatus operation. +// pageNum := 0 +// err := client.ListAccountAssignmentDeletionStatusPages(params, +// func(page *ssoadmin.ListAccountAssignmentDeletionStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSOAdmin) ListAccountAssignmentDeletionStatusPages(input *ListAccountAssignmentDeletionStatusInput, fn func(*ListAccountAssignmentDeletionStatusOutput, bool) bool) error { return c.ListAccountAssignmentDeletionStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1836,14 +1834,13 @@ const opListAccountAssignments = "ListAccountAssignments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccountAssignmentsRequest method. +// req, resp := client.ListAccountAssignmentsRequest(params) // -// // Example sending a request using the ListAccountAssignmentsRequest method. -// req, resp := client.ListAccountAssignmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignments func (c *SSOAdmin) ListAccountAssignmentsRequest(input *ListAccountAssignmentsInput) (req *request.Request, output *ListAccountAssignmentsOutput) { @@ -1881,22 +1878,23 @@ func (c *SSOAdmin) ListAccountAssignmentsRequest(input *ListAccountAssignmentsIn // API operation ListAccountAssignments for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountAssignments func (c *SSOAdmin) ListAccountAssignments(input *ListAccountAssignmentsInput) (*ListAccountAssignmentsOutput, error) { @@ -1928,15 +1926,14 @@ func (c *SSOAdmin) ListAccountAssignmentsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccountAssignments operation. -// pageNum := 0 -// err := client.ListAccountAssignmentsPages(params, -// func(page *ssoadmin.ListAccountAssignmentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccountAssignments operation. +// pageNum := 0 +// err := client.ListAccountAssignmentsPages(params, +// func(page *ssoadmin.ListAccountAssignmentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSOAdmin) ListAccountAssignmentsPages(input *ListAccountAssignmentsInput, fn func(*ListAccountAssignmentsOutput, bool) bool) error { return c.ListAccountAssignmentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1988,14 +1985,13 @@ const opListAccountsForProvisionedPermissionSet = "ListAccountsForProvisionedPer // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccountsForProvisionedPermissionSetRequest method. +// req, resp := client.ListAccountsForProvisionedPermissionSetRequest(params) // -// // Example sending a request using the ListAccountsForProvisionedPermissionSetRequest method. -// req, resp := client.ListAccountsForProvisionedPermissionSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountsForProvisionedPermissionSet func (c *SSOAdmin) ListAccountsForProvisionedPermissionSetRequest(input *ListAccountsForProvisionedPermissionSetInput) (req *request.Request, output *ListAccountsForProvisionedPermissionSetOutput) { @@ -2033,22 +2029,23 @@ func (c *SSOAdmin) ListAccountsForProvisionedPermissionSetRequest(input *ListAcc // API operation ListAccountsForProvisionedPermissionSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListAccountsForProvisionedPermissionSet func (c *SSOAdmin) ListAccountsForProvisionedPermissionSet(input *ListAccountsForProvisionedPermissionSetInput) (*ListAccountsForProvisionedPermissionSetOutput, error) { @@ -2080,15 +2077,14 @@ func (c *SSOAdmin) ListAccountsForProvisionedPermissionSetWithContext(ctx aws.Co // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccountsForProvisionedPermissionSet operation. -// pageNum := 0 -// err := client.ListAccountsForProvisionedPermissionSetPages(params, -// func(page *ssoadmin.ListAccountsForProvisionedPermissionSetOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccountsForProvisionedPermissionSet operation. +// pageNum := 0 +// err := client.ListAccountsForProvisionedPermissionSetPages(params, +// func(page *ssoadmin.ListAccountsForProvisionedPermissionSetOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSOAdmin) ListAccountsForProvisionedPermissionSetPages(input *ListAccountsForProvisionedPermissionSetInput, fn func(*ListAccountsForProvisionedPermissionSetOutput, bool) bool) error { return c.ListAccountsForProvisionedPermissionSetPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2140,14 +2136,13 @@ const opListInstances = "ListInstances" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListInstancesRequest method. +// req, resp := client.ListInstancesRequest(params) // -// // Example sending a request using the ListInstancesRequest method. -// req, resp := client.ListInstancesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListInstances func (c *SSOAdmin) ListInstancesRequest(input *ListInstancesInput) (req *request.Request, output *ListInstancesOutput) { @@ -2184,19 +2179,20 @@ func (c *SSOAdmin) ListInstancesRequest(input *ListInstancesInput) (req *request // API operation ListInstances for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ValidationException +// The request failed because it contains a syntax error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListInstances func (c *SSOAdmin) ListInstances(input *ListInstancesInput) (*ListInstancesOutput, error) { @@ -2228,15 +2224,14 @@ func (c *SSOAdmin) ListInstancesWithContext(ctx aws.Context, input *ListInstance // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListInstances operation. -// pageNum := 0 -// err := client.ListInstancesPages(params, -// func(page *ssoadmin.ListInstancesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListInstances operation. +// pageNum := 0 +// err := client.ListInstancesPages(params, +// func(page *ssoadmin.ListInstancesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSOAdmin) ListInstancesPages(input *ListInstancesInput, fn func(*ListInstancesOutput, bool) bool) error { return c.ListInstancesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2288,14 +2283,13 @@ const opListManagedPoliciesInPermissionSet = "ListManagedPoliciesInPermissionSet // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListManagedPoliciesInPermissionSetRequest method. +// req, resp := client.ListManagedPoliciesInPermissionSetRequest(params) // -// // Example sending a request using the ListManagedPoliciesInPermissionSetRequest method. -// req, resp := client.ListManagedPoliciesInPermissionSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListManagedPoliciesInPermissionSet func (c *SSOAdmin) ListManagedPoliciesInPermissionSetRequest(input *ListManagedPoliciesInPermissionSetInput) (req *request.Request, output *ListManagedPoliciesInPermissionSetOutput) { @@ -2332,22 +2326,23 @@ func (c *SSOAdmin) ListManagedPoliciesInPermissionSetRequest(input *ListManagedP // API operation ListManagedPoliciesInPermissionSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListManagedPoliciesInPermissionSet func (c *SSOAdmin) ListManagedPoliciesInPermissionSet(input *ListManagedPoliciesInPermissionSetInput) (*ListManagedPoliciesInPermissionSetOutput, error) { @@ -2379,15 +2374,14 @@ func (c *SSOAdmin) ListManagedPoliciesInPermissionSetWithContext(ctx aws.Context // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListManagedPoliciesInPermissionSet operation. -// pageNum := 0 -// err := client.ListManagedPoliciesInPermissionSetPages(params, -// func(page *ssoadmin.ListManagedPoliciesInPermissionSetOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListManagedPoliciesInPermissionSet operation. +// pageNum := 0 +// err := client.ListManagedPoliciesInPermissionSetPages(params, +// func(page *ssoadmin.ListManagedPoliciesInPermissionSetOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSOAdmin) ListManagedPoliciesInPermissionSetPages(input *ListManagedPoliciesInPermissionSetInput, fn func(*ListManagedPoliciesInPermissionSetOutput, bool) bool) error { return c.ListManagedPoliciesInPermissionSetPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2439,14 +2433,13 @@ const opListPermissionSetProvisioningStatus = "ListPermissionSetProvisioningStat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPermissionSetProvisioningStatusRequest method. +// req, resp := client.ListPermissionSetProvisioningStatusRequest(params) // -// // Example sending a request using the ListPermissionSetProvisioningStatusRequest method. -// req, resp := client.ListPermissionSetProvisioningStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetProvisioningStatus func (c *SSOAdmin) ListPermissionSetProvisioningStatusRequest(input *ListPermissionSetProvisioningStatusInput) (req *request.Request, output *ListPermissionSetProvisioningStatusOutput) { @@ -2484,22 +2477,23 @@ func (c *SSOAdmin) ListPermissionSetProvisioningStatusRequest(input *ListPermiss // API operation ListPermissionSetProvisioningStatus for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetProvisioningStatus func (c *SSOAdmin) ListPermissionSetProvisioningStatus(input *ListPermissionSetProvisioningStatusInput) (*ListPermissionSetProvisioningStatusOutput, error) { @@ -2531,15 +2525,14 @@ func (c *SSOAdmin) ListPermissionSetProvisioningStatusWithContext(ctx aws.Contex // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPermissionSetProvisioningStatus operation. -// pageNum := 0 -// err := client.ListPermissionSetProvisioningStatusPages(params, -// func(page *ssoadmin.ListPermissionSetProvisioningStatusOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPermissionSetProvisioningStatus operation. +// pageNum := 0 +// err := client.ListPermissionSetProvisioningStatusPages(params, +// func(page *ssoadmin.ListPermissionSetProvisioningStatusOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSOAdmin) ListPermissionSetProvisioningStatusPages(input *ListPermissionSetProvisioningStatusInput, fn func(*ListPermissionSetProvisioningStatusOutput, bool) bool) error { return c.ListPermissionSetProvisioningStatusPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2591,14 +2584,13 @@ const opListPermissionSets = "ListPermissionSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPermissionSetsRequest method. +// req, resp := client.ListPermissionSetsRequest(params) // -// // Example sending a request using the ListPermissionSetsRequest method. -// req, resp := client.ListPermissionSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSets func (c *SSOAdmin) ListPermissionSetsRequest(input *ListPermissionSetsInput) (req *request.Request, output *ListPermissionSetsOutput) { @@ -2635,22 +2627,23 @@ func (c *SSOAdmin) ListPermissionSetsRequest(input *ListPermissionSetsInput) (re // API operation ListPermissionSets for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request failed because it contains a syntax error. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSets func (c *SSOAdmin) ListPermissionSets(input *ListPermissionSetsInput) (*ListPermissionSetsOutput, error) { @@ -2682,15 +2675,14 @@ func (c *SSOAdmin) ListPermissionSetsWithContext(ctx aws.Context, input *ListPer // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPermissionSets operation. -// pageNum := 0 -// err := client.ListPermissionSetsPages(params, -// func(page *ssoadmin.ListPermissionSetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPermissionSets operation. +// pageNum := 0 +// err := client.ListPermissionSetsPages(params, +// func(page *ssoadmin.ListPermissionSetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSOAdmin) ListPermissionSetsPages(input *ListPermissionSetsInput, fn func(*ListPermissionSetsOutput, bool) bool) error { return c.ListPermissionSetsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2742,14 +2734,13 @@ const opListPermissionSetsProvisionedToAccount = "ListPermissionSetsProvisionedT // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPermissionSetsProvisionedToAccountRequest method. +// req, resp := client.ListPermissionSetsProvisionedToAccountRequest(params) // -// // Example sending a request using the ListPermissionSetsProvisionedToAccountRequest method. -// req, resp := client.ListPermissionSetsProvisionedToAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetsProvisionedToAccount func (c *SSOAdmin) ListPermissionSetsProvisionedToAccountRequest(input *ListPermissionSetsProvisionedToAccountInput) (req *request.Request, output *ListPermissionSetsProvisionedToAccountOutput) { @@ -2787,22 +2778,23 @@ func (c *SSOAdmin) ListPermissionSetsProvisionedToAccountRequest(input *ListPerm // API operation ListPermissionSetsProvisionedToAccount for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListPermissionSetsProvisionedToAccount func (c *SSOAdmin) ListPermissionSetsProvisionedToAccount(input *ListPermissionSetsProvisionedToAccountInput) (*ListPermissionSetsProvisionedToAccountOutput, error) { @@ -2834,15 +2826,14 @@ func (c *SSOAdmin) ListPermissionSetsProvisionedToAccountWithContext(ctx aws.Con // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPermissionSetsProvisionedToAccount operation. -// pageNum := 0 -// err := client.ListPermissionSetsProvisionedToAccountPages(params, -// func(page *ssoadmin.ListPermissionSetsProvisionedToAccountOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPermissionSetsProvisionedToAccount operation. +// pageNum := 0 +// err := client.ListPermissionSetsProvisionedToAccountPages(params, +// func(page *ssoadmin.ListPermissionSetsProvisionedToAccountOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSOAdmin) ListPermissionSetsProvisionedToAccountPages(input *ListPermissionSetsProvisionedToAccountInput, fn func(*ListPermissionSetsProvisionedToAccountOutput, bool) bool) error { return c.ListPermissionSetsProvisionedToAccountPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2894,14 +2885,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListTagsForResource func (c *SSOAdmin) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2938,22 +2928,23 @@ func (c *SSOAdmin) ListTagsForResourceRequest(input *ListTagsForResourceInput) ( // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ListTagsForResource func (c *SSOAdmin) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2985,15 +2976,14 @@ func (c *SSOAdmin) ListTagsForResourceWithContext(ctx aws.Context, input *ListTa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *ssoadmin.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *ssoadmin.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SSOAdmin) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3045,14 +3035,13 @@ const opProvisionPermissionSet = "ProvisionPermissionSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ProvisionPermissionSetRequest method. +// req, resp := client.ProvisionPermissionSetRequest(params) // -// // Example sending a request using the ProvisionPermissionSetRequest method. -// req, resp := client.ProvisionPermissionSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ProvisionPermissionSet func (c *SSOAdmin) ProvisionPermissionSetRequest(input *ProvisionPermissionSetInput) (req *request.Request, output *ProvisionPermissionSetOutput) { @@ -3084,28 +3073,29 @@ func (c *SSOAdmin) ProvisionPermissionSetRequest(input *ProvisionPermissionSetIn // API operation ProvisionPermissionSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request failed because it contains a syntax error. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/ProvisionPermissionSet func (c *SSOAdmin) ProvisionPermissionSet(input *ProvisionPermissionSetInput) (*ProvisionPermissionSetOutput, error) { @@ -3145,14 +3135,13 @@ const opPutInlinePolicyToPermissionSet = "PutInlinePolicyToPermissionSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutInlinePolicyToPermissionSetRequest method. +// req, resp := client.PutInlinePolicyToPermissionSetRequest(params) // -// // Example sending a request using the PutInlinePolicyToPermissionSetRequest method. -// req, resp := client.PutInlinePolicyToPermissionSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutInlinePolicyToPermissionSet func (c *SSOAdmin) PutInlinePolicyToPermissionSetRequest(input *PutInlinePolicyToPermissionSetInput) (req *request.Request, output *PutInlinePolicyToPermissionSetOutput) { @@ -3188,32 +3177,33 @@ func (c *SSOAdmin) PutInlinePolicyToPermissionSetRequest(input *PutInlinePolicyT // API operation PutInlinePolicyToPermissionSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * ServiceQuotaExceededException -// Indicates that the principal has crossed the permitted number of resources -// that can be created. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ServiceQuotaExceededException +// Indicates that the principal has crossed the permitted number of resources +// that can be created. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - ValidationException +// The request failed because it contains a syntax error. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/PutInlinePolicyToPermissionSet func (c *SSOAdmin) PutInlinePolicyToPermissionSet(input *PutInlinePolicyToPermissionSetInput) (*PutInlinePolicyToPermissionSetOutput, error) { @@ -3253,14 +3243,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/TagResource func (c *SSOAdmin) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3292,32 +3281,33 @@ func (c *SSOAdmin) TagResourceRequest(input *TagResourceInput) (req *request.Req // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ServiceQuotaExceededException -// Indicates that the principal has crossed the permitted number of resources -// that can be created. +// - ServiceQuotaExceededException +// Indicates that the principal has crossed the permitted number of resources +// that can be created. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/TagResource func (c *SSOAdmin) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3357,14 +3347,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UntagResource func (c *SSOAdmin) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3396,28 +3385,29 @@ func (c *SSOAdmin) UntagResourceRequest(input *UntagResourceInput) (req *request // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UntagResource func (c *SSOAdmin) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3457,14 +3447,13 @@ const opUpdateInstanceAccessControlAttributeConfiguration = "UpdateInstanceAcces // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateInstanceAccessControlAttributeConfigurationRequest method. +// req, resp := client.UpdateInstanceAccessControlAttributeConfigurationRequest(params) // -// // Example sending a request using the UpdateInstanceAccessControlAttributeConfigurationRequest method. -// req, resp := client.UpdateInstanceAccessControlAttributeConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateInstanceAccessControlAttributeConfiguration func (c *SSOAdmin) UpdateInstanceAccessControlAttributeConfigurationRequest(input *UpdateInstanceAccessControlAttributeConfigurationInput) (req *request.Request, output *UpdateInstanceAccessControlAttributeConfigurationOutput) { @@ -3504,28 +3493,29 @@ func (c *SSOAdmin) UpdateInstanceAccessControlAttributeConfigurationRequest(inpu // API operation UpdateInstanceAccessControlAttributeConfiguration for usage and error information. // // Returned Error Types: -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. +// +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * ResourceNotFoundException -// Indicates that a requested resource is not found. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdateInstanceAccessControlAttributeConfiguration func (c *SSOAdmin) UpdateInstanceAccessControlAttributeConfiguration(input *UpdateInstanceAccessControlAttributeConfigurationInput) (*UpdateInstanceAccessControlAttributeConfigurationOutput, error) { @@ -3565,14 +3555,13 @@ const opUpdatePermissionSet = "UpdatePermissionSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePermissionSetRequest method. +// req, resp := client.UpdatePermissionSetRequest(params) // -// // Example sending a request using the UpdatePermissionSetRequest method. -// req, resp := client.UpdatePermissionSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdatePermissionSet func (c *SSOAdmin) UpdatePermissionSetRequest(input *UpdatePermissionSetInput) (req *request.Request, output *UpdatePermissionSetOutput) { @@ -3604,28 +3593,29 @@ func (c *SSOAdmin) UpdatePermissionSetRequest(input *UpdatePermissionSetInput) ( // API operation UpdatePermissionSet for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// Indicates that a requested resource is not found. // -// * InternalServerException -// The request processing has failed because of an unknown error, exception, -// or failure with an internal server. +// - ResourceNotFoundException +// Indicates that a requested resource is not found. +// +// - InternalServerException +// The request processing has failed because of an unknown error, exception, +// or failure with an internal server. // -// * ThrottlingException -// Indicates that the principal has crossed the throttling limits of the API -// operations. +// - ThrottlingException +// Indicates that the principal has crossed the throttling limits of the API +// operations. // -// * ValidationException -// The request failed because it contains a syntax error. +// - ValidationException +// The request failed because it contains a syntax error. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ConflictException -// Occurs when a conflict with a previous successful write is detected. This -// generally occurs when the previous write did not have time to propagate to -// the host serving the current request. A retry (with appropriate backoff logic) -// is the recommended response to this exception. +// - ConflictException +// Occurs when a conflict with a previous successful write is detected. This +// generally occurs when the previous write did not have time to propagate to +// the host serving the current request. A retry (with appropriate backoff logic) +// is the recommended response to this exception. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-admin-2020-07-20/UpdatePermissionSet func (c *SSOAdmin) UpdatePermissionSet(input *UpdatePermissionSetInput) (*UpdatePermissionSetOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/doc.go index 25af75fa7e85..6f82cd92be58 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/doc.go @@ -20,7 +20,7 @@ // See ssoadmin package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ssoadmin/ // -// Using the Client +// # Using the Client // // To contact AWS Single Sign-On Admin with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/service.go index 02495d43d7cf..34ae74f5cee7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SSOAdmin client from just a session. -// svc := ssoadmin.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SSOAdmin client with additional configuration -// svc := ssoadmin.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SSOAdmin client from just a session. +// svc := ssoadmin.New(mySession) +// +// // Create a SSOAdmin client with additional configuration +// svc := ssoadmin.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SSOAdmin { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/ssoadminiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/ssoadminiface/interface.go index fac0aaaf536d..58600722ef6e 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/ssoadminiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssoadmin/ssoadminiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Single Sign-On Admin. -// func myFunc(svc ssoadminiface.SSOAdminAPI) bool { -// // Make svc.AttachManagedPolicyToPermissionSet request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Single Sign-On Admin. +// func myFunc(svc ssoadminiface.SSOAdminAPI) bool { +// // Make svc.AttachManagedPolicyToPermissionSet request +// } // -// func main() { -// sess := session.New() -// svc := ssoadmin.New(sess) +// func main() { +// sess := session.New() +// svc := ssoadmin.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSSOAdminClient struct { -// ssoadminiface.SSOAdminAPI -// } -// func (m *mockSSOAdminClient) AttachManagedPolicyToPermissionSet(input *ssoadmin.AttachManagedPolicyToPermissionSetInput) (*ssoadmin.AttachManagedPolicyToPermissionSetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSSOAdminClient struct { +// ssoadminiface.SSOAdminAPI +// } +// func (m *mockSSOAdminClient) AttachManagedPolicyToPermissionSet(input *ssoadmin.AttachManagedPolicyToPermissionSetInput) (*ssoadmin.AttachManagedPolicyToPermissionSetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSSOAdminClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSSOAdminClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/api.go index a0120d1257fe..ce6467e9b5fb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/api.go @@ -28,14 +28,13 @@ const opCreateToken = "CreateToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTokenRequest method. +// req, resp := client.CreateTokenRequest(params) // -// // Example sending a request using the CreateTokenRequest method. -// req, resp := client.CreateTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/CreateToken func (c *SSOOIDC) CreateTokenRequest(input *CreateTokenInput) (req *request.Request, output *CreateTokenOutput) { @@ -69,47 +68,48 @@ func (c *SSOOIDC) CreateTokenRequest(input *CreateTokenInput) (req *request.Requ // API operation CreateToken for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter might be missing or out of range. // -// * InvalidClientException -// Indicates that the clientId or clientSecret in the request is invalid. For -// example, this can occur when a client sends an incorrect clientId or an expired -// clientSecret. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter might be missing or out of range. +// +// - InvalidClientException +// Indicates that the clientId or clientSecret in the request is invalid. For +// example, this can occur when a client sends an incorrect clientId or an expired +// clientSecret. // -// * InvalidGrantException -// Indicates that a request contains an invalid grant. This can occur if a client -// makes a CreateToken request with an invalid grant type. +// - InvalidGrantException +// Indicates that a request contains an invalid grant. This can occur if a client +// makes a CreateToken request with an invalid grant type. // -// * UnauthorizedClientException -// Indicates that the client is not currently authorized to make the request. -// This can happen when a clientId is not issued for a public client. +// - UnauthorizedClientException +// Indicates that the client is not currently authorized to make the request. +// This can happen when a clientId is not issued for a public client. // -// * UnsupportedGrantTypeException -// Indicates that the grant type in the request is not supported by the service. +// - UnsupportedGrantTypeException +// Indicates that the grant type in the request is not supported by the service. // -// * InvalidScopeException -// Indicates that the scope provided in the request is invalid. +// - InvalidScopeException +// Indicates that the scope provided in the request is invalid. // -// * AuthorizationPendingException -// Indicates that a request to authorize a client with an access user session -// token is pending. +// - AuthorizationPendingException +// Indicates that a request to authorize a client with an access user session +// token is pending. // -// * SlowDownException -// Indicates that the client is making the request too frequently and is more -// than the service can handle. +// - SlowDownException +// Indicates that the client is making the request too frequently and is more +// than the service can handle. // -// * AccessDeniedException -// You do not have sufficient access to perform this action. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * ExpiredTokenException -// Indicates that the token issued by the service is expired and is no longer -// valid. +// - ExpiredTokenException +// Indicates that the token issued by the service is expired and is no longer +// valid. // -// * InternalServerException -// Indicates that an error from the service occurred while trying to process -// a request. +// - InternalServerException +// Indicates that an error from the service occurred while trying to process +// a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/CreateToken func (c *SSOOIDC) CreateToken(input *CreateTokenInput) (*CreateTokenOutput, error) { @@ -149,14 +149,13 @@ const opRegisterClient = "RegisterClient" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterClientRequest method. +// req, resp := client.RegisterClientRequest(params) // -// // Example sending a request using the RegisterClientRequest method. -// req, resp := client.RegisterClientRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/RegisterClient func (c *SSOOIDC) RegisterClientRequest(input *RegisterClientInput) (req *request.Request, output *RegisterClientOutput) { @@ -189,20 +188,21 @@ func (c *SSOOIDC) RegisterClientRequest(input *RegisterClientInput) (req *reques // API operation RegisterClient for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter might be missing or out of range. // -// * InvalidScopeException -// Indicates that the scope provided in the request is invalid. +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter might be missing or out of range. // -// * InvalidClientMetadataException -// Indicates that the client information sent in the request during registration -// is invalid. +// - InvalidScopeException +// Indicates that the scope provided in the request is invalid. // -// * InternalServerException -// Indicates that an error from the service occurred while trying to process -// a request. +// - InvalidClientMetadataException +// Indicates that the client information sent in the request during registration +// is invalid. +// +// - InternalServerException +// Indicates that an error from the service occurred while trying to process +// a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/RegisterClient func (c *SSOOIDC) RegisterClient(input *RegisterClientInput) (*RegisterClientOutput, error) { @@ -242,14 +242,13 @@ const opStartDeviceAuthorization = "StartDeviceAuthorization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDeviceAuthorizationRequest method. +// req, resp := client.StartDeviceAuthorizationRequest(params) // -// // Example sending a request using the StartDeviceAuthorizationRequest method. -// req, resp := client.StartDeviceAuthorizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/StartDeviceAuthorization func (c *SSOOIDC) StartDeviceAuthorizationRequest(input *StartDeviceAuthorizationInput) (req *request.Request, output *StartDeviceAuthorizationOutput) { @@ -282,26 +281,27 @@ func (c *SSOOIDC) StartDeviceAuthorizationRequest(input *StartDeviceAuthorizatio // API operation StartDeviceAuthorization for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// Indicates that something is wrong with the input to the request. For example, -// a required parameter might be missing or out of range. -// -// * InvalidClientException -// Indicates that the clientId or clientSecret in the request is invalid. For -// example, this can occur when a client sends an incorrect clientId or an expired -// clientSecret. -// -// * UnauthorizedClientException -// Indicates that the client is not currently authorized to make the request. -// This can happen when a clientId is not issued for a public client. -// -// * SlowDownException -// Indicates that the client is making the request too frequently and is more -// than the service can handle. -// -// * InternalServerException -// Indicates that an error from the service occurred while trying to process -// a request. +// +// - InvalidRequestException +// Indicates that something is wrong with the input to the request. For example, +// a required parameter might be missing or out of range. +// +// - InvalidClientException +// Indicates that the clientId or clientSecret in the request is invalid. For +// example, this can occur when a client sends an incorrect clientId or an expired +// clientSecret. +// +// - UnauthorizedClientException +// Indicates that the client is not currently authorized to make the request. +// This can happen when a clientId is not issued for a public client. +// +// - SlowDownException +// Indicates that the client is making the request too frequently and is more +// than the service can handle. +// +// - InternalServerException +// Indicates that an error from the service occurred while trying to process +// a request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sso-oidc-2019-06-10/StartDeviceAuthorization func (c *SSOOIDC) StartDeviceAuthorization(input *StartDeviceAuthorizationInput) (*StartDeviceAuthorizationOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/doc.go index 021dbfec5692..bb388083a1c3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/doc.go @@ -28,7 +28,7 @@ // See ssooidc package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/ssooidc/ // -// Using the Client +// # Using the Client // // To contact AWS SSO OIDC with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/service.go index 6de7a0f70a9c..e795e05a6355 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SSOOIDC client from just a session. -// svc := ssooidc.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SSOOIDC client with additional configuration -// svc := ssooidc.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SSOOIDC client from just a session. +// svc := ssooidc.New(mySession) +// +// // Create a SSOOIDC client with additional configuration +// svc := ssooidc.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SSOOIDC { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/ssooidciface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/ssooidciface/interface.go index 8a39af17d4fa..9d367fbf1392 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/ssooidciface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/ssooidc/ssooidciface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS SSO OIDC. -// func myFunc(svc ssooidciface.SSOOIDCAPI) bool { -// // Make svc.CreateToken request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS SSO OIDC. +// func myFunc(svc ssooidciface.SSOOIDCAPI) bool { +// // Make svc.CreateToken request +// } // -// func main() { -// sess := session.New() -// svc := ssooidc.New(sess) +// func main() { +// sess := session.New() +// svc := ssooidc.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSSOOIDCClient struct { -// ssooidciface.SSOOIDCAPI -// } -// func (m *mockSSOOIDCClient) CreateToken(input *ssooidc.CreateTokenInput) (*ssooidc.CreateTokenOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSSOOIDCClient struct { +// ssooidciface.SSOOIDCAPI +// } +// func (m *mockSSOOIDCClient) CreateToken(input *ssooidc.CreateTokenInput) (*ssooidc.CreateTokenOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSSOOIDCClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSSOOIDCClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/api.go index 9f86e9b27deb..5d5a8b26fa72 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/api.go @@ -28,14 +28,13 @@ const opActivateGateway = "ActivateGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ActivateGatewayRequest method. +// req, resp := client.ActivateGatewayRequest(params) // -// // Example sending a request using the ActivateGatewayRequest method. -// req, resp := client.ActivateGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ActivateGateway func (c *StorageGateway) ActivateGatewayRequest(input *ActivateGatewayInput) (req *request.Request, output *ActivateGatewayOutput) { @@ -73,13 +72,14 @@ func (c *StorageGateway) ActivateGatewayRequest(input *ActivateGatewayInput) (re // API operation ActivateGateway for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ActivateGateway func (c *StorageGateway) ActivateGateway(input *ActivateGatewayInput) (*ActivateGatewayOutput, error) { @@ -119,14 +119,13 @@ const opAddCache = "AddCache" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddCacheRequest method. +// req, resp := client.AddCacheRequest(params) // -// // Example sending a request using the AddCacheRequest method. -// req, resp := client.AddCacheRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddCache func (c *StorageGateway) AddCacheRequest(input *AddCacheInput) (req *request.Request, output *AddCacheOutput) { @@ -163,13 +162,14 @@ func (c *StorageGateway) AddCacheRequest(input *AddCacheInput) (req *request.Req // API operation AddCache for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddCache func (c *StorageGateway) AddCache(input *AddCacheInput) (*AddCacheOutput, error) { @@ -209,14 +209,13 @@ const opAddTagsToResource = "AddTagsToResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddTagsToResourceRequest method. +// req, resp := client.AddTagsToResourceRequest(params) // -// // Example sending a request using the AddTagsToResourceRequest method. -// req, resp := client.AddTagsToResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddTagsToResource func (c *StorageGateway) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req *request.Request, output *AddTagsToResourceOutput) { @@ -243,15 +242,15 @@ func (c *StorageGateway) AddTagsToResourceRequest(input *AddTagsToResourceInput) // tag consists of a key and a value, which you define. You can add tags to // the following Storage Gateway resources: // -// * Storage gateways of all types +// - Storage gateways of all types // -// * Storage volumes +// - Storage volumes // -// * Virtual tapes +// - Virtual tapes // -// * NFS and SMB file shares +// - NFS and SMB file shares // -// * File System associations +// - File System associations // // You can create a maximum of 50 tags for each resource. Virtual tapes and // storage volumes that are recovered to a new gateway maintain their tags. @@ -264,13 +263,14 @@ func (c *StorageGateway) AddTagsToResourceRequest(input *AddTagsToResourceInput) // API operation AddTagsToResource for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddTagsToResource func (c *StorageGateway) AddTagsToResource(input *AddTagsToResourceInput) (*AddTagsToResourceOutput, error) { @@ -310,14 +310,13 @@ const opAddUploadBuffer = "AddUploadBuffer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddUploadBufferRequest method. +// req, resp := client.AddUploadBufferRequest(params) // -// // Example sending a request using the AddUploadBufferRequest method. -// req, resp := client.AddUploadBufferRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddUploadBuffer func (c *StorageGateway) AddUploadBufferRequest(input *AddUploadBufferInput) (req *request.Request, output *AddUploadBufferOutput) { @@ -354,13 +353,14 @@ func (c *StorageGateway) AddUploadBufferRequest(input *AddUploadBufferInput) (re // API operation AddUploadBuffer for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddUploadBuffer func (c *StorageGateway) AddUploadBuffer(input *AddUploadBufferInput) (*AddUploadBufferOutput, error) { @@ -400,14 +400,13 @@ const opAddWorkingStorage = "AddWorkingStorage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddWorkingStorageRequest method. +// req, resp := client.AddWorkingStorageRequest(params) // -// // Example sending a request using the AddWorkingStorageRequest method. -// req, resp := client.AddWorkingStorageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddWorkingStorage func (c *StorageGateway) AddWorkingStorageRequest(input *AddWorkingStorageInput) (req *request.Request, output *AddWorkingStorageOutput) { @@ -448,13 +447,14 @@ func (c *StorageGateway) AddWorkingStorageRequest(input *AddWorkingStorageInput) // API operation AddWorkingStorage for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AddWorkingStorage func (c *StorageGateway) AddWorkingStorage(input *AddWorkingStorageInput) (*AddWorkingStorageOutput, error) { @@ -494,14 +494,13 @@ const opAssignTapePool = "AssignTapePool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssignTapePoolRequest method. +// req, resp := client.AssignTapePoolRequest(params) // -// // Example sending a request using the AssignTapePoolRequest method. -// req, resp := client.AssignTapePoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AssignTapePool func (c *StorageGateway) AssignTapePoolRequest(input *AssignTapePoolInput) (req *request.Request, output *AssignTapePoolOutput) { @@ -536,13 +535,14 @@ func (c *StorageGateway) AssignTapePoolRequest(input *AssignTapePoolInput) (req // API operation AssignTapePool for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AssignTapePool func (c *StorageGateway) AssignTapePool(input *AssignTapePoolInput) (*AssignTapePoolOutput, error) { @@ -582,14 +582,13 @@ const opAssociateFileSystem = "AssociateFileSystem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateFileSystemRequest method. +// req, resp := client.AssociateFileSystemRequest(params) // -// // Example sending a request using the AssociateFileSystemRequest method. -// req, resp := client.AssociateFileSystemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AssociateFileSystem func (c *StorageGateway) AssociateFileSystemRequest(input *AssociateFileSystemInput) (req *request.Request, output *AssociateFileSystemOutput) { @@ -623,13 +622,14 @@ func (c *StorageGateway) AssociateFileSystemRequest(input *AssociateFileSystemIn // API operation AssociateFileSystem for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AssociateFileSystem func (c *StorageGateway) AssociateFileSystem(input *AssociateFileSystemInput) (*AssociateFileSystemOutput, error) { @@ -669,14 +669,13 @@ const opAttachVolume = "AttachVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AttachVolumeRequest method. +// req, resp := client.AttachVolumeRequest(params) // -// // Example sending a request using the AttachVolumeRequest method. -// req, resp := client.AttachVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AttachVolume func (c *StorageGateway) AttachVolumeRequest(input *AttachVolumeInput) (req *request.Request, output *AttachVolumeOutput) { @@ -711,13 +710,14 @@ func (c *StorageGateway) AttachVolumeRequest(input *AttachVolumeInput) (req *req // API operation AttachVolume for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/AttachVolume func (c *StorageGateway) AttachVolume(input *AttachVolumeInput) (*AttachVolumeOutput, error) { @@ -757,14 +757,13 @@ const opCancelArchival = "CancelArchival" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelArchivalRequest method. +// req, resp := client.CancelArchivalRequest(params) // -// // Example sending a request using the CancelArchivalRequest method. -// req, resp := client.CancelArchivalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelArchival func (c *StorageGateway) CancelArchivalRequest(input *CancelArchivalInput) (req *request.Request, output *CancelArchivalOutput) { @@ -797,13 +796,14 @@ func (c *StorageGateway) CancelArchivalRequest(input *CancelArchivalInput) (req // API operation CancelArchival for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelArchival func (c *StorageGateway) CancelArchival(input *CancelArchivalInput) (*CancelArchivalOutput, error) { @@ -843,14 +843,13 @@ const opCancelRetrieval = "CancelRetrieval" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelRetrievalRequest method. +// req, resp := client.CancelRetrievalRequest(params) // -// // Example sending a request using the CancelRetrievalRequest method. -// req, resp := client.CancelRetrievalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelRetrieval func (c *StorageGateway) CancelRetrievalRequest(input *CancelRetrievalInput) (req *request.Request, output *CancelRetrievalOutput) { @@ -883,13 +882,14 @@ func (c *StorageGateway) CancelRetrievalRequest(input *CancelRetrievalInput) (re // API operation CancelRetrieval for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CancelRetrieval func (c *StorageGateway) CancelRetrieval(input *CancelRetrievalInput) (*CancelRetrievalOutput, error) { @@ -929,14 +929,13 @@ const opCreateCachediSCSIVolume = "CreateCachediSCSIVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCachediSCSIVolumeRequest method. +// req, resp := client.CreateCachediSCSIVolumeRequest(params) // -// // Example sending a request using the CreateCachediSCSIVolumeRequest method. -// req, resp := client.CreateCachediSCSIVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateCachediSCSIVolume func (c *StorageGateway) CreateCachediSCSIVolumeRequest(input *CreateCachediSCSIVolumeInput) (req *request.Request, output *CreateCachediSCSIVolumeOutput) { @@ -983,13 +982,14 @@ func (c *StorageGateway) CreateCachediSCSIVolumeRequest(input *CreateCachediSCSI // API operation CreateCachediSCSIVolume for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateCachediSCSIVolume func (c *StorageGateway) CreateCachediSCSIVolume(input *CreateCachediSCSIVolumeInput) (*CreateCachediSCSIVolumeOutput, error) { @@ -1029,14 +1029,13 @@ const opCreateNFSFileShare = "CreateNFSFileShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNFSFileShareRequest method. +// req, resp := client.CreateNFSFileShareRequest(params) // -// // Example sending a request using the CreateNFSFileShareRequest method. -// req, resp := client.CreateNFSFileShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateNFSFileShare func (c *StorageGateway) CreateNFSFileShareRequest(input *CreateNFSFileShareInput) (req *request.Request, output *CreateNFSFileShareOutput) { @@ -1082,13 +1081,14 @@ func (c *StorageGateway) CreateNFSFileShareRequest(input *CreateNFSFileShareInpu // API operation CreateNFSFileShare for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateNFSFileShare func (c *StorageGateway) CreateNFSFileShare(input *CreateNFSFileShareInput) (*CreateNFSFileShareOutput, error) { @@ -1128,14 +1128,13 @@ const opCreateSMBFileShare = "CreateSMBFileShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSMBFileShareRequest method. +// req, resp := client.CreateSMBFileShareRequest(params) // -// // Example sending a request using the CreateSMBFileShareRequest method. -// req, resp := client.CreateSMBFileShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSMBFileShare func (c *StorageGateway) CreateSMBFileShareRequest(input *CreateSMBFileShareInput) (req *request.Request, output *CreateSMBFileShareOutput) { @@ -1180,13 +1179,14 @@ func (c *StorageGateway) CreateSMBFileShareRequest(input *CreateSMBFileShareInpu // API operation CreateSMBFileShare for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSMBFileShare func (c *StorageGateway) CreateSMBFileShare(input *CreateSMBFileShareInput) (*CreateSMBFileShareOutput, error) { @@ -1226,14 +1226,13 @@ const opCreateSnapshot = "CreateSnapshot" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSnapshotRequest method. +// req, resp := client.CreateSnapshotRequest(params) // -// // Example sending a request using the CreateSnapshotRequest method. -// req, resp := client.CreateSnapshotRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshot func (c *StorageGateway) CreateSnapshotRequest(input *CreateSnapshotInput) (req *request.Request, output *CreateSnapshotOutput) { @@ -1289,17 +1288,18 @@ func (c *StorageGateway) CreateSnapshotRequest(input *CreateSnapshotInput) (req // API operation CreateSnapshot for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. // -// * ServiceUnavailableError -// An internal server error has occurred because the service is unavailable. -// For more information, see the error and message fields. +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. +// +// - ServiceUnavailableError +// An internal server error has occurred because the service is unavailable. +// For more information, see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshot func (c *StorageGateway) CreateSnapshot(input *CreateSnapshotInput) (*CreateSnapshotOutput, error) { @@ -1339,14 +1339,13 @@ const opCreateSnapshotFromVolumeRecoveryPoint = "CreateSnapshotFromVolumeRecover // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSnapshotFromVolumeRecoveryPointRequest method. +// req, resp := client.CreateSnapshotFromVolumeRecoveryPointRequest(params) // -// // Example sending a request using the CreateSnapshotFromVolumeRecoveryPointRequest method. -// req, resp := client.CreateSnapshotFromVolumeRecoveryPointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshotFromVolumeRecoveryPoint func (c *StorageGateway) CreateSnapshotFromVolumeRecoveryPointRequest(input *CreateSnapshotFromVolumeRecoveryPointInput) (req *request.Request, output *CreateSnapshotFromVolumeRecoveryPointOutput) { @@ -1395,17 +1394,18 @@ func (c *StorageGateway) CreateSnapshotFromVolumeRecoveryPointRequest(input *Cre // API operation CreateSnapshotFromVolumeRecoveryPoint for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // -// * ServiceUnavailableError -// An internal server error has occurred because the service is unavailable. -// For more information, see the error and message fields. +// - ServiceUnavailableError +// An internal server error has occurred because the service is unavailable. +// For more information, see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateSnapshotFromVolumeRecoveryPoint func (c *StorageGateway) CreateSnapshotFromVolumeRecoveryPoint(input *CreateSnapshotFromVolumeRecoveryPointInput) (*CreateSnapshotFromVolumeRecoveryPointOutput, error) { @@ -1445,14 +1445,13 @@ const opCreateStorediSCSIVolume = "CreateStorediSCSIVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateStorediSCSIVolumeRequest method. +// req, resp := client.CreateStorediSCSIVolumeRequest(params) // -// // Example sending a request using the CreateStorediSCSIVolumeRequest method. -// req, resp := client.CreateStorediSCSIVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateStorediSCSIVolume func (c *StorageGateway) CreateStorediSCSIVolumeRequest(input *CreateStorediSCSIVolumeInput) (req *request.Request, output *CreateStorediSCSIVolumeOutput) { @@ -1495,13 +1494,14 @@ func (c *StorageGateway) CreateStorediSCSIVolumeRequest(input *CreateStorediSCSI // API operation CreateStorediSCSIVolume for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateStorediSCSIVolume func (c *StorageGateway) CreateStorediSCSIVolume(input *CreateStorediSCSIVolumeInput) (*CreateStorediSCSIVolumeOutput, error) { @@ -1541,14 +1541,13 @@ const opCreateTapePool = "CreateTapePool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTapePoolRequest method. +// req, resp := client.CreateTapePoolRequest(params) // -// // Example sending a request using the CreateTapePoolRequest method. -// req, resp := client.CreateTapePoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapePool func (c *StorageGateway) CreateTapePoolRequest(input *CreateTapePoolInput) (req *request.Request, output *CreateTapePoolOutput) { @@ -1580,13 +1579,14 @@ func (c *StorageGateway) CreateTapePoolRequest(input *CreateTapePoolInput) (req // API operation CreateTapePool for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapePool func (c *StorageGateway) CreateTapePool(input *CreateTapePoolInput) (*CreateTapePoolOutput, error) { @@ -1626,14 +1626,13 @@ const opCreateTapeWithBarcode = "CreateTapeWithBarcode" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTapeWithBarcodeRequest method. +// req, resp := client.CreateTapeWithBarcodeRequest(params) // -// // Example sending a request using the CreateTapeWithBarcodeRequest method. -// req, resp := client.CreateTapeWithBarcodeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapeWithBarcode func (c *StorageGateway) CreateTapeWithBarcodeRequest(input *CreateTapeWithBarcodeInput) (req *request.Request, output *CreateTapeWithBarcodeOutput) { @@ -1670,13 +1669,14 @@ func (c *StorageGateway) CreateTapeWithBarcodeRequest(input *CreateTapeWithBarco // API operation CreateTapeWithBarcode for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapeWithBarcode func (c *StorageGateway) CreateTapeWithBarcode(input *CreateTapeWithBarcodeInput) (*CreateTapeWithBarcodeOutput, error) { @@ -1716,14 +1716,13 @@ const opCreateTapes = "CreateTapes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTapesRequest method. +// req, resp := client.CreateTapesRequest(params) // -// // Example sending a request using the CreateTapesRequest method. -// req, resp := client.CreateTapesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapes func (c *StorageGateway) CreateTapesRequest(input *CreateTapesInput) (req *request.Request, output *CreateTapesOutput) { @@ -1759,13 +1758,14 @@ func (c *StorageGateway) CreateTapesRequest(input *CreateTapesInput) (req *reque // API operation CreateTapes for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/CreateTapes func (c *StorageGateway) CreateTapes(input *CreateTapesInput) (*CreateTapesOutput, error) { @@ -1805,14 +1805,13 @@ const opDeleteAutomaticTapeCreationPolicy = "DeleteAutomaticTapeCreationPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAutomaticTapeCreationPolicyRequest method. +// req, resp := client.DeleteAutomaticTapeCreationPolicyRequest(params) // -// // Example sending a request using the DeleteAutomaticTapeCreationPolicyRequest method. -// req, resp := client.DeleteAutomaticTapeCreationPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteAutomaticTapeCreationPolicy func (c *StorageGateway) DeleteAutomaticTapeCreationPolicyRequest(input *DeleteAutomaticTapeCreationPolicyInput) (req *request.Request, output *DeleteAutomaticTapeCreationPolicyOutput) { @@ -1845,13 +1844,14 @@ func (c *StorageGateway) DeleteAutomaticTapeCreationPolicyRequest(input *DeleteA // API operation DeleteAutomaticTapeCreationPolicy for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteAutomaticTapeCreationPolicy func (c *StorageGateway) DeleteAutomaticTapeCreationPolicy(input *DeleteAutomaticTapeCreationPolicyInput) (*DeleteAutomaticTapeCreationPolicyOutput, error) { @@ -1891,14 +1891,13 @@ const opDeleteBandwidthRateLimit = "DeleteBandwidthRateLimit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBandwidthRateLimitRequest method. +// req, resp := client.DeleteBandwidthRateLimitRequest(params) // -// // Example sending a request using the DeleteBandwidthRateLimitRequest method. -// req, resp := client.DeleteBandwidthRateLimitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteBandwidthRateLimit func (c *StorageGateway) DeleteBandwidthRateLimitRequest(input *DeleteBandwidthRateLimitInput) (req *request.Request, output *DeleteBandwidthRateLimitOutput) { @@ -1934,13 +1933,14 @@ func (c *StorageGateway) DeleteBandwidthRateLimitRequest(input *DeleteBandwidthR // API operation DeleteBandwidthRateLimit for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteBandwidthRateLimit func (c *StorageGateway) DeleteBandwidthRateLimit(input *DeleteBandwidthRateLimitInput) (*DeleteBandwidthRateLimitOutput, error) { @@ -1980,14 +1980,13 @@ const opDeleteChapCredentials = "DeleteChapCredentials" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteChapCredentialsRequest method. +// req, resp := client.DeleteChapCredentialsRequest(params) // -// // Example sending a request using the DeleteChapCredentialsRequest method. -// req, resp := client.DeleteChapCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteChapCredentials func (c *StorageGateway) DeleteChapCredentialsRequest(input *DeleteChapCredentialsInput) (req *request.Request, output *DeleteChapCredentialsOutput) { @@ -2020,13 +2019,14 @@ func (c *StorageGateway) DeleteChapCredentialsRequest(input *DeleteChapCredentia // API operation DeleteChapCredentials for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteChapCredentials func (c *StorageGateway) DeleteChapCredentials(input *DeleteChapCredentialsInput) (*DeleteChapCredentialsOutput, error) { @@ -2066,14 +2066,13 @@ const opDeleteFileShare = "DeleteFileShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFileShareRequest method. +// req, resp := client.DeleteFileShareRequest(params) // -// // Example sending a request using the DeleteFileShareRequest method. -// req, resp := client.DeleteFileShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteFileShare func (c *StorageGateway) DeleteFileShareRequest(input *DeleteFileShareInput) (req *request.Request, output *DeleteFileShareOutput) { @@ -2105,13 +2104,14 @@ func (c *StorageGateway) DeleteFileShareRequest(input *DeleteFileShareInput) (re // API operation DeleteFileShare for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteFileShare func (c *StorageGateway) DeleteFileShare(input *DeleteFileShareInput) (*DeleteFileShareOutput, error) { @@ -2151,14 +2151,13 @@ const opDeleteGateway = "DeleteGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGatewayRequest method. +// req, resp := client.DeleteGatewayRequest(params) // -// // Example sending a request using the DeleteGatewayRequest method. -// req, resp := client.DeleteGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteGateway func (c *StorageGateway) DeleteGatewayRequest(input *DeleteGatewayInput) (req *request.Request, output *DeleteGatewayOutput) { @@ -2204,13 +2203,14 @@ func (c *StorageGateway) DeleteGatewayRequest(input *DeleteGatewayInput) (req *r // API operation DeleteGateway for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteGateway func (c *StorageGateway) DeleteGateway(input *DeleteGatewayInput) (*DeleteGatewayOutput, error) { @@ -2250,14 +2250,13 @@ const opDeleteSnapshotSchedule = "DeleteSnapshotSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSnapshotScheduleRequest method. +// req, resp := client.DeleteSnapshotScheduleRequest(params) // -// // Example sending a request using the DeleteSnapshotScheduleRequest method. -// req, resp := client.DeleteSnapshotScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteSnapshotSchedule func (c *StorageGateway) DeleteSnapshotScheduleRequest(input *DeleteSnapshotScheduleInput) (req *request.Request, output *DeleteSnapshotScheduleOutput) { @@ -2299,13 +2298,14 @@ func (c *StorageGateway) DeleteSnapshotScheduleRequest(input *DeleteSnapshotSche // API operation DeleteSnapshotSchedule for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteSnapshotSchedule func (c *StorageGateway) DeleteSnapshotSchedule(input *DeleteSnapshotScheduleInput) (*DeleteSnapshotScheduleOutput, error) { @@ -2345,14 +2345,13 @@ const opDeleteTape = "DeleteTape" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTapeRequest method. +// req, resp := client.DeleteTapeRequest(params) // -// // Example sending a request using the DeleteTapeRequest method. -// req, resp := client.DeleteTapeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTape func (c *StorageGateway) DeleteTapeRequest(input *DeleteTapeInput) (req *request.Request, output *DeleteTapeOutput) { @@ -2384,13 +2383,14 @@ func (c *StorageGateway) DeleteTapeRequest(input *DeleteTapeInput) (req *request // API operation DeleteTape for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTape func (c *StorageGateway) DeleteTape(input *DeleteTapeInput) (*DeleteTapeOutput, error) { @@ -2430,14 +2430,13 @@ const opDeleteTapeArchive = "DeleteTapeArchive" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTapeArchiveRequest method. +// req, resp := client.DeleteTapeArchiveRequest(params) // -// // Example sending a request using the DeleteTapeArchiveRequest method. -// req, resp := client.DeleteTapeArchiveRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeArchive func (c *StorageGateway) DeleteTapeArchiveRequest(input *DeleteTapeArchiveInput) (req *request.Request, output *DeleteTapeArchiveOutput) { @@ -2469,13 +2468,14 @@ func (c *StorageGateway) DeleteTapeArchiveRequest(input *DeleteTapeArchiveInput) // API operation DeleteTapeArchive for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapeArchive func (c *StorageGateway) DeleteTapeArchive(input *DeleteTapeArchiveInput) (*DeleteTapeArchiveOutput, error) { @@ -2515,14 +2515,13 @@ const opDeleteTapePool = "DeleteTapePool" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTapePoolRequest method. +// req, resp := client.DeleteTapePoolRequest(params) // -// // Example sending a request using the DeleteTapePoolRequest method. -// req, resp := client.DeleteTapePoolRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapePool func (c *StorageGateway) DeleteTapePoolRequest(input *DeleteTapePoolInput) (req *request.Request, output *DeleteTapePoolOutput) { @@ -2555,13 +2554,14 @@ func (c *StorageGateway) DeleteTapePoolRequest(input *DeleteTapePoolInput) (req // API operation DeleteTapePool for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteTapePool func (c *StorageGateway) DeleteTapePool(input *DeleteTapePoolInput) (*DeleteTapePoolOutput, error) { @@ -2601,14 +2601,13 @@ const opDeleteVolume = "DeleteVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVolumeRequest method. +// req, resp := client.DeleteVolumeRequest(params) // -// // Example sending a request using the DeleteVolumeRequest method. -// req, resp := client.DeleteVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteVolume func (c *StorageGateway) DeleteVolumeRequest(input *DeleteVolumeInput) (req *request.Request, output *DeleteVolumeOutput) { @@ -2653,13 +2652,14 @@ func (c *StorageGateway) DeleteVolumeRequest(input *DeleteVolumeInput) (req *req // API operation DeleteVolume for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DeleteVolume func (c *StorageGateway) DeleteVolume(input *DeleteVolumeInput) (*DeleteVolumeOutput, error) { @@ -2699,14 +2699,13 @@ const opDescribeAvailabilityMonitorTest = "DescribeAvailabilityMonitorTest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAvailabilityMonitorTestRequest method. +// req, resp := client.DescribeAvailabilityMonitorTestRequest(params) // -// // Example sending a request using the DescribeAvailabilityMonitorTestRequest method. -// req, resp := client.DescribeAvailabilityMonitorTestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeAvailabilityMonitorTest func (c *StorageGateway) DescribeAvailabilityMonitorTestRequest(input *DescribeAvailabilityMonitorTestInput) (req *request.Request, output *DescribeAvailabilityMonitorTestOutput) { @@ -2739,13 +2738,14 @@ func (c *StorageGateway) DescribeAvailabilityMonitorTestRequest(input *DescribeA // API operation DescribeAvailabilityMonitorTest for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeAvailabilityMonitorTest func (c *StorageGateway) DescribeAvailabilityMonitorTest(input *DescribeAvailabilityMonitorTestInput) (*DescribeAvailabilityMonitorTestOutput, error) { @@ -2785,14 +2785,13 @@ const opDescribeBandwidthRateLimit = "DescribeBandwidthRateLimit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBandwidthRateLimitRequest method. +// req, resp := client.DescribeBandwidthRateLimitRequest(params) // -// // Example sending a request using the DescribeBandwidthRateLimitRequest method. -// req, resp := client.DescribeBandwidthRateLimitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimit func (c *StorageGateway) DescribeBandwidthRateLimitRequest(input *DescribeBandwidthRateLimitInput) (req *request.Request, output *DescribeBandwidthRateLimitOutput) { @@ -2831,13 +2830,14 @@ func (c *StorageGateway) DescribeBandwidthRateLimitRequest(input *DescribeBandwi // API operation DescribeBandwidthRateLimit for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimit func (c *StorageGateway) DescribeBandwidthRateLimit(input *DescribeBandwidthRateLimitInput) (*DescribeBandwidthRateLimitOutput, error) { @@ -2877,14 +2877,13 @@ const opDescribeBandwidthRateLimitSchedule = "DescribeBandwidthRateLimitSchedule // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeBandwidthRateLimitScheduleRequest method. +// req, resp := client.DescribeBandwidthRateLimitScheduleRequest(params) // -// // Example sending a request using the DescribeBandwidthRateLimitScheduleRequest method. -// req, resp := client.DescribeBandwidthRateLimitScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimitSchedule func (c *StorageGateway) DescribeBandwidthRateLimitScheduleRequest(input *DescribeBandwidthRateLimitScheduleInput) (req *request.Request, output *DescribeBandwidthRateLimitScheduleOutput) { @@ -2933,13 +2932,14 @@ func (c *StorageGateway) DescribeBandwidthRateLimitScheduleRequest(input *Descri // API operation DescribeBandwidthRateLimitSchedule for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeBandwidthRateLimitSchedule func (c *StorageGateway) DescribeBandwidthRateLimitSchedule(input *DescribeBandwidthRateLimitScheduleInput) (*DescribeBandwidthRateLimitScheduleOutput, error) { @@ -2979,14 +2979,13 @@ const opDescribeCache = "DescribeCache" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCacheRequest method. +// req, resp := client.DescribeCacheRequest(params) // -// // Example sending a request using the DescribeCacheRequest method. -// req, resp := client.DescribeCacheRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCache func (c *StorageGateway) DescribeCacheRequest(input *DescribeCacheInput) (req *request.Request, output *DescribeCacheOutput) { @@ -3021,13 +3020,14 @@ func (c *StorageGateway) DescribeCacheRequest(input *DescribeCacheInput) (req *r // API operation DescribeCache for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCache func (c *StorageGateway) DescribeCache(input *DescribeCacheInput) (*DescribeCacheOutput, error) { @@ -3067,14 +3067,13 @@ const opDescribeCachediSCSIVolumes = "DescribeCachediSCSIVolumes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCachediSCSIVolumesRequest method. +// req, resp := client.DescribeCachediSCSIVolumesRequest(params) // -// // Example sending a request using the DescribeCachediSCSIVolumesRequest method. -// req, resp := client.DescribeCachediSCSIVolumesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCachediSCSIVolumes func (c *StorageGateway) DescribeCachediSCSIVolumesRequest(input *DescribeCachediSCSIVolumesInput) (req *request.Request, output *DescribeCachediSCSIVolumesOutput) { @@ -3110,13 +3109,14 @@ func (c *StorageGateway) DescribeCachediSCSIVolumesRequest(input *DescribeCached // API operation DescribeCachediSCSIVolumes for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeCachediSCSIVolumes func (c *StorageGateway) DescribeCachediSCSIVolumes(input *DescribeCachediSCSIVolumesInput) (*DescribeCachediSCSIVolumesOutput, error) { @@ -3156,14 +3156,13 @@ const opDescribeChapCredentials = "DescribeChapCredentials" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeChapCredentialsRequest method. +// req, resp := client.DescribeChapCredentialsRequest(params) // -// // Example sending a request using the DescribeChapCredentialsRequest method. -// req, resp := client.DescribeChapCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeChapCredentials func (c *StorageGateway) DescribeChapCredentialsRequest(input *DescribeChapCredentialsInput) (req *request.Request, output *DescribeChapCredentialsOutput) { @@ -3196,13 +3195,14 @@ func (c *StorageGateway) DescribeChapCredentialsRequest(input *DescribeChapCrede // API operation DescribeChapCredentials for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeChapCredentials func (c *StorageGateway) DescribeChapCredentials(input *DescribeChapCredentialsInput) (*DescribeChapCredentialsOutput, error) { @@ -3242,14 +3242,13 @@ const opDescribeFileSystemAssociations = "DescribeFileSystemAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFileSystemAssociationsRequest method. +// req, resp := client.DescribeFileSystemAssociationsRequest(params) // -// // Example sending a request using the DescribeFileSystemAssociationsRequest method. -// req, resp := client.DescribeFileSystemAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeFileSystemAssociations func (c *StorageGateway) DescribeFileSystemAssociationsRequest(input *DescribeFileSystemAssociationsInput) (req *request.Request, output *DescribeFileSystemAssociationsOutput) { @@ -3281,13 +3280,14 @@ func (c *StorageGateway) DescribeFileSystemAssociationsRequest(input *DescribeFi // API operation DescribeFileSystemAssociations for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeFileSystemAssociations func (c *StorageGateway) DescribeFileSystemAssociations(input *DescribeFileSystemAssociationsInput) (*DescribeFileSystemAssociationsOutput, error) { @@ -3327,14 +3327,13 @@ const opDescribeGatewayInformation = "DescribeGatewayInformation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGatewayInformationRequest method. +// req, resp := client.DescribeGatewayInformationRequest(params) // -// // Example sending a request using the DescribeGatewayInformationRequest method. -// req, resp := client.DescribeGatewayInformationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformation func (c *StorageGateway) DescribeGatewayInformationRequest(input *DescribeGatewayInformationInput) (req *request.Request, output *DescribeGatewayInformationOutput) { @@ -3368,13 +3367,14 @@ func (c *StorageGateway) DescribeGatewayInformationRequest(input *DescribeGatewa // API operation DescribeGatewayInformation for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeGatewayInformation func (c *StorageGateway) DescribeGatewayInformation(input *DescribeGatewayInformationInput) (*DescribeGatewayInformationOutput, error) { @@ -3414,14 +3414,13 @@ const opDescribeMaintenanceStartTime = "DescribeMaintenanceStartTime" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMaintenanceStartTimeRequest method. +// req, resp := client.DescribeMaintenanceStartTimeRequest(params) // -// // Example sending a request using the DescribeMaintenanceStartTimeRequest method. -// req, resp := client.DescribeMaintenanceStartTimeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeMaintenanceStartTime func (c *StorageGateway) DescribeMaintenanceStartTimeRequest(input *DescribeMaintenanceStartTimeInput) (req *request.Request, output *DescribeMaintenanceStartTimeOutput) { @@ -3453,13 +3452,14 @@ func (c *StorageGateway) DescribeMaintenanceStartTimeRequest(input *DescribeMain // API operation DescribeMaintenanceStartTime for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeMaintenanceStartTime func (c *StorageGateway) DescribeMaintenanceStartTime(input *DescribeMaintenanceStartTimeInput) (*DescribeMaintenanceStartTimeOutput, error) { @@ -3499,14 +3499,13 @@ const opDescribeNFSFileShares = "DescribeNFSFileShares" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNFSFileSharesRequest method. +// req, resp := client.DescribeNFSFileSharesRequest(params) // -// // Example sending a request using the DescribeNFSFileSharesRequest method. -// req, resp := client.DescribeNFSFileSharesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeNFSFileShares func (c *StorageGateway) DescribeNFSFileSharesRequest(input *DescribeNFSFileSharesInput) (req *request.Request, output *DescribeNFSFileSharesOutput) { @@ -3538,13 +3537,14 @@ func (c *StorageGateway) DescribeNFSFileSharesRequest(input *DescribeNFSFileShar // API operation DescribeNFSFileShares for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeNFSFileShares func (c *StorageGateway) DescribeNFSFileShares(input *DescribeNFSFileSharesInput) (*DescribeNFSFileSharesOutput, error) { @@ -3584,14 +3584,13 @@ const opDescribeSMBFileShares = "DescribeSMBFileShares" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSMBFileSharesRequest method. +// req, resp := client.DescribeSMBFileSharesRequest(params) // -// // Example sending a request using the DescribeSMBFileSharesRequest method. -// req, resp := client.DescribeSMBFileSharesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBFileShares func (c *StorageGateway) DescribeSMBFileSharesRequest(input *DescribeSMBFileSharesInput) (req *request.Request, output *DescribeSMBFileSharesOutput) { @@ -3623,13 +3622,14 @@ func (c *StorageGateway) DescribeSMBFileSharesRequest(input *DescribeSMBFileShar // API operation DescribeSMBFileShares for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBFileShares func (c *StorageGateway) DescribeSMBFileShares(input *DescribeSMBFileSharesInput) (*DescribeSMBFileSharesOutput, error) { @@ -3669,14 +3669,13 @@ const opDescribeSMBSettings = "DescribeSMBSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSMBSettingsRequest method. +// req, resp := client.DescribeSMBSettingsRequest(params) // -// // Example sending a request using the DescribeSMBSettingsRequest method. -// req, resp := client.DescribeSMBSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBSettings func (c *StorageGateway) DescribeSMBSettingsRequest(input *DescribeSMBSettingsInput) (req *request.Request, output *DescribeSMBSettingsOutput) { @@ -3708,13 +3707,14 @@ func (c *StorageGateway) DescribeSMBSettingsRequest(input *DescribeSMBSettingsIn // API operation DescribeSMBSettings for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSMBSettings func (c *StorageGateway) DescribeSMBSettings(input *DescribeSMBSettingsInput) (*DescribeSMBSettingsOutput, error) { @@ -3754,14 +3754,13 @@ const opDescribeSnapshotSchedule = "DescribeSnapshotSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSnapshotScheduleRequest method. +// req, resp := client.DescribeSnapshotScheduleRequest(params) // -// // Example sending a request using the DescribeSnapshotScheduleRequest method. -// req, resp := client.DescribeSnapshotScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSnapshotSchedule func (c *StorageGateway) DescribeSnapshotScheduleRequest(input *DescribeSnapshotScheduleInput) (req *request.Request, output *DescribeSnapshotScheduleOutput) { @@ -3795,13 +3794,14 @@ func (c *StorageGateway) DescribeSnapshotScheduleRequest(input *DescribeSnapshot // API operation DescribeSnapshotSchedule for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeSnapshotSchedule func (c *StorageGateway) DescribeSnapshotSchedule(input *DescribeSnapshotScheduleInput) (*DescribeSnapshotScheduleOutput, error) { @@ -3841,14 +3841,13 @@ const opDescribeStorediSCSIVolumes = "DescribeStorediSCSIVolumes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeStorediSCSIVolumesRequest method. +// req, resp := client.DescribeStorediSCSIVolumesRequest(params) // -// // Example sending a request using the DescribeStorediSCSIVolumesRequest method. -// req, resp := client.DescribeStorediSCSIVolumesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeStorediSCSIVolumes func (c *StorageGateway) DescribeStorediSCSIVolumesRequest(input *DescribeStorediSCSIVolumesInput) (req *request.Request, output *DescribeStorediSCSIVolumesOutput) { @@ -3882,13 +3881,14 @@ func (c *StorageGateway) DescribeStorediSCSIVolumesRequest(input *DescribeStored // API operation DescribeStorediSCSIVolumes for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeStorediSCSIVolumes func (c *StorageGateway) DescribeStorediSCSIVolumes(input *DescribeStorediSCSIVolumesInput) (*DescribeStorediSCSIVolumesOutput, error) { @@ -3928,14 +3928,13 @@ const opDescribeTapeArchives = "DescribeTapeArchives" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTapeArchivesRequest method. +// req, resp := client.DescribeTapeArchivesRequest(params) // -// // Example sending a request using the DescribeTapeArchivesRequest method. -// req, resp := client.DescribeTapeArchivesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeArchives func (c *StorageGateway) DescribeTapeArchivesRequest(input *DescribeTapeArchivesInput) (req *request.Request, output *DescribeTapeArchivesOutput) { @@ -3976,13 +3975,14 @@ func (c *StorageGateway) DescribeTapeArchivesRequest(input *DescribeTapeArchives // API operation DescribeTapeArchives for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeArchives func (c *StorageGateway) DescribeTapeArchives(input *DescribeTapeArchivesInput) (*DescribeTapeArchivesOutput, error) { @@ -4014,15 +4014,14 @@ func (c *StorageGateway) DescribeTapeArchivesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTapeArchives operation. -// pageNum := 0 -// err := client.DescribeTapeArchivesPages(params, -// func(page *storagegateway.DescribeTapeArchivesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTapeArchives operation. +// pageNum := 0 +// err := client.DescribeTapeArchivesPages(params, +// func(page *storagegateway.DescribeTapeArchivesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *StorageGateway) DescribeTapeArchivesPages(input *DescribeTapeArchivesInput, fn func(*DescribeTapeArchivesOutput, bool) bool) error { return c.DescribeTapeArchivesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4074,14 +4073,13 @@ const opDescribeTapeRecoveryPoints = "DescribeTapeRecoveryPoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTapeRecoveryPointsRequest method. +// req, resp := client.DescribeTapeRecoveryPointsRequest(params) // -// // Example sending a request using the DescribeTapeRecoveryPointsRequest method. -// req, resp := client.DescribeTapeRecoveryPointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeRecoveryPoints func (c *StorageGateway) DescribeTapeRecoveryPointsRequest(input *DescribeTapeRecoveryPointsInput) (req *request.Request, output *DescribeTapeRecoveryPointsOutput) { @@ -4124,13 +4122,14 @@ func (c *StorageGateway) DescribeTapeRecoveryPointsRequest(input *DescribeTapeRe // API operation DescribeTapeRecoveryPoints for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapeRecoveryPoints func (c *StorageGateway) DescribeTapeRecoveryPoints(input *DescribeTapeRecoveryPointsInput) (*DescribeTapeRecoveryPointsOutput, error) { @@ -4162,15 +4161,14 @@ func (c *StorageGateway) DescribeTapeRecoveryPointsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTapeRecoveryPoints operation. -// pageNum := 0 -// err := client.DescribeTapeRecoveryPointsPages(params, -// func(page *storagegateway.DescribeTapeRecoveryPointsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTapeRecoveryPoints operation. +// pageNum := 0 +// err := client.DescribeTapeRecoveryPointsPages(params, +// func(page *storagegateway.DescribeTapeRecoveryPointsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *StorageGateway) DescribeTapeRecoveryPointsPages(input *DescribeTapeRecoveryPointsInput, fn func(*DescribeTapeRecoveryPointsOutput, bool) bool) error { return c.DescribeTapeRecoveryPointsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4222,14 +4220,13 @@ const opDescribeTapes = "DescribeTapes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTapesRequest method. +// req, resp := client.DescribeTapesRequest(params) // -// // Example sending a request using the DescribeTapesRequest method. -// req, resp := client.DescribeTapesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapes func (c *StorageGateway) DescribeTapesRequest(input *DescribeTapesInput) (req *request.Request, output *DescribeTapesOutput) { @@ -4269,13 +4266,14 @@ func (c *StorageGateway) DescribeTapesRequest(input *DescribeTapesInput) (req *r // API operation DescribeTapes for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeTapes func (c *StorageGateway) DescribeTapes(input *DescribeTapesInput) (*DescribeTapesOutput, error) { @@ -4307,15 +4305,14 @@ func (c *StorageGateway) DescribeTapesWithContext(ctx aws.Context, input *Descri // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeTapes operation. -// pageNum := 0 -// err := client.DescribeTapesPages(params, -// func(page *storagegateway.DescribeTapesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeTapes operation. +// pageNum := 0 +// err := client.DescribeTapesPages(params, +// func(page *storagegateway.DescribeTapesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *StorageGateway) DescribeTapesPages(input *DescribeTapesInput, fn func(*DescribeTapesOutput, bool) bool) error { return c.DescribeTapesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4367,14 +4364,13 @@ const opDescribeUploadBuffer = "DescribeUploadBuffer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUploadBufferRequest method. +// req, resp := client.DescribeUploadBufferRequest(params) // -// // Example sending a request using the DescribeUploadBufferRequest method. -// req, resp := client.DescribeUploadBufferRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeUploadBuffer func (c *StorageGateway) DescribeUploadBufferRequest(input *DescribeUploadBufferInput) (req *request.Request, output *DescribeUploadBufferOutput) { @@ -4409,13 +4405,14 @@ func (c *StorageGateway) DescribeUploadBufferRequest(input *DescribeUploadBuffer // API operation DescribeUploadBuffer for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeUploadBuffer func (c *StorageGateway) DescribeUploadBuffer(input *DescribeUploadBufferInput) (*DescribeUploadBufferOutput, error) { @@ -4455,14 +4452,13 @@ const opDescribeVTLDevices = "DescribeVTLDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeVTLDevicesRequest method. +// req, resp := client.DescribeVTLDevicesRequest(params) // -// // Example sending a request using the DescribeVTLDevicesRequest method. -// req, resp := client.DescribeVTLDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeVTLDevices func (c *StorageGateway) DescribeVTLDevicesRequest(input *DescribeVTLDevicesInput) (req *request.Request, output *DescribeVTLDevicesOutput) { @@ -4502,13 +4498,14 @@ func (c *StorageGateway) DescribeVTLDevicesRequest(input *DescribeVTLDevicesInpu // API operation DescribeVTLDevices for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeVTLDevices func (c *StorageGateway) DescribeVTLDevices(input *DescribeVTLDevicesInput) (*DescribeVTLDevicesOutput, error) { @@ -4540,15 +4537,14 @@ func (c *StorageGateway) DescribeVTLDevicesWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeVTLDevices operation. -// pageNum := 0 -// err := client.DescribeVTLDevicesPages(params, -// func(page *storagegateway.DescribeVTLDevicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeVTLDevices operation. +// pageNum := 0 +// err := client.DescribeVTLDevicesPages(params, +// func(page *storagegateway.DescribeVTLDevicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *StorageGateway) DescribeVTLDevicesPages(input *DescribeVTLDevicesInput, fn func(*DescribeVTLDevicesOutput, bool) bool) error { return c.DescribeVTLDevicesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4600,14 +4596,13 @@ const opDescribeWorkingStorage = "DescribeWorkingStorage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkingStorageRequest method. +// req, resp := client.DescribeWorkingStorageRequest(params) // -// // Example sending a request using the DescribeWorkingStorageRequest method. -// req, resp := client.DescribeWorkingStorageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeWorkingStorage func (c *StorageGateway) DescribeWorkingStorageRequest(input *DescribeWorkingStorageInput) (req *request.Request, output *DescribeWorkingStorageOutput) { @@ -4646,13 +4641,14 @@ func (c *StorageGateway) DescribeWorkingStorageRequest(input *DescribeWorkingSto // API operation DescribeWorkingStorage for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeWorkingStorage func (c *StorageGateway) DescribeWorkingStorage(input *DescribeWorkingStorageInput) (*DescribeWorkingStorageOutput, error) { @@ -4692,14 +4688,13 @@ const opDetachVolume = "DetachVolume" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetachVolumeRequest method. +// req, resp := client.DetachVolumeRequest(params) // -// // Example sending a request using the DetachVolumeRequest method. -// req, resp := client.DetachVolumeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DetachVolume func (c *StorageGateway) DetachVolumeRequest(input *DetachVolumeInput) (req *request.Request, output *DetachVolumeOutput) { @@ -4735,13 +4730,14 @@ func (c *StorageGateway) DetachVolumeRequest(input *DetachVolumeInput) (req *req // API operation DetachVolume for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DetachVolume func (c *StorageGateway) DetachVolume(input *DetachVolumeInput) (*DetachVolumeOutput, error) { @@ -4781,14 +4777,13 @@ const opDisableGateway = "DisableGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisableGatewayRequest method. +// req, resp := client.DisableGatewayRequest(params) // -// // Example sending a request using the DisableGatewayRequest method. -// req, resp := client.DisableGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DisableGateway func (c *StorageGateway) DisableGatewayRequest(input *DisableGatewayInput) (req *request.Request, output *DisableGatewayOutput) { @@ -4826,13 +4821,14 @@ func (c *StorageGateway) DisableGatewayRequest(input *DisableGatewayInput) (req // API operation DisableGateway for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DisableGateway func (c *StorageGateway) DisableGateway(input *DisableGatewayInput) (*DisableGatewayOutput, error) { @@ -4872,14 +4868,13 @@ const opDisassociateFileSystem = "DisassociateFileSystem" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateFileSystemRequest method. +// req, resp := client.DisassociateFileSystemRequest(params) // -// // Example sending a request using the DisassociateFileSystemRequest method. -// req, resp := client.DisassociateFileSystemRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DisassociateFileSystem func (c *StorageGateway) DisassociateFileSystemRequest(input *DisassociateFileSystemInput) (req *request.Request, output *DisassociateFileSystemOutput) { @@ -4913,13 +4908,14 @@ func (c *StorageGateway) DisassociateFileSystemRequest(input *DisassociateFileSy // API operation DisassociateFileSystem for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DisassociateFileSystem func (c *StorageGateway) DisassociateFileSystem(input *DisassociateFileSystemInput) (*DisassociateFileSystemOutput, error) { @@ -4959,14 +4955,13 @@ const opJoinDomain = "JoinDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the JoinDomainRequest method. +// req, resp := client.JoinDomainRequest(params) // -// // Example sending a request using the JoinDomainRequest method. -// req, resp := client.JoinDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/JoinDomain func (c *StorageGateway) JoinDomainRequest(input *JoinDomainInput) (req *request.Request, output *JoinDomainOutput) { @@ -4998,13 +4993,14 @@ func (c *StorageGateway) JoinDomainRequest(input *JoinDomainInput) (req *request // API operation JoinDomain for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/JoinDomain func (c *StorageGateway) JoinDomain(input *JoinDomainInput) (*JoinDomainOutput, error) { @@ -5044,14 +5040,13 @@ const opListAutomaticTapeCreationPolicies = "ListAutomaticTapeCreationPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAutomaticTapeCreationPoliciesRequest method. +// req, resp := client.ListAutomaticTapeCreationPoliciesRequest(params) // -// // Example sending a request using the ListAutomaticTapeCreationPoliciesRequest method. -// req, resp := client.ListAutomaticTapeCreationPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListAutomaticTapeCreationPolicies func (c *StorageGateway) ListAutomaticTapeCreationPoliciesRequest(input *ListAutomaticTapeCreationPoliciesInput) (req *request.Request, output *ListAutomaticTapeCreationPoliciesOutput) { @@ -5085,13 +5080,14 @@ func (c *StorageGateway) ListAutomaticTapeCreationPoliciesRequest(input *ListAut // API operation ListAutomaticTapeCreationPolicies for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListAutomaticTapeCreationPolicies func (c *StorageGateway) ListAutomaticTapeCreationPolicies(input *ListAutomaticTapeCreationPoliciesInput) (*ListAutomaticTapeCreationPoliciesOutput, error) { @@ -5131,14 +5127,13 @@ const opListFileShares = "ListFileShares" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFileSharesRequest method. +// req, resp := client.ListFileSharesRequest(params) // -// // Example sending a request using the ListFileSharesRequest method. -// req, resp := client.ListFileSharesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListFileShares func (c *StorageGateway) ListFileSharesRequest(input *ListFileSharesInput) (req *request.Request, output *ListFileSharesOutput) { @@ -5177,13 +5172,14 @@ func (c *StorageGateway) ListFileSharesRequest(input *ListFileSharesInput) (req // API operation ListFileShares for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListFileShares func (c *StorageGateway) ListFileShares(input *ListFileSharesInput) (*ListFileSharesOutput, error) { @@ -5215,15 +5211,14 @@ func (c *StorageGateway) ListFileSharesWithContext(ctx aws.Context, input *ListF // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFileShares operation. -// pageNum := 0 -// err := client.ListFileSharesPages(params, -// func(page *storagegateway.ListFileSharesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFileShares operation. +// pageNum := 0 +// err := client.ListFileSharesPages(params, +// func(page *storagegateway.ListFileSharesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *StorageGateway) ListFileSharesPages(input *ListFileSharesInput, fn func(*ListFileSharesOutput, bool) bool) error { return c.ListFileSharesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5275,14 +5270,13 @@ const opListFileSystemAssociations = "ListFileSystemAssociations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFileSystemAssociationsRequest method. +// req, resp := client.ListFileSystemAssociationsRequest(params) // -// // Example sending a request using the ListFileSystemAssociationsRequest method. -// req, resp := client.ListFileSystemAssociationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListFileSystemAssociations func (c *StorageGateway) ListFileSystemAssociationsRequest(input *ListFileSystemAssociationsInput) (req *request.Request, output *ListFileSystemAssociationsOutput) { @@ -5321,13 +5315,14 @@ func (c *StorageGateway) ListFileSystemAssociationsRequest(input *ListFileSystem // API operation ListFileSystemAssociations for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListFileSystemAssociations func (c *StorageGateway) ListFileSystemAssociations(input *ListFileSystemAssociationsInput) (*ListFileSystemAssociationsOutput, error) { @@ -5359,15 +5354,14 @@ func (c *StorageGateway) ListFileSystemAssociationsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFileSystemAssociations operation. -// pageNum := 0 -// err := client.ListFileSystemAssociationsPages(params, -// func(page *storagegateway.ListFileSystemAssociationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFileSystemAssociations operation. +// pageNum := 0 +// err := client.ListFileSystemAssociationsPages(params, +// func(page *storagegateway.ListFileSystemAssociationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *StorageGateway) ListFileSystemAssociationsPages(input *ListFileSystemAssociationsInput, fn func(*ListFileSystemAssociationsOutput, bool) bool) error { return c.ListFileSystemAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5419,14 +5413,13 @@ const opListGateways = "ListGateways" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGatewaysRequest method. +// req, resp := client.ListGatewaysRequest(params) // -// // Example sending a request using the ListGatewaysRequest method. -// req, resp := client.ListGatewaysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListGateways func (c *StorageGateway) ListGatewaysRequest(input *ListGatewaysInput) (req *request.Request, output *ListGatewaysOutput) { @@ -5474,13 +5467,14 @@ func (c *StorageGateway) ListGatewaysRequest(input *ListGatewaysInput) (req *req // API operation ListGateways for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListGateways func (c *StorageGateway) ListGateways(input *ListGatewaysInput) (*ListGatewaysOutput, error) { @@ -5512,15 +5506,14 @@ func (c *StorageGateway) ListGatewaysWithContext(ctx aws.Context, input *ListGat // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGateways operation. -// pageNum := 0 -// err := client.ListGatewaysPages(params, -// func(page *storagegateway.ListGatewaysOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGateways operation. +// pageNum := 0 +// err := client.ListGatewaysPages(params, +// func(page *storagegateway.ListGatewaysOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *StorageGateway) ListGatewaysPages(input *ListGatewaysInput, fn func(*ListGatewaysOutput, bool) bool) error { return c.ListGatewaysPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5572,14 +5565,13 @@ const opListLocalDisks = "ListLocalDisks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLocalDisksRequest method. +// req, resp := client.ListLocalDisksRequest(params) // -// // Example sending a request using the ListLocalDisksRequest method. -// req, resp := client.ListLocalDisksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListLocalDisks func (c *StorageGateway) ListLocalDisksRequest(input *ListLocalDisksInput) (req *request.Request, output *ListLocalDisksOutput) { @@ -5619,13 +5611,14 @@ func (c *StorageGateway) ListLocalDisksRequest(input *ListLocalDisksInput) (req // API operation ListLocalDisks for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListLocalDisks func (c *StorageGateway) ListLocalDisks(input *ListLocalDisksInput) (*ListLocalDisksOutput, error) { @@ -5665,14 +5658,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTagsForResource func (c *StorageGateway) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -5710,13 +5702,14 @@ func (c *StorageGateway) ListTagsForResourceRequest(input *ListTagsForResourceIn // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTagsForResource func (c *StorageGateway) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -5748,15 +5741,14 @@ func (c *StorageGateway) ListTagsForResourceWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *storagegateway.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *storagegateway.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *StorageGateway) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5808,14 +5800,13 @@ const opListTapePools = "ListTapePools" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTapePoolsRequest method. +// req, resp := client.ListTapePoolsRequest(params) // -// // Example sending a request using the ListTapePoolsRequest method. -// req, resp := client.ListTapePoolsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTapePools func (c *StorageGateway) ListTapePoolsRequest(input *ListTapePoolsInput) (req *request.Request, output *ListTapePoolsOutput) { @@ -5860,13 +5851,14 @@ func (c *StorageGateway) ListTapePoolsRequest(input *ListTapePoolsInput) (req *r // API operation ListTapePools for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTapePools func (c *StorageGateway) ListTapePools(input *ListTapePoolsInput) (*ListTapePoolsOutput, error) { @@ -5898,15 +5890,14 @@ func (c *StorageGateway) ListTapePoolsWithContext(ctx aws.Context, input *ListTa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTapePools operation. -// pageNum := 0 -// err := client.ListTapePoolsPages(params, -// func(page *storagegateway.ListTapePoolsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTapePools operation. +// pageNum := 0 +// err := client.ListTapePoolsPages(params, +// func(page *storagegateway.ListTapePoolsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *StorageGateway) ListTapePoolsPages(input *ListTapePoolsInput, fn func(*ListTapePoolsOutput, bool) bool) error { return c.ListTapePoolsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5958,14 +5949,13 @@ const opListTapes = "ListTapes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTapesRequest method. +// req, resp := client.ListTapesRequest(params) // -// // Example sending a request using the ListTapesRequest method. -// req, resp := client.ListTapesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTapes func (c *StorageGateway) ListTapesRequest(input *ListTapesInput) (req *request.Request, output *ListTapesOutput) { @@ -6012,13 +6002,14 @@ func (c *StorageGateway) ListTapesRequest(input *ListTapesInput) (req *request.R // API operation ListTapes for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListTapes func (c *StorageGateway) ListTapes(input *ListTapesInput) (*ListTapesOutput, error) { @@ -6050,15 +6041,14 @@ func (c *StorageGateway) ListTapesWithContext(ctx aws.Context, input *ListTapesI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTapes operation. -// pageNum := 0 -// err := client.ListTapesPages(params, -// func(page *storagegateway.ListTapesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTapes operation. +// pageNum := 0 +// err := client.ListTapesPages(params, +// func(page *storagegateway.ListTapesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *StorageGateway) ListTapesPages(input *ListTapesInput, fn func(*ListTapesOutput, bool) bool) error { return c.ListTapesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6110,14 +6100,13 @@ const opListVolumeInitiators = "ListVolumeInitiators" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVolumeInitiatorsRequest method. +// req, resp := client.ListVolumeInitiatorsRequest(params) // -// // Example sending a request using the ListVolumeInitiatorsRequest method. -// req, resp := client.ListVolumeInitiatorsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeInitiators func (c *StorageGateway) ListVolumeInitiatorsRequest(input *ListVolumeInitiatorsInput) (req *request.Request, output *ListVolumeInitiatorsOutput) { @@ -6150,13 +6139,14 @@ func (c *StorageGateway) ListVolumeInitiatorsRequest(input *ListVolumeInitiators // API operation ListVolumeInitiators for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeInitiators func (c *StorageGateway) ListVolumeInitiators(input *ListVolumeInitiatorsInput) (*ListVolumeInitiatorsOutput, error) { @@ -6196,14 +6186,13 @@ const opListVolumeRecoveryPoints = "ListVolumeRecoveryPoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVolumeRecoveryPointsRequest method. +// req, resp := client.ListVolumeRecoveryPointsRequest(params) // -// // Example sending a request using the ListVolumeRecoveryPointsRequest method. -// req, resp := client.ListVolumeRecoveryPointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeRecoveryPoints func (c *StorageGateway) ListVolumeRecoveryPointsRequest(input *ListVolumeRecoveryPointsInput) (req *request.Request, output *ListVolumeRecoveryPointsOutput) { @@ -6241,13 +6230,14 @@ func (c *StorageGateway) ListVolumeRecoveryPointsRequest(input *ListVolumeRecove // API operation ListVolumeRecoveryPoints for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumeRecoveryPoints func (c *StorageGateway) ListVolumeRecoveryPoints(input *ListVolumeRecoveryPointsInput) (*ListVolumeRecoveryPointsOutput, error) { @@ -6287,14 +6277,13 @@ const opListVolumes = "ListVolumes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVolumesRequest method. +// req, resp := client.ListVolumesRequest(params) // -// // Example sending a request using the ListVolumesRequest method. -// req, resp := client.ListVolumesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumes func (c *StorageGateway) ListVolumesRequest(input *ListVolumesInput) (req *request.Request, output *ListVolumesOutput) { @@ -6342,13 +6331,14 @@ func (c *StorageGateway) ListVolumesRequest(input *ListVolumesInput) (req *reque // API operation ListVolumes for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ListVolumes func (c *StorageGateway) ListVolumes(input *ListVolumesInput) (*ListVolumesOutput, error) { @@ -6380,15 +6370,14 @@ func (c *StorageGateway) ListVolumesWithContext(ctx aws.Context, input *ListVolu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVolumes operation. -// pageNum := 0 -// err := client.ListVolumesPages(params, -// func(page *storagegateway.ListVolumesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVolumes operation. +// pageNum := 0 +// err := client.ListVolumesPages(params, +// func(page *storagegateway.ListVolumesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *StorageGateway) ListVolumesPages(input *ListVolumesInput, fn func(*ListVolumesOutput, bool) bool) error { return c.ListVolumesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -6440,14 +6429,13 @@ const opNotifyWhenUploaded = "NotifyWhenUploaded" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the NotifyWhenUploadedRequest method. +// req, resp := client.NotifyWhenUploadedRequest(params) // -// // Example sending a request using the NotifyWhenUploadedRequest method. -// req, resp := client.NotifyWhenUploadedRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/NotifyWhenUploaded func (c *StorageGateway) NotifyWhenUploadedRequest(input *NotifyWhenUploadedInput) (req *request.Request, output *NotifyWhenUploadedOutput) { @@ -6491,13 +6479,14 @@ func (c *StorageGateway) NotifyWhenUploadedRequest(input *NotifyWhenUploadedInpu // API operation NotifyWhenUploaded for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/NotifyWhenUploaded func (c *StorageGateway) NotifyWhenUploaded(input *NotifyWhenUploadedInput) (*NotifyWhenUploadedOutput, error) { @@ -6537,14 +6526,13 @@ const opRefreshCache = "RefreshCache" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RefreshCacheRequest method. +// req, resp := client.RefreshCacheRequest(params) // -// // Example sending a request using the RefreshCacheRequest method. -// req, resp := client.RefreshCacheRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RefreshCache func (c *StorageGateway) RefreshCacheRequest(input *RefreshCacheInput) (req *request.Request, output *RefreshCacheOutput) { @@ -6592,14 +6580,14 @@ func (c *StorageGateway) RefreshCacheRequest(input *RefreshCacheInput) (req *req // see Getting notified about file operations (https://docs.aws.amazon.com/storagegateway/latest/userguide/monitoring-file-gateway.html#get-notification) // in the Storage Gateway User Guide. // -// * Wait at least 60 seconds between consecutive RefreshCache API requests. +// - Wait at least 60 seconds between consecutive RefreshCache API requests. // -// * RefreshCache does not evict cache entries if invoked consecutively within -// 60 seconds of a previous RefreshCache request. +// - RefreshCache does not evict cache entries if invoked consecutively within +// 60 seconds of a previous RefreshCache request. // -// * If you invoke the RefreshCache API when two requests are already being -// processed, any new request will cause an InvalidGatewayRequestException -// error because too many requests were sent to the server. +// - If you invoke the RefreshCache API when two requests are already being +// processed, any new request will cause an InvalidGatewayRequestException +// error because too many requests were sent to the server. // // The S3 bucket name does not need to be included when entering the list of // folders in the FolderList parameter. @@ -6615,13 +6603,14 @@ func (c *StorageGateway) RefreshCacheRequest(input *RefreshCacheInput) (req *req // API operation RefreshCache for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RefreshCache func (c *StorageGateway) RefreshCache(input *RefreshCacheInput) (*RefreshCacheOutput, error) { @@ -6661,14 +6650,13 @@ const opRemoveTagsFromResource = "RemoveTagsFromResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveTagsFromResourceRequest method. +// req, resp := client.RemoveTagsFromResourceRequest(params) // -// // Example sending a request using the RemoveTagsFromResourceRequest method. -// req, resp := client.RemoveTagsFromResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RemoveTagsFromResource func (c *StorageGateway) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceInput) (req *request.Request, output *RemoveTagsFromResourceOutput) { @@ -6700,13 +6688,14 @@ func (c *StorageGateway) RemoveTagsFromResourceRequest(input *RemoveTagsFromReso // API operation RemoveTagsFromResource for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RemoveTagsFromResource func (c *StorageGateway) RemoveTagsFromResource(input *RemoveTagsFromResourceInput) (*RemoveTagsFromResourceOutput, error) { @@ -6746,14 +6735,13 @@ const opResetCache = "ResetCache" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetCacheRequest method. +// req, resp := client.ResetCacheRequest(params) // -// // Example sending a request using the ResetCacheRequest method. -// req, resp := client.ResetCacheRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ResetCache func (c *StorageGateway) ResetCacheRequest(input *ResetCacheInput) (req *request.Request, output *ResetCacheOutput) { @@ -6795,13 +6783,14 @@ func (c *StorageGateway) ResetCacheRequest(input *ResetCacheInput) (req *request // API operation ResetCache for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ResetCache func (c *StorageGateway) ResetCache(input *ResetCacheInput) (*ResetCacheOutput, error) { @@ -6841,14 +6830,13 @@ const opRetrieveTapeArchive = "RetrieveTapeArchive" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RetrieveTapeArchiveRequest method. +// req, resp := client.RetrieveTapeArchiveRequest(params) // -// // Example sending a request using the RetrieveTapeArchiveRequest method. -// req, resp := client.RetrieveTapeArchiveRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeArchive func (c *StorageGateway) RetrieveTapeArchiveRequest(input *RetrieveTapeArchiveInput) (req *request.Request, output *RetrieveTapeArchiveOutput) { @@ -6888,13 +6876,14 @@ func (c *StorageGateway) RetrieveTapeArchiveRequest(input *RetrieveTapeArchiveIn // API operation RetrieveTapeArchive for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeArchive func (c *StorageGateway) RetrieveTapeArchive(input *RetrieveTapeArchiveInput) (*RetrieveTapeArchiveOutput, error) { @@ -6934,14 +6923,13 @@ const opRetrieveTapeRecoveryPoint = "RetrieveTapeRecoveryPoint" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RetrieveTapeRecoveryPointRequest method. +// req, resp := client.RetrieveTapeRecoveryPointRequest(params) // -// // Example sending a request using the RetrieveTapeRecoveryPointRequest method. -// req, resp := client.RetrieveTapeRecoveryPointRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeRecoveryPoint func (c *StorageGateway) RetrieveTapeRecoveryPointRequest(input *RetrieveTapeRecoveryPointInput) (req *request.Request, output *RetrieveTapeRecoveryPointOutput) { @@ -6981,13 +6969,14 @@ func (c *StorageGateway) RetrieveTapeRecoveryPointRequest(input *RetrieveTapeRec // API operation RetrieveTapeRecoveryPoint for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/RetrieveTapeRecoveryPoint func (c *StorageGateway) RetrieveTapeRecoveryPoint(input *RetrieveTapeRecoveryPointInput) (*RetrieveTapeRecoveryPointOutput, error) { @@ -7027,14 +7016,13 @@ const opSetLocalConsolePassword = "SetLocalConsolePassword" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetLocalConsolePasswordRequest method. +// req, resp := client.SetLocalConsolePasswordRequest(params) // -// // Example sending a request using the SetLocalConsolePasswordRequest method. -// req, resp := client.SetLocalConsolePasswordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SetLocalConsolePassword func (c *StorageGateway) SetLocalConsolePasswordRequest(input *SetLocalConsolePasswordInput) (req *request.Request, output *SetLocalConsolePasswordOutput) { @@ -7068,13 +7056,14 @@ func (c *StorageGateway) SetLocalConsolePasswordRequest(input *SetLocalConsolePa // API operation SetLocalConsolePassword for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SetLocalConsolePassword func (c *StorageGateway) SetLocalConsolePassword(input *SetLocalConsolePasswordInput) (*SetLocalConsolePasswordOutput, error) { @@ -7114,14 +7103,13 @@ const opSetSMBGuestPassword = "SetSMBGuestPassword" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SetSMBGuestPasswordRequest method. +// req, resp := client.SetSMBGuestPasswordRequest(params) // -// // Example sending a request using the SetSMBGuestPasswordRequest method. -// req, resp := client.SetSMBGuestPasswordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SetSMBGuestPassword func (c *StorageGateway) SetSMBGuestPasswordRequest(input *SetSMBGuestPasswordInput) (req *request.Request, output *SetSMBGuestPasswordOutput) { @@ -7154,13 +7142,14 @@ func (c *StorageGateway) SetSMBGuestPasswordRequest(input *SetSMBGuestPasswordIn // API operation SetSMBGuestPassword for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SetSMBGuestPassword func (c *StorageGateway) SetSMBGuestPassword(input *SetSMBGuestPasswordInput) (*SetSMBGuestPasswordOutput, error) { @@ -7200,14 +7189,13 @@ const opShutdownGateway = "ShutdownGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ShutdownGatewayRequest method. +// req, resp := client.ShutdownGatewayRequest(params) // -// // Example sending a request using the ShutdownGatewayRequest method. -// req, resp := client.ShutdownGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ShutdownGateway func (c *StorageGateway) ShutdownGatewayRequest(input *ShutdownGatewayInput) (req *request.Request, output *ShutdownGatewayOutput) { @@ -7258,13 +7246,14 @@ func (c *StorageGateway) ShutdownGatewayRequest(input *ShutdownGatewayInput) (re // API operation ShutdownGateway for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/ShutdownGateway func (c *StorageGateway) ShutdownGateway(input *ShutdownGatewayInput) (*ShutdownGatewayOutput, error) { @@ -7304,14 +7293,13 @@ const opStartAvailabilityMonitorTest = "StartAvailabilityMonitorTest" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartAvailabilityMonitorTestRequest method. +// req, resp := client.StartAvailabilityMonitorTestRequest(params) // -// // Example sending a request using the StartAvailabilityMonitorTestRequest method. -// req, resp := client.StartAvailabilityMonitorTestRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartAvailabilityMonitorTest func (c *StorageGateway) StartAvailabilityMonitorTestRequest(input *StartAvailabilityMonitorTestInput) (req *request.Request, output *StartAvailabilityMonitorTestOutput) { @@ -7348,13 +7336,14 @@ func (c *StorageGateway) StartAvailabilityMonitorTestRequest(input *StartAvailab // API operation StartAvailabilityMonitorTest for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartAvailabilityMonitorTest func (c *StorageGateway) StartAvailabilityMonitorTest(input *StartAvailabilityMonitorTestInput) (*StartAvailabilityMonitorTestOutput, error) { @@ -7394,14 +7383,13 @@ const opStartGateway = "StartGateway" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartGatewayRequest method. +// req, resp := client.StartGatewayRequest(params) // -// // Example sending a request using the StartGatewayRequest method. -// req, resp := client.StartGatewayRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartGateway func (c *StorageGateway) StartGatewayRequest(input *StartGatewayInput) (req *request.Request, output *StartGatewayOutput) { @@ -7443,13 +7431,14 @@ func (c *StorageGateway) StartGatewayRequest(input *StartGatewayInput) (req *req // API operation StartGateway for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/StartGateway func (c *StorageGateway) StartGateway(input *StartGatewayInput) (*StartGatewayOutput, error) { @@ -7489,14 +7478,13 @@ const opUpdateAutomaticTapeCreationPolicy = "UpdateAutomaticTapeCreationPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAutomaticTapeCreationPolicyRequest method. +// req, resp := client.UpdateAutomaticTapeCreationPolicyRequest(params) // -// // Example sending a request using the UpdateAutomaticTapeCreationPolicyRequest method. -// req, resp := client.UpdateAutomaticTapeCreationPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateAutomaticTapeCreationPolicy func (c *StorageGateway) UpdateAutomaticTapeCreationPolicyRequest(input *UpdateAutomaticTapeCreationPolicyInput) (req *request.Request, output *UpdateAutomaticTapeCreationPolicyOutput) { @@ -7533,13 +7521,14 @@ func (c *StorageGateway) UpdateAutomaticTapeCreationPolicyRequest(input *UpdateA // API operation UpdateAutomaticTapeCreationPolicy for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateAutomaticTapeCreationPolicy func (c *StorageGateway) UpdateAutomaticTapeCreationPolicy(input *UpdateAutomaticTapeCreationPolicyInput) (*UpdateAutomaticTapeCreationPolicyOutput, error) { @@ -7579,14 +7568,13 @@ const opUpdateBandwidthRateLimit = "UpdateBandwidthRateLimit" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBandwidthRateLimitRequest method. +// req, resp := client.UpdateBandwidthRateLimitRequest(params) // -// // Example sending a request using the UpdateBandwidthRateLimitRequest method. -// req, resp := client.UpdateBandwidthRateLimitRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateBandwidthRateLimit func (c *StorageGateway) UpdateBandwidthRateLimitRequest(input *UpdateBandwidthRateLimitInput) (req *request.Request, output *UpdateBandwidthRateLimitOutput) { @@ -7628,13 +7616,14 @@ func (c *StorageGateway) UpdateBandwidthRateLimitRequest(input *UpdateBandwidthR // API operation UpdateBandwidthRateLimit for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateBandwidthRateLimit func (c *StorageGateway) UpdateBandwidthRateLimit(input *UpdateBandwidthRateLimitInput) (*UpdateBandwidthRateLimitOutput, error) { @@ -7674,14 +7663,13 @@ const opUpdateBandwidthRateLimitSchedule = "UpdateBandwidthRateLimitSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBandwidthRateLimitScheduleRequest method. +// req, resp := client.UpdateBandwidthRateLimitScheduleRequest(params) // -// // Example sending a request using the UpdateBandwidthRateLimitScheduleRequest method. -// req, resp := client.UpdateBandwidthRateLimitScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateBandwidthRateLimitSchedule func (c *StorageGateway) UpdateBandwidthRateLimitScheduleRequest(input *UpdateBandwidthRateLimitScheduleInput) (req *request.Request, output *UpdateBandwidthRateLimitScheduleOutput) { @@ -7716,13 +7704,14 @@ func (c *StorageGateway) UpdateBandwidthRateLimitScheduleRequest(input *UpdateBa // API operation UpdateBandwidthRateLimitSchedule for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateBandwidthRateLimitSchedule func (c *StorageGateway) UpdateBandwidthRateLimitSchedule(input *UpdateBandwidthRateLimitScheduleInput) (*UpdateBandwidthRateLimitScheduleOutput, error) { @@ -7762,14 +7751,13 @@ const opUpdateChapCredentials = "UpdateChapCredentials" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateChapCredentialsRequest method. +// req, resp := client.UpdateChapCredentialsRequest(params) // -// // Example sending a request using the UpdateChapCredentialsRequest method. -// req, resp := client.UpdateChapCredentialsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateChapCredentials func (c *StorageGateway) UpdateChapCredentialsRequest(input *UpdateChapCredentialsInput) (req *request.Request, output *UpdateChapCredentialsOutput) { @@ -7806,13 +7794,14 @@ func (c *StorageGateway) UpdateChapCredentialsRequest(input *UpdateChapCredentia // API operation UpdateChapCredentials for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateChapCredentials func (c *StorageGateway) UpdateChapCredentials(input *UpdateChapCredentialsInput) (*UpdateChapCredentialsOutput, error) { @@ -7852,14 +7841,13 @@ const opUpdateFileSystemAssociation = "UpdateFileSystemAssociation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFileSystemAssociationRequest method. +// req, resp := client.UpdateFileSystemAssociationRequest(params) // -// // Example sending a request using the UpdateFileSystemAssociationRequest method. -// req, resp := client.UpdateFileSystemAssociationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateFileSystemAssociation func (c *StorageGateway) UpdateFileSystemAssociationRequest(input *UpdateFileSystemAssociationInput) (req *request.Request, output *UpdateFileSystemAssociationOutput) { @@ -7891,13 +7879,14 @@ func (c *StorageGateway) UpdateFileSystemAssociationRequest(input *UpdateFileSys // API operation UpdateFileSystemAssociation for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateFileSystemAssociation func (c *StorageGateway) UpdateFileSystemAssociation(input *UpdateFileSystemAssociationInput) (*UpdateFileSystemAssociationOutput, error) { @@ -7937,14 +7926,13 @@ const opUpdateGatewayInformation = "UpdateGatewayInformation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGatewayInformationRequest method. +// req, resp := client.UpdateGatewayInformationRequest(params) // -// // Example sending a request using the UpdateGatewayInformationRequest method. -// req, resp := client.UpdateGatewayInformationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewayInformation func (c *StorageGateway) UpdateGatewayInformationRequest(input *UpdateGatewayInformationInput) (req *request.Request, output *UpdateGatewayInformationOutput) { @@ -7981,13 +7969,14 @@ func (c *StorageGateway) UpdateGatewayInformationRequest(input *UpdateGatewayInf // API operation UpdateGatewayInformation for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewayInformation func (c *StorageGateway) UpdateGatewayInformation(input *UpdateGatewayInformationInput) (*UpdateGatewayInformationOutput, error) { @@ -8027,14 +8016,13 @@ const opUpdateGatewaySoftwareNow = "UpdateGatewaySoftwareNow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGatewaySoftwareNowRequest method. +// req, resp := client.UpdateGatewaySoftwareNowRequest(params) // -// // Example sending a request using the UpdateGatewaySoftwareNowRequest method. -// req, resp := client.UpdateGatewaySoftwareNowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewaySoftwareNow func (c *StorageGateway) UpdateGatewaySoftwareNowRequest(input *UpdateGatewaySoftwareNowInput) (req *request.Request, output *UpdateGatewaySoftwareNowOutput) { @@ -8079,13 +8067,14 @@ func (c *StorageGateway) UpdateGatewaySoftwareNowRequest(input *UpdateGatewaySof // API operation UpdateGatewaySoftwareNow for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateGatewaySoftwareNow func (c *StorageGateway) UpdateGatewaySoftwareNow(input *UpdateGatewaySoftwareNowInput) (*UpdateGatewaySoftwareNowOutput, error) { @@ -8125,14 +8114,13 @@ const opUpdateMaintenanceStartTime = "UpdateMaintenanceStartTime" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMaintenanceStartTimeRequest method. +// req, resp := client.UpdateMaintenanceStartTimeRequest(params) // -// // Example sending a request using the UpdateMaintenanceStartTimeRequest method. -// req, resp := client.UpdateMaintenanceStartTimeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateMaintenanceStartTime func (c *StorageGateway) UpdateMaintenanceStartTimeRequest(input *UpdateMaintenanceStartTimeInput) (req *request.Request, output *UpdateMaintenanceStartTimeOutput) { @@ -8165,13 +8153,14 @@ func (c *StorageGateway) UpdateMaintenanceStartTimeRequest(input *UpdateMaintena // API operation UpdateMaintenanceStartTime for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateMaintenanceStartTime func (c *StorageGateway) UpdateMaintenanceStartTime(input *UpdateMaintenanceStartTimeInput) (*UpdateMaintenanceStartTimeOutput, error) { @@ -8211,14 +8200,13 @@ const opUpdateNFSFileShare = "UpdateNFSFileShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNFSFileShareRequest method. +// req, resp := client.UpdateNFSFileShareRequest(params) // -// // Example sending a request using the UpdateNFSFileShareRequest method. -// req, resp := client.UpdateNFSFileShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateNFSFileShare func (c *StorageGateway) UpdateNFSFileShareRequest(input *UpdateNFSFileShareInput) (req *request.Request, output *UpdateNFSFileShareOutput) { @@ -8247,15 +8235,15 @@ func (c *StorageGateway) UpdateNFSFileShareRequest(input *UpdateNFSFileShareInpu // // Updates the following file share settings: // -// * Default storage class for your S3 bucket +// - Default storage class for your S3 bucket // -// * Metadata defaults for your S3 bucket +// - Metadata defaults for your S3 bucket // -// * Allowed NFS clients for your file share +// - Allowed NFS clients for your file share // -// * Squash settings +// - Squash settings // -// * Write status of your file share +// - Write status of your file share // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -8265,13 +8253,14 @@ func (c *StorageGateway) UpdateNFSFileShareRequest(input *UpdateNFSFileShareInpu // API operation UpdateNFSFileShare for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateNFSFileShare func (c *StorageGateway) UpdateNFSFileShare(input *UpdateNFSFileShareInput) (*UpdateNFSFileShareOutput, error) { @@ -8311,14 +8300,13 @@ const opUpdateSMBFileShare = "UpdateSMBFileShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSMBFileShareRequest method. +// req, resp := client.UpdateSMBFileShareRequest(params) // -// // Example sending a request using the UpdateSMBFileShareRequest method. -// req, resp := client.UpdateSMBFileShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShare func (c *StorageGateway) UpdateSMBFileShareRequest(input *UpdateSMBFileShareInput) (req *request.Request, output *UpdateSMBFileShareOutput) { @@ -8364,13 +8352,14 @@ func (c *StorageGateway) UpdateSMBFileShareRequest(input *UpdateSMBFileShareInpu // API operation UpdateSMBFileShare for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShare func (c *StorageGateway) UpdateSMBFileShare(input *UpdateSMBFileShareInput) (*UpdateSMBFileShareOutput, error) { @@ -8410,14 +8399,13 @@ const opUpdateSMBFileShareVisibility = "UpdateSMBFileShareVisibility" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSMBFileShareVisibilityRequest method. +// req, resp := client.UpdateSMBFileShareVisibilityRequest(params) // -// // Example sending a request using the UpdateSMBFileShareVisibilityRequest method. -// req, resp := client.UpdateSMBFileShareVisibilityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShareVisibility func (c *StorageGateway) UpdateSMBFileShareVisibilityRequest(input *UpdateSMBFileShareVisibilityInput) (req *request.Request, output *UpdateSMBFileShareVisibilityOutput) { @@ -8449,13 +8437,14 @@ func (c *StorageGateway) UpdateSMBFileShareVisibilityRequest(input *UpdateSMBFil // API operation UpdateSMBFileShareVisibility for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBFileShareVisibility func (c *StorageGateway) UpdateSMBFileShareVisibility(input *UpdateSMBFileShareVisibilityInput) (*UpdateSMBFileShareVisibilityOutput, error) { @@ -8495,14 +8484,13 @@ const opUpdateSMBLocalGroups = "UpdateSMBLocalGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSMBLocalGroupsRequest method. +// req, resp := client.UpdateSMBLocalGroupsRequest(params) // -// // Example sending a request using the UpdateSMBLocalGroupsRequest method. -// req, resp := client.UpdateSMBLocalGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBLocalGroups func (c *StorageGateway) UpdateSMBLocalGroupsRequest(input *UpdateSMBLocalGroupsInput) (req *request.Request, output *UpdateSMBLocalGroupsOutput) { @@ -8534,13 +8522,14 @@ func (c *StorageGateway) UpdateSMBLocalGroupsRequest(input *UpdateSMBLocalGroups // API operation UpdateSMBLocalGroups for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBLocalGroups func (c *StorageGateway) UpdateSMBLocalGroups(input *UpdateSMBLocalGroupsInput) (*UpdateSMBLocalGroupsOutput, error) { @@ -8580,14 +8569,13 @@ const opUpdateSMBSecurityStrategy = "UpdateSMBSecurityStrategy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSMBSecurityStrategyRequest method. +// req, resp := client.UpdateSMBSecurityStrategyRequest(params) // -// // Example sending a request using the UpdateSMBSecurityStrategyRequest method. -// req, resp := client.UpdateSMBSecurityStrategyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBSecurityStrategy func (c *StorageGateway) UpdateSMBSecurityStrategyRequest(input *UpdateSMBSecurityStrategyInput) (req *request.Request, output *UpdateSMBSecurityStrategyOutput) { @@ -8623,13 +8611,14 @@ func (c *StorageGateway) UpdateSMBSecurityStrategyRequest(input *UpdateSMBSecuri // API operation UpdateSMBSecurityStrategy for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSMBSecurityStrategy func (c *StorageGateway) UpdateSMBSecurityStrategy(input *UpdateSMBSecurityStrategyInput) (*UpdateSMBSecurityStrategyOutput, error) { @@ -8669,14 +8658,13 @@ const opUpdateSnapshotSchedule = "UpdateSnapshotSchedule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSnapshotScheduleRequest method. +// req, resp := client.UpdateSnapshotScheduleRequest(params) // -// // Example sending a request using the UpdateSnapshotScheduleRequest method. -// req, resp := client.UpdateSnapshotScheduleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSnapshotSchedule func (c *StorageGateway) UpdateSnapshotScheduleRequest(input *UpdateSnapshotScheduleInput) (req *request.Request, output *UpdateSnapshotScheduleOutput) { @@ -8716,13 +8704,14 @@ func (c *StorageGateway) UpdateSnapshotScheduleRequest(input *UpdateSnapshotSche // API operation UpdateSnapshotSchedule for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateSnapshotSchedule func (c *StorageGateway) UpdateSnapshotSchedule(input *UpdateSnapshotScheduleInput) (*UpdateSnapshotScheduleOutput, error) { @@ -8762,14 +8751,13 @@ const opUpdateVTLDeviceType = "UpdateVTLDeviceType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVTLDeviceTypeRequest method. +// req, resp := client.UpdateVTLDeviceTypeRequest(params) // -// // Example sending a request using the UpdateVTLDeviceTypeRequest method. -// req, resp := client.UpdateVTLDeviceTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateVTLDeviceType func (c *StorageGateway) UpdateVTLDeviceTypeRequest(input *UpdateVTLDeviceTypeInput) (req *request.Request, output *UpdateVTLDeviceTypeOutput) { @@ -8804,13 +8792,14 @@ func (c *StorageGateway) UpdateVTLDeviceTypeRequest(input *UpdateVTLDeviceTypeIn // API operation UpdateVTLDeviceType for usage and error information. // // Returned Error Types: -// * InvalidGatewayRequestException -// An exception occurred because an invalid gateway request was issued to the -// service. For more information, see the error and message fields. // -// * InternalServerError -// An internal server error has occurred during the request. For more information, -// see the error and message fields. +// - InvalidGatewayRequestException +// An exception occurred because an invalid gateway request was issued to the +// service. For more information, see the error and message fields. +// +// - InternalServerError +// An internal server error has occurred during the request. For more information, +// see the error and message fields. // // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateVTLDeviceType func (c *StorageGateway) UpdateVTLDeviceType(input *UpdateVTLDeviceTypeInput) (*UpdateVTLDeviceTypeOutput, error) { @@ -8836,19 +8825,19 @@ func (c *StorageGateway) UpdateVTLDeviceTypeWithContext(ctx aws.Context, input * // A JSON object containing one or more of the following fields: // -// * ActivateGatewayInput$ActivationKey +// - ActivateGatewayInput$ActivationKey // -// * ActivateGatewayInput$GatewayName +// - ActivateGatewayInput$GatewayName // -// * ActivateGatewayInput$GatewayRegion +// - ActivateGatewayInput$GatewayRegion // -// * ActivateGatewayInput$GatewayTimezone +// - ActivateGatewayInput$GatewayTimezone // -// * ActivateGatewayInput$GatewayType +// - ActivateGatewayInput$GatewayType // -// * ActivateGatewayInput$MediumChangerType +// - ActivateGatewayInput$MediumChangerType // -// * ActivateGatewayInput$TapeDriveType +// - ActivateGatewayInput$TapeDriveType type ActivateGatewayInput struct { _ struct{} `type:"structure"` @@ -9392,7 +9381,7 @@ func (s *AddUploadBufferOutput) SetGatewayARN(v string) *AddUploadBufferOutput { // A JSON object containing one or more of the following fields: // -// * AddWorkingStorageInput$DiskIds +// - AddWorkingStorageInput$DiskIds type AddWorkingStorageInput struct { _ struct{} `type:"structure"` @@ -12062,9 +12051,9 @@ func (s *CreateSnapshotFromVolumeRecoveryPointOutput) SetVolumeRecoveryPointTime // A JSON object containing one or more of the following fields: // -// * CreateSnapshotInput$SnapshotDescription +// - CreateSnapshotInput$SnapshotDescription // -// * CreateSnapshotInput$VolumeARN +// - CreateSnapshotInput$VolumeARN type CreateSnapshotInput struct { _ struct{} `type:"structure"` @@ -12204,15 +12193,15 @@ func (s *CreateSnapshotOutput) SetVolumeARN(v string) *CreateSnapshotOutput { // A JSON object containing one or more of the following fields: // -// * CreateStorediSCSIVolumeInput$DiskId +// - CreateStorediSCSIVolumeInput$DiskId // -// * CreateStorediSCSIVolumeInput$NetworkInterfaceId +// - CreateStorediSCSIVolumeInput$NetworkInterfaceId // -// * CreateStorediSCSIVolumeInput$PreserveExistingData +// - CreateStorediSCSIVolumeInput$PreserveExistingData // -// * CreateStorediSCSIVolumeInput$SnapshotId +// - CreateStorediSCSIVolumeInput$SnapshotId // -// * CreateStorediSCSIVolumeInput$TargetName +// - CreateStorediSCSIVolumeInput$TargetName type CreateStorediSCSIVolumeInput struct { _ struct{} `type:"structure"` @@ -13120,7 +13109,7 @@ func (s *DeleteAutomaticTapeCreationPolicyOutput) SetGatewayARN(v string) *Delet // A JSON object containing the following fields: // -// * DeleteBandwidthRateLimitInput$BandwidthType +// - DeleteBandwidthRateLimitInput$BandwidthType type DeleteBandwidthRateLimitInput struct { _ struct{} `type:"structure"` @@ -13227,9 +13216,9 @@ func (s *DeleteBandwidthRateLimitOutput) SetGatewayARN(v string) *DeleteBandwidt // A JSON object containing one or more of the following fields: // -// * DeleteChapCredentialsInput$InitiatorName +// - DeleteChapCredentialsInput$InitiatorName // -// * DeleteChapCredentialsInput$TargetARN +// - DeleteChapCredentialsInput$TargetARN type DeleteChapCredentialsInput struct { _ struct{} `type:"structure"` @@ -15013,15 +15002,15 @@ func (s *DescribeMaintenanceStartTimeInput) SetGatewayARN(v string) *DescribeMai // A JSON object containing the following fields: // -// * DescribeMaintenanceStartTimeOutput$DayOfMonth +// - DescribeMaintenanceStartTimeOutput$DayOfMonth // -// * DescribeMaintenanceStartTimeOutput$DayOfWeek +// - DescribeMaintenanceStartTimeOutput$DayOfWeek // -// * DescribeMaintenanceStartTimeOutput$HourOfDay +// - DescribeMaintenanceStartTimeOutput$HourOfDay // -// * DescribeMaintenanceStartTimeOutput$MinuteOfHour +// - DescribeMaintenanceStartTimeOutput$MinuteOfHour // -// * DescribeMaintenanceStartTimeOutput$Timezone +// - DescribeMaintenanceStartTimeOutput$Timezone type DescribeMaintenanceStartTimeOutput struct { _ struct{} `type:"structure"` @@ -18044,9 +18033,9 @@ func (s *ListFileSystemAssociationsOutput) SetNextMarker(v string) *ListFileSyst // A JSON object containing zero or more of the following fields: // -// * ListGatewaysInput$Limit +// - ListGatewaysInput$Limit // -// * ListGatewaysInput$Marker +// - ListGatewaysInput$Marker type ListGatewaysInput struct { _ struct{} `type:"structure"` @@ -18485,11 +18474,11 @@ func (s *ListTapePoolsOutput) SetPoolInfos(v []*PoolInfo) *ListTapePoolsOutput { // A JSON object that contains one or more of the following fields: // -// * ListTapesInput$Limit +// - ListTapesInput$Limit // -// * ListTapesInput$Marker +// - ListTapesInput$Marker // -// * ListTapesInput$TapeARNs +// - ListTapesInput$TapeARNs type ListTapesInput struct { _ struct{} `type:"structure"` @@ -18560,9 +18549,9 @@ func (s *ListTapesInput) SetTapeARNs(v []*string) *ListTapesInput { // A JSON object containing the following fields: // -// * ListTapesOutput$Marker +// - ListTapesOutput$Marker // -// * ListTapesOutput$VolumeInfos +// - ListTapesOutput$VolumeInfos type ListTapesOutput struct { _ struct{} `type:"structure"` @@ -18785,9 +18774,9 @@ func (s *ListVolumeRecoveryPointsOutput) SetVolumeRecoveryPointInfos(v []*Volume // A JSON object that contains one or more of the following fields: // -// * ListVolumesInput$Limit +// - ListVolumesInput$Limit // -// * ListVolumesInput$Marker +// - ListVolumesInput$Marker type ListVolumesInput struct { _ struct{} `type:"structure"` @@ -18862,9 +18851,9 @@ func (s *ListVolumesInput) SetMarker(v string) *ListVolumesInput { // A JSON object containing the following fields: // -// * ListVolumesOutput$Marker +// - ListVolumesOutput$Marker // -// * ListVolumesOutput$VolumeInfos +// - ListVolumesOutput$VolumeInfos type ListVolumesOutput struct { _ struct{} `type:"structure"` @@ -21881,9 +21870,9 @@ func (s *UpdateAutomaticTapeCreationPolicyOutput) SetGatewayARN(v string) *Updat // A JSON object containing one or more of the following fields: // -// * UpdateBandwidthRateLimitInput$AverageDownloadRateLimitInBitsPerSec +// - UpdateBandwidthRateLimitInput$AverageDownloadRateLimitInBitsPerSec // -// * UpdateBandwidthRateLimitInput$AverageUploadRateLimitInBitsPerSec +// - UpdateBandwidthRateLimitInput$AverageUploadRateLimitInBitsPerSec type UpdateBandwidthRateLimitInput struct { _ struct{} `type:"structure"` @@ -22102,13 +22091,13 @@ func (s *UpdateBandwidthRateLimitScheduleOutput) SetGatewayARN(v string) *Update // A JSON object containing one or more of the following fields: // -// * UpdateChapCredentialsInput$InitiatorName +// - UpdateChapCredentialsInput$InitiatorName // -// * UpdateChapCredentialsInput$SecretToAuthenticateInitiator +// - UpdateChapCredentialsInput$SecretToAuthenticateInitiator // -// * UpdateChapCredentialsInput$SecretToAuthenticateTarget +// - UpdateChapCredentialsInput$SecretToAuthenticateTarget // -// * UpdateChapCredentialsInput$TargetARN +// - UpdateChapCredentialsInput$TargetARN type UpdateChapCredentialsInput struct { _ struct{} `type:"structure"` @@ -22619,13 +22608,13 @@ func (s *UpdateGatewaySoftwareNowOutput) SetGatewayARN(v string) *UpdateGatewayS // A JSON object containing the following fields: // -// * UpdateMaintenanceStartTimeInput$DayOfMonth +// - UpdateMaintenanceStartTimeInput$DayOfMonth // -// * UpdateMaintenanceStartTimeInput$DayOfWeek +// - UpdateMaintenanceStartTimeInput$DayOfWeek // -// * UpdateMaintenanceStartTimeInput$HourOfDay +// - UpdateMaintenanceStartTimeInput$HourOfDay // -// * UpdateMaintenanceStartTimeInput$MinuteOfHour +// - UpdateMaintenanceStartTimeInput$MinuteOfHour type UpdateMaintenanceStartTimeInput struct { _ struct{} `type:"structure"` @@ -23685,13 +23674,13 @@ func (s *UpdateSMBSecurityStrategyOutput) SetGatewayARN(v string) *UpdateSMBSecu // A JSON object containing one or more of the following fields: // -// * UpdateSnapshotScheduleInput$Description +// - UpdateSnapshotScheduleInput$Description // -// * UpdateSnapshotScheduleInput$RecurrenceInHours +// - UpdateSnapshotScheduleInput$RecurrenceInHours // -// * UpdateSnapshotScheduleInput$StartAt +// - UpdateSnapshotScheduleInput$StartAt // -// * UpdateSnapshotScheduleInput$VolumeARN +// - UpdateSnapshotScheduleInput$VolumeARN type UpdateSnapshotScheduleInput struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/doc.go index b7d81ab420f7..cb8ce6d23295 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/doc.go @@ -13,25 +13,25 @@ // Use the following links to get started using the Storage Gateway Service // API Reference: // -// * Storage Gateway required request headers (https://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayAPI.html#AWSStorageGatewayHTTPRequestsHeaders): -// Describes the required headers that you must send with every POST request -// to Storage Gateway. +// - Storage Gateway required request headers (https://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayAPI.html#AWSStorageGatewayHTTPRequestsHeaders): +// Describes the required headers that you must send with every POST request +// to Storage Gateway. // -// * Signing requests (https://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayAPI.html#AWSStorageGatewaySigningRequests): -// Storage Gateway requires that you authenticate every request you send; -// this topic describes how sign such a request. +// - Signing requests (https://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayAPI.html#AWSStorageGatewaySigningRequests): +// Storage Gateway requires that you authenticate every request you send; +// this topic describes how sign such a request. // -// * Error responses (https://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayAPI.html#APIErrorResponses): -// Provides reference information about Storage Gateway errors. +// - Error responses (https://docs.aws.amazon.com/storagegateway/latest/userguide/AWSStorageGatewayAPI.html#APIErrorResponses): +// Provides reference information about Storage Gateway errors. // -// * Operations in Storage Gateway (https://docs.aws.amazon.com/storagegateway/latest/APIReference/API_Operations.html): -// Contains detailed descriptions of all Storage Gateway operations, their -// request parameters, response elements, possible errors, and examples of -// requests and responses. +// - Operations in Storage Gateway (https://docs.aws.amazon.com/storagegateway/latest/APIReference/API_Operations.html): +// Contains detailed descriptions of all Storage Gateway operations, their +// request parameters, response elements, possible errors, and examples of +// requests and responses. // -// * Storage Gateway endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/sg.html): -// Provides a list of each Amazon Web Services Region and the endpoints available -// for use with Storage Gateway. +// - Storage Gateway endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/sg.html): +// Provides a list of each Amazon Web Services Region and the endpoints available +// for use with Storage Gateway. // // Storage Gateway resource IDs are in uppercase. When you use these resource // IDs with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must @@ -62,7 +62,7 @@ // See storagegateway package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/storagegateway/ // -// Using the Client +// # Using the Client // // To contact AWS Storage Gateway with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/service.go index 67dff212e644..ced5ffe666b3 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a StorageGateway client from just a session. -// svc := storagegateway.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a StorageGateway client with additional configuration -// svc := storagegateway.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a StorageGateway client from just a session. +// svc := storagegateway.New(mySession) +// +// // Create a StorageGateway client with additional configuration +// svc := storagegateway.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *StorageGateway { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/storagegatewayiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/storagegatewayiface/interface.go index dca5f8d0783f..ce17dc44956a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/storagegatewayiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/storagegateway/storagegatewayiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Storage Gateway. -// func myFunc(svc storagegatewayiface.StorageGatewayAPI) bool { -// // Make svc.ActivateGateway request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Storage Gateway. +// func myFunc(svc storagegatewayiface.StorageGatewayAPI) bool { +// // Make svc.ActivateGateway request +// } // -// func main() { -// sess := session.New() -// svc := storagegateway.New(sess) +// func main() { +// sess := session.New() +// svc := storagegateway.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockStorageGatewayClient struct { -// storagegatewayiface.StorageGatewayAPI -// } -// func (m *mockStorageGatewayClient) ActivateGateway(input *storagegateway.ActivateGatewayInput) (*storagegateway.ActivateGatewayOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockStorageGatewayClient struct { +// storagegatewayiface.StorageGatewayAPI +// } +// func (m *mockStorageGatewayClient) ActivateGateway(input *storagegateway.ActivateGatewayInput) (*storagegateway.ActivateGatewayOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockStorageGatewayClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockStorageGatewayClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/api.go index 5d015d534e66..6213ae015551 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/api.go @@ -28,14 +28,13 @@ const opAssumeRole = "AssumeRole" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssumeRoleRequest method. +// req, resp := client.AssumeRoleRequest(params) // -// // Example sending a request using the AssumeRoleRequest method. -// req, resp := client.AssumeRoleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRole func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, output *AssumeRoleOutput) { @@ -66,7 +65,7 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o // and Comparing the Amazon Web Services STS API operations (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#stsapi_comparison) // in the IAM User Guide. // -// Permissions +// # Permissions // // The temporary security credentials created by AssumeRole can be used to make // API calls to any Amazon Web Services service with the following exception: @@ -105,10 +104,10 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o // To allow a user to assume a role in the same account, you can do either of // the following: // -// * Attach a policy to the user that allows the user to call AssumeRole -// (as long as the role's trust policy trusts the account). +// - Attach a policy to the user that allows the user to call AssumeRole +// (as long as the role's trust policy trusts the account). // -// * Add the user as a principal directly in the role's trust policy. +// - Add the user as a principal directly in the role's trust policy. // // You can do either because the role’s trust policy acts as an IAM resource-based // policy. When a resource-based policy grants access to a principal in the @@ -116,7 +115,7 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o // about trust policies and resource-based policies, see IAM Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html) // in the IAM User Guide. // -// Tags +// # Tags // // (Optional) You can pass tag key-value pairs to your session. These tags are // called session tags. For more information about session tags, see Passing @@ -134,7 +133,7 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o // (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_role-chaining) // in the IAM User Guide. // -// Using MFA with AssumeRole +// # Using MFA with AssumeRole // // (Optional) You can include multi-factor authentication (MFA) information // when you call AssumeRole. This is useful for cross-account scenarios to ensure @@ -163,35 +162,36 @@ func (c *STS) AssumeRoleRequest(input *AssumeRoleInput) (req *request.Request, o // API operation AssumeRole for usage and error information. // // Returned Error Codes: -// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" -// The request was rejected because the policy document was malformed. The error -// message describes the specific error. -// -// * ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge" -// The request was rejected because the total packed size of the session policies -// and session tags combined was too large. An Amazon Web Services conversion -// compresses the session policy document, session policy ARNs, and session -// tags into a packed binary format that has a separate limit. The error message -// indicates by percentage how close the policies and tags are to the upper -// size limit. For more information, see Passing Session Tags in STS (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html) -// in the IAM User Guide. -// -// You could receive this error even though you meet other defined session policy -// and session tag limits. For more information, see IAM and STS Entity Character -// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length) -// in the IAM User Guide. -// -// * ErrCodeRegionDisabledException "RegionDisabledException" -// STS is not activated in the requested region for the account that is being -// asked to generate credentials. The account administrator must use the IAM -// console to activate STS in that region. For more information, see Activating -// and Deactivating Amazon Web Services STS in an Amazon Web Services Region -// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) -// in the IAM User Guide. -// -// * ErrCodeExpiredTokenException "ExpiredTokenException" -// The web identity token that was passed is expired or is not valid. Get a -// new identity token from the identity provider and then retry the request. +// +// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" +// The request was rejected because the policy document was malformed. The error +// message describes the specific error. +// +// - ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge" +// The request was rejected because the total packed size of the session policies +// and session tags combined was too large. An Amazon Web Services conversion +// compresses the session policy document, session policy ARNs, and session +// tags into a packed binary format that has a separate limit. The error message +// indicates by percentage how close the policies and tags are to the upper +// size limit. For more information, see Passing Session Tags in STS (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html) +// in the IAM User Guide. +// +// You could receive this error even though you meet other defined session policy +// and session tag limits. For more information, see IAM and STS Entity Character +// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length) +// in the IAM User Guide. +// +// - ErrCodeRegionDisabledException "RegionDisabledException" +// STS is not activated in the requested region for the account that is being +// asked to generate credentials. The account administrator must use the IAM +// console to activate STS in that region. For more information, see Activating +// and Deactivating Amazon Web Services STS in an Amazon Web Services Region +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) +// in the IAM User Guide. +// +// - ErrCodeExpiredTokenException "ExpiredTokenException" +// The web identity token that was passed is expired or is not valid. Get a +// new identity token from the identity provider and then retry the request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRole func (c *STS) AssumeRole(input *AssumeRoleInput) (*AssumeRoleOutput, error) { @@ -231,14 +231,13 @@ const opAssumeRoleWithSAML = "AssumeRoleWithSAML" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssumeRoleWithSAMLRequest method. +// req, resp := client.AssumeRoleWithSAMLRequest(params) // -// // Example sending a request using the AssumeRoleWithSAMLRequest method. -// req, resp := client.AssumeRoleWithSAMLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAML func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *request.Request, output *AssumeRoleWithSAMLOutput) { @@ -274,7 +273,7 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re // can use these temporary security credentials to sign calls to Amazon Web // Services services. // -// Session Duration +// # Session Duration // // By default, the temporary security credentials created by AssumeRoleWithSAML // last for one hour. However, you can use the optional DurationSeconds parameter @@ -300,7 +299,7 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re // a role using role chaining and provide a DurationSeconds parameter value // greater than one hour, the operation fails. // -// Permissions +// # Permissions // // The temporary security credentials created by AssumeRoleWithSAML can be used // to make API calls to any Amazon Web Services service with the following exception: @@ -331,7 +330,7 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re // identifiable information (PII). For example, you could instead use the persistent // identifier (urn:oasis:names:tc:SAML:2.0:nameid-format:persistent). // -// Tags +// # Tags // // (Optional) You can configure your IdP to pass attributes into your SAML assertion // as session tags. Each session tag consists of a key name and an associated @@ -365,7 +364,7 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re // (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_role-chaining) // in the IAM User Guide. // -// SAML Configuration +// # SAML Configuration // // Before your application can call AssumeRoleWithSAML, you must configure your // SAML identity provider (IdP) to issue the claims required by Amazon Web Services. @@ -376,17 +375,17 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re // // For more information, see the following resources: // -// * About SAML 2.0-based Federation (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html) -// in the IAM User Guide. +// - About SAML 2.0-based Federation (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_saml.html) +// in the IAM User Guide. // -// * Creating SAML Identity Providers (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_saml.html) -// in the IAM User Guide. +// - Creating SAML Identity Providers (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_saml.html) +// in the IAM User Guide. // -// * Configuring a Relying Party and Claims (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_saml_relying-party.html) -// in the IAM User Guide. +// - Configuring a Relying Party and Claims (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_create_saml_relying-party.html) +// in the IAM User Guide. // -// * Creating a Role for SAML 2.0 Federation (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_saml.html) -// in the IAM User Guide. +// - Creating a Role for SAML 2.0 Federation (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-idp_saml.html) +// in the IAM User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -396,47 +395,48 @@ func (c *STS) AssumeRoleWithSAMLRequest(input *AssumeRoleWithSAMLInput) (req *re // API operation AssumeRoleWithSAML for usage and error information. // // Returned Error Codes: -// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" -// The request was rejected because the policy document was malformed. The error -// message describes the specific error. -// -// * ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge" -// The request was rejected because the total packed size of the session policies -// and session tags combined was too large. An Amazon Web Services conversion -// compresses the session policy document, session policy ARNs, and session -// tags into a packed binary format that has a separate limit. The error message -// indicates by percentage how close the policies and tags are to the upper -// size limit. For more information, see Passing Session Tags in STS (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html) -// in the IAM User Guide. -// -// You could receive this error even though you meet other defined session policy -// and session tag limits. For more information, see IAM and STS Entity Character -// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length) -// in the IAM User Guide. -// -// * ErrCodeIDPRejectedClaimException "IDPRejectedClaim" -// The identity provider (IdP) reported that authentication failed. This might -// be because the claim is invalid. -// -// If this error is returned for the AssumeRoleWithWebIdentity operation, it -// can also mean that the claim has expired or has been explicitly revoked. -// -// * ErrCodeInvalidIdentityTokenException "InvalidIdentityToken" -// The web identity token that was passed could not be validated by Amazon Web -// Services. Get a new identity token from the identity provider and then retry -// the request. -// -// * ErrCodeExpiredTokenException "ExpiredTokenException" -// The web identity token that was passed is expired or is not valid. Get a -// new identity token from the identity provider and then retry the request. -// -// * ErrCodeRegionDisabledException "RegionDisabledException" -// STS is not activated in the requested region for the account that is being -// asked to generate credentials. The account administrator must use the IAM -// console to activate STS in that region. For more information, see Activating -// and Deactivating Amazon Web Services STS in an Amazon Web Services Region -// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) -// in the IAM User Guide. +// +// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" +// The request was rejected because the policy document was malformed. The error +// message describes the specific error. +// +// - ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge" +// The request was rejected because the total packed size of the session policies +// and session tags combined was too large. An Amazon Web Services conversion +// compresses the session policy document, session policy ARNs, and session +// tags into a packed binary format that has a separate limit. The error message +// indicates by percentage how close the policies and tags are to the upper +// size limit. For more information, see Passing Session Tags in STS (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html) +// in the IAM User Guide. +// +// You could receive this error even though you meet other defined session policy +// and session tag limits. For more information, see IAM and STS Entity Character +// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length) +// in the IAM User Guide. +// +// - ErrCodeIDPRejectedClaimException "IDPRejectedClaim" +// The identity provider (IdP) reported that authentication failed. This might +// be because the claim is invalid. +// +// If this error is returned for the AssumeRoleWithWebIdentity operation, it +// can also mean that the claim has expired or has been explicitly revoked. +// +// - ErrCodeInvalidIdentityTokenException "InvalidIdentityToken" +// The web identity token that was passed could not be validated by Amazon Web +// Services. Get a new identity token from the identity provider and then retry +// the request. +// +// - ErrCodeExpiredTokenException "ExpiredTokenException" +// The web identity token that was passed is expired or is not valid. Get a +// new identity token from the identity provider and then retry the request. +// +// - ErrCodeRegionDisabledException "RegionDisabledException" +// STS is not activated in the requested region for the account that is being +// asked to generate credentials. The account administrator must use the IAM +// console to activate STS in that region. For more information, see Activating +// and Deactivating Amazon Web Services STS in an Amazon Web Services Region +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) +// in the IAM User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithSAML func (c *STS) AssumeRoleWithSAML(input *AssumeRoleWithSAMLInput) (*AssumeRoleWithSAMLOutput, error) { @@ -476,14 +476,13 @@ const opAssumeRoleWithWebIdentity = "AssumeRoleWithWebIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssumeRoleWithWebIdentityRequest method. +// req, resp := client.AssumeRoleWithWebIdentityRequest(params) // -// // Example sending a request using the AssumeRoleWithWebIdentityRequest method. -// req, resp := client.AssumeRoleWithWebIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentity func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityInput) (req *request.Request, output *AssumeRoleWithWebIdentityOutput) { @@ -540,7 +539,7 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI // temporary security credentials to sign calls to Amazon Web Services service // API operations. // -// Session Duration +// # Session Duration // // By default, the temporary security credentials created by AssumeRoleWithWebIdentity // last for one hour. However, you can use the optional DurationSeconds parameter @@ -555,7 +554,7 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI // URL. For more information, see Using IAM Roles (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html) // in the IAM User Guide. // -// Permissions +// # Permissions // // The temporary security credentials created by AssumeRoleWithWebIdentity can // be used to make API calls to any Amazon Web Services service with the following @@ -576,7 +575,7 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI // For more information, see Session Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // in the IAM User Guide. // -// Tags +// # Tags // // (Optional) You can configure your IdP to pass attributes into your web identity // token as session tags. Each session tag consists of a key name and an associated @@ -610,7 +609,7 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI // (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html#id_session-tags_role-chaining) // in the IAM User Guide. // -// Identities +// # Identities // // Before your application can call AssumeRoleWithWebIdentity, you must have // an identity token from a supported identity provider and create a role that @@ -628,24 +627,24 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI // For more information about how to use web identity federation and the AssumeRoleWithWebIdentity // API, see the following resources: // -// * Using Web Identity Federation API Operations for Mobile Apps (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc_manual.html) -// and Federation Through a Web-based Identity Provider (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_assumerolewithwebidentity). +// - Using Web Identity Federation API Operations for Mobile Apps (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers_oidc_manual.html) +// and Federation Through a Web-based Identity Provider (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_assumerolewithwebidentity). // -// * Web Identity Federation Playground (https://aws.amazon.com/blogs/aws/the-aws-web-identity-federation-playground/). -// Walk through the process of authenticating through Login with Amazon, -// Facebook, or Google, getting temporary security credentials, and then -// using those credentials to make a request to Amazon Web Services. +// - Web Identity Federation Playground (https://aws.amazon.com/blogs/aws/the-aws-web-identity-federation-playground/). +// Walk through the process of authenticating through Login with Amazon, +// Facebook, or Google, getting temporary security credentials, and then +// using those credentials to make a request to Amazon Web Services. // -// * Amazon Web Services SDK for iOS Developer Guide (http://aws.amazon.com/sdkforios/) -// and Amazon Web Services SDK for Android Developer Guide (http://aws.amazon.com/sdkforandroid/). -// These toolkits contain sample apps that show how to invoke the identity -// providers. The toolkits then show how to use the information from these -// providers to get and use temporary security credentials. +// - Amazon Web Services SDK for iOS Developer Guide (http://aws.amazon.com/sdkforios/) +// and Amazon Web Services SDK for Android Developer Guide (http://aws.amazon.com/sdkforandroid/). +// These toolkits contain sample apps that show how to invoke the identity +// providers. The toolkits then show how to use the information from these +// providers to get and use temporary security credentials. // -// * Web Identity Federation with Mobile Applications (http://aws.amazon.com/articles/web-identity-federation-with-mobile-applications). -// This article discusses web identity federation and shows an example of -// how to use web identity federation to get access to content in Amazon -// S3. +// - Web Identity Federation with Mobile Applications (http://aws.amazon.com/articles/web-identity-federation-with-mobile-applications). +// This article discusses web identity federation and shows an example of +// how to use web identity federation to get access to content in Amazon +// S3. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -655,54 +654,55 @@ func (c *STS) AssumeRoleWithWebIdentityRequest(input *AssumeRoleWithWebIdentityI // API operation AssumeRoleWithWebIdentity for usage and error information. // // Returned Error Codes: -// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" -// The request was rejected because the policy document was malformed. The error -// message describes the specific error. -// -// * ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge" -// The request was rejected because the total packed size of the session policies -// and session tags combined was too large. An Amazon Web Services conversion -// compresses the session policy document, session policy ARNs, and session -// tags into a packed binary format that has a separate limit. The error message -// indicates by percentage how close the policies and tags are to the upper -// size limit. For more information, see Passing Session Tags in STS (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html) -// in the IAM User Guide. -// -// You could receive this error even though you meet other defined session policy -// and session tag limits. For more information, see IAM and STS Entity Character -// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length) -// in the IAM User Guide. -// -// * ErrCodeIDPRejectedClaimException "IDPRejectedClaim" -// The identity provider (IdP) reported that authentication failed. This might -// be because the claim is invalid. -// -// If this error is returned for the AssumeRoleWithWebIdentity operation, it -// can also mean that the claim has expired or has been explicitly revoked. -// -// * ErrCodeIDPCommunicationErrorException "IDPCommunicationError" -// The request could not be fulfilled because the identity provider (IDP) that -// was asked to verify the incoming identity token could not be reached. This -// is often a transient error caused by network conditions. Retry the request -// a limited number of times so that you don't exceed the request rate. If the -// error persists, the identity provider might be down or not responding. -// -// * ErrCodeInvalidIdentityTokenException "InvalidIdentityToken" -// The web identity token that was passed could not be validated by Amazon Web -// Services. Get a new identity token from the identity provider and then retry -// the request. -// -// * ErrCodeExpiredTokenException "ExpiredTokenException" -// The web identity token that was passed is expired or is not valid. Get a -// new identity token from the identity provider and then retry the request. -// -// * ErrCodeRegionDisabledException "RegionDisabledException" -// STS is not activated in the requested region for the account that is being -// asked to generate credentials. The account administrator must use the IAM -// console to activate STS in that region. For more information, see Activating -// and Deactivating Amazon Web Services STS in an Amazon Web Services Region -// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) -// in the IAM User Guide. +// +// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" +// The request was rejected because the policy document was malformed. The error +// message describes the specific error. +// +// - ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge" +// The request was rejected because the total packed size of the session policies +// and session tags combined was too large. An Amazon Web Services conversion +// compresses the session policy document, session policy ARNs, and session +// tags into a packed binary format that has a separate limit. The error message +// indicates by percentage how close the policies and tags are to the upper +// size limit. For more information, see Passing Session Tags in STS (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html) +// in the IAM User Guide. +// +// You could receive this error even though you meet other defined session policy +// and session tag limits. For more information, see IAM and STS Entity Character +// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length) +// in the IAM User Guide. +// +// - ErrCodeIDPRejectedClaimException "IDPRejectedClaim" +// The identity provider (IdP) reported that authentication failed. This might +// be because the claim is invalid. +// +// If this error is returned for the AssumeRoleWithWebIdentity operation, it +// can also mean that the claim has expired or has been explicitly revoked. +// +// - ErrCodeIDPCommunicationErrorException "IDPCommunicationError" +// The request could not be fulfilled because the identity provider (IDP) that +// was asked to verify the incoming identity token could not be reached. This +// is often a transient error caused by network conditions. Retry the request +// a limited number of times so that you don't exceed the request rate. If the +// error persists, the identity provider might be down or not responding. +// +// - ErrCodeInvalidIdentityTokenException "InvalidIdentityToken" +// The web identity token that was passed could not be validated by Amazon Web +// Services. Get a new identity token from the identity provider and then retry +// the request. +// +// - ErrCodeExpiredTokenException "ExpiredTokenException" +// The web identity token that was passed is expired or is not valid. Get a +// new identity token from the identity provider and then retry the request. +// +// - ErrCodeRegionDisabledException "RegionDisabledException" +// STS is not activated in the requested region for the account that is being +// asked to generate credentials. The account administrator must use the IAM +// console to activate STS in that region. For more information, see Activating +// and Deactivating Amazon Web Services STS in an Amazon Web Services Region +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) +// in the IAM User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/AssumeRoleWithWebIdentity func (c *STS) AssumeRoleWithWebIdentity(input *AssumeRoleWithWebIdentityInput) (*AssumeRoleWithWebIdentityOutput, error) { @@ -742,14 +742,13 @@ const opDecodeAuthorizationMessage = "DecodeAuthorizationMessage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DecodeAuthorizationMessageRequest method. +// req, resp := client.DecodeAuthorizationMessageRequest(params) // -// // Example sending a request using the DecodeAuthorizationMessageRequest method. -// req, resp := client.DecodeAuthorizationMessageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessage func (c *STS) DecodeAuthorizationMessageRequest(input *DecodeAuthorizationMessageInput) (req *request.Request, output *DecodeAuthorizationMessageOutput) { @@ -793,18 +792,18 @@ func (c *STS) DecodeAuthorizationMessageRequest(input *DecodeAuthorizationMessag // // The decoded message includes the following type of information: // -// * Whether the request was denied due to an explicit deny or due to the -// absence of an explicit allow. For more information, see Determining Whether -// a Request is Allowed or Denied (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-denyallow) -// in the IAM User Guide. +// - Whether the request was denied due to an explicit deny or due to the +// absence of an explicit allow. For more information, see Determining Whether +// a Request is Allowed or Denied (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-denyallow) +// in the IAM User Guide. // -// * The principal who made the request. +// - The principal who made the request. // -// * The requested action. +// - The requested action. // -// * The requested resource. +// - The requested resource. // -// * The values of condition keys in the context of the user's request. +// - The values of condition keys in the context of the user's request. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -814,10 +813,10 @@ func (c *STS) DecodeAuthorizationMessageRequest(input *DecodeAuthorizationMessag // API operation DecodeAuthorizationMessage for usage and error information. // // Returned Error Codes: -// * ErrCodeInvalidAuthorizationMessageException "InvalidAuthorizationMessageException" -// The error returned if the message passed to DecodeAuthorizationMessage was -// invalid. This can happen if the token contains invalid characters, such as -// linebreaks. +// - ErrCodeInvalidAuthorizationMessageException "InvalidAuthorizationMessageException" +// The error returned if the message passed to DecodeAuthorizationMessage was +// invalid. This can happen if the token contains invalid characters, such as +// linebreaks. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/DecodeAuthorizationMessage func (c *STS) DecodeAuthorizationMessage(input *DecodeAuthorizationMessageInput) (*DecodeAuthorizationMessageOutput, error) { @@ -857,14 +856,13 @@ const opGetAccessKeyInfo = "GetAccessKeyInfo" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccessKeyInfoRequest method. +// req, resp := client.GetAccessKeyInfoRequest(params) // -// // Example sending a request using the GetAccessKeyInfoRequest method. -// req, resp := client.GetAccessKeyInfoRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetAccessKeyInfo func (c *STS) GetAccessKeyInfoRequest(input *GetAccessKeyInfoInput) (req *request.Request, output *GetAccessKeyInfoOutput) { @@ -954,14 +952,13 @@ const opGetCallerIdentity = "GetCallerIdentity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCallerIdentityRequest method. +// req, resp := client.GetCallerIdentityRequest(params) // -// // Example sending a request using the GetCallerIdentityRequest method. -// req, resp := client.GetCallerIdentityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetCallerIdentity func (c *STS) GetCallerIdentityRequest(input *GetCallerIdentityInput) (req *request.Request, output *GetCallerIdentityOutput) { @@ -1037,14 +1034,13 @@ const opGetFederationToken = "GetFederationToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFederationTokenRequest method. +// req, resp := client.GetFederationTokenRequest(params) // -// // Example sending a request using the GetFederationTokenRequest method. -// req, resp := client.GetFederationTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationToken func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *request.Request, output *GetFederationTokenOutput) { @@ -1094,7 +1090,7 @@ func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *re // see IAM Best Practices (https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html) // in the IAM User Guide. // -// Session duration +// # Session duration // // The temporary credentials are valid for the specified duration, from 900 // seconds (15 minutes) up to a maximum of 129,600 seconds (36 hours). The default @@ -1102,15 +1098,15 @@ func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *re // by using the Amazon Web Services account root user credentials have a maximum // duration of 3,600 seconds (1 hour). // -// Permissions +// # Permissions // // You can use the temporary credentials created by GetFederationToken in any // Amazon Web Services service except the following: // -// * You cannot call any IAM operations using the CLI or the Amazon Web Services -// API. +// - You cannot call any IAM operations using the CLI or the Amazon Web Services +// API. // -// * You cannot call any STS operations except GetCallerIdentity. +// - You cannot call any STS operations except GetCallerIdentity. // // You must pass an inline or managed session policy (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#policies_session) // to this operation. You can pass a single JSON policy document to use as an @@ -1136,7 +1132,7 @@ func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *re // by the policy. These permissions are granted in addition to the permissions // granted by the session policies. // -// Tags +// # Tags // // (Optional) You can pass tag key-value pairs to your session. These are called // session tags. For more information about session tags, see Passing Session @@ -1172,31 +1168,32 @@ func (c *STS) GetFederationTokenRequest(input *GetFederationTokenInput) (req *re // API operation GetFederationToken for usage and error information. // // Returned Error Codes: -// * ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" -// The request was rejected because the policy document was malformed. The error -// message describes the specific error. -// -// * ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge" -// The request was rejected because the total packed size of the session policies -// and session tags combined was too large. An Amazon Web Services conversion -// compresses the session policy document, session policy ARNs, and session -// tags into a packed binary format that has a separate limit. The error message -// indicates by percentage how close the policies and tags are to the upper -// size limit. For more information, see Passing Session Tags in STS (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html) -// in the IAM User Guide. -// -// You could receive this error even though you meet other defined session policy -// and session tag limits. For more information, see IAM and STS Entity Character -// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length) -// in the IAM User Guide. -// -// * ErrCodeRegionDisabledException "RegionDisabledException" -// STS is not activated in the requested region for the account that is being -// asked to generate credentials. The account administrator must use the IAM -// console to activate STS in that region. For more information, see Activating -// and Deactivating Amazon Web Services STS in an Amazon Web Services Region -// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) -// in the IAM User Guide. +// +// - ErrCodeMalformedPolicyDocumentException "MalformedPolicyDocument" +// The request was rejected because the policy document was malformed. The error +// message describes the specific error. +// +// - ErrCodePackedPolicyTooLargeException "PackedPolicyTooLarge" +// The request was rejected because the total packed size of the session policies +// and session tags combined was too large. An Amazon Web Services conversion +// compresses the session policy document, session policy ARNs, and session +// tags into a packed binary format that has a separate limit. The error message +// indicates by percentage how close the policies and tags are to the upper +// size limit. For more information, see Passing Session Tags in STS (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_session-tags.html) +// in the IAM User Guide. +// +// You could receive this error even though you meet other defined session policy +// and session tag limits. For more information, see IAM and STS Entity Character +// Limits (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html#reference_iam-limits-entity-length) +// in the IAM User Guide. +// +// - ErrCodeRegionDisabledException "RegionDisabledException" +// STS is not activated in the requested region for the account that is being +// asked to generate credentials. The account administrator must use the IAM +// console to activate STS in that region. For more information, see Activating +// and Deactivating Amazon Web Services STS in an Amazon Web Services Region +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) +// in the IAM User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetFederationToken func (c *STS) GetFederationToken(input *GetFederationTokenInput) (*GetFederationTokenOutput, error) { @@ -1236,14 +1233,13 @@ const opGetSessionToken = "GetSessionToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSessionTokenRequest method. +// req, resp := client.GetSessionTokenRequest(params) // -// // Example sending a request using the GetSessionTokenRequest method. -// req, resp := client.GetSessionTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionToken func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request.Request, output *GetSessionTokenOutput) { @@ -1285,7 +1281,7 @@ func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request. // see Permissions for GetSessionToken (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_control-access_getsessiontoken.html) // in the IAM User Guide. // -// Session Duration +// # Session Duration // // The GetSessionToken operation must be called by using the long-term Amazon // Web Services security credentials of the Amazon Web Services account root @@ -1296,15 +1292,15 @@ func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request. // range from 900 seconds (15 minutes) up to 3,600 seconds (1 hour), with a // default of 1 hour. // -// Permissions +// # Permissions // // The temporary security credentials created by GetSessionToken can be used // to make API calls to any Amazon Web Services service with the following exceptions: // -// * You cannot call any IAM API operations unless MFA authentication information -// is included in the request. +// - You cannot call any IAM API operations unless MFA authentication information +// is included in the request. // -// * You cannot call any STS API except AssumeRole or GetCallerIdentity. +// - You cannot call any STS API except AssumeRole or GetCallerIdentity. // // We recommend that you do not call GetSessionToken with Amazon Web Services // account root user credentials. Instead, follow our best practices (https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#create-iam-users) @@ -1330,13 +1326,13 @@ func (c *STS) GetSessionTokenRequest(input *GetSessionTokenInput) (req *request. // API operation GetSessionToken for usage and error information. // // Returned Error Codes: -// * ErrCodeRegionDisabledException "RegionDisabledException" -// STS is not activated in the requested region for the account that is being -// asked to generate credentials. The account administrator must use the IAM -// console to activate STS in that region. For more information, see Activating -// and Deactivating Amazon Web Services STS in an Amazon Web Services Region -// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) -// in the IAM User Guide. +// - ErrCodeRegionDisabledException "RegionDisabledException" +// STS is not activated in the requested region for the account that is being +// asked to generate credentials. The account administrator must use the IAM +// console to activate STS in that region. For more information, see Activating +// and Deactivating Amazon Web Services STS in an Amazon Web Services Region +// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html) +// in the IAM User Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetSessionToken func (c *STS) GetSessionToken(input *GetSessionTokenInput) (*GetSessionTokenOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/doc.go index 2d98d92353a6..c40f5a2a52b6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/doc.go @@ -14,7 +14,7 @@ // See sts package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/sts/ // -// Using the Client +// # Using the Client // // To contact AWS Security Token Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/service.go index 3dd52d293680..78c15658a190 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/service.go @@ -39,13 +39,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a STS client from just a session. -// svc := sts.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a STS client with additional configuration -// svc := sts.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a STS client from just a session. +// svc := sts.New(mySession) +// +// // Create a STS client with additional configuration +// svc := sts.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *STS { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/stsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/stsiface/interface.go index 37b6e26a5844..224554fbf69d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/stsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/sts/stsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Security Token Service. -// func myFunc(svc stsiface.STSAPI) bool { -// // Make svc.AssumeRole request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Security Token Service. +// func myFunc(svc stsiface.STSAPI) bool { +// // Make svc.AssumeRole request +// } // -// func main() { -// sess := session.New() -// svc := sts.New(sess) +// func main() { +// sess := session.New() +// svc := sts.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSTSClient struct { -// stsiface.STSAPI -// } -// func (m *mockSTSClient) AssumeRole(input *sts.AssumeRoleInput) (*sts.AssumeRoleOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSTSClient struct { +// stsiface.STSAPI +// } +// func (m *mockSTSClient) AssumeRole(input *sts.AssumeRoleInput) (*sts.AssumeRoleOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSTSClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSTSClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/api.go index 89c092233309..86d8d7195747 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/api.go @@ -27,14 +27,13 @@ const opAddAttachmentsToSet = "AddAttachmentsToSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddAttachmentsToSetRequest method. +// req, resp := client.AddAttachmentsToSetRequest(params) // -// // Example sending a request using the AddAttachmentsToSetRequest method. -// req, resp := client.AddAttachmentsToSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/AddAttachmentsToSet func (c *Support) AddAttachmentsToSetRequest(input *AddAttachmentsToSetInput) (req *request.Request, output *AddAttachmentsToSetOutput) { @@ -61,13 +60,13 @@ func (c *Support) AddAttachmentsToSetRequest(input *AddAttachmentsToSetInput) (r // a case or case communication. The set is available for 1 hour after it's // created. The expiryTime returned in the response is when the set expires. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan to use the Amazon Web Services Support API. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan to use the Amazon Web Services Support API. // -// * If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, -// the SubscriptionRequiredException error message appears. For information -// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). +// - If you call the Amazon Web Services Support API from an account that +// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// the SubscriptionRequiredException error message appears. For information +// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -77,23 +76,24 @@ func (c *Support) AddAttachmentsToSetRequest(input *AddAttachmentsToSetInput) (r // API operation AddAttachmentsToSet for usage and error information. // // Returned Error Types: -// * InternalServerError -// An internal server error occurred. // -// * AttachmentSetIdNotFound -// An attachment set with the specified ID could not be found. +// - InternalServerError +// An internal server error occurred. +// +// - AttachmentSetIdNotFound +// An attachment set with the specified ID could not be found. // -// * AttachmentSetExpired -// The expiration time of the attachment set has passed. The set expires 1 hour -// after it is created. +// - AttachmentSetExpired +// The expiration time of the attachment set has passed. The set expires 1 hour +// after it is created. // -// * AttachmentSetSizeLimitExceeded -// A limit for the size of an attachment set has been exceeded. The limits are -// three attachments and 5 MB per attachment. +// - AttachmentSetSizeLimitExceeded +// A limit for the size of an attachment set has been exceeded. The limits are +// three attachments and 5 MB per attachment. // -// * AttachmentLimitExceeded -// The limit for the number of attachment sets created in a short period of -// time has been exceeded. +// - AttachmentLimitExceeded +// The limit for the number of attachment sets created in a short period of +// time has been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/AddAttachmentsToSet func (c *Support) AddAttachmentsToSet(input *AddAttachmentsToSetInput) (*AddAttachmentsToSetOutput, error) { @@ -133,14 +133,13 @@ const opAddCommunicationToCase = "AddCommunicationToCase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddCommunicationToCaseRequest method. +// req, resp := client.AddCommunicationToCaseRequest(params) // -// // Example sending a request using the AddCommunicationToCaseRequest method. -// req, resp := client.AddCommunicationToCaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/AddCommunicationToCase func (c *Support) AddCommunicationToCaseRequest(input *AddCommunicationToCaseInput) (req *request.Request, output *AddCommunicationToCaseOutput) { @@ -167,13 +166,13 @@ func (c *Support) AddCommunicationToCaseRequest(input *AddCommunicationToCaseInp // the ccEmailAddresses parameter. The communicationBody value contains the // text of the communication. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan to use the Amazon Web Services Support API. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan to use the Amazon Web Services Support API. // -// * If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, -// the SubscriptionRequiredException error message appears. For information -// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). +// - If you call the Amazon Web Services Support API from an account that +// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// the SubscriptionRequiredException error message appears. For information +// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -183,18 +182,19 @@ func (c *Support) AddCommunicationToCaseRequest(input *AddCommunicationToCaseInp // API operation AddCommunicationToCase for usage and error information. // // Returned Error Types: -// * InternalServerError -// An internal server error occurred. // -// * CaseIdNotFound -// The requested caseId couldn't be located. +// - InternalServerError +// An internal server error occurred. // -// * AttachmentSetIdNotFound -// An attachment set with the specified ID could not be found. +// - CaseIdNotFound +// The requested caseId couldn't be located. // -// * AttachmentSetExpired -// The expiration time of the attachment set has passed. The set expires 1 hour -// after it is created. +// - AttachmentSetIdNotFound +// An attachment set with the specified ID could not be found. +// +// - AttachmentSetExpired +// The expiration time of the attachment set has passed. The set expires 1 hour +// after it is created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/AddCommunicationToCase func (c *Support) AddCommunicationToCase(input *AddCommunicationToCaseInput) (*AddCommunicationToCaseOutput, error) { @@ -234,14 +234,13 @@ const opCreateCase = "CreateCase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCaseRequest method. +// req, resp := client.CreateCaseRequest(params) // -// // Example sending a request using the CreateCaseRequest method. -// req, resp := client.CreateCaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/CreateCase func (c *Support) CreateCaseRequest(input *CreateCaseInput) (req *request.Request, output *CreateCaseOutput) { @@ -269,11 +268,11 @@ func (c *Support) CreateCaseRequest(input *CreateCaseInput) (req *request.Reques // The Amazon Web Services Support API doesn't support requesting service limit // increases. You can submit a service limit increase in the following ways: // -// * Submit a request from the Amazon Web Services Support Center Create -// Case (https://console.aws.amazon.com/support/home#/case/create) page. +// - Submit a request from the Amazon Web Services Support Center Create +// Case (https://console.aws.amazon.com/support/home#/case/create) page. // -// * Use the Service Quotas RequestServiceQuotaIncrease (https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_RequestServiceQuotaIncrease.html) -// operation. +// - Use the Service Quotas RequestServiceQuotaIncrease (https://docs.aws.amazon.com/servicequotas/2019-06-24/apireference/API_RequestServiceQuotaIncrease.html) +// operation. // // A successful CreateCase request returns an Amazon Web Services Support case // number. You can use the DescribeCases operation and specify the case number @@ -285,13 +284,13 @@ func (c *Support) CreateCaseRequest(input *CreateCaseInput) (req *request.Reques // Services Support Center (https://console.aws.amazon.com/support). Use the // DescribeCases operation to get the displayId. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan to use the Amazon Web Services Support API. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan to use the Amazon Web Services Support API. // -// * If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, -// the SubscriptionRequiredException error message appears. For information -// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). +// - If you call the Amazon Web Services Support API from an account that +// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// the SubscriptionRequiredException error message appears. For information +// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -301,18 +300,19 @@ func (c *Support) CreateCaseRequest(input *CreateCaseInput) (req *request.Reques // API operation CreateCase for usage and error information. // // Returned Error Types: -// * InternalServerError -// An internal server error occurred. // -// * CaseCreationLimitExceeded -// The case creation limit for the account has been exceeded. +// - InternalServerError +// An internal server error occurred. +// +// - CaseCreationLimitExceeded +// The case creation limit for the account has been exceeded. // -// * AttachmentSetIdNotFound -// An attachment set with the specified ID could not be found. +// - AttachmentSetIdNotFound +// An attachment set with the specified ID could not be found. // -// * AttachmentSetExpired -// The expiration time of the attachment set has passed. The set expires 1 hour -// after it is created. +// - AttachmentSetExpired +// The expiration time of the attachment set has passed. The set expires 1 hour +// after it is created. // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/CreateCase func (c *Support) CreateCase(input *CreateCaseInput) (*CreateCaseOutput, error) { @@ -352,14 +352,13 @@ const opDescribeAttachment = "DescribeAttachment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAttachmentRequest method. +// req, resp := client.DescribeAttachmentRequest(params) // -// // Example sending a request using the DescribeAttachmentRequest method. -// req, resp := client.DescribeAttachmentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeAttachment func (c *Support) DescribeAttachmentRequest(input *DescribeAttachmentInput) (req *request.Request, output *DescribeAttachmentOutput) { @@ -386,13 +385,13 @@ func (c *Support) DescribeAttachmentRequest(input *DescribeAttachmentInput) (req // to a case or case communication. Attachment IDs are returned in the AttachmentDetails // objects that are returned by the DescribeCommunications operation. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan to use the Amazon Web Services Support API. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan to use the Amazon Web Services Support API. // -// * If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, -// the SubscriptionRequiredException error message appears. For information -// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). +// - If you call the Amazon Web Services Support API from an account that +// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// the SubscriptionRequiredException error message appears. For information +// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -402,15 +401,16 @@ func (c *Support) DescribeAttachmentRequest(input *DescribeAttachmentInput) (req // API operation DescribeAttachment for usage and error information. // // Returned Error Types: -// * InternalServerError -// An internal server error occurred. // -// * DescribeAttachmentLimitExceeded -// The limit for the number of DescribeAttachment requests in a short period -// of time has been exceeded. +// - InternalServerError +// An internal server error occurred. +// +// - DescribeAttachmentLimitExceeded +// The limit for the number of DescribeAttachment requests in a short period +// of time has been exceeded. // -// * AttachmentIdNotFound -// An attachment with the specified ID could not be found. +// - AttachmentIdNotFound +// An attachment with the specified ID could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeAttachment func (c *Support) DescribeAttachment(input *DescribeAttachmentInput) (*DescribeAttachmentOutput, error) { @@ -450,14 +450,13 @@ const opDescribeCases = "DescribeCases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCasesRequest method. +// req, resp := client.DescribeCasesRequest(params) // -// // Example sending a request using the DescribeCasesRequest method. -// req, resp := client.DescribeCasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCases func (c *Support) DescribeCasesRequest(input *DescribeCasesInput) (req *request.Request, output *DescribeCasesOutput) { @@ -491,22 +490,22 @@ func (c *Support) DescribeCasesRequest(input *DescribeCasesInput) (req *request. // // The response returns the following in JSON format: // -// * One or more CaseDetails (https://docs.aws.amazon.com/awssupport/latest/APIReference/API_CaseDetails.html) -// data types. +// - One or more CaseDetails (https://docs.aws.amazon.com/awssupport/latest/APIReference/API_CaseDetails.html) +// data types. // -// * One or more nextToken values, which specify where to paginate the returned -// records represented by the CaseDetails objects. +// - One or more nextToken values, which specify where to paginate the returned +// records represented by the CaseDetails objects. // // Case data is available for 12 months after creation. If a case was created // more than 12 months ago, a request might return an error. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan to use the Amazon Web Services Support API. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan to use the Amazon Web Services Support API. // -// * If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, -// the SubscriptionRequiredException error message appears. For information -// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). +// - If you call the Amazon Web Services Support API from an account that +// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// the SubscriptionRequiredException error message appears. For information +// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -516,11 +515,12 @@ func (c *Support) DescribeCasesRequest(input *DescribeCasesInput) (req *request. // API operation DescribeCases for usage and error information. // // Returned Error Types: -// * InternalServerError -// An internal server error occurred. // -// * CaseIdNotFound -// The requested caseId couldn't be located. +// - InternalServerError +// An internal server error occurred. +// +// - CaseIdNotFound +// The requested caseId couldn't be located. // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCases func (c *Support) DescribeCases(input *DescribeCasesInput) (*DescribeCasesOutput, error) { @@ -552,15 +552,14 @@ func (c *Support) DescribeCasesWithContext(ctx aws.Context, input *DescribeCases // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCases operation. -// pageNum := 0 -// err := client.DescribeCasesPages(params, -// func(page *support.DescribeCasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCases operation. +// pageNum := 0 +// err := client.DescribeCasesPages(params, +// func(page *support.DescribeCasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Support) DescribeCasesPages(input *DescribeCasesInput, fn func(*DescribeCasesOutput, bool) bool) error { return c.DescribeCasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -612,14 +611,13 @@ const opDescribeCommunications = "DescribeCommunications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCommunicationsRequest method. +// req, resp := client.DescribeCommunicationsRequest(params) // -// // Example sending a request using the DescribeCommunicationsRequest method. -// req, resp := client.DescribeCommunicationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCommunications func (c *Support) DescribeCommunicationsRequest(input *DescribeCommunicationsInput) (req *request.Request, output *DescribeCommunicationsOutput) { @@ -657,13 +655,13 @@ func (c *Support) DescribeCommunicationsRequest(input *DescribeCommunicationsInp // of the results. Set maxResults to the number of cases that you want to display // on each page, and use nextToken to specify the resumption of pagination. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan to use the Amazon Web Services Support API. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan to use the Amazon Web Services Support API. // -// * If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, -// the SubscriptionRequiredException error message appears. For information -// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). +// - If you call the Amazon Web Services Support API from an account that +// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// the SubscriptionRequiredException error message appears. For information +// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -673,11 +671,12 @@ func (c *Support) DescribeCommunicationsRequest(input *DescribeCommunicationsInp // API operation DescribeCommunications for usage and error information. // // Returned Error Types: -// * InternalServerError -// An internal server error occurred. // -// * CaseIdNotFound -// The requested caseId couldn't be located. +// - InternalServerError +// An internal server error occurred. +// +// - CaseIdNotFound +// The requested caseId couldn't be located. // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCommunications func (c *Support) DescribeCommunications(input *DescribeCommunicationsInput) (*DescribeCommunicationsOutput, error) { @@ -709,15 +708,14 @@ func (c *Support) DescribeCommunicationsWithContext(ctx aws.Context, input *Desc // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCommunications operation. -// pageNum := 0 -// err := client.DescribeCommunicationsPages(params, -// func(page *support.DescribeCommunicationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCommunications operation. +// pageNum := 0 +// err := client.DescribeCommunicationsPages(params, +// func(page *support.DescribeCommunicationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Support) DescribeCommunicationsPages(input *DescribeCommunicationsInput, fn func(*DescribeCommunicationsOutput, bool) bool) error { return c.DescribeCommunicationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -769,14 +767,13 @@ const opDescribeServices = "DescribeServices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeServicesRequest method. +// req, resp := client.DescribeServicesRequest(params) // -// // Example sending a request using the DescribeServicesRequest method. -// req, resp := client.DescribeServicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeServices func (c *Support) DescribeServicesRequest(input *DescribeServicesInput) (req *request.Request, output *DescribeServicesOutput) { @@ -810,13 +807,13 @@ func (c *Support) DescribeServicesRequest(input *DescribeServicesInput) (req *re // codes and categories that the DescribeServices operation returns, so that // you have the most recent set of service and category codes. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan to use the Amazon Web Services Support API. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan to use the Amazon Web Services Support API. // -// * If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, -// the SubscriptionRequiredException error message appears. For information -// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). +// - If you call the Amazon Web Services Support API from an account that +// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// the SubscriptionRequiredException error message appears. For information +// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -826,8 +823,8 @@ func (c *Support) DescribeServicesRequest(input *DescribeServicesInput) (req *re // API operation DescribeServices for usage and error information. // // Returned Error Types: -// * InternalServerError -// An internal server error occurred. +// - InternalServerError +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeServices func (c *Support) DescribeServices(input *DescribeServicesInput) (*DescribeServicesOutput, error) { @@ -867,14 +864,13 @@ const opDescribeSeverityLevels = "DescribeSeverityLevels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSeverityLevelsRequest method. +// req, resp := client.DescribeSeverityLevelsRequest(params) // -// // Example sending a request using the DescribeSeverityLevelsRequest method. -// req, resp := client.DescribeSeverityLevelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeSeverityLevels func (c *Support) DescribeSeverityLevelsRequest(input *DescribeSeverityLevelsInput) (req *request.Request, output *DescribeSeverityLevelsOutput) { @@ -899,13 +895,13 @@ func (c *Support) DescribeSeverityLevelsRequest(input *DescribeSeverityLevelsInp // The severity level for a case is also a field in the CaseDetails data type // that you include for a CreateCase request. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan to use the Amazon Web Services Support API. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan to use the Amazon Web Services Support API. // -// * If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, -// the SubscriptionRequiredException error message appears. For information -// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). +// - If you call the Amazon Web Services Support API from an account that +// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// the SubscriptionRequiredException error message appears. For information +// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -915,8 +911,8 @@ func (c *Support) DescribeSeverityLevelsRequest(input *DescribeSeverityLevelsInp // API operation DescribeSeverityLevels for usage and error information. // // Returned Error Types: -// * InternalServerError -// An internal server error occurred. +// - InternalServerError +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeSeverityLevels func (c *Support) DescribeSeverityLevels(input *DescribeSeverityLevelsInput) (*DescribeSeverityLevelsOutput, error) { @@ -956,14 +952,13 @@ const opDescribeTrustedAdvisorCheckRefreshStatuses = "DescribeTrustedAdvisorChec // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTrustedAdvisorCheckRefreshStatusesRequest method. +// req, resp := client.DescribeTrustedAdvisorCheckRefreshStatusesRequest(params) // -// // Example sending a request using the DescribeTrustedAdvisorCheckRefreshStatusesRequest method. -// req, resp := client.DescribeTrustedAdvisorCheckRefreshStatusesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckRefreshStatuses func (c *Support) DescribeTrustedAdvisorCheckRefreshStatusesRequest(input *DescribeTrustedAdvisorCheckRefreshStatusesInput) (req *request.Request, output *DescribeTrustedAdvisorCheckRefreshStatusesOutput) { @@ -993,13 +988,13 @@ func (c *Support) DescribeTrustedAdvisorCheckRefreshStatusesRequest(input *Descr // If you call this operation for these checks, you might see an InvalidParameterValue // error. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan to use the Amazon Web Services Support API. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan to use the Amazon Web Services Support API. // -// * If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, -// the SubscriptionRequiredException error message appears. For information -// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). +// - If you call the Amazon Web Services Support API from an account that +// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// the SubscriptionRequiredException error message appears. For information +// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1009,8 +1004,8 @@ func (c *Support) DescribeTrustedAdvisorCheckRefreshStatusesRequest(input *Descr // API operation DescribeTrustedAdvisorCheckRefreshStatuses for usage and error information. // // Returned Error Types: -// * InternalServerError -// An internal server error occurred. +// - InternalServerError +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckRefreshStatuses func (c *Support) DescribeTrustedAdvisorCheckRefreshStatuses(input *DescribeTrustedAdvisorCheckRefreshStatusesInput) (*DescribeTrustedAdvisorCheckRefreshStatusesOutput, error) { @@ -1050,14 +1045,13 @@ const opDescribeTrustedAdvisorCheckResult = "DescribeTrustedAdvisorCheckResult" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTrustedAdvisorCheckResultRequest method. +// req, resp := client.DescribeTrustedAdvisorCheckResultRequest(params) // -// // Example sending a request using the DescribeTrustedAdvisorCheckResultRequest method. -// req, resp := client.DescribeTrustedAdvisorCheckResultRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckResult func (c *Support) DescribeTrustedAdvisorCheckResultRequest(input *DescribeTrustedAdvisorCheckResultInput) (req *request.Request, output *DescribeTrustedAdvisorCheckResultOutput) { @@ -1085,28 +1079,28 @@ func (c *Support) DescribeTrustedAdvisorCheckResultRequest(input *DescribeTruste // The response contains a TrustedAdvisorCheckResult object, which contains // these three objects: // -// * TrustedAdvisorCategorySpecificSummary +// - TrustedAdvisorCategorySpecificSummary // -// * TrustedAdvisorResourceDetail +// - TrustedAdvisorResourceDetail // -// * TrustedAdvisorResourcesSummary +// - TrustedAdvisorResourcesSummary // // In addition, the response contains these fields: // -// * status - The alert status of the check can be ok (green), warning (yellow), -// error (red), or not_available. +// - status - The alert status of the check can be ok (green), warning (yellow), +// error (red), or not_available. // -// * timestamp - The time of the last refresh of the check. +// - timestamp - The time of the last refresh of the check. // -// * checkId - The unique identifier for the check. +// - checkId - The unique identifier for the check. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan to use the Amazon Web Services Support API. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan to use the Amazon Web Services Support API. // -// * If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, -// the SubscriptionRequiredException error message appears. For information -// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). +// - If you call the Amazon Web Services Support API from an account that +// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// the SubscriptionRequiredException error message appears. For information +// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1116,8 +1110,8 @@ func (c *Support) DescribeTrustedAdvisorCheckResultRequest(input *DescribeTruste // API operation DescribeTrustedAdvisorCheckResult for usage and error information. // // Returned Error Types: -// * InternalServerError -// An internal server error occurred. +// - InternalServerError +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckResult func (c *Support) DescribeTrustedAdvisorCheckResult(input *DescribeTrustedAdvisorCheckResultInput) (*DescribeTrustedAdvisorCheckResultOutput, error) { @@ -1157,14 +1151,13 @@ const opDescribeTrustedAdvisorCheckSummaries = "DescribeTrustedAdvisorCheckSumma // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTrustedAdvisorCheckSummariesRequest method. +// req, resp := client.DescribeTrustedAdvisorCheckSummariesRequest(params) // -// // Example sending a request using the DescribeTrustedAdvisorCheckSummariesRequest method. -// req, resp := client.DescribeTrustedAdvisorCheckSummariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckSummaries func (c *Support) DescribeTrustedAdvisorCheckSummariesRequest(input *DescribeTrustedAdvisorCheckSummariesInput) (req *request.Request, output *DescribeTrustedAdvisorCheckSummariesOutput) { @@ -1191,13 +1184,13 @@ func (c *Support) DescribeTrustedAdvisorCheckSummariesRequest(input *DescribeTru // // The response contains an array of TrustedAdvisorCheckSummary objects. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan to use the Amazon Web Services Support API. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan to use the Amazon Web Services Support API. // -// * If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, -// the SubscriptionRequiredException error message appears. For information -// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). +// - If you call the Amazon Web Services Support API from an account that +// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// the SubscriptionRequiredException error message appears. For information +// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1207,8 +1200,8 @@ func (c *Support) DescribeTrustedAdvisorCheckSummariesRequest(input *DescribeTru // API operation DescribeTrustedAdvisorCheckSummaries for usage and error information. // // Returned Error Types: -// * InternalServerError -// An internal server error occurred. +// - InternalServerError +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorCheckSummaries func (c *Support) DescribeTrustedAdvisorCheckSummaries(input *DescribeTrustedAdvisorCheckSummariesInput) (*DescribeTrustedAdvisorCheckSummariesOutput, error) { @@ -1248,14 +1241,13 @@ const opDescribeTrustedAdvisorChecks = "DescribeTrustedAdvisorChecks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTrustedAdvisorChecksRequest method. +// req, resp := client.DescribeTrustedAdvisorChecksRequest(params) // -// // Example sending a request using the DescribeTrustedAdvisorChecksRequest method. -// req, resp := client.DescribeTrustedAdvisorChecksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorChecks func (c *Support) DescribeTrustedAdvisorChecksRequest(input *DescribeTrustedAdvisorChecksInput) (req *request.Request, output *DescribeTrustedAdvisorChecksOutput) { @@ -1282,17 +1274,17 @@ func (c *Support) DescribeTrustedAdvisorChecksRequest(input *DescribeTrustedAdvi // and Japanese ("ja"). The response contains a TrustedAdvisorCheckDescription // object for each check. You must set the Amazon Web Services Region to us-east-1. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan to use the Amazon Web Services Support API. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan to use the Amazon Web Services Support API. // -// * If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, -// the SubscriptionRequiredException error message appears. For information -// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). +// - If you call the Amazon Web Services Support API from an account that +// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// the SubscriptionRequiredException error message appears. For information +// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // -// * The names and descriptions for Trusted Advisor checks are subject to -// change. We recommend that you specify the check ID in your code to uniquely -// identify a check. +// - The names and descriptions for Trusted Advisor checks are subject to +// change. We recommend that you specify the check ID in your code to uniquely +// identify a check. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1302,8 +1294,8 @@ func (c *Support) DescribeTrustedAdvisorChecksRequest(input *DescribeTrustedAdvi // API operation DescribeTrustedAdvisorChecks for usage and error information. // // Returned Error Types: -// * InternalServerError -// An internal server error occurred. +// - InternalServerError +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeTrustedAdvisorChecks func (c *Support) DescribeTrustedAdvisorChecks(input *DescribeTrustedAdvisorChecksInput) (*DescribeTrustedAdvisorChecksOutput, error) { @@ -1343,14 +1335,13 @@ const opRefreshTrustedAdvisorCheck = "RefreshTrustedAdvisorCheck" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RefreshTrustedAdvisorCheckRequest method. +// req, resp := client.RefreshTrustedAdvisorCheckRequest(params) // -// // Example sending a request using the RefreshTrustedAdvisorCheckRequest method. -// req, resp := client.RefreshTrustedAdvisorCheckRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/RefreshTrustedAdvisorCheck func (c *Support) RefreshTrustedAdvisorCheckRequest(input *RefreshTrustedAdvisorCheckInput) (req *request.Request, output *RefreshTrustedAdvisorCheckOutput) { @@ -1379,13 +1370,13 @@ func (c *Support) RefreshTrustedAdvisorCheckRequest(input *RefreshTrustedAdvisor // // The response contains a TrustedAdvisorCheckRefreshStatus object. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan to use the Amazon Web Services Support API. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan to use the Amazon Web Services Support API. // -// * If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, -// the SubscriptionRequiredException error message appears. For information -// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). +// - If you call the Amazon Web Services Support API from an account that +// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// the SubscriptionRequiredException error message appears. For information +// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1395,8 +1386,8 @@ func (c *Support) RefreshTrustedAdvisorCheckRequest(input *RefreshTrustedAdvisor // API operation RefreshTrustedAdvisorCheck for usage and error information. // // Returned Error Types: -// * InternalServerError -// An internal server error occurred. +// - InternalServerError +// An internal server error occurred. // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/RefreshTrustedAdvisorCheck func (c *Support) RefreshTrustedAdvisorCheck(input *RefreshTrustedAdvisorCheckInput) (*RefreshTrustedAdvisorCheckOutput, error) { @@ -1436,14 +1427,13 @@ const opResolveCase = "ResolveCase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResolveCaseRequest method. +// req, resp := client.ResolveCaseRequest(params) // -// // Example sending a request using the ResolveCaseRequest method. -// req, resp := client.ResolveCaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/ResolveCase func (c *Support) ResolveCaseRequest(input *ResolveCaseInput) (req *request.Request, output *ResolveCaseOutput) { @@ -1467,13 +1457,13 @@ func (c *Support) ResolveCaseRequest(input *ResolveCaseInput) (req *request.Requ // Resolves a support case. This operation takes a caseId and returns the initial // and final state of the case. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan to use the Amazon Web Services Support API. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan to use the Amazon Web Services Support API. // -// * If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, -// the SubscriptionRequiredException error message appears. For information -// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). +// - If you call the Amazon Web Services Support API from an account that +// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// the SubscriptionRequiredException error message appears. For information +// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1483,11 +1473,12 @@ func (c *Support) ResolveCaseRequest(input *ResolveCaseInput) (req *request.Requ // API operation ResolveCase for usage and error information. // // Returned Error Types: -// * InternalServerError -// An internal server error occurred. // -// * CaseIdNotFound -// The requested caseId couldn't be located. +// - InternalServerError +// An internal server error occurred. +// +// - CaseIdNotFound +// The requested caseId couldn't be located. // // See also, https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/ResolveCase func (c *Support) ResolveCase(input *ResolveCaseInput) (*ResolveCaseOutput, error) { @@ -2217,42 +2208,42 @@ func (s *CaseCreationLimitExceeded) RequestID() string { // is contained in the response from a DescribeCases request. CaseDetails contains // the following fields: // -// * caseId - The support case ID requested or returned in the call. The -// case ID is an alphanumeric string formatted as shown in this example: -// case-12345678910-2013-c4c1d2bf33c5cf47. +// - caseId - The support case ID requested or returned in the call. The +// case ID is an alphanumeric string formatted as shown in this example: +// case-12345678910-2013-c4c1d2bf33c5cf47. // -// * categoryCode - The category of problem for the support case. Corresponds -// to the CategoryCode values returned by a call to DescribeServices. +// - categoryCode - The category of problem for the support case. Corresponds +// to the CategoryCode values returned by a call to DescribeServices. // -// * displayId - The identifier for the case on pages in the Amazon Web Services -// Support Center. +// - displayId - The identifier for the case on pages in the Amazon Web Services +// Support Center. // -// * language - The ISO 639-1 code for the language in which Amazon Web Services -// provides support. Amazon Web Services Support currently supports English -// ("en") and Japanese ("ja"). Language parameters must be passed explicitly -// for operations that take them. +// - language - The ISO 639-1 code for the language in which Amazon Web Services +// provides support. Amazon Web Services Support currently supports English +// ("en") and Japanese ("ja"). Language parameters must be passed explicitly +// for operations that take them. // -// * nextToken - A resumption point for pagination. +// - nextToken - A resumption point for pagination. // -// * recentCommunications - One or more Communication objects. Fields of -// these objects are attachments, body, caseId, submittedBy, and timeCreated. +// - recentCommunications - One or more Communication objects. Fields of +// these objects are attachments, body, caseId, submittedBy, and timeCreated. // -// * serviceCode - The identifier for the Amazon Web Services service that -// corresponds to the service code defined in the call to DescribeServices. +// - serviceCode - The identifier for the Amazon Web Services service that +// corresponds to the service code defined in the call to DescribeServices. // -// * severityCode - The severity code assigned to the case. Contains one -// of the values returned by the call to DescribeSeverityLevels. The possible -// values are: low, normal, high, urgent, and critical. +// - severityCode - The severity code assigned to the case. Contains one +// of the values returned by the call to DescribeSeverityLevels. The possible +// values are: low, normal, high, urgent, and critical. // -// * status - The status of the case in the Amazon Web Services Support Center. -// Valid values: opened pending-customer-action reopened resolved unassigned -// work-in-progress +// - status - The status of the case in the Amazon Web Services Support Center. +// Valid values: opened pending-customer-action reopened resolved unassigned +// work-in-progress // -// * subject - The subject line of the case. +// - subject - The subject line of the case. // -// * submittedBy - The email address of the account that submitted the case. +// - submittedBy - The email address of the account that submitted the case. // -// * timeCreated - The time the case was created, in ISO-8601 format. +// - timeCreated - The time the case was created, in ISO-8601 format. type CaseDetails struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/doc.go index 0013b232c9d6..f76540396733 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/doc.go @@ -9,13 +9,13 @@ // The Amazon Web Services Support API uses HTTP methods that return results // in JSON format. // -// * You must have a Business, Enterprise On-Ramp, or Enterprise Support -// plan to use the Amazon Web Services Support API. +// - You must have a Business, Enterprise On-Ramp, or Enterprise Support +// plan to use the Amazon Web Services Support API. // -// * If you call the Amazon Web Services Support API from an account that -// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, -// the SubscriptionRequiredException error message appears. For information -// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). +// - If you call the Amazon Web Services Support API from an account that +// does not have a Business, Enterprise On-Ramp, or Enterprise Support plan, +// the SubscriptionRequiredException error message appears. For information +// about changing your support plan, see Amazon Web Services Support (http://aws.amazon.com/premiumsupport/). // // The Amazon Web Services Support service also exposes a set of Trusted Advisor // (http://aws.amazon.com/premiumsupport/trustedadvisor/) features. You can @@ -25,37 +25,37 @@ // The following list describes the Amazon Web Services Support case management // operations: // -// * Service names, issue categories, and available severity levels - The -// DescribeServices and DescribeSeverityLevels operations return Amazon Web -// Services service names, service codes, service categories, and problem -// severity levels. You use these values when you call the CreateCase operation. +// - Service names, issue categories, and available severity levels - The +// DescribeServices and DescribeSeverityLevels operations return Amazon Web +// Services service names, service codes, service categories, and problem +// severity levels. You use these values when you call the CreateCase operation. // -// * Case creation, case details, and case resolution - The CreateCase, DescribeCases, -// DescribeAttachment, and ResolveCase operations create Amazon Web Services -// Support cases, retrieve information about cases, and resolve cases. +// - Case creation, case details, and case resolution - The CreateCase, DescribeCases, +// DescribeAttachment, and ResolveCase operations create Amazon Web Services +// Support cases, retrieve information about cases, and resolve cases. // -// * Case communication - The DescribeCommunications, AddCommunicationToCase, -// and AddAttachmentsToSet operations retrieve and add communications and -// attachments to Amazon Web Services Support cases. +// - Case communication - The DescribeCommunications, AddCommunicationToCase, +// and AddAttachmentsToSet operations retrieve and add communications and +// attachments to Amazon Web Services Support cases. // // The following list describes the operations available from the Amazon Web // Services Support service for Trusted Advisor: // -// * DescribeTrustedAdvisorChecks returns the list of checks that run against -// your Amazon Web Services resources. +// - DescribeTrustedAdvisorChecks returns the list of checks that run against +// your Amazon Web Services resources. // -// * Using the checkId for a specific check returned by DescribeTrustedAdvisorChecks, -// you can call DescribeTrustedAdvisorCheckResult to obtain the results for -// the check that you specified. +// - Using the checkId for a specific check returned by DescribeTrustedAdvisorChecks, +// you can call DescribeTrustedAdvisorCheckResult to obtain the results for +// the check that you specified. // -// * DescribeTrustedAdvisorCheckSummaries returns summarized results for -// one or more Trusted Advisor checks. +// - DescribeTrustedAdvisorCheckSummaries returns summarized results for +// one or more Trusted Advisor checks. // -// * RefreshTrustedAdvisorCheck requests that Trusted Advisor rerun a specified -// check. +// - RefreshTrustedAdvisorCheck requests that Trusted Advisor rerun a specified +// check. // -// * DescribeTrustedAdvisorCheckRefreshStatuses reports the refresh status -// of one or more checks. +// - DescribeTrustedAdvisorCheckRefreshStatuses reports the refresh status +// of one or more checks. // // For authentication of requests, Amazon Web Services Support uses Signature // Version 4 Signing Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). @@ -70,7 +70,7 @@ // See support package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/support/ // -// Using the Client +// # Using the Client // // To contact AWS Support with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/service.go index 8f8678560c6f..2ed8049e74aa 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Support client from just a session. -// svc := support.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Support client with additional configuration -// svc := support.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Support client from just a session. +// svc := support.New(mySession) +// +// // Create a Support client with additional configuration +// svc := support.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Support { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/supportiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/supportiface/interface.go index 25d7ec92e160..1042ca2beabb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/supportiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/support/supportiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Support. -// func myFunc(svc supportiface.SupportAPI) bool { -// // Make svc.AddAttachmentsToSet request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Support. +// func myFunc(svc supportiface.SupportAPI) bool { +// // Make svc.AddAttachmentsToSet request +// } // -// func main() { -// sess := session.New() -// svc := support.New(sess) +// func main() { +// sess := session.New() +// svc := support.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSupportClient struct { -// supportiface.SupportAPI -// } -// func (m *mockSupportClient) AddAttachmentsToSet(input *support.AddAttachmentsToSetInput) (*support.AddAttachmentsToSetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSupportClient struct { +// supportiface.SupportAPI +// } +// func (m *mockSupportClient) AddAttachmentsToSet(input *support.AddAttachmentsToSetInput) (*support.AddAttachmentsToSetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSupportClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSupportClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/api.go index d708eb4a8dba..0002a7665892 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/api.go @@ -29,14 +29,13 @@ const opCountClosedWorkflowExecutions = "CountClosedWorkflowExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CountClosedWorkflowExecutionsRequest method. +// req, resp := client.CountClosedWorkflowExecutionsRequest(params) // -// // Example sending a request using the CountClosedWorkflowExecutionsRequest method. -// req, resp := client.CountClosedWorkflowExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) CountClosedWorkflowExecutionsRequest(input *CountClosedWorkflowExecutionsInput) (req *request.Request, output *WorkflowExecutionCount) { op := &request.Operation{ Name: opCountClosedWorkflowExecutions, @@ -61,20 +60,20 @@ func (c *SWF) CountClosedWorkflowExecutionsRequest(input *CountClosedWorkflowExe // This operation is eventually consistent. The results are best effort and // may not exactly reflect recent updates and changes. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. -// typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: -// String constraint. The key is swf:typeFilter.version. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. +// typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: +// String constraint. The key is swf:typeFilter.version. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -91,15 +90,15 @@ func (c *SWF) CountClosedWorkflowExecutionsRequest(input *CountClosedWorkflowExe // API operation CountClosedWorkflowExecutions for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) CountClosedWorkflowExecutions(input *CountClosedWorkflowExecutionsInput) (*WorkflowExecutionCount, error) { req, out := c.CountClosedWorkflowExecutionsRequest(input) return out, req.Send() @@ -137,14 +136,13 @@ const opCountOpenWorkflowExecutions = "CountOpenWorkflowExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CountOpenWorkflowExecutionsRequest method. +// req, resp := client.CountOpenWorkflowExecutionsRequest(params) // -// // Example sending a request using the CountOpenWorkflowExecutionsRequest method. -// req, resp := client.CountOpenWorkflowExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) CountOpenWorkflowExecutionsRequest(input *CountOpenWorkflowExecutionsInput) (req *request.Request, output *WorkflowExecutionCount) { op := &request.Operation{ Name: opCountOpenWorkflowExecutions, @@ -169,20 +167,20 @@ func (c *SWF) CountOpenWorkflowExecutionsRequest(input *CountOpenWorkflowExecuti // This operation is eventually consistent. The results are best effort and // may not exactly reflect recent updates and changes. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. -// typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: -// String constraint. The key is swf:typeFilter.version. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. +// typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: +// String constraint. The key is swf:typeFilter.version. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -199,15 +197,15 @@ func (c *SWF) CountOpenWorkflowExecutionsRequest(input *CountOpenWorkflowExecuti // API operation CountOpenWorkflowExecutions for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) CountOpenWorkflowExecutions(input *CountOpenWorkflowExecutionsInput) (*WorkflowExecutionCount, error) { req, out := c.CountOpenWorkflowExecutionsRequest(input) return out, req.Send() @@ -245,14 +243,13 @@ const opCountPendingActivityTasks = "CountPendingActivityTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CountPendingActivityTasksRequest method. +// req, resp := client.CountPendingActivityTasksRequest(params) // -// // Example sending a request using the CountPendingActivityTasksRequest method. -// req, resp := client.CountPendingActivityTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) CountPendingActivityTasksRequest(input *CountPendingActivityTasksInput) (req *request.Request, output *PendingTaskCount) { op := &request.Operation{ Name: opCountPendingActivityTasks, @@ -276,19 +273,19 @@ func (c *SWF) CountPendingActivityTasksRequest(input *CountPendingActivityTasksI // If you specify a task list that no activity task was ever scheduled in then // 0 is returned. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the taskList.name parameter by using a Condition element with -// the swf:taskList.name key to allow the action to access only certain task -// lists. +// - Constrain the taskList.name parameter by using a Condition element with +// the swf:taskList.name key to allow the action to access only certain task +// lists. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -305,15 +302,15 @@ func (c *SWF) CountPendingActivityTasksRequest(input *CountPendingActivityTasksI // API operation CountPendingActivityTasks for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) CountPendingActivityTasks(input *CountPendingActivityTasksInput) (*PendingTaskCount, error) { req, out := c.CountPendingActivityTasksRequest(input) return out, req.Send() @@ -351,14 +348,13 @@ const opCountPendingDecisionTasks = "CountPendingDecisionTasks" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CountPendingDecisionTasksRequest method. +// req, resp := client.CountPendingDecisionTasksRequest(params) // -// // Example sending a request using the CountPendingDecisionTasksRequest method. -// req, resp := client.CountPendingDecisionTasksRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) CountPendingDecisionTasksRequest(input *CountPendingDecisionTasksInput) (req *request.Request, output *PendingTaskCount) { op := &request.Operation{ Name: opCountPendingDecisionTasks, @@ -382,19 +378,19 @@ func (c *SWF) CountPendingDecisionTasksRequest(input *CountPendingDecisionTasksI // If you specify a task list that no decision task was ever scheduled in then // 0 is returned. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the taskList.name parameter by using a Condition element with -// the swf:taskList.name key to allow the action to access only certain task -// lists. +// - Constrain the taskList.name parameter by using a Condition element with +// the swf:taskList.name key to allow the action to access only certain task +// lists. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -411,15 +407,15 @@ func (c *SWF) CountPendingDecisionTasksRequest(input *CountPendingDecisionTasksI // API operation CountPendingDecisionTasks for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) CountPendingDecisionTasks(input *CountPendingDecisionTasksInput) (*PendingTaskCount, error) { req, out := c.CountPendingDecisionTasksRequest(input) return out, req.Send() @@ -457,14 +453,13 @@ const opDeprecateActivityType = "DeprecateActivityType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeprecateActivityTypeRequest method. +// req, resp := client.DeprecateActivityTypeRequest(params) // -// // Example sending a request using the DeprecateActivityTypeRequest method. -// req, resp := client.DeprecateActivityTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) DeprecateActivityTypeRequest(input *DeprecateActivityTypeInput) (req *request.Request, output *DeprecateActivityTypeOutput) { op := &request.Operation{ Name: opDeprecateActivityType, @@ -491,20 +486,20 @@ func (c *SWF) DeprecateActivityTypeRequest(input *DeprecateActivityTypeInput) (r // This operation is eventually consistent. The results are best effort and // may not exactly reflect recent updates and changes. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. activityType.name: String constraint. The key is -// swf:activityType.name. activityType.version: String constraint. The key -// is swf:activityType.version. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. activityType.name: String constraint. The key is +// swf:activityType.name. activityType.version: String constraint. The key +// is swf:activityType.version. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -521,18 +516,18 @@ func (c *SWF) DeprecateActivityTypeRequest(input *DeprecateActivityTypeInput) (r // API operation DeprecateActivityType for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * TypeDeprecatedFault -// Returned when the specified activity or workflow type was already deprecated. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - TypeDeprecatedFault +// Returned when the specified activity or workflow type was already deprecated. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) DeprecateActivityType(input *DeprecateActivityTypeInput) (*DeprecateActivityTypeOutput, error) { req, out := c.DeprecateActivityTypeRequest(input) return out, req.Send() @@ -570,14 +565,13 @@ const opDeprecateDomain = "DeprecateDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeprecateDomainRequest method. +// req, resp := client.DeprecateDomainRequest(params) // -// // Example sending a request using the DeprecateDomainRequest method. -// req, resp := client.DeprecateDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) DeprecateDomainRequest(input *DeprecateDomainInput) (req *request.Request, output *DeprecateDomainOutput) { op := &request.Operation{ Name: opDeprecateDomain, @@ -607,17 +601,17 @@ func (c *SWF) DeprecateDomainRequest(input *DeprecateDomainInput) (req *request. // This operation is eventually consistent. The results are best effort and // may not exactly reflect recent updates and changes. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -634,18 +628,18 @@ func (c *SWF) DeprecateDomainRequest(input *DeprecateDomainInput) (req *request. // API operation DeprecateDomain for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * DomainDeprecatedFault -// Returned when the specified domain has been deprecated. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - DomainDeprecatedFault +// Returned when the specified domain has been deprecated. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) DeprecateDomain(input *DeprecateDomainInput) (*DeprecateDomainOutput, error) { req, out := c.DeprecateDomainRequest(input) return out, req.Send() @@ -683,14 +677,13 @@ const opDeprecateWorkflowType = "DeprecateWorkflowType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeprecateWorkflowTypeRequest method. +// req, resp := client.DeprecateWorkflowTypeRequest(params) // -// // Example sending a request using the DeprecateWorkflowTypeRequest method. -// req, resp := client.DeprecateWorkflowTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) DeprecateWorkflowTypeRequest(input *DeprecateWorkflowTypeInput) (req *request.Request, output *DeprecateWorkflowTypeOutput) { op := &request.Operation{ Name: opDeprecateWorkflowType, @@ -718,20 +711,20 @@ func (c *SWF) DeprecateWorkflowTypeRequest(input *DeprecateWorkflowTypeInput) (r // This operation is eventually consistent. The results are best effort and // may not exactly reflect recent updates and changes. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. workflowType.name: String constraint. The key is -// swf:workflowType.name. workflowType.version: String constraint. The key -// is swf:workflowType.version. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. workflowType.name: String constraint. The key is +// swf:workflowType.name. workflowType.version: String constraint. The key +// is swf:workflowType.version. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -748,18 +741,18 @@ func (c *SWF) DeprecateWorkflowTypeRequest(input *DeprecateWorkflowTypeInput) (r // API operation DeprecateWorkflowType for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * TypeDeprecatedFault -// Returned when the specified activity or workflow type was already deprecated. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - TypeDeprecatedFault +// Returned when the specified activity or workflow type was already deprecated. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) DeprecateWorkflowType(input *DeprecateWorkflowTypeInput) (*DeprecateWorkflowTypeOutput, error) { req, out := c.DeprecateWorkflowTypeRequest(input) return out, req.Send() @@ -797,14 +790,13 @@ const opDescribeActivityType = "DescribeActivityType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeActivityTypeRequest method. +// req, resp := client.DescribeActivityTypeRequest(params) // -// // Example sending a request using the DescribeActivityTypeRequest method. -// req, resp := client.DescribeActivityTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) DescribeActivityTypeRequest(input *DescribeActivityTypeInput) (req *request.Request, output *DescribeActivityTypeOutput) { op := &request.Operation{ Name: opDescribeActivityType, @@ -827,20 +819,20 @@ func (c *SWF) DescribeActivityTypeRequest(input *DescribeActivityTypeInput) (req // settings provided when the type was registered and other general information // about the type. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. activityType.name: String constraint. The key is -// swf:activityType.name. activityType.version: String constraint. The key -// is swf:activityType.version. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. activityType.name: String constraint. The key is +// swf:activityType.name. activityType.version: String constraint. The key +// is swf:activityType.version. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -857,15 +849,15 @@ func (c *SWF) DescribeActivityTypeRequest(input *DescribeActivityTypeInput) (req // API operation DescribeActivityType for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) DescribeActivityType(input *DescribeActivityTypeInput) (*DescribeActivityTypeOutput, error) { req, out := c.DescribeActivityTypeRequest(input) return out, req.Send() @@ -903,14 +895,13 @@ const opDescribeDomain = "DescribeDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainRequest method. +// req, resp := client.DescribeDomainRequest(params) // -// // Example sending a request using the DescribeDomainRequest method. -// req, resp := client.DescribeDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Request, output *DescribeDomainOutput) { op := &request.Operation{ Name: opDescribeDomain, @@ -932,17 +923,17 @@ func (c *SWF) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Re // Returns information about the specified domain, including description and // status. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -959,15 +950,15 @@ func (c *SWF) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Re // API operation DescribeDomain for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) DescribeDomain(input *DescribeDomainInput) (*DescribeDomainOutput, error) { req, out := c.DescribeDomainRequest(input) return out, req.Send() @@ -1005,14 +996,13 @@ const opDescribeWorkflowExecution = "DescribeWorkflowExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkflowExecutionRequest method. +// req, resp := client.DescribeWorkflowExecutionRequest(params) // -// // Example sending a request using the DescribeWorkflowExecutionRequest method. -// req, resp := client.DescribeWorkflowExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) DescribeWorkflowExecutionRequest(input *DescribeWorkflowExecutionInput) (req *request.Request, output *DescribeWorkflowExecutionOutput) { op := &request.Operation{ Name: opDescribeWorkflowExecution, @@ -1037,17 +1027,17 @@ func (c *SWF) DescribeWorkflowExecutionRequest(input *DescribeWorkflowExecutionI // This operation is eventually consistent. The results are best effort and // may not exactly reflect recent updates and changes. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -1064,15 +1054,15 @@ func (c *SWF) DescribeWorkflowExecutionRequest(input *DescribeWorkflowExecutionI // API operation DescribeWorkflowExecution for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) DescribeWorkflowExecution(input *DescribeWorkflowExecutionInput) (*DescribeWorkflowExecutionOutput, error) { req, out := c.DescribeWorkflowExecutionRequest(input) return out, req.Send() @@ -1110,14 +1100,13 @@ const opDescribeWorkflowType = "DescribeWorkflowType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkflowTypeRequest method. +// req, resp := client.DescribeWorkflowTypeRequest(params) // -// // Example sending a request using the DescribeWorkflowTypeRequest method. -// req, resp := client.DescribeWorkflowTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) DescribeWorkflowTypeRequest(input *DescribeWorkflowTypeInput) (req *request.Request, output *DescribeWorkflowTypeOutput) { op := &request.Operation{ Name: opDescribeWorkflowType, @@ -1140,20 +1129,20 @@ func (c *SWF) DescribeWorkflowTypeRequest(input *DescribeWorkflowTypeInput) (req // settings specified when the type was registered and other information such // as creation date, current status, etc. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. workflowType.name: String constraint. The key is -// swf:workflowType.name. workflowType.version: String constraint. The key -// is swf:workflowType.version. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. workflowType.name: String constraint. The key is +// swf:workflowType.name. workflowType.version: String constraint. The key +// is swf:workflowType.version. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -1170,15 +1159,15 @@ func (c *SWF) DescribeWorkflowTypeRequest(input *DescribeWorkflowTypeInput) (req // API operation DescribeWorkflowType for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) DescribeWorkflowType(input *DescribeWorkflowTypeInput) (*DescribeWorkflowTypeOutput, error) { req, out := c.DescribeWorkflowTypeRequest(input) return out, req.Send() @@ -1216,14 +1205,13 @@ const opGetWorkflowExecutionHistory = "GetWorkflowExecutionHistory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWorkflowExecutionHistoryRequest method. +// req, resp := client.GetWorkflowExecutionHistoryRequest(params) // -// // Example sending a request using the GetWorkflowExecutionHistoryRequest method. -// req, resp := client.GetWorkflowExecutionHistoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) GetWorkflowExecutionHistoryRequest(input *GetWorkflowExecutionHistoryInput) (req *request.Request, output *GetWorkflowExecutionHistoryOutput) { op := &request.Operation{ Name: opGetWorkflowExecutionHistory, @@ -1255,17 +1243,17 @@ func (c *SWF) GetWorkflowExecutionHistoryRequest(input *GetWorkflowExecutionHist // This operation is eventually consistent. The results are best effort and // may not exactly reflect recent updates and changes. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -1282,15 +1270,15 @@ func (c *SWF) GetWorkflowExecutionHistoryRequest(input *GetWorkflowExecutionHist // API operation GetWorkflowExecutionHistory for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) GetWorkflowExecutionHistory(input *GetWorkflowExecutionHistoryInput) (*GetWorkflowExecutionHistoryOutput, error) { req, out := c.GetWorkflowExecutionHistoryRequest(input) return out, req.Send() @@ -1320,15 +1308,14 @@ func (c *SWF) GetWorkflowExecutionHistoryWithContext(ctx aws.Context, input *Get // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetWorkflowExecutionHistory operation. -// pageNum := 0 -// err := client.GetWorkflowExecutionHistoryPages(params, -// func(page *swf.GetWorkflowExecutionHistoryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetWorkflowExecutionHistory operation. +// pageNum := 0 +// err := client.GetWorkflowExecutionHistoryPages(params, +// func(page *swf.GetWorkflowExecutionHistoryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SWF) GetWorkflowExecutionHistoryPages(input *GetWorkflowExecutionHistoryInput, fn func(*GetWorkflowExecutionHistoryOutput, bool) bool) error { return c.GetWorkflowExecutionHistoryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1380,14 +1367,13 @@ const opListActivityTypes = "ListActivityTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListActivityTypesRequest method. +// req, resp := client.ListActivityTypesRequest(params) // -// // Example sending a request using the ListActivityTypesRequest method. -// req, resp := client.ListActivityTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) ListActivityTypesRequest(input *ListActivityTypesInput) (req *request.Request, output *ListActivityTypesOutput) { op := &request.Operation{ Name: opListActivityTypes, @@ -1418,17 +1404,17 @@ func (c *SWF) ListActivityTypesRequest(input *ListActivityTypesInput) (req *requ // results may be split into multiple pages. To retrieve subsequent pages, make // the call again using the nextPageToken returned by the initial call. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -1445,15 +1431,15 @@ func (c *SWF) ListActivityTypesRequest(input *ListActivityTypesInput) (req *requ // API operation ListActivityTypes for usage and error information. // // Returned Error Types: -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. // -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. // +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. func (c *SWF) ListActivityTypes(input *ListActivityTypesInput) (*ListActivityTypesOutput, error) { req, out := c.ListActivityTypesRequest(input) return out, req.Send() @@ -1483,15 +1469,14 @@ func (c *SWF) ListActivityTypesWithContext(ctx aws.Context, input *ListActivityT // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListActivityTypes operation. -// pageNum := 0 -// err := client.ListActivityTypesPages(params, -// func(page *swf.ListActivityTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListActivityTypes operation. +// pageNum := 0 +// err := client.ListActivityTypesPages(params, +// func(page *swf.ListActivityTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SWF) ListActivityTypesPages(input *ListActivityTypesInput, fn func(*ListActivityTypesOutput, bool) bool) error { return c.ListActivityTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1543,14 +1528,13 @@ const opListClosedWorkflowExecutions = "ListClosedWorkflowExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListClosedWorkflowExecutionsRequest method. +// req, resp := client.ListClosedWorkflowExecutionsRequest(params) // -// // Example sending a request using the ListClosedWorkflowExecutionsRequest method. -// req, resp := client.ListClosedWorkflowExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) ListClosedWorkflowExecutionsRequest(input *ListClosedWorkflowExecutionsInput) (req *request.Request, output *WorkflowExecutionInfos) { op := &request.Operation{ Name: opListClosedWorkflowExecutions, @@ -1583,20 +1567,20 @@ func (c *SWF) ListClosedWorkflowExecutionsRequest(input *ListClosedWorkflowExecu // This operation is eventually consistent. The results are best effort and // may not exactly reflect recent updates and changes. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. -// typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: -// String constraint. The key is swf:typeFilter.version. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. +// typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: +// String constraint. The key is swf:typeFilter.version. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -1613,15 +1597,15 @@ func (c *SWF) ListClosedWorkflowExecutionsRequest(input *ListClosedWorkflowExecu // API operation ListClosedWorkflowExecutions for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) ListClosedWorkflowExecutions(input *ListClosedWorkflowExecutionsInput) (*WorkflowExecutionInfos, error) { req, out := c.ListClosedWorkflowExecutionsRequest(input) return out, req.Send() @@ -1651,15 +1635,14 @@ func (c *SWF) ListClosedWorkflowExecutionsWithContext(ctx aws.Context, input *Li // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListClosedWorkflowExecutions operation. -// pageNum := 0 -// err := client.ListClosedWorkflowExecutionsPages(params, -// func(page *swf.WorkflowExecutionInfos, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListClosedWorkflowExecutions operation. +// pageNum := 0 +// err := client.ListClosedWorkflowExecutionsPages(params, +// func(page *swf.WorkflowExecutionInfos, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SWF) ListClosedWorkflowExecutionsPages(input *ListClosedWorkflowExecutionsInput, fn func(*WorkflowExecutionInfos, bool) bool) error { return c.ListClosedWorkflowExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1711,14 +1694,13 @@ const opListDomains = "ListDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainsRequest method. +// req, resp := client.ListDomainsRequest(params) // -// // Example sending a request using the ListDomainsRequest method. -// req, resp := client.ListDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) { op := &request.Operation{ Name: opListDomains, @@ -1750,18 +1732,18 @@ func (c *SWF) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, // This operation is eventually consistent. The results are best effort and // may not exactly reflect recent updates and changes. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. The element must be set to arn:aws:swf::AccountID:domain/*, -// where AccountID is the account ID, with no dashes. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. The element must be set to arn:aws:swf::AccountID:domain/*, +// where AccountID is the account ID, with no dashes. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -1778,10 +1760,9 @@ func (c *SWF) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, // API operation ListDomains for usage and error information. // // Returned Error Types: -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. -// +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) { req, out := c.ListDomainsRequest(input) return out, req.Send() @@ -1811,15 +1792,14 @@ func (c *SWF) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDomains operation. -// pageNum := 0 -// err := client.ListDomainsPages(params, -// func(page *swf.ListDomainsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDomains operation. +// pageNum := 0 +// err := client.ListDomainsPages(params, +// func(page *swf.ListDomainsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SWF) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error { return c.ListDomainsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1871,14 +1851,13 @@ const opListOpenWorkflowExecutions = "ListOpenWorkflowExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOpenWorkflowExecutionsRequest method. +// req, resp := client.ListOpenWorkflowExecutionsRequest(params) // -// // Example sending a request using the ListOpenWorkflowExecutionsRequest method. -// req, resp := client.ListOpenWorkflowExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) ListOpenWorkflowExecutionsRequest(input *ListOpenWorkflowExecutionsInput) (req *request.Request, output *WorkflowExecutionInfos) { op := &request.Operation{ Name: opListOpenWorkflowExecutions, @@ -1911,20 +1890,20 @@ func (c *SWF) ListOpenWorkflowExecutionsRequest(input *ListOpenWorkflowExecution // This operation is eventually consistent. The results are best effort and // may not exactly reflect recent updates and changes. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. -// typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: -// String constraint. The key is swf:typeFilter.version. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. tagFilter.tag: String constraint. The key is swf:tagFilter.tag. +// typeFilter.name: String constraint. The key is swf:typeFilter.name. typeFilter.version: +// String constraint. The key is swf:typeFilter.version. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -1941,15 +1920,15 @@ func (c *SWF) ListOpenWorkflowExecutionsRequest(input *ListOpenWorkflowExecution // API operation ListOpenWorkflowExecutions for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) ListOpenWorkflowExecutions(input *ListOpenWorkflowExecutionsInput) (*WorkflowExecutionInfos, error) { req, out := c.ListOpenWorkflowExecutionsRequest(input) return out, req.Send() @@ -1979,15 +1958,14 @@ func (c *SWF) ListOpenWorkflowExecutionsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOpenWorkflowExecutions operation. -// pageNum := 0 -// err := client.ListOpenWorkflowExecutionsPages(params, -// func(page *swf.WorkflowExecutionInfos, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOpenWorkflowExecutions operation. +// pageNum := 0 +// err := client.ListOpenWorkflowExecutionsPages(params, +// func(page *swf.WorkflowExecutionInfos, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SWF) ListOpenWorkflowExecutionsPages(input *ListOpenWorkflowExecutionsInput, fn func(*WorkflowExecutionInfos, bool) bool) error { return c.ListOpenWorkflowExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2039,14 +2017,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { op := &request.Operation{ Name: opListTagsForResource, @@ -2075,20 +2052,20 @@ func (c *SWF) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * LimitExceededFault -// Returned by any operation if a system imposed limitation has been reached. -// To address this fault you should either clean up unused resources or increase -// the limit by contacting AWS. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - LimitExceededFault +// Returned by any operation if a system imposed limitation has been reached. +// To address this fault you should either clean up unused resources or increase +// the limit by contacting AWS. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { req, out := c.ListTagsForResourceRequest(input) return out, req.Send() @@ -2126,14 +2103,13 @@ const opListWorkflowTypes = "ListWorkflowTypes" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorkflowTypesRequest method. +// req, resp := client.ListWorkflowTypesRequest(params) // -// // Example sending a request using the ListWorkflowTypesRequest method. -// req, resp := client.ListWorkflowTypesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) ListWorkflowTypesRequest(input *ListWorkflowTypesInput) (req *request.Request, output *ListWorkflowTypesOutput) { op := &request.Operation{ Name: opListWorkflowTypes, @@ -2162,17 +2138,17 @@ func (c *SWF) ListWorkflowTypesRequest(input *ListWorkflowTypesInput) (req *requ // may be split into multiple pages that can be retrieved by making the call // repeatedly. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -2189,15 +2165,15 @@ func (c *SWF) ListWorkflowTypesRequest(input *ListWorkflowTypesInput) (req *requ // API operation ListWorkflowTypes for usage and error information. // // Returned Error Types: -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. // -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. // +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. func (c *SWF) ListWorkflowTypes(input *ListWorkflowTypesInput) (*ListWorkflowTypesOutput, error) { req, out := c.ListWorkflowTypesRequest(input) return out, req.Send() @@ -2227,15 +2203,14 @@ func (c *SWF) ListWorkflowTypesWithContext(ctx aws.Context, input *ListWorkflowT // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorkflowTypes operation. -// pageNum := 0 -// err := client.ListWorkflowTypesPages(params, -// func(page *swf.ListWorkflowTypesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorkflowTypes operation. +// pageNum := 0 +// err := client.ListWorkflowTypesPages(params, +// func(page *swf.ListWorkflowTypesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SWF) ListWorkflowTypesPages(input *ListWorkflowTypesInput, fn func(*ListWorkflowTypesOutput, bool) bool) error { return c.ListWorkflowTypesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2287,14 +2262,13 @@ const opPollForActivityTask = "PollForActivityTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PollForActivityTaskRequest method. +// req, resp := client.PollForActivityTaskRequest(params) // -// // Example sending a request using the PollForActivityTaskRequest method. -// req, resp := client.PollForActivityTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) PollForActivityTaskRequest(input *PollForActivityTaskInput) (req *request.Request, output *PollForActivityTaskOutput) { op := &request.Operation{ Name: opPollForActivityTask, @@ -2325,19 +2299,19 @@ func (c *SWF) PollForActivityTaskRequest(input *PollForActivityTaskInput) (req * // Workers should set their client side socket timeout to at least 70 seconds // (10 seconds higher than the maximum time service may hold the poll request). // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the taskList.name parameter by using a Condition element with -// the swf:taskList.name key to allow the action to access only certain task -// lists. +// - Constrain the taskList.name parameter by using a Condition element with +// the swf:taskList.name key to allow the action to access only certain task +// lists. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -2354,20 +2328,20 @@ func (c *SWF) PollForActivityTaskRequest(input *PollForActivityTaskInput) (req * // API operation PollForActivityTask for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // -// * LimitExceededFault -// Returned by any operation if a system imposed limitation has been reached. -// To address this fault you should either clean up unused resources or increase -// the limit by contacting AWS. +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. // +// - LimitExceededFault +// Returned by any operation if a system imposed limitation has been reached. +// To address this fault you should either clean up unused resources or increase +// the limit by contacting AWS. func (c *SWF) PollForActivityTask(input *PollForActivityTaskInput) (*PollForActivityTaskOutput, error) { req, out := c.PollForActivityTaskRequest(input) return out, req.Send() @@ -2405,14 +2379,13 @@ const opPollForDecisionTask = "PollForDecisionTask" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PollForDecisionTaskRequest method. +// req, resp := client.PollForDecisionTaskRequest(params) // -// // Example sending a request using the PollForDecisionTaskRequest method. -// req, resp := client.PollForDecisionTaskRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) PollForDecisionTaskRequest(input *PollForDecisionTaskInput) (req *request.Request, output *PollForDecisionTaskOutput) { op := &request.Operation{ Name: opPollForDecisionTask, @@ -2459,19 +2432,19 @@ func (c *SWF) PollForDecisionTaskRequest(input *PollForDecisionTaskInput) (req * // call GetWorkflowExecutionHistory with this nextPageToken. Instead, call PollForDecisionTask // again. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the taskList.name parameter by using a Condition element with -// the swf:taskList.name key to allow the action to access only certain task -// lists. +// - Constrain the taskList.name parameter by using a Condition element with +// the swf:taskList.name key to allow the action to access only certain task +// lists. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -2488,20 +2461,20 @@ func (c *SWF) PollForDecisionTaskRequest(input *PollForDecisionTaskInput) (req * // API operation PollForDecisionTask for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // -// * LimitExceededFault -// Returned by any operation if a system imposed limitation has been reached. -// To address this fault you should either clean up unused resources or increase -// the limit by contacting AWS. +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. // +// - LimitExceededFault +// Returned by any operation if a system imposed limitation has been reached. +// To address this fault you should either clean up unused resources or increase +// the limit by contacting AWS. func (c *SWF) PollForDecisionTask(input *PollForDecisionTaskInput) (*PollForDecisionTaskOutput, error) { req, out := c.PollForDecisionTaskRequest(input) return out, req.Send() @@ -2531,15 +2504,14 @@ func (c *SWF) PollForDecisionTaskWithContext(ctx aws.Context, input *PollForDeci // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a PollForDecisionTask operation. -// pageNum := 0 -// err := client.PollForDecisionTaskPages(params, -// func(page *swf.PollForDecisionTaskOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a PollForDecisionTask operation. +// pageNum := 0 +// err := client.PollForDecisionTaskPages(params, +// func(page *swf.PollForDecisionTaskOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *SWF) PollForDecisionTaskPages(input *PollForDecisionTaskInput, fn func(*PollForDecisionTaskOutput, bool) bool) error { return c.PollForDecisionTaskPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2591,14 +2563,13 @@ const opRecordActivityTaskHeartbeat = "RecordActivityTaskHeartbeat" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RecordActivityTaskHeartbeatRequest method. +// req, resp := client.RecordActivityTaskHeartbeatRequest(params) // -// // Example sending a request using the RecordActivityTaskHeartbeatRequest method. -// req, resp := client.RecordActivityTaskHeartbeatRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) RecordActivityTaskHeartbeatRequest(input *RecordActivityTaskHeartbeatInput) (req *request.Request, output *RecordActivityTaskHeartbeatOutput) { op := &request.Operation{ Name: opRecordActivityTaskHeartbeat, @@ -2644,17 +2615,17 @@ func (c *SWF) RecordActivityTaskHeartbeatRequest(input *RecordActivityTaskHeartb // If the worker can cancel the activity, it should respond with RespondActivityTaskCanceled. // Otherwise, it should ignore the cancellation request. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -2671,15 +2642,15 @@ func (c *SWF) RecordActivityTaskHeartbeatRequest(input *RecordActivityTaskHeartb // API operation RecordActivityTaskHeartbeat for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) RecordActivityTaskHeartbeat(input *RecordActivityTaskHeartbeatInput) (*RecordActivityTaskHeartbeatOutput, error) { req, out := c.RecordActivityTaskHeartbeatRequest(input) return out, req.Send() @@ -2717,14 +2688,13 @@ const opRegisterActivityType = "RegisterActivityType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterActivityTypeRequest method. +// req, resp := client.RegisterActivityTypeRequest(params) // -// // Example sending a request using the RegisterActivityTypeRequest method. -// req, resp := client.RegisterActivityTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) RegisterActivityTypeRequest(input *RegisterActivityTypeInput) (req *request.Request, output *RegisterActivityTypeOutput) { op := &request.Operation{ Name: opRegisterActivityType, @@ -2751,20 +2721,20 @@ func (c *SWF) RegisterActivityTypeRequest(input *RegisterActivityTypeInput) (req // You cannot change any configuration settings of the type after its registration, // and it must be registered as a new version. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. defaultTaskList.name: String constraint. The key -// is swf:defaultTaskList.name. name: String constraint. The key is swf:name. -// version: String constraint. The key is swf:version. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. defaultTaskList.name: String constraint. The key +// is swf:defaultTaskList.name. name: String constraint. The key is swf:name. +// version: String constraint. The key is swf:version. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -2781,25 +2751,25 @@ func (c *SWF) RegisterActivityTypeRequest(input *RegisterActivityTypeInput) (req // API operation RegisterActivityType for usage and error information. // // Returned Error Types: -// * TypeAlreadyExistsFault -// Returned if the type already exists in the specified domain. You may get -// this fault if you are registering a type that is either already registered -// or deprecated, or if you undeprecate a type that is currently registered. // -// * LimitExceededFault -// Returned by any operation if a system imposed limitation has been reached. -// To address this fault you should either clean up unused resources or increase -// the limit by contacting AWS. +// - TypeAlreadyExistsFault +// Returned if the type already exists in the specified domain. You may get +// this fault if you are registering a type that is either already registered +// or deprecated, or if you undeprecate a type that is currently registered. // -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. +// - LimitExceededFault +// Returned by any operation if a system imposed limitation has been reached. +// To address this fault you should either clean up unused resources or increase +// the limit by contacting AWS. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) RegisterActivityType(input *RegisterActivityTypeInput) (*RegisterActivityTypeOutput, error) { req, out := c.RegisterActivityTypeRequest(input) return out, req.Send() @@ -2837,14 +2807,13 @@ const opRegisterDomain = "RegisterDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterDomainRequest method. +// req, resp := client.RegisterDomainRequest(params) // -// // Example sending a request using the RegisterDomainRequest method. -// req, resp := client.RegisterDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) RegisterDomainRequest(input *RegisterDomainInput) (req *request.Request, output *RegisterDomainOutput) { op := &request.Operation{ Name: opRegisterDomain, @@ -2866,18 +2835,18 @@ func (c *SWF) RegisterDomainRequest(input *RegisterDomainInput) (req *request.Re // // Registers a new domain. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * You cannot use an IAM policy to control domain access for this action. -// The name of the domain being registered is available as the resource of -// this action. +// - You cannot use an IAM policy to control domain access for this action. +// The name of the domain being registered is available as the resource of +// this action. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -2894,23 +2863,23 @@ func (c *SWF) RegisterDomainRequest(input *RegisterDomainInput) (req *request.Re // API operation RegisterDomain for usage and error information. // // Returned Error Types: -// * DomainAlreadyExistsFault -// Returned if the domain already exists. You may get this fault if you are -// registering a domain that is either already registered or deprecated, or -// if you undeprecate a domain that is currently registered. // -// * LimitExceededFault -// Returned by any operation if a system imposed limitation has been reached. -// To address this fault you should either clean up unused resources or increase -// the limit by contacting AWS. +// - DomainAlreadyExistsFault +// Returned if the domain already exists. You may get this fault if you are +// registering a domain that is either already registered or deprecated, or +// if you undeprecate a domain that is currently registered. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - LimitExceededFault +// Returned by any operation if a system imposed limitation has been reached. +// To address this fault you should either clean up unused resources or increase +// the limit by contacting AWS. // -// * TooManyTagsFault -// You've exceeded the number of tags allowed for a domain. +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. // +// - TooManyTagsFault +// You've exceeded the number of tags allowed for a domain. func (c *SWF) RegisterDomain(input *RegisterDomainInput) (*RegisterDomainOutput, error) { req, out := c.RegisterDomainRequest(input) return out, req.Send() @@ -2948,14 +2917,13 @@ const opRegisterWorkflowType = "RegisterWorkflowType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterWorkflowTypeRequest method. +// req, resp := client.RegisterWorkflowTypeRequest(params) // -// // Example sending a request using the RegisterWorkflowTypeRequest method. -// req, resp := client.RegisterWorkflowTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) RegisterWorkflowTypeRequest(input *RegisterWorkflowTypeInput) (req *request.Request, output *RegisterWorkflowTypeOutput) { op := &request.Operation{ Name: opRegisterWorkflowType, @@ -2985,20 +2953,20 @@ func (c *SWF) RegisterWorkflowTypeRequest(input *RegisterWorkflowTypeInput) (req // cannot change the configuration settings of a workflow type once it is registered // and it must be registered as a new version. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. defaultTaskList.name: String constraint. The key -// is swf:defaultTaskList.name. name: String constraint. The key is swf:name. -// version: String constraint. The key is swf:version. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. defaultTaskList.name: String constraint. The key +// is swf:defaultTaskList.name. name: String constraint. The key is swf:name. +// version: String constraint. The key is swf:version. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -3015,25 +2983,25 @@ func (c *SWF) RegisterWorkflowTypeRequest(input *RegisterWorkflowTypeInput) (req // API operation RegisterWorkflowType for usage and error information. // // Returned Error Types: -// * TypeAlreadyExistsFault -// Returned if the type already exists in the specified domain. You may get -// this fault if you are registering a type that is either already registered -// or deprecated, or if you undeprecate a type that is currently registered. // -// * LimitExceededFault -// Returned by any operation if a system imposed limitation has been reached. -// To address this fault you should either clean up unused resources or increase -// the limit by contacting AWS. +// - TypeAlreadyExistsFault +// Returned if the type already exists in the specified domain. You may get +// this fault if you are registering a type that is either already registered +// or deprecated, or if you undeprecate a type that is currently registered. // -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. +// - LimitExceededFault +// Returned by any operation if a system imposed limitation has been reached. +// To address this fault you should either clean up unused resources or increase +// the limit by contacting AWS. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) RegisterWorkflowType(input *RegisterWorkflowTypeInput) (*RegisterWorkflowTypeOutput, error) { req, out := c.RegisterWorkflowTypeRequest(input) return out, req.Send() @@ -3071,14 +3039,13 @@ const opRequestCancelWorkflowExecution = "RequestCancelWorkflowExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RequestCancelWorkflowExecutionRequest method. +// req, resp := client.RequestCancelWorkflowExecutionRequest(params) // -// // Example sending a request using the RequestCancelWorkflowExecutionRequest method. -// req, resp := client.RequestCancelWorkflowExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) RequestCancelWorkflowExecutionRequest(input *RequestCancelWorkflowExecutionInput) (req *request.Request, output *RequestCancelWorkflowExecutionOutput) { op := &request.Operation{ Name: opRequestCancelWorkflowExecution, @@ -3111,17 +3078,17 @@ func (c *SWF) RequestCancelWorkflowExecutionRequest(input *RequestCancelWorkflow // Because this action allows the workflow to properly clean up and gracefully // close, it should be used instead of TerminateWorkflowExecution when possible. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -3138,15 +3105,15 @@ func (c *SWF) RequestCancelWorkflowExecutionRequest(input *RequestCancelWorkflow // API operation RequestCancelWorkflowExecution for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) RequestCancelWorkflowExecution(input *RequestCancelWorkflowExecutionInput) (*RequestCancelWorkflowExecutionOutput, error) { req, out := c.RequestCancelWorkflowExecutionRequest(input) return out, req.Send() @@ -3184,14 +3151,13 @@ const opRespondActivityTaskCanceled = "RespondActivityTaskCanceled" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RespondActivityTaskCanceledRequest method. +// req, resp := client.RespondActivityTaskCanceledRequest(params) // -// // Example sending a request using the RespondActivityTaskCanceledRequest method. -// req, resp := client.RespondActivityTaskCanceledRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) RespondActivityTaskCanceledRequest(input *RespondActivityTaskCanceledInput) (req *request.Request, output *RespondActivityTaskCanceledOutput) { op := &request.Operation{ Name: opRespondActivityTaskCanceled, @@ -3227,17 +3193,17 @@ func (c *SWF) RespondActivityTaskCanceledRequest(input *RespondActivityTaskCance // RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed // out (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types). // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -3254,15 +3220,15 @@ func (c *SWF) RespondActivityTaskCanceledRequest(input *RespondActivityTaskCance // API operation RespondActivityTaskCanceled for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) RespondActivityTaskCanceled(input *RespondActivityTaskCanceledInput) (*RespondActivityTaskCanceledOutput, error) { req, out := c.RespondActivityTaskCanceledRequest(input) return out, req.Send() @@ -3300,14 +3266,13 @@ const opRespondActivityTaskCompleted = "RespondActivityTaskCompleted" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RespondActivityTaskCompletedRequest method. +// req, resp := client.RespondActivityTaskCompletedRequest(params) // -// // Example sending a request using the RespondActivityTaskCompletedRequest method. -// req, resp := client.RespondActivityTaskCompletedRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) RespondActivityTaskCompletedRequest(input *RespondActivityTaskCompletedInput) (req *request.Request, output *RespondActivityTaskCompletedOutput) { op := &request.Operation{ Name: opRespondActivityTaskCompleted, @@ -3342,17 +3307,17 @@ func (c *SWF) RespondActivityTaskCompletedRequest(input *RespondActivityTaskComp // RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed // out (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types). // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -3369,15 +3334,15 @@ func (c *SWF) RespondActivityTaskCompletedRequest(input *RespondActivityTaskComp // API operation RespondActivityTaskCompleted for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) RespondActivityTaskCompleted(input *RespondActivityTaskCompletedInput) (*RespondActivityTaskCompletedOutput, error) { req, out := c.RespondActivityTaskCompletedRequest(input) return out, req.Send() @@ -3415,14 +3380,13 @@ const opRespondActivityTaskFailed = "RespondActivityTaskFailed" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RespondActivityTaskFailedRequest method. +// req, resp := client.RespondActivityTaskFailedRequest(params) // -// // Example sending a request using the RespondActivityTaskFailedRequest method. -// req, resp := client.RespondActivityTaskFailedRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) RespondActivityTaskFailedRequest(input *RespondActivityTaskFailedInput) (req *request.Request, output *RespondActivityTaskFailedOutput) { op := &request.Operation{ Name: opRespondActivityTaskFailed, @@ -3452,17 +3416,17 @@ func (c *SWF) RespondActivityTaskFailedRequest(input *RespondActivityTaskFailedI // RespondActivityTaskCanceled, RespondActivityTaskFailed, or the task has timed // out (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dg-basic.html#swf-dev-timeout-types). // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -3479,15 +3443,15 @@ func (c *SWF) RespondActivityTaskFailedRequest(input *RespondActivityTaskFailedI // API operation RespondActivityTaskFailed for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) RespondActivityTaskFailed(input *RespondActivityTaskFailedInput) (*RespondActivityTaskFailedOutput, error) { req, out := c.RespondActivityTaskFailedRequest(input) return out, req.Send() @@ -3525,14 +3489,13 @@ const opRespondDecisionTaskCompleted = "RespondDecisionTaskCompleted" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RespondDecisionTaskCompletedRequest method. +// req, resp := client.RespondDecisionTaskCompletedRequest(params) // -// // Example sending a request using the RespondDecisionTaskCompletedRequest method. -// req, resp := client.RespondDecisionTaskCompletedRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) RespondDecisionTaskCompletedRequest(input *RespondDecisionTaskCompletedInput) (req *request.Request, output *RespondDecisionTaskCompletedOutput) { op := &request.Operation{ Name: opRespondDecisionTaskCompleted, @@ -3559,7 +3522,7 @@ func (c *SWF) RespondDecisionTaskCompletedRequest(input *RespondDecisionTaskComp // A DecisionTaskCompleted event is added to the workflow history. The executionContext // specified is attached to the event in the workflow execution history. // -// Access Control +// # Access Control // // If an IAM policy grants permission to use RespondDecisionTaskCompleted, it // can express permissions for the list of decisions in the decisions parameter. @@ -3578,15 +3541,15 @@ func (c *SWF) RespondDecisionTaskCompletedRequest(input *RespondDecisionTaskComp // API operation RespondDecisionTaskCompleted for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) RespondDecisionTaskCompleted(input *RespondDecisionTaskCompletedInput) (*RespondDecisionTaskCompletedOutput, error) { req, out := c.RespondDecisionTaskCompletedRequest(input) return out, req.Send() @@ -3624,14 +3587,13 @@ const opSignalWorkflowExecution = "SignalWorkflowExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SignalWorkflowExecutionRequest method. +// req, resp := client.SignalWorkflowExecutionRequest(params) // -// // Example sending a request using the SignalWorkflowExecutionRequest method. -// req, resp := client.SignalWorkflowExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) SignalWorkflowExecutionRequest(input *SignalWorkflowExecutionInput) (req *request.Request, output *SignalWorkflowExecutionOutput) { op := &request.Operation{ Name: opSignalWorkflowExecution, @@ -3662,17 +3624,17 @@ func (c *SWF) SignalWorkflowExecutionRequest(input *SignalWorkflowExecutionInput // // If the specified workflow execution isn't open, this method fails with UnknownResource. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -3689,15 +3651,15 @@ func (c *SWF) SignalWorkflowExecutionRequest(input *SignalWorkflowExecutionInput // API operation SignalWorkflowExecution for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) SignalWorkflowExecution(input *SignalWorkflowExecutionInput) (*SignalWorkflowExecutionOutput, error) { req, out := c.SignalWorkflowExecutionRequest(input) return out, req.Send() @@ -3735,14 +3697,13 @@ const opStartWorkflowExecution = "StartWorkflowExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartWorkflowExecutionRequest method. +// req, resp := client.StartWorkflowExecutionRequest(params) // -// // Example sending a request using the StartWorkflowExecutionRequest method. -// req, resp := client.StartWorkflowExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) StartWorkflowExecutionRequest(input *StartWorkflowExecutionInput) (req *request.Request, output *StartWorkflowExecutionOutput) { op := &request.Operation{ Name: opStartWorkflowExecution, @@ -3766,24 +3727,24 @@ func (c *SWF) StartWorkflowExecutionRequest(input *StartWorkflowExecutionInput) // // This action returns the newly started workflow execution. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. tagList.member.0: The key is swf:tagList.member.0. -// tagList.member.1: The key is swf:tagList.member.1. tagList.member.2: The -// key is swf:tagList.member.2. tagList.member.3: The key is swf:tagList.member.3. -// tagList.member.4: The key is swf:tagList.member.4. taskList: String constraint. -// The key is swf:taskList.name. workflowType.name: String constraint. The -// key is swf:workflowType.name. workflowType.version: String constraint. -// The key is swf:workflowType.version. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. tagList.member.0: The key is swf:tagList.member.0. +// tagList.member.1: The key is swf:tagList.member.1. tagList.member.2: The +// key is swf:tagList.member.2. tagList.member.3: The key is swf:tagList.member.3. +// tagList.member.4: The key is swf:tagList.member.4. taskList: String constraint. +// The key is swf:taskList.name. workflowType.name: String constraint. The +// key is swf:workflowType.name. workflowType.version: String constraint. +// The key is swf:workflowType.version. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -3800,40 +3761,40 @@ func (c *SWF) StartWorkflowExecutionRequest(input *StartWorkflowExecutionInput) // API operation StartWorkflowExecution for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * TypeDeprecatedFault -// Returned when the specified activity or workflow type was already deprecated. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // -// * WorkflowExecutionAlreadyStartedFault -// Returned by StartWorkflowExecution when an open execution with the same workflowId -// is already running in the specified domain. +// - TypeDeprecatedFault +// Returned when the specified activity or workflow type was already deprecated. // -// * LimitExceededFault -// Returned by any operation if a system imposed limitation has been reached. -// To address this fault you should either clean up unused resources or increase -// the limit by contacting AWS. +// - WorkflowExecutionAlreadyStartedFault +// Returned by StartWorkflowExecution when an open execution with the same workflowId +// is already running in the specified domain. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - LimitExceededFault +// Returned by any operation if a system imposed limitation has been reached. +// To address this fault you should either clean up unused resources or increase +// the limit by contacting AWS. // -// * DefaultUndefinedFault -// The StartWorkflowExecution API action was called without the required parameters -// set. +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. // -// Some workflow execution parameters, such as the decision taskList, must be -// set to start the execution. However, these parameters might have been set -// as defaults when the workflow type was registered. In this case, you can -// omit these parameters from the StartWorkflowExecution call and Amazon SWF -// uses the values defined in the workflow type. +// - DefaultUndefinedFault +// The StartWorkflowExecution API action was called without the required parameters +// set. // -// If these parameters aren't set and no default parameters were defined in -// the workflow type, this error is displayed. +// Some workflow execution parameters, such as the decision taskList, must be +// set to start the execution. However, these parameters might have been set +// as defaults when the workflow type was registered. In this case, you can +// omit these parameters from the StartWorkflowExecution call and Amazon SWF +// uses the values defined in the workflow type. // +// If these parameters aren't set and no default parameters were defined in +// the workflow type, this error is displayed. func (c *SWF) StartWorkflowExecution(input *StartWorkflowExecutionInput) (*StartWorkflowExecutionOutput, error) { req, out := c.StartWorkflowExecutionRequest(input) return out, req.Send() @@ -3871,14 +3832,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { op := &request.Operation{ Name: opTagResource, @@ -3910,23 +3870,23 @@ func (c *SWF) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * TooManyTagsFault -// You've exceeded the number of tags allowed for a domain. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // -// * LimitExceededFault -// Returned by any operation if a system imposed limitation has been reached. -// To address this fault you should either clean up unused resources or increase -// the limit by contacting AWS. +// - TooManyTagsFault +// You've exceeded the number of tags allowed for a domain. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - LimitExceededFault +// Returned by any operation if a system imposed limitation has been reached. +// To address this fault you should either clean up unused resources or increase +// the limit by contacting AWS. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { req, out := c.TagResourceRequest(input) return out, req.Send() @@ -3964,14 +3924,13 @@ const opTerminateWorkflowExecution = "TerminateWorkflowExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TerminateWorkflowExecutionRequest method. +// req, resp := client.TerminateWorkflowExecutionRequest(params) // -// // Example sending a request using the TerminateWorkflowExecutionRequest method. -// req, resp := client.TerminateWorkflowExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) TerminateWorkflowExecutionRequest(input *TerminateWorkflowExecutionInput) (req *request.Request, output *TerminateWorkflowExecutionOutput) { op := &request.Operation{ Name: opTerminateWorkflowExecution, @@ -4007,17 +3966,17 @@ func (c *SWF) TerminateWorkflowExecutionRequest(input *TerminateWorkflowExecutio // it allows the workflow to gracefully close while TerminateWorkflowExecution // doesn't. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -4034,15 +3993,15 @@ func (c *SWF) TerminateWorkflowExecutionRequest(input *TerminateWorkflowExecutio // API operation TerminateWorkflowExecution for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) TerminateWorkflowExecution(input *TerminateWorkflowExecutionInput) (*TerminateWorkflowExecutionOutput, error) { req, out := c.TerminateWorkflowExecutionRequest(input) return out, req.Send() @@ -4080,14 +4039,13 @@ const opUndeprecateActivityType = "UndeprecateActivityType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UndeprecateActivityTypeRequest method. +// req, resp := client.UndeprecateActivityTypeRequest(params) // -// // Example sending a request using the UndeprecateActivityTypeRequest method. -// req, resp := client.UndeprecateActivityTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) UndeprecateActivityTypeRequest(input *UndeprecateActivityTypeInput) (req *request.Request, output *UndeprecateActivityTypeOutput) { op := &request.Operation{ Name: opUndeprecateActivityType, @@ -4113,20 +4071,20 @@ func (c *SWF) UndeprecateActivityTypeRequest(input *UndeprecateActivityTypeInput // This operation is eventually consistent. The results are best effort and // may not exactly reflect recent updates and changes. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. activityType.name: String constraint. The key is -// swf:activityType.name. activityType.version: String constraint. The key -// is swf:activityType.version. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. activityType.name: String constraint. The key is +// swf:activityType.name. activityType.version: String constraint. The key +// is swf:activityType.version. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -4143,20 +4101,20 @@ func (c *SWF) UndeprecateActivityTypeRequest(input *UndeprecateActivityTypeInput // API operation UndeprecateActivityType for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * TypeAlreadyExistsFault -// Returned if the type already exists in the specified domain. You may get -// this fault if you are registering a type that is either already registered -// or deprecated, or if you undeprecate a type that is currently registered. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - TypeAlreadyExistsFault +// Returned if the type already exists in the specified domain. You may get +// this fault if you are registering a type that is either already registered +// or deprecated, or if you undeprecate a type that is currently registered. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) UndeprecateActivityType(input *UndeprecateActivityTypeInput) (*UndeprecateActivityTypeOutput, error) { req, out := c.UndeprecateActivityTypeRequest(input) return out, req.Send() @@ -4194,14 +4152,13 @@ const opUndeprecateDomain = "UndeprecateDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UndeprecateDomainRequest method. +// req, resp := client.UndeprecateDomainRequest(params) // -// // Example sending a request using the UndeprecateDomainRequest method. -// req, resp := client.UndeprecateDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) UndeprecateDomainRequest(input *UndeprecateDomainInput) (req *request.Request, output *UndeprecateDomainOutput) { op := &request.Operation{ Name: opUndeprecateDomain, @@ -4227,17 +4184,17 @@ func (c *SWF) UndeprecateDomainRequest(input *UndeprecateDomainInput) (req *requ // This operation is eventually consistent. The results are best effort and // may not exactly reflect recent updates and changes. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -4254,20 +4211,20 @@ func (c *SWF) UndeprecateDomainRequest(input *UndeprecateDomainInput) (req *requ // API operation UndeprecateDomain for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * DomainAlreadyExistsFault -// Returned if the domain already exists. You may get this fault if you are -// registering a domain that is either already registered or deprecated, or -// if you undeprecate a domain that is currently registered. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - DomainAlreadyExistsFault +// Returned if the domain already exists. You may get this fault if you are +// registering a domain that is either already registered or deprecated, or +// if you undeprecate a domain that is currently registered. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) UndeprecateDomain(input *UndeprecateDomainInput) (*UndeprecateDomainOutput, error) { req, out := c.UndeprecateDomainRequest(input) return out, req.Send() @@ -4305,14 +4262,13 @@ const opUndeprecateWorkflowType = "UndeprecateWorkflowType" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UndeprecateWorkflowTypeRequest method. +// req, resp := client.UndeprecateWorkflowTypeRequest(params) // -// // Example sending a request using the UndeprecateWorkflowTypeRequest method. -// req, resp := client.UndeprecateWorkflowTypeRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) UndeprecateWorkflowTypeRequest(input *UndeprecateWorkflowTypeInput) (req *request.Request, output *UndeprecateWorkflowTypeOutput) { op := &request.Operation{ Name: opUndeprecateWorkflowType, @@ -4338,20 +4294,20 @@ func (c *SWF) UndeprecateWorkflowTypeRequest(input *UndeprecateWorkflowTypeInput // This operation is eventually consistent. The results are best effort and // may not exactly reflect recent updates and changes. // -// Access Control +// # Access Control // // You can use IAM policies to control this action's access to Amazon SWF resources // as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. workflowType.name: String constraint. The key is -// swf:workflowType.name. workflowType.version: String constraint. The key -// is swf:workflowType.version. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. workflowType.name: String constraint. The key is +// swf:workflowType.name. workflowType.version: String constraint. The key +// is swf:workflowType.version. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -4368,20 +4324,20 @@ func (c *SWF) UndeprecateWorkflowTypeRequest(input *UndeprecateWorkflowTypeInput // API operation UndeprecateWorkflowType for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * TypeAlreadyExistsFault -// Returned if the type already exists in the specified domain. You may get -// this fault if you are registering a type that is either already registered -// or deprecated, or if you undeprecate a type that is currently registered. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - TypeAlreadyExistsFault +// Returned if the type already exists in the specified domain. You may get +// this fault if you are registering a type that is either already registered +// or deprecated, or if you undeprecate a type that is currently registered. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) UndeprecateWorkflowType(input *UndeprecateWorkflowTypeInput) (*UndeprecateWorkflowTypeOutput, error) { req, out := c.UndeprecateWorkflowTypeRequest(input) return out, req.Send() @@ -4419,14 +4375,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } func (c *SWF) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { op := &request.Operation{ Name: opUntagResource, @@ -4456,20 +4411,20 @@ func (c *SWF) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * UnknownResourceFault -// Returned when the named resource cannot be found with in the scope of this -// operation (region or domain). This could happen if the named resource was -// never created or is no longer available for this operation. // -// * LimitExceededFault -// Returned by any operation if a system imposed limitation has been reached. -// To address this fault you should either clean up unused resources or increase -// the limit by contacting AWS. +// - UnknownResourceFault +// Returned when the named resource cannot be found with in the scope of this +// operation (region or domain). This could happen if the named resource was +// never created or is no longer available for this operation. // -// * OperationNotPermittedFault -// Returned when the caller doesn't have sufficient permissions to invoke the -// action. +// - LimitExceededFault +// Returned by any operation if a system imposed limitation has been reached. +// To address this fault you should either clean up unused resources or increase +// the limit by contacting AWS. // +// - OperationNotPermittedFault +// Returned when the caller doesn't have sufficient permissions to invoke the +// action. func (c *SWF) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { req, out := c.UntagResourceRequest(input) return out, req.Send() @@ -5260,17 +5215,17 @@ func (s *ActivityTypeInfo) SetStatus(v string) *ActivityTypeInfo { // Provides the details of the CancelTimer decision. // -// Access Control +// # Access Control // // You can use IAM policies to control this decision's access to Amazon SWF // resources as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -5394,17 +5349,17 @@ func (s *CancelTimerFailedEventAttributes) SetTimerId(v string) *CancelTimerFail // Provides the details of the CancelWorkflowExecution decision. // -// Access Control +// # Access Control // // You can use IAM policies to control this decision's access to Amazon SWF // resources as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -6015,17 +5970,17 @@ func (s *CloseStatusFilter) SetStatus(v string) *CloseStatusFilter { // Provides the details of the CompleteWorkflowExecution decision. // -// Access Control +// # Access Control // // You can use IAM policies to control this decision's access to Amazon SWF // resources as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -6121,20 +6076,20 @@ func (s *CompleteWorkflowExecutionFailedEventAttributes) SetDecisionTaskComplete // Provides the details of the ContinueAsNewWorkflowExecution decision. // -// Access Control +// # Access Control // // You can use IAM policies to control this decision's access to Amazon SWF // resources as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. tag – A tag used to identify the workflow execution -// taskList – String constraint. The key is swf:taskList.name. workflowType.version -// – String constraint. The key is swf:workflowType.version. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. tag – A tag used to identify the workflow execution +// taskList – String constraint. The key is swf:taskList.name. workflowType.version +// – String constraint. The key is swf:workflowType.version. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -6787,54 +6742,54 @@ func (s *CountPendingDecisionTasksInput) SetTaskList(v *TaskList) *CountPendingD // Specifies a decision made by the decider. A decision can be one of these // types: // -// * CancelTimer – Cancels a previously started timer and records a TimerCanceled -// event in the history. +// - CancelTimer – Cancels a previously started timer and records a TimerCanceled +// event in the history. // -// * CancelWorkflowExecution – Closes the workflow execution and records -// a WorkflowExecutionCanceled event in the history. +// - CancelWorkflowExecution – Closes the workflow execution and records +// a WorkflowExecutionCanceled event in the history. // -// * CompleteWorkflowExecution – Closes the workflow execution and records -// a WorkflowExecutionCompleted event in the history . +// - CompleteWorkflowExecution – Closes the workflow execution and records +// a WorkflowExecutionCompleted event in the history . // -// * ContinueAsNewWorkflowExecution – Closes the workflow execution and -// starts a new workflow execution of the same type using the same workflow -// ID and a unique run Id. A WorkflowExecutionContinuedAsNew event is recorded -// in the history. +// - ContinueAsNewWorkflowExecution – Closes the workflow execution and +// starts a new workflow execution of the same type using the same workflow +// ID and a unique run Id. A WorkflowExecutionContinuedAsNew event is recorded +// in the history. // -// * FailWorkflowExecution – Closes the workflow execution and records -// a WorkflowExecutionFailed event in the history. +// - FailWorkflowExecution – Closes the workflow execution and records +// a WorkflowExecutionFailed event in the history. // -// * RecordMarker – Records a MarkerRecorded event in the history. Markers -// can be used for adding custom information in the history for instance -// to let deciders know that they don't need to look at the history beyond -// the marker event. +// - RecordMarker – Records a MarkerRecorded event in the history. Markers +// can be used for adding custom information in the history for instance +// to let deciders know that they don't need to look at the history beyond +// the marker event. // -// * RequestCancelActivityTask – Attempts to cancel a previously scheduled -// activity task. If the activity task was scheduled but has not been assigned -// to a worker, then it is canceled. If the activity task was already assigned -// to a worker, then the worker is informed that cancellation has been requested -// in the response to RecordActivityTaskHeartbeat. +// - RequestCancelActivityTask – Attempts to cancel a previously scheduled +// activity task. If the activity task was scheduled but has not been assigned +// to a worker, then it is canceled. If the activity task was already assigned +// to a worker, then the worker is informed that cancellation has been requested +// in the response to RecordActivityTaskHeartbeat. // -// * RequestCancelExternalWorkflowExecution – Requests that a request be -// made to cancel the specified external workflow execution and records a -// RequestCancelExternalWorkflowExecutionInitiated event in the history. +// - RequestCancelExternalWorkflowExecution – Requests that a request be +// made to cancel the specified external workflow execution and records a +// RequestCancelExternalWorkflowExecutionInitiated event in the history. // -// * ScheduleActivityTask – Schedules an activity task. +// - ScheduleActivityTask – Schedules an activity task. // -// * SignalExternalWorkflowExecution – Requests a signal to be delivered -// to the specified external workflow execution and records a SignalExternalWorkflowExecutionInitiated -// event in the history. +// - SignalExternalWorkflowExecution – Requests a signal to be delivered +// to the specified external workflow execution and records a SignalExternalWorkflowExecutionInitiated +// event in the history. // -// * StartChildWorkflowExecution – Requests that a child workflow execution -// be started and records a StartChildWorkflowExecutionInitiated event in -// the history. The child workflow execution is a separate workflow execution -// with its own history. +// - StartChildWorkflowExecution – Requests that a child workflow execution +// be started and records a StartChildWorkflowExecutionInitiated event in +// the history. The child workflow execution is a separate workflow execution +// with its own history. // -// * StartTimer – Starts a timer for this workflow execution and records -// a TimerStarted event in the history. This timer fires after the specified -// delay and record a TimerFired event. +// - StartTimer – Starts a timer for this workflow execution and records +// a TimerStarted event in the history. This timer fires after the specified +// delay and record a TimerFired event. // -// Access Control +// # Access Control // // If you grant permission to use RespondDecisionTaskCompleted, you can use // IAM policies to express permissions for the list of decisions returned by @@ -6844,17 +6799,17 @@ func (s *CountPendingDecisionTasksInput) SetTaskList(v *TaskList) *CountPendingD // SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) // in the Amazon SWF Developer Guide. // -// Decision Failure +// # Decision Failure // // Decisions can fail for several reasons // -// * The ordering of decisions should follow a logical flow. Some decisions -// might not make sense in the current context of the workflow execution -// and therefore fails. +// - The ordering of decisions should follow a logical flow. Some decisions +// might not make sense in the current context of the workflow execution +// and therefore fails. // -// * A limit on your account was reached. +// - A limit on your account was reached. // -// * The decision lacks sufficient permissions. +// - The decision lacks sufficient permissions. // // One of the following events might be added to the history to indicate an // error. The event attribute's cause parameter indicates the cause. If cause @@ -6863,48 +6818,48 @@ func (s *CountPendingDecisionTasksInput) SetTaskList(v *TaskList) *CountPendingD // to Manage Access to Amazon SWF Workflows (https://docs.aws.amazon.com/amazonswf/latest/developerguide/swf-dev-iam.html) // in the Amazon SWF Developer Guide. // -// * ScheduleActivityTaskFailed – A ScheduleActivityTask decision failed. -// This could happen if the activity type specified in the decision isn't -// registered, is in a deprecated state, or the decision isn't properly configured. +// - ScheduleActivityTaskFailed – A ScheduleActivityTask decision failed. +// This could happen if the activity type specified in the decision isn't +// registered, is in a deprecated state, or the decision isn't properly configured. // -// * RequestCancelActivityTaskFailed – A RequestCancelActivityTask decision -// failed. This could happen if there is no open activity task with the specified -// activityId. +// - RequestCancelActivityTaskFailed – A RequestCancelActivityTask decision +// failed. This could happen if there is no open activity task with the specified +// activityId. // -// * StartTimerFailed – A StartTimer decision failed. This could happen -// if there is another open timer with the same timerId. +// - StartTimerFailed – A StartTimer decision failed. This could happen +// if there is another open timer with the same timerId. // -// * CancelTimerFailed – A CancelTimer decision failed. This could happen -// if there is no open timer with the specified timerId. +// - CancelTimerFailed – A CancelTimer decision failed. This could happen +// if there is no open timer with the specified timerId. // -// * StartChildWorkflowExecutionFailed – A StartChildWorkflowExecution -// decision failed. This could happen if the workflow type specified isn't -// registered, is deprecated, or the decision isn't properly configured. +// - StartChildWorkflowExecutionFailed – A StartChildWorkflowExecution +// decision failed. This could happen if the workflow type specified isn't +// registered, is deprecated, or the decision isn't properly configured. // -// * SignalExternalWorkflowExecutionFailed – A SignalExternalWorkflowExecution -// decision failed. This could happen if the workflowID specified in the -// decision was incorrect. +// - SignalExternalWorkflowExecutionFailed – A SignalExternalWorkflowExecution +// decision failed. This could happen if the workflowID specified in the +// decision was incorrect. // -// * RequestCancelExternalWorkflowExecutionFailed – A RequestCancelExternalWorkflowExecution -// decision failed. This could happen if the workflowID specified in the -// decision was incorrect. +// - RequestCancelExternalWorkflowExecutionFailed – A RequestCancelExternalWorkflowExecution +// decision failed. This could happen if the workflowID specified in the +// decision was incorrect. // -// * CancelWorkflowExecutionFailed – A CancelWorkflowExecution decision -// failed. This could happen if there is an unhandled decision task pending -// in the workflow execution. +// - CancelWorkflowExecutionFailed – A CancelWorkflowExecution decision +// failed. This could happen if there is an unhandled decision task pending +// in the workflow execution. // -// * CompleteWorkflowExecutionFailed – A CompleteWorkflowExecution decision -// failed. This could happen if there is an unhandled decision task pending -// in the workflow execution. +// - CompleteWorkflowExecutionFailed – A CompleteWorkflowExecution decision +// failed. This could happen if there is an unhandled decision task pending +// in the workflow execution. // -// * ContinueAsNewWorkflowExecutionFailed – A ContinueAsNewWorkflowExecution -// decision failed. This could happen if there is an unhandled decision task -// pending in the workflow execution or the ContinueAsNewWorkflowExecution -// decision was not configured correctly. +// - ContinueAsNewWorkflowExecutionFailed – A ContinueAsNewWorkflowExecution +// decision failed. This could happen if there is an unhandled decision task +// pending in the workflow execution or the ContinueAsNewWorkflowExecution +// decision was not configured correctly. // -// * FailWorkflowExecutionFailed – A FailWorkflowExecution decision failed. -// This could happen if there is an unhandled decision task pending in the -// workflow execution. +// - FailWorkflowExecutionFailed – A FailWorkflowExecution decision failed. +// This could happen if there is an unhandled decision task pending in the +// workflow execution. // // The preceding error events might occur due to an error in the decider logic, // which might put the workflow execution in an unstable state The cause field @@ -6922,35 +6877,35 @@ func (s *CountPendingDecisionTasksInput) SetTaskList(v *TaskList) *CountPendingD // new events included in the history. The decider should handle the new events // and may decide to close the workflow execution. // -// How to Code a Decision +// # How to Code a Decision // // You code a decision by first setting the decision type field to one of the // above decision values, and then set the corresponding attributes field shown // below: // -// * ScheduleActivityTaskDecisionAttributes +// - ScheduleActivityTaskDecisionAttributes // -// * RequestCancelActivityTaskDecisionAttributes +// - RequestCancelActivityTaskDecisionAttributes // -// * CompleteWorkflowExecutionDecisionAttributes +// - CompleteWorkflowExecutionDecisionAttributes // -// * FailWorkflowExecutionDecisionAttributes +// - FailWorkflowExecutionDecisionAttributes // -// * CancelWorkflowExecutionDecisionAttributes +// - CancelWorkflowExecutionDecisionAttributes // -// * ContinueAsNewWorkflowExecutionDecisionAttributes +// - ContinueAsNewWorkflowExecutionDecisionAttributes // -// * RecordMarkerDecisionAttributes +// - RecordMarkerDecisionAttributes // -// * StartTimerDecisionAttributes +// - StartTimerDecisionAttributes // -// * CancelTimerDecisionAttributes +// - CancelTimerDecisionAttributes // -// * SignalExternalWorkflowExecutionDecisionAttributes +// - SignalExternalWorkflowExecutionDecisionAttributes // -// * RequestCancelExternalWorkflowExecutionDecisionAttributes +// - RequestCancelExternalWorkflowExecutionDecisionAttributes // -// * StartChildWorkflowExecutionDecisionAttributes +// - StartChildWorkflowExecutionDecisionAttributes type Decision struct { _ struct{} `type:"structure"` @@ -8612,17 +8567,17 @@ func (s *ExternalWorkflowExecutionSignaledEventAttributes) SetWorkflowExecution( // Provides the details of the FailWorkflowExecution decision. // -// Access Control +// # Access Control // // You can use IAM policies to control this decision's access to Amazon SWF // resources as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -8881,144 +8836,144 @@ func (s *GetWorkflowExecutionHistoryOutput) SetNextPageToken(v string) *GetWorkf // Event within a workflow execution. A history event can be one of these types: // -// * ActivityTaskCancelRequested – A RequestCancelActivityTask decision -// was received by the system. +// - ActivityTaskCancelRequested – A RequestCancelActivityTask decision +// was received by the system. // -// * ActivityTaskCanceled – The activity task was successfully canceled. +// - ActivityTaskCanceled – The activity task was successfully canceled. // -// * ActivityTaskCompleted – An activity worker successfully completed -// an activity task by calling RespondActivityTaskCompleted. +// - ActivityTaskCompleted – An activity worker successfully completed +// an activity task by calling RespondActivityTaskCompleted. // -// * ActivityTaskFailed – An activity worker failed an activity task by -// calling RespondActivityTaskFailed. +// - ActivityTaskFailed – An activity worker failed an activity task by +// calling RespondActivityTaskFailed. // -// * ActivityTaskScheduled – An activity task was scheduled for execution. +// - ActivityTaskScheduled – An activity task was scheduled for execution. // -// * ActivityTaskStarted – The scheduled activity task was dispatched to -// a worker. +// - ActivityTaskStarted – The scheduled activity task was dispatched to +// a worker. // -// * ActivityTaskTimedOut – The activity task timed out. +// - ActivityTaskTimedOut – The activity task timed out. // -// * CancelTimerFailed – Failed to process CancelTimer decision. This happens -// when the decision isn't configured properly, for example no timer exists -// with the specified timer Id. +// - CancelTimerFailed – Failed to process CancelTimer decision. This happens +// when the decision isn't configured properly, for example no timer exists +// with the specified timer Id. // -// * CancelWorkflowExecutionFailed – A request to cancel a workflow execution -// failed. +// - CancelWorkflowExecutionFailed – A request to cancel a workflow execution +// failed. // -// * ChildWorkflowExecutionCanceled – A child workflow execution, started -// by this workflow execution, was canceled and closed. +// - ChildWorkflowExecutionCanceled – A child workflow execution, started +// by this workflow execution, was canceled and closed. // -// * ChildWorkflowExecutionCompleted – A child workflow execution, started -// by this workflow execution, completed successfully and was closed. +// - ChildWorkflowExecutionCompleted – A child workflow execution, started +// by this workflow execution, completed successfully and was closed. // -// * ChildWorkflowExecutionFailed – A child workflow execution, started -// by this workflow execution, failed to complete successfully and was closed. +// - ChildWorkflowExecutionFailed – A child workflow execution, started +// by this workflow execution, failed to complete successfully and was closed. // -// * ChildWorkflowExecutionStarted – A child workflow execution was successfully -// started. +// - ChildWorkflowExecutionStarted – A child workflow execution was successfully +// started. // -// * ChildWorkflowExecutionTerminated – A child workflow execution, started -// by this workflow execution, was terminated. +// - ChildWorkflowExecutionTerminated – A child workflow execution, started +// by this workflow execution, was terminated. // -// * ChildWorkflowExecutionTimedOut – A child workflow execution, started -// by this workflow execution, timed out and was closed. +// - ChildWorkflowExecutionTimedOut – A child workflow execution, started +// by this workflow execution, timed out and was closed. // -// * CompleteWorkflowExecutionFailed – The workflow execution failed to -// complete. +// - CompleteWorkflowExecutionFailed – The workflow execution failed to +// complete. // -// * ContinueAsNewWorkflowExecutionFailed – The workflow execution failed -// to complete after being continued as a new workflow execution. +// - ContinueAsNewWorkflowExecutionFailed – The workflow execution failed +// to complete after being continued as a new workflow execution. // -// * DecisionTaskCompleted – The decider successfully completed a decision -// task by calling RespondDecisionTaskCompleted. +// - DecisionTaskCompleted – The decider successfully completed a decision +// task by calling RespondDecisionTaskCompleted. // -// * DecisionTaskScheduled – A decision task was scheduled for the workflow -// execution. +// - DecisionTaskScheduled – A decision task was scheduled for the workflow +// execution. // -// * DecisionTaskStarted – The decision task was dispatched to a decider. +// - DecisionTaskStarted – The decision task was dispatched to a decider. // -// * DecisionTaskTimedOut – The decision task timed out. +// - DecisionTaskTimedOut – The decision task timed out. // -// * ExternalWorkflowExecutionCancelRequested – Request to cancel an external -// workflow execution was successfully delivered to the target execution. +// - ExternalWorkflowExecutionCancelRequested – Request to cancel an external +// workflow execution was successfully delivered to the target execution. // -// * ExternalWorkflowExecutionSignaled – A signal, requested by this workflow -// execution, was successfully delivered to the target external workflow -// execution. +// - ExternalWorkflowExecutionSignaled – A signal, requested by this workflow +// execution, was successfully delivered to the target external workflow +// execution. // -// * FailWorkflowExecutionFailed – A request to mark a workflow execution -// as failed, itself failed. +// - FailWorkflowExecutionFailed – A request to mark a workflow execution +// as failed, itself failed. // -// * MarkerRecorded – A marker was recorded in the workflow history as -// the result of a RecordMarker decision. +// - MarkerRecorded – A marker was recorded in the workflow history as +// the result of a RecordMarker decision. // -// * RecordMarkerFailed – A RecordMarker decision was returned as failed. +// - RecordMarkerFailed – A RecordMarker decision was returned as failed. // -// * RequestCancelActivityTaskFailed – Failed to process RequestCancelActivityTask -// decision. This happens when the decision isn't configured properly. +// - RequestCancelActivityTaskFailed – Failed to process RequestCancelActivityTask +// decision. This happens when the decision isn't configured properly. // -// * RequestCancelExternalWorkflowExecutionFailed – Request to cancel an -// external workflow execution failed. +// - RequestCancelExternalWorkflowExecutionFailed – Request to cancel an +// external workflow execution failed. // -// * RequestCancelExternalWorkflowExecutionInitiated – A request was made -// to request the cancellation of an external workflow execution. +// - RequestCancelExternalWorkflowExecutionInitiated – A request was made +// to request the cancellation of an external workflow execution. // -// * ScheduleActivityTaskFailed – Failed to process ScheduleActivityTask -// decision. This happens when the decision isn't configured properly, for -// example the activity type specified isn't registered. +// - ScheduleActivityTaskFailed – Failed to process ScheduleActivityTask +// decision. This happens when the decision isn't configured properly, for +// example the activity type specified isn't registered. // -// * SignalExternalWorkflowExecutionFailed – The request to signal an external -// workflow execution failed. +// - SignalExternalWorkflowExecutionFailed – The request to signal an external +// workflow execution failed. // -// * SignalExternalWorkflowExecutionInitiated – A request to signal an -// external workflow was made. +// - SignalExternalWorkflowExecutionInitiated – A request to signal an +// external workflow was made. // -// * StartActivityTaskFailed – A scheduled activity task failed to start. +// - StartActivityTaskFailed – A scheduled activity task failed to start. // -// * StartChildWorkflowExecutionFailed – Failed to process StartChildWorkflowExecution -// decision. This happens when the decision isn't configured properly, for -// example the workflow type specified isn't registered. +// - StartChildWorkflowExecutionFailed – Failed to process StartChildWorkflowExecution +// decision. This happens when the decision isn't configured properly, for +// example the workflow type specified isn't registered. // -// * StartChildWorkflowExecutionInitiated – A request was made to start -// a child workflow execution. +// - StartChildWorkflowExecutionInitiated – A request was made to start +// a child workflow execution. // -// * StartTimerFailed – Failed to process StartTimer decision. This happens -// when the decision isn't configured properly, for example a timer already -// exists with the specified timer Id. +// - StartTimerFailed – Failed to process StartTimer decision. This happens +// when the decision isn't configured properly, for example a timer already +// exists with the specified timer Id. // -// * TimerCanceled – A timer, previously started for this workflow execution, -// was successfully canceled. +// - TimerCanceled – A timer, previously started for this workflow execution, +// was successfully canceled. // -// * TimerFired – A timer, previously started for this workflow execution, -// fired. +// - TimerFired – A timer, previously started for this workflow execution, +// fired. // -// * TimerStarted – A timer was started for the workflow execution due -// to a StartTimer decision. +// - TimerStarted – A timer was started for the workflow execution due +// to a StartTimer decision. // -// * WorkflowExecutionCancelRequested – A request to cancel this workflow -// execution was made. +// - WorkflowExecutionCancelRequested – A request to cancel this workflow +// execution was made. // -// * WorkflowExecutionCanceled – The workflow execution was successfully -// canceled and closed. +// - WorkflowExecutionCanceled – The workflow execution was successfully +// canceled and closed. // -// * WorkflowExecutionCompleted – The workflow execution was closed due -// to successful completion. +// - WorkflowExecutionCompleted – The workflow execution was closed due +// to successful completion. // -// * WorkflowExecutionContinuedAsNew – The workflow execution was closed -// and a new execution of the same type was created with the same workflowId. +// - WorkflowExecutionContinuedAsNew – The workflow execution was closed +// and a new execution of the same type was created with the same workflowId. // -// * WorkflowExecutionFailed – The workflow execution closed due to a failure. +// - WorkflowExecutionFailed – The workflow execution closed due to a failure. // -// * WorkflowExecutionSignaled – An external signal was received for the -// workflow execution. +// - WorkflowExecutionSignaled – An external signal was received for the +// workflow execution. // -// * WorkflowExecutionStarted – The workflow execution was started. +// - WorkflowExecutionStarted – The workflow execution was started. // -// * WorkflowExecutionTerminated – The workflow execution was terminated. +// - WorkflowExecutionTerminated – The workflow execution was terminated. // -// * WorkflowExecutionTimedOut – The workflow execution was closed because -// a time out was exceeded. +// - WorkflowExecutionTimedOut – The workflow execution was closed because +// a time out was exceeded. type HistoryEvent struct { _ struct{} `type:"structure"` @@ -11590,17 +11545,17 @@ func (s *RecordActivityTaskHeartbeatOutput) SetCancelRequested(v bool) *RecordAc // Provides the details of the RecordMarker decision. // -// Access Control +// # Access Control // // You can use IAM policies to control this decision's access to Amazon SWF // resources as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -12318,17 +12273,17 @@ func (s RegisterWorkflowTypeOutput) GoString() string { // Provides the details of the RequestCancelActivityTask decision. // -// Access Control +// # Access Control // // You can use IAM policies to control this decision's access to Amazon SWF // resources as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -12452,17 +12407,17 @@ func (s *RequestCancelActivityTaskFailedEventAttributes) SetDecisionTaskComplete // Provides the details of the RequestCancelExternalWorkflowExecution decision. // -// Access Control +// # Access Control // // You can use IAM policies to control this decision's access to Amazon SWF // resources as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -13235,21 +13190,21 @@ func (s RespondDecisionTaskCompletedOutput) GoString() string { // Provides the details of the ScheduleActivityTask decision. // -// Access Control +// # Access Control // // You can use IAM policies to control this decision's access to Amazon SWF // resources as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. activityType.name – String constraint. The key -// is swf:activityType.name. activityType.version – String constraint. -// The key is swf:activityType.version. taskList – String constraint. The -// key is swf:taskList.name. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. activityType.name – String constraint. The key +// is swf:activityType.name. activityType.version – String constraint. +// The key is swf:activityType.version. taskList – String constraint. The +// key is swf:taskList.name. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -13714,17 +13669,17 @@ func (s *ScheduleLambdaFunctionFailedEventAttributes) SetName(v string) *Schedul // Provides the details of the SignalExternalWorkflowExecution decision. // -// Access Control +// # Access Control // // You can use IAM policies to control this decision's access to Amazon SWF // resources as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -14141,22 +14096,22 @@ func (s SignalWorkflowExecutionOutput) GoString() string { // Provides the details of the StartChildWorkflowExecution decision. // -// Access Control +// # Access Control // // You can use IAM policies to control this decision's access to Amazon SWF // resources as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * Constrain the following parameters by using a Condition element with -// the appropriate keys. tagList.member.N – The key is "swf:tagList.N" -// where N is the tag number from 0 to 4, inclusive. taskList – String -// constraint. The key is swf:taskList.name. workflowType.name – String -// constraint. The key is swf:workflowType.name. workflowType.version – -// String constraint. The key is swf:workflowType.version. +// - Constrain the following parameters by using a Condition element with +// the appropriate keys. tagList.member.N – The key is "swf:tagList.N" +// where N is the tag number from 0 to 4, inclusive. taskList – String +// constraint. The key is swf:taskList.name. workflowType.name – String +// constraint. The key is swf:workflowType.name. workflowType.version – +// String constraint. The key is swf:workflowType.version. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. @@ -14723,17 +14678,17 @@ func (s *StartLambdaFunctionFailedEventAttributes) SetScheduledEventId(v int64) // Provides the details of the StartTimer decision. // -// Access Control +// # Access Control // // You can use IAM policies to control this decision's access to Amazon SWF // resources as follows: // -// * Use a Resource element with the domain name to limit the action to only -// specified domains. +// - Use a Resource element with the domain name to limit the action to only +// specified domains. // -// * Use an Action element to allow or deny permission to call this action. +// - Use an Action element to allow or deny permission to call this action. // -// * You cannot use an IAM policy to constrain this action's parameters. +// - You cannot use an IAM policy to constrain this action's parameters. // // If the caller doesn't have sufficient permissions to invoke the action, or // the parameter values fall outside the specified constraints, the action fails. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/doc.go index b1f55c0dbc7b..975ae9410e4b 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/doc.go @@ -20,7 +20,7 @@ // See swf package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/swf/ // -// Using the Client +// # Using the Client // // To contact Amazon Simple Workflow Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/service.go index 5c371459d872..6f4c852c5d9d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a SWF client from just a session. -// svc := swf.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a SWF client with additional configuration -// svc := swf.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a SWF client from just a session. +// svc := swf.New(mySession) +// +// // Create a SWF client with additional configuration +// svc := swf.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *SWF { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/swfiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/swfiface/interface.go index 9186710ffa99..c872e942590f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/swfiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/swf/swfiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Simple Workflow Service. -// func myFunc(svc swfiface.SWFAPI) bool { -// // Make svc.CountClosedWorkflowExecutions request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Simple Workflow Service. +// func myFunc(svc swfiface.SWFAPI) bool { +// // Make svc.CountClosedWorkflowExecutions request +// } // -// func main() { -// sess := session.New() -// svc := swf.New(sess) +// func main() { +// sess := session.New() +// svc := swf.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSWFClient struct { -// swfiface.SWFAPI -// } -// func (m *mockSWFClient) CountClosedWorkflowExecutions(input *swf.CountClosedWorkflowExecutionsInput) (*swf.WorkflowExecutionCount, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSWFClient struct { +// swfiface.SWFAPI +// } +// func (m *mockSWFClient) CountClosedWorkflowExecutions(input *swf.CountClosedWorkflowExecutionsInput) (*swf.WorkflowExecutionCount, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSWFClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSWFClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/api.go index 8c2063d39137..416d0328d0f4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/api.go @@ -29,14 +29,13 @@ const opCreateCanary = "CreateCanary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCanaryRequest method. +// req, resp := client.CreateCanaryRequest(params) // -// // Example sending a request using the CreateCanaryRequest method. -// req, resp := client.CreateCanaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CreateCanary func (c *Synthetics) CreateCanaryRequest(input *CreateCanaryInput) (req *request.Request, output *CreateCanaryOutput) { @@ -84,14 +83,15 @@ func (c *Synthetics) CreateCanaryRequest(input *CreateCanaryInput) (req *request // API operation CreateCanary for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unknown internal error occurred. // -// * ValidationException -// A parameter could not be validated. +// - InternalServerException +// An unknown internal error occurred. +// +// - ValidationException +// A parameter could not be validated. // -// * RequestEntityTooLargeException -// One of the input resources is larger than is allowed. +// - RequestEntityTooLargeException +// One of the input resources is larger than is allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/CreateCanary func (c *Synthetics) CreateCanary(input *CreateCanaryInput) (*CreateCanaryOutput, error) { @@ -131,14 +131,13 @@ const opDeleteCanary = "DeleteCanary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCanaryRequest method. +// req, resp := client.DeleteCanaryRequest(params) // -// // Example sending a request using the DeleteCanaryRequest method. -// req, resp := client.DeleteCanaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DeleteCanary func (c *Synthetics) DeleteCanaryRequest(input *DeleteCanaryInput) (req *request.Request, output *DeleteCanaryOutput) { @@ -169,16 +168,16 @@ func (c *Synthetics) DeleteCanaryRequest(input *DeleteCanaryInput) (req *request // After you delete a canary that you do not intend to use again, you should // also delete the following: // -// * The CloudWatch alarms created for this canary. These alarms have a name -// of Synthetics-SharpDrop-Alarm-MyCanaryName . +// - The CloudWatch alarms created for this canary. These alarms have a name +// of Synthetics-SharpDrop-Alarm-MyCanaryName . // -// * Amazon S3 objects and buckets, such as the canary's artifact location. +// - Amazon S3 objects and buckets, such as the canary's artifact location. // -// * IAM roles created for the canary. If they were created in the console, -// these roles have the name role/service-role/CloudWatchSyntheticsRole-MyCanaryName . +// - IAM roles created for the canary. If they were created in the console, +// these roles have the name role/service-role/CloudWatchSyntheticsRole-MyCanaryName . // -// * CloudWatch Logs log groups created for the canary. These logs groups -// have the name /aws/lambda/cwsyn-MyCanaryName . +// - CloudWatch Logs log groups created for the canary. These logs groups +// have the name /aws/lambda/cwsyn-MyCanaryName . // // Before you delete a canary, you might want to use GetCanary to display the // information about this canary. Make note of the information returned by this @@ -192,17 +191,18 @@ func (c *Synthetics) DeleteCanaryRequest(input *DeleteCanaryInput) (req *request // API operation DeleteCanary for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unknown internal error occurred. // -// * ValidationException -// A parameter could not be validated. +// - InternalServerException +// An unknown internal error occurred. +// +// - ValidationException +// A parameter could not be validated. // -// * ResourceNotFoundException -// One of the specified resources was not found. +// - ResourceNotFoundException +// One of the specified resources was not found. // -// * ConflictException -// A conflicting operation is already in progress. +// - ConflictException +// A conflicting operation is already in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DeleteCanary func (c *Synthetics) DeleteCanary(input *DeleteCanaryInput) (*DeleteCanaryOutput, error) { @@ -242,14 +242,13 @@ const opDescribeCanaries = "DescribeCanaries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCanariesRequest method. +// req, resp := client.DescribeCanariesRequest(params) // -// // Example sending a request using the DescribeCanariesRequest method. -// req, resp := client.DescribeCanariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeCanaries func (c *Synthetics) DescribeCanariesRequest(input *DescribeCanariesInput) (req *request.Request, output *DescribeCanariesOutput) { @@ -298,11 +297,12 @@ func (c *Synthetics) DescribeCanariesRequest(input *DescribeCanariesInput) (req // API operation DescribeCanaries for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unknown internal error occurred. // -// * ValidationException -// A parameter could not be validated. +// - InternalServerException +// An unknown internal error occurred. +// +// - ValidationException +// A parameter could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeCanaries func (c *Synthetics) DescribeCanaries(input *DescribeCanariesInput) (*DescribeCanariesOutput, error) { @@ -334,15 +334,14 @@ func (c *Synthetics) DescribeCanariesWithContext(ctx aws.Context, input *Describ // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCanaries operation. -// pageNum := 0 -// err := client.DescribeCanariesPages(params, -// func(page *synthetics.DescribeCanariesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCanaries operation. +// pageNum := 0 +// err := client.DescribeCanariesPages(params, +// func(page *synthetics.DescribeCanariesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Synthetics) DescribeCanariesPages(input *DescribeCanariesInput, fn func(*DescribeCanariesOutput, bool) bool) error { return c.DescribeCanariesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -394,14 +393,13 @@ const opDescribeCanariesLastRun = "DescribeCanariesLastRun" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCanariesLastRunRequest method. +// req, resp := client.DescribeCanariesLastRunRequest(params) // -// // Example sending a request using the DescribeCanariesLastRunRequest method. -// req, resp := client.DescribeCanariesLastRunRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeCanariesLastRun func (c *Synthetics) DescribeCanariesLastRunRequest(input *DescribeCanariesLastRunInput) (req *request.Request, output *DescribeCanariesLastRunOutput) { @@ -450,11 +448,12 @@ func (c *Synthetics) DescribeCanariesLastRunRequest(input *DescribeCanariesLastR // API operation DescribeCanariesLastRun for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unknown internal error occurred. // -// * ValidationException -// A parameter could not be validated. +// - InternalServerException +// An unknown internal error occurred. +// +// - ValidationException +// A parameter could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeCanariesLastRun func (c *Synthetics) DescribeCanariesLastRun(input *DescribeCanariesLastRunInput) (*DescribeCanariesLastRunOutput, error) { @@ -486,15 +485,14 @@ func (c *Synthetics) DescribeCanariesLastRunWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeCanariesLastRun operation. -// pageNum := 0 -// err := client.DescribeCanariesLastRunPages(params, -// func(page *synthetics.DescribeCanariesLastRunOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeCanariesLastRun operation. +// pageNum := 0 +// err := client.DescribeCanariesLastRunPages(params, +// func(page *synthetics.DescribeCanariesLastRunOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Synthetics) DescribeCanariesLastRunPages(input *DescribeCanariesLastRunInput, fn func(*DescribeCanariesLastRunOutput, bool) bool) error { return c.DescribeCanariesLastRunPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -546,14 +544,13 @@ const opDescribeRuntimeVersions = "DescribeRuntimeVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRuntimeVersionsRequest method. +// req, resp := client.DescribeRuntimeVersionsRequest(params) // -// // Example sending a request using the DescribeRuntimeVersionsRequest method. -// req, resp := client.DescribeRuntimeVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeRuntimeVersions func (c *Synthetics) DescribeRuntimeVersionsRequest(input *DescribeRuntimeVersionsInput) (req *request.Request, output *DescribeRuntimeVersionsOutput) { @@ -591,11 +588,12 @@ func (c *Synthetics) DescribeRuntimeVersionsRequest(input *DescribeRuntimeVersio // API operation DescribeRuntimeVersions for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unknown internal error occurred. // -// * ValidationException -// A parameter could not be validated. +// - InternalServerException +// An unknown internal error occurred. +// +// - ValidationException +// A parameter could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/DescribeRuntimeVersions func (c *Synthetics) DescribeRuntimeVersions(input *DescribeRuntimeVersionsInput) (*DescribeRuntimeVersionsOutput, error) { @@ -627,15 +625,14 @@ func (c *Synthetics) DescribeRuntimeVersionsWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeRuntimeVersions operation. -// pageNum := 0 -// err := client.DescribeRuntimeVersionsPages(params, -// func(page *synthetics.DescribeRuntimeVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeRuntimeVersions operation. +// pageNum := 0 +// err := client.DescribeRuntimeVersionsPages(params, +// func(page *synthetics.DescribeRuntimeVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Synthetics) DescribeRuntimeVersionsPages(input *DescribeRuntimeVersionsInput, fn func(*DescribeRuntimeVersionsOutput, bool) bool) error { return c.DescribeRuntimeVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -687,14 +684,13 @@ const opGetCanary = "GetCanary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCanaryRequest method. +// req, resp := client.GetCanaryRequest(params) // -// // Example sending a request using the GetCanaryRequest method. -// req, resp := client.GetCanaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/GetCanary func (c *Synthetics) GetCanaryRequest(input *GetCanaryInput) (req *request.Request, output *GetCanaryOutput) { @@ -727,11 +723,12 @@ func (c *Synthetics) GetCanaryRequest(input *GetCanaryInput) (req *request.Reque // API operation GetCanary for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unknown internal error occurred. // -// * ValidationException -// A parameter could not be validated. +// - InternalServerException +// An unknown internal error occurred. +// +// - ValidationException +// A parameter could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/GetCanary func (c *Synthetics) GetCanary(input *GetCanaryInput) (*GetCanaryOutput, error) { @@ -771,14 +768,13 @@ const opGetCanaryRuns = "GetCanaryRuns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCanaryRunsRequest method. +// req, resp := client.GetCanaryRunsRequest(params) // -// // Example sending a request using the GetCanaryRunsRequest method. -// req, resp := client.GetCanaryRunsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/GetCanaryRuns func (c *Synthetics) GetCanaryRunsRequest(input *GetCanaryRunsInput) (req *request.Request, output *GetCanaryRunsOutput) { @@ -815,14 +811,15 @@ func (c *Synthetics) GetCanaryRunsRequest(input *GetCanaryRunsInput) (req *reque // API operation GetCanaryRuns for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unknown internal error occurred. // -// * ValidationException -// A parameter could not be validated. +// - InternalServerException +// An unknown internal error occurred. +// +// - ValidationException +// A parameter could not be validated. // -// * ResourceNotFoundException -// One of the specified resources was not found. +// - ResourceNotFoundException +// One of the specified resources was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/GetCanaryRuns func (c *Synthetics) GetCanaryRuns(input *GetCanaryRunsInput) (*GetCanaryRunsOutput, error) { @@ -854,15 +851,14 @@ func (c *Synthetics) GetCanaryRunsWithContext(ctx aws.Context, input *GetCanaryR // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetCanaryRuns operation. -// pageNum := 0 -// err := client.GetCanaryRunsPages(params, -// func(page *synthetics.GetCanaryRunsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetCanaryRuns operation. +// pageNum := 0 +// err := client.GetCanaryRunsPages(params, +// func(page *synthetics.GetCanaryRunsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Synthetics) GetCanaryRunsPages(input *GetCanaryRunsInput, fn func(*GetCanaryRunsOutput, bool) bool) error { return c.GetCanaryRunsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -914,14 +910,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/ListTagsForResource func (c *Synthetics) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -952,14 +947,15 @@ func (c *Synthetics) ListTagsForResourceRequest(input *ListTagsForResourceInput) // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unknown internal error occurred. // -// * ResourceNotFoundException -// One of the specified resources was not found. +// - InternalServerException +// An unknown internal error occurred. // -// * ValidationException -// A parameter could not be validated. +// - ResourceNotFoundException +// One of the specified resources was not found. +// +// - ValidationException +// A parameter could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/ListTagsForResource func (c *Synthetics) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -999,14 +995,13 @@ const opStartCanary = "StartCanary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartCanaryRequest method. +// req, resp := client.StartCanaryRequest(params) // -// // Example sending a request using the StartCanaryRequest method. -// req, resp := client.StartCanaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/StartCanary func (c *Synthetics) StartCanaryRequest(input *StartCanaryInput) (req *request.Request, output *StartCanaryOutput) { @@ -1040,17 +1035,18 @@ func (c *Synthetics) StartCanaryRequest(input *StartCanaryInput) (req *request.R // API operation StartCanary for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unknown internal error occurred. // -// * ValidationException -// A parameter could not be validated. +// - InternalServerException +// An unknown internal error occurred. // -// * ResourceNotFoundException -// One of the specified resources was not found. +// - ValidationException +// A parameter could not be validated. // -// * ConflictException -// A conflicting operation is already in progress. +// - ResourceNotFoundException +// One of the specified resources was not found. +// +// - ConflictException +// A conflicting operation is already in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/StartCanary func (c *Synthetics) StartCanary(input *StartCanaryInput) (*StartCanaryOutput, error) { @@ -1090,14 +1086,13 @@ const opStopCanary = "StopCanary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopCanaryRequest method. +// req, resp := client.StopCanaryRequest(params) // -// // Example sending a request using the StopCanaryRequest method. -// req, resp := client.StopCanaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/StopCanary func (c *Synthetics) StopCanaryRequest(input *StopCanaryInput) (req *request.Request, output *StopCanaryOutput) { @@ -1135,17 +1130,18 @@ func (c *Synthetics) StopCanaryRequest(input *StopCanaryInput) (req *request.Req // API operation StopCanary for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unknown internal error occurred. // -// * ValidationException -// A parameter could not be validated. +// - InternalServerException +// An unknown internal error occurred. // -// * ResourceNotFoundException -// One of the specified resources was not found. +// - ValidationException +// A parameter could not be validated. // -// * ConflictException -// A conflicting operation is already in progress. +// - ResourceNotFoundException +// One of the specified resources was not found. +// +// - ConflictException +// A conflicting operation is already in progress. // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/StopCanary func (c *Synthetics) StopCanary(input *StopCanaryInput) (*StopCanaryOutput, error) { @@ -1185,14 +1181,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/TagResource func (c *Synthetics) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1239,14 +1234,15 @@ func (c *Synthetics) TagResourceRequest(input *TagResourceInput) (req *request.R // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unknown internal error occurred. // -// * ResourceNotFoundException -// One of the specified resources was not found. +// - InternalServerException +// An unknown internal error occurred. // -// * ValidationException -// A parameter could not be validated. +// - ResourceNotFoundException +// One of the specified resources was not found. +// +// - ValidationException +// A parameter could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/TagResource func (c *Synthetics) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1286,14 +1282,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UntagResource func (c *Synthetics) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1325,14 +1320,15 @@ func (c *Synthetics) UntagResourceRequest(input *UntagResourceInput) (req *reque // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unknown internal error occurred. // -// * ResourceNotFoundException -// One of the specified resources was not found. +// - InternalServerException +// An unknown internal error occurred. // -// * ValidationException -// A parameter could not be validated. +// - ResourceNotFoundException +// One of the specified resources was not found. +// +// - ValidationException +// A parameter could not be validated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UntagResource func (c *Synthetics) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1372,14 +1368,13 @@ const opUpdateCanary = "UpdateCanary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCanaryRequest method. +// req, resp := client.UpdateCanaryRequest(params) // -// // Example sending a request using the UpdateCanaryRequest method. -// req, resp := client.UpdateCanaryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanary func (c *Synthetics) UpdateCanaryRequest(input *UpdateCanaryInput) (req *request.Request, output *UpdateCanaryOutput) { @@ -1415,20 +1410,21 @@ func (c *Synthetics) UpdateCanaryRequest(input *UpdateCanaryInput) (req *request // API operation UpdateCanary for usage and error information. // // Returned Error Types: -// * InternalServerException -// An unknown internal error occurred. // -// * ValidationException -// A parameter could not be validated. +// - InternalServerException +// An unknown internal error occurred. +// +// - ValidationException +// A parameter could not be validated. // -// * ResourceNotFoundException -// One of the specified resources was not found. +// - ResourceNotFoundException +// One of the specified resources was not found. // -// * ConflictException -// A conflicting operation is already in progress. +// - ConflictException +// A conflicting operation is already in progress. // -// * RequestEntityTooLargeException -// One of the input resources is larger than is allowed. +// - RequestEntityTooLargeException +// One of the input resources is larger than is allowed. // // See also, https://docs.aws.amazon.com/goto/WebAPI/synthetics-2017-10-11/UpdateCanary func (c *Synthetics) UpdateCanary(input *UpdateCanaryInput) (*UpdateCanaryOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/doc.go index 8a25de917d07..1ee06d38f119 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/doc.go @@ -24,7 +24,7 @@ // See synthetics package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/synthetics/ // -// Using the Client +// # Using the Client // // To contact Synthetics with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/service.go index 9e4974ee6899..5bb22fbef7eb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Synthetics client from just a session. -// svc := synthetics.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Synthetics client with additional configuration -// svc := synthetics.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Synthetics client from just a session. +// svc := synthetics.New(mySession) +// +// // Create a Synthetics client with additional configuration +// svc := synthetics.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Synthetics { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/syntheticsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/syntheticsiface/interface.go index 595c537404b0..9545e25c5dce 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/syntheticsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/synthetics/syntheticsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Synthetics. -// func myFunc(svc syntheticsiface.SyntheticsAPI) bool { -// // Make svc.CreateCanary request -// } +// // myFunc uses an SDK service client to make a request to +// // Synthetics. +// func myFunc(svc syntheticsiface.SyntheticsAPI) bool { +// // Make svc.CreateCanary request +// } // -// func main() { -// sess := session.New() -// svc := synthetics.New(sess) +// func main() { +// sess := session.New() +// svc := synthetics.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockSyntheticsClient struct { -// syntheticsiface.SyntheticsAPI -// } -// func (m *mockSyntheticsClient) CreateCanary(input *synthetics.CreateCanaryInput) (*synthetics.CreateCanaryOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockSyntheticsClient struct { +// syntheticsiface.SyntheticsAPI +// } +// func (m *mockSyntheticsClient) CreateCanary(input *synthetics.CreateCanaryInput) (*synthetics.CreateCanaryOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockSyntheticsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockSyntheticsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/api.go index 2be36f3ad7bb..9f8c5b7c1c84 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/api.go @@ -27,14 +27,13 @@ const opAnalyzeDocument = "AnalyzeDocument" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AnalyzeDocumentRequest method. +// req, resp := client.AnalyzeDocumentRequest(params) // -// // Example sending a request using the AnalyzeDocumentRequest method. -// req, resp := client.AnalyzeDocumentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/AnalyzeDocument func (c *Textract) AnalyzeDocumentRequest(input *AnalyzeDocumentInput) (req *request.Request, output *AnalyzeDocumentOutput) { @@ -59,23 +58,23 @@ func (c *Textract) AnalyzeDocumentRequest(input *AnalyzeDocumentInput) (req *req // // The types of information returned are as follows: // -// * Form data (key-value pairs). The related information is returned in -// two Block objects, each of type KEY_VALUE_SET: a KEY Block object and -// a VALUE Block object. For example, Name: Ana Silva Carolina contains a -// key and value. Name: is the key. Ana Silva Carolina is the value. +// - Form data (key-value pairs). The related information is returned in +// two Block objects, each of type KEY_VALUE_SET: a KEY Block object and +// a VALUE Block object. For example, Name: Ana Silva Carolina contains a +// key and value. Name: is the key. Ana Silva Carolina is the value. // -// * Table and table cell data. A TABLE Block object contains information -// about a detected table. A CELL Block object is returned for each cell -// in a table. +// - Table and table cell data. A TABLE Block object contains information +// about a detected table. A CELL Block object is returned for each cell +// in a table. // -// * Lines and words of text. A LINE Block object contains one or more WORD -// Block objects. All lines and words that are detected in the document are -// returned (including text that doesn't have a relationship with the value -// of FeatureTypes). +// - Lines and words of text. A LINE Block object contains one or more WORD +// Block objects. All lines and words that are detected in the document are +// returned (including text that doesn't have a relationship with the value +// of FeatureTypes). // -// * Queries.A QUERIES_RESULT Block object contains the answer to the query, -// the alias associated and an ID that connect it to the query asked. This -// Block also contains a location and attached confidence score. +// - Queries.A QUERIES_RESULT Block object contains the answer to the query, +// the alias associated and an ID that connect it to the query asked. This +// Block also contains a location and attached confidence score. // // Selection elements such as check boxes and option buttons (radio buttons) // can be detected in form data and in tables. A SELECTION_ELEMENT Block object @@ -99,48 +98,49 @@ func (c *Textract) AnalyzeDocumentRequest(input *AnalyzeDocumentInput) (req *req // API operation AnalyzeDocument for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// An input parameter violated a constraint. For example, in synchronous operations, -// an InvalidParameterException exception occurs when neither of the S3Object -// or Bytes values are supplied in the Document request parameter. Validate -// your parameter before calling the API operation again. // -// * InvalidS3ObjectException -// Amazon Textract is unable to access the S3 object that's specified in the -// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) -// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) +// - InvalidParameterException +// An input parameter violated a constraint. For example, in synchronous operations, +// an InvalidParameterException exception occurs when neither of the S3Object +// or Bytes values are supplied in the Document request parameter. Validate +// your parameter before calling the API operation again. +// +// - InvalidS3ObjectException +// Amazon Textract is unable to access the S3 object that's specified in the +// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) +// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) // -// * UnsupportedDocumentException -// The format of the input document isn't supported. Documents for operations -// can be in PNG, JPEG, PDF, or TIFF format. +// - UnsupportedDocumentException +// The format of the input document isn't supported. Documents for operations +// can be in PNG, JPEG, PDF, or TIFF format. // -// * DocumentTooLargeException -// The document can't be processed because it's too large. The maximum document -// size for synchronous operations 10 MB. The maximum document size for asynchronous -// operations is 500 MB for PDF files. +// - DocumentTooLargeException +// The document can't be processed because it's too large. The maximum document +// size for synchronous operations 10 MB. The maximum document size for asynchronous +// operations is 500 MB for PDF files. // -// * BadDocumentException -// Amazon Textract isn't able to read the document. For more information on -// the document limits in Amazon Textract, see limits. +// - BadDocumentException +// Amazon Textract isn't able to read the document. For more information on +// the document limits in Amazon Textract, see limits. // -// * AccessDeniedException -// You aren't authorized to perform the action. Use the Amazon Resource Name -// (ARN) of an authorized user or IAM role to perform the operation. +// - AccessDeniedException +// You aren't authorized to perform the action. Use the Amazon Resource Name +// (ARN) of an authorized user or IAM role to perform the operation. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Textract. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Textract. // -// * InternalServerError -// Amazon Textract experienced a service issue. Try your call again. +// - InternalServerError +// Amazon Textract experienced a service issue. Try your call again. // -// * ThrottlingException -// Amazon Textract is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// Amazon Textract is temporarily unable to process the request. Try your call +// again. // -// * HumanLoopQuotaExceededException -// Indicates you have exceeded the maximum number of active human in the loop -// workflows available +// - HumanLoopQuotaExceededException +// Indicates you have exceeded the maximum number of active human in the loop +// workflows available // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/AnalyzeDocument func (c *Textract) AnalyzeDocument(input *AnalyzeDocumentInput) (*AnalyzeDocumentOutput, error) { @@ -180,14 +180,13 @@ const opAnalyzeExpense = "AnalyzeExpense" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AnalyzeExpenseRequest method. +// req, resp := client.AnalyzeExpenseRequest(params) // -// // Example sending a request using the AnalyzeExpenseRequest method. -// req, resp := client.AnalyzeExpenseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/AnalyzeExpense func (c *Textract) AnalyzeExpenseRequest(input *AnalyzeExpenseInput) (req *request.Request, output *AnalyzeExpenseOutput) { @@ -213,12 +212,12 @@ func (c *Textract) AnalyzeExpenseRequest(input *AnalyzeExpenseInput) (req *reque // // Information is returned as ExpenseDocuments and seperated as follows. // -// * LineItemGroups- A data set containing LineItems which store information -// about the lines of text, such as an item purchased and its price on a -// receipt. +// - LineItemGroups- A data set containing LineItems which store information +// about the lines of text, such as an item purchased and its price on a +// receipt. // -// * SummaryFields- Contains all other information a receipt, such as header -// information or the vendors name. +// - SummaryFields- Contains all other information a receipt, such as header +// information or the vendors name. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -228,44 +227,45 @@ func (c *Textract) AnalyzeExpenseRequest(input *AnalyzeExpenseInput) (req *reque // API operation AnalyzeExpense for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// An input parameter violated a constraint. For example, in synchronous operations, -// an InvalidParameterException exception occurs when neither of the S3Object -// or Bytes values are supplied in the Document request parameter. Validate -// your parameter before calling the API operation again. // -// * InvalidS3ObjectException -// Amazon Textract is unable to access the S3 object that's specified in the -// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) -// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) +// - InvalidParameterException +// An input parameter violated a constraint. For example, in synchronous operations, +// an InvalidParameterException exception occurs when neither of the S3Object +// or Bytes values are supplied in the Document request parameter. Validate +// your parameter before calling the API operation again. // -// * UnsupportedDocumentException -// The format of the input document isn't supported. Documents for operations -// can be in PNG, JPEG, PDF, or TIFF format. +// - InvalidS3ObjectException +// Amazon Textract is unable to access the S3 object that's specified in the +// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) +// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) // -// * DocumentTooLargeException -// The document can't be processed because it's too large. The maximum document -// size for synchronous operations 10 MB. The maximum document size for asynchronous -// operations is 500 MB for PDF files. +// - UnsupportedDocumentException +// The format of the input document isn't supported. Documents for operations +// can be in PNG, JPEG, PDF, or TIFF format. // -// * BadDocumentException -// Amazon Textract isn't able to read the document. For more information on -// the document limits in Amazon Textract, see limits. +// - DocumentTooLargeException +// The document can't be processed because it's too large. The maximum document +// size for synchronous operations 10 MB. The maximum document size for asynchronous +// operations is 500 MB for PDF files. // -// * AccessDeniedException -// You aren't authorized to perform the action. Use the Amazon Resource Name -// (ARN) of an authorized user or IAM role to perform the operation. +// - BadDocumentException +// Amazon Textract isn't able to read the document. For more information on +// the document limits in Amazon Textract, see limits. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Textract. +// - AccessDeniedException +// You aren't authorized to perform the action. Use the Amazon Resource Name +// (ARN) of an authorized user or IAM role to perform the operation. // -// * InternalServerError -// Amazon Textract experienced a service issue. Try your call again. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Textract. // -// * ThrottlingException -// Amazon Textract is temporarily unable to process the request. Try your call -// again. +// - InternalServerError +// Amazon Textract experienced a service issue. Try your call again. +// +// - ThrottlingException +// Amazon Textract is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/AnalyzeExpense func (c *Textract) AnalyzeExpense(input *AnalyzeExpenseInput) (*AnalyzeExpenseOutput, error) { @@ -305,14 +305,13 @@ const opAnalyzeID = "AnalyzeID" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AnalyzeIDRequest method. +// req, resp := client.AnalyzeIDRequest(params) // -// // Example sending a request using the AnalyzeIDRequest method. -// req, resp := client.AnalyzeIDRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/AnalyzeID func (c *Textract) AnalyzeIDRequest(input *AnalyzeIDInput) (req *request.Request, output *AnalyzeIDOutput) { @@ -346,44 +345,45 @@ func (c *Textract) AnalyzeIDRequest(input *AnalyzeIDInput) (req *request.Request // API operation AnalyzeID for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// An input parameter violated a constraint. For example, in synchronous operations, -// an InvalidParameterException exception occurs when neither of the S3Object -// or Bytes values are supplied in the Document request parameter. Validate -// your parameter before calling the API operation again. // -// * InvalidS3ObjectException -// Amazon Textract is unable to access the S3 object that's specified in the -// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) -// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) +// - InvalidParameterException +// An input parameter violated a constraint. For example, in synchronous operations, +// an InvalidParameterException exception occurs when neither of the S3Object +// or Bytes values are supplied in the Document request parameter. Validate +// your parameter before calling the API operation again. // -// * UnsupportedDocumentException -// The format of the input document isn't supported. Documents for operations -// can be in PNG, JPEG, PDF, or TIFF format. +// - InvalidS3ObjectException +// Amazon Textract is unable to access the S3 object that's specified in the +// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) +// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) // -// * DocumentTooLargeException -// The document can't be processed because it's too large. The maximum document -// size for synchronous operations 10 MB. The maximum document size for asynchronous -// operations is 500 MB for PDF files. +// - UnsupportedDocumentException +// The format of the input document isn't supported. Documents for operations +// can be in PNG, JPEG, PDF, or TIFF format. // -// * BadDocumentException -// Amazon Textract isn't able to read the document. For more information on -// the document limits in Amazon Textract, see limits. +// - DocumentTooLargeException +// The document can't be processed because it's too large. The maximum document +// size for synchronous operations 10 MB. The maximum document size for asynchronous +// operations is 500 MB for PDF files. // -// * AccessDeniedException -// You aren't authorized to perform the action. Use the Amazon Resource Name -// (ARN) of an authorized user or IAM role to perform the operation. +// - BadDocumentException +// Amazon Textract isn't able to read the document. For more information on +// the document limits in Amazon Textract, see limits. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Textract. +// - AccessDeniedException +// You aren't authorized to perform the action. Use the Amazon Resource Name +// (ARN) of an authorized user or IAM role to perform the operation. // -// * InternalServerError -// Amazon Textract experienced a service issue. Try your call again. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Textract. // -// * ThrottlingException -// Amazon Textract is temporarily unable to process the request. Try your call -// again. +// - InternalServerError +// Amazon Textract experienced a service issue. Try your call again. +// +// - ThrottlingException +// Amazon Textract is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/AnalyzeID func (c *Textract) AnalyzeID(input *AnalyzeIDInput) (*AnalyzeIDOutput, error) { @@ -423,14 +423,13 @@ const opDetectDocumentText = "DetectDocumentText" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DetectDocumentTextRequest method. +// req, resp := client.DetectDocumentTextRequest(params) // -// // Example sending a request using the DetectDocumentTextRequest method. -// req, resp := client.DetectDocumentTextRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/DetectDocumentText func (c *Textract) DetectDocumentTextRequest(input *DetectDocumentTextInput) (req *request.Request, output *DetectDocumentTextOutput) { @@ -474,44 +473,45 @@ func (c *Textract) DetectDocumentTextRequest(input *DetectDocumentTextInput) (re // API operation DetectDocumentText for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// An input parameter violated a constraint. For example, in synchronous operations, -// an InvalidParameterException exception occurs when neither of the S3Object -// or Bytes values are supplied in the Document request parameter. Validate -// your parameter before calling the API operation again. // -// * InvalidS3ObjectException -// Amazon Textract is unable to access the S3 object that's specified in the -// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) -// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) +// - InvalidParameterException +// An input parameter violated a constraint. For example, in synchronous operations, +// an InvalidParameterException exception occurs when neither of the S3Object +// or Bytes values are supplied in the Document request parameter. Validate +// your parameter before calling the API operation again. +// +// - InvalidS3ObjectException +// Amazon Textract is unable to access the S3 object that's specified in the +// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) +// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) // -// * UnsupportedDocumentException -// The format of the input document isn't supported. Documents for operations -// can be in PNG, JPEG, PDF, or TIFF format. +// - UnsupportedDocumentException +// The format of the input document isn't supported. Documents for operations +// can be in PNG, JPEG, PDF, or TIFF format. // -// * DocumentTooLargeException -// The document can't be processed because it's too large. The maximum document -// size for synchronous operations 10 MB. The maximum document size for asynchronous -// operations is 500 MB for PDF files. +// - DocumentTooLargeException +// The document can't be processed because it's too large. The maximum document +// size for synchronous operations 10 MB. The maximum document size for asynchronous +// operations is 500 MB for PDF files. // -// * BadDocumentException -// Amazon Textract isn't able to read the document. For more information on -// the document limits in Amazon Textract, see limits. +// - BadDocumentException +// Amazon Textract isn't able to read the document. For more information on +// the document limits in Amazon Textract, see limits. // -// * AccessDeniedException -// You aren't authorized to perform the action. Use the Amazon Resource Name -// (ARN) of an authorized user or IAM role to perform the operation. +// - AccessDeniedException +// You aren't authorized to perform the action. Use the Amazon Resource Name +// (ARN) of an authorized user or IAM role to perform the operation. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Textract. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Textract. // -// * InternalServerError -// Amazon Textract experienced a service issue. Try your call again. +// - InternalServerError +// Amazon Textract experienced a service issue. Try your call again. // -// * ThrottlingException -// Amazon Textract is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// Amazon Textract is temporarily unable to process the request. Try your call +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/DetectDocumentText func (c *Textract) DetectDocumentText(input *DetectDocumentTextInput) (*DetectDocumentTextOutput, error) { @@ -551,14 +551,13 @@ const opGetDocumentAnalysis = "GetDocumentAnalysis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDocumentAnalysisRequest method. +// req, resp := client.GetDocumentAnalysisRequest(params) // -// // Example sending a request using the GetDocumentAnalysisRequest method. -// req, resp := client.GetDocumentAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/GetDocumentAnalysis func (c *Textract) GetDocumentAnalysisRequest(input *GetDocumentAnalysisInput) (req *request.Request, output *GetDocumentAnalysisOutput) { @@ -594,23 +593,23 @@ func (c *Textract) GetDocumentAnalysisRequest(input *GetDocumentAnalysisInput) ( // GetDocumentAnalysis returns an array of Block objects. The following types // of information are returned: // -// * Form data (key-value pairs). The related information is returned in -// two Block objects, each of type KEY_VALUE_SET: a KEY Block object and -// a VALUE Block object. For example, Name: Ana Silva Carolina contains a -// key and value. Name: is the key. Ana Silva Carolina is the value. +// - Form data (key-value pairs). The related information is returned in +// two Block objects, each of type KEY_VALUE_SET: a KEY Block object and +// a VALUE Block object. For example, Name: Ana Silva Carolina contains a +// key and value. Name: is the key. Ana Silva Carolina is the value. // -// * Table and table cell data. A TABLE Block object contains information -// about a detected table. A CELL Block object is returned for each cell -// in a table. +// - Table and table cell data. A TABLE Block object contains information +// about a detected table. A CELL Block object is returned for each cell +// in a table. // -// * Lines and words of text. A LINE Block object contains one or more WORD -// Block objects. All lines and words that are detected in the document are -// returned (including text that doesn't have a relationship with the value -// of the StartDocumentAnalysis FeatureTypes input parameter). +// - Lines and words of text. A LINE Block object contains one or more WORD +// Block objects. All lines and words that are detected in the document are +// returned (including text that doesn't have a relationship with the value +// of the StartDocumentAnalysis FeatureTypes input parameter). // -// * Queries. A QUERIES_RESULT Block object contains the answer to the query, -// the alias associated and an ID that connect it to the query asked. This -// Block also contains a location and attached confidence score +// - Queries. A QUERIES_RESULT Block object contains the answer to the query, +// the alias associated and an ID that connect it to the query asked. This +// Block also contains a location and attached confidence score // // Selection elements such as check boxes and option buttons (radio buttons) // can be detected in form data and in tables. A SELECTION_ELEMENT Block object @@ -633,38 +632,39 @@ func (c *Textract) GetDocumentAnalysisRequest(input *GetDocumentAnalysisInput) ( // API operation GetDocumentAnalysis for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// An input parameter violated a constraint. For example, in synchronous operations, -// an InvalidParameterException exception occurs when neither of the S3Object -// or Bytes values are supplied in the Document request parameter. Validate -// your parameter before calling the API operation again. // -// * AccessDeniedException -// You aren't authorized to perform the action. Use the Amazon Resource Name -// (ARN) of an authorized user or IAM role to perform the operation. +// - InvalidParameterException +// An input parameter violated a constraint. For example, in synchronous operations, +// an InvalidParameterException exception occurs when neither of the S3Object +// or Bytes values are supplied in the Document request parameter. Validate +// your parameter before calling the API operation again. +// +// - AccessDeniedException +// You aren't authorized to perform the action. Use the Amazon Resource Name +// (ARN) of an authorized user or IAM role to perform the operation. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Textract. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Textract. // -// * InvalidJobIdException -// An invalid job identifier was passed to GetDocumentAnalysis or to GetDocumentAnalysis. +// - InvalidJobIdException +// An invalid job identifier was passed to GetDocumentAnalysis or to GetDocumentAnalysis. // -// * InternalServerError -// Amazon Textract experienced a service issue. Try your call again. +// - InternalServerError +// Amazon Textract experienced a service issue. Try your call again. // -// * ThrottlingException -// Amazon Textract is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// Amazon Textract is temporarily unable to process the request. Try your call +// again. // -// * InvalidS3ObjectException -// Amazon Textract is unable to access the S3 object that's specified in the -// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) -// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) +// - InvalidS3ObjectException +// Amazon Textract is unable to access the S3 object that's specified in the +// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) +// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) // -// * InvalidKMSKeyException -// Indicates you do not have decrypt permissions with the KMS key entered, or -// the KMS key was entered incorrectly. +// - InvalidKMSKeyException +// Indicates you do not have decrypt permissions with the KMS key entered, or +// the KMS key was entered incorrectly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/GetDocumentAnalysis func (c *Textract) GetDocumentAnalysis(input *GetDocumentAnalysisInput) (*GetDocumentAnalysisOutput, error) { @@ -704,14 +704,13 @@ const opGetDocumentTextDetection = "GetDocumentTextDetection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDocumentTextDetectionRequest method. +// req, resp := client.GetDocumentTextDetectionRequest(params) // -// // Example sending a request using the GetDocumentTextDetectionRequest method. -// req, resp := client.GetDocumentTextDetectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/GetDocumentTextDetection func (c *Textract) GetDocumentTextDetectionRequest(input *GetDocumentTextDetectionInput) (req *request.Request, output *GetDocumentTextDetectionOutput) { @@ -769,38 +768,39 @@ func (c *Textract) GetDocumentTextDetectionRequest(input *GetDocumentTextDetecti // API operation GetDocumentTextDetection for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// An input parameter violated a constraint. For example, in synchronous operations, -// an InvalidParameterException exception occurs when neither of the S3Object -// or Bytes values are supplied in the Document request parameter. Validate -// your parameter before calling the API operation again. // -// * AccessDeniedException -// You aren't authorized to perform the action. Use the Amazon Resource Name -// (ARN) of an authorized user or IAM role to perform the operation. +// - InvalidParameterException +// An input parameter violated a constraint. For example, in synchronous operations, +// an InvalidParameterException exception occurs when neither of the S3Object +// or Bytes values are supplied in the Document request parameter. Validate +// your parameter before calling the API operation again. +// +// - AccessDeniedException +// You aren't authorized to perform the action. Use the Amazon Resource Name +// (ARN) of an authorized user or IAM role to perform the operation. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Textract. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Textract. // -// * InvalidJobIdException -// An invalid job identifier was passed to GetDocumentAnalysis or to GetDocumentAnalysis. +// - InvalidJobIdException +// An invalid job identifier was passed to GetDocumentAnalysis or to GetDocumentAnalysis. // -// * InternalServerError -// Amazon Textract experienced a service issue. Try your call again. +// - InternalServerError +// Amazon Textract experienced a service issue. Try your call again. // -// * ThrottlingException -// Amazon Textract is temporarily unable to process the request. Try your call -// again. +// - ThrottlingException +// Amazon Textract is temporarily unable to process the request. Try your call +// again. // -// * InvalidS3ObjectException -// Amazon Textract is unable to access the S3 object that's specified in the -// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) -// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) +// - InvalidS3ObjectException +// Amazon Textract is unable to access the S3 object that's specified in the +// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) +// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) // -// * InvalidKMSKeyException -// Indicates you do not have decrypt permissions with the KMS key entered, or -// the KMS key was entered incorrectly. +// - InvalidKMSKeyException +// Indicates you do not have decrypt permissions with the KMS key entered, or +// the KMS key was entered incorrectly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/GetDocumentTextDetection func (c *Textract) GetDocumentTextDetection(input *GetDocumentTextDetectionInput) (*GetDocumentTextDetectionOutput, error) { @@ -840,14 +840,13 @@ const opGetExpenseAnalysis = "GetExpenseAnalysis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetExpenseAnalysisRequest method. +// req, resp := client.GetExpenseAnalysisRequest(params) // -// // Example sending a request using the GetExpenseAnalysisRequest method. -// req, resp := client.GetExpenseAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/GetExpenseAnalysis func (c *Textract) GetExpenseAnalysisRequest(input *GetExpenseAnalysisInput) (req *request.Request, output *GetExpenseAnalysisOutput) { @@ -898,38 +897,39 @@ func (c *Textract) GetExpenseAnalysisRequest(input *GetExpenseAnalysisInput) (re // API operation GetExpenseAnalysis for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// An input parameter violated a constraint. For example, in synchronous operations, -// an InvalidParameterException exception occurs when neither of the S3Object -// or Bytes values are supplied in the Document request parameter. Validate -// your parameter before calling the API operation again. // -// * AccessDeniedException -// You aren't authorized to perform the action. Use the Amazon Resource Name -// (ARN) of an authorized user or IAM role to perform the operation. +// - InvalidParameterException +// An input parameter violated a constraint. For example, in synchronous operations, +// an InvalidParameterException exception occurs when neither of the S3Object +// or Bytes values are supplied in the Document request parameter. Validate +// your parameter before calling the API operation again. // -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Textract. +// - AccessDeniedException +// You aren't authorized to perform the action. Use the Amazon Resource Name +// (ARN) of an authorized user or IAM role to perform the operation. // -// * InvalidJobIdException -// An invalid job identifier was passed to GetDocumentAnalysis or to GetDocumentAnalysis. +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Textract. // -// * InternalServerError -// Amazon Textract experienced a service issue. Try your call again. +// - InvalidJobIdException +// An invalid job identifier was passed to GetDocumentAnalysis or to GetDocumentAnalysis. // -// * ThrottlingException -// Amazon Textract is temporarily unable to process the request. Try your call -// again. +// - InternalServerError +// Amazon Textract experienced a service issue. Try your call again. // -// * InvalidS3ObjectException -// Amazon Textract is unable to access the S3 object that's specified in the -// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) -// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) +// - ThrottlingException +// Amazon Textract is temporarily unable to process the request. Try your call +// again. // -// * InvalidKMSKeyException -// Indicates you do not have decrypt permissions with the KMS key entered, or -// the KMS key was entered incorrectly. +// - InvalidS3ObjectException +// Amazon Textract is unable to access the S3 object that's specified in the +// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) +// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) +// +// - InvalidKMSKeyException +// Indicates you do not have decrypt permissions with the KMS key entered, or +// the KMS key was entered incorrectly. // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/GetExpenseAnalysis func (c *Textract) GetExpenseAnalysis(input *GetExpenseAnalysisInput) (*GetExpenseAnalysisOutput, error) { @@ -969,14 +969,13 @@ const opStartDocumentAnalysis = "StartDocumentAnalysis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDocumentAnalysisRequest method. +// req, resp := client.StartDocumentAnalysisRequest(params) // -// // Example sending a request using the StartDocumentAnalysisRequest method. -// req, resp := client.StartDocumentAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/StartDocumentAnalysis func (c *Textract) StartDocumentAnalysisRequest(input *StartDocumentAnalysisInput) (req *request.Request, output *StartDocumentAnalysisOutput) { @@ -1022,60 +1021,61 @@ func (c *Textract) StartDocumentAnalysisRequest(input *StartDocumentAnalysisInpu // API operation StartDocumentAnalysis for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// An input parameter violated a constraint. For example, in synchronous operations, -// an InvalidParameterException exception occurs when neither of the S3Object -// or Bytes values are supplied in the Document request parameter. Validate -// your parameter before calling the API operation again. -// -// * InvalidS3ObjectException -// Amazon Textract is unable to access the S3 object that's specified in the -// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) -// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) -// -// * InvalidKMSKeyException -// Indicates you do not have decrypt permissions with the KMS key entered, or -// the KMS key was entered incorrectly. -// -// * UnsupportedDocumentException -// The format of the input document isn't supported. Documents for operations -// can be in PNG, JPEG, PDF, or TIFF format. -// -// * DocumentTooLargeException -// The document can't be processed because it's too large. The maximum document -// size for synchronous operations 10 MB. The maximum document size for asynchronous -// operations is 500 MB for PDF files. -// -// * BadDocumentException -// Amazon Textract isn't able to read the document. For more information on -// the document limits in Amazon Textract, see limits. -// -// * AccessDeniedException -// You aren't authorized to perform the action. Use the Amazon Resource Name -// (ARN) of an authorized user or IAM role to perform the operation. -// -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Textract. -// -// * InternalServerError -// Amazon Textract experienced a service issue. Try your call again. -// -// * IdempotentParameterMismatchException -// A ClientRequestToken input parameter was reused with an operation, but at -// least one of the other input parameters is different from the previous call -// to the operation. -// -// * ThrottlingException -// Amazon Textract is temporarily unable to process the request. Try your call -// again. -// -// * LimitExceededException -// An Amazon Textract service limit was exceeded. For example, if you start -// too many asynchronous jobs concurrently, calls to start operations (StartDocumentTextDetection, -// for example) raise a LimitExceededException exception (HTTP status code: -// 400) until the number of concurrently running jobs is below the Amazon Textract -// service limit. +// +// - InvalidParameterException +// An input parameter violated a constraint. For example, in synchronous operations, +// an InvalidParameterException exception occurs when neither of the S3Object +// or Bytes values are supplied in the Document request parameter. Validate +// your parameter before calling the API operation again. +// +// - InvalidS3ObjectException +// Amazon Textract is unable to access the S3 object that's specified in the +// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) +// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) +// +// - InvalidKMSKeyException +// Indicates you do not have decrypt permissions with the KMS key entered, or +// the KMS key was entered incorrectly. +// +// - UnsupportedDocumentException +// The format of the input document isn't supported. Documents for operations +// can be in PNG, JPEG, PDF, or TIFF format. +// +// - DocumentTooLargeException +// The document can't be processed because it's too large. The maximum document +// size for synchronous operations 10 MB. The maximum document size for asynchronous +// operations is 500 MB for PDF files. +// +// - BadDocumentException +// Amazon Textract isn't able to read the document. For more information on +// the document limits in Amazon Textract, see limits. +// +// - AccessDeniedException +// You aren't authorized to perform the action. Use the Amazon Resource Name +// (ARN) of an authorized user or IAM role to perform the operation. +// +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Textract. +// +// - InternalServerError +// Amazon Textract experienced a service issue. Try your call again. +// +// - IdempotentParameterMismatchException +// A ClientRequestToken input parameter was reused with an operation, but at +// least one of the other input parameters is different from the previous call +// to the operation. +// +// - ThrottlingException +// Amazon Textract is temporarily unable to process the request. Try your call +// again. +// +// - LimitExceededException +// An Amazon Textract service limit was exceeded. For example, if you start +// too many asynchronous jobs concurrently, calls to start operations (StartDocumentTextDetection, +// for example) raise a LimitExceededException exception (HTTP status code: +// 400) until the number of concurrently running jobs is below the Amazon Textract +// service limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/StartDocumentAnalysis func (c *Textract) StartDocumentAnalysis(input *StartDocumentAnalysisInput) (*StartDocumentAnalysisOutput, error) { @@ -1115,14 +1115,13 @@ const opStartDocumentTextDetection = "StartDocumentTextDetection" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartDocumentTextDetectionRequest method. +// req, resp := client.StartDocumentTextDetectionRequest(params) // -// // Example sending a request using the StartDocumentTextDetectionRequest method. -// req, resp := client.StartDocumentTextDetectionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/StartDocumentTextDetection func (c *Textract) StartDocumentTextDetectionRequest(input *StartDocumentTextDetectionInput) (req *request.Request, output *StartDocumentTextDetectionOutput) { @@ -1168,60 +1167,61 @@ func (c *Textract) StartDocumentTextDetectionRequest(input *StartDocumentTextDet // API operation StartDocumentTextDetection for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// An input parameter violated a constraint. For example, in synchronous operations, -// an InvalidParameterException exception occurs when neither of the S3Object -// or Bytes values are supplied in the Document request parameter. Validate -// your parameter before calling the API operation again. -// -// * InvalidS3ObjectException -// Amazon Textract is unable to access the S3 object that's specified in the -// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) -// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) -// -// * InvalidKMSKeyException -// Indicates you do not have decrypt permissions with the KMS key entered, or -// the KMS key was entered incorrectly. -// -// * UnsupportedDocumentException -// The format of the input document isn't supported. Documents for operations -// can be in PNG, JPEG, PDF, or TIFF format. -// -// * DocumentTooLargeException -// The document can't be processed because it's too large. The maximum document -// size for synchronous operations 10 MB. The maximum document size for asynchronous -// operations is 500 MB for PDF files. -// -// * BadDocumentException -// Amazon Textract isn't able to read the document. For more information on -// the document limits in Amazon Textract, see limits. -// -// * AccessDeniedException -// You aren't authorized to perform the action. Use the Amazon Resource Name -// (ARN) of an authorized user or IAM role to perform the operation. -// -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Textract. -// -// * InternalServerError -// Amazon Textract experienced a service issue. Try your call again. -// -// * IdempotentParameterMismatchException -// A ClientRequestToken input parameter was reused with an operation, but at -// least one of the other input parameters is different from the previous call -// to the operation. -// -// * ThrottlingException -// Amazon Textract is temporarily unable to process the request. Try your call -// again. -// -// * LimitExceededException -// An Amazon Textract service limit was exceeded. For example, if you start -// too many asynchronous jobs concurrently, calls to start operations (StartDocumentTextDetection, -// for example) raise a LimitExceededException exception (HTTP status code: -// 400) until the number of concurrently running jobs is below the Amazon Textract -// service limit. +// +// - InvalidParameterException +// An input parameter violated a constraint. For example, in synchronous operations, +// an InvalidParameterException exception occurs when neither of the S3Object +// or Bytes values are supplied in the Document request parameter. Validate +// your parameter before calling the API operation again. +// +// - InvalidS3ObjectException +// Amazon Textract is unable to access the S3 object that's specified in the +// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) +// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) +// +// - InvalidKMSKeyException +// Indicates you do not have decrypt permissions with the KMS key entered, or +// the KMS key was entered incorrectly. +// +// - UnsupportedDocumentException +// The format of the input document isn't supported. Documents for operations +// can be in PNG, JPEG, PDF, or TIFF format. +// +// - DocumentTooLargeException +// The document can't be processed because it's too large. The maximum document +// size for synchronous operations 10 MB. The maximum document size for asynchronous +// operations is 500 MB for PDF files. +// +// - BadDocumentException +// Amazon Textract isn't able to read the document. For more information on +// the document limits in Amazon Textract, see limits. +// +// - AccessDeniedException +// You aren't authorized to perform the action. Use the Amazon Resource Name +// (ARN) of an authorized user or IAM role to perform the operation. +// +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Textract. +// +// - InternalServerError +// Amazon Textract experienced a service issue. Try your call again. +// +// - IdempotentParameterMismatchException +// A ClientRequestToken input parameter was reused with an operation, but at +// least one of the other input parameters is different from the previous call +// to the operation. +// +// - ThrottlingException +// Amazon Textract is temporarily unable to process the request. Try your call +// again. +// +// - LimitExceededException +// An Amazon Textract service limit was exceeded. For example, if you start +// too many asynchronous jobs concurrently, calls to start operations (StartDocumentTextDetection, +// for example) raise a LimitExceededException exception (HTTP status code: +// 400) until the number of concurrently running jobs is below the Amazon Textract +// service limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/StartDocumentTextDetection func (c *Textract) StartDocumentTextDetection(input *StartDocumentTextDetectionInput) (*StartDocumentTextDetectionOutput, error) { @@ -1261,14 +1261,13 @@ const opStartExpenseAnalysis = "StartExpenseAnalysis" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartExpenseAnalysisRequest method. +// req, resp := client.StartExpenseAnalysisRequest(params) // -// // Example sending a request using the StartExpenseAnalysisRequest method. -// req, resp := client.StartExpenseAnalysisRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/StartExpenseAnalysis func (c *Textract) StartExpenseAnalysisRequest(input *StartExpenseAnalysisInput) (req *request.Request, output *StartExpenseAnalysisOutput) { @@ -1316,60 +1315,61 @@ func (c *Textract) StartExpenseAnalysisRequest(input *StartExpenseAnalysisInput) // API operation StartExpenseAnalysis for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// An input parameter violated a constraint. For example, in synchronous operations, -// an InvalidParameterException exception occurs when neither of the S3Object -// or Bytes values are supplied in the Document request parameter. Validate -// your parameter before calling the API operation again. -// -// * InvalidS3ObjectException -// Amazon Textract is unable to access the S3 object that's specified in the -// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) -// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) -// -// * InvalidKMSKeyException -// Indicates you do not have decrypt permissions with the KMS key entered, or -// the KMS key was entered incorrectly. -// -// * UnsupportedDocumentException -// The format of the input document isn't supported. Documents for operations -// can be in PNG, JPEG, PDF, or TIFF format. -// -// * DocumentTooLargeException -// The document can't be processed because it's too large. The maximum document -// size for synchronous operations 10 MB. The maximum document size for asynchronous -// operations is 500 MB for PDF files. -// -// * BadDocumentException -// Amazon Textract isn't able to read the document. For more information on -// the document limits in Amazon Textract, see limits. -// -// * AccessDeniedException -// You aren't authorized to perform the action. Use the Amazon Resource Name -// (ARN) of an authorized user or IAM role to perform the operation. -// -// * ProvisionedThroughputExceededException -// The number of requests exceeded your throughput limit. If you want to increase -// this limit, contact Amazon Textract. -// -// * InternalServerError -// Amazon Textract experienced a service issue. Try your call again. -// -// * IdempotentParameterMismatchException -// A ClientRequestToken input parameter was reused with an operation, but at -// least one of the other input parameters is different from the previous call -// to the operation. -// -// * ThrottlingException -// Amazon Textract is temporarily unable to process the request. Try your call -// again. -// -// * LimitExceededException -// An Amazon Textract service limit was exceeded. For example, if you start -// too many asynchronous jobs concurrently, calls to start operations (StartDocumentTextDetection, -// for example) raise a LimitExceededException exception (HTTP status code: -// 400) until the number of concurrently running jobs is below the Amazon Textract -// service limit. +// +// - InvalidParameterException +// An input parameter violated a constraint. For example, in synchronous operations, +// an InvalidParameterException exception occurs when neither of the S3Object +// or Bytes values are supplied in the Document request parameter. Validate +// your parameter before calling the API operation again. +// +// - InvalidS3ObjectException +// Amazon Textract is unable to access the S3 object that's specified in the +// request. for more information, Configure Access to Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-access-control.html) +// For troubleshooting information, see Troubleshooting Amazon S3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html) +// +// - InvalidKMSKeyException +// Indicates you do not have decrypt permissions with the KMS key entered, or +// the KMS key was entered incorrectly. +// +// - UnsupportedDocumentException +// The format of the input document isn't supported. Documents for operations +// can be in PNG, JPEG, PDF, or TIFF format. +// +// - DocumentTooLargeException +// The document can't be processed because it's too large. The maximum document +// size for synchronous operations 10 MB. The maximum document size for asynchronous +// operations is 500 MB for PDF files. +// +// - BadDocumentException +// Amazon Textract isn't able to read the document. For more information on +// the document limits in Amazon Textract, see limits. +// +// - AccessDeniedException +// You aren't authorized to perform the action. Use the Amazon Resource Name +// (ARN) of an authorized user or IAM role to perform the operation. +// +// - ProvisionedThroughputExceededException +// The number of requests exceeded your throughput limit. If you want to increase +// this limit, contact Amazon Textract. +// +// - InternalServerError +// Amazon Textract experienced a service issue. Try your call again. +// +// - IdempotentParameterMismatchException +// A ClientRequestToken input parameter was reused with an operation, but at +// least one of the other input parameters is different from the previous call +// to the operation. +// +// - ThrottlingException +// Amazon Textract is temporarily unable to process the request. Try your call +// again. +// +// - LimitExceededException +// An Amazon Textract service limit was exceeded. For example, if you start +// too many asynchronous jobs concurrently, calls to start operations (StartDocumentTextDetection, +// for example) raise a LimitExceededException exception (HTTP status code: +// 400) until the number of concurrently running jobs is below the Amazon Textract +// service limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/textract-2018-06-27/StartExpenseAnalysis func (c *Textract) StartExpenseAnalysis(input *StartExpenseAnalysisInput) (*StartExpenseAnalysisOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/doc.go index 32270e383fa3..85db6ba7731a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/doc.go @@ -12,7 +12,7 @@ // See textract package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/textract/ // -// Using the Client +// # Using the Client // // To contact Amazon Textract with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/service.go index 9af7fb55ebed..524a918e561c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Textract client from just a session. -// svc := textract.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Textract client with additional configuration -// svc := textract.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Textract client from just a session. +// svc := textract.New(mySession) +// +// // Create a Textract client with additional configuration +// svc := textract.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Textract { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/textractiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/textractiface/interface.go index 8b0d73c33184..88863bb757ce 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/textractiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/textract/textractiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Textract. -// func myFunc(svc textractiface.TextractAPI) bool { -// // Make svc.AnalyzeDocument request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Textract. +// func myFunc(svc textractiface.TextractAPI) bool { +// // Make svc.AnalyzeDocument request +// } // -// func main() { -// sess := session.New() -// svc := textract.New(sess) +// func main() { +// sess := session.New() +// svc := textract.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockTextractClient struct { -// textractiface.TextractAPI -// } -// func (m *mockTextractClient) AnalyzeDocument(input *textract.AnalyzeDocumentInput) (*textract.AnalyzeDocumentOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockTextractClient struct { +// textractiface.TextractAPI +// } +// func (m *mockTextractClient) AnalyzeDocument(input *textract.AnalyzeDocumentInput) (*textract.AnalyzeDocumentOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockTextractClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockTextractClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/api.go index d2075a9590b4..834be5512164 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/api.go @@ -32,14 +32,13 @@ const opCancelQuery = "CancelQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelQueryRequest method. +// req, resp := client.CancelQueryRequest(params) // -// // Example sending a request using the CancelQueryRequest method. -// req, resp := client.CancelQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/CancelQuery func (c *TimestreamQuery) CancelQueryRequest(input *CancelQueryInput) (req *request.Request, output *CancelQueryOutput) { @@ -98,21 +97,22 @@ func (c *TimestreamQuery) CancelQueryRequest(input *CancelQueryInput) (req *requ // API operation CancelQuery for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform this action. // -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. +// - AccessDeniedException +// You are not authorized to perform this action. +// +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * InvalidEndpointException -// The requested endpoint was not valid. +// - InvalidEndpointException +// The requested endpoint was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/CancelQuery func (c *TimestreamQuery) CancelQuery(input *CancelQueryInput) (*CancelQueryOutput, error) { @@ -152,14 +152,13 @@ const opCreateScheduledQuery = "CreateScheduledQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateScheduledQueryRequest method. +// req, resp := client.CreateScheduledQueryRequest(params) // -// // Example sending a request using the CreateScheduledQueryRequest method. -// req, resp := client.CreateScheduledQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/CreateScheduledQuery func (c *TimestreamQuery) CreateScheduledQueryRequest(input *CreateScheduledQueryInput) (req *request.Request, output *CreateScheduledQueryOutput) { @@ -216,27 +215,28 @@ func (c *TimestreamQuery) CreateScheduledQueryRequest(input *CreateScheduledQuer // API operation CreateScheduledQuery for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform this action. // -// * ConflictException -// Unable to poll results for a cancelled query. +// - AccessDeniedException +// You are not authorized to perform this action. +// +// - ConflictException +// Unable to poll results for a cancelled query. // -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. // -// * ServiceQuotaExceededException -// You have exceeded the service quota. +// - ServiceQuotaExceededException +// You have exceeded the service quota. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * InvalidEndpointException -// The requested endpoint was not valid. +// - InvalidEndpointException +// The requested endpoint was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/CreateScheduledQuery func (c *TimestreamQuery) CreateScheduledQuery(input *CreateScheduledQueryInput) (*CreateScheduledQueryOutput, error) { @@ -276,14 +276,13 @@ const opDeleteScheduledQuery = "DeleteScheduledQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteScheduledQueryRequest method. +// req, resp := client.DeleteScheduledQueryRequest(params) // -// // Example sending a request using the DeleteScheduledQueryRequest method. -// req, resp := client.DeleteScheduledQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/DeleteScheduledQuery func (c *TimestreamQuery) DeleteScheduledQueryRequest(input *DeleteScheduledQueryInput) (req *request.Request, output *DeleteScheduledQueryOutput) { @@ -338,24 +337,25 @@ func (c *TimestreamQuery) DeleteScheduledQueryRequest(input *DeleteScheduledQuer // API operation DeleteScheduledQuery for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform this action. // -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. +// - AccessDeniedException +// You are not authorized to perform this action. +// +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - ResourceNotFoundException +// The requested resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * InvalidEndpointException -// The requested endpoint was not valid. +// - InvalidEndpointException +// The requested endpoint was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/DeleteScheduledQuery func (c *TimestreamQuery) DeleteScheduledQuery(input *DeleteScheduledQueryInput) (*DeleteScheduledQueryOutput, error) { @@ -395,14 +395,13 @@ const opDescribeEndpoints = "DescribeEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointsRequest method. +// req, resp := client.DescribeEndpointsRequest(params) // -// // Example sending a request using the DescribeEndpointsRequest method. -// req, resp := client.DescribeEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/DescribeEndpoints func (c *TimestreamQuery) DescribeEndpointsRequest(input *DescribeEndpointsInput) (req *request.Request, output *DescribeEndpointsOutput) { @@ -430,13 +429,13 @@ func (c *TimestreamQuery) DescribeEndpointsRequest(input *DescribeEndpointsInput // architecture, including the management and mapping of the service endpoints, // it is not recommended that you use this API unless: // -// * You are using VPC endpoints (Amazon Web Services PrivateLink) with Timestream -// (https://docs.aws.amazon.com/timestream/latest/developerguide/VPCEndpoints) +// - You are using VPC endpoints (Amazon Web Services PrivateLink) with Timestream +// (https://docs.aws.amazon.com/timestream/latest/developerguide/VPCEndpoints) // -// * Your application uses a programming language that does not yet have -// SDK support +// - Your application uses a programming language that does not yet have +// SDK support // -// * You require better control over the client-side implementation +// - You require better control over the client-side implementation // // For detailed information on how and when to use and implement DescribeEndpoints, // see The Endpoint Discovery Pattern (https://docs.aws.amazon.com/timestream/latest/developerguide/Using.API.html#Using-API.endpoint-discovery). @@ -449,15 +448,16 @@ func (c *TimestreamQuery) DescribeEndpointsRequest(input *DescribeEndpointsInput // API operation DescribeEndpoints for usage and error information. // // Returned Error Types: -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. // -// * ValidationException -// Invalid or malformed request. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. +// +// - ValidationException +// Invalid or malformed request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/DescribeEndpoints func (c *TimestreamQuery) DescribeEndpoints(input *DescribeEndpointsInput) (*DescribeEndpointsOutput, error) { @@ -569,14 +569,13 @@ const opDescribeScheduledQuery = "DescribeScheduledQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeScheduledQueryRequest method. +// req, resp := client.DescribeScheduledQueryRequest(params) // -// // Example sending a request using the DescribeScheduledQueryRequest method. -// req, resp := client.DescribeScheduledQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/DescribeScheduledQuery func (c *TimestreamQuery) DescribeScheduledQueryRequest(input *DescribeScheduledQueryInput) (req *request.Request, output *DescribeScheduledQueryOutput) { @@ -630,24 +629,25 @@ func (c *TimestreamQuery) DescribeScheduledQueryRequest(input *DescribeScheduled // API operation DescribeScheduledQuery for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform this action. // -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. +// - AccessDeniedException +// You are not authorized to perform this action. +// +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - ResourceNotFoundException +// The requested resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * InvalidEndpointException -// The requested endpoint was not valid. +// - InvalidEndpointException +// The requested endpoint was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/DescribeScheduledQuery func (c *TimestreamQuery) DescribeScheduledQuery(input *DescribeScheduledQueryInput) (*DescribeScheduledQueryOutput, error) { @@ -687,14 +687,13 @@ const opExecuteScheduledQuery = "ExecuteScheduledQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExecuteScheduledQueryRequest method. +// req, resp := client.ExecuteScheduledQueryRequest(params) // -// // Example sending a request using the ExecuteScheduledQueryRequest method. -// req, resp := client.ExecuteScheduledQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/ExecuteScheduledQuery func (c *TimestreamQuery) ExecuteScheduledQueryRequest(input *ExecuteScheduledQueryInput) (req *request.Request, output *ExecuteScheduledQueryOutput) { @@ -749,24 +748,25 @@ func (c *TimestreamQuery) ExecuteScheduledQueryRequest(input *ExecuteScheduledQu // API operation ExecuteScheduledQuery for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform this action. // -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. +// - AccessDeniedException +// You are not authorized to perform this action. +// +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - ResourceNotFoundException +// The requested resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * InvalidEndpointException -// The requested endpoint was not valid. +// - InvalidEndpointException +// The requested endpoint was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/ExecuteScheduledQuery func (c *TimestreamQuery) ExecuteScheduledQuery(input *ExecuteScheduledQueryInput) (*ExecuteScheduledQueryOutput, error) { @@ -806,14 +806,13 @@ const opListScheduledQueries = "ListScheduledQueries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListScheduledQueriesRequest method. +// req, resp := client.ListScheduledQueriesRequest(params) // -// // Example sending a request using the ListScheduledQueriesRequest method. -// req, resp := client.ListScheduledQueriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/ListScheduledQueries func (c *TimestreamQuery) ListScheduledQueriesRequest(input *ListScheduledQueriesInput) (req *request.Request, output *ListScheduledQueriesOutput) { @@ -874,21 +873,22 @@ func (c *TimestreamQuery) ListScheduledQueriesRequest(input *ListScheduledQuerie // API operation ListScheduledQueries for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform this action. // -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. +// - AccessDeniedException +// You are not authorized to perform this action. +// +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * InvalidEndpointException -// The requested endpoint was not valid. +// - InvalidEndpointException +// The requested endpoint was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/ListScheduledQueries func (c *TimestreamQuery) ListScheduledQueries(input *ListScheduledQueriesInput) (*ListScheduledQueriesOutput, error) { @@ -920,15 +920,14 @@ func (c *TimestreamQuery) ListScheduledQueriesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListScheduledQueries operation. -// pageNum := 0 -// err := client.ListScheduledQueriesPages(params, -// func(page *timestreamquery.ListScheduledQueriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListScheduledQueries operation. +// pageNum := 0 +// err := client.ListScheduledQueriesPages(params, +// func(page *timestreamquery.ListScheduledQueriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *TimestreamQuery) ListScheduledQueriesPages(input *ListScheduledQueriesInput, fn func(*ListScheduledQueriesOutput, bool) bool) error { return c.ListScheduledQueriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -980,14 +979,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/ListTagsForResource func (c *TimestreamQuery) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1047,17 +1045,18 @@ func (c *TimestreamQuery) ListTagsForResourceRequest(input *ListTagsForResourceI // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * InvalidEndpointException -// The requested endpoint was not valid. +// - InvalidEndpointException +// The requested endpoint was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/ListTagsForResource func (c *TimestreamQuery) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1089,15 +1088,14 @@ func (c *TimestreamQuery) ListTagsForResourceWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *timestreamquery.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *timestreamquery.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *TimestreamQuery) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1149,14 +1147,13 @@ const opPrepareQuery = "PrepareQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PrepareQueryRequest method. +// req, resp := client.PrepareQueryRequest(params) // -// // Example sending a request using the PrepareQueryRequest method. -// req, resp := client.PrepareQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/PrepareQuery func (c *TimestreamQuery) PrepareQueryRequest(input *PrepareQueryInput) (req *request.Request, output *PrepareQueryOutput) { @@ -1212,21 +1209,22 @@ func (c *TimestreamQuery) PrepareQueryRequest(input *PrepareQueryInput) (req *re // API operation PrepareQuery for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform this action. // -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. +// - AccessDeniedException +// You are not authorized to perform this action. // -// * ThrottlingException -// The request was denied due to request throttling. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. // -// * ValidationException -// Invalid or malformed request. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InvalidEndpointException -// The requested endpoint was not valid. +// - ValidationException +// Invalid or malformed request. +// +// - InvalidEndpointException +// The requested endpoint was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/PrepareQuery func (c *TimestreamQuery) PrepareQuery(input *PrepareQueryInput) (*PrepareQueryOutput, error) { @@ -1266,14 +1264,13 @@ const opQuery = "Query" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the QueryRequest method. +// req, resp := client.QueryRequest(params) // -// // Example sending a request using the QueryRequest method. -// req, resp := client.QueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/Query func (c *TimestreamQuery) QueryRequest(input *QueryInput) (req *request.Request, output *QueryOutput) { @@ -1331,20 +1328,20 @@ func (c *TimestreamQuery) QueryRequest(input *QueryInput) (req *request.Request, // // Your query request will fail in the following cases: // -// * If you submit a Query request with the same client token outside of -// the 5-minute idempotency window. +// - If you submit a Query request with the same client token outside of +// the 5-minute idempotency window. // -// * If you submit a Query request with the same client token, but change -// other parameters, within the 5-minute idempotency window. +// - If you submit a Query request with the same client token, but change +// other parameters, within the 5-minute idempotency window. // -// * If the size of the row (including the query metadata) exceeds 1 MB, -// then the query will fail with the following error message: Query aborted -// as max page response size has been exceeded by the output result row +// - If the size of the row (including the query metadata) exceeds 1 MB, +// then the query will fail with the following error message: Query aborted +// as max page response size has been exceeded by the output result row // -// * If the IAM principal of the query initiator and the result reader are -// not the same and/or the query initiator and the result reader do not have -// the same query string in the query requests, the query will fail with -// an Invalid pagination token error. +// - If the IAM principal of the query initiator and the result reader are +// not the same and/or the query initiator and the result reader do not have +// the same query string in the query requests, the query will fail with +// an Invalid pagination token error. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1354,27 +1351,28 @@ func (c *TimestreamQuery) QueryRequest(input *QueryInput) (req *request.Request, // API operation Query for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform this action. // -// * ConflictException -// Unable to poll results for a cancelled query. +// - AccessDeniedException +// You are not authorized to perform this action. +// +// - ConflictException +// Unable to poll results for a cancelled query. // -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. // -// * QueryExecutionException -// Timestream was unable to run the query successfully. +// - QueryExecutionException +// Timestream was unable to run the query successfully. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * InvalidEndpointException -// The requested endpoint was not valid. +// - InvalidEndpointException +// The requested endpoint was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/Query func (c *TimestreamQuery) Query(input *QueryInput) (*QueryOutput, error) { @@ -1406,15 +1404,14 @@ func (c *TimestreamQuery) QueryWithContext(ctx aws.Context, input *QueryInput, o // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a Query operation. -// pageNum := 0 -// err := client.QueryPages(params, -// func(page *timestreamquery.QueryOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a Query operation. +// pageNum := 0 +// err := client.QueryPages(params, +// func(page *timestreamquery.QueryOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *TimestreamQuery) QueryPages(input *QueryInput, fn func(*QueryOutput, bool) bool) error { return c.QueryPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1466,14 +1463,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/TagResource func (c *TimestreamQuery) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1530,20 +1526,21 @@ func (c *TimestreamQuery) TagResourceRequest(input *TagResourceInput) (req *requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested resource could not be found. // -// * ServiceQuotaExceededException -// You have exceeded the service quota. +// - ResourceNotFoundException +// The requested resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ServiceQuotaExceededException +// You have exceeded the service quota. // -// * ValidationException -// Invalid or malformed request. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InvalidEndpointException -// The requested endpoint was not valid. +// - ValidationException +// Invalid or malformed request. +// +// - InvalidEndpointException +// The requested endpoint was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/TagResource func (c *TimestreamQuery) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1583,14 +1580,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/UntagResource func (c *TimestreamQuery) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1645,17 +1641,18 @@ func (c *TimestreamQuery) UntagResourceRequest(input *UntagResourceInput) (req * // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// Invalid or malformed request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ValidationException +// Invalid or malformed request. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - ThrottlingException +// The request was denied due to request throttling. // -// * InvalidEndpointException -// The requested endpoint was not valid. +// - ResourceNotFoundException +// The requested resource could not be found. +// +// - InvalidEndpointException +// The requested endpoint was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/UntagResource func (c *TimestreamQuery) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1695,14 +1692,13 @@ const opUpdateScheduledQuery = "UpdateScheduledQuery" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateScheduledQueryRequest method. +// req, resp := client.UpdateScheduledQueryRequest(params) // -// // Example sending a request using the UpdateScheduledQueryRequest method. -// req, resp := client.UpdateScheduledQueryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/UpdateScheduledQuery func (c *TimestreamQuery) UpdateScheduledQueryRequest(input *UpdateScheduledQueryInput) (req *request.Request, output *UpdateScheduledQueryOutput) { @@ -1757,24 +1753,25 @@ func (c *TimestreamQuery) UpdateScheduledQueryRequest(input *UpdateScheduledQuer // API operation UpdateScheduledQuery for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You are not authorized to perform this action. // -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. +// - AccessDeniedException +// You are not authorized to perform this action. +// +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. // -// * ResourceNotFoundException -// The requested resource could not be found. +// - ResourceNotFoundException +// The requested resource could not be found. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * InvalidEndpointException -// The requested endpoint was not valid. +// - InvalidEndpointException +// The requested endpoint was not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01/UpdateScheduledQuery func (c *TimestreamQuery) UpdateScheduledQuery(input *UpdateScheduledQueryInput) (*UpdateScheduledQueryOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/doc.go index 2aa350788514..2f08b88d00f0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/doc.go @@ -3,14 +3,14 @@ // Package timestreamquery provides the client and types for making API // requests to Amazon Timestream Query. // -// Amazon Timestream Query +// # Amazon Timestream Query // // See https://docs.aws.amazon.com/goto/WebAPI/timestream-query-2018-11-01 for more information on this service. // // See timestreamquery package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/timestreamquery/ // -// Using the Client +// # Using the Client // // To contact Amazon Timestream Query with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/service.go index 38e631faddb5..af39ab4f42df 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/service.go @@ -42,13 +42,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a TimestreamQuery client from just a session. -// svc := timestreamquery.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a TimestreamQuery client with additional configuration -// svc := timestreamquery.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a TimestreamQuery client from just a session. +// svc := timestreamquery.New(mySession) +// +// // Create a TimestreamQuery client with additional configuration +// svc := timestreamquery.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *TimestreamQuery { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/timestreamqueryiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/timestreamqueryiface/interface.go index f8632e67e1af..1beefd201469 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/timestreamqueryiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamquery/timestreamqueryiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Timestream Query. -// func myFunc(svc timestreamqueryiface.TimestreamQueryAPI) bool { -// // Make svc.CancelQuery request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Timestream Query. +// func myFunc(svc timestreamqueryiface.TimestreamQueryAPI) bool { +// // Make svc.CancelQuery request +// } // -// func main() { -// sess := session.New() -// svc := timestreamquery.New(sess) +// func main() { +// sess := session.New() +// svc := timestreamquery.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockTimestreamQueryClient struct { -// timestreamqueryiface.TimestreamQueryAPI -// } -// func (m *mockTimestreamQueryClient) CancelQuery(input *timestreamquery.CancelQueryInput) (*timestreamquery.CancelQueryOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockTimestreamQueryClient struct { +// timestreamqueryiface.TimestreamQueryAPI +// } +// func (m *mockTimestreamQueryClient) CancelQuery(input *timestreamquery.CancelQueryInput) (*timestreamquery.CancelQueryOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockTimestreamQueryClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockTimestreamQueryClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/api.go index 25a6734288c7..565110bdf084 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/api.go @@ -32,14 +32,13 @@ const opCreateDatabase = "CreateDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDatabaseRequest method. +// req, resp := client.CreateDatabaseRequest(params) // -// // Example sending a request using the CreateDatabaseRequest method. -// req, resp := client.CreateDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/CreateDatabase func (c *TimestreamWrite) CreateDatabaseRequest(input *CreateDatabaseInput) (req *request.Request, output *CreateDatabaseOutput) { @@ -98,32 +97,33 @@ func (c *TimestreamWrite) CreateDatabaseRequest(input *CreateDatabaseInput) (req // API operation CreateDatabase for usage and error information. // // Returned Error Types: -// * ConflictException -// Timestream was unable to process this request because it contains resource -// that already exists. // -// * ValidationException -// Invalid or malformed request. +// - ConflictException +// Timestream was unable to process this request because it contains resource +// that already exists. +// +// - ValidationException +// Invalid or malformed request. // -// * AccessDeniedException -// You are not authorized to perform this action. +// - AccessDeniedException +// You are not authorized to perform this action. // -// * ServiceQuotaExceededException -// Instance quota of resource exceeded for this account. +// - ServiceQuotaExceededException +// Instance quota of resource exceeded for this account. // -// * ThrottlingException -// Too many requests were made by a user exceeding service quotas. The request -// was throttled. +// - ThrottlingException +// Too many requests were made by a user exceeding service quotas. The request +// was throttled. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - InvalidEndpointException +// The requested endpoint was invalid. // -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - InvalidEndpointException +// The requested endpoint was invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/CreateDatabase func (c *TimestreamWrite) CreateDatabase(input *CreateDatabaseInput) (*CreateDatabaseOutput, error) { @@ -163,14 +163,13 @@ const opCreateTable = "CreateTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTableRequest method. +// req, resp := client.CreateTableRequest(params) // -// // Example sending a request using the CreateTableRequest method. -// req, resp := client.CreateTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/CreateTable func (c *TimestreamWrite) CreateTableRequest(input *CreateTableInput) (req *request.Request, output *CreateTableOutput) { @@ -231,36 +230,37 @@ func (c *TimestreamWrite) CreateTableRequest(input *CreateTableInput) (req *requ // API operation CreateTable for usage and error information. // // Returned Error Types: -// * ConflictException -// Timestream was unable to process this request because it contains resource -// that already exists. // -// * ValidationException -// Invalid or malformed request. +// - ConflictException +// Timestream was unable to process this request because it contains resource +// that already exists. +// +// - ValidationException +// Invalid or malformed request. // -// * AccessDeniedException -// You are not authorized to perform this action. +// - AccessDeniedException +// You are not authorized to perform this action. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent resource. The resource might -// not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a nonexistent resource. The resource might +// not be specified correctly, or its status might not be ACTIVE. // -// * ServiceQuotaExceededException -// Instance quota of resource exceeded for this account. +// - ServiceQuotaExceededException +// Instance quota of resource exceeded for this account. // -// * ThrottlingException -// Too many requests were made by a user exceeding service quotas. The request -// was throttled. +// - ThrottlingException +// Too many requests were made by a user exceeding service quotas. The request +// was throttled. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - InvalidEndpointException +// The requested endpoint was invalid. // -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - InvalidEndpointException +// The requested endpoint was invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/CreateTable func (c *TimestreamWrite) CreateTable(input *CreateTableInput) (*CreateTableOutput, error) { @@ -300,14 +300,13 @@ const opDeleteDatabase = "DeleteDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDatabaseRequest method. +// req, resp := client.DeleteDatabaseRequest(params) // -// // Example sending a request using the DeleteDatabaseRequest method. -// req, resp := client.DeleteDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/DeleteDatabase func (c *TimestreamWrite) DeleteDatabaseRequest(input *DeleteDatabaseInput) (req *request.Request, output *DeleteDatabaseOutput) { @@ -372,26 +371,27 @@ func (c *TimestreamWrite) DeleteDatabaseRequest(input *DeleteDatabaseInput) (req // API operation DeleteDatabase for usage and error information. // // Returned Error Types: -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. // -// * ThrottlingException -// Too many requests were made by a user exceeding service quotas. The request -// was throttled. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. +// +// - ThrottlingException +// Too many requests were made by a user exceeding service quotas. The request +// was throttled. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent resource. The resource might -// not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a nonexistent resource. The resource might +// not be specified correctly, or its status might not be ACTIVE. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * AccessDeniedException -// You are not authorized to perform this action. +// - AccessDeniedException +// You are not authorized to perform this action. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - InvalidEndpointException +// The requested endpoint was invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/DeleteDatabase func (c *TimestreamWrite) DeleteDatabase(input *DeleteDatabaseInput) (*DeleteDatabaseOutput, error) { @@ -431,14 +431,13 @@ const opDeleteTable = "DeleteTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTableRequest method. +// req, resp := client.DeleteTableRequest(params) // -// // Example sending a request using the DeleteTableRequest method. -// req, resp := client.DeleteTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/DeleteTable func (c *TimestreamWrite) DeleteTableRequest(input *DeleteTableInput) (req *request.Request, output *DeleteTableOutput) { @@ -501,26 +500,27 @@ func (c *TimestreamWrite) DeleteTableRequest(input *DeleteTableInput) (req *requ // API operation DeleteTable for usage and error information. // // Returned Error Types: -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. // -// * ThrottlingException -// Too many requests were made by a user exceeding service quotas. The request -// was throttled. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. +// +// - ThrottlingException +// Too many requests were made by a user exceeding service quotas. The request +// was throttled. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent resource. The resource might -// not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a nonexistent resource. The resource might +// not be specified correctly, or its status might not be ACTIVE. // -// * AccessDeniedException -// You are not authorized to perform this action. +// - AccessDeniedException +// You are not authorized to perform this action. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - InvalidEndpointException +// The requested endpoint was invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/DeleteTable func (c *TimestreamWrite) DeleteTable(input *DeleteTableInput) (*DeleteTableOutput, error) { @@ -560,14 +560,13 @@ const opDescribeDatabase = "DescribeDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDatabaseRequest method. +// req, resp := client.DescribeDatabaseRequest(params) // -// // Example sending a request using the DescribeDatabaseRequest method. -// req, resp := client.DescribeDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/DescribeDatabase func (c *TimestreamWrite) DescribeDatabaseRequest(input *DescribeDatabaseInput) (req *request.Request, output *DescribeDatabaseOutput) { @@ -625,26 +624,27 @@ func (c *TimestreamWrite) DescribeDatabaseRequest(input *DescribeDatabaseInput) // API operation DescribeDatabase for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent resource. The resource might -// not be specified correctly, or its status might not be ACTIVE. // -// * ValidationException -// Invalid or malformed request. +// - ResourceNotFoundException +// The operation tried to access a nonexistent resource. The resource might +// not be specified correctly, or its status might not be ACTIVE. +// +// - ValidationException +// Invalid or malformed request. // -// * AccessDeniedException -// You are not authorized to perform this action. +// - AccessDeniedException +// You are not authorized to perform this action. // -// * ThrottlingException -// Too many requests were made by a user exceeding service quotas. The request -// was throttled. +// - ThrottlingException +// Too many requests were made by a user exceeding service quotas. The request +// was throttled. // -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - InvalidEndpointException +// The requested endpoint was invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/DescribeDatabase func (c *TimestreamWrite) DescribeDatabase(input *DescribeDatabaseInput) (*DescribeDatabaseOutput, error) { @@ -684,14 +684,13 @@ const opDescribeEndpoints = "DescribeEndpoints" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEndpointsRequest method. +// req, resp := client.DescribeEndpointsRequest(params) // -// // Example sending a request using the DescribeEndpointsRequest method. -// req, resp := client.DescribeEndpointsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/DescribeEndpoints func (c *TimestreamWrite) DescribeEndpointsRequest(input *DescribeEndpointsInput) (req *request.Request, output *DescribeEndpointsOutput) { @@ -719,13 +718,13 @@ func (c *TimestreamWrite) DescribeEndpointsRequest(input *DescribeEndpointsInput // architecture, including the management and mapping of the service endpoints, // it is not recommended that you use this API unless: // -// * You are using VPC endpoints (Amazon Web Services PrivateLink) with Timestream -// (https://docs.aws.amazon.com/timestream/latest/developerguide/VPCEndpoints) +// - You are using VPC endpoints (Amazon Web Services PrivateLink) with Timestream +// (https://docs.aws.amazon.com/timestream/latest/developerguide/VPCEndpoints) // -// * Your application uses a programming language that does not yet have -// SDK support +// - Your application uses a programming language that does not yet have +// SDK support // -// * You require better control over the client-side implementation +// - You require better control over the client-side implementation // // For detailed information on how and when to use and implement DescribeEndpoints, // see The Endpoint Discovery Pattern (https://docs.aws.amazon.com/timestream/latest/developerguide/Using.API.html#Using-API.endpoint-discovery). @@ -738,16 +737,17 @@ func (c *TimestreamWrite) DescribeEndpointsRequest(input *DescribeEndpointsInput // API operation DescribeEndpoints for usage and error information. // // Returned Error Types: -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. // -// * ValidationException -// Invalid or malformed request. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. +// +// - ValidationException +// Invalid or malformed request. // -// * ThrottlingException -// Too many requests were made by a user exceeding service quotas. The request -// was throttled. +// - ThrottlingException +// Too many requests were made by a user exceeding service quotas. The request +// was throttled. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/DescribeEndpoints func (c *TimestreamWrite) DescribeEndpoints(input *DescribeEndpointsInput) (*DescribeEndpointsOutput, error) { @@ -859,14 +859,13 @@ const opDescribeTable = "DescribeTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTableRequest method. +// req, resp := client.DescribeTableRequest(params) // -// // Example sending a request using the DescribeTableRequest method. -// req, resp := client.DescribeTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/DescribeTable func (c *TimestreamWrite) DescribeTableRequest(input *DescribeTableInput) (req *request.Request, output *DescribeTableOutput) { @@ -924,26 +923,27 @@ func (c *TimestreamWrite) DescribeTableRequest(input *DescribeTableInput) (req * // API operation DescribeTable for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent resource. The resource might -// not be specified correctly, or its status might not be ACTIVE. // -// * ValidationException -// Invalid or malformed request. +// - ResourceNotFoundException +// The operation tried to access a nonexistent resource. The resource might +// not be specified correctly, or its status might not be ACTIVE. +// +// - ValidationException +// Invalid or malformed request. // -// * AccessDeniedException -// You are not authorized to perform this action. +// - AccessDeniedException +// You are not authorized to perform this action. // -// * ThrottlingException -// Too many requests were made by a user exceeding service quotas. The request -// was throttled. +// - ThrottlingException +// Too many requests were made by a user exceeding service quotas. The request +// was throttled. // -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - InvalidEndpointException +// The requested endpoint was invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/DescribeTable func (c *TimestreamWrite) DescribeTable(input *DescribeTableInput) (*DescribeTableOutput, error) { @@ -983,14 +983,13 @@ const opListDatabases = "ListDatabases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDatabasesRequest method. +// req, resp := client.ListDatabasesRequest(params) // -// // Example sending a request using the ListDatabasesRequest method. -// req, resp := client.ListDatabasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/ListDatabases func (c *TimestreamWrite) ListDatabasesRequest(input *ListDatabasesInput) (req *request.Request, output *ListDatabasesOutput) { @@ -1052,22 +1051,23 @@ func (c *TimestreamWrite) ListDatabasesRequest(input *ListDatabasesInput) (req * // API operation ListDatabases for usage and error information. // // Returned Error Types: -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. // -// * ThrottlingException -// Too many requests were made by a user exceeding service quotas. The request -// was throttled. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. +// +// - ThrottlingException +// Too many requests were made by a user exceeding service quotas. The request +// was throttled. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * AccessDeniedException -// You are not authorized to perform this action. +// - AccessDeniedException +// You are not authorized to perform this action. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - InvalidEndpointException +// The requested endpoint was invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/ListDatabases func (c *TimestreamWrite) ListDatabases(input *ListDatabasesInput) (*ListDatabasesOutput, error) { @@ -1099,15 +1099,14 @@ func (c *TimestreamWrite) ListDatabasesWithContext(ctx aws.Context, input *ListD // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDatabases operation. -// pageNum := 0 -// err := client.ListDatabasesPages(params, -// func(page *timestreamwrite.ListDatabasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDatabases operation. +// pageNum := 0 +// err := client.ListDatabasesPages(params, +// func(page *timestreamwrite.ListDatabasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *TimestreamWrite) ListDatabasesPages(input *ListDatabasesInput, fn func(*ListDatabasesOutput, bool) bool) error { return c.ListDatabasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1159,14 +1158,13 @@ const opListTables = "ListTables" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTablesRequest method. +// req, resp := client.ListTablesRequest(params) // -// // Example sending a request using the ListTablesRequest method. -// req, resp := client.ListTablesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/ListTables func (c *TimestreamWrite) ListTablesRequest(input *ListTablesInput) (req *request.Request, output *ListTablesOutput) { @@ -1228,26 +1226,27 @@ func (c *TimestreamWrite) ListTablesRequest(input *ListTablesInput) (req *reques // API operation ListTables for usage and error information. // // Returned Error Types: -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. // -// * ThrottlingException -// Too many requests were made by a user exceeding service quotas. The request -// was throttled. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. // -// * ValidationException -// Invalid or malformed request. +// - ThrottlingException +// Too many requests were made by a user exceeding service quotas. The request +// was throttled. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent resource. The resource might -// not be specified correctly, or its status might not be ACTIVE. +// - ValidationException +// Invalid or malformed request. // -// * AccessDeniedException -// You are not authorized to perform this action. +// - ResourceNotFoundException +// The operation tried to access a nonexistent resource. The resource might +// not be specified correctly, or its status might not be ACTIVE. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - AccessDeniedException +// You are not authorized to perform this action. +// +// - InvalidEndpointException +// The requested endpoint was invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/ListTables func (c *TimestreamWrite) ListTables(input *ListTablesInput) (*ListTablesOutput, error) { @@ -1279,15 +1278,14 @@ func (c *TimestreamWrite) ListTablesWithContext(ctx aws.Context, input *ListTabl // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTables operation. -// pageNum := 0 -// err := client.ListTablesPages(params, -// func(page *timestreamwrite.ListTablesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTables operation. +// pageNum := 0 +// err := client.ListTablesPages(params, +// func(page *timestreamwrite.ListTablesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *TimestreamWrite) ListTablesPages(input *ListTablesInput, fn func(*ListTablesOutput, bool) bool) error { return c.ListTablesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1339,14 +1337,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/ListTagsForResource func (c *TimestreamWrite) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1400,19 +1397,20 @@ func (c *TimestreamWrite) ListTagsForResourceRequest(input *ListTagsForResourceI // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent resource. The resource might -// not be specified correctly, or its status might not be ACTIVE. // -// * ThrottlingException -// Too many requests were made by a user exceeding service quotas. The request -// was throttled. +// - ResourceNotFoundException +// The operation tried to access a nonexistent resource. The resource might +// not be specified correctly, or its status might not be ACTIVE. +// +// - ThrottlingException +// Too many requests were made by a user exceeding service quotas. The request +// was throttled. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - InvalidEndpointException +// The requested endpoint was invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/ListTagsForResource func (c *TimestreamWrite) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1452,14 +1450,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/TagResource func (c *TimestreamWrite) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -1516,22 +1513,23 @@ func (c *TimestreamWrite) TagResourceRequest(input *TagResourceInput) (req *requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The operation tried to access a nonexistent resource. The resource might -// not be specified correctly, or its status might not be ACTIVE. // -// * ServiceQuotaExceededException -// Instance quota of resource exceeded for this account. +// - ResourceNotFoundException +// The operation tried to access a nonexistent resource. The resource might +// not be specified correctly, or its status might not be ACTIVE. +// +// - ServiceQuotaExceededException +// Instance quota of resource exceeded for this account. // -// * ThrottlingException -// Too many requests were made by a user exceeding service quotas. The request -// was throttled. +// - ThrottlingException +// Too many requests were made by a user exceeding service quotas. The request +// was throttled. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - InvalidEndpointException +// The requested endpoint was invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/TagResource func (c *TimestreamWrite) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -1571,14 +1569,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/UntagResource func (c *TimestreamWrite) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -1633,22 +1630,23 @@ func (c *TimestreamWrite) UntagResourceRequest(input *UntagResourceInput) (req * // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ValidationException -// Invalid or malformed request. // -// * ServiceQuotaExceededException -// Instance quota of resource exceeded for this account. +// - ValidationException +// Invalid or malformed request. +// +// - ServiceQuotaExceededException +// Instance quota of resource exceeded for this account. // -// * ThrottlingException -// Too many requests were made by a user exceeding service quotas. The request -// was throttled. +// - ThrottlingException +// Too many requests were made by a user exceeding service quotas. The request +// was throttled. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent resource. The resource might -// not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a nonexistent resource. The resource might +// not be specified correctly, or its status might not be ACTIVE. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - InvalidEndpointException +// The requested endpoint was invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/UntagResource func (c *TimestreamWrite) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -1688,14 +1686,13 @@ const opUpdateDatabase = "UpdateDatabase" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDatabaseRequest method. +// req, resp := client.UpdateDatabaseRequest(params) // -// // Example sending a request using the UpdateDatabaseRequest method. -// req, resp := client.UpdateDatabaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/UpdateDatabase func (c *TimestreamWrite) UpdateDatabaseRequest(input *UpdateDatabaseInput) (req *request.Request, output *UpdateDatabaseOutput) { @@ -1755,29 +1752,30 @@ func (c *TimestreamWrite) UpdateDatabaseRequest(input *UpdateDatabaseInput) (req // API operation UpdateDatabase for usage and error information. // // Returned Error Types: -// * ValidationException -// Invalid or malformed request. // -// * AccessDeniedException -// You are not authorized to perform this action. +// - ValidationException +// Invalid or malformed request. +// +// - AccessDeniedException +// You are not authorized to perform this action. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent resource. The resource might -// not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a nonexistent resource. The resource might +// not be specified correctly, or its status might not be ACTIVE. // -// * ServiceQuotaExceededException -// Instance quota of resource exceeded for this account. +// - ServiceQuotaExceededException +// Instance quota of resource exceeded for this account. // -// * ThrottlingException -// Too many requests were made by a user exceeding service quotas. The request -// was throttled. +// - ThrottlingException +// Too many requests were made by a user exceeding service quotas. The request +// was throttled. // -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - InvalidEndpointException +// The requested endpoint was invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/UpdateDatabase func (c *TimestreamWrite) UpdateDatabase(input *UpdateDatabaseInput) (*UpdateDatabaseOutput, error) { @@ -1817,14 +1815,13 @@ const opUpdateTable = "UpdateTable" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTableRequest method. +// req, resp := client.UpdateTableRequest(params) // -// // Example sending a request using the UpdateTableRequest method. -// req, resp := client.UpdateTableRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/UpdateTable func (c *TimestreamWrite) UpdateTableRequest(input *UpdateTableInput) (req *request.Request, output *UpdateTableOutput) { @@ -1887,26 +1884,27 @@ func (c *TimestreamWrite) UpdateTableRequest(input *UpdateTableInput) (req *requ // API operation UpdateTable for usage and error information. // // Returned Error Types: -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. // -// * ThrottlingException -// Too many requests were made by a user exceeding service quotas. The request -// was throttled. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. +// +// - ThrottlingException +// Too many requests were made by a user exceeding service quotas. The request +// was throttled. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent resource. The resource might -// not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a nonexistent resource. The resource might +// not be specified correctly, or its status might not be ACTIVE. // -// * AccessDeniedException -// You are not authorized to perform this action. +// - AccessDeniedException +// You are not authorized to perform this action. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - InvalidEndpointException +// The requested endpoint was invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/UpdateTable func (c *TimestreamWrite) UpdateTable(input *UpdateTableInput) (*UpdateTableOutput, error) { @@ -1946,14 +1944,13 @@ const opWriteRecords = "WriteRecords" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the WriteRecordsRequest method. +// req, resp := client.WriteRecordsRequest(params) // -// // Example sending a request using the WriteRecordsRequest method. -// req, resp := client.WriteRecordsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/WriteRecords func (c *TimestreamWrite) WriteRecordsRequest(input *WriteRecordsInput) (req *request.Request, output *WriteRecordsOutput) { @@ -2012,7 +2009,7 @@ func (c *TimestreamWrite) WriteRecordsRequest(input *WriteRecordsInput) (req *re // See code sample (https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.write.html) // for details. // -// Upserts +// # Upserts // // You can use the Version parameter in a WriteRecords request to update data // points. Timestream tracks a version number with each record. Version defaults @@ -2046,47 +2043,48 @@ func (c *TimestreamWrite) WriteRecordsRequest(input *WriteRecordsInput) (req *re // API operation WriteRecords for usage and error information. // // Returned Error Types: -// * InternalServerException -// Timestream was unable to fully process this request because of an internal -// server error. // -// * ThrottlingException -// Too many requests were made by a user exceeding service quotas. The request -// was throttled. +// - InternalServerException +// Timestream was unable to fully process this request because of an internal +// server error. +// +// - ThrottlingException +// Too many requests were made by a user exceeding service quotas. The request +// was throttled. // -// * ValidationException -// Invalid or malformed request. +// - ValidationException +// Invalid or malformed request. // -// * ResourceNotFoundException -// The operation tried to access a nonexistent resource. The resource might -// not be specified correctly, or its status might not be ACTIVE. +// - ResourceNotFoundException +// The operation tried to access a nonexistent resource. The resource might +// not be specified correctly, or its status might not be ACTIVE. // -// * AccessDeniedException -// You are not authorized to perform this action. +// - AccessDeniedException +// You are not authorized to perform this action. // -// * RejectedRecordsException -// WriteRecords would throw this exception in the following cases: +// - RejectedRecordsException +// WriteRecords would throw this exception in the following cases: // -// * Records with duplicate data where there are multiple records with the -// same dimensions, timestamps, and measure names but: Measure values are -// different Version is not present in the request or the value of version -// in the new record is equal to or lower than the existing value In this -// case, if Timestream rejects data, the ExistingVersion field in the RejectedRecords -// response will indicate the current record’s version. To force an update, -// you can resend the request with a version for the record set to a value -// greater than the ExistingVersion. +// - Records with duplicate data where there are multiple records with the +// same dimensions, timestamps, and measure names but: Measure values are +// different Version is not present in the request or the value of version +// in the new record is equal to or lower than the existing value In this +// case, if Timestream rejects data, the ExistingVersion field in the RejectedRecords +// response will indicate the current record’s version. To force an update, +// you can resend the request with a version for the record set to a value +// greater than the ExistingVersion. // -// * Records with timestamps that lie outside the retention duration of the -// memory store +// - Records with timestamps that lie outside the retention duration of the +// memory store // -// * Records with dimensions or measures that exceed the Timestream defined -// limits. +// - Records with dimensions or measures that exceed the Timestream defined +// limits. // -// For more information, see Quotas (https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html) -// in the Timestream Developer Guide. +// For more information, see Quotas (https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html) +// in the Timestream Developer Guide. // -// * InvalidEndpointException -// The requested endpoint was invalid. +// - InvalidEndpointException +// The requested endpoint was invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/timestream-write-2018-11-01/WriteRecords func (c *TimestreamWrite) WriteRecords(input *WriteRecordsInput) (*WriteRecordsOutput, error) { @@ -3976,20 +3974,20 @@ func (s *RejectedRecord) SetRecordIndex(v int64) *RejectedRecord { // WriteRecords would throw this exception in the following cases: // -// * Records with duplicate data where there are multiple records with the -// same dimensions, timestamps, and measure names but: Measure values are -// different Version is not present in the request or the value of version -// in the new record is equal to or lower than the existing value In this -// case, if Timestream rejects data, the ExistingVersion field in the RejectedRecords -// response will indicate the current record’s version. To force an update, -// you can resend the request with a version for the record set to a value -// greater than the ExistingVersion. +// - Records with duplicate data where there are multiple records with the +// same dimensions, timestamps, and measure names but: Measure values are +// different Version is not present in the request or the value of version +// in the new record is equal to or lower than the existing value In this +// case, if Timestream rejects data, the ExistingVersion field in the RejectedRecords +// response will indicate the current record’s version. To force an update, +// you can resend the request with a version for the record set to a value +// greater than the ExistingVersion. // -// * Records with timestamps that lie outside the retention duration of the -// memory store +// - Records with timestamps that lie outside the retention duration of the +// memory store // -// * Records with dimensions or measures that exceed the Timestream defined -// limits. +// - Records with dimensions or measures that exceed the Timestream defined +// limits. // // For more information, see Quotas (https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html) // in the Timestream Developer Guide. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/doc.go index 58960a6811d6..ba76a3be9027 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/doc.go @@ -22,7 +22,7 @@ // See timestreamwrite package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/timestreamwrite/ // -// Using the Client +// # Using the Client // // To contact Amazon Timestream Write with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/service.go index dfc62c997f87..edf1cbb6b256 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/service.go @@ -42,13 +42,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a TimestreamWrite client from just a session. -// svc := timestreamwrite.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a TimestreamWrite client with additional configuration -// svc := timestreamwrite.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a TimestreamWrite client from just a session. +// svc := timestreamwrite.New(mySession) +// +// // Create a TimestreamWrite client with additional configuration +// svc := timestreamwrite.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *TimestreamWrite { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/timestreamwriteiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/timestreamwriteiface/interface.go index 27fc2116d38c..ac90fbc2a6b1 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/timestreamwriteiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/timestreamwrite/timestreamwriteiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Timestream Write. -// func myFunc(svc timestreamwriteiface.TimestreamWriteAPI) bool { -// // Make svc.CreateDatabase request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Timestream Write. +// func myFunc(svc timestreamwriteiface.TimestreamWriteAPI) bool { +// // Make svc.CreateDatabase request +// } // -// func main() { -// sess := session.New() -// svc := timestreamwrite.New(sess) +// func main() { +// sess := session.New() +// svc := timestreamwrite.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockTimestreamWriteClient struct { -// timestreamwriteiface.TimestreamWriteAPI -// } -// func (m *mockTimestreamWriteClient) CreateDatabase(input *timestreamwrite.CreateDatabaseInput) (*timestreamwrite.CreateDatabaseOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockTimestreamWriteClient struct { +// timestreamwriteiface.TimestreamWriteAPI +// } +// func (m *mockTimestreamWriteClient) CreateDatabase(input *timestreamwrite.CreateDatabaseInput) (*timestreamwrite.CreateDatabaseOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockTimestreamWriteClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockTimestreamWriteClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/api.go index 2c3993cc69d6..b29145d2a0db 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/api.go @@ -29,14 +29,13 @@ const opCreateCallAnalyticsCategory = "CreateCallAnalyticsCategory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCallAnalyticsCategoryRequest method. +// req, resp := client.CreateCallAnalyticsCategoryRequest(params) // -// // Example sending a request using the CreateCallAnalyticsCategoryRequest method. -// req, resp := client.CreateCallAnalyticsCategoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateCallAnalyticsCategory func (c *TranscribeService) CreateCallAnalyticsCategoryRequest(input *CreateCallAnalyticsCategoryInput) (req *request.Request, output *CreateCallAnalyticsCategoryOutput) { @@ -74,22 +73,23 @@ func (c *TranscribeService) CreateCallAnalyticsCategoryRequest(input *CreateCall // API operation CreateCallAnalyticsCategory for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // -// * ConflictException -// There is already a resource with that name. +// - ConflictException +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateCallAnalyticsCategory func (c *TranscribeService) CreateCallAnalyticsCategory(input *CreateCallAnalyticsCategoryInput) (*CreateCallAnalyticsCategoryOutput, error) { @@ -129,14 +129,13 @@ const opCreateLanguageModel = "CreateLanguageModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLanguageModelRequest method. +// req, resp := client.CreateLanguageModelRequest(params) // -// // Example sending a request using the CreateLanguageModelRequest method. -// req, resp := client.CreateLanguageModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateLanguageModel func (c *TranscribeService) CreateLanguageModelRequest(input *CreateLanguageModelInput) (req *request.Request, output *CreateLanguageModelOutput) { @@ -171,22 +170,23 @@ func (c *TranscribeService) CreateLanguageModelRequest(input *CreateLanguageMode // API operation CreateLanguageModel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * ConflictException -// There is already a resource with that name. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. +// +// - ConflictException +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateLanguageModel func (c *TranscribeService) CreateLanguageModel(input *CreateLanguageModelInput) (*CreateLanguageModelOutput, error) { @@ -226,14 +226,13 @@ const opCreateMedicalVocabulary = "CreateMedicalVocabulary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMedicalVocabularyRequest method. +// req, resp := client.CreateMedicalVocabularyRequest(params) // -// // Example sending a request using the CreateMedicalVocabularyRequest method. -// req, resp := client.CreateMedicalVocabularyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateMedicalVocabulary func (c *TranscribeService) CreateMedicalVocabularyRequest(input *CreateMedicalVocabularyInput) (req *request.Request, output *CreateMedicalVocabularyOutput) { @@ -273,22 +272,23 @@ func (c *TranscribeService) CreateMedicalVocabularyRequest(input *CreateMedicalV // API operation CreateMedicalVocabulary for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // -// * ConflictException -// There is already a resource with that name. +// - ConflictException +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateMedicalVocabulary func (c *TranscribeService) CreateMedicalVocabulary(input *CreateMedicalVocabularyInput) (*CreateMedicalVocabularyOutput, error) { @@ -328,14 +328,13 @@ const opCreateVocabulary = "CreateVocabulary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVocabularyRequest method. +// req, resp := client.CreateVocabularyRequest(params) // -// // Example sending a request using the CreateVocabularyRequest method. -// req, resp := client.CreateVocabularyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabulary func (c *TranscribeService) CreateVocabularyRequest(input *CreateVocabularyInput) (req *request.Request, output *CreateVocabularyOutput) { @@ -373,22 +372,23 @@ func (c *TranscribeService) CreateVocabularyRequest(input *CreateVocabularyInput // API operation CreateVocabulary for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // -// * ConflictException -// There is already a resource with that name. +// - ConflictException +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabulary func (c *TranscribeService) CreateVocabulary(input *CreateVocabularyInput) (*CreateVocabularyOutput, error) { @@ -428,14 +428,13 @@ const opCreateVocabularyFilter = "CreateVocabularyFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateVocabularyFilterRequest method. +// req, resp := client.CreateVocabularyFilterRequest(params) // -// // Example sending a request using the CreateVocabularyFilterRequest method. -// req, resp := client.CreateVocabularyFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilter func (c *TranscribeService) CreateVocabularyFilterRequest(input *CreateVocabularyFilterInput) (req *request.Request, output *CreateVocabularyFilterOutput) { @@ -468,22 +467,23 @@ func (c *TranscribeService) CreateVocabularyFilterRequest(input *CreateVocabular // API operation CreateVocabularyFilter for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * ConflictException -// There is already a resource with that name. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. +// +// - ConflictException +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/CreateVocabularyFilter func (c *TranscribeService) CreateVocabularyFilter(input *CreateVocabularyFilterInput) (*CreateVocabularyFilterOutput, error) { @@ -523,14 +523,13 @@ const opDeleteCallAnalyticsCategory = "DeleteCallAnalyticsCategory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCallAnalyticsCategoryRequest method. +// req, resp := client.DeleteCallAnalyticsCategoryRequest(params) // -// // Example sending a request using the DeleteCallAnalyticsCategoryRequest method. -// req, resp := client.DeleteCallAnalyticsCategoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteCallAnalyticsCategory func (c *TranscribeService) DeleteCallAnalyticsCategoryRequest(input *DeleteCallAnalyticsCategoryInput) (req *request.Request, output *DeleteCallAnalyticsCategoryOutput) { @@ -563,23 +562,24 @@ func (c *TranscribeService) DeleteCallAnalyticsCategoryRequest(input *DeleteCall // API operation DeleteCallAnalyticsCategory for usage and error information. // // Returned Error Types: -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteCallAnalyticsCategory func (c *TranscribeService) DeleteCallAnalyticsCategory(input *DeleteCallAnalyticsCategoryInput) (*DeleteCallAnalyticsCategoryOutput, error) { @@ -619,14 +619,13 @@ const opDeleteCallAnalyticsJob = "DeleteCallAnalyticsJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCallAnalyticsJobRequest method. +// req, resp := client.DeleteCallAnalyticsJobRequest(params) // -// // Example sending a request using the DeleteCallAnalyticsJobRequest method. -// req, resp := client.DeleteCallAnalyticsJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteCallAnalyticsJob func (c *TranscribeService) DeleteCallAnalyticsJobRequest(input *DeleteCallAnalyticsJobInput) (req *request.Request, output *DeleteCallAnalyticsJobOutput) { @@ -659,19 +658,20 @@ func (c *TranscribeService) DeleteCallAnalyticsJobRequest(input *DeleteCallAnaly // API operation DeleteCallAnalyticsJob for usage and error information. // // Returned Error Types: -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. // -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. +// +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteCallAnalyticsJob func (c *TranscribeService) DeleteCallAnalyticsJob(input *DeleteCallAnalyticsJobInput) (*DeleteCallAnalyticsJobOutput, error) { @@ -711,14 +711,13 @@ const opDeleteLanguageModel = "DeleteLanguageModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLanguageModelRequest method. +// req, resp := client.DeleteLanguageModelRequest(params) // -// // Example sending a request using the DeleteLanguageModelRequest method. -// req, resp := client.DeleteLanguageModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteLanguageModel func (c *TranscribeService) DeleteLanguageModelRequest(input *DeleteLanguageModelInput) (req *request.Request, output *DeleteLanguageModelOutput) { @@ -751,19 +750,20 @@ func (c *TranscribeService) DeleteLanguageModelRequest(input *DeleteLanguageMode // API operation DeleteLanguageModel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. +// +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteLanguageModel func (c *TranscribeService) DeleteLanguageModel(input *DeleteLanguageModelInput) (*DeleteLanguageModelOutput, error) { @@ -803,14 +803,13 @@ const opDeleteMedicalTranscriptionJob = "DeleteMedicalTranscriptionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMedicalTranscriptionJobRequest method. +// req, resp := client.DeleteMedicalTranscriptionJobRequest(params) // -// // Example sending a request using the DeleteMedicalTranscriptionJobRequest method. -// req, resp := client.DeleteMedicalTranscriptionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalTranscriptionJob func (c *TranscribeService) DeleteMedicalTranscriptionJobRequest(input *DeleteMedicalTranscriptionJobInput) (req *request.Request, output *DeleteMedicalTranscriptionJobOutput) { @@ -844,19 +843,20 @@ func (c *TranscribeService) DeleteMedicalTranscriptionJobRequest(input *DeleteMe // API operation DeleteMedicalTranscriptionJob for usage and error information. // // Returned Error Types: -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. // -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. +// +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalTranscriptionJob func (c *TranscribeService) DeleteMedicalTranscriptionJob(input *DeleteMedicalTranscriptionJobInput) (*DeleteMedicalTranscriptionJobOutput, error) { @@ -896,14 +896,13 @@ const opDeleteMedicalVocabulary = "DeleteMedicalVocabulary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMedicalVocabularyRequest method. +// req, resp := client.DeleteMedicalVocabularyRequest(params) // -// // Example sending a request using the DeleteMedicalVocabularyRequest method. -// req, resp := client.DeleteMedicalVocabularyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalVocabulary func (c *TranscribeService) DeleteMedicalVocabularyRequest(input *DeleteMedicalVocabularyInput) (req *request.Request, output *DeleteMedicalVocabularyOutput) { @@ -936,23 +935,24 @@ func (c *TranscribeService) DeleteMedicalVocabularyRequest(input *DeleteMedicalV // API operation DeleteMedicalVocabulary for usage and error information. // // Returned Error Types: -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteMedicalVocabulary func (c *TranscribeService) DeleteMedicalVocabulary(input *DeleteMedicalVocabularyInput) (*DeleteMedicalVocabularyOutput, error) { @@ -992,14 +992,13 @@ const opDeleteTranscriptionJob = "DeleteTranscriptionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTranscriptionJobRequest method. +// req, resp := client.DeleteTranscriptionJobRequest(params) // -// // Example sending a request using the DeleteTranscriptionJobRequest method. -// req, resp := client.DeleteTranscriptionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteTranscriptionJob func (c *TranscribeService) DeleteTranscriptionJobRequest(input *DeleteTranscriptionJobInput) (req *request.Request, output *DeleteTranscriptionJobOutput) { @@ -1032,19 +1031,20 @@ func (c *TranscribeService) DeleteTranscriptionJobRequest(input *DeleteTranscrip // API operation DeleteTranscriptionJob for usage and error information. // // Returned Error Types: -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. // -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteTranscriptionJob func (c *TranscribeService) DeleteTranscriptionJob(input *DeleteTranscriptionJobInput) (*DeleteTranscriptionJobOutput, error) { @@ -1084,14 +1084,13 @@ const opDeleteVocabulary = "DeleteVocabulary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVocabularyRequest method. +// req, resp := client.DeleteVocabularyRequest(params) // -// // Example sending a request using the DeleteVocabularyRequest method. -// req, resp := client.DeleteVocabularyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteVocabulary func (c *TranscribeService) DeleteVocabularyRequest(input *DeleteVocabularyInput) (req *request.Request, output *DeleteVocabularyOutput) { @@ -1124,23 +1123,24 @@ func (c *TranscribeService) DeleteVocabularyRequest(input *DeleteVocabularyInput // API operation DeleteVocabulary for usage and error information. // // Returned Error Types: -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. // -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteVocabulary func (c *TranscribeService) DeleteVocabulary(input *DeleteVocabularyInput) (*DeleteVocabularyOutput, error) { @@ -1180,14 +1180,13 @@ const opDeleteVocabularyFilter = "DeleteVocabularyFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteVocabularyFilterRequest method. +// req, resp := client.DeleteVocabularyFilterRequest(params) // -// // Example sending a request using the DeleteVocabularyFilterRequest method. -// req, resp := client.DeleteVocabularyFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteVocabularyFilter func (c *TranscribeService) DeleteVocabularyFilterRequest(input *DeleteVocabularyFilterInput) (req *request.Request, output *DeleteVocabularyFilterOutput) { @@ -1220,23 +1219,24 @@ func (c *TranscribeService) DeleteVocabularyFilterRequest(input *DeleteVocabular // API operation DeleteVocabularyFilter for usage and error information. // // Returned Error Types: -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DeleteVocabularyFilter func (c *TranscribeService) DeleteVocabularyFilter(input *DeleteVocabularyFilterInput) (*DeleteVocabularyFilterOutput, error) { @@ -1276,14 +1276,13 @@ const opDescribeLanguageModel = "DescribeLanguageModel" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeLanguageModelRequest method. +// req, resp := client.DescribeLanguageModelRequest(params) // -// // Example sending a request using the DescribeLanguageModelRequest method. -// req, resp := client.DescribeLanguageModelRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DescribeLanguageModel func (c *TranscribeService) DescribeLanguageModelRequest(input *DescribeLanguageModelInput) (req *request.Request, output *DescribeLanguageModelOutput) { @@ -1323,23 +1322,24 @@ func (c *TranscribeService) DescribeLanguageModelRequest(input *DescribeLanguage // API operation DescribeLanguageModel for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/DescribeLanguageModel func (c *TranscribeService) DescribeLanguageModel(input *DescribeLanguageModelInput) (*DescribeLanguageModelOutput, error) { @@ -1379,14 +1379,13 @@ const opGetCallAnalyticsCategory = "GetCallAnalyticsCategory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCallAnalyticsCategoryRequest method. +// req, resp := client.GetCallAnalyticsCategoryRequest(params) // -// // Example sending a request using the GetCallAnalyticsCategoryRequest method. -// req, resp := client.GetCallAnalyticsCategoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetCallAnalyticsCategory func (c *TranscribeService) GetCallAnalyticsCategoryRequest(input *GetCallAnalyticsCategoryInput) (req *request.Request, output *GetCallAnalyticsCategoryOutput) { @@ -1417,23 +1416,24 @@ func (c *TranscribeService) GetCallAnalyticsCategoryRequest(input *GetCallAnalyt // API operation GetCallAnalyticsCategory for usage and error information. // // Returned Error Types: -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. +// +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetCallAnalyticsCategory func (c *TranscribeService) GetCallAnalyticsCategory(input *GetCallAnalyticsCategoryInput) (*GetCallAnalyticsCategoryOutput, error) { @@ -1473,14 +1473,13 @@ const opGetCallAnalyticsJob = "GetCallAnalyticsJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCallAnalyticsJobRequest method. +// req, resp := client.GetCallAnalyticsJobRequest(params) // -// // Example sending a request using the GetCallAnalyticsJobRequest method. -// req, resp := client.GetCallAnalyticsJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetCallAnalyticsJob func (c *TranscribeService) GetCallAnalyticsJobRequest(input *GetCallAnalyticsJobInput) (req *request.Request, output *GetCallAnalyticsJobOutput) { @@ -1517,23 +1516,24 @@ func (c *TranscribeService) GetCallAnalyticsJobRequest(input *GetCallAnalyticsJo // API operation GetCallAnalyticsJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetCallAnalyticsJob func (c *TranscribeService) GetCallAnalyticsJob(input *GetCallAnalyticsJobInput) (*GetCallAnalyticsJobOutput, error) { @@ -1573,14 +1573,13 @@ const opGetMedicalTranscriptionJob = "GetMedicalTranscriptionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMedicalTranscriptionJobRequest method. +// req, resp := client.GetMedicalTranscriptionJobRequest(params) // -// // Example sending a request using the GetMedicalTranscriptionJobRequest method. -// req, resp := client.GetMedicalTranscriptionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalTranscriptionJob func (c *TranscribeService) GetMedicalTranscriptionJobRequest(input *GetMedicalTranscriptionJobInput) (req *request.Request, output *GetMedicalTranscriptionJobOutput) { @@ -1615,23 +1614,24 @@ func (c *TranscribeService) GetMedicalTranscriptionJobRequest(input *GetMedicalT // API operation GetMedicalTranscriptionJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalTranscriptionJob func (c *TranscribeService) GetMedicalTranscriptionJob(input *GetMedicalTranscriptionJobInput) (*GetMedicalTranscriptionJobOutput, error) { @@ -1671,14 +1671,13 @@ const opGetMedicalVocabulary = "GetMedicalVocabulary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMedicalVocabularyRequest method. +// req, resp := client.GetMedicalVocabularyRequest(params) // -// // Example sending a request using the GetMedicalVocabularyRequest method. -// req, resp := client.GetMedicalVocabularyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalVocabulary func (c *TranscribeService) GetMedicalVocabularyRequest(input *GetMedicalVocabularyInput) (req *request.Request, output *GetMedicalVocabularyOutput) { @@ -1709,23 +1708,24 @@ func (c *TranscribeService) GetMedicalVocabularyRequest(input *GetMedicalVocabul // API operation GetMedicalVocabulary for usage and error information. // // Returned Error Types: -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetMedicalVocabulary func (c *TranscribeService) GetMedicalVocabulary(input *GetMedicalVocabularyInput) (*GetMedicalVocabularyOutput, error) { @@ -1765,14 +1765,13 @@ const opGetTranscriptionJob = "GetTranscriptionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTranscriptionJobRequest method. +// req, resp := client.GetTranscriptionJobRequest(params) // -// // Example sending a request using the GetTranscriptionJobRequest method. -// req, resp := client.GetTranscriptionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob func (c *TranscribeService) GetTranscriptionJobRequest(input *GetTranscriptionJobInput) (req *request.Request, output *GetTranscriptionJobOutput) { @@ -1807,23 +1806,24 @@ func (c *TranscribeService) GetTranscriptionJobRequest(input *GetTranscriptionJo // API operation GetTranscriptionJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. +// +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetTranscriptionJob func (c *TranscribeService) GetTranscriptionJob(input *GetTranscriptionJobInput) (*GetTranscriptionJobOutput, error) { @@ -1863,14 +1863,13 @@ const opGetVocabulary = "GetVocabulary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVocabularyRequest method. +// req, resp := client.GetVocabularyRequest(params) // -// // Example sending a request using the GetVocabularyRequest method. -// req, resp := client.GetVocabularyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabulary func (c *TranscribeService) GetVocabularyRequest(input *GetVocabularyInput) (req *request.Request, output *GetVocabularyOutput) { @@ -1901,23 +1900,24 @@ func (c *TranscribeService) GetVocabularyRequest(input *GetVocabularyInput) (req // API operation GetVocabulary for usage and error information. // // Returned Error Types: -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabulary func (c *TranscribeService) GetVocabulary(input *GetVocabularyInput) (*GetVocabularyOutput, error) { @@ -1957,14 +1957,13 @@ const opGetVocabularyFilter = "GetVocabularyFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetVocabularyFilterRequest method. +// req, resp := client.GetVocabularyFilterRequest(params) // -// // Example sending a request using the GetVocabularyFilterRequest method. -// req, resp := client.GetVocabularyFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabularyFilter func (c *TranscribeService) GetVocabularyFilterRequest(input *GetVocabularyFilterInput) (req *request.Request, output *GetVocabularyFilterOutput) { @@ -1995,23 +1994,24 @@ func (c *TranscribeService) GetVocabularyFilterRequest(input *GetVocabularyFilte // API operation GetVocabularyFilter for usage and error information. // // Returned Error Types: -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/GetVocabularyFilter func (c *TranscribeService) GetVocabularyFilter(input *GetVocabularyFilterInput) (*GetVocabularyFilterOutput, error) { @@ -2051,14 +2051,13 @@ const opListCallAnalyticsCategories = "ListCallAnalyticsCategories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCallAnalyticsCategoriesRequest method. +// req, resp := client.ListCallAnalyticsCategoriesRequest(params) // -// // Example sending a request using the ListCallAnalyticsCategoriesRequest method. -// req, resp := client.ListCallAnalyticsCategoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListCallAnalyticsCategories func (c *TranscribeService) ListCallAnalyticsCategoriesRequest(input *ListCallAnalyticsCategoriesInput) (req *request.Request, output *ListCallAnalyticsCategoriesOutput) { @@ -2097,19 +2096,20 @@ func (c *TranscribeService) ListCallAnalyticsCategoriesRequest(input *ListCallAn // API operation ListCallAnalyticsCategories for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. +// +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListCallAnalyticsCategories func (c *TranscribeService) ListCallAnalyticsCategories(input *ListCallAnalyticsCategoriesInput) (*ListCallAnalyticsCategoriesOutput, error) { @@ -2141,15 +2141,14 @@ func (c *TranscribeService) ListCallAnalyticsCategoriesWithContext(ctx aws.Conte // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCallAnalyticsCategories operation. -// pageNum := 0 -// err := client.ListCallAnalyticsCategoriesPages(params, -// func(page *transcribeservice.ListCallAnalyticsCategoriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCallAnalyticsCategories operation. +// pageNum := 0 +// err := client.ListCallAnalyticsCategoriesPages(params, +// func(page *transcribeservice.ListCallAnalyticsCategoriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *TranscribeService) ListCallAnalyticsCategoriesPages(input *ListCallAnalyticsCategoriesInput, fn func(*ListCallAnalyticsCategoriesOutput, bool) bool) error { return c.ListCallAnalyticsCategoriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2201,14 +2200,13 @@ const opListCallAnalyticsJobs = "ListCallAnalyticsJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListCallAnalyticsJobsRequest method. +// req, resp := client.ListCallAnalyticsJobsRequest(params) // -// // Example sending a request using the ListCallAnalyticsJobsRequest method. -// req, resp := client.ListCallAnalyticsJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListCallAnalyticsJobs func (c *TranscribeService) ListCallAnalyticsJobsRequest(input *ListCallAnalyticsJobsInput) (req *request.Request, output *ListCallAnalyticsJobsOutput) { @@ -2246,19 +2244,20 @@ func (c *TranscribeService) ListCallAnalyticsJobsRequest(input *ListCallAnalytic // API operation ListCallAnalyticsJobs for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListCallAnalyticsJobs func (c *TranscribeService) ListCallAnalyticsJobs(input *ListCallAnalyticsJobsInput) (*ListCallAnalyticsJobsOutput, error) { @@ -2290,15 +2289,14 @@ func (c *TranscribeService) ListCallAnalyticsJobsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListCallAnalyticsJobs operation. -// pageNum := 0 -// err := client.ListCallAnalyticsJobsPages(params, -// func(page *transcribeservice.ListCallAnalyticsJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListCallAnalyticsJobs operation. +// pageNum := 0 +// err := client.ListCallAnalyticsJobsPages(params, +// func(page *transcribeservice.ListCallAnalyticsJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *TranscribeService) ListCallAnalyticsJobsPages(input *ListCallAnalyticsJobsInput, fn func(*ListCallAnalyticsJobsOutput, bool) bool) error { return c.ListCallAnalyticsJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2350,14 +2348,13 @@ const opListLanguageModels = "ListLanguageModels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLanguageModelsRequest method. +// req, resp := client.ListLanguageModelsRequest(params) // -// // Example sending a request using the ListLanguageModelsRequest method. -// req, resp := client.ListLanguageModelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListLanguageModels func (c *TranscribeService) ListLanguageModelsRequest(input *ListLanguageModelsInput) (req *request.Request, output *ListLanguageModelsOutput) { @@ -2396,19 +2393,20 @@ func (c *TranscribeService) ListLanguageModelsRequest(input *ListLanguageModelsI // API operation ListLanguageModels for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListLanguageModels func (c *TranscribeService) ListLanguageModels(input *ListLanguageModelsInput) (*ListLanguageModelsOutput, error) { @@ -2440,15 +2438,14 @@ func (c *TranscribeService) ListLanguageModelsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLanguageModels operation. -// pageNum := 0 -// err := client.ListLanguageModelsPages(params, -// func(page *transcribeservice.ListLanguageModelsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLanguageModels operation. +// pageNum := 0 +// err := client.ListLanguageModelsPages(params, +// func(page *transcribeservice.ListLanguageModelsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *TranscribeService) ListLanguageModelsPages(input *ListLanguageModelsInput, fn func(*ListLanguageModelsOutput, bool) bool) error { return c.ListLanguageModelsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2500,14 +2497,13 @@ const opListMedicalTranscriptionJobs = "ListMedicalTranscriptionJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMedicalTranscriptionJobsRequest method. +// req, resp := client.ListMedicalTranscriptionJobsRequest(params) // -// // Example sending a request using the ListMedicalTranscriptionJobsRequest method. -// req, resp := client.ListMedicalTranscriptionJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalTranscriptionJobs func (c *TranscribeService) ListMedicalTranscriptionJobsRequest(input *ListMedicalTranscriptionJobsInput) (req *request.Request, output *ListMedicalTranscriptionJobsOutput) { @@ -2545,19 +2541,20 @@ func (c *TranscribeService) ListMedicalTranscriptionJobsRequest(input *ListMedic // API operation ListMedicalTranscriptionJobs for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalTranscriptionJobs func (c *TranscribeService) ListMedicalTranscriptionJobs(input *ListMedicalTranscriptionJobsInput) (*ListMedicalTranscriptionJobsOutput, error) { @@ -2589,15 +2586,14 @@ func (c *TranscribeService) ListMedicalTranscriptionJobsWithContext(ctx aws.Cont // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMedicalTranscriptionJobs operation. -// pageNum := 0 -// err := client.ListMedicalTranscriptionJobsPages(params, -// func(page *transcribeservice.ListMedicalTranscriptionJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMedicalTranscriptionJobs operation. +// pageNum := 0 +// err := client.ListMedicalTranscriptionJobsPages(params, +// func(page *transcribeservice.ListMedicalTranscriptionJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *TranscribeService) ListMedicalTranscriptionJobsPages(input *ListMedicalTranscriptionJobsInput, fn func(*ListMedicalTranscriptionJobsOutput, bool) bool) error { return c.ListMedicalTranscriptionJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2649,14 +2645,13 @@ const opListMedicalVocabularies = "ListMedicalVocabularies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMedicalVocabulariesRequest method. +// req, resp := client.ListMedicalVocabulariesRequest(params) // -// // Example sending a request using the ListMedicalVocabulariesRequest method. -// req, resp := client.ListMedicalVocabulariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalVocabularies func (c *TranscribeService) ListMedicalVocabulariesRequest(input *ListMedicalVocabulariesInput) (req *request.Request, output *ListMedicalVocabulariesOutput) { @@ -2695,19 +2690,20 @@ func (c *TranscribeService) ListMedicalVocabulariesRequest(input *ListMedicalVoc // API operation ListMedicalVocabularies for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListMedicalVocabularies func (c *TranscribeService) ListMedicalVocabularies(input *ListMedicalVocabulariesInput) (*ListMedicalVocabulariesOutput, error) { @@ -2739,15 +2735,14 @@ func (c *TranscribeService) ListMedicalVocabulariesWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMedicalVocabularies operation. -// pageNum := 0 -// err := client.ListMedicalVocabulariesPages(params, -// func(page *transcribeservice.ListMedicalVocabulariesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMedicalVocabularies operation. +// pageNum := 0 +// err := client.ListMedicalVocabulariesPages(params, +// func(page *transcribeservice.ListMedicalVocabulariesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *TranscribeService) ListMedicalVocabulariesPages(input *ListMedicalVocabulariesInput, fn func(*ListMedicalVocabulariesOutput, bool) bool) error { return c.ListMedicalVocabulariesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2799,14 +2794,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTagsForResource func (c *TranscribeService) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2838,23 +2832,24 @@ func (c *TranscribeService) ListTagsForResourceRequest(input *ListTagsForResourc // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTagsForResource func (c *TranscribeService) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2894,14 +2889,13 @@ const opListTranscriptionJobs = "ListTranscriptionJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTranscriptionJobsRequest method. +// req, resp := client.ListTranscriptionJobsRequest(params) // -// // Example sending a request using the ListTranscriptionJobsRequest method. -// req, resp := client.ListTranscriptionJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTranscriptionJobs func (c *TranscribeService) ListTranscriptionJobsRequest(input *ListTranscriptionJobsInput) (req *request.Request, output *ListTranscriptionJobsOutput) { @@ -2938,19 +2932,20 @@ func (c *TranscribeService) ListTranscriptionJobsRequest(input *ListTranscriptio // API operation ListTranscriptionJobs for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListTranscriptionJobs func (c *TranscribeService) ListTranscriptionJobs(input *ListTranscriptionJobsInput) (*ListTranscriptionJobsOutput, error) { @@ -2982,15 +2977,14 @@ func (c *TranscribeService) ListTranscriptionJobsWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTranscriptionJobs operation. -// pageNum := 0 -// err := client.ListTranscriptionJobsPages(params, -// func(page *transcribeservice.ListTranscriptionJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTranscriptionJobs operation. +// pageNum := 0 +// err := client.ListTranscriptionJobsPages(params, +// func(page *transcribeservice.ListTranscriptionJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *TranscribeService) ListTranscriptionJobsPages(input *ListTranscriptionJobsInput, fn func(*ListTranscriptionJobsOutput, bool) bool) error { return c.ListTranscriptionJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3042,14 +3036,13 @@ const opListVocabularies = "ListVocabularies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVocabulariesRequest method. +// req, resp := client.ListVocabulariesRequest(params) // -// // Example sending a request using the ListVocabulariesRequest method. -// req, resp := client.ListVocabulariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularies func (c *TranscribeService) ListVocabulariesRequest(input *ListVocabulariesInput) (req *request.Request, output *ListVocabulariesOutput) { @@ -3087,19 +3080,20 @@ func (c *TranscribeService) ListVocabulariesRequest(input *ListVocabulariesInput // API operation ListVocabularies for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularies func (c *TranscribeService) ListVocabularies(input *ListVocabulariesInput) (*ListVocabulariesOutput, error) { @@ -3131,15 +3125,14 @@ func (c *TranscribeService) ListVocabulariesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVocabularies operation. -// pageNum := 0 -// err := client.ListVocabulariesPages(params, -// func(page *transcribeservice.ListVocabulariesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVocabularies operation. +// pageNum := 0 +// err := client.ListVocabulariesPages(params, +// func(page *transcribeservice.ListVocabulariesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *TranscribeService) ListVocabulariesPages(input *ListVocabulariesInput, fn func(*ListVocabulariesOutput, bool) bool) error { return c.ListVocabulariesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3191,14 +3184,13 @@ const opListVocabularyFilters = "ListVocabularyFilters" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListVocabularyFiltersRequest method. +// req, resp := client.ListVocabularyFiltersRequest(params) // -// // Example sending a request using the ListVocabularyFiltersRequest method. -// req, resp := client.ListVocabularyFiltersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularyFilters func (c *TranscribeService) ListVocabularyFiltersRequest(input *ListVocabularyFiltersInput) (req *request.Request, output *ListVocabularyFiltersOutput) { @@ -3235,19 +3227,20 @@ func (c *TranscribeService) ListVocabularyFiltersRequest(input *ListVocabularyFi // API operation ListVocabularyFilters for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/ListVocabularyFilters func (c *TranscribeService) ListVocabularyFilters(input *ListVocabularyFiltersInput) (*ListVocabularyFiltersOutput, error) { @@ -3279,15 +3272,14 @@ func (c *TranscribeService) ListVocabularyFiltersWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListVocabularyFilters operation. -// pageNum := 0 -// err := client.ListVocabularyFiltersPages(params, -// func(page *transcribeservice.ListVocabularyFiltersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListVocabularyFilters operation. +// pageNum := 0 +// err := client.ListVocabularyFiltersPages(params, +// func(page *transcribeservice.ListVocabularyFiltersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *TranscribeService) ListVocabularyFiltersPages(input *ListVocabularyFiltersInput, fn func(*ListVocabularyFiltersOutput, bool) bool) error { return c.ListVocabularyFiltersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3339,14 +3331,13 @@ const opStartCallAnalyticsJob = "StartCallAnalyticsJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartCallAnalyticsJobRequest method. +// req, resp := client.StartCallAnalyticsJobRequest(params) // -// // Example sending a request using the StartCallAnalyticsJobRequest method. -// req, resp := client.StartCallAnalyticsJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartCallAnalyticsJob func (c *TranscribeService) StartCallAnalyticsJobRequest(input *StartCallAnalyticsJobInput) (req *request.Request, output *StartCallAnalyticsJobOutput) { @@ -3383,22 +3374,23 @@ func (c *TranscribeService) StartCallAnalyticsJobRequest(input *StartCallAnalyti // API operation StartCallAnalyticsJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // -// * ConflictException -// There is already a resource with that name. +// - ConflictException +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartCallAnalyticsJob func (c *TranscribeService) StartCallAnalyticsJob(input *StartCallAnalyticsJobInput) (*StartCallAnalyticsJobOutput, error) { @@ -3438,14 +3430,13 @@ const opStartMedicalTranscriptionJob = "StartMedicalTranscriptionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMedicalTranscriptionJobRequest method. +// req, resp := client.StartMedicalTranscriptionJobRequest(params) // -// // Example sending a request using the StartMedicalTranscriptionJobRequest method. -// req, resp := client.StartMedicalTranscriptionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartMedicalTranscriptionJob func (c *TranscribeService) StartMedicalTranscriptionJobRequest(input *StartMedicalTranscriptionJobInput) (req *request.Request, output *StartMedicalTranscriptionJobOutput) { @@ -3476,22 +3467,23 @@ func (c *TranscribeService) StartMedicalTranscriptionJobRequest(input *StartMedi // API operation StartMedicalTranscriptionJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // -// * ConflictException -// There is already a resource with that name. +// - ConflictException +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartMedicalTranscriptionJob func (c *TranscribeService) StartMedicalTranscriptionJob(input *StartMedicalTranscriptionJobInput) (*StartMedicalTranscriptionJobOutput, error) { @@ -3531,14 +3523,13 @@ const opStartTranscriptionJob = "StartTranscriptionJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartTranscriptionJobRequest method. +// req, resp := client.StartTranscriptionJobRequest(params) // -// // Example sending a request using the StartTranscriptionJobRequest method. -// req, resp := client.StartTranscriptionJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob func (c *TranscribeService) StartTranscriptionJobRequest(input *StartTranscriptionJobInput) (req *request.Request, output *StartTranscriptionJobOutput) { @@ -3569,22 +3560,23 @@ func (c *TranscribeService) StartTranscriptionJobRequest(input *StartTranscripti // API operation StartTranscriptionJob for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * ConflictException -// There is already a resource with that name. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. +// +// - ConflictException +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/StartTranscriptionJob func (c *TranscribeService) StartTranscriptionJob(input *StartTranscriptionJobInput) (*StartTranscriptionJobOutput, error) { @@ -3624,14 +3616,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TagResource func (c *TranscribeService) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3663,26 +3654,27 @@ func (c *TranscribeService) TagResourceRequest(input *TagResourceInput) (req *re // API operation TagResource for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * ConflictException -// There is already a resource with that name. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - ConflictException +// There is already a resource with that name. // -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/TagResource func (c *TranscribeService) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3722,14 +3714,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UntagResource func (c *TranscribeService) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3761,26 +3752,27 @@ func (c *TranscribeService) UntagResourceRequest(input *UntagResourceInput) (req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. // -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. +// +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // -// * ConflictException -// There is already a resource with that name. +// - ConflictException +// There is already a resource with that name. // -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UntagResource func (c *TranscribeService) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3820,14 +3812,13 @@ const opUpdateCallAnalyticsCategory = "UpdateCallAnalyticsCategory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCallAnalyticsCategoryRequest method. +// req, resp := client.UpdateCallAnalyticsCategoryRequest(params) // -// // Example sending a request using the UpdateCallAnalyticsCategoryRequest method. -// req, resp := client.UpdateCallAnalyticsCategoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateCallAnalyticsCategory func (c *TranscribeService) UpdateCallAnalyticsCategoryRequest(input *UpdateCallAnalyticsCategoryInput) (req *request.Request, output *UpdateCallAnalyticsCategoryOutput) { @@ -3860,26 +3851,27 @@ func (c *TranscribeService) UpdateCallAnalyticsCategoryRequest(input *UpdateCall // API operation UpdateCallAnalyticsCategory for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. // -// * ConflictException -// There is already a resource with that name. +// - ConflictException +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateCallAnalyticsCategory func (c *TranscribeService) UpdateCallAnalyticsCategory(input *UpdateCallAnalyticsCategoryInput) (*UpdateCallAnalyticsCategoryOutput, error) { @@ -3919,14 +3911,13 @@ const opUpdateMedicalVocabulary = "UpdateMedicalVocabulary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMedicalVocabularyRequest method. +// req, resp := client.UpdateMedicalVocabularyRequest(params) // -// // Example sending a request using the UpdateMedicalVocabularyRequest method. -// req, resp := client.UpdateMedicalVocabularyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateMedicalVocabulary func (c *TranscribeService) UpdateMedicalVocabularyRequest(input *UpdateMedicalVocabularyInput) (req *request.Request, output *UpdateMedicalVocabularyOutput) { @@ -3960,26 +3951,27 @@ func (c *TranscribeService) UpdateMedicalVocabularyRequest(input *UpdateMedicalV // API operation UpdateMedicalVocabulary for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // -// * ConflictException -// There is already a resource with that name. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. +// +// - ConflictException +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateMedicalVocabulary func (c *TranscribeService) UpdateMedicalVocabulary(input *UpdateMedicalVocabularyInput) (*UpdateMedicalVocabularyOutput, error) { @@ -4019,14 +4011,13 @@ const opUpdateVocabulary = "UpdateVocabulary" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVocabularyRequest method. +// req, resp := client.UpdateVocabularyRequest(params) // -// // Example sending a request using the UpdateVocabularyRequest method. -// req, resp := client.UpdateVocabularyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabulary func (c *TranscribeService) UpdateVocabularyRequest(input *UpdateVocabularyInput) (req *request.Request, output *UpdateVocabularyOutput) { @@ -4059,26 +4050,27 @@ func (c *TranscribeService) UpdateVocabularyRequest(input *UpdateVocabularyInput // API operation UpdateVocabulary for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. // -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. // -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. // -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. // -// * ConflictException -// There is already a resource with that name. +// - ConflictException +// There is already a resource with that name. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabulary func (c *TranscribeService) UpdateVocabulary(input *UpdateVocabularyInput) (*UpdateVocabularyOutput, error) { @@ -4118,14 +4110,13 @@ const opUpdateVocabularyFilter = "UpdateVocabularyFilter" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateVocabularyFilterRequest method. +// req, resp := client.UpdateVocabularyFilterRequest(params) // -// // Example sending a request using the UpdateVocabularyFilterRequest method. -// req, resp := client.UpdateVocabularyFilterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyFilter func (c *TranscribeService) UpdateVocabularyFilterRequest(input *UpdateVocabularyFilterInput) (req *request.Request, output *UpdateVocabularyFilterOutput) { @@ -4156,23 +4147,24 @@ func (c *TranscribeService) UpdateVocabularyFilterRequest(input *UpdateVocabular // API operation UpdateVocabularyFilter for usage and error information. // // Returned Error Types: -// * BadRequestException -// Your request didn't pass one or more validation tests. For example, if the -// entity that you're trying to delete doesn't exist or if it is in a non-terminal -// state (for example, it's "in progress"). See the exception Message field -// for more information. -// -// * LimitExceededException -// Either you have sent too many requests or your input file is too long. Wait -// before you resend your request, or use a smaller file and resend the request. -// -// * InternalFailureException -// There was an internal error. Check the error message and try your request -// again. -// -// * NotFoundException -// We can't find the requested resource. Check the name and try your request -// again. +// +// - BadRequestException +// Your request didn't pass one or more validation tests. For example, if the +// entity that you're trying to delete doesn't exist or if it is in a non-terminal +// state (for example, it's "in progress"). See the exception Message field +// for more information. +// +// - LimitExceededException +// Either you have sent too many requests or your input file is too long. Wait +// before you resend your request, or use a smaller file and resend the request. +// +// - InternalFailureException +// There was an internal error. Check the error message and try your request +// again. +// +// - NotFoundException +// We can't find the requested resource. Check the name and try your request +// again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-2017-10-26/UpdateVocabularyFilter func (c *TranscribeService) UpdateVocabularyFilter(input *UpdateVocabularyFilterInput) (*UpdateVocabularyFilterOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/doc.go index 13d898ee2e7e..4ce4b152b7e5 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/doc.go @@ -10,7 +10,7 @@ // See transcribeservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/transcribeservice/ // -// Using the Client +// # Using the Client // // To contact Amazon Transcribe Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/service.go index ef273d0f8711..0693488fd006 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a TranscribeService client from just a session. -// svc := transcribeservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a TranscribeService client with additional configuration -// svc := transcribeservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a TranscribeService client from just a session. +// svc := transcribeservice.New(mySession) +// +// // Create a TranscribeService client with additional configuration +// svc := transcribeservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *TranscribeService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/transcribeserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/transcribeserviceiface/interface.go index 9fcc21db78f3..e51b969e8ca6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/transcribeserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribeservice/transcribeserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Transcribe Service. -// func myFunc(svc transcribeserviceiface.TranscribeServiceAPI) bool { -// // Make svc.CreateCallAnalyticsCategory request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Transcribe Service. +// func myFunc(svc transcribeserviceiface.TranscribeServiceAPI) bool { +// // Make svc.CreateCallAnalyticsCategory request +// } // -// func main() { -// sess := session.New() -// svc := transcribeservice.New(sess) +// func main() { +// sess := session.New() +// svc := transcribeservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockTranscribeServiceClient struct { -// transcribeserviceiface.TranscribeServiceAPI -// } -// func (m *mockTranscribeServiceClient) CreateCallAnalyticsCategory(input *transcribeservice.CreateCallAnalyticsCategoryInput) (*transcribeservice.CreateCallAnalyticsCategoryOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockTranscribeServiceClient struct { +// transcribeserviceiface.TranscribeServiceAPI +// } +// func (m *mockTranscribeServiceClient) CreateCallAnalyticsCategory(input *transcribeservice.CreateCallAnalyticsCategoryInput) (*transcribeservice.CreateCallAnalyticsCategoryOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockTranscribeServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockTranscribeServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/api.go index 05425f0919d9..e3a96de40526 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/api.go @@ -38,14 +38,13 @@ const opStartMedicalStreamTranscription = "StartMedicalStreamTranscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMedicalStreamTranscriptionRequest method. +// req, resp := client.StartMedicalStreamTranscriptionRequest(params) // -// // Example sending a request using the StartMedicalStreamTranscriptionRequest method. -// req, resp := client.StartMedicalStreamTranscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartMedicalStreamTranscription func (c *TranscribeStreamingService) StartMedicalStreamTranscriptionRequest(input *StartMedicalStreamTranscriptionInput) (req *request.Request, output *StartMedicalStreamTranscriptionOutput) { @@ -107,28 +106,29 @@ func (c *TranscribeStreamingService) StartMedicalStreamTranscriptionRequest(inpu // API operation StartMedicalStreamTranscription for usage and error information. // // Returned Error Types: -// * BadRequestException -// One or more arguments to the StartStreamTranscription or StartMedicalStreamTranscription -// operation was invalid. For example, MediaEncoding was not set to a valid -// encoding, or LanguageCode was not set to a valid code. Check the parameters -// and try your request again. // -// * LimitExceededException -// You have exceeded the maximum number of concurrent transcription streams, -// are starting transcription streams too quickly, or the maximum audio length -// of 4 hours. Wait until a stream has finished processing, or break your audio -// stream into smaller chunks and try your request again. +// - BadRequestException +// One or more arguments to the StartStreamTranscription or StartMedicalStreamTranscription +// operation was invalid. For example, MediaEncoding was not set to a valid +// encoding, or LanguageCode was not set to a valid code. Check the parameters +// and try your request again. +// +// - LimitExceededException +// You have exceeded the maximum number of concurrent transcription streams, +// are starting transcription streams too quickly, or the maximum audio length +// of 4 hours. Wait until a stream has finished processing, or break your audio +// stream into smaller chunks and try your request again. // -// * InternalFailureException -// A problem occurred while processing the audio. Amazon Transcribe or Amazon -// Transcribe Medical terminated processing. Try your request again. +// - InternalFailureException +// A problem occurred while processing the audio. Amazon Transcribe or Amazon +// Transcribe Medical terminated processing. Try your request again. // -// * ConflictException -// A new stream started with the same session ID. The current stream has been -// terminated. +// - ConflictException +// A new stream started with the same session ID. The current stream has been +// terminated. // -// * ServiceUnavailableException -// Service is currently unavailable. Try your request later. +// - ServiceUnavailableException +// Service is currently unavailable. Try your request later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartMedicalStreamTranscription func (c *TranscribeStreamingService) StartMedicalStreamTranscription(input *StartMedicalStreamTranscriptionInput) (*StartMedicalStreamTranscriptionOutput, error) { @@ -194,10 +194,10 @@ type StartMedicalStreamTranscriptionEventStream struct { // // The Reader member must be set before reading events from the stream. // -// es := NewStartMedicalStreamTranscriptionEventStream(func(o *StartMedicalStreamTranscriptionEventStream){ -// es.Writer = myMockStreamWriter -// es.Reader = myMockStreamReader -// }) +// es := NewStartMedicalStreamTranscriptionEventStream(func(o *StartMedicalStreamTranscriptionEventStream){ +// es.Writer = myMockStreamWriter +// es.Reader = myMockStreamReader +// }) func NewStartMedicalStreamTranscriptionEventStream(opts ...func(*StartMedicalStreamTranscriptionEventStream)) *StartMedicalStreamTranscriptionEventStream { es := &StartMedicalStreamTranscriptionEventStream{ done: make(chan struct{}), @@ -268,7 +268,7 @@ func (es *StartMedicalStreamTranscriptionEventStream) closeInputPipe() error { // // These events are: // -// * AudioEvent +// - AudioEvent func (es *StartMedicalStreamTranscriptionEventStream) Send(ctx aws.Context, event AudioStreamEvent) error { return es.Writer.Send(ctx, event) } @@ -312,8 +312,8 @@ func (es *StartMedicalStreamTranscriptionEventStream) runInputStream(r *request. // // These events are: // -// * MedicalTranscriptEvent -// * MedicalTranscriptResultStreamUnknownEvent +// - MedicalTranscriptEvent +// - MedicalTranscriptResultStreamUnknownEvent func (es *StartMedicalStreamTranscriptionEventStream) Events() <-chan MedicalTranscriptResultStreamEvent { return es.Reader.Events() } @@ -352,7 +352,6 @@ func (es *StartMedicalStreamTranscriptionEventStream) runOutputStream(r *request // // You can use the closing of the Reader's Events channel to terminate your // application's read from the API's stream. -// func (es *StartMedicalStreamTranscriptionEventStream) Close() (err error) { es.closeOnce.Do(es.safeClose) return es.Err() @@ -418,14 +417,13 @@ const opStartStreamTranscription = "StartStreamTranscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartStreamTranscriptionRequest method. +// req, resp := client.StartStreamTranscriptionRequest(params) // -// // Example sending a request using the StartStreamTranscriptionRequest method. -// req, resp := client.StartStreamTranscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscription func (c *TranscribeStreamingService) StartStreamTranscriptionRequest(input *StartStreamTranscriptionInput) (req *request.Request, output *StartStreamTranscriptionOutput) { @@ -481,13 +479,13 @@ func (c *TranscribeStreamingService) StartStreamTranscriptionRequest(input *Star // // The following are encoded as HTTP/2 headers: // -// * x-amzn-transcribe-language-code +// - x-amzn-transcribe-language-code // -// * x-amzn-transcribe-media-encoding +// - x-amzn-transcribe-media-encoding // -// * x-amzn-transcribe-sample-rate +// - x-amzn-transcribe-sample-rate // -// * x-amzn-transcribe-session-id +// - x-amzn-transcribe-session-id // // See the SDK for Go API Reference (https://docs.aws.amazon.com/sdk-for-go/api/service/transcribestreamingservice/#TranscribeStreamingService.StartStreamTranscription) // for more detail. @@ -500,28 +498,29 @@ func (c *TranscribeStreamingService) StartStreamTranscriptionRequest(input *Star // API operation StartStreamTranscription for usage and error information. // // Returned Error Types: -// * BadRequestException -// One or more arguments to the StartStreamTranscription or StartMedicalStreamTranscription -// operation was invalid. For example, MediaEncoding was not set to a valid -// encoding, or LanguageCode was not set to a valid code. Check the parameters -// and try your request again. // -// * LimitExceededException -// You have exceeded the maximum number of concurrent transcription streams, -// are starting transcription streams too quickly, or the maximum audio length -// of 4 hours. Wait until a stream has finished processing, or break your audio -// stream into smaller chunks and try your request again. +// - BadRequestException +// One or more arguments to the StartStreamTranscription or StartMedicalStreamTranscription +// operation was invalid. For example, MediaEncoding was not set to a valid +// encoding, or LanguageCode was not set to a valid code. Check the parameters +// and try your request again. +// +// - LimitExceededException +// You have exceeded the maximum number of concurrent transcription streams, +// are starting transcription streams too quickly, or the maximum audio length +// of 4 hours. Wait until a stream has finished processing, or break your audio +// stream into smaller chunks and try your request again. // -// * InternalFailureException -// A problem occurred while processing the audio. Amazon Transcribe or Amazon -// Transcribe Medical terminated processing. Try your request again. +// - InternalFailureException +// A problem occurred while processing the audio. Amazon Transcribe or Amazon +// Transcribe Medical terminated processing. Try your request again. // -// * ConflictException -// A new stream started with the same session ID. The current stream has been -// terminated. +// - ConflictException +// A new stream started with the same session ID. The current stream has been +// terminated. // -// * ServiceUnavailableException -// Service is currently unavailable. Try your request later. +// - ServiceUnavailableException +// Service is currently unavailable. Try your request later. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transcribe-streaming-2017-10-26/StartStreamTranscription func (c *TranscribeStreamingService) StartStreamTranscription(input *StartStreamTranscriptionInput) (*StartStreamTranscriptionOutput, error) { @@ -587,10 +586,10 @@ type StartStreamTranscriptionEventStream struct { // // The Reader member must be set before reading events from the stream. // -// es := NewStartStreamTranscriptionEventStream(func(o *StartStreamTranscriptionEventStream){ -// es.Writer = myMockStreamWriter -// es.Reader = myMockStreamReader -// }) +// es := NewStartStreamTranscriptionEventStream(func(o *StartStreamTranscriptionEventStream){ +// es.Writer = myMockStreamWriter +// es.Reader = myMockStreamReader +// }) func NewStartStreamTranscriptionEventStream(opts ...func(*StartStreamTranscriptionEventStream)) *StartStreamTranscriptionEventStream { es := &StartStreamTranscriptionEventStream{ done: make(chan struct{}), @@ -661,7 +660,7 @@ func (es *StartStreamTranscriptionEventStream) closeInputPipe() error { // // These events are: // -// * AudioEvent +// - AudioEvent func (es *StartStreamTranscriptionEventStream) Send(ctx aws.Context, event AudioStreamEvent) error { return es.Writer.Send(ctx, event) } @@ -705,8 +704,8 @@ func (es *StartStreamTranscriptionEventStream) runInputStream(r *request.Request // // These events are: // -// * TranscriptEvent -// * TranscriptResultStreamUnknownEvent +// - TranscriptEvent +// - TranscriptResultStreamUnknownEvent func (es *StartStreamTranscriptionEventStream) Events() <-chan TranscriptResultStreamEvent { return es.Reader.Events() } @@ -745,7 +744,6 @@ func (es *StartStreamTranscriptionEventStream) runOutputStream(r *request.Reques // // You can use the closing of the Reader's Events channel to terminate your // application's read from the API's stream. -// func (es *StartStreamTranscriptionEventStream) Close() (err error) { es.closeOnce.Do(es.safeClose) return es.Err() @@ -913,7 +911,7 @@ func (s *AudioEvent) MarshalEvent(pm protocol.PayloadMarshaler) (msg eventstream // // These events are: // -// * AudioEvent +// - AudioEvent type AudioStreamEvent interface { eventAudioStream() eventstreamapi.Marshaler @@ -927,7 +925,7 @@ type AudioStreamEvent interface { // // These events are: // -// * AudioEvent +// - AudioEvent type AudioStreamWriter interface { // Sends writes events to the stream blocking until the event has been // written. An error is returned if the write fails. @@ -1985,7 +1983,7 @@ func (s *MedicalTranscriptEvent) MarshalEvent(pm protocol.PayloadMarshaler) (msg // // These events are: // -// * MedicalTranscriptEvent +// - MedicalTranscriptEvent type MedicalTranscriptResultStreamEvent interface { eventMedicalTranscriptResultStream() eventstreamapi.Marshaler @@ -1999,8 +1997,8 @@ type MedicalTranscriptResultStreamEvent interface { // // These events are: // -// * MedicalTranscriptEvent -// * MedicalTranscriptResultStreamUnknownEvent +// - MedicalTranscriptEvent +// - MedicalTranscriptResultStreamUnknownEvent type MedicalTranscriptResultStreamReader interface { // Returns a channel of events as they are read from the event stream. Events() <-chan MedicalTranscriptResultStreamEvent @@ -3339,7 +3337,7 @@ func (s *TranscriptEvent) MarshalEvent(pm protocol.PayloadMarshaler) (msg events // // These events are: // -// * TranscriptEvent +// - TranscriptEvent type TranscriptResultStreamEvent interface { eventTranscriptResultStream() eventstreamapi.Marshaler @@ -3353,8 +3351,8 @@ type TranscriptResultStreamEvent interface { // // These events are: // -// * TranscriptEvent -// * TranscriptResultStreamUnknownEvent +// - TranscriptEvent +// - TranscriptResultStreamUnknownEvent type TranscriptResultStreamReader interface { // Returns a channel of events as they are read from the event stream. Events() <-chan TranscriptResultStreamEvent diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/doc.go index 00196d956b56..5725a254bfa7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/doc.go @@ -10,7 +10,7 @@ // See transcribestreamingservice package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/transcribestreamingservice/ // -// Using the Client +// # Using the Client // // To contact Amazon Transcribe Streaming Service with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/service.go index 0bbe4ee00d9c..4d8fd37fed20 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a TranscribeStreamingService client from just a session. -// svc := transcribestreamingservice.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a TranscribeStreamingService client with additional configuration -// svc := transcribestreamingservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a TranscribeStreamingService client from just a session. +// svc := transcribestreamingservice.New(mySession) +// +// // Create a TranscribeStreamingService client with additional configuration +// svc := transcribestreamingservice.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *TranscribeStreamingService { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/transcribestreamingserviceiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/transcribestreamingserviceiface/interface.go index 92844d6c4a9c..e3fea00c8b3f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/transcribestreamingserviceiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transcribestreamingservice/transcribestreamingserviceiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Transcribe Streaming Service. -// func myFunc(svc transcribestreamingserviceiface.TranscribeStreamingServiceAPI) bool { -// // Make svc.StartMedicalStreamTranscription request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Transcribe Streaming Service. +// func myFunc(svc transcribestreamingserviceiface.TranscribeStreamingServiceAPI) bool { +// // Make svc.StartMedicalStreamTranscription request +// } // -// func main() { -// sess := session.New() -// svc := transcribestreamingservice.New(sess) +// func main() { +// sess := session.New() +// svc := transcribestreamingservice.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockTranscribeStreamingServiceClient struct { -// transcribestreamingserviceiface.TranscribeStreamingServiceAPI -// } -// func (m *mockTranscribeStreamingServiceClient) StartMedicalStreamTranscription(input *transcribestreamingservice.StartMedicalStreamTranscriptionInput) (*transcribestreamingservice.StartMedicalStreamTranscriptionOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockTranscribeStreamingServiceClient struct { +// transcribestreamingserviceiface.TranscribeStreamingServiceAPI +// } +// func (m *mockTranscribeStreamingServiceClient) StartMedicalStreamTranscription(input *transcribestreamingservice.StartMedicalStreamTranscriptionInput) (*transcribestreamingservice.StartMedicalStreamTranscriptionOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockTranscribeStreamingServiceClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockTranscribeStreamingServiceClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/api.go index 16301081055b..767b5f239d02 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/api.go @@ -29,14 +29,13 @@ const opCreateAccess = "CreateAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAccessRequest method. +// req, resp := client.CreateAccessRequest(params) // -// // Example sending a request using the CreateAccessRequest method. -// req, resp := client.CreateAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateAccess func (c *Transfer) CreateAccessRequest(input *CreateAccessInput) (req *request.Request, output *CreateAccessOutput) { @@ -72,23 +71,24 @@ func (c *Transfer) CreateAccessRequest(input *CreateAccessInput) (req *request.R // API operation CreateAccess for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceExistsException -// The requested resource does not exist. +// - ResourceExistsException +// The requested resource does not exist. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateAccess func (c *Transfer) CreateAccess(input *CreateAccessInput) (*CreateAccessOutput, error) { @@ -128,14 +128,13 @@ const opCreateServer = "CreateServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateServerRequest method. +// req, resp := client.CreateServerRequest(params) // -// // Example sending a request using the CreateServerRequest method. -// req, resp := client.CreateServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateServer func (c *Transfer) CreateServerRequest(input *CreateServerInput) (req *request.Request, output *CreateServerOutput) { @@ -169,31 +168,32 @@ func (c *Transfer) CreateServerRequest(input *CreateServerInput) (req *request.R // API operation CreateServer for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * ResourceExistsException -// The requested resource does not exist. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceExistsException +// The requested resource does not exist. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // -// HTTP Status Code: 400 +// - ThrottlingException +// The request was denied due to request throttling. +// +// HTTP Status Code: 400 // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateServer func (c *Transfer) CreateServer(input *CreateServerInput) (*CreateServerOutput, error) { @@ -233,14 +233,13 @@ const opCreateUser = "CreateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserRequest method. +// req, resp := client.CreateUserRequest(params) // -// // Example sending a request using the CreateUserRequest method. -// req, resp := client.CreateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateUser func (c *Transfer) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) { @@ -277,23 +276,24 @@ func (c *Transfer) CreateUserRequest(input *CreateUserInput) (req *request.Reque // API operation CreateUser for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * ResourceExistsException -// The requested resource does not exist. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceExistsException +// The requested resource does not exist. +// +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateUser func (c *Transfer) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) { @@ -333,14 +333,13 @@ const opCreateWorkflow = "CreateWorkflow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorkflowRequest method. +// req, resp := client.CreateWorkflowRequest(params) // -// // Example sending a request using the CreateWorkflowRequest method. -// req, resp := client.CreateWorkflowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateWorkflow func (c *Transfer) CreateWorkflowRequest(input *CreateWorkflowInput) (req *request.Request, output *CreateWorkflowOutput) { @@ -374,27 +373,28 @@ func (c *Transfer) CreateWorkflowRequest(input *CreateWorkflowInput) (req *reque // API operation CreateWorkflow for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * ResourceExistsException -// The requested resource does not exist. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceExistsException +// The requested resource does not exist. // -// HTTP Status Code: 400 +// - ThrottlingException +// The request was denied due to request throttling. +// +// HTTP Status Code: 400 // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/CreateWorkflow func (c *Transfer) CreateWorkflow(input *CreateWorkflowInput) (*CreateWorkflowOutput, error) { @@ -434,14 +434,13 @@ const opDeleteAccess = "DeleteAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccessRequest method. +// req, resp := client.DeleteAccessRequest(params) // -// // Example sending a request using the DeleteAccessRequest method. -// req, resp := client.DeleteAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteAccess func (c *Transfer) DeleteAccessRequest(input *DeleteAccessInput) (req *request.Request, output *DeleteAccessOutput) { @@ -474,20 +473,21 @@ func (c *Transfer) DeleteAccessRequest(input *DeleteAccessInput) (req *request.R // API operation DeleteAccess for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteAccess func (c *Transfer) DeleteAccess(input *DeleteAccessInput) (*DeleteAccessOutput, error) { @@ -527,14 +527,13 @@ const opDeleteServer = "DeleteServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteServerRequest method. +// req, resp := client.DeleteServerRequest(params) // -// // Example sending a request using the DeleteServerRequest method. -// req, resp := client.DeleteServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteServer func (c *Transfer) DeleteServerRequest(input *DeleteServerInput) (req *request.Request, output *DeleteServerOutput) { @@ -568,23 +567,24 @@ func (c *Transfer) DeleteServerRequest(input *DeleteServerInput) (req *request.R // API operation DeleteServer for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteServer func (c *Transfer) DeleteServer(input *DeleteServerInput) (*DeleteServerOutput, error) { @@ -624,14 +624,13 @@ const opDeleteSshPublicKey = "DeleteSshPublicKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSshPublicKeyRequest method. +// req, resp := client.DeleteSshPublicKeyRequest(params) // -// // Example sending a request using the DeleteSshPublicKeyRequest method. -// req, resp := client.DeleteSshPublicKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteSshPublicKey func (c *Transfer) DeleteSshPublicKeyRequest(input *DeleteSshPublicKeyInput) (req *request.Request, output *DeleteSshPublicKeyOutput) { @@ -663,25 +662,26 @@ func (c *Transfer) DeleteSshPublicKeyRequest(input *DeleteSshPublicKeyInput) (re // API operation DeleteSshPublicKey for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// HTTP Status Code: 400 +// HTTP Status Code: 400 // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteSshPublicKey func (c *Transfer) DeleteSshPublicKey(input *DeleteSshPublicKeyInput) (*DeleteSshPublicKeyOutput, error) { @@ -721,14 +721,13 @@ const opDeleteUser = "DeleteUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserRequest method. +// req, resp := client.DeleteUserRequest(params) // -// // Example sending a request using the DeleteUserRequest method. -// req, resp := client.DeleteUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteUser func (c *Transfer) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { @@ -765,20 +764,21 @@ func (c *Transfer) DeleteUserRequest(input *DeleteUserInput) (req *request.Reque // API operation DeleteUser for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteUser func (c *Transfer) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { @@ -818,14 +818,13 @@ const opDeleteWorkflow = "DeleteWorkflow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorkflowRequest method. +// req, resp := client.DeleteWorkflowRequest(params) // -// // Example sending a request using the DeleteWorkflowRequest method. -// req, resp := client.DeleteWorkflowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteWorkflow func (c *Transfer) DeleteWorkflowRequest(input *DeleteWorkflowInput) (req *request.Request, output *DeleteWorkflowOutput) { @@ -857,23 +856,24 @@ func (c *Transfer) DeleteWorkflowRequest(input *DeleteWorkflowInput) (req *reque // API operation DeleteWorkflow for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DeleteWorkflow func (c *Transfer) DeleteWorkflow(input *DeleteWorkflowInput) (*DeleteWorkflowOutput, error) { @@ -913,14 +913,13 @@ const opDescribeAccess = "DescribeAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccessRequest method. +// req, resp := client.DescribeAccessRequest(params) // -// // Example sending a request using the DescribeAccessRequest method. -// req, resp := client.DescribeAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeAccess func (c *Transfer) DescribeAccessRequest(input *DescribeAccessInput) (req *request.Request, output *DescribeAccessOutput) { @@ -955,20 +954,21 @@ func (c *Transfer) DescribeAccessRequest(input *DescribeAccessInput) (req *reque // API operation DescribeAccess for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeAccess func (c *Transfer) DescribeAccess(input *DescribeAccessInput) (*DescribeAccessOutput, error) { @@ -1008,14 +1008,13 @@ const opDescribeExecution = "DescribeExecution" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeExecutionRequest method. +// req, resp := client.DescribeExecutionRequest(params) // -// // Example sending a request using the DescribeExecutionRequest method. -// req, resp := client.DescribeExecutionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeExecution func (c *Transfer) DescribeExecutionRequest(input *DescribeExecutionInput) (req *request.Request, output *DescribeExecutionOutput) { @@ -1047,20 +1046,21 @@ func (c *Transfer) DescribeExecutionRequest(input *DescribeExecutionInput) (req // API operation DescribeExecution for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeExecution func (c *Transfer) DescribeExecution(input *DescribeExecutionInput) (*DescribeExecutionOutput, error) { @@ -1100,14 +1100,13 @@ const opDescribeSecurityPolicy = "DescribeSecurityPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSecurityPolicyRequest method. +// req, resp := client.DescribeSecurityPolicyRequest(params) // -// // Example sending a request using the DescribeSecurityPolicyRequest method. -// req, resp := client.DescribeSecurityPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeSecurityPolicy func (c *Transfer) DescribeSecurityPolicyRequest(input *DescribeSecurityPolicyInput) (req *request.Request, output *DescribeSecurityPolicyOutput) { @@ -1141,20 +1140,21 @@ func (c *Transfer) DescribeSecurityPolicyRequest(input *DescribeSecurityPolicyIn // API operation DescribeSecurityPolicy for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeSecurityPolicy func (c *Transfer) DescribeSecurityPolicy(input *DescribeSecurityPolicyInput) (*DescribeSecurityPolicyOutput, error) { @@ -1194,14 +1194,13 @@ const opDescribeServer = "DescribeServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeServerRequest method. +// req, resp := client.DescribeServerRequest(params) // -// // Example sending a request using the DescribeServerRequest method. -// req, resp := client.DescribeServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeServer func (c *Transfer) DescribeServerRequest(input *DescribeServerInput) (req *request.Request, output *DescribeServerOutput) { @@ -1236,20 +1235,21 @@ func (c *Transfer) DescribeServerRequest(input *DescribeServerInput) (req *reque // API operation DescribeServer for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeServer func (c *Transfer) DescribeServer(input *DescribeServerInput) (*DescribeServerOutput, error) { @@ -1289,14 +1289,13 @@ const opDescribeUser = "DescribeUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserRequest method. +// req, resp := client.DescribeUserRequest(params) // -// // Example sending a request using the DescribeUserRequest method. -// req, resp := client.DescribeUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeUser func (c *Transfer) DescribeUserRequest(input *DescribeUserInput) (req *request.Request, output *DescribeUserOutput) { @@ -1331,20 +1330,21 @@ func (c *Transfer) DescribeUserRequest(input *DescribeUserInput) (req *request.R // API operation DescribeUser for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeUser func (c *Transfer) DescribeUser(input *DescribeUserInput) (*DescribeUserOutput, error) { @@ -1384,14 +1384,13 @@ const opDescribeWorkflow = "DescribeWorkflow" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkflowRequest method. +// req, resp := client.DescribeWorkflowRequest(params) // -// // Example sending a request using the DescribeWorkflowRequest method. -// req, resp := client.DescribeWorkflowRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeWorkflow func (c *Transfer) DescribeWorkflowRequest(input *DescribeWorkflowInput) (req *request.Request, output *DescribeWorkflowOutput) { @@ -1422,20 +1421,21 @@ func (c *Transfer) DescribeWorkflowRequest(input *DescribeWorkflowInput) (req *r // API operation DescribeWorkflow for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/DescribeWorkflow func (c *Transfer) DescribeWorkflow(input *DescribeWorkflowInput) (*DescribeWorkflowOutput, error) { @@ -1475,14 +1475,13 @@ const opImportSshPublicKey = "ImportSshPublicKey" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportSshPublicKeyRequest method. +// req, resp := client.ImportSshPublicKeyRequest(params) // -// // Example sending a request using the ImportSshPublicKeyRequest method. -// req, resp := client.ImportSshPublicKeyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ImportSshPublicKey func (c *Transfer) ImportSshPublicKeyRequest(input *ImportSshPublicKeyInput) (req *request.Request, output *ImportSshPublicKeyOutput) { @@ -1518,28 +1517,29 @@ func (c *Transfer) ImportSshPublicKeyRequest(input *ImportSshPublicKeyInput) (re // API operation ImportSshPublicKey for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceExistsException -// The requested resource does not exist. +// - ResourceExistsException +// The requested resource does not exist. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// HTTP Status Code: 400 +// HTTP Status Code: 400 // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ImportSshPublicKey func (c *Transfer) ImportSshPublicKey(input *ImportSshPublicKeyInput) (*ImportSshPublicKeyOutput, error) { @@ -1579,14 +1579,13 @@ const opListAccesses = "ListAccesses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccessesRequest method. +// req, resp := client.ListAccessesRequest(params) // -// // Example sending a request using the ListAccessesRequest method. -// req, resp := client.ListAccessesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListAccesses func (c *Transfer) ListAccessesRequest(input *ListAccessesInput) (req *request.Request, output *ListAccessesOutput) { @@ -1623,23 +1622,24 @@ func (c *Transfer) ListAccessesRequest(input *ListAccessesInput) (req *request.R // API operation ListAccesses for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidNextTokenException -// The NextToken parameter that was passed is invalid. +// - InvalidNextTokenException +// The NextToken parameter that was passed is invalid. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListAccesses func (c *Transfer) ListAccesses(input *ListAccessesInput) (*ListAccessesOutput, error) { @@ -1671,15 +1671,14 @@ func (c *Transfer) ListAccessesWithContext(ctx aws.Context, input *ListAccessesI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAccesses operation. -// pageNum := 0 -// err := client.ListAccessesPages(params, -// func(page *transfer.ListAccessesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAccesses operation. +// pageNum := 0 +// err := client.ListAccessesPages(params, +// func(page *transfer.ListAccessesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Transfer) ListAccessesPages(input *ListAccessesInput, fn func(*ListAccessesOutput, bool) bool) error { return c.ListAccessesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1731,14 +1730,13 @@ const opListExecutions = "ListExecutions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListExecutionsRequest method. +// req, resp := client.ListExecutionsRequest(params) // -// // Example sending a request using the ListExecutionsRequest method. -// req, resp := client.ListExecutionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListExecutions func (c *Transfer) ListExecutionsRequest(input *ListExecutionsInput) (req *request.Request, output *ListExecutionsOutput) { @@ -1775,23 +1773,24 @@ func (c *Transfer) ListExecutionsRequest(input *ListExecutionsInput) (req *reque // API operation ListExecutions for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * InvalidNextTokenException -// The NextToken parameter that was passed is invalid. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidNextTokenException +// The NextToken parameter that was passed is invalid. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListExecutions func (c *Transfer) ListExecutions(input *ListExecutionsInput) (*ListExecutionsOutput, error) { @@ -1823,15 +1822,14 @@ func (c *Transfer) ListExecutionsWithContext(ctx aws.Context, input *ListExecuti // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListExecutions operation. -// pageNum := 0 -// err := client.ListExecutionsPages(params, -// func(page *transfer.ListExecutionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListExecutions operation. +// pageNum := 0 +// err := client.ListExecutionsPages(params, +// func(page *transfer.ListExecutionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Transfer) ListExecutionsPages(input *ListExecutionsInput, fn func(*ListExecutionsOutput, bool) bool) error { return c.ListExecutionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1883,14 +1881,13 @@ const opListSecurityPolicies = "ListSecurityPolicies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSecurityPoliciesRequest method. +// req, resp := client.ListSecurityPoliciesRequest(params) // -// // Example sending a request using the ListSecurityPoliciesRequest method. -// req, resp := client.ListSecurityPoliciesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListSecurityPolicies func (c *Transfer) ListSecurityPoliciesRequest(input *ListSecurityPoliciesInput) (req *request.Request, output *ListSecurityPoliciesOutput) { @@ -1928,19 +1925,20 @@ func (c *Transfer) ListSecurityPoliciesRequest(input *ListSecurityPoliciesInput) // API operation ListSecurityPolicies for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * InvalidNextTokenException -// The NextToken parameter that was passed is invalid. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidNextTokenException +// The NextToken parameter that was passed is invalid. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListSecurityPolicies func (c *Transfer) ListSecurityPolicies(input *ListSecurityPoliciesInput) (*ListSecurityPoliciesOutput, error) { @@ -1972,15 +1970,14 @@ func (c *Transfer) ListSecurityPoliciesWithContext(ctx aws.Context, input *ListS // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSecurityPolicies operation. -// pageNum := 0 -// err := client.ListSecurityPoliciesPages(params, -// func(page *transfer.ListSecurityPoliciesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSecurityPolicies operation. +// pageNum := 0 +// err := client.ListSecurityPoliciesPages(params, +// func(page *transfer.ListSecurityPoliciesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Transfer) ListSecurityPoliciesPages(input *ListSecurityPoliciesInput, fn func(*ListSecurityPoliciesOutput, bool) bool) error { return c.ListSecurityPoliciesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2032,14 +2029,13 @@ const opListServers = "ListServers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListServersRequest method. +// req, resp := client.ListServersRequest(params) // -// // Example sending a request using the ListServersRequest method. -// req, resp := client.ListServersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListServers func (c *Transfer) ListServersRequest(input *ListServersInput) (req *request.Request, output *ListServersOutput) { @@ -2077,19 +2073,20 @@ func (c *Transfer) ListServersRequest(input *ListServersInput) (req *request.Req // API operation ListServers for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidNextTokenException -// The NextToken parameter that was passed is invalid. +// - InvalidNextTokenException +// The NextToken parameter that was passed is invalid. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListServers func (c *Transfer) ListServers(input *ListServersInput) (*ListServersOutput, error) { @@ -2121,15 +2118,14 @@ func (c *Transfer) ListServersWithContext(ctx aws.Context, input *ListServersInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListServers operation. -// pageNum := 0 -// err := client.ListServersPages(params, -// func(page *transfer.ListServersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListServers operation. +// pageNum := 0 +// err := client.ListServersPages(params, +// func(page *transfer.ListServersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Transfer) ListServersPages(input *ListServersInput, fn func(*ListServersOutput, bool) bool) error { return c.ListServersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2181,14 +2177,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListTagsForResource func (c *Transfer) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2226,19 +2221,20 @@ func (c *Transfer) ListTagsForResourceRequest(input *ListTagsForResourceInput) ( // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * InvalidNextTokenException -// The NextToken parameter that was passed is invalid. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidNextTokenException +// The NextToken parameter that was passed is invalid. +// +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListTagsForResource func (c *Transfer) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2270,15 +2266,14 @@ func (c *Transfer) ListTagsForResourceWithContext(ctx aws.Context, input *ListTa // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTagsForResource operation. -// pageNum := 0 -// err := client.ListTagsForResourcePages(params, -// func(page *transfer.ListTagsForResourceOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTagsForResource operation. +// pageNum := 0 +// err := client.ListTagsForResourcePages(params, +// func(page *transfer.ListTagsForResourceOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Transfer) ListTagsForResourcePages(input *ListTagsForResourceInput, fn func(*ListTagsForResourceOutput, bool) bool) error { return c.ListTagsForResourcePagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2330,14 +2325,13 @@ const opListUsers = "ListUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUsersRequest method. +// req, resp := client.ListUsersRequest(params) // -// // Example sending a request using the ListUsersRequest method. -// req, resp := client.ListUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListUsers func (c *Transfer) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) { @@ -2375,23 +2369,24 @@ func (c *Transfer) ListUsersRequest(input *ListUsersInput) (req *request.Request // API operation ListUsers for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * InvalidNextTokenException -// The NextToken parameter that was passed is invalid. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidNextTokenException +// The NextToken parameter that was passed is invalid. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. +// +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListUsers func (c *Transfer) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) { @@ -2423,15 +2418,14 @@ func (c *Transfer) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUsers operation. -// pageNum := 0 -// err := client.ListUsersPages(params, -// func(page *transfer.ListUsersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUsers operation. +// pageNum := 0 +// err := client.ListUsersPages(params, +// func(page *transfer.ListUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Transfer) ListUsersPages(input *ListUsersInput, fn func(*ListUsersOutput, bool) bool) error { return c.ListUsersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2483,14 +2477,13 @@ const opListWorkflows = "ListWorkflows" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorkflowsRequest method. +// req, resp := client.ListWorkflowsRequest(params) // -// // Example sending a request using the ListWorkflowsRequest method. -// req, resp := client.ListWorkflowsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListWorkflows func (c *Transfer) ListWorkflowsRequest(input *ListWorkflowsInput) (req *request.Request, output *ListWorkflowsOutput) { @@ -2527,19 +2520,20 @@ func (c *Transfer) ListWorkflowsRequest(input *ListWorkflowsInput) (req *request // API operation ListWorkflows for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidNextTokenException -// The NextToken parameter that was passed is invalid. +// - InvalidNextTokenException +// The NextToken parameter that was passed is invalid. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/ListWorkflows func (c *Transfer) ListWorkflows(input *ListWorkflowsInput) (*ListWorkflowsOutput, error) { @@ -2571,15 +2565,14 @@ func (c *Transfer) ListWorkflowsWithContext(ctx aws.Context, input *ListWorkflow // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorkflows operation. -// pageNum := 0 -// err := client.ListWorkflowsPages(params, -// func(page *transfer.ListWorkflowsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorkflows operation. +// pageNum := 0 +// err := client.ListWorkflowsPages(params, +// func(page *transfer.ListWorkflowsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Transfer) ListWorkflowsPages(input *ListWorkflowsInput, fn func(*ListWorkflowsOutput, bool) bool) error { return c.ListWorkflowsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2631,14 +2624,13 @@ const opSendWorkflowStepState = "SendWorkflowStepState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SendWorkflowStepStateRequest method. +// req, resp := client.SendWorkflowStepStateRequest(params) // -// // Example sending a request using the SendWorkflowStepStateRequest method. -// req, resp := client.SendWorkflowStepStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/SendWorkflowStepState func (c *Transfer) SendWorkflowStepStateRequest(input *SendWorkflowStepStateInput) (req *request.Request, output *SendWorkflowStepStateOutput) { @@ -2674,28 +2666,29 @@ func (c *Transfer) SendWorkflowStepStateRequest(input *SendWorkflowStepStateInpu // API operation SendWorkflowStepState for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - AccessDeniedException +// You do not have sufficient access to perform this action. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // -// HTTP Status Code: 400 +// - ThrottlingException +// The request was denied due to request throttling. +// +// HTTP Status Code: 400 // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/SendWorkflowStepState func (c *Transfer) SendWorkflowStepState(input *SendWorkflowStepStateInput) (*SendWorkflowStepStateOutput, error) { @@ -2735,14 +2728,13 @@ const opStartServer = "StartServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartServerRequest method. +// req, resp := client.StartServerRequest(params) // -// // Example sending a request using the StartServerRequest method. -// req, resp := client.StartServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartServer func (c *Transfer) StartServerRequest(input *StartServerInput) (req *request.Request, output *StartServerOutput) { @@ -2782,25 +2774,26 @@ func (c *Transfer) StartServerRequest(input *StartServerInput) (req *request.Req // API operation StartServer for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// HTTP Status Code: 400 +// HTTP Status Code: 400 // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StartServer func (c *Transfer) StartServer(input *StartServerInput) (*StartServerOutput, error) { @@ -2840,14 +2833,13 @@ const opStopServer = "StopServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopServerRequest method. +// req, resp := client.StopServerRequest(params) // -// // Example sending a request using the StopServerRequest method. -// req, resp := client.StopServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StopServer func (c *Transfer) StopServerRequest(input *StopServerInput) (req *request.Request, output *StopServerOutput) { @@ -2891,25 +2883,26 @@ func (c *Transfer) StopServerRequest(input *StopServerInput) (req *request.Reque // API operation StopServer for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// HTTP Status Code: 400 +// HTTP Status Code: 400 // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/StopServer func (c *Transfer) StopServer(input *StopServerInput) (*StopServerOutput, error) { @@ -2949,14 +2942,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TagResource func (c *Transfer) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2991,20 +2983,21 @@ func (c *Transfer) TagResourceRequest(input *TagResourceInput) (req *request.Req // API operation TagResource for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TagResource func (c *Transfer) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3044,14 +3037,13 @@ const opTestIdentityProvider = "TestIdentityProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TestIdentityProviderRequest method. +// req, resp := client.TestIdentityProviderRequest(params) // -// // Example sending a request using the TestIdentityProviderRequest method. -// req, resp := client.TestIdentityProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TestIdentityProvider func (c *Transfer) TestIdentityProviderRequest(input *TestIdentityProviderInput) (req *request.Request, output *TestIdentityProviderOutput) { @@ -3085,18 +3077,18 @@ func (c *Transfer) TestIdentityProviderRequest(input *TestIdentityProviderInput) // You cannot use TestIdentityProvider if the IdentityProviderType of your server // is SERVICE_MANAGED. // -// * If you provide any incorrect values for any parameters, the Response -// field is empty. +// - If you provide any incorrect values for any parameters, the Response +// field is empty. // -// * If you provide a server ID for a server that uses service-managed users, -// you get an error: An error occurred (InvalidRequestException) when calling -// the TestIdentityProvider operation: s-server-ID not configured for external -// auth +// - If you provide a server ID for a server that uses service-managed users, +// you get an error: An error occurred (InvalidRequestException) when calling +// the TestIdentityProvider operation: s-server-ID not configured for external +// auth // -// * If you enter a Server ID for the --server-id parameter that does not -// identify an actual Transfer server, you receive the following error: An -// error occurred (ResourceNotFoundException) when calling the TestIdentityProvider -// operation: Unknown server +// - If you enter a Server ID for the --server-id parameter that does not +// identify an actual Transfer server, you receive the following error: An +// error occurred (ResourceNotFoundException) when calling the TestIdentityProvider +// operation: Unknown server // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3106,20 +3098,21 @@ func (c *Transfer) TestIdentityProviderRequest(input *TestIdentityProviderInput) // API operation TestIdentityProvider for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/TestIdentityProvider func (c *Transfer) TestIdentityProvider(input *TestIdentityProviderInput) (*TestIdentityProviderOutput, error) { @@ -3159,14 +3152,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UntagResource func (c *Transfer) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3201,20 +3193,21 @@ func (c *Transfer) UntagResourceRequest(input *UntagResourceInput) (req *request // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UntagResource func (c *Transfer) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3254,14 +3247,13 @@ const opUpdateAccess = "UpdateAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAccessRequest method. +// req, resp := client.UpdateAccessRequest(params) // -// // Example sending a request using the UpdateAccessRequest method. -// req, resp := client.UpdateAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateAccess func (c *Transfer) UpdateAccessRequest(input *UpdateAccessInput) (req *request.Request, output *UpdateAccessOutput) { @@ -3293,23 +3285,24 @@ func (c *Transfer) UpdateAccessRequest(input *UpdateAccessInput) (req *request.R // API operation UpdateAccess for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceExistsException -// The requested resource does not exist. +// - ResourceExistsException +// The requested resource does not exist. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateAccess func (c *Transfer) UpdateAccess(input *UpdateAccessInput) (*UpdateAccessOutput, error) { @@ -3349,14 +3342,13 @@ const opUpdateServer = "UpdateServer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateServerRequest method. +// req, resp := client.UpdateServerRequest(params) // -// // Example sending a request using the UpdateServerRequest method. -// req, resp := client.UpdateServerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateServer func (c *Transfer) UpdateServerRequest(input *UpdateServerInput) (req *request.Request, output *UpdateServerOutput) { @@ -3390,36 +3382,37 @@ func (c *Transfer) UpdateServerRequest(input *UpdateServerInput) (req *request.R // API operation UpdateServer for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// You do not have sufficient access to perform this action. // -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. +// - AccessDeniedException +// You do not have sufficient access to perform this action. +// +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. // -// * ConflictException -// This exception is thrown when the UpdateServer is called for a file transfer -// protocol-enabled server that has VPC as the endpoint type and the server's -// VpcEndpointID is not in the available state. +// - ConflictException +// This exception is thrown when the UpdateServer is called for a file transfer +// protocol-enabled server that has VPC as the endpoint type and the server's +// VpcEndpointID is not in the available state. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceExistsException -// The requested resource does not exist. +// - ResourceExistsException +// The requested resource does not exist. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// HTTP Status Code: 400 +// HTTP Status Code: 400 // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateServer func (c *Transfer) UpdateServer(input *UpdateServerInput) (*UpdateServerOutput, error) { @@ -3459,14 +3452,13 @@ const opUpdateUser = "UpdateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserRequest method. +// req, resp := client.UpdateUserRequest(params) // -// // Example sending a request using the UpdateUserRequest method. -// req, resp := client.UpdateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateUser func (c *Transfer) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput) { @@ -3501,25 +3493,26 @@ func (c *Transfer) UpdateUserRequest(input *UpdateUserInput) (req *request.Reque // API operation UpdateUser for usage and error information. // // Returned Error Types: -// * ServiceUnavailableException -// The request has failed because the Amazon Web ServicesTransfer Family service -// is not available. // -// * InternalServiceError -// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer -// Family service. +// - ServiceUnavailableException +// The request has failed because the Amazon Web ServicesTransfer Family service +// is not available. +// +// - InternalServiceError +// This exception is thrown when an error occurs in the Amazon Web ServicesTransfer +// Family service. // -// * InvalidRequestException -// This exception is thrown when the client submits a malformed request. +// - InvalidRequestException +// This exception is thrown when the client submits a malformed request. // -// * ResourceNotFoundException -// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer -// Family service. +// - ResourceNotFoundException +// This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer +// Family service. // -// * ThrottlingException -// The request was denied due to request throttling. +// - ThrottlingException +// The request was denied due to request throttling. // -// HTTP Status Code: 400 +// HTTP Status Code: 400 // // See also, https://docs.aws.amazon.com/goto/WebAPI/transfer-2018-11-05/UpdateUser func (c *Transfer) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/doc.go index 0749b6af02dd..24c53324b3b7 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/doc.go @@ -21,7 +21,7 @@ // See transfer package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/transfer/ // -// Using the Client +// # Using the Client // // To contact AWS Transfer Family with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/service.go index cf5b23436564..f18af1272e55 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Transfer client from just a session. -// svc := transfer.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Transfer client with additional configuration -// svc := transfer.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Transfer client from just a session. +// svc := transfer.New(mySession) +// +// // Create a Transfer client with additional configuration +// svc := transfer.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Transfer { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/transferiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/transferiface/interface.go index e4d44a7c2ff3..14a8789b4c26 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/transferiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/transfer/transferiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Transfer Family. -// func myFunc(svc transferiface.TransferAPI) bool { -// // Make svc.CreateAccess request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Transfer Family. +// func myFunc(svc transferiface.TransferAPI) bool { +// // Make svc.CreateAccess request +// } // -// func main() { -// sess := session.New() -// svc := transfer.New(sess) +// func main() { +// sess := session.New() +// svc := transfer.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockTransferClient struct { -// transferiface.TransferAPI -// } -// func (m *mockTransferClient) CreateAccess(input *transfer.CreateAccessInput) (*transfer.CreateAccessOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockTransferClient struct { +// transferiface.TransferAPI +// } +// func (m *mockTransferClient) CreateAccess(input *transfer.CreateAccessInput) (*transfer.CreateAccessOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockTransferClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockTransferClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/api.go index ecfece89526a..43292c64bee9 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/api.go @@ -29,14 +29,13 @@ const opCreateParallelData = "CreateParallelData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateParallelDataRequest method. +// req, resp := client.CreateParallelDataRequest(params) // -// // Example sending a request using the CreateParallelDataRequest method. -// req, resp := client.CreateParallelDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/CreateParallelData func (c *Translate) CreateParallelDataRequest(input *CreateParallelDataInput) (req *request.Request, output *CreateParallelDataOutput) { @@ -70,27 +69,28 @@ func (c *Translate) CreateParallelDataRequest(input *CreateParallelDataInput) (r // API operation CreateParallelData for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// The value of the parameter is invalid. Review the value of the parameter -// you are using to correct it, and then retry your operation. // -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. +// - InvalidParameterValueException +// The value of the parameter is invalid. Review the value of the parameter +// you are using to correct it, and then retry your operation. +// +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * LimitExceededException -// The specified limit has been exceeded. Review your request and retry it with -// a quantity below the stated limit. +// - LimitExceededException +// The specified limit has been exceeded. Review your request and retry it with +// a quantity below the stated limit. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/CreateParallelData func (c *Translate) CreateParallelData(input *CreateParallelDataInput) (*CreateParallelDataOutput, error) { @@ -130,14 +130,13 @@ const opDeleteParallelData = "DeleteParallelData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteParallelDataRequest method. +// req, resp := client.DeleteParallelDataRequest(params) // -// // Example sending a request using the DeleteParallelDataRequest method. -// req, resp := client.DeleteParallelDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/DeleteParallelData func (c *Translate) DeleteParallelDataRequest(input *DeleteParallelDataInput) (req *request.Request, output *DeleteParallelDataOutput) { @@ -168,21 +167,22 @@ func (c *Translate) DeleteParallelDataRequest(input *DeleteParallelDataInput) (r // API operation DeleteParallelData for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// Another modification is being made. That modification must complete before -// you can make your change. // -// * ResourceNotFoundException -// The resource you are looking for has not been found. Review the resource -// you're looking for and see if a different resource will accomplish your needs -// before retrying the revised request. +// - ConcurrentModificationException +// Another modification is being made. That modification must complete before +// you can make your change. +// +// - ResourceNotFoundException +// The resource you are looking for has not been found. Review the resource +// you're looking for and see if a different resource will accomplish your needs +// before retrying the revised request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/DeleteParallelData func (c *Translate) DeleteParallelData(input *DeleteParallelDataInput) (*DeleteParallelDataOutput, error) { @@ -222,14 +222,13 @@ const opDeleteTerminology = "DeleteTerminology" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTerminologyRequest method. +// req, resp := client.DeleteTerminologyRequest(params) // -// // Example sending a request using the DeleteTerminologyRequest method. -// req, resp := client.DeleteTerminologyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/DeleteTerminology func (c *Translate) DeleteTerminologyRequest(input *DeleteTerminologyInput) (req *request.Request, output *DeleteTerminologyOutput) { @@ -261,21 +260,22 @@ func (c *Translate) DeleteTerminologyRequest(input *DeleteTerminologyInput) (req // API operation DeleteTerminology for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource you are looking for has not been found. Review the resource -// you're looking for and see if a different resource will accomplish your needs -// before retrying the revised request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. +// - ResourceNotFoundException +// The resource you are looking for has not been found. Review the resource +// you're looking for and see if a different resource will accomplish your needs +// before retrying the revised request. +// +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. // -// * InvalidParameterValueException -// The value of the parameter is invalid. Review the value of the parameter -// you are using to correct it, and then retry your operation. +// - InvalidParameterValueException +// The value of the parameter is invalid. Review the value of the parameter +// you are using to correct it, and then retry your operation. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/DeleteTerminology func (c *Translate) DeleteTerminology(input *DeleteTerminologyInput) (*DeleteTerminologyOutput, error) { @@ -315,14 +315,13 @@ const opDescribeTextTranslationJob = "DescribeTextTranslationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTextTranslationJobRequest method. +// req, resp := client.DescribeTextTranslationJobRequest(params) // -// // Example sending a request using the DescribeTextTranslationJobRequest method. -// req, resp := client.DescribeTextTranslationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/DescribeTextTranslationJob func (c *Translate) DescribeTextTranslationJobRequest(input *DescribeTextTranslationJobInput) (req *request.Request, output *DescribeTextTranslationJobOutput) { @@ -355,17 +354,18 @@ func (c *Translate) DescribeTextTranslationJobRequest(input *DescribeTextTransla // API operation DescribeTextTranslationJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource you are looking for has not been found. Review the resource -// you're looking for and see if a different resource will accomplish your needs -// before retrying the revised request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. +// - ResourceNotFoundException +// The resource you are looking for has not been found. Review the resource +// you're looking for and see if a different resource will accomplish your needs +// before retrying the revised request. +// +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/DescribeTextTranslationJob func (c *Translate) DescribeTextTranslationJob(input *DescribeTextTranslationJobInput) (*DescribeTextTranslationJobOutput, error) { @@ -405,14 +405,13 @@ const opGetParallelData = "GetParallelData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetParallelDataRequest method. +// req, resp := client.GetParallelDataRequest(params) // -// // Example sending a request using the GetParallelDataRequest method. -// req, resp := client.GetParallelDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/GetParallelData func (c *Translate) GetParallelDataRequest(input *GetParallelDataInput) (req *request.Request, output *GetParallelDataOutput) { @@ -443,21 +442,22 @@ func (c *Translate) GetParallelDataRequest(input *GetParallelDataInput) (req *re // API operation GetParallelData for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource you are looking for has not been found. Review the resource -// you're looking for and see if a different resource will accomplish your needs -// before retrying the revised request. // -// * InvalidParameterValueException -// The value of the parameter is invalid. Review the value of the parameter -// you are using to correct it, and then retry your operation. +// - ResourceNotFoundException +// The resource you are looking for has not been found. Review the resource +// you're looking for and see if a different resource will accomplish your needs +// before retrying the revised request. +// +// - InvalidParameterValueException +// The value of the parameter is invalid. Review the value of the parameter +// you are using to correct it, and then retry your operation. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/GetParallelData func (c *Translate) GetParallelData(input *GetParallelDataInput) (*GetParallelDataOutput, error) { @@ -497,14 +497,13 @@ const opGetTerminology = "GetTerminology" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTerminologyRequest method. +// req, resp := client.GetTerminologyRequest(params) // -// // Example sending a request using the GetTerminologyRequest method. -// req, resp := client.GetTerminologyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/GetTerminology func (c *Translate) GetTerminologyRequest(input *GetTerminologyInput) (req *request.Request, output *GetTerminologyOutput) { @@ -535,21 +534,22 @@ func (c *Translate) GetTerminologyRequest(input *GetTerminologyInput) (req *requ // API operation GetTerminology for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource you are looking for has not been found. Review the resource -// you're looking for and see if a different resource will accomplish your needs -// before retrying the revised request. // -// * InvalidParameterValueException -// The value of the parameter is invalid. Review the value of the parameter -// you are using to correct it, and then retry your operation. +// - ResourceNotFoundException +// The resource you are looking for has not been found. Review the resource +// you're looking for and see if a different resource will accomplish your needs +// before retrying the revised request. +// +// - InvalidParameterValueException +// The value of the parameter is invalid. Review the value of the parameter +// you are using to correct it, and then retry your operation. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/GetTerminology func (c *Translate) GetTerminology(input *GetTerminologyInput) (*GetTerminologyOutput, error) { @@ -589,14 +589,13 @@ const opImportTerminology = "ImportTerminology" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportTerminologyRequest method. +// req, resp := client.ImportTerminologyRequest(params) // -// // Example sending a request using the ImportTerminologyRequest method. -// req, resp := client.ImportTerminologyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ImportTerminology func (c *Translate) ImportTerminologyRequest(input *ImportTerminologyInput) (req *request.Request, output *ImportTerminologyOutput) { @@ -636,20 +635,21 @@ func (c *Translate) ImportTerminologyRequest(input *ImportTerminologyInput) (req // API operation ImportTerminology for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// The value of the parameter is invalid. Review the value of the parameter -// you are using to correct it, and then retry your operation. // -// * LimitExceededException -// The specified limit has been exceeded. Review your request and retry it with -// a quantity below the stated limit. +// - InvalidParameterValueException +// The value of the parameter is invalid. Review the value of the parameter +// you are using to correct it, and then retry your operation. +// +// - LimitExceededException +// The specified limit has been exceeded. Review your request and retry it with +// a quantity below the stated limit. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ImportTerminology func (c *Translate) ImportTerminology(input *ImportTerminologyInput) (*ImportTerminologyOutput, error) { @@ -689,14 +689,13 @@ const opListParallelData = "ListParallelData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListParallelDataRequest method. +// req, resp := client.ListParallelDataRequest(params) // -// // Example sending a request using the ListParallelDataRequest method. -// req, resp := client.ListParallelDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ListParallelData func (c *Translate) ListParallelDataRequest(input *ListParallelDataInput) (req *request.Request, output *ListParallelDataOutput) { @@ -733,16 +732,17 @@ func (c *Translate) ListParallelDataRequest(input *ListParallelDataInput) (req * // API operation ListParallelData for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// The value of the parameter is invalid. Review the value of the parameter -// you are using to correct it, and then retry your operation. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. +// - InvalidParameterValueException +// The value of the parameter is invalid. Review the value of the parameter +// you are using to correct it, and then retry your operation. +// +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ListParallelData func (c *Translate) ListParallelData(input *ListParallelDataInput) (*ListParallelDataOutput, error) { @@ -774,15 +774,14 @@ func (c *Translate) ListParallelDataWithContext(ctx aws.Context, input *ListPara // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListParallelData operation. -// pageNum := 0 -// err := client.ListParallelDataPages(params, -// func(page *translate.ListParallelDataOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListParallelData operation. +// pageNum := 0 +// err := client.ListParallelDataPages(params, +// func(page *translate.ListParallelDataOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Translate) ListParallelDataPages(input *ListParallelDataInput, fn func(*ListParallelDataOutput, bool) bool) error { return c.ListParallelDataPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -834,14 +833,13 @@ const opListTerminologies = "ListTerminologies" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTerminologiesRequest method. +// req, resp := client.ListTerminologiesRequest(params) // -// // Example sending a request using the ListTerminologiesRequest method. -// req, resp := client.ListTerminologiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ListTerminologies func (c *Translate) ListTerminologiesRequest(input *ListTerminologiesInput) (req *request.Request, output *ListTerminologiesOutput) { @@ -878,16 +876,17 @@ func (c *Translate) ListTerminologiesRequest(input *ListTerminologiesInput) (req // API operation ListTerminologies for usage and error information. // // Returned Error Types: -// * InvalidParameterValueException -// The value of the parameter is invalid. Review the value of the parameter -// you are using to correct it, and then retry your operation. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. +// - InvalidParameterValueException +// The value of the parameter is invalid. Review the value of the parameter +// you are using to correct it, and then retry your operation. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ListTerminologies func (c *Translate) ListTerminologies(input *ListTerminologiesInput) (*ListTerminologiesOutput, error) { @@ -919,15 +918,14 @@ func (c *Translate) ListTerminologiesWithContext(ctx aws.Context, input *ListTer // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTerminologies operation. -// pageNum := 0 -// err := client.ListTerminologiesPages(params, -// func(page *translate.ListTerminologiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTerminologies operation. +// pageNum := 0 +// err := client.ListTerminologiesPages(params, +// func(page *translate.ListTerminologiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Translate) ListTerminologiesPages(input *ListTerminologiesInput, fn func(*ListTerminologiesOutput, bool) bool) error { return c.ListTerminologiesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -979,14 +977,13 @@ const opListTextTranslationJobs = "ListTextTranslationJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTextTranslationJobsRequest method. +// req, resp := client.ListTextTranslationJobsRequest(params) // -// // Example sending a request using the ListTextTranslationJobsRequest method. -// req, resp := client.ListTextTranslationJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ListTextTranslationJobs func (c *Translate) ListTextTranslationJobsRequest(input *ListTextTranslationJobsInput) (req *request.Request, output *ListTextTranslationJobsOutput) { @@ -1023,19 +1020,20 @@ func (c *Translate) ListTextTranslationJobsRequest(input *ListTextTranslationJob // API operation ListTextTranslationJobs for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. +// +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. // -// * InvalidFilterException -// The filter specified for the operation is invalid. Specify a different filter. +// - InvalidFilterException +// The filter specified for the operation is invalid. Specify a different filter. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ListTextTranslationJobs func (c *Translate) ListTextTranslationJobs(input *ListTextTranslationJobsInput) (*ListTextTranslationJobsOutput, error) { @@ -1067,15 +1065,14 @@ func (c *Translate) ListTextTranslationJobsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTextTranslationJobs operation. -// pageNum := 0 -// err := client.ListTextTranslationJobsPages(params, -// func(page *translate.ListTextTranslationJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTextTranslationJobs operation. +// pageNum := 0 +// err := client.ListTextTranslationJobsPages(params, +// func(page *translate.ListTextTranslationJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *Translate) ListTextTranslationJobsPages(input *ListTextTranslationJobsInput, fn func(*ListTextTranslationJobsOutput, bool) bool) error { return c.ListTextTranslationJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1127,14 +1124,13 @@ const opStartTextTranslationJob = "StartTextTranslationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartTextTranslationJobRequest method. +// req, resp := client.StartTextTranslationJobRequest(params) // -// // Example sending a request using the StartTextTranslationJobRequest method. -// req, resp := client.StartTextTranslationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/StartTextTranslationJob func (c *Translate) StartTextTranslationJobRequest(input *StartTextTranslationJobInput) (req *request.Request, output *StartTextTranslationJobOutput) { @@ -1174,29 +1170,30 @@ func (c *Translate) StartTextTranslationJobRequest(input *StartTextTranslationJo // API operation StartTextTranslationJob for usage and error information. // // Returned Error Types: -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. // -// * UnsupportedLanguagePairException -// Amazon Translate does not support translation from the language of the source -// text into the requested target language. For more information, see how-to-error-msg. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. // -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. +// - UnsupportedLanguagePairException +// Amazon Translate does not support translation from the language of the source +// text into the requested target language. For more information, see how-to-error-msg. // -// * ResourceNotFoundException -// The resource you are looking for has not been found. Review the resource -// you're looking for and see if a different resource will accomplish your needs -// before retrying the revised request. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * InvalidParameterValueException -// The value of the parameter is invalid. Review the value of the parameter -// you are using to correct it, and then retry your operation. +// - ResourceNotFoundException +// The resource you are looking for has not been found. Review the resource +// you're looking for and see if a different resource will accomplish your needs +// before retrying the revised request. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InvalidParameterValueException +// The value of the parameter is invalid. Review the value of the parameter +// you are using to correct it, and then retry your operation. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/StartTextTranslationJob func (c *Translate) StartTextTranslationJob(input *StartTextTranslationJobInput) (*StartTextTranslationJobOutput, error) { @@ -1236,14 +1233,13 @@ const opStopTextTranslationJob = "StopTextTranslationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopTextTranslationJobRequest method. +// req, resp := client.StopTextTranslationJobRequest(params) // -// // Example sending a request using the StopTextTranslationJobRequest method. -// req, resp := client.StopTextTranslationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/StopTextTranslationJob func (c *Translate) StopTextTranslationJobRequest(input *StopTextTranslationJobInput) (req *request.Request, output *StopTextTranslationJobOutput) { @@ -1283,17 +1279,18 @@ func (c *Translate) StopTextTranslationJobRequest(input *StopTextTranslationJobI // API operation StopTextTranslationJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource you are looking for has not been found. Review the resource -// you're looking for and see if a different resource will accomplish your needs -// before retrying the revised request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. +// - ResourceNotFoundException +// The resource you are looking for has not been found. Review the resource +// you're looking for and see if a different resource will accomplish your needs +// before retrying the revised request. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. +// +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/StopTextTranslationJob func (c *Translate) StopTextTranslationJob(input *StopTextTranslationJobInput) (*StopTextTranslationJobOutput, error) { @@ -1333,14 +1330,13 @@ const opText = "TranslateText" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TextRequest method. +// req, resp := client.TextRequest(params) // -// // Example sending a request using the TextRequest method. -// req, resp := client.TextRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/Text func (c *Translate) TextRequest(input *TextInput) (req *request.Request, output *TextOutput) { @@ -1372,40 +1368,41 @@ func (c *Translate) TextRequest(input *TextInput) (req *request.Request, output // API operation Text for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. // -// * TextSizeLimitExceededException -// The size of the text you submitted exceeds the size limit. Reduce the size -// of the text or use a smaller document and then retry your request. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. +// - TextSizeLimitExceededException +// The size of the text you submitted exceeds the size limit. Reduce the size +// of the text or use a smaller document and then retry your request. // -// * UnsupportedLanguagePairException -// Amazon Translate does not support translation from the language of the source -// text into the requested target language. For more information, see how-to-error-msg. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. // -// * DetectedLanguageLowConfidenceException -// The confidence that Amazon Comprehend accurately detected the source language -// is low. If a low confidence level is acceptable for your application, you -// can use the language in the exception to call Amazon Translate again. For -// more information, see the DetectDominantLanguage (https://docs.aws.amazon.com/comprehend/latest/dg/API_DetectDominantLanguage.html) -// operation in the Amazon Comprehend Developer Guide. +// - UnsupportedLanguagePairException +// Amazon Translate does not support translation from the language of the source +// text into the requested target language. For more information, see how-to-error-msg. // -// * ResourceNotFoundException -// The resource you are looking for has not been found. Review the resource -// you're looking for and see if a different resource will accomplish your needs -// before retrying the revised request. +// - DetectedLanguageLowConfidenceException +// The confidence that Amazon Comprehend accurately detected the source language +// is low. If a low confidence level is acceptable for your application, you +// can use the language in the exception to call Amazon Translate again. For +// more information, see the DetectDominantLanguage (https://docs.aws.amazon.com/comprehend/latest/dg/API_DetectDominantLanguage.html) +// operation in the Amazon Comprehend Developer Guide. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - ResourceNotFoundException +// The resource you are looking for has not been found. Review the resource +// you're looking for and see if a different resource will accomplish your needs +// before retrying the revised request. // -// * ServiceUnavailableException -// The Amazon Translate service is temporarily unavailable. Please wait a bit -// and then retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. +// +// - ServiceUnavailableException +// The Amazon Translate service is temporarily unavailable. Please wait a bit +// and then retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/Text func (c *Translate) Text(input *TextInput) (*TextOutput, error) { @@ -1445,14 +1442,13 @@ const opUpdateParallelData = "UpdateParallelData" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateParallelDataRequest method. +// req, resp := client.UpdateParallelDataRequest(params) // -// // Example sending a request using the UpdateParallelDataRequest method. -// req, resp := client.UpdateParallelDataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/UpdateParallelData func (c *Translate) UpdateParallelDataRequest(input *UpdateParallelDataInput) (req *request.Request, output *UpdateParallelDataOutput) { @@ -1484,36 +1480,37 @@ func (c *Translate) UpdateParallelDataRequest(input *UpdateParallelDataInput) (r // API operation UpdateParallelData for usage and error information. // // Returned Error Types: -// * ConcurrentModificationException -// Another modification is being made. That modification must complete before -// you can make your change. // -// * InvalidParameterValueException -// The value of the parameter is invalid. Review the value of the parameter -// you are using to correct it, and then retry your operation. +// - ConcurrentModificationException +// Another modification is being made. That modification must complete before +// you can make your change. +// +// - InvalidParameterValueException +// The value of the parameter is invalid. Review the value of the parameter +// you are using to correct it, and then retry your operation. // -// * InvalidRequestException -// The request that you made is invalid. Check your request to determine why -// it's invalid and then retry the request. +// - InvalidRequestException +// The request that you made is invalid. Check your request to determine why +// it's invalid and then retry the request. // -// * LimitExceededException -// The specified limit has been exceeded. Review your request and retry it with -// a quantity below the stated limit. +// - LimitExceededException +// The specified limit has been exceeded. Review your request and retry it with +// a quantity below the stated limit. // -// * TooManyRequestsException -// You have made too many requests within a short period of time. Wait for a -// short time and then try your request again. +// - TooManyRequestsException +// You have made too many requests within a short period of time. Wait for a +// short time and then try your request again. // -// * ConflictException -// There was a conflict processing the request. Try your request again. +// - ConflictException +// There was a conflict processing the request. Try your request again. // -// * ResourceNotFoundException -// The resource you are looking for has not been found. Review the resource -// you're looking for and see if a different resource will accomplish your needs -// before retrying the revised request. +// - ResourceNotFoundException +// The resource you are looking for has not been found. Review the resource +// you're looking for and see if a different resource will accomplish your needs +// before retrying the revised request. // -// * InternalServerException -// An internal server error occurred. Retry your request. +// - InternalServerException +// An internal server error occurred. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/UpdateParallelData func (c *Translate) UpdateParallelData(input *UpdateParallelDataInput) (*UpdateParallelDataOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/doc.go index 4d9d7b2f0322..1603a3cd67f4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/doc.go @@ -11,7 +11,7 @@ // See translate package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/translate/ // -// Using the Client +// # Using the Client // // To contact Amazon Translate with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/service.go index bb287011994d..21b26c1106c8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a Translate client from just a session. -// svc := translate.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a Translate client with additional configuration -// svc := translate.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a Translate client from just a session. +// svc := translate.New(mySession) +// +// // Create a Translate client with additional configuration +// svc := translate.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *Translate { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/translateiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/translateiface/interface.go index 3ab6cf7dc5ba..1ce5fbb9708c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/translateiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/translate/translateiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Translate. -// func myFunc(svc translateiface.TranslateAPI) bool { -// // Make svc.CreateParallelData request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Translate. +// func myFunc(svc translateiface.TranslateAPI) bool { +// // Make svc.CreateParallelData request +// } // -// func main() { -// sess := session.New() -// svc := translate.New(sess) +// func main() { +// sess := session.New() +// svc := translate.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockTranslateClient struct { -// translateiface.TranslateAPI -// } -// func (m *mockTranslateClient) CreateParallelData(input *translate.CreateParallelDataInput) (*translate.CreateParallelDataOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockTranslateClient struct { +// translateiface.TranslateAPI +// } +// func (m *mockTranslateClient) CreateParallelData(input *translate.CreateParallelDataInput) (*translate.CreateParallelDataOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockTranslateClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockTranslateClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/api.go index d4b4f392998d..02a3259b5c5a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/api.go @@ -29,14 +29,13 @@ const opCreateDomain = "CreateDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateDomainRequest method. +// req, resp := client.CreateDomainRequest(params) // -// // Example sending a request using the CreateDomainRequest method. -// req, resp := client.CreateDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/CreateDomain func (c *VoiceID) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) { @@ -68,34 +67,35 @@ func (c *VoiceID) CreateDomainRequest(input *CreateDomainInput) (req *request.Re // API operation CreateDomain for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The request exceeded the service quota. Refer to Voice ID Service Quotas -// (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#voiceid-quotas) -// and try your request again. // -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. +// - ServiceQuotaExceededException +// The request exceeded the service quota. Refer to Voice ID Service Quotas +// (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#voiceid-quotas) +// and try your request again. +// +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * ConflictException -// The request failed due to a conflict. Check the ConflictType and error message -// for more details. +// - ConflictException +// The request failed due to a conflict. Check the ConflictType and error message +// for more details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/CreateDomain func (c *VoiceID) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) { @@ -135,14 +135,13 @@ const opDeleteDomain = "DeleteDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDomainRequest method. +// req, resp := client.DeleteDomainRequest(params) // -// // Example sending a request using the DeleteDomainRequest method. -// req, resp := client.DeleteDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DeleteDomain func (c *VoiceID) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) { @@ -174,29 +173,30 @@ func (c *VoiceID) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Re // API operation DeleteDomain for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. // -// * ConflictException -// The request failed due to a conflict. Check the ConflictType and error message -// for more details. +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - ConflictException +// The request failed due to a conflict. Check the ConflictType and error message +// for more details. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DeleteDomain func (c *VoiceID) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) { @@ -236,14 +236,13 @@ const opDeleteFraudster = "DeleteFraudster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFraudsterRequest method. +// req, resp := client.DeleteFraudsterRequest(params) // -// // Example sending a request using the DeleteFraudsterRequest method. -// req, resp := client.DeleteFraudsterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DeleteFraudster func (c *VoiceID) DeleteFraudsterRequest(input *DeleteFraudsterInput) (req *request.Request, output *DeleteFraudsterOutput) { @@ -275,25 +274,26 @@ func (c *VoiceID) DeleteFraudsterRequest(input *DeleteFraudsterInput) (req *requ // API operation DeleteFraudster for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. +// +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DeleteFraudster func (c *VoiceID) DeleteFraudster(input *DeleteFraudsterInput) (*DeleteFraudsterOutput, error) { @@ -333,14 +333,13 @@ const opDeleteSpeaker = "DeleteSpeaker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSpeakerRequest method. +// req, resp := client.DeleteSpeakerRequest(params) // -// // Example sending a request using the DeleteSpeakerRequest method. -// req, resp := client.DeleteSpeakerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DeleteSpeaker func (c *VoiceID) DeleteSpeakerRequest(input *DeleteSpeakerInput) (req *request.Request, output *DeleteSpeakerOutput) { @@ -372,29 +371,30 @@ func (c *VoiceID) DeleteSpeakerRequest(input *DeleteSpeakerInput) (req *request. // API operation DeleteSpeaker for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. +// +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * ConflictException -// The request failed due to a conflict. Check the ConflictType and error message -// for more details. +// - ConflictException +// The request failed due to a conflict. Check the ConflictType and error message +// for more details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DeleteSpeaker func (c *VoiceID) DeleteSpeaker(input *DeleteSpeakerInput) (*DeleteSpeakerOutput, error) { @@ -434,14 +434,13 @@ const opDescribeDomain = "DescribeDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainRequest method. +// req, resp := client.DescribeDomainRequest(params) // -// // Example sending a request using the DescribeDomainRequest method. -// req, resp := client.DescribeDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DescribeDomain func (c *VoiceID) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Request, output *DescribeDomainOutput) { @@ -472,25 +471,26 @@ func (c *VoiceID) DescribeDomainRequest(input *DescribeDomainInput) (req *reques // API operation DescribeDomain for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DescribeDomain func (c *VoiceID) DescribeDomain(input *DescribeDomainInput) (*DescribeDomainOutput, error) { @@ -530,14 +530,13 @@ const opDescribeFraudster = "DescribeFraudster" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFraudsterRequest method. +// req, resp := client.DescribeFraudsterRequest(params) // -// // Example sending a request using the DescribeFraudsterRequest method. -// req, resp := client.DescribeFraudsterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DescribeFraudster func (c *VoiceID) DescribeFraudsterRequest(input *DescribeFraudsterInput) (req *request.Request, output *DescribeFraudsterOutput) { @@ -568,25 +567,26 @@ func (c *VoiceID) DescribeFraudsterRequest(input *DescribeFraudsterInput) (req * // API operation DescribeFraudster for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. +// +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DescribeFraudster func (c *VoiceID) DescribeFraudster(input *DescribeFraudsterInput) (*DescribeFraudsterOutput, error) { @@ -626,14 +626,13 @@ const opDescribeFraudsterRegistrationJob = "DescribeFraudsterRegistrationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFraudsterRegistrationJobRequest method. +// req, resp := client.DescribeFraudsterRegistrationJobRequest(params) // -// // Example sending a request using the DescribeFraudsterRegistrationJobRequest method. -// req, resp := client.DescribeFraudsterRegistrationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DescribeFraudsterRegistrationJob func (c *VoiceID) DescribeFraudsterRegistrationJobRequest(input *DescribeFraudsterRegistrationJobInput) (req *request.Request, output *DescribeFraudsterRegistrationJobOutput) { @@ -664,25 +663,26 @@ func (c *VoiceID) DescribeFraudsterRegistrationJobRequest(input *DescribeFraudst // API operation DescribeFraudsterRegistrationJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. +// +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DescribeFraudsterRegistrationJob func (c *VoiceID) DescribeFraudsterRegistrationJob(input *DescribeFraudsterRegistrationJobInput) (*DescribeFraudsterRegistrationJobOutput, error) { @@ -722,14 +722,13 @@ const opDescribeSpeaker = "DescribeSpeaker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSpeakerRequest method. +// req, resp := client.DescribeSpeakerRequest(params) // -// // Example sending a request using the DescribeSpeakerRequest method. -// req, resp := client.DescribeSpeakerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DescribeSpeaker func (c *VoiceID) DescribeSpeakerRequest(input *DescribeSpeakerInput) (req *request.Request, output *DescribeSpeakerOutput) { @@ -760,25 +759,26 @@ func (c *VoiceID) DescribeSpeakerRequest(input *DescribeSpeakerInput) (req *requ // API operation DescribeSpeaker for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DescribeSpeaker func (c *VoiceID) DescribeSpeaker(input *DescribeSpeakerInput) (*DescribeSpeakerOutput, error) { @@ -818,14 +818,13 @@ const opDescribeSpeakerEnrollmentJob = "DescribeSpeakerEnrollmentJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeSpeakerEnrollmentJobRequest method. +// req, resp := client.DescribeSpeakerEnrollmentJobRequest(params) // -// // Example sending a request using the DescribeSpeakerEnrollmentJobRequest method. -// req, resp := client.DescribeSpeakerEnrollmentJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DescribeSpeakerEnrollmentJob func (c *VoiceID) DescribeSpeakerEnrollmentJobRequest(input *DescribeSpeakerEnrollmentJobInput) (req *request.Request, output *DescribeSpeakerEnrollmentJobOutput) { @@ -856,25 +855,26 @@ func (c *VoiceID) DescribeSpeakerEnrollmentJobRequest(input *DescribeSpeakerEnro // API operation DescribeSpeakerEnrollmentJob for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. +// +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/DescribeSpeakerEnrollmentJob func (c *VoiceID) DescribeSpeakerEnrollmentJob(input *DescribeSpeakerEnrollmentJobInput) (*DescribeSpeakerEnrollmentJobOutput, error) { @@ -914,14 +914,13 @@ const opEvaluateSession = "EvaluateSession" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the EvaluateSessionRequest method. +// req, resp := client.EvaluateSessionRequest(params) // -// // Example sending a request using the EvaluateSessionRequest method. -// req, resp := client.EvaluateSessionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/EvaluateSession func (c *VoiceID) EvaluateSessionRequest(input *EvaluateSessionInput) (req *request.Request, output *EvaluateSessionOutput) { @@ -953,25 +952,26 @@ func (c *VoiceID) EvaluateSessionRequest(input *EvaluateSessionInput) (req *requ // API operation EvaluateSession for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. +// +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/EvaluateSession func (c *VoiceID) EvaluateSession(input *EvaluateSessionInput) (*EvaluateSessionOutput, error) { @@ -1011,14 +1011,13 @@ const opListDomains = "ListDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainsRequest method. +// req, resp := client.ListDomainsRequest(params) // -// // Example sending a request using the ListDomainsRequest method. -// req, resp := client.ListDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/ListDomains func (c *VoiceID) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) { @@ -1055,21 +1054,22 @@ func (c *VoiceID) ListDomainsRequest(input *ListDomainsInput) (req *request.Requ // API operation ListDomains for usage and error information. // // Returned Error Types: -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/ListDomains func (c *VoiceID) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) { @@ -1101,15 +1101,14 @@ func (c *VoiceID) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDomains operation. -// pageNum := 0 -// err := client.ListDomainsPages(params, -// func(page *voiceid.ListDomainsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDomains operation. +// pageNum := 0 +// err := client.ListDomainsPages(params, +// func(page *voiceid.ListDomainsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *VoiceID) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error { return c.ListDomainsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1161,14 +1160,13 @@ const opListFraudsterRegistrationJobs = "ListFraudsterRegistrationJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFraudsterRegistrationJobsRequest method. +// req, resp := client.ListFraudsterRegistrationJobsRequest(params) // -// // Example sending a request using the ListFraudsterRegistrationJobsRequest method. -// req, resp := client.ListFraudsterRegistrationJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/ListFraudsterRegistrationJobs func (c *VoiceID) ListFraudsterRegistrationJobsRequest(input *ListFraudsterRegistrationJobsInput) (req *request.Request, output *ListFraudsterRegistrationJobsOutput) { @@ -1207,25 +1205,26 @@ func (c *VoiceID) ListFraudsterRegistrationJobsRequest(input *ListFraudsterRegis // API operation ListFraudsterRegistrationJobs for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. +// +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/ListFraudsterRegistrationJobs func (c *VoiceID) ListFraudsterRegistrationJobs(input *ListFraudsterRegistrationJobsInput) (*ListFraudsterRegistrationJobsOutput, error) { @@ -1257,15 +1256,14 @@ func (c *VoiceID) ListFraudsterRegistrationJobsWithContext(ctx aws.Context, inpu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFraudsterRegistrationJobs operation. -// pageNum := 0 -// err := client.ListFraudsterRegistrationJobsPages(params, -// func(page *voiceid.ListFraudsterRegistrationJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFraudsterRegistrationJobs operation. +// pageNum := 0 +// err := client.ListFraudsterRegistrationJobsPages(params, +// func(page *voiceid.ListFraudsterRegistrationJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *VoiceID) ListFraudsterRegistrationJobsPages(input *ListFraudsterRegistrationJobsInput, fn func(*ListFraudsterRegistrationJobsOutput, bool) bool) error { return c.ListFraudsterRegistrationJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1317,14 +1315,13 @@ const opListSpeakerEnrollmentJobs = "ListSpeakerEnrollmentJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSpeakerEnrollmentJobsRequest method. +// req, resp := client.ListSpeakerEnrollmentJobsRequest(params) // -// // Example sending a request using the ListSpeakerEnrollmentJobsRequest method. -// req, resp := client.ListSpeakerEnrollmentJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/ListSpeakerEnrollmentJobs func (c *VoiceID) ListSpeakerEnrollmentJobsRequest(input *ListSpeakerEnrollmentJobsInput) (req *request.Request, output *ListSpeakerEnrollmentJobsOutput) { @@ -1363,25 +1360,26 @@ func (c *VoiceID) ListSpeakerEnrollmentJobsRequest(input *ListSpeakerEnrollmentJ // API operation ListSpeakerEnrollmentJobs for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. +// +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/ListSpeakerEnrollmentJobs func (c *VoiceID) ListSpeakerEnrollmentJobs(input *ListSpeakerEnrollmentJobsInput) (*ListSpeakerEnrollmentJobsOutput, error) { @@ -1413,15 +1411,14 @@ func (c *VoiceID) ListSpeakerEnrollmentJobsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSpeakerEnrollmentJobs operation. -// pageNum := 0 -// err := client.ListSpeakerEnrollmentJobsPages(params, -// func(page *voiceid.ListSpeakerEnrollmentJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSpeakerEnrollmentJobs operation. +// pageNum := 0 +// err := client.ListSpeakerEnrollmentJobsPages(params, +// func(page *voiceid.ListSpeakerEnrollmentJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *VoiceID) ListSpeakerEnrollmentJobsPages(input *ListSpeakerEnrollmentJobsInput, fn func(*ListSpeakerEnrollmentJobsOutput, bool) bool) error { return c.ListSpeakerEnrollmentJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1473,14 +1470,13 @@ const opListSpeakers = "ListSpeakers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSpeakersRequest method. +// req, resp := client.ListSpeakersRequest(params) // -// // Example sending a request using the ListSpeakersRequest method. -// req, resp := client.ListSpeakersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/ListSpeakers func (c *VoiceID) ListSpeakersRequest(input *ListSpeakersInput) (req *request.Request, output *ListSpeakersOutput) { @@ -1517,25 +1513,26 @@ func (c *VoiceID) ListSpeakersRequest(input *ListSpeakersInput) (req *request.Re // API operation ListSpeakers for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. +// +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/ListSpeakers func (c *VoiceID) ListSpeakers(input *ListSpeakersInput) (*ListSpeakersOutput, error) { @@ -1567,15 +1564,14 @@ func (c *VoiceID) ListSpeakersWithContext(ctx aws.Context, input *ListSpeakersIn // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListSpeakers operation. -// pageNum := 0 -// err := client.ListSpeakersPages(params, -// func(page *voiceid.ListSpeakersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListSpeakers operation. +// pageNum := 0 +// err := client.ListSpeakersPages(params, +// func(page *voiceid.ListSpeakersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *VoiceID) ListSpeakersPages(input *ListSpeakersInput, fn func(*ListSpeakersOutput, bool) bool) error { return c.ListSpeakersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1627,14 +1623,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/ListTagsForResource func (c *VoiceID) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -1665,25 +1660,26 @@ func (c *VoiceID) ListTagsForResourceRequest(input *ListTagsForResourceInput) (r // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. +// +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/ListTagsForResource func (c *VoiceID) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -1723,14 +1719,13 @@ const opOptOutSpeaker = "OptOutSpeaker" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the OptOutSpeakerRequest method. +// req, resp := client.OptOutSpeakerRequest(params) // -// // Example sending a request using the OptOutSpeakerRequest method. -// req, resp := client.OptOutSpeakerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/OptOutSpeaker func (c *VoiceID) OptOutSpeakerRequest(input *OptOutSpeakerInput) (req *request.Request, output *OptOutSpeakerOutput) { @@ -1766,29 +1761,30 @@ func (c *VoiceID) OptOutSpeakerRequest(input *OptOutSpeakerInput) (req *request. // API operation OptOutSpeaker for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. // -// * ConflictException -// The request failed due to a conflict. Check the ConflictType and error message -// for more details. +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - ConflictException +// The request failed due to a conflict. Check the ConflictType and error message +// for more details. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/OptOutSpeaker func (c *VoiceID) OptOutSpeaker(input *OptOutSpeakerInput) (*OptOutSpeakerOutput, error) { @@ -1828,14 +1824,13 @@ const opStartFraudsterRegistrationJob = "StartFraudsterRegistrationJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartFraudsterRegistrationJobRequest method. +// req, resp := client.StartFraudsterRegistrationJobRequest(params) // -// // Example sending a request using the StartFraudsterRegistrationJobRequest method. -// req, resp := client.StartFraudsterRegistrationJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/StartFraudsterRegistrationJob func (c *VoiceID) StartFraudsterRegistrationJobRequest(input *StartFraudsterRegistrationJobInput) (req *request.Request, output *StartFraudsterRegistrationJobOutput) { @@ -1866,34 +1861,35 @@ func (c *VoiceID) StartFraudsterRegistrationJobRequest(input *StartFraudsterRegi // API operation StartFraudsterRegistrationJob for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The request exceeded the service quota. Refer to Voice ID Service Quotas -// (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#voiceid-quotas) -// and try your request again. // -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. +// - ServiceQuotaExceededException +// The request exceeded the service quota. Refer to Voice ID Service Quotas +// (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#voiceid-quotas) +// and try your request again. +// +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * ConflictException -// The request failed due to a conflict. Check the ConflictType and error message -// for more details. +// - ConflictException +// The request failed due to a conflict. Check the ConflictType and error message +// for more details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/StartFraudsterRegistrationJob func (c *VoiceID) StartFraudsterRegistrationJob(input *StartFraudsterRegistrationJobInput) (*StartFraudsterRegistrationJobOutput, error) { @@ -1933,14 +1929,13 @@ const opStartSpeakerEnrollmentJob = "StartSpeakerEnrollmentJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartSpeakerEnrollmentJobRequest method. +// req, resp := client.StartSpeakerEnrollmentJobRequest(params) // -// // Example sending a request using the StartSpeakerEnrollmentJobRequest method. -// req, resp := client.StartSpeakerEnrollmentJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/StartSpeakerEnrollmentJob func (c *VoiceID) StartSpeakerEnrollmentJobRequest(input *StartSpeakerEnrollmentJobInput) (req *request.Request, output *StartSpeakerEnrollmentJobOutput) { @@ -1971,34 +1966,35 @@ func (c *VoiceID) StartSpeakerEnrollmentJobRequest(input *StartSpeakerEnrollment // API operation StartSpeakerEnrollmentJob for usage and error information. // // Returned Error Types: -// * ServiceQuotaExceededException -// The request exceeded the service quota. Refer to Voice ID Service Quotas -// (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#voiceid-quotas) -// and try your request again. // -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. +// - ServiceQuotaExceededException +// The request exceeded the service quota. Refer to Voice ID Service Quotas +// (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html#voiceid-quotas) +// and try your request again. +// +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * ConflictException -// The request failed due to a conflict. Check the ConflictType and error message -// for more details. +// - ConflictException +// The request failed due to a conflict. Check the ConflictType and error message +// for more details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/StartSpeakerEnrollmentJob func (c *VoiceID) StartSpeakerEnrollmentJob(input *StartSpeakerEnrollmentJobInput) (*StartSpeakerEnrollmentJobOutput, error) { @@ -2038,14 +2034,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/TagResource func (c *VoiceID) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2077,29 +2072,30 @@ func (c *VoiceID) TagResourceRequest(input *TagResourceInput) (req *request.Requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. // -// * ConflictException -// The request failed due to a conflict. Check the ConflictType and error message -// for more details. +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - ConflictException +// The request failed due to a conflict. Check the ConflictType and error message +// for more details. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/TagResource func (c *VoiceID) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2139,14 +2135,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/UntagResource func (c *VoiceID) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2178,29 +2173,30 @@ func (c *VoiceID) UntagResourceRequest(input *UntagResourceInput) (req *request. // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. +// +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * ConflictException -// The request failed due to a conflict. Check the ConflictType and error message -// for more details. +// - ConflictException +// The request failed due to a conflict. Check the ConflictType and error message +// for more details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/UntagResource func (c *VoiceID) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2240,14 +2236,13 @@ const opUpdateDomain = "UpdateDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDomainRequest method. +// req, resp := client.UpdateDomainRequest(params) // -// // Example sending a request using the UpdateDomainRequest method. -// req, resp := client.UpdateDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/UpdateDomain func (c *VoiceID) UpdateDomainRequest(input *UpdateDomainInput) (req *request.Request, output *UpdateDomainOutput) { @@ -2280,29 +2275,30 @@ func (c *VoiceID) UpdateDomainRequest(input *UpdateDomainInput) (req *request.Re // API operation UpdateDomain for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The specified resource cannot be found. Check the ResourceType and error -// message for more details. // -// * ValidationException -// The request failed one or more validations; check the error message for more -// details. +// - ResourceNotFoundException +// The specified resource cannot be found. Check the ResourceType and error +// message for more details. +// +// - ValidationException +// The request failed one or more validations; check the error message for more +// details. // -// * ConflictException -// The request failed due to a conflict. Check the ConflictType and error message -// for more details. +// - ConflictException +// The request failed due to a conflict. Check the ConflictType and error message +// for more details. // -// * InternalServerException -// The request failed due to an unknown error on the server side. +// - InternalServerException +// The request failed due to an unknown error on the server side. // -// * ThrottlingException -// The request was denied due to request throttling. Please slow down your request -// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) -// and try your request again. +// - ThrottlingException +// The request was denied due to request throttling. Please slow down your request +// rate. Refer to Amazon Connect Voice ID Service API throttling quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html##voiceid-api-quotas) +// and try your request again. // -// * AccessDeniedException -// You do not have sufficient permissions to perform this action. Check the -// error message and try again. +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. Check the +// error message and try again. // // See also, https://docs.aws.amazon.com/goto/WebAPI/voice-id-2021-09-27/UpdateDomain func (c *VoiceID) UpdateDomain(input *UpdateDomainInput) (*UpdateDomainOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/doc.go index d7b8667d28ce..73fa6b238c52 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/doc.go @@ -11,7 +11,7 @@ // See voiceid package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/voiceid/ // -// Using the Client +// # Using the Client // // To contact Amazon Voice ID with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/service.go index 78cb34097eda..8917aec49375 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a VoiceID client from just a session. -// svc := voiceid.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a VoiceID client with additional configuration -// svc := voiceid.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a VoiceID client from just a session. +// svc := voiceid.New(mySession) +// +// // Create a VoiceID client with additional configuration +// svc := voiceid.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *VoiceID { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/voiceidiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/voiceidiface/interface.go index daf131f6c061..75fba57e7eed 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/voiceidiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/voiceid/voiceidiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon Voice ID. -// func myFunc(svc voiceidiface.VoiceIDAPI) bool { -// // Make svc.CreateDomain request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon Voice ID. +// func myFunc(svc voiceidiface.VoiceIDAPI) bool { +// // Make svc.CreateDomain request +// } // -// func main() { -// sess := session.New() -// svc := voiceid.New(sess) +// func main() { +// sess := session.New() +// svc := voiceid.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockVoiceIDClient struct { -// voiceidiface.VoiceIDAPI -// } -// func (m *mockVoiceIDClient) CreateDomain(input *voiceid.CreateDomainInput) (*voiceid.CreateDomainOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockVoiceIDClient struct { +// voiceidiface.VoiceIDAPI +// } +// func (m *mockVoiceIDClient) CreateDomain(input *voiceid.CreateDomainInput) (*voiceid.CreateDomainOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockVoiceIDClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockVoiceIDClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/api.go index 0116af168d2e..82040bf33528 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/api.go @@ -29,14 +29,13 @@ const opCreateByteMatchSet = "CreateByteMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateByteMatchSetRequest method. +// req, resp := client.CreateByteMatchSetRequest(params) // -// // Example sending a request using the CreateByteMatchSetRequest method. -// req, resp := client.CreateByteMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateByteMatchSet func (c *WAF) CreateByteMatchSetRequest(input *CreateByteMatchSetInput) (req *request.Request, output *CreateByteMatchSetOutput) { @@ -57,7 +56,6 @@ func (c *WAF) CreateByteMatchSetRequest(input *CreateByteMatchSetInput) (req *re // CreateByteMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -98,55 +96,56 @@ func (c *WAF) CreateByteMatchSetRequest(input *CreateByteMatchSetInput) (req *re // API operation CreateByteMatchSet for usage and error information. // // Returned Error Types: -// * DisallowedNameException -// The name specified is invalid. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - DisallowedNameException +// The name specified is invalid. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateByteMatchSet func (c *WAF) CreateByteMatchSet(input *CreateByteMatchSetInput) (*CreateByteMatchSetOutput, error) { @@ -186,14 +185,13 @@ const opCreateGeoMatchSet = "CreateGeoMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGeoMatchSetRequest method. +// req, resp := client.CreateGeoMatchSetRequest(params) // -// // Example sending a request using the CreateGeoMatchSetRequest method. -// req, resp := client.CreateGeoMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateGeoMatchSet func (c *WAF) CreateGeoMatchSetRequest(input *CreateGeoMatchSetInput) (req *request.Request, output *CreateGeoMatchSetOutput) { @@ -214,7 +212,6 @@ func (c *WAF) CreateGeoMatchSetRequest(input *CreateGeoMatchSetInput) (req *requ // CreateGeoMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -254,55 +251,56 @@ func (c *WAF) CreateGeoMatchSetRequest(input *CreateGeoMatchSetInput) (req *requ // API operation CreateGeoMatchSet for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * DisallowedNameException -// The name specified is invalid. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - DisallowedNameException +// The name specified is invalid. // -// * You specified an invalid parameter name. +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. +// +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateGeoMatchSet func (c *WAF) CreateGeoMatchSet(input *CreateGeoMatchSetInput) (*CreateGeoMatchSetOutput, error) { @@ -342,14 +340,13 @@ const opCreateIPSet = "CreateIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIPSetRequest method. +// req, resp := client.CreateIPSetRequest(params) // -// // Example sending a request using the CreateIPSetRequest method. -// req, resp := client.CreateIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateIPSet func (c *WAF) CreateIPSetRequest(input *CreateIPSetInput) (req *request.Request, output *CreateIPSetOutput) { @@ -370,7 +367,6 @@ func (c *WAF) CreateIPSetRequest(input *CreateIPSetInput) (req *request.Request, // CreateIPSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -411,55 +407,56 @@ func (c *WAF) CreateIPSetRequest(input *CreateIPSetInput) (req *request.Request, // API operation CreateIPSet for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * DisallowedNameException -// The name specified is invalid. +// - DisallowedNameException +// The name specified is invalid. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateIPSet func (c *WAF) CreateIPSet(input *CreateIPSetInput) (*CreateIPSetOutput, error) { @@ -499,14 +496,13 @@ const opCreateRateBasedRule = "CreateRateBasedRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRateBasedRuleRequest method. +// req, resp := client.CreateRateBasedRuleRequest(params) // -// // Example sending a request using the CreateRateBasedRuleRequest method. -// req, resp := client.CreateRateBasedRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRateBasedRule func (c *WAF) CreateRateBasedRuleRequest(input *CreateRateBasedRuleInput) (req *request.Request, output *CreateRateBasedRuleOutput) { @@ -527,7 +523,6 @@ func (c *WAF) CreateRateBasedRuleRequest(input *CreateRateBasedRuleInput) (req * // CreateRateBasedRule API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -547,9 +542,9 @@ func (c *WAF) CreateRateBasedRuleRequest(input *CreateRateBasedRuleInput) (req * // must exceed the RateLimit, but it also must match all the conditions to be // counted or blocked. For example, suppose you add the following to a RateBasedRule: // -// * An IPSet that matches the IP address 192.0.2.44/32 +// - An IPSet that matches the IP address 192.0.2.44/32 // -// * A ByteMatchSet that matches BadBot in the User-Agent header +// - A ByteMatchSet that matches BadBot in the User-Agent header // // Further, you specify a RateLimit of 1,000. // @@ -565,11 +560,11 @@ func (c *WAF) CreateRateBasedRuleRequest(input *CreateRateBasedRuleInput) (req * // As a second example, suppose you want to limit requests to a particular page // on your site. To do this, you could add the following to a RateBasedRule: // -// * A ByteMatchSet with FieldToMatch of URI +// - A ByteMatchSet with FieldToMatch of URI // -// * A PositionalConstraint of STARTS_WITH +// - A PositionalConstraint of STARTS_WITH // -// * A TargetString of login +// - A TargetString of login // // Further, you specify a RateLimit of 1,000. // @@ -606,57 +601,58 @@ func (c *WAF) CreateRateBasedRuleRequest(input *CreateRateBasedRuleInput) (req * // API operation CreateRateBasedRule for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * DisallowedNameException -// The name specified is invalid. +// - DisallowedNameException +// The name specified is invalid. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * TagOperationException +// - TagOperationException // -// * TagOperationInternalErrorException +// - TagOperationInternalErrorException // -// * BadRequestException +// - BadRequestException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRateBasedRule func (c *WAF) CreateRateBasedRule(input *CreateRateBasedRuleInput) (*CreateRateBasedRuleOutput, error) { @@ -696,14 +692,13 @@ const opCreateRegexMatchSet = "CreateRegexMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRegexMatchSetRequest method. +// req, resp := client.CreateRegexMatchSetRequest(params) // -// // Example sending a request using the CreateRegexMatchSetRequest method. -// req, resp := client.CreateRegexMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexMatchSet func (c *WAF) CreateRegexMatchSetRequest(input *CreateRegexMatchSetInput) (req *request.Request, output *CreateRegexMatchSetOutput) { @@ -724,7 +719,6 @@ func (c *WAF) CreateRegexMatchSetRequest(input *CreateRegexMatchSetInput) (req * // CreateRegexMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -766,22 +760,23 @@ func (c *WAF) CreateRegexMatchSetRequest(input *CreateRegexMatchSetInput) (req * // API operation CreateRegexMatchSet for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * DisallowedNameException -// The name specified is invalid. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - DisallowedNameException +// The name specified is invalid. +// +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexMatchSet func (c *WAF) CreateRegexMatchSet(input *CreateRegexMatchSetInput) (*CreateRegexMatchSetOutput, error) { @@ -821,14 +816,13 @@ const opCreateRegexPatternSet = "CreateRegexPatternSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRegexPatternSetRequest method. +// req, resp := client.CreateRegexPatternSetRequest(params) // -// // Example sending a request using the CreateRegexPatternSetRequest method. -// req, resp := client.CreateRegexPatternSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexPatternSet func (c *WAF) CreateRegexPatternSetRequest(input *CreateRegexPatternSetInput) (req *request.Request, output *CreateRegexPatternSetOutput) { @@ -849,7 +843,6 @@ func (c *WAF) CreateRegexPatternSetRequest(input *CreateRegexPatternSetInput) (r // CreateRegexPatternSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -887,22 +880,23 @@ func (c *WAF) CreateRegexPatternSetRequest(input *CreateRegexPatternSetInput) (r // API operation CreateRegexPatternSet for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * DisallowedNameException -// The name specified is invalid. +// - DisallowedNameException +// The name specified is invalid. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRegexPatternSet func (c *WAF) CreateRegexPatternSet(input *CreateRegexPatternSetInput) (*CreateRegexPatternSetOutput, error) { @@ -942,14 +936,13 @@ const opCreateRule = "CreateRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRuleRequest method. +// req, resp := client.CreateRuleRequest(params) // -// // Example sending a request using the CreateRuleRequest method. -// req, resp := client.CreateRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRule func (c *WAF) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, output *CreateRuleOutput) { @@ -970,7 +963,6 @@ func (c *WAF) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, o // CreateRule API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -986,9 +978,9 @@ func (c *WAF) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, o // to be allowed or blocked. For example, suppose that you add the following // to a Rule: // -// * An IPSet that matches the IP address 192.0.2.44/32 +// - An IPSet that matches the IP address 192.0.2.44/32 // -// * A ByteMatchSet that matches BadBot in the User-Agent header +// - A ByteMatchSet that matches BadBot in the User-Agent header // // You then add the Rule to a WebACL and specify that you want to blocks requests // that satisfy the Rule. For a request to be blocked, it must come from the @@ -1025,57 +1017,58 @@ func (c *WAF) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, o // API operation CreateRule for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * DisallowedNameException -// The name specified is invalid. +// - DisallowedNameException +// The name specified is invalid. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * TagOperationException +// - TagOperationException // -// * TagOperationInternalErrorException +// - TagOperationInternalErrorException // -// * BadRequestException +// - BadRequestException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRule func (c *WAF) CreateRule(input *CreateRuleInput) (*CreateRuleOutput, error) { @@ -1115,14 +1108,13 @@ const opCreateRuleGroup = "CreateRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRuleGroupRequest method. +// req, resp := client.CreateRuleGroupRequest(params) // -// // Example sending a request using the CreateRuleGroupRequest method. -// req, resp := client.CreateRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleGroup func (c *WAF) CreateRuleGroupRequest(input *CreateRuleGroupInput) (req *request.Request, output *CreateRuleGroupOutput) { @@ -1143,7 +1135,6 @@ func (c *WAF) CreateRuleGroupRequest(input *CreateRuleGroupInput) (req *request. // CreateRuleGroup API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -1158,12 +1149,12 @@ func (c *WAF) CreateRuleGroupRequest(input *CreateRuleGroupInput) (req *request. // // Rule groups are subject to the following limits: // -// * Three rule groups per account. You can request an increase to this limit -// by contacting customer support. +// - Three rule groups per account. You can request an increase to this limit +// by contacting customer support. // -// * One rule group per web ACL. +// - One rule group per web ACL. // -// * Ten rules per rule group. +// - Ten rules per rule group. // // For more information about how to use the AWS WAF API to allow or block HTTP // requests, see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/). @@ -1176,28 +1167,29 @@ func (c *WAF) CreateRuleGroupRequest(input *CreateRuleGroupInput) (req *request. // API operation CreateRuleGroup for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * DisallowedNameException -// The name specified is invalid. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - DisallowedNameException +// The name specified is invalid. // -// * TagOperationException +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * TagOperationInternalErrorException +// - TagOperationException // -// * BadRequestException +// - TagOperationInternalErrorException +// +// - BadRequestException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateRuleGroup func (c *WAF) CreateRuleGroup(input *CreateRuleGroupInput) (*CreateRuleGroupOutput, error) { @@ -1237,14 +1229,13 @@ const opCreateSizeConstraintSet = "CreateSizeConstraintSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSizeConstraintSetRequest method. +// req, resp := client.CreateSizeConstraintSetRequest(params) // -// // Example sending a request using the CreateSizeConstraintSetRequest method. -// req, resp := client.CreateSizeConstraintSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSizeConstraintSet func (c *WAF) CreateSizeConstraintSetRequest(input *CreateSizeConstraintSetInput) (req *request.Request, output *CreateSizeConstraintSetOutput) { @@ -1265,7 +1256,6 @@ func (c *WAF) CreateSizeConstraintSetRequest(input *CreateSizeConstraintSetInput // CreateSizeConstraintSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -1307,55 +1297,56 @@ func (c *WAF) CreateSizeConstraintSetRequest(input *CreateSizeConstraintSetInput // API operation CreateSizeConstraintSet for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * DisallowedNameException -// The name specified is invalid. +// - DisallowedNameException +// The name specified is invalid. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSizeConstraintSet func (c *WAF) CreateSizeConstraintSet(input *CreateSizeConstraintSetInput) (*CreateSizeConstraintSetOutput, error) { @@ -1395,14 +1386,13 @@ const opCreateSqlInjectionMatchSet = "CreateSqlInjectionMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSqlInjectionMatchSetRequest method. +// req, resp := client.CreateSqlInjectionMatchSetRequest(params) // -// // Example sending a request using the CreateSqlInjectionMatchSetRequest method. -// req, resp := client.CreateSqlInjectionMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSqlInjectionMatchSet func (c *WAF) CreateSqlInjectionMatchSetRequest(input *CreateSqlInjectionMatchSetInput) (req *request.Request, output *CreateSqlInjectionMatchSetOutput) { @@ -1423,7 +1413,6 @@ func (c *WAF) CreateSqlInjectionMatchSetRequest(input *CreateSqlInjectionMatchSe // CreateSqlInjectionMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -1461,55 +1450,56 @@ func (c *WAF) CreateSqlInjectionMatchSetRequest(input *CreateSqlInjectionMatchSe // API operation CreateSqlInjectionMatchSet for usage and error information. // // Returned Error Types: -// * DisallowedNameException -// The name specified is invalid. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - DisallowedNameException +// The name specified is invalid. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateSqlInjectionMatchSet func (c *WAF) CreateSqlInjectionMatchSet(input *CreateSqlInjectionMatchSetInput) (*CreateSqlInjectionMatchSetOutput, error) { @@ -1549,14 +1539,13 @@ const opCreateWebACL = "CreateWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWebACLRequest method. +// req, resp := client.CreateWebACLRequest(params) // -// // Example sending a request using the CreateWebACLRequest method. -// req, resp := client.CreateWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACL func (c *WAF) CreateWebACLRequest(input *CreateWebACLInput) (req *request.Request, output *CreateWebACLOutput) { @@ -1577,7 +1566,6 @@ func (c *WAF) CreateWebACLRequest(input *CreateWebACLInput) (req *request.Reques // CreateWebACL API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -1627,61 +1615,62 @@ func (c *WAF) CreateWebACLRequest(input *CreateWebACLInput) (req *request.Reques // API operation CreateWebACL for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * DisallowedNameException -// The name specified is invalid. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - DisallowedNameException +// The name specified is invalid. // -// * You specified an invalid parameter name. +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * TagOperationException +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * TagOperationInternalErrorException +// - TagOperationException // -// * BadRequestException +// - TagOperationInternalErrorException +// +// - BadRequestException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACL func (c *WAF) CreateWebACL(input *CreateWebACLInput) (*CreateWebACLOutput, error) { @@ -1721,14 +1710,13 @@ const opCreateWebACLMigrationStack = "CreateWebACLMigrationStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWebACLMigrationStackRequest method. +// req, resp := client.CreateWebACLMigrationStackRequest(params) // -// // Example sending a request using the CreateWebACLMigrationStackRequest method. -// req, resp := client.CreateWebACLMigrationStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACLMigrationStack func (c *WAF) CreateWebACLMigrationStackRequest(input *CreateWebACLMigrationStackInput) (req *request.Request, output *CreateWebACLMigrationStackOutput) { @@ -1769,82 +1757,83 @@ func (c *WAF) CreateWebACLMigrationStackRequest(input *CreateWebACLMigrationStac // API operation CreateWebACLMigrationStack for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * You specified an invalid parameter name. +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * InvalidOperationException -// The operation failed because there was nothing to do. For example: +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - InvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * WAFEntityMigrationException -// The operation failed due to a problem with the migration. The failure cause -// is provided in the exception, in the MigrationErrorType: +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * ENTITY_NOT_SUPPORTED - The web ACL has an unsupported entity but the -// IgnoreUnsupportedType is not set to true. +// - WAFEntityMigrationException +// The operation failed due to a problem with the migration. The failure cause +// is provided in the exception, in the MigrationErrorType: // -// * ENTITY_NOT_FOUND - The web ACL doesn't exist. +// - ENTITY_NOT_SUPPORTED - The web ACL has an unsupported entity but the +// IgnoreUnsupportedType is not set to true. // -// * S3_BUCKET_NO_PERMISSION - You don't have permission to perform the PutObject -// action to the specified Amazon S3 bucket. +// - ENTITY_NOT_FOUND - The web ACL doesn't exist. // -// * S3_BUCKET_NOT_ACCESSIBLE - The bucket policy doesn't allow AWS WAF to -// perform the PutObject action in the bucket. +// - S3_BUCKET_NO_PERMISSION - You don't have permission to perform the PutObject +// action to the specified Amazon S3 bucket. // -// * S3_BUCKET_NOT_FOUND - The S3 bucket doesn't exist. +// - S3_BUCKET_NOT_ACCESSIBLE - The bucket policy doesn't allow AWS WAF to +// perform the PutObject action in the bucket. // -// * S3_BUCKET_INVALID_REGION - The S3 bucket is not in the same Region as -// the web ACL. +// - S3_BUCKET_NOT_FOUND - The S3 bucket doesn't exist. // -// * S3_INTERNAL_ERROR - AWS WAF failed to create the template in the S3 -// bucket for another reason. +// - S3_BUCKET_INVALID_REGION - The S3 bucket is not in the same Region as +// the web ACL. +// +// - S3_INTERNAL_ERROR - AWS WAF failed to create the template in the S3 +// bucket for another reason. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateWebACLMigrationStack func (c *WAF) CreateWebACLMigrationStack(input *CreateWebACLMigrationStackInput) (*CreateWebACLMigrationStackOutput, error) { @@ -1884,14 +1873,13 @@ const opCreateXssMatchSet = "CreateXssMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateXssMatchSetRequest method. +// req, resp := client.CreateXssMatchSetRequest(params) // -// // Example sending a request using the CreateXssMatchSetRequest method. -// req, resp := client.CreateXssMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateXssMatchSet func (c *WAF) CreateXssMatchSetRequest(input *CreateXssMatchSetInput) (req *request.Request, output *CreateXssMatchSetOutput) { @@ -1912,7 +1900,6 @@ func (c *WAF) CreateXssMatchSetRequest(input *CreateXssMatchSetInput) (req *requ // CreateXssMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -1951,55 +1938,56 @@ func (c *WAF) CreateXssMatchSetRequest(input *CreateXssMatchSetInput) (req *requ // API operation CreateXssMatchSet for usage and error information. // // Returned Error Types: -// * DisallowedNameException -// The name specified is invalid. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - DisallowedNameException +// The name specified is invalid. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/CreateXssMatchSet func (c *WAF) CreateXssMatchSet(input *CreateXssMatchSetInput) (*CreateXssMatchSetOutput, error) { @@ -2039,14 +2027,13 @@ const opDeleteByteMatchSet = "DeleteByteMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteByteMatchSetRequest method. +// req, resp := client.DeleteByteMatchSetRequest(params) // -// // Example sending a request using the DeleteByteMatchSetRequest method. -// req, resp := client.DeleteByteMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteByteMatchSet func (c *WAF) DeleteByteMatchSetRequest(input *DeleteByteMatchSetInput) (req *request.Request, output *DeleteByteMatchSetOutput) { @@ -2067,7 +2054,6 @@ func (c *WAF) DeleteByteMatchSetRequest(input *DeleteByteMatchSetInput) (req *re // DeleteByteMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2101,42 +2087,43 @@ func (c *WAF) DeleteByteMatchSetRequest(input *DeleteByteMatchSetInput) (req *re // API operation DeleteByteMatchSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * NonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - NonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteByteMatchSet func (c *WAF) DeleteByteMatchSet(input *DeleteByteMatchSetInput) (*DeleteByteMatchSetOutput, error) { @@ -2176,14 +2163,13 @@ const opDeleteGeoMatchSet = "DeleteGeoMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGeoMatchSetRequest method. +// req, resp := client.DeleteGeoMatchSetRequest(params) // -// // Example sending a request using the DeleteGeoMatchSetRequest method. -// req, resp := client.DeleteGeoMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteGeoMatchSet func (c *WAF) DeleteGeoMatchSetRequest(input *DeleteGeoMatchSetInput) (req *request.Request, output *DeleteGeoMatchSetOutput) { @@ -2204,7 +2190,6 @@ func (c *WAF) DeleteGeoMatchSetRequest(input *DeleteGeoMatchSetInput) (req *requ // DeleteGeoMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2237,42 +2222,43 @@ func (c *WAF) DeleteGeoMatchSetRequest(input *DeleteGeoMatchSetInput) (req *requ // API operation DeleteGeoMatchSet for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * NonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - NonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. +// +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteGeoMatchSet func (c *WAF) DeleteGeoMatchSet(input *DeleteGeoMatchSetInput) (*DeleteGeoMatchSetOutput, error) { @@ -2312,14 +2298,13 @@ const opDeleteIPSet = "DeleteIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIPSetRequest method. +// req, resp := client.DeleteIPSetRequest(params) // -// // Example sending a request using the DeleteIPSetRequest method. -// req, resp := client.DeleteIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteIPSet func (c *WAF) DeleteIPSetRequest(input *DeleteIPSetInput) (req *request.Request, output *DeleteIPSetOutput) { @@ -2340,7 +2325,6 @@ func (c *WAF) DeleteIPSetRequest(input *DeleteIPSetInput) (req *request.Request, // DeleteIPSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2373,42 +2357,43 @@ func (c *WAF) DeleteIPSetRequest(input *DeleteIPSetInput) (req *request.Request, // API operation DeleteIPSet for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * NonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - NonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteIPSet func (c *WAF) DeleteIPSet(input *DeleteIPSetInput) (*DeleteIPSetOutput, error) { @@ -2448,14 +2433,13 @@ const opDeleteLoggingConfiguration = "DeleteLoggingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLoggingConfigurationRequest method. +// req, resp := client.DeleteLoggingConfigurationRequest(params) // -// // Example sending a request using the DeleteLoggingConfigurationRequest method. -// req, resp := client.DeleteLoggingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteLoggingConfiguration func (c *WAF) DeleteLoggingConfigurationRequest(input *DeleteLoggingConfigurationInput) (req *request.Request, output *DeleteLoggingConfigurationOutput) { @@ -2477,7 +2461,6 @@ func (c *WAF) DeleteLoggingConfigurationRequest(input *DeleteLoggingConfiguratio // DeleteLoggingConfiguration API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2497,16 +2480,17 @@ func (c *WAF) DeleteLoggingConfigurationRequest(input *DeleteLoggingConfiguratio // API operation DeleteLoggingConfiguration for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteLoggingConfiguration func (c *WAF) DeleteLoggingConfiguration(input *DeleteLoggingConfigurationInput) (*DeleteLoggingConfigurationOutput, error) { @@ -2546,14 +2530,13 @@ const opDeletePermissionPolicy = "DeletePermissionPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePermissionPolicyRequest method. +// req, resp := client.DeletePermissionPolicyRequest(params) // -// // Example sending a request using the DeletePermissionPolicyRequest method. -// req, resp := client.DeletePermissionPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeletePermissionPolicy func (c *WAF) DeletePermissionPolicyRequest(input *DeletePermissionPolicyInput) (req *request.Request, output *DeletePermissionPolicyOutput) { @@ -2575,7 +2558,6 @@ func (c *WAF) DeletePermissionPolicyRequest(input *DeletePermissionPolicyInput) // DeletePermissionPolicy API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2597,16 +2579,17 @@ func (c *WAF) DeletePermissionPolicyRequest(input *DeletePermissionPolicyInput) // API operation DeletePermissionPolicy for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeletePermissionPolicy func (c *WAF) DeletePermissionPolicy(input *DeletePermissionPolicyInput) (*DeletePermissionPolicyOutput, error) { @@ -2646,14 +2629,13 @@ const opDeleteRateBasedRule = "DeleteRateBasedRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRateBasedRuleRequest method. +// req, resp := client.DeleteRateBasedRuleRequest(params) // -// // Example sending a request using the DeleteRateBasedRuleRequest method. -// req, resp := client.DeleteRateBasedRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRateBasedRule func (c *WAF) DeleteRateBasedRuleRequest(input *DeleteRateBasedRuleInput) (req *request.Request, output *DeleteRateBasedRuleOutput) { @@ -2674,7 +2656,6 @@ func (c *WAF) DeleteRateBasedRuleRequest(input *DeleteRateBasedRuleInput) (req * // DeleteRateBasedRule API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2709,46 +2690,47 @@ func (c *WAF) DeleteRateBasedRuleRequest(input *DeleteRateBasedRuleInput) (req * // API operation DeleteRateBasedRule for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * NonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - NonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete an IPSet that references one or more IP addresses. // -// * TagOperationException +// - TagOperationException // -// * TagOperationInternalErrorException +// - TagOperationInternalErrorException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRateBasedRule func (c *WAF) DeleteRateBasedRule(input *DeleteRateBasedRuleInput) (*DeleteRateBasedRuleOutput, error) { @@ -2788,14 +2770,13 @@ const opDeleteRegexMatchSet = "DeleteRegexMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRegexMatchSetRequest method. +// req, resp := client.DeleteRegexMatchSetRequest(params) // -// // Example sending a request using the DeleteRegexMatchSetRequest method. -// req, resp := client.DeleteRegexMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexMatchSet func (c *WAF) DeleteRegexMatchSetRequest(input *DeleteRegexMatchSetInput) (req *request.Request, output *DeleteRegexMatchSetOutput) { @@ -2816,7 +2797,6 @@ func (c *WAF) DeleteRegexMatchSetRequest(input *DeleteRegexMatchSetInput) (req * // DeleteRegexMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2850,42 +2830,43 @@ func (c *WAF) DeleteRegexMatchSetRequest(input *DeleteRegexMatchSetInput) (req * // API operation DeleteRegexMatchSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * NonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - NonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexMatchSet func (c *WAF) DeleteRegexMatchSet(input *DeleteRegexMatchSetInput) (*DeleteRegexMatchSetOutput, error) { @@ -2925,14 +2906,13 @@ const opDeleteRegexPatternSet = "DeleteRegexPatternSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRegexPatternSetRequest method. +// req, resp := client.DeleteRegexPatternSetRequest(params) // -// // Example sending a request using the DeleteRegexPatternSetRequest method. -// req, resp := client.DeleteRegexPatternSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexPatternSet func (c *WAF) DeleteRegexPatternSetRequest(input *DeleteRegexPatternSetInput) (req *request.Request, output *DeleteRegexPatternSetOutput) { @@ -2953,7 +2933,6 @@ func (c *WAF) DeleteRegexPatternSetRequest(input *DeleteRegexPatternSetInput) (r // DeleteRegexPatternSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2975,42 +2954,43 @@ func (c *WAF) DeleteRegexPatternSetRequest(input *DeleteRegexPatternSetInput) (r // API operation DeleteRegexPatternSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * NonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - NonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. +// +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRegexPatternSet func (c *WAF) DeleteRegexPatternSet(input *DeleteRegexPatternSetInput) (*DeleteRegexPatternSetOutput, error) { @@ -3050,14 +3030,13 @@ const opDeleteRule = "DeleteRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRuleRequest method. +// req, resp := client.DeleteRuleRequest(params) // -// // Example sending a request using the DeleteRuleRequest method. -// req, resp := client.DeleteRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRule func (c *WAF) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, output *DeleteRuleOutput) { @@ -3078,7 +3057,6 @@ func (c *WAF) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, o // DeleteRule API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -3111,46 +3089,47 @@ func (c *WAF) DeleteRuleRequest(input *DeleteRuleInput) (req *request.Request, o // API operation DeleteRule for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * NonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - NonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete an IPSet that references one or more IP addresses. // -// * TagOperationException +// - TagOperationException // -// * TagOperationInternalErrorException +// - TagOperationInternalErrorException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRule func (c *WAF) DeleteRule(input *DeleteRuleInput) (*DeleteRuleOutput, error) { @@ -3190,14 +3169,13 @@ const opDeleteRuleGroup = "DeleteRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRuleGroupRequest method. +// req, resp := client.DeleteRuleGroupRequest(params) // -// // Example sending a request using the DeleteRuleGroupRequest method. -// req, resp := client.DeleteRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRuleGroup func (c *WAF) DeleteRuleGroupRequest(input *DeleteRuleGroupInput) (req *request.Request, output *DeleteRuleGroupOutput) { @@ -3218,7 +3196,6 @@ func (c *WAF) DeleteRuleGroupRequest(input *DeleteRuleGroupInput) (req *request. // DeleteRuleGroup API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -3250,60 +3227,61 @@ func (c *WAF) DeleteRuleGroupRequest(input *DeleteRuleGroupInput) (req *request. // API operation DeleteRuleGroup for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * NonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - NonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete an IPSet that references one or more IP addresses. // -// * InvalidOperationException -// The operation failed because there was nothing to do. For example: +// - InvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * TagOperationException +// - TagOperationException // -// * TagOperationInternalErrorException +// - TagOperationInternalErrorException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteRuleGroup func (c *WAF) DeleteRuleGroup(input *DeleteRuleGroupInput) (*DeleteRuleGroupOutput, error) { @@ -3343,14 +3321,13 @@ const opDeleteSizeConstraintSet = "DeleteSizeConstraintSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSizeConstraintSetRequest method. +// req, resp := client.DeleteSizeConstraintSetRequest(params) // -// // Example sending a request using the DeleteSizeConstraintSetRequest method. -// req, resp := client.DeleteSizeConstraintSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSizeConstraintSet func (c *WAF) DeleteSizeConstraintSetRequest(input *DeleteSizeConstraintSetInput) (req *request.Request, output *DeleteSizeConstraintSetOutput) { @@ -3371,7 +3348,6 @@ func (c *WAF) DeleteSizeConstraintSetRequest(input *DeleteSizeConstraintSetInput // DeleteSizeConstraintSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -3405,42 +3381,43 @@ func (c *WAF) DeleteSizeConstraintSetRequest(input *DeleteSizeConstraintSetInput // API operation DeleteSizeConstraintSet for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * NonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - NonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. +// +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSizeConstraintSet func (c *WAF) DeleteSizeConstraintSet(input *DeleteSizeConstraintSetInput) (*DeleteSizeConstraintSetOutput, error) { @@ -3480,14 +3457,13 @@ const opDeleteSqlInjectionMatchSet = "DeleteSqlInjectionMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSqlInjectionMatchSetRequest method. +// req, resp := client.DeleteSqlInjectionMatchSetRequest(params) // -// // Example sending a request using the DeleteSqlInjectionMatchSetRequest method. -// req, resp := client.DeleteSqlInjectionMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSqlInjectionMatchSet func (c *WAF) DeleteSqlInjectionMatchSetRequest(input *DeleteSqlInjectionMatchSetInput) (req *request.Request, output *DeleteSqlInjectionMatchSetOutput) { @@ -3508,7 +3484,6 @@ func (c *WAF) DeleteSqlInjectionMatchSetRequest(input *DeleteSqlInjectionMatchSe // DeleteSqlInjectionMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -3543,42 +3518,43 @@ func (c *WAF) DeleteSqlInjectionMatchSetRequest(input *DeleteSqlInjectionMatchSe // API operation DeleteSqlInjectionMatchSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * NonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - NonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteSqlInjectionMatchSet func (c *WAF) DeleteSqlInjectionMatchSet(input *DeleteSqlInjectionMatchSetInput) (*DeleteSqlInjectionMatchSetOutput, error) { @@ -3618,14 +3594,13 @@ const opDeleteWebACL = "DeleteWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWebACLRequest method. +// req, resp := client.DeleteWebACLRequest(params) // -// // Example sending a request using the DeleteWebACLRequest method. -// req, resp := client.DeleteWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteWebACL func (c *WAF) DeleteWebACLRequest(input *DeleteWebACLInput) (req *request.Request, output *DeleteWebACLOutput) { @@ -3646,7 +3621,6 @@ func (c *WAF) DeleteWebACLRequest(input *DeleteWebACLInput) (req *request.Reques // DeleteWebACL API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -3676,46 +3650,47 @@ func (c *WAF) DeleteWebACLRequest(input *DeleteWebACLInput) (req *request.Reques // API operation DeleteWebACL for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * NonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - NonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete an IPSet that references one or more IP addresses. // -// * TagOperationException +// - TagOperationException // -// * TagOperationInternalErrorException +// - TagOperationInternalErrorException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteWebACL func (c *WAF) DeleteWebACL(input *DeleteWebACLInput) (*DeleteWebACLOutput, error) { @@ -3755,14 +3730,13 @@ const opDeleteXssMatchSet = "DeleteXssMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteXssMatchSetRequest method. +// req, resp := client.DeleteXssMatchSetRequest(params) // -// // Example sending a request using the DeleteXssMatchSetRequest method. -// req, resp := client.DeleteXssMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteXssMatchSet func (c *WAF) DeleteXssMatchSetRequest(input *DeleteXssMatchSetInput) (req *request.Request, output *DeleteXssMatchSetOutput) { @@ -3783,7 +3757,6 @@ func (c *WAF) DeleteXssMatchSetRequest(input *DeleteXssMatchSetInput) (req *requ // DeleteXssMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -3817,42 +3790,43 @@ func (c *WAF) DeleteXssMatchSetRequest(input *DeleteXssMatchSetInput) (req *requ // API operation DeleteXssMatchSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * NonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - NonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. +// +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/DeleteXssMatchSet func (c *WAF) DeleteXssMatchSet(input *DeleteXssMatchSetInput) (*DeleteXssMatchSetOutput, error) { @@ -3892,14 +3866,13 @@ const opGetByteMatchSet = "GetByteMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetByteMatchSetRequest method. +// req, resp := client.GetByteMatchSetRequest(params) // -// // Example sending a request using the GetByteMatchSetRequest method. -// req, resp := client.GetByteMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetByteMatchSet func (c *WAF) GetByteMatchSetRequest(input *GetByteMatchSetInput) (req *request.Request, output *GetByteMatchSetOutput) { @@ -3920,7 +3893,6 @@ func (c *WAF) GetByteMatchSetRequest(input *GetByteMatchSetInput) (req *request. // GetByteMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -3940,16 +3912,17 @@ func (c *WAF) GetByteMatchSetRequest(input *GetByteMatchSetInput) (req *request. // API operation GetByteMatchSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetByteMatchSet func (c *WAF) GetByteMatchSet(input *GetByteMatchSetInput) (*GetByteMatchSetOutput, error) { @@ -3989,14 +3962,13 @@ const opGetChangeToken = "GetChangeToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetChangeTokenRequest method. +// req, resp := client.GetChangeTokenRequest(params) // -// // Example sending a request using the GetChangeTokenRequest method. -// req, resp := client.GetChangeTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeToken func (c *WAF) GetChangeTokenRequest(input *GetChangeTokenInput) (req *request.Request, output *GetChangeTokenOutput) { @@ -4017,7 +3989,6 @@ func (c *WAF) GetChangeTokenRequest(input *GetChangeTokenInput) (req *request.Re // GetChangeToken API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4051,9 +4022,9 @@ func (c *WAF) GetChangeTokenRequest(input *GetChangeTokenInput) (req *request.Re // API operation GetChangeToken for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeToken func (c *WAF) GetChangeToken(input *GetChangeTokenInput) (*GetChangeTokenOutput, error) { @@ -4093,14 +4064,13 @@ const opGetChangeTokenStatus = "GetChangeTokenStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetChangeTokenStatusRequest method. +// req, resp := client.GetChangeTokenStatusRequest(params) // -// // Example sending a request using the GetChangeTokenStatusRequest method. -// req, resp := client.GetChangeTokenStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenStatus func (c *WAF) GetChangeTokenStatusRequest(input *GetChangeTokenStatusInput) (req *request.Request, output *GetChangeTokenStatusOutput) { @@ -4121,7 +4091,6 @@ func (c *WAF) GetChangeTokenStatusRequest(input *GetChangeTokenStatusInput) (req // GetChangeTokenStatus API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4134,14 +4103,14 @@ func (c *WAF) GetChangeTokenStatusRequest(input *GetChangeTokenStatusInput) (req // Returns the status of a ChangeToken that you got by calling GetChangeToken. // ChangeTokenStatus is one of the following values: // -// * PROVISIONED: You requested the change token by calling GetChangeToken, -// but you haven't used it yet in a call to create, update, or delete an -// AWS WAF object. +// - PROVISIONED: You requested the change token by calling GetChangeToken, +// but you haven't used it yet in a call to create, update, or delete an +// AWS WAF object. // -// * PENDING: AWS WAF is propagating the create, update, or delete request -// to all AWS WAF servers. +// - PENDING: AWS WAF is propagating the create, update, or delete request +// to all AWS WAF servers. // -// * INSYNC: Propagation is complete. +// - INSYNC: Propagation is complete. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4151,12 +4120,13 @@ func (c *WAF) GetChangeTokenStatusRequest(input *GetChangeTokenStatusInput) (req // API operation GetChangeTokenStatus for usage and error information. // // Returned Error Types: -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetChangeTokenStatus func (c *WAF) GetChangeTokenStatus(input *GetChangeTokenStatusInput) (*GetChangeTokenStatusOutput, error) { @@ -4196,14 +4166,13 @@ const opGetGeoMatchSet = "GetGeoMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGeoMatchSetRequest method. +// req, resp := client.GetGeoMatchSetRequest(params) // -// // Example sending a request using the GetGeoMatchSetRequest method. -// req, resp := client.GetGeoMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetGeoMatchSet func (c *WAF) GetGeoMatchSetRequest(input *GetGeoMatchSetInput) (req *request.Request, output *GetGeoMatchSetOutput) { @@ -4224,7 +4193,6 @@ func (c *WAF) GetGeoMatchSetRequest(input *GetGeoMatchSetInput) (req *request.Re // GetGeoMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4244,16 +4212,17 @@ func (c *WAF) GetGeoMatchSetRequest(input *GetGeoMatchSetInput) (req *request.Re // API operation GetGeoMatchSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. +// +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetGeoMatchSet func (c *WAF) GetGeoMatchSet(input *GetGeoMatchSetInput) (*GetGeoMatchSetOutput, error) { @@ -4293,14 +4262,13 @@ const opGetIPSet = "GetIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIPSetRequest method. +// req, resp := client.GetIPSetRequest(params) // -// // Example sending a request using the GetIPSetRequest method. -// req, resp := client.GetIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetIPSet func (c *WAF) GetIPSetRequest(input *GetIPSetInput) (req *request.Request, output *GetIPSetOutput) { @@ -4321,7 +4289,6 @@ func (c *WAF) GetIPSetRequest(input *GetIPSetInput) (req *request.Request, outpu // GetIPSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4341,16 +4308,17 @@ func (c *WAF) GetIPSetRequest(input *GetIPSetInput) (req *request.Request, outpu // API operation GetIPSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. +// +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetIPSet func (c *WAF) GetIPSet(input *GetIPSetInput) (*GetIPSetOutput, error) { @@ -4390,14 +4358,13 @@ const opGetLoggingConfiguration = "GetLoggingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLoggingConfigurationRequest method. +// req, resp := client.GetLoggingConfigurationRequest(params) // -// // Example sending a request using the GetLoggingConfigurationRequest method. -// req, resp := client.GetLoggingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetLoggingConfiguration func (c *WAF) GetLoggingConfigurationRequest(input *GetLoggingConfigurationInput) (req *request.Request, output *GetLoggingConfigurationOutput) { @@ -4418,7 +4385,6 @@ func (c *WAF) GetLoggingConfigurationRequest(input *GetLoggingConfigurationInput // GetLoggingConfiguration API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4438,12 +4404,13 @@ func (c *WAF) GetLoggingConfigurationRequest(input *GetLoggingConfigurationInput // API operation GetLoggingConfiguration for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetLoggingConfiguration func (c *WAF) GetLoggingConfiguration(input *GetLoggingConfigurationInput) (*GetLoggingConfigurationOutput, error) { @@ -4483,14 +4450,13 @@ const opGetPermissionPolicy = "GetPermissionPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPermissionPolicyRequest method. +// req, resp := client.GetPermissionPolicyRequest(params) // -// // Example sending a request using the GetPermissionPolicyRequest method. -// req, resp := client.GetPermissionPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetPermissionPolicy func (c *WAF) GetPermissionPolicyRequest(input *GetPermissionPolicyInput) (req *request.Request, output *GetPermissionPolicyOutput) { @@ -4511,7 +4477,6 @@ func (c *WAF) GetPermissionPolicyRequest(input *GetPermissionPolicyInput) (req * // GetPermissionPolicy API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4531,12 +4496,13 @@ func (c *WAF) GetPermissionPolicyRequest(input *GetPermissionPolicyInput) (req * // API operation GetPermissionPolicy for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetPermissionPolicy func (c *WAF) GetPermissionPolicy(input *GetPermissionPolicyInput) (*GetPermissionPolicyOutput, error) { @@ -4576,14 +4542,13 @@ const opGetRateBasedRule = "GetRateBasedRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRateBasedRuleRequest method. +// req, resp := client.GetRateBasedRuleRequest(params) // -// // Example sending a request using the GetRateBasedRuleRequest method. -// req, resp := client.GetRateBasedRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRule func (c *WAF) GetRateBasedRuleRequest(input *GetRateBasedRuleInput) (req *request.Request, output *GetRateBasedRuleOutput) { @@ -4604,7 +4569,6 @@ func (c *WAF) GetRateBasedRuleRequest(input *GetRateBasedRuleInput) (req *reques // GetRateBasedRule API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4625,16 +4589,17 @@ func (c *WAF) GetRateBasedRuleRequest(input *GetRateBasedRuleInput) (req *reques // API operation GetRateBasedRule for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. +// +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRule func (c *WAF) GetRateBasedRule(input *GetRateBasedRuleInput) (*GetRateBasedRuleOutput, error) { @@ -4674,14 +4639,13 @@ const opGetRateBasedRuleManagedKeys = "GetRateBasedRuleManagedKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRateBasedRuleManagedKeysRequest method. +// req, resp := client.GetRateBasedRuleManagedKeysRequest(params) // -// // Example sending a request using the GetRateBasedRuleManagedKeysRequest method. -// req, resp := client.GetRateBasedRuleManagedKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleManagedKeys func (c *WAF) GetRateBasedRuleManagedKeysRequest(input *GetRateBasedRuleManagedKeysInput) (req *request.Request, output *GetRateBasedRuleManagedKeysOutput) { @@ -4702,7 +4666,6 @@ func (c *WAF) GetRateBasedRuleManagedKeysRequest(input *GetRateBasedRuleManagedK // GetRateBasedRuleManagedKeys API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4725,45 +4688,46 @@ func (c *WAF) GetRateBasedRuleManagedKeysRequest(input *GetRateBasedRuleManagedK // API operation GetRateBasedRuleManagedKeys for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRateBasedRuleManagedKeys func (c *WAF) GetRateBasedRuleManagedKeys(input *GetRateBasedRuleManagedKeysInput) (*GetRateBasedRuleManagedKeysOutput, error) { @@ -4803,14 +4767,13 @@ const opGetRegexMatchSet = "GetRegexMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRegexMatchSetRequest method. +// req, resp := client.GetRegexMatchSetRequest(params) // -// // Example sending a request using the GetRegexMatchSetRequest method. -// req, resp := client.GetRegexMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexMatchSet func (c *WAF) GetRegexMatchSetRequest(input *GetRegexMatchSetInput) (req *request.Request, output *GetRegexMatchSetOutput) { @@ -4831,7 +4794,6 @@ func (c *WAF) GetRegexMatchSetRequest(input *GetRegexMatchSetInput) (req *reques // GetRegexMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4851,16 +4813,17 @@ func (c *WAF) GetRegexMatchSetRequest(input *GetRegexMatchSetInput) (req *reques // API operation GetRegexMatchSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. +// +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexMatchSet func (c *WAF) GetRegexMatchSet(input *GetRegexMatchSetInput) (*GetRegexMatchSetOutput, error) { @@ -4900,14 +4863,13 @@ const opGetRegexPatternSet = "GetRegexPatternSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRegexPatternSetRequest method. +// req, resp := client.GetRegexPatternSetRequest(params) // -// // Example sending a request using the GetRegexPatternSetRequest method. -// req, resp := client.GetRegexPatternSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexPatternSet func (c *WAF) GetRegexPatternSetRequest(input *GetRegexPatternSetInput) (req *request.Request, output *GetRegexPatternSetOutput) { @@ -4928,7 +4890,6 @@ func (c *WAF) GetRegexPatternSetRequest(input *GetRegexPatternSetInput) (req *re // GetRegexPatternSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4948,16 +4909,17 @@ func (c *WAF) GetRegexPatternSetRequest(input *GetRegexPatternSetInput) (req *re // API operation GetRegexPatternSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. +// +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRegexPatternSet func (c *WAF) GetRegexPatternSet(input *GetRegexPatternSetInput) (*GetRegexPatternSetOutput, error) { @@ -4997,14 +4959,13 @@ const opGetRule = "GetRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRuleRequest method. +// req, resp := client.GetRuleRequest(params) // -// // Example sending a request using the GetRuleRequest method. -// req, resp := client.GetRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRule func (c *WAF) GetRuleRequest(input *GetRuleInput) (req *request.Request, output *GetRuleOutput) { @@ -5025,7 +4986,6 @@ func (c *WAF) GetRuleRequest(input *GetRuleInput) (req *request.Request, output // GetRule API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5046,16 +5006,17 @@ func (c *WAF) GetRuleRequest(input *GetRuleInput) (req *request.Request, output // API operation GetRule for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRule func (c *WAF) GetRule(input *GetRuleInput) (*GetRuleOutput, error) { @@ -5095,14 +5056,13 @@ const opGetRuleGroup = "GetRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRuleGroupRequest method. +// req, resp := client.GetRuleGroupRequest(params) // -// // Example sending a request using the GetRuleGroupRequest method. -// req, resp := client.GetRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRuleGroup func (c *WAF) GetRuleGroupRequest(input *GetRuleGroupInput) (req *request.Request, output *GetRuleGroupOutput) { @@ -5123,7 +5083,6 @@ func (c *WAF) GetRuleGroupRequest(input *GetRuleGroupInput) (req *request.Reques // GetRuleGroup API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5146,12 +5105,13 @@ func (c *WAF) GetRuleGroupRequest(input *GetRuleGroupInput) (req *request.Reques // API operation GetRuleGroup for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetRuleGroup func (c *WAF) GetRuleGroup(input *GetRuleGroupInput) (*GetRuleGroupOutput, error) { @@ -5191,14 +5151,13 @@ const opGetSampledRequests = "GetSampledRequests" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSampledRequestsRequest method. +// req, resp := client.GetSampledRequestsRequest(params) // -// // Example sending a request using the GetSampledRequestsRequest method. -// req, resp := client.GetSampledRequestsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSampledRequests func (c *WAF) GetSampledRequestsRequest(input *GetSampledRequestsInput) (req *request.Request, output *GetSampledRequestsOutput) { @@ -5219,7 +5178,6 @@ func (c *WAF) GetSampledRequestsRequest(input *GetSampledRequestsInput) (req *re // GetSampledRequests API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5249,12 +5207,13 @@ func (c *WAF) GetSampledRequestsRequest(input *GetSampledRequestsInput) (req *re // API operation GetSampledRequests for usage and error information. // // Returned Error Types: -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSampledRequests func (c *WAF) GetSampledRequests(input *GetSampledRequestsInput) (*GetSampledRequestsOutput, error) { @@ -5294,14 +5253,13 @@ const opGetSizeConstraintSet = "GetSizeConstraintSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSizeConstraintSetRequest method. +// req, resp := client.GetSizeConstraintSetRequest(params) // -// // Example sending a request using the GetSizeConstraintSetRequest method. -// req, resp := client.GetSizeConstraintSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSizeConstraintSet func (c *WAF) GetSizeConstraintSetRequest(input *GetSizeConstraintSetInput) (req *request.Request, output *GetSizeConstraintSetOutput) { @@ -5322,7 +5280,6 @@ func (c *WAF) GetSizeConstraintSetRequest(input *GetSizeConstraintSetInput) (req // GetSizeConstraintSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5342,16 +5299,17 @@ func (c *WAF) GetSizeConstraintSetRequest(input *GetSizeConstraintSetInput) (req // API operation GetSizeConstraintSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSizeConstraintSet func (c *WAF) GetSizeConstraintSet(input *GetSizeConstraintSetInput) (*GetSizeConstraintSetOutput, error) { @@ -5391,14 +5349,13 @@ const opGetSqlInjectionMatchSet = "GetSqlInjectionMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSqlInjectionMatchSetRequest method. +// req, resp := client.GetSqlInjectionMatchSetRequest(params) // -// // Example sending a request using the GetSqlInjectionMatchSetRequest method. -// req, resp := client.GetSqlInjectionMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSqlInjectionMatchSet func (c *WAF) GetSqlInjectionMatchSetRequest(input *GetSqlInjectionMatchSetInput) (req *request.Request, output *GetSqlInjectionMatchSetOutput) { @@ -5419,7 +5376,6 @@ func (c *WAF) GetSqlInjectionMatchSetRequest(input *GetSqlInjectionMatchSetInput // GetSqlInjectionMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5439,16 +5395,17 @@ func (c *WAF) GetSqlInjectionMatchSetRequest(input *GetSqlInjectionMatchSetInput // API operation GetSqlInjectionMatchSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. +// +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetSqlInjectionMatchSet func (c *WAF) GetSqlInjectionMatchSet(input *GetSqlInjectionMatchSetInput) (*GetSqlInjectionMatchSetOutput, error) { @@ -5488,14 +5445,13 @@ const opGetWebACL = "GetWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWebACLRequest method. +// req, resp := client.GetWebACLRequest(params) // -// // Example sending a request using the GetWebACLRequest method. -// req, resp := client.GetWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetWebACL func (c *WAF) GetWebACLRequest(input *GetWebACLInput) (req *request.Request, output *GetWebACLOutput) { @@ -5516,7 +5472,6 @@ func (c *WAF) GetWebACLRequest(input *GetWebACLInput) (req *request.Request, out // GetWebACL API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5536,16 +5491,17 @@ func (c *WAF) GetWebACLRequest(input *GetWebACLInput) (req *request.Request, out // API operation GetWebACL for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. +// +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetWebACL func (c *WAF) GetWebACL(input *GetWebACLInput) (*GetWebACLOutput, error) { @@ -5585,14 +5541,13 @@ const opGetXssMatchSet = "GetXssMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetXssMatchSetRequest method. +// req, resp := client.GetXssMatchSetRequest(params) // -// // Example sending a request using the GetXssMatchSetRequest method. -// req, resp := client.GetXssMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetXssMatchSet func (c *WAF) GetXssMatchSetRequest(input *GetXssMatchSetInput) (req *request.Request, output *GetXssMatchSetOutput) { @@ -5613,7 +5568,6 @@ func (c *WAF) GetXssMatchSetRequest(input *GetXssMatchSetInput) (req *request.Re // GetXssMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5633,16 +5587,17 @@ func (c *WAF) GetXssMatchSetRequest(input *GetXssMatchSetInput) (req *request.Re // API operation GetXssMatchSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/GetXssMatchSet func (c *WAF) GetXssMatchSet(input *GetXssMatchSetInput) (*GetXssMatchSetOutput, error) { @@ -5682,14 +5637,13 @@ const opListActivatedRulesInRuleGroup = "ListActivatedRulesInRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListActivatedRulesInRuleGroupRequest method. +// req, resp := client.ListActivatedRulesInRuleGroupRequest(params) // -// // Example sending a request using the ListActivatedRulesInRuleGroupRequest method. -// req, resp := client.ListActivatedRulesInRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListActivatedRulesInRuleGroup func (c *WAF) ListActivatedRulesInRuleGroupRequest(input *ListActivatedRulesInRuleGroupInput) (req *request.Request, output *ListActivatedRulesInRuleGroupOutput) { @@ -5710,7 +5664,6 @@ func (c *WAF) ListActivatedRulesInRuleGroupRequest(input *ListActivatedRulesInRu // ListActivatedRulesInRuleGroup API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5730,41 +5683,42 @@ func (c *WAF) ListActivatedRulesInRuleGroupRequest(input *ListActivatedRulesInRu // API operation ListActivatedRulesInRuleGroup for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You specified an invalid parameter name. +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. +// +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListActivatedRulesInRuleGroup func (c *WAF) ListActivatedRulesInRuleGroup(input *ListActivatedRulesInRuleGroupInput) (*ListActivatedRulesInRuleGroupOutput, error) { @@ -5804,14 +5758,13 @@ const opListByteMatchSets = "ListByteMatchSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListByteMatchSetsRequest method. +// req, resp := client.ListByteMatchSetsRequest(params) // -// // Example sending a request using the ListByteMatchSetsRequest method. -// req, resp := client.ListByteMatchSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListByteMatchSets func (c *WAF) ListByteMatchSetsRequest(input *ListByteMatchSetsInput) (req *request.Request, output *ListByteMatchSetsOutput) { @@ -5832,7 +5785,6 @@ func (c *WAF) ListByteMatchSetsRequest(input *ListByteMatchSetsInput) (req *requ // ListByteMatchSets API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5852,13 +5804,14 @@ func (c *WAF) ListByteMatchSetsRequest(input *ListByteMatchSetsInput) (req *requ // API operation ListByteMatchSets for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListByteMatchSets func (c *WAF) ListByteMatchSets(input *ListByteMatchSetsInput) (*ListByteMatchSetsOutput, error) { @@ -5898,14 +5851,13 @@ const opListGeoMatchSets = "ListGeoMatchSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGeoMatchSetsRequest method. +// req, resp := client.ListGeoMatchSetsRequest(params) // -// // Example sending a request using the ListGeoMatchSetsRequest method. -// req, resp := client.ListGeoMatchSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListGeoMatchSets func (c *WAF) ListGeoMatchSetsRequest(input *ListGeoMatchSetsInput) (req *request.Request, output *ListGeoMatchSetsOutput) { @@ -5926,7 +5878,6 @@ func (c *WAF) ListGeoMatchSetsRequest(input *ListGeoMatchSetsInput) (req *reques // ListGeoMatchSets API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5946,13 +5897,14 @@ func (c *WAF) ListGeoMatchSetsRequest(input *ListGeoMatchSetsInput) (req *reques // API operation ListGeoMatchSets for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListGeoMatchSets func (c *WAF) ListGeoMatchSets(input *ListGeoMatchSetsInput) (*ListGeoMatchSetsOutput, error) { @@ -5992,14 +5944,13 @@ const opListIPSets = "ListIPSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIPSetsRequest method. +// req, resp := client.ListIPSetsRequest(params) // -// // Example sending a request using the ListIPSetsRequest method. -// req, resp := client.ListIPSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListIPSets func (c *WAF) ListIPSetsRequest(input *ListIPSetsInput) (req *request.Request, output *ListIPSetsOutput) { @@ -6020,7 +5971,6 @@ func (c *WAF) ListIPSetsRequest(input *ListIPSetsInput) (req *request.Request, o // ListIPSets API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6040,13 +5990,14 @@ func (c *WAF) ListIPSetsRequest(input *ListIPSetsInput) (req *request.Request, o // API operation ListIPSets for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListIPSets func (c *WAF) ListIPSets(input *ListIPSetsInput) (*ListIPSetsOutput, error) { @@ -6086,14 +6037,13 @@ const opListLoggingConfigurations = "ListLoggingConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLoggingConfigurationsRequest method. +// req, resp := client.ListLoggingConfigurationsRequest(params) // -// // Example sending a request using the ListLoggingConfigurationsRequest method. -// req, resp := client.ListLoggingConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListLoggingConfigurations func (c *WAF) ListLoggingConfigurationsRequest(input *ListLoggingConfigurationsInput) (req *request.Request, output *ListLoggingConfigurationsOutput) { @@ -6114,7 +6064,6 @@ func (c *WAF) ListLoggingConfigurationsRequest(input *ListLoggingConfigurationsI // ListLoggingConfigurations API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6134,41 +6083,42 @@ func (c *WAF) ListLoggingConfigurationsRequest(input *ListLoggingConfigurationsI // API operation ListLoggingConfigurations for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListLoggingConfigurations func (c *WAF) ListLoggingConfigurations(input *ListLoggingConfigurationsInput) (*ListLoggingConfigurationsOutput, error) { @@ -6208,14 +6158,13 @@ const opListRateBasedRules = "ListRateBasedRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRateBasedRulesRequest method. +// req, resp := client.ListRateBasedRulesRequest(params) // -// // Example sending a request using the ListRateBasedRulesRequest method. -// req, resp := client.ListRateBasedRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRateBasedRules func (c *WAF) ListRateBasedRulesRequest(input *ListRateBasedRulesInput) (req *request.Request, output *ListRateBasedRulesOutput) { @@ -6236,7 +6185,6 @@ func (c *WAF) ListRateBasedRulesRequest(input *ListRateBasedRulesInput) (req *re // ListRateBasedRules API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6256,13 +6204,14 @@ func (c *WAF) ListRateBasedRulesRequest(input *ListRateBasedRulesInput) (req *re // API operation ListRateBasedRules for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRateBasedRules func (c *WAF) ListRateBasedRules(input *ListRateBasedRulesInput) (*ListRateBasedRulesOutput, error) { @@ -6302,14 +6251,13 @@ const opListRegexMatchSets = "ListRegexMatchSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRegexMatchSetsRequest method. +// req, resp := client.ListRegexMatchSetsRequest(params) // -// // Example sending a request using the ListRegexMatchSetsRequest method. -// req, resp := client.ListRegexMatchSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexMatchSets func (c *WAF) ListRegexMatchSetsRequest(input *ListRegexMatchSetsInput) (req *request.Request, output *ListRegexMatchSetsOutput) { @@ -6330,7 +6278,6 @@ func (c *WAF) ListRegexMatchSetsRequest(input *ListRegexMatchSetsInput) (req *re // ListRegexMatchSets API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6350,13 +6297,14 @@ func (c *WAF) ListRegexMatchSetsRequest(input *ListRegexMatchSetsInput) (req *re // API operation ListRegexMatchSets for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexMatchSets func (c *WAF) ListRegexMatchSets(input *ListRegexMatchSetsInput) (*ListRegexMatchSetsOutput, error) { @@ -6396,14 +6344,13 @@ const opListRegexPatternSets = "ListRegexPatternSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRegexPatternSetsRequest method. +// req, resp := client.ListRegexPatternSetsRequest(params) // -// // Example sending a request using the ListRegexPatternSetsRequest method. -// req, resp := client.ListRegexPatternSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexPatternSets func (c *WAF) ListRegexPatternSetsRequest(input *ListRegexPatternSetsInput) (req *request.Request, output *ListRegexPatternSetsOutput) { @@ -6424,7 +6371,6 @@ func (c *WAF) ListRegexPatternSetsRequest(input *ListRegexPatternSetsInput) (req // ListRegexPatternSets API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6444,13 +6390,14 @@ func (c *WAF) ListRegexPatternSetsRequest(input *ListRegexPatternSetsInput) (req // API operation ListRegexPatternSets for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRegexPatternSets func (c *WAF) ListRegexPatternSets(input *ListRegexPatternSetsInput) (*ListRegexPatternSetsOutput, error) { @@ -6490,14 +6437,13 @@ const opListRuleGroups = "ListRuleGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRuleGroupsRequest method. +// req, resp := client.ListRuleGroupsRequest(params) // -// // Example sending a request using the ListRuleGroupsRequest method. -// req, resp := client.ListRuleGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRuleGroups func (c *WAF) ListRuleGroupsRequest(input *ListRuleGroupsInput) (req *request.Request, output *ListRuleGroupsOutput) { @@ -6518,7 +6464,6 @@ func (c *WAF) ListRuleGroupsRequest(input *ListRuleGroupsInput) (req *request.Re // ListRuleGroups API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6538,9 +6483,9 @@ func (c *WAF) ListRuleGroupsRequest(input *ListRuleGroupsInput) (req *request.Re // API operation ListRuleGroups for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRuleGroups func (c *WAF) ListRuleGroups(input *ListRuleGroupsInput) (*ListRuleGroupsOutput, error) { @@ -6580,14 +6525,13 @@ const opListRules = "ListRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRulesRequest method. +// req, resp := client.ListRulesRequest(params) // -// // Example sending a request using the ListRulesRequest method. -// req, resp := client.ListRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRules func (c *WAF) ListRulesRequest(input *ListRulesInput) (req *request.Request, output *ListRulesOutput) { @@ -6608,7 +6552,6 @@ func (c *WAF) ListRulesRequest(input *ListRulesInput) (req *request.Request, out // ListRules API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6628,13 +6571,14 @@ func (c *WAF) ListRulesRequest(input *ListRulesInput) (req *request.Request, out // API operation ListRules for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListRules func (c *WAF) ListRules(input *ListRulesInput) (*ListRulesOutput, error) { @@ -6674,14 +6618,13 @@ const opListSizeConstraintSets = "ListSizeConstraintSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSizeConstraintSetsRequest method. +// req, resp := client.ListSizeConstraintSetsRequest(params) // -// // Example sending a request using the ListSizeConstraintSetsRequest method. -// req, resp := client.ListSizeConstraintSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSizeConstraintSets func (c *WAF) ListSizeConstraintSetsRequest(input *ListSizeConstraintSetsInput) (req *request.Request, output *ListSizeConstraintSetsOutput) { @@ -6702,7 +6645,6 @@ func (c *WAF) ListSizeConstraintSetsRequest(input *ListSizeConstraintSetsInput) // ListSizeConstraintSets API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6722,13 +6664,14 @@ func (c *WAF) ListSizeConstraintSetsRequest(input *ListSizeConstraintSetsInput) // API operation ListSizeConstraintSets for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSizeConstraintSets func (c *WAF) ListSizeConstraintSets(input *ListSizeConstraintSetsInput) (*ListSizeConstraintSetsOutput, error) { @@ -6768,14 +6711,13 @@ const opListSqlInjectionMatchSets = "ListSqlInjectionMatchSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSqlInjectionMatchSetsRequest method. +// req, resp := client.ListSqlInjectionMatchSetsRequest(params) // -// // Example sending a request using the ListSqlInjectionMatchSetsRequest method. -// req, resp := client.ListSqlInjectionMatchSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSqlInjectionMatchSets func (c *WAF) ListSqlInjectionMatchSetsRequest(input *ListSqlInjectionMatchSetsInput) (req *request.Request, output *ListSqlInjectionMatchSetsOutput) { @@ -6796,7 +6738,6 @@ func (c *WAF) ListSqlInjectionMatchSetsRequest(input *ListSqlInjectionMatchSetsI // ListSqlInjectionMatchSets API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6816,13 +6757,14 @@ func (c *WAF) ListSqlInjectionMatchSetsRequest(input *ListSqlInjectionMatchSetsI // API operation ListSqlInjectionMatchSets for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSqlInjectionMatchSets func (c *WAF) ListSqlInjectionMatchSets(input *ListSqlInjectionMatchSetsInput) (*ListSqlInjectionMatchSetsOutput, error) { @@ -6862,14 +6804,13 @@ const opListSubscribedRuleGroups = "ListSubscribedRuleGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSubscribedRuleGroupsRequest method. +// req, resp := client.ListSubscribedRuleGroupsRequest(params) // -// // Example sending a request using the ListSubscribedRuleGroupsRequest method. -// req, resp := client.ListSubscribedRuleGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSubscribedRuleGroups func (c *WAF) ListSubscribedRuleGroupsRequest(input *ListSubscribedRuleGroupsInput) (req *request.Request, output *ListSubscribedRuleGroupsOutput) { @@ -6890,7 +6831,6 @@ func (c *WAF) ListSubscribedRuleGroupsRequest(input *ListSubscribedRuleGroupsInp // ListSubscribedRuleGroups API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6910,12 +6850,13 @@ func (c *WAF) ListSubscribedRuleGroupsRequest(input *ListSubscribedRuleGroupsInp // API operation ListSubscribedRuleGroups for usage and error information. // // Returned Error Types: -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListSubscribedRuleGroups func (c *WAF) ListSubscribedRuleGroups(input *ListSubscribedRuleGroupsInput) (*ListSubscribedRuleGroupsOutput, error) { @@ -6955,14 +6896,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListTagsForResource func (c *WAF) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -6983,7 +6923,6 @@ func (c *WAF) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // ListTagsForResource API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7011,47 +6950,48 @@ func (c *WAF) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req * // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * You specified an invalid parameter name. +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * BadRequestException +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * TagOperationException +// - BadRequestException // -// * TagOperationInternalErrorException +// - TagOperationException +// +// - TagOperationInternalErrorException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListTagsForResource func (c *WAF) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -7091,14 +7031,13 @@ const opListWebACLs = "ListWebACLs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWebACLsRequest method. +// req, resp := client.ListWebACLsRequest(params) // -// // Example sending a request using the ListWebACLsRequest method. -// req, resp := client.ListWebACLsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListWebACLs func (c *WAF) ListWebACLsRequest(input *ListWebACLsInput) (req *request.Request, output *ListWebACLsOutput) { @@ -7119,7 +7058,6 @@ func (c *WAF) ListWebACLsRequest(input *ListWebACLsInput) (req *request.Request, // ListWebACLs API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7139,13 +7077,14 @@ func (c *WAF) ListWebACLsRequest(input *ListWebACLsInput) (req *request.Request, // API operation ListWebACLs for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListWebACLs func (c *WAF) ListWebACLs(input *ListWebACLsInput) (*ListWebACLsOutput, error) { @@ -7185,14 +7124,13 @@ const opListXssMatchSets = "ListXssMatchSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListXssMatchSetsRequest method. +// req, resp := client.ListXssMatchSetsRequest(params) // -// // Example sending a request using the ListXssMatchSetsRequest method. -// req, resp := client.ListXssMatchSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListXssMatchSets func (c *WAF) ListXssMatchSetsRequest(input *ListXssMatchSetsInput) (req *request.Request, output *ListXssMatchSetsOutput) { @@ -7213,7 +7151,6 @@ func (c *WAF) ListXssMatchSetsRequest(input *ListXssMatchSetsInput) (req *reques // ListXssMatchSets API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7233,13 +7170,14 @@ func (c *WAF) ListXssMatchSetsRequest(input *ListXssMatchSetsInput) (req *reques // API operation ListXssMatchSets for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/ListXssMatchSets func (c *WAF) ListXssMatchSets(input *ListXssMatchSetsInput) (*ListXssMatchSetsOutput, error) { @@ -7279,14 +7217,13 @@ const opPutLoggingConfiguration = "PutLoggingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutLoggingConfigurationRequest method. +// req, resp := client.PutLoggingConfigurationRequest(params) // -// // Example sending a request using the PutLoggingConfigurationRequest method. -// req, resp := client.PutLoggingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/PutLoggingConfiguration func (c *WAF) PutLoggingConfigurationRequest(input *PutLoggingConfigurationInput) (req *request.Request, output *PutLoggingConfigurationOutput) { @@ -7307,7 +7244,6 @@ func (c *WAF) PutLoggingConfigurationRequest(input *PutLoggingConfigurationInput // PutLoggingConfiguration API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7346,26 +7282,27 @@ func (c *WAF) PutLoggingConfigurationRequest(input *PutLoggingConfigurationInput // API operation PutLoggingConfiguration for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. -// -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. -// -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. -// -// * ServiceLinkedRoleErrorException -// AWS WAF is not able to access the service linked role. This can be caused -// by a previous PutLoggingConfiguration request, which can lock the service -// linked role for about 20 seconds. Please try your request again. The service -// linked role can also be locked by a previous DeleteServiceLinkedRole request, -// which can lock the role for 15 minutes or more. If you recently made a DeleteServiceLinkedRole, -// wait at least 15 minutes and try the request again. If you receive this same -// exception again, you will have to wait additional time until the role is -// unlocked. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. +// +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - ServiceLinkedRoleErrorException +// AWS WAF is not able to access the service linked role. This can be caused +// by a previous PutLoggingConfiguration request, which can lock the service +// linked role for about 20 seconds. Please try your request again. The service +// linked role can also be locked by a previous DeleteServiceLinkedRole request, +// which can lock the role for 15 minutes or more. If you recently made a DeleteServiceLinkedRole, +// wait at least 15 minutes and try the request again. If you receive this same +// exception again, you will have to wait additional time until the role is +// unlocked. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/PutLoggingConfiguration func (c *WAF) PutLoggingConfiguration(input *PutLoggingConfigurationInput) (*PutLoggingConfigurationOutput, error) { @@ -7405,14 +7342,13 @@ const opPutPermissionPolicy = "PutPermissionPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPermissionPolicyRequest method. +// req, resp := client.PutPermissionPolicyRequest(params) // -// // Example sending a request using the PutPermissionPolicyRequest method. -// req, resp := client.PutPermissionPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/PutPermissionPolicy func (c *WAF) PutPermissionPolicyRequest(input *PutPermissionPolicyInput) (req *request.Request, output *PutPermissionPolicyOutput) { @@ -7434,7 +7370,6 @@ func (c *WAF) PutPermissionPolicyRequest(input *PutPermissionPolicyInput) (req * // PutPermissionPolicy API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7449,24 +7384,24 @@ func (c *WAF) PutPermissionPolicyRequest(input *PutPermissionPolicyInput) (req * // // The PutPermissionPolicy is subject to the following restrictions: // -// * You can attach only one policy with each PutPermissionPolicy request. +// - You can attach only one policy with each PutPermissionPolicy request. // -// * The policy must include an Effect, Action and Principal. +// - The policy must include an Effect, Action and Principal. // -// * Effect must specify Allow. +// - Effect must specify Allow. // -// * The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL, -// waf:GetRuleGroup and waf-regional:GetRuleGroup . Any extra or wildcard -// actions in the policy will be rejected. +// - The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL, +// waf:GetRuleGroup and waf-regional:GetRuleGroup . Any extra or wildcard +// actions in the policy will be rejected. // -// * The policy cannot include a Resource parameter. +// - The policy cannot include a Resource parameter. // -// * The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup -// must exist in the same region. +// - The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup +// must exist in the same region. // -// * The user making the request must be the owner of the RuleGroup. +// - The user making the request must be the owner of the RuleGroup. // -// * Your policy must be composed using IAM Policy version 2012-10-17. +// - Your policy must be composed using IAM Policy version 2012-10-17. // // For more information, see IAM Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html). // @@ -7480,40 +7415,41 @@ func (c *WAF) PutPermissionPolicyRequest(input *PutPermissionPolicyInput) (req * // API operation PutPermissionPolicy for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * InvalidPermissionPolicyException -// The operation failed because the specified policy is not in the proper format. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// The policy is subject to the following restrictions: +// - InvalidPermissionPolicyException +// The operation failed because the specified policy is not in the proper format. // -// * You can attach only one policy with each PutPermissionPolicy request. +// The policy is subject to the following restrictions: // -// * The policy must include an Effect, Action and Principal. +// - You can attach only one policy with each PutPermissionPolicy request. // -// * Effect must specify Allow. +// - The policy must include an Effect, Action and Principal. // -// * The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL, -// waf:GetRuleGroup and waf-regional:GetRuleGroup . Any extra or wildcard -// actions in the policy will be rejected. +// - Effect must specify Allow. // -// * The policy cannot include a Resource parameter. +// - The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL, +// waf:GetRuleGroup and waf-regional:GetRuleGroup . Any extra or wildcard +// actions in the policy will be rejected. // -// * The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup -// must exist in the same region. +// - The policy cannot include a Resource parameter. // -// * The user making the request must be the owner of the RuleGroup. +// - The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup +// must exist in the same region. // -// * Your policy must be composed using IAM Policy version 2012-10-17. +// - The user making the request must be the owner of the RuleGroup. +// +// - Your policy must be composed using IAM Policy version 2012-10-17. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/PutPermissionPolicy func (c *WAF) PutPermissionPolicy(input *PutPermissionPolicyInput) (*PutPermissionPolicyOutput, error) { @@ -7553,14 +7489,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/TagResource func (c *WAF) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -7582,7 +7517,6 @@ func (c *WAF) TagResourceRequest(input *TagResourceInput) (req *request.Request, // TagResource API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7611,53 +7545,54 @@ func (c *WAF) TagResourceRequest(input *TagResourceInput) (req *request.Request, // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * You specified an invalid parameter name. +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * BadRequestException +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * TagOperationException +// - BadRequestException // -// * TagOperationInternalErrorException +// - TagOperationException +// +// - TagOperationInternalErrorException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/TagResource func (c *WAF) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -7697,14 +7632,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UntagResource func (c *WAF) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -7726,7 +7660,6 @@ func (c *WAF) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // UntagResource API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7744,47 +7677,48 @@ func (c *WAF) UntagResourceRequest(input *UntagResourceInput) (req *request.Requ // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * BadRequestException +// - BadRequestException // -// * TagOperationException +// - TagOperationException // -// * TagOperationInternalErrorException +// - TagOperationInternalErrorException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UntagResource func (c *WAF) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -7824,14 +7758,13 @@ const opUpdateByteMatchSet = "UpdateByteMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateByteMatchSetRequest method. +// req, resp := client.UpdateByteMatchSetRequest(params) // -// // Example sending a request using the UpdateByteMatchSetRequest method. -// req, resp := client.UpdateByteMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateByteMatchSet func (c *WAF) UpdateByteMatchSetRequest(input *UpdateByteMatchSetInput) (req *request.Request, output *UpdateByteMatchSetOutput) { @@ -7852,7 +7785,6 @@ func (c *WAF) UpdateByteMatchSetRequest(input *UpdateByteMatchSetInput) (req *re // UpdateByteMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7865,22 +7797,22 @@ func (c *WAF) UpdateByteMatchSetRequest(input *UpdateByteMatchSetInput) (req *re // Inserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet. For // each ByteMatchTuple object, you specify the following values: // -// * Whether to insert or delete the object from the array. If you want to -// change a ByteMatchSetUpdate object, you delete the existing object and -// add a new one. +// - Whether to insert or delete the object from the array. If you want to +// change a ByteMatchSetUpdate object, you delete the existing object and +// add a new one. // -// * The part of a web request that you want AWS WAF to inspect, such as -// a query string or the value of the User-Agent header. +// - The part of a web request that you want AWS WAF to inspect, such as +// a query string or the value of the User-Agent header. // -// * The bytes (typically a string that corresponds with ASCII characters) -// that you want AWS WAF to look for. For more information, including how -// you specify the values for the AWS WAF API and the AWS CLI or SDKs, see -// TargetString in the ByteMatchTuple data type. +// - The bytes (typically a string that corresponds with ASCII characters) +// that you want AWS WAF to look for. For more information, including how +// you specify the values for the AWS WAF API and the AWS CLI or SDKs, see +// TargetString in the ByteMatchTuple data type. // -// * Where to look, such as at the beginning or the end of a query string. +// - Where to look, such as at the beginning or the end of a query string. // -// * Whether to perform any conversions on the request, such as converting -// it to lowercase, before inspecting it for the specified string. +// - Whether to perform any conversions on the request, such as converting +// it to lowercase, before inspecting it for the specified string. // // For example, you can add a ByteMatchSetUpdate object that matches web requests // in which User-Agent headers contain the string BadBot. You can then configure @@ -7908,89 +7840,90 @@ func (c *WAF) UpdateByteMatchSetRequest(input *UpdateByteMatchSetInput) (req *re // API operation UpdateByteMatchSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidOperationException -// The operation failed because there was nothing to do. For example: +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - InvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * You specified an invalid parameter name. +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * NonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - NonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateByteMatchSet func (c *WAF) UpdateByteMatchSet(input *UpdateByteMatchSetInput) (*UpdateByteMatchSetOutput, error) { @@ -8030,14 +7963,13 @@ const opUpdateGeoMatchSet = "UpdateGeoMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGeoMatchSetRequest method. +// req, resp := client.UpdateGeoMatchSetRequest(params) // -// // Example sending a request using the UpdateGeoMatchSetRequest method. -// req, resp := client.UpdateGeoMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateGeoMatchSet func (c *WAF) UpdateGeoMatchSetRequest(input *UpdateGeoMatchSetInput) (req *request.Request, output *UpdateGeoMatchSetOutput) { @@ -8058,7 +7990,6 @@ func (c *WAF) UpdateGeoMatchSetRequest(input *UpdateGeoMatchSetInput) (req *requ // UpdateGeoMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -8071,14 +8002,14 @@ func (c *WAF) UpdateGeoMatchSetRequest(input *UpdateGeoMatchSetInput) (req *requ // Inserts or deletes GeoMatchConstraint objects in an GeoMatchSet. For each // GeoMatchConstraint object, you specify the following values: // -// * Whether to insert or delete the object from the array. If you want to -// change an GeoMatchConstraint object, you delete the existing object and -// add a new one. +// - Whether to insert or delete the object from the array. If you want to +// change an GeoMatchConstraint object, you delete the existing object and +// add a new one. // -// * The Type. The only valid value for Type is Country. +// - The Type. The only valid value for Type is Country. // -// * The Value, which is a two character code for the country to add to the -// GeoMatchConstraint object. Valid codes are listed in GeoMatchConstraint$Value. +// - The Value, which is a two character code for the country to add to the +// GeoMatchConstraint object. Valid codes are listed in GeoMatchConstraint$Value. // // To create and configure an GeoMatchSet, perform the following steps: // @@ -8105,97 +8036,98 @@ func (c *WAF) UpdateGeoMatchSetRequest(input *UpdateGeoMatchSetInput) (req *requ // API operation UpdateGeoMatchSet for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidOperationException -// The operation failed because there was nothing to do. For example: +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - InvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * You specified an invalid parameter name. +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * NonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - NonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - You tried to delete a Rule that is still referenced by a WebACL. +// +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateGeoMatchSet func (c *WAF) UpdateGeoMatchSet(input *UpdateGeoMatchSetInput) (*UpdateGeoMatchSetOutput, error) { @@ -8235,14 +8167,13 @@ const opUpdateIPSet = "UpdateIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIPSetRequest method. +// req, resp := client.UpdateIPSetRequest(params) // -// // Example sending a request using the UpdateIPSetRequest method. -// req, resp := client.UpdateIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateIPSet func (c *WAF) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Request, output *UpdateIPSetOutput) { @@ -8263,7 +8194,6 @@ func (c *WAF) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Request, // UpdateIPSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -8276,15 +8206,15 @@ func (c *WAF) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Request, // Inserts or deletes IPSetDescriptor objects in an IPSet. For each IPSetDescriptor // object, you specify the following values: // -// * Whether to insert or delete the object from the array. If you want to -// change an IPSetDescriptor object, you delete the existing object and add -// a new one. +// - Whether to insert or delete the object from the array. If you want to +// change an IPSetDescriptor object, you delete the existing object and add +// a new one. // -// * The IP address version, IPv4 or IPv6. +// - The IP address version, IPv4 or IPv6. // -// * The IP address in CIDR notation, for example, 192.0.2.0/24 (for the -// range of IP addresses from 192.0.2.0 to 192.0.2.255) or 192.0.2.44/32 -// (for the individual IP address 192.0.2.44). +// - The IP address in CIDR notation, for example, 192.0.2.0/24 (for the +// range of IP addresses from 192.0.2.0 to 192.0.2.255) or 192.0.2.44/32 +// (for the individual IP address 192.0.2.44). // // AWS WAF supports IPv4 address ranges: /8 and any range between /16 through // /32. AWS WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128. @@ -8293,13 +8223,13 @@ func (c *WAF) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Request, // // IPv6 addresses can be represented using any of the following formats: // -// * 1111:0000:0000:0000:0000:0000:0000:0111/128 +// - 1111:0000:0000:0000:0000:0000:0000:0111/128 // -// * 1111:0:0:0:0:0:0:0111/128 +// - 1111:0:0:0:0:0:0:0111/128 // -// * 1111::0111/128 +// - 1111::0111/128 // -// * 1111::111/128 +// - 1111::111/128 // // You use an IPSet to specify which web requests you want to allow or block // based on the IP addresses that the requests originated from. For example, @@ -8334,97 +8264,98 @@ func (c *WAF) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Request, // API operation UpdateIPSet for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * InvalidOperationException -// The operation failed because there was nothing to do. For example: +// - InvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * NonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - NonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateIPSet func (c *WAF) UpdateIPSet(input *UpdateIPSetInput) (*UpdateIPSetOutput, error) { @@ -8464,14 +8395,13 @@ const opUpdateRateBasedRule = "UpdateRateBasedRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRateBasedRuleRequest method. +// req, resp := client.UpdateRateBasedRuleRequest(params) // -// // Example sending a request using the UpdateRateBasedRuleRequest method. -// req, resp := client.UpdateRateBasedRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRateBasedRule func (c *WAF) UpdateRateBasedRuleRequest(input *UpdateRateBasedRuleInput) (req *request.Request, output *UpdateRateBasedRuleOutput) { @@ -8492,7 +8422,6 @@ func (c *WAF) UpdateRateBasedRuleRequest(input *UpdateRateBasedRuleInput) (req * // UpdateRateBasedRule API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -8514,9 +8443,9 @@ func (c *WAF) UpdateRateBasedRuleRequest(input *UpdateRateBasedRuleInput) (req * // all the predicates and exceed the RateLimit to be counted or blocked. For // example, suppose you add the following to a RateBasedRule: // -// * An IPSet that matches the IP address 192.0.2.44/32 +// - An IPSet that matches the IP address 192.0.2.44/32 // -// * A ByteMatchSet that matches BadBot in the User-Agent header +// - A ByteMatchSet that matches BadBot in the User-Agent header // // Further, you specify a RateLimit of 1,000. // @@ -8530,11 +8459,11 @@ func (c *WAF) UpdateRateBasedRuleRequest(input *UpdateRateBasedRuleInput) (req * // As a second example, suppose you want to limit requests to a particular page // on your site. To do this, you could add the following to a RateBasedRule: // -// * A ByteMatchSet with FieldToMatch of URI +// - A ByteMatchSet with FieldToMatch of URI // -// * A PositionalConstraint of STARTS_WITH +// - A PositionalConstraint of STARTS_WITH // -// * A TargetString of login +// - A TargetString of login // // Further, you specify a RateLimit of 1,000. // @@ -8549,97 +8478,98 @@ func (c *WAF) UpdateRateBasedRuleRequest(input *UpdateRateBasedRuleInput) (req * // API operation UpdateRateBasedRule for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidOperationException -// The operation failed because there was nothing to do. For example: +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - InvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * You specified an invalid parameter name. +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * NonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - NonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - You tried to delete a Rule that is still referenced by a WebACL. +// +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRateBasedRule func (c *WAF) UpdateRateBasedRule(input *UpdateRateBasedRuleInput) (*UpdateRateBasedRuleOutput, error) { @@ -8679,14 +8609,13 @@ const opUpdateRegexMatchSet = "UpdateRegexMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRegexMatchSetRequest method. +// req, resp := client.UpdateRegexMatchSetRequest(params) // -// // Example sending a request using the UpdateRegexMatchSetRequest method. -// req, resp := client.UpdateRegexMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexMatchSet func (c *WAF) UpdateRegexMatchSetRequest(input *UpdateRegexMatchSetInput) (req *request.Request, output *UpdateRegexMatchSetOutput) { @@ -8707,7 +8636,6 @@ func (c *WAF) UpdateRegexMatchSetRequest(input *UpdateRegexMatchSetInput) (req * // UpdateRegexMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -8720,18 +8648,18 @@ func (c *WAF) UpdateRegexMatchSetRequest(input *UpdateRegexMatchSetInput) (req * // Inserts or deletes RegexMatchTuple objects (filters) in a RegexMatchSet. // For each RegexMatchSetUpdate object, you specify the following values: // -// * Whether to insert or delete the object from the array. If you want to -// change a RegexMatchSetUpdate object, you delete the existing object and -// add a new one. +// - Whether to insert or delete the object from the array. If you want to +// change a RegexMatchSetUpdate object, you delete the existing object and +// add a new one. // -// * The part of a web request that you want AWS WAF to inspectupdate, such -// as a query string or the value of the User-Agent header. +// - The part of a web request that you want AWS WAF to inspectupdate, such +// as a query string or the value of the User-Agent header. // -// * The identifier of the pattern (a regular expression) that you want AWS -// WAF to look for. For more information, see RegexPatternSet. +// - The identifier of the pattern (a regular expression) that you want AWS +// WAF to look for. For more information, see RegexPatternSet. // -// * Whether to perform any conversions on the request, such as converting -// it to lowercase, before inspecting it for the specified string. +// - Whether to perform any conversions on the request, such as converting +// it to lowercase, before inspecting it for the specified string. // // For example, you can create a RegexPatternSet that matches any requests with // User-Agent headers that contain the string B[a@]dB[o0]t. You can then configure @@ -8760,63 +8688,64 @@ func (c *WAF) UpdateRegexMatchSetRequest(input *UpdateRegexMatchSetInput) (req * // API operation UpdateRegexMatchSet for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * DisallowedNameException -// The name specified is invalid. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - DisallowedNameException +// The name specified is invalid. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * NonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - NonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * InvalidOperationException -// The operation failed because there was nothing to do. For example: +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - InvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexMatchSet func (c *WAF) UpdateRegexMatchSet(input *UpdateRegexMatchSetInput) (*UpdateRegexMatchSetOutput, error) { @@ -8856,14 +8785,13 @@ const opUpdateRegexPatternSet = "UpdateRegexPatternSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRegexPatternSetRequest method. +// req, resp := client.UpdateRegexPatternSetRequest(params) // -// // Example sending a request using the UpdateRegexPatternSetRequest method. -// req, resp := client.UpdateRegexPatternSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexPatternSet func (c *WAF) UpdateRegexPatternSetRequest(input *UpdateRegexPatternSetInput) (req *request.Request, output *UpdateRegexPatternSetOutput) { @@ -8884,7 +8812,6 @@ func (c *WAF) UpdateRegexPatternSetRequest(input *UpdateRegexPatternSetInput) (r // UpdateRegexPatternSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -8897,21 +8824,21 @@ func (c *WAF) UpdateRegexPatternSetRequest(input *UpdateRegexPatternSetInput) (r // Inserts or deletes RegexPatternString objects in a RegexPatternSet. For each // RegexPatternString object, you specify the following values: // -// * Whether to insert or delete the RegexPatternString. +// - Whether to insert or delete the RegexPatternString. // -// * The regular expression pattern that you want to insert or delete. For -// more information, see RegexPatternSet. +// - The regular expression pattern that you want to insert or delete. For +// more information, see RegexPatternSet. // // For example, you can create a RegexPatternString such as B[a@]dB[o0]t. AWS // WAF will match this RegexPatternString to: // -// * BadBot +// - BadBot // -// * BadB0t +// - BadB0t // -// * B@dBot +// - B@dBot // -// * B@dB0t +// - B@dB0t // // To create and configure a RegexPatternSet, perform the following steps: // @@ -8934,63 +8861,64 @@ func (c *WAF) UpdateRegexPatternSetRequest(input *UpdateRegexPatternSetInput) (r // API operation UpdateRegexPatternSet for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * NonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - NonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * InvalidOperationException -// The operation failed because there was nothing to do. For example: +// - InvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * InvalidRegexPatternException -// The regular expression (regex) you specified in RegexPatternString is invalid. +// - InvalidRegexPatternException +// The regular expression (regex) you specified in RegexPatternString is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRegexPatternSet func (c *WAF) UpdateRegexPatternSet(input *UpdateRegexPatternSetInput) (*UpdateRegexPatternSetOutput, error) { @@ -9030,14 +8958,13 @@ const opUpdateRule = "UpdateRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRuleRequest method. +// req, resp := client.UpdateRuleRequest(params) // -// // Example sending a request using the UpdateRuleRequest method. -// req, resp := client.UpdateRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRule func (c *WAF) UpdateRuleRequest(input *UpdateRuleInput) (req *request.Request, output *UpdateRuleOutput) { @@ -9058,7 +8985,6 @@ func (c *WAF) UpdateRuleRequest(input *UpdateRuleInput) (req *request.Request, o // UpdateRule API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -9075,9 +9001,9 @@ func (c *WAF) UpdateRuleRequest(input *UpdateRuleInput) (req *request.Request, o // blocked, or counted. For example, suppose that you add the following to a // Rule: // -// * A ByteMatchSet that matches the value BadBot in the User-Agent header +// - A ByteMatchSet that matches the value BadBot in the User-Agent header // -// * An IPSet that matches the IP address 192.0.2.44 +// - An IPSet that matches the IP address 192.0.2.44 // // You then add the Rule to a WebACL and specify that you want to block requests // that satisfy the Rule. For a request to be blocked, the User-Agent header @@ -9111,97 +9037,98 @@ func (c *WAF) UpdateRuleRequest(input *UpdateRuleInput) (req *request.Request, o // API operation UpdateRule for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidOperationException -// The operation failed because there was nothing to do. For example: +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - InvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * You specified an invalid parameter name. +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * NonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - NonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - You tried to delete a Rule that is still referenced by a WebACL. +// +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRule func (c *WAF) UpdateRule(input *UpdateRuleInput) (*UpdateRuleOutput, error) { @@ -9241,14 +9168,13 @@ const opUpdateRuleGroup = "UpdateRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRuleGroupRequest method. +// req, resp := client.UpdateRuleGroupRequest(params) // -// // Example sending a request using the UpdateRuleGroupRequest method. -// req, resp := client.UpdateRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRuleGroup func (c *WAF) UpdateRuleGroupRequest(input *UpdateRuleGroupInput) (req *request.Request, output *UpdateRuleGroupOutput) { @@ -9269,7 +9195,6 @@ func (c *WAF) UpdateRuleGroupRequest(input *UpdateRuleGroupInput) (req *request. // UpdateRuleGroup API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -9311,85 +9236,86 @@ func (c *WAF) UpdateRuleGroupRequest(input *UpdateRuleGroupInput) (req *request. // API operation UpdateRuleGroup for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * NonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - NonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * InvalidOperationException -// The operation failed because there was nothing to do. For example: +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - InvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * You specified an invalid parameter name. +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. +// +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateRuleGroup func (c *WAF) UpdateRuleGroup(input *UpdateRuleGroupInput) (*UpdateRuleGroupOutput, error) { @@ -9429,14 +9355,13 @@ const opUpdateSizeConstraintSet = "UpdateSizeConstraintSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSizeConstraintSetRequest method. +// req, resp := client.UpdateSizeConstraintSetRequest(params) // -// // Example sending a request using the UpdateSizeConstraintSetRequest method. -// req, resp := client.UpdateSizeConstraintSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSizeConstraintSet func (c *WAF) UpdateSizeConstraintSetRequest(input *UpdateSizeConstraintSetInput) (req *request.Request, output *UpdateSizeConstraintSetOutput) { @@ -9457,7 +9382,6 @@ func (c *WAF) UpdateSizeConstraintSetRequest(input *UpdateSizeConstraintSetInput // UpdateSizeConstraintSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -9470,25 +9394,25 @@ func (c *WAF) UpdateSizeConstraintSetRequest(input *UpdateSizeConstraintSetInput // Inserts or deletes SizeConstraint objects (filters) in a SizeConstraintSet. // For each SizeConstraint object, you specify the following values: // -// * Whether to insert or delete the object from the array. If you want to -// change a SizeConstraintSetUpdate object, you delete the existing object -// and add a new one. +// - Whether to insert or delete the object from the array. If you want to +// change a SizeConstraintSetUpdate object, you delete the existing object +// and add a new one. // -// * The part of a web request that you want AWS WAF to evaluate, such as -// the length of a query string or the length of the User-Agent header. +// - The part of a web request that you want AWS WAF to evaluate, such as +// the length of a query string or the length of the User-Agent header. // -// * Whether to perform any transformations on the request, such as converting -// it to lowercase, before checking its length. Note that transformations -// of the request body are not supported because the AWS resource forwards -// only the first 8192 bytes of your request to AWS WAF. You can only specify -// a single type of TextTransformation. +// - Whether to perform any transformations on the request, such as converting +// it to lowercase, before checking its length. Note that transformations +// of the request body are not supported because the AWS resource forwards +// only the first 8192 bytes of your request to AWS WAF. You can only specify +// a single type of TextTransformation. // -// * A ComparisonOperator used for evaluating the selected part of the request -// against the specified Size, such as equals, greater than, less than, and -// so on. +// - A ComparisonOperator used for evaluating the selected part of the request +// against the specified Size, such as equals, greater than, less than, and +// so on. // -// * The length, in bytes, that you want AWS WAF to watch for in selected -// part of the request. The length is computed after applying the transformation. +// - The length, in bytes, that you want AWS WAF to watch for in selected +// part of the request. The length is computed after applying the transformation. // // For example, you can add a SizeConstraintSetUpdate object that matches web // requests in which the length of the User-Agent header is greater than 100 @@ -9516,97 +9440,98 @@ func (c *WAF) UpdateSizeConstraintSetRequest(input *UpdateSizeConstraintSetInput // API operation UpdateSizeConstraintSet for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * InvalidOperationException -// The operation failed because there was nothing to do. For example: +// - InvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * NonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - NonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSizeConstraintSet func (c *WAF) UpdateSizeConstraintSet(input *UpdateSizeConstraintSetInput) (*UpdateSizeConstraintSetOutput, error) { @@ -9646,14 +9571,13 @@ const opUpdateSqlInjectionMatchSet = "UpdateSqlInjectionMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSqlInjectionMatchSetRequest method. +// req, resp := client.UpdateSqlInjectionMatchSetRequest(params) // -// // Example sending a request using the UpdateSqlInjectionMatchSetRequest method. -// req, resp := client.UpdateSqlInjectionMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSqlInjectionMatchSet func (c *WAF) UpdateSqlInjectionMatchSetRequest(input *UpdateSqlInjectionMatchSetInput) (req *request.Request, output *UpdateSqlInjectionMatchSetOutput) { @@ -9674,7 +9598,6 @@ func (c *WAF) UpdateSqlInjectionMatchSetRequest(input *UpdateSqlInjectionMatchSe // UpdateSqlInjectionMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -9687,17 +9610,17 @@ func (c *WAF) UpdateSqlInjectionMatchSetRequest(input *UpdateSqlInjectionMatchSe // Inserts or deletes SqlInjectionMatchTuple objects (filters) in a SqlInjectionMatchSet. // For each SqlInjectionMatchTuple object, you specify the following values: // -// * Action: Whether to insert the object into or delete the object from -// the array. To change a SqlInjectionMatchTuple, you delete the existing -// object and add a new one. +// - Action: Whether to insert the object into or delete the object from +// the array. To change a SqlInjectionMatchTuple, you delete the existing +// object and add a new one. // -// * FieldToMatch: The part of web requests that you want AWS WAF to inspect -// and, if you want AWS WAF to inspect a header or custom query parameter, -// the name of the header or parameter. +// - FieldToMatch: The part of web requests that you want AWS WAF to inspect +// and, if you want AWS WAF to inspect a header or custom query parameter, +// the name of the header or parameter. // -// * TextTransformation: Which text transformation, if any, to perform on -// the web request before inspecting the request for snippets of malicious -// SQL code. You can only specify a single type of TextTransformation. +// - TextTransformation: Which text transformation, if any, to perform on +// the web request before inspecting the request for snippets of malicious +// SQL code. You can only specify a single type of TextTransformation. // // You use SqlInjectionMatchSet objects to specify which CloudFront requests // that you want to allow, block, or count. For example, if you're receiving @@ -9726,89 +9649,90 @@ func (c *WAF) UpdateSqlInjectionMatchSetRequest(input *UpdateSqlInjectionMatchSe // API operation UpdateSqlInjectionMatchSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidOperationException -// The operation failed because there was nothing to do. For example: +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - InvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * You specified an invalid parameter name. +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * NonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - NonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateSqlInjectionMatchSet func (c *WAF) UpdateSqlInjectionMatchSet(input *UpdateSqlInjectionMatchSetInput) (*UpdateSqlInjectionMatchSetOutput, error) { @@ -9848,14 +9772,13 @@ const opUpdateWebACL = "UpdateWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWebACLRequest method. +// req, resp := client.UpdateWebACLRequest(params) // -// // Example sending a request using the UpdateWebACLRequest method. -// req, resp := client.UpdateWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateWebACL func (c *WAF) UpdateWebACLRequest(input *UpdateWebACLInput) (req *request.Request, output *UpdateWebACLOutput) { @@ -9876,7 +9799,6 @@ func (c *WAF) UpdateWebACLRequest(input *UpdateWebACLInput) (req *request.Reques // UpdateWebACL API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -9890,24 +9812,24 @@ func (c *WAF) UpdateWebACLRequest(input *UpdateWebACLInput) (req *request.Reques // web requests that you want to allow, block, or count. When you update a WebACL, // you specify the following values: // -// * A default action for the WebACL, either ALLOW or BLOCK. AWS WAF performs -// the default action if a request doesn't match the criteria in any of the -// Rules in a WebACL. +// - A default action for the WebACL, either ALLOW or BLOCK. AWS WAF performs +// the default action if a request doesn't match the criteria in any of the +// Rules in a WebACL. // -// * The Rules that you want to add or delete. If you want to replace one -// Rule with another, you delete the existing Rule and add the new one. +// - The Rules that you want to add or delete. If you want to replace one +// Rule with another, you delete the existing Rule and add the new one. // -// * For each Rule, whether you want AWS WAF to allow requests, block requests, -// or count requests that match the conditions in the Rule. +// - For each Rule, whether you want AWS WAF to allow requests, block requests, +// or count requests that match the conditions in the Rule. // -// * The order in which you want AWS WAF to evaluate the Rules in a WebACL. -// If you add more than one Rule to a WebACL, AWS WAF evaluates each request -// against the Rules in order based on the value of Priority. (The Rule that -// has the lowest value for Priority is evaluated first.) When a web request -// matches all the predicates (such as ByteMatchSets and IPSets) in a Rule, -// AWS WAF immediately takes the corresponding action, allow or block, and -// doesn't evaluate the request against the remaining Rules in the WebACL, -// if any. +// - The order in which you want AWS WAF to evaluate the Rules in a WebACL. +// If you add more than one Rule to a WebACL, AWS WAF evaluates each request +// against the Rules in order based on the value of Priority. (The Rule that +// has the lowest value for Priority is evaluated first.) When a web request +// matches all the predicates (such as ByteMatchSets and IPSets) in a Rule, +// AWS WAF immediately takes the corresponding action, allow or block, and +// doesn't evaluate the request against the remaining Rules in the WebACL, +// if any. // // To create and configure a WebACL, perform the following steps: // @@ -9951,100 +9873,101 @@ func (c *WAF) UpdateWebACLRequest(input *UpdateWebACLInput) (req *request.Reques // API operation UpdateWebACL for usage and error information. // // Returned Error Types: -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * InvalidOperationException -// The operation failed because there was nothing to do. For example: +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - InvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * You specified an invalid parameter name. +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * NonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - NonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * ReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - ReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * SubscriptionNotFoundException -// The specified subscription does not exist. +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. +// +// - SubscriptionNotFoundException +// The specified subscription does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateWebACL func (c *WAF) UpdateWebACL(input *UpdateWebACLInput) (*UpdateWebACLOutput, error) { @@ -10084,14 +10007,13 @@ const opUpdateXssMatchSet = "UpdateXssMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateXssMatchSetRequest method. +// req, resp := client.UpdateXssMatchSetRequest(params) // -// // Example sending a request using the UpdateXssMatchSetRequest method. -// req, resp := client.UpdateXssMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateXssMatchSet func (c *WAF) UpdateXssMatchSetRequest(input *UpdateXssMatchSetInput) (req *request.Request, output *UpdateXssMatchSetOutput) { @@ -10112,7 +10034,6 @@ func (c *WAF) UpdateXssMatchSetRequest(input *UpdateXssMatchSetInput) (req *requ // UpdateXssMatchSet API operation for AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -10125,17 +10046,17 @@ func (c *WAF) UpdateXssMatchSetRequest(input *UpdateXssMatchSetInput) (req *requ // Inserts or deletes XssMatchTuple objects (filters) in an XssMatchSet. For // each XssMatchTuple object, you specify the following values: // -// * Action: Whether to insert the object into or delete the object from -// the array. To change an XssMatchTuple, you delete the existing object -// and add a new one. +// - Action: Whether to insert the object into or delete the object from +// the array. To change an XssMatchTuple, you delete the existing object +// and add a new one. // -// * FieldToMatch: The part of web requests that you want AWS WAF to inspect -// and, if you want AWS WAF to inspect a header or custom query parameter, -// the name of the header or parameter. +// - FieldToMatch: The part of web requests that you want AWS WAF to inspect +// and, if you want AWS WAF to inspect a header or custom query parameter, +// the name of the header or parameter. // -// * TextTransformation: Which text transformation, if any, to perform on -// the web request before inspecting the request for cross-site scripting -// attacks. You can only specify a single type of TextTransformation. +// - TextTransformation: Which text transformation, if any, to perform on +// the web request before inspecting the request for cross-site scripting +// attacks. You can only specify a single type of TextTransformation. // // You use XssMatchSet objects to specify which CloudFront requests that you // want to allow, block, or count. For example, if you're receiving requests @@ -10164,89 +10085,90 @@ func (c *WAF) UpdateXssMatchSetRequest(input *UpdateXssMatchSetInput) (req *requ // API operation UpdateXssMatchSet for usage and error information. // // Returned Error Types: -// * InternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * InvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - InternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - InvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * InvalidOperationException -// The operation failed because there was nothing to do. For example: +// - InvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * InvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - InvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * NonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - NonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * NonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - NonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * StaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - StaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * LimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - LimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-2015-08-24/UpdateXssMatchSet func (c *WAF) UpdateXssMatchSet(input *UpdateXssMatchSetInput) (*UpdateXssMatchSetOutput, error) { @@ -10270,7 +10192,6 @@ func (c *WAF) UpdateXssMatchSetWithContext(ctx aws.Context, input *UpdateXssMatc return out, req.Send() } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -10540,7 +10461,6 @@ func (s *BadRequestException) RequestID() string { return s.RespMetadata.RequestID } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -10620,7 +10540,6 @@ func (s *ByteMatchSet) SetName(v string) *ByteMatchSet { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -10681,7 +10600,6 @@ func (s *ByteMatchSetSummary) SetName(v string) *ByteMatchSetSummary { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -10761,7 +10679,6 @@ func (s *ByteMatchSetUpdate) SetByteMatchTuple(v *ByteMatchTuple) *ByteMatchSetU return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -14118,7 +14035,6 @@ func (s *DisallowedNameException) RequestID() string { return s.RespMetadata.RequestID } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -14180,7 +14096,6 @@ func (s *ExcludedRule) SetRuleId(v string) *ExcludedRule { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -14288,7 +14203,6 @@ func (s *FieldToMatch) SetType(v string) *FieldToMatch { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -14361,7 +14275,6 @@ func (s *GeoMatchConstraint) SetValue(v string) *GeoMatchConstraint { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -14432,7 +14345,6 @@ func (s *GeoMatchSet) SetName(v string) *GeoMatchSet { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -14489,7 +14401,6 @@ func (s *GeoMatchSetSummary) SetName(v string) *GeoMatchSetSummary { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -16178,7 +16089,6 @@ func (s *GetXssMatchSetOutput) SetXssMatchSet(v *XssMatchSet) *GetXssMatchSetOut return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -16232,7 +16142,6 @@ func (s *HTTPHeader) SetValue(v string) *HTTPHeader { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -16333,7 +16242,6 @@ func (s *HTTPRequest) SetURI(v string) *HTTPRequest { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -16416,7 +16324,6 @@ func (s *IPSet) SetName(v string) *IPSet { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -16509,7 +16416,6 @@ func (s *IPSetDescriptor) SetValue(v string) *IPSetDescriptor { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -16566,7 +16472,6 @@ func (s *IPSetSummary) SetName(v string) *IPSetSummary { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -16775,20 +16680,20 @@ func (s *InvalidAccountException) RequestID() string { // The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. type InvalidOperationException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -16855,30 +16760,30 @@ func (s *InvalidOperationException) RequestID() string { // The operation failed because AWS WAF didn't recognize a parameter in the // request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. type InvalidParameterException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -16952,24 +16857,24 @@ func (s *InvalidParameterException) RequestID() string { // // The policy is subject to the following restrictions: // -// * You can attach only one policy with each PutPermissionPolicy request. +// - You can attach only one policy with each PutPermissionPolicy request. // -// * The policy must include an Effect, Action and Principal. +// - The policy must include an Effect, Action and Principal. // -// * Effect must specify Allow. +// - Effect must specify Allow. // -// * The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL, -// waf:GetRuleGroup and waf-regional:GetRuleGroup . Any extra or wildcard -// actions in the policy will be rejected. +// - The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL, +// waf:GetRuleGroup and waf-regional:GetRuleGroup . Any extra or wildcard +// actions in the policy will be rejected. // -// * The policy cannot include a Resource parameter. +// - The policy cannot include a Resource parameter. // -// * The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup -// must exist in the same region. +// - The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup +// must exist in the same region. // -// * The user making the request must be the owner of the RuleGroup. +// - The user making the request must be the owner of the RuleGroup. // -// * Your policy must be composed using IAM Policy version 2012-10-17. +// - Your policy must be composed using IAM Policy version 2012-10-17. type InvalidPermissionPolicyException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -18857,7 +18762,6 @@ func (s *ListXssMatchSetsOutput) SetXssMatchSets(v []*XssMatchSetSummary) *ListX return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -18960,15 +18864,15 @@ func (s *LoggingConfiguration) SetResourceArn(v string) *LoggingConfiguration { // The operation failed because you tried to delete an object that isn't empty. // For example: // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete an IPSet that references one or more IP addresses. type NonEmptyEntityException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -19035,17 +18939,17 @@ func (s *NonEmptyEntityException) RequestID() string { // The operation failed because you tried to add an object to or delete an object // from another object that doesn't exist. For example: // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. type NonexistentContainerException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -19173,7 +19077,6 @@ func (s *NonexistentItemException) RequestID() string { return s.RespMetadata.RequestID } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -19451,7 +19354,6 @@ func (s PutPermissionPolicyOutput) GoString() string { return s.String() } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -19467,9 +19369,9 @@ func (s PutPermissionPolicyOutput) GoString() string { // an attacker, you might create a RateBasedRule that includes the following // conditions: // -// * The requests come from 192.0.2.44. +// - The requests come from 192.0.2.44. // -// * They contain the value BadBot in the User-Agent header. +// - They contain the value BadBot in the User-Agent header. // // In the rule, you also define the rate limit as 1,000. // @@ -19580,9 +19482,9 @@ func (s *RateBasedRule) SetRuleId(v string) *RateBasedRule { // The operation failed because you tried to delete an object that is still // in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. type ReferencedItemException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -19646,7 +19548,6 @@ func (s *ReferencedItemException) RequestID() string { return s.RespMetadata.RequestID } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -19730,7 +19631,6 @@ func (s *RegexMatchSet) SetRegexMatchTuples(v []*RegexMatchTuple) *RegexMatchSet return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -19791,7 +19691,6 @@ func (s *RegexMatchSetSummary) SetRegexMatchSetId(v string) *RegexMatchSetSummar return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -19872,7 +19771,6 @@ func (s *RegexMatchSetUpdate) SetRegexMatchTuple(v *RegexMatchTuple) *RegexMatch return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -19886,14 +19784,14 @@ func (s *RegexMatchSetUpdate) SetRegexMatchTuple(v *RegexMatchTuple) *RegexMatch // requests, the location in requests that you want AWS WAF to search, and other // settings. Each RegexMatchTuple object contains: // -// * The part of a web request that you want AWS WAF to inspect, such as -// a query string or the value of the User-Agent header. +// - The part of a web request that you want AWS WAF to inspect, such as +// a query string or the value of the User-Agent header. // -// * The identifier of the pattern (a regular expression) that you want AWS -// WAF to look for. For more information, see RegexPatternSet. +// - The identifier of the pattern (a regular expression) that you want AWS +// WAF to look for. For more information, see RegexPatternSet. // -// * Whether to perform any conversions on the request, such as converting -// it to lowercase, before inspecting it for the specified string. +// - Whether to perform any conversions on the request, such as converting +// it to lowercase, before inspecting it for the specified string. type RegexMatchTuple struct { _ struct{} `type:"structure"` @@ -20053,7 +19951,6 @@ func (s *RegexMatchTuple) SetTextTransformation(v string) *RegexMatchTuple { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -20125,7 +20022,6 @@ func (s *RegexPatternSet) SetRegexPatternStrings(v []*string) *RegexPatternSet { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -20187,7 +20083,6 @@ func (s *RegexPatternSetSummary) SetRegexPatternSetId(v string) *RegexPatternSet return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -20264,7 +20159,6 @@ func (s *RegexPatternSetUpdate) SetRegexPatternString(v string) *RegexPatternSet return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -20278,11 +20172,11 @@ func (s *RegexPatternSetUpdate) SetRegexPatternString(v string) *RegexPatternSet // that identify the web requests that you want to allow, block, or count. For // example, you might create a Rule that includes the following predicates: // -// * An IPSet that causes AWS WAF to search for web requests that originate -// from the IP address 192.0.2.44 +// - An IPSet that causes AWS WAF to search for web requests that originate +// from the IP address 192.0.2.44 // -// * A ByteMatchSet that causes AWS WAF to search for web requests for which -// the value of the User-Agent header is BadBot. +// - A ByteMatchSet that causes AWS WAF to search for web requests for which +// the value of the User-Agent header is BadBot. // // To match the settings in this Rule, a request must originate from 192.0.2.44 // AND include a User-Agent header for which the value is BadBot. @@ -20359,7 +20253,6 @@ func (s *Rule) SetRuleId(v string) *Rule { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -20373,12 +20266,12 @@ func (s *Rule) SetRuleId(v string) *Rule { // // Rule groups are subject to the following limits: // -// * Three rule groups per account. You can request an increase to this limit -// by contacting customer support. +// - Three rule groups per account. You can request an increase to this limit +// by contacting customer support. // -// * One rule group per web ACL. +// - One rule group per web ACL. // -// * Ten rules per rule group. +// - Ten rules per rule group. type RuleGroup struct { _ struct{} `type:"structure"` @@ -20440,7 +20333,6 @@ func (s *RuleGroup) SetRuleGroupId(v string) *RuleGroup { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -20501,7 +20393,6 @@ func (s *RuleGroupSummary) SetRuleGroupId(v string) *RuleGroupSummary { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -20581,7 +20472,6 @@ func (s *RuleGroupUpdate) SetActivatedRule(v *ActivatedRule) *RuleGroupUpdate { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -20642,7 +20532,6 @@ func (s *RuleSummary) SetRuleId(v string) *RuleSummary { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -20720,7 +20609,6 @@ func (s *RuleUpdate) SetPredicate(v *Predicate) *RuleUpdate { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -20883,7 +20771,6 @@ func (s *ServiceLinkedRoleErrorException) RequestID() string { return s.RespMetadata.RequestID } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -21090,7 +20977,6 @@ func (s *SizeConstraint) SetTextTransformation(v string) *SizeConstraint { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -21163,7 +21049,6 @@ func (s *SizeConstraintSet) SetSizeConstraints(v []*SizeConstraint) *SizeConstra return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -21224,7 +21109,6 @@ func (s *SizeConstraintSetSummary) SetSizeConstraintSetId(v string) *SizeConstra return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -21306,7 +21190,6 @@ func (s *SizeConstraintSetUpdate) SetSizeConstraint(v *SizeConstraint) *SizeCons return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -21382,7 +21265,6 @@ func (s *SqlInjectionMatchSet) SetSqlInjectionMatchTuples(v []*SqlInjectionMatch return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -21443,7 +21325,6 @@ func (s *SqlInjectionMatchSetSummary) SetSqlInjectionMatchSetId(v string) *SqlIn return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -21524,7 +21405,6 @@ func (s *SqlInjectionMatchSetUpdate) SetSqlInjectionMatchTuple(v *SqlInjectionMa return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -21738,7 +21618,6 @@ func (s *StaleDataException) RequestID() string { return s.RespMetadata.RequestID } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -21873,7 +21752,6 @@ func (s *SubscriptionNotFoundException) RequestID() string { return s.RespMetadata.RequestID } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -21951,7 +21829,6 @@ func (s *Tag) SetValue(v string) *Tag { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -22228,7 +22105,6 @@ func (s TagResourceOutput) GoString() string { return s.String() } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -24033,24 +23909,24 @@ func (s *UpdateXssMatchSetOutput) SetChangeToken(v string) *UpdateXssMatchSetOut // The operation failed due to a problem with the migration. The failure cause // is provided in the exception, in the MigrationErrorType: // -// * ENTITY_NOT_SUPPORTED - The web ACL has an unsupported entity but the -// IgnoreUnsupportedType is not set to true. +// - ENTITY_NOT_SUPPORTED - The web ACL has an unsupported entity but the +// IgnoreUnsupportedType is not set to true. // -// * ENTITY_NOT_FOUND - The web ACL doesn't exist. +// - ENTITY_NOT_FOUND - The web ACL doesn't exist. // -// * S3_BUCKET_NO_PERMISSION - You don't have permission to perform the PutObject -// action to the specified Amazon S3 bucket. +// - S3_BUCKET_NO_PERMISSION - You don't have permission to perform the PutObject +// action to the specified Amazon S3 bucket. // -// * S3_BUCKET_NOT_ACCESSIBLE - The bucket policy doesn't allow AWS WAF to -// perform the PutObject action in the bucket. +// - S3_BUCKET_NOT_ACCESSIBLE - The bucket policy doesn't allow AWS WAF to +// perform the PutObject action in the bucket. // -// * S3_BUCKET_NOT_FOUND - The S3 bucket doesn't exist. +// - S3_BUCKET_NOT_FOUND - The S3 bucket doesn't exist. // -// * S3_BUCKET_INVALID_REGION - The S3 bucket is not in the same Region as -// the web ACL. +// - S3_BUCKET_INVALID_REGION - The S3 bucket is not in the same Region as +// the web ACL. // -// * S3_INTERNAL_ERROR - AWS WAF failed to create the template in the S3 -// bucket for another reason. +// - S3_INTERNAL_ERROR - AWS WAF failed to create the template in the S3 +// bucket for another reason. type WAFEntityMigrationException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -24118,7 +23994,6 @@ func (s *WAFEntityMigrationException) RequestID() string { return s.RespMetadata.RequestID } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -24189,7 +24064,6 @@ func (s *WafAction) SetType(v string) *WafAction { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -24247,7 +24121,6 @@ func (s *WafOverrideAction) SetType(v string) *WafOverrideAction { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -24358,7 +24231,6 @@ func (s *WebACL) SetWebACLId(v string) *WebACL { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -24418,7 +24290,6 @@ func (s *WebACLSummary) SetWebACLId(v string) *WebACLSummary { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -24497,7 +24368,6 @@ func (s *WebACLUpdate) SetActivatedRule(v *ActivatedRule) *WebACLUpdate { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -24572,7 +24442,6 @@ func (s *XssMatchSet) SetXssMatchTuples(v []*XssMatchTuple) *XssMatchSet { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -24632,7 +24501,6 @@ func (s *XssMatchSetSummary) SetXssMatchSetId(v string) *XssMatchSetSummary { return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -24713,7 +24581,6 @@ func (s *XssMatchSetUpdate) SetXssMatchTuple(v *XssMatchTuple) *XssMatchSetUpdat return s } -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/doc.go index 2ce69f0afb6e..e788c97bc445 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/doc.go @@ -3,7 +3,6 @@ // Package waf provides the client and types for making API // requests to AWS WAF. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -28,7 +27,7 @@ // See waf package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/waf/ // -// Using the Client +// # Using the Client // // To contact AWS WAF with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/service.go index ed8ef729a3fd..4bfec999872d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a WAF client from just a session. -// svc := waf.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a WAF client with additional configuration -// svc := waf.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a WAF client from just a session. +// svc := waf.New(mySession) +// +// // Create a WAF client with additional configuration +// svc := waf.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *WAF { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/wafiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/wafiface/interface.go index e17f825139c7..481f5cf4687a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/wafiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/waf/wafiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS WAF. -// func myFunc(svc wafiface.WAFAPI) bool { -// // Make svc.CreateByteMatchSet request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS WAF. +// func myFunc(svc wafiface.WAFAPI) bool { +// // Make svc.CreateByteMatchSet request +// } // -// func main() { -// sess := session.New() -// svc := waf.New(sess) +// func main() { +// sess := session.New() +// svc := waf.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockWAFClient struct { -// wafiface.WAFAPI -// } -// func (m *mockWAFClient) CreateByteMatchSet(input *waf.CreateByteMatchSetInput) (*waf.CreateByteMatchSetOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockWAFClient struct { +// wafiface.WAFAPI +// } +// func (m *mockWAFClient) CreateByteMatchSet(input *waf.CreateByteMatchSetInput) (*waf.CreateByteMatchSetOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockWAFClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockWAFClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/api.go index 3e5430313a8d..1ebf8d68edbe 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/api.go @@ -29,14 +29,13 @@ const opAssociateWebACL = "AssociateWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateWebACLRequest method. +// req, resp := client.AssociateWebACLRequest(params) // -// // Example sending a request using the AssociateWebACLRequest method. -// req, resp := client.AssociateWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/AssociateWebACL func (c *WAFRegional) AssociateWebACLRequest(input *AssociateWebACLInput) (req *request.Request, output *AssociateWebACLOutput) { @@ -58,7 +57,6 @@ func (c *WAFRegional) AssociateWebACLRequest(input *AssociateWebACLInput) (req * // AssociateWebACL API operation for AWS WAF Regional. // -// // This is AWS WAF Classic Regional documentation. For more information, see // AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -79,49 +77,50 @@ func (c *WAFRegional) AssociateWebACLRequest(input *AssociateWebACLInput) (req * // API operation AssociateWebACL for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * You specified an invalid parameter name. +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFUnavailableEntityException -// The operation failed because the entity referenced is temporarily unavailable. -// Retry your request. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. +// +// - WAFUnavailableEntityException +// The operation failed because the entity referenced is temporarily unavailable. +// Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/AssociateWebACL func (c *WAFRegional) AssociateWebACL(input *AssociateWebACLInput) (*AssociateWebACLOutput, error) { @@ -161,14 +160,13 @@ const opCreateByteMatchSet = "CreateByteMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateByteMatchSetRequest method. +// req, resp := client.CreateByteMatchSetRequest(params) // -// // Example sending a request using the CreateByteMatchSetRequest method. -// req, resp := client.CreateByteMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateByteMatchSet func (c *WAFRegional) CreateByteMatchSetRequest(input *waf.CreateByteMatchSetInput) (req *request.Request, output *waf.CreateByteMatchSetOutput) { @@ -189,7 +187,6 @@ func (c *WAFRegional) CreateByteMatchSetRequest(input *waf.CreateByteMatchSetInp // CreateByteMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -230,55 +227,56 @@ func (c *WAFRegional) CreateByteMatchSetRequest(input *waf.CreateByteMatchSetInp // API operation CreateByteMatchSet for usage and error information. // // Returned Error Types: -// * WAFDisallowedNameException -// The name specified is invalid. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFDisallowedNameException +// The name specified is invalid. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateByteMatchSet func (c *WAFRegional) CreateByteMatchSet(input *waf.CreateByteMatchSetInput) (*waf.CreateByteMatchSetOutput, error) { @@ -318,14 +316,13 @@ const opCreateGeoMatchSet = "CreateGeoMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGeoMatchSetRequest method. +// req, resp := client.CreateGeoMatchSetRequest(params) // -// // Example sending a request using the CreateGeoMatchSetRequest method. -// req, resp := client.CreateGeoMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateGeoMatchSet func (c *WAFRegional) CreateGeoMatchSetRequest(input *waf.CreateGeoMatchSetInput) (req *request.Request, output *waf.CreateGeoMatchSetOutput) { @@ -346,7 +343,6 @@ func (c *WAFRegional) CreateGeoMatchSetRequest(input *waf.CreateGeoMatchSetInput // CreateGeoMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -386,55 +382,56 @@ func (c *WAFRegional) CreateGeoMatchSetRequest(input *waf.CreateGeoMatchSetInput // API operation CreateGeoMatchSet for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFDisallowedNameException -// The name specified is invalid. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFDisallowedNameException +// The name specified is invalid. // -// * You specified an invalid parameter name. +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. +// +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateGeoMatchSet func (c *WAFRegional) CreateGeoMatchSet(input *waf.CreateGeoMatchSetInput) (*waf.CreateGeoMatchSetOutput, error) { @@ -474,14 +471,13 @@ const opCreateIPSet = "CreateIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIPSetRequest method. +// req, resp := client.CreateIPSetRequest(params) // -// // Example sending a request using the CreateIPSetRequest method. -// req, resp := client.CreateIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateIPSet func (c *WAFRegional) CreateIPSetRequest(input *waf.CreateIPSetInput) (req *request.Request, output *waf.CreateIPSetOutput) { @@ -502,7 +498,6 @@ func (c *WAFRegional) CreateIPSetRequest(input *waf.CreateIPSetInput) (req *requ // CreateIPSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -543,55 +538,56 @@ func (c *WAFRegional) CreateIPSetRequest(input *waf.CreateIPSetInput) (req *requ // API operation CreateIPSet for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFDisallowedNameException -// The name specified is invalid. +// - WAFDisallowedNameException +// The name specified is invalid. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateIPSet func (c *WAFRegional) CreateIPSet(input *waf.CreateIPSetInput) (*waf.CreateIPSetOutput, error) { @@ -631,14 +627,13 @@ const opCreateRateBasedRule = "CreateRateBasedRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRateBasedRuleRequest method. +// req, resp := client.CreateRateBasedRuleRequest(params) // -// // Example sending a request using the CreateRateBasedRuleRequest method. -// req, resp := client.CreateRateBasedRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRateBasedRule func (c *WAFRegional) CreateRateBasedRuleRequest(input *waf.CreateRateBasedRuleInput) (req *request.Request, output *waf.CreateRateBasedRuleOutput) { @@ -659,7 +654,6 @@ func (c *WAFRegional) CreateRateBasedRuleRequest(input *waf.CreateRateBasedRuleI // CreateRateBasedRule API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -679,9 +673,9 @@ func (c *WAFRegional) CreateRateBasedRuleRequest(input *waf.CreateRateBasedRuleI // must exceed the RateLimit, but it also must match all the conditions to be // counted or blocked. For example, suppose you add the following to a RateBasedRule: // -// * An IPSet that matches the IP address 192.0.2.44/32 +// - An IPSet that matches the IP address 192.0.2.44/32 // -// * A ByteMatchSet that matches BadBot in the User-Agent header +// - A ByteMatchSet that matches BadBot in the User-Agent header // // Further, you specify a RateLimit of 1,000. // @@ -697,11 +691,11 @@ func (c *WAFRegional) CreateRateBasedRuleRequest(input *waf.CreateRateBasedRuleI // As a second example, suppose you want to limit requests to a particular page // on your site. To do this, you could add the following to a RateBasedRule: // -// * A ByteMatchSet with FieldToMatch of URI +// - A ByteMatchSet with FieldToMatch of URI // -// * A PositionalConstraint of STARTS_WITH +// - A PositionalConstraint of STARTS_WITH // -// * A TargetString of login +// - A TargetString of login // // Further, you specify a RateLimit of 1,000. // @@ -738,57 +732,58 @@ func (c *WAFRegional) CreateRateBasedRuleRequest(input *waf.CreateRateBasedRuleI // API operation CreateRateBasedRule for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFDisallowedNameException -// The name specified is invalid. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFDisallowedNameException +// The name specified is invalid. // -// * You specified an invalid parameter name. +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFTagOperationException +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * WAFTagOperationInternalErrorException +// - WAFTagOperationException // -// * WAFBadRequestException +// - WAFTagOperationInternalErrorException +// +// - WAFBadRequestException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRateBasedRule func (c *WAFRegional) CreateRateBasedRule(input *waf.CreateRateBasedRuleInput) (*waf.CreateRateBasedRuleOutput, error) { @@ -828,14 +823,13 @@ const opCreateRegexMatchSet = "CreateRegexMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRegexMatchSetRequest method. +// req, resp := client.CreateRegexMatchSetRequest(params) // -// // Example sending a request using the CreateRegexMatchSetRequest method. -// req, resp := client.CreateRegexMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexMatchSet func (c *WAFRegional) CreateRegexMatchSetRequest(input *waf.CreateRegexMatchSetInput) (req *request.Request, output *waf.CreateRegexMatchSetOutput) { @@ -856,7 +850,6 @@ func (c *WAFRegional) CreateRegexMatchSetRequest(input *waf.CreateRegexMatchSetI // CreateRegexMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -898,22 +891,23 @@ func (c *WAFRegional) CreateRegexMatchSetRequest(input *waf.CreateRegexMatchSetI // API operation CreateRegexMatchSet for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFDisallowedNameException -// The name specified is invalid. +// - WAFDisallowedNameException +// The name specified is invalid. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexMatchSet func (c *WAFRegional) CreateRegexMatchSet(input *waf.CreateRegexMatchSetInput) (*waf.CreateRegexMatchSetOutput, error) { @@ -953,14 +947,13 @@ const opCreateRegexPatternSet = "CreateRegexPatternSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRegexPatternSetRequest method. +// req, resp := client.CreateRegexPatternSetRequest(params) // -// // Example sending a request using the CreateRegexPatternSetRequest method. -// req, resp := client.CreateRegexPatternSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexPatternSet func (c *WAFRegional) CreateRegexPatternSetRequest(input *waf.CreateRegexPatternSetInput) (req *request.Request, output *waf.CreateRegexPatternSetOutput) { @@ -981,7 +974,6 @@ func (c *WAFRegional) CreateRegexPatternSetRequest(input *waf.CreateRegexPattern // CreateRegexPatternSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -1019,22 +1011,23 @@ func (c *WAFRegional) CreateRegexPatternSetRequest(input *waf.CreateRegexPattern // API operation CreateRegexPatternSet for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFDisallowedNameException -// The name specified is invalid. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFDisallowedNameException +// The name specified is invalid. +// +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRegexPatternSet func (c *WAFRegional) CreateRegexPatternSet(input *waf.CreateRegexPatternSetInput) (*waf.CreateRegexPatternSetOutput, error) { @@ -1074,14 +1067,13 @@ const opCreateRule = "CreateRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRuleRequest method. +// req, resp := client.CreateRuleRequest(params) // -// // Example sending a request using the CreateRuleRequest method. -// req, resp := client.CreateRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRule func (c *WAFRegional) CreateRuleRequest(input *waf.CreateRuleInput) (req *request.Request, output *waf.CreateRuleOutput) { @@ -1102,7 +1094,6 @@ func (c *WAFRegional) CreateRuleRequest(input *waf.CreateRuleInput) (req *reques // CreateRule API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -1118,9 +1109,9 @@ func (c *WAFRegional) CreateRuleRequest(input *waf.CreateRuleInput) (req *reques // to be allowed or blocked. For example, suppose that you add the following // to a Rule: // -// * An IPSet that matches the IP address 192.0.2.44/32 +// - An IPSet that matches the IP address 192.0.2.44/32 // -// * A ByteMatchSet that matches BadBot in the User-Agent header +// - A ByteMatchSet that matches BadBot in the User-Agent header // // You then add the Rule to a WebACL and specify that you want to blocks requests // that satisfy the Rule. For a request to be blocked, it must come from the @@ -1157,57 +1148,58 @@ func (c *WAFRegional) CreateRuleRequest(input *waf.CreateRuleInput) (req *reques // API operation CreateRule for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFDisallowedNameException -// The name specified is invalid. +// - WAFDisallowedNameException +// The name specified is invalid. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * WAFTagOperationException +// - WAFTagOperationException // -// * WAFTagOperationInternalErrorException +// - WAFTagOperationInternalErrorException // -// * WAFBadRequestException +// - WAFBadRequestException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRule func (c *WAFRegional) CreateRule(input *waf.CreateRuleInput) (*waf.CreateRuleOutput, error) { @@ -1247,14 +1239,13 @@ const opCreateRuleGroup = "CreateRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRuleGroupRequest method. +// req, resp := client.CreateRuleGroupRequest(params) // -// // Example sending a request using the CreateRuleGroupRequest method. -// req, resp := client.CreateRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRuleGroup func (c *WAFRegional) CreateRuleGroupRequest(input *waf.CreateRuleGroupInput) (req *request.Request, output *waf.CreateRuleGroupOutput) { @@ -1275,7 +1266,6 @@ func (c *WAFRegional) CreateRuleGroupRequest(input *waf.CreateRuleGroupInput) (r // CreateRuleGroup API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -1290,12 +1280,12 @@ func (c *WAFRegional) CreateRuleGroupRequest(input *waf.CreateRuleGroupInput) (r // // Rule groups are subject to the following limits: // -// * Three rule groups per account. You can request an increase to this limit -// by contacting customer support. +// - Three rule groups per account. You can request an increase to this limit +// by contacting customer support. // -// * One rule group per web ACL. +// - One rule group per web ACL. // -// * Ten rules per rule group. +// - Ten rules per rule group. // // For more information about how to use the AWS WAF API to allow or block HTTP // requests, see the AWS WAF Developer Guide (https://docs.aws.amazon.com/waf/latest/developerguide/). @@ -1308,28 +1298,29 @@ func (c *WAFRegional) CreateRuleGroupRequest(input *waf.CreateRuleGroupInput) (r // API operation CreateRuleGroup for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFDisallowedNameException -// The name specified is invalid. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFDisallowedNameException +// The name specified is invalid. // -// * WAFTagOperationException +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * WAFTagOperationInternalErrorException +// - WAFTagOperationException // -// * WAFBadRequestException +// - WAFTagOperationInternalErrorException +// +// - WAFBadRequestException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateRuleGroup func (c *WAFRegional) CreateRuleGroup(input *waf.CreateRuleGroupInput) (*waf.CreateRuleGroupOutput, error) { @@ -1369,14 +1360,13 @@ const opCreateSizeConstraintSet = "CreateSizeConstraintSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSizeConstraintSetRequest method. +// req, resp := client.CreateSizeConstraintSetRequest(params) // -// // Example sending a request using the CreateSizeConstraintSetRequest method. -// req, resp := client.CreateSizeConstraintSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSizeConstraintSet func (c *WAFRegional) CreateSizeConstraintSetRequest(input *waf.CreateSizeConstraintSetInput) (req *request.Request, output *waf.CreateSizeConstraintSetOutput) { @@ -1397,7 +1387,6 @@ func (c *WAFRegional) CreateSizeConstraintSetRequest(input *waf.CreateSizeConstr // CreateSizeConstraintSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -1439,55 +1428,56 @@ func (c *WAFRegional) CreateSizeConstraintSetRequest(input *waf.CreateSizeConstr // API operation CreateSizeConstraintSet for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFDisallowedNameException -// The name specified is invalid. +// - WAFDisallowedNameException +// The name specified is invalid. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSizeConstraintSet func (c *WAFRegional) CreateSizeConstraintSet(input *waf.CreateSizeConstraintSetInput) (*waf.CreateSizeConstraintSetOutput, error) { @@ -1527,14 +1517,13 @@ const opCreateSqlInjectionMatchSet = "CreateSqlInjectionMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSqlInjectionMatchSetRequest method. +// req, resp := client.CreateSqlInjectionMatchSetRequest(params) // -// // Example sending a request using the CreateSqlInjectionMatchSetRequest method. -// req, resp := client.CreateSqlInjectionMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSqlInjectionMatchSet func (c *WAFRegional) CreateSqlInjectionMatchSetRequest(input *waf.CreateSqlInjectionMatchSetInput) (req *request.Request, output *waf.CreateSqlInjectionMatchSetOutput) { @@ -1555,7 +1544,6 @@ func (c *WAFRegional) CreateSqlInjectionMatchSetRequest(input *waf.CreateSqlInje // CreateSqlInjectionMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -1593,55 +1581,56 @@ func (c *WAFRegional) CreateSqlInjectionMatchSetRequest(input *waf.CreateSqlInje // API operation CreateSqlInjectionMatchSet for usage and error information. // // Returned Error Types: -// * WAFDisallowedNameException -// The name specified is invalid. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFDisallowedNameException +// The name specified is invalid. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateSqlInjectionMatchSet func (c *WAFRegional) CreateSqlInjectionMatchSet(input *waf.CreateSqlInjectionMatchSetInput) (*waf.CreateSqlInjectionMatchSetOutput, error) { @@ -1681,14 +1670,13 @@ const opCreateWebACL = "CreateWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWebACLRequest method. +// req, resp := client.CreateWebACLRequest(params) // -// // Example sending a request using the CreateWebACLRequest method. -// req, resp := client.CreateWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACL func (c *WAFRegional) CreateWebACLRequest(input *waf.CreateWebACLInput) (req *request.Request, output *waf.CreateWebACLOutput) { @@ -1709,7 +1697,6 @@ func (c *WAFRegional) CreateWebACLRequest(input *waf.CreateWebACLInput) (req *re // CreateWebACL API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -1759,61 +1746,62 @@ func (c *WAFRegional) CreateWebACLRequest(input *waf.CreateWebACLInput) (req *re // API operation CreateWebACL for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFDisallowedNameException -// The name specified is invalid. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFDisallowedNameException +// The name specified is invalid. // -// * You specified an invalid parameter name. +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFTagOperationException +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * WAFTagOperationInternalErrorException +// - WAFTagOperationException // -// * WAFBadRequestException +// - WAFTagOperationInternalErrorException +// +// - WAFBadRequestException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACL func (c *WAFRegional) CreateWebACL(input *waf.CreateWebACLInput) (*waf.CreateWebACLOutput, error) { @@ -1853,14 +1841,13 @@ const opCreateWebACLMigrationStack = "CreateWebACLMigrationStack" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWebACLMigrationStackRequest method. +// req, resp := client.CreateWebACLMigrationStackRequest(params) // -// // Example sending a request using the CreateWebACLMigrationStackRequest method. -// req, resp := client.CreateWebACLMigrationStackRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACLMigrationStack func (c *WAFRegional) CreateWebACLMigrationStackRequest(input *waf.CreateWebACLMigrationStackInput) (req *request.Request, output *waf.CreateWebACLMigrationStackOutput) { @@ -1901,82 +1888,83 @@ func (c *WAFRegional) CreateWebACLMigrationStackRequest(input *waf.CreateWebACLM // API operation CreateWebACLMigrationStack for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * You specified an invalid parameter name. +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * WAFInvalidOperationException -// The operation failed because there was nothing to do. For example: +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - WAFInvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * WAFEntityMigrationException -// The operation failed due to a problem with the migration. The failure cause -// is provided in the exception, in the MigrationErrorType: +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * ENTITY_NOT_SUPPORTED - The web ACL has an unsupported entity but the -// IgnoreUnsupportedType is not set to true. +// - WAFEntityMigrationException +// The operation failed due to a problem with the migration. The failure cause +// is provided in the exception, in the MigrationErrorType: // -// * ENTITY_NOT_FOUND - The web ACL doesn't exist. +// - ENTITY_NOT_SUPPORTED - The web ACL has an unsupported entity but the +// IgnoreUnsupportedType is not set to true. // -// * S3_BUCKET_NO_PERMISSION - You don't have permission to perform the PutObject -// action to the specified Amazon S3 bucket. +// - ENTITY_NOT_FOUND - The web ACL doesn't exist. // -// * S3_BUCKET_NOT_ACCESSIBLE - The bucket policy doesn't allow AWS WAF to -// perform the PutObject action in the bucket. +// - S3_BUCKET_NO_PERMISSION - You don't have permission to perform the PutObject +// action to the specified Amazon S3 bucket. // -// * S3_BUCKET_NOT_FOUND - The S3 bucket doesn't exist. +// - S3_BUCKET_NOT_ACCESSIBLE - The bucket policy doesn't allow AWS WAF to +// perform the PutObject action in the bucket. // -// * S3_BUCKET_INVALID_REGION - The S3 bucket is not in the same Region as -// the web ACL. +// - S3_BUCKET_NOT_FOUND - The S3 bucket doesn't exist. // -// * S3_INTERNAL_ERROR - AWS WAF failed to create the template in the S3 -// bucket for another reason. +// - S3_BUCKET_INVALID_REGION - The S3 bucket is not in the same Region as +// the web ACL. +// +// - S3_INTERNAL_ERROR - AWS WAF failed to create the template in the S3 +// bucket for another reason. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateWebACLMigrationStack func (c *WAFRegional) CreateWebACLMigrationStack(input *waf.CreateWebACLMigrationStackInput) (*waf.CreateWebACLMigrationStackOutput, error) { @@ -2016,14 +2004,13 @@ const opCreateXssMatchSet = "CreateXssMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateXssMatchSetRequest method. +// req, resp := client.CreateXssMatchSetRequest(params) // -// // Example sending a request using the CreateXssMatchSetRequest method. -// req, resp := client.CreateXssMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateXssMatchSet func (c *WAFRegional) CreateXssMatchSetRequest(input *waf.CreateXssMatchSetInput) (req *request.Request, output *waf.CreateXssMatchSetOutput) { @@ -2044,7 +2031,6 @@ func (c *WAFRegional) CreateXssMatchSetRequest(input *waf.CreateXssMatchSetInput // CreateXssMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2083,55 +2069,56 @@ func (c *WAFRegional) CreateXssMatchSetRequest(input *waf.CreateXssMatchSetInput // API operation CreateXssMatchSet for usage and error information. // // Returned Error Types: -// * WAFDisallowedNameException -// The name specified is invalid. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFDisallowedNameException +// The name specified is invalid. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/CreateXssMatchSet func (c *WAFRegional) CreateXssMatchSet(input *waf.CreateXssMatchSetInput) (*waf.CreateXssMatchSetOutput, error) { @@ -2171,14 +2158,13 @@ const opDeleteByteMatchSet = "DeleteByteMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteByteMatchSetRequest method. +// req, resp := client.DeleteByteMatchSetRequest(params) // -// // Example sending a request using the DeleteByteMatchSetRequest method. -// req, resp := client.DeleteByteMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteByteMatchSet func (c *WAFRegional) DeleteByteMatchSetRequest(input *waf.DeleteByteMatchSetInput) (req *request.Request, output *waf.DeleteByteMatchSetOutput) { @@ -2199,7 +2185,6 @@ func (c *WAFRegional) DeleteByteMatchSetRequest(input *waf.DeleteByteMatchSetInp // DeleteByteMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2233,42 +2218,43 @@ func (c *WAFRegional) DeleteByteMatchSetRequest(input *waf.DeleteByteMatchSetInp // API operation DeleteByteMatchSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * WAFNonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - WAFNonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. +// +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteByteMatchSet func (c *WAFRegional) DeleteByteMatchSet(input *waf.DeleteByteMatchSetInput) (*waf.DeleteByteMatchSetOutput, error) { @@ -2308,14 +2294,13 @@ const opDeleteGeoMatchSet = "DeleteGeoMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGeoMatchSetRequest method. +// req, resp := client.DeleteGeoMatchSetRequest(params) // -// // Example sending a request using the DeleteGeoMatchSetRequest method. -// req, resp := client.DeleteGeoMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteGeoMatchSet func (c *WAFRegional) DeleteGeoMatchSetRequest(input *waf.DeleteGeoMatchSetInput) (req *request.Request, output *waf.DeleteGeoMatchSetOutput) { @@ -2336,7 +2321,6 @@ func (c *WAFRegional) DeleteGeoMatchSetRequest(input *waf.DeleteGeoMatchSetInput // DeleteGeoMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2369,42 +2353,43 @@ func (c *WAFRegional) DeleteGeoMatchSetRequest(input *waf.DeleteGeoMatchSetInput // API operation DeleteGeoMatchSet for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * WAFNonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - WAFNonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. +// +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteGeoMatchSet func (c *WAFRegional) DeleteGeoMatchSet(input *waf.DeleteGeoMatchSetInput) (*waf.DeleteGeoMatchSetOutput, error) { @@ -2444,14 +2429,13 @@ const opDeleteIPSet = "DeleteIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIPSetRequest method. +// req, resp := client.DeleteIPSetRequest(params) // -// // Example sending a request using the DeleteIPSetRequest method. -// req, resp := client.DeleteIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteIPSet func (c *WAFRegional) DeleteIPSetRequest(input *waf.DeleteIPSetInput) (req *request.Request, output *waf.DeleteIPSetOutput) { @@ -2472,7 +2456,6 @@ func (c *WAFRegional) DeleteIPSetRequest(input *waf.DeleteIPSetInput) (req *requ // DeleteIPSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2505,42 +2488,43 @@ func (c *WAFRegional) DeleteIPSetRequest(input *waf.DeleteIPSetInput) (req *requ // API operation DeleteIPSet for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * WAFNonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - WAFNonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteIPSet func (c *WAFRegional) DeleteIPSet(input *waf.DeleteIPSetInput) (*waf.DeleteIPSetOutput, error) { @@ -2580,14 +2564,13 @@ const opDeleteLoggingConfiguration = "DeleteLoggingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLoggingConfigurationRequest method. +// req, resp := client.DeleteLoggingConfigurationRequest(params) // -// // Example sending a request using the DeleteLoggingConfigurationRequest method. -// req, resp := client.DeleteLoggingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteLoggingConfiguration func (c *WAFRegional) DeleteLoggingConfigurationRequest(input *waf.DeleteLoggingConfigurationInput) (req *request.Request, output *waf.DeleteLoggingConfigurationOutput) { @@ -2609,7 +2592,6 @@ func (c *WAFRegional) DeleteLoggingConfigurationRequest(input *waf.DeleteLogging // DeleteLoggingConfiguration API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2629,16 +2611,17 @@ func (c *WAFRegional) DeleteLoggingConfigurationRequest(input *waf.DeleteLogging // API operation DeleteLoggingConfiguration for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. +// +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteLoggingConfiguration func (c *WAFRegional) DeleteLoggingConfiguration(input *waf.DeleteLoggingConfigurationInput) (*waf.DeleteLoggingConfigurationOutput, error) { @@ -2678,14 +2661,13 @@ const opDeletePermissionPolicy = "DeletePermissionPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePermissionPolicyRequest method. +// req, resp := client.DeletePermissionPolicyRequest(params) // -// // Example sending a request using the DeletePermissionPolicyRequest method. -// req, resp := client.DeletePermissionPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeletePermissionPolicy func (c *WAFRegional) DeletePermissionPolicyRequest(input *waf.DeletePermissionPolicyInput) (req *request.Request, output *waf.DeletePermissionPolicyOutput) { @@ -2707,7 +2689,6 @@ func (c *WAFRegional) DeletePermissionPolicyRequest(input *waf.DeletePermissionP // DeletePermissionPolicy API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2729,16 +2710,17 @@ func (c *WAFRegional) DeletePermissionPolicyRequest(input *waf.DeletePermissionP // API operation DeletePermissionPolicy for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeletePermissionPolicy func (c *WAFRegional) DeletePermissionPolicy(input *waf.DeletePermissionPolicyInput) (*waf.DeletePermissionPolicyOutput, error) { @@ -2778,14 +2760,13 @@ const opDeleteRateBasedRule = "DeleteRateBasedRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRateBasedRuleRequest method. +// req, resp := client.DeleteRateBasedRuleRequest(params) // -// // Example sending a request using the DeleteRateBasedRuleRequest method. -// req, resp := client.DeleteRateBasedRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRateBasedRule func (c *WAFRegional) DeleteRateBasedRuleRequest(input *waf.DeleteRateBasedRuleInput) (req *request.Request, output *waf.DeleteRateBasedRuleOutput) { @@ -2806,7 +2787,6 @@ func (c *WAFRegional) DeleteRateBasedRuleRequest(input *waf.DeleteRateBasedRuleI // DeleteRateBasedRule API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2841,46 +2821,47 @@ func (c *WAFRegional) DeleteRateBasedRuleRequest(input *waf.DeleteRateBasedRuleI // API operation DeleteRateBasedRule for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * WAFNonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - WAFNonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * WAFTagOperationException +// - You tried to delete an IPSet that references one or more IP addresses. // -// * WAFTagOperationInternalErrorException +// - WAFTagOperationException +// +// - WAFTagOperationInternalErrorException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRateBasedRule func (c *WAFRegional) DeleteRateBasedRule(input *waf.DeleteRateBasedRuleInput) (*waf.DeleteRateBasedRuleOutput, error) { @@ -2920,14 +2901,13 @@ const opDeleteRegexMatchSet = "DeleteRegexMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRegexMatchSetRequest method. +// req, resp := client.DeleteRegexMatchSetRequest(params) // -// // Example sending a request using the DeleteRegexMatchSetRequest method. -// req, resp := client.DeleteRegexMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexMatchSet func (c *WAFRegional) DeleteRegexMatchSetRequest(input *waf.DeleteRegexMatchSetInput) (req *request.Request, output *waf.DeleteRegexMatchSetOutput) { @@ -2948,7 +2928,6 @@ func (c *WAFRegional) DeleteRegexMatchSetRequest(input *waf.DeleteRegexMatchSetI // DeleteRegexMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -2982,42 +2961,43 @@ func (c *WAFRegional) DeleteRegexMatchSetRequest(input *waf.DeleteRegexMatchSetI // API operation DeleteRegexMatchSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * WAFNonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - WAFNonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. +// +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexMatchSet func (c *WAFRegional) DeleteRegexMatchSet(input *waf.DeleteRegexMatchSetInput) (*waf.DeleteRegexMatchSetOutput, error) { @@ -3057,14 +3037,13 @@ const opDeleteRegexPatternSet = "DeleteRegexPatternSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRegexPatternSetRequest method. +// req, resp := client.DeleteRegexPatternSetRequest(params) // -// // Example sending a request using the DeleteRegexPatternSetRequest method. -// req, resp := client.DeleteRegexPatternSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexPatternSet func (c *WAFRegional) DeleteRegexPatternSetRequest(input *waf.DeleteRegexPatternSetInput) (req *request.Request, output *waf.DeleteRegexPatternSetOutput) { @@ -3085,7 +3064,6 @@ func (c *WAFRegional) DeleteRegexPatternSetRequest(input *waf.DeleteRegexPattern // DeleteRegexPatternSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -3107,42 +3085,43 @@ func (c *WAFRegional) DeleteRegexPatternSetRequest(input *waf.DeleteRegexPattern // API operation DeleteRegexPatternSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFNonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - WAFNonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRegexPatternSet func (c *WAFRegional) DeleteRegexPatternSet(input *waf.DeleteRegexPatternSetInput) (*waf.DeleteRegexPatternSetOutput, error) { @@ -3182,14 +3161,13 @@ const opDeleteRule = "DeleteRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRuleRequest method. +// req, resp := client.DeleteRuleRequest(params) // -// // Example sending a request using the DeleteRuleRequest method. -// req, resp := client.DeleteRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRule func (c *WAFRegional) DeleteRuleRequest(input *waf.DeleteRuleInput) (req *request.Request, output *waf.DeleteRuleOutput) { @@ -3210,7 +3188,6 @@ func (c *WAFRegional) DeleteRuleRequest(input *waf.DeleteRuleInput) (req *reques // DeleteRule API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -3243,46 +3220,47 @@ func (c *WAFRegional) DeleteRuleRequest(input *waf.DeleteRuleInput) (req *reques // API operation DeleteRule for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * WAFNonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - WAFNonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * WAFTagOperationException +// - You tried to delete an IPSet that references one or more IP addresses. // -// * WAFTagOperationInternalErrorException +// - WAFTagOperationException +// +// - WAFTagOperationInternalErrorException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRule func (c *WAFRegional) DeleteRule(input *waf.DeleteRuleInput) (*waf.DeleteRuleOutput, error) { @@ -3322,14 +3300,13 @@ const opDeleteRuleGroup = "DeleteRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRuleGroupRequest method. +// req, resp := client.DeleteRuleGroupRequest(params) // -// // Example sending a request using the DeleteRuleGroupRequest method. -// req, resp := client.DeleteRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRuleGroup func (c *WAFRegional) DeleteRuleGroupRequest(input *waf.DeleteRuleGroupInput) (req *request.Request, output *waf.DeleteRuleGroupOutput) { @@ -3350,7 +3327,6 @@ func (c *WAFRegional) DeleteRuleGroupRequest(input *waf.DeleteRuleGroupInput) (r // DeleteRuleGroup API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -3382,60 +3358,61 @@ func (c *WAFRegional) DeleteRuleGroupRequest(input *waf.DeleteRuleGroupInput) (r // API operation DeleteRuleGroup for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * WAFNonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - WAFNonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete an IPSet that references one or more IP addresses. // -// * WAFInvalidOperationException -// The operation failed because there was nothing to do. For example: +// - WAFInvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * WAFTagOperationException +// - WAFTagOperationException // -// * WAFTagOperationInternalErrorException +// - WAFTagOperationInternalErrorException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteRuleGroup func (c *WAFRegional) DeleteRuleGroup(input *waf.DeleteRuleGroupInput) (*waf.DeleteRuleGroupOutput, error) { @@ -3475,14 +3452,13 @@ const opDeleteSizeConstraintSet = "DeleteSizeConstraintSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSizeConstraintSetRequest method. +// req, resp := client.DeleteSizeConstraintSetRequest(params) // -// // Example sending a request using the DeleteSizeConstraintSetRequest method. -// req, resp := client.DeleteSizeConstraintSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSizeConstraintSet func (c *WAFRegional) DeleteSizeConstraintSetRequest(input *waf.DeleteSizeConstraintSetInput) (req *request.Request, output *waf.DeleteSizeConstraintSetOutput) { @@ -3503,7 +3479,6 @@ func (c *WAFRegional) DeleteSizeConstraintSetRequest(input *waf.DeleteSizeConstr // DeleteSizeConstraintSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -3537,42 +3512,43 @@ func (c *WAFRegional) DeleteSizeConstraintSetRequest(input *waf.DeleteSizeConstr // API operation DeleteSizeConstraintSet for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * WAFNonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - WAFNonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. +// +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSizeConstraintSet func (c *WAFRegional) DeleteSizeConstraintSet(input *waf.DeleteSizeConstraintSetInput) (*waf.DeleteSizeConstraintSetOutput, error) { @@ -3612,14 +3588,13 @@ const opDeleteSqlInjectionMatchSet = "DeleteSqlInjectionMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSqlInjectionMatchSetRequest method. +// req, resp := client.DeleteSqlInjectionMatchSetRequest(params) // -// // Example sending a request using the DeleteSqlInjectionMatchSetRequest method. -// req, resp := client.DeleteSqlInjectionMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSqlInjectionMatchSet func (c *WAFRegional) DeleteSqlInjectionMatchSetRequest(input *waf.DeleteSqlInjectionMatchSetInput) (req *request.Request, output *waf.DeleteSqlInjectionMatchSetOutput) { @@ -3640,7 +3615,6 @@ func (c *WAFRegional) DeleteSqlInjectionMatchSetRequest(input *waf.DeleteSqlInje // DeleteSqlInjectionMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -3675,42 +3649,43 @@ func (c *WAFRegional) DeleteSqlInjectionMatchSetRequest(input *waf.DeleteSqlInje // API operation DeleteSqlInjectionMatchSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFNonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - WAFNonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteSqlInjectionMatchSet func (c *WAFRegional) DeleteSqlInjectionMatchSet(input *waf.DeleteSqlInjectionMatchSetInput) (*waf.DeleteSqlInjectionMatchSetOutput, error) { @@ -3750,14 +3725,13 @@ const opDeleteWebACL = "DeleteWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWebACLRequest method. +// req, resp := client.DeleteWebACLRequest(params) // -// // Example sending a request using the DeleteWebACLRequest method. -// req, resp := client.DeleteWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteWebACL func (c *WAFRegional) DeleteWebACLRequest(input *waf.DeleteWebACLInput) (req *request.Request, output *waf.DeleteWebACLOutput) { @@ -3778,7 +3752,6 @@ func (c *WAFRegional) DeleteWebACLRequest(input *waf.DeleteWebACLInput) (req *re // DeleteWebACL API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -3808,46 +3781,47 @@ func (c *WAFRegional) DeleteWebACLRequest(input *waf.DeleteWebACLInput) (req *re // API operation DeleteWebACL for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * WAFNonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - WAFNonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * WAFTagOperationException +// - You tried to delete an IPSet that references one or more IP addresses. // -// * WAFTagOperationInternalErrorException +// - WAFTagOperationException +// +// - WAFTagOperationInternalErrorException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteWebACL func (c *WAFRegional) DeleteWebACL(input *waf.DeleteWebACLInput) (*waf.DeleteWebACLOutput, error) { @@ -3887,14 +3861,13 @@ const opDeleteXssMatchSet = "DeleteXssMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteXssMatchSetRequest method. +// req, resp := client.DeleteXssMatchSetRequest(params) // -// // Example sending a request using the DeleteXssMatchSetRequest method. -// req, resp := client.DeleteXssMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteXssMatchSet func (c *WAFRegional) DeleteXssMatchSetRequest(input *waf.DeleteXssMatchSetInput) (req *request.Request, output *waf.DeleteXssMatchSetOutput) { @@ -3915,7 +3888,6 @@ func (c *WAFRegional) DeleteXssMatchSetRequest(input *waf.DeleteXssMatchSetInput // DeleteXssMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -3949,42 +3921,43 @@ func (c *WAFRegional) DeleteXssMatchSetRequest(input *waf.DeleteXssMatchSetInput // API operation DeleteXssMatchSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFNonEmptyEntityException -// The operation failed because you tried to delete an object that isn't empty. -// For example: +// - WAFNonEmptyEntityException +// The operation failed because you tried to delete an object that isn't empty. +// For example: // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete an IPSet that references one or more IP addresses. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DeleteXssMatchSet func (c *WAFRegional) DeleteXssMatchSet(input *waf.DeleteXssMatchSetInput) (*waf.DeleteXssMatchSetOutput, error) { @@ -4024,14 +3997,13 @@ const opDisassociateWebACL = "DisassociateWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateWebACLRequest method. +// req, resp := client.DisassociateWebACLRequest(params) // -// // Example sending a request using the DisassociateWebACLRequest method. -// req, resp := client.DisassociateWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DisassociateWebACL func (c *WAFRegional) DisassociateWebACLRequest(input *DisassociateWebACLInput) (req *request.Request, output *DisassociateWebACLOutput) { @@ -4053,7 +4025,6 @@ func (c *WAFRegional) DisassociateWebACLRequest(input *DisassociateWebACLInput) // DisassociateWebACL API operation for AWS WAF Regional. // -// // This is AWS WAF Classic Regional documentation. For more information, see // AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4074,45 +4045,46 @@ func (c *WAFRegional) DisassociateWebACLRequest(input *DisassociateWebACLInput) // API operation DisassociateWebACL for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * You specified an invalid parameter name. +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. +// +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/DisassociateWebACL func (c *WAFRegional) DisassociateWebACL(input *DisassociateWebACLInput) (*DisassociateWebACLOutput, error) { @@ -4152,14 +4124,13 @@ const opGetByteMatchSet = "GetByteMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetByteMatchSetRequest method. +// req, resp := client.GetByteMatchSetRequest(params) // -// // Example sending a request using the GetByteMatchSetRequest method. -// req, resp := client.GetByteMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetByteMatchSet func (c *WAFRegional) GetByteMatchSetRequest(input *waf.GetByteMatchSetInput) (req *request.Request, output *waf.GetByteMatchSetOutput) { @@ -4180,7 +4151,6 @@ func (c *WAFRegional) GetByteMatchSetRequest(input *waf.GetByteMatchSetInput) (r // GetByteMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4200,16 +4170,17 @@ func (c *WAFRegional) GetByteMatchSetRequest(input *waf.GetByteMatchSetInput) (r // API operation GetByteMatchSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetByteMatchSet func (c *WAFRegional) GetByteMatchSet(input *waf.GetByteMatchSetInput) (*waf.GetByteMatchSetOutput, error) { @@ -4249,14 +4220,13 @@ const opGetChangeToken = "GetChangeToken" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetChangeTokenRequest method. +// req, resp := client.GetChangeTokenRequest(params) // -// // Example sending a request using the GetChangeTokenRequest method. -// req, resp := client.GetChangeTokenRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeToken func (c *WAFRegional) GetChangeTokenRequest(input *waf.GetChangeTokenInput) (req *request.Request, output *waf.GetChangeTokenOutput) { @@ -4277,7 +4247,6 @@ func (c *WAFRegional) GetChangeTokenRequest(input *waf.GetChangeTokenInput) (req // GetChangeToken API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4311,9 +4280,9 @@ func (c *WAFRegional) GetChangeTokenRequest(input *waf.GetChangeTokenInput) (req // API operation GetChangeToken for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeToken func (c *WAFRegional) GetChangeToken(input *waf.GetChangeTokenInput) (*waf.GetChangeTokenOutput, error) { @@ -4353,14 +4322,13 @@ const opGetChangeTokenStatus = "GetChangeTokenStatus" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetChangeTokenStatusRequest method. +// req, resp := client.GetChangeTokenStatusRequest(params) // -// // Example sending a request using the GetChangeTokenStatusRequest method. -// req, resp := client.GetChangeTokenStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeTokenStatus func (c *WAFRegional) GetChangeTokenStatusRequest(input *waf.GetChangeTokenStatusInput) (req *request.Request, output *waf.GetChangeTokenStatusOutput) { @@ -4381,7 +4349,6 @@ func (c *WAFRegional) GetChangeTokenStatusRequest(input *waf.GetChangeTokenStatu // GetChangeTokenStatus API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4394,14 +4361,14 @@ func (c *WAFRegional) GetChangeTokenStatusRequest(input *waf.GetChangeTokenStatu // Returns the status of a ChangeToken that you got by calling GetChangeToken. // ChangeTokenStatus is one of the following values: // -// * PROVISIONED: You requested the change token by calling GetChangeToken, -// but you haven't used it yet in a call to create, update, or delete an -// AWS WAF object. +// - PROVISIONED: You requested the change token by calling GetChangeToken, +// but you haven't used it yet in a call to create, update, or delete an +// AWS WAF object. // -// * PENDING: AWS WAF is propagating the create, update, or delete request -// to all AWS WAF servers. +// - PENDING: AWS WAF is propagating the create, update, or delete request +// to all AWS WAF servers. // -// * INSYNC: Propagation is complete. +// - INSYNC: Propagation is complete. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4411,12 +4378,13 @@ func (c *WAFRegional) GetChangeTokenStatusRequest(input *waf.GetChangeTokenStatu // API operation GetChangeTokenStatus for usage and error information. // // Returned Error Types: -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetChangeTokenStatus func (c *WAFRegional) GetChangeTokenStatus(input *waf.GetChangeTokenStatusInput) (*waf.GetChangeTokenStatusOutput, error) { @@ -4456,14 +4424,13 @@ const opGetGeoMatchSet = "GetGeoMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGeoMatchSetRequest method. +// req, resp := client.GetGeoMatchSetRequest(params) // -// // Example sending a request using the GetGeoMatchSetRequest method. -// req, resp := client.GetGeoMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetGeoMatchSet func (c *WAFRegional) GetGeoMatchSetRequest(input *waf.GetGeoMatchSetInput) (req *request.Request, output *waf.GetGeoMatchSetOutput) { @@ -4484,7 +4451,6 @@ func (c *WAFRegional) GetGeoMatchSetRequest(input *waf.GetGeoMatchSetInput) (req // GetGeoMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4504,16 +4470,17 @@ func (c *WAFRegional) GetGeoMatchSetRequest(input *waf.GetGeoMatchSetInput) (req // API operation GetGeoMatchSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. +// +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetGeoMatchSet func (c *WAFRegional) GetGeoMatchSet(input *waf.GetGeoMatchSetInput) (*waf.GetGeoMatchSetOutput, error) { @@ -4553,14 +4520,13 @@ const opGetIPSet = "GetIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIPSetRequest method. +// req, resp := client.GetIPSetRequest(params) // -// // Example sending a request using the GetIPSetRequest method. -// req, resp := client.GetIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetIPSet func (c *WAFRegional) GetIPSetRequest(input *waf.GetIPSetInput) (req *request.Request, output *waf.GetIPSetOutput) { @@ -4581,7 +4547,6 @@ func (c *WAFRegional) GetIPSetRequest(input *waf.GetIPSetInput) (req *request.Re // GetIPSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4601,16 +4566,17 @@ func (c *WAFRegional) GetIPSetRequest(input *waf.GetIPSetInput) (req *request.Re // API operation GetIPSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetIPSet func (c *WAFRegional) GetIPSet(input *waf.GetIPSetInput) (*waf.GetIPSetOutput, error) { @@ -4650,14 +4616,13 @@ const opGetLoggingConfiguration = "GetLoggingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLoggingConfigurationRequest method. +// req, resp := client.GetLoggingConfigurationRequest(params) // -// // Example sending a request using the GetLoggingConfigurationRequest method. -// req, resp := client.GetLoggingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetLoggingConfiguration func (c *WAFRegional) GetLoggingConfigurationRequest(input *waf.GetLoggingConfigurationInput) (req *request.Request, output *waf.GetLoggingConfigurationOutput) { @@ -4678,7 +4643,6 @@ func (c *WAFRegional) GetLoggingConfigurationRequest(input *waf.GetLoggingConfig // GetLoggingConfiguration API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4698,12 +4662,13 @@ func (c *WAFRegional) GetLoggingConfigurationRequest(input *waf.GetLoggingConfig // API operation GetLoggingConfiguration for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetLoggingConfiguration func (c *WAFRegional) GetLoggingConfiguration(input *waf.GetLoggingConfigurationInput) (*waf.GetLoggingConfigurationOutput, error) { @@ -4743,14 +4708,13 @@ const opGetPermissionPolicy = "GetPermissionPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPermissionPolicyRequest method. +// req, resp := client.GetPermissionPolicyRequest(params) // -// // Example sending a request using the GetPermissionPolicyRequest method. -// req, resp := client.GetPermissionPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetPermissionPolicy func (c *WAFRegional) GetPermissionPolicyRequest(input *waf.GetPermissionPolicyInput) (req *request.Request, output *waf.GetPermissionPolicyOutput) { @@ -4771,7 +4735,6 @@ func (c *WAFRegional) GetPermissionPolicyRequest(input *waf.GetPermissionPolicyI // GetPermissionPolicy API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4791,12 +4754,13 @@ func (c *WAFRegional) GetPermissionPolicyRequest(input *waf.GetPermissionPolicyI // API operation GetPermissionPolicy for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetPermissionPolicy func (c *WAFRegional) GetPermissionPolicy(input *waf.GetPermissionPolicyInput) (*waf.GetPermissionPolicyOutput, error) { @@ -4836,14 +4800,13 @@ const opGetRateBasedRule = "GetRateBasedRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRateBasedRuleRequest method. +// req, resp := client.GetRateBasedRuleRequest(params) // -// // Example sending a request using the GetRateBasedRuleRequest method. -// req, resp := client.GetRateBasedRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRule func (c *WAFRegional) GetRateBasedRuleRequest(input *waf.GetRateBasedRuleInput) (req *request.Request, output *waf.GetRateBasedRuleOutput) { @@ -4864,7 +4827,6 @@ func (c *WAFRegional) GetRateBasedRuleRequest(input *waf.GetRateBasedRuleInput) // GetRateBasedRule API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4885,16 +4847,17 @@ func (c *WAFRegional) GetRateBasedRuleRequest(input *waf.GetRateBasedRuleInput) // API operation GetRateBasedRule for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRule func (c *WAFRegional) GetRateBasedRule(input *waf.GetRateBasedRuleInput) (*waf.GetRateBasedRuleOutput, error) { @@ -4934,14 +4897,13 @@ const opGetRateBasedRuleManagedKeys = "GetRateBasedRuleManagedKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRateBasedRuleManagedKeysRequest method. +// req, resp := client.GetRateBasedRuleManagedKeysRequest(params) // -// // Example sending a request using the GetRateBasedRuleManagedKeysRequest method. -// req, resp := client.GetRateBasedRuleManagedKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRuleManagedKeys func (c *WAFRegional) GetRateBasedRuleManagedKeysRequest(input *waf.GetRateBasedRuleManagedKeysInput) (req *request.Request, output *waf.GetRateBasedRuleManagedKeysOutput) { @@ -4962,7 +4924,6 @@ func (c *WAFRegional) GetRateBasedRuleManagedKeysRequest(input *waf.GetRateBased // GetRateBasedRuleManagedKeys API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -4985,45 +4946,46 @@ func (c *WAFRegional) GetRateBasedRuleManagedKeysRequest(input *waf.GetRateBased // API operation GetRateBasedRuleManagedKeys for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You specified an invalid parameter name. +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. +// +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRateBasedRuleManagedKeys func (c *WAFRegional) GetRateBasedRuleManagedKeys(input *waf.GetRateBasedRuleManagedKeysInput) (*waf.GetRateBasedRuleManagedKeysOutput, error) { @@ -5063,14 +5025,13 @@ const opGetRegexMatchSet = "GetRegexMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRegexMatchSetRequest method. +// req, resp := client.GetRegexMatchSetRequest(params) // -// // Example sending a request using the GetRegexMatchSetRequest method. -// req, resp := client.GetRegexMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexMatchSet func (c *WAFRegional) GetRegexMatchSetRequest(input *waf.GetRegexMatchSetInput) (req *request.Request, output *waf.GetRegexMatchSetOutput) { @@ -5091,7 +5052,6 @@ func (c *WAFRegional) GetRegexMatchSetRequest(input *waf.GetRegexMatchSetInput) // GetRegexMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5111,16 +5071,17 @@ func (c *WAFRegional) GetRegexMatchSetRequest(input *waf.GetRegexMatchSetInput) // API operation GetRegexMatchSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexMatchSet func (c *WAFRegional) GetRegexMatchSet(input *waf.GetRegexMatchSetInput) (*waf.GetRegexMatchSetOutput, error) { @@ -5160,14 +5121,13 @@ const opGetRegexPatternSet = "GetRegexPatternSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRegexPatternSetRequest method. +// req, resp := client.GetRegexPatternSetRequest(params) // -// // Example sending a request using the GetRegexPatternSetRequest method. -// req, resp := client.GetRegexPatternSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexPatternSet func (c *WAFRegional) GetRegexPatternSetRequest(input *waf.GetRegexPatternSetInput) (req *request.Request, output *waf.GetRegexPatternSetOutput) { @@ -5188,7 +5148,6 @@ func (c *WAFRegional) GetRegexPatternSetRequest(input *waf.GetRegexPatternSetInp // GetRegexPatternSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5208,16 +5167,17 @@ func (c *WAFRegional) GetRegexPatternSetRequest(input *waf.GetRegexPatternSetInp // API operation GetRegexPatternSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. +// +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRegexPatternSet func (c *WAFRegional) GetRegexPatternSet(input *waf.GetRegexPatternSetInput) (*waf.GetRegexPatternSetOutput, error) { @@ -5257,14 +5217,13 @@ const opGetRule = "GetRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRuleRequest method. +// req, resp := client.GetRuleRequest(params) // -// // Example sending a request using the GetRuleRequest method. -// req, resp := client.GetRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRule func (c *WAFRegional) GetRuleRequest(input *waf.GetRuleInput) (req *request.Request, output *waf.GetRuleOutput) { @@ -5285,7 +5244,6 @@ func (c *WAFRegional) GetRuleRequest(input *waf.GetRuleInput) (req *request.Requ // GetRule API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5306,16 +5264,17 @@ func (c *WAFRegional) GetRuleRequest(input *waf.GetRuleInput) (req *request.Requ // API operation GetRule for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRule func (c *WAFRegional) GetRule(input *waf.GetRuleInput) (*waf.GetRuleOutput, error) { @@ -5355,14 +5314,13 @@ const opGetRuleGroup = "GetRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRuleGroupRequest method. +// req, resp := client.GetRuleGroupRequest(params) // -// // Example sending a request using the GetRuleGroupRequest method. -// req, resp := client.GetRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRuleGroup func (c *WAFRegional) GetRuleGroupRequest(input *waf.GetRuleGroupInput) (req *request.Request, output *waf.GetRuleGroupOutput) { @@ -5383,7 +5341,6 @@ func (c *WAFRegional) GetRuleGroupRequest(input *waf.GetRuleGroupInput) (req *re // GetRuleGroup API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5406,12 +5363,13 @@ func (c *WAFRegional) GetRuleGroupRequest(input *waf.GetRuleGroupInput) (req *re // API operation GetRuleGroup for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetRuleGroup func (c *WAFRegional) GetRuleGroup(input *waf.GetRuleGroupInput) (*waf.GetRuleGroupOutput, error) { @@ -5451,14 +5409,13 @@ const opGetSampledRequests = "GetSampledRequests" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSampledRequestsRequest method. +// req, resp := client.GetSampledRequestsRequest(params) // -// // Example sending a request using the GetSampledRequestsRequest method. -// req, resp := client.GetSampledRequestsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSampledRequests func (c *WAFRegional) GetSampledRequestsRequest(input *waf.GetSampledRequestsInput) (req *request.Request, output *waf.GetSampledRequestsOutput) { @@ -5479,7 +5436,6 @@ func (c *WAFRegional) GetSampledRequestsRequest(input *waf.GetSampledRequestsInp // GetSampledRequests API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5509,12 +5465,13 @@ func (c *WAFRegional) GetSampledRequestsRequest(input *waf.GetSampledRequestsInp // API operation GetSampledRequests for usage and error information. // // Returned Error Types: -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSampledRequests func (c *WAFRegional) GetSampledRequests(input *waf.GetSampledRequestsInput) (*waf.GetSampledRequestsOutput, error) { @@ -5554,14 +5511,13 @@ const opGetSizeConstraintSet = "GetSizeConstraintSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSizeConstraintSetRequest method. +// req, resp := client.GetSizeConstraintSetRequest(params) // -// // Example sending a request using the GetSizeConstraintSetRequest method. -// req, resp := client.GetSizeConstraintSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSizeConstraintSet func (c *WAFRegional) GetSizeConstraintSetRequest(input *waf.GetSizeConstraintSetInput) (req *request.Request, output *waf.GetSizeConstraintSetOutput) { @@ -5582,7 +5538,6 @@ func (c *WAFRegional) GetSizeConstraintSetRequest(input *waf.GetSizeConstraintSe // GetSizeConstraintSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5602,16 +5557,17 @@ func (c *WAFRegional) GetSizeConstraintSetRequest(input *waf.GetSizeConstraintSe // API operation GetSizeConstraintSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSizeConstraintSet func (c *WAFRegional) GetSizeConstraintSet(input *waf.GetSizeConstraintSetInput) (*waf.GetSizeConstraintSetOutput, error) { @@ -5651,14 +5607,13 @@ const opGetSqlInjectionMatchSet = "GetSqlInjectionMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSqlInjectionMatchSetRequest method. +// req, resp := client.GetSqlInjectionMatchSetRequest(params) // -// // Example sending a request using the GetSqlInjectionMatchSetRequest method. -// req, resp := client.GetSqlInjectionMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSqlInjectionMatchSet func (c *WAFRegional) GetSqlInjectionMatchSetRequest(input *waf.GetSqlInjectionMatchSetInput) (req *request.Request, output *waf.GetSqlInjectionMatchSetOutput) { @@ -5679,7 +5634,6 @@ func (c *WAFRegional) GetSqlInjectionMatchSetRequest(input *waf.GetSqlInjectionM // GetSqlInjectionMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5699,16 +5653,17 @@ func (c *WAFRegional) GetSqlInjectionMatchSetRequest(input *waf.GetSqlInjectionM // API operation GetSqlInjectionMatchSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. +// +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetSqlInjectionMatchSet func (c *WAFRegional) GetSqlInjectionMatchSet(input *waf.GetSqlInjectionMatchSetInput) (*waf.GetSqlInjectionMatchSetOutput, error) { @@ -5748,14 +5703,13 @@ const opGetWebACL = "GetWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWebACLRequest method. +// req, resp := client.GetWebACLRequest(params) // -// // Example sending a request using the GetWebACLRequest method. -// req, resp := client.GetWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACL func (c *WAFRegional) GetWebACLRequest(input *waf.GetWebACLInput) (req *request.Request, output *waf.GetWebACLOutput) { @@ -5776,7 +5730,6 @@ func (c *WAFRegional) GetWebACLRequest(input *waf.GetWebACLInput) (req *request. // GetWebACL API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5796,16 +5749,17 @@ func (c *WAFRegional) GetWebACLRequest(input *waf.GetWebACLInput) (req *request. // API operation GetWebACL for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACL func (c *WAFRegional) GetWebACL(input *waf.GetWebACLInput) (*waf.GetWebACLOutput, error) { @@ -5845,14 +5799,13 @@ const opGetWebACLForResource = "GetWebACLForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWebACLForResourceRequest method. +// req, resp := client.GetWebACLForResourceRequest(params) // -// // Example sending a request using the GetWebACLForResourceRequest method. -// req, resp := client.GetWebACLForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACLForResource func (c *WAFRegional) GetWebACLForResourceRequest(input *GetWebACLForResourceInput) (req *request.Request, output *GetWebACLForResourceOutput) { @@ -5873,7 +5826,6 @@ func (c *WAFRegional) GetWebACLForResourceRequest(input *GetWebACLForResourceInp // GetWebACLForResource API operation for AWS WAF Regional. // -// // This is AWS WAF Classic Regional documentation. For more information, see // AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -5894,49 +5846,50 @@ func (c *WAFRegional) GetWebACLForResourceRequest(input *GetWebACLForResourceInp // API operation GetWebACLForResource for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You specified an invalid parameter name. +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * WAFUnavailableEntityException -// The operation failed because the entity referenced is temporarily unavailable. -// Retry your request. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. +// +// - WAFUnavailableEntityException +// The operation failed because the entity referenced is temporarily unavailable. +// Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetWebACLForResource func (c *WAFRegional) GetWebACLForResource(input *GetWebACLForResourceInput) (*GetWebACLForResourceOutput, error) { @@ -5976,14 +5929,13 @@ const opGetXssMatchSet = "GetXssMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetXssMatchSetRequest method. +// req, resp := client.GetXssMatchSetRequest(params) // -// // Example sending a request using the GetXssMatchSetRequest method. -// req, resp := client.GetXssMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetXssMatchSet func (c *WAFRegional) GetXssMatchSetRequest(input *waf.GetXssMatchSetInput) (req *request.Request, output *waf.GetXssMatchSetOutput) { @@ -6004,7 +5956,6 @@ func (c *WAFRegional) GetXssMatchSetRequest(input *waf.GetXssMatchSetInput) (req // GetXssMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6024,16 +5975,17 @@ func (c *WAFRegional) GetXssMatchSetRequest(input *waf.GetXssMatchSetInput) (req // API operation GetXssMatchSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/GetXssMatchSet func (c *WAFRegional) GetXssMatchSet(input *waf.GetXssMatchSetInput) (*waf.GetXssMatchSetOutput, error) { @@ -6073,14 +6025,13 @@ const opListActivatedRulesInRuleGroup = "ListActivatedRulesInRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListActivatedRulesInRuleGroupRequest method. +// req, resp := client.ListActivatedRulesInRuleGroupRequest(params) // -// // Example sending a request using the ListActivatedRulesInRuleGroupRequest method. -// req, resp := client.ListActivatedRulesInRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListActivatedRulesInRuleGroup func (c *WAFRegional) ListActivatedRulesInRuleGroupRequest(input *waf.ListActivatedRulesInRuleGroupInput) (req *request.Request, output *waf.ListActivatedRulesInRuleGroupOutput) { @@ -6101,7 +6052,6 @@ func (c *WAFRegional) ListActivatedRulesInRuleGroupRequest(input *waf.ListActiva // ListActivatedRulesInRuleGroup API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6121,41 +6071,42 @@ func (c *WAFRegional) ListActivatedRulesInRuleGroupRequest(input *waf.ListActiva // API operation ListActivatedRulesInRuleGroup for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You specified an invalid parameter name. +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. +// +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListActivatedRulesInRuleGroup func (c *WAFRegional) ListActivatedRulesInRuleGroup(input *waf.ListActivatedRulesInRuleGroupInput) (*waf.ListActivatedRulesInRuleGroupOutput, error) { @@ -6195,14 +6146,13 @@ const opListByteMatchSets = "ListByteMatchSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListByteMatchSetsRequest method. +// req, resp := client.ListByteMatchSetsRequest(params) // -// // Example sending a request using the ListByteMatchSetsRequest method. -// req, resp := client.ListByteMatchSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListByteMatchSets func (c *WAFRegional) ListByteMatchSetsRequest(input *waf.ListByteMatchSetsInput) (req *request.Request, output *waf.ListByteMatchSetsOutput) { @@ -6223,7 +6173,6 @@ func (c *WAFRegional) ListByteMatchSetsRequest(input *waf.ListByteMatchSetsInput // ListByteMatchSets API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6243,13 +6192,14 @@ func (c *WAFRegional) ListByteMatchSetsRequest(input *waf.ListByteMatchSetsInput // API operation ListByteMatchSets for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListByteMatchSets func (c *WAFRegional) ListByteMatchSets(input *waf.ListByteMatchSetsInput) (*waf.ListByteMatchSetsOutput, error) { @@ -6289,14 +6239,13 @@ const opListGeoMatchSets = "ListGeoMatchSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGeoMatchSetsRequest method. +// req, resp := client.ListGeoMatchSetsRequest(params) // -// // Example sending a request using the ListGeoMatchSetsRequest method. -// req, resp := client.ListGeoMatchSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListGeoMatchSets func (c *WAFRegional) ListGeoMatchSetsRequest(input *waf.ListGeoMatchSetsInput) (req *request.Request, output *waf.ListGeoMatchSetsOutput) { @@ -6317,7 +6266,6 @@ func (c *WAFRegional) ListGeoMatchSetsRequest(input *waf.ListGeoMatchSetsInput) // ListGeoMatchSets API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6337,13 +6285,14 @@ func (c *WAFRegional) ListGeoMatchSetsRequest(input *waf.ListGeoMatchSetsInput) // API operation ListGeoMatchSets for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListGeoMatchSets func (c *WAFRegional) ListGeoMatchSets(input *waf.ListGeoMatchSetsInput) (*waf.ListGeoMatchSetsOutput, error) { @@ -6383,14 +6332,13 @@ const opListIPSets = "ListIPSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIPSetsRequest method. +// req, resp := client.ListIPSetsRequest(params) // -// // Example sending a request using the ListIPSetsRequest method. -// req, resp := client.ListIPSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListIPSets func (c *WAFRegional) ListIPSetsRequest(input *waf.ListIPSetsInput) (req *request.Request, output *waf.ListIPSetsOutput) { @@ -6411,7 +6359,6 @@ func (c *WAFRegional) ListIPSetsRequest(input *waf.ListIPSetsInput) (req *reques // ListIPSets API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6431,13 +6378,14 @@ func (c *WAFRegional) ListIPSetsRequest(input *waf.ListIPSetsInput) (req *reques // API operation ListIPSets for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListIPSets func (c *WAFRegional) ListIPSets(input *waf.ListIPSetsInput) (*waf.ListIPSetsOutput, error) { @@ -6477,14 +6425,13 @@ const opListLoggingConfigurations = "ListLoggingConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLoggingConfigurationsRequest method. +// req, resp := client.ListLoggingConfigurationsRequest(params) // -// // Example sending a request using the ListLoggingConfigurationsRequest method. -// req, resp := client.ListLoggingConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListLoggingConfigurations func (c *WAFRegional) ListLoggingConfigurationsRequest(input *waf.ListLoggingConfigurationsInput) (req *request.Request, output *waf.ListLoggingConfigurationsOutput) { @@ -6505,7 +6452,6 @@ func (c *WAFRegional) ListLoggingConfigurationsRequest(input *waf.ListLoggingCon // ListLoggingConfigurations API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6525,41 +6471,42 @@ func (c *WAFRegional) ListLoggingConfigurationsRequest(input *waf.ListLoggingCon // API operation ListLoggingConfigurations for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListLoggingConfigurations func (c *WAFRegional) ListLoggingConfigurations(input *waf.ListLoggingConfigurationsInput) (*waf.ListLoggingConfigurationsOutput, error) { @@ -6599,14 +6546,13 @@ const opListRateBasedRules = "ListRateBasedRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRateBasedRulesRequest method. +// req, resp := client.ListRateBasedRulesRequest(params) // -// // Example sending a request using the ListRateBasedRulesRequest method. -// req, resp := client.ListRateBasedRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRateBasedRules func (c *WAFRegional) ListRateBasedRulesRequest(input *waf.ListRateBasedRulesInput) (req *request.Request, output *waf.ListRateBasedRulesOutput) { @@ -6627,7 +6573,6 @@ func (c *WAFRegional) ListRateBasedRulesRequest(input *waf.ListRateBasedRulesInp // ListRateBasedRules API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6647,13 +6592,14 @@ func (c *WAFRegional) ListRateBasedRulesRequest(input *waf.ListRateBasedRulesInp // API operation ListRateBasedRules for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRateBasedRules func (c *WAFRegional) ListRateBasedRules(input *waf.ListRateBasedRulesInput) (*waf.ListRateBasedRulesOutput, error) { @@ -6693,14 +6639,13 @@ const opListRegexMatchSets = "ListRegexMatchSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRegexMatchSetsRequest method. +// req, resp := client.ListRegexMatchSetsRequest(params) // -// // Example sending a request using the ListRegexMatchSetsRequest method. -// req, resp := client.ListRegexMatchSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexMatchSets func (c *WAFRegional) ListRegexMatchSetsRequest(input *waf.ListRegexMatchSetsInput) (req *request.Request, output *waf.ListRegexMatchSetsOutput) { @@ -6721,7 +6666,6 @@ func (c *WAFRegional) ListRegexMatchSetsRequest(input *waf.ListRegexMatchSetsInp // ListRegexMatchSets API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6741,13 +6685,14 @@ func (c *WAFRegional) ListRegexMatchSetsRequest(input *waf.ListRegexMatchSetsInp // API operation ListRegexMatchSets for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexMatchSets func (c *WAFRegional) ListRegexMatchSets(input *waf.ListRegexMatchSetsInput) (*waf.ListRegexMatchSetsOutput, error) { @@ -6787,14 +6732,13 @@ const opListRegexPatternSets = "ListRegexPatternSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRegexPatternSetsRequest method. +// req, resp := client.ListRegexPatternSetsRequest(params) // -// // Example sending a request using the ListRegexPatternSetsRequest method. -// req, resp := client.ListRegexPatternSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexPatternSets func (c *WAFRegional) ListRegexPatternSetsRequest(input *waf.ListRegexPatternSetsInput) (req *request.Request, output *waf.ListRegexPatternSetsOutput) { @@ -6815,7 +6759,6 @@ func (c *WAFRegional) ListRegexPatternSetsRequest(input *waf.ListRegexPatternSet // ListRegexPatternSets API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6835,13 +6778,14 @@ func (c *WAFRegional) ListRegexPatternSetsRequest(input *waf.ListRegexPatternSet // API operation ListRegexPatternSets for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRegexPatternSets func (c *WAFRegional) ListRegexPatternSets(input *waf.ListRegexPatternSetsInput) (*waf.ListRegexPatternSetsOutput, error) { @@ -6881,14 +6825,13 @@ const opListResourcesForWebACL = "ListResourcesForWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourcesForWebACLRequest method. +// req, resp := client.ListResourcesForWebACLRequest(params) // -// // Example sending a request using the ListResourcesForWebACLRequest method. -// req, resp := client.ListResourcesForWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListResourcesForWebACL func (c *WAFRegional) ListResourcesForWebACLRequest(input *ListResourcesForWebACLInput) (req *request.Request, output *ListResourcesForWebACLOutput) { @@ -6909,7 +6852,6 @@ func (c *WAFRegional) ListResourcesForWebACLRequest(input *ListResourcesForWebAC // ListResourcesForWebACL API operation for AWS WAF Regional. // -// // This is AWS WAF Classic Regional documentation. For more information, see // AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -6929,45 +6871,46 @@ func (c *WAFRegional) ListResourcesForWebACLRequest(input *ListResourcesForWebAC // API operation ListResourcesForWebACL for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You specified an invalid parameter name. +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. +// +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListResourcesForWebACL func (c *WAFRegional) ListResourcesForWebACL(input *ListResourcesForWebACLInput) (*ListResourcesForWebACLOutput, error) { @@ -7007,14 +6950,13 @@ const opListRuleGroups = "ListRuleGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRuleGroupsRequest method. +// req, resp := client.ListRuleGroupsRequest(params) // -// // Example sending a request using the ListRuleGroupsRequest method. -// req, resp := client.ListRuleGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRuleGroups func (c *WAFRegional) ListRuleGroupsRequest(input *waf.ListRuleGroupsInput) (req *request.Request, output *waf.ListRuleGroupsOutput) { @@ -7035,7 +6977,6 @@ func (c *WAFRegional) ListRuleGroupsRequest(input *waf.ListRuleGroupsInput) (req // ListRuleGroups API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7055,9 +6996,9 @@ func (c *WAFRegional) ListRuleGroupsRequest(input *waf.ListRuleGroupsInput) (req // API operation ListRuleGroups for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRuleGroups func (c *WAFRegional) ListRuleGroups(input *waf.ListRuleGroupsInput) (*waf.ListRuleGroupsOutput, error) { @@ -7097,14 +7038,13 @@ const opListRules = "ListRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRulesRequest method. +// req, resp := client.ListRulesRequest(params) // -// // Example sending a request using the ListRulesRequest method. -// req, resp := client.ListRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRules func (c *WAFRegional) ListRulesRequest(input *waf.ListRulesInput) (req *request.Request, output *waf.ListRulesOutput) { @@ -7125,7 +7065,6 @@ func (c *WAFRegional) ListRulesRequest(input *waf.ListRulesInput) (req *request. // ListRules API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7145,13 +7084,14 @@ func (c *WAFRegional) ListRulesRequest(input *waf.ListRulesInput) (req *request. // API operation ListRules for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListRules func (c *WAFRegional) ListRules(input *waf.ListRulesInput) (*waf.ListRulesOutput, error) { @@ -7191,14 +7131,13 @@ const opListSizeConstraintSets = "ListSizeConstraintSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSizeConstraintSetsRequest method. +// req, resp := client.ListSizeConstraintSetsRequest(params) // -// // Example sending a request using the ListSizeConstraintSetsRequest method. -// req, resp := client.ListSizeConstraintSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSizeConstraintSets func (c *WAFRegional) ListSizeConstraintSetsRequest(input *waf.ListSizeConstraintSetsInput) (req *request.Request, output *waf.ListSizeConstraintSetsOutput) { @@ -7219,7 +7158,6 @@ func (c *WAFRegional) ListSizeConstraintSetsRequest(input *waf.ListSizeConstrain // ListSizeConstraintSets API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7239,13 +7177,14 @@ func (c *WAFRegional) ListSizeConstraintSetsRequest(input *waf.ListSizeConstrain // API operation ListSizeConstraintSets for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSizeConstraintSets func (c *WAFRegional) ListSizeConstraintSets(input *waf.ListSizeConstraintSetsInput) (*waf.ListSizeConstraintSetsOutput, error) { @@ -7285,14 +7224,13 @@ const opListSqlInjectionMatchSets = "ListSqlInjectionMatchSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSqlInjectionMatchSetsRequest method. +// req, resp := client.ListSqlInjectionMatchSetsRequest(params) // -// // Example sending a request using the ListSqlInjectionMatchSetsRequest method. -// req, resp := client.ListSqlInjectionMatchSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSqlInjectionMatchSets func (c *WAFRegional) ListSqlInjectionMatchSetsRequest(input *waf.ListSqlInjectionMatchSetsInput) (req *request.Request, output *waf.ListSqlInjectionMatchSetsOutput) { @@ -7313,7 +7251,6 @@ func (c *WAFRegional) ListSqlInjectionMatchSetsRequest(input *waf.ListSqlInjecti // ListSqlInjectionMatchSets API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7333,13 +7270,14 @@ func (c *WAFRegional) ListSqlInjectionMatchSetsRequest(input *waf.ListSqlInjecti // API operation ListSqlInjectionMatchSets for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSqlInjectionMatchSets func (c *WAFRegional) ListSqlInjectionMatchSets(input *waf.ListSqlInjectionMatchSetsInput) (*waf.ListSqlInjectionMatchSetsOutput, error) { @@ -7379,14 +7317,13 @@ const opListSubscribedRuleGroups = "ListSubscribedRuleGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListSubscribedRuleGroupsRequest method. +// req, resp := client.ListSubscribedRuleGroupsRequest(params) // -// // Example sending a request using the ListSubscribedRuleGroupsRequest method. -// req, resp := client.ListSubscribedRuleGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSubscribedRuleGroups func (c *WAFRegional) ListSubscribedRuleGroupsRequest(input *waf.ListSubscribedRuleGroupsInput) (req *request.Request, output *waf.ListSubscribedRuleGroupsOutput) { @@ -7407,7 +7344,6 @@ func (c *WAFRegional) ListSubscribedRuleGroupsRequest(input *waf.ListSubscribedR // ListSubscribedRuleGroups API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7427,12 +7363,13 @@ func (c *WAFRegional) ListSubscribedRuleGroupsRequest(input *waf.ListSubscribedR // API operation ListSubscribedRuleGroups for usage and error information. // // Returned Error Types: -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListSubscribedRuleGroups func (c *WAFRegional) ListSubscribedRuleGroups(input *waf.ListSubscribedRuleGroupsInput) (*waf.ListSubscribedRuleGroupsOutput, error) { @@ -7472,14 +7409,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListTagsForResource func (c *WAFRegional) ListTagsForResourceRequest(input *waf.ListTagsForResourceInput) (req *request.Request, output *waf.ListTagsForResourceOutput) { @@ -7500,7 +7436,6 @@ func (c *WAFRegional) ListTagsForResourceRequest(input *waf.ListTagsForResourceI // ListTagsForResource API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7528,47 +7463,48 @@ func (c *WAFRegional) ListTagsForResourceRequest(input *waf.ListTagsForResourceI // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * You specified an invalid parameter name. +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFBadRequestException +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFTagOperationException +// - WAFBadRequestException // -// * WAFTagOperationInternalErrorException +// - WAFTagOperationException +// +// - WAFTagOperationInternalErrorException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListTagsForResource func (c *WAFRegional) ListTagsForResource(input *waf.ListTagsForResourceInput) (*waf.ListTagsForResourceOutput, error) { @@ -7608,14 +7544,13 @@ const opListWebACLs = "ListWebACLs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWebACLsRequest method. +// req, resp := client.ListWebACLsRequest(params) // -// // Example sending a request using the ListWebACLsRequest method. -// req, resp := client.ListWebACLsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListWebACLs func (c *WAFRegional) ListWebACLsRequest(input *waf.ListWebACLsInput) (req *request.Request, output *waf.ListWebACLsOutput) { @@ -7636,7 +7571,6 @@ func (c *WAFRegional) ListWebACLsRequest(input *waf.ListWebACLsInput) (req *requ // ListWebACLs API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7656,13 +7590,14 @@ func (c *WAFRegional) ListWebACLsRequest(input *waf.ListWebACLsInput) (req *requ // API operation ListWebACLs for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListWebACLs func (c *WAFRegional) ListWebACLs(input *waf.ListWebACLsInput) (*waf.ListWebACLsOutput, error) { @@ -7702,14 +7637,13 @@ const opListXssMatchSets = "ListXssMatchSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListXssMatchSetsRequest method. +// req, resp := client.ListXssMatchSetsRequest(params) // -// // Example sending a request using the ListXssMatchSetsRequest method. -// req, resp := client.ListXssMatchSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListXssMatchSets func (c *WAFRegional) ListXssMatchSetsRequest(input *waf.ListXssMatchSetsInput) (req *request.Request, output *waf.ListXssMatchSetsOutput) { @@ -7730,7 +7664,6 @@ func (c *WAFRegional) ListXssMatchSetsRequest(input *waf.ListXssMatchSetsInput) // ListXssMatchSets API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7750,13 +7683,14 @@ func (c *WAFRegional) ListXssMatchSetsRequest(input *waf.ListXssMatchSetsInput) // API operation ListXssMatchSets for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/ListXssMatchSets func (c *WAFRegional) ListXssMatchSets(input *waf.ListXssMatchSetsInput) (*waf.ListXssMatchSetsOutput, error) { @@ -7796,14 +7730,13 @@ const opPutLoggingConfiguration = "PutLoggingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutLoggingConfigurationRequest method. +// req, resp := client.PutLoggingConfigurationRequest(params) // -// // Example sending a request using the PutLoggingConfigurationRequest method. -// req, resp := client.PutLoggingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/PutLoggingConfiguration func (c *WAFRegional) PutLoggingConfigurationRequest(input *waf.PutLoggingConfigurationInput) (req *request.Request, output *waf.PutLoggingConfigurationOutput) { @@ -7824,7 +7757,6 @@ func (c *WAFRegional) PutLoggingConfigurationRequest(input *waf.PutLoggingConfig // PutLoggingConfiguration API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7863,26 +7795,27 @@ func (c *WAFRegional) PutLoggingConfigurationRequest(input *waf.PutLoggingConfig // API operation PutLoggingConfiguration for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. -// -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. -// -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. -// -// * WAFServiceLinkedRoleErrorException -// AWS WAF is not able to access the service linked role. This can be caused -// by a previous PutLoggingConfiguration request, which can lock the service -// linked role for about 20 seconds. Please try your request again. The service -// linked role can also be locked by a previous DeleteServiceLinkedRole request, -// which can lock the role for 15 minutes or more. If you recently made a DeleteServiceLinkedRole, -// wait at least 15 minutes and try the request again. If you receive this same -// exception again, you will have to wait additional time until the role is -// unlocked. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. +// +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - WAFServiceLinkedRoleErrorException +// AWS WAF is not able to access the service linked role. This can be caused +// by a previous PutLoggingConfiguration request, which can lock the service +// linked role for about 20 seconds. Please try your request again. The service +// linked role can also be locked by a previous DeleteServiceLinkedRole request, +// which can lock the role for 15 minutes or more. If you recently made a DeleteServiceLinkedRole, +// wait at least 15 minutes and try the request again. If you receive this same +// exception again, you will have to wait additional time until the role is +// unlocked. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/PutLoggingConfiguration func (c *WAFRegional) PutLoggingConfiguration(input *waf.PutLoggingConfigurationInput) (*waf.PutLoggingConfigurationOutput, error) { @@ -7922,14 +7855,13 @@ const opPutPermissionPolicy = "PutPermissionPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPermissionPolicyRequest method. +// req, resp := client.PutPermissionPolicyRequest(params) // -// // Example sending a request using the PutPermissionPolicyRequest method. -// req, resp := client.PutPermissionPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/PutPermissionPolicy func (c *WAFRegional) PutPermissionPolicyRequest(input *waf.PutPermissionPolicyInput) (req *request.Request, output *waf.PutPermissionPolicyOutput) { @@ -7951,7 +7883,6 @@ func (c *WAFRegional) PutPermissionPolicyRequest(input *waf.PutPermissionPolicyI // PutPermissionPolicy API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -7966,24 +7897,24 @@ func (c *WAFRegional) PutPermissionPolicyRequest(input *waf.PutPermissionPolicyI // // The PutPermissionPolicy is subject to the following restrictions: // -// * You can attach only one policy with each PutPermissionPolicy request. +// - You can attach only one policy with each PutPermissionPolicy request. // -// * The policy must include an Effect, Action and Principal. +// - The policy must include an Effect, Action and Principal. // -// * Effect must specify Allow. +// - Effect must specify Allow. // -// * The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL, -// waf:GetRuleGroup and waf-regional:GetRuleGroup . Any extra or wildcard -// actions in the policy will be rejected. +// - The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL, +// waf:GetRuleGroup and waf-regional:GetRuleGroup . Any extra or wildcard +// actions in the policy will be rejected. // -// * The policy cannot include a Resource parameter. +// - The policy cannot include a Resource parameter. // -// * The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup -// must exist in the same region. +// - The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup +// must exist in the same region. // -// * The user making the request must be the owner of the RuleGroup. +// - The user making the request must be the owner of the RuleGroup. // -// * Your policy must be composed using IAM Policy version 2012-10-17. +// - Your policy must be composed using IAM Policy version 2012-10-17. // // For more information, see IAM Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html). // @@ -7997,40 +7928,41 @@ func (c *WAFRegional) PutPermissionPolicyRequest(input *waf.PutPermissionPolicyI // API operation PutPermissionPolicy for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFInvalidPermissionPolicyException -// The operation failed because the specified policy is not in the proper format. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// The policy is subject to the following restrictions: +// - WAFInvalidPermissionPolicyException +// The operation failed because the specified policy is not in the proper format. // -// * You can attach only one policy with each PutPermissionPolicy request. +// The policy is subject to the following restrictions: // -// * The policy must include an Effect, Action and Principal. +// - You can attach only one policy with each PutPermissionPolicy request. // -// * Effect must specify Allow. +// - The policy must include an Effect, Action and Principal. // -// * The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL, -// waf:GetRuleGroup and waf-regional:GetRuleGroup . Any extra or wildcard -// actions in the policy will be rejected. +// - Effect must specify Allow. // -// * The policy cannot include a Resource parameter. +// - The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL, +// waf:GetRuleGroup and waf-regional:GetRuleGroup . Any extra or wildcard +// actions in the policy will be rejected. // -// * The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup -// must exist in the same region. +// - The policy cannot include a Resource parameter. // -// * The user making the request must be the owner of the RuleGroup. +// - The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup +// must exist in the same region. // -// * Your policy must be composed using IAM Policy version 2012-10-17. +// - The user making the request must be the owner of the RuleGroup. +// +// - Your policy must be composed using IAM Policy version 2012-10-17. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/PutPermissionPolicy func (c *WAFRegional) PutPermissionPolicy(input *waf.PutPermissionPolicyInput) (*waf.PutPermissionPolicyOutput, error) { @@ -8070,14 +8002,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/TagResource func (c *WAFRegional) TagResourceRequest(input *waf.TagResourceInput) (req *request.Request, output *waf.TagResourceOutput) { @@ -8099,7 +8030,6 @@ func (c *WAFRegional) TagResourceRequest(input *waf.TagResourceInput) (req *requ // TagResource API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -8128,53 +8058,54 @@ func (c *WAFRegional) TagResourceRequest(input *waf.TagResourceInput) (req *requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFBadRequestException +// - WAFBadRequestException // -// * WAFTagOperationException +// - WAFTagOperationException // -// * WAFTagOperationInternalErrorException +// - WAFTagOperationInternalErrorException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/TagResource func (c *WAFRegional) TagResource(input *waf.TagResourceInput) (*waf.TagResourceOutput, error) { @@ -8214,14 +8145,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UntagResource func (c *WAFRegional) UntagResourceRequest(input *waf.UntagResourceInput) (req *request.Request, output *waf.UntagResourceOutput) { @@ -8243,7 +8173,6 @@ func (c *WAFRegional) UntagResourceRequest(input *waf.UntagResourceInput) (req * // UntagResource API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -8261,47 +8190,48 @@ func (c *WAFRegional) UntagResourceRequest(input *waf.UntagResourceInput) (req * // API operation UntagResource for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * You specified an invalid parameter name. +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFBadRequestException +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFTagOperationException +// - WAFBadRequestException // -// * WAFTagOperationInternalErrorException +// - WAFTagOperationException +// +// - WAFTagOperationInternalErrorException // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UntagResource func (c *WAFRegional) UntagResource(input *waf.UntagResourceInput) (*waf.UntagResourceOutput, error) { @@ -8341,14 +8271,13 @@ const opUpdateByteMatchSet = "UpdateByteMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateByteMatchSetRequest method. +// req, resp := client.UpdateByteMatchSetRequest(params) // -// // Example sending a request using the UpdateByteMatchSetRequest method. -// req, resp := client.UpdateByteMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateByteMatchSet func (c *WAFRegional) UpdateByteMatchSetRequest(input *waf.UpdateByteMatchSetInput) (req *request.Request, output *waf.UpdateByteMatchSetOutput) { @@ -8369,7 +8298,6 @@ func (c *WAFRegional) UpdateByteMatchSetRequest(input *waf.UpdateByteMatchSetInp // UpdateByteMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -8382,22 +8310,22 @@ func (c *WAFRegional) UpdateByteMatchSetRequest(input *waf.UpdateByteMatchSetInp // Inserts or deletes ByteMatchTuple objects (filters) in a ByteMatchSet. For // each ByteMatchTuple object, you specify the following values: // -// * Whether to insert or delete the object from the array. If you want to -// change a ByteMatchSetUpdate object, you delete the existing object and -// add a new one. +// - Whether to insert or delete the object from the array. If you want to +// change a ByteMatchSetUpdate object, you delete the existing object and +// add a new one. // -// * The part of a web request that you want AWS WAF to inspect, such as -// a query string or the value of the User-Agent header. +// - The part of a web request that you want AWS WAF to inspect, such as +// a query string or the value of the User-Agent header. // -// * The bytes (typically a string that corresponds with ASCII characters) -// that you want AWS WAF to look for. For more information, including how -// you specify the values for the AWS WAF API and the AWS CLI or SDKs, see -// TargetString in the ByteMatchTuple data type. +// - The bytes (typically a string that corresponds with ASCII characters) +// that you want AWS WAF to look for. For more information, including how +// you specify the values for the AWS WAF API and the AWS CLI or SDKs, see +// TargetString in the ByteMatchTuple data type. // -// * Where to look, such as at the beginning or the end of a query string. +// - Where to look, such as at the beginning or the end of a query string. // -// * Whether to perform any conversions on the request, such as converting -// it to lowercase, before inspecting it for the specified string. +// - Whether to perform any conversions on the request, such as converting +// it to lowercase, before inspecting it for the specified string. // // For example, you can add a ByteMatchSetUpdate object that matches web requests // in which User-Agent headers contain the string BadBot. You can then configure @@ -8425,89 +8353,90 @@ func (c *WAFRegional) UpdateByteMatchSetRequest(input *waf.UpdateByteMatchSetInp // API operation UpdateByteMatchSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidOperationException -// The operation failed because there was nothing to do. For example: +// - WAFInvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFNonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - WAFNonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateByteMatchSet func (c *WAFRegional) UpdateByteMatchSet(input *waf.UpdateByteMatchSetInput) (*waf.UpdateByteMatchSetOutput, error) { @@ -8547,14 +8476,13 @@ const opUpdateGeoMatchSet = "UpdateGeoMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGeoMatchSetRequest method. +// req, resp := client.UpdateGeoMatchSetRequest(params) // -// // Example sending a request using the UpdateGeoMatchSetRequest method. -// req, resp := client.UpdateGeoMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateGeoMatchSet func (c *WAFRegional) UpdateGeoMatchSetRequest(input *waf.UpdateGeoMatchSetInput) (req *request.Request, output *waf.UpdateGeoMatchSetOutput) { @@ -8575,7 +8503,6 @@ func (c *WAFRegional) UpdateGeoMatchSetRequest(input *waf.UpdateGeoMatchSetInput // UpdateGeoMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -8588,14 +8515,14 @@ func (c *WAFRegional) UpdateGeoMatchSetRequest(input *waf.UpdateGeoMatchSetInput // Inserts or deletes GeoMatchConstraint objects in an GeoMatchSet. For each // GeoMatchConstraint object, you specify the following values: // -// * Whether to insert or delete the object from the array. If you want to -// change an GeoMatchConstraint object, you delete the existing object and -// add a new one. +// - Whether to insert or delete the object from the array. If you want to +// change an GeoMatchConstraint object, you delete the existing object and +// add a new one. // -// * The Type. The only valid value for Type is Country. +// - The Type. The only valid value for Type is Country. // -// * The Value, which is a two character code for the country to add to the -// GeoMatchConstraint object. Valid codes are listed in GeoMatchConstraint$Value. +// - The Value, which is a two character code for the country to add to the +// GeoMatchConstraint object. Valid codes are listed in GeoMatchConstraint$Value. // // To create and configure an GeoMatchSet, perform the following steps: // @@ -8622,97 +8549,98 @@ func (c *WAFRegional) UpdateGeoMatchSetRequest(input *waf.UpdateGeoMatchSetInput // API operation UpdateGeoMatchSet for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidOperationException -// The operation failed because there was nothing to do. For example: +// - WAFInvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFNonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - WAFNonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateGeoMatchSet func (c *WAFRegional) UpdateGeoMatchSet(input *waf.UpdateGeoMatchSetInput) (*waf.UpdateGeoMatchSetOutput, error) { @@ -8752,14 +8680,13 @@ const opUpdateIPSet = "UpdateIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIPSetRequest method. +// req, resp := client.UpdateIPSetRequest(params) // -// // Example sending a request using the UpdateIPSetRequest method. -// req, resp := client.UpdateIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateIPSet func (c *WAFRegional) UpdateIPSetRequest(input *waf.UpdateIPSetInput) (req *request.Request, output *waf.UpdateIPSetOutput) { @@ -8780,7 +8707,6 @@ func (c *WAFRegional) UpdateIPSetRequest(input *waf.UpdateIPSetInput) (req *requ // UpdateIPSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -8793,15 +8719,15 @@ func (c *WAFRegional) UpdateIPSetRequest(input *waf.UpdateIPSetInput) (req *requ // Inserts or deletes IPSetDescriptor objects in an IPSet. For each IPSetDescriptor // object, you specify the following values: // -// * Whether to insert or delete the object from the array. If you want to -// change an IPSetDescriptor object, you delete the existing object and add -// a new one. +// - Whether to insert or delete the object from the array. If you want to +// change an IPSetDescriptor object, you delete the existing object and add +// a new one. // -// * The IP address version, IPv4 or IPv6. +// - The IP address version, IPv4 or IPv6. // -// * The IP address in CIDR notation, for example, 192.0.2.0/24 (for the -// range of IP addresses from 192.0.2.0 to 192.0.2.255) or 192.0.2.44/32 -// (for the individual IP address 192.0.2.44). +// - The IP address in CIDR notation, for example, 192.0.2.0/24 (for the +// range of IP addresses from 192.0.2.0 to 192.0.2.255) or 192.0.2.44/32 +// (for the individual IP address 192.0.2.44). // // AWS WAF supports IPv4 address ranges: /8 and any range between /16 through // /32. AWS WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128. @@ -8810,13 +8736,13 @@ func (c *WAFRegional) UpdateIPSetRequest(input *waf.UpdateIPSetInput) (req *requ // // IPv6 addresses can be represented using any of the following formats: // -// * 1111:0000:0000:0000:0000:0000:0000:0111/128 +// - 1111:0000:0000:0000:0000:0000:0000:0111/128 // -// * 1111:0:0:0:0:0:0:0111/128 +// - 1111:0:0:0:0:0:0:0111/128 // -// * 1111::0111/128 +// - 1111::0111/128 // -// * 1111::111/128 +// - 1111::111/128 // // You use an IPSet to specify which web requests you want to allow or block // based on the IP addresses that the requests originated from. For example, @@ -8851,97 +8777,98 @@ func (c *WAFRegional) UpdateIPSetRequest(input *waf.UpdateIPSetInput) (req *requ // API operation UpdateIPSet for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidOperationException -// The operation failed because there was nothing to do. For example: +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - WAFInvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * You specified an invalid parameter name. +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * WAFNonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - WAFNonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - You tried to delete a Rule that is still referenced by a WebACL. +// +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateIPSet func (c *WAFRegional) UpdateIPSet(input *waf.UpdateIPSetInput) (*waf.UpdateIPSetOutput, error) { @@ -8981,14 +8908,13 @@ const opUpdateRateBasedRule = "UpdateRateBasedRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRateBasedRuleRequest method. +// req, resp := client.UpdateRateBasedRuleRequest(params) // -// // Example sending a request using the UpdateRateBasedRuleRequest method. -// req, resp := client.UpdateRateBasedRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRateBasedRule func (c *WAFRegional) UpdateRateBasedRuleRequest(input *waf.UpdateRateBasedRuleInput) (req *request.Request, output *waf.UpdateRateBasedRuleOutput) { @@ -9009,7 +8935,6 @@ func (c *WAFRegional) UpdateRateBasedRuleRequest(input *waf.UpdateRateBasedRuleI // UpdateRateBasedRule API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -9031,9 +8956,9 @@ func (c *WAFRegional) UpdateRateBasedRuleRequest(input *waf.UpdateRateBasedRuleI // all the predicates and exceed the RateLimit to be counted or blocked. For // example, suppose you add the following to a RateBasedRule: // -// * An IPSet that matches the IP address 192.0.2.44/32 +// - An IPSet that matches the IP address 192.0.2.44/32 // -// * A ByteMatchSet that matches BadBot in the User-Agent header +// - A ByteMatchSet that matches BadBot in the User-Agent header // // Further, you specify a RateLimit of 1,000. // @@ -9047,11 +8972,11 @@ func (c *WAFRegional) UpdateRateBasedRuleRequest(input *waf.UpdateRateBasedRuleI // As a second example, suppose you want to limit requests to a particular page // on your site. To do this, you could add the following to a RateBasedRule: // -// * A ByteMatchSet with FieldToMatch of URI +// - A ByteMatchSet with FieldToMatch of URI // -// * A PositionalConstraint of STARTS_WITH +// - A PositionalConstraint of STARTS_WITH // -// * A TargetString of login +// - A TargetString of login // // Further, you specify a RateLimit of 1,000. // @@ -9066,97 +8991,98 @@ func (c *WAFRegional) UpdateRateBasedRuleRequest(input *waf.UpdateRateBasedRuleI // API operation UpdateRateBasedRule for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidOperationException -// The operation failed because there was nothing to do. For example: +// - WAFInvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFNonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - WAFNonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRateBasedRule func (c *WAFRegional) UpdateRateBasedRule(input *waf.UpdateRateBasedRuleInput) (*waf.UpdateRateBasedRuleOutput, error) { @@ -9196,14 +9122,13 @@ const opUpdateRegexMatchSet = "UpdateRegexMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRegexMatchSetRequest method. +// req, resp := client.UpdateRegexMatchSetRequest(params) // -// // Example sending a request using the UpdateRegexMatchSetRequest method. -// req, resp := client.UpdateRegexMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexMatchSet func (c *WAFRegional) UpdateRegexMatchSetRequest(input *waf.UpdateRegexMatchSetInput) (req *request.Request, output *waf.UpdateRegexMatchSetOutput) { @@ -9224,7 +9149,6 @@ func (c *WAFRegional) UpdateRegexMatchSetRequest(input *waf.UpdateRegexMatchSetI // UpdateRegexMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -9237,18 +9161,18 @@ func (c *WAFRegional) UpdateRegexMatchSetRequest(input *waf.UpdateRegexMatchSetI // Inserts or deletes RegexMatchTuple objects (filters) in a RegexMatchSet. // For each RegexMatchSetUpdate object, you specify the following values: // -// * Whether to insert or delete the object from the array. If you want to -// change a RegexMatchSetUpdate object, you delete the existing object and -// add a new one. +// - Whether to insert or delete the object from the array. If you want to +// change a RegexMatchSetUpdate object, you delete the existing object and +// add a new one. // -// * The part of a web request that you want AWS WAF to inspectupdate, such -// as a query string or the value of the User-Agent header. +// - The part of a web request that you want AWS WAF to inspectupdate, such +// as a query string or the value of the User-Agent header. // -// * The identifier of the pattern (a regular expression) that you want AWS -// WAF to look for. For more information, see RegexPatternSet. +// - The identifier of the pattern (a regular expression) that you want AWS +// WAF to look for. For more information, see RegexPatternSet. // -// * Whether to perform any conversions on the request, such as converting -// it to lowercase, before inspecting it for the specified string. +// - Whether to perform any conversions on the request, such as converting +// it to lowercase, before inspecting it for the specified string. // // For example, you can create a RegexPatternSet that matches any requests with // User-Agent headers that contain the string B[a@]dB[o0]t. You can then configure @@ -9277,63 +9201,64 @@ func (c *WAFRegional) UpdateRegexMatchSetRequest(input *waf.UpdateRegexMatchSetI // API operation UpdateRegexMatchSet for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFDisallowedNameException -// The name specified is invalid. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFDisallowedNameException +// The name specified is invalid. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * WAFNonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - WAFNonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * WAFInvalidOperationException -// The operation failed because there was nothing to do. For example: +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - WAFInvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexMatchSet func (c *WAFRegional) UpdateRegexMatchSet(input *waf.UpdateRegexMatchSetInput) (*waf.UpdateRegexMatchSetOutput, error) { @@ -9373,14 +9298,13 @@ const opUpdateRegexPatternSet = "UpdateRegexPatternSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRegexPatternSetRequest method. +// req, resp := client.UpdateRegexPatternSetRequest(params) // -// // Example sending a request using the UpdateRegexPatternSetRequest method. -// req, resp := client.UpdateRegexPatternSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexPatternSet func (c *WAFRegional) UpdateRegexPatternSetRequest(input *waf.UpdateRegexPatternSetInput) (req *request.Request, output *waf.UpdateRegexPatternSetOutput) { @@ -9401,7 +9325,6 @@ func (c *WAFRegional) UpdateRegexPatternSetRequest(input *waf.UpdateRegexPattern // UpdateRegexPatternSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -9414,21 +9337,21 @@ func (c *WAFRegional) UpdateRegexPatternSetRequest(input *waf.UpdateRegexPattern // Inserts or deletes RegexPatternString objects in a RegexPatternSet. For each // RegexPatternString object, you specify the following values: // -// * Whether to insert or delete the RegexPatternString. +// - Whether to insert or delete the RegexPatternString. // -// * The regular expression pattern that you want to insert or delete. For -// more information, see RegexPatternSet. +// - The regular expression pattern that you want to insert or delete. For +// more information, see RegexPatternSet. // // For example, you can create a RegexPatternString such as B[a@]dB[o0]t. AWS // WAF will match this RegexPatternString to: // -// * BadBot +// - BadBot // -// * BadB0t +// - BadB0t // -// * B@dBot +// - B@dBot // -// * B@dB0t +// - B@dB0t // // To create and configure a RegexPatternSet, perform the following steps: // @@ -9451,63 +9374,64 @@ func (c *WAFRegional) UpdateRegexPatternSetRequest(input *waf.UpdateRegexPattern // API operation UpdateRegexPatternSet for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFNonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - WAFNonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * WAFInvalidOperationException -// The operation failed because there was nothing to do. For example: +// - WAFInvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidRegexPatternException -// The regular expression (regex) you specified in RegexPatternString is invalid. +// - WAFInvalidRegexPatternException +// The regular expression (regex) you specified in RegexPatternString is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRegexPatternSet func (c *WAFRegional) UpdateRegexPatternSet(input *waf.UpdateRegexPatternSetInput) (*waf.UpdateRegexPatternSetOutput, error) { @@ -9547,14 +9471,13 @@ const opUpdateRule = "UpdateRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRuleRequest method. +// req, resp := client.UpdateRuleRequest(params) // -// // Example sending a request using the UpdateRuleRequest method. -// req, resp := client.UpdateRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRule func (c *WAFRegional) UpdateRuleRequest(input *waf.UpdateRuleInput) (req *request.Request, output *waf.UpdateRuleOutput) { @@ -9575,7 +9498,6 @@ func (c *WAFRegional) UpdateRuleRequest(input *waf.UpdateRuleInput) (req *reques // UpdateRule API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -9592,9 +9514,9 @@ func (c *WAFRegional) UpdateRuleRequest(input *waf.UpdateRuleInput) (req *reques // blocked, or counted. For example, suppose that you add the following to a // Rule: // -// * A ByteMatchSet that matches the value BadBot in the User-Agent header +// - A ByteMatchSet that matches the value BadBot in the User-Agent header // -// * An IPSet that matches the IP address 192.0.2.44 +// - An IPSet that matches the IP address 192.0.2.44 // // You then add the Rule to a WebACL and specify that you want to block requests // that satisfy the Rule. For a request to be blocked, the User-Agent header @@ -9628,97 +9550,98 @@ func (c *WAFRegional) UpdateRuleRequest(input *waf.UpdateRuleInput) (req *reques // API operation UpdateRule for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidOperationException -// The operation failed because there was nothing to do. For example: +// - WAFInvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFNonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - WAFNonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRule func (c *WAFRegional) UpdateRule(input *waf.UpdateRuleInput) (*waf.UpdateRuleOutput, error) { @@ -9758,14 +9681,13 @@ const opUpdateRuleGroup = "UpdateRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRuleGroupRequest method. +// req, resp := client.UpdateRuleGroupRequest(params) // -// // Example sending a request using the UpdateRuleGroupRequest method. -// req, resp := client.UpdateRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRuleGroup func (c *WAFRegional) UpdateRuleGroupRequest(input *waf.UpdateRuleGroupInput) (req *request.Request, output *waf.UpdateRuleGroupOutput) { @@ -9786,7 +9708,6 @@ func (c *WAFRegional) UpdateRuleGroupRequest(input *waf.UpdateRuleGroupInput) (r // UpdateRuleGroup API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -9828,85 +9749,86 @@ func (c *WAFRegional) UpdateRuleGroupRequest(input *waf.UpdateRuleGroupInput) (r // API operation UpdateRuleGroup for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFNonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - WAFNonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * WAFInvalidOperationException -// The operation failed because there was nothing to do. For example: +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - WAFInvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * You specified an invalid parameter name. +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. +// +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateRuleGroup func (c *WAFRegional) UpdateRuleGroup(input *waf.UpdateRuleGroupInput) (*waf.UpdateRuleGroupOutput, error) { @@ -9946,14 +9868,13 @@ const opUpdateSizeConstraintSet = "UpdateSizeConstraintSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSizeConstraintSetRequest method. +// req, resp := client.UpdateSizeConstraintSetRequest(params) // -// // Example sending a request using the UpdateSizeConstraintSetRequest method. -// req, resp := client.UpdateSizeConstraintSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSizeConstraintSet func (c *WAFRegional) UpdateSizeConstraintSetRequest(input *waf.UpdateSizeConstraintSetInput) (req *request.Request, output *waf.UpdateSizeConstraintSetOutput) { @@ -9974,7 +9895,6 @@ func (c *WAFRegional) UpdateSizeConstraintSetRequest(input *waf.UpdateSizeConstr // UpdateSizeConstraintSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -9987,25 +9907,25 @@ func (c *WAFRegional) UpdateSizeConstraintSetRequest(input *waf.UpdateSizeConstr // Inserts or deletes SizeConstraint objects (filters) in a SizeConstraintSet. // For each SizeConstraint object, you specify the following values: // -// * Whether to insert or delete the object from the array. If you want to -// change a SizeConstraintSetUpdate object, you delete the existing object -// and add a new one. +// - Whether to insert or delete the object from the array. If you want to +// change a SizeConstraintSetUpdate object, you delete the existing object +// and add a new one. // -// * The part of a web request that you want AWS WAF to evaluate, such as -// the length of a query string or the length of the User-Agent header. +// - The part of a web request that you want AWS WAF to evaluate, such as +// the length of a query string or the length of the User-Agent header. // -// * Whether to perform any transformations on the request, such as converting -// it to lowercase, before checking its length. Note that transformations -// of the request body are not supported because the AWS resource forwards -// only the first 8192 bytes of your request to AWS WAF. You can only specify -// a single type of TextTransformation. +// - Whether to perform any transformations on the request, such as converting +// it to lowercase, before checking its length. Note that transformations +// of the request body are not supported because the AWS resource forwards +// only the first 8192 bytes of your request to AWS WAF. You can only specify +// a single type of TextTransformation. // -// * A ComparisonOperator used for evaluating the selected part of the request -// against the specified Size, such as equals, greater than, less than, and -// so on. +// - A ComparisonOperator used for evaluating the selected part of the request +// against the specified Size, such as equals, greater than, less than, and +// so on. // -// * The length, in bytes, that you want AWS WAF to watch for in selected -// part of the request. The length is computed after applying the transformation. +// - The length, in bytes, that you want AWS WAF to watch for in selected +// part of the request. The length is computed after applying the transformation. // // For example, you can add a SizeConstraintSetUpdate object that matches web // requests in which the length of the User-Agent header is greater than 100 @@ -10033,97 +9953,98 @@ func (c *WAFRegional) UpdateSizeConstraintSetRequest(input *waf.UpdateSizeConstr // API operation UpdateSizeConstraintSet for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidOperationException -// The operation failed because there was nothing to do. For example: +// - WAFInvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFNonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - WAFNonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSizeConstraintSet func (c *WAFRegional) UpdateSizeConstraintSet(input *waf.UpdateSizeConstraintSetInput) (*waf.UpdateSizeConstraintSetOutput, error) { @@ -10163,14 +10084,13 @@ const opUpdateSqlInjectionMatchSet = "UpdateSqlInjectionMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSqlInjectionMatchSetRequest method. +// req, resp := client.UpdateSqlInjectionMatchSetRequest(params) // -// // Example sending a request using the UpdateSqlInjectionMatchSetRequest method. -// req, resp := client.UpdateSqlInjectionMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSqlInjectionMatchSet func (c *WAFRegional) UpdateSqlInjectionMatchSetRequest(input *waf.UpdateSqlInjectionMatchSetInput) (req *request.Request, output *waf.UpdateSqlInjectionMatchSetOutput) { @@ -10191,7 +10111,6 @@ func (c *WAFRegional) UpdateSqlInjectionMatchSetRequest(input *waf.UpdateSqlInje // UpdateSqlInjectionMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -10204,17 +10123,17 @@ func (c *WAFRegional) UpdateSqlInjectionMatchSetRequest(input *waf.UpdateSqlInje // Inserts or deletes SqlInjectionMatchTuple objects (filters) in a SqlInjectionMatchSet. // For each SqlInjectionMatchTuple object, you specify the following values: // -// * Action: Whether to insert the object into or delete the object from -// the array. To change a SqlInjectionMatchTuple, you delete the existing -// object and add a new one. +// - Action: Whether to insert the object into or delete the object from +// the array. To change a SqlInjectionMatchTuple, you delete the existing +// object and add a new one. // -// * FieldToMatch: The part of web requests that you want AWS WAF to inspect -// and, if you want AWS WAF to inspect a header or custom query parameter, -// the name of the header or parameter. +// - FieldToMatch: The part of web requests that you want AWS WAF to inspect +// and, if you want AWS WAF to inspect a header or custom query parameter, +// the name of the header or parameter. // -// * TextTransformation: Which text transformation, if any, to perform on -// the web request before inspecting the request for snippets of malicious -// SQL code. You can only specify a single type of TextTransformation. +// - TextTransformation: Which text transformation, if any, to perform on +// the web request before inspecting the request for snippets of malicious +// SQL code. You can only specify a single type of TextTransformation. // // You use SqlInjectionMatchSet objects to specify which CloudFront requests // that you want to allow, block, or count. For example, if you're receiving @@ -10243,89 +10162,90 @@ func (c *WAFRegional) UpdateSqlInjectionMatchSetRequest(input *waf.UpdateSqlInje // API operation UpdateSqlInjectionMatchSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidOperationException -// The operation failed because there was nothing to do. For example: +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - WAFInvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * You specified an invalid parameter name. +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid value. +// - You specified an invalid parameter name. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You specified an invalid value. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * WAFNonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - WAFNonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateSqlInjectionMatchSet func (c *WAFRegional) UpdateSqlInjectionMatchSet(input *waf.UpdateSqlInjectionMatchSetInput) (*waf.UpdateSqlInjectionMatchSetOutput, error) { @@ -10365,14 +10285,13 @@ const opUpdateWebACL = "UpdateWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWebACLRequest method. +// req, resp := client.UpdateWebACLRequest(params) // -// // Example sending a request using the UpdateWebACLRequest method. -// req, resp := client.UpdateWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateWebACL func (c *WAFRegional) UpdateWebACLRequest(input *waf.UpdateWebACLInput) (req *request.Request, output *waf.UpdateWebACLOutput) { @@ -10393,7 +10312,6 @@ func (c *WAFRegional) UpdateWebACLRequest(input *waf.UpdateWebACLInput) (req *re // UpdateWebACL API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -10407,24 +10325,24 @@ func (c *WAFRegional) UpdateWebACLRequest(input *waf.UpdateWebACLInput) (req *re // web requests that you want to allow, block, or count. When you update a WebACL, // you specify the following values: // -// * A default action for the WebACL, either ALLOW or BLOCK. AWS WAF performs -// the default action if a request doesn't match the criteria in any of the -// Rules in a WebACL. +// - A default action for the WebACL, either ALLOW or BLOCK. AWS WAF performs +// the default action if a request doesn't match the criteria in any of the +// Rules in a WebACL. // -// * The Rules that you want to add or delete. If you want to replace one -// Rule with another, you delete the existing Rule and add the new one. +// - The Rules that you want to add or delete. If you want to replace one +// Rule with another, you delete the existing Rule and add the new one. // -// * For each Rule, whether you want AWS WAF to allow requests, block requests, -// or count requests that match the conditions in the Rule. +// - For each Rule, whether you want AWS WAF to allow requests, block requests, +// or count requests that match the conditions in the Rule. // -// * The order in which you want AWS WAF to evaluate the Rules in a WebACL. -// If you add more than one Rule to a WebACL, AWS WAF evaluates each request -// against the Rules in order based on the value of Priority. (The Rule that -// has the lowest value for Priority is evaluated first.) When a web request -// matches all the predicates (such as ByteMatchSets and IPSets) in a Rule, -// AWS WAF immediately takes the corresponding action, allow or block, and -// doesn't evaluate the request against the remaining Rules in the WebACL, -// if any. +// - The order in which you want AWS WAF to evaluate the Rules in a WebACL. +// If you add more than one Rule to a WebACL, AWS WAF evaluates each request +// against the Rules in order based on the value of Priority. (The Rule that +// has the lowest value for Priority is evaluated first.) When a web request +// matches all the predicates (such as ByteMatchSets and IPSets) in a Rule, +// AWS WAF immediately takes the corresponding action, allow or block, and +// doesn't evaluate the request against the remaining Rules in the WebACL, +// if any. // // To create and configure a WebACL, perform the following steps: // @@ -10468,100 +10386,101 @@ func (c *WAFRegional) UpdateWebACLRequest(input *waf.UpdateWebACLInput) (req *re // API operation UpdateWebACL for usage and error information. // // Returned Error Types: -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. // -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. +// +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidOperationException -// The operation failed because there was nothing to do. For example: +// - WAFInvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFNonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - WAFNonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFReferencedItemException -// The operation failed because you tried to delete an object that is still -// in use. For example: +// - WAFReferencedItemException +// The operation failed because you tried to delete an object that is still +// in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // -// * WAFSubscriptionNotFoundException -// The specified subscription does not exist. +// - WAFSubscriptionNotFoundException +// The specified subscription does not exist. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateWebACL func (c *WAFRegional) UpdateWebACL(input *waf.UpdateWebACLInput) (*waf.UpdateWebACLOutput, error) { @@ -10601,14 +10520,13 @@ const opUpdateXssMatchSet = "UpdateXssMatchSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateXssMatchSetRequest method. +// req, resp := client.UpdateXssMatchSetRequest(params) // -// // Example sending a request using the UpdateXssMatchSetRequest method. -// req, resp := client.UpdateXssMatchSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateXssMatchSet func (c *WAFRegional) UpdateXssMatchSetRequest(input *waf.UpdateXssMatchSetInput) (req *request.Request, output *waf.UpdateXssMatchSetOutput) { @@ -10629,7 +10547,6 @@ func (c *WAFRegional) UpdateXssMatchSetRequest(input *waf.UpdateXssMatchSetInput // UpdateXssMatchSet API operation for AWS WAF Regional. // -// // This is AWS WAF Classic documentation. For more information, see AWS WAF // Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -10642,17 +10559,17 @@ func (c *WAFRegional) UpdateXssMatchSetRequest(input *waf.UpdateXssMatchSetInput // Inserts or deletes XssMatchTuple objects (filters) in an XssMatchSet. For // each XssMatchTuple object, you specify the following values: // -// * Action: Whether to insert the object into or delete the object from -// the array. To change an XssMatchTuple, you delete the existing object -// and add a new one. +// - Action: Whether to insert the object into or delete the object from +// the array. To change an XssMatchTuple, you delete the existing object +// and add a new one. // -// * FieldToMatch: The part of web requests that you want AWS WAF to inspect -// and, if you want AWS WAF to inspect a header or custom query parameter, -// the name of the header or parameter. +// - FieldToMatch: The part of web requests that you want AWS WAF to inspect +// and, if you want AWS WAF to inspect a header or custom query parameter, +// the name of the header or parameter. // -// * TextTransformation: Which text transformation, if any, to perform on -// the web request before inspecting the request for cross-site scripting -// attacks. You can only specify a single type of TextTransformation. +// - TextTransformation: Which text transformation, if any, to perform on +// the web request before inspecting the request for cross-site scripting +// attacks. You can only specify a single type of TextTransformation. // // You use XssMatchSet objects to specify which CloudFront requests that you // want to allow, block, or count. For example, if you're receiving requests @@ -10681,89 +10598,90 @@ func (c *WAFRegional) UpdateXssMatchSetRequest(input *waf.UpdateXssMatchSetInput // API operation UpdateXssMatchSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// The operation failed because of a system problem, even though the request -// was valid. Retry your request. // -// * WAFInvalidAccountException -// The operation failed because you tried to create, update, or delete an object -// by using an invalid account identifier. +// - WAFInternalErrorException +// The operation failed because of a system problem, even though the request +// was valid. Retry your request. +// +// - WAFInvalidAccountException +// The operation failed because you tried to create, update, or delete an object +// by using an invalid account identifier. // -// * WAFInvalidOperationException -// The operation failed because there was nothing to do. For example: +// - WAFInvalidOperationException +// The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. // -// * WAFInvalidParameterException -// The operation failed because AWS WAF didn't recognize a parameter in the -// request. For example: +// - WAFInvalidParameterException +// The operation failed because AWS WAF didn't recognize a parameter in the +// request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. // -// * WAFNonexistentContainerException -// The operation failed because you tried to add an object to or delete an object -// from another object that doesn't exist. For example: +// - WAFNonexistentContainerException +// The operation failed because you tried to add an object to or delete an object +// from another object that doesn't exist. For example: // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. // -// * WAFNonexistentItemException -// The operation failed because the referenced object doesn't exist. +// - WAFNonexistentItemException +// The operation failed because the referenced object doesn't exist. // -// * WAFStaleDataException -// The operation failed because you tried to create, update, or delete an object -// by using a change token that has already been used. +// - WAFStaleDataException +// The operation failed because you tried to create, update, or delete an object +// by using a change token that has already been used. // -// * WAFLimitsExceededException -// The operation exceeds a resource limit, for example, the maximum number of -// WebACL objects that you can create for an AWS account. For more information, -// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the AWS WAF Developer Guide. +// - WAFLimitsExceededException +// The operation exceeds a resource limit, for example, the maximum number of +// WebACL objects that you can create for an AWS account. For more information, +// see Limits (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the AWS WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/waf-regional-2016-11-28/UpdateXssMatchSet func (c *WAFRegional) UpdateXssMatchSet(input *waf.UpdateXssMatchSetInput) (*waf.UpdateXssMatchSetOutput, error) { @@ -11272,24 +11190,24 @@ func (s *WAFDisallowedNameException) RequestID() string { // The operation failed due to a problem with the migration. The failure cause // is provided in the exception, in the MigrationErrorType: // -// * ENTITY_NOT_SUPPORTED - The web ACL has an unsupported entity but the -// IgnoreUnsupportedType is not set to true. +// - ENTITY_NOT_SUPPORTED - The web ACL has an unsupported entity but the +// IgnoreUnsupportedType is not set to true. // -// * ENTITY_NOT_FOUND - The web ACL doesn't exist. +// - ENTITY_NOT_FOUND - The web ACL doesn't exist. // -// * S3_BUCKET_NO_PERMISSION - You don't have permission to perform the PutObject -// action to the specified Amazon S3 bucket. +// - S3_BUCKET_NO_PERMISSION - You don't have permission to perform the PutObject +// action to the specified Amazon S3 bucket. // -// * S3_BUCKET_NOT_ACCESSIBLE - The bucket policy doesn't allow AWS WAF to -// perform the PutObject action in the bucket. +// - S3_BUCKET_NOT_ACCESSIBLE - The bucket policy doesn't allow AWS WAF to +// perform the PutObject action in the bucket. // -// * S3_BUCKET_NOT_FOUND - The S3 bucket doesn't exist. +// - S3_BUCKET_NOT_FOUND - The S3 bucket doesn't exist. // -// * S3_BUCKET_INVALID_REGION - The S3 bucket is not in the same Region as -// the web ACL. +// - S3_BUCKET_INVALID_REGION - The S3 bucket is not in the same Region as +// the web ACL. // -// * S3_INTERNAL_ERROR - AWS WAF failed to create the template in the S3 -// bucket for another reason. +// - S3_INTERNAL_ERROR - AWS WAF failed to create the template in the S3 +// bucket for another reason. type WAFEntityMigrationException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -11489,20 +11407,20 @@ func (s *WAFInvalidAccountException) RequestID() string { // The operation failed because there was nothing to do. For example: // -// * You tried to remove a Rule from a WebACL, but the Rule isn't in the -// specified WebACL. +// - You tried to remove a Rule from a WebACL, but the Rule isn't in the +// specified WebACL. // -// * You tried to remove an IP address from an IPSet, but the IP address -// isn't in the specified IPSet. +// - You tried to remove an IP address from an IPSet, but the IP address +// isn't in the specified IPSet. // -// * You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple -// isn't in the specified WebACL. +// - You tried to remove a ByteMatchTuple from a ByteMatchSet, but the ByteMatchTuple +// isn't in the specified WebACL. // -// * You tried to add a Rule to a WebACL, but the Rule already exists in -// the specified WebACL. +// - You tried to add a Rule to a WebACL, but the Rule already exists in +// the specified WebACL. // -// * You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple -// already exists in the specified WebACL. +// - You tried to add a ByteMatchTuple to a ByteMatchSet, but the ByteMatchTuple +// already exists in the specified WebACL. type WAFInvalidOperationException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -11569,30 +11487,30 @@ func (s *WAFInvalidOperationException) RequestID() string { // The operation failed because AWS WAF didn't recognize a parameter in the // request. For example: // -// * You specified an invalid parameter name. +// - You specified an invalid parameter name. // -// * You specified an invalid value. +// - You specified an invalid value. // -// * You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) -// using an action other than INSERT or DELETE. +// - You tried to update an object (ByteMatchSet, IPSet, Rule, or WebACL) +// using an action other than INSERT or DELETE. // -// * You tried to create a WebACL with a DefaultAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to create a WebACL with a DefaultAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to create a RateBasedRule with a RateKey value other than -// IP. +// - You tried to create a RateBasedRule with a RateKey value other than +// IP. // -// * You tried to update a WebACL with a WafAction Type other than ALLOW, -// BLOCK, or COUNT. +// - You tried to update a WebACL with a WafAction Type other than ALLOW, +// BLOCK, or COUNT. // -// * You tried to update a ByteMatchSet with a FieldToMatch Type other than -// HEADER, METHOD, QUERY_STRING, URI, or BODY. +// - You tried to update a ByteMatchSet with a FieldToMatch Type other than +// HEADER, METHOD, QUERY_STRING, URI, or BODY. // -// * You tried to update a ByteMatchSet with a Field of HEADER but no value -// for Data. +// - You tried to update a ByteMatchSet with a Field of HEADER but no value +// for Data. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL cannot be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL cannot be associated. type WAFInvalidParameterException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -11666,24 +11584,24 @@ func (s *WAFInvalidParameterException) RequestID() string { // // The policy is subject to the following restrictions: // -// * You can attach only one policy with each PutPermissionPolicy request. +// - You can attach only one policy with each PutPermissionPolicy request. // -// * The policy must include an Effect, Action and Principal. +// - The policy must include an Effect, Action and Principal. // -// * Effect must specify Allow. +// - Effect must specify Allow. // -// * The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL, -// waf:GetRuleGroup and waf-regional:GetRuleGroup . Any extra or wildcard -// actions in the policy will be rejected. +// - The Action in the policy must be waf:UpdateWebACL, waf-regional:UpdateWebACL, +// waf:GetRuleGroup and waf-regional:GetRuleGroup . Any extra or wildcard +// actions in the policy will be rejected. // -// * The policy cannot include a Resource parameter. +// - The policy cannot include a Resource parameter. // -// * The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup -// must exist in the same region. +// - The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup +// must exist in the same region. // -// * The user making the request must be the owner of the RuleGroup. +// - The user making the request must be the owner of the RuleGroup. // -// * Your policy must be composed using IAM Policy version 2012-10-17. +// - Your policy must be composed using IAM Policy version 2012-10-17. type WAFInvalidPermissionPolicyException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -11881,15 +11799,15 @@ func (s *WAFLimitsExceededException) RequestID() string { // The operation failed because you tried to delete an object that isn't empty. // For example: // -// * You tried to delete a WebACL that still contains one or more Rule objects. +// - You tried to delete a WebACL that still contains one or more Rule objects. // -// * You tried to delete a Rule that still contains one or more ByteMatchSet -// objects or other predicates. +// - You tried to delete a Rule that still contains one or more ByteMatchSet +// objects or other predicates. // -// * You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple -// objects. +// - You tried to delete a ByteMatchSet that contains one or more ByteMatchTuple +// objects. // -// * You tried to delete an IPSet that references one or more IP addresses. +// - You tried to delete an IPSet that references one or more IP addresses. type WAFNonEmptyEntityException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -11956,17 +11874,17 @@ func (s *WAFNonEmptyEntityException) RequestID() string { // The operation failed because you tried to add an object to or delete an object // from another object that doesn't exist. For example: // -// * You tried to add a Rule to or delete a Rule from a WebACL that doesn't -// exist. +// - You tried to add a Rule to or delete a Rule from a WebACL that doesn't +// exist. // -// * You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule -// that doesn't exist. +// - You tried to add a ByteMatchSet to or delete a ByteMatchSet from a Rule +// that doesn't exist. // -// * You tried to add an IP address to or delete an IP address from an IPSet -// that doesn't exist. +// - You tried to add an IP address to or delete an IP address from an IPSet +// that doesn't exist. // -// * You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from -// a ByteMatchSet that doesn't exist. +// - You tried to add a ByteMatchTuple to or delete a ByteMatchTuple from +// a ByteMatchSet that doesn't exist. type WAFNonexistentContainerException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -12097,9 +12015,9 @@ func (s *WAFNonexistentItemException) RequestID() string { // The operation failed because you tried to delete an object that is still // in use. For example: // -// * You tried to delete a ByteMatchSet that is still referenced by a Rule. +// - You tried to delete a ByteMatchSet that is still referenced by a Rule. // -// * You tried to delete a Rule that is still referenced by a WebACL. +// - You tried to delete a Rule that is still referenced by a WebACL. type WAFReferencedItemException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/doc.go index 943ae86e1043..38f5325216a0 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/doc.go @@ -3,7 +3,6 @@ // Package wafregional provides the client and types for making API // requests to AWS WAF Regional. // -// // This is AWS WAF Classic Regional documentation. For more information, see // AWS WAF Classic (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) // in the developer guide. @@ -30,7 +29,7 @@ // See wafregional package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/wafregional/ // -// Using the Client +// # Using the Client // // To contact AWS WAF Regional with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/service.go index 0bffbcfae8d0..148766b53c96 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a WAFRegional client from just a session. -// svc := wafregional.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a WAFRegional client with additional configuration -// svc := wafregional.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a WAFRegional client from just a session. +// svc := wafregional.New(mySession) +// +// // Create a WAFRegional client with additional configuration +// svc := wafregional.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *WAFRegional { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/wafregionaliface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/wafregionaliface/interface.go index d3991b3be5a6..f3f9195539c2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/wafregionaliface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafregional/wafregionaliface/interface.go @@ -24,37 +24,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS WAF Regional. -// func myFunc(svc wafregionaliface.WAFRegionalAPI) bool { -// // Make svc.AssociateWebACL request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS WAF Regional. +// func myFunc(svc wafregionaliface.WAFRegionalAPI) bool { +// // Make svc.AssociateWebACL request +// } // -// func main() { -// sess := session.New() -// svc := wafregional.New(sess) +// func main() { +// sess := session.New() +// svc := wafregional.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockWAFRegionalClient struct { -// wafregionaliface.WAFRegionalAPI -// } -// func (m *mockWAFRegionalClient) AssociateWebACL(input *wafregional.AssociateWebACLInput) (*wafregional.AssociateWebACLOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockWAFRegionalClient struct { +// wafregionaliface.WAFRegionalAPI +// } +// func (m *mockWAFRegionalClient) AssociateWebACL(input *wafregional.AssociateWebACLInput) (*wafregional.AssociateWebACLOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockWAFRegionalClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockWAFRegionalClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/api.go index f943573f06a9..5181058d2117 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/api.go @@ -29,14 +29,13 @@ const opAssociateWebACL = "AssociateWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateWebACLRequest method. +// req, resp := client.AssociateWebACLRequest(params) // -// // Example sending a request using the AssociateWebACLRequest method. -// req, resp := client.AssociateWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/AssociateWebACL func (c *WAFV2) AssociateWebACLRequest(input *AssociateWebACLInput) (req *request.Request, output *AssociateWebACLOutput) { @@ -88,35 +87,36 @@ func (c *WAFV2) AssociateWebACLRequest(input *AssociateWebACLInput) (req *reques // API operation AssociateWebACL for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFUnavailableEntityException -// WAF couldn’t retrieve a resource that you specified for this operation. -// Verify the resources that you are specifying in your request parameters and -// then retry the operation. +// - WAFUnavailableEntityException +// WAF couldn’t retrieve a resource that you specified for this operation. +// Verify the resources that you are specifying in your request parameters and +// then retry the operation. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/AssociateWebACL func (c *WAFV2) AssociateWebACL(input *AssociateWebACLInput) (*AssociateWebACLOutput, error) { @@ -156,14 +156,13 @@ const opCheckCapacity = "CheckCapacity" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CheckCapacityRequest method. +// req, resp := client.CheckCapacityRequest(params) // -// // Example sending a request using the CheckCapacityRequest method. -// req, resp := client.CheckCapacityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CheckCapacity func (c *WAFV2) CheckCapacityRequest(input *CheckCapacityInput) (req *request.Request, output *CheckCapacityOutput) { @@ -204,51 +203,52 @@ func (c *WAFV2) CheckCapacityRequest(input *CheckCapacityInput) (req *request.Re // API operation CheckCapacity for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFLimitsExceededException -// WAF couldn’t perform the operation because you exceeded your resource limit. -// For example, the maximum number of WebACL objects that you can create for -// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the WAF Developer Guide. +// - WAFLimitsExceededException +// WAF couldn’t perform the operation because you exceeded your resource limit. +// For example, the maximum number of WebACL objects that you can create for +// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the WAF Developer Guide. // -// * WAFInvalidResourceException -// WAF couldn’t perform the operation because the resource that you requested -// isn’t valid. Check the resource, and try again. +// - WAFInvalidResourceException +// WAF couldn’t perform the operation because the resource that you requested +// isn’t valid. Check the resource, and try again. // -// * WAFUnavailableEntityException -// WAF couldn’t retrieve a resource that you specified for this operation. -// Verify the resources that you are specifying in your request parameters and -// then retry the operation. +// - WAFUnavailableEntityException +// WAF couldn’t retrieve a resource that you specified for this operation. +// Verify the resources that you are specifying in your request parameters and +// then retry the operation. // -// * WAFSubscriptionNotFoundException -// You tried to use a managed rule group that's available by subscription, but -// you aren't subscribed to it yet. +// - WAFSubscriptionNotFoundException +// You tried to use a managed rule group that's available by subscription, but +// you aren't subscribed to it yet. // -// * WAFExpiredManagedRuleGroupVersionException -// The operation failed because the specified version for the managed rule group -// has expired. You can retrieve the available versions for the managed rule -// group by calling ListAvailableManagedRuleGroupVersions. +// - WAFExpiredManagedRuleGroupVersionException +// The operation failed because the specified version for the managed rule group +// has expired. You can retrieve the available versions for the managed rule +// group by calling ListAvailableManagedRuleGroupVersions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CheckCapacity func (c *WAFV2) CheckCapacity(input *CheckCapacityInput) (*CheckCapacityOutput, error) { @@ -288,14 +288,13 @@ const opCreateIPSet = "CreateIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIPSetRequest method. +// req, resp := client.CreateIPSetRequest(params) // -// // Example sending a request using the CreateIPSetRequest method. -// req, resp := client.CreateIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CreateIPSet func (c *WAFV2) CreateIPSetRequest(input *CreateIPSetInput) (req *request.Request, output *CreateIPSetOutput) { @@ -329,49 +328,50 @@ func (c *WAFV2) CreateIPSetRequest(input *CreateIPSetInput) (req *request.Reques // API operation CreateIPSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFDuplicateItemException -// WAF couldn’t perform the operation because the resource that you tried -// to save is a duplicate of an existing one. +// - WAFDuplicateItemException +// WAF couldn’t perform the operation because the resource that you tried +// to save is a duplicate of an existing one. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// * WAFLimitsExceededException -// WAF couldn’t perform the operation because you exceeded your resource limit. -// For example, the maximum number of WebACL objects that you can create for -// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the WAF Developer Guide. +// - WAFLimitsExceededException +// WAF couldn’t perform the operation because you exceeded your resource limit. +// For example, the maximum number of WebACL objects that you can create for +// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the WAF Developer Guide. // -// * WAFTagOperationException -// An error occurred during the tagging operation. Retry your request. +// - WAFTagOperationException +// An error occurred during the tagging operation. Retry your request. // -// * WAFTagOperationInternalErrorException -// WAF couldn’t perform your tagging operation because of an internal error. -// Retry ybjectNoteWebRequestComponentour request. +// - WAFTagOperationInternalErrorException +// WAF couldn’t perform your tagging operation because of an internal error. +// Retry ybjectNoteWebRequestComponentour request. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CreateIPSet func (c *WAFV2) CreateIPSet(input *CreateIPSetInput) (*CreateIPSetOutput, error) { @@ -411,14 +411,13 @@ const opCreateRegexPatternSet = "CreateRegexPatternSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRegexPatternSetRequest method. +// req, resp := client.CreateRegexPatternSetRequest(params) // -// // Example sending a request using the CreateRegexPatternSetRequest method. -// req, resp := client.CreateRegexPatternSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CreateRegexPatternSet func (c *WAFV2) CreateRegexPatternSetRequest(input *CreateRegexPatternSetInput) (req *request.Request, output *CreateRegexPatternSetOutput) { @@ -450,49 +449,50 @@ func (c *WAFV2) CreateRegexPatternSetRequest(input *CreateRegexPatternSetInput) // API operation CreateRegexPatternSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFDuplicateItemException -// WAF couldn’t perform the operation because the resource that you tried -// to save is a duplicate of an existing one. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFDuplicateItemException +// WAF couldn’t perform the operation because the resource that you tried +// to save is a duplicate of an existing one. // -// * WAFLimitsExceededException -// WAF couldn’t perform the operation because you exceeded your resource limit. -// For example, the maximum number of WebACL objects that you can create for -// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the WAF Developer Guide. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// * WAFTagOperationException -// An error occurred during the tagging operation. Retry your request. +// - WAFLimitsExceededException +// WAF couldn’t perform the operation because you exceeded your resource limit. +// For example, the maximum number of WebACL objects that you can create for +// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the WAF Developer Guide. // -// * WAFTagOperationInternalErrorException -// WAF couldn’t perform your tagging operation because of an internal error. -// Retry ybjectNoteWebRequestComponentour request. +// - WAFTagOperationException +// An error occurred during the tagging operation. Retry your request. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFTagOperationInternalErrorException +// WAF couldn’t perform your tagging operation because of an internal error. +// Retry ybjectNoteWebRequestComponentour request. +// +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CreateRegexPatternSet func (c *WAFV2) CreateRegexPatternSet(input *CreateRegexPatternSetInput) (*CreateRegexPatternSetOutput, error) { @@ -532,14 +532,13 @@ const opCreateRuleGroup = "CreateRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateRuleGroupRequest method. +// req, resp := client.CreateRuleGroupRequest(params) // -// // Example sending a request using the CreateRuleGroupRequest method. -// req, resp := client.CreateRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CreateRuleGroup func (c *WAFV2) CreateRuleGroupRequest(input *CreateRuleGroupInput) (req *request.Request, output *CreateRuleGroupOutput) { @@ -576,61 +575,62 @@ func (c *WAFV2) CreateRuleGroupRequest(input *CreateRuleGroupInput) (req *reques // API operation CreateRuleGroup for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFDuplicateItemException -// WAF couldn’t perform the operation because the resource that you tried -// to save is a duplicate of an existing one. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFDuplicateItemException +// WAF couldn’t perform the operation because the resource that you tried +// to save is a duplicate of an existing one. // -// * WAFLimitsExceededException -// WAF couldn’t perform the operation because you exceeded your resource limit. -// For example, the maximum number of WebACL objects that you can create for -// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the WAF Developer Guide. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// * WAFUnavailableEntityException -// WAF couldn’t retrieve a resource that you specified for this operation. -// Verify the resources that you are specifying in your request parameters and -// then retry the operation. +// - WAFLimitsExceededException +// WAF couldn’t perform the operation because you exceeded your resource limit. +// For example, the maximum number of WebACL objects that you can create for +// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the WAF Developer Guide. // -// * WAFTagOperationException -// An error occurred during the tagging operation. Retry your request. +// - WAFUnavailableEntityException +// WAF couldn’t retrieve a resource that you specified for this operation. +// Verify the resources that you are specifying in your request parameters and +// then retry the operation. // -// * WAFTagOperationInternalErrorException -// WAF couldn’t perform your tagging operation because of an internal error. -// Retry ybjectNoteWebRequestComponentour request. +// - WAFTagOperationException +// An error occurred during the tagging operation. Retry your request. // -// * WAFSubscriptionNotFoundException -// You tried to use a managed rule group that's available by subscription, but -// you aren't subscribed to it yet. +// - WAFTagOperationInternalErrorException +// WAF couldn’t perform your tagging operation because of an internal error. +// Retry ybjectNoteWebRequestComponentour request. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFSubscriptionNotFoundException +// You tried to use a managed rule group that's available by subscription, but +// you aren't subscribed to it yet. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. +// +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CreateRuleGroup func (c *WAFV2) CreateRuleGroup(input *CreateRuleGroupInput) (*CreateRuleGroupOutput, error) { @@ -670,14 +670,13 @@ const opCreateWebACL = "CreateWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWebACLRequest method. +// req, resp := client.CreateWebACLRequest(params) // -// // Example sending a request using the CreateWebACLRequest method. -// req, resp := client.CreateWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CreateWebACL func (c *WAFV2) CreateWebACLRequest(input *CreateWebACLInput) (req *request.Request, output *CreateWebACLOutput) { @@ -718,79 +717,80 @@ func (c *WAFV2) CreateWebACLRequest(input *CreateWebACLInput) (req *request.Requ // API operation CreateWebACL for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFDuplicateItemException -// WAF couldn’t perform the operation because the resource that you tried -// to save is a duplicate of an existing one. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFDuplicateItemException +// WAF couldn’t perform the operation because the resource that you tried +// to save is a duplicate of an existing one. // -// * WAFLimitsExceededException -// WAF couldn’t perform the operation because you exceeded your resource limit. -// For example, the maximum number of WebACL objects that you can create for -// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the WAF Developer Guide. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// * WAFInvalidResourceException -// WAF couldn’t perform the operation because the resource that you requested -// isn’t valid. Check the resource, and try again. +// - WAFLimitsExceededException +// WAF couldn’t perform the operation because you exceeded your resource limit. +// For example, the maximum number of WebACL objects that you can create for +// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the WAF Developer Guide. // -// * WAFUnavailableEntityException -// WAF couldn’t retrieve a resource that you specified for this operation. -// Verify the resources that you are specifying in your request parameters and -// then retry the operation. +// - WAFInvalidResourceException +// WAF couldn’t perform the operation because the resource that you requested +// isn’t valid. Check the resource, and try again. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFUnavailableEntityException +// WAF couldn’t retrieve a resource that you specified for this operation. +// Verify the resources that you are specifying in your request parameters and +// then retry the operation. // -// * WAFTagOperationException -// An error occurred during the tagging operation. Retry your request. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFTagOperationInternalErrorException -// WAF couldn’t perform your tagging operation because of an internal error. -// Retry ybjectNoteWebRequestComponentour request. +// - WAFTagOperationException +// An error occurred during the tagging operation. Retry your request. // -// * WAFSubscriptionNotFoundException -// You tried to use a managed rule group that's available by subscription, but -// you aren't subscribed to it yet. +// - WAFTagOperationInternalErrorException +// WAF couldn’t perform your tagging operation because of an internal error. +// Retry ybjectNoteWebRequestComponentour request. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFSubscriptionNotFoundException +// You tried to use a managed rule group that's available by subscription, but +// you aren't subscribed to it yet. // -// * WAFConfigurationWarningException -// The operation failed because you are inspecting the web request body, headers, -// or cookies without specifying how to handle oversize components. Rules that -// inspect the body must either provide an OversizeHandling configuration or -// they must be preceded by a SizeConstraintStatement that blocks the body content -// from being too large. Rules that inspect the headers or cookies must provide -// an OversizeHandling configuration. +// - WAFInvalidOperationException +// The operation isn't valid. // -// Provide the handling configuration and retry your operation. +// - WAFConfigurationWarningException +// The operation failed because you are inspecting the web request body, headers, +// or cookies without specifying how to handle oversize components. Rules that +// inspect the body must either provide an OversizeHandling configuration or +// they must be preceded by a SizeConstraintStatement that blocks the body content +// from being too large. Rules that inspect the headers or cookies must provide +// an OversizeHandling configuration. // -// Alternately, you can suppress this warning by adding the following tag to -// the resource that you provide to this operation: Tag (key:WAF:OversizeFieldsHandlingConstraintOptOut, -// value:true). +// Provide the handling configuration and retry your operation. +// +// Alternately, you can suppress this warning by adding the following tag to +// the resource that you provide to this operation: Tag (key:WAF:OversizeFieldsHandlingConstraintOptOut, +// value:true). // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/CreateWebACL func (c *WAFV2) CreateWebACL(input *CreateWebACLInput) (*CreateWebACLOutput, error) { @@ -830,14 +830,13 @@ const opDeleteFirewallManagerRuleGroups = "DeleteFirewallManagerRuleGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFirewallManagerRuleGroupsRequest method. +// req, resp := client.DeleteFirewallManagerRuleGroupsRequest(params) // -// // Example sending a request using the DeleteFirewallManagerRuleGroupsRequest method. -// req, resp := client.DeleteFirewallManagerRuleGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteFirewallManagerRuleGroups func (c *WAFV2) DeleteFirewallManagerRuleGroupsRequest(input *DeleteFirewallManagerRuleGroupsInput) (req *request.Request, output *DeleteFirewallManagerRuleGroupsOutput) { @@ -872,35 +871,36 @@ func (c *WAFV2) DeleteFirewallManagerRuleGroupsRequest(input *DeleteFirewallMana // API operation DeleteFirewallManagerRuleGroups for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteFirewallManagerRuleGroups func (c *WAFV2) DeleteFirewallManagerRuleGroups(input *DeleteFirewallManagerRuleGroupsInput) (*DeleteFirewallManagerRuleGroupsOutput, error) { @@ -940,14 +940,13 @@ const opDeleteIPSet = "DeleteIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIPSetRequest method. +// req, resp := client.DeleteIPSetRequest(params) // -// // Example sending a request using the DeleteIPSetRequest method. -// req, resp := client.DeleteIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteIPSet func (c *WAFV2) DeleteIPSetRequest(input *DeleteIPSetInput) (req *request.Request, output *DeleteIPSetOutput) { @@ -979,50 +978,51 @@ func (c *WAFV2) DeleteIPSetRequest(input *DeleteIPSetInput) (req *request.Reques // API operation DeleteIPSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// * WAFAssociatedItemException -// WAF couldn’t perform the operation because your resource is being used -// by another resource or it’s associated with another resource. +// - WAFAssociatedItemException +// WAF couldn’t perform the operation because your resource is being used +// by another resource or it’s associated with another resource. // -// For DeleteWebACL, you will only get this exception if the web ACL is still -// associated with a regional resource. Deleting a web ACL that is still associated -// with an Amazon CloudFront distribution won't get this exception. +// For DeleteWebACL, you will only get this exception if the web ACL is still +// associated with a regional resource. Deleting a web ACL that is still associated +// with an Amazon CloudFront distribution won't get this exception. // -// * WAFTagOperationException -// An error occurred during the tagging operation. Retry your request. +// - WAFTagOperationException +// An error occurred during the tagging operation. Retry your request. // -// * WAFTagOperationInternalErrorException -// WAF couldn’t perform your tagging operation because of an internal error. -// Retry ybjectNoteWebRequestComponentour request. +// - WAFTagOperationInternalErrorException +// WAF couldn’t perform your tagging operation because of an internal error. +// Retry ybjectNoteWebRequestComponentour request. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteIPSet func (c *WAFV2) DeleteIPSet(input *DeleteIPSetInput) (*DeleteIPSetOutput, error) { @@ -1062,14 +1062,13 @@ const opDeleteLoggingConfiguration = "DeleteLoggingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLoggingConfigurationRequest method. +// req, resp := client.DeleteLoggingConfigurationRequest(params) // -// // Example sending a request using the DeleteLoggingConfigurationRequest method. -// req, resp := client.DeleteLoggingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteLoggingConfiguration func (c *WAFV2) DeleteLoggingConfigurationRequest(input *DeleteLoggingConfigurationInput) (req *request.Request, output *DeleteLoggingConfigurationOutput) { @@ -1101,35 +1100,36 @@ func (c *WAFV2) DeleteLoggingConfigurationRequest(input *DeleteLoggingConfigurat // API operation DeleteLoggingConfiguration for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteLoggingConfiguration func (c *WAFV2) DeleteLoggingConfiguration(input *DeleteLoggingConfigurationInput) (*DeleteLoggingConfigurationOutput, error) { @@ -1169,14 +1169,13 @@ const opDeletePermissionPolicy = "DeletePermissionPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePermissionPolicyRequest method. +// req, resp := client.DeletePermissionPolicyRequest(params) // -// // Example sending a request using the DeletePermissionPolicyRequest method. -// req, resp := client.DeletePermissionPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeletePermissionPolicy func (c *WAFV2) DeletePermissionPolicyRequest(input *DeletePermissionPolicyInput) (req *request.Request, output *DeletePermissionPolicyOutput) { @@ -1210,27 +1209,28 @@ func (c *WAFV2) DeletePermissionPolicyRequest(input *DeletePermissionPolicyInput // API operation DeletePermissionPolicy for usage and error information. // // Returned Error Types: -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. +// +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeletePermissionPolicy func (c *WAFV2) DeletePermissionPolicy(input *DeletePermissionPolicyInput) (*DeletePermissionPolicyOutput, error) { @@ -1270,14 +1270,13 @@ const opDeleteRegexPatternSet = "DeleteRegexPatternSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRegexPatternSetRequest method. +// req, resp := client.DeleteRegexPatternSetRequest(params) // -// // Example sending a request using the DeleteRegexPatternSetRequest method. -// req, resp := client.DeleteRegexPatternSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteRegexPatternSet func (c *WAFV2) DeleteRegexPatternSetRequest(input *DeleteRegexPatternSetInput) (req *request.Request, output *DeleteRegexPatternSetOutput) { @@ -1309,50 +1308,51 @@ func (c *WAFV2) DeleteRegexPatternSetRequest(input *DeleteRegexPatternSetInput) // API operation DeleteRegexPatternSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFAssociatedItemException -// WAF couldn’t perform the operation because your resource is being used -// by another resource or it’s associated with another resource. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// For DeleteWebACL, you will only get this exception if the web ACL is still -// associated with a regional resource. Deleting a web ACL that is still associated -// with an Amazon CloudFront distribution won't get this exception. +// - WAFAssociatedItemException +// WAF couldn’t perform the operation because your resource is being used +// by another resource or it’s associated with another resource. // -// * WAFTagOperationException -// An error occurred during the tagging operation. Retry your request. +// For DeleteWebACL, you will only get this exception if the web ACL is still +// associated with a regional resource. Deleting a web ACL that is still associated +// with an Amazon CloudFront distribution won't get this exception. // -// * WAFTagOperationInternalErrorException -// WAF couldn’t perform your tagging operation because of an internal error. -// Retry ybjectNoteWebRequestComponentour request. +// - WAFTagOperationException +// An error occurred during the tagging operation. Retry your request. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFTagOperationInternalErrorException +// WAF couldn’t perform your tagging operation because of an internal error. +// Retry ybjectNoteWebRequestComponentour request. +// +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteRegexPatternSet func (c *WAFV2) DeleteRegexPatternSet(input *DeleteRegexPatternSetInput) (*DeleteRegexPatternSetOutput, error) { @@ -1392,14 +1392,13 @@ const opDeleteRuleGroup = "DeleteRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRuleGroupRequest method. +// req, resp := client.DeleteRuleGroupRequest(params) // -// // Example sending a request using the DeleteRuleGroupRequest method. -// req, resp := client.DeleteRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteRuleGroup func (c *WAFV2) DeleteRuleGroupRequest(input *DeleteRuleGroupInput) (req *request.Request, output *DeleteRuleGroupOutput) { @@ -1431,50 +1430,51 @@ func (c *WAFV2) DeleteRuleGroupRequest(input *DeleteRuleGroupInput) (req *reques // API operation DeleteRuleGroup for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// * WAFAssociatedItemException -// WAF couldn’t perform the operation because your resource is being used -// by another resource or it’s associated with another resource. +// - WAFAssociatedItemException +// WAF couldn’t perform the operation because your resource is being used +// by another resource or it’s associated with another resource. // -// For DeleteWebACL, you will only get this exception if the web ACL is still -// associated with a regional resource. Deleting a web ACL that is still associated -// with an Amazon CloudFront distribution won't get this exception. +// For DeleteWebACL, you will only get this exception if the web ACL is still +// associated with a regional resource. Deleting a web ACL that is still associated +// with an Amazon CloudFront distribution won't get this exception. // -// * WAFTagOperationException -// An error occurred during the tagging operation. Retry your request. +// - WAFTagOperationException +// An error occurred during the tagging operation. Retry your request. // -// * WAFTagOperationInternalErrorException -// WAF couldn’t perform your tagging operation because of an internal error. -// Retry ybjectNoteWebRequestComponentour request. +// - WAFTagOperationInternalErrorException +// WAF couldn’t perform your tagging operation because of an internal error. +// Retry ybjectNoteWebRequestComponentour request. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteRuleGroup func (c *WAFV2) DeleteRuleGroup(input *DeleteRuleGroupInput) (*DeleteRuleGroupOutput, error) { @@ -1514,14 +1514,13 @@ const opDeleteWebACL = "DeleteWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWebACLRequest method. +// req, resp := client.DeleteWebACLRequest(params) // -// // Example sending a request using the DeleteWebACLRequest method. -// req, resp := client.DeleteWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteWebACL func (c *WAFV2) DeleteWebACLRequest(input *DeleteWebACLInput) (req *request.Request, output *DeleteWebACLOutput) { @@ -1550,15 +1549,15 @@ func (c *WAFV2) DeleteWebACLRequest(input *DeleteWebACLInput) (req *request.Requ // // Before deleting any web ACL, first disassociate it from all resources. // -// * To retrieve a list of the resources that are associated with a web ACL, -// use the following calls: For regional resources, call ListResourcesForWebACL. -// For Amazon CloudFront distributions, use the CloudFront call ListDistributionsByWebACLId. -// For information, see ListDistributionsByWebACLId (https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ListDistributionsByWebACLId.html). +// - To retrieve a list of the resources that are associated with a web ACL, +// use the following calls: For regional resources, call ListResourcesForWebACL. +// For Amazon CloudFront distributions, use the CloudFront call ListDistributionsByWebACLId. +// For information, see ListDistributionsByWebACLId (https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_ListDistributionsByWebACLId.html). // -// * To disassociate a resource from a web ACL, use the following calls: -// For regional resources, call DisassociateWebACL. For Amazon CloudFront -// distributions, provide an empty web ACL ID in the CloudFront call UpdateDistribution. -// For information, see UpdateDistribution (https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html). +// - To disassociate a resource from a web ACL, use the following calls: +// For regional resources, call DisassociateWebACL. For Amazon CloudFront +// distributions, provide an empty web ACL ID in the CloudFront call UpdateDistribution. +// For information, see UpdateDistribution (https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistribution.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1568,50 +1567,51 @@ func (c *WAFV2) DeleteWebACLRequest(input *DeleteWebACLInput) (req *request.Requ // API operation DeleteWebACL for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// * WAFAssociatedItemException -// WAF couldn’t perform the operation because your resource is being used -// by another resource or it’s associated with another resource. +// - WAFAssociatedItemException +// WAF couldn’t perform the operation because your resource is being used +// by another resource or it’s associated with another resource. // -// For DeleteWebACL, you will only get this exception if the web ACL is still -// associated with a regional resource. Deleting a web ACL that is still associated -// with an Amazon CloudFront distribution won't get this exception. +// For DeleteWebACL, you will only get this exception if the web ACL is still +// associated with a regional resource. Deleting a web ACL that is still associated +// with an Amazon CloudFront distribution won't get this exception. // -// * WAFTagOperationException -// An error occurred during the tagging operation. Retry your request. +// - WAFTagOperationException +// An error occurred during the tagging operation. Retry your request. // -// * WAFTagOperationInternalErrorException -// WAF couldn’t perform your tagging operation because of an internal error. -// Retry ybjectNoteWebRequestComponentour request. +// - WAFTagOperationInternalErrorException +// WAF couldn’t perform your tagging operation because of an internal error. +// Retry ybjectNoteWebRequestComponentour request. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DeleteWebACL func (c *WAFV2) DeleteWebACL(input *DeleteWebACLInput) (*DeleteWebACLOutput, error) { @@ -1651,14 +1651,13 @@ const opDescribeManagedRuleGroup = "DescribeManagedRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeManagedRuleGroupRequest method. +// req, resp := client.DescribeManagedRuleGroupRequest(params) // -// // Example sending a request using the DescribeManagedRuleGroupRequest method. -// req, resp := client.DescribeManagedRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DescribeManagedRuleGroup func (c *WAFV2) DescribeManagedRuleGroupRequest(input *DescribeManagedRuleGroupInput) (req *request.Request, output *DescribeManagedRuleGroupOutput) { @@ -1690,39 +1689,40 @@ func (c *WAFV2) DescribeManagedRuleGroupRequest(input *DescribeManagedRuleGroupI // API operation DescribeManagedRuleGroup for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFInvalidResourceException -// WAF couldn’t perform the operation because the resource that you requested -// isn’t valid. Check the resource, and try again. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFInvalidResourceException +// WAF couldn’t perform the operation because the resource that you requested +// isn’t valid. Check the resource, and try again. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFExpiredManagedRuleGroupVersionException -// The operation failed because the specified version for the managed rule group -// has expired. You can retrieve the available versions for the managed rule -// group by calling ListAvailableManagedRuleGroupVersions. +// - WAFInvalidOperationException +// The operation isn't valid. +// +// - WAFExpiredManagedRuleGroupVersionException +// The operation failed because the specified version for the managed rule group +// has expired. You can retrieve the available versions for the managed rule +// group by calling ListAvailableManagedRuleGroupVersions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DescribeManagedRuleGroup func (c *WAFV2) DescribeManagedRuleGroup(input *DescribeManagedRuleGroupInput) (*DescribeManagedRuleGroupOutput, error) { @@ -1762,14 +1762,13 @@ const opDisassociateWebACL = "DisassociateWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateWebACLRequest method. +// req, resp := client.DisassociateWebACLRequest(params) // -// // Example sending a request using the DisassociateWebACLRequest method. -// req, resp := client.DisassociateWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DisassociateWebACL func (c *WAFV2) DisassociateWebACLRequest(input *DisassociateWebACLInput) (req *request.Request, output *DisassociateWebACLOutput) { @@ -1809,30 +1808,31 @@ func (c *WAFV2) DisassociateWebACLRequest(input *DisassociateWebACLInput) (req * // API operation DisassociateWebACL for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. +// +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/DisassociateWebACL func (c *WAFV2) DisassociateWebACL(input *DisassociateWebACLInput) (*DisassociateWebACLOutput, error) { @@ -1872,14 +1872,13 @@ const opGenerateMobileSdkReleaseUrl = "GenerateMobileSdkReleaseUrl" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GenerateMobileSdkReleaseUrlRequest method. +// req, resp := client.GenerateMobileSdkReleaseUrlRequest(params) // -// // Example sending a request using the GenerateMobileSdkReleaseUrlRequest method. -// req, resp := client.GenerateMobileSdkReleaseUrlRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GenerateMobileSdkReleaseUrl func (c *WAFV2) GenerateMobileSdkReleaseUrlRequest(input *GenerateMobileSdkReleaseUrlInput) (req *request.Request, output *GenerateMobileSdkReleaseUrlOutput) { @@ -1917,30 +1916,31 @@ func (c *WAFV2) GenerateMobileSdkReleaseUrlRequest(input *GenerateMobileSdkRelea // API operation GenerateMobileSdkReleaseUrl for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. +// +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GenerateMobileSdkReleaseUrl func (c *WAFV2) GenerateMobileSdkReleaseUrl(input *GenerateMobileSdkReleaseUrlInput) (*GenerateMobileSdkReleaseUrlOutput, error) { @@ -1980,14 +1980,13 @@ const opGetIPSet = "GetIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIPSetRequest method. +// req, resp := client.GetIPSetRequest(params) // -// // Example sending a request using the GetIPSetRequest method. -// req, resp := client.GetIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetIPSet func (c *WAFV2) GetIPSetRequest(input *GetIPSetInput) (req *request.Request, output *GetIPSetOutput) { @@ -2018,30 +2017,31 @@ func (c *WAFV2) GetIPSetRequest(input *GetIPSetInput) (req *request.Request, out // API operation GetIPSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetIPSet func (c *WAFV2) GetIPSet(input *GetIPSetInput) (*GetIPSetOutput, error) { @@ -2081,14 +2081,13 @@ const opGetLoggingConfiguration = "GetLoggingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLoggingConfigurationRequest method. +// req, resp := client.GetLoggingConfigurationRequest(params) // -// // Example sending a request using the GetLoggingConfigurationRequest method. -// req, resp := client.GetLoggingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetLoggingConfiguration func (c *WAFV2) GetLoggingConfigurationRequest(input *GetLoggingConfigurationInput) (req *request.Request, output *GetLoggingConfigurationOutput) { @@ -2119,30 +2118,31 @@ func (c *WAFV2) GetLoggingConfigurationRequest(input *GetLoggingConfigurationInp // API operation GetLoggingConfiguration for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetLoggingConfiguration func (c *WAFV2) GetLoggingConfiguration(input *GetLoggingConfigurationInput) (*GetLoggingConfigurationOutput, error) { @@ -2182,14 +2182,13 @@ const opGetManagedRuleSet = "GetManagedRuleSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetManagedRuleSetRequest method. +// req, resp := client.GetManagedRuleSetRequest(params) // -// // Example sending a request using the GetManagedRuleSetRequest method. -// req, resp := client.GetManagedRuleSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetManagedRuleSet func (c *WAFV2) GetManagedRuleSetRequest(input *GetManagedRuleSetInput) (req *request.Request, output *GetManagedRuleSetOutput) { @@ -2228,30 +2227,31 @@ func (c *WAFV2) GetManagedRuleSetRequest(input *GetManagedRuleSetInput) (req *re // API operation GetManagedRuleSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetManagedRuleSet func (c *WAFV2) GetManagedRuleSet(input *GetManagedRuleSetInput) (*GetManagedRuleSetOutput, error) { @@ -2291,14 +2291,13 @@ const opGetMobileSdkRelease = "GetMobileSdkRelease" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMobileSdkReleaseRequest method. +// req, resp := client.GetMobileSdkReleaseRequest(params) // -// // Example sending a request using the GetMobileSdkReleaseRequest method. -// req, resp := client.GetMobileSdkReleaseRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetMobileSdkRelease func (c *WAFV2) GetMobileSdkReleaseRequest(input *GetMobileSdkReleaseInput) (req *request.Request, output *GetMobileSdkReleaseOutput) { @@ -2336,30 +2335,31 @@ func (c *WAFV2) GetMobileSdkReleaseRequest(input *GetMobileSdkReleaseInput) (req // API operation GetMobileSdkRelease for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetMobileSdkRelease func (c *WAFV2) GetMobileSdkRelease(input *GetMobileSdkReleaseInput) (*GetMobileSdkReleaseOutput, error) { @@ -2399,14 +2399,13 @@ const opGetPermissionPolicy = "GetPermissionPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPermissionPolicyRequest method. +// req, resp := client.GetPermissionPolicyRequest(params) // -// // Example sending a request using the GetPermissionPolicyRequest method. -// req, resp := client.GetPermissionPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetPermissionPolicy func (c *WAFV2) GetPermissionPolicyRequest(input *GetPermissionPolicyInput) (req *request.Request, output *GetPermissionPolicyOutput) { @@ -2439,27 +2438,28 @@ func (c *WAFV2) GetPermissionPolicyRequest(input *GetPermissionPolicyInput) (req // API operation GetPermissionPolicy for usage and error information. // // Returned Error Types: -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. +// +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetPermissionPolicy func (c *WAFV2) GetPermissionPolicy(input *GetPermissionPolicyInput) (*GetPermissionPolicyOutput, error) { @@ -2499,14 +2499,13 @@ const opGetRateBasedStatementManagedKeys = "GetRateBasedStatementManagedKeys" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRateBasedStatementManagedKeysRequest method. +// req, resp := client.GetRateBasedStatementManagedKeysRequest(params) // -// // Example sending a request using the GetRateBasedStatementManagedKeysRequest method. -// req, resp := client.GetRateBasedStatementManagedKeysRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetRateBasedStatementManagedKeys func (c *WAFV2) GetRateBasedStatementManagedKeysRequest(input *GetRateBasedStatementManagedKeysInput) (req *request.Request, output *GetRateBasedStatementManagedKeysOutput) { @@ -2552,30 +2551,31 @@ func (c *WAFV2) GetRateBasedStatementManagedKeysRequest(input *GetRateBasedState // API operation GetRateBasedStatementManagedKeys for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. +// +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetRateBasedStatementManagedKeys func (c *WAFV2) GetRateBasedStatementManagedKeys(input *GetRateBasedStatementManagedKeysInput) (*GetRateBasedStatementManagedKeysOutput, error) { @@ -2615,14 +2615,13 @@ const opGetRegexPatternSet = "GetRegexPatternSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRegexPatternSetRequest method. +// req, resp := client.GetRegexPatternSetRequest(params) // -// // Example sending a request using the GetRegexPatternSetRequest method. -// req, resp := client.GetRegexPatternSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetRegexPatternSet func (c *WAFV2) GetRegexPatternSetRequest(input *GetRegexPatternSetInput) (req *request.Request, output *GetRegexPatternSetOutput) { @@ -2653,30 +2652,31 @@ func (c *WAFV2) GetRegexPatternSetRequest(input *GetRegexPatternSetInput) (req * // API operation GetRegexPatternSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. +// +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetRegexPatternSet func (c *WAFV2) GetRegexPatternSet(input *GetRegexPatternSetInput) (*GetRegexPatternSetOutput, error) { @@ -2716,14 +2716,13 @@ const opGetRuleGroup = "GetRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRuleGroupRequest method. +// req, resp := client.GetRuleGroupRequest(params) // -// // Example sending a request using the GetRuleGroupRequest method. -// req, resp := client.GetRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetRuleGroup func (c *WAFV2) GetRuleGroupRequest(input *GetRuleGroupInput) (req *request.Request, output *GetRuleGroupOutput) { @@ -2754,30 +2753,31 @@ func (c *WAFV2) GetRuleGroupRequest(input *GetRuleGroupInput) (req *request.Requ // API operation GetRuleGroup for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetRuleGroup func (c *WAFV2) GetRuleGroup(input *GetRuleGroupInput) (*GetRuleGroupOutput, error) { @@ -2817,14 +2817,13 @@ const opGetSampledRequests = "GetSampledRequests" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSampledRequestsRequest method. +// req, resp := client.GetSampledRequestsRequest(params) // -// // Example sending a request using the GetSampledRequestsRequest method. -// req, resp := client.GetSampledRequestsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetSampledRequests func (c *WAFV2) GetSampledRequestsRequest(input *GetSampledRequestsInput) (req *request.Request, output *GetSampledRequestsOutput) { @@ -2865,27 +2864,28 @@ func (c *WAFV2) GetSampledRequestsRequest(input *GetSampledRequestsInput) (req * // API operation GetSampledRequests for usage and error information. // // Returned Error Types: -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. +// +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetSampledRequests func (c *WAFV2) GetSampledRequests(input *GetSampledRequestsInput) (*GetSampledRequestsOutput, error) { @@ -2925,14 +2925,13 @@ const opGetWebACL = "GetWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWebACLRequest method. +// req, resp := client.GetWebACLRequest(params) // -// // Example sending a request using the GetWebACLRequest method. -// req, resp := client.GetWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetWebACL func (c *WAFV2) GetWebACLRequest(input *GetWebACLInput) (req *request.Request, output *GetWebACLOutput) { @@ -2963,30 +2962,31 @@ func (c *WAFV2) GetWebACLRequest(input *GetWebACLInput) (req *request.Request, o // API operation GetWebACL for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. +// +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetWebACL func (c *WAFV2) GetWebACL(input *GetWebACLInput) (*GetWebACLOutput, error) { @@ -3026,14 +3026,13 @@ const opGetWebACLForResource = "GetWebACLForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWebACLForResourceRequest method. +// req, resp := client.GetWebACLForResourceRequest(params) // -// // Example sending a request using the GetWebACLForResourceRequest method. -// req, resp := client.GetWebACLForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetWebACLForResource func (c *WAFV2) GetWebACLForResourceRequest(input *GetWebACLForResourceInput) (req *request.Request, output *GetWebACLForResourceOutput) { @@ -3064,35 +3063,36 @@ func (c *WAFV2) GetWebACLForResourceRequest(input *GetWebACLForResourceInput) (r // API operation GetWebACLForResource for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFUnavailableEntityException -// WAF couldn’t retrieve a resource that you specified for this operation. -// Verify the resources that you are specifying in your request parameters and -// then retry the operation. +// - WAFUnavailableEntityException +// WAF couldn’t retrieve a resource that you specified for this operation. +// Verify the resources that you are specifying in your request parameters and +// then retry the operation. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/GetWebACLForResource func (c *WAFV2) GetWebACLForResource(input *GetWebACLForResourceInput) (*GetWebACLForResourceOutput, error) { @@ -3132,14 +3132,13 @@ const opListAvailableManagedRuleGroupVersions = "ListAvailableManagedRuleGroupVe // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAvailableManagedRuleGroupVersionsRequest method. +// req, resp := client.ListAvailableManagedRuleGroupVersionsRequest(params) // -// // Example sending a request using the ListAvailableManagedRuleGroupVersionsRequest method. -// req, resp := client.ListAvailableManagedRuleGroupVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListAvailableManagedRuleGroupVersions func (c *WAFV2) ListAvailableManagedRuleGroupVersionsRequest(input *ListAvailableManagedRuleGroupVersionsInput) (req *request.Request, output *ListAvailableManagedRuleGroupVersionsOutput) { @@ -3170,30 +3169,31 @@ func (c *WAFV2) ListAvailableManagedRuleGroupVersionsRequest(input *ListAvailabl // API operation ListAvailableManagedRuleGroupVersions for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListAvailableManagedRuleGroupVersions func (c *WAFV2) ListAvailableManagedRuleGroupVersions(input *ListAvailableManagedRuleGroupVersionsInput) (*ListAvailableManagedRuleGroupVersionsOutput, error) { @@ -3233,14 +3233,13 @@ const opListAvailableManagedRuleGroups = "ListAvailableManagedRuleGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAvailableManagedRuleGroupsRequest method. +// req, resp := client.ListAvailableManagedRuleGroupsRequest(params) // -// // Example sending a request using the ListAvailableManagedRuleGroupsRequest method. -// req, resp := client.ListAvailableManagedRuleGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListAvailableManagedRuleGroups func (c *WAFV2) ListAvailableManagedRuleGroupsRequest(input *ListAvailableManagedRuleGroupsInput) (req *request.Request, output *ListAvailableManagedRuleGroupsOutput) { @@ -3274,27 +3273,28 @@ func (c *WAFV2) ListAvailableManagedRuleGroupsRequest(input *ListAvailableManage // API operation ListAvailableManagedRuleGroups for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListAvailableManagedRuleGroups func (c *WAFV2) ListAvailableManagedRuleGroups(input *ListAvailableManagedRuleGroupsInput) (*ListAvailableManagedRuleGroupsOutput, error) { @@ -3334,14 +3334,13 @@ const opListIPSets = "ListIPSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIPSetsRequest method. +// req, resp := client.ListIPSetsRequest(params) // -// // Example sending a request using the ListIPSetsRequest method. -// req, resp := client.ListIPSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListIPSets func (c *WAFV2) ListIPSetsRequest(input *ListIPSetsInput) (req *request.Request, output *ListIPSetsOutput) { @@ -3372,27 +3371,28 @@ func (c *WAFV2) ListIPSetsRequest(input *ListIPSetsInput) (req *request.Request, // API operation ListIPSets for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListIPSets func (c *WAFV2) ListIPSets(input *ListIPSetsInput) (*ListIPSetsOutput, error) { @@ -3432,14 +3432,13 @@ const opListLoggingConfigurations = "ListLoggingConfigurations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLoggingConfigurationsRequest method. +// req, resp := client.ListLoggingConfigurationsRequest(params) // -// // Example sending a request using the ListLoggingConfigurationsRequest method. -// req, resp := client.ListLoggingConfigurationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListLoggingConfigurations func (c *WAFV2) ListLoggingConfigurationsRequest(input *ListLoggingConfigurationsInput) (req *request.Request, output *ListLoggingConfigurationsOutput) { @@ -3470,27 +3469,28 @@ func (c *WAFV2) ListLoggingConfigurationsRequest(input *ListLoggingConfiguration // API operation ListLoggingConfigurations for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. +// +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListLoggingConfigurations func (c *WAFV2) ListLoggingConfigurations(input *ListLoggingConfigurationsInput) (*ListLoggingConfigurationsOutput, error) { @@ -3530,14 +3530,13 @@ const opListManagedRuleSets = "ListManagedRuleSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListManagedRuleSetsRequest method. +// req, resp := client.ListManagedRuleSetsRequest(params) // -// // Example sending a request using the ListManagedRuleSetsRequest method. -// req, resp := client.ListManagedRuleSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListManagedRuleSets func (c *WAFV2) ListManagedRuleSetsRequest(input *ListManagedRuleSetsInput) (req *request.Request, output *ListManagedRuleSetsOutput) { @@ -3576,27 +3575,28 @@ func (c *WAFV2) ListManagedRuleSetsRequest(input *ListManagedRuleSetsInput) (req // API operation ListManagedRuleSets for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. +// +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListManagedRuleSets func (c *WAFV2) ListManagedRuleSets(input *ListManagedRuleSetsInput) (*ListManagedRuleSetsOutput, error) { @@ -3636,14 +3636,13 @@ const opListMobileSdkReleases = "ListMobileSdkReleases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMobileSdkReleasesRequest method. +// req, resp := client.ListMobileSdkReleasesRequest(params) // -// // Example sending a request using the ListMobileSdkReleasesRequest method. -// req, resp := client.ListMobileSdkReleasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListMobileSdkReleases func (c *WAFV2) ListMobileSdkReleasesRequest(input *ListMobileSdkReleasesInput) (req *request.Request, output *ListMobileSdkReleasesOutput) { @@ -3681,27 +3680,28 @@ func (c *WAFV2) ListMobileSdkReleasesRequest(input *ListMobileSdkReleasesInput) // API operation ListMobileSdkReleases for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. +// +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListMobileSdkReleases func (c *WAFV2) ListMobileSdkReleases(input *ListMobileSdkReleasesInput) (*ListMobileSdkReleasesOutput, error) { @@ -3741,14 +3741,13 @@ const opListRegexPatternSets = "ListRegexPatternSets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRegexPatternSetsRequest method. +// req, resp := client.ListRegexPatternSetsRequest(params) // -// // Example sending a request using the ListRegexPatternSetsRequest method. -// req, resp := client.ListRegexPatternSetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListRegexPatternSets func (c *WAFV2) ListRegexPatternSetsRequest(input *ListRegexPatternSetsInput) (req *request.Request, output *ListRegexPatternSetsOutput) { @@ -3780,27 +3779,28 @@ func (c *WAFV2) ListRegexPatternSetsRequest(input *ListRegexPatternSetsInput) (r // API operation ListRegexPatternSets for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListRegexPatternSets func (c *WAFV2) ListRegexPatternSets(input *ListRegexPatternSetsInput) (*ListRegexPatternSetsOutput, error) { @@ -3840,14 +3840,13 @@ const opListResourcesForWebACL = "ListResourcesForWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourcesForWebACLRequest method. +// req, resp := client.ListResourcesForWebACLRequest(params) // -// // Example sending a request using the ListResourcesForWebACLRequest method. -// req, resp := client.ListResourcesForWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListResourcesForWebACL func (c *WAFV2) ListResourcesForWebACLRequest(input *ListResourcesForWebACLInput) (req *request.Request, output *ListResourcesForWebACLOutput) { @@ -3880,30 +3879,31 @@ func (c *WAFV2) ListResourcesForWebACLRequest(input *ListResourcesForWebACLInput // API operation ListResourcesForWebACL for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListResourcesForWebACL func (c *WAFV2) ListResourcesForWebACL(input *ListResourcesForWebACLInput) (*ListResourcesForWebACLOutput, error) { @@ -3943,14 +3943,13 @@ const opListRuleGroups = "ListRuleGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListRuleGroupsRequest method. +// req, resp := client.ListRuleGroupsRequest(params) // -// // Example sending a request using the ListRuleGroupsRequest method. -// req, resp := client.ListRuleGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListRuleGroups func (c *WAFV2) ListRuleGroupsRequest(input *ListRuleGroupsInput) (req *request.Request, output *ListRuleGroupsOutput) { @@ -3982,27 +3981,28 @@ func (c *WAFV2) ListRuleGroupsRequest(input *ListRuleGroupsInput) (req *request. // API operation ListRuleGroups for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListRuleGroups func (c *WAFV2) ListRuleGroups(input *ListRuleGroupsInput) (*ListRuleGroupsOutput, error) { @@ -4042,14 +4042,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListTagsForResource func (c *WAFV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -4088,37 +4087,38 @@ func (c *WAFV2) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFTagOperationException -// An error occurred during the tagging operation. Retry your request. +// - WAFTagOperationException +// An error occurred during the tagging operation. Retry your request. // -// * WAFTagOperationInternalErrorException -// WAF couldn’t perform your tagging operation because of an internal error. -// Retry ybjectNoteWebRequestComponentour request. +// - WAFTagOperationInternalErrorException +// WAF couldn’t perform your tagging operation because of an internal error. +// Retry ybjectNoteWebRequestComponentour request. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListTagsForResource func (c *WAFV2) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -4158,14 +4158,13 @@ const opListWebACLs = "ListWebACLs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWebACLsRequest method. +// req, resp := client.ListWebACLsRequest(params) // -// // Example sending a request using the ListWebACLsRequest method. -// req, resp := client.ListWebACLsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListWebACLs func (c *WAFV2) ListWebACLsRequest(input *ListWebACLsInput) (req *request.Request, output *ListWebACLsOutput) { @@ -4196,27 +4195,28 @@ func (c *WAFV2) ListWebACLsRequest(input *ListWebACLsInput) (req *request.Reques // API operation ListWebACLs for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. +// +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/ListWebACLs func (c *WAFV2) ListWebACLs(input *ListWebACLsInput) (*ListWebACLsOutput, error) { @@ -4256,14 +4256,13 @@ const opPutLoggingConfiguration = "PutLoggingConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutLoggingConfigurationRequest method. +// req, resp := client.PutLoggingConfigurationRequest(params) // -// // Example sending a request using the PutLoggingConfigurationRequest method. -// req, resp := client.PutLoggingConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutLoggingConfiguration func (c *WAFV2) PutLoggingConfigurationRequest(input *PutLoggingConfigurationInput) (req *request.Request, output *PutLoggingConfigurationOutput) { @@ -4327,57 +4326,58 @@ func (c *WAFV2) PutLoggingConfigurationRequest(input *PutLoggingConfigurationInp // API operation PutLoggingConfiguration for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. -// -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. -// -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. -// -// * WAFServiceLinkedRoleErrorException -// WAF is not able to access the service linked role. This can be caused by -// a previous PutLoggingConfiguration request, which can lock the service linked -// role for about 20 seconds. Please try your request again. The service linked -// role can also be locked by a previous DeleteServiceLinkedRole request, which -// can lock the role for 15 minutes or more. If you recently made a call to -// DeleteServiceLinkedRole, wait at least 15 minutes and try the request again. -// If you receive this same exception again, you will have to wait additional -// time until the role is unlocked. -// -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: -// -// * You specified a parameter name or value that isn't valid. -// -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. -// -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. -// -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. -// -// * WAFInvalidOperationException -// The operation isn't valid. -// -// * WAFLimitsExceededException -// WAF couldn’t perform the operation because you exceeded your resource limit. -// For example, the maximum number of WebACL objects that you can create for -// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the WAF Developer Guide. -// -// * WAFLogDestinationPermissionIssueException -// The operation failed because you don't have the permissions that your logging -// configuration requires. For information, see Logging web ACL traffic information -// (https://docs.aws.amazon.com/waf/latest/developerguide/logging.html) in the -// WAF Developer Guide. +// +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. +// +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. +// +// - WAFServiceLinkedRoleErrorException +// WAF is not able to access the service linked role. This can be caused by +// a previous PutLoggingConfiguration request, which can lock the service linked +// role for about 20 seconds. Please try your request again. The service linked +// role can also be locked by a previous DeleteServiceLinkedRole request, which +// can lock the role for 15 minutes or more. If you recently made a call to +// DeleteServiceLinkedRole, wait at least 15 minutes and try the request again. +// If you receive this same exception again, you will have to wait additional +// time until the role is unlocked. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: +// +// - You specified a parameter name or value that isn't valid. +// +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. +// +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. +// +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. +// +// - WAFInvalidOperationException +// The operation isn't valid. +// +// - WAFLimitsExceededException +// WAF couldn’t perform the operation because you exceeded your resource limit. +// For example, the maximum number of WebACL objects that you can create for +// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the WAF Developer Guide. +// +// - WAFLogDestinationPermissionIssueException +// The operation failed because you don't have the permissions that your logging +// configuration requires. For information, see Logging web ACL traffic information +// (https://docs.aws.amazon.com/waf/latest/developerguide/logging.html) in the +// WAF Developer Guide. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutLoggingConfiguration func (c *WAFV2) PutLoggingConfiguration(input *PutLoggingConfigurationInput) (*PutLoggingConfigurationOutput, error) { @@ -4417,14 +4417,13 @@ const opPutManagedRuleSetVersions = "PutManagedRuleSetVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutManagedRuleSetVersionsRequest method. +// req, resp := client.PutManagedRuleSetVersionsRequest(params) // -// // Example sending a request using the PutManagedRuleSetVersionsRequest method. -// req, resp := client.PutManagedRuleSetVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutManagedRuleSetVersions func (c *WAFV2) PutManagedRuleSetVersionsRequest(input *PutManagedRuleSetVersionsInput) (req *request.Request, output *PutManagedRuleSetVersionsOutput) { @@ -4473,35 +4472,36 @@ func (c *WAFV2) PutManagedRuleSetVersionsRequest(input *PutManagedRuleSetVersion // API operation PutManagedRuleSetVersions for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutManagedRuleSetVersions func (c *WAFV2) PutManagedRuleSetVersions(input *PutManagedRuleSetVersionsInput) (*PutManagedRuleSetVersionsOutput, error) { @@ -4541,14 +4541,13 @@ const opPutPermissionPolicy = "PutPermissionPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutPermissionPolicyRequest method. +// req, resp := client.PutPermissionPolicyRequest(params) // -// // Example sending a request using the PutPermissionPolicyRequest method. -// req, resp := client.PutPermissionPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutPermissionPolicy func (c *WAFV2) PutPermissionPolicyRequest(input *PutPermissionPolicyInput) (req *request.Request, output *PutPermissionPolicyOutput) { @@ -4577,12 +4576,12 @@ func (c *WAFV2) PutPermissionPolicyRequest(input *PutPermissionPolicyInput) (req // // This action is subject to the following restrictions: // -// * You can attach only one policy with each PutPermissionPolicy request. +// - You can attach only one policy with each PutPermissionPolicy request. // -// * The ARN in the request must be a valid WAF RuleGroup ARN and the rule -// group must exist in the same Region. +// - The ARN in the request must be a valid WAF RuleGroup ARN and the rule +// group must exist in the same Region. // -// * The user making the request must be the owner of the rule group. +// - The user making the request must be the owner of the rule group. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4592,47 +4591,48 @@ func (c *WAFV2) PutPermissionPolicyRequest(input *PutPermissionPolicyInput) (req // API operation PutPermissionPolicy for usage and error information. // // Returned Error Types: -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. +// +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFInvalidPermissionPolicyException -// The operation failed because the specified policy isn't in the proper format. +// - WAFInvalidPermissionPolicyException +// The operation failed because the specified policy isn't in the proper format. // -// The policy specifications must conform to the following: +// The policy specifications must conform to the following: // -// * The policy must be composed using IAM Policy version 2012-10-17 or version -// 2015-01-01. +// - The policy must be composed using IAM Policy version 2012-10-17 or version +// 2015-01-01. // -// * The policy must include specifications for Effect, Action, and Principal. +// - The policy must include specifications for Effect, Action, and Principal. // -// * Effect must specify Allow. +// - Effect must specify Allow. // -// * Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and wafv2:PutFirewallManagerRuleGroups -// and may optionally specify wafv2:GetRuleGroup. WAF rejects any extra actions -// or wildcard actions in the policy. +// - Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and wafv2:PutFirewallManagerRuleGroups +// and may optionally specify wafv2:GetRuleGroup. WAF rejects any extra actions +// or wildcard actions in the policy. // -// * The policy must not include a Resource parameter. +// - The policy must not include a Resource parameter. // -// For more information, see IAM Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html). +// For more information, see IAM Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/PutPermissionPolicy func (c *WAFV2) PutPermissionPolicy(input *PutPermissionPolicyInput) (*PutPermissionPolicyOutput, error) { @@ -4672,14 +4672,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/TagResource func (c *WAFV2) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -4719,43 +4718,44 @@ func (c *WAFV2) TagResourceRequest(input *TagResourceInput) (req *request.Reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFLimitsExceededException -// WAF couldn’t perform the operation because you exceeded your resource limit. -// For example, the maximum number of WebACL objects that you can create for -// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the WAF Developer Guide. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFLimitsExceededException +// WAF couldn’t perform the operation because you exceeded your resource limit. +// For example, the maximum number of WebACL objects that you can create for +// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the WAF Developer Guide. // -// * WAFTagOperationException -// An error occurred during the tagging operation. Retry your request. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFTagOperationInternalErrorException -// WAF couldn’t perform your tagging operation because of an internal error. -// Retry ybjectNoteWebRequestComponentour request. +// - WAFTagOperationException +// An error occurred during the tagging operation. Retry your request. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFTagOperationInternalErrorException +// WAF couldn’t perform your tagging operation because of an internal error. +// Retry ybjectNoteWebRequestComponentour request. +// +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/TagResource func (c *WAFV2) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -4795,14 +4795,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/UntagResource func (c *WAFV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -4838,37 +4837,38 @@ func (c *WAFV2) UntagResourceRequest(input *UntagResourceInput) (req *request.Re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFTagOperationException -// An error occurred during the tagging operation. Retry your request. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFTagOperationInternalErrorException -// WAF couldn’t perform your tagging operation because of an internal error. -// Retry ybjectNoteWebRequestComponentour request. +// - WAFTagOperationException +// An error occurred during the tagging operation. Retry your request. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFTagOperationInternalErrorException +// WAF couldn’t perform your tagging operation because of an internal error. +// Retry ybjectNoteWebRequestComponentour request. +// +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/UntagResource func (c *WAFV2) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -4908,14 +4908,13 @@ const opUpdateIPSet = "UpdateIPSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIPSetRequest method. +// req, resp := client.UpdateIPSetRequest(params) // -// // Example sending a request using the UpdateIPSetRequest method. -// req, resp := client.UpdateIPSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/UpdateIPSet func (c *WAFV2) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Request, output *UpdateIPSetOutput) { @@ -4964,45 +4963,46 @@ func (c *WAFV2) UpdateIPSetRequest(input *UpdateIPSetInput) (req *request.Reques // API operation UpdateIPSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFDuplicateItemException -// WAF couldn’t perform the operation because the resource that you tried -// to save is a duplicate of an existing one. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFDuplicateItemException +// WAF couldn’t perform the operation because the resource that you tried +// to save is a duplicate of an existing one. // -// * WAFLimitsExceededException -// WAF couldn’t perform the operation because you exceeded your resource limit. -// For example, the maximum number of WebACL objects that you can create for -// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the WAF Developer Guide. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFLimitsExceededException +// WAF couldn’t perform the operation because you exceeded your resource limit. +// For example, the maximum number of WebACL objects that you can create for +// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the WAF Developer Guide. +// +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/UpdateIPSet func (c *WAFV2) UpdateIPSet(input *UpdateIPSetInput) (*UpdateIPSetOutput, error) { @@ -5042,14 +5042,13 @@ const opUpdateManagedRuleSetVersionExpiryDate = "UpdateManagedRuleSetVersionExpi // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateManagedRuleSetVersionExpiryDateRequest method. +// req, resp := client.UpdateManagedRuleSetVersionExpiryDateRequest(params) // -// // Example sending a request using the UpdateManagedRuleSetVersionExpiryDateRequest method. -// req, resp := client.UpdateManagedRuleSetVersionExpiryDateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/UpdateManagedRuleSetVersionExpiryDate func (c *WAFV2) UpdateManagedRuleSetVersionExpiryDateRequest(input *UpdateManagedRuleSetVersionExpiryDateInput) (req *request.Request, output *UpdateManagedRuleSetVersionExpiryDateOutput) { @@ -5091,35 +5090,36 @@ func (c *WAFV2) UpdateManagedRuleSetVersionExpiryDateRequest(input *UpdateManage // API operation UpdateManagedRuleSetVersionExpiryDate for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/UpdateManagedRuleSetVersionExpiryDate func (c *WAFV2) UpdateManagedRuleSetVersionExpiryDate(input *UpdateManagedRuleSetVersionExpiryDateInput) (*UpdateManagedRuleSetVersionExpiryDateOutput, error) { @@ -5159,14 +5159,13 @@ const opUpdateRegexPatternSet = "UpdateRegexPatternSet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRegexPatternSetRequest method. +// req, resp := client.UpdateRegexPatternSetRequest(params) // -// // Example sending a request using the UpdateRegexPatternSetRequest method. -// req, resp := client.UpdateRegexPatternSetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/UpdateRegexPatternSet func (c *WAFV2) UpdateRegexPatternSetRequest(input *UpdateRegexPatternSetInput) (req *request.Request, output *UpdateRegexPatternSetOutput) { @@ -5216,45 +5215,46 @@ func (c *WAFV2) UpdateRegexPatternSetRequest(input *UpdateRegexPatternSetInput) // API operation UpdateRegexPatternSet for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFDuplicateItemException -// WAF couldn’t perform the operation because the resource that you tried -// to save is a duplicate of an existing one. +// - WAFDuplicateItemException +// WAF couldn’t perform the operation because the resource that you tried +// to save is a duplicate of an existing one. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// * WAFLimitsExceededException -// WAF couldn’t perform the operation because you exceeded your resource limit. -// For example, the maximum number of WebACL objects that you can create for -// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the WAF Developer Guide. +// - WAFLimitsExceededException +// WAF couldn’t perform the operation because you exceeded your resource limit. +// For example, the maximum number of WebACL objects that you can create for +// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the WAF Developer Guide. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/UpdateRegexPatternSet func (c *WAFV2) UpdateRegexPatternSet(input *UpdateRegexPatternSetInput) (*UpdateRegexPatternSetOutput, error) { @@ -5294,14 +5294,13 @@ const opUpdateRuleGroup = "UpdateRuleGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRuleGroupRequest method. +// req, resp := client.UpdateRuleGroupRequest(params) // -// // Example sending a request using the UpdateRuleGroupRequest method. -// req, resp := client.UpdateRuleGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/UpdateRuleGroup func (c *WAFV2) UpdateRuleGroupRequest(input *UpdateRuleGroupInput) (req *request.Request, output *UpdateRuleGroupOutput) { @@ -5357,68 +5356,69 @@ func (c *WAFV2) UpdateRuleGroupRequest(input *UpdateRuleGroupInput) (req *reques // API operation UpdateRuleGroup for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. // -// * You specified a parameter name or value that isn't valid. +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - You specified a parameter name or value that isn't valid. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFDuplicateItemException -// WAF couldn’t perform the operation because the resource that you tried -// to save is a duplicate of an existing one. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFDuplicateItemException +// WAF couldn’t perform the operation because the resource that you tried +// to save is a duplicate of an existing one. // -// * WAFLimitsExceededException -// WAF couldn’t perform the operation because you exceeded your resource limit. -// For example, the maximum number of WebACL objects that you can create for -// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the WAF Developer Guide. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// * WAFUnavailableEntityException -// WAF couldn’t retrieve a resource that you specified for this operation. -// Verify the resources that you are specifying in your request parameters and -// then retry the operation. +// - WAFLimitsExceededException +// WAF couldn’t perform the operation because you exceeded your resource limit. +// For example, the maximum number of WebACL objects that you can create for +// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the WAF Developer Guide. // -// * WAFSubscriptionNotFoundException -// You tried to use a managed rule group that's available by subscription, but -// you aren't subscribed to it yet. +// - WAFUnavailableEntityException +// WAF couldn’t retrieve a resource that you specified for this operation. +// Verify the resources that you are specifying in your request parameters and +// then retry the operation. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFSubscriptionNotFoundException +// You tried to use a managed rule group that's available by subscription, but +// you aren't subscribed to it yet. // -// * WAFConfigurationWarningException -// The operation failed because you are inspecting the web request body, headers, -// or cookies without specifying how to handle oversize components. Rules that -// inspect the body must either provide an OversizeHandling configuration or -// they must be preceded by a SizeConstraintStatement that blocks the body content -// from being too large. Rules that inspect the headers or cookies must provide -// an OversizeHandling configuration. +// - WAFInvalidOperationException +// The operation isn't valid. // -// Provide the handling configuration and retry your operation. +// - WAFConfigurationWarningException +// The operation failed because you are inspecting the web request body, headers, +// or cookies without specifying how to handle oversize components. Rules that +// inspect the body must either provide an OversizeHandling configuration or +// they must be preceded by a SizeConstraintStatement that blocks the body content +// from being too large. Rules that inspect the headers or cookies must provide +// an OversizeHandling configuration. // -// Alternately, you can suppress this warning by adding the following tag to -// the resource that you provide to this operation: Tag (key:WAF:OversizeFieldsHandlingConstraintOptOut, -// value:true). +// Provide the handling configuration and retry your operation. +// +// Alternately, you can suppress this warning by adding the following tag to +// the resource that you provide to this operation: Tag (key:WAF:OversizeFieldsHandlingConstraintOptOut, +// value:true). // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/UpdateRuleGroup func (c *WAFV2) UpdateRuleGroup(input *UpdateRuleGroupInput) (*UpdateRuleGroupOutput, error) { @@ -5458,14 +5458,13 @@ const opUpdateWebACL = "UpdateWebACL" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWebACLRequest method. +// req, resp := client.UpdateWebACLRequest(params) // -// // Example sending a request using the UpdateWebACLRequest method. -// req, resp := client.UpdateWebACLRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/UpdateWebACL func (c *WAFV2) UpdateWebACLRequest(input *UpdateWebACLInput) (req *request.Request, output *UpdateWebACLOutput) { @@ -5525,77 +5524,78 @@ func (c *WAFV2) UpdateWebACLRequest(input *UpdateWebACLInput) (req *request.Requ // API operation UpdateWebACL for usage and error information. // // Returned Error Types: -// * WAFInternalErrorException -// Your request is valid, but WAF couldn’t perform the operation because of -// a system problem. Retry your request. // -// * WAFInvalidParameterException -// The operation failed because WAF didn't recognize a parameter in the request. -// For example: +// - WAFInternalErrorException +// Your request is valid, but WAF couldn’t perform the operation because of +// a system problem. Retry your request. +// +// - WAFInvalidParameterException +// The operation failed because WAF didn't recognize a parameter in the request. +// For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. // -// * WAFNonexistentItemException -// WAF couldn’t perform the operation because your resource doesn’t exist. +// - WAFNonexistentItemException +// WAF couldn’t perform the operation because your resource doesn’t exist. // -// * WAFDuplicateItemException -// WAF couldn’t perform the operation because the resource that you tried -// to save is a duplicate of an existing one. +// - WAFDuplicateItemException +// WAF couldn’t perform the operation because the resource that you tried +// to save is a duplicate of an existing one. // -// * WAFOptimisticLockException -// WAF couldn’t save your changes because you tried to update or delete a -// resource that has changed since you last retrieved it. Get the resource again, -// make any changes you need to make to the new copy, and retry your operation. +// - WAFOptimisticLockException +// WAF couldn’t save your changes because you tried to update or delete a +// resource that has changed since you last retrieved it. Get the resource again, +// make any changes you need to make to the new copy, and retry your operation. // -// * WAFLimitsExceededException -// WAF couldn’t perform the operation because you exceeded your resource limit. -// For example, the maximum number of WebACL objects that you can create for -// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) -// in the WAF Developer Guide. +// - WAFLimitsExceededException +// WAF couldn’t perform the operation because you exceeded your resource limit. +// For example, the maximum number of WebACL objects that you can create for +// an Amazon Web Services account. For more information, see WAF quotas (https://docs.aws.amazon.com/waf/latest/developerguide/limits.html) +// in the WAF Developer Guide. // -// * WAFInvalidResourceException -// WAF couldn’t perform the operation because the resource that you requested -// isn’t valid. Check the resource, and try again. +// - WAFInvalidResourceException +// WAF couldn’t perform the operation because the resource that you requested +// isn’t valid. Check the resource, and try again. // -// * WAFUnavailableEntityException -// WAF couldn’t retrieve a resource that you specified for this operation. -// Verify the resources that you are specifying in your request parameters and -// then retry the operation. +// - WAFUnavailableEntityException +// WAF couldn’t retrieve a resource that you specified for this operation. +// Verify the resources that you are specifying in your request parameters and +// then retry the operation. // -// * WAFSubscriptionNotFoundException -// You tried to use a managed rule group that's available by subscription, but -// you aren't subscribed to it yet. +// - WAFSubscriptionNotFoundException +// You tried to use a managed rule group that's available by subscription, but +// you aren't subscribed to it yet. // -// * WAFInvalidOperationException -// The operation isn't valid. +// - WAFInvalidOperationException +// The operation isn't valid. // -// * WAFExpiredManagedRuleGroupVersionException -// The operation failed because the specified version for the managed rule group -// has expired. You can retrieve the available versions for the managed rule -// group by calling ListAvailableManagedRuleGroupVersions. +// - WAFExpiredManagedRuleGroupVersionException +// The operation failed because the specified version for the managed rule group +// has expired. You can retrieve the available versions for the managed rule +// group by calling ListAvailableManagedRuleGroupVersions. // -// * WAFConfigurationWarningException -// The operation failed because you are inspecting the web request body, headers, -// or cookies without specifying how to handle oversize components. Rules that -// inspect the body must either provide an OversizeHandling configuration or -// they must be preceded by a SizeConstraintStatement that blocks the body content -// from being too large. Rules that inspect the headers or cookies must provide -// an OversizeHandling configuration. +// - WAFConfigurationWarningException +// The operation failed because you are inspecting the web request body, headers, +// or cookies without specifying how to handle oversize components. Rules that +// inspect the body must either provide an OversizeHandling configuration or +// they must be preceded by a SizeConstraintStatement that blocks the body content +// from being too large. Rules that inspect the headers or cookies must provide +// an OversizeHandling configuration. // -// Provide the handling configuration and retry your operation. +// Provide the handling configuration and retry your operation. // -// Alternately, you can suppress this warning by adding the following tag to -// the resource that you provide to this operation: Tag (key:WAF:OversizeFieldsHandlingConstraintOptOut, -// value:true). +// Alternately, you can suppress this warning by adding the following tag to +// the resource that you provide to this operation: Tag (key:WAF:OversizeFieldsHandlingConstraintOptOut, +// value:true). // // See also, https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29/UpdateWebACL func (c *WAFV2) UpdateWebACL(input *UpdateWebACLInput) (*UpdateWebACLOutput, error) { @@ -6219,16 +6219,16 @@ func (s *ByteMatchStatement) SetTextTransformations(v []*TextTransformation) *By // Specifies that WAF should run a CAPTCHA check against the request: // -// * If the request includes a valid, unexpired CAPTCHA token, WAF allows -// the web request inspection to proceed to the next rule, similar to a CountAction. +// - If the request includes a valid, unexpired CAPTCHA token, WAF allows +// the web request inspection to proceed to the next rule, similar to a CountAction. // -// * If the request doesn't include a valid, unexpired CAPTCHA token, WAF -// discontinues the web ACL evaluation of the request and blocks it from -// going to its intended destination. WAF generates a response that it sends -// back to the client, which includes the following: The header x-amzn-waf-action -// with a value of captcha. The HTTP status code 405 Method Not Allowed. -// If the request contains an Accept header with a value of text/html, the -// response includes a CAPTCHA challenge. +// - If the request doesn't include a valid, unexpired CAPTCHA token, WAF +// discontinues the web ACL evaluation of the request and blocks it from +// going to its intended destination. WAF generates a response that it sends +// back to the client, which includes the following: The header x-amzn-waf-action +// with a value of captcha. The HTTP status code 405 Method Not Allowed. +// If the request contains an Accept header with a value of text/html, the +// response includes a CAPTCHA challenge. // // You can configure the expiration time in the CaptchaConfig ImmunityTimeProperty // setting at the rule and web ACL level. The rule setting overrides the web @@ -12482,12 +12482,12 @@ func (s *LabelNameCondition) SetLabelName(v string) *LabelNameCondition { // List of labels used by one or more of the rules of a RuleGroup. This summary // object is used for the following rule group lists: // -// * AvailableLabels - Labels that rules add to matching requests. These -// labels are defined in the RuleLabels for a Rule. +// - AvailableLabels - Labels that rules add to matching requests. These +// labels are defined in the RuleLabels for a Rule. // -// * ConsumedLabels - Labels that rules match against. These labels are defined -// in a LabelMatchStatement specification, in the Statement definition of -// a rule. +// - ConsumedLabels - Labels that rules match against. These labels are defined +// in a LabelMatchStatement specification, in the Statement definition of +// a rule. type LabelSummary struct { _ struct{} `type:"structure"` @@ -15686,10 +15686,10 @@ func (s QueryString) GoString() string { // seen from an attacker, you might create a rate-based rule with a nested AND // rule statement that contains the following nested statements: // -// * An IP match statement with an IP set that specified the address 192.0.2.44. +// - An IP match statement with an IP set that specified the address 192.0.2.44. // -// * A string match statement that searches in the User-Agent header for -// the string BadBot. +// - A string match statement that searches in the User-Agent header for +// the string BadBot. // // In this rate-based rule, you also define a rate limit. For this example, // the rate limit is 1,000. Requests that meet both of the conditions in the @@ -20114,16 +20114,16 @@ func (s *WAFInvalidOperationException) RequestID() string { // The operation failed because WAF didn't recognize a parameter in the request. // For example: // -// * You specified a parameter name or value that isn't valid. +// - You specified a parameter name or value that isn't valid. // -// * Your nested statement isn't valid. You might have tried to nest a statement -// that can’t be nested. +// - Your nested statement isn't valid. You might have tried to nest a statement +// that can’t be nested. // -// * You tried to update a WebACL with a DefaultAction that isn't among the -// types available at DefaultAction. +// - You tried to update a WebACL with a DefaultAction that isn't among the +// types available at DefaultAction. // -// * Your request references an ARN that is malformed, or corresponds to -// a resource with which a web ACL can't be associated. +// - Your request references an ARN that is malformed, or corresponds to +// a resource with which a web ACL can't be associated. type WAFInvalidParameterException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -20200,18 +20200,18 @@ func (s *WAFInvalidParameterException) RequestID() string { // // The policy specifications must conform to the following: // -// * The policy must be composed using IAM Policy version 2012-10-17 or version -// 2015-01-01. +// - The policy must be composed using IAM Policy version 2012-10-17 or version +// 2015-01-01. // -// * The policy must include specifications for Effect, Action, and Principal. +// - The policy must include specifications for Effect, Action, and Principal. // -// * Effect must specify Allow. +// - Effect must specify Allow. // -// * Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and wafv2:PutFirewallManagerRuleGroups -// and may optionally specify wafv2:GetRuleGroup. WAF rejects any extra actions -// or wildcard actions in the policy. +// - Action must specify wafv2:CreateWebACL, wafv2:UpdateWebACL, and wafv2:PutFirewallManagerRuleGroups +// and may optionally specify wafv2:GetRuleGroup. WAF rejects any extra actions +// or wildcard actions in the policy. // -// * The policy must not include a Resource parameter. +// - The policy must not include a Resource parameter. // // For more information, see IAM Policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html). type WAFInvalidPermissionPolicyException struct { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/doc.go index cce0be069f61..a0f89d4c7640 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/doc.go @@ -3,7 +3,6 @@ // Package wafv2 provides the client and types for making API // requests to AWS WAFV2. // -// // This is the latest version of the WAF API, released in November, 2019. The // names of the entities that you use to access this API, like endpoints and // namespaces, all have the versioning information added, like "V2" or "v2", @@ -36,12 +35,12 @@ // You can make calls using the endpoints listed in WAF endpoints and quotas // (https://docs.aws.amazon.com/general/latest/gr/waf.html). // -// * For regional applications, you can use any of the endpoints in the list. -// A regional application can be an Application Load Balancer (ALB), an Amazon -// API Gateway REST API, or an AppSync GraphQL API. +// - For regional applications, you can use any of the endpoints in the list. +// A regional application can be an Application Load Balancer (ALB), an Amazon +// API Gateway REST API, or an AppSync GraphQL API. // -// * For Amazon CloudFront applications, you must use the API endpoint listed -// for US East (N. Virginia): us-east-1. +// - For Amazon CloudFront applications, you must use the API endpoint listed +// for US East (N. Virginia): us-east-1. // // Alternatively, you can use one of the Amazon Web Services SDKs to access // an API that's tailored to the programming language or platform that you're @@ -51,24 +50,24 @@ // versions, the classic WAF APIs. This new API provides the same functionality // as the older versions, with the following major improvements: // -// * You use one API for both global and regional applications. Where you -// need to distinguish the scope, you specify a Scope parameter and set it -// to CLOUDFRONT or REGIONAL. +// - You use one API for both global and regional applications. Where you +// need to distinguish the scope, you specify a Scope parameter and set it +// to CLOUDFRONT or REGIONAL. // -// * You can define a web ACL or rule group with a single call, and update -// it with a single call. You define all rule specifications in JSON format, -// and pass them to your rule group or web ACL calls. +// - You can define a web ACL or rule group with a single call, and update +// it with a single call. You define all rule specifications in JSON format, +// and pass them to your rule group or web ACL calls. // -// * The limits WAF places on the use of rules more closely reflects the -// cost of running each type of rule. Rule groups include capacity settings, -// so you know the maximum cost of a rule group when you use it. +// - The limits WAF places on the use of rules more closely reflects the +// cost of running each type of rule. Rule groups include capacity settings, +// so you know the maximum cost of a rule group when you use it. // // See https://docs.aws.amazon.com/goto/WebAPI/wafv2-2019-07-29 for more information on this service. // // See wafv2 package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/wafv2/ // -// Using the Client +// # Using the Client // // To contact AWS WAFV2 with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/service.go index af1c2b42bc29..d3f34b173fa2 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a WAFV2 client from just a session. -// svc := wafv2.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a WAFV2 client with additional configuration -// svc := wafv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a WAFV2 client from just a session. +// svc := wafv2.New(mySession) +// +// // Create a WAFV2 client with additional configuration +// svc := wafv2.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *WAFV2 { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/wafv2iface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/wafv2iface/interface.go index f09552a97290..c79782f10cd4 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/wafv2iface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wafv2/wafv2iface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS WAFV2. -// func myFunc(svc wafv2iface.WAFV2API) bool { -// // Make svc.AssociateWebACL request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS WAFV2. +// func myFunc(svc wafv2iface.WAFV2API) bool { +// // Make svc.AssociateWebACL request +// } // -// func main() { -// sess := session.New() -// svc := wafv2.New(sess) +// func main() { +// sess := session.New() +// svc := wafv2.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockWAFV2Client struct { -// wafv2iface.WAFV2API -// } -// func (m *mockWAFV2Client) AssociateWebACL(input *wafv2.AssociateWebACLInput) (*wafv2.AssociateWebACLOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockWAFV2Client struct { +// wafv2iface.WAFV2API +// } +// func (m *mockWAFV2Client) AssociateWebACL(input *wafv2.AssociateWebACLInput) (*wafv2.AssociateWebACLOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockWAFV2Client{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockWAFV2Client{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/api.go index 76e7e5821bce..800850584654 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/api.go @@ -29,14 +29,13 @@ const opAssociateLenses = "AssociateLenses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateLensesRequest method. +// req, resp := client.AssociateLensesRequest(params) // -// // Example sending a request using the AssociateLensesRequest method. -// req, resp := client.AssociateLensesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/AssociateLenses func (c *WellArchitected) AssociateLensesRequest(input *AssociateLensesInput) (req *request.Request, output *AssociateLensesOutput) { @@ -63,7 +62,7 @@ func (c *WellArchitected) AssociateLensesRequest(input *AssociateLensesInput) (r // Up to 10 lenses can be associated with a workload in a single API operation. // A maximum of 20 lenses can be associated with a workload. // -// Disclaimer +// # Disclaimer // // By accessing and/or applying custom lenses created by another Amazon Web // Services user or account, you acknowledge that custom lenses created by other @@ -78,23 +77,24 @@ func (c *WellArchitected) AssociateLensesRequest(input *AssociateLensesInput) (r // API operation AssociateLenses for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. +// +// - ResourceNotFoundException +// The requested resource was not found. // -// * ConflictException -// The resource already exists. +// - ConflictException +// The resource already exists. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/AssociateLenses func (c *WellArchitected) AssociateLenses(input *AssociateLensesInput) (*AssociateLensesOutput, error) { @@ -134,14 +134,13 @@ const opCreateLensShare = "CreateLensShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLensShareRequest method. +// req, resp := client.CreateLensShareRequest(params) // -// // Example sending a request using the CreateLensShareRequest method. -// req, resp := client.CreateLensShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateLensShare func (c *WellArchitected) CreateLensShareRequest(input *CreateLensShareInput) (req *request.Request, output *CreateLensShareOutput) { @@ -168,7 +167,7 @@ func (c *WellArchitected) CreateLensShareRequest(input *CreateLensShareInput) (r // and IAM users in the same Amazon Web Services Region. Shared access to a // lens is not removed until the lens invitation is deleted. // -// Disclaimer +// # Disclaimer // // By sharing your custom lenses with other Amazon Web Services accounts, you // acknowledge that Amazon Web Services will make your custom lenses available @@ -184,26 +183,27 @@ func (c *WellArchitected) CreateLensShareRequest(input *CreateLensShareInput) (r // API operation CreateLensShare for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ConflictException -// The resource already exists. +// - ValidationException +// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ConflictException +// The resource already exists. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ServiceQuotaExceededException -// The user has reached their resource quota. +// - ResourceNotFoundException +// The requested resource was not found. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - ServiceQuotaExceededException +// The user has reached their resource quota. // -// * ThrottlingException -// Request was denied due to request throttling. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateLensShare func (c *WellArchitected) CreateLensShare(input *CreateLensShareInput) (*CreateLensShareOutput, error) { @@ -243,14 +243,13 @@ const opCreateLensVersion = "CreateLensVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLensVersionRequest method. +// req, resp := client.CreateLensVersionRequest(params) // -// // Example sending a request using the CreateLensVersionRequest method. -// req, resp := client.CreateLensVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateLensVersion func (c *WellArchitected) CreateLensVersionRequest(input *CreateLensVersionInput) (req *request.Request, output *CreateLensVersionOutput) { @@ -288,26 +287,27 @@ func (c *WellArchitected) CreateLensVersionRequest(input *CreateLensVersionInput // API operation CreateLensVersion for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. +// +// - ResourceNotFoundException +// The requested resource was not found. // -// * ServiceQuotaExceededException -// The user has reached their resource quota. +// - ServiceQuotaExceededException +// The user has reached their resource quota. // -// * ConflictException -// The resource already exists. +// - ConflictException +// The resource already exists. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateLensVersion func (c *WellArchitected) CreateLensVersion(input *CreateLensVersionInput) (*CreateLensVersionOutput, error) { @@ -347,14 +347,13 @@ const opCreateMilestone = "CreateMilestone" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMilestoneRequest method. +// req, resp := client.CreateMilestoneRequest(params) // -// // Example sending a request using the CreateMilestoneRequest method. -// req, resp := client.CreateMilestoneRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateMilestone func (c *WellArchitected) CreateMilestoneRequest(input *CreateMilestoneInput) (req *request.Request, output *CreateMilestoneOutput) { @@ -385,26 +384,27 @@ func (c *WellArchitected) CreateMilestoneRequest(input *CreateMilestoneInput) (r // API operation CreateMilestone for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ConflictException -// The resource already exists. +// - ValidationException +// The user input is not valid. +// +// - ConflictException +// The resource already exists. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * ServiceQuotaExceededException -// The user has reached their resource quota. +// - ServiceQuotaExceededException +// The user has reached their resource quota. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateMilestone func (c *WellArchitected) CreateMilestone(input *CreateMilestoneInput) (*CreateMilestoneOutput, error) { @@ -444,14 +444,13 @@ const opCreateWorkload = "CreateWorkload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorkloadRequest method. +// req, resp := client.CreateWorkloadRequest(params) // -// // Example sending a request using the CreateWorkloadRequest method. -// req, resp := client.CreateWorkloadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateWorkload func (c *WellArchitected) CreateWorkloadRequest(input *CreateWorkloadInput) (req *request.Request, output *CreateWorkloadOutput) { @@ -489,23 +488,24 @@ func (c *WellArchitected) CreateWorkloadRequest(input *CreateWorkloadInput) (req // API operation CreateWorkload for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ConflictException -// The resource already exists. +// - ValidationException +// The user input is not valid. // -// * ServiceQuotaExceededException -// The user has reached their resource quota. +// - ConflictException +// The resource already exists. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ServiceQuotaExceededException +// The user has reached their resource quota. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ThrottlingException -// Request was denied due to request throttling. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateWorkload func (c *WellArchitected) CreateWorkload(input *CreateWorkloadInput) (*CreateWorkloadOutput, error) { @@ -545,14 +545,13 @@ const opCreateWorkloadShare = "CreateWorkloadShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorkloadShareRequest method. +// req, resp := client.CreateWorkloadShareRequest(params) // -// // Example sending a request using the CreateWorkloadShareRequest method. -// req, resp := client.CreateWorkloadShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateWorkloadShare func (c *WellArchitected) CreateWorkloadShareRequest(input *CreateWorkloadShareInput) (req *request.Request, output *CreateWorkloadShareOutput) { @@ -590,26 +589,27 @@ func (c *WellArchitected) CreateWorkloadShareRequest(input *CreateWorkloadShareI // API operation CreateWorkloadShare for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ConflictException -// The resource already exists. +// - ValidationException +// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ConflictException +// The resource already exists. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ServiceQuotaExceededException -// The user has reached their resource quota. +// - ResourceNotFoundException +// The requested resource was not found. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - ServiceQuotaExceededException +// The user has reached their resource quota. // -// * ThrottlingException -// Request was denied due to request throttling. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/CreateWorkloadShare func (c *WellArchitected) CreateWorkloadShare(input *CreateWorkloadShareInput) (*CreateWorkloadShareOutput, error) { @@ -649,14 +649,13 @@ const opDeleteLens = "DeleteLens" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLensRequest method. +// req, resp := client.DeleteLensRequest(params) // -// // Example sending a request using the DeleteLensRequest method. -// req, resp := client.DeleteLensRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteLens func (c *WellArchitected) DeleteLensRequest(input *DeleteLensInput) (req *request.Request, output *DeleteLensOutput) { @@ -684,7 +683,7 @@ func (c *WellArchitected) DeleteLensRequest(input *DeleteLensInput) (req *reques // Web Services accounts and IAM users that you shared the lens with can continue // to use it, but they will no longer be able to apply it to new workloads. // -// Disclaimer +// # Disclaimer // // By sharing your custom lenses with other Amazon Web Services accounts, you // acknowledge that Amazon Web Services will make your custom lenses available @@ -700,23 +699,24 @@ func (c *WellArchitected) DeleteLensRequest(input *DeleteLensInput) (req *reques // API operation DeleteLens for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. +// +// - ResourceNotFoundException +// The requested resource was not found. // -// * ConflictException -// The resource already exists. +// - ConflictException +// The resource already exists. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteLens func (c *WellArchitected) DeleteLens(input *DeleteLensInput) (*DeleteLensOutput, error) { @@ -756,14 +756,13 @@ const opDeleteLensShare = "DeleteLensShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLensShareRequest method. +// req, resp := client.DeleteLensShareRequest(params) // -// // Example sending a request using the DeleteLensShareRequest method. -// req, resp := client.DeleteLensShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteLensShare func (c *WellArchitected) DeleteLensShareRequest(input *DeleteLensShareInput) (req *request.Request, output *DeleteLensShareOutput) { @@ -791,7 +790,7 @@ func (c *WellArchitected) DeleteLensShareRequest(input *DeleteLensShareInput) (r // that you shared the lens with can continue to use it, but they will no longer // be able to apply it to new workloads. // -// Disclaimer +// # Disclaimer // // By sharing your custom lenses with other Amazon Web Services accounts, you // acknowledge that Amazon Web Services will make your custom lenses available @@ -807,23 +806,24 @@ func (c *WellArchitected) DeleteLensShareRequest(input *DeleteLensShareInput) (r // API operation DeleteLensShare for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ValidationException +// The user input is not valid. +// +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * ConflictException -// The resource already exists. +// - ConflictException +// The resource already exists. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteLensShare func (c *WellArchitected) DeleteLensShare(input *DeleteLensShareInput) (*DeleteLensShareOutput, error) { @@ -863,14 +863,13 @@ const opDeleteWorkload = "DeleteWorkload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorkloadRequest method. +// req, resp := client.DeleteWorkloadRequest(params) // -// // Example sending a request using the DeleteWorkloadRequest method. -// req, resp := client.DeleteWorkloadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteWorkload func (c *WellArchitected) DeleteWorkloadRequest(input *DeleteWorkloadInput) (req *request.Request, output *DeleteWorkloadOutput) { @@ -902,23 +901,24 @@ func (c *WellArchitected) DeleteWorkloadRequest(input *DeleteWorkloadInput) (req // API operation DeleteWorkload for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. // -// * ConflictException -// The resource already exists. +// - ResourceNotFoundException +// The requested resource was not found. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ConflictException +// The resource already exists. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ThrottlingException -// Request was denied due to request throttling. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteWorkload func (c *WellArchitected) DeleteWorkload(input *DeleteWorkloadInput) (*DeleteWorkloadOutput, error) { @@ -958,14 +958,13 @@ const opDeleteWorkloadShare = "DeleteWorkloadShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorkloadShareRequest method. +// req, resp := client.DeleteWorkloadShareRequest(params) // -// // Example sending a request using the DeleteWorkloadShareRequest method. -// req, resp := client.DeleteWorkloadShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteWorkloadShare func (c *WellArchitected) DeleteWorkloadShareRequest(input *DeleteWorkloadShareInput) (req *request.Request, output *DeleteWorkloadShareOutput) { @@ -997,23 +996,24 @@ func (c *WellArchitected) DeleteWorkloadShareRequest(input *DeleteWorkloadShareI // API operation DeleteWorkloadShare for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ValidationException +// The user input is not valid. +// +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * ConflictException -// The resource already exists. +// - ConflictException +// The resource already exists. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DeleteWorkloadShare func (c *WellArchitected) DeleteWorkloadShare(input *DeleteWorkloadShareInput) (*DeleteWorkloadShareOutput, error) { @@ -1053,14 +1053,13 @@ const opDisassociateLenses = "DisassociateLenses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateLensesRequest method. +// req, resp := client.DisassociateLensesRequest(params) // -// // Example sending a request using the DisassociateLensesRequest method. -// req, resp := client.DisassociateLensesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DisassociateLenses func (c *WellArchitected) DisassociateLensesRequest(input *DisassociateLensesInput) (req *request.Request, output *DisassociateLensesOutput) { @@ -1097,23 +1096,24 @@ func (c *WellArchitected) DisassociateLensesRequest(input *DisassociateLensesInp // API operation DisassociateLenses for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. +// +// - ResourceNotFoundException +// The requested resource was not found. // -// * ConflictException -// The resource already exists. +// - ConflictException +// The resource already exists. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/DisassociateLenses func (c *WellArchitected) DisassociateLenses(input *DisassociateLensesInput) (*DisassociateLensesOutput, error) { @@ -1153,14 +1153,13 @@ const opExportLens = "ExportLens" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ExportLensRequest method. +// req, resp := client.ExportLensRequest(params) // -// // Example sending a request using the ExportLensRequest method. -// req, resp := client.ExportLensRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ExportLens func (c *WellArchitected) ExportLensRequest(input *ExportLensInput) (req *request.Request, output *ExportLensOutput) { @@ -1188,7 +1187,7 @@ func (c *WellArchitected) ExportLensRequest(input *ExportLensInput) (req *reques // in the Well-Architected Tool User Guide. Only the owner of a lens can export // it. // -// Disclaimer +// # Disclaimer // // Do not include or gather personal identifiable information (PII) of end users // or other identifiable individuals in or via your custom lenses. If your custom @@ -1205,20 +1204,21 @@ func (c *WellArchitected) ExportLensRequest(input *ExportLensInput) (req *reques // API operation ExportLens for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. +// +// - ResourceNotFoundException +// The requested resource was not found. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ExportLens func (c *WellArchitected) ExportLens(input *ExportLensInput) (*ExportLensOutput, error) { @@ -1258,14 +1258,13 @@ const opGetAnswer = "GetAnswer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAnswerRequest method. +// req, resp := client.GetAnswerRequest(params) // -// // Example sending a request using the GetAnswerRequest method. -// req, resp := client.GetAnswerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetAnswer func (c *WellArchitected) GetAnswerRequest(input *GetAnswerInput) (req *request.Request, output *GetAnswerOutput) { @@ -1296,20 +1295,21 @@ func (c *WellArchitected) GetAnswerRequest(input *GetAnswerInput) (req *request. // API operation GetAnswer for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ResourceNotFoundException +// The requested resource was not found. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ThrottlingException -// Request was denied due to request throttling. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetAnswer func (c *WellArchitected) GetAnswer(input *GetAnswerInput) (*GetAnswerOutput, error) { @@ -1349,14 +1349,13 @@ const opGetLens = "GetLens" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLensRequest method. +// req, resp := client.GetLensRequest(params) // -// // Example sending a request using the GetLensRequest method. -// req, resp := client.GetLensRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLens func (c *WellArchitected) GetLensRequest(input *GetLensInput) (req *request.Request, output *GetLensOutput) { @@ -1387,20 +1386,21 @@ func (c *WellArchitected) GetLensRequest(input *GetLensInput) (req *request.Requ // API operation GetLens for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. +// +// - ResourceNotFoundException +// The requested resource was not found. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLens func (c *WellArchitected) GetLens(input *GetLensInput) (*GetLensOutput, error) { @@ -1440,14 +1440,13 @@ const opGetLensReview = "GetLensReview" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLensReviewRequest method. +// req, resp := client.GetLensReviewRequest(params) // -// // Example sending a request using the GetLensReviewRequest method. -// req, resp := client.GetLensReviewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLensReview func (c *WellArchitected) GetLensReviewRequest(input *GetLensReviewInput) (req *request.Request, output *GetLensReviewOutput) { @@ -1478,20 +1477,21 @@ func (c *WellArchitected) GetLensReviewRequest(input *GetLensReviewInput) (req * // API operation GetLensReview for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. +// +// - ResourceNotFoundException +// The requested resource was not found. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLensReview func (c *WellArchitected) GetLensReview(input *GetLensReviewInput) (*GetLensReviewOutput, error) { @@ -1531,14 +1531,13 @@ const opGetLensReviewReport = "GetLensReviewReport" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLensReviewReportRequest method. +// req, resp := client.GetLensReviewReportRequest(params) // -// // Example sending a request using the GetLensReviewReportRequest method. -// req, resp := client.GetLensReviewReportRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLensReviewReport func (c *WellArchitected) GetLensReviewReportRequest(input *GetLensReviewReportInput) (req *request.Request, output *GetLensReviewReportOutput) { @@ -1569,20 +1568,21 @@ func (c *WellArchitected) GetLensReviewReportRequest(input *GetLensReviewReportI // API operation GetLensReviewReport for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ResourceNotFoundException +// The requested resource was not found. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ThrottlingException -// Request was denied due to request throttling. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLensReviewReport func (c *WellArchitected) GetLensReviewReport(input *GetLensReviewReportInput) (*GetLensReviewReportOutput, error) { @@ -1622,14 +1622,13 @@ const opGetLensVersionDifference = "GetLensVersionDifference" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetLensVersionDifferenceRequest method. +// req, resp := client.GetLensVersionDifferenceRequest(params) // -// // Example sending a request using the GetLensVersionDifferenceRequest method. -// req, resp := client.GetLensVersionDifferenceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLensVersionDifference func (c *WellArchitected) GetLensVersionDifferenceRequest(input *GetLensVersionDifferenceInput) (req *request.Request, output *GetLensVersionDifferenceOutput) { @@ -1660,20 +1659,21 @@ func (c *WellArchitected) GetLensVersionDifferenceRequest(input *GetLensVersionD // API operation GetLensVersionDifference for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ResourceNotFoundException +// The requested resource was not found. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ThrottlingException -// Request was denied due to request throttling. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetLensVersionDifference func (c *WellArchitected) GetLensVersionDifference(input *GetLensVersionDifferenceInput) (*GetLensVersionDifferenceOutput, error) { @@ -1713,14 +1713,13 @@ const opGetMilestone = "GetMilestone" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMilestoneRequest method. +// req, resp := client.GetMilestoneRequest(params) // -// // Example sending a request using the GetMilestoneRequest method. -// req, resp := client.GetMilestoneRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetMilestone func (c *WellArchitected) GetMilestoneRequest(input *GetMilestoneInput) (req *request.Request, output *GetMilestoneOutput) { @@ -1751,20 +1750,21 @@ func (c *WellArchitected) GetMilestoneRequest(input *GetMilestoneInput) (req *re // API operation GetMilestone for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. +// +// - ResourceNotFoundException +// The requested resource was not found. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetMilestone func (c *WellArchitected) GetMilestone(input *GetMilestoneInput) (*GetMilestoneOutput, error) { @@ -1804,14 +1804,13 @@ const opGetWorkload = "GetWorkload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetWorkloadRequest method. +// req, resp := client.GetWorkloadRequest(params) // -// // Example sending a request using the GetWorkloadRequest method. -// req, resp := client.GetWorkloadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetWorkload func (c *WellArchitected) GetWorkloadRequest(input *GetWorkloadInput) (req *request.Request, output *GetWorkloadOutput) { @@ -1842,20 +1841,21 @@ func (c *WellArchitected) GetWorkloadRequest(input *GetWorkloadInput) (req *requ // API operation GetWorkload for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. +// +// - ResourceNotFoundException +// The requested resource was not found. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/GetWorkload func (c *WellArchitected) GetWorkload(input *GetWorkloadInput) (*GetWorkloadOutput, error) { @@ -1895,14 +1895,13 @@ const opImportLens = "ImportLens" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportLensRequest method. +// req, resp := client.ImportLensRequest(params) // -// // Example sending a request using the ImportLensRequest method. -// req, resp := client.ImportLensRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ImportLens func (c *WellArchitected) ImportLensRequest(input *ImportLensInput) (req *request.Request, output *ImportLensOutput) { @@ -1934,7 +1933,7 @@ func (c *WellArchitected) ImportLensRequest(input *ImportLensInput) (req *reques // // A custom lens cannot exceed 500 KB in size. // -// Disclaimer +// # Disclaimer // // Do not include or gather personal identifiable information (PII) of end users // or other identifiable individuals in or via your custom lenses. If your custom @@ -1951,26 +1950,27 @@ func (c *WellArchitected) ImportLensRequest(input *ImportLensInput) (req *reques // API operation ImportLens for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ConflictException -// The resource already exists. +// - ValidationException +// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ConflictException +// The resource already exists. // -// * ServiceQuotaExceededException -// The user has reached their resource quota. +// - ResourceNotFoundException +// The requested resource was not found. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ServiceQuotaExceededException +// The user has reached their resource quota. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ThrottlingException -// Request was denied due to request throttling. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ImportLens func (c *WellArchitected) ImportLens(input *ImportLensInput) (*ImportLensOutput, error) { @@ -2010,14 +2010,13 @@ const opListAnswers = "ListAnswers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAnswersRequest method. +// req, resp := client.ListAnswersRequest(params) // -// // Example sending a request using the ListAnswersRequest method. -// req, resp := client.ListAnswersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListAnswers func (c *WellArchitected) ListAnswersRequest(input *ListAnswersInput) (req *request.Request, output *ListAnswersOutput) { @@ -2054,20 +2053,21 @@ func (c *WellArchitected) ListAnswersRequest(input *ListAnswersInput) (req *requ // API operation ListAnswers for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ValidationException +// The user input is not valid. +// +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListAnswers func (c *WellArchitected) ListAnswers(input *ListAnswersInput) (*ListAnswersOutput, error) { @@ -2099,15 +2099,14 @@ func (c *WellArchitected) ListAnswersWithContext(ctx aws.Context, input *ListAns // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAnswers operation. -// pageNum := 0 -// err := client.ListAnswersPages(params, -// func(page *wellarchitected.ListAnswersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAnswers operation. +// pageNum := 0 +// err := client.ListAnswersPages(params, +// func(page *wellarchitected.ListAnswersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WellArchitected) ListAnswersPages(input *ListAnswersInput, fn func(*ListAnswersOutput, bool) bool) error { return c.ListAnswersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2159,14 +2158,13 @@ const opListLensReviewImprovements = "ListLensReviewImprovements" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLensReviewImprovementsRequest method. +// req, resp := client.ListLensReviewImprovementsRequest(params) // -// // Example sending a request using the ListLensReviewImprovementsRequest method. -// req, resp := client.ListLensReviewImprovementsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLensReviewImprovements func (c *WellArchitected) ListLensReviewImprovementsRequest(input *ListLensReviewImprovementsInput) (req *request.Request, output *ListLensReviewImprovementsOutput) { @@ -2203,20 +2201,21 @@ func (c *WellArchitected) ListLensReviewImprovementsRequest(input *ListLensRevie // API operation ListLensReviewImprovements for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ValidationException +// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - ResourceNotFoundException +// The requested resource was not found. // -// * ThrottlingException -// Request was denied due to request throttling. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLensReviewImprovements func (c *WellArchitected) ListLensReviewImprovements(input *ListLensReviewImprovementsInput) (*ListLensReviewImprovementsOutput, error) { @@ -2248,15 +2247,14 @@ func (c *WellArchitected) ListLensReviewImprovementsWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLensReviewImprovements operation. -// pageNum := 0 -// err := client.ListLensReviewImprovementsPages(params, -// func(page *wellarchitected.ListLensReviewImprovementsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLensReviewImprovements operation. +// pageNum := 0 +// err := client.ListLensReviewImprovementsPages(params, +// func(page *wellarchitected.ListLensReviewImprovementsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WellArchitected) ListLensReviewImprovementsPages(input *ListLensReviewImprovementsInput, fn func(*ListLensReviewImprovementsOutput, bool) bool) error { return c.ListLensReviewImprovementsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2308,14 +2306,13 @@ const opListLensReviews = "ListLensReviews" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLensReviewsRequest method. +// req, resp := client.ListLensReviewsRequest(params) // -// // Example sending a request using the ListLensReviewsRequest method. -// req, resp := client.ListLensReviewsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLensReviews func (c *WellArchitected) ListLensReviewsRequest(input *ListLensReviewsInput) (req *request.Request, output *ListLensReviewsOutput) { @@ -2352,20 +2349,21 @@ func (c *WellArchitected) ListLensReviewsRequest(input *ListLensReviewsInput) (r // API operation ListLensReviews for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ValidationException +// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - ResourceNotFoundException +// The requested resource was not found. // -// * ThrottlingException -// Request was denied due to request throttling. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLensReviews func (c *WellArchitected) ListLensReviews(input *ListLensReviewsInput) (*ListLensReviewsOutput, error) { @@ -2397,15 +2395,14 @@ func (c *WellArchitected) ListLensReviewsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLensReviews operation. -// pageNum := 0 -// err := client.ListLensReviewsPages(params, -// func(page *wellarchitected.ListLensReviewsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLensReviews operation. +// pageNum := 0 +// err := client.ListLensReviewsPages(params, +// func(page *wellarchitected.ListLensReviewsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WellArchitected) ListLensReviewsPages(input *ListLensReviewsInput, fn func(*ListLensReviewsOutput, bool) bool) error { return c.ListLensReviewsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2457,14 +2454,13 @@ const opListLensShares = "ListLensShares" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLensSharesRequest method. +// req, resp := client.ListLensSharesRequest(params) // -// // Example sending a request using the ListLensSharesRequest method. -// req, resp := client.ListLensSharesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLensShares func (c *WellArchitected) ListLensSharesRequest(input *ListLensSharesInput) (req *request.Request, output *ListLensSharesOutput) { @@ -2501,20 +2497,21 @@ func (c *WellArchitected) ListLensSharesRequest(input *ListLensSharesInput) (req // API operation ListLensShares for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ValidationException +// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - ResourceNotFoundException +// The requested resource was not found. // -// * ThrottlingException -// Request was denied due to request throttling. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLensShares func (c *WellArchitected) ListLensShares(input *ListLensSharesInput) (*ListLensSharesOutput, error) { @@ -2546,15 +2543,14 @@ func (c *WellArchitected) ListLensSharesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLensShares operation. -// pageNum := 0 -// err := client.ListLensSharesPages(params, -// func(page *wellarchitected.ListLensSharesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLensShares operation. +// pageNum := 0 +// err := client.ListLensSharesPages(params, +// func(page *wellarchitected.ListLensSharesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WellArchitected) ListLensSharesPages(input *ListLensSharesInput, fn func(*ListLensSharesOutput, bool) bool) error { return c.ListLensSharesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2606,14 +2602,13 @@ const opListLenses = "ListLenses" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListLensesRequest method. +// req, resp := client.ListLensesRequest(params) // -// // Example sending a request using the ListLensesRequest method. -// req, resp := client.ListLensesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLenses func (c *WellArchitected) ListLensesRequest(input *ListLensesInput) (req *request.Request, output *ListLensesOutput) { @@ -2650,17 +2645,18 @@ func (c *WellArchitected) ListLensesRequest(input *ListLensesInput) (req *reques // API operation ListLenses for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ValidationException +// The user input is not valid. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ThrottlingException -// Request was denied due to request throttling. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListLenses func (c *WellArchitected) ListLenses(input *ListLensesInput) (*ListLensesOutput, error) { @@ -2692,15 +2688,14 @@ func (c *WellArchitected) ListLensesWithContext(ctx aws.Context, input *ListLens // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListLenses operation. -// pageNum := 0 -// err := client.ListLensesPages(params, -// func(page *wellarchitected.ListLensesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListLenses operation. +// pageNum := 0 +// err := client.ListLensesPages(params, +// func(page *wellarchitected.ListLensesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WellArchitected) ListLensesPages(input *ListLensesInput, fn func(*ListLensesOutput, bool) bool) error { return c.ListLensesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2752,14 +2747,13 @@ const opListMilestones = "ListMilestones" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMilestonesRequest method. +// req, resp := client.ListMilestonesRequest(params) // -// // Example sending a request using the ListMilestonesRequest method. -// req, resp := client.ListMilestonesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListMilestones func (c *WellArchitected) ListMilestonesRequest(input *ListMilestonesInput) (req *request.Request, output *ListMilestonesOutput) { @@ -2796,20 +2790,21 @@ func (c *WellArchitected) ListMilestonesRequest(input *ListMilestonesInput) (req // API operation ListMilestones for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ValidationException +// The user input is not valid. +// +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListMilestones func (c *WellArchitected) ListMilestones(input *ListMilestonesInput) (*ListMilestonesOutput, error) { @@ -2841,15 +2836,14 @@ func (c *WellArchitected) ListMilestonesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMilestones operation. -// pageNum := 0 -// err := client.ListMilestonesPages(params, -// func(page *wellarchitected.ListMilestonesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMilestones operation. +// pageNum := 0 +// err := client.ListMilestonesPages(params, +// func(page *wellarchitected.ListMilestonesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WellArchitected) ListMilestonesPages(input *ListMilestonesInput, fn func(*ListMilestonesOutput, bool) bool) error { return c.ListMilestonesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2901,14 +2895,13 @@ const opListNotifications = "ListNotifications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNotificationsRequest method. +// req, resp := client.ListNotificationsRequest(params) // -// // Example sending a request using the ListNotificationsRequest method. -// req, resp := client.ListNotificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListNotifications func (c *WellArchitected) ListNotificationsRequest(input *ListNotificationsInput) (req *request.Request, output *ListNotificationsOutput) { @@ -2945,17 +2938,18 @@ func (c *WellArchitected) ListNotificationsRequest(input *ListNotificationsInput // API operation ListNotifications for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ValidationException +// The user input is not valid. +// +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListNotifications func (c *WellArchitected) ListNotifications(input *ListNotificationsInput) (*ListNotificationsOutput, error) { @@ -2987,15 +2981,14 @@ func (c *WellArchitected) ListNotificationsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNotifications operation. -// pageNum := 0 -// err := client.ListNotificationsPages(params, -// func(page *wellarchitected.ListNotificationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNotifications operation. +// pageNum := 0 +// err := client.ListNotificationsPages(params, +// func(page *wellarchitected.ListNotificationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WellArchitected) ListNotificationsPages(input *ListNotificationsInput, fn func(*ListNotificationsOutput, bool) bool) error { return c.ListNotificationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3047,14 +3040,13 @@ const opListShareInvitations = "ListShareInvitations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListShareInvitationsRequest method. +// req, resp := client.ListShareInvitationsRequest(params) // -// // Example sending a request using the ListShareInvitationsRequest method. -// req, resp := client.ListShareInvitationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListShareInvitations func (c *WellArchitected) ListShareInvitationsRequest(input *ListShareInvitationsInput) (req *request.Request, output *ListShareInvitationsOutput) { @@ -3091,17 +3083,18 @@ func (c *WellArchitected) ListShareInvitationsRequest(input *ListShareInvitation // API operation ListShareInvitations for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ValidationException +// The user input is not valid. +// +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListShareInvitations func (c *WellArchitected) ListShareInvitations(input *ListShareInvitationsInput) (*ListShareInvitationsOutput, error) { @@ -3133,15 +3126,14 @@ func (c *WellArchitected) ListShareInvitationsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListShareInvitations operation. -// pageNum := 0 -// err := client.ListShareInvitationsPages(params, -// func(page *wellarchitected.ListShareInvitationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListShareInvitations operation. +// pageNum := 0 +// err := client.ListShareInvitationsPages(params, +// func(page *wellarchitected.ListShareInvitationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WellArchitected) ListShareInvitationsPages(input *ListShareInvitationsInput, fn func(*ListShareInvitationsOutput, bool) bool) error { return c.ListShareInvitationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3193,14 +3185,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListTagsForResource func (c *WellArchitected) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -3231,11 +3222,12 @@ func (c *WellArchitected) ListTagsForResourceRequest(input *ListTagsForResourceI // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. +// +// - ResourceNotFoundException +// The requested resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListTagsForResource func (c *WellArchitected) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3275,14 +3267,13 @@ const opListWorkloadShares = "ListWorkloadShares" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorkloadSharesRequest method. +// req, resp := client.ListWorkloadSharesRequest(params) // -// // Example sending a request using the ListWorkloadSharesRequest method. -// req, resp := client.ListWorkloadSharesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListWorkloadShares func (c *WellArchitected) ListWorkloadSharesRequest(input *ListWorkloadSharesInput) (req *request.Request, output *ListWorkloadSharesOutput) { @@ -3319,20 +3310,21 @@ func (c *WellArchitected) ListWorkloadSharesRequest(input *ListWorkloadSharesInp // API operation ListWorkloadShares for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ValidationException +// The user input is not valid. +// +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListWorkloadShares func (c *WellArchitected) ListWorkloadShares(input *ListWorkloadSharesInput) (*ListWorkloadSharesOutput, error) { @@ -3364,15 +3356,14 @@ func (c *WellArchitected) ListWorkloadSharesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorkloadShares operation. -// pageNum := 0 -// err := client.ListWorkloadSharesPages(params, -// func(page *wellarchitected.ListWorkloadSharesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorkloadShares operation. +// pageNum := 0 +// err := client.ListWorkloadSharesPages(params, +// func(page *wellarchitected.ListWorkloadSharesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WellArchitected) ListWorkloadSharesPages(input *ListWorkloadSharesInput, fn func(*ListWorkloadSharesOutput, bool) bool) error { return c.ListWorkloadSharesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3424,14 +3415,13 @@ const opListWorkloads = "ListWorkloads" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWorkloadsRequest method. +// req, resp := client.ListWorkloadsRequest(params) // -// // Example sending a request using the ListWorkloadsRequest method. -// req, resp := client.ListWorkloadsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListWorkloads func (c *WellArchitected) ListWorkloadsRequest(input *ListWorkloadsInput) (req *request.Request, output *ListWorkloadsOutput) { @@ -3468,17 +3458,18 @@ func (c *WellArchitected) ListWorkloadsRequest(input *ListWorkloadsInput) (req * // API operation ListWorkloads for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ValidationException +// The user input is not valid. +// +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/ListWorkloads func (c *WellArchitected) ListWorkloads(input *ListWorkloadsInput) (*ListWorkloadsOutput, error) { @@ -3510,15 +3501,14 @@ func (c *WellArchitected) ListWorkloadsWithContext(ctx aws.Context, input *ListW // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWorkloads operation. -// pageNum := 0 -// err := client.ListWorkloadsPages(params, -// func(page *wellarchitected.ListWorkloadsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWorkloads operation. +// pageNum := 0 +// err := client.ListWorkloadsPages(params, +// func(page *wellarchitected.ListWorkloadsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WellArchitected) ListWorkloadsPages(input *ListWorkloadsInput, fn func(*ListWorkloadsOutput, bool) bool) error { return c.ListWorkloadsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3570,14 +3560,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/TagResource func (c *WellArchitected) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3609,11 +3598,12 @@ func (c *WellArchitected) TagResourceRequest(input *TagResourceInput) (req *requ // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. +// +// - ResourceNotFoundException +// The requested resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/TagResource func (c *WellArchitected) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3653,14 +3643,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UntagResource func (c *WellArchitected) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3696,11 +3685,12 @@ func (c *WellArchitected) UntagResourceRequest(input *UntagResourceInput) (req * // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. +// +// - ResourceNotFoundException +// The requested resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UntagResource func (c *WellArchitected) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3740,14 +3730,13 @@ const opUpdateAnswer = "UpdateAnswer" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAnswerRequest method. +// req, resp := client.UpdateAnswerRequest(params) // -// // Example sending a request using the UpdateAnswerRequest method. -// req, resp := client.UpdateAnswerRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateAnswer func (c *WellArchitected) UpdateAnswerRequest(input *UpdateAnswerInput) (req *request.Request, output *UpdateAnswerOutput) { @@ -3778,23 +3767,24 @@ func (c *WellArchitected) UpdateAnswerRequest(input *UpdateAnswerInput) (req *re // API operation UpdateAnswer for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. // -// * ConflictException -// The resource already exists. +// - ResourceNotFoundException +// The requested resource was not found. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ConflictException +// The resource already exists. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ThrottlingException -// Request was denied due to request throttling. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateAnswer func (c *WellArchitected) UpdateAnswer(input *UpdateAnswerInput) (*UpdateAnswerOutput, error) { @@ -3834,14 +3824,13 @@ const opUpdateLensReview = "UpdateLensReview" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateLensReviewRequest method. +// req, resp := client.UpdateLensReviewRequest(params) // -// // Example sending a request using the UpdateLensReviewRequest method. -// req, resp := client.UpdateLensReviewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateLensReview func (c *WellArchitected) UpdateLensReviewRequest(input *UpdateLensReviewInput) (req *request.Request, output *UpdateLensReviewOutput) { @@ -3872,23 +3861,24 @@ func (c *WellArchitected) UpdateLensReviewRequest(input *UpdateLensReviewInput) // API operation UpdateLensReview for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. +// +// - ResourceNotFoundException +// The requested resource was not found. // -// * ConflictException -// The resource already exists. +// - ConflictException +// The resource already exists. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateLensReview func (c *WellArchitected) UpdateLensReview(input *UpdateLensReviewInput) (*UpdateLensReviewOutput, error) { @@ -3928,14 +3918,13 @@ const opUpdateShareInvitation = "UpdateShareInvitation" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateShareInvitationRequest method. +// req, resp := client.UpdateShareInvitationRequest(params) // -// // Example sending a request using the UpdateShareInvitationRequest method. -// req, resp := client.UpdateShareInvitationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateShareInvitation func (c *WellArchitected) UpdateShareInvitationRequest(input *UpdateShareInvitationInput) (req *request.Request, output *UpdateShareInvitationOutput) { @@ -3966,23 +3955,24 @@ func (c *WellArchitected) UpdateShareInvitationRequest(input *UpdateShareInvitat // API operation UpdateShareInvitation for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ValidationException +// The user input is not valid. +// +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * ConflictException -// The resource already exists. +// - ConflictException +// The resource already exists. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateShareInvitation func (c *WellArchitected) UpdateShareInvitation(input *UpdateShareInvitationInput) (*UpdateShareInvitationOutput, error) { @@ -4022,14 +4012,13 @@ const opUpdateWorkload = "UpdateWorkload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWorkloadRequest method. +// req, resp := client.UpdateWorkloadRequest(params) // -// // Example sending a request using the UpdateWorkloadRequest method. -// req, resp := client.UpdateWorkloadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateWorkload func (c *WellArchitected) UpdateWorkloadRequest(input *UpdateWorkloadInput) (req *request.Request, output *UpdateWorkloadOutput) { @@ -4060,23 +4049,24 @@ func (c *WellArchitected) UpdateWorkloadRequest(input *UpdateWorkloadInput) (req // API operation UpdateWorkload for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. // -// * ConflictException -// The resource already exists. +// - ResourceNotFoundException +// The requested resource was not found. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ConflictException +// The resource already exists. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ThrottlingException -// Request was denied due to request throttling. +// - AccessDeniedException +// User does not have sufficient access to perform this action. +// +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateWorkload func (c *WellArchitected) UpdateWorkload(input *UpdateWorkloadInput) (*UpdateWorkloadOutput, error) { @@ -4116,14 +4106,13 @@ const opUpdateWorkloadShare = "UpdateWorkloadShare" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWorkloadShareRequest method. +// req, resp := client.UpdateWorkloadShareRequest(params) // -// // Example sending a request using the UpdateWorkloadShareRequest method. -// req, resp := client.UpdateWorkloadShareRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateWorkloadShare func (c *WellArchitected) UpdateWorkloadShareRequest(input *UpdateWorkloadShareInput) (req *request.Request, output *UpdateWorkloadShareOutput) { @@ -4154,23 +4143,24 @@ func (c *WellArchitected) UpdateWorkloadShareRequest(input *UpdateWorkloadShareI // API operation UpdateWorkloadShare for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - ValidationException +// The user input is not valid. +// +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * ConflictException -// The resource already exists. +// - ConflictException +// The resource already exists. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpdateWorkloadShare func (c *WellArchitected) UpdateWorkloadShare(input *UpdateWorkloadShareInput) (*UpdateWorkloadShareOutput, error) { @@ -4210,14 +4200,13 @@ const opUpgradeLensReview = "UpgradeLensReview" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpgradeLensReviewRequest method. +// req, resp := client.UpgradeLensReviewRequest(params) // -// // Example sending a request using the UpgradeLensReviewRequest method. -// req, resp := client.UpgradeLensReviewRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpgradeLensReview func (c *WellArchitected) UpgradeLensReviewRequest(input *UpgradeLensReviewInput) (req *request.Request, output *UpgradeLensReviewOutput) { @@ -4249,23 +4238,24 @@ func (c *WellArchitected) UpgradeLensReviewRequest(input *UpgradeLensReviewInput // API operation UpgradeLensReview for usage and error information. // // Returned Error Types: -// * ValidationException -// The user input is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ValidationException +// The user input is not valid. +// +// - ResourceNotFoundException +// The requested resource was not found. // -// * ConflictException -// The resource already exists. +// - ConflictException +// The resource already exists. // -// * InternalServerException -// There is a problem with the Well-Architected Tool API service. +// - InternalServerException +// There is a problem with the Well-Architected Tool API service. // -// * AccessDeniedException -// User does not have sufficient access to perform this action. +// - AccessDeniedException +// User does not have sufficient access to perform this action. // -// * ThrottlingException -// Request was denied due to request throttling. +// - ThrottlingException +// Request was denied due to request throttling. // // See also, https://docs.aws.amazon.com/goto/WebAPI/wellarchitected-2020-03-31/UpgradeLensReview func (c *WellArchitected) UpgradeLensReview(input *UpgradeLensReviewInput) (*UpgradeLensReviewOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/doc.go index 1fedd9317c43..95e2eb209bd6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/doc.go @@ -14,7 +14,7 @@ // See wellarchitected package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/wellarchitected/ // -// Using the Client +// # Using the Client // // To contact AWS Well-Architected Tool with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/service.go index 27cdf23d118e..8a08df2937ff 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a WellArchitected client from just a session. -// svc := wellarchitected.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a WellArchitected client with additional configuration -// svc := wellarchitected.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a WellArchitected client from just a session. +// svc := wellarchitected.New(mySession) +// +// // Create a WellArchitected client with additional configuration +// svc := wellarchitected.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *WellArchitected { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/wellarchitectediface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/wellarchitectediface/interface.go index dd492aae2459..fa1464142f03 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/wellarchitectediface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/wellarchitected/wellarchitectediface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS Well-Architected Tool. -// func myFunc(svc wellarchitectediface.WellArchitectedAPI) bool { -// // Make svc.AssociateLenses request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS Well-Architected Tool. +// func myFunc(svc wellarchitectediface.WellArchitectedAPI) bool { +// // Make svc.AssociateLenses request +// } // -// func main() { -// sess := session.New() -// svc := wellarchitected.New(sess) +// func main() { +// sess := session.New() +// svc := wellarchitected.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockWellArchitectedClient struct { -// wellarchitectediface.WellArchitectedAPI -// } -// func (m *mockWellArchitectedClient) AssociateLenses(input *wellarchitected.AssociateLensesInput) (*wellarchitected.AssociateLensesOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockWellArchitectedClient struct { +// wellarchitectediface.WellArchitectedAPI +// } +// func (m *mockWellArchitectedClient) AssociateLenses(input *wellarchitected.AssociateLensesInput) (*wellarchitected.AssociateLensesOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockWellArchitectedClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockWellArchitectedClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/api.go index 7b577051dbe3..70cff9681d2a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/api.go @@ -29,14 +29,13 @@ const opAbortDocumentVersionUpload = "AbortDocumentVersionUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AbortDocumentVersionUploadRequest method. +// req, resp := client.AbortDocumentVersionUploadRequest(params) // -// // Example sending a request using the AbortDocumentVersionUploadRequest method. -// req, resp := client.AbortDocumentVersionUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AbortDocumentVersionUpload func (c *WorkDocs) AbortDocumentVersionUploadRequest(input *AbortDocumentVersionUploadInput) (req *request.Request, output *AbortDocumentVersionUploadOutput) { @@ -70,25 +69,26 @@ func (c *WorkDocs) AbortDocumentVersionUploadRequest(input *AbortDocumentVersion // API operation AbortDocumentVersionUpload for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - EntityNotExistsException +// The resource does not exist. +// +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AbortDocumentVersionUpload func (c *WorkDocs) AbortDocumentVersionUpload(input *AbortDocumentVersionUploadInput) (*AbortDocumentVersionUploadOutput, error) { @@ -128,14 +128,13 @@ const opActivateUser = "ActivateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ActivateUserRequest method. +// req, resp := client.ActivateUserRequest(params) // -// // Example sending a request using the ActivateUserRequest method. -// req, resp := client.ActivateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ActivateUser func (c *WorkDocs) ActivateUserRequest(input *ActivateUserInput) (req *request.Request, output *ActivateUserOutput) { @@ -166,22 +165,23 @@ func (c *WorkDocs) ActivateUserRequest(input *ActivateUserInput) (req *request.R // API operation ActivateUser for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. +// +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/ActivateUser func (c *WorkDocs) ActivateUser(input *ActivateUserInput) (*ActivateUserOutput, error) { @@ -221,14 +221,13 @@ const opAddResourcePermissions = "AddResourcePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AddResourcePermissionsRequest method. +// req, resp := client.AddResourcePermissionsRequest(params) // -// // Example sending a request using the AddResourcePermissionsRequest method. -// req, resp := client.AddResourcePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AddResourcePermissions func (c *WorkDocs) AddResourcePermissionsRequest(input *AddResourcePermissionsInput) (req *request.Request, output *AddResourcePermissionsOutput) { @@ -260,19 +259,20 @@ func (c *WorkDocs) AddResourcePermissionsRequest(input *AddResourcePermissionsIn // API operation AddResourcePermissions for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. +// +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AddResourcePermissions func (c *WorkDocs) AddResourcePermissions(input *AddResourcePermissionsInput) (*AddResourcePermissionsOutput, error) { @@ -312,14 +312,13 @@ const opCreateComment = "CreateComment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCommentRequest method. +// req, resp := client.CreateCommentRequest(params) // -// // Example sending a request using the CreateCommentRequest method. -// req, resp := client.CreateCommentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateComment func (c *WorkDocs) CreateCommentRequest(input *CreateCommentInput) (req *request.Request, output *CreateCommentOutput) { @@ -350,32 +349,33 @@ func (c *WorkDocs) CreateCommentRequest(input *CreateCommentInput) (req *request // API operation CreateComment for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - EntityNotExistsException +// The resource does not exist. +// +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // -// * DocumentLockedForCommentsException -// This exception is thrown when the document is locked for comments and user -// tries to create or delete a comment on that document. +// - DocumentLockedForCommentsException +// This exception is thrown when the document is locked for comments and user +// tries to create or delete a comment on that document. // -// * InvalidCommentOperationException -// The requested operation is not allowed on the specified comment object. +// - InvalidCommentOperationException +// The requested operation is not allowed on the specified comment object. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateComment func (c *WorkDocs) CreateComment(input *CreateCommentInput) (*CreateCommentOutput, error) { @@ -415,14 +415,13 @@ const opCreateCustomMetadata = "CreateCustomMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateCustomMetadataRequest method. +// req, resp := client.CreateCustomMetadataRequest(params) // -// // Example sending a request using the CreateCustomMetadataRequest method. -// req, resp := client.CreateCustomMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateCustomMetadata func (c *WorkDocs) CreateCustomMetadataRequest(input *CreateCustomMetadataInput) (req *request.Request, output *CreateCustomMetadataOutput) { @@ -455,29 +454,30 @@ func (c *WorkDocs) CreateCustomMetadataRequest(input *CreateCustomMetadataInput) // API operation CreateCustomMetadata for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * CustomMetadataLimitExceededException -// The limit has been reached on the number of custom properties for the specified -// resource. +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - CustomMetadataLimitExceededException +// The limit has been reached on the number of custom properties for the specified +// resource. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. +// +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateCustomMetadata func (c *WorkDocs) CreateCustomMetadata(input *CreateCustomMetadataInput) (*CreateCustomMetadataOutput, error) { @@ -517,14 +517,13 @@ const opCreateFolder = "CreateFolder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFolderRequest method. +// req, resp := client.CreateFolderRequest(params) // -// // Example sending a request using the CreateFolderRequest method. -// req, resp := client.CreateFolderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateFolder func (c *WorkDocs) CreateFolderRequest(input *CreateFolderInput) (req *request.Request, output *CreateFolderOutput) { @@ -555,35 +554,36 @@ func (c *WorkDocs) CreateFolderRequest(input *CreateFolderInput) (req *request.R // API operation CreateFolder for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * EntityAlreadyExistsException -// The resource already exists. +// - EntityNotExistsException +// The resource does not exist. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - EntityAlreadyExistsException +// The resource already exists. // -// * ConflictingOperationException -// Another operation is in progress on the resource that conflicts with the -// current operation. +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // -// * LimitExceededException -// The maximum of 100,000 folders under the parent folder has been exceeded. +// - ConflictingOperationException +// Another operation is in progress on the resource that conflicts with the +// current operation. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - LimitExceededException +// The maximum of 100,000 folders under the parent folder has been exceeded. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. +// +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateFolder func (c *WorkDocs) CreateFolder(input *CreateFolderInput) (*CreateFolderOutput, error) { @@ -623,14 +623,13 @@ const opCreateLabels = "CreateLabels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateLabelsRequest method. +// req, resp := client.CreateLabelsRequest(params) // -// // Example sending a request using the CreateLabelsRequest method. -// req, resp := client.CreateLabelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateLabels func (c *WorkDocs) CreateLabelsRequest(input *CreateLabelsInput) (req *request.Request, output *CreateLabelsOutput) { @@ -662,25 +661,26 @@ func (c *WorkDocs) CreateLabelsRequest(input *CreateLabelsInput) (req *request.R // API operation CreateLabels for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. +// +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // -// * TooManyLabelsException -// The limit has been reached on the number of labels for the specified resource. +// - TooManyLabelsException +// The limit has been reached on the number of labels for the specified resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateLabels func (c *WorkDocs) CreateLabels(input *CreateLabelsInput) (*CreateLabelsOutput, error) { @@ -720,14 +720,13 @@ const opCreateNotificationSubscription = "CreateNotificationSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNotificationSubscriptionRequest method. +// req, resp := client.CreateNotificationSubscriptionRequest(params) // -// // Example sending a request using the CreateNotificationSubscriptionRequest method. -// req, resp := client.CreateNotificationSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateNotificationSubscription func (c *WorkDocs) CreateNotificationSubscriptionRequest(input *CreateNotificationSubscriptionInput) (req *request.Request, output *CreateNotificationSubscriptionOutput) { @@ -762,15 +761,16 @@ func (c *WorkDocs) CreateNotificationSubscriptionRequest(input *CreateNotificati // API operation CreateNotificationSubscription for usage and error information. // // Returned Error Types: -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. // -// * TooManySubscriptionsException -// You've reached the limit on the number of subscriptions for the WorkDocs -// instance. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. +// +// - TooManySubscriptionsException +// You've reached the limit on the number of subscriptions for the WorkDocs +// instance. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateNotificationSubscription func (c *WorkDocs) CreateNotificationSubscription(input *CreateNotificationSubscriptionInput) (*CreateNotificationSubscriptionOutput, error) { @@ -810,14 +810,13 @@ const opCreateUser = "CreateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserRequest method. +// req, resp := client.CreateUserRequest(params) // -// // Example sending a request using the CreateUserRequest method. -// req, resp := client.CreateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateUser func (c *WorkDocs) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) { @@ -849,22 +848,23 @@ func (c *WorkDocs) CreateUserRequest(input *CreateUserInput) (req *request.Reque // API operation CreateUser for usage and error information. // // Returned Error Types: -// * EntityAlreadyExistsException -// The resource already exists. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityAlreadyExistsException +// The resource already exists. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. +// +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/CreateUser func (c *WorkDocs) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) { @@ -904,14 +904,13 @@ const opDeactivateUser = "DeactivateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeactivateUserRequest method. +// req, resp := client.DeactivateUserRequest(params) // -// // Example sending a request using the DeactivateUserRequest method. -// req, resp := client.DeactivateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeactivateUser func (c *WorkDocs) DeactivateUserRequest(input *DeactivateUserInput) (req *request.Request, output *DeactivateUserOutput) { @@ -944,22 +943,23 @@ func (c *WorkDocs) DeactivateUserRequest(input *DeactivateUserInput) (req *reque // API operation DeactivateUser for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. +// +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeactivateUser func (c *WorkDocs) DeactivateUser(input *DeactivateUserInput) (*DeactivateUserOutput, error) { @@ -999,14 +999,13 @@ const opDeleteComment = "DeleteComment" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCommentRequest method. +// req, resp := client.DeleteCommentRequest(params) // -// // Example sending a request using the DeleteCommentRequest method. -// req, resp := client.DeleteCommentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteComment func (c *WorkDocs) DeleteCommentRequest(input *DeleteCommentInput) (req *request.Request, output *DeleteCommentOutput) { @@ -1038,29 +1037,30 @@ func (c *WorkDocs) DeleteCommentRequest(input *DeleteCommentInput) (req *request // API operation DeleteComment for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - EntityNotExistsException +// The resource does not exist. +// +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // -// * DocumentLockedForCommentsException -// This exception is thrown when the document is locked for comments and user -// tries to create or delete a comment on that document. +// - DocumentLockedForCommentsException +// This exception is thrown when the document is locked for comments and user +// tries to create or delete a comment on that document. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteComment func (c *WorkDocs) DeleteComment(input *DeleteCommentInput) (*DeleteCommentOutput, error) { @@ -1100,14 +1100,13 @@ const opDeleteCustomMetadata = "DeleteCustomMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteCustomMetadataRequest method. +// req, resp := client.DeleteCustomMetadataRequest(params) // -// // Example sending a request using the DeleteCustomMetadataRequest method. -// req, resp := client.DeleteCustomMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteCustomMetadata func (c *WorkDocs) DeleteCustomMetadataRequest(input *DeleteCustomMetadataInput) (req *request.Request, output *DeleteCustomMetadataOutput) { @@ -1139,25 +1138,26 @@ func (c *WorkDocs) DeleteCustomMetadataRequest(input *DeleteCustomMetadataInput) // API operation DeleteCustomMetadata for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. +// +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteCustomMetadata func (c *WorkDocs) DeleteCustomMetadata(input *DeleteCustomMetadataInput) (*DeleteCustomMetadataOutput, error) { @@ -1197,14 +1197,13 @@ const opDeleteDocument = "DeleteDocument" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteDocumentRequest method. +// req, resp := client.DeleteDocumentRequest(params) // -// // Example sending a request using the DeleteDocumentRequest method. -// req, resp := client.DeleteDocumentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteDocument func (c *WorkDocs) DeleteDocumentRequest(input *DeleteDocumentInput) (req *request.Request, output *DeleteDocumentOutput) { @@ -1236,32 +1235,33 @@ func (c *WorkDocs) DeleteDocumentRequest(input *DeleteDocumentInput) (req *reque // API operation DeleteDocument for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - EntityNotExistsException +// The resource does not exist. // -// * ConflictingOperationException -// Another operation is in progress on the resource that conflicts with the -// current operation. +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // -// * ConcurrentModificationException -// The resource hierarchy is changing. +// - ConflictingOperationException +// Another operation is in progress on the resource that conflicts with the +// current operation. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - ConcurrentModificationException +// The resource hierarchy is changing. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. +// +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteDocument func (c *WorkDocs) DeleteDocument(input *DeleteDocumentInput) (*DeleteDocumentOutput, error) { @@ -1301,14 +1301,13 @@ const opDeleteFolder = "DeleteFolder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFolderRequest method. +// req, resp := client.DeleteFolderRequest(params) // -// // Example sending a request using the DeleteFolderRequest method. -// req, resp := client.DeleteFolderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteFolder func (c *WorkDocs) DeleteFolderRequest(input *DeleteFolderInput) (req *request.Request, output *DeleteFolderOutput) { @@ -1340,32 +1339,33 @@ func (c *WorkDocs) DeleteFolderRequest(input *DeleteFolderInput) (req *request.R // API operation DeleteFolder for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - EntityNotExistsException +// The resource does not exist. +// +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // -// * ConflictingOperationException -// Another operation is in progress on the resource that conflicts with the -// current operation. +// - ConflictingOperationException +// Another operation is in progress on the resource that conflicts with the +// current operation. // -// * ConcurrentModificationException -// The resource hierarchy is changing. +// - ConcurrentModificationException +// The resource hierarchy is changing. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteFolder func (c *WorkDocs) DeleteFolder(input *DeleteFolderInput) (*DeleteFolderOutput, error) { @@ -1405,14 +1405,13 @@ const opDeleteFolderContents = "DeleteFolderContents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFolderContentsRequest method. +// req, resp := client.DeleteFolderContentsRequest(params) // -// // Example sending a request using the DeleteFolderContentsRequest method. -// req, resp := client.DeleteFolderContentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteFolderContents func (c *WorkDocs) DeleteFolderContentsRequest(input *DeleteFolderContentsInput) (req *request.Request, output *DeleteFolderContentsOutput) { @@ -1444,29 +1443,30 @@ func (c *WorkDocs) DeleteFolderContentsRequest(input *DeleteFolderContentsInput) // API operation DeleteFolderContents for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - EntityNotExistsException +// The resource does not exist. +// +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // -// * ConflictingOperationException -// Another operation is in progress on the resource that conflicts with the -// current operation. +// - ConflictingOperationException +// Another operation is in progress on the resource that conflicts with the +// current operation. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteFolderContents func (c *WorkDocs) DeleteFolderContents(input *DeleteFolderContentsInput) (*DeleteFolderContentsOutput, error) { @@ -1506,14 +1506,13 @@ const opDeleteLabels = "DeleteLabels" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteLabelsRequest method. +// req, resp := client.DeleteLabelsRequest(params) // -// // Example sending a request using the DeleteLabelsRequest method. -// req, resp := client.DeleteLabelsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteLabels func (c *WorkDocs) DeleteLabelsRequest(input *DeleteLabelsInput) (req *request.Request, output *DeleteLabelsOutput) { @@ -1545,22 +1544,23 @@ func (c *WorkDocs) DeleteLabelsRequest(input *DeleteLabelsInput) (req *request.R // API operation DeleteLabels for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. +// +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteLabels func (c *WorkDocs) DeleteLabels(input *DeleteLabelsInput) (*DeleteLabelsOutput, error) { @@ -1600,14 +1600,13 @@ const opDeleteNotificationSubscription = "DeleteNotificationSubscription" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNotificationSubscriptionRequest method. +// req, resp := client.DeleteNotificationSubscriptionRequest(params) // -// // Example sending a request using the DeleteNotificationSubscriptionRequest method. -// req, resp := client.DeleteNotificationSubscriptionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteNotificationSubscription func (c *WorkDocs) DeleteNotificationSubscriptionRequest(input *DeleteNotificationSubscriptionInput) (req *request.Request, output *DeleteNotificationSubscriptionOutput) { @@ -1639,17 +1638,18 @@ func (c *WorkDocs) DeleteNotificationSubscriptionRequest(input *DeleteNotificati // API operation DeleteNotificationSubscription for usage and error information. // // Returned Error Types: -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. // -// * EntityNotExistsException -// The resource does not exist. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - EntityNotExistsException +// The resource does not exist. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. +// +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteNotificationSubscription func (c *WorkDocs) DeleteNotificationSubscription(input *DeleteNotificationSubscriptionInput) (*DeleteNotificationSubscriptionOutput, error) { @@ -1689,14 +1689,13 @@ const opDeleteUser = "DeleteUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserRequest method. +// req, resp := client.DeleteUserRequest(params) // -// // Example sending a request using the DeleteUserRequest method. -// req, resp := client.DeleteUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteUser func (c *WorkDocs) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { @@ -1728,22 +1727,23 @@ func (c *WorkDocs) DeleteUserRequest(input *DeleteUserInput) (req *request.Reque // API operation DeleteUser for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. +// +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteUser func (c *WorkDocs) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { @@ -1783,14 +1783,13 @@ const opDescribeActivities = "DescribeActivities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeActivitiesRequest method. +// req, resp := client.DescribeActivitiesRequest(params) // -// // Example sending a request using the DescribeActivitiesRequest method. -// req, resp := client.DescribeActivitiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeActivities func (c *WorkDocs) DescribeActivitiesRequest(input *DescribeActivitiesInput) (req *request.Request, output *DescribeActivitiesOutput) { @@ -1821,22 +1820,23 @@ func (c *WorkDocs) DescribeActivitiesRequest(input *DescribeActivitiesInput) (re // API operation DescribeActivities for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. +// +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * InvalidArgumentException -// The pagination marker or limit fields are not valid. +// - InvalidArgumentException +// The pagination marker or limit fields are not valid. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeActivities func (c *WorkDocs) DescribeActivities(input *DescribeActivitiesInput) (*DescribeActivitiesOutput, error) { @@ -1876,14 +1876,13 @@ const opDescribeComments = "DescribeComments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCommentsRequest method. +// req, resp := client.DescribeCommentsRequest(params) // -// // Example sending a request using the DescribeCommentsRequest method. -// req, resp := client.DescribeCommentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeComments func (c *WorkDocs) DescribeCommentsRequest(input *DescribeCommentsInput) (req *request.Request, output *DescribeCommentsOutput) { @@ -1914,25 +1913,26 @@ func (c *WorkDocs) DescribeCommentsRequest(input *DescribeCommentsInput) (req *r // API operation DescribeComments for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - EntityNotExistsException +// The resource does not exist. +// +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeComments func (c *WorkDocs) DescribeComments(input *DescribeCommentsInput) (*DescribeCommentsOutput, error) { @@ -1972,14 +1972,13 @@ const opDescribeDocumentVersions = "DescribeDocumentVersions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDocumentVersionsRequest method. +// req, resp := client.DescribeDocumentVersionsRequest(params) // -// // Example sending a request using the DescribeDocumentVersionsRequest method. -// req, resp := client.DescribeDocumentVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeDocumentVersions func (c *WorkDocs) DescribeDocumentVersionsRequest(input *DescribeDocumentVersionsInput) (req *request.Request, output *DescribeDocumentVersionsOutput) { @@ -2018,28 +2017,29 @@ func (c *WorkDocs) DescribeDocumentVersionsRequest(input *DescribeDocumentVersio // API operation DescribeDocumentVersions for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * InvalidArgumentException -// The pagination marker or limit fields are not valid. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - InvalidArgumentException +// The pagination marker or limit fields are not valid. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. +// +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeDocumentVersions func (c *WorkDocs) DescribeDocumentVersions(input *DescribeDocumentVersionsInput) (*DescribeDocumentVersionsOutput, error) { @@ -2071,15 +2071,14 @@ func (c *WorkDocs) DescribeDocumentVersionsWithContext(ctx aws.Context, input *D // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeDocumentVersions operation. -// pageNum := 0 -// err := client.DescribeDocumentVersionsPages(params, -// func(page *workdocs.DescribeDocumentVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeDocumentVersions operation. +// pageNum := 0 +// err := client.DescribeDocumentVersionsPages(params, +// func(page *workdocs.DescribeDocumentVersionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkDocs) DescribeDocumentVersionsPages(input *DescribeDocumentVersionsInput, fn func(*DescribeDocumentVersionsOutput, bool) bool) error { return c.DescribeDocumentVersionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2131,14 +2130,13 @@ const opDescribeFolderContents = "DescribeFolderContents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFolderContentsRequest method. +// req, resp := client.DescribeFolderContentsRequest(params) // -// // Example sending a request using the DescribeFolderContentsRequest method. -// req, resp := client.DescribeFolderContentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeFolderContents func (c *WorkDocs) DescribeFolderContentsRequest(input *DescribeFolderContentsInput) (req *request.Request, output *DescribeFolderContentsOutput) { @@ -2181,25 +2179,26 @@ func (c *WorkDocs) DescribeFolderContentsRequest(input *DescribeFolderContentsIn // API operation DescribeFolderContents for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - EntityNotExistsException +// The resource does not exist. +// +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * InvalidArgumentException -// The pagination marker or limit fields are not valid. +// - InvalidArgumentException +// The pagination marker or limit fields are not valid. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeFolderContents func (c *WorkDocs) DescribeFolderContents(input *DescribeFolderContentsInput) (*DescribeFolderContentsOutput, error) { @@ -2231,15 +2230,14 @@ func (c *WorkDocs) DescribeFolderContentsWithContext(ctx aws.Context, input *Des // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeFolderContents operation. -// pageNum := 0 -// err := client.DescribeFolderContentsPages(params, -// func(page *workdocs.DescribeFolderContentsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeFolderContents operation. +// pageNum := 0 +// err := client.DescribeFolderContentsPages(params, +// func(page *workdocs.DescribeFolderContentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkDocs) DescribeFolderContentsPages(input *DescribeFolderContentsInput, fn func(*DescribeFolderContentsOutput, bool) bool) error { return c.DescribeFolderContentsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2291,14 +2289,13 @@ const opDescribeGroups = "DescribeGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGroupsRequest method. +// req, resp := client.DescribeGroupsRequest(params) // -// // Example sending a request using the DescribeGroupsRequest method. -// req, resp := client.DescribeGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeGroups func (c *WorkDocs) DescribeGroupsRequest(input *DescribeGroupsInput) (req *request.Request, output *DescribeGroupsOutput) { @@ -2330,19 +2327,20 @@ func (c *WorkDocs) DescribeGroupsRequest(input *DescribeGroupsInput) (req *reque // API operation DescribeGroups for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. +// +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeGroups func (c *WorkDocs) DescribeGroups(input *DescribeGroupsInput) (*DescribeGroupsOutput, error) { @@ -2382,14 +2380,13 @@ const opDescribeNotificationSubscriptions = "DescribeNotificationSubscriptions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeNotificationSubscriptionsRequest method. +// req, resp := client.DescribeNotificationSubscriptionsRequest(params) // -// // Example sending a request using the DescribeNotificationSubscriptionsRequest method. -// req, resp := client.DescribeNotificationSubscriptionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeNotificationSubscriptions func (c *WorkDocs) DescribeNotificationSubscriptionsRequest(input *DescribeNotificationSubscriptionsInput) (req *request.Request, output *DescribeNotificationSubscriptionsOutput) { @@ -2420,14 +2417,15 @@ func (c *WorkDocs) DescribeNotificationSubscriptionsRequest(input *DescribeNotif // API operation DescribeNotificationSubscriptions for usage and error information. // // Returned Error Types: -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. // -// * EntityNotExistsException -// The resource does not exist. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - EntityNotExistsException +// The resource does not exist. +// +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeNotificationSubscriptions func (c *WorkDocs) DescribeNotificationSubscriptions(input *DescribeNotificationSubscriptionsInput) (*DescribeNotificationSubscriptionsOutput, error) { @@ -2467,14 +2465,13 @@ const opDescribeResourcePermissions = "DescribeResourcePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeResourcePermissionsRequest method. +// req, resp := client.DescribeResourcePermissionsRequest(params) // -// // Example sending a request using the DescribeResourcePermissionsRequest method. -// req, resp := client.DescribeResourcePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeResourcePermissions func (c *WorkDocs) DescribeResourcePermissionsRequest(input *DescribeResourcePermissionsInput) (req *request.Request, output *DescribeResourcePermissionsOutput) { @@ -2505,19 +2502,20 @@ func (c *WorkDocs) DescribeResourcePermissionsRequest(input *DescribeResourcePer // API operation DescribeResourcePermissions for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. +// +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeResourcePermissions func (c *WorkDocs) DescribeResourcePermissions(input *DescribeResourcePermissionsInput) (*DescribeResourcePermissionsOutput, error) { @@ -2557,14 +2555,13 @@ const opDescribeRootFolders = "DescribeRootFolders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeRootFoldersRequest method. +// req, resp := client.DescribeRootFoldersRequest(params) // -// // Example sending a request using the DescribeRootFoldersRequest method. -// req, resp := client.DescribeRootFoldersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeRootFolders func (c *WorkDocs) DescribeRootFoldersRequest(input *DescribeRootFoldersInput) (req *request.Request, output *DescribeRootFoldersOutput) { @@ -2603,22 +2600,23 @@ func (c *WorkDocs) DescribeRootFoldersRequest(input *DescribeRootFoldersInput) ( // API operation DescribeRootFolders for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. +// +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * InvalidArgumentException -// The pagination marker or limit fields are not valid. +// - InvalidArgumentException +// The pagination marker or limit fields are not valid. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeRootFolders func (c *WorkDocs) DescribeRootFolders(input *DescribeRootFoldersInput) (*DescribeRootFoldersOutput, error) { @@ -2658,14 +2656,13 @@ const opDescribeUsers = "DescribeUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUsersRequest method. +// req, resp := client.DescribeUsersRequest(params) // -// // Example sending a request using the DescribeUsersRequest method. -// req, resp := client.DescribeUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeUsers func (c *WorkDocs) DescribeUsersRequest(input *DescribeUsersInput) (req *request.Request, output *DescribeUsersOutput) { @@ -2707,29 +2704,30 @@ func (c *WorkDocs) DescribeUsersRequest(input *DescribeUsersInput) (req *request // API operation DescribeUsers for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. +// +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // -// * InvalidArgumentException -// The pagination marker or limit fields are not valid. +// - InvalidArgumentException +// The pagination marker or limit fields are not valid. // -// * RequestedEntityTooLargeException -// The response is too large to return. The request must include a filter to -// reduce the size of the response. +// - RequestedEntityTooLargeException +// The response is too large to return. The request must include a filter to +// reduce the size of the response. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeUsers func (c *WorkDocs) DescribeUsers(input *DescribeUsersInput) (*DescribeUsersOutput, error) { @@ -2761,15 +2759,14 @@ func (c *WorkDocs) DescribeUsersWithContext(ctx aws.Context, input *DescribeUser // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeUsers operation. -// pageNum := 0 -// err := client.DescribeUsersPages(params, -// func(page *workdocs.DescribeUsersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeUsers operation. +// pageNum := 0 +// err := client.DescribeUsersPages(params, +// func(page *workdocs.DescribeUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkDocs) DescribeUsersPages(input *DescribeUsersInput, fn func(*DescribeUsersOutput, bool) bool) error { return c.DescribeUsersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2821,14 +2818,13 @@ const opGetCurrentUser = "GetCurrentUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetCurrentUserRequest method. +// req, resp := client.GetCurrentUserRequest(params) // -// // Example sending a request using the GetCurrentUserRequest method. -// req, resp := client.GetCurrentUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetCurrentUser func (c *WorkDocs) GetCurrentUserRequest(input *GetCurrentUserInput) (req *request.Request, output *GetCurrentUserOutput) { @@ -2865,22 +2861,23 @@ func (c *WorkDocs) GetCurrentUserRequest(input *GetCurrentUserInput) (req *reque // API operation GetCurrentUser for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. +// +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetCurrentUser func (c *WorkDocs) GetCurrentUser(input *GetCurrentUserInput) (*GetCurrentUserOutput, error) { @@ -2920,14 +2917,13 @@ const opGetDocument = "GetDocument" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDocumentRequest method. +// req, resp := client.GetDocumentRequest(params) // -// // Example sending a request using the GetDocumentRequest method. -// req, resp := client.GetDocumentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocument func (c *WorkDocs) GetDocumentRequest(input *GetDocumentInput) (req *request.Request, output *GetDocumentOutput) { @@ -2958,28 +2954,29 @@ func (c *WorkDocs) GetDocumentRequest(input *GetDocumentInput) (req *request.Req // API operation GetDocument for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. +// +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * InvalidArgumentException -// The pagination marker or limit fields are not valid. +// - InvalidArgumentException +// The pagination marker or limit fields are not valid. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // -// * InvalidPasswordException -// The password is invalid. +// - InvalidPasswordException +// The password is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocument func (c *WorkDocs) GetDocument(input *GetDocumentInput) (*GetDocumentOutput, error) { @@ -3019,14 +3016,13 @@ const opGetDocumentPath = "GetDocumentPath" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDocumentPathRequest method. +// req, resp := client.GetDocumentPathRequest(params) // -// // Example sending a request using the GetDocumentPathRequest method. -// req, resp := client.GetDocumentPathRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentPath func (c *WorkDocs) GetDocumentPathRequest(input *GetDocumentPathInput) (req *request.Request, output *GetDocumentPathOutput) { @@ -3063,22 +3059,23 @@ func (c *WorkDocs) GetDocumentPathRequest(input *GetDocumentPathInput) (req *req // API operation GetDocumentPath for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. +// +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentPath func (c *WorkDocs) GetDocumentPath(input *GetDocumentPathInput) (*GetDocumentPathOutput, error) { @@ -3118,14 +3115,13 @@ const opGetDocumentVersion = "GetDocumentVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDocumentVersionRequest method. +// req, resp := client.GetDocumentVersionRequest(params) // -// // Example sending a request using the GetDocumentVersionRequest method. -// req, resp := client.GetDocumentVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentVersion func (c *WorkDocs) GetDocumentVersionRequest(input *GetDocumentVersionInput) (req *request.Request, output *GetDocumentVersionOutput) { @@ -3156,28 +3152,29 @@ func (c *WorkDocs) GetDocumentVersionRequest(input *GetDocumentVersionInput) (re // API operation GetDocumentVersion for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // -// * InvalidPasswordException -// The password is invalid. +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. +// +// - InvalidPasswordException +// The password is invalid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetDocumentVersion func (c *WorkDocs) GetDocumentVersion(input *GetDocumentVersionInput) (*GetDocumentVersionOutput, error) { @@ -3217,14 +3214,13 @@ const opGetFolder = "GetFolder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFolderRequest method. +// req, resp := client.GetFolderRequest(params) // -// // Example sending a request using the GetFolderRequest method. -// req, resp := client.GetFolderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolder func (c *WorkDocs) GetFolderRequest(input *GetFolderInput) (req *request.Request, output *GetFolderOutput) { @@ -3255,28 +3251,29 @@ func (c *WorkDocs) GetFolderRequest(input *GetFolderInput) (req *request.Request // API operation GetFolder for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. +// +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * InvalidArgumentException -// The pagination marker or limit fields are not valid. +// - InvalidArgumentException +// The pagination marker or limit fields are not valid. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolder func (c *WorkDocs) GetFolder(input *GetFolderInput) (*GetFolderOutput, error) { @@ -3316,14 +3313,13 @@ const opGetFolderPath = "GetFolderPath" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetFolderPathRequest method. +// req, resp := client.GetFolderPathRequest(params) // -// // Example sending a request using the GetFolderPathRequest method. -// req, resp := client.GetFolderPathRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolderPath func (c *WorkDocs) GetFolderPathRequest(input *GetFolderPathInput) (req *request.Request, output *GetFolderPathOutput) { @@ -3360,22 +3356,23 @@ func (c *WorkDocs) GetFolderPathRequest(input *GetFolderPathInput) (req *request // API operation GetFolderPath for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. +// +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetFolderPath func (c *WorkDocs) GetFolderPath(input *GetFolderPathInput) (*GetFolderPathOutput, error) { @@ -3415,14 +3412,13 @@ const opGetResources = "GetResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetResourcesRequest method. +// req, resp := client.GetResourcesRequest(params) // -// // Example sending a request using the GetResourcesRequest method. -// req, resp := client.GetResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetResources func (c *WorkDocs) GetResourcesRequest(input *GetResourcesInput) (req *request.Request, output *GetResourcesOutput) { @@ -3454,22 +3450,23 @@ func (c *WorkDocs) GetResourcesRequest(input *GetResourcesInput) (req *request.R // API operation GetResources for usage and error information. // // Returned Error Types: -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * InvalidArgumentException -// The pagination marker or limit fields are not valid. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - InvalidArgumentException +// The pagination marker or limit fields are not valid. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. +// +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/GetResources func (c *WorkDocs) GetResources(input *GetResourcesInput) (*GetResourcesOutput, error) { @@ -3509,14 +3506,13 @@ const opInitiateDocumentVersionUpload = "InitiateDocumentVersionUpload" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the InitiateDocumentVersionUploadRequest method. +// req, resp := client.InitiateDocumentVersionUploadRequest(params) // -// // Example sending a request using the InitiateDocumentVersionUploadRequest method. -// req, resp := client.InitiateDocumentVersionUploadRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/InitiateDocumentVersionUpload func (c *WorkDocs) InitiateDocumentVersionUploadRequest(input *InitiateDocumentVersionUploadInput) (req *request.Request, output *InitiateDocumentVersionUploadOutput) { @@ -3554,41 +3550,42 @@ func (c *WorkDocs) InitiateDocumentVersionUploadRequest(input *InitiateDocumentV // API operation InitiateDocumentVersionUpload for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * EntityAlreadyExistsException -// The resource already exists. +// - EntityNotExistsException +// The resource does not exist. +// +// - EntityAlreadyExistsException +// The resource already exists. // -// * StorageLimitExceededException -// The storage limit has been exceeded. +// - StorageLimitExceededException +// The storage limit has been exceeded. // -// * StorageLimitWillExceedException -// The storage limit will be exceeded. +// - StorageLimitWillExceedException +// The storage limit will be exceeded. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // -// * DraftUploadOutOfSyncException -// This exception is thrown when a valid checkout ID is not presented on document -// version upload calls for a document that has been checked out from Web client. +// - DraftUploadOutOfSyncException +// This exception is thrown when a valid checkout ID is not presented on document +// version upload calls for a document that has been checked out from Web client. // -// * ResourceAlreadyCheckedOutException -// The resource is already checked out. +// - ResourceAlreadyCheckedOutException +// The resource is already checked out. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/InitiateDocumentVersionUpload func (c *WorkDocs) InitiateDocumentVersionUpload(input *InitiateDocumentVersionUploadInput) (*InitiateDocumentVersionUploadOutput, error) { @@ -3628,14 +3625,13 @@ const opRemoveAllResourcePermissions = "RemoveAllResourcePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveAllResourcePermissionsRequest method. +// req, resp := client.RemoveAllResourcePermissionsRequest(params) // -// // Example sending a request using the RemoveAllResourcePermissionsRequest method. -// req, resp := client.RemoveAllResourcePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveAllResourcePermissions func (c *WorkDocs) RemoveAllResourcePermissionsRequest(input *RemoveAllResourcePermissionsInput) (req *request.Request, output *RemoveAllResourcePermissionsOutput) { @@ -3667,19 +3663,20 @@ func (c *WorkDocs) RemoveAllResourcePermissionsRequest(input *RemoveAllResourceP // API operation RemoveAllResourcePermissions for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. +// +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveAllResourcePermissions func (c *WorkDocs) RemoveAllResourcePermissions(input *RemoveAllResourcePermissionsInput) (*RemoveAllResourcePermissionsOutput, error) { @@ -3719,14 +3716,13 @@ const opRemoveResourcePermission = "RemoveResourcePermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RemoveResourcePermissionRequest method. +// req, resp := client.RemoveResourcePermissionRequest(params) // -// // Example sending a request using the RemoveResourcePermissionRequest method. -// req, resp := client.RemoveResourcePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveResourcePermission func (c *WorkDocs) RemoveResourcePermissionRequest(input *RemoveResourcePermissionInput) (req *request.Request, output *RemoveResourcePermissionOutput) { @@ -3758,19 +3754,20 @@ func (c *WorkDocs) RemoveResourcePermissionRequest(input *RemoveResourcePermissi // API operation RemoveResourcePermission for usage and error information. // // Returned Error Types: -// * UnauthorizedOperationException -// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. +// +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/RemoveResourcePermission func (c *WorkDocs) RemoveResourcePermission(input *RemoveResourcePermissionInput) (*RemoveResourcePermissionOutput, error) { @@ -3810,14 +3807,13 @@ const opUpdateDocument = "UpdateDocument" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDocumentRequest method. +// req, resp := client.UpdateDocumentRequest(params) // -// // Example sending a request using the UpdateDocumentRequest method. -// req, resp := client.UpdateDocumentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateDocument func (c *WorkDocs) UpdateDocumentRequest(input *UpdateDocumentInput) (req *request.Request, output *UpdateDocumentOutput) { @@ -3850,38 +3846,39 @@ func (c *WorkDocs) UpdateDocumentRequest(input *UpdateDocumentInput) (req *reque // API operation UpdateDocument for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * EntityAlreadyExistsException -// The resource already exists. +// - EntityNotExistsException +// The resource does not exist. // -// * LimitExceededException -// The maximum of 100,000 folders under the parent folder has been exceeded. +// - EntityAlreadyExistsException +// The resource already exists. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - LimitExceededException +// The maximum of 100,000 folders under the parent folder has been exceeded. // -// * ConflictingOperationException -// Another operation is in progress on the resource that conflicts with the -// current operation. +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // -// * ConcurrentModificationException -// The resource hierarchy is changing. +// - ConflictingOperationException +// Another operation is in progress on the resource that conflicts with the +// current operation. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - ConcurrentModificationException +// The resource hierarchy is changing. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. +// +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateDocument func (c *WorkDocs) UpdateDocument(input *UpdateDocumentInput) (*UpdateDocumentOutput, error) { @@ -3921,14 +3918,13 @@ const opUpdateDocumentVersion = "UpdateDocumentVersion" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDocumentVersionRequest method. +// req, resp := client.UpdateDocumentVersionRequest(params) // -// // Example sending a request using the UpdateDocumentVersionRequest method. -// req, resp := client.UpdateDocumentVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateDocumentVersion func (c *WorkDocs) UpdateDocumentVersionRequest(input *UpdateDocumentVersionInput) (req *request.Request, output *UpdateDocumentVersionOutput) { @@ -3964,31 +3960,32 @@ func (c *WorkDocs) UpdateDocumentVersionRequest(input *UpdateDocumentVersionInpu // API operation UpdateDocumentVersion for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - EntityNotExistsException +// The resource does not exist. // -// * ConcurrentModificationException -// The resource hierarchy is changing. +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // -// * InvalidOperationException -// The operation is invalid. +// - ConcurrentModificationException +// The resource hierarchy is changing. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - InvalidOperationException +// The operation is invalid. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. +// +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateDocumentVersion func (c *WorkDocs) UpdateDocumentVersion(input *UpdateDocumentVersionInput) (*UpdateDocumentVersionOutput, error) { @@ -4028,14 +4025,13 @@ const opUpdateFolder = "UpdateFolder" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFolderRequest method. +// req, resp := client.UpdateFolderRequest(params) // -// // Example sending a request using the UpdateFolderRequest method. -// req, resp := client.UpdateFolderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateFolder func (c *WorkDocs) UpdateFolderRequest(input *UpdateFolderInput) (req *request.Request, output *UpdateFolderOutput) { @@ -4068,38 +4064,39 @@ func (c *WorkDocs) UpdateFolderRequest(input *UpdateFolderInput) (req *request.R // API operation UpdateFolder for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * EntityAlreadyExistsException -// The resource already exists. +// - EntityNotExistsException +// The resource does not exist. +// +// - EntityAlreadyExistsException +// The resource already exists. // -// * ProhibitedStateException -// The specified document version is not in the INITIALIZED state. +// - ProhibitedStateException +// The specified document version is not in the INITIALIZED state. // -// * ConflictingOperationException -// Another operation is in progress on the resource that conflicts with the -// current operation. +// - ConflictingOperationException +// Another operation is in progress on the resource that conflicts with the +// current operation. // -// * ConcurrentModificationException -// The resource hierarchy is changing. +// - ConcurrentModificationException +// The resource hierarchy is changing. // -// * LimitExceededException -// The maximum of 100,000 folders under the parent folder has been exceeded. +// - LimitExceededException +// The maximum of 100,000 folders under the parent folder has been exceeded. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateFolder func (c *WorkDocs) UpdateFolder(input *UpdateFolderInput) (*UpdateFolderOutput, error) { @@ -4139,14 +4136,13 @@ const opUpdateUser = "UpdateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserRequest method. +// req, resp := client.UpdateUserRequest(params) // -// // Example sending a request using the UpdateUserRequest method. -// req, resp := client.UpdateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateUser func (c *WorkDocs) UpdateUserRequest(input *UpdateUserInput) (req *request.Request, output *UpdateUserOutput) { @@ -4178,31 +4174,32 @@ func (c *WorkDocs) UpdateUserRequest(input *UpdateUserInput) (req *request.Reque // API operation UpdateUser for usage and error information. // // Returned Error Types: -// * EntityNotExistsException -// The resource does not exist. // -// * UnauthorizedOperationException -// The operation is not permitted. +// - EntityNotExistsException +// The resource does not exist. +// +// - UnauthorizedOperationException +// The operation is not permitted. // -// * UnauthorizedResourceAccessException -// The caller does not have access to perform the action on the resource. +// - UnauthorizedResourceAccessException +// The caller does not have access to perform the action on the resource. // -// * IllegalUserStateException -// The user is undergoing transfer of ownership. +// - IllegalUserStateException +// The user is undergoing transfer of ownership. // -// * FailedDependencyException -// The AWS Directory Service cannot reach an on-premises instance. Or a dependency -// under the control of the organization is failing, such as a connected Active -// Directory. +// - FailedDependencyException +// The AWS Directory Service cannot reach an on-premises instance. Or a dependency +// under the control of the organization is failing, such as a connected Active +// Directory. // -// * ServiceUnavailableException -// One or more of the dependencies is unavailable. +// - ServiceUnavailableException +// One or more of the dependencies is unavailable. // -// * DeactivatingLastSystemUserException -// The last user in the organization is being deactivated. +// - DeactivatingLastSystemUserException +// The last user in the organization is being deactivated. // -// * InvalidArgumentException -// The pagination marker or limit fields are not valid. +// - InvalidArgumentException +// The pagination marker or limit fields are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/UpdateUser func (c *WorkDocs) UpdateUser(input *UpdateUserInput) (*UpdateUserOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/doc.go index b2b9253c88b8..57e5849fe330 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/doc.go @@ -5,24 +5,24 @@ // // The WorkDocs API is designed for the following use cases: // -// * File Migration: File migration applications are supported for users -// who want to migrate their files from an on-premises or off-premises file -// system or service. Users can insert files into a user directory structure, -// as well as allow for basic metadata changes, such as modifications to -// the permissions of files. -// -// * Security: Support security applications are supported for users who -// have additional security needs, such as antivirus or data loss prevention. -// The API actions, along with AWS CloudTrail, allow these applications to -// detect when changes occur in Amazon WorkDocs. Then, the application can -// take the necessary actions and replace the target file. If the target -// file violates the policy, the application can also choose to email the -// user. -// -// * eDiscovery/Analytics: General administrative applications are supported, -// such as eDiscovery and analytics. These applications can choose to mimic -// or record the actions in an Amazon WorkDocs site, along with AWS CloudTrail, -// to replicate data for eDiscovery, backup, or analytical applications. +// - File Migration: File migration applications are supported for users +// who want to migrate their files from an on-premises or off-premises file +// system or service. Users can insert files into a user directory structure, +// as well as allow for basic metadata changes, such as modifications to +// the permissions of files. +// +// - Security: Support security applications are supported for users who +// have additional security needs, such as antivirus or data loss prevention. +// The API actions, along with AWS CloudTrail, allow these applications to +// detect when changes occur in Amazon WorkDocs. Then, the application can +// take the necessary actions and replace the target file. If the target +// file violates the policy, the application can also choose to email the +// user. +// +// - eDiscovery/Analytics: General administrative applications are supported, +// such as eDiscovery and analytics. These applications can choose to mimic +// or record the actions in an Amazon WorkDocs site, along with AWS CloudTrail, +// to replicate data for eDiscovery, backup, or analytical applications. // // All Amazon WorkDocs API actions are Amazon authenticated and certificate-signed. // They not only require the use of the AWS SDK, but also allow for the exclusive @@ -40,7 +40,7 @@ // See workdocs package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/workdocs/ // -// Using the Client +// # Using the Client // // To contact Amazon WorkDocs with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/service.go index e35b237e98b5..d0d315092208 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a WorkDocs client from just a session. -// svc := workdocs.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a WorkDocs client with additional configuration -// svc := workdocs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a WorkDocs client from just a session. +// svc := workdocs.New(mySession) +// +// // Create a WorkDocs client with additional configuration +// svc := workdocs.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *WorkDocs { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/workdocsiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/workdocsiface/interface.go index a60cfac506d9..1989ad4134eb 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/workdocsiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workdocs/workdocsiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon WorkDocs. -// func myFunc(svc workdocsiface.WorkDocsAPI) bool { -// // Make svc.AbortDocumentVersionUpload request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon WorkDocs. +// func myFunc(svc workdocsiface.WorkDocsAPI) bool { +// // Make svc.AbortDocumentVersionUpload request +// } // -// func main() { -// sess := session.New() -// svc := workdocs.New(sess) +// func main() { +// sess := session.New() +// svc := workdocs.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockWorkDocsClient struct { -// workdocsiface.WorkDocsAPI -// } -// func (m *mockWorkDocsClient) AbortDocumentVersionUpload(input *workdocs.AbortDocumentVersionUploadInput) (*workdocs.AbortDocumentVersionUploadOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockWorkDocsClient struct { +// workdocsiface.WorkDocsAPI +// } +// func (m *mockWorkDocsClient) AbortDocumentVersionUpload(input *workdocs.AbortDocumentVersionUploadInput) (*workdocs.AbortDocumentVersionUploadOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockWorkDocsClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockWorkDocsClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/api.go index e1cd8290ca80..c123b3c15f91 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/api.go @@ -29,14 +29,13 @@ const opAssociateDomain = "AssociateDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateDomainRequest method. +// req, resp := client.AssociateDomainRequest(params) // -// // Example sending a request using the AssociateDomainRequest method. -// req, resp := client.AssociateDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateDomain // @@ -73,23 +72,24 @@ func (c *WorkLink) AssociateDomainRequest(input *AssociateDomainInput) (req *req // API operation AssociateDomain for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateDomain // @@ -133,14 +133,13 @@ const opAssociateWebsiteAuthorizationProvider = "AssociateWebsiteAuthorizationPr // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateWebsiteAuthorizationProviderRequest method. +// req, resp := client.AssociateWebsiteAuthorizationProviderRequest(params) // -// // Example sending a request using the AssociateWebsiteAuthorizationProviderRequest method. -// req, resp := client.AssociateWebsiteAuthorizationProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteAuthorizationProvider // @@ -177,23 +176,24 @@ func (c *WorkLink) AssociateWebsiteAuthorizationProviderRequest(input *Associate // API operation AssociateWebsiteAuthorizationProvider for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InvalidRequestException +// The request is not valid. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - ResourceAlreadyExistsException +// The resource already exists. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteAuthorizationProvider // @@ -237,14 +237,13 @@ const opAssociateWebsiteCertificateAuthority = "AssociateWebsiteCertificateAutho // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateWebsiteCertificateAuthorityRequest method. +// req, resp := client.AssociateWebsiteCertificateAuthorityRequest(params) // -// // Example sending a request using the AssociateWebsiteCertificateAuthorityRequest method. -// req, resp := client.AssociateWebsiteCertificateAuthorityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteCertificateAuthority // @@ -281,23 +280,24 @@ func (c *WorkLink) AssociateWebsiteCertificateAuthorityRequest(input *AssociateW // API operation AssociateWebsiteCertificateAuthority for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InvalidRequestException +// The request is not valid. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - ResourceAlreadyExistsException +// The resource already exists. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteCertificateAuthority // @@ -341,14 +341,13 @@ const opCreateFleet = "CreateFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateFleetRequest method. +// req, resp := client.CreateFleetRequest(params) // -// // Example sending a request using the CreateFleetRequest method. -// req, resp := client.CreateFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/CreateFleet // @@ -386,23 +385,24 @@ func (c *WorkLink) CreateFleetRequest(input *CreateFleetInput) (req *request.Req // API operation CreateFleet for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InvalidRequestException +// The request is not valid. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - ResourceAlreadyExistsException +// The resource already exists. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/CreateFleet // @@ -446,14 +446,13 @@ const opDeleteFleet = "DeleteFleet" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteFleetRequest method. +// req, resp := client.DeleteFleetRequest(params) // -// // Example sending a request using the DeleteFleetRequest method. -// req, resp := client.DeleteFleetRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DeleteFleet // @@ -490,20 +489,21 @@ func (c *WorkLink) DeleteFleetRequest(input *DeleteFleetInput) (req *request.Req // API operation DeleteFleet for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InvalidRequestException +// The request is not valid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - ResourceNotFoundException +// The requested resource was not found. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DeleteFleet // @@ -547,14 +547,13 @@ const opDescribeAuditStreamConfiguration = "DescribeAuditStreamConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAuditStreamConfigurationRequest method. +// req, resp := client.DescribeAuditStreamConfigurationRequest(params) // -// // Example sending a request using the DescribeAuditStreamConfigurationRequest method. -// req, resp := client.DescribeAuditStreamConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeAuditStreamConfiguration // @@ -591,20 +590,21 @@ func (c *WorkLink) DescribeAuditStreamConfigurationRequest(input *DescribeAuditS // API operation DescribeAuditStreamConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InvalidRequestException +// The request is not valid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - ResourceNotFoundException +// The requested resource was not found. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeAuditStreamConfiguration // @@ -648,14 +648,13 @@ const opDescribeCompanyNetworkConfiguration = "DescribeCompanyNetworkConfigurati // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeCompanyNetworkConfigurationRequest method. +// req, resp := client.DescribeCompanyNetworkConfigurationRequest(params) // -// // Example sending a request using the DescribeCompanyNetworkConfigurationRequest method. -// req, resp := client.DescribeCompanyNetworkConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeCompanyNetworkConfiguration // @@ -692,20 +691,21 @@ func (c *WorkLink) DescribeCompanyNetworkConfigurationRequest(input *DescribeCom // API operation DescribeCompanyNetworkConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InvalidRequestException +// The request is not valid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - ResourceNotFoundException +// The requested resource was not found. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeCompanyNetworkConfiguration // @@ -749,14 +749,13 @@ const opDescribeDevice = "DescribeDevice" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDeviceRequest method. +// req, resp := client.DescribeDeviceRequest(params) // -// // Example sending a request using the DescribeDeviceRequest method. -// req, resp := client.DescribeDeviceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevice // @@ -792,20 +791,21 @@ func (c *WorkLink) DescribeDeviceRequest(input *DescribeDeviceInput) (req *reque // API operation DescribeDevice for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InvalidRequestException +// The request is not valid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - ResourceNotFoundException +// The requested resource was not found. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevice // @@ -849,14 +849,13 @@ const opDescribeDevicePolicyConfiguration = "DescribeDevicePolicyConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDevicePolicyConfigurationRequest method. +// req, resp := client.DescribeDevicePolicyConfigurationRequest(params) // -// // Example sending a request using the DescribeDevicePolicyConfigurationRequest method. -// req, resp := client.DescribeDevicePolicyConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevicePolicyConfiguration // @@ -892,20 +891,21 @@ func (c *WorkLink) DescribeDevicePolicyConfigurationRequest(input *DescribeDevic // API operation DescribeDevicePolicyConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InvalidRequestException +// The request is not valid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - ResourceNotFoundException +// The requested resource was not found. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevicePolicyConfiguration // @@ -949,14 +949,13 @@ const opDescribeDomain = "DescribeDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeDomainRequest method. +// req, resp := client.DescribeDomainRequest(params) // -// // Example sending a request using the DescribeDomainRequest method. -// req, resp := client.DescribeDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDomain // @@ -992,20 +991,21 @@ func (c *WorkLink) DescribeDomainRequest(input *DescribeDomainInput) (req *reque // API operation DescribeDomain for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDomain // @@ -1049,14 +1049,13 @@ const opDescribeFleetMetadata = "DescribeFleetMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeFleetMetadataRequest method. +// req, resp := client.DescribeFleetMetadataRequest(params) // -// // Example sending a request using the DescribeFleetMetadataRequest method. -// req, resp := client.DescribeFleetMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeFleetMetadata // @@ -1093,20 +1092,21 @@ func (c *WorkLink) DescribeFleetMetadataRequest(input *DescribeFleetMetadataInpu // API operation DescribeFleetMetadata for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeFleetMetadata // @@ -1150,14 +1150,13 @@ const opDescribeIdentityProviderConfiguration = "DescribeIdentityProviderConfigu // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIdentityProviderConfigurationRequest method. +// req, resp := client.DescribeIdentityProviderConfigurationRequest(params) // -// // Example sending a request using the DescribeIdentityProviderConfigurationRequest method. -// req, resp := client.DescribeIdentityProviderConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeIdentityProviderConfiguration // @@ -1193,20 +1192,21 @@ func (c *WorkLink) DescribeIdentityProviderConfigurationRequest(input *DescribeI // API operation DescribeIdentityProviderConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeIdentityProviderConfiguration // @@ -1250,14 +1250,13 @@ const opDescribeWebsiteCertificateAuthority = "DescribeWebsiteCertificateAuthori // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWebsiteCertificateAuthorityRequest method. +// req, resp := client.DescribeWebsiteCertificateAuthorityRequest(params) // -// // Example sending a request using the DescribeWebsiteCertificateAuthorityRequest method. -// req, resp := client.DescribeWebsiteCertificateAuthorityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeWebsiteCertificateAuthority // @@ -1293,20 +1292,21 @@ func (c *WorkLink) DescribeWebsiteCertificateAuthorityRequest(input *DescribeWeb // API operation DescribeWebsiteCertificateAuthority for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeWebsiteCertificateAuthority // @@ -1350,14 +1350,13 @@ const opDisassociateDomain = "DisassociateDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateDomainRequest method. +// req, resp := client.DisassociateDomainRequest(params) // -// // Example sending a request using the DisassociateDomainRequest method. -// req, resp := client.DisassociateDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateDomain // @@ -1395,20 +1394,21 @@ func (c *WorkLink) DisassociateDomainRequest(input *DisassociateDomainInput) (re // API operation DisassociateDomain for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateDomain // @@ -1452,14 +1452,13 @@ const opDisassociateWebsiteAuthorizationProvider = "DisassociateWebsiteAuthoriza // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateWebsiteAuthorizationProviderRequest method. +// req, resp := client.DisassociateWebsiteAuthorizationProviderRequest(params) // -// // Example sending a request using the DisassociateWebsiteAuthorizationProviderRequest method. -// req, resp := client.DisassociateWebsiteAuthorizationProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteAuthorizationProvider // @@ -1498,23 +1497,24 @@ func (c *WorkLink) DisassociateWebsiteAuthorizationProviderRequest(input *Disass // API operation DisassociateWebsiteAuthorizationProvider for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * ResourceAlreadyExistsException -// The resource already exists. +// - ResourceAlreadyExistsException +// The resource already exists. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteAuthorizationProvider // @@ -1558,14 +1558,13 @@ const opDisassociateWebsiteCertificateAuthority = "DisassociateWebsiteCertificat // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateWebsiteCertificateAuthorityRequest method. +// req, resp := client.DisassociateWebsiteCertificateAuthorityRequest(params) // -// // Example sending a request using the DisassociateWebsiteCertificateAuthorityRequest method. -// req, resp := client.DisassociateWebsiteCertificateAuthorityRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteCertificateAuthority // @@ -1602,20 +1601,21 @@ func (c *WorkLink) DisassociateWebsiteCertificateAuthorityRequest(input *Disasso // API operation DisassociateWebsiteCertificateAuthority for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteCertificateAuthority // @@ -1659,14 +1659,13 @@ const opListDevices = "ListDevices" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDevicesRequest method. +// req, resp := client.ListDevicesRequest(params) // -// // Example sending a request using the ListDevicesRequest method. -// req, resp := client.ListDevicesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDevices // @@ -1708,20 +1707,21 @@ func (c *WorkLink) ListDevicesRequest(input *ListDevicesInput) (req *request.Req // API operation ListDevices for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDevices // @@ -1757,15 +1757,14 @@ func (c *WorkLink) ListDevicesWithContext(ctx aws.Context, input *ListDevicesInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDevices operation. -// pageNum := 0 -// err := client.ListDevicesPages(params, -// func(page *worklink.ListDevicesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDevices operation. +// pageNum := 0 +// err := client.ListDevicesPages(params, +// func(page *worklink.ListDevicesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) // // Deprecated: Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK. func (c *WorkLink) ListDevicesPages(input *ListDevicesInput, fn func(*ListDevicesOutput, bool) bool) error { @@ -1821,14 +1820,13 @@ const opListDomains = "ListDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListDomainsRequest method. +// req, resp := client.ListDomainsRequest(params) // -// // Example sending a request using the ListDomainsRequest method. -// req, resp := client.ListDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDomains // @@ -1870,20 +1868,21 @@ func (c *WorkLink) ListDomainsRequest(input *ListDomainsInput) (req *request.Req // API operation ListDomains for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDomains // @@ -1919,15 +1918,14 @@ func (c *WorkLink) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListDomains operation. -// pageNum := 0 -// err := client.ListDomainsPages(params, -// func(page *worklink.ListDomainsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListDomains operation. +// pageNum := 0 +// err := client.ListDomainsPages(params, +// func(page *worklink.ListDomainsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) // // Deprecated: Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK. func (c *WorkLink) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error { @@ -1983,14 +1981,13 @@ const opListFleets = "ListFleets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListFleetsRequest method. +// req, resp := client.ListFleetsRequest(params) // -// // Example sending a request using the ListFleetsRequest method. -// req, resp := client.ListFleetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListFleets // @@ -2032,17 +2029,18 @@ func (c *WorkLink) ListFleetsRequest(input *ListFleetsInput) (req *request.Reque // API operation ListFleets for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - InvalidRequestException +// The request is not valid. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListFleets // @@ -2078,15 +2076,14 @@ func (c *WorkLink) ListFleetsWithContext(ctx aws.Context, input *ListFleetsInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListFleets operation. -// pageNum := 0 -// err := client.ListFleetsPages(params, -// func(page *worklink.ListFleetsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListFleets operation. +// pageNum := 0 +// err := client.ListFleetsPages(params, +// func(page *worklink.ListFleetsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) // // Deprecated: Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK. func (c *WorkLink) ListFleetsPages(input *ListFleetsInput, fn func(*ListFleetsOutput, bool) bool) error { @@ -2142,14 +2139,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListTagsForResource // @@ -2185,8 +2181,8 @@ func (c *WorkLink) ListTagsForResourceRequest(input *ListTagsForResourceInput) ( // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListTagsForResource // @@ -2230,14 +2226,13 @@ const opListWebsiteAuthorizationProviders = "ListWebsiteAuthorizationProviders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWebsiteAuthorizationProvidersRequest method. +// req, resp := client.ListWebsiteAuthorizationProvidersRequest(params) // -// // Example sending a request using the ListWebsiteAuthorizationProvidersRequest method. -// req, resp := client.ListWebsiteAuthorizationProvidersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteAuthorizationProviders // @@ -2280,20 +2275,21 @@ func (c *WorkLink) ListWebsiteAuthorizationProvidersRequest(input *ListWebsiteAu // API operation ListWebsiteAuthorizationProviders for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InvalidRequestException +// The request is not valid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - ResourceNotFoundException +// The requested resource was not found. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteAuthorizationProviders // @@ -2329,15 +2325,14 @@ func (c *WorkLink) ListWebsiteAuthorizationProvidersWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWebsiteAuthorizationProviders operation. -// pageNum := 0 -// err := client.ListWebsiteAuthorizationProvidersPages(params, -// func(page *worklink.ListWebsiteAuthorizationProvidersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWebsiteAuthorizationProviders operation. +// pageNum := 0 +// err := client.ListWebsiteAuthorizationProvidersPages(params, +// func(page *worklink.ListWebsiteAuthorizationProvidersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) // // Deprecated: Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK. func (c *WorkLink) ListWebsiteAuthorizationProvidersPages(input *ListWebsiteAuthorizationProvidersInput, fn func(*ListWebsiteAuthorizationProvidersOutput, bool) bool) error { @@ -2393,14 +2388,13 @@ const opListWebsiteCertificateAuthorities = "ListWebsiteCertificateAuthorities" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListWebsiteCertificateAuthoritiesRequest method. +// req, resp := client.ListWebsiteCertificateAuthoritiesRequest(params) // -// // Example sending a request using the ListWebsiteCertificateAuthoritiesRequest method. -// req, resp := client.ListWebsiteCertificateAuthoritiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteCertificateAuthorities // @@ -2443,17 +2437,18 @@ func (c *WorkLink) ListWebsiteCertificateAuthoritiesRequest(input *ListWebsiteCe // API operation ListWebsiteCertificateAuthorities for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteCertificateAuthorities // @@ -2489,15 +2484,14 @@ func (c *WorkLink) ListWebsiteCertificateAuthoritiesWithContext(ctx aws.Context, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListWebsiteCertificateAuthorities operation. -// pageNum := 0 -// err := client.ListWebsiteCertificateAuthoritiesPages(params, -// func(page *worklink.ListWebsiteCertificateAuthoritiesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListWebsiteCertificateAuthorities operation. +// pageNum := 0 +// err := client.ListWebsiteCertificateAuthoritiesPages(params, +// func(page *worklink.ListWebsiteCertificateAuthoritiesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) // // Deprecated: Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK. func (c *WorkLink) ListWebsiteCertificateAuthoritiesPages(input *ListWebsiteCertificateAuthoritiesInput, fn func(*ListWebsiteCertificateAuthoritiesOutput, bool) bool) error { @@ -2553,14 +2547,13 @@ const opRestoreDomainAccess = "RestoreDomainAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreDomainAccessRequest method. +// req, resp := client.RestoreDomainAccessRequest(params) // -// // Example sending a request using the RestoreDomainAccessRequest method. -// req, resp := client.RestoreDomainAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RestoreDomainAccess // @@ -2597,20 +2590,21 @@ func (c *WorkLink) RestoreDomainAccessRequest(input *RestoreDomainAccessInput) ( // API operation RestoreDomainAccess for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InvalidRequestException +// The request is not valid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - ResourceNotFoundException +// The requested resource was not found. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RestoreDomainAccess // @@ -2654,14 +2648,13 @@ const opRevokeDomainAccess = "RevokeDomainAccess" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeDomainAccessRequest method. +// req, resp := client.RevokeDomainAccessRequest(params) // -// // Example sending a request using the RevokeDomainAccessRequest method. -// req, resp := client.RevokeDomainAccessRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RevokeDomainAccess // @@ -2698,20 +2691,21 @@ func (c *WorkLink) RevokeDomainAccessRequest(input *RevokeDomainAccessInput) (re // API operation RevokeDomainAccess for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. // -// * InvalidRequestException -// The request is not valid. +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * ResourceNotFoundException -// The requested resource was not found. +// - InvalidRequestException +// The request is not valid. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - ResourceNotFoundException +// The requested resource was not found. +// +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RevokeDomainAccess // @@ -2755,14 +2749,13 @@ const opSignOutUser = "SignOutUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the SignOutUserRequest method. +// req, resp := client.SignOutUserRequest(params) // -// // Example sending a request using the SignOutUserRequest method. -// req, resp := client.SignOutUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/SignOutUser // @@ -2800,20 +2793,21 @@ func (c *WorkLink) SignOutUserRequest(input *SignOutUserInput) (req *request.Req // API operation SignOutUser for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/SignOutUser // @@ -2857,14 +2851,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/TagResource // @@ -2903,8 +2896,8 @@ func (c *WorkLink) TagResourceRequest(input *TagResourceInput) (req *request.Req // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/TagResource // @@ -2948,14 +2941,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UntagResource // @@ -2992,8 +2984,8 @@ func (c *WorkLink) UntagResourceRequest(input *UntagResourceInput) (req *request // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UntagResource // @@ -3037,14 +3029,13 @@ const opUpdateAuditStreamConfiguration = "UpdateAuditStreamConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateAuditStreamConfigurationRequest method. +// req, resp := client.UpdateAuditStreamConfigurationRequest(params) // -// // Example sending a request using the UpdateAuditStreamConfigurationRequest method. -// req, resp := client.UpdateAuditStreamConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateAuditStreamConfiguration // @@ -3081,20 +3072,21 @@ func (c *WorkLink) UpdateAuditStreamConfigurationRequest(input *UpdateAuditStrea // API operation UpdateAuditStreamConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateAuditStreamConfiguration // @@ -3138,14 +3130,13 @@ const opUpdateCompanyNetworkConfiguration = "UpdateCompanyNetworkConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateCompanyNetworkConfigurationRequest method. +// req, resp := client.UpdateCompanyNetworkConfigurationRequest(params) // -// // Example sending a request using the UpdateCompanyNetworkConfigurationRequest method. -// req, resp := client.UpdateCompanyNetworkConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateCompanyNetworkConfiguration // @@ -3182,20 +3173,21 @@ func (c *WorkLink) UpdateCompanyNetworkConfigurationRequest(input *UpdateCompany // API operation UpdateCompanyNetworkConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateCompanyNetworkConfiguration // @@ -3239,14 +3231,13 @@ const opUpdateDevicePolicyConfiguration = "UpdateDevicePolicyConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDevicePolicyConfigurationRequest method. +// req, resp := client.UpdateDevicePolicyConfigurationRequest(params) // -// // Example sending a request using the UpdateDevicePolicyConfigurationRequest method. -// req, resp := client.UpdateDevicePolicyConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDevicePolicyConfiguration // @@ -3283,20 +3274,21 @@ func (c *WorkLink) UpdateDevicePolicyConfigurationRequest(input *UpdateDevicePol // API operation UpdateDevicePolicyConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDevicePolicyConfiguration // @@ -3340,14 +3332,13 @@ const opUpdateDomainMetadata = "UpdateDomainMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDomainMetadataRequest method. +// req, resp := client.UpdateDomainMetadataRequest(params) // -// // Example sending a request using the UpdateDomainMetadataRequest method. -// req, resp := client.UpdateDomainMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDomainMetadata // @@ -3384,20 +3375,21 @@ func (c *WorkLink) UpdateDomainMetadataRequest(input *UpdateDomainMetadataInput) // API operation UpdateDomainMetadata for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDomainMetadata // @@ -3441,14 +3433,13 @@ const opUpdateFleetMetadata = "UpdateFleetMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateFleetMetadataRequest method. +// req, resp := client.UpdateFleetMetadataRequest(params) // -// // Example sending a request using the UpdateFleetMetadataRequest method. -// req, resp := client.UpdateFleetMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateFleetMetadata // @@ -3485,20 +3476,21 @@ func (c *WorkLink) UpdateFleetMetadataRequest(input *UpdateFleetMetadataInput) ( // API operation UpdateFleetMetadata for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateFleetMetadata // @@ -3542,14 +3534,13 @@ const opUpdateIdentityProviderConfiguration = "UpdateIdentityProviderConfigurati // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIdentityProviderConfigurationRequest method. +// req, resp := client.UpdateIdentityProviderConfigurationRequest(params) // -// // Example sending a request using the UpdateIdentityProviderConfigurationRequest method. -// req, resp := client.UpdateIdentityProviderConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateIdentityProviderConfiguration // @@ -3586,20 +3577,21 @@ func (c *WorkLink) UpdateIdentityProviderConfigurationRequest(input *UpdateIdent // API operation UpdateIdentityProviderConfiguration for usage and error information. // // Returned Error Types: -// * UnauthorizedException -// You are not authorized to perform this action. // -// * InternalServerErrorException -// The service is temporarily unavailable. +// - UnauthorizedException +// You are not authorized to perform this action. +// +// - InternalServerErrorException +// The service is temporarily unavailable. // -// * InvalidRequestException -// The request is not valid. +// - InvalidRequestException +// The request is not valid. // -// * ResourceNotFoundException -// The requested resource was not found. +// - ResourceNotFoundException +// The requested resource was not found. // -// * TooManyRequestsException -// The number of requests exceeds the limit. +// - TooManyRequestsException +// The number of requests exceeds the limit. // // See also, https://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateIdentityProviderConfiguration // diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/doc.go index dcde2c87d962..e9eb21474c13 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/doc.go @@ -17,7 +17,7 @@ // See worklink package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/worklink/ // -// Using the Client +// # Using the Client // // To contact Amazon WorkLink with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/service.go index 59a00a6f41b5..c389059dd87f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a WorkLink client from just a session. -// svc := worklink.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a WorkLink client with additional configuration -// svc := worklink.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a WorkLink client from just a session. +// svc := worklink.New(mySession) +// +// // Create a WorkLink client with additional configuration +// svc := worklink.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *WorkLink { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/worklinkiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/worklinkiface/interface.go index 70ab432851c6..cbd3d3ea7189 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/worklinkiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/worklink/worklinkiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon WorkLink. -// func myFunc(svc worklinkiface.WorkLinkAPI) bool { -// // Make svc.AssociateDomain request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon WorkLink. +// func myFunc(svc worklinkiface.WorkLinkAPI) bool { +// // Make svc.AssociateDomain request +// } // -// func main() { -// sess := session.New() -// svc := worklink.New(sess) +// func main() { +// sess := session.New() +// svc := worklink.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockWorkLinkClient struct { -// worklinkiface.WorkLinkAPI -// } -// func (m *mockWorkLinkClient) AssociateDomain(input *worklink.AssociateDomainInput) (*worklink.AssociateDomainOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockWorkLinkClient struct { +// worklinkiface.WorkLinkAPI +// } +// func (m *mockWorkLinkClient) AssociateDomain(input *worklink.AssociateDomainInput) (*worklink.AssociateDomainOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockWorkLinkClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockWorkLinkClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/api.go index ff68a88f0942..269e3f34b310 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/api.go @@ -29,14 +29,13 @@ const opAssociateDelegateToResource = "AssociateDelegateToResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateDelegateToResourceRequest method. +// req, resp := client.AssociateDelegateToResourceRequest(params) // -// // Example sending a request using the AssociateDelegateToResourceRequest method. -// req, resp := client.AssociateDelegateToResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/AssociateDelegateToResource func (c *WorkMail) AssociateDelegateToResourceRequest(input *AssociateDelegateToResourceInput) (req *request.Request, output *AssociateDelegateToResourceOutput) { @@ -68,24 +67,25 @@ func (c *WorkMail) AssociateDelegateToResourceRequest(input *AssociateDelegateTo // API operation AssociateDelegateToResource for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. +// +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/AssociateDelegateToResource func (c *WorkMail) AssociateDelegateToResource(input *AssociateDelegateToResourceInput) (*AssociateDelegateToResourceOutput, error) { @@ -125,14 +125,13 @@ const opAssociateMemberToGroup = "AssociateMemberToGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateMemberToGroupRequest method. +// req, resp := client.AssociateMemberToGroupRequest(params) // -// // Example sending a request using the AssociateMemberToGroupRequest method. -// req, resp := client.AssociateMemberToGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/AssociateMemberToGroup func (c *WorkMail) AssociateMemberToGroupRequest(input *AssociateMemberToGroupInput) (req *request.Request, output *AssociateMemberToGroupOutput) { @@ -164,33 +163,34 @@ func (c *WorkMail) AssociateMemberToGroupRequest(input *AssociateMemberToGroupIn // API operation AssociateMemberToGroup for usage and error information. // // Returned Error Types: -// * DirectoryServiceAuthenticationFailedException -// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * DirectoryUnavailableException -// The directory is unavailable. It might be located in another Region or deleted. +// - DirectoryServiceAuthenticationFailedException +// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - DirectoryUnavailableException +// The directory is unavailable. It might be located in another Region or deleted. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * UnsupportedOperationException -// You can't perform a write operation against a read-only directory. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// - UnsupportedOperationException +// You can't perform a write operation against a read-only directory. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/AssociateMemberToGroup func (c *WorkMail) AssociateMemberToGroup(input *AssociateMemberToGroupInput) (*AssociateMemberToGroupOutput, error) { @@ -230,14 +230,13 @@ const opCancelMailboxExportJob = "CancelMailboxExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CancelMailboxExportJobRequest method. +// req, resp := client.CancelMailboxExportJobRequest(params) // -// // Example sending a request using the CancelMailboxExportJobRequest method. -// req, resp := client.CancelMailboxExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CancelMailboxExportJob func (c *WorkMail) CancelMailboxExportJobRequest(input *CancelMailboxExportJobInput) (req *request.Request, output *CancelMailboxExportJobOutput) { @@ -272,20 +271,21 @@ func (c *WorkMail) CancelMailboxExportJobRequest(input *CancelMailboxExportJobIn // API operation CancelMailboxExportJob for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CancelMailboxExportJob func (c *WorkMail) CancelMailboxExportJob(input *CancelMailboxExportJobInput) (*CancelMailboxExportJobOutput, error) { @@ -325,14 +325,13 @@ const opCreateAlias = "CreateAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateAliasRequest method. +// req, resp := client.CreateAliasRequest(params) // -// // Example sending a request using the CreateAliasRequest method. -// req, resp := client.CreateAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateAlias func (c *WorkMail) CreateAliasRequest(input *CreateAliasInput) (req *request.Request, output *CreateAliasOutput) { @@ -364,38 +363,39 @@ func (c *WorkMail) CreateAliasRequest(input *CreateAliasInput) (req *request.Req // API operation CreateAlias for usage and error information. // // Returned Error Types: -// * EmailAddressInUseException -// The email address that you're trying to assign is already created for a different -// user, group, or resource. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - EmailAddressInUseException +// The email address that you're trying to assign is already created for a different +// user, group, or resource. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * MailDomainNotFoundException -// The domain specified is not found in your organization. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * MailDomainStateException -// After a domain has been added to the organization, it must be verified. The -// domain is not yet verified. +// - MailDomainNotFoundException +// The domain specified is not found in your organization. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - MailDomainStateException +// After a domain has been added to the organization, it must be verified. The +// domain is not yet verified. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * LimitExceededException -// The request exceeds the limit of the resource. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// - LimitExceededException +// The request exceeds the limit of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateAlias func (c *WorkMail) CreateAlias(input *CreateAliasInput) (*CreateAliasOutput, error) { @@ -435,14 +435,13 @@ const opCreateGroup = "CreateGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGroupRequest method. +// req, resp := client.CreateGroupRequest(params) // -// // Example sending a request using the CreateGroupRequest method. -// req, resp := client.CreateGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateGroup func (c *WorkMail) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput) { @@ -474,31 +473,32 @@ func (c *WorkMail) CreateGroupRequest(input *CreateGroupInput) (req *request.Req // API operation CreateGroup for usage and error information. // // Returned Error Types: -// * DirectoryServiceAuthenticationFailedException -// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * DirectoryUnavailableException -// The directory is unavailable. It might be located in another Region or deleted. +// - DirectoryServiceAuthenticationFailedException +// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - DirectoryUnavailableException +// The directory is unavailable. It might be located in another Region or deleted. // -// * NameAvailabilityException -// The user, group, or resource name isn't unique in Amazon WorkMail. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - NameAvailabilityException +// The user, group, or resource name isn't unique in Amazon WorkMail. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * ReservedNameException -// This user, group, or resource name is not allowed in Amazon WorkMail. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * UnsupportedOperationException -// You can't perform a write operation against a read-only directory. +// - ReservedNameException +// This user, group, or resource name is not allowed in Amazon WorkMail. +// +// - UnsupportedOperationException +// You can't perform a write operation against a read-only directory. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateGroup func (c *WorkMail) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error) { @@ -538,14 +538,13 @@ const opCreateMobileDeviceAccessRule = "CreateMobileDeviceAccessRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateMobileDeviceAccessRuleRequest method. +// req, resp := client.CreateMobileDeviceAccessRuleRequest(params) // -// // Example sending a request using the CreateMobileDeviceAccessRuleRequest method. -// req, resp := client.CreateMobileDeviceAccessRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateMobileDeviceAccessRule func (c *WorkMail) CreateMobileDeviceAccessRuleRequest(input *CreateMobileDeviceAccessRuleInput) (req *request.Request, output *CreateMobileDeviceAccessRuleOutput) { @@ -577,19 +576,20 @@ func (c *WorkMail) CreateMobileDeviceAccessRuleRequest(input *CreateMobileDevice // API operation CreateMobileDeviceAccessRule for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * LimitExceededException -// The request exceeds the limit of the resource. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - LimitExceededException +// The request exceeds the limit of the resource. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateMobileDeviceAccessRule func (c *WorkMail) CreateMobileDeviceAccessRule(input *CreateMobileDeviceAccessRuleInput) (*CreateMobileDeviceAccessRuleOutput, error) { @@ -629,14 +629,13 @@ const opCreateOrganization = "CreateOrganization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateOrganizationRequest method. +// req, resp := client.CreateOrganizationRequest(params) // -// // Example sending a request using the CreateOrganizationRequest method. -// req, resp := client.CreateOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateOrganization func (c *WorkMail) CreateOrganizationRequest(input *CreateOrganizationInput) (req *request.Request, output *CreateOrganizationOutput) { @@ -685,21 +684,22 @@ func (c *WorkMail) CreateOrganizationRequest(input *CreateOrganizationInput) (re // API operation CreateOrganization for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * DirectoryInUseException -// The directory is already in use by another WorkMail organization in the same -// account and Region. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - DirectoryInUseException +// The directory is already in use by another WorkMail organization in the same +// account and Region. // -// * DirectoryUnavailableException -// The directory is unavailable. It might be located in another Region or deleted. +// - DirectoryUnavailableException +// The directory is unavailable. It might be located in another Region or deleted. // -// * LimitExceededException -// The request exceeds the limit of the resource. +// - LimitExceededException +// The request exceeds the limit of the resource. // -// * NameAvailabilityException -// The user, group, or resource name isn't unique in Amazon WorkMail. +// - NameAvailabilityException +// The user, group, or resource name isn't unique in Amazon WorkMail. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateOrganization func (c *WorkMail) CreateOrganization(input *CreateOrganizationInput) (*CreateOrganizationOutput, error) { @@ -739,14 +739,13 @@ const opCreateResource = "CreateResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateResourceRequest method. +// req, resp := client.CreateResourceRequest(params) // -// // Example sending a request using the CreateResourceRequest method. -// req, resp := client.CreateResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateResource func (c *WorkMail) CreateResourceRequest(input *CreateResourceInput) (req *request.Request, output *CreateResourceOutput) { @@ -777,28 +776,29 @@ func (c *WorkMail) CreateResourceRequest(input *CreateResourceInput) (req *reque // API operation CreateResource for usage and error information. // // Returned Error Types: -// * DirectoryServiceAuthenticationFailedException -// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * DirectoryUnavailableException -// The directory is unavailable. It might be located in another Region or deleted. +// - DirectoryServiceAuthenticationFailedException +// The directory service doesn't recognize the credentials supplied by WorkMail. +// +// - DirectoryUnavailableException +// The directory is unavailable. It might be located in another Region or deleted. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * NameAvailabilityException -// The user, group, or resource name isn't unique in Amazon WorkMail. +// - NameAvailabilityException +// The user, group, or resource name isn't unique in Amazon WorkMail. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * ReservedNameException -// This user, group, or resource name is not allowed in Amazon WorkMail. +// - ReservedNameException +// This user, group, or resource name is not allowed in Amazon WorkMail. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateResource func (c *WorkMail) CreateResource(input *CreateResourceInput) (*CreateResourceOutput, error) { @@ -838,14 +838,13 @@ const opCreateUser = "CreateUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserRequest method. +// req, resp := client.CreateUserRequest(params) // -// // Example sending a request using the CreateUserRequest method. -// req, resp := client.CreateUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateUser func (c *WorkMail) CreateUserRequest(input *CreateUserInput) (req *request.Request, output *CreateUserOutput) { @@ -877,35 +876,36 @@ func (c *WorkMail) CreateUserRequest(input *CreateUserInput) (req *request.Reque // API operation CreateUser for usage and error information. // // Returned Error Types: -// * DirectoryServiceAuthenticationFailedException -// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * DirectoryUnavailableException -// The directory is unavailable. It might be located in another Region or deleted. +// - DirectoryServiceAuthenticationFailedException +// The directory service doesn't recognize the credentials supplied by WorkMail. +// +// - DirectoryUnavailableException +// The directory is unavailable. It might be located in another Region or deleted. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * InvalidPasswordException -// The supplied password doesn't match the minimum security constraints, such -// as length or use of special characters. +// - InvalidPasswordException +// The supplied password doesn't match the minimum security constraints, such +// as length or use of special characters. // -// * NameAvailabilityException -// The user, group, or resource name isn't unique in Amazon WorkMail. +// - NameAvailabilityException +// The user, group, or resource name isn't unique in Amazon WorkMail. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * ReservedNameException -// This user, group, or resource name is not allowed in Amazon WorkMail. +// - ReservedNameException +// This user, group, or resource name is not allowed in Amazon WorkMail. // -// * UnsupportedOperationException -// You can't perform a write operation against a read-only directory. +// - UnsupportedOperationException +// You can't perform a write operation against a read-only directory. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateUser func (c *WorkMail) CreateUser(input *CreateUserInput) (*CreateUserOutput, error) { @@ -945,14 +945,13 @@ const opDeleteAccessControlRule = "DeleteAccessControlRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAccessControlRuleRequest method. +// req, resp := client.DeleteAccessControlRuleRequest(params) // -// // Example sending a request using the DeleteAccessControlRuleRequest method. -// req, resp := client.DeleteAccessControlRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteAccessControlRule func (c *WorkMail) DeleteAccessControlRuleRequest(input *DeleteAccessControlRuleInput) (req *request.Request, output *DeleteAccessControlRuleOutput) { @@ -988,13 +987,14 @@ func (c *WorkMail) DeleteAccessControlRuleRequest(input *DeleteAccessControlRule // API operation DeleteAccessControlRule for usage and error information. // // Returned Error Types: -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteAccessControlRule func (c *WorkMail) DeleteAccessControlRule(input *DeleteAccessControlRuleInput) (*DeleteAccessControlRuleOutput, error) { @@ -1034,14 +1034,13 @@ const opDeleteAlias = "DeleteAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteAliasRequest method. +// req, resp := client.DeleteAliasRequest(params) // -// // Example sending a request using the DeleteAliasRequest method. -// req, resp := client.DeleteAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteAlias func (c *WorkMail) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Request, output *DeleteAliasOutput) { @@ -1073,24 +1072,25 @@ func (c *WorkMail) DeleteAliasRequest(input *DeleteAliasInput) (req *request.Req // API operation DeleteAlias for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteAlias func (c *WorkMail) DeleteAlias(input *DeleteAliasInput) (*DeleteAliasOutput, error) { @@ -1130,14 +1130,13 @@ const opDeleteEmailMonitoringConfiguration = "DeleteEmailMonitoringConfiguration // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteEmailMonitoringConfigurationRequest method. +// req, resp := client.DeleteEmailMonitoringConfigurationRequest(params) // -// // Example sending a request using the DeleteEmailMonitoringConfigurationRequest method. -// req, resp := client.DeleteEmailMonitoringConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteEmailMonitoringConfiguration func (c *WorkMail) DeleteEmailMonitoringConfigurationRequest(input *DeleteEmailMonitoringConfigurationInput) (req *request.Request, output *DeleteEmailMonitoringConfigurationOutput) { @@ -1169,16 +1168,17 @@ func (c *WorkMail) DeleteEmailMonitoringConfigurationRequest(input *DeleteEmailM // API operation DeleteEmailMonitoringConfiguration for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteEmailMonitoringConfiguration func (c *WorkMail) DeleteEmailMonitoringConfiguration(input *DeleteEmailMonitoringConfigurationInput) (*DeleteEmailMonitoringConfigurationOutput, error) { @@ -1218,14 +1218,13 @@ const opDeleteGroup = "DeleteGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGroupRequest method. +// req, resp := client.DeleteGroupRequest(params) // -// // Example sending a request using the DeleteGroupRequest method. -// req, resp := client.DeleteGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteGroup func (c *WorkMail) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput) { @@ -1257,29 +1256,30 @@ func (c *WorkMail) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Req // API operation DeleteGroup for usage and error information. // // Returned Error Types: -// * DirectoryServiceAuthenticationFailedException -// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * DirectoryUnavailableException -// The directory is unavailable. It might be located in another Region or deleted. +// - DirectoryServiceAuthenticationFailedException +// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - DirectoryUnavailableException +// The directory is unavailable. It might be located in another Region or deleted. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * UnsupportedOperationException -// You can't perform a write operation against a read-only directory. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// - UnsupportedOperationException +// You can't perform a write operation against a read-only directory. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteGroup func (c *WorkMail) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error) { @@ -1319,14 +1319,13 @@ const opDeleteMailboxPermissions = "DeleteMailboxPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMailboxPermissionsRequest method. +// req, resp := client.DeleteMailboxPermissionsRequest(params) // -// // Example sending a request using the DeleteMailboxPermissionsRequest method. -// req, resp := client.DeleteMailboxPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMailboxPermissions func (c *WorkMail) DeleteMailboxPermissionsRequest(input *DeleteMailboxPermissionsInput) (req *request.Request, output *DeleteMailboxPermissionsOutput) { @@ -1358,24 +1357,25 @@ func (c *WorkMail) DeleteMailboxPermissionsRequest(input *DeleteMailboxPermissio // API operation DeleteMailboxPermissions for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMailboxPermissions func (c *WorkMail) DeleteMailboxPermissions(input *DeleteMailboxPermissionsInput) (*DeleteMailboxPermissionsOutput, error) { @@ -1415,14 +1415,13 @@ const opDeleteMobileDeviceAccessOverride = "DeleteMobileDeviceAccessOverride" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMobileDeviceAccessOverrideRequest method. +// req, resp := client.DeleteMobileDeviceAccessOverrideRequest(params) // -// // Example sending a request using the DeleteMobileDeviceAccessOverrideRequest method. -// req, resp := client.DeleteMobileDeviceAccessOverrideRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMobileDeviceAccessOverride func (c *WorkMail) DeleteMobileDeviceAccessOverrideRequest(input *DeleteMobileDeviceAccessOverrideInput) (req *request.Request, output *DeleteMobileDeviceAccessOverrideOutput) { @@ -1459,20 +1458,21 @@ func (c *WorkMail) DeleteMobileDeviceAccessOverrideRequest(input *DeleteMobileDe // API operation DeleteMobileDeviceAccessOverride for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMobileDeviceAccessOverride func (c *WorkMail) DeleteMobileDeviceAccessOverride(input *DeleteMobileDeviceAccessOverrideInput) (*DeleteMobileDeviceAccessOverrideOutput, error) { @@ -1512,14 +1512,13 @@ const opDeleteMobileDeviceAccessRule = "DeleteMobileDeviceAccessRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteMobileDeviceAccessRuleRequest method. +// req, resp := client.DeleteMobileDeviceAccessRuleRequest(params) // -// // Example sending a request using the DeleteMobileDeviceAccessRuleRequest method. -// req, resp := client.DeleteMobileDeviceAccessRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMobileDeviceAccessRule func (c *WorkMail) DeleteMobileDeviceAccessRuleRequest(input *DeleteMobileDeviceAccessRuleInput) (req *request.Request, output *DeleteMobileDeviceAccessRuleOutput) { @@ -1555,16 +1554,17 @@ func (c *WorkMail) DeleteMobileDeviceAccessRuleRequest(input *DeleteMobileDevice // API operation DeleteMobileDeviceAccessRule for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMobileDeviceAccessRule func (c *WorkMail) DeleteMobileDeviceAccessRule(input *DeleteMobileDeviceAccessRuleInput) (*DeleteMobileDeviceAccessRuleOutput, error) { @@ -1604,14 +1604,13 @@ const opDeleteOrganization = "DeleteOrganization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteOrganizationRequest method. +// req, resp := client.DeleteOrganizationRequest(params) // -// // Example sending a request using the DeleteOrganizationRequest method. -// req, resp := client.DeleteOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteOrganization func (c *WorkMail) DeleteOrganizationRequest(input *DeleteOrganizationInput) (req *request.Request, output *DeleteOrganizationOutput) { @@ -1646,16 +1645,17 @@ func (c *WorkMail) DeleteOrganizationRequest(input *DeleteOrganizationInput) (re // API operation DeleteOrganization for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteOrganization func (c *WorkMail) DeleteOrganization(input *DeleteOrganizationInput) (*DeleteOrganizationOutput, error) { @@ -1695,14 +1695,13 @@ const opDeleteResource = "DeleteResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteResourceRequest method. +// req, resp := client.DeleteResourceRequest(params) // -// // Example sending a request using the DeleteResourceRequest method. -// req, resp := client.DeleteResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteResource func (c *WorkMail) DeleteResourceRequest(input *DeleteResourceInput) (req *request.Request, output *DeleteResourceOutput) { @@ -1734,20 +1733,21 @@ func (c *WorkMail) DeleteResourceRequest(input *DeleteResourceInput) (req *reque // API operation DeleteResource for usage and error information. // // Returned Error Types: -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. +// +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteResource func (c *WorkMail) DeleteResource(input *DeleteResourceInput) (*DeleteResourceOutput, error) { @@ -1787,14 +1787,13 @@ const opDeleteRetentionPolicy = "DeleteRetentionPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteRetentionPolicyRequest method. +// req, resp := client.DeleteRetentionPolicyRequest(params) // -// // Example sending a request using the DeleteRetentionPolicyRequest method. -// req, resp := client.DeleteRetentionPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteRetentionPolicy func (c *WorkMail) DeleteRetentionPolicyRequest(input *DeleteRetentionPolicyInput) (req *request.Request, output *DeleteRetentionPolicyOutput) { @@ -1826,16 +1825,17 @@ func (c *WorkMail) DeleteRetentionPolicyRequest(input *DeleteRetentionPolicyInpu // API operation DeleteRetentionPolicy for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteRetentionPolicy func (c *WorkMail) DeleteRetentionPolicy(input *DeleteRetentionPolicyInput) (*DeleteRetentionPolicyOutput, error) { @@ -1875,14 +1875,13 @@ const opDeleteUser = "DeleteUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserRequest method. +// req, resp := client.DeleteUserRequest(params) // -// // Example sending a request using the DeleteUserRequest method. -// req, resp := client.DeleteUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteUser func (c *WorkMail) DeleteUserRequest(input *DeleteUserInput) (req *request.Request, output *DeleteUserOutput) { @@ -1919,29 +1918,30 @@ func (c *WorkMail) DeleteUserRequest(input *DeleteUserInput) (req *request.Reque // API operation DeleteUser for usage and error information. // // Returned Error Types: -// * DirectoryServiceAuthenticationFailedException -// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * DirectoryUnavailableException -// The directory is unavailable. It might be located in another Region or deleted. +// - DirectoryServiceAuthenticationFailedException +// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - DirectoryUnavailableException +// The directory is unavailable. It might be located in another Region or deleted. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * UnsupportedOperationException -// You can't perform a write operation against a read-only directory. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// - UnsupportedOperationException +// You can't perform a write operation against a read-only directory. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteUser func (c *WorkMail) DeleteUser(input *DeleteUserInput) (*DeleteUserOutput, error) { @@ -1981,14 +1981,13 @@ const opDeregisterFromWorkMail = "DeregisterFromWorkMail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterFromWorkMailRequest method. +// req, resp := client.DeregisterFromWorkMailRequest(params) // -// // Example sending a request using the DeregisterFromWorkMailRequest method. -// req, resp := client.DeregisterFromWorkMailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeregisterFromWorkMail func (c *WorkMail) DeregisterFromWorkMailRequest(input *DeregisterFromWorkMailInput) (req *request.Request, output *DeregisterFromWorkMailOutput) { @@ -2023,24 +2022,25 @@ func (c *WorkMail) DeregisterFromWorkMailRequest(input *DeregisterFromWorkMailIn // API operation DeregisterFromWorkMail for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeregisterFromWorkMail func (c *WorkMail) DeregisterFromWorkMail(input *DeregisterFromWorkMailInput) (*DeregisterFromWorkMailOutput, error) { @@ -2080,14 +2080,13 @@ const opDeregisterMailDomain = "DeregisterMailDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterMailDomainRequest method. +// req, resp := client.DeregisterMailDomainRequest(params) // -// // Example sending a request using the DeregisterMailDomainRequest method. -// req, resp := client.DeregisterMailDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeregisterMailDomain func (c *WorkMail) DeregisterMailDomainRequest(input *DeregisterMailDomainInput) (req *request.Request, output *DeregisterMailDomainOutput) { @@ -2122,25 +2121,26 @@ func (c *WorkMail) DeregisterMailDomainRequest(input *DeregisterMailDomainInput) // API operation DeregisterMailDomain for usage and error information. // // Returned Error Types: -// * MailDomainInUseException -// The domain you're trying to change is in use by another user or organization -// in your account. See the error message for details. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - MailDomainInUseException +// The domain you're trying to change is in use by another user or organization +// in your account. See the error message for details. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * InvalidCustomSesConfigurationException -// You SES configuration has customizations that Amazon WorkMail cannot save. -// The error message lists the invalid setting. For examples of invalid settings, -// refer to CreateReceiptRule (https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateReceiptRule.html). +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - InvalidCustomSesConfigurationException +// You SES configuration has customizations that Amazon WorkMail cannot save. +// The error message lists the invalid setting. For examples of invalid settings, +// refer to CreateReceiptRule (https://docs.aws.amazon.com/ses/latest/APIReference/API_CreateReceiptRule.html). // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeregisterMailDomain func (c *WorkMail) DeregisterMailDomain(input *DeregisterMailDomainInput) (*DeregisterMailDomainOutput, error) { @@ -2180,14 +2180,13 @@ const opDescribeEmailMonitoringConfiguration = "DescribeEmailMonitoringConfigura // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeEmailMonitoringConfigurationRequest method. +// req, resp := client.DescribeEmailMonitoringConfigurationRequest(params) // -// // Example sending a request using the DescribeEmailMonitoringConfigurationRequest method. -// req, resp := client.DescribeEmailMonitoringConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeEmailMonitoringConfiguration func (c *WorkMail) DescribeEmailMonitoringConfigurationRequest(input *DescribeEmailMonitoringConfigurationInput) (req *request.Request, output *DescribeEmailMonitoringConfigurationOutput) { @@ -2218,19 +2217,20 @@ func (c *WorkMail) DescribeEmailMonitoringConfigurationRequest(input *DescribeEm // API operation DescribeEmailMonitoringConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource cannot be found. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - ResourceNotFoundException +// The resource cannot be found. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeEmailMonitoringConfiguration func (c *WorkMail) DescribeEmailMonitoringConfiguration(input *DescribeEmailMonitoringConfigurationInput) (*DescribeEmailMonitoringConfigurationOutput, error) { @@ -2270,14 +2270,13 @@ const opDescribeGroup = "DescribeGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeGroupRequest method. +// req, resp := client.DescribeGroupRequest(params) // -// // Example sending a request using the DescribeGroupRequest method. -// req, resp := client.DescribeGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeGroup func (c *WorkMail) DescribeGroupRequest(input *DescribeGroupInput) (req *request.Request, output *DescribeGroupOutput) { @@ -2308,20 +2307,21 @@ func (c *WorkMail) DescribeGroupRequest(input *DescribeGroupInput) (req *request // API operation DescribeGroup for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. +// +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeGroup func (c *WorkMail) DescribeGroup(input *DescribeGroupInput) (*DescribeGroupOutput, error) { @@ -2361,14 +2361,13 @@ const opDescribeInboundDmarcSettings = "DescribeInboundDmarcSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeInboundDmarcSettingsRequest method. +// req, resp := client.DescribeInboundDmarcSettingsRequest(params) // -// // Example sending a request using the DescribeInboundDmarcSettingsRequest method. -// req, resp := client.DescribeInboundDmarcSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeInboundDmarcSettings func (c *WorkMail) DescribeInboundDmarcSettingsRequest(input *DescribeInboundDmarcSettingsInput) (req *request.Request, output *DescribeInboundDmarcSettingsOutput) { @@ -2399,13 +2398,14 @@ func (c *WorkMail) DescribeInboundDmarcSettingsRequest(input *DescribeInboundDma // API operation DescribeInboundDmarcSettings for usage and error information. // // Returned Error Types: -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeInboundDmarcSettings func (c *WorkMail) DescribeInboundDmarcSettings(input *DescribeInboundDmarcSettingsInput) (*DescribeInboundDmarcSettingsOutput, error) { @@ -2445,14 +2445,13 @@ const opDescribeMailboxExportJob = "DescribeMailboxExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeMailboxExportJobRequest method. +// req, resp := client.DescribeMailboxExportJobRequest(params) // -// // Example sending a request using the DescribeMailboxExportJobRequest method. -// req, resp := client.DescribeMailboxExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeMailboxExportJob func (c *WorkMail) DescribeMailboxExportJobRequest(input *DescribeMailboxExportJobInput) (req *request.Request, output *DescribeMailboxExportJobOutput) { @@ -2483,20 +2482,21 @@ func (c *WorkMail) DescribeMailboxExportJobRequest(input *DescribeMailboxExportJ // API operation DescribeMailboxExportJob for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeMailboxExportJob func (c *WorkMail) DescribeMailboxExportJob(input *DescribeMailboxExportJobInput) (*DescribeMailboxExportJobOutput, error) { @@ -2536,14 +2536,13 @@ const opDescribeOrganization = "DescribeOrganization" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeOrganizationRequest method. +// req, resp := client.DescribeOrganizationRequest(params) // -// // Example sending a request using the DescribeOrganizationRequest method. -// req, resp := client.DescribeOrganizationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeOrganization func (c *WorkMail) DescribeOrganizationRequest(input *DescribeOrganizationInput) (req *request.Request, output *DescribeOrganizationOutput) { @@ -2574,12 +2573,13 @@ func (c *WorkMail) DescribeOrganizationRequest(input *DescribeOrganizationInput) // API operation DescribeOrganization for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeOrganization func (c *WorkMail) DescribeOrganization(input *DescribeOrganizationInput) (*DescribeOrganizationOutput, error) { @@ -2619,14 +2619,13 @@ const opDescribeResource = "DescribeResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeResourceRequest method. +// req, resp := client.DescribeResourceRequest(params) // -// // Example sending a request using the DescribeResourceRequest method. -// req, resp := client.DescribeResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeResource func (c *WorkMail) DescribeResourceRequest(input *DescribeResourceInput) (req *request.Request, output *DescribeResourceOutput) { @@ -2657,20 +2656,21 @@ func (c *WorkMail) DescribeResourceRequest(input *DescribeResourceInput) (req *r // API operation DescribeResource for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. +// +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeResource func (c *WorkMail) DescribeResource(input *DescribeResourceInput) (*DescribeResourceOutput, error) { @@ -2710,14 +2710,13 @@ const opDescribeUser = "DescribeUser" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeUserRequest method. +// req, resp := client.DescribeUserRequest(params) // -// // Example sending a request using the DescribeUserRequest method. -// req, resp := client.DescribeUserRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeUser func (c *WorkMail) DescribeUserRequest(input *DescribeUserInput) (req *request.Request, output *DescribeUserOutput) { @@ -2748,20 +2747,21 @@ func (c *WorkMail) DescribeUserRequest(input *DescribeUserInput) (req *request.R // API operation DescribeUser for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DescribeUser func (c *WorkMail) DescribeUser(input *DescribeUserInput) (*DescribeUserOutput, error) { @@ -2801,14 +2801,13 @@ const opDisassociateDelegateFromResource = "DisassociateDelegateFromResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateDelegateFromResourceRequest method. +// req, resp := client.DisassociateDelegateFromResourceRequest(params) // -// // Example sending a request using the DisassociateDelegateFromResourceRequest method. -// req, resp := client.DisassociateDelegateFromResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DisassociateDelegateFromResource func (c *WorkMail) DisassociateDelegateFromResourceRequest(input *DisassociateDelegateFromResourceInput) (req *request.Request, output *DisassociateDelegateFromResourceOutput) { @@ -2840,24 +2839,25 @@ func (c *WorkMail) DisassociateDelegateFromResourceRequest(input *DisassociateDe // API operation DisassociateDelegateFromResource for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DisassociateDelegateFromResource func (c *WorkMail) DisassociateDelegateFromResource(input *DisassociateDelegateFromResourceInput) (*DisassociateDelegateFromResourceOutput, error) { @@ -2897,14 +2897,13 @@ const opDisassociateMemberFromGroup = "DisassociateMemberFromGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateMemberFromGroupRequest method. +// req, resp := client.DisassociateMemberFromGroupRequest(params) // -// // Example sending a request using the DisassociateMemberFromGroupRequest method. -// req, resp := client.DisassociateMemberFromGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DisassociateMemberFromGroup func (c *WorkMail) DisassociateMemberFromGroupRequest(input *DisassociateMemberFromGroupInput) (req *request.Request, output *DisassociateMemberFromGroupOutput) { @@ -2936,33 +2935,34 @@ func (c *WorkMail) DisassociateMemberFromGroupRequest(input *DisassociateMemberF // API operation DisassociateMemberFromGroup for usage and error information. // // Returned Error Types: -// * DirectoryServiceAuthenticationFailedException -// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * DirectoryUnavailableException -// The directory is unavailable. It might be located in another Region or deleted. +// - DirectoryServiceAuthenticationFailedException +// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - DirectoryUnavailableException +// The directory is unavailable. It might be located in another Region or deleted. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * UnsupportedOperationException -// You can't perform a write operation against a read-only directory. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// - UnsupportedOperationException +// You can't perform a write operation against a read-only directory. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DisassociateMemberFromGroup func (c *WorkMail) DisassociateMemberFromGroup(input *DisassociateMemberFromGroupInput) (*DisassociateMemberFromGroupOutput, error) { @@ -3002,14 +3002,13 @@ const opGetAccessControlEffect = "GetAccessControlEffect" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetAccessControlEffectRequest method. +// req, resp := client.GetAccessControlEffectRequest(params) // -// // Example sending a request using the GetAccessControlEffectRequest method. -// req, resp := client.GetAccessControlEffectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetAccessControlEffect func (c *WorkMail) GetAccessControlEffectRequest(input *GetAccessControlEffectInput) (req *request.Request, output *GetAccessControlEffectOutput) { @@ -3041,20 +3040,21 @@ func (c *WorkMail) GetAccessControlEffectRequest(input *GetAccessControlEffectIn // API operation GetAccessControlEffect for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetAccessControlEffect func (c *WorkMail) GetAccessControlEffect(input *GetAccessControlEffectInput) (*GetAccessControlEffectOutput, error) { @@ -3094,14 +3094,13 @@ const opGetDefaultRetentionPolicy = "GetDefaultRetentionPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetDefaultRetentionPolicyRequest method. +// req, resp := client.GetDefaultRetentionPolicyRequest(params) // -// // Example sending a request using the GetDefaultRetentionPolicyRequest method. -// req, resp := client.GetDefaultRetentionPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetDefaultRetentionPolicy func (c *WorkMail) GetDefaultRetentionPolicyRequest(input *GetDefaultRetentionPolicyInput) (req *request.Request, output *GetDefaultRetentionPolicyOutput) { @@ -3132,20 +3131,21 @@ func (c *WorkMail) GetDefaultRetentionPolicyRequest(input *GetDefaultRetentionPo // API operation GetDefaultRetentionPolicy for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetDefaultRetentionPolicy func (c *WorkMail) GetDefaultRetentionPolicy(input *GetDefaultRetentionPolicyInput) (*GetDefaultRetentionPolicyOutput, error) { @@ -3185,14 +3185,13 @@ const opGetMailDomain = "GetMailDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMailDomainRequest method. +// req, resp := client.GetMailDomainRequest(params) // -// // Example sending a request using the GetMailDomainRequest method. -// req, resp := client.GetMailDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMailDomain func (c *WorkMail) GetMailDomainRequest(input *GetMailDomainInput) (req *request.Request, output *GetMailDomainOutput) { @@ -3224,19 +3223,20 @@ func (c *WorkMail) GetMailDomainRequest(input *GetMailDomainInput) (req *request // API operation GetMailDomain for usage and error information. // // Returned Error Types: -// * MailDomainNotFoundException -// The domain specified is not found in your organization. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - MailDomainNotFoundException +// The domain specified is not found in your organization. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMailDomain func (c *WorkMail) GetMailDomain(input *GetMailDomainInput) (*GetMailDomainOutput, error) { @@ -3276,14 +3276,13 @@ const opGetMailboxDetails = "GetMailboxDetails" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMailboxDetailsRequest method. +// req, resp := client.GetMailboxDetailsRequest(params) // -// // Example sending a request using the GetMailboxDetailsRequest method. -// req, resp := client.GetMailboxDetailsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMailboxDetails func (c *WorkMail) GetMailboxDetailsRequest(input *GetMailboxDetailsInput) (req *request.Request, output *GetMailboxDetailsOutput) { @@ -3314,17 +3313,18 @@ func (c *WorkMail) GetMailboxDetailsRequest(input *GetMailboxDetailsInput) (req // API operation GetMailboxDetails for usage and error information. // // Returned Error Types: -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMailboxDetails func (c *WorkMail) GetMailboxDetails(input *GetMailboxDetailsInput) (*GetMailboxDetailsOutput, error) { @@ -3364,14 +3364,13 @@ const opGetMobileDeviceAccessEffect = "GetMobileDeviceAccessEffect" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMobileDeviceAccessEffectRequest method. +// req, resp := client.GetMobileDeviceAccessEffectRequest(params) // -// // Example sending a request using the GetMobileDeviceAccessEffectRequest method. -// req, resp := client.GetMobileDeviceAccessEffectRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMobileDeviceAccessEffect func (c *WorkMail) GetMobileDeviceAccessEffectRequest(input *GetMobileDeviceAccessEffectInput) (req *request.Request, output *GetMobileDeviceAccessEffectOutput) { @@ -3405,16 +3404,17 @@ func (c *WorkMail) GetMobileDeviceAccessEffectRequest(input *GetMobileDeviceAcce // API operation GetMobileDeviceAccessEffect for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMobileDeviceAccessEffect func (c *WorkMail) GetMobileDeviceAccessEffect(input *GetMobileDeviceAccessEffectInput) (*GetMobileDeviceAccessEffectOutput, error) { @@ -3454,14 +3454,13 @@ const opGetMobileDeviceAccessOverride = "GetMobileDeviceAccessOverride" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetMobileDeviceAccessOverrideRequest method. +// req, resp := client.GetMobileDeviceAccessOverrideRequest(params) // -// // Example sending a request using the GetMobileDeviceAccessOverrideRequest method. -// req, resp := client.GetMobileDeviceAccessOverrideRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMobileDeviceAccessOverride func (c *WorkMail) GetMobileDeviceAccessOverrideRequest(input *GetMobileDeviceAccessOverrideInput) (req *request.Request, output *GetMobileDeviceAccessOverrideOutput) { @@ -3493,23 +3492,24 @@ func (c *WorkMail) GetMobileDeviceAccessOverrideRequest(input *GetMobileDeviceAc // API operation GetMobileDeviceAccessOverride for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * ResourceNotFoundException -// The resource cannot be found. +// - ResourceNotFoundException +// The resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMobileDeviceAccessOverride func (c *WorkMail) GetMobileDeviceAccessOverride(input *GetMobileDeviceAccessOverrideInput) (*GetMobileDeviceAccessOverrideOutput, error) { @@ -3549,14 +3549,13 @@ const opListAccessControlRules = "ListAccessControlRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAccessControlRulesRequest method. +// req, resp := client.ListAccessControlRulesRequest(params) // -// // Example sending a request using the ListAccessControlRulesRequest method. -// req, resp := client.ListAccessControlRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListAccessControlRules func (c *WorkMail) ListAccessControlRulesRequest(input *ListAccessControlRulesInput) (req *request.Request, output *ListAccessControlRulesOutput) { @@ -3587,13 +3586,14 @@ func (c *WorkMail) ListAccessControlRulesRequest(input *ListAccessControlRulesIn // API operation ListAccessControlRules for usage and error information. // // Returned Error Types: -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListAccessControlRules func (c *WorkMail) ListAccessControlRules(input *ListAccessControlRulesInput) (*ListAccessControlRulesOutput, error) { @@ -3633,14 +3633,13 @@ const opListAliases = "ListAliases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAliasesRequest method. +// req, resp := client.ListAliasesRequest(params) // -// // Example sending a request using the ListAliasesRequest method. -// req, resp := client.ListAliasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListAliases func (c *WorkMail) ListAliasesRequest(input *ListAliasesInput) (req *request.Request, output *ListAliasesOutput) { @@ -3677,24 +3676,25 @@ func (c *WorkMail) ListAliasesRequest(input *ListAliasesInput) (req *request.Req // API operation ListAliases for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListAliases func (c *WorkMail) ListAliases(input *ListAliasesInput) (*ListAliasesOutput, error) { @@ -3726,15 +3726,14 @@ func (c *WorkMail) ListAliasesWithContext(ctx aws.Context, input *ListAliasesInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListAliases operation. -// pageNum := 0 -// err := client.ListAliasesPages(params, -// func(page *workmail.ListAliasesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListAliases operation. +// pageNum := 0 +// err := client.ListAliasesPages(params, +// func(page *workmail.ListAliasesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkMail) ListAliasesPages(input *ListAliasesInput, fn func(*ListAliasesOutput, bool) bool) error { return c.ListAliasesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3786,14 +3785,13 @@ const opListGroupMembers = "ListGroupMembers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroupMembersRequest method. +// req, resp := client.ListGroupMembersRequest(params) // -// // Example sending a request using the ListGroupMembersRequest method. -// req, resp := client.ListGroupMembersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListGroupMembers func (c *WorkMail) ListGroupMembersRequest(input *ListGroupMembersInput) (req *request.Request, output *ListGroupMembersOutput) { @@ -3831,24 +3829,25 @@ func (c *WorkMail) ListGroupMembersRequest(input *ListGroupMembersInput) (req *r // API operation ListGroupMembers for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. +// +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListGroupMembers func (c *WorkMail) ListGroupMembers(input *ListGroupMembersInput) (*ListGroupMembersOutput, error) { @@ -3880,15 +3879,14 @@ func (c *WorkMail) ListGroupMembersWithContext(ctx aws.Context, input *ListGroup // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGroupMembers operation. -// pageNum := 0 -// err := client.ListGroupMembersPages(params, -// func(page *workmail.ListGroupMembersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGroupMembers operation. +// pageNum := 0 +// err := client.ListGroupMembersPages(params, +// func(page *workmail.ListGroupMembersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkMail) ListGroupMembersPages(input *ListGroupMembersInput, fn func(*ListGroupMembersOutput, bool) bool) error { return c.ListGroupMembersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3940,14 +3938,13 @@ const opListGroups = "ListGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListGroupsRequest method. +// req, resp := client.ListGroupsRequest(params) // -// // Example sending a request using the ListGroupsRequest method. -// req, resp := client.ListGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListGroups func (c *WorkMail) ListGroupsRequest(input *ListGroupsInput) (req *request.Request, output *ListGroupsOutput) { @@ -3984,20 +3981,21 @@ func (c *WorkMail) ListGroupsRequest(input *ListGroupsInput) (req *request.Reque // API operation ListGroups for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. +// +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListGroups func (c *WorkMail) ListGroups(input *ListGroupsInput) (*ListGroupsOutput, error) { @@ -4029,15 +4027,14 @@ func (c *WorkMail) ListGroupsWithContext(ctx aws.Context, input *ListGroupsInput // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListGroups operation. -// pageNum := 0 -// err := client.ListGroupsPages(params, -// func(page *workmail.ListGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListGroups operation. +// pageNum := 0 +// err := client.ListGroupsPages(params, +// func(page *workmail.ListGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkMail) ListGroupsPages(input *ListGroupsInput, fn func(*ListGroupsOutput, bool) bool) error { return c.ListGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4089,14 +4086,13 @@ const opListMailDomains = "ListMailDomains" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMailDomainsRequest method. +// req, resp := client.ListMailDomainsRequest(params) // -// // Example sending a request using the ListMailDomainsRequest method. -// req, resp := client.ListMailDomainsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailDomains func (c *WorkMail) ListMailDomainsRequest(input *ListMailDomainsInput) (req *request.Request, output *ListMailDomainsOutput) { @@ -4133,16 +4129,17 @@ func (c *WorkMail) ListMailDomainsRequest(input *ListMailDomainsInput) (req *req // API operation ListMailDomains for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailDomains func (c *WorkMail) ListMailDomains(input *ListMailDomainsInput) (*ListMailDomainsOutput, error) { @@ -4174,15 +4171,14 @@ func (c *WorkMail) ListMailDomainsWithContext(ctx aws.Context, input *ListMailDo // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMailDomains operation. -// pageNum := 0 -// err := client.ListMailDomainsPages(params, -// func(page *workmail.ListMailDomainsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMailDomains operation. +// pageNum := 0 +// err := client.ListMailDomainsPages(params, +// func(page *workmail.ListMailDomainsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkMail) ListMailDomainsPages(input *ListMailDomainsInput, fn func(*ListMailDomainsOutput, bool) bool) error { return c.ListMailDomainsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4234,14 +4230,13 @@ const opListMailboxExportJobs = "ListMailboxExportJobs" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMailboxExportJobsRequest method. +// req, resp := client.ListMailboxExportJobsRequest(params) // -// // Example sending a request using the ListMailboxExportJobsRequest method. -// req, resp := client.ListMailboxExportJobsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailboxExportJobs func (c *WorkMail) ListMailboxExportJobsRequest(input *ListMailboxExportJobsInput) (req *request.Request, output *ListMailboxExportJobsOutput) { @@ -4279,16 +4274,17 @@ func (c *WorkMail) ListMailboxExportJobsRequest(input *ListMailboxExportJobsInpu // API operation ListMailboxExportJobs for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailboxExportJobs func (c *WorkMail) ListMailboxExportJobs(input *ListMailboxExportJobsInput) (*ListMailboxExportJobsOutput, error) { @@ -4320,15 +4316,14 @@ func (c *WorkMail) ListMailboxExportJobsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMailboxExportJobs operation. -// pageNum := 0 -// err := client.ListMailboxExportJobsPages(params, -// func(page *workmail.ListMailboxExportJobsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMailboxExportJobs operation. +// pageNum := 0 +// err := client.ListMailboxExportJobsPages(params, +// func(page *workmail.ListMailboxExportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkMail) ListMailboxExportJobsPages(input *ListMailboxExportJobsInput, fn func(*ListMailboxExportJobsOutput, bool) bool) error { return c.ListMailboxExportJobsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4380,14 +4375,13 @@ const opListMailboxPermissions = "ListMailboxPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMailboxPermissionsRequest method. +// req, resp := client.ListMailboxPermissionsRequest(params) // -// // Example sending a request using the ListMailboxPermissionsRequest method. -// req, resp := client.ListMailboxPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailboxPermissions func (c *WorkMail) ListMailboxPermissionsRequest(input *ListMailboxPermissionsInput) (req *request.Request, output *ListMailboxPermissionsOutput) { @@ -4425,20 +4419,21 @@ func (c *WorkMail) ListMailboxPermissionsRequest(input *ListMailboxPermissionsIn // API operation ListMailboxPermissions for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. +// +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMailboxPermissions func (c *WorkMail) ListMailboxPermissions(input *ListMailboxPermissionsInput) (*ListMailboxPermissionsOutput, error) { @@ -4470,15 +4465,14 @@ func (c *WorkMail) ListMailboxPermissionsWithContext(ctx aws.Context, input *Lis // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMailboxPermissions operation. -// pageNum := 0 -// err := client.ListMailboxPermissionsPages(params, -// func(page *workmail.ListMailboxPermissionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMailboxPermissions operation. +// pageNum := 0 +// err := client.ListMailboxPermissionsPages(params, +// func(page *workmail.ListMailboxPermissionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkMail) ListMailboxPermissionsPages(input *ListMailboxPermissionsInput, fn func(*ListMailboxPermissionsOutput, bool) bool) error { return c.ListMailboxPermissionsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4530,14 +4524,13 @@ const opListMobileDeviceAccessOverrides = "ListMobileDeviceAccessOverrides" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMobileDeviceAccessOverridesRequest method. +// req, resp := client.ListMobileDeviceAccessOverridesRequest(params) // -// // Example sending a request using the ListMobileDeviceAccessOverridesRequest method. -// req, resp := client.ListMobileDeviceAccessOverridesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMobileDeviceAccessOverrides func (c *WorkMail) ListMobileDeviceAccessOverridesRequest(input *ListMobileDeviceAccessOverridesInput) (req *request.Request, output *ListMobileDeviceAccessOverridesOutput) { @@ -4575,20 +4568,21 @@ func (c *WorkMail) ListMobileDeviceAccessOverridesRequest(input *ListMobileDevic // API operation ListMobileDeviceAccessOverrides for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMobileDeviceAccessOverrides func (c *WorkMail) ListMobileDeviceAccessOverrides(input *ListMobileDeviceAccessOverridesInput) (*ListMobileDeviceAccessOverridesOutput, error) { @@ -4620,15 +4614,14 @@ func (c *WorkMail) ListMobileDeviceAccessOverridesWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListMobileDeviceAccessOverrides operation. -// pageNum := 0 -// err := client.ListMobileDeviceAccessOverridesPages(params, -// func(page *workmail.ListMobileDeviceAccessOverridesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListMobileDeviceAccessOverrides operation. +// pageNum := 0 +// err := client.ListMobileDeviceAccessOverridesPages(params, +// func(page *workmail.ListMobileDeviceAccessOverridesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkMail) ListMobileDeviceAccessOverridesPages(input *ListMobileDeviceAccessOverridesInput, fn func(*ListMobileDeviceAccessOverridesOutput, bool) bool) error { return c.ListMobileDeviceAccessOverridesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4680,14 +4673,13 @@ const opListMobileDeviceAccessRules = "ListMobileDeviceAccessRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListMobileDeviceAccessRulesRequest method. +// req, resp := client.ListMobileDeviceAccessRulesRequest(params) // -// // Example sending a request using the ListMobileDeviceAccessRulesRequest method. -// req, resp := client.ListMobileDeviceAccessRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMobileDeviceAccessRules func (c *WorkMail) ListMobileDeviceAccessRulesRequest(input *ListMobileDeviceAccessRulesInput) (req *request.Request, output *ListMobileDeviceAccessRulesOutput) { @@ -4718,16 +4710,17 @@ func (c *WorkMail) ListMobileDeviceAccessRulesRequest(input *ListMobileDeviceAcc // API operation ListMobileDeviceAccessRules for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMobileDeviceAccessRules func (c *WorkMail) ListMobileDeviceAccessRules(input *ListMobileDeviceAccessRulesInput) (*ListMobileDeviceAccessRulesOutput, error) { @@ -4767,14 +4760,13 @@ const opListOrganizations = "ListOrganizations" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListOrganizationsRequest method. +// req, resp := client.ListOrganizationsRequest(params) // -// // Example sending a request using the ListOrganizationsRequest method. -// req, resp := client.ListOrganizationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListOrganizations func (c *WorkMail) ListOrganizationsRequest(input *ListOrganizationsInput) (req *request.Request, output *ListOrganizationsOutput) { @@ -4811,8 +4803,8 @@ func (c *WorkMail) ListOrganizationsRequest(input *ListOrganizationsInput) (req // API operation ListOrganizations for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListOrganizations func (c *WorkMail) ListOrganizations(input *ListOrganizationsInput) (*ListOrganizationsOutput, error) { @@ -4844,15 +4836,14 @@ func (c *WorkMail) ListOrganizationsWithContext(ctx aws.Context, input *ListOrga // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListOrganizations operation. -// pageNum := 0 -// err := client.ListOrganizationsPages(params, -// func(page *workmail.ListOrganizationsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListOrganizations operation. +// pageNum := 0 +// err := client.ListOrganizationsPages(params, +// func(page *workmail.ListOrganizationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkMail) ListOrganizationsPages(input *ListOrganizationsInput, fn func(*ListOrganizationsOutput, bool) bool) error { return c.ListOrganizationsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -4904,14 +4895,13 @@ const opListResourceDelegates = "ListResourceDelegates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourceDelegatesRequest method. +// req, resp := client.ListResourceDelegatesRequest(params) // -// // Example sending a request using the ListResourceDelegatesRequest method. -// req, resp := client.ListResourceDelegatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListResourceDelegates func (c *WorkMail) ListResourceDelegatesRequest(input *ListResourceDelegatesInput) (req *request.Request, output *ListResourceDelegatesOutput) { @@ -4949,24 +4939,25 @@ func (c *WorkMail) ListResourceDelegatesRequest(input *ListResourceDelegatesInpu // API operation ListResourceDelegates for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListResourceDelegates func (c *WorkMail) ListResourceDelegates(input *ListResourceDelegatesInput) (*ListResourceDelegatesOutput, error) { @@ -4998,15 +4989,14 @@ func (c *WorkMail) ListResourceDelegatesWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResourceDelegates operation. -// pageNum := 0 -// err := client.ListResourceDelegatesPages(params, -// func(page *workmail.ListResourceDelegatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResourceDelegates operation. +// pageNum := 0 +// err := client.ListResourceDelegatesPages(params, +// func(page *workmail.ListResourceDelegatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkMail) ListResourceDelegatesPages(input *ListResourceDelegatesInput, fn func(*ListResourceDelegatesOutput, bool) bool) error { return c.ListResourceDelegatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5058,14 +5048,13 @@ const opListResources = "ListResources" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListResourcesRequest method. +// req, resp := client.ListResourcesRequest(params) // -// // Example sending a request using the ListResourcesRequest method. -// req, resp := client.ListResourcesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListResources func (c *WorkMail) ListResourcesRequest(input *ListResourcesInput) (req *request.Request, output *ListResourcesOutput) { @@ -5102,16 +5091,17 @@ func (c *WorkMail) ListResourcesRequest(input *ListResourcesInput) (req *request // API operation ListResources for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListResources func (c *WorkMail) ListResources(input *ListResourcesInput) (*ListResourcesOutput, error) { @@ -5143,15 +5133,14 @@ func (c *WorkMail) ListResourcesWithContext(ctx aws.Context, input *ListResource // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListResources operation. -// pageNum := 0 -// err := client.ListResourcesPages(params, -// func(page *workmail.ListResourcesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListResources operation. +// pageNum := 0 +// err := client.ListResourcesPages(params, +// func(page *workmail.ListResourcesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkMail) ListResourcesPages(input *ListResourcesInput, fn func(*ListResourcesOutput, bool) bool) error { return c.ListResourcesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5203,14 +5192,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListTagsForResource func (c *WorkMail) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -5241,8 +5229,8 @@ func (c *WorkMail) ListTagsForResourceRequest(input *ListTagsForResourceInput) ( // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource cannot be found. +// - ResourceNotFoundException +// The resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListTagsForResource func (c *WorkMail) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -5282,14 +5270,13 @@ const opListUsers = "ListUsers" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUsersRequest method. +// req, resp := client.ListUsersRequest(params) // -// // Example sending a request using the ListUsersRequest method. -// req, resp := client.ListUsersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListUsers func (c *WorkMail) ListUsersRequest(input *ListUsersInput) (req *request.Request, output *ListUsersOutput) { @@ -5326,16 +5313,17 @@ func (c *WorkMail) ListUsersRequest(input *ListUsersInput) (req *request.Request // API operation ListUsers for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListUsers func (c *WorkMail) ListUsers(input *ListUsersInput) (*ListUsersOutput, error) { @@ -5367,15 +5355,14 @@ func (c *WorkMail) ListUsersWithContext(ctx aws.Context, input *ListUsersInput, // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUsers operation. -// pageNum := 0 -// err := client.ListUsersPages(params, -// func(page *workmail.ListUsersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUsers operation. +// pageNum := 0 +// err := client.ListUsersPages(params, +// func(page *workmail.ListUsersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkMail) ListUsersPages(input *ListUsersInput, fn func(*ListUsersOutput, bool) bool) error { return c.ListUsersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -5427,14 +5414,13 @@ const opPutAccessControlRule = "PutAccessControlRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutAccessControlRuleRequest method. +// req, resp := client.PutAccessControlRuleRequest(params) // -// // Example sending a request using the PutAccessControlRuleRequest method. -// req, resp := client.PutAccessControlRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutAccessControlRule func (c *WorkMail) PutAccessControlRuleRequest(input *PutAccessControlRuleInput) (req *request.Request, output *PutAccessControlRuleOutput) { @@ -5469,23 +5455,24 @@ func (c *WorkMail) PutAccessControlRuleRequest(input *PutAccessControlRuleInput) // API operation PutAccessControlRule for usage and error information. // // Returned Error Types: -// * LimitExceededException -// The request exceeds the limit of the resource. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - LimitExceededException +// The request exceeds the limit of the resource. +// +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutAccessControlRule func (c *WorkMail) PutAccessControlRule(input *PutAccessControlRuleInput) (*PutAccessControlRuleOutput, error) { @@ -5525,14 +5512,13 @@ const opPutEmailMonitoringConfiguration = "PutEmailMonitoringConfiguration" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEmailMonitoringConfigurationRequest method. +// req, resp := client.PutEmailMonitoringConfigurationRequest(params) // -// // Example sending a request using the PutEmailMonitoringConfigurationRequest method. -// req, resp := client.PutEmailMonitoringConfigurationRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutEmailMonitoringConfiguration func (c *WorkMail) PutEmailMonitoringConfigurationRequest(input *PutEmailMonitoringConfigurationInput) (req *request.Request, output *PutEmailMonitoringConfigurationOutput) { @@ -5564,19 +5550,20 @@ func (c *WorkMail) PutEmailMonitoringConfigurationRequest(input *PutEmailMonitor // API operation PutEmailMonitoringConfiguration for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource cannot be found. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - ResourceNotFoundException +// The resource cannot be found. +// +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutEmailMonitoringConfiguration func (c *WorkMail) PutEmailMonitoringConfiguration(input *PutEmailMonitoringConfigurationInput) (*PutEmailMonitoringConfigurationOutput, error) { @@ -5616,14 +5603,13 @@ const opPutInboundDmarcSettings = "PutInboundDmarcSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutInboundDmarcSettingsRequest method. +// req, resp := client.PutInboundDmarcSettingsRequest(params) // -// // Example sending a request using the PutInboundDmarcSettingsRequest method. -// req, resp := client.PutInboundDmarcSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutInboundDmarcSettings func (c *WorkMail) PutInboundDmarcSettingsRequest(input *PutInboundDmarcSettingsInput) (req *request.Request, output *PutInboundDmarcSettingsOutput) { @@ -5655,13 +5641,14 @@ func (c *WorkMail) PutInboundDmarcSettingsRequest(input *PutInboundDmarcSettings // API operation PutInboundDmarcSettings for usage and error information. // // Returned Error Types: -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutInboundDmarcSettings func (c *WorkMail) PutInboundDmarcSettings(input *PutInboundDmarcSettingsInput) (*PutInboundDmarcSettingsOutput, error) { @@ -5701,14 +5688,13 @@ const opPutMailboxPermissions = "PutMailboxPermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutMailboxPermissionsRequest method. +// req, resp := client.PutMailboxPermissionsRequest(params) // -// // Example sending a request using the PutMailboxPermissionsRequest method. -// req, resp := client.PutMailboxPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutMailboxPermissions func (c *WorkMail) PutMailboxPermissionsRequest(input *PutMailboxPermissionsInput) (req *request.Request, output *PutMailboxPermissionsOutput) { @@ -5741,24 +5727,25 @@ func (c *WorkMail) PutMailboxPermissionsRequest(input *PutMailboxPermissionsInpu // API operation PutMailboxPermissions for usage and error information. // // Returned Error Types: -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. +// +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutMailboxPermissions func (c *WorkMail) PutMailboxPermissions(input *PutMailboxPermissionsInput) (*PutMailboxPermissionsOutput, error) { @@ -5798,14 +5785,13 @@ const opPutMobileDeviceAccessOverride = "PutMobileDeviceAccessOverride" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutMobileDeviceAccessOverrideRequest method. +// req, resp := client.PutMobileDeviceAccessOverrideRequest(params) // -// // Example sending a request using the PutMobileDeviceAccessOverrideRequest method. -// req, resp := client.PutMobileDeviceAccessOverrideRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutMobileDeviceAccessOverride func (c *WorkMail) PutMobileDeviceAccessOverrideRequest(input *PutMobileDeviceAccessOverrideInput) (req *request.Request, output *PutMobileDeviceAccessOverrideOutput) { @@ -5838,24 +5824,25 @@ func (c *WorkMail) PutMobileDeviceAccessOverrideRequest(input *PutMobileDeviceAc // API operation PutMobileDeviceAccessOverride for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. +// +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutMobileDeviceAccessOverride func (c *WorkMail) PutMobileDeviceAccessOverride(input *PutMobileDeviceAccessOverrideInput) (*PutMobileDeviceAccessOverrideOutput, error) { @@ -5895,14 +5882,13 @@ const opPutRetentionPolicy = "PutRetentionPolicy" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRetentionPolicyRequest method. +// req, resp := client.PutRetentionPolicyRequest(params) // -// // Example sending a request using the PutRetentionPolicyRequest method. -// req, resp := client.PutRetentionPolicyRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutRetentionPolicy func (c *WorkMail) PutRetentionPolicyRequest(input *PutRetentionPolicyInput) (req *request.Request, output *PutRetentionPolicyOutput) { @@ -5934,19 +5920,20 @@ func (c *WorkMail) PutRetentionPolicyRequest(input *PutRetentionPolicyInput) (re // API operation PutRetentionPolicy for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * LimitExceededException -// The request exceeds the limit of the resource. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// - LimitExceededException +// The request exceeds the limit of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutRetentionPolicy func (c *WorkMail) PutRetentionPolicy(input *PutRetentionPolicyInput) (*PutRetentionPolicyOutput, error) { @@ -5986,14 +5973,13 @@ const opRegisterMailDomain = "RegisterMailDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterMailDomainRequest method. +// req, resp := client.RegisterMailDomainRequest(params) // -// // Example sending a request using the RegisterMailDomainRequest method. -// req, resp := client.RegisterMailDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/RegisterMailDomain func (c *WorkMail) RegisterMailDomainRequest(input *RegisterMailDomainInput) (req *request.Request, output *RegisterMailDomainOutput) { @@ -6028,23 +6014,24 @@ func (c *WorkMail) RegisterMailDomainRequest(input *RegisterMailDomainInput) (re // API operation RegisterMailDomain for usage and error information. // // Returned Error Types: -// * MailDomainInUseException -// The domain you're trying to change is in use by another user or organization -// in your account. See the error message for details. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - MailDomainInUseException +// The domain you're trying to change is in use by another user or organization +// in your account. See the error message for details. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * LimitExceededException -// The request exceeds the limit of the resource. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - LimitExceededException +// The request exceeds the limit of the resource. +// +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/RegisterMailDomain func (c *WorkMail) RegisterMailDomain(input *RegisterMailDomainInput) (*RegisterMailDomainOutput, error) { @@ -6084,14 +6071,13 @@ const opRegisterToWorkMail = "RegisterToWorkMail" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterToWorkMailRequest method. +// req, resp := client.RegisterToWorkMailRequest(params) // -// // Example sending a request using the RegisterToWorkMailRequest method. -// req, resp := client.RegisterToWorkMailRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/RegisterToWorkMail func (c *WorkMail) RegisterToWorkMailRequest(input *RegisterToWorkMailInput) (req *request.Request, output *RegisterToWorkMailOutput) { @@ -6131,44 +6117,45 @@ func (c *WorkMail) RegisterToWorkMailRequest(input *RegisterToWorkMailInput) (re // API operation RegisterToWorkMail for usage and error information. // // Returned Error Types: -// * DirectoryServiceAuthenticationFailedException -// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * DirectoryUnavailableException -// The directory is unavailable. It might be located in another Region or deleted. +// - DirectoryServiceAuthenticationFailedException +// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * EmailAddressInUseException -// The email address that you're trying to assign is already created for a different -// user, group, or resource. +// - DirectoryUnavailableException +// The directory is unavailable. It might be located in another Region or deleted. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - EmailAddressInUseException +// The email address that you're trying to assign is already created for a different +// user, group, or resource. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * EntityAlreadyRegisteredException -// The user, group, or resource that you're trying to register is already registered. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - EntityAlreadyRegisteredException +// The user, group, or resource that you're trying to register is already registered. // -// * MailDomainNotFoundException -// The domain specified is not found in your organization. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * MailDomainStateException -// After a domain has been added to the organization, it must be verified. The -// domain is not yet verified. +// - MailDomainNotFoundException +// The domain specified is not found in your organization. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - MailDomainStateException +// After a domain has been added to the organization, it must be verified. The +// domain is not yet verified. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/RegisterToWorkMail func (c *WorkMail) RegisterToWorkMail(input *RegisterToWorkMailInput) (*RegisterToWorkMailOutput, error) { @@ -6208,14 +6195,13 @@ const opResetPassword = "ResetPassword" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ResetPasswordRequest method. +// req, resp := client.ResetPasswordRequest(params) // -// // Example sending a request using the ResetPasswordRequest method. -// req, resp := client.ResetPasswordRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ResetPassword func (c *WorkMail) ResetPasswordRequest(input *ResetPasswordInput) (req *request.Request, output *ResetPasswordOutput) { @@ -6247,37 +6233,38 @@ func (c *WorkMail) ResetPasswordRequest(input *ResetPasswordInput) (req *request // API operation ResetPassword for usage and error information. // // Returned Error Types: -// * DirectoryServiceAuthenticationFailedException -// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * DirectoryUnavailableException -// The directory is unavailable. It might be located in another Region or deleted. +// - DirectoryServiceAuthenticationFailedException +// The directory service doesn't recognize the credentials supplied by WorkMail. +// +// - DirectoryUnavailableException +// The directory is unavailable. It might be located in another Region or deleted. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * InvalidPasswordException -// The supplied password doesn't match the minimum security constraints, such -// as length or use of special characters. +// - InvalidPasswordException +// The supplied password doesn't match the minimum security constraints, such +// as length or use of special characters. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * UnsupportedOperationException -// You can't perform a write operation against a read-only directory. +// - UnsupportedOperationException +// You can't perform a write operation against a read-only directory. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ResetPassword func (c *WorkMail) ResetPassword(input *ResetPasswordInput) (*ResetPasswordOutput, error) { @@ -6317,14 +6304,13 @@ const opStartMailboxExportJob = "StartMailboxExportJob" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartMailboxExportJobRequest method. +// req, resp := client.StartMailboxExportJobRequest(params) // -// // Example sending a request using the StartMailboxExportJobRequest method. -// req, resp := client.StartMailboxExportJobRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/StartMailboxExportJob func (c *WorkMail) StartMailboxExportJobRequest(input *StartMailboxExportJobInput) (req *request.Request, output *StartMailboxExportJobOutput) { @@ -6358,23 +6344,24 @@ func (c *WorkMail) StartMailboxExportJobRequest(input *StartMailboxExportJobInpu // API operation StartMailboxExportJob for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * LimitExceededException -// The request exceeds the limit of the resource. +// - LimitExceededException +// The request exceeds the limit of the resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/StartMailboxExportJob func (c *WorkMail) StartMailboxExportJob(input *StartMailboxExportJobInput) (*StartMailboxExportJobOutput, error) { @@ -6414,14 +6401,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/TagResource func (c *WorkMail) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -6454,15 +6440,16 @@ func (c *WorkMail) TagResourceRequest(input *TagResourceInput) (req *request.Req // API operation TagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource cannot be found. // -// * TooManyTagsException -// The resource can have up to 50 user-applied tags. +// - ResourceNotFoundException +// The resource cannot be found. +// +// - TooManyTagsException +// The resource can have up to 50 user-applied tags. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/TagResource func (c *WorkMail) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -6502,14 +6489,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UntagResource func (c *WorkMail) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -6542,8 +6528,8 @@ func (c *WorkMail) UntagResourceRequest(input *UntagResourceInput) (req *request // API operation UntagResource for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource cannot be found. +// - ResourceNotFoundException +// The resource cannot be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UntagResource func (c *WorkMail) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -6583,14 +6569,13 @@ const opUpdateDefaultMailDomain = "UpdateDefaultMailDomain" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateDefaultMailDomainRequest method. +// req, resp := client.UpdateDefaultMailDomainRequest(params) // -// // Example sending a request using the UpdateDefaultMailDomainRequest method. -// req, resp := client.UpdateDefaultMailDomainRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateDefaultMailDomain func (c *WorkMail) UpdateDefaultMailDomainRequest(input *UpdateDefaultMailDomainInput) (req *request.Request, output *UpdateDefaultMailDomainOutput) { @@ -6624,23 +6609,24 @@ func (c *WorkMail) UpdateDefaultMailDomainRequest(input *UpdateDefaultMailDomain // API operation UpdateDefaultMailDomain for usage and error information. // // Returned Error Types: -// * MailDomainNotFoundException -// The domain specified is not found in your organization. // -// * MailDomainStateException -// After a domain has been added to the organization, it must be verified. The -// domain is not yet verified. +// - MailDomainNotFoundException +// The domain specified is not found in your organization. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - MailDomainStateException +// After a domain has been added to the organization, it must be verified. The +// domain is not yet verified. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateDefaultMailDomain func (c *WorkMail) UpdateDefaultMailDomain(input *UpdateDefaultMailDomainInput) (*UpdateDefaultMailDomainOutput, error) { @@ -6680,14 +6666,13 @@ const opUpdateMailboxQuota = "UpdateMailboxQuota" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMailboxQuotaRequest method. +// req, resp := client.UpdateMailboxQuotaRequest(params) // -// // Example sending a request using the UpdateMailboxQuotaRequest method. -// req, resp := client.UpdateMailboxQuotaRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateMailboxQuota func (c *WorkMail) UpdateMailboxQuotaRequest(input *UpdateMailboxQuotaInput) (req *request.Request, output *UpdateMailboxQuotaOutput) { @@ -6719,24 +6704,25 @@ func (c *WorkMail) UpdateMailboxQuotaRequest(input *UpdateMailboxQuotaInput) (re // API operation UpdateMailboxQuota for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateMailboxQuota func (c *WorkMail) UpdateMailboxQuota(input *UpdateMailboxQuotaInput) (*UpdateMailboxQuotaOutput, error) { @@ -6776,14 +6762,13 @@ const opUpdateMobileDeviceAccessRule = "UpdateMobileDeviceAccessRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateMobileDeviceAccessRuleRequest method. +// req, resp := client.UpdateMobileDeviceAccessRuleRequest(params) // -// // Example sending a request using the UpdateMobileDeviceAccessRuleRequest method. -// req, resp := client.UpdateMobileDeviceAccessRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateMobileDeviceAccessRule func (c *WorkMail) UpdateMobileDeviceAccessRuleRequest(input *UpdateMobileDeviceAccessRuleInput) (req *request.Request, output *UpdateMobileDeviceAccessRuleOutput) { @@ -6815,20 +6800,21 @@ func (c *WorkMail) UpdateMobileDeviceAccessRuleRequest(input *UpdateMobileDevice // API operation UpdateMobileDeviceAccessRule for usage and error information. // // Returned Error Types: -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateMobileDeviceAccessRule func (c *WorkMail) UpdateMobileDeviceAccessRule(input *UpdateMobileDeviceAccessRuleInput) (*UpdateMobileDeviceAccessRuleOutput, error) { @@ -6868,14 +6854,13 @@ const opUpdatePrimaryEmailAddress = "UpdatePrimaryEmailAddress" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePrimaryEmailAddressRequest method. +// req, resp := client.UpdatePrimaryEmailAddressRequest(params) // -// // Example sending a request using the UpdatePrimaryEmailAddressRequest method. -// req, resp := client.UpdatePrimaryEmailAddressRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdatePrimaryEmailAddress func (c *WorkMail) UpdatePrimaryEmailAddressRequest(input *UpdatePrimaryEmailAddressInput) (req *request.Request, output *UpdatePrimaryEmailAddressOutput) { @@ -6910,47 +6895,48 @@ func (c *WorkMail) UpdatePrimaryEmailAddressRequest(input *UpdatePrimaryEmailAdd // API operation UpdatePrimaryEmailAddress for usage and error information. // // Returned Error Types: -// * DirectoryServiceAuthenticationFailedException -// The directory service doesn't recognize the credentials supplied by WorkMail. // -// * DirectoryUnavailableException -// The directory is unavailable. It might be located in another Region or deleted. +// - DirectoryServiceAuthenticationFailedException +// The directory service doesn't recognize the credentials supplied by WorkMail. +// +// - DirectoryUnavailableException +// The directory is unavailable. It might be located in another Region or deleted. // -// * EmailAddressInUseException -// The email address that you're trying to assign is already created for a different -// user, group, or resource. +// - EmailAddressInUseException +// The email address that you're trying to assign is already created for a different +// user, group, or resource. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * MailDomainNotFoundException -// The domain specified is not found in your organization. +// - MailDomainNotFoundException +// The domain specified is not found in your organization. // -// * MailDomainStateException -// After a domain has been added to the organization, it must be verified. The -// domain is not yet verified. +// - MailDomainStateException +// After a domain has been added to the organization, it must be verified. The +// domain is not yet verified. // -// * InvalidParameterException -// One or more of the input parameters don't match the service's restrictions. +// - InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // -// * UnsupportedOperationException -// You can't perform a write operation against a read-only directory. +// - UnsupportedOperationException +// You can't perform a write operation against a read-only directory. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdatePrimaryEmailAddress func (c *WorkMail) UpdatePrimaryEmailAddress(input *UpdatePrimaryEmailAddressInput) (*UpdatePrimaryEmailAddressOutput, error) { @@ -6990,14 +6976,13 @@ const opUpdateResource = "UpdateResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateResourceRequest method. +// req, resp := client.UpdateResourceRequest(params) // -// // Example sending a request using the UpdateResourceRequest method. -// req, resp := client.UpdateResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateResource func (c *WorkMail) UpdateResourceRequest(input *UpdateResourceInput) (req *request.Request, output *UpdateResourceOutput) { @@ -7031,43 +7016,44 @@ func (c *WorkMail) UpdateResourceRequest(input *UpdateResourceInput) (req *reque // API operation UpdateResource for usage and error information. // // Returned Error Types: -// * DirectoryUnavailableException -// The directory is unavailable. It might be located in another Region or deleted. // -// * EntityNotFoundException -// The identifier supplied for the user, group, or resource does not exist in -// your organization. +// - DirectoryUnavailableException +// The directory is unavailable. It might be located in another Region or deleted. +// +// - EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. // -// * EntityStateException -// You are performing an operation on a user, group, or resource that isn't -// in the expected state, such as trying to delete an active user. +// - EntityStateException +// You are performing an operation on a user, group, or resource that isn't +// in the expected state, such as trying to delete an active user. // -// * InvalidConfigurationException -// The configuration for a resource isn't valid. A resource must either be able -// to auto-respond to requests or have at least one delegate associated that -// can do so on its behalf. +// - InvalidConfigurationException +// The configuration for a resource isn't valid. A resource must either be able +// to auto-respond to requests or have at least one delegate associated that +// can do so on its behalf. // -// * EmailAddressInUseException -// The email address that you're trying to assign is already created for a different -// user, group, or resource. +// - EmailAddressInUseException +// The email address that you're trying to assign is already created for a different +// user, group, or resource. // -// * MailDomainNotFoundException -// The domain specified is not found in your organization. +// - MailDomainNotFoundException +// The domain specified is not found in your organization. // -// * MailDomainStateException -// After a domain has been added to the organization, it must be verified. The -// domain is not yet verified. +// - MailDomainStateException +// After a domain has been added to the organization, it must be verified. The +// domain is not yet verified. // -// * NameAvailabilityException -// The user, group, or resource name isn't unique in Amazon WorkMail. +// - NameAvailabilityException +// The user, group, or resource name isn't unique in Amazon WorkMail. // -// * OrganizationNotFoundException -// An operation received a valid organization identifier that either doesn't -// belong or exist in the system. +// - OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. // -// * OrganizationStateException -// The organization must have a valid state to perform certain operations on -// the organization or its members. +// - OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateResource func (c *WorkMail) UpdateResource(input *UpdateResourceInput) (*UpdateResourceOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/doc.go index 19651a78dc6e..79e9b50c6c8c 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/doc.go @@ -12,13 +12,13 @@ // // The WorkMail API is designed for the following scenarios: // -// * Listing and describing organizations +// - Listing and describing organizations // -// * Managing users +// - Managing users // -// * Managing groups +// - Managing groups // -// * Managing resources +// - Managing resources // // All WorkMail API operations are Amazon-authenticated and certificate-signed. // They not only require the use of the AWS SDK, but also allow for the exclusive @@ -36,7 +36,7 @@ // See workmail package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/workmail/ // -// Using the Client +// # Using the Client // // To contact Amazon WorkMail with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/service.go index 325be2980cb7..e87b1d590852 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a WorkMail client from just a session. -// svc := workmail.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a WorkMail client with additional configuration -// svc := workmail.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a WorkMail client from just a session. +// svc := workmail.New(mySession) +// +// // Create a WorkMail client with additional configuration +// svc := workmail.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *WorkMail { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/workmailiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/workmailiface/interface.go index 5c0120598b79..d4149417889a 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/workmailiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmail/workmailiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon WorkMail. -// func myFunc(svc workmailiface.WorkMailAPI) bool { -// // Make svc.AssociateDelegateToResource request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon WorkMail. +// func myFunc(svc workmailiface.WorkMailAPI) bool { +// // Make svc.AssociateDelegateToResource request +// } // -// func main() { -// sess := session.New() -// svc := workmail.New(sess) +// func main() { +// sess := session.New() +// svc := workmail.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockWorkMailClient struct { -// workmailiface.WorkMailAPI -// } -// func (m *mockWorkMailClient) AssociateDelegateToResource(input *workmail.AssociateDelegateToResourceInput) (*workmail.AssociateDelegateToResourceOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockWorkMailClient struct { +// workmailiface.WorkMailAPI +// } +// func (m *mockWorkMailClient) AssociateDelegateToResource(input *workmail.AssociateDelegateToResourceInput) (*workmail.AssociateDelegateToResourceOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockWorkMailClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockWorkMailClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/api.go index 9e17c4610482..660d0cbcbfbf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/api.go @@ -29,14 +29,13 @@ const opGetRawMessageContent = "GetRawMessageContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetRawMessageContentRequest method. +// req, resp := client.GetRawMessageContentRequest(params) // -// // Example sending a request using the GetRawMessageContentRequest method. -// req, resp := client.GetRawMessageContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmailmessageflow-2019-05-01/GetRawMessageContent func (c *WorkMailMessageFlow) GetRawMessageContentRequest(input *GetRawMessageContentInput) (req *request.Request, output *GetRawMessageContentOutput) { @@ -67,8 +66,8 @@ func (c *WorkMailMessageFlow) GetRawMessageContentRequest(input *GetRawMessageCo // API operation GetRawMessageContent for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested email message is not found. +// - ResourceNotFoundException +// The requested email message is not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmailmessageflow-2019-05-01/GetRawMessageContent func (c *WorkMailMessageFlow) GetRawMessageContent(input *GetRawMessageContentInput) (*GetRawMessageContentOutput, error) { @@ -108,14 +107,13 @@ const opPutRawMessageContent = "PutRawMessageContent" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutRawMessageContentRequest method. +// req, resp := client.PutRawMessageContentRequest(params) // -// // Example sending a request using the PutRawMessageContentRequest method. -// req, resp := client.PutRawMessageContentRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmailmessageflow-2019-05-01/PutRawMessageContent func (c *WorkMailMessageFlow) PutRawMessageContentRequest(input *PutRawMessageContentInput) (req *request.Request, output *PutRawMessageContentOutput) { @@ -157,28 +155,29 @@ func (c *WorkMailMessageFlow) PutRawMessageContentRequest(input *PutRawMessageCo // API operation PutRawMessageContent for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The requested email message is not found. // -// * InvalidContentLocation -// WorkMail could not access the updated email content. Possible reasons: +// - ResourceNotFoundException +// The requested email message is not found. +// +// - InvalidContentLocation +// WorkMail could not access the updated email content. Possible reasons: // -// * You made the request in a region other than your S3 bucket region. +// - You made the request in a region other than your S3 bucket region. // -// * The S3 bucket owner (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-owner-condition.html) -// is not the same as the calling AWS account. +// - The S3 bucket owner (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-owner-condition.html) +// is not the same as the calling AWS account. // -// * You have an incomplete or missing S3 bucket policy. For more information -// about policies, see Updating message content with AWS Lambda (https://docs.aws.amazon.com/workmail/latest/adminguide/update-with-lambda.html) -// in the WorkMail Administrator Guide. +// - You have an incomplete or missing S3 bucket policy. For more information +// about policies, see Updating message content with AWS Lambda (https://docs.aws.amazon.com/workmail/latest/adminguide/update-with-lambda.html) +// in the WorkMail Administrator Guide. // -// * MessageRejected -// The requested email could not be updated due to an error in the MIME content. -// Check the error message for more information about what caused the error. +// - MessageRejected +// The requested email could not be updated due to an error in the MIME content. +// Check the error message for more information about what caused the error. // -// * MessageFrozen -// The requested email is not eligible for update. This is usually the case -// for a redirected email. +// - MessageFrozen +// The requested email is not eligible for update. This is usually the case +// for a redirected email. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workmailmessageflow-2019-05-01/PutRawMessageContent func (c *WorkMailMessageFlow) PutRawMessageContent(input *PutRawMessageContentInput) (*PutRawMessageContentOutput, error) { @@ -286,14 +285,14 @@ func (s *GetRawMessageContentOutput) SetMessageContent(v io.ReadCloser) *GetRawM // WorkMail could not access the updated email content. Possible reasons: // -// * You made the request in a region other than your S3 bucket region. +// - You made the request in a region other than your S3 bucket region. // -// * The S3 bucket owner (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-owner-condition.html) -// is not the same as the calling AWS account. +// - The S3 bucket owner (https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-owner-condition.html) +// is not the same as the calling AWS account. // -// * You have an incomplete or missing S3 bucket policy. For more information -// about policies, see Updating message content with AWS Lambda (https://docs.aws.amazon.com/workmail/latest/adminguide/update-with-lambda.html) -// in the WorkMail Administrator Guide. +// - You have an incomplete or missing S3 bucket policy. For more information +// about policies, see Updating message content with AWS Lambda (https://docs.aws.amazon.com/workmail/latest/adminguide/update-with-lambda.html) +// in the WorkMail Administrator Guide. type InvalidContentLocation struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -580,26 +579,26 @@ func (s PutRawMessageContentOutput) GoString() string { // Provides the MIME content of the updated email message as an S3 object. All // MIME content must meet the following criteria: // -// * Each part of a multipart MIME message must be formatted properly. +// - Each part of a multipart MIME message must be formatted properly. // -// * Attachments must be of a content type that Amazon SES supports. For -// more information, see Unsupported Attachment Types (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mime-types-appendix.html). +// - Attachments must be of a content type that Amazon SES supports. For +// more information, see Unsupported Attachment Types (https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mime-types-appendix.html). // -// * If any of the MIME parts in a message contain content that is outside -// of the 7-bit ASCII character range, we recommend encoding that content. +// - If any of the MIME parts in a message contain content that is outside +// of the 7-bit ASCII character range, we recommend encoding that content. // -// * Per RFC 5321 (https://tools.ietf.org/html/rfc5321#section-4.5.3.1.6), -// the maximum length of each line of text, including the , must not -// exceed 1,000 characters. +// - Per RFC 5321 (https://tools.ietf.org/html/rfc5321#section-4.5.3.1.6), +// the maximum length of each line of text, including the , must not +// exceed 1,000 characters. // -// * The message must contain all the required header fields. Check the returned -// error message for more information. +// - The message must contain all the required header fields. Check the returned +// error message for more information. // -// * The value of immutable headers must remain unchanged. Check the returned -// error message for more information. +// - The value of immutable headers must remain unchanged. Check the returned +// error message for more information. // -// * Certain unique headers can only appear once. Check the returned error -// message for more information. +// - Certain unique headers can only appear once. Check the returned error +// message for more information. type RawMessageContent struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/doc.go index 82a8ce2e1080..01225e180d76 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/doc.go @@ -11,7 +11,7 @@ // See workmailmessageflow package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/workmailmessageflow/ // -// Using the Client +// # Using the Client // // To contact Amazon WorkMail Message Flow with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/service.go index 32714d5d8c20..8d1298d55651 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a WorkMailMessageFlow client from just a session. -// svc := workmailmessageflow.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a WorkMailMessageFlow client with additional configuration -// svc := workmailmessageflow.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a WorkMailMessageFlow client from just a session. +// svc := workmailmessageflow.New(mySession) +// +// // Create a WorkMailMessageFlow client with additional configuration +// svc := workmailmessageflow.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *WorkMailMessageFlow { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/workmailmessageflowiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/workmailmessageflowiface/interface.go index cd643a939bdd..29910153a2ff 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/workmailmessageflowiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workmailmessageflow/workmailmessageflowiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon WorkMail Message Flow. -// func myFunc(svc workmailmessageflowiface.WorkMailMessageFlowAPI) bool { -// // Make svc.GetRawMessageContent request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon WorkMail Message Flow. +// func myFunc(svc workmailmessageflowiface.WorkMailMessageFlowAPI) bool { +// // Make svc.GetRawMessageContent request +// } // -// func main() { -// sess := session.New() -// svc := workmailmessageflow.New(sess) +// func main() { +// sess := session.New() +// svc := workmailmessageflow.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockWorkMailMessageFlowClient struct { -// workmailmessageflowiface.WorkMailMessageFlowAPI -// } -// func (m *mockWorkMailMessageFlowClient) GetRawMessageContent(input *workmailmessageflow.GetRawMessageContentInput) (*workmailmessageflow.GetRawMessageContentOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockWorkMailMessageFlowClient struct { +// workmailmessageflowiface.WorkMailMessageFlowAPI +// } +// func (m *mockWorkMailMessageFlowClient) GetRawMessageContent(input *workmailmessageflow.GetRawMessageContentInput) (*workmailmessageflow.GetRawMessageContentOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockWorkMailMessageFlowClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockWorkMailMessageFlowClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/api.go index 8c87a93c37b4..049a3c9335e8 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/api.go @@ -29,14 +29,13 @@ const opAssociateConnectionAlias = "AssociateConnectionAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateConnectionAliasRequest method. +// req, resp := client.AssociateConnectionAliasRequest(params) // -// // Example sending a request using the AssociateConnectionAliasRequest method. -// req, resp := client.AssociateConnectionAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AssociateConnectionAlias func (c *WorkSpaces) AssociateConnectionAliasRequest(input *AssociateConnectionAliasInput) (req *request.Request, output *AssociateConnectionAliasOutput) { @@ -72,23 +71,24 @@ func (c *WorkSpaces) AssociateConnectionAliasRequest(input *AssociateConnectionA // API operation AssociateConnectionAlias for usage and error information. // // Returned Error Types: -// * ResourceAssociatedException -// The resource is associated with a directory. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - ResourceAssociatedException +// The resource is associated with a directory. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. // -// * OperationNotSupportedException -// This operation is not supported. +// - OperationNotSupportedException +// This operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AssociateConnectionAlias func (c *WorkSpaces) AssociateConnectionAlias(input *AssociateConnectionAliasInput) (*AssociateConnectionAliasOutput, error) { @@ -128,14 +128,13 @@ const opAssociateIpGroups = "AssociateIpGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateIpGroupsRequest method. +// req, resp := client.AssociateIpGroupsRequest(params) // -// // Example sending a request using the AssociateIpGroupsRequest method. -// req, resp := client.AssociateIpGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AssociateIpGroups func (c *WorkSpaces) AssociateIpGroupsRequest(input *AssociateIpGroupsInput) (req *request.Request, output *AssociateIpGroupsOutput) { @@ -167,23 +166,24 @@ func (c *WorkSpaces) AssociateIpGroupsRequest(input *AssociateIpGroupsInput) (re // API operation AssociateIpGroups for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// The resource could not be found. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // -// * OperationNotSupportedException -// This operation is not supported. +// - OperationNotSupportedException +// This operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AssociateIpGroups func (c *WorkSpaces) AssociateIpGroups(input *AssociateIpGroupsInput) (*AssociateIpGroupsOutput, error) { @@ -223,14 +223,13 @@ const opAuthorizeIpRules = "AuthorizeIpRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AuthorizeIpRulesRequest method. +// req, resp := client.AuthorizeIpRulesRequest(params) // -// // Example sending a request using the AuthorizeIpRulesRequest method. -// req, resp := client.AuthorizeIpRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AuthorizeIpRules func (c *WorkSpaces) AuthorizeIpRulesRequest(input *AuthorizeIpRulesInput) (req *request.Request, output *AuthorizeIpRulesOutput) { @@ -265,20 +264,21 @@ func (c *WorkSpaces) AuthorizeIpRulesRequest(input *AuthorizeIpRulesInput) (req // API operation AuthorizeIpRules for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// The resource could not be found. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AuthorizeIpRules func (c *WorkSpaces) AuthorizeIpRules(input *AuthorizeIpRulesInput) (*AuthorizeIpRulesOutput, error) { @@ -318,14 +318,13 @@ const opCopyWorkspaceImage = "CopyWorkspaceImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CopyWorkspaceImageRequest method. +// req, resp := client.CopyWorkspaceImageRequest(params) // -// // Example sending a request using the CopyWorkspaceImageRequest method. -// req, resp := client.CopyWorkspaceImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CopyWorkspaceImage func (c *WorkSpaces) CopyWorkspaceImageRequest(input *CopyWorkspaceImageInput) (req *request.Request, output *CopyWorkspaceImageOutput) { @@ -370,26 +369,27 @@ func (c *WorkSpaces) CopyWorkspaceImageRequest(input *CopyWorkspaceImageInput) ( // API operation CopyWorkspaceImage for usage and error information. // // Returned Error Types: -// * ResourceLimitExceededException -// Your resource limits have been exceeded. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. +// +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * ResourceUnavailableException -// The specified resource is not available. +// - ResourceUnavailableException +// The specified resource is not available. // -// * OperationNotSupportedException -// This operation is not supported. +// - OperationNotSupportedException +// This operation is not supported. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CopyWorkspaceImage func (c *WorkSpaces) CopyWorkspaceImage(input *CopyWorkspaceImageInput) (*CopyWorkspaceImageOutput, error) { @@ -429,14 +429,13 @@ const opCreateConnectClientAddIn = "CreateConnectClientAddIn" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConnectClientAddInRequest method. +// req, resp := client.CreateConnectClientAddInRequest(params) // -// // Example sending a request using the CreateConnectClientAddInRequest method. -// req, resp := client.CreateConnectClientAddInRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateConnectClientAddIn func (c *WorkSpaces) CreateConnectClientAddInRequest(input *CreateConnectClientAddInInput) (req *request.Request, output *CreateConnectClientAddInOutput) { @@ -471,20 +470,21 @@ func (c *WorkSpaces) CreateConnectClientAddInRequest(input *CreateConnectClientA // API operation CreateConnectClientAddIn for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// The resource could not be found. // -// * ResourceCreationFailedException -// The resource could not be created. +// - ResourceCreationFailedException +// The resource could not be created. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateConnectClientAddIn func (c *WorkSpaces) CreateConnectClientAddIn(input *CreateConnectClientAddInInput) (*CreateConnectClientAddInOutput, error) { @@ -524,14 +524,13 @@ const opCreateConnectionAlias = "CreateConnectionAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateConnectionAliasRequest method. +// req, resp := client.CreateConnectionAliasRequest(params) // -// // Example sending a request using the CreateConnectionAliasRequest method. -// req, resp := client.CreateConnectionAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateConnectionAlias func (c *WorkSpaces) CreateConnectionAliasRequest(input *CreateConnectionAliasInput) (req *request.Request, output *CreateConnectionAliasOutput) { @@ -564,23 +563,24 @@ func (c *WorkSpaces) CreateConnectionAliasRequest(input *CreateConnectionAliasIn // API operation CreateConnectionAlias for usage and error information. // // Returned Error Types: -// * ResourceAlreadyExistsException -// The specified resource already exists. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - ResourceAlreadyExistsException +// The specified resource already exists. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. // -// * OperationNotSupportedException -// This operation is not supported. +// - OperationNotSupportedException +// This operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateConnectionAlias func (c *WorkSpaces) CreateConnectionAlias(input *CreateConnectionAliasInput) (*CreateConnectionAliasOutput, error) { @@ -620,14 +620,13 @@ const opCreateIpGroup = "CreateIpGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIpGroupRequest method. +// req, resp := client.CreateIpGroupRequest(params) // -// // Example sending a request using the CreateIpGroupRequest method. -// req, resp := client.CreateIpGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateIpGroup func (c *WorkSpaces) CreateIpGroupRequest(input *CreateIpGroupInput) (req *request.Request, output *CreateIpGroupOutput) { @@ -670,20 +669,21 @@ func (c *WorkSpaces) CreateIpGroupRequest(input *CreateIpGroupInput) (req *reque // API operation CreateIpGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * ResourceCreationFailedException -// The resource could not be created. +// - ResourceCreationFailedException +// The resource could not be created. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateIpGroup func (c *WorkSpaces) CreateIpGroup(input *CreateIpGroupInput) (*CreateIpGroupOutput, error) { @@ -723,14 +723,13 @@ const opCreateTags = "CreateTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTagsRequest method. +// req, resp := client.CreateTagsRequest(params) // -// // Example sending a request using the CreateTagsRequest method. -// req, resp := client.CreateTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTags func (c *WorkSpaces) CreateTagsRequest(input *CreateTagsInput) (req *request.Request, output *CreateTagsOutput) { @@ -762,14 +761,15 @@ func (c *WorkSpaces) CreateTagsRequest(input *CreateTagsInput) (req *request.Req // API operation CreateTags for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource could not be found. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - ResourceNotFoundException +// The resource could not be found. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTags func (c *WorkSpaces) CreateTags(input *CreateTagsInput) (*CreateTagsOutput, error) { @@ -809,14 +809,13 @@ const opCreateUpdatedWorkspaceImage = "CreateUpdatedWorkspaceImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUpdatedWorkspaceImageRequest method. +// req, resp := client.CreateUpdatedWorkspaceImageRequest(params) // -// // Example sending a request using the CreateUpdatedWorkspaceImageRequest method. -// req, resp := client.CreateUpdatedWorkspaceImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateUpdatedWorkspaceImage func (c *WorkSpaces) CreateUpdatedWorkspaceImageRequest(input *CreateUpdatedWorkspaceImageInput) (req *request.Request, output *CreateUpdatedWorkspaceImageOutput) { @@ -844,14 +843,14 @@ func (c *WorkSpaces) CreateUpdatedWorkspaceImageRequest(input *CreateUpdatedWork // To determine which WorkSpace images need to be updated with the latest Amazon // WorkSpaces requirements, use DescribeWorkspaceImages (https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceImages.html). // -// * Only Windows 10, Windows Sever 2016, and Windows Server 2019 WorkSpace -// images can be programmatically updated at this time. +// - Only Windows 10, Windows Sever 2016, and Windows Server 2019 WorkSpace +// images can be programmatically updated at this time. // -// * Microsoft Windows updates and other application updates are not included -// in the update process. +// - Microsoft Windows updates and other application updates are not included +// in the update process. // -// * The source WorkSpace image is not deleted. You can delete the source -// image after you've verified your new updated image and created a new bundle. +// - The source WorkSpace image is not deleted. You can delete the source +// image after you've verified your new updated image and created a new bundle. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -861,26 +860,27 @@ func (c *WorkSpaces) CreateUpdatedWorkspaceImageRequest(input *CreateUpdatedWork // API operation CreateUpdatedWorkspaceImage for usage and error information. // // Returned Error Types: -// * ResourceLimitExceededException -// Your resource limits have been exceeded. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * OperationNotSupportedException -// This operation is not supported. +// - ResourceNotFoundException +// The resource could not be found. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - OperationNotSupportedException +// This operation is not supported. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateUpdatedWorkspaceImage func (c *WorkSpaces) CreateUpdatedWorkspaceImage(input *CreateUpdatedWorkspaceImageInput) (*CreateUpdatedWorkspaceImageOutput, error) { @@ -920,14 +920,13 @@ const opCreateWorkspaceBundle = "CreateWorkspaceBundle" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorkspaceBundleRequest method. +// req, resp := client.CreateWorkspaceBundleRequest(params) // -// // Example sending a request using the CreateWorkspaceBundleRequest method. -// req, resp := client.CreateWorkspaceBundleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaceBundle func (c *WorkSpaces) CreateWorkspaceBundleRequest(input *CreateWorkspaceBundleInput) (req *request.Request, output *CreateWorkspaceBundleOutput) { @@ -959,23 +958,24 @@ func (c *WorkSpaces) CreateWorkspaceBundleRequest(input *CreateWorkspaceBundleIn // API operation CreateWorkspaceBundle for usage and error information. // // Returned Error Types: -// * ResourceUnavailableException -// The specified resource is not available. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - ResourceUnavailableException +// The specified resource is not available. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - ResourceNotFoundException +// The resource could not be found. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaceBundle func (c *WorkSpaces) CreateWorkspaceBundle(input *CreateWorkspaceBundleInput) (*CreateWorkspaceBundleOutput, error) { @@ -1015,14 +1015,13 @@ const opCreateWorkspaces = "CreateWorkspaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateWorkspacesRequest method. +// req, resp := client.CreateWorkspacesRequest(params) // -// // Example sending a request using the CreateWorkspacesRequest method. -// req, resp := client.CreateWorkspacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaces func (c *WorkSpaces) CreateWorkspacesRequest(input *CreateWorkspacesInput) (req *request.Request, output *CreateWorkspacesOutput) { @@ -1055,11 +1054,12 @@ func (c *WorkSpaces) CreateWorkspacesRequest(input *CreateWorkspacesInput) (req // API operation CreateWorkspaces for usage and error information. // // Returned Error Types: -// * ResourceLimitExceededException -// Your resource limits have been exceeded. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaces func (c *WorkSpaces) CreateWorkspaces(input *CreateWorkspacesInput) (*CreateWorkspacesOutput, error) { @@ -1099,14 +1099,13 @@ const opDeleteClientBranding = "DeleteClientBranding" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteClientBrandingRequest method. +// req, resp := client.DeleteClientBrandingRequest(params) // -// // Example sending a request using the DeleteClientBrandingRequest method. -// req, resp := client.DeleteClientBrandingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteClientBranding func (c *WorkSpaces) DeleteClientBrandingRequest(input *DeleteClientBrandingInput) (req *request.Request, output *DeleteClientBrandingOutput) { @@ -1144,14 +1143,15 @@ func (c *WorkSpaces) DeleteClientBrandingRequest(input *DeleteClientBrandingInpu // API operation DeleteClientBranding for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// The resource could not be found. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteClientBranding func (c *WorkSpaces) DeleteClientBranding(input *DeleteClientBrandingInput) (*DeleteClientBrandingOutput, error) { @@ -1191,14 +1191,13 @@ const opDeleteConnectClientAddIn = "DeleteConnectClientAddIn" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConnectClientAddInRequest method. +// req, resp := client.DeleteConnectClientAddInRequest(params) // -// // Example sending a request using the DeleteConnectClientAddInRequest method. -// req, resp := client.DeleteConnectClientAddInRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteConnectClientAddIn func (c *WorkSpaces) DeleteConnectClientAddInRequest(input *DeleteConnectClientAddInInput) (req *request.Request, output *DeleteConnectClientAddInOutput) { @@ -1230,14 +1229,15 @@ func (c *WorkSpaces) DeleteConnectClientAddInRequest(input *DeleteConnectClientA // API operation DeleteConnectClientAddIn for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// The resource could not be found. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteConnectClientAddIn func (c *WorkSpaces) DeleteConnectClientAddIn(input *DeleteConnectClientAddInInput) (*DeleteConnectClientAddInOutput, error) { @@ -1277,14 +1277,13 @@ const opDeleteConnectionAlias = "DeleteConnectionAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteConnectionAliasRequest method. +// req, resp := client.DeleteConnectionAliasRequest(params) // -// // Example sending a request using the DeleteConnectionAliasRequest method. -// req, resp := client.DeleteConnectionAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteConnectionAlias func (c *WorkSpaces) DeleteConnectionAliasRequest(input *DeleteConnectionAliasInput) (req *request.Request, output *DeleteConnectionAliasOutput) { @@ -1328,23 +1327,24 @@ func (c *WorkSpaces) DeleteConnectionAliasRequest(input *DeleteConnectionAliasIn // API operation DeleteConnectionAlias for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource could not be found. // -// * ResourceAssociatedException -// The resource is associated with a directory. +// - ResourceNotFoundException +// The resource could not be found. +// +// - ResourceAssociatedException +// The resource is associated with a directory. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. // -// * OperationNotSupportedException -// This operation is not supported. +// - OperationNotSupportedException +// This operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteConnectionAlias func (c *WorkSpaces) DeleteConnectionAlias(input *DeleteConnectionAliasInput) (*DeleteConnectionAliasOutput, error) { @@ -1384,14 +1384,13 @@ const opDeleteIpGroup = "DeleteIpGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIpGroupRequest method. +// req, resp := client.DeleteIpGroupRequest(params) // -// // Example sending a request using the DeleteIpGroupRequest method. -// req, resp := client.DeleteIpGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteIpGroup func (c *WorkSpaces) DeleteIpGroupRequest(input *DeleteIpGroupInput) (req *request.Request, output *DeleteIpGroupOutput) { @@ -1425,17 +1424,18 @@ func (c *WorkSpaces) DeleteIpGroupRequest(input *DeleteIpGroupInput) (req *reque // API operation DeleteIpGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * ResourceAssociatedException -// The resource is associated with a directory. +// - ResourceNotFoundException +// The resource could not be found. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - ResourceAssociatedException +// The resource is associated with a directory. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteIpGroup func (c *WorkSpaces) DeleteIpGroup(input *DeleteIpGroupInput) (*DeleteIpGroupOutput, error) { @@ -1475,14 +1475,13 @@ const opDeleteTags = "DeleteTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTagsRequest method. +// req, resp := client.DeleteTagsRequest(params) // -// // Example sending a request using the DeleteTagsRequest method. -// req, resp := client.DeleteTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteTags func (c *WorkSpaces) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) { @@ -1514,11 +1513,12 @@ func (c *WorkSpaces) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Req // API operation DeleteTags for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource could not be found. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - ResourceNotFoundException +// The resource could not be found. +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteTags func (c *WorkSpaces) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) { @@ -1558,14 +1558,13 @@ const opDeleteWorkspaceBundle = "DeleteWorkspaceBundle" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorkspaceBundleRequest method. +// req, resp := client.DeleteWorkspaceBundleRequest(params) // -// // Example sending a request using the DeleteWorkspaceBundleRequest method. -// req, resp := client.DeleteWorkspaceBundleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceBundle func (c *WorkSpaces) DeleteWorkspaceBundleRequest(input *DeleteWorkspaceBundleInput) (req *request.Request, output *DeleteWorkspaceBundleOutput) { @@ -1598,17 +1597,18 @@ func (c *WorkSpaces) DeleteWorkspaceBundleRequest(input *DeleteWorkspaceBundleIn // API operation DeleteWorkspaceBundle for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * ResourceAssociatedException -// The resource is associated with a directory. +// - ResourceNotFoundException +// The resource could not be found. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - ResourceAssociatedException +// The resource is associated with a directory. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceBundle func (c *WorkSpaces) DeleteWorkspaceBundle(input *DeleteWorkspaceBundleInput) (*DeleteWorkspaceBundleOutput, error) { @@ -1648,14 +1648,13 @@ const opDeleteWorkspaceImage = "DeleteWorkspaceImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteWorkspaceImageRequest method. +// req, resp := client.DeleteWorkspaceImageRequest(params) // -// // Example sending a request using the DeleteWorkspaceImageRequest method. -// req, resp := client.DeleteWorkspaceImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceImage func (c *WorkSpaces) DeleteWorkspaceImageRequest(input *DeleteWorkspaceImageInput) (req *request.Request, output *DeleteWorkspaceImageOutput) { @@ -1689,14 +1688,15 @@ func (c *WorkSpaces) DeleteWorkspaceImageRequest(input *DeleteWorkspaceImageInpu // API operation DeleteWorkspaceImage for usage and error information. // // Returned Error Types: -// * ResourceAssociatedException -// The resource is associated with a directory. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - ResourceAssociatedException +// The resource is associated with a directory. +// +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceImage func (c *WorkSpaces) DeleteWorkspaceImage(input *DeleteWorkspaceImageInput) (*DeleteWorkspaceImageOutput, error) { @@ -1736,14 +1736,13 @@ const opDeregisterWorkspaceDirectory = "DeregisterWorkspaceDirectory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeregisterWorkspaceDirectoryRequest method. +// req, resp := client.DeregisterWorkspaceDirectoryRequest(params) // -// // Example sending a request using the DeregisterWorkspaceDirectoryRequest method. -// req, resp := client.DeregisterWorkspaceDirectoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeregisterWorkspaceDirectory func (c *WorkSpaces) DeregisterWorkspaceDirectoryRequest(input *DeregisterWorkspaceDirectoryInput) (req *request.Request, output *DeregisterWorkspaceDirectoryOutput) { @@ -1788,20 +1787,21 @@ func (c *WorkSpaces) DeregisterWorkspaceDirectoryRequest(input *DeregisterWorksp // API operation DeregisterWorkspaceDirectory for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The user is not authorized to access a resource. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * OperationNotSupportedException -// This operation is not supported. +// - OperationNotSupportedException +// This operation is not supported. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeregisterWorkspaceDirectory func (c *WorkSpaces) DeregisterWorkspaceDirectory(input *DeregisterWorkspaceDirectoryInput) (*DeregisterWorkspaceDirectoryOutput, error) { @@ -1841,14 +1841,13 @@ const opDescribeAccount = "DescribeAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountRequest method. +// req, resp := client.DescribeAccountRequest(params) // -// // Example sending a request using the DescribeAccountRequest method. -// req, resp := client.DescribeAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccount func (c *WorkSpaces) DescribeAccountRequest(input *DescribeAccountInput) (req *request.Request, output *DescribeAccountOutput) { @@ -1880,8 +1879,8 @@ func (c *WorkSpaces) DescribeAccountRequest(input *DescribeAccountInput) (req *r // API operation DescribeAccount for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccount func (c *WorkSpaces) DescribeAccount(input *DescribeAccountInput) (*DescribeAccountOutput, error) { @@ -1921,14 +1920,13 @@ const opDescribeAccountModifications = "DescribeAccountModifications" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeAccountModificationsRequest method. +// req, resp := client.DescribeAccountModificationsRequest(params) // -// // Example sending a request using the DescribeAccountModificationsRequest method. -// req, resp := client.DescribeAccountModificationsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccountModifications func (c *WorkSpaces) DescribeAccountModificationsRequest(input *DescribeAccountModificationsInput) (req *request.Request, output *DescribeAccountModificationsOutput) { @@ -1960,8 +1958,8 @@ func (c *WorkSpaces) DescribeAccountModificationsRequest(input *DescribeAccountM // API operation DescribeAccountModifications for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccountModifications func (c *WorkSpaces) DescribeAccountModifications(input *DescribeAccountModificationsInput) (*DescribeAccountModificationsOutput, error) { @@ -2001,14 +1999,13 @@ const opDescribeClientBranding = "DescribeClientBranding" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClientBrandingRequest method. +// req, resp := client.DescribeClientBrandingRequest(params) // -// // Example sending a request using the DescribeClientBrandingRequest method. -// req, resp := client.DescribeClientBrandingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeClientBranding func (c *WorkSpaces) DescribeClientBrandingRequest(input *DescribeClientBrandingInput) (req *request.Request, output *DescribeClientBrandingOutput) { @@ -2045,14 +2042,15 @@ func (c *WorkSpaces) DescribeClientBrandingRequest(input *DescribeClientBranding // API operation DescribeClientBranding for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// The resource could not be found. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeClientBranding func (c *WorkSpaces) DescribeClientBranding(input *DescribeClientBrandingInput) (*DescribeClientBrandingOutput, error) { @@ -2092,14 +2090,13 @@ const opDescribeClientProperties = "DescribeClientProperties" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeClientPropertiesRequest method. +// req, resp := client.DescribeClientPropertiesRequest(params) // -// // Example sending a request using the DescribeClientPropertiesRequest method. -// req, resp := client.DescribeClientPropertiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeClientProperties func (c *WorkSpaces) DescribeClientPropertiesRequest(input *DescribeClientPropertiesInput) (req *request.Request, output *DescribeClientPropertiesOutput) { @@ -2130,14 +2127,15 @@ func (c *WorkSpaces) DescribeClientPropertiesRequest(input *DescribeClientProper // API operation DescribeClientProperties for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - ResourceNotFoundException +// The resource could not be found. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeClientProperties func (c *WorkSpaces) DescribeClientProperties(input *DescribeClientPropertiesInput) (*DescribeClientPropertiesOutput, error) { @@ -2177,14 +2175,13 @@ const opDescribeConnectClientAddIns = "DescribeConnectClientAddIns" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConnectClientAddInsRequest method. +// req, resp := client.DescribeConnectClientAddInsRequest(params) // -// // Example sending a request using the DescribeConnectClientAddInsRequest method. -// req, resp := client.DescribeConnectClientAddInsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeConnectClientAddIns func (c *WorkSpaces) DescribeConnectClientAddInsRequest(input *DescribeConnectClientAddInsInput) (req *request.Request, output *DescribeConnectClientAddInsOutput) { @@ -2215,14 +2212,15 @@ func (c *WorkSpaces) DescribeConnectClientAddInsRequest(input *DescribeConnectCl // API operation DescribeConnectClientAddIns for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - ResourceNotFoundException +// The resource could not be found. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeConnectClientAddIns func (c *WorkSpaces) DescribeConnectClientAddIns(input *DescribeConnectClientAddInsInput) (*DescribeConnectClientAddInsOutput, error) { @@ -2262,14 +2260,13 @@ const opDescribeConnectionAliasPermissions = "DescribeConnectionAliasPermissions // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConnectionAliasPermissionsRequest method. +// req, resp := client.DescribeConnectionAliasPermissionsRequest(params) // -// // Example sending a request using the DescribeConnectionAliasPermissionsRequest method. -// req, resp := client.DescribeConnectionAliasPermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeConnectionAliasPermissions func (c *WorkSpaces) DescribeConnectionAliasPermissionsRequest(input *DescribeConnectionAliasPermissionsInput) (req *request.Request, output *DescribeConnectionAliasPermissionsOutput) { @@ -2303,17 +2300,18 @@ func (c *WorkSpaces) DescribeConnectionAliasPermissionsRequest(input *DescribeCo // API operation DescribeConnectionAliasPermissions for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The user is not authorized to access a resource. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - AccessDeniedException +// The user is not authorized to access a resource. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * OperationNotSupportedException -// This operation is not supported. +// - ResourceNotFoundException +// The resource could not be found. +// +// - OperationNotSupportedException +// This operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeConnectionAliasPermissions func (c *WorkSpaces) DescribeConnectionAliasPermissions(input *DescribeConnectionAliasPermissionsInput) (*DescribeConnectionAliasPermissionsOutput, error) { @@ -2353,14 +2351,13 @@ const opDescribeConnectionAliases = "DescribeConnectionAliases" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeConnectionAliasesRequest method. +// req, resp := client.DescribeConnectionAliasesRequest(params) // -// // Example sending a request using the DescribeConnectionAliasesRequest method. -// req, resp := client.DescribeConnectionAliasesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeConnectionAliases func (c *WorkSpaces) DescribeConnectionAliasesRequest(input *DescribeConnectionAliasesInput) (req *request.Request, output *DescribeConnectionAliasesOutput) { @@ -2393,14 +2390,15 @@ func (c *WorkSpaces) DescribeConnectionAliasesRequest(input *DescribeConnectionA // API operation DescribeConnectionAliases for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The user is not authorized to access a resource. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * OperationNotSupportedException -// This operation is not supported. +// - OperationNotSupportedException +// This operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeConnectionAliases func (c *WorkSpaces) DescribeConnectionAliases(input *DescribeConnectionAliasesInput) (*DescribeConnectionAliasesOutput, error) { @@ -2440,14 +2438,13 @@ const opDescribeIpGroups = "DescribeIpGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeIpGroupsRequest method. +// req, resp := client.DescribeIpGroupsRequest(params) // -// // Example sending a request using the DescribeIpGroupsRequest method. -// req, resp := client.DescribeIpGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeIpGroups func (c *WorkSpaces) DescribeIpGroupsRequest(input *DescribeIpGroupsInput) (req *request.Request, output *DescribeIpGroupsOutput) { @@ -2478,11 +2475,12 @@ func (c *WorkSpaces) DescribeIpGroupsRequest(input *DescribeIpGroupsInput) (req // API operation DescribeIpGroups for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeIpGroups func (c *WorkSpaces) DescribeIpGroups(input *DescribeIpGroupsInput) (*DescribeIpGroupsOutput, error) { @@ -2522,14 +2520,13 @@ const opDescribeTags = "DescribeTags" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeTagsRequest method. +// req, resp := client.DescribeTagsRequest(params) // -// // Example sending a request using the DescribeTagsRequest method. -// req, resp := client.DescribeTagsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeTags func (c *WorkSpaces) DescribeTagsRequest(input *DescribeTagsInput) (req *request.Request, output *DescribeTagsOutput) { @@ -2560,8 +2557,8 @@ func (c *WorkSpaces) DescribeTagsRequest(input *DescribeTagsInput) (req *request // API operation DescribeTags for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeTags func (c *WorkSpaces) DescribeTags(input *DescribeTagsInput) (*DescribeTagsOutput, error) { @@ -2601,14 +2598,13 @@ const opDescribeWorkspaceBundles = "DescribeWorkspaceBundles" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkspaceBundlesRequest method. +// req, resp := client.DescribeWorkspaceBundlesRequest(params) // -// // Example sending a request using the DescribeWorkspaceBundlesRequest method. -// req, resp := client.DescribeWorkspaceBundlesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundles func (c *WorkSpaces) DescribeWorkspaceBundlesRequest(input *DescribeWorkspaceBundlesInput) (req *request.Request, output *DescribeWorkspaceBundlesOutput) { @@ -2647,8 +2643,8 @@ func (c *WorkSpaces) DescribeWorkspaceBundlesRequest(input *DescribeWorkspaceBun // API operation DescribeWorkspaceBundles for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundles func (c *WorkSpaces) DescribeWorkspaceBundles(input *DescribeWorkspaceBundlesInput) (*DescribeWorkspaceBundlesOutput, error) { @@ -2680,15 +2676,14 @@ func (c *WorkSpaces) DescribeWorkspaceBundlesWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeWorkspaceBundles operation. -// pageNum := 0 -// err := client.DescribeWorkspaceBundlesPages(params, -// func(page *workspaces.DescribeWorkspaceBundlesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeWorkspaceBundles operation. +// pageNum := 0 +// err := client.DescribeWorkspaceBundlesPages(params, +// func(page *workspaces.DescribeWorkspaceBundlesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkSpaces) DescribeWorkspaceBundlesPages(input *DescribeWorkspaceBundlesInput, fn func(*DescribeWorkspaceBundlesOutput, bool) bool) error { return c.DescribeWorkspaceBundlesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2740,14 +2735,13 @@ const opDescribeWorkspaceDirectories = "DescribeWorkspaceDirectories" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkspaceDirectoriesRequest method. +// req, resp := client.DescribeWorkspaceDirectoriesRequest(params) // -// // Example sending a request using the DescribeWorkspaceDirectoriesRequest method. -// req, resp := client.DescribeWorkspaceDirectoriesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectories func (c *WorkSpaces) DescribeWorkspaceDirectoriesRequest(input *DescribeWorkspaceDirectoriesInput) (req *request.Request, output *DescribeWorkspaceDirectoriesOutput) { @@ -2784,8 +2778,8 @@ func (c *WorkSpaces) DescribeWorkspaceDirectoriesRequest(input *DescribeWorkspac // API operation DescribeWorkspaceDirectories for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectories func (c *WorkSpaces) DescribeWorkspaceDirectories(input *DescribeWorkspaceDirectoriesInput) (*DescribeWorkspaceDirectoriesOutput, error) { @@ -2817,15 +2811,14 @@ func (c *WorkSpaces) DescribeWorkspaceDirectoriesWithContext(ctx aws.Context, in // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeWorkspaceDirectories operation. -// pageNum := 0 -// err := client.DescribeWorkspaceDirectoriesPages(params, -// func(page *workspaces.DescribeWorkspaceDirectoriesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeWorkspaceDirectories operation. +// pageNum := 0 +// err := client.DescribeWorkspaceDirectoriesPages(params, +// func(page *workspaces.DescribeWorkspaceDirectoriesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkSpaces) DescribeWorkspaceDirectoriesPages(input *DescribeWorkspaceDirectoriesInput, fn func(*DescribeWorkspaceDirectoriesOutput, bool) bool) error { return c.DescribeWorkspaceDirectoriesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2877,14 +2870,13 @@ const opDescribeWorkspaceImagePermissions = "DescribeWorkspaceImagePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkspaceImagePermissionsRequest method. +// req, resp := client.DescribeWorkspaceImagePermissionsRequest(params) // -// // Example sending a request using the DescribeWorkspaceImagePermissionsRequest method. -// req, resp := client.DescribeWorkspaceImagePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImagePermissions func (c *WorkSpaces) DescribeWorkspaceImagePermissionsRequest(input *DescribeWorkspaceImagePermissionsInput) (req *request.Request, output *DescribeWorkspaceImagePermissionsOutput) { @@ -2916,14 +2908,15 @@ func (c *WorkSpaces) DescribeWorkspaceImagePermissionsRequest(input *DescribeWor // API operation DescribeWorkspaceImagePermissions for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource could not be found. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - ResourceNotFoundException +// The resource could not be found. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImagePermissions func (c *WorkSpaces) DescribeWorkspaceImagePermissions(input *DescribeWorkspaceImagePermissionsInput) (*DescribeWorkspaceImagePermissionsOutput, error) { @@ -2963,14 +2956,13 @@ const opDescribeWorkspaceImages = "DescribeWorkspaceImages" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkspaceImagesRequest method. +// req, resp := client.DescribeWorkspaceImagesRequest(params) // -// // Example sending a request using the DescribeWorkspaceImagesRequest method. -// req, resp := client.DescribeWorkspaceImagesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImages func (c *WorkSpaces) DescribeWorkspaceImagesRequest(input *DescribeWorkspaceImagesInput) (req *request.Request, output *DescribeWorkspaceImagesOutput) { @@ -3002,8 +2994,8 @@ func (c *WorkSpaces) DescribeWorkspaceImagesRequest(input *DescribeWorkspaceImag // API operation DescribeWorkspaceImages for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImages func (c *WorkSpaces) DescribeWorkspaceImages(input *DescribeWorkspaceImagesInput) (*DescribeWorkspaceImagesOutput, error) { @@ -3043,14 +3035,13 @@ const opDescribeWorkspaceSnapshots = "DescribeWorkspaceSnapshots" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkspaceSnapshotsRequest method. +// req, resp := client.DescribeWorkspaceSnapshotsRequest(params) // -// // Example sending a request using the DescribeWorkspaceSnapshotsRequest method. -// req, resp := client.DescribeWorkspaceSnapshotsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceSnapshots func (c *WorkSpaces) DescribeWorkspaceSnapshotsRequest(input *DescribeWorkspaceSnapshotsInput) (req *request.Request, output *DescribeWorkspaceSnapshotsOutput) { @@ -3081,14 +3072,15 @@ func (c *WorkSpaces) DescribeWorkspaceSnapshotsRequest(input *DescribeWorkspaceS // API operation DescribeWorkspaceSnapshots for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - ResourceNotFoundException +// The resource could not be found. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceSnapshots func (c *WorkSpaces) DescribeWorkspaceSnapshots(input *DescribeWorkspaceSnapshotsInput) (*DescribeWorkspaceSnapshotsOutput, error) { @@ -3128,14 +3120,13 @@ const opDescribeWorkspaces = "DescribeWorkspaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkspacesRequest method. +// req, resp := client.DescribeWorkspacesRequest(params) // -// // Example sending a request using the DescribeWorkspacesRequest method. -// req, resp := client.DescribeWorkspacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaces func (c *WorkSpaces) DescribeWorkspacesRequest(input *DescribeWorkspacesInput) (req *request.Request, output *DescribeWorkspacesOutput) { @@ -3175,11 +3166,12 @@ func (c *WorkSpaces) DescribeWorkspacesRequest(input *DescribeWorkspacesInput) ( // API operation DescribeWorkspaces for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceUnavailableException -// The specified resource is not available. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceUnavailableException +// The specified resource is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaces func (c *WorkSpaces) DescribeWorkspaces(input *DescribeWorkspacesInput) (*DescribeWorkspacesOutput, error) { @@ -3211,15 +3203,14 @@ func (c *WorkSpaces) DescribeWorkspacesWithContext(ctx aws.Context, input *Descr // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a DescribeWorkspaces operation. -// pageNum := 0 -// err := client.DescribeWorkspacesPages(params, -// func(page *workspaces.DescribeWorkspacesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a DescribeWorkspaces operation. +// pageNum := 0 +// err := client.DescribeWorkspacesPages(params, +// func(page *workspaces.DescribeWorkspacesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkSpaces) DescribeWorkspacesPages(input *DescribeWorkspacesInput, fn func(*DescribeWorkspacesOutput, bool) bool) error { return c.DescribeWorkspacesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3271,14 +3262,13 @@ const opDescribeWorkspacesConnectionStatus = "DescribeWorkspacesConnectionStatus // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DescribeWorkspacesConnectionStatusRequest method. +// req, resp := client.DescribeWorkspacesConnectionStatusRequest(params) // -// // Example sending a request using the DescribeWorkspacesConnectionStatusRequest method. -// req, resp := client.DescribeWorkspacesConnectionStatusRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatus func (c *WorkSpaces) DescribeWorkspacesConnectionStatusRequest(input *DescribeWorkspacesConnectionStatusInput) (req *request.Request, output *DescribeWorkspacesConnectionStatusOutput) { @@ -3309,8 +3299,8 @@ func (c *WorkSpaces) DescribeWorkspacesConnectionStatusRequest(input *DescribeWo // API operation DescribeWorkspacesConnectionStatus for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatus func (c *WorkSpaces) DescribeWorkspacesConnectionStatus(input *DescribeWorkspacesConnectionStatusInput) (*DescribeWorkspacesConnectionStatusOutput, error) { @@ -3350,14 +3340,13 @@ const opDisassociateConnectionAlias = "DisassociateConnectionAlias" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateConnectionAliasRequest method. +// req, resp := client.DisassociateConnectionAliasRequest(params) // -// // Example sending a request using the DisassociateConnectionAliasRequest method. -// req, resp := client.DisassociateConnectionAliasRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DisassociateConnectionAlias func (c *WorkSpaces) DisassociateConnectionAliasRequest(input *DisassociateConnectionAliasInput) (req *request.Request, output *DisassociateConnectionAliasOutput) { @@ -3395,20 +3384,21 @@ func (c *WorkSpaces) DisassociateConnectionAliasRequest(input *DisassociateConne // API operation DisassociateConnectionAlias for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The user is not authorized to access a resource. // -// * ResourceNotFoundException -// The resource could not be found. +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// - ResourceNotFoundException +// The resource could not be found. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. // -// * OperationNotSupportedException -// This operation is not supported. +// - OperationNotSupportedException +// This operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DisassociateConnectionAlias func (c *WorkSpaces) DisassociateConnectionAlias(input *DisassociateConnectionAliasInput) (*DisassociateConnectionAliasOutput, error) { @@ -3448,14 +3438,13 @@ const opDisassociateIpGroups = "DisassociateIpGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateIpGroupsRequest method. +// req, resp := client.DisassociateIpGroupsRequest(params) // -// // Example sending a request using the DisassociateIpGroupsRequest method. -// req, resp := client.DisassociateIpGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DisassociateIpGroups func (c *WorkSpaces) DisassociateIpGroupsRequest(input *DisassociateIpGroupsInput) (req *request.Request, output *DisassociateIpGroupsOutput) { @@ -3487,17 +3476,18 @@ func (c *WorkSpaces) DisassociateIpGroupsRequest(input *DisassociateIpGroupsInpu // API operation DisassociateIpGroups for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// The resource could not be found. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DisassociateIpGroups func (c *WorkSpaces) DisassociateIpGroups(input *DisassociateIpGroupsInput) (*DisassociateIpGroupsOutput, error) { @@ -3537,14 +3527,13 @@ const opImportClientBranding = "ImportClientBranding" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportClientBrandingRequest method. +// req, resp := client.ImportClientBrandingRequest(params) // -// // Example sending a request using the ImportClientBrandingRequest method. -// req, resp := client.ImportClientBrandingRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportClientBranding func (c *WorkSpaces) ImportClientBrandingRequest(input *ImportClientBrandingInput) (req *request.Request, output *ImportClientBrandingOutput) { @@ -3573,17 +3562,17 @@ func (c *WorkSpaces) ImportClientBrandingRequest(input *ImportClientBrandingInpu // After you import client branding, the default branding experience for the // specified platform type is replaced with the imported experience // -// * You must specify at least one platform type when importing client branding. +// - You must specify at least one platform type when importing client branding. // -// * You can import up to 6 MB of data with each request. If your request -// exceeds this limit, you can import client branding for different platform -// types using separate requests. +// - You can import up to 6 MB of data with each request. If your request +// exceeds this limit, you can import client branding for different platform +// types using separate requests. // -// * In each platform type, the SupportEmail and SupportLink parameters are -// mutually exclusive. You can specify only one parameter for each platform -// type, but not both. +// - In each platform type, the SupportEmail and SupportLink parameters are +// mutually exclusive. You can specify only one parameter for each platform +// type, but not both. // -// * Imported data can take up to a minute to appear in the WorkSpaces client. +// - Imported data can take up to a minute to appear in the WorkSpaces client. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -3593,14 +3582,15 @@ func (c *WorkSpaces) ImportClientBrandingRequest(input *ImportClientBrandingInpu // API operation ImportClientBranding for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportClientBranding func (c *WorkSpaces) ImportClientBranding(input *ImportClientBrandingInput) (*ImportClientBrandingOutput, error) { @@ -3640,14 +3630,13 @@ const opImportWorkspaceImage = "ImportWorkspaceImage" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ImportWorkspaceImageRequest method. +// req, resp := client.ImportWorkspaceImageRequest(params) // -// // Example sending a request using the ImportWorkspaceImageRequest method. -// req, resp := client.ImportWorkspaceImageRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportWorkspaceImage func (c *WorkSpaces) ImportWorkspaceImageRequest(input *ImportWorkspaceImageInput) (req *request.Request, output *ImportWorkspaceImageOutput) { @@ -3682,23 +3671,24 @@ func (c *WorkSpaces) ImportWorkspaceImageRequest(input *ImportWorkspaceImageInpu // API operation ImportWorkspaceImage for usage and error information. // // Returned Error Types: -// * ResourceLimitExceededException -// Your resource limits have been exceeded. // -// * ResourceAlreadyExistsException -// The specified resource already exists. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceAlreadyExistsException +// The specified resource already exists. // -// * OperationNotSupportedException -// This operation is not supported. +// - ResourceNotFoundException +// The resource could not be found. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - OperationNotSupportedException +// This operation is not supported. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportWorkspaceImage func (c *WorkSpaces) ImportWorkspaceImage(input *ImportWorkspaceImageInput) (*ImportWorkspaceImageOutput, error) { @@ -3738,14 +3728,13 @@ const opListAvailableManagementCidrRanges = "ListAvailableManagementCidrRanges" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListAvailableManagementCidrRangesRequest method. +// req, resp := client.ListAvailableManagementCidrRangesRequest(params) // -// // Example sending a request using the ListAvailableManagementCidrRangesRequest method. -// req, resp := client.ListAvailableManagementCidrRangesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAvailableManagementCidrRanges func (c *WorkSpaces) ListAvailableManagementCidrRangesRequest(input *ListAvailableManagementCidrRangesInput) (req *request.Request, output *ListAvailableManagementCidrRangesOutput) { @@ -3787,11 +3776,12 @@ func (c *WorkSpaces) ListAvailableManagementCidrRangesRequest(input *ListAvailab // API operation ListAvailableManagementCidrRanges for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAvailableManagementCidrRanges func (c *WorkSpaces) ListAvailableManagementCidrRanges(input *ListAvailableManagementCidrRangesInput) (*ListAvailableManagementCidrRangesOutput, error) { @@ -3831,14 +3821,13 @@ const opMigrateWorkspace = "MigrateWorkspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the MigrateWorkspaceRequest method. +// req, resp := client.MigrateWorkspaceRequest(params) // -// // Example sending a request using the MigrateWorkspaceRequest method. -// req, resp := client.MigrateWorkspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/MigrateWorkspace func (c *WorkSpaces) MigrateWorkspaceRequest(input *MigrateWorkspaceInput) (req *request.Request, output *MigrateWorkspaceOutput) { @@ -3880,24 +3869,25 @@ func (c *WorkSpaces) MigrateWorkspaceRequest(input *MigrateWorkspaceInput) (req // API operation MigrateWorkspace for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// The resource could not be found. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // -// * OperationNotSupportedException -// This operation is not supported. +// - OperationNotSupportedException +// This operation is not supported. // -// * OperationInProgressException -// The properties of this WorkSpace are currently being modified. Try again -// in a moment. +// - OperationInProgressException +// The properties of this WorkSpace are currently being modified. Try again +// in a moment. // -// * ResourceUnavailableException -// The specified resource is not available. +// - ResourceUnavailableException +// The specified resource is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/MigrateWorkspace func (c *WorkSpaces) MigrateWorkspace(input *MigrateWorkspaceInput) (*MigrateWorkspaceOutput, error) { @@ -3937,14 +3927,13 @@ const opModifyAccount = "ModifyAccount" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyAccountRequest method. +// req, resp := client.ModifyAccountRequest(params) // -// // Example sending a request using the ModifyAccountRequest method. -// req, resp := client.ModifyAccountRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyAccount func (c *WorkSpaces) ModifyAccountRequest(input *ModifyAccountInput) (req *request.Request, output *ModifyAccountOutput) { @@ -3977,20 +3966,21 @@ func (c *WorkSpaces) ModifyAccountRequest(input *ModifyAccountInput) (req *reque // API operation ModifyAccount for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. // -// * ResourceUnavailableException -// The specified resource is not available. +// - ResourceUnavailableException +// The specified resource is not available. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyAccount func (c *WorkSpaces) ModifyAccount(input *ModifyAccountInput) (*ModifyAccountOutput, error) { @@ -4030,14 +4020,13 @@ const opModifyClientProperties = "ModifyClientProperties" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyClientPropertiesRequest method. +// req, resp := client.ModifyClientPropertiesRequest(params) // -// // Example sending a request using the ModifyClientPropertiesRequest method. -// req, resp := client.ModifyClientPropertiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyClientProperties func (c *WorkSpaces) ModifyClientPropertiesRequest(input *ModifyClientPropertiesInput) (req *request.Request, output *ModifyClientPropertiesOutput) { @@ -4069,14 +4058,15 @@ func (c *WorkSpaces) ModifyClientPropertiesRequest(input *ModifyClientProperties // API operation ModifyClientProperties for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// The resource could not be found. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyClientProperties func (c *WorkSpaces) ModifyClientProperties(input *ModifyClientPropertiesInput) (*ModifyClientPropertiesOutput, error) { @@ -4116,14 +4106,13 @@ const opModifySelfservicePermissions = "ModifySelfservicePermissions" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifySelfservicePermissionsRequest method. +// req, resp := client.ModifySelfservicePermissionsRequest(params) // -// // Example sending a request using the ModifySelfservicePermissionsRequest method. -// req, resp := client.ModifySelfservicePermissionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifySelfservicePermissions func (c *WorkSpaces) ModifySelfservicePermissionsRequest(input *ModifySelfservicePermissionsInput) (req *request.Request, output *ModifySelfservicePermissionsOutput) { @@ -4157,14 +4146,15 @@ func (c *WorkSpaces) ModifySelfservicePermissionsRequest(input *ModifySelfservic // API operation ModifySelfservicePermissions for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The user is not authorized to access a resource. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifySelfservicePermissions func (c *WorkSpaces) ModifySelfservicePermissions(input *ModifySelfservicePermissionsInput) (*ModifySelfservicePermissionsOutput, error) { @@ -4204,14 +4194,13 @@ const opModifyWorkspaceAccessProperties = "ModifyWorkspaceAccessProperties" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyWorkspaceAccessPropertiesRequest method. +// req, resp := client.ModifyWorkspaceAccessPropertiesRequest(params) // -// // Example sending a request using the ModifyWorkspaceAccessPropertiesRequest method. -// req, resp := client.ModifyWorkspaceAccessPropertiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceAccessProperties func (c *WorkSpaces) ModifyWorkspaceAccessPropertiesRequest(input *ModifyWorkspaceAccessPropertiesInput) (req *request.Request, output *ModifyWorkspaceAccessPropertiesOutput) { @@ -4244,11 +4233,12 @@ func (c *WorkSpaces) ModifyWorkspaceAccessPropertiesRequest(input *ModifyWorkspa // API operation ModifyWorkspaceAccessProperties for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource could not be found. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - ResourceNotFoundException +// The resource could not be found. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceAccessProperties func (c *WorkSpaces) ModifyWorkspaceAccessProperties(input *ModifyWorkspaceAccessPropertiesInput) (*ModifyWorkspaceAccessPropertiesOutput, error) { @@ -4288,14 +4278,13 @@ const opModifyWorkspaceCreationProperties = "ModifyWorkspaceCreationProperties" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyWorkspaceCreationPropertiesRequest method. +// req, resp := client.ModifyWorkspaceCreationPropertiesRequest(params) // -// // Example sending a request using the ModifyWorkspaceCreationPropertiesRequest method. -// req, resp := client.ModifyWorkspaceCreationPropertiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceCreationProperties func (c *WorkSpaces) ModifyWorkspaceCreationPropertiesRequest(input *ModifyWorkspaceCreationPropertiesInput) (req *request.Request, output *ModifyWorkspaceCreationPropertiesOutput) { @@ -4327,17 +4316,18 @@ func (c *WorkSpaces) ModifyWorkspaceCreationPropertiesRequest(input *ModifyWorks // API operation ModifyWorkspaceCreationProperties for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The user is not authorized to access a resource. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - AccessDeniedException +// The user is not authorized to access a resource. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * OperationNotSupportedException -// This operation is not supported. +// - ResourceNotFoundException +// The resource could not be found. +// +// - OperationNotSupportedException +// This operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceCreationProperties func (c *WorkSpaces) ModifyWorkspaceCreationProperties(input *ModifyWorkspaceCreationPropertiesInput) (*ModifyWorkspaceCreationPropertiesOutput, error) { @@ -4377,14 +4367,13 @@ const opModifyWorkspaceProperties = "ModifyWorkspaceProperties" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyWorkspacePropertiesRequest method. +// req, resp := client.ModifyWorkspacePropertiesRequest(params) // -// // Example sending a request using the ModifyWorkspacePropertiesRequest method. -// req, resp := client.ModifyWorkspacePropertiesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceProperties func (c *WorkSpaces) ModifyWorkspacePropertiesRequest(input *ModifyWorkspacePropertiesInput) (req *request.Request, output *ModifyWorkspacePropertiesOutput) { @@ -4418,29 +4407,30 @@ func (c *WorkSpaces) ModifyWorkspacePropertiesRequest(input *ModifyWorkspaceProp // API operation ModifyWorkspaceProperties for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * OperationInProgressException -// The properties of this WorkSpace are currently being modified. Try again -// in a moment. +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. // -// * UnsupportedWorkspaceConfigurationException -// The configuration of this WorkSpace is not supported for this operation. -// For more information, see Required Configuration and Service Components for -// WorkSpaces (https://docs.aws.amazon.com/workspaces/latest/adminguide/required-service-components.html). +// - OperationInProgressException +// The properties of this WorkSpace are currently being modified. Try again +// in a moment. // -// * ResourceNotFoundException -// The resource could not be found. +// - UnsupportedWorkspaceConfigurationException +// The configuration of this WorkSpace is not supported for this operation. +// For more information, see Required Configuration and Service Components for +// WorkSpaces (https://docs.aws.amazon.com/workspaces/latest/adminguide/required-service-components.html). // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - ResourceNotFoundException +// The resource could not be found. // -// * ResourceUnavailableException -// The specified resource is not available. +// - AccessDeniedException +// The user is not authorized to access a resource. +// +// - ResourceUnavailableException +// The specified resource is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceProperties func (c *WorkSpaces) ModifyWorkspaceProperties(input *ModifyWorkspacePropertiesInput) (*ModifyWorkspacePropertiesOutput, error) { @@ -4480,14 +4470,13 @@ const opModifyWorkspaceState = "ModifyWorkspaceState" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ModifyWorkspaceStateRequest method. +// req, resp := client.ModifyWorkspaceStateRequest(params) // -// // Example sending a request using the ModifyWorkspaceStateRequest method. -// req, resp := client.ModifyWorkspaceStateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceState func (c *WorkSpaces) ModifyWorkspaceStateRequest(input *ModifyWorkspaceStateInput) (req *request.Request, output *ModifyWorkspaceStateOutput) { @@ -4525,14 +4514,15 @@ func (c *WorkSpaces) ModifyWorkspaceStateRequest(input *ModifyWorkspaceStateInpu // API operation ModifyWorkspaceState for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceNotFoundException +// The resource could not be found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyWorkspaceState func (c *WorkSpaces) ModifyWorkspaceState(input *ModifyWorkspaceStateInput) (*ModifyWorkspaceStateOutput, error) { @@ -4572,14 +4562,13 @@ const opRebootWorkspaces = "RebootWorkspaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebootWorkspacesRequest method. +// req, resp := client.RebootWorkspacesRequest(params) // -// // Example sending a request using the RebootWorkspacesRequest method. -// req, resp := client.RebootWorkspacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebootWorkspaces func (c *WorkSpaces) RebootWorkspacesRequest(input *RebootWorkspacesInput) (req *request.Request, output *RebootWorkspacesOutput) { @@ -4650,14 +4639,13 @@ const opRebuildWorkspaces = "RebuildWorkspaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RebuildWorkspacesRequest method. +// req, resp := client.RebuildWorkspacesRequest(params) // -// // Example sending a request using the RebuildWorkspacesRequest method. -// req, resp := client.RebuildWorkspacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildWorkspaces func (c *WorkSpaces) RebuildWorkspacesRequest(input *RebuildWorkspacesInput) (req *request.Request, output *RebuildWorkspacesOutput) { @@ -4733,14 +4721,13 @@ const opRegisterWorkspaceDirectory = "RegisterWorkspaceDirectory" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RegisterWorkspaceDirectoryRequest method. +// req, resp := client.RegisterWorkspaceDirectoryRequest(params) // -// // Example sending a request using the RegisterWorkspaceDirectoryRequest method. -// req, resp := client.RegisterWorkspaceDirectoryRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RegisterWorkspaceDirectory func (c *WorkSpaces) RegisterWorkspaceDirectoryRequest(input *RegisterWorkspaceDirectoryInput) (req *request.Request, output *RegisterWorkspaceDirectoryOutput) { @@ -4776,35 +4763,36 @@ func (c *WorkSpaces) RegisterWorkspaceDirectoryRequest(input *RegisterWorkspaceD // API operation RegisterWorkspaceDirectory for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// The resource could not be found. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // -// * WorkspacesDefaultRoleNotFoundException -// The workspaces_DefaultRole role could not be found. If this is the first -// time you are registering a directory, you will need to create the workspaces_DefaultRole -// role before you can register a directory. For more information, see Creating -// the workspaces_DefaultRole Role (https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role). +// - WorkspacesDefaultRoleNotFoundException +// The workspaces_DefaultRole role could not be found. If this is the first +// time you are registering a directory, you will need to create the workspaces_DefaultRole +// role before you can register a directory. For more information, see Creating +// the workspaces_DefaultRole Role (https://docs.aws.amazon.com/workspaces/latest/adminguide/workspaces-access-control.html#create-default-role). // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. // -// * UnsupportedNetworkConfigurationException -// The configuration of this network is not supported for this operation, or -// your network configuration conflicts with the Amazon WorkSpaces management -// network IP range. For more information, see Configure a VPC for Amazon WorkSpaces -// (https://docs.aws.amazon.com/workspaces/latest/adminguide/amazon-workspaces-vpc.html). +// - UnsupportedNetworkConfigurationException +// The configuration of this network is not supported for this operation, or +// your network configuration conflicts with the Amazon WorkSpaces management +// network IP range. For more information, see Configure a VPC for Amazon WorkSpaces +// (https://docs.aws.amazon.com/workspaces/latest/adminguide/amazon-workspaces-vpc.html). // -// * OperationNotSupportedException -// This operation is not supported. +// - OperationNotSupportedException +// This operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RegisterWorkspaceDirectory func (c *WorkSpaces) RegisterWorkspaceDirectory(input *RegisterWorkspaceDirectoryInput) (*RegisterWorkspaceDirectoryOutput, error) { @@ -4844,14 +4832,13 @@ const opRestoreWorkspace = "RestoreWorkspace" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RestoreWorkspaceRequest method. +// req, resp := client.RestoreWorkspaceRequest(params) // -// // Example sending a request using the RestoreWorkspaceRequest method. -// req, resp := client.RestoreWorkspaceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RestoreWorkspace func (c *WorkSpaces) RestoreWorkspaceRequest(input *RestoreWorkspaceInput) (req *request.Request, output *RestoreWorkspaceOutput) { @@ -4892,14 +4879,15 @@ func (c *WorkSpaces) RestoreWorkspaceRequest(input *RestoreWorkspaceInput) (req // API operation RestoreWorkspace for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// The resource could not be found. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RestoreWorkspace func (c *WorkSpaces) RestoreWorkspace(input *RestoreWorkspaceInput) (*RestoreWorkspaceOutput, error) { @@ -4939,14 +4927,13 @@ const opRevokeIpRules = "RevokeIpRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the RevokeIpRulesRequest method. +// req, resp := client.RevokeIpRulesRequest(params) // -// // Example sending a request using the RevokeIpRulesRequest method. -// req, resp := client.RevokeIpRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RevokeIpRules func (c *WorkSpaces) RevokeIpRulesRequest(input *RevokeIpRulesInput) (req *request.Request, output *RevokeIpRulesOutput) { @@ -4978,17 +4965,18 @@ func (c *WorkSpaces) RevokeIpRulesRequest(input *RevokeIpRulesInput) (req *reque // API operation RevokeIpRules for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - ResourceNotFoundException +// The resource could not be found. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RevokeIpRules func (c *WorkSpaces) RevokeIpRules(input *RevokeIpRulesInput) (*RevokeIpRulesOutput, error) { @@ -5028,14 +5016,13 @@ const opStartWorkspaces = "StartWorkspaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StartWorkspacesRequest method. +// req, resp := client.StartWorkspacesRequest(params) // -// // Example sending a request using the StartWorkspacesRequest method. -// req, resp := client.StartWorkspacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartWorkspaces func (c *WorkSpaces) StartWorkspacesRequest(input *StartWorkspacesInput) (req *request.Request, output *StartWorkspacesOutput) { @@ -5105,14 +5092,13 @@ const opStopWorkspaces = "StopWorkspaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the StopWorkspacesRequest method. +// req, resp := client.StopWorkspacesRequest(params) // -// // Example sending a request using the StopWorkspacesRequest method. -// req, resp := client.StopWorkspacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopWorkspaces func (c *WorkSpaces) StopWorkspacesRequest(input *StopWorkspacesInput) (req *request.Request, output *StopWorkspacesOutput) { @@ -5182,14 +5168,13 @@ const opTerminateWorkspaces = "TerminateWorkspaces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TerminateWorkspacesRequest method. +// req, resp := client.TerminateWorkspacesRequest(params) // -// // Example sending a request using the TerminateWorkspacesRequest method. -// req, resp := client.TerminateWorkspacesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateWorkspaces func (c *WorkSpaces) TerminateWorkspacesRequest(input *TerminateWorkspacesInput) (req *request.Request, output *TerminateWorkspacesOutput) { @@ -5281,14 +5266,13 @@ const opUpdateConnectClientAddIn = "UpdateConnectClientAddIn" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConnectClientAddInRequest method. +// req, resp := client.UpdateConnectClientAddInRequest(params) // -// // Example sending a request using the UpdateConnectClientAddInRequest method. -// req, resp := client.UpdateConnectClientAddInRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateConnectClientAddIn func (c *WorkSpaces) UpdateConnectClientAddInRequest(input *UpdateConnectClientAddInInput) (req *request.Request, output *UpdateConnectClientAddInOutput) { @@ -5321,14 +5305,15 @@ func (c *WorkSpaces) UpdateConnectClientAddInRequest(input *UpdateConnectClientA // API operation UpdateConnectClientAddIn for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. +// +// - ResourceNotFoundException +// The resource could not be found. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateConnectClientAddIn func (c *WorkSpaces) UpdateConnectClientAddIn(input *UpdateConnectClientAddInInput) (*UpdateConnectClientAddInOutput, error) { @@ -5368,14 +5353,13 @@ const opUpdateConnectionAliasPermission = "UpdateConnectionAliasPermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateConnectionAliasPermissionRequest method. +// req, resp := client.UpdateConnectionAliasPermissionRequest(params) // -// // Example sending a request using the UpdateConnectionAliasPermissionRequest method. -// req, resp := client.UpdateConnectionAliasPermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateConnectionAliasPermission func (c *WorkSpaces) UpdateConnectionAliasPermissionRequest(input *UpdateConnectionAliasPermissionInput) (req *request.Request, output *UpdateConnectionAliasPermissionOutput) { @@ -5404,15 +5388,15 @@ func (c *WorkSpaces) UpdateConnectionAliasPermissionRequest(input *UpdateConnect // alias is unshared with the account. For more information, see Cross-Region // Redirection for Amazon WorkSpaces (https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html). // -// * Before performing this operation, call DescribeConnectionAliases (https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html) -// to make sure that the current state of the connection alias is CREATED. +// - Before performing this operation, call DescribeConnectionAliases (https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeConnectionAliases.html) +// to make sure that the current state of the connection alias is CREATED. // -// * To delete a connection alias that has been shared, the shared account -// must first disassociate the connection alias from any directories it has -// been associated with. Then you must unshare the connection alias from -// the account it has been shared with. You can delete a connection alias -// only after it is no longer shared with any accounts or associated with -// any directories. +// - To delete a connection alias that has been shared, the shared account +// must first disassociate the connection alias from any directories it has +// been associated with. Then you must unshare the connection alias from +// the account it has been shared with. You can delete a connection alias +// only after it is no longer shared with any accounts or associated with +// any directories. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5422,26 +5406,27 @@ func (c *WorkSpaces) UpdateConnectionAliasPermissionRequest(input *UpdateConnect // API operation UpdateConnectionAliasPermission for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The user is not authorized to access a resource. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - AccessDeniedException +// The user is not authorized to access a resource. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * ResourceAssociatedException -// The resource is associated with a directory. +// - ResourceNotFoundException +// The resource could not be found. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - ResourceAssociatedException +// The resource is associated with a directory. // -// * OperationNotSupportedException -// This operation is not supported. +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. +// +// - OperationNotSupportedException +// This operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateConnectionAliasPermission func (c *WorkSpaces) UpdateConnectionAliasPermission(input *UpdateConnectionAliasPermissionInput) (*UpdateConnectionAliasPermissionOutput, error) { @@ -5481,14 +5466,13 @@ const opUpdateRulesOfIpGroup = "UpdateRulesOfIpGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateRulesOfIpGroupRequest method. +// req, resp := client.UpdateRulesOfIpGroupRequest(params) // -// // Example sending a request using the UpdateRulesOfIpGroupRequest method. -// req, resp := client.UpdateRulesOfIpGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateRulesOfIpGroup func (c *WorkSpaces) UpdateRulesOfIpGroupRequest(input *UpdateRulesOfIpGroupInput) (req *request.Request, output *UpdateRulesOfIpGroupOutput) { @@ -5521,20 +5505,21 @@ func (c *WorkSpaces) UpdateRulesOfIpGroupRequest(input *UpdateRulesOfIpGroupInpu // API operation UpdateRulesOfIpGroup for usage and error information. // // Returned Error Types: -// * InvalidParameterValuesException -// One or more parameter values are not valid. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * ResourceLimitExceededException -// Your resource limits have been exceeded. +// - ResourceNotFoundException +// The resource could not be found. // -// * InvalidResourceStateException -// The state of the resource is not valid for this operation. +// - ResourceLimitExceededException +// Your resource limits have been exceeded. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - InvalidResourceStateException +// The state of the resource is not valid for this operation. +// +// - AccessDeniedException +// The user is not authorized to access a resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateRulesOfIpGroup func (c *WorkSpaces) UpdateRulesOfIpGroup(input *UpdateRulesOfIpGroupInput) (*UpdateRulesOfIpGroupOutput, error) { @@ -5574,14 +5559,13 @@ const opUpdateWorkspaceBundle = "UpdateWorkspaceBundle" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWorkspaceBundleRequest method. +// req, resp := client.UpdateWorkspaceBundleRequest(params) // -// // Example sending a request using the UpdateWorkspaceBundleRequest method. -// req, resp := client.UpdateWorkspaceBundleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceBundle func (c *WorkSpaces) UpdateWorkspaceBundleRequest(input *UpdateWorkspaceBundleInput) (req *request.Request, output *UpdateWorkspaceBundleOutput) { @@ -5619,17 +5603,18 @@ func (c *WorkSpaces) UpdateWorkspaceBundleRequest(input *UpdateWorkspaceBundleIn // API operation UpdateWorkspaceBundle for usage and error information. // // Returned Error Types: -// * AccessDeniedException -// The user is not authorized to access a resource. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - AccessDeniedException +// The user is not authorized to access a resource. // -// * ResourceNotFoundException -// The resource could not be found. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * ResourceUnavailableException -// The specified resource is not available. +// - ResourceNotFoundException +// The resource could not be found. +// +// - ResourceUnavailableException +// The specified resource is not available. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceBundle func (c *WorkSpaces) UpdateWorkspaceBundle(input *UpdateWorkspaceBundleInput) (*UpdateWorkspaceBundleOutput, error) { @@ -5669,14 +5654,13 @@ const opUpdateWorkspaceImagePermission = "UpdateWorkspaceImagePermission" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateWorkspaceImagePermissionRequest method. +// req, resp := client.UpdateWorkspaceImagePermissionRequest(params) // -// // Example sending a request using the UpdateWorkspaceImagePermissionRequest method. -// req, resp := client.UpdateWorkspaceImagePermissionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceImagePermission func (c *WorkSpaces) UpdateWorkspaceImagePermissionRequest(input *UpdateWorkspaceImagePermissionInput) (req *request.Request, output *UpdateWorkspaceImagePermissionOutput) { @@ -5714,13 +5698,13 @@ func (c *WorkSpaces) UpdateWorkspaceImagePermissionRequest(input *UpdateWorkspac // For more information about sharing images, see Share or Unshare a Custom // WorkSpaces Image (https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html). // -// * To delete an image that has been shared, you must unshare the image -// before you delete it. +// - To delete an image that has been shared, you must unshare the image +// before you delete it. // -// * Sharing Bring Your Own License (BYOL) images across Amazon Web Services -// accounts isn't supported at this time in Amazon Web Services GovCloud -// (US). To share BYOL images across accounts in Amazon Web Services GovCloud -// (US), contact Amazon Web Services Support. +// - Sharing Bring Your Own License (BYOL) images across Amazon Web Services +// accounts isn't supported at this time in Amazon Web Services GovCloud +// (US). To share BYOL images across accounts in Amazon Web Services GovCloud +// (US), contact Amazon Web Services Support. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -5730,20 +5714,21 @@ func (c *WorkSpaces) UpdateWorkspaceImagePermissionRequest(input *UpdateWorkspac // API operation UpdateWorkspaceImagePermission for usage and error information. // // Returned Error Types: -// * ResourceNotFoundException -// The resource could not be found. // -// * ResourceUnavailableException -// The specified resource is not available. +// - ResourceNotFoundException +// The resource could not be found. +// +// - ResourceUnavailableException +// The specified resource is not available. // -// * AccessDeniedException -// The user is not authorized to access a resource. +// - AccessDeniedException +// The user is not authorized to access a resource. // -// * InvalidParameterValuesException -// One or more parameter values are not valid. +// - InvalidParameterValuesException +// One or more parameter values are not valid. // -// * OperationNotSupportedException -// This operation is not supported. +// - OperationNotSupportedException +// This operation is not supported. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceImagePermission func (c *WorkSpaces) UpdateWorkspaceImagePermission(input *UpdateWorkspaceImagePermissionInput) (*UpdateWorkspaceImagePermissionOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/doc.go index 2f5b430bd7d9..6a8f0c2e2909 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/doc.go @@ -29,7 +29,7 @@ // See workspaces package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/workspaces/ // -// Using the Client +// # Using the Client // // To contact Amazon WorkSpaces with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/service.go index d531b819639b..27e1a80068cf 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a WorkSpaces client from just a session. -// svc := workspaces.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a WorkSpaces client with additional configuration -// svc := workspaces.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a WorkSpaces client from just a session. +// svc := workspaces.New(mySession) +// +// // Create a WorkSpaces client with additional configuration +// svc := workspaces.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *WorkSpaces { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/workspacesiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/workspacesiface/interface.go index 2fd2c501a74f..8f0b58298d77 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/workspacesiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspaces/workspacesiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon WorkSpaces. -// func myFunc(svc workspacesiface.WorkSpacesAPI) bool { -// // Make svc.AssociateConnectionAlias request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon WorkSpaces. +// func myFunc(svc workspacesiface.WorkSpacesAPI) bool { +// // Make svc.AssociateConnectionAlias request +// } // -// func main() { -// sess := session.New() -// svc := workspaces.New(sess) +// func main() { +// sess := session.New() +// svc := workspaces.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockWorkSpacesClient struct { -// workspacesiface.WorkSpacesAPI -// } -// func (m *mockWorkSpacesClient) AssociateConnectionAlias(input *workspaces.AssociateConnectionAliasInput) (*workspaces.AssociateConnectionAliasOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockWorkSpacesClient struct { +// workspacesiface.WorkSpacesAPI +// } +// func (m *mockWorkSpacesClient) AssociateConnectionAlias(input *workspaces.AssociateConnectionAliasInput) (*workspaces.AssociateConnectionAliasOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockWorkSpacesClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockWorkSpacesClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/api.go index 40f0e079afac..146111c6eeac 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/api.go @@ -29,14 +29,13 @@ const opAssociateBrowserSettings = "AssociateBrowserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateBrowserSettingsRequest method. +// req, resp := client.AssociateBrowserSettingsRequest(params) // -// // Example sending a request using the AssociateBrowserSettingsRequest method. -// req, resp := client.AssociateBrowserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/AssociateBrowserSettings func (c *WorkSpacesWeb) AssociateBrowserSettingsRequest(input *AssociateBrowserSettingsInput) (req *request.Request, output *AssociateBrowserSettingsOutput) { @@ -67,23 +66,24 @@ func (c *WorkSpacesWeb) AssociateBrowserSettingsRequest(input *AssociateBrowserS // API operation AssociateBrowserSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // -// * ConflictException -// There is a conflict. +// - ConflictException +// There is a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/AssociateBrowserSettings func (c *WorkSpacesWeb) AssociateBrowserSettings(input *AssociateBrowserSettingsInput) (*AssociateBrowserSettingsOutput, error) { @@ -123,14 +123,13 @@ const opAssociateNetworkSettings = "AssociateNetworkSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateNetworkSettingsRequest method. +// req, resp := client.AssociateNetworkSettingsRequest(params) // -// // Example sending a request using the AssociateNetworkSettingsRequest method. -// req, resp := client.AssociateNetworkSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/AssociateNetworkSettings func (c *WorkSpacesWeb) AssociateNetworkSettingsRequest(input *AssociateNetworkSettingsInput) (req *request.Request, output *AssociateNetworkSettingsOutput) { @@ -161,23 +160,24 @@ func (c *WorkSpacesWeb) AssociateNetworkSettingsRequest(input *AssociateNetworkS // API operation AssociateNetworkSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - ResourceNotFoundException +// The resource cannot be found. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// There is a validation error. +// - ThrottlingException +// There is a throttling error. // -// * ConflictException -// There is a conflict. +// - ValidationException +// There is a validation error. +// +// - ConflictException +// There is a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/AssociateNetworkSettings func (c *WorkSpacesWeb) AssociateNetworkSettings(input *AssociateNetworkSettingsInput) (*AssociateNetworkSettingsOutput, error) { @@ -217,14 +217,13 @@ const opAssociateTrustStore = "AssociateTrustStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateTrustStoreRequest method. +// req, resp := client.AssociateTrustStoreRequest(params) // -// // Example sending a request using the AssociateTrustStoreRequest method. -// req, resp := client.AssociateTrustStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/AssociateTrustStore func (c *WorkSpacesWeb) AssociateTrustStoreRequest(input *AssociateTrustStoreInput) (req *request.Request, output *AssociateTrustStoreOutput) { @@ -255,20 +254,21 @@ func (c *WorkSpacesWeb) AssociateTrustStoreRequest(input *AssociateTrustStoreInp // API operation AssociateTrustStore for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/AssociateTrustStore func (c *WorkSpacesWeb) AssociateTrustStore(input *AssociateTrustStoreInput) (*AssociateTrustStoreOutput, error) { @@ -308,14 +308,13 @@ const opAssociateUserSettings = "AssociateUserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the AssociateUserSettingsRequest method. +// req, resp := client.AssociateUserSettingsRequest(params) // -// // Example sending a request using the AssociateUserSettingsRequest method. -// req, resp := client.AssociateUserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/AssociateUserSettings func (c *WorkSpacesWeb) AssociateUserSettingsRequest(input *AssociateUserSettingsInput) (req *request.Request, output *AssociateUserSettingsOutput) { @@ -346,23 +345,24 @@ func (c *WorkSpacesWeb) AssociateUserSettingsRequest(input *AssociateUserSetting // API operation AssociateUserSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // -// * ConflictException -// There is a conflict. +// - ConflictException +// There is a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/AssociateUserSettings func (c *WorkSpacesWeb) AssociateUserSettings(input *AssociateUserSettingsInput) (*AssociateUserSettingsOutput, error) { @@ -402,14 +402,13 @@ const opCreateBrowserSettings = "CreateBrowserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateBrowserSettingsRequest method. +// req, resp := client.CreateBrowserSettingsRequest(params) // -// // Example sending a request using the CreateBrowserSettingsRequest method. -// req, resp := client.CreateBrowserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateBrowserSettings func (c *WorkSpacesWeb) CreateBrowserSettingsRequest(input *CreateBrowserSettingsInput) (req *request.Request, output *CreateBrowserSettingsOutput) { @@ -442,26 +441,27 @@ func (c *WorkSpacesWeb) CreateBrowserSettingsRequest(input *CreateBrowserSetting // API operation CreateBrowserSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - ResourceNotFoundException +// The resource cannot be found. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ServiceQuotaExceededException -// The service quota has been exceeded. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ServiceQuotaExceededException +// The service quota has been exceeded. // -// * ConflictException -// There is a conflict. +// - ValidationException +// There is a validation error. +// +// - ConflictException +// There is a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateBrowserSettings func (c *WorkSpacesWeb) CreateBrowserSettings(input *CreateBrowserSettingsInput) (*CreateBrowserSettingsOutput, error) { @@ -501,14 +501,13 @@ const opCreateIdentityProvider = "CreateIdentityProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateIdentityProviderRequest method. +// req, resp := client.CreateIdentityProviderRequest(params) // -// // Example sending a request using the CreateIdentityProviderRequest method. -// req, resp := client.CreateIdentityProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateIdentityProvider func (c *WorkSpacesWeb) CreateIdentityProviderRequest(input *CreateIdentityProviderInput) (req *request.Request, output *CreateIdentityProviderOutput) { @@ -540,26 +539,27 @@ func (c *WorkSpacesWeb) CreateIdentityProviderRequest(input *CreateIdentityProvi // API operation CreateIdentityProvider for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ServiceQuotaExceededException -// The service quota has been exceeded. +// - ServiceQuotaExceededException +// The service quota has been exceeded. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // -// * ConflictException -// There is a conflict. +// - ConflictException +// There is a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateIdentityProvider func (c *WorkSpacesWeb) CreateIdentityProvider(input *CreateIdentityProviderInput) (*CreateIdentityProviderOutput, error) { @@ -599,14 +599,13 @@ const opCreateNetworkSettings = "CreateNetworkSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateNetworkSettingsRequest method. +// req, resp := client.CreateNetworkSettingsRequest(params) // -// // Example sending a request using the CreateNetworkSettingsRequest method. -// req, resp := client.CreateNetworkSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateNetworkSettings func (c *WorkSpacesWeb) CreateNetworkSettingsRequest(input *CreateNetworkSettingsInput) (req *request.Request, output *CreateNetworkSettingsOutput) { @@ -639,23 +638,24 @@ func (c *WorkSpacesWeb) CreateNetworkSettingsRequest(input *CreateNetworkSetting // API operation CreateNetworkSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// There is an internal server error. +// +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ServiceQuotaExceededException -// The service quota has been exceeded. +// - ServiceQuotaExceededException +// The service quota has been exceeded. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // -// * ConflictException -// There is a conflict. +// - ConflictException +// There is a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateNetworkSettings func (c *WorkSpacesWeb) CreateNetworkSettings(input *CreateNetworkSettingsInput) (*CreateNetworkSettingsOutput, error) { @@ -695,14 +695,13 @@ const opCreatePortal = "CreatePortal" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreatePortalRequest method. +// req, resp := client.CreatePortalRequest(params) // -// // Example sending a request using the CreatePortalRequest method. -// req, resp := client.CreatePortalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreatePortal func (c *WorkSpacesWeb) CreatePortalRequest(input *CreatePortalInput) (req *request.Request, output *CreatePortalOutput) { @@ -733,26 +732,27 @@ func (c *WorkSpacesWeb) CreatePortalRequest(input *CreatePortalInput) (req *requ // API operation CreatePortal for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - ResourceNotFoundException +// The resource cannot be found. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ServiceQuotaExceededException -// The service quota has been exceeded. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ServiceQuotaExceededException +// The service quota has been exceeded. // -// * ConflictException -// There is a conflict. +// - ValidationException +// There is a validation error. +// +// - ConflictException +// There is a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreatePortal func (c *WorkSpacesWeb) CreatePortal(input *CreatePortalInput) (*CreatePortalOutput, error) { @@ -792,14 +792,13 @@ const opCreateTrustStore = "CreateTrustStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateTrustStoreRequest method. +// req, resp := client.CreateTrustStoreRequest(params) // -// // Example sending a request using the CreateTrustStoreRequest method. -// req, resp := client.CreateTrustStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateTrustStore func (c *WorkSpacesWeb) CreateTrustStoreRequest(input *CreateTrustStoreInput) (req *request.Request, output *CreateTrustStoreOutput) { @@ -835,23 +834,24 @@ func (c *WorkSpacesWeb) CreateTrustStoreRequest(input *CreateTrustStoreInput) (r // API operation CreateTrustStore for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// There is an internal server error. +// +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ServiceQuotaExceededException -// The service quota has been exceeded. +// - ServiceQuotaExceededException +// The service quota has been exceeded. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // -// * ConflictException -// There is a conflict. +// - ConflictException +// There is a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateTrustStore func (c *WorkSpacesWeb) CreateTrustStore(input *CreateTrustStoreInput) (*CreateTrustStoreOutput, error) { @@ -891,14 +891,13 @@ const opCreateUserSettings = "CreateUserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateUserSettingsRequest method. +// req, resp := client.CreateUserSettingsRequest(params) // -// // Example sending a request using the CreateUserSettingsRequest method. -// req, resp := client.CreateUserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateUserSettings func (c *WorkSpacesWeb) CreateUserSettingsRequest(input *CreateUserSettingsInput) (req *request.Request, output *CreateUserSettingsOutput) { @@ -931,23 +930,24 @@ func (c *WorkSpacesWeb) CreateUserSettingsRequest(input *CreateUserSettingsInput // API operation CreateUserSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// There is an internal server error. +// +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ServiceQuotaExceededException -// The service quota has been exceeded. +// - ServiceQuotaExceededException +// The service quota has been exceeded. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // -// * ConflictException -// There is a conflict. +// - ConflictException +// There is a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/CreateUserSettings func (c *WorkSpacesWeb) CreateUserSettings(input *CreateUserSettingsInput) (*CreateUserSettingsOutput, error) { @@ -987,14 +987,13 @@ const opDeleteBrowserSettings = "DeleteBrowserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteBrowserSettingsRequest method. +// req, resp := client.DeleteBrowserSettingsRequest(params) // -// // Example sending a request using the DeleteBrowserSettingsRequest method. -// req, resp := client.DeleteBrowserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteBrowserSettings func (c *WorkSpacesWeb) DeleteBrowserSettingsRequest(input *DeleteBrowserSettingsInput) (req *request.Request, output *DeleteBrowserSettingsOutput) { @@ -1026,20 +1025,21 @@ func (c *WorkSpacesWeb) DeleteBrowserSettingsRequest(input *DeleteBrowserSetting // API operation DeleteBrowserSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// There is an internal server error. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// There is a validation error. +// - ThrottlingException +// There is a throttling error. // -// * ConflictException -// There is a conflict. +// - ValidationException +// There is a validation error. +// +// - ConflictException +// There is a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteBrowserSettings func (c *WorkSpacesWeb) DeleteBrowserSettings(input *DeleteBrowserSettingsInput) (*DeleteBrowserSettingsOutput, error) { @@ -1079,14 +1079,13 @@ const opDeleteIdentityProvider = "DeleteIdentityProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteIdentityProviderRequest method. +// req, resp := client.DeleteIdentityProviderRequest(params) // -// // Example sending a request using the DeleteIdentityProviderRequest method. -// req, resp := client.DeleteIdentityProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteIdentityProvider func (c *WorkSpacesWeb) DeleteIdentityProviderRequest(input *DeleteIdentityProviderInput) (req *request.Request, output *DeleteIdentityProviderOutput) { @@ -1118,20 +1117,21 @@ func (c *WorkSpacesWeb) DeleteIdentityProviderRequest(input *DeleteIdentityProvi // API operation DeleteIdentityProvider for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// There is an internal server error. +// +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // -// * ConflictException -// There is a conflict. +// - ConflictException +// There is a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteIdentityProvider func (c *WorkSpacesWeb) DeleteIdentityProvider(input *DeleteIdentityProviderInput) (*DeleteIdentityProviderOutput, error) { @@ -1171,14 +1171,13 @@ const opDeleteNetworkSettings = "DeleteNetworkSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteNetworkSettingsRequest method. +// req, resp := client.DeleteNetworkSettingsRequest(params) // -// // Example sending a request using the DeleteNetworkSettingsRequest method. -// req, resp := client.DeleteNetworkSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteNetworkSettings func (c *WorkSpacesWeb) DeleteNetworkSettingsRequest(input *DeleteNetworkSettingsInput) (req *request.Request, output *DeleteNetworkSettingsOutput) { @@ -1210,20 +1209,21 @@ func (c *WorkSpacesWeb) DeleteNetworkSettingsRequest(input *DeleteNetworkSetting // API operation DeleteNetworkSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// There is an internal server error. +// +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // -// * ConflictException -// There is a conflict. +// - ConflictException +// There is a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteNetworkSettings func (c *WorkSpacesWeb) DeleteNetworkSettings(input *DeleteNetworkSettingsInput) (*DeleteNetworkSettingsOutput, error) { @@ -1263,14 +1263,13 @@ const opDeletePortal = "DeletePortal" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeletePortalRequest method. +// req, resp := client.DeletePortalRequest(params) // -// // Example sending a request using the DeletePortalRequest method. -// req, resp := client.DeletePortalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeletePortal func (c *WorkSpacesWeb) DeletePortalRequest(input *DeletePortalInput) (req *request.Request, output *DeletePortalOutput) { @@ -1302,20 +1301,21 @@ func (c *WorkSpacesWeb) DeletePortalRequest(input *DeletePortalInput) (req *requ // API operation DeletePortal for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// There is an internal server error. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// There is a validation error. +// - ThrottlingException +// There is a throttling error. // -// * ConflictException -// There is a conflict. +// - ValidationException +// There is a validation error. +// +// - ConflictException +// There is a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeletePortal func (c *WorkSpacesWeb) DeletePortal(input *DeletePortalInput) (*DeletePortalOutput, error) { @@ -1355,14 +1355,13 @@ const opDeleteTrustStore = "DeleteTrustStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteTrustStoreRequest method. +// req, resp := client.DeleteTrustStoreRequest(params) // -// // Example sending a request using the DeleteTrustStoreRequest method. -// req, resp := client.DeleteTrustStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteTrustStore func (c *WorkSpacesWeb) DeleteTrustStoreRequest(input *DeleteTrustStoreInput) (req *request.Request, output *DeleteTrustStoreOutput) { @@ -1394,20 +1393,21 @@ func (c *WorkSpacesWeb) DeleteTrustStoreRequest(input *DeleteTrustStoreInput) (r // API operation DeleteTrustStore for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// There is an internal server error. +// +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // -// * ConflictException -// There is a conflict. +// - ConflictException +// There is a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteTrustStore func (c *WorkSpacesWeb) DeleteTrustStore(input *DeleteTrustStoreInput) (*DeleteTrustStoreOutput, error) { @@ -1447,14 +1447,13 @@ const opDeleteUserSettings = "DeleteUserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteUserSettingsRequest method. +// req, resp := client.DeleteUserSettingsRequest(params) // -// // Example sending a request using the DeleteUserSettingsRequest method. -// req, resp := client.DeleteUserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteUserSettings func (c *WorkSpacesWeb) DeleteUserSettingsRequest(input *DeleteUserSettingsInput) (req *request.Request, output *DeleteUserSettingsOutput) { @@ -1486,20 +1485,21 @@ func (c *WorkSpacesWeb) DeleteUserSettingsRequest(input *DeleteUserSettingsInput // API operation DeleteUserSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// There is an internal server error. +// +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // -// * ConflictException -// There is a conflict. +// - ConflictException +// There is a conflict. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DeleteUserSettings func (c *WorkSpacesWeb) DeleteUserSettings(input *DeleteUserSettingsInput) (*DeleteUserSettingsOutput, error) { @@ -1539,14 +1539,13 @@ const opDisassociateBrowserSettings = "DisassociateBrowserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateBrowserSettingsRequest method. +// req, resp := client.DisassociateBrowserSettingsRequest(params) // -// // Example sending a request using the DisassociateBrowserSettingsRequest method. -// req, resp := client.DisassociateBrowserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DisassociateBrowserSettings func (c *WorkSpacesWeb) DisassociateBrowserSettingsRequest(input *DisassociateBrowserSettingsInput) (req *request.Request, output *DisassociateBrowserSettingsOutput) { @@ -1578,20 +1577,21 @@ func (c *WorkSpacesWeb) DisassociateBrowserSettingsRequest(input *DisassociateBr // API operation DisassociateBrowserSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - ResourceNotFoundException +// The resource cannot be found. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// There is a validation error. +// - ThrottlingException +// There is a throttling error. +// +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DisassociateBrowserSettings func (c *WorkSpacesWeb) DisassociateBrowserSettings(input *DisassociateBrowserSettingsInput) (*DisassociateBrowserSettingsOutput, error) { @@ -1631,14 +1631,13 @@ const opDisassociateNetworkSettings = "DisassociateNetworkSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateNetworkSettingsRequest method. +// req, resp := client.DisassociateNetworkSettingsRequest(params) // -// // Example sending a request using the DisassociateNetworkSettingsRequest method. -// req, resp := client.DisassociateNetworkSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DisassociateNetworkSettings func (c *WorkSpacesWeb) DisassociateNetworkSettingsRequest(input *DisassociateNetworkSettingsInput) (req *request.Request, output *DisassociateNetworkSettingsOutput) { @@ -1670,20 +1669,21 @@ func (c *WorkSpacesWeb) DisassociateNetworkSettingsRequest(input *DisassociateNe // API operation DisassociateNetworkSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DisassociateNetworkSettings func (c *WorkSpacesWeb) DisassociateNetworkSettings(input *DisassociateNetworkSettingsInput) (*DisassociateNetworkSettingsOutput, error) { @@ -1723,14 +1723,13 @@ const opDisassociateTrustStore = "DisassociateTrustStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateTrustStoreRequest method. +// req, resp := client.DisassociateTrustStoreRequest(params) // -// // Example sending a request using the DisassociateTrustStoreRequest method. -// req, resp := client.DisassociateTrustStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DisassociateTrustStore func (c *WorkSpacesWeb) DisassociateTrustStoreRequest(input *DisassociateTrustStoreInput) (req *request.Request, output *DisassociateTrustStoreOutput) { @@ -1762,20 +1761,21 @@ func (c *WorkSpacesWeb) DisassociateTrustStoreRequest(input *DisassociateTrustSt // API operation DisassociateTrustStore for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DisassociateTrustStore func (c *WorkSpacesWeb) DisassociateTrustStore(input *DisassociateTrustStoreInput) (*DisassociateTrustStoreOutput, error) { @@ -1815,14 +1815,13 @@ const opDisassociateUserSettings = "DisassociateUserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DisassociateUserSettingsRequest method. +// req, resp := client.DisassociateUserSettingsRequest(params) // -// // Example sending a request using the DisassociateUserSettingsRequest method. -// req, resp := client.DisassociateUserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DisassociateUserSettings func (c *WorkSpacesWeb) DisassociateUserSettingsRequest(input *DisassociateUserSettingsInput) (req *request.Request, output *DisassociateUserSettingsOutput) { @@ -1854,20 +1853,21 @@ func (c *WorkSpacesWeb) DisassociateUserSettingsRequest(input *DisassociateUserS // API operation DisassociateUserSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - ResourceNotFoundException +// The resource cannot be found. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// There is a validation error. +// - ThrottlingException +// There is a throttling error. +// +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/DisassociateUserSettings func (c *WorkSpacesWeb) DisassociateUserSettings(input *DisassociateUserSettingsInput) (*DisassociateUserSettingsOutput, error) { @@ -1907,14 +1907,13 @@ const opGetBrowserSettings = "GetBrowserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetBrowserSettingsRequest method. +// req, resp := client.GetBrowserSettingsRequest(params) // -// // Example sending a request using the GetBrowserSettingsRequest method. -// req, resp := client.GetBrowserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetBrowserSettings func (c *WorkSpacesWeb) GetBrowserSettingsRequest(input *GetBrowserSettingsInput) (req *request.Request, output *GetBrowserSettingsOutput) { @@ -1945,20 +1944,21 @@ func (c *WorkSpacesWeb) GetBrowserSettingsRequest(input *GetBrowserSettingsInput // API operation GetBrowserSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetBrowserSettings func (c *WorkSpacesWeb) GetBrowserSettings(input *GetBrowserSettingsInput) (*GetBrowserSettingsOutput, error) { @@ -1998,14 +1998,13 @@ const opGetIdentityProvider = "GetIdentityProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetIdentityProviderRequest method. +// req, resp := client.GetIdentityProviderRequest(params) // -// // Example sending a request using the GetIdentityProviderRequest method. -// req, resp := client.GetIdentityProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetIdentityProvider func (c *WorkSpacesWeb) GetIdentityProviderRequest(input *GetIdentityProviderInput) (req *request.Request, output *GetIdentityProviderOutput) { @@ -2036,20 +2035,21 @@ func (c *WorkSpacesWeb) GetIdentityProviderRequest(input *GetIdentityProviderInp // API operation GetIdentityProvider for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetIdentityProvider func (c *WorkSpacesWeb) GetIdentityProvider(input *GetIdentityProviderInput) (*GetIdentityProviderOutput, error) { @@ -2089,14 +2089,13 @@ const opGetNetworkSettings = "GetNetworkSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetNetworkSettingsRequest method. +// req, resp := client.GetNetworkSettingsRequest(params) // -// // Example sending a request using the GetNetworkSettingsRequest method. -// req, resp := client.GetNetworkSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetNetworkSettings func (c *WorkSpacesWeb) GetNetworkSettingsRequest(input *GetNetworkSettingsInput) (req *request.Request, output *GetNetworkSettingsOutput) { @@ -2127,20 +2126,21 @@ func (c *WorkSpacesWeb) GetNetworkSettingsRequest(input *GetNetworkSettingsInput // API operation GetNetworkSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - ResourceNotFoundException +// The resource cannot be found. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// There is a validation error. +// - ThrottlingException +// There is a throttling error. +// +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetNetworkSettings func (c *WorkSpacesWeb) GetNetworkSettings(input *GetNetworkSettingsInput) (*GetNetworkSettingsOutput, error) { @@ -2180,14 +2180,13 @@ const opGetPortal = "GetPortal" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPortalRequest method. +// req, resp := client.GetPortalRequest(params) // -// // Example sending a request using the GetPortalRequest method. -// req, resp := client.GetPortalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetPortal func (c *WorkSpacesWeb) GetPortalRequest(input *GetPortalInput) (req *request.Request, output *GetPortalOutput) { @@ -2218,20 +2217,21 @@ func (c *WorkSpacesWeb) GetPortalRequest(input *GetPortalInput) (req *request.Re // API operation GetPortal for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetPortal func (c *WorkSpacesWeb) GetPortal(input *GetPortalInput) (*GetPortalOutput, error) { @@ -2271,14 +2271,13 @@ const opGetPortalServiceProviderMetadata = "GetPortalServiceProviderMetadata" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetPortalServiceProviderMetadataRequest method. +// req, resp := client.GetPortalServiceProviderMetadataRequest(params) // -// // Example sending a request using the GetPortalServiceProviderMetadataRequest method. -// req, resp := client.GetPortalServiceProviderMetadataRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetPortalServiceProviderMetadata func (c *WorkSpacesWeb) GetPortalServiceProviderMetadataRequest(input *GetPortalServiceProviderMetadataInput) (req *request.Request, output *GetPortalServiceProviderMetadataOutput) { @@ -2309,20 +2308,21 @@ func (c *WorkSpacesWeb) GetPortalServiceProviderMetadataRequest(input *GetPortal // API operation GetPortalServiceProviderMetadata for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetPortalServiceProviderMetadata func (c *WorkSpacesWeb) GetPortalServiceProviderMetadata(input *GetPortalServiceProviderMetadataInput) (*GetPortalServiceProviderMetadataOutput, error) { @@ -2362,14 +2362,13 @@ const opGetTrustStore = "GetTrustStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTrustStoreRequest method. +// req, resp := client.GetTrustStoreRequest(params) // -// // Example sending a request using the GetTrustStoreRequest method. -// req, resp := client.GetTrustStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetTrustStore func (c *WorkSpacesWeb) GetTrustStoreRequest(input *GetTrustStoreInput) (req *request.Request, output *GetTrustStoreOutput) { @@ -2400,20 +2399,21 @@ func (c *WorkSpacesWeb) GetTrustStoreRequest(input *GetTrustStoreInput) (req *re // API operation GetTrustStore for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - ResourceNotFoundException +// The resource cannot be found. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// There is a validation error. +// - ThrottlingException +// There is a throttling error. +// +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetTrustStore func (c *WorkSpacesWeb) GetTrustStore(input *GetTrustStoreInput) (*GetTrustStoreOutput, error) { @@ -2453,14 +2453,13 @@ const opGetTrustStoreCertificate = "GetTrustStoreCertificate" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTrustStoreCertificateRequest method. +// req, resp := client.GetTrustStoreCertificateRequest(params) // -// // Example sending a request using the GetTrustStoreCertificateRequest method. -// req, resp := client.GetTrustStoreCertificateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetTrustStoreCertificate func (c *WorkSpacesWeb) GetTrustStoreCertificateRequest(input *GetTrustStoreCertificateInput) (req *request.Request, output *GetTrustStoreCertificateOutput) { @@ -2491,20 +2490,21 @@ func (c *WorkSpacesWeb) GetTrustStoreCertificateRequest(input *GetTrustStoreCert // API operation GetTrustStoreCertificate for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetTrustStoreCertificate func (c *WorkSpacesWeb) GetTrustStoreCertificate(input *GetTrustStoreCertificateInput) (*GetTrustStoreCertificateOutput, error) { @@ -2544,14 +2544,13 @@ const opGetUserSettings = "GetUserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetUserSettingsRequest method. +// req, resp := client.GetUserSettingsRequest(params) // -// // Example sending a request using the GetUserSettingsRequest method. -// req, resp := client.GetUserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetUserSettings func (c *WorkSpacesWeb) GetUserSettingsRequest(input *GetUserSettingsInput) (req *request.Request, output *GetUserSettingsOutput) { @@ -2582,20 +2581,21 @@ func (c *WorkSpacesWeb) GetUserSettingsRequest(input *GetUserSettingsInput) (req // API operation GetUserSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetUserSettings func (c *WorkSpacesWeb) GetUserSettings(input *GetUserSettingsInput) (*GetUserSettingsOutput, error) { @@ -2635,14 +2635,13 @@ const opListBrowserSettings = "ListBrowserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListBrowserSettingsRequest method. +// req, resp := client.ListBrowserSettingsRequest(params) // -// // Example sending a request using the ListBrowserSettingsRequest method. -// req, resp := client.ListBrowserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListBrowserSettings func (c *WorkSpacesWeb) ListBrowserSettingsRequest(input *ListBrowserSettingsInput) (req *request.Request, output *ListBrowserSettingsOutput) { @@ -2679,17 +2678,18 @@ func (c *WorkSpacesWeb) ListBrowserSettingsRequest(input *ListBrowserSettingsInp // API operation ListBrowserSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// There is an internal server error. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// There is a validation error. +// - ThrottlingException +// There is a throttling error. +// +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListBrowserSettings func (c *WorkSpacesWeb) ListBrowserSettings(input *ListBrowserSettingsInput) (*ListBrowserSettingsOutput, error) { @@ -2721,15 +2721,14 @@ func (c *WorkSpacesWeb) ListBrowserSettingsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListBrowserSettings operation. -// pageNum := 0 -// err := client.ListBrowserSettingsPages(params, -// func(page *workspacesweb.ListBrowserSettingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListBrowserSettings operation. +// pageNum := 0 +// err := client.ListBrowserSettingsPages(params, +// func(page *workspacesweb.ListBrowserSettingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkSpacesWeb) ListBrowserSettingsPages(input *ListBrowserSettingsInput, fn func(*ListBrowserSettingsOutput, bool) bool) error { return c.ListBrowserSettingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2781,14 +2780,13 @@ const opListIdentityProviders = "ListIdentityProviders" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListIdentityProvidersRequest method. +// req, resp := client.ListIdentityProvidersRequest(params) // -// // Example sending a request using the ListIdentityProvidersRequest method. -// req, resp := client.ListIdentityProvidersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListIdentityProviders func (c *WorkSpacesWeb) ListIdentityProvidersRequest(input *ListIdentityProvidersInput) (req *request.Request, output *ListIdentityProvidersOutput) { @@ -2825,17 +2823,18 @@ func (c *WorkSpacesWeb) ListIdentityProvidersRequest(input *ListIdentityProvider // API operation ListIdentityProviders for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// There is an internal server error. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// There is a validation error. +// - ThrottlingException +// There is a throttling error. +// +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListIdentityProviders func (c *WorkSpacesWeb) ListIdentityProviders(input *ListIdentityProvidersInput) (*ListIdentityProvidersOutput, error) { @@ -2867,15 +2866,14 @@ func (c *WorkSpacesWeb) ListIdentityProvidersWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListIdentityProviders operation. -// pageNum := 0 -// err := client.ListIdentityProvidersPages(params, -// func(page *workspacesweb.ListIdentityProvidersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListIdentityProviders operation. +// pageNum := 0 +// err := client.ListIdentityProvidersPages(params, +// func(page *workspacesweb.ListIdentityProvidersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkSpacesWeb) ListIdentityProvidersPages(input *ListIdentityProvidersInput, fn func(*ListIdentityProvidersOutput, bool) bool) error { return c.ListIdentityProvidersPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2927,14 +2925,13 @@ const opListNetworkSettings = "ListNetworkSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListNetworkSettingsRequest method. +// req, resp := client.ListNetworkSettingsRequest(params) // -// // Example sending a request using the ListNetworkSettingsRequest method. -// req, resp := client.ListNetworkSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListNetworkSettings func (c *WorkSpacesWeb) ListNetworkSettingsRequest(input *ListNetworkSettingsInput) (req *request.Request, output *ListNetworkSettingsOutput) { @@ -2971,17 +2968,18 @@ func (c *WorkSpacesWeb) ListNetworkSettingsRequest(input *ListNetworkSettingsInp // API operation ListNetworkSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// There is an internal server error. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// There is a validation error. +// - ThrottlingException +// There is a throttling error. +// +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListNetworkSettings func (c *WorkSpacesWeb) ListNetworkSettings(input *ListNetworkSettingsInput) (*ListNetworkSettingsOutput, error) { @@ -3013,15 +3011,14 @@ func (c *WorkSpacesWeb) ListNetworkSettingsWithContext(ctx aws.Context, input *L // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListNetworkSettings operation. -// pageNum := 0 -// err := client.ListNetworkSettingsPages(params, -// func(page *workspacesweb.ListNetworkSettingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListNetworkSettings operation. +// pageNum := 0 +// err := client.ListNetworkSettingsPages(params, +// func(page *workspacesweb.ListNetworkSettingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkSpacesWeb) ListNetworkSettingsPages(input *ListNetworkSettingsInput, fn func(*ListNetworkSettingsOutput, bool) bool) error { return c.ListNetworkSettingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3073,14 +3070,13 @@ const opListPortals = "ListPortals" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListPortalsRequest method. +// req, resp := client.ListPortalsRequest(params) // -// // Example sending a request using the ListPortalsRequest method. -// req, resp := client.ListPortalsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListPortals func (c *WorkSpacesWeb) ListPortalsRequest(input *ListPortalsInput) (req *request.Request, output *ListPortalsOutput) { @@ -3117,17 +3113,18 @@ func (c *WorkSpacesWeb) ListPortalsRequest(input *ListPortalsInput) (req *reques // API operation ListPortals for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// There is an internal server error. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// There is a validation error. +// - ThrottlingException +// There is a throttling error. +// +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListPortals func (c *WorkSpacesWeb) ListPortals(input *ListPortalsInput) (*ListPortalsOutput, error) { @@ -3159,15 +3156,14 @@ func (c *WorkSpacesWeb) ListPortalsWithContext(ctx aws.Context, input *ListPorta // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListPortals operation. -// pageNum := 0 -// err := client.ListPortalsPages(params, -// func(page *workspacesweb.ListPortalsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListPortals operation. +// pageNum := 0 +// err := client.ListPortalsPages(params, +// func(page *workspacesweb.ListPortalsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkSpacesWeb) ListPortalsPages(input *ListPortalsInput, fn func(*ListPortalsOutput, bool) bool) error { return c.ListPortalsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3219,14 +3215,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListTagsForResource func (c *WorkSpacesWeb) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -3257,20 +3252,21 @@ func (c *WorkSpacesWeb) ListTagsForResourceRequest(input *ListTagsForResourceInp // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - ResourceNotFoundException +// The resource cannot be found. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// There is a validation error. +// - ThrottlingException +// There is a throttling error. +// +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListTagsForResource func (c *WorkSpacesWeb) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -3310,14 +3306,13 @@ const opListTrustStoreCertificates = "ListTrustStoreCertificates" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTrustStoreCertificatesRequest method. +// req, resp := client.ListTrustStoreCertificatesRequest(params) // -// // Example sending a request using the ListTrustStoreCertificatesRequest method. -// req, resp := client.ListTrustStoreCertificatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListTrustStoreCertificates func (c *WorkSpacesWeb) ListTrustStoreCertificatesRequest(input *ListTrustStoreCertificatesInput) (req *request.Request, output *ListTrustStoreCertificatesOutput) { @@ -3354,20 +3349,21 @@ func (c *WorkSpacesWeb) ListTrustStoreCertificatesRequest(input *ListTrustStoreC // API operation ListTrustStoreCertificates for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListTrustStoreCertificates func (c *WorkSpacesWeb) ListTrustStoreCertificates(input *ListTrustStoreCertificatesInput) (*ListTrustStoreCertificatesOutput, error) { @@ -3399,15 +3395,14 @@ func (c *WorkSpacesWeb) ListTrustStoreCertificatesWithContext(ctx aws.Context, i // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTrustStoreCertificates operation. -// pageNum := 0 -// err := client.ListTrustStoreCertificatesPages(params, -// func(page *workspacesweb.ListTrustStoreCertificatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTrustStoreCertificates operation. +// pageNum := 0 +// err := client.ListTrustStoreCertificatesPages(params, +// func(page *workspacesweb.ListTrustStoreCertificatesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkSpacesWeb) ListTrustStoreCertificatesPages(input *ListTrustStoreCertificatesInput, fn func(*ListTrustStoreCertificatesOutput, bool) bool) error { return c.ListTrustStoreCertificatesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3459,14 +3454,13 @@ const opListTrustStores = "ListTrustStores" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTrustStoresRequest method. +// req, resp := client.ListTrustStoresRequest(params) // -// // Example sending a request using the ListTrustStoresRequest method. -// req, resp := client.ListTrustStoresRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListTrustStores func (c *WorkSpacesWeb) ListTrustStoresRequest(input *ListTrustStoresInput) (req *request.Request, output *ListTrustStoresOutput) { @@ -3503,17 +3497,18 @@ func (c *WorkSpacesWeb) ListTrustStoresRequest(input *ListTrustStoresInput) (req // API operation ListTrustStores for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// There is an internal server error. +// +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListTrustStores func (c *WorkSpacesWeb) ListTrustStores(input *ListTrustStoresInput) (*ListTrustStoresOutput, error) { @@ -3545,15 +3540,14 @@ func (c *WorkSpacesWeb) ListTrustStoresWithContext(ctx aws.Context, input *ListT // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListTrustStores operation. -// pageNum := 0 -// err := client.ListTrustStoresPages(params, -// func(page *workspacesweb.ListTrustStoresOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListTrustStores operation. +// pageNum := 0 +// err := client.ListTrustStoresPages(params, +// func(page *workspacesweb.ListTrustStoresOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkSpacesWeb) ListTrustStoresPages(input *ListTrustStoresInput, fn func(*ListTrustStoresOutput, bool) bool) error { return c.ListTrustStoresPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3605,14 +3599,13 @@ const opListUserSettings = "ListUserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListUserSettingsRequest method. +// req, resp := client.ListUserSettingsRequest(params) // -// // Example sending a request using the ListUserSettingsRequest method. -// req, resp := client.ListUserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListUserSettings func (c *WorkSpacesWeb) ListUserSettingsRequest(input *ListUserSettingsInput) (req *request.Request, output *ListUserSettingsOutput) { @@ -3649,17 +3642,18 @@ func (c *WorkSpacesWeb) ListUserSettingsRequest(input *ListUserSettingsInput) (r // API operation ListUserSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - InternalServerException +// There is an internal server error. +// +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListUserSettings func (c *WorkSpacesWeb) ListUserSettings(input *ListUserSettingsInput) (*ListUserSettingsOutput, error) { @@ -3691,15 +3685,14 @@ func (c *WorkSpacesWeb) ListUserSettingsWithContext(ctx aws.Context, input *List // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a ListUserSettings operation. -// pageNum := 0 -// err := client.ListUserSettingsPages(params, -// func(page *workspacesweb.ListUserSettingsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a ListUserSettings operation. +// pageNum := 0 +// err := client.ListUserSettingsPages(params, +// func(page *workspacesweb.ListUserSettingsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *WorkSpacesWeb) ListUserSettingsPages(input *ListUserSettingsInput, fn func(*ListUserSettingsOutput, bool) bool) error { return c.ListUserSettingsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -3751,14 +3744,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/TagResource func (c *WorkSpacesWeb) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -3790,23 +3782,24 @@ func (c *WorkSpacesWeb) TagResourceRequest(input *TagResourceInput) (req *reques // API operation TagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // -// * TooManyTagsException -// There are too many tags. +// - TooManyTagsException +// There are too many tags. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/TagResource func (c *WorkSpacesWeb) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -3846,14 +3839,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UntagResource func (c *WorkSpacesWeb) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -3885,20 +3877,21 @@ func (c *WorkSpacesWeb) UntagResourceRequest(input *UntagResourceInput) (req *re // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UntagResource func (c *WorkSpacesWeb) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -3938,14 +3931,13 @@ const opUpdateBrowserSettings = "UpdateBrowserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateBrowserSettingsRequest method. +// req, resp := client.UpdateBrowserSettingsRequest(params) // -// // Example sending a request using the UpdateBrowserSettingsRequest method. -// req, resp := client.UpdateBrowserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateBrowserSettings func (c *WorkSpacesWeb) UpdateBrowserSettingsRequest(input *UpdateBrowserSettingsInput) (req *request.Request, output *UpdateBrowserSettingsOutput) { @@ -3976,20 +3968,21 @@ func (c *WorkSpacesWeb) UpdateBrowserSettingsRequest(input *UpdateBrowserSetting // API operation UpdateBrowserSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - ResourceNotFoundException +// The resource cannot be found. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// There is a validation error. +// - ThrottlingException +// There is a throttling error. +// +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateBrowserSettings func (c *WorkSpacesWeb) UpdateBrowserSettings(input *UpdateBrowserSettingsInput) (*UpdateBrowserSettingsOutput, error) { @@ -4029,14 +4022,13 @@ const opUpdateIdentityProvider = "UpdateIdentityProvider" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateIdentityProviderRequest method. +// req, resp := client.UpdateIdentityProviderRequest(params) // -// // Example sending a request using the UpdateIdentityProviderRequest method. -// req, resp := client.UpdateIdentityProviderRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateIdentityProvider func (c *WorkSpacesWeb) UpdateIdentityProviderRequest(input *UpdateIdentityProviderInput) (req *request.Request, output *UpdateIdentityProviderOutput) { @@ -4067,20 +4059,21 @@ func (c *WorkSpacesWeb) UpdateIdentityProviderRequest(input *UpdateIdentityProvi // API operation UpdateIdentityProvider for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateIdentityProvider func (c *WorkSpacesWeb) UpdateIdentityProvider(input *UpdateIdentityProviderInput) (*UpdateIdentityProviderOutput, error) { @@ -4120,14 +4113,13 @@ const opUpdateNetworkSettings = "UpdateNetworkSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateNetworkSettingsRequest method. +// req, resp := client.UpdateNetworkSettingsRequest(params) // -// // Example sending a request using the UpdateNetworkSettingsRequest method. -// req, resp := client.UpdateNetworkSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateNetworkSettings func (c *WorkSpacesWeb) UpdateNetworkSettingsRequest(input *UpdateNetworkSettingsInput) (req *request.Request, output *UpdateNetworkSettingsOutput) { @@ -4158,20 +4150,21 @@ func (c *WorkSpacesWeb) UpdateNetworkSettingsRequest(input *UpdateNetworkSetting // API operation UpdateNetworkSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateNetworkSettings func (c *WorkSpacesWeb) UpdateNetworkSettings(input *UpdateNetworkSettingsInput) (*UpdateNetworkSettingsOutput, error) { @@ -4211,14 +4204,13 @@ const opUpdatePortal = "UpdatePortal" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdatePortalRequest method. +// req, resp := client.UpdatePortalRequest(params) // -// // Example sending a request using the UpdatePortalRequest method. -// req, resp := client.UpdatePortalRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdatePortal func (c *WorkSpacesWeb) UpdatePortalRequest(input *UpdatePortalInput) (req *request.Request, output *UpdatePortalOutput) { @@ -4249,20 +4241,21 @@ func (c *WorkSpacesWeb) UpdatePortalRequest(input *UpdatePortalInput) (req *requ // API operation UpdatePortal for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. // -// * AccessDeniedException -// Access is denied. +// - ResourceNotFoundException +// The resource cannot be found. // -// * ThrottlingException -// There is a throttling error. +// - AccessDeniedException +// Access is denied. // -// * ValidationException -// There is a validation error. +// - ThrottlingException +// There is a throttling error. +// +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdatePortal func (c *WorkSpacesWeb) UpdatePortal(input *UpdatePortalInput) (*UpdatePortalOutput, error) { @@ -4302,14 +4295,13 @@ const opUpdateTrustStore = "UpdateTrustStore" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateTrustStoreRequest method. +// req, resp := client.UpdateTrustStoreRequest(params) // -// // Example sending a request using the UpdateTrustStoreRequest method. -// req, resp := client.UpdateTrustStoreRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateTrustStore func (c *WorkSpacesWeb) UpdateTrustStoreRequest(input *UpdateTrustStoreInput) (req *request.Request, output *UpdateTrustStoreOutput) { @@ -4340,23 +4332,24 @@ func (c *WorkSpacesWeb) UpdateTrustStoreRequest(input *UpdateTrustStoreInput) (r // API operation UpdateTrustStore for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ServiceQuotaExceededException -// The service quota has been exceeded. +// - ServiceQuotaExceededException +// The service quota has been exceeded. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateTrustStore func (c *WorkSpacesWeb) UpdateTrustStore(input *UpdateTrustStoreInput) (*UpdateTrustStoreOutput, error) { @@ -4396,14 +4389,13 @@ const opUpdateUserSettings = "UpdateUserSettings" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateUserSettingsRequest method. +// req, resp := client.UpdateUserSettingsRequest(params) // -// // Example sending a request using the UpdateUserSettingsRequest method. -// req, resp := client.UpdateUserSettingsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateUserSettings func (c *WorkSpacesWeb) UpdateUserSettingsRequest(input *UpdateUserSettingsInput) (req *request.Request, output *UpdateUserSettingsOutput) { @@ -4434,20 +4426,21 @@ func (c *WorkSpacesWeb) UpdateUserSettingsRequest(input *UpdateUserSettingsInput // API operation UpdateUserSettings for usage and error information. // // Returned Error Types: -// * InternalServerException -// There is an internal server error. // -// * ResourceNotFoundException -// The resource cannot be found. +// - InternalServerException +// There is an internal server error. +// +// - ResourceNotFoundException +// The resource cannot be found. // -// * AccessDeniedException -// Access is denied. +// - AccessDeniedException +// Access is denied. // -// * ThrottlingException -// There is a throttling error. +// - ThrottlingException +// There is a throttling error. // -// * ValidationException -// There is a validation error. +// - ValidationException +// There is a validation error. // // See also, https://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/UpdateUserSettings func (c *WorkSpacesWeb) UpdateUserSettings(input *UpdateUserSettingsInput) (*UpdateUserSettingsOutput, error) { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/doc.go index 1b66e70d932d..17fb76a279ff 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/doc.go @@ -16,7 +16,7 @@ // See workspacesweb package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/workspacesweb/ // -// Using the Client +// # Using the Client // // To contact Amazon WorkSpaces Web with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/service.go index 84b51c692aba..300ce1dddc3f 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a WorkSpacesWeb client from just a session. -// svc := workspacesweb.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a WorkSpacesWeb client with additional configuration -// svc := workspacesweb.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a WorkSpacesWeb client from just a session. +// svc := workspacesweb.New(mySession) +// +// // Create a WorkSpacesWeb client with additional configuration +// svc := workspacesweb.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *WorkSpacesWeb { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/workspaceswebiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/workspaceswebiface/interface.go index 11b8ada72d5c..e4cb0fb2ad3d 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/workspaceswebiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/workspacesweb/workspaceswebiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // Amazon WorkSpaces Web. -// func myFunc(svc workspaceswebiface.WorkSpacesWebAPI) bool { -// // Make svc.AssociateBrowserSettings request -// } +// // myFunc uses an SDK service client to make a request to +// // Amazon WorkSpaces Web. +// func myFunc(svc workspaceswebiface.WorkSpacesWebAPI) bool { +// // Make svc.AssociateBrowserSettings request +// } // -// func main() { -// sess := session.New() -// svc := workspacesweb.New(sess) +// func main() { +// sess := session.New() +// svc := workspacesweb.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockWorkSpacesWebClient struct { -// workspaceswebiface.WorkSpacesWebAPI -// } -// func (m *mockWorkSpacesWebClient) AssociateBrowserSettings(input *workspacesweb.AssociateBrowserSettingsInput) (*workspacesweb.AssociateBrowserSettingsOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockWorkSpacesWebClient struct { +// workspaceswebiface.WorkSpacesWebAPI +// } +// func (m *mockWorkSpacesWebClient) AssociateBrowserSettings(input *workspacesweb.AssociateBrowserSettingsInput) (*workspacesweb.AssociateBrowserSettingsOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockWorkSpacesWebClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockWorkSpacesWebClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/api.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/api.go index fcf61771d2fd..d22604764d78 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/api.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/api.go @@ -29,14 +29,13 @@ const opBatchGetTraces = "BatchGetTraces" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the BatchGetTracesRequest method. +// req, resp := client.BatchGetTracesRequest(params) // -// // Example sending a request using the BatchGetTracesRequest method. -// req, resp := client.BatchGetTracesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/BatchGetTraces func (c *XRay) BatchGetTracesRequest(input *BatchGetTracesInput) (req *request.Request, output *BatchGetTracesOutput) { @@ -75,11 +74,12 @@ func (c *XRay) BatchGetTracesRequest(input *BatchGetTracesInput) (req *request.R // API operation BatchGetTraces for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/BatchGetTraces func (c *XRay) BatchGetTraces(input *BatchGetTracesInput) (*BatchGetTracesOutput, error) { @@ -111,15 +111,14 @@ func (c *XRay) BatchGetTracesWithContext(ctx aws.Context, input *BatchGetTracesI // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a BatchGetTraces operation. -// pageNum := 0 -// err := client.BatchGetTracesPages(params, -// func(page *xray.BatchGetTracesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a BatchGetTraces operation. +// pageNum := 0 +// err := client.BatchGetTracesPages(params, +// func(page *xray.BatchGetTracesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *XRay) BatchGetTracesPages(input *BatchGetTracesInput, fn func(*BatchGetTracesOutput, bool) bool) error { return c.BatchGetTracesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -171,14 +170,13 @@ const opCreateGroup = "CreateGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateGroupRequest method. +// req, resp := client.CreateGroupRequest(params) // -// // Example sending a request using the CreateGroupRequest method. -// req, resp := client.CreateGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroup func (c *XRay) CreateGroupRequest(input *CreateGroupInput) (req *request.Request, output *CreateGroupOutput) { @@ -209,11 +207,12 @@ func (c *XRay) CreateGroupRequest(input *CreateGroupInput) (req *request.Request // API operation CreateGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateGroup func (c *XRay) CreateGroup(input *CreateGroupInput) (*CreateGroupOutput, error) { @@ -253,14 +252,13 @@ const opCreateSamplingRule = "CreateSamplingRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the CreateSamplingRuleRequest method. +// req, resp := client.CreateSamplingRuleRequest(params) // -// // Example sending a request using the CreateSamplingRuleRequest method. -// req, resp := client.CreateSamplingRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateSamplingRule func (c *XRay) CreateSamplingRuleRequest(input *CreateSamplingRuleInput) (req *request.Request, output *CreateSamplingRuleOutput) { @@ -298,14 +296,15 @@ func (c *XRay) CreateSamplingRuleRequest(input *CreateSamplingRuleInput) (req *r // API operation CreateSamplingRule for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. // -// * RuleLimitExceededException -// You have reached the maximum number of sampling rules. +// - ThrottledException +// The request exceeds the maximum number of requests per second. +// +// - RuleLimitExceededException +// You have reached the maximum number of sampling rules. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/CreateSamplingRule func (c *XRay) CreateSamplingRule(input *CreateSamplingRuleInput) (*CreateSamplingRuleOutput, error) { @@ -345,14 +344,13 @@ const opDeleteGroup = "DeleteGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteGroupRequest method. +// req, resp := client.DeleteGroupRequest(params) // -// // Example sending a request using the DeleteGroupRequest method. -// req, resp := client.DeleteGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteGroup func (c *XRay) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request, output *DeleteGroupOutput) { @@ -384,11 +382,12 @@ func (c *XRay) DeleteGroupRequest(input *DeleteGroupInput) (req *request.Request // API operation DeleteGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteGroup func (c *XRay) DeleteGroup(input *DeleteGroupInput) (*DeleteGroupOutput, error) { @@ -428,14 +427,13 @@ const opDeleteSamplingRule = "DeleteSamplingRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the DeleteSamplingRuleRequest method. +// req, resp := client.DeleteSamplingRuleRequest(params) // -// // Example sending a request using the DeleteSamplingRuleRequest method. -// req, resp := client.DeleteSamplingRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteSamplingRule func (c *XRay) DeleteSamplingRuleRequest(input *DeleteSamplingRuleInput) (req *request.Request, output *DeleteSamplingRuleOutput) { @@ -466,11 +464,12 @@ func (c *XRay) DeleteSamplingRuleRequest(input *DeleteSamplingRuleInput) (req *r // API operation DeleteSamplingRule for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/DeleteSamplingRule func (c *XRay) DeleteSamplingRule(input *DeleteSamplingRuleInput) (*DeleteSamplingRuleOutput, error) { @@ -510,14 +509,13 @@ const opGetEncryptionConfig = "GetEncryptionConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetEncryptionConfigRequest method. +// req, resp := client.GetEncryptionConfigRequest(params) // -// // Example sending a request using the GetEncryptionConfigRequest method. -// req, resp := client.GetEncryptionConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetEncryptionConfig func (c *XRay) GetEncryptionConfigRequest(input *GetEncryptionConfigInput) (req *request.Request, output *GetEncryptionConfigOutput) { @@ -548,11 +546,12 @@ func (c *XRay) GetEncryptionConfigRequest(input *GetEncryptionConfigInput) (req // API operation GetEncryptionConfig for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetEncryptionConfig func (c *XRay) GetEncryptionConfig(input *GetEncryptionConfigInput) (*GetEncryptionConfigOutput, error) { @@ -592,14 +591,13 @@ const opGetGroup = "GetGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGroupRequest method. +// req, resp := client.GetGroupRequest(params) // -// // Example sending a request using the GetGroupRequest method. -// req, resp := client.GetGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroup func (c *XRay) GetGroupRequest(input *GetGroupInput) (req *request.Request, output *GetGroupOutput) { @@ -630,11 +628,12 @@ func (c *XRay) GetGroupRequest(input *GetGroupInput) (req *request.Request, outp // API operation GetGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroup func (c *XRay) GetGroup(input *GetGroupInput) (*GetGroupOutput, error) { @@ -674,14 +673,13 @@ const opGetGroups = "GetGroups" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetGroupsRequest method. +// req, resp := client.GetGroupsRequest(params) // -// // Example sending a request using the GetGroupsRequest method. -// req, resp := client.GetGroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroups func (c *XRay) GetGroupsRequest(input *GetGroupsInput) (req *request.Request, output *GetGroupsOutput) { @@ -718,11 +716,12 @@ func (c *XRay) GetGroupsRequest(input *GetGroupsInput) (req *request.Request, ou // API operation GetGroups for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetGroups func (c *XRay) GetGroups(input *GetGroupsInput) (*GetGroupsOutput, error) { @@ -754,15 +753,14 @@ func (c *XRay) GetGroupsWithContext(ctx aws.Context, input *GetGroupsInput, opts // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetGroups operation. -// pageNum := 0 -// err := client.GetGroupsPages(params, -// func(page *xray.GetGroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetGroups operation. +// pageNum := 0 +// err := client.GetGroupsPages(params, +// func(page *xray.GetGroupsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *XRay) GetGroupsPages(input *GetGroupsInput, fn func(*GetGroupsOutput, bool) bool) error { return c.GetGroupsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -814,14 +812,13 @@ const opGetInsight = "GetInsight" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInsightRequest method. +// req, resp := client.GetInsightRequest(params) // -// // Example sending a request using the GetInsightRequest method. -// req, resp := client.GetInsightRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsight func (c *XRay) GetInsightRequest(input *GetInsightInput) (req *request.Request, output *GetInsightOutput) { @@ -854,11 +851,12 @@ func (c *XRay) GetInsightRequest(input *GetInsightInput) (req *request.Request, // API operation GetInsight for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsight func (c *XRay) GetInsight(input *GetInsightInput) (*GetInsightOutput, error) { @@ -898,14 +896,13 @@ const opGetInsightEvents = "GetInsightEvents" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInsightEventsRequest method. +// req, resp := client.GetInsightEventsRequest(params) // -// // Example sending a request using the GetInsightEventsRequest method. -// req, resp := client.GetInsightEventsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightEvents func (c *XRay) GetInsightEventsRequest(input *GetInsightEventsInput) (req *request.Request, output *GetInsightEventsOutput) { @@ -944,11 +941,12 @@ func (c *XRay) GetInsightEventsRequest(input *GetInsightEventsInput) (req *reque // API operation GetInsightEvents for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightEvents func (c *XRay) GetInsightEvents(input *GetInsightEventsInput) (*GetInsightEventsOutput, error) { @@ -980,15 +978,14 @@ func (c *XRay) GetInsightEventsWithContext(ctx aws.Context, input *GetInsightEve // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetInsightEvents operation. -// pageNum := 0 -// err := client.GetInsightEventsPages(params, -// func(page *xray.GetInsightEventsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetInsightEvents operation. +// pageNum := 0 +// err := client.GetInsightEventsPages(params, +// func(page *xray.GetInsightEventsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *XRay) GetInsightEventsPages(input *GetInsightEventsInput, fn func(*GetInsightEventsOutput, bool) bool) error { return c.GetInsightEventsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1040,14 +1037,13 @@ const opGetInsightImpactGraph = "GetInsightImpactGraph" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInsightImpactGraphRequest method. +// req, resp := client.GetInsightImpactGraphRequest(params) // -// // Example sending a request using the GetInsightImpactGraphRequest method. -// req, resp := client.GetInsightImpactGraphRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightImpactGraph func (c *XRay) GetInsightImpactGraphRequest(input *GetInsightImpactGraphInput) (req *request.Request, output *GetInsightImpactGraphOutput) { @@ -1080,11 +1076,12 @@ func (c *XRay) GetInsightImpactGraphRequest(input *GetInsightImpactGraphInput) ( // API operation GetInsightImpactGraph for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightImpactGraph func (c *XRay) GetInsightImpactGraph(input *GetInsightImpactGraphInput) (*GetInsightImpactGraphOutput, error) { @@ -1124,14 +1121,13 @@ const opGetInsightSummaries = "GetInsightSummaries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetInsightSummariesRequest method. +// req, resp := client.GetInsightSummariesRequest(params) // -// // Example sending a request using the GetInsightSummariesRequest method. -// req, resp := client.GetInsightSummariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightSummaries func (c *XRay) GetInsightSummariesRequest(input *GetInsightSummariesInput) (req *request.Request, output *GetInsightSummariesOutput) { @@ -1169,11 +1165,12 @@ func (c *XRay) GetInsightSummariesRequest(input *GetInsightSummariesInput) (req // API operation GetInsightSummaries for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetInsightSummaries func (c *XRay) GetInsightSummaries(input *GetInsightSummariesInput) (*GetInsightSummariesOutput, error) { @@ -1205,15 +1202,14 @@ func (c *XRay) GetInsightSummariesWithContext(ctx aws.Context, input *GetInsight // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetInsightSummaries operation. -// pageNum := 0 -// err := client.GetInsightSummariesPages(params, -// func(page *xray.GetInsightSummariesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetInsightSummaries operation. +// pageNum := 0 +// err := client.GetInsightSummariesPages(params, +// func(page *xray.GetInsightSummariesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *XRay) GetInsightSummariesPages(input *GetInsightSummariesInput, fn func(*GetInsightSummariesOutput, bool) bool) error { return c.GetInsightSummariesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1265,14 +1261,13 @@ const opGetSamplingRules = "GetSamplingRules" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSamplingRulesRequest method. +// req, resp := client.GetSamplingRulesRequest(params) // -// // Example sending a request using the GetSamplingRulesRequest method. -// req, resp := client.GetSamplingRulesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingRules func (c *XRay) GetSamplingRulesRequest(input *GetSamplingRulesInput) (req *request.Request, output *GetSamplingRulesOutput) { @@ -1309,11 +1304,12 @@ func (c *XRay) GetSamplingRulesRequest(input *GetSamplingRulesInput) (req *reque // API operation GetSamplingRules for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingRules func (c *XRay) GetSamplingRules(input *GetSamplingRulesInput) (*GetSamplingRulesOutput, error) { @@ -1345,15 +1341,14 @@ func (c *XRay) GetSamplingRulesWithContext(ctx aws.Context, input *GetSamplingRu // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetSamplingRules operation. -// pageNum := 0 -// err := client.GetSamplingRulesPages(params, -// func(page *xray.GetSamplingRulesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetSamplingRules operation. +// pageNum := 0 +// err := client.GetSamplingRulesPages(params, +// func(page *xray.GetSamplingRulesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *XRay) GetSamplingRulesPages(input *GetSamplingRulesInput, fn func(*GetSamplingRulesOutput, bool) bool) error { return c.GetSamplingRulesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1405,14 +1400,13 @@ const opGetSamplingStatisticSummaries = "GetSamplingStatisticSummaries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSamplingStatisticSummariesRequest method. +// req, resp := client.GetSamplingStatisticSummariesRequest(params) // -// // Example sending a request using the GetSamplingStatisticSummariesRequest method. -// req, resp := client.GetSamplingStatisticSummariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingStatisticSummaries func (c *XRay) GetSamplingStatisticSummariesRequest(input *GetSamplingStatisticSummariesInput) (req *request.Request, output *GetSamplingStatisticSummariesOutput) { @@ -1449,11 +1443,12 @@ func (c *XRay) GetSamplingStatisticSummariesRequest(input *GetSamplingStatisticS // API operation GetSamplingStatisticSummaries for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingStatisticSummaries func (c *XRay) GetSamplingStatisticSummaries(input *GetSamplingStatisticSummariesInput) (*GetSamplingStatisticSummariesOutput, error) { @@ -1485,15 +1480,14 @@ func (c *XRay) GetSamplingStatisticSummariesWithContext(ctx aws.Context, input * // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetSamplingStatisticSummaries operation. -// pageNum := 0 -// err := client.GetSamplingStatisticSummariesPages(params, -// func(page *xray.GetSamplingStatisticSummariesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetSamplingStatisticSummaries operation. +// pageNum := 0 +// err := client.GetSamplingStatisticSummariesPages(params, +// func(page *xray.GetSamplingStatisticSummariesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *XRay) GetSamplingStatisticSummariesPages(input *GetSamplingStatisticSummariesInput, fn func(*GetSamplingStatisticSummariesOutput, bool) bool) error { return c.GetSamplingStatisticSummariesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1545,14 +1539,13 @@ const opGetSamplingTargets = "GetSamplingTargets" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetSamplingTargetsRequest method. +// req, resp := client.GetSamplingTargetsRequest(params) // -// // Example sending a request using the GetSamplingTargetsRequest method. -// req, resp := client.GetSamplingTargetsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingTargets func (c *XRay) GetSamplingTargetsRequest(input *GetSamplingTargetsInput) (req *request.Request, output *GetSamplingTargetsOutput) { @@ -1583,11 +1576,12 @@ func (c *XRay) GetSamplingTargetsRequest(input *GetSamplingTargetsInput) (req *r // API operation GetSamplingTargets for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetSamplingTargets func (c *XRay) GetSamplingTargets(input *GetSamplingTargetsInput) (*GetSamplingTargetsOutput, error) { @@ -1627,14 +1621,13 @@ const opGetServiceGraph = "GetServiceGraph" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetServiceGraphRequest method. +// req, resp := client.GetServiceGraphRequest(params) // -// // Example sending a request using the GetServiceGraphRequest method. -// req, resp := client.GetServiceGraphRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetServiceGraph func (c *XRay) GetServiceGraphRequest(input *GetServiceGraphInput) (req *request.Request, output *GetServiceGraphOutput) { @@ -1676,11 +1669,12 @@ func (c *XRay) GetServiceGraphRequest(input *GetServiceGraphInput) (req *request // API operation GetServiceGraph for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetServiceGraph func (c *XRay) GetServiceGraph(input *GetServiceGraphInput) (*GetServiceGraphOutput, error) { @@ -1712,15 +1706,14 @@ func (c *XRay) GetServiceGraphWithContext(ctx aws.Context, input *GetServiceGrap // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetServiceGraph operation. -// pageNum := 0 -// err := client.GetServiceGraphPages(params, -// func(page *xray.GetServiceGraphOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetServiceGraph operation. +// pageNum := 0 +// err := client.GetServiceGraphPages(params, +// func(page *xray.GetServiceGraphOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *XRay) GetServiceGraphPages(input *GetServiceGraphInput, fn func(*GetServiceGraphOutput, bool) bool) error { return c.GetServiceGraphPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1772,14 +1765,13 @@ const opGetTimeSeriesServiceStatistics = "GetTimeSeriesServiceStatistics" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTimeSeriesServiceStatisticsRequest method. +// req, resp := client.GetTimeSeriesServiceStatisticsRequest(params) // -// // Example sending a request using the GetTimeSeriesServiceStatisticsRequest method. -// req, resp := client.GetTimeSeriesServiceStatisticsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTimeSeriesServiceStatistics func (c *XRay) GetTimeSeriesServiceStatisticsRequest(input *GetTimeSeriesServiceStatisticsInput) (req *request.Request, output *GetTimeSeriesServiceStatisticsOutput) { @@ -1816,11 +1808,12 @@ func (c *XRay) GetTimeSeriesServiceStatisticsRequest(input *GetTimeSeriesService // API operation GetTimeSeriesServiceStatistics for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTimeSeriesServiceStatistics func (c *XRay) GetTimeSeriesServiceStatistics(input *GetTimeSeriesServiceStatisticsInput) (*GetTimeSeriesServiceStatisticsOutput, error) { @@ -1852,15 +1845,14 @@ func (c *XRay) GetTimeSeriesServiceStatisticsWithContext(ctx aws.Context, input // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTimeSeriesServiceStatistics operation. -// pageNum := 0 -// err := client.GetTimeSeriesServiceStatisticsPages(params, -// func(page *xray.GetTimeSeriesServiceStatisticsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTimeSeriesServiceStatistics operation. +// pageNum := 0 +// err := client.GetTimeSeriesServiceStatisticsPages(params, +// func(page *xray.GetTimeSeriesServiceStatisticsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *XRay) GetTimeSeriesServiceStatisticsPages(input *GetTimeSeriesServiceStatisticsInput, fn func(*GetTimeSeriesServiceStatisticsOutput, bool) bool) error { return c.GetTimeSeriesServiceStatisticsPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -1912,14 +1904,13 @@ const opGetTraceGraph = "GetTraceGraph" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTraceGraphRequest method. +// req, resp := client.GetTraceGraphRequest(params) // -// // Example sending a request using the GetTraceGraphRequest method. -// req, resp := client.GetTraceGraphRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceGraph func (c *XRay) GetTraceGraphRequest(input *GetTraceGraphInput) (req *request.Request, output *GetTraceGraphOutput) { @@ -1956,11 +1947,12 @@ func (c *XRay) GetTraceGraphRequest(input *GetTraceGraphInput) (req *request.Req // API operation GetTraceGraph for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceGraph func (c *XRay) GetTraceGraph(input *GetTraceGraphInput) (*GetTraceGraphOutput, error) { @@ -1992,15 +1984,14 @@ func (c *XRay) GetTraceGraphWithContext(ctx aws.Context, input *GetTraceGraphInp // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTraceGraph operation. -// pageNum := 0 -// err := client.GetTraceGraphPages(params, -// func(page *xray.GetTraceGraphOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTraceGraph operation. +// pageNum := 0 +// err := client.GetTraceGraphPages(params, +// func(page *xray.GetTraceGraphOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *XRay) GetTraceGraphPages(input *GetTraceGraphInput, fn func(*GetTraceGraphOutput, bool) bool) error { return c.GetTraceGraphPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2052,14 +2043,13 @@ const opGetTraceSummaries = "GetTraceSummaries" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the GetTraceSummariesRequest method. +// req, resp := client.GetTraceSummariesRequest(params) // -// // Example sending a request using the GetTraceSummariesRequest method. -// req, resp := client.GetTraceSummariesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceSummaries func (c *XRay) GetTraceSummariesRequest(input *GetTraceSummariesInput) (req *request.Request, output *GetTraceSummariesOutput) { @@ -2112,11 +2102,12 @@ func (c *XRay) GetTraceSummariesRequest(input *GetTraceSummariesInput) (req *req // API operation GetTraceSummaries for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/GetTraceSummaries func (c *XRay) GetTraceSummaries(input *GetTraceSummariesInput) (*GetTraceSummariesOutput, error) { @@ -2148,15 +2139,14 @@ func (c *XRay) GetTraceSummariesWithContext(ctx aws.Context, input *GetTraceSumm // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTraceSummaries operation. -// pageNum := 0 -// err := client.GetTraceSummariesPages(params, -// func(page *xray.GetTraceSummariesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// +// // Example iterating over at most 3 pages of a GetTraceSummaries operation. +// pageNum := 0 +// err := client.GetTraceSummariesPages(params, +// func(page *xray.GetTraceSummariesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) func (c *XRay) GetTraceSummariesPages(input *GetTraceSummariesInput, fn func(*GetTraceSummariesOutput, bool) bool) error { return c.GetTraceSummariesPagesWithContext(aws.BackgroundContext(), input, fn) } @@ -2208,14 +2198,13 @@ const opListTagsForResource = "ListTagsForResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) // -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListTagsForResource func (c *XRay) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { @@ -2247,15 +2236,16 @@ func (c *XRay) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req // API operation ListTagsForResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // -// * ResourceNotFoundException -// The resource was not found. Verify that the name or Amazon Resource Name -// (ARN) of the resource is correct. +// - ResourceNotFoundException +// The resource was not found. Verify that the name or Amazon Resource Name +// (ARN) of the resource is correct. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/ListTagsForResource func (c *XRay) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { @@ -2295,14 +2285,13 @@ const opPutEncryptionConfig = "PutEncryptionConfig" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutEncryptionConfigRequest method. +// req, resp := client.PutEncryptionConfigRequest(params) // -// // Example sending a request using the PutEncryptionConfigRequest method. -// req, resp := client.PutEncryptionConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutEncryptionConfig func (c *XRay) PutEncryptionConfigRequest(input *PutEncryptionConfigInput) (req *request.Request, output *PutEncryptionConfigOutput) { @@ -2333,11 +2322,12 @@ func (c *XRay) PutEncryptionConfigRequest(input *PutEncryptionConfigInput) (req // API operation PutEncryptionConfig for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutEncryptionConfig func (c *XRay) PutEncryptionConfig(input *PutEncryptionConfigInput) (*PutEncryptionConfigOutput, error) { @@ -2377,14 +2367,13 @@ const opPutTelemetryRecords = "PutTelemetryRecords" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutTelemetryRecordsRequest method. +// req, resp := client.PutTelemetryRecordsRequest(params) // -// // Example sending a request using the PutTelemetryRecordsRequest method. -// req, resp := client.PutTelemetryRecordsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTelemetryRecords func (c *XRay) PutTelemetryRecordsRequest(input *PutTelemetryRecordsInput) (req *request.Request, output *PutTelemetryRecordsOutput) { @@ -2416,11 +2405,12 @@ func (c *XRay) PutTelemetryRecordsRequest(input *PutTelemetryRecordsInput) (req // API operation PutTelemetryRecords for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTelemetryRecords func (c *XRay) PutTelemetryRecords(input *PutTelemetryRecordsInput) (*PutTelemetryRecordsOutput, error) { @@ -2460,14 +2450,13 @@ const opPutTraceSegments = "PutTraceSegments" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the PutTraceSegmentsRequest method. +// req, resp := client.PutTraceSegmentsRequest(params) // -// // Example sending a request using the PutTraceSegmentsRequest method. -// req, resp := client.PutTraceSegmentsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTraceSegments func (c *XRay) PutTraceSegmentsRequest(input *PutTraceSegmentsInput) (req *request.Request, output *PutTraceSegmentsOutput) { @@ -2499,40 +2488,40 @@ func (c *XRay) PutTraceSegmentsRequest(input *PutTraceSegmentsInput) (req *reque // // Required segment document fields // -// * name - The name of the service that handled the request. +// - name - The name of the service that handled the request. // -// * id - A 64-bit identifier for the segment, unique among segments in the -// same trace, in 16 hexadecimal digits. +// - id - A 64-bit identifier for the segment, unique among segments in the +// same trace, in 16 hexadecimal digits. // -// * trace_id - A unique identifier that connects all segments and subsegments -// originating from a single client request. +// - trace_id - A unique identifier that connects all segments and subsegments +// originating from a single client request. // -// * start_time - Time the segment or subsegment was created, in floating -// point seconds in epoch time, accurate to milliseconds. For example, 1480615200.010 -// or 1.480615200010E9. +// - start_time - Time the segment or subsegment was created, in floating +// point seconds in epoch time, accurate to milliseconds. For example, 1480615200.010 +// or 1.480615200010E9. // -// * end_time - Time the segment or subsegment was closed. For example, 1480615200.090 -// or 1.480615200090E9. Specify either an end_time or in_progress. +// - end_time - Time the segment or subsegment was closed. For example, 1480615200.090 +// or 1.480615200090E9. Specify either an end_time or in_progress. // -// * in_progress - Set to true instead of specifying an end_time to record -// that a segment has been started, but is not complete. Send an in-progress -// segment when your application receives a request that will take a long -// time to serve, to trace that the request was received. When the response -// is sent, send the complete segment to overwrite the in-progress segment. +// - in_progress - Set to true instead of specifying an end_time to record +// that a segment has been started, but is not complete. Send an in-progress +// segment when your application receives a request that will take a long +// time to serve, to trace that the request was received. When the response +// is sent, send the complete segment to overwrite the in-progress segment. // // A trace_id consists of three numbers separated by hyphens. For example, 1-58406520-a006649127e371903a2de979. // This includes: // // Trace ID Format // -// * The version number, for instance, 1. +// - The version number, for instance, 1. // -// * The time of the original request, in Unix epoch time, in 8 hexadecimal -// digits. For example, 10:00AM December 2nd, 2016 PST in epoch time is 1480615200 -// seconds, or 58406520 in hexadecimal. +// - The time of the original request, in Unix epoch time, in 8 hexadecimal +// digits. For example, 10:00AM December 2nd, 2016 PST in epoch time is 1480615200 +// seconds, or 58406520 in hexadecimal. // -// * A 96-bit identifier for the trace, globally unique, in 24 hexadecimal -// digits. +// - A 96-bit identifier for the trace, globally unique, in 24 hexadecimal +// digits. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2542,11 +2531,12 @@ func (c *XRay) PutTraceSegmentsRequest(input *PutTraceSegmentsInput) (req *reque // API operation PutTraceSegments for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/PutTraceSegments func (c *XRay) PutTraceSegments(input *PutTraceSegmentsInput) (*PutTraceSegmentsOutput, error) { @@ -2586,14 +2576,13 @@ const opTagResource = "TagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TagResource func (c *XRay) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { @@ -2625,18 +2614,19 @@ func (c *XRay) TagResourceRequest(input *TagResourceInput) (req *request.Request // API operation TagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // -// * ResourceNotFoundException -// The resource was not found. Verify that the name or Amazon Resource Name -// (ARN) of the resource is correct. +// - ResourceNotFoundException +// The resource was not found. Verify that the name or Amazon Resource Name +// (ARN) of the resource is correct. // -// * TooManyTagsException -// You have exceeded the maximum number of tags you can apply to this resource. +// - TooManyTagsException +// You have exceeded the maximum number of tags you can apply to this resource. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/TagResource func (c *XRay) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { @@ -2676,14 +2666,13 @@ const opUntagResource = "UntagResource" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) // -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UntagResource func (c *XRay) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { @@ -2716,15 +2705,16 @@ func (c *XRay) UntagResourceRequest(input *UntagResourceInput) (req *request.Req // API operation UntagResource for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // -// * ResourceNotFoundException -// The resource was not found. Verify that the name or Amazon Resource Name -// (ARN) of the resource is correct. +// - ResourceNotFoundException +// The resource was not found. Verify that the name or Amazon Resource Name +// (ARN) of the resource is correct. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UntagResource func (c *XRay) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { @@ -2764,14 +2754,13 @@ const opUpdateGroup = "UpdateGroup" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateGroupRequest method. +// req, resp := client.UpdateGroupRequest(params) // -// // Example sending a request using the UpdateGroupRequest method. -// req, resp := client.UpdateGroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroup func (c *XRay) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request, output *UpdateGroupOutput) { @@ -2802,11 +2791,12 @@ func (c *XRay) UpdateGroupRequest(input *UpdateGroupInput) (req *request.Request // API operation UpdateGroup for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateGroup func (c *XRay) UpdateGroup(input *UpdateGroupInput) (*UpdateGroupOutput, error) { @@ -2846,14 +2836,13 @@ const opUpdateSamplingRule = "UpdateSamplingRule" // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // +// // Example sending a request using the UpdateSamplingRuleRequest method. +// req, resp := client.UpdateSamplingRuleRequest(params) // -// // Example sending a request using the UpdateSamplingRuleRequest method. -// req, resp := client.UpdateSamplingRuleRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateSamplingRule func (c *XRay) UpdateSamplingRuleRequest(input *UpdateSamplingRuleInput) (req *request.Request, output *UpdateSamplingRuleOutput) { @@ -2884,11 +2873,12 @@ func (c *XRay) UpdateSamplingRuleRequest(input *UpdateSamplingRuleInput) (req *r // API operation UpdateSamplingRule for usage and error information. // // Returned Error Types: -// * InvalidRequestException -// The request is missing required parameters or has invalid parameters. // -// * ThrottledException -// The request exceeds the maximum number of requests per second. +// - InvalidRequestException +// The request is missing required parameters or has invalid parameters. +// +// - ThrottledException +// The request exceeds the maximum number of requests per second. // // See also, https://docs.aws.amazon.com/goto/WebAPI/xray-2016-04-12/UpdateSamplingRule func (c *XRay) UpdateSamplingRule(input *UpdateSamplingRuleInput) (*UpdateSamplingRuleOutput, error) { @@ -8672,12 +8662,12 @@ func (s *ServiceStatistics) SetTotalResponseTime(v float64) *ServiceStatistics { // // The following restrictions apply to tags: // -// * Maximum number of user-applied tags per resource: 50 +// - Maximum number of user-applied tags per resource: 50 // -// * Tag keys and values are case sensitive. +// - Tag keys and values are case sensitive. // -// * Don't use aws: as a prefix for keys; it's reserved for Amazon Web Services -// use. You cannot edit or delete system tags. +// - Don't use aws: as a prefix for keys; it's reserved for Amazon Web Services +// use. You cannot edit or delete system tags. type Tag struct { _ struct{} `type:"structure"` diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/doc.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/doc.go index fd59f2ce9058..5773718aa7f6 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/doc.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/doc.go @@ -11,7 +11,7 @@ // See xray package documentation for more information. // https://docs.aws.amazon.com/sdk-for-go/api/service/xray/ // -// Using the Client +// # Using the Client // // To contact AWS X-Ray with the SDK use the New function to create // a new service client. With that client you can make API requests to the service. diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/service.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/service.go index 02752505c0a5..1e243dd54c32 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/service.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/service.go @@ -40,13 +40,14 @@ const ( // aws.Config parameter to add your extra config. // // Example: -// mySession := session.Must(session.NewSession()) // -// // Create a XRay client from just a session. -// svc := xray.New(mySession) +// mySession := session.Must(session.NewSession()) // -// // Create a XRay client with additional configuration -// svc := xray.New(mySession, aws.NewConfig().WithRegion("us-west-2")) +// // Create a XRay client from just a session. +// svc := xray.New(mySession) +// +// // Create a XRay client with additional configuration +// svc := xray.New(mySession, aws.NewConfig().WithRegion("us-west-2")) func New(p client.ConfigProvider, cfgs ...*aws.Config) *XRay { c := p.ClientConfig(EndpointsID, cfgs...) if c.SigningNameDerived || len(c.SigningName) == 0 { diff --git a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/xrayiface/interface.go b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/xrayiface/interface.go index ff6eb819dc13..95d3e6b3cf00 100644 --- a/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/xrayiface/interface.go +++ b/cluster-autoscaler/cloudprovider/aws/aws-sdk-go/service/xray/xrayiface/interface.go @@ -23,37 +23,37 @@ import ( // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // -// // myFunc uses an SDK service client to make a request to -// // AWS X-Ray. -// func myFunc(svc xrayiface.XRayAPI) bool { -// // Make svc.BatchGetTraces request -// } +// // myFunc uses an SDK service client to make a request to +// // AWS X-Ray. +// func myFunc(svc xrayiface.XRayAPI) bool { +// // Make svc.BatchGetTraces request +// } // -// func main() { -// sess := session.New() -// svc := xray.New(sess) +// func main() { +// sess := session.New() +// svc := xray.New(sess) // -// myFunc(svc) -// } +// myFunc(svc) +// } // // In your _test.go file: // -// // Define a mock struct to be used in your unit tests of myFunc. -// type mockXRayClient struct { -// xrayiface.XRayAPI -// } -// func (m *mockXRayClient) BatchGetTraces(input *xray.BatchGetTracesInput) (*xray.BatchGetTracesOutput, error) { -// // mock response/functionality -// } +// // Define a mock struct to be used in your unit tests of myFunc. +// type mockXRayClient struct { +// xrayiface.XRayAPI +// } +// func (m *mockXRayClient) BatchGetTraces(input *xray.BatchGetTracesInput) (*xray.BatchGetTracesOutput, error) { +// // mock response/functionality +// } // -// func TestMyFunc(t *testing.T) { -// // Setup Test -// mockSvc := &mockXRayClient{} +// func TestMyFunc(t *testing.T) { +// // Setup Test +// mockSvc := &mockXRayClient{} // -// myfunc(mockSvc) +// myfunc(mockSvc) // -// // Verify myFunc's functionality -// } +// // 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, diff --git a/cluster-autoscaler/cloudprovider/azure/azure_kubernetes_service_pool.go b/cluster-autoscaler/cloudprovider/azure/azure_kubernetes_service_pool.go index 145745046b10..b128f79e4bd3 100644 --- a/cluster-autoscaler/cloudprovider/azure/azure_kubernetes_service_pool.go +++ b/cluster-autoscaler/cloudprovider/azure/azure_kubernetes_service_pool.go @@ -37,7 +37,7 @@ const ( legacyAKSPoolNameTag = "poolName" ) -//AKSAgentPool implements NodeGroup interface for agent pool deployed in AKS +// AKSAgentPool implements NodeGroup interface for agent pool deployed in AKS type AKSAgentPool struct { azureRef manager *AzureManager @@ -54,8 +54,8 @@ type AKSAgentPool struct { mutex sync.Mutex } -//NewAKSAgentPool constructs AKSAgentPool from the --node param -//and azure manager +// NewAKSAgentPool constructs AKSAgentPool from the --node param +// and azure manager func NewAKSAgentPool(spec *dynamic.NodeGroupSpec, am *AzureManager) (*AKSAgentPool, error) { asg := &AKSAgentPool{ azureRef: azureRef{ @@ -77,8 +77,8 @@ func NewAKSAgentPool(spec *dynamic.NodeGroupSpec, am *AzureManager) (*AKSAgentPo return asg, nil } -//GetAKSAgentPool is an internal function which figures out ManagedClusterAgentPoolProfile from the list based on the pool name provided in the --node parameter passed -//to the autoscaler main +// GetAKSAgentPool is an internal function which figures out ManagedClusterAgentPoolProfile from the list based on the pool name provided in the --node parameter passed +// to the autoscaler main func (agentPool *AKSAgentPool) GetAKSAgentPool(agentProfiles *[]containerservice.ManagedClusterAgentPoolProfile) (ret *containerservice.ManagedClusterAgentPoolProfile) { for _, value := range *agentProfiles { profileName := *value.Name @@ -151,26 +151,26 @@ func (agentPool *AKSAgentPool) setAKSNodeCount(count int) error { return nil } -//GetNodeCount returns the count of nodes from the managed agent pool profile +// GetNodeCount returns the count of nodes from the managed agent pool profile func (agentPool *AKSAgentPool) GetNodeCount() (count int, err error) { return agentPool.getAKSNodeCount() } -//SetNodeCount sets the count of nodes in the in memory pool profile +// SetNodeCount sets the count of nodes in the in memory pool profile func (agentPool *AKSAgentPool) SetNodeCount(count int) (err error) { return agentPool.setAKSNodeCount(count) } -//GetProviderID converts the name of a node into the form that kubernetes cloud -//provider id is presented in. +// GetProviderID converts the name of a node into the form that kubernetes cloud +// provider id is presented in. func (agentPool *AKSAgentPool) GetProviderID(name string) string { //TODO: come with a generic way to make it work with provider id formats // in different version of k8s. return "azure://" + name } -//GetName extracts the name of the node (a format which underlying cloud service understands) -//from the cloud providerID (format which kubernetes understands) +// GetName extracts the name of the node (a format which underlying cloud service understands) +// from the cloud providerID (format which kubernetes understands) func (agentPool *AKSAgentPool) GetName(providerID string) (string, error) { // Remove the "azure://" string from it providerID = strings.TrimPrefix(providerID, "azure://") @@ -188,20 +188,20 @@ func (agentPool *AKSAgentPool) GetName(providerID string) (string, error) { return "", fmt.Errorf("VM list empty") } -//MaxSize returns the maximum size scale limit provided by --node -//parameter to the autoscaler main +// MaxSize returns the maximum size scale limit provided by --node +// parameter to the autoscaler main func (agentPool *AKSAgentPool) MaxSize() int { return agentPool.maxSize } -//MinSize returns the minimum size the cluster is allowed to scaled down -//to as provided by the node spec in --node parameter. +// MinSize returns the minimum size the cluster is allowed to scaled down +// to as provided by the node spec in --node parameter. func (agentPool *AKSAgentPool) MinSize() int { return agentPool.minSize } -//TargetSize gathers the target node count set for the cluster by -//querying the underlying service. +// TargetSize gathers the target node count set for the cluster by +// querying the underlying service. func (agentPool *AKSAgentPool) TargetSize() (int, error) { agentPool.mutex.Lock() defer agentPool.mutex.Unlock() @@ -221,9 +221,9 @@ func (agentPool *AKSAgentPool) TargetSize() (int, error) { return agentPool.curSize, nil } -//SetSize contacts the underlying service and sets the size of the pool. -//This will be called when a scale up occurs and will be called just after -//a delete is performed from a scale down. +// SetSize contacts the underlying service and sets the size of the pool. +// This will be called when a scale up occurs and will be called just after +// a delete is performed from a scale down. func (agentPool *AKSAgentPool) SetSize(targetSize int, isScalingDown bool) (err error) { agentPool.mutex.Lock() defer agentPool.mutex.Unlock() @@ -251,9 +251,9 @@ func (agentPool *AKSAgentPool) setSizeInternal(targetSize int, isScalingDown boo return nil } -//IncreaseSize calls in the underlying SetSize to increase the size in response -//to a scale up. It calculates the expected size based on a delta provided as -//parameter +// IncreaseSize calls in the underlying SetSize to increase the size in response +// to a scale up. It calculates the expected size based on a delta provided as +// parameter func (agentPool *AKSAgentPool) IncreaseSize(delta int) error { if delta <= 0 { return fmt.Errorf("size increase must be +ve") @@ -293,8 +293,8 @@ func (agentPool *AKSAgentPool) deleteNodesInternal(providerIDs []string) (delete return deleted, nil } -//DeleteNodes extracts the providerIDs from the node spec and calls into the internal -//delete method. +// DeleteNodes extracts the providerIDs from the node spec and calls into the internal +// delete method. func (agentPool *AKSAgentPool) DeleteNodes(nodes []*apiv1.Node) error { agentPool.mutex.Lock() defer agentPool.mutex.Unlock() @@ -318,7 +318,7 @@ func (agentPool *AKSAgentPool) DeleteNodes(nodes []*apiv1.Node) error { return deleteError } -//IsAKSNode checks if the tag from the vm matches the agentPool name +// IsAKSNode checks if the tag from the vm matches the agentPool name func (agentPool *AKSAgentPool) IsAKSNode(tags map[string]*string) bool { poolName := tags[aksManagedPoolNameTag] if poolName == nil { @@ -333,8 +333,8 @@ func (agentPool *AKSAgentPool) IsAKSNode(tags map[string]*string) bool { return false } -//GetNodes extracts the node list from the underlying vm service and returns back -//equivalent providerIDs as list. +// GetNodes extracts the node list from the underlying vm service and returns back +// equivalent providerIDs as list. func (agentPool *AKSAgentPool) GetNodes() ([]string, error) { ctx, cancel := getContextWithCancel() defer cancel() @@ -363,7 +363,7 @@ func (agentPool *AKSAgentPool) GetNodes() ([]string, error) { return nodeArray, nil } -//DecreaseTargetSize requests the underlying service to decrease the node count. +// DecreaseTargetSize requests the underlying service to decrease the node count. func (agentPool *AKSAgentPool) DecreaseTargetSize(delta int) error { if delta >= 0 { klog.Errorf("Size decrease error: %d", delta) @@ -392,17 +392,17 @@ func (agentPool *AKSAgentPool) DecreaseTargetSize(delta int) error { return agentPool.SetSize(targetSize, true) } -//Id returns the name of the agentPool +// Id returns the name of the agentPool func (agentPool *AKSAgentPool) Id() string { return agentPool.azureRef.Name } -//Debug returns a string with basic details of the agentPool +// Debug returns a string with basic details of the agentPool func (agentPool *AKSAgentPool) Debug() string { return fmt.Sprintf("%s (%d:%d)", agentPool.Id(), agentPool.MinSize(), agentPool.MaxSize()) } -//Nodes returns the list of nodes in the agentPool. +// Nodes returns the list of nodes in the agentPool. func (agentPool *AKSAgentPool) Nodes() ([]cloudprovider.Instance, error) { instanceNames, err := agentPool.GetNodes() if err != nil { @@ -415,30 +415,30 @@ func (agentPool *AKSAgentPool) Nodes() ([]cloudprovider.Instance, error) { return instances, nil } -//TemplateNodeInfo is not implemented. +// TemplateNodeInfo is not implemented. func (agentPool *AKSAgentPool) TemplateNodeInfo() (*schedulerframework.NodeInfo, error) { return nil, cloudprovider.ErrNotImplemented } -//Exist is always true since we are initialized with an existing agentpool +// Exist is always true since we are initialized with an existing agentpool func (agentPool *AKSAgentPool) Exist() bool { return true } -//Create is returns already exists since we don't support the -//agent pool creation. +// Create is returns already exists since we don't support the +// agent pool creation. func (agentPool *AKSAgentPool) Create() (cloudprovider.NodeGroup, error) { return nil, cloudprovider.ErrAlreadyExist } -//Delete is not implemented since we don't support agent pool -//deletion. +// Delete is not implemented since we don't support agent pool +// deletion. func (agentPool *AKSAgentPool) Delete() error { return cloudprovider.ErrNotImplemented } -//Autoprovisioned is set to false to indicate that this code -//does not create agentPools by itself. +// Autoprovisioned is set to false to indicate that this code +// does not create agentPools by itself. func (agentPool *AKSAgentPool) Autoprovisioned() bool { return false } diff --git a/cluster-autoscaler/cloudprovider/azure/azure_util.go b/cluster-autoscaler/cloudprovider/azure/azure_util.go index f10a99ddf0bf..bb09b42a483b 100644 --- a/cluster-autoscaler/cloudprovider/azure/azure_util.go +++ b/cluster-autoscaler/cloudprovider/azure/azure_util.go @@ -91,9 +91,9 @@ var ( azureResourceGroupNameRE = regexp.MustCompile(`.*/subscriptions/(?:.*)/resourceGroups/(.+)/providers/(?:.*)`) ) -//AzUtil consists of utility functions which utilizes clients to different services. -//Since they span across various clients they cannot be fitted into individual client structs -//so adding them here. +// AzUtil consists of utility functions which utilizes clients to different services. +// Since they span across various clients they cannot be fitted into individual client structs +// so adding them here. type AzUtil struct { manager *AzureManager } diff --git a/cluster-autoscaler/cloudprovider/baiducloud/baiducloud-sdk-go/util/cidr.go b/cluster-autoscaler/cloudprovider/baiducloud/baiducloud-sdk-go/util/cidr.go index 0966cbbc4ac2..f2fc1994436a 100644 --- a/cluster-autoscaler/cloudprovider/baiducloud/baiducloud-sdk-go/util/cidr.go +++ b/cluster-autoscaler/cloudprovider/baiducloud/baiducloud-sdk-go/util/cidr.go @@ -117,9 +117,9 @@ func AddressCount(network *net.IPNet) uint64 { return 1 << (uint64(bits) - uint64(prefixLen)) } -//VerifyNoOverlap takes a list subnets and supernet (CIDRBlock) and verifies -//none of the subnets overlap and all subnets are in the supernet -//it returns an error if any of those conditions are not satisfied +// VerifyNoOverlap takes a list subnets and supernet (CIDRBlock) and verifies +// none of the subnets overlap and all subnets are in the supernet +// it returns an error if any of those conditions are not satisfied func VerifyNoOverlap(subnets []*net.IPNet, CIDRBlock *net.IPNet) error { firstLastIP := make([][]net.IP, len(subnets)) for i, s := range subnets { @@ -177,7 +177,7 @@ func NextSubnet(network *net.IPNet, prefixLen int) (*net.IPNet, bool) { return next, false } -//Inc increases the IP by one this returns a new []byte for the IP +// Inc increases the IP by one this returns a new []byte for the IP func Inc(IP net.IP) net.IP { IP = checkIPv4(IP) incIP := make([]byte, len(IP)) @@ -191,7 +191,7 @@ func Inc(IP net.IP) net.IP { return incIP } -//Dec decreases the IP by one this returns a new []byte for the IP +// Dec decreases the IP by one this returns a new []byte for the IP func Dec(IP net.IP) net.IP { IP = checkIPv4(IP) decIP := make([]byte, len(IP)) diff --git a/cluster-autoscaler/cloudprovider/baiducloud/baiducloud-sdk-go/util/util.go b/cluster-autoscaler/cloudprovider/baiducloud/baiducloud-sdk-go/util/util.go index 5bc3890aa041..9ef032e50f71 100644 --- a/cluster-autoscaler/cloudprovider/baiducloud/baiducloud-sdk-go/util/util.go +++ b/cluster-autoscaler/cloudprovider/baiducloud/baiducloud-sdk-go/util/util.go @@ -580,7 +580,7 @@ func FormatTest(funcName, got, expected string) string { const dictionary = "_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" -//CreateRandomString create random string +// CreateRandomString create random string func CreateRandomString() string { b := make([]byte, 32) l := len(dictionary) diff --git a/cluster-autoscaler/cloudprovider/bizflycloud/gobizfly/autoscaling.go b/cluster-autoscaler/cloudprovider/bizflycloud/gobizfly/autoscaling.go index f3ca12dce3f2..9625f225df7c 100644 --- a/cluster-autoscaler/cloudprovider/bizflycloud/gobizfly/autoscaling.go +++ b/cluster-autoscaler/cloudprovider/bizflycloud/gobizfly/autoscaling.go @@ -52,7 +52,9 @@ type autoscalingService struct { /* AutoScalingService is interface wrap others resource's interfaces. Includes: 1. AutoScalingGroups: Provides function interact with an autoscaling group such as: - Create, Update, Delete + + Create, Update, Delete + 2. Events: Provides function to list events of an autoscaling group 3. LaunchConfigurations: Provides function to interact with launch configurations 4. Nodes: Provides function to interact with members of autoscaling group @@ -905,7 +907,7 @@ func (p *policy) Get(ctx context.Context, clusterID, PolicyID string) (*ScalePol return data, nil } -// Delete +// Delete func (asg *autoScalingGroup) Delete(ctx context.Context, clusterID string) error { req, err := asg.client.NewRequest(ctx, http.MethodDelete, autoScalingServiceName, asg.itemPath(clusterID), nil) if err != nil { diff --git a/cluster-autoscaler/cloudprovider/brightbox/gobrightbox/firewall_policies.go b/cluster-autoscaler/cloudprovider/brightbox/gobrightbox/firewall_policies.go index 905e19c3b814..e012dccb6af5 100644 --- a/cluster-autoscaler/cloudprovider/brightbox/gobrightbox/firewall_policies.go +++ b/cluster-autoscaler/cloudprovider/brightbox/gobrightbox/firewall_policies.go @@ -86,7 +86,6 @@ func (c *Client) DestroyFirewallPolicy(identifier string) error { // ApplyFirewallPolicy issues a request to apply the given firewall policy to // the given server group. -// func (c *Client) ApplyFirewallPolicy(policyId string, serverGroupId string) (*FirewallPolicy, error) { policy := new(FirewallPolicy) _, err := c.MakeApiRequest("POST", "/1.0/firewall_policies/"+policyId+"/apply_to", @@ -99,7 +98,6 @@ func (c *Client) ApplyFirewallPolicy(policyId string, serverGroupId string) (*Fi // RemoveFirewallPolicy issues a request to remove the given firewall policy from // the given server group. -// func (c *Client) RemoveFirewallPolicy(policyId string, serverGroupId string) (*FirewallPolicy, error) { policy := new(FirewallPolicy) _, err := c.MakeApiRequest("POST", "/1.0/firewall_policies/"+policyId+"/remove", diff --git a/cluster-autoscaler/cloudprovider/brightbox/gobrightbox/server_groups.go b/cluster-autoscaler/cloudprovider/brightbox/gobrightbox/server_groups.go index f73b8f36c5ee..2bc18f96162d 100644 --- a/cluster-autoscaler/cloudprovider/brightbox/gobrightbox/server_groups.go +++ b/cluster-autoscaler/cloudprovider/brightbox/gobrightbox/server_groups.go @@ -131,7 +131,7 @@ func (c *Client) RemoveServersFromServerGroup(identifier string, serverIds []str // MoveServersToServerGroup atomically moves servers from one group to another. // -// The src parameter specifies the group to which the servers currently belong +// # The src parameter specifies the group to which the servers currently belong // // The dst parameter specifies the group to which you want to move the servers. // diff --git a/cluster-autoscaler/cloudprovider/brightbox/k8ssdk/brightbox_interface.go b/cluster-autoscaler/cloudprovider/brightbox/k8ssdk/brightbox_interface.go index 4bd7e38f1c95..5fffa2025143 100644 --- a/cluster-autoscaler/cloudprovider/brightbox/k8ssdk/brightbox_interface.go +++ b/cluster-autoscaler/cloudprovider/brightbox/k8ssdk/brightbox_interface.go @@ -306,7 +306,7 @@ func (c *Cloud) GetCloudIPs() ([]brightbox.CloudIP, error) { return client.CloudIPs() } -//Get a cloudIp by id +// Get a cloudIp by id func (c *Cloud) getCloudIP(id string) (*brightbox.CloudIP, error) { klog.V(4).Infof("getCloudIP (%q)", id) client, err := c.CloudClient() @@ -378,7 +378,7 @@ func (c *Cloud) unmapCloudIP(id string) error { return client.UnMapCloudIP(id) } -//DestroyCloudIPs matching 'name' from a supplied list of cloudIPs +// DestroyCloudIPs matching 'name' from a supplied list of cloudIPs func (c *Cloud) DestroyCloudIPs(cloudIPList []brightbox.CloudIP, name string) error { klog.V(4).Infof("DestroyCloudIPs (%q)", name) for _, v := range cloudIPList { diff --git a/cluster-autoscaler/cloudprovider/brightbox/k8ssdk/cached/cached.go b/cluster-autoscaler/cloudprovider/brightbox/k8ssdk/cached/cached.go index d3366b8cab55..ca5405c33b71 100644 --- a/cluster-autoscaler/cloudprovider/brightbox/k8ssdk/cached/cached.go +++ b/cluster-autoscaler/cloudprovider/brightbox/k8ssdk/cached/cached.go @@ -47,7 +47,7 @@ func NewClient(url string, account string, httpClient *http.Client) (*Client, er }, err } -//Server fetches a server by id +// Server fetches a server by id func (c *Client) Server(identifier string) (*brightbox.Server, error) { if cachedServer, found := c.clientCache.Get(identifier); found { klog.V(4).Infof("Cache hit %q", identifier) @@ -62,7 +62,7 @@ func (c *Client) Server(identifier string) (*brightbox.Server, error) { return server, nil } -//ServerGroup fetches a server group by id +// ServerGroup fetches a server group by id func (c *Client) ServerGroup(identifier string) (*brightbox.ServerGroup, error) { if cachedServerGroup, found := c.clientCache.Get(identifier); found { klog.V(4).Infof("Cache hit %q", identifier) @@ -77,7 +77,7 @@ func (c *Client) ServerGroup(identifier string) (*brightbox.ServerGroup, error) return serverGroup, nil } -//ConfigMap fetches a config map by id +// ConfigMap fetches a config map by id func (c *Client) ConfigMap(identifier string) (*brightbox.ConfigMap, error) { if cachedConfigMap, found := c.clientCache.Get(identifier); found { klog.V(4).Infof("Cache hit %q", identifier) @@ -92,7 +92,7 @@ func (c *Client) ConfigMap(identifier string) (*brightbox.ConfigMap, error) { return configMap, nil } -//DestroyServer removes a server by id +// DestroyServer removes a server by id func (c *Client) DestroyServer(identifier string) error { err := c.Client.DestroyServer(identifier) if err == nil { @@ -101,7 +101,7 @@ func (c *Client) DestroyServer(identifier string) error { return err } -//DestroyServerGroup removes a server group by id +// DestroyServerGroup removes a server group by id func (c *Client) DestroyServerGroup(identifier string) error { err := c.Client.DestroyServerGroup(identifier) if err == nil { diff --git a/cluster-autoscaler/cloudprovider/brightbox/k8ssdk/util.go b/cluster-autoscaler/cloudprovider/brightbox/k8ssdk/util.go index 884083c166a6..d03e1b5d54aa 100644 --- a/cluster-autoscaler/cloudprovider/brightbox/k8ssdk/util.go +++ b/cluster-autoscaler/cloudprovider/brightbox/k8ssdk/util.go @@ -54,7 +54,7 @@ func MapZoneHandleToRegion(zoneHandle string) (string, error) { // getEnvVarWithDefault retrieves the value of the environment variable // named by the key. If the variable is not present, return the default -//value instead. +// value instead. func getenvWithDefault(key string, defaultValue string) string { if val, exists := os.LookupEnv(key); exists { return val @@ -62,7 +62,7 @@ func getenvWithDefault(key string, defaultValue string) string { return defaultValue } -//get a list of inserts and deletes that changes oldList into newList +// get a list of inserts and deletes that changes oldList into newList func getSyncLists(oldList []string, newList []string) ([]string, []string) { sort.Strings(oldList) sort.Strings(newList) diff --git a/cluster-autoscaler/cloudprovider/brightbox/linkheader/main.go b/cluster-autoscaler/cloudprovider/brightbox/linkheader/main.go index 6b81321b8456..1dcdb7d984ce 100644 --- a/cluster-autoscaler/cloudprovider/brightbox/linkheader/main.go +++ b/cluster-autoscaler/cloudprovider/brightbox/linkheader/main.go @@ -75,7 +75,9 @@ func (l Links) String() string { } // Parse parses a raw Link header in the form: -// ; rel="foo", ; rel="bar"; wat="dis" +// +// ; rel="foo", ; rel="bar"; wat="dis" +// // returning a slice of Link structs func Parse(raw string) Links { var links Links diff --git a/cluster-autoscaler/cloudprovider/civo/civo-cloud-sdk-go/kubernetes.go b/cluster-autoscaler/cloudprovider/civo/civo-cloud-sdk-go/kubernetes.go index fb13c8e1157c..ab612da55963 100644 --- a/cluster-autoscaler/cloudprovider/civo/civo-cloud-sdk-go/kubernetes.go +++ b/cluster-autoscaler/cloudprovider/civo/civo-cloud-sdk-go/kubernetes.go @@ -139,7 +139,7 @@ type KubernetesClusterConfig struct { CNIPlugin string `json:"cni_plugin,omitempty"` } -//KubernetesClusterPoolConfig is used to create a new cluster pool +// KubernetesClusterPoolConfig is used to create a new cluster pool type KubernetesClusterPoolConfig struct { ID string `json:"id,omitempty"` Count int `json:"count,omitempty"` diff --git a/cluster-autoscaler/cloudprovider/civo/civo-cloud-sdk-go/pool.go b/cluster-autoscaler/cloudprovider/civo/civo-cloud-sdk-go/pool.go index 39f17466356d..cf71ed370f3e 100644 --- a/cluster-autoscaler/cloudprovider/civo/civo-cloud-sdk-go/pool.go +++ b/cluster-autoscaler/cloudprovider/civo/civo-cloud-sdk-go/pool.go @@ -23,7 +23,7 @@ import ( "strings" ) -//KubernetesClusterPoolUpdateConfig is used to create a new cluster pool +// KubernetesClusterPoolUpdateConfig is used to create a new cluster pool type KubernetesClusterPoolUpdateConfig struct { ID string `json:"id,omitempty"` Count int `json:"count,omitempty"` diff --git a/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/exoscale/egoscale/v2/client.go b/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/exoscale/egoscale/v2/client.go index 299478384c7a..b30cf8dff7c4 100644 --- a/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/exoscale/egoscale/v2/client.go +++ b/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/exoscale/egoscale/v2/client.go @@ -235,15 +235,14 @@ func setEndpointFromContext(ctx context.Context, req *http.Request) error { // fetchFromIDs returns a list of API resources fetched from the specified list of IDs. // It is meant to be used with API resources implementing the getter interface, e.g.: // -// func (i Instance) get(ctx context.Context, client *Client, zone, id string) (interface{}, error) { -// return client.GetInstance(ctx, zone, id) -// } -// -// func (i *InstancePool) Instances(ctx context.Context) ([]*Instance, error) { -// res, err := i.c.fetchFromIDs(ctx, i.zone, i.InstanceIDs, new(Instance)) -// return res.([]*Instance), err -// } +// func (i Instance) get(ctx context.Context, client *Client, zone, id string) (interface{}, error) { +// return client.GetInstance(ctx, zone, id) +// } // +// func (i *InstancePool) Instances(ctx context.Context) ([]*Instance, error) { +// res, err := i.c.fetchFromIDs(ctx, i.zone, i.InstanceIDs, new(Instance)) +// return res.([]*Instance), err +// } func (c *Client) fetchFromIDs(ctx context.Context, zone string, ids []string, rt interface{}) (interface{}, error) { if rt == nil { return nil, errors.New("resource type must not be ") diff --git a/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/exoscale/egoscale/v2/oapi/oapi.gen.go b/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/exoscale/egoscale/v2/oapi/oapi.gen.go index 7b232b59f545..a2c209a71255 100644 --- a/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/exoscale/egoscale/v2/oapi/oapi.gen.go +++ b/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/exoscale/egoscale/v2/oapi/oapi.gen.go @@ -15,7 +15,6 @@ limitations under the License. */ // Package oapi provides primitives to interact with the openapi HTTP API. -// package oapi import ( diff --git a/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/gofrs/uuid/codec.go b/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/gofrs/uuid/codec.go index d71606ff7519..abba3c4bd257 100644 --- a/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/gofrs/uuid/codec.go +++ b/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/gofrs/uuid/codec.go @@ -136,37 +136,36 @@ func (u UUID) MarshalText() ([]byte, error) { // UnmarshalText implements the encoding.TextUnmarshaler interface. // Following formats are supported: // -// "6ba7b810-9dad-11d1-80b4-00c04fd430c8", -// "{6ba7b810-9dad-11d1-80b4-00c04fd430c8}", -// "urn:uuid:6ba7b810-9dad-11d1-80b4-00c04fd430c8" -// "6ba7b8109dad11d180b400c04fd430c8" -// "{6ba7b8109dad11d180b400c04fd430c8}", -// "urn:uuid:6ba7b8109dad11d180b400c04fd430c8" +// "6ba7b810-9dad-11d1-80b4-00c04fd430c8", +// "{6ba7b810-9dad-11d1-80b4-00c04fd430c8}", +// "urn:uuid:6ba7b810-9dad-11d1-80b4-00c04fd430c8" +// "6ba7b8109dad11d180b400c04fd430c8" +// "{6ba7b8109dad11d180b400c04fd430c8}", +// "urn:uuid:6ba7b8109dad11d180b400c04fd430c8" // // ABNF for supported UUID text representation follows: // -// URN := 'urn' -// UUID-NID := 'uuid' +// URN := 'urn' +// UUID-NID := 'uuid' // -// hexdig := '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | -// 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | -// 'A' | 'B' | 'C' | 'D' | 'E' | 'F' +// hexdig := '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | +// 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | +// 'A' | 'B' | 'C' | 'D' | 'E' | 'F' // -// hexoct := hexdig hexdig -// 2hexoct := hexoct hexoct -// 4hexoct := 2hexoct 2hexoct -// 6hexoct := 4hexoct 2hexoct -// 12hexoct := 6hexoct 6hexoct +// hexoct := hexdig hexdig +// 2hexoct := hexoct hexoct +// 4hexoct := 2hexoct 2hexoct +// 6hexoct := 4hexoct 2hexoct +// 12hexoct := 6hexoct 6hexoct // -// hashlike := 12hexoct -// canonical := 4hexoct '-' 2hexoct '-' 2hexoct '-' 6hexoct +// hashlike := 12hexoct +// canonical := 4hexoct '-' 2hexoct '-' 2hexoct '-' 6hexoct // -// plain := canonical | hashlike -// uuid := canonical | hashlike | braced | urn -// -// braced := '{' plain '}' | '{' hashlike '}' -// urn := URN ':' UUID-NID ':' plain +// plain := canonical | hashlike +// uuid := canonical | hashlike | braced | urn // +// braced := '{' plain '}' | '{' hashlike '}' +// urn := URN ':' UUID-NID ':' plain func (u *UUID) UnmarshalText(text []byte) error { switch len(text) { case 32: @@ -208,7 +207,8 @@ func (u *UUID) decodeCanonical(t []byte) error { } // decodeHashLike decodes UUID strings that are using the following format: -// "6ba7b8109dad11d180b400c04fd430c8". +// +// "6ba7b8109dad11d180b400c04fd430c8". func (u *UUID) decodeHashLike(t []byte) error { src := t[:] dst := u[:] @@ -218,8 +218,9 @@ func (u *UUID) decodeHashLike(t []byte) error { } // decodeBraced decodes UUID strings that are using the following formats: -// "{6ba7b810-9dad-11d1-80b4-00c04fd430c8}" -// "{6ba7b8109dad11d180b400c04fd430c8}". +// +// "{6ba7b810-9dad-11d1-80b4-00c04fd430c8}" +// "{6ba7b8109dad11d180b400c04fd430c8}". func (u *UUID) decodeBraced(t []byte) error { l := len(t) @@ -231,8 +232,9 @@ func (u *UUID) decodeBraced(t []byte) error { } // decodeURN decodes UUID strings that are using the following formats: -// "urn:uuid:6ba7b810-9dad-11d1-80b4-00c04fd430c8" -// "urn:uuid:6ba7b8109dad11d180b400c04fd430c8". +// +// "urn:uuid:6ba7b810-9dad-11d1-80b4-00c04fd430c8" +// "urn:uuid:6ba7b8109dad11d180b400c04fd430c8". func (u *UUID) decodeURN(t []byte) error { total := len(t) @@ -246,8 +248,9 @@ func (u *UUID) decodeURN(t []byte) error { } // decodePlain decodes UUID strings that are using the following formats: -// "6ba7b810-9dad-11d1-80b4-00c04fd430c8" or in hash-like format -// "6ba7b8109dad11d180b400c04fd430c8". +// +// "6ba7b810-9dad-11d1-80b4-00c04fd430c8" or in hash-like format +// "6ba7b8109dad11d180b400c04fd430c8". func (u *UUID) decodePlain(t []byte) error { switch len(t) { case 32: diff --git a/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/gofrs/uuid/fuzz.go b/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/gofrs/uuid/fuzz.go index 176f1724a9a3..f4ac7d9ed04f 100644 --- a/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/gofrs/uuid/fuzz.go +++ b/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/gofrs/uuid/fuzz.go @@ -89,15 +89,15 @@ package uuid // // To run: // -// $ go get github.com/dvyukov/go-fuzz/... -// $ cd $GOPATH/src/k8s.io/autoscaler/cluster-autoscaler/cloudprovider/exoscale/internal/uuid -// $ go-fuzz-build k8s.io/autoscaler/cluster-autoscaler/cloudprovider/exoscale/internal/uuid -// $ go-fuzz -bin=uuid-fuzz.zip -workdir=./testdata +// $ go get github.com/dvyukov/go-fuzz/... +// $ cd $GOPATH/src/k8s.io/autoscaler/cluster-autoscaler/cloudprovider/exoscale/internal/uuid +// $ go-fuzz-build k8s.io/autoscaler/cluster-autoscaler/cloudprovider/exoscale/internal/uuid +// $ go-fuzz -bin=uuid-fuzz.zip -workdir=./testdata // // If you make significant changes to FromString / UnmarshalText and add // new cases to fromStringTests (in codec_test.go), please run // -// $ go test -seed_fuzz_corpus +// $ go test -seed_fuzz_corpus // // to seed the corpus with the new interesting inputs, then run the fuzzer. func Fuzz(data []byte) int { diff --git a/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/gofrs/uuid/uuid.go b/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/gofrs/uuid/uuid.go index c38a3184dd7f..17d19a6848ac 100644 --- a/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/gofrs/uuid/uuid.go +++ b/cluster-autoscaler/cloudprovider/exoscale/internal/github.com/gofrs/uuid/uuid.go @@ -244,7 +244,8 @@ func (u *UUID) SetVariant(v byte) { // Must is a helper that wraps a call to a function returning (UUID, error) // and panics if the error is non-nil. It is intended for use in variable // initializations such as -// var packageUUID = uuid.Must(uuid.FromString("123e4567-e89b-12d3-a456-426655440000")) +// +// var packageUUID = uuid.Must(uuid.FromString("123e4567-e89b-12d3-a456-426655440000")) func Must(u UUID, err error) UUID { if err != nil { panic(err) diff --git a/cluster-autoscaler/cloudprovider/exoscale/internal/k8s.io/klog/klog.go b/cluster-autoscaler/cloudprovider/exoscale/internal/k8s.io/klog/klog.go index e7d0846a29f7..811389724145 100644 --- a/cluster-autoscaler/cloudprovider/exoscale/internal/k8s.io/klog/klog.go +++ b/cluster-autoscaler/cloudprovider/exoscale/internal/k8s.io/klog/klog.go @@ -99,7 +99,6 @@ limitations under the License. // "glob" pattern and N is a V level. For instance, // -vmodule=gopher*=3 // sets the V level to 3 in all Go files whose names begin "gopher". -// package klog import ( @@ -597,8 +596,11 @@ It returns a buffer containing the formatted header and the user's file and line The depth specifies how many stack frames above lives the source line to be identified in the log message. Log lines have this form: + Lmmdd hh:mm:ss.uuuuuu threadid file:line] msg... + where the fields are defined as follows: + L A single character, representing the log level (eg 'I' for INFO) mm The month (zero padded; ie May is '05') dd The day (zero padded) @@ -1146,9 +1148,13 @@ type Verbose bool // The returned value is a boolean of type Verbose, which implements Info, Infoln // and Infof. These methods will write to the Info log if called. // Thus, one may write either +// // if klog.V(2) { klog.Info("log this") } +// // or +// // klog.V(2).Info("log this") +// // The second form is shorter but the first is cheaper if logging is off because it does // not evaluate its arguments. // diff --git a/cluster-autoscaler/cloudprovider/externalgrpc/externalgrpc_node_group.go b/cluster-autoscaler/cloudprovider/externalgrpc/externalgrpc_node_group.go index e86e6b0b439d..ae8752af1897 100644 --- a/cluster-autoscaler/cloudprovider/externalgrpc/externalgrpc_node_group.go +++ b/cluster-autoscaler/cloudprovider/externalgrpc/externalgrpc_node_group.go @@ -32,7 +32,6 @@ import ( // NodeGroup implements cloudprovider.NodeGroup interface. NodeGroup contains // configuration info and functions to control a set of nodes that have the // same capacity and set of labels. -// type NodeGroup struct { id string // this must be a stable identifier minSize int // cached value diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/as/v1/as_client.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/as/v1/as_client.go index edc9d14b6f6a..6e532f10ea4d 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/as/v1/as_client.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/as/v1/as_client.go @@ -18,7 +18,7 @@ func AsClientBuilder() *http_client.HcHttpClientBuilder { return builder } -//通过生命周期操作令牌或者通过实例ID和生命周期挂钩名称对伸缩实例指定的挂钩进行回调操作。如果在超时时间结束前已完成自定义操作,选择终止或继续完成生命周期操作。如果需要更多时间完成自定义操作,选择延长超时时间,实例保持等待状态的时间将增加1小时。只有实例的生命周期挂钩状态为 HANGING 时才可以进行回调操作。 +// 通过生命周期操作令牌或者通过实例ID和生命周期挂钩名称对伸缩实例指定的挂钩进行回调操作。如果在超时时间结束前已完成自定义操作,选择终止或继续完成生命周期操作。如果需要更多时间完成自定义操作,选择延长超时时间,实例保持等待状态的时间将增加1小时。只有实例的生命周期挂钩状态为 HANGING 时才可以进行回调操作。 func (c *AsClient) AttachCallbackInstanceLifeCycleHook(request *model.AttachCallbackInstanceLifeCycleHookRequest) (*model.AttachCallbackInstanceLifeCycleHookResponse, error) { requestDef := GenReqDefForAttachCallbackInstanceLifeCycleHook() @@ -29,7 +29,7 @@ func (c *AsClient) AttachCallbackInstanceLifeCycleHook(request *model.AttachCall } } -//批量移出伸缩组中的实例或批量添加伸缩组外的实例。批量对伸缩组中的实例设置或取消其实例保护属性。批量将伸缩组中的实例转入或移出备用状态。 +// 批量移出伸缩组中的实例或批量添加伸缩组外的实例。批量对伸缩组中的实例设置或取消其实例保护属性。批量将伸缩组中的实例转入或移出备用状态。 func (c *AsClient) BatchAddScalingInstances(request *model.BatchAddScalingInstancesRequest) (*model.BatchAddScalingInstancesResponse, error) { requestDef := GenReqDefForBatchAddScalingInstances() @@ -40,7 +40,7 @@ func (c *AsClient) BatchAddScalingInstances(request *model.BatchAddScalingInstan } } -//批量删除指定弹性伸缩配置。被伸缩组使用的伸缩配置不能被删除。单次最多删除伸缩配置个数为50。 +// 批量删除指定弹性伸缩配置。被伸缩组使用的伸缩配置不能被删除。单次最多删除伸缩配置个数为50。 func (c *AsClient) BatchDeleteScalingConfigs(request *model.BatchDeleteScalingConfigsRequest) (*model.BatchDeleteScalingConfigsResponse, error) { requestDef := GenReqDefForBatchDeleteScalingConfigs() @@ -51,7 +51,7 @@ func (c *AsClient) BatchDeleteScalingConfigs(request *model.BatchDeleteScalingCo } } -//批量启用、停用或者删除弹性伸缩策略。单次最多批量操作伸缩策略个数为20。 +// 批量启用、停用或者删除弹性伸缩策略。单次最多批量操作伸缩策略个数为20。 func (c *AsClient) BatchDeleteScalingPolicies(request *model.BatchDeleteScalingPoliciesRequest) (*model.BatchDeleteScalingPoliciesResponse, error) { requestDef := GenReqDefForBatchDeleteScalingPolicies() @@ -62,7 +62,7 @@ func (c *AsClient) BatchDeleteScalingPolicies(request *model.BatchDeleteScalingP } } -//批量启用、停用或者删除弹性伸缩策略。单次最多批量操作伸缩策略个数为20。 +// 批量启用、停用或者删除弹性伸缩策略。单次最多批量操作伸缩策略个数为20。 func (c *AsClient) BatchPauseScalingPolicies(request *model.BatchPauseScalingPoliciesRequest) (*model.BatchPauseScalingPoliciesResponse, error) { requestDef := GenReqDefForBatchPauseScalingPolicies() @@ -73,7 +73,7 @@ func (c *AsClient) BatchPauseScalingPolicies(request *model.BatchPauseScalingPol } } -//批量移出伸缩组中的实例或批量添加伸缩组外的实例。批量对伸缩组中的实例设置或取消其实例保护属性。批量将伸缩组中的实例转入或移出备用状态。 +// 批量移出伸缩组中的实例或批量添加伸缩组外的实例。批量对伸缩组中的实例设置或取消其实例保护属性。批量将伸缩组中的实例转入或移出备用状态。 func (c *AsClient) BatchProtectScalingInstances(request *model.BatchProtectScalingInstancesRequest) (*model.BatchProtectScalingInstancesResponse, error) { requestDef := GenReqDefForBatchProtectScalingInstances() @@ -84,7 +84,7 @@ func (c *AsClient) BatchProtectScalingInstances(request *model.BatchProtectScali } } -//批量移出伸缩组中的实例或批量添加伸缩组外的实例。批量对伸缩组中的实例设置或取消其实例保护属性。批量将伸缩组中的实例转入或移出备用状态。 +// 批量移出伸缩组中的实例或批量添加伸缩组外的实例。批量对伸缩组中的实例设置或取消其实例保护属性。批量将伸缩组中的实例转入或移出备用状态。 func (c *AsClient) BatchRemoveScalingInstances(request *model.BatchRemoveScalingInstancesRequest) (*model.BatchRemoveScalingInstancesResponse, error) { requestDef := GenReqDefForBatchRemoveScalingInstances() @@ -95,7 +95,7 @@ func (c *AsClient) BatchRemoveScalingInstances(request *model.BatchRemoveScaling } } -//批量启用、停用或者删除弹性伸缩策略。单次最多批量操作伸缩策略个数为20。 +// 批量启用、停用或者删除弹性伸缩策略。单次最多批量操作伸缩策略个数为20。 func (c *AsClient) BatchResumeScalingPolicies(request *model.BatchResumeScalingPoliciesRequest) (*model.BatchResumeScalingPoliciesResponse, error) { requestDef := GenReqDefForBatchResumeScalingPolicies() @@ -106,7 +106,7 @@ func (c *AsClient) BatchResumeScalingPolicies(request *model.BatchResumeScalingP } } -//批量移出伸缩组中的实例或批量添加伸缩组外的实例。批量对伸缩组中的实例设置或取消其实例保护属性。批量将伸缩组中的实例转入或移出备用状态。 +// 批量移出伸缩组中的实例或批量添加伸缩组外的实例。批量对伸缩组中的实例设置或取消其实例保护属性。批量将伸缩组中的实例转入或移出备用状态。 func (c *AsClient) BatchSetScalingInstancesStandby(request *model.BatchSetScalingInstancesStandbyRequest) (*model.BatchSetScalingInstancesStandbyResponse, error) { requestDef := GenReqDefForBatchSetScalingInstancesStandby() @@ -117,7 +117,7 @@ func (c *AsClient) BatchSetScalingInstancesStandby(request *model.BatchSetScalin } } -//批量移出伸缩组中的实例或批量添加伸缩组外的实例。批量对伸缩组中的实例设置或取消其实例保护属性。批量将伸缩组中的实例转入或移出备用状态。 +// 批量移出伸缩组中的实例或批量添加伸缩组外的实例。批量对伸缩组中的实例设置或取消其实例保护属性。批量将伸缩组中的实例转入或移出备用状态。 func (c *AsClient) BatchUnprotectScalingInstances(request *model.BatchUnprotectScalingInstancesRequest) (*model.BatchUnprotectScalingInstancesResponse, error) { requestDef := GenReqDefForBatchUnprotectScalingInstances() @@ -128,7 +128,7 @@ func (c *AsClient) BatchUnprotectScalingInstances(request *model.BatchUnprotectS } } -//批量移出伸缩组中的实例或批量添加伸缩组外的实例。批量对伸缩组中的实例设置或取消其实例保护属性。批量将伸缩组中的实例转入或移出备用状态。 +// 批量移出伸缩组中的实例或批量添加伸缩组外的实例。批量对伸缩组中的实例设置或取消其实例保护属性。批量将伸缩组中的实例转入或移出备用状态。 func (c *AsClient) BatchUnsetScalingInstancesStantby(request *model.BatchUnsetScalingInstancesStantbyRequest) (*model.BatchUnsetScalingInstancesStantbyResponse, error) { requestDef := GenReqDefForBatchUnsetScalingInstancesStantby() @@ -139,7 +139,7 @@ func (c *AsClient) BatchUnsetScalingInstancesStantby(request *model.BatchUnsetSc } } -//创建生命周期挂钩,可为伸缩组添加一个或多个生命周期挂钩,最多添加5个。添加生命周期挂钩后,当伸缩组进行伸缩活动时,实例将被生命周期挂钩挂起并置于等待状态(正在加入伸缩组或正在移出伸缩组),实例将保持此状态直至超时时间结束或者用户手动回调。用户能够在实例保持等待状态的时间段内执行自定义操作,例如,用户可以在新启动的实例上安装或配置软件,也可以在实例终止前从实例中下载日志文件。 +// 创建生命周期挂钩,可为伸缩组添加一个或多个生命周期挂钩,最多添加5个。添加生命周期挂钩后,当伸缩组进行伸缩活动时,实例将被生命周期挂钩挂起并置于等待状态(正在加入伸缩组或正在移出伸缩组),实例将保持此状态直至超时时间结束或者用户手动回调。用户能够在实例保持等待状态的时间段内执行自定义操作,例如,用户可以在新启动的实例上安装或配置软件,也可以在实例终止前从实例中下载日志文件。 func (c *AsClient) CreateLifyCycleHook(request *model.CreateLifyCycleHookRequest) (*model.CreateLifyCycleHookResponse, error) { requestDef := GenReqDefForCreateLifyCycleHook() @@ -150,7 +150,7 @@ func (c *AsClient) CreateLifyCycleHook(request *model.CreateLifyCycleHookRequest } } -//创建弹性伸缩配置。伸缩配置是伸缩组内实例(弹性云服务器云主机)的模板,定义了伸缩组内待添加的实例的规格数据。伸缩配置与伸缩组是解耦的,同一伸缩配置可以被多个伸缩组使用。默认最多可以创建100个伸缩配置。 +// 创建弹性伸缩配置。伸缩配置是伸缩组内实例(弹性云服务器云主机)的模板,定义了伸缩组内待添加的实例的规格数据。伸缩配置与伸缩组是解耦的,同一伸缩配置可以被多个伸缩组使用。默认最多可以创建100个伸缩配置。 func (c *AsClient) CreateScalingConfig(request *model.CreateScalingConfigRequest) (*model.CreateScalingConfigResponse, error) { requestDef := GenReqDefForCreateScalingConfig() @@ -161,7 +161,7 @@ func (c *AsClient) CreateScalingConfig(request *model.CreateScalingConfigRequest } } -//伸缩组是具有相同应用场景的实例的集合,是启停伸缩策略和进行伸缩活动的基本单位。伸缩组内定义了最大实例数、期望实例数、最小实例数、虚拟私有云、子网、负载均衡等信息。默认最多可以创建10个伸缩组。如果伸缩组配置了负载均衡,在添加或移除实例时,会自动为实例绑定或解绑负载均衡监听器。如果伸缩组使用负载均衡健康检查方式,伸缩组中的实例需要启用负载均衡器的监听端口才能通过健康检查。端口启用可在安全组中进行配置,可参考添加安全组规则进行操作。 +// 伸缩组是具有相同应用场景的实例的集合,是启停伸缩策略和进行伸缩活动的基本单位。伸缩组内定义了最大实例数、期望实例数、最小实例数、虚拟私有云、子网、负载均衡等信息。默认最多可以创建10个伸缩组。如果伸缩组配置了负载均衡,在添加或移除实例时,会自动为实例绑定或解绑负载均衡监听器。如果伸缩组使用负载均衡健康检查方式,伸缩组中的实例需要启用负载均衡器的监听端口才能通过健康检查。端口启用可在安全组中进行配置,可参考添加安全组规则进行操作。 func (c *AsClient) CreateScalingGroup(request *model.CreateScalingGroupRequest) (*model.CreateScalingGroupResponse, error) { requestDef := GenReqDefForCreateScalingGroup() @@ -172,7 +172,7 @@ func (c *AsClient) CreateScalingGroup(request *model.CreateScalingGroupRequest) } } -//给弹性伸缩组配置通知功能。每调用一次该接口,伸缩组即配置一个通知主题及其通知场景,每个伸缩组最多可以增加5个主题。通知主题由用户事先在SMN创建并进行订阅,当通知主题对应的通知场景出现时,伸缩组会向用户的订阅终端发送通知。 +// 给弹性伸缩组配置通知功能。每调用一次该接口,伸缩组即配置一个通知主题及其通知场景,每个伸缩组最多可以增加5个主题。通知主题由用户事先在SMN创建并进行订阅,当通知主题对应的通知场景出现时,伸缩组会向用户的订阅终端发送通知。 func (c *AsClient) CreateScalingNotification(request *model.CreateScalingNotificationRequest) (*model.CreateScalingNotificationResponse, error) { requestDef := GenReqDefForCreateScalingNotification() @@ -183,7 +183,7 @@ func (c *AsClient) CreateScalingNotification(request *model.CreateScalingNotific } } -//创建弹性伸缩策略。伸缩策略定义了伸缩组内实例的扩张和收缩操作。如果执行伸缩策略造成伸缩组期望实例数与伸缩组内实例数不符,弹性伸缩会自动调整实例资源,以匹配期望实例数。当前伸缩策略支持告警触发策略,周期触发策略,定时触发策略。在策略执行具体动作中,可设置实例变化的个数,或根据当前实例的百分比数进行伸缩。 +// 创建弹性伸缩策略。伸缩策略定义了伸缩组内实例的扩张和收缩操作。如果执行伸缩策略造成伸缩组期望实例数与伸缩组内实例数不符,弹性伸缩会自动调整实例资源,以匹配期望实例数。当前伸缩策略支持告警触发策略,周期触发策略,定时触发策略。在策略执行具体动作中,可设置实例变化的个数,或根据当前实例的百分比数进行伸缩。 func (c *AsClient) CreateScalingPolicy(request *model.CreateScalingPolicyRequest) (*model.CreateScalingPolicyResponse, error) { requestDef := GenReqDefForCreateScalingPolicy() @@ -194,7 +194,7 @@ func (c *AsClient) CreateScalingPolicy(request *model.CreateScalingPolicyRequest } } -//创建或删除指定资源的标签。每个伸缩组最多添加10个标签。 +// 创建或删除指定资源的标签。每个伸缩组最多添加10个标签。 func (c *AsClient) CreateScalingTagInfo(request *model.CreateScalingTagInfoRequest) (*model.CreateScalingTagInfoResponse, error) { requestDef := GenReqDefForCreateScalingTagInfo() @@ -205,7 +205,7 @@ func (c *AsClient) CreateScalingTagInfo(request *model.CreateScalingTagInfoReque } } -//删除一个指定生命周期挂钩。伸缩组进行伸缩活动时,不允许删除该伸缩组内的生命周期挂钩。 +// 删除一个指定生命周期挂钩。伸缩组进行伸缩活动时,不允许删除该伸缩组内的生命周期挂钩。 func (c *AsClient) DeleteLifecycleHook(request *model.DeleteLifecycleHookRequest) (*model.DeleteLifecycleHookResponse, error) { requestDef := GenReqDefForDeleteLifecycleHook() @@ -216,7 +216,7 @@ func (c *AsClient) DeleteLifecycleHook(request *model.DeleteLifecycleHookRequest } } -//删除一个指定弹性伸缩配置。 +// 删除一个指定弹性伸缩配置。 func (c *AsClient) DeleteScalingConfig(request *model.DeleteScalingConfigRequest) (*model.DeleteScalingConfigResponse, error) { requestDef := GenReqDefForDeleteScalingConfig() @@ -227,7 +227,7 @@ func (c *AsClient) DeleteScalingConfig(request *model.DeleteScalingConfigRequest } } -//删除一个指定弹性伸缩组。force_delete属性表示如果伸缩组存在ECS实例或正在进行伸缩活动,是否强制删除伸缩组并移出和释放ECS实例。默认值为no,表示不强制删除伸缩组。如果force_delete的值为no,必须满足以下两个条件,才能删除伸缩组:条件一:伸缩组没有正在进行的伸缩活动。条件二:伸缩组当前的ECS实例数量(current_instance_number)为0。如果force_delete的值为yes,伸缩组会被置于DELETING状态,拒绝接收新的伸缩活动请求,然后等待已有的伸缩活动完成,最后将伸缩组内所有ECS实例移出伸缩组(用户手动添加的ECS实例会被移出伸缩组,弹性伸缩自动创建的ECS实例会被自动删除)并删除伸缩组。 +// 删除一个指定弹性伸缩组。force_delete属性表示如果伸缩组存在ECS实例或正在进行伸缩活动,是否强制删除伸缩组并移出和释放ECS实例。默认值为no,表示不强制删除伸缩组。如果force_delete的值为no,必须满足以下两个条件,才能删除伸缩组:条件一:伸缩组没有正在进行的伸缩活动。条件二:伸缩组当前的ECS实例数量(current_instance_number)为0。如果force_delete的值为yes,伸缩组会被置于DELETING状态,拒绝接收新的伸缩活动请求,然后等待已有的伸缩活动完成,最后将伸缩组内所有ECS实例移出伸缩组(用户手动添加的ECS实例会被移出伸缩组,弹性伸缩自动创建的ECS实例会被自动删除)并删除伸缩组。 func (c *AsClient) DeleteScalingGroup(request *model.DeleteScalingGroupRequest) (*model.DeleteScalingGroupResponse, error) { requestDef := GenReqDefForDeleteScalingGroup() @@ -238,7 +238,7 @@ func (c *AsClient) DeleteScalingGroup(request *model.DeleteScalingGroupRequest) } } -//从弹性伸缩组中移出一个指定实例。实例处于INSERVICE且移出后实例数不能小于伸缩组的最小实例数时才可以移出。当伸缩组没有伸缩活动时,才能移出实例。 +// 从弹性伸缩组中移出一个指定实例。实例处于INSERVICE且移出后实例数不能小于伸缩组的最小实例数时才可以移出。当伸缩组没有伸缩活动时,才能移出实例。 func (c *AsClient) DeleteScalingInstance(request *model.DeleteScalingInstanceRequest) (*model.DeleteScalingInstanceResponse, error) { requestDef := GenReqDefForDeleteScalingInstance() @@ -249,7 +249,7 @@ func (c *AsClient) DeleteScalingInstance(request *model.DeleteScalingInstanceReq } } -//删除指定的弹性伸缩组中指定的通知。 +// 删除指定的弹性伸缩组中指定的通知。 func (c *AsClient) DeleteScalingNotification(request *model.DeleteScalingNotificationRequest) (*model.DeleteScalingNotificationResponse, error) { requestDef := GenReqDefForDeleteScalingNotification() @@ -260,7 +260,7 @@ func (c *AsClient) DeleteScalingNotification(request *model.DeleteScalingNotific } } -//删除一个指定弹性伸缩策略。 +// 删除一个指定弹性伸缩策略。 func (c *AsClient) DeleteScalingPolicy(request *model.DeleteScalingPolicyRequest) (*model.DeleteScalingPolicyResponse, error) { requestDef := GenReqDefForDeleteScalingPolicy() @@ -271,7 +271,7 @@ func (c *AsClient) DeleteScalingPolicy(request *model.DeleteScalingPolicyRequest } } -//创建或删除指定资源的标签。每个伸缩组最多添加10个标签。 +// 创建或删除指定资源的标签。每个伸缩组最多添加10个标签。 func (c *AsClient) DeleteScalingTagInfo(request *model.DeleteScalingTagInfoRequest) (*model.DeleteScalingTagInfoResponse, error) { requestDef := GenReqDefForDeleteScalingTagInfo() @@ -282,7 +282,7 @@ func (c *AsClient) DeleteScalingTagInfo(request *model.DeleteScalingTagInfoReque } } -//立即执行或启用或停止一个指定弹性伸缩策略。当伸缩组、伸缩策略状态处于INSERVICE时,伸缩策略才能被正确执行,否则会执行失败。 +// 立即执行或启用或停止一个指定弹性伸缩策略。当伸缩组、伸缩策略状态处于INSERVICE时,伸缩策略才能被正确执行,否则会执行失败。 func (c *AsClient) ExecuteScalingPolicy(request *model.ExecuteScalingPolicyRequest) (*model.ExecuteScalingPolicyResponse, error) { requestDef := GenReqDefForExecuteScalingPolicy() @@ -293,7 +293,7 @@ func (c *AsClient) ExecuteScalingPolicy(request *model.ExecuteScalingPolicyReque } } -//添加生命周期挂钩后,当伸缩组进行伸缩活动时,实例将被挂钩挂起并置于等待状态,根据输入条件过滤查询弹性伸缩组中伸缩实例的挂起信息。可根据实例ID进行条件过滤查询。若不加过滤条件默认查询指定伸缩组内所有实例挂起信息。 +// 添加生命周期挂钩后,当伸缩组进行伸缩活动时,实例将被挂钩挂起并置于等待状态,根据输入条件过滤查询弹性伸缩组中伸缩实例的挂起信息。可根据实例ID进行条件过滤查询。若不加过滤条件默认查询指定伸缩组内所有实例挂起信息。 func (c *AsClient) ListHookInstances(request *model.ListHookInstancesRequest) (*model.ListHookInstancesResponse, error) { requestDef := GenReqDefForListHookInstances() @@ -304,7 +304,7 @@ func (c *AsClient) ListHookInstances(request *model.ListHookInstancesRequest) (* } } -//根据伸缩组ID查询生命周期挂钩列表。 +// 根据伸缩组ID查询生命周期挂钩列表。 func (c *AsClient) ListLifeCycleHooks(request *model.ListLifeCycleHooksRequest) (*model.ListLifeCycleHooksResponse, error) { requestDef := GenReqDefForListLifeCycleHooks() @@ -315,7 +315,7 @@ func (c *AsClient) ListLifeCycleHooks(request *model.ListLifeCycleHooksRequest) } } -//根据项目ID查询指定资源类型的资源实例。资源、资源tag默认按照创建时间倒序。 +// 根据项目ID查询指定资源类型的资源实例。资源、资源tag默认按照创建时间倒序。 func (c *AsClient) ListResourceInstances(request *model.ListResourceInstancesRequest) (*model.ListResourceInstancesResponse, error) { requestDef := GenReqDefForListResourceInstances() @@ -326,7 +326,7 @@ func (c *AsClient) ListResourceInstances(request *model.ListResourceInstancesReq } } -//根据输入条件过滤查询伸缩活动日志。查询结果分页显示。可根据起始时间,截止时间,起始行号,记录数进行条件过滤查询。若不加过滤条件默认查询最多20条伸缩活动日志信息。 +// 根据输入条件过滤查询伸缩活动日志。查询结果分页显示。可根据起始时间,截止时间,起始行号,记录数进行条件过滤查询。若不加过滤条件默认查询最多20条伸缩活动日志信息。 func (c *AsClient) ListScalingActivityLogs(request *model.ListScalingActivityLogsRequest) (*model.ListScalingActivityLogsResponse, error) { requestDef := GenReqDefForListScalingActivityLogs() @@ -337,7 +337,7 @@ func (c *AsClient) ListScalingActivityLogs(request *model.ListScalingActivityLog } } -//根据输入条件过滤查询伸缩活动日志,支持查询实例伸缩、ELB迁移、实例备用等类型活动。查询结果分页显示。查询伸缩活动日志V2版本与V1版本区别在于,V2版本展示了更详细的实例伸缩日志,如ELB迁移日志,实例备用日志信息。可根据起始时间,截止时间,起始行号,记录数,伸缩活动类型等作为条件过滤查询。若不加过滤条件默认查询最多20条伸缩活动日志信息。 +// 根据输入条件过滤查询伸缩活动日志,支持查询实例伸缩、ELB迁移、实例备用等类型活动。查询结果分页显示。查询伸缩活动日志V2版本与V1版本区别在于,V2版本展示了更详细的实例伸缩日志,如ELB迁移日志,实例备用日志信息。可根据起始时间,截止时间,起始行号,记录数,伸缩活动类型等作为条件过滤查询。若不加过滤条件默认查询最多20条伸缩活动日志信息。 func (c *AsClient) ListScalingActivityV2Logs(request *model.ListScalingActivityV2LogsRequest) (*model.ListScalingActivityV2LogsResponse, error) { requestDef := GenReqDefForListScalingActivityV2Logs() @@ -348,7 +348,7 @@ func (c *AsClient) ListScalingActivityV2Logs(request *model.ListScalingActivityV } } -//根据输入条件过滤查询弹性伸缩配置。查询结果分页显示。可以根据伸缩配置名称,镜像ID,起始行号,记录条数进行条件过滤查询。若不加过滤条件默认最多查询租户下20条伸缩配置信息。 +// 根据输入条件过滤查询弹性伸缩配置。查询结果分页显示。可以根据伸缩配置名称,镜像ID,起始行号,记录条数进行条件过滤查询。若不加过滤条件默认最多查询租户下20条伸缩配置信息。 func (c *AsClient) ListScalingConfigs(request *model.ListScalingConfigsRequest) (*model.ListScalingConfigsResponse, error) { requestDef := GenReqDefForListScalingConfigs() @@ -359,7 +359,7 @@ func (c *AsClient) ListScalingConfigs(request *model.ListScalingConfigsRequest) } } -//根据输入条件过滤查询弹性伸缩组列表。查询结果分页显示。可根据伸缩组名称,伸缩配置ID,伸缩组状态,企业项目ID,起始行号,记录条数进行条件过滤查询。若不加过滤条件默认最多查询租户下20条伸缩组信息。 +// 根据输入条件过滤查询弹性伸缩组列表。查询结果分页显示。可根据伸缩组名称,伸缩配置ID,伸缩组状态,企业项目ID,起始行号,记录条数进行条件过滤查询。若不加过滤条件默认最多查询租户下20条伸缩组信息。 func (c *AsClient) ListScalingGroups(request *model.ListScalingGroupsRequest) (*model.ListScalingGroupsResponse, error) { requestDef := GenReqDefForListScalingGroups() @@ -370,7 +370,7 @@ func (c *AsClient) ListScalingGroups(request *model.ListScalingGroupsRequest) (* } } -//根据输入条件过滤查询弹性伸缩组中实例信息。查询结果分页显示。可根据实例在伸缩组中的生命周期状态,实例健康状态,实例保护状态,起始行号,记录条数进行条件过滤查询。若不加过滤条件默认查询组内最多20条实例信息 +// 根据输入条件过滤查询弹性伸缩组中实例信息。查询结果分页显示。可根据实例在伸缩组中的生命周期状态,实例健康状态,实例保护状态,起始行号,记录条数进行条件过滤查询。若不加过滤条件默认查询组内最多20条实例信息 func (c *AsClient) ListScalingInstances(request *model.ListScalingInstancesRequest) (*model.ListScalingInstancesResponse, error) { requestDef := GenReqDefForListScalingInstances() @@ -381,7 +381,7 @@ func (c *AsClient) ListScalingInstances(request *model.ListScalingInstancesReque } } -//根据伸缩组ID查询指定弹性伸缩组的通知列表。 +// 根据伸缩组ID查询指定弹性伸缩组的通知列表。 func (c *AsClient) ListScalingNotifications(request *model.ListScalingNotificationsRequest) (*model.ListScalingNotificationsResponse, error) { requestDef := GenReqDefForListScalingNotifications() @@ -392,7 +392,7 @@ func (c *AsClient) ListScalingNotifications(request *model.ListScalingNotificati } } -//根据输入条件过滤查询弹性伸缩策略。查询结果分页显示。可根据伸缩策略名称,策略类型,伸缩策略ID,起始行号,记录数进行条件过滤查询。若不加过滤条件默认查询租户下指定伸缩组内最多20条伸缩策略信息。 +// 根据输入条件过滤查询弹性伸缩策略。查询结果分页显示。可根据伸缩策略名称,策略类型,伸缩策略ID,起始行号,记录数进行条件过滤查询。若不加过滤条件默认查询租户下指定伸缩组内最多20条伸缩策略信息。 func (c *AsClient) ListScalingPolicies(request *model.ListScalingPoliciesRequest) (*model.ListScalingPoliciesResponse, error) { requestDef := GenReqDefForListScalingPolicies() @@ -403,7 +403,7 @@ func (c *AsClient) ListScalingPolicies(request *model.ListScalingPoliciesRequest } } -//根据输入条件过滤查询策略执行的历史记录。查询结果分页显示。可根据日志ID,伸缩资源类型,伸缩资源ID,策略执行类型,查询额起始,查询截止时间,查询起始行号,查询记录数进行条件过滤查询。若不加过滤条件默认查询最多20条策略执行日志信息。 +// 根据输入条件过滤查询策略执行的历史记录。查询结果分页显示。可根据日志ID,伸缩资源类型,伸缩资源ID,策略执行类型,查询额起始,查询截止时间,查询起始行号,查询记录数进行条件过滤查询。若不加过滤条件默认查询最多20条策略执行日志信息。 func (c *AsClient) ListScalingPolicyExecuteLogs(request *model.ListScalingPolicyExecuteLogsRequest) (*model.ListScalingPolicyExecuteLogsResponse, error) { requestDef := GenReqDefForListScalingPolicyExecuteLogs() @@ -414,7 +414,7 @@ func (c *AsClient) ListScalingPolicyExecuteLogs(request *model.ListScalingPolicy } } -//根据项目ID和资源ID查询指定资源类型的资源标签列表。 +// 根据项目ID和资源ID查询指定资源类型的资源标签列表。 func (c *AsClient) ListScalingTagInfosByResourceId(request *model.ListScalingTagInfosByResourceIdRequest) (*model.ListScalingTagInfosByResourceIdResponse, error) { requestDef := GenReqDefForListScalingTagInfosByResourceId() @@ -425,7 +425,7 @@ func (c *AsClient) ListScalingTagInfosByResourceId(request *model.ListScalingTag } } -//根据项目ID查询指定资源类型的标签列表。 +// 根据项目ID查询指定资源类型的标签列表。 func (c *AsClient) ListScalingTagInfosByTenantId(request *model.ListScalingTagInfosByTenantIdRequest) (*model.ListScalingTagInfosByTenantIdResponse, error) { requestDef := GenReqDefForListScalingTagInfosByTenantId() @@ -436,7 +436,7 @@ func (c *AsClient) ListScalingTagInfosByTenantId(request *model.ListScalingTagIn } } -//启用或停止一个指定弹性伸缩组。已停用状态的伸缩组,不会自动触发任何伸缩活动。当伸缩组正在进行伸缩活动,即使停用,正在进行的伸缩活动也不会立即停止。 +// 启用或停止一个指定弹性伸缩组。已停用状态的伸缩组,不会自动触发任何伸缩活动。当伸缩组正在进行伸缩活动,即使停用,正在进行的伸缩活动也不会立即停止。 func (c *AsClient) PauseScalingGroup(request *model.PauseScalingGroupRequest) (*model.PauseScalingGroupResponse, error) { requestDef := GenReqDefForPauseScalingGroup() @@ -447,7 +447,7 @@ func (c *AsClient) PauseScalingGroup(request *model.PauseScalingGroupRequest) (* } } -//立即执行或启用或停止一个指定弹性伸缩策略。当伸缩组、伸缩策略状态处于INSERVICE时,伸缩策略才能被正确执行,否则会执行失败。 +// 立即执行或启用或停止一个指定弹性伸缩策略。当伸缩组、伸缩策略状态处于INSERVICE时,伸缩策略才能被正确执行,否则会执行失败。 func (c *AsClient) PauseScalingPolicy(request *model.PauseScalingPolicyRequest) (*model.PauseScalingPolicyResponse, error) { requestDef := GenReqDefForPauseScalingPolicy() @@ -458,7 +458,7 @@ func (c *AsClient) PauseScalingPolicy(request *model.PauseScalingPolicyRequest) } } -//启用或停止一个指定弹性伸缩组。已停用状态的伸缩组,不会自动触发任何伸缩活动。当伸缩组正在进行伸缩活动,即使停用,正在进行的伸缩活动也不会立即停止。 +// 启用或停止一个指定弹性伸缩组。已停用状态的伸缩组,不会自动触发任何伸缩活动。当伸缩组正在进行伸缩活动,即使停用,正在进行的伸缩活动也不会立即停止。 func (c *AsClient) ResumeScalingGroup(request *model.ResumeScalingGroupRequest) (*model.ResumeScalingGroupResponse, error) { requestDef := GenReqDefForResumeScalingGroup() @@ -469,7 +469,7 @@ func (c *AsClient) ResumeScalingGroup(request *model.ResumeScalingGroupRequest) } } -//立即执行或启用或停止一个指定弹性伸缩策略。当伸缩组、伸缩策略状态处于INSERVICE时,伸缩策略才能被正确执行,否则会执行失败。 +// 立即执行或启用或停止一个指定弹性伸缩策略。当伸缩组、伸缩策略状态处于INSERVICE时,伸缩策略才能被正确执行,否则会执行失败。 func (c *AsClient) ResumeScalingPolicy(request *model.ResumeScalingPolicyRequest) (*model.ResumeScalingPolicyResponse, error) { requestDef := GenReqDefForResumeScalingPolicy() @@ -480,7 +480,7 @@ func (c *AsClient) ResumeScalingPolicy(request *model.ResumeScalingPolicyRequest } } -//根据伸缩组ID及生命周期挂钩名称查询指定的生命周期挂钩详情。 +// 根据伸缩组ID及生命周期挂钩名称查询指定的生命周期挂钩详情。 func (c *AsClient) ShowLifeCycleHook(request *model.ShowLifeCycleHookRequest) (*model.ShowLifeCycleHookResponse, error) { requestDef := GenReqDefForShowLifeCycleHook() @@ -491,7 +491,7 @@ func (c *AsClient) ShowLifeCycleHook(request *model.ShowLifeCycleHookRequest) (* } } -//根据伸缩组ID查询指定弹性伸缩组下的伸缩策略和伸缩实例的配额总数及已使用配额数。 +// 根据伸缩组ID查询指定弹性伸缩组下的伸缩策略和伸缩实例的配额总数及已使用配额数。 func (c *AsClient) ShowPolicyAndInstanceQuota(request *model.ShowPolicyAndInstanceQuotaRequest) (*model.ShowPolicyAndInstanceQuotaResponse, error) { requestDef := GenReqDefForShowPolicyAndInstanceQuota() @@ -502,7 +502,7 @@ func (c *AsClient) ShowPolicyAndInstanceQuota(request *model.ShowPolicyAndInstan } } -//查询指定租户下的弹性伸缩组、伸缩配置、伸缩带宽策略、伸缩策略和伸缩实例的配额总数及已使用配额数。 +// 查询指定租户下的弹性伸缩组、伸缩配置、伸缩带宽策略、伸缩策略和伸缩实例的配额总数及已使用配额数。 func (c *AsClient) ShowResourceQuota(request *model.ShowResourceQuotaRequest) (*model.ShowResourceQuotaResponse, error) { requestDef := GenReqDefForShowResourceQuota() @@ -513,7 +513,7 @@ func (c *AsClient) ShowResourceQuota(request *model.ShowResourceQuotaRequest) (* } } -//根据伸缩配置ID查询一个弹性伸缩配置的详细信息。 +// 根据伸缩配置ID查询一个弹性伸缩配置的详细信息。 func (c *AsClient) ShowScalingConfig(request *model.ShowScalingConfigRequest) (*model.ShowScalingConfigResponse, error) { requestDef := GenReqDefForShowScalingConfig() @@ -524,7 +524,7 @@ func (c *AsClient) ShowScalingConfig(request *model.ShowScalingConfigRequest) (* } } -//查询一个指定弹性伸缩组详情。 +// 查询一个指定弹性伸缩组详情。 func (c *AsClient) ShowScalingGroup(request *model.ShowScalingGroupRequest) (*model.ShowScalingGroupResponse, error) { requestDef := GenReqDefForShowScalingGroup() @@ -535,7 +535,7 @@ func (c *AsClient) ShowScalingGroup(request *model.ShowScalingGroupRequest) (*mo } } -//查询指定弹性伸缩策略信息。 +// 查询指定弹性伸缩策略信息。 func (c *AsClient) ShowScalingPolicy(request *model.ShowScalingPolicyRequest) (*model.ShowScalingPolicyResponse, error) { requestDef := GenReqDefForShowScalingPolicy() @@ -546,7 +546,7 @@ func (c *AsClient) ShowScalingPolicy(request *model.ShowScalingPolicyRequest) (* } } -//修改一个指定生命周期挂钩中的信息。 +// 修改一个指定生命周期挂钩中的信息。 func (c *AsClient) UpdateLifeCycleHook(request *model.UpdateLifeCycleHookRequest) (*model.UpdateLifeCycleHookResponse, error) { requestDef := GenReqDefForUpdateLifeCycleHook() @@ -557,7 +557,7 @@ func (c *AsClient) UpdateLifeCycleHook(request *model.UpdateLifeCycleHookRequest } } -//修改一个指定弹性伸缩组中的信息。更换伸缩组的伸缩配置,伸缩组中已经存在的使用之前伸缩配置创建的云服务器云主机不受影响。伸缩组为没有正在进行的伸缩活动时,可以修改伸缩组的子网、可用区和负载均衡配置。当伸缩组的期望实例数改变时,会触发伸缩活动加入或移出实例。期望实例数必须大于或等于最小实例数,必须小于或等于最大实例数。 +// 修改一个指定弹性伸缩组中的信息。更换伸缩组的伸缩配置,伸缩组中已经存在的使用之前伸缩配置创建的云服务器云主机不受影响。伸缩组为没有正在进行的伸缩活动时,可以修改伸缩组的子网、可用区和负载均衡配置。当伸缩组的期望实例数改变时,会触发伸缩活动加入或移出实例。期望实例数必须大于或等于最小实例数,必须小于或等于最大实例数。 func (c *AsClient) UpdateScalingGroup(request *model.UpdateScalingGroupRequest) (*model.UpdateScalingGroupResponse, error) { requestDef := GenReqDefForUpdateScalingGroup() @@ -568,7 +568,7 @@ func (c *AsClient) UpdateScalingGroup(request *model.UpdateScalingGroupRequest) } } -//修改指定弹性伸缩策略。 +// 修改指定弹性伸缩策略。 func (c *AsClient) UpdateScalingPolicy(request *model.UpdateScalingPolicyRequest) (*model.UpdateScalingPolicyResponse, error) { requestDef := GenReqDefForUpdateScalingPolicy() @@ -579,7 +579,7 @@ func (c *AsClient) UpdateScalingPolicy(request *model.UpdateScalingPolicyRequest } } -//查询弹性伸缩API所有版本信息 +// 查询弹性伸缩API所有版本信息 func (c *AsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*model.ListApiVersionsResponse, error) { requestDef := GenReqDefForListApiVersions() @@ -590,7 +590,7 @@ func (c *AsClient) ListApiVersions(request *model.ListApiVersionsRequest) (*mode } } -//根据租户id和资源id查询指定资源类型的标签列表 +// 根据租户id和资源id查询指定资源类型的标签列表 func (c *AsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model.ShowApiVersionResponse, error) { requestDef := GenReqDefForShowApiVersion() @@ -601,7 +601,7 @@ func (c *AsClient) ShowApiVersion(request *model.ShowApiVersionRequest) (*model. } } -//可针对不同类型资源如伸缩组或带宽,创建弹性伸缩策略。创建弹性伸缩策略V2版本与V1版本的区别在于,V2版本支持创建对带宽资源进行调整的策略,通过伸缩资源类型区分伸缩资源。 +// 可针对不同类型资源如伸缩组或带宽,创建弹性伸缩策略。创建弹性伸缩策略V2版本与V1版本的区别在于,V2版本支持创建对带宽资源进行调整的策略,通过伸缩资源类型区分伸缩资源。 func (c *AsClient) CreateScalingV2Policy(request *model.CreateScalingV2PolicyRequest) (*model.CreateScalingV2PolicyResponse, error) { requestDef := GenReqDefForCreateScalingV2Policy() @@ -612,7 +612,7 @@ func (c *AsClient) CreateScalingV2Policy(request *model.CreateScalingV2PolicyReq } } -//根据输入条件过滤查询弹性伸缩策略,支持查询当前租户下全量伸缩策略。查询结果分页显示。可根据伸缩资源ID,伸缩资源类型,伸缩策略名称,伸缩策略ID,告警ID,企业项目ID,起始行号,记录数,排序方式等条件进行过滤查询。若不加过滤添加默认查询该租户下最多20条伸缩策略信息。 +// 根据输入条件过滤查询弹性伸缩策略,支持查询当前租户下全量伸缩策略。查询结果分页显示。可根据伸缩资源ID,伸缩资源类型,伸缩策略名称,伸缩策略ID,告警ID,企业项目ID,起始行号,记录数,排序方式等条件进行过滤查询。若不加过滤添加默认查询该租户下最多20条伸缩策略信息。 func (c *AsClient) ListAllScalingV2Policies(request *model.ListAllScalingV2PoliciesRequest) (*model.ListAllScalingV2PoliciesResponse, error) { requestDef := GenReqDefForListAllScalingV2Policies() @@ -623,7 +623,7 @@ func (c *AsClient) ListAllScalingV2Policies(request *model.ListAllScalingV2Polic } } -//根据输入条件过滤查询弹性伸缩策略。查询结果分页显示。查询弹性伸缩策略V2版本与V1版本的区别在于,V2版本响应含伸缩资源类型。可根据伸缩策略名称,策略类型,伸缩策略ID,起始行号,记录数进行条件过滤查询。若不加过滤条件默认查询该租户下指定资源下最多20条伸缩策略信息。 +// 根据输入条件过滤查询弹性伸缩策略。查询结果分页显示。查询弹性伸缩策略V2版本与V1版本的区别在于,V2版本响应含伸缩资源类型。可根据伸缩策略名称,策略类型,伸缩策略ID,起始行号,记录数进行条件过滤查询。若不加过滤条件默认查询该租户下指定资源下最多20条伸缩策略信息。 func (c *AsClient) ListScalingV2Policies(request *model.ListScalingV2PoliciesRequest) (*model.ListScalingV2PoliciesResponse, error) { requestDef := GenReqDefForListScalingV2Policies() @@ -634,7 +634,7 @@ func (c *AsClient) ListScalingV2Policies(request *model.ListScalingV2PoliciesReq } } -//查询指定弹性伸缩策略信息。 +// 查询指定弹性伸缩策略信息。 func (c *AsClient) ShowScalingV2Policy(request *model.ShowScalingV2PolicyRequest) (*model.ShowScalingV2PolicyResponse, error) { requestDef := GenReqDefForShowScalingV2Policy() @@ -645,7 +645,7 @@ func (c *AsClient) ShowScalingV2Policy(request *model.ShowScalingV2PolicyRequest } } -//修改指定弹性伸缩策略。修改弹性伸缩策略V2版本与V1版本的区别在于,V2版本支持修改伸缩资源类型。 +// 修改指定弹性伸缩策略。修改弹性伸缩策略V2版本与V1版本的区别在于,V2版本支持修改伸缩资源类型。 func (c *AsClient) UpdateScalingV2Policy(request *model.UpdateScalingV2PolicyRequest) (*model.UpdateScalingV2PolicyResponse, error) { requestDef := GenReqDefForUpdateScalingV2Policy() diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/as/v1/model/model_matches.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/as/v1/model/model_matches.go index 5b110c2cfb75..1a6b2b1ad463 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/as/v1/model/model_matches.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/as/v1/model/model_matches.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type Matches struct { // 键。暂限定为resource_name。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/ecs_client.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/ecs_client.go index ea4480ba6efc..bb6653d0f5f3 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/ecs_client.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/ecs_client.go @@ -19,7 +19,7 @@ func EcsClientBuilder() *http_client.HcHttpClientBuilder { return builder } -//将云服务器加入云服务器组。添加成功后,如果该云服务器组是反亲和性策略的,则该云服务器与云服务器组中的其他成员尽量分散地创建在不同主机上。如果该云服务器时故障域类型的,则该云服务器会拥有故障域属性。 +// 将云服务器加入云服务器组。添加成功后,如果该云服务器组是反亲和性策略的,则该云服务器与云服务器组中的其他成员尽量分散地创建在不同主机上。如果该云服务器时故障域类型的,则该云服务器会拥有故障域属性。 func (c *EcsClient) AddServerGroupMember(request *model.AddServerGroupMemberRequest) (*model.AddServerGroupMemberResponse, error) { requestDef := GenReqDefForAddServerGroupMember() @@ -30,7 +30,7 @@ func (c *EcsClient) AddServerGroupMember(request *model.AddServerGroupMemberRequ } } -//虚拟IP地址用于为网卡提供第二个IP地址,同时支持与多个弹性云服务器的网卡绑定,从而实现多个弹性云服务器之间的高可用性。 该接口用于给云服务器网卡配置虚拟IP地址: - 当指定的IP地址是一个不存在的虚拟IP地址时,系统会创建该虚拟IP,并绑定至对应网卡。 - 当指定的IP地址是一个已经创建好的私有IP时,系统会将指定的网卡和虚拟IP绑定。如果该IP的device_owner为空,则仅支持VPC内二三层通信;如果该IP的device_owner为neutron:VIP_PORT,则支持VPC内二三层通信、VPC之间对等连接访问,以及弹性公网IP、VPN、云专线等Internet接入。 +// 虚拟IP地址用于为网卡提供第二个IP地址,同时支持与多个弹性云服务器的网卡绑定,从而实现多个弹性云服务器之间的高可用性。 该接口用于给云服务器网卡配置虚拟IP地址: - 当指定的IP地址是一个不存在的虚拟IP地址时,系统会创建该虚拟IP,并绑定至对应网卡。 - 当指定的IP地址是一个已经创建好的私有IP时,系统会将指定的网卡和虚拟IP绑定。如果该IP的device_owner为空,则仅支持VPC内二三层通信;如果该IP的device_owner为neutron:VIP_PORT,则支持VPC内二三层通信、VPC之间对等连接访问,以及弹性公网IP、VPN、云专线等Internet接入。 func (c *EcsClient) AssociateServerVirtualIp(request *model.AssociateServerVirtualIpRequest) (*model.AssociateServerVirtualIpResponse, error) { requestDef := GenReqDefForAssociateServerVirtualIp() @@ -41,7 +41,7 @@ func (c *EcsClient) AssociateServerVirtualIp(request *model.AssociateServerVirtu } } -//把磁盘挂载到弹性云服务器上。 +// 把磁盘挂载到弹性云服务器上。 func (c *EcsClient) AttachServerVolume(request *model.AttachServerVolumeRequest) (*model.AttachServerVolumeResponse, error) { requestDef := GenReqDefForAttachServerVolume() @@ -52,7 +52,7 @@ func (c *EcsClient) AttachServerVolume(request *model.AttachServerVolumeRequest) } } -//给云服务器添加一张或多张网卡。 +// 给云服务器添加一张或多张网卡。 func (c *EcsClient) BatchAddServerNics(request *model.BatchAddServerNicsRequest) (*model.BatchAddServerNicsResponse, error) { requestDef := GenReqDefForBatchAddServerNics() @@ -63,7 +63,7 @@ func (c *EcsClient) BatchAddServerNics(request *model.BatchAddServerNicsRequest) } } -//将指定的共享磁盘一次性挂载到多个弹性云服务器,实现批量挂载。 +// 将指定的共享磁盘一次性挂载到多个弹性云服务器,实现批量挂载。 func (c *EcsClient) BatchAttachSharableVolumes(request *model.BatchAttachSharableVolumesRequest) (*model.BatchAttachSharableVolumesResponse, error) { requestDef := GenReqDefForBatchAttachSharableVolumes() @@ -74,7 +74,7 @@ func (c *EcsClient) BatchAttachSharableVolumes(request *model.BatchAttachSharabl } } -//- 为指定云服务器批量添加标签。 - 标签管理服务TMS使用该接口批量管理云服务器的标签。 +// - 为指定云服务器批量添加标签。 - 标签管理服务TMS使用该接口批量管理云服务器的标签。 func (c *EcsClient) BatchCreateServerTags(request *model.BatchCreateServerTagsRequest) (*model.BatchCreateServerTagsResponse, error) { requestDef := GenReqDefForBatchCreateServerTags() @@ -85,7 +85,7 @@ func (c *EcsClient) BatchCreateServerTags(request *model.BatchCreateServerTagsRe } } -//卸载并删除云服务器中的一张或多张网卡。 +// 卸载并删除云服务器中的一张或多张网卡。 func (c *EcsClient) BatchDeleteServerNics(request *model.BatchDeleteServerNicsRequest) (*model.BatchDeleteServerNicsResponse, error) { requestDef := GenReqDefForBatchDeleteServerNics() @@ -96,7 +96,7 @@ func (c *EcsClient) BatchDeleteServerNics(request *model.BatchDeleteServerNicsRe } } -//- 为指定云服务器批量删除标签。 - 标签管理服务TMS使用该接口批量管理云服务器的标签。 +// - 为指定云服务器批量删除标签。 - 标签管理服务TMS使用该接口批量管理云服务器的标签。 func (c *EcsClient) BatchDeleteServerTags(request *model.BatchDeleteServerTagsRequest) (*model.BatchDeleteServerTagsResponse, error) { requestDef := GenReqDefForBatchDeleteServerTags() @@ -107,7 +107,7 @@ func (c *EcsClient) BatchDeleteServerTags(request *model.BatchDeleteServerTagsRe } } -//根据给定的云服务器ID列表,批量重启云服务器,一次最多可以重启1000台。 +// 根据给定的云服务器ID列表,批量重启云服务器,一次最多可以重启1000台。 func (c *EcsClient) BatchRebootServers(request *model.BatchRebootServersRequest) (*model.BatchRebootServersResponse, error) { requestDef := GenReqDefForBatchRebootServers() @@ -118,7 +118,7 @@ func (c *EcsClient) BatchRebootServers(request *model.BatchRebootServersRequest) } } -//批量重置弹性云服务器管理帐号(root用户或Administrator用户)的密码。 +// 批量重置弹性云服务器管理帐号(root用户或Administrator用户)的密码。 func (c *EcsClient) BatchResetServersPassword(request *model.BatchResetServersPasswordRequest) (*model.BatchResetServersPasswordResponse, error) { requestDef := GenReqDefForBatchResetServersPassword() @@ -129,7 +129,7 @@ func (c *EcsClient) BatchResetServersPassword(request *model.BatchResetServersPa } } -//根据给定的云服务器ID列表,批量启动云服务器,一次最多可以启动1000台。 +// 根据给定的云服务器ID列表,批量启动云服务器,一次最多可以启动1000台。 func (c *EcsClient) BatchStartServers(request *model.BatchStartServersRequest) (*model.BatchStartServersResponse, error) { requestDef := GenReqDefForBatchStartServers() @@ -140,7 +140,7 @@ func (c *EcsClient) BatchStartServers(request *model.BatchStartServersRequest) ( } } -//根据给定的云服务器ID列表,批量关闭云服务器,一次最多可以关闭1000台。 +// 根据给定的云服务器ID列表,批量关闭云服务器,一次最多可以关闭1000台。 func (c *EcsClient) BatchStopServers(request *model.BatchStopServersRequest) (*model.BatchStopServersResponse, error) { requestDef := GenReqDefForBatchStopServers() @@ -151,7 +151,7 @@ func (c *EcsClient) BatchStopServers(request *model.BatchStopServersRequest) (*m } } -//批量修改弹性云服务器信息。 当前仅支持批量修改云服务器名称,一次最多可以修改1000台。 +// 批量修改弹性云服务器信息。 当前仅支持批量修改云服务器名称,一次最多可以修改1000台。 func (c *EcsClient) BatchUpdateServersName(request *model.BatchUpdateServersNameRequest) (*model.BatchUpdateServersNameResponse, error) { requestDef := GenReqDefForBatchUpdateServersName() @@ -162,7 +162,7 @@ func (c *EcsClient) BatchUpdateServersName(request *model.BatchUpdateServersName } } -//切换弹性云服务器操作系统。支持弹性云服务器数据盘不变的情况下,使用新镜像重装系统盘。 调用该接口后,系统将卸载系统盘,然后使用新镜像重新创建系统盘,并挂载至弹性云服务器,实现切换操作系统功能。 +// 切换弹性云服务器操作系统。支持弹性云服务器数据盘不变的情况下,使用新镜像重装系统盘。 调用该接口后,系统将卸载系统盘,然后使用新镜像重新创建系统盘,并挂载至弹性云服务器,实现切换操作系统功能。 func (c *EcsClient) ChangeServerOsWithCloudInit(request *model.ChangeServerOsWithCloudInitRequest) (*model.ChangeServerOsWithCloudInitResponse, error) { requestDef := GenReqDefForChangeServerOsWithCloudInit() @@ -173,7 +173,7 @@ func (c *EcsClient) ChangeServerOsWithCloudInit(request *model.ChangeServerOsWit } } -//切换弹性云服务器操作系统。 该接口支持未安装Cloud-init或Cloudbase-init的镜像使用。 +// 切换弹性云服务器操作系统。 该接口支持未安装Cloud-init或Cloudbase-init的镜像使用。 func (c *EcsClient) ChangeServerOsWithoutCloudInit(request *model.ChangeServerOsWithoutCloudInitRequest) (*model.ChangeServerOsWithoutCloudInitResponse, error) { requestDef := GenReqDefForChangeServerOsWithoutCloudInit() @@ -184,7 +184,7 @@ func (c *EcsClient) ChangeServerOsWithoutCloudInit(request *model.ChangeServerOs } } -//创建一台或多台[按需付费](https://support.huaweicloud.com/productdesc-ecs/ecs_01_0065.html)方式的云服务器。 弹性云服务器的登录鉴权方式包括两种:密钥对、密码。为安全起见,推荐使用密钥对方式。 - 密钥对 密钥对指使用密钥对作为弹性云服务器的鉴权方式。 接口调用方法:使用key_name字段,指定弹性云服务器登录时使用的密钥文件。 - 密码 密码指使用设置初始密码方式作为弹性云服务器的鉴权方式,此时,您可以通过用户名密码方式登录弹性云服务器,Linux操作系统时为root用户的初始密码,Windows操作系统时为Administrator用户的初始密码。 接口调用方法:使用adminPass字段,指定管理员帐号的初始登录密码。对于镜像已安装Cloud-init的Linux云服务器,如果需要使用密文密码,可以使用user_data字段进行密码注入。 > 对于安装Cloud-init镜像的Linux云服务器云主机,若指定user_data字段,则adminPass字段无效。 +// 创建一台或多台[按需付费](https://support.huaweicloud.com/productdesc-ecs/ecs_01_0065.html)方式的云服务器。 弹性云服务器的登录鉴权方式包括两种:密钥对、密码。为安全起见,推荐使用密钥对方式。 - 密钥对 密钥对指使用密钥对作为弹性云服务器的鉴权方式。 接口调用方法:使用key_name字段,指定弹性云服务器登录时使用的密钥文件。 - 密码 密码指使用设置初始密码方式作为弹性云服务器的鉴权方式,此时,您可以通过用户名密码方式登录弹性云服务器,Linux操作系统时为root用户的初始密码,Windows操作系统时为Administrator用户的初始密码。 接口调用方法:使用adminPass字段,指定管理员帐号的初始登录密码。对于镜像已安装Cloud-init的Linux云服务器,如果需要使用密文密码,可以使用user_data字段进行密码注入。 > 对于安装Cloud-init镜像的Linux云服务器云主机,若指定user_data字段,则adminPass字段无效。 func (c *EcsClient) CreatePostPaidServers(request *model.CreatePostPaidServersRequest) (*model.CreatePostPaidServersResponse, error) { requestDef := GenReqDefForCreatePostPaidServers() @@ -195,7 +195,7 @@ func (c *EcsClient) CreatePostPaidServers(request *model.CreatePostPaidServersRe } } -//创建弹性云服务器组。 与原生的创建云服务器组接口不同之处在于该接口支持企业项目细粒度权限的校验。 +// 创建弹性云服务器组。 与原生的创建云服务器组接口不同之处在于该接口支持企业项目细粒度权限的校验。 func (c *EcsClient) CreateServerGroup(request *model.CreateServerGroupRequest) (*model.CreateServerGroupResponse, error) { requestDef := GenReqDefForCreateServerGroup() @@ -206,7 +206,7 @@ func (c *EcsClient) CreateServerGroup(request *model.CreateServerGroupRequest) ( } } -//创建一台或多台云服务器。 指该接口兼容《弹性云服务器接口参考》创建云服务器v1的功能,同时合入新功能,支持创建[包年/包月](https://support.huaweicloud.com/productdesc-ecs/ecs_01_0065.html)的弹性云服务器。 弹性云服务器的登录鉴权方式包括两种:密钥对、密码。为安全起见,推荐使用密钥对方式。 - 密钥对 指使用密钥对作为弹性云服务器的鉴权方式。 接口调用方法:使用key_name字段,指定弹性云服务器登录时使用的密钥文件。 - 密码 指使用设置初始密码方式作为弹性云服务器的鉴权方式,此时,您可以通过用户名密码方式登录弹性云服务器,Linux操作系统时为root用户的初始密码,Windows操作系统时为Administrator用户的初始密码。 接口调用方法:使用adminPass字段,指定管理员帐号的初始登录密码。对于镜像已安装Cloud-init的Linux云服务器,如果需要使用密文密码,可以使用user_data字段进行密码注入。 > 对于安装Cloud-init镜像的Linux云服务器云主机,若指定user_data字段,则adminPass字段无效。 购买操作示例: - [使用API购买ECS过程中常见问题及处理方法](https://support.huaweicloud.com/api-ecs/ecs_04_0007.html) - [获取Token并检验Token的有效期 ](https://support.huaweicloud.com/api-ecs/ecs_04_0008.html) +// 创建一台或多台云服务器。 指该接口兼容《弹性云服务器接口参考》创建云服务器v1的功能,同时合入新功能,支持创建[包年/包月](https://support.huaweicloud.com/productdesc-ecs/ecs_01_0065.html)的弹性云服务器。 弹性云服务器的登录鉴权方式包括两种:密钥对、密码。为安全起见,推荐使用密钥对方式。 - 密钥对 指使用密钥对作为弹性云服务器的鉴权方式。 接口调用方法:使用key_name字段,指定弹性云服务器登录时使用的密钥文件。 - 密码 指使用设置初始密码方式作为弹性云服务器的鉴权方式,此时,您可以通过用户名密码方式登录弹性云服务器,Linux操作系统时为root用户的初始密码,Windows操作系统时为Administrator用户的初始密码。 接口调用方法:使用adminPass字段,指定管理员帐号的初始登录密码。对于镜像已安装Cloud-init的Linux云服务器,如果需要使用密文密码,可以使用user_data字段进行密码注入。 > 对于安装Cloud-init镜像的Linux云服务器云主机,若指定user_data字段,则adminPass字段无效。 购买操作示例: - [使用API购买ECS过程中常见问题及处理方法](https://support.huaweicloud.com/api-ecs/ecs_04_0007.html) - [获取Token并检验Token的有效期 ](https://support.huaweicloud.com/api-ecs/ecs_04_0008.html) func (c *EcsClient) CreateServers(request *model.CreateServersRequest) (*model.CreateServersResponse, error) { requestDef := GenReqDefForCreateServers() @@ -217,7 +217,7 @@ func (c *EcsClient) CreateServers(request *model.CreateServersRequest) (*model.C } } -//删除云服务器组。 与原生的删除云服务器组接口不同之处在于该接口支持企业项目细粒度权限的校验。 +// 删除云服务器组。 与原生的删除云服务器组接口不同之处在于该接口支持企业项目细粒度权限的校验。 func (c *EcsClient) DeleteServerGroup(request *model.DeleteServerGroupRequest) (*model.DeleteServerGroupResponse, error) { requestDef := GenReqDefForDeleteServerGroup() @@ -228,7 +228,7 @@ func (c *EcsClient) DeleteServerGroup(request *model.DeleteServerGroupRequest) ( } } -//将弹性云服务器移出云服务器组。移出后,该云服务器与云服务器组中的成员不再遵从反亲和策略。 +// 将弹性云服务器移出云服务器组。移出后,该云服务器与云服务器组中的成员不再遵从反亲和策略。 func (c *EcsClient) DeleteServerGroupMember(request *model.DeleteServerGroupMemberRequest) (*model.DeleteServerGroupMemberResponse, error) { requestDef := GenReqDefForDeleteServerGroupMember() @@ -239,7 +239,7 @@ func (c *EcsClient) DeleteServerGroupMember(request *model.DeleteServerGroupMemb } } -//删除云服务器指定元数据。 +// 删除云服务器指定元数据。 func (c *EcsClient) DeleteServerMetadata(request *model.DeleteServerMetadataRequest) (*model.DeleteServerMetadataResponse, error) { requestDef := GenReqDefForDeleteServerMetadata() @@ -250,7 +250,7 @@ func (c *EcsClient) DeleteServerMetadata(request *model.DeleteServerMetadataRequ } } -//清除Windows云服务器初始安装时系统生成的密码记录。清除密码后,不影响云服务器密码登录功能,但不能再使用获取密码功能来查询该云服务器密码。 +// 清除Windows云服务器初始安装时系统生成的密码记录。清除密码后,不影响云服务器密码登录功能,但不能再使用获取密码功能来查询该云服务器密码。 func (c *EcsClient) DeleteServerPassword(request *model.DeleteServerPasswordRequest) (*model.DeleteServerPasswordResponse, error) { requestDef := GenReqDefForDeleteServerPassword() @@ -261,7 +261,7 @@ func (c *EcsClient) DeleteServerPassword(request *model.DeleteServerPasswordRequ } } -//根据指定的云服务器ID列表,删除云服务器。 系统支持删除单台云服务器和批量删除多台云服务器操作,批量删除云服务器时,一次最多可以删除1000台。 +// 根据指定的云服务器ID列表,删除云服务器。 系统支持删除单台云服务器和批量删除多台云服务器操作,批量删除云服务器时,一次最多可以删除1000台。 func (c *EcsClient) DeleteServers(request *model.DeleteServersRequest) (*model.DeleteServersResponse, error) { requestDef := GenReqDefForDeleteServers() @@ -272,7 +272,7 @@ func (c *EcsClient) DeleteServers(request *model.DeleteServersRequest) (*model.D } } -//从弹性云服务器中卸载磁盘。 +// 从弹性云服务器中卸载磁盘。 func (c *EcsClient) DetachServerVolume(request *model.DetachServerVolumeRequest) (*model.DetachServerVolumeResponse, error) { requestDef := GenReqDefForDetachServerVolume() @@ -283,7 +283,7 @@ func (c *EcsClient) DetachServerVolume(request *model.DetachServerVolumeRequest) } } -//虚拟IP地址用于为网卡提供第二个IP地址,同时支持与多个弹性云服务器的网卡绑定,从而实现多个弹性云服务器之间的高可用性。 该接口用于解绑定弹性云服务器网卡的虚拟IP地址。解绑后,网卡不会被删除。 +// 虚拟IP地址用于为网卡提供第二个IP地址,同时支持与多个弹性云服务器的网卡绑定,从而实现多个弹性云服务器之间的高可用性。 该接口用于解绑定弹性云服务器网卡的虚拟IP地址。解绑后,网卡不会被删除。 func (c *EcsClient) DisassociateServerVirtualIp(request *model.DisassociateServerVirtualIpRequest) (*model.DisassociateServerVirtualIpResponse, error) { requestDef := GenReqDefForDisassociateServerVirtualIp() @@ -294,7 +294,7 @@ func (c *EcsClient) DisassociateServerVirtualIp(request *model.DisassociateServe } } -//查询云服务器规格详情信息和规格扩展信息列表。 +// 查询云服务器规格详情信息和规格扩展信息列表。 func (c *EcsClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error) { requestDef := GenReqDefForListFlavors() @@ -305,7 +305,7 @@ func (c *EcsClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListF } } -//变更规格时,部分规格的云服务器之间不能互相变更。您可以通过本接口,通过指定弹性云服务器规格,查询该规格可以变更的规格列表。 +// 变更规格时,部分规格的云服务器之间不能互相变更。您可以通过本接口,通过指定弹性云服务器规格,查询该规格可以变更的规格列表。 func (c *EcsClient) ListResizeFlavors(request *model.ListResizeFlavorsRequest) (*model.ListResizeFlavorsResponse, error) { requestDef := GenReqDefForListResizeFlavors() @@ -316,7 +316,7 @@ func (c *EcsClient) ListResizeFlavors(request *model.ListResizeFlavorsRequest) ( } } -//查询弹性云服务器挂载的磁盘信息。 +// 查询弹性云服务器挂载的磁盘信息。 func (c *EcsClient) ListServerBlockDevices(request *model.ListServerBlockDevicesRequest) (*model.ListServerBlockDevicesResponse, error) { requestDef := GenReqDefForListServerBlockDevices() @@ -327,7 +327,7 @@ func (c *EcsClient) ListServerBlockDevices(request *model.ListServerBlockDevices } } -//查询弹性云服务器组。 与原生的创建云服务器组接口不同之处在于该接口支持企业项目细粒度权限的校验。 +// 查询弹性云服务器组。 与原生的创建云服务器组接口不同之处在于该接口支持企业项目细粒度权限的校验。 func (c *EcsClient) ListServerGroups(request *model.ListServerGroupsRequest) (*model.ListServerGroupsResponse, error) { requestDef := GenReqDefForListServerGroups() @@ -338,7 +338,7 @@ func (c *EcsClient) ListServerGroups(request *model.ListServerGroupsRequest) (*m } } -//查询云服务器网卡信息。 +// 查询云服务器网卡信息。 func (c *EcsClient) ListServerInterfaces(request *model.ListServerInterfacesRequest) (*model.ListServerInterfacesResponse, error) { requestDef := GenReqDefForListServerInterfaces() @@ -349,7 +349,7 @@ func (c *EcsClient) ListServerInterfaces(request *model.ListServerInterfacesRequ } } -//项目(Project)用于将OpenStack的资源(计算资源、存储资源和网络资源)进行分组和隔离。项目可以是一个部门或者一个项目组。一个帐户中可以创建多个项目。 该接口用于查询用户在指定项目所使用的全部标签。 +// 项目(Project)用于将OpenStack的资源(计算资源、存储资源和网络资源)进行分组和隔离。项目可以是一个部门或者一个项目组。一个帐户中可以创建多个项目。 该接口用于查询用户在指定项目所使用的全部标签。 func (c *EcsClient) ListServerTags(request *model.ListServerTagsRequest) (*model.ListServerTagsResponse, error) { requestDef := GenReqDefForListServerTags() @@ -360,7 +360,7 @@ func (c *EcsClient) ListServerTags(request *model.ListServerTagsRequest) (*model } } -//根据用户请求条件从数据库筛选、查询所有的弹性云服务器,并关联相关表获取到弹性云服务器的详细信息。 该接口支持查询弹性云服务器计费方式,以及是否被冻结。 +// 根据用户请求条件从数据库筛选、查询所有的弹性云服务器,并关联相关表获取到弹性云服务器的详细信息。 该接口支持查询弹性云服务器计费方式,以及是否被冻结。 func (c *EcsClient) ListServersDetails(request *model.ListServersDetailsRequest) (*model.ListServersDetailsResponse, error) { requestDef := GenReqDefForListServersDetails() @@ -371,7 +371,7 @@ func (c *EcsClient) ListServersDetails(request *model.ListServersDetailsRequest) } } -//- 将部署在专属主机上的弹性云服务器迁移至其他专属主机。 - 将部署在专属主机上的弹性云服务器迁移至公共资源池,即不再部署在专属主机上。 - 将公共资源池的弹性云服务器迁移至专属主机上,成为专属主机上部署的弹性云服务器。 +// - 将部署在专属主机上的弹性云服务器迁移至其他专属主机。 - 将部署在专属主机上的弹性云服务器迁移至公共资源池,即不再部署在专属主机上。 - 将公共资源池的弹性云服务器迁移至专属主机上,成为专属主机上部署的弹性云服务器。 func (c *EcsClient) MigrateServer(request *model.MigrateServerRequest) (*model.MigrateServerResponse, error) { requestDef := GenReqDefForMigrateServer() @@ -382,7 +382,7 @@ func (c *EcsClient) MigrateServer(request *model.MigrateServerRequest) (*model.M } } -//为弹性云服务器添加一个安全组。 添加多个安全组时,建议最多为弹性云服务器添加5个安全组。 +// 为弹性云服务器添加一个安全组。 添加多个安全组时,建议最多为弹性云服务器添加5个安全组。 func (c *EcsClient) NovaAssociateSecurityGroup(request *model.NovaAssociateSecurityGroupRequest) (*model.NovaAssociateSecurityGroupResponse, error) { requestDef := GenReqDefForNovaAssociateSecurityGroup() @@ -393,7 +393,7 @@ func (c *EcsClient) NovaAssociateSecurityGroup(request *model.NovaAssociateSecur } } -//创建SSH密钥,或把公钥导入系统,生成密钥对。 创建SSH密钥成功后,请把响应数据中的私钥内容保存到本地文件,用户使用该私钥登录云服务器云主机。为保证云服务器云主机器安全,私钥数据只能读取一次,请妥善保管。 +// 创建SSH密钥,或把公钥导入系统,生成密钥对。 创建SSH密钥成功后,请把响应数据中的私钥内容保存到本地文件,用户使用该私钥登录云服务器云主机。为保证云服务器云主机器安全,私钥数据只能读取一次,请妥善保管。 func (c *EcsClient) NovaCreateKeypair(request *model.NovaCreateKeypairRequest) (*model.NovaCreateKeypairResponse, error) { requestDef := GenReqDefForNovaCreateKeypair() @@ -404,7 +404,7 @@ func (c *EcsClient) NovaCreateKeypair(request *model.NovaCreateKeypairRequest) ( } } -//创建一台弹性云服务器。 弹性云服务器创建完成后,如需开启自动恢复功能,可以调用配置云服务器自动恢复的接口,具体使用请参见管理云服务器自动恢复动作。 该接口在云服务器创建失败后不支持自动回滚。若需要自动回滚能力,可以调用POST /v1/{project_id}/cloudservers接口,具体使用请参见创建云服务器(按需)。 +// 创建一台弹性云服务器。 弹性云服务器创建完成后,如需开启自动恢复功能,可以调用配置云服务器自动恢复的接口,具体使用请参见管理云服务器自动恢复动作。 该接口在云服务器创建失败后不支持自动回滚。若需要自动回滚能力,可以调用POST /v1/{project_id}/cloudservers接口,具体使用请参见创建云服务器(按需)。 func (c *EcsClient) NovaCreateServers(request *model.NovaCreateServersRequest) (*model.NovaCreateServersResponse, error) { requestDef := GenReqDefForNovaCreateServers() @@ -415,7 +415,7 @@ func (c *EcsClient) NovaCreateServers(request *model.NovaCreateServersRequest) ( } } -//根据SSH密钥的名称,删除指定SSH密钥。 +// 根据SSH密钥的名称,删除指定SSH密钥。 func (c *EcsClient) NovaDeleteKeypair(request *model.NovaDeleteKeypairRequest) (*model.NovaDeleteKeypairResponse, error) { requestDef := GenReqDefForNovaDeleteKeypair() @@ -426,7 +426,7 @@ func (c *EcsClient) NovaDeleteKeypair(request *model.NovaDeleteKeypairRequest) ( } } -//删除一台云服务器。 +// 删除一台云服务器。 func (c *EcsClient) NovaDeleteServer(request *model.NovaDeleteServerRequest) (*model.NovaDeleteServerResponse, error) { requestDef := GenReqDefForNovaDeleteServer() @@ -437,7 +437,7 @@ func (c *EcsClient) NovaDeleteServer(request *model.NovaDeleteServerRequest) (*m } } -//移除弹性云服务器中的安全组。 +// 移除弹性云服务器中的安全组。 func (c *EcsClient) NovaDisassociateSecurityGroup(request *model.NovaDisassociateSecurityGroupRequest) (*model.NovaDisassociateSecurityGroupResponse, error) { requestDef := GenReqDefForNovaDisassociateSecurityGroup() @@ -448,7 +448,7 @@ func (c *EcsClient) NovaDisassociateSecurityGroup(request *model.NovaDisassociat } } -//查询可用域列表。 +// 查询可用域列表。 func (c *EcsClient) NovaListAvailabilityZones(request *model.NovaListAvailabilityZonesRequest) (*model.NovaListAvailabilityZonesResponse, error) { requestDef := GenReqDefForNovaListAvailabilityZones() @@ -459,7 +459,7 @@ func (c *EcsClient) NovaListAvailabilityZones(request *model.NovaListAvailabilit } } -//查询SSH密钥信息列表。 +// 查询SSH密钥信息列表。 func (c *EcsClient) NovaListKeypairs(request *model.NovaListKeypairsRequest) (*model.NovaListKeypairsResponse, error) { requestDef := GenReqDefForNovaListKeypairs() @@ -470,7 +470,7 @@ func (c *EcsClient) NovaListKeypairs(request *model.NovaListKeypairsRequest) (*m } } -//查询指定弹性云服务器的安全组。 +// 查询指定弹性云服务器的安全组。 func (c *EcsClient) NovaListServerSecurityGroups(request *model.NovaListServerSecurityGroupsRequest) (*model.NovaListServerSecurityGroupsResponse, error) { requestDef := GenReqDefForNovaListServerSecurityGroups() @@ -481,7 +481,7 @@ func (c *EcsClient) NovaListServerSecurityGroups(request *model.NovaListServerSe } } -//查询云服务器详情信息列表。 +// 查询云服务器详情信息列表。 func (c *EcsClient) NovaListServersDetails(request *model.NovaListServersDetailsRequest) (*model.NovaListServersDetailsResponse, error) { requestDef := GenReqDefForNovaListServersDetails() @@ -492,7 +492,7 @@ func (c *EcsClient) NovaListServersDetails(request *model.NovaListServersDetails } } -//根据SSH密钥名称查询指定SSH密钥。 +// 根据SSH密钥名称查询指定SSH密钥。 func (c *EcsClient) NovaShowKeypair(request *model.NovaShowKeypairRequest) (*model.NovaShowKeypairResponse, error) { requestDef := GenReqDefForNovaShowKeypair() @@ -503,7 +503,7 @@ func (c *EcsClient) NovaShowKeypair(request *model.NovaShowKeypairRequest) (*mod } } -//根据云服务器ID,查询云服务器的详细信息。 +// 根据云服务器ID,查询云服务器的详细信息。 func (c *EcsClient) NovaShowServer(request *model.NovaShowServerRequest) (*model.NovaShowServerResponse, error) { requestDef := GenReqDefForNovaShowServer() @@ -514,7 +514,7 @@ func (c *EcsClient) NovaShowServer(request *model.NovaShowServerRequest) (*model } } -//配置、删除云服务器自动恢复动作。 +// 配置、删除云服务器自动恢复动作。 func (c *EcsClient) RegisterServerAutoRecovery(request *model.RegisterServerAutoRecoveryRequest) (*model.RegisterServerAutoRecoveryResponse, error) { requestDef := GenReqDefForRegisterServerAutoRecovery() @@ -525,7 +525,7 @@ func (c *EcsClient) RegisterServerAutoRecovery(request *model.RegisterServerAuto } } -//重装弹性云服务器的操作系统。支持弹性云服务器数据盘不变的情况下,使用原镜像重装系统盘。 调用该接口后,系统将卸载系统盘,然后使用原镜像重新创建系统盘,并挂载至弹性云服务器,实现重装操作系统功能。 +// 重装弹性云服务器的操作系统。支持弹性云服务器数据盘不变的情况下,使用原镜像重装系统盘。 调用该接口后,系统将卸载系统盘,然后使用原镜像重新创建系统盘,并挂载至弹性云服务器,实现重装操作系统功能。 func (c *EcsClient) ReinstallServerWithCloudInit(request *model.ReinstallServerWithCloudInitRequest) (*model.ReinstallServerWithCloudInitResponse, error) { requestDef := GenReqDefForReinstallServerWithCloudInit() @@ -536,7 +536,7 @@ func (c *EcsClient) ReinstallServerWithCloudInit(request *model.ReinstallServerW } } -//重装弹性云服务器的操作系统。 该接口支持未安装Cloud-init或Cloudbase-init的镜像。 +// 重装弹性云服务器的操作系统。 该接口支持未安装Cloud-init或Cloudbase-init的镜像。 func (c *EcsClient) ReinstallServerWithoutCloudInit(request *model.ReinstallServerWithoutCloudInitRequest) (*model.ReinstallServerWithoutCloudInitResponse, error) { requestDef := GenReqDefForReinstallServerWithoutCloudInit() @@ -547,7 +547,7 @@ func (c *EcsClient) ReinstallServerWithoutCloudInit(request *model.ReinstallServ } } -//重置弹性云服务器管理帐号(root用户或Administrator用户)的密码。 +// 重置弹性云服务器管理帐号(root用户或Administrator用户)的密码。 func (c *EcsClient) ResetServerPassword(request *model.ResetServerPasswordRequest) (*model.ResetServerPasswordResponse, error) { requestDef := GenReqDefForResetServerPassword() @@ -558,7 +558,7 @@ func (c *EcsClient) ResetServerPassword(request *model.ResetServerPasswordReques } } -//当您创建的弹性云服务器规格无法满足业务需要时,可以变更云服务器规格,升级vCPU、内存。具体接口的使用,请参见本节内容。 变更规格时,部分规格的云服务器之间不能互相变更。 您可以通过接口“/v1/{project_id}/cloudservers/resize_flavors?{instance_uuid,source_flavor_id,source_flavor_name}”查询支持列表。 +// 当您创建的弹性云服务器规格无法满足业务需要时,可以变更云服务器规格,升级vCPU、内存。具体接口的使用,请参见本节内容。 变更规格时,部分规格的云服务器之间不能互相变更。 您可以通过接口“/v1/{project_id}/cloudservers/resize_flavors?{instance_uuid,source_flavor_id,source_flavor_name}”查询支持列表。 func (c *EcsClient) ResizePostPaidServer(request *model.ResizePostPaidServerRequest) (*model.ResizePostPaidServerResponse, error) { requestDef := GenReqDefForResizePostPaidServer() @@ -569,7 +569,7 @@ func (c *EcsClient) ResizePostPaidServer(request *model.ResizePostPaidServerRequ } } -//变更云服务器规格。 v1.1版本:指该接口兼容v1接口的功能,同时合入新功能,支持变更包年/包月弹性云服务器的规格。 注意事项: - 该接口可以使用合作伙伴自身的AK/SK或者token调用,也可以用合作伙伴子客户的AK/SK或者token来调用。 - 如果使用AK/SK认证方式,示例代码中region请参考[地区和终端节点](https://developer.huaweicloud.com/endpoint)中“弹性云服务 ECS”下“区域”的内容,,serviceName(英文服务名称缩写)请指定为ECS。 - Endpoint请参考[地区和终端节点](https://developer.huaweicloud.com/endpoint)中“弹性云服务 ECS”下“终端节点(Endpoint)”的内容。 +// 变更云服务器规格。 v1.1版本:指该接口兼容v1接口的功能,同时合入新功能,支持变更包年/包月弹性云服务器的规格。 注意事项: - 该接口可以使用合作伙伴自身的AK/SK或者token调用,也可以用合作伙伴子客户的AK/SK或者token来调用。 - 如果使用AK/SK认证方式,示例代码中region请参考[地区和终端节点](https://developer.huaweicloud.com/endpoint)中“弹性云服务 ECS”下“区域”的内容,,serviceName(英文服务名称缩写)请指定为ECS。 - Endpoint请参考[地区和终端节点](https://developer.huaweicloud.com/endpoint)中“弹性云服务 ECS”下“终端节点(Endpoint)”的内容。 func (c *EcsClient) ResizeServer(request *model.ResizeServerRequest) (*model.ResizeServerResponse, error) { requestDef := GenReqDefForResizeServer() @@ -580,7 +580,7 @@ func (c *EcsClient) ResizeServer(request *model.ResizeServerRequest) (*model.Res } } -//查询弹性云服务器是否支持一键重置密码。 +// 查询弹性云服务器是否支持一键重置密码。 func (c *EcsClient) ShowResetPasswordFlag(request *model.ShowResetPasswordFlagRequest) (*model.ShowResetPasswordFlagResponse, error) { requestDef := GenReqDefForShowResetPasswordFlag() @@ -591,7 +591,7 @@ func (c *EcsClient) ShowResetPasswordFlag(request *model.ShowResetPasswordFlagRe } } -//查询弹性云服务器的详细信息。 该接口支持查询弹性云服务器的计费方式,以及是否被冻结。 +// 查询弹性云服务器的详细信息。 该接口支持查询弹性云服务器的计费方式,以及是否被冻结。 func (c *EcsClient) ShowServer(request *model.ShowServerRequest) (*model.ShowServerResponse, error) { requestDef := GenReqDefForShowServer() @@ -602,7 +602,7 @@ func (c *EcsClient) ShowServer(request *model.ShowServerRequest) (*model.ShowSer } } -//查询云服务器是否配置了自动恢复动作。 +// 查询云服务器是否配置了自动恢复动作。 func (c *EcsClient) ShowServerAutoRecovery(request *model.ShowServerAutoRecoveryRequest) (*model.ShowServerAutoRecoveryResponse, error) { requestDef := GenReqDefForShowServerAutoRecovery() @@ -613,7 +613,7 @@ func (c *EcsClient) ShowServerAutoRecovery(request *model.ShowServerAutoRecovery } } -//查询弹性云服务器挂载的单个磁盘信息。 +// 查询弹性云服务器挂载的单个磁盘信息。 func (c *EcsClient) ShowServerBlockDevice(request *model.ShowServerBlockDeviceRequest) (*model.ShowServerBlockDeviceResponse, error) { requestDef := GenReqDefForShowServerBlockDevice() @@ -624,7 +624,7 @@ func (c *EcsClient) ShowServerBlockDevice(request *model.ShowServerBlockDeviceRe } } -//查询弹性云服务器组详情。 与原生的创建云服务器组接口不同之处在于该接口支持企业项目细粒度权限的校验。 +// 查询弹性云服务器组详情。 与原生的创建云服务器组接口不同之处在于该接口支持企业项目细粒度权限的校验。 func (c *EcsClient) ShowServerGroup(request *model.ShowServerGroupRequest) (*model.ShowServerGroupResponse, error) { requestDef := GenReqDefForShowServerGroup() @@ -635,7 +635,7 @@ func (c *EcsClient) ShowServerGroup(request *model.ShowServerGroupRequest) (*mod } } -//查询租户配额信息。 +// 查询租户配额信息。 func (c *EcsClient) ShowServerLimits(request *model.ShowServerLimitsRequest) (*model.ShowServerLimitsResponse, error) { requestDef := GenReqDefForShowServerLimits() @@ -646,7 +646,7 @@ func (c *EcsClient) ShowServerLimits(request *model.ShowServerLimitsRequest) (*m } } -//当通过支持Cloudbase-init功能的镜像创建Windows云服务器时,获取云服务器初始安装时系统生成的管理员帐户(Administrator帐户或Cloudbase-init设置的帐户)随机密码。 +// 当通过支持Cloudbase-init功能的镜像创建Windows云服务器时,获取云服务器初始安装时系统生成的管理员帐户(Administrator帐户或Cloudbase-init设置的帐户)随机密码。 func (c *EcsClient) ShowServerPassword(request *model.ShowServerPasswordRequest) (*model.ShowServerPasswordResponse, error) { requestDef := GenReqDefForShowServerPassword() @@ -657,7 +657,7 @@ func (c *EcsClient) ShowServerPassword(request *model.ShowServerPasswordRequest) } } -//获取弹性云服务器VNC远程登录地址。 +// 获取弹性云服务器VNC远程登录地址。 func (c *EcsClient) ShowServerRemoteConsole(request *model.ShowServerRemoteConsoleRequest) (*model.ShowServerRemoteConsoleResponse, error) { requestDef := GenReqDefForShowServerRemoteConsole() @@ -668,7 +668,7 @@ func (c *EcsClient) ShowServerRemoteConsole(request *model.ShowServerRemoteConso } } -//- 查询指定云服务器的标签信息。 - 标签管理服务TMS使用该接口查询指定云服务器的全部标签数据。 +// - 查询指定云服务器的标签信息。 - 标签管理服务TMS使用该接口查询指定云服务器的全部标签数据。 func (c *EcsClient) ShowServerTags(request *model.ShowServerTagsRequest) (*model.ShowServerTagsResponse, error) { requestDef := GenReqDefForShowServerTags() @@ -679,7 +679,7 @@ func (c *EcsClient) ShowServerTags(request *model.ShowServerTagsRequest) (*model } } -//修改云服务器信息,目前支持修改云服务器名称及描述和hostname。 +// 修改云服务器信息,目前支持修改云服务器名称及描述和hostname。 func (c *EcsClient) UpdateServer(request *model.UpdateServerRequest) (*model.UpdateServerResponse, error) { requestDef := GenReqDefForUpdateServer() @@ -690,7 +690,7 @@ func (c *EcsClient) UpdateServer(request *model.UpdateServerRequest) (*model.Upd } } -//修改按需服务器,设置定时销毁时间。如果设置的销毁时间为空,表示取消销毁时间。 该接口支持企业项目细粒度权限的校验,具体细粒度请参见 ecs:cloudServers:put。 +// 修改按需服务器,设置定时销毁时间。如果设置的销毁时间为空,表示取消销毁时间。 该接口支持企业项目细粒度权限的校验,具体细粒度请参见 ecs:cloudServers:put。 func (c *EcsClient) UpdateServerAutoTerminateTime(request *model.UpdateServerAutoTerminateTimeRequest) (*model.UpdateServerAutoTerminateTimeResponse, error) { requestDef := GenReqDefForUpdateServerAutoTerminateTime() @@ -701,7 +701,7 @@ func (c *EcsClient) UpdateServerAutoTerminateTime(request *model.UpdateServerAut } } -//更新云服务器元数据。 - 如果元数据中没有待更新字段,则自动添加该字段。 - 如果元数据中已存在待更新字段,则直接更新字段值。 - 如果元数据中的字段不再请求参数中,则保持不变 +// 更新云服务器元数据。 - 如果元数据中没有待更新字段,则自动添加该字段。 - 如果元数据中已存在待更新字段,则直接更新字段值。 - 如果元数据中的字段不再请求参数中,则保持不变 func (c *EcsClient) UpdateServerMetadata(request *model.UpdateServerMetadataRequest) (*model.UpdateServerMetadataResponse, error) { requestDef := GenReqDefForUpdateServerMetadata() @@ -712,7 +712,7 @@ func (c *EcsClient) UpdateServerMetadata(request *model.UpdateServerMetadataRequ } } -//查询Job的执行状态。 对于创建云服务器、删除云服务器、云服务器批量操作和网卡操作等异步API,命令下发后,会返回job_id,通过job_id可以查询任务的执行状态。 +// 查询Job的执行状态。 对于创建云服务器、删除云服务器、云服务器批量操作和网卡操作等异步API,命令下发后,会返回job_id,通过job_id可以查询任务的执行状态。 func (c *EcsClient) ShowJob(request *model.ShowJobRequest) (*model.ShowJobResponse, error) { requestDef := GenReqDefForShowJob() diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_associate_server_virtual_ip_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_associate_server_virtual_ip_option.go index 6ff5bab22f2a..fb5e8ab8ad3b 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_associate_server_virtual_ip_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_associate_server_virtual_ip_option.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type AssociateServerVirtualIpOption struct { // 网卡的子网ID。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_attach_server_volume_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_attach_server_volume_option.go index d5356cae2196..28e86a04420a 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_attach_server_volume_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_attach_server_volume_option.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type AttachServerVolumeOption struct { // 磁盘挂载点。 > 说明: - 新增加的磁盘挂载点不能和已有的磁盘挂载点相同。 - 对于采用XEN虚拟化类型的弹性云服务器,device为必选参数;系统盘挂载点请指定/dev/sda;数据盘挂载点请按英文字母顺序依次指定,如/dev/sdb,/dev/sdc,如果指定了以“/dev/vd”开头的挂载点,系统默认改为“/dev/sd”。 - 对于采用KVM虚拟化类型的弹性云服务器,系统盘挂载点请指定/dev/vda;数据盘挂载点可不用指定,也可按英文字母顺序依次指定,如/dev/vdb,/dev/vdc,如果指定了以“/dev/sd”开头的挂载点,系统默认改为“/dev/vd”。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_add_server_nic_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_add_server_nic_option.go index 09bca6fc3146..da840f120186 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_add_server_nic_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_add_server_nic_option.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type BatchAddServerNicOption struct { // 云服务器添加网卡的信息。 需要指定云服务器所属虚拟私有云下已创建的网络(network)的ID,UUID格式。 指定subnet_id时不能再指定port_id参数。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_attach_sharable_volumes_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_attach_sharable_volumes_option.go index d76168a575f7..5074de1c8b3a 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_attach_sharable_volumes_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_attach_sharable_volumes_option.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type BatchAttachSharableVolumesOption struct { // 共享磁盘需要挂载的弹性云服务器ID。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_delete_server_nic_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_delete_server_nic_option.go index 48c56cab0392..13b485d34c4c 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_delete_server_nic_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_delete_server_nic_option.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type BatchDeleteServerNicOption struct { // 网卡Port ID。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_reboot_severs_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_reboot_severs_option.go index 392f20625e4c..267b19b000e9 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_reboot_severs_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_reboot_severs_option.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type BatchRebootSeversOption struct { // 云服务器ID列表。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_start_servers_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_start_servers_option.go index 973bf358b210..7f91923bd245 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_start_servers_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_start_servers_option.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type BatchStartServersOption struct { // 云服务器ID列表 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_stop_servers_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_stop_servers_option.go index e689eb7c8d54..c28471687bd6 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_stop_servers_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_batch_stop_servers_option.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type BatchStopServersOption struct { // 标记为启动云服务器操作。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_change_severs_os_metadata.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_change_severs_os_metadata.go index f8c4eb65b58b..7e4d47f58348 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_change_severs_os_metadata.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_change_severs_os_metadata.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type ChangeSeversOsMetadata struct { // 重装云服务器过程中注入用户数据。 支持注入文本、文本文件或gzip文件。注入内容最大长度32KB。注入内容,需要进行base64格式编码。 了解更多用户数据注入请参考[用户数据注入](https://support.huaweicloud.com/usermanual-ecs/zh-cn_topic_0032380449.html)。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_create_server_group_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_create_server_group_option.go index fb3716dc8cdb..eb01013c3466 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_create_server_group_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_create_server_group_option.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type CreateServerGroupOption struct { // 弹性云服务器组名称,长度大于0小于256字节。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_create_server_group_result.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_create_server_group_result.go index 2b745414f281..a68a75ce08f3 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_create_server_group_result.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_create_server_group_result.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type CreateServerGroupResult struct { // 云服务器组UUID。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_disassociate_server_virtual_ip_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_disassociate_server_virtual_ip_option.go index b6e421479c35..cfc0df0ec36f 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_disassociate_server_virtual_ip_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_disassociate_server_virtual_ip_option.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type DisassociateServerVirtualIpOption struct { // 云服务器添加网卡的信息。 约束:解绑虚拟IP时,subnet_id为空字符串 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_ipv6_bandwidth.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_ipv6_bandwidth.go index cc54d19bda23..6b31df5259af 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_ipv6_bandwidth.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_ipv6_bandwidth.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type Ipv6Bandwidth struct { // IPv6带宽的ID。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_job_entities.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_job_entities.go index e51d9bca9c5f..2053c34af497 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_job_entities.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_job_entities.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type JobEntities struct { // 每个子任务的执行信息。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_list_server_groups_result.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_list_server_groups_result.go index 25619f6ceece..e85bce91e045 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_list_server_groups_result.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_list_server_groups_result.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type ListServerGroupsResult struct { // 云服务器组UUID。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_add_security_group_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_add_security_group_option.go index 08de5b2d0fd0..8a170c5d0533 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_add_security_group_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_add_security_group_option.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaAddSecurityGroupOption struct { // 弹性云服务器添加的安全组名称,会对云服务器中配置的网卡生效。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_keypair_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_keypair_option.go index 2525d3e835f7..868e3c85ed7f 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_keypair_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_keypair_option.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type NovaCreateKeypairOption struct { // 导入的公钥信息。 建议导入的公钥长度不大于1024字节。 说明: - 长度超过1024字节会导致云服务器注入该密钥失败。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_servers_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_servers_option.go index 3da08de13b92..317c4ed62a17 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_servers_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_servers_option.go @@ -10,7 +10,7 @@ import ( "strings" ) -// 弹性云服务器信息 +// 弹性云服务器信息 type NovaCreateServersOption struct { // 弹性云服务器自动释放时间。 时间格式例如:2020-01-19T03:30:52Z diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_servers_result.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_servers_result.go index eaf26b93cd22..ad368bbd3ce1 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_servers_result.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_servers_result.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type NovaCreateServersResult struct { // 弹性云服务器uuid。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_servers_scheduler_hint.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_servers_scheduler_hint.go index bedf7cec6575..a3d5c635ee15 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_servers_scheduler_hint.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_create_servers_scheduler_hint.go @@ -6,7 +6,7 @@ import ( "strings" ) -// 弹性云服务器调度信息。 裸金属服务器场景不支持。 +// 弹性云服务器调度信息。 裸金属服务器场景不支持。 type NovaCreateServersSchedulerHint struct { // 反亲和性组信息。 UUID格式。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_keypair.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_keypair.go index 194d7b329937..c27d91e11503 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_keypair.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_keypair.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaKeypair struct { // 密钥对应指纹信息。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_keypair_detail.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_keypair_detail.go index ee198d708e25..53ecd4fb9e0e 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_keypair_detail.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_keypair_detail.go @@ -7,7 +7,6 @@ import ( "strings" ) -// type NovaKeypairDetail struct { // 密钥对应publicKey信息。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_link.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_link.go index 49254c3595fe..beeea6d10d19 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_link.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_link.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type NovaLink struct { // 相应资源的链接。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_list_keypairs_result.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_list_keypairs_result.go index 442a9961a46c..93241eaf518c 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_list_keypairs_result.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_list_keypairs_result.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaListKeypairsResult struct { Keypair *NovaSimpleKeypair `json:"keypair"` } diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_network.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_network.go index a42d412be088..4d6c7791d26a 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_network.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_network.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaNetwork struct { // IP地址。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_remove_security_group_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_remove_security_group_option.go index 821b0ac9947a..6708af593e04 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_remove_security_group_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_remove_security_group_option.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaRemoveSecurityGroupOption struct { // 弹性云服务器移除的安全组名称,会对云服务器中配置的网卡生效。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group.go index 4e81ce4aa606..46c7a7525281 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaSecurityGroup struct { // 安全组描述信息,长度0-255 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group_common_group.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group_common_group.go index 2b0708b5d83c..3d8021111d70 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group_common_group.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group_common_group.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaSecurityGroupCommonGroup struct { // 对端安全组的名称 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group_common_ip_range.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group_common_ip_range.go index d98eeff62843..817c2bc1bf66 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group_common_ip_range.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group_common_ip_range.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaSecurityGroupCommonIpRange struct { // 对端IP网段,cidr格式。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group_common_rule.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group_common_rule.go index 407a024a39ad..02309054361b 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group_common_rule.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_security_group_common_rule.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaSecurityGroupCommonRule struct { // 起始端口,范围1-65535,且不大于to_port。 ip_protocol设置为icmp时,from_port表示type,范围是0-255。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server.go index 30460773e68f..d1ecf5530ce1 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type NovaServer struct { // 云服务器名称。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_block_device_mapping.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_block_device_mapping.go index 6b853f532e69..ade4d75e141b 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_block_device_mapping.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_block_device_mapping.go @@ -10,7 +10,7 @@ import ( "strings" ) -// 扩展属性,指定弹性云服务器存储设备的v2接口。是存储资源的新版本接口,指定卷场景不能批创弹性云服务器。 裸金属服务器场景不支持。 +// 扩展属性,指定弹性云服务器存储设备的v2接口。是存储资源的新版本接口,指定卷场景不能批创弹性云服务器。 裸金属服务器场景不支持。 type NovaServerBlockDeviceMapping struct { // 卷设备的源头类型,当前只支持volume、image、snapshot、blank类型。 当使用卷创建云服务器时,source_type设置为volume;当使用镜像创建云服务器时,source_type设置为image;当使用快照创建云服务器时,source_type设置为snapshot;当创建空数据卷时,source_type设置为blank。 - 说明: - - 当卷设备的源头类型为snapshot时,且boot_index为0,则该快照对应的云硬盘必须为系统盘。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_fault.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_fault.go index f8c49c9c852c..20cb155cd1a3 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_fault.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_fault.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaServerFault struct { // 错误码。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_flavor.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_flavor.go index 9c7f0834c3ec..5f3b16802c7d 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_flavor.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_flavor.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaServerFlavor struct { // 云服务器类型ID。 微版本2.47后不支持。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_image.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_image.go index 50d668a7f539..be2afd964398 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_image.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_image.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaServerImage struct { // 镜像ID。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_network.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_network.go index 9ad6befe8c5d..0468dcd78f40 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_network.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_network.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaServerNetwork struct { // 网络port uuid。 没有指定网络uuid时必须指定。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_scheduler_hints.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_scheduler_hints.go index 53642f0d9b46..73396708ae71 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_scheduler_hints.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_scheduler_hints.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type NovaServerSchedulerHints struct { // 在指定的专属主机或者共享主机上创建弹性云服务器。 参数值为shared或者dedicated。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_security_group.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_security_group.go index f3c71162d3a6..194e567933b1 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_security_group.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_security_group.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaServerSecurityGroup struct { // 安全组名称或者uuid。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_volume.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_volume.go index 5116434085c3..07a066a12e95 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_volume.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_server_volume.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaServerVolume struct { // 云磁盘ID。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_simple_keypair.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_simple_keypair.go index 2950a4af5071..7665b1c8ca49 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_simple_keypair.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_nova_simple_keypair.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type NovaSimpleKeypair struct { // 密钥对应指纹信息。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_page_link.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_page_link.go index 78e52e741634..82a8f15a5c5b 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_page_link.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_page_link.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type PageLink struct { // 相应资源的链接。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_eip.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_eip.go index cc6d2e641f8f..c907736aac0f 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_eip.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_eip.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type PostPaidServerEip struct { // 弹性IP地址类型。 详情请参见“[申请弹性公网IP](https://support.huaweicloud.com/api-eip/eip_api_0001.html)”章节的“publicip”字段说明。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_eip_bandwidth.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_eip_bandwidth.go index d67d352f7658..2c3b3503ae23 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_eip_bandwidth.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_eip_bandwidth.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type PostPaidServerEipBandwidth struct { // 功能说明:带宽大小 带宽(Mbit/s),取值范围为[1,2000]。 调整带宽时的最小单位会根据带宽范围不同存在差异。 - 小于等于300Mbit/s:默认最小单位为1Mbit/s。 - 300Mbit/s~1000Mbit/s:默认最小单位为50Mbit/s。 - 大于1000Mbit/s:默认最小单位为500Mbit/s。 > 说明: > > 如果share_type是PER,该参数必选项;如果share_type是WHOLE并且id有值,该参数会忽略。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_eip_extend_param.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_eip_extend_param.go index 709eec11a529..d9b26015824b 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_eip_extend_param.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_eip_extend_param.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type PostPaidServerEipExtendParam struct { // 公网IP的计费模式。 取值范围: - prePaid-预付费,即包年包月; - postPaid-后付费,即按需付费; > 说明: > > 如果bandwidth对象中share_type是WHOLE且id有值,弹性IP只能创建为按需付费的,故该参数传参“prePaid”无效。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_extend_param.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_extend_param.go index bf62e99f1fa8..1d0f19f9b363 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_extend_param.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_extend_param.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type PostPaidServerExtendParam struct { // 计费模式: - 0:按需计费。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_publicip.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_publicip.go index 56f20b546df9..94baaa65f420 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_publicip.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_publicip.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type PostPaidServerPublicip struct { // 为待创建云服务器分配已有弹性IP时,分配的弹性IP的ID,UUID格式。 约束:只能分配状态(status)为DOWN的弹性IP。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_root_volume.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_root_volume.go index 63df9b0d8f7e..0135c66463c7 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_root_volume.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_root_volume.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type PostPaidServerRootVolume struct { // 云服务器系统盘对应的磁盘类型,需要与系统所提供的磁盘类型相匹配。 - SATA:普通IO磁盘类型。 - SAS:高IO磁盘类型。 - SSD:超高IO磁盘类型。 - co-p1:高IO (性能优化Ⅰ型) - uh-l1:超高IO (时延优化) > 说明: > > 对于HANA云服务器、HL1型云服务器、HL2型云服务器,需使用co-p1和uh-l1两种磁盘类型。对于其他类型的云服务器,不能使用co-p1和uh-l1两种磁盘类型。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_root_volume_extend_param.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_root_volume_extend_param.go index a0b5b03e1db0..1ba9b7084543 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_root_volume_extend_param.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_root_volume_extend_param.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type PostPaidServerRootVolumeExtendParam struct { // 磁盘产品资源规格编码,如SATA,SAS和SSD。 > 说明: > > 废弃字段。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_scheduler_hints.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_scheduler_hints.go index ad30441068ab..d9eefe6b1f26 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_scheduler_hints.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_scheduler_hints.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type PostPaidServerSchedulerHints struct { // 云服务器组ID,UUID格式。 云服务器组的ID可以从控制台或者参考[查询云服务器组列表](https://support.huaweicloud.com/api-ecs/ecs_03_1402.html)获取。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_security_group.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_security_group.go index ec6f2d3c0aa2..bc251f8b61f5 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_security_group.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_post_paid_server_security_group.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type PostPaidServerSecurityGroup struct { // 可以为空,待创建云服务器的安全组,会对创建云服务器中配置的网卡生效。需要指定已有安全组的ID,UUID格式;若不传值,底层会按照空处理,不会创建安全组。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_eip.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_eip.go index 8e0311865cc0..7af1a7a993bb 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_eip.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_eip.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type PrePaidServerEip struct { // 弹性IP地址类型。 详情请参见“[申请弹性公网IP](https://support.huaweicloud.com/api-eip/eip_api_0001.html)”章节的“publicip”字段说明。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_eip_bandwidth.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_eip_bandwidth.go index 91d2468e6e23..ac8321ad0d86 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_eip_bandwidth.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_eip_bandwidth.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type PrePaidServerEipBandwidth struct { // 功能说明:带宽大小 带宽(Mbit/s),取值范围为[1,2000]。 调整带宽时的最小单位会根据带宽范围不同存在差异。 - 小于等于300Mbit/s:默认最小单位为1Mbit/s。 - 300Mbit/s~1000Mbit/s:默认最小单位为50Mbit/s。 - 大于1000Mbit/s:默认最小单位为500Mbit/s。 > 说明: > > 如果share_type是PER,该参数必选项;如果share_type是WHOLE并且id有值,该参数会忽略。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_eip_extend_param.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_eip_extend_param.go index 50e21a956747..95f048f8d79c 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_eip_extend_param.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_eip_extend_param.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type PrePaidServerEipExtendParam struct { // 公网IP的计费模式。 取值范围: - prePaid-预付费,即包年包月; - postPaid-后付费,即按需付费; > 说明: > > 如果bandwidth对象中share_type是WHOLE且id有值,弹性IP只能创建为按需付费的,故该参数传参“prePaid”无效。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_extend_param.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_extend_param.go index a38632655885..2b078180cfbb 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_extend_param.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_extend_param.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type PrePaidServerExtendParam struct { // 计费模式。 功能说明:付费方式 取值范围: - prePaid-预付费,即包年包月; - postPaid-后付费,即按需付费; - 默认值是postPaid > 说明: > > 当chargingMode为prePaid(即创建包年包月付费的云服务器),且使用SSH秘钥方式登录云服务器时,metadata 中的 op_svc_userid 字段为必选字段。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_publicip.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_publicip.go index 649040a39414..ddde41f4e491 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_publicip.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_publicip.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type PrePaidServerPublicip struct { // 为待创建云服务器分配已有弹性IP时,分配的弹性IP的ID,UUID格式。 约束:只能分配状态(status)为DOWN的弹性IP。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_root_volume.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_root_volume.go index 7ba4ee1c3c81..442a451553ba 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_root_volume.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_root_volume.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type PrePaidServerRootVolume struct { // 云服务器系统盘对应的磁盘类型,需要与系统所提供的磁盘类型相匹配。 - SATA:普通IO磁盘类型。 - SAS:高IO磁盘类型。 - SSD:超高IO磁盘类型。 - co-p1:高IO (性能优化Ⅰ型) - uh-l1:超高IO (时延优化) > 说明: > > 对于HANA云服务器、HL1型云服务器、HL2型云服务器,需使用co-p1和uh-l1两种磁盘类型。对于其他类型的云服务器,不能使用co-p1和uh-l1两种磁盘类型。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_root_volume_extend_param.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_root_volume_extend_param.go index 6d9424799343..2f965532bc00 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_root_volume_extend_param.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_root_volume_extend_param.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type PrePaidServerRootVolumeExtendParam struct { // 磁盘产品资源规格编码,如SATA,SAS和SSD。 > 说明: > > 废弃字段。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_scheduler_hints.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_scheduler_hints.go index 4bdd790466bc..39ff79776fbc 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_scheduler_hints.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_scheduler_hints.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type PrePaidServerSchedulerHints struct { // 云服务器组ID,UUID格式。 云服务器组的ID可以从控制台或者参考[查询云服务器组列表](https://support.huaweicloud.com/api-ecs/ecs_03_1402.html)获取。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_security_group.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_security_group.go index 771f34517872..e5d44245a5c9 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_security_group.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_pre_paid_server_security_group.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type PrePaidServerSecurityGroup struct { // 可以为空,待创建云服务器的安全组,会对创建云服务器中配置的网卡生效。需要指定已有安全组的ID,UUID格式;若不传值,底层会按照空处理,不会创建安全组。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_project_flavor_limit.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_project_flavor_limit.go index d7f86bc040f4..419fa4f6d014 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_project_flavor_limit.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_project_flavor_limit.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type ProjectFlavorLimit struct { } diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_reinstall_sever_metadata.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_reinstall_sever_metadata.go index a1742207efc3..b9e04ddaeda7 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_reinstall_sever_metadata.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_reinstall_sever_metadata.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type ReinstallSeverMetadata struct { // 重装云服务器过程中注入用户数据。 支持注入文本、文本文件或gzip文件。注入内容最大长度32KB。注入内容,需要进行base64格式编码。 了解更多用户数据注入请参考[用户数据注入](https://support.huaweicloud.com/usermanual-ecs/zh-cn_topic_0032380449.html)。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_resize_post_paid_server_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_resize_post_paid_server_option.go index d343f524ac64..8b02520494c1 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_resize_post_paid_server_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_resize_post_paid_server_option.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type ResizePostPaidServerOption struct { // 变更后的云服务器规格ID。 可通过[查询云服务器规格变更支持列表](https://support.huaweicloud.com/api-ecs/ecs_02_0402.html)接口查询允许变更的规格列表。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_resize_pre_paid_server_option.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_resize_pre_paid_server_option.go index c19cbdca79ff..fadcbf2f773f 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_resize_pre_paid_server_option.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_resize_pre_paid_server_option.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type ResizePrePaidServerOption struct { // 变更后的云服务器规格ID。 可通过[查询云服务器规格变更支持列表](https://support.huaweicloud.com/api-ecs/ecs_02_0402.html)接口查询允许变更的规格列表。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_resize_server_extend_param.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_resize_server_extend_param.go index dc5abf04d388..f18f1dc00cda 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_resize_server_extend_param.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_resize_server_extend_param.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type ResizeServerExtendParam struct { // 下单订购后,是否自动从客户的账户中支付,而不需要客户手动去进行支付。 - “true”:是(自动支付) - “false”:否(需要客户手动支付) > 说明: > > 当弹性云服务器是按包年包月计费时生效,该值为空时默认为客户手动支付。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_id.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_id.go index 416e74e3d33e..5259ed46cb65 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_id.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_id.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type ServerId struct { // 云服务器ID。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_limits.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_limits.go index c5b3eec51813..3ca3622a597d 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_limits.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_limits.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type ServerLimits struct { // 镜像元数据最大的长度。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_nic_security_group.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_nic_security_group.go index ebd14e71540a..c06337e96cab 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_nic_security_group.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_nic_security_group.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type ServerNicSecurityGroup struct { // 安全组ID。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_remote_console.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_remote_console.go index 092947b185ed..3b1394067d1a 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_remote_console.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_server_remote_console.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type ServerRemoteConsole struct { // 远程登录的协议。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_show_server_group_result.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_show_server_group_result.go index fdd1b9a8ab67..95d45c94f1c6 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_show_server_group_result.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_show_server_group_result.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type ShowServerGroupResult struct { // 云服务器组UUID。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_sub_job.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_sub_job.go index 28a6f5e7e5fa..bff0c0aa2241 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_sub_job.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_sub_job.go @@ -10,7 +10,6 @@ import ( "strings" ) -// type SubJob struct { // Job的状态。 - SUCCESS:成功。 - RUNNING:运行中。 - FAIL:失败。 - INIT:正在初始化。 diff --git a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_sub_job_entities.go b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_sub_job_entities.go index 1dc39e5fa77b..0ab87f415277 100644 --- a/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_sub_job_entities.go +++ b/cluster-autoscaler/cloudprovider/huaweicloud/huaweicloud-sdk-go-v3/services/ecs/v2/model/model_sub_job_entities.go @@ -6,7 +6,6 @@ import ( "strings" ) -// type SubJobEntities struct { // 云服务器相关操作显示server_id。 diff --git a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_backup_units.go b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_backup_units.go index 7f23f0a778b8..91b0b962a535 100644 --- a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_backup_units.go +++ b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_backup_units.go @@ -54,17 +54,17 @@ func (r ApiBackupunitsDeleteRequest) Execute() (*APIResponse, error) { } /* - * BackupunitsDelete Delete backup units - * Remove the specified backup unit. + - BackupunitsDelete Delete backup units + - Remove the specified backup unit. This process will delete: 1) The backup plans inside the backup unit 2) All backups, associated with this backup unit 3) The backup user 4) The backup unit itself - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param backupunitId The unique ID of the backup unit. - * @return ApiBackupunitsDeleteRequest + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param backupunitId The unique ID of the backup unit. + - @return ApiBackupunitsDeleteRequest */ func (a *BackupUnitsApiService) BackupunitsDelete(ctx _context.Context, backupunitId string) ApiBackupunitsDeleteRequest { return ApiBackupunitsDeleteRequest{ diff --git a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_data_centers.go b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_data_centers.go index 3c797ae2e881..5303ab6d423d 100644 --- a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_data_centers.go +++ b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_data_centers.go @@ -806,12 +806,12 @@ func (r ApiDatacentersPostRequest) Execute() (Datacenter, *APIResponse, error) { } /* - * DatacentersPost Create data centers - * Create new data centers, and data centers that already contain elements, such as servers and storage volumes. + - DatacentersPost Create data centers + - Create new data centers, and data centers that already contain elements, such as servers and storage volumes. Virtual data centers are the foundation of the platform; they act as logical containers for all other objects you create, such as servers and storage volumes. You can provision as many data centers as needed. Data centers have their own private networks and are logically segmented from each other to create isolation. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiDatacentersPostRequest + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @return ApiDatacentersPostRequest */ func (a *DataCentersApiService) DatacentersPost(ctx _context.Context) ApiDatacentersPostRequest { return ApiDatacentersPostRequest{ diff --git a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_kubernetes.go b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_kubernetes.go index 3a11673a437e..c5390dd16bb5 100644 --- a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_kubernetes.go +++ b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_kubernetes.go @@ -1918,15 +1918,15 @@ func (r ApiK8sNodepoolsNodesReplacePostRequest) Execute() (*APIResponse, error) } /* - * K8sNodepoolsNodesReplacePost Recreate Kubernetes nodes - * Recreate the specified Kubernetes node. + - K8sNodepoolsNodesReplacePost Recreate Kubernetes nodes + - Recreate the specified Kubernetes node. A new node is created and configured by Managed Kubernetes, based on the node pool template. Once the status is "Active", all the pods are migrated from the faulty node, which is then deleted once empty. During this operation, the node pool will have an additional billable "Active" node. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param k8sClusterId The unique ID of the Kubernetes cluster. - * @param nodepoolId The unique ID of the Kubernetes node pool. - * @param nodeId The unique ID of the Kubernetes node. - * @return ApiK8sNodepoolsNodesReplacePostRequest + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param k8sClusterId The unique ID of the Kubernetes cluster. + - @param nodepoolId The unique ID of the Kubernetes node pool. + - @param nodeId The unique ID of the Kubernetes node. + - @return ApiK8sNodepoolsNodesReplacePostRequest */ func (a *KubernetesApiService) K8sNodepoolsNodesReplacePost(ctx _context.Context, k8sClusterId string, nodepoolId string, nodeId string) ApiK8sNodepoolsNodesReplacePostRequest { return ApiK8sNodepoolsNodesReplacePostRequest{ diff --git a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_labels.go b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_labels.go index dac74ba02dac..37b09b8f4a47 100644 --- a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_labels.go +++ b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_labels.go @@ -3778,15 +3778,15 @@ func (r ApiLabelsFindByUrnRequest) Execute() (Label, *APIResponse, error) { } /* - * LabelsFindByUrn Retrieve labels by URN - * Retrieve a label by label URN. + - LabelsFindByUrn Retrieve labels by URN + - Retrieve a label by label URN. The URN is unique for each label, and consists of: urn:label::: - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param labelurn The label URN; URN is unique for each label, and consists of: urn:label::: - * @return ApiLabelsFindByUrnRequest + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param labelurn The label URN; URN is unique for each label, and consists of: urn:label::: + - @return ApiLabelsFindByUrnRequest */ func (a *LabelsApiService) LabelsFindByUrn(ctx _context.Context, labelurn string) ApiLabelsFindByUrnRequest { return ApiLabelsFindByUrnRequest{ diff --git a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_nat_gateways.go b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_nat_gateways.go index 162ebd2b63af..c8cb189f71f2 100644 --- a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_nat_gateways.go +++ b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_nat_gateways.go @@ -1907,13 +1907,13 @@ func (r ApiDatacentersNatgatewaysPostRequest) Execute() (NatGateway, *APIRespons } /* - * DatacentersNatgatewaysPost Create NAT Gateways - * Create a NAT Gateway within the data center. + - DatacentersNatgatewaysPost Create NAT Gateways + - Create a NAT Gateway within the data center. This operation is restricted to contract owner, admin, and users with 'createInternetAccess' privileges. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param datacenterId The unique ID of the data center. - * @return ApiDatacentersNatgatewaysPostRequest + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param datacenterId The unique ID of the data center. + - @return ApiDatacentersNatgatewaysPostRequest */ func (a *NATGatewaysApiService) DatacentersNatgatewaysPost(ctx _context.Context, datacenterId string) ApiDatacentersNatgatewaysPostRequest { return ApiDatacentersNatgatewaysPostRequest{ diff --git a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_servers.go b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_servers.go index 4424101012ac..e1c30e834bf5 100644 --- a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_servers.go +++ b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_servers.go @@ -1791,14 +1791,14 @@ func (r ApiDatacentersServersPutRequest) Execute() (Server, *APIResponse, error) } /* - * DatacentersServersPut Modify servers - * Modify the properties of the specified server within the data center. + - DatacentersServersPut Modify servers + - Modify the properties of the specified server within the data center. Starting with v5, the 'allowReboot' attribute is retired; while previously required for changing certain server properties, this behavior is now implicit, and the backend will perform this automatically. For example, in earlier versions, when the CPU family is changed, 'allowReboot' had to be set to 'true'; this is no longer required, the reboot will be performed automatically. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param datacenterId The unique ID of the data center. - * @param serverId The unique ID of the server. - * @return ApiDatacentersServersPutRequest + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param datacenterId The unique ID of the data center. + - @param serverId The unique ID of the server. + - @return ApiDatacentersServersPutRequest */ func (a *ServersApiService) DatacentersServersPut(ctx _context.Context, datacenterId string, serverId string) ApiDatacentersServersPutRequest { return ApiDatacentersServersPutRequest{ @@ -2353,14 +2353,14 @@ func (r ApiDatacentersServersResumePostRequest) Execute() (*APIResponse, error) } /* - * DatacentersServersResumePost Resume Cubes instances - * Resume a suspended Cube instance; no billing event will be generated. + - DatacentersServersResumePost Resume Cubes instances + - Resume a suspended Cube instance; no billing event will be generated. This operation is only supported for the Cubes. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param datacenterId The unique ID of the data center. - * @param serverId The unique ID of the server. - * @return ApiDatacentersServersResumePostRequest + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param datacenterId The unique ID of the data center. + - @param serverId The unique ID of the server. + - @return ApiDatacentersServersResumePostRequest */ func (a *ServersApiService) DatacentersServersResumePost(ctx _context.Context, datacenterId string, serverId string) ApiDatacentersServersResumePostRequest { return ApiDatacentersServersResumePostRequest{ @@ -2685,14 +2685,14 @@ func (r ApiDatacentersServersStopPostRequest) Execute() (*APIResponse, error) { } /* - * DatacentersServersStopPost Stop VMs - * Stop the specified server within the data center: the VM will be forcefully shut down, the billing will cease, and any allocated public IPs will be deallocated. + - DatacentersServersStopPost Stop VMs + - Stop the specified server within the data center: the VM will be forcefully shut down, the billing will cease, and any allocated public IPs will be deallocated. This operation is not supported for the Cubes. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param datacenterId The unique ID of the data center. - * @param serverId The unique ID of the server. - * @return ApiDatacentersServersStopPostRequest + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param datacenterId The unique ID of the data center. + - @param serverId The unique ID of the server. + - @return ApiDatacentersServersStopPostRequest */ func (a *ServersApiService) DatacentersServersStopPost(ctx _context.Context, datacenterId string, serverId string) ApiDatacentersServersStopPostRequest { return ApiDatacentersServersStopPostRequest{ @@ -2852,14 +2852,14 @@ func (r ApiDatacentersServersSuspendPostRequest) Execute() (*APIResponse, error) } /* - * DatacentersServersSuspendPost Suspend Cubes instances - * Suspend the specified Cubes instance within the data center. The instance will not be deleted, and allocated resources will continue to be billed. + - DatacentersServersSuspendPost Suspend Cubes instances + - Suspend the specified Cubes instance within the data center. The instance will not be deleted, and allocated resources will continue to be billed. This operation is only supported for the Cubes. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param datacenterId The unique ID of the data center. - * @param serverId The unique ID of the server. - * @return ApiDatacentersServersSuspendPostRequest + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param datacenterId The unique ID of the data center. + - @param serverId The unique ID of the server. + - @return ApiDatacentersServersSuspendPostRequest */ func (a *ServersApiService) DatacentersServersSuspendPost(ctx _context.Context, datacenterId string, serverId string) ApiDatacentersServersSuspendPostRequest { return ApiDatacentersServersSuspendPostRequest{ @@ -3232,14 +3232,14 @@ func (r ApiDatacentersServersUpgradePostRequest) Execute() (*APIResponse, error) } /* - * DatacentersServersUpgradePost Upgrade servers - * Upgrade the server version, if needed. To determine if an upgrade is available, execute the following call: + - DatacentersServersUpgradePost Upgrade servers + - Upgrade the server version, if needed. To determine if an upgrade is available, execute the following call: '/datacenters/{datacenterId}/servers?upgradeNeeded=true' - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param datacenterId The unique ID of the data center. - * @param serverId The unique ID of the server. - * @return ApiDatacentersServersUpgradePostRequest + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param datacenterId The unique ID of the data center. + - @param serverId The unique ID of the server. + - @return ApiDatacentersServersUpgradePostRequest */ func (a *ServersApiService) DatacentersServersUpgradePost(ctx _context.Context, datacenterId string, serverId string) ApiDatacentersServersUpgradePostRequest { return ApiDatacentersServersUpgradePostRequest{ @@ -3993,16 +3993,16 @@ func (r ApiDatacentersServersVolumesPostRequest) Execute() (Volume, *APIResponse } /* - * DatacentersServersVolumesPost Attach volumes - * Attach an existing storage volume to the specified server. + - DatacentersServersVolumesPost Attach volumes + - Attach an existing storage volume to the specified server. A volume scan also be created and attached in one step by providing the new volume description as payload. The combined total of attached volumes and NICs cannot exceed 24 per server. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param datacenterId The unique ID of the data center. - * @param serverId The unique ID of the server. - * @return ApiDatacentersServersVolumesPostRequest + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param datacenterId The unique ID of the data center. + - @param serverId The unique ID of the server. + - @return ApiDatacentersServersVolumesPostRequest */ func (a *ServersApiService) DatacentersServersVolumesPost(ctx _context.Context, datacenterId string, serverId string) ApiDatacentersServersVolumesPostRequest { return ApiDatacentersServersVolumesPostRequest{ diff --git a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_templates.go b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_templates.go index eb3b3c15926a..79f3a2d7095b 100644 --- a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_templates.go +++ b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_templates.go @@ -44,13 +44,13 @@ func (r ApiTemplatesFindByIdRequest) Execute() (Template, *APIResponse, error) { } /* - * TemplatesFindById Retrieve Cubes Templates - * Retrieve the properties of the specified Cubes Template. + - TemplatesFindById Retrieve Cubes Templates + - Retrieve the properties of the specified Cubes Template. This operation is only supported for the Cubes. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param templateId The unique Template ID. - * @return ApiTemplatesFindByIdRequest + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param templateId The unique Template ID. + - @return ApiTemplatesFindByIdRequest */ func (a *TemplatesApiService) TemplatesFindById(ctx _context.Context, templateId string) ApiTemplatesFindByIdRequest { return ApiTemplatesFindByIdRequest{ @@ -219,12 +219,12 @@ func (r ApiTemplatesGetRequest) Execute() (Templates, *APIResponse, error) { } /* - * TemplatesGet List Cubes Templates - * List all of the available Cubes Templates. + - TemplatesGet List Cubes Templates + - List all of the available Cubes Templates. This operation is only supported for the Cubes. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @return ApiTemplatesGetRequest + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @return ApiTemplatesGetRequest */ func (a *TemplatesApiService) TemplatesGet(ctx _context.Context) ApiTemplatesGetRequest { return ApiTemplatesGetRequest{ diff --git a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_user_management.go b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_user_management.go index fcf1f28ff60c..4211df531077 100644 --- a/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_user_management.go +++ b/cluster-autoscaler/cloudprovider/ionoscloud/ionos-cloud-sdk-go/api_user_management.go @@ -2646,15 +2646,15 @@ func (r ApiUmResourcesFindByTypeRequest) Execute() (Resources, *APIResponse, err } /* - * UmResourcesFindByType List resources by type - * List all resources of the specified type. + - UmResourcesFindByType List resources by type + - List all resources of the specified type. Resource types are: {datacenter, snapshot, image, ipblock, pcc, backupunit, k8s} Resource types are in the list of resources, returned by GET. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param resourceType The resource type - * @return ApiUmResourcesFindByTypeRequest + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param resourceType The resource type + - @return ApiUmResourcesFindByTypeRequest */ func (a *UserManagementApiService) UmResourcesFindByType(ctx _context.Context, resourceType string) ApiUmResourcesFindByTypeRequest { return ApiUmResourcesFindByTypeRequest{ @@ -2824,16 +2824,16 @@ func (r ApiUmResourcesFindByTypeAndIdRequest) Execute() (Resource, *APIResponse, } /* - * UmResourcesFindByTypeAndId Retrieve resources by type - * Retrieve a resource by the resource type and resource ID. + - UmResourcesFindByTypeAndId Retrieve resources by type + - Retrieve a resource by the resource type and resource ID. Resource types are: {datacenter, snapshot, image, ipblock, pcc, backupunit, k8s} Resource types are in the list of resources, returned by GET. - * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - * @param resourceType The resource type - * @param resourceId The resource ID - * @return ApiUmResourcesFindByTypeAndIdRequest + - @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + - @param resourceType The resource type + - @param resourceId The resource ID + - @return ApiUmResourcesFindByTypeAndIdRequest */ func (a *UserManagementApiService) UmResourcesFindByTypeAndId(ctx _context.Context, resourceType string, resourceId string) ApiUmResourcesFindByTypeAndIdRequest { return ApiUmResourcesFindByTypeAndIdRequest{ diff --git a/cluster-autoscaler/cloudprovider/magnum/gophercloud/auth_options.go b/cluster-autoscaler/cloudprovider/magnum/gophercloud/auth_options.go index 5ffa8d1e0a76..df36b390ebc0 100644 --- a/cluster-autoscaler/cloudprovider/magnum/gophercloud/auth_options.go +++ b/cluster-autoscaler/cloudprovider/magnum/gophercloud/auth_options.go @@ -12,20 +12,20 @@ provider. An example of manually providing authentication information: - opts := gophercloud.AuthOptions{ - IdentityEndpoint: "https://openstack.example.com:5000/v2.0", - Username: "{username}", - Password: "{password}", - TenantID: "{tenant_id}", - } + opts := gophercloud.AuthOptions{ + IdentityEndpoint: "https://openstack.example.com:5000/v2.0", + Username: "{username}", + Password: "{password}", + TenantID: "{tenant_id}", + } - provider, err := openstack.AuthenticatedClient(opts) + provider, err := openstack.AuthenticatedClient(opts) An example of using AuthOptionsFromEnv(), where the environment variables can be read from a file, such as a standard openrc file: - opts, err := openstack.AuthOptionsFromEnv() - provider, err := openstack.AuthenticatedClient(opts) + opts, err := openstack.AuthOptionsFromEnv() + provider, err := openstack.AuthenticatedClient(opts) */ type AuthOptions struct { // IdentityEndpoint specifies the HTTP endpoint that is required to work with diff --git a/cluster-autoscaler/cloudprovider/magnum/gophercloud/doc.go b/cluster-autoscaler/cloudprovider/magnum/gophercloud/doc.go index 953ca822a97a..f5b38c05ba73 100644 --- a/cluster-autoscaler/cloudprovider/magnum/gophercloud/doc.go +++ b/cluster-autoscaler/cloudprovider/magnum/gophercloud/doc.go @@ -3,7 +3,7 @@ Package gophercloud provides a multi-vendor interface to OpenStack-compatible clouds. The library has a three-level hierarchy: providers, services, and resources. -Authenticating with Providers +# Authenticating with Providers Provider structs represent the cloud providers that offer and manage a collection of services. You will generally want to create one Provider @@ -49,7 +49,7 @@ instead of "project". opts, err := openstack.AuthOptionsFromEnv() provider, err := openstack.AuthenticatedClient(opts) -Service Clients +# Service Clients Service structs are specific to a provider and handle all of the logic and operations for a particular OpenStack service. Examples of services include: @@ -60,7 +60,7 @@ pass in the parent provider, like so: client, err := openstack.NewComputeV2(provider, opts) -Resources +# Resources Resource structs are the domain models that services make use of in order to work with and represent the state of API resources: diff --git a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/containerinfra/v1/clusters/doc.go b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/containerinfra/v1/clusters/doc.go index 3fd28d10c62e..7caca18aec0a 100644 --- a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/containerinfra/v1/clusters/doc.go +++ b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/containerinfra/v1/clusters/doc.go @@ -55,19 +55,19 @@ Example to List Clusters Example to List Clusters with detailed information - allPagesDetail, err := clusters.ListDetail(serviceClient, clusters.ListOpts{}).AllPages() - if err != nil { - panic(err) - } + allPagesDetail, err := clusters.ListDetail(serviceClient, clusters.ListOpts{}).AllPages() + if err != nil { + panic(err) + } - allClustersDetail, err := clusters.ExtractClusters(allPagesDetail) - if err != nil { - panic(err) - } + allClustersDetail, err := clusters.ExtractClusters(allPagesDetail) + if err != nil { + panic(err) + } - for _, clusterDetail := range allClustersDetail { - fmt.Printf("%+v\n", clusterDetail) - } + for _, clusterDetail := range allClustersDetail { + fmt.Printf("%+v\n", clusterDetail) + } Example to Update a Cluster @@ -96,6 +96,5 @@ Example to Delete a Cluster if err != nil { panic(err) } - */ package clusters diff --git a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/containerinfra/v1/nodegroups/doc.go b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/containerinfra/v1/nodegroups/doc.go index c354de396c75..ef1d55d9b4db 100644 --- a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/containerinfra/v1/nodegroups/doc.go +++ b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/containerinfra/v1/nodegroups/doc.go @@ -4,115 +4,109 @@ Package nodegroups provides methods for interacting with the Magnum node group A All node group actions must be performed on a specific cluster, so the cluster UUID/name is required as a parameter in each method. - Create a client to use: - opts, err := openstack.AuthOptionsFromEnv() - if err != nil { - panic(err) - } - - provider, err := openstack.AuthenticatedClient(opts) - if err != nil { - panic(err) - } + opts, err := openstack.AuthOptionsFromEnv() + if err != nil { + panic(err) + } - client, err := openstack.NewContainerInfraV1(provider, gophercloud.EndpointOpts{Region: os.Getenv("OS_REGION_NAME")}) - if err != nil { - panic(err) - } + provider, err := openstack.AuthenticatedClient(opts) + if err != nil { + panic(err) + } - client.Microversion = "1.9" + client, err := openstack.NewContainerInfraV1(provider, gophercloud.EndpointOpts{Region: os.Getenv("OS_REGION_NAME")}) + if err != nil { + panic(err) + } + client.Microversion = "1.9" Example of Getting a node group: - ng, err := nodegroups.Get(client, clusterUUID, nodeGroupUUID).Extract() - if err != nil { - panic(err) - } - fmt.Printf("%#v\n", ng) - + ng, err := nodegroups.Get(client, clusterUUID, nodeGroupUUID).Extract() + if err != nil { + panic(err) + } + fmt.Printf("%#v\n", ng) Example of Listing node groups: - listOpts := nodegroup.ListOpts{ - Role: "worker", - } + listOpts := nodegroup.ListOpts{ + Role: "worker", + } - allPages, err := nodegroups.List(client, clusterUUID, listOpts).AllPages() - if err != nil { - panic(err) - } + allPages, err := nodegroups.List(client, clusterUUID, listOpts).AllPages() + if err != nil { + panic(err) + } - ngs, err := nodegroups.ExtractNodeGroups(allPages) - if err != nil { - panic(err) - } - - for _, ng := range ngs { - fmt.Printf("%#v\n", ng) - } + ngs, err := nodegroups.ExtractNodeGroups(allPages) + if err != nil { + panic(err) + } + for _, ng := range ngs { + fmt.Printf("%#v\n", ng) + } Example of Creating a node group: - // Labels, node image and node flavor will be inherited from the cluster value if not set. - // Role will default to "worker" if not set. - - // To add a label to the new node group, need to know the cluster labels - cluster, err := clusters.Get(client, clusterUUID).Extract() - if err != nil { - panic(err) - } + // Labels, node image and node flavor will be inherited from the cluster value if not set. + // Role will default to "worker" if not set. - // Add the new label - labels := cluster.Labels - labels["availability_zone"] = "A" + // To add a label to the new node group, need to know the cluster labels + cluster, err := clusters.Get(client, clusterUUID).Extract() + if err != nil { + panic(err) + } - maxNodes := 5 - createOpts := nodegroups.CreateOpts{ - Name: "new-nodegroup", - MinNodeCount: 2, - MaxNodeCount: &maxNodes, - Labels: labels, - } + // Add the new label + labels := cluster.Labels + labels["availability_zone"] = "A" - ng, err := nodegroups.Create(client, clusterUUID, createOpts).Extract() - if err != nil { - panic(err) - } + maxNodes := 5 + createOpts := nodegroups.CreateOpts{ + Name: "new-nodegroup", + MinNodeCount: 2, + MaxNodeCount: &maxNodes, + Labels: labels, + } - fmt.Printf("%#v\n", ng) + ng, err := nodegroups.Create(client, clusterUUID, createOpts).Extract() + if err != nil { + panic(err) + } + fmt.Printf("%#v\n", ng) Example of Updating a node group: - // Valid paths are "/min_node_count" and "/max_node_count". - // Max node count can be unset with the "remove" op to have - // no enforced maximum node count. - - updateOpts := []nodegroups.UpdateOptsBuilder{ - nodegroups.UpdateOpts{ - Op: nodegroups.ReplaceOp, - Path: "/max_node_count", - Value: 10, - }, - } + // Valid paths are "/min_node_count" and "/max_node_count". + // Max node count can be unset with the "remove" op to have + // no enforced maximum node count. - ng, err = nodegroups.Update(client, clusterUUID, nodeGroupUUID, updateOpts).Extract() - if err != nil { - panic(err) - } + updateOpts := []nodegroups.UpdateOptsBuilder{ + nodegroups.UpdateOpts{ + Op: nodegroups.ReplaceOp, + Path: "/max_node_count", + Value: 10, + }, + } - fmt.Printf("%#v\n", ng) + ng, err = nodegroups.Update(client, clusterUUID, nodeGroupUUID, updateOpts).Extract() + if err != nil { + panic(err) + } + fmt.Printf("%#v\n", ng) Example of Deleting a node group: - err = nodegroups.Delete(client, clusterUUID, nodeGroupUUID).ExtractErr() - if err != nil { - panic(err) - } + err = nodegroups.Delete(client, clusterUUID, nodeGroupUUID).ExtractErr() + if err != nil { + panic(err) + } */ package nodegroups diff --git a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/identity/v3/extensions/trusts/doc.go b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/identity/v3/extensions/trusts/doc.go index 0ff806993027..47d7ba9eadf8 100644 --- a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/identity/v3/extensions/trusts/doc.go +++ b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/identity/v3/extensions/trusts/doc.go @@ -25,34 +25,34 @@ Example to Create a Token with Username, Password, and Trust ID Example to Create a Trust - expiresAt := time.Date(2019, 12, 1, 14, 0, 0, 999999999, time.UTC) - createOpts := trusts.CreateOpts{ - ExpiresAt: &expiresAt, - Impersonation: true, - AllowRedelegation: true, - ProjectID: "9b71012f5a4a4aef9193f1995fe159b2", - Roles: []trusts.Role{ - { - Name: "member", - }, - }, - TrusteeUserID: "ecb37e88cc86431c99d0332208cb6fbf", - TrustorUserID: "959ed913a32c4ec88c041c98e61cbbc3", - } - - trust, err := trusts.Create(identityClient, createOpts).Extract() - if err != nil { - panic(err) - } - - fmt.Printf("Trust: %+v\n", trust) + expiresAt := time.Date(2019, 12, 1, 14, 0, 0, 999999999, time.UTC) + createOpts := trusts.CreateOpts{ + ExpiresAt: &expiresAt, + Impersonation: true, + AllowRedelegation: true, + ProjectID: "9b71012f5a4a4aef9193f1995fe159b2", + Roles: []trusts.Role{ + { + Name: "member", + }, + }, + TrusteeUserID: "ecb37e88cc86431c99d0332208cb6fbf", + TrustorUserID: "959ed913a32c4ec88c041c98e61cbbc3", + } + + trust, err := trusts.Create(identityClient, createOpts).Extract() + if err != nil { + panic(err) + } + + fmt.Printf("Trust: %+v\n", trust) Example to Delete a Trust - trustID := "3422b7c113894f5d90665e1a79655e23" - err := trusts.Delete(identityClient, trustID).ExtractErr() - if err != nil { - panic(err) - } + trustID := "3422b7c113894f5d90665e1a79655e23" + err := trusts.Delete(identityClient, trustID).ExtractErr() + if err != nil { + panic(err) + } */ package trusts diff --git a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/identity/v3/tokens/doc.go b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/identity/v3/tokens/doc.go index 966e128f1281..de74c82ecd21 100644 --- a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/identity/v3/tokens/doc.go +++ b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/identity/v3/tokens/doc.go @@ -103,6 +103,5 @@ Example to Create a Token from a Username and Password with Project Name Scope if err != nil { panic(err) } - */ package tokens diff --git a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stackresources/doc.go b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stackresources/doc.go index ae282dc08c71..2f2be2fd6e21 100644 --- a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stackresources/doc.go +++ b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stackresources/doc.go @@ -6,66 +6,65 @@ balancer, some configuration management system, and so forth). Example of get resource information in stack - rsrc_result := stackresources.Get(client, stack.Name, stack.ID, rsrc.Name) - if rsrc_result.Err != nil { - panic(rsrc_result.Err) - } - rsrc, err := rsrc_result.Extract() - if err != nil { - panic(err) - } + rsrc_result := stackresources.Get(client, stack.Name, stack.ID, rsrc.Name) + if rsrc_result.Err != nil { + panic(rsrc_result.Err) + } + rsrc, err := rsrc_result.Extract() + if err != nil { + panic(err) + } Example for list stack resources - all_stack_rsrc_pages, err := stackresources.List(client, stack.Name, stack.ID, nil).AllPages() - if err != nil { - panic(err) - } + all_stack_rsrc_pages, err := stackresources.List(client, stack.Name, stack.ID, nil).AllPages() + if err != nil { + panic(err) + } - all_stack_rsrcs, err := stackresources.ExtractResources(all_stack_rsrc_pages) - if err != nil { - panic(err) - } - - fmt.Println("Resource List:") - for _, rsrc := range all_stack_rsrcs { - // Get information of a resource in stack - rsrc_result := stackresources.Get(client, stack.Name, stack.ID, rsrc.Name) - if rsrc_result.Err != nil { - panic(rsrc_result.Err) - } - rsrc, err := rsrc_result.Extract() - if err != nil { - panic(err) - } - fmt.Println("Resource Name: ", rsrc.Name, ", Physical ID: ", rsrc.PhysicalID, ", Status: ", rsrc.Status) - } + all_stack_rsrcs, err := stackresources.ExtractResources(all_stack_rsrc_pages) + if err != nil { + panic(err) + } + fmt.Println("Resource List:") + for _, rsrc := range all_stack_rsrcs { + // Get information of a resource in stack + rsrc_result := stackresources.Get(client, stack.Name, stack.ID, rsrc.Name) + if rsrc_result.Err != nil { + panic(rsrc_result.Err) + } + rsrc, err := rsrc_result.Extract() + if err != nil { + panic(err) + } + fmt.Println("Resource Name: ", rsrc.Name, ", Physical ID: ", rsrc.PhysicalID, ", Status: ", rsrc.Status) + } Example for get resource type schema - schema_result := stackresources.Schema(client, "OS::Heat::Stack") - if schema_result.Err != nil { - panic(schema_result.Err) - } - schema, err := schema_result.Extract() - if err != nil { - panic(err) - } - fmt.Println("Schema for resource type OS::Heat::Stack") - fmt.Println(schema.SupportStatus) + schema_result := stackresources.Schema(client, "OS::Heat::Stack") + if schema_result.Err != nil { + panic(schema_result.Err) + } + schema, err := schema_result.Extract() + if err != nil { + panic(err) + } + fmt.Println("Schema for resource type OS::Heat::Stack") + fmt.Println(schema.SupportStatus) Example for get resource type Template - tmp_result := stackresources.Template(client, "OS::Heat::Stack") - if tmp_result.Err != nil { - panic(tmp_result.Err) - } - tmp, err := tmp_result.Extract() - if err != nil { - panic(err) - } - fmt.Println("Template for resource type OS::Heat::Stack") - fmt.Println(string(tmp)) + tmp_result := stackresources.Template(client, "OS::Heat::Stack") + if tmp_result.Err != nil { + panic(tmp_result.Err) + } + tmp, err := tmp_result.Extract() + if err != nil { + panic(err) + } + fmt.Println("Template for resource type OS::Heat::Stack") + fmt.Println(string(tmp)) */ package stackresources diff --git a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stacks/doc.go b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stacks/doc.go index 59b6494abb60..c7b2517d27b7 100644 --- a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stacks/doc.go +++ b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stacks/doc.go @@ -7,109 +7,111 @@ application framework or component specified (in the template). A stack is a running instance of a template. The result of creating a stack is a deployment of the application framework or component. -Prepare required import packages +# Prepare required import packages import ( - "fmt" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/magnum/gophercloud" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stacks" + + "fmt" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/magnum/gophercloud" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stacks" + ) Example of Preparing Orchestration client: - client, err := openstack.NewOrchestrationV1(provider, gophercloud.EndpointOpts{Region: "RegionOne"}) + client, err := openstack.NewOrchestrationV1(provider, gophercloud.EndpointOpts{Region: "RegionOne"}) Example of List Stack: - all_stack_pages, err := stacks.List(client, nil).AllPages() - if err != nil { - panic(err) - } - all_stacks, err := stacks.ExtractStacks(all_stack_pages) - if err != nil { - panic(err) - } + all_stack_pages, err := stacks.List(client, nil).AllPages() + if err != nil { + panic(err) + } - for _, stack := range all_stacks { - fmt.Printf("%+v\n", stack) - } + all_stacks, err := stacks.ExtractStacks(all_stack_pages) + if err != nil { + panic(err) + } + for _, stack := range all_stacks { + fmt.Printf("%+v\n", stack) + } Example to Create an Stack - // Create Template - t := make(map[string]interface{}) - f, err := ioutil.ReadFile("template.yaml") - if err != nil { - panic(err) - } - err = yaml.Unmarshal(f, t) - if err != nil { - panic(err) - } - - template := &stacks.Template{} - template.TE = stacks.TE{ - Bin: f, - } - // Create Environment if needed - t_env := make(map[string]interface{}) - f_env, err := ioutil.ReadFile("env.yaml") - if err != nil { - panic(err) - } - err = yaml.Unmarshal(f_env, t_env) - if err != nil { - panic(err) - } - - env := &stacks.Environment{} - env.TE = stacks.TE{ - Bin: f_env, - } - - // Remember, the priority of parameters you given through - // Parameters is higher than the parameters you provided in EnvironmentOpts. - params := make(map[string]string) - params["number_of_nodes"] = 1 - tags := []string{"example-stack"} - createOpts := &stacks.CreateOpts{ - // The name of the stack. It must start with an alphabetic character. - Name: "testing_group", - // A structure that contains either the template file or url. Call the - // associated methods to extract the information relevant to send in a create request. - TemplateOpts: template, - // A structure that contains details for the environment of the stack. - EnvironmentOpts: env, - // User-defined parameters to pass to the template. - Parameters: params, - // A list of tags to assosciate with the Stack - Tags: tags, - } - - r := stacks.Create(client, createOpts) - //dcreated_stack := stacks.CreatedStack() - if r.Err != nil { - panic(r.Err) - } - created_stack, err := r.Extract() - if err != nil { - panic(err) - } - fmt.Printf("Created Stack: %v", created_stack.ID) + // Create Template + t := make(map[string]interface{}) + f, err := ioutil.ReadFile("template.yaml") + if err != nil { + panic(err) + } + err = yaml.Unmarshal(f, t) + if err != nil { + panic(err) + } + + template := &stacks.Template{} + template.TE = stacks.TE{ + Bin: f, + } + // Create Environment if needed + t_env := make(map[string]interface{}) + f_env, err := ioutil.ReadFile("env.yaml") + if err != nil { + panic(err) + } + err = yaml.Unmarshal(f_env, t_env) + if err != nil { + panic(err) + } + + env := &stacks.Environment{} + env.TE = stacks.TE{ + Bin: f_env, + } + + // Remember, the priority of parameters you given through + // Parameters is higher than the parameters you provided in EnvironmentOpts. + params := make(map[string]string) + params["number_of_nodes"] = 1 + tags := []string{"example-stack"} + createOpts := &stacks.CreateOpts{ + // The name of the stack. It must start with an alphabetic character. + Name: "testing_group", + // A structure that contains either the template file or url. Call the + // associated methods to extract the information relevant to send in a create request. + TemplateOpts: template, + // A structure that contains details for the environment of the stack. + EnvironmentOpts: env, + // User-defined parameters to pass to the template. + Parameters: params, + // A list of tags to assosciate with the Stack + Tags: tags, + } + + r := stacks.Create(client, createOpts) + //dcreated_stack := stacks.CreatedStack() + if r.Err != nil { + panic(r.Err) + } + created_stack, err := r.Extract() + if err != nil { + panic(err) + } + fmt.Printf("Created Stack: %v", created_stack.ID) Example for Get Stack - get_result := stacks.Get(client, stackName, created_stack.ID) - if get_result.Err != nil { - panic(get_result.Err) - } - stack, err := get_result.Extract() - if err != nil { - panic(err) - } - fmt.Println("Get Stack: Name: ", stack.Name, ", ID: ", stack.ID, ", Status: ", stack.Status) + get_result := stacks.Get(client, stackName, created_stack.ID) + if get_result.Err != nil { + panic(get_result.Err) + } + stack, err := get_result.Extract() + if err != nil { + panic(err) + } + fmt.Println("Get Stack: Name: ", stack.Name, ", ID: ", stack.ID, ", Status: ", stack.Status) Example for Find Stack @@ -125,15 +127,15 @@ Example for Find Stack Example for Delete Stack - del_r := stacks.Delete(client, stackName, created_stack.ID) - if del_r.Err != nil { - panic(del_r.Err) - } - fmt.Println("Deleted Stack: ", stackName) + del_r := stacks.Delete(client, stackName, created_stack.ID) + if del_r.Err != nil { + panic(del_r.Err) + } + fmt.Println("Deleted Stack: ", stackName) Summary of Behavior Between Stack Update and UpdatePatch Methods : -Function | Test Case | Result +# Function | Test Case | Result Update() | Template AND Parameters WITH Conflict | Parameter takes priority, parameters are set in raw_template.environment overlay Update() | Template ONLY | Template updates, raw_template.environment overlay is removed diff --git a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stacks/requests.go b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stacks/requests.go index 7658dd70944c..8465db53d817 100644 --- a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stacks/requests.go +++ b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stacks/requests.go @@ -397,7 +397,8 @@ func toStackUpdateMap(opts UpdateOpts) (map[string]interface{}, error) { } // Update accepts an UpdateOpts struct and updates an existing stack using the -// http PUT verb with the values provided. opts.TemplateOpts is required. +// +// http PUT verb with the values provided. opts.TemplateOpts is required. func Update(c *gophercloud.ServiceClient, stackName, stackID string, opts UpdateOptsBuilder) (r UpdateResult) { b, err := opts.ToStackUpdateMap() if err != nil { @@ -409,7 +410,8 @@ func Update(c *gophercloud.ServiceClient, stackName, stackID string, opts Update } // Update accepts an UpdateOpts struct and updates an existing stack using the -// http PATCH verb with the values provided. opts.TemplateOpts is not required. +// +// http PATCH verb with the values provided. opts.TemplateOpts is not required. func UpdatePatch(c *gophercloud.ServiceClient, stackName, stackID string, opts UpdatePatchOptsBuilder) (r UpdateResult) { b, err := opts.ToStackUpdatePatchMap() if err != nil { diff --git a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stacks/utils.go b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stacks/utils.go index 1e30876fc628..2dab661729dc 100644 --- a/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stacks/utils.go +++ b/cluster-autoscaler/cloudprovider/magnum/gophercloud/openstack/orchestration/v1/stacks/utils.go @@ -9,8 +9,8 @@ import ( "reflect" "strings" - "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/magnum/gophercloud" yaml "gopkg.in/yaml.v2" + "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/magnum/gophercloud" ) // Client is an interface that expects a Get method similar to http.Get. This diff --git a/cluster-autoscaler/cloudprovider/magnum/gophercloud/pagination/linked.go b/cluster-autoscaler/cloudprovider/magnum/gophercloud/pagination/linked.go index b258bb6b4593..c66fb310fe68 100644 --- a/cluster-autoscaler/cloudprovider/magnum/gophercloud/pagination/linked.go +++ b/cluster-autoscaler/cloudprovider/magnum/gophercloud/pagination/linked.go @@ -40,7 +40,7 @@ func (current LinkedPageBase) NextPageURL() (string, error) { } for { - key, path = path[0], path[1:len(path)] + key, path = path[0], path[1:] value, ok := submap[key] if !ok { diff --git a/cluster-autoscaler/cloudprovider/magnum/gophercloud/params.go b/cluster-autoscaler/cloudprovider/magnum/gophercloud/params.go index b9986660cbda..6a632652b785 100644 --- a/cluster-autoscaler/cloudprovider/magnum/gophercloud/params.go +++ b/cluster-autoscaler/cloudprovider/magnum/gophercloud/params.go @@ -15,17 +15,17 @@ BuildRequestBody builds a map[string]interface from the given `struct`. If parent is not an empty string, the final map[string]interface returned will encapsulate the built one. For example: - disk := 1 - createOpts := flavors.CreateOpts{ - ID: "1", - Name: "m1.tiny", - Disk: &disk, - RAM: 512, - VCPUs: 1, - RxTxFactor: 1.0, - } - - body, err := gophercloud.BuildRequestBody(createOpts, "flavor") + disk := 1 + createOpts := flavors.CreateOpts{ + ID: "1", + Name: "m1.tiny", + Disk: &disk, + RAM: 512, + VCPUs: 1, + RxTxFactor: 1.0, + } + + body, err := gophercloud.BuildRequestBody(createOpts, "flavor") The above example can be run as-is, however it is recommended to look at how BuildRequestBody is used within Gophercloud to more fully understand how it @@ -401,22 +401,22 @@ It accepts an arbitrary tagged structure and produces a string map that's suitable for use as the HTTP headers of an outgoing request. Field names are mapped to header names based in "h" tags. - type struct Something { - Bar string `h:"x_bar"` - Baz int `h:"lorem_ipsum"` - } + type struct Something { + Bar string `h:"x_bar"` + Baz int `h:"lorem_ipsum"` + } - instance := Something{ - Bar: "AAA", - Baz: "BBB", - } + instance := Something{ + Bar: "AAA", + Baz: "BBB", + } will be converted into: - map[string]string{ - "x_bar": "AAA", - "lorem_ipsum": "BBB", - } + map[string]string{ + "x_bar": "AAA", + "lorem_ipsum": "BBB", + } Untagged fields and fields left at their zero values are skipped. Integers, booleans and string values are supported. diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/certificate_retriever.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/certificate_retriever.go index be132147a4e5..b5403c689020 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/certificate_retriever.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/certificate_retriever.go @@ -161,7 +161,7 @@ func (r *urlBasedX509CertificateRetriever) PrivateKey() *rsa.PrivateKey { return &c } -//staticCertificateRetriever serves certificates from static data +// staticCertificateRetriever serves certificates from static data type staticCertificateRetriever struct { Passphrase []byte CertificatePem []byte @@ -171,7 +171,7 @@ type staticCertificateRetriever struct { mux sync.Mutex } -//Refresh proccess the inputs into appropiate keys and certificates +// Refresh proccess the inputs into appropiate keys and certificates func (r *staticCertificateRetriever) Refresh() error { r.mux.Lock() defer r.mux.Unlock() diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/configuration.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/configuration.go index 9ab59046a384..ab23bffa88f7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/configuration.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/configuration.go @@ -14,22 +14,22 @@ type instancePrincipalConfigurationProvider struct { region *common.Region } -//InstancePrincipalConfigurationProvider returns a configuration for instance principals +// InstancePrincipalConfigurationProvider returns a configuration for instance principals func InstancePrincipalConfigurationProvider() (common.ConfigurationProvider, error) { return newInstancePrincipalConfigurationProvider("", nil) } -//InstancePrincipalConfigurationProviderForRegion returns a configuration for instance principals with a given region +// InstancePrincipalConfigurationProviderForRegion returns a configuration for instance principals with a given region func InstancePrincipalConfigurationProviderForRegion(region common.Region) (common.ConfigurationProvider, error) { return newInstancePrincipalConfigurationProvider(region, nil) } -//InstancePrincipalConfigurationProviderWithCustomClient returns a configuration for instance principals using a modifier function to modify the HTTPRequestDispatcher +// InstancePrincipalConfigurationProviderWithCustomClient returns a configuration for instance principals using a modifier function to modify the HTTPRequestDispatcher func InstancePrincipalConfigurationProviderWithCustomClient(modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error)) (common.ConfigurationProvider, error) { return newInstancePrincipalConfigurationProvider("", modifier) } -//InstancePrincipalConfigurationForRegionWithCustomClient returns a configuration for instance principals with a given region using a modifier function to modify the HTTPRequestDispatcher +// InstancePrincipalConfigurationForRegionWithCustomClient returns a configuration for instance principals with a given region using a modifier function to modify the HTTPRequestDispatcher func InstancePrincipalConfigurationForRegionWithCustomClient(region common.Region, modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error)) (common.ConfigurationProvider, error) { return newInstancePrincipalConfigurationProvider(region, modifier) } @@ -46,7 +46,7 @@ func newInstancePrincipalConfigurationProvider(region common.Region, modifier fu return instancePrincipalConfigurationProvider{keyProvider: *keyProvider, region: nil}, nil } -//InstancePrincipalConfigurationWithCerts returns a configuration for instance principals with a given region and hardcoded certificates in lieu of metadata service certs +// InstancePrincipalConfigurationWithCerts returns a configuration for instance principals with a given region and hardcoded certificates in lieu of metadata service certs func InstancePrincipalConfigurationWithCerts(region common.Region, leafCertificate, leafPassphrase, leafPrivateKey []byte, intermediateCertificates [][]byte) (common.ConfigurationProvider, error) { leafCertificateRetriever := staticCertificateRetriever{Passphrase: leafPassphrase, CertificatePem: leafCertificate, PrivateKeyPem: leafPrivateKey} diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/dispatcher_modifier.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/dispatcher_modifier.go index c66377b6d053..0d983ce97bf5 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/dispatcher_modifier.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/dispatcher_modifier.go @@ -5,12 +5,12 @@ package auth import "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common" -//dispatcherModifier gives ability to modify a HTTPRequestDispatcher before use. +// dispatcherModifier gives ability to modify a HTTPRequestDispatcher before use. type dispatcherModifier struct { modifiers []func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error) } -//newDispatcherModifier creates a new dispatcherModifier with optional initial modifier (may be nil). +// newDispatcherModifier creates a new dispatcherModifier with optional initial modifier (may be nil). func newDispatcherModifier(modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error)) *dispatcherModifier { dispatcherModifier := &dispatcherModifier{ modifiers: make([]func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error), 0), @@ -21,12 +21,12 @@ func newDispatcherModifier(modifier func(common.HTTPRequestDispatcher) (common.H return dispatcherModifier } -//QueueModifier queues up a new modifier +// QueueModifier queues up a new modifier func (c *dispatcherModifier) QueueModifier(modifier func(common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error)) { c.modifiers = append(c.modifiers, modifier) } -//Modify the provided HTTPRequestDispatcher with this modifier, and return the result, or error if something goes wrong +// Modify the provided HTTPRequestDispatcher with this modifier, and return the result, or error if something goes wrong func (c *dispatcherModifier) Modify(dispatcher common.HTTPRequestDispatcher) (common.HTTPRequestDispatcher, error) { if len(c.modifiers) > 0 { for _, modifier := range c.modifiers { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/federation_client.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/federation_client.go index 6cbd5dc1a0fb..b4547e881931 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/federation_client.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/federation_client.go @@ -372,7 +372,7 @@ type sessionKeySupplier interface { PublicKeyPemRaw() []byte } -//genericKeySupplier implements sessionKeySupplier and provides an arbitrary refresh mechanism +// genericKeySupplier implements sessionKeySupplier and provides an arbitrary refresh mechanism type genericKeySupplier struct { RefreshFn func() (*rsa.PrivateKey, []byte, error) diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/instance_principal_delegation_token_provider.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/instance_principal_delegation_token_provider.go index 6b1998bcc748..0a68d6b56874 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/instance_principal_delegation_token_provider.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/instance_principal_delegation_token_provider.go @@ -14,7 +14,7 @@ type instancePrincipalDelegationTokenConfigurationProvider struct { delegationToken string } -//InstancePrincipalDelegationTokenConfigurationProvider returns a configuration for obo token instance principals +// InstancePrincipalDelegationTokenConfigurationProvider returns a configuration for obo token instance principals func InstancePrincipalDelegationTokenConfigurationProvider(delegationToken *string) (common.ConfigurationProvider, error) { if delegationToken == nil || len(*delegationToken) == 0 { return nil, fmt.Errorf("failed to create a delagationTokenConfigurationProvider: token is a mondatory input paras") diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/resource_principal_token_path_provider.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/resource_principal_token_path_provider.go index 5bc58ccceda8..db425698cbc4 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/resource_principal_token_path_provider.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/resource_principal_token_path_provider.go @@ -77,17 +77,17 @@ func (pp EnvRptPathProvider) ResourceID() (*string, error) { return rpID, nil } -//DefaultRptPathProvider path provider makes sure the behavior happens with the correct fallback. +// DefaultRptPathProvider path provider makes sure the behavior happens with the correct fallback. // -//For the path, -//Use the contents of the OCI_RESOURCE_PRINCIPAL_RPT_PATH environment variable, if set. -//Otherwise, use the current path: "/20180711/resourcePrincipalToken/{id}" +// For the path, +// Use the contents of the OCI_RESOURCE_PRINCIPAL_RPT_PATH environment variable, if set. +// Otherwise, use the current path: "/20180711/resourcePrincipalToken/{id}" // -//For the resource id, -//Use the contents of the OCI_RESOURCE_PRINCIPAL_RPT_ID environment variable, if set. -//Otherwise, use IMDS to get the instance id +// For the resource id, +// Use the contents of the OCI_RESOURCE_PRINCIPAL_RPT_ID environment variable, if set. +// Otherwise, use IMDS to get the instance id // -//This path provider is used when the caller doesn't provide a specific path provider to the resource principals signer +// This path provider is used when the caller doesn't provide a specific path provider to the resource principals signer type DefaultRptPathProvider struct { path string resourceID string diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/resource_principals_v1.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/resource_principals_v1.go index 9c2006f78b3f..91da680f4785 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/resource_principals_v1.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/auth/resource_principals_v1.go @@ -57,7 +57,7 @@ type resourcePrincipalSessionTokenRequest struct { Body resourcePrincipalSessionTokenRequestBody `contributesTo:"body"` } -//acquireResourcePrincipalToken acquires the resource principal from the target service +// acquireResourcePrincipalToken acquires the resource principal from the target service func (c *resourcePrincipalFederationClient) acquireResourcePrincipalToken() (tokenResponse resourcePrincipalTokenResponse, err error) { rpServiceClient := c.ResourcePrincipalTargetServiceClient @@ -83,7 +83,7 @@ func (c *resourcePrincipalFederationClient) acquireResourcePrincipalToken() (tok return } -//exchangeToken exchanges a resource principal token from the target service with a session token from identity +// exchangeToken exchanges a resource principal token from the target service with a session token from identity func (c *resourcePrincipalFederationClient) exchangeToken(publicKeyBase64 string, tokenResponse resourcePrincipalTokenResponse) (sessionToken string, err error) { rpServiceClient := c.ResourcePrincipalSessionTokenClient @@ -121,7 +121,7 @@ func (c *resourcePrincipalFederationClient) exchangeToken(publicKeyBase64 string return } -//getSecurityToken makes the appropiate calls to acquire a resource principal security token +// getSecurityToken makes the appropiate calls to acquire a resource principal security token func (c *resourcePrincipalFederationClient) getSecurityToken() (securityToken, error) { var err error ipFederationClient := c.instancePrincipalKeyProvider.FederationClient @@ -169,7 +169,7 @@ func (c *resourcePrincipalFederationClient) renewSecurityToken() (err error) { return nil } -//ResourcePrincipal Key provider in charge of resource principal acquiring tokens +// ResourcePrincipal Key provider in charge of resource principal acquiring tokens type resourcePrincipalKeyProviderV1 struct { ResourcePrincipalClient resourcePrincipalFederationClient } @@ -229,7 +229,7 @@ func (p *resourcePrincipalConfigurationProvider) GetClaim(key string) (interface return nil, nil } -//Resource Principals +// Resource Principals type resourcePrincipalConfigurationProvider struct { keyProvider resourcePrincipalKeyProviderV1 region *common.Region diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/client.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/client.go index 7db64e8d6d9c..e28138936ee2 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/client.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/client.go @@ -204,7 +204,7 @@ func defaultBaseClient(provider KeyProvider) BaseClient { return newBaseClient(signer, &dispatcher) } -//DefaultBaseClientWithSigner creates a default base client with a given signer +// DefaultBaseClientWithSigner creates a default base client with a given signer func DefaultBaseClientWithSigner(signer HTTPRequestSigner) BaseClient { dispatcher := defaultHTTPDispatcher() return newBaseClient(signer, &dispatcher) @@ -518,7 +518,7 @@ type OCIResponse interface { // OCIOperation is the generalization of a request-response cycle undergone by an OCI service. type OCIOperation func(context.Context, OCIRequest, *OCIReadSeekCloser) (OCIResponse, error) -//ClientCallDetails a set of settings used by the a single Call operation of the http Client +// ClientCallDetails a set of settings used by the a single Call operation of the http Client type ClientCallDetails struct { Signer HTTPRequestSigner } @@ -576,7 +576,7 @@ func (client BaseClient) CallWithDetails(ctx context.Context, request *http.Requ return } -//CloseBodyIfValid closes the body of an http response if the response and the body are valid +// CloseBodyIfValid closes the body of an http response if the response and the body are valid func CloseBodyIfValid(httpResponse *http.Response) { if httpResponse != nil && httpResponse.Body != nil { httpResponse.Body.Close() diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/common.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/common.go index d08f73237870..dad9e6a126a5 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/common.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/common.go @@ -15,7 +15,7 @@ import ( "time" ) -//Region type for regions +// Region type for regions type Region string const ( @@ -229,7 +229,7 @@ func (region Region) secondLevelDomain() string { return realm["oc1"] } -//StringToRegion convert a string to Region type +// StringToRegion convert a string to Region type func StringToRegion(stringRegion string) (r Region) { regionStr := strings.ToLower(stringRegion) // check if short region name provided diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/helpers.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/helpers.go index fc0f462183e0..6fe2d2835090 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/helpers.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/helpers.go @@ -37,24 +37,24 @@ func Uint(value uint) *uint { return &value } -//Float32 returns a pointer to the provided float32 +// Float32 returns a pointer to the provided float32 func Float32(value float32) *float32 { return &value } -//Float64 returns a pointer to the provided float64 +// Float64 returns a pointer to the provided float64 func Float64(value float64) *float64 { return &value } -//Bool returns a pointer to the provided bool +// Bool returns a pointer to the provided bool func Bool(value bool) *bool { return &value } -//PointerString prints the values of pointers in a struct -//Producing a human friendly string for an struct with pointers. -//useful when debugging the values of a struct +// PointerString prints the values of pointers in a struct +// Producing a human friendly string for an struct with pointers. +// useful when debugging the values of a struct func PointerString(datastruct interface{}) (representation string) { val := reflect.ValueOf(datastruct) typ := reflect.TypeOf(datastruct) @@ -123,7 +123,7 @@ var timeTypePtr = reflect.TypeOf(&SDKTime{}) var sdkDateType = reflect.TypeOf(SDKDate{}) var sdkDateTypePtr = reflect.TypeOf(&SDKDate{}) -//Formats for sdk supported time representations +// Formats for sdk supported time representations const sdkTimeFormat = time.RFC3339Nano const rfc1123OptionalLeadingDigitsInDay = "Mon, _2 Jan 2006 15:04:05 MST" const sdkDateFormat = "2006-01-02" diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/http.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/http.go index 7daa0ec1363f..98af610ec7dc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/http.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/http.go @@ -631,8 +631,10 @@ func structToRequestPart(request *http.Request, val reflect.Value) (err error) { // HTTPRequestMarshaller marshals a structure to an http request using tag values in the struct // The marshaller tag should like the following // type A struct { -// ANumber string `contributesTo="query" name="number"` -// TheBody `contributesTo="body"` +// +// ANumber string `contributesTo="query" name="number"` +// TheBody `contributesTo="body"` +// // } // where the contributesTo tag can be: header, path, query, body // and the 'name' tag is the name of the value used in the http request(not applicable for path) @@ -1008,8 +1010,9 @@ func responseToStruct(response *http.Response, val *reflect.Value, unmarshaler P // UnmarshalResponse hydrates the fields of a struct with the values of a http response, guided // by the field tags. The directive tag is "presentIn" and it can be either -// - "header": Will look for the header tagged as "name" in the headers of the struct and set it value to that -// - "body": It will try to marshal the body from a json string to a struct tagged with 'presentIn: "body"'. +// - "header": Will look for the header tagged as "name" in the headers of the struct and set it value to that +// - "body": It will try to marshal the body from a json string to a struct tagged with 'presentIn: "body"'. +// // Further this method will consume the body it should be safe to close it after this function // Notice the current implementation only supports native types:int, strings, floats, bool as the field types func UnmarshalResponse(httpResponse *http.Response, responseStruct interface{}) (err error) { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/log.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/log.go index b9578fa35693..251b99753eb3 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/log.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/common/log.go @@ -14,7 +14,7 @@ import ( "time" ) -//sdkLogger an interface for logging in the SDK +// sdkLogger an interface for logging in the SDK type sdkLogger interface { //LogLevel returns the log level of sdkLogger LogLevel() int @@ -23,19 +23,19 @@ type sdkLogger interface { Log(logLevel int, format string, v ...interface{}) error } -//noLogging no logging messages +// noLogging no logging messages const noLogging = 0 -//infoLogging minimal logging messages +// infoLogging minimal logging messages const infoLogging = 1 -//debugLogging some logging messages +// debugLogging some logging messages const debugLogging = 2 -//verboseLogging all logging messages +// verboseLogging all logging messages const verboseLogging = 3 -//defaultSDKLogger the default implementation of the sdkLogger +// defaultSDKLogger the default implementation of the sdkLogger type defaultSDKLogger struct { currentLoggingLevel int verboseLogger *log.Logger @@ -44,18 +44,18 @@ type defaultSDKLogger struct { nullLogger *log.Logger } -//defaultLogger is the defaultLogger in the SDK +// defaultLogger is the defaultLogger in the SDK var defaultLogger sdkLogger var loggerLock sync.Mutex var file *os.File -//initializes the SDK defaultLogger as a defaultLogger +// initializes the SDK defaultLogger as a defaultLogger func init() { l, _ := newSDKLogger() setSDKLogger(l) } -//setSDKLogger sets the logger used by the sdk +// setSDKLogger sets the logger used by the sdk func setSDKLogger(logger sdkLogger) { loggerLock.Lock() defaultLogger = logger @@ -171,12 +171,12 @@ func openLogOutputFile(logger defaultSDKLogger, fileName string) *os.File { return file } -//CloseLogFile close the logging file and return error +// CloseLogFile close the logging file and return error func CloseLogFile() error { return file.Close() } -//LogLevel returns the current debug level +// LogLevel returns the current debug level func (l defaultSDKLogger) LogLevel() int { return l.currentLoggingLevel } @@ -187,8 +187,8 @@ func (l defaultSDKLogger) Log(logLevel int, format string, v ...interface{}) err return nil } -//Logln logs v appending a new line at the end -//Deprecated +// Logln logs v appending a new line at the end +// Deprecated func Logln(v ...interface{}) { defaultLogger.Log(infoLogging, "%v\n", v...) } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/cluster_migrate_to_native_vcn_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/cluster_migrate_to_native_vcn_request_response.go index b9dcbae3bfb4..0e4696431c4d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/cluster_migrate_to_native_vcn_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/cluster_migrate_to_native_vcn_request_response.go @@ -11,7 +11,7 @@ import ( // ClusterMigrateToNativeVcnRequest wrapper for the ClusterMigrateToNativeVcn operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ClusterMigrateToNativeVcn.go.html to see an example of how to use ClusterMigrateToNativeVcnRequest. type ClusterMigrateToNativeVcnRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/containerengine_client.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/containerengine_client.go index 664ad4e10d93..a40485fa4f58 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/containerengine_client.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/containerengine_client.go @@ -19,7 +19,7 @@ import ( "net/http" ) -//ContainerEngineClient a client for ContainerEngine +// ContainerEngineClient a client for ContainerEngine type ContainerEngineClient struct { common.BaseClient config *common.ConfigurationProvider @@ -41,7 +41,8 @@ func NewContainerEngineClientWithConfigurationProvider(configProvider common.Con // NewContainerEngineClientWithOboToken Creates a new default ContainerEngine client with the given configuration provider. // The obotoken will be added to default headers and signed; the configuration provider will be used for the signer -// as well as reading the region +// +// as well as reading the region func NewContainerEngineClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ContainerEngineClient, err error) { baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) if err != nil { @@ -83,7 +84,7 @@ func (client *ContainerEngineClient) ConfigurationProvider() *common.Configurati // ClusterMigrateToNativeVcn Initiates cluster migration to use native VCN. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ClusterMigrateToNativeVcn.go.html to see an example of how to use ClusterMigrateToNativeVcn API. func (client ContainerEngineClient) ClusterMigrateToNativeVcn(ctx context.Context, request ClusterMigrateToNativeVcnRequest) (response ClusterMigrateToNativeVcnResponse, err error) { @@ -137,7 +138,7 @@ func (client ContainerEngineClient) clusterMigrateToNativeVcn(ctx context.Contex // CreateCluster Create a new cluster. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateCluster.go.html to see an example of how to use CreateCluster API. func (client ContainerEngineClient) CreateCluster(ctx context.Context, request CreateClusterRequest) (response CreateClusterResponse, err error) { @@ -196,7 +197,7 @@ func (client ContainerEngineClient) createCluster(ctx context.Context, request c // CreateKubeconfig Create the Kubeconfig YAML for a cluster. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateKubeconfig.go.html to see an example of how to use CreateKubeconfig API. func (client ContainerEngineClient) CreateKubeconfig(ctx context.Context, request CreateKubeconfigRequest) (response CreateKubeconfigResponse, err error) { @@ -249,7 +250,7 @@ func (client ContainerEngineClient) createKubeconfig(ctx context.Context, reques // CreateNodePool Create a new node pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateNodePool.go.html to see an example of how to use CreateNodePool API. func (client ContainerEngineClient) CreateNodePool(ctx context.Context, request CreateNodePoolRequest) (response CreateNodePoolResponse, err error) { @@ -308,7 +309,7 @@ func (client ContainerEngineClient) createNodePool(ctx context.Context, request // DeleteCluster Delete a cluster. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteCluster.go.html to see an example of how to use DeleteCluster API. func (client ContainerEngineClient) DeleteCluster(ctx context.Context, request DeleteClusterRequest) (response DeleteClusterResponse, err error) { @@ -362,7 +363,7 @@ func (client ContainerEngineClient) deleteCluster(ctx context.Context, request c // DeleteNodePool Delete a node pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteNodePool.go.html to see an example of how to use DeleteNodePool API. func (client ContainerEngineClient) DeleteNodePool(ctx context.Context, request DeleteNodePoolRequest) (response DeleteNodePoolResponse, err error) { @@ -416,7 +417,7 @@ func (client ContainerEngineClient) deleteNodePool(ctx context.Context, request // DeleteWorkRequest Cancel a work request that has not started. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequest API. func (client ContainerEngineClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error) { @@ -470,7 +471,7 @@ func (client ContainerEngineClient) deleteWorkRequest(ctx context.Context, reque // GetCluster Get the details of a cluster. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetCluster.go.html to see an example of how to use GetCluster API. func (client ContainerEngineClient) GetCluster(ctx context.Context, request GetClusterRequest) (response GetClusterResponse, err error) { @@ -524,7 +525,7 @@ func (client ContainerEngineClient) getCluster(ctx context.Context, request comm // GetClusterMigrateToNativeVcnStatus Get details on a cluster's migration to native VCN. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterMigrateToNativeVcnStatus.go.html to see an example of how to use GetClusterMigrateToNativeVcnStatus API. func (client ContainerEngineClient) GetClusterMigrateToNativeVcnStatus(ctx context.Context, request GetClusterMigrateToNativeVcnStatusRequest) (response GetClusterMigrateToNativeVcnStatusResponse, err error) { @@ -578,7 +579,7 @@ func (client ContainerEngineClient) getClusterMigrateToNativeVcnStatus(ctx conte // GetClusterOptions Get options available for clusters. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterOptions.go.html to see an example of how to use GetClusterOptions API. func (client ContainerEngineClient) GetClusterOptions(ctx context.Context, request GetClusterOptionsRequest) (response GetClusterOptionsResponse, err error) { @@ -632,7 +633,7 @@ func (client ContainerEngineClient) getClusterOptions(ctx context.Context, reque // GetNodePool Get the details of a node pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePool.go.html to see an example of how to use GetNodePool API. func (client ContainerEngineClient) GetNodePool(ctx context.Context, request GetNodePoolRequest) (response GetNodePoolResponse, err error) { @@ -686,7 +687,7 @@ func (client ContainerEngineClient) getNodePool(ctx context.Context, request com // GetNodePoolOptions Get options available for node pools. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePoolOptions.go.html to see an example of how to use GetNodePoolOptions API. func (client ContainerEngineClient) GetNodePoolOptions(ctx context.Context, request GetNodePoolOptionsRequest) (response GetNodePoolOptionsResponse, err error) { @@ -740,7 +741,7 @@ func (client ContainerEngineClient) getNodePoolOptions(ctx context.Context, requ // GetWorkRequest Get the details of a work request. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. func (client ContainerEngineClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error) { @@ -794,7 +795,7 @@ func (client ContainerEngineClient) getWorkRequest(ctx context.Context, request // ListClusters List all the cluster objects in a compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListClusters.go.html to see an example of how to use ListClusters API. func (client ContainerEngineClient) ListClusters(ctx context.Context, request ListClustersRequest) (response ListClustersResponse, err error) { @@ -848,7 +849,7 @@ func (client ContainerEngineClient) listClusters(ctx context.Context, request co // ListNodePools List all the node pools in a compartment, and optionally filter by cluster. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListNodePools.go.html to see an example of how to use ListNodePools API. func (client ContainerEngineClient) ListNodePools(ctx context.Context, request ListNodePoolsRequest) (response ListNodePoolsResponse, err error) { @@ -902,7 +903,7 @@ func (client ContainerEngineClient) listNodePools(ctx context.Context, request c // ListWorkRequestErrors Get the errors of a work request. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. func (client ContainerEngineClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error) { @@ -956,7 +957,7 @@ func (client ContainerEngineClient) listWorkRequestErrors(ctx context.Context, r // ListWorkRequestLogs Get the logs of a work request. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. func (client ContainerEngineClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error) { @@ -1010,7 +1011,7 @@ func (client ContainerEngineClient) listWorkRequestLogs(ctx context.Context, req // ListWorkRequests List all work requests in a compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. func (client ContainerEngineClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error) { @@ -1064,7 +1065,7 @@ func (client ContainerEngineClient) listWorkRequests(ctx context.Context, reques // UpdateCluster Update the details of a cluster. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateCluster.go.html to see an example of how to use UpdateCluster API. func (client ContainerEngineClient) UpdateCluster(ctx context.Context, request UpdateClusterRequest) (response UpdateClusterResponse, err error) { @@ -1118,7 +1119,7 @@ func (client ContainerEngineClient) updateCluster(ctx context.Context, request c // UpdateClusterEndpointConfig Update the details of the cluster endpoint configuration. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateClusterEndpointConfig.go.html to see an example of how to use UpdateClusterEndpointConfig API. func (client ContainerEngineClient) UpdateClusterEndpointConfig(ctx context.Context, request UpdateClusterEndpointConfigRequest) (response UpdateClusterEndpointConfigResponse, err error) { @@ -1172,7 +1173,7 @@ func (client ContainerEngineClient) updateClusterEndpointConfig(ctx context.Cont // UpdateNodePool Update the details of a node pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateNodePool.go.html to see an example of how to use UpdateNodePool API. func (client ContainerEngineClient) UpdateNodePool(ctx context.Context, request UpdateNodePoolRequest) (response UpdateNodePoolResponse, err error) { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/create_cluster_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/create_cluster_request_response.go index b3931b73a403..06de7ff81520 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/create_cluster_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/create_cluster_request_response.go @@ -11,7 +11,7 @@ import ( // CreateClusterRequest wrapper for the CreateCluster operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateCluster.go.html to see an example of how to use CreateClusterRequest. type CreateClusterRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/create_kubeconfig_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/create_kubeconfig_request_response.go index 89ed1ea24dc4..d308c79fda23 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/create_kubeconfig_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/create_kubeconfig_request_response.go @@ -12,7 +12,7 @@ import ( // CreateKubeconfigRequest wrapper for the CreateKubeconfig operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateKubeconfig.go.html to see an example of how to use CreateKubeconfigRequest. type CreateKubeconfigRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/create_node_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/create_node_pool_request_response.go index 14c2c1e19d34..921220d82f13 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/create_node_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/create_node_pool_request_response.go @@ -11,7 +11,7 @@ import ( // CreateNodePoolRequest wrapper for the CreateNodePool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/CreateNodePool.go.html to see an example of how to use CreateNodePoolRequest. type CreateNodePoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/delete_cluster_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/delete_cluster_request_response.go index 7e81fddb3852..24f8df623c51 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/delete_cluster_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/delete_cluster_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteClusterRequest wrapper for the DeleteCluster operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteCluster.go.html to see an example of how to use DeleteClusterRequest. type DeleteClusterRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/delete_node_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/delete_node_pool_request_response.go index d6eff5cda368..0c94e7dee2dc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/delete_node_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/delete_node_pool_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteNodePoolRequest wrapper for the DeleteNodePool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteNodePool.go.html to see an example of how to use DeleteNodePoolRequest. type DeleteNodePoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/delete_work_request_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/delete_work_request_request_response.go index 4826a6a755ee..50cb62f4382f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/delete_work_request_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/delete_work_request_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteWorkRequestRequest wrapper for the DeleteWorkRequest operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequestRequest. type DeleteWorkRequestRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_cluster_migrate_to_native_vcn_status_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_cluster_migrate_to_native_vcn_status_request_response.go index b1769c14dea7..7c7702b2c108 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_cluster_migrate_to_native_vcn_status_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_cluster_migrate_to_native_vcn_status_request_response.go @@ -11,7 +11,7 @@ import ( // GetClusterMigrateToNativeVcnStatusRequest wrapper for the GetClusterMigrateToNativeVcnStatus operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterMigrateToNativeVcnStatus.go.html to see an example of how to use GetClusterMigrateToNativeVcnStatusRequest. type GetClusterMigrateToNativeVcnStatusRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_cluster_options_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_cluster_options_request_response.go index ce434fe8b399..12f9846783bf 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_cluster_options_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_cluster_options_request_response.go @@ -11,7 +11,7 @@ import ( // GetClusterOptionsRequest wrapper for the GetClusterOptions operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetClusterOptions.go.html to see an example of how to use GetClusterOptionsRequest. type GetClusterOptionsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_cluster_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_cluster_request_response.go index 00b74650c8c7..759ebb3d2d1b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_cluster_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_cluster_request_response.go @@ -11,7 +11,7 @@ import ( // GetClusterRequest wrapper for the GetCluster operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetCluster.go.html to see an example of how to use GetClusterRequest. type GetClusterRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_node_pool_options_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_node_pool_options_request_response.go index d4e94525d525..d3ed31f9fa34 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_node_pool_options_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_node_pool_options_request_response.go @@ -11,7 +11,7 @@ import ( // GetNodePoolOptionsRequest wrapper for the GetNodePoolOptions operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePoolOptions.go.html to see an example of how to use GetNodePoolOptionsRequest. type GetNodePoolOptionsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_node_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_node_pool_request_response.go index d7b945096bbd..9f03553de210 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_node_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_node_pool_request_response.go @@ -11,7 +11,7 @@ import ( // GetNodePoolRequest wrapper for the GetNodePool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetNodePool.go.html to see an example of how to use GetNodePoolRequest. type GetNodePoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_work_request_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_work_request_request_response.go index fee722d02d84..3f2d82bc2145 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_work_request_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/get_work_request_request_response.go @@ -11,7 +11,7 @@ import ( // GetWorkRequestRequest wrapper for the GetWorkRequest operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest. type GetWorkRequestRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_clusters_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_clusters_request_response.go index a6b04dbd25f0..dc18ea705793 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_clusters_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_clusters_request_response.go @@ -11,7 +11,7 @@ import ( // ListClustersRequest wrapper for the ListClusters operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListClusters.go.html to see an example of how to use ListClustersRequest. type ListClustersRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_node_pools_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_node_pools_request_response.go index b2925355e45f..6a166a881a4f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_node_pools_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_node_pools_request_response.go @@ -11,7 +11,7 @@ import ( // ListNodePoolsRequest wrapper for the ListNodePools operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListNodePools.go.html to see an example of how to use ListNodePoolsRequest. type ListNodePoolsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_work_request_errors_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_work_request_errors_request_response.go index 04e2d6783a9a..301353da3c82 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_work_request_errors_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_work_request_errors_request_response.go @@ -11,7 +11,7 @@ import ( // ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest. type ListWorkRequestErrorsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_work_request_logs_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_work_request_logs_request_response.go index 90c15d3b2053..8bc02fd45c3c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_work_request_logs_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_work_request_logs_request_response.go @@ -11,7 +11,7 @@ import ( // ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest. type ListWorkRequestLogsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_work_requests_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_work_requests_request_response.go index ca25d9881ae2..785600b693b5 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_work_requests_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/list_work_requests_request_response.go @@ -11,7 +11,7 @@ import ( // ListWorkRequestsRequest wrapper for the ListWorkRequests operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest. type ListWorkRequestsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/node_source_option.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/node_source_option.go index b429a9144238..c490c38ccfb1 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/node_source_option.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/node_source_option.go @@ -64,7 +64,7 @@ func (m *nodesourceoption) UnmarshalPolymorphicJSON(data []byte) (interface{}, e } } -//GetSourceName returns SourceName +// GetSourceName returns SourceName func (m nodesourceoption) GetSourceName() *string { return m.SourceName } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/node_source_via_image_option.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/node_source_via_image_option.go index 600c9e5a6680..5c14f3e26453 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/node_source_via_image_option.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/node_source_via_image_option.go @@ -26,7 +26,7 @@ type NodeSourceViaImageOption struct { ImageId *string `mandatory:"false" json:"imageId"` } -//GetSourceName returns SourceName +// GetSourceName returns SourceName func (m NodeSourceViaImageOption) GetSourceName() *string { return m.SourceName } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/update_cluster_endpoint_config_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/update_cluster_endpoint_config_request_response.go index 95a80f0bb363..d904331f4e65 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/update_cluster_endpoint_config_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/update_cluster_endpoint_config_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateClusterEndpointConfigRequest wrapper for the UpdateClusterEndpointConfig operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateClusterEndpointConfig.go.html to see an example of how to use UpdateClusterEndpointConfigRequest. type UpdateClusterEndpointConfigRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/update_cluster_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/update_cluster_request_response.go index decfd3da64a0..49bb2f5b4de2 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/update_cluster_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/update_cluster_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateClusterRequest wrapper for the UpdateCluster operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateCluster.go.html to see an example of how to use UpdateClusterRequest. type UpdateClusterRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/update_node_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/update_node_pool_request_response.go index 51be4a8c8e18..722d6b0e0f3d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/update_node_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/containerengine/update_node_pool_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateNodePoolRequest wrapper for the UpdateNodePool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/containerengine/UpdateNodePool.go.html to see an example of how to use UpdateNodePoolRequest. type UpdateNodePoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_drg_route_distribution_statements_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_drg_route_distribution_statements_request_response.go index 2843e33b5aa6..baf12b0305fa 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_drg_route_distribution_statements_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_drg_route_distribution_statements_request_response.go @@ -11,7 +11,7 @@ import ( // AddDrgRouteDistributionStatementsRequest wrapper for the AddDrgRouteDistributionStatements operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteDistributionStatements.go.html to see an example of how to use AddDrgRouteDistributionStatementsRequest. type AddDrgRouteDistributionStatementsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_drg_route_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_drg_route_rules_request_response.go index 3b98f6ef3daf..8714daca5521 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_drg_route_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_drg_route_rules_request_response.go @@ -11,7 +11,7 @@ import ( // AddDrgRouteRulesRequest wrapper for the AddDrgRouteRules operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteRules.go.html to see an example of how to use AddDrgRouteRulesRequest. type AddDrgRouteRulesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_image_shape_compatibility_entry_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_image_shape_compatibility_entry_request_response.go index 11716c1b72d2..bf46db22a393 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_image_shape_compatibility_entry_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_image_shape_compatibility_entry_request_response.go @@ -11,7 +11,7 @@ import ( // AddImageShapeCompatibilityEntryRequest wrapper for the AddImageShapeCompatibilityEntry operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddImageShapeCompatibilityEntry.go.html to see an example of how to use AddImageShapeCompatibilityEntryRequest. type AddImageShapeCompatibilityEntryRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_ipv6_vcn_cidr_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_ipv6_vcn_cidr_request_response.go index 3680e6cd7d39..af0961f126ed 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_ipv6_vcn_cidr_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_ipv6_vcn_cidr_request_response.go @@ -11,7 +11,7 @@ import ( // AddIpv6VcnCidrRequest wrapper for the AddIpv6VcnCidr operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6VcnCidr.go.html to see an example of how to use AddIpv6VcnCidrRequest. type AddIpv6VcnCidrRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_network_security_group_security_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_network_security_group_security_rules_request_response.go index cdd647e84665..6c87518a89d5 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_network_security_group_security_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_network_security_group_security_rules_request_response.go @@ -11,7 +11,7 @@ import ( // AddNetworkSecurityGroupSecurityRulesRequest wrapper for the AddNetworkSecurityGroupSecurityRules operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddNetworkSecurityGroupSecurityRules.go.html to see an example of how to use AddNetworkSecurityGroupSecurityRulesRequest. type AddNetworkSecurityGroupSecurityRulesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_public_ip_pool_capacity_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_public_ip_pool_capacity_request_response.go index 95b7e639ef23..cca9f8408d5b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_public_ip_pool_capacity_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_public_ip_pool_capacity_request_response.go @@ -11,7 +11,7 @@ import ( // AddPublicIpPoolCapacityRequest wrapper for the AddPublicIpPoolCapacity operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddPublicIpPoolCapacity.go.html to see an example of how to use AddPublicIpPoolCapacityRequest. type AddPublicIpPoolCapacityRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_vcn_cidr_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_vcn_cidr_request_response.go index 06c613904cb9..ef9cc048234e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_vcn_cidr_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/add_vcn_cidr_request_response.go @@ -11,7 +11,7 @@ import ( // AddVcnCidrRequest wrapper for the AddVcnCidr operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddVcnCidr.go.html to see an example of how to use AddVcnCidrRequest. type AddVcnCidrRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/advertise_byoip_range_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/advertise_byoip_range_request_response.go index 29d93b908bd7..6ed6a7967ba4 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/advertise_byoip_range_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/advertise_byoip_range_request_response.go @@ -11,7 +11,7 @@ import ( // AdvertiseByoipRangeRequest wrapper for the AdvertiseByoipRange operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AdvertiseByoipRange.go.html to see an example of how to use AdvertiseByoipRangeRequest. type AdvertiseByoipRangeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_boot_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_boot_volume_request_response.go index 361e6103188e..6cd626739f1a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_boot_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_boot_volume_request_response.go @@ -11,7 +11,7 @@ import ( // AttachBootVolumeRequest wrapper for the AttachBootVolume operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachBootVolume.go.html to see an example of how to use AttachBootVolumeRequest. type AttachBootVolumeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_emulated_volume_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_emulated_volume_details.go index 9b19883dff98..b368edb67001 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_emulated_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_emulated_volume_details.go @@ -43,32 +43,32 @@ type AttachEmulatedVolumeDetails struct { IsShareable *bool `mandatory:"false" json:"isShareable"` } -//GetDevice returns Device +// GetDevice returns Device func (m AttachEmulatedVolumeDetails) GetDevice() *string { return m.Device } -//GetDisplayName returns DisplayName +// GetDisplayName returns DisplayName func (m AttachEmulatedVolumeDetails) GetDisplayName() *string { return m.DisplayName } -//GetInstanceId returns InstanceId +// GetInstanceId returns InstanceId func (m AttachEmulatedVolumeDetails) GetInstanceId() *string { return m.InstanceId } -//GetIsReadOnly returns IsReadOnly +// GetIsReadOnly returns IsReadOnly func (m AttachEmulatedVolumeDetails) GetIsReadOnly() *bool { return m.IsReadOnly } -//GetIsShareable returns IsShareable +// GetIsShareable returns IsShareable func (m AttachEmulatedVolumeDetails) GetIsShareable() *bool { return m.IsShareable } -//GetVolumeId returns VolumeId +// GetVolumeId returns VolumeId func (m AttachEmulatedVolumeDetails) GetVolumeId() *string { return m.VolumeId } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_i_scsi_volume_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_i_scsi_volume_details.go index 465a65008564..3e900e5222be 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_i_scsi_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_i_scsi_volume_details.go @@ -50,32 +50,32 @@ type AttachIScsiVolumeDetails struct { EncryptionInTransitType EncryptionInTransitTypeEnum `mandatory:"false" json:"encryptionInTransitType,omitempty"` } -//GetDevice returns Device +// GetDevice returns Device func (m AttachIScsiVolumeDetails) GetDevice() *string { return m.Device } -//GetDisplayName returns DisplayName +// GetDisplayName returns DisplayName func (m AttachIScsiVolumeDetails) GetDisplayName() *string { return m.DisplayName } -//GetInstanceId returns InstanceId +// GetInstanceId returns InstanceId func (m AttachIScsiVolumeDetails) GetInstanceId() *string { return m.InstanceId } -//GetIsReadOnly returns IsReadOnly +// GetIsReadOnly returns IsReadOnly func (m AttachIScsiVolumeDetails) GetIsReadOnly() *bool { return m.IsReadOnly } -//GetIsShareable returns IsShareable +// GetIsShareable returns IsShareable func (m AttachIScsiVolumeDetails) GetIsShareable() *bool { return m.IsShareable } -//GetVolumeId returns VolumeId +// GetVolumeId returns VolumeId func (m AttachIScsiVolumeDetails) GetVolumeId() *string { return m.VolumeId } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_instance_pool_instance_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_instance_pool_instance_request_response.go index 00c35094ba2d..8ce10dfcad2a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_instance_pool_instance_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_instance_pool_instance_request_response.go @@ -11,7 +11,7 @@ import ( // AttachInstancePoolInstanceRequest wrapper for the AttachInstancePoolInstance operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachInstancePoolInstance.go.html to see an example of how to use AttachInstancePoolInstanceRequest. type AttachInstancePoolInstanceRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_load_balancer_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_load_balancer_request_response.go index 7de699560959..a3ed353b3a72 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_load_balancer_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_load_balancer_request_response.go @@ -11,7 +11,7 @@ import ( // AttachLoadBalancerRequest wrapper for the AttachLoadBalancer operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachLoadBalancer.go.html to see an example of how to use AttachLoadBalancerRequest. type AttachLoadBalancerRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_paravirtualized_volume_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_paravirtualized_volume_details.go index 5cb074176835..d4967b283092 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_paravirtualized_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_paravirtualized_volume_details.go @@ -46,32 +46,32 @@ type AttachParavirtualizedVolumeDetails struct { IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"` } -//GetDevice returns Device +// GetDevice returns Device func (m AttachParavirtualizedVolumeDetails) GetDevice() *string { return m.Device } -//GetDisplayName returns DisplayName +// GetDisplayName returns DisplayName func (m AttachParavirtualizedVolumeDetails) GetDisplayName() *string { return m.DisplayName } -//GetInstanceId returns InstanceId +// GetInstanceId returns InstanceId func (m AttachParavirtualizedVolumeDetails) GetInstanceId() *string { return m.InstanceId } -//GetIsReadOnly returns IsReadOnly +// GetIsReadOnly returns IsReadOnly func (m AttachParavirtualizedVolumeDetails) GetIsReadOnly() *bool { return m.IsReadOnly } -//GetIsShareable returns IsShareable +// GetIsShareable returns IsShareable func (m AttachParavirtualizedVolumeDetails) GetIsShareable() *bool { return m.IsShareable } -//GetVolumeId returns VolumeId +// GetVolumeId returns VolumeId func (m AttachParavirtualizedVolumeDetails) GetVolumeId() *string { return m.VolumeId } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_service_determined_volume_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_service_determined_volume_details.go index a5bbe8115480..dbffd3af75fc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_service_determined_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_service_determined_volume_details.go @@ -43,32 +43,32 @@ type AttachServiceDeterminedVolumeDetails struct { IsShareable *bool `mandatory:"false" json:"isShareable"` } -//GetDevice returns Device +// GetDevice returns Device func (m AttachServiceDeterminedVolumeDetails) GetDevice() *string { return m.Device } -//GetDisplayName returns DisplayName +// GetDisplayName returns DisplayName func (m AttachServiceDeterminedVolumeDetails) GetDisplayName() *string { return m.DisplayName } -//GetInstanceId returns InstanceId +// GetInstanceId returns InstanceId func (m AttachServiceDeterminedVolumeDetails) GetInstanceId() *string { return m.InstanceId } -//GetIsReadOnly returns IsReadOnly +// GetIsReadOnly returns IsReadOnly func (m AttachServiceDeterminedVolumeDetails) GetIsReadOnly() *bool { return m.IsReadOnly } -//GetIsShareable returns IsShareable +// GetIsShareable returns IsShareable func (m AttachServiceDeterminedVolumeDetails) GetIsShareable() *bool { return m.IsShareable } -//GetVolumeId returns VolumeId +// GetVolumeId returns VolumeId func (m AttachServiceDeterminedVolumeDetails) GetVolumeId() *string { return m.VolumeId } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_service_id_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_service_id_request_response.go index c7666db0bf5a..a37202215de6 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_service_id_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_service_id_request_response.go @@ -11,7 +11,7 @@ import ( // AttachServiceIdRequest wrapper for the AttachServiceId operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachServiceId.go.html to see an example of how to use AttachServiceIdRequest. type AttachServiceIdRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_vnic_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_vnic_request_response.go index bfb55487e3cb..77aceb808358 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_vnic_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_vnic_request_response.go @@ -11,7 +11,7 @@ import ( // AttachVnicRequest wrapper for the AttachVnic operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVnic.go.html to see an example of how to use AttachVnicRequest. type AttachVnicRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_volume_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_volume_details.go index 9c349da993ba..38d307d49f34 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_volume_details.go @@ -106,32 +106,32 @@ func (m *attachvolumedetails) UnmarshalPolymorphicJSON(data []byte) (interface{} } } -//GetInstanceId returns InstanceId +// GetInstanceId returns InstanceId func (m attachvolumedetails) GetInstanceId() *string { return m.InstanceId } -//GetVolumeId returns VolumeId +// GetVolumeId returns VolumeId func (m attachvolumedetails) GetVolumeId() *string { return m.VolumeId } -//GetDevice returns Device +// GetDevice returns Device func (m attachvolumedetails) GetDevice() *string { return m.Device } -//GetDisplayName returns DisplayName +// GetDisplayName returns DisplayName func (m attachvolumedetails) GetDisplayName() *string { return m.DisplayName } -//GetIsReadOnly returns IsReadOnly +// GetIsReadOnly returns IsReadOnly func (m attachvolumedetails) GetIsReadOnly() *bool { return m.IsReadOnly } -//GetIsShareable returns IsShareable +// GetIsShareable returns IsShareable func (m attachvolumedetails) GetIsShareable() *bool { return m.IsShareable } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_volume_request_response.go index 3bcfe30639a6..c99aaa5c43ef 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/attach_volume_request_response.go @@ -11,7 +11,7 @@ import ( // AttachVolumeRequest wrapper for the AttachVolume operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVolume.go.html to see an example of how to use AttachVolumeRequest. type AttachVolumeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/boolean_image_capability_schema_descriptor.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/boolean_image_capability_schema_descriptor.go index f78eedb5bcb6..781221fae83e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/boolean_image_capability_schema_descriptor.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/boolean_image_capability_schema_descriptor.go @@ -27,7 +27,7 @@ type BooleanImageCapabilitySchemaDescriptor struct { Source ImageCapabilitySchemaDescriptorSourceEnum `mandatory:"true" json:"source"` } -//GetSource returns Source +// GetSource returns Source func (m BooleanImageCapabilitySchemaDescriptor) GetSource() ImageCapabilitySchemaDescriptorSourceEnum { return m.Source } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/bulk_add_virtual_circuit_public_prefixes_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/bulk_add_virtual_circuit_public_prefixes_request_response.go index 9991c2820067..0900ed522510 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/bulk_add_virtual_circuit_public_prefixes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/bulk_add_virtual_circuit_public_prefixes_request_response.go @@ -11,7 +11,7 @@ import ( // BulkAddVirtualCircuitPublicPrefixesRequest wrapper for the BulkAddVirtualCircuitPublicPrefixes operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkAddVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkAddVirtualCircuitPublicPrefixesRequest. type BulkAddVirtualCircuitPublicPrefixesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go index 0ffd8220b25c..9dd1fc0ed00e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/bulk_delete_virtual_circuit_public_prefixes_request_response.go @@ -11,7 +11,7 @@ import ( // BulkDeleteVirtualCircuitPublicPrefixesRequest wrapper for the BulkDeleteVirtualCircuitPublicPrefixes operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDeleteVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkDeleteVirtualCircuitPublicPrefixesRequest. type BulkDeleteVirtualCircuitPublicPrefixesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/capture_console_history_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/capture_console_history_request_response.go index f465d11b7580..e25fc77e658c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/capture_console_history_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/capture_console_history_request_response.go @@ -11,7 +11,7 @@ import ( // CaptureConsoleHistoryRequest wrapper for the CaptureConsoleHistory operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CaptureConsoleHistory.go.html to see an example of how to use CaptureConsoleHistoryRequest. type CaptureConsoleHistoryRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_boot_volume_backup_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_boot_volume_backup_compartment_request_response.go index 334bc343247d..07562e51aaa0 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_boot_volume_backup_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_boot_volume_backup_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeBootVolumeBackupCompartmentRequest wrapper for the ChangeBootVolumeBackupCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeBackupCompartment.go.html to see an example of how to use ChangeBootVolumeBackupCompartmentRequest. type ChangeBootVolumeBackupCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_boot_volume_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_boot_volume_compartment_request_response.go index a622aad61786..1367028eceb6 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_boot_volume_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_boot_volume_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeBootVolumeCompartmentRequest wrapper for the ChangeBootVolumeCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeCompartment.go.html to see an example of how to use ChangeBootVolumeCompartmentRequest. type ChangeBootVolumeCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_byoip_range_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_byoip_range_compartment_request_response.go index 04e9305015f8..785ce04ed823 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_byoip_range_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_byoip_range_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeByoipRangeCompartmentRequest wrapper for the ChangeByoipRangeCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeByoipRangeCompartment.go.html to see an example of how to use ChangeByoipRangeCompartmentRequest. type ChangeByoipRangeCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cluster_network_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cluster_network_compartment_request_response.go index f4a998ab3292..ccafa6a73dd6 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cluster_network_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cluster_network_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeClusterNetworkCompartmentRequest wrapper for the ChangeClusterNetworkCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeClusterNetworkCompartment.go.html to see an example of how to use ChangeClusterNetworkCompartmentRequest. type ChangeClusterNetworkCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_compute_capacity_reservation_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_compute_capacity_reservation_compartment_request_response.go index c2f0faade144..992bc5259047 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_compute_capacity_reservation_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_compute_capacity_reservation_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeComputeCapacityReservationCompartmentRequest wrapper for the ChangeComputeCapacityReservationCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeCapacityReservationCompartment.go.html to see an example of how to use ChangeComputeCapacityReservationCompartmentRequest. type ChangeComputeCapacityReservationCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_compute_image_capability_schema_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_compute_image_capability_schema_compartment_request_response.go index acc1de0658b9..1e2bf3524f53 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_compute_image_capability_schema_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_compute_image_capability_schema_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeComputeImageCapabilitySchemaCompartmentRequest wrapper for the ChangeComputeImageCapabilitySchemaCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeImageCapabilitySchemaCompartment.go.html to see an example of how to use ChangeComputeImageCapabilitySchemaCompartmentRequest. type ChangeComputeImageCapabilitySchemaCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cpe_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cpe_compartment_request_response.go index 7af74541df72..2ae4736d5a9d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cpe_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cpe_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeCpeCompartmentRequest wrapper for the ChangeCpeCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCpeCompartment.go.html to see an example of how to use ChangeCpeCompartmentRequest. type ChangeCpeCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cross_connect_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cross_connect_compartment_request_response.go index 0d0c69ca762c..effbebf1c851 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cross_connect_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cross_connect_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeCrossConnectCompartmentRequest wrapper for the ChangeCrossConnectCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectCompartment.go.html to see an example of how to use ChangeCrossConnectCompartmentRequest. type ChangeCrossConnectCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cross_connect_group_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cross_connect_group_compartment_request_response.go index f2dad8f13226..6d0d906a242b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cross_connect_group_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_cross_connect_group_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeCrossConnectGroupCompartmentRequest wrapper for the ChangeCrossConnectGroupCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectGroupCompartment.go.html to see an example of how to use ChangeCrossConnectGroupCompartmentRequest. type ChangeCrossConnectGroupCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_dedicated_vm_host_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_dedicated_vm_host_compartment_request_response.go index 87371a967e3f..d8f5f3ed1854 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_dedicated_vm_host_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_dedicated_vm_host_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeDedicatedVmHostCompartmentRequest wrapper for the ChangeDedicatedVmHostCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDedicatedVmHostCompartment.go.html to see an example of how to use ChangeDedicatedVmHostCompartmentRequest. type ChangeDedicatedVmHostCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_dhcp_options_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_dhcp_options_compartment_request_response.go index a947973153b3..a842b1a8ec74 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_dhcp_options_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_dhcp_options_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeDhcpOptionsCompartmentRequest wrapper for the ChangeDhcpOptionsCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDhcpOptionsCompartment.go.html to see an example of how to use ChangeDhcpOptionsCompartmentRequest. type ChangeDhcpOptionsCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_drg_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_drg_compartment_request_response.go index 73673717e3e6..716c1e921f01 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_drg_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_drg_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeDrgCompartmentRequest wrapper for the ChangeDrgCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDrgCompartment.go.html to see an example of how to use ChangeDrgCompartmentRequest. type ChangeDrgCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_i_p_sec_connection_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_i_p_sec_connection_compartment_request_response.go index 0dd287cee807..8147785e4238 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_i_p_sec_connection_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_i_p_sec_connection_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeIPSecConnectionCompartmentRequest wrapper for the ChangeIPSecConnectionCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeIPSecConnectionCompartment.go.html to see an example of how to use ChangeIPSecConnectionCompartmentRequest. type ChangeIPSecConnectionCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_image_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_image_compartment_request_response.go index 15848afa9b6c..efc5996cfe83 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_image_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_image_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeImageCompartmentRequest wrapper for the ChangeImageCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeImageCompartment.go.html to see an example of how to use ChangeImageCompartmentRequest. type ChangeImageCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_instance_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_instance_compartment_request_response.go index 8d792296a654..a8623d4055ee 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_instance_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_instance_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeInstanceCompartmentRequest wrapper for the ChangeInstanceCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceCompartment.go.html to see an example of how to use ChangeInstanceCompartmentRequest. type ChangeInstanceCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_instance_configuration_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_instance_configuration_compartment_request_response.go index 87832b4fbc18..c9c695b7099d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_instance_configuration_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_instance_configuration_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeInstanceConfigurationCompartmentRequest wrapper for the ChangeInstanceConfigurationCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceConfigurationCompartment.go.html to see an example of how to use ChangeInstanceConfigurationCompartmentRequest. type ChangeInstanceConfigurationCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_instance_pool_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_instance_pool_compartment_request_response.go index 869bf4e24d31..0f6456fd6666 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_instance_pool_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_instance_pool_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeInstancePoolCompartmentRequest wrapper for the ChangeInstancePoolCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstancePoolCompartment.go.html to see an example of how to use ChangeInstancePoolCompartmentRequest. type ChangeInstancePoolCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_internet_gateway_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_internet_gateway_compartment_request_response.go index 30ae24844475..cd4bb68dad8c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_internet_gateway_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_internet_gateway_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeInternetGatewayCompartmentRequest wrapper for the ChangeInternetGatewayCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInternetGatewayCompartment.go.html to see an example of how to use ChangeInternetGatewayCompartmentRequest. type ChangeInternetGatewayCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_local_peering_gateway_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_local_peering_gateway_compartment_request_response.go index b465901d18e6..eb4b285a6e6a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_local_peering_gateway_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_local_peering_gateway_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeLocalPeeringGatewayCompartmentRequest wrapper for the ChangeLocalPeeringGatewayCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeLocalPeeringGatewayCompartment.go.html to see an example of how to use ChangeLocalPeeringGatewayCompartmentRequest. type ChangeLocalPeeringGatewayCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_nat_gateway_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_nat_gateway_compartment_request_response.go index 77fcd38c77fc..bacdbae9a660 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_nat_gateway_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_nat_gateway_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeNatGatewayCompartmentRequest wrapper for the ChangeNatGatewayCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNatGatewayCompartment.go.html to see an example of how to use ChangeNatGatewayCompartmentRequest. type ChangeNatGatewayCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_network_security_group_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_network_security_group_compartment_request_response.go index 47521c5c3e5d..3bb6d7b206d2 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_network_security_group_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_network_security_group_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeNetworkSecurityGroupCompartmentRequest wrapper for the ChangeNetworkSecurityGroupCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNetworkSecurityGroupCompartment.go.html to see an example of how to use ChangeNetworkSecurityGroupCompartmentRequest. type ChangeNetworkSecurityGroupCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_public_ip_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_public_ip_compartment_request_response.go index 9603c381aed2..eca7a79ae0c6 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_public_ip_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_public_ip_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangePublicIpCompartmentRequest wrapper for the ChangePublicIpCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpCompartment.go.html to see an example of how to use ChangePublicIpCompartmentRequest. type ChangePublicIpCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_public_ip_pool_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_public_ip_pool_compartment_request_response.go index bc377bc89c19..bc9493f4a87f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_public_ip_pool_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_public_ip_pool_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangePublicIpPoolCompartmentRequest wrapper for the ChangePublicIpPoolCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpPoolCompartment.go.html to see an example of how to use ChangePublicIpPoolCompartmentRequest. type ChangePublicIpPoolCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_remote_peering_connection_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_remote_peering_connection_compartment_request_response.go index a586aaa18392..0db128e130b4 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_remote_peering_connection_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_remote_peering_connection_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeRemotePeeringConnectionCompartmentRequest wrapper for the ChangeRemotePeeringConnectionCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRemotePeeringConnectionCompartment.go.html to see an example of how to use ChangeRemotePeeringConnectionCompartmentRequest. type ChangeRemotePeeringConnectionCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_route_table_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_route_table_compartment_request_response.go index fb6551175973..b2aa3e1ed732 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_route_table_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_route_table_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeRouteTableCompartmentRequest wrapper for the ChangeRouteTableCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRouteTableCompartment.go.html to see an example of how to use ChangeRouteTableCompartmentRequest. type ChangeRouteTableCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_security_list_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_security_list_compartment_request_response.go index aba22cbb631e..76e0964f402b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_security_list_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_security_list_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeSecurityListCompartmentRequest wrapper for the ChangeSecurityListCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSecurityListCompartment.go.html to see an example of how to use ChangeSecurityListCompartmentRequest. type ChangeSecurityListCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_service_gateway_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_service_gateway_compartment_request_response.go index a4c2d362788f..a5d4078fb47d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_service_gateway_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_service_gateway_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeServiceGatewayCompartmentRequest wrapper for the ChangeServiceGatewayCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeServiceGatewayCompartment.go.html to see an example of how to use ChangeServiceGatewayCompartmentRequest. type ChangeServiceGatewayCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_subnet_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_subnet_compartment_request_response.go index 67bab648e624..c922b7b7bb96 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_subnet_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_subnet_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeSubnetCompartmentRequest wrapper for the ChangeSubnetCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSubnetCompartment.go.html to see an example of how to use ChangeSubnetCompartmentRequest. type ChangeSubnetCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_vcn_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_vcn_compartment_request_response.go index 0255f383c645..fc202f1ed348 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_vcn_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_vcn_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeVcnCompartmentRequest wrapper for the ChangeVcnCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVcnCompartment.go.html to see an example of how to use ChangeVcnCompartmentRequest. type ChangeVcnCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_virtual_circuit_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_virtual_circuit_compartment_request_response.go index bdbf30bd726d..fa549286f2e7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_virtual_circuit_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_virtual_circuit_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeVirtualCircuitCompartmentRequest wrapper for the ChangeVirtualCircuitCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVirtualCircuitCompartment.go.html to see an example of how to use ChangeVirtualCircuitCompartmentRequest. type ChangeVirtualCircuitCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_vlan_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_vlan_compartment_request_response.go index 4fffde55b808..1d6cc1511a15 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_vlan_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_vlan_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeVlanCompartmentRequest wrapper for the ChangeVlanCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVlanCompartment.go.html to see an example of how to use ChangeVlanCompartmentRequest. type ChangeVlanCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_backup_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_backup_compartment_request_response.go index 41a0025772d4..ad795362ed94 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_backup_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_backup_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeVolumeBackupCompartmentRequest wrapper for the ChangeVolumeBackupCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeBackupCompartment.go.html to see an example of how to use ChangeVolumeBackupCompartmentRequest. type ChangeVolumeBackupCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_compartment_request_response.go index 0269820aeaca..634a0ed8afd5 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeVolumeCompartmentRequest wrapper for the ChangeVolumeCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeCompartment.go.html to see an example of how to use ChangeVolumeCompartmentRequest. type ChangeVolumeCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_group_backup_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_group_backup_compartment_request_response.go index d9b2ad74ddd0..bb450d931e84 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_group_backup_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_group_backup_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeVolumeGroupBackupCompartmentRequest wrapper for the ChangeVolumeGroupBackupCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupBackupCompartment.go.html to see an example of how to use ChangeVolumeGroupBackupCompartmentRequest. type ChangeVolumeGroupBackupCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_group_compartment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_group_compartment_request_response.go index a112674603b4..6d7786f886cb 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_group_compartment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/change_volume_group_compartment_request_response.go @@ -11,7 +11,7 @@ import ( // ChangeVolumeGroupCompartmentRequest wrapper for the ChangeVolumeGroupCompartment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupCompartment.go.html to see an example of how to use ChangeVolumeGroupCompartmentRequest. type ChangeVolumeGroupCompartmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/connect_local_peering_gateways_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/connect_local_peering_gateways_request_response.go index f0b67fc961bf..0d244fcee591 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/connect_local_peering_gateways_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/connect_local_peering_gateways_request_response.go @@ -11,7 +11,7 @@ import ( // ConnectLocalPeeringGatewaysRequest wrapper for the ConnectLocalPeeringGateways operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectLocalPeeringGateways.go.html to see an example of how to use ConnectLocalPeeringGatewaysRequest. type ConnectLocalPeeringGatewaysRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/connect_remote_peering_connections_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/connect_remote_peering_connections_request_response.go index 79027745688f..2c3075eaf0c5 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/connect_remote_peering_connections_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/connect_remote_peering_connections_request_response.go @@ -11,7 +11,7 @@ import ( // ConnectRemotePeeringConnectionsRequest wrapper for the ConnectRemotePeeringConnections operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectRemotePeeringConnections.go.html to see an example of how to use ConnectRemotePeeringConnectionsRequest. type ConnectRemotePeeringConnectionsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/copy_boot_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/copy_boot_volume_backup_request_response.go index df8dd0a73236..44de7bae5c1d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/copy_boot_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/copy_boot_volume_backup_request_response.go @@ -11,7 +11,7 @@ import ( // CopyBootVolumeBackupRequest wrapper for the CopyBootVolumeBackup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyBootVolumeBackup.go.html to see an example of how to use CopyBootVolumeBackupRequest. type CopyBootVolumeBackupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/copy_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/copy_volume_backup_request_response.go index 465090595749..02dbd582c1b9 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/copy_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/copy_volume_backup_request_response.go @@ -11,7 +11,7 @@ import ( // CopyVolumeBackupRequest wrapper for the CopyVolumeBackup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyVolumeBackup.go.html to see an example of how to use CopyVolumeBackupRequest. type CopyVolumeBackupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_blockstorage_client.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_blockstorage_client.go index 2e9c0401bf93..ae92ae8ef800 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_blockstorage_client.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_blockstorage_client.go @@ -21,7 +21,7 @@ import ( "net/http" ) -//BlockstorageClient a client for Blockstorage +// BlockstorageClient a client for Blockstorage type BlockstorageClient struct { common.BaseClient config *common.ConfigurationProvider @@ -43,7 +43,8 @@ func NewBlockstorageClientWithConfigurationProvider(configProvider common.Config // NewBlockstorageClientWithOboToken Creates a new default Blockstorage client with the given configuration provider. // The obotoken will be added to default headers and signed; the configuration provider will be used for the signer -// as well as reading the region +// +// as well as reading the region func NewBlockstorageClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client BlockstorageClient, err error) { baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) if err != nil { @@ -87,7 +88,7 @@ func (client *BlockstorageClient) ConfigurationProvider() *common.ConfigurationP // For information about moving resources between compartments, // see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeBackupCompartment.go.html to see an example of how to use ChangeBootVolumeBackupCompartment API. func (client BlockstorageClient) ChangeBootVolumeBackupCompartment(ctx context.Context, request ChangeBootVolumeBackupCompartmentRequest) (response ChangeBootVolumeBackupCompartmentResponse, err error) { @@ -143,7 +144,7 @@ func (client BlockstorageClient) changeBootVolumeBackupCompartment(ctx context.C // For information about moving resources between compartments, // see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeBootVolumeCompartment.go.html to see an example of how to use ChangeBootVolumeCompartment API. func (client BlockstorageClient) ChangeBootVolumeCompartment(ctx context.Context, request ChangeBootVolumeCompartmentRequest) (response ChangeBootVolumeCompartmentResponse, err error) { @@ -199,7 +200,7 @@ func (client BlockstorageClient) changeBootVolumeCompartment(ctx context.Context // For information about moving resources between compartments, // see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeBackupCompartment.go.html to see an example of how to use ChangeVolumeBackupCompartment API. func (client BlockstorageClient) ChangeVolumeBackupCompartment(ctx context.Context, request ChangeVolumeBackupCompartmentRequest) (response ChangeVolumeBackupCompartmentResponse, err error) { @@ -255,7 +256,7 @@ func (client BlockstorageClient) changeVolumeBackupCompartment(ctx context.Conte // For information about moving resources between compartments, // see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeCompartment.go.html to see an example of how to use ChangeVolumeCompartment API. func (client BlockstorageClient) ChangeVolumeCompartment(ctx context.Context, request ChangeVolumeCompartmentRequest) (response ChangeVolumeCompartmentResponse, err error) { @@ -311,7 +312,7 @@ func (client BlockstorageClient) changeVolumeCompartment(ctx context.Context, re // For information about moving resources between compartments, // see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupBackupCompartment.go.html to see an example of how to use ChangeVolumeGroupBackupCompartment API. func (client BlockstorageClient) ChangeVolumeGroupBackupCompartment(ctx context.Context, request ChangeVolumeGroupBackupCompartmentRequest) (response ChangeVolumeGroupBackupCompartmentResponse, err error) { @@ -367,7 +368,7 @@ func (client BlockstorageClient) changeVolumeGroupBackupCompartment(ctx context. // For information about moving resources between compartments, // see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVolumeGroupCompartment.go.html to see an example of how to use ChangeVolumeGroupCompartment API. func (client BlockstorageClient) ChangeVolumeGroupCompartment(ctx context.Context, request ChangeVolumeGroupCompartmentRequest) (response ChangeVolumeGroupCompartmentResponse, err error) { @@ -422,7 +423,7 @@ func (client BlockstorageClient) changeVolumeGroupCompartment(ctx context.Contex // CopyBootVolumeBackup Creates a boot volume backup copy in specified region. For general information about volume backups, // see Overview of Boot Volume Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/bootvolumebackups.htm) // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyBootVolumeBackup.go.html to see an example of how to use CopyBootVolumeBackup API. func (client BlockstorageClient) CopyBootVolumeBackup(ctx context.Context, request CopyBootVolumeBackupRequest) (response CopyBootVolumeBackupResponse, err error) { @@ -482,7 +483,7 @@ func (client BlockstorageClient) copyBootVolumeBackup(ctx context.Context, reque // CopyVolumeBackup Creates a volume backup copy in specified region. For general information about volume backups, // see Overview of Block Volume Service Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumebackups.htm) // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CopyVolumeBackup.go.html to see an example of how to use CopyVolumeBackup API. func (client BlockstorageClient) CopyVolumeBackup(ctx context.Context, request CopyVolumeBackupRequest) (response CopyVolumeBackupResponse, err error) { @@ -544,7 +545,7 @@ func (client BlockstorageClient) copyVolumeBackup(ctx context.Context, request c // You may optionally specify a *display name* for the volume, which is simply a friendly name or // description. It does not have to be unique, and you can change it. Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolume.go.html to see an example of how to use CreateBootVolume API. func (client BlockstorageClient) CreateBootVolume(ctx context.Context, request CreateBootVolumeRequest) (response CreateBootVolumeResponse, err error) { @@ -607,7 +608,7 @@ func (client BlockstorageClient) createBootVolume(ctx context.Context, request c // When the data is imaged, it goes into a CREATING state. // After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolumeBackup.go.html to see an example of how to use CreateBootVolumeBackup API. func (client BlockstorageClient) CreateBootVolumeBackup(ctx context.Context, request CreateBootVolumeBackupRequest) (response CreateBootVolumeBackupResponse, err error) { @@ -677,7 +678,7 @@ func (client BlockstorageClient) createBootVolumeBackup(ctx context.Context, req // You may optionally specify a *display name* for the volume, which is simply a friendly name or // description. It does not have to be unique, and you can change it. Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolume.go.html to see an example of how to use CreateVolume API. func (client BlockstorageClient) CreateVolume(ctx context.Context, request CreateVolumeRequest) (response CreateVolumeResponse, err error) { @@ -740,7 +741,7 @@ func (client BlockstorageClient) createVolume(ctx context.Context, request commo // When the data is imaged, it goes into a CREATING state. // After the backup is fully uploaded to the cloud, it goes into an AVAILABLE state. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackup.go.html to see an example of how to use CreateVolumeBackup API. func (client BlockstorageClient) CreateVolumeBackup(ctx context.Context, request CreateVolumeBackupRequest) (response CreateVolumeBackupResponse, err error) { @@ -801,7 +802,7 @@ func (client BlockstorageClient) createVolumeBackup(ctx context.Context, request // For more information about Oracle defined backup policies and user defined backup policies, // see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicy.go.html to see an example of how to use CreateVolumeBackupPolicy API. func (client BlockstorageClient) CreateVolumeBackupPolicy(ctx context.Context, request CreateVolumeBackupPolicyRequest) (response CreateVolumeBackupPolicyResponse, err error) { @@ -862,7 +863,7 @@ func (client BlockstorageClient) createVolumeBackupPolicy(ctx context.Context, r // only have one backup policy assigned to it. If this operation is used for a volume that already // has a different backup policy assigned, the prior backup policy will be silently unassigned. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicyAssignment.go.html to see an example of how to use CreateVolumeBackupPolicyAssignment API. func (client BlockstorageClient) CreateVolumeBackupPolicyAssignment(ctx context.Context, request CreateVolumeBackupPolicyAssignmentRequest) (response CreateVolumeBackupPolicyAssignmentResponse, err error) { @@ -921,7 +922,7 @@ func (client BlockstorageClient) createVolumeBackupPolicyAssignment(ctx context. // description. It does not have to be unique, and you can change it. Avoid entering confidential information. // For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroup.go.html to see an example of how to use CreateVolumeGroup API. func (client BlockstorageClient) CreateVolumeGroup(ctx context.Context, request CreateVolumeGroupRequest) (response CreateVolumeGroupResponse, err error) { @@ -981,7 +982,7 @@ func (client BlockstorageClient) createVolumeGroup(ctx context.Context, request // CreateVolumeGroupBackup Creates a new backup volume group of the specified volume group. // For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroupBackup.go.html to see an example of how to use CreateVolumeGroupBackup API. func (client BlockstorageClient) CreateVolumeGroupBackup(ctx context.Context, request CreateVolumeGroupBackupRequest) (response CreateVolumeGroupBackupResponse, err error) { @@ -1043,7 +1044,7 @@ func (client BlockstorageClient) createVolumeGroupBackup(ctx context.Context, re // Disconnecting From a Boot Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/deletingbootvolume.htm). // **Warning:** All data on the boot volume will be permanently lost when the boot volume is deleted. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolume.go.html to see an example of how to use DeleteBootVolume API. func (client BlockstorageClient) DeleteBootVolume(ctx context.Context, request DeleteBootVolumeRequest) (response DeleteBootVolumeResponse, err error) { @@ -1097,7 +1098,7 @@ func (client BlockstorageClient) deleteBootVolume(ctx context.Context, request c // DeleteBootVolumeBackup Deletes a boot volume backup. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeBackup.go.html to see an example of how to use DeleteBootVolumeBackup API. func (client BlockstorageClient) DeleteBootVolumeBackup(ctx context.Context, request DeleteBootVolumeBackupRequest) (response DeleteBootVolumeBackupResponse, err error) { @@ -1151,7 +1152,7 @@ func (client BlockstorageClient) deleteBootVolumeBackup(ctx context.Context, req // DeleteBootVolumeKmsKey Removes the specified boot volume's assigned Key Management encryption key. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeKmsKey.go.html to see an example of how to use DeleteBootVolumeKmsKey API. func (client BlockstorageClient) DeleteBootVolumeKmsKey(ctx context.Context, request DeleteBootVolumeKmsKeyRequest) (response DeleteBootVolumeKmsKeyResponse, err error) { @@ -1208,7 +1209,7 @@ func (client BlockstorageClient) deleteBootVolumeKmsKey(ctx context.Context, req // Disconnecting From a Volume (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/disconnectingfromavolume.htm). // **Warning:** All data on the volume will be permanently lost when the volume is deleted. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolume.go.html to see an example of how to use DeleteVolume API. func (client BlockstorageClient) DeleteVolume(ctx context.Context, request DeleteVolumeRequest) (response DeleteVolumeResponse, err error) { @@ -1262,7 +1263,7 @@ func (client BlockstorageClient) deleteVolume(ctx context.Context, request commo // DeleteVolumeBackup Deletes a volume backup. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackup.go.html to see an example of how to use DeleteVolumeBackup API. func (client BlockstorageClient) DeleteVolumeBackup(ctx context.Context, request DeleteVolumeBackupRequest) (response DeleteVolumeBackupResponse, err error) { @@ -1315,11 +1316,12 @@ func (client BlockstorageClient) deleteVolumeBackup(ctx context.Context, request } // DeleteVolumeBackupPolicy Deletes a user defined backup policy. -// For more information about user defined backup policies, -// see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies). -// Avoid entering confidential information. // -// See also +// For more information about user defined backup policies, +// see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies). +// Avoid entering confidential information. +// +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicy.go.html to see an example of how to use DeleteVolumeBackupPolicy API. func (client BlockstorageClient) DeleteVolumeBackupPolicy(ctx context.Context, request DeleteVolumeBackupPolicyRequest) (response DeleteVolumeBackupPolicyResponse, err error) { @@ -1373,7 +1375,7 @@ func (client BlockstorageClient) deleteVolumeBackupPolicy(ctx context.Context, r // DeleteVolumeBackupPolicyAssignment Deletes a volume backup policy assignment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicyAssignment.go.html to see an example of how to use DeleteVolumeBackupPolicyAssignment API. func (client BlockstorageClient) DeleteVolumeBackupPolicyAssignment(ctx context.Context, request DeleteVolumeBackupPolicyAssignmentRequest) (response DeleteVolumeBackupPolicyAssignmentResponse, err error) { @@ -1428,7 +1430,7 @@ func (client BlockstorageClient) deleteVolumeBackupPolicyAssignment(ctx context. // DeleteVolumeGroup Deletes the specified volume group. Individual volumes are not deleted, only the volume group is deleted. // For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroup.go.html to see an example of how to use DeleteVolumeGroup API. func (client BlockstorageClient) DeleteVolumeGroup(ctx context.Context, request DeleteVolumeGroupRequest) (response DeleteVolumeGroupResponse, err error) { @@ -1483,7 +1485,7 @@ func (client BlockstorageClient) deleteVolumeGroup(ctx context.Context, request // DeleteVolumeGroupBackup Deletes a volume group backup. This operation deletes all the backups in // the volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroupBackup.go.html to see an example of how to use DeleteVolumeGroupBackup API. func (client BlockstorageClient) DeleteVolumeGroupBackup(ctx context.Context, request DeleteVolumeGroupBackupRequest) (response DeleteVolumeGroupBackupResponse, err error) { @@ -1537,7 +1539,7 @@ func (client BlockstorageClient) deleteVolumeGroupBackup(ctx context.Context, re // DeleteVolumeKmsKey Removes the specified volume's assigned Key Management encryption key. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeKmsKey.go.html to see an example of how to use DeleteVolumeKmsKey API. func (client BlockstorageClient) DeleteVolumeKmsKey(ctx context.Context, request DeleteVolumeKmsKeyRequest) (response DeleteVolumeKmsKeyResponse, err error) { @@ -1591,7 +1593,7 @@ func (client BlockstorageClient) deleteVolumeKmsKey(ctx context.Context, request // GetBlockVolumeReplica Gets information for the specified block volume replica. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBlockVolumeReplica.go.html to see an example of how to use GetBlockVolumeReplica API. func (client BlockstorageClient) GetBlockVolumeReplica(ctx context.Context, request GetBlockVolumeReplicaRequest) (response GetBlockVolumeReplicaResponse, err error) { @@ -1645,7 +1647,7 @@ func (client BlockstorageClient) getBlockVolumeReplica(ctx context.Context, requ // GetBootVolume Gets information for the specified boot volume. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolume.go.html to see an example of how to use GetBootVolume API. func (client BlockstorageClient) GetBootVolume(ctx context.Context, request GetBootVolumeRequest) (response GetBootVolumeResponse, err error) { @@ -1699,7 +1701,7 @@ func (client BlockstorageClient) getBootVolume(ctx context.Context, request comm // GetBootVolumeBackup Gets information for the specified boot volume backup. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeBackup.go.html to see an example of how to use GetBootVolumeBackup API. func (client BlockstorageClient) GetBootVolumeBackup(ctx context.Context, request GetBootVolumeBackupRequest) (response GetBootVolumeBackupResponse, err error) { @@ -1753,7 +1755,7 @@ func (client BlockstorageClient) getBootVolumeBackup(ctx context.Context, reques // GetBootVolumeKmsKey Gets the Key Management encryption key assigned to the specified boot volume. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeKmsKey.go.html to see an example of how to use GetBootVolumeKmsKey API. func (client BlockstorageClient) GetBootVolumeKmsKey(ctx context.Context, request GetBootVolumeKmsKeyRequest) (response GetBootVolumeKmsKeyResponse, err error) { @@ -1807,7 +1809,7 @@ func (client BlockstorageClient) getBootVolumeKmsKey(ctx context.Context, reques // GetBootVolumeReplica Gets information for the specified boot volume replica. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeReplica.go.html to see an example of how to use GetBootVolumeReplica API. func (client BlockstorageClient) GetBootVolumeReplica(ctx context.Context, request GetBootVolumeReplicaRequest) (response GetBootVolumeReplicaResponse, err error) { @@ -1861,7 +1863,7 @@ func (client BlockstorageClient) getBootVolumeReplica(ctx context.Context, reque // GetVolume Gets information for the specified volume. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolume.go.html to see an example of how to use GetVolume API. func (client BlockstorageClient) GetVolume(ctx context.Context, request GetVolumeRequest) (response GetVolumeResponse, err error) { @@ -1915,7 +1917,7 @@ func (client BlockstorageClient) getVolume(ctx context.Context, request common.O // GetVolumeBackup Gets information for the specified volume backup. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackup.go.html to see an example of how to use GetVolumeBackup API. func (client BlockstorageClient) GetVolumeBackup(ctx context.Context, request GetVolumeBackupRequest) (response GetVolumeBackupResponse, err error) { @@ -1969,7 +1971,7 @@ func (client BlockstorageClient) getVolumeBackup(ctx context.Context, request co // GetVolumeBackupPolicy Gets information for the specified volume backup policy. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicy.go.html to see an example of how to use GetVolumeBackupPolicy API. func (client BlockstorageClient) GetVolumeBackupPolicy(ctx context.Context, request GetVolumeBackupPolicyRequest) (response GetVolumeBackupPolicyResponse, err error) { @@ -2025,7 +2027,7 @@ func (client BlockstorageClient) getVolumeBackupPolicy(ctx context.Context, requ // `assetId` query parameter is required, and the returned list will contain at most // one item, since volume can only have one volume backup policy assigned at a time. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssetAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssetAssignment API. func (client BlockstorageClient) GetVolumeBackupPolicyAssetAssignment(ctx context.Context, request GetVolumeBackupPolicyAssetAssignmentRequest) (response GetVolumeBackupPolicyAssetAssignmentResponse, err error) { @@ -2079,7 +2081,7 @@ func (client BlockstorageClient) getVolumeBackupPolicyAssetAssignment(ctx contex // GetVolumeBackupPolicyAssignment Gets information for the specified volume backup policy assignment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssignment API. func (client BlockstorageClient) GetVolumeBackupPolicyAssignment(ctx context.Context, request GetVolumeBackupPolicyAssignmentRequest) (response GetVolumeBackupPolicyAssignmentResponse, err error) { @@ -2133,7 +2135,7 @@ func (client BlockstorageClient) getVolumeBackupPolicyAssignment(ctx context.Con // GetVolumeGroup Gets information for the specified volume group. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroup.go.html to see an example of how to use GetVolumeGroup API. func (client BlockstorageClient) GetVolumeGroup(ctx context.Context, request GetVolumeGroupRequest) (response GetVolumeGroupResponse, err error) { @@ -2187,7 +2189,7 @@ func (client BlockstorageClient) getVolumeGroup(ctx context.Context, request com // GetVolumeGroupBackup Gets information for the specified volume group backup. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupBackup.go.html to see an example of how to use GetVolumeGroupBackup API. func (client BlockstorageClient) GetVolumeGroupBackup(ctx context.Context, request GetVolumeGroupBackupRequest) (response GetVolumeGroupBackupResponse, err error) { @@ -2241,7 +2243,7 @@ func (client BlockstorageClient) getVolumeGroupBackup(ctx context.Context, reque // GetVolumeKmsKey Gets the Key Management encryption key assigned to the specified volume. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeKmsKey.go.html to see an example of how to use GetVolumeKmsKey API. func (client BlockstorageClient) GetVolumeKmsKey(ctx context.Context, request GetVolumeKmsKeyRequest) (response GetVolumeKmsKeyResponse, err error) { @@ -2295,7 +2297,7 @@ func (client BlockstorageClient) getVolumeKmsKey(ctx context.Context, request co // ListBlockVolumeReplicas Lists the block volume replicas in the specified compartment and availability domain. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBlockVolumeReplicas.go.html to see an example of how to use ListBlockVolumeReplicas API. func (client BlockstorageClient) ListBlockVolumeReplicas(ctx context.Context, request ListBlockVolumeReplicasRequest) (response ListBlockVolumeReplicasResponse, err error) { @@ -2349,7 +2351,7 @@ func (client BlockstorageClient) listBlockVolumeReplicas(ctx context.Context, re // ListBootVolumeBackups Lists the boot volume backups in the specified compartment. You can filter the results by boot volume. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeBackups.go.html to see an example of how to use ListBootVolumeBackups API. func (client BlockstorageClient) ListBootVolumeBackups(ctx context.Context, request ListBootVolumeBackupsRequest) (response ListBootVolumeBackupsResponse, err error) { @@ -2403,7 +2405,7 @@ func (client BlockstorageClient) listBootVolumeBackups(ctx context.Context, requ // ListBootVolumeReplicas Lists the boot volume replicas in the specified compartment and availability domain. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeReplicas.go.html to see an example of how to use ListBootVolumeReplicas API. func (client BlockstorageClient) ListBootVolumeReplicas(ctx context.Context, request ListBootVolumeReplicasRequest) (response ListBootVolumeReplicasResponse, err error) { @@ -2457,7 +2459,7 @@ func (client BlockstorageClient) listBootVolumeReplicas(ctx context.Context, req // ListBootVolumes Lists the boot volumes in the specified compartment and availability domain. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumes.go.html to see an example of how to use ListBootVolumes API. func (client BlockstorageClient) ListBootVolumes(ctx context.Context, request ListBootVolumesRequest) (response ListBootVolumesResponse, err error) { @@ -2513,7 +2515,7 @@ func (client BlockstorageClient) listBootVolumes(ctx context.Context, request co // For more information about Oracle defined backup policies and user defined backup policies, // see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackupPolicies.go.html to see an example of how to use ListVolumeBackupPolicies API. func (client BlockstorageClient) ListVolumeBackupPolicies(ctx context.Context, request ListVolumeBackupPoliciesRequest) (response ListVolumeBackupPoliciesResponse, err error) { @@ -2567,7 +2569,7 @@ func (client BlockstorageClient) listVolumeBackupPolicies(ctx context.Context, r // ListVolumeBackups Lists the volume backups in the specified compartment. You can filter the results by volume. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackups.go.html to see an example of how to use ListVolumeBackups API. func (client BlockstorageClient) ListVolumeBackups(ctx context.Context, request ListVolumeBackupsRequest) (response ListVolumeBackupsResponse, err error) { @@ -2622,7 +2624,7 @@ func (client BlockstorageClient) listVolumeBackups(ctx context.Context, request // ListVolumeGroupBackups Lists the volume group backups in the specified compartment. You can filter the results by volume group. // For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupBackups.go.html to see an example of how to use ListVolumeGroupBackups API. func (client BlockstorageClient) ListVolumeGroupBackups(ctx context.Context, request ListVolumeGroupBackupsRequest) (response ListVolumeGroupBackupsResponse, err error) { @@ -2677,7 +2679,7 @@ func (client BlockstorageClient) listVolumeGroupBackups(ctx context.Context, req // ListVolumeGroups Lists the volume groups in the specified compartment and availability domain. // For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroups.go.html to see an example of how to use ListVolumeGroups API. func (client BlockstorageClient) ListVolumeGroups(ctx context.Context, request ListVolumeGroupsRequest) (response ListVolumeGroupsResponse, err error) { @@ -2731,7 +2733,7 @@ func (client BlockstorageClient) listVolumeGroups(ctx context.Context, request c // ListVolumes Lists the volumes in the specified compartment and availability domain. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumes.go.html to see an example of how to use ListVolumes API. func (client BlockstorageClient) ListVolumes(ctx context.Context, request ListVolumesRequest) (response ListVolumesResponse, err error) { @@ -2785,7 +2787,7 @@ func (client BlockstorageClient) listVolumes(ctx context.Context, request common // UpdateBootVolume Updates the specified boot volume's display name, defined tags, and free-form tags. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolume.go.html to see an example of how to use UpdateBootVolume API. func (client BlockstorageClient) UpdateBootVolume(ctx context.Context, request UpdateBootVolumeRequest) (response UpdateBootVolumeResponse, err error) { @@ -2840,7 +2842,7 @@ func (client BlockstorageClient) updateBootVolume(ctx context.Context, request c // UpdateBootVolumeBackup Updates the display name for the specified boot volume backup. // Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeBackup.go.html to see an example of how to use UpdateBootVolumeBackup API. func (client BlockstorageClient) UpdateBootVolumeBackup(ctx context.Context, request UpdateBootVolumeBackupRequest) (response UpdateBootVolumeBackupResponse, err error) { @@ -2889,7 +2891,7 @@ func (client BlockstorageClient) updateBootVolumeBackup(ctx context.Context, req // UpdateBootVolumeKmsKey Updates the specified volume with a new Key Management master encryption key. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeKmsKey.go.html to see an example of how to use UpdateBootVolumeKmsKey API. func (client BlockstorageClient) UpdateBootVolumeKmsKey(ctx context.Context, request UpdateBootVolumeKmsKeyRequest) (response UpdateBootVolumeKmsKeyResponse, err error) { @@ -2944,7 +2946,7 @@ func (client BlockstorageClient) updateBootVolumeKmsKey(ctx context.Context, req // UpdateVolume Updates the specified volume's display name. // Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolume.go.html to see an example of how to use UpdateVolume API. func (client BlockstorageClient) UpdateVolume(ctx context.Context, request UpdateVolumeRequest) (response UpdateVolumeResponse, err error) { @@ -2999,7 +3001,7 @@ func (client BlockstorageClient) updateVolume(ctx context.Context, request commo // UpdateVolumeBackup Updates the display name for the specified volume backup. // Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackup.go.html to see an example of how to use UpdateVolumeBackup API. func (client BlockstorageClient) UpdateVolumeBackup(ctx context.Context, request UpdateVolumeBackupRequest) (response UpdateVolumeBackupResponse, err error) { @@ -3047,11 +3049,12 @@ func (client BlockstorageClient) updateVolumeBackup(ctx context.Context, request } // UpdateVolumeBackupPolicy Updates a user defined backup policy. -// For more information about user defined backup policies, -// see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies). -// Avoid entering confidential information. // -// See also +// For more information about user defined backup policies, +// see Policy-Based Backups (https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#UserDefinedBackupPolicies). +// Avoid entering confidential information. +// +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackupPolicy.go.html to see an example of how to use UpdateVolumeBackupPolicy API. func (client BlockstorageClient) UpdateVolumeBackupPolicy(ctx context.Context, request UpdateVolumeBackupPolicyRequest) (response UpdateVolumeBackupPolicyResponse, err error) { @@ -3114,7 +3117,7 @@ func (client BlockstorageClient) updateVolumeBackupPolicy(ctx context.Context, r // Avoid entering confidential information. // For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroup.go.html to see an example of how to use UpdateVolumeGroup API. func (client BlockstorageClient) UpdateVolumeGroup(ctx context.Context, request UpdateVolumeGroupRequest) (response UpdateVolumeGroupResponse, err error) { @@ -3168,7 +3171,7 @@ func (client BlockstorageClient) updateVolumeGroup(ctx context.Context, request // UpdateVolumeGroupBackup Updates the display name for the specified volume group backup. For more information, see Volume Groups (https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/volumegroups.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroupBackup.go.html to see an example of how to use UpdateVolumeGroupBackup API. func (client BlockstorageClient) UpdateVolumeGroupBackup(ctx context.Context, request UpdateVolumeGroupBackupRequest) (response UpdateVolumeGroupBackupResponse, err error) { @@ -3217,7 +3220,7 @@ func (client BlockstorageClient) updateVolumeGroupBackup(ctx context.Context, re // UpdateVolumeKmsKey Updates the specified volume with a new Key Management master encryption key. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeKmsKey.go.html to see an example of how to use UpdateVolumeKmsKey API. func (client BlockstorageClient) UpdateVolumeKmsKey(ctx context.Context, request UpdateVolumeKmsKeyRequest) (response UpdateVolumeKmsKeyResponse, err error) { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_compute_client.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_compute_client.go index 9182a6c54bac..7294bfce997f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_compute_client.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_compute_client.go @@ -21,7 +21,7 @@ import ( "net/http" ) -//ComputeClient a client for Compute +// ComputeClient a client for Compute type ComputeClient struct { common.BaseClient config *common.ConfigurationProvider @@ -43,7 +43,8 @@ func NewComputeClientWithConfigurationProvider(configProvider common.Configurati // NewComputeClientWithOboToken Creates a new default Compute client with the given configuration provider. // The obotoken will be added to default headers and signed; the configuration provider will be used for the signer -// as well as reading the region +// +// as well as reading the region func NewComputeClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ComputeClient, err error) { baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) if err != nil { @@ -85,7 +86,7 @@ func (client *ComputeClient) ConfigurationProvider() *common.ConfigurationProvid // AddImageShapeCompatibilityEntry Adds a shape to the compatible shapes list for the image. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddImageShapeCompatibilityEntry.go.html to see an example of how to use AddImageShapeCompatibilityEntry API. func (client ComputeClient) AddImageShapeCompatibilityEntry(ctx context.Context, request AddImageShapeCompatibilityEntryRequest) (response AddImageShapeCompatibilityEntryResponse, err error) { @@ -139,7 +140,7 @@ func (client ComputeClient) addImageShapeCompatibilityEntry(ctx context.Context, // AttachBootVolume Attaches the specified boot volume to the specified instance. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachBootVolume.go.html to see an example of how to use AttachBootVolume API. func (client ComputeClient) AttachBootVolume(ctx context.Context, request AttachBootVolumeRequest) (response AttachBootVolumeResponse, err error) { @@ -200,7 +201,7 @@ func (client ComputeClient) attachBootVolume(ctx context.Context, request common // For more information about secondary VNICs, see // Virtual Network Interface Cards (VNICs) (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVnic.go.html to see an example of how to use AttachVnic API. func (client ComputeClient) AttachVnic(ctx context.Context, request AttachVnicRequest) (response AttachVnicResponse, err error) { @@ -259,7 +260,7 @@ func (client ComputeClient) attachVnic(ctx context.Context, request common.OCIRe // AttachVolume Attaches the specified storage volume to the specified instance. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachVolume.go.html to see an example of how to use AttachVolume API. func (client ComputeClient) AttachVolume(ctx context.Context, request AttachVolumeRequest) (response AttachVolumeResponse, err error) { @@ -332,7 +333,7 @@ func (client ComputeClient) attachVolume(ctx context.Context, request common.OCI // 4. Optionally, use `DeleteConsoleHistory` to delete the console history metadata // and the console history data. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CaptureConsoleHistory.go.html to see an example of how to use CaptureConsoleHistory API. func (client ComputeClient) CaptureConsoleHistory(ctx context.Context, request CaptureConsoleHistoryRequest) (response CaptureConsoleHistoryResponse, err error) { @@ -393,7 +394,7 @@ func (client ComputeClient) captureConsoleHistory(ctx context.Context, request c // moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeCapacityReservationCompartment.go.html to see an example of how to use ChangeComputeCapacityReservationCompartment API. func (client ComputeClient) ChangeComputeCapacityReservationCompartment(ctx context.Context, request ChangeComputeCapacityReservationCompartmentRequest) (response ChangeComputeCapacityReservationCompartmentResponse, err error) { @@ -452,9 +453,10 @@ func (client ComputeClient) changeComputeCapacityReservationCompartment(ctx cont // ChangeComputeImageCapabilitySchemaCompartment Moves a compute image capability schema into a different compartment within the same tenancy. // For information about moving resources between compartments, see -// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). +// +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeComputeImageCapabilitySchemaCompartment.go.html to see an example of how to use ChangeComputeImageCapabilitySchemaCompartment API. func (client ComputeClient) ChangeComputeImageCapabilitySchemaCompartment(ctx context.Context, request ChangeComputeImageCapabilitySchemaCompartmentRequest) (response ChangeComputeImageCapabilitySchemaCompartmentResponse, err error) { @@ -513,7 +515,7 @@ func (client ComputeClient) changeComputeImageCapabilitySchemaCompartment(ctx co // ChangeDedicatedVmHostCompartment Moves a dedicated virtual machine host from one compartment to another. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDedicatedVmHostCompartment.go.html to see an example of how to use ChangeDedicatedVmHostCompartment API. func (client ComputeClient) ChangeDedicatedVmHostCompartment(ctx context.Context, request ChangeDedicatedVmHostCompartmentRequest) (response ChangeDedicatedVmHostCompartmentResponse, err error) { @@ -574,7 +576,7 @@ func (client ComputeClient) changeDedicatedVmHostCompartment(ctx context.Context // resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeImageCompartment.go.html to see an example of how to use ChangeImageCompartment API. func (client ComputeClient) ChangeImageCompartment(ctx context.Context, request ChangeImageCompartmentRequest) (response ChangeImageCompartmentResponse, err error) { @@ -637,7 +639,7 @@ func (client ComputeClient) changeImageCompartment(ctx context.Context, request // When you move an instance to a different compartment, associated resources such as boot volumes and VNICs // are not moved. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceCompartment.go.html to see an example of how to use ChangeInstanceCompartment API. func (client ComputeClient) ChangeInstanceCompartment(ctx context.Context, request ChangeInstanceCompartmentRequest) (response ChangeInstanceCompartmentResponse, err error) { @@ -696,7 +698,7 @@ func (client ComputeClient) changeInstanceCompartment(ctx context.Context, reque // CreateAppCatalogSubscription Create a subscription for listing resource version for a compartment. It will take some time to propagate to all regions. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateAppCatalogSubscription.go.html to see an example of how to use CreateAppCatalogSubscription API. func (client ComputeClient) CreateAppCatalogSubscription(ctx context.Context, request CreateAppCatalogSubscriptionRequest) (response CreateAppCatalogSubscriptionResponse, err error) { @@ -759,7 +761,7 @@ func (client ComputeClient) createAppCatalogSubscription(ctx context.Context, re // and you won't get out of capacity errors. // For more information, see Reserved Capacity (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/reserve-capacity.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityReservation.go.html to see an example of how to use CreateComputeCapacityReservation API. func (client ComputeClient) CreateComputeCapacityReservation(ctx context.Context, request CreateComputeCapacityReservationRequest) (response CreateComputeCapacityReservationResponse, err error) { @@ -818,7 +820,7 @@ func (client ComputeClient) createComputeCapacityReservation(ctx context.Context // CreateComputeImageCapabilitySchema Creates compute image capability schema. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeImageCapabilitySchema.go.html to see an example of how to use CreateComputeImageCapabilitySchema API. func (client ComputeClient) CreateComputeImageCapabilitySchema(ctx context.Context, request CreateComputeImageCapabilitySchemaRequest) (response CreateComputeImageCapabilitySchemaResponse, err error) { @@ -880,7 +882,7 @@ func (client ComputeClient) createComputeImageCapabilitySchema(ctx context.Conte // that are a single tenant and not shared with other customers. // For more information, see Dedicated Virtual Machine Hosts (https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/dedicatedvmhosts.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDedicatedVmHost.go.html to see an example of how to use CreateDedicatedVmHost API. func (client ComputeClient) CreateDedicatedVmHost(ctx context.Context, request CreateDedicatedVmHostRequest) (response CreateDedicatedVmHostResponse, err error) { @@ -955,7 +957,7 @@ func (client ComputeClient) createDedicatedVmHost(ctx context.Context, request c // It does not have to be unique, and you can change it. See UpdateImage. // Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateImage.go.html to see an example of how to use CreateImage API. func (client ComputeClient) CreateImage(ctx context.Context, request CreateImageRequest) (response CreateImageResponse, err error) { @@ -1017,7 +1019,7 @@ func (client ComputeClient) createImage(ctx context.Context, request common.OCIR // you connect to the console using SSH. // For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.cloud.oracle.com/iaas/Content/Compute/References/serialconsole.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConsoleConnection.go.html to see an example of how to use CreateInstanceConsoleConnection API. func (client ComputeClient) CreateInstanceConsoleConnection(ctx context.Context, request CreateInstanceConsoleConnectionRequest) (response CreateInstanceConsoleConnectionResponse, err error) { @@ -1076,7 +1078,7 @@ func (client ComputeClient) createInstanceConsoleConnection(ctx context.Context, // DeleteAppCatalogSubscription Delete a subscription for a listing resource version for a compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteAppCatalogSubscription.go.html to see an example of how to use DeleteAppCatalogSubscription API. func (client ComputeClient) DeleteAppCatalogSubscription(ctx context.Context, request DeleteAppCatalogSubscriptionRequest) (response DeleteAppCatalogSubscriptionResponse, err error) { @@ -1130,7 +1132,7 @@ func (client ComputeClient) deleteAppCatalogSubscription(ctx context.Context, re // DeleteComputeCapacityReservation Deletes the specified compute capacity reservation. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCapacityReservation.go.html to see an example of how to use DeleteComputeCapacityReservation API. func (client ComputeClient) DeleteComputeCapacityReservation(ctx context.Context, request DeleteComputeCapacityReservationRequest) (response DeleteComputeCapacityReservationResponse, err error) { @@ -1184,7 +1186,7 @@ func (client ComputeClient) deleteComputeCapacityReservation(ctx context.Context // DeleteComputeImageCapabilitySchema Deletes the specified Compute Image Capability Schema // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeImageCapabilitySchema.go.html to see an example of how to use DeleteComputeImageCapabilitySchema API. func (client ComputeClient) DeleteComputeImageCapabilitySchema(ctx context.Context, request DeleteComputeImageCapabilitySchemaRequest) (response DeleteComputeImageCapabilitySchemaResponse, err error) { @@ -1238,7 +1240,7 @@ func (client ComputeClient) deleteComputeImageCapabilitySchema(ctx context.Conte // DeleteConsoleHistory Deletes the specified console history metadata and the console history data. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteConsoleHistory.go.html to see an example of how to use DeleteConsoleHistory API. func (client ComputeClient) DeleteConsoleHistory(ctx context.Context, request DeleteConsoleHistoryRequest) (response DeleteConsoleHistoryResponse, err error) { @@ -1294,7 +1296,7 @@ func (client ComputeClient) deleteConsoleHistory(ctx context.Context, request co // If any VM instances are assigned to the dedicated virtual machine host, // the delete operation will fail and the service will return a 409 response code. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDedicatedVmHost.go.html to see an example of how to use DeleteDedicatedVmHost API. func (client ComputeClient) DeleteDedicatedVmHost(ctx context.Context, request DeleteDedicatedVmHostRequest) (response DeleteDedicatedVmHostResponse, err error) { @@ -1348,7 +1350,7 @@ func (client ComputeClient) deleteDedicatedVmHost(ctx context.Context, request c // DeleteImage Deletes an image. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteImage.go.html to see an example of how to use DeleteImage API. func (client ComputeClient) DeleteImage(ctx context.Context, request DeleteImageRequest) (response DeleteImageResponse, err error) { @@ -1402,7 +1404,7 @@ func (client ComputeClient) deleteImage(ctx context.Context, request common.OCIR // DeleteInstanceConsoleConnection Deletes the specified instance console connection. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConsoleConnection.go.html to see an example of how to use DeleteInstanceConsoleConnection API. func (client ComputeClient) DeleteInstanceConsoleConnection(ctx context.Context, request DeleteInstanceConsoleConnectionRequest) (response DeleteInstanceConsoleConnectionResponse, err error) { @@ -1458,7 +1460,7 @@ func (client ComputeClient) deleteInstanceConsoleConnection(ctx context.Context, // This is an asynchronous operation. The attachment's `lifecycleState` will change to DETACHING temporarily // until the attachment is completely removed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachBootVolume.go.html to see an example of how to use DetachBootVolume API. func (client ComputeClient) DetachBootVolume(ctx context.Context, request DetachBootVolumeRequest) (response DetachBootVolumeResponse, err error) { @@ -1520,7 +1522,7 @@ func (client ComputeClient) detachBootVolume(ctx context.Context, request common // deleting the VNIC causes that route rule to blackhole and the traffic // will be dropped. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVnic.go.html to see an example of how to use DetachVnic API. func (client ComputeClient) DetachVnic(ctx context.Context, request DetachVnicRequest) (response DetachVnicResponse, err error) { @@ -1576,7 +1578,7 @@ func (client ComputeClient) detachVnic(ctx context.Context, request common.OCIRe // This is an asynchronous operation. The attachment's `lifecycleState` will change to DETACHING temporarily // until the attachment is completely removed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVolume.go.html to see an example of how to use DetachVolume API. func (client ComputeClient) DetachVolume(ctx context.Context, request DetachVolumeRequest) (response DetachVolumeResponse, err error) { @@ -1636,7 +1638,7 @@ func (client ComputeClient) detachVolume(ctx context.Context, request common.OCI // See Object Storage URLs (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/imageimportexport.htm#URLs) and Using Pre-Authenticated Requests (https://docs.cloud.oracle.com/iaas/Content/Object/Tasks/usingpreauthenticatedrequests.htm) // for constructing URLs for image import/export. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ExportImage.go.html to see an example of how to use ExportImage API. func (client ComputeClient) ExportImage(ctx context.Context, request ExportImageRequest) (response ExportImageResponse, err error) { @@ -1695,7 +1697,7 @@ func (client ComputeClient) exportImage(ctx context.Context, request common.OCIR // GetAppCatalogListing Gets the specified listing. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListing.go.html to see an example of how to use GetAppCatalogListing API. func (client ComputeClient) GetAppCatalogListing(ctx context.Context, request GetAppCatalogListingRequest) (response GetAppCatalogListingResponse, err error) { @@ -1749,7 +1751,7 @@ func (client ComputeClient) getAppCatalogListing(ctx context.Context, request co // GetAppCatalogListingAgreements Retrieves the agreements for a particular resource version of a listing. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingAgreements.go.html to see an example of how to use GetAppCatalogListingAgreements API. func (client ComputeClient) GetAppCatalogListingAgreements(ctx context.Context, request GetAppCatalogListingAgreementsRequest) (response GetAppCatalogListingAgreementsResponse, err error) { @@ -1803,7 +1805,7 @@ func (client ComputeClient) getAppCatalogListingAgreements(ctx context.Context, // GetAppCatalogListingResourceVersion Gets the specified listing resource version. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingResourceVersion.go.html to see an example of how to use GetAppCatalogListingResourceVersion API. func (client ComputeClient) GetAppCatalogListingResourceVersion(ctx context.Context, request GetAppCatalogListingResourceVersionRequest) (response GetAppCatalogListingResourceVersionResponse, err error) { @@ -1857,7 +1859,7 @@ func (client ComputeClient) getAppCatalogListingResourceVersion(ctx context.Cont // GetBootVolumeAttachment Gets information about the specified boot volume attachment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeAttachment.go.html to see an example of how to use GetBootVolumeAttachment API. func (client ComputeClient) GetBootVolumeAttachment(ctx context.Context, request GetBootVolumeAttachmentRequest) (response GetBootVolumeAttachmentResponse, err error) { @@ -1911,7 +1913,7 @@ func (client ComputeClient) getBootVolumeAttachment(ctx context.Context, request // GetComputeCapacityReservation Gets information about the specified compute capacity reservation. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCapacityReservation.go.html to see an example of how to use GetComputeCapacityReservation API. func (client ComputeClient) GetComputeCapacityReservation(ctx context.Context, request GetComputeCapacityReservationRequest) (response GetComputeCapacityReservationResponse, err error) { @@ -1965,7 +1967,7 @@ func (client ComputeClient) getComputeCapacityReservation(ctx context.Context, r // GetComputeGlobalImageCapabilitySchema Gets the specified Compute Global Image Capability Schema // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchema.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchema API. func (client ComputeClient) GetComputeGlobalImageCapabilitySchema(ctx context.Context, request GetComputeGlobalImageCapabilitySchemaRequest) (response GetComputeGlobalImageCapabilitySchemaResponse, err error) { @@ -2019,7 +2021,7 @@ func (client ComputeClient) getComputeGlobalImageCapabilitySchema(ctx context.Co // GetComputeGlobalImageCapabilitySchemaVersion Gets the specified Compute Global Image Capability Schema Version // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchemaVersion.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchemaVersion API. func (client ComputeClient) GetComputeGlobalImageCapabilitySchemaVersion(ctx context.Context, request GetComputeGlobalImageCapabilitySchemaVersionRequest) (response GetComputeGlobalImageCapabilitySchemaVersionResponse, err error) { @@ -2073,7 +2075,7 @@ func (client ComputeClient) getComputeGlobalImageCapabilitySchemaVersion(ctx con // GetComputeImageCapabilitySchema Gets the specified Compute Image Capability Schema // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeImageCapabilitySchema.go.html to see an example of how to use GetComputeImageCapabilitySchema API. func (client ComputeClient) GetComputeImageCapabilitySchema(ctx context.Context, request GetComputeImageCapabilitySchemaRequest) (response GetComputeImageCapabilitySchemaResponse, err error) { @@ -2129,7 +2131,7 @@ func (client ComputeClient) getComputeImageCapabilitySchema(ctx context.Context, // See CaptureConsoleHistory // for details about using the console history operations. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistory.go.html to see an example of how to use GetConsoleHistory API. func (client ComputeClient) GetConsoleHistory(ctx context.Context, request GetConsoleHistoryRequest) (response GetConsoleHistoryResponse, err error) { @@ -2185,7 +2187,7 @@ func (client ComputeClient) getConsoleHistory(ctx context.Context, request commo // See CaptureConsoleHistory // for details about using the console history operations. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistoryContent.go.html to see an example of how to use GetConsoleHistoryContent API. func (client ComputeClient) GetConsoleHistoryContent(ctx context.Context, request GetConsoleHistoryContentRequest) (response GetConsoleHistoryContentResponse, err error) { @@ -2239,7 +2241,7 @@ func (client ComputeClient) getConsoleHistoryContent(ctx context.Context, reques // GetDedicatedVmHost Gets information about the specified dedicated virtual machine host. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDedicatedVmHost.go.html to see an example of how to use GetDedicatedVmHost API. func (client ComputeClient) GetDedicatedVmHost(ctx context.Context, request GetDedicatedVmHostRequest) (response GetDedicatedVmHostResponse, err error) { @@ -2293,7 +2295,7 @@ func (client ComputeClient) getDedicatedVmHost(ctx context.Context, request comm // GetImage Gets the specified image. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImage.go.html to see an example of how to use GetImage API. func (client ComputeClient) GetImage(ctx context.Context, request GetImageRequest) (response GetImageResponse, err error) { @@ -2347,7 +2349,7 @@ func (client ComputeClient) getImage(ctx context.Context, request common.OCIRequ // GetImageShapeCompatibilityEntry Retrieves an image shape compatibility entry. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImageShapeCompatibilityEntry.go.html to see an example of how to use GetImageShapeCompatibilityEntry API. func (client ComputeClient) GetImageShapeCompatibilityEntry(ctx context.Context, request GetImageShapeCompatibilityEntryRequest) (response GetImageShapeCompatibilityEntryResponse, err error) { @@ -2401,7 +2403,7 @@ func (client ComputeClient) getImageShapeCompatibilityEntry(ctx context.Context, // GetInstance Gets information about the specified instance. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstance.go.html to see an example of how to use GetInstance API. func (client ComputeClient) GetInstance(ctx context.Context, request GetInstanceRequest) (response GetInstanceResponse, err error) { @@ -2455,7 +2457,7 @@ func (client ComputeClient) getInstance(ctx context.Context, request common.OCIR // GetInstanceConsoleConnection Gets the specified instance console connection's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConsoleConnection.go.html to see an example of how to use GetInstanceConsoleConnection API. func (client ComputeClient) GetInstanceConsoleConnection(ctx context.Context, request GetInstanceConsoleConnectionRequest) (response GetInstanceConsoleConnectionResponse, err error) { @@ -2509,7 +2511,7 @@ func (client ComputeClient) getInstanceConsoleConnection(ctx context.Context, re // GetVnicAttachment Gets the information for the specified VNIC attachment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnicAttachment.go.html to see an example of how to use GetVnicAttachment API. func (client ComputeClient) GetVnicAttachment(ctx context.Context, request GetVnicAttachmentRequest) (response GetVnicAttachmentResponse, err error) { @@ -2563,7 +2565,7 @@ func (client ComputeClient) getVnicAttachment(ctx context.Context, request commo // GetVolumeAttachment Gets information about the specified volume attachment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeAttachment.go.html to see an example of how to use GetVolumeAttachment API. func (client ComputeClient) GetVolumeAttachment(ctx context.Context, request GetVolumeAttachmentRequest) (response GetVolumeAttachmentResponse, err error) { @@ -2618,7 +2620,7 @@ func (client ComputeClient) getVolumeAttachment(ctx context.Context, request com // GetWindowsInstanceInitialCredentials Gets the generated credentials for the instance. Only works for instances that require a password to log in, such as Windows. // For certain operating systems, users will be forced to change the initial credentials. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetWindowsInstanceInitialCredentials.go.html to see an example of how to use GetWindowsInstanceInitialCredentials API. func (client ComputeClient) GetWindowsInstanceInitialCredentials(ctx context.Context, request GetWindowsInstanceInitialCredentialsRequest) (response GetWindowsInstanceInitialCredentialsResponse, err error) { @@ -2692,7 +2694,7 @@ func (client ComputeClient) getWindowsInstanceInitialCredentials(ctx context.Con // For more information about managing instance lifecycle states, see // Stopping and Starting an Instance (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/restartinginstance.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/InstanceAction.go.html to see an example of how to use InstanceAction API. func (client ComputeClient) InstanceAction(ctx context.Context, request InstanceActionRequest) (response InstanceActionResponse, err error) { @@ -2782,7 +2784,7 @@ func (client ComputeClient) instanceAction(ctx context.Context, request common.O // with the signature. To get the image ID for the LaunchInstance operation, call // GetAppCatalogListingResourceVersion. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstance.go.html to see an example of how to use LaunchInstance API. func (client ComputeClient) LaunchInstance(ctx context.Context, request LaunchInstanceRequest) (response LaunchInstanceResponse, err error) { @@ -2841,7 +2843,7 @@ func (client ComputeClient) launchInstance(ctx context.Context, request common.O // ListAppCatalogListingResourceVersions Gets all resource versions for a particular listing. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListingResourceVersions.go.html to see an example of how to use ListAppCatalogListingResourceVersions API. func (client ComputeClient) ListAppCatalogListingResourceVersions(ctx context.Context, request ListAppCatalogListingResourceVersionsRequest) (response ListAppCatalogListingResourceVersionsResponse, err error) { @@ -2895,7 +2897,7 @@ func (client ComputeClient) listAppCatalogListingResourceVersions(ctx context.Co // ListAppCatalogListings Lists the published listings. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListings.go.html to see an example of how to use ListAppCatalogListings API. func (client ComputeClient) ListAppCatalogListings(ctx context.Context, request ListAppCatalogListingsRequest) (response ListAppCatalogListingsResponse, err error) { @@ -2949,7 +2951,7 @@ func (client ComputeClient) listAppCatalogListings(ctx context.Context, request // ListAppCatalogSubscriptions Lists subscriptions for a compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogSubscriptions.go.html to see an example of how to use ListAppCatalogSubscriptions API. func (client ComputeClient) ListAppCatalogSubscriptions(ctx context.Context, request ListAppCatalogSubscriptionsRequest) (response ListAppCatalogSubscriptionsResponse, err error) { @@ -3004,7 +3006,7 @@ func (client ComputeClient) listAppCatalogSubscriptions(ctx context.Context, req // ListBootVolumeAttachments Lists the boot volume attachments in the specified compartment. You can filter the // list by specifying an instance OCID, boot volume OCID, or both. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeAttachments.go.html to see an example of how to use ListBootVolumeAttachments API. func (client ComputeClient) ListBootVolumeAttachments(ctx context.Context, request ListBootVolumeAttachmentsRequest) (response ListBootVolumeAttachmentsResponse, err error) { @@ -3058,7 +3060,7 @@ func (client ComputeClient) listBootVolumeAttachments(ctx context.Context, reque // ListComputeCapacityReservationInstanceShapes Lists the shapes that can be reserved within the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstanceShapes.go.html to see an example of how to use ListComputeCapacityReservationInstanceShapes API. func (client ComputeClient) ListComputeCapacityReservationInstanceShapes(ctx context.Context, request ListComputeCapacityReservationInstanceShapesRequest) (response ListComputeCapacityReservationInstanceShapesResponse, err error) { @@ -3112,7 +3114,7 @@ func (client ComputeClient) listComputeCapacityReservationInstanceShapes(ctx con // ListComputeCapacityReservationInstances Lists the instances launched under a capacity reservation. You can filter results by specifying criteria. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstances.go.html to see an example of how to use ListComputeCapacityReservationInstances API. func (client ComputeClient) ListComputeCapacityReservationInstances(ctx context.Context, request ListComputeCapacityReservationInstancesRequest) (response ListComputeCapacityReservationInstancesResponse, err error) { @@ -3168,7 +3170,7 @@ func (client ComputeClient) listComputeCapacityReservationInstances(ctx context. // You can limit the list by specifying a compute capacity reservation display name // (the list will include all the identically-named compute capacity reservations in the compartment). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservations.go.html to see an example of how to use ListComputeCapacityReservations API. func (client ComputeClient) ListComputeCapacityReservations(ctx context.Context, request ListComputeCapacityReservationsRequest) (response ListComputeCapacityReservationsResponse, err error) { @@ -3222,7 +3224,7 @@ func (client ComputeClient) listComputeCapacityReservations(ctx context.Context, // ListComputeGlobalImageCapabilitySchemaVersions Lists Compute Global Image Capability Schema versions in the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemaVersions.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemaVersions API. func (client ComputeClient) ListComputeGlobalImageCapabilitySchemaVersions(ctx context.Context, request ListComputeGlobalImageCapabilitySchemaVersionsRequest) (response ListComputeGlobalImageCapabilitySchemaVersionsResponse, err error) { @@ -3276,7 +3278,7 @@ func (client ComputeClient) listComputeGlobalImageCapabilitySchemaVersions(ctx c // ListComputeGlobalImageCapabilitySchemas Lists Compute Global Image Capability Schema in the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemas.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemas API. func (client ComputeClient) ListComputeGlobalImageCapabilitySchemas(ctx context.Context, request ListComputeGlobalImageCapabilitySchemasRequest) (response ListComputeGlobalImageCapabilitySchemasResponse, err error) { @@ -3330,7 +3332,7 @@ func (client ComputeClient) listComputeGlobalImageCapabilitySchemas(ctx context. // ListComputeImageCapabilitySchemas Lists Compute Image Capability Schema in the specified compartment. You can also query by a specific imageId. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeImageCapabilitySchemas.go.html to see an example of how to use ListComputeImageCapabilitySchemas API. func (client ComputeClient) ListComputeImageCapabilitySchemas(ctx context.Context, request ListComputeImageCapabilitySchemasRequest) (response ListComputeImageCapabilitySchemasResponse, err error) { @@ -3384,7 +3386,7 @@ func (client ComputeClient) listComputeImageCapabilitySchemas(ctx context.Contex // ListConsoleHistories Lists the console history metadata for the specified compartment or instance. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListConsoleHistories.go.html to see an example of how to use ListConsoleHistories API. func (client ComputeClient) ListConsoleHistories(ctx context.Context, request ListConsoleHistoriesRequest) (response ListConsoleHistoriesResponse, err error) { @@ -3439,7 +3441,7 @@ func (client ComputeClient) listConsoleHistories(ctx context.Context, request co // ListDedicatedVmHostInstanceShapes Lists the shapes that can be used to launch a virtual machine instance on a dedicated virtual machine host within the specified compartment. // You can filter the list by compatibility with a specific dedicated virtual machine host shape. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstanceShapes.go.html to see an example of how to use ListDedicatedVmHostInstanceShapes API. func (client ComputeClient) ListDedicatedVmHostInstanceShapes(ctx context.Context, request ListDedicatedVmHostInstanceShapesRequest) (response ListDedicatedVmHostInstanceShapesResponse, err error) { @@ -3493,7 +3495,7 @@ func (client ComputeClient) listDedicatedVmHostInstanceShapes(ctx context.Contex // ListDedicatedVmHostInstances Returns the list of instances on the dedicated virtual machine hosts that match the specified criteria. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstances.go.html to see an example of how to use ListDedicatedVmHostInstances API. func (client ComputeClient) ListDedicatedVmHostInstances(ctx context.Context, request ListDedicatedVmHostInstancesRequest) (response ListDedicatedVmHostInstancesResponse, err error) { @@ -3547,7 +3549,7 @@ func (client ComputeClient) listDedicatedVmHostInstances(ctx context.Context, re // ListDedicatedVmHostShapes Lists the shapes that can be used to launch a dedicated virtual machine host within the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostShapes.go.html to see an example of how to use ListDedicatedVmHostShapes API. func (client ComputeClient) ListDedicatedVmHostShapes(ctx context.Context, request ListDedicatedVmHostShapesRequest) (response ListDedicatedVmHostShapesResponse, err error) { @@ -3603,7 +3605,7 @@ func (client ComputeClient) listDedicatedVmHostShapes(ctx context.Context, reque // You can limit the list by specifying a dedicated virtual machine host display name. The list will include all the identically-named // dedicated virtual machine hosts in the compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHosts.go.html to see an example of how to use ListDedicatedVmHosts API. func (client ComputeClient) ListDedicatedVmHosts(ctx context.Context, request ListDedicatedVmHostsRequest) (response ListDedicatedVmHostsResponse, err error) { @@ -3657,7 +3659,7 @@ func (client ComputeClient) listDedicatedVmHosts(ctx context.Context, request co // ListImageShapeCompatibilityEntries Lists the compatible shapes for the specified image. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImageShapeCompatibilityEntries.go.html to see an example of how to use ListImageShapeCompatibilityEntries API. func (client ComputeClient) ListImageShapeCompatibilityEntries(ctx context.Context, request ListImageShapeCompatibilityEntriesRequest) (response ListImageShapeCompatibilityEntriesResponse, err error) { @@ -3717,7 +3719,7 @@ func (client ComputeClient) listImageShapeCompatibilityEntries(ctx context.Conte // platform images, then all custom images. The order of images might // change when new images are released. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImages.go.html to see an example of how to use ListImages API. func (client ComputeClient) ListImages(ctx context.Context, request ListImagesRequest) (response ListImagesResponse, err error) { @@ -3772,7 +3774,7 @@ func (client ComputeClient) listImages(ctx context.Context, request common.OCIRe // ListInstanceConsoleConnections Lists the console connections for the specified compartment or instance. // For more information about instance console connections, see Troubleshooting Instances Using Instance Console Connections (https://docs.cloud.oracle.com/iaas/Content/Compute/References/serialconsole.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConsoleConnections.go.html to see an example of how to use ListInstanceConsoleConnections API. func (client ComputeClient) ListInstanceConsoleConnections(ctx context.Context, request ListInstanceConsoleConnectionsRequest) (response ListInstanceConsoleConnectionsResponse, err error) { @@ -3826,7 +3828,7 @@ func (client ComputeClient) listInstanceConsoleConnections(ctx context.Context, // ListInstanceDevices Gets a list of all the devices for given instance. You can optionally filter results by device availability. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceDevices.go.html to see an example of how to use ListInstanceDevices API. func (client ComputeClient) ListInstanceDevices(ctx context.Context, request ListInstanceDevicesRequest) (response ListInstanceDevicesResponse, err error) { @@ -3882,7 +3884,7 @@ func (client ComputeClient) listInstanceDevices(ctx context.Context, request com // You can filter the results by specifying an instance name (the list will include all the identically-named // instances in the compartment). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstances.go.html to see an example of how to use ListInstances API. func (client ComputeClient) ListInstances(ctx context.Context, request ListInstancesRequest) (response ListInstancesResponse, err error) { @@ -3937,7 +3939,7 @@ func (client ComputeClient) listInstances(ctx context.Context, request common.OC // ListShapes Lists the shapes that can be used to launch an instance within the specified compartment. You can // filter the list by compatibility with a specific image. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListShapes.go.html to see an example of how to use ListShapes API. func (client ComputeClient) ListShapes(ctx context.Context, request ListShapesRequest) (response ListShapesResponse, err error) { @@ -3993,7 +3995,7 @@ func (client ComputeClient) listShapes(ctx context.Context, request common.OCIRe // resides in the same compartment as the attached instance. The list can be // filtered by instance, VNIC, or availability domain. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVnicAttachments.go.html to see an example of how to use ListVnicAttachments API. func (client ComputeClient) ListVnicAttachments(ctx context.Context, request ListVnicAttachmentsRequest) (response ListVnicAttachmentsResponse, err error) { @@ -4045,10 +4047,10 @@ func (client ComputeClient) listVnicAttachments(ctx context.Context, request com return response, err } -//listvolumeattachment allows to unmarshal list of polymorphic VolumeAttachment +// listvolumeattachment allows to unmarshal list of polymorphic VolumeAttachment type listvolumeattachment []volumeattachment -//UnmarshalPolymorphicJSON unmarshals polymorphic json list of items +// UnmarshalPolymorphicJSON unmarshals polymorphic json list of items func (m *listvolumeattachment) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { res := make([]VolumeAttachment, len(*m)) for i, v := range *m { @@ -4066,7 +4068,7 @@ func (m *listvolumeattachment) UnmarshalPolymorphicJSON(data []byte) (interface{ // Currently, the only supported volume attachment type are IScsiVolumeAttachment and // ParavirtualizedVolumeAttachment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeAttachments.go.html to see an example of how to use ListVolumeAttachments API. func (client ComputeClient) ListVolumeAttachments(ctx context.Context, request ListVolumeAttachmentsRequest) (response ListVolumeAttachmentsResponse, err error) { @@ -4120,7 +4122,7 @@ func (client ComputeClient) listVolumeAttachments(ctx context.Context, request c // RemoveImageShapeCompatibilityEntry Removes a shape from the compatible shapes list for the image. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImageShapeCompatibilityEntry.go.html to see an example of how to use RemoveImageShapeCompatibilityEntry API. func (client ComputeClient) RemoveImageShapeCompatibilityEntry(ctx context.Context, request RemoveImageShapeCompatibilityEntryRequest) (response RemoveImageShapeCompatibilityEntryResponse, err error) { @@ -4179,7 +4181,7 @@ func (client ComputeClient) removeImageShapeCompatibilityEntry(ctx context.Conte // This is an asynchronous operation. The instance's `lifecycleState` will change to TERMINATING temporarily // until the instance is completely removed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstance.go.html to see an example of how to use TerminateInstance API. func (client ComputeClient) TerminateInstance(ctx context.Context, request TerminateInstanceRequest) (response TerminateInstanceResponse, err error) { @@ -4235,7 +4237,7 @@ func (client ComputeClient) terminateInstance(ctx context.Context, request commo // Fields that are not provided in the request will not be updated. Avoid entering confidential information. // The update also modifies the reservation configurations of the specified compute capacity reservation. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCapacityReservation.go.html to see an example of how to use UpdateComputeCapacityReservation API. func (client ComputeClient) UpdateComputeCapacityReservation(ctx context.Context, request UpdateComputeCapacityReservationRequest) (response UpdateComputeCapacityReservationResponse, err error) { @@ -4289,7 +4291,7 @@ func (client ComputeClient) updateComputeCapacityReservation(ctx context.Context // UpdateComputeImageCapabilitySchema Updates the specified Compute Image Capability Schema // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeImageCapabilitySchema.go.html to see an example of how to use UpdateComputeImageCapabilitySchema API. func (client ComputeClient) UpdateComputeImageCapabilitySchema(ctx context.Context, request UpdateComputeImageCapabilitySchemaRequest) (response UpdateComputeImageCapabilitySchemaResponse, err error) { @@ -4343,7 +4345,7 @@ func (client ComputeClient) updateComputeImageCapabilitySchema(ctx context.Conte // UpdateConsoleHistory Updates the specified console history metadata. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateConsoleHistory.go.html to see an example of how to use UpdateConsoleHistory API. func (client ComputeClient) UpdateConsoleHistory(ctx context.Context, request UpdateConsoleHistoryRequest) (response UpdateConsoleHistoryResponse, err error) { @@ -4398,7 +4400,7 @@ func (client ComputeClient) updateConsoleHistory(ctx context.Context, request co // UpdateDedicatedVmHost Updates the displayName, freeformTags, and definedTags attributes for the specified dedicated virtual machine host. // If an attribute value is not included, it will not be updated. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDedicatedVmHost.go.html to see an example of how to use UpdateDedicatedVmHost API. func (client ComputeClient) UpdateDedicatedVmHost(ctx context.Context, request UpdateDedicatedVmHostRequest) (response UpdateDedicatedVmHostResponse, err error) { @@ -4457,7 +4459,7 @@ func (client ComputeClient) updateDedicatedVmHost(ctx context.Context, request c // UpdateImage Updates the display name of the image. Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateImage.go.html to see an example of how to use UpdateImage API. func (client ComputeClient) UpdateImage(ctx context.Context, request UpdateImageRequest) (response UpdateImageResponse, err error) { @@ -4520,7 +4522,7 @@ func (client ComputeClient) updateImage(ctx context.Context, request common.OCIR // up to a minute). // The OCID of the instance remains the same. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstance.go.html to see an example of how to use UpdateInstance API. func (client ComputeClient) UpdateInstance(ctx context.Context, request UpdateInstanceRequest) (response UpdateInstanceResponse, err error) { @@ -4579,7 +4581,7 @@ func (client ComputeClient) updateInstance(ctx context.Context, request common.O // UpdateInstanceConsoleConnection Updates the defined tags and free-form tags for the specified instance console connection. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConsoleConnection.go.html to see an example of how to use UpdateInstanceConsoleConnection API. func (client ComputeClient) UpdateInstanceConsoleConnection(ctx context.Context, request UpdateInstanceConsoleConnectionRequest) (response UpdateInstanceConsoleConnectionResponse, err error) { @@ -4633,7 +4635,7 @@ func (client ComputeClient) updateInstanceConsoleConnection(ctx context.Context, // UpdateVolumeAttachment Updates information about the specified volume attachment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeAttachment.go.html to see an example of how to use UpdateVolumeAttachment API. func (client ComputeClient) UpdateVolumeAttachment(ctx context.Context, request UpdateVolumeAttachmentRequest) (response UpdateVolumeAttachmentResponse, err error) { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_computemanagement_client.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_computemanagement_client.go index a58fce508d01..237b084ae64f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_computemanagement_client.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_computemanagement_client.go @@ -21,7 +21,7 @@ import ( "net/http" ) -//ComputeManagementClient a client for ComputeManagement +// ComputeManagementClient a client for ComputeManagement type ComputeManagementClient struct { common.BaseClient config *common.ConfigurationProvider @@ -43,7 +43,8 @@ func NewComputeManagementClientWithConfigurationProvider(configProvider common.C // NewComputeManagementClientWithOboToken Creates a new default ComputeManagement client with the given configuration provider. // The obotoken will be added to default headers and signed; the configuration provider will be used for the signer -// as well as reading the region +// +// as well as reading the region func NewComputeManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ComputeManagementClient, err error) { baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) if err != nil { @@ -87,7 +88,7 @@ func (client *ComputeManagementClient) ConfigurationProvider() *common.Configura // that an instance must meet before you can attach it to a pool, see // Attaching an Instance to an Instance Pool (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/updatinginstancepool.htm#attach-instance). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachInstancePoolInstance.go.html to see an example of how to use AttachInstancePoolInstance API. func (client ComputeManagementClient) AttachInstancePoolInstance(ctx context.Context, request AttachInstancePoolInstanceRequest) (response AttachInstancePoolInstanceResponse, err error) { @@ -146,7 +147,7 @@ func (client ComputeManagementClient) attachInstancePoolInstance(ctx context.Con // AttachLoadBalancer Attach a load balancer to the instance pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachLoadBalancer.go.html to see an example of how to use AttachLoadBalancer API. func (client ComputeManagementClient) AttachLoadBalancer(ctx context.Context, request AttachLoadBalancerRequest) (response AttachLoadBalancerResponse, err error) { @@ -209,7 +210,7 @@ func (client ComputeManagementClient) attachLoadBalancer(ctx context.Context, re // When you move a cluster network to a different compartment, associated resources such as the instances // in the cluster network, boot volumes, and VNICs are not moved. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeClusterNetworkCompartment.go.html to see an example of how to use ChangeClusterNetworkCompartment API. func (client ComputeManagementClient) ChangeClusterNetworkCompartment(ctx context.Context, request ChangeClusterNetworkCompartmentRequest) (response ChangeClusterNetworkCompartmentResponse, err error) { @@ -278,7 +279,7 @@ func (client ComputeManagementClient) changeClusterNetworkCompartment(ctx contex // you should instead create a new instance configuration in the target compartment using // CreateInstanceConfiguration (https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/InstanceConfiguration/CreateInstanceConfiguration). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstanceConfigurationCompartment.go.html to see an example of how to use ChangeInstanceConfigurationCompartment API. func (client ComputeManagementClient) ChangeInstanceConfigurationCompartment(ctx context.Context, request ChangeInstanceConfigurationCompartmentRequest) (response ChangeInstanceConfigurationCompartmentResponse, err error) { @@ -341,7 +342,7 @@ func (client ComputeManagementClient) changeInstanceConfigurationCompartment(ctx // When you move an instance pool to a different compartment, associated resources such as the instances in // the pool, boot volumes, VNICs, and autoscaling configurations are not moved. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInstancePoolCompartment.go.html to see an example of how to use ChangeInstancePoolCompartment API. func (client ComputeManagementClient) ChangeInstancePoolCompartment(ctx context.Context, request ChangeInstancePoolCompartmentRequest) (response ChangeInstancePoolCompartmentResponse, err error) { @@ -401,7 +402,7 @@ func (client ComputeManagementClient) changeInstancePoolCompartment(ctx context. // CreateClusterNetwork Creates a cluster network. For more information about cluster networks, see // Managing Cluster Networks (https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/managingclusternetworks.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateClusterNetwork.go.html to see an example of how to use CreateClusterNetwork API. func (client ComputeManagementClient) CreateClusterNetwork(ctx context.Context, request CreateClusterNetworkRequest) (response CreateClusterNetworkResponse, err error) { @@ -461,7 +462,7 @@ func (client ComputeManagementClient) createClusterNetwork(ctx context.Context, // CreateInstanceConfiguration Creates an instance configuration. An instance configuration is a template that defines the // settings to use when creating Compute instances. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConfiguration.go.html to see an example of how to use CreateInstanceConfiguration API. func (client ComputeManagementClient) CreateInstanceConfiguration(ctx context.Context, request CreateInstanceConfigurationRequest) (response CreateInstanceConfigurationResponse, err error) { @@ -520,7 +521,7 @@ func (client ComputeManagementClient) createInstanceConfiguration(ctx context.Co // CreateInstancePool Create an instance pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstancePool.go.html to see an example of how to use CreateInstancePool API. func (client ComputeManagementClient) CreateInstancePool(ctx context.Context, request CreateInstancePoolRequest) (response CreateInstancePoolResponse, err error) { @@ -579,7 +580,7 @@ func (client ComputeManagementClient) createInstancePool(ctx context.Context, re // DeleteInstanceConfiguration Deletes an instance configuration. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConfiguration.go.html to see an example of how to use DeleteInstanceConfiguration API. func (client ComputeManagementClient) DeleteInstanceConfiguration(ctx context.Context, request DeleteInstanceConfigurationRequest) (response DeleteInstanceConfigurationResponse, err error) { @@ -633,7 +634,7 @@ func (client ComputeManagementClient) deleteInstanceConfiguration(ctx context.Co // DetachInstancePoolInstance Detaches an instance from an instance pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachInstancePoolInstance.go.html to see an example of how to use DetachInstancePoolInstance API. func (client ComputeManagementClient) DetachInstancePoolInstance(ctx context.Context, request DetachInstancePoolInstanceRequest) (response DetachInstancePoolInstanceResponse, err error) { @@ -692,7 +693,7 @@ func (client ComputeManagementClient) detachInstancePoolInstance(ctx context.Con // DetachLoadBalancer Detach a load balancer from the instance pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachLoadBalancer.go.html to see an example of how to use DetachLoadBalancer API. func (client ComputeManagementClient) DetachLoadBalancer(ctx context.Context, request DetachLoadBalancerRequest) (response DetachLoadBalancerResponse, err error) { @@ -751,7 +752,7 @@ func (client ComputeManagementClient) detachLoadBalancer(ctx context.Context, re // GetClusterNetwork Gets information about the specified cluster network. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetClusterNetwork.go.html to see an example of how to use GetClusterNetwork API. func (client ComputeManagementClient) GetClusterNetwork(ctx context.Context, request GetClusterNetworkRequest) (response GetClusterNetworkResponse, err error) { @@ -805,7 +806,7 @@ func (client ComputeManagementClient) getClusterNetwork(ctx context.Context, req // GetInstanceConfiguration Gets the specified instance configuration // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConfiguration.go.html to see an example of how to use GetInstanceConfiguration API. func (client ComputeManagementClient) GetInstanceConfiguration(ctx context.Context, request GetInstanceConfigurationRequest) (response GetInstanceConfigurationResponse, err error) { @@ -859,7 +860,7 @@ func (client ComputeManagementClient) getInstanceConfiguration(ctx context.Conte // GetInstancePool Gets the specified instance pool // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePool.go.html to see an example of how to use GetInstancePool API. func (client ComputeManagementClient) GetInstancePool(ctx context.Context, request GetInstancePoolRequest) (response GetInstancePoolResponse, err error) { @@ -913,7 +914,7 @@ func (client ComputeManagementClient) getInstancePool(ctx context.Context, reque // GetInstancePoolInstance Gets information about an instance that belongs to an instance pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolInstance.go.html to see an example of how to use GetInstancePoolInstance API. func (client ComputeManagementClient) GetInstancePoolInstance(ctx context.Context, request GetInstancePoolInstanceRequest) (response GetInstancePoolInstanceResponse, err error) { @@ -967,7 +968,7 @@ func (client ComputeManagementClient) getInstancePoolInstance(ctx context.Contex // GetInstancePoolLoadBalancerAttachment Gets information about a load balancer that is attached to the specified instance pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolLoadBalancerAttachment.go.html to see an example of how to use GetInstancePoolLoadBalancerAttachment API. func (client ComputeManagementClient) GetInstancePoolLoadBalancerAttachment(ctx context.Context, request GetInstancePoolLoadBalancerAttachmentRequest) (response GetInstancePoolLoadBalancerAttachmentResponse, err error) { @@ -1026,7 +1027,7 @@ func (client ComputeManagementClient) getInstancePoolLoadBalancerAttachment(ctx // For more information, see the InstanceConfiguration // resource. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstanceConfiguration.go.html to see an example of how to use LaunchInstanceConfiguration API. func (client ComputeManagementClient) LaunchInstanceConfiguration(ctx context.Context, request LaunchInstanceConfigurationRequest) (response LaunchInstanceConfigurationResponse, err error) { @@ -1085,7 +1086,7 @@ func (client ComputeManagementClient) launchInstanceConfiguration(ctx context.Co // ListClusterNetworkInstances Lists the instances in the specified cluster network. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworkInstances.go.html to see an example of how to use ListClusterNetworkInstances API. func (client ComputeManagementClient) ListClusterNetworkInstances(ctx context.Context, request ListClusterNetworkInstancesRequest) (response ListClusterNetworkInstancesResponse, err error) { @@ -1139,7 +1140,7 @@ func (client ComputeManagementClient) listClusterNetworkInstances(ctx context.Co // ListClusterNetworks Lists the cluster networks in the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworks.go.html to see an example of how to use ListClusterNetworks API. func (client ComputeManagementClient) ListClusterNetworks(ctx context.Context, request ListClusterNetworksRequest) (response ListClusterNetworksResponse, err error) { @@ -1193,7 +1194,7 @@ func (client ComputeManagementClient) listClusterNetworks(ctx context.Context, r // ListInstanceConfigurations Lists the instance configurations in the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConfigurations.go.html to see an example of how to use ListInstanceConfigurations API. func (client ComputeManagementClient) ListInstanceConfigurations(ctx context.Context, request ListInstanceConfigurationsRequest) (response ListInstanceConfigurationsResponse, err error) { @@ -1247,7 +1248,7 @@ func (client ComputeManagementClient) listInstanceConfigurations(ctx context.Con // ListInstancePoolInstances List the instances in the specified instance pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePoolInstances.go.html to see an example of how to use ListInstancePoolInstances API. func (client ComputeManagementClient) ListInstancePoolInstances(ctx context.Context, request ListInstancePoolInstancesRequest) (response ListInstancePoolInstancesResponse, err error) { @@ -1301,7 +1302,7 @@ func (client ComputeManagementClient) listInstancePoolInstances(ctx context.Cont // ListInstancePools Lists the instance pools in the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePools.go.html to see an example of how to use ListInstancePools API. func (client ComputeManagementClient) ListInstancePools(ctx context.Context, request ListInstancePoolsRequest) (response ListInstancePoolsResponse, err error) { @@ -1356,7 +1357,7 @@ func (client ComputeManagementClient) listInstancePools(ctx context.Context, req // ResetInstancePool Performs the reset (immediate power off and power on) action on the specified instance pool, // which performs the action on all the instances in the pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ResetInstancePool.go.html to see an example of how to use ResetInstancePool API. func (client ComputeManagementClient) ResetInstancePool(ctx context.Context, request ResetInstancePoolRequest) (response ResetInstancePoolResponse, err error) { @@ -1418,7 +1419,7 @@ func (client ComputeManagementClient) resetInstancePool(ctx context.Context, req // Softreset gracefully reboots the instances by sending a shutdown command to the operating systems. // After waiting 15 minutes for the OS to shut down, the instances are powered off and then powered back on. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SoftresetInstancePool.go.html to see an example of how to use SoftresetInstancePool API. func (client ComputeManagementClient) SoftresetInstancePool(ctx context.Context, request SoftresetInstancePoolRequest) (response SoftresetInstancePoolResponse, err error) { @@ -1478,7 +1479,7 @@ func (client ComputeManagementClient) softresetInstancePool(ctx context.Context, // StartInstancePool Performs the start (power on) action on the specified instance pool, // which performs the action on all the instances in the pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StartInstancePool.go.html to see an example of how to use StartInstancePool API. func (client ComputeManagementClient) StartInstancePool(ctx context.Context, request StartInstancePoolRequest) (response StartInstancePoolResponse, err error) { @@ -1538,7 +1539,7 @@ func (client ComputeManagementClient) startInstancePool(ctx context.Context, req // StopInstancePool Performs the stop (immediate power off) action on the specified instance pool, // which performs the action on all the instances in the pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StopInstancePool.go.html to see an example of how to use StopInstancePool API. func (client ComputeManagementClient) StopInstancePool(ctx context.Context, request StopInstancePoolRequest) (response StopInstancePoolResponse, err error) { @@ -1599,7 +1600,7 @@ func (client ComputeManagementClient) stopInstancePool(ctx context.Context, requ // When you delete a cluster network, all of its resources are permanently deleted, // including associated instances and instance pools. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateClusterNetwork.go.html to see an example of how to use TerminateClusterNetwork API. func (client ComputeManagementClient) TerminateClusterNetwork(ctx context.Context, request TerminateClusterNetworkRequest) (response TerminateClusterNetworkResponse, err error) { @@ -1658,7 +1659,7 @@ func (client ComputeManagementClient) terminateClusterNetwork(ctx context.Contex // asynchronously after the pool is deleted. You can also manually delete the autoscaling configuration using // the `DeleteAutoScalingConfiguration` operation in the Autoscaling API. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstancePool.go.html to see an example of how to use TerminateInstancePool API. func (client ComputeManagementClient) TerminateInstancePool(ctx context.Context, request TerminateInstancePoolRequest) (response TerminateInstancePoolResponse, err error) { @@ -1712,7 +1713,7 @@ func (client ComputeManagementClient) terminateInstancePool(ctx context.Context, // UpdateClusterNetwork Updates the specified cluster network. The OCID of the cluster network remains the same. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateClusterNetwork.go.html to see an example of how to use UpdateClusterNetwork API. func (client ComputeManagementClient) UpdateClusterNetwork(ctx context.Context, request UpdateClusterNetworkRequest) (response UpdateClusterNetworkResponse, err error) { @@ -1771,7 +1772,7 @@ func (client ComputeManagementClient) updateClusterNetwork(ctx context.Context, // UpdateInstanceConfiguration Updates the free-form tags, defined tags, and display name of an instance configuration. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConfiguration.go.html to see an example of how to use UpdateInstanceConfiguration API. func (client ComputeManagementClient) UpdateInstanceConfiguration(ctx context.Context, request UpdateInstanceConfigurationRequest) (response UpdateInstanceConfigurationResponse, err error) { @@ -1831,7 +1832,7 @@ func (client ComputeManagementClient) updateInstanceConfiguration(ctx context.Co // UpdateInstancePool Update the specified instance pool. // The OCID of the instance pool remains the same. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstancePool.go.html to see an example of how to use UpdateInstancePool API. func (client ComputeManagementClient) UpdateInstancePool(ctx context.Context, request UpdateInstancePoolRequest) (response UpdateInstancePoolResponse, err error) { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_virtualnetwork_client.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_virtualnetwork_client.go index 1cc074b4731f..2cc854ea3b74 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_virtualnetwork_client.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/core_virtualnetwork_client.go @@ -21,7 +21,7 @@ import ( "net/http" ) -//VirtualNetworkClient a client for VirtualNetwork +// VirtualNetworkClient a client for VirtualNetwork type VirtualNetworkClient struct { common.BaseClient config *common.ConfigurationProvider @@ -43,7 +43,8 @@ func NewVirtualNetworkClientWithConfigurationProvider(configProvider common.Conf // NewVirtualNetworkClientWithOboToken Creates a new default VirtualNetwork client with the given configuration provider. // The obotoken will be added to default headers and signed; the configuration provider will be used for the signer -// as well as reading the region +// +// as well as reading the region func NewVirtualNetworkClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client VirtualNetworkClient, err error) { baseClient, err := common.NewClientWithOboToken(configProvider, oboToken) if err != nil { @@ -85,7 +86,7 @@ func (client *VirtualNetworkClient) ConfigurationProvider() *common.Configuratio // AddDrgRouteDistributionStatements Adds one or more route distribution statements to the specified route distribution. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteDistributionStatements.go.html to see an example of how to use AddDrgRouteDistributionStatements API. func (client VirtualNetworkClient) AddDrgRouteDistributionStatements(ctx context.Context, request AddDrgRouteDistributionStatementsRequest) (response AddDrgRouteDistributionStatementsResponse, err error) { @@ -139,7 +140,7 @@ func (client VirtualNetworkClient) addDrgRouteDistributionStatements(ctx context // AddDrgRouteRules Adds one or more static route rules to the specified DRG route table. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddDrgRouteRules.go.html to see an example of how to use AddDrgRouteRules API. func (client VirtualNetworkClient) AddDrgRouteRules(ctx context.Context, request AddDrgRouteRulesRequest) (response AddDrgRouteRulesResponse, err error) { @@ -199,7 +200,7 @@ func (client VirtualNetworkClient) addDrgRouteRules(ctx context.Context, request // AddIpv6VcnCidr Add an IPv6 CIDR to a VCN. The VCN size is always /56 and assigned by Oracle. // Once added the IPv6 CIDR block cannot be removed or modified. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddIpv6VcnCidr.go.html to see an example of how to use AddIpv6VcnCidr API. func (client VirtualNetworkClient) AddIpv6VcnCidr(ctx context.Context, request AddIpv6VcnCidrRequest) (response AddIpv6VcnCidrResponse, err error) { @@ -258,7 +259,7 @@ func (client VirtualNetworkClient) addIpv6VcnCidr(ctx context.Context, request c // AddNetworkSecurityGroupSecurityRules Adds one or more security rules to the specified network security group. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddNetworkSecurityGroupSecurityRules.go.html to see an example of how to use AddNetworkSecurityGroupSecurityRules API. func (client VirtualNetworkClient) AddNetworkSecurityGroupSecurityRules(ctx context.Context, request AddNetworkSecurityGroupSecurityRulesRequest) (response AddNetworkSecurityGroupSecurityRulesResponse, err error) { @@ -313,7 +314,7 @@ func (client VirtualNetworkClient) addNetworkSecurityGroupSecurityRules(ctx cont // AddPublicIpPoolCapacity Adds some or all of a CIDR block to a public IP pool. // The CIDR block (or subrange) must not overlap with any other CIDR block already added to this or any other public IP pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddPublicIpPoolCapacity.go.html to see an example of how to use AddPublicIpPoolCapacity API. func (client VirtualNetworkClient) AddPublicIpPoolCapacity(ctx context.Context, request AddPublicIpPoolCapacityRequest) (response AddPublicIpPoolCapacityResponse, err error) { @@ -376,7 +377,7 @@ func (client VirtualNetworkClient) addPublicIpPoolCapacity(ctx context.Context, // - Must not exceed the limit of CIDR blocks allowed per VCN. // **Note:** Adding a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can take a few minutes. You can use the `GetWorkRequest` operation to check the status of the update. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AddVcnCidr.go.html to see an example of how to use AddVcnCidr API. func (client VirtualNetworkClient) AddVcnCidr(ctx context.Context, request AddVcnCidrRequest) (response AddVcnCidrResponse, err error) { @@ -436,7 +437,7 @@ func (client VirtualNetworkClient) addVcnCidr(ctx context.Context, request commo // AdvertiseByoipRange Begins BGP route advertisements for the BYOIP CIDR block you imported to the Oracle Cloud. // The `ByoipRange` resource must be in the PROVISIONED state before the BYOIP CIDR block routes can be advertised with BGP. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AdvertiseByoipRange.go.html to see an example of how to use AdvertiseByoipRange API. func (client VirtualNetworkClient) AdvertiseByoipRange(ctx context.Context, request AdvertiseByoipRangeRequest) (response AdvertiseByoipRangeResponse, err error) { @@ -498,7 +499,7 @@ func (client VirtualNetworkClient) advertiseByoipRange(ctx context.Context, requ // the entire existing list of enabled `Service` objects with the list that you provide in the // `Update` call. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/AttachServiceId.go.html to see an example of how to use AttachServiceId API. func (client VirtualNetworkClient) AttachServiceId(ctx context.Context, request AttachServiceIdRequest) (response AttachServiceIdResponse, err error) { @@ -555,7 +556,7 @@ func (client VirtualNetworkClient) attachServiceId(ctx context.Context, request // to add prefixes to the virtual circuit. Oracle must verify the customer's ownership // of each prefix before traffic for that prefix will flow across the virtual circuit. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkAddVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkAddVirtualCircuitPublicPrefixes API. func (client VirtualNetworkClient) BulkAddVirtualCircuitPublicPrefixes(ctx context.Context, request BulkAddVirtualCircuitPublicPrefixesRequest) (response BulkAddVirtualCircuitPublicPrefixesResponse, err error) { @@ -607,7 +608,7 @@ func (client VirtualNetworkClient) bulkAddVirtualCircuitPublicPrefixes(ctx conte // to remove prefixes from the virtual circuit. When the virtual circuit's state switches // back to PROVISIONED, Oracle stops advertising the specified prefixes across the connection. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/BulkDeleteVirtualCircuitPublicPrefixes.go.html to see an example of how to use BulkDeleteVirtualCircuitPublicPrefixes API. func (client VirtualNetworkClient) BulkDeleteVirtualCircuitPublicPrefixes(ctx context.Context, request BulkDeleteVirtualCircuitPublicPrefixesRequest) (response BulkDeleteVirtualCircuitPublicPrefixesResponse, err error) { @@ -658,7 +659,7 @@ func (client VirtualNetworkClient) bulkDeleteVirtualCircuitPublicPrefixes(ctx co // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeByoipRangeCompartment.go.html to see an example of how to use ChangeByoipRangeCompartment API. func (client VirtualNetworkClient) ChangeByoipRangeCompartment(ctx context.Context, request ChangeByoipRangeCompartmentRequest) (response ChangeByoipRangeCompartmentResponse, err error) { @@ -719,7 +720,7 @@ func (client VirtualNetworkClient) changeByoipRangeCompartment(ctx context.Conte // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCpeCompartment.go.html to see an example of how to use ChangeCpeCompartment API. func (client VirtualNetworkClient) ChangeCpeCompartment(ctx context.Context, request ChangeCpeCompartmentRequest) (response ChangeCpeCompartmentResponse, err error) { @@ -780,7 +781,7 @@ func (client VirtualNetworkClient) changeCpeCompartment(ctx context.Context, req // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectCompartment.go.html to see an example of how to use ChangeCrossConnectCompartment API. func (client VirtualNetworkClient) ChangeCrossConnectCompartment(ctx context.Context, request ChangeCrossConnectCompartmentRequest) (response ChangeCrossConnectCompartmentResponse, err error) { @@ -841,7 +842,7 @@ func (client VirtualNetworkClient) changeCrossConnectCompartment(ctx context.Con // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeCrossConnectGroupCompartment.go.html to see an example of how to use ChangeCrossConnectGroupCompartment API. func (client VirtualNetworkClient) ChangeCrossConnectGroupCompartment(ctx context.Context, request ChangeCrossConnectGroupCompartmentRequest) (response ChangeCrossConnectGroupCompartmentResponse, err error) { @@ -902,7 +903,7 @@ func (client VirtualNetworkClient) changeCrossConnectGroupCompartment(ctx contex // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDhcpOptionsCompartment.go.html to see an example of how to use ChangeDhcpOptionsCompartment API. func (client VirtualNetworkClient) ChangeDhcpOptionsCompartment(ctx context.Context, request ChangeDhcpOptionsCompartmentRequest) (response ChangeDhcpOptionsCompartmentResponse, err error) { @@ -963,7 +964,7 @@ func (client VirtualNetworkClient) changeDhcpOptionsCompartment(ctx context.Cont // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeDrgCompartment.go.html to see an example of how to use ChangeDrgCompartment API. func (client VirtualNetworkClient) ChangeDrgCompartment(ctx context.Context, request ChangeDrgCompartmentRequest) (response ChangeDrgCompartmentResponse, err error) { @@ -1024,7 +1025,7 @@ func (client VirtualNetworkClient) changeDrgCompartment(ctx context.Context, req // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeIPSecConnectionCompartment.go.html to see an example of how to use ChangeIPSecConnectionCompartment API. func (client VirtualNetworkClient) ChangeIPSecConnectionCompartment(ctx context.Context, request ChangeIPSecConnectionCompartmentRequest) (response ChangeIPSecConnectionCompartmentResponse, err error) { @@ -1085,7 +1086,7 @@ func (client VirtualNetworkClient) changeIPSecConnectionCompartment(ctx context. // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeInternetGatewayCompartment.go.html to see an example of how to use ChangeInternetGatewayCompartment API. func (client VirtualNetworkClient) ChangeInternetGatewayCompartment(ctx context.Context, request ChangeInternetGatewayCompartmentRequest) (response ChangeInternetGatewayCompartmentResponse, err error) { @@ -1146,7 +1147,7 @@ func (client VirtualNetworkClient) changeInternetGatewayCompartment(ctx context. // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeLocalPeeringGatewayCompartment.go.html to see an example of how to use ChangeLocalPeeringGatewayCompartment API. func (client VirtualNetworkClient) ChangeLocalPeeringGatewayCompartment(ctx context.Context, request ChangeLocalPeeringGatewayCompartmentRequest) (response ChangeLocalPeeringGatewayCompartmentResponse, err error) { @@ -1207,7 +1208,7 @@ func (client VirtualNetworkClient) changeLocalPeeringGatewayCompartment(ctx cont // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNatGatewayCompartment.go.html to see an example of how to use ChangeNatGatewayCompartment API. func (client VirtualNetworkClient) ChangeNatGatewayCompartment(ctx context.Context, request ChangeNatGatewayCompartmentRequest) (response ChangeNatGatewayCompartmentResponse, err error) { @@ -1267,7 +1268,7 @@ func (client VirtualNetworkClient) changeNatGatewayCompartment(ctx context.Conte // ChangeNetworkSecurityGroupCompartment Moves a network security group into a different compartment within the same tenancy. For // information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeNetworkSecurityGroupCompartment.go.html to see an example of how to use ChangeNetworkSecurityGroupCompartment API. func (client VirtualNetworkClient) ChangeNetworkSecurityGroupCompartment(ctx context.Context, request ChangeNetworkSecurityGroupCompartmentRequest) (response ChangeNetworkSecurityGroupCompartmentResponse, err error) { @@ -1330,7 +1331,7 @@ func (client VirtualNetworkClient) changeNetworkSecurityGroupCompartment(ctx con // This operation applies only to reserved public IPs. Ephemeral public IPs always belong to the // same compartment as their VNIC and move accordingly. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpCompartment.go.html to see an example of how to use ChangePublicIpCompartment API. func (client VirtualNetworkClient) ChangePublicIpCompartment(ctx context.Context, request ChangePublicIpCompartmentRequest) (response ChangePublicIpCompartmentResponse, err error) { @@ -1391,7 +1392,7 @@ func (client VirtualNetworkClient) changePublicIpCompartment(ctx context.Context // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangePublicIpPoolCompartment.go.html to see an example of how to use ChangePublicIpPoolCompartment API. func (client VirtualNetworkClient) ChangePublicIpPoolCompartment(ctx context.Context, request ChangePublicIpPoolCompartmentRequest) (response ChangePublicIpPoolCompartmentResponse, err error) { @@ -1452,7 +1453,7 @@ func (client VirtualNetworkClient) changePublicIpPoolCompartment(ctx context.Con // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRemotePeeringConnectionCompartment.go.html to see an example of how to use ChangeRemotePeeringConnectionCompartment API. func (client VirtualNetworkClient) ChangeRemotePeeringConnectionCompartment(ctx context.Context, request ChangeRemotePeeringConnectionCompartmentRequest) (response ChangeRemotePeeringConnectionCompartmentResponse, err error) { @@ -1513,7 +1514,7 @@ func (client VirtualNetworkClient) changeRemotePeeringConnectionCompartment(ctx // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeRouteTableCompartment.go.html to see an example of how to use ChangeRouteTableCompartment API. func (client VirtualNetworkClient) ChangeRouteTableCompartment(ctx context.Context, request ChangeRouteTableCompartmentRequest) (response ChangeRouteTableCompartmentResponse, err error) { @@ -1574,7 +1575,7 @@ func (client VirtualNetworkClient) changeRouteTableCompartment(ctx context.Conte // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSecurityListCompartment.go.html to see an example of how to use ChangeSecurityListCompartment API. func (client VirtualNetworkClient) ChangeSecurityListCompartment(ctx context.Context, request ChangeSecurityListCompartmentRequest) (response ChangeSecurityListCompartmentResponse, err error) { @@ -1635,7 +1636,7 @@ func (client VirtualNetworkClient) changeSecurityListCompartment(ctx context.Con // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeServiceGatewayCompartment.go.html to see an example of how to use ChangeServiceGatewayCompartment API. func (client VirtualNetworkClient) ChangeServiceGatewayCompartment(ctx context.Context, request ChangeServiceGatewayCompartmentRequest) (response ChangeServiceGatewayCompartmentResponse, err error) { @@ -1696,7 +1697,7 @@ func (client VirtualNetworkClient) changeServiceGatewayCompartment(ctx context.C // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeSubnetCompartment.go.html to see an example of how to use ChangeSubnetCompartment API. func (client VirtualNetworkClient) ChangeSubnetCompartment(ctx context.Context, request ChangeSubnetCompartmentRequest) (response ChangeSubnetCompartmentResponse, err error) { @@ -1757,7 +1758,7 @@ func (client VirtualNetworkClient) changeSubnetCompartment(ctx context.Context, // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVcnCompartment.go.html to see an example of how to use ChangeVcnCompartment API. func (client VirtualNetworkClient) ChangeVcnCompartment(ctx context.Context, request ChangeVcnCompartmentRequest) (response ChangeVcnCompartmentResponse, err error) { @@ -1818,7 +1819,7 @@ func (client VirtualNetworkClient) changeVcnCompartment(ctx context.Context, req // about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVirtualCircuitCompartment.go.html to see an example of how to use ChangeVirtualCircuitCompartment API. func (client VirtualNetworkClient) ChangeVirtualCircuitCompartment(ctx context.Context, request ChangeVirtualCircuitCompartmentRequest) (response ChangeVirtualCircuitCompartmentResponse, err error) { @@ -1879,7 +1880,7 @@ func (client VirtualNetworkClient) changeVirtualCircuitCompartment(ctx context.C // For information about moving resources between compartments, see // Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ChangeVlanCompartment.go.html to see an example of how to use ChangeVlanCompartment API. func (client VirtualNetworkClient) ChangeVlanCompartment(ctx context.Context, request ChangeVlanCompartmentRequest) (response ChangeVlanCompartmentResponse, err error) { @@ -1944,7 +1945,7 @@ func (client VirtualNetworkClient) changeVlanCompartment(ctx context.Context, re // operation will fail. For more information, see // VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectLocalPeeringGateways.go.html to see an example of how to use ConnectLocalPeeringGateways API. func (client VirtualNetworkClient) ConnectLocalPeeringGateways(ctx context.Context, request ConnectLocalPeeringGatewaysRequest) (response ConnectLocalPeeringGatewaysResponse, err error) { @@ -2004,7 +2005,7 @@ func (client VirtualNetworkClient) connectLocalPeeringGateways(ctx context.Conte // operation will fail. For more information, see // VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ConnectRemotePeeringConnections.go.html to see an example of how to use ConnectRemotePeeringConnections API. func (client VirtualNetworkClient) ConnectRemotePeeringConnections(ctx context.Context, request ConnectRemotePeeringConnectionsRequest) (response ConnectRemotePeeringConnectionsResponse, err error) { @@ -2058,7 +2059,7 @@ func (client VirtualNetworkClient) connectRemotePeeringConnections(ctx context.C // CreateByoipRange Creates a subrange of the BYOIP CIDR block. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateByoipRange.go.html to see an example of how to use CreateByoipRange API. func (client VirtualNetworkClient) CreateByoipRange(ctx context.Context, request CreateByoipRangeRequest) (response CreateByoipRangeResponse, err error) { @@ -2128,7 +2129,7 @@ func (client VirtualNetworkClient) createByoipRange(ctx context.Context, request // You may optionally specify a *display name* for the CPE, otherwise a default is provided. It does not have to // be unique, and you can change it. Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCpe.go.html to see an example of how to use CreateCpe API. func (client VirtualNetworkClient) CreateCpe(ctx context.Context, request CreateCpeRequest) (response CreateCpeResponse, err error) { @@ -2202,7 +2203,7 @@ func (client VirtualNetworkClient) createCpe(ctx context.Context, request common // You may optionally specify a *display name* for the cross-connect. // It does not have to be unique, and you can change it. Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnect.go.html to see an example of how to use CreateCrossConnect API. func (client VirtualNetworkClient) CreateCrossConnect(ctx context.Context, request CreateCrossConnectRequest) (response CreateCrossConnectResponse, err error) { @@ -2273,7 +2274,7 @@ func (client VirtualNetworkClient) createCrossConnect(ctx context.Context, reque // You may optionally specify a *display name* for the cross-connect group. // It does not have to be unique, and you can change it. Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnectGroup.go.html to see an example of how to use CreateCrossConnectGroup API. func (client VirtualNetworkClient) CreateCrossConnectGroup(ctx context.Context, request CreateCrossConnectGroupRequest) (response CreateCrossConnectGroupResponse, err error) { @@ -2341,7 +2342,7 @@ func (client VirtualNetworkClient) createCrossConnectGroup(ctx context.Context, // You may optionally specify a *display name* for the set of DHCP options, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDhcpOptions.go.html to see an example of how to use CreateDhcpOptions API. func (client VirtualNetworkClient) CreateDhcpOptions(ctx context.Context, request CreateDhcpOptionsRequest) (response CreateDhcpOptionsResponse, err error) { @@ -2409,7 +2410,7 @@ func (client VirtualNetworkClient) createDhcpOptions(ctx context.Context, reques // You may optionally specify a *display name* for the DRG, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrg.go.html to see an example of how to use CreateDrg API. func (client VirtualNetworkClient) CreateDrg(ctx context.Context, request CreateDrgRequest) (response CreateDrgResponse, err error) { @@ -2476,7 +2477,7 @@ func (client VirtualNetworkClient) createDrg(ctx context.Context, request common // For more information about compartments and access control, see // Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgAttachment.go.html to see an example of how to use CreateDrgAttachment API. func (client VirtualNetworkClient) CreateDrgAttachment(ctx context.Context, request CreateDrgAttachmentRequest) (response CreateDrgAttachmentResponse, err error) { @@ -2538,7 +2539,7 @@ func (client VirtualNetworkClient) createDrgAttachment(ctx context.Context, requ // Assign the route distribution as an export distribution to a DRG attachment // using the `UpdateDrgAttachment` or `CreateDrgAttachment` operations. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteDistribution.go.html to see an example of how to use CreateDrgRouteDistribution API. func (client VirtualNetworkClient) CreateDrgRouteDistribution(ctx context.Context, request CreateDrgRouteDistributionRequest) (response CreateDrgRouteDistributionResponse, err error) { @@ -2598,7 +2599,7 @@ func (client VirtualNetworkClient) createDrgRouteDistribution(ctx context.Contex // CreateDrgRouteTable Creates a new DRG route table for the specified DRG. Assign the DRG route table to a DRG attachment // using the `UpdateDrgAttachment` or `CreateDrgAttachment` operations. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteTable.go.html to see an example of how to use CreateDrgRouteTable API. func (client VirtualNetworkClient) CreateDrgRouteTable(ctx context.Context, request CreateDrgRouteTableRequest) (response CreateDrgRouteTableResponse, err error) { @@ -2672,13 +2673,14 @@ func (client VirtualNetworkClient) createDrgRouteTable(ctx context.Context, requ // It does not have to be unique, and you can change it. Avoid entering confidential information. // After creating the IPSec connection, you need to configure your on-premises router // with tunnel-specific information. For tunnel status and the required configuration information, see: -// * IPSecConnectionTunnel -// * IPSecConnectionTunnelSharedSecret +// - IPSecConnectionTunnel +// - IPSecConnectionTunnelSharedSecret +// // For each tunnel, you need the IP address of Oracle's VPN headend and the shared secret // (that is, the pre-shared key). For more information, see // Configuring Your On-Premises Router for an IPSec VPN (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/configuringCPE.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIPSecConnection.go.html to see an example of how to use CreateIPSecConnection API. func (client VirtualNetworkClient) CreateIPSecConnection(ctx context.Context, request CreateIPSecConnectionRequest) (response CreateIPSecConnectionResponse, err error) { @@ -2752,7 +2754,7 @@ func (client VirtualNetworkClient) createIPSecConnection(ctx context.Context, re // use UpdateInternetGateway to easily disable/enable // the gateway without changing the route rule. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInternetGateway.go.html to see an example of how to use CreateInternetGateway API. func (client VirtualNetworkClient) CreateInternetGateway(ctx context.Context, request CreateInternetGatewayRequest) (response CreateInternetGatewayResponse, err error) { @@ -2811,7 +2813,7 @@ func (client VirtualNetworkClient) createInternetGateway(ctx context.Context, re // CreateIpv6 Creates an IPv6 for the specified VNIC. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIpv6.go.html to see an example of how to use CreateIpv6 API. func (client VirtualNetworkClient) CreateIpv6(ctx context.Context, request CreateIpv6Request) (response CreateIpv6Response, err error) { @@ -2870,7 +2872,7 @@ func (client VirtualNetworkClient) createIpv6(ctx context.Context, request commo // CreateLocalPeeringGateway Creates a new local peering gateway (LPG) for the specified VCN. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateLocalPeeringGateway.go.html to see an example of how to use CreateLocalPeeringGateway API. func (client VirtualNetworkClient) CreateLocalPeeringGateway(ctx context.Context, request CreateLocalPeeringGatewayRequest) (response CreateLocalPeeringGatewayResponse, err error) { @@ -2930,7 +2932,7 @@ func (client VirtualNetworkClient) createLocalPeeringGateway(ctx context.Context // CreateNatGateway Creates a new NAT gateway for the specified VCN. You must also set up a route rule with the // NAT gateway as the rule's target. See RouteTable. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNatGateway.go.html to see an example of how to use CreateNatGateway API. func (client VirtualNetworkClient) CreateNatGateway(ctx context.Context, request CreateNatGatewayRequest) (response CreateNatGatewayResponse, err error) { @@ -2989,7 +2991,7 @@ func (client VirtualNetworkClient) createNatGateway(ctx context.Context, request // CreateNetworkSecurityGroup Creates a new network security group for the specified VCN. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNetworkSecurityGroup.go.html to see an example of how to use CreateNetworkSecurityGroup API. func (client VirtualNetworkClient) CreateNetworkSecurityGroup(ctx context.Context, request CreateNetworkSecurityGroupRequest) (response CreateNetworkSecurityGroupResponse, err error) { @@ -3050,7 +3052,7 @@ func (client VirtualNetworkClient) createNetworkSecurityGroup(ctx context.Contex // For more information about secondary private IPs, see // IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePrivateIp.go.html to see an example of how to use CreatePrivateIp API. func (client VirtualNetworkClient) CreatePrivateIp(ctx context.Context, request CreatePrivateIpRequest) (response CreatePrivateIpResponse, err error) { @@ -3125,7 +3127,7 @@ func (client VirtualNetworkClient) createPrivateIp(ctx context.Context, request // asynchronous. Poll the public IP's `lifecycleState` to determine if the assignment // succeeded. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIp.go.html to see an example of how to use CreatePublicIp API. func (client VirtualNetworkClient) CreatePublicIp(ctx context.Context, request CreatePublicIpRequest) (response CreatePublicIpResponse, err error) { @@ -3184,7 +3186,7 @@ func (client VirtualNetworkClient) createPublicIp(ctx context.Context, request c // CreatePublicIpPool Creates a public IP pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIpPool.go.html to see an example of how to use CreatePublicIpPool API. func (client VirtualNetworkClient) CreatePublicIpPool(ctx context.Context, request CreatePublicIpPoolRequest) (response CreatePublicIpPoolResponse, err error) { @@ -3243,7 +3245,7 @@ func (client VirtualNetworkClient) createPublicIpPool(ctx context.Context, reque // CreateRemotePeeringConnection Creates a new remote peering connection (RPC) for the specified DRG. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRemotePeeringConnection.go.html to see an example of how to use CreateRemotePeeringConnection API. func (client VirtualNetworkClient) CreateRemotePeeringConnection(ctx context.Context, request CreateRemotePeeringConnectionRequest) (response CreateRemotePeeringConnectionResponse, err error) { @@ -3314,7 +3316,7 @@ func (client VirtualNetworkClient) createRemotePeeringConnection(ctx context.Con // You may optionally specify a *display name* for the route table, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRouteTable.go.html to see an example of how to use CreateRouteTable API. func (client VirtualNetworkClient) CreateRouteTable(ctx context.Context, request CreateRouteTableRequest) (response CreateRouteTableResponse, err error) { @@ -3384,7 +3386,7 @@ func (client VirtualNetworkClient) createRouteTable(ctx context.Context, request // You may optionally specify a *display name* for the security list, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSecurityList.go.html to see an example of how to use CreateSecurityList API. func (client VirtualNetworkClient) CreateSecurityList(ctx context.Context, request CreateSecurityListRequest) (response CreateSecurityListResponse, err error) { @@ -3449,7 +3451,7 @@ func (client VirtualNetworkClient) createSecurityList(ctx context.Context, reque // You may optionally specify a *display name* for the service gateway, otherwise a default is provided. // It does not have to be unique, and you can change it. Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateServiceGateway.go.html to see an example of how to use CreateServiceGateway API. func (client VirtualNetworkClient) CreateServiceGateway(ctx context.Context, request CreateServiceGatewayRequest) (response CreateServiceGatewayResponse, err error) { @@ -3532,7 +3534,7 @@ func (client VirtualNetworkClient) createServiceGateway(ctx context.Context, req // VCN Resolver to resolve hostnames for instances in the subnet. For more information, see // DNS in Your Virtual Cloud Network (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSubnet.go.html to see an example of how to use CreateSubnet API. func (client VirtualNetworkClient) CreateSubnet(ctx context.Context, request CreateSubnetRequest) (response CreateSubnetResponse, err error) { @@ -3615,7 +3617,7 @@ func (client VirtualNetworkClient) createSubnet(ctx context.Context, request com // or FastConnect. For more information, see // Overview of the Networking Service (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/overview.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVcn.go.html to see an example of how to use CreateVcn API. func (client VirtualNetworkClient) CreateVcn(ctx context.Context, request CreateVcnRequest) (response CreateVcnResponse, err error) { @@ -3691,7 +3693,7 @@ func (client VirtualNetworkClient) createVcn(ctx context.Context, request common // traffic will not flow. For more information, see // Route Tables (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVirtualCircuit.go.html to see an example of how to use CreateVirtualCircuit API. func (client VirtualNetworkClient) CreateVirtualCircuit(ctx context.Context, request CreateVirtualCircuitRequest) (response CreateVirtualCircuitResponse, err error) { @@ -3750,7 +3752,7 @@ func (client VirtualNetworkClient) createVirtualCircuit(ctx context.Context, req // CreateVlan Creates a VLAN in the specified VCN and the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVlan.go.html to see an example of how to use CreateVlan API. func (client VirtualNetworkClient) CreateVlan(ctx context.Context, request CreateVlanRequest) (response CreateVlanResponse, err error) { @@ -3813,7 +3815,7 @@ func (client VirtualNetworkClient) createVlan(ctx context.Context, request commo // You must specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // If the `ByoipRange` resource is currently in the PROVISIONED or ACTIVE state, it will be de-provisioned and then deleted. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteByoipRange.go.html to see an example of how to use DeleteByoipRange API. func (client VirtualNetworkClient) DeleteByoipRange(ctx context.Context, request DeleteByoipRangeRequest) (response DeleteByoipRangeResponse, err error) { @@ -3869,7 +3871,7 @@ func (client VirtualNetworkClient) deleteByoipRange(ctx context.Context, request // operation. The CPE's `lifecycleState` will change to TERMINATING temporarily until the CPE is completely // removed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCpe.go.html to see an example of how to use DeleteCpe API. func (client VirtualNetworkClient) DeleteCpe(ctx context.Context, request DeleteCpeRequest) (response DeleteCpeResponse, err error) { @@ -3924,7 +3926,7 @@ func (client VirtualNetworkClient) deleteCpe(ctx context.Context, request common // DeleteCrossConnect Deletes the specified cross-connect. It must not be mapped to a // VirtualCircuit. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnect.go.html to see an example of how to use DeleteCrossConnect API. func (client VirtualNetworkClient) DeleteCrossConnect(ctx context.Context, request DeleteCrossConnectRequest) (response DeleteCrossConnectResponse, err error) { @@ -3980,7 +3982,7 @@ func (client VirtualNetworkClient) deleteCrossConnect(ctx context.Context, reque // cross-connects, and it cannot be mapped to a // VirtualCircuit. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnectGroup.go.html to see an example of how to use DeleteCrossConnectGroup API. func (client VirtualNetworkClient) DeleteCrossConnectGroup(ctx context.Context, request DeleteCrossConnectGroupRequest) (response DeleteCrossConnectGroupResponse, err error) { @@ -4037,7 +4039,7 @@ func (client VirtualNetworkClient) deleteCrossConnectGroup(ctx context.Context, // This is an asynchronous operation. The state of the set of options will switch to TERMINATING temporarily // until the set is completely removed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDhcpOptions.go.html to see an example of how to use DeleteDhcpOptions API. func (client VirtualNetworkClient) DeleteDhcpOptions(ctx context.Context, request DeleteDhcpOptionsRequest) (response DeleteDhcpOptionsResponse, err error) { @@ -4094,7 +4096,7 @@ func (client VirtualNetworkClient) deleteDhcpOptions(ctx context.Context, reques // operation. The DRG's `lifecycleState` will change to TERMINATING temporarily until the DRG is completely // removed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrg.go.html to see an example of how to use DeleteDrg API. func (client VirtualNetworkClient) DeleteDrg(ctx context.Context, request DeleteDrgRequest) (response DeleteDrgResponse, err error) { @@ -4150,7 +4152,7 @@ func (client VirtualNetworkClient) deleteDrg(ctx context.Context, request common // operation. The attachment's `lifecycleState` will temporarily change to DETACHING until the attachment // is completely removed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgAttachment.go.html to see an example of how to use DeleteDrgAttachment API. func (client VirtualNetworkClient) DeleteDrgAttachment(ctx context.Context, request DeleteDrgAttachmentRequest) (response DeleteDrgAttachmentResponse, err error) { @@ -4205,7 +4207,7 @@ func (client VirtualNetworkClient) deleteDrgAttachment(ctx context.Context, requ // DeleteDrgRouteDistribution Deletes the specified route distribution. You can't delete a route distribution currently in use by a DRG attachment or DRG route table. // Remove the DRG route distribution from a DRG attachment or DRG route table by using the "RemoveExportDrgRouteDistribution" or "RemoveImportDrgRouteDistribution' operations. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteDistribution.go.html to see an example of how to use DeleteDrgRouteDistribution API. func (client VirtualNetworkClient) DeleteDrgRouteDistribution(ctx context.Context, request DeleteDrgRouteDistributionRequest) (response DeleteDrgRouteDistributionResponse, err error) { @@ -4259,7 +4261,7 @@ func (client VirtualNetworkClient) deleteDrgRouteDistribution(ctx context.Contex // DeleteDrgRouteTable Deletes the specified DRG route table. There must not be any DRG attachments assigned. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteTable.go.html to see an example of how to use DeleteDrgRouteTable API. func (client VirtualNetworkClient) DeleteDrgRouteTable(ctx context.Context, request DeleteDrgRouteTableRequest) (response DeleteDrgRouteTableResponse, err error) { @@ -4319,7 +4321,7 @@ func (client VirtualNetworkClient) deleteDrgRouteTable(ctx context.Context, requ // This is an asynchronous operation. The connection's `lifecycleState` will change to TERMINATING temporarily // until the connection is completely removed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIPSecConnection.go.html to see an example of how to use DeleteIPSecConnection API. func (client VirtualNetworkClient) DeleteIPSecConnection(ctx context.Context, request DeleteIPSecConnectionRequest) (response DeleteIPSecConnectionResponse, err error) { @@ -4376,7 +4378,7 @@ func (client VirtualNetworkClient) deleteIPSecConnection(ctx context.Context, re // This is an asynchronous operation. The gateway's `lifecycleState` will change to TERMINATING temporarily // until the gateway is completely removed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInternetGateway.go.html to see an example of how to use DeleteInternetGateway API. func (client VirtualNetworkClient) DeleteInternetGateway(ctx context.Context, request DeleteInternetGatewayRequest) (response DeleteInternetGatewayResponse, err error) { @@ -4431,7 +4433,7 @@ func (client VirtualNetworkClient) deleteInternetGateway(ctx context.Context, re // DeleteIpv6 Unassigns and deletes the specified IPv6. You must specify the object's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm). // The IPv6 address is returned to the subnet's pool of available addresses. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIpv6.go.html to see an example of how to use DeleteIpv6 API. func (client VirtualNetworkClient) DeleteIpv6(ctx context.Context, request DeleteIpv6Request) (response DeleteIpv6Response, err error) { @@ -4487,7 +4489,7 @@ func (client VirtualNetworkClient) deleteIpv6(ctx context.Context, request commo // This is an asynchronous operation; the local peering gateway's `lifecycleState` changes to TERMINATING temporarily // until the local peering gateway is completely removed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteLocalPeeringGateway.go.html to see an example of how to use DeleteLocalPeeringGateway API. func (client VirtualNetworkClient) DeleteLocalPeeringGateway(ctx context.Context, request DeleteLocalPeeringGatewayRequest) (response DeleteLocalPeeringGatewayResponse, err error) { @@ -4544,7 +4546,7 @@ func (client VirtualNetworkClient) deleteLocalPeeringGateway(ctx context.Context // This is an asynchronous operation. The NAT gateway's `lifecycleState` will change to // TERMINATING temporarily until the NAT gateway is completely removed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNatGateway.go.html to see an example of how to use DeleteNatGateway API. func (client VirtualNetworkClient) DeleteNatGateway(ctx context.Context, request DeleteNatGatewayRequest) (response DeleteNatGatewayResponse, err error) { @@ -4603,7 +4605,7 @@ func (client VirtualNetworkClient) deleteNatGateway(ctx context.Context, request // contains both the OCID of the VNIC and the OCID of the VNIC's parent resource (for example, // the Compute instance that the VNIC is attached to). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNetworkSecurityGroup.go.html to see an example of how to use DeleteNetworkSecurityGroup API. func (client VirtualNetworkClient) DeleteNetworkSecurityGroup(ctx context.Context, request DeleteNetworkSecurityGroupRequest) (response DeleteNetworkSecurityGroupResponse, err error) { @@ -4665,7 +4667,7 @@ func (client VirtualNetworkClient) deleteNetworkSecurityGroup(ctx context.Contex // unassigning it from the VNIC causes that route rule to blackhole and the traffic // will be dropped. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePrivateIp.go.html to see an example of how to use DeletePrivateIp API. func (client VirtualNetworkClient) DeletePrivateIp(ctx context.Context, request DeletePrivateIpRequest) (response DeletePrivateIpResponse, err error) { @@ -4730,7 +4732,7 @@ func (client VirtualNetworkClient) deletePrivateIp(ctx context.Context, request // of reserved public IPs, instead use // UpdatePublicIp. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIp.go.html to see an example of how to use DeletePublicIp API. func (client VirtualNetworkClient) DeletePublicIp(ctx context.Context, request DeletePublicIpRequest) (response DeletePublicIpResponse, err error) { @@ -4786,7 +4788,7 @@ func (client VirtualNetworkClient) deletePublicIp(ctx context.Context, request c // To delete a public IP pool it must not have any active IP address allocations. // You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) when deleting an IP pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIpPool.go.html to see an example of how to use DeletePublicIpPool API. func (client VirtualNetworkClient) DeletePublicIpPool(ctx context.Context, request DeletePublicIpPoolRequest) (response DeletePublicIpPoolResponse, err error) { @@ -4842,7 +4844,7 @@ func (client VirtualNetworkClient) deletePublicIpPool(ctx context.Context, reque // This is an asynchronous operation; the RPC's `lifecycleState` changes to TERMINATING temporarily // until the RPC is completely removed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRemotePeeringConnection.go.html to see an example of how to use DeleteRemotePeeringConnection API. func (client VirtualNetworkClient) DeleteRemotePeeringConnection(ctx context.Context, request DeleteRemotePeeringConnectionRequest) (response DeleteRemotePeeringConnectionResponse, err error) { @@ -4899,7 +4901,7 @@ func (client VirtualNetworkClient) deleteRemotePeeringConnection(ctx context.Con // This is an asynchronous operation. The route table's `lifecycleState` will change to TERMINATING temporarily // until the route table is completely removed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRouteTable.go.html to see an example of how to use DeleteRouteTable API. func (client VirtualNetworkClient) DeleteRouteTable(ctx context.Context, request DeleteRouteTableRequest) (response DeleteRouteTableResponse, err error) { @@ -4956,7 +4958,7 @@ func (client VirtualNetworkClient) deleteRouteTable(ctx context.Context, request // This is an asynchronous operation. The security list's `lifecycleState` will change to TERMINATING temporarily // until the security list is completely removed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSecurityList.go.html to see an example of how to use DeleteSecurityList API. func (client VirtualNetworkClient) DeleteSecurityList(ctx context.Context, request DeleteSecurityListRequest) (response DeleteSecurityListResponse, err error) { @@ -5011,7 +5013,7 @@ func (client VirtualNetworkClient) deleteSecurityList(ctx context.Context, reque // DeleteServiceGateway Deletes the specified service gateway. There must not be a route table that lists the service // gateway as a target. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteServiceGateway.go.html to see an example of how to use DeleteServiceGateway API. func (client VirtualNetworkClient) DeleteServiceGateway(ctx context.Context, request DeleteServiceGatewayRequest) (response DeleteServiceGatewayResponse, err error) { @@ -5067,7 +5069,7 @@ func (client VirtualNetworkClient) deleteServiceGateway(ctx context.Context, req // operation. The subnet's `lifecycleState` will change to TERMINATING temporarily. If there are any // instances in the subnet, the state will instead change back to AVAILABLE. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSubnet.go.html to see an example of how to use DeleteSubnet API. func (client VirtualNetworkClient) DeleteSubnet(ctx context.Context, request DeleteSubnetRequest) (response DeleteSubnetResponse, err error) { @@ -5123,7 +5125,7 @@ func (client VirtualNetworkClient) deleteSubnet(ctx context.Context, request com // operation. The VCN's `lifecycleState` will change to TERMINATING temporarily until the VCN is completely // removed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVcn.go.html to see an example of how to use DeleteVcn API. func (client VirtualNetworkClient) DeleteVcn(ctx context.Context, request DeleteVcnRequest) (response DeleteVcnResponse, err error) { @@ -5180,7 +5182,7 @@ func (client VirtualNetworkClient) deleteVcn(ctx context.Context, request common // make sure to also terminate the connection with // the provider, or else the provider may continue to bill you. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVirtualCircuit.go.html to see an example of how to use DeleteVirtualCircuit API. func (client VirtualNetworkClient) DeleteVirtualCircuit(ctx context.Context, request DeleteVirtualCircuitRequest) (response DeleteVirtualCircuitResponse, err error) { @@ -5234,7 +5236,7 @@ func (client VirtualNetworkClient) deleteVirtualCircuit(ctx context.Context, req // DeleteVlan Deletes the specified VLAN, but only if there are no VNICs in the VLAN. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVlan.go.html to see an example of how to use DeleteVlan API. func (client VirtualNetworkClient) DeleteVlan(ctx context.Context, request DeleteVlanRequest) (response DeleteVlanResponse, err error) { @@ -5298,7 +5300,7 @@ func (client VirtualNetworkClient) deleteVlan(ctx context.Context, request commo // `Update` call. `UpdateServiceGateway` also lets you block all traffic through the service // gateway without having to remove each of the individual `Service` objects. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachServiceId.go.html to see an example of how to use DetachServiceId API. func (client VirtualNetworkClient) DetachServiceId(ctx context.Context, request DetachServiceIdRequest) (response DetachServiceIdResponse, err error) { @@ -5352,7 +5354,7 @@ func (client VirtualNetworkClient) detachServiceId(ctx context.Context, request // GetAllDrgAttachments Returns a complete list of DRG attachments that belong to a particular DRG. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllDrgAttachments.go.html to see an example of how to use GetAllDrgAttachments API. func (client VirtualNetworkClient) GetAllDrgAttachments(ctx context.Context, request GetAllDrgAttachmentsRequest) (response GetAllDrgAttachmentsResponse, err error) { @@ -5406,7 +5408,7 @@ func (client VirtualNetworkClient) getAllDrgAttachments(ctx context.Context, req // GetByoipRange Gets the `ByoipRange` resource. You must specify the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetByoipRange.go.html to see an example of how to use GetByoipRange API. func (client VirtualNetworkClient) GetByoipRange(ctx context.Context, request GetByoipRangeRequest) (response GetByoipRangeResponse, err error) { @@ -5460,7 +5462,7 @@ func (client VirtualNetworkClient) getByoipRange(ctx context.Context, request co // GetCpe Gets the specified CPE's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpe.go.html to see an example of how to use GetCpe API. func (client VirtualNetworkClient) GetCpe(ctx context.Context, request GetCpeRequest) (response GetCpeResponse, err error) { @@ -5523,12 +5525,12 @@ func (client VirtualNetworkClient) getCpe(ctx context.Context, request common.OC // The operation returns configuration information for *all* of the // IPSecConnection objects that use the specified CPE. // Here are similar operations: -// * GetIpsecCpeDeviceConfigContent -// returns CPE configuration content for all tunnels in a single IPSec connection. -// * GetTunnelCpeDeviceConfigContent -// returns CPE configuration content for a specific tunnel within an IPSec connection. +// - GetIpsecCpeDeviceConfigContent +// returns CPE configuration content for all tunnels in a single IPSec connection. +// - GetTunnelCpeDeviceConfigContent +// returns CPE configuration content for a specific tunnel within an IPSec connection. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceConfigContent.go.html to see an example of how to use GetCpeDeviceConfigContent API. func (client VirtualNetworkClient) GetCpeDeviceConfigContent(ctx context.Context, request GetCpeDeviceConfigContentRequest) (response GetCpeDeviceConfigContentResponse, err error) { @@ -5584,11 +5586,11 @@ func (client VirtualNetworkClient) getCpeDeviceConfigContent(ctx context.Context // (see UpdateTunnelCpeDeviceConfig). // The service merges the answers with a template of other information for the CPE device type. The following // operations return the merged content: -// * GetCpeDeviceConfigContent -// * GetIpsecCpeDeviceConfigContent -// * GetTunnelCpeDeviceConfigContent +// - GetCpeDeviceConfigContent +// - GetIpsecCpeDeviceConfigContent +// - GetTunnelCpeDeviceConfigContent // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceShape.go.html to see an example of how to use GetCpeDeviceShape API. func (client VirtualNetworkClient) GetCpeDeviceShape(ctx context.Context, request GetCpeDeviceShapeRequest) (response GetCpeDeviceShapeResponse, err error) { @@ -5642,7 +5644,7 @@ func (client VirtualNetworkClient) getCpeDeviceShape(ctx context.Context, reques // GetCrossConnect Gets the specified cross-connect's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnect.go.html to see an example of how to use GetCrossConnect API. func (client VirtualNetworkClient) GetCrossConnect(ctx context.Context, request GetCrossConnectRequest) (response GetCrossConnectResponse, err error) { @@ -5696,7 +5698,7 @@ func (client VirtualNetworkClient) getCrossConnect(ctx context.Context, request // GetCrossConnectGroup Gets the specified cross-connect group's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectGroup.go.html to see an example of how to use GetCrossConnectGroup API. func (client VirtualNetworkClient) GetCrossConnectGroup(ctx context.Context, request GetCrossConnectGroupRequest) (response GetCrossConnectGroupResponse, err error) { @@ -5750,7 +5752,7 @@ func (client VirtualNetworkClient) getCrossConnectGroup(ctx context.Context, req // GetCrossConnectLetterOfAuthority Gets the Letter of Authority for the specified cross-connect. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectLetterOfAuthority.go.html to see an example of how to use GetCrossConnectLetterOfAuthority API. func (client VirtualNetworkClient) GetCrossConnectLetterOfAuthority(ctx context.Context, request GetCrossConnectLetterOfAuthorityRequest) (response GetCrossConnectLetterOfAuthorityResponse, err error) { @@ -5804,7 +5806,7 @@ func (client VirtualNetworkClient) getCrossConnectLetterOfAuthority(ctx context. // GetCrossConnectStatus Gets the status of the specified cross-connect. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectStatus.go.html to see an example of how to use GetCrossConnectStatus API. func (client VirtualNetworkClient) GetCrossConnectStatus(ctx context.Context, request GetCrossConnectStatusRequest) (response GetCrossConnectStatusResponse, err error) { @@ -5858,7 +5860,7 @@ func (client VirtualNetworkClient) getCrossConnectStatus(ctx context.Context, re // GetDhcpOptions Gets the specified set of DHCP options. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDhcpOptions.go.html to see an example of how to use GetDhcpOptions API. func (client VirtualNetworkClient) GetDhcpOptions(ctx context.Context, request GetDhcpOptionsRequest) (response GetDhcpOptionsResponse, err error) { @@ -5912,7 +5914,7 @@ func (client VirtualNetworkClient) getDhcpOptions(ctx context.Context, request c // GetDrg Gets the specified DRG's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrg.go.html to see an example of how to use GetDrg API. func (client VirtualNetworkClient) GetDrg(ctx context.Context, request GetDrgRequest) (response GetDrgResponse, err error) { @@ -5966,7 +5968,7 @@ func (client VirtualNetworkClient) getDrg(ctx context.Context, request common.OC // GetDrgAttachment Gets the `DrgAttachment` resource. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgAttachment.go.html to see an example of how to use GetDrgAttachment API. func (client VirtualNetworkClient) GetDrgAttachment(ctx context.Context, request GetDrgAttachmentRequest) (response GetDrgAttachmentResponse, err error) { @@ -6021,7 +6023,7 @@ func (client VirtualNetworkClient) getDrgAttachment(ctx context.Context, request // GetDrgRedundancyStatus Gets the redundancy status for the specified DRG. For more information, see // Redundancy Remedies (https://docs.cloud.oracle.com/iaas/Content/Network/Troubleshoot/drgredundancy.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRedundancyStatus.go.html to see an example of how to use GetDrgRedundancyStatus API. func (client VirtualNetworkClient) GetDrgRedundancyStatus(ctx context.Context, request GetDrgRedundancyStatusRequest) (response GetDrgRedundancyStatusResponse, err error) { @@ -6075,7 +6077,7 @@ func (client VirtualNetworkClient) getDrgRedundancyStatus(ctx context.Context, r // GetDrgRouteDistribution Gets the specified route distribution's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteDistribution.go.html to see an example of how to use GetDrgRouteDistribution API. func (client VirtualNetworkClient) GetDrgRouteDistribution(ctx context.Context, request GetDrgRouteDistributionRequest) (response GetDrgRouteDistributionResponse, err error) { @@ -6129,7 +6131,7 @@ func (client VirtualNetworkClient) getDrgRouteDistribution(ctx context.Context, // GetDrgRouteTable Gets the specified DRG route table's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteTable.go.html to see an example of how to use GetDrgRouteTable API. func (client VirtualNetworkClient) GetDrgRouteTable(ctx context.Context, request GetDrgRouteTableRequest) (response GetDrgRouteTableResponse, err error) { @@ -6184,7 +6186,7 @@ func (client VirtualNetworkClient) getDrgRouteTable(ctx context.Context, request // GetFastConnectProviderService Gets the specified provider service. // For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderService.go.html to see an example of how to use GetFastConnectProviderService API. func (client VirtualNetworkClient) GetFastConnectProviderService(ctx context.Context, request GetFastConnectProviderServiceRequest) (response GetFastConnectProviderServiceResponse, err error) { @@ -6239,7 +6241,7 @@ func (client VirtualNetworkClient) getFastConnectProviderService(ctx context.Con // GetFastConnectProviderServiceKey Gets the specified provider service key's information. Use this operation to validate a // provider service key. An invalid key returns a 404 error. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderServiceKey.go.html to see an example of how to use GetFastConnectProviderServiceKey API. func (client VirtualNetworkClient) GetFastConnectProviderServiceKey(ctx context.Context, request GetFastConnectProviderServiceKeyRequest) (response GetFastConnectProviderServiceKeyResponse, err error) { @@ -6295,7 +6297,7 @@ func (client VirtualNetworkClient) getFastConnectProviderServiceKey(ctx context. // on-premises router. If you want the status of the connection (whether it's up or down), use // GetIPSecConnectionTunnel. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnection.go.html to see an example of how to use GetIPSecConnection API. func (client VirtualNetworkClient) GetIPSecConnection(ctx context.Context, request GetIPSecConnectionRequest) (response GetIPSecConnectionResponse, err error) { @@ -6351,7 +6353,7 @@ func (client VirtualNetworkClient) getIPSecConnection(ctx context.Context, reque // * GetIPSecConnectionTunnel // * GetIPSecConnectionTunnelSharedSecret // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceConfig.go.html to see an example of how to use GetIPSecConnectionDeviceConfig API. func (client VirtualNetworkClient) GetIPSecConnectionDeviceConfig(ctx context.Context, request GetIPSecConnectionDeviceConfigRequest) (response GetIPSecConnectionDeviceConfigResponse, err error) { @@ -6406,7 +6408,7 @@ func (client VirtualNetworkClient) getIPSecConnectionDeviceConfig(ctx context.Co // GetIPSecConnectionDeviceStatus Deprecated. To get the tunnel status, instead use // GetIPSecConnectionTunnel. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceStatus.go.html to see an example of how to use GetIPSecConnectionDeviceStatus API. func (client VirtualNetworkClient) GetIPSecConnectionDeviceStatus(ctx context.Context, request GetIPSecConnectionDeviceStatusRequest) (response GetIPSecConnectionDeviceStatusResponse, err error) { @@ -6462,7 +6464,7 @@ func (client VirtualNetworkClient) getIPSecConnectionDeviceStatus(ctx context.Co // shared secret (pre-shared key). To retrieve that, use // GetIPSecConnectionTunnelSharedSecret. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnel.go.html to see an example of how to use GetIPSecConnectionTunnel API. func (client VirtualNetworkClient) GetIPSecConnectionTunnel(ctx context.Context, request GetIPSecConnectionTunnelRequest) (response GetIPSecConnectionTunnelResponse, err error) { @@ -6517,7 +6519,7 @@ func (client VirtualNetworkClient) getIPSecConnectionTunnel(ctx context.Context, // GetIPSecConnectionTunnelSharedSecret Gets the specified tunnel's shared secret (pre-shared key). To get other information // about the tunnel, use GetIPSecConnectionTunnel. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use GetIPSecConnectionTunnelSharedSecret API. func (client VirtualNetworkClient) GetIPSecConnectionTunnelSharedSecret(ctx context.Context, request GetIPSecConnectionTunnelSharedSecretRequest) (response GetIPSecConnectionTunnelSharedSecretResponse, err error) { @@ -6571,7 +6573,7 @@ func (client VirtualNetworkClient) getIPSecConnectionTunnelSharedSecret(ctx cont // GetInternetGateway Gets the specified internet gateway's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInternetGateway.go.html to see an example of how to use GetInternetGateway API. func (client VirtualNetworkClient) GetInternetGateway(ctx context.Context, request GetInternetGatewayRequest) (response GetInternetGatewayResponse, err error) { @@ -6635,12 +6637,12 @@ func (client VirtualNetworkClient) getInternetGateway(ctx context.Context, reque // The operation returns configuration information for all tunnels in the single specified // IPSecConnection object. Here are other similar // operations: -// * GetTunnelCpeDeviceConfigContent -// returns CPE configuration content for a specific tunnel within an IPSec connection. -// * GetCpeDeviceConfigContent -// returns CPE configuration content for *all* IPSec connections that use a specific CPE. +// - GetTunnelCpeDeviceConfigContent +// returns CPE configuration content for a specific tunnel within an IPSec connection. +// - GetCpeDeviceConfigContent +// returns CPE configuration content for *all* IPSec connections that use a specific CPE. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpsecCpeDeviceConfigContent.go.html to see an example of how to use GetIpsecCpeDeviceConfigContent API. func (client VirtualNetworkClient) GetIpsecCpeDeviceConfigContent(ctx context.Context, request GetIpsecCpeDeviceConfigContentRequest) (response GetIpsecCpeDeviceConfigContentResponse, err error) { @@ -6696,7 +6698,7 @@ func (client VirtualNetworkClient) getIpsecCpeDeviceConfigContent(ctx context.Co // ListIpv6s // with the IPv6 address (for example, 2001:0db8:0123:1111:98fe:dcba:9876:4321) and subnet OCID. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpv6.go.html to see an example of how to use GetIpv6 API. func (client VirtualNetworkClient) GetIpv6(ctx context.Context, request GetIpv6Request) (response GetIpv6Response, err error) { @@ -6750,7 +6752,7 @@ func (client VirtualNetworkClient) getIpv6(ctx context.Context, request common.O // GetLocalPeeringGateway Gets the specified local peering gateway's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetLocalPeeringGateway.go.html to see an example of how to use GetLocalPeeringGateway API. func (client VirtualNetworkClient) GetLocalPeeringGateway(ctx context.Context, request GetLocalPeeringGatewayRequest) (response GetLocalPeeringGatewayResponse, err error) { @@ -6804,7 +6806,7 @@ func (client VirtualNetworkClient) getLocalPeeringGateway(ctx context.Context, r // GetNatGateway Gets the specified NAT gateway's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNatGateway.go.html to see an example of how to use GetNatGateway API. func (client VirtualNetworkClient) GetNatGateway(ctx context.Context, request GetNatGatewayRequest) (response GetNatGatewayResponse, err error) { @@ -6862,7 +6864,7 @@ func (client VirtualNetworkClient) getNatGateway(ctx context.Context, request co // To list the security rules in an NSG, see // ListNetworkSecurityGroupSecurityRules. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkSecurityGroup.go.html to see an example of how to use GetNetworkSecurityGroup API. func (client VirtualNetworkClient) GetNetworkSecurityGroup(ctx context.Context, request GetNetworkSecurityGroupRequest) (response GetNetworkSecurityGroupResponse, err error) { @@ -6916,7 +6918,7 @@ func (client VirtualNetworkClient) getNetworkSecurityGroup(ctx context.Context, // GetNetworkingTopology Gets a virtual networking topology for the current region. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkingTopology.go.html to see an example of how to use GetNetworkingTopology API. func (client VirtualNetworkClient) GetNetworkingTopology(ctx context.Context, request GetNetworkingTopologyRequest) (response GetNetworkingTopologyResponse, err error) { @@ -6973,7 +6975,7 @@ func (client VirtualNetworkClient) getNetworkingTopology(ctx context.Context, re // ListPrivateIps // with the private IP address (for example, 10.0.3.3) and subnet OCID. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPrivateIp.go.html to see an example of how to use GetPrivateIp API. func (client VirtualNetworkClient) GetPrivateIp(ctx context.Context, request GetPrivateIpRequest) (response GetPrivateIpResponse, err error) { @@ -7034,7 +7036,7 @@ func (client VirtualNetworkClient) getPrivateIp(ctx context.Context, request com // moved to a different private IP, the service returns the public IP object with // `lifecycleState` = ASSIGNING and `assignedEntityId` = OCID of the target private IP. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIp.go.html to see an example of how to use GetPublicIp API. func (client VirtualNetworkClient) GetPublicIp(ctx context.Context, request GetPublicIpRequest) (response GetPublicIpResponse, err error) { @@ -7091,7 +7093,7 @@ func (client VirtualNetworkClient) getPublicIp(ctx context.Context, request comm // moved to a different private IP, the service returns the public IP object with // `lifecycleState` = ASSIGNING and `assignedEntityId` = OCID of the target private IP. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByIpAddress.go.html to see an example of how to use GetPublicIpByIpAddress API. func (client VirtualNetworkClient) GetPublicIpByIpAddress(ctx context.Context, request GetPublicIpByIpAddressRequest) (response GetPublicIpByIpAddressResponse, err error) { @@ -7154,7 +7156,7 @@ func (client VirtualNetworkClient) getPublicIpByIpAddress(ctx context.Context, r // service returns the public IP object with `lifecycleState` = ASSIGNING and // `assignedEntityId` = OCID of the target private IP. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByPrivateIpId.go.html to see an example of how to use GetPublicIpByPrivateIpId API. func (client VirtualNetworkClient) GetPublicIpByPrivateIpId(ctx context.Context, request GetPublicIpByPrivateIpIdRequest) (response GetPublicIpByPrivateIpIdResponse, err error) { @@ -7208,7 +7210,7 @@ func (client VirtualNetworkClient) getPublicIpByPrivateIpId(ctx context.Context, // GetPublicIpPool Gets the specified `PublicIpPool` object. You must specify the object's OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpPool.go.html to see an example of how to use GetPublicIpPool API. func (client VirtualNetworkClient) GetPublicIpPool(ctx context.Context, request GetPublicIpPoolRequest) (response GetPublicIpPoolResponse, err error) { @@ -7262,7 +7264,7 @@ func (client VirtualNetworkClient) getPublicIpPool(ctx context.Context, request // GetRemotePeeringConnection Get the specified remote peering connection's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRemotePeeringConnection.go.html to see an example of how to use GetRemotePeeringConnection API. func (client VirtualNetworkClient) GetRemotePeeringConnection(ctx context.Context, request GetRemotePeeringConnectionRequest) (response GetRemotePeeringConnectionResponse, err error) { @@ -7316,7 +7318,7 @@ func (client VirtualNetworkClient) getRemotePeeringConnection(ctx context.Contex // GetRouteTable Gets the specified route table's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRouteTable.go.html to see an example of how to use GetRouteTable API. func (client VirtualNetworkClient) GetRouteTable(ctx context.Context, request GetRouteTableRequest) (response GetRouteTableResponse, err error) { @@ -7370,7 +7372,7 @@ func (client VirtualNetworkClient) getRouteTable(ctx context.Context, request co // GetSecurityList Gets the specified security list's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSecurityList.go.html to see an example of how to use GetSecurityList API. func (client VirtualNetworkClient) GetSecurityList(ctx context.Context, request GetSecurityListRequest) (response GetSecurityListResponse, err error) { @@ -7424,7 +7426,7 @@ func (client VirtualNetworkClient) getSecurityList(ctx context.Context, request // GetService Gets the specified Service object. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetService.go.html to see an example of how to use GetService API. func (client VirtualNetworkClient) GetService(ctx context.Context, request GetServiceRequest) (response GetServiceResponse, err error) { @@ -7478,7 +7480,7 @@ func (client VirtualNetworkClient) getService(ctx context.Context, request commo // GetServiceGateway Gets the specified service gateway's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetServiceGateway.go.html to see an example of how to use GetServiceGateway API. func (client VirtualNetworkClient) GetServiceGateway(ctx context.Context, request GetServiceGatewayRequest) (response GetServiceGatewayResponse, err error) { @@ -7532,7 +7534,7 @@ func (client VirtualNetworkClient) getServiceGateway(ctx context.Context, reques // GetSubnet Gets the specified subnet's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnet.go.html to see an example of how to use GetSubnet API. func (client VirtualNetworkClient) GetSubnet(ctx context.Context, request GetSubnetRequest) (response GetSubnetResponse, err error) { @@ -7590,7 +7592,7 @@ func (client VirtualNetworkClient) getSubnet(ctx context.Context, request common // information specific to the CPE device type), use // GetTunnelCpeDeviceConfigContent. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfig.go.html to see an example of how to use GetTunnelCpeDeviceConfig API. func (client VirtualNetworkClient) GetTunnelCpeDeviceConfig(ctx context.Context, request GetTunnelCpeDeviceConfigRequest) (response GetTunnelCpeDeviceConfigResponse, err error) { @@ -7653,12 +7655,12 @@ func (client VirtualNetworkClient) getTunnelCpeDeviceConfig(ctx context.Context, // merged with a template of other information specific to the CPE device type. // The operation returns configuration information for only the specified IPSec tunnel. // Here are other similar operations: -// * GetIpsecCpeDeviceConfigContent -// returns CPE configuration content for all tunnels in a single IPSec connection. -// * GetCpeDeviceConfigContent -// returns CPE configuration content for *all* IPSec connections that use a specific CPE. +// - GetIpsecCpeDeviceConfigContent +// returns CPE configuration content for all tunnels in a single IPSec connection. +// - GetCpeDeviceConfigContent +// returns CPE configuration content for *all* IPSec connections that use a specific CPE. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfigContent.go.html to see an example of how to use GetTunnelCpeDeviceConfigContent API. func (client VirtualNetworkClient) GetTunnelCpeDeviceConfigContent(ctx context.Context, request GetTunnelCpeDeviceConfigContentRequest) (response GetTunnelCpeDeviceConfigContentResponse, err error) { @@ -7711,7 +7713,7 @@ func (client VirtualNetworkClient) getTunnelCpeDeviceConfigContent(ctx context.C // GetUpgradeStatus Returns the DRG upgrade status. The status can be not updated, in progress, or updated. Also indicates how much of the upgrade is completed. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetUpgradeStatus.go.html to see an example of how to use GetUpgradeStatus API. func (client VirtualNetworkClient) GetUpgradeStatus(ctx context.Context, request GetUpgradeStatusRequest) (response GetUpgradeStatusResponse, err error) { @@ -7765,7 +7767,7 @@ func (client VirtualNetworkClient) getUpgradeStatus(ctx context.Context, request // GetVcn Gets the specified VCN's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcn.go.html to see an example of how to use GetVcn API. func (client VirtualNetworkClient) GetVcn(ctx context.Context, request GetVcnRequest) (response GetVcnResponse, err error) { @@ -7819,7 +7821,7 @@ func (client VirtualNetworkClient) getVcn(ctx context.Context, request common.OC // GetVcnDnsResolverAssociation Get the associated DNS resolver information with a vcn // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnDnsResolverAssociation.go.html to see an example of how to use GetVcnDnsResolverAssociation API. func (client VirtualNetworkClient) GetVcnDnsResolverAssociation(ctx context.Context, request GetVcnDnsResolverAssociationRequest) (response GetVcnDnsResolverAssociationResponse, err error) { @@ -7873,7 +7875,7 @@ func (client VirtualNetworkClient) getVcnDnsResolverAssociation(ctx context.Cont // GetVcnTopology Gets a virtual network topology for a given VCN. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnTopology.go.html to see an example of how to use GetVcnTopology API. func (client VirtualNetworkClient) GetVcnTopology(ctx context.Context, request GetVcnTopologyRequest) (response GetVcnTopologyResponse, err error) { @@ -7927,7 +7929,7 @@ func (client VirtualNetworkClient) getVcnTopology(ctx context.Context, request c // GetVirtualCircuit Gets the specified virtual circuit's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVirtualCircuit.go.html to see an example of how to use GetVirtualCircuit API. func (client VirtualNetworkClient) GetVirtualCircuit(ctx context.Context, request GetVirtualCircuitRequest) (response GetVirtualCircuitResponse, err error) { @@ -7981,7 +7983,7 @@ func (client VirtualNetworkClient) getVirtualCircuit(ctx context.Context, reques // GetVlan Gets the specified VLAN's information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVlan.go.html to see an example of how to use GetVlan API. func (client VirtualNetworkClient) GetVlan(ctx context.Context, request GetVlanRequest) (response GetVlanResponse, err error) { @@ -8038,7 +8040,7 @@ func (client VirtualNetworkClient) getVlan(ctx context.Context, request common.O // ListVnicAttachments // operation. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnic.go.html to see an example of how to use GetVnic API. func (client VirtualNetworkClient) GetVnic(ctx context.Context, request GetVnicRequest) (response GetVnicResponse, err error) { @@ -8093,7 +8095,7 @@ func (client VirtualNetworkClient) getVnic(ctx context.Context, request common.O // ListAllowedPeerRegionsForRemotePeering Lists the regions that support remote VCN peering (which is peering across regions). // For more information, see VCN Peering (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAllowedPeerRegionsForRemotePeering.go.html to see an example of how to use ListAllowedPeerRegionsForRemotePeering API. func (client VirtualNetworkClient) ListAllowedPeerRegionsForRemotePeering(ctx context.Context, request ListAllowedPeerRegionsForRemotePeeringRequest) (response ListAllowedPeerRegionsForRemotePeeringResponse, err error) { @@ -8148,7 +8150,7 @@ func (client VirtualNetworkClient) listAllowedPeerRegionsForRemotePeering(ctx co // ListByoipAllocatedRanges Lists the subranges of a BYOIP CIDR block currently allocated to an IP pool. // Each `ByoipAllocatedRange` object also lists the IP pool where it is allocated. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipAllocatedRanges.go.html to see an example of how to use ListByoipAllocatedRanges API. func (client VirtualNetworkClient) ListByoipAllocatedRanges(ctx context.Context, request ListByoipAllocatedRangesRequest) (response ListByoipAllocatedRangesResponse, err error) { @@ -8203,7 +8205,7 @@ func (client VirtualNetworkClient) listByoipAllocatedRanges(ctx context.Context, // ListByoipRanges Lists the `ByoipRange` resources in the specified compartment. // You can filter the list using query parameters. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipRanges.go.html to see an example of how to use ListByoipRanges API. func (client VirtualNetworkClient) ListByoipRanges(ctx context.Context, request ListByoipRangesRequest) (response ListByoipRangesResponse, err error) { @@ -8262,11 +8264,11 @@ func (client VirtualNetworkClient) listByoipRanges(ctx context.Context, request // ensure that the Cpe object's `cpeDeviceShapeId` attribute is set // to the CPE device type's OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) (returned by this operation). // For information about generating CPE configuration content, see these operations: -// * GetCpeDeviceConfigContent -// * GetIpsecCpeDeviceConfigContent -// * GetTunnelCpeDeviceConfigContent +// - GetCpeDeviceConfigContent +// - GetIpsecCpeDeviceConfigContent +// - GetTunnelCpeDeviceConfigContent // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpeDeviceShapes.go.html to see an example of how to use ListCpeDeviceShapes API. func (client VirtualNetworkClient) ListCpeDeviceShapes(ctx context.Context, request ListCpeDeviceShapesRequest) (response ListCpeDeviceShapesResponse, err error) { @@ -8320,7 +8322,7 @@ func (client VirtualNetworkClient) listCpeDeviceShapes(ctx context.Context, requ // ListCpes Lists the customer-premises equipment objects (CPEs) in the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpes.go.html to see an example of how to use ListCpes API. func (client VirtualNetworkClient) ListCpes(ctx context.Context, request ListCpesRequest) (response ListCpesResponse, err error) { @@ -8374,7 +8376,7 @@ func (client VirtualNetworkClient) listCpes(ctx context.Context, request common. // ListCrossConnectGroups Lists the cross-connect groups in the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectGroups.go.html to see an example of how to use ListCrossConnectGroups API. func (client VirtualNetworkClient) ListCrossConnectGroups(ctx context.Context, request ListCrossConnectGroupsRequest) (response ListCrossConnectGroupsResponse, err error) { @@ -8429,7 +8431,7 @@ func (client VirtualNetworkClient) listCrossConnectGroups(ctx context.Context, r // ListCrossConnectLocations Lists the available FastConnect locations for cross-connect installation. You need // this information so you can specify your desired location when you create a cross-connect. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectLocations.go.html to see an example of how to use ListCrossConnectLocations API. func (client VirtualNetworkClient) ListCrossConnectLocations(ctx context.Context, request ListCrossConnectLocationsRequest) (response ListCrossConnectLocationsResponse, err error) { @@ -8484,7 +8486,7 @@ func (client VirtualNetworkClient) listCrossConnectLocations(ctx context.Context // ListCrossConnectMappings Lists the Cross Connect mapping Details for the specified // virtual circuit. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectMappings.go.html to see an example of how to use ListCrossConnectMappings API. func (client VirtualNetworkClient) ListCrossConnectMappings(ctx context.Context, request ListCrossConnectMappingsRequest) (response ListCrossConnectMappingsResponse, err error) { @@ -8539,7 +8541,7 @@ func (client VirtualNetworkClient) listCrossConnectMappings(ctx context.Context, // ListCrossConnects Lists the cross-connects in the specified compartment. You can filter the list // by specifying the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of a cross-connect group. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnects.go.html to see an example of how to use ListCrossConnects API. func (client VirtualNetworkClient) ListCrossConnects(ctx context.Context, request ListCrossConnectsRequest) (response ListCrossConnectsResponse, err error) { @@ -8595,7 +8597,7 @@ func (client VirtualNetworkClient) listCrossConnects(ctx context.Context, reques // so you can specify your desired port speed (that is, shape) when you create a // cross-connect. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossconnectPortSpeedShapes.go.html to see an example of how to use ListCrossconnectPortSpeedShapes API. func (client VirtualNetworkClient) ListCrossconnectPortSpeedShapes(ctx context.Context, request ListCrossconnectPortSpeedShapesRequest) (response ListCrossconnectPortSpeedShapesResponse, err error) { @@ -8652,7 +8654,7 @@ func (client VirtualNetworkClient) listCrossconnectPortSpeedShapes(ctx context.C // The response includes the default set of options that automatically comes with each VCN, // plus any other sets you've created. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDhcpOptions.go.html to see an example of how to use ListDhcpOptions API. func (client VirtualNetworkClient) ListDhcpOptions(ctx context.Context, request ListDhcpOptionsRequest) (response ListDhcpOptionsResponse, err error) { @@ -8710,7 +8712,7 @@ func (client VirtualNetworkClient) listDhcpOptions(ctx context.Context, request // The LIST API lists DRG attachments by attachment type. It will default to list VCN attachments, // but you may request to list ALL attachments of ALL types. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgAttachments.go.html to see an example of how to use ListDrgAttachments API. func (client VirtualNetworkClient) ListDrgAttachments(ctx context.Context, request ListDrgAttachmentsRequest) (response ListDrgAttachmentsResponse, err error) { @@ -8764,7 +8766,7 @@ func (client VirtualNetworkClient) listDrgAttachments(ctx context.Context, reque // ListDrgRouteDistributionStatements Lists the statements for the specified route distribution. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributionStatements.go.html to see an example of how to use ListDrgRouteDistributionStatements API. func (client VirtualNetworkClient) ListDrgRouteDistributionStatements(ctx context.Context, request ListDrgRouteDistributionStatementsRequest) (response ListDrgRouteDistributionStatementsResponse, err error) { @@ -8820,7 +8822,7 @@ func (client VirtualNetworkClient) listDrgRouteDistributionStatements(ctx contex // To retrieve the statements in a distribution, use the // ListDrgRouteDistributionStatements operation. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributions.go.html to see an example of how to use ListDrgRouteDistributions API. func (client VirtualNetworkClient) ListDrgRouteDistributions(ctx context.Context, request ListDrgRouteDistributionsRequest) (response ListDrgRouteDistributionsResponse, err error) { @@ -8874,7 +8876,7 @@ func (client VirtualNetworkClient) listDrgRouteDistributions(ctx context.Context // ListDrgRouteRules Lists the route rules in the specified DRG route table. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteRules.go.html to see an example of how to use ListDrgRouteRules API. func (client VirtualNetworkClient) ListDrgRouteRules(ctx context.Context, request ListDrgRouteRulesRequest) (response ListDrgRouteRulesResponse, err error) { @@ -8929,7 +8931,7 @@ func (client VirtualNetworkClient) listDrgRouteRules(ctx context.Context, reques // ListDrgRouteTables Lists the DRG route tables for the specified DRG. // Use the `ListDrgRouteRules` operation to retrieve the route rules in a table. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteTables.go.html to see an example of how to use ListDrgRouteTables API. func (client VirtualNetworkClient) ListDrgRouteTables(ctx context.Context, request ListDrgRouteTablesRequest) (response ListDrgRouteTablesResponse, err error) { @@ -8983,7 +8985,7 @@ func (client VirtualNetworkClient) listDrgRouteTables(ctx context.Context, reque // ListDrgs Lists the DRGs in the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgs.go.html to see an example of how to use ListDrgs API. func (client VirtualNetworkClient) ListDrgs(ctx context.Context, request ListDrgsRequest) (response ListDrgsResponse, err error) { @@ -9041,7 +9043,7 @@ func (client VirtualNetworkClient) listDrgs(ctx context.Context, request common. // For the compartment ID, provide the OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of your tenancy (the root compartment). // For more information, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderServices.go.html to see an example of how to use ListFastConnectProviderServices API. func (client VirtualNetworkClient) ListFastConnectProviderServices(ctx context.Context, request ListFastConnectProviderServicesRequest) (response ListFastConnectProviderServicesResponse, err error) { @@ -9097,7 +9099,7 @@ func (client VirtualNetworkClient) listFastConnectProviderServices(ctx context.C // You need this information so you can specify your desired bandwidth level (shape) when you create a virtual circuit. // For more information about virtual circuits, see FastConnect Overview (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListFastConnectProviderVirtualCircuitBandwidthShapes API. func (client VirtualNetworkClient) ListFastConnectProviderVirtualCircuitBandwidthShapes(ctx context.Context, request ListFastConnectProviderVirtualCircuitBandwidthShapesRequest) (response ListFastConnectProviderVirtualCircuitBandwidthShapesResponse, err error) { @@ -9151,7 +9153,7 @@ func (client VirtualNetworkClient) listFastConnectProviderVirtualCircuitBandwidt // ListIPSecConnectionTunnels Lists the tunnel information for the specified IPSec connection. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnels.go.html to see an example of how to use ListIPSecConnectionTunnels API. func (client VirtualNetworkClient) ListIPSecConnectionTunnels(ctx context.Context, request ListIPSecConnectionTunnelsRequest) (response ListIPSecConnectionTunnelsResponse, err error) { @@ -9206,7 +9208,7 @@ func (client VirtualNetworkClient) listIPSecConnectionTunnels(ctx context.Contex // ListIPSecConnections Lists the IPSec connections for the specified compartment. You can filter the // results by DRG or CPE. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnections.go.html to see an example of how to use ListIPSecConnections API. func (client VirtualNetworkClient) ListIPSecConnections(ctx context.Context, request ListIPSecConnectionsRequest) (response ListIPSecConnectionsResponse, err error) { @@ -9261,7 +9263,7 @@ func (client VirtualNetworkClient) listIPSecConnections(ctx context.Context, req // ListInternetGateways Lists the internet gateways in the specified VCN and the specified compartment. // If the VCN ID is not provided, then the list includes the internet gateways from all VCNs in the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInternetGateways.go.html to see an example of how to use ListInternetGateways API. func (client VirtualNetworkClient) ListInternetGateways(ctx context.Context, request ListInternetGatewaysRequest) (response ListInternetGatewaysResponse, err error) { @@ -9315,13 +9317,13 @@ func (client VirtualNetworkClient) listInternetGateways(ctx context.Context, req // ListIpv6s Lists the Ipv6 objects based // on one of these filters: -// * Subnet OCID. -// * VNIC OCID. -// * Both IPv6 address and subnet OCID: This lets you get an `Ipv6` object based on its private -// IPv6 address (for example, 2001:0db8:0123:1111:abcd:ef01:2345:6789) and not its OCID. For comparison, -// GetIpv6 requires the OCID. +// - Subnet OCID. +// - VNIC OCID. +// - Both IPv6 address and subnet OCID: This lets you get an `Ipv6` object based on its private +// IPv6 address (for example, 2001:0db8:0123:1111:abcd:ef01:2345:6789) and not its OCID. For comparison, +// GetIpv6 requires the OCID. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIpv6s.go.html to see an example of how to use ListIpv6s API. func (client VirtualNetworkClient) ListIpv6s(ctx context.Context, request ListIpv6sRequest) (response ListIpv6sResponse, err error) { @@ -9376,7 +9378,7 @@ func (client VirtualNetworkClient) listIpv6s(ctx context.Context, request common // ListLocalPeeringGateways Lists the local peering gateways (LPGs) for the specified VCN and specified compartment. // If the VCN ID is not provided, then the list includes the LPGs from all VCNs in the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListLocalPeeringGateways.go.html to see an example of how to use ListLocalPeeringGateways API. func (client VirtualNetworkClient) ListLocalPeeringGateways(ctx context.Context, request ListLocalPeeringGatewaysRequest) (response ListLocalPeeringGatewaysResponse, err error) { @@ -9431,7 +9433,7 @@ func (client VirtualNetworkClient) listLocalPeeringGateways(ctx context.Context, // ListNatGateways Lists the NAT gateways in the specified compartment. You may optionally specify a VCN OCID // to filter the results by VCN. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNatGateways.go.html to see an example of how to use ListNatGateways API. func (client VirtualNetworkClient) ListNatGateways(ctx context.Context, request ListNatGatewaysRequest) (response ListNatGatewaysResponse, err error) { @@ -9485,7 +9487,7 @@ func (client VirtualNetworkClient) listNatGateways(ctx context.Context, request // ListNetworkSecurityGroupSecurityRules Lists the security rules in the specified network security group. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupSecurityRules.go.html to see an example of how to use ListNetworkSecurityGroupSecurityRules API. func (client VirtualNetworkClient) ListNetworkSecurityGroupSecurityRules(ctx context.Context, request ListNetworkSecurityGroupSecurityRulesRequest) (response ListNetworkSecurityGroupSecurityRulesResponse, err error) { @@ -9539,7 +9541,7 @@ func (client VirtualNetworkClient) listNetworkSecurityGroupSecurityRules(ctx con // ListNetworkSecurityGroupVnics Lists the VNICs in the specified network security group. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupVnics.go.html to see an example of how to use ListNetworkSecurityGroupVnics API. func (client VirtualNetworkClient) ListNetworkSecurityGroupVnics(ctx context.Context, request ListNetworkSecurityGroupVnicsRequest) (response ListNetworkSecurityGroupVnicsResponse, err error) { @@ -9594,7 +9596,7 @@ func (client VirtualNetworkClient) listNetworkSecurityGroupVnics(ctx context.Con // ListNetworkSecurityGroups Lists either the network security groups in the specified compartment, or those associated with the specified VLAN. // You must specify either a `vlanId` or a `compartmentId`, but not both. If you specify a `vlanId`, all other parameters are ignored. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroups.go.html to see an example of how to use ListNetworkSecurityGroups API. func (client VirtualNetworkClient) ListNetworkSecurityGroups(ctx context.Context, request ListNetworkSecurityGroupsRequest) (response ListNetworkSecurityGroupsResponse, err error) { @@ -9651,16 +9653,17 @@ func (client VirtualNetworkClient) listNetworkSecurityGroups(ctx context.Context // - Subnet OCID. // - VNIC OCID. // - Both private IP address and subnet OCID: This lets -// you get a `privateIP` object based on its private IP -// address (for example, 10.0.3.3) and not its OCID. For comparison, -// GetPrivateIp -// requires the OCID. +// you get a `privateIP` object based on its private IP +// address (for example, 10.0.3.3) and not its OCID. For comparison, +// GetPrivateIp +// requires the OCID. +// // If you're listing all the private IPs associated with a given subnet // or VNIC, the response includes both primary and secondary private IPs. // If you are an Oracle Cloud VMware Solution customer and have VLANs // in your VCN, you can filter the list by VLAN OCID. See Vlan. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPrivateIps.go.html to see an example of how to use ListPrivateIps API. func (client VirtualNetworkClient) ListPrivateIps(ctx context.Context, request ListPrivateIpsRequest) (response ListPrivateIpsResponse, err error) { @@ -9715,7 +9718,7 @@ func (client VirtualNetworkClient) listPrivateIps(ctx context.Context, request c // ListPublicIpPools Lists the public IP pools in the specified compartment. // You can filter the list using query parameters. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIpPools.go.html to see an example of how to use ListPublicIpPools API. func (client VirtualNetworkClient) ListPublicIpPools(ctx context.Context, request ListPublicIpPoolsRequest) (response ListPublicIpPoolsResponse, err error) { @@ -9770,21 +9773,24 @@ func (client VirtualNetworkClient) listPublicIpPools(ctx context.Context, reques // ListPublicIps Lists the PublicIp objects // in the specified compartment. You can filter the list by using query parameters. // To list your reserved public IPs: -// * Set `scope` = `REGION` (required) -// * Leave the `availabilityDomain` parameter empty -// * Set `lifetime` = `RESERVED` +// - Set `scope` = `REGION` (required) +// - Leave the `availabilityDomain` parameter empty +// - Set `lifetime` = `RESERVED` +// // To list the ephemeral public IPs assigned to a regional entity such as a NAT gateway: -// * Set `scope` = `REGION` (required) -// * Leave the `availabilityDomain` parameter empty -// * Set `lifetime` = `EPHEMERAL` +// - Set `scope` = `REGION` (required) +// - Leave the `availabilityDomain` parameter empty +// - Set `lifetime` = `EPHEMERAL` +// // To list the ephemeral public IPs assigned to private IPs: -// * Set `scope` = `AVAILABILITY_DOMAIN` (required) -// * Set the `availabilityDomain` parameter to the desired availability domain (required) -// * Set `lifetime` = `EPHEMERAL` +// - Set `scope` = `AVAILABILITY_DOMAIN` (required) +// - Set the `availabilityDomain` parameter to the desired availability domain (required) +// - Set `lifetime` = `EPHEMERAL` +// // **Note:** An ephemeral public IP assigned to a private IP // is always in the same availability domain and compartment as the private IP. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIps.go.html to see an example of how to use ListPublicIps API. func (client VirtualNetworkClient) ListPublicIps(ctx context.Context, request ListPublicIpsRequest) (response ListPublicIpsResponse, err error) { @@ -9839,7 +9845,7 @@ func (client VirtualNetworkClient) listPublicIps(ctx context.Context, request co // ListRemotePeeringConnections Lists the remote peering connections (RPCs) for the specified DRG and compartment // (the RPC's compartment). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRemotePeeringConnections.go.html to see an example of how to use ListRemotePeeringConnections API. func (client VirtualNetworkClient) ListRemotePeeringConnections(ctx context.Context, request ListRemotePeeringConnectionsRequest) (response ListRemotePeeringConnectionsResponse, err error) { @@ -9896,7 +9902,7 @@ func (client VirtualNetworkClient) listRemotePeeringConnections(ctx context.Cont // The response includes the default route table that automatically comes with // each VCN in the specified compartment, plus any route tables you've created. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRouteTables.go.html to see an example of how to use ListRouteTables API. func (client VirtualNetworkClient) ListRouteTables(ctx context.Context, request ListRouteTablesRequest) (response ListRouteTablesResponse, err error) { @@ -9951,7 +9957,7 @@ func (client VirtualNetworkClient) listRouteTables(ctx context.Context, request // ListSecurityLists Lists the security lists in the specified VCN and compartment. // If the VCN ID is not provided, then the list includes the security lists from all VCNs in the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSecurityLists.go.html to see an example of how to use ListSecurityLists API. func (client VirtualNetworkClient) ListSecurityLists(ctx context.Context, request ListSecurityListsRequest) (response ListSecurityListsResponse, err error) { @@ -10006,7 +10012,7 @@ func (client VirtualNetworkClient) listSecurityLists(ctx context.Context, reques // ListServiceGateways Lists the service gateways in the specified compartment. You may optionally specify a VCN OCID // to filter the results by VCN. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServiceGateways.go.html to see an example of how to use ListServiceGateways API. func (client VirtualNetworkClient) ListServiceGateways(ctx context.Context, request ListServiceGatewaysRequest) (response ListServiceGatewaysResponse, err error) { @@ -10061,7 +10067,7 @@ func (client VirtualNetworkClient) listServiceGateways(ctx context.Context, requ // ListServices Lists the available Service objects that you can enable for a // service gateway in this region. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServices.go.html to see an example of how to use ListServices API. func (client VirtualNetworkClient) ListServices(ctx context.Context, request ListServicesRequest) (response ListServicesResponse, err error) { @@ -10116,7 +10122,7 @@ func (client VirtualNetworkClient) listServices(ctx context.Context, request com // ListSubnets Lists the subnets in the specified VCN and the specified compartment. // If the VCN ID is not provided, then the list includes the subnets from all VCNs in the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSubnets.go.html to see an example of how to use ListSubnets API. func (client VirtualNetworkClient) ListSubnets(ctx context.Context, request ListSubnetsRequest) (response ListSubnetsResponse, err error) { @@ -10170,7 +10176,7 @@ func (client VirtualNetworkClient) listSubnets(ctx context.Context, request comm // ListVcns Lists the virtual cloud networks (VCNs) in the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVcns.go.html to see an example of how to use ListVcns API. func (client VirtualNetworkClient) ListVcns(ctx context.Context, request ListVcnsRequest) (response ListVcnsResponse, err error) { @@ -10224,7 +10230,7 @@ func (client VirtualNetworkClient) listVcns(ctx context.Context, request common. // ListVirtualCircuitBandwidthShapes The deprecated operation lists available bandwidth levels for virtual circuits. For the compartment ID, provide the OCID of your tenancy (the root compartment). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListVirtualCircuitBandwidthShapes API. func (client VirtualNetworkClient) ListVirtualCircuitBandwidthShapes(ctx context.Context, request ListVirtualCircuitBandwidthShapesRequest) (response ListVirtualCircuitBandwidthShapesResponse, err error) { @@ -10279,7 +10285,7 @@ func (client VirtualNetworkClient) listVirtualCircuitBandwidthShapes(ctx context // ListVirtualCircuitPublicPrefixes Lists the public IP prefixes and their details for the specified // public virtual circuit. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitPublicPrefixes.go.html to see an example of how to use ListVirtualCircuitPublicPrefixes API. func (client VirtualNetworkClient) ListVirtualCircuitPublicPrefixes(ctx context.Context, request ListVirtualCircuitPublicPrefixesRequest) (response ListVirtualCircuitPublicPrefixesResponse, err error) { @@ -10333,7 +10339,7 @@ func (client VirtualNetworkClient) listVirtualCircuitPublicPrefixes(ctx context. // ListVirtualCircuits Lists the virtual circuits in the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuits.go.html to see an example of how to use ListVirtualCircuits API. func (client VirtualNetworkClient) ListVirtualCircuits(ctx context.Context, request ListVirtualCircuitsRequest) (response ListVirtualCircuitsResponse, err error) { @@ -10387,7 +10393,7 @@ func (client VirtualNetworkClient) listVirtualCircuits(ctx context.Context, requ // ListVlans Lists the VLANs in the specified VCN and the specified compartment. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVlans.go.html to see an example of how to use ListVlans API. func (client VirtualNetworkClient) ListVlans(ctx context.Context, request ListVlansRequest) (response ListVlansResponse, err error) { @@ -10447,7 +10453,7 @@ func (client VirtualNetworkClient) listVlans(ctx context.Context, request common // - No IP address in an existing subnet should be outside of the new CIDR block range. // **Note:** Modifying a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can vary depending on the size of your network. Updating a small network could take about a minute, and updating a large network could take up to an hour. You can use the `GetWorkRequest` operation to check the status of the update. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ModifyVcnCidr.go.html to see an example of how to use ModifyVcnCidr API. func (client VirtualNetworkClient) ModifyVcnCidr(ctx context.Context, request ModifyVcnCidrRequest) (response ModifyVcnCidrResponse, err error) { @@ -10506,7 +10512,7 @@ func (client VirtualNetworkClient) modifyVcnCidr(ctx context.Context, request co // RemoveDrgRouteDistributionStatements Removes one or more route distribution statements from the specified route distribution's map. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteDistributionStatements.go.html to see an example of how to use RemoveDrgRouteDistributionStatements API. func (client VirtualNetworkClient) RemoveDrgRouteDistributionStatements(ctx context.Context, request RemoveDrgRouteDistributionStatementsRequest) (response RemoveDrgRouteDistributionStatementsResponse, err error) { @@ -10560,7 +10566,7 @@ func (client VirtualNetworkClient) removeDrgRouteDistributionStatements(ctx cont // RemoveDrgRouteRules Removes one or more route rules from the specified DRG route table. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteRules.go.html to see an example of how to use RemoveDrgRouteRules API. func (client VirtualNetworkClient) RemoveDrgRouteRules(ctx context.Context, request RemoveDrgRouteRulesRequest) (response RemoveDrgRouteRulesResponse, err error) { @@ -10614,7 +10620,7 @@ func (client VirtualNetworkClient) removeDrgRouteRules(ctx context.Context, requ // RemoveExportDrgRouteDistribution Removes the export route distribution from the DRG attachment so no routes are advertised to it. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveExportDrgRouteDistribution.go.html to see an example of how to use RemoveExportDrgRouteDistribution API. func (client VirtualNetworkClient) RemoveExportDrgRouteDistribution(ctx context.Context, request RemoveExportDrgRouteDistributionRequest) (response RemoveExportDrgRouteDistributionResponse, err error) { @@ -10669,7 +10675,7 @@ func (client VirtualNetworkClient) removeExportDrgRouteDistribution(ctx context. // RemoveImportDrgRouteDistribution Removes the import route distribution from the DRG route table so no routes are imported // into it. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImportDrgRouteDistribution.go.html to see an example of how to use RemoveImportDrgRouteDistribution API. func (client VirtualNetworkClient) RemoveImportDrgRouteDistribution(ctx context.Context, request RemoveImportDrgRouteDistributionRequest) (response RemoveImportDrgRouteDistributionResponse, err error) { @@ -10723,7 +10729,7 @@ func (client VirtualNetworkClient) removeImportDrgRouteDistribution(ctx context. // RemoveNetworkSecurityGroupSecurityRules Removes one or more security rules from the specified network security group. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveNetworkSecurityGroupSecurityRules.go.html to see an example of how to use RemoveNetworkSecurityGroupSecurityRules API. func (client VirtualNetworkClient) RemoveNetworkSecurityGroupSecurityRules(ctx context.Context, request RemoveNetworkSecurityGroupSecurityRulesRequest) (response RemoveNetworkSecurityGroupSecurityRulesResponse, err error) { @@ -10777,7 +10783,7 @@ func (client VirtualNetworkClient) removeNetworkSecurityGroupSecurityRules(ctx c // RemovePublicIpPoolCapacity Removes a CIDR block from the referenced public IP pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemovePublicIpPoolCapacity.go.html to see an example of how to use RemovePublicIpPoolCapacity API. func (client VirtualNetworkClient) RemovePublicIpPoolCapacity(ctx context.Context, request RemovePublicIpPoolCapacityRequest) (response RemovePublicIpPoolCapacityResponse, err error) { @@ -10839,7 +10845,7 @@ func (client VirtualNetworkClient) removePublicIpPoolCapacity(ctx context.Contex // - You cannot remove a CIDR block if an IP address in its range is in use. // - Removing a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can take a few minutes. You can use the `GetWorkRequest` operation to check the status of the update. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveVcnCidr.go.html to see an example of how to use RemoveVcnCidr API. func (client VirtualNetworkClient) RemoveVcnCidr(ctx context.Context, request RemoveVcnCidrRequest) (response RemoveVcnCidrResponse, err error) { @@ -10898,7 +10904,7 @@ func (client VirtualNetworkClient) removeVcnCidr(ctx context.Context, request co // UpdateByoipRange Updates the tags or display name associated to the specified BYOIP CIDR block. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateByoipRange.go.html to see an example of how to use UpdateByoipRange API. func (client VirtualNetworkClient) UpdateByoipRange(ctx context.Context, request UpdateByoipRangeRequest) (response UpdateByoipRangeResponse, err error) { @@ -10953,7 +10959,7 @@ func (client VirtualNetworkClient) updateByoipRange(ctx context.Context, request // UpdateCpe Updates the specified CPE's display name or tags. // Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCpe.go.html to see an example of how to use UpdateCpe API. func (client VirtualNetworkClient) UpdateCpe(ctx context.Context, request UpdateCpeRequest) (response UpdateCpeResponse, err error) { @@ -11007,7 +11013,7 @@ func (client VirtualNetworkClient) updateCpe(ctx context.Context, request common // UpdateCrossConnect Updates the specified cross-connect. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnect.go.html to see an example of how to use UpdateCrossConnect API. func (client VirtualNetworkClient) UpdateCrossConnect(ctx context.Context, request UpdateCrossConnectRequest) (response UpdateCrossConnectResponse, err error) { @@ -11062,7 +11068,7 @@ func (client VirtualNetworkClient) updateCrossConnect(ctx context.Context, reque // UpdateCrossConnectGroup Updates the specified cross-connect group's display name. // Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnectGroup.go.html to see an example of how to use UpdateCrossConnectGroup API. func (client VirtualNetworkClient) UpdateCrossConnectGroup(ctx context.Context, request UpdateCrossConnectGroupRequest) (response UpdateCrossConnectGroupResponse, err error) { @@ -11118,7 +11124,7 @@ func (client VirtualNetworkClient) updateCrossConnectGroup(ctx context.Context, // themselves. Avoid entering confidential information. // Note that the `options` object you provide replaces the entire existing set of options. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDhcpOptions.go.html to see an example of how to use UpdateDhcpOptions API. func (client VirtualNetworkClient) UpdateDhcpOptions(ctx context.Context, request UpdateDhcpOptionsRequest) (response UpdateDhcpOptionsResponse, err error) { @@ -11172,7 +11178,7 @@ func (client VirtualNetworkClient) updateDhcpOptions(ctx context.Context, reques // UpdateDrg Updates the specified DRG's display name or tags. Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrg.go.html to see an example of how to use UpdateDrg API. func (client VirtualNetworkClient) UpdateDrg(ctx context.Context, request UpdateDrgRequest) (response UpdateDrgResponse, err error) { @@ -11227,7 +11233,7 @@ func (client VirtualNetworkClient) updateDrg(ctx context.Context, request common // UpdateDrgAttachment Updates the display name and routing information for the specified `DrgAttachment`. // Avoid entering confidential information. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgAttachment.go.html to see an example of how to use UpdateDrgAttachment API. func (client VirtualNetworkClient) UpdateDrgAttachment(ctx context.Context, request UpdateDrgAttachmentRequest) (response UpdateDrgAttachmentResponse, err error) { @@ -11281,7 +11287,7 @@ func (client VirtualNetworkClient) updateDrgAttachment(ctx context.Context, requ // UpdateDrgRouteDistribution Updates the specified route distribution // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistribution.go.html to see an example of how to use UpdateDrgRouteDistribution API. func (client VirtualNetworkClient) UpdateDrgRouteDistribution(ctx context.Context, request UpdateDrgRouteDistributionRequest) (response UpdateDrgRouteDistributionResponse, err error) { @@ -11335,7 +11341,7 @@ func (client VirtualNetworkClient) updateDrgRouteDistribution(ctx context.Contex // UpdateDrgRouteDistributionStatements Updates one or more route distribution statements in the specified route distribution. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistributionStatements.go.html to see an example of how to use UpdateDrgRouteDistributionStatements API. func (client VirtualNetworkClient) UpdateDrgRouteDistributionStatements(ctx context.Context, request UpdateDrgRouteDistributionStatementsRequest) (response UpdateDrgRouteDistributionStatementsResponse, err error) { @@ -11389,7 +11395,7 @@ func (client VirtualNetworkClient) updateDrgRouteDistributionStatements(ctx cont // UpdateDrgRouteRules Updates one or more route rules in the specified DRG route table. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteRules.go.html to see an example of how to use UpdateDrgRouteRules API. func (client VirtualNetworkClient) UpdateDrgRouteRules(ctx context.Context, request UpdateDrgRouteRulesRequest) (response UpdateDrgRouteRulesResponse, err error) { @@ -11443,7 +11449,7 @@ func (client VirtualNetworkClient) updateDrgRouteRules(ctx context.Context, requ // UpdateDrgRouteTable Updates the specified DRG route table. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteTable.go.html to see an example of how to use UpdateDrgRouteTable API. func (client VirtualNetworkClient) UpdateDrgRouteTable(ctx context.Context, request UpdateDrgRouteTableRequest) (response UpdateDrgRouteTableResponse, err error) { @@ -11499,7 +11505,7 @@ func (client VirtualNetworkClient) updateDrgRouteTable(ctx context.Context, requ // To update an individual IPSec tunnel's attributes, use // UpdateIPSecConnectionTunnel. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnection.go.html to see an example of how to use UpdateIPSecConnection API. func (client VirtualNetworkClient) UpdateIPSecConnection(ctx context.Context, request UpdateIPSecConnectionRequest) (response UpdateIPSecConnectionResponse, err error) { @@ -11553,15 +11559,15 @@ func (client VirtualNetworkClient) updateIPSecConnection(ctx context.Context, re // UpdateIPSecConnectionTunnel Updates the specified tunnel. This operation lets you change tunnel attributes such as the // routing type (BGP dynamic routing or static routing). Here are some important notes: -// * If you change the tunnel's routing type or BGP session configuration, the tunnel will go +// - If you change the tunnel's routing type or BGP session configuration, the tunnel will go // down while it's reprovisioned. -// * If you want to switch the tunnel's `routing` from `STATIC` to `BGP`, make sure the tunnel's +// - If you want to switch the tunnel's `routing` from `STATIC` to `BGP`, make sure the tunnel's // BGP session configuration attributes have been set (BgpSessionInfo). -// * If you want to switch the tunnel's `routing` from `BGP` to `STATIC`, make sure the +// - If you want to switch the tunnel's `routing` from `BGP` to `STATIC`, make sure the // IPSecConnection already has at least one valid CIDR // static route. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnel.go.html to see an example of how to use UpdateIPSecConnectionTunnel API. func (client VirtualNetworkClient) UpdateIPSecConnectionTunnel(ctx context.Context, request UpdateIPSecConnectionTunnelRequest) (response UpdateIPSecConnectionTunnelResponse, err error) { @@ -11616,7 +11622,7 @@ func (client VirtualNetworkClient) updateIPSecConnectionTunnel(ctx context.Conte // UpdateIPSecConnectionTunnelSharedSecret Updates the shared secret (pre-shared key) for the specified tunnel. // **Important:** If you change the shared secret, the tunnel will go down while it's reprovisioned. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use UpdateIPSecConnectionTunnelSharedSecret API. func (client VirtualNetworkClient) UpdateIPSecConnectionTunnelSharedSecret(ctx context.Context, request UpdateIPSecConnectionTunnelSharedSecretRequest) (response UpdateIPSecConnectionTunnelSharedSecretResponse, err error) { @@ -11673,7 +11679,7 @@ func (client VirtualNetworkClient) updateIPSecConnectionTunnelSharedSecret(ctx c // If the gateway is disabled, that means no traffic will flow to/from the internet even if there's // a route rule that enables that traffic. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInternetGateway.go.html to see an example of how to use UpdateInternetGateway API. func (client VirtualNetworkClient) UpdateInternetGateway(ctx context.Context, request UpdateInternetGatewayRequest) (response UpdateInternetGatewayResponse, err error) { @@ -11727,12 +11733,12 @@ func (client VirtualNetworkClient) updateInternetGateway(ctx context.Context, re // UpdateIpv6 Updates the specified IPv6. You must specify the object's OCID. // Use this operation if you want to: -// * Move an IPv6 to a different VNIC in the same subnet. -// * Enable/disable internet access for an IPv6. -// * Change the display name for an IPv6. -// * Update resource tags for an IPv6. +// - Move an IPv6 to a different VNIC in the same subnet. +// - Enable/disable internet access for an IPv6. +// - Change the display name for an IPv6. +// - Update resource tags for an IPv6. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIpv6.go.html to see an example of how to use UpdateIpv6 API. func (client VirtualNetworkClient) UpdateIpv6(ctx context.Context, request UpdateIpv6Request) (response UpdateIpv6Response, err error) { @@ -11786,7 +11792,7 @@ func (client VirtualNetworkClient) updateIpv6(ctx context.Context, request commo // UpdateLocalPeeringGateway Updates the specified local peering gateway (LPG). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateLocalPeeringGateway.go.html to see an example of how to use UpdateLocalPeeringGateway API. func (client VirtualNetworkClient) UpdateLocalPeeringGateway(ctx context.Context, request UpdateLocalPeeringGatewayRequest) (response UpdateLocalPeeringGatewayResponse, err error) { @@ -11840,7 +11846,7 @@ func (client VirtualNetworkClient) updateLocalPeeringGateway(ctx context.Context // UpdateNatGateway Updates the specified NAT gateway. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNatGateway.go.html to see an example of how to use UpdateNatGateway API. func (client VirtualNetworkClient) UpdateNatGateway(ctx context.Context, request UpdateNatGatewayRequest) (response UpdateNatGatewayResponse, err error) { @@ -11904,7 +11910,7 @@ func (client VirtualNetworkClient) updateNatGateway(ctx context.Context, request // To edit the contents of existing security rules in the group, use // UpdateNetworkSecurityGroupSecurityRules. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroup.go.html to see an example of how to use UpdateNetworkSecurityGroup API. func (client VirtualNetworkClient) UpdateNetworkSecurityGroup(ctx context.Context, request UpdateNetworkSecurityGroupRequest) (response UpdateNetworkSecurityGroupResponse, err error) { @@ -11958,7 +11964,7 @@ func (client VirtualNetworkClient) updateNetworkSecurityGroup(ctx context.Contex // UpdateNetworkSecurityGroupSecurityRules Updates one or more security rules in the specified network security group. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroupSecurityRules.go.html to see an example of how to use UpdateNetworkSecurityGroupSecurityRules API. func (client VirtualNetworkClient) UpdateNetworkSecurityGroupSecurityRules(ctx context.Context, request UpdateNetworkSecurityGroupSecurityRulesRequest) (response UpdateNetworkSecurityGroupSecurityRulesResponse, err error) { @@ -12015,11 +12021,12 @@ func (client VirtualNetworkClient) updateNetworkSecurityGroupSecurityRules(ctx c // - Move a secondary private IP to a different VNIC in the same subnet. // - Change the display name for a secondary private IP. // - Change the hostname for a secondary private IP. +// // This operation cannot be used with primary private IPs. // To update the hostname for the primary IP on a VNIC, use // UpdateVnic. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePrivateIp.go.html to see an example of how to use UpdatePrivateIp API. func (client VirtualNetworkClient) UpdatePrivateIp(ctx context.Context, request UpdatePrivateIpRequest) (response UpdatePrivateIpResponse, err error) { @@ -12104,7 +12111,7 @@ func (client VirtualNetworkClient) updatePrivateIp(ctx context.Context, request // returned. For information about the public IP limits, see // Public IP Addresses (https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIp.go.html to see an example of how to use UpdatePublicIp API. func (client VirtualNetworkClient) UpdatePublicIp(ctx context.Context, request UpdatePublicIpRequest) (response UpdatePublicIpResponse, err error) { @@ -12158,7 +12165,7 @@ func (client VirtualNetworkClient) updatePublicIp(ctx context.Context, request c // UpdatePublicIpPool Updates the specified public IP pool. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIpPool.go.html to see an example of how to use UpdatePublicIpPool API. func (client VirtualNetworkClient) UpdatePublicIpPool(ctx context.Context, request UpdatePublicIpPoolRequest) (response UpdatePublicIpPoolResponse, err error) { @@ -12212,7 +12219,7 @@ func (client VirtualNetworkClient) updatePublicIpPool(ctx context.Context, reque // UpdateRemotePeeringConnection Updates the specified remote peering connection (RPC). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRemotePeeringConnection.go.html to see an example of how to use UpdateRemotePeeringConnection API. func (client VirtualNetworkClient) UpdateRemotePeeringConnection(ctx context.Context, request UpdateRemotePeeringConnectionRequest) (response UpdateRemotePeeringConnectionResponse, err error) { @@ -12268,7 +12275,7 @@ func (client VirtualNetworkClient) updateRemotePeeringConnection(ctx context.Con // Avoid entering confidential information. // Note that the `routeRules` object you provide replaces the entire existing set of rules. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRouteTable.go.html to see an example of how to use UpdateRouteTable API. func (client VirtualNetworkClient) UpdateRouteTable(ctx context.Context, request UpdateRouteTableRequest) (response UpdateRouteTableResponse, err error) { @@ -12325,7 +12332,7 @@ func (client VirtualNetworkClient) updateRouteTable(ctx context.Context, request // Note that the `egressSecurityRules` or `ingressSecurityRules` objects you provide replace the entire // existing objects. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSecurityList.go.html to see an example of how to use UpdateSecurityList API. func (client VirtualNetworkClient) UpdateSecurityList(ctx context.Context, request UpdateSecurityListRequest) (response UpdateSecurityListResponse, err error) { @@ -12380,7 +12387,7 @@ func (client VirtualNetworkClient) updateSecurityList(ctx context.Context, reque // UpdateServiceGateway Updates the specified service gateway. The information you provide overwrites the existing // attributes of the gateway. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateServiceGateway.go.html to see an example of how to use UpdateServiceGateway API. func (client VirtualNetworkClient) UpdateServiceGateway(ctx context.Context, request UpdateServiceGatewayRequest) (response UpdateServiceGatewayResponse, err error) { @@ -12434,7 +12441,7 @@ func (client VirtualNetworkClient) updateServiceGateway(ctx context.Context, req // UpdateSubnet Updates the specified subnet. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSubnet.go.html to see an example of how to use UpdateSubnet API. func (client VirtualNetworkClient) UpdateSubnet(ctx context.Context, request UpdateSubnetRequest) (response UpdateSubnetResponse, err error) { @@ -12490,7 +12497,7 @@ func (client VirtualNetworkClient) updateSubnet(ctx context.Context, request com // The answers correlate to the questions that are specific to the CPE device type (see the // `parameters` attribute of CpeDeviceShapeDetail). // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateTunnelCpeDeviceConfig.go.html to see an example of how to use UpdateTunnelCpeDeviceConfig API. func (client VirtualNetworkClient) UpdateTunnelCpeDeviceConfig(ctx context.Context, request UpdateTunnelCpeDeviceConfigRequest) (response UpdateTunnelCpeDeviceConfigResponse, err error) { @@ -12549,7 +12556,7 @@ func (client VirtualNetworkClient) updateTunnelCpeDeviceConfig(ctx context.Conte // UpdateVcn Updates the specified VCN. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVcn.go.html to see an example of how to use UpdateVcn API. func (client VirtualNetworkClient) UpdateVcn(ctx context.Context, request UpdateVcnRequest) (response UpdateVcnResponse, err error) { @@ -12624,7 +12631,7 @@ func (client VirtualNetworkClient) updateVcn(ctx context.Context, request common // Oracle must verify the customer's ownership of each added prefix before // traffic for that prefix will flow across the virtual circuit. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVirtualCircuit.go.html to see an example of how to use UpdateVirtualCircuit API. func (client VirtualNetworkClient) UpdateVirtualCircuit(ctx context.Context, request UpdateVirtualCircuitRequest) (response UpdateVirtualCircuitResponse, err error) { @@ -12679,7 +12686,7 @@ func (client VirtualNetworkClient) updateVirtualCircuit(ctx context.Context, req // UpdateVlan Updates the specified VLAN. Note that this operation might require changes to all // the VNICs in the VLAN, which can take a while. The VLAN will be in the UPDATING state until the changes are complete. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVlan.go.html to see an example of how to use UpdateVlan API. func (client VirtualNetworkClient) UpdateVlan(ctx context.Context, request UpdateVlanRequest) (response UpdateVlanResponse, err error) { @@ -12733,7 +12740,7 @@ func (client VirtualNetworkClient) updateVlan(ctx context.Context, request commo // UpdateVnic Updates the specified VNIC. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVnic.go.html to see an example of how to use UpdateVnic API. func (client VirtualNetworkClient) UpdateVnic(ctx context.Context, request UpdateVnicRequest) (response UpdateVnicResponse, err error) { @@ -12788,7 +12795,7 @@ func (client VirtualNetworkClient) updateVnic(ctx context.Context, request commo // UpgradeDrg Upgrades the DRG. After upgrade, you can control routing inside your DRG // via DRG attachments, route distributions, and DRG route tables. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpgradeDrg.go.html to see an example of how to use UpgradeDrg API. func (client VirtualNetworkClient) UpgradeDrg(ctx context.Context, request UpgradeDrgRequest) (response UpgradeDrgResponse, err error) { @@ -12848,7 +12855,7 @@ func (client VirtualNetworkClient) upgradeDrg(ctx context.Context, request commo // ValidateByoipRange Submits the BYOIP CIDR block you are importing for validation. Do not submit to Oracle for validation if you have not already // modified the information for the BYOIP CIDR block with your Regional Internet Registry. See To import a CIDR block (https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOIP.htm#import_cidr) for details. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ValidateByoipRange.go.html to see an example of how to use ValidateByoipRange API. func (client VirtualNetworkClient) ValidateByoipRange(ctx context.Context, request ValidateByoipRangeRequest) (response ValidateByoipRangeResponse, err error) { @@ -12902,7 +12909,7 @@ func (client VirtualNetworkClient) validateByoipRange(ctx context.Context, reque // WithdrawByoipRange Withdraws BGP route advertisement for the BYOIP CIDR block. // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/WithdrawByoipRange.go.html to see an example of how to use WithdrawByoipRange API. func (client VirtualNetworkClient) WithdrawByoipRange(ctx context.Context, request WithdrawByoipRangeRequest) (response WithdrawByoipRangeResponse, err error) { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_app_catalog_subscription_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_app_catalog_subscription_request_response.go index f95fff6322ea..8f1c2194c57b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_app_catalog_subscription_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_app_catalog_subscription_request_response.go @@ -11,7 +11,7 @@ import ( // CreateAppCatalogSubscriptionRequest wrapper for the CreateAppCatalogSubscription operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateAppCatalogSubscription.go.html to see an example of how to use CreateAppCatalogSubscriptionRequest. type CreateAppCatalogSubscriptionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_boot_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_boot_volume_backup_request_response.go index de2542ac1ede..99a2c13afb64 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_boot_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_boot_volume_backup_request_response.go @@ -11,7 +11,7 @@ import ( // CreateBootVolumeBackupRequest wrapper for the CreateBootVolumeBackup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolumeBackup.go.html to see an example of how to use CreateBootVolumeBackupRequest. type CreateBootVolumeBackupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_boot_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_boot_volume_request_response.go index 6c6c19a5ee6e..1fe22ee1ff8a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_boot_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_boot_volume_request_response.go @@ -11,7 +11,7 @@ import ( // CreateBootVolumeRequest wrapper for the CreateBootVolume operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateBootVolume.go.html to see an example of how to use CreateBootVolumeRequest. type CreateBootVolumeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_byoip_range_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_byoip_range_request_response.go index de4dcf6388b6..c778df21cded 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_byoip_range_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_byoip_range_request_response.go @@ -11,7 +11,7 @@ import ( // CreateByoipRangeRequest wrapper for the CreateByoipRange operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateByoipRange.go.html to see an example of how to use CreateByoipRangeRequest. type CreateByoipRangeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cluster_network_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cluster_network_request_response.go index 5c0c5c294c86..7bd6f368cc61 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cluster_network_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cluster_network_request_response.go @@ -11,7 +11,7 @@ import ( // CreateClusterNetworkRequest wrapper for the CreateClusterNetwork operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateClusterNetwork.go.html to see an example of how to use CreateClusterNetworkRequest. type CreateClusterNetworkRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_compute_capacity_reservation_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_compute_capacity_reservation_request_response.go index 2f18b9213ca6..2d78c9040007 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_compute_capacity_reservation_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_compute_capacity_reservation_request_response.go @@ -11,7 +11,7 @@ import ( // CreateComputeCapacityReservationRequest wrapper for the CreateComputeCapacityReservation operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeCapacityReservation.go.html to see an example of how to use CreateComputeCapacityReservationRequest. type CreateComputeCapacityReservationRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_compute_image_capability_schema_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_compute_image_capability_schema_request_response.go index 0bb9d74e6aec..e4752f9affce 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_compute_image_capability_schema_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_compute_image_capability_schema_request_response.go @@ -11,7 +11,7 @@ import ( // CreateComputeImageCapabilitySchemaRequest wrapper for the CreateComputeImageCapabilitySchema operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateComputeImageCapabilitySchema.go.html to see an example of how to use CreateComputeImageCapabilitySchemaRequest. type CreateComputeImageCapabilitySchemaRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cpe_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cpe_request_response.go index a4ee21f109ec..321a7cbf2d65 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cpe_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cpe_request_response.go @@ -11,7 +11,7 @@ import ( // CreateCpeRequest wrapper for the CreateCpe operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCpe.go.html to see an example of how to use CreateCpeRequest. type CreateCpeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cross_connect_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cross_connect_group_request_response.go index 2eb045603e26..4c3207806a05 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cross_connect_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cross_connect_group_request_response.go @@ -11,7 +11,7 @@ import ( // CreateCrossConnectGroupRequest wrapper for the CreateCrossConnectGroup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnectGroup.go.html to see an example of how to use CreateCrossConnectGroupRequest. type CreateCrossConnectGroupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cross_connect_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cross_connect_request_response.go index b0a5069b1c30..ff5f690c698f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cross_connect_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_cross_connect_request_response.go @@ -11,7 +11,7 @@ import ( // CreateCrossConnectRequest wrapper for the CreateCrossConnect operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateCrossConnect.go.html to see an example of how to use CreateCrossConnectRequest. type CreateCrossConnectRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_dedicated_vm_host_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_dedicated_vm_host_request_response.go index 2ba9db7d5f5d..034e3cf8ed0c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_dedicated_vm_host_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_dedicated_vm_host_request_response.go @@ -11,7 +11,7 @@ import ( // CreateDedicatedVmHostRequest wrapper for the CreateDedicatedVmHost operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDedicatedVmHost.go.html to see an example of how to use CreateDedicatedVmHostRequest. type CreateDedicatedVmHostRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_dhcp_options_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_dhcp_options_request_response.go index 87a641be4e31..9d5ea6d6479c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_dhcp_options_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_dhcp_options_request_response.go @@ -11,7 +11,7 @@ import ( // CreateDhcpOptionsRequest wrapper for the CreateDhcpOptions operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDhcpOptions.go.html to see an example of how to use CreateDhcpOptionsRequest. type CreateDhcpOptionsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_attachment_request_response.go index b1ce3f107944..6ae97118643b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_attachment_request_response.go @@ -11,7 +11,7 @@ import ( // CreateDrgAttachmentRequest wrapper for the CreateDrgAttachment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgAttachment.go.html to see an example of how to use CreateDrgAttachmentRequest. type CreateDrgAttachmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_request_response.go index 158179130c0b..5ca51654733f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_request_response.go @@ -11,7 +11,7 @@ import ( // CreateDrgRequest wrapper for the CreateDrg operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrg.go.html to see an example of how to use CreateDrgRequest. type CreateDrgRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_route_distribution_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_route_distribution_request_response.go index 439b03a5420b..158563a080d7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_route_distribution_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_route_distribution_request_response.go @@ -11,7 +11,7 @@ import ( // CreateDrgRouteDistributionRequest wrapper for the CreateDrgRouteDistribution operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteDistribution.go.html to see an example of how to use CreateDrgRouteDistributionRequest. type CreateDrgRouteDistributionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_route_table_request_response.go index a7748803ee72..45fc4a70b191 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_drg_route_table_request_response.go @@ -11,7 +11,7 @@ import ( // CreateDrgRouteTableRequest wrapper for the CreateDrgRouteTable operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateDrgRouteTable.go.html to see an example of how to use CreateDrgRouteTableRequest. type CreateDrgRouteTableRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_i_p_sec_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_i_p_sec_connection_request_response.go index b4bbbfbb6e6c..c6386beb61ee 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_i_p_sec_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_i_p_sec_connection_request_response.go @@ -11,7 +11,7 @@ import ( // CreateIPSecConnectionRequest wrapper for the CreateIPSecConnection operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIPSecConnection.go.html to see an example of how to use CreateIPSecConnectionRequest. type CreateIPSecConnectionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_image_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_image_request_response.go index 4b7a9aa7131e..fb63240b45f3 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_image_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_image_request_response.go @@ -11,7 +11,7 @@ import ( // CreateImageRequest wrapper for the CreateImage operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateImage.go.html to see an example of how to use CreateImageRequest. type CreateImageRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_base.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_base.go index 8a752ec0ea45..756b1f8c4590 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_base.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_base.go @@ -91,22 +91,22 @@ func (m *createinstanceconfigurationbase) UnmarshalPolymorphicJSON(data []byte) } } -//GetCompartmentId returns CompartmentId +// GetCompartmentId returns CompartmentId func (m createinstanceconfigurationbase) GetCompartmentId() *string { return m.CompartmentId } -//GetDefinedTags returns DefinedTags +// GetDefinedTags returns DefinedTags func (m createinstanceconfigurationbase) GetDefinedTags() map[string]map[string]interface{} { return m.DefinedTags } -//GetDisplayName returns DisplayName +// GetDisplayName returns DisplayName func (m createinstanceconfigurationbase) GetDisplayName() *string { return m.DisplayName } -//GetFreeformTags returns FreeformTags +// GetFreeformTags returns FreeformTags func (m createinstanceconfigurationbase) GetFreeformTags() map[string]string { return m.FreeformTags } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_details.go index 18c2b8f086a8..253732482626 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_details.go @@ -42,22 +42,22 @@ type CreateInstanceConfigurationDetails struct { FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } -//GetCompartmentId returns CompartmentId +// GetCompartmentId returns CompartmentId func (m CreateInstanceConfigurationDetails) GetCompartmentId() *string { return m.CompartmentId } -//GetDefinedTags returns DefinedTags +// GetDefinedTags returns DefinedTags func (m CreateInstanceConfigurationDetails) GetDefinedTags() map[string]map[string]interface{} { return m.DefinedTags } -//GetDisplayName returns DisplayName +// GetDisplayName returns DisplayName func (m CreateInstanceConfigurationDetails) GetDisplayName() *string { return m.DisplayName } -//GetFreeformTags returns FreeformTags +// GetFreeformTags returns FreeformTags func (m CreateInstanceConfigurationDetails) GetFreeformTags() map[string]string { return m.FreeformTags } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_from_instance_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_from_instance_details.go index 321dfc932cca..6013364e5333 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_from_instance_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_from_instance_details.go @@ -44,22 +44,22 @@ type CreateInstanceConfigurationFromInstanceDetails struct { FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` } -//GetCompartmentId returns CompartmentId +// GetCompartmentId returns CompartmentId func (m CreateInstanceConfigurationFromInstanceDetails) GetCompartmentId() *string { return m.CompartmentId } -//GetDefinedTags returns DefinedTags +// GetDefinedTags returns DefinedTags func (m CreateInstanceConfigurationFromInstanceDetails) GetDefinedTags() map[string]map[string]interface{} { return m.DefinedTags } -//GetDisplayName returns DisplayName +// GetDisplayName returns DisplayName func (m CreateInstanceConfigurationFromInstanceDetails) GetDisplayName() *string { return m.DisplayName } -//GetFreeformTags returns FreeformTags +// GetFreeformTags returns FreeformTags func (m CreateInstanceConfigurationFromInstanceDetails) GetFreeformTags() map[string]string { return m.FreeformTags } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_request_response.go index 1539bb432480..46422e469522 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_configuration_request_response.go @@ -11,7 +11,7 @@ import ( // CreateInstanceConfigurationRequest wrapper for the CreateInstanceConfiguration operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConfiguration.go.html to see an example of how to use CreateInstanceConfigurationRequest. type CreateInstanceConfigurationRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_console_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_console_connection_request_response.go index e01be32a827d..04ca7fa9a198 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_console_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_console_connection_request_response.go @@ -11,7 +11,7 @@ import ( // CreateInstanceConsoleConnectionRequest wrapper for the CreateInstanceConsoleConnection operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstanceConsoleConnection.go.html to see an example of how to use CreateInstanceConsoleConnectionRequest. type CreateInstanceConsoleConnectionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_pool_request_response.go index cc542ba860ce..2f49446f110d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_instance_pool_request_response.go @@ -11,7 +11,7 @@ import ( // CreateInstancePoolRequest wrapper for the CreateInstancePool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInstancePool.go.html to see an example of how to use CreateInstancePoolRequest. type CreateInstancePoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_internet_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_internet_gateway_request_response.go index 33bcc8ffe18e..71b074841e48 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_internet_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_internet_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // CreateInternetGatewayRequest wrapper for the CreateInternetGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateInternetGateway.go.html to see an example of how to use CreateInternetGatewayRequest. type CreateInternetGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_ipv6_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_ipv6_request_response.go index 826721d3d8d6..83b23dfe5a13 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_ipv6_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_ipv6_request_response.go @@ -11,7 +11,7 @@ import ( // CreateIpv6Request wrapper for the CreateIpv6 operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateIpv6.go.html to see an example of how to use CreateIpv6Request. type CreateIpv6Request struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_local_peering_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_local_peering_gateway_request_response.go index 0fe35168dbe2..187adb2579bb 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_local_peering_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_local_peering_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // CreateLocalPeeringGatewayRequest wrapper for the CreateLocalPeeringGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateLocalPeeringGateway.go.html to see an example of how to use CreateLocalPeeringGatewayRequest. type CreateLocalPeeringGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_nat_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_nat_gateway_request_response.go index acef3a895a4b..0b2feccd412c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_nat_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_nat_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // CreateNatGatewayRequest wrapper for the CreateNatGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNatGateway.go.html to see an example of how to use CreateNatGatewayRequest. type CreateNatGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_network_security_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_network_security_group_request_response.go index 633d8d9614dd..4e9b76c19339 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_network_security_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_network_security_group_request_response.go @@ -11,7 +11,7 @@ import ( // CreateNetworkSecurityGroupRequest wrapper for the CreateNetworkSecurityGroup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateNetworkSecurityGroup.go.html to see an example of how to use CreateNetworkSecurityGroupRequest. type CreateNetworkSecurityGroupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_private_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_private_ip_request_response.go index eda8ccb53519..9ad5438b3ba4 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_private_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_private_ip_request_response.go @@ -11,7 +11,7 @@ import ( // CreatePrivateIpRequest wrapper for the CreatePrivateIp operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePrivateIp.go.html to see an example of how to use CreatePrivateIpRequest. type CreatePrivateIpRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_public_ip_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_public_ip_pool_request_response.go index 00d7173f7ba7..0969b4db4360 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_public_ip_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_public_ip_pool_request_response.go @@ -11,7 +11,7 @@ import ( // CreatePublicIpPoolRequest wrapper for the CreatePublicIpPool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIpPool.go.html to see an example of how to use CreatePublicIpPoolRequest. type CreatePublicIpPoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_public_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_public_ip_request_response.go index 4ec9b7c39fb1..e91cefbec7cd 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_public_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_public_ip_request_response.go @@ -11,7 +11,7 @@ import ( // CreatePublicIpRequest wrapper for the CreatePublicIp operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreatePublicIp.go.html to see an example of how to use CreatePublicIpRequest. type CreatePublicIpRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_remote_peering_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_remote_peering_connection_request_response.go index 9f2502f04d2d..32ceee1836d7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_remote_peering_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_remote_peering_connection_request_response.go @@ -11,7 +11,7 @@ import ( // CreateRemotePeeringConnectionRequest wrapper for the CreateRemotePeeringConnection operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRemotePeeringConnection.go.html to see an example of how to use CreateRemotePeeringConnectionRequest. type CreateRemotePeeringConnectionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_route_table_request_response.go index f5b62dbd0c5f..cfdd6d7c6fe5 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_route_table_request_response.go @@ -11,7 +11,7 @@ import ( // CreateRouteTableRequest wrapper for the CreateRouteTable operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateRouteTable.go.html to see an example of how to use CreateRouteTableRequest. type CreateRouteTableRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_security_list_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_security_list_request_response.go index 0d96e16f060d..3a7232cd407a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_security_list_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_security_list_request_response.go @@ -11,7 +11,7 @@ import ( // CreateSecurityListRequest wrapper for the CreateSecurityList operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSecurityList.go.html to see an example of how to use CreateSecurityListRequest. type CreateSecurityListRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_service_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_service_gateway_request_response.go index 16df41b83378..6f565713cbc6 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_service_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_service_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // CreateServiceGatewayRequest wrapper for the CreateServiceGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateServiceGateway.go.html to see an example of how to use CreateServiceGatewayRequest. type CreateServiceGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_subnet_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_subnet_request_response.go index d9fe004c77e4..951421b8adbb 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_subnet_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_subnet_request_response.go @@ -11,7 +11,7 @@ import ( // CreateSubnetRequest wrapper for the CreateSubnet operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateSubnet.go.html to see an example of how to use CreateSubnetRequest. type CreateSubnetRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_vcn_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_vcn_request_response.go index b88392d92306..775c3d72780a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_vcn_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_vcn_request_response.go @@ -11,7 +11,7 @@ import ( // CreateVcnRequest wrapper for the CreateVcn operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVcn.go.html to see an example of how to use CreateVcnRequest. type CreateVcnRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_virtual_circuit_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_virtual_circuit_request_response.go index bd378070f20b..dcedf799c2bc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_virtual_circuit_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_virtual_circuit_request_response.go @@ -11,7 +11,7 @@ import ( // CreateVirtualCircuitRequest wrapper for the CreateVirtualCircuit operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVirtualCircuit.go.html to see an example of how to use CreateVirtualCircuitRequest. type CreateVirtualCircuitRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_vlan_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_vlan_request_response.go index 99f3f2d91d43..18d7382d1ef3 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_vlan_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_vlan_request_response.go @@ -11,7 +11,7 @@ import ( // CreateVlanRequest wrapper for the CreateVlan operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVlan.go.html to see an example of how to use CreateVlanRequest. type CreateVlanRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_backup_policy_assignment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_backup_policy_assignment_request_response.go index 90e4fe902afc..9ecaeb11defb 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_backup_policy_assignment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_backup_policy_assignment_request_response.go @@ -11,7 +11,7 @@ import ( // CreateVolumeBackupPolicyAssignmentRequest wrapper for the CreateVolumeBackupPolicyAssignment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicyAssignment.go.html to see an example of how to use CreateVolumeBackupPolicyAssignmentRequest. type CreateVolumeBackupPolicyAssignmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_backup_policy_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_backup_policy_request_response.go index 06d769e5fbfd..918de3e698f3 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_backup_policy_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_backup_policy_request_response.go @@ -11,7 +11,7 @@ import ( // CreateVolumeBackupPolicyRequest wrapper for the CreateVolumeBackupPolicy operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackupPolicy.go.html to see an example of how to use CreateVolumeBackupPolicyRequest. type CreateVolumeBackupPolicyRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_backup_request_response.go index 08975bd22503..5e8029e514b2 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_backup_request_response.go @@ -11,7 +11,7 @@ import ( // CreateVolumeBackupRequest wrapper for the CreateVolumeBackup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeBackup.go.html to see an example of how to use CreateVolumeBackupRequest. type CreateVolumeBackupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_group_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_group_backup_request_response.go index a841dfadc2e5..0906df2d4ea0 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_group_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_group_backup_request_response.go @@ -11,7 +11,7 @@ import ( // CreateVolumeGroupBackupRequest wrapper for the CreateVolumeGroupBackup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroupBackup.go.html to see an example of how to use CreateVolumeGroupBackupRequest. type CreateVolumeGroupBackupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_group_request_response.go index 994218e40f1d..b022382021b4 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_group_request_response.go @@ -11,7 +11,7 @@ import ( // CreateVolumeGroupRequest wrapper for the CreateVolumeGroup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolumeGroup.go.html to see an example of how to use CreateVolumeGroupRequest. type CreateVolumeGroupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_request_response.go index eb7d640eecde..6d985580e9ea 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/create_volume_request_response.go @@ -11,7 +11,7 @@ import ( // CreateVolumeRequest wrapper for the CreateVolume operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/CreateVolume.go.html to see an example of how to use CreateVolumeRequest. type CreateVolumeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_app_catalog_subscription_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_app_catalog_subscription_request_response.go index 0546ae365ebc..6a5d6f0445f9 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_app_catalog_subscription_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_app_catalog_subscription_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteAppCatalogSubscriptionRequest wrapper for the DeleteAppCatalogSubscription operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteAppCatalogSubscription.go.html to see an example of how to use DeleteAppCatalogSubscriptionRequest. type DeleteAppCatalogSubscriptionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_boot_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_boot_volume_backup_request_response.go index 6f17c580d8b6..1887d8debe1a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_boot_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_boot_volume_backup_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteBootVolumeBackupRequest wrapper for the DeleteBootVolumeBackup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeBackup.go.html to see an example of how to use DeleteBootVolumeBackupRequest. type DeleteBootVolumeBackupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_boot_volume_kms_key_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_boot_volume_kms_key_request_response.go index 82a50d5ea3a8..3af3f3642dcb 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_boot_volume_kms_key_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_boot_volume_kms_key_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteBootVolumeKmsKeyRequest wrapper for the DeleteBootVolumeKmsKey operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolumeKmsKey.go.html to see an example of how to use DeleteBootVolumeKmsKeyRequest. type DeleteBootVolumeKmsKeyRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_boot_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_boot_volume_request_response.go index ff9ee68c6300..9553584904dc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_boot_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_boot_volume_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteBootVolumeRequest wrapper for the DeleteBootVolume operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteBootVolume.go.html to see an example of how to use DeleteBootVolumeRequest. type DeleteBootVolumeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_byoip_range_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_byoip_range_request_response.go index 218a50b28307..bea9ac12062f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_byoip_range_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_byoip_range_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteByoipRangeRequest wrapper for the DeleteByoipRange operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteByoipRange.go.html to see an example of how to use DeleteByoipRangeRequest. type DeleteByoipRangeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_compute_capacity_reservation_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_compute_capacity_reservation_request_response.go index 54740d27f0b1..5bda8d763432 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_compute_capacity_reservation_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_compute_capacity_reservation_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteComputeCapacityReservationRequest wrapper for the DeleteComputeCapacityReservation operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeCapacityReservation.go.html to see an example of how to use DeleteComputeCapacityReservationRequest. type DeleteComputeCapacityReservationRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_compute_image_capability_schema_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_compute_image_capability_schema_request_response.go index f8a253170440..95a689b94daa 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_compute_image_capability_schema_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_compute_image_capability_schema_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteComputeImageCapabilitySchemaRequest wrapper for the DeleteComputeImageCapabilitySchema operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteComputeImageCapabilitySchema.go.html to see an example of how to use DeleteComputeImageCapabilitySchemaRequest. type DeleteComputeImageCapabilitySchemaRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_console_history_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_console_history_request_response.go index c120bb29e888..9903a2bae82d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_console_history_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_console_history_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteConsoleHistoryRequest wrapper for the DeleteConsoleHistory operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteConsoleHistory.go.html to see an example of how to use DeleteConsoleHistoryRequest. type DeleteConsoleHistoryRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_cpe_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_cpe_request_response.go index 0249b1cc9ab2..8822530a41bf 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_cpe_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_cpe_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteCpeRequest wrapper for the DeleteCpe operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCpe.go.html to see an example of how to use DeleteCpeRequest. type DeleteCpeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_cross_connect_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_cross_connect_group_request_response.go index bd193a48af80..9452ba2fb83e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_cross_connect_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_cross_connect_group_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteCrossConnectGroupRequest wrapper for the DeleteCrossConnectGroup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnectGroup.go.html to see an example of how to use DeleteCrossConnectGroupRequest. type DeleteCrossConnectGroupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_cross_connect_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_cross_connect_request_response.go index 3cf4ed3db569..9625f35e9bf5 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_cross_connect_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_cross_connect_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteCrossConnectRequest wrapper for the DeleteCrossConnect operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteCrossConnect.go.html to see an example of how to use DeleteCrossConnectRequest. type DeleteCrossConnectRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_dedicated_vm_host_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_dedicated_vm_host_request_response.go index b0ff6ac4655b..bb6640b72a0d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_dedicated_vm_host_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_dedicated_vm_host_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteDedicatedVmHostRequest wrapper for the DeleteDedicatedVmHost operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDedicatedVmHost.go.html to see an example of how to use DeleteDedicatedVmHostRequest. type DeleteDedicatedVmHostRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_dhcp_options_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_dhcp_options_request_response.go index 38c2a496fa7c..0f8dfb54e5b0 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_dhcp_options_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_dhcp_options_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteDhcpOptionsRequest wrapper for the DeleteDhcpOptions operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDhcpOptions.go.html to see an example of how to use DeleteDhcpOptionsRequest. type DeleteDhcpOptionsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_attachment_request_response.go index 5503fef8f03b..1213ab24ce9d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_attachment_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteDrgAttachmentRequest wrapper for the DeleteDrgAttachment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgAttachment.go.html to see an example of how to use DeleteDrgAttachmentRequest. type DeleteDrgAttachmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_request_response.go index eb45843a2660..95ad8b06f898 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteDrgRequest wrapper for the DeleteDrg operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrg.go.html to see an example of how to use DeleteDrgRequest. type DeleteDrgRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_route_distribution_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_route_distribution_request_response.go index 04b4fbd5e0c1..41379bf0f9c9 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_route_distribution_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_route_distribution_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteDrgRouteDistributionRequest wrapper for the DeleteDrgRouteDistribution operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteDistribution.go.html to see an example of how to use DeleteDrgRouteDistributionRequest. type DeleteDrgRouteDistributionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_route_table_request_response.go index bc3e5cc3fdb9..5a77178d3cfc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_drg_route_table_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteDrgRouteTableRequest wrapper for the DeleteDrgRouteTable operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteDrgRouteTable.go.html to see an example of how to use DeleteDrgRouteTableRequest. type DeleteDrgRouteTableRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_i_p_sec_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_i_p_sec_connection_request_response.go index ff4232826658..6c37e8bf2a47 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_i_p_sec_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_i_p_sec_connection_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteIPSecConnectionRequest wrapper for the DeleteIPSecConnection operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIPSecConnection.go.html to see an example of how to use DeleteIPSecConnectionRequest. type DeleteIPSecConnectionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_image_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_image_request_response.go index eb47bb9c0c30..946788651140 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_image_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_image_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteImageRequest wrapper for the DeleteImage operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteImage.go.html to see an example of how to use DeleteImageRequest. type DeleteImageRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_instance_configuration_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_instance_configuration_request_response.go index ab009e8a542a..2b9589d13860 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_instance_configuration_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_instance_configuration_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteInstanceConfigurationRequest wrapper for the DeleteInstanceConfiguration operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConfiguration.go.html to see an example of how to use DeleteInstanceConfigurationRequest. type DeleteInstanceConfigurationRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_instance_console_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_instance_console_connection_request_response.go index 43a3557c7fcf..2549d8fde37f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_instance_console_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_instance_console_connection_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteInstanceConsoleConnectionRequest wrapper for the DeleteInstanceConsoleConnection operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInstanceConsoleConnection.go.html to see an example of how to use DeleteInstanceConsoleConnectionRequest. type DeleteInstanceConsoleConnectionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_internet_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_internet_gateway_request_response.go index 4bd21499a3ca..09acc13950ba 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_internet_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_internet_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteInternetGatewayRequest wrapper for the DeleteInternetGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteInternetGateway.go.html to see an example of how to use DeleteInternetGatewayRequest. type DeleteInternetGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_ipv6_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_ipv6_request_response.go index c5a5ce2a12c0..3ee0a7e74f89 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_ipv6_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_ipv6_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteIpv6Request wrapper for the DeleteIpv6 operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteIpv6.go.html to see an example of how to use DeleteIpv6Request. type DeleteIpv6Request struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_local_peering_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_local_peering_gateway_request_response.go index ff1633198213..85388bee6ed4 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_local_peering_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_local_peering_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteLocalPeeringGatewayRequest wrapper for the DeleteLocalPeeringGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteLocalPeeringGateway.go.html to see an example of how to use DeleteLocalPeeringGatewayRequest. type DeleteLocalPeeringGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_nat_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_nat_gateway_request_response.go index 492d1f795fd6..6143f8ee0100 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_nat_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_nat_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteNatGatewayRequest wrapper for the DeleteNatGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNatGateway.go.html to see an example of how to use DeleteNatGatewayRequest. type DeleteNatGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_network_security_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_network_security_group_request_response.go index d2ecc66d10a0..edb4e2a85cc1 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_network_security_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_network_security_group_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteNetworkSecurityGroupRequest wrapper for the DeleteNetworkSecurityGroup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteNetworkSecurityGroup.go.html to see an example of how to use DeleteNetworkSecurityGroupRequest. type DeleteNetworkSecurityGroupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_private_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_private_ip_request_response.go index d27619c806e9..bd0716d863f6 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_private_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_private_ip_request_response.go @@ -11,7 +11,7 @@ import ( // DeletePrivateIpRequest wrapper for the DeletePrivateIp operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePrivateIp.go.html to see an example of how to use DeletePrivateIpRequest. type DeletePrivateIpRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_public_ip_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_public_ip_pool_request_response.go index 28f2cd338733..46d50f863cc7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_public_ip_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_public_ip_pool_request_response.go @@ -11,7 +11,7 @@ import ( // DeletePublicIpPoolRequest wrapper for the DeletePublicIpPool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIpPool.go.html to see an example of how to use DeletePublicIpPoolRequest. type DeletePublicIpPoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_public_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_public_ip_request_response.go index 224c12c38959..13630adddb76 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_public_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_public_ip_request_response.go @@ -11,7 +11,7 @@ import ( // DeletePublicIpRequest wrapper for the DeletePublicIp operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeletePublicIp.go.html to see an example of how to use DeletePublicIpRequest. type DeletePublicIpRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_remote_peering_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_remote_peering_connection_request_response.go index 60c17ec65d80..716934006da4 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_remote_peering_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_remote_peering_connection_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteRemotePeeringConnectionRequest wrapper for the DeleteRemotePeeringConnection operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRemotePeeringConnection.go.html to see an example of how to use DeleteRemotePeeringConnectionRequest. type DeleteRemotePeeringConnectionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_route_table_request_response.go index f91ae5752261..5e1263278120 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_route_table_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteRouteTableRequest wrapper for the DeleteRouteTable operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteRouteTable.go.html to see an example of how to use DeleteRouteTableRequest. type DeleteRouteTableRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_security_list_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_security_list_request_response.go index f34a43a5c2af..3360d4c077c9 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_security_list_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_security_list_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteSecurityListRequest wrapper for the DeleteSecurityList operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSecurityList.go.html to see an example of how to use DeleteSecurityListRequest. type DeleteSecurityListRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_service_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_service_gateway_request_response.go index accdaaaf0bba..2b8401d2e33e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_service_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_service_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteServiceGatewayRequest wrapper for the DeleteServiceGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteServiceGateway.go.html to see an example of how to use DeleteServiceGatewayRequest. type DeleteServiceGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_subnet_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_subnet_request_response.go index 70dc680c6b25..47b8ce9ab67e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_subnet_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_subnet_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteSubnetRequest wrapper for the DeleteSubnet operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteSubnet.go.html to see an example of how to use DeleteSubnetRequest. type DeleteSubnetRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_vcn_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_vcn_request_response.go index f0aa2327acf5..b2e372f8bc91 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_vcn_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_vcn_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteVcnRequest wrapper for the DeleteVcn operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVcn.go.html to see an example of how to use DeleteVcnRequest. type DeleteVcnRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_virtual_circuit_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_virtual_circuit_request_response.go index 46bbd73ec282..708cfb65ed30 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_virtual_circuit_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_virtual_circuit_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteVirtualCircuitRequest wrapper for the DeleteVirtualCircuit operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVirtualCircuit.go.html to see an example of how to use DeleteVirtualCircuitRequest. type DeleteVirtualCircuitRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_vlan_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_vlan_request_response.go index 464ff334c4fa..5a0d5a457d47 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_vlan_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_vlan_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteVlanRequest wrapper for the DeleteVlan operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVlan.go.html to see an example of how to use DeleteVlanRequest. type DeleteVlanRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_backup_policy_assignment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_backup_policy_assignment_request_response.go index 09966f85fed6..75d62d0228fc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_backup_policy_assignment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_backup_policy_assignment_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteVolumeBackupPolicyAssignmentRequest wrapper for the DeleteVolumeBackupPolicyAssignment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicyAssignment.go.html to see an example of how to use DeleteVolumeBackupPolicyAssignmentRequest. type DeleteVolumeBackupPolicyAssignmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_backup_policy_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_backup_policy_request_response.go index e6fd27a5455a..a92385edd84b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_backup_policy_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_backup_policy_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteVolumeBackupPolicyRequest wrapper for the DeleteVolumeBackupPolicy operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackupPolicy.go.html to see an example of how to use DeleteVolumeBackupPolicyRequest. type DeleteVolumeBackupPolicyRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_backup_request_response.go index 0873a147c53b..27db3f054336 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_backup_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteVolumeBackupRequest wrapper for the DeleteVolumeBackup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeBackup.go.html to see an example of how to use DeleteVolumeBackupRequest. type DeleteVolumeBackupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_group_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_group_backup_request_response.go index f4bac2c4d91d..7a6c10e4e496 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_group_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_group_backup_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteVolumeGroupBackupRequest wrapper for the DeleteVolumeGroupBackup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroupBackup.go.html to see an example of how to use DeleteVolumeGroupBackupRequest. type DeleteVolumeGroupBackupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_group_request_response.go index a76c16938c5a..bb234dee9eb7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_group_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteVolumeGroupRequest wrapper for the DeleteVolumeGroup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeGroup.go.html to see an example of how to use DeleteVolumeGroupRequest. type DeleteVolumeGroupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_kms_key_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_kms_key_request_response.go index 1d083483e0f4..b89573cfb85f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_kms_key_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_kms_key_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteVolumeKmsKeyRequest wrapper for the DeleteVolumeKmsKey operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolumeKmsKey.go.html to see an example of how to use DeleteVolumeKmsKeyRequest. type DeleteVolumeKmsKeyRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_request_response.go index 9ed479b2e1b7..355fced41b8e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/delete_volume_request_response.go @@ -11,7 +11,7 @@ import ( // DeleteVolumeRequest wrapper for the DeleteVolume operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DeleteVolume.go.html to see an example of how to use DeleteVolumeRequest. type DeleteVolumeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_boot_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_boot_volume_request_response.go index b22a392e22ef..f09c1aa0a18e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_boot_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_boot_volume_request_response.go @@ -11,7 +11,7 @@ import ( // DetachBootVolumeRequest wrapper for the DetachBootVolume operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachBootVolume.go.html to see an example of how to use DetachBootVolumeRequest. type DetachBootVolumeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_instance_pool_instance_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_instance_pool_instance_request_response.go index 9d86f47be99f..f0a58cd36c4c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_instance_pool_instance_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_instance_pool_instance_request_response.go @@ -11,7 +11,7 @@ import ( // DetachInstancePoolInstanceRequest wrapper for the DetachInstancePoolInstance operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachInstancePoolInstance.go.html to see an example of how to use DetachInstancePoolInstanceRequest. type DetachInstancePoolInstanceRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_load_balancer_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_load_balancer_request_response.go index 2f8ec24eee90..5d6c637daa75 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_load_balancer_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_load_balancer_request_response.go @@ -11,7 +11,7 @@ import ( // DetachLoadBalancerRequest wrapper for the DetachLoadBalancer operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachLoadBalancer.go.html to see an example of how to use DetachLoadBalancerRequest. type DetachLoadBalancerRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_service_id_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_service_id_request_response.go index cb7c45c68e74..eb1d6ba11aa1 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_service_id_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_service_id_request_response.go @@ -11,7 +11,7 @@ import ( // DetachServiceIdRequest wrapper for the DetachServiceId operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachServiceId.go.html to see an example of how to use DetachServiceIdRequest. type DetachServiceIdRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_vnic_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_vnic_request_response.go index cb8113f562ef..6592c5a3c284 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_vnic_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_vnic_request_response.go @@ -11,7 +11,7 @@ import ( // DetachVnicRequest wrapper for the DetachVnic operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVnic.go.html to see an example of how to use DetachVnicRequest. type DetachVnicRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_volume_request_response.go index 92d39b93d99f..15bf99cb282e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/detach_volume_request_response.go @@ -11,7 +11,7 @@ import ( // DetachVolumeRequest wrapper for the DetachVolume operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/DetachVolume.go.html to see an example of how to use DetachVolumeRequest. type DetachVolumeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/drg_attachment_network_create_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/drg_attachment_network_create_details.go index 2f3cd55ba0ed..3f1be314bbae 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/drg_attachment_network_create_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/drg_attachment_network_create_details.go @@ -66,7 +66,7 @@ func (m *drgattachmentnetworkcreatedetails) UnmarshalPolymorphicJSON(data []byte } } -//GetId returns Id +// GetId returns Id func (m drgattachmentnetworkcreatedetails) GetId() *string { return m.Id } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/drg_attachment_network_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/drg_attachment_network_details.go index 81245bc086c3..226ad954e557 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/drg_attachment_network_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/drg_attachment_network_details.go @@ -78,7 +78,7 @@ func (m *drgattachmentnetworkdetails) UnmarshalPolymorphicJSON(data []byte) (int } } -//GetId returns Id +// GetId returns Id func (m drgattachmentnetworkdetails) GetId() *string { return m.Id } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/emulated_volume_attachment.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/emulated_volume_attachment.go index 87396addf47e..0dd99ee76390 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/emulated_volume_attachment.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/emulated_volume_attachment.go @@ -72,72 +72,72 @@ type EmulatedVolumeAttachment struct { IscsiLoginState VolumeAttachmentIscsiLoginStateEnum `mandatory:"false" json:"iscsiLoginState,omitempty"` } -//GetAvailabilityDomain returns AvailabilityDomain +// GetAvailabilityDomain returns AvailabilityDomain func (m EmulatedVolumeAttachment) GetAvailabilityDomain() *string { return m.AvailabilityDomain } -//GetCompartmentId returns CompartmentId +// GetCompartmentId returns CompartmentId func (m EmulatedVolumeAttachment) GetCompartmentId() *string { return m.CompartmentId } -//GetDevice returns Device +// GetDevice returns Device func (m EmulatedVolumeAttachment) GetDevice() *string { return m.Device } -//GetDisplayName returns DisplayName +// GetDisplayName returns DisplayName func (m EmulatedVolumeAttachment) GetDisplayName() *string { return m.DisplayName } -//GetId returns Id +// GetId returns Id func (m EmulatedVolumeAttachment) GetId() *string { return m.Id } -//GetInstanceId returns InstanceId +// GetInstanceId returns InstanceId func (m EmulatedVolumeAttachment) GetInstanceId() *string { return m.InstanceId } -//GetIsReadOnly returns IsReadOnly +// GetIsReadOnly returns IsReadOnly func (m EmulatedVolumeAttachment) GetIsReadOnly() *bool { return m.IsReadOnly } -//GetIsShareable returns IsShareable +// GetIsShareable returns IsShareable func (m EmulatedVolumeAttachment) GetIsShareable() *bool { return m.IsShareable } -//GetLifecycleState returns LifecycleState +// GetLifecycleState returns LifecycleState func (m EmulatedVolumeAttachment) GetLifecycleState() VolumeAttachmentLifecycleStateEnum { return m.LifecycleState } -//GetTimeCreated returns TimeCreated +// GetTimeCreated returns TimeCreated func (m EmulatedVolumeAttachment) GetTimeCreated() *common.SDKTime { return m.TimeCreated } -//GetVolumeId returns VolumeId +// GetVolumeId returns VolumeId func (m EmulatedVolumeAttachment) GetVolumeId() *string { return m.VolumeId } -//GetIsPvEncryptionInTransitEnabled returns IsPvEncryptionInTransitEnabled +// GetIsPvEncryptionInTransitEnabled returns IsPvEncryptionInTransitEnabled func (m EmulatedVolumeAttachment) GetIsPvEncryptionInTransitEnabled() *bool { return m.IsPvEncryptionInTransitEnabled } -//GetIsMultipath returns IsMultipath +// GetIsMultipath returns IsMultipath func (m EmulatedVolumeAttachment) GetIsMultipath() *bool { return m.IsMultipath } -//GetIscsiLoginState returns IscsiLoginState +// GetIscsiLoginState returns IscsiLoginState func (m EmulatedVolumeAttachment) GetIscsiLoginState() VolumeAttachmentIscsiLoginStateEnum { return m.IscsiLoginState } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/enum_integer_image_capability_descriptor.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/enum_integer_image_capability_descriptor.go index baca64d99a42..c317f952713e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/enum_integer_image_capability_descriptor.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/enum_integer_image_capability_descriptor.go @@ -30,7 +30,7 @@ type EnumIntegerImageCapabilityDescriptor struct { Source ImageCapabilitySchemaDescriptorSourceEnum `mandatory:"true" json:"source"` } -//GetSource returns Source +// GetSource returns Source func (m EnumIntegerImageCapabilityDescriptor) GetSource() ImageCapabilitySchemaDescriptorSourceEnum { return m.Source } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/enum_string_image_capability_schema_descriptor.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/enum_string_image_capability_schema_descriptor.go index 770e6966951b..f0c7e385c019 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/enum_string_image_capability_schema_descriptor.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/enum_string_image_capability_schema_descriptor.go @@ -30,7 +30,7 @@ type EnumStringImageCapabilitySchemaDescriptor struct { Source ImageCapabilitySchemaDescriptorSourceEnum `mandatory:"true" json:"source"` } -//GetSource returns Source +// GetSource returns Source func (m EnumStringImageCapabilitySchemaDescriptor) GetSource() ImageCapabilitySchemaDescriptorSourceEnum { return m.Source } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_details.go index f4309a8b490d..c31f8a1ef1ef 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_details.go @@ -83,7 +83,7 @@ func (m *exportimagedetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, } } -//GetExportFormat returns ExportFormat +// GetExportFormat returns ExportFormat func (m exportimagedetails) GetExportFormat() ExportImageDetailsExportFormatEnum { return m.ExportFormat } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_request_response.go index b1f577677891..0df5f2f67d51 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_request_response.go @@ -11,7 +11,7 @@ import ( // ExportImageRequest wrapper for the ExportImage operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ExportImage.go.html to see an example of how to use ExportImageRequest. type ExportImageRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_via_object_storage_tuple_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_via_object_storage_tuple_details.go index af72af182b97..17b9ae1f015b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_via_object_storage_tuple_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_via_object_storage_tuple_details.go @@ -41,7 +41,7 @@ type ExportImageViaObjectStorageTupleDetails struct { ExportFormat ExportImageDetailsExportFormatEnum `mandatory:"false" json:"exportFormat,omitempty"` } -//GetExportFormat returns ExportFormat +// GetExportFormat returns ExportFormat func (m ExportImageViaObjectStorageTupleDetails) GetExportFormat() ExportImageDetailsExportFormatEnum { return m.ExportFormat } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_via_object_storage_uri_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_via_object_storage_uri_details.go index 5c9a2abc7263..93227880495e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_via_object_storage_uri_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/export_image_via_object_storage_uri_details.go @@ -38,7 +38,7 @@ type ExportImageViaObjectStorageUriDetails struct { ExportFormat ExportImageDetailsExportFormatEnum `mandatory:"false" json:"exportFormat,omitempty"` } -//GetExportFormat returns ExportFormat +// GetExportFormat returns ExportFormat func (m ExportImageViaObjectStorageUriDetails) GetExportFormat() ExportImageDetailsExportFormatEnum { return m.ExportFormat } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_all_drg_attachments_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_all_drg_attachments_request_response.go index 25294efc0125..2a405f1fbf41 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_all_drg_attachments_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_all_drg_attachments_request_response.go @@ -11,7 +11,7 @@ import ( // GetAllDrgAttachmentsRequest wrapper for the GetAllDrgAttachments operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAllDrgAttachments.go.html to see an example of how to use GetAllDrgAttachmentsRequest. type GetAllDrgAttachmentsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_app_catalog_listing_agreements_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_app_catalog_listing_agreements_request_response.go index 815e9bd9e2c2..7ccd9d963a42 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_app_catalog_listing_agreements_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_app_catalog_listing_agreements_request_response.go @@ -11,7 +11,7 @@ import ( // GetAppCatalogListingAgreementsRequest wrapper for the GetAppCatalogListingAgreements operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingAgreements.go.html to see an example of how to use GetAppCatalogListingAgreementsRequest. type GetAppCatalogListingAgreementsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_app_catalog_listing_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_app_catalog_listing_request_response.go index 8ad9f5617a6c..8c1761ca0c07 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_app_catalog_listing_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_app_catalog_listing_request_response.go @@ -11,7 +11,7 @@ import ( // GetAppCatalogListingRequest wrapper for the GetAppCatalogListing operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListing.go.html to see an example of how to use GetAppCatalogListingRequest. type GetAppCatalogListingRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_app_catalog_listing_resource_version_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_app_catalog_listing_resource_version_request_response.go index 37764fd83415..fdca76b452e1 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_app_catalog_listing_resource_version_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_app_catalog_listing_resource_version_request_response.go @@ -11,7 +11,7 @@ import ( // GetAppCatalogListingResourceVersionRequest wrapper for the GetAppCatalogListingResourceVersion operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetAppCatalogListingResourceVersion.go.html to see an example of how to use GetAppCatalogListingResourceVersionRequest. type GetAppCatalogListingResourceVersionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_block_volume_replica_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_block_volume_replica_request_response.go index 0455163e88cf..af581ee7bd41 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_block_volume_replica_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_block_volume_replica_request_response.go @@ -11,7 +11,7 @@ import ( // GetBlockVolumeReplicaRequest wrapper for the GetBlockVolumeReplica operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBlockVolumeReplica.go.html to see an example of how to use GetBlockVolumeReplicaRequest. type GetBlockVolumeReplicaRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_attachment_request_response.go index 874d1be68eb6..16ecb8c07f8f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_attachment_request_response.go @@ -11,7 +11,7 @@ import ( // GetBootVolumeAttachmentRequest wrapper for the GetBootVolumeAttachment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeAttachment.go.html to see an example of how to use GetBootVolumeAttachmentRequest. type GetBootVolumeAttachmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_backup_request_response.go index ebaa852b0bd3..4bd413e66aa8 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_backup_request_response.go @@ -11,7 +11,7 @@ import ( // GetBootVolumeBackupRequest wrapper for the GetBootVolumeBackup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeBackup.go.html to see an example of how to use GetBootVolumeBackupRequest. type GetBootVolumeBackupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_kms_key_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_kms_key_request_response.go index fb83b6960d1e..7d16f3b202ca 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_kms_key_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_kms_key_request_response.go @@ -11,7 +11,7 @@ import ( // GetBootVolumeKmsKeyRequest wrapper for the GetBootVolumeKmsKey operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeKmsKey.go.html to see an example of how to use GetBootVolumeKmsKeyRequest. type GetBootVolumeKmsKeyRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_replica_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_replica_request_response.go index c51d3ce7bab8..35b8df0f3930 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_replica_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_replica_request_response.go @@ -11,7 +11,7 @@ import ( // GetBootVolumeReplicaRequest wrapper for the GetBootVolumeReplica operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolumeReplica.go.html to see an example of how to use GetBootVolumeReplicaRequest. type GetBootVolumeReplicaRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_request_response.go index 58af9a3072d5..94a9998fd77f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_boot_volume_request_response.go @@ -11,7 +11,7 @@ import ( // GetBootVolumeRequest wrapper for the GetBootVolume operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetBootVolume.go.html to see an example of how to use GetBootVolumeRequest. type GetBootVolumeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_byoip_range_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_byoip_range_request_response.go index fd87fa7b6444..577bc4d32a58 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_byoip_range_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_byoip_range_request_response.go @@ -11,7 +11,7 @@ import ( // GetByoipRangeRequest wrapper for the GetByoipRange operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetByoipRange.go.html to see an example of how to use GetByoipRangeRequest. type GetByoipRangeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cluster_network_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cluster_network_request_response.go index aedf6d1def5a..2822ea115122 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cluster_network_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cluster_network_request_response.go @@ -11,7 +11,7 @@ import ( // GetClusterNetworkRequest wrapper for the GetClusterNetwork operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetClusterNetwork.go.html to see an example of how to use GetClusterNetworkRequest. type GetClusterNetworkRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_capacity_reservation_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_capacity_reservation_request_response.go index 0b90fb4529e0..b18c8f5e7c6f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_capacity_reservation_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_capacity_reservation_request_response.go @@ -11,7 +11,7 @@ import ( // GetComputeCapacityReservationRequest wrapper for the GetComputeCapacityReservation operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeCapacityReservation.go.html to see an example of how to use GetComputeCapacityReservationRequest. type GetComputeCapacityReservationRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_global_image_capability_schema_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_global_image_capability_schema_request_response.go index c952d4e88b54..a6ffb7945c40 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_global_image_capability_schema_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_global_image_capability_schema_request_response.go @@ -11,7 +11,7 @@ import ( // GetComputeGlobalImageCapabilitySchemaRequest wrapper for the GetComputeGlobalImageCapabilitySchema operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchema.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchemaRequest. type GetComputeGlobalImageCapabilitySchemaRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_global_image_capability_schema_version_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_global_image_capability_schema_version_request_response.go index 40a76517296f..7bead90c92e4 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_global_image_capability_schema_version_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_global_image_capability_schema_version_request_response.go @@ -11,7 +11,7 @@ import ( // GetComputeGlobalImageCapabilitySchemaVersionRequest wrapper for the GetComputeGlobalImageCapabilitySchemaVersion operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeGlobalImageCapabilitySchemaVersion.go.html to see an example of how to use GetComputeGlobalImageCapabilitySchemaVersionRequest. type GetComputeGlobalImageCapabilitySchemaVersionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_image_capability_schema_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_image_capability_schema_request_response.go index bdafaa5d6b76..41c1a659e19c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_image_capability_schema_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_compute_image_capability_schema_request_response.go @@ -11,7 +11,7 @@ import ( // GetComputeImageCapabilitySchemaRequest wrapper for the GetComputeImageCapabilitySchema operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetComputeImageCapabilitySchema.go.html to see an example of how to use GetComputeImageCapabilitySchemaRequest. type GetComputeImageCapabilitySchemaRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_console_history_content_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_console_history_content_request_response.go index f0aadead6dac..e25ad5bf1b36 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_console_history_content_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_console_history_content_request_response.go @@ -11,7 +11,7 @@ import ( // GetConsoleHistoryContentRequest wrapper for the GetConsoleHistoryContent operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistoryContent.go.html to see an example of how to use GetConsoleHistoryContentRequest. type GetConsoleHistoryContentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_console_history_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_console_history_request_response.go index aa8965136d50..1acc2c3ca8df 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_console_history_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_console_history_request_response.go @@ -11,7 +11,7 @@ import ( // GetConsoleHistoryRequest wrapper for the GetConsoleHistory operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetConsoleHistory.go.html to see an example of how to use GetConsoleHistoryRequest. type GetConsoleHistoryRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cpe_device_config_content_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cpe_device_config_content_request_response.go index 353f92bfffe1..aaf1f8db9ebe 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cpe_device_config_content_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cpe_device_config_content_request_response.go @@ -12,7 +12,7 @@ import ( // GetCpeDeviceConfigContentRequest wrapper for the GetCpeDeviceConfigContent operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceConfigContent.go.html to see an example of how to use GetCpeDeviceConfigContentRequest. type GetCpeDeviceConfigContentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cpe_device_shape_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cpe_device_shape_request_response.go index 4b1a73dd53ab..4bc7c84a8659 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cpe_device_shape_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cpe_device_shape_request_response.go @@ -11,7 +11,7 @@ import ( // GetCpeDeviceShapeRequest wrapper for the GetCpeDeviceShape operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpeDeviceShape.go.html to see an example of how to use GetCpeDeviceShapeRequest. type GetCpeDeviceShapeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cpe_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cpe_request_response.go index 98a6736fe07c..48f9694be014 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cpe_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cpe_request_response.go @@ -11,7 +11,7 @@ import ( // GetCpeRequest wrapper for the GetCpe operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCpe.go.html to see an example of how to use GetCpeRequest. type GetCpeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_group_request_response.go index 4bc0b1abb089..2046863e5b03 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_group_request_response.go @@ -11,7 +11,7 @@ import ( // GetCrossConnectGroupRequest wrapper for the GetCrossConnectGroup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectGroup.go.html to see an example of how to use GetCrossConnectGroupRequest. type GetCrossConnectGroupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_letter_of_authority_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_letter_of_authority_request_response.go index 18ebc0f5c6c9..a558fb20ced0 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_letter_of_authority_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_letter_of_authority_request_response.go @@ -11,7 +11,7 @@ import ( // GetCrossConnectLetterOfAuthorityRequest wrapper for the GetCrossConnectLetterOfAuthority operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectLetterOfAuthority.go.html to see an example of how to use GetCrossConnectLetterOfAuthorityRequest. type GetCrossConnectLetterOfAuthorityRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_request_response.go index cb397eda8f82..9458efbbb877 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_request_response.go @@ -11,7 +11,7 @@ import ( // GetCrossConnectRequest wrapper for the GetCrossConnect operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnect.go.html to see an example of how to use GetCrossConnectRequest. type GetCrossConnectRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_status_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_status_request_response.go index 2c3bfdc1411c..5ac7fdfac9c1 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_status_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_cross_connect_status_request_response.go @@ -11,7 +11,7 @@ import ( // GetCrossConnectStatusRequest wrapper for the GetCrossConnectStatus operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetCrossConnectStatus.go.html to see an example of how to use GetCrossConnectStatusRequest. type GetCrossConnectStatusRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_dedicated_vm_host_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_dedicated_vm_host_request_response.go index 55a6e3b92b26..3394f819dbdb 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_dedicated_vm_host_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_dedicated_vm_host_request_response.go @@ -11,7 +11,7 @@ import ( // GetDedicatedVmHostRequest wrapper for the GetDedicatedVmHost operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDedicatedVmHost.go.html to see an example of how to use GetDedicatedVmHostRequest. type GetDedicatedVmHostRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_dhcp_options_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_dhcp_options_request_response.go index 26500f8dada5..466f45c72883 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_dhcp_options_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_dhcp_options_request_response.go @@ -11,7 +11,7 @@ import ( // GetDhcpOptionsRequest wrapper for the GetDhcpOptions operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDhcpOptions.go.html to see an example of how to use GetDhcpOptionsRequest. type GetDhcpOptionsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_attachment_request_response.go index 610063884357..31c5490a9dbc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_attachment_request_response.go @@ -11,7 +11,7 @@ import ( // GetDrgAttachmentRequest wrapper for the GetDrgAttachment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgAttachment.go.html to see an example of how to use GetDrgAttachmentRequest. type GetDrgAttachmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_redundancy_status_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_redundancy_status_request_response.go index 41dce5c1d34b..0b1d537c9257 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_redundancy_status_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_redundancy_status_request_response.go @@ -11,7 +11,7 @@ import ( // GetDrgRedundancyStatusRequest wrapper for the GetDrgRedundancyStatus operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRedundancyStatus.go.html to see an example of how to use GetDrgRedundancyStatusRequest. type GetDrgRedundancyStatusRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_request_response.go index ab118bcc8997..8c0ef56334ba 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_request_response.go @@ -11,7 +11,7 @@ import ( // GetDrgRequest wrapper for the GetDrg operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrg.go.html to see an example of how to use GetDrgRequest. type GetDrgRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_route_distribution_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_route_distribution_request_response.go index e96c9acc9976..86635d330902 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_route_distribution_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_route_distribution_request_response.go @@ -11,7 +11,7 @@ import ( // GetDrgRouteDistributionRequest wrapper for the GetDrgRouteDistribution operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteDistribution.go.html to see an example of how to use GetDrgRouteDistributionRequest. type GetDrgRouteDistributionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_route_table_request_response.go index e3eb2f57229f..ec63613799e8 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_drg_route_table_request_response.go @@ -11,7 +11,7 @@ import ( // GetDrgRouteTableRequest wrapper for the GetDrgRouteTable operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetDrgRouteTable.go.html to see an example of how to use GetDrgRouteTableRequest. type GetDrgRouteTableRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_fast_connect_provider_service_key_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_fast_connect_provider_service_key_request_response.go index d13f8a443267..67d8a205d8c9 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_fast_connect_provider_service_key_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_fast_connect_provider_service_key_request_response.go @@ -11,7 +11,7 @@ import ( // GetFastConnectProviderServiceKeyRequest wrapper for the GetFastConnectProviderServiceKey operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderServiceKey.go.html to see an example of how to use GetFastConnectProviderServiceKeyRequest. type GetFastConnectProviderServiceKeyRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_fast_connect_provider_service_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_fast_connect_provider_service_request_response.go index 9d13f3f36fee..e5a890852315 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_fast_connect_provider_service_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_fast_connect_provider_service_request_response.go @@ -11,7 +11,7 @@ import ( // GetFastConnectProviderServiceRequest wrapper for the GetFastConnectProviderService operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetFastConnectProviderService.go.html to see an example of how to use GetFastConnectProviderServiceRequest. type GetFastConnectProviderServiceRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_device_config_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_device_config_request_response.go index f7d9af4fbefe..97546c440184 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_device_config_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_device_config_request_response.go @@ -11,7 +11,7 @@ import ( // GetIPSecConnectionDeviceConfigRequest wrapper for the GetIPSecConnectionDeviceConfig operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceConfig.go.html to see an example of how to use GetIPSecConnectionDeviceConfigRequest. type GetIPSecConnectionDeviceConfigRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_device_status_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_device_status_request_response.go index b6a9e8476b1e..a76c76f16928 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_device_status_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_device_status_request_response.go @@ -11,7 +11,7 @@ import ( // GetIPSecConnectionDeviceStatusRequest wrapper for the GetIPSecConnectionDeviceStatus operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionDeviceStatus.go.html to see an example of how to use GetIPSecConnectionDeviceStatusRequest. type GetIPSecConnectionDeviceStatusRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_request_response.go index aa526c548592..b6e0916c2bb4 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_request_response.go @@ -11,7 +11,7 @@ import ( // GetIPSecConnectionRequest wrapper for the GetIPSecConnection operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnection.go.html to see an example of how to use GetIPSecConnectionRequest. type GetIPSecConnectionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_tunnel_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_tunnel_request_response.go index f987e1ae69ab..a572938a08bc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_tunnel_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_tunnel_request_response.go @@ -11,7 +11,7 @@ import ( // GetIPSecConnectionTunnelRequest wrapper for the GetIPSecConnectionTunnel operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnel.go.html to see an example of how to use GetIPSecConnectionTunnelRequest. type GetIPSecConnectionTunnelRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go index c1d49189a07c..a6417cd2ea63 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_i_p_sec_connection_tunnel_shared_secret_request_response.go @@ -11,7 +11,7 @@ import ( // GetIPSecConnectionTunnelSharedSecretRequest wrapper for the GetIPSecConnectionTunnelSharedSecret operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use GetIPSecConnectionTunnelSharedSecretRequest. type GetIPSecConnectionTunnelSharedSecretRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_image_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_image_request_response.go index c4f194b1e1ae..7d9a179ed662 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_image_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_image_request_response.go @@ -11,7 +11,7 @@ import ( // GetImageRequest wrapper for the GetImage operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImage.go.html to see an example of how to use GetImageRequest. type GetImageRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_image_shape_compatibility_entry_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_image_shape_compatibility_entry_request_response.go index dc84af713f72..1e5d3ea0789c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_image_shape_compatibility_entry_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_image_shape_compatibility_entry_request_response.go @@ -11,7 +11,7 @@ import ( // GetImageShapeCompatibilityEntryRequest wrapper for the GetImageShapeCompatibilityEntry operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetImageShapeCompatibilityEntry.go.html to see an example of how to use GetImageShapeCompatibilityEntryRequest. type GetImageShapeCompatibilityEntryRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_configuration_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_configuration_request_response.go index 9c2d024bee10..19ad37701398 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_configuration_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_configuration_request_response.go @@ -11,7 +11,7 @@ import ( // GetInstanceConfigurationRequest wrapper for the GetInstanceConfiguration operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConfiguration.go.html to see an example of how to use GetInstanceConfigurationRequest. type GetInstanceConfigurationRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_console_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_console_connection_request_response.go index 2e45a4040c81..6349eb321da3 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_console_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_console_connection_request_response.go @@ -11,7 +11,7 @@ import ( // GetInstanceConsoleConnectionRequest wrapper for the GetInstanceConsoleConnection operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstanceConsoleConnection.go.html to see an example of how to use GetInstanceConsoleConnectionRequest. type GetInstanceConsoleConnectionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_pool_instance_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_pool_instance_request_response.go index 2238f577c96f..3a3333b195a3 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_pool_instance_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_pool_instance_request_response.go @@ -11,7 +11,7 @@ import ( // GetInstancePoolInstanceRequest wrapper for the GetInstancePoolInstance operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolInstance.go.html to see an example of how to use GetInstancePoolInstanceRequest. type GetInstancePoolInstanceRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_pool_load_balancer_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_pool_load_balancer_attachment_request_response.go index 318af14c501e..95bcb47ab47b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_pool_load_balancer_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_pool_load_balancer_attachment_request_response.go @@ -11,7 +11,7 @@ import ( // GetInstancePoolLoadBalancerAttachmentRequest wrapper for the GetInstancePoolLoadBalancerAttachment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePoolLoadBalancerAttachment.go.html to see an example of how to use GetInstancePoolLoadBalancerAttachmentRequest. type GetInstancePoolLoadBalancerAttachmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_pool_request_response.go index 8a249a29f985..230f374df73b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_pool_request_response.go @@ -11,7 +11,7 @@ import ( // GetInstancePoolRequest wrapper for the GetInstancePool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstancePool.go.html to see an example of how to use GetInstancePoolRequest. type GetInstancePoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_request_response.go index 2b309ec3d102..7dbb222ef109 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_instance_request_response.go @@ -11,7 +11,7 @@ import ( // GetInstanceRequest wrapper for the GetInstance operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInstance.go.html to see an example of how to use GetInstanceRequest. type GetInstanceRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_internet_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_internet_gateway_request_response.go index 506fd4212d23..6fcbfb0a16cb 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_internet_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_internet_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // GetInternetGatewayRequest wrapper for the GetInternetGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetInternetGateway.go.html to see an example of how to use GetInternetGatewayRequest. type GetInternetGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_ipsec_cpe_device_config_content_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_ipsec_cpe_device_config_content_request_response.go index a6b1759f4411..dfc12ab3063f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_ipsec_cpe_device_config_content_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_ipsec_cpe_device_config_content_request_response.go @@ -12,7 +12,7 @@ import ( // GetIpsecCpeDeviceConfigContentRequest wrapper for the GetIpsecCpeDeviceConfigContent operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpsecCpeDeviceConfigContent.go.html to see an example of how to use GetIpsecCpeDeviceConfigContentRequest. type GetIpsecCpeDeviceConfigContentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_ipv6_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_ipv6_request_response.go index 838dd867ab99..f698501b5264 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_ipv6_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_ipv6_request_response.go @@ -11,7 +11,7 @@ import ( // GetIpv6Request wrapper for the GetIpv6 operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetIpv6.go.html to see an example of how to use GetIpv6Request. type GetIpv6Request struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_local_peering_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_local_peering_gateway_request_response.go index c700b7f4ead9..02420d15c506 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_local_peering_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_local_peering_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // GetLocalPeeringGatewayRequest wrapper for the GetLocalPeeringGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetLocalPeeringGateway.go.html to see an example of how to use GetLocalPeeringGatewayRequest. type GetLocalPeeringGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_nat_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_nat_gateway_request_response.go index 873c2dd09d20..d97ca7f0e129 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_nat_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_nat_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // GetNatGatewayRequest wrapper for the GetNatGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNatGateway.go.html to see an example of how to use GetNatGatewayRequest. type GetNatGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_network_security_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_network_security_group_request_response.go index 7e70df9f9060..ce3d667ccbdd 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_network_security_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_network_security_group_request_response.go @@ -11,7 +11,7 @@ import ( // GetNetworkSecurityGroupRequest wrapper for the GetNetworkSecurityGroup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkSecurityGroup.go.html to see an example of how to use GetNetworkSecurityGroupRequest. type GetNetworkSecurityGroupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_networking_topology_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_networking_topology_request_response.go index 97d977b7023f..21bca0376e0c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_networking_topology_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_networking_topology_request_response.go @@ -11,7 +11,7 @@ import ( // GetNetworkingTopologyRequest wrapper for the GetNetworkingTopology operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetNetworkingTopology.go.html to see an example of how to use GetNetworkingTopologyRequest. type GetNetworkingTopologyRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_private_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_private_ip_request_response.go index 783b961397ad..1d60a705209c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_private_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_private_ip_request_response.go @@ -11,7 +11,7 @@ import ( // GetPrivateIpRequest wrapper for the GetPrivateIp operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPrivateIp.go.html to see an example of how to use GetPrivateIpRequest. type GetPrivateIpRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_by_ip_address_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_by_ip_address_request_response.go index ca1fe721fb3e..fec509288d9b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_by_ip_address_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_by_ip_address_request_response.go @@ -11,7 +11,7 @@ import ( // GetPublicIpByIpAddressRequest wrapper for the GetPublicIpByIpAddress operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByIpAddress.go.html to see an example of how to use GetPublicIpByIpAddressRequest. type GetPublicIpByIpAddressRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_by_private_ip_id_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_by_private_ip_id_request_response.go index f0b1ea1a86ad..e668b5806203 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_by_private_ip_id_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_by_private_ip_id_request_response.go @@ -11,7 +11,7 @@ import ( // GetPublicIpByPrivateIpIdRequest wrapper for the GetPublicIpByPrivateIpId operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpByPrivateIpId.go.html to see an example of how to use GetPublicIpByPrivateIpIdRequest. type GetPublicIpByPrivateIpIdRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_pool_request_response.go index 9bc5a1e39dc3..22cff3c3a5ea 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_pool_request_response.go @@ -11,7 +11,7 @@ import ( // GetPublicIpPoolRequest wrapper for the GetPublicIpPool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIpPool.go.html to see an example of how to use GetPublicIpPoolRequest. type GetPublicIpPoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_request_response.go index 7fd9886ae4e5..1e94547daa14 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_public_ip_request_response.go @@ -11,7 +11,7 @@ import ( // GetPublicIpRequest wrapper for the GetPublicIp operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetPublicIp.go.html to see an example of how to use GetPublicIpRequest. type GetPublicIpRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_remote_peering_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_remote_peering_connection_request_response.go index 17c7e044a080..f980750cd21a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_remote_peering_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_remote_peering_connection_request_response.go @@ -11,7 +11,7 @@ import ( // GetRemotePeeringConnectionRequest wrapper for the GetRemotePeeringConnection operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRemotePeeringConnection.go.html to see an example of how to use GetRemotePeeringConnectionRequest. type GetRemotePeeringConnectionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_route_table_request_response.go index 3bc995ac94f1..3a7960308b35 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_route_table_request_response.go @@ -11,7 +11,7 @@ import ( // GetRouteTableRequest wrapper for the GetRouteTable operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetRouteTable.go.html to see an example of how to use GetRouteTableRequest. type GetRouteTableRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_security_list_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_security_list_request_response.go index 4dff8bd08153..aecaa8672bf7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_security_list_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_security_list_request_response.go @@ -11,7 +11,7 @@ import ( // GetSecurityListRequest wrapper for the GetSecurityList operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSecurityList.go.html to see an example of how to use GetSecurityListRequest. type GetSecurityListRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_service_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_service_gateway_request_response.go index 3ed5ec6668ab..91e403e4437b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_service_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_service_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // GetServiceGatewayRequest wrapper for the GetServiceGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetServiceGateway.go.html to see an example of how to use GetServiceGatewayRequest. type GetServiceGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_service_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_service_request_response.go index cc854d48912c..89fbbfa552a5 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_service_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_service_request_response.go @@ -11,7 +11,7 @@ import ( // GetServiceRequest wrapper for the GetService operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetService.go.html to see an example of how to use GetServiceRequest. type GetServiceRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_subnet_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_subnet_request_response.go index bef9b2817eb3..304cf727b89e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_subnet_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_subnet_request_response.go @@ -11,7 +11,7 @@ import ( // GetSubnetRequest wrapper for the GetSubnet operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetSubnet.go.html to see an example of how to use GetSubnetRequest. type GetSubnetRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_tunnel_cpe_device_config_content_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_tunnel_cpe_device_config_content_request_response.go index 663c4a373fb1..1f5c73f041db 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_tunnel_cpe_device_config_content_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_tunnel_cpe_device_config_content_request_response.go @@ -12,7 +12,7 @@ import ( // GetTunnelCpeDeviceConfigContentRequest wrapper for the GetTunnelCpeDeviceConfigContent operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfigContent.go.html to see an example of how to use GetTunnelCpeDeviceConfigContentRequest. type GetTunnelCpeDeviceConfigContentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_tunnel_cpe_device_config_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_tunnel_cpe_device_config_request_response.go index 7a6e2d76b765..accb2e03eb92 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_tunnel_cpe_device_config_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_tunnel_cpe_device_config_request_response.go @@ -11,7 +11,7 @@ import ( // GetTunnelCpeDeviceConfigRequest wrapper for the GetTunnelCpeDeviceConfig operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetTunnelCpeDeviceConfig.go.html to see an example of how to use GetTunnelCpeDeviceConfigRequest. type GetTunnelCpeDeviceConfigRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_upgrade_status_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_upgrade_status_request_response.go index 010d73a37e37..d121d4490130 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_upgrade_status_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_upgrade_status_request_response.go @@ -11,7 +11,7 @@ import ( // GetUpgradeStatusRequest wrapper for the GetUpgradeStatus operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetUpgradeStatus.go.html to see an example of how to use GetUpgradeStatusRequest. type GetUpgradeStatusRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vcn_dns_resolver_association_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vcn_dns_resolver_association_request_response.go index 2e103f33a7a3..369bf250ffbb 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vcn_dns_resolver_association_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vcn_dns_resolver_association_request_response.go @@ -11,7 +11,7 @@ import ( // GetVcnDnsResolverAssociationRequest wrapper for the GetVcnDnsResolverAssociation operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnDnsResolverAssociation.go.html to see an example of how to use GetVcnDnsResolverAssociationRequest. type GetVcnDnsResolverAssociationRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vcn_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vcn_request_response.go index d24c0d7cb652..eed9a6e86942 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vcn_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vcn_request_response.go @@ -11,7 +11,7 @@ import ( // GetVcnRequest wrapper for the GetVcn operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcn.go.html to see an example of how to use GetVcnRequest. type GetVcnRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vcn_topology_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vcn_topology_request_response.go index a043113deb58..274b33bd4a31 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vcn_topology_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vcn_topology_request_response.go @@ -11,7 +11,7 @@ import ( // GetVcnTopologyRequest wrapper for the GetVcnTopology operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVcnTopology.go.html to see an example of how to use GetVcnTopologyRequest. type GetVcnTopologyRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_virtual_circuit_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_virtual_circuit_request_response.go index a29e3bdc831f..3c200aeb56be 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_virtual_circuit_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_virtual_circuit_request_response.go @@ -11,7 +11,7 @@ import ( // GetVirtualCircuitRequest wrapper for the GetVirtualCircuit operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVirtualCircuit.go.html to see an example of how to use GetVirtualCircuitRequest. type GetVirtualCircuitRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vlan_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vlan_request_response.go index 014a8fc3a27a..500099640535 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vlan_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vlan_request_response.go @@ -11,7 +11,7 @@ import ( // GetVlanRequest wrapper for the GetVlan operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVlan.go.html to see an example of how to use GetVlanRequest. type GetVlanRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vnic_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vnic_attachment_request_response.go index 2e4f6b04999d..6e62cce5f086 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vnic_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vnic_attachment_request_response.go @@ -11,7 +11,7 @@ import ( // GetVnicAttachmentRequest wrapper for the GetVnicAttachment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnicAttachment.go.html to see an example of how to use GetVnicAttachmentRequest. type GetVnicAttachmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vnic_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vnic_request_response.go index b0742960b893..2c6285e3cf5b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vnic_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_vnic_request_response.go @@ -11,7 +11,7 @@ import ( // GetVnicRequest wrapper for the GetVnic operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVnic.go.html to see an example of how to use GetVnicRequest. type GetVnicRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_attachment_request_response.go index 14c5a4306f7c..2488722300f2 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_attachment_request_response.go @@ -11,7 +11,7 @@ import ( // GetVolumeAttachmentRequest wrapper for the GetVolumeAttachment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeAttachment.go.html to see an example of how to use GetVolumeAttachmentRequest. type GetVolumeAttachmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_policy_asset_assignment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_policy_asset_assignment_request_response.go index cd6c24eba806..7035ccf14b65 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_policy_asset_assignment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_policy_asset_assignment_request_response.go @@ -11,7 +11,7 @@ import ( // GetVolumeBackupPolicyAssetAssignmentRequest wrapper for the GetVolumeBackupPolicyAssetAssignment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssetAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssetAssignmentRequest. type GetVolumeBackupPolicyAssetAssignmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_policy_assignment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_policy_assignment_request_response.go index 33357a4fea58..f0fdfcbea4fb 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_policy_assignment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_policy_assignment_request_response.go @@ -11,7 +11,7 @@ import ( // GetVolumeBackupPolicyAssignmentRequest wrapper for the GetVolumeBackupPolicyAssignment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicyAssignment.go.html to see an example of how to use GetVolumeBackupPolicyAssignmentRequest. type GetVolumeBackupPolicyAssignmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_policy_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_policy_request_response.go index ac53c997c4cb..ae788ffcca13 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_policy_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_policy_request_response.go @@ -11,7 +11,7 @@ import ( // GetVolumeBackupPolicyRequest wrapper for the GetVolumeBackupPolicy operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackupPolicy.go.html to see an example of how to use GetVolumeBackupPolicyRequest. type GetVolumeBackupPolicyRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_request_response.go index 8650e31cbd12..7e171aba695a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_backup_request_response.go @@ -11,7 +11,7 @@ import ( // GetVolumeBackupRequest wrapper for the GetVolumeBackup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeBackup.go.html to see an example of how to use GetVolumeBackupRequest. type GetVolumeBackupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_group_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_group_backup_request_response.go index 340d6f2615de..828676b3eabd 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_group_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_group_backup_request_response.go @@ -11,7 +11,7 @@ import ( // GetVolumeGroupBackupRequest wrapper for the GetVolumeGroupBackup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroupBackup.go.html to see an example of how to use GetVolumeGroupBackupRequest. type GetVolumeGroupBackupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_group_request_response.go index e45fad984078..8057fd0146c8 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_group_request_response.go @@ -11,7 +11,7 @@ import ( // GetVolumeGroupRequest wrapper for the GetVolumeGroup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeGroup.go.html to see an example of how to use GetVolumeGroupRequest. type GetVolumeGroupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_kms_key_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_kms_key_request_response.go index 40eaf68631b3..676ddce4fd68 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_kms_key_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_kms_key_request_response.go @@ -11,7 +11,7 @@ import ( // GetVolumeKmsKeyRequest wrapper for the GetVolumeKmsKey operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolumeKmsKey.go.html to see an example of how to use GetVolumeKmsKeyRequest. type GetVolumeKmsKeyRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_request_response.go index 6c729ea5e691..f76175bdb63d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_volume_request_response.go @@ -11,7 +11,7 @@ import ( // GetVolumeRequest wrapper for the GetVolume operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetVolume.go.html to see an example of how to use GetVolumeRequest. type GetVolumeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_windows_instance_initial_credentials_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_windows_instance_initial_credentials_request_response.go index 51a9361fe136..5fc9ce9e03b4 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_windows_instance_initial_credentials_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/get_windows_instance_initial_credentials_request_response.go @@ -11,7 +11,7 @@ import ( // GetWindowsInstanceInitialCredentialsRequest wrapper for the GetWindowsInstanceInitialCredentials operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/GetWindowsInstanceInitialCredentials.go.html to see an example of how to use GetWindowsInstanceInitialCredentialsRequest. type GetWindowsInstanceInitialCredentialsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/i_scsi_volume_attachment.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/i_scsi_volume_attachment.go index a985334d38fd..ee7fc860f314 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/i_scsi_volume_attachment.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/i_scsi_volume_attachment.go @@ -102,72 +102,72 @@ type IScsiVolumeAttachment struct { EncryptionInTransitType EncryptionInTransitTypeEnum `mandatory:"false" json:"encryptionInTransitType,omitempty"` } -//GetAvailabilityDomain returns AvailabilityDomain +// GetAvailabilityDomain returns AvailabilityDomain func (m IScsiVolumeAttachment) GetAvailabilityDomain() *string { return m.AvailabilityDomain } -//GetCompartmentId returns CompartmentId +// GetCompartmentId returns CompartmentId func (m IScsiVolumeAttachment) GetCompartmentId() *string { return m.CompartmentId } -//GetDevice returns Device +// GetDevice returns Device func (m IScsiVolumeAttachment) GetDevice() *string { return m.Device } -//GetDisplayName returns DisplayName +// GetDisplayName returns DisplayName func (m IScsiVolumeAttachment) GetDisplayName() *string { return m.DisplayName } -//GetId returns Id +// GetId returns Id func (m IScsiVolumeAttachment) GetId() *string { return m.Id } -//GetInstanceId returns InstanceId +// GetInstanceId returns InstanceId func (m IScsiVolumeAttachment) GetInstanceId() *string { return m.InstanceId } -//GetIsReadOnly returns IsReadOnly +// GetIsReadOnly returns IsReadOnly func (m IScsiVolumeAttachment) GetIsReadOnly() *bool { return m.IsReadOnly } -//GetIsShareable returns IsShareable +// GetIsShareable returns IsShareable func (m IScsiVolumeAttachment) GetIsShareable() *bool { return m.IsShareable } -//GetLifecycleState returns LifecycleState +// GetLifecycleState returns LifecycleState func (m IScsiVolumeAttachment) GetLifecycleState() VolumeAttachmentLifecycleStateEnum { return m.LifecycleState } -//GetTimeCreated returns TimeCreated +// GetTimeCreated returns TimeCreated func (m IScsiVolumeAttachment) GetTimeCreated() *common.SDKTime { return m.TimeCreated } -//GetVolumeId returns VolumeId +// GetVolumeId returns VolumeId func (m IScsiVolumeAttachment) GetVolumeId() *string { return m.VolumeId } -//GetIsPvEncryptionInTransitEnabled returns IsPvEncryptionInTransitEnabled +// GetIsPvEncryptionInTransitEnabled returns IsPvEncryptionInTransitEnabled func (m IScsiVolumeAttachment) GetIsPvEncryptionInTransitEnabled() *bool { return m.IsPvEncryptionInTransitEnabled } -//GetIsMultipath returns IsMultipath +// GetIsMultipath returns IsMultipath func (m IScsiVolumeAttachment) GetIsMultipath() *bool { return m.IsMultipath } -//GetIscsiLoginState returns IscsiLoginState +// GetIscsiLoginState returns IscsiLoginState func (m IScsiVolumeAttachment) GetIscsiLoginState() VolumeAttachmentIscsiLoginStateEnum { return m.IscsiLoginState } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_capability_schema_descriptor.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_capability_schema_descriptor.go index de8895cb2bd0..13a7b6a10df5 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_capability_schema_descriptor.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_capability_schema_descriptor.go @@ -72,7 +72,7 @@ func (m *imagecapabilityschemadescriptor) UnmarshalPolymorphicJSON(data []byte) } } -//GetSource returns Source +// GetSource returns Source func (m imagecapabilityschemadescriptor) GetSource() ImageCapabilitySchemaDescriptorSourceEnum { return m.Source } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_source_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_source_details.go index f62fb925630d..6cccaf14685e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_source_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_source_details.go @@ -78,17 +78,17 @@ func (m *imagesourcedetails) UnmarshalPolymorphicJSON(data []byte) (interface{}, } } -//GetOperatingSystem returns OperatingSystem +// GetOperatingSystem returns OperatingSystem func (m imagesourcedetails) GetOperatingSystem() *string { return m.OperatingSystem } -//GetOperatingSystemVersion returns OperatingSystemVersion +// GetOperatingSystemVersion returns OperatingSystemVersion func (m imagesourcedetails) GetOperatingSystemVersion() *string { return m.OperatingSystemVersion } -//GetSourceImageType returns SourceImageType +// GetSourceImageType returns SourceImageType func (m imagesourcedetails) GetSourceImageType() ImageSourceDetailsSourceImageTypeEnum { return m.SourceImageType } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_source_via_object_storage_tuple_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_source_via_object_storage_tuple_details.go index 77a5121f6c18..ba27c3b93c97 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_source_via_object_storage_tuple_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_source_via_object_storage_tuple_details.go @@ -39,17 +39,17 @@ type ImageSourceViaObjectStorageTupleDetails struct { SourceImageType ImageSourceDetailsSourceImageTypeEnum `mandatory:"false" json:"sourceImageType,omitempty"` } -//GetOperatingSystem returns OperatingSystem +// GetOperatingSystem returns OperatingSystem func (m ImageSourceViaObjectStorageTupleDetails) GetOperatingSystem() *string { return m.OperatingSystem } -//GetOperatingSystemVersion returns OperatingSystemVersion +// GetOperatingSystemVersion returns OperatingSystemVersion func (m ImageSourceViaObjectStorageTupleDetails) GetOperatingSystemVersion() *string { return m.OperatingSystemVersion } -//GetSourceImageType returns SourceImageType +// GetSourceImageType returns SourceImageType func (m ImageSourceViaObjectStorageTupleDetails) GetSourceImageType() ImageSourceDetailsSourceImageTypeEnum { return m.SourceImageType } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_source_via_object_storage_uri_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_source_via_object_storage_uri_details.go index 21d21381cb43..1af78f7bc077 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_source_via_object_storage_uri_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/image_source_via_object_storage_uri_details.go @@ -33,17 +33,17 @@ type ImageSourceViaObjectStorageUriDetails struct { SourceImageType ImageSourceDetailsSourceImageTypeEnum `mandatory:"false" json:"sourceImageType,omitempty"` } -//GetOperatingSystem returns OperatingSystem +// GetOperatingSystem returns OperatingSystem func (m ImageSourceViaObjectStorageUriDetails) GetOperatingSystem() *string { return m.OperatingSystem } -//GetOperatingSystemVersion returns OperatingSystemVersion +// GetOperatingSystemVersion returns OperatingSystemVersion func (m ImageSourceViaObjectStorageUriDetails) GetOperatingSystemVersion() *string { return m.OperatingSystemVersion } -//GetSourceImageType returns SourceImageType +// GetSourceImageType returns SourceImageType func (m ImageSourceViaObjectStorageUriDetails) GetSourceImageType() ImageSourceDetailsSourceImageTypeEnum { return m.SourceImageType } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_action_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_action_request_response.go index 8c659efd9276..ebe67f813638 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_action_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_action_request_response.go @@ -11,7 +11,7 @@ import ( // InstanceActionRequest wrapper for the InstanceAction operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/InstanceAction.go.html to see an example of how to use InstanceActionRequest. type InstanceActionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_configuration_attach_volume_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_configuration_attach_volume_details.go index e6bb889fb243..2e2460653091 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_configuration_attach_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_configuration_attach_volume_details.go @@ -88,22 +88,22 @@ func (m *instanceconfigurationattachvolumedetails) UnmarshalPolymorphicJSON(data } } -//GetDisplayName returns DisplayName +// GetDisplayName returns DisplayName func (m instanceconfigurationattachvolumedetails) GetDisplayName() *string { return m.DisplayName } -//GetIsReadOnly returns IsReadOnly +// GetIsReadOnly returns IsReadOnly func (m instanceconfigurationattachvolumedetails) GetIsReadOnly() *bool { return m.IsReadOnly } -//GetDevice returns Device +// GetDevice returns Device func (m instanceconfigurationattachvolumedetails) GetDevice() *string { return m.Device } -//GetIsShareable returns IsShareable +// GetIsShareable returns IsShareable func (m instanceconfigurationattachvolumedetails) GetIsShareable() *bool { return m.IsShareable } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_configuration_iscsi_attach_volume_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_configuration_iscsi_attach_volume_details.go index 24fd42556ea3..bb901b887fb4 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_configuration_iscsi_attach_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_configuration_iscsi_attach_volume_details.go @@ -40,22 +40,22 @@ type InstanceConfigurationIscsiAttachVolumeDetails struct { UseChap *bool `mandatory:"false" json:"useChap"` } -//GetDisplayName returns DisplayName +// GetDisplayName returns DisplayName func (m InstanceConfigurationIscsiAttachVolumeDetails) GetDisplayName() *string { return m.DisplayName } -//GetIsReadOnly returns IsReadOnly +// GetIsReadOnly returns IsReadOnly func (m InstanceConfigurationIscsiAttachVolumeDetails) GetIsReadOnly() *bool { return m.IsReadOnly } -//GetDevice returns Device +// GetDevice returns Device func (m InstanceConfigurationIscsiAttachVolumeDetails) GetDevice() *string { return m.Device } -//GetIsShareable returns IsShareable +// GetIsShareable returns IsShareable func (m InstanceConfigurationIscsiAttachVolumeDetails) GetIsShareable() *bool { return m.IsShareable } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_configuration_paravirtualized_attach_volume_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_configuration_paravirtualized_attach_volume_details.go index 23fded8fe251..655691cfe9d2 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_configuration_paravirtualized_attach_volume_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/instance_configuration_paravirtualized_attach_volume_details.go @@ -40,22 +40,22 @@ type InstanceConfigurationParavirtualizedAttachVolumeDetails struct { IsPvEncryptionInTransitEnabled *bool `mandatory:"false" json:"isPvEncryptionInTransitEnabled"` } -//GetDisplayName returns DisplayName +// GetDisplayName returns DisplayName func (m InstanceConfigurationParavirtualizedAttachVolumeDetails) GetDisplayName() *string { return m.DisplayName } -//GetIsReadOnly returns IsReadOnly +// GetIsReadOnly returns IsReadOnly func (m InstanceConfigurationParavirtualizedAttachVolumeDetails) GetIsReadOnly() *bool { return m.IsReadOnly } -//GetDevice returns Device +// GetDevice returns Device func (m InstanceConfigurationParavirtualizedAttachVolumeDetails) GetDevice() *string { return m.Device } -//GetIsShareable returns IsShareable +// GetIsShareable returns IsShareable func (m InstanceConfigurationParavirtualizedAttachVolumeDetails) GetIsShareable() *bool { return m.IsShareable } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/ip_sec_connection_device_config.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/ip_sec_connection_device_config.go index 2451c19f1f5b..332ff57fcbe7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/ip_sec_connection_device_config.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/ip_sec_connection_device_config.go @@ -18,8 +18,8 @@ import ( ) // IpSecConnectionDeviceConfig Deprecated. For tunnel information, instead see: -// * IPSecConnectionTunnel -// * IPSecConnectionTunnelSharedSecret +// - IPSecConnectionTunnel +// - IPSecConnectionTunnelSharedSecret type IpSecConnectionDeviceConfig struct { // The OCID of the compartment containing the IPSec connection. diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/ipsec_tunnel_drg_attachment_network_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/ipsec_tunnel_drg_attachment_network_details.go index 9034638bb057..e3972006f793 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/ipsec_tunnel_drg_attachment_network_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/ipsec_tunnel_drg_attachment_network_details.go @@ -28,7 +28,7 @@ type IpsecTunnelDrgAttachmentNetworkDetails struct { IpsecConnectionId *string `mandatory:"false" json:"ipsecConnectionId"` } -//GetId returns Id +// GetId returns Id func (m IpsecTunnelDrgAttachmentNetworkDetails) GetId() *string { return m.Id } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/launch_instance_configuration_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/launch_instance_configuration_request_response.go index 55cb897e08c4..78e9a31635b4 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/launch_instance_configuration_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/launch_instance_configuration_request_response.go @@ -11,7 +11,7 @@ import ( // LaunchInstanceConfigurationRequest wrapper for the LaunchInstanceConfiguration operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstanceConfiguration.go.html to see an example of how to use LaunchInstanceConfigurationRequest. type LaunchInstanceConfigurationRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/launch_instance_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/launch_instance_request_response.go index dc05cf4d2fbc..2d5f11eb62be 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/launch_instance_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/launch_instance_request_response.go @@ -11,7 +11,7 @@ import ( // LaunchInstanceRequest wrapper for the LaunchInstance operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/LaunchInstance.go.html to see an example of how to use LaunchInstanceRequest. type LaunchInstanceRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_allowed_peer_regions_for_remote_peering_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_allowed_peer_regions_for_remote_peering_request_response.go index b5c9c3f95577..cdfad4f77a9a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_allowed_peer_regions_for_remote_peering_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_allowed_peer_regions_for_remote_peering_request_response.go @@ -11,7 +11,7 @@ import ( // ListAllowedPeerRegionsForRemotePeeringRequest wrapper for the ListAllowedPeerRegionsForRemotePeering operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAllowedPeerRegionsForRemotePeering.go.html to see an example of how to use ListAllowedPeerRegionsForRemotePeeringRequest. type ListAllowedPeerRegionsForRemotePeeringRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_app_catalog_listing_resource_versions_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_app_catalog_listing_resource_versions_request_response.go index b8faffc36fa2..1e82cf7d508f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_app_catalog_listing_resource_versions_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_app_catalog_listing_resource_versions_request_response.go @@ -11,7 +11,7 @@ import ( // ListAppCatalogListingResourceVersionsRequest wrapper for the ListAppCatalogListingResourceVersions operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListingResourceVersions.go.html to see an example of how to use ListAppCatalogListingResourceVersionsRequest. type ListAppCatalogListingResourceVersionsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_app_catalog_listings_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_app_catalog_listings_request_response.go index 0d343880275e..800425cf9b9f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_app_catalog_listings_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_app_catalog_listings_request_response.go @@ -11,7 +11,7 @@ import ( // ListAppCatalogListingsRequest wrapper for the ListAppCatalogListings operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogListings.go.html to see an example of how to use ListAppCatalogListingsRequest. type ListAppCatalogListingsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_app_catalog_subscriptions_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_app_catalog_subscriptions_request_response.go index 0a9da9a03462..8ff0ab36da5b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_app_catalog_subscriptions_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_app_catalog_subscriptions_request_response.go @@ -11,7 +11,7 @@ import ( // ListAppCatalogSubscriptionsRequest wrapper for the ListAppCatalogSubscriptions operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListAppCatalogSubscriptions.go.html to see an example of how to use ListAppCatalogSubscriptionsRequest. type ListAppCatalogSubscriptionsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_block_volume_replicas_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_block_volume_replicas_request_response.go index beba7dee8618..956de2dbdf50 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_block_volume_replicas_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_block_volume_replicas_request_response.go @@ -11,7 +11,7 @@ import ( // ListBlockVolumeReplicasRequest wrapper for the ListBlockVolumeReplicas operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBlockVolumeReplicas.go.html to see an example of how to use ListBlockVolumeReplicasRequest. type ListBlockVolumeReplicasRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volume_attachments_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volume_attachments_request_response.go index 55a4c6dd788f..69d8147aeebd 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volume_attachments_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volume_attachments_request_response.go @@ -11,7 +11,7 @@ import ( // ListBootVolumeAttachmentsRequest wrapper for the ListBootVolumeAttachments operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeAttachments.go.html to see an example of how to use ListBootVolumeAttachmentsRequest. type ListBootVolumeAttachmentsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volume_backups_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volume_backups_request_response.go index b09ee2dbc18b..ca113ddfd470 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volume_backups_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volume_backups_request_response.go @@ -11,7 +11,7 @@ import ( // ListBootVolumeBackupsRequest wrapper for the ListBootVolumeBackups operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeBackups.go.html to see an example of how to use ListBootVolumeBackupsRequest. type ListBootVolumeBackupsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volume_replicas_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volume_replicas_request_response.go index bc658049ecf1..06c90c923a80 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volume_replicas_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volume_replicas_request_response.go @@ -11,7 +11,7 @@ import ( // ListBootVolumeReplicasRequest wrapper for the ListBootVolumeReplicas operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumeReplicas.go.html to see an example of how to use ListBootVolumeReplicasRequest. type ListBootVolumeReplicasRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volumes_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volumes_request_response.go index f56c0b5a66c2..3e15ff30c44b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volumes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_boot_volumes_request_response.go @@ -11,7 +11,7 @@ import ( // ListBootVolumesRequest wrapper for the ListBootVolumes operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListBootVolumes.go.html to see an example of how to use ListBootVolumesRequest. type ListBootVolumesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_byoip_allocated_ranges_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_byoip_allocated_ranges_request_response.go index c57e918a0aa3..42e59a236140 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_byoip_allocated_ranges_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_byoip_allocated_ranges_request_response.go @@ -11,7 +11,7 @@ import ( // ListByoipAllocatedRangesRequest wrapper for the ListByoipAllocatedRanges operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipAllocatedRanges.go.html to see an example of how to use ListByoipAllocatedRangesRequest. type ListByoipAllocatedRangesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_byoip_ranges_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_byoip_ranges_request_response.go index 5d9d4e431556..feacb4e6ce98 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_byoip_ranges_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_byoip_ranges_request_response.go @@ -11,7 +11,7 @@ import ( // ListByoipRangesRequest wrapper for the ListByoipRanges operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListByoipRanges.go.html to see an example of how to use ListByoipRangesRequest. type ListByoipRangesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cluster_network_instances_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cluster_network_instances_request_response.go index 02f11113c964..90d5b36cf01a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cluster_network_instances_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cluster_network_instances_request_response.go @@ -11,7 +11,7 @@ import ( // ListClusterNetworkInstancesRequest wrapper for the ListClusterNetworkInstances operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworkInstances.go.html to see an example of how to use ListClusterNetworkInstancesRequest. type ListClusterNetworkInstancesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cluster_networks_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cluster_networks_request_response.go index 6855e15e4cd1..57a7dcebd7bf 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cluster_networks_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cluster_networks_request_response.go @@ -11,7 +11,7 @@ import ( // ListClusterNetworksRequest wrapper for the ListClusterNetworks operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListClusterNetworks.go.html to see an example of how to use ListClusterNetworksRequest. type ListClusterNetworksRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_capacity_reservation_instance_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_capacity_reservation_instance_shapes_request_response.go index 41dc85cbeef6..e36b5fb6a7dd 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_capacity_reservation_instance_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_capacity_reservation_instance_shapes_request_response.go @@ -11,7 +11,7 @@ import ( // ListComputeCapacityReservationInstanceShapesRequest wrapper for the ListComputeCapacityReservationInstanceShapes operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstanceShapes.go.html to see an example of how to use ListComputeCapacityReservationInstanceShapesRequest. type ListComputeCapacityReservationInstanceShapesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_capacity_reservation_instances_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_capacity_reservation_instances_request_response.go index 1ad01bfc4385..0939bc4a6239 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_capacity_reservation_instances_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_capacity_reservation_instances_request_response.go @@ -11,7 +11,7 @@ import ( // ListComputeCapacityReservationInstancesRequest wrapper for the ListComputeCapacityReservationInstances operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservationInstances.go.html to see an example of how to use ListComputeCapacityReservationInstancesRequest. type ListComputeCapacityReservationInstancesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_capacity_reservations_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_capacity_reservations_request_response.go index 9fa5ecfd7c20..890591cbdcd2 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_capacity_reservations_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_capacity_reservations_request_response.go @@ -11,7 +11,7 @@ import ( // ListComputeCapacityReservationsRequest wrapper for the ListComputeCapacityReservations operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeCapacityReservations.go.html to see an example of how to use ListComputeCapacityReservationsRequest. type ListComputeCapacityReservationsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_global_image_capability_schema_versions_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_global_image_capability_schema_versions_request_response.go index 0afcdc998f31..c65c1281c2c2 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_global_image_capability_schema_versions_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_global_image_capability_schema_versions_request_response.go @@ -11,7 +11,7 @@ import ( // ListComputeGlobalImageCapabilitySchemaVersionsRequest wrapper for the ListComputeGlobalImageCapabilitySchemaVersions operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemaVersions.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemaVersionsRequest. type ListComputeGlobalImageCapabilitySchemaVersionsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_global_image_capability_schemas_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_global_image_capability_schemas_request_response.go index 2ceb38802332..4e8deede0aa2 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_global_image_capability_schemas_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_global_image_capability_schemas_request_response.go @@ -11,7 +11,7 @@ import ( // ListComputeGlobalImageCapabilitySchemasRequest wrapper for the ListComputeGlobalImageCapabilitySchemas operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeGlobalImageCapabilitySchemas.go.html to see an example of how to use ListComputeGlobalImageCapabilitySchemasRequest. type ListComputeGlobalImageCapabilitySchemasRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_image_capability_schemas_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_image_capability_schemas_request_response.go index 16785ebbf4a9..5155b62e9f80 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_image_capability_schemas_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_compute_image_capability_schemas_request_response.go @@ -11,7 +11,7 @@ import ( // ListComputeImageCapabilitySchemasRequest wrapper for the ListComputeImageCapabilitySchemas operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListComputeImageCapabilitySchemas.go.html to see an example of how to use ListComputeImageCapabilitySchemasRequest. type ListComputeImageCapabilitySchemasRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_console_histories_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_console_histories_request_response.go index 43b4899d5109..7c266cac4090 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_console_histories_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_console_histories_request_response.go @@ -11,7 +11,7 @@ import ( // ListConsoleHistoriesRequest wrapper for the ListConsoleHistories operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListConsoleHistories.go.html to see an example of how to use ListConsoleHistoriesRequest. type ListConsoleHistoriesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cpe_device_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cpe_device_shapes_request_response.go index 534eb0121036..012d9568f311 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cpe_device_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cpe_device_shapes_request_response.go @@ -11,7 +11,7 @@ import ( // ListCpeDeviceShapesRequest wrapper for the ListCpeDeviceShapes operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpeDeviceShapes.go.html to see an example of how to use ListCpeDeviceShapesRequest. type ListCpeDeviceShapesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cpes_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cpes_request_response.go index 3cd01601bda0..3a6491bc6b8b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cpes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cpes_request_response.go @@ -11,7 +11,7 @@ import ( // ListCpesRequest wrapper for the ListCpes operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCpes.go.html to see an example of how to use ListCpesRequest. type ListCpesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connect_groups_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connect_groups_request_response.go index 01731a6c07cb..f51438e2746a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connect_groups_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connect_groups_request_response.go @@ -11,7 +11,7 @@ import ( // ListCrossConnectGroupsRequest wrapper for the ListCrossConnectGroups operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectGroups.go.html to see an example of how to use ListCrossConnectGroupsRequest. type ListCrossConnectGroupsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connect_locations_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connect_locations_request_response.go index 3e2763a3f759..896ea928097e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connect_locations_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connect_locations_request_response.go @@ -11,7 +11,7 @@ import ( // ListCrossConnectLocationsRequest wrapper for the ListCrossConnectLocations operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectLocations.go.html to see an example of how to use ListCrossConnectLocationsRequest. type ListCrossConnectLocationsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connect_mappings_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connect_mappings_request_response.go index 7c38004eea16..2b80bfcbfe4b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connect_mappings_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connect_mappings_request_response.go @@ -11,7 +11,7 @@ import ( // ListCrossConnectMappingsRequest wrapper for the ListCrossConnectMappings operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnectMappings.go.html to see an example of how to use ListCrossConnectMappingsRequest. type ListCrossConnectMappingsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connects_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connects_request_response.go index d4fb0c17ab53..28363c1c9c39 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connects_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_cross_connects_request_response.go @@ -11,7 +11,7 @@ import ( // ListCrossConnectsRequest wrapper for the ListCrossConnects operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossConnects.go.html to see an example of how to use ListCrossConnectsRequest. type ListCrossConnectsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_crossconnect_port_speed_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_crossconnect_port_speed_shapes_request_response.go index 39ad5833e1c0..9152348e8aab 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_crossconnect_port_speed_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_crossconnect_port_speed_shapes_request_response.go @@ -11,7 +11,7 @@ import ( // ListCrossconnectPortSpeedShapesRequest wrapper for the ListCrossconnectPortSpeedShapes operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListCrossconnectPortSpeedShapes.go.html to see an example of how to use ListCrossconnectPortSpeedShapesRequest. type ListCrossconnectPortSpeedShapesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_host_instance_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_host_instance_shapes_request_response.go index 3f1ff32ee697..561dba7a0ac6 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_host_instance_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_host_instance_shapes_request_response.go @@ -11,7 +11,7 @@ import ( // ListDedicatedVmHostInstanceShapesRequest wrapper for the ListDedicatedVmHostInstanceShapes operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstanceShapes.go.html to see an example of how to use ListDedicatedVmHostInstanceShapesRequest. type ListDedicatedVmHostInstanceShapesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_host_instances_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_host_instances_request_response.go index c3a01072912f..1a8b282f73ff 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_host_instances_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_host_instances_request_response.go @@ -11,7 +11,7 @@ import ( // ListDedicatedVmHostInstancesRequest wrapper for the ListDedicatedVmHostInstances operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostInstances.go.html to see an example of how to use ListDedicatedVmHostInstancesRequest. type ListDedicatedVmHostInstancesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_host_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_host_shapes_request_response.go index 46eeb1a87d0d..b2c5cfa32d5e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_host_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_host_shapes_request_response.go @@ -11,7 +11,7 @@ import ( // ListDedicatedVmHostShapesRequest wrapper for the ListDedicatedVmHostShapes operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHostShapes.go.html to see an example of how to use ListDedicatedVmHostShapesRequest. type ListDedicatedVmHostShapesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_hosts_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_hosts_request_response.go index c2e68234252f..d7f58c96b59c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_hosts_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dedicated_vm_hosts_request_response.go @@ -11,7 +11,7 @@ import ( // ListDedicatedVmHostsRequest wrapper for the ListDedicatedVmHosts operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDedicatedVmHosts.go.html to see an example of how to use ListDedicatedVmHostsRequest. type ListDedicatedVmHostsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dhcp_options_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dhcp_options_request_response.go index 7d2a29dd22b8..f725595951ff 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dhcp_options_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_dhcp_options_request_response.go @@ -11,7 +11,7 @@ import ( // ListDhcpOptionsRequest wrapper for the ListDhcpOptions operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDhcpOptions.go.html to see an example of how to use ListDhcpOptionsRequest. type ListDhcpOptionsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_attachments_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_attachments_request_response.go index 72235f30afe0..7e228071fa21 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_attachments_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_attachments_request_response.go @@ -11,7 +11,7 @@ import ( // ListDrgAttachmentsRequest wrapper for the ListDrgAttachments operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgAttachments.go.html to see an example of how to use ListDrgAttachmentsRequest. type ListDrgAttachmentsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_distribution_statements_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_distribution_statements_request_response.go index 16074a6c34c4..b29c61151edc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_distribution_statements_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_distribution_statements_request_response.go @@ -11,7 +11,7 @@ import ( // ListDrgRouteDistributionStatementsRequest wrapper for the ListDrgRouteDistributionStatements operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributionStatements.go.html to see an example of how to use ListDrgRouteDistributionStatementsRequest. type ListDrgRouteDistributionStatementsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_distributions_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_distributions_request_response.go index 169460c35de8..ec5cccf164f3 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_distributions_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_distributions_request_response.go @@ -11,7 +11,7 @@ import ( // ListDrgRouteDistributionsRequest wrapper for the ListDrgRouteDistributions operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteDistributions.go.html to see an example of how to use ListDrgRouteDistributionsRequest. type ListDrgRouteDistributionsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_rules_request_response.go index 4575895fdf2a..470c417ae196 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_rules_request_response.go @@ -11,7 +11,7 @@ import ( // ListDrgRouteRulesRequest wrapper for the ListDrgRouteRules operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteRules.go.html to see an example of how to use ListDrgRouteRulesRequest. type ListDrgRouteRulesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_tables_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_tables_request_response.go index 9784f0ebe1cd..ae33caecbf90 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_tables_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drg_route_tables_request_response.go @@ -11,7 +11,7 @@ import ( // ListDrgRouteTablesRequest wrapper for the ListDrgRouteTables operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgRouteTables.go.html to see an example of how to use ListDrgRouteTablesRequest. type ListDrgRouteTablesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drgs_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drgs_request_response.go index c369d4cc119b..9784d6f5730f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drgs_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_drgs_request_response.go @@ -11,7 +11,7 @@ import ( // ListDrgsRequest wrapper for the ListDrgs operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListDrgs.go.html to see an example of how to use ListDrgsRequest. type ListDrgsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_fast_connect_provider_services_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_fast_connect_provider_services_request_response.go index 38daadcc51e8..f4736ecf0135 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_fast_connect_provider_services_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_fast_connect_provider_services_request_response.go @@ -11,7 +11,7 @@ import ( // ListFastConnectProviderServicesRequest wrapper for the ListFastConnectProviderServices operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderServices.go.html to see an example of how to use ListFastConnectProviderServicesRequest. type ListFastConnectProviderServicesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go index 636beb6d1bfd..2d1e24f4d099 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_fast_connect_provider_virtual_circuit_bandwidth_shapes_request_response.go @@ -11,7 +11,7 @@ import ( // ListFastConnectProviderVirtualCircuitBandwidthShapesRequest wrapper for the ListFastConnectProviderVirtualCircuitBandwidthShapes operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListFastConnectProviderVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListFastConnectProviderVirtualCircuitBandwidthShapesRequest. type ListFastConnectProviderVirtualCircuitBandwidthShapesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_i_p_sec_connection_tunnels_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_i_p_sec_connection_tunnels_request_response.go index 155b07552fad..45a13173b568 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_i_p_sec_connection_tunnels_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_i_p_sec_connection_tunnels_request_response.go @@ -11,7 +11,7 @@ import ( // ListIPSecConnectionTunnelsRequest wrapper for the ListIPSecConnectionTunnels operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnectionTunnels.go.html to see an example of how to use ListIPSecConnectionTunnelsRequest. type ListIPSecConnectionTunnelsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_i_p_sec_connections_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_i_p_sec_connections_request_response.go index b8bfc8cf1a56..37e650e5db71 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_i_p_sec_connections_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_i_p_sec_connections_request_response.go @@ -11,7 +11,7 @@ import ( // ListIPSecConnectionsRequest wrapper for the ListIPSecConnections operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIPSecConnections.go.html to see an example of how to use ListIPSecConnectionsRequest. type ListIPSecConnectionsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_image_shape_compatibility_entries_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_image_shape_compatibility_entries_request_response.go index b6d5ba2a438a..fa3b93e6af99 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_image_shape_compatibility_entries_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_image_shape_compatibility_entries_request_response.go @@ -11,7 +11,7 @@ import ( // ListImageShapeCompatibilityEntriesRequest wrapper for the ListImageShapeCompatibilityEntries operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImageShapeCompatibilityEntries.go.html to see an example of how to use ListImageShapeCompatibilityEntriesRequest. type ListImageShapeCompatibilityEntriesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_images_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_images_request_response.go index bdf1c38ffbd0..b2076bd2fb2a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_images_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_images_request_response.go @@ -11,7 +11,7 @@ import ( // ListImagesRequest wrapper for the ListImages operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListImages.go.html to see an example of how to use ListImagesRequest. type ListImagesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_configurations_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_configurations_request_response.go index c6fdc9dcdd87..08b6f2120a1b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_configurations_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_configurations_request_response.go @@ -11,7 +11,7 @@ import ( // ListInstanceConfigurationsRequest wrapper for the ListInstanceConfigurations operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConfigurations.go.html to see an example of how to use ListInstanceConfigurationsRequest. type ListInstanceConfigurationsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_console_connections_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_console_connections_request_response.go index dbf1aa349150..b28b92134f8d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_console_connections_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_console_connections_request_response.go @@ -11,7 +11,7 @@ import ( // ListInstanceConsoleConnectionsRequest wrapper for the ListInstanceConsoleConnections operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceConsoleConnections.go.html to see an example of how to use ListInstanceConsoleConnectionsRequest. type ListInstanceConsoleConnectionsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_devices_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_devices_request_response.go index e07334061aa4..4081c4a8b5e6 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_devices_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_devices_request_response.go @@ -11,7 +11,7 @@ import ( // ListInstanceDevicesRequest wrapper for the ListInstanceDevices operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstanceDevices.go.html to see an example of how to use ListInstanceDevicesRequest. type ListInstanceDevicesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_pool_instances_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_pool_instances_request_response.go index 9077746d34be..a53241fef64c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_pool_instances_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_pool_instances_request_response.go @@ -11,7 +11,7 @@ import ( // ListInstancePoolInstancesRequest wrapper for the ListInstancePoolInstances operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePoolInstances.go.html to see an example of how to use ListInstancePoolInstancesRequest. type ListInstancePoolInstancesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_pools_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_pools_request_response.go index 0129a35bab9e..20e98521208e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_pools_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instance_pools_request_response.go @@ -11,7 +11,7 @@ import ( // ListInstancePoolsRequest wrapper for the ListInstancePools operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstancePools.go.html to see an example of how to use ListInstancePoolsRequest. type ListInstancePoolsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instances_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instances_request_response.go index 41b17d66a1ac..84d19597ccd0 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instances_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_instances_request_response.go @@ -11,7 +11,7 @@ import ( // ListInstancesRequest wrapper for the ListInstances operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInstances.go.html to see an example of how to use ListInstancesRequest. type ListInstancesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_internet_gateways_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_internet_gateways_request_response.go index ff98687e7e65..ae7a939ddcf8 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_internet_gateways_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_internet_gateways_request_response.go @@ -11,7 +11,7 @@ import ( // ListInternetGatewaysRequest wrapper for the ListInternetGateways operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListInternetGateways.go.html to see an example of how to use ListInternetGatewaysRequest. type ListInternetGatewaysRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_ipv6s_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_ipv6s_request_response.go index 9621f11da231..f9e6bdad0ec0 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_ipv6s_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_ipv6s_request_response.go @@ -11,7 +11,7 @@ import ( // ListIpv6sRequest wrapper for the ListIpv6s operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListIpv6s.go.html to see an example of how to use ListIpv6sRequest. type ListIpv6sRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_local_peering_gateways_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_local_peering_gateways_request_response.go index 061acf35da78..384de7ca2d08 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_local_peering_gateways_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_local_peering_gateways_request_response.go @@ -11,7 +11,7 @@ import ( // ListLocalPeeringGatewaysRequest wrapper for the ListLocalPeeringGateways operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListLocalPeeringGateways.go.html to see an example of how to use ListLocalPeeringGatewaysRequest. type ListLocalPeeringGatewaysRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_nat_gateways_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_nat_gateways_request_response.go index 2a46a2681bc4..8806ba5dcc00 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_nat_gateways_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_nat_gateways_request_response.go @@ -11,7 +11,7 @@ import ( // ListNatGatewaysRequest wrapper for the ListNatGateways operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNatGateways.go.html to see an example of how to use ListNatGatewaysRequest. type ListNatGatewaysRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_network_security_group_security_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_network_security_group_security_rules_request_response.go index d76c06f2ebc4..11e31013933c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_network_security_group_security_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_network_security_group_security_rules_request_response.go @@ -11,7 +11,7 @@ import ( // ListNetworkSecurityGroupSecurityRulesRequest wrapper for the ListNetworkSecurityGroupSecurityRules operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupSecurityRules.go.html to see an example of how to use ListNetworkSecurityGroupSecurityRulesRequest. type ListNetworkSecurityGroupSecurityRulesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_network_security_group_vnics_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_network_security_group_vnics_request_response.go index 4a5b033b81d4..7c0cfb1113bf 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_network_security_group_vnics_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_network_security_group_vnics_request_response.go @@ -11,7 +11,7 @@ import ( // ListNetworkSecurityGroupVnicsRequest wrapper for the ListNetworkSecurityGroupVnics operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroupVnics.go.html to see an example of how to use ListNetworkSecurityGroupVnicsRequest. type ListNetworkSecurityGroupVnicsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_network_security_groups_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_network_security_groups_request_response.go index 3b982caf639a..4e36eea103dd 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_network_security_groups_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_network_security_groups_request_response.go @@ -11,7 +11,7 @@ import ( // ListNetworkSecurityGroupsRequest wrapper for the ListNetworkSecurityGroups operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListNetworkSecurityGroups.go.html to see an example of how to use ListNetworkSecurityGroupsRequest. type ListNetworkSecurityGroupsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_private_ips_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_private_ips_request_response.go index 63b16291ff87..1f33977368f9 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_private_ips_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_private_ips_request_response.go @@ -11,7 +11,7 @@ import ( // ListPrivateIpsRequest wrapper for the ListPrivateIps operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPrivateIps.go.html to see an example of how to use ListPrivateIpsRequest. type ListPrivateIpsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_public_ip_pools_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_public_ip_pools_request_response.go index be904ec2e9f7..4ae67d4a3285 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_public_ip_pools_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_public_ip_pools_request_response.go @@ -11,7 +11,7 @@ import ( // ListPublicIpPoolsRequest wrapper for the ListPublicIpPools operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIpPools.go.html to see an example of how to use ListPublicIpPoolsRequest. type ListPublicIpPoolsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_public_ips_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_public_ips_request_response.go index d072f4f4f804..fc9b4c23440c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_public_ips_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_public_ips_request_response.go @@ -11,7 +11,7 @@ import ( // ListPublicIpsRequest wrapper for the ListPublicIps operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListPublicIps.go.html to see an example of how to use ListPublicIpsRequest. type ListPublicIpsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_remote_peering_connections_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_remote_peering_connections_request_response.go index 6b246906a1fe..54f55f8bfb50 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_remote_peering_connections_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_remote_peering_connections_request_response.go @@ -11,7 +11,7 @@ import ( // ListRemotePeeringConnectionsRequest wrapper for the ListRemotePeeringConnections operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRemotePeeringConnections.go.html to see an example of how to use ListRemotePeeringConnectionsRequest. type ListRemotePeeringConnectionsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_route_tables_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_route_tables_request_response.go index 12e19a4c32ac..459c38308d24 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_route_tables_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_route_tables_request_response.go @@ -11,7 +11,7 @@ import ( // ListRouteTablesRequest wrapper for the ListRouteTables operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListRouteTables.go.html to see an example of how to use ListRouteTablesRequest. type ListRouteTablesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_security_lists_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_security_lists_request_response.go index 908f35fa5294..9fb551e8c73e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_security_lists_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_security_lists_request_response.go @@ -11,7 +11,7 @@ import ( // ListSecurityListsRequest wrapper for the ListSecurityLists operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSecurityLists.go.html to see an example of how to use ListSecurityListsRequest. type ListSecurityListsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_service_gateways_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_service_gateways_request_response.go index 122fd9d826a6..a9b8d79acaf1 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_service_gateways_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_service_gateways_request_response.go @@ -11,7 +11,7 @@ import ( // ListServiceGatewaysRequest wrapper for the ListServiceGateways operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServiceGateways.go.html to see an example of how to use ListServiceGatewaysRequest. type ListServiceGatewaysRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_services_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_services_request_response.go index 60b9b675ff5d..d1afb1cf03d7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_services_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_services_request_response.go @@ -11,7 +11,7 @@ import ( // ListServicesRequest wrapper for the ListServices operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListServices.go.html to see an example of how to use ListServicesRequest. type ListServicesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_shapes_request_response.go index f0147080b3ff..8e398f17a0fc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_shapes_request_response.go @@ -11,7 +11,7 @@ import ( // ListShapesRequest wrapper for the ListShapes operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListShapes.go.html to see an example of how to use ListShapesRequest. type ListShapesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_subnets_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_subnets_request_response.go index ff3f4efdd489..42306e1d0926 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_subnets_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_subnets_request_response.go @@ -11,7 +11,7 @@ import ( // ListSubnetsRequest wrapper for the ListSubnets operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListSubnets.go.html to see an example of how to use ListSubnetsRequest. type ListSubnetsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_vcns_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_vcns_request_response.go index 50931f9c35e6..f14353b66a50 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_vcns_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_vcns_request_response.go @@ -11,7 +11,7 @@ import ( // ListVcnsRequest wrapper for the ListVcns operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVcns.go.html to see an example of how to use ListVcnsRequest. type ListVcnsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_virtual_circuit_bandwidth_shapes_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_virtual_circuit_bandwidth_shapes_request_response.go index 6d8ba228a9d6..9c933153de24 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_virtual_circuit_bandwidth_shapes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_virtual_circuit_bandwidth_shapes_request_response.go @@ -11,7 +11,7 @@ import ( // ListVirtualCircuitBandwidthShapesRequest wrapper for the ListVirtualCircuitBandwidthShapes operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitBandwidthShapes.go.html to see an example of how to use ListVirtualCircuitBandwidthShapesRequest. type ListVirtualCircuitBandwidthShapesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_virtual_circuit_public_prefixes_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_virtual_circuit_public_prefixes_request_response.go index a27bb73ad202..6e746c032b9b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_virtual_circuit_public_prefixes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_virtual_circuit_public_prefixes_request_response.go @@ -11,7 +11,7 @@ import ( // ListVirtualCircuitPublicPrefixesRequest wrapper for the ListVirtualCircuitPublicPrefixes operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuitPublicPrefixes.go.html to see an example of how to use ListVirtualCircuitPublicPrefixesRequest. type ListVirtualCircuitPublicPrefixesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_virtual_circuits_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_virtual_circuits_request_response.go index 47d764b93ec9..c46d708f0e97 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_virtual_circuits_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_virtual_circuits_request_response.go @@ -11,7 +11,7 @@ import ( // ListVirtualCircuitsRequest wrapper for the ListVirtualCircuits operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVirtualCircuits.go.html to see an example of how to use ListVirtualCircuitsRequest. type ListVirtualCircuitsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_vlans_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_vlans_request_response.go index 13e76dfe71ae..e578aa92e3c2 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_vlans_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_vlans_request_response.go @@ -11,7 +11,7 @@ import ( // ListVlansRequest wrapper for the ListVlans operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVlans.go.html to see an example of how to use ListVlansRequest. type ListVlansRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_vnic_attachments_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_vnic_attachments_request_response.go index 43095547d19a..166886f442f1 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_vnic_attachments_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_vnic_attachments_request_response.go @@ -11,7 +11,7 @@ import ( // ListVnicAttachmentsRequest wrapper for the ListVnicAttachments operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVnicAttachments.go.html to see an example of how to use ListVnicAttachmentsRequest. type ListVnicAttachmentsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_attachments_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_attachments_request_response.go index ed711af63f08..63f3368c9861 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_attachments_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_attachments_request_response.go @@ -11,7 +11,7 @@ import ( // ListVolumeAttachmentsRequest wrapper for the ListVolumeAttachments operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeAttachments.go.html to see an example of how to use ListVolumeAttachmentsRequest. type ListVolumeAttachmentsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_backup_policies_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_backup_policies_request_response.go index c90ad528da76..ebcc64c52d57 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_backup_policies_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_backup_policies_request_response.go @@ -11,7 +11,7 @@ import ( // ListVolumeBackupPoliciesRequest wrapper for the ListVolumeBackupPolicies operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackupPolicies.go.html to see an example of how to use ListVolumeBackupPoliciesRequest. type ListVolumeBackupPoliciesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_backups_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_backups_request_response.go index 5fa02d2d702d..788f6f39cf86 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_backups_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_backups_request_response.go @@ -11,7 +11,7 @@ import ( // ListVolumeBackupsRequest wrapper for the ListVolumeBackups operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeBackups.go.html to see an example of how to use ListVolumeBackupsRequest. type ListVolumeBackupsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_group_backups_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_group_backups_request_response.go index 20005a25b58e..bafc3e33fa59 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_group_backups_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_group_backups_request_response.go @@ -11,7 +11,7 @@ import ( // ListVolumeGroupBackupsRequest wrapper for the ListVolumeGroupBackups operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroupBackups.go.html to see an example of how to use ListVolumeGroupBackupsRequest. type ListVolumeGroupBackupsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_groups_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_groups_request_response.go index 4391c8b9957e..df962e00a0de 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_groups_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volume_groups_request_response.go @@ -11,7 +11,7 @@ import ( // ListVolumeGroupsRequest wrapper for the ListVolumeGroups operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumeGroups.go.html to see an example of how to use ListVolumeGroupsRequest. type ListVolumeGroupsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volumes_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volumes_request_response.go index c007c70e8ae2..9795a56d3a89 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volumes_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/list_volumes_request_response.go @@ -11,7 +11,7 @@ import ( // ListVolumesRequest wrapper for the ListVolumes operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ListVolumes.go.html to see an example of how to use ListVolumesRequest. type ListVolumesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/modify_vcn_cidr_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/modify_vcn_cidr_request_response.go index 3e27fb4262f1..99defa6a2455 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/modify_vcn_cidr_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/modify_vcn_cidr_request_response.go @@ -11,7 +11,7 @@ import ( // ModifyVcnCidrRequest wrapper for the ModifyVcnCidr operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ModifyVcnCidr.go.html to see an example of how to use ModifyVcnCidrRequest. type ModifyVcnCidrRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/network_security_group.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/network_security_group.go index 377502229bde..676133ebe871 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/network_security_group.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/network_security_group.go @@ -21,9 +21,10 @@ import ( // Vnic in a VCN. Compare NSGs with SecurityList, // which provide virtual firewall rules to all the VNICs in a *subnet*. // A network security group consists of two items: -// * The set of Vnic that all have the same security rule needs (for +// - The set of Vnic that all have the same security rule needs (for // example, a group of Compute instances all running the same application) -// * A set of NSG SecurityRule that apply to the VNICs in the group +// - A set of NSG SecurityRule that apply to the VNICs in the group +// // After creating an NSG, you can add VNICs and security rules to it. For example, when you create // an instance, you can specify one or more NSGs to add the instance to (see // CreateVnicDetails). Or you can add an existing @@ -39,9 +40,10 @@ import ( // **Important:** Oracle Cloud Infrastructure Compute service images automatically include firewall rules (for example, // Linux iptables, Windows firewall). If there are issues with some type of access to an instance, // make sure all of the following are set correctly: -// * Any security rules in any NSGs the instance's VNIC belongs to -// * Any SecurityList associated with the instance's subnet -// * The instance's OS firewall rules +// - Any security rules in any NSGs the instance's VNIC belongs to +// - Any SecurityList associated with the instance's subnet +// - The instance's OS firewall rules +// // To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, // talk to an administrator. If you're an administrator who needs to write policies to give users access, see // Getting Started with Policies (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm). diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/networking_topology.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/networking_topology.go index f0a8778375f2..c78c530bcf90 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/networking_topology.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/networking_topology.go @@ -31,17 +31,17 @@ type NetworkingTopology struct { TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` } -//GetEntities returns Entities +// GetEntities returns Entities func (m NetworkingTopology) GetEntities() []interface{} { return m.Entities } -//GetRelationships returns Relationships +// GetRelationships returns Relationships func (m NetworkingTopology) GetRelationships() []TopologyEntityRelationship { return m.Relationships } -//GetTimeCreated returns TimeCreated +// GetTimeCreated returns TimeCreated func (m NetworkingTopology) GetTimeCreated() *common.SDKTime { return m.TimeCreated } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/paravirtualized_volume_attachment.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/paravirtualized_volume_attachment.go index 9622050eb3e3..162bc399dafc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/paravirtualized_volume_attachment.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/paravirtualized_volume_attachment.go @@ -72,72 +72,72 @@ type ParavirtualizedVolumeAttachment struct { IscsiLoginState VolumeAttachmentIscsiLoginStateEnum `mandatory:"false" json:"iscsiLoginState,omitempty"` } -//GetAvailabilityDomain returns AvailabilityDomain +// GetAvailabilityDomain returns AvailabilityDomain func (m ParavirtualizedVolumeAttachment) GetAvailabilityDomain() *string { return m.AvailabilityDomain } -//GetCompartmentId returns CompartmentId +// GetCompartmentId returns CompartmentId func (m ParavirtualizedVolumeAttachment) GetCompartmentId() *string { return m.CompartmentId } -//GetDevice returns Device +// GetDevice returns Device func (m ParavirtualizedVolumeAttachment) GetDevice() *string { return m.Device } -//GetDisplayName returns DisplayName +// GetDisplayName returns DisplayName func (m ParavirtualizedVolumeAttachment) GetDisplayName() *string { return m.DisplayName } -//GetId returns Id +// GetId returns Id func (m ParavirtualizedVolumeAttachment) GetId() *string { return m.Id } -//GetInstanceId returns InstanceId +// GetInstanceId returns InstanceId func (m ParavirtualizedVolumeAttachment) GetInstanceId() *string { return m.InstanceId } -//GetIsReadOnly returns IsReadOnly +// GetIsReadOnly returns IsReadOnly func (m ParavirtualizedVolumeAttachment) GetIsReadOnly() *bool { return m.IsReadOnly } -//GetIsShareable returns IsShareable +// GetIsShareable returns IsShareable func (m ParavirtualizedVolumeAttachment) GetIsShareable() *bool { return m.IsShareable } -//GetLifecycleState returns LifecycleState +// GetLifecycleState returns LifecycleState func (m ParavirtualizedVolumeAttachment) GetLifecycleState() VolumeAttachmentLifecycleStateEnum { return m.LifecycleState } -//GetTimeCreated returns TimeCreated +// GetTimeCreated returns TimeCreated func (m ParavirtualizedVolumeAttachment) GetTimeCreated() *common.SDKTime { return m.TimeCreated } -//GetVolumeId returns VolumeId +// GetVolumeId returns VolumeId func (m ParavirtualizedVolumeAttachment) GetVolumeId() *string { return m.VolumeId } -//GetIsPvEncryptionInTransitEnabled returns IsPvEncryptionInTransitEnabled +// GetIsPvEncryptionInTransitEnabled returns IsPvEncryptionInTransitEnabled func (m ParavirtualizedVolumeAttachment) GetIsPvEncryptionInTransitEnabled() *bool { return m.IsPvEncryptionInTransitEnabled } -//GetIsMultipath returns IsMultipath +// GetIsMultipath returns IsMultipath func (m ParavirtualizedVolumeAttachment) GetIsMultipath() *bool { return m.IsMultipath } -//GetIscsiLoginState returns IscsiLoginState +// GetIscsiLoginState returns IscsiLoginState func (m ParavirtualizedVolumeAttachment) GetIscsiLoginState() VolumeAttachmentIscsiLoginStateEnum { return m.IscsiLoginState } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remote_peering_connection_drg_attachment_network_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remote_peering_connection_drg_attachment_network_details.go index 843b3c3f1769..f6013c252734 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remote_peering_connection_drg_attachment_network_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remote_peering_connection_drg_attachment_network_details.go @@ -25,7 +25,7 @@ type RemotePeeringConnectionDrgAttachmentNetworkDetails struct { Id *string `mandatory:"true" json:"id"` } -//GetId returns Id +// GetId returns Id func (m RemotePeeringConnectionDrgAttachmentNetworkDetails) GetId() *string { return m.Id } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_drg_route_distribution_statements_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_drg_route_distribution_statements_request_response.go index 9d46e927cd77..8131f301813d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_drg_route_distribution_statements_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_drg_route_distribution_statements_request_response.go @@ -11,7 +11,7 @@ import ( // RemoveDrgRouteDistributionStatementsRequest wrapper for the RemoveDrgRouteDistributionStatements operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteDistributionStatements.go.html to see an example of how to use RemoveDrgRouteDistributionStatementsRequest. type RemoveDrgRouteDistributionStatementsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_drg_route_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_drg_route_rules_request_response.go index 9cb875615986..e4527f47a028 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_drg_route_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_drg_route_rules_request_response.go @@ -11,7 +11,7 @@ import ( // RemoveDrgRouteRulesRequest wrapper for the RemoveDrgRouteRules operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveDrgRouteRules.go.html to see an example of how to use RemoveDrgRouteRulesRequest. type RemoveDrgRouteRulesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_export_drg_route_distribution_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_export_drg_route_distribution_request_response.go index d912eb71a865..88098d21834c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_export_drg_route_distribution_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_export_drg_route_distribution_request_response.go @@ -11,7 +11,7 @@ import ( // RemoveExportDrgRouteDistributionRequest wrapper for the RemoveExportDrgRouteDistribution operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveExportDrgRouteDistribution.go.html to see an example of how to use RemoveExportDrgRouteDistributionRequest. type RemoveExportDrgRouteDistributionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_image_shape_compatibility_entry_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_image_shape_compatibility_entry_request_response.go index 0272be2bdab4..2d8974d4f0d7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_image_shape_compatibility_entry_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_image_shape_compatibility_entry_request_response.go @@ -11,7 +11,7 @@ import ( // RemoveImageShapeCompatibilityEntryRequest wrapper for the RemoveImageShapeCompatibilityEntry operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImageShapeCompatibilityEntry.go.html to see an example of how to use RemoveImageShapeCompatibilityEntryRequest. type RemoveImageShapeCompatibilityEntryRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_import_drg_route_distribution_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_import_drg_route_distribution_request_response.go index b0c0cfde32f7..9e46777db283 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_import_drg_route_distribution_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_import_drg_route_distribution_request_response.go @@ -11,7 +11,7 @@ import ( // RemoveImportDrgRouteDistributionRequest wrapper for the RemoveImportDrgRouteDistribution operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveImportDrgRouteDistribution.go.html to see an example of how to use RemoveImportDrgRouteDistributionRequest. type RemoveImportDrgRouteDistributionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_network_security_group_security_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_network_security_group_security_rules_request_response.go index 63df2f1f7025..81e66e4ec1eb 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_network_security_group_security_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_network_security_group_security_rules_request_response.go @@ -11,7 +11,7 @@ import ( // RemoveNetworkSecurityGroupSecurityRulesRequest wrapper for the RemoveNetworkSecurityGroupSecurityRules operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveNetworkSecurityGroupSecurityRules.go.html to see an example of how to use RemoveNetworkSecurityGroupSecurityRulesRequest. type RemoveNetworkSecurityGroupSecurityRulesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_public_ip_pool_capacity_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_public_ip_pool_capacity_request_response.go index 5112d78cf9f8..74c924a0b2fc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_public_ip_pool_capacity_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_public_ip_pool_capacity_request_response.go @@ -11,7 +11,7 @@ import ( // RemovePublicIpPoolCapacityRequest wrapper for the RemovePublicIpPoolCapacity operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemovePublicIpPoolCapacity.go.html to see an example of how to use RemovePublicIpPoolCapacityRequest. type RemovePublicIpPoolCapacityRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_vcn_cidr_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_vcn_cidr_request_response.go index a8eba23d6dac..a7aea068c39c 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_vcn_cidr_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/remove_vcn_cidr_request_response.go @@ -11,7 +11,7 @@ import ( // RemoveVcnCidrRequest wrapper for the RemoveVcnCidr operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/RemoveVcnCidr.go.html to see an example of how to use RemoveVcnCidrRequest. type RemoveVcnCidrRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/reset_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/reset_instance_pool_request_response.go index 7a9d6badc2f7..471a55e235d3 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/reset_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/reset_instance_pool_request_response.go @@ -11,7 +11,7 @@ import ( // ResetInstancePoolRequest wrapper for the ResetInstancePool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ResetInstancePool.go.html to see an example of how to use ResetInstancePoolRequest. type ResetInstancePoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/softreset_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/softreset_instance_pool_request_response.go index e894ac81d1ca..c15603a132be 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/softreset_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/softreset_instance_pool_request_response.go @@ -11,7 +11,7 @@ import ( // SoftresetInstancePoolRequest wrapper for the SoftresetInstancePool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/SoftresetInstancePool.go.html to see an example of how to use SoftresetInstancePoolRequest. type SoftresetInstancePoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/start_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/start_instance_pool_request_response.go index b7c901e940b5..d4d6c0d7d2e6 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/start_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/start_instance_pool_request_response.go @@ -11,7 +11,7 @@ import ( // StartInstancePoolRequest wrapper for the StartInstancePool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StartInstancePool.go.html to see an example of how to use StartInstancePoolRequest. type StartInstancePoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/stop_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/stop_instance_pool_request_response.go index a4b3f8851467..9a5bfc879353 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/stop_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/stop_instance_pool_request_response.go @@ -11,7 +11,7 @@ import ( // StopInstancePoolRequest wrapper for the StopInstancePool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/StopInstancePool.go.html to see an example of how to use StopInstancePoolRequest. type StopInstancePoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/terminate_cluster_network_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/terminate_cluster_network_request_response.go index 2cf3f67c0741..7f14e20249d6 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/terminate_cluster_network_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/terminate_cluster_network_request_response.go @@ -11,7 +11,7 @@ import ( // TerminateClusterNetworkRequest wrapper for the TerminateClusterNetwork operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateClusterNetwork.go.html to see an example of how to use TerminateClusterNetworkRequest. type TerminateClusterNetworkRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/terminate_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/terminate_instance_pool_request_response.go index 96628589b714..0a00f23433e7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/terminate_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/terminate_instance_pool_request_response.go @@ -11,7 +11,7 @@ import ( // TerminateInstancePoolRequest wrapper for the TerminateInstancePool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstancePool.go.html to see an example of how to use TerminateInstancePoolRequest. type TerminateInstancePoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/terminate_instance_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/terminate_instance_request_response.go index 55b5d52663e7..c3415d08c499 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/terminate_instance_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/terminate_instance_request_response.go @@ -11,7 +11,7 @@ import ( // TerminateInstanceRequest wrapper for the TerminateInstance operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/TerminateInstance.go.html to see an example of how to use TerminateInstanceRequest. type TerminateInstanceRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology.go index f5957f5cedf1..892a054615eb 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology.go @@ -80,17 +80,17 @@ func (m *topology) UnmarshalPolymorphicJSON(data []byte) (interface{}, error) { } } -//GetEntities returns Entities +// GetEntities returns Entities func (m topology) GetEntities() []interface{} { return m.Entities } -//GetRelationships returns Relationships +// GetRelationships returns Relationships func (m topology) GetRelationships() []TopologyEntityRelationship { return m.Relationships } -//GetTimeCreated returns TimeCreated +// GetTimeCreated returns TimeCreated func (m topology) GetTimeCreated() *common.SDKTime { return m.TimeCreated } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_associated_with_entity_relationship.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_associated_with_entity_relationship.go index 35dafe6da38b..cd5083e73be7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_associated_with_entity_relationship.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_associated_with_entity_relationship.go @@ -31,12 +31,12 @@ type TopologyAssociatedWithEntityRelationship struct { Id2 *string `mandatory:"true" json:"id2"` } -//GetId1 returns Id1 +// GetId1 returns Id1 func (m TopologyAssociatedWithEntityRelationship) GetId1() *string { return m.Id1 } -//GetId2 returns Id2 +// GetId2 returns Id2 func (m TopologyAssociatedWithEntityRelationship) GetId2() *string { return m.Id2 } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_contains_entity_relationship.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_contains_entity_relationship.go index 4a544553ee1c..67bd33166263 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_contains_entity_relationship.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_contains_entity_relationship.go @@ -31,12 +31,12 @@ type TopologyContainsEntityRelationship struct { Id2 *string `mandatory:"true" json:"id2"` } -//GetId1 returns Id1 +// GetId1 returns Id1 func (m TopologyContainsEntityRelationship) GetId1() *string { return m.Id1 } -//GetId2 returns Id2 +// GetId2 returns Id2 func (m TopologyContainsEntityRelationship) GetId2() *string { return m.Id2 } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_entity_relationship.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_entity_relationship.go index ae0e7971bbdb..dfb0406a6240 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_entity_relationship.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_entity_relationship.go @@ -79,12 +79,12 @@ func (m *topologyentityrelationship) UnmarshalPolymorphicJSON(data []byte) (inte } } -//GetId1 returns Id1 +// GetId1 returns Id1 func (m topologyentityrelationship) GetId1() *string { return m.Id1 } -//GetId2 returns Id2 +// GetId2 returns Id2 func (m topologyentityrelationship) GetId2() *string { return m.Id2 } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_routes_to_entity_relationship.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_routes_to_entity_relationship.go index cedff69b7fcd..45ce4290b15b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_routes_to_entity_relationship.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/topology_routes_to_entity_relationship.go @@ -32,12 +32,12 @@ type TopologyRoutesToEntityRelationship struct { RouteRuleDetails *TopologyRoutesToRelationshipDetails `mandatory:"true" json:"routeRuleDetails"` } -//GetId1 returns Id1 +// GetId1 returns Id1 func (m TopologyRoutesToEntityRelationship) GetId1() *string { return m.Id1 } -//GetId2 returns Id2 +// GetId2 returns Id2 func (m TopologyRoutesToEntityRelationship) GetId2() *string { return m.Id2 } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/tunnel_config.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/tunnel_config.go index 97a9d0dea948..132d0489752e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/tunnel_config.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/tunnel_config.go @@ -18,8 +18,8 @@ import ( ) // TunnelConfig Deprecated. For tunnel information, instead see: -// * IPSecConnectionTunnel -// * IPSecConnectionTunnelSharedSecret +// - IPSecConnectionTunnel +// - IPSecConnectionTunnelSharedSecret type TunnelConfig struct { // The IP address of Oracle's VPN headend. diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/tunnel_cpe_device_config.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/tunnel_cpe_device_config.go index 38f859cf9d9a..22e9798b4665 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/tunnel_cpe_device_config.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/tunnel_cpe_device_config.go @@ -22,10 +22,10 @@ import ( // The answers correlate to the questions that are specific to the CPE device type (see the // `parameters` attribute of CpeDeviceShapeDetail). // See these related operations: -// * GetTunnelCpeDeviceConfig -// * GetTunnelCpeDeviceConfigContent -// * GetIpsecCpeDeviceConfigContent -// * GetCpeDeviceConfigContent +// - GetTunnelCpeDeviceConfig +// - GetTunnelCpeDeviceConfigContent +// - GetIpsecCpeDeviceConfigContent +// - GetCpeDeviceConfigContent type TunnelCpeDeviceConfig struct { TunnelCpeDeviceConfigParameter []CpeDeviceConfigAnswer `mandatory:"false" json:"tunnelCpeDeviceConfigParameter"` } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_boot_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_boot_volume_backup_request_response.go index 4db2a7abeec0..9dbc31b1d1fe 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_boot_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_boot_volume_backup_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateBootVolumeBackupRequest wrapper for the UpdateBootVolumeBackup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeBackup.go.html to see an example of how to use UpdateBootVolumeBackupRequest. type UpdateBootVolumeBackupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_boot_volume_kms_key_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_boot_volume_kms_key_request_response.go index 8ecbe0aeced1..19d63c97b321 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_boot_volume_kms_key_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_boot_volume_kms_key_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateBootVolumeKmsKeyRequest wrapper for the UpdateBootVolumeKmsKey operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolumeKmsKey.go.html to see an example of how to use UpdateBootVolumeKmsKeyRequest. type UpdateBootVolumeKmsKeyRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_boot_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_boot_volume_request_response.go index f4b85ea03ae6..1ed1d3f3ac74 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_boot_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_boot_volume_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateBootVolumeRequest wrapper for the UpdateBootVolume operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateBootVolume.go.html to see an example of how to use UpdateBootVolumeRequest. type UpdateBootVolumeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_byoip_range_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_byoip_range_request_response.go index 09baa65b315a..1a4b9fd6a7dc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_byoip_range_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_byoip_range_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateByoipRangeRequest wrapper for the UpdateByoipRange operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateByoipRange.go.html to see an example of how to use UpdateByoipRangeRequest. type UpdateByoipRangeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cluster_network_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cluster_network_request_response.go index 88ae86ef1b94..08a00620b6df 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cluster_network_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cluster_network_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateClusterNetworkRequest wrapper for the UpdateClusterNetwork operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateClusterNetwork.go.html to see an example of how to use UpdateClusterNetworkRequest. type UpdateClusterNetworkRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_compute_capacity_reservation_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_compute_capacity_reservation_request_response.go index 77eb68247a14..76b2d0c58975 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_compute_capacity_reservation_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_compute_capacity_reservation_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateComputeCapacityReservationRequest wrapper for the UpdateComputeCapacityReservation operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeCapacityReservation.go.html to see an example of how to use UpdateComputeCapacityReservationRequest. type UpdateComputeCapacityReservationRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_compute_image_capability_schema_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_compute_image_capability_schema_request_response.go index 306921b6d6a5..a9c14fd3978b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_compute_image_capability_schema_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_compute_image_capability_schema_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateComputeImageCapabilitySchemaRequest wrapper for the UpdateComputeImageCapabilitySchema operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateComputeImageCapabilitySchema.go.html to see an example of how to use UpdateComputeImageCapabilitySchemaRequest. type UpdateComputeImageCapabilitySchemaRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_console_history_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_console_history_request_response.go index 51b160018cfc..88f0c2915ba5 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_console_history_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_console_history_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateConsoleHistoryRequest wrapper for the UpdateConsoleHistory operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateConsoleHistory.go.html to see an example of how to use UpdateConsoleHistoryRequest. type UpdateConsoleHistoryRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cpe_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cpe_request_response.go index 0e9a26f60dc4..7a1efecc6d77 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cpe_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cpe_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateCpeRequest wrapper for the UpdateCpe operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCpe.go.html to see an example of how to use UpdateCpeRequest. type UpdateCpeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cross_connect_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cross_connect_group_request_response.go index 6518d8e61601..03e9aed6f26f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cross_connect_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cross_connect_group_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateCrossConnectGroupRequest wrapper for the UpdateCrossConnectGroup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnectGroup.go.html to see an example of how to use UpdateCrossConnectGroupRequest. type UpdateCrossConnectGroupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cross_connect_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cross_connect_request_response.go index 66b310a116a9..2cc21cea1ce7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cross_connect_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_cross_connect_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateCrossConnectRequest wrapper for the UpdateCrossConnect operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateCrossConnect.go.html to see an example of how to use UpdateCrossConnectRequest. type UpdateCrossConnectRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_dedicated_vm_host_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_dedicated_vm_host_request_response.go index 1dfef57c8a40..fe908aeb9719 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_dedicated_vm_host_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_dedicated_vm_host_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateDedicatedVmHostRequest wrapper for the UpdateDedicatedVmHost operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDedicatedVmHost.go.html to see an example of how to use UpdateDedicatedVmHostRequest. type UpdateDedicatedVmHostRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_dhcp_options_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_dhcp_options_request_response.go index a9b451c1405b..3df1c638dd23 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_dhcp_options_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_dhcp_options_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateDhcpOptionsRequest wrapper for the UpdateDhcpOptions operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDhcpOptions.go.html to see an example of how to use UpdateDhcpOptionsRequest. type UpdateDhcpOptionsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_attachment_request_response.go index 093b3e1780dd..ec9d0e035679 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_attachment_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateDrgAttachmentRequest wrapper for the UpdateDrgAttachment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgAttachment.go.html to see an example of how to use UpdateDrgAttachmentRequest. type UpdateDrgAttachmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_request_response.go index d4d646d7d3f3..2f89dee75787 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateDrgRequest wrapper for the UpdateDrg operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrg.go.html to see an example of how to use UpdateDrgRequest. type UpdateDrgRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_distribution_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_distribution_request_response.go index 59fd9d160321..6a27118a23ee 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_distribution_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_distribution_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateDrgRouteDistributionRequest wrapper for the UpdateDrgRouteDistribution operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistribution.go.html to see an example of how to use UpdateDrgRouteDistributionRequest. type UpdateDrgRouteDistributionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_distribution_statements_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_distribution_statements_request_response.go index ba490e6a0102..bc015628060f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_distribution_statements_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_distribution_statements_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateDrgRouteDistributionStatementsRequest wrapper for the UpdateDrgRouteDistributionStatements operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteDistributionStatements.go.html to see an example of how to use UpdateDrgRouteDistributionStatementsRequest. type UpdateDrgRouteDistributionStatementsRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_rules_request_response.go index d1349a01ad33..cb843d4535e7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_rules_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateDrgRouteRulesRequest wrapper for the UpdateDrgRouteRules operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteRules.go.html to see an example of how to use UpdateDrgRouteRulesRequest. type UpdateDrgRouteRulesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_table_request_response.go index 336387cbac21..c05afe1a463a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_drg_route_table_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateDrgRouteTableRequest wrapper for the UpdateDrgRouteTable operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateDrgRouteTable.go.html to see an example of how to use UpdateDrgRouteTableRequest. type UpdateDrgRouteTableRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_i_p_sec_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_i_p_sec_connection_request_response.go index 527e456dc020..68b2dbcb9c4f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_i_p_sec_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_i_p_sec_connection_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateIPSecConnectionRequest wrapper for the UpdateIPSecConnection operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnection.go.html to see an example of how to use UpdateIPSecConnectionRequest. type UpdateIPSecConnectionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_i_p_sec_connection_tunnel_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_i_p_sec_connection_tunnel_request_response.go index a3280723a14b..75304b107467 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_i_p_sec_connection_tunnel_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_i_p_sec_connection_tunnel_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateIPSecConnectionTunnelRequest wrapper for the UpdateIPSecConnectionTunnel operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnel.go.html to see an example of how to use UpdateIPSecConnectionTunnelRequest. type UpdateIPSecConnectionTunnelRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go index 65671c14461d..e3310f5cd392 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_i_p_sec_connection_tunnel_shared_secret_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateIPSecConnectionTunnelSharedSecretRequest wrapper for the UpdateIPSecConnectionTunnelSharedSecret operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIPSecConnectionTunnelSharedSecret.go.html to see an example of how to use UpdateIPSecConnectionTunnelSharedSecretRequest. type UpdateIPSecConnectionTunnelSharedSecretRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_image_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_image_request_response.go index eed413317eae..a7af1ad07cc2 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_image_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_image_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateImageRequest wrapper for the UpdateImage operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateImage.go.html to see an example of how to use UpdateImageRequest. type UpdateImageRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_configuration_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_configuration_request_response.go index ae72ceb144a9..87cfa917cd40 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_configuration_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_configuration_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateInstanceConfigurationRequest wrapper for the UpdateInstanceConfiguration operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConfiguration.go.html to see an example of how to use UpdateInstanceConfigurationRequest. type UpdateInstanceConfigurationRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_console_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_console_connection_request_response.go index 2d23d46f00ab..706fe74a4ac7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_console_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_console_connection_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateInstanceConsoleConnectionRequest wrapper for the UpdateInstanceConsoleConnection operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstanceConsoleConnection.go.html to see an example of how to use UpdateInstanceConsoleConnectionRequest. type UpdateInstanceConsoleConnectionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_pool_request_response.go index 06587cc1d008..1f99a1c29ea4 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_pool_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateInstancePoolRequest wrapper for the UpdateInstancePool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstancePool.go.html to see an example of how to use UpdateInstancePoolRequest. type UpdateInstancePoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_request_response.go index 1d68bd09a612..755f74861f6b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_instance_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateInstanceRequest wrapper for the UpdateInstance operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInstance.go.html to see an example of how to use UpdateInstanceRequest. type UpdateInstanceRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_internet_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_internet_gateway_request_response.go index 16ec2c13ebc3..f78168186e5b 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_internet_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_internet_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateInternetGatewayRequest wrapper for the UpdateInternetGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateInternetGateway.go.html to see an example of how to use UpdateInternetGatewayRequest. type UpdateInternetGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_ipv6_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_ipv6_request_response.go index b2a9967654f3..5972c361eb94 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_ipv6_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_ipv6_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateIpv6Request wrapper for the UpdateIpv6 operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateIpv6.go.html to see an example of how to use UpdateIpv6Request. type UpdateIpv6Request struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_local_peering_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_local_peering_gateway_request_response.go index ef87dca859ea..8be187c6b28a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_local_peering_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_local_peering_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateLocalPeeringGatewayRequest wrapper for the UpdateLocalPeeringGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateLocalPeeringGateway.go.html to see an example of how to use UpdateLocalPeeringGatewayRequest. type UpdateLocalPeeringGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_nat_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_nat_gateway_request_response.go index 7dc352d562c0..7df51670f52d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_nat_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_nat_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateNatGatewayRequest wrapper for the UpdateNatGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNatGateway.go.html to see an example of how to use UpdateNatGatewayRequest. type UpdateNatGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_network_security_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_network_security_group_request_response.go index e2df6103ccab..3097708a02e1 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_network_security_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_network_security_group_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateNetworkSecurityGroupRequest wrapper for the UpdateNetworkSecurityGroup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroup.go.html to see an example of how to use UpdateNetworkSecurityGroupRequest. type UpdateNetworkSecurityGroupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_network_security_group_security_rules_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_network_security_group_security_rules_request_response.go index fdd9c56ee2e4..283c0ec3451e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_network_security_group_security_rules_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_network_security_group_security_rules_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateNetworkSecurityGroupSecurityRulesRequest wrapper for the UpdateNetworkSecurityGroupSecurityRules operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateNetworkSecurityGroupSecurityRules.go.html to see an example of how to use UpdateNetworkSecurityGroupSecurityRulesRequest. type UpdateNetworkSecurityGroupSecurityRulesRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_private_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_private_ip_request_response.go index a0c5388355c4..50b3edcbee9e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_private_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_private_ip_request_response.go @@ -11,7 +11,7 @@ import ( // UpdatePrivateIpRequest wrapper for the UpdatePrivateIp operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePrivateIp.go.html to see an example of how to use UpdatePrivateIpRequest. type UpdatePrivateIpRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_public_ip_pool_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_public_ip_pool_request_response.go index 087356200b46..14b8e15f0b0f 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_public_ip_pool_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_public_ip_pool_request_response.go @@ -11,7 +11,7 @@ import ( // UpdatePublicIpPoolRequest wrapper for the UpdatePublicIpPool operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIpPool.go.html to see an example of how to use UpdatePublicIpPoolRequest. type UpdatePublicIpPoolRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_public_ip_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_public_ip_request_response.go index 53916d4c4a64..2c7242973676 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_public_ip_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_public_ip_request_response.go @@ -11,7 +11,7 @@ import ( // UpdatePublicIpRequest wrapper for the UpdatePublicIp operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdatePublicIp.go.html to see an example of how to use UpdatePublicIpRequest. type UpdatePublicIpRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_remote_peering_connection_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_remote_peering_connection_request_response.go index ace8ffbe070d..064672496d45 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_remote_peering_connection_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_remote_peering_connection_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateRemotePeeringConnectionRequest wrapper for the UpdateRemotePeeringConnection operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRemotePeeringConnection.go.html to see an example of how to use UpdateRemotePeeringConnectionRequest. type UpdateRemotePeeringConnectionRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_route_table_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_route_table_request_response.go index 23d5c9a0ddb6..d9df7ee1ce85 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_route_table_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_route_table_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateRouteTableRequest wrapper for the UpdateRouteTable operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateRouteTable.go.html to see an example of how to use UpdateRouteTableRequest. type UpdateRouteTableRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_security_list_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_security_list_request_response.go index d5bed9dcf095..04cd9dff91fc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_security_list_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_security_list_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateSecurityListRequest wrapper for the UpdateSecurityList operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSecurityList.go.html to see an example of how to use UpdateSecurityListRequest. type UpdateSecurityListRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_service_gateway_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_service_gateway_request_response.go index 3f37f3c87eee..08a7aafd7ab4 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_service_gateway_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_service_gateway_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateServiceGatewayRequest wrapper for the UpdateServiceGateway operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateServiceGateway.go.html to see an example of how to use UpdateServiceGatewayRequest. type UpdateServiceGatewayRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_subnet_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_subnet_request_response.go index a0e9498b1b8a..1b6a5f87d8d7 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_subnet_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_subnet_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateSubnetRequest wrapper for the UpdateSubnet operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateSubnet.go.html to see an example of how to use UpdateSubnetRequest. type UpdateSubnetRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_tunnel_cpe_device_config_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_tunnel_cpe_device_config_request_response.go index 28d8839f40ce..c1bbd0581f78 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_tunnel_cpe_device_config_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_tunnel_cpe_device_config_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateTunnelCpeDeviceConfigRequest wrapper for the UpdateTunnelCpeDeviceConfig operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateTunnelCpeDeviceConfig.go.html to see an example of how to use UpdateTunnelCpeDeviceConfigRequest. type UpdateTunnelCpeDeviceConfigRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_vcn_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_vcn_request_response.go index b06f92e9f5d0..0afdc191cccf 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_vcn_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_vcn_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateVcnRequest wrapper for the UpdateVcn operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVcn.go.html to see an example of how to use UpdateVcnRequest. type UpdateVcnRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_virtual_circuit_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_virtual_circuit_request_response.go index c103bb532cea..d4d84570ccb4 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_virtual_circuit_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_virtual_circuit_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateVirtualCircuitRequest wrapper for the UpdateVirtualCircuit operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVirtualCircuit.go.html to see an example of how to use UpdateVirtualCircuitRequest. type UpdateVirtualCircuitRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_vlan_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_vlan_request_response.go index 5e290c27c0df..ba8a6f0284dd 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_vlan_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_vlan_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateVlanRequest wrapper for the UpdateVlan operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVlan.go.html to see an example of how to use UpdateVlanRequest. type UpdateVlanRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_vnic_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_vnic_request_response.go index 1f8dc7c24e09..b8a6f742253d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_vnic_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_vnic_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateVnicRequest wrapper for the UpdateVnic operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVnic.go.html to see an example of how to use UpdateVnicRequest. type UpdateVnicRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_attachment_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_attachment_request_response.go index 880fe307818c..99c2949dfa5d 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_attachment_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_attachment_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateVolumeAttachmentRequest wrapper for the UpdateVolumeAttachment operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeAttachment.go.html to see an example of how to use UpdateVolumeAttachmentRequest. type UpdateVolumeAttachmentRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_backup_policy_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_backup_policy_request_response.go index 7eeb400d8b56..c7d18791a214 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_backup_policy_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_backup_policy_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateVolumeBackupPolicyRequest wrapper for the UpdateVolumeBackupPolicy operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackupPolicy.go.html to see an example of how to use UpdateVolumeBackupPolicyRequest. type UpdateVolumeBackupPolicyRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_backup_request_response.go index 0b7feeba160d..0b02c965e63a 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_backup_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateVolumeBackupRequest wrapper for the UpdateVolumeBackup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeBackup.go.html to see an example of how to use UpdateVolumeBackupRequest. type UpdateVolumeBackupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_group_backup_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_group_backup_request_response.go index e04547064b87..7011fbfa2465 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_group_backup_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_group_backup_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateVolumeGroupBackupRequest wrapper for the UpdateVolumeGroupBackup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroupBackup.go.html to see an example of how to use UpdateVolumeGroupBackupRequest. type UpdateVolumeGroupBackupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_group_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_group_request_response.go index f17cec70e197..cfe5e96c9bde 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_group_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_group_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateVolumeGroupRequest wrapper for the UpdateVolumeGroup operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeGroup.go.html to see an example of how to use UpdateVolumeGroupRequest. type UpdateVolumeGroupRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_kms_key_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_kms_key_request_response.go index 6ec659c3b217..9257659caf21 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_kms_key_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_kms_key_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateVolumeKmsKeyRequest wrapper for the UpdateVolumeKmsKey operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolumeKmsKey.go.html to see an example of how to use UpdateVolumeKmsKeyRequest. type UpdateVolumeKmsKeyRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_request_response.go index 500907c2a3b5..075297e75015 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/update_volume_request_response.go @@ -11,7 +11,7 @@ import ( // UpdateVolumeRequest wrapper for the UpdateVolume operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpdateVolume.go.html to see an example of how to use UpdateVolumeRequest. type UpdateVolumeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/upgrade_drg_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/upgrade_drg_request_response.go index 661d63960994..159baa48b121 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/upgrade_drg_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/upgrade_drg_request_response.go @@ -11,7 +11,7 @@ import ( // UpgradeDrgRequest wrapper for the UpgradeDrg operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/UpgradeDrg.go.html to see an example of how to use UpgradeDrgRequest. type UpgradeDrgRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/validate_byoip_range_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/validate_byoip_range_request_response.go index 76fec60fb200..9c7c13213a37 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/validate_byoip_range_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/validate_byoip_range_request_response.go @@ -11,7 +11,7 @@ import ( // ValidateByoipRangeRequest wrapper for the ValidateByoipRange operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/ValidateByoipRange.go.html to see an example of how to use ValidateByoipRangeRequest. type ValidateByoipRangeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/vcn_drg_attachment_network_create_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/vcn_drg_attachment_network_create_details.go index 22cc5f3cc2ec..91b1aa63a34e 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/vcn_drg_attachment_network_create_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/vcn_drg_attachment_network_create_details.go @@ -33,7 +33,7 @@ type VcnDrgAttachmentNetworkCreateDetails struct { RouteTableId *string `mandatory:"false" json:"routeTableId"` } -//GetId returns Id +// GetId returns Id func (m VcnDrgAttachmentNetworkCreateDetails) GetId() *string { return m.Id } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/vcn_drg_attachment_network_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/vcn_drg_attachment_network_details.go index 1314114cd1a6..82c0d56e73f0 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/vcn_drg_attachment_network_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/vcn_drg_attachment_network_details.go @@ -31,7 +31,7 @@ type VcnDrgAttachmentNetworkDetails struct { RouteTableId *string `mandatory:"false" json:"routeTableId"` } -//GetId returns Id +// GetId returns Id func (m VcnDrgAttachmentNetworkDetails) GetId() *string { return m.Id } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/vcn_topology.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/vcn_topology.go index bf7ef37eca54..5de3a92768eb 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/vcn_topology.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/vcn_topology.go @@ -34,17 +34,17 @@ type VcnTopology struct { VcnId *string `mandatory:"false" json:"vcnId"` } -//GetEntities returns Entities +// GetEntities returns Entities func (m VcnTopology) GetEntities() []interface{} { return m.Entities } -//GetRelationships returns Relationships +// GetRelationships returns Relationships func (m VcnTopology) GetRelationships() []TopologyEntityRelationship { return m.Relationships } -//GetTimeCreated returns TimeCreated +// GetTimeCreated returns TimeCreated func (m VcnTopology) GetTimeCreated() *common.SDKTime { return m.TimeCreated } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/virtual_circuit_drg_attachment_network_details.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/virtual_circuit_drg_attachment_network_details.go index d0b4d54564b3..edc8f983c5d6 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/virtual_circuit_drg_attachment_network_details.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/virtual_circuit_drg_attachment_network_details.go @@ -25,7 +25,7 @@ type VirtualCircuitDrgAttachmentNetworkDetails struct { Id *string `mandatory:"true" json:"id"` } -//GetId returns Id +// GetId returns Id func (m VirtualCircuitDrgAttachmentNetworkDetails) GetId() *string { return m.Id } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/volume_attachment.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/volume_attachment.go index add10e8cc384..37e9017c59bc 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/volume_attachment.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/volume_attachment.go @@ -153,72 +153,72 @@ func (m *volumeattachment) UnmarshalPolymorphicJSON(data []byte) (interface{}, e } } -//GetAvailabilityDomain returns AvailabilityDomain +// GetAvailabilityDomain returns AvailabilityDomain func (m volumeattachment) GetAvailabilityDomain() *string { return m.AvailabilityDomain } -//GetCompartmentId returns CompartmentId +// GetCompartmentId returns CompartmentId func (m volumeattachment) GetCompartmentId() *string { return m.CompartmentId } -//GetId returns Id +// GetId returns Id func (m volumeattachment) GetId() *string { return m.Id } -//GetInstanceId returns InstanceId +// GetInstanceId returns InstanceId func (m volumeattachment) GetInstanceId() *string { return m.InstanceId } -//GetLifecycleState returns LifecycleState +// GetLifecycleState returns LifecycleState func (m volumeattachment) GetLifecycleState() VolumeAttachmentLifecycleStateEnum { return m.LifecycleState } -//GetTimeCreated returns TimeCreated +// GetTimeCreated returns TimeCreated func (m volumeattachment) GetTimeCreated() *common.SDKTime { return m.TimeCreated } -//GetVolumeId returns VolumeId +// GetVolumeId returns VolumeId func (m volumeattachment) GetVolumeId() *string { return m.VolumeId } -//GetDevice returns Device +// GetDevice returns Device func (m volumeattachment) GetDevice() *string { return m.Device } -//GetDisplayName returns DisplayName +// GetDisplayName returns DisplayName func (m volumeattachment) GetDisplayName() *string { return m.DisplayName } -//GetIsReadOnly returns IsReadOnly +// GetIsReadOnly returns IsReadOnly func (m volumeattachment) GetIsReadOnly() *bool { return m.IsReadOnly } -//GetIsShareable returns IsShareable +// GetIsShareable returns IsShareable func (m volumeattachment) GetIsShareable() *bool { return m.IsShareable } -//GetIsPvEncryptionInTransitEnabled returns IsPvEncryptionInTransitEnabled +// GetIsPvEncryptionInTransitEnabled returns IsPvEncryptionInTransitEnabled func (m volumeattachment) GetIsPvEncryptionInTransitEnabled() *bool { return m.IsPvEncryptionInTransitEnabled } -//GetIsMultipath returns IsMultipath +// GetIsMultipath returns IsMultipath func (m volumeattachment) GetIsMultipath() *bool { return m.IsMultipath } -//GetIscsiLoginState returns IscsiLoginState +// GetIscsiLoginState returns IscsiLoginState func (m volumeattachment) GetIscsiLoginState() VolumeAttachmentIscsiLoginStateEnum { return m.IscsiLoginState } diff --git a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/withdraw_byoip_range_request_response.go b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/withdraw_byoip_range_request_response.go index a5b639ca0c55..07ad5d6b60e3 100644 --- a/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/withdraw_byoip_range_request_response.go +++ b/cluster-autoscaler/cloudprovider/oci/oci-go-sdk/v43/core/withdraw_byoip_range_request_response.go @@ -11,7 +11,7 @@ import ( // WithdrawByoipRangeRequest wrapper for the WithdrawByoipRange operation // -// See also +// # See also // // Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/core/WithdrawByoipRange.go.html to see an example of how to use WithdrawByoipRangeRequest. type WithdrawByoipRangeRequest struct { diff --git a/cluster-autoscaler/cloudprovider/ovhcloud/sdk/configuration.go b/cluster-autoscaler/cloudprovider/ovhcloud/sdk/configuration.go index ddc15da1203b..072fde587ce4 100644 --- a/cluster-autoscaler/cloudprovider/ovhcloud/sdk/configuration.go +++ b/cluster-autoscaler/cloudprovider/ovhcloud/sdk/configuration.go @@ -42,7 +42,6 @@ var ( // - ./ovh.conf // - $HOME/.ovh.conf // - /etc/ovh.conf -// func (c *Client) loadConfig(endpointName string) error { // Load real endpoint URL by name. If endpoint contains a '/', consider it as a URL if strings.Contains(endpointName, "/") { diff --git a/cluster-autoscaler/cloudprovider/ovhcloud/sdk/ovh.go b/cluster-autoscaler/cloudprovider/ovhcloud/sdk/ovh.go index 0ab335df1308..7be99711cbbe 100644 --- a/cluster-autoscaler/cloudprovider/ovhcloud/sdk/ovh.go +++ b/cluster-autoscaler/cloudprovider/ovhcloud/sdk/ovh.go @@ -420,7 +420,7 @@ func (c *Client) CallAPI(method, path string, reqBody, result interface{}, query // - full serialized request body // - server current time (takes time delta into account) // -// Context is used by http.Client to handle context cancelation +// # Context is used by http.Client to handle context cancelation // // Call will automatically assemble the target url from the endpoint // configured in the client instance and the path argument. If the reqBody diff --git a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/as/v20180419/client.go b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/as/v20180419/client.go index 00a4c94f0fdd..2fa456110d6f 100644 --- a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/as/v20180419/client.go +++ b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/as/v20180419/client.go @@ -66,20 +66,21 @@ func NewAttachInstancesResponse() (response *AttachInstancesResponse) { // 本接口(AttachInstances)用于将 CVM 实例添加到伸缩组。 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR = "InternalError" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPABOVEMAXSIZE = "ResourceInsufficient.AutoScalingGroupAboveMaxSize" -// RESOURCEINSUFFICIENT_INSERVICEINSTANCEABOVEMAXSIZE = "ResourceInsufficient.InServiceInstanceAboveMaxSize" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_INSTANCESNOTFOUND = "ResourceNotFound.InstancesNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_CVMVPCINCONSISTENT = "ResourceUnavailable.CvmVpcInconsistent" -// RESOURCEUNAVAILABLE_INSTANCESALREADYINAUTOSCALINGGROUP = "ResourceUnavailable.InstancesAlreadyInAutoScalingGroup" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR = "InternalError" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPABOVEMAXSIZE = "ResourceInsufficient.AutoScalingGroupAboveMaxSize" +// RESOURCEINSUFFICIENT_INSERVICEINSTANCEABOVEMAXSIZE = "ResourceInsufficient.InServiceInstanceAboveMaxSize" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_INSTANCESNOTFOUND = "ResourceNotFound.InstancesNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_CVMVPCINCONSISTENT = "ResourceUnavailable.CvmVpcInconsistent" +// RESOURCEUNAVAILABLE_INSTANCESALREADYINAUTOSCALINGGROUP = "ResourceUnavailable.InstancesAlreadyInAutoScalingGroup" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) AttachInstances(request *AttachInstancesRequest) (response *AttachInstancesResponse, err error) { if request == nil { request = NewAttachInstancesRequest() @@ -94,20 +95,21 @@ func (c *Client) AttachInstances(request *AttachInstancesRequest) (response *Att // 本接口(AttachInstances)用于将 CVM 实例添加到伸缩组。 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR = "InternalError" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPABOVEMAXSIZE = "ResourceInsufficient.AutoScalingGroupAboveMaxSize" -// RESOURCEINSUFFICIENT_INSERVICEINSTANCEABOVEMAXSIZE = "ResourceInsufficient.InServiceInstanceAboveMaxSize" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_INSTANCESNOTFOUND = "ResourceNotFound.InstancesNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_CVMVPCINCONSISTENT = "ResourceUnavailable.CvmVpcInconsistent" -// RESOURCEUNAVAILABLE_INSTANCESALREADYINAUTOSCALINGGROUP = "ResourceUnavailable.InstancesAlreadyInAutoScalingGroup" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR = "InternalError" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPABOVEMAXSIZE = "ResourceInsufficient.AutoScalingGroupAboveMaxSize" +// RESOURCEINSUFFICIENT_INSERVICEINSTANCEABOVEMAXSIZE = "ResourceInsufficient.InServiceInstanceAboveMaxSize" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_INSTANCESNOTFOUND = "ResourceNotFound.InstancesNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_CVMVPCINCONSISTENT = "ResourceUnavailable.CvmVpcInconsistent" +// RESOURCEUNAVAILABLE_INSTANCESALREADYINAUTOSCALINGGROUP = "ResourceUnavailable.InstancesAlreadyInAutoScalingGroup" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) AttachInstancesWithContext(ctx context.Context, request *AttachInstancesRequest) (response *AttachInstancesResponse, err error) { if request == nil { request = NewAttachInstancesRequest() @@ -139,27 +141,28 @@ func NewAttachLoadBalancersResponse() (response *AttachLoadBalancersResponse) { // 此接口(AttachLoadBalancers)用于将负载均衡器添加到伸缩组。 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" -// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" -// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" -// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" -// INVALIDPARAMETERVALUE_TARGETPORTDUPLICATED = "InvalidParameterValue.TargetPortDuplicated" -// LIMITEXCEEDED_AFTERATTACHLBLIMITEXCEEDED = "LimitExceeded.AfterAttachLbLimitExceeded" -// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" -// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" -// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" -// RESOURCEUNAVAILABLE_LBPROJECTINCONSISTENT = "ResourceUnavailable.LbProjectInconsistent" -// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" +// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" +// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" +// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" +// INVALIDPARAMETERVALUE_TARGETPORTDUPLICATED = "InvalidParameterValue.TargetPortDuplicated" +// LIMITEXCEEDED_AFTERATTACHLBLIMITEXCEEDED = "LimitExceeded.AfterAttachLbLimitExceeded" +// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" +// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" +// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" +// RESOURCEUNAVAILABLE_LBPROJECTINCONSISTENT = "ResourceUnavailable.LbProjectInconsistent" +// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) AttachLoadBalancers(request *AttachLoadBalancersRequest) (response *AttachLoadBalancersResponse, err error) { if request == nil { request = NewAttachLoadBalancersRequest() @@ -174,27 +177,28 @@ func (c *Client) AttachLoadBalancers(request *AttachLoadBalancersRequest) (respo // 此接口(AttachLoadBalancers)用于将负载均衡器添加到伸缩组。 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" -// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" -// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" -// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" -// INVALIDPARAMETERVALUE_TARGETPORTDUPLICATED = "InvalidParameterValue.TargetPortDuplicated" -// LIMITEXCEEDED_AFTERATTACHLBLIMITEXCEEDED = "LimitExceeded.AfterAttachLbLimitExceeded" -// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" -// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" -// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" -// RESOURCEUNAVAILABLE_LBPROJECTINCONSISTENT = "ResourceUnavailable.LbProjectInconsistent" -// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" +// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" +// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" +// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" +// INVALIDPARAMETERVALUE_TARGETPORTDUPLICATED = "InvalidParameterValue.TargetPortDuplicated" +// LIMITEXCEEDED_AFTERATTACHLBLIMITEXCEEDED = "LimitExceeded.AfterAttachLbLimitExceeded" +// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" +// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" +// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" +// RESOURCEUNAVAILABLE_LBPROJECTINCONSISTENT = "ResourceUnavailable.LbProjectInconsistent" +// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) AttachLoadBalancersWithContext(ctx context.Context, request *AttachLoadBalancersRequest) (response *AttachLoadBalancersResponse, err error) { if request == nil { request = NewAttachLoadBalancersRequest() @@ -226,7 +230,8 @@ func NewClearLaunchConfigurationAttributesResponse() (response *ClearLaunchConfi // 本接口(ClearLaunchConfigurationAttributes)用于将启动配置内的特定属性完全清空。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" func (c *Client) ClearLaunchConfigurationAttributes(request *ClearLaunchConfigurationAttributesRequest) (response *ClearLaunchConfigurationAttributesResponse, err error) { if request == nil { request = NewClearLaunchConfigurationAttributesRequest() @@ -241,7 +246,8 @@ func (c *Client) ClearLaunchConfigurationAttributes(request *ClearLaunchConfigur // 本接口(ClearLaunchConfigurationAttributes)用于将启动配置内的特定属性完全清空。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" func (c *Client) ClearLaunchConfigurationAttributesWithContext(ctx context.Context, request *ClearLaunchConfigurationAttributesRequest) (response *ClearLaunchConfigurationAttributesResponse, err error) { if request == nil { request = NewClearLaunchConfigurationAttributesRequest() @@ -272,20 +278,19 @@ func NewCompleteLifecycleActionResponse() (response *CompleteLifecycleActionResp // CompleteLifecycleAction // 本接口(CompleteLifecycleAction)用于完成生命周期动作。 // -// -// // * 用户通过调用本接口,指定一个具体的生命周期挂钩的结果(“CONITNUE”或者“ABANDON”)。如果一直不调用本接口,则生命周期挂钩会在超时后按照“DefaultResult”进行处理。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" -// RESOURCENOTFOUND_LIFECYCLEHOOKINSTANCENOTFOUND = "ResourceNotFound.LifecycleHookInstanceNotFound" -// RESOURCENOTFOUND_LIFECYCLEHOOKNOTFOUND = "ResourceNotFound.LifecycleHookNotFound" -// RESOURCEUNAVAILABLE_LIFECYCLEACTIONRESULTHASSET = "ResourceUnavailable.LifecycleActionResultHasSet" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" +// RESOURCENOTFOUND_LIFECYCLEHOOKINSTANCENOTFOUND = "ResourceNotFound.LifecycleHookInstanceNotFound" +// RESOURCENOTFOUND_LIFECYCLEHOOKNOTFOUND = "ResourceNotFound.LifecycleHookNotFound" +// RESOURCEUNAVAILABLE_LIFECYCLEACTIONRESULTHASSET = "ResourceUnavailable.LifecycleActionResultHasSet" func (c *Client) CompleteLifecycleAction(request *CompleteLifecycleActionRequest) (response *CompleteLifecycleActionResponse, err error) { if request == nil { request = NewCompleteLifecycleActionRequest() @@ -299,20 +304,19 @@ func (c *Client) CompleteLifecycleAction(request *CompleteLifecycleActionRequest // CompleteLifecycleAction // 本接口(CompleteLifecycleAction)用于完成生命周期动作。 // -// -// // * 用户通过调用本接口,指定一个具体的生命周期挂钩的结果(“CONITNUE”或者“ABANDON”)。如果一直不调用本接口,则生命周期挂钩会在超时后按照“DefaultResult”进行处理。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" -// RESOURCENOTFOUND_LIFECYCLEHOOKINSTANCENOTFOUND = "ResourceNotFound.LifecycleHookInstanceNotFound" -// RESOURCENOTFOUND_LIFECYCLEHOOKNOTFOUND = "ResourceNotFound.LifecycleHookNotFound" -// RESOURCEUNAVAILABLE_LIFECYCLEACTIONRESULTHASSET = "ResourceUnavailable.LifecycleActionResultHasSet" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" +// RESOURCENOTFOUND_LIFECYCLEHOOKINSTANCENOTFOUND = "ResourceNotFound.LifecycleHookInstanceNotFound" +// RESOURCENOTFOUND_LIFECYCLEHOOKNOTFOUND = "ResourceNotFound.LifecycleHookNotFound" +// RESOURCEUNAVAILABLE_LIFECYCLEACTIONRESULTHASSET = "ResourceUnavailable.LifecycleActionResultHasSet" func (c *Client) CompleteLifecycleActionWithContext(ctx context.Context, request *CompleteLifecycleActionRequest) (response *CompleteLifecycleActionResponse, err error) { if request == nil { request = NewCompleteLifecycleActionRequest() @@ -344,46 +348,47 @@ func NewCreateAutoScalingGroupResponse() (response *CreateAutoScalingGroupRespon // 本接口(CreateAutoScalingGroup)用于创建伸缩组 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CALLLBERROR = "InternalError.CallLbError" -// INTERNALERROR_CALLTAGERROR = "InternalError.CallTagError" -// INTERNALERROR_CALLTVPCERROR = "InternalError.CallTvpcError" -// INTERNALERROR_CALLVPCERROR = "InternalError.CallVpcError" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" -// INVALIDPARAMETERVALUE_BASECAPACITYTOOLARGE = "InvalidParameterValue.BaseCapacityTooLarge" -// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" -// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" -// INVALIDPARAMETERVALUE_DUPLICATEDFORWARDLB = "InvalidParameterValue.DuplicatedForwardLb" -// INVALIDPARAMETERVALUE_DUPLICATEDSUBNET = "InvalidParameterValue.DuplicatedSubnet" -// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" -// INVALIDPARAMETERVALUE_GROUPNAMEDUPLICATED = "InvalidParameterValue.GroupNameDuplicated" -// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" -// INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" -// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNOTFOUND = "InvalidParameterValue.LaunchConfigurationNotFound" -// INVALIDPARAMETERVALUE_LBPROJECTINCONSISTENT = "InvalidParameterValue.LbProjectInconsistent" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_ONLYVPC = "InvalidParameterValue.OnlyVpc" -// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" -// INVALIDPARAMETERVALUE_SUBNETIDS = "InvalidParameterValue.SubnetIds" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPARAMETERVALUE_ZONEMISMATCHREGION = "InvalidParameterValue.ZoneMismatchRegion" -// LIMITEXCEEDED = "LimitExceeded" -// LIMITEXCEEDED_AUTOSCALINGGROUPLIMITEXCEEDED = "LimitExceeded.AutoScalingGroupLimitExceeded" -// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" -// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" -// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" -// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" -// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" -// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" -// RESOURCEUNAVAILABLE_LAUNCHCONFIGURATIONSTATUSABNORMAL = "ResourceUnavailable.LaunchConfigurationStatusAbnormal" -// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" -// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" -// RESOURCEUNAVAILABLE_PROJECTINCONSISTENT = "ResourceUnavailable.ProjectInconsistent" -// RESOURCEUNAVAILABLE_ZONEUNAVAILABLE = "ResourceUnavailable.ZoneUnavailable" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CALLLBERROR = "InternalError.CallLbError" +// INTERNALERROR_CALLTAGERROR = "InternalError.CallTagError" +// INTERNALERROR_CALLTVPCERROR = "InternalError.CallTvpcError" +// INTERNALERROR_CALLVPCERROR = "InternalError.CallVpcError" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" +// INVALIDPARAMETERVALUE_BASECAPACITYTOOLARGE = "InvalidParameterValue.BaseCapacityTooLarge" +// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" +// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" +// INVALIDPARAMETERVALUE_DUPLICATEDFORWARDLB = "InvalidParameterValue.DuplicatedForwardLb" +// INVALIDPARAMETERVALUE_DUPLICATEDSUBNET = "InvalidParameterValue.DuplicatedSubnet" +// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" +// INVALIDPARAMETERVALUE_GROUPNAMEDUPLICATED = "InvalidParameterValue.GroupNameDuplicated" +// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" +// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNOTFOUND = "InvalidParameterValue.LaunchConfigurationNotFound" +// INVALIDPARAMETERVALUE_LBPROJECTINCONSISTENT = "InvalidParameterValue.LbProjectInconsistent" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_ONLYVPC = "InvalidParameterValue.OnlyVpc" +// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" +// INVALIDPARAMETERVALUE_SUBNETIDS = "InvalidParameterValue.SubnetIds" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPARAMETERVALUE_ZONEMISMATCHREGION = "InvalidParameterValue.ZoneMismatchRegion" +// LIMITEXCEEDED = "LimitExceeded" +// LIMITEXCEEDED_AUTOSCALINGGROUPLIMITEXCEEDED = "LimitExceeded.AutoScalingGroupLimitExceeded" +// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" +// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" +// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" +// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" +// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" +// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" +// RESOURCEUNAVAILABLE_LAUNCHCONFIGURATIONSTATUSABNORMAL = "ResourceUnavailable.LaunchConfigurationStatusAbnormal" +// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" +// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" +// RESOURCEUNAVAILABLE_PROJECTINCONSISTENT = "ResourceUnavailable.ProjectInconsistent" +// RESOURCEUNAVAILABLE_ZONEUNAVAILABLE = "ResourceUnavailable.ZoneUnavailable" func (c *Client) CreateAutoScalingGroup(request *CreateAutoScalingGroupRequest) (response *CreateAutoScalingGroupResponse, err error) { if request == nil { request = NewCreateAutoScalingGroupRequest() @@ -398,46 +403,47 @@ func (c *Client) CreateAutoScalingGroup(request *CreateAutoScalingGroupRequest) // 本接口(CreateAutoScalingGroup)用于创建伸缩组 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CALLLBERROR = "InternalError.CallLbError" -// INTERNALERROR_CALLTAGERROR = "InternalError.CallTagError" -// INTERNALERROR_CALLTVPCERROR = "InternalError.CallTvpcError" -// INTERNALERROR_CALLVPCERROR = "InternalError.CallVpcError" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" -// INVALIDPARAMETERVALUE_BASECAPACITYTOOLARGE = "InvalidParameterValue.BaseCapacityTooLarge" -// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" -// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" -// INVALIDPARAMETERVALUE_DUPLICATEDFORWARDLB = "InvalidParameterValue.DuplicatedForwardLb" -// INVALIDPARAMETERVALUE_DUPLICATEDSUBNET = "InvalidParameterValue.DuplicatedSubnet" -// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" -// INVALIDPARAMETERVALUE_GROUPNAMEDUPLICATED = "InvalidParameterValue.GroupNameDuplicated" -// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" -// INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" -// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNOTFOUND = "InvalidParameterValue.LaunchConfigurationNotFound" -// INVALIDPARAMETERVALUE_LBPROJECTINCONSISTENT = "InvalidParameterValue.LbProjectInconsistent" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_ONLYVPC = "InvalidParameterValue.OnlyVpc" -// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" -// INVALIDPARAMETERVALUE_SUBNETIDS = "InvalidParameterValue.SubnetIds" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPARAMETERVALUE_ZONEMISMATCHREGION = "InvalidParameterValue.ZoneMismatchRegion" -// LIMITEXCEEDED = "LimitExceeded" -// LIMITEXCEEDED_AUTOSCALINGGROUPLIMITEXCEEDED = "LimitExceeded.AutoScalingGroupLimitExceeded" -// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" -// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" -// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" -// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" -// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" -// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" -// RESOURCEUNAVAILABLE_LAUNCHCONFIGURATIONSTATUSABNORMAL = "ResourceUnavailable.LaunchConfigurationStatusAbnormal" -// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" -// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" -// RESOURCEUNAVAILABLE_PROJECTINCONSISTENT = "ResourceUnavailable.ProjectInconsistent" -// RESOURCEUNAVAILABLE_ZONEUNAVAILABLE = "ResourceUnavailable.ZoneUnavailable" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CALLLBERROR = "InternalError.CallLbError" +// INTERNALERROR_CALLTAGERROR = "InternalError.CallTagError" +// INTERNALERROR_CALLTVPCERROR = "InternalError.CallTvpcError" +// INTERNALERROR_CALLVPCERROR = "InternalError.CallVpcError" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" +// INVALIDPARAMETERVALUE_BASECAPACITYTOOLARGE = "InvalidParameterValue.BaseCapacityTooLarge" +// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" +// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" +// INVALIDPARAMETERVALUE_DUPLICATEDFORWARDLB = "InvalidParameterValue.DuplicatedForwardLb" +// INVALIDPARAMETERVALUE_DUPLICATEDSUBNET = "InvalidParameterValue.DuplicatedSubnet" +// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" +// INVALIDPARAMETERVALUE_GROUPNAMEDUPLICATED = "InvalidParameterValue.GroupNameDuplicated" +// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" +// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNOTFOUND = "InvalidParameterValue.LaunchConfigurationNotFound" +// INVALIDPARAMETERVALUE_LBPROJECTINCONSISTENT = "InvalidParameterValue.LbProjectInconsistent" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_ONLYVPC = "InvalidParameterValue.OnlyVpc" +// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" +// INVALIDPARAMETERVALUE_SUBNETIDS = "InvalidParameterValue.SubnetIds" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPARAMETERVALUE_ZONEMISMATCHREGION = "InvalidParameterValue.ZoneMismatchRegion" +// LIMITEXCEEDED = "LimitExceeded" +// LIMITEXCEEDED_AUTOSCALINGGROUPLIMITEXCEEDED = "LimitExceeded.AutoScalingGroupLimitExceeded" +// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" +// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" +// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" +// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" +// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" +// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" +// RESOURCEUNAVAILABLE_LAUNCHCONFIGURATIONSTATUSABNORMAL = "ResourceUnavailable.LaunchConfigurationStatusAbnormal" +// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" +// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" +// RESOURCEUNAVAILABLE_PROJECTINCONSISTENT = "ResourceUnavailable.ProjectInconsistent" +// RESOURCEUNAVAILABLE_ZONEUNAVAILABLE = "ResourceUnavailable.ZoneUnavailable" func (c *Client) CreateAutoScalingGroupWithContext(ctx context.Context, request *CreateAutoScalingGroupRequest) (response *CreateAutoScalingGroupResponse, err error) { if request == nil { request = NewCreateAutoScalingGroupRequest() @@ -468,33 +474,32 @@ func NewCreateAutoScalingGroupFromInstanceResponse() (response *CreateAutoScalin // CreateAutoScalingGroupFromInstance // 本接口(CreateAutoScalingGroupFromInstance)用于根据实例创建启动配置及伸缩组。 // -// -// // 说明:根据按包年包月计费的实例所创建的伸缩组,其扩容的实例为按量计费实例。 // // 可能返回的错误码: -// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" -// CALLCVMERROR = "CallCvmError" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CALLVPCERROR = "InternalError.CallVpcError" -// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" -// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" -// INVALIDPARAMETERVALUE_DUPLICATEDSUBNET = "InvalidParameterValue.DuplicatedSubnet" -// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED_AUTOSCALINGGROUPLIMITEXCEEDED = "LimitExceeded.AutoScalingGroupLimitExceeded" -// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" -// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" -// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND_INSTANCESNOTFOUND = "ResourceNotFound.InstancesNotFound" -// RESOURCEUNAVAILABLE_LAUNCHCONFIGURATIONSTATUSABNORMAL = "ResourceUnavailable.LaunchConfigurationStatusAbnormal" -// RESOURCEUNAVAILABLE_PROJECTINCONSISTENT = "ResourceUnavailable.ProjectInconsistent" -// RESOURCEUNAVAILABLE_STOPPEDINSTANCENOTALLOWATTACH = "ResourceUnavailable.StoppedInstanceNotAllowAttach" +// +// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" +// CALLCVMERROR = "CallCvmError" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CALLVPCERROR = "InternalError.CallVpcError" +// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" +// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" +// INVALIDPARAMETERVALUE_DUPLICATEDSUBNET = "InvalidParameterValue.DuplicatedSubnet" +// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED_AUTOSCALINGGROUPLIMITEXCEEDED = "LimitExceeded.AutoScalingGroupLimitExceeded" +// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" +// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" +// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND_INSTANCESNOTFOUND = "ResourceNotFound.InstancesNotFound" +// RESOURCEUNAVAILABLE_LAUNCHCONFIGURATIONSTATUSABNORMAL = "ResourceUnavailable.LaunchConfigurationStatusAbnormal" +// RESOURCEUNAVAILABLE_PROJECTINCONSISTENT = "ResourceUnavailable.ProjectInconsistent" +// RESOURCEUNAVAILABLE_STOPPEDINSTANCENOTALLOWATTACH = "ResourceUnavailable.StoppedInstanceNotAllowAttach" func (c *Client) CreateAutoScalingGroupFromInstance(request *CreateAutoScalingGroupFromInstanceRequest) (response *CreateAutoScalingGroupFromInstanceResponse, err error) { if request == nil { request = NewCreateAutoScalingGroupFromInstanceRequest() @@ -508,33 +513,32 @@ func (c *Client) CreateAutoScalingGroupFromInstance(request *CreateAutoScalingGr // CreateAutoScalingGroupFromInstance // 本接口(CreateAutoScalingGroupFromInstance)用于根据实例创建启动配置及伸缩组。 // -// -// // 说明:根据按包年包月计费的实例所创建的伸缩组,其扩容的实例为按量计费实例。 // // 可能返回的错误码: -// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" -// CALLCVMERROR = "CallCvmError" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CALLVPCERROR = "InternalError.CallVpcError" -// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" -// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" -// INVALIDPARAMETERVALUE_DUPLICATEDSUBNET = "InvalidParameterValue.DuplicatedSubnet" -// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED_AUTOSCALINGGROUPLIMITEXCEEDED = "LimitExceeded.AutoScalingGroupLimitExceeded" -// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" -// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" -// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND_INSTANCESNOTFOUND = "ResourceNotFound.InstancesNotFound" -// RESOURCEUNAVAILABLE_LAUNCHCONFIGURATIONSTATUSABNORMAL = "ResourceUnavailable.LaunchConfigurationStatusAbnormal" -// RESOURCEUNAVAILABLE_PROJECTINCONSISTENT = "ResourceUnavailable.ProjectInconsistent" -// RESOURCEUNAVAILABLE_STOPPEDINSTANCENOTALLOWATTACH = "ResourceUnavailable.StoppedInstanceNotAllowAttach" +// +// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" +// CALLCVMERROR = "CallCvmError" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CALLVPCERROR = "InternalError.CallVpcError" +// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" +// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" +// INVALIDPARAMETERVALUE_DUPLICATEDSUBNET = "InvalidParameterValue.DuplicatedSubnet" +// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED_AUTOSCALINGGROUPLIMITEXCEEDED = "LimitExceeded.AutoScalingGroupLimitExceeded" +// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" +// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" +// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND_INSTANCESNOTFOUND = "ResourceNotFound.InstancesNotFound" +// RESOURCEUNAVAILABLE_LAUNCHCONFIGURATIONSTATUSABNORMAL = "ResourceUnavailable.LaunchConfigurationStatusAbnormal" +// RESOURCEUNAVAILABLE_PROJECTINCONSISTENT = "ResourceUnavailable.ProjectInconsistent" +// RESOURCEUNAVAILABLE_STOPPEDINSTANCENOTALLOWATTACH = "ResourceUnavailable.StoppedInstanceNotAllowAttach" func (c *Client) CreateAutoScalingGroupFromInstanceWithContext(ctx context.Context, request *CreateAutoScalingGroupFromInstanceRequest) (response *CreateAutoScalingGroupFromInstanceResponse, err error) { if request == nil { request = NewCreateAutoScalingGroupFromInstanceRequest() @@ -565,40 +569,37 @@ func NewCreateLaunchConfigurationResponse() (response *CreateLaunchConfiguration // CreateLaunchConfiguration // 本接口(CreateLaunchConfiguration)用于创建新的启动配置。 // -// -// // * 启动配置,可以通过 `ModifyLaunchConfigurationAttributes` 修改少量字段。如需使用新的启动配置,建议重新创建启动配置。 // -// -// // * 每个项目最多只能创建20个启动配置,详见[使用限制](https://cloud.tencent.com/document/product/377/3120)。 // // 可能返回的错误码: -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_HOSTNAMEUNAVAILABLE = "InvalidParameter.HostNameUnavailable" -// INVALIDPARAMETER_INVALIDCOMBINATION = "InvalidParameter.InvalidCombination" -// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" -// INVALIDPARAMETER_PARAMETERMUSTBEDELETED = "InvalidParameter.ParameterMustBeDeleted" -// INVALIDPARAMETERVALUE_CVMCONFIGURATIONERROR = "InvalidParameterValue.CvmConfigurationError" -// INVALIDPARAMETERVALUE_HOSTNAMEILLEGAL = "InvalidParameterValue.HostNameIllegal" -// INVALIDPARAMETERVALUE_INSTANCENAMEILLEGAL = "InvalidParameterValue.InstanceNameIllegal" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTED = "InvalidParameterValue.InstanceTypeNotSupported" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATION = "InvalidParameterValue.InvalidLaunchConfiguration" -// INVALIDPARAMETERVALUE_INVALIDSNAPSHOTID = "InvalidParameterValue.InvalidSnapshotId" -// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_NOTSTRINGTYPEFLOAT = "InvalidParameterValue.NotStringTypeFloat" -// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPARAMETERVALUE_TOOSHORT = "InvalidParameterValue.TooShort" -// INVALIDPARAMETERVALUE_USERDATAFORMATERROR = "InvalidParameterValue.UserDataFormatError" -// INVALIDPARAMETERVALUE_USERDATASIZEEXCEEDED = "InvalidParameterValue.UserDataSizeExceeded" -// INVALIDPERMISSION = "InvalidPermission" -// LIMITEXCEEDED_LAUNCHCONFIGURATIONQUOTANOTENOUGH = "LimitExceeded.LaunchConfigurationQuotaNotEnough" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_INSTANCEMARKETOPTIONS = "MissingParameter.InstanceMarketOptions" +// +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_HOSTNAMEUNAVAILABLE = "InvalidParameter.HostNameUnavailable" +// INVALIDPARAMETER_INVALIDCOMBINATION = "InvalidParameter.InvalidCombination" +// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" +// INVALIDPARAMETER_PARAMETERMUSTBEDELETED = "InvalidParameter.ParameterMustBeDeleted" +// INVALIDPARAMETERVALUE_CVMCONFIGURATIONERROR = "InvalidParameterValue.CvmConfigurationError" +// INVALIDPARAMETERVALUE_HOSTNAMEILLEGAL = "InvalidParameterValue.HostNameIllegal" +// INVALIDPARAMETERVALUE_INSTANCENAMEILLEGAL = "InvalidParameterValue.InstanceNameIllegal" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTED = "InvalidParameterValue.InstanceTypeNotSupported" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATION = "InvalidParameterValue.InvalidLaunchConfiguration" +// INVALIDPARAMETERVALUE_INVALIDSNAPSHOTID = "InvalidParameterValue.InvalidSnapshotId" +// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_NOTSTRINGTYPEFLOAT = "InvalidParameterValue.NotStringTypeFloat" +// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPARAMETERVALUE_TOOSHORT = "InvalidParameterValue.TooShort" +// INVALIDPARAMETERVALUE_USERDATAFORMATERROR = "InvalidParameterValue.UserDataFormatError" +// INVALIDPARAMETERVALUE_USERDATASIZEEXCEEDED = "InvalidParameterValue.UserDataSizeExceeded" +// INVALIDPERMISSION = "InvalidPermission" +// LIMITEXCEEDED_LAUNCHCONFIGURATIONQUOTANOTENOUGH = "LimitExceeded.LaunchConfigurationQuotaNotEnough" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_INSTANCEMARKETOPTIONS = "MissingParameter.InstanceMarketOptions" func (c *Client) CreateLaunchConfiguration(request *CreateLaunchConfigurationRequest) (response *CreateLaunchConfigurationResponse, err error) { if request == nil { request = NewCreateLaunchConfigurationRequest() @@ -612,40 +613,37 @@ func (c *Client) CreateLaunchConfiguration(request *CreateLaunchConfigurationReq // CreateLaunchConfiguration // 本接口(CreateLaunchConfiguration)用于创建新的启动配置。 // -// -// // * 启动配置,可以通过 `ModifyLaunchConfigurationAttributes` 修改少量字段。如需使用新的启动配置,建议重新创建启动配置。 // -// -// // * 每个项目最多只能创建20个启动配置,详见[使用限制](https://cloud.tencent.com/document/product/377/3120)。 // // 可能返回的错误码: -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_HOSTNAMEUNAVAILABLE = "InvalidParameter.HostNameUnavailable" -// INVALIDPARAMETER_INVALIDCOMBINATION = "InvalidParameter.InvalidCombination" -// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" -// INVALIDPARAMETER_PARAMETERMUSTBEDELETED = "InvalidParameter.ParameterMustBeDeleted" -// INVALIDPARAMETERVALUE_CVMCONFIGURATIONERROR = "InvalidParameterValue.CvmConfigurationError" -// INVALIDPARAMETERVALUE_HOSTNAMEILLEGAL = "InvalidParameterValue.HostNameIllegal" -// INVALIDPARAMETERVALUE_INSTANCENAMEILLEGAL = "InvalidParameterValue.InstanceNameIllegal" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTED = "InvalidParameterValue.InstanceTypeNotSupported" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATION = "InvalidParameterValue.InvalidLaunchConfiguration" -// INVALIDPARAMETERVALUE_INVALIDSNAPSHOTID = "InvalidParameterValue.InvalidSnapshotId" -// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_NOTSTRINGTYPEFLOAT = "InvalidParameterValue.NotStringTypeFloat" -// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPARAMETERVALUE_TOOSHORT = "InvalidParameterValue.TooShort" -// INVALIDPARAMETERVALUE_USERDATAFORMATERROR = "InvalidParameterValue.UserDataFormatError" -// INVALIDPARAMETERVALUE_USERDATASIZEEXCEEDED = "InvalidParameterValue.UserDataSizeExceeded" -// INVALIDPERMISSION = "InvalidPermission" -// LIMITEXCEEDED_LAUNCHCONFIGURATIONQUOTANOTENOUGH = "LimitExceeded.LaunchConfigurationQuotaNotEnough" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_INSTANCEMARKETOPTIONS = "MissingParameter.InstanceMarketOptions" +// +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_HOSTNAMEUNAVAILABLE = "InvalidParameter.HostNameUnavailable" +// INVALIDPARAMETER_INVALIDCOMBINATION = "InvalidParameter.InvalidCombination" +// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" +// INVALIDPARAMETER_PARAMETERMUSTBEDELETED = "InvalidParameter.ParameterMustBeDeleted" +// INVALIDPARAMETERVALUE_CVMCONFIGURATIONERROR = "InvalidParameterValue.CvmConfigurationError" +// INVALIDPARAMETERVALUE_HOSTNAMEILLEGAL = "InvalidParameterValue.HostNameIllegal" +// INVALIDPARAMETERVALUE_INSTANCENAMEILLEGAL = "InvalidParameterValue.InstanceNameIllegal" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTED = "InvalidParameterValue.InstanceTypeNotSupported" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATION = "InvalidParameterValue.InvalidLaunchConfiguration" +// INVALIDPARAMETERVALUE_INVALIDSNAPSHOTID = "InvalidParameterValue.InvalidSnapshotId" +// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_NOTSTRINGTYPEFLOAT = "InvalidParameterValue.NotStringTypeFloat" +// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPARAMETERVALUE_TOOSHORT = "InvalidParameterValue.TooShort" +// INVALIDPARAMETERVALUE_USERDATAFORMATERROR = "InvalidParameterValue.UserDataFormatError" +// INVALIDPARAMETERVALUE_USERDATASIZEEXCEEDED = "InvalidParameterValue.UserDataSizeExceeded" +// INVALIDPERMISSION = "InvalidPermission" +// LIMITEXCEEDED_LAUNCHCONFIGURATIONQUOTANOTENOUGH = "LimitExceeded.LaunchConfigurationQuotaNotEnough" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_INSTANCEMARKETOPTIONS = "MissingParameter.InstanceMarketOptions" func (c *Client) CreateLaunchConfigurationWithContext(ctx context.Context, request *CreateLaunchConfigurationRequest) (response *CreateLaunchConfigurationResponse, err error) { if request == nil { request = NewCreateLaunchConfigurationRequest() @@ -676,60 +674,57 @@ func NewCreateLifecycleHookResponse() (response *CreateLifecycleHookResponse) { // CreateLifecycleHook // 本接口(CreateLifecycleHook)用于创建生命周期挂钩。 // -// -// // * 您可以为生命周期挂钩配置消息通知,弹性伸缩会通知您的CMQ消息队列,通知内容形如: // -// -// -// ``` +// “` // // { // -// "Service": "Tencent Cloud Auto Scaling", +// "Service": "Tencent Cloud Auto Scaling", // -// "Time": "2019-03-14T10:15:11Z", +// "Time": "2019-03-14T10:15:11Z", // -// "AppId": "1251783334", +// "AppId": "1251783334", // -// "ActivityId": "asa-fznnvrja", +// "ActivityId": "asa-fznnvrja", // -// "AutoScalingGroupId": "asg-rrrrtttt", +// "AutoScalingGroupId": "asg-rrrrtttt", // -// "LifecycleHookId": "ash-xxxxyyyy", +// "LifecycleHookId": "ash-xxxxyyyy", // -// "LifecycleHookName": "my-hook", +// "LifecycleHookName": "my-hook", // -// "LifecycleActionToken": "3080e1c9-0efe-4dd7-ad3b-90cd6618298f", +// "LifecycleActionToken": "3080e1c9-0efe-4dd7-ad3b-90cd6618298f", // -// "InstanceId": "ins-aaaabbbb", +// "InstanceId": "ins-aaaabbbb", // -// "LifecycleTransition": "INSTANCE_LAUNCHING", +// "LifecycleTransition": "INSTANCE_LAUNCHING", // -// "NotificationMetadata": "" +// "NotificationMetadata": "" // // } // -// ``` -// -// 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CALLEEERROR = "InternalError.CalleeError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_LIFECYCLEHOOKNAMEDUPLICATED = "InvalidParameterValue.LifecycleHookNameDuplicated" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_CMQQUEUENOTFOUND = "ResourceNotFound.CmqQueueNotFound" -// RESOURCENOTFOUND_TDMQCMQQUEUENOTFOUND = "ResourceNotFound.TDMQCMQQueueNotFound" -// RESOURCENOTFOUND_TDMQCMQTOPICNOTFOUND = "ResourceNotFound.TDMQCMQTopicNotFound" -// RESOURCEUNAVAILABLE_CMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.CmqTopicHasNoSubscriber" -// RESOURCEUNAVAILABLE_TDMQCMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.TDMQCMQTopicHasNoSubscriber" +// “` +// +// 可能返回的错误码: +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CALLEEERROR = "InternalError.CalleeError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_LIFECYCLEHOOKNAMEDUPLICATED = "InvalidParameterValue.LifecycleHookNameDuplicated" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_CMQQUEUENOTFOUND = "ResourceNotFound.CmqQueueNotFound" +// RESOURCENOTFOUND_TDMQCMQQUEUENOTFOUND = "ResourceNotFound.TDMQCMQQueueNotFound" +// RESOURCENOTFOUND_TDMQCMQTOPICNOTFOUND = "ResourceNotFound.TDMQCMQTopicNotFound" +// RESOURCEUNAVAILABLE_CMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.CmqTopicHasNoSubscriber" +// RESOURCEUNAVAILABLE_TDMQCMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.TDMQCMQTopicHasNoSubscriber" func (c *Client) CreateLifecycleHook(request *CreateLifecycleHookRequest) (response *CreateLifecycleHookResponse, err error) { if request == nil { request = NewCreateLifecycleHookRequest() @@ -743,60 +738,57 @@ func (c *Client) CreateLifecycleHook(request *CreateLifecycleHookRequest) (respo // CreateLifecycleHook // 本接口(CreateLifecycleHook)用于创建生命周期挂钩。 // -// -// // * 您可以为生命周期挂钩配置消息通知,弹性伸缩会通知您的CMQ消息队列,通知内容形如: // -// -// -// ``` +// “` // // { // -// "Service": "Tencent Cloud Auto Scaling", +// "Service": "Tencent Cloud Auto Scaling", // -// "Time": "2019-03-14T10:15:11Z", +// "Time": "2019-03-14T10:15:11Z", // -// "AppId": "1251783334", +// "AppId": "1251783334", // -// "ActivityId": "asa-fznnvrja", +// "ActivityId": "asa-fznnvrja", // -// "AutoScalingGroupId": "asg-rrrrtttt", +// "AutoScalingGroupId": "asg-rrrrtttt", // -// "LifecycleHookId": "ash-xxxxyyyy", +// "LifecycleHookId": "ash-xxxxyyyy", // -// "LifecycleHookName": "my-hook", +// "LifecycleHookName": "my-hook", // -// "LifecycleActionToken": "3080e1c9-0efe-4dd7-ad3b-90cd6618298f", +// "LifecycleActionToken": "3080e1c9-0efe-4dd7-ad3b-90cd6618298f", // -// "InstanceId": "ins-aaaabbbb", +// "InstanceId": "ins-aaaabbbb", // -// "LifecycleTransition": "INSTANCE_LAUNCHING", +// "LifecycleTransition": "INSTANCE_LAUNCHING", // -// "NotificationMetadata": "" +// "NotificationMetadata": "" // // } // -// ``` -// -// 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CALLEEERROR = "InternalError.CalleeError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_LIFECYCLEHOOKNAMEDUPLICATED = "InvalidParameterValue.LifecycleHookNameDuplicated" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_CMQQUEUENOTFOUND = "ResourceNotFound.CmqQueueNotFound" -// RESOURCENOTFOUND_TDMQCMQQUEUENOTFOUND = "ResourceNotFound.TDMQCMQQueueNotFound" -// RESOURCENOTFOUND_TDMQCMQTOPICNOTFOUND = "ResourceNotFound.TDMQCMQTopicNotFound" -// RESOURCEUNAVAILABLE_CMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.CmqTopicHasNoSubscriber" -// RESOURCEUNAVAILABLE_TDMQCMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.TDMQCMQTopicHasNoSubscriber" +// “` +// +// 可能返回的错误码: +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CALLEEERROR = "InternalError.CalleeError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_LIFECYCLEHOOKNAMEDUPLICATED = "InvalidParameterValue.LifecycleHookNameDuplicated" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_CMQQUEUENOTFOUND = "ResourceNotFound.CmqQueueNotFound" +// RESOURCENOTFOUND_TDMQCMQQUEUENOTFOUND = "ResourceNotFound.TDMQCMQQueueNotFound" +// RESOURCENOTFOUND_TDMQCMQTOPICNOTFOUND = "ResourceNotFound.TDMQCMQTopicNotFound" +// RESOURCEUNAVAILABLE_CMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.CmqTopicHasNoSubscriber" +// RESOURCEUNAVAILABLE_TDMQCMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.TDMQCMQTopicHasNoSubscriber" func (c *Client) CreateLifecycleHookWithContext(ctx context.Context, request *CreateLifecycleHookRequest) (response *CreateLifecycleHookResponse, err error) { if request == nil { request = NewCreateLifecycleHookRequest() @@ -829,72 +821,73 @@ func NewCreateNotificationConfigurationResponse() (response *CreateNotificationC // // 通知到 CMQ 主题或队列时,消息内容如下: // -// ``` +// “` // // { // -// "Service": "Tencent Cloud Auto Scaling", +// "Service": "Tencent Cloud Auto Scaling", // -// "CreatedTime": "2021-10-11T10:15:11Z", // 活动创建时间 +// "CreatedTime": "2021-10-11T10:15:11Z", // 活动创建时间 // -// "AppId": "100000000", +// "AppId": "100000000", // -// "ActivityId": "asa-fznnvrja", // 伸缩活动ID +// "ActivityId": "asa-fznnvrja", // 伸缩活动ID // -// "AutoScalingGroupId": "asg-pc2oqu2z", // 伸缩组ID +// "AutoScalingGroupId": "asg-pc2oqu2z", // 伸缩组ID // -// "ActivityType": "SCALE_OUT", // 伸缩活动类型 +// "ActivityType": "SCALE_OUT", // 伸缩活动类型 // -// "StatusCode": "SUCCESSFUL", // 伸缩活动结果 +// "StatusCode": "SUCCESSFUL", // 伸缩活动结果 // -// "Description": "Activity was launched in response to a difference between desired capacity and actual capacity, +// "Description": "Activity was launched in response to a difference between desired capacity and actual capacity, // -// scale out 1 instance(s).", // 伸缩活动描述 +// scale out 1 instance(s).", // 伸缩活动描述 // -// "StartTime": "2021-10-11T10:15:11Z", // 活动开始时间 +// "StartTime": "2021-10-11T10:15:11Z", // 活动开始时间 // -// "EndTime": "2021-10-11T10:15:32Z", // 活动结束时间 +// "EndTime": "2021-10-11T10:15:32Z", // 活动结束时间 // -// "DetailedStatusMessageSet": [ // 活动内部错误集合(非空不代表活动失败) +// "DetailedStatusMessageSet": [ // 活动内部错误集合(非空不代表活动失败) // -// { +// { // -// "Code": "InvalidInstanceType", +// "Code": "InvalidInstanceType", // -// "Zone": "ap-guangzhou-2", +// "Zone": "ap-guangzhou-2", // -// "InstanceId": "", +// "InstanceId": "", // -// "InstanceChargeType": "POSTPAID_BY_HOUR", +// "InstanceChargeType": "POSTPAID_BY_HOUR", // -// "SubnetId": "subnet-4t5mgeuu", +// "SubnetId": "subnet-4t5mgeuu", // -// "Message": "The specified instance type `S5.LARGE8` is invalid in `subnet-4t5mgeuu`, `ap-guangzhou-2`.", +// "Message": "The specified instance type `S5.LARGE8` is invalid in `subnet-4t5mgeuu`, `ap-guangzhou-2`.", // -// "InstanceType": "S5.LARGE8" +// "InstanceType": "S5.LARGE8" // -// } +// } // -// ] +// ] // // } // -// ``` -// -// 可能返回的错误码: -// INVALIDPARAMETERVALUE_CONFLICTNOTIFICATIONTARGET = "InvalidParameterValue.ConflictNotificationTarget" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" -// INVALIDPARAMETERVALUE_USERGROUPIDNOTFOUND = "InvalidParameterValue.UserGroupIdNotFound" -// LIMITEXCEEDED = "LimitExceeded" -// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_CMQQUEUENOTFOUND = "ResourceNotFound.CmqQueueNotFound" -// RESOURCENOTFOUND_TDMQCMQQUEUENOTFOUND = "ResourceNotFound.TDMQCMQQueueNotFound" -// RESOURCENOTFOUND_TDMQCMQTOPICNOTFOUND = "ResourceNotFound.TDMQCMQTopicNotFound" -// RESOURCEUNAVAILABLE_CMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.CmqTopicHasNoSubscriber" -// RESOURCEUNAVAILABLE_TDMQCMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.TDMQCMQTopicHasNoSubscriber" +// “` +// +// 可能返回的错误码: +// +// INVALIDPARAMETERVALUE_CONFLICTNOTIFICATIONTARGET = "InvalidParameterValue.ConflictNotificationTarget" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" +// INVALIDPARAMETERVALUE_USERGROUPIDNOTFOUND = "InvalidParameterValue.UserGroupIdNotFound" +// LIMITEXCEEDED = "LimitExceeded" +// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_CMQQUEUENOTFOUND = "ResourceNotFound.CmqQueueNotFound" +// RESOURCENOTFOUND_TDMQCMQQUEUENOTFOUND = "ResourceNotFound.TDMQCMQQueueNotFound" +// RESOURCENOTFOUND_TDMQCMQTOPICNOTFOUND = "ResourceNotFound.TDMQCMQTopicNotFound" +// RESOURCEUNAVAILABLE_CMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.CmqTopicHasNoSubscriber" +// RESOURCEUNAVAILABLE_TDMQCMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.TDMQCMQTopicHasNoSubscriber" func (c *Client) CreateNotificationConfiguration(request *CreateNotificationConfigurationRequest) (response *CreateNotificationConfigurationResponse, err error) { if request == nil { request = NewCreateNotificationConfigurationRequest() @@ -910,72 +903,73 @@ func (c *Client) CreateNotificationConfiguration(request *CreateNotificationConf // // 通知到 CMQ 主题或队列时,消息内容如下: // -// ``` +// “` // // { // -// "Service": "Tencent Cloud Auto Scaling", +// "Service": "Tencent Cloud Auto Scaling", // -// "CreatedTime": "2021-10-11T10:15:11Z", // 活动创建时间 +// "CreatedTime": "2021-10-11T10:15:11Z", // 活动创建时间 // -// "AppId": "100000000", +// "AppId": "100000000", // -// "ActivityId": "asa-fznnvrja", // 伸缩活动ID +// "ActivityId": "asa-fznnvrja", // 伸缩活动ID // -// "AutoScalingGroupId": "asg-pc2oqu2z", // 伸缩组ID +// "AutoScalingGroupId": "asg-pc2oqu2z", // 伸缩组ID // -// "ActivityType": "SCALE_OUT", // 伸缩活动类型 +// "ActivityType": "SCALE_OUT", // 伸缩活动类型 // -// "StatusCode": "SUCCESSFUL", // 伸缩活动结果 +// "StatusCode": "SUCCESSFUL", // 伸缩活动结果 // -// "Description": "Activity was launched in response to a difference between desired capacity and actual capacity, +// "Description": "Activity was launched in response to a difference between desired capacity and actual capacity, // -// scale out 1 instance(s).", // 伸缩活动描述 +// scale out 1 instance(s).", // 伸缩活动描述 // -// "StartTime": "2021-10-11T10:15:11Z", // 活动开始时间 +// "StartTime": "2021-10-11T10:15:11Z", // 活动开始时间 // -// "EndTime": "2021-10-11T10:15:32Z", // 活动结束时间 +// "EndTime": "2021-10-11T10:15:32Z", // 活动结束时间 // -// "DetailedStatusMessageSet": [ // 活动内部错误集合(非空不代表活动失败) +// "DetailedStatusMessageSet": [ // 活动内部错误集合(非空不代表活动失败) // -// { +// { // -// "Code": "InvalidInstanceType", +// "Code": "InvalidInstanceType", // -// "Zone": "ap-guangzhou-2", +// "Zone": "ap-guangzhou-2", // -// "InstanceId": "", +// "InstanceId": "", // -// "InstanceChargeType": "POSTPAID_BY_HOUR", +// "InstanceChargeType": "POSTPAID_BY_HOUR", // -// "SubnetId": "subnet-4t5mgeuu", +// "SubnetId": "subnet-4t5mgeuu", // -// "Message": "The specified instance type `S5.LARGE8` is invalid in `subnet-4t5mgeuu`, `ap-guangzhou-2`.", +// "Message": "The specified instance type `S5.LARGE8` is invalid in `subnet-4t5mgeuu`, `ap-guangzhou-2`.", // -// "InstanceType": "S5.LARGE8" +// "InstanceType": "S5.LARGE8" // -// } +// } // -// ] +// ] // // } // -// ``` -// -// 可能返回的错误码: -// INVALIDPARAMETERVALUE_CONFLICTNOTIFICATIONTARGET = "InvalidParameterValue.ConflictNotificationTarget" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" -// INVALIDPARAMETERVALUE_USERGROUPIDNOTFOUND = "InvalidParameterValue.UserGroupIdNotFound" -// LIMITEXCEEDED = "LimitExceeded" -// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_CMQQUEUENOTFOUND = "ResourceNotFound.CmqQueueNotFound" -// RESOURCENOTFOUND_TDMQCMQQUEUENOTFOUND = "ResourceNotFound.TDMQCMQQueueNotFound" -// RESOURCENOTFOUND_TDMQCMQTOPICNOTFOUND = "ResourceNotFound.TDMQCMQTopicNotFound" -// RESOURCEUNAVAILABLE_CMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.CmqTopicHasNoSubscriber" -// RESOURCEUNAVAILABLE_TDMQCMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.TDMQCMQTopicHasNoSubscriber" +// “` +// +// 可能返回的错误码: +// +// INVALIDPARAMETERVALUE_CONFLICTNOTIFICATIONTARGET = "InvalidParameterValue.ConflictNotificationTarget" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" +// INVALIDPARAMETERVALUE_USERGROUPIDNOTFOUND = "InvalidParameterValue.UserGroupIdNotFound" +// LIMITEXCEEDED = "LimitExceeded" +// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_CMQQUEUENOTFOUND = "ResourceNotFound.CmqQueueNotFound" +// RESOURCENOTFOUND_TDMQCMQQUEUENOTFOUND = "ResourceNotFound.TDMQCMQQueueNotFound" +// RESOURCENOTFOUND_TDMQCMQTOPICNOTFOUND = "ResourceNotFound.TDMQCMQTopicNotFound" +// RESOURCEUNAVAILABLE_CMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.CmqTopicHasNoSubscriber" +// RESOURCEUNAVAILABLE_TDMQCMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.TDMQCMQTopicHasNoSubscriber" func (c *Client) CreateNotificationConfigurationWithContext(ctx context.Context, request *CreateNotificationConfigurationRequest) (response *CreateNotificationConfigurationResponse, err error) { if request == nil { request = NewCreateNotificationConfigurationRequest() @@ -1007,17 +1001,18 @@ func NewCreateScalingPolicyResponse() (response *CreateScalingPolicyResponse) { // 本接口(CreateScalingPolicy)用于创建告警触发策略。 // // 可能返回的错误码: -// INTERNALERROR_CALLNOTIFICATIONERROR = "InternalError.CallNotificationError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SCALINGPOLICYNAMEDUPLICATE = "InvalidParameterValue.ScalingPolicyNameDuplicate" -// INVALIDPARAMETERVALUE_THRESHOLDOUTOFRANGE = "InvalidParameterValue.ThresholdOutOfRange" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPARAMETERVALUE_USERGROUPIDNOTFOUND = "InvalidParameterValue.UserGroupIdNotFound" -// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// +// INTERNALERROR_CALLNOTIFICATIONERROR = "InternalError.CallNotificationError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SCALINGPOLICYNAMEDUPLICATE = "InvalidParameterValue.ScalingPolicyNameDuplicate" +// INVALIDPARAMETERVALUE_THRESHOLDOUTOFRANGE = "InvalidParameterValue.ThresholdOutOfRange" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPARAMETERVALUE_USERGROUPIDNOTFOUND = "InvalidParameterValue.UserGroupIdNotFound" +// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" func (c *Client) CreateScalingPolicy(request *CreateScalingPolicyRequest) (response *CreateScalingPolicyResponse, err error) { if request == nil { request = NewCreateScalingPolicyRequest() @@ -1032,17 +1027,18 @@ func (c *Client) CreateScalingPolicy(request *CreateScalingPolicyRequest) (respo // 本接口(CreateScalingPolicy)用于创建告警触发策略。 // // 可能返回的错误码: -// INTERNALERROR_CALLNOTIFICATIONERROR = "InternalError.CallNotificationError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SCALINGPOLICYNAMEDUPLICATE = "InvalidParameterValue.ScalingPolicyNameDuplicate" -// INVALIDPARAMETERVALUE_THRESHOLDOUTOFRANGE = "InvalidParameterValue.ThresholdOutOfRange" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPARAMETERVALUE_USERGROUPIDNOTFOUND = "InvalidParameterValue.UserGroupIdNotFound" -// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// +// INTERNALERROR_CALLNOTIFICATIONERROR = "InternalError.CallNotificationError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SCALINGPOLICYNAMEDUPLICATE = "InvalidParameterValue.ScalingPolicyNameDuplicate" +// INVALIDPARAMETERVALUE_THRESHOLDOUTOFRANGE = "InvalidParameterValue.ThresholdOutOfRange" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPARAMETERVALUE_USERGROUPIDNOTFOUND = "InvalidParameterValue.UserGroupIdNotFound" +// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" func (c *Client) CreateScalingPolicyWithContext(ctx context.Context, request *CreateScalingPolicyRequest) (response *CreateScalingPolicyResponse, err error) { if request == nil { request = NewCreateScalingPolicyRequest() @@ -1074,23 +1070,24 @@ func NewCreateScheduledActionResponse() (response *CreateScheduledActionResponse // 本接口(CreateScheduledAction)用于创建定时任务。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_CRONEXPRESSIONILLEGAL = "InvalidParameterValue.CronExpressionIllegal" -// INVALIDPARAMETERVALUE_ENDTIMEBEFORESTARTTIME = "InvalidParameterValue.EndTimeBeforeStartTime" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONNAMEINCLUDEILLEGALCHAR = "InvalidParameterValue.InvalidScheduledActionNameIncludeIllegalChar" -// INVALIDPARAMETERVALUE_SCHEDULEDACTIONNAMEDUPLICATE = "InvalidParameterValue.ScheduledActionNameDuplicate" -// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" -// INVALIDPARAMETERVALUE_STARTTIMEBEFORECURRENTTIME = "InvalidParameterValue.StartTimeBeforeCurrentTime" -// INVALIDPARAMETERVALUE_TIMEFORMAT = "InvalidParameterValue.TimeFormat" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" -// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" -// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" -// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" -// LIMITEXCEEDED_SCHEDULEDACTIONLIMITEXCEEDED = "LimitExceeded.ScheduledActionLimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_CRONEXPRESSIONILLEGAL = "InvalidParameterValue.CronExpressionIllegal" +// INVALIDPARAMETERVALUE_ENDTIMEBEFORESTARTTIME = "InvalidParameterValue.EndTimeBeforeStartTime" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONNAMEINCLUDEILLEGALCHAR = "InvalidParameterValue.InvalidScheduledActionNameIncludeIllegalChar" +// INVALIDPARAMETERVALUE_SCHEDULEDACTIONNAMEDUPLICATE = "InvalidParameterValue.ScheduledActionNameDuplicate" +// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" +// INVALIDPARAMETERVALUE_STARTTIMEBEFORECURRENTTIME = "InvalidParameterValue.StartTimeBeforeCurrentTime" +// INVALIDPARAMETERVALUE_TIMEFORMAT = "InvalidParameterValue.TimeFormat" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" +// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" +// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" +// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" +// LIMITEXCEEDED_SCHEDULEDACTIONLIMITEXCEEDED = "LimitExceeded.ScheduledActionLimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" func (c *Client) CreateScheduledAction(request *CreateScheduledActionRequest) (response *CreateScheduledActionResponse, err error) { if request == nil { request = NewCreateScheduledActionRequest() @@ -1105,23 +1102,24 @@ func (c *Client) CreateScheduledAction(request *CreateScheduledActionRequest) (r // 本接口(CreateScheduledAction)用于创建定时任务。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_CRONEXPRESSIONILLEGAL = "InvalidParameterValue.CronExpressionIllegal" -// INVALIDPARAMETERVALUE_ENDTIMEBEFORESTARTTIME = "InvalidParameterValue.EndTimeBeforeStartTime" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONNAMEINCLUDEILLEGALCHAR = "InvalidParameterValue.InvalidScheduledActionNameIncludeIllegalChar" -// INVALIDPARAMETERVALUE_SCHEDULEDACTIONNAMEDUPLICATE = "InvalidParameterValue.ScheduledActionNameDuplicate" -// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" -// INVALIDPARAMETERVALUE_STARTTIMEBEFORECURRENTTIME = "InvalidParameterValue.StartTimeBeforeCurrentTime" -// INVALIDPARAMETERVALUE_TIMEFORMAT = "InvalidParameterValue.TimeFormat" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" -// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" -// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" -// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" -// LIMITEXCEEDED_SCHEDULEDACTIONLIMITEXCEEDED = "LimitExceeded.ScheduledActionLimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_CRONEXPRESSIONILLEGAL = "InvalidParameterValue.CronExpressionIllegal" +// INVALIDPARAMETERVALUE_ENDTIMEBEFORESTARTTIME = "InvalidParameterValue.EndTimeBeforeStartTime" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONNAMEINCLUDEILLEGALCHAR = "InvalidParameterValue.InvalidScheduledActionNameIncludeIllegalChar" +// INVALIDPARAMETERVALUE_SCHEDULEDACTIONNAMEDUPLICATE = "InvalidParameterValue.ScheduledActionNameDuplicate" +// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" +// INVALIDPARAMETERVALUE_STARTTIMEBEFORECURRENTTIME = "InvalidParameterValue.StartTimeBeforeCurrentTime" +// INVALIDPARAMETERVALUE_TIMEFORMAT = "InvalidParameterValue.TimeFormat" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" +// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" +// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" +// LIMITEXCEEDED_QUOTANOTENOUGH = "LimitExceeded.QuotaNotEnough" +// LIMITEXCEEDED_SCHEDULEDACTIONLIMITEXCEEDED = "LimitExceeded.ScheduledActionLimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" func (c *Client) CreateScheduledActionWithContext(ctx context.Context, request *CreateScheduledActionRequest) (response *CreateScheduledActionResponse, err error) { if request == nil { request = NewCreateScheduledActionRequest() @@ -1153,15 +1151,16 @@ func NewDeleteAutoScalingGroupResponse() (response *DeleteAutoScalingGroupRespon // 本接口(DeleteAutoScalingGroup)用于删除指定伸缩组,删除前提是伸缩组内无实例且当前未在执行伸缩活动。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CALLERROR = "InternalError.CallError" -// INTERNALERROR_CALLMONITORERROR = "InternalError.CallMonitorError" -// INTERNALERROR_CALLTAGERROR = "InternalError.CallTagError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// RESOURCEINUSE_ACTIVITYINPROGRESS = "ResourceInUse.ActivityInProgress" -// RESOURCEINUSE_INSTANCEINGROUP = "ResourceInUse.InstanceInGroup" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CALLERROR = "InternalError.CallError" +// INTERNALERROR_CALLMONITORERROR = "InternalError.CallMonitorError" +// INTERNALERROR_CALLTAGERROR = "InternalError.CallTagError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// RESOURCEINUSE_ACTIVITYINPROGRESS = "ResourceInUse.ActivityInProgress" +// RESOURCEINUSE_INSTANCEINGROUP = "ResourceInUse.InstanceInGroup" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" func (c *Client) DeleteAutoScalingGroup(request *DeleteAutoScalingGroupRequest) (response *DeleteAutoScalingGroupResponse, err error) { if request == nil { request = NewDeleteAutoScalingGroupRequest() @@ -1176,15 +1175,16 @@ func (c *Client) DeleteAutoScalingGroup(request *DeleteAutoScalingGroupRequest) // 本接口(DeleteAutoScalingGroup)用于删除指定伸缩组,删除前提是伸缩组内无实例且当前未在执行伸缩活动。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CALLERROR = "InternalError.CallError" -// INTERNALERROR_CALLMONITORERROR = "InternalError.CallMonitorError" -// INTERNALERROR_CALLTAGERROR = "InternalError.CallTagError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// RESOURCEINUSE_ACTIVITYINPROGRESS = "ResourceInUse.ActivityInProgress" -// RESOURCEINUSE_INSTANCEINGROUP = "ResourceInUse.InstanceInGroup" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CALLERROR = "InternalError.CallError" +// INTERNALERROR_CALLMONITORERROR = "InternalError.CallMonitorError" +// INTERNALERROR_CALLTAGERROR = "InternalError.CallTagError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// RESOURCEINUSE_ACTIVITYINPROGRESS = "ResourceInUse.ActivityInProgress" +// RESOURCEINUSE_INSTANCEINGROUP = "ResourceInUse.InstanceInGroup" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" func (c *Client) DeleteAutoScalingGroupWithContext(ctx context.Context, request *DeleteAutoScalingGroupRequest) (response *DeleteAutoScalingGroupResponse, err error) { if request == nil { request = NewDeleteAutoScalingGroupRequest() @@ -1215,14 +1215,13 @@ func NewDeleteLaunchConfigurationResponse() (response *DeleteLaunchConfiguration // DeleteLaunchConfiguration // 本接口(DeleteLaunchConfiguration)用于删除启动配置。 // -// -// // * 若启动配置在伸缩组中属于生效状态,则该启动配置不允许删除。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" -// RESOURCEINUSE_LAUNCHCONFIGURATIONIDINUSE = "ResourceInUse.LaunchConfigurationIdInUse" -// RESOURCENOTFOUND_LAUNCHCONFIGURATIONIDNOTFOUND = "ResourceNotFound.LaunchConfigurationIdNotFound" +// +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// RESOURCEINUSE_LAUNCHCONFIGURATIONIDINUSE = "ResourceInUse.LaunchConfigurationIdInUse" +// RESOURCENOTFOUND_LAUNCHCONFIGURATIONIDNOTFOUND = "ResourceNotFound.LaunchConfigurationIdNotFound" func (c *Client) DeleteLaunchConfiguration(request *DeleteLaunchConfigurationRequest) (response *DeleteLaunchConfigurationResponse, err error) { if request == nil { request = NewDeleteLaunchConfigurationRequest() @@ -1236,14 +1235,13 @@ func (c *Client) DeleteLaunchConfiguration(request *DeleteLaunchConfigurationReq // DeleteLaunchConfiguration // 本接口(DeleteLaunchConfiguration)用于删除启动配置。 // -// -// // * 若启动配置在伸缩组中属于生效状态,则该启动配置不允许删除。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" -// RESOURCEINUSE_LAUNCHCONFIGURATIONIDINUSE = "ResourceInUse.LaunchConfigurationIdInUse" -// RESOURCENOTFOUND_LAUNCHCONFIGURATIONIDNOTFOUND = "ResourceNotFound.LaunchConfigurationIdNotFound" +// +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// RESOURCEINUSE_LAUNCHCONFIGURATIONIDINUSE = "ResourceInUse.LaunchConfigurationIdInUse" +// RESOURCENOTFOUND_LAUNCHCONFIGURATIONIDNOTFOUND = "ResourceNotFound.LaunchConfigurationIdNotFound" func (c *Client) DeleteLaunchConfigurationWithContext(ctx context.Context, request *DeleteLaunchConfigurationRequest) (response *DeleteLaunchConfigurationResponse, err error) { if request == nil { request = NewDeleteLaunchConfigurationRequest() @@ -1275,11 +1273,12 @@ func NewDeleteLifecycleHookResponse() (response *DeleteLifecycleHookResponse) { // 本接口(DeleteLifecycleHook)用于删除生命周期挂钩。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND_LIFECYCLEHOOKNOTFOUND = "ResourceNotFound.LifecycleHookNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND_LIFECYCLEHOOKNOTFOUND = "ResourceNotFound.LifecycleHookNotFound" func (c *Client) DeleteLifecycleHook(request *DeleteLifecycleHookRequest) (response *DeleteLifecycleHookResponse, err error) { if request == nil { request = NewDeleteLifecycleHookRequest() @@ -1294,11 +1293,12 @@ func (c *Client) DeleteLifecycleHook(request *DeleteLifecycleHookRequest) (respo // 本接口(DeleteLifecycleHook)用于删除生命周期挂钩。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND_LIFECYCLEHOOKNOTFOUND = "ResourceNotFound.LifecycleHookNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND_LIFECYCLEHOOKNOTFOUND = "ResourceNotFound.LifecycleHookNotFound" func (c *Client) DeleteLifecycleHookWithContext(ctx context.Context, request *DeleteLifecycleHookRequest) (response *DeleteLifecycleHookResponse, err error) { if request == nil { request = NewDeleteLifecycleHookRequest() @@ -1330,8 +1330,9 @@ func NewDeleteNotificationConfigurationResponse() (response *DeleteNotificationC // 本接口(DeleteNotificationConfiguration)用于删除特定的通知。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGNOTIFICATIONID = "InvalidParameterValue.InvalidAutoScalingNotificationId" -// RESOURCENOTFOUND_AUTOSCALINGNOTIFICATIONNOTFOUND = "ResourceNotFound.AutoScalingNotificationNotFound" +// +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGNOTIFICATIONID = "InvalidParameterValue.InvalidAutoScalingNotificationId" +// RESOURCENOTFOUND_AUTOSCALINGNOTIFICATIONNOTFOUND = "ResourceNotFound.AutoScalingNotificationNotFound" func (c *Client) DeleteNotificationConfiguration(request *DeleteNotificationConfigurationRequest) (response *DeleteNotificationConfigurationResponse, err error) { if request == nil { request = NewDeleteNotificationConfigurationRequest() @@ -1346,8 +1347,9 @@ func (c *Client) DeleteNotificationConfiguration(request *DeleteNotificationConf // 本接口(DeleteNotificationConfiguration)用于删除特定的通知。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGNOTIFICATIONID = "InvalidParameterValue.InvalidAutoScalingNotificationId" -// RESOURCENOTFOUND_AUTOSCALINGNOTIFICATIONNOTFOUND = "ResourceNotFound.AutoScalingNotificationNotFound" +// +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGNOTIFICATIONID = "InvalidParameterValue.InvalidAutoScalingNotificationId" +// RESOURCENOTFOUND_AUTOSCALINGNOTIFICATIONNOTFOUND = "ResourceNotFound.AutoScalingNotificationNotFound" func (c *Client) DeleteNotificationConfigurationWithContext(ctx context.Context, request *DeleteNotificationConfigurationRequest) (response *DeleteNotificationConfigurationResponse, err error) { if request == nil { request = NewDeleteNotificationConfigurationRequest() @@ -1379,8 +1381,9 @@ func NewDeleteScalingPolicyResponse() (response *DeleteScalingPolicyResponse) { // 本接口(DeleteScalingPolicy)用于删除告警触发策略。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" -// RESOURCENOTFOUND_SCALINGPOLICYNOTFOUND = "ResourceNotFound.ScalingPolicyNotFound" +// +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" +// RESOURCENOTFOUND_SCALINGPOLICYNOTFOUND = "ResourceNotFound.ScalingPolicyNotFound" func (c *Client) DeleteScalingPolicy(request *DeleteScalingPolicyRequest) (response *DeleteScalingPolicyResponse, err error) { if request == nil { request = NewDeleteScalingPolicyRequest() @@ -1395,8 +1398,9 @@ func (c *Client) DeleteScalingPolicy(request *DeleteScalingPolicyRequest) (respo // 本接口(DeleteScalingPolicy)用于删除告警触发策略。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" -// RESOURCENOTFOUND_SCALINGPOLICYNOTFOUND = "ResourceNotFound.ScalingPolicyNotFound" +// +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" +// RESOURCENOTFOUND_SCALINGPOLICYNOTFOUND = "ResourceNotFound.ScalingPolicyNotFound" func (c *Client) DeleteScalingPolicyWithContext(ctx context.Context, request *DeleteScalingPolicyRequest) (response *DeleteScalingPolicyResponse, err error) { if request == nil { request = NewDeleteScalingPolicyRequest() @@ -1428,8 +1432,9 @@ func NewDeleteScheduledActionResponse() (response *DeleteScheduledActionResponse // 本接口(DeleteScheduledAction)用于删除特定的定时任务。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONID = "InvalidParameterValue.InvalidScheduledActionId" -// RESOURCENOTFOUND_SCHEDULEDACTIONNOTFOUND = "ResourceNotFound.ScheduledActionNotFound" +// +// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONID = "InvalidParameterValue.InvalidScheduledActionId" +// RESOURCENOTFOUND_SCHEDULEDACTIONNOTFOUND = "ResourceNotFound.ScheduledActionNotFound" func (c *Client) DeleteScheduledAction(request *DeleteScheduledActionRequest) (response *DeleteScheduledActionResponse, err error) { if request == nil { request = NewDeleteScheduledActionRequest() @@ -1444,8 +1449,9 @@ func (c *Client) DeleteScheduledAction(request *DeleteScheduledActionRequest) (r // 本接口(DeleteScheduledAction)用于删除特定的定时任务。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONID = "InvalidParameterValue.InvalidScheduledActionId" -// RESOURCENOTFOUND_SCHEDULEDACTIONNOTFOUND = "ResourceNotFound.ScheduledActionNotFound" +// +// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONID = "InvalidParameterValue.InvalidScheduledActionId" +// RESOURCENOTFOUND_SCHEDULEDACTIONNOTFOUND = "ResourceNotFound.ScheduledActionNotFound" func (c *Client) DeleteScheduledActionWithContext(ctx context.Context, request *DeleteScheduledActionRequest) (response *DeleteScheduledActionResponse, err error) { if request == nil { request = NewDeleteScheduledActionRequest() @@ -1477,7 +1483,8 @@ func NewDescribeAccountLimitsResponse() (response *DescribeAccountLimitsResponse // 本接口(DescribeAccountLimits)用于查询用户账户在弹性伸缩中的资源限制。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" +// +// INTERNALERROR = "InternalError" func (c *Client) DescribeAccountLimits(request *DescribeAccountLimitsRequest) (response *DescribeAccountLimitsResponse, err error) { if request == nil { request = NewDescribeAccountLimitsRequest() @@ -1492,7 +1499,8 @@ func (c *Client) DescribeAccountLimits(request *DescribeAccountLimitsRequest) (r // 本接口(DescribeAccountLimits)用于查询用户账户在弹性伸缩中的资源限制。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" +// +// INTERNALERROR = "InternalError" func (c *Client) DescribeAccountLimitsWithContext(ctx context.Context, request *DescribeAccountLimitsRequest) (response *DescribeAccountLimitsResponse, err error) { if request == nil { request = NewDescribeAccountLimitsRequest() @@ -1524,14 +1532,15 @@ func NewDescribeAutoScalingActivitiesResponse() (response *DescribeAutoScalingAc // 本接口(DescribeAutoScalingActivities)用于查询伸缩组的伸缩活动记录。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" -// INVALIDPARAMETERVALUE_INVALIDACTIVITYID = "InvalidParameterValue.InvalidActivityId" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// LIMITEXCEEDED_FILTERVALUESTOOLONG = "LimitExceeded.FilterValuesTooLong" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" +// INVALIDPARAMETERVALUE_INVALIDACTIVITYID = "InvalidParameterValue.InvalidActivityId" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// LIMITEXCEEDED_FILTERVALUESTOOLONG = "LimitExceeded.FilterValuesTooLong" func (c *Client) DescribeAutoScalingActivities(request *DescribeAutoScalingActivitiesRequest) (response *DescribeAutoScalingActivitiesResponse, err error) { if request == nil { request = NewDescribeAutoScalingActivitiesRequest() @@ -1546,14 +1555,15 @@ func (c *Client) DescribeAutoScalingActivities(request *DescribeAutoScalingActiv // 本接口(DescribeAutoScalingActivities)用于查询伸缩组的伸缩活动记录。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" -// INVALIDPARAMETERVALUE_INVALIDACTIVITYID = "InvalidParameterValue.InvalidActivityId" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// LIMITEXCEEDED_FILTERVALUESTOOLONG = "LimitExceeded.FilterValuesTooLong" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" +// INVALIDPARAMETERVALUE_INVALIDACTIVITYID = "InvalidParameterValue.InvalidActivityId" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// LIMITEXCEEDED_FILTERVALUESTOOLONG = "LimitExceeded.FilterValuesTooLong" func (c *Client) DescribeAutoScalingActivitiesWithContext(ctx context.Context, request *DescribeAutoScalingActivitiesRequest) (response *DescribeAutoScalingActivitiesResponse, err error) { if request == nil { request = NewDescribeAutoScalingActivitiesRequest() @@ -1585,8 +1595,9 @@ func NewDescribeAutoScalingAdvicesResponse() (response *DescribeAutoScalingAdvic // 此接口用于查询伸缩组配置建议。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" func (c *Client) DescribeAutoScalingAdvices(request *DescribeAutoScalingAdvicesRequest) (response *DescribeAutoScalingAdvicesResponse, err error) { if request == nil { request = NewDescribeAutoScalingAdvicesRequest() @@ -1601,8 +1612,9 @@ func (c *Client) DescribeAutoScalingAdvices(request *DescribeAutoScalingAdvicesR // 此接口用于查询伸缩组配置建议。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" func (c *Client) DescribeAutoScalingAdvicesWithContext(ctx context.Context, request *DescribeAutoScalingAdvicesRequest) (response *DescribeAutoScalingAdvicesResponse, err error) { if request == nil { request = NewDescribeAutoScalingAdvicesRequest() @@ -1634,9 +1646,10 @@ func NewDescribeAutoScalingGroupLastActivitiesResponse() (response *DescribeAuto // 本接口(DescribeAutoScalingGroupLastActivities)用于查询伸缩组的最新一次伸缩活动记录。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_NORESOURCEPERMISSION = "InvalidParameterValue.NoResourcePermission" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_NORESOURCEPERMISSION = "InvalidParameterValue.NoResourcePermission" func (c *Client) DescribeAutoScalingGroupLastActivities(request *DescribeAutoScalingGroupLastActivitiesRequest) (response *DescribeAutoScalingGroupLastActivitiesResponse, err error) { if request == nil { request = NewDescribeAutoScalingGroupLastActivitiesRequest() @@ -1651,9 +1664,10 @@ func (c *Client) DescribeAutoScalingGroupLastActivities(request *DescribeAutoSca // 本接口(DescribeAutoScalingGroupLastActivities)用于查询伸缩组的最新一次伸缩活动记录。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_NORESOURCEPERMISSION = "InvalidParameterValue.NoResourcePermission" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_NORESOURCEPERMISSION = "InvalidParameterValue.NoResourcePermission" func (c *Client) DescribeAutoScalingGroupLastActivitiesWithContext(ctx context.Context, request *DescribeAutoScalingGroupLastActivitiesRequest) (response *DescribeAutoScalingGroupLastActivitiesResponse, err error) { if request == nil { request = NewDescribeAutoScalingGroupLastActivitiesRequest() @@ -1684,22 +1698,21 @@ func NewDescribeAutoScalingGroupsResponse() (response *DescribeAutoScalingGroups // DescribeAutoScalingGroups // 本接口(DescribeAutoScalingGroups)用于查询伸缩组信息。 // -// -// // * 可以根据伸缩组ID、伸缩组名称或者启动配置ID等信息来查询伸缩组的详细信息。过滤信息详细请见过滤器`Filter`。 // // * 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的伸缩组。 // // 可能返回的错误码: -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" -// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPERMISSION = "InvalidPermission" +// +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPERMISSION = "InvalidPermission" func (c *Client) DescribeAutoScalingGroups(request *DescribeAutoScalingGroupsRequest) (response *DescribeAutoScalingGroupsResponse, err error) { if request == nil { request = NewDescribeAutoScalingGroupsRequest() @@ -1713,22 +1726,21 @@ func (c *Client) DescribeAutoScalingGroups(request *DescribeAutoScalingGroupsReq // DescribeAutoScalingGroups // 本接口(DescribeAutoScalingGroups)用于查询伸缩组信息。 // -// -// // * 可以根据伸缩组ID、伸缩组名称或者启动配置ID等信息来查询伸缩组的详细信息。过滤信息详细请见过滤器`Filter`。 // // * 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的伸缩组。 // // 可能返回的错误码: -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" -// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPERMISSION = "InvalidPermission" +// +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPERMISSION = "InvalidPermission" func (c *Client) DescribeAutoScalingGroupsWithContext(ctx context.Context, request *DescribeAutoScalingGroupsRequest) (response *DescribeAutoScalingGroupsResponse, err error) { if request == nil { request = NewDescribeAutoScalingGroupsRequest() @@ -1759,20 +1771,19 @@ func NewDescribeAutoScalingInstancesResponse() (response *DescribeAutoScalingIns // DescribeAutoScalingInstances // 本接口(DescribeAutoScalingInstances)用于查询弹性伸缩关联实例的信息。 // -// -// // * 可以根据实例ID、伸缩组ID等信息来查询实例的详细信息。过滤信息详细请见过滤器`Filter`。 // // * 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的实例。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// LIMITEXCEEDED_FILTERVALUESTOOLONG = "LimitExceeded.FilterValuesTooLong" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// LIMITEXCEEDED_FILTERVALUESTOOLONG = "LimitExceeded.FilterValuesTooLong" func (c *Client) DescribeAutoScalingInstances(request *DescribeAutoScalingInstancesRequest) (response *DescribeAutoScalingInstancesResponse, err error) { if request == nil { request = NewDescribeAutoScalingInstancesRequest() @@ -1786,20 +1797,19 @@ func (c *Client) DescribeAutoScalingInstances(request *DescribeAutoScalingInstan // DescribeAutoScalingInstances // 本接口(DescribeAutoScalingInstances)用于查询弹性伸缩关联实例的信息。 // -// -// // * 可以根据实例ID、伸缩组ID等信息来查询实例的详细信息。过滤信息详细请见过滤器`Filter`。 // // * 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的实例。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// LIMITEXCEEDED_FILTERVALUESTOOLONG = "LimitExceeded.FilterValuesTooLong" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// LIMITEXCEEDED_FILTERVALUESTOOLONG = "LimitExceeded.FilterValuesTooLong" func (c *Client) DescribeAutoScalingInstancesWithContext(ctx context.Context, request *DescribeAutoScalingInstancesRequest) (response *DescribeAutoScalingInstancesResponse, err error) { if request == nil { request = NewDescribeAutoScalingInstancesRequest() @@ -1830,19 +1840,18 @@ func NewDescribeLaunchConfigurationsResponse() (response *DescribeLaunchConfigur // DescribeLaunchConfigurations // 本接口(DescribeLaunchConfigurations)用于查询启动配置的信息。 // -// -// // * 可以根据启动配置ID、启动配置名称等信息来查询启动配置的详细信息。过滤信息详细请见过滤器`Filter`。 // // * 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的启动配置。 // // 可能返回的错误码: -// INVALIDLAUNCHCONFIGURATION = "InvalidLaunchConfiguration" -// INVALIDLAUNCHCONFIGURATIONID = "InvalidLaunchConfigurationId" -// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" -// INVALIDPERMISSION = "InvalidPermission" +// +// INVALIDLAUNCHCONFIGURATION = "InvalidLaunchConfiguration" +// INVALIDLAUNCHCONFIGURATIONID = "InvalidLaunchConfigurationId" +// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// INVALIDPERMISSION = "InvalidPermission" func (c *Client) DescribeLaunchConfigurations(request *DescribeLaunchConfigurationsRequest) (response *DescribeLaunchConfigurationsResponse, err error) { if request == nil { request = NewDescribeLaunchConfigurationsRequest() @@ -1856,19 +1865,18 @@ func (c *Client) DescribeLaunchConfigurations(request *DescribeLaunchConfigurati // DescribeLaunchConfigurations // 本接口(DescribeLaunchConfigurations)用于查询启动配置的信息。 // -// -// // * 可以根据启动配置ID、启动配置名称等信息来查询启动配置的详细信息。过滤信息详细请见过滤器`Filter`。 // // * 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的启动配置。 // // 可能返回的错误码: -// INVALIDLAUNCHCONFIGURATION = "InvalidLaunchConfiguration" -// INVALIDLAUNCHCONFIGURATIONID = "InvalidLaunchConfigurationId" -// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" -// INVALIDPERMISSION = "InvalidPermission" +// +// INVALIDLAUNCHCONFIGURATION = "InvalidLaunchConfiguration" +// INVALIDLAUNCHCONFIGURATIONID = "InvalidLaunchConfigurationId" +// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// INVALIDPERMISSION = "InvalidPermission" func (c *Client) DescribeLaunchConfigurationsWithContext(ctx context.Context, request *DescribeLaunchConfigurationsRequest) (response *DescribeLaunchConfigurationsResponse, err error) { if request == nil { request = NewDescribeLaunchConfigurationsRequest() @@ -1899,20 +1907,19 @@ func NewDescribeLifecycleHooksResponse() (response *DescribeLifecycleHooksRespon // DescribeLifecycleHooks // 本接口(DescribeLifecycleHooks)用于查询生命周期挂钩信息。 // -// -// // * 可以根据伸缩组ID、生命周期挂钩ID或者生命周期挂钩名称等信息来查询生命周期挂钩的详细信息。过滤信息详细请见过滤器`Filter`。 // // * 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的生命周期挂钩。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) DescribeLifecycleHooks(request *DescribeLifecycleHooksRequest) (response *DescribeLifecycleHooksResponse, err error) { if request == nil { request = NewDescribeLifecycleHooksRequest() @@ -1926,20 +1933,19 @@ func (c *Client) DescribeLifecycleHooks(request *DescribeLifecycleHooksRequest) // DescribeLifecycleHooks // 本接口(DescribeLifecycleHooks)用于查询生命周期挂钩信息。 // -// -// // * 可以根据伸缩组ID、生命周期挂钩ID或者生命周期挂钩名称等信息来查询生命周期挂钩的详细信息。过滤信息详细请见过滤器`Filter`。 // // * 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的生命周期挂钩。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) DescribeLifecycleHooksWithContext(ctx context.Context, request *DescribeLifecycleHooksRequest) (response *DescribeLifecycleHooksResponse, err error) { if request == nil { request = NewDescribeLifecycleHooksRequest() @@ -1970,17 +1976,16 @@ func NewDescribeNotificationConfigurationsResponse() (response *DescribeNotifica // DescribeNotificationConfigurations // 本接口 (DescribeNotificationConfigurations) 用于查询一个或多个通知的详细信息。 // -// -// // 可以根据通知ID、伸缩组ID等信息来查询通知的详细信息。过滤信息详细请见过滤器`Filter`。 // // 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的通知。 // // 可能返回的错误码: -// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGNOTIFICATIONID = "InvalidParameterValue.InvalidAutoScalingNotificationId" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// +// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGNOTIFICATIONID = "InvalidParameterValue.InvalidAutoScalingNotificationId" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" func (c *Client) DescribeNotificationConfigurations(request *DescribeNotificationConfigurationsRequest) (response *DescribeNotificationConfigurationsResponse, err error) { if request == nil { request = NewDescribeNotificationConfigurationsRequest() @@ -1994,17 +1999,16 @@ func (c *Client) DescribeNotificationConfigurations(request *DescribeNotificatio // DescribeNotificationConfigurations // 本接口 (DescribeNotificationConfigurations) 用于查询一个或多个通知的详细信息。 // -// -// // 可以根据通知ID、伸缩组ID等信息来查询通知的详细信息。过滤信息详细请见过滤器`Filter`。 // // 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的通知。 // // 可能返回的错误码: -// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGNOTIFICATIONID = "InvalidParameterValue.InvalidAutoScalingNotificationId" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// +// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGNOTIFICATIONID = "InvalidParameterValue.InvalidAutoScalingNotificationId" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" func (c *Client) DescribeNotificationConfigurationsWithContext(ctx context.Context, request *DescribeNotificationConfigurationsRequest) (response *DescribeNotificationConfigurationsResponse, err error) { if request == nil { request = NewDescribeNotificationConfigurationsRequest() @@ -2035,16 +2039,15 @@ func NewDescribePaiInstancesResponse() (response *DescribePaiInstancesResponse) // DescribePaiInstances // 本接口(DescribePaiInstances)用于查询PAI实例信息。 // -// -// // * 可以根据实例ID、实例域名等信息来查询PAI实例的详细信息。过滤信息详细请见过滤器`Filter`。 // // * 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的PAI实例。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" func (c *Client) DescribePaiInstances(request *DescribePaiInstancesRequest) (response *DescribePaiInstancesResponse, err error) { if request == nil { request = NewDescribePaiInstancesRequest() @@ -2058,16 +2061,15 @@ func (c *Client) DescribePaiInstances(request *DescribePaiInstancesRequest) (res // DescribePaiInstances // 本接口(DescribePaiInstances)用于查询PAI实例信息。 // -// -// // * 可以根据实例ID、实例域名等信息来查询PAI实例的详细信息。过滤信息详细请见过滤器`Filter`。 // // * 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的PAI实例。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" func (c *Client) DescribePaiInstancesWithContext(ctx context.Context, request *DescribePaiInstancesRequest) (response *DescribePaiInstancesResponse, err error) { if request == nil { request = NewDescribePaiInstancesRequest() @@ -2099,13 +2101,14 @@ func NewDescribeScalingPoliciesResponse() (response *DescribeScalingPoliciesResp // 本接口(DescribeScalingPolicies)用于查询告警触发策略。 // // 可能返回的错误码: -// INTERNALERROR_CALLMONITORERROR = "InternalError.CallMonitorError" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// LIMITEXCEEDED = "LimitExceeded" +// +// INTERNALERROR_CALLMONITORERROR = "InternalError.CallMonitorError" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// LIMITEXCEEDED = "LimitExceeded" func (c *Client) DescribeScalingPolicies(request *DescribeScalingPoliciesRequest) (response *DescribeScalingPoliciesResponse, err error) { if request == nil { request = NewDescribeScalingPoliciesRequest() @@ -2120,13 +2123,14 @@ func (c *Client) DescribeScalingPolicies(request *DescribeScalingPoliciesRequest // 本接口(DescribeScalingPolicies)用于查询告警触发策略。 // // 可能返回的错误码: -// INTERNALERROR_CALLMONITORERROR = "InternalError.CallMonitorError" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// LIMITEXCEEDED = "LimitExceeded" +// +// INTERNALERROR_CALLMONITORERROR = "InternalError.CallMonitorError" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// LIMITEXCEEDED = "LimitExceeded" func (c *Client) DescribeScalingPoliciesWithContext(ctx context.Context, request *DescribeScalingPoliciesRequest) (response *DescribeScalingPoliciesResponse, err error) { if request == nil { request = NewDescribeScalingPoliciesRequest() @@ -2157,20 +2161,19 @@ func NewDescribeScheduledActionsResponse() (response *DescribeScheduledActionsRe // DescribeScheduledActions // 本接口 (DescribeScheduledActions) 用于查询一个或多个定时任务的详细信息。 // -// -// // * 可以根据定时任务ID、定时任务名称或者伸缩组ID等信息来查询定时任务的详细信息。过滤信息详细请见过滤器`Filter`。 // // * 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的定时任务。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONID = "InvalidParameterValue.InvalidScheduledActionId" -// RESOURCENOTFOUND_SCHEDULEDACTIONNOTFOUND = "ResourceNotFound.ScheduledActionNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONID = "InvalidParameterValue.InvalidScheduledActionId" +// RESOURCENOTFOUND_SCHEDULEDACTIONNOTFOUND = "ResourceNotFound.ScheduledActionNotFound" func (c *Client) DescribeScheduledActions(request *DescribeScheduledActionsRequest) (response *DescribeScheduledActionsResponse, err error) { if request == nil { request = NewDescribeScheduledActionsRequest() @@ -2184,20 +2187,19 @@ func (c *Client) DescribeScheduledActions(request *DescribeScheduledActionsReque // DescribeScheduledActions // 本接口 (DescribeScheduledActions) 用于查询一个或多个定时任务的详细信息。 // -// -// // * 可以根据定时任务ID、定时任务名称或者伸缩组ID等信息来查询定时任务的详细信息。过滤信息详细请见过滤器`Filter`。 // // * 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的定时任务。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" -// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONID = "InvalidParameterValue.InvalidScheduledActionId" -// RESOURCENOTFOUND_SCHEDULEDACTIONNOTFOUND = "ResourceNotFound.ScheduledActionNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" +// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONID = "InvalidParameterValue.InvalidScheduledActionId" +// RESOURCENOTFOUND_SCHEDULEDACTIONNOTFOUND = "ResourceNotFound.ScheduledActionNotFound" func (c *Client) DescribeScheduledActionsWithContext(ctx context.Context, request *DescribeScheduledActionsRequest) (response *DescribeScheduledActionsResponse, err error) { if request == nil { request = NewDescribeScheduledActionsRequest() @@ -2235,18 +2237,19 @@ func NewDetachInstancesResponse() (response *DetachInstancesResponse) { // * 对于伸缩组配置的 CLB,实例在离开伸缩组时,AS 会进行解挂载动作 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" -// RESOURCEINSUFFICIENT_INSERVICEINSTANCEBELOWMINSIZE = "ResourceInsufficient.InServiceInstanceBelowMinSize" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_INSTANCEINOPERATION = "ResourceUnavailable.InstanceInOperation" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" +// RESOURCEINSUFFICIENT_INSERVICEINSTANCEBELOWMINSIZE = "ResourceInsufficient.InServiceInstanceBelowMinSize" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_INSTANCEINOPERATION = "ResourceUnavailable.InstanceInOperation" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) DetachInstances(request *DetachInstancesRequest) (response *DetachInstancesResponse, err error) { if request == nil { request = NewDetachInstancesRequest() @@ -2267,18 +2270,19 @@ func (c *Client) DetachInstances(request *DetachInstancesRequest) (response *Det // * 对于伸缩组配置的 CLB,实例在离开伸缩组时,AS 会进行解挂载动作 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" -// RESOURCEINSUFFICIENT_INSERVICEINSTANCEBELOWMINSIZE = "ResourceInsufficient.InServiceInstanceBelowMinSize" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_INSTANCEINOPERATION = "ResourceUnavailable.InstanceInOperation" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" +// RESOURCEINSUFFICIENT_INSERVICEINSTANCEBELOWMINSIZE = "ResourceInsufficient.InServiceInstanceBelowMinSize" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_INSTANCEINOPERATION = "ResourceUnavailable.InstanceInOperation" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) DetachInstancesWithContext(ctx context.Context, request *DetachInstancesRequest) (response *DetachInstancesResponse, err error) { if request == nil { request = NewDetachInstancesRequest() @@ -2310,27 +2314,28 @@ func NewDetachLoadBalancersResponse() (response *DetachLoadBalancersResponse) { // 本接口(DetachLoadBalancers)用于从伸缩组移出负载均衡器,本接口不会销毁负载均衡器。 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" -// INVALIDPARAMETER_LOADBALANCERNOTINAUTOSCALINGGROUP = "InvalidParameter.LoadBalancerNotInAutoScalingGroup" -// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" -// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" -// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" -// LIMITEXCEEDED_AFTERATTACHLBLIMITEXCEEDED = "LimitExceeded.AfterAttachLbLimitExceeded" -// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" -// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" -// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" -// RESOURCEUNAVAILABLE_LBPROJECTINCONSISTENT = "ResourceUnavailable.LbProjectInconsistent" -// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" +// INVALIDPARAMETER_LOADBALANCERNOTINAUTOSCALINGGROUP = "InvalidParameter.LoadBalancerNotInAutoScalingGroup" +// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" +// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" +// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" +// LIMITEXCEEDED_AFTERATTACHLBLIMITEXCEEDED = "LimitExceeded.AfterAttachLbLimitExceeded" +// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" +// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" +// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" +// RESOURCEUNAVAILABLE_LBPROJECTINCONSISTENT = "ResourceUnavailable.LbProjectInconsistent" +// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) DetachLoadBalancers(request *DetachLoadBalancersRequest) (response *DetachLoadBalancersResponse, err error) { if request == nil { request = NewDetachLoadBalancersRequest() @@ -2345,27 +2350,28 @@ func (c *Client) DetachLoadBalancers(request *DetachLoadBalancersRequest) (respo // 本接口(DetachLoadBalancers)用于从伸缩组移出负载均衡器,本接口不会销毁负载均衡器。 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" -// INVALIDPARAMETER_LOADBALANCERNOTINAUTOSCALINGGROUP = "InvalidParameter.LoadBalancerNotInAutoScalingGroup" -// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" -// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" -// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" -// LIMITEXCEEDED_AFTERATTACHLBLIMITEXCEEDED = "LimitExceeded.AfterAttachLbLimitExceeded" -// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" -// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" -// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" -// RESOURCEUNAVAILABLE_LBPROJECTINCONSISTENT = "ResourceUnavailable.LbProjectInconsistent" -// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" +// INVALIDPARAMETER_LOADBALANCERNOTINAUTOSCALINGGROUP = "InvalidParameter.LoadBalancerNotInAutoScalingGroup" +// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" +// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" +// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" +// LIMITEXCEEDED_AFTERATTACHLBLIMITEXCEEDED = "LimitExceeded.AfterAttachLbLimitExceeded" +// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" +// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" +// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" +// RESOURCEUNAVAILABLE_LBPROJECTINCONSISTENT = "ResourceUnavailable.LbProjectInconsistent" +// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) DetachLoadBalancersWithContext(ctx context.Context, request *DetachLoadBalancersRequest) (response *DetachLoadBalancersResponse, err error) { if request == nil { request = NewDetachLoadBalancersRequest() @@ -2397,9 +2403,10 @@ func NewDisableAutoScalingGroupResponse() (response *DisableAutoScalingGroupResp // 本接口(DisableAutoScalingGroup)用于停用指定伸缩组。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" func (c *Client) DisableAutoScalingGroup(request *DisableAutoScalingGroupRequest) (response *DisableAutoScalingGroupResponse, err error) { if request == nil { request = NewDisableAutoScalingGroupRequest() @@ -2414,9 +2421,10 @@ func (c *Client) DisableAutoScalingGroup(request *DisableAutoScalingGroupRequest // 本接口(DisableAutoScalingGroup)用于停用指定伸缩组。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" func (c *Client) DisableAutoScalingGroupWithContext(ctx context.Context, request *DisableAutoScalingGroupRequest) (response *DisableAutoScalingGroupResponse, err error) { if request == nil { request = NewDisableAutoScalingGroupRequest() @@ -2448,9 +2456,10 @@ func NewEnableAutoScalingGroupResponse() (response *EnableAutoScalingGroupRespon // 本接口(EnableAutoScalingGroup)用于启用指定伸缩组。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" func (c *Client) EnableAutoScalingGroup(request *EnableAutoScalingGroupRequest) (response *EnableAutoScalingGroupResponse, err error) { if request == nil { request = NewEnableAutoScalingGroupRequest() @@ -2465,9 +2474,10 @@ func (c *Client) EnableAutoScalingGroup(request *EnableAutoScalingGroupRequest) // 本接口(EnableAutoScalingGroup)用于启用指定伸缩组。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" func (c *Client) EnableAutoScalingGroupWithContext(ctx context.Context, request *EnableAutoScalingGroupRequest) (response *EnableAutoScalingGroupResponse, err error) { if request == nil { request = NewEnableAutoScalingGroupRequest() @@ -2498,21 +2508,20 @@ func NewExecuteScalingPolicyResponse() (response *ExecuteScalingPolicyResponse) // ExecuteScalingPolicy // 本接口(ExecuteScalingPolicy)用于执行伸缩策略。 // -// -// // * 可以根据伸缩策略ID执行伸缩策略。 // // * 伸缩策略所属伸缩组处于伸缩活动时,会拒绝执行伸缩策略。 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" -// RESOURCEINUSE_AUTOSCALINGGROUPNOTACTIVE = "ResourceInUse.AutoScalingGroupNotActive" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_SCALINGPOLICYNOTFOUND = "ResourceNotFound.ScalingPolicyNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPABNORMALSTATUS = "ResourceUnavailable.AutoScalingGroupAbnormalStatus" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" +// RESOURCEINUSE_AUTOSCALINGGROUPNOTACTIVE = "ResourceInUse.AutoScalingGroupNotActive" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_SCALINGPOLICYNOTFOUND = "ResourceNotFound.ScalingPolicyNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPABNORMALSTATUS = "ResourceUnavailable.AutoScalingGroupAbnormalStatus" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" func (c *Client) ExecuteScalingPolicy(request *ExecuteScalingPolicyRequest) (response *ExecuteScalingPolicyResponse, err error) { if request == nil { request = NewExecuteScalingPolicyRequest() @@ -2526,21 +2535,20 @@ func (c *Client) ExecuteScalingPolicy(request *ExecuteScalingPolicyRequest) (res // ExecuteScalingPolicy // 本接口(ExecuteScalingPolicy)用于执行伸缩策略。 // -// -// // * 可以根据伸缩策略ID执行伸缩策略。 // // * 伸缩策略所属伸缩组处于伸缩活动时,会拒绝执行伸缩策略。 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" -// RESOURCEINUSE_AUTOSCALINGGROUPNOTACTIVE = "ResourceInUse.AutoScalingGroupNotActive" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_SCALINGPOLICYNOTFOUND = "ResourceNotFound.ScalingPolicyNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPABNORMALSTATUS = "ResourceUnavailable.AutoScalingGroupAbnormalStatus" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" +// RESOURCEINUSE_AUTOSCALINGGROUPNOTACTIVE = "ResourceInUse.AutoScalingGroupNotActive" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_SCALINGPOLICYNOTFOUND = "ResourceNotFound.ScalingPolicyNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPABNORMALSTATUS = "ResourceUnavailable.AutoScalingGroupAbnormalStatus" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" func (c *Client) ExecuteScalingPolicyWithContext(ctx context.Context, request *ExecuteScalingPolicyRequest) (response *ExecuteScalingPolicyResponse, err error) { if request == nil { request = NewExecuteScalingPolicyRequest() @@ -2572,34 +2580,35 @@ func NewModifyAutoScalingGroupResponse() (response *ModifyAutoScalingGroupRespon // 本接口(ModifyAutoScalingGroup)用于修改伸缩组。 // // 可能返回的错误码: -// INTERNALERROR_CALLVPCERROR = "InternalError.CallVpcError" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" -// INVALIDPARAMETERVALUE_BASECAPACITYTOOLARGE = "InvalidParameterValue.BaseCapacityTooLarge" -// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" -// INVALIDPARAMETERVALUE_DUPLICATEDSUBNET = "InvalidParameterValue.DuplicatedSubnet" -// INVALIDPARAMETERVALUE_GROUPNAMEDUPLICATED = "InvalidParameterValue.GroupNameDuplicated" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" -// INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" -// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNOTFOUND = "InvalidParameterValue.LaunchConfigurationNotFound" -// INVALIDPARAMETERVALUE_LBPROJECTINCONSISTENT = "InvalidParameterValue.LbProjectInconsistent" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_ONLYVPC = "InvalidParameterValue.OnlyVpc" -// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" -// INVALIDPARAMETERVALUE_SUBNETIDS = "InvalidParameterValue.SubnetIds" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" -// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCEUNAVAILABLE_LAUNCHCONFIGURATIONSTATUSABNORMAL = "ResourceUnavailable.LaunchConfigurationStatusAbnormal" -// RESOURCEUNAVAILABLE_PROJECTINCONSISTENT = "ResourceUnavailable.ProjectInconsistent" +// +// INTERNALERROR_CALLVPCERROR = "InternalError.CallVpcError" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" +// INVALIDPARAMETERVALUE_BASECAPACITYTOOLARGE = "InvalidParameterValue.BaseCapacityTooLarge" +// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" +// INVALIDPARAMETERVALUE_DUPLICATEDSUBNET = "InvalidParameterValue.DuplicatedSubnet" +// INVALIDPARAMETERVALUE_GROUPNAMEDUPLICATED = "InvalidParameterValue.GroupNameDuplicated" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" +// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNOTFOUND = "InvalidParameterValue.LaunchConfigurationNotFound" +// INVALIDPARAMETERVALUE_LBPROJECTINCONSISTENT = "InvalidParameterValue.LbProjectInconsistent" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_ONLYVPC = "InvalidParameterValue.OnlyVpc" +// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" +// INVALIDPARAMETERVALUE_SUBNETIDS = "InvalidParameterValue.SubnetIds" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" +// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCEUNAVAILABLE_LAUNCHCONFIGURATIONSTATUSABNORMAL = "ResourceUnavailable.LaunchConfigurationStatusAbnormal" +// RESOURCEUNAVAILABLE_PROJECTINCONSISTENT = "ResourceUnavailable.ProjectInconsistent" func (c *Client) ModifyAutoScalingGroup(request *ModifyAutoScalingGroupRequest) (response *ModifyAutoScalingGroupResponse, err error) { if request == nil { request = NewModifyAutoScalingGroupRequest() @@ -2614,34 +2623,35 @@ func (c *Client) ModifyAutoScalingGroup(request *ModifyAutoScalingGroupRequest) // 本接口(ModifyAutoScalingGroup)用于修改伸缩组。 // // 可能返回的错误码: -// INTERNALERROR_CALLVPCERROR = "InternalError.CallVpcError" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" -// INVALIDPARAMETERVALUE_BASECAPACITYTOOLARGE = "InvalidParameterValue.BaseCapacityTooLarge" -// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" -// INVALIDPARAMETERVALUE_DUPLICATEDSUBNET = "InvalidParameterValue.DuplicatedSubnet" -// INVALIDPARAMETERVALUE_GROUPNAMEDUPLICATED = "InvalidParameterValue.GroupNameDuplicated" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" -// INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" -// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNOTFOUND = "InvalidParameterValue.LaunchConfigurationNotFound" -// INVALIDPARAMETERVALUE_LBPROJECTINCONSISTENT = "InvalidParameterValue.LbProjectInconsistent" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_ONLYVPC = "InvalidParameterValue.OnlyVpc" -// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" -// INVALIDPARAMETERVALUE_SUBNETIDS = "InvalidParameterValue.SubnetIds" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" -// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCEUNAVAILABLE_LAUNCHCONFIGURATIONSTATUSABNORMAL = "ResourceUnavailable.LaunchConfigurationStatusAbnormal" -// RESOURCEUNAVAILABLE_PROJECTINCONSISTENT = "ResourceUnavailable.ProjectInconsistent" +// +// INTERNALERROR_CALLVPCERROR = "InternalError.CallVpcError" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" +// INVALIDPARAMETERVALUE_BASECAPACITYTOOLARGE = "InvalidParameterValue.BaseCapacityTooLarge" +// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" +// INVALIDPARAMETERVALUE_DUPLICATEDSUBNET = "InvalidParameterValue.DuplicatedSubnet" +// INVALIDPARAMETERVALUE_GROUPNAMEDUPLICATED = "InvalidParameterValue.GroupNameDuplicated" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// INVALIDPARAMETERVALUE_INVALIDSUBNETID = "InvalidParameterValue.InvalidSubnetId" +// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNOTFOUND = "InvalidParameterValue.LaunchConfigurationNotFound" +// INVALIDPARAMETERVALUE_LBPROJECTINCONSISTENT = "InvalidParameterValue.LbProjectInconsistent" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_ONLYVPC = "InvalidParameterValue.OnlyVpc" +// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" +// INVALIDPARAMETERVALUE_SUBNETIDS = "InvalidParameterValue.SubnetIds" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" +// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCEUNAVAILABLE_LAUNCHCONFIGURATIONSTATUSABNORMAL = "ResourceUnavailable.LaunchConfigurationStatusAbnormal" +// RESOURCEUNAVAILABLE_PROJECTINCONSISTENT = "ResourceUnavailable.ProjectInconsistent" func (c *Client) ModifyAutoScalingGroupWithContext(ctx context.Context, request *ModifyAutoScalingGroupRequest) (response *ModifyAutoScalingGroupResponse, err error) { if request == nil { request = NewModifyAutoScalingGroupRequest() @@ -2673,13 +2683,14 @@ func NewModifyDesiredCapacityResponse() (response *ModifyDesiredCapacityResponse // 本接口(ModifyDesiredCapacity)用于修改指定伸缩组的期望实例数 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" -// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPABNORMALSTATUS = "ResourceUnavailable.AutoScalingGroupAbnormalStatus" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPDISABLED = "ResourceUnavailable.AutoScalingGroupDisabled" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" +// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPABNORMALSTATUS = "ResourceUnavailable.AutoScalingGroupAbnormalStatus" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPDISABLED = "ResourceUnavailable.AutoScalingGroupDisabled" func (c *Client) ModifyDesiredCapacity(request *ModifyDesiredCapacityRequest) (response *ModifyDesiredCapacityResponse, err error) { if request == nil { request = NewModifyDesiredCapacityRequest() @@ -2694,13 +2705,14 @@ func (c *Client) ModifyDesiredCapacity(request *ModifyDesiredCapacityRequest) (r // 本接口(ModifyDesiredCapacity)用于修改指定伸缩组的期望实例数 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" -// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPABNORMALSTATUS = "ResourceUnavailable.AutoScalingGroupAbnormalStatus" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPDISABLED = "ResourceUnavailable.AutoScalingGroupDisabled" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" +// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPABNORMALSTATUS = "ResourceUnavailable.AutoScalingGroupAbnormalStatus" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPDISABLED = "ResourceUnavailable.AutoScalingGroupDisabled" func (c *Client) ModifyDesiredCapacityWithContext(ctx context.Context, request *ModifyDesiredCapacityRequest) (response *ModifyDesiredCapacityResponse, err error) { if request == nil { request = NewModifyDesiredCapacityRequest() @@ -2731,33 +2743,32 @@ func NewModifyLaunchConfigurationAttributesResponse() (response *ModifyLaunchCon // ModifyLaunchConfigurationAttributes // 本接口(ModifyLaunchConfigurationAttributes)用于修改启动配置部分属性。 // -// -// // * 修改启动配置后,已经使用该启动配置扩容的存量实例不会发生变更,此后使用该启动配置的新增实例会按照新的配置进行扩容。 // // * 本接口支持修改部分简单类型。 // // 可能返回的错误码: -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_HOSTNAMEUNAVAILABLE = "InvalidParameter.HostNameUnavailable" -// INVALIDPARAMETER_INVALIDCOMBINATION = "InvalidParameter.InvalidCombination" -// INVALIDPARAMETER_PARAMETERMUSTBEDELETED = "InvalidParameter.ParameterMustBeDeleted" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CVMCONFIGURATIONERROR = "InvalidParameterValue.CvmConfigurationError" -// INVALIDPARAMETERVALUE_HOSTNAMEILLEGAL = "InvalidParameterValue.HostNameIllegal" -// INVALIDPARAMETERVALUE_IMAGENOTFOUND = "InvalidParameterValue.ImageNotFound" -// INVALIDPARAMETERVALUE_INSTANCENAMEILLEGAL = "InvalidParameterValue.InstanceNameIllegal" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTED = "InvalidParameterValue.InstanceTypeNotSupported" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" -// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" -// INVALIDPARAMETERVALUE_NOTSTRINGTYPEFLOAT = "InvalidParameterValue.NotStringTypeFloat" -// INVALIDPARAMETERVALUE_USERDATAFORMATERROR = "InvalidParameterValue.UserDataFormatError" -// INVALIDPARAMETERVALUE_USERDATASIZEEXCEEDED = "InvalidParameterValue.UserDataSizeExceeded" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" -// RESOURCENOTFOUND_LAUNCHCONFIGURATIONIDNOTFOUND = "ResourceNotFound.LaunchConfigurationIdNotFound" +// +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_HOSTNAMEUNAVAILABLE = "InvalidParameter.HostNameUnavailable" +// INVALIDPARAMETER_INVALIDCOMBINATION = "InvalidParameter.InvalidCombination" +// INVALIDPARAMETER_PARAMETERMUSTBEDELETED = "InvalidParameter.ParameterMustBeDeleted" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CVMCONFIGURATIONERROR = "InvalidParameterValue.CvmConfigurationError" +// INVALIDPARAMETERVALUE_HOSTNAMEILLEGAL = "InvalidParameterValue.HostNameIllegal" +// INVALIDPARAMETERVALUE_IMAGENOTFOUND = "InvalidParameterValue.ImageNotFound" +// INVALIDPARAMETERVALUE_INSTANCENAMEILLEGAL = "InvalidParameterValue.InstanceNameIllegal" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTED = "InvalidParameterValue.InstanceTypeNotSupported" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" +// INVALIDPARAMETERVALUE_NOTSTRINGTYPEFLOAT = "InvalidParameterValue.NotStringTypeFloat" +// INVALIDPARAMETERVALUE_USERDATAFORMATERROR = "InvalidParameterValue.UserDataFormatError" +// INVALIDPARAMETERVALUE_USERDATASIZEEXCEEDED = "InvalidParameterValue.UserDataSizeExceeded" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" +// RESOURCENOTFOUND_LAUNCHCONFIGURATIONIDNOTFOUND = "ResourceNotFound.LaunchConfigurationIdNotFound" func (c *Client) ModifyLaunchConfigurationAttributes(request *ModifyLaunchConfigurationAttributesRequest) (response *ModifyLaunchConfigurationAttributesResponse, err error) { if request == nil { request = NewModifyLaunchConfigurationAttributesRequest() @@ -2771,33 +2782,32 @@ func (c *Client) ModifyLaunchConfigurationAttributes(request *ModifyLaunchConfig // ModifyLaunchConfigurationAttributes // 本接口(ModifyLaunchConfigurationAttributes)用于修改启动配置部分属性。 // -// -// // * 修改启动配置后,已经使用该启动配置扩容的存量实例不会发生变更,此后使用该启动配置的新增实例会按照新的配置进行扩容。 // // * 本接口支持修改部分简单类型。 // // 可能返回的错误码: -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_HOSTNAMEUNAVAILABLE = "InvalidParameter.HostNameUnavailable" -// INVALIDPARAMETER_INVALIDCOMBINATION = "InvalidParameter.InvalidCombination" -// INVALIDPARAMETER_PARAMETERMUSTBEDELETED = "InvalidParameter.ParameterMustBeDeleted" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CVMCONFIGURATIONERROR = "InvalidParameterValue.CvmConfigurationError" -// INVALIDPARAMETERVALUE_HOSTNAMEILLEGAL = "InvalidParameterValue.HostNameIllegal" -// INVALIDPARAMETERVALUE_IMAGENOTFOUND = "InvalidParameterValue.ImageNotFound" -// INVALIDPARAMETERVALUE_INSTANCENAMEILLEGAL = "InvalidParameterValue.InstanceNameIllegal" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTED = "InvalidParameterValue.InstanceTypeNotSupported" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" -// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" -// INVALIDPARAMETERVALUE_NOTSTRINGTYPEFLOAT = "InvalidParameterValue.NotStringTypeFloat" -// INVALIDPARAMETERVALUE_USERDATAFORMATERROR = "InvalidParameterValue.UserDataFormatError" -// INVALIDPARAMETERVALUE_USERDATASIZEEXCEEDED = "InvalidParameterValue.UserDataSizeExceeded" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" -// RESOURCENOTFOUND_LAUNCHCONFIGURATIONIDNOTFOUND = "ResourceNotFound.LaunchConfigurationIdNotFound" +// +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_HOSTNAMEUNAVAILABLE = "InvalidParameter.HostNameUnavailable" +// INVALIDPARAMETER_INVALIDCOMBINATION = "InvalidParameter.InvalidCombination" +// INVALIDPARAMETER_PARAMETERMUSTBEDELETED = "InvalidParameter.ParameterMustBeDeleted" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CVMCONFIGURATIONERROR = "InvalidParameterValue.CvmConfigurationError" +// INVALIDPARAMETERVALUE_HOSTNAMEILLEGAL = "InvalidParameterValue.HostNameIllegal" +// INVALIDPARAMETERVALUE_IMAGENOTFOUND = "InvalidParameterValue.ImageNotFound" +// INVALIDPARAMETERVALUE_INSTANCENAMEILLEGAL = "InvalidParameterValue.InstanceNameIllegal" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTED = "InvalidParameterValue.InstanceTypeNotSupported" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" +// INVALIDPARAMETERVALUE_NOTSTRINGTYPEFLOAT = "InvalidParameterValue.NotStringTypeFloat" +// INVALIDPARAMETERVALUE_USERDATAFORMATERROR = "InvalidParameterValue.UserDataFormatError" +// INVALIDPARAMETERVALUE_USERDATASIZEEXCEEDED = "InvalidParameterValue.UserDataSizeExceeded" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" +// RESOURCENOTFOUND_LAUNCHCONFIGURATIONIDNOTFOUND = "ResourceNotFound.LaunchConfigurationIdNotFound" func (c *Client) ModifyLaunchConfigurationAttributesWithContext(ctx context.Context, request *ModifyLaunchConfigurationAttributesRequest) (response *ModifyLaunchConfigurationAttributesResponse, err error) { if request == nil { request = NewModifyLaunchConfigurationAttributesRequest() @@ -2829,27 +2839,28 @@ func NewModifyLoadBalancerTargetAttributesResponse() (response *ModifyLoadBalanc // 本接口(ModifyLoadBalancerTargetAttributes)用于修改伸缩组内负载均衡器的目标规则属性。 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" -// INVALIDPARAMETER_LOADBALANCERNOTINAUTOSCALINGGROUP = "InvalidParameter.LoadBalancerNotInAutoScalingGroup" -// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" -// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" -// INVALIDPARAMETERVALUE_TARGETPORTDUPLICATED = "InvalidParameterValue.TargetPortDuplicated" -// LIMITEXCEEDED_AFTERATTACHLBLIMITEXCEEDED = "LimitExceeded.AfterAttachLbLimitExceeded" -// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" -// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" -// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" -// RESOURCEUNAVAILABLE_LBPROJECTINCONSISTENT = "ResourceUnavailable.LbProjectInconsistent" -// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" +// INVALIDPARAMETER_LOADBALANCERNOTINAUTOSCALINGGROUP = "InvalidParameter.LoadBalancerNotInAutoScalingGroup" +// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" +// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" +// INVALIDPARAMETERVALUE_TARGETPORTDUPLICATED = "InvalidParameterValue.TargetPortDuplicated" +// LIMITEXCEEDED_AFTERATTACHLBLIMITEXCEEDED = "LimitExceeded.AfterAttachLbLimitExceeded" +// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" +// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" +// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" +// RESOURCEUNAVAILABLE_LBPROJECTINCONSISTENT = "ResourceUnavailable.LbProjectInconsistent" +// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) ModifyLoadBalancerTargetAttributes(request *ModifyLoadBalancerTargetAttributesRequest) (response *ModifyLoadBalancerTargetAttributesResponse, err error) { if request == nil { request = NewModifyLoadBalancerTargetAttributesRequest() @@ -2864,27 +2875,28 @@ func (c *Client) ModifyLoadBalancerTargetAttributes(request *ModifyLoadBalancerT // 本接口(ModifyLoadBalancerTargetAttributes)用于修改伸缩组内负载均衡器的目标规则属性。 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" -// INVALIDPARAMETER_LOADBALANCERNOTINAUTOSCALINGGROUP = "InvalidParameter.LoadBalancerNotInAutoScalingGroup" -// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" -// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" -// INVALIDPARAMETERVALUE_TARGETPORTDUPLICATED = "InvalidParameterValue.TargetPortDuplicated" -// LIMITEXCEEDED_AFTERATTACHLBLIMITEXCEEDED = "LimitExceeded.AfterAttachLbLimitExceeded" -// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" -// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" -// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" -// RESOURCEUNAVAILABLE_LBPROJECTINCONSISTENT = "ResourceUnavailable.LbProjectInconsistent" -// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" +// INVALIDPARAMETER_LOADBALANCERNOTINAUTOSCALINGGROUP = "InvalidParameter.LoadBalancerNotInAutoScalingGroup" +// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" +// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" +// INVALIDPARAMETERVALUE_TARGETPORTDUPLICATED = "InvalidParameterValue.TargetPortDuplicated" +// LIMITEXCEEDED_AFTERATTACHLBLIMITEXCEEDED = "LimitExceeded.AfterAttachLbLimitExceeded" +// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" +// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" +// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" +// RESOURCEUNAVAILABLE_LBPROJECTINCONSISTENT = "ResourceUnavailable.LbProjectInconsistent" +// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) ModifyLoadBalancerTargetAttributesWithContext(ctx context.Context, request *ModifyLoadBalancerTargetAttributesRequest) (response *ModifyLoadBalancerTargetAttributesResponse, err error) { if request == nil { request = NewModifyLoadBalancerTargetAttributesRequest() @@ -2915,8 +2927,6 @@ func NewModifyLoadBalancersResponse() (response *ModifyLoadBalancersResponse) { // ModifyLoadBalancers // 本接口(ModifyLoadBalancers)用于修改伸缩组的负载均衡器。 // -// -// // * 本接口用于为伸缩组指定新的负载均衡器配置,采用`完全覆盖`风格,无论之前配置如何,`统一按照接口参数配置为新的负载均衡器`。 // // * 如果要为伸缩组清空负载均衡器,则在调用本接口时仅指定伸缩组ID,不指定具体负载均衡器。 @@ -2924,25 +2934,26 @@ func NewModifyLoadBalancersResponse() (response *ModifyLoadBalancersResponse) { // * 本接口会立即修改伸缩组的负载均衡器,并生成一个伸缩活动,异步修改存量实例的负载均衡器。 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" -// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" -// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" -// INVALIDPARAMETERVALUE_LBPROJECTINCONSISTENT = "InvalidParameterValue.LbProjectInconsistent" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" -// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" -// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" -// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" +// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" +// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" +// INVALIDPARAMETERVALUE_LBPROJECTINCONSISTENT = "InvalidParameterValue.LbProjectInconsistent" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" +// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" +// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" +// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) ModifyLoadBalancers(request *ModifyLoadBalancersRequest) (response *ModifyLoadBalancersResponse, err error) { if request == nil { request = NewModifyLoadBalancersRequest() @@ -2956,8 +2967,6 @@ func (c *Client) ModifyLoadBalancers(request *ModifyLoadBalancersRequest) (respo // ModifyLoadBalancers // 本接口(ModifyLoadBalancers)用于修改伸缩组的负载均衡器。 // -// -// // * 本接口用于为伸缩组指定新的负载均衡器配置,采用`完全覆盖`风格,无论之前配置如何,`统一按照接口参数配置为新的负载均衡器`。 // // * 如果要为伸缩组清空负载均衡器,则在调用本接口时仅指定伸缩组ID,不指定具体负载均衡器。 @@ -2965,25 +2974,26 @@ func (c *Client) ModifyLoadBalancers(request *ModifyLoadBalancersRequest) (respo // * 本接口会立即修改伸缩组的负载均衡器,并生成一个伸缩活动,异步修改存量实例的负载均衡器。 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" -// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" -// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" -// INVALIDPARAMETERVALUE_LBPROJECTINCONSISTENT = "InvalidParameterValue.LbProjectInconsistent" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" -// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" -// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" -// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_INSCENARIO = "InvalidParameter.InScenario" +// INVALIDPARAMETERVALUE_CLASSICLB = "InvalidParameterValue.ClassicLb" +// INVALIDPARAMETERVALUE_FORWARDLB = "InvalidParameterValue.ForwardLb" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDCLBREGION = "InvalidParameterValue.InvalidClbRegion" +// INVALIDPARAMETERVALUE_LBPROJECTINCONSISTENT = "InvalidParameterValue.LbProjectInconsistent" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// MISSINGPARAMETER_INSCENARIO = "MissingParameter.InScenario" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_LISTENERNOTFOUND = "ResourceNotFound.ListenerNotFound" +// RESOURCENOTFOUND_LOADBALANCERNOTFOUND = "ResourceNotFound.LoadBalancerNotFound" +// RESOURCENOTFOUND_LOCATIONNOTFOUND = "ResourceNotFound.LocationNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_LBBACKENDREGIONINCONSISTENT = "ResourceUnavailable.LbBackendRegionInconsistent" +// RESOURCEUNAVAILABLE_LBVPCINCONSISTENT = "ResourceUnavailable.LbVpcInconsistent" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) ModifyLoadBalancersWithContext(ctx context.Context, request *ModifyLoadBalancersRequest) (response *ModifyLoadBalancersResponse, err error) { if request == nil { request = NewModifyLoadBalancersRequest() @@ -3017,15 +3027,16 @@ func NewModifyNotificationConfigurationResponse() (response *ModifyNotificationC // * 通知的接收端类型不支持修改。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_CONFLICTNOTIFICATIONTARGET = "InvalidParameterValue.ConflictNotificationTarget" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGNOTIFICATIONID = "InvalidParameterValue.InvalidAutoScalingNotificationId" -// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" -// INVALIDPARAMETERVALUE_USERGROUPIDNOTFOUND = "InvalidParameterValue.UserGroupIdNotFound" -// RESOURCENOTFOUND_AUTOSCALINGNOTIFICATIONNOTFOUND = "ResourceNotFound.AutoScalingNotificationNotFound" -// RESOURCENOTFOUND_CMQQUEUENOTFOUND = "ResourceNotFound.CmqQueueNotFound" -// RESOURCENOTFOUND_TDMQCMQQUEUENOTFOUND = "ResourceNotFound.TDMQCMQQueueNotFound" -// RESOURCENOTFOUND_TDMQCMQTOPICNOTFOUND = "ResourceNotFound.TDMQCMQTopicNotFound" -// RESOURCEUNAVAILABLE_TDMQCMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.TDMQCMQTopicHasNoSubscriber" +// +// INVALIDPARAMETERVALUE_CONFLICTNOTIFICATIONTARGET = "InvalidParameterValue.ConflictNotificationTarget" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGNOTIFICATIONID = "InvalidParameterValue.InvalidAutoScalingNotificationId" +// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" +// INVALIDPARAMETERVALUE_USERGROUPIDNOTFOUND = "InvalidParameterValue.UserGroupIdNotFound" +// RESOURCENOTFOUND_AUTOSCALINGNOTIFICATIONNOTFOUND = "ResourceNotFound.AutoScalingNotificationNotFound" +// RESOURCENOTFOUND_CMQQUEUENOTFOUND = "ResourceNotFound.CmqQueueNotFound" +// RESOURCENOTFOUND_TDMQCMQQUEUENOTFOUND = "ResourceNotFound.TDMQCMQQueueNotFound" +// RESOURCENOTFOUND_TDMQCMQTOPICNOTFOUND = "ResourceNotFound.TDMQCMQTopicNotFound" +// RESOURCEUNAVAILABLE_TDMQCMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.TDMQCMQTopicHasNoSubscriber" func (c *Client) ModifyNotificationConfiguration(request *ModifyNotificationConfigurationRequest) (response *ModifyNotificationConfigurationResponse, err error) { if request == nil { request = NewModifyNotificationConfigurationRequest() @@ -3042,15 +3053,16 @@ func (c *Client) ModifyNotificationConfiguration(request *ModifyNotificationConf // * 通知的接收端类型不支持修改。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_CONFLICTNOTIFICATIONTARGET = "InvalidParameterValue.ConflictNotificationTarget" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGNOTIFICATIONID = "InvalidParameterValue.InvalidAutoScalingNotificationId" -// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" -// INVALIDPARAMETERVALUE_USERGROUPIDNOTFOUND = "InvalidParameterValue.UserGroupIdNotFound" -// RESOURCENOTFOUND_AUTOSCALINGNOTIFICATIONNOTFOUND = "ResourceNotFound.AutoScalingNotificationNotFound" -// RESOURCENOTFOUND_CMQQUEUENOTFOUND = "ResourceNotFound.CmqQueueNotFound" -// RESOURCENOTFOUND_TDMQCMQQUEUENOTFOUND = "ResourceNotFound.TDMQCMQQueueNotFound" -// RESOURCENOTFOUND_TDMQCMQTOPICNOTFOUND = "ResourceNotFound.TDMQCMQTopicNotFound" -// RESOURCEUNAVAILABLE_TDMQCMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.TDMQCMQTopicHasNoSubscriber" +// +// INVALIDPARAMETERVALUE_CONFLICTNOTIFICATIONTARGET = "InvalidParameterValue.ConflictNotificationTarget" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGNOTIFICATIONID = "InvalidParameterValue.InvalidAutoScalingNotificationId" +// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" +// INVALIDPARAMETERVALUE_USERGROUPIDNOTFOUND = "InvalidParameterValue.UserGroupIdNotFound" +// RESOURCENOTFOUND_AUTOSCALINGNOTIFICATIONNOTFOUND = "ResourceNotFound.AutoScalingNotificationNotFound" +// RESOURCENOTFOUND_CMQQUEUENOTFOUND = "ResourceNotFound.CmqQueueNotFound" +// RESOURCENOTFOUND_TDMQCMQQUEUENOTFOUND = "ResourceNotFound.TDMQCMQQueueNotFound" +// RESOURCENOTFOUND_TDMQCMQTOPICNOTFOUND = "ResourceNotFound.TDMQCMQTopicNotFound" +// RESOURCEUNAVAILABLE_TDMQCMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.TDMQCMQTopicHasNoSubscriber" func (c *Client) ModifyNotificationConfigurationWithContext(ctx context.Context, request *ModifyNotificationConfigurationRequest) (response *ModifyNotificationConfigurationResponse, err error) { if request == nil { request = NewModifyNotificationConfigurationRequest() @@ -3082,12 +3094,13 @@ func NewModifyScalingPolicyResponse() (response *ModifyScalingPolicyResponse) { // 本接口(ModifyScalingPolicy)用于修改告警触发策略。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" -// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SCALINGPOLICYNAMEDUPLICATE = "InvalidParameterValue.ScalingPolicyNameDuplicate" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_SCALINGPOLICYNOTFOUND = "ResourceNotFound.ScalingPolicyNotFound" +// +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" +// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SCALINGPOLICYNAMEDUPLICATE = "InvalidParameterValue.ScalingPolicyNameDuplicate" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_SCALINGPOLICYNOTFOUND = "ResourceNotFound.ScalingPolicyNotFound" func (c *Client) ModifyScalingPolicy(request *ModifyScalingPolicyRequest) (response *ModifyScalingPolicyResponse, err error) { if request == nil { request = NewModifyScalingPolicyRequest() @@ -3102,12 +3115,13 @@ func (c *Client) ModifyScalingPolicy(request *ModifyScalingPolicyRequest) (respo // 本接口(ModifyScalingPolicy)用于修改告警触发策略。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" -// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SCALINGPOLICYNAMEDUPLICATE = "InvalidParameterValue.ScalingPolicyNameDuplicate" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_SCALINGPOLICYNOTFOUND = "ResourceNotFound.ScalingPolicyNotFound" +// +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGPOLICYID = "InvalidParameterValue.InvalidAutoScalingPolicyId" +// INVALIDPARAMETERVALUE_INVALIDNOTIFICATIONUSERGROUPID = "InvalidParameterValue.InvalidNotificationUserGroupId" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SCALINGPOLICYNAMEDUPLICATE = "InvalidParameterValue.ScalingPolicyNameDuplicate" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_SCALINGPOLICYNOTFOUND = "ResourceNotFound.ScalingPolicyNotFound" func (c *Client) ModifyScalingPolicyWithContext(ctx context.Context, request *ModifyScalingPolicyRequest) (response *ModifyScalingPolicyResponse, err error) { if request == nil { request = NewModifyScalingPolicyRequest() @@ -3139,21 +3153,22 @@ func NewModifyScheduledActionResponse() (response *ModifyScheduledActionResponse // 本接口(ModifyScheduledAction)用于修改定时任务。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_CRONEXPRESSIONILLEGAL = "InvalidParameterValue.CronExpressionIllegal" -// INVALIDPARAMETERVALUE_ENDTIMEBEFORESTARTTIME = "InvalidParameterValue.EndTimeBeforeStartTime" -// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONID = "InvalidParameterValue.InvalidScheduledActionId" -// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONNAMEINCLUDEILLEGALCHAR = "InvalidParameterValue.InvalidScheduledActionNameIncludeIllegalChar" -// INVALIDPARAMETERVALUE_SCHEDULEDACTIONNAMEDUPLICATE = "InvalidParameterValue.ScheduledActionNameDuplicate" -// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" -// INVALIDPARAMETERVALUE_STARTTIMEBEFORECURRENTTIME = "InvalidParameterValue.StartTimeBeforeCurrentTime" -// INVALIDPARAMETERVALUE_TIMEFORMAT = "InvalidParameterValue.TimeFormat" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" -// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" -// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" -// LIMITEXCEEDED_SCHEDULEDACTIONLIMITEXCEEDED = "LimitExceeded.ScheduledActionLimitExceeded" -// RESOURCENOTFOUND_SCHEDULEDACTIONNOTFOUND = "ResourceNotFound.ScheduledActionNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_CRONEXPRESSIONILLEGAL = "InvalidParameterValue.CronExpressionIllegal" +// INVALIDPARAMETERVALUE_ENDTIMEBEFORESTARTTIME = "InvalidParameterValue.EndTimeBeforeStartTime" +// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONID = "InvalidParameterValue.InvalidScheduledActionId" +// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONNAMEINCLUDEILLEGALCHAR = "InvalidParameterValue.InvalidScheduledActionNameIncludeIllegalChar" +// INVALIDPARAMETERVALUE_SCHEDULEDACTIONNAMEDUPLICATE = "InvalidParameterValue.ScheduledActionNameDuplicate" +// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" +// INVALIDPARAMETERVALUE_STARTTIMEBEFORECURRENTTIME = "InvalidParameterValue.StartTimeBeforeCurrentTime" +// INVALIDPARAMETERVALUE_TIMEFORMAT = "InvalidParameterValue.TimeFormat" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" +// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" +// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" +// LIMITEXCEEDED_SCHEDULEDACTIONLIMITEXCEEDED = "LimitExceeded.ScheduledActionLimitExceeded" +// RESOURCENOTFOUND_SCHEDULEDACTIONNOTFOUND = "ResourceNotFound.ScheduledActionNotFound" func (c *Client) ModifyScheduledAction(request *ModifyScheduledActionRequest) (response *ModifyScheduledActionResponse, err error) { if request == nil { request = NewModifyScheduledActionRequest() @@ -3168,21 +3183,22 @@ func (c *Client) ModifyScheduledAction(request *ModifyScheduledActionRequest) (r // 本接口(ModifyScheduledAction)用于修改定时任务。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_CRONEXPRESSIONILLEGAL = "InvalidParameterValue.CronExpressionIllegal" -// INVALIDPARAMETERVALUE_ENDTIMEBEFORESTARTTIME = "InvalidParameterValue.EndTimeBeforeStartTime" -// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONID = "InvalidParameterValue.InvalidScheduledActionId" -// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONNAMEINCLUDEILLEGALCHAR = "InvalidParameterValue.InvalidScheduledActionNameIncludeIllegalChar" -// INVALIDPARAMETERVALUE_SCHEDULEDACTIONNAMEDUPLICATE = "InvalidParameterValue.ScheduledActionNameDuplicate" -// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" -// INVALIDPARAMETERVALUE_STARTTIMEBEFORECURRENTTIME = "InvalidParameterValue.StartTimeBeforeCurrentTime" -// INVALIDPARAMETERVALUE_TIMEFORMAT = "InvalidParameterValue.TimeFormat" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" -// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" -// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" -// LIMITEXCEEDED_SCHEDULEDACTIONLIMITEXCEEDED = "LimitExceeded.ScheduledActionLimitExceeded" -// RESOURCENOTFOUND_SCHEDULEDACTIONNOTFOUND = "ResourceNotFound.ScheduledActionNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_CRONEXPRESSIONILLEGAL = "InvalidParameterValue.CronExpressionIllegal" +// INVALIDPARAMETERVALUE_ENDTIMEBEFORESTARTTIME = "InvalidParameterValue.EndTimeBeforeStartTime" +// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONID = "InvalidParameterValue.InvalidScheduledActionId" +// INVALIDPARAMETERVALUE_INVALIDSCHEDULEDACTIONNAMEINCLUDEILLEGALCHAR = "InvalidParameterValue.InvalidScheduledActionNameIncludeIllegalChar" +// INVALIDPARAMETERVALUE_SCHEDULEDACTIONNAMEDUPLICATE = "InvalidParameterValue.ScheduledActionNameDuplicate" +// INVALIDPARAMETERVALUE_SIZE = "InvalidParameterValue.Size" +// INVALIDPARAMETERVALUE_STARTTIMEBEFORECURRENTTIME = "InvalidParameterValue.StartTimeBeforeCurrentTime" +// INVALIDPARAMETERVALUE_TIMEFORMAT = "InvalidParameterValue.TimeFormat" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" +// LIMITEXCEEDED_MAXSIZELIMITEXCEEDED = "LimitExceeded.MaxSizeLimitExceeded" +// LIMITEXCEEDED_MINSIZELIMITEXCEEDED = "LimitExceeded.MinSizeLimitExceeded" +// LIMITEXCEEDED_SCHEDULEDACTIONLIMITEXCEEDED = "LimitExceeded.ScheduledActionLimitExceeded" +// RESOURCENOTFOUND_SCHEDULEDACTIONNOTFOUND = "ResourceNotFound.ScheduledActionNotFound" func (c *Client) ModifyScheduledActionWithContext(ctx context.Context, request *ModifyScheduledActionRequest) (response *ModifyScheduledActionResponse, err error) { if request == nil { request = NewModifyScheduledActionRequest() @@ -3214,7 +3230,8 @@ func NewPreviewPaiDomainNameResponse() (response *PreviewPaiDomainNameResponse) // 本接口(PreviewPaiDomainName)用于预览PAI实例域名。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDPAIDOMAINNAMETYPE = "InvalidParameterValue.InvalidPaiDomainNameType" +// +// INVALIDPARAMETERVALUE_INVALIDPAIDOMAINNAMETYPE = "InvalidParameterValue.InvalidPaiDomainNameType" func (c *Client) PreviewPaiDomainName(request *PreviewPaiDomainNameRequest) (response *PreviewPaiDomainNameResponse, err error) { if request == nil { request = NewPreviewPaiDomainNameRequest() @@ -3229,7 +3246,8 @@ func (c *Client) PreviewPaiDomainName(request *PreviewPaiDomainNameRequest) (res // 本接口(PreviewPaiDomainName)用于预览PAI实例域名。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDPAIDOMAINNAMETYPE = "InvalidParameterValue.InvalidPaiDomainNameType" +// +// INVALIDPARAMETERVALUE_INVALIDPAIDOMAINNAMETYPE = "InvalidParameterValue.InvalidPaiDomainNameType" func (c *Client) PreviewPaiDomainNameWithContext(ctx context.Context, request *PreviewPaiDomainNameRequest) (response *PreviewPaiDomainNameResponse, err error) { if request == nil { request = NewPreviewPaiDomainNameRequest() @@ -3267,16 +3285,17 @@ func NewRemoveInstancesResponse() (response *RemoveInstancesResponse) { // * 对于伸缩组配置的 CLB,实例在离开伸缩组时,AS 会进行解挂载动作 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" -// RESOURCEINSUFFICIENT_INSERVICEINSTANCEBELOWMINSIZE = "ResourceInsufficient.InServiceInstanceBelowMinSize" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_INSTANCEINOPERATION = "ResourceUnavailable.InstanceInOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" +// RESOURCEINSUFFICIENT_INSERVICEINSTANCEBELOWMINSIZE = "ResourceInsufficient.InServiceInstanceBelowMinSize" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_INSTANCEINOPERATION = "ResourceUnavailable.InstanceInOperation" func (c *Client) RemoveInstances(request *RemoveInstancesRequest) (response *RemoveInstancesResponse, err error) { if request == nil { request = NewRemoveInstancesRequest() @@ -3297,16 +3316,17 @@ func (c *Client) RemoveInstances(request *RemoveInstancesRequest) (response *Rem // * 对于伸缩组配置的 CLB,实例在离开伸缩组时,AS 会进行解挂载动作 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" -// RESOURCEINSUFFICIENT_INSERVICEINSTANCEBELOWMINSIZE = "ResourceInsufficient.InServiceInstanceBelowMinSize" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_INSTANCEINOPERATION = "ResourceUnavailable.InstanceInOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" +// RESOURCEINSUFFICIENT_INSERVICEINSTANCEBELOWMINSIZE = "ResourceInsufficient.InServiceInstanceBelowMinSize" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_INSTANCEINOPERATION = "ResourceUnavailable.InstanceInOperation" func (c *Client) RemoveInstancesWithContext(ctx context.Context, request *RemoveInstancesRequest) (response *RemoveInstancesResponse, err error) { if request == nil { request = NewRemoveInstancesRequest() @@ -3348,12 +3368,13 @@ func NewScaleInInstancesResponse() (response *ScaleInInstancesResponse) { // * 缩容如果失败或者部分成功,最后期望实例数只会扣减实际缩容成功的实例数量 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" func (c *Client) ScaleInInstances(request *ScaleInInstancesRequest) (response *ScaleInInstancesResponse, err error) { if request == nil { request = NewScaleInInstancesRequest() @@ -3378,12 +3399,13 @@ func (c *Client) ScaleInInstances(request *ScaleInInstancesRequest) (response *S // * 缩容如果失败或者部分成功,最后期望实例数只会扣减实际缩容成功的实例数量 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" func (c *Client) ScaleInInstancesWithContext(ctx context.Context, request *ScaleInInstancesRequest) (response *ScaleInInstancesResponse, err error) { if request == nil { request = NewScaleInInstancesRequest() @@ -3421,12 +3443,13 @@ func NewScaleOutInstancesResponse() (response *ScaleOutInstancesResponse) { // * 扩容如果失败或者部分成功,最后期望实例数只会增加实际成功的实例数量 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" -// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPABOVEMAXSIZE = "ResourceInsufficient.AutoScalingGroupAboveMaxSize" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" +// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPABOVEMAXSIZE = "ResourceInsufficient.AutoScalingGroupAboveMaxSize" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" func (c *Client) ScaleOutInstances(request *ScaleOutInstancesRequest) (response *ScaleOutInstancesResponse, err error) { if request == nil { request = NewScaleOutInstancesRequest() @@ -3447,12 +3470,13 @@ func (c *Client) ScaleOutInstances(request *ScaleOutInstancesRequest) (response // * 扩容如果失败或者部分成功,最后期望实例数只会增加实际成功的实例数量 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" -// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPABOVEMAXSIZE = "ResourceInsufficient.AutoScalingGroupAboveMaxSize" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// LIMITEXCEEDED_DESIREDCAPACITYLIMITEXCEEDED = "LimitExceeded.DesiredCapacityLimitExceeded" +// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPABOVEMAXSIZE = "ResourceInsufficient.AutoScalingGroupAboveMaxSize" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" func (c *Client) ScaleOutInstancesWithContext(ctx context.Context, request *ScaleOutInstancesRequest) (response *ScaleOutInstancesResponse, err error) { if request == nil { request = NewScaleOutInstancesRequest() @@ -3486,10 +3510,11 @@ func NewSetInstancesProtectionResponse() (response *SetInstancesProtectionRespon // 实例设置保护之后,当发生不健康替换、报警策略、期望值变更等触发缩容时,将不对此实例缩容操作。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" +// +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" func (c *Client) SetInstancesProtection(request *SetInstancesProtectionRequest) (response *SetInstancesProtectionResponse, err error) { if request == nil { request = NewSetInstancesProtectionRequest() @@ -3506,10 +3531,11 @@ func (c *Client) SetInstancesProtection(request *SetInstancesProtectionRequest) // 实例设置保护之后,当发生不健康替换、报警策略、期望值变更等触发缩容时,将不对此实例缩容操作。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" +// +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" func (c *Client) SetInstancesProtectionWithContext(ctx context.Context, request *SetInstancesProtectionRequest) (response *SetInstancesProtectionResponse, err error) { if request == nil { request = NewSetInstancesProtectionRequest() @@ -3545,15 +3571,16 @@ func NewStartAutoScalingInstancesResponse() (response *StartAutoScalingInstances // * 本接口支持批量操作,每次请求开机实例的上限为100 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPABOVEMAXSIZE = "ResourceInsufficient.AutoScalingGroupAboveMaxSize" -// RESOURCEINSUFFICIENT_INSERVICEINSTANCEABOVEMAXSIZE = "ResourceInsufficient.InServiceInstanceAboveMaxSize" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPABOVEMAXSIZE = "ResourceInsufficient.AutoScalingGroupAboveMaxSize" +// RESOURCEINSUFFICIENT_INSERVICEINSTANCEABOVEMAXSIZE = "ResourceInsufficient.InServiceInstanceAboveMaxSize" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) StartAutoScalingInstances(request *StartAutoScalingInstancesRequest) (response *StartAutoScalingInstancesResponse, err error) { if request == nil { request = NewStartAutoScalingInstancesRequest() @@ -3572,15 +3599,16 @@ func (c *Client) StartAutoScalingInstances(request *StartAutoScalingInstancesReq // * 本接口支持批量操作,每次请求开机实例的上限为100 // // 可能返回的错误码: -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPABOVEMAXSIZE = "ResourceInsufficient.AutoScalingGroupAboveMaxSize" -// RESOURCEINSUFFICIENT_INSERVICEINSTANCEABOVEMAXSIZE = "ResourceInsufficient.InServiceInstanceAboveMaxSize" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPABOVEMAXSIZE = "ResourceInsufficient.AutoScalingGroupAboveMaxSize" +// RESOURCEINSUFFICIENT_INSERVICEINSTANCEABOVEMAXSIZE = "ResourceInsufficient.InServiceInstanceAboveMaxSize" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) StartAutoScalingInstancesWithContext(ctx context.Context, request *StartAutoScalingInstancesRequest) (response *StartAutoScalingInstancesResponse, err error) { if request == nil { request = NewStartAutoScalingInstancesRequest() @@ -3620,19 +3648,20 @@ func NewStopAutoScalingInstancesResponse() (response *StopAutoScalingInstancesRe // * 本接口支持批量操作,每次请求关机实例的上限为100 // // 可能返回的错误码: -// CALLCVMERROR = "CallCvmError" -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" -// RESOURCEINSUFFICIENT_INSERVICEINSTANCEBELOWMINSIZE = "ResourceInsufficient.InServiceInstanceBelowMinSize" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_INSTANCEINOPERATION = "ResourceUnavailable.InstanceInOperation" -// RESOURCEUNAVAILABLE_INSTANCENOTSUPPORTSTOPCHARGING = "ResourceUnavailable.InstanceNotSupportStopCharging" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// CALLCVMERROR = "CallCvmError" +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" +// RESOURCEINSUFFICIENT_INSERVICEINSTANCEBELOWMINSIZE = "ResourceInsufficient.InServiceInstanceBelowMinSize" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_INSTANCEINOPERATION = "ResourceUnavailable.InstanceInOperation" +// RESOURCEUNAVAILABLE_INSTANCENOTSUPPORTSTOPCHARGING = "ResourceUnavailable.InstanceNotSupportStopCharging" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) StopAutoScalingInstances(request *StopAutoScalingInstancesRequest) (response *StopAutoScalingInstancesResponse, err error) { if request == nil { request = NewStopAutoScalingInstancesRequest() @@ -3655,19 +3684,20 @@ func (c *Client) StopAutoScalingInstances(request *StopAutoScalingInstancesReque // * 本接口支持批量操作,每次请求关机实例的上限为100 // // 可能返回的错误码: -// CALLCVMERROR = "CallCvmError" -// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" -// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" -// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" -// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" -// RESOURCEINSUFFICIENT_INSERVICEINSTANCEBELOWMINSIZE = "ResourceInsufficient.InServiceInstanceBelowMinSize" -// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" -// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" -// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" -// RESOURCEUNAVAILABLE_INSTANCEINOPERATION = "ResourceUnavailable.InstanceInOperation" -// RESOURCEUNAVAILABLE_INSTANCENOTSUPPORTSTOPCHARGING = "ResourceUnavailable.InstanceNotSupportStopCharging" -// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" +// +// CALLCVMERROR = "CallCvmError" +// FAILEDOPERATION_NOACTIVITYTOGENERATE = "FailedOperation.NoActivityToGenerate" +// INTERNALERROR_REQUESTERROR = "InternalError.RequestError" +// INVALIDPARAMETERVALUE_INVALIDAUTOSCALINGGROUPID = "InvalidParameterValue.InvalidAutoScalingGroupId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEID = "InvalidParameterValue.InvalidInstanceId" +// RESOURCEINSUFFICIENT_AUTOSCALINGGROUPBELOWMINSIZE = "ResourceInsufficient.AutoScalingGroupBelowMinSize" +// RESOURCEINSUFFICIENT_INSERVICEINSTANCEBELOWMINSIZE = "ResourceInsufficient.InServiceInstanceBelowMinSize" +// RESOURCENOTFOUND_AUTOSCALINGGROUPNOTFOUND = "ResourceNotFound.AutoScalingGroupNotFound" +// RESOURCENOTFOUND_INSTANCESNOTINAUTOSCALINGGROUP = "ResourceNotFound.InstancesNotInAutoScalingGroup" +// RESOURCEUNAVAILABLE_AUTOSCALINGGROUPINACTIVITY = "ResourceUnavailable.AutoScalingGroupInActivity" +// RESOURCEUNAVAILABLE_INSTANCEINOPERATION = "ResourceUnavailable.InstanceInOperation" +// RESOURCEUNAVAILABLE_INSTANCENOTSUPPORTSTOPCHARGING = "ResourceUnavailable.InstanceNotSupportStopCharging" +// RESOURCEUNAVAILABLE_LOADBALANCERINOPERATION = "ResourceUnavailable.LoadBalancerInOperation" func (c *Client) StopAutoScalingInstancesWithContext(ctx context.Context, request *StopAutoScalingInstancesRequest) (response *StopAutoScalingInstancesResponse, err error) { if request == nil { request = NewStopAutoScalingInstancesRequest() @@ -3698,36 +3728,35 @@ func NewUpgradeLaunchConfigurationResponse() (response *UpgradeLaunchConfigurati // UpgradeLaunchConfiguration // 本接口(UpgradeLaunchConfiguration)用于升级启动配置。 // -// -// // * 本接口用于升级启动配置,采用“完全覆盖”风格,无论之前参数如何,统一按照接口参数设置为新的配置。对于非必填字段,不填写则按照默认值赋值。 // // * 升级修改启动配置后,已经使用该启动配置扩容的存量实例不会发生变更,此后使用该启动配置的新增实例会按照新的配置进行扩容。 // // 可能返回的错误码: -// CALLCVMERROR = "CallCvmError" -// INTERNALERROR = "InternalError" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_INVALIDCOMBINATION = "InvalidParameter.InvalidCombination" -// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" -// INVALIDPARAMETER_PARAMETERMUSTBEDELETED = "InvalidParameter.ParameterMustBeDeleted" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CVMCONFIGURATIONERROR = "InvalidParameterValue.CvmConfigurationError" -// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" -// INVALIDPARAMETERVALUE_HOSTNAMEILLEGAL = "InvalidParameterValue.HostNameIllegal" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTED = "InvalidParameterValue.InstanceTypeNotSupported" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" -// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" -// INVALIDPARAMETERVALUE_NOTSTRINGTYPEFLOAT = "InvalidParameterValue.NotStringTypeFloat" -// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_USERDATAFORMATERROR = "InvalidParameterValue.UserDataFormatError" -// INVALIDPARAMETERVALUE_USERDATASIZEEXCEEDED = "InvalidParameterValue.UserDataSizeExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND_LAUNCHCONFIGURATIONIDNOTFOUND = "ResourceNotFound.LaunchConfigurationIdNotFound" +// +// CALLCVMERROR = "CallCvmError" +// INTERNALERROR = "InternalError" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_INVALIDCOMBINATION = "InvalidParameter.InvalidCombination" +// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" +// INVALIDPARAMETER_PARAMETERMUSTBEDELETED = "InvalidParameter.ParameterMustBeDeleted" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CVMCONFIGURATIONERROR = "InvalidParameterValue.CvmConfigurationError" +// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" +// INVALIDPARAMETERVALUE_HOSTNAMEILLEGAL = "InvalidParameterValue.HostNameIllegal" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTED = "InvalidParameterValue.InstanceTypeNotSupported" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" +// INVALIDPARAMETERVALUE_NOTSTRINGTYPEFLOAT = "InvalidParameterValue.NotStringTypeFloat" +// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_USERDATAFORMATERROR = "InvalidParameterValue.UserDataFormatError" +// INVALIDPARAMETERVALUE_USERDATASIZEEXCEEDED = "InvalidParameterValue.UserDataSizeExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND_LAUNCHCONFIGURATIONIDNOTFOUND = "ResourceNotFound.LaunchConfigurationIdNotFound" func (c *Client) UpgradeLaunchConfiguration(request *UpgradeLaunchConfigurationRequest) (response *UpgradeLaunchConfigurationResponse, err error) { if request == nil { request = NewUpgradeLaunchConfigurationRequest() @@ -3741,36 +3770,35 @@ func (c *Client) UpgradeLaunchConfiguration(request *UpgradeLaunchConfigurationR // UpgradeLaunchConfiguration // 本接口(UpgradeLaunchConfiguration)用于升级启动配置。 // -// -// // * 本接口用于升级启动配置,采用“完全覆盖”风格,无论之前参数如何,统一按照接口参数设置为新的配置。对于非必填字段,不填写则按照默认值赋值。 // // * 升级修改启动配置后,已经使用该启动配置扩容的存量实例不会发生变更,此后使用该启动配置的新增实例会按照新的配置进行扩容。 // // 可能返回的错误码: -// CALLCVMERROR = "CallCvmError" -// INTERNALERROR = "InternalError" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETER_INVALIDCOMBINATION = "InvalidParameter.InvalidCombination" -// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" -// INVALIDPARAMETER_PARAMETERMUSTBEDELETED = "InvalidParameter.ParameterMustBeDeleted" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CVMCONFIGURATIONERROR = "InvalidParameterValue.CvmConfigurationError" -// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" -// INVALIDPARAMETERVALUE_HOSTNAMEILLEGAL = "InvalidParameterValue.HostNameIllegal" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTED = "InvalidParameterValue.InstanceTypeNotSupported" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" -// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" -// INVALIDPARAMETERVALUE_NOTSTRINGTYPEFLOAT = "InvalidParameterValue.NotStringTypeFloat" -// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_USERDATAFORMATERROR = "InvalidParameterValue.UserDataFormatError" -// INVALIDPARAMETERVALUE_USERDATASIZEEXCEEDED = "InvalidParameterValue.UserDataSizeExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND_LAUNCHCONFIGURATIONIDNOTFOUND = "ResourceNotFound.LaunchConfigurationIdNotFound" +// +// CALLCVMERROR = "CallCvmError" +// INTERNALERROR = "InternalError" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETER_INVALIDCOMBINATION = "InvalidParameter.InvalidCombination" +// INVALIDPARAMETER_MUSTONEPARAMETER = "InvalidParameter.MustOneParameter" +// INVALIDPARAMETER_PARAMETERMUSTBEDELETED = "InvalidParameter.ParameterMustBeDeleted" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CVMCONFIGURATIONERROR = "InvalidParameterValue.CvmConfigurationError" +// INVALIDPARAMETERVALUE_CVMERROR = "InvalidParameterValue.CvmError" +// INVALIDPARAMETERVALUE_HOSTNAMEILLEGAL = "InvalidParameterValue.HostNameIllegal" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTED = "InvalidParameterValue.InstanceTypeNotSupported" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHCONFIGURATIONID = "InvalidParameterValue.InvalidLaunchConfigurationId" +// INVALIDPARAMETERVALUE_LAUNCHCONFIGURATIONNAMEDUPLICATED = "InvalidParameterValue.LaunchConfigurationNameDuplicated" +// INVALIDPARAMETERVALUE_NOTSTRINGTYPEFLOAT = "InvalidParameterValue.NotStringTypeFloat" +// INVALIDPARAMETERVALUE_PROJECTIDNOTFOUND = "InvalidParameterValue.ProjectIdNotFound" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_USERDATAFORMATERROR = "InvalidParameterValue.UserDataFormatError" +// INVALIDPARAMETERVALUE_USERDATASIZEEXCEEDED = "InvalidParameterValue.UserDataSizeExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND_LAUNCHCONFIGURATIONIDNOTFOUND = "ResourceNotFound.LaunchConfigurationIdNotFound" func (c *Client) UpgradeLaunchConfigurationWithContext(ctx context.Context, request *UpgradeLaunchConfigurationRequest) (response *UpgradeLaunchConfigurationResponse, err error) { if request == nil { request = NewUpgradeLaunchConfigurationRequest() @@ -3801,23 +3829,22 @@ func NewUpgradeLifecycleHookResponse() (response *UpgradeLifecycleHookResponse) // UpgradeLifecycleHook // 本接口(UpgradeLifecycleHook)用于升级生命周期挂钩。 // -// -// // * 本接口用于升级生命周期挂钩,采用“完全覆盖”风格,无论之前参数如何,统一按照接口参数设置为新的配置。对于非必填字段,不填写则按照默认值赋值。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CALLCMQERROR = "InternalError.CallCmqError" -// INTERNALERROR_CALLSTSERROR = "InternalError.CallStsError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" -// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" -// INVALIDPARAMETERVALUE_LIFECYCLEHOOKNAMEDUPLICATED = "InvalidParameterValue.LifecycleHookNameDuplicated" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND_LIFECYCLEHOOKNOTFOUND = "ResourceNotFound.LifecycleHookNotFound" -// RESOURCEUNAVAILABLE_CMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.CmqTopicHasNoSubscriber" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CALLCMQERROR = "InternalError.CallCmqError" +// INTERNALERROR_CALLSTSERROR = "InternalError.CallStsError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" +// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" +// INVALIDPARAMETERVALUE_LIFECYCLEHOOKNAMEDUPLICATED = "InvalidParameterValue.LifecycleHookNameDuplicated" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND_LIFECYCLEHOOKNOTFOUND = "ResourceNotFound.LifecycleHookNotFound" +// RESOURCEUNAVAILABLE_CMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.CmqTopicHasNoSubscriber" func (c *Client) UpgradeLifecycleHook(request *UpgradeLifecycleHookRequest) (response *UpgradeLifecycleHookResponse, err error) { if request == nil { request = NewUpgradeLifecycleHookRequest() @@ -3831,23 +3858,22 @@ func (c *Client) UpgradeLifecycleHook(request *UpgradeLifecycleHookRequest) (res // UpgradeLifecycleHook // 本接口(UpgradeLifecycleHook)用于升级生命周期挂钩。 // -// -// // * 本接口用于升级生命周期挂钩,采用“完全覆盖”风格,无论之前参数如何,统一按照接口参数设置为新的配置。对于非必填字段,不填写则按照默认值赋值。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CALLCMQERROR = "InternalError.CallCmqError" -// INTERNALERROR_CALLSTSERROR = "InternalError.CallStsError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" -// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" -// INVALIDPARAMETERVALUE_LIFECYCLEHOOKNAMEDUPLICATED = "InvalidParameterValue.LifecycleHookNameDuplicated" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND_LIFECYCLEHOOKNOTFOUND = "ResourceNotFound.LifecycleHookNotFound" -// RESOURCEUNAVAILABLE_CMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.CmqTopicHasNoSubscriber" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CALLCMQERROR = "InternalError.CallCmqError" +// INTERNALERROR_CALLSTSERROR = "InternalError.CallStsError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CONFLICT = "InvalidParameter.Conflict" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_FILTER = "InvalidParameterValue.Filter" +// INVALIDPARAMETERVALUE_INVALIDLIFECYCLEHOOKID = "InvalidParameterValue.InvalidLifecycleHookId" +// INVALIDPARAMETERVALUE_LIFECYCLEHOOKNAMEDUPLICATED = "InvalidParameterValue.LifecycleHookNameDuplicated" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND_LIFECYCLEHOOKNOTFOUND = "ResourceNotFound.LifecycleHookNotFound" +// RESOURCEUNAVAILABLE_CMQTOPICHASNOSUBSCRIBER = "ResourceUnavailable.CmqTopicHasNoSubscriber" func (c *Client) UpgradeLifecycleHookWithContext(ctx context.Context, request *UpgradeLifecycleHookRequest) (response *UpgradeLifecycleHookResponse, err error) { if request == nil { request = NewUpgradeLifecycleHookRequest() diff --git a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/circuit_breaker.go b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/circuit_breaker.go index 271166167495..15dffad2ac9d 100644 --- a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/circuit_breaker.go +++ b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/circuit_breaker.go @@ -139,8 +139,9 @@ func defaultRegionBreaker() *circuitBreaker { } // currentState return the current state. -// if in StateClosed and now is over expiry time, it will turn to a new generation. -// if in StateOpen and now is over expiry time, it will turn to StateHalfOpen +// +// if in StateClosed and now is over expiry time, it will turn to a new generation. +// if in StateOpen and now is over expiry time, it will turn to StateHalfOpen func (s *circuitBreaker) currentState(now time.Time) (state, uint64) { switch s.state { case StateClosed: diff --git a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/common_client.go b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/common_client.go index 897542a01839..5ce9549d7ff0 100644 --- a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/common_client.go +++ b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/common_client.go @@ -33,7 +33,6 @@ func NewCommonClient(cred CredentialIface, region string, clientProfile *profile // 2. only TC3-HMAC-SHA256 signature method can be specified. // 3. only POST request method can be specified // 4. the request Must be a CommonRequest and called SetOctetStreamParameters -// func (c *Client) SendOctetStream(request tchttp.Request, response tchttp.Response) (err error) { if c.profile.SignMethod != "TC3-HMAC-SHA256" { return tcerr.NewTencentCloudSDKError("ClientError", "Invalid signature method.", "") diff --git a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/profile_provider.go b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/profile_provider.go index 64a7db95adcf..db27925ece47 100644 --- a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/profile_provider.go +++ b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/profile_provider.go @@ -35,7 +35,7 @@ type ProfileProvider struct { // profile path : // 1. The value of the environment variable TENCENTCLOUD_CREDENTIALS_FILE // 2. linux: ~/.tencentcloud/credentials -// windows: \c:\Users\NAME\.tencentcloud\credentials +// windows: \c:\Users\NAME\.tencentcloud\credentials func DefaultProfileProvider() *ProfileProvider { return &ProfileProvider{} } diff --git a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/provider.go b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/provider.go index 19e0b9afa519..fc8a53884f78 100644 --- a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/provider.go +++ b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/provider.go @@ -27,10 +27,11 @@ var ( // Provider provide credential to build client. // // Now there are four kinds provider: -// EnvProvider : get credential from your Variable environment -// ProfileProvider : get credential from your profile -// CvmRoleProvider : get credential from your cvm role -// RoleArnProvider : get credential from your role arn +// +// EnvProvider : get credential from your Variable environment +// ProfileProvider : get credential from your profile +// CvmRoleProvider : get credential from your cvm role +// RoleArnProvider : get credential from your role arn type Provider interface { // GetCredential get the credential interface GetCredential() (CredentialIface, error) diff --git a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/provider_chain.go b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/provider_chain.go index d4ab6358712e..cedf5eac6db4 100644 --- a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/provider_chain.go +++ b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/provider_chain.go @@ -35,6 +35,7 @@ func NewProviderChain(providers []Provider) Provider { // 1. Environment variable // 2. Profile // 3. CvmRole +// // If you want to customize the search order, please use the function NewProviderChain func DefaultProviderChain() Provider { return NewProviderChain([]Provider{DefaultEnvProvider(), DefaultProfileProvider(), DefaultCvmRoleProvider()}) diff --git a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm/v20170312/client.go b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm/v20170312/client.go index fb0ac8207e5c..a1543aad2c00 100644 --- a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm/v20170312/client.go +++ b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm/v20170312/client.go @@ -68,14 +68,15 @@ func NewAllocateHostsResponse() (response *AllocateHostsResponse) { // * 当HostChargeType为PREPAID时,必须指定HostChargePrepaid参数。 // // 可能返回的错误码: -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" -// INVALIDPERIOD = "InvalidPeriod" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// RESOURCEINSUFFICIENT_ZONESOLDOUTFORSPECIFIEDINSTANCE = "ResourceInsufficient.ZoneSoldOutForSpecifiedInstance" +// +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" +// INVALIDPERIOD = "InvalidPeriod" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// RESOURCEINSUFFICIENT_ZONESOLDOUTFORSPECIFIEDINSTANCE = "ResourceInsufficient.ZoneSoldOutForSpecifiedInstance" func (c *Client) AllocateHosts(request *AllocateHostsRequest) (response *AllocateHostsResponse, err error) { if request == nil { request = NewAllocateHostsRequest() @@ -92,14 +93,15 @@ func (c *Client) AllocateHosts(request *AllocateHostsRequest) (response *Allocat // * 当HostChargeType为PREPAID时,必须指定HostChargePrepaid参数。 // // 可能返回的错误码: -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" -// INVALIDPERIOD = "InvalidPeriod" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// RESOURCEINSUFFICIENT_ZONESOLDOUTFORSPECIFIEDINSTANCE = "ResourceInsufficient.ZoneSoldOutForSpecifiedInstance" +// +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" +// INVALIDPERIOD = "InvalidPeriod" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// RESOURCEINSUFFICIENT_ZONESOLDOUTFORSPECIFIEDINSTANCE = "ResourceInsufficient.ZoneSoldOutForSpecifiedInstance" func (c *Client) AllocateHostsWithContext(ctx context.Context, request *AllocateHostsRequest) (response *AllocateHostsResponse, err error) { if request == nil { request = NewAllocateHostsRequest() @@ -130,8 +132,6 @@ func NewAssociateInstancesKeyPairsResponse() (response *AssociateInstancesKeyPai // AssociateInstancesKeyPairs // 本接口 (AssociateInstancesKeyPairs) 用于将密钥绑定到实例上。 // -// -// // * 将密钥的公钥写入到实例的`SSH`配置当中,用户就可以通过该密钥的私钥来登录实例。 // // * 如果实例原来绑定过密钥,那么原来的密钥将失效。 @@ -141,27 +141,28 @@ func NewAssociateInstancesKeyPairsResponse() (response *AssociateInstancesKeyPai // * 支持批量操作。每次请求批量实例的上限为100。如果批量实例存在不允许操作的实例,操作会以特定错误码返回。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" -// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_KEYPAIRNOTSUPPORTED = "InvalidParameterValue.KeyPairNotSupported" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCEOSWINDOWS = "UnsupportedOperation.InstanceOsWindows" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" +// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_KEYPAIRNOTSUPPORTED = "InvalidParameterValue.KeyPairNotSupported" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCEOSWINDOWS = "UnsupportedOperation.InstanceOsWindows" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) AssociateInstancesKeyPairs(request *AssociateInstancesKeyPairsRequest) (response *AssociateInstancesKeyPairsResponse, err error) { if request == nil { request = NewAssociateInstancesKeyPairsRequest() @@ -175,8 +176,6 @@ func (c *Client) AssociateInstancesKeyPairs(request *AssociateInstancesKeyPairsR // AssociateInstancesKeyPairs // 本接口 (AssociateInstancesKeyPairs) 用于将密钥绑定到实例上。 // -// -// // * 将密钥的公钥写入到实例的`SSH`配置当中,用户就可以通过该密钥的私钥来登录实例。 // // * 如果实例原来绑定过密钥,那么原来的密钥将失效。 @@ -186,27 +185,28 @@ func (c *Client) AssociateInstancesKeyPairs(request *AssociateInstancesKeyPairsR // * 支持批量操作。每次请求批量实例的上限为100。如果批量实例存在不允许操作的实例,操作会以特定错误码返回。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" -// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_KEYPAIRNOTSUPPORTED = "InvalidParameterValue.KeyPairNotSupported" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCEOSWINDOWS = "UnsupportedOperation.InstanceOsWindows" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" +// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_KEYPAIRNOTSUPPORTED = "InvalidParameterValue.KeyPairNotSupported" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCEOSWINDOWS = "UnsupportedOperation.InstanceOsWindows" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) AssociateInstancesKeyPairsWithContext(ctx context.Context, request *AssociateInstancesKeyPairsRequest) (response *AssociateInstancesKeyPairsResponse, err error) { if request == nil { request = NewAssociateInstancesKeyPairsRequest() @@ -240,20 +240,21 @@ func NewAssociateSecurityGroupsResponse() (response *AssociateSecurityGroupsResp // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" -// INVALIDSGID_MALFORMED = "InvalidSgId.Malformed" -// LIMITEXCEEDED_ASSOCIATEUSGLIMITEXCEEDED = "LimitExceeded.AssociateUSGLimitExceeded" -// LIMITEXCEEDED_CVMSVIFSPERSECGROUPLIMITEXCEEDED = "LimitExceeded.CvmsVifsPerSecGroupLimitExceeded" -// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// SECGROUPACTIONFAILURE = "SecGroupActionFailure" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// +// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" +// INVALIDSGID_MALFORMED = "InvalidSgId.Malformed" +// LIMITEXCEEDED_ASSOCIATEUSGLIMITEXCEEDED = "LimitExceeded.AssociateUSGLimitExceeded" +// LIMITEXCEEDED_CVMSVIFSPERSECGROUPLIMITEXCEEDED = "LimitExceeded.CvmsVifsPerSecGroupLimitExceeded" +// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// SECGROUPACTIONFAILURE = "SecGroupActionFailure" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" func (c *Client) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error) { if request == nil { request = NewAssociateSecurityGroupsRequest() @@ -270,20 +271,21 @@ func (c *Client) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" -// INVALIDSGID_MALFORMED = "InvalidSgId.Malformed" -// LIMITEXCEEDED_ASSOCIATEUSGLIMITEXCEEDED = "LimitExceeded.AssociateUSGLimitExceeded" -// LIMITEXCEEDED_CVMSVIFSPERSECGROUPLIMITEXCEEDED = "LimitExceeded.CvmsVifsPerSecGroupLimitExceeded" -// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// SECGROUPACTIONFAILURE = "SecGroupActionFailure" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// +// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" +// INVALIDSGID_MALFORMED = "InvalidSgId.Malformed" +// LIMITEXCEEDED_ASSOCIATEUSGLIMITEXCEEDED = "LimitExceeded.AssociateUSGLimitExceeded" +// LIMITEXCEEDED_CVMSVIFSPERSECGROUPLIMITEXCEEDED = "LimitExceeded.CvmsVifsPerSecGroupLimitExceeded" +// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// SECGROUPACTIONFAILURE = "SecGroupActionFailure" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" func (c *Client) AssociateSecurityGroupsWithContext(ctx context.Context, request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error) { if request == nil { request = NewAssociateSecurityGroupsRequest() @@ -315,8 +317,9 @@ func NewCreateDisasterRecoverGroupResponse() (response *CreateDisasterRecoverGro // 本接口 (CreateDisasterRecoverGroup)用于创建[分散置放群组](https://cloud.tencent.com/document/product/213/15486)。创建好的置放群组,可在[创建实例](https://cloud.tencent.com/document/api/213/15730)时指定。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" func (c *Client) CreateDisasterRecoverGroup(request *CreateDisasterRecoverGroupRequest) (response *CreateDisasterRecoverGroupResponse, err error) { if request == nil { request = NewCreateDisasterRecoverGroupRequest() @@ -331,8 +334,9 @@ func (c *Client) CreateDisasterRecoverGroup(request *CreateDisasterRecoverGroupR // 本接口 (CreateDisasterRecoverGroup)用于创建[分散置放群组](https://cloud.tencent.com/document/product/213/15486)。创建好的置放群组,可在[创建实例](https://cloud.tencent.com/document/api/213/15730)时指定。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" func (c *Client) CreateDisasterRecoverGroupWithContext(ctx context.Context, request *CreateDisasterRecoverGroupRequest) (response *CreateDisasterRecoverGroupResponse, err error) { if request == nil { request = NewCreateDisasterRecoverGroupRequest() @@ -364,38 +368,39 @@ func NewCreateImageResponse() (response *CreateImageResponse) { // 本接口(CreateImage)用于将实例的系统盘制作为新镜像,创建后的镜像可以用于创建实例。 // // 可能返回的错误码: -// IMAGEQUOTALIMITEXCEEDED = "ImageQuotaLimitExceeded" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETER_DATADISKIDCONTAINSROOTDISK = "InvalidParameter.DataDiskIdContainsRootDisk" -// INVALIDPARAMETER_DATADISKNOTBELONGSPECIFIEDINSTANCE = "InvalidParameter.DataDiskNotBelongSpecifiedInstance" -// INVALIDPARAMETER_DUPLICATESYSTEMSNAPSHOTS = "InvalidParameter.DuplicateSystemSnapshots" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETER_INVALIDDEPENDENCE = "InvalidParameter.InvalidDependence" -// INVALIDPARAMETER_LOCALDATADISKNOTSUPPORT = "InvalidParameter.LocalDataDiskNotSupport" -// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" -// INVALIDPARAMETER_SPECIFYONEPARAMETER = "InvalidParameter.SpecifyOneParameter" -// INVALIDPARAMETER_SWAPDISKNOTSUPPORT = "InvalidParameter.SwapDiskNotSupport" -// INVALIDPARAMETER_SYSTEMSNAPSHOTNOTFOUND = "InvalidParameter.SystemSnapshotNotFound" -// INVALIDPARAMETER_VALUETOOLARGE = "InvalidParameter.ValueTooLarge" -// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// RESOURCEUNAVAILABLE_SNAPSHOTCREATING = "ResourceUnavailable.SnapshotCreating" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_NOTSUPPORTINSTANCEIMAGE = "UnsupportedOperation.NotSupportInstanceImage" -// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// IMAGEQUOTALIMITEXCEEDED = "ImageQuotaLimitExceeded" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETER_DATADISKIDCONTAINSROOTDISK = "InvalidParameter.DataDiskIdContainsRootDisk" +// INVALIDPARAMETER_DATADISKNOTBELONGSPECIFIEDINSTANCE = "InvalidParameter.DataDiskNotBelongSpecifiedInstance" +// INVALIDPARAMETER_DUPLICATESYSTEMSNAPSHOTS = "InvalidParameter.DuplicateSystemSnapshots" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETER_INVALIDDEPENDENCE = "InvalidParameter.InvalidDependence" +// INVALIDPARAMETER_LOCALDATADISKNOTSUPPORT = "InvalidParameter.LocalDataDiskNotSupport" +// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" +// INVALIDPARAMETER_SPECIFYONEPARAMETER = "InvalidParameter.SpecifyOneParameter" +// INVALIDPARAMETER_SWAPDISKNOTSUPPORT = "InvalidParameter.SwapDiskNotSupport" +// INVALIDPARAMETER_SYSTEMSNAPSHOTNOTFOUND = "InvalidParameter.SystemSnapshotNotFound" +// INVALIDPARAMETER_VALUETOOLARGE = "InvalidParameter.ValueTooLarge" +// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// RESOURCEUNAVAILABLE_SNAPSHOTCREATING = "ResourceUnavailable.SnapshotCreating" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_NOTSUPPORTINSTANCEIMAGE = "UnsupportedOperation.NotSupportInstanceImage" +// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) CreateImage(request *CreateImageRequest) (response *CreateImageResponse, err error) { if request == nil { request = NewCreateImageRequest() @@ -410,38 +415,39 @@ func (c *Client) CreateImage(request *CreateImageRequest) (response *CreateImage // 本接口(CreateImage)用于将实例的系统盘制作为新镜像,创建后的镜像可以用于创建实例。 // // 可能返回的错误码: -// IMAGEQUOTALIMITEXCEEDED = "ImageQuotaLimitExceeded" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETER_DATADISKIDCONTAINSROOTDISK = "InvalidParameter.DataDiskIdContainsRootDisk" -// INVALIDPARAMETER_DATADISKNOTBELONGSPECIFIEDINSTANCE = "InvalidParameter.DataDiskNotBelongSpecifiedInstance" -// INVALIDPARAMETER_DUPLICATESYSTEMSNAPSHOTS = "InvalidParameter.DuplicateSystemSnapshots" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETER_INVALIDDEPENDENCE = "InvalidParameter.InvalidDependence" -// INVALIDPARAMETER_LOCALDATADISKNOTSUPPORT = "InvalidParameter.LocalDataDiskNotSupport" -// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" -// INVALIDPARAMETER_SPECIFYONEPARAMETER = "InvalidParameter.SpecifyOneParameter" -// INVALIDPARAMETER_SWAPDISKNOTSUPPORT = "InvalidParameter.SwapDiskNotSupport" -// INVALIDPARAMETER_SYSTEMSNAPSHOTNOTFOUND = "InvalidParameter.SystemSnapshotNotFound" -// INVALIDPARAMETER_VALUETOOLARGE = "InvalidParameter.ValueTooLarge" -// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// RESOURCEUNAVAILABLE_SNAPSHOTCREATING = "ResourceUnavailable.SnapshotCreating" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_NOTSUPPORTINSTANCEIMAGE = "UnsupportedOperation.NotSupportInstanceImage" -// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// IMAGEQUOTALIMITEXCEEDED = "ImageQuotaLimitExceeded" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETER_DATADISKIDCONTAINSROOTDISK = "InvalidParameter.DataDiskIdContainsRootDisk" +// INVALIDPARAMETER_DATADISKNOTBELONGSPECIFIEDINSTANCE = "InvalidParameter.DataDiskNotBelongSpecifiedInstance" +// INVALIDPARAMETER_DUPLICATESYSTEMSNAPSHOTS = "InvalidParameter.DuplicateSystemSnapshots" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETER_INVALIDDEPENDENCE = "InvalidParameter.InvalidDependence" +// INVALIDPARAMETER_LOCALDATADISKNOTSUPPORT = "InvalidParameter.LocalDataDiskNotSupport" +// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" +// INVALIDPARAMETER_SPECIFYONEPARAMETER = "InvalidParameter.SpecifyOneParameter" +// INVALIDPARAMETER_SWAPDISKNOTSUPPORT = "InvalidParameter.SwapDiskNotSupport" +// INVALIDPARAMETER_SYSTEMSNAPSHOTNOTFOUND = "InvalidParameter.SystemSnapshotNotFound" +// INVALIDPARAMETER_VALUETOOLARGE = "InvalidParameter.ValueTooLarge" +// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// RESOURCEUNAVAILABLE_SNAPSHOTCREATING = "ResourceUnavailable.SnapshotCreating" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_NOTSUPPORTINSTANCEIMAGE = "UnsupportedOperation.NotSupportInstanceImage" +// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) CreateImageWithContext(ctx context.Context, request *CreateImageRequest) (response *CreateImageResponse, err error) { if request == nil { request = NewCreateImageRequest() @@ -472,8 +478,6 @@ func NewCreateKeyPairResponse() (response *CreateKeyPairResponse) { // CreateKeyPair // 本接口 (CreateKeyPair) 用于创建一个 `OpenSSH RSA` 密钥对,可以用于登录 `Linux` 实例。 // -// -// // * 开发者只需指定密钥对名称,即可由系统自动创建密钥对,并返回所生成的密钥对的 `ID` 及其公钥、私钥的内容。 // // * 密钥对名称不能和已经存在的密钥对的名称重复。 @@ -483,15 +487,16 @@ func NewCreateKeyPairResponse() (response *CreateKeyPairResponse) { // * 腾讯云不会保存用户的私钥,请妥善保管。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" -// INVALIDKEYPAIRNAME_DUPLICATE = "InvalidKeyPairName.Duplicate" -// INVALIDKEYPAIRNAMEEMPTY = "InvalidKeyPairNameEmpty" -// INVALIDKEYPAIRNAMEINCLUDEILLEGALCHAR = "InvalidKeyPairNameIncludeIllegalChar" -// INVALIDKEYPAIRNAMETOOLONG = "InvalidKeyPairNameTooLong" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" +// INVALIDKEYPAIRNAME_DUPLICATE = "InvalidKeyPairName.Duplicate" +// INVALIDKEYPAIRNAMEEMPTY = "InvalidKeyPairNameEmpty" +// INVALIDKEYPAIRNAMEINCLUDEILLEGALCHAR = "InvalidKeyPairNameIncludeIllegalChar" +// INVALIDKEYPAIRNAMETOOLONG = "InvalidKeyPairNameTooLong" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) CreateKeyPair(request *CreateKeyPairRequest) (response *CreateKeyPairResponse, err error) { if request == nil { request = NewCreateKeyPairRequest() @@ -505,8 +510,6 @@ func (c *Client) CreateKeyPair(request *CreateKeyPairRequest) (response *CreateK // CreateKeyPair // 本接口 (CreateKeyPair) 用于创建一个 `OpenSSH RSA` 密钥对,可以用于登录 `Linux` 实例。 // -// -// // * 开发者只需指定密钥对名称,即可由系统自动创建密钥对,并返回所生成的密钥对的 `ID` 及其公钥、私钥的内容。 // // * 密钥对名称不能和已经存在的密钥对的名称重复。 @@ -516,15 +519,16 @@ func (c *Client) CreateKeyPair(request *CreateKeyPairRequest) (response *CreateK // * 腾讯云不会保存用户的私钥,请妥善保管。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" -// INVALIDKEYPAIRNAME_DUPLICATE = "InvalidKeyPairName.Duplicate" -// INVALIDKEYPAIRNAMEEMPTY = "InvalidKeyPairNameEmpty" -// INVALIDKEYPAIRNAMEINCLUDEILLEGALCHAR = "InvalidKeyPairNameIncludeIllegalChar" -// INVALIDKEYPAIRNAMETOOLONG = "InvalidKeyPairNameTooLong" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" +// INVALIDKEYPAIRNAME_DUPLICATE = "InvalidKeyPairName.Duplicate" +// INVALIDKEYPAIRNAMEEMPTY = "InvalidKeyPairNameEmpty" +// INVALIDKEYPAIRNAMEINCLUDEILLEGALCHAR = "InvalidKeyPairNameIncludeIllegalChar" +// INVALIDKEYPAIRNAMETOOLONG = "InvalidKeyPairNameTooLong" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) CreateKeyPairWithContext(ctx context.Context, request *CreateKeyPairRequest) (response *CreateKeyPairResponse, err error) { if request == nil { request = NewCreateKeyPairRequest() @@ -555,91 +559,88 @@ func NewCreateLaunchTemplateResponse() (response *CreateLaunchTemplateResponse) // CreateLaunchTemplate // 本接口(CreateLaunchTemplate)用于创建实例启动模板。 // -// -// // 实例启动模板是一种配置数据并可用于创建实例,其内容包含创建实例所需的配置,比如实例类型,数据盘和系统盘的类型和大小,以及安全组等信息。 // -// -// // 初次创建实例模板后,其模板版本为默认版本1,新版本的创建可使用CreateLaunchTemplateVersion创建,版本号递增。默认情况下,在RunInstances中指定实例启动模板,若不指定模板版本号,则使用默认版本。 // // 可能返回的错误码: -// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" -// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" -// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" -// INSTANCESQUOTALIMITEXCEEDED = "InstancesQuotaLimitExceeded" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETER_INVALIDIPFORMAT = "InvalidParameter.InvalidIpFormat" -// INVALIDPARAMETER_LACKCORECOUNTORTHREADPERCORE = "InvalidParameter.LackCoreCountOrThreadPerCore" -// INVALIDPARAMETER_PASSWORDNOTSUPPORTED = "InvalidParameter.PasswordNotSupported" -// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" -// INVALIDPARAMETERVALUE_CORECOUNTVALUE = "InvalidParameterValue.CoreCountValue" -// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" -// INVALIDPARAMETERVALUE_INSTANCETYPEREQUIREDHPCCLUSTER = "InvalidParameterValue.InstanceTypeRequiredHpcCluster" -// INVALIDPARAMETERVALUE_INSUFFICIENTOFFERING = "InvalidParameterValue.InsufficientOffering" -// INVALIDPARAMETERVALUE_INSUFFICIENTPRICE = "InvalidParameterValue.InsufficientPrice" -// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" -// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATEDESCRIPTION = "InvalidParameterValue.InvalidLaunchTemplateDescription" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATENAME = "InvalidParameterValue.InvalidLaunchTemplateName" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATEVERSIONDESCRIPTION = "InvalidParameterValue.InvalidLaunchTemplateVersionDescription" -// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" -// INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" -// INVALIDPARAMETERVALUE_THREADPERCOREVALUE = "InvalidParameterValue.ThreadPerCoreValue" -// INVALIDPARAMETERVALUE_VPCIDZONEIDNOTMATCH = "InvalidParameterValue.VpcIdZoneIdNotMatch" -// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" -// INVALIDPASSWORD = "InvalidPassword" -// INVALIDPERIOD = "InvalidPeriod" -// INVALIDPERMISSION = "InvalidPermission" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" -// LIMITEXCEEDED_LAUNCHTEMPLATEQUOTA = "LimitExceeded.LaunchTemplateQuota" -// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" -// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" -// LIMITEXCEEDED_USERSPOTQUOTA = "LimitExceeded.UserSpotQuota" -// LIMITEXCEEDED_VPCSUBNETNUM = "LimitExceeded.VpcSubnetNum" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_DPDKINSTANCETYPEREQUIREDVPC = "MissingParameter.DPDKInstanceTypeRequiredVPC" -// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" -// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" -// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" -// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" -// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" -// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" -// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" -// RESOURCESSOLDOUT_EIPINSUFFICIENT = "ResourcesSoldOut.EipInsufficient" -// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" -// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" -// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" -// UNSUPPORTEDOPERATION_NOTSUPPORTIMPORTINSTANCESACTIONTIMER = "UnsupportedOperation.NotSupportImportInstancesActionTimer" -// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" -// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" -// VPCIPISUSED = "VpcIpIsUsed" +// +// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" +// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" +// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" +// INSTANCESQUOTALIMITEXCEEDED = "InstancesQuotaLimitExceeded" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETER_INVALIDIPFORMAT = "InvalidParameter.InvalidIpFormat" +// INVALIDPARAMETER_LACKCORECOUNTORTHREADPERCORE = "InvalidParameter.LackCoreCountOrThreadPerCore" +// INVALIDPARAMETER_PASSWORDNOTSUPPORTED = "InvalidParameter.PasswordNotSupported" +// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" +// INVALIDPARAMETERVALUE_CORECOUNTVALUE = "InvalidParameterValue.CoreCountValue" +// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" +// INVALIDPARAMETERVALUE_INSTANCETYPEREQUIREDHPCCLUSTER = "InvalidParameterValue.InstanceTypeRequiredHpcCluster" +// INVALIDPARAMETERVALUE_INSUFFICIENTOFFERING = "InvalidParameterValue.InsufficientOffering" +// INVALIDPARAMETERVALUE_INSUFFICIENTPRICE = "InvalidParameterValue.InsufficientPrice" +// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" +// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATEDESCRIPTION = "InvalidParameterValue.InvalidLaunchTemplateDescription" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATENAME = "InvalidParameterValue.InvalidLaunchTemplateName" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATEVERSIONDESCRIPTION = "InvalidParameterValue.InvalidLaunchTemplateVersionDescription" +// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" +// INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" +// INVALIDPARAMETERVALUE_THREADPERCOREVALUE = "InvalidParameterValue.ThreadPerCoreValue" +// INVALIDPARAMETERVALUE_VPCIDZONEIDNOTMATCH = "InvalidParameterValue.VpcIdZoneIdNotMatch" +// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" +// INVALIDPASSWORD = "InvalidPassword" +// INVALIDPERIOD = "InvalidPeriod" +// INVALIDPERMISSION = "InvalidPermission" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" +// LIMITEXCEEDED_LAUNCHTEMPLATEQUOTA = "LimitExceeded.LaunchTemplateQuota" +// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" +// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" +// LIMITEXCEEDED_USERSPOTQUOTA = "LimitExceeded.UserSpotQuota" +// LIMITEXCEEDED_VPCSUBNETNUM = "LimitExceeded.VpcSubnetNum" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_DPDKINSTANCETYPEREQUIREDVPC = "MissingParameter.DPDKInstanceTypeRequiredVPC" +// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" +// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" +// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" +// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" +// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" +// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" +// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" +// RESOURCESSOLDOUT_EIPINSUFFICIENT = "ResourcesSoldOut.EipInsufficient" +// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" +// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" +// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" +// UNSUPPORTEDOPERATION_NOTSUPPORTIMPORTINSTANCESACTIONTIMER = "UnsupportedOperation.NotSupportImportInstancesActionTimer" +// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" +// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" +// VPCIPISUSED = "VpcIpIsUsed" func (c *Client) CreateLaunchTemplate(request *CreateLaunchTemplateRequest) (response *CreateLaunchTemplateResponse, err error) { if request == nil { request = NewCreateLaunchTemplateRequest() @@ -653,91 +654,88 @@ func (c *Client) CreateLaunchTemplate(request *CreateLaunchTemplateRequest) (res // CreateLaunchTemplate // 本接口(CreateLaunchTemplate)用于创建实例启动模板。 // -// -// // 实例启动模板是一种配置数据并可用于创建实例,其内容包含创建实例所需的配置,比如实例类型,数据盘和系统盘的类型和大小,以及安全组等信息。 // -// -// // 初次创建实例模板后,其模板版本为默认版本1,新版本的创建可使用CreateLaunchTemplateVersion创建,版本号递增。默认情况下,在RunInstances中指定实例启动模板,若不指定模板版本号,则使用默认版本。 // // 可能返回的错误码: -// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" -// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" -// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" -// INSTANCESQUOTALIMITEXCEEDED = "InstancesQuotaLimitExceeded" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETER_INVALIDIPFORMAT = "InvalidParameter.InvalidIpFormat" -// INVALIDPARAMETER_LACKCORECOUNTORTHREADPERCORE = "InvalidParameter.LackCoreCountOrThreadPerCore" -// INVALIDPARAMETER_PASSWORDNOTSUPPORTED = "InvalidParameter.PasswordNotSupported" -// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" -// INVALIDPARAMETERVALUE_CORECOUNTVALUE = "InvalidParameterValue.CoreCountValue" -// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" -// INVALIDPARAMETERVALUE_INSTANCETYPEREQUIREDHPCCLUSTER = "InvalidParameterValue.InstanceTypeRequiredHpcCluster" -// INVALIDPARAMETERVALUE_INSUFFICIENTOFFERING = "InvalidParameterValue.InsufficientOffering" -// INVALIDPARAMETERVALUE_INSUFFICIENTPRICE = "InvalidParameterValue.InsufficientPrice" -// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" -// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATEDESCRIPTION = "InvalidParameterValue.InvalidLaunchTemplateDescription" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATENAME = "InvalidParameterValue.InvalidLaunchTemplateName" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATEVERSIONDESCRIPTION = "InvalidParameterValue.InvalidLaunchTemplateVersionDescription" -// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" -// INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" -// INVALIDPARAMETERVALUE_THREADPERCOREVALUE = "InvalidParameterValue.ThreadPerCoreValue" -// INVALIDPARAMETERVALUE_VPCIDZONEIDNOTMATCH = "InvalidParameterValue.VpcIdZoneIdNotMatch" -// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" -// INVALIDPASSWORD = "InvalidPassword" -// INVALIDPERIOD = "InvalidPeriod" -// INVALIDPERMISSION = "InvalidPermission" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" -// LIMITEXCEEDED_LAUNCHTEMPLATEQUOTA = "LimitExceeded.LaunchTemplateQuota" -// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" -// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" -// LIMITEXCEEDED_USERSPOTQUOTA = "LimitExceeded.UserSpotQuota" -// LIMITEXCEEDED_VPCSUBNETNUM = "LimitExceeded.VpcSubnetNum" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_DPDKINSTANCETYPEREQUIREDVPC = "MissingParameter.DPDKInstanceTypeRequiredVPC" -// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" -// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" -// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" -// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" -// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" -// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" -// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" -// RESOURCESSOLDOUT_EIPINSUFFICIENT = "ResourcesSoldOut.EipInsufficient" -// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" -// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" -// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" -// UNSUPPORTEDOPERATION_NOTSUPPORTIMPORTINSTANCESACTIONTIMER = "UnsupportedOperation.NotSupportImportInstancesActionTimer" -// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" -// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" -// VPCIPISUSED = "VpcIpIsUsed" +// +// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" +// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" +// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" +// INSTANCESQUOTALIMITEXCEEDED = "InstancesQuotaLimitExceeded" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETER_INVALIDIPFORMAT = "InvalidParameter.InvalidIpFormat" +// INVALIDPARAMETER_LACKCORECOUNTORTHREADPERCORE = "InvalidParameter.LackCoreCountOrThreadPerCore" +// INVALIDPARAMETER_PASSWORDNOTSUPPORTED = "InvalidParameter.PasswordNotSupported" +// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" +// INVALIDPARAMETERVALUE_CORECOUNTVALUE = "InvalidParameterValue.CoreCountValue" +// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" +// INVALIDPARAMETERVALUE_INSTANCETYPEREQUIREDHPCCLUSTER = "InvalidParameterValue.InstanceTypeRequiredHpcCluster" +// INVALIDPARAMETERVALUE_INSUFFICIENTOFFERING = "InvalidParameterValue.InsufficientOffering" +// INVALIDPARAMETERVALUE_INSUFFICIENTPRICE = "InvalidParameterValue.InsufficientPrice" +// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" +// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATEDESCRIPTION = "InvalidParameterValue.InvalidLaunchTemplateDescription" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATENAME = "InvalidParameterValue.InvalidLaunchTemplateName" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATEVERSIONDESCRIPTION = "InvalidParameterValue.InvalidLaunchTemplateVersionDescription" +// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" +// INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" +// INVALIDPARAMETERVALUE_THREADPERCOREVALUE = "InvalidParameterValue.ThreadPerCoreValue" +// INVALIDPARAMETERVALUE_VPCIDZONEIDNOTMATCH = "InvalidParameterValue.VpcIdZoneIdNotMatch" +// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" +// INVALIDPASSWORD = "InvalidPassword" +// INVALIDPERIOD = "InvalidPeriod" +// INVALIDPERMISSION = "InvalidPermission" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" +// LIMITEXCEEDED_LAUNCHTEMPLATEQUOTA = "LimitExceeded.LaunchTemplateQuota" +// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" +// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" +// LIMITEXCEEDED_USERSPOTQUOTA = "LimitExceeded.UserSpotQuota" +// LIMITEXCEEDED_VPCSUBNETNUM = "LimitExceeded.VpcSubnetNum" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_DPDKINSTANCETYPEREQUIREDVPC = "MissingParameter.DPDKInstanceTypeRequiredVPC" +// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" +// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" +// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" +// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" +// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" +// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" +// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" +// RESOURCESSOLDOUT_EIPINSUFFICIENT = "ResourcesSoldOut.EipInsufficient" +// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" +// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" +// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" +// UNSUPPORTEDOPERATION_NOTSUPPORTIMPORTINSTANCESACTIONTIMER = "UnsupportedOperation.NotSupportImportInstancesActionTimer" +// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" +// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" +// VPCIPISUSED = "VpcIpIsUsed" func (c *Client) CreateLaunchTemplateWithContext(ctx context.Context, request *CreateLaunchTemplateRequest) (response *CreateLaunchTemplateResponse, err error) { if request == nil { request = NewCreateLaunchTemplateRequest() @@ -769,79 +767,80 @@ func NewCreateLaunchTemplateVersionResponse() (response *CreateLaunchTemplateVer // 本接口(CreateLaunchTemplateVersion)根据指定的实例模板ID以及对应的模板版本号创建新的实例启动模板,若未指定模板版本号则使用默认版本号。每个实例启动模板最多创建30个版本。 // // 可能返回的错误码: -// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" -// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETER_INVALIDIPFORMAT = "InvalidParameter.InvalidIpFormat" -// INVALIDPARAMETER_PASSWORDNOTSUPPORTED = "InvalidParameter.PasswordNotSupported" -// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" -// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" -// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" -// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATEVERSIONDESCRIPTION = "InvalidParameterValue.InvalidLaunchTemplateVersionDescription" -// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" -// INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" -// INVALIDPARAMETERVALUE_THREADPERCOREVALUE = "InvalidParameterValue.ThreadPerCoreValue" -// INVALIDPARAMETERVALUE_VPCIDZONEIDNOTMATCH = "InvalidParameterValue.VpcIdZoneIdNotMatch" -// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" -// INVALIDPASSWORD = "InvalidPassword" -// INVALIDPERIOD = "InvalidPeriod" -// INVALIDPERMISSION = "InvalidPermission" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" -// LIMITEXCEEDED_LAUNCHTEMPLATEQUOTA = "LimitExceeded.LaunchTemplateQuota" -// LIMITEXCEEDED_LAUNCHTEMPLATEVERSIONQUOTA = "LimitExceeded.LaunchTemplateVersionQuota" -// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" -// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" -// LIMITEXCEEDED_USERSPOTQUOTA = "LimitExceeded.UserSpotQuota" -// LIMITEXCEEDED_VPCSUBNETNUM = "LimitExceeded.VpcSubnetNum" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_DPDKINSTANCETYPEREQUIREDVPC = "MissingParameter.DPDKInstanceTypeRequiredVPC" -// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" -// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" -// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" -// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" -// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" -// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" -// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" -// RESOURCESSOLDOUT_EIPINSUFFICIENT = "ResourcesSoldOut.EipInsufficient" -// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" -// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" -// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" -// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" -// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" -// VPCIPISUSED = "VpcIpIsUsed" +// +// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" +// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETER_INVALIDIPFORMAT = "InvalidParameter.InvalidIpFormat" +// INVALIDPARAMETER_PASSWORDNOTSUPPORTED = "InvalidParameter.PasswordNotSupported" +// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" +// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" +// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" +// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATEVERSIONDESCRIPTION = "InvalidParameterValue.InvalidLaunchTemplateVersionDescription" +// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" +// INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" +// INVALIDPARAMETERVALUE_THREADPERCOREVALUE = "InvalidParameterValue.ThreadPerCoreValue" +// INVALIDPARAMETERVALUE_VPCIDZONEIDNOTMATCH = "InvalidParameterValue.VpcIdZoneIdNotMatch" +// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" +// INVALIDPASSWORD = "InvalidPassword" +// INVALIDPERIOD = "InvalidPeriod" +// INVALIDPERMISSION = "InvalidPermission" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" +// LIMITEXCEEDED_LAUNCHTEMPLATEQUOTA = "LimitExceeded.LaunchTemplateQuota" +// LIMITEXCEEDED_LAUNCHTEMPLATEVERSIONQUOTA = "LimitExceeded.LaunchTemplateVersionQuota" +// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" +// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" +// LIMITEXCEEDED_USERSPOTQUOTA = "LimitExceeded.UserSpotQuota" +// LIMITEXCEEDED_VPCSUBNETNUM = "LimitExceeded.VpcSubnetNum" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_DPDKINSTANCETYPEREQUIREDVPC = "MissingParameter.DPDKInstanceTypeRequiredVPC" +// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" +// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" +// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" +// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" +// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" +// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" +// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" +// RESOURCESSOLDOUT_EIPINSUFFICIENT = "ResourcesSoldOut.EipInsufficient" +// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" +// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" +// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" +// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" +// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" +// VPCIPISUSED = "VpcIpIsUsed" func (c *Client) CreateLaunchTemplateVersion(request *CreateLaunchTemplateVersionRequest) (response *CreateLaunchTemplateVersionResponse, err error) { if request == nil { request = NewCreateLaunchTemplateVersionRequest() @@ -856,79 +855,80 @@ func (c *Client) CreateLaunchTemplateVersion(request *CreateLaunchTemplateVersio // 本接口(CreateLaunchTemplateVersion)根据指定的实例模板ID以及对应的模板版本号创建新的实例启动模板,若未指定模板版本号则使用默认版本号。每个实例启动模板最多创建30个版本。 // // 可能返回的错误码: -// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" -// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETER_INVALIDIPFORMAT = "InvalidParameter.InvalidIpFormat" -// INVALIDPARAMETER_PASSWORDNOTSUPPORTED = "InvalidParameter.PasswordNotSupported" -// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" -// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" -// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" -// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATEVERSIONDESCRIPTION = "InvalidParameterValue.InvalidLaunchTemplateVersionDescription" -// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" -// INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" -// INVALIDPARAMETERVALUE_THREADPERCOREVALUE = "InvalidParameterValue.ThreadPerCoreValue" -// INVALIDPARAMETERVALUE_VPCIDZONEIDNOTMATCH = "InvalidParameterValue.VpcIdZoneIdNotMatch" -// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" -// INVALIDPASSWORD = "InvalidPassword" -// INVALIDPERIOD = "InvalidPeriod" -// INVALIDPERMISSION = "InvalidPermission" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" -// LIMITEXCEEDED_LAUNCHTEMPLATEQUOTA = "LimitExceeded.LaunchTemplateQuota" -// LIMITEXCEEDED_LAUNCHTEMPLATEVERSIONQUOTA = "LimitExceeded.LaunchTemplateVersionQuota" -// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" -// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" -// LIMITEXCEEDED_USERSPOTQUOTA = "LimitExceeded.UserSpotQuota" -// LIMITEXCEEDED_VPCSUBNETNUM = "LimitExceeded.VpcSubnetNum" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_DPDKINSTANCETYPEREQUIREDVPC = "MissingParameter.DPDKInstanceTypeRequiredVPC" -// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" -// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" -// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" -// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" -// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" -// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" -// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" -// RESOURCESSOLDOUT_EIPINSUFFICIENT = "ResourcesSoldOut.EipInsufficient" -// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" -// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" -// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" -// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" -// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" -// VPCIPISUSED = "VpcIpIsUsed" +// +// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" +// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETER_INVALIDIPFORMAT = "InvalidParameter.InvalidIpFormat" +// INVALIDPARAMETER_PASSWORDNOTSUPPORTED = "InvalidParameter.PasswordNotSupported" +// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" +// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" +// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" +// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATEVERSIONDESCRIPTION = "InvalidParameterValue.InvalidLaunchTemplateVersionDescription" +// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" +// INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" +// INVALIDPARAMETERVALUE_THREADPERCOREVALUE = "InvalidParameterValue.ThreadPerCoreValue" +// INVALIDPARAMETERVALUE_VPCIDZONEIDNOTMATCH = "InvalidParameterValue.VpcIdZoneIdNotMatch" +// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" +// INVALIDPASSWORD = "InvalidPassword" +// INVALIDPERIOD = "InvalidPeriod" +// INVALIDPERMISSION = "InvalidPermission" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" +// LIMITEXCEEDED_LAUNCHTEMPLATEQUOTA = "LimitExceeded.LaunchTemplateQuota" +// LIMITEXCEEDED_LAUNCHTEMPLATEVERSIONQUOTA = "LimitExceeded.LaunchTemplateVersionQuota" +// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" +// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" +// LIMITEXCEEDED_USERSPOTQUOTA = "LimitExceeded.UserSpotQuota" +// LIMITEXCEEDED_VPCSUBNETNUM = "LimitExceeded.VpcSubnetNum" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_DPDKINSTANCETYPEREQUIREDVPC = "MissingParameter.DPDKInstanceTypeRequiredVPC" +// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" +// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" +// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" +// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" +// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" +// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" +// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" +// RESOURCESSOLDOUT_EIPINSUFFICIENT = "ResourcesSoldOut.EipInsufficient" +// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" +// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" +// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" +// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" +// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" +// VPCIPISUSED = "VpcIpIsUsed" func (c *Client) CreateLaunchTemplateVersionWithContext(ctx context.Context, request *CreateLaunchTemplateVersionRequest) (response *CreateLaunchTemplateVersionResponse, err error) { if request == nil { request = NewCreateLaunchTemplateVersionRequest() @@ -960,10 +960,11 @@ func NewDeleteDisasterRecoverGroupsResponse() (response *DeleteDisasterRecoverGr // 本接口 (DeleteDisasterRecoverGroups)用于删除[分散置放群组](https://cloud.tencent.com/document/product/213/15486)。只有空的置放群组才能被删除,非空的群组需要先销毁组内所有云服务器,才能执行删除操作,不然会产生删除置放群组失败的错误。 // // 可能返回的错误码: -// FAILEDOPERATION_PLACEMENTSETNOTEMPTY = "FailedOperation.PlacementSetNotEmpty" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" -// RESOURCENOTFOUND_INVALIDPLACEMENTSET = "ResourceNotFound.InvalidPlacementSet" +// +// FAILEDOPERATION_PLACEMENTSETNOTEMPTY = "FailedOperation.PlacementSetNotEmpty" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" +// RESOURCENOTFOUND_INVALIDPLACEMENTSET = "ResourceNotFound.InvalidPlacementSet" func (c *Client) DeleteDisasterRecoverGroups(request *DeleteDisasterRecoverGroupsRequest) (response *DeleteDisasterRecoverGroupsResponse, err error) { if request == nil { request = NewDeleteDisasterRecoverGroupsRequest() @@ -978,10 +979,11 @@ func (c *Client) DeleteDisasterRecoverGroups(request *DeleteDisasterRecoverGroup // 本接口 (DeleteDisasterRecoverGroups)用于删除[分散置放群组](https://cloud.tencent.com/document/product/213/15486)。只有空的置放群组才能被删除,非空的群组需要先销毁组内所有云服务器,才能执行删除操作,不然会产生删除置放群组失败的错误。 // // 可能返回的错误码: -// FAILEDOPERATION_PLACEMENTSETNOTEMPTY = "FailedOperation.PlacementSetNotEmpty" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" -// RESOURCENOTFOUND_INVALIDPLACEMENTSET = "ResourceNotFound.InvalidPlacementSet" +// +// FAILEDOPERATION_PLACEMENTSETNOTEMPTY = "FailedOperation.PlacementSetNotEmpty" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" +// RESOURCENOTFOUND_INVALIDPLACEMENTSET = "ResourceNotFound.InvalidPlacementSet" func (c *Client) DeleteDisasterRecoverGroupsWithContext(ctx context.Context, request *DeleteDisasterRecoverGroupsRequest) (response *DeleteDisasterRecoverGroupsResponse, err error) { if request == nil { request = NewDeleteDisasterRecoverGroupsRequest() @@ -1012,8 +1014,6 @@ func NewDeleteImagesResponse() (response *DeleteImagesResponse) { // DeleteImages // 本接口(DeleteImages)用于删除一个或多个镜像。 // -// -// // * 当[镜像状态](https://cloud.tencent.com/document/product/213/15753#Image)为`创建中`和`使用中`时, 不允许删除。镜像状态可以通过[DescribeImages](https://cloud.tencent.com/document/api/213/9418)获取。 // // * 每个地域最多只支持创建10个自定义镜像,删除镜像可以释放账户的配额。 @@ -1021,13 +1021,14 @@ func NewDeleteImagesResponse() (response *DeleteImagesResponse) { // * 当镜像正在被其它账户分享时,不允许删除。 // // 可能返回的错误码: -// INVALIDIMAGEID_INSHARED = "InvalidImageId.InShared" -// INVALIDIMAGEID_INCORRECTSTATE = "InvalidImageId.IncorrectState" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// +// INVALIDIMAGEID_INSHARED = "InvalidImageId.InShared" +// INVALIDIMAGEID_INCORRECTSTATE = "InvalidImageId.IncorrectState" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" func (c *Client) DeleteImages(request *DeleteImagesRequest) (response *DeleteImagesResponse, err error) { if request == nil { request = NewDeleteImagesRequest() @@ -1041,8 +1042,6 @@ func (c *Client) DeleteImages(request *DeleteImagesRequest) (response *DeleteIma // DeleteImages // 本接口(DeleteImages)用于删除一个或多个镜像。 // -// -// // * 当[镜像状态](https://cloud.tencent.com/document/product/213/15753#Image)为`创建中`和`使用中`时, 不允许删除。镜像状态可以通过[DescribeImages](https://cloud.tencent.com/document/api/213/9418)获取。 // // * 每个地域最多只支持创建10个自定义镜像,删除镜像可以释放账户的配额。 @@ -1050,13 +1049,14 @@ func (c *Client) DeleteImages(request *DeleteImagesRequest) (response *DeleteIma // * 当镜像正在被其它账户分享时,不允许删除。 // // 可能返回的错误码: -// INVALIDIMAGEID_INSHARED = "InvalidImageId.InShared" -// INVALIDIMAGEID_INCORRECTSTATE = "InvalidImageId.IncorrectState" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// +// INVALIDIMAGEID_INSHARED = "InvalidImageId.InShared" +// INVALIDIMAGEID_INCORRECTSTATE = "InvalidImageId.IncorrectState" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" func (c *Client) DeleteImagesWithContext(ctx context.Context, request *DeleteImagesRequest) (response *DeleteImagesResponse, err error) { if request == nil { request = NewDeleteImagesRequest() @@ -1087,21 +1087,20 @@ func NewDeleteKeyPairsResponse() (response *DeleteKeyPairsResponse) { // DeleteKeyPairs // 本接口 (DeleteKeyPairs) 用于删除已在腾讯云托管的密钥对。 // -// -// // * 可以同时删除多个密钥对。 // // * 不能删除已被实例或镜像引用的密钥对,所以需要独立判断是否所有密钥对都被成功删除。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" -// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" -// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_KEYPAIRNOTSUPPORTED = "InvalidParameterValue.KeyPairNotSupported" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" +// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" +// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_KEYPAIRNOTSUPPORTED = "InvalidParameterValue.KeyPairNotSupported" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) DeleteKeyPairs(request *DeleteKeyPairsRequest) (response *DeleteKeyPairsResponse, err error) { if request == nil { request = NewDeleteKeyPairsRequest() @@ -1115,21 +1114,20 @@ func (c *Client) DeleteKeyPairs(request *DeleteKeyPairsRequest) (response *Delet // DeleteKeyPairs // 本接口 (DeleteKeyPairs) 用于删除已在腾讯云托管的密钥对。 // -// -// // * 可以同时删除多个密钥对。 // // * 不能删除已被实例或镜像引用的密钥对,所以需要独立判断是否所有密钥对都被成功删除。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" -// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" -// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_KEYPAIRNOTSUPPORTED = "InvalidParameterValue.KeyPairNotSupported" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" +// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" +// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_KEYPAIRNOTSUPPORTED = "InvalidParameterValue.KeyPairNotSupported" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) DeleteKeyPairsWithContext(ctx context.Context, request *DeleteKeyPairsRequest) (response *DeleteKeyPairsResponse, err error) { if request == nil { request = NewDeleteKeyPairsRequest() @@ -1161,13 +1159,14 @@ func NewDeleteLaunchTemplateResponse() (response *DeleteLaunchTemplateResponse) // 本接口(DeleteLaunchTemplate)用于删除一个实例启动模板。 // // 可能返回的错误码: -// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" -// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" +// +// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" +// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" func (c *Client) DeleteLaunchTemplate(request *DeleteLaunchTemplateRequest) (response *DeleteLaunchTemplateResponse, err error) { if request == nil { request = NewDeleteLaunchTemplateRequest() @@ -1182,13 +1181,14 @@ func (c *Client) DeleteLaunchTemplate(request *DeleteLaunchTemplateRequest) (res // 本接口(DeleteLaunchTemplate)用于删除一个实例启动模板。 // // 可能返回的错误码: -// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" -// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" +// +// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" +// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" func (c *Client) DeleteLaunchTemplateWithContext(ctx context.Context, request *DeleteLaunchTemplateRequest) (response *DeleteLaunchTemplateResponse, err error) { if request == nil { request = NewDeleteLaunchTemplateRequest() @@ -1220,16 +1220,17 @@ func NewDeleteLaunchTemplateVersionsResponse() (response *DeleteLaunchTemplateVe // 本接口(DeleteLaunchTemplateVersions)用于删除一个或者多个实例启动模板版本。 // // 可能返回的错误码: -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEDEFAULTVERSION = "InvalidParameterValue.LaunchTemplateDefaultVersion" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" -// MISSINGPARAMETER = "MissingParameter" -// UNKNOWNPARAMETER = "UnknownParameter" +// +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEDEFAULTVERSION = "InvalidParameterValue.LaunchTemplateDefaultVersion" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" +// MISSINGPARAMETER = "MissingParameter" +// UNKNOWNPARAMETER = "UnknownParameter" func (c *Client) DeleteLaunchTemplateVersions(request *DeleteLaunchTemplateVersionsRequest) (response *DeleteLaunchTemplateVersionsResponse, err error) { if request == nil { request = NewDeleteLaunchTemplateVersionsRequest() @@ -1244,16 +1245,17 @@ func (c *Client) DeleteLaunchTemplateVersions(request *DeleteLaunchTemplateVersi // 本接口(DeleteLaunchTemplateVersions)用于删除一个或者多个实例启动模板版本。 // // 可能返回的错误码: -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEDEFAULTVERSION = "InvalidParameterValue.LaunchTemplateDefaultVersion" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" -// MISSINGPARAMETER = "MissingParameter" -// UNKNOWNPARAMETER = "UnknownParameter" +// +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEDEFAULTVERSION = "InvalidParameterValue.LaunchTemplateDefaultVersion" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" +// MISSINGPARAMETER = "MissingParameter" +// UNKNOWNPARAMETER = "UnknownParameter" func (c *Client) DeleteLaunchTemplateVersionsWithContext(ctx context.Context, request *DeleteLaunchTemplateVersionsRequest) (response *DeleteLaunchTemplateVersionsResponse, err error) { if request == nil { request = NewDeleteLaunchTemplateVersionsRequest() @@ -1285,9 +1287,10 @@ func NewDescribeAccountQuotaResponse() (response *DescribeAccountQuotaResponse) // 本接口(DescribeAccountQuota)用于查询用户配额详情。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" func (c *Client) DescribeAccountQuota(request *DescribeAccountQuotaRequest) (response *DescribeAccountQuotaResponse, err error) { if request == nil { request = NewDescribeAccountQuotaRequest() @@ -1302,9 +1305,10 @@ func (c *Client) DescribeAccountQuota(request *DescribeAccountQuotaRequest) (res // 本接口(DescribeAccountQuota)用于查询用户配额详情。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" func (c *Client) DescribeAccountQuotaWithContext(ctx context.Context, request *DescribeAccountQuotaRequest) (response *DescribeAccountQuotaResponse, err error) { if request == nil { request = NewDescribeAccountQuotaRequest() @@ -1336,9 +1340,10 @@ func NewDescribeDisasterRecoverGroupQuotaResponse() (response *DescribeDisasterR // 本接口 (DescribeDisasterRecoverGroupQuota)用于查询[分散置放群组](https://cloud.tencent.com/document/product/213/15486)配额。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" func (c *Client) DescribeDisasterRecoverGroupQuota(request *DescribeDisasterRecoverGroupQuotaRequest) (response *DescribeDisasterRecoverGroupQuotaResponse, err error) { if request == nil { request = NewDescribeDisasterRecoverGroupQuotaRequest() @@ -1353,9 +1358,10 @@ func (c *Client) DescribeDisasterRecoverGroupQuota(request *DescribeDisasterReco // 本接口 (DescribeDisasterRecoverGroupQuota)用于查询[分散置放群组](https://cloud.tencent.com/document/product/213/15486)配额。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" func (c *Client) DescribeDisasterRecoverGroupQuotaWithContext(ctx context.Context, request *DescribeDisasterRecoverGroupQuotaRequest) (response *DescribeDisasterRecoverGroupQuotaResponse, err error) { if request == nil { request = NewDescribeDisasterRecoverGroupQuotaRequest() @@ -1387,9 +1393,10 @@ func NewDescribeDisasterRecoverGroupsResponse() (response *DescribeDisasterRecov // 本接口 (DescribeDisasterRecoverGroups)用于查询[分散置放群组](https://cloud.tencent.com/document/product/213/15486)信息。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" func (c *Client) DescribeDisasterRecoverGroups(request *DescribeDisasterRecoverGroupsRequest) (response *DescribeDisasterRecoverGroupsResponse, err error) { if request == nil { request = NewDescribeDisasterRecoverGroupsRequest() @@ -1404,9 +1411,10 @@ func (c *Client) DescribeDisasterRecoverGroups(request *DescribeDisasterRecoverG // 本接口 (DescribeDisasterRecoverGroups)用于查询[分散置放群组](https://cloud.tencent.com/document/product/213/15486)信息。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" func (c *Client) DescribeDisasterRecoverGroupsWithContext(ctx context.Context, request *DescribeDisasterRecoverGroupsRequest) (response *DescribeDisasterRecoverGroupsResponse, err error) { if request == nil { request = NewDescribeDisasterRecoverGroupsRequest() @@ -1438,11 +1446,12 @@ func NewDescribeHostsResponse() (response *DescribeHostsResponse) { // 本接口 (DescribeHosts) 用于获取一个或多个CDH实例的详细信息。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" func (c *Client) DescribeHosts(request *DescribeHostsRequest) (response *DescribeHostsResponse, err error) { if request == nil { request = NewDescribeHostsRequest() @@ -1457,11 +1466,12 @@ func (c *Client) DescribeHosts(request *DescribeHostsRequest) (response *Describ // 本接口 (DescribeHosts) 用于获取一个或多个CDH实例的详细信息。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" func (c *Client) DescribeHostsWithContext(ctx context.Context, request *DescribeHostsRequest) (response *DescribeHostsResponse, err error) { if request == nil { request = NewDescribeHostsRequest() @@ -1493,11 +1503,12 @@ func NewDescribeImageQuotaResponse() (response *DescribeImageQuotaResponse) { // 本接口(DescribeImageQuota)用于查询用户帐号的镜像配额。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" func (c *Client) DescribeImageQuota(request *DescribeImageQuotaRequest) (response *DescribeImageQuotaResponse, err error) { if request == nil { request = NewDescribeImageQuotaRequest() @@ -1512,11 +1523,12 @@ func (c *Client) DescribeImageQuota(request *DescribeImageQuotaRequest) (respons // 本接口(DescribeImageQuota)用于查询用户帐号的镜像配额。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" func (c *Client) DescribeImageQuotaWithContext(ctx context.Context, request *DescribeImageQuotaRequest) (response *DescribeImageQuotaResponse, err error) { if request == nil { request = NewDescribeImageQuotaRequest() @@ -1548,12 +1560,13 @@ func NewDescribeImageSharePermissionResponse() (response *DescribeImageSharePerm // 本接口(DescribeImageSharePermission)用于查询镜像分享信息。 // // 可能返回的错误码: -// INVALIDACCOUNTID_NOTFOUND = "InvalidAccountId.NotFound" -// INVALIDACCOUNTIS_YOURSELF = "InvalidAccountIs.YourSelf" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// OVERQUOTA = "OverQuota" -// UNAUTHORIZEDOPERATION_IMAGENOTBELONGTOACCOUNT = "UnauthorizedOperation.ImageNotBelongToAccount" +// +// INVALIDACCOUNTID_NOTFOUND = "InvalidAccountId.NotFound" +// INVALIDACCOUNTIS_YOURSELF = "InvalidAccountIs.YourSelf" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// OVERQUOTA = "OverQuota" +// UNAUTHORIZEDOPERATION_IMAGENOTBELONGTOACCOUNT = "UnauthorizedOperation.ImageNotBelongToAccount" func (c *Client) DescribeImageSharePermission(request *DescribeImageSharePermissionRequest) (response *DescribeImageSharePermissionResponse, err error) { if request == nil { request = NewDescribeImageSharePermissionRequest() @@ -1568,12 +1581,13 @@ func (c *Client) DescribeImageSharePermission(request *DescribeImageSharePermiss // 本接口(DescribeImageSharePermission)用于查询镜像分享信息。 // // 可能返回的错误码: -// INVALIDACCOUNTID_NOTFOUND = "InvalidAccountId.NotFound" -// INVALIDACCOUNTIS_YOURSELF = "InvalidAccountIs.YourSelf" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// OVERQUOTA = "OverQuota" -// UNAUTHORIZEDOPERATION_IMAGENOTBELONGTOACCOUNT = "UnauthorizedOperation.ImageNotBelongToAccount" +// +// INVALIDACCOUNTID_NOTFOUND = "InvalidAccountId.NotFound" +// INVALIDACCOUNTIS_YOURSELF = "InvalidAccountIs.YourSelf" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// OVERQUOTA = "OverQuota" +// UNAUTHORIZEDOPERATION_IMAGENOTBELONGTOACCOUNT = "UnauthorizedOperation.ImageNotBelongToAccount" func (c *Client) DescribeImageSharePermissionWithContext(ctx context.Context, request *DescribeImageSharePermissionRequest) (response *DescribeImageSharePermissionResponse, err error) { if request == nil { request = NewDescribeImageSharePermissionRequest() @@ -1604,22 +1618,21 @@ func NewDescribeImagesResponse() (response *DescribeImagesResponse) { // DescribeImages // 本接口(DescribeImages) 用于查看镜像列表。 // -// -// // * 可以通过指定镜像ID来查询指定镜像的详细信息,或通过设定过滤器来查询满足过滤条件的镜像的详细信息。 // // * 指定偏移(Offset)和限制(Limit)来选择结果中的一部分,默认返回满足条件的前20个镜像信息。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER_INVALIDPARAMETERCOEXISTIMAGEIDSFILTERS = "InvalidParameter.InvalidParameterCoexistImageIdsFilters" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" -// INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = "InvalidParameterValue.InvalidParameterValueLimit" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER_INVALIDPARAMETERCOEXISTIMAGEIDSFILTERS = "InvalidParameter.InvalidParameterCoexistImageIdsFilters" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" +// INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = "InvalidParameterValue.InvalidParameterValueLimit" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" func (c *Client) DescribeImages(request *DescribeImagesRequest) (response *DescribeImagesResponse, err error) { if request == nil { request = NewDescribeImagesRequest() @@ -1633,22 +1646,21 @@ func (c *Client) DescribeImages(request *DescribeImagesRequest) (response *Descr // DescribeImages // 本接口(DescribeImages) 用于查看镜像列表。 // -// -// // * 可以通过指定镜像ID来查询指定镜像的详细信息,或通过设定过滤器来查询满足过滤条件的镜像的详细信息。 // // * 指定偏移(Offset)和限制(Limit)来选择结果中的一部分,默认返回满足条件的前20个镜像信息。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER_INVALIDPARAMETERCOEXISTIMAGEIDSFILTERS = "InvalidParameter.InvalidParameterCoexistImageIdsFilters" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" -// INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = "InvalidParameterValue.InvalidParameterValueLimit" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER_INVALIDPARAMETERCOEXISTIMAGEIDSFILTERS = "InvalidParameter.InvalidParameterCoexistImageIdsFilters" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" +// INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = "InvalidParameterValue.InvalidParameterValueLimit" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" func (c *Client) DescribeImagesWithContext(ctx context.Context, request *DescribeImagesRequest) (response *DescribeImagesResponse, err error) { if request == nil { request = NewDescribeImagesRequest() @@ -1680,15 +1692,16 @@ func NewDescribeImportImageOsResponse() (response *DescribeImportImageOsResponse // 查看可以导入的镜像操作系统信息。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER_INVALIDPARAMETERCOEXISTIMAGEIDSFILTERS = "InvalidParameter.InvalidParameterCoexistImageIdsFilters" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" -// INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = "InvalidParameterValue.InvalidParameterValueLimit" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER_INVALIDPARAMETERCOEXISTIMAGEIDSFILTERS = "InvalidParameter.InvalidParameterCoexistImageIdsFilters" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" +// INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = "InvalidParameterValue.InvalidParameterValueLimit" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" func (c *Client) DescribeImportImageOs(request *DescribeImportImageOsRequest) (response *DescribeImportImageOsResponse, err error) { if request == nil { request = NewDescribeImportImageOsRequest() @@ -1703,15 +1716,16 @@ func (c *Client) DescribeImportImageOs(request *DescribeImportImageOsRequest) (r // 查看可以导入的镜像操作系统信息。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER_INVALIDPARAMETERCOEXISTIMAGEIDSFILTERS = "InvalidParameter.InvalidParameterCoexistImageIdsFilters" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" -// INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = "InvalidParameterValue.InvalidParameterValueLimit" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER_INVALIDPARAMETERCOEXISTIMAGEIDSFILTERS = "InvalidParameter.InvalidParameterCoexistImageIdsFilters" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" +// INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = "InvalidParameterValue.InvalidParameterValueLimit" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" func (c *Client) DescribeImportImageOsWithContext(ctx context.Context, request *DescribeImportImageOsRequest) (response *DescribeImportImageOsResponse, err error) { if request == nil { request = NewDescribeImportImageOsRequest() @@ -1743,9 +1757,10 @@ func NewDescribeInstanceFamilyConfigsResponse() (response *DescribeInstanceFamil // 本接口(DescribeInstanceFamilyConfigs)查询当前用户和地域所支持的机型族列表信息。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" func (c *Client) DescribeInstanceFamilyConfigs(request *DescribeInstanceFamilyConfigsRequest) (response *DescribeInstanceFamilyConfigsResponse, err error) { if request == nil { request = NewDescribeInstanceFamilyConfigsRequest() @@ -1760,9 +1775,10 @@ func (c *Client) DescribeInstanceFamilyConfigs(request *DescribeInstanceFamilyCo // 本接口(DescribeInstanceFamilyConfigs)查询当前用户和地域所支持的机型族列表信息。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" func (c *Client) DescribeInstanceFamilyConfigsWithContext(ctx context.Context, request *DescribeInstanceFamilyConfigsRequest) (response *DescribeInstanceFamilyConfigsResponse, err error) { if request == nil { request = NewDescribeInstanceFamilyConfigsRequest() @@ -1793,19 +1809,18 @@ func NewDescribeInstanceInternetBandwidthConfigsResponse() (response *DescribeIn // DescribeInstanceInternetBandwidthConfigs // 本接口 (DescribeInstanceInternetBandwidthConfigs) 用于查询实例带宽配置。 // -// -// // * 只支持查询`BANDWIDTH_PREPAID`( 预付费按带宽结算 )计费模式的带宽配置。 // // * 接口返回实例的所有带宽配置信息(包含历史的带宽配置信息)。 // // 可能返回的错误码: -// FAILEDOPERATION_NOTFOUNDEIP = "FailedOperation.NotFoundEIP" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// MISSINGPARAMETER = "MissingParameter" +// +// FAILEDOPERATION_NOTFOUNDEIP = "FailedOperation.NotFoundEIP" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) DescribeInstanceInternetBandwidthConfigs(request *DescribeInstanceInternetBandwidthConfigsRequest) (response *DescribeInstanceInternetBandwidthConfigsResponse, err error) { if request == nil { request = NewDescribeInstanceInternetBandwidthConfigsRequest() @@ -1819,19 +1834,18 @@ func (c *Client) DescribeInstanceInternetBandwidthConfigs(request *DescribeInsta // DescribeInstanceInternetBandwidthConfigs // 本接口 (DescribeInstanceInternetBandwidthConfigs) 用于查询实例带宽配置。 // -// -// // * 只支持查询`BANDWIDTH_PREPAID`( 预付费按带宽结算 )计费模式的带宽配置。 // // * 接口返回实例的所有带宽配置信息(包含历史的带宽配置信息)。 // // 可能返回的错误码: -// FAILEDOPERATION_NOTFOUNDEIP = "FailedOperation.NotFoundEIP" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// MISSINGPARAMETER = "MissingParameter" +// +// FAILEDOPERATION_NOTFOUNDEIP = "FailedOperation.NotFoundEIP" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) DescribeInstanceInternetBandwidthConfigsWithContext(ctx context.Context, request *DescribeInstanceInternetBandwidthConfigsRequest) (response *DescribeInstanceInternetBandwidthConfigsResponse, err error) { if request == nil { request = NewDescribeInstanceInternetBandwidthConfigsRequest() @@ -1862,19 +1876,18 @@ func NewDescribeInstanceTypeConfigsResponse() (response *DescribeInstanceTypeCon // DescribeInstanceTypeConfigs // 本接口 (DescribeInstanceTypeConfigs) 用于查询实例机型配置。 // -// -// // * 可以根据`zone`、`instance-family`来查询实例机型配置。过滤条件详见过滤器[`Filter`](https://cloud.tencent.com/document/api/213/15753#Filter)。 // // * 如果参数为空,返回指定地域的所有实例机型配置。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" func (c *Client) DescribeInstanceTypeConfigs(request *DescribeInstanceTypeConfigsRequest) (response *DescribeInstanceTypeConfigsResponse, err error) { if request == nil { request = NewDescribeInstanceTypeConfigsRequest() @@ -1888,19 +1901,18 @@ func (c *Client) DescribeInstanceTypeConfigs(request *DescribeInstanceTypeConfig // DescribeInstanceTypeConfigs // 本接口 (DescribeInstanceTypeConfigs) 用于查询实例机型配置。 // -// -// // * 可以根据`zone`、`instance-family`来查询实例机型配置。过滤条件详见过滤器[`Filter`](https://cloud.tencent.com/document/api/213/15753#Filter)。 // // * 如果参数为空,返回指定地域的所有实例机型配置。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" func (c *Client) DescribeInstanceTypeConfigsWithContext(ctx context.Context, request *DescribeInstanceTypeConfigsRequest) (response *DescribeInstanceTypeConfigsResponse, err error) { if request == nil { request = NewDescribeInstanceTypeConfigsRequest() @@ -1931,8 +1943,6 @@ func NewDescribeInstanceVncUrlResponse() (response *DescribeInstanceVncUrlRespon // DescribeInstanceVncUrl // 本接口 ( DescribeInstanceVncUrl ) 用于查询实例管理终端地址,获取的地址可用于实例的 VNC 登录。 // -// -// // * 处于 `STOPPED` 状态的机器无法使用此功能。 // // * 管理终端地址的有效期为 15 秒,调用接口成功后如果 15 秒内不使用该链接进行访问,管理终端地址自动失效,您需要重新查询。 @@ -1943,44 +1953,39 @@ func NewDescribeInstanceVncUrlResponse() (response *DescribeInstanceVncUrlRespon // // * 获取到 `InstanceVncUrl` 后,您需要在链接 末尾加上参数 `InstanceVncUrl=xxxx` 。 // -// -// // - 参数 `InstanceVncUrl` :调用接口成功后会返回的 `InstanceVncUrl` 的值。 // -// -// // 最后组成的 URL 格式如下: // -// -// -// ``` +// “` // // https://img.qcloud.com/qcloud/app/active_vnc/index.html?InstanceVncUrl=wss%3A%2F%2Fbjvnc.qcloud.com%3A26789%2Fvnc%3Fs%3DaHpjWnRVMFNhYmxKdDM5MjRHNlVTSVQwajNUSW0wb2tBbmFtREFCTmFrcy8vUUNPMG0wSHZNOUUxRm5PMmUzWmFDcWlOdDJIbUJxSTZDL0RXcHZxYnZZMmRkWWZWcEZia2lyb09XMzdKNmM9 // -// ``` -// -// 可能返回的错误码: -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCESTATE = "InvalidInstanceState" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// “` +// +// 可能返回的错误码: +// +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCESTATE = "InvalidInstanceState" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) DescribeInstanceVncUrl(request *DescribeInstanceVncUrlRequest) (response *DescribeInstanceVncUrlResponse, err error) { if request == nil { request = NewDescribeInstanceVncUrlRequest() @@ -1994,8 +1999,6 @@ func (c *Client) DescribeInstanceVncUrl(request *DescribeInstanceVncUrlRequest) // DescribeInstanceVncUrl // 本接口 ( DescribeInstanceVncUrl ) 用于查询实例管理终端地址,获取的地址可用于实例的 VNC 登录。 // -// -// // * 处于 `STOPPED` 状态的机器无法使用此功能。 // // * 管理终端地址的有效期为 15 秒,调用接口成功后如果 15 秒内不使用该链接进行访问,管理终端地址自动失效,您需要重新查询。 @@ -2006,44 +2009,39 @@ func (c *Client) DescribeInstanceVncUrl(request *DescribeInstanceVncUrlRequest) // // * 获取到 `InstanceVncUrl` 后,您需要在链接 末尾加上参数 `InstanceVncUrl=xxxx` 。 // -// -// // - 参数 `InstanceVncUrl` :调用接口成功后会返回的 `InstanceVncUrl` 的值。 // -// -// // 最后组成的 URL 格式如下: // -// -// -// ``` +// “` // // https://img.qcloud.com/qcloud/app/active_vnc/index.html?InstanceVncUrl=wss%3A%2F%2Fbjvnc.qcloud.com%3A26789%2Fvnc%3Fs%3DaHpjWnRVMFNhYmxKdDM5MjRHNlVTSVQwajNUSW0wb2tBbmFtREFCTmFrcy8vUUNPMG0wSHZNOUUxRm5PMmUzWmFDcWlOdDJIbUJxSTZDL0RXcHZxYnZZMmRkWWZWcEZia2lyb09XMzdKNmM9 // -// ``` -// -// 可能返回的错误码: -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCESTATE = "InvalidInstanceState" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// “` +// +// 可能返回的错误码: +// +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCESTATE = "InvalidInstanceState" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) DescribeInstanceVncUrlWithContext(ctx context.Context, request *DescribeInstanceVncUrlRequest) (response *DescribeInstanceVncUrlResponse, err error) { if request == nil { request = NewDescribeInstanceVncUrlRequest() @@ -2074,8 +2072,6 @@ func NewDescribeInstancesResponse() (response *DescribeInstancesResponse) { // DescribeInstances // 本接口 (DescribeInstances) 用于查询一个或多个实例的详细信息。 // -// -// // * 可以根据实例`ID`、实例名称或者实例计费模式等信息来查询实例的详细信息。过滤信息详细请见过滤器`Filter`。 // // * 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的实例。 @@ -2083,30 +2079,31 @@ func NewDescribeInstancesResponse() (response *DescribeInstancesResponse) { // * 支持查询实例的最新操作(LatestOperation)以及最新操作状态(LatestOperationState)。 // // 可能返回的错误码: -// FAILEDOPERATION_ILLEGALTAGKEY = "FailedOperation.IllegalTagKey" -// FAILEDOPERATION_ILLEGALTAGVALUE = "FailedOperation.IllegalTagValue" -// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_IPADDRESSMALFORMED = "InvalidParameterValue.IPAddressMalformed" -// INVALIDPARAMETERVALUE_IPV6ADDRESSMALFORMED = "InvalidParameterValue.IPv6AddressMalformed" -// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" -// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" -// INVALIDPARAMETERVALUE_INVALIDVAGUENAME = "InvalidParameterValue.InvalidVagueName" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_SUBNETIDMALFORMED = "InvalidParameterValue.SubnetIdMalformed" -// INVALIDPARAMETERVALUE_TAGKEYNOTFOUND = "InvalidParameterValue.TagKeyNotFound" -// INVALIDPARAMETERVALUE_VPCIDMALFORMED = "InvalidParameterValue.VpcIdMalformed" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" -// INVALIDSGID_MALFORMED = "InvalidSgId.Malformed" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" -// UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" +// +// FAILEDOPERATION_ILLEGALTAGKEY = "FailedOperation.IllegalTagKey" +// FAILEDOPERATION_ILLEGALTAGVALUE = "FailedOperation.IllegalTagValue" +// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_IPADDRESSMALFORMED = "InvalidParameterValue.IPAddressMalformed" +// INVALIDPARAMETERVALUE_IPV6ADDRESSMALFORMED = "InvalidParameterValue.IPv6AddressMalformed" +// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" +// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" +// INVALIDPARAMETERVALUE_INVALIDVAGUENAME = "InvalidParameterValue.InvalidVagueName" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_SUBNETIDMALFORMED = "InvalidParameterValue.SubnetIdMalformed" +// INVALIDPARAMETERVALUE_TAGKEYNOTFOUND = "InvalidParameterValue.TagKeyNotFound" +// INVALIDPARAMETERVALUE_VPCIDMALFORMED = "InvalidParameterValue.VpcIdMalformed" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" +// INVALIDSGID_MALFORMED = "InvalidSgId.Malformed" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" +// UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error) { if request == nil { request = NewDescribeInstancesRequest() @@ -2120,8 +2117,6 @@ func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response // DescribeInstances // 本接口 (DescribeInstances) 用于查询一个或多个实例的详细信息。 // -// -// // * 可以根据实例`ID`、实例名称或者实例计费模式等信息来查询实例的详细信息。过滤信息详细请见过滤器`Filter`。 // // * 如果参数为空,返回当前用户一定数量(`Limit`所指定的数量,默认为20)的实例。 @@ -2129,30 +2124,31 @@ func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response // * 支持查询实例的最新操作(LatestOperation)以及最新操作状态(LatestOperationState)。 // // 可能返回的错误码: -// FAILEDOPERATION_ILLEGALTAGKEY = "FailedOperation.IllegalTagKey" -// FAILEDOPERATION_ILLEGALTAGVALUE = "FailedOperation.IllegalTagValue" -// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_IPADDRESSMALFORMED = "InvalidParameterValue.IPAddressMalformed" -// INVALIDPARAMETERVALUE_IPV6ADDRESSMALFORMED = "InvalidParameterValue.IPv6AddressMalformed" -// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" -// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" -// INVALIDPARAMETERVALUE_INVALIDVAGUENAME = "InvalidParameterValue.InvalidVagueName" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_SUBNETIDMALFORMED = "InvalidParameterValue.SubnetIdMalformed" -// INVALIDPARAMETERVALUE_TAGKEYNOTFOUND = "InvalidParameterValue.TagKeyNotFound" -// INVALIDPARAMETERVALUE_VPCIDMALFORMED = "InvalidParameterValue.VpcIdMalformed" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" -// INVALIDSGID_MALFORMED = "InvalidSgId.Malformed" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" -// UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" +// +// FAILEDOPERATION_ILLEGALTAGKEY = "FailedOperation.IllegalTagKey" +// FAILEDOPERATION_ILLEGALTAGVALUE = "FailedOperation.IllegalTagValue" +// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_IPADDRESSMALFORMED = "InvalidParameterValue.IPAddressMalformed" +// INVALIDPARAMETERVALUE_IPV6ADDRESSMALFORMED = "InvalidParameterValue.IPv6AddressMalformed" +// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" +// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" +// INVALIDPARAMETERVALUE_INVALIDVAGUENAME = "InvalidParameterValue.InvalidVagueName" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_SUBNETIDMALFORMED = "InvalidParameterValue.SubnetIdMalformed" +// INVALIDPARAMETERVALUE_TAGKEYNOTFOUND = "InvalidParameterValue.TagKeyNotFound" +// INVALIDPARAMETERVALUE_VPCIDMALFORMED = "InvalidParameterValue.VpcIdMalformed" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" +// INVALIDSGID_MALFORMED = "InvalidSgId.Malformed" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" +// UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error) { if request == nil { request = NewDescribeInstancesRequest() @@ -2184,12 +2180,13 @@ func NewDescribeInstancesModificationResponse() (response *DescribeInstancesModi // 本接口 (DescribeInstancesModification) 用于查询指定实例支持调整的机型配置。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILY = "UnsupportedOperation.UnsupportedChangeInstanceFamily" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILY = "UnsupportedOperation.UnsupportedChangeInstanceFamily" func (c *Client) DescribeInstancesModification(request *DescribeInstancesModificationRequest) (response *DescribeInstancesModificationResponse, err error) { if request == nil { request = NewDescribeInstancesModificationRequest() @@ -2204,12 +2201,13 @@ func (c *Client) DescribeInstancesModification(request *DescribeInstancesModific // 本接口 (DescribeInstancesModification) 用于查询指定实例支持调整的机型配置。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILY = "UnsupportedOperation.UnsupportedChangeInstanceFamily" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILY = "UnsupportedOperation.UnsupportedChangeInstanceFamily" func (c *Client) DescribeInstancesModificationWithContext(ctx context.Context, request *DescribeInstancesModificationRequest) (response *DescribeInstancesModificationResponse, err error) { if request == nil { request = NewDescribeInstancesModificationRequest() @@ -2240,13 +2238,12 @@ func NewDescribeInstancesOperationLimitResponse() (response *DescribeInstancesOp // DescribeInstancesOperationLimit // 本接口(DescribeInstancesOperationLimit)用于查询实例操作限制。 // -// -// // * 目前支持调整配置操作限制次数查询。 // // 可能返回的错误码: -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" func (c *Client) DescribeInstancesOperationLimit(request *DescribeInstancesOperationLimitRequest) (response *DescribeInstancesOperationLimitResponse, err error) { if request == nil { request = NewDescribeInstancesOperationLimitRequest() @@ -2260,13 +2257,12 @@ func (c *Client) DescribeInstancesOperationLimit(request *DescribeInstancesOpera // DescribeInstancesOperationLimit // 本接口(DescribeInstancesOperationLimit)用于查询实例操作限制。 // -// -// // * 目前支持调整配置操作限制次数查询。 // // 可能返回的错误码: -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" func (c *Client) DescribeInstancesOperationLimitWithContext(ctx context.Context, request *DescribeInstancesOperationLimitRequest) (response *DescribeInstancesOperationLimitResponse, err error) { if request == nil { request = NewDescribeInstancesOperationLimitRequest() @@ -2297,18 +2293,17 @@ func NewDescribeInstancesStatusResponse() (response *DescribeInstancesStatusResp // DescribeInstancesStatus // 本接口 (DescribeInstancesStatus) 用于查询一个或多个实例的状态。 // -// -// // * 可以根据实例`ID`来查询实例的状态。 // // * 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的实例状态。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" func (c *Client) DescribeInstancesStatus(request *DescribeInstancesStatusRequest) (response *DescribeInstancesStatusResponse, err error) { if request == nil { request = NewDescribeInstancesStatusRequest() @@ -2322,18 +2317,17 @@ func (c *Client) DescribeInstancesStatus(request *DescribeInstancesStatusRequest // DescribeInstancesStatus // 本接口 (DescribeInstancesStatus) 用于查询一个或多个实例的状态。 // -// -// // * 可以根据实例`ID`来查询实例的状态。 // // * 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的实例状态。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" func (c *Client) DescribeInstancesStatusWithContext(ctx context.Context, request *DescribeInstancesStatusRequest) (response *DescribeInstancesStatusResponse, err error) { if request == nil { request = NewDescribeInstancesStatusRequest() @@ -2365,11 +2359,12 @@ func NewDescribeInternetChargeTypeConfigsResponse() (response *DescribeInternetC // 本接口(DescribeInternetChargeTypeConfigs)用于查询网络的计费类型。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" func (c *Client) DescribeInternetChargeTypeConfigs(request *DescribeInternetChargeTypeConfigsRequest) (response *DescribeInternetChargeTypeConfigsResponse, err error) { if request == nil { request = NewDescribeInternetChargeTypeConfigsRequest() @@ -2384,11 +2379,12 @@ func (c *Client) DescribeInternetChargeTypeConfigs(request *DescribeInternetChar // 本接口(DescribeInternetChargeTypeConfigs)用于查询网络的计费类型。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNAUTHORIZEDOPERATION_INVALIDTOKEN = "UnauthorizedOperation.InvalidToken" func (c *Client) DescribeInternetChargeTypeConfigsWithContext(ctx context.Context, request *DescribeInternetChargeTypeConfigsRequest) (response *DescribeInternetChargeTypeConfigsResponse, err error) { if request == nil { request = NewDescribeInternetChargeTypeConfigsRequest() @@ -2419,21 +2415,20 @@ func NewDescribeKeyPairsResponse() (response *DescribeKeyPairsResponse) { // DescribeKeyPairs // 本接口 (DescribeKeyPairs) 用于查询密钥对信息。 // -// -// // * 密钥对是通过一种算法生成的一对密钥,在生成的密钥对中,一个向外界公开,称为公钥;另一个用户自己保留,称为私钥。密钥对的公钥内容可以通过这个接口查询,但私钥内容系统不保留。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" -// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUELIMIT = "InvalidParameterValueLimit" -// INVALIDPARAMETERVALUEOFFSET = "InvalidParameterValueOffset" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" +// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUELIMIT = "InvalidParameterValueLimit" +// INVALIDPARAMETERVALUEOFFSET = "InvalidParameterValueOffset" func (c *Client) DescribeKeyPairs(request *DescribeKeyPairsRequest) (response *DescribeKeyPairsResponse, err error) { if request == nil { request = NewDescribeKeyPairsRequest() @@ -2447,21 +2442,20 @@ func (c *Client) DescribeKeyPairs(request *DescribeKeyPairsRequest) (response *D // DescribeKeyPairs // 本接口 (DescribeKeyPairs) 用于查询密钥对信息。 // -// -// // * 密钥对是通过一种算法生成的一对密钥,在生成的密钥对中,一个向外界公开,称为公钥;另一个用户自己保留,称为私钥。密钥对的公钥内容可以通过这个接口查询,但私钥内容系统不保留。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" -// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUELIMIT = "InvalidParameterValueLimit" -// INVALIDPARAMETERVALUEOFFSET = "InvalidParameterValueOffset" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" +// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUELIMIT = "InvalidParameterValueLimit" +// INVALIDPARAMETERVALUEOFFSET = "InvalidParameterValueOffset" func (c *Client) DescribeKeyPairsWithContext(ctx context.Context, request *DescribeKeyPairsRequest) (response *DescribeKeyPairsResponse, err error) { if request == nil { request = NewDescribeKeyPairsRequest() @@ -2493,24 +2487,25 @@ func NewDescribeLaunchTemplateVersionsResponse() (response *DescribeLaunchTempla // 本接口(DescribeLaunchTemplateVersions)用于查询实例模板版本信息。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_NOTSUPPORTED = "InvalidParameterValue.NotSupported" -// MISSINGPARAMETER = "MissingParameter" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_NOTSUPPORTED = "InvalidParameterValue.NotSupported" +// MISSINGPARAMETER = "MissingParameter" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeLaunchTemplateVersions(request *DescribeLaunchTemplateVersionsRequest) (response *DescribeLaunchTemplateVersionsResponse, err error) { if request == nil { request = NewDescribeLaunchTemplateVersionsRequest() @@ -2525,24 +2520,25 @@ func (c *Client) DescribeLaunchTemplateVersions(request *DescribeLaunchTemplateV // 本接口(DescribeLaunchTemplateVersions)用于查询实例模板版本信息。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_NOTSUPPORTED = "InvalidParameterValue.NotSupported" -// MISSINGPARAMETER = "MissingParameter" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_NOTSUPPORTED = "InvalidParameterValue.NotSupported" +// MISSINGPARAMETER = "MissingParameter" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeLaunchTemplateVersionsWithContext(ctx context.Context, request *DescribeLaunchTemplateVersionsRequest) (response *DescribeLaunchTemplateVersionsResponse, err error) { if request == nil { request = NewDescribeLaunchTemplateVersionsRequest() @@ -2574,15 +2570,16 @@ func NewDescribeLaunchTemplatesResponse() (response *DescribeLaunchTemplatesResp // 本接口(DescribeLaunchTemplates)用于查询一个或者多个实例启动模板。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATENAME = "InvalidParameterValue.InvalidLaunchTemplateName" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATENAME = "InvalidParameterValue.InvalidLaunchTemplateName" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeLaunchTemplates(request *DescribeLaunchTemplatesRequest) (response *DescribeLaunchTemplatesResponse, err error) { if request == nil { request = NewDescribeLaunchTemplatesRequest() @@ -2597,15 +2594,16 @@ func (c *Client) DescribeLaunchTemplates(request *DescribeLaunchTemplatesRequest // 本接口(DescribeLaunchTemplates)用于查询一个或者多个实例启动模板。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATENAME = "InvalidParameterValue.InvalidLaunchTemplateName" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATENAME = "InvalidParameterValue.InvalidLaunchTemplateName" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeLaunchTemplatesWithContext(ctx context.Context, request *DescribeLaunchTemplatesRequest) (response *DescribeLaunchTemplatesResponse, err error) { if request == nil { request = NewDescribeLaunchTemplatesRequest() @@ -2637,15 +2635,16 @@ func NewDescribeRegionsResponse() (response *DescribeRegionsResponse) { // 本接口(DescribeRegions)用于查询地域信息。因平台策略原因,该接口暂时停止更新,为确保您正常调用,可切换至新链接:https://cloud.tencent.com/document/product/1278/55255。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATENAME = "InvalidParameterValue.InvalidLaunchTemplateName" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATENAME = "InvalidParameterValue.InvalidLaunchTemplateName" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error) { if request == nil { request = NewDescribeRegionsRequest() @@ -2660,15 +2659,16 @@ func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *Des // 本接口(DescribeRegions)用于查询地域信息。因平台策略原因,该接口暂时停止更新,为确保您正常调用,可切换至新链接:https://cloud.tencent.com/document/product/1278/55255。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATENAME = "InvalidParameterValue.InvalidLaunchTemplateName" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_INVALIDLAUNCHTEMPLATENAME = "InvalidParameterValue.InvalidLaunchTemplateName" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error) { if request == nil { request = NewDescribeRegionsRequest() @@ -2700,14 +2700,15 @@ func NewDescribeReservedInstancesResponse() (response *DescribeReservedInstances // 本接口(DescribeReservedInstances)可提供列出用户已购买的预留实例 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" -// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" +// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" func (c *Client) DescribeReservedInstances(request *DescribeReservedInstancesRequest) (response *DescribeReservedInstancesResponse, err error) { if request == nil { request = NewDescribeReservedInstancesRequest() @@ -2722,14 +2723,15 @@ func (c *Client) DescribeReservedInstances(request *DescribeReservedInstancesReq // 本接口(DescribeReservedInstances)可提供列出用户已购买的预留实例 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" -// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" +// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" func (c *Client) DescribeReservedInstancesWithContext(ctx context.Context, request *DescribeReservedInstancesRequest) (response *DescribeReservedInstancesResponse, err error) { if request == nil { request = NewDescribeReservedInstancesRequest() @@ -2761,10 +2763,11 @@ func NewDescribeReservedInstancesConfigInfosResponse() (response *DescribeReserv // 本接口(DescribeReservedInstancesConfigInfos)供用户列出可购买预留实例机型配置。预留实例当前只针对国际站白名单用户开放。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" -// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" +// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" func (c *Client) DescribeReservedInstancesConfigInfos(request *DescribeReservedInstancesConfigInfosRequest) (response *DescribeReservedInstancesConfigInfosResponse, err error) { if request == nil { request = NewDescribeReservedInstancesConfigInfosRequest() @@ -2779,10 +2782,11 @@ func (c *Client) DescribeReservedInstancesConfigInfos(request *DescribeReservedI // 本接口(DescribeReservedInstancesConfigInfos)供用户列出可购买预留实例机型配置。预留实例当前只针对国际站白名单用户开放。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" -// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" +// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" func (c *Client) DescribeReservedInstancesConfigInfosWithContext(ctx context.Context, request *DescribeReservedInstancesConfigInfosRequest) (response *DescribeReservedInstancesConfigInfosResponse, err error) { if request == nil { request = NewDescribeReservedInstancesConfigInfosRequest() @@ -2814,14 +2818,15 @@ func NewDescribeReservedInstancesOfferingsResponse() (response *DescribeReserved // 本接口(DescribeReservedInstancesOfferings)供用户列出可购买的预留实例配置 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" -// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" +// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" func (c *Client) DescribeReservedInstancesOfferings(request *DescribeReservedInstancesOfferingsRequest) (response *DescribeReservedInstancesOfferingsResponse, err error) { if request == nil { request = NewDescribeReservedInstancesOfferingsRequest() @@ -2836,14 +2841,15 @@ func (c *Client) DescribeReservedInstancesOfferings(request *DescribeReservedIns // 本接口(DescribeReservedInstancesOfferings)供用户列出可购买的预留实例配置 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" -// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" +// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" func (c *Client) DescribeReservedInstancesOfferingsWithContext(ctx context.Context, request *DescribeReservedInstancesOfferingsRequest) (response *DescribeReservedInstancesOfferingsResponse, err error) { if request == nil { request = NewDescribeReservedInstancesOfferingsRequest() @@ -2875,17 +2881,18 @@ func NewDescribeZoneInstanceConfigInfosResponse() (response *DescribeZoneInstanc // 本接口(DescribeZoneInstanceConfigInfos) 获取可用区的机型信息。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" -// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// RESOURCEINSUFFICIENT_AVAILABILITYZONESOLDOUT = "ResourceInsufficient.AvailabilityZoneSoldOut" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" +// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// RESOURCEINSUFFICIENT_AVAILABILITYZONESOLDOUT = "ResourceInsufficient.AvailabilityZoneSoldOut" func (c *Client) DescribeZoneInstanceConfigInfos(request *DescribeZoneInstanceConfigInfosRequest) (response *DescribeZoneInstanceConfigInfosResponse, err error) { if request == nil { request = NewDescribeZoneInstanceConfigInfosRequest() @@ -2900,17 +2907,18 @@ func (c *Client) DescribeZoneInstanceConfigInfos(request *DescribeZoneInstanceCo // 本接口(DescribeZoneInstanceConfigInfos) 获取可用区的机型信息。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" -// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// RESOURCEINSUFFICIENT_AVAILABILITYZONESOLDOUT = "ResourceInsufficient.AvailabilityZoneSoldOut" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" +// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// RESOURCEINSUFFICIENT_AVAILABILITYZONESOLDOUT = "ResourceInsufficient.AvailabilityZoneSoldOut" func (c *Client) DescribeZoneInstanceConfigInfosWithContext(ctx context.Context, request *DescribeZoneInstanceConfigInfosRequest) (response *DescribeZoneInstanceConfigInfosResponse, err error) { if request == nil { request = NewDescribeZoneInstanceConfigInfosRequest() @@ -2942,17 +2950,18 @@ func NewDescribeZonesResponse() (response *DescribeZonesResponse) { // 本接口(DescribeZones)用于查询可用区信息。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" -// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// RESOURCEINSUFFICIENT_AVAILABILITYZONESOLDOUT = "ResourceInsufficient.AvailabilityZoneSoldOut" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" +// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// RESOURCEINSUFFICIENT_AVAILABILITYZONESOLDOUT = "ResourceInsufficient.AvailabilityZoneSoldOut" func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error) { if request == nil { request = NewDescribeZonesRequest() @@ -2967,17 +2976,18 @@ func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *Describ // 本接口(DescribeZones)用于查询可用区信息。 // // 可能返回的错误码: -// INVALIDFILTER = "InvalidFilter" -// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" -// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// RESOURCEINSUFFICIENT_AVAILABILITYZONESOLDOUT = "ResourceInsufficient.AvailabilityZoneSoldOut" +// +// INVALIDFILTER = "InvalidFilter" +// INVALIDFILTERVALUE_LIMITEXCEEDED = "InvalidFilterValue.LimitExceeded" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" +// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// RESOURCEINSUFFICIENT_AVAILABILITYZONESOLDOUT = "ResourceInsufficient.AvailabilityZoneSoldOut" func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error) { if request == nil { request = NewDescribeZonesRequest() @@ -3008,8 +3018,6 @@ func NewDisassociateInstancesKeyPairsResponse() (response *DisassociateInstances // DisassociateInstancesKeyPairs // 本接口 (DisassociateInstancesKeyPairs) 用于解除实例的密钥绑定关系。 // -// -// // * 只支持[`STOPPED`](https://cloud.tencent.com/document/product/213/15753#InstanceStatus)状态的`Linux`操作系统的实例。 // // * 解绑密钥后,实例可以通过原来设置的密码登录。 @@ -3019,24 +3027,25 @@ func NewDisassociateInstancesKeyPairsResponse() (response *DisassociateInstances // * 支持批量操作。每次请求批量实例的上限为100。如果批量实例存在不允许操作的实例,操作会以特定错误码返回。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" -// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNSUPPORTEDOPERATION_INSTANCEOSWINDOWS = "UnsupportedOperation.InstanceOsWindows" -// UNSUPPORTEDOPERATION_INSTANCESTATEBANNING = "UnsupportedOperation.InstanceStateBanning" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" +// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNSUPPORTEDOPERATION_INSTANCEOSWINDOWS = "UnsupportedOperation.InstanceOsWindows" +// UNSUPPORTEDOPERATION_INSTANCESTATEBANNING = "UnsupportedOperation.InstanceStateBanning" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) DisassociateInstancesKeyPairs(request *DisassociateInstancesKeyPairsRequest) (response *DisassociateInstancesKeyPairsResponse, err error) { if request == nil { request = NewDisassociateInstancesKeyPairsRequest() @@ -3050,8 +3059,6 @@ func (c *Client) DisassociateInstancesKeyPairs(request *DisassociateInstancesKey // DisassociateInstancesKeyPairs // 本接口 (DisassociateInstancesKeyPairs) 用于解除实例的密钥绑定关系。 // -// -// // * 只支持[`STOPPED`](https://cloud.tencent.com/document/product/213/15753#InstanceStatus)状态的`Linux`操作系统的实例。 // // * 解绑密钥后,实例可以通过原来设置的密码登录。 @@ -3061,24 +3068,25 @@ func (c *Client) DisassociateInstancesKeyPairs(request *DisassociateInstancesKey // * 支持批量操作。每次请求批量实例的上限为100。如果批量实例存在不允许操作的实例,操作会以特定错误码返回。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" -// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNSUPPORTEDOPERATION_INSTANCEOSWINDOWS = "UnsupportedOperation.InstanceOsWindows" -// UNSUPPORTEDOPERATION_INSTANCESTATEBANNING = "UnsupportedOperation.InstanceStateBanning" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" +// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNSUPPORTEDOPERATION_INSTANCEOSWINDOWS = "UnsupportedOperation.InstanceOsWindows" +// UNSUPPORTEDOPERATION_INSTANCESTATEBANNING = "UnsupportedOperation.InstanceStateBanning" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) DisassociateInstancesKeyPairsWithContext(ctx context.Context, request *DisassociateInstancesKeyPairsRequest) (response *DisassociateInstancesKeyPairsResponse, err error) { if request == nil { request = NewDisassociateInstancesKeyPairsRequest() @@ -3112,15 +3120,16 @@ func NewDisassociateSecurityGroupsResponse() (response *DisassociateSecurityGrou // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" -// INVALIDSGID_MALFORMED = "InvalidSgId.Malformed" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// SECGROUPACTIONFAILURE = "SecGroupActionFailure" +// +// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" +// INVALIDSGID_MALFORMED = "InvalidSgId.Malformed" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// SECGROUPACTIONFAILURE = "SecGroupActionFailure" func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error) { if request == nil { request = NewDisassociateSecurityGroupsRequest() @@ -3137,15 +3146,16 @@ func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsR // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" -// INVALIDSGID_MALFORMED = "InvalidSgId.Malformed" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// SECGROUPACTIONFAILURE = "SecGroupActionFailure" +// +// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" +// INVALIDSGID_MALFORMED = "InvalidSgId.Malformed" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// SECGROUPACTIONFAILURE = "SecGroupActionFailure" func (c *Client) DisassociateSecurityGroupsWithContext(ctx context.Context, request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error) { if request == nil { request = NewDisassociateSecurityGroupsRequest() @@ -3177,13 +3187,14 @@ func NewImportImageResponse() (response *ImportImageResponse) { // 本接口(ImportImage)用于导入镜像,导入后的镜像可用于创建实例。目前支持 RAW、VHD、QCOW2、VMDK 镜像格式。 // // 可能返回的错误码: -// IMAGEQUOTALIMITEXCEEDED = "ImageQuotaLimitExceeded" -// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" -// INVALIDIMAGEOSTYPE_UNSUPPORTED = "InvalidImageOsType.Unsupported" -// INVALIDIMAGEOSVERSION_UNSUPPORTED = "InvalidImageOsVersion.Unsupported" -// INVALIDPARAMETER_INVALIDPARAMETERURLERROR = "InvalidParameter.InvalidParameterUrlError" -// INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" -// REGIONABILITYLIMIT_UNSUPPORTEDTOIMPORTIMAGE = "RegionAbilityLimit.UnsupportedToImportImage" +// +// IMAGEQUOTALIMITEXCEEDED = "ImageQuotaLimitExceeded" +// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" +// INVALIDIMAGEOSTYPE_UNSUPPORTED = "InvalidImageOsType.Unsupported" +// INVALIDIMAGEOSVERSION_UNSUPPORTED = "InvalidImageOsVersion.Unsupported" +// INVALIDPARAMETER_INVALIDPARAMETERURLERROR = "InvalidParameter.InvalidParameterUrlError" +// INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" +// REGIONABILITYLIMIT_UNSUPPORTEDTOIMPORTIMAGE = "RegionAbilityLimit.UnsupportedToImportImage" func (c *Client) ImportImage(request *ImportImageRequest) (response *ImportImageResponse, err error) { if request == nil { request = NewImportImageRequest() @@ -3198,13 +3209,14 @@ func (c *Client) ImportImage(request *ImportImageRequest) (response *ImportImage // 本接口(ImportImage)用于导入镜像,导入后的镜像可用于创建实例。目前支持 RAW、VHD、QCOW2、VMDK 镜像格式。 // // 可能返回的错误码: -// IMAGEQUOTALIMITEXCEEDED = "ImageQuotaLimitExceeded" -// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" -// INVALIDIMAGEOSTYPE_UNSUPPORTED = "InvalidImageOsType.Unsupported" -// INVALIDIMAGEOSVERSION_UNSUPPORTED = "InvalidImageOsVersion.Unsupported" -// INVALIDPARAMETER_INVALIDPARAMETERURLERROR = "InvalidParameter.InvalidParameterUrlError" -// INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" -// REGIONABILITYLIMIT_UNSUPPORTEDTOIMPORTIMAGE = "RegionAbilityLimit.UnsupportedToImportImage" +// +// IMAGEQUOTALIMITEXCEEDED = "ImageQuotaLimitExceeded" +// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" +// INVALIDIMAGEOSTYPE_UNSUPPORTED = "InvalidImageOsType.Unsupported" +// INVALIDIMAGEOSVERSION_UNSUPPORTED = "InvalidImageOsVersion.Unsupported" +// INVALIDPARAMETER_INVALIDPARAMETERURLERROR = "InvalidParameter.InvalidParameterUrlError" +// INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" +// REGIONABILITYLIMIT_UNSUPPORTEDTOIMPORTIMAGE = "RegionAbilityLimit.UnsupportedToImportImage" func (c *Client) ImportImageWithContext(ctx context.Context, request *ImportImageRequest) (response *ImportImageResponse, err error) { if request == nil { request = NewImportImageRequest() @@ -3235,8 +3247,6 @@ func NewImportKeyPairResponse() (response *ImportKeyPairResponse) { // ImportKeyPair // 本接口 (ImportKeyPair) 用于导入密钥对。 // -// -// // * 本接口的功能是将密钥对导入到用户账户,并不会自动绑定到实例。如需绑定可以使用[AssociasteInstancesKeyPair](https://cloud.tencent.com/document/api/213/9404)接口。 // // * 需指定密钥对名称以及该密钥对的公钥文本。 @@ -3244,17 +3254,18 @@ func NewImportKeyPairResponse() (response *ImportKeyPairResponse) { // * 如果用户只有私钥,可以通过 `SSL` 工具将私钥转换成公钥后再导入。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" -// INVALIDKEYPAIRNAME_DUPLICATE = "InvalidKeyPairName.Duplicate" -// INVALIDKEYPAIRNAMEEMPTY = "InvalidKeyPairNameEmpty" -// INVALIDKEYPAIRNAMEINCLUDEILLEGALCHAR = "InvalidKeyPairNameIncludeIllegalChar" -// INVALIDKEYPAIRNAMETOOLONG = "InvalidKeyPairNameTooLong" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// INVALIDPUBLICKEY_DUPLICATE = "InvalidPublicKey.Duplicate" -// INVALIDPUBLICKEY_MALFORMED = "InvalidPublicKey.Malformed" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" +// INVALIDKEYPAIRNAME_DUPLICATE = "InvalidKeyPairName.Duplicate" +// INVALIDKEYPAIRNAMEEMPTY = "InvalidKeyPairNameEmpty" +// INVALIDKEYPAIRNAMEINCLUDEILLEGALCHAR = "InvalidKeyPairNameIncludeIllegalChar" +// INVALIDKEYPAIRNAMETOOLONG = "InvalidKeyPairNameTooLong" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// INVALIDPUBLICKEY_DUPLICATE = "InvalidPublicKey.Duplicate" +// INVALIDPUBLICKEY_MALFORMED = "InvalidPublicKey.Malformed" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) ImportKeyPair(request *ImportKeyPairRequest) (response *ImportKeyPairResponse, err error) { if request == nil { request = NewImportKeyPairRequest() @@ -3268,8 +3279,6 @@ func (c *Client) ImportKeyPair(request *ImportKeyPairRequest) (response *ImportK // ImportKeyPair // 本接口 (ImportKeyPair) 用于导入密钥对。 // -// -// // * 本接口的功能是将密钥对导入到用户账户,并不会自动绑定到实例。如需绑定可以使用[AssociasteInstancesKeyPair](https://cloud.tencent.com/document/api/213/9404)接口。 // // * 需指定密钥对名称以及该密钥对的公钥文本。 @@ -3277,17 +3286,18 @@ func (c *Client) ImportKeyPair(request *ImportKeyPairRequest) (response *ImportK // * 如果用户只有私钥,可以通过 `SSL` 工具将私钥转换成公钥后再导入。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" -// INVALIDKEYPAIRNAME_DUPLICATE = "InvalidKeyPairName.Duplicate" -// INVALIDKEYPAIRNAMEEMPTY = "InvalidKeyPairNameEmpty" -// INVALIDKEYPAIRNAMEINCLUDEILLEGALCHAR = "InvalidKeyPairNameIncludeIllegalChar" -// INVALIDKEYPAIRNAMETOOLONG = "InvalidKeyPairNameTooLong" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// INVALIDPUBLICKEY_DUPLICATE = "InvalidPublicKey.Duplicate" -// INVALIDPUBLICKEY_MALFORMED = "InvalidPublicKey.Malformed" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDKEYPAIR_LIMITEXCEEDED = "InvalidKeyPair.LimitExceeded" +// INVALIDKEYPAIRNAME_DUPLICATE = "InvalidKeyPairName.Duplicate" +// INVALIDKEYPAIRNAMEEMPTY = "InvalidKeyPairNameEmpty" +// INVALIDKEYPAIRNAMEINCLUDEILLEGALCHAR = "InvalidKeyPairNameIncludeIllegalChar" +// INVALIDKEYPAIRNAMETOOLONG = "InvalidKeyPairNameTooLong" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// INVALIDPUBLICKEY_DUPLICATE = "InvalidPublicKey.Duplicate" +// INVALIDPUBLICKEY_MALFORMED = "InvalidPublicKey.Malformed" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) ImportKeyPairWithContext(ctx context.Context, request *ImportKeyPairRequest) (response *ImportKeyPairResponse, err error) { if request == nil { request = NewImportKeyPairRequest() @@ -3319,9 +3329,10 @@ func NewInquirePricePurchaseReservedInstancesOfferingResponse() (response *Inqui // 本接口(InquirePricePurchaseReservedInstancesOffering)用于创建预留实例询价。本接口仅允许针对购买限制范围内的预留实例配置进行询价。预留实例当前只针对国际站白名单用户开放。 // // 可能返回的错误码: -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" +// +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" func (c *Client) InquirePricePurchaseReservedInstancesOffering(request *InquirePricePurchaseReservedInstancesOfferingRequest) (response *InquirePricePurchaseReservedInstancesOfferingResponse, err error) { if request == nil { request = NewInquirePricePurchaseReservedInstancesOfferingRequest() @@ -3336,9 +3347,10 @@ func (c *Client) InquirePricePurchaseReservedInstancesOffering(request *InquireP // 本接口(InquirePricePurchaseReservedInstancesOffering)用于创建预留实例询价。本接口仅允许针对购买限制范围内的预留实例配置进行询价。预留实例当前只针对国际站白名单用户开放。 // // 可能返回的错误码: -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" +// +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" func (c *Client) InquirePricePurchaseReservedInstancesOfferingWithContext(ctx context.Context, request *InquirePricePurchaseReservedInstancesOfferingRequest) (response *InquirePricePurchaseReservedInstancesOfferingResponse, err error) { if request == nil { request = NewInquirePricePurchaseReservedInstancesOfferingRequest() @@ -3369,26 +3381,25 @@ func NewInquiryPriceModifyInstancesChargeTypeResponse() (response *InquiryPriceM // InquiryPriceModifyInstancesChargeType // 本接口 (InquiryPriceModifyInstancesChargeType) 用于切换实例的计费模式询价。 // -// -// // * 只支持从 `POSTPAID_BY_HOUR` 计费模式切换为`PREPAID`计费模式。 // // * 关机不收费的实例、`BC1`和`BS1`机型族的实例、设置定时销毁的实例、竞价实例不支持该操作。 // // 可能返回的错误码: -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPERIOD = "InvalidPeriod" -// INVALIDPERMISSION = "InvalidPermission" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" +// +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPERIOD = "InvalidPeriod" +// INVALIDPERMISSION = "InvalidPermission" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" func (c *Client) InquiryPriceModifyInstancesChargeType(request *InquiryPriceModifyInstancesChargeTypeRequest) (response *InquiryPriceModifyInstancesChargeTypeResponse, err error) { if request == nil { request = NewInquiryPriceModifyInstancesChargeTypeRequest() @@ -3402,26 +3413,25 @@ func (c *Client) InquiryPriceModifyInstancesChargeType(request *InquiryPriceModi // InquiryPriceModifyInstancesChargeType // 本接口 (InquiryPriceModifyInstancesChargeType) 用于切换实例的计费模式询价。 // -// -// // * 只支持从 `POSTPAID_BY_HOUR` 计费模式切换为`PREPAID`计费模式。 // // * 关机不收费的实例、`BC1`和`BS1`机型族的实例、设置定时销毁的实例、竞价实例不支持该操作。 // // 可能返回的错误码: -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPERIOD = "InvalidPeriod" -// INVALIDPERMISSION = "InvalidPermission" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" +// +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPERIOD = "InvalidPeriod" +// INVALIDPERMISSION = "InvalidPermission" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" func (c *Client) InquiryPriceModifyInstancesChargeTypeWithContext(ctx context.Context, request *InquiryPriceModifyInstancesChargeTypeRequest) (response *InquiryPriceModifyInstancesChargeTypeResponse, err error) { if request == nil { request = NewInquiryPriceModifyInstancesChargeTypeRequest() @@ -3452,25 +3462,24 @@ func NewInquiryPriceRenewInstancesResponse() (response *InquiryPriceRenewInstanc // InquiryPriceRenewInstances // 本接口 (InquiryPriceRenewInstances) 用于续费包年包月实例询价。 // -// -// // * 只支持查询包年包月实例的续费价格。 // // 可能返回的错误码: -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_INSTANCENOTSUPPORTEDMIXPRICINGMODEL = "InvalidParameterValue.InstanceNotSupportedMixPricingModel" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPERIOD = "InvalidPeriod" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_INSTANCENOTSUPPORTEDMIXPRICINGMODEL = "InvalidParameterValue.InstanceNotSupportedMixPricingModel" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPERIOD = "InvalidPeriod" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" func (c *Client) InquiryPriceRenewInstances(request *InquiryPriceRenewInstancesRequest) (response *InquiryPriceRenewInstancesResponse, err error) { if request == nil { request = NewInquiryPriceRenewInstancesRequest() @@ -3484,25 +3493,24 @@ func (c *Client) InquiryPriceRenewInstances(request *InquiryPriceRenewInstancesR // InquiryPriceRenewInstances // 本接口 (InquiryPriceRenewInstances) 用于续费包年包月实例询价。 // -// -// // * 只支持查询包年包月实例的续费价格。 // // 可能返回的错误码: -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_INSTANCENOTSUPPORTEDMIXPRICINGMODEL = "InvalidParameterValue.InstanceNotSupportedMixPricingModel" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPERIOD = "InvalidPeriod" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_INSTANCENOTSUPPORTEDMIXPRICINGMODEL = "InvalidParameterValue.InstanceNotSupportedMixPricingModel" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPERIOD = "InvalidPeriod" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" func (c *Client) InquiryPriceRenewInstancesWithContext(ctx context.Context, request *InquiryPriceRenewInstancesRequest) (response *InquiryPriceRenewInstancesResponse, err error) { if request == nil { request = NewInquiryPriceRenewInstancesRequest() @@ -3533,8 +3541,6 @@ func NewInquiryPriceResetInstanceResponse() (response *InquiryPriceResetInstance // InquiryPriceResetInstance // 本接口 (InquiryPriceResetInstance) 用于重装实例询价。 // -// -// // * 如果指定了`ImageId`参数,则使用指定的镜像进行重装询价;否则按照当前实例使用的镜像进行重装询价。 // // * 目前只支持[系统盘类型](https://cloud.tencent.com/document/api/213/15753#SystemDisk)是`CLOUD_BASIC`、`CLOUD_PREMIUM`、`CLOUD_SSD`类型的实例使用该接口实现`Linux`和`Windows`操作系统切换的重装询价。 @@ -3542,20 +3548,21 @@ func NewInquiryPriceResetInstanceResponse() (response *InquiryPriceResetInstance // * 目前不支持境外地域的实例使用该接口实现`Linux`和`Windows`操作系统切换的重装询价。 // // 可能返回的错误码: -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_INVALIDIMAGEOSNAME = "InvalidParameterValue.InvalidImageOsName" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// UNSUPPORTEDOPERATION_RAWLOCALDISKINSREINSTALLTOQCOW2 = "UnsupportedOperation.RawLocalDiskInsReinstalltoQcow2" +// +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_INVALIDIMAGEOSNAME = "InvalidParameterValue.InvalidImageOsName" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// UNSUPPORTEDOPERATION_RAWLOCALDISKINSREINSTALLTOQCOW2 = "UnsupportedOperation.RawLocalDiskInsReinstalltoQcow2" func (c *Client) InquiryPriceResetInstance(request *InquiryPriceResetInstanceRequest) (response *InquiryPriceResetInstanceResponse, err error) { if request == nil { request = NewInquiryPriceResetInstanceRequest() @@ -3569,8 +3576,6 @@ func (c *Client) InquiryPriceResetInstance(request *InquiryPriceResetInstanceReq // InquiryPriceResetInstance // 本接口 (InquiryPriceResetInstance) 用于重装实例询价。 // -// -// // * 如果指定了`ImageId`参数,则使用指定的镜像进行重装询价;否则按照当前实例使用的镜像进行重装询价。 // // * 目前只支持[系统盘类型](https://cloud.tencent.com/document/api/213/15753#SystemDisk)是`CLOUD_BASIC`、`CLOUD_PREMIUM`、`CLOUD_SSD`类型的实例使用该接口实现`Linux`和`Windows`操作系统切换的重装询价。 @@ -3578,20 +3583,21 @@ func (c *Client) InquiryPriceResetInstance(request *InquiryPriceResetInstanceReq // * 目前不支持境外地域的实例使用该接口实现`Linux`和`Windows`操作系统切换的重装询价。 // // 可能返回的错误码: -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_INVALIDIMAGEOSNAME = "InvalidParameterValue.InvalidImageOsName" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// UNSUPPORTEDOPERATION_RAWLOCALDISKINSREINSTALLTOQCOW2 = "UnsupportedOperation.RawLocalDiskInsReinstalltoQcow2" +// +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_INVALIDIMAGEOSNAME = "InvalidParameterValue.InvalidImageOsName" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// UNSUPPORTEDOPERATION_RAWLOCALDISKINSREINSTALLTOQCOW2 = "UnsupportedOperation.RawLocalDiskInsReinstalltoQcow2" func (c *Client) InquiryPriceResetInstanceWithContext(ctx context.Context, request *InquiryPriceResetInstanceRequest) (response *InquiryPriceResetInstanceResponse, err error) { if request == nil { request = NewInquiryPriceResetInstanceRequest() @@ -3622,8 +3628,6 @@ func NewInquiryPriceResetInstancesInternetMaxBandwidthResponse() (response *Inqu // InquiryPriceResetInstancesInternetMaxBandwidth // 本接口 (InquiryPriceResetInstancesInternetMaxBandwidth) 用于调整实例公网带宽上限询价。 // -// -// // * 不同机型带宽上限范围不一致,具体限制详见[公网带宽上限](https://cloud.tencent.com/document/product/213/12523)。 // // * 对于`BANDWIDTH_PREPAID`计费方式的带宽,目前不支持调小带宽,且需要输入参数`StartTime`和`EndTime`,指定调整后的带宽的生效时间段。在这种场景下会涉及扣费,请确保账户余额充足。可通过[`DescribeAccountBalance`](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。 @@ -3637,21 +3641,22 @@ func NewInquiryPriceResetInstancesInternetMaxBandwidthResponse() (response *Inqu // * 接口不支持批量调整混合计费方式的带宽。例如不支持同时调整`TRAFFIC_POSTPAID_BY_HOUR`和`BANDWIDTH_PACKAGE`计费方式的带宽。 // // 可能返回的错误码: -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// FAILEDOPERATION_NOTFOUNDEIP = "FailedOperation.NotFoundEIP" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPERMISSION = "InvalidPermission" -// MISSINGPARAMETER = "MissingParameter" +// +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// FAILEDOPERATION_NOTFOUNDEIP = "FailedOperation.NotFoundEIP" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPERMISSION = "InvalidPermission" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) InquiryPriceResetInstancesInternetMaxBandwidth(request *InquiryPriceResetInstancesInternetMaxBandwidthRequest) (response *InquiryPriceResetInstancesInternetMaxBandwidthResponse, err error) { if request == nil { request = NewInquiryPriceResetInstancesInternetMaxBandwidthRequest() @@ -3665,8 +3670,6 @@ func (c *Client) InquiryPriceResetInstancesInternetMaxBandwidth(request *Inquiry // InquiryPriceResetInstancesInternetMaxBandwidth // 本接口 (InquiryPriceResetInstancesInternetMaxBandwidth) 用于调整实例公网带宽上限询价。 // -// -// // * 不同机型带宽上限范围不一致,具体限制详见[公网带宽上限](https://cloud.tencent.com/document/product/213/12523)。 // // * 对于`BANDWIDTH_PREPAID`计费方式的带宽,目前不支持调小带宽,且需要输入参数`StartTime`和`EndTime`,指定调整后的带宽的生效时间段。在这种场景下会涉及扣费,请确保账户余额充足。可通过[`DescribeAccountBalance`](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。 @@ -3680,21 +3683,22 @@ func (c *Client) InquiryPriceResetInstancesInternetMaxBandwidth(request *Inquiry // * 接口不支持批量调整混合计费方式的带宽。例如不支持同时调整`TRAFFIC_POSTPAID_BY_HOUR`和`BANDWIDTH_PACKAGE`计费方式的带宽。 // // 可能返回的错误码: -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// FAILEDOPERATION_NOTFOUNDEIP = "FailedOperation.NotFoundEIP" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPERMISSION = "InvalidPermission" -// MISSINGPARAMETER = "MissingParameter" +// +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// FAILEDOPERATION_NOTFOUNDEIP = "FailedOperation.NotFoundEIP" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPERMISSION = "InvalidPermission" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) InquiryPriceResetInstancesInternetMaxBandwidthWithContext(ctx context.Context, request *InquiryPriceResetInstancesInternetMaxBandwidthRequest) (response *InquiryPriceResetInstancesInternetMaxBandwidthResponse, err error) { if request == nil { request = NewInquiryPriceResetInstancesInternetMaxBandwidthRequest() @@ -3725,8 +3729,6 @@ func NewInquiryPriceResetInstancesTypeResponse() (response *InquiryPriceResetIns // InquiryPriceResetInstancesType // 本接口 (InquiryPriceResetInstancesType) 用于调整实例的机型询价。 // -// -// // * 目前只支持[系统盘类型](https://cloud.tencent.com/document/product/213/15753#SystemDisk)是`CLOUD_BASIC`、`CLOUD_PREMIUM`、`CLOUD_SSD`类型的实例使用该接口进行调整机型询价。 // // * 目前不支持[CDH](https://cloud.tencent.com/document/product/416)实例使用该接口调整机型询价。 @@ -3734,26 +3736,27 @@ func NewInquiryPriceResetInstancesTypeResponse() (response *InquiryPriceResetIns // * 对于包年包月实例,使用该接口会涉及扣费,请确保账户余额充足。可通过[`DescribeAccountBalance`](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。 // // 可能返回的错误码: -// FAILEDOPERATION_INQUIRYREFUNDPRICEFAILED = "FailedOperation.InquiryRefundPriceFailed" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPERMISSION = "InvalidPermission" -// LIMITEXCEEDED_INSTANCETYPEBANDWIDTH = "LimitExceeded.InstanceTypeBandwidth" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" -// UNSUPPORTEDOPERATION_LOCALDATADISKCHANGEINSTANCEFAMILY = "UnsupportedOperation.LocalDataDiskChangeInstanceFamily" -// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILYTOSA3 = "UnsupportedOperation.UnsupportedChangeInstanceFamilyToSA3" +// +// FAILEDOPERATION_INQUIRYREFUNDPRICEFAILED = "FailedOperation.InquiryRefundPriceFailed" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPERMISSION = "InvalidPermission" +// LIMITEXCEEDED_INSTANCETYPEBANDWIDTH = "LimitExceeded.InstanceTypeBandwidth" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" +// UNSUPPORTEDOPERATION_LOCALDATADISKCHANGEINSTANCEFAMILY = "UnsupportedOperation.LocalDataDiskChangeInstanceFamily" +// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILYTOSA3 = "UnsupportedOperation.UnsupportedChangeInstanceFamilyToSA3" func (c *Client) InquiryPriceResetInstancesType(request *InquiryPriceResetInstancesTypeRequest) (response *InquiryPriceResetInstancesTypeResponse, err error) { if request == nil { request = NewInquiryPriceResetInstancesTypeRequest() @@ -3767,8 +3770,6 @@ func (c *Client) InquiryPriceResetInstancesType(request *InquiryPriceResetInstan // InquiryPriceResetInstancesType // 本接口 (InquiryPriceResetInstancesType) 用于调整实例的机型询价。 // -// -// // * 目前只支持[系统盘类型](https://cloud.tencent.com/document/product/213/15753#SystemDisk)是`CLOUD_BASIC`、`CLOUD_PREMIUM`、`CLOUD_SSD`类型的实例使用该接口进行调整机型询价。 // // * 目前不支持[CDH](https://cloud.tencent.com/document/product/416)实例使用该接口调整机型询价。 @@ -3776,26 +3777,27 @@ func (c *Client) InquiryPriceResetInstancesType(request *InquiryPriceResetInstan // * 对于包年包月实例,使用该接口会涉及扣费,请确保账户余额充足。可通过[`DescribeAccountBalance`](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。 // // 可能返回的错误码: -// FAILEDOPERATION_INQUIRYREFUNDPRICEFAILED = "FailedOperation.InquiryRefundPriceFailed" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPERMISSION = "InvalidPermission" -// LIMITEXCEEDED_INSTANCETYPEBANDWIDTH = "LimitExceeded.InstanceTypeBandwidth" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" -// UNSUPPORTEDOPERATION_LOCALDATADISKCHANGEINSTANCEFAMILY = "UnsupportedOperation.LocalDataDiskChangeInstanceFamily" -// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILYTOSA3 = "UnsupportedOperation.UnsupportedChangeInstanceFamilyToSA3" +// +// FAILEDOPERATION_INQUIRYREFUNDPRICEFAILED = "FailedOperation.InquiryRefundPriceFailed" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPERMISSION = "InvalidPermission" +// LIMITEXCEEDED_INSTANCETYPEBANDWIDTH = "LimitExceeded.InstanceTypeBandwidth" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" +// UNSUPPORTEDOPERATION_LOCALDATADISKCHANGEINSTANCEFAMILY = "UnsupportedOperation.LocalDataDiskChangeInstanceFamily" +// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILYTOSA3 = "UnsupportedOperation.UnsupportedChangeInstanceFamilyToSA3" func (c *Client) InquiryPriceResetInstancesTypeWithContext(ctx context.Context, request *InquiryPriceResetInstancesTypeRequest) (response *InquiryPriceResetInstancesTypeResponse, err error) { if request == nil { request = NewInquiryPriceResetInstancesTypeRequest() @@ -3826,26 +3828,25 @@ func NewInquiryPriceResizeInstanceDisksResponse() (response *InquiryPriceResizeI // InquiryPriceResizeInstanceDisks // 本接口 (InquiryPriceResizeInstanceDisks) 用于扩容实例的数据盘询价。 // -// -// // * 目前只支持扩容非弹性数据盘([`DescribeDisks`](https://cloud.tencent.com/document/api/362/16315)接口返回值中的`Portable`为`false`表示非弹性)询价,且[数据盘类型](https://cloud.tencent.com/document/product/213/15753#DataDisk)为:`CLOUD_BASIC`、`CLOUD_PREMIUM`、`CLOUD_SSD`。 // // * 目前不支持[CDH](https://cloud.tencent.com/document/product/416)实例使用该接口扩容数据盘询价。* 仅支持包年包月实例随机器购买的数据盘。* 目前只支持扩容一块数据盘询价。 // // 可能返回的错误码: -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_ATLEASTONE = "MissingParameter.AtLeastOne" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" -// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" +// +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_ATLEASTONE = "MissingParameter.AtLeastOne" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" +// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" func (c *Client) InquiryPriceResizeInstanceDisks(request *InquiryPriceResizeInstanceDisksRequest) (response *InquiryPriceResizeInstanceDisksResponse, err error) { if request == nil { request = NewInquiryPriceResizeInstanceDisksRequest() @@ -3859,26 +3860,25 @@ func (c *Client) InquiryPriceResizeInstanceDisks(request *InquiryPriceResizeInst // InquiryPriceResizeInstanceDisks // 本接口 (InquiryPriceResizeInstanceDisks) 用于扩容实例的数据盘询价。 // -// -// // * 目前只支持扩容非弹性数据盘([`DescribeDisks`](https://cloud.tencent.com/document/api/362/16315)接口返回值中的`Portable`为`false`表示非弹性)询价,且[数据盘类型](https://cloud.tencent.com/document/product/213/15753#DataDisk)为:`CLOUD_BASIC`、`CLOUD_PREMIUM`、`CLOUD_SSD`。 // // * 目前不支持[CDH](https://cloud.tencent.com/document/product/416)实例使用该接口扩容数据盘询价。* 仅支持包年包月实例随机器购买的数据盘。* 目前只支持扩容一块数据盘询价。 // // 可能返回的错误码: -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_ATLEASTONE = "MissingParameter.AtLeastOne" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" -// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" +// +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_ATLEASTONE = "MissingParameter.AtLeastOne" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" +// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" func (c *Client) InquiryPriceResizeInstanceDisksWithContext(ctx context.Context, request *InquiryPriceResizeInstanceDisksRequest) (response *InquiryPriceResizeInstanceDisksResponse, err error) { if request == nil { request = NewInquiryPriceResizeInstanceDisksRequest() @@ -3910,59 +3910,60 @@ func NewInquiryPriceRunInstancesResponse() (response *InquiryPriceRunInstancesRe // 本接口(InquiryPriceRunInstances)用于创建实例询价。本接口仅允许针对购买限制范围内的实例配置进行询价, 详见:[创建实例](https://cloud.tencent.com/document/api/213/15730)。 // // 可能返回的错误码: -// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" -// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" -// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// FAILEDOPERATION_SNAPSHOTSIZELARGERTHANDATASIZE = "FailedOperation.SnapshotSizeLargerThanDataSize" -// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" -// FAILEDOPERATION_TATAGENTNOTSUPPORT = "FailedOperation.TatAgentNotSupport" -// INSTANCESQUOTALIMITEXCEEDED = "InstancesQuotaLimitExceeded" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDNOTFOUND = "InvalidParameterValue.BandwidthPackageIdNotFound" -// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" -// INVALIDPARAMETERVALUE_INSTANCETYPEREQUIREDHPCCLUSTER = "InvalidParameterValue.InstanceTypeRequiredHpcCluster" -// INVALIDPARAMETERVALUE_INSUFFICIENTPRICE = "InvalidParameterValue.InsufficientPrice" -// INVALIDPARAMETERVALUE_INVALIDIMAGEFORMAT = "InvalidParameterValue.InvalidImageFormat" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_INVALIDIMAGEOSNAME = "InvalidParameterValue.InvalidImageOsName" -// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" -// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" -// INVALIDPASSWORD = "InvalidPassword" -// INVALIDPERIOD = "InvalidPeriod" -// INVALIDPERMISSION = "InvalidPermission" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// LIMITEXCEEDED_DISASTERRECOVERGROUP = "LimitExceeded.DisasterRecoverGroup" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" -// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" -// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" -// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" -// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" -// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" -// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" -// UNSUPPORTEDOPERATION_UNSUPPORTEDINTERNATIONALUSER = "UnsupportedOperation.UnsupportedInternationalUser" +// +// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" +// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" +// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// FAILEDOPERATION_SNAPSHOTSIZELARGERTHANDATASIZE = "FailedOperation.SnapshotSizeLargerThanDataSize" +// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" +// FAILEDOPERATION_TATAGENTNOTSUPPORT = "FailedOperation.TatAgentNotSupport" +// INSTANCESQUOTALIMITEXCEEDED = "InstancesQuotaLimitExceeded" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDNOTFOUND = "InvalidParameterValue.BandwidthPackageIdNotFound" +// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" +// INVALIDPARAMETERVALUE_INSTANCETYPEREQUIREDHPCCLUSTER = "InvalidParameterValue.InstanceTypeRequiredHpcCluster" +// INVALIDPARAMETERVALUE_INSUFFICIENTPRICE = "InvalidParameterValue.InsufficientPrice" +// INVALIDPARAMETERVALUE_INVALIDIMAGEFORMAT = "InvalidParameterValue.InvalidImageFormat" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_INVALIDIMAGEOSNAME = "InvalidParameterValue.InvalidImageOsName" +// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" +// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" +// INVALIDPASSWORD = "InvalidPassword" +// INVALIDPERIOD = "InvalidPeriod" +// INVALIDPERMISSION = "InvalidPermission" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// LIMITEXCEEDED_DISASTERRECOVERGROUP = "LimitExceeded.DisasterRecoverGroup" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" +// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" +// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" +// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" +// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" +// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" +// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" +// UNSUPPORTEDOPERATION_UNSUPPORTEDINTERNATIONALUSER = "UnsupportedOperation.UnsupportedInternationalUser" func (c *Client) InquiryPriceRunInstances(request *InquiryPriceRunInstancesRequest) (response *InquiryPriceRunInstancesResponse, err error) { if request == nil { request = NewInquiryPriceRunInstancesRequest() @@ -3977,59 +3978,60 @@ func (c *Client) InquiryPriceRunInstances(request *InquiryPriceRunInstancesReque // 本接口(InquiryPriceRunInstances)用于创建实例询价。本接口仅允许针对购买限制范围内的实例配置进行询价, 详见:[创建实例](https://cloud.tencent.com/document/api/213/15730)。 // // 可能返回的错误码: -// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" -// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" -// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// FAILEDOPERATION_SNAPSHOTSIZELARGERTHANDATASIZE = "FailedOperation.SnapshotSizeLargerThanDataSize" -// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" -// FAILEDOPERATION_TATAGENTNOTSUPPORT = "FailedOperation.TatAgentNotSupport" -// INSTANCESQUOTALIMITEXCEEDED = "InstancesQuotaLimitExceeded" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDNOTFOUND = "InvalidParameterValue.BandwidthPackageIdNotFound" -// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" -// INVALIDPARAMETERVALUE_INSTANCETYPEREQUIREDHPCCLUSTER = "InvalidParameterValue.InstanceTypeRequiredHpcCluster" -// INVALIDPARAMETERVALUE_INSUFFICIENTPRICE = "InvalidParameterValue.InsufficientPrice" -// INVALIDPARAMETERVALUE_INVALIDIMAGEFORMAT = "InvalidParameterValue.InvalidImageFormat" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_INVALIDIMAGEOSNAME = "InvalidParameterValue.InvalidImageOsName" -// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" -// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" -// INVALIDPASSWORD = "InvalidPassword" -// INVALIDPERIOD = "InvalidPeriod" -// INVALIDPERMISSION = "InvalidPermission" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// LIMITEXCEEDED_DISASTERRECOVERGROUP = "LimitExceeded.DisasterRecoverGroup" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" -// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" -// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" -// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" -// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" -// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" -// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" -// UNSUPPORTEDOPERATION_UNSUPPORTEDINTERNATIONALUSER = "UnsupportedOperation.UnsupportedInternationalUser" +// +// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" +// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" +// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// FAILEDOPERATION_SNAPSHOTSIZELARGERTHANDATASIZE = "FailedOperation.SnapshotSizeLargerThanDataSize" +// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" +// FAILEDOPERATION_TATAGENTNOTSUPPORT = "FailedOperation.TatAgentNotSupport" +// INSTANCESQUOTALIMITEXCEEDED = "InstancesQuotaLimitExceeded" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDNOTFOUND = "InvalidParameterValue.BandwidthPackageIdNotFound" +// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" +// INVALIDPARAMETERVALUE_INSTANCETYPEREQUIREDHPCCLUSTER = "InvalidParameterValue.InstanceTypeRequiredHpcCluster" +// INVALIDPARAMETERVALUE_INSUFFICIENTPRICE = "InvalidParameterValue.InsufficientPrice" +// INVALIDPARAMETERVALUE_INVALIDIMAGEFORMAT = "InvalidParameterValue.InvalidImageFormat" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_INVALIDIMAGEOSNAME = "InvalidParameterValue.InvalidImageOsName" +// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" +// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" +// INVALIDPASSWORD = "InvalidPassword" +// INVALIDPERIOD = "InvalidPeriod" +// INVALIDPERMISSION = "InvalidPermission" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// LIMITEXCEEDED_DISASTERRECOVERGROUP = "LimitExceeded.DisasterRecoverGroup" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" +// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" +// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" +// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" +// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" +// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" +// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" +// UNSUPPORTEDOPERATION_UNSUPPORTEDINTERNATIONALUSER = "UnsupportedOperation.UnsupportedInternationalUser" func (c *Client) InquiryPriceRunInstancesWithContext(ctx context.Context, request *InquiryPriceRunInstancesRequest) (response *InquiryPriceRunInstancesResponse, err error) { if request == nil { request = NewInquiryPriceRunInstancesRequest() @@ -4060,26 +4062,25 @@ func NewInquiryPriceTerminateInstancesResponse() (response *InquiryPriceTerminat // InquiryPriceTerminateInstances // 本接口 (InquiryPriceTerminateInstances) 用于退还实例询价。 // -// -// // * 查询退还实例可以返还的费用。 // // * 支持批量操作,每次请求批量实例的上限为100。如果批量实例存在不允许操作的实例,操作会以特定[错误码](#4.-.E9.94.99.E8.AF.AF.E7.A0.81)返回。 // // 可能返回的错误码: -// FAILEDOPERATION_INQUIRYREFUNDPRICEFAILED = "FailedOperation.InquiryRefundPriceFailed" -// FAILEDOPERATION_UNRETURNABLE = "FailedOperation.Unreturnable" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCENOTSUPPORTEDPREPAIDINSTANCE = "InvalidInstanceNotSupportedPrepaidInstance" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// UNSUPPORTEDOPERATION_INSTANCEMIXEDPRICINGMODEL = "UnsupportedOperation.InstanceMixedPricingModel" -// UNSUPPORTEDOPERATION_REGION = "UnsupportedOperation.Region" +// +// FAILEDOPERATION_INQUIRYREFUNDPRICEFAILED = "FailedOperation.InquiryRefundPriceFailed" +// FAILEDOPERATION_UNRETURNABLE = "FailedOperation.Unreturnable" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCENOTSUPPORTEDPREPAIDINSTANCE = "InvalidInstanceNotSupportedPrepaidInstance" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// UNSUPPORTEDOPERATION_INSTANCEMIXEDPRICINGMODEL = "UnsupportedOperation.InstanceMixedPricingModel" +// UNSUPPORTEDOPERATION_REGION = "UnsupportedOperation.Region" func (c *Client) InquiryPriceTerminateInstances(request *InquiryPriceTerminateInstancesRequest) (response *InquiryPriceTerminateInstancesResponse, err error) { if request == nil { request = NewInquiryPriceTerminateInstancesRequest() @@ -4093,26 +4094,25 @@ func (c *Client) InquiryPriceTerminateInstances(request *InquiryPriceTerminateIn // InquiryPriceTerminateInstances // 本接口 (InquiryPriceTerminateInstances) 用于退还实例询价。 // -// -// // * 查询退还实例可以返还的费用。 // // * 支持批量操作,每次请求批量实例的上限为100。如果批量实例存在不允许操作的实例,操作会以特定[错误码](#4.-.E9.94.99.E8.AF.AF.E7.A0.81)返回。 // // 可能返回的错误码: -// FAILEDOPERATION_INQUIRYREFUNDPRICEFAILED = "FailedOperation.InquiryRefundPriceFailed" -// FAILEDOPERATION_UNRETURNABLE = "FailedOperation.Unreturnable" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCENOTSUPPORTEDPREPAIDINSTANCE = "InvalidInstanceNotSupportedPrepaidInstance" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// UNSUPPORTEDOPERATION_INSTANCEMIXEDPRICINGMODEL = "UnsupportedOperation.InstanceMixedPricingModel" -// UNSUPPORTEDOPERATION_REGION = "UnsupportedOperation.Region" +// +// FAILEDOPERATION_INQUIRYREFUNDPRICEFAILED = "FailedOperation.InquiryRefundPriceFailed" +// FAILEDOPERATION_UNRETURNABLE = "FailedOperation.Unreturnable" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCENOTSUPPORTEDPREPAIDINSTANCE = "InvalidInstanceNotSupportedPrepaidInstance" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// UNSUPPORTEDOPERATION_INSTANCEMIXEDPRICINGMODEL = "UnsupportedOperation.InstanceMixedPricingModel" +// UNSUPPORTEDOPERATION_REGION = "UnsupportedOperation.Region" func (c *Client) InquiryPriceTerminateInstancesWithContext(ctx context.Context, request *InquiryPriceTerminateInstancesRequest) (response *InquiryPriceTerminateInstancesResponse, err error) { if request == nil { request = NewInquiryPriceTerminateInstancesRequest() @@ -4144,8 +4144,9 @@ func NewModifyDisasterRecoverGroupAttributeResponse() (response *ModifyDisasterR // 本接口 (ModifyDisasterRecoverGroupAttribute)用于修改[分散置放群组](https://cloud.tencent.com/document/product/213/15486)属性。 // // 可能返回的错误码: -// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" -// RESOURCENOTFOUND_INVALIDPLACEMENTSET = "ResourceNotFound.InvalidPlacementSet" +// +// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" +// RESOURCENOTFOUND_INVALIDPLACEMENTSET = "ResourceNotFound.InvalidPlacementSet" func (c *Client) ModifyDisasterRecoverGroupAttribute(request *ModifyDisasterRecoverGroupAttributeRequest) (response *ModifyDisasterRecoverGroupAttributeResponse, err error) { if request == nil { request = NewModifyDisasterRecoverGroupAttributeRequest() @@ -4160,8 +4161,9 @@ func (c *Client) ModifyDisasterRecoverGroupAttribute(request *ModifyDisasterReco // 本接口 (ModifyDisasterRecoverGroupAttribute)用于修改[分散置放群组](https://cloud.tencent.com/document/product/213/15486)属性。 // // 可能返回的错误码: -// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" -// RESOURCENOTFOUND_INVALIDPLACEMENTSET = "ResourceNotFound.InvalidPlacementSet" +// +// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" +// RESOURCENOTFOUND_INVALIDPLACEMENTSET = "ResourceNotFound.InvalidPlacementSet" func (c *Client) ModifyDisasterRecoverGroupAttributeWithContext(ctx context.Context, request *ModifyDisasterRecoverGroupAttributeRequest) (response *ModifyDisasterRecoverGroupAttributeResponse, err error) { if request == nil { request = NewModifyDisasterRecoverGroupAttributeRequest() @@ -4193,9 +4195,10 @@ func NewModifyHostsAttributeResponse() (response *ModifyHostsAttributeResponse) // 本接口(ModifyHostsAttribute)用于修改CDH实例的属性,如实例名称和续费标记等。参数HostName和RenewFlag必须设置其中一个,但不能同时设置。 // // 可能返回的错误码: -// INVALIDHOST_NOTSUPPORTED = "InvalidHost.NotSupported" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" +// +// INVALIDHOST_NOTSUPPORTED = "InvalidHost.NotSupported" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" func (c *Client) ModifyHostsAttribute(request *ModifyHostsAttributeRequest) (response *ModifyHostsAttributeResponse, err error) { if request == nil { request = NewModifyHostsAttributeRequest() @@ -4210,9 +4213,10 @@ func (c *Client) ModifyHostsAttribute(request *ModifyHostsAttributeRequest) (res // 本接口(ModifyHostsAttribute)用于修改CDH实例的属性,如实例名称和续费标记等。参数HostName和RenewFlag必须设置其中一个,但不能同时设置。 // // 可能返回的错误码: -// INVALIDHOST_NOTSUPPORTED = "InvalidHost.NotSupported" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" +// +// INVALIDHOST_NOTSUPPORTED = "InvalidHost.NotSupported" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" func (c *Client) ModifyHostsAttributeWithContext(ctx context.Context, request *ModifyHostsAttributeRequest) (response *ModifyHostsAttributeResponse, err error) { if request == nil { request = NewModifyHostsAttributeRequest() @@ -4243,17 +4247,16 @@ func NewModifyImageAttributeResponse() (response *ModifyImageAttributeResponse) // ModifyImageAttribute // 本接口(ModifyImageAttribute)用于修改镜像属性。 // -// -// // * 已分享的镜像无法修改属性。 // // 可能返回的错误码: -// INVALIDIMAGEID_INCORRECTSTATE = "InvalidImageId.IncorrectState" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" -// INVALIDPARAMETER_VALUETOOLARGE = "InvalidParameter.ValueTooLarge" -// INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" +// +// INVALIDIMAGEID_INCORRECTSTATE = "InvalidImageId.IncorrectState" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" +// INVALIDPARAMETER_VALUETOOLARGE = "InvalidParameter.ValueTooLarge" +// INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" func (c *Client) ModifyImageAttribute(request *ModifyImageAttributeRequest) (response *ModifyImageAttributeResponse, err error) { if request == nil { request = NewModifyImageAttributeRequest() @@ -4267,17 +4270,16 @@ func (c *Client) ModifyImageAttribute(request *ModifyImageAttributeRequest) (res // ModifyImageAttribute // 本接口(ModifyImageAttribute)用于修改镜像属性。 // -// -// // * 已分享的镜像无法修改属性。 // // 可能返回的错误码: -// INVALIDIMAGEID_INCORRECTSTATE = "InvalidImageId.IncorrectState" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" -// INVALIDPARAMETER_VALUETOOLARGE = "InvalidParameter.ValueTooLarge" -// INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" +// +// INVALIDIMAGEID_INCORRECTSTATE = "InvalidImageId.IncorrectState" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" +// INVALIDPARAMETER_VALUETOOLARGE = "InvalidParameter.ValueTooLarge" +// INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" func (c *Client) ModifyImageAttributeWithContext(ctx context.Context, request *ModifyImageAttributeRequest) (response *ModifyImageAttributeResponse, err error) { if request == nil { request = NewModifyImageAttributeRequest() @@ -4308,8 +4310,6 @@ func NewModifyImageSharePermissionResponse() (response *ModifyImageSharePermissi // ModifyImageSharePermission // 本接口(ModifyImageSharePermission)用于修改镜像分享信息。 // -// -// // * 分享镜像后,被分享账户可以通过该镜像创建实例。 // // * 每个自定义镜像最多可共享给50个账户。 @@ -4319,21 +4319,22 @@ func NewModifyImageSharePermissionResponse() (response *ModifyImageSharePermissi // * 只支持分享到对方账户相同地域。 // // 可能返回的错误码: -// FAILEDOPERATION_ACCOUNTALREADYEXISTS = "FailedOperation.AccountAlreadyExists" -// FAILEDOPERATION_ACCOUNTISYOURSELF = "FailedOperation.AccountIsYourSelf" -// FAILEDOPERATION_NOTMASTERACCOUNT = "FailedOperation.NotMasterAccount" -// FAILEDOPERATION_QIMAGESHAREFAILED = "FailedOperation.QImageShareFailed" -// FAILEDOPERATION_RIMAGESHAREFAILED = "FailedOperation.RImageShareFailed" -// INVALIDACCOUNTID_NOTFOUND = "InvalidAccountId.NotFound" -// INVALIDACCOUNTIS_YOURSELF = "InvalidAccountIs.YourSelf" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// OVERQUOTA = "OverQuota" -// UNAUTHORIZEDOPERATION_IMAGENOTBELONGTOACCOUNT = "UnauthorizedOperation.ImageNotBelongToAccount" +// +// FAILEDOPERATION_ACCOUNTALREADYEXISTS = "FailedOperation.AccountAlreadyExists" +// FAILEDOPERATION_ACCOUNTISYOURSELF = "FailedOperation.AccountIsYourSelf" +// FAILEDOPERATION_NOTMASTERACCOUNT = "FailedOperation.NotMasterAccount" +// FAILEDOPERATION_QIMAGESHAREFAILED = "FailedOperation.QImageShareFailed" +// FAILEDOPERATION_RIMAGESHAREFAILED = "FailedOperation.RImageShareFailed" +// INVALIDACCOUNTID_NOTFOUND = "InvalidAccountId.NotFound" +// INVALIDACCOUNTIS_YOURSELF = "InvalidAccountIs.YourSelf" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// OVERQUOTA = "OverQuota" +// UNAUTHORIZEDOPERATION_IMAGENOTBELONGTOACCOUNT = "UnauthorizedOperation.ImageNotBelongToAccount" func (c *Client) ModifyImageSharePermission(request *ModifyImageSharePermissionRequest) (response *ModifyImageSharePermissionResponse, err error) { if request == nil { request = NewModifyImageSharePermissionRequest() @@ -4347,8 +4348,6 @@ func (c *Client) ModifyImageSharePermission(request *ModifyImageSharePermissionR // ModifyImageSharePermission // 本接口(ModifyImageSharePermission)用于修改镜像分享信息。 // -// -// // * 分享镜像后,被分享账户可以通过该镜像创建实例。 // // * 每个自定义镜像最多可共享给50个账户。 @@ -4358,21 +4357,22 @@ func (c *Client) ModifyImageSharePermission(request *ModifyImageSharePermissionR // * 只支持分享到对方账户相同地域。 // // 可能返回的错误码: -// FAILEDOPERATION_ACCOUNTALREADYEXISTS = "FailedOperation.AccountAlreadyExists" -// FAILEDOPERATION_ACCOUNTISYOURSELF = "FailedOperation.AccountIsYourSelf" -// FAILEDOPERATION_NOTMASTERACCOUNT = "FailedOperation.NotMasterAccount" -// FAILEDOPERATION_QIMAGESHAREFAILED = "FailedOperation.QImageShareFailed" -// FAILEDOPERATION_RIMAGESHAREFAILED = "FailedOperation.RImageShareFailed" -// INVALIDACCOUNTID_NOTFOUND = "InvalidAccountId.NotFound" -// INVALIDACCOUNTIS_YOURSELF = "InvalidAccountIs.YourSelf" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// OVERQUOTA = "OverQuota" -// UNAUTHORIZEDOPERATION_IMAGENOTBELONGTOACCOUNT = "UnauthorizedOperation.ImageNotBelongToAccount" +// +// FAILEDOPERATION_ACCOUNTALREADYEXISTS = "FailedOperation.AccountAlreadyExists" +// FAILEDOPERATION_ACCOUNTISYOURSELF = "FailedOperation.AccountIsYourSelf" +// FAILEDOPERATION_NOTMASTERACCOUNT = "FailedOperation.NotMasterAccount" +// FAILEDOPERATION_QIMAGESHAREFAILED = "FailedOperation.QImageShareFailed" +// FAILEDOPERATION_RIMAGESHAREFAILED = "FailedOperation.RImageShareFailed" +// INVALIDACCOUNTID_NOTFOUND = "InvalidAccountId.NotFound" +// INVALIDACCOUNTIS_YOURSELF = "InvalidAccountIs.YourSelf" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// OVERQUOTA = "OverQuota" +// UNAUTHORIZEDOPERATION_IMAGENOTBELONGTOACCOUNT = "UnauthorizedOperation.ImageNotBelongToAccount" func (c *Client) ModifyImageSharePermissionWithContext(ctx context.Context, request *ModifyImageSharePermissionRequest) (response *ModifyImageSharePermissionResponse, err error) { if request == nil { request = NewModifyImageSharePermissionRequest() @@ -4403,8 +4403,6 @@ func NewModifyInstanceDiskTypeResponse() (response *ModifyInstanceDiskTypeRespon // ModifyInstanceDiskType // 本接口 (ModifyInstanceDiskType) 用于修改实例硬盘介质类型。 // -// -// // * 只支持实例的本地系统盘、本地数据盘转化成指定云硬盘介质。 // // * 只支持实例在关机状态下转换成指定云硬盘介质。 @@ -4414,16 +4412,17 @@ func NewModifyInstanceDiskTypeResponse() (response *ModifyInstanceDiskTypeRespon // * 修改前请确保账户余额充足。可通过[`DescribeAccountBalance`](https://cloud.tencent.com/document/product/378/4397)接口查询账户余额。 // // 可能返回的错误码: -// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_INVALIDCLOUDDISKSOLDOUT = "InvalidParameter.InvalidCloudDiskSoldOut" -// INVALIDPARAMETER_INVALIDINSTANCENOTSUPPORTED = "InvalidParameter.InvalidInstanceNotSupported" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LOCALDISKSIZERANGE = "InvalidParameterValue.LocalDiskSizeRange" -// INVALIDPERMISSION = "InvalidPermission" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// +// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_INVALIDCLOUDDISKSOLDOUT = "InvalidParameter.InvalidCloudDiskSoldOut" +// INVALIDPARAMETER_INVALIDINSTANCENOTSUPPORTED = "InvalidParameter.InvalidInstanceNotSupported" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LOCALDISKSIZERANGE = "InvalidParameterValue.LocalDiskSizeRange" +// INVALIDPERMISSION = "InvalidPermission" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" func (c *Client) ModifyInstanceDiskType(request *ModifyInstanceDiskTypeRequest) (response *ModifyInstanceDiskTypeResponse, err error) { if request == nil { request = NewModifyInstanceDiskTypeRequest() @@ -4437,8 +4436,6 @@ func (c *Client) ModifyInstanceDiskType(request *ModifyInstanceDiskTypeRequest) // ModifyInstanceDiskType // 本接口 (ModifyInstanceDiskType) 用于修改实例硬盘介质类型。 // -// -// // * 只支持实例的本地系统盘、本地数据盘转化成指定云硬盘介质。 // // * 只支持实例在关机状态下转换成指定云硬盘介质。 @@ -4448,16 +4445,17 @@ func (c *Client) ModifyInstanceDiskType(request *ModifyInstanceDiskTypeRequest) // * 修改前请确保账户余额充足。可通过[`DescribeAccountBalance`](https://cloud.tencent.com/document/product/378/4397)接口查询账户余额。 // // 可能返回的错误码: -// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_INVALIDCLOUDDISKSOLDOUT = "InvalidParameter.InvalidCloudDiskSoldOut" -// INVALIDPARAMETER_INVALIDINSTANCENOTSUPPORTED = "InvalidParameter.InvalidInstanceNotSupported" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LOCALDISKSIZERANGE = "InvalidParameterValue.LocalDiskSizeRange" -// INVALIDPERMISSION = "InvalidPermission" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// +// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_INVALIDCLOUDDISKSOLDOUT = "InvalidParameter.InvalidCloudDiskSoldOut" +// INVALIDPARAMETER_INVALIDINSTANCENOTSUPPORTED = "InvalidParameter.InvalidInstanceNotSupported" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LOCALDISKSIZERANGE = "InvalidParameterValue.LocalDiskSizeRange" +// INVALIDPERMISSION = "InvalidPermission" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" func (c *Client) ModifyInstanceDiskTypeWithContext(ctx context.Context, request *ModifyInstanceDiskTypeRequest) (response *ModifyInstanceDiskTypeResponse, err error) { if request == nil { request = NewModifyInstanceDiskTypeRequest() @@ -4488,8 +4486,6 @@ func NewModifyInstancesAttributeResponse() (response *ModifyInstancesAttributeRe // ModifyInstancesAttribute // 本接口 (ModifyInstancesAttribute) 用于修改实例的属性(目前只支持修改实例的名称和关联的安全组)。 // -// -// // * 每次请求必须指定实例的一种属性用于修改。 // // * “实例名称”仅为方便用户自己管理之用,腾讯云并不以此名称作为在线支持或是进行实例管理操作的依据。 @@ -4501,38 +4497,39 @@ func NewModifyInstancesAttributeResponse() (response *ModifyInstancesAttributeRe // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" -// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" -// INVALIDPARAMETER_HOSTNAMEILLEGAL = "InvalidParameter.HostNameIllegal" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" -// LIMITEXCEEDED_ASSOCIATEUSGLIMITEXCEEDED = "LimitExceeded.AssociateUSGLimitExceeded" -// LIMITEXCEEDED_CVMSVIFSPERSECGROUPLIMITEXCEEDED = "LimitExceeded.CvmsVifsPerSecGroupLimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" +// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" +// INVALIDPARAMETER_HOSTNAMEILLEGAL = "InvalidParameter.HostNameIllegal" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" +// LIMITEXCEEDED_ASSOCIATEUSGLIMITEXCEEDED = "LimitExceeded.AssociateUSGLimitExceeded" +// LIMITEXCEEDED_CVMSVIFSPERSECGROUPLIMITEXCEEDED = "LimitExceeded.CvmsVifsPerSecGroupLimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) ModifyInstancesAttribute(request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error) { if request == nil { request = NewModifyInstancesAttributeRequest() @@ -4546,8 +4543,6 @@ func (c *Client) ModifyInstancesAttribute(request *ModifyInstancesAttributeReque // ModifyInstancesAttribute // 本接口 (ModifyInstancesAttribute) 用于修改实例的属性(目前只支持修改实例的名称和关联的安全组)。 // -// -// // * 每次请求必须指定实例的一种属性用于修改。 // // * “实例名称”仅为方便用户自己管理之用,腾讯云并不以此名称作为在线支持或是进行实例管理操作的依据。 @@ -4559,38 +4554,39 @@ func (c *Client) ModifyInstancesAttribute(request *ModifyInstancesAttributeReque // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" -// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" -// INVALIDPARAMETER_HOSTNAMEILLEGAL = "InvalidParameter.HostNameIllegal" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" -// LIMITEXCEEDED_ASSOCIATEUSGLIMITEXCEEDED = "LimitExceeded.AssociateUSGLimitExceeded" -// LIMITEXCEEDED_CVMSVIFSPERSECGROUPLIMITEXCEEDED = "LimitExceeded.CvmsVifsPerSecGroupLimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" +// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" +// INVALIDPARAMETER_HOSTNAMEILLEGAL = "InvalidParameter.HostNameIllegal" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" +// LIMITEXCEEDED_ASSOCIATEUSGLIMITEXCEEDED = "LimitExceeded.AssociateUSGLimitExceeded" +// LIMITEXCEEDED_CVMSVIFSPERSECGROUPLIMITEXCEEDED = "LimitExceeded.CvmsVifsPerSecGroupLimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) ModifyInstancesAttributeWithContext(ctx context.Context, request *ModifyInstancesAttributeRequest) (response *ModifyInstancesAttributeResponse, err error) { if request == nil { request = NewModifyInstancesAttributeRequest() @@ -4621,8 +4617,6 @@ func NewModifyInstancesChargeTypeResponse() (response *ModifyInstancesChargeType // ModifyInstancesChargeType // 本接口 (ModifyInstancesChargeType) 用于切换实例的计费模式。 // -// -// // * 只支持从 `POSTPAID_BY_HOUR` 计费模式切换为`PREPAID`计费模式。 // // * 关机不收费的实例、`BC1`和`BS1`机型族的实例、设置定时销毁的实例不支持该操作。 @@ -4630,24 +4624,25 @@ func NewModifyInstancesChargeTypeResponse() (response *ModifyInstancesChargeType // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPERIOD = "InvalidPeriod" -// INVALIDPERMISSION = "InvalidPermission" -// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPERIOD = "InvalidPeriod" +// INVALIDPERMISSION = "InvalidPermission" +// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" func (c *Client) ModifyInstancesChargeType(request *ModifyInstancesChargeTypeRequest) (response *ModifyInstancesChargeTypeResponse, err error) { if request == nil { request = NewModifyInstancesChargeTypeRequest() @@ -4661,8 +4656,6 @@ func (c *Client) ModifyInstancesChargeType(request *ModifyInstancesChargeTypeReq // ModifyInstancesChargeType // 本接口 (ModifyInstancesChargeType) 用于切换实例的计费模式。 // -// -// // * 只支持从 `POSTPAID_BY_HOUR` 计费模式切换为`PREPAID`计费模式。 // // * 关机不收费的实例、`BC1`和`BS1`机型族的实例、设置定时销毁的实例不支持该操作。 @@ -4670,24 +4663,25 @@ func (c *Client) ModifyInstancesChargeType(request *ModifyInstancesChargeTypeReq // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPERIOD = "InvalidPeriod" -// INVALIDPERMISSION = "InvalidPermission" -// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPERIOD = "InvalidPeriod" +// INVALIDPERMISSION = "InvalidPermission" +// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" func (c *Client) ModifyInstancesChargeTypeWithContext(ctx context.Context, request *ModifyInstancesChargeTypeRequest) (response *ModifyInstancesChargeTypeResponse, err error) { if request == nil { request = NewModifyInstancesChargeTypeRequest() @@ -4718,8 +4712,6 @@ func NewModifyInstancesProjectResponse() (response *ModifyInstancesProjectRespon // ModifyInstancesProject // 本接口 (ModifyInstancesProject) 用于修改实例所属项目。 // -// -// // * 项目为一个虚拟概念,用户可以在一个账户下面建立多个项目,每个项目中管理不同的资源;将多个不同实例分属到不同项目中,后续使用 [`DescribeInstances`](https://cloud.tencent.com/document/api/213/15728)接口查询实例,项目ID可用于过滤结果。 // // * 绑定负载均衡的实例不支持修改实例所属项目,请先使用[`DeregisterInstancesFromLoadBalancer`](https://cloud.tencent.com/document/api/214/1258)接口解绑负载均衡。 @@ -4731,17 +4723,18 @@ func NewModifyInstancesProjectResponse() (response *ModifyInstancesProjectRespon // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" func (c *Client) ModifyInstancesProject(request *ModifyInstancesProjectRequest) (response *ModifyInstancesProjectResponse, err error) { if request == nil { request = NewModifyInstancesProjectRequest() @@ -4755,8 +4748,6 @@ func (c *Client) ModifyInstancesProject(request *ModifyInstancesProjectRequest) // ModifyInstancesProject // 本接口 (ModifyInstancesProject) 用于修改实例所属项目。 // -// -// // * 项目为一个虚拟概念,用户可以在一个账户下面建立多个项目,每个项目中管理不同的资源;将多个不同实例分属到不同项目中,后续使用 [`DescribeInstances`](https://cloud.tencent.com/document/api/213/15728)接口查询实例,项目ID可用于过滤结果。 // // * 绑定负载均衡的实例不支持修改实例所属项目,请先使用[`DeregisterInstancesFromLoadBalancer`](https://cloud.tencent.com/document/api/214/1258)接口解绑负载均衡。 @@ -4768,17 +4759,18 @@ func (c *Client) ModifyInstancesProject(request *ModifyInstancesProjectRequest) // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" func (c *Client) ModifyInstancesProjectWithContext(ctx context.Context, request *ModifyInstancesProjectRequest) (response *ModifyInstancesProjectResponse, err error) { if request == nil { request = NewModifyInstancesProjectRequest() @@ -4809,8 +4801,6 @@ func NewModifyInstancesRenewFlagResponse() (response *ModifyInstancesRenewFlagRe // ModifyInstancesRenewFlag // 本接口 (ModifyInstancesRenewFlag) 用于修改包年包月实例续费标识。 // -// -// // * 实例被标识为自动续费后,每次在实例到期时,会自动续费一个月。 // // * 支持批量操作。每次请求批量实例的上限为100。 @@ -4818,25 +4808,26 @@ func NewModifyInstancesRenewFlagResponse() (response *ModifyInstancesRenewFlagRe // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// FAILEDOPERATION_INVALIDINSTANCEAPPLICATIONROLEEMR = "FailedOperation.InvalidInstanceApplicationRoleEmr" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_UNDERWRITINGINSTANCETYPEONLYSUPPORTAUTORENEW = "UnsupportedOperation.UnderwritingInstanceTypeOnlySupportAutoRenew" +// +// FAILEDOPERATION_INVALIDINSTANCEAPPLICATIONROLEEMR = "FailedOperation.InvalidInstanceApplicationRoleEmr" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_UNDERWRITINGINSTANCETYPEONLYSUPPORTAUTORENEW = "UnsupportedOperation.UnderwritingInstanceTypeOnlySupportAutoRenew" func (c *Client) ModifyInstancesRenewFlag(request *ModifyInstancesRenewFlagRequest) (response *ModifyInstancesRenewFlagResponse, err error) { if request == nil { request = NewModifyInstancesRenewFlagRequest() @@ -4850,8 +4841,6 @@ func (c *Client) ModifyInstancesRenewFlag(request *ModifyInstancesRenewFlagReque // ModifyInstancesRenewFlag // 本接口 (ModifyInstancesRenewFlag) 用于修改包年包月实例续费标识。 // -// -// // * 实例被标识为自动续费后,每次在实例到期时,会自动续费一个月。 // // * 支持批量操作。每次请求批量实例的上限为100。 @@ -4859,25 +4848,26 @@ func (c *Client) ModifyInstancesRenewFlag(request *ModifyInstancesRenewFlagReque // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// FAILEDOPERATION_INVALIDINSTANCEAPPLICATIONROLEEMR = "FailedOperation.InvalidInstanceApplicationRoleEmr" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_UNDERWRITINGINSTANCETYPEONLYSUPPORTAUTORENEW = "UnsupportedOperation.UnderwritingInstanceTypeOnlySupportAutoRenew" +// +// FAILEDOPERATION_INVALIDINSTANCEAPPLICATIONROLEEMR = "FailedOperation.InvalidInstanceApplicationRoleEmr" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_UNDERWRITINGINSTANCETYPEONLYSUPPORTAUTORENEW = "UnsupportedOperation.UnderwritingInstanceTypeOnlySupportAutoRenew" func (c *Client) ModifyInstancesRenewFlagWithContext(ctx context.Context, request *ModifyInstancesRenewFlagRequest) (response *ModifyInstancesRenewFlagResponse, err error) { if request == nil { request = NewModifyInstancesRenewFlagRequest() @@ -4915,36 +4905,37 @@ func NewModifyInstancesVpcAttributeResponse() (response *ModifyInstancesVpcAttri // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// ENINOTALLOWEDCHANGESUBNET = "EniNotAllowedChangeSubnet" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCESTATE = "InvalidInstanceState" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_IPADDRESSMALFORMED = "InvalidParameterValue.IPAddressMalformed" -// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_IPV6NOTSUPPORTVPCMIGRATE = "UnsupportedOperation.IPv6NotSupportVpcMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEBANNING = "UnsupportedOperation.InstanceStateBanning" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" -// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_MODIFYVPCWITHCLB = "UnsupportedOperation.ModifyVPCWithCLB" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" -// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" -// VPCIPISUSED = "VpcIpIsUsed" +// +// ENINOTALLOWEDCHANGESUBNET = "EniNotAllowedChangeSubnet" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCESTATE = "InvalidInstanceState" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_IPADDRESSMALFORMED = "InvalidParameterValue.IPAddressMalformed" +// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_IPV6NOTSUPPORTVPCMIGRATE = "UnsupportedOperation.IPv6NotSupportVpcMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEBANNING = "UnsupportedOperation.InstanceStateBanning" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_MODIFYVPCWITHCLB = "UnsupportedOperation.ModifyVPCWithCLB" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" +// VPCIPISUSED = "VpcIpIsUsed" func (c *Client) ModifyInstancesVpcAttribute(request *ModifyInstancesVpcAttributeRequest) (response *ModifyInstancesVpcAttributeResponse, err error) { if request == nil { request = NewModifyInstancesVpcAttributeRequest() @@ -4965,36 +4956,37 @@ func (c *Client) ModifyInstancesVpcAttribute(request *ModifyInstancesVpcAttribut // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// ENINOTALLOWEDCHANGESUBNET = "EniNotAllowedChangeSubnet" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCESTATE = "InvalidInstanceState" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_IPADDRESSMALFORMED = "InvalidParameterValue.IPAddressMalformed" -// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_IPV6NOTSUPPORTVPCMIGRATE = "UnsupportedOperation.IPv6NotSupportVpcMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEBANNING = "UnsupportedOperation.InstanceStateBanning" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" -// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_MODIFYVPCWITHCLB = "UnsupportedOperation.ModifyVPCWithCLB" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" -// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" -// VPCIPISUSED = "VpcIpIsUsed" +// +// ENINOTALLOWEDCHANGESUBNET = "EniNotAllowedChangeSubnet" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCESTATE = "InvalidInstanceState" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_IPADDRESSMALFORMED = "InvalidParameterValue.IPAddressMalformed" +// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_IPV6NOTSUPPORTVPCMIGRATE = "UnsupportedOperation.IPv6NotSupportVpcMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEBANNING = "UnsupportedOperation.InstanceStateBanning" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_MODIFYVPCWITHCLB = "UnsupportedOperation.ModifyVPCWithCLB" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" +// VPCIPISUSED = "VpcIpIsUsed" func (c *Client) ModifyInstancesVpcAttributeWithContext(ctx context.Context, request *ModifyInstancesVpcAttributeRequest) (response *ModifyInstancesVpcAttributeResponse, err error) { if request == nil { request = NewModifyInstancesVpcAttributeRequest() @@ -5025,8 +5017,6 @@ func NewModifyKeyPairAttributeResponse() (response *ModifyKeyPairAttributeRespon // ModifyKeyPairAttribute // 本接口 (ModifyKeyPairAttribute) 用于修改密钥对属性。 // -// -// // * 修改密钥对ID所指定的密钥对的名称和描述信息。 // // * 密钥对名称不能和已经存在的密钥对的名称重复。 @@ -5034,13 +5024,14 @@ func NewModifyKeyPairAttributeResponse() (response *ModifyKeyPairAttributeRespon // * 密钥对ID是密钥对的唯一标识,不可修改。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" -// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" -// INVALIDKEYPAIRNAME_DUPLICATE = "InvalidKeyPairName.Duplicate" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" +// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" +// INVALIDKEYPAIRNAME_DUPLICATE = "InvalidKeyPairName.Duplicate" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) ModifyKeyPairAttribute(request *ModifyKeyPairAttributeRequest) (response *ModifyKeyPairAttributeResponse, err error) { if request == nil { request = NewModifyKeyPairAttributeRequest() @@ -5054,8 +5045,6 @@ func (c *Client) ModifyKeyPairAttribute(request *ModifyKeyPairAttributeRequest) // ModifyKeyPairAttribute // 本接口 (ModifyKeyPairAttribute) 用于修改密钥对属性。 // -// -// // * 修改密钥对ID所指定的密钥对的名称和描述信息。 // // * 密钥对名称不能和已经存在的密钥对的名称重复。 @@ -5063,13 +5052,14 @@ func (c *Client) ModifyKeyPairAttribute(request *ModifyKeyPairAttributeRequest) // * 密钥对ID是密钥对的唯一标识,不可修改。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" -// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" -// INVALIDKEYPAIRNAME_DUPLICATE = "InvalidKeyPairName.Duplicate" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDKEYPAIRID_MALFORMED = "InvalidKeyPairId.Malformed" +// INVALIDKEYPAIRID_NOTFOUND = "InvalidKeyPairId.NotFound" +// INVALIDKEYPAIRNAME_DUPLICATE = "InvalidKeyPairName.Duplicate" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) ModifyKeyPairAttributeWithContext(ctx context.Context, request *ModifyKeyPairAttributeRequest) (response *ModifyKeyPairAttributeResponse, err error) { if request == nil { request = NewModifyKeyPairAttributeRequest() @@ -5101,16 +5091,17 @@ func NewModifyLaunchTemplateDefaultVersionResponse() (response *ModifyLaunchTemp // 本接口(ModifyLaunchTemplateDefaultVersion)用于修改实例启动模板默认版本。 // // 可能返回的错误码: -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERSETALREADY = "InvalidParameterValue.LaunchTemplateIdVerSetAlready" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" -// MISSINGPARAMETER = "MissingParameter" -// UNKNOWNPARAMETER = "UnknownParameter" +// +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERSETALREADY = "InvalidParameterValue.LaunchTemplateIdVerSetAlready" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" +// MISSINGPARAMETER = "MissingParameter" +// UNKNOWNPARAMETER = "UnknownParameter" func (c *Client) ModifyLaunchTemplateDefaultVersion(request *ModifyLaunchTemplateDefaultVersionRequest) (response *ModifyLaunchTemplateDefaultVersionResponse, err error) { if request == nil { request = NewModifyLaunchTemplateDefaultVersionRequest() @@ -5125,16 +5116,17 @@ func (c *Client) ModifyLaunchTemplateDefaultVersion(request *ModifyLaunchTemplat // 本接口(ModifyLaunchTemplateDefaultVersion)用于修改实例启动模板默认版本。 // // 可能返回的错误码: -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERSETALREADY = "InvalidParameterValue.LaunchTemplateIdVerSetAlready" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" -// MISSINGPARAMETER = "MissingParameter" -// UNKNOWNPARAMETER = "UnknownParameter" +// +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDMALFORMED = "InvalidParameterValue.LaunchTemplateIdMalformed" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdVerNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDVERSETALREADY = "InvalidParameterValue.LaunchTemplateIdVerSetAlready" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATENOTFOUND = "InvalidParameterValue.LaunchTemplateNotFound" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" +// MISSINGPARAMETER = "MissingParameter" +// UNKNOWNPARAMETER = "UnknownParameter" func (c *Client) ModifyLaunchTemplateDefaultVersionWithContext(ctx context.Context, request *ModifyLaunchTemplateDefaultVersionRequest) (response *ModifyLaunchTemplateDefaultVersionResponse, err error) { if request == nil { request = NewModifyLaunchTemplateDefaultVersionRequest() @@ -5170,9 +5162,10 @@ func NewProgramFpgaImageResponse() (response *ProgramFpgaImageResponse) { // * 支持对单个实例的多块FPGA卡同时烧录FPGA镜像,DBDFs参数为空时,默认对指定实例的所有FPGA卡进行烧录。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INCORRECTFORMAT = "InvalidParameterValue.IncorrectFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNSUPPORTEDOPERATION_NOTFPGAINSTANCE = "UnsupportedOperation.NotFpgaInstance" +// +// INVALIDPARAMETERVALUE_INCORRECTFORMAT = "InvalidParameterValue.IncorrectFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNSUPPORTEDOPERATION_NOTFPGAINSTANCE = "UnsupportedOperation.NotFpgaInstance" func (c *Client) ProgramFpgaImage(request *ProgramFpgaImageRequest) (response *ProgramFpgaImageResponse, err error) { if request == nil { request = NewProgramFpgaImageRequest() @@ -5191,9 +5184,10 @@ func (c *Client) ProgramFpgaImage(request *ProgramFpgaImageRequest) (response *P // * 支持对单个实例的多块FPGA卡同时烧录FPGA镜像,DBDFs参数为空时,默认对指定实例的所有FPGA卡进行烧录。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_INCORRECTFORMAT = "InvalidParameterValue.IncorrectFormat" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// UNSUPPORTEDOPERATION_NOTFPGAINSTANCE = "UnsupportedOperation.NotFpgaInstance" +// +// INVALIDPARAMETERVALUE_INCORRECTFORMAT = "InvalidParameterValue.IncorrectFormat" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// UNSUPPORTEDOPERATION_NOTFPGAINSTANCE = "UnsupportedOperation.NotFpgaInstance" func (c *Client) ProgramFpgaImageWithContext(ctx context.Context, request *ProgramFpgaImageRequest) (response *ProgramFpgaImageResponse, err error) { if request == nil { request = NewProgramFpgaImageRequest() @@ -5225,14 +5219,15 @@ func NewPurchaseReservedInstancesOfferingResponse() (response *PurchaseReservedI // 本接口(PurchaseReservedInstancesOffering)用于用户购买一个或者多个指定配置的预留实例 // // 可能返回的错误码: -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" -// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" -// UNSUPPORTEDOPERATION_RESERVEDINSTANCEOUTOFQUATA = "UnsupportedOperation.ReservedInstanceOutofQuata" +// +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" +// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" +// UNSUPPORTEDOPERATION_RESERVEDINSTANCEOUTOFQUATA = "UnsupportedOperation.ReservedInstanceOutofQuata" func (c *Client) PurchaseReservedInstancesOffering(request *PurchaseReservedInstancesOfferingRequest) (response *PurchaseReservedInstancesOfferingResponse, err error) { if request == nil { request = NewPurchaseReservedInstancesOfferingRequest() @@ -5247,14 +5242,15 @@ func (c *Client) PurchaseReservedInstancesOffering(request *PurchaseReservedInst // 本接口(PurchaseReservedInstancesOffering)用于用户购买一个或者多个指定配置的预留实例 // // 可能返回的错误码: -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" -// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" -// UNSUPPORTEDOPERATION_RESERVEDINSTANCEOUTOFQUATA = "UnsupportedOperation.ReservedInstanceOutofQuata" +// +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// UNSUPPORTEDOPERATION_INVALIDPERMISSIONNONINTERNATIONALACCOUNT = "UnsupportedOperation.InvalidPermissionNonInternationalAccount" +// UNSUPPORTEDOPERATION_RESERVEDINSTANCEINVISIBLEFORUSER = "UnsupportedOperation.ReservedInstanceInvisibleForUser" +// UNSUPPORTEDOPERATION_RESERVEDINSTANCEOUTOFQUATA = "UnsupportedOperation.ReservedInstanceOutofQuata" func (c *Client) PurchaseReservedInstancesOfferingWithContext(ctx context.Context, request *PurchaseReservedInstancesOfferingRequest) (response *PurchaseReservedInstancesOfferingResponse, err error) { if request == nil { request = NewPurchaseReservedInstancesOfferingRequest() @@ -5285,8 +5281,6 @@ func NewRebootInstancesResponse() (response *RebootInstancesResponse) { // RebootInstances // 本接口 (RebootInstances) 用于重启实例。 // -// -// // * 只有状态为`RUNNING`的实例才可以进行此操作。 // // * 接口调用成功时,实例会进入`REBOOTING`状态;重启实例成功时,实例会进入`RUNNING`状态。 @@ -5298,32 +5292,33 @@ func NewRebootInstancesResponse() (response *RebootInstancesResponse) { // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) RebootInstances(request *RebootInstancesRequest) (response *RebootInstancesResponse, err error) { if request == nil { request = NewRebootInstancesRequest() @@ -5337,8 +5332,6 @@ func (c *Client) RebootInstances(request *RebootInstancesRequest) (response *Reb // RebootInstances // 本接口 (RebootInstances) 用于重启实例。 // -// -// // * 只有状态为`RUNNING`的实例才可以进行此操作。 // // * 接口调用成功时,实例会进入`REBOOTING`状态;重启实例成功时,实例会进入`RUNNING`状态。 @@ -5350,32 +5343,33 @@ func (c *Client) RebootInstances(request *RebootInstancesRequest) (response *Reb // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) RebootInstancesWithContext(ctx context.Context, request *RebootInstancesRequest) (response *RebootInstancesResponse, err error) { if request == nil { request = NewRebootInstancesRequest() @@ -5406,19 +5400,18 @@ func NewRenewHostsResponse() (response *RenewHostsResponse) { // RenewHosts // 本接口 (RenewHosts) 用于续费包年包月CDH实例。 // -// -// // * 只支持操作包年包月实例,否则操作会以特定[错误码](#6.-.E9.94.99.E8.AF.AF.E7.A0.81)返回。 // // * 续费时请确保账户余额充足。可通过[`DescribeAccountBalance`](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。 // // 可能返回的错误码: -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDHOST_NOTSUPPORTED = "InvalidHost.NotSupported" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" -// INVALIDPERIOD = "InvalidPeriod" +// +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDHOST_NOTSUPPORTED = "InvalidHost.NotSupported" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" +// INVALIDPERIOD = "InvalidPeriod" func (c *Client) RenewHosts(request *RenewHostsRequest) (response *RenewHostsResponse, err error) { if request == nil { request = NewRenewHostsRequest() @@ -5432,19 +5425,18 @@ func (c *Client) RenewHosts(request *RenewHostsRequest) (response *RenewHostsRes // RenewHosts // 本接口 (RenewHosts) 用于续费包年包月CDH实例。 // -// -// // * 只支持操作包年包月实例,否则操作会以特定[错误码](#6.-.E9.94.99.E8.AF.AF.E7.A0.81)返回。 // // * 续费时请确保账户余额充足。可通过[`DescribeAccountBalance`](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。 // // 可能返回的错误码: -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDHOST_NOTSUPPORTED = "InvalidHost.NotSupported" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" -// INVALIDPERIOD = "InvalidPeriod" +// +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDHOST_NOTSUPPORTED = "InvalidHost.NotSupported" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" +// INVALIDPERIOD = "InvalidPeriod" func (c *Client) RenewHostsWithContext(ctx context.Context, request *RenewHostsRequest) (response *RenewHostsResponse, err error) { if request == nil { request = NewRenewHostsRequest() @@ -5475,8 +5467,6 @@ func NewRenewInstancesResponse() (response *RenewInstancesResponse) { // RenewInstances // 本接口 (RenewInstances) 用于续费包年包月实例。 // -// -// // * 只支持操作包年包月实例。 // // * 续费时请确保账户余额充足。可通过[`DescribeAccountBalance`](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。 @@ -5484,24 +5474,25 @@ func NewRenewInstancesResponse() (response *RenewInstancesResponse) { // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// FAILEDOPERATION_INVALIDINSTANCEAPPLICATIONROLEEMR = "FailedOperation.InvalidInstanceApplicationRoleEmr" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_INSTANCENOTSUPPORTEDMIXPRICINGMODEL = "InvalidParameterValue.InstanceNotSupportedMixPricingModel" -// INVALIDPERIOD = "InvalidPeriod" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" -// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// +// FAILEDOPERATION_INVALIDINSTANCEAPPLICATIONROLEEMR = "FailedOperation.InvalidInstanceApplicationRoleEmr" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_INSTANCENOTSUPPORTEDMIXPRICINGMODEL = "InvalidParameterValue.InstanceNotSupportedMixPricingModel" +// INVALIDPERIOD = "InvalidPeriod" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" +// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" func (c *Client) RenewInstances(request *RenewInstancesRequest) (response *RenewInstancesResponse, err error) { if request == nil { request = NewRenewInstancesRequest() @@ -5515,8 +5506,6 @@ func (c *Client) RenewInstances(request *RenewInstancesRequest) (response *Renew // RenewInstances // 本接口 (RenewInstances) 用于续费包年包月实例。 // -// -// // * 只支持操作包年包月实例。 // // * 续费时请确保账户余额充足。可通过[`DescribeAccountBalance`](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。 @@ -5524,24 +5513,25 @@ func (c *Client) RenewInstances(request *RenewInstancesRequest) (response *Renew // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// FAILEDOPERATION_INVALIDINSTANCEAPPLICATIONROLEEMR = "FailedOperation.InvalidInstanceApplicationRoleEmr" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_INSTANCENOTSUPPORTEDMIXPRICINGMODEL = "InvalidParameterValue.InstanceNotSupportedMixPricingModel" -// INVALIDPERIOD = "InvalidPeriod" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" -// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// +// FAILEDOPERATION_INVALIDINSTANCEAPPLICATIONROLEEMR = "FailedOperation.InvalidInstanceApplicationRoleEmr" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_INSTANCENOTSUPPORTEDMIXPRICINGMODEL = "InvalidParameterValue.InstanceNotSupportedMixPricingModel" +// INVALIDPERIOD = "InvalidPeriod" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" +// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" func (c *Client) RenewInstancesWithContext(ctx context.Context, request *RenewInstancesRequest) (response *RenewInstancesResponse, err error) { if request == nil { request = NewRenewInstancesRequest() @@ -5572,8 +5562,6 @@ func NewResetInstanceResponse() (response *ResetInstanceResponse) { // ResetInstance // 本接口 (ResetInstance) 用于重装指定实例上的操作系统。 // -// -// // * 如果指定了`ImageId`参数,则使用指定的镜像重装;否则按照当前实例使用的镜像进行重装。 // // * 系统盘将会被格式化,并重置;请确保系统盘中无重要文件。 @@ -5589,53 +5577,54 @@ func NewResetInstanceResponse() (response *ResetInstanceResponse) { // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETER_HOSTNAMEILLEGAL = "InvalidParameter.HostNameIllegal" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" -// INVALIDPARAMETERVALUE_INVALIDIMAGEFORGIVENINSTANCETYPE = "InvalidParameterValue.InvalidImageForGivenInstanceType" -// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" -// INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" -// INVALIDPARAMETERVALUE_KEYPAIRNOTFOUND = "InvalidParameterValue.KeyPairNotFound" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPASSWORD = "InvalidPassword" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_CHCINSTALLCLOUDIMAGEWITHOUTDEPLOYNETWORK = "OperationDenied.ChcInstallCloudImageWithoutDeployNetwork" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// RESOURCEINUSE = "ResourceInUse" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" -// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" -// UNSUPPORTEDOPERATION_RAWLOCALDISKINSREINSTALLTOQCOW2 = "UnsupportedOperation.RawLocalDiskInsReinstalltoQcow2" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETER_HOSTNAMEILLEGAL = "InvalidParameter.HostNameIllegal" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" +// INVALIDPARAMETERVALUE_INVALIDIMAGEFORGIVENINSTANCETYPE = "InvalidParameterValue.InvalidImageForGivenInstanceType" +// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" +// INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" +// INVALIDPARAMETERVALUE_KEYPAIRNOTFOUND = "InvalidParameterValue.KeyPairNotFound" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPASSWORD = "InvalidPassword" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_CHCINSTALLCLOUDIMAGEWITHOUTDEPLOYNETWORK = "OperationDenied.ChcInstallCloudImageWithoutDeployNetwork" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// RESOURCEINUSE = "ResourceInUse" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" +// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" +// UNSUPPORTEDOPERATION_RAWLOCALDISKINSREINSTALLTOQCOW2 = "UnsupportedOperation.RawLocalDiskInsReinstalltoQcow2" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) ResetInstance(request *ResetInstanceRequest) (response *ResetInstanceResponse, err error) { if request == nil { request = NewResetInstanceRequest() @@ -5649,8 +5638,6 @@ func (c *Client) ResetInstance(request *ResetInstanceRequest) (response *ResetIn // ResetInstance // 本接口 (ResetInstance) 用于重装指定实例上的操作系统。 // -// -// // * 如果指定了`ImageId`参数,则使用指定的镜像重装;否则按照当前实例使用的镜像进行重装。 // // * 系统盘将会被格式化,并重置;请确保系统盘中无重要文件。 @@ -5666,53 +5653,54 @@ func (c *Client) ResetInstance(request *ResetInstanceRequest) (response *ResetIn // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETER_HOSTNAMEILLEGAL = "InvalidParameter.HostNameIllegal" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" -// INVALIDPARAMETERVALUE_INVALIDIMAGEFORGIVENINSTANCETYPE = "InvalidParameterValue.InvalidImageForGivenInstanceType" -// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" -// INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" -// INVALIDPARAMETERVALUE_KEYPAIRNOTFOUND = "InvalidParameterValue.KeyPairNotFound" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPASSWORD = "InvalidPassword" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_CHCINSTALLCLOUDIMAGEWITHOUTDEPLOYNETWORK = "OperationDenied.ChcInstallCloudImageWithoutDeployNetwork" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// RESOURCEINUSE = "ResourceInUse" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" -// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" -// UNSUPPORTEDOPERATION_RAWLOCALDISKINSREINSTALLTOQCOW2 = "UnsupportedOperation.RawLocalDiskInsReinstalltoQcow2" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETER_HOSTNAMEILLEGAL = "InvalidParameter.HostNameIllegal" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" +// INVALIDPARAMETERVALUE_INVALIDIMAGEFORGIVENINSTANCETYPE = "InvalidParameterValue.InvalidImageForGivenInstanceType" +// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" +// INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" +// INVALIDPARAMETERVALUE_KEYPAIRNOTFOUND = "InvalidParameterValue.KeyPairNotFound" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPASSWORD = "InvalidPassword" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_CHCINSTALLCLOUDIMAGEWITHOUTDEPLOYNETWORK = "OperationDenied.ChcInstallCloudImageWithoutDeployNetwork" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// RESOURCEINUSE = "ResourceInUse" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" +// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" +// UNSUPPORTEDOPERATION_RAWLOCALDISKINSREINSTALLTOQCOW2 = "UnsupportedOperation.RawLocalDiskInsReinstalltoQcow2" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) ResetInstanceWithContext(ctx context.Context, request *ResetInstanceRequest) (response *ResetInstanceResponse, err error) { if request == nil { request = NewResetInstanceRequest() @@ -5743,8 +5731,6 @@ func NewResetInstancesInternetMaxBandwidthResponse() (response *ResetInstancesIn // ResetInstancesInternetMaxBandwidth // 本接口 (ResetInstancesInternetMaxBandwidth) 用于调整实例公网带宽上限。 // -// -// // * 不同机型带宽上限范围不一致,具体限制详见[公网带宽上限](https://cloud.tencent.com/document/product/213/12523)。 // // * 对于 `BANDWIDTH_PREPAID` 计费方式的带宽,需要输入参数 `StartTime` 和 `EndTime` ,指定调整后的带宽的生效时间段。在这种场景下目前不支持调小带宽,会涉及扣费,请确保账户余额充足。可通过 [`DescribeAccountBalance`](https://cloud.tencent.com/document/product/555/20253) 接口查询账户余额。 @@ -5760,32 +5746,33 @@ func NewResetInstancesInternetMaxBandwidthResponse() (response *ResetInstancesIn // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// FAILEDOPERATION_NOTFOUNDEIP = "FailedOperation.NotFoundEIP" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPERMISSION = "InvalidPermission" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// FAILEDOPERATION_NOTFOUNDEIP = "FailedOperation.NotFoundEIP" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPERMISSION = "InvalidPermission" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) ResetInstancesInternetMaxBandwidth(request *ResetInstancesInternetMaxBandwidthRequest) (response *ResetInstancesInternetMaxBandwidthResponse, err error) { if request == nil { request = NewResetInstancesInternetMaxBandwidthRequest() @@ -5799,8 +5786,6 @@ func (c *Client) ResetInstancesInternetMaxBandwidth(request *ResetInstancesInter // ResetInstancesInternetMaxBandwidth // 本接口 (ResetInstancesInternetMaxBandwidth) 用于调整实例公网带宽上限。 // -// -// // * 不同机型带宽上限范围不一致,具体限制详见[公网带宽上限](https://cloud.tencent.com/document/product/213/12523)。 // // * 对于 `BANDWIDTH_PREPAID` 计费方式的带宽,需要输入参数 `StartTime` 和 `EndTime` ,指定调整后的带宽的生效时间段。在这种场景下目前不支持调小带宽,会涉及扣费,请确保账户余额充足。可通过 [`DescribeAccountBalance`](https://cloud.tencent.com/document/product/555/20253) 接口查询账户余额。 @@ -5816,32 +5801,33 @@ func (c *Client) ResetInstancesInternetMaxBandwidth(request *ResetInstancesInter // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// FAILEDOPERATION_NOTFOUNDEIP = "FailedOperation.NotFoundEIP" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPERMISSION = "InvalidPermission" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// FAILEDOPERATION_NOTFOUNDEIP = "FailedOperation.NotFoundEIP" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPERMISSION = "InvalidPermission" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) ResetInstancesInternetMaxBandwidthWithContext(ctx context.Context, request *ResetInstancesInternetMaxBandwidthRequest) (response *ResetInstancesInternetMaxBandwidthResponse, err error) { if request == nil { request = NewResetInstancesInternetMaxBandwidthRequest() @@ -5872,8 +5858,6 @@ func NewResetInstancesPasswordResponse() (response *ResetInstancesPasswordRespon // ResetInstancesPassword // 本接口 (ResetInstancesPassword) 用于将实例操作系统的密码重置为用户指定的密码。 // -// -// // *如果是修改系统管理云密码:实例的操作系统不同,管理员帐号也会不一样(`Windows`为`Administrator`,`Ubuntu`为`ubuntu`,其它系统为`root`)。 // // * 重置处于运行中状态的实例密码,需要设置关机参数`ForceStop`为`TRUE`。如果没有显式指定强制关机参数,则只有处于关机状态的实例才允许执行重置密码操作。 @@ -5883,31 +5867,32 @@ func NewResetInstancesPasswordResponse() (response *ResetInstancesPasswordRespon // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPASSWORD = "InvalidPassword" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" -// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPASSWORD = "InvalidPassword" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) ResetInstancesPassword(request *ResetInstancesPasswordRequest) (response *ResetInstancesPasswordResponse, err error) { if request == nil { request = NewResetInstancesPasswordRequest() @@ -5921,8 +5906,6 @@ func (c *Client) ResetInstancesPassword(request *ResetInstancesPasswordRequest) // ResetInstancesPassword // 本接口 (ResetInstancesPassword) 用于将实例操作系统的密码重置为用户指定的密码。 // -// -// // *如果是修改系统管理云密码:实例的操作系统不同,管理员帐号也会不一样(`Windows`为`Administrator`,`Ubuntu`为`ubuntu`,其它系统为`root`)。 // // * 重置处于运行中状态的实例密码,需要设置关机参数`ForceStop`为`TRUE`。如果没有显式指定强制关机参数,则只有处于关机状态的实例才允许执行重置密码操作。 @@ -5932,31 +5915,32 @@ func (c *Client) ResetInstancesPassword(request *ResetInstancesPasswordRequest) // * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPASSWORD = "InvalidPassword" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" -// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPASSWORD = "InvalidPassword" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) ResetInstancesPasswordWithContext(ctx context.Context, request *ResetInstancesPasswordRequest) (response *ResetInstancesPasswordResponse, err error) { if request == nil { request = NewResetInstancesPasswordRequest() @@ -5987,8 +5971,6 @@ func NewResetInstancesTypeResponse() (response *ResetInstancesTypeResponse) { // ResetInstancesType // 本接口 (ResetInstancesType) 用于调整实例的机型。 // -// -// // * 目前只支持[系统盘类型](/document/api/213/9452#block_device)是CLOUD_BASIC、CLOUD_PREMIUM、CLOUD_SSD类型的实例使用该接口进行机型调整。 // // * 目前不支持[CDH](https://cloud.tencent.com/document/product/416)实例使用该接口调整机型。对于包年包月实例,使用该接口会涉及扣费,请确保账户余额充足。可通过[`DescribeAccountBalance`](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。 @@ -5996,48 +5978,49 @@ func NewResetInstancesTypeResponse() (response *ResetInstancesTypeResponse) { // * 本接口为异步接口,调整实例配置请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表调整实例配置操作成功。 // // 可能返回的错误码: -// FAILEDOPERATION_PROMOTIONALPERIORESTRICTION = "FailedOperation.PromotionalPerioRestriction" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_GPUINSTANCEFAMILY = "InvalidParameterValue.GPUInstanceFamily" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" -// INVALIDPERMISSION = "InvalidPermission" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// LIMITEXCEEDED_ENINUMLIMIT = "LimitExceeded.EniNumLimit" -// LIMITEXCEEDED_INSTANCETYPEBANDWIDTH = "LimitExceeded.InstanceTypeBandwidth" -// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" -// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" -// RESOURCESSOLDOUT_AVAILABLEZONE = "ResourcesSoldOut.AvailableZone" -// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" -// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" -// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILY = "UnsupportedOperation.UnsupportedChangeInstanceFamily" -// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILYTOARM = "UnsupportedOperation.UnsupportedChangeInstanceFamilyToARM" -// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILYTOSA3 = "UnsupportedOperation.UnsupportedChangeInstanceFamilyToSA3" -// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCETOTHISINSTANCEFAMILY = "UnsupportedOperation.UnsupportedChangeInstanceToThisInstanceFamily" +// +// FAILEDOPERATION_PROMOTIONALPERIORESTRICTION = "FailedOperation.PromotionalPerioRestriction" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_GPUINSTANCEFAMILY = "InvalidParameterValue.GPUInstanceFamily" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" +// INVALIDPERMISSION = "InvalidPermission" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// LIMITEXCEEDED_ENINUMLIMIT = "LimitExceeded.EniNumLimit" +// LIMITEXCEEDED_INSTANCETYPEBANDWIDTH = "LimitExceeded.InstanceTypeBandwidth" +// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" +// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" +// RESOURCESSOLDOUT_AVAILABLEZONE = "ResourcesSoldOut.AvailableZone" +// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" +// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILY = "UnsupportedOperation.UnsupportedChangeInstanceFamily" +// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILYTOARM = "UnsupportedOperation.UnsupportedChangeInstanceFamilyToARM" +// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILYTOSA3 = "UnsupportedOperation.UnsupportedChangeInstanceFamilyToSA3" +// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCETOTHISINSTANCEFAMILY = "UnsupportedOperation.UnsupportedChangeInstanceToThisInstanceFamily" func (c *Client) ResetInstancesType(request *ResetInstancesTypeRequest) (response *ResetInstancesTypeResponse, err error) { if request == nil { request = NewResetInstancesTypeRequest() @@ -6051,8 +6034,6 @@ func (c *Client) ResetInstancesType(request *ResetInstancesTypeRequest) (respons // ResetInstancesType // 本接口 (ResetInstancesType) 用于调整实例的机型。 // -// -// // * 目前只支持[系统盘类型](/document/api/213/9452#block_device)是CLOUD_BASIC、CLOUD_PREMIUM、CLOUD_SSD类型的实例使用该接口进行机型调整。 // // * 目前不支持[CDH](https://cloud.tencent.com/document/product/416)实例使用该接口调整机型。对于包年包月实例,使用该接口会涉及扣费,请确保账户余额充足。可通过[`DescribeAccountBalance`](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。 @@ -6060,48 +6041,49 @@ func (c *Client) ResetInstancesType(request *ResetInstancesTypeRequest) (respons // * 本接口为异步接口,调整实例配置请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表调整实例配置操作成功。 // // 可能返回的错误码: -// FAILEDOPERATION_PROMOTIONALPERIORESTRICTION = "FailedOperation.PromotionalPerioRestriction" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_GPUINSTANCEFAMILY = "InvalidParameterValue.GPUInstanceFamily" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" -// INVALIDPERMISSION = "InvalidPermission" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// LIMITEXCEEDED_ENINUMLIMIT = "LimitExceeded.EniNumLimit" -// LIMITEXCEEDED_INSTANCETYPEBANDWIDTH = "LimitExceeded.InstanceTypeBandwidth" -// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" -// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" -// RESOURCESSOLDOUT_AVAILABLEZONE = "ResourcesSoldOut.AvailableZone" -// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" -// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" -// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILY = "UnsupportedOperation.UnsupportedChangeInstanceFamily" -// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILYTOARM = "UnsupportedOperation.UnsupportedChangeInstanceFamilyToARM" -// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILYTOSA3 = "UnsupportedOperation.UnsupportedChangeInstanceFamilyToSA3" -// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCETOTHISINSTANCEFAMILY = "UnsupportedOperation.UnsupportedChangeInstanceToThisInstanceFamily" +// +// FAILEDOPERATION_PROMOTIONALPERIORESTRICTION = "FailedOperation.PromotionalPerioRestriction" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_GPUINSTANCEFAMILY = "InvalidParameterValue.GPUInstanceFamily" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" +// INVALIDPERMISSION = "InvalidPermission" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// LIMITEXCEEDED_ENINUMLIMIT = "LimitExceeded.EniNumLimit" +// LIMITEXCEEDED_INSTANCETYPEBANDWIDTH = "LimitExceeded.InstanceTypeBandwidth" +// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" +// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" +// RESOURCESSOLDOUT_AVAILABLEZONE = "ResourcesSoldOut.AvailableZone" +// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" +// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILY = "UnsupportedOperation.UnsupportedChangeInstanceFamily" +// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILYTOARM = "UnsupportedOperation.UnsupportedChangeInstanceFamilyToARM" +// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCEFAMILYTOSA3 = "UnsupportedOperation.UnsupportedChangeInstanceFamilyToSA3" +// UNSUPPORTEDOPERATION_UNSUPPORTEDCHANGEINSTANCETOTHISINSTANCEFAMILY = "UnsupportedOperation.UnsupportedChangeInstanceToThisInstanceFamily" func (c *Client) ResetInstancesTypeWithContext(ctx context.Context, request *ResetInstancesTypeRequest) (response *ResetInstancesTypeResponse, err error) { if request == nil { request = NewResetInstancesTypeRequest() @@ -6132,8 +6114,6 @@ func NewResizeInstanceDisksResponse() (response *ResizeInstanceDisksResponse) { // ResizeInstanceDisks // 本接口 (ResizeInstanceDisks) 用于扩容实例的数据盘。 // -// -// // * 目前只支持扩容非弹性盘([`DescribeDisks`](https://cloud.tencent.com/document/api/362/16315)接口返回值中的`Portable`为`false`表示非弹性),且[数据盘类型](https://cloud.tencent.com/document/api/213/15753#DataDisk)为:`CLOUD_BASIC`、`CLOUD_PREMIUM`、`CLOUD_SSD`和[CDH](https://cloud.tencent.com/document/product/416)实例的`LOCAL_BASIC`、`LOCAL_SSD`类型数据盘。 // // * 对于包年包月实例,使用该接口会涉及扣费,请确保账户余额充足。可通过[`DescribeAccountBalance`](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。 @@ -6145,25 +6125,26 @@ func NewResizeInstanceDisksResponse() (response *ResizeInstanceDisksResponse) { // * 如果是系统盘,目前只支持扩容,不支持缩容。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_ATLEASTONE = "MissingParameter.AtLeastOne" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" -// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_ATLEASTONE = "MissingParameter.AtLeastOne" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" +// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) ResizeInstanceDisks(request *ResizeInstanceDisksRequest) (response *ResizeInstanceDisksResponse, err error) { if request == nil { request = NewResizeInstanceDisksRequest() @@ -6177,8 +6158,6 @@ func (c *Client) ResizeInstanceDisks(request *ResizeInstanceDisksRequest) (respo // ResizeInstanceDisks // 本接口 (ResizeInstanceDisks) 用于扩容实例的数据盘。 // -// -// // * 目前只支持扩容非弹性盘([`DescribeDisks`](https://cloud.tencent.com/document/api/362/16315)接口返回值中的`Portable`为`false`表示非弹性),且[数据盘类型](https://cloud.tencent.com/document/api/213/15753#DataDisk)为:`CLOUD_BASIC`、`CLOUD_PREMIUM`、`CLOUD_SSD`和[CDH](https://cloud.tencent.com/document/product/416)实例的`LOCAL_BASIC`、`LOCAL_SSD`类型数据盘。 // // * 对于包年包月实例,使用该接口会涉及扣费,请确保账户余额充足。可通过[`DescribeAccountBalance`](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。 @@ -6190,25 +6169,26 @@ func (c *Client) ResizeInstanceDisks(request *ResizeInstanceDisksRequest) (respo // * 如果是系统盘,目前只支持扩容,不支持缩容。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_ATLEASTONE = "MissingParameter.AtLeastOne" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" -// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_ATLEASTONE = "MissingParameter.AtLeastOne" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" +// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) ResizeInstanceDisksWithContext(ctx context.Context, request *ResizeInstanceDisksRequest) (response *ResizeInstanceDisksResponse, err error) { if request == nil { request = NewResizeInstanceDisksRequest() @@ -6239,8 +6219,6 @@ func NewRunInstancesResponse() (response *RunInstancesResponse) { // RunInstances // 本接口 (RunInstances) 用于创建一个或多个指定配置的实例。 // -// -// // * 实例创建成功后将自动开机启动,[实例状态](https://cloud.tencent.com/document/product/213/15753#InstanceStatus)变为“运行中”。 // // * 预付费实例的购买会预先扣除本次实例购买所需金额,按小时后付费实例购买会预先冻结本次实例购买一小时内所需金额,在调用本接口前请确保账户余额充足。 @@ -6252,113 +6230,114 @@ func NewRunInstancesResponse() (response *RunInstancesResponse) { // * 本接口为异步接口,当创建实例请求下发成功后会返回一个实例`ID`列表和一个`RequestId`,此时创建实例操作并未立即完成。在此期间实例的状态将会处于“PENDING”,实例创建结果可以通过调用 [DescribeInstancesStatus](https://cloud.tencent.com/document/product/213/15738) 接口查询,如果实例状态(InstanceState)由“PENDING”变为“RUNNING”,则代表实例创建成功,“LAUNCH_FAILED”代表实例创建失败。 // // 可能返回的错误码: -// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" -// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" -// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" -// FAILEDOPERATION_ILLEGALTAGVALUE = "FailedOperation.IllegalTagValue" -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// FAILEDOPERATION_NOAVAILABLEIPADDRESSCOUNTINSUBNET = "FailedOperation.NoAvailableIpAddressCountInSubnet" -// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" -// FAILEDOPERATION_SNAPSHOTSIZELARGERTHANDATASIZE = "FailedOperation.SnapshotSizeLargerThanDataSize" -// FAILEDOPERATION_SNAPSHOTSIZELESSTHANDATASIZE = "FailedOperation.SnapshotSizeLessThanDataSize" -// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" -// INSTANCESQUOTALIMITEXCEEDED = "InstancesQuotaLimitExceeded" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER_HOSTIDSTATUSNOTSUPPORT = "InvalidParameter.HostIdStatusNotSupport" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETER_INVALIDIPFORMAT = "InvalidParameter.InvalidIpFormat" -// INVALIDPARAMETER_LACKCORECOUNTORTHREADPERCORE = "InvalidParameter.LackCoreCountOrThreadPerCore" -// INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" -// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDNOTFOUND = "InvalidParameterValue.BandwidthPackageIdNotFound" -// INVALIDPARAMETERVALUE_CHCHOSTSNOTFOUND = "InvalidParameterValue.ChcHostsNotFound" -// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" -// INVALIDPARAMETERVALUE_CORECOUNTVALUE = "InvalidParameterValue.CoreCountValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_IPADDRESSMALFORMED = "InvalidParameterValue.IPAddressMalformed" -// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" -// INVALIDPARAMETERVALUE_INSTANCETYPEREQUIREDHPCCLUSTER = "InvalidParameterValue.InstanceTypeRequiredHpcCluster" -// INVALIDPARAMETERVALUE_INSUFFICIENTOFFERING = "InvalidParameterValue.InsufficientOffering" -// INVALIDPARAMETERVALUE_INSUFFICIENTPRICE = "InvalidParameterValue.InsufficientPrice" -// INVALIDPARAMETERVALUE_INVALIDIMAGEFORGIVENINSTANCETYPE = "InvalidParameterValue.InvalidImageForGivenInstanceType" -// INVALIDPARAMETERVALUE_INVALIDIMAGEFORMAT = "InvalidParameterValue.InvalidImageFormat" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_INVALIDIMAGEOSNAME = "InvalidParameterValue.InvalidImageOsName" -// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" -// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" -// INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" -// INVALIDPARAMETERVALUE_INVALIDTIMEFORMAT = "InvalidParameterValue.InvalidTimeFormat" -// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" -// INVALIDPARAMETERVALUE_KEYPAIRNOTFOUND = "InvalidParameterValue.KeyPairNotFound" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" -// INVALIDPARAMETERVALUE_SUBNETIDMALFORMED = "InvalidParameterValue.SubnetIdMalformed" -// INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" -// INVALIDPARAMETERVALUE_TAGKEYNOTFOUND = "InvalidParameterValue.TagKeyNotFound" -// INVALIDPARAMETERVALUE_THREADPERCOREVALUE = "InvalidParameterValue.ThreadPerCoreValue" -// INVALIDPARAMETERVALUE_VPCIDMALFORMED = "InvalidParameterValue.VpcIdMalformed" -// INVALIDPARAMETERVALUE_VPCIDNOTEXIST = "InvalidParameterValue.VpcIdNotExist" -// INVALIDPARAMETERVALUE_VPCIDZONEIDNOTMATCH = "InvalidParameterValue.VpcIdZoneIdNotMatch" -// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" -// INVALIDPASSWORD = "InvalidPassword" -// INVALIDPERIOD = "InvalidPeriod" -// INVALIDPERMISSION = "InvalidPermission" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// LIMITEXCEEDED_CVMSVIFSPERSECGROUPLIMITEXCEEDED = "LimitExceeded.CvmsVifsPerSecGroupLimitExceeded" -// LIMITEXCEEDED_DISASTERRECOVERGROUP = "LimitExceeded.DisasterRecoverGroup" -// LIMITEXCEEDED_IPV6ADDRESSNUM = "LimitExceeded.IPv6AddressNum" -// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" -// LIMITEXCEEDED_PREPAYQUOTA = "LimitExceeded.PrepayQuota" -// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" -// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" -// LIMITEXCEEDED_USERSPOTQUOTA = "LimitExceeded.UserSpotQuota" -// LIMITEXCEEDED_VPCSUBNETNUM = "LimitExceeded.VpcSubnetNum" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_DPDKINSTANCETYPEREQUIREDVPC = "MissingParameter.DPDKInstanceTypeRequiredVPC" -// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" -// OPERATIONDENIED_CHCINSTALLCLOUDIMAGEWITHOUTDEPLOYNETWORK = "OperationDenied.ChcInstallCloudImageWithoutDeployNetwork" -// RESOURCEINSUFFICIENT_AVAILABILITYZONESOLDOUT = "ResourceInsufficient.AvailabilityZoneSoldOut" -// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" -// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" -// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" -// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" -// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" -// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" -// RESOURCESSOLDOUT_EIPINSUFFICIENT = "ResourcesSoldOut.EipInsufficient" -// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" -// UNSUPPORTEDOPERATION_INVALIDREGIONDISKENCRYPT = "UnsupportedOperation.InvalidRegionDiskEncrypt" -// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" -// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" -// UNSUPPORTEDOPERATION_NOTSUPPORTIMPORTINSTANCESACTIONTIMER = "UnsupportedOperation.NotSupportImportInstancesActionTimer" -// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" -// UNSUPPORTEDOPERATION_RAWLOCALDISKINSREINSTALLTOQCOW2 = "UnsupportedOperation.RawLocalDiskInsReinstalltoQcow2" -// UNSUPPORTEDOPERATION_UNSUPPORTEDINTERNATIONALUSER = "UnsupportedOperation.UnsupportedInternationalUser" -// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" -// VPCIPISUSED = "VpcIpIsUsed" +// +// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" +// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" +// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" +// FAILEDOPERATION_ILLEGALTAGVALUE = "FailedOperation.IllegalTagValue" +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// FAILEDOPERATION_NOAVAILABLEIPADDRESSCOUNTINSUBNET = "FailedOperation.NoAvailableIpAddressCountInSubnet" +// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" +// FAILEDOPERATION_SNAPSHOTSIZELARGERTHANDATASIZE = "FailedOperation.SnapshotSizeLargerThanDataSize" +// FAILEDOPERATION_SNAPSHOTSIZELESSTHANDATASIZE = "FailedOperation.SnapshotSizeLessThanDataSize" +// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" +// INSTANCESQUOTALIMITEXCEEDED = "InstancesQuotaLimitExceeded" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER_HOSTIDSTATUSNOTSUPPORT = "InvalidParameter.HostIdStatusNotSupport" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETER_INVALIDIPFORMAT = "InvalidParameter.InvalidIpFormat" +// INVALIDPARAMETER_LACKCORECOUNTORTHREADPERCORE = "InvalidParameter.LackCoreCountOrThreadPerCore" +// INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" +// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDNOTFOUND = "InvalidParameterValue.BandwidthPackageIdNotFound" +// INVALIDPARAMETERVALUE_CHCHOSTSNOTFOUND = "InvalidParameterValue.ChcHostsNotFound" +// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" +// INVALIDPARAMETERVALUE_CORECOUNTVALUE = "InvalidParameterValue.CoreCountValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_IPADDRESSMALFORMED = "InvalidParameterValue.IPAddressMalformed" +// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" +// INVALIDPARAMETERVALUE_INSTANCETYPEREQUIREDHPCCLUSTER = "InvalidParameterValue.InstanceTypeRequiredHpcCluster" +// INVALIDPARAMETERVALUE_INSUFFICIENTOFFERING = "InvalidParameterValue.InsufficientOffering" +// INVALIDPARAMETERVALUE_INSUFFICIENTPRICE = "InvalidParameterValue.InsufficientPrice" +// INVALIDPARAMETERVALUE_INVALIDIMAGEFORGIVENINSTANCETYPE = "InvalidParameterValue.InvalidImageForGivenInstanceType" +// INVALIDPARAMETERVALUE_INVALIDIMAGEFORMAT = "InvalidParameterValue.InvalidImageFormat" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_INVALIDIMAGEOSNAME = "InvalidParameterValue.InvalidImageOsName" +// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" +// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" +// INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" +// INVALIDPARAMETERVALUE_INVALIDTIMEFORMAT = "InvalidParameterValue.InvalidTimeFormat" +// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" +// INVALIDPARAMETERVALUE_KEYPAIRNOTFOUND = "InvalidParameterValue.KeyPairNotFound" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" +// INVALIDPARAMETERVALUE_SUBNETIDMALFORMED = "InvalidParameterValue.SubnetIdMalformed" +// INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" +// INVALIDPARAMETERVALUE_TAGKEYNOTFOUND = "InvalidParameterValue.TagKeyNotFound" +// INVALIDPARAMETERVALUE_THREADPERCOREVALUE = "InvalidParameterValue.ThreadPerCoreValue" +// INVALIDPARAMETERVALUE_VPCIDMALFORMED = "InvalidParameterValue.VpcIdMalformed" +// INVALIDPARAMETERVALUE_VPCIDNOTEXIST = "InvalidParameterValue.VpcIdNotExist" +// INVALIDPARAMETERVALUE_VPCIDZONEIDNOTMATCH = "InvalidParameterValue.VpcIdZoneIdNotMatch" +// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" +// INVALIDPASSWORD = "InvalidPassword" +// INVALIDPERIOD = "InvalidPeriod" +// INVALIDPERMISSION = "InvalidPermission" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// LIMITEXCEEDED_CVMSVIFSPERSECGROUPLIMITEXCEEDED = "LimitExceeded.CvmsVifsPerSecGroupLimitExceeded" +// LIMITEXCEEDED_DISASTERRECOVERGROUP = "LimitExceeded.DisasterRecoverGroup" +// LIMITEXCEEDED_IPV6ADDRESSNUM = "LimitExceeded.IPv6AddressNum" +// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" +// LIMITEXCEEDED_PREPAYQUOTA = "LimitExceeded.PrepayQuota" +// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" +// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" +// LIMITEXCEEDED_USERSPOTQUOTA = "LimitExceeded.UserSpotQuota" +// LIMITEXCEEDED_VPCSUBNETNUM = "LimitExceeded.VpcSubnetNum" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_DPDKINSTANCETYPEREQUIREDVPC = "MissingParameter.DPDKInstanceTypeRequiredVPC" +// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" +// OPERATIONDENIED_CHCINSTALLCLOUDIMAGEWITHOUTDEPLOYNETWORK = "OperationDenied.ChcInstallCloudImageWithoutDeployNetwork" +// RESOURCEINSUFFICIENT_AVAILABILITYZONESOLDOUT = "ResourceInsufficient.AvailabilityZoneSoldOut" +// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" +// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" +// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" +// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" +// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" +// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" +// RESOURCESSOLDOUT_EIPINSUFFICIENT = "ResourcesSoldOut.EipInsufficient" +// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" +// UNSUPPORTEDOPERATION_INVALIDREGIONDISKENCRYPT = "UnsupportedOperation.InvalidRegionDiskEncrypt" +// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" +// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" +// UNSUPPORTEDOPERATION_NOTSUPPORTIMPORTINSTANCESACTIONTIMER = "UnsupportedOperation.NotSupportImportInstancesActionTimer" +// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" +// UNSUPPORTEDOPERATION_RAWLOCALDISKINSREINSTALLTOQCOW2 = "UnsupportedOperation.RawLocalDiskInsReinstalltoQcow2" +// UNSUPPORTEDOPERATION_UNSUPPORTEDINTERNATIONALUSER = "UnsupportedOperation.UnsupportedInternationalUser" +// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" +// VPCIPISUSED = "VpcIpIsUsed" func (c *Client) RunInstances(request *RunInstancesRequest) (response *RunInstancesResponse, err error) { if request == nil { request = NewRunInstancesRequest() @@ -6372,8 +6351,6 @@ func (c *Client) RunInstances(request *RunInstancesRequest) (response *RunInstan // RunInstances // 本接口 (RunInstances) 用于创建一个或多个指定配置的实例。 // -// -// // * 实例创建成功后将自动开机启动,[实例状态](https://cloud.tencent.com/document/product/213/15753#InstanceStatus)变为“运行中”。 // // * 预付费实例的购买会预先扣除本次实例购买所需金额,按小时后付费实例购买会预先冻结本次实例购买一小时内所需金额,在调用本接口前请确保账户余额充足。 @@ -6385,113 +6362,114 @@ func (c *Client) RunInstances(request *RunInstancesRequest) (response *RunInstan // * 本接口为异步接口,当创建实例请求下发成功后会返回一个实例`ID`列表和一个`RequestId`,此时创建实例操作并未立即完成。在此期间实例的状态将会处于“PENDING”,实例创建结果可以通过调用 [DescribeInstancesStatus](https://cloud.tencent.com/document/product/213/15738) 接口查询,如果实例状态(InstanceState)由“PENDING”变为“RUNNING”,则代表实例创建成功,“LAUNCH_FAILED”代表实例创建失败。 // // 可能返回的错误码: -// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" -// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" -// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" -// FAILEDOPERATION_ILLEGALTAGVALUE = "FailedOperation.IllegalTagValue" -// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" -// FAILEDOPERATION_NOAVAILABLEIPADDRESSCOUNTINSUBNET = "FailedOperation.NoAvailableIpAddressCountInSubnet" -// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" -// FAILEDOPERATION_SNAPSHOTSIZELARGERTHANDATASIZE = "FailedOperation.SnapshotSizeLargerThanDataSize" -// FAILEDOPERATION_SNAPSHOTSIZELESSTHANDATASIZE = "FailedOperation.SnapshotSizeLessThanDataSize" -// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" -// INSTANCESQUOTALIMITEXCEEDED = "InstancesQuotaLimitExceeded" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" -// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" -// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" -// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" -// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" -// INVALIDPARAMETER_HOSTIDSTATUSNOTSUPPORT = "InvalidParameter.HostIdStatusNotSupport" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETER_INVALIDIPFORMAT = "InvalidParameter.InvalidIpFormat" -// INVALIDPARAMETER_LACKCORECOUNTORTHREADPERCORE = "InvalidParameter.LackCoreCountOrThreadPerCore" -// INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" -// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDNOTFOUND = "InvalidParameterValue.BandwidthPackageIdNotFound" -// INVALIDPARAMETERVALUE_CHCHOSTSNOTFOUND = "InvalidParameterValue.ChcHostsNotFound" -// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" -// INVALIDPARAMETERVALUE_CORECOUNTVALUE = "InvalidParameterValue.CoreCountValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_IPADDRESSMALFORMED = "InvalidParameterValue.IPAddressMalformed" -// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" -// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" -// INVALIDPARAMETERVALUE_INSTANCETYPEREQUIREDHPCCLUSTER = "InvalidParameterValue.InstanceTypeRequiredHpcCluster" -// INVALIDPARAMETERVALUE_INSUFFICIENTOFFERING = "InvalidParameterValue.InsufficientOffering" -// INVALIDPARAMETERVALUE_INSUFFICIENTPRICE = "InvalidParameterValue.InsufficientPrice" -// INVALIDPARAMETERVALUE_INVALIDIMAGEFORGIVENINSTANCETYPE = "InvalidParameterValue.InvalidImageForGivenInstanceType" -// INVALIDPARAMETERVALUE_INVALIDIMAGEFORMAT = "InvalidParameterValue.InvalidImageFormat" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_INVALIDIMAGEOSNAME = "InvalidParameterValue.InvalidImageOsName" -// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" -// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" -// INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" -// INVALIDPARAMETERVALUE_INVALIDTIMEFORMAT = "InvalidParameterValue.InvalidTimeFormat" -// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" -// INVALIDPARAMETERVALUE_KEYPAIRNOTFOUND = "InvalidParameterValue.KeyPairNotFound" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" -// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" -// INVALIDPARAMETERVALUE_SUBNETIDMALFORMED = "InvalidParameterValue.SubnetIdMalformed" -// INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" -// INVALIDPARAMETERVALUE_TAGKEYNOTFOUND = "InvalidParameterValue.TagKeyNotFound" -// INVALIDPARAMETERVALUE_THREADPERCOREVALUE = "InvalidParameterValue.ThreadPerCoreValue" -// INVALIDPARAMETERVALUE_VPCIDMALFORMED = "InvalidParameterValue.VpcIdMalformed" -// INVALIDPARAMETERVALUE_VPCIDNOTEXIST = "InvalidParameterValue.VpcIdNotExist" -// INVALIDPARAMETERVALUE_VPCIDZONEIDNOTMATCH = "InvalidParameterValue.VpcIdZoneIdNotMatch" -// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" -// INVALIDPASSWORD = "InvalidPassword" -// INVALIDPERIOD = "InvalidPeriod" -// INVALIDPERMISSION = "InvalidPermission" -// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" -// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" -// LIMITEXCEEDED_CVMSVIFSPERSECGROUPLIMITEXCEEDED = "LimitExceeded.CvmsVifsPerSecGroupLimitExceeded" -// LIMITEXCEEDED_DISASTERRECOVERGROUP = "LimitExceeded.DisasterRecoverGroup" -// LIMITEXCEEDED_IPV6ADDRESSNUM = "LimitExceeded.IPv6AddressNum" -// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" -// LIMITEXCEEDED_PREPAYQUOTA = "LimitExceeded.PrepayQuota" -// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" -// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" -// LIMITEXCEEDED_USERSPOTQUOTA = "LimitExceeded.UserSpotQuota" -// LIMITEXCEEDED_VPCSUBNETNUM = "LimitExceeded.VpcSubnetNum" -// MISSINGPARAMETER = "MissingParameter" -// MISSINGPARAMETER_DPDKINSTANCETYPEREQUIREDVPC = "MissingParameter.DPDKInstanceTypeRequiredVPC" -// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" -// OPERATIONDENIED_CHCINSTALLCLOUDIMAGEWITHOUTDEPLOYNETWORK = "OperationDenied.ChcInstallCloudImageWithoutDeployNetwork" -// RESOURCEINSUFFICIENT_AVAILABILITYZONESOLDOUT = "ResourceInsufficient.AvailabilityZoneSoldOut" -// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" -// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" -// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" -// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" -// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" -// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" -// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" -// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" -// RESOURCESSOLDOUT_EIPINSUFFICIENT = "ResourcesSoldOut.EipInsufficient" -// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" -// UNSUPPORTEDOPERATION_INVALIDREGIONDISKENCRYPT = "UnsupportedOperation.InvalidRegionDiskEncrypt" -// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" -// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" -// UNSUPPORTEDOPERATION_NOTSUPPORTIMPORTINSTANCESACTIONTIMER = "UnsupportedOperation.NotSupportImportInstancesActionTimer" -// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" -// UNSUPPORTEDOPERATION_RAWLOCALDISKINSREINSTALLTOQCOW2 = "UnsupportedOperation.RawLocalDiskInsReinstalltoQcow2" -// UNSUPPORTEDOPERATION_UNSUPPORTEDINTERNATIONALUSER = "UnsupportedOperation.UnsupportedInternationalUser" -// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" -// VPCIPISUSED = "VpcIpIsUsed" +// +// ACCOUNTQUALIFICATIONRESTRICTIONS = "AccountQualificationRestrictions" +// AUTHFAILURE_CAMROLENAMEAUTHENTICATEFAILED = "AuthFailure.CamRoleNameAuthenticateFailed" +// FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = "FailedOperation.DisasterRecoverGroupNotFound" +// FAILEDOPERATION_ILLEGALTAGVALUE = "FailedOperation.IllegalTagValue" +// FAILEDOPERATION_INQUIRYPRICEFAILED = "FailedOperation.InquiryPriceFailed" +// FAILEDOPERATION_NOAVAILABLEIPADDRESSCOUNTINSUBNET = "FailedOperation.NoAvailableIpAddressCountInSubnet" +// FAILEDOPERATION_SECURITYGROUPACTIONFAILED = "FailedOperation.SecurityGroupActionFailed" +// FAILEDOPERATION_SNAPSHOTSIZELARGERTHANDATASIZE = "FailedOperation.SnapshotSizeLargerThanDataSize" +// FAILEDOPERATION_SNAPSHOTSIZELESSTHANDATASIZE = "FailedOperation.SnapshotSizeLessThanDataSize" +// FAILEDOPERATION_TAGKEYRESERVED = "FailedOperation.TagKeyReserved" +// INSTANCESQUOTALIMITEXCEEDED = "InstancesQuotaLimitExceeded" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INVALIDACCOUNT_INSUFFICIENTBALANCE = "InvalidAccount.InsufficientBalance" +// INVALIDCLIENTTOKEN_TOOLONG = "InvalidClientToken.TooLong" +// INVALIDHOSTID_MALFORMED = "InvalidHostId.Malformed" +// INVALIDHOSTID_NOTFOUND = "InvalidHostId.NotFound" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDINSTANCENAME_TOOLONG = "InvalidInstanceName.TooLong" +// INVALIDINSTANCETYPE_MALFORMED = "InvalidInstanceType.Malformed" +// INVALIDPARAMETER_HOSTIDSTATUSNOTSUPPORT = "InvalidParameter.HostIdStatusNotSupport" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETER_INVALIDIPFORMAT = "InvalidParameter.InvalidIpFormat" +// INVALIDPARAMETER_LACKCORECOUNTORTHREADPERCORE = "InvalidParameter.LackCoreCountOrThreadPerCore" +// INVALIDPARAMETER_PARAMETERCONFLICT = "InvalidParameter.ParameterConflict" +// INVALIDPARAMETER_SNAPSHOTNOTFOUND = "InvalidParameter.SnapshotNotFound" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDNOTFOUND = "InvalidParameterValue.BandwidthPackageIdNotFound" +// INVALIDPARAMETERVALUE_CHCHOSTSNOTFOUND = "InvalidParameterValue.ChcHostsNotFound" +// INVALIDPARAMETERVALUE_CLOUDSSDDATADISKSIZETOOSMALL = "InvalidParameterValue.CloudSsdDataDiskSizeTooSmall" +// INVALIDPARAMETERVALUE_CORECOUNTVALUE = "InvalidParameterValue.CoreCountValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_IPADDRESSMALFORMED = "InvalidParameterValue.IPAddressMalformed" +// INVALIDPARAMETERVALUE_ILLEGALHOSTNAME = "InvalidParameterValue.IllegalHostName" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTFOUND = "InvalidParameterValue.InstanceTypeNotFound" +// INVALIDPARAMETERVALUE_INSTANCETYPENOTSUPPORTHPCCLUSTER = "InvalidParameterValue.InstanceTypeNotSupportHpcCluster" +// INVALIDPARAMETERVALUE_INSTANCETYPEREQUIREDHPCCLUSTER = "InvalidParameterValue.InstanceTypeRequiredHpcCluster" +// INVALIDPARAMETERVALUE_INSUFFICIENTOFFERING = "InvalidParameterValue.InsufficientOffering" +// INVALIDPARAMETERVALUE_INSUFFICIENTPRICE = "InvalidParameterValue.InsufficientPrice" +// INVALIDPARAMETERVALUE_INVALIDIMAGEFORGIVENINSTANCETYPE = "InvalidParameterValue.InvalidImageForGivenInstanceType" +// INVALIDPARAMETERVALUE_INVALIDIMAGEFORMAT = "InvalidParameterValue.InvalidImageFormat" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_INVALIDIMAGEOSNAME = "InvalidParameterValue.InvalidImageOsName" +// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" +// INVALIDPARAMETERVALUE_INVALIDIPFORMAT = "InvalidParameterValue.InvalidIpFormat" +// INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" +// INVALIDPARAMETERVALUE_INVALIDTIMEFORMAT = "InvalidParameterValue.InvalidTimeFormat" +// INVALIDPARAMETERVALUE_INVALIDUSERDATAFORMAT = "InvalidParameterValue.InvalidUserDataFormat" +// INVALIDPARAMETERVALUE_KEYPAIRNOTFOUND = "InvalidParameterValue.KeyPairNotFound" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEIDNOTEXISTED = "InvalidParameterValue.LaunchTemplateIdNotExisted" +// INVALIDPARAMETERVALUE_LAUNCHTEMPLATEVERSION = "InvalidParameterValue.LaunchTemplateVersion" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MUSTDHCPENABLEDVPC = "InvalidParameterValue.MustDhcpEnabledVpc" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_SNAPSHOTIDMALFORMED = "InvalidParameterValue.SnapshotIdMalformed" +// INVALIDPARAMETERVALUE_SUBNETIDMALFORMED = "InvalidParameterValue.SubnetIdMalformed" +// INVALIDPARAMETERVALUE_SUBNETNOTEXIST = "InvalidParameterValue.SubnetNotExist" +// INVALIDPARAMETERVALUE_TAGKEYNOTFOUND = "InvalidParameterValue.TagKeyNotFound" +// INVALIDPARAMETERVALUE_THREADPERCOREVALUE = "InvalidParameterValue.ThreadPerCoreValue" +// INVALIDPARAMETERVALUE_VPCIDMALFORMED = "InvalidParameterValue.VpcIdMalformed" +// INVALIDPARAMETERVALUE_VPCIDNOTEXIST = "InvalidParameterValue.VpcIdNotExist" +// INVALIDPARAMETERVALUE_VPCIDZONEIDNOTMATCH = "InvalidParameterValue.VpcIdZoneIdNotMatch" +// INVALIDPARAMETERVALUE_ZONENOTSUPPORTED = "InvalidParameterValue.ZoneNotSupported" +// INVALIDPASSWORD = "InvalidPassword" +// INVALIDPERIOD = "InvalidPeriod" +// INVALIDPERMISSION = "InvalidPermission" +// INVALIDPROJECTID_NOTFOUND = "InvalidProjectId.NotFound" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupId.NotFound" +// INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion" +// LIMITEXCEEDED_CVMSVIFSPERSECGROUPLIMITEXCEEDED = "LimitExceeded.CvmsVifsPerSecGroupLimitExceeded" +// LIMITEXCEEDED_DISASTERRECOVERGROUP = "LimitExceeded.DisasterRecoverGroup" +// LIMITEXCEEDED_IPV6ADDRESSNUM = "LimitExceeded.IPv6AddressNum" +// LIMITEXCEEDED_INSTANCEQUOTA = "LimitExceeded.InstanceQuota" +// LIMITEXCEEDED_PREPAYQUOTA = "LimitExceeded.PrepayQuota" +// LIMITEXCEEDED_SINGLEUSGQUOTA = "LimitExceeded.SingleUSGQuota" +// LIMITEXCEEDED_SPOTQUOTA = "LimitExceeded.SpotQuota" +// LIMITEXCEEDED_USERSPOTQUOTA = "LimitExceeded.UserSpotQuota" +// LIMITEXCEEDED_VPCSUBNETNUM = "LimitExceeded.VpcSubnetNum" +// MISSINGPARAMETER = "MissingParameter" +// MISSINGPARAMETER_DPDKINSTANCETYPEREQUIREDVPC = "MissingParameter.DPDKInstanceTypeRequiredVPC" +// MISSINGPARAMETER_MONITORSERVICE = "MissingParameter.MonitorService" +// OPERATIONDENIED_CHCINSTALLCLOUDIMAGEWITHOUTDEPLOYNETWORK = "OperationDenied.ChcInstallCloudImageWithoutDeployNetwork" +// RESOURCEINSUFFICIENT_AVAILABILITYZONESOLDOUT = "ResourceInsufficient.AvailabilityZoneSoldOut" +// RESOURCEINSUFFICIENT_CLOUDDISKSOLDOUT = "ResourceInsufficient.CloudDiskSoldOut" +// RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" +// RESOURCEINSUFFICIENT_DISASTERRECOVERGROUPCVMQUOTA = "ResourceInsufficient.DisasterRecoverGroupCvmQuota" +// RESOURCEINSUFFICIENT_SPECIFIEDINSTANCETYPE = "ResourceInsufficient.SpecifiedInstanceType" +// RESOURCENOTFOUND_HPCCLUSTER = "ResourceNotFound.HpcCluster" +// RESOURCENOTFOUND_NODEFAULTCBS = "ResourceNotFound.NoDefaultCbs" +// RESOURCENOTFOUND_NODEFAULTCBSWITHREASON = "ResourceNotFound.NoDefaultCbsWithReason" +// RESOURCEUNAVAILABLE_INSTANCETYPE = "ResourceUnavailable.InstanceType" +// RESOURCESSOLDOUT_EIPINSUFFICIENT = "ResourcesSoldOut.EipInsufficient" +// RESOURCESSOLDOUT_SPECIFIEDINSTANCETYPE = "ResourcesSoldOut.SpecifiedInstanceType" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INVALIDDISK = "UnsupportedOperation.InvalidDisk" +// UNSUPPORTEDOPERATION_INVALIDREGIONDISKENCRYPT = "UnsupportedOperation.InvalidRegionDiskEncrypt" +// UNSUPPORTEDOPERATION_KEYPAIRUNSUPPORTEDWINDOWS = "UnsupportedOperation.KeyPairUnsupportedWindows" +// UNSUPPORTEDOPERATION_NOINSTANCETYPESUPPORTSPOT = "UnsupportedOperation.NoInstanceTypeSupportSpot" +// UNSUPPORTEDOPERATION_NOTSUPPORTIMPORTINSTANCESACTIONTIMER = "UnsupportedOperation.NotSupportImportInstancesActionTimer" +// UNSUPPORTEDOPERATION_ONLYFORPREPAIDACCOUNT = "UnsupportedOperation.OnlyForPrepaidAccount" +// UNSUPPORTEDOPERATION_RAWLOCALDISKINSREINSTALLTOQCOW2 = "UnsupportedOperation.RawLocalDiskInsReinstalltoQcow2" +// UNSUPPORTEDOPERATION_UNSUPPORTEDINTERNATIONALUSER = "UnsupportedOperation.UnsupportedInternationalUser" +// VPCADDRNOTINSUBNET = "VpcAddrNotInSubNet" +// VPCIPISUSED = "VpcIpIsUsed" func (c *Client) RunInstancesWithContext(ctx context.Context, request *RunInstancesRequest) (response *RunInstancesResponse, err error) { if request == nil { request = NewRunInstancesRequest() @@ -6522,8 +6500,6 @@ func NewStartInstancesResponse() (response *StartInstancesResponse) { // StartInstances // 本接口 (StartInstances) 用于启动一个或多个实例。 // -// -// // * 只有状态为`STOPPED`的实例才可以进行此操作。 // // * 接口调用成功时,实例会进入`STARTING`状态;启动实例成功时,实例会进入`RUNNING`状态。 @@ -6533,30 +6509,31 @@ func NewStartInstancesResponse() (response *StartInstancesResponse) { // * 本接口为异步接口,启动实例请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表启动实例操作成功。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" -// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" func (c *Client) StartInstances(request *StartInstancesRequest) (response *StartInstancesResponse, err error) { if request == nil { request = NewStartInstancesRequest() @@ -6570,8 +6547,6 @@ func (c *Client) StartInstances(request *StartInstancesRequest) (response *Start // StartInstances // 本接口 (StartInstances) 用于启动一个或多个实例。 // -// -// // * 只有状态为`STOPPED`的实例才可以进行此操作。 // // * 接口调用成功时,实例会进入`STARTING`状态;启动实例成功时,实例会进入`RUNNING`状态。 @@ -6581,30 +6556,31 @@ func (c *Client) StartInstances(request *StartInstancesRequest) (response *Start // * 本接口为异步接口,启动实例请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表启动实例操作成功。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" -// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATERUNNING = "UnsupportedOperation.InstanceStateRunning" +// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" func (c *Client) StartInstancesWithContext(ctx context.Context, request *StartInstancesRequest) (response *StartInstancesResponse, err error) { if request == nil { request = NewStartInstancesRequest() @@ -6635,8 +6611,6 @@ func NewStopInstancesResponse() (response *StopInstancesResponse) { // StopInstances // 本接口 (StopInstances) 用于关闭一个或多个实例。 // -// -// // * 只有状态为`RUNNING`的实例才可以进行此操作。 // // * 接口调用成功时,实例会进入`STOPPING`状态;关闭实例成功时,实例会进入`STOPPED`状态。 @@ -6648,34 +6622,35 @@ func NewStopInstancesResponse() (response *StopInstancesResponse) { // * 本接口为异步接口,关闭实例请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表关闭实例操作成功。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) StopInstances(request *StopInstancesRequest) (response *StopInstancesResponse, err error) { if request == nil { request = NewStopInstancesRequest() @@ -6689,8 +6664,6 @@ func (c *Client) StopInstances(request *StopInstancesRequest) (response *StopIns // StopInstances // 本接口 (StopInstances) 用于关闭一个或多个实例。 // -// -// // * 只有状态为`RUNNING`的实例才可以进行此操作。 // // * 接口调用成功时,实例会进入`STOPPING`状态;关闭实例成功时,实例会进入`STOPPED`状态。 @@ -6702,34 +6675,35 @@ func (c *Client) StopInstances(request *StopInstancesRequest) (response *StopIns // * 本接口为异步接口,关闭实例请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表关闭实例操作成功。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERCOMBINATION = "InvalidParameterCombination" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCESTATECORRUPTED = "UnsupportedOperation.InstanceStateCorrupted" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateEnterServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATERESCUEMODE = "UnsupportedOperation.InstanceStateRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATESERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATESHUTDOWN = "UnsupportedOperation.InstanceStateShutdown" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPED = "UnsupportedOperation.InstanceStateStopped" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = "UnsupportedOperation.StoppedModeStopCharging" func (c *Client) StopInstancesWithContext(ctx context.Context, request *StopInstancesRequest) (response *StopInstancesResponse, err error) { if request == nil { request = NewStopInstancesRequest() @@ -6760,8 +6734,6 @@ func NewSyncImagesResponse() (response *SyncImagesResponse) { // SyncImages // 本接口(SyncImages)用于将自定义镜像同步到其它地区。 // -// -// // * 该接口每次调用只支持同步一个镜像。 // // * 该接口支持多个同步地域。 @@ -6769,19 +6741,20 @@ func NewSyncImagesResponse() (response *SyncImagesResponse) { // * 单个帐号在每个地域最多支持存在10个自定义镜像。 // // 可能返回的错误码: -// IMAGEQUOTALIMITEXCEEDED = "ImageQuotaLimitExceeded" -// INVALIDIMAGEID_INCORRECTSTATE = "InvalidImageId.IncorrectState" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDIMAGEID_TOOLARGE = "InvalidImageId.TooLarge" -// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" -// INVALIDREGION_UNAVAILABLE = "InvalidRegion.Unavailable" -// UNSUPPORTEDOPERATION_REGION = "UnsupportedOperation.Region" +// +// IMAGEQUOTALIMITEXCEEDED = "ImageQuotaLimitExceeded" +// INVALIDIMAGEID_INCORRECTSTATE = "InvalidImageId.IncorrectState" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDIMAGEID_TOOLARGE = "InvalidImageId.TooLarge" +// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" +// INVALIDREGION_UNAVAILABLE = "InvalidRegion.Unavailable" +// UNSUPPORTEDOPERATION_REGION = "UnsupportedOperation.Region" func (c *Client) SyncImages(request *SyncImagesRequest) (response *SyncImagesResponse, err error) { if request == nil { request = NewSyncImagesRequest() @@ -6795,8 +6768,6 @@ func (c *Client) SyncImages(request *SyncImagesRequest) (response *SyncImagesRes // SyncImages // 本接口(SyncImages)用于将自定义镜像同步到其它地区。 // -// -// // * 该接口每次调用只支持同步一个镜像。 // // * 该接口支持多个同步地域。 @@ -6804,19 +6775,20 @@ func (c *Client) SyncImages(request *SyncImagesRequest) (response *SyncImagesRes // * 单个帐号在每个地域最多支持存在10个自定义镜像。 // // 可能返回的错误码: -// IMAGEQUOTALIMITEXCEEDED = "ImageQuotaLimitExceeded" -// INVALIDIMAGEID_INCORRECTSTATE = "InvalidImageId.IncorrectState" -// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" -// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" -// INVALIDIMAGEID_TOOLARGE = "InvalidImageId.TooLarge" -// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" -// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" -// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" -// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" -// INVALIDREGION_UNAVAILABLE = "InvalidRegion.Unavailable" -// UNSUPPORTEDOPERATION_REGION = "UnsupportedOperation.Region" +// +// IMAGEQUOTALIMITEXCEEDED = "ImageQuotaLimitExceeded" +// INVALIDIMAGEID_INCORRECTSTATE = "InvalidImageId.IncorrectState" +// INVALIDIMAGEID_MALFORMED = "InvalidImageId.Malformed" +// INVALIDIMAGEID_NOTFOUND = "InvalidImageId.NotFound" +// INVALIDIMAGEID_TOOLARGE = "InvalidImageId.TooLarge" +// INVALIDIMAGENAME_DUPLICATE = "InvalidImageName.Duplicate" +// INVALIDPARAMETER_INSTANCEIMAGENOTSUPPORT = "InvalidParameter.InstanceImageNotSupport" +// INVALIDPARAMETERVALUE_INVALIDIMAGEID = "InvalidParameterValue.InvalidImageId" +// INVALIDPARAMETERVALUE_INVALIDIMAGESTATE = "InvalidParameterValue.InvalidImageState" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDREGION_NOTFOUND = "InvalidRegion.NotFound" +// INVALIDREGION_UNAVAILABLE = "InvalidRegion.Unavailable" +// UNSUPPORTEDOPERATION_REGION = "UnsupportedOperation.Region" func (c *Client) SyncImagesWithContext(ctx context.Context, request *SyncImagesRequest) (response *SyncImagesResponse, err error) { if request == nil { request = NewSyncImagesRequest() @@ -6847,8 +6819,6 @@ func NewTerminateInstancesResponse() (response *TerminateInstancesResponse) { // TerminateInstances // 本接口 (TerminateInstances) 用于主动退还实例。 // -// -// // * 不再使用的实例,可通过本接口主动退还。 // // * 按量计费的实例通过本接口可直接退还;包年包月实例如符合[退还规则](https://cloud.tencent.com/document/product/213/9711),也可通过本接口主动退还。 @@ -6858,40 +6828,41 @@ func NewTerminateInstancesResponse() (response *TerminateInstancesResponse) { // * 支持批量操作,每次请求批量实例的上限为100。 // // 可能返回的错误码: -// FAILEDOPERATION_INVALIDINSTANCEAPPLICATIONROLEEMR = "FailedOperation.InvalidInstanceApplicationRoleEmr" -// FAILEDOPERATION_UNRETURNABLE = "FailedOperation.Unreturnable" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCENOTSUPPORTEDPREPAIDINSTANCE = "InvalidInstanceNotSupportedPrepaidInstance" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_NOTSUPPORTED = "InvalidParameterValue.NotSupported" -// LIMITEXCEEDED_USERRETURNQUOTA = "LimitExceeded.UserReturnQuota" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" -// UNSUPPORTEDOPERATION_INSTANCEMIXEDPRICINGMODEL = "UnsupportedOperation.InstanceMixedPricingModel" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_REGION = "UnsupportedOperation.Region" -// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" -// UNSUPPORTEDOPERATION_USERLIMITOPERATIONEXCEEDQUOTA = "UnsupportedOperation.UserLimitOperationExceedQuota" +// +// FAILEDOPERATION_INVALIDINSTANCEAPPLICATIONROLEEMR = "FailedOperation.InvalidInstanceApplicationRoleEmr" +// FAILEDOPERATION_UNRETURNABLE = "FailedOperation.Unreturnable" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCENOTSUPPORTEDPREPAIDINSTANCE = "InvalidInstanceNotSupportedPrepaidInstance" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_NOTSUPPORTED = "InvalidParameterValue.NotSupported" +// LIMITEXCEEDED_USERRETURNQUOTA = "LimitExceeded.UserReturnQuota" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" +// UNSUPPORTEDOPERATION_INSTANCEMIXEDPRICINGMODEL = "UnsupportedOperation.InstanceMixedPricingModel" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_REGION = "UnsupportedOperation.Region" +// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" +// UNSUPPORTEDOPERATION_USERLIMITOPERATIONEXCEEDQUOTA = "UnsupportedOperation.UserLimitOperationExceedQuota" func (c *Client) TerminateInstances(request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error) { if request == nil { request = NewTerminateInstancesRequest() @@ -6905,8 +6876,6 @@ func (c *Client) TerminateInstances(request *TerminateInstancesRequest) (respons // TerminateInstances // 本接口 (TerminateInstances) 用于主动退还实例。 // -// -// // * 不再使用的实例,可通过本接口主动退还。 // // * 按量计费的实例通过本接口可直接退还;包年包月实例如符合[退还规则](https://cloud.tencent.com/document/product/213/9711),也可通过本接口主动退还。 @@ -6916,40 +6885,41 @@ func (c *Client) TerminateInstances(request *TerminateInstancesRequest) (respons // * 支持批量操作,每次请求批量实例的上限为100。 // // 可能返回的错误码: -// FAILEDOPERATION_INVALIDINSTANCEAPPLICATIONROLEEMR = "FailedOperation.InvalidInstanceApplicationRoleEmr" -// FAILEDOPERATION_UNRETURNABLE = "FailedOperation.Unreturnable" -// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDINSTANCENOTSUPPORTEDPREPAIDINSTANCE = "InvalidInstanceNotSupportedPrepaidInstance" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_NOTSUPPORTED = "InvalidParameterValue.NotSupported" -// LIMITEXCEEDED_USERRETURNQUOTA = "LimitExceeded.UserReturnQuota" -// MISSINGPARAMETER = "MissingParameter" -// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" -// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" -// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" -// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" -// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" -// UNSUPPORTEDOPERATION_INSTANCEMIXEDPRICINGMODEL = "UnsupportedOperation.InstanceMixedPricingModel" -// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" -// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" -// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" -// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" -// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" -// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" -// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" -// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" -// UNSUPPORTEDOPERATION_REGION = "UnsupportedOperation.Region" -// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" -// UNSUPPORTEDOPERATION_USERLIMITOPERATIONEXCEEDQUOTA = "UnsupportedOperation.UserLimitOperationExceedQuota" +// +// FAILEDOPERATION_INVALIDINSTANCEAPPLICATIONROLEEMR = "FailedOperation.InvalidInstanceApplicationRoleEmr" +// FAILEDOPERATION_UNRETURNABLE = "FailedOperation.Unreturnable" +// INTERNALERROR_TRADEUNKNOWNERROR = "InternalError.TradeUnknownError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_UNPAIDORDER = "InvalidAccount.UnpaidOrder" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_MALFORMED = "InvalidInstanceId.Malformed" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDINSTANCENOTSUPPORTEDPREPAIDINSTANCE = "InvalidInstanceNotSupportedPrepaidInstance" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_NOTSUPPORTED = "InvalidParameterValue.NotSupported" +// LIMITEXCEEDED_USERRETURNQUOTA = "LimitExceeded.UserReturnQuota" +// MISSINGPARAMETER = "MissingParameter" +// MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" +// OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" +// UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" +// UNAUTHORIZEDOPERATION_MFANOTFOUND = "UnauthorizedOperation.MFANotFound" +// UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" +// UNSUPPORTEDOPERATION_INSTANCEMIXEDPRICINGMODEL = "UnsupportedOperation.InstanceMixedPricingModel" +// UNSUPPORTEDOPERATION_INSTANCESTATEENTERRESCUEMODE = "UnsupportedOperation.InstanceStateEnterRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITRESCUEMODE = "UnsupportedOperation.InstanceStateExitRescueMode" +// UNSUPPORTEDOPERATION_INSTANCESTATEEXITSERVICELIVEMIGRATE = "UnsupportedOperation.InstanceStateExitServiceLiveMigrate" +// UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" +// UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = "UnsupportedOperation.InstanceStateIsolating" +// UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = "UnsupportedOperation.InstanceStatePending" +// UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTARTING = "UnsupportedOperation.InstanceStateStarting" +// UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATED = "UnsupportedOperation.InstanceStateTerminated" +// UNSUPPORTEDOPERATION_INSTANCESTATETERMINATING = "UnsupportedOperation.InstanceStateTerminating" +// UNSUPPORTEDOPERATION_REGION = "UnsupportedOperation.Region" +// UNSUPPORTEDOPERATION_SPECIALINSTANCETYPE = "UnsupportedOperation.SpecialInstanceType" +// UNSUPPORTEDOPERATION_USERLIMITOPERATIONEXCEEDQUOTA = "UnsupportedOperation.UserLimitOperationExceedQuota" func (c *Client) TerminateInstancesWithContext(ctx context.Context, request *TerminateInstancesRequest) (response *TerminateInstancesResponse, err error) { if request == nil { request = NewTerminateInstancesRequest() diff --git a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke/v20180525/client.go b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke/v20180525/client.go index 4168729065ef..6c908290020d 100644 --- a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke/v20180525/client.go +++ b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke/v20180525/client.go @@ -66,18 +66,19 @@ func NewAcquireClusterAdminRoleResponse() (response *AcquireClusterAdminRoleResp // 通过此接口,可以获取集群的tke:admin的ClusterRole,即管理员角色,可以用于CAM侧高权限的用户,通过CAM策略给予子账户此接口权限,进而可以通过此接口直接获取到kubernetes集群内的管理员角色。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" -// INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" -// INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" -// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" -// UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" +// INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" +// INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" +// UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist" func (c *Client) AcquireClusterAdminRole(request *AcquireClusterAdminRoleRequest) (response *AcquireClusterAdminRoleResponse, err error) { if request == nil { request = NewAcquireClusterAdminRoleRequest() @@ -92,18 +93,19 @@ func (c *Client) AcquireClusterAdminRole(request *AcquireClusterAdminRoleRequest // 通过此接口,可以获取集群的tke:admin的ClusterRole,即管理员角色,可以用于CAM侧高权限的用户,通过CAM策略给予子账户此接口权限,进而可以通过此接口直接获取到kubernetes集群内的管理员角色。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" -// INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" -// INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" -// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" -// UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" +// INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" +// INTERNALERROR_KUBERNETESGETOPERATIONERROR = "InternalError.KubernetesGetOperationError" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" +// UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist" func (c *Client) AcquireClusterAdminRoleWithContext(ctx context.Context, request *AcquireClusterAdminRoleRequest) (response *AcquireClusterAdminRoleResponse, err error) { if request == nil { request = NewAcquireClusterAdminRoleRequest() @@ -135,17 +137,18 @@ func NewAddClusterCIDRResponse() (response *AddClusterCIDRResponse) { // 给GR集群增加可用的ClusterCIDR // // 可能返回的错误码: -// INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange" -// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster" -// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" -// INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr" -// INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange" +// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster" +// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" +// INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr" +// INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) AddClusterCIDR(request *AddClusterCIDRRequest) (response *AddClusterCIDRResponse, err error) { if request == nil { request = NewAddClusterCIDRRequest() @@ -160,17 +163,18 @@ func (c *Client) AddClusterCIDR(request *AddClusterCIDRRequest) (response *AddCl // 给GR集群增加可用的ClusterCIDR // // 可能返回的错误码: -// INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange" -// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster" -// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" -// INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr" -// INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange" +// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster" +// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" +// INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr" +// INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) AddClusterCIDRWithContext(ctx context.Context, request *AddClusterCIDRRequest) (response *AddClusterCIDRResponse, err error) { if request == nil { request = NewAddClusterCIDRRequest() @@ -202,17 +206,18 @@ func NewAddExistedInstancesResponse() (response *AddExistedInstancesResponse) { // 添加已经存在的实例到集群 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" func (c *Client) AddExistedInstances(request *AddExistedInstancesRequest) (response *AddExistedInstancesResponse, err error) { if request == nil { request = NewAddExistedInstancesRequest() @@ -227,17 +232,18 @@ func (c *Client) AddExistedInstances(request *AddExistedInstancesRequest) (respo // 添加已经存在的实例到集群 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" func (c *Client) AddExistedInstancesWithContext(ctx context.Context, request *AddExistedInstancesRequest) (response *AddExistedInstancesResponse, err error) { if request == nil { request = NewAddExistedInstancesRequest() @@ -269,7 +275,8 @@ func NewAddNodeToNodePoolResponse() (response *AddNodeToNodePoolResponse) { // 将集群内节点移入节点池 // // 可能返回的错误码: -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) AddNodeToNodePool(request *AddNodeToNodePoolRequest) (response *AddNodeToNodePoolResponse, err error) { if request == nil { request = NewAddNodeToNodePoolRequest() @@ -284,7 +291,8 @@ func (c *Client) AddNodeToNodePool(request *AddNodeToNodePoolRequest) (response // 将集群内节点移入节点池 // // 可能返回的错误码: -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) AddNodeToNodePoolWithContext(ctx context.Context, request *AddNodeToNodePoolRequest) (response *AddNodeToNodePoolResponse, err error) { if request == nil { request = NewAddNodeToNodePoolRequest() @@ -316,16 +324,17 @@ func NewAddVpcCniSubnetsResponse() (response *AddVpcCniSubnetsResponse) { // 针对VPC-CNI模式的集群,增加集群容器网络可使用的子网 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" -// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" +// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) AddVpcCniSubnets(request *AddVpcCniSubnetsRequest) (response *AddVpcCniSubnetsResponse, err error) { if request == nil { request = NewAddVpcCniSubnetsRequest() @@ -340,16 +349,17 @@ func (c *Client) AddVpcCniSubnets(request *AddVpcCniSubnetsRequest) (response *A // 针对VPC-CNI模式的集群,增加集群容器网络可使用的子网 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" -// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" +// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) AddVpcCniSubnetsWithContext(ctx context.Context, request *AddVpcCniSubnetsRequest) (response *AddVpcCniSubnetsResponse, err error) { if request == nil { request = NewAddVpcCniSubnetsRequest() @@ -381,15 +391,16 @@ func NewCheckInstancesUpgradeAbleResponse() (response *CheckInstancesUpgradeAble // 检查给定节点列表中哪些是可升级的 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" func (c *Client) CheckInstancesUpgradeAble(request *CheckInstancesUpgradeAbleRequest) (response *CheckInstancesUpgradeAbleResponse, err error) { if request == nil { request = NewCheckInstancesUpgradeAbleRequest() @@ -404,15 +415,16 @@ func (c *Client) CheckInstancesUpgradeAble(request *CheckInstancesUpgradeAbleReq // 检查给定节点列表中哪些是可升级的 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" func (c *Client) CheckInstancesUpgradeAbleWithContext(ctx context.Context, request *CheckInstancesUpgradeAbleRequest) (response *CheckInstancesUpgradeAbleResponse, err error) { if request == nil { request = NewCheckInstancesUpgradeAbleRequest() @@ -444,48 +456,49 @@ func NewCreateClusterResponse() (response *CreateClusterResponse) { // 创建集群 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster" -// INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" -// INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr" -// INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute" -// INTERNALERROR_CIDRINVALI = "InternalError.CidrInvali" -// INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange" -// INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" -// INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_CVMNUMBERNOTMATCH = "InternalError.CvmNumberNotMatch" -// INTERNALERROR_CVMSTATUS = "InternalError.CvmStatus" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" -// INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" -// INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" -// INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" -// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" -// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" -// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" -// INTERNALERROR_QUOTAUSGLIMIT = "InternalError.QuotaUSGLimit" -// INTERNALERROR_TASKCREATEFAILED = "InternalError.TaskCreateFailed" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange" -// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster" -// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" -// INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr" -// INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute" -// INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid" -// INVALIDPARAMETER_INVALIDPRIVATENETWORKCIDR = "InvalidParameter.InvalidPrivateNetworkCIDR" -// LIMITEXCEEDED = "LimitExceeded" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster" +// INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" +// INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr" +// INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute" +// INTERNALERROR_CIDRINVALI = "InternalError.CidrInvali" +// INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange" +// INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" +// INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_CVMNUMBERNOTMATCH = "InternalError.CvmNumberNotMatch" +// INTERNALERROR_CVMSTATUS = "InternalError.CvmStatus" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" +// INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" +// INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" +// INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" +// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" +// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" +// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" +// INTERNALERROR_QUOTAUSGLIMIT = "InternalError.QuotaUSGLimit" +// INTERNALERROR_TASKCREATEFAILED = "InternalError.TaskCreateFailed" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange" +// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster" +// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" +// INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr" +// INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute" +// INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid" +// INVALIDPARAMETER_INVALIDPRIVATENETWORKCIDR = "InvalidParameter.InvalidPrivateNetworkCIDR" +// LIMITEXCEEDED = "LimitExceeded" func (c *Client) CreateCluster(request *CreateClusterRequest) (response *CreateClusterResponse, err error) { if request == nil { request = NewCreateClusterRequest() @@ -500,48 +513,49 @@ func (c *Client) CreateCluster(request *CreateClusterRequest) (response *CreateC // 创建集群 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster" -// INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" -// INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr" -// INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute" -// INTERNALERROR_CIDRINVALI = "InternalError.CidrInvali" -// INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange" -// INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" -// INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_CVMNUMBERNOTMATCH = "InternalError.CvmNumberNotMatch" -// INTERNALERROR_CVMSTATUS = "InternalError.CvmStatus" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" -// INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" -// INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" -// INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" -// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" -// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" -// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" -// INTERNALERROR_QUOTAUSGLIMIT = "InternalError.QuotaUSGLimit" -// INTERNALERROR_TASKCREATEFAILED = "InternalError.TaskCreateFailed" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange" -// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster" -// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" -// INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr" -// INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute" -// INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid" -// INVALIDPARAMETER_INVALIDPRIVATENETWORKCIDR = "InvalidParameter.InvalidPrivateNetworkCIDR" -// LIMITEXCEEDED = "LimitExceeded" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster" +// INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" +// INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr" +// INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute" +// INTERNALERROR_CIDRINVALI = "InternalError.CidrInvali" +// INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange" +// INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" +// INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_CVMNUMBERNOTMATCH = "InternalError.CvmNumberNotMatch" +// INTERNALERROR_CVMSTATUS = "InternalError.CvmStatus" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" +// INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" +// INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" +// INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" +// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" +// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" +// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" +// INTERNALERROR_QUOTAUSGLIMIT = "InternalError.QuotaUSGLimit" +// INTERNALERROR_TASKCREATEFAILED = "InternalError.TaskCreateFailed" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CIDRMASKSIZEOUTOFRANGE = "InvalidParameter.CIDRMaskSizeOutOfRange" +// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERCLUSTER = "InvalidParameter.CidrConflictWithOtherCluster" +// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" +// INVALIDPARAMETER_CIDRCONFLICTWITHVPCCIDR = "InvalidParameter.CidrConflictWithVpcCidr" +// INVALIDPARAMETER_CIDRCONFLICTWITHVPCGLOBALROUTE = "InvalidParameter.CidrConflictWithVpcGlobalRoute" +// INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid" +// INVALIDPARAMETER_INVALIDPRIVATENETWORKCIDR = "InvalidParameter.InvalidPrivateNetworkCIDR" +// LIMITEXCEEDED = "LimitExceeded" func (c *Client) CreateClusterWithContext(ctx context.Context, request *CreateClusterRequest) (response *CreateClusterResponse, err error) { if request == nil { request = NewCreateClusterRequest() @@ -573,24 +587,25 @@ func NewCreateClusterAsGroupResponse() (response *CreateClusterAsGroupResponse) // 为已经存在的集群创建伸缩组 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" -// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" +// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateClusterAsGroup(request *CreateClusterAsGroupRequest) (response *CreateClusterAsGroupResponse, err error) { if request == nil { request = NewCreateClusterAsGroupRequest() @@ -605,24 +620,25 @@ func (c *Client) CreateClusterAsGroup(request *CreateClusterAsGroupRequest) (res // 为已经存在的集群创建伸缩组 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" -// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" +// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateClusterAsGroupWithContext(ctx context.Context, request *CreateClusterAsGroupRequest) (response *CreateClusterAsGroupResponse, err error) { if request == nil { request = NewCreateClusterAsGroupRequest() @@ -654,25 +670,26 @@ func NewCreateClusterEndpointResponse() (response *CreateClusterEndpointResponse // 创建集群访问端口(独立集群开启内网/外网访问,托管集群支持开启内网访问) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_EMPTYCLUSTERNOTSUPPORT = "InternalError.EmptyClusterNotSupport" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_EMPTYCLUSTERNOTSUPPORT = "InternalError.EmptyClusterNotSupport" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateClusterEndpoint(request *CreateClusterEndpointRequest) (response *CreateClusterEndpointResponse, err error) { if request == nil { request = NewCreateClusterEndpointRequest() @@ -687,25 +704,26 @@ func (c *Client) CreateClusterEndpoint(request *CreateClusterEndpointRequest) (r // 创建集群访问端口(独立集群开启内网/外网访问,托管集群支持开启内网访问) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_EMPTYCLUSTERNOTSUPPORT = "InternalError.EmptyClusterNotSupport" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_EMPTYCLUSTERNOTSUPPORT = "InternalError.EmptyClusterNotSupport" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateClusterEndpointWithContext(ctx context.Context, request *CreateClusterEndpointRequest) (response *CreateClusterEndpointResponse, err error) { if request == nil { request = NewCreateClusterEndpointRequest() @@ -737,24 +755,25 @@ func NewCreateClusterEndpointVipResponse() (response *CreateClusterEndpointVipRe // 创建托管集群外网访问端口(老的方式,仅支持托管集群外网端口) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateClusterEndpointVip(request *CreateClusterEndpointVipRequest) (response *CreateClusterEndpointVipResponse, err error) { if request == nil { request = NewCreateClusterEndpointVipRequest() @@ -769,24 +788,25 @@ func (c *Client) CreateClusterEndpointVip(request *CreateClusterEndpointVipReque // 创建托管集群外网访问端口(老的方式,仅支持托管集群外网端口) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateClusterEndpointVipWithContext(ctx context.Context, request *CreateClusterEndpointVipRequest) (response *CreateClusterEndpointVipResponse, err error) { if request == nil { request = NewCreateClusterEndpointVipRequest() @@ -818,37 +838,38 @@ func NewCreateClusterInstancesResponse() (response *CreateClusterInstancesRespon // 扩展(新建)集群节点 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" -// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" -// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" -// INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound" -// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" -// INVALIDPARAMETER = "InvalidParameter" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" +// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" +// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" +// INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound" +// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" +// INVALIDPARAMETER = "InvalidParameter" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateClusterInstances(request *CreateClusterInstancesRequest) (response *CreateClusterInstancesResponse, err error) { if request == nil { request = NewCreateClusterInstancesRequest() @@ -863,37 +884,38 @@ func (c *Client) CreateClusterInstances(request *CreateClusterInstancesRequest) // 扩展(新建)集群节点 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" -// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" -// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" -// INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound" -// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" -// INVALIDPARAMETER = "InvalidParameter" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTCOMMON = "InternalError.AccountCommon" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" +// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" +// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" +// INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound" +// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" +// INVALIDPARAMETER = "InvalidParameter" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateClusterInstancesWithContext(ctx context.Context, request *CreateClusterInstancesRequest) (response *CreateClusterInstancesResponse, err error) { if request == nil { request = NewCreateClusterInstancesRequest() @@ -925,13 +947,14 @@ func NewCreateClusterNodePoolResponse() (response *CreateClusterNodePoolResponse // 创建节点池 // // 可能返回的错误码: -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" func (c *Client) CreateClusterNodePool(request *CreateClusterNodePoolRequest) (response *CreateClusterNodePoolResponse, err error) { if request == nil { request = NewCreateClusterNodePoolRequest() @@ -946,13 +969,14 @@ func (c *Client) CreateClusterNodePool(request *CreateClusterNodePoolRequest) (r // 创建节点池 // // 可能返回的错误码: -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" func (c *Client) CreateClusterNodePoolWithContext(ctx context.Context, request *CreateClusterNodePoolRequest) (response *CreateClusterNodePoolResponse, err error) { if request == nil { request = NewCreateClusterNodePoolRequest() @@ -984,7 +1008,8 @@ func NewCreateClusterNodePoolFromExistingAsgResponse() (response *CreateClusterN // 从伸缩组创建节点池 // // 可能返回的错误码: -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" func (c *Client) CreateClusterNodePoolFromExistingAsg(request *CreateClusterNodePoolFromExistingAsgRequest) (response *CreateClusterNodePoolFromExistingAsgResponse, err error) { if request == nil { request = NewCreateClusterNodePoolFromExistingAsgRequest() @@ -999,7 +1024,8 @@ func (c *Client) CreateClusterNodePoolFromExistingAsg(request *CreateClusterNode // 从伸缩组创建节点池 // // 可能返回的错误码: -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" func (c *Client) CreateClusterNodePoolFromExistingAsgWithContext(ctx context.Context, request *CreateClusterNodePoolFromExistingAsgRequest) (response *CreateClusterNodePoolFromExistingAsgResponse, err error) { if request == nil { request = NewCreateClusterNodePoolFromExistingAsgRequest() @@ -1031,20 +1057,21 @@ func NewCreateClusterRouteResponse() (response *CreateClusterRouteResponse) { // 创建集群路由 // // 可能返回的错误码: -// INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" -// INTERNALERROR_CIDROUTOFROUTETABLE = "InternalError.CidrOutOfRouteTable" -// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_GATEWAYALREADYASSOCIATEDCIDR = "InternalError.GatewayAlreadyAssociatedCidr" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" -// INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable" -// INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_ROUTETABLENOTFOUND = "ResourceNotFound.RouteTableNotFound" +// +// INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" +// INTERNALERROR_CIDROUTOFROUTETABLE = "InternalError.CidrOutOfRouteTable" +// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_GATEWAYALREADYASSOCIATEDCIDR = "InternalError.GatewayAlreadyAssociatedCidr" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" +// INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable" +// INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_ROUTETABLENOTFOUND = "ResourceNotFound.RouteTableNotFound" func (c *Client) CreateClusterRoute(request *CreateClusterRouteRequest) (response *CreateClusterRouteResponse, err error) { if request == nil { request = NewCreateClusterRouteRequest() @@ -1059,20 +1086,21 @@ func (c *Client) CreateClusterRoute(request *CreateClusterRouteRequest) (respons // 创建集群路由 // // 可能返回的错误码: -// INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" -// INTERNALERROR_CIDROUTOFROUTETABLE = "InternalError.CidrOutOfRouteTable" -// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_GATEWAYALREADYASSOCIATEDCIDR = "InternalError.GatewayAlreadyAssociatedCidr" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" -// INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable" -// INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_ROUTETABLENOTFOUND = "ResourceNotFound.RouteTableNotFound" +// +// INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" +// INTERNALERROR_CIDROUTOFROUTETABLE = "InternalError.CidrOutOfRouteTable" +// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_GATEWAYALREADYASSOCIATEDCIDR = "InternalError.GatewayAlreadyAssociatedCidr" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" +// INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable" +// INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_ROUTETABLENOTFOUND = "ResourceNotFound.RouteTableNotFound" func (c *Client) CreateClusterRouteWithContext(ctx context.Context, request *CreateClusterRouteRequest) (response *CreateClusterRouteResponse, err error) { if request == nil { request = NewCreateClusterRouteRequest() @@ -1104,20 +1132,21 @@ func NewCreateClusterRouteTableResponse() (response *CreateClusterRouteTableResp // 创建集群路由表 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster" -// INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" -// INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr" -// INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" -// INTERNALERROR_RESOURCEEXISTALREADY = "InternalError.ResourceExistAlready" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster" +// INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" +// INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr" +// INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" +// INTERNALERROR_RESOURCEEXISTALREADY = "InternalError.ResourceExistAlready" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) CreateClusterRouteTable(request *CreateClusterRouteTableRequest) (response *CreateClusterRouteTableResponse, err error) { if request == nil { request = NewCreateClusterRouteTableRequest() @@ -1132,20 +1161,21 @@ func (c *Client) CreateClusterRouteTable(request *CreateClusterRouteTableRequest // 创建集群路由表 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster" -// INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" -// INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr" -// INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" -// INTERNALERROR_RESOURCEEXISTALREADY = "InternalError.ResourceExistAlready" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CIDRCONFLICTWITHOTHERCLUSTER = "InternalError.CidrConflictWithOtherCluster" +// INTERNALERROR_CIDRCONFLICTWITHOTHERROUTE = "InternalError.CidrConflictWithOtherRoute" +// INTERNALERROR_CIDRCONFLICTWITHVPCCIDR = "InternalError.CidrConflictWithVpcCidr" +// INTERNALERROR_CIDRCONFLICTWITHVPCGLOBALROUTE = "InternalError.CidrConflictWithVpcGlobalRoute" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" +// INTERNALERROR_RESOURCEEXISTALREADY = "InternalError.ResourceExistAlready" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CIDRCONFLICTWITHOTHERROUTE = "InvalidParameter.CidrConflictWithOtherRoute" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) CreateClusterRouteTableWithContext(ctx context.Context, request *CreateClusterRouteTableRequest) (response *CreateClusterRouteTableResponse, err error) { if request == nil { request = NewCreateClusterRouteTableRequest() @@ -1177,17 +1207,18 @@ func NewCreateEKSClusterResponse() (response *CreateEKSClusterResponse) { // 创建弹性集群 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateEKSCluster(request *CreateEKSClusterRequest) (response *CreateEKSClusterResponse, err error) { if request == nil { request = NewCreateEKSClusterRequest() @@ -1202,17 +1233,18 @@ func (c *Client) CreateEKSCluster(request *CreateEKSClusterRequest) (response *C // 创建弹性集群 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateEKSClusterWithContext(ctx context.Context, request *CreateEKSClusterRequest) (response *CreateEKSClusterResponse, err error) { if request == nil { request = NewCreateEKSClusterRequest() @@ -1244,13 +1276,14 @@ func NewCreateEKSContainerInstancesResponse() (response *CreateEKSContainerInsta // 创建容器实例 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CMDTIMEOUT = "InternalError.CmdTimeout" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER = "InvalidParameter" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CMDTIMEOUT = "InternalError.CmdTimeout" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) CreateEKSContainerInstances(request *CreateEKSContainerInstancesRequest) (response *CreateEKSContainerInstancesResponse, err error) { if request == nil { request = NewCreateEKSContainerInstancesRequest() @@ -1265,13 +1298,14 @@ func (c *Client) CreateEKSContainerInstances(request *CreateEKSContainerInstance // 创建容器实例 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CMDTIMEOUT = "InternalError.CmdTimeout" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER = "InvalidParameter" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CMDTIMEOUT = "InternalError.CmdTimeout" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) CreateEKSContainerInstancesWithContext(ctx context.Context, request *CreateEKSContainerInstancesRequest) (response *CreateEKSContainerInstancesResponse, err error) { if request == nil { request = NewCreateEKSContainerInstancesRequest() @@ -1303,10 +1337,11 @@ func NewCreatePrometheusAlertRuleResponse() (response *CreatePrometheusAlertRule // 创建告警规则 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreatePrometheusAlertRule(request *CreatePrometheusAlertRuleRequest) (response *CreatePrometheusAlertRuleResponse, err error) { if request == nil { request = NewCreatePrometheusAlertRuleRequest() @@ -1321,10 +1356,11 @@ func (c *Client) CreatePrometheusAlertRule(request *CreatePrometheusAlertRuleReq // 创建告警规则 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreatePrometheusAlertRuleWithContext(ctx context.Context, request *CreatePrometheusAlertRuleRequest) (response *CreatePrometheusAlertRuleResponse, err error) { if request == nil { request = NewCreatePrometheusAlertRuleRequest() @@ -1356,12 +1392,13 @@ func NewCreatePrometheusDashboardResponse() (response *CreatePrometheusDashboard // 创建grafana监控面板 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" func (c *Client) CreatePrometheusDashboard(request *CreatePrometheusDashboardRequest) (response *CreatePrometheusDashboardResponse, err error) { if request == nil { request = NewCreatePrometheusDashboardRequest() @@ -1376,12 +1413,13 @@ func (c *Client) CreatePrometheusDashboard(request *CreatePrometheusDashboardReq // 创建grafana监控面板 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" func (c *Client) CreatePrometheusDashboardWithContext(ctx context.Context, request *CreatePrometheusDashboardRequest) (response *CreatePrometheusDashboardResponse, err error) { if request == nil { request = NewCreatePrometheusDashboardRequest() @@ -1413,9 +1451,10 @@ func NewCreatePrometheusTemplateResponse() (response *CreatePrometheusTemplateRe // 创建一个云原生Prometheus模板实例 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) CreatePrometheusTemplate(request *CreatePrometheusTemplateRequest) (response *CreatePrometheusTemplateResponse, err error) { if request == nil { request = NewCreatePrometheusTemplateRequest() @@ -1430,9 +1469,10 @@ func (c *Client) CreatePrometheusTemplate(request *CreatePrometheusTemplateReque // 创建一个云原生Prometheus模板实例 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) CreatePrometheusTemplateWithContext(ctx context.Context, request *CreatePrometheusTemplateRequest) (response *CreatePrometheusTemplateResponse, err error) { if request == nil { request = NewCreatePrometheusTemplateRequest() @@ -1464,18 +1504,19 @@ func NewDeleteClusterResponse() (response *DeleteClusterResponse) { // 删除集群(YUNAPI V3版本) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// OPERATIONDENIED_CLUSTERINDELETIONPROTECTION = "OperationDenied.ClusterInDeletionProtection" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// OPERATIONDENIED_CLUSTERINDELETIONPROTECTION = "OperationDenied.ClusterInDeletionProtection" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" func (c *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteClusterResponse, err error) { if request == nil { request = NewDeleteClusterRequest() @@ -1490,18 +1531,19 @@ func (c *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteC // 删除集群(YUNAPI V3版本) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// OPERATIONDENIED_CLUSTERINDELETIONPROTECTION = "OperationDenied.ClusterInDeletionProtection" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// OPERATIONDENIED_CLUSTERINDELETIONPROTECTION = "OperationDenied.ClusterInDeletionProtection" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" func (c *Client) DeleteClusterWithContext(ctx context.Context, request *DeleteClusterRequest) (response *DeleteClusterResponse, err error) { if request == nil { request = NewDeleteClusterRequest() @@ -1533,23 +1575,24 @@ func NewDeleteClusterAsGroupsResponse() (response *DeleteClusterAsGroupsResponse // 删除集群伸缩组 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" -// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" -// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" -// INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNKNOWNPARAMETER = "UnknownParameter" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" +// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" +// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" +// INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNKNOWNPARAMETER = "UnknownParameter" func (c *Client) DeleteClusterAsGroups(request *DeleteClusterAsGroupsRequest) (response *DeleteClusterAsGroupsResponse, err error) { if request == nil { request = NewDeleteClusterAsGroupsRequest() @@ -1564,23 +1607,24 @@ func (c *Client) DeleteClusterAsGroups(request *DeleteClusterAsGroupsRequest) (r // 删除集群伸缩组 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" -// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" -// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" -// INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNKNOWNPARAMETER = "UnknownParameter" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" +// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" +// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" +// INTERNALERROR_QUOTAMAXRTLIMIT = "InternalError.QuotaMaxRtLimit" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNKNOWNPARAMETER = "UnknownParameter" func (c *Client) DeleteClusterAsGroupsWithContext(ctx context.Context, request *DeleteClusterAsGroupsRequest) (response *DeleteClusterAsGroupsResponse, err error) { if request == nil { request = NewDeleteClusterAsGroupsRequest() @@ -1612,28 +1656,29 @@ func NewDeleteClusterEndpointResponse() (response *DeleteClusterEndpointResponse // 删除集群访问端口(独立集群开启内网/外网访问,托管集群支持开启内网访问) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteClusterEndpoint(request *DeleteClusterEndpointRequest) (response *DeleteClusterEndpointResponse, err error) { if request == nil { request = NewDeleteClusterEndpointRequest() @@ -1648,28 +1693,29 @@ func (c *Client) DeleteClusterEndpoint(request *DeleteClusterEndpointRequest) (r // 删除集群访问端口(独立集群开启内网/外网访问,托管集群支持开启内网访问) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteClusterEndpointWithContext(ctx context.Context, request *DeleteClusterEndpointRequest) (response *DeleteClusterEndpointResponse, err error) { if request == nil { request = NewDeleteClusterEndpointRequest() @@ -1701,25 +1747,26 @@ func NewDeleteClusterEndpointVipResponse() (response *DeleteClusterEndpointVipRe // 删除托管集群外网访问端口(老的方式,仅支持托管集群外网端口) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" -// INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" +// INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteClusterEndpointVip(request *DeleteClusterEndpointVipRequest) (response *DeleteClusterEndpointVipResponse, err error) { if request == nil { request = NewDeleteClusterEndpointVipRequest() @@ -1734,25 +1781,26 @@ func (c *Client) DeleteClusterEndpointVip(request *DeleteClusterEndpointVipReque // 删除托管集群外网访问端口(老的方式,仅支持托管集群外网端口) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" -// INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" +// INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteClusterEndpointVipWithContext(ctx context.Context, request *DeleteClusterEndpointVipRequest) (response *DeleteClusterEndpointVipResponse, err error) { if request == nil { request = NewDeleteClusterEndpointVipRequest() @@ -1784,17 +1832,18 @@ func NewDeleteClusterInstancesResponse() (response *DeleteClusterInstancesRespon // 删除集群中的实例 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" func (c *Client) DeleteClusterInstances(request *DeleteClusterInstancesRequest) (response *DeleteClusterInstancesResponse, err error) { if request == nil { request = NewDeleteClusterInstancesRequest() @@ -1809,17 +1858,18 @@ func (c *Client) DeleteClusterInstances(request *DeleteClusterInstancesRequest) // 删除集群中的实例 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" func (c *Client) DeleteClusterInstancesWithContext(ctx context.Context, request *DeleteClusterInstancesRequest) (response *DeleteClusterInstancesResponse, err error) { if request == nil { request = NewDeleteClusterInstancesRequest() @@ -1851,9 +1901,10 @@ func NewDeleteClusterNodePoolResponse() (response *DeleteClusterNodePoolResponse // 删除节点池 // // 可能返回的错误码: -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) DeleteClusterNodePool(request *DeleteClusterNodePoolRequest) (response *DeleteClusterNodePoolResponse, err error) { if request == nil { request = NewDeleteClusterNodePoolRequest() @@ -1868,9 +1919,10 @@ func (c *Client) DeleteClusterNodePool(request *DeleteClusterNodePoolRequest) (r // 删除节点池 // // 可能返回的错误码: -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) DeleteClusterNodePoolWithContext(ctx context.Context, request *DeleteClusterNodePoolRequest) (response *DeleteClusterNodePoolResponse, err error) { if request == nil { request = NewDeleteClusterNodePoolRequest() @@ -1902,12 +1954,13 @@ func NewDeleteClusterRouteResponse() (response *DeleteClusterRouteResponse) { // 删除集群路由 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) DeleteClusterRoute(request *DeleteClusterRouteRequest) (response *DeleteClusterRouteResponse, err error) { if request == nil { request = NewDeleteClusterRouteRequest() @@ -1922,12 +1975,13 @@ func (c *Client) DeleteClusterRoute(request *DeleteClusterRouteRequest) (respons // 删除集群路由 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_ROUTETABLENOTFOUND = "InternalError.RouteTableNotFound" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) DeleteClusterRouteWithContext(ctx context.Context, request *DeleteClusterRouteRequest) (response *DeleteClusterRouteResponse, err error) { if request == nil { request = NewDeleteClusterRouteRequest() @@ -1959,12 +2013,13 @@ func NewDeleteClusterRouteTableResponse() (response *DeleteClusterRouteTableResp // 删除集群路由表 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_ROUTETABLENOTEMPTY = "InternalError.RouteTableNotEmpty" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_ROUTETABLENOTEMPTY = "InternalError.RouteTableNotEmpty" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" func (c *Client) DeleteClusterRouteTable(request *DeleteClusterRouteTableRequest) (response *DeleteClusterRouteTableResponse, err error) { if request == nil { request = NewDeleteClusterRouteTableRequest() @@ -1979,12 +2034,13 @@ func (c *Client) DeleteClusterRouteTable(request *DeleteClusterRouteTableRequest // 删除集群路由表 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_ROUTETABLENOTEMPTY = "InternalError.RouteTableNotEmpty" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_ROUTETABLENOTEMPTY = "InternalError.RouteTableNotEmpty" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" func (c *Client) DeleteClusterRouteTableWithContext(ctx context.Context, request *DeleteClusterRouteTableRequest) (response *DeleteClusterRouteTableResponse, err error) { if request == nil { request = NewDeleteClusterRouteTableRequest() @@ -2016,17 +2072,18 @@ func NewDeleteEKSClusterResponse() (response *DeleteEKSClusterResponse) { // 删除弹性集群(yunapiv3) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteEKSCluster(request *DeleteEKSClusterRequest) (response *DeleteEKSClusterResponse, err error) { if request == nil { request = NewDeleteEKSClusterRequest() @@ -2041,17 +2098,18 @@ func (c *Client) DeleteEKSCluster(request *DeleteEKSClusterRequest) (response *D // 删除弹性集群(yunapiv3) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteEKSClusterWithContext(ctx context.Context, request *DeleteEKSClusterRequest) (response *DeleteEKSClusterResponse, err error) { if request == nil { request = NewDeleteEKSClusterRequest() @@ -2083,15 +2141,16 @@ func NewDeleteEKSContainerInstancesResponse() (response *DeleteEKSContainerInsta // 删除容器实例,可批量删除 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CONTAINERNOTFOUND = "InternalError.ContainerNotFound" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CONTAINERNOTFOUND = "InternalError.ContainerNotFound" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteEKSContainerInstances(request *DeleteEKSContainerInstancesRequest) (response *DeleteEKSContainerInstancesResponse, err error) { if request == nil { request = NewDeleteEKSContainerInstancesRequest() @@ -2106,15 +2165,16 @@ func (c *Client) DeleteEKSContainerInstances(request *DeleteEKSContainerInstance // 删除容器实例,可批量删除 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CONTAINERNOTFOUND = "InternalError.ContainerNotFound" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CONTAINERNOTFOUND = "InternalError.ContainerNotFound" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteEKSContainerInstancesWithContext(ctx context.Context, request *DeleteEKSContainerInstancesRequest) (response *DeleteEKSContainerInstancesResponse, err error) { if request == nil { request = NewDeleteEKSContainerInstancesRequest() @@ -2146,10 +2206,11 @@ func NewDeletePrometheusAlertRuleResponse() (response *DeletePrometheusAlertRule // 删除告警规则 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" func (c *Client) DeletePrometheusAlertRule(request *DeletePrometheusAlertRuleRequest) (response *DeletePrometheusAlertRuleResponse, err error) { if request == nil { request = NewDeletePrometheusAlertRuleRequest() @@ -2164,10 +2225,11 @@ func (c *Client) DeletePrometheusAlertRule(request *DeletePrometheusAlertRuleReq // 删除告警规则 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" func (c *Client) DeletePrometheusAlertRuleWithContext(ctx context.Context, request *DeletePrometheusAlertRuleRequest) (response *DeletePrometheusAlertRuleResponse, err error) { if request == nil { request = NewDeletePrometheusAlertRuleRequest() @@ -2199,11 +2261,12 @@ func NewDeletePrometheusTemplateResponse() (response *DeletePrometheusTemplateRe // 删除一个云原生Prometheus配置模板 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" func (c *Client) DeletePrometheusTemplate(request *DeletePrometheusTemplateRequest) (response *DeletePrometheusTemplateResponse, err error) { if request == nil { request = NewDeletePrometheusTemplateRequest() @@ -2218,11 +2281,12 @@ func (c *Client) DeletePrometheusTemplate(request *DeletePrometheusTemplateReque // 删除一个云原生Prometheus配置模板 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" func (c *Client) DeletePrometheusTemplateWithContext(ctx context.Context, request *DeletePrometheusTemplateRequest) (response *DeletePrometheusTemplateResponse, err error) { if request == nil { request = NewDeletePrometheusTemplateRequest() @@ -2254,13 +2318,14 @@ func NewDeletePrometheusTemplateSyncResponse() (response *DeletePrometheusTempla // 取消模板同步,这将会删除目标中该模板所生产的配置 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" func (c *Client) DeletePrometheusTemplateSync(request *DeletePrometheusTemplateSyncRequest) (response *DeletePrometheusTemplateSyncResponse, err error) { if request == nil { request = NewDeletePrometheusTemplateSyncRequest() @@ -2275,13 +2340,14 @@ func (c *Client) DeletePrometheusTemplateSync(request *DeletePrometheusTemplateS // 取消模板同步,这将会删除目标中该模板所生产的配置 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" func (c *Client) DeletePrometheusTemplateSyncWithContext(ctx context.Context, request *DeletePrometheusTemplateSyncRequest) (response *DeletePrometheusTemplateSyncResponse, err error) { if request == nil { request = NewDeletePrometheusTemplateSyncRequest() @@ -2313,12 +2379,13 @@ func NewDescribeAvailableClusterVersionResponse() (response *DescribeAvailableCl // 获取集群可以升级的所有版本 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" func (c *Client) DescribeAvailableClusterVersion(request *DescribeAvailableClusterVersionRequest) (response *DescribeAvailableClusterVersionResponse, err error) { if request == nil { request = NewDescribeAvailableClusterVersionRequest() @@ -2333,12 +2400,13 @@ func (c *Client) DescribeAvailableClusterVersion(request *DescribeAvailableClust // 获取集群可以升级的所有版本 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" func (c *Client) DescribeAvailableClusterVersionWithContext(ctx context.Context, request *DescribeAvailableClusterVersionRequest) (response *DescribeAvailableClusterVersionResponse, err error) { if request == nil { request = NewDescribeAvailableClusterVersionRequest() @@ -2370,17 +2438,18 @@ func NewDescribeClusterAsGroupOptionResponse() (response *DescribeClusterAsGroup // 集群弹性伸缩配置 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeClusterAsGroupOption(request *DescribeClusterAsGroupOptionRequest) (response *DescribeClusterAsGroupOptionResponse, err error) { if request == nil { request = NewDescribeClusterAsGroupOptionRequest() @@ -2395,17 +2464,18 @@ func (c *Client) DescribeClusterAsGroupOption(request *DescribeClusterAsGroupOpt // 集群弹性伸缩配置 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeClusterAsGroupOptionWithContext(ctx context.Context, request *DescribeClusterAsGroupOptionRequest) (response *DescribeClusterAsGroupOptionResponse, err error) { if request == nil { request = NewDescribeClusterAsGroupOptionRequest() @@ -2437,19 +2507,20 @@ func NewDescribeClusterAsGroupsResponse() (response *DescribeClusterAsGroupsResp // 集群关联的伸缩组列表 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_PODNOTFOUND = "InternalError.PodNotFound" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound" -// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_PODNOTFOUND = "InternalError.PodNotFound" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound" +// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" func (c *Client) DescribeClusterAsGroups(request *DescribeClusterAsGroupsRequest) (response *DescribeClusterAsGroupsResponse, err error) { if request == nil { request = NewDescribeClusterAsGroupsRequest() @@ -2464,19 +2535,20 @@ func (c *Client) DescribeClusterAsGroups(request *DescribeClusterAsGroupsRequest // 集群关联的伸缩组列表 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_PODNOTFOUND = "InternalError.PodNotFound" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound" -// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_PODNOTFOUND = "InternalError.PodNotFound" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INTERNALERROR_VPCPEERNOTFOUND = "InternalError.VpcPeerNotFound" +// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" func (c *Client) DescribeClusterAsGroupsWithContext(ctx context.Context, request *DescribeClusterAsGroupsRequest) (response *DescribeClusterAsGroupsResponse, err error) { if request == nil { request = NewDescribeClusterAsGroupsRequest() @@ -2508,10 +2580,11 @@ func NewDescribeClusterAuthenticationOptionsResponse() (response *DescribeCluste // 查看集群认证配置 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" func (c *Client) DescribeClusterAuthenticationOptions(request *DescribeClusterAuthenticationOptionsRequest) (response *DescribeClusterAuthenticationOptionsResponse, err error) { if request == nil { request = NewDescribeClusterAuthenticationOptionsRequest() @@ -2526,10 +2599,11 @@ func (c *Client) DescribeClusterAuthenticationOptions(request *DescribeClusterAu // 查看集群认证配置 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" func (c *Client) DescribeClusterAuthenticationOptionsWithContext(ctx context.Context, request *DescribeClusterAuthenticationOptionsRequest) (response *DescribeClusterAuthenticationOptionsResponse, err error) { if request == nil { request = NewDescribeClusterAuthenticationOptionsRequest() @@ -2561,14 +2635,15 @@ func NewDescribeClusterCommonNamesResponse() (response *DescribeClusterCommonNam // 获取指定子账户在RBAC授权模式中对应kube-apiserver客户端证书的CommonName字段,如果没有客户端证书,将会签发一个,此接口有最大传入子账户数量上限,当前为50 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" -// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" -// UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" +// UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist" func (c *Client) DescribeClusterCommonNames(request *DescribeClusterCommonNamesRequest) (response *DescribeClusterCommonNamesResponse, err error) { if request == nil { request = NewDescribeClusterCommonNamesRequest() @@ -2583,14 +2658,15 @@ func (c *Client) DescribeClusterCommonNames(request *DescribeClusterCommonNamesR // 获取指定子账户在RBAC授权模式中对应kube-apiserver客户端证书的CommonName字段,如果没有客户端证书,将会签发一个,此接口有最大传入子账户数量上限,当前为50 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" -// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" -// UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" +// UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist" func (c *Client) DescribeClusterCommonNamesWithContext(ctx context.Context, request *DescribeClusterCommonNamesRequest) (response *DescribeClusterCommonNamesResponse, err error) { if request == nil { request = NewDescribeClusterCommonNamesRequest() @@ -2622,11 +2698,12 @@ func NewDescribeClusterControllersResponse() (response *DescribeClusterControlle // 用于查询Kubernetes的各个原生控制器是否开启 // // 可能返回的错误码: -// INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) DescribeClusterControllers(request *DescribeClusterControllersRequest) (response *DescribeClusterControllersResponse, err error) { if request == nil { request = NewDescribeClusterControllersRequest() @@ -2641,11 +2718,12 @@ func (c *Client) DescribeClusterControllers(request *DescribeClusterControllersR // 用于查询Kubernetes的各个原生控制器是否开启 // // 可能返回的错误码: -// INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) DescribeClusterControllersWithContext(ctx context.Context, request *DescribeClusterControllersRequest) (response *DescribeClusterControllersResponse, err error) { if request == nil { request = NewDescribeClusterControllersRequest() @@ -2677,28 +2755,29 @@ func NewDescribeClusterEndpointStatusResponse() (response *DescribeClusterEndpoi // 查询集群访问端口状态(独立集群开启内网/外网访问,托管集群支持开启内网访问) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_KUBERNETESINTERNAL = "InternalError.KubernetesInternal" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_KUBERNETESINTERNAL = "InternalError.KubernetesInternal" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeClusterEndpointStatus(request *DescribeClusterEndpointStatusRequest) (response *DescribeClusterEndpointStatusResponse, err error) { if request == nil { request = NewDescribeClusterEndpointStatusRequest() @@ -2713,28 +2792,29 @@ func (c *Client) DescribeClusterEndpointStatus(request *DescribeClusterEndpointS // 查询集群访问端口状态(独立集群开启内网/外网访问,托管集群支持开启内网访问) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_KUBERNETESINTERNAL = "InternalError.KubernetesInternal" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_KUBERNETESINTERNAL = "InternalError.KubernetesInternal" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeClusterEndpointStatusWithContext(ctx context.Context, request *DescribeClusterEndpointStatusRequest) (response *DescribeClusterEndpointStatusResponse, err error) { if request == nil { request = NewDescribeClusterEndpointStatusRequest() @@ -2766,28 +2846,29 @@ func NewDescribeClusterEndpointVipStatusResponse() (response *DescribeClusterEnd // 查询集群开启端口流程状态(仅支持托管集群外网端口) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" -// INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" -// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" +// INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" +// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeClusterEndpointVipStatus(request *DescribeClusterEndpointVipStatusRequest) (response *DescribeClusterEndpointVipStatusResponse, err error) { if request == nil { request = NewDescribeClusterEndpointVipStatusRequest() @@ -2802,28 +2883,29 @@ func (c *Client) DescribeClusterEndpointVipStatus(request *DescribeClusterEndpoi // 查询集群开启端口流程状态(仅支持托管集群外网端口) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" -// INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" -// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_DFWGETUSGCOUNT = "InternalError.DfwGetUSGCount" +// INTERNALERROR_DFWGETUSGQUOTA = "InternalError.DfwGetUSGQuota" +// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeClusterEndpointVipStatusWithContext(ctx context.Context, request *DescribeClusterEndpointVipStatusRequest) (response *DescribeClusterEndpointVipStatusResponse, err error) { if request == nil { request = NewDescribeClusterEndpointVipStatusRequest() @@ -2852,19 +2934,21 @@ func NewDescribeClusterInstancesResponse() (response *DescribeClusterInstancesRe } // DescribeClusterInstances -// 查询集群下节点实例信息 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" -// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// +// 查询集群下节点实例信息 +// +// 可能返回的错误码: +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" +// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" func (c *Client) DescribeClusterInstances(request *DescribeClusterInstancesRequest) (response *DescribeClusterInstancesResponse, err error) { if request == nil { request = NewDescribeClusterInstancesRequest() @@ -2876,19 +2960,21 @@ func (c *Client) DescribeClusterInstances(request *DescribeClusterInstancesReque } // DescribeClusterInstances -// 查询集群下节点实例信息 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" -// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// +// 查询集群下节点实例信息 +// +// 可能返回的错误码: +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" +// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" func (c *Client) DescribeClusterInstancesWithContext(ctx context.Context, request *DescribeClusterInstancesRequest) (response *DescribeClusterInstancesResponse, err error) { if request == nil { request = NewDescribeClusterInstancesRequest() @@ -2920,21 +3006,22 @@ func NewDescribeClusterKubeconfigResponse() (response *DescribeClusterKubeconfig // 获取集群的kubeconfig文件,不同子账户获取自己的kubeconfig文件,该文件中有每个子账户自己的kube-apiserver的客户端证书,默认首次调此接口时候创建客户端证书,时效20年,未授予任何权限,如果是集群所有者或者主账户,则默认是cluster-admin权限。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" -// INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" -// INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" -// INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" -// RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound" -// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" +// INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" +// INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" +// INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound" +// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" func (c *Client) DescribeClusterKubeconfig(request *DescribeClusterKubeconfigRequest) (response *DescribeClusterKubeconfigResponse, err error) { if request == nil { request = NewDescribeClusterKubeconfigRequest() @@ -2949,21 +3036,22 @@ func (c *Client) DescribeClusterKubeconfig(request *DescribeClusterKubeconfigReq // 获取集群的kubeconfig文件,不同子账户获取自己的kubeconfig文件,该文件中有每个子账户自己的kube-apiserver的客户端证书,默认首次调此接口时候创建客户端证书,时效20年,未授予任何权限,如果是集群所有者或者主账户,则默认是cluster-admin权限。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" -// INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" -// INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" -// INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" -// RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound" -// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_KUBECLIENTCONNECTION = "InternalError.KubeClientConnection" +// INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" +// INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" +// INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound" +// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" func (c *Client) DescribeClusterKubeconfigWithContext(ctx context.Context, request *DescribeClusterKubeconfigRequest) (response *DescribeClusterKubeconfigResponse, err error) { if request == nil { request = NewDescribeClusterKubeconfigRequest() @@ -2995,11 +3083,12 @@ func NewDescribeClusterNodePoolDetailResponse() (response *DescribeClusterNodePo // 查询节点池详情 // // 可能返回的错误码: -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" func (c *Client) DescribeClusterNodePoolDetail(request *DescribeClusterNodePoolDetailRequest) (response *DescribeClusterNodePoolDetailResponse, err error) { if request == nil { request = NewDescribeClusterNodePoolDetailRequest() @@ -3014,11 +3103,12 @@ func (c *Client) DescribeClusterNodePoolDetail(request *DescribeClusterNodePoolD // 查询节点池详情 // // 可能返回的错误码: -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" func (c *Client) DescribeClusterNodePoolDetailWithContext(ctx context.Context, request *DescribeClusterNodePoolDetailRequest) (response *DescribeClusterNodePoolDetailResponse, err error) { if request == nil { request = NewDescribeClusterNodePoolDetailRequest() @@ -3050,11 +3140,12 @@ func NewDescribeClusterNodePoolsResponse() (response *DescribeClusterNodePoolsRe // 查询节点池列表 // // 可能返回的错误码: -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" func (c *Client) DescribeClusterNodePools(request *DescribeClusterNodePoolsRequest) (response *DescribeClusterNodePoolsResponse, err error) { if request == nil { request = NewDescribeClusterNodePoolsRequest() @@ -3069,11 +3160,12 @@ func (c *Client) DescribeClusterNodePools(request *DescribeClusterNodePoolsReque // 查询节点池列表 // // 可能返回的错误码: -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" func (c *Client) DescribeClusterNodePoolsWithContext(ctx context.Context, request *DescribeClusterNodePoolsRequest) (response *DescribeClusterNodePoolsResponse, err error) { if request == nil { request = NewDescribeClusterNodePoolsRequest() @@ -3105,7 +3197,8 @@ func NewDescribeClusterRouteTablesResponse() (response *DescribeClusterRouteTabl // 查询集群路由表 // // 可能返回的错误码: -// INTERNALERROR_DB = "InternalError.Db" +// +// INTERNALERROR_DB = "InternalError.Db" func (c *Client) DescribeClusterRouteTables(request *DescribeClusterRouteTablesRequest) (response *DescribeClusterRouteTablesResponse, err error) { if request == nil { request = NewDescribeClusterRouteTablesRequest() @@ -3120,7 +3213,8 @@ func (c *Client) DescribeClusterRouteTables(request *DescribeClusterRouteTablesR // 查询集群路由表 // // 可能返回的错误码: -// INTERNALERROR_DB = "InternalError.Db" +// +// INTERNALERROR_DB = "InternalError.Db" func (c *Client) DescribeClusterRouteTablesWithContext(ctx context.Context, request *DescribeClusterRouteTablesRequest) (response *DescribeClusterRouteTablesResponse, err error) { if request == nil { request = NewDescribeClusterRouteTablesRequest() @@ -3152,9 +3246,10 @@ func NewDescribeClusterRoutesResponse() (response *DescribeClusterRoutesResponse // 查询集群路由 // // 可能返回的错误码: -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) DescribeClusterRoutes(request *DescribeClusterRoutesRequest) (response *DescribeClusterRoutesResponse, err error) { if request == nil { request = NewDescribeClusterRoutesRequest() @@ -3169,9 +3264,10 @@ func (c *Client) DescribeClusterRoutes(request *DescribeClusterRoutesRequest) (r // 查询集群路由 // // 可能返回的错误码: -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) DescribeClusterRoutesWithContext(ctx context.Context, request *DescribeClusterRoutesRequest) (response *DescribeClusterRoutesResponse, err error) { if request == nil { request = NewDescribeClusterRoutesRequest() @@ -3203,31 +3299,32 @@ func NewDescribeClusterSecurityResponse() (response *DescribeClusterSecurityResp // 集群的密钥信息 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_LBCOMMON = "InternalError.LbCommon" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" -// RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_LBCOMMON = "InternalError.LbCommon" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeClusterSecurity(request *DescribeClusterSecurityRequest) (response *DescribeClusterSecurityResponse, err error) { if request == nil { request = NewDescribeClusterSecurityRequest() @@ -3242,31 +3339,32 @@ func (c *Client) DescribeClusterSecurity(request *DescribeClusterSecurityRequest // 集群的密钥信息 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_LBCOMMON = "InternalError.LbCommon" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" -// RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_COMPONENTCLIENTHTTP = "InternalError.ComponentClientHttp" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_LBCOMMON = "InternalError.LbCommon" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_CIDRINVALID = "InvalidParameter.CidrInvalid" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// RESOURCENOTFOUND_KUBERESOURCENOTFOUND = "ResourceNotFound.KubeResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeClusterSecurityWithContext(ctx context.Context, request *DescribeClusterSecurityRequest) (response *DescribeClusterSecurityResponse, err error) { if request == nil { request = NewDescribeClusterSecurityRequest() @@ -3298,20 +3396,21 @@ func NewDescribeClustersResponse() (response *DescribeClustersResponse) { // 查询集群列表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" -// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" -// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" +// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" +// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" func (c *Client) DescribeClusters(request *DescribeClustersRequest) (response *DescribeClustersResponse, err error) { if request == nil { request = NewDescribeClustersRequest() @@ -3326,20 +3425,21 @@ func (c *Client) DescribeClusters(request *DescribeClustersRequest) (response *D // 查询集群列表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" -// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" -// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_PUBLICCLUSTEROPNOTSUPPORT = "InternalError.PublicClusterOpNotSupport" +// INTERNALERROR_QUOTAMAXCLSLIMIT = "InternalError.QuotaMaxClsLimit" +// INTERNALERROR_QUOTAMAXNODLIMIT = "InternalError.QuotaMaxNodLimit" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" func (c *Client) DescribeClustersWithContext(ctx context.Context, request *DescribeClustersRequest) (response *DescribeClustersResponse, err error) { if request == nil { request = NewDescribeClustersRequest() @@ -3371,18 +3471,19 @@ func NewDescribeEKSClusterCredentialResponse() (response *DescribeEKSClusterCred // 获取弹性容器集群的接入认证信息 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeEKSClusterCredential(request *DescribeEKSClusterCredentialRequest) (response *DescribeEKSClusterCredentialResponse, err error) { if request == nil { request = NewDescribeEKSClusterCredentialRequest() @@ -3397,18 +3498,19 @@ func (c *Client) DescribeEKSClusterCredential(request *DescribeEKSClusterCredent // 获取弹性容器集群的接入认证信息 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeEKSClusterCredentialWithContext(ctx context.Context, request *DescribeEKSClusterCredentialRequest) (response *DescribeEKSClusterCredentialResponse, err error) { if request == nil { request = NewDescribeEKSClusterCredentialRequest() @@ -3440,17 +3542,18 @@ func NewDescribeEKSClustersResponse() (response *DescribeEKSClustersResponse) { // 查询弹性集群列表 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeEKSClusters(request *DescribeEKSClustersRequest) (response *DescribeEKSClustersResponse, err error) { if request == nil { request = NewDescribeEKSClustersRequest() @@ -3465,17 +3568,18 @@ func (c *Client) DescribeEKSClusters(request *DescribeEKSClustersRequest) (respo // 查询弹性集群列表 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeEKSClustersWithContext(ctx context.Context, request *DescribeEKSClustersRequest) (response *DescribeEKSClustersResponse, err error) { if request == nil { request = NewDescribeEKSClustersRequest() @@ -3507,14 +3611,15 @@ func NewDescribeEKSContainerInstanceEventResponse() (response *DescribeEKSContai // 查询容器实例的事件 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeEKSContainerInstanceEvent(request *DescribeEKSContainerInstanceEventRequest) (response *DescribeEKSContainerInstanceEventResponse, err error) { if request == nil { request = NewDescribeEKSContainerInstanceEventRequest() @@ -3529,14 +3634,15 @@ func (c *Client) DescribeEKSContainerInstanceEvent(request *DescribeEKSContainer // 查询容器实例的事件 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeEKSContainerInstanceEventWithContext(ctx context.Context, request *DescribeEKSContainerInstanceEventRequest) (response *DescribeEKSContainerInstanceEventResponse, err error) { if request == nil { request = NewDescribeEKSContainerInstanceEventRequest() @@ -3568,13 +3674,14 @@ func NewDescribeEKSContainerInstanceRegionsResponse() (response *DescribeEKSCont // 查询容器实例支持的地域 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER = "InvalidParameter" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) DescribeEKSContainerInstanceRegions(request *DescribeEKSContainerInstanceRegionsRequest) (response *DescribeEKSContainerInstanceRegionsResponse, err error) { if request == nil { request = NewDescribeEKSContainerInstanceRegionsRequest() @@ -3589,13 +3696,14 @@ func (c *Client) DescribeEKSContainerInstanceRegions(request *DescribeEKSContain // 查询容器实例支持的地域 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER = "InvalidParameter" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) DescribeEKSContainerInstanceRegionsWithContext(ctx context.Context, request *DescribeEKSContainerInstanceRegionsRequest) (response *DescribeEKSContainerInstanceRegionsResponse, err error) { if request == nil { request = NewDescribeEKSContainerInstanceRegionsRequest() @@ -3627,11 +3735,12 @@ func NewDescribeEKSContainerInstancesResponse() (response *DescribeEKSContainerI // 查询容器实例 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeEKSContainerInstances(request *DescribeEKSContainerInstancesRequest) (response *DescribeEKSContainerInstancesResponse, err error) { if request == nil { request = NewDescribeEKSContainerInstancesRequest() @@ -3646,11 +3755,12 @@ func (c *Client) DescribeEKSContainerInstances(request *DescribeEKSContainerInst // 查询容器实例 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeEKSContainerInstancesWithContext(ctx context.Context, request *DescribeEKSContainerInstancesRequest) (response *DescribeEKSContainerInstancesResponse, err error) { if request == nil { request = NewDescribeEKSContainerInstancesRequest() @@ -3682,12 +3792,13 @@ func NewDescribeEksContainerInstanceLogResponse() (response *DescribeEksContaine // 查询容器实例中容器日志 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CONTAINERNOTFOUND = "InternalError.ContainerNotFound" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE_EKSCONTAINERSTATUS = "ResourceUnavailable.EksContainerStatus" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CONTAINERNOTFOUND = "InternalError.ContainerNotFound" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE_EKSCONTAINERSTATUS = "ResourceUnavailable.EksContainerStatus" func (c *Client) DescribeEksContainerInstanceLog(request *DescribeEksContainerInstanceLogRequest) (response *DescribeEksContainerInstanceLogResponse, err error) { if request == nil { request = NewDescribeEksContainerInstanceLogRequest() @@ -3702,12 +3813,13 @@ func (c *Client) DescribeEksContainerInstanceLog(request *DescribeEksContainerIn // 查询容器实例中容器日志 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CONTAINERNOTFOUND = "InternalError.ContainerNotFound" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE_EKSCONTAINERSTATUS = "ResourceUnavailable.EksContainerStatus" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CONTAINERNOTFOUND = "InternalError.ContainerNotFound" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE_EKSCONTAINERSTATUS = "ResourceUnavailable.EksContainerStatus" func (c *Client) DescribeEksContainerInstanceLogWithContext(ctx context.Context, request *DescribeEksContainerInstanceLogRequest) (response *DescribeEksContainerInstanceLogResponse, err error) { if request == nil { request = NewDescribeEksContainerInstanceLogRequest() @@ -3739,8 +3851,9 @@ func NewDescribeEnableVpcCniProgressResponse() (response *DescribeEnableVpcCniPr // 本接口用于查询开启vpc-cni模式的任务进度 // // 可能返回的错误码: -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" func (c *Client) DescribeEnableVpcCniProgress(request *DescribeEnableVpcCniProgressRequest) (response *DescribeEnableVpcCniProgressResponse, err error) { if request == nil { request = NewDescribeEnableVpcCniProgressRequest() @@ -3755,8 +3868,9 @@ func (c *Client) DescribeEnableVpcCniProgress(request *DescribeEnableVpcCniProgr // 本接口用于查询开启vpc-cni模式的任务进度 // // 可能返回的错误码: -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" func (c *Client) DescribeEnableVpcCniProgressWithContext(ctx context.Context, request *DescribeEnableVpcCniProgressRequest) (response *DescribeEnableVpcCniProgressResponse, err error) { if request == nil { request = NewDescribeEnableVpcCniProgressRequest() @@ -3788,35 +3902,36 @@ func NewDescribeExistedInstancesResponse() (response *DescribeExistedInstancesRe // 查询已经存在的节点,判断是否可以加入集群 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" -// INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" -// INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" -// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" +// INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" +// INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" +// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeExistedInstances(request *DescribeExistedInstancesRequest) (response *DescribeExistedInstancesResponse, err error) { if request == nil { request = NewDescribeExistedInstancesRequest() @@ -3831,35 +3946,36 @@ func (c *Client) DescribeExistedInstances(request *DescribeExistedInstancesReque // 查询已经存在的节点,判断是否可以加入集群 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" -// INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" -// INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" -// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" -// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_CREATEMASTERFAILED = "InternalError.CreateMasterFailed" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" +// INTERNALERROR_INITMASTERFAILED = "InternalError.InitMasterFailed" +// INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" +// INTERNALERROR_OSNOTSUPPORT = "InternalError.OsNotSupport" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_VPCCOMMON = "InternalError.VpcCommon" +// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeExistedInstancesWithContext(ctx context.Context, request *DescribeExistedInstancesRequest) (response *DescribeExistedInstancesResponse, err error) { if request == nil { request = NewDescribeExistedInstancesRequest() @@ -3891,21 +4007,22 @@ func NewDescribeExternalClusterSpecResponse() (response *DescribeExternalCluster // 获取导入第三方集群YAML定义 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" -// INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" -// INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" -// RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" -// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" +// INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" +// INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" func (c *Client) DescribeExternalClusterSpec(request *DescribeExternalClusterSpecRequest) (response *DescribeExternalClusterSpecResponse, err error) { if request == nil { request = NewDescribeExternalClusterSpecRequest() @@ -3920,21 +4037,22 @@ func (c *Client) DescribeExternalClusterSpec(request *DescribeExternalClusterSpe // 获取导入第三方集群YAML定义 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" -// INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" -// INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" -// RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" -// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_KUBERNETESCLIENTBUILDERROR = "InternalError.KubernetesClientBuildError" +// INTERNALERROR_KUBERNETESCREATEOPERATIONERROR = "InternalError.KubernetesCreateOperationError" +// INTERNALERROR_KUBERNETESDELETEOPERATIONERROR = "InternalError.KubernetesDeleteOperationError" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_WHITELISTUNEXPECTEDERROR = "InternalError.WhitelistUnexpectedError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = "ResourceNotFound.KubernetesResourceNotFound" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth" func (c *Client) DescribeExternalClusterSpecWithContext(ctx context.Context, request *DescribeExternalClusterSpecRequest) (response *DescribeExternalClusterSpecResponse, err error) { if request == nil { request = NewDescribeExternalClusterSpecRequest() @@ -3966,24 +4084,25 @@ func NewDescribeImagesResponse() (response *DescribeImagesResponse) { // 获取镜像信息 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeImages(request *DescribeImagesRequest) (response *DescribeImagesResponse, err error) { if request == nil { request = NewDescribeImagesRequest() @@ -3998,24 +4117,25 @@ func (c *Client) DescribeImages(request *DescribeImagesRequest) (response *Descr // 获取镜像信息 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_IMAGEIDNOTFOUND = "InternalError.ImageIdNotFound" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeImagesWithContext(ctx context.Context, request *DescribeImagesRequest) (response *DescribeImagesResponse, err error) { if request == nil { request = NewDescribeImagesRequest() @@ -4047,10 +4167,11 @@ func NewDescribePrometheusAgentInstancesResponse() (response *DescribePrometheus // 获取关联目标集群的实例列表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) DescribePrometheusAgentInstances(request *DescribePrometheusAgentInstancesRequest) (response *DescribePrometheusAgentInstancesResponse, err error) { if request == nil { request = NewDescribePrometheusAgentInstancesRequest() @@ -4065,10 +4186,11 @@ func (c *Client) DescribePrometheusAgentInstances(request *DescribePrometheusAge // 获取关联目标集群的实例列表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) DescribePrometheusAgentInstancesWithContext(ctx context.Context, request *DescribePrometheusAgentInstancesRequest) (response *DescribePrometheusAgentInstancesResponse, err error) { if request == nil { request = NewDescribePrometheusAgentInstancesRequest() @@ -4100,10 +4222,11 @@ func NewDescribePrometheusAgentsResponse() (response *DescribePrometheusAgentsRe // 获取被关联集群列表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) DescribePrometheusAgents(request *DescribePrometheusAgentsRequest) (response *DescribePrometheusAgentsResponse, err error) { if request == nil { request = NewDescribePrometheusAgentsRequest() @@ -4118,10 +4241,11 @@ func (c *Client) DescribePrometheusAgents(request *DescribePrometheusAgentsReque // 获取被关联集群列表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) DescribePrometheusAgentsWithContext(ctx context.Context, request *DescribePrometheusAgentsRequest) (response *DescribePrometheusAgentsResponse, err error) { if request == nil { request = NewDescribePrometheusAgentsRequest() @@ -4153,13 +4277,14 @@ func NewDescribePrometheusAlertHistoryResponse() (response *DescribePrometheusAl // 获取告警历史 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" func (c *Client) DescribePrometheusAlertHistory(request *DescribePrometheusAlertHistoryRequest) (response *DescribePrometheusAlertHistoryResponse, err error) { if request == nil { request = NewDescribePrometheusAlertHistoryRequest() @@ -4174,13 +4299,14 @@ func (c *Client) DescribePrometheusAlertHistory(request *DescribePrometheusAlert // 获取告警历史 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" func (c *Client) DescribePrometheusAlertHistoryWithContext(ctx context.Context, request *DescribePrometheusAlertHistoryRequest) (response *DescribePrometheusAlertHistoryResponse, err error) { if request == nil { request = NewDescribePrometheusAlertHistoryRequest() @@ -4212,13 +4338,14 @@ func NewDescribePrometheusAlertRuleResponse() (response *DescribePrometheusAlert // 获取告警规则列表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" func (c *Client) DescribePrometheusAlertRule(request *DescribePrometheusAlertRuleRequest) (response *DescribePrometheusAlertRuleResponse, err error) { if request == nil { request = NewDescribePrometheusAlertRuleRequest() @@ -4233,13 +4360,14 @@ func (c *Client) DescribePrometheusAlertRule(request *DescribePrometheusAlertRul // 获取告警规则列表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" func (c *Client) DescribePrometheusAlertRuleWithContext(ctx context.Context, request *DescribePrometheusAlertRuleRequest) (response *DescribePrometheusAlertRuleResponse, err error) { if request == nil { request = NewDescribePrometheusAlertRuleRequest() @@ -4271,13 +4399,14 @@ func NewDescribePrometheusInstanceResponse() (response *DescribePrometheusInstan // 获取实例详细信息 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" -// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" +// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" func (c *Client) DescribePrometheusInstance(request *DescribePrometheusInstanceRequest) (response *DescribePrometheusInstanceResponse, err error) { if request == nil { request = NewDescribePrometheusInstanceRequest() @@ -4292,13 +4421,14 @@ func (c *Client) DescribePrometheusInstance(request *DescribePrometheusInstanceR // 获取实例详细信息 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" -// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" +// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" func (c *Client) DescribePrometheusInstanceWithContext(ctx context.Context, request *DescribePrometheusInstanceRequest) (response *DescribePrometheusInstanceResponse, err error) { if request == nil { request = NewDescribePrometheusInstanceRequest() @@ -4330,10 +4460,11 @@ func NewDescribePrometheusOverviewsResponse() (response *DescribePrometheusOverv // 获取实例列表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" func (c *Client) DescribePrometheusOverviews(request *DescribePrometheusOverviewsRequest) (response *DescribePrometheusOverviewsResponse, err error) { if request == nil { request = NewDescribePrometheusOverviewsRequest() @@ -4348,10 +4479,11 @@ func (c *Client) DescribePrometheusOverviews(request *DescribePrometheusOverview // 获取实例列表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" func (c *Client) DescribePrometheusOverviewsWithContext(ctx context.Context, request *DescribePrometheusOverviewsRequest) (response *DescribePrometheusOverviewsResponse, err error) { if request == nil { request = NewDescribePrometheusOverviewsRequest() @@ -4383,13 +4515,14 @@ func NewDescribePrometheusTargetsResponse() (response *DescribePrometheusTargets // 获取targets信息 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound" -// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound" +// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" func (c *Client) DescribePrometheusTargets(request *DescribePrometheusTargetsRequest) (response *DescribePrometheusTargetsResponse, err error) { if request == nil { request = NewDescribePrometheusTargetsRequest() @@ -4404,13 +4537,14 @@ func (c *Client) DescribePrometheusTargets(request *DescribePrometheusTargetsReq // 获取targets信息 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound" -// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound" +// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" func (c *Client) DescribePrometheusTargetsWithContext(ctx context.Context, request *DescribePrometheusTargetsRequest) (response *DescribePrometheusTargetsResponse, err error) { if request == nil { request = NewDescribePrometheusTargetsRequest() @@ -4442,10 +4576,11 @@ func NewDescribePrometheusTemplateSyncResponse() (response *DescribePrometheusTe // 获取模板同步信息 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" func (c *Client) DescribePrometheusTemplateSync(request *DescribePrometheusTemplateSyncRequest) (response *DescribePrometheusTemplateSyncResponse, err error) { if request == nil { request = NewDescribePrometheusTemplateSyncRequest() @@ -4460,10 +4595,11 @@ func (c *Client) DescribePrometheusTemplateSync(request *DescribePrometheusTempl // 获取模板同步信息 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" func (c *Client) DescribePrometheusTemplateSyncWithContext(ctx context.Context, request *DescribePrometheusTemplateSyncRequest) (response *DescribePrometheusTemplateSyncResponse, err error) { if request == nil { request = NewDescribePrometheusTemplateSyncRequest() @@ -4495,9 +4631,10 @@ func NewDescribePrometheusTemplatesResponse() (response *DescribePrometheusTempl // 拉取模板列表,默认模板将总是在最前面 // // 可能返回的错误码: -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" func (c *Client) DescribePrometheusTemplates(request *DescribePrometheusTemplatesRequest) (response *DescribePrometheusTemplatesResponse, err error) { if request == nil { request = NewDescribePrometheusTemplatesRequest() @@ -4512,9 +4649,10 @@ func (c *Client) DescribePrometheusTemplates(request *DescribePrometheusTemplate // 拉取模板列表,默认模板将总是在最前面 // // 可能返回的错误码: -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" func (c *Client) DescribePrometheusTemplatesWithContext(ctx context.Context, request *DescribePrometheusTemplatesRequest) (response *DescribePrometheusTemplatesResponse, err error) { if request == nil { request = NewDescribePrometheusTemplatesRequest() @@ -4546,22 +4684,23 @@ func NewDescribeRegionsResponse() (response *DescribeRegionsResponse) { // 获取容器服务支持的所有地域 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error) { if request == nil { request = NewDescribeRegionsRequest() @@ -4576,22 +4715,23 @@ func (c *Client) DescribeRegions(request *DescribeRegionsRequest) (response *Des // 获取容器服务支持的所有地域 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeRegionsWithContext(ctx context.Context, request *DescribeRegionsRequest) (response *DescribeRegionsResponse, err error) { if request == nil { request = NewDescribeRegionsRequest() @@ -4623,13 +4763,14 @@ func NewDescribeRouteTableConflictsResponse() (response *DescribeRouteTableConfl // 查询路由表冲突列表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange" -// INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange" +// INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) DescribeRouteTableConflicts(request *DescribeRouteTableConflictsRequest) (response *DescribeRouteTableConflictsResponse, err error) { if request == nil { request = NewDescribeRouteTableConflictsRequest() @@ -4644,13 +4785,14 @@ func (c *Client) DescribeRouteTableConflicts(request *DescribeRouteTableConflict // 查询路由表冲突列表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange" -// INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CIDRMASKSIZEOUTOFRANGE = "InternalError.CidrMaskSizeOutOfRange" +// INTERNALERROR_INVALIDPRIVATENETWORKCIDR = "InternalError.InvalidPrivateNetworkCidr" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_VPCRECODRNOTFOUND = "InternalError.VpcRecodrNotFound" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) DescribeRouteTableConflictsWithContext(ctx context.Context, request *DescribeRouteTableConflictsRequest) (response *DescribeRouteTableConflictsResponse, err error) { if request == nil { request = NewDescribeRouteTableConflictsRequest() @@ -4682,24 +4824,25 @@ func NewDescribeVersionsResponse() (response *DescribeVersionsResponse) { // 获取集群版本信息 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeVersions(request *DescribeVersionsRequest) (response *DescribeVersionsResponse, err error) { if request == nil { request = NewDescribeVersionsRequest() @@ -4714,24 +4857,25 @@ func (c *Client) DescribeVersions(request *DescribeVersionsRequest) (response *D // 获取集群版本信息 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_COMPONENTCLINETHTTP = "InternalError.ComponentClinetHttp" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeVersionsWithContext(ctx context.Context, request *DescribeVersionsRequest) (response *DescribeVersionsResponse, err error) { if request == nil { request = NewDescribeVersionsRequest() @@ -4763,19 +4907,20 @@ func NewDescribeVpcCniPodLimitsResponse() (response *DescribeVpcCniPodLimitsResp // 本接口查询当前用户和地域在指定可用区下的机型可支持的最大 TKE VPC-CNI 网络模式的 Pod 数量 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// MISSINGPARAMETER = "MissingParameter" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// MISSINGPARAMETER = "MissingParameter" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeVpcCniPodLimits(request *DescribeVpcCniPodLimitsRequest) (response *DescribeVpcCniPodLimitsResponse, err error) { if request == nil { request = NewDescribeVpcCniPodLimitsRequest() @@ -4790,19 +4935,20 @@ func (c *Client) DescribeVpcCniPodLimits(request *DescribeVpcCniPodLimitsRequest // 本接口查询当前用户和地域在指定可用区下的机型可支持的最大 TKE VPC-CNI 网络模式的 Pod 数量 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// MISSINGPARAMETER = "MissingParameter" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// MISSINGPARAMETER = "MissingParameter" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeVpcCniPodLimitsWithContext(ctx context.Context, request *DescribeVpcCniPodLimitsRequest) (response *DescribeVpcCniPodLimitsResponse, err error) { if request == nil { request = NewDescribeVpcCniPodLimitsRequest() @@ -4834,8 +4980,9 @@ func NewDisableClusterDeletionProtectionResponse() (response *DisableClusterDele // 关闭集群删除保护 // // 可能返回的错误码: -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) DisableClusterDeletionProtection(request *DisableClusterDeletionProtectionRequest) (response *DisableClusterDeletionProtectionResponse, err error) { if request == nil { request = NewDisableClusterDeletionProtectionRequest() @@ -4850,8 +4997,9 @@ func (c *Client) DisableClusterDeletionProtection(request *DisableClusterDeletio // 关闭集群删除保护 // // 可能返回的错误码: -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) DisableClusterDeletionProtectionWithContext(ctx context.Context, request *DisableClusterDeletionProtectionRequest) (response *DisableClusterDeletionProtectionResponse, err error) { if request == nil { request = NewDisableClusterDeletionProtectionRequest() @@ -4883,11 +5031,12 @@ func NewDisableVpcCniNetworkTypeResponse() (response *DisableVpcCniNetworkTypeRe // 提供给附加了VPC-CNI能力的Global-Route集群关闭VPC-CNI // // 可能返回的错误码: -// INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) DisableVpcCniNetworkType(request *DisableVpcCniNetworkTypeRequest) (response *DisableVpcCniNetworkTypeResponse, err error) { if request == nil { request = NewDisableVpcCniNetworkTypeRequest() @@ -4902,11 +5051,12 @@ func (c *Client) DisableVpcCniNetworkType(request *DisableVpcCniNetworkTypeReque // 提供给附加了VPC-CNI能力的Global-Route集群关闭VPC-CNI // // 可能返回的错误码: -// INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate" -// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_KUBECLIENTCREATE = "InternalError.KubeClientCreate" +// INTERNALERROR_KUBECOMMON = "InternalError.KubeCommon" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) DisableVpcCniNetworkTypeWithContext(ctx context.Context, request *DisableVpcCniNetworkTypeRequest) (response *DisableVpcCniNetworkTypeResponse, err error) { if request == nil { request = NewDisableVpcCniNetworkTypeRequest() @@ -4938,8 +5088,9 @@ func NewEnableClusterDeletionProtectionResponse() (response *EnableClusterDeleti // 启用集群删除保护 // // 可能返回的错误码: -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) EnableClusterDeletionProtection(request *EnableClusterDeletionProtectionRequest) (response *EnableClusterDeletionProtectionResponse, err error) { if request == nil { request = NewEnableClusterDeletionProtectionRequest() @@ -4954,8 +5105,9 @@ func (c *Client) EnableClusterDeletionProtection(request *EnableClusterDeletionP // 启用集群删除保护 // // 可能返回的错误码: -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) EnableClusterDeletionProtectionWithContext(ctx context.Context, request *EnableClusterDeletionProtectionRequest) (response *EnableClusterDeletionProtectionResponse, err error) { if request == nil { request = NewEnableClusterDeletionProtectionRequest() @@ -4987,9 +5139,10 @@ func NewEnableVpcCniNetworkTypeResponse() (response *EnableVpcCniNetworkTypeResp // GR集群可以通过本接口附加vpc-cni容器网络插件,开启vpc-cni容器网络能力 // // 可能返回的错误码: -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) EnableVpcCniNetworkType(request *EnableVpcCniNetworkTypeRequest) (response *EnableVpcCniNetworkTypeResponse, err error) { if request == nil { request = NewEnableVpcCniNetworkTypeRequest() @@ -5004,9 +5157,10 @@ func (c *Client) EnableVpcCniNetworkType(request *EnableVpcCniNetworkTypeRequest // GR集群可以通过本接口附加vpc-cni容器网络插件,开启vpc-cni容器网络能力 // // 可能返回的错误码: -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) EnableVpcCniNetworkTypeWithContext(ctx context.Context, request *EnableVpcCniNetworkTypeRequest) (response *EnableVpcCniNetworkTypeResponse, err error) { if request == nil { request = NewEnableVpcCniNetworkTypeRequest() @@ -5038,19 +5192,20 @@ func NewForwardApplicationRequestV3Response() (response *ForwardApplicationReque // 操作TKE集群的addon // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist" +// +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist" func (c *Client) ForwardApplicationRequestV3(request *ForwardApplicationRequestV3Request) (response *ForwardApplicationRequestV3Response, err error) { if request == nil { request = NewForwardApplicationRequestV3Request() @@ -5065,19 +5220,20 @@ func (c *Client) ForwardApplicationRequestV3(request *ForwardApplicationRequestV // 操作TKE集群的addon // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist" +// +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_RBACFORBIDDEN = "FailedOperation.RBACForbidden" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_NOTINWHITELIST = "UnsupportedOperation.NotInWhitelist" func (c *Client) ForwardApplicationRequestV3WithContext(ctx context.Context, request *ForwardApplicationRequestV3Request) (response *ForwardApplicationRequestV3Response, err error) { if request == nil { request = NewForwardApplicationRequestV3Request() @@ -5109,8 +5265,9 @@ func NewGetTkeAppChartListResponse() (response *GetTkeAppChartListResponse) { // 获取TKE支持的App列表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) GetTkeAppChartList(request *GetTkeAppChartListRequest) (response *GetTkeAppChartListResponse, err error) { if request == nil { request = NewGetTkeAppChartListRequest() @@ -5125,8 +5282,9 @@ func (c *Client) GetTkeAppChartList(request *GetTkeAppChartListRequest) (respons // 获取TKE支持的App列表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) GetTkeAppChartListWithContext(ctx context.Context, request *GetTkeAppChartListRequest) (response *GetTkeAppChartListResponse, err error) { if request == nil { request = NewGetTkeAppChartListRequest() @@ -5158,8 +5316,9 @@ func NewGetUpgradeInstanceProgressResponse() (response *GetUpgradeInstanceProgre // 获得节点升级当前的进度 // // 可能返回的错误码: -// INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) GetUpgradeInstanceProgress(request *GetUpgradeInstanceProgressRequest) (response *GetUpgradeInstanceProgressResponse, err error) { if request == nil { request = NewGetUpgradeInstanceProgressRequest() @@ -5174,8 +5333,9 @@ func (c *Client) GetUpgradeInstanceProgress(request *GetUpgradeInstanceProgressR // 获得节点升级当前的进度 // // 可能返回的错误码: -// INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) GetUpgradeInstanceProgressWithContext(ctx context.Context, request *GetUpgradeInstanceProgressRequest) (response *GetUpgradeInstanceProgressResponse, err error) { if request == nil { request = NewGetUpgradeInstanceProgressRequest() @@ -5207,27 +5367,28 @@ func NewModifyClusterAsGroupAttributeResponse() (response *ModifyClusterAsGroupA // 修改集群伸缩组属性 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" -// INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable" -// INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" +// INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable" +// INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyClusterAsGroupAttribute(request *ModifyClusterAsGroupAttributeRequest) (response *ModifyClusterAsGroupAttributeResponse, err error) { if request == nil { request = NewModifyClusterAsGroupAttributeRequest() @@ -5242,27 +5403,28 @@ func (c *Client) ModifyClusterAsGroupAttribute(request *ModifyClusterAsGroupAttr // 修改集群伸缩组属性 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" -// INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable" -// INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_ASCOMMONERROR = "InvalidParameter.AsCommonError" +// INVALIDPARAMETER_CIDROUTOFROUTETABLE = "InvalidParameter.CidrOutOfRouteTable" +// INVALIDPARAMETER_GATEWAYALREADYASSOCIATEDCIDR = "InvalidParameter.GatewayAlreadyAssociatedCidr" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_ROUTETABLENOTEMPTY = "InvalidParameter.RouteTableNotEmpty" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyClusterAsGroupAttributeWithContext(ctx context.Context, request *ModifyClusterAsGroupAttributeRequest) (response *ModifyClusterAsGroupAttributeResponse, err error) { if request == nil { request = NewModifyClusterAsGroupAttributeRequest() @@ -5294,23 +5456,24 @@ func NewModifyClusterAsGroupOptionAttributeResponse() (response *ModifyClusterAs // 修改集群弹性伸缩属性 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyClusterAsGroupOptionAttribute(request *ModifyClusterAsGroupOptionAttributeRequest) (response *ModifyClusterAsGroupOptionAttributeResponse, err error) { if request == nil { request = NewModifyClusterAsGroupOptionAttributeRequest() @@ -5325,23 +5488,24 @@ func (c *Client) ModifyClusterAsGroupOptionAttribute(request *ModifyClusterAsGro // 修改集群弹性伸缩属性 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" -// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" -// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_ASCOMMON = "InternalError.AsCommon" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_CLUSTERSTATE = "InternalError.ClusterState" +// INTERNALERROR_CVMCOMMON = "InternalError.CvmCommon" +// INTERNALERROR_CVMNOTFOUND = "InternalError.CvmNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyClusterAsGroupOptionAttributeWithContext(ctx context.Context, request *ModifyClusterAsGroupOptionAttributeRequest) (response *ModifyClusterAsGroupOptionAttributeResponse, err error) { if request == nil { request = NewModifyClusterAsGroupOptionAttributeRequest() @@ -5373,17 +5537,18 @@ func NewModifyClusterAttributeResponse() (response *ModifyClusterAttributeRespon // 修改集群属性 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" func (c *Client) ModifyClusterAttribute(request *ModifyClusterAttributeRequest) (response *ModifyClusterAttributeResponse, err error) { if request == nil { request = NewModifyClusterAttributeRequest() @@ -5398,17 +5563,18 @@ func (c *Client) ModifyClusterAttribute(request *ModifyClusterAttributeRequest) // 修改集群属性 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBAFFECTIVEDROWS = "InternalError.DbAffectivedRows" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" func (c *Client) ModifyClusterAttributeWithContext(ctx context.Context, request *ModifyClusterAttributeRequest) (response *ModifyClusterAttributeResponse, err error) { if request == nil { request = NewModifyClusterAttributeRequest() @@ -5440,10 +5606,11 @@ func NewModifyClusterAuthenticationOptionsResponse() (response *ModifyClusterAut // 修改集群认证配置 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" func (c *Client) ModifyClusterAuthenticationOptions(request *ModifyClusterAuthenticationOptionsRequest) (response *ModifyClusterAuthenticationOptionsResponse, err error) { if request == nil { request = NewModifyClusterAuthenticationOptionsRequest() @@ -5458,10 +5625,11 @@ func (c *Client) ModifyClusterAuthenticationOptions(request *ModifyClusterAuthen // 修改集群认证配置 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" func (c *Client) ModifyClusterAuthenticationOptionsWithContext(ctx context.Context, request *ModifyClusterAuthenticationOptionsRequest) (response *ModifyClusterAuthenticationOptionsResponse, err error) { if request == nil { request = NewModifyClusterAuthenticationOptionsRequest() @@ -5493,25 +5661,26 @@ func NewModifyClusterEndpointSPResponse() (response *ModifyClusterEndpointSPResp // 修改托管集群外网端口的安全策略(老的方式,仅支持托管集群外网端口) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_VPCUNEXPECTEDERROR = "InternalError.VPCUnexpectedError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_VPCUNEXPECTEDERROR = "InternalError.VPCUnexpectedError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyClusterEndpointSP(request *ModifyClusterEndpointSPRequest) (response *ModifyClusterEndpointSPResponse, err error) { if request == nil { request = NewModifyClusterEndpointSPRequest() @@ -5526,25 +5695,26 @@ func (c *Client) ModifyClusterEndpointSP(request *ModifyClusterEndpointSPRequest // 修改托管集群外网端口的安全策略(老的方式,仅支持托管集群外网端口) // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INTERNALERROR_VPCUNEXPECTEDERROR = "InternalError.VPCUnexpectedError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INTERNALERROR_VPCUNEXPECTEDERROR = "InternalError.VPCUnexpectedError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyClusterEndpointSPWithContext(ctx context.Context, request *ModifyClusterEndpointSPRequest) (response *ModifyClusterEndpointSPResponse, err error) { if request == nil { request = NewModifyClusterEndpointSPRequest() @@ -5576,11 +5746,12 @@ func NewModifyClusterNodePoolResponse() (response *ModifyClusterNodePoolResponse // 编辑节点池 // // 可能返回的错误码: -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// OPERATIONDENIED = "OperationDenied" -// UNSUPPORTEDOPERATION_CAENABLEFAILED = "UnsupportedOperation.CaEnableFailed" +// +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// OPERATIONDENIED = "OperationDenied" +// UNSUPPORTEDOPERATION_CAENABLEFAILED = "UnsupportedOperation.CaEnableFailed" func (c *Client) ModifyClusterNodePool(request *ModifyClusterNodePoolRequest) (response *ModifyClusterNodePoolResponse, err error) { if request == nil { request = NewModifyClusterNodePoolRequest() @@ -5595,11 +5766,12 @@ func (c *Client) ModifyClusterNodePool(request *ModifyClusterNodePoolRequest) (r // 编辑节点池 // // 可能返回的错误码: -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// OPERATIONDENIED = "OperationDenied" -// UNSUPPORTEDOPERATION_CAENABLEFAILED = "UnsupportedOperation.CaEnableFailed" +// +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// OPERATIONDENIED = "OperationDenied" +// UNSUPPORTEDOPERATION_CAENABLEFAILED = "UnsupportedOperation.CaEnableFailed" func (c *Client) ModifyClusterNodePoolWithContext(ctx context.Context, request *ModifyClusterNodePoolRequest) (response *ModifyClusterNodePoolResponse, err error) { if request == nil { request = NewModifyClusterNodePoolRequest() @@ -5631,16 +5803,17 @@ func NewModifyNodePoolDesiredCapacityAboutAsgResponse() (response *ModifyNodePoo // 修改节点池关联伸缩组的期望实例数 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" -// UNKNOWNPARAMETER = "UnknownParameter" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// UNKNOWNPARAMETER = "UnknownParameter" func (c *Client) ModifyNodePoolDesiredCapacityAboutAsg(request *ModifyNodePoolDesiredCapacityAboutAsgRequest) (response *ModifyNodePoolDesiredCapacityAboutAsgResponse, err error) { if request == nil { request = NewModifyNodePoolDesiredCapacityAboutAsgRequest() @@ -5655,16 +5828,17 @@ func (c *Client) ModifyNodePoolDesiredCapacityAboutAsg(request *ModifyNodePoolDe // 修改节点池关联伸缩组的期望实例数 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist" -// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" -// UNKNOWNPARAMETER = "UnknownParameter" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND_ASASGNOTEXIST = "ResourceNotFound.AsAsgNotExist" +// RESOURCENOTFOUND_CLUSTERNOTFOUND = "ResourceNotFound.ClusterNotFound" +// UNKNOWNPARAMETER = "UnknownParameter" func (c *Client) ModifyNodePoolDesiredCapacityAboutAsgWithContext(ctx context.Context, request *ModifyNodePoolDesiredCapacityAboutAsgRequest) (response *ModifyNodePoolDesiredCapacityAboutAsgResponse, err error) { if request == nil { request = NewModifyNodePoolDesiredCapacityAboutAsgRequest() @@ -5696,16 +5870,17 @@ func NewModifyNodePoolInstanceTypesResponse() (response *ModifyNodePoolInstanceT // 修改节点池的机型配置 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) ModifyNodePoolInstanceTypes(request *ModifyNodePoolInstanceTypesRequest) (response *ModifyNodePoolInstanceTypesResponse, err error) { if request == nil { request = NewModifyNodePoolInstanceTypesRequest() @@ -5720,16 +5895,17 @@ func (c *Client) ModifyNodePoolInstanceTypes(request *ModifyNodePoolInstanceType // 修改节点池的机型配置 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) ModifyNodePoolInstanceTypesWithContext(ctx context.Context, request *ModifyNodePoolInstanceTypesRequest) (response *ModifyNodePoolInstanceTypesResponse, err error) { if request == nil { request = NewModifyNodePoolInstanceTypesRequest() @@ -5761,11 +5937,12 @@ func NewModifyPrometheusAlertRuleResponse() (response *ModifyPrometheusAlertRule // 修改告警规则 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) ModifyPrometheusAlertRule(request *ModifyPrometheusAlertRuleRequest) (response *ModifyPrometheusAlertRuleResponse, err error) { if request == nil { request = NewModifyPrometheusAlertRuleRequest() @@ -5780,11 +5957,12 @@ func (c *Client) ModifyPrometheusAlertRule(request *ModifyPrometheusAlertRuleReq // 修改告警规则 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) ModifyPrometheusAlertRuleWithContext(ctx context.Context, request *ModifyPrometheusAlertRuleRequest) (response *ModifyPrometheusAlertRuleResponse, err error) { if request == nil { request = NewModifyPrometheusAlertRuleRequest() @@ -5816,12 +5994,13 @@ func NewModifyPrometheusTemplateResponse() (response *ModifyPrometheusTemplateRe // 修改模板内容 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" func (c *Client) ModifyPrometheusTemplate(request *ModifyPrometheusTemplateRequest) (response *ModifyPrometheusTemplateResponse, err error) { if request == nil { request = NewModifyPrometheusTemplateRequest() @@ -5836,12 +6015,13 @@ func (c *Client) ModifyPrometheusTemplate(request *ModifyPrometheusTemplateReque // 修改模板内容 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" func (c *Client) ModifyPrometheusTemplateWithContext(ctx context.Context, request *ModifyPrometheusTemplateRequest) (response *ModifyPrometheusTemplateResponse, err error) { if request == nil { request = NewModifyPrometheusTemplateRequest() @@ -5873,8 +6053,9 @@ func NewRemoveNodeFromNodePoolResponse() (response *RemoveNodeFromNodePoolRespon // 移出节点池节点,但保留在集群内 // // 可能返回的错误码: -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) RemoveNodeFromNodePool(request *RemoveNodeFromNodePoolRequest) (response *RemoveNodeFromNodePoolResponse, err error) { if request == nil { request = NewRemoveNodeFromNodePoolRequest() @@ -5889,8 +6070,9 @@ func (c *Client) RemoveNodeFromNodePool(request *RemoveNodeFromNodePoolRequest) // 移出节点池节点,但保留在集群内 // // 可能返回的错误码: -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) RemoveNodeFromNodePoolWithContext(ctx context.Context, request *RemoveNodeFromNodePoolRequest) (response *RemoveNodeFromNodePoolResponse, err error) { if request == nil { request = NewRemoveNodeFromNodePoolRequest() @@ -5922,10 +6104,11 @@ func NewRestartEKSContainerInstancesResponse() (response *RestartEKSContainerIns // 重启弹性容器实例,支持批量操作 // // 可能返回的错误码: -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) RestartEKSContainerInstances(request *RestartEKSContainerInstancesRequest) (response *RestartEKSContainerInstancesResponse, err error) { if request == nil { request = NewRestartEKSContainerInstancesRequest() @@ -5940,10 +6123,11 @@ func (c *Client) RestartEKSContainerInstances(request *RestartEKSContainerInstan // 重启弹性容器实例,支持批量操作 // // 可能返回的错误码: -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) RestartEKSContainerInstancesWithContext(ctx context.Context, request *RestartEKSContainerInstancesRequest) (response *RestartEKSContainerInstancesResponse, err error) { if request == nil { request = NewRestartEKSContainerInstancesRequest() @@ -5975,8 +6159,9 @@ func NewScaleInClusterMasterResponse() (response *ScaleInClusterMasterResponse) // 缩容独立集群master节点 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// OPERATIONDENIED = "OperationDenied" +// +// INTERNALERROR = "InternalError" +// OPERATIONDENIED = "OperationDenied" func (c *Client) ScaleInClusterMaster(request *ScaleInClusterMasterRequest) (response *ScaleInClusterMasterResponse, err error) { if request == nil { request = NewScaleInClusterMasterRequest() @@ -5991,8 +6176,9 @@ func (c *Client) ScaleInClusterMaster(request *ScaleInClusterMasterRequest) (res // 缩容独立集群master节点 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// OPERATIONDENIED = "OperationDenied" +// +// INTERNALERROR = "InternalError" +// OPERATIONDENIED = "OperationDenied" func (c *Client) ScaleInClusterMasterWithContext(ctx context.Context, request *ScaleInClusterMasterRequest) (response *ScaleInClusterMasterResponse, err error) { if request == nil { request = NewScaleInClusterMasterRequest() @@ -6024,8 +6210,9 @@ func NewScaleOutClusterMasterResponse() (response *ScaleOutClusterMasterResponse // 扩容独立集群master节点 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// OPERATIONDENIED = "OperationDenied" +// +// INTERNALERROR = "InternalError" +// OPERATIONDENIED = "OperationDenied" func (c *Client) ScaleOutClusterMaster(request *ScaleOutClusterMasterRequest) (response *ScaleOutClusterMasterResponse, err error) { if request == nil { request = NewScaleOutClusterMasterRequest() @@ -6040,8 +6227,9 @@ func (c *Client) ScaleOutClusterMaster(request *ScaleOutClusterMasterRequest) (r // 扩容独立集群master节点 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// OPERATIONDENIED = "OperationDenied" +// +// INTERNALERROR = "InternalError" +// OPERATIONDENIED = "OperationDenied" func (c *Client) ScaleOutClusterMasterWithContext(ctx context.Context, request *ScaleOutClusterMasterRequest) (response *ScaleOutClusterMasterResponse, err error) { if request == nil { request = NewScaleOutClusterMasterRequest() @@ -6073,16 +6261,17 @@ func NewSetNodePoolNodeProtectionResponse() (response *SetNodePoolNodeProtection // 仅能设置节点池中处于伸缩组的节点 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) SetNodePoolNodeProtection(request *SetNodePoolNodeProtectionRequest) (response *SetNodePoolNodeProtectionResponse, err error) { if request == nil { request = NewSetNodePoolNodeProtectionRequest() @@ -6097,16 +6286,17 @@ func (c *Client) SetNodePoolNodeProtection(request *SetNodePoolNodeProtectionReq // 仅能设置节点池中处于伸缩组的节点 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_ACCOUNTUSERNOTAUTHENTICATED = "InternalError.AccountUserNotAuthenticated" +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_DBRECORDNOTFOUND = "InternalError.DbRecordNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" func (c *Client) SetNodePoolNodeProtectionWithContext(ctx context.Context, request *SetNodePoolNodeProtectionRequest) (response *SetNodePoolNodeProtectionResponse, err error) { if request == nil { request = NewSetNodePoolNodeProtectionRequest() @@ -6138,13 +6328,14 @@ func NewSyncPrometheusTemplateResponse() (response *SyncPrometheusTemplateRespon // 同步模板到实例或者集群 // // 可能返回的错误码: -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound" -// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" -// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" +// +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound" +// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" +// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" func (c *Client) SyncPrometheusTemplate(request *SyncPrometheusTemplateRequest) (response *SyncPrometheusTemplateResponse, err error) { if request == nil { request = NewSyncPrometheusTemplateRequest() @@ -6159,13 +6350,14 @@ func (c *Client) SyncPrometheusTemplate(request *SyncPrometheusTemplateRequest) // 同步模板到实例或者集群 // // 可能返回的错误码: -// INTERNALERROR_DB = "InternalError.Db" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound" -// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" -// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" +// +// INTERNALERROR_DB = "InternalError.Db" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound" +// INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" +// INVALIDPARAMETER_RESOURCENOTFOUND = "InvalidParameter.ResourceNotFound" func (c *Client) SyncPrometheusTemplateWithContext(ctx context.Context, request *SyncPrometheusTemplateRequest) (response *SyncPrometheusTemplateResponse, err error) { if request == nil { request = NewSyncPrometheusTemplateRequest() @@ -6197,13 +6389,14 @@ func NewUpdateClusterVersionResponse() (response *UpdateClusterVersionResponse) // 升级集群 Master 组件到指定版本 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" func (c *Client) UpdateClusterVersion(request *UpdateClusterVersionRequest) (response *UpdateClusterVersionResponse, err error) { if request == nil { request = NewUpdateClusterVersionRequest() @@ -6218,13 +6411,14 @@ func (c *Client) UpdateClusterVersion(request *UpdateClusterVersionRequest) (res // 升级集群 Master 组件到指定版本 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// +// INTERNALERROR = "InternalError" +// INTERNALERROR_CLUSTERUPGRADENODEVERSION = "InternalError.ClusterUpgradeNodeVersion" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" func (c *Client) UpdateClusterVersionWithContext(ctx context.Context, request *UpdateClusterVersionRequest) (response *UpdateClusterVersionResponse, err error) { if request == nil { request = NewUpdateClusterVersionRequest() @@ -6256,18 +6450,19 @@ func NewUpdateEKSClusterResponse() (response *UpdateEKSClusterResponse) { // 修改弹性集群名称等属性 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) UpdateEKSCluster(request *UpdateEKSClusterRequest) (response *UpdateEKSClusterResponse, err error) { if request == nil { request = NewUpdateEKSClusterRequest() @@ -6282,18 +6477,19 @@ func (c *Client) UpdateEKSCluster(request *UpdateEKSClusterRequest) (response *U // 修改弹性集群名称等属性 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INTERNALERROR_CAMNOAUTH = "InternalError.CamNoAuth" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) UpdateEKSClusterWithContext(ctx context.Context, request *UpdateEKSClusterRequest) (response *UpdateEKSClusterResponse, err error) { if request == nil { request = NewUpdateEKSClusterRequest() @@ -6325,9 +6521,10 @@ func NewUpdateEKSContainerInstanceResponse() (response *UpdateEKSContainerInstan // 更新容器实例 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) UpdateEKSContainerInstance(request *UpdateEKSContainerInstanceRequest) (response *UpdateEKSContainerInstanceResponse, err error) { if request == nil { request = NewUpdateEKSContainerInstanceRequest() @@ -6342,9 +6539,10 @@ func (c *Client) UpdateEKSContainerInstance(request *UpdateEKSContainerInstanceR // 更新容器实例 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) UpdateEKSContainerInstanceWithContext(ctx context.Context, request *UpdateEKSContainerInstanceRequest) (response *UpdateEKSContainerInstanceResponse, err error) { if request == nil { request = NewUpdateEKSContainerInstanceRequest() @@ -6376,13 +6574,14 @@ func NewUpgradeClusterInstancesResponse() (response *UpgradeClusterInstancesResp // 给集群的一批work节点进行升级 // // 可能返回的错误码: -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_TASKLIFESTATEERROR = "InternalError.TaskLifeStateError" -// INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_TASKLIFESTATEERROR = "InternalError.TaskLifeStateError" +// INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" func (c *Client) UpgradeClusterInstances(request *UpgradeClusterInstancesRequest) (response *UpgradeClusterInstancesResponse, err error) { if request == nil { request = NewUpgradeClusterInstancesRequest() @@ -6397,13 +6596,14 @@ func (c *Client) UpgradeClusterInstances(request *UpgradeClusterInstancesRequest // 给集群的一批work节点进行升级 // // 可能返回的错误码: -// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" -// INTERNALERROR_PARAM = "InternalError.Param" -// INTERNALERROR_TASKLIFESTATEERROR = "InternalError.TaskLifeStateError" -// INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound" -// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" -// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" -// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" +// +// INTERNALERROR_CLUSTERNOTFOUND = "InternalError.ClusterNotFound" +// INTERNALERROR_PARAM = "InternalError.Param" +// INTERNALERROR_TASKLIFESTATEERROR = "InternalError.TaskLifeStateError" +// INTERNALERROR_TASKNOTFOUND = "InternalError.TaskNotFound" +// INTERNALERROR_UNEXCEPTEDINTERNAL = "InternalError.UnexceptedInternal" +// INVALIDPARAMETER_PARAM = "InvalidParameter.Param" +// RESOURCEUNAVAILABLE_CLUSTERSTATE = "ResourceUnavailable.ClusterState" func (c *Client) UpgradeClusterInstancesWithContext(ctx context.Context, request *UpgradeClusterInstancesRequest) (response *UpgradeClusterInstancesResponse, err error) { if request == nil { request = NewUpgradeClusterInstancesRequest() diff --git a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc/v20170312/client.go b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc/v20170312/client.go index c409fabfa06e..892bd2ea16e0 100644 --- a/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc/v20170312/client.go +++ b/cluster-autoscaler/cloudprovider/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc/v20170312/client.go @@ -66,17 +66,18 @@ func NewAcceptAttachCcnInstancesResponse() (response *AcceptAttachCcnInstancesRe // 本接口(AcceptAttachCcnInstances)用于跨账号关联实例时,云联网所有者接受并同意关联操作。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" -// UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" -// UNSUPPORTEDOPERATION_ISNOTFINANCEACCOUNT = "UnsupportedOperation.IsNotFinanceAccount" -// UNSUPPORTEDOPERATION_NOTPENDINGCCNINSTANCE = "UnsupportedOperation.NotPendingCcnInstance" -// UNSUPPORTEDOPERATION_UNABLECROSSFINANCE = "UnsupportedOperation.UnableCrossFinance" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" +// UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" +// UNSUPPORTEDOPERATION_ISNOTFINANCEACCOUNT = "UnsupportedOperation.IsNotFinanceAccount" +// UNSUPPORTEDOPERATION_NOTPENDINGCCNINSTANCE = "UnsupportedOperation.NotPendingCcnInstance" +// UNSUPPORTEDOPERATION_UNABLECROSSFINANCE = "UnsupportedOperation.UnableCrossFinance" func (c *Client) AcceptAttachCcnInstances(request *AcceptAttachCcnInstancesRequest) (response *AcceptAttachCcnInstancesResponse, err error) { if request == nil { request = NewAcceptAttachCcnInstancesRequest() @@ -91,17 +92,18 @@ func (c *Client) AcceptAttachCcnInstances(request *AcceptAttachCcnInstancesReque // 本接口(AcceptAttachCcnInstances)用于跨账号关联实例时,云联网所有者接受并同意关联操作。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" -// UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" -// UNSUPPORTEDOPERATION_ISNOTFINANCEACCOUNT = "UnsupportedOperation.IsNotFinanceAccount" -// UNSUPPORTEDOPERATION_NOTPENDINGCCNINSTANCE = "UnsupportedOperation.NotPendingCcnInstance" -// UNSUPPORTEDOPERATION_UNABLECROSSFINANCE = "UnsupportedOperation.UnableCrossFinance" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" +// UNSUPPORTEDOPERATION_INVALIDINSTANCESTATE = "UnsupportedOperation.InvalidInstanceState" +// UNSUPPORTEDOPERATION_ISNOTFINANCEACCOUNT = "UnsupportedOperation.IsNotFinanceAccount" +// UNSUPPORTEDOPERATION_NOTPENDINGCCNINSTANCE = "UnsupportedOperation.NotPendingCcnInstance" +// UNSUPPORTEDOPERATION_UNABLECROSSFINANCE = "UnsupportedOperation.UnableCrossFinance" func (c *Client) AcceptAttachCcnInstancesWithContext(ctx context.Context, request *AcceptAttachCcnInstancesRequest) (response *AcceptAttachCcnInstancesResponse, err error) { if request == nil { request = NewAcceptAttachCcnInstancesRequest() @@ -133,17 +135,18 @@ func NewAddBandwidthPackageResourcesResponse() (response *AddBandwidthPackageRes // 接口用于添加带宽包资源,包括[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)和[负载均衡](https://cloud.tencent.com/document/product/214/517)等 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_RESOURCEALREADYEXISTED = "InvalidParameterValue.ResourceAlreadyExisted" -// INVALIDPARAMETERVALUE_RESOURCEIDMALFORMED = "InvalidParameterValue.ResourceIdMalformed" -// INVALIDPARAMETERVALUE_RESOURCENOTFOUND = "InvalidParameterValue.ResourceNotFound" -// MISSINGPARAMETER = "MissingParameter" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" -// UNSUPPORTEDOPERATION_INVALIDRESOURCEINTERNETCHARGETYPE = "UnsupportedOperation.InvalidResourceInternetChargeType" -// UNSUPPORTEDOPERATION_INVALIDRESOURCEPROTOCOL = "UnsupportedOperation.InvalidResourceProtocol" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_RESOURCEALREADYEXISTED = "InvalidParameterValue.ResourceAlreadyExisted" +// INVALIDPARAMETERVALUE_RESOURCEIDMALFORMED = "InvalidParameterValue.ResourceIdMalformed" +// INVALIDPARAMETERVALUE_RESOURCENOTFOUND = "InvalidParameterValue.ResourceNotFound" +// MISSINGPARAMETER = "MissingParameter" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" +// UNSUPPORTEDOPERATION_INVALIDRESOURCEINTERNETCHARGETYPE = "UnsupportedOperation.InvalidResourceInternetChargeType" +// UNSUPPORTEDOPERATION_INVALIDRESOURCEPROTOCOL = "UnsupportedOperation.InvalidResourceProtocol" func (c *Client) AddBandwidthPackageResources(request *AddBandwidthPackageResourcesRequest) (response *AddBandwidthPackageResourcesResponse, err error) { if request == nil { request = NewAddBandwidthPackageResourcesRequest() @@ -158,17 +161,18 @@ func (c *Client) AddBandwidthPackageResources(request *AddBandwidthPackageResour // 接口用于添加带宽包资源,包括[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)和[负载均衡](https://cloud.tencent.com/document/product/214/517)等 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_RESOURCEALREADYEXISTED = "InvalidParameterValue.ResourceAlreadyExisted" -// INVALIDPARAMETERVALUE_RESOURCEIDMALFORMED = "InvalidParameterValue.ResourceIdMalformed" -// INVALIDPARAMETERVALUE_RESOURCENOTFOUND = "InvalidParameterValue.ResourceNotFound" -// MISSINGPARAMETER = "MissingParameter" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" -// UNSUPPORTEDOPERATION_INVALIDRESOURCEINTERNETCHARGETYPE = "UnsupportedOperation.InvalidResourceInternetChargeType" -// UNSUPPORTEDOPERATION_INVALIDRESOURCEPROTOCOL = "UnsupportedOperation.InvalidResourceProtocol" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_RESOURCEALREADYEXISTED = "InvalidParameterValue.ResourceAlreadyExisted" +// INVALIDPARAMETERVALUE_RESOURCEIDMALFORMED = "InvalidParameterValue.ResourceIdMalformed" +// INVALIDPARAMETERVALUE_RESOURCENOTFOUND = "InvalidParameterValue.ResourceNotFound" +// MISSINGPARAMETER = "MissingParameter" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" +// UNSUPPORTEDOPERATION_INVALIDRESOURCEINTERNETCHARGETYPE = "UnsupportedOperation.InvalidResourceInternetChargeType" +// UNSUPPORTEDOPERATION_INVALIDRESOURCEPROTOCOL = "UnsupportedOperation.InvalidResourceProtocol" func (c *Client) AddBandwidthPackageResourcesWithContext(ctx context.Context, request *AddBandwidthPackageResourcesRequest) (response *AddBandwidthPackageResourcesResponse, err error) { if request == nil { request = NewAddBandwidthPackageResourcesRequest() @@ -204,9 +208,10 @@ func NewAddIp6RulesResponse() (response *AddIp6RulesResponse) { // 3. 一个完整的转换规则包括vip6:vport6:protocol:vip:vport,其中vip6:vport6:protocol必须是唯一。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" func (c *Client) AddIp6Rules(request *AddIp6RulesRequest) (response *AddIp6RulesResponse, err error) { if request == nil { request = NewAddIp6RulesRequest() @@ -225,9 +230,10 @@ func (c *Client) AddIp6Rules(request *AddIp6RulesRequest) (response *AddIp6Rules // 3. 一个完整的转换规则包括vip6:vport6:protocol:vip:vport,其中vip6:vport6:protocol必须是唯一。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// LIMITEXCEEDED = "LimitExceeded" func (c *Client) AddIp6RulesWithContext(ctx context.Context, request *AddIp6RulesRequest) (response *AddIp6RulesResponse, err error) { if request == nil { request = NewAddIp6RulesRequest() @@ -259,11 +265,12 @@ func NewAddTemplateMemberResponse() (response *AddTemplateMemberResponse) { // 增加模版对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) AddTemplateMember(request *AddTemplateMemberRequest) (response *AddTemplateMemberResponse, err error) { if request == nil { request = NewAddTemplateMemberRequest() @@ -278,11 +285,12 @@ func (c *Client) AddTemplateMember(request *AddTemplateMemberRequest) (response // 增加模版对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) AddTemplateMemberWithContext(ctx context.Context, request *AddTemplateMemberRequest) (response *AddTemplateMemberResponse, err error) { if request == nil { request = NewAddTemplateMemberRequest() @@ -320,27 +328,28 @@ func NewAllocateAddressesResponse() (response *AllocateAddressesResponse) { // * 一个腾讯云账户在每个地域能申请的 EIP 最大配额有所限制,可参见 [EIP 产品简介](https://cloud.tencent.com/document/product/213/5733),上述配额可通过 DescribeAddressQuota 接口获取。 // // 可能返回的错误码: -// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" -// ADDRESSQUOTALIMITEXCEEDED_DAILYALLOCATE = "AddressQuotaLimitExceeded.DailyAllocate" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" -// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" -// INVALIDPARAMETERVALUE_ADDRESSIPNOTAVAILABLE = "InvalidParameterValue.AddressIpNotAvailable" -// INVALIDPARAMETERVALUE_BANDWIDTHOUTOFRANGE = "InvalidParameterValue.BandwidthOutOfRange" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// INVALIDPARAMETERVALUE_BANDWIDTHTOOSMALL = "InvalidParameterValue.BandwidthTooSmall" -// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" -// INVALIDPARAMETERVALUE_INVALIDDEDICATEDCLUSTERID = "InvalidParameterValue.InvalidDedicatedClusterId" -// INVALIDPARAMETERVALUE_INVALIDTAG = "InvalidParameterValue.InvalidTag" -// INVALIDPARAMETERVALUE_MIXEDADDRESSIPSETTYPE = "InvalidParameterValue.MixedAddressIpSetType" -// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" -// INVALIDPARAMETERVALUE_TAGNOTEXISTED = "InvalidParameterValue.TagNotExisted" -// INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" -// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" +// +// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" +// ADDRESSQUOTALIMITEXCEEDED_DAILYALLOCATE = "AddressQuotaLimitExceeded.DailyAllocate" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" +// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE_ADDRESSIPNOTAVAILABLE = "InvalidParameterValue.AddressIpNotAvailable" +// INVALIDPARAMETERVALUE_BANDWIDTHOUTOFRANGE = "InvalidParameterValue.BandwidthOutOfRange" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// INVALIDPARAMETERVALUE_BANDWIDTHTOOSMALL = "InvalidParameterValue.BandwidthTooSmall" +// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" +// INVALIDPARAMETERVALUE_INVALIDDEDICATEDCLUSTERID = "InvalidParameterValue.InvalidDedicatedClusterId" +// INVALIDPARAMETERVALUE_INVALIDTAG = "InvalidParameterValue.InvalidTag" +// INVALIDPARAMETERVALUE_MIXEDADDRESSIPSETTYPE = "InvalidParameterValue.MixedAddressIpSetType" +// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" +// INVALIDPARAMETERVALUE_TAGNOTEXISTED = "InvalidParameterValue.TagNotExisted" +// INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" +// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" func (c *Client) AllocateAddresses(request *AllocateAddressesRequest) (response *AllocateAddressesResponse, err error) { if request == nil { request = NewAllocateAddressesRequest() @@ -361,27 +370,28 @@ func (c *Client) AllocateAddresses(request *AllocateAddressesRequest) (response // * 一个腾讯云账户在每个地域能申请的 EIP 最大配额有所限制,可参见 [EIP 产品简介](https://cloud.tencent.com/document/product/213/5733),上述配额可通过 DescribeAddressQuota 接口获取。 // // 可能返回的错误码: -// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" -// ADDRESSQUOTALIMITEXCEEDED_DAILYALLOCATE = "AddressQuotaLimitExceeded.DailyAllocate" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" -// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" -// INVALIDPARAMETERVALUE_ADDRESSIPNOTAVAILABLE = "InvalidParameterValue.AddressIpNotAvailable" -// INVALIDPARAMETERVALUE_BANDWIDTHOUTOFRANGE = "InvalidParameterValue.BandwidthOutOfRange" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// INVALIDPARAMETERVALUE_BANDWIDTHTOOSMALL = "InvalidParameterValue.BandwidthTooSmall" -// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" -// INVALIDPARAMETERVALUE_INVALIDDEDICATEDCLUSTERID = "InvalidParameterValue.InvalidDedicatedClusterId" -// INVALIDPARAMETERVALUE_INVALIDTAG = "InvalidParameterValue.InvalidTag" -// INVALIDPARAMETERVALUE_MIXEDADDRESSIPSETTYPE = "InvalidParameterValue.MixedAddressIpSetType" -// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" -// INVALIDPARAMETERVALUE_TAGNOTEXISTED = "InvalidParameterValue.TagNotExisted" -// INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" -// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" +// +// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" +// ADDRESSQUOTALIMITEXCEEDED_DAILYALLOCATE = "AddressQuotaLimitExceeded.DailyAllocate" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" +// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE_ADDRESSIPNOTAVAILABLE = "InvalidParameterValue.AddressIpNotAvailable" +// INVALIDPARAMETERVALUE_BANDWIDTHOUTOFRANGE = "InvalidParameterValue.BandwidthOutOfRange" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// INVALIDPARAMETERVALUE_BANDWIDTHTOOSMALL = "InvalidParameterValue.BandwidthTooSmall" +// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" +// INVALIDPARAMETERVALUE_INVALIDDEDICATEDCLUSTERID = "InvalidParameterValue.InvalidDedicatedClusterId" +// INVALIDPARAMETERVALUE_INVALIDTAG = "InvalidParameterValue.InvalidTag" +// INVALIDPARAMETERVALUE_MIXEDADDRESSIPSETTYPE = "InvalidParameterValue.MixedAddressIpSetType" +// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" +// INVALIDPARAMETERVALUE_TAGNOTEXISTED = "InvalidParameterValue.TagNotExisted" +// INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" +// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" func (c *Client) AllocateAddressesWithContext(ctx context.Context, request *AllocateAddressesRequest) (response *AllocateAddressesResponse, err error) { if request == nil { request = NewAllocateAddressesRequest() @@ -413,16 +423,17 @@ func NewAllocateIp6AddressesBandwidthResponse() (response *AllocateIp6AddressesB // 该接口用于给IPv6地址初次分配公网带宽 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_ADDRESSIPNOTFOUND = "InvalidParameterValue.AddressIpNotFound" -// INVALIDPARAMETERVALUE_ADDRESSIPNOTINVPC = "InvalidParameterValue.AddressIpNotInVpc" -// INVALIDPARAMETERVALUE_ADDRESSPUBLISHED = "InvalidParameterValue.AddressPublished" -// INVALIDPARAMETERVALUE_INVALIDIPV6 = "InvalidParameterValue.InvalidIpv6" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_ADDRESSIPNOTFOUND = "InvalidParameterValue.AddressIpNotFound" +// INVALIDPARAMETERVALUE_ADDRESSIPNOTINVPC = "InvalidParameterValue.AddressIpNotInVpc" +// INVALIDPARAMETERVALUE_ADDRESSPUBLISHED = "InvalidParameterValue.AddressPublished" +// INVALIDPARAMETERVALUE_INVALIDIPV6 = "InvalidParameterValue.InvalidIpv6" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" func (c *Client) AllocateIp6AddressesBandwidth(request *AllocateIp6AddressesBandwidthRequest) (response *AllocateIp6AddressesBandwidthResponse, err error) { if request == nil { request = NewAllocateIp6AddressesBandwidthRequest() @@ -437,16 +448,17 @@ func (c *Client) AllocateIp6AddressesBandwidth(request *AllocateIp6AddressesBand // 该接口用于给IPv6地址初次分配公网带宽 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_ADDRESSIPNOTFOUND = "InvalidParameterValue.AddressIpNotFound" -// INVALIDPARAMETERVALUE_ADDRESSIPNOTINVPC = "InvalidParameterValue.AddressIpNotInVpc" -// INVALIDPARAMETERVALUE_ADDRESSPUBLISHED = "InvalidParameterValue.AddressPublished" -// INVALIDPARAMETERVALUE_INVALIDIPV6 = "InvalidParameterValue.InvalidIpv6" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_ADDRESSIPNOTFOUND = "InvalidParameterValue.AddressIpNotFound" +// INVALIDPARAMETERVALUE_ADDRESSIPNOTINVPC = "InvalidParameterValue.AddressIpNotInVpc" +// INVALIDPARAMETERVALUE_ADDRESSPUBLISHED = "InvalidParameterValue.AddressPublished" +// INVALIDPARAMETERVALUE_INVALIDIPV6 = "InvalidParameterValue.InvalidIpv6" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" func (c *Client) AllocateIp6AddressesBandwidthWithContext(ctx context.Context, request *AllocateIp6AddressesBandwidthRequest) (response *AllocateIp6AddressesBandwidthResponse, err error) { if request == nil { request = NewAllocateIp6AddressesBandwidthRequest() @@ -488,16 +500,17 @@ func NewAssignIpv6AddressesResponse() (response *AssignIpv6AddressesResponse) { // * 在弹性网卡上申请一个到多个辅助`IPv6`地址,接口会在弹性网卡所在子网段内返回指定数量的辅助`IPv6`地址。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED_ADDRESS = "LimitExceeded.Address" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE_ADDRESS = "ResourceInUse.Address" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" -// UNSUPPORTEDOPERATION_UNASSIGNCIDRBLOCK = "UnsupportedOperation.UnassignCidrBlock" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED_ADDRESS = "LimitExceeded.Address" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE_ADDRESS = "ResourceInUse.Address" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// UNSUPPORTEDOPERATION_UNASSIGNCIDRBLOCK = "UnsupportedOperation.UnassignCidrBlock" func (c *Client) AssignIpv6Addresses(request *AssignIpv6AddressesRequest) (response *AssignIpv6AddressesResponse, err error) { if request == nil { request = NewAssignIpv6AddressesRequest() @@ -522,16 +535,17 @@ func (c *Client) AssignIpv6Addresses(request *AssignIpv6AddressesRequest) (respo // * 在弹性网卡上申请一个到多个辅助`IPv6`地址,接口会在弹性网卡所在子网段内返回指定数量的辅助`IPv6`地址。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED_ADDRESS = "LimitExceeded.Address" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE_ADDRESS = "ResourceInUse.Address" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" -// UNSUPPORTEDOPERATION_UNASSIGNCIDRBLOCK = "UnsupportedOperation.UnassignCidrBlock" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED_ADDRESS = "LimitExceeded.Address" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE_ADDRESS = "ResourceInUse.Address" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// UNSUPPORTEDOPERATION_UNASSIGNCIDRBLOCK = "UnsupportedOperation.UnassignCidrBlock" func (c *Client) AssignIpv6AddressesWithContext(ctx context.Context, request *AssignIpv6AddressesRequest) (response *AssignIpv6AddressesResponse, err error) { if request == nil { request = NewAssignIpv6AddressesRequest() @@ -567,11 +581,12 @@ func NewAssignIpv6CidrBlockResponse() (response *AssignIpv6CidrBlockResponse) { // * 每个VPC只能申请一个IPv6网段 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED_CIDRBLOCK = "LimitExceeded.CidrBlock" -// RESOURCEINSUFFICIENT_CIDRBLOCK = "ResourceInsufficient.CidrBlock" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED_CIDRBLOCK = "LimitExceeded.CidrBlock" +// RESOURCEINSUFFICIENT_CIDRBLOCK = "ResourceInsufficient.CidrBlock" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) AssignIpv6CidrBlock(request *AssignIpv6CidrBlockRequest) (response *AssignIpv6CidrBlockResponse, err error) { if request == nil { request = NewAssignIpv6CidrBlockRequest() @@ -590,11 +605,12 @@ func (c *Client) AssignIpv6CidrBlock(request *AssignIpv6CidrBlockRequest) (respo // * 每个VPC只能申请一个IPv6网段 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED_CIDRBLOCK = "LimitExceeded.CidrBlock" -// RESOURCEINSUFFICIENT_CIDRBLOCK = "ResourceInsufficient.CidrBlock" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED_CIDRBLOCK = "LimitExceeded.CidrBlock" +// RESOURCEINSUFFICIENT_CIDRBLOCK = "ResourceInsufficient.CidrBlock" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) AssignIpv6CidrBlockWithContext(ctx context.Context, request *AssignIpv6CidrBlockRequest) (response *AssignIpv6CidrBlockResponse, err error) { if request == nil { request = NewAssignIpv6CidrBlockRequest() @@ -630,13 +646,14 @@ func NewAssignIpv6SubnetCidrBlockResponse() (response *AssignIpv6SubnetCidrBlock // * 每个子网只能分配一个IPv6网段。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" -// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" -// LIMITEXCEEDED_SUBNETCIDRBLOCK = "LimitExceeded.SubnetCidrBlock" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" +// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" +// LIMITEXCEEDED_SUBNETCIDRBLOCK = "LimitExceeded.SubnetCidrBlock" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) AssignIpv6SubnetCidrBlock(request *AssignIpv6SubnetCidrBlockRequest) (response *AssignIpv6SubnetCidrBlockResponse, err error) { if request == nil { request = NewAssignIpv6SubnetCidrBlockRequest() @@ -655,13 +672,14 @@ func (c *Client) AssignIpv6SubnetCidrBlock(request *AssignIpv6SubnetCidrBlockReq // * 每个子网只能分配一个IPv6网段。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" -// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" -// LIMITEXCEEDED_SUBNETCIDRBLOCK = "LimitExceeded.SubnetCidrBlock" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" +// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" +// LIMITEXCEEDED_SUBNETCIDRBLOCK = "LimitExceeded.SubnetCidrBlock" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) AssignIpv6SubnetCidrBlockWithContext(ctx context.Context, request *AssignIpv6SubnetCidrBlockRequest) (response *AssignIpv6SubnetCidrBlockResponse, err error) { if request == nil { request = NewAssignIpv6SubnetCidrBlockRequest() @@ -703,18 +721,19 @@ func NewAssignPrivateIpAddressesResponse() (response *AssignPrivateIpAddressesRe // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" -// UNSUPPORTEDOPERATION_RESOURCEMISMATCH = "UnsupportedOperation.ResourceMismatch" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// UNSUPPORTEDOPERATION_RESOURCEMISMATCH = "UnsupportedOperation.ResourceMismatch" func (c *Client) AssignPrivateIpAddresses(request *AssignPrivateIpAddressesRequest) (response *AssignPrivateIpAddressesResponse, err error) { if request == nil { request = NewAssignPrivateIpAddressesRequest() @@ -739,18 +758,19 @@ func (c *Client) AssignPrivateIpAddresses(request *AssignPrivateIpAddressesReque // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" -// UNSUPPORTEDOPERATION_RESOURCEMISMATCH = "UnsupportedOperation.ResourceMismatch" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// UNSUPPORTEDOPERATION_RESOURCEMISMATCH = "UnsupportedOperation.ResourceMismatch" func (c *Client) AssignPrivateIpAddressesWithContext(ctx context.Context, request *AssignPrivateIpAddressesRequest) (response *AssignPrivateIpAddressesResponse, err error) { if request == nil { request = NewAssignPrivateIpAddressesRequest() @@ -794,38 +814,39 @@ func NewAssociateAddressResponse() (response *AssociateAddressResponse) { // * 只有状态为 UNBIND 的 EIP 才能够被绑定。 // // 可能返回的错误码: -// FAILEDOPERATION_ADDRESSENIINFONOTFOUND = "FailedOperation.AddressEniInfoNotFound" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDINSTANCEID_ALREADYBINDEIP = "InvalidInstanceId.AlreadyBindEip" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDNETWORKINTERFACEID_NOTFOUND = "InvalidNetworkInterfaceId.NotFound" -// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSNOTAPPLICABLE = "InvalidParameterValue.AddressNotApplicable" -// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" -// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" -// INVALIDPARAMETERVALUE_INSTANCEDOESNOTSUPPORTANYCAST = "InvalidParameterValue.InstanceDoesNotSupportAnycast" -// INVALIDPARAMETERVALUE_INSTANCEHASWANIP = "InvalidParameterValue.InstanceHasWanIP" -// INVALIDPARAMETERVALUE_INSTANCENOWANIP = "InvalidParameterValue.InstanceNoWanIP" -// INVALIDPARAMETERVALUE_INSTANCENORMALPUBLICIPBLOCKED = "InvalidParameterValue.InstanceNormalPublicIpBlocked" -// INVALIDPARAMETERVALUE_INSTANCENOTMATCHASSOCIATEENI = "InvalidParameterValue.InstanceNotMatchAssociateEni" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEINTERNETCHARGETYPE = "InvalidParameterValue.InvalidInstanceInternetChargeType" -// INVALIDPARAMETERVALUE_INVALIDINSTANCESTATE = "InvalidParameterValue.InvalidInstanceState" -// INVALIDPARAMETERVALUE_LBALREADYBINDEIP = "InvalidParameterValue.LBAlreadyBindEip" -// INVALIDPARAMETERVALUE_MISSINGASSOCIATEENTITY = "InvalidParameterValue.MissingAssociateEntity" -// INVALIDPARAMETERVALUE_NETWORKINTERFACENOTFOUND = "InvalidParameterValue.NetworkInterfaceNotFound" -// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" -// INVALIDPRIVATEIPADDRESS_ALREADYBINDEIP = "InvalidPrivateIpAddress.AlreadyBindEip" -// MISSINGPARAMETER = "MissingParameter" -// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" -// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" -// UNSUPPORTEDOPERATION_INCORRECTADDRESSRESOURCETYPE = "UnsupportedOperation.IncorrectAddressResourceType" -// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" -// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" -// UNSUPPORTEDOPERATION_INVALIDADDRESSINTERNETCHARGETYPE = "UnsupportedOperation.InvalidAddressInternetChargeType" -// UNSUPPORTEDOPERATION_ISPNOTSUPPORTED = "UnsupportedOperation.IspNotSupported" +// +// FAILEDOPERATION_ADDRESSENIINFONOTFOUND = "FailedOperation.AddressEniInfoNotFound" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDINSTANCEID_ALREADYBINDEIP = "InvalidInstanceId.AlreadyBindEip" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDNETWORKINTERFACEID_NOTFOUND = "InvalidNetworkInterfaceId.NotFound" +// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSNOTAPPLICABLE = "InvalidParameterValue.AddressNotApplicable" +// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" +// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" +// INVALIDPARAMETERVALUE_INSTANCEDOESNOTSUPPORTANYCAST = "InvalidParameterValue.InstanceDoesNotSupportAnycast" +// INVALIDPARAMETERVALUE_INSTANCEHASWANIP = "InvalidParameterValue.InstanceHasWanIP" +// INVALIDPARAMETERVALUE_INSTANCENOWANIP = "InvalidParameterValue.InstanceNoWanIP" +// INVALIDPARAMETERVALUE_INSTANCENORMALPUBLICIPBLOCKED = "InvalidParameterValue.InstanceNormalPublicIpBlocked" +// INVALIDPARAMETERVALUE_INSTANCENOTMATCHASSOCIATEENI = "InvalidParameterValue.InstanceNotMatchAssociateEni" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEINTERNETCHARGETYPE = "InvalidParameterValue.InvalidInstanceInternetChargeType" +// INVALIDPARAMETERVALUE_INVALIDINSTANCESTATE = "InvalidParameterValue.InvalidInstanceState" +// INVALIDPARAMETERVALUE_LBALREADYBINDEIP = "InvalidParameterValue.LBAlreadyBindEip" +// INVALIDPARAMETERVALUE_MISSINGASSOCIATEENTITY = "InvalidParameterValue.MissingAssociateEntity" +// INVALIDPARAMETERVALUE_NETWORKINTERFACENOTFOUND = "InvalidParameterValue.NetworkInterfaceNotFound" +// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" +// INVALIDPRIVATEIPADDRESS_ALREADYBINDEIP = "InvalidPrivateIpAddress.AlreadyBindEip" +// MISSINGPARAMETER = "MissingParameter" +// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" +// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" +// UNSUPPORTEDOPERATION_INCORRECTADDRESSRESOURCETYPE = "UnsupportedOperation.IncorrectAddressResourceType" +// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" +// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" +// UNSUPPORTEDOPERATION_INVALIDADDRESSINTERNETCHARGETYPE = "UnsupportedOperation.InvalidAddressInternetChargeType" +// UNSUPPORTEDOPERATION_ISPNOTSUPPORTED = "UnsupportedOperation.IspNotSupported" func (c *Client) AssociateAddress(request *AssociateAddressRequest) (response *AssociateAddressResponse, err error) { if request == nil { request = NewAssociateAddressRequest() @@ -852,38 +873,39 @@ func (c *Client) AssociateAddress(request *AssociateAddressRequest) (response *A // * 只有状态为 UNBIND 的 EIP 才能够被绑定。 // // 可能返回的错误码: -// FAILEDOPERATION_ADDRESSENIINFONOTFOUND = "FailedOperation.AddressEniInfoNotFound" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDINSTANCEID_ALREADYBINDEIP = "InvalidInstanceId.AlreadyBindEip" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDNETWORKINTERFACEID_NOTFOUND = "InvalidNetworkInterfaceId.NotFound" -// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSNOTAPPLICABLE = "InvalidParameterValue.AddressNotApplicable" -// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" -// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" -// INVALIDPARAMETERVALUE_INSTANCEDOESNOTSUPPORTANYCAST = "InvalidParameterValue.InstanceDoesNotSupportAnycast" -// INVALIDPARAMETERVALUE_INSTANCEHASWANIP = "InvalidParameterValue.InstanceHasWanIP" -// INVALIDPARAMETERVALUE_INSTANCENOWANIP = "InvalidParameterValue.InstanceNoWanIP" -// INVALIDPARAMETERVALUE_INSTANCENORMALPUBLICIPBLOCKED = "InvalidParameterValue.InstanceNormalPublicIpBlocked" -// INVALIDPARAMETERVALUE_INSTANCENOTMATCHASSOCIATEENI = "InvalidParameterValue.InstanceNotMatchAssociateEni" -// INVALIDPARAMETERVALUE_INVALIDINSTANCEINTERNETCHARGETYPE = "InvalidParameterValue.InvalidInstanceInternetChargeType" -// INVALIDPARAMETERVALUE_INVALIDINSTANCESTATE = "InvalidParameterValue.InvalidInstanceState" -// INVALIDPARAMETERVALUE_LBALREADYBINDEIP = "InvalidParameterValue.LBAlreadyBindEip" -// INVALIDPARAMETERVALUE_MISSINGASSOCIATEENTITY = "InvalidParameterValue.MissingAssociateEntity" -// INVALIDPARAMETERVALUE_NETWORKINTERFACENOTFOUND = "InvalidParameterValue.NetworkInterfaceNotFound" -// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" -// INVALIDPRIVATEIPADDRESS_ALREADYBINDEIP = "InvalidPrivateIpAddress.AlreadyBindEip" -// MISSINGPARAMETER = "MissingParameter" -// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" -// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" -// UNSUPPORTEDOPERATION_INCORRECTADDRESSRESOURCETYPE = "UnsupportedOperation.IncorrectAddressResourceType" -// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" -// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" -// UNSUPPORTEDOPERATION_INVALIDADDRESSINTERNETCHARGETYPE = "UnsupportedOperation.InvalidAddressInternetChargeType" -// UNSUPPORTEDOPERATION_ISPNOTSUPPORTED = "UnsupportedOperation.IspNotSupported" +// +// FAILEDOPERATION_ADDRESSENIINFONOTFOUND = "FailedOperation.AddressEniInfoNotFound" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDINSTANCEID_ALREADYBINDEIP = "InvalidInstanceId.AlreadyBindEip" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDNETWORKINTERFACEID_NOTFOUND = "InvalidNetworkInterfaceId.NotFound" +// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSNOTAPPLICABLE = "InvalidParameterValue.AddressNotApplicable" +// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" +// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" +// INVALIDPARAMETERVALUE_INSTANCEDOESNOTSUPPORTANYCAST = "InvalidParameterValue.InstanceDoesNotSupportAnycast" +// INVALIDPARAMETERVALUE_INSTANCEHASWANIP = "InvalidParameterValue.InstanceHasWanIP" +// INVALIDPARAMETERVALUE_INSTANCENOWANIP = "InvalidParameterValue.InstanceNoWanIP" +// INVALIDPARAMETERVALUE_INSTANCENORMALPUBLICIPBLOCKED = "InvalidParameterValue.InstanceNormalPublicIpBlocked" +// INVALIDPARAMETERVALUE_INSTANCENOTMATCHASSOCIATEENI = "InvalidParameterValue.InstanceNotMatchAssociateEni" +// INVALIDPARAMETERVALUE_INVALIDINSTANCEINTERNETCHARGETYPE = "InvalidParameterValue.InvalidInstanceInternetChargeType" +// INVALIDPARAMETERVALUE_INVALIDINSTANCESTATE = "InvalidParameterValue.InvalidInstanceState" +// INVALIDPARAMETERVALUE_LBALREADYBINDEIP = "InvalidParameterValue.LBAlreadyBindEip" +// INVALIDPARAMETERVALUE_MISSINGASSOCIATEENTITY = "InvalidParameterValue.MissingAssociateEntity" +// INVALIDPARAMETERVALUE_NETWORKINTERFACENOTFOUND = "InvalidParameterValue.NetworkInterfaceNotFound" +// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" +// INVALIDPRIVATEIPADDRESS_ALREADYBINDEIP = "InvalidPrivateIpAddress.AlreadyBindEip" +// MISSINGPARAMETER = "MissingParameter" +// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" +// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" +// UNSUPPORTEDOPERATION_INCORRECTADDRESSRESOURCETYPE = "UnsupportedOperation.IncorrectAddressResourceType" +// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" +// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" +// UNSUPPORTEDOPERATION_INVALIDADDRESSINTERNETCHARGETYPE = "UnsupportedOperation.InvalidAddressInternetChargeType" +// UNSUPPORTEDOPERATION_ISPNOTSUPPORTED = "UnsupportedOperation.IspNotSupported" func (c *Client) AssociateAddressWithContext(ctx context.Context, request *AssociateAddressRequest) (response *AssociateAddressResponse, err error) { if request == nil { request = NewAssociateAddressRequest() @@ -919,10 +941,11 @@ func NewAssociateDhcpIpWithAddressIpResponse() (response *AssociateDhcpIpWithAdd // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_BINDEIP = "UnsupportedOperation.BindEIP" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_BINDEIP = "UnsupportedOperation.BindEIP" func (c *Client) AssociateDhcpIpWithAddressIp(request *AssociateDhcpIpWithAddressIpRequest) (response *AssociateDhcpIpWithAddressIpResponse, err error) { if request == nil { request = NewAssociateDhcpIpWithAddressIpRequest() @@ -941,10 +964,11 @@ func (c *Client) AssociateDhcpIpWithAddressIp(request *AssociateDhcpIpWithAddres // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_BINDEIP = "UnsupportedOperation.BindEIP" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_BINDEIP = "UnsupportedOperation.BindEIP" func (c *Client) AssociateDhcpIpWithAddressIpWithContext(ctx context.Context, request *AssociateDhcpIpWithAddressIpRequest) (response *AssociateDhcpIpWithAddressIpResponse, err error) { if request == nil { request = NewAssociateDhcpIpWithAddressIpRequest() @@ -976,13 +1000,14 @@ func NewAssociateDirectConnectGatewayNatGatewayResponse() (response *AssociateDi // 将专线网关与NAT网关绑定,专线网关默认路由指向NAT网关 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_VPGTYPENOTMATCH = "InvalidParameterValue.VpgTypeNotMatch" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_VPGTYPENOTMATCH = "InvalidParameterValue.VpgTypeNotMatch" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) AssociateDirectConnectGatewayNatGateway(request *AssociateDirectConnectGatewayNatGatewayRequest) (response *AssociateDirectConnectGatewayNatGatewayResponse, err error) { if request == nil { request = NewAssociateDirectConnectGatewayNatGatewayRequest() @@ -997,13 +1022,14 @@ func (c *Client) AssociateDirectConnectGatewayNatGateway(request *AssociateDirec // 将专线网关与NAT网关绑定,专线网关默认路由指向NAT网关 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_VPGTYPENOTMATCH = "InvalidParameterValue.VpgTypeNotMatch" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_VPGTYPENOTMATCH = "InvalidParameterValue.VpgTypeNotMatch" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) AssociateDirectConnectGatewayNatGatewayWithContext(ctx context.Context, request *AssociateDirectConnectGatewayNatGatewayRequest) (response *AssociateDirectConnectGatewayNatGatewayResponse, err error) { if request == nil { request = NewAssociateDirectConnectGatewayNatGatewayRequest() @@ -1035,17 +1061,18 @@ func NewAssociateNatGatewayAddressResponse() (response *AssociateNatGatewayAddre // 本接口(AssociateNatGatewayAddress)用于NAT网关绑定弹性IP(EIP)。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" -// LIMITEXCEEDED_DAILYALLOCATEADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.DailyAllocateAddressQuotaLimitExceeded" -// LIMITEXCEEDED_PUBLICIPADDRESSPERNATGATEWAYLIMITEXCEEDED = "LimitExceeded.PublicIpAddressPerNatGatewayLimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTBGPIP = "UnsupportedOperation.PublicIpAddressIsNotBGPIp" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSNOTBILLEDBYTRAFFIC = "UnsupportedOperation.PublicIpAddressNotBilledByTraffic" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" +// LIMITEXCEEDED_DAILYALLOCATEADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.DailyAllocateAddressQuotaLimitExceeded" +// LIMITEXCEEDED_PUBLICIPADDRESSPERNATGATEWAYLIMITEXCEEDED = "LimitExceeded.PublicIpAddressPerNatGatewayLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTBGPIP = "UnsupportedOperation.PublicIpAddressIsNotBGPIp" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSNOTBILLEDBYTRAFFIC = "UnsupportedOperation.PublicIpAddressNotBilledByTraffic" func (c *Client) AssociateNatGatewayAddress(request *AssociateNatGatewayAddressRequest) (response *AssociateNatGatewayAddressResponse, err error) { if request == nil { request = NewAssociateNatGatewayAddressRequest() @@ -1060,17 +1087,18 @@ func (c *Client) AssociateNatGatewayAddress(request *AssociateNatGatewayAddressR // 本接口(AssociateNatGatewayAddress)用于NAT网关绑定弹性IP(EIP)。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" -// LIMITEXCEEDED_DAILYALLOCATEADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.DailyAllocateAddressQuotaLimitExceeded" -// LIMITEXCEEDED_PUBLICIPADDRESSPERNATGATEWAYLIMITEXCEEDED = "LimitExceeded.PublicIpAddressPerNatGatewayLimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTBGPIP = "UnsupportedOperation.PublicIpAddressIsNotBGPIp" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSNOTBILLEDBYTRAFFIC = "UnsupportedOperation.PublicIpAddressNotBilledByTraffic" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" +// LIMITEXCEEDED_DAILYALLOCATEADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.DailyAllocateAddressQuotaLimitExceeded" +// LIMITEXCEEDED_PUBLICIPADDRESSPERNATGATEWAYLIMITEXCEEDED = "LimitExceeded.PublicIpAddressPerNatGatewayLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTBGPIP = "UnsupportedOperation.PublicIpAddressIsNotBGPIp" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSNOTBILLEDBYTRAFFIC = "UnsupportedOperation.PublicIpAddressNotBilledByTraffic" func (c *Client) AssociateNatGatewayAddressWithContext(ctx context.Context, request *AssociateNatGatewayAddressRequest) (response *AssociateNatGatewayAddressResponse, err error) { if request == nil { request = NewAssociateNatGatewayAddressRequest() @@ -1102,11 +1130,12 @@ func NewAssociateNetworkAclSubnetsResponse() (response *AssociateNetworkAclSubne // 本接口(AssociateNetworkAclSubnets)用于网络ACL关联vpc下的子网。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) AssociateNetworkAclSubnets(request *AssociateNetworkAclSubnetsRequest) (response *AssociateNetworkAclSubnetsResponse, err error) { if request == nil { request = NewAssociateNetworkAclSubnetsRequest() @@ -1121,11 +1150,12 @@ func (c *Client) AssociateNetworkAclSubnets(request *AssociateNetworkAclSubnetsR // 本接口(AssociateNetworkAclSubnets)用于网络ACL关联vpc下的子网。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) AssociateNetworkAclSubnetsWithContext(ctx context.Context, request *AssociateNetworkAclSubnetsRequest) (response *AssociateNetworkAclSubnetsResponse, err error) { if request == nil { request = NewAssociateNetworkAclSubnetsRequest() @@ -1157,11 +1187,12 @@ func NewAssociateNetworkInterfaceSecurityGroupsResponse() (response *AssociateNe // 本接口(AssociateNetworkInterfaceSecurityGroups)用于弹性网卡绑定安全组(SecurityGroup)。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) AssociateNetworkInterfaceSecurityGroups(request *AssociateNetworkInterfaceSecurityGroupsRequest) (response *AssociateNetworkInterfaceSecurityGroupsResponse, err error) { if request == nil { request = NewAssociateNetworkInterfaceSecurityGroupsRequest() @@ -1176,11 +1207,12 @@ func (c *Client) AssociateNetworkInterfaceSecurityGroups(request *AssociateNetwo // 本接口(AssociateNetworkInterfaceSecurityGroups)用于弹性网卡绑定安全组(SecurityGroup)。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) AssociateNetworkInterfaceSecurityGroupsWithContext(ctx context.Context, request *AssociateNetworkInterfaceSecurityGroupsRequest) (response *AssociateNetworkInterfaceSecurityGroupsResponse, err error) { if request == nil { request = NewAssociateNetworkInterfaceSecurityGroupsRequest() @@ -1214,23 +1246,24 @@ func NewAttachCcnInstancesResponse() (response *AttachCcnInstancesResponse) { // 每个云联网能够关联的网络实例个数是有限的,详请参考产品文档。如果需要扩充请联系在线客服。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CCNATTACHBMVPCLIMITEXCEEDED = "InvalidParameterValue.CcnAttachBmvpcLimitExceeded" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_APPIDNOTFOUND = "UnsupportedOperation.AppIdNotFound" -// UNSUPPORTEDOPERATION_CCNATTACHED = "UnsupportedOperation.CcnAttached" -// UNSUPPORTEDOPERATION_CCNROUTETABLENOTEXIST = "UnsupportedOperation.CcnRouteTableNotExist" -// UNSUPPORTEDOPERATION_INSTANCEANDRTBNOTMATCH = "UnsupportedOperation.InstanceAndRtbNotMatch" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_ISNOTFINANCEACCOUNT = "UnsupportedOperation.IsNotFinanceAccount" -// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" -// UNSUPPORTEDOPERATION_UNABLECROSSBORDER = "UnsupportedOperation.UnableCrossBorder" -// UNSUPPORTEDOPERATION_UNABLECROSSFINANCE = "UnsupportedOperation.UnableCrossFinance" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CCNATTACHBMVPCLIMITEXCEEDED = "InvalidParameterValue.CcnAttachBmvpcLimitExceeded" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_APPIDNOTFOUND = "UnsupportedOperation.AppIdNotFound" +// UNSUPPORTEDOPERATION_CCNATTACHED = "UnsupportedOperation.CcnAttached" +// UNSUPPORTEDOPERATION_CCNROUTETABLENOTEXIST = "UnsupportedOperation.CcnRouteTableNotExist" +// UNSUPPORTEDOPERATION_INSTANCEANDRTBNOTMATCH = "UnsupportedOperation.InstanceAndRtbNotMatch" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_ISNOTFINANCEACCOUNT = "UnsupportedOperation.IsNotFinanceAccount" +// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" +// UNSUPPORTEDOPERATION_UNABLECROSSBORDER = "UnsupportedOperation.UnableCrossBorder" +// UNSUPPORTEDOPERATION_UNABLECROSSFINANCE = "UnsupportedOperation.UnableCrossFinance" func (c *Client) AttachCcnInstances(request *AttachCcnInstancesRequest) (response *AttachCcnInstancesResponse, err error) { if request == nil { request = NewAttachCcnInstancesRequest() @@ -1247,23 +1280,24 @@ func (c *Client) AttachCcnInstances(request *AttachCcnInstancesRequest) (respons // 每个云联网能够关联的网络实例个数是有限的,详请参考产品文档。如果需要扩充请联系在线客服。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CCNATTACHBMVPCLIMITEXCEEDED = "InvalidParameterValue.CcnAttachBmvpcLimitExceeded" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_APPIDNOTFOUND = "UnsupportedOperation.AppIdNotFound" -// UNSUPPORTEDOPERATION_CCNATTACHED = "UnsupportedOperation.CcnAttached" -// UNSUPPORTEDOPERATION_CCNROUTETABLENOTEXIST = "UnsupportedOperation.CcnRouteTableNotExist" -// UNSUPPORTEDOPERATION_INSTANCEANDRTBNOTMATCH = "UnsupportedOperation.InstanceAndRtbNotMatch" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_ISNOTFINANCEACCOUNT = "UnsupportedOperation.IsNotFinanceAccount" -// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" -// UNSUPPORTEDOPERATION_UNABLECROSSBORDER = "UnsupportedOperation.UnableCrossBorder" -// UNSUPPORTEDOPERATION_UNABLECROSSFINANCE = "UnsupportedOperation.UnableCrossFinance" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CCNATTACHBMVPCLIMITEXCEEDED = "InvalidParameterValue.CcnAttachBmvpcLimitExceeded" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_APPIDNOTFOUND = "UnsupportedOperation.AppIdNotFound" +// UNSUPPORTEDOPERATION_CCNATTACHED = "UnsupportedOperation.CcnAttached" +// UNSUPPORTEDOPERATION_CCNROUTETABLENOTEXIST = "UnsupportedOperation.CcnRouteTableNotExist" +// UNSUPPORTEDOPERATION_INSTANCEANDRTBNOTMATCH = "UnsupportedOperation.InstanceAndRtbNotMatch" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_ISNOTFINANCEACCOUNT = "UnsupportedOperation.IsNotFinanceAccount" +// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" +// UNSUPPORTEDOPERATION_UNABLECROSSBORDER = "UnsupportedOperation.UnableCrossBorder" +// UNSUPPORTEDOPERATION_UNABLECROSSFINANCE = "UnsupportedOperation.UnableCrossFinance" func (c *Client) AttachCcnInstancesWithContext(ctx context.Context, request *AttachCcnInstancesRequest) (response *AttachCcnInstancesResponse, err error) { if request == nil { request = NewAttachCcnInstancesRequest() @@ -1303,13 +1337,14 @@ func NewAttachClassicLinkVpcResponse() (response *AttachClassicLinkVpcResponse) // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_CIDRUNSUPPORTEDCLASSICLINK = "UnsupportedOperation.CIDRUnSupportedClassicLink" -// UNSUPPORTEDOPERATION_CLASSICINSTANCEIDALREADYEXISTS = "UnsupportedOperation.ClassicInstanceIdAlreadyExists" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_CIDRUNSUPPORTEDCLASSICLINK = "UnsupportedOperation.CIDRUnSupportedClassicLink" +// UNSUPPORTEDOPERATION_CLASSICINSTANCEIDALREADYEXISTS = "UnsupportedOperation.ClassicInstanceIdAlreadyExists" func (c *Client) AttachClassicLinkVpc(request *AttachClassicLinkVpcRequest) (response *AttachClassicLinkVpcResponse, err error) { if request == nil { request = NewAttachClassicLinkVpcRequest() @@ -1332,13 +1367,14 @@ func (c *Client) AttachClassicLinkVpc(request *AttachClassicLinkVpcRequest) (res // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_CIDRUNSUPPORTEDCLASSICLINK = "UnsupportedOperation.CIDRUnSupportedClassicLink" -// UNSUPPORTEDOPERATION_CLASSICINSTANCEIDALREADYEXISTS = "UnsupportedOperation.ClassicInstanceIdAlreadyExists" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_CIDRUNSUPPORTEDCLASSICLINK = "UnsupportedOperation.CIDRUnSupportedClassicLink" +// UNSUPPORTEDOPERATION_CLASSICINSTANCEIDALREADYEXISTS = "UnsupportedOperation.ClassicInstanceIdAlreadyExists" func (c *Client) AttachClassicLinkVpcWithContext(ctx context.Context, request *AttachClassicLinkVpcRequest) (response *AttachClassicLinkVpcResponse, err error) { if request == nil { request = NewAttachClassicLinkVpcRequest() @@ -1377,20 +1413,19 @@ func NewAttachNetworkInterfaceResponse() (response *AttachNetworkInterfaceRespon // // * 弹性网卡绑定的云服务器必须是私有网络的,而且云服务器所在可用区必须和弹性网卡子网的可用区相同。 // -// -// // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_ATTACHMENTALREADYEXISTS = "UnsupportedOperation.AttachmentAlreadyExists" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_UNSUPPORTEDINSTANCEFAMILY = "UnsupportedOperation.UnsupportedInstanceFamily" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" -// UNSUPPORTEDOPERATION_ZONEMISMATCH = "UnsupportedOperation.ZoneMismatch" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_ATTACHMENTALREADYEXISTS = "UnsupportedOperation.AttachmentAlreadyExists" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_UNSUPPORTEDINSTANCEFAMILY = "UnsupportedOperation.UnsupportedInstanceFamily" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// UNSUPPORTEDOPERATION_ZONEMISMATCH = "UnsupportedOperation.ZoneMismatch" func (c *Client) AttachNetworkInterface(request *AttachNetworkInterfaceRequest) (response *AttachNetworkInterfaceResponse, err error) { if request == nil { request = NewAttachNetworkInterfaceRequest() @@ -1412,20 +1447,19 @@ func (c *Client) AttachNetworkInterface(request *AttachNetworkInterfaceRequest) // // * 弹性网卡绑定的云服务器必须是私有网络的,而且云服务器所在可用区必须和弹性网卡子网的可用区相同。 // -// -// // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_ATTACHMENTALREADYEXISTS = "UnsupportedOperation.AttachmentAlreadyExists" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_UNSUPPORTEDINSTANCEFAMILY = "UnsupportedOperation.UnsupportedInstanceFamily" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" -// UNSUPPORTEDOPERATION_ZONEMISMATCH = "UnsupportedOperation.ZoneMismatch" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_ATTACHMENTALREADYEXISTS = "UnsupportedOperation.AttachmentAlreadyExists" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_UNSUPPORTEDINSTANCEFAMILY = "UnsupportedOperation.UnsupportedInstanceFamily" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// UNSUPPORTEDOPERATION_ZONEMISMATCH = "UnsupportedOperation.ZoneMismatch" func (c *Client) AttachNetworkInterfaceWithContext(ctx context.Context, request *AttachNetworkInterfaceRequest) (response *AttachNetworkInterfaceResponse, err error) { if request == nil { request = NewAttachNetworkInterfaceRequest() @@ -1461,8 +1495,9 @@ func NewAuditCrossBorderComplianceResponse() (response *AuditCrossBorderComplian // * `APPROVED` 状态的审批单,可以再次操作为 `DENY`;`DENY` 状态的审批单,也可以再次操作为 `APPROVED`。 // // 可能返回的错误码: -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) AuditCrossBorderCompliance(request *AuditCrossBorderComplianceRequest) (response *AuditCrossBorderComplianceResponse, err error) { if request == nil { request = NewAuditCrossBorderComplianceRequest() @@ -1481,8 +1516,9 @@ func (c *Client) AuditCrossBorderCompliance(request *AuditCrossBorderComplianceR // * `APPROVED` 状态的审批单,可以再次操作为 `DENY`;`DENY` 状态的审批单,也可以再次操作为 `APPROVED`。 // // 可能返回的错误码: -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) AuditCrossBorderComplianceWithContext(ctx context.Context, request *AuditCrossBorderComplianceRequest) (response *AuditCrossBorderComplianceResponse, err error) { if request == nil { request = NewAuditCrossBorderComplianceRequest() @@ -1520,13 +1556,14 @@ func NewCheckAssistantCidrResponse() (response *CheckAssistantCidrResponse) { // * 检测辅助CIDR是否与当前VPC的对等连接,对端VPC下的主CIDR或辅助CIDR存在重叠。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CheckAssistantCidr(request *CheckAssistantCidrRequest) (response *CheckAssistantCidrResponse, err error) { if request == nil { request = NewCheckAssistantCidrRequest() @@ -1547,13 +1584,14 @@ func (c *Client) CheckAssistantCidr(request *CheckAssistantCidrRequest) (respons // * 检测辅助CIDR是否与当前VPC的对等连接,对端VPC下的主CIDR或辅助CIDR存在重叠。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CheckAssistantCidrWithContext(ctx context.Context, request *CheckAssistantCidrRequest) (response *CheckAssistantCidrResponse, err error) { if request == nil { request = NewCheckAssistantCidrRequest() @@ -1585,8 +1623,9 @@ func NewCheckDefaultSubnetResponse() (response *CheckDefaultSubnetResponse) { // 本接口(CheckDefaultSubnet)用于预判是否可建默认子网。 // // 可能返回的错误码: -// RESOURCEINSUFFICIENT_CIDRBLOCK = "ResourceInsufficient.CidrBlock" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// RESOURCEINSUFFICIENT_CIDRBLOCK = "ResourceInsufficient.CidrBlock" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CheckDefaultSubnet(request *CheckDefaultSubnetRequest) (response *CheckDefaultSubnetResponse, err error) { if request == nil { request = NewCheckDefaultSubnetRequest() @@ -1601,8 +1640,9 @@ func (c *Client) CheckDefaultSubnet(request *CheckDefaultSubnetRequest) (respons // 本接口(CheckDefaultSubnet)用于预判是否可建默认子网。 // // 可能返回的错误码: -// RESOURCEINSUFFICIENT_CIDRBLOCK = "ResourceInsufficient.CidrBlock" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// RESOURCEINSUFFICIENT_CIDRBLOCK = "ResourceInsufficient.CidrBlock" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CheckDefaultSubnetWithContext(ctx context.Context, request *CheckDefaultSubnetRequest) (response *CheckDefaultSubnetResponse, err error) { if request == nil { request = NewCheckDefaultSubnetRequest() @@ -1634,20 +1674,21 @@ func NewCheckNetDetectStateResponse() (response *CheckNetDetectStateResponse) { // 本接口(CheckNetDetectState)用于验证网络探测。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_NEXTHOPMISMATCH = "InvalidParameter.NextHopMismatch" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_NETDETECTINVPC = "InvalidParameterValue.NetDetectInVpc" -// INVALIDPARAMETERVALUE_NETDETECTNOTFOUNDIP = "InvalidParameterValue.NetDetectNotFoundIp" -// INVALIDPARAMETERVALUE_NETDETECTSAMEIP = "InvalidParameterValue.NetDetectSameIp" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" -// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_NEXTHOPMISMATCH = "InvalidParameter.NextHopMismatch" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_NETDETECTINVPC = "InvalidParameterValue.NetDetectInVpc" +// INVALIDPARAMETERVALUE_NETDETECTNOTFOUNDIP = "InvalidParameterValue.NetDetectNotFoundIp" +// INVALIDPARAMETERVALUE_NETDETECTSAMEIP = "InvalidParameterValue.NetDetectSameIp" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" +// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) CheckNetDetectState(request *CheckNetDetectStateRequest) (response *CheckNetDetectStateResponse, err error) { if request == nil { request = NewCheckNetDetectStateRequest() @@ -1662,20 +1703,21 @@ func (c *Client) CheckNetDetectState(request *CheckNetDetectStateRequest) (respo // 本接口(CheckNetDetectState)用于验证网络探测。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_NEXTHOPMISMATCH = "InvalidParameter.NextHopMismatch" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_NETDETECTINVPC = "InvalidParameterValue.NetDetectInVpc" -// INVALIDPARAMETERVALUE_NETDETECTNOTFOUNDIP = "InvalidParameterValue.NetDetectNotFoundIp" -// INVALIDPARAMETERVALUE_NETDETECTSAMEIP = "InvalidParameterValue.NetDetectSameIp" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" -// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_NEXTHOPMISMATCH = "InvalidParameter.NextHopMismatch" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_NETDETECTINVPC = "InvalidParameterValue.NetDetectInVpc" +// INVALIDPARAMETERVALUE_NETDETECTNOTFOUNDIP = "InvalidParameterValue.NetDetectNotFoundIp" +// INVALIDPARAMETERVALUE_NETDETECTSAMEIP = "InvalidParameterValue.NetDetectSameIp" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" +// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) CheckNetDetectStateWithContext(ctx context.Context, request *CheckNetDetectStateRequest) (response *CheckNetDetectStateResponse, err error) { if request == nil { request = NewCheckNetDetectStateRequest() @@ -1707,11 +1749,12 @@ func NewCloneSecurityGroupResponse() (response *CloneSecurityGroupResponse) { // 本接口(CloneSecurityGroup)用于根据存量的安全组,克隆创建出同样规则配置的安全组。仅克隆安全组及其规则信息,不会克隆安全组标签信息。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CloneSecurityGroup(request *CloneSecurityGroupRequest) (response *CloneSecurityGroupResponse, err error) { if request == nil { request = NewCloneSecurityGroupRequest() @@ -1726,11 +1769,12 @@ func (c *Client) CloneSecurityGroup(request *CloneSecurityGroupRequest) (respons // 本接口(CloneSecurityGroup)用于根据存量的安全组,克隆创建出同样规则配置的安全组。仅克隆安全组及其规则信息,不会克隆安全组标签信息。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CloneSecurityGroupWithContext(ctx context.Context, request *CloneSecurityGroupRequest) (response *CloneSecurityGroupResponse, err error) { if request == nil { request = NewCloneSecurityGroupRequest() @@ -1762,11 +1806,12 @@ func NewCreateAddressTemplateResponse() (response *CreateAddressTemplateResponse // 本接口(CreateAddressTemplate)用于创建IP地址模版 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" func (c *Client) CreateAddressTemplate(request *CreateAddressTemplateRequest) (response *CreateAddressTemplateResponse, err error) { if request == nil { request = NewCreateAddressTemplateRequest() @@ -1781,11 +1826,12 @@ func (c *Client) CreateAddressTemplate(request *CreateAddressTemplateRequest) (r // 本接口(CreateAddressTemplate)用于创建IP地址模版 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" func (c *Client) CreateAddressTemplateWithContext(ctx context.Context, request *CreateAddressTemplateRequest) (response *CreateAddressTemplateResponse, err error) { if request == nil { request = NewCreateAddressTemplateRequest() @@ -1817,10 +1863,11 @@ func NewCreateAddressTemplateGroupResponse() (response *CreateAddressTemplateGro // 本接口(CreateAddressTemplateGroup)用于创建IP地址模版集合 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) CreateAddressTemplateGroup(request *CreateAddressTemplateGroupRequest) (response *CreateAddressTemplateGroupResponse, err error) { if request == nil { request = NewCreateAddressTemplateGroupRequest() @@ -1835,10 +1882,11 @@ func (c *Client) CreateAddressTemplateGroup(request *CreateAddressTemplateGroupR // 本接口(CreateAddressTemplateGroup)用于创建IP地址模版集合 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) CreateAddressTemplateGroupWithContext(ctx context.Context, request *CreateAddressTemplateGroupRequest) (response *CreateAddressTemplateGroupResponse, err error) { if request == nil { request = NewCreateAddressTemplateGroupRequest() @@ -1884,18 +1932,19 @@ func NewCreateAndAttachNetworkInterfaceResponse() (response *CreateAndAttachNetw // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_UNSUPPORTEDINSTANCEFAMILY = "UnsupportedOperation.UnsupportedInstanceFamily" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_UNSUPPORTEDINSTANCEFAMILY = "UnsupportedOperation.UnsupportedInstanceFamily" func (c *Client) CreateAndAttachNetworkInterface(request *CreateAndAttachNetworkInterfaceRequest) (response *CreateAndAttachNetworkInterfaceResponse, err error) { if request == nil { request = NewCreateAndAttachNetworkInterfaceRequest() @@ -1924,18 +1973,19 @@ func (c *Client) CreateAndAttachNetworkInterface(request *CreateAndAttachNetwork // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_UNSUPPORTEDINSTANCEFAMILY = "UnsupportedOperation.UnsupportedInstanceFamily" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_UNSUPPORTEDINSTANCEFAMILY = "UnsupportedOperation.UnsupportedInstanceFamily" func (c *Client) CreateAndAttachNetworkInterfaceWithContext(ctx context.Context, request *CreateAndAttachNetworkInterfaceRequest) (response *CreateAndAttachNetworkInterfaceResponse, err error) { if request == nil { request = NewCreateAndAttachNetworkInterfaceRequest() @@ -1967,15 +2017,16 @@ func NewCreateAssistantCidrResponse() (response *CreateAssistantCidrResponse) { // 本接口(CreateAssistantCidr)用于批量创建辅助CIDR。(接口灰度中,如需使用请提工单。) // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" -// INVALIDPARAMETERVALUE_SUBNETOVERLAPASSISTCIDR = "InvalidParameterValue.SubnetOverlapAssistCidr" -// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" +// INVALIDPARAMETERVALUE_SUBNETOVERLAPASSISTCIDR = "InvalidParameterValue.SubnetOverlapAssistCidr" +// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateAssistantCidr(request *CreateAssistantCidrRequest) (response *CreateAssistantCidrResponse, err error) { if request == nil { request = NewCreateAssistantCidrRequest() @@ -1990,15 +2041,16 @@ func (c *Client) CreateAssistantCidr(request *CreateAssistantCidrRequest) (respo // 本接口(CreateAssistantCidr)用于批量创建辅助CIDR。(接口灰度中,如需使用请提工单。) // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" -// INVALIDPARAMETERVALUE_SUBNETOVERLAPASSISTCIDR = "InvalidParameterValue.SubnetOverlapAssistCidr" -// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" +// INVALIDPARAMETERVALUE_SUBNETOVERLAPASSISTCIDR = "InvalidParameterValue.SubnetOverlapAssistCidr" +// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateAssistantCidrWithContext(ctx context.Context, request *CreateAssistantCidrRequest) (response *CreateAssistantCidrResponse, err error) { if request == nil { request = NewCreateAssistantCidrRequest() @@ -2030,15 +2082,16 @@ func NewCreateBandwidthPackageResponse() (response *CreateBandwidthPackageRespon // 本接口 (CreateBandwidthPackage) 支持创建[设备带宽包](https://cloud.tencent.com/document/product/684/15245#bwptype)和[IP带宽包](https://cloud.tencent.com/document/product/684/15245#bwptype)。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" -// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_TAGNOTEXISTED = "InvalidParameterValue.TagNotExisted" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" -// UNSUPPORTEDOPERATION_INVALIDRESOURCEINTERNETCHARGETYPE = "UnsupportedOperation.InvalidResourceInternetChargeType" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" +// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_TAGNOTEXISTED = "InvalidParameterValue.TagNotExisted" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" +// UNSUPPORTEDOPERATION_INVALIDRESOURCEINTERNETCHARGETYPE = "UnsupportedOperation.InvalidResourceInternetChargeType" func (c *Client) CreateBandwidthPackage(request *CreateBandwidthPackageRequest) (response *CreateBandwidthPackageResponse, err error) { if request == nil { request = NewCreateBandwidthPackageRequest() @@ -2053,15 +2106,16 @@ func (c *Client) CreateBandwidthPackage(request *CreateBandwidthPackageRequest) // 本接口 (CreateBandwidthPackage) 支持创建[设备带宽包](https://cloud.tencent.com/document/product/684/15245#bwptype)和[IP带宽包](https://cloud.tencent.com/document/product/684/15245#bwptype)。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" -// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_TAGNOTEXISTED = "InvalidParameterValue.TagNotExisted" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" -// UNSUPPORTEDOPERATION_INVALIDRESOURCEINTERNETCHARGETYPE = "UnsupportedOperation.InvalidResourceInternetChargeType" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" +// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_TAGNOTEXISTED = "InvalidParameterValue.TagNotExisted" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" +// UNSUPPORTEDOPERATION_INVALIDRESOURCEINTERNETCHARGETYPE = "UnsupportedOperation.InvalidResourceInternetChargeType" func (c *Client) CreateBandwidthPackageWithContext(ctx context.Context, request *CreateBandwidthPackageRequest) (response *CreateBandwidthPackageResponse, err error) { if request == nil { request = NewCreateBandwidthPackageRequest() @@ -2097,17 +2151,18 @@ func NewCreateCcnResponse() (response *CreateCcnResponse) { // 每个账号能创建的云联网实例个数是有限的,详请参考产品文档。如果需要扩充请联系在线客服。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" -// UNSUPPORTEDOPERATION_PREPAIDCCNONLYSUPPORTINTERREGIONLIMIT = "UnsupportedOperation.PrepaidCcnOnlySupportInterRegionLimit" -// UNSUPPORTEDOPERATION_USERANDCCNCHARGETYPENOTMATCH = "UnsupportedOperation.UserAndCcnChargeTypeNotMatch" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" +// UNSUPPORTEDOPERATION_PREPAIDCCNONLYSUPPORTINTERREGIONLIMIT = "UnsupportedOperation.PrepaidCcnOnlySupportInterRegionLimit" +// UNSUPPORTEDOPERATION_USERANDCCNCHARGETYPENOTMATCH = "UnsupportedOperation.UserAndCcnChargeTypeNotMatch" func (c *Client) CreateCcn(request *CreateCcnRequest) (response *CreateCcnResponse, err error) { if request == nil { request = NewCreateCcnRequest() @@ -2126,17 +2181,18 @@ func (c *Client) CreateCcn(request *CreateCcnRequest) (response *CreateCcnRespon // 每个账号能创建的云联网实例个数是有限的,详请参考产品文档。如果需要扩充请联系在线客服。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" -// UNSUPPORTEDOPERATION_PREPAIDCCNONLYSUPPORTINTERREGIONLIMIT = "UnsupportedOperation.PrepaidCcnOnlySupportInterRegionLimit" -// UNSUPPORTEDOPERATION_USERANDCCNCHARGETYPENOTMATCH = "UnsupportedOperation.UserAndCcnChargeTypeNotMatch" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" +// UNSUPPORTEDOPERATION_PREPAIDCCNONLYSUPPORTINTERREGIONLIMIT = "UnsupportedOperation.PrepaidCcnOnlySupportInterRegionLimit" +// UNSUPPORTEDOPERATION_USERANDCCNCHARGETYPENOTMATCH = "UnsupportedOperation.UserAndCcnChargeTypeNotMatch" func (c *Client) CreateCcnWithContext(ctx context.Context, request *CreateCcnRequest) (response *CreateCcnResponse, err error) { if request == nil { request = NewCreateCcnRequest() @@ -2168,10 +2224,11 @@ func NewCreateCustomerGatewayResponse() (response *CreateCustomerGatewayResponse // 本接口(CreateCustomerGateway)用于创建对端网关。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// VPCLIMITEXCEEDED = "VpcLimitExceeded" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// VPCLIMITEXCEEDED = "VpcLimitExceeded" func (c *Client) CreateCustomerGateway(request *CreateCustomerGatewayRequest) (response *CreateCustomerGatewayResponse, err error) { if request == nil { request = NewCreateCustomerGatewayRequest() @@ -2186,10 +2243,11 @@ func (c *Client) CreateCustomerGateway(request *CreateCustomerGatewayRequest) (r // 本接口(CreateCustomerGateway)用于创建对端网关。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// VPCLIMITEXCEEDED = "VpcLimitExceeded" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// VPCLIMITEXCEEDED = "VpcLimitExceeded" func (c *Client) CreateCustomerGatewayWithContext(ctx context.Context, request *CreateCustomerGatewayRequest) (response *CreateCustomerGatewayResponse, err error) { if request == nil { request = NewCreateCustomerGatewayRequest() @@ -2227,9 +2285,10 @@ func NewCreateDefaultSecurityGroupResponse() (response *CreateDefaultSecurityGro // * 创建安全组同时可以绑定标签, 应答里的标签列表代表添加成功的标签。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateDefaultSecurityGroup(request *CreateDefaultSecurityGroupRequest) (response *CreateDefaultSecurityGroupResponse, err error) { if request == nil { request = NewCreateDefaultSecurityGroupRequest() @@ -2250,9 +2309,10 @@ func (c *Client) CreateDefaultSecurityGroup(request *CreateDefaultSecurityGroupR // * 创建安全组同时可以绑定标签, 应答里的标签列表代表添加成功的标签。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateDefaultSecurityGroupWithContext(ctx context.Context, request *CreateDefaultSecurityGroupRequest) (response *CreateDefaultSecurityGroupResponse, err error) { if request == nil { request = NewCreateDefaultSecurityGroupRequest() @@ -2283,27 +2343,22 @@ func NewCreateDefaultVpcResponse() (response *CreateDefaultVpcResponse) { // CreateDefaultVpc // 本接口(CreateDefaultVpc)用于创建默认私有网络(VPC)。 // -// -// // 默认VPC适用于快速入门和启动公共实例,您可以像使用任何其他VPC一样使用默认VPC。如果您想创建标准VPC,即指定VPC名称、VPC网段、子网网段、子网可用区,请使用常规创建VPC接口(CreateVpc) // -// -// // 正常情况,本接口并不一定生产默认VPC,而是根据用户账号的网络属性(DescribeAccountAttributes)来决定的 // // * 支持基础网络、VPC,返回VpcId为0 // // * 只支持VPC,返回默认VPC信息 // -// -// // 您也可以通过 Force 参数,强制返回默认VPC // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINSUFFICIENT_CIDRBLOCK = "ResourceInsufficient.CidrBlock" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINSUFFICIENT_CIDRBLOCK = "ResourceInsufficient.CidrBlock" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateDefaultVpc(request *CreateDefaultVpcRequest) (response *CreateDefaultVpcResponse, err error) { if request == nil { request = NewCreateDefaultVpcRequest() @@ -2317,27 +2372,22 @@ func (c *Client) CreateDefaultVpc(request *CreateDefaultVpcRequest) (response *C // CreateDefaultVpc // 本接口(CreateDefaultVpc)用于创建默认私有网络(VPC)。 // -// -// // 默认VPC适用于快速入门和启动公共实例,您可以像使用任何其他VPC一样使用默认VPC。如果您想创建标准VPC,即指定VPC名称、VPC网段、子网网段、子网可用区,请使用常规创建VPC接口(CreateVpc) // -// -// // 正常情况,本接口并不一定生产默认VPC,而是根据用户账号的网络属性(DescribeAccountAttributes)来决定的 // // * 支持基础网络、VPC,返回VpcId为0 // // * 只支持VPC,返回默认VPC信息 // -// -// // 您也可以通过 Force 参数,强制返回默认VPC // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINSUFFICIENT_CIDRBLOCK = "ResourceInsufficient.CidrBlock" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINSUFFICIENT_CIDRBLOCK = "ResourceInsufficient.CidrBlock" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateDefaultVpcWithContext(ctx context.Context, request *CreateDefaultVpcRequest) (response *CreateDefaultVpcResponse, err error) { if request == nil { request = NewCreateDefaultVpcRequest() @@ -2369,14 +2419,15 @@ func NewCreateDhcpIpResponse() (response *CreateDhcpIpResponse) { // 本接口(CreateDhcpIp)用于创建DhcpIp // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateDhcpIp(request *CreateDhcpIpRequest) (response *CreateDhcpIpResponse, err error) { if request == nil { request = NewCreateDhcpIpRequest() @@ -2391,14 +2442,15 @@ func (c *Client) CreateDhcpIp(request *CreateDhcpIpRequest) (response *CreateDhc // 本接口(CreateDhcpIp)用于创建DhcpIp // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateDhcpIpWithContext(ctx context.Context, request *CreateDhcpIpRequest) (response *CreateDhcpIpResponse, err error) { if request == nil { request = NewCreateDhcpIpRequest() @@ -2430,11 +2482,12 @@ func NewCreateDirectConnectGatewayResponse() (response *CreateDirectConnectGatew // 本接口(CreateDirectConnectGateway)用于创建专线网关。 // // 可能返回的错误码: -// INVALIDPARAMETER_VPGHAGROUPNOTFOUND = "InvalidParameter.VpgHaGroupNotFound" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_UNABLECROSSBORDER = "UnsupportedOperation.UnableCrossBorder" +// +// INVALIDPARAMETER_VPGHAGROUPNOTFOUND = "InvalidParameter.VpgHaGroupNotFound" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_UNABLECROSSBORDER = "UnsupportedOperation.UnableCrossBorder" func (c *Client) CreateDirectConnectGateway(request *CreateDirectConnectGatewayRequest) (response *CreateDirectConnectGatewayResponse, err error) { if request == nil { request = NewCreateDirectConnectGatewayRequest() @@ -2449,11 +2502,12 @@ func (c *Client) CreateDirectConnectGateway(request *CreateDirectConnectGatewayR // 本接口(CreateDirectConnectGateway)用于创建专线网关。 // // 可能返回的错误码: -// INVALIDPARAMETER_VPGHAGROUPNOTFOUND = "InvalidParameter.VpgHaGroupNotFound" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_UNABLECROSSBORDER = "UnsupportedOperation.UnableCrossBorder" +// +// INVALIDPARAMETER_VPGHAGROUPNOTFOUND = "InvalidParameter.VpgHaGroupNotFound" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_UNABLECROSSBORDER = "UnsupportedOperation.UnableCrossBorder" func (c *Client) CreateDirectConnectGatewayWithContext(ctx context.Context, request *CreateDirectConnectGatewayRequest) (response *CreateDirectConnectGatewayResponse, err error) { if request == nil { request = NewCreateDirectConnectGatewayRequest() @@ -2485,9 +2539,10 @@ func NewCreateDirectConnectGatewayCcnRoutesResponse() (response *CreateDirectCon // 本接口(CreateDirectConnectGatewayCcnRoutes)用于创建专线网关的云联网路由(IDC网段) // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateDirectConnectGatewayCcnRoutes(request *CreateDirectConnectGatewayCcnRoutesRequest) (response *CreateDirectConnectGatewayCcnRoutesResponse, err error) { if request == nil { request = NewCreateDirectConnectGatewayCcnRoutesRequest() @@ -2502,9 +2557,10 @@ func (c *Client) CreateDirectConnectGatewayCcnRoutes(request *CreateDirectConnec // 本接口(CreateDirectConnectGatewayCcnRoutes)用于创建专线网关的云联网路由(IDC网段) // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateDirectConnectGatewayCcnRoutesWithContext(ctx context.Context, request *CreateDirectConnectGatewayCcnRoutesRequest) (response *CreateDirectConnectGatewayCcnRoutesResponse, err error) { if request == nil { request = NewCreateDirectConnectGatewayCcnRoutesRequest() @@ -2536,13 +2592,14 @@ func NewCreateFlowLogResponse() (response *CreateFlowLogResponse) { // 本接口(CreateFlowLog)用于创建流日志 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" func (c *Client) CreateFlowLog(request *CreateFlowLogRequest) (response *CreateFlowLogResponse, err error) { if request == nil { request = NewCreateFlowLogRequest() @@ -2557,13 +2614,14 @@ func (c *Client) CreateFlowLog(request *CreateFlowLogRequest) (response *CreateF // 本接口(CreateFlowLog)用于创建流日志 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" func (c *Client) CreateFlowLogWithContext(ctx context.Context, request *CreateFlowLogRequest) (response *CreateFlowLogResponse, err error) { if request == nil { request = NewCreateFlowLogRequest() @@ -2595,15 +2653,16 @@ func NewCreateHaVipResponse() (response *CreateHaVipResponse) { // 本接口(CreateHaVip)用于创建高可用虚拟IP(HAVIP) // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_INVALIDBUSINESS = "InvalidParameterValue.InvalidBusiness" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_INVALIDBUSINESS = "InvalidParameterValue.InvalidBusiness" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateHaVip(request *CreateHaVipRequest) (response *CreateHaVipResponse, err error) { if request == nil { request = NewCreateHaVipRequest() @@ -2618,15 +2677,16 @@ func (c *Client) CreateHaVip(request *CreateHaVipRequest) (response *CreateHaVip // 本接口(CreateHaVip)用于创建高可用虚拟IP(HAVIP) // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_INVALIDBUSINESS = "InvalidParameterValue.InvalidBusiness" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_INVALIDBUSINESS = "InvalidParameterValue.InvalidBusiness" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateHaVipWithContext(ctx context.Context, request *CreateHaVipRequest) (response *CreateHaVipResponse, err error) { if request == nil { request = NewCreateHaVipRequest() @@ -2660,8 +2720,9 @@ func NewCreateIp6TranslatorsResponse() (response *CreateIp6TranslatorsResponse) // 2. 同一个账户在一个地域最多允许创建10个转换实例 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" +// +// INTERNALSERVERERROR = "InternalServerError" +// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" func (c *Client) CreateIp6Translators(request *CreateIp6TranslatorsRequest) (response *CreateIp6TranslatorsResponse, err error) { if request == nil { request = NewCreateIp6TranslatorsRequest() @@ -2678,8 +2739,9 @@ func (c *Client) CreateIp6Translators(request *CreateIp6TranslatorsRequest) (res // 2. 同一个账户在一个地域最多允许创建10个转换实例 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" +// +// INTERNALSERVERERROR = "InternalServerError" +// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" func (c *Client) CreateIp6TranslatorsWithContext(ctx context.Context, request *CreateIp6TranslatorsRequest) (response *CreateIp6TranslatorsResponse, err error) { if request == nil { request = NewCreateIp6TranslatorsRequest() @@ -2711,13 +2773,14 @@ func NewCreateLocalGatewayResponse() (response *CreateLocalGatewayResponse) { // 该接口用于创建用于CDC的本地网关。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_LOCALGATEWAYALREADYEXISTS = "UnsupportedOperation.LocalGatewayAlreadyExists" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_LOCALGATEWAYALREADYEXISTS = "UnsupportedOperation.LocalGatewayAlreadyExists" func (c *Client) CreateLocalGateway(request *CreateLocalGatewayRequest) (response *CreateLocalGatewayResponse, err error) { if request == nil { request = NewCreateLocalGatewayRequest() @@ -2732,13 +2795,14 @@ func (c *Client) CreateLocalGateway(request *CreateLocalGatewayRequest) (respons // 该接口用于创建用于CDC的本地网关。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_LOCALGATEWAYALREADYEXISTS = "UnsupportedOperation.LocalGatewayAlreadyExists" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_LOCALGATEWAYALREADYEXISTS = "UnsupportedOperation.LocalGatewayAlreadyExists" func (c *Client) CreateLocalGatewayWithContext(ctx context.Context, request *CreateLocalGatewayRequest) (response *CreateLocalGatewayResponse, err error) { if request == nil { request = NewCreateLocalGatewayRequest() @@ -2772,30 +2836,31 @@ func NewCreateNatGatewayResponse() (response *CreateNatGatewayResponse) { // 在对新建的NAT网关做其他操作前,需先确认此网关已被创建完成(DescribeNatGateway接口返回的实例State字段为AVAILABLE)。 // // 可能返回的错误码: -// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDADDRESSSTATE = "InvalidAddressState" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDVPCID_MALFORMED = "InvalidVpcId.Malformed" -// INVALIDVPCID_NOTFOUND = "InvalidVpcId.NotFound" -// LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" -// LIMITEXCEEDED_DAILYALLOCATEADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.DailyAllocateAddressQuotaLimitExceeded" -// LIMITEXCEEDED_NATGATEWAYPERVPCLIMITEXCEEDED = "LimitExceeded.NatGatewayPerVpcLimitExceeded" -// LIMITEXCEEDED_PUBLICIPADDRESSPERNATGATEWAYLIMITEXCEEDED = "LimitExceeded.PublicIpAddressPerNatGatewayLimitExceeded" -// RESOURCEINUSE_ADDRESS = "ResourceInUse.Address" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTBGPIP = "UnsupportedOperation.PublicIpAddressIsNotBGPIp" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTEXISTED = "UnsupportedOperation.PublicIpAddressIsNotExisted" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSNOTBILLEDBYTRAFFIC = "UnsupportedOperation.PublicIpAddressNotBilledByTraffic" +// +// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDADDRESSSTATE = "InvalidAddressState" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDVPCID_MALFORMED = "InvalidVpcId.Malformed" +// INVALIDVPCID_NOTFOUND = "InvalidVpcId.NotFound" +// LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" +// LIMITEXCEEDED_DAILYALLOCATEADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.DailyAllocateAddressQuotaLimitExceeded" +// LIMITEXCEEDED_NATGATEWAYPERVPCLIMITEXCEEDED = "LimitExceeded.NatGatewayPerVpcLimitExceeded" +// LIMITEXCEEDED_PUBLICIPADDRESSPERNATGATEWAYLIMITEXCEEDED = "LimitExceeded.PublicIpAddressPerNatGatewayLimitExceeded" +// RESOURCEINUSE_ADDRESS = "ResourceInUse.Address" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTBGPIP = "UnsupportedOperation.PublicIpAddressIsNotBGPIp" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTEXISTED = "UnsupportedOperation.PublicIpAddressIsNotExisted" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSNOTBILLEDBYTRAFFIC = "UnsupportedOperation.PublicIpAddressNotBilledByTraffic" func (c *Client) CreateNatGateway(request *CreateNatGatewayRequest) (response *CreateNatGatewayResponse, err error) { if request == nil { request = NewCreateNatGatewayRequest() @@ -2812,30 +2877,31 @@ func (c *Client) CreateNatGateway(request *CreateNatGatewayRequest) (response *C // 在对新建的NAT网关做其他操作前,需先确认此网关已被创建完成(DescribeNatGateway接口返回的实例State字段为AVAILABLE)。 // // 可能返回的错误码: -// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDADDRESSSTATE = "InvalidAddressState" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDVPCID_MALFORMED = "InvalidVpcId.Malformed" -// INVALIDVPCID_NOTFOUND = "InvalidVpcId.NotFound" -// LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" -// LIMITEXCEEDED_DAILYALLOCATEADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.DailyAllocateAddressQuotaLimitExceeded" -// LIMITEXCEEDED_NATGATEWAYPERVPCLIMITEXCEEDED = "LimitExceeded.NatGatewayPerVpcLimitExceeded" -// LIMITEXCEEDED_PUBLICIPADDRESSPERNATGATEWAYLIMITEXCEEDED = "LimitExceeded.PublicIpAddressPerNatGatewayLimitExceeded" -// RESOURCEINUSE_ADDRESS = "ResourceInUse.Address" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTBGPIP = "UnsupportedOperation.PublicIpAddressIsNotBGPIp" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTEXISTED = "UnsupportedOperation.PublicIpAddressIsNotExisted" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSNOTBILLEDBYTRAFFIC = "UnsupportedOperation.PublicIpAddressNotBilledByTraffic" +// +// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDADDRESSSTATE = "InvalidAddressState" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDVPCID_MALFORMED = "InvalidVpcId.Malformed" +// INVALIDVPCID_NOTFOUND = "InvalidVpcId.NotFound" +// LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" +// LIMITEXCEEDED_DAILYALLOCATEADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.DailyAllocateAddressQuotaLimitExceeded" +// LIMITEXCEEDED_NATGATEWAYPERVPCLIMITEXCEEDED = "LimitExceeded.NatGatewayPerVpcLimitExceeded" +// LIMITEXCEEDED_PUBLICIPADDRESSPERNATGATEWAYLIMITEXCEEDED = "LimitExceeded.PublicIpAddressPerNatGatewayLimitExceeded" +// RESOURCEINUSE_ADDRESS = "ResourceInUse.Address" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTBGPIP = "UnsupportedOperation.PublicIpAddressIsNotBGPIp" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTEXISTED = "UnsupportedOperation.PublicIpAddressIsNotExisted" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSNOTBILLEDBYTRAFFIC = "UnsupportedOperation.PublicIpAddressNotBilledByTraffic" func (c *Client) CreateNatGatewayWithContext(ctx context.Context, request *CreateNatGatewayRequest) (response *CreateNatGatewayResponse, err error) { if request == nil { request = NewCreateNatGatewayRequest() @@ -2867,30 +2933,31 @@ func NewCreateNatGatewayDestinationIpPortTranslationNatRuleResponse() (response // 本接口(CreateNatGatewayDestinationIpPortTranslationNatRule)用于创建NAT网关端口转发规则。 // // 可能返回的错误码: -// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDADDRESSSTATE = "InvalidAddressState" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDVPCID_MALFORMED = "InvalidVpcId.Malformed" -// INVALIDVPCID_NOTFOUND = "InvalidVpcId.NotFound" -// LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" -// LIMITEXCEEDED_DAILYALLOCATEADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.DailyAllocateAddressQuotaLimitExceeded" -// LIMITEXCEEDED_NATGATEWAYPERVPCLIMITEXCEEDED = "LimitExceeded.NatGatewayPerVpcLimitExceeded" -// LIMITEXCEEDED_PUBLICIPADDRESSPERNATGATEWAYLIMITEXCEEDED = "LimitExceeded.PublicIpAddressPerNatGatewayLimitExceeded" -// RESOURCEINUSE_ADDRESS = "ResourceInUse.Address" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTBGPIP = "UnsupportedOperation.PublicIpAddressIsNotBGPIp" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTEXISTED = "UnsupportedOperation.PublicIpAddressIsNotExisted" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSNOTBILLEDBYTRAFFIC = "UnsupportedOperation.PublicIpAddressNotBilledByTraffic" +// +// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDADDRESSSTATE = "InvalidAddressState" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDVPCID_MALFORMED = "InvalidVpcId.Malformed" +// INVALIDVPCID_NOTFOUND = "InvalidVpcId.NotFound" +// LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" +// LIMITEXCEEDED_DAILYALLOCATEADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.DailyAllocateAddressQuotaLimitExceeded" +// LIMITEXCEEDED_NATGATEWAYPERVPCLIMITEXCEEDED = "LimitExceeded.NatGatewayPerVpcLimitExceeded" +// LIMITEXCEEDED_PUBLICIPADDRESSPERNATGATEWAYLIMITEXCEEDED = "LimitExceeded.PublicIpAddressPerNatGatewayLimitExceeded" +// RESOURCEINUSE_ADDRESS = "ResourceInUse.Address" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTBGPIP = "UnsupportedOperation.PublicIpAddressIsNotBGPIp" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTEXISTED = "UnsupportedOperation.PublicIpAddressIsNotExisted" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSNOTBILLEDBYTRAFFIC = "UnsupportedOperation.PublicIpAddressNotBilledByTraffic" func (c *Client) CreateNatGatewayDestinationIpPortTranslationNatRule(request *CreateNatGatewayDestinationIpPortTranslationNatRuleRequest) (response *CreateNatGatewayDestinationIpPortTranslationNatRuleResponse, err error) { if request == nil { request = NewCreateNatGatewayDestinationIpPortTranslationNatRuleRequest() @@ -2905,30 +2972,31 @@ func (c *Client) CreateNatGatewayDestinationIpPortTranslationNatRule(request *Cr // 本接口(CreateNatGatewayDestinationIpPortTranslationNatRule)用于创建NAT网关端口转发规则。 // // 可能返回的错误码: -// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDADDRESSSTATE = "InvalidAddressState" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDVPCID_MALFORMED = "InvalidVpcId.Malformed" -// INVALIDVPCID_NOTFOUND = "InvalidVpcId.NotFound" -// LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" -// LIMITEXCEEDED_DAILYALLOCATEADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.DailyAllocateAddressQuotaLimitExceeded" -// LIMITEXCEEDED_NATGATEWAYPERVPCLIMITEXCEEDED = "LimitExceeded.NatGatewayPerVpcLimitExceeded" -// LIMITEXCEEDED_PUBLICIPADDRESSPERNATGATEWAYLIMITEXCEEDED = "LimitExceeded.PublicIpAddressPerNatGatewayLimitExceeded" -// RESOURCEINUSE_ADDRESS = "ResourceInUse.Address" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTBGPIP = "UnsupportedOperation.PublicIpAddressIsNotBGPIp" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTEXISTED = "UnsupportedOperation.PublicIpAddressIsNotExisted" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSNOTBILLEDBYTRAFFIC = "UnsupportedOperation.PublicIpAddressNotBilledByTraffic" +// +// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDADDRESSSTATE = "InvalidAddressState" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDVPCID_MALFORMED = "InvalidVpcId.Malformed" +// INVALIDVPCID_NOTFOUND = "InvalidVpcId.NotFound" +// LIMITEXCEEDED_ADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.AddressQuotaLimitExceeded" +// LIMITEXCEEDED_DAILYALLOCATEADDRESSQUOTALIMITEXCEEDED = "LimitExceeded.DailyAllocateAddressQuotaLimitExceeded" +// LIMITEXCEEDED_NATGATEWAYPERVPCLIMITEXCEEDED = "LimitExceeded.NatGatewayPerVpcLimitExceeded" +// LIMITEXCEEDED_PUBLICIPADDRESSPERNATGATEWAYLIMITEXCEEDED = "LimitExceeded.PublicIpAddressPerNatGatewayLimitExceeded" +// RESOURCEINUSE_ADDRESS = "ResourceInUse.Address" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTBGPIP = "UnsupportedOperation.PublicIpAddressIsNotBGPIp" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSISNOTEXISTED = "UnsupportedOperation.PublicIpAddressIsNotExisted" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSNOTBILLEDBYTRAFFIC = "UnsupportedOperation.PublicIpAddressNotBilledByTraffic" func (c *Client) CreateNatGatewayDestinationIpPortTranslationNatRuleWithContext(ctx context.Context, request *CreateNatGatewayDestinationIpPortTranslationNatRuleRequest) (response *CreateNatGatewayDestinationIpPortTranslationNatRuleResponse, err error) { if request == nil { request = NewCreateNatGatewayDestinationIpPortTranslationNatRuleRequest() @@ -2960,14 +3028,15 @@ func NewCreateNatGatewaySourceIpTranslationNatRuleResponse() (response *CreateNa // 本接口(CreateNatGatewaySourceIpTranslationNatRule)用于创建NAT网关SNAT规则 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_NATSNATRULEEXISTS = "InvalidParameterValue.NatSnatRuleExists" -// LIMITEXCEEDED = "LimitExceeded" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION_NATGATEWAYTYPENOTSUPPORTSNAT = "UnsupportedOperation.NatGatewayTypeNotSupportSNAT" +// +// INTERNALERROR = "InternalError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_NATSNATRULEEXISTS = "InvalidParameterValue.NatSnatRuleExists" +// LIMITEXCEEDED = "LimitExceeded" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION_NATGATEWAYTYPENOTSUPPORTSNAT = "UnsupportedOperation.NatGatewayTypeNotSupportSNAT" func (c *Client) CreateNatGatewaySourceIpTranslationNatRule(request *CreateNatGatewaySourceIpTranslationNatRuleRequest) (response *CreateNatGatewaySourceIpTranslationNatRuleResponse, err error) { if request == nil { request = NewCreateNatGatewaySourceIpTranslationNatRuleRequest() @@ -2982,14 +3051,15 @@ func (c *Client) CreateNatGatewaySourceIpTranslationNatRule(request *CreateNatGa // 本接口(CreateNatGatewaySourceIpTranslationNatRule)用于创建NAT网关SNAT规则 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_NATSNATRULEEXISTS = "InvalidParameterValue.NatSnatRuleExists" -// LIMITEXCEEDED = "LimitExceeded" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION_NATGATEWAYTYPENOTSUPPORTSNAT = "UnsupportedOperation.NatGatewayTypeNotSupportSNAT" +// +// INTERNALERROR = "InternalError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_NATSNATRULEEXISTS = "InvalidParameterValue.NatSnatRuleExists" +// LIMITEXCEEDED = "LimitExceeded" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION_NATGATEWAYTYPENOTSUPPORTSNAT = "UnsupportedOperation.NatGatewayTypeNotSupportSNAT" func (c *Client) CreateNatGatewaySourceIpTranslationNatRuleWithContext(ctx context.Context, request *CreateNatGatewaySourceIpTranslationNatRuleRequest) (response *CreateNatGatewaySourceIpTranslationNatRuleResponse, err error) { if request == nil { request = NewCreateNatGatewaySourceIpTranslationNatRuleRequest() @@ -3021,20 +3091,21 @@ func NewCreateNetDetectResponse() (response *CreateNetDetectResponse) { // 本接口(CreateNetDetect)用于创建网络探测。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_NEXTHOPMISMATCH = "InvalidParameter.NextHopMismatch" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_NETDETECTINVPC = "InvalidParameterValue.NetDetectInVpc" -// INVALIDPARAMETERVALUE_NETDETECTNOTFOUNDIP = "InvalidParameterValue.NetDetectNotFoundIp" -// INVALIDPARAMETERVALUE_NETDETECTSAMEIP = "InvalidParameterValue.NetDetectSameIp" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" -// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_NEXTHOPMISMATCH = "InvalidParameter.NextHopMismatch" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_NETDETECTINVPC = "InvalidParameterValue.NetDetectInVpc" +// INVALIDPARAMETERVALUE_NETDETECTNOTFOUNDIP = "InvalidParameterValue.NetDetectNotFoundIp" +// INVALIDPARAMETERVALUE_NETDETECTSAMEIP = "InvalidParameterValue.NetDetectSameIp" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" +// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) CreateNetDetect(request *CreateNetDetectRequest) (response *CreateNetDetectResponse, err error) { if request == nil { request = NewCreateNetDetectRequest() @@ -3049,20 +3120,21 @@ func (c *Client) CreateNetDetect(request *CreateNetDetectRequest) (response *Cre // 本接口(CreateNetDetect)用于创建网络探测。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_NEXTHOPMISMATCH = "InvalidParameter.NextHopMismatch" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_NETDETECTINVPC = "InvalidParameterValue.NetDetectInVpc" -// INVALIDPARAMETERVALUE_NETDETECTNOTFOUNDIP = "InvalidParameterValue.NetDetectNotFoundIp" -// INVALIDPARAMETERVALUE_NETDETECTSAMEIP = "InvalidParameterValue.NetDetectSameIp" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" -// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_NEXTHOPMISMATCH = "InvalidParameter.NextHopMismatch" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_NETDETECTINVPC = "InvalidParameterValue.NetDetectInVpc" +// INVALIDPARAMETERVALUE_NETDETECTNOTFOUNDIP = "InvalidParameterValue.NetDetectNotFoundIp" +// INVALIDPARAMETERVALUE_NETDETECTSAMEIP = "InvalidParameterValue.NetDetectSameIp" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" +// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) CreateNetDetectWithContext(ctx context.Context, request *CreateNetDetectRequest) (response *CreateNetDetectResponse, err error) { if request == nil { request = NewCreateNetDetectRequest() @@ -3096,11 +3168,12 @@ func NewCreateNetworkAclResponse() (response *CreateNetworkAclResponse) { // * 新建的网络ACL的入站和出站规则默认都是全部拒绝,在创建后通常您需要再调用ModifyNetworkAclEntries将网络ACL的规则设置为需要的规则。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateNetworkAcl(request *CreateNetworkAclRequest) (response *CreateNetworkAclResponse, err error) { if request == nil { request = NewCreateNetworkAclRequest() @@ -3117,11 +3190,12 @@ func (c *Client) CreateNetworkAcl(request *CreateNetworkAclRequest) (response *C // * 新建的网络ACL的入站和出站规则默认都是全部拒绝,在创建后通常您需要再调用ModifyNetworkAclEntries将网络ACL的规则设置为需要的规则。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateNetworkAclWithContext(ctx context.Context, request *CreateNetworkAclRequest) (response *CreateNetworkAclResponse, err error) { if request == nil { request = NewCreateNetworkAclRequest() @@ -3167,18 +3241,19 @@ func NewCreateNetworkInterfaceResponse() (response *CreateNetworkInterfaceRespon // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateNetworkInterface(request *CreateNetworkInterfaceRequest) (response *CreateNetworkInterfaceResponse, err error) { if request == nil { request = NewCreateNetworkInterfaceRequest() @@ -3207,18 +3282,19 @@ func (c *Client) CreateNetworkInterface(request *CreateNetworkInterfaceRequest) // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateNetworkInterfaceWithContext(ctx context.Context, request *CreateNetworkInterfaceRequest) (response *CreateNetworkInterfaceResponse, err error) { if request == nil { request = NewCreateNetworkInterfaceRequest() @@ -3254,13 +3330,14 @@ func NewCreateRouteTableResponse() (response *CreateRouteTableResponse) { // * 创建路由表同时可以绑定标签, 应答里的标签列表代表添加成功的标签。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateRouteTable(request *CreateRouteTableRequest) (response *CreateRouteTableResponse, err error) { if request == nil { request = NewCreateRouteTableRequest() @@ -3279,13 +3356,14 @@ func (c *Client) CreateRouteTable(request *CreateRouteTableRequest) (response *C // * 创建路由表同时可以绑定标签, 应答里的标签列表代表添加成功的标签。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateRouteTableWithContext(ctx context.Context, request *CreateRouteTableRequest) (response *CreateRouteTableResponse, err error) { if request == nil { request = NewCreateRouteTableRequest() @@ -3319,22 +3397,23 @@ func NewCreateRoutesResponse() (response *CreateRoutesResponse) { // * 向指定路由表批量新增路由策略。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_CDCSUBNETNOTSUPPORTUNLOCALGATEWAY = "UnsupportedOperation.CdcSubnetNotSupportUnLocalGateway" -// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" -// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" -// UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute" -// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" -// UNSUPPORTEDOPERATION_NORMALSUBNETNOTSUPPORTLOCALGATEWAY = "UnsupportedOperation.NormalSubnetNotSupportLocalGateway" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_CDCSUBNETNOTSUPPORTUNLOCALGATEWAY = "UnsupportedOperation.CdcSubnetNotSupportUnLocalGateway" +// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" +// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" +// UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute" +// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" +// UNSUPPORTEDOPERATION_NORMALSUBNETNOTSUPPORTLOCALGATEWAY = "UnsupportedOperation.NormalSubnetNotSupportLocalGateway" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) CreateRoutes(request *CreateRoutesRequest) (response *CreateRoutesResponse, err error) { if request == nil { request = NewCreateRoutesRequest() @@ -3351,22 +3430,23 @@ func (c *Client) CreateRoutes(request *CreateRoutesRequest) (response *CreateRou // * 向指定路由表批量新增路由策略。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_CDCSUBNETNOTSUPPORTUNLOCALGATEWAY = "UnsupportedOperation.CdcSubnetNotSupportUnLocalGateway" -// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" -// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" -// UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute" -// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" -// UNSUPPORTEDOPERATION_NORMALSUBNETNOTSUPPORTLOCALGATEWAY = "UnsupportedOperation.NormalSubnetNotSupportLocalGateway" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_CDCSUBNETNOTSUPPORTUNLOCALGATEWAY = "UnsupportedOperation.CdcSubnetNotSupportUnLocalGateway" +// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" +// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" +// UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute" +// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" +// UNSUPPORTEDOPERATION_NORMALSUBNETNOTSUPPORTLOCALGATEWAY = "UnsupportedOperation.NormalSubnetNotSupportLocalGateway" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) CreateRoutesWithContext(ctx context.Context, request *CreateRoutesRequest) (response *CreateRoutesResponse, err error) { if request == nil { request = NewCreateRoutesRequest() @@ -3404,13 +3484,14 @@ func NewCreateSecurityGroupResponse() (response *CreateSecurityGroupResponse) { // * 创建安全组同时可以绑定标签, 应答里的标签列表代表添加成功的标签。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateSecurityGroup(request *CreateSecurityGroupRequest) (response *CreateSecurityGroupResponse, err error) { if request == nil { request = NewCreateSecurityGroupRequest() @@ -3431,13 +3512,14 @@ func (c *Client) CreateSecurityGroup(request *CreateSecurityGroupRequest) (respo // * 创建安全组同时可以绑定标签, 应答里的标签列表代表添加成功的标签。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateSecurityGroupWithContext(ctx context.Context, request *CreateSecurityGroupRequest) (response *CreateSecurityGroupResponse, err error) { if request == nil { request = NewCreateSecurityGroupRequest() @@ -3468,8 +3550,6 @@ func NewCreateSecurityGroupPoliciesResponse() (response *CreateSecurityGroupPoli // CreateSecurityGroupPolicies // 本接口(CreateSecurityGroupPolicies)用于创建安全组规则(SecurityGroupPolicy)。 // -// -// // 在 SecurityGroupPolicySet 参数中: // //
    @@ -3497,19 +3577,20 @@ func NewCreateSecurityGroupPoliciesResponse() (response *CreateSecurityGroupPoli //
// // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// LIMITEXCEEDED_SECURITYGROUPPOLICYSET = "LimitExceeded.SecurityGroupPolicySet" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" -// UNSUPPORTEDOPERATION_CLBPOLICYLIMIT = "UnsupportedOperation.ClbPolicyLimit" -// UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" -// UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// LIMITEXCEEDED_SECURITYGROUPPOLICYSET = "LimitExceeded.SecurityGroupPolicySet" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" +// UNSUPPORTEDOPERATION_CLBPOLICYLIMIT = "UnsupportedOperation.ClbPolicyLimit" +// UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" +// UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch" func (c *Client) CreateSecurityGroupPolicies(request *CreateSecurityGroupPoliciesRequest) (response *CreateSecurityGroupPoliciesResponse, err error) { if request == nil { request = NewCreateSecurityGroupPoliciesRequest() @@ -3523,8 +3604,6 @@ func (c *Client) CreateSecurityGroupPolicies(request *CreateSecurityGroupPolicie // CreateSecurityGroupPolicies // 本接口(CreateSecurityGroupPolicies)用于创建安全组规则(SecurityGroupPolicy)。 // -// -// // 在 SecurityGroupPolicySet 参数中: // //
    @@ -3552,19 +3631,20 @@ func (c *Client) CreateSecurityGroupPolicies(request *CreateSecurityGroupPolicie //
// // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// LIMITEXCEEDED_SECURITYGROUPPOLICYSET = "LimitExceeded.SecurityGroupPolicySet" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" -// UNSUPPORTEDOPERATION_CLBPOLICYLIMIT = "UnsupportedOperation.ClbPolicyLimit" -// UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" -// UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// LIMITEXCEEDED_SECURITYGROUPPOLICYSET = "LimitExceeded.SecurityGroupPolicySet" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" +// UNSUPPORTEDOPERATION_CLBPOLICYLIMIT = "UnsupportedOperation.ClbPolicyLimit" +// UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" +// UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch" func (c *Client) CreateSecurityGroupPoliciesWithContext(ctx context.Context, request *CreateSecurityGroupPoliciesRequest) (response *CreateSecurityGroupPoliciesResponse, err error) { if request == nil { request = NewCreateSecurityGroupPoliciesRequest() @@ -3599,8 +3679,6 @@ func NewCreateSecurityGroupWithPoliciesResponse() (response *CreateSecurityGroup // // * 新建的安全组的入站和出站规则默认都是全部拒绝,在创建后通常您需要再调用CreateSecurityGroupPolicies将安全组的规则设置为需要的规则。 // -// -// // 安全组规则说明: // // * Version安全组规则版本号,用户每次更新安全规则版本会自动加1,防止您更新的路由规则已过期,不填不考虑冲突。 @@ -3622,13 +3700,14 @@ func NewCreateSecurityGroupWithPoliciesResponse() (response *CreateSecurityGroup // * 一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateSecurityGroupWithPolicies(request *CreateSecurityGroupWithPoliciesRequest) (response *CreateSecurityGroupWithPoliciesResponse, err error) { if request == nil { request = NewCreateSecurityGroupWithPoliciesRequest() @@ -3646,8 +3725,6 @@ func (c *Client) CreateSecurityGroupWithPolicies(request *CreateSecurityGroupWit // // * 新建的安全组的入站和出站规则默认都是全部拒绝,在创建后通常您需要再调用CreateSecurityGroupPolicies将安全组的规则设置为需要的规则。 // -// -// // 安全组规则说明: // // * Version安全组规则版本号,用户每次更新安全规则版本会自动加1,防止您更新的路由规则已过期,不填不考虑冲突。 @@ -3669,13 +3746,14 @@ func (c *Client) CreateSecurityGroupWithPolicies(request *CreateSecurityGroupWit // * 一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateSecurityGroupWithPoliciesWithContext(ctx context.Context, request *CreateSecurityGroupWithPoliciesRequest) (response *CreateSecurityGroupWithPoliciesResponse, err error) { if request == nil { request = NewCreateSecurityGroupWithPoliciesRequest() @@ -3707,9 +3785,10 @@ func NewCreateServiceTemplateResponse() (response *CreateServiceTemplateResponse // 本接口(CreateServiceTemplate)用于创建协议端口模板 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// LIMITEXCEEDED = "LimitExceeded" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// LIMITEXCEEDED = "LimitExceeded" func (c *Client) CreateServiceTemplate(request *CreateServiceTemplateRequest) (response *CreateServiceTemplateResponse, err error) { if request == nil { request = NewCreateServiceTemplateRequest() @@ -3724,9 +3803,10 @@ func (c *Client) CreateServiceTemplate(request *CreateServiceTemplateRequest) (r // 本接口(CreateServiceTemplate)用于创建协议端口模板 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// LIMITEXCEEDED = "LimitExceeded" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// LIMITEXCEEDED = "LimitExceeded" func (c *Client) CreateServiceTemplateWithContext(ctx context.Context, request *CreateServiceTemplateRequest) (response *CreateServiceTemplateResponse, err error) { if request == nil { request = NewCreateServiceTemplateRequest() @@ -3758,11 +3838,12 @@ func NewCreateServiceTemplateGroupResponse() (response *CreateServiceTemplateGro // 本接口(CreateServiceTemplateGroup)用于创建协议端口模板集合 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) CreateServiceTemplateGroup(request *CreateServiceTemplateGroupRequest) (response *CreateServiceTemplateGroupResponse, err error) { if request == nil { request = NewCreateServiceTemplateGroupRequest() @@ -3777,11 +3858,12 @@ func (c *Client) CreateServiceTemplateGroup(request *CreateServiceTemplateGroupR // 本接口(CreateServiceTemplateGroup)用于创建协议端口模板集合 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) CreateServiceTemplateGroupWithContext(ctx context.Context, request *CreateServiceTemplateGroupRequest) (response *CreateServiceTemplateGroupResponse, err error) { if request == nil { request = NewCreateServiceTemplateGroupRequest() @@ -3825,20 +3907,21 @@ func NewCreateSubnetResponse() (response *CreateSubnetResponse) { // * 创建子网同时可以绑定标签, 应答里的标签列表代表添加成功的标签。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" -// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPARAMETERVALUE_ZONECONFLICT = "InvalidParameterValue.ZoneConflict" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" -// UNSUPPORTEDOPERATION_DCGATEWAYSNOTFOUNDINVPC = "UnsupportedOperation.DcGatewaysNotFoundInVpc" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" +// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPARAMETERVALUE_ZONECONFLICT = "InvalidParameterValue.ZoneConflict" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" +// UNSUPPORTEDOPERATION_DCGATEWAYSNOTFOUNDINVPC = "UnsupportedOperation.DcGatewaysNotFoundInVpc" func (c *Client) CreateSubnet(request *CreateSubnetRequest) (response *CreateSubnetResponse, err error) { if request == nil { request = NewCreateSubnetRequest() @@ -3865,20 +3948,21 @@ func (c *Client) CreateSubnet(request *CreateSubnetRequest) (response *CreateSub // * 创建子网同时可以绑定标签, 应答里的标签列表代表添加成功的标签。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" -// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPARAMETERVALUE_ZONECONFLICT = "InvalidParameterValue.ZoneConflict" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" -// UNSUPPORTEDOPERATION_DCGATEWAYSNOTFOUNDINVPC = "UnsupportedOperation.DcGatewaysNotFoundInVpc" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" +// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPARAMETERVALUE_ZONECONFLICT = "InvalidParameterValue.ZoneConflict" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" +// UNSUPPORTEDOPERATION_DCGATEWAYSNOTFOUNDINVPC = "UnsupportedOperation.DcGatewaysNotFoundInVpc" func (c *Client) CreateSubnetWithContext(ctx context.Context, request *CreateSubnetRequest) (response *CreateSubnetResponse, err error) { if request == nil { request = NewCreateSubnetRequest() @@ -3922,18 +4006,19 @@ func NewCreateSubnetsResponse() (response *CreateSubnetsResponse) { // * 创建子网同时可以绑定标签, 应答里的标签列表代表添加成功的标签。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" -// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPARAMETERVALUE_ZONECONFLICT = "InvalidParameterValue.ZoneConflict" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" -// UNSUPPORTEDOPERATION_DCGATEWAYSNOTFOUNDINVPC = "UnsupportedOperation.DcGatewaysNotFoundInVpc" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" +// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPARAMETERVALUE_ZONECONFLICT = "InvalidParameterValue.ZoneConflict" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" +// UNSUPPORTEDOPERATION_DCGATEWAYSNOTFOUNDINVPC = "UnsupportedOperation.DcGatewaysNotFoundInVpc" func (c *Client) CreateSubnets(request *CreateSubnetsRequest) (response *CreateSubnetsResponse, err error) { if request == nil { request = NewCreateSubnetsRequest() @@ -3960,18 +4045,19 @@ func (c *Client) CreateSubnets(request *CreateSubnetsRequest) (response *CreateS // * 创建子网同时可以绑定标签, 应答里的标签列表代表添加成功的标签。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" -// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPARAMETERVALUE_ZONECONFLICT = "InvalidParameterValue.ZoneConflict" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" -// UNSUPPORTEDOPERATION_DCGATEWAYSNOTFOUNDINVPC = "UnsupportedOperation.DcGatewaysNotFoundInVpc" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" +// INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPARAMETERVALUE_ZONECONFLICT = "InvalidParameterValue.ZoneConflict" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" +// UNSUPPORTEDOPERATION_DCGATEWAYSNOTFOUNDINVPC = "UnsupportedOperation.DcGatewaysNotFoundInVpc" func (c *Client) CreateSubnetsWithContext(ctx context.Context, request *CreateSubnetsRequest) (response *CreateSubnetsResponse, err error) { if request == nil { request = NewCreateSubnetsRequest() @@ -4009,14 +4095,15 @@ func NewCreateVpcResponse() (response *CreateVpcResponse) { // * 创建VPC同时可以绑定标签, 应答里的标签列表代表添加成功的标签。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateVpc(request *CreateVpcRequest) (response *CreateVpcResponse, err error) { if request == nil { request = NewCreateVpcRequest() @@ -4037,14 +4124,15 @@ func (c *Client) CreateVpc(request *CreateVpcRequest) (response *CreateVpcRespon // * 创建VPC同时可以绑定标签, 应答里的标签列表代表添加成功的标签。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateVpcWithContext(ctx context.Context, request *CreateVpcRequest) (response *CreateVpcResponse, err error) { if request == nil { request = NewCreateVpcRequest() @@ -4076,21 +4164,22 @@ func NewCreateVpcEndPointResponse() (response *CreateVpcEndPointResponse) { // 创建终端节点。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCEUNAVAILABLE_SERVICEWHITELISTNOTADDED = "ResourceUnavailable.ServiceWhiteListNotAdded" -// UNSUPPORTEDOPERATION_ENDPOINTSERVICE = "UnsupportedOperation.EndPointService" -// UNSUPPORTEDOPERATION_SPECIALENDPOINTSERVICE = "UnsupportedOperation.SpecialEndPointService" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCEUNAVAILABLE_SERVICEWHITELISTNOTADDED = "ResourceUnavailable.ServiceWhiteListNotAdded" +// UNSUPPORTEDOPERATION_ENDPOINTSERVICE = "UnsupportedOperation.EndPointService" +// UNSUPPORTEDOPERATION_SPECIALENDPOINTSERVICE = "UnsupportedOperation.SpecialEndPointService" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) CreateVpcEndPoint(request *CreateVpcEndPointRequest) (response *CreateVpcEndPointResponse, err error) { if request == nil { request = NewCreateVpcEndPointRequest() @@ -4105,21 +4194,22 @@ func (c *Client) CreateVpcEndPoint(request *CreateVpcEndPointRequest) (response // 创建终端节点。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCEUNAVAILABLE_SERVICEWHITELISTNOTADDED = "ResourceUnavailable.ServiceWhiteListNotAdded" -// UNSUPPORTEDOPERATION_ENDPOINTSERVICE = "UnsupportedOperation.EndPointService" -// UNSUPPORTEDOPERATION_SPECIALENDPOINTSERVICE = "UnsupportedOperation.SpecialEndPointService" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_RESERVED = "InvalidParameterValue.Reserved" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCEUNAVAILABLE_SERVICEWHITELISTNOTADDED = "ResourceUnavailable.ServiceWhiteListNotAdded" +// UNSUPPORTEDOPERATION_ENDPOINTSERVICE = "UnsupportedOperation.EndPointService" +// UNSUPPORTEDOPERATION_SPECIALENDPOINTSERVICE = "UnsupportedOperation.SpecialEndPointService" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) CreateVpcEndPointWithContext(ctx context.Context, request *CreateVpcEndPointRequest) (response *CreateVpcEndPointResponse, err error) { if request == nil { request = NewCreateVpcEndPointRequest() @@ -4151,15 +4241,16 @@ func NewCreateVpcEndPointServiceResponse() (response *CreateVpcEndPointServiceRe // 创建终端节点服务。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) CreateVpcEndPointService(request *CreateVpcEndPointServiceRequest) (response *CreateVpcEndPointServiceResponse, err error) { if request == nil { request = NewCreateVpcEndPointServiceRequest() @@ -4174,15 +4265,16 @@ func (c *Client) CreateVpcEndPointService(request *CreateVpcEndPointServiceReque // 创建终端节点服务。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) CreateVpcEndPointServiceWithContext(ctx context.Context, request *CreateVpcEndPointServiceRequest) (response *CreateVpcEndPointServiceResponse, err error) { if request == nil { request = NewCreateVpcEndPointServiceRequest() @@ -4214,10 +4306,11 @@ func NewCreateVpcEndPointServiceWhiteListResponse() (response *CreateVpcEndPoint // 创建终端服务白名单。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" +// +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" func (c *Client) CreateVpcEndPointServiceWhiteList(request *CreateVpcEndPointServiceWhiteListRequest) (response *CreateVpcEndPointServiceWhiteListResponse, err error) { if request == nil { request = NewCreateVpcEndPointServiceWhiteListRequest() @@ -4232,10 +4325,11 @@ func (c *Client) CreateVpcEndPointServiceWhiteList(request *CreateVpcEndPointSer // 创建终端服务白名单。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" +// +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" func (c *Client) CreateVpcEndPointServiceWhiteListWithContext(ctx context.Context, request *CreateVpcEndPointServiceWhiteListRequest) (response *CreateVpcEndPointServiceWhiteListResponse, err error) { if request == nil { request = NewCreateVpcEndPointServiceWhiteListRequest() @@ -4271,17 +4365,18 @@ func NewCreateVpnConnectionResponse() (response *CreateVpnConnectionResponse) { // > // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" -// INVALIDPARAMETERVALUE_VPNCONNCIDRCONFLICT = "InvalidParameterValue.VpnConnCidrConflict" -// INVALIDPARAMETERVALUE_VPNCONNHEALTHCHECKIPCONFLICT = "InvalidParameterValue.VpnConnHealthCheckIpConflict" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// INVALIDPARAMETERVALUE_VPNCONNCIDRCONFLICT = "InvalidParameterValue.VpnConnCidrConflict" +// INVALIDPARAMETERVALUE_VPNCONNHEALTHCHECKIPCONFLICT = "InvalidParameterValue.VpnConnHealthCheckIpConflict" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) CreateVpnConnection(request *CreateVpnConnectionRequest) (response *CreateVpnConnectionResponse, err error) { if request == nil { request = NewCreateVpnConnectionRequest() @@ -4300,17 +4395,18 @@ func (c *Client) CreateVpnConnection(request *CreateVpnConnectionRequest) (respo // > // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" -// INVALIDPARAMETERVALUE_VPNCONNCIDRCONFLICT = "InvalidParameterValue.VpnConnCidrConflict" -// INVALIDPARAMETERVALUE_VPNCONNHEALTHCHECKIPCONFLICT = "InvalidParameterValue.VpnConnHealthCheckIpConflict" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// INVALIDPARAMETERVALUE_VPNCONNCIDRCONFLICT = "InvalidParameterValue.VpnConnCidrConflict" +// INVALIDPARAMETERVALUE_VPNCONNHEALTHCHECKIPCONFLICT = "InvalidParameterValue.VpnConnHealthCheckIpConflict" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) CreateVpnConnectionWithContext(ctx context.Context, request *CreateVpnConnectionRequest) (response *CreateVpnConnectionResponse, err error) { if request == nil { request = NewCreateVpnConnectionRequest() @@ -4342,16 +4438,17 @@ func NewCreateVpnGatewayResponse() (response *CreateVpnGatewayResponse) { // 本接口(CreateVpnGateway)用于创建VPN网关。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPARAMETERVALUE_VPNCONNCIDRCONFLICT = "InvalidParameterValue.VpnConnCidrConflict" -// INVALIDVPCID_MALFORMED = "InvalidVpcId.Malformed" -// INVALIDVPCID_NOTFOUND = "InvalidVpcId.NotFound" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" -// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPARAMETERVALUE_VPNCONNCIDRCONFLICT = "InvalidParameterValue.VpnConnCidrConflict" +// INVALIDVPCID_MALFORMED = "InvalidVpcId.Malformed" +// INVALIDVPCID_NOTFOUND = "InvalidVpcId.NotFound" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" +// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" func (c *Client) CreateVpnGateway(request *CreateVpnGatewayRequest) (response *CreateVpnGatewayResponse, err error) { if request == nil { request = NewCreateVpnGatewayRequest() @@ -4366,16 +4463,17 @@ func (c *Client) CreateVpnGateway(request *CreateVpnGatewayRequest) (response *C // 本接口(CreateVpnGateway)用于创建VPN网关。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// INVALIDPARAMETERVALUE_VPNCONNCIDRCONFLICT = "InvalidParameterValue.VpnConnCidrConflict" -// INVALIDVPCID_MALFORMED = "InvalidVpcId.Malformed" -// INVALIDVPCID_NOTFOUND = "InvalidVpcId.NotFound" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" -// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// INVALIDPARAMETERVALUE_VPNCONNCIDRCONFLICT = "InvalidParameterValue.VpnConnCidrConflict" +// INVALIDVPCID_MALFORMED = "InvalidVpcId.Malformed" +// INVALIDVPCID_NOTFOUND = "InvalidVpcId.NotFound" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION_NOREALNAMEAUTHENTICATION = "UnauthorizedOperation.NoRealNameAuthentication" +// UNSUPPORTEDOPERATION_INSUFFICIENTFUNDS = "UnsupportedOperation.InsufficientFunds" func (c *Client) CreateVpnGatewayWithContext(ctx context.Context, request *CreateVpnGatewayRequest) (response *CreateVpnGatewayResponse, err error) { if request == nil { request = NewCreateVpnGatewayRequest() @@ -4407,14 +4505,15 @@ func NewCreateVpnGatewayRoutesResponse() (response *CreateVpnGatewayRoutesRespon // 创建路由型VPN网关的目的路由 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateVpnGatewayRoutes(request *CreateVpnGatewayRoutesRequest) (response *CreateVpnGatewayRoutesResponse, err error) { if request == nil { request = NewCreateVpnGatewayRoutesRequest() @@ -4429,14 +4528,15 @@ func (c *Client) CreateVpnGatewayRoutes(request *CreateVpnGatewayRoutesRequest) // 创建路由型VPN网关的目的路由 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateVpnGatewayRoutesWithContext(ctx context.Context, request *CreateVpnGatewayRoutesRequest) (response *CreateVpnGatewayRoutesResponse, err error) { if request == nil { request = NewCreateVpnGatewayRoutesRequest() @@ -4468,9 +4568,10 @@ func NewDeleteAddressTemplateResponse() (response *DeleteAddressTemplateResponse // 本接口(DeleteAddressTemplate)用于删除IP地址模板 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DeleteAddressTemplate(request *DeleteAddressTemplateRequest) (response *DeleteAddressTemplateResponse, err error) { if request == nil { request = NewDeleteAddressTemplateRequest() @@ -4485,9 +4586,10 @@ func (c *Client) DeleteAddressTemplate(request *DeleteAddressTemplateRequest) (r // 本接口(DeleteAddressTemplate)用于删除IP地址模板 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DeleteAddressTemplateWithContext(ctx context.Context, request *DeleteAddressTemplateRequest) (response *DeleteAddressTemplateResponse, err error) { if request == nil { request = NewDeleteAddressTemplateRequest() @@ -4519,9 +4621,10 @@ func NewDeleteAddressTemplateGroupResponse() (response *DeleteAddressTemplateGro // 本接口(DeleteAddressTemplateGroup)用于删除IP地址模板集合 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DeleteAddressTemplateGroup(request *DeleteAddressTemplateGroupRequest) (response *DeleteAddressTemplateGroupResponse, err error) { if request == nil { request = NewDeleteAddressTemplateGroupRequest() @@ -4536,9 +4639,10 @@ func (c *Client) DeleteAddressTemplateGroup(request *DeleteAddressTemplateGroupR // 本接口(DeleteAddressTemplateGroup)用于删除IP地址模板集合 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DeleteAddressTemplateGroupWithContext(ctx context.Context, request *DeleteAddressTemplateGroupRequest) (response *DeleteAddressTemplateGroupResponse, err error) { if request == nil { request = NewDeleteAddressTemplateGroupRequest() @@ -4570,12 +4674,13 @@ func NewDeleteAssistantCidrResponse() (response *DeleteAssistantCidrResponse) { // 本接口(DeleteAssistantCidr)用于删除辅助CIDR。(接口灰度中,如需使用请提工单。) // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteAssistantCidr(request *DeleteAssistantCidrRequest) (response *DeleteAssistantCidrResponse, err error) { if request == nil { request = NewDeleteAssistantCidrRequest() @@ -4590,12 +4695,13 @@ func (c *Client) DeleteAssistantCidr(request *DeleteAssistantCidrRequest) (respo // 本接口(DeleteAssistantCidr)用于删除辅助CIDR。(接口灰度中,如需使用请提工单。) // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteAssistantCidrWithContext(ctx context.Context, request *DeleteAssistantCidrRequest) (response *DeleteAssistantCidrResponse, err error) { if request == nil { request = NewDeleteAssistantCidrRequest() @@ -4627,12 +4733,13 @@ func NewDeleteBandwidthPackageResponse() (response *DeleteBandwidthPackageRespon // 接口支持删除共享带宽包,包括[设备带宽包](https://cloud.tencent.com/document/product/684/15246#.E8.AE.BE.E5.A4.87.E5.B8.A6.E5.AE.BD.E5.8C.85)和[IP带宽包](https://cloud.tencent.com/document/product/684/15246#ip-.E5.B8.A6.E5.AE.BD.E5.8C.85) // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEINUSE = "InvalidParameterValue.BandwidthPackageInUse" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INVALIDADDRESSSTATE = "UnsupportedOperation.InvalidAddressState" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEINUSE = "InvalidParameterValue.BandwidthPackageInUse" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INVALIDADDRESSSTATE = "UnsupportedOperation.InvalidAddressState" func (c *Client) DeleteBandwidthPackage(request *DeleteBandwidthPackageRequest) (response *DeleteBandwidthPackageResponse, err error) { if request == nil { request = NewDeleteBandwidthPackageRequest() @@ -4647,12 +4754,13 @@ func (c *Client) DeleteBandwidthPackage(request *DeleteBandwidthPackageRequest) // 接口支持删除共享带宽包,包括[设备带宽包](https://cloud.tencent.com/document/product/684/15246#.E8.AE.BE.E5.A4.87.E5.B8.A6.E5.AE.BD.E5.8C.85)和[IP带宽包](https://cloud.tencent.com/document/product/684/15246#ip-.E5.B8.A6.E5.AE.BD.E5.8C.85) // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEINUSE = "InvalidParameterValue.BandwidthPackageInUse" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INVALIDADDRESSSTATE = "UnsupportedOperation.InvalidAddressState" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEINUSE = "InvalidParameterValue.BandwidthPackageInUse" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INVALIDADDRESSSTATE = "UnsupportedOperation.InvalidAddressState" func (c *Client) DeleteBandwidthPackageWithContext(ctx context.Context, request *DeleteBandwidthPackageRequest) (response *DeleteBandwidthPackageResponse, err error) { if request == nil { request = NewDeleteBandwidthPackageRequest() @@ -4688,13 +4796,14 @@ func NewDeleteCcnResponse() (response *DeleteCcnResponse) { // * 删除云联网是不可逆的操作,请谨慎处理。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_BANDWIDTHNOTEXPIRED = "UnsupportedOperation.BandwidthNotExpired" -// UNSUPPORTEDOPERATION_CCNHASFLOWLOG = "UnsupportedOperation.CcnHasFlowLog" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BANDWIDTHNOTEXPIRED = "UnsupportedOperation.BandwidthNotExpired" +// UNSUPPORTEDOPERATION_CCNHASFLOWLOG = "UnsupportedOperation.CcnHasFlowLog" func (c *Client) DeleteCcn(request *DeleteCcnRequest) (response *DeleteCcnResponse, err error) { if request == nil { request = NewDeleteCcnRequest() @@ -4713,13 +4822,14 @@ func (c *Client) DeleteCcn(request *DeleteCcnRequest) (response *DeleteCcnRespon // * 删除云联网是不可逆的操作,请谨慎处理。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_BANDWIDTHNOTEXPIRED = "UnsupportedOperation.BandwidthNotExpired" -// UNSUPPORTEDOPERATION_CCNHASFLOWLOG = "UnsupportedOperation.CcnHasFlowLog" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_BANDWIDTHNOTEXPIRED = "UnsupportedOperation.BandwidthNotExpired" +// UNSUPPORTEDOPERATION_CCNHASFLOWLOG = "UnsupportedOperation.CcnHasFlowLog" func (c *Client) DeleteCcnWithContext(ctx context.Context, request *DeleteCcnRequest) (response *DeleteCcnResponse, err error) { if request == nil { request = NewDeleteCcnRequest() @@ -4751,9 +4861,10 @@ func NewDeleteCustomerGatewayResponse() (response *DeleteCustomerGatewayResponse // 本接口(DeleteCustomerGateway)用于删除对端网关。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteCustomerGateway(request *DeleteCustomerGatewayRequest) (response *DeleteCustomerGatewayResponse, err error) { if request == nil { request = NewDeleteCustomerGatewayRequest() @@ -4768,9 +4879,10 @@ func (c *Client) DeleteCustomerGateway(request *DeleteCustomerGatewayRequest) (r // 本接口(DeleteCustomerGateway)用于删除对端网关。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteCustomerGatewayWithContext(ctx context.Context, request *DeleteCustomerGatewayRequest) (response *DeleteCustomerGatewayResponse, err error) { if request == nil { request = NewDeleteCustomerGatewayRequest() @@ -4806,10 +4918,11 @@ func NewDeleteDhcpIpResponse() (response *DeleteDhcpIpResponse) { // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteDhcpIp(request *DeleteDhcpIpRequest) (response *DeleteDhcpIpResponse, err error) { if request == nil { request = NewDeleteDhcpIpRequest() @@ -4828,10 +4941,11 @@ func (c *Client) DeleteDhcpIp(request *DeleteDhcpIpRequest) (response *DeleteDhc // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteDhcpIpWithContext(ctx context.Context, request *DeleteDhcpIpRequest) (response *DeleteDhcpIpResponse, err error) { if request == nil { request = NewDeleteDhcpIpRequest() @@ -4869,10 +4983,11 @@ func NewDeleteDirectConnectGatewayResponse() (response *DeleteDirectConnectGatew // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`QueryTask`接口 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteDirectConnectGateway(request *DeleteDirectConnectGatewayRequest) (response *DeleteDirectConnectGatewayResponse, err error) { if request == nil { request = NewDeleteDirectConnectGatewayRequest() @@ -4893,10 +5008,11 @@ func (c *Client) DeleteDirectConnectGateway(request *DeleteDirectConnectGatewayR // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`QueryTask`接口 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteDirectConnectGatewayWithContext(ctx context.Context, request *DeleteDirectConnectGatewayRequest) (response *DeleteDirectConnectGatewayResponse, err error) { if request == nil { request = NewDeleteDirectConnectGatewayRequest() @@ -4928,8 +5044,9 @@ func NewDeleteDirectConnectGatewayCcnRoutesResponse() (response *DeleteDirectCon // 本接口(DeleteDirectConnectGatewayCcnRoutes)用于删除专线网关的云联网路由(IDC网段) // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteDirectConnectGatewayCcnRoutes(request *DeleteDirectConnectGatewayCcnRoutesRequest) (response *DeleteDirectConnectGatewayCcnRoutesResponse, err error) { if request == nil { request = NewDeleteDirectConnectGatewayCcnRoutesRequest() @@ -4944,8 +5061,9 @@ func (c *Client) DeleteDirectConnectGatewayCcnRoutes(request *DeleteDirectConnec // 本接口(DeleteDirectConnectGatewayCcnRoutes)用于删除专线网关的云联网路由(IDC网段) // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteDirectConnectGatewayCcnRoutesWithContext(ctx context.Context, request *DeleteDirectConnectGatewayCcnRoutesRequest) (response *DeleteDirectConnectGatewayCcnRoutesResponse, err error) { if request == nil { request = NewDeleteDirectConnectGatewayCcnRoutesRequest() @@ -4977,9 +5095,10 @@ func NewDeleteFlowLogResponse() (response *DeleteFlowLogResponse) { // 本接口(DeleteFlowLog)用于删除流日志 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteFlowLog(request *DeleteFlowLogRequest) (response *DeleteFlowLogResponse, err error) { if request == nil { request = NewDeleteFlowLogRequest() @@ -4994,9 +5113,10 @@ func (c *Client) DeleteFlowLog(request *DeleteFlowLogRequest) (response *DeleteF // 本接口(DeleteFlowLog)用于删除流日志 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteFlowLogWithContext(ctx context.Context, request *DeleteFlowLogRequest) (response *DeleteFlowLogResponse, err error) { if request == nil { request = NewDeleteFlowLogRequest() @@ -5030,11 +5150,12 @@ func NewDeleteHaVipResponse() (response *DeleteHaVipResponse) { // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteHaVip(request *DeleteHaVipRequest) (response *DeleteHaVipResponse, err error) { if request == nil { request = NewDeleteHaVipRequest() @@ -5051,11 +5172,12 @@ func (c *Client) DeleteHaVip(request *DeleteHaVipRequest) (response *DeleteHaVip // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteHaVipWithContext(ctx context.Context, request *DeleteHaVipRequest) (response *DeleteHaVipResponse, err error) { if request == nil { request = NewDeleteHaVipRequest() @@ -5089,8 +5211,9 @@ func NewDeleteIp6TranslatorsResponse() (response *DeleteIp6TranslatorsResponse) // 2. 如果IPV6转换实例建立有转换规则,会一并删除。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) DeleteIp6Translators(request *DeleteIp6TranslatorsRequest) (response *DeleteIp6TranslatorsResponse, err error) { if request == nil { request = NewDeleteIp6TranslatorsRequest() @@ -5107,8 +5230,9 @@ func (c *Client) DeleteIp6Translators(request *DeleteIp6TranslatorsRequest) (res // 2. 如果IPV6转换实例建立有转换规则,会一并删除。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) DeleteIp6TranslatorsWithContext(ctx context.Context, request *DeleteIp6TranslatorsRequest) (response *DeleteIp6TranslatorsResponse, err error) { if request == nil { request = NewDeleteIp6TranslatorsRequest() @@ -5140,12 +5264,13 @@ func NewDeleteLocalGatewayResponse() (response *DeleteLocalGatewayResponse) { // 该接口用于删除CDC的本地网关。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteLocalGateway(request *DeleteLocalGatewayRequest) (response *DeleteLocalGatewayResponse, err error) { if request == nil { request = NewDeleteLocalGatewayRequest() @@ -5160,12 +5285,13 @@ func (c *Client) DeleteLocalGateway(request *DeleteLocalGatewayRequest) (respons // 该接口用于删除CDC的本地网关。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteLocalGatewayWithContext(ctx context.Context, request *DeleteLocalGatewayRequest) (response *DeleteLocalGatewayResponse, err error) { if request == nil { request = NewDeleteLocalGatewayRequest() @@ -5199,10 +5325,11 @@ func NewDeleteNatGatewayResponse() (response *DeleteNatGatewayResponse) { // 删除 NAT 网关后,系统会自动删除路由表中包含此 NAT 网关的路由项,同时也会解绑弹性公网IP(EIP)。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DeleteNatGateway(request *DeleteNatGatewayRequest) (response *DeleteNatGatewayResponse, err error) { if request == nil { request = NewDeleteNatGatewayRequest() @@ -5219,10 +5346,11 @@ func (c *Client) DeleteNatGateway(request *DeleteNatGatewayRequest) (response *D // 删除 NAT 网关后,系统会自动删除路由表中包含此 NAT 网关的路由项,同时也会解绑弹性公网IP(EIP)。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DeleteNatGatewayWithContext(ctx context.Context, request *DeleteNatGatewayRequest) (response *DeleteNatGatewayResponse, err error) { if request == nil { request = NewDeleteNatGatewayRequest() @@ -5254,10 +5382,11 @@ func NewDeleteNatGatewayDestinationIpPortTranslationNatRuleResponse() (response // 本接口(DeleteNatGatewayDestinationIpPortTranslationNatRule)用于删除NAT网关端口转发规则。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DeleteNatGatewayDestinationIpPortTranslationNatRule(request *DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest) (response *DeleteNatGatewayDestinationIpPortTranslationNatRuleResponse, err error) { if request == nil { request = NewDeleteNatGatewayDestinationIpPortTranslationNatRuleRequest() @@ -5272,10 +5401,11 @@ func (c *Client) DeleteNatGatewayDestinationIpPortTranslationNatRule(request *De // 本接口(DeleteNatGatewayDestinationIpPortTranslationNatRule)用于删除NAT网关端口转发规则。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DeleteNatGatewayDestinationIpPortTranslationNatRuleWithContext(ctx context.Context, request *DeleteNatGatewayDestinationIpPortTranslationNatRuleRequest) (response *DeleteNatGatewayDestinationIpPortTranslationNatRuleResponse, err error) { if request == nil { request = NewDeleteNatGatewayDestinationIpPortTranslationNatRuleRequest() @@ -5307,9 +5437,10 @@ func NewDeleteNatGatewaySourceIpTranslationNatRuleResponse() (response *DeleteNa // 本接口(DeleteNatGatewaySourceIpTranslationNatRule)用于删除NAT网关端口SNAT转发规则。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" func (c *Client) DeleteNatGatewaySourceIpTranslationNatRule(request *DeleteNatGatewaySourceIpTranslationNatRuleRequest) (response *DeleteNatGatewaySourceIpTranslationNatRuleResponse, err error) { if request == nil { request = NewDeleteNatGatewaySourceIpTranslationNatRuleRequest() @@ -5324,9 +5455,10 @@ func (c *Client) DeleteNatGatewaySourceIpTranslationNatRule(request *DeleteNatGa // 本接口(DeleteNatGatewaySourceIpTranslationNatRule)用于删除NAT网关端口SNAT转发规则。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" func (c *Client) DeleteNatGatewaySourceIpTranslationNatRuleWithContext(ctx context.Context, request *DeleteNatGatewaySourceIpTranslationNatRuleRequest) (response *DeleteNatGatewaySourceIpTranslationNatRuleResponse, err error) { if request == nil { request = NewDeleteNatGatewaySourceIpTranslationNatRuleRequest() @@ -5358,9 +5490,10 @@ func NewDeleteNetDetectResponse() (response *DeleteNetDetectResponse) { // 本接口(DeleteNetDetect)用于删除网络探测实例。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteNetDetect(request *DeleteNetDetectRequest) (response *DeleteNetDetectResponse, err error) { if request == nil { request = NewDeleteNetDetectRequest() @@ -5375,9 +5508,10 @@ func (c *Client) DeleteNetDetect(request *DeleteNetDetectRequest) (response *Del // 本接口(DeleteNetDetect)用于删除网络探测实例。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteNetDetectWithContext(ctx context.Context, request *DeleteNetDetectRequest) (response *DeleteNetDetectResponse, err error) { if request == nil { request = NewDeleteNetDetectRequest() @@ -5409,9 +5543,10 @@ func NewDeleteNetworkAclResponse() (response *DeleteNetworkAclResponse) { // 本接口(DeleteNetworkAcl)用于删除网络ACL。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteNetworkAcl(request *DeleteNetworkAclRequest) (response *DeleteNetworkAclResponse, err error) { if request == nil { request = NewDeleteNetworkAclRequest() @@ -5426,9 +5561,10 @@ func (c *Client) DeleteNetworkAcl(request *DeleteNetworkAclRequest) (response *D // 本接口(DeleteNetworkAcl)用于删除网络ACL。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteNetworkAclWithContext(ctx context.Context, request *DeleteNetworkAclRequest) (response *DeleteNetworkAclResponse, err error) { if request == nil { request = NewDeleteNetworkAclRequest() @@ -5463,16 +5599,15 @@ func NewDeleteNetworkInterfaceResponse() (response *DeleteNetworkInterfaceRespon // // * 删除指定弹性网卡,弹性网卡必须先和子机解绑才能删除。删除之后弹性网卡上所有内网IP都将被退还。 // -// -// // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) DeleteNetworkInterface(request *DeleteNetworkInterfaceRequest) (response *DeleteNetworkInterfaceResponse, err error) { if request == nil { request = NewDeleteNetworkInterfaceRequest() @@ -5490,16 +5625,15 @@ func (c *Client) DeleteNetworkInterface(request *DeleteNetworkInterfaceRequest) // // * 删除指定弹性网卡,弹性网卡必须先和子机解绑才能删除。删除之后弹性网卡上所有内网IP都将被退还。 // -// -// // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) DeleteNetworkInterfaceWithContext(ctx context.Context, request *DeleteNetworkInterfaceRequest) (response *DeleteNetworkInterfaceResponse, err error) { if request == nil { request = NewDeleteNetworkInterfaceRequest() @@ -5531,8 +5665,9 @@ func NewDeleteRouteTableResponse() (response *DeleteRouteTableResponse) { // 删除路由表 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteRouteTable(request *DeleteRouteTableRequest) (response *DeleteRouteTableResponse, err error) { if request == nil { request = NewDeleteRouteTableRequest() @@ -5547,8 +5682,9 @@ func (c *Client) DeleteRouteTable(request *DeleteRouteTableRequest) (response *D // 删除路由表 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteRouteTableWithContext(ctx context.Context, request *DeleteRouteTableRequest) (response *DeleteRouteTableResponse, err error) { if request == nil { request = NewDeleteRouteTableRequest() @@ -5580,12 +5716,13 @@ func NewDeleteRoutesResponse() (response *DeleteRoutesResponse) { // 本接口(DeleteRoutes)用于对某个路由表批量删除路由策略(Route)。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" -// UNSUPPORTEDOPERATION_DISABLEDNOTIFYCCN = "UnsupportedOperation.DisabledNotifyCcn" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" +// UNSUPPORTEDOPERATION_DISABLEDNOTIFYCCN = "UnsupportedOperation.DisabledNotifyCcn" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) DeleteRoutes(request *DeleteRoutesRequest) (response *DeleteRoutesResponse, err error) { if request == nil { request = NewDeleteRoutesRequest() @@ -5600,12 +5737,13 @@ func (c *Client) DeleteRoutes(request *DeleteRoutesRequest) (response *DeleteRou // 本接口(DeleteRoutes)用于对某个路由表批量删除路由策略(Route)。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" -// UNSUPPORTEDOPERATION_DISABLEDNOTIFYCCN = "UnsupportedOperation.DisabledNotifyCcn" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" +// UNSUPPORTEDOPERATION_DISABLEDNOTIFYCCN = "UnsupportedOperation.DisabledNotifyCcn" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) DeleteRoutesWithContext(ctx context.Context, request *DeleteRoutesRequest) (response *DeleteRoutesResponse, err error) { if request == nil { request = NewDeleteRoutesRequest() @@ -5643,12 +5781,13 @@ func NewDeleteSecurityGroupResponse() (response *DeleteSecurityGroupResponse) { // * 删除的安全组无法再找回,请谨慎调用。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDSECURITYGROUPID_MALFORMED = "InvalidSecurityGroupID.Malformed" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupID.NotFound" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDSECURITYGROUPID_MALFORMED = "InvalidSecurityGroupID.Malformed" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupID.NotFound" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteSecurityGroup(request *DeleteSecurityGroupRequest) (response *DeleteSecurityGroupResponse, err error) { if request == nil { request = NewDeleteSecurityGroupRequest() @@ -5669,12 +5808,13 @@ func (c *Client) DeleteSecurityGroup(request *DeleteSecurityGroupRequest) (respo // * 删除的安全组无法再找回,请谨慎调用。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDSECURITYGROUPID_MALFORMED = "InvalidSecurityGroupID.Malformed" -// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupID.NotFound" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDSECURITYGROUPID_MALFORMED = "InvalidSecurityGroupID.Malformed" +// INVALIDSECURITYGROUPID_NOTFOUND = "InvalidSecurityGroupID.NotFound" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteSecurityGroupWithContext(ctx context.Context, request *DeleteSecurityGroupRequest) (response *DeleteSecurityGroupResponse, err error) { if request == nil { request = NewDeleteSecurityGroupRequest() @@ -5708,11 +5848,12 @@ func NewDeleteSecurityGroupPoliciesResponse() (response *DeleteSecurityGroupPoli // * SecurityGroupPolicySet.Version 用于指定要操作的安全组的版本。传入 Version 版本号若不等于当前安全组的最新版本,将返回失败;若不传 Version 则直接删除指定PolicyIndex的规则。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch" func (c *Client) DeleteSecurityGroupPolicies(request *DeleteSecurityGroupPoliciesRequest) (response *DeleteSecurityGroupPoliciesResponse, err error) { if request == nil { request = NewDeleteSecurityGroupPoliciesRequest() @@ -5729,11 +5870,12 @@ func (c *Client) DeleteSecurityGroupPolicies(request *DeleteSecurityGroupPolicie // * SecurityGroupPolicySet.Version 用于指定要操作的安全组的版本。传入 Version 版本号若不等于当前安全组的最新版本,将返回失败;若不传 Version 则直接删除指定PolicyIndex的规则。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch" func (c *Client) DeleteSecurityGroupPoliciesWithContext(ctx context.Context, request *DeleteSecurityGroupPoliciesRequest) (response *DeleteSecurityGroupPoliciesResponse, err error) { if request == nil { request = NewDeleteSecurityGroupPoliciesRequest() @@ -5765,9 +5907,10 @@ func NewDeleteServiceTemplateResponse() (response *DeleteServiceTemplateResponse // 本接口(DeleteServiceTemplate)用于删除协议端口模板 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DeleteServiceTemplate(request *DeleteServiceTemplateRequest) (response *DeleteServiceTemplateResponse, err error) { if request == nil { request = NewDeleteServiceTemplateRequest() @@ -5782,9 +5925,10 @@ func (c *Client) DeleteServiceTemplate(request *DeleteServiceTemplateRequest) (r // 本接口(DeleteServiceTemplate)用于删除协议端口模板 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DeleteServiceTemplateWithContext(ctx context.Context, request *DeleteServiceTemplateRequest) (response *DeleteServiceTemplateResponse, err error) { if request == nil { request = NewDeleteServiceTemplateRequest() @@ -5816,9 +5960,10 @@ func NewDeleteServiceTemplateGroupResponse() (response *DeleteServiceTemplateGro // 本接口(DeleteServiceTemplateGroup)用于删除协议端口模板集合 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DeleteServiceTemplateGroup(request *DeleteServiceTemplateGroupRequest) (response *DeleteServiceTemplateGroupResponse, err error) { if request == nil { request = NewDeleteServiceTemplateGroupRequest() @@ -5833,9 +5978,10 @@ func (c *Client) DeleteServiceTemplateGroup(request *DeleteServiceTemplateGroupR // 本接口(DeleteServiceTemplateGroup)用于删除协议端口模板集合 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DeleteServiceTemplateGroupWithContext(ctx context.Context, request *DeleteServiceTemplateGroupRequest) (response *DeleteServiceTemplateGroupResponse, err error) { if request == nil { request = NewDeleteServiceTemplateGroupRequest() @@ -5869,9 +6015,10 @@ func NewDeleteSubnetResponse() (response *DeleteSubnetResponse) { // * 删除子网前,请清理该子网下所有资源,包括云服务器、负载均衡、云数据、noSql、弹性网卡等资源。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteSubnet(request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error) { if request == nil { request = NewDeleteSubnetRequest() @@ -5888,9 +6035,10 @@ func (c *Client) DeleteSubnet(request *DeleteSubnetRequest) (response *DeleteSub // * 删除子网前,请清理该子网下所有资源,包括云服务器、负载均衡、云数据、noSql、弹性网卡等资源。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteSubnetWithContext(ctx context.Context, request *DeleteSubnetRequest) (response *DeleteSubnetResponse, err error) { if request == nil { request = NewDeleteSubnetRequest() @@ -5922,10 +6070,11 @@ func NewDeleteTemplateMemberResponse() (response *DeleteTemplateMemberResponse) // 删除模版对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteTemplateMember(request *DeleteTemplateMemberRequest) (response *DeleteTemplateMemberResponse, err error) { if request == nil { request = NewDeleteTemplateMemberRequest() @@ -5940,10 +6089,11 @@ func (c *Client) DeleteTemplateMember(request *DeleteTemplateMemberRequest) (res // 删除模版对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteTemplateMemberWithContext(ctx context.Context, request *DeleteTemplateMemberRequest) (response *DeleteTemplateMemberResponse, err error) { if request == nil { request = NewDeleteTemplateMemberRequest() @@ -5979,10 +6129,11 @@ func NewDeleteVpcResponse() (response *DeleteVpcResponse) { // * 删除私有网络是不可逆的操作,请谨慎处理。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" func (c *Client) DeleteVpc(request *DeleteVpcRequest) (response *DeleteVpcResponse, err error) { if request == nil { request = NewDeleteVpcRequest() @@ -6001,10 +6152,11 @@ func (c *Client) DeleteVpc(request *DeleteVpcRequest) (response *DeleteVpcRespon // * 删除私有网络是不可逆的操作,请谨慎处理。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" func (c *Client) DeleteVpcWithContext(ctx context.Context, request *DeleteVpcRequest) (response *DeleteVpcResponse, err error) { if request == nil { request = NewDeleteVpcRequest() @@ -6036,10 +6188,11 @@ func NewDeleteVpcEndPointResponse() (response *DeleteVpcEndPointResponse) { // 删除终端节点。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteVpcEndPoint(request *DeleteVpcEndPointRequest) (response *DeleteVpcEndPointResponse, err error) { if request == nil { request = NewDeleteVpcEndPointRequest() @@ -6054,10 +6207,11 @@ func (c *Client) DeleteVpcEndPoint(request *DeleteVpcEndPointRequest) (response // 删除终端节点。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteVpcEndPointWithContext(ctx context.Context, request *DeleteVpcEndPointRequest) (response *DeleteVpcEndPointResponse, err error) { if request == nil { request = NewDeleteVpcEndPointRequest() @@ -6088,13 +6242,12 @@ func NewDeleteVpcEndPointServiceResponse() (response *DeleteVpcEndPointServiceRe // DeleteVpcEndPointService // 删除终端节点服务。 // -// -// // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteVpcEndPointService(request *DeleteVpcEndPointServiceRequest) (response *DeleteVpcEndPointServiceResponse, err error) { if request == nil { request = NewDeleteVpcEndPointServiceRequest() @@ -6108,13 +6261,12 @@ func (c *Client) DeleteVpcEndPointService(request *DeleteVpcEndPointServiceReque // DeleteVpcEndPointService // 删除终端节点服务。 // -// -// // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteVpcEndPointServiceWithContext(ctx context.Context, request *DeleteVpcEndPointServiceRequest) (response *DeleteVpcEndPointServiceResponse, err error) { if request == nil { request = NewDeleteVpcEndPointServiceRequest() @@ -6146,9 +6298,10 @@ func NewDeleteVpcEndPointServiceWhiteListResponse() (response *DeleteVpcEndPoint // 删除终端节点服务白名单。 // // 可能返回的错误码: -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" +// +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" func (c *Client) DeleteVpcEndPointServiceWhiteList(request *DeleteVpcEndPointServiceWhiteListRequest) (response *DeleteVpcEndPointServiceWhiteListResponse, err error) { if request == nil { request = NewDeleteVpcEndPointServiceWhiteListRequest() @@ -6163,9 +6316,10 @@ func (c *Client) DeleteVpcEndPointServiceWhiteList(request *DeleteVpcEndPointSer // 删除终端节点服务白名单。 // // 可能返回的错误码: -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" +// +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" func (c *Client) DeleteVpcEndPointServiceWhiteListWithContext(ctx context.Context, request *DeleteVpcEndPointServiceWhiteListRequest) (response *DeleteVpcEndPointServiceWhiteListResponse, err error) { if request == nil { request = NewDeleteVpcEndPointServiceWhiteListRequest() @@ -6197,10 +6351,11 @@ func NewDeleteVpnConnectionResponse() (response *DeleteVpnConnectionResponse) { // 本接口(DeleteVpnConnection)用于删除VPN通道。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DeleteVpnConnection(request *DeleteVpnConnectionRequest) (response *DeleteVpnConnectionResponse, err error) { if request == nil { request = NewDeleteVpnConnectionRequest() @@ -6215,10 +6370,11 @@ func (c *Client) DeleteVpnConnection(request *DeleteVpnConnectionRequest) (respo // 本接口(DeleteVpnConnection)用于删除VPN通道。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DeleteVpnConnectionWithContext(ctx context.Context, request *DeleteVpnConnectionRequest) (response *DeleteVpnConnectionResponse, err error) { if request == nil { request = NewDeleteVpnConnectionRequest() @@ -6250,11 +6406,12 @@ func NewDeleteVpnGatewayResponse() (response *DeleteVpnGatewayResponse) { // 本接口(DeleteVpnGateway)用于删除VPN网关。目前只支持删除运行中的按量计费的IPSEC网关实例。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDVPNGATEWAYID_MALFORMED = "InvalidVpnGatewayId.Malformed" -// INVALIDVPNGATEWAYID_NOTFOUND = "InvalidVpnGatewayId.NotFound" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDVPNGATEWAYID_MALFORMED = "InvalidVpnGatewayId.Malformed" +// INVALIDVPNGATEWAYID_NOTFOUND = "InvalidVpnGatewayId.NotFound" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteVpnGateway(request *DeleteVpnGatewayRequest) (response *DeleteVpnGatewayResponse, err error) { if request == nil { request = NewDeleteVpnGatewayRequest() @@ -6269,11 +6426,12 @@ func (c *Client) DeleteVpnGateway(request *DeleteVpnGatewayRequest) (response *D // 本接口(DeleteVpnGateway)用于删除VPN网关。目前只支持删除运行中的按量计费的IPSEC网关实例。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDVPNGATEWAYID_MALFORMED = "InvalidVpnGatewayId.Malformed" -// INVALIDVPNGATEWAYID_NOTFOUND = "InvalidVpnGatewayId.NotFound" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDVPNGATEWAYID_MALFORMED = "InvalidVpnGatewayId.Malformed" +// INVALIDVPNGATEWAYID_NOTFOUND = "InvalidVpnGatewayId.NotFound" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DeleteVpnGatewayWithContext(ctx context.Context, request *DeleteVpnGatewayRequest) (response *DeleteVpnGatewayResponse, err error) { if request == nil { request = NewDeleteVpnGatewayRequest() @@ -6305,9 +6463,10 @@ func NewDeleteVpnGatewayRoutesResponse() (response *DeleteVpnGatewayRoutesRespon // 本接口(DeleteVpnGatewayCcnRoutes)用于删除VPN网关路由 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteVpnGatewayRoutes(request *DeleteVpnGatewayRoutesRequest) (response *DeleteVpnGatewayRoutesResponse, err error) { if request == nil { request = NewDeleteVpnGatewayRoutesRequest() @@ -6322,9 +6481,10 @@ func (c *Client) DeleteVpnGatewayRoutes(request *DeleteVpnGatewayRoutesRequest) // 本接口(DeleteVpnGatewayCcnRoutes)用于删除VPN网关路由 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DeleteVpnGatewayRoutesWithContext(ctx context.Context, request *DeleteVpnGatewayRoutesRequest) (response *DeleteVpnGatewayRoutesResponse, err error) { if request == nil { request = NewDeleteVpnGatewayRoutesRequest() @@ -6356,9 +6516,10 @@ func NewDescribeAccountAttributesResponse() (response *DescribeAccountAttributes // 本接口(DescribeAccountAttributes)用于查询用户账号私有属性。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeAccountAttributes(request *DescribeAccountAttributesRequest) (response *DescribeAccountAttributesResponse, err error) { if request == nil { request = NewDescribeAccountAttributesRequest() @@ -6373,9 +6534,10 @@ func (c *Client) DescribeAccountAttributes(request *DescribeAccountAttributesReq // 本接口(DescribeAccountAttributes)用于查询用户账号私有属性。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeAccountAttributesWithContext(ctx context.Context, request *DescribeAccountAttributesRequest) (response *DescribeAccountAttributesResponse, err error) { if request == nil { request = NewDescribeAccountAttributesRequest() @@ -6407,7 +6569,8 @@ func NewDescribeAddressQuotaResponse() (response *DescribeAddressQuotaResponse) // 本接口 (DescribeAddressQuota) 用于查询您账户的[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)在当前地域的配额信息。配额详情可参见 [EIP 产品简介](https://cloud.tencent.com/document/product/213/5733)。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" +// +// INTERNALSERVERERROR = "InternalServerError" func (c *Client) DescribeAddressQuota(request *DescribeAddressQuotaRequest) (response *DescribeAddressQuotaResponse, err error) { if request == nil { request = NewDescribeAddressQuotaRequest() @@ -6422,7 +6585,8 @@ func (c *Client) DescribeAddressQuota(request *DescribeAddressQuotaRequest) (res // 本接口 (DescribeAddressQuota) 用于查询您账户的[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)在当前地域的配额信息。配额详情可参见 [EIP 产品简介](https://cloud.tencent.com/document/product/213/5733)。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" +// +// INTERNALSERVERERROR = "InternalServerError" func (c *Client) DescribeAddressQuotaWithContext(ctx context.Context, request *DescribeAddressQuotaRequest) (response *DescribeAddressQuotaResponse, err error) { if request == nil { request = NewDescribeAddressQuotaRequest() @@ -6454,9 +6618,10 @@ func NewDescribeAddressTemplateGroupsResponse() (response *DescribeAddressTempla // 本接口(DescribeAddressTemplateGroups)用于查询IP地址模板集合 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeAddressTemplateGroups(request *DescribeAddressTemplateGroupsRequest) (response *DescribeAddressTemplateGroupsResponse, err error) { if request == nil { request = NewDescribeAddressTemplateGroupsRequest() @@ -6471,9 +6636,10 @@ func (c *Client) DescribeAddressTemplateGroups(request *DescribeAddressTemplateG // 本接口(DescribeAddressTemplateGroups)用于查询IP地址模板集合 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeAddressTemplateGroupsWithContext(ctx context.Context, request *DescribeAddressTemplateGroupsRequest) (response *DescribeAddressTemplateGroupsResponse, err error) { if request == nil { request = NewDescribeAddressTemplateGroupsRequest() @@ -6505,10 +6671,11 @@ func NewDescribeAddressTemplatesResponse() (response *DescribeAddressTemplatesRe // 本接口(DescribeAddressTemplates)用于查询IP地址模板 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeAddressTemplates(request *DescribeAddressTemplatesRequest) (response *DescribeAddressTemplatesResponse, err error) { if request == nil { request = NewDescribeAddressTemplatesRequest() @@ -6523,10 +6690,11 @@ func (c *Client) DescribeAddressTemplates(request *DescribeAddressTemplatesReque // 本接口(DescribeAddressTemplates)用于查询IP地址模板 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeAddressTemplatesWithContext(ctx context.Context, request *DescribeAddressTemplatesRequest) (response *DescribeAddressTemplatesResponse, err error) { if request == nil { request = NewDescribeAddressTemplatesRequest() @@ -6560,10 +6728,11 @@ func NewDescribeAddressesResponse() (response *DescribeAddressesResponse) { // * 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的 EIP。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" func (c *Client) DescribeAddresses(request *DescribeAddressesRequest) (response *DescribeAddressesResponse, err error) { if request == nil { request = NewDescribeAddressesRequest() @@ -6580,10 +6749,11 @@ func (c *Client) DescribeAddresses(request *DescribeAddressesRequest) (response // * 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的 EIP。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_INVALIDFILTER = "InvalidParameter.InvalidFilter" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" func (c *Client) DescribeAddressesWithContext(ctx context.Context, request *DescribeAddressesRequest) (response *DescribeAddressesResponse, err error) { if request == nil { request = NewDescribeAddressesRequest() @@ -6615,10 +6785,11 @@ func NewDescribeAssistantCidrResponse() (response *DescribeAssistantCidrResponse // 本接口(DescribeAssistantCidr)用于查询辅助CIDR列表。(接口灰度中,如需使用请提工单。) // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeAssistantCidr(request *DescribeAssistantCidrRequest) (response *DescribeAssistantCidrResponse, err error) { if request == nil { request = NewDescribeAssistantCidrRequest() @@ -6633,10 +6804,11 @@ func (c *Client) DescribeAssistantCidr(request *DescribeAssistantCidrRequest) (r // 本接口(DescribeAssistantCidr)用于查询辅助CIDR列表。(接口灰度中,如需使用请提工单。) // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeAssistantCidrWithContext(ctx context.Context, request *DescribeAssistantCidrRequest) (response *DescribeAssistantCidrResponse, err error) { if request == nil { request = NewDescribeAssistantCidrRequest() @@ -6668,9 +6840,10 @@ func NewDescribeBandwidthPackageBillUsageResponse() (response *DescribeBandwidth // 本接口 (DescribeBandwidthPackageBillUsage) 用于查询后付费共享带宽包当前的计费用量. // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" func (c *Client) DescribeBandwidthPackageBillUsage(request *DescribeBandwidthPackageBillUsageRequest) (response *DescribeBandwidthPackageBillUsageResponse, err error) { if request == nil { request = NewDescribeBandwidthPackageBillUsageRequest() @@ -6685,9 +6858,10 @@ func (c *Client) DescribeBandwidthPackageBillUsage(request *DescribeBandwidthPac // 本接口 (DescribeBandwidthPackageBillUsage) 用于查询后付费共享带宽包当前的计费用量. // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" func (c *Client) DescribeBandwidthPackageBillUsageWithContext(ctx context.Context, request *DescribeBandwidthPackageBillUsageRequest) (response *DescribeBandwidthPackageBillUsageResponse, err error) { if request == nil { request = NewDescribeBandwidthPackageBillUsageRequest() @@ -6719,9 +6893,10 @@ func NewDescribeBandwidthPackageQuotaResponse() (response *DescribeBandwidthPack // 接口用于查询账户在当前地域的带宽包上限数量以及使用数量 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" func (c *Client) DescribeBandwidthPackageQuota(request *DescribeBandwidthPackageQuotaRequest) (response *DescribeBandwidthPackageQuotaResponse, err error) { if request == nil { request = NewDescribeBandwidthPackageQuotaRequest() @@ -6736,9 +6911,10 @@ func (c *Client) DescribeBandwidthPackageQuota(request *DescribeBandwidthPackage // 接口用于查询账户在当前地域的带宽包上限数量以及使用数量 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" func (c *Client) DescribeBandwidthPackageQuotaWithContext(ctx context.Context, request *DescribeBandwidthPackageQuotaRequest) (response *DescribeBandwidthPackageQuotaResponse, err error) { if request == nil { request = NewDescribeBandwidthPackageQuotaRequest() @@ -6770,10 +6946,11 @@ func NewDescribeBandwidthPackageResourcesResponse() (response *DescribeBandwidth // 本接口 (DescribeBandwidthPackageResources) 用于根据共享带宽包唯一ID查询共享带宽包内的资源列表,支持按条件过滤查询结果和分页查询。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// INVALIDPARAMETERVALUE_RESOURCEIDMALFORMED = "InvalidParameterValue.ResourceIdMalformed" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// INVALIDPARAMETERVALUE_RESOURCEIDMALFORMED = "InvalidParameterValue.ResourceIdMalformed" func (c *Client) DescribeBandwidthPackageResources(request *DescribeBandwidthPackageResourcesRequest) (response *DescribeBandwidthPackageResourcesResponse, err error) { if request == nil { request = NewDescribeBandwidthPackageResourcesRequest() @@ -6788,10 +6965,11 @@ func (c *Client) DescribeBandwidthPackageResources(request *DescribeBandwidthPac // 本接口 (DescribeBandwidthPackageResources) 用于根据共享带宽包唯一ID查询共享带宽包内的资源列表,支持按条件过滤查询结果和分页查询。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// INVALIDPARAMETERVALUE_RESOURCEIDMALFORMED = "InvalidParameterValue.ResourceIdMalformed" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// INVALIDPARAMETERVALUE_RESOURCEIDMALFORMED = "InvalidParameterValue.ResourceIdMalformed" func (c *Client) DescribeBandwidthPackageResourcesWithContext(ctx context.Context, request *DescribeBandwidthPackageResourcesRequest) (response *DescribeBandwidthPackageResourcesResponse, err error) { if request == nil { request = NewDescribeBandwidthPackageResourcesRequest() @@ -6823,9 +7001,10 @@ func NewDescribeBandwidthPackagesResponse() (response *DescribeBandwidthPackages // 接口用于查询带宽包详细信息,包括带宽包唯一标识ID,类型,计费模式,名称,资源信息等 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_INVALIDBANDWIDTHPACKAGECHARGETYPE = "InvalidParameterValue.InvalidBandwidthPackageChargeType" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_INVALIDBANDWIDTHPACKAGECHARGETYPE = "InvalidParameterValue.InvalidBandwidthPackageChargeType" func (c *Client) DescribeBandwidthPackages(request *DescribeBandwidthPackagesRequest) (response *DescribeBandwidthPackagesResponse, err error) { if request == nil { request = NewDescribeBandwidthPackagesRequest() @@ -6840,9 +7019,10 @@ func (c *Client) DescribeBandwidthPackages(request *DescribeBandwidthPackagesReq // 接口用于查询带宽包详细信息,包括带宽包唯一标识ID,类型,计费模式,名称,资源信息等 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_INVALIDBANDWIDTHPACKAGECHARGETYPE = "InvalidParameterValue.InvalidBandwidthPackageChargeType" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_INVALIDBANDWIDTHPACKAGECHARGETYPE = "InvalidParameterValue.InvalidBandwidthPackageChargeType" func (c *Client) DescribeBandwidthPackagesWithContext(ctx context.Context, request *DescribeBandwidthPackagesRequest) (response *DescribeBandwidthPackagesResponse, err error) { if request == nil { request = NewDescribeBandwidthPackagesRequest() @@ -6874,13 +7054,14 @@ func NewDescribeCcnAttachedInstancesResponse() (response *DescribeCcnAttachedIns // 本接口(DescribeCcnAttachedInstances)用于查询云联网实例下已关联的网络实例。 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// UNSUPPORTEDOPERATION_APPIDNOTFOUND = "UnsupportedOperation.AppIdNotFound" +// +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// UNSUPPORTEDOPERATION_APPIDNOTFOUND = "UnsupportedOperation.AppIdNotFound" func (c *Client) DescribeCcnAttachedInstances(request *DescribeCcnAttachedInstancesRequest) (response *DescribeCcnAttachedInstancesResponse, err error) { if request == nil { request = NewDescribeCcnAttachedInstancesRequest() @@ -6895,13 +7076,14 @@ func (c *Client) DescribeCcnAttachedInstances(request *DescribeCcnAttachedInstan // 本接口(DescribeCcnAttachedInstances)用于查询云联网实例下已关联的网络实例。 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// UNSUPPORTEDOPERATION_APPIDNOTFOUND = "UnsupportedOperation.AppIdNotFound" +// +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// UNSUPPORTEDOPERATION_APPIDNOTFOUND = "UnsupportedOperation.AppIdNotFound" func (c *Client) DescribeCcnAttachedInstancesWithContext(ctx context.Context, request *DescribeCcnAttachedInstancesRequest) (response *DescribeCcnAttachedInstancesResponse, err error) { if request == nil { request = NewDescribeCcnAttachedInstancesRequest() @@ -6933,7 +7115,8 @@ func NewDescribeCcnRegionBandwidthLimitsResponse() (response *DescribeCcnRegionB // 本接口(DescribeCcnRegionBandwidthLimits)用于查询云联网各地域出带宽上限,该接口只返回已关联网络实例包含的地域 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" func (c *Client) DescribeCcnRegionBandwidthLimits(request *DescribeCcnRegionBandwidthLimitsRequest) (response *DescribeCcnRegionBandwidthLimitsResponse, err error) { if request == nil { request = NewDescribeCcnRegionBandwidthLimitsRequest() @@ -6948,7 +7131,8 @@ func (c *Client) DescribeCcnRegionBandwidthLimits(request *DescribeCcnRegionBand // 本接口(DescribeCcnRegionBandwidthLimits)用于查询云联网各地域出带宽上限,该接口只返回已关联网络实例包含的地域 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" func (c *Client) DescribeCcnRegionBandwidthLimitsWithContext(ctx context.Context, request *DescribeCcnRegionBandwidthLimitsRequest) (response *DescribeCcnRegionBandwidthLimitsResponse, err error) { if request == nil { request = NewDescribeCcnRegionBandwidthLimitsRequest() @@ -6980,10 +7164,11 @@ func NewDescribeCcnRoutesResponse() (response *DescribeCcnRoutesResponse) { // 本接口(DescribeCcnRoutes)用于查询已加入云联网(CCN)的路由 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeCcnRoutes(request *DescribeCcnRoutesRequest) (response *DescribeCcnRoutesResponse, err error) { if request == nil { request = NewDescribeCcnRoutesRequest() @@ -6998,10 +7183,11 @@ func (c *Client) DescribeCcnRoutes(request *DescribeCcnRoutesRequest) (response // 本接口(DescribeCcnRoutes)用于查询已加入云联网(CCN)的路由 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeCcnRoutesWithContext(ctx context.Context, request *DescribeCcnRoutesRequest) (response *DescribeCcnRoutesResponse, err error) { if request == nil { request = NewDescribeCcnRoutesRequest() @@ -7033,15 +7219,16 @@ func NewDescribeCcnsResponse() (response *DescribeCcnsResponse) { // 本接口(DescribeCcns)用于查询云联网(CCN)列表。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeCcns(request *DescribeCcnsRequest) (response *DescribeCcnsResponse, err error) { if request == nil { request = NewDescribeCcnsRequest() @@ -7056,15 +7243,16 @@ func (c *Client) DescribeCcns(request *DescribeCcnsRequest) (response *DescribeC // 本接口(DescribeCcns)用于查询云联网(CCN)列表。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeCcnsWithContext(ctx context.Context, request *DescribeCcnsRequest) (response *DescribeCcnsResponse, err error) { if request == nil { request = NewDescribeCcnsRequest() @@ -7096,9 +7284,10 @@ func NewDescribeClassicLinkInstancesResponse() (response *DescribeClassicLinkIns // 本接口(DescribeClassicLinkInstances)用于查询私有网络和基础网络设备互通列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeClassicLinkInstances(request *DescribeClassicLinkInstancesRequest) (response *DescribeClassicLinkInstancesResponse, err error) { if request == nil { request = NewDescribeClassicLinkInstancesRequest() @@ -7113,9 +7302,10 @@ func (c *Client) DescribeClassicLinkInstances(request *DescribeClassicLinkInstan // 本接口(DescribeClassicLinkInstances)用于查询私有网络和基础网络设备互通列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeClassicLinkInstancesWithContext(ctx context.Context, request *DescribeClassicLinkInstancesRequest) (response *DescribeClassicLinkInstancesResponse, err error) { if request == nil { request = NewDescribeClassicLinkInstancesRequest() @@ -7149,8 +7339,9 @@ func NewDescribeCrossBorderComplianceResponse() (response *DescribeCrossBorderCo // 服务商可以查询服务名下的任意 `APPID` 创建的审批单;非服务商,只能查询自己审批单。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeCrossBorderCompliance(request *DescribeCrossBorderComplianceRequest) (response *DescribeCrossBorderComplianceResponse, err error) { if request == nil { request = NewDescribeCrossBorderComplianceRequest() @@ -7167,8 +7358,9 @@ func (c *Client) DescribeCrossBorderCompliance(request *DescribeCrossBorderCompl // 服务商可以查询服务名下的任意 `APPID` 创建的审批单;非服务商,只能查询自己审批单。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeCrossBorderComplianceWithContext(ctx context.Context, request *DescribeCrossBorderComplianceRequest) (response *DescribeCrossBorderComplianceResponse, err error) { if request == nil { request = NewDescribeCrossBorderComplianceRequest() @@ -7200,8 +7392,9 @@ func NewDescribeCustomerGatewayVendorsResponse() (response *DescribeCustomerGate // 本接口(DescribeCustomerGatewayVendors)用于查询可支持的对端网关厂商信息。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeCustomerGatewayVendors(request *DescribeCustomerGatewayVendorsRequest) (response *DescribeCustomerGatewayVendorsResponse, err error) { if request == nil { request = NewDescribeCustomerGatewayVendorsRequest() @@ -7216,8 +7409,9 @@ func (c *Client) DescribeCustomerGatewayVendors(request *DescribeCustomerGateway // 本接口(DescribeCustomerGatewayVendors)用于查询可支持的对端网关厂商信息。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeCustomerGatewayVendorsWithContext(ctx context.Context, request *DescribeCustomerGatewayVendorsRequest) (response *DescribeCustomerGatewayVendorsResponse, err error) { if request == nil { request = NewDescribeCustomerGatewayVendorsRequest() @@ -7249,8 +7443,9 @@ func NewDescribeCustomerGatewaysResponse() (response *DescribeCustomerGatewaysRe // 本接口(DescribeCustomerGateways)用于查询对端网关列表。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeCustomerGateways(request *DescribeCustomerGatewaysRequest) (response *DescribeCustomerGatewaysResponse, err error) { if request == nil { request = NewDescribeCustomerGatewaysRequest() @@ -7265,8 +7460,9 @@ func (c *Client) DescribeCustomerGateways(request *DescribeCustomerGatewaysReque // 本接口(DescribeCustomerGateways)用于查询对端网关列表。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeCustomerGatewaysWithContext(ctx context.Context, request *DescribeCustomerGatewaysRequest) (response *DescribeCustomerGatewaysResponse, err error) { if request == nil { request = NewDescribeCustomerGatewaysRequest() @@ -7298,11 +7494,12 @@ func NewDescribeDhcpIpsResponse() (response *DescribeDhcpIpsResponse) { // 本接口(DescribeDhcpIps)用于查询DhcpIp列表 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeDhcpIps(request *DescribeDhcpIpsRequest) (response *DescribeDhcpIpsResponse, err error) { if request == nil { request = NewDescribeDhcpIpsRequest() @@ -7317,11 +7514,12 @@ func (c *Client) DescribeDhcpIps(request *DescribeDhcpIpsRequest) (response *Des // 本接口(DescribeDhcpIps)用于查询DhcpIp列表 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeDhcpIpsWithContext(ctx context.Context, request *DescribeDhcpIpsRequest) (response *DescribeDhcpIpsResponse, err error) { if request == nil { request = NewDescribeDhcpIpsRequest() @@ -7353,8 +7551,9 @@ func NewDescribeDirectConnectGatewayCcnRoutesResponse() (response *DescribeDirec // 本接口(DescribeDirectConnectGatewayCcnRoutes)用于查询专线网关的云联网路由(IDC网段) // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeDirectConnectGatewayCcnRoutes(request *DescribeDirectConnectGatewayCcnRoutesRequest) (response *DescribeDirectConnectGatewayCcnRoutesResponse, err error) { if request == nil { request = NewDescribeDirectConnectGatewayCcnRoutesRequest() @@ -7369,8 +7568,9 @@ func (c *Client) DescribeDirectConnectGatewayCcnRoutes(request *DescribeDirectCo // 本接口(DescribeDirectConnectGatewayCcnRoutes)用于查询专线网关的云联网路由(IDC网段) // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeDirectConnectGatewayCcnRoutesWithContext(ctx context.Context, request *DescribeDirectConnectGatewayCcnRoutesRequest) (response *DescribeDirectConnectGatewayCcnRoutesResponse, err error) { if request == nil { request = NewDescribeDirectConnectGatewayCcnRoutesRequest() @@ -7402,13 +7602,14 @@ func NewDescribeDirectConnectGatewaysResponse() (response *DescribeDirectConnect // 本接口(DescribeDirectConnectGateways)用于查询专线网关。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" func (c *Client) DescribeDirectConnectGateways(request *DescribeDirectConnectGatewaysRequest) (response *DescribeDirectConnectGatewaysResponse, err error) { if request == nil { request = NewDescribeDirectConnectGatewaysRequest() @@ -7423,13 +7624,14 @@ func (c *Client) DescribeDirectConnectGateways(request *DescribeDirectConnectGat // 本接口(DescribeDirectConnectGateways)用于查询专线网关。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" func (c *Client) DescribeDirectConnectGatewaysWithContext(ctx context.Context, request *DescribeDirectConnectGatewaysRequest) (response *DescribeDirectConnectGatewaysResponse, err error) { if request == nil { request = NewDescribeDirectConnectGatewaysRequest() @@ -7461,8 +7663,9 @@ func NewDescribeFlowLogResponse() (response *DescribeFlowLogResponse) { // 本接口(DescribeFlowLog)用于查询流日志实例信息 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeFlowLog(request *DescribeFlowLogRequest) (response *DescribeFlowLogResponse, err error) { if request == nil { request = NewDescribeFlowLogRequest() @@ -7477,8 +7680,9 @@ func (c *Client) DescribeFlowLog(request *DescribeFlowLogRequest) (response *Des // 本接口(DescribeFlowLog)用于查询流日志实例信息 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeFlowLogWithContext(ctx context.Context, request *DescribeFlowLogRequest) (response *DescribeFlowLogResponse, err error) { if request == nil { request = NewDescribeFlowLogRequest() @@ -7510,9 +7714,10 @@ func NewDescribeFlowLogsResponse() (response *DescribeFlowLogsResponse) { // 本接口(DescribeFlowLogs)用于查询获取流日志集合 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeFlowLogs(request *DescribeFlowLogsRequest) (response *DescribeFlowLogsResponse, err error) { if request == nil { request = NewDescribeFlowLogsRequest() @@ -7527,9 +7732,10 @@ func (c *Client) DescribeFlowLogs(request *DescribeFlowLogsRequest) (response *D // 本接口(DescribeFlowLogs)用于查询获取流日志集合 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeFlowLogsWithContext(ctx context.Context, request *DescribeFlowLogsRequest) (response *DescribeFlowLogsResponse, err error) { if request == nil { request = NewDescribeFlowLogsRequest() @@ -7565,9 +7771,10 @@ func NewDescribeGatewayFlowMonitorDetailResponse() (response *DescribeGatewayFlo // * 如果网关有流量,但调用本接口没有返回数据,请在控制台对应网关详情页确认是否开启网关流量监控。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeGatewayFlowMonitorDetail(request *DescribeGatewayFlowMonitorDetailRequest) (response *DescribeGatewayFlowMonitorDetailResponse, err error) { if request == nil { request = NewDescribeGatewayFlowMonitorDetailRequest() @@ -7586,9 +7793,10 @@ func (c *Client) DescribeGatewayFlowMonitorDetail(request *DescribeGatewayFlowMo // * 如果网关有流量,但调用本接口没有返回数据,请在控制台对应网关详情页确认是否开启网关流量监控。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeGatewayFlowMonitorDetailWithContext(ctx context.Context, request *DescribeGatewayFlowMonitorDetailRequest) (response *DescribeGatewayFlowMonitorDetailResponse, err error) { if request == nil { request = NewDescribeGatewayFlowMonitorDetailRequest() @@ -7620,9 +7828,10 @@ func NewDescribeGatewayFlowQosResponse() (response *DescribeGatewayFlowQosRespon // 本接口(DescribeGatewayFlowQos)用于查询网关来访IP流控带宽。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) DescribeGatewayFlowQos(request *DescribeGatewayFlowQosRequest) (response *DescribeGatewayFlowQosResponse, err error) { if request == nil { request = NewDescribeGatewayFlowQosRequest() @@ -7637,9 +7846,10 @@ func (c *Client) DescribeGatewayFlowQos(request *DescribeGatewayFlowQosRequest) // 本接口(DescribeGatewayFlowQos)用于查询网关来访IP流控带宽。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) DescribeGatewayFlowQosWithContext(ctx context.Context, request *DescribeGatewayFlowQosRequest) (response *DescribeGatewayFlowQosResponse, err error) { if request == nil { request = NewDescribeGatewayFlowQosRequest() @@ -7671,10 +7881,11 @@ func NewDescribeHaVipsResponse() (response *DescribeHaVipsResponse) { // 本接口(DescribeHaVips)用于查询高可用虚拟IP(HAVIP)列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeHaVips(request *DescribeHaVipsRequest) (response *DescribeHaVipsResponse, err error) { if request == nil { request = NewDescribeHaVipsRequest() @@ -7689,10 +7900,11 @@ func (c *Client) DescribeHaVips(request *DescribeHaVipsRequest) (response *Descr // 本接口(DescribeHaVips)用于查询高可用虚拟IP(HAVIP)列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeHaVipsWithContext(ctx context.Context, request *DescribeHaVipsRequest) (response *DescribeHaVipsResponse, err error) { if request == nil { request = NewDescribeHaVipsRequest() @@ -7724,14 +7936,15 @@ func NewDescribeIp6AddressesResponse() (response *DescribeIp6AddressesResponse) // 该接口用于查询IPV6地址信息 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_NETWORKINTERFACEIDMALFORMED = "InvalidParameterValue.NetworkInterfaceIdMalformed" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_NETWORKINTERFACEIDMALFORMED = "InvalidParameterValue.NetworkInterfaceIdMalformed" func (c *Client) DescribeIp6Addresses(request *DescribeIp6AddressesRequest) (response *DescribeIp6AddressesResponse, err error) { if request == nil { request = NewDescribeIp6AddressesRequest() @@ -7746,14 +7959,15 @@ func (c *Client) DescribeIp6Addresses(request *DescribeIp6AddressesRequest) (res // 该接口用于查询IPV6地址信息 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_NETWORKINTERFACEIDMALFORMED = "InvalidParameterValue.NetworkInterfaceIdMalformed" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_NETWORKINTERFACEIDMALFORMED = "InvalidParameterValue.NetworkInterfaceIdMalformed" func (c *Client) DescribeIp6AddressesWithContext(ctx context.Context, request *DescribeIp6AddressesRequest) (response *DescribeIp6AddressesResponse, err error) { if request == nil { request = NewDescribeIp6AddressesRequest() @@ -7785,7 +7999,8 @@ func NewDescribeIp6TranslatorQuotaResponse() (response *DescribeIp6TranslatorQuo // 查询账户在指定地域IPV6转换实例和规则的配额 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" +// +// INTERNALSERVERERROR = "InternalServerError" func (c *Client) DescribeIp6TranslatorQuota(request *DescribeIp6TranslatorQuotaRequest) (response *DescribeIp6TranslatorQuotaResponse, err error) { if request == nil { request = NewDescribeIp6TranslatorQuotaRequest() @@ -7800,7 +8015,8 @@ func (c *Client) DescribeIp6TranslatorQuota(request *DescribeIp6TranslatorQuotaR // 查询账户在指定地域IPV6转换实例和规则的配额 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" +// +// INTERNALSERVERERROR = "InternalServerError" func (c *Client) DescribeIp6TranslatorQuotaWithContext(ctx context.Context, request *DescribeIp6TranslatorQuotaRequest) (response *DescribeIp6TranslatorQuotaResponse, err error) { if request == nil { request = NewDescribeIp6TranslatorQuotaRequest() @@ -7834,8 +8050,9 @@ func NewDescribeIp6TranslatorsResponse() (response *DescribeIp6TranslatorsRespon // 2. 支持过滤查询 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) DescribeIp6Translators(request *DescribeIp6TranslatorsRequest) (response *DescribeIp6TranslatorsResponse, err error) { if request == nil { request = NewDescribeIp6TranslatorsRequest() @@ -7852,8 +8069,9 @@ func (c *Client) DescribeIp6Translators(request *DescribeIp6TranslatorsRequest) // 2. 支持过滤查询 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) DescribeIp6TranslatorsWithContext(ctx context.Context, request *DescribeIp6TranslatorsRequest) (response *DescribeIp6TranslatorsResponse, err error) { if request == nil { request = NewDescribeIp6TranslatorsRequest() @@ -7885,11 +8103,12 @@ func NewDescribeIpGeolocationDatabaseUrlResponse() (response *DescribeIpGeolocat // 本接口(DescribeIpGeolocationDatabaseUrl)用于获取IP地理位置库下载链接。 // // 可能返回的错误码: -// AUTHFAILURE = "AuthFailure" -// INTERNALERROR = "InternalError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// +// AUTHFAILURE = "AuthFailure" +// INTERNALERROR = "InternalError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" func (c *Client) DescribeIpGeolocationDatabaseUrl(request *DescribeIpGeolocationDatabaseUrlRequest) (response *DescribeIpGeolocationDatabaseUrlResponse, err error) { if request == nil { request = NewDescribeIpGeolocationDatabaseUrlRequest() @@ -7904,11 +8123,12 @@ func (c *Client) DescribeIpGeolocationDatabaseUrl(request *DescribeIpGeolocation // 本接口(DescribeIpGeolocationDatabaseUrl)用于获取IP地理位置库下载链接。 // // 可能返回的错误码: -// AUTHFAILURE = "AuthFailure" -// INTERNALERROR = "InternalError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// +// AUTHFAILURE = "AuthFailure" +// INTERNALERROR = "InternalError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" func (c *Client) DescribeIpGeolocationDatabaseUrlWithContext(ctx context.Context, request *DescribeIpGeolocationDatabaseUrlRequest) (response *DescribeIpGeolocationDatabaseUrlResponse, err error) { if request == nil { request = NewDescribeIpGeolocationDatabaseUrlRequest() @@ -7942,12 +8162,13 @@ func NewDescribeIpGeolocationInfosResponse() (response *DescribeIpGeolocationInf // 本接口目前处于内测中,如需使用,请提交 [工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=660&source=0&data_title=%E5%BC%B9%E6%80%A7%E5%85%AC%E7%BD%91%20EIP&level3_id=662&queue=96&scene_code=16400&step=2)。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) DescribeIpGeolocationInfos(request *DescribeIpGeolocationInfosRequest) (response *DescribeIpGeolocationInfosResponse, err error) { if request == nil { request = NewDescribeIpGeolocationInfosRequest() @@ -7964,12 +8185,13 @@ func (c *Client) DescribeIpGeolocationInfos(request *DescribeIpGeolocationInfosR // 本接口目前处于内测中,如需使用,请提交 [工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=660&source=0&data_title=%E5%BC%B9%E6%80%A7%E5%85%AC%E7%BD%91%20EIP&level3_id=662&queue=96&scene_code=16400&step=2)。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_COMBINATION = "InvalidParameterValue.Combination" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) DescribeIpGeolocationInfosWithContext(ctx context.Context, request *DescribeIpGeolocationInfosRequest) (response *DescribeIpGeolocationInfosResponse, err error) { if request == nil { request = NewDescribeIpGeolocationInfosRequest() @@ -8001,12 +8223,13 @@ func NewDescribeLocalGatewayResponse() (response *DescribeLocalGatewayResponse) // 该接口用于查询CDC的本地网关。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeLocalGateway(request *DescribeLocalGatewayRequest) (response *DescribeLocalGatewayResponse, err error) { if request == nil { request = NewDescribeLocalGatewayRequest() @@ -8021,12 +8244,13 @@ func (c *Client) DescribeLocalGateway(request *DescribeLocalGatewayRequest) (res // 该接口用于查询CDC的本地网关。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeLocalGatewayWithContext(ctx context.Context, request *DescribeLocalGatewayRequest) (response *DescribeLocalGatewayResponse, err error) { if request == nil { request = NewDescribeLocalGatewayRequest() @@ -8058,15 +8282,16 @@ func NewDescribeNatGatewayDestinationIpPortTranslationNatRulesResponse() (respon // 本接口(DescribeNatGatewayDestinationIpPortTranslationNatRules)用于查询NAT网关端口转发规则对象数组。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" func (c *Client) DescribeNatGatewayDestinationIpPortTranslationNatRules(request *DescribeNatGatewayDestinationIpPortTranslationNatRulesRequest) (response *DescribeNatGatewayDestinationIpPortTranslationNatRulesResponse, err error) { if request == nil { request = NewDescribeNatGatewayDestinationIpPortTranslationNatRulesRequest() @@ -8081,15 +8306,16 @@ func (c *Client) DescribeNatGatewayDestinationIpPortTranslationNatRules(request // 本接口(DescribeNatGatewayDestinationIpPortTranslationNatRules)用于查询NAT网关端口转发规则对象数组。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" func (c *Client) DescribeNatGatewayDestinationIpPortTranslationNatRulesWithContext(ctx context.Context, request *DescribeNatGatewayDestinationIpPortTranslationNatRulesRequest) (response *DescribeNatGatewayDestinationIpPortTranslationNatRulesResponse, err error) { if request == nil { request = NewDescribeNatGatewayDestinationIpPortTranslationNatRulesRequest() @@ -8121,10 +8347,11 @@ func NewDescribeNatGatewayDirectConnectGatewayRouteResponse() (response *Describ // 查询专线绑定NAT的路由 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" func (c *Client) DescribeNatGatewayDirectConnectGatewayRoute(request *DescribeNatGatewayDirectConnectGatewayRouteRequest) (response *DescribeNatGatewayDirectConnectGatewayRouteResponse, err error) { if request == nil { request = NewDescribeNatGatewayDirectConnectGatewayRouteRequest() @@ -8139,10 +8366,11 @@ func (c *Client) DescribeNatGatewayDirectConnectGatewayRoute(request *DescribeNa // 查询专线绑定NAT的路由 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" func (c *Client) DescribeNatGatewayDirectConnectGatewayRouteWithContext(ctx context.Context, request *DescribeNatGatewayDirectConnectGatewayRouteRequest) (response *DescribeNatGatewayDirectConnectGatewayRouteResponse, err error) { if request == nil { request = NewDescribeNatGatewayDirectConnectGatewayRouteRequest() @@ -8174,13 +8402,14 @@ func NewDescribeNatGatewaySourceIpTranslationNatRulesResponse() (response *Descr // 本接口(DescribeNatGatewaySourceIpTranslationNatRules)用于查询NAT网关SNAT转发规则对象数组。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeNatGatewaySourceIpTranslationNatRules(request *DescribeNatGatewaySourceIpTranslationNatRulesRequest) (response *DescribeNatGatewaySourceIpTranslationNatRulesResponse, err error) { if request == nil { request = NewDescribeNatGatewaySourceIpTranslationNatRulesRequest() @@ -8195,13 +8424,14 @@ func (c *Client) DescribeNatGatewaySourceIpTranslationNatRules(request *Describe // 本接口(DescribeNatGatewaySourceIpTranslationNatRules)用于查询NAT网关SNAT转发规则对象数组。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeNatGatewaySourceIpTranslationNatRulesWithContext(ctx context.Context, request *DescribeNatGatewaySourceIpTranslationNatRulesRequest) (response *DescribeNatGatewaySourceIpTranslationNatRulesResponse, err error) { if request == nil { request = NewDescribeNatGatewaySourceIpTranslationNatRulesRequest() @@ -8233,10 +8463,11 @@ func NewDescribeNatGatewaysResponse() (response *DescribeNatGatewaysResponse) { // 本接口(DescribeNatGateways)用于查询 NAT 网关。 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" func (c *Client) DescribeNatGateways(request *DescribeNatGatewaysRequest) (response *DescribeNatGatewaysResponse, err error) { if request == nil { request = NewDescribeNatGatewaysRequest() @@ -8251,10 +8482,11 @@ func (c *Client) DescribeNatGateways(request *DescribeNatGatewaysRequest) (respo // 本接口(DescribeNatGateways)用于查询 NAT 网关。 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" func (c *Client) DescribeNatGatewaysWithContext(ctx context.Context, request *DescribeNatGatewaysRequest) (response *DescribeNatGatewaysResponse, err error) { if request == nil { request = NewDescribeNatGatewaysRequest() @@ -8286,13 +8518,14 @@ func NewDescribeNetDetectStatesResponse() (response *DescribeNetDetectStatesResp // 本接口(DescribeNetDetectStates)用于查询网络探测验证结果列表。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeNetDetectStates(request *DescribeNetDetectStatesRequest) (response *DescribeNetDetectStatesResponse, err error) { if request == nil { request = NewDescribeNetDetectStatesRequest() @@ -8307,13 +8540,14 @@ func (c *Client) DescribeNetDetectStates(request *DescribeNetDetectStatesRequest // 本接口(DescribeNetDetectStates)用于查询网络探测验证结果列表。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeNetDetectStatesWithContext(ctx context.Context, request *DescribeNetDetectStatesRequest) (response *DescribeNetDetectStatesResponse, err error) { if request == nil { request = NewDescribeNetDetectStatesRequest() @@ -8345,11 +8579,12 @@ func NewDescribeNetDetectsResponse() (response *DescribeNetDetectsResponse) { // 本接口(DescribeNetDetects)用于查询网络探测列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeNetDetects(request *DescribeNetDetectsRequest) (response *DescribeNetDetectsResponse, err error) { if request == nil { request = NewDescribeNetDetectsRequest() @@ -8364,11 +8599,12 @@ func (c *Client) DescribeNetDetects(request *DescribeNetDetectsRequest) (respons // 本接口(DescribeNetDetects)用于查询网络探测列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeNetDetectsWithContext(ctx context.Context, request *DescribeNetDetectsRequest) (response *DescribeNetDetectsResponse, err error) { if request == nil { request = NewDescribeNetDetectsRequest() @@ -8400,13 +8636,14 @@ func NewDescribeNetworkAclsResponse() (response *DescribeNetworkAclsResponse) { // 本接口(DescribeNetworkAcls)用于查询网络ACL列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" func (c *Client) DescribeNetworkAcls(request *DescribeNetworkAclsRequest) (response *DescribeNetworkAclsResponse, err error) { if request == nil { request = NewDescribeNetworkAclsRequest() @@ -8421,13 +8658,14 @@ func (c *Client) DescribeNetworkAcls(request *DescribeNetworkAclsRequest) (respo // 本接口(DescribeNetworkAcls)用于查询网络ACL列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" func (c *Client) DescribeNetworkAclsWithContext(ctx context.Context, request *DescribeNetworkAclsRequest) (response *DescribeNetworkAclsResponse, err error) { if request == nil { request = NewDescribeNetworkAclsRequest() @@ -8459,10 +8697,11 @@ func NewDescribeNetworkInterfaceLimitResponse() (response *DescribeNetworkInterf // 本接口(DescribeNetworkInterfaceLimit)根据CVM实例ID或弹性网卡ID查询弹性网卡配额,返回该CVM实例或弹性网卡能绑定的弹性网卡配额,以及弹性网卡可以分配的IP配额 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeNetworkInterfaceLimit(request *DescribeNetworkInterfaceLimitRequest) (response *DescribeNetworkInterfaceLimitResponse, err error) { if request == nil { request = NewDescribeNetworkInterfaceLimitRequest() @@ -8477,10 +8716,11 @@ func (c *Client) DescribeNetworkInterfaceLimit(request *DescribeNetworkInterface // 本接口(DescribeNetworkInterfaceLimit)根据CVM实例ID或弹性网卡ID查询弹性网卡配额,返回该CVM实例或弹性网卡能绑定的弹性网卡配额,以及弹性网卡可以分配的IP配额 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeNetworkInterfaceLimitWithContext(ctx context.Context, request *DescribeNetworkInterfaceLimitRequest) (response *DescribeNetworkInterfaceLimitResponse, err error) { if request == nil { request = NewDescribeNetworkInterfaceLimitRequest() @@ -8512,14 +8752,15 @@ func NewDescribeNetworkInterfacesResponse() (response *DescribeNetworkInterfaces // 本接口(DescribeNetworkInterfaces)用于查询弹性网卡列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeNetworkInterfaces(request *DescribeNetworkInterfacesRequest) (response *DescribeNetworkInterfacesResponse, err error) { if request == nil { request = NewDescribeNetworkInterfacesRequest() @@ -8534,14 +8775,15 @@ func (c *Client) DescribeNetworkInterfaces(request *DescribeNetworkInterfacesReq // 本接口(DescribeNetworkInterfaces)用于查询弹性网卡列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeNetworkInterfacesWithContext(ctx context.Context, request *DescribeNetworkInterfacesRequest) (response *DescribeNetworkInterfacesResponse, err error) { if request == nil { request = NewDescribeNetworkInterfacesRequest() @@ -8573,8 +8815,9 @@ func NewDescribeProductQuotaResponse() (response *DescribeProductQuotaResponse) // 本接口用于查询网络产品的配额信息 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" func (c *Client) DescribeProductQuota(request *DescribeProductQuotaRequest) (response *DescribeProductQuotaResponse, err error) { if request == nil { request = NewDescribeProductQuotaRequest() @@ -8589,8 +8832,9 @@ func (c *Client) DescribeProductQuota(request *DescribeProductQuotaRequest) (res // 本接口用于查询网络产品的配额信息 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" func (c *Client) DescribeProductQuotaWithContext(ctx context.Context, request *DescribeProductQuotaRequest) (response *DescribeProductQuotaResponse, err error) { if request == nil { request = NewDescribeProductQuotaRequest() @@ -8622,7 +8866,8 @@ func NewDescribeRouteConflictsResponse() (response *DescribeRouteConflictsRespon // 本接口(DescribeRouteConflicts)用于查询自定义路由策略与云联网路由策略冲突列表 // // 可能返回的错误码: -// RESOURCENOTFOUND = "ResourceNotFound" +// +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeRouteConflicts(request *DescribeRouteConflictsRequest) (response *DescribeRouteConflictsResponse, err error) { if request == nil { request = NewDescribeRouteConflictsRequest() @@ -8637,7 +8882,8 @@ func (c *Client) DescribeRouteConflicts(request *DescribeRouteConflictsRequest) // 本接口(DescribeRouteConflicts)用于查询自定义路由策略与云联网路由策略冲突列表 // // 可能返回的错误码: -// RESOURCENOTFOUND = "ResourceNotFound" +// +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeRouteConflictsWithContext(ctx context.Context, request *DescribeRouteConflictsRequest) (response *DescribeRouteConflictsResponse, err error) { if request == nil { request = NewDescribeRouteConflictsRequest() @@ -8666,16 +8912,18 @@ func NewDescribeRouteTablesResponse() (response *DescribeRouteTablesResponse) { } // DescribeRouteTables -// 本接口(DescribeRouteTables)用于查询路由表。 +// +// 本接口(DescribeRouteTables)用于查询路由表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeRouteTables(request *DescribeRouteTablesRequest) (response *DescribeRouteTablesResponse, err error) { if request == nil { request = NewDescribeRouteTablesRequest() @@ -8687,16 +8935,18 @@ func (c *Client) DescribeRouteTables(request *DescribeRouteTablesRequest) (respo } // DescribeRouteTables -// 本接口(DescribeRouteTables)用于查询路由表。 +// +// 本接口(DescribeRouteTables)用于查询路由表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeRouteTablesWithContext(ctx context.Context, request *DescribeRouteTablesRequest) (response *DescribeRouteTablesResponse, err error) { if request == nil { request = NewDescribeRouteTablesRequest() @@ -8728,9 +8978,10 @@ func NewDescribeSecurityGroupAssociationStatisticsResponse() (response *Describe // 本接口(DescribeSecurityGroupAssociationStatistics)用于查询安全组关联的实例统计。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeSecurityGroupAssociationStatistics(request *DescribeSecurityGroupAssociationStatisticsRequest) (response *DescribeSecurityGroupAssociationStatisticsResponse, err error) { if request == nil { request = NewDescribeSecurityGroupAssociationStatisticsRequest() @@ -8745,9 +8996,10 @@ func (c *Client) DescribeSecurityGroupAssociationStatistics(request *DescribeSec // 本接口(DescribeSecurityGroupAssociationStatistics)用于查询安全组关联的实例统计。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeSecurityGroupAssociationStatisticsWithContext(ctx context.Context, request *DescribeSecurityGroupAssociationStatisticsRequest) (response *DescribeSecurityGroupAssociationStatisticsResponse, err error) { if request == nil { request = NewDescribeSecurityGroupAssociationStatisticsRequest() @@ -8779,9 +9031,10 @@ func NewDescribeSecurityGroupLimitsResponse() (response *DescribeSecurityGroupLi // 本接口(DescribeSecurityGroupLimits)用于查询用户安全组配额。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeSecurityGroupLimits(request *DescribeSecurityGroupLimitsRequest) (response *DescribeSecurityGroupLimitsResponse, err error) { if request == nil { request = NewDescribeSecurityGroupLimitsRequest() @@ -8796,9 +9049,10 @@ func (c *Client) DescribeSecurityGroupLimits(request *DescribeSecurityGroupLimit // 本接口(DescribeSecurityGroupLimits)用于查询用户安全组配额。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeSecurityGroupLimitsWithContext(ctx context.Context, request *DescribeSecurityGroupLimitsRequest) (response *DescribeSecurityGroupLimitsResponse, err error) { if request == nil { request = NewDescribeSecurityGroupLimitsRequest() @@ -8830,9 +9084,10 @@ func NewDescribeSecurityGroupPoliciesResponse() (response *DescribeSecurityGroup // 本接口(DescribeSecurityGroupPolicies)用于查询安全组规则。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeSecurityGroupPolicies(request *DescribeSecurityGroupPoliciesRequest) (response *DescribeSecurityGroupPoliciesResponse, err error) { if request == nil { request = NewDescribeSecurityGroupPoliciesRequest() @@ -8847,9 +9102,10 @@ func (c *Client) DescribeSecurityGroupPolicies(request *DescribeSecurityGroupPol // 本接口(DescribeSecurityGroupPolicies)用于查询安全组规则。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeSecurityGroupPoliciesWithContext(ctx context.Context, request *DescribeSecurityGroupPoliciesRequest) (response *DescribeSecurityGroupPoliciesResponse, err error) { if request == nil { request = NewDescribeSecurityGroupPoliciesRequest() @@ -8881,9 +9137,10 @@ func NewDescribeSecurityGroupReferencesResponse() (response *DescribeSecurityGro // 本接口(DescribeSecurityGroupReferences)用于查询安全组被引用信息。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeSecurityGroupReferences(request *DescribeSecurityGroupReferencesRequest) (response *DescribeSecurityGroupReferencesResponse, err error) { if request == nil { request = NewDescribeSecurityGroupReferencesRequest() @@ -8898,9 +9155,10 @@ func (c *Client) DescribeSecurityGroupReferences(request *DescribeSecurityGroupR // 本接口(DescribeSecurityGroupReferences)用于查询安全组被引用信息。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeSecurityGroupReferencesWithContext(ctx context.Context, request *DescribeSecurityGroupReferencesRequest) (response *DescribeSecurityGroupReferencesResponse, err error) { if request == nil { request = NewDescribeSecurityGroupReferencesRequest() @@ -8932,14 +9190,15 @@ func NewDescribeSecurityGroupsResponse() (response *DescribeSecurityGroupsRespon // 本接口(DescribeSecurityGroups)用于查询安全组。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeSecurityGroups(request *DescribeSecurityGroupsRequest) (response *DescribeSecurityGroupsResponse, err error) { if request == nil { request = NewDescribeSecurityGroupsRequest() @@ -8954,14 +9213,15 @@ func (c *Client) DescribeSecurityGroups(request *DescribeSecurityGroupsRequest) // 本接口(DescribeSecurityGroups)用于查询安全组。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeSecurityGroupsWithContext(ctx context.Context, request *DescribeSecurityGroupsRequest) (response *DescribeSecurityGroupsResponse, err error) { if request == nil { request = NewDescribeSecurityGroupsRequest() @@ -8993,9 +9253,10 @@ func NewDescribeServiceTemplateGroupsResponse() (response *DescribeServiceTempla // 本接口(DescribeServiceTemplateGroups)用于查询协议端口模板集合 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeServiceTemplateGroups(request *DescribeServiceTemplateGroupsRequest) (response *DescribeServiceTemplateGroupsResponse, err error) { if request == nil { request = NewDescribeServiceTemplateGroupsRequest() @@ -9010,9 +9271,10 @@ func (c *Client) DescribeServiceTemplateGroups(request *DescribeServiceTemplateG // 本接口(DescribeServiceTemplateGroups)用于查询协议端口模板集合 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeServiceTemplateGroupsWithContext(ctx context.Context, request *DescribeServiceTemplateGroupsRequest) (response *DescribeServiceTemplateGroupsResponse, err error) { if request == nil { request = NewDescribeServiceTemplateGroupsRequest() @@ -9044,8 +9306,9 @@ func NewDescribeServiceTemplatesResponse() (response *DescribeServiceTemplatesRe // 本接口(DescribeServiceTemplates)用于查询协议端口模板 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeServiceTemplates(request *DescribeServiceTemplatesRequest) (response *DescribeServiceTemplatesResponse, err error) { if request == nil { request = NewDescribeServiceTemplatesRequest() @@ -9060,8 +9323,9 @@ func (c *Client) DescribeServiceTemplates(request *DescribeServiceTemplatesReque // 本接口(DescribeServiceTemplates)用于查询协议端口模板 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) DescribeServiceTemplatesWithContext(ctx context.Context, request *DescribeServiceTemplatesRequest) (response *DescribeServiceTemplatesResponse, err error) { if request == nil { request = NewDescribeServiceTemplatesRequest() @@ -9093,15 +9357,16 @@ func NewDescribeSubnetsResponse() (response *DescribeSubnetsResponse) { // 本接口(DescribeSubnets)用于查询子网列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeSubnets(request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error) { if request == nil { request = NewDescribeSubnetsRequest() @@ -9116,15 +9381,16 @@ func (c *Client) DescribeSubnets(request *DescribeSubnetsRequest) (response *Des // 本接口(DescribeSubnets)用于查询子网列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_EMPTY = "InvalidParameterValue.Empty" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeSubnetsWithContext(ctx context.Context, request *DescribeSubnetsRequest) (response *DescribeSubnetsResponse, err error) { if request == nil { request = NewDescribeSubnetsRequest() @@ -9156,9 +9422,10 @@ func NewDescribeTaskResultResponse() (response *DescribeTaskResultResponse) { // 查询EIP异步任务执行结果 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) DescribeTaskResult(request *DescribeTaskResultRequest) (response *DescribeTaskResultResponse, err error) { if request == nil { request = NewDescribeTaskResultRequest() @@ -9173,9 +9440,10 @@ func (c *Client) DescribeTaskResult(request *DescribeTaskResultRequest) (respons // 查询EIP异步任务执行结果 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) DescribeTaskResultWithContext(ctx context.Context, request *DescribeTaskResultRequest) (response *DescribeTaskResultResponse, err error) { if request == nil { request = NewDescribeTaskResultRequest() @@ -9207,9 +9475,10 @@ func NewDescribeTemplateLimitsResponse() (response *DescribeTemplateLimitsRespon // 本接口(DescribeTemplateLimits)用于查询参数模板配额列表。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) DescribeTemplateLimits(request *DescribeTemplateLimitsRequest) (response *DescribeTemplateLimitsResponse, err error) { if request == nil { request = NewDescribeTemplateLimitsRequest() @@ -9224,9 +9493,10 @@ func (c *Client) DescribeTemplateLimits(request *DescribeTemplateLimitsRequest) // 本接口(DescribeTemplateLimits)用于查询参数模板配额列表。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// MISSINGPARAMETER = "MissingParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// MISSINGPARAMETER = "MissingParameter" func (c *Client) DescribeTemplateLimitsWithContext(ctx context.Context, request *DescribeTemplateLimitsRequest) (response *DescribeTemplateLimitsResponse, err error) { if request == nil { request = NewDescribeTemplateLimitsRequest() @@ -9258,12 +9528,13 @@ func NewDescribeVpcEndPointResponse() (response *DescribeVpcEndPointResponse) { // 查询终端节点列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCENOTFOUND_SVCNOTEXIST = "ResourceNotFound.SvcNotExist" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_SVCNOTEXIST = "ResourceNotFound.SvcNotExist" func (c *Client) DescribeVpcEndPoint(request *DescribeVpcEndPointRequest) (response *DescribeVpcEndPointResponse, err error) { if request == nil { request = NewDescribeVpcEndPointRequest() @@ -9278,12 +9549,13 @@ func (c *Client) DescribeVpcEndPoint(request *DescribeVpcEndPointRequest) (respo // 查询终端节点列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCENOTFOUND_SVCNOTEXIST = "ResourceNotFound.SvcNotExist" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_SVCNOTEXIST = "ResourceNotFound.SvcNotExist" func (c *Client) DescribeVpcEndPointWithContext(ctx context.Context, request *DescribeVpcEndPointRequest) (response *DescribeVpcEndPointResponse, err error) { if request == nil { request = NewDescribeVpcEndPointRequest() @@ -9315,12 +9587,13 @@ func NewDescribeVpcEndPointServiceResponse() (response *DescribeVpcEndPointServi // 查询终端节点服务列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpcEndPointService(request *DescribeVpcEndPointServiceRequest) (response *DescribeVpcEndPointServiceResponse, err error) { if request == nil { request = NewDescribeVpcEndPointServiceRequest() @@ -9335,12 +9608,13 @@ func (c *Client) DescribeVpcEndPointService(request *DescribeVpcEndPointServiceR // 查询终端节点服务列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpcEndPointServiceWithContext(ctx context.Context, request *DescribeVpcEndPointServiceRequest) (response *DescribeVpcEndPointServiceResponse, err error) { if request == nil { request = NewDescribeVpcEndPointServiceRequest() @@ -9372,8 +9646,9 @@ func NewDescribeVpcEndPointServiceWhiteListResponse() (response *DescribeVpcEndP // 查询终端节点服务的服务白名单列表。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" func (c *Client) DescribeVpcEndPointServiceWhiteList(request *DescribeVpcEndPointServiceWhiteListRequest) (response *DescribeVpcEndPointServiceWhiteListResponse, err error) { if request == nil { request = NewDescribeVpcEndPointServiceWhiteListRequest() @@ -9388,8 +9663,9 @@ func (c *Client) DescribeVpcEndPointServiceWhiteList(request *DescribeVpcEndPoin // 查询终端节点服务的服务白名单列表。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" func (c *Client) DescribeVpcEndPointServiceWhiteListWithContext(ctx context.Context, request *DescribeVpcEndPointServiceWhiteListRequest) (response *DescribeVpcEndPointServiceWhiteListResponse, err error) { if request == nil { request = NewDescribeVpcEndPointServiceWhiteListRequest() @@ -9418,14 +9694,16 @@ func NewDescribeVpcInstancesResponse() (response *DescribeVpcInstancesResponse) } // DescribeVpcInstances -// 本接口(DescribeVpcInstances)用于查询VPC下的云主机实例列表。 +// +// 本接口(DescribeVpcInstances)用于查询VPC下的云主机实例列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpcInstances(request *DescribeVpcInstancesRequest) (response *DescribeVpcInstancesResponse, err error) { if request == nil { request = NewDescribeVpcInstancesRequest() @@ -9437,14 +9715,16 @@ func (c *Client) DescribeVpcInstances(request *DescribeVpcInstancesRequest) (res } // DescribeVpcInstances -// 本接口(DescribeVpcInstances)用于查询VPC下的云主机实例列表。 +// +// 本接口(DescribeVpcInstances)用于查询VPC下的云主机实例列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpcInstancesWithContext(ctx context.Context, request *DescribeVpcInstancesRequest) (response *DescribeVpcInstancesResponse, err error) { if request == nil { request = NewDescribeVpcInstancesRequest() @@ -9478,8 +9758,9 @@ func NewDescribeVpcIpv6AddressesResponse() (response *DescribeVpcIpv6AddressesRe // 只能查询已使用的`IPv6`信息,当查询未使用的IP时,本接口不会报错,但不会出现在返回结果里。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpcIpv6Addresses(request *DescribeVpcIpv6AddressesRequest) (response *DescribeVpcIpv6AddressesResponse, err error) { if request == nil { request = NewDescribeVpcIpv6AddressesRequest() @@ -9496,8 +9777,9 @@ func (c *Client) DescribeVpcIpv6Addresses(request *DescribeVpcIpv6AddressesReque // 只能查询已使用的`IPv6`信息,当查询未使用的IP时,本接口不会报错,但不会出现在返回结果里。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpcIpv6AddressesWithContext(ctx context.Context, request *DescribeVpcIpv6AddressesRequest) (response *DescribeVpcIpv6AddressesResponse, err error) { if request == nil { request = NewDescribeVpcIpv6AddressesRequest() @@ -9587,7 +9869,8 @@ func NewDescribeVpcLimitsResponse() (response *DescribeVpcLimitsResponse) { // * vpc-max-assistant_cidrs(每个VPC可分配的辅助CIDR数) // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" func (c *Client) DescribeVpcLimits(request *DescribeVpcLimitsRequest) (response *DescribeVpcLimitsResponse, err error) { if request == nil { request = NewDescribeVpcLimitsRequest() @@ -9660,7 +9943,8 @@ func (c *Client) DescribeVpcLimits(request *DescribeVpcLimitsRequest) (response // * vpc-max-assistant_cidrs(每个VPC可分配的辅助CIDR数) // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" func (c *Client) DescribeVpcLimitsWithContext(ctx context.Context, request *DescribeVpcLimitsRequest) (response *DescribeVpcLimitsResponse, err error) { if request == nil { request = NewDescribeVpcLimitsRequest() @@ -9694,10 +9978,11 @@ func NewDescribeVpcPrivateIpAddressesResponse() (response *DescribeVpcPrivateIpA // 只能查询已使用的IP信息,当查询未使用的IP时,本接口不会报错,但不会出现在返回结果里。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpcPrivateIpAddresses(request *DescribeVpcPrivateIpAddressesRequest) (response *DescribeVpcPrivateIpAddressesResponse, err error) { if request == nil { request = NewDescribeVpcPrivateIpAddressesRequest() @@ -9714,10 +9999,11 @@ func (c *Client) DescribeVpcPrivateIpAddresses(request *DescribeVpcPrivateIpAddr // 只能查询已使用的IP信息,当查询未使用的IP时,本接口不会报错,但不会出现在返回结果里。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpcPrivateIpAddressesWithContext(ctx context.Context, request *DescribeVpcPrivateIpAddressesRequest) (response *DescribeVpcPrivateIpAddressesResponse, err error) { if request == nil { request = NewDescribeVpcPrivateIpAddressesRequest() @@ -9749,9 +10035,10 @@ func NewDescribeVpcResourceDashboardResponse() (response *DescribeVpcResourceDas // 本接口(DescribeVpcResourceDashboard)用于查看VPC资源信息。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpcResourceDashboard(request *DescribeVpcResourceDashboardRequest) (response *DescribeVpcResourceDashboardResponse, err error) { if request == nil { request = NewDescribeVpcResourceDashboardRequest() @@ -9766,9 +10053,10 @@ func (c *Client) DescribeVpcResourceDashboard(request *DescribeVpcResourceDashbo // 本接口(DescribeVpcResourceDashboard)用于查看VPC资源信息。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpcResourceDashboardWithContext(ctx context.Context, request *DescribeVpcResourceDashboardRequest) (response *DescribeVpcResourceDashboardResponse, err error) { if request == nil { request = NewDescribeVpcResourceDashboardRequest() @@ -9800,10 +10088,11 @@ func NewDescribeVpcTaskResultResponse() (response *DescribeVpcTaskResultResponse // 本接口(DescribeVpcTaskResult)用于查询VPC任务执行结果。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeVpcTaskResult(request *DescribeVpcTaskResultRequest) (response *DescribeVpcTaskResultResponse, err error) { if request == nil { request = NewDescribeVpcTaskResultRequest() @@ -9818,10 +10107,11 @@ func (c *Client) DescribeVpcTaskResult(request *DescribeVpcTaskResultRequest) (r // 本接口(DescribeVpcTaskResult)用于查询VPC任务执行结果。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeVpcTaskResultWithContext(ctx context.Context, request *DescribeVpcTaskResultRequest) (response *DescribeVpcTaskResultResponse, err error) { if request == nil { request = NewDescribeVpcTaskResultRequest() @@ -9853,13 +10143,14 @@ func NewDescribeVpcsResponse() (response *DescribeVpcsResponse) { // 本接口(DescribeVpcs)用于查询私有网络列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpcs(request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error) { if request == nil { request = NewDescribeVpcsRequest() @@ -9874,13 +10165,14 @@ func (c *Client) DescribeVpcs(request *DescribeVpcsRequest) (response *DescribeV // 本接口(DescribeVpcs)用于查询私有网络列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpcsWithContext(ctx context.Context, request *DescribeVpcsRequest) (response *DescribeVpcsResponse, err error) { if request == nil { request = NewDescribeVpcsRequest() @@ -9909,13 +10201,15 @@ func NewDescribeVpnConnectionsResponse() (response *DescribeVpnConnectionsRespon } // DescribeVpnConnections -// 本接口(DescribeVpnConnections)查询VPN通道列表。 +// +// 本接口(DescribeVpnConnections)查询VPN通道列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpnConnections(request *DescribeVpnConnectionsRequest) (response *DescribeVpnConnectionsResponse, err error) { if request == nil { request = NewDescribeVpnConnectionsRequest() @@ -9927,13 +10221,15 @@ func (c *Client) DescribeVpnConnections(request *DescribeVpnConnectionsRequest) } // DescribeVpnConnections -// 本接口(DescribeVpnConnections)查询VPN通道列表。 +// +// 本接口(DescribeVpnConnections)查询VPN通道列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpnConnectionsWithContext(ctx context.Context, request *DescribeVpnConnectionsRequest) (response *DescribeVpnConnectionsResponse, err error) { if request == nil { request = NewDescribeVpnConnectionsRequest() @@ -9965,9 +10261,10 @@ func NewDescribeVpnGatewayCcnRoutesResponse() (response *DescribeVpnGatewayCcnRo // 本接口(DescribeVpnGatewayCcnRoutes)用于查询VPN网关云联网路由 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpnGatewayCcnRoutes(request *DescribeVpnGatewayCcnRoutesRequest) (response *DescribeVpnGatewayCcnRoutesResponse, err error) { if request == nil { request = NewDescribeVpnGatewayCcnRoutesRequest() @@ -9982,9 +10279,10 @@ func (c *Client) DescribeVpnGatewayCcnRoutes(request *DescribeVpnGatewayCcnRoute // 本接口(DescribeVpnGatewayCcnRoutes)用于查询VPN网关云联网路由 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpnGatewayCcnRoutesWithContext(ctx context.Context, request *DescribeVpnGatewayCcnRoutesRequest) (response *DescribeVpnGatewayCcnRoutesResponse, err error) { if request == nil { request = NewDescribeVpnGatewayCcnRoutesRequest() @@ -10016,14 +10314,15 @@ func NewDescribeVpnGatewayRoutesResponse() (response *DescribeVpnGatewayRoutesRe // 查询路由型VPN网关的目的路由 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeVpnGatewayRoutes(request *DescribeVpnGatewayRoutesRequest) (response *DescribeVpnGatewayRoutesResponse, err error) { if request == nil { request = NewDescribeVpnGatewayRoutesRequest() @@ -10038,14 +10337,15 @@ func (c *Client) DescribeVpnGatewayRoutes(request *DescribeVpnGatewayRoutesReque // 查询路由型VPN网关的目的路由 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DescribeVpnGatewayRoutesWithContext(ctx context.Context, request *DescribeVpnGatewayRoutesRequest) (response *DescribeVpnGatewayRoutesResponse, err error) { if request == nil { request = NewDescribeVpnGatewayRoutesRequest() @@ -10077,14 +10377,15 @@ func NewDescribeVpnGatewaysResponse() (response *DescribeVpnGatewaysResponse) { // 本接口(DescribeVpnGateways)用于查询VPN网关列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDVPNGATEWAYID_MALFORMED = "InvalidVpnGatewayId.Malformed" -// INVALIDVPNGATEWAYID_NOTFOUND = "InvalidVpnGatewayId.NotFound" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDVPNGATEWAYID_MALFORMED = "InvalidVpnGatewayId.Malformed" +// INVALIDVPNGATEWAYID_NOTFOUND = "InvalidVpnGatewayId.NotFound" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpnGateways(request *DescribeVpnGatewaysRequest) (response *DescribeVpnGatewaysResponse, err error) { if request == nil { request = NewDescribeVpnGatewaysRequest() @@ -10099,14 +10400,15 @@ func (c *Client) DescribeVpnGateways(request *DescribeVpnGatewaysRequest) (respo // 本接口(DescribeVpnGateways)用于查询VPN网关列表。 // // 可能返回的错误码: -// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" -// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" -// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// INVALIDVPNGATEWAYID_MALFORMED = "InvalidVpnGatewayId.Malformed" -// INVALIDVPNGATEWAYID_NOTFOUND = "InvalidVpnGatewayId.NotFound" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_FILTERINVALIDKEY = "InvalidParameter.FilterInvalidKey" +// INVALIDPARAMETER_FILTERNOTDICT = "InvalidParameter.FilterNotDict" +// INVALIDPARAMETER_FILTERVALUESNOTLIST = "InvalidParameter.FilterValuesNotList" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// INVALIDVPNGATEWAYID_MALFORMED = "InvalidVpnGatewayId.Malformed" +// INVALIDVPNGATEWAYID_NOTFOUND = "InvalidVpnGatewayId.NotFound" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeVpnGatewaysWithContext(ctx context.Context, request *DescribeVpnGatewaysRequest) (response *DescribeVpnGatewaysResponse, err error) { if request == nil { request = NewDescribeVpnGatewaysRequest() @@ -10140,12 +10442,13 @@ func NewDetachCcnInstancesResponse() (response *DetachCcnInstancesResponse) { // 解关联网络实例后,相应的路由策略会一并删除。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" -// UNSUPPORTEDOPERATION_APPIDNOTFOUND = "UnsupportedOperation.AppIdNotFound" -// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" +// UNSUPPORTEDOPERATION_APPIDNOTFOUND = "UnsupportedOperation.AppIdNotFound" +// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DetachCcnInstances(request *DetachCcnInstancesRequest) (response *DetachCcnInstancesResponse, err error) { if request == nil { request = NewDetachCcnInstancesRequest() @@ -10162,12 +10465,13 @@ func (c *Client) DetachCcnInstances(request *DetachCcnInstancesRequest) (respons // 解关联网络实例后,相应的路由策略会一并删除。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" -// UNSUPPORTEDOPERATION_APPIDNOTFOUND = "UnsupportedOperation.AppIdNotFound" -// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" +// UNSUPPORTEDOPERATION_APPIDNOTFOUND = "UnsupportedOperation.AppIdNotFound" +// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) DetachCcnInstancesWithContext(ctx context.Context, request *DetachCcnInstancesRequest) (response *DetachCcnInstancesResponse, err error) { if request == nil { request = NewDetachCcnInstancesRequest() @@ -10203,8 +10507,9 @@ func NewDetachClassicLinkVpcResponse() (response *DetachClassicLinkVpcResponse) // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DetachClassicLinkVpc(request *DetachClassicLinkVpcRequest) (response *DetachClassicLinkVpcResponse, err error) { if request == nil { request = NewDetachClassicLinkVpcRequest() @@ -10223,8 +10528,9 @@ func (c *Client) DetachClassicLinkVpc(request *DetachClassicLinkVpcRequest) (res // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DetachClassicLinkVpcWithContext(ctx context.Context, request *DetachClassicLinkVpcRequest) (response *DetachClassicLinkVpcResponse, err error) { if request == nil { request = NewDetachClassicLinkVpcRequest() @@ -10258,10 +10564,11 @@ func NewDetachNetworkInterfaceResponse() (response *DetachNetworkInterfaceRespon // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) DetachNetworkInterface(request *DetachNetworkInterfaceRequest) (response *DetachNetworkInterfaceResponse, err error) { if request == nil { request = NewDetachNetworkInterfaceRequest() @@ -10278,10 +10585,11 @@ func (c *Client) DetachNetworkInterface(request *DetachNetworkInterfaceRequest) // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) DetachNetworkInterfaceWithContext(ctx context.Context, request *DetachNetworkInterfaceRequest) (response *DetachNetworkInterfaceResponse, err error) { if request == nil { request = NewDetachNetworkInterfaceRequest() @@ -10313,9 +10621,10 @@ func NewDisableCcnRoutesResponse() (response *DisableCcnRoutesResponse) { // 本接口(DisableCcnRoutes)用于禁用已经启用的云联网(CCN)路由 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DisableCcnRoutes(request *DisableCcnRoutesRequest) (response *DisableCcnRoutesResponse, err error) { if request == nil { request = NewDisableCcnRoutesRequest() @@ -10330,9 +10639,10 @@ func (c *Client) DisableCcnRoutes(request *DisableCcnRoutesRequest) (response *D // 本接口(DisableCcnRoutes)用于禁用已经启用的云联网(CCN)路由 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DisableCcnRoutesWithContext(ctx context.Context, request *DisableCcnRoutesRequest) (response *DisableCcnRoutesResponse, err error) { if request == nil { request = NewDisableCcnRoutesRequest() @@ -10364,9 +10674,10 @@ func NewDisableGatewayFlowMonitorResponse() (response *DisableGatewayFlowMonitor // 本接口(DisableGatewayFlowMonitor)用于关闭网关流量监控。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) DisableGatewayFlowMonitor(request *DisableGatewayFlowMonitorRequest) (response *DisableGatewayFlowMonitorResponse, err error) { if request == nil { request = NewDisableGatewayFlowMonitorRequest() @@ -10381,9 +10692,10 @@ func (c *Client) DisableGatewayFlowMonitor(request *DisableGatewayFlowMonitorReq // 本接口(DisableGatewayFlowMonitor)用于关闭网关流量监控。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) DisableGatewayFlowMonitorWithContext(ctx context.Context, request *DisableGatewayFlowMonitorRequest) (response *DisableGatewayFlowMonitorResponse, err error) { if request == nil { request = NewDisableGatewayFlowMonitorRequest() @@ -10415,14 +10727,15 @@ func NewDisableRoutesResponse() (response *DisableRoutesResponse) { // 本接口(DisableRoutes)用于禁用已启用的子网路由 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_DISABLEDNOTIFYCCN = "UnsupportedOperation.DisabledNotifyCcn" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_DISABLEDNOTIFYCCN = "UnsupportedOperation.DisabledNotifyCcn" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) DisableRoutes(request *DisableRoutesRequest) (response *DisableRoutesResponse, err error) { if request == nil { request = NewDisableRoutesRequest() @@ -10437,14 +10750,15 @@ func (c *Client) DisableRoutes(request *DisableRoutesRequest) (response *Disable // 本接口(DisableRoutes)用于禁用已启用的子网路由 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_DISABLEDNOTIFYCCN = "UnsupportedOperation.DisabledNotifyCcn" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_DISABLEDNOTIFYCCN = "UnsupportedOperation.DisabledNotifyCcn" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) DisableRoutesWithContext(ctx context.Context, request *DisableRoutesRequest) (response *DisableRoutesResponse, err error) { if request == nil { request = NewDisableRoutesRequest() @@ -10484,21 +10798,22 @@ func NewDisassociateAddressResponse() (response *DisassociateAddressResponse) { // * EIP 如果被封堵,则不能进行解绑定操作。 // // 可能返回的错误码: -// ADDRESSQUOTALIMITEXCEEDED_DAILYALLOCATE = "AddressQuotaLimitExceeded.DailyAllocate" -// FAILEDOPERATION_ADDRESSENIINFONOTFOUND = "FailedOperation.AddressEniInfoNotFound" -// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDADDRESSIDSTATUS_NOTPERMIT = "InvalidAddressIdStatus.NotPermit" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" -// INVALIDPARAMETERVALUE_ONLYSUPPORTEDFORMASTERNETWORKCARD = "InvalidParameterValue.OnlySupportedForMasterNetworkCard" -// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" -// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" -// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" -// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" +// +// ADDRESSQUOTALIMITEXCEEDED_DAILYALLOCATE = "AddressQuotaLimitExceeded.DailyAllocate" +// FAILEDOPERATION_ADDRESSENIINFONOTFOUND = "FailedOperation.AddressEniInfoNotFound" +// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDADDRESSIDSTATUS_NOTPERMIT = "InvalidAddressIdStatus.NotPermit" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" +// INVALIDPARAMETERVALUE_ONLYSUPPORTEDFORMASTERNETWORKCARD = "InvalidParameterValue.OnlySupportedForMasterNetworkCard" +// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" +// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" +// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" +// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" func (c *Client) DisassociateAddress(request *DisassociateAddressRequest) (response *DisassociateAddressResponse, err error) { if request == nil { request = NewDisassociateAddressRequest() @@ -10521,21 +10836,22 @@ func (c *Client) DisassociateAddress(request *DisassociateAddressRequest) (respo // * EIP 如果被封堵,则不能进行解绑定操作。 // // 可能返回的错误码: -// ADDRESSQUOTALIMITEXCEEDED_DAILYALLOCATE = "AddressQuotaLimitExceeded.DailyAllocate" -// FAILEDOPERATION_ADDRESSENIINFONOTFOUND = "FailedOperation.AddressEniInfoNotFound" -// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDADDRESSIDSTATUS_NOTPERMIT = "InvalidAddressIdStatus.NotPermit" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" -// INVALIDPARAMETERVALUE_ONLYSUPPORTEDFORMASTERNETWORKCARD = "InvalidParameterValue.OnlySupportedForMasterNetworkCard" -// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" -// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" -// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" -// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" +// +// ADDRESSQUOTALIMITEXCEEDED_DAILYALLOCATE = "AddressQuotaLimitExceeded.DailyAllocate" +// FAILEDOPERATION_ADDRESSENIINFONOTFOUND = "FailedOperation.AddressEniInfoNotFound" +// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDADDRESSIDSTATUS_NOTPERMIT = "InvalidAddressIdStatus.NotPermit" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" +// INVALIDPARAMETERVALUE_ONLYSUPPORTEDFORMASTERNETWORKCARD = "InvalidParameterValue.OnlySupportedForMasterNetworkCard" +// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" +// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" +// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" +// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" func (c *Client) DisassociateAddressWithContext(ctx context.Context, request *DisassociateAddressRequest) (response *DisassociateAddressResponse, err error) { if request == nil { request = NewDisassociateAddressRequest() @@ -10571,10 +10887,11 @@ func NewDisassociateDhcpIpWithAddressIpResponse() (response *DisassociateDhcpIpW // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" func (c *Client) DisassociateDhcpIpWithAddressIp(request *DisassociateDhcpIpWithAddressIpRequest) (response *DisassociateDhcpIpWithAddressIpResponse, err error) { if request == nil { request = NewDisassociateDhcpIpWithAddressIpRequest() @@ -10593,10 +10910,11 @@ func (c *Client) DisassociateDhcpIpWithAddressIp(request *DisassociateDhcpIpWith // > // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" func (c *Client) DisassociateDhcpIpWithAddressIpWithContext(ctx context.Context, request *DisassociateDhcpIpWithAddressIpRequest) (response *DisassociateDhcpIpWithAddressIpResponse, err error) { if request == nil { request = NewDisassociateDhcpIpWithAddressIpRequest() @@ -10628,11 +10946,12 @@ func NewDisassociateDirectConnectGatewayNatGatewayResponse() (response *Disassoc // 将专线网关与NAT网关解绑,解绑之后,专线网关将不能通过NAT网关访问公网 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DisassociateDirectConnectGatewayNatGateway(request *DisassociateDirectConnectGatewayNatGatewayRequest) (response *DisassociateDirectConnectGatewayNatGatewayResponse, err error) { if request == nil { request = NewDisassociateDirectConnectGatewayNatGatewayRequest() @@ -10647,11 +10966,12 @@ func (c *Client) DisassociateDirectConnectGatewayNatGateway(request *Disassociat // 将专线网关与NAT网关解绑,解绑之后,专线网关将不能通过NAT网关访问公网 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DisassociateDirectConnectGatewayNatGatewayWithContext(ctx context.Context, request *DisassociateDirectConnectGatewayNatGatewayRequest) (response *DisassociateDirectConnectGatewayNatGatewayResponse, err error) { if request == nil { request = NewDisassociateDirectConnectGatewayNatGatewayRequest() @@ -10683,10 +11003,11 @@ func NewDisassociateNatGatewayAddressResponse() (response *DisassociateNatGatewa // 本接口(DisassociateNatGatewayAddress)用于NAT网关解绑弹性IP。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSDISASSOCIATE = "UnsupportedOperation.PublicIpAddressDisassociate" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSDISASSOCIATE = "UnsupportedOperation.PublicIpAddressDisassociate" func (c *Client) DisassociateNatGatewayAddress(request *DisassociateNatGatewayAddressRequest) (response *DisassociateNatGatewayAddressResponse, err error) { if request == nil { request = NewDisassociateNatGatewayAddressRequest() @@ -10701,10 +11022,11 @@ func (c *Client) DisassociateNatGatewayAddress(request *DisassociateNatGatewayAd // 本接口(DisassociateNatGatewayAddress)用于NAT网关解绑弹性IP。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_PUBLICIPADDRESSDISASSOCIATE = "UnsupportedOperation.PublicIpAddressDisassociate" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_PUBLICIPADDRESSDISASSOCIATE = "UnsupportedOperation.PublicIpAddressDisassociate" func (c *Client) DisassociateNatGatewayAddressWithContext(ctx context.Context, request *DisassociateNatGatewayAddressRequest) (response *DisassociateNatGatewayAddressResponse, err error) { if request == nil { request = NewDisassociateNatGatewayAddressRequest() @@ -10736,10 +11058,11 @@ func NewDisassociateNetworkAclSubnetsResponse() (response *DisassociateNetworkAc // 本接口(DisassociateNetworkAclSubnets)用于网络ACL解关联vpc下的子网。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) DisassociateNetworkAclSubnets(request *DisassociateNetworkAclSubnetsRequest) (response *DisassociateNetworkAclSubnetsResponse, err error) { if request == nil { request = NewDisassociateNetworkAclSubnetsRequest() @@ -10754,10 +11077,11 @@ func (c *Client) DisassociateNetworkAclSubnets(request *DisassociateNetworkAclSu // 本接口(DisassociateNetworkAclSubnets)用于网络ACL解关联vpc下的子网。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) DisassociateNetworkAclSubnetsWithContext(ctx context.Context, request *DisassociateNetworkAclSubnetsRequest) (response *DisassociateNetworkAclSubnetsResponse, err error) { if request == nil { request = NewDisassociateNetworkAclSubnetsRequest() @@ -10789,9 +11113,10 @@ func NewDisassociateNetworkInterfaceSecurityGroupsResponse() (response *Disassoc // 本接口(DisassociateNetworkInterfaceSecurityGroups)用于弹性网卡解绑安全组。支持弹性网卡完全解绑安全组。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DisassociateNetworkInterfaceSecurityGroups(request *DisassociateNetworkInterfaceSecurityGroupsRequest) (response *DisassociateNetworkInterfaceSecurityGroupsResponse, err error) { if request == nil { request = NewDisassociateNetworkInterfaceSecurityGroupsRequest() @@ -10806,9 +11131,10 @@ func (c *Client) DisassociateNetworkInterfaceSecurityGroups(request *Disassociat // 本接口(DisassociateNetworkInterfaceSecurityGroups)用于弹性网卡解绑安全组。支持弹性网卡完全解绑安全组。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) DisassociateNetworkInterfaceSecurityGroupsWithContext(ctx context.Context, request *DisassociateNetworkInterfaceSecurityGroupsRequest) (response *DisassociateNetworkInterfaceSecurityGroupsResponse, err error) { if request == nil { request = NewDisassociateNetworkInterfaceSecurityGroupsRequest() @@ -10840,10 +11166,11 @@ func NewDisassociateVpcEndPointSecurityGroupsResponse() (response *DisassociateV // 终端节点解绑安全组。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DisassociateVpcEndPointSecurityGroups(request *DisassociateVpcEndPointSecurityGroupsRequest) (response *DisassociateVpcEndPointSecurityGroupsResponse, err error) { if request == nil { request = NewDisassociateVpcEndPointSecurityGroupsRequest() @@ -10858,10 +11185,11 @@ func (c *Client) DisassociateVpcEndPointSecurityGroups(request *DisassociateVpcE // 终端节点解绑安全组。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DisassociateVpcEndPointSecurityGroupsWithContext(ctx context.Context, request *DisassociateVpcEndPointSecurityGroupsRequest) (response *DisassociateVpcEndPointSecurityGroupsResponse, err error) { if request == nil { request = NewDisassociateVpcEndPointSecurityGroupsRequest() @@ -10893,8 +11221,9 @@ func NewDownloadCustomerGatewayConfigurationResponse() (response *DownloadCustom // 本接口(DownloadCustomerGatewayConfiguration)用于下载VPN通道配置。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DownloadCustomerGatewayConfiguration(request *DownloadCustomerGatewayConfigurationRequest) (response *DownloadCustomerGatewayConfigurationResponse, err error) { if request == nil { request = NewDownloadCustomerGatewayConfigurationRequest() @@ -10909,8 +11238,9 @@ func (c *Client) DownloadCustomerGatewayConfiguration(request *DownloadCustomerG // 本接口(DownloadCustomerGatewayConfiguration)用于下载VPN通道配置。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DownloadCustomerGatewayConfigurationWithContext(ctx context.Context, request *DownloadCustomerGatewayConfigurationRequest) (response *DownloadCustomerGatewayConfigurationResponse, err error) { if request == nil { request = NewDownloadCustomerGatewayConfigurationRequest() @@ -10944,8 +11274,9 @@ func NewEnableCcnRoutesResponse() (response *EnableCcnRoutesResponse) { // 本接口会校验启用后,是否与已有路由冲突,如果冲突,则无法启用,失败处理。路由冲突时,需要先禁用与之冲突的路由,才能启用该路由。 // // 可能返回的错误码: -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" +// +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" func (c *Client) EnableCcnRoutes(request *EnableCcnRoutesRequest) (response *EnableCcnRoutesResponse, err error) { if request == nil { request = NewEnableCcnRoutesRequest() @@ -10962,8 +11293,9 @@ func (c *Client) EnableCcnRoutes(request *EnableCcnRoutesRequest) (response *Ena // 本接口会校验启用后,是否与已有路由冲突,如果冲突,则无法启用,失败处理。路由冲突时,需要先禁用与之冲突的路由,才能启用该路由。 // // 可能返回的错误码: -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" +// +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" func (c *Client) EnableCcnRoutesWithContext(ctx context.Context, request *EnableCcnRoutesRequest) (response *EnableCcnRoutesResponse, err error) { if request == nil { request = NewEnableCcnRoutesRequest() @@ -10995,9 +11327,10 @@ func NewEnableGatewayFlowMonitorResponse() (response *EnableGatewayFlowMonitorRe // 本接口(EnableGatewayFlowMonitor)用于开启网关流量监控。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) EnableGatewayFlowMonitor(request *EnableGatewayFlowMonitorRequest) (response *EnableGatewayFlowMonitorResponse, err error) { if request == nil { request = NewEnableGatewayFlowMonitorRequest() @@ -11012,9 +11345,10 @@ func (c *Client) EnableGatewayFlowMonitor(request *EnableGatewayFlowMonitorReque // 本接口(EnableGatewayFlowMonitor)用于开启网关流量监控。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) EnableGatewayFlowMonitorWithContext(ctx context.Context, request *EnableGatewayFlowMonitorRequest) (response *EnableGatewayFlowMonitorResponse, err error) { if request == nil { request = NewEnableGatewayFlowMonitorRequest() @@ -11048,18 +11382,19 @@ func NewEnableRoutesResponse() (response *EnableRoutesResponse) { // 本接口会校验启用后,是否与已有路由冲突,如果冲突,则无法启用,失败处理。路由冲突时,需要先禁用与之冲突的路由,才能启用该路由。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" -// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" -// UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute" -// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" +// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" +// UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute" +// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) EnableRoutes(request *EnableRoutesRequest) (response *EnableRoutesResponse, err error) { if request == nil { request = NewEnableRoutesRequest() @@ -11076,18 +11411,19 @@ func (c *Client) EnableRoutes(request *EnableRoutesRequest) (response *EnableRou // 本接口会校验启用后,是否与已有路由冲突,如果冲突,则无法启用,失败处理。路由冲突时,需要先禁用与之冲突的路由,才能启用该路由。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" -// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" -// UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute" -// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" +// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" +// UNSUPPORTEDOPERATION_ECMPWITHCCNROUTE = "UnsupportedOperation.EcmpWithCcnRoute" +// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) EnableRoutesWithContext(ctx context.Context, request *EnableRoutesRequest) (response *EnableRoutesResponse, err error) { if request == nil { request = NewEnableRoutesRequest() @@ -11119,10 +11455,11 @@ func NewEnableVpcEndPointConnectResponse() (response *EnableVpcEndPointConnectRe // 是否接受终端节点连接请求。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) EnableVpcEndPointConnect(request *EnableVpcEndPointConnectRequest) (response *EnableVpcEndPointConnectResponse, err error) { if request == nil { request = NewEnableVpcEndPointConnectRequest() @@ -11137,10 +11474,11 @@ func (c *Client) EnableVpcEndPointConnect(request *EnableVpcEndPointConnectReque // 是否接受终端节点连接请求。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) EnableVpcEndPointConnectWithContext(ctx context.Context, request *EnableVpcEndPointConnectRequest) (response *EnableVpcEndPointConnectResponse, err error) { if request == nil { request = NewEnableVpcEndPointConnectRequest() @@ -11172,9 +11510,10 @@ func NewGetCcnRegionBandwidthLimitsResponse() (response *GetCcnRegionBandwidthLi // 本接口(GetCcnRegionBandwidthLimits)用于查询云联网相关地域带宽信息,其中预付费模式的云联网仅支持地域间限速,后付费模式的云联网支持地域间限速和地域出口限速。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) GetCcnRegionBandwidthLimits(request *GetCcnRegionBandwidthLimitsRequest) (response *GetCcnRegionBandwidthLimitsResponse, err error) { if request == nil { request = NewGetCcnRegionBandwidthLimitsRequest() @@ -11189,9 +11528,10 @@ func (c *Client) GetCcnRegionBandwidthLimits(request *GetCcnRegionBandwidthLimit // 本接口(GetCcnRegionBandwidthLimits)用于查询云联网相关地域带宽信息,其中预付费模式的云联网仅支持地域间限速,后付费模式的云联网支持地域间限速和地域出口限速。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) GetCcnRegionBandwidthLimitsWithContext(ctx context.Context, request *GetCcnRegionBandwidthLimitsRequest) (response *GetCcnRegionBandwidthLimitsResponse, err error) { if request == nil { request = NewGetCcnRegionBandwidthLimitsRequest() @@ -11225,10 +11565,11 @@ func NewHaVipAssociateAddressIpResponse() (response *HaVipAssociateAddressIpResp // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_BINDEIP = "UnsupportedOperation.BindEIP" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_BINDEIP = "UnsupportedOperation.BindEIP" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) HaVipAssociateAddressIp(request *HaVipAssociateAddressIpRequest) (response *HaVipAssociateAddressIpResponse, err error) { if request == nil { request = NewHaVipAssociateAddressIpRequest() @@ -11245,10 +11586,11 @@ func (c *Client) HaVipAssociateAddressIp(request *HaVipAssociateAddressIpRequest // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_BINDEIP = "UnsupportedOperation.BindEIP" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_BINDEIP = "UnsupportedOperation.BindEIP" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) HaVipAssociateAddressIpWithContext(ctx context.Context, request *HaVipAssociateAddressIpRequest) (response *HaVipAssociateAddressIpResponse, err error) { if request == nil { request = NewHaVipAssociateAddressIpRequest() @@ -11282,11 +11624,12 @@ func NewHaVipDisassociateAddressIpResponse() (response *HaVipDisassociateAddress // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" -// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" func (c *Client) HaVipDisassociateAddressIp(request *HaVipDisassociateAddressIpRequest) (response *HaVipDisassociateAddressIpResponse, err error) { if request == nil { request = NewHaVipDisassociateAddressIpRequest() @@ -11303,11 +11646,12 @@ func (c *Client) HaVipDisassociateAddressIp(request *HaVipDisassociateAddressIpR // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" -// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" func (c *Client) HaVipDisassociateAddressIpWithContext(ctx context.Context, request *HaVipDisassociateAddressIpRequest) (response *HaVipDisassociateAddressIpResponse, err error) { if request == nil { request = NewHaVipDisassociateAddressIpRequest() @@ -11339,11 +11683,12 @@ func NewInquirePriceCreateDirectConnectGatewayResponse() (response *InquirePrice // 本接口(DescribePriceCreateDirectConnectGateway)用于创建专线网关询价。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" -// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" func (c *Client) InquirePriceCreateDirectConnectGateway(request *InquirePriceCreateDirectConnectGatewayRequest) (response *InquirePriceCreateDirectConnectGatewayResponse, err error) { if request == nil { request = NewInquirePriceCreateDirectConnectGatewayRequest() @@ -11358,11 +11703,12 @@ func (c *Client) InquirePriceCreateDirectConnectGateway(request *InquirePriceCre // 本接口(DescribePriceCreateDirectConnectGateway)用于创建专线网关询价。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" -// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" func (c *Client) InquirePriceCreateDirectConnectGatewayWithContext(ctx context.Context, request *InquirePriceCreateDirectConnectGatewayRequest) (response *InquirePriceCreateDirectConnectGatewayResponse, err error) { if request == nil { request = NewInquirePriceCreateDirectConnectGatewayRequest() @@ -11394,7 +11740,8 @@ func NewInquiryPriceCreateVpnGatewayResponse() (response *InquiryPriceCreateVpnG // 本接口(InquiryPriceCreateVpnGateway)用于创建VPN网关询价。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" func (c *Client) InquiryPriceCreateVpnGateway(request *InquiryPriceCreateVpnGatewayRequest) (response *InquiryPriceCreateVpnGatewayResponse, err error) { if request == nil { request = NewInquiryPriceCreateVpnGatewayRequest() @@ -11409,7 +11756,8 @@ func (c *Client) InquiryPriceCreateVpnGateway(request *InquiryPriceCreateVpnGate // 本接口(InquiryPriceCreateVpnGateway)用于创建VPN网关询价。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" func (c *Client) InquiryPriceCreateVpnGatewayWithContext(ctx context.Context, request *InquiryPriceCreateVpnGatewayRequest) (response *InquiryPriceCreateVpnGatewayResponse, err error) { if request == nil { request = NewInquiryPriceCreateVpnGatewayRequest() @@ -11441,9 +11789,10 @@ func NewInquiryPriceRenewVpnGatewayResponse() (response *InquiryPriceRenewVpnGat // 本接口(InquiryPriceRenewVpnGateway)用于续费VPN网关询价。目前仅支持IPSEC类型网关的询价。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) InquiryPriceRenewVpnGateway(request *InquiryPriceRenewVpnGatewayRequest) (response *InquiryPriceRenewVpnGatewayResponse, err error) { if request == nil { request = NewInquiryPriceRenewVpnGatewayRequest() @@ -11458,9 +11807,10 @@ func (c *Client) InquiryPriceRenewVpnGateway(request *InquiryPriceRenewVpnGatewa // 本接口(InquiryPriceRenewVpnGateway)用于续费VPN网关询价。目前仅支持IPSEC类型网关的询价。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) InquiryPriceRenewVpnGatewayWithContext(ctx context.Context, request *InquiryPriceRenewVpnGatewayRequest) (response *InquiryPriceRenewVpnGatewayResponse, err error) { if request == nil { request = NewInquiryPriceRenewVpnGatewayRequest() @@ -11492,9 +11842,10 @@ func NewInquiryPriceResetVpnGatewayInternetMaxBandwidthResponse() (response *Inq // 本接口(InquiryPriceResetVpnGatewayInternetMaxBandwidth)调整VPN网关带宽上限询价。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) InquiryPriceResetVpnGatewayInternetMaxBandwidth(request *InquiryPriceResetVpnGatewayInternetMaxBandwidthRequest) (response *InquiryPriceResetVpnGatewayInternetMaxBandwidthResponse, err error) { if request == nil { request = NewInquiryPriceResetVpnGatewayInternetMaxBandwidthRequest() @@ -11509,9 +11860,10 @@ func (c *Client) InquiryPriceResetVpnGatewayInternetMaxBandwidth(request *Inquir // 本接口(InquiryPriceResetVpnGatewayInternetMaxBandwidth)调整VPN网关带宽上限询价。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) InquiryPriceResetVpnGatewayInternetMaxBandwidthWithContext(ctx context.Context, request *InquiryPriceResetVpnGatewayInternetMaxBandwidthRequest) (response *InquiryPriceResetVpnGatewayInternetMaxBandwidthResponse, err error) { if request == nil { request = NewInquiryPriceResetVpnGatewayInternetMaxBandwidthRequest() @@ -11545,10 +11897,11 @@ func NewMigrateNetworkInterfaceResponse() (response *MigrateNetworkInterfaceResp // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) MigrateNetworkInterface(request *MigrateNetworkInterfaceRequest) (response *MigrateNetworkInterfaceResponse, err error) { if request == nil { request = NewMigrateNetworkInterfaceRequest() @@ -11565,10 +11918,11 @@ func (c *Client) MigrateNetworkInterface(request *MigrateNetworkInterfaceRequest // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) MigrateNetworkInterfaceWithContext(ctx context.Context, request *MigrateNetworkInterfaceRequest) (response *MigrateNetworkInterfaceResponse, err error) { if request == nil { request = NewMigrateNetworkInterfaceRequest() @@ -11597,23 +11951,23 @@ func NewMigratePrivateIpAddressResponse() (response *MigratePrivateIpAddressResp } // MigratePrivateIpAddress -// 本接口(MigratePrivateIpAddress)用于弹性网卡内网IP迁移。 +// +// 本接口(MigratePrivateIpAddress)用于弹性网卡内网IP迁移。 // // * 该接口用于将一个内网IP从一个弹性网卡上迁移到另外一个弹性网卡,主IP地址不支持迁移。 // // * 迁移前后的弹性网卡必须在同一个子网内。 // -// -// // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION_ATTACHMENTNOTFOUND = "UnauthorizedOperation.AttachmentNotFound" -// UNAUTHORIZEDOPERATION_PRIMARYIP = "UnauthorizedOperation.PrimaryIp" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" -// UNSUPPORTEDOPERATION_PRIMARYIP = "UnsupportedOperation.PrimaryIp" +// +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION_ATTACHMENTNOTFOUND = "UnauthorizedOperation.AttachmentNotFound" +// UNAUTHORIZEDOPERATION_PRIMARYIP = "UnauthorizedOperation.PrimaryIp" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// UNSUPPORTEDOPERATION_PRIMARYIP = "UnsupportedOperation.PrimaryIp" func (c *Client) MigratePrivateIpAddress(request *MigratePrivateIpAddressRequest) (response *MigratePrivateIpAddressResponse, err error) { if request == nil { request = NewMigratePrivateIpAddressRequest() @@ -11625,23 +11979,23 @@ func (c *Client) MigratePrivateIpAddress(request *MigratePrivateIpAddressRequest } // MigratePrivateIpAddress -// 本接口(MigratePrivateIpAddress)用于弹性网卡内网IP迁移。 +// +// 本接口(MigratePrivateIpAddress)用于弹性网卡内网IP迁移。 // // * 该接口用于将一个内网IP从一个弹性网卡上迁移到另外一个弹性网卡,主IP地址不支持迁移。 // // * 迁移前后的弹性网卡必须在同一个子网内。 // -// -// // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION_ATTACHMENTNOTFOUND = "UnauthorizedOperation.AttachmentNotFound" -// UNAUTHORIZEDOPERATION_PRIMARYIP = "UnauthorizedOperation.PrimaryIp" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" -// UNSUPPORTEDOPERATION_PRIMARYIP = "UnsupportedOperation.PrimaryIp" +// +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION_ATTACHMENTNOTFOUND = "UnauthorizedOperation.AttachmentNotFound" +// UNAUTHORIZEDOPERATION_PRIMARYIP = "UnauthorizedOperation.PrimaryIp" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// UNSUPPORTEDOPERATION_PRIMARYIP = "UnsupportedOperation.PrimaryIp" func (c *Client) MigratePrivateIpAddressWithContext(ctx context.Context, request *MigratePrivateIpAddressRequest) (response *MigratePrivateIpAddressResponse, err error) { if request == nil { request = NewMigratePrivateIpAddressRequest() @@ -11673,13 +12027,14 @@ func NewModifyAddressAttributeResponse() (response *ModifyAddressAttributeRespon // 本接口 (ModifyAddressAttribute) 用于修改[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)的名称。 // // 可能返回的错误码: -// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" +// +// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" func (c *Client) ModifyAddressAttribute(request *ModifyAddressAttributeRequest) (response *ModifyAddressAttributeResponse, err error) { if request == nil { request = NewModifyAddressAttributeRequest() @@ -11694,13 +12049,14 @@ func (c *Client) ModifyAddressAttribute(request *ModifyAddressAttributeRequest) // 本接口 (ModifyAddressAttribute) 用于修改[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)的名称。 // // 可能返回的错误码: -// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" +// +// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" func (c *Client) ModifyAddressAttributeWithContext(ctx context.Context, request *ModifyAddressAttributeRequest) (response *ModifyAddressAttributeResponse, err error) { if request == nil { request = NewModifyAddressAttributeRequest() @@ -11736,22 +12092,23 @@ func NewModifyAddressInternetChargeTypeResponse() (response *ModifyAddressIntern // * 每个弹性公网IP支持调整两次,次数超出则无法调整。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDADDRESSIDSTATE_INARREARS = "InvalidAddressIdState.InArrears" -// INVALIDADDRESSSTATE = "InvalidAddressState" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSNOTCALCIP = "InvalidParameterValue.AddressNotCalcIP" -// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" -// INVALIDPARAMETERVALUE_INTERNETCHARGETYPENOTCHANGED = "InvalidParameterValue.InternetChargeTypeNotChanged" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// LIMITEXCEEDED = "LimitExceeded" -// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" -// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" -// UNSUPPORTEDOPERATION_NATNOTSUPPORTED = "UnsupportedOperation.NatNotSupported" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDADDRESSIDSTATE_INARREARS = "InvalidAddressIdState.InArrears" +// INVALIDADDRESSSTATE = "InvalidAddressState" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSNOTCALCIP = "InvalidParameterValue.AddressNotCalcIP" +// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" +// INVALIDPARAMETERVALUE_INTERNETCHARGETYPENOTCHANGED = "InvalidParameterValue.InternetChargeTypeNotChanged" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// LIMITEXCEEDED = "LimitExceeded" +// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" +// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" +// UNSUPPORTEDOPERATION_NATNOTSUPPORTED = "UnsupportedOperation.NatNotSupported" func (c *Client) ModifyAddressInternetChargeType(request *ModifyAddressInternetChargeTypeRequest) (response *ModifyAddressInternetChargeTypeResponse, err error) { if request == nil { request = NewModifyAddressInternetChargeTypeRequest() @@ -11770,22 +12127,23 @@ func (c *Client) ModifyAddressInternetChargeType(request *ModifyAddressInternetC // * 每个弹性公网IP支持调整两次,次数超出则无法调整。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDADDRESSIDSTATE_INARREARS = "InvalidAddressIdState.InArrears" -// INVALIDADDRESSSTATE = "InvalidAddressState" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSNOTCALCIP = "InvalidParameterValue.AddressNotCalcIP" -// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" -// INVALIDPARAMETERVALUE_INTERNETCHARGETYPENOTCHANGED = "InvalidParameterValue.InternetChargeTypeNotChanged" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" -// LIMITEXCEEDED = "LimitExceeded" -// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" -// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" -// UNSUPPORTEDOPERATION_NATNOTSUPPORTED = "UnsupportedOperation.NatNotSupported" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDADDRESSIDSTATE_INARREARS = "InvalidAddressIdState.InArrears" +// INVALIDADDRESSSTATE = "InvalidAddressState" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSNOTCALCIP = "InvalidParameterValue.AddressNotCalcIP" +// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" +// INVALIDPARAMETERVALUE_INTERNETCHARGETYPENOTCHANGED = "InvalidParameterValue.InternetChargeTypeNotChanged" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// LIMITEXCEEDED = "LimitExceeded" +// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" +// UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" +// UNSUPPORTEDOPERATION_NATNOTSUPPORTED = "UnsupportedOperation.NatNotSupported" func (c *Client) ModifyAddressInternetChargeTypeWithContext(ctx context.Context, request *ModifyAddressInternetChargeTypeRequest) (response *ModifyAddressInternetChargeTypeResponse, err error) { if request == nil { request = NewModifyAddressInternetChargeTypeRequest() @@ -11817,12 +12175,13 @@ func NewModifyAddressTemplateAttributeResponse() (response *ModifyAddressTemplat // 本接口(ModifyAddressTemplateAttribute)用于修改IP地址模板 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) ModifyAddressTemplateAttribute(request *ModifyAddressTemplateAttributeRequest) (response *ModifyAddressTemplateAttributeResponse, err error) { if request == nil { request = NewModifyAddressTemplateAttributeRequest() @@ -11837,12 +12196,13 @@ func (c *Client) ModifyAddressTemplateAttribute(request *ModifyAddressTemplateAt // 本接口(ModifyAddressTemplateAttribute)用于修改IP地址模板 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) ModifyAddressTemplateAttributeWithContext(ctx context.Context, request *ModifyAddressTemplateAttributeRequest) (response *ModifyAddressTemplateAttributeResponse, err error) { if request == nil { request = NewModifyAddressTemplateAttributeRequest() @@ -11874,12 +12234,13 @@ func NewModifyAddressTemplateGroupAttributeResponse() (response *ModifyAddressTe // 本接口(ModifyAddressTemplateGroupAttribute)用于修改IP地址模板集合 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) ModifyAddressTemplateGroupAttribute(request *ModifyAddressTemplateGroupAttributeRequest) (response *ModifyAddressTemplateGroupAttributeResponse, err error) { if request == nil { request = NewModifyAddressTemplateGroupAttributeRequest() @@ -11894,12 +12255,13 @@ func (c *Client) ModifyAddressTemplateGroupAttribute(request *ModifyAddressTempl // 本接口(ModifyAddressTemplateGroupAttribute)用于修改IP地址模板集合 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) ModifyAddressTemplateGroupAttributeWithContext(ctx context.Context, request *ModifyAddressTemplateGroupAttributeRequest) (response *ModifyAddressTemplateGroupAttributeResponse, err error) { if request == nil { request = NewModifyAddressTemplateGroupAttributeRequest() @@ -11931,22 +12293,23 @@ func NewModifyAddressesBandwidthResponse() (response *ModifyAddressesBandwidthRe // 本接口(ModifyAddressesBandwidth)用于调整[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称EIP)带宽,支持后付费EIP, 预付费EIP和带宽包EIP // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" -// INVALIDPARAMETERVALUE_BANDWIDTHOUTOFRANGE = "InvalidParameterValue.BandwidthOutOfRange" -// INVALIDPARAMETERVALUE_BANDWIDTHTOOSMALL = "InvalidParameterValue.BandwidthTooSmall" -// INVALIDPARAMETERVALUE_INCONSISTENTINSTANCEINTERNETCHARGETYPE = "InvalidParameterValue.InconsistentInstanceInternetChargeType" -// INVALIDPARAMETERVALUE_INSTANCENOCALCIP = "InvalidParameterValue.InstanceNoCalcIP" -// INVALIDPARAMETERVALUE_INSTANCENOWANIP = "InvalidParameterValue.InstanceNoWanIP" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_RESOURCEEXPIRED = "InvalidParameterValue.ResourceExpired" -// INVALIDPARAMETERVALUE_RESOURCENOTEXISTED = "InvalidParameterValue.ResourceNotExisted" -// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" -// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" -// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" -// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" +// INVALIDPARAMETERVALUE_BANDWIDTHOUTOFRANGE = "InvalidParameterValue.BandwidthOutOfRange" +// INVALIDPARAMETERVALUE_BANDWIDTHTOOSMALL = "InvalidParameterValue.BandwidthTooSmall" +// INVALIDPARAMETERVALUE_INCONSISTENTINSTANCEINTERNETCHARGETYPE = "InvalidParameterValue.InconsistentInstanceInternetChargeType" +// INVALIDPARAMETERVALUE_INSTANCENOCALCIP = "InvalidParameterValue.InstanceNoCalcIP" +// INVALIDPARAMETERVALUE_INSTANCENOWANIP = "InvalidParameterValue.InstanceNoWanIP" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_RESOURCEEXPIRED = "InvalidParameterValue.ResourceExpired" +// INVALIDPARAMETERVALUE_RESOURCENOTEXISTED = "InvalidParameterValue.ResourceNotExisted" +// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" +// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" +// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" +// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" func (c *Client) ModifyAddressesBandwidth(request *ModifyAddressesBandwidthRequest) (response *ModifyAddressesBandwidthResponse, err error) { if request == nil { request = NewModifyAddressesBandwidthRequest() @@ -11961,22 +12324,23 @@ func (c *Client) ModifyAddressesBandwidth(request *ModifyAddressesBandwidthReque // 本接口(ModifyAddressesBandwidth)用于调整[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称EIP)带宽,支持后付费EIP, 预付费EIP和带宽包EIP // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" -// INVALIDPARAMETERVALUE_BANDWIDTHOUTOFRANGE = "InvalidParameterValue.BandwidthOutOfRange" -// INVALIDPARAMETERVALUE_BANDWIDTHTOOSMALL = "InvalidParameterValue.BandwidthTooSmall" -// INVALIDPARAMETERVALUE_INCONSISTENTINSTANCEINTERNETCHARGETYPE = "InvalidParameterValue.InconsistentInstanceInternetChargeType" -// INVALIDPARAMETERVALUE_INSTANCENOCALCIP = "InvalidParameterValue.InstanceNoCalcIP" -// INVALIDPARAMETERVALUE_INSTANCENOWANIP = "InvalidParameterValue.InstanceNoWanIP" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_RESOURCEEXPIRED = "InvalidParameterValue.ResourceExpired" -// INVALIDPARAMETERVALUE_RESOURCENOTEXISTED = "InvalidParameterValue.ResourceNotExisted" -// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" -// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" -// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" -// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" +// INVALIDPARAMETERVALUE_BANDWIDTHOUTOFRANGE = "InvalidParameterValue.BandwidthOutOfRange" +// INVALIDPARAMETERVALUE_BANDWIDTHTOOSMALL = "InvalidParameterValue.BandwidthTooSmall" +// INVALIDPARAMETERVALUE_INCONSISTENTINSTANCEINTERNETCHARGETYPE = "InvalidParameterValue.InconsistentInstanceInternetChargeType" +// INVALIDPARAMETERVALUE_INSTANCENOCALCIP = "InvalidParameterValue.InstanceNoCalcIP" +// INVALIDPARAMETERVALUE_INSTANCENOWANIP = "InvalidParameterValue.InstanceNoWanIP" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_RESOURCEEXPIRED = "InvalidParameterValue.ResourceExpired" +// INVALIDPARAMETERVALUE_RESOURCENOTEXISTED = "InvalidParameterValue.ResourceNotExisted" +// INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" +// UNSUPPORTEDOPERATION_ACTIONNOTFOUND = "UnsupportedOperation.ActionNotFound" +// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" +// UNSUPPORTEDOPERATION_INSTANCESTATENOTSUPPORTED = "UnsupportedOperation.InstanceStateNotSupported" func (c *Client) ModifyAddressesBandwidthWithContext(ctx context.Context, request *ModifyAddressesBandwidthRequest) (response *ModifyAddressesBandwidthResponse, err error) { if request == nil { request = NewModifyAddressesBandwidthRequest() @@ -12008,17 +12372,18 @@ func NewModifyAssistantCidrResponse() (response *ModifyAssistantCidrResponse) { // 本接口(ModifyAssistantCidr)用于批量修改辅助CIDR,支持新增和删除。(接口灰度中,如需使用请提工单。) // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" -// INVALIDPARAMETERVALUE_SUBNETOVERLAPASSISTCIDR = "InvalidParameterValue.SubnetOverlapAssistCidr" -// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" +// INVALIDPARAMETERVALUE_SUBNETOVERLAPASSISTCIDR = "InvalidParameterValue.SubnetOverlapAssistCidr" +// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyAssistantCidr(request *ModifyAssistantCidrRequest) (response *ModifyAssistantCidrResponse, err error) { if request == nil { request = NewModifyAssistantCidrRequest() @@ -12033,17 +12398,18 @@ func (c *Client) ModifyAssistantCidr(request *ModifyAssistantCidrRequest) (respo // 本接口(ModifyAssistantCidr)用于批量修改辅助CIDR,支持新增和删除。(接口灰度中,如需使用请提工单。) // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" -// INVALIDPARAMETERVALUE_SUBNETOVERLAPASSISTCIDR = "InvalidParameterValue.SubnetOverlapAssistCidr" -// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" +// INVALIDPARAMETERVALUE_SUBNETOVERLAPASSISTCIDR = "InvalidParameterValue.SubnetOverlapAssistCidr" +// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyAssistantCidrWithContext(ctx context.Context, request *ModifyAssistantCidrRequest) (response *ModifyAssistantCidrResponse, err error) { if request == nil { request = NewModifyAssistantCidrRequest() @@ -12075,10 +12441,11 @@ func NewModifyBandwidthPackageAttributeResponse() (response *ModifyBandwidthPack // 接口用于修改带宽包属性,包括带宽包名字等 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// INVALIDPARAMETERVALUE_INVALIDBANDWIDTHPACKAGECHARGETYPE = "InvalidParameterValue.InvalidBandwidthPackageChargeType" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// INVALIDPARAMETERVALUE_INVALIDBANDWIDTHPACKAGECHARGETYPE = "InvalidParameterValue.InvalidBandwidthPackageChargeType" func (c *Client) ModifyBandwidthPackageAttribute(request *ModifyBandwidthPackageAttributeRequest) (response *ModifyBandwidthPackageAttributeResponse, err error) { if request == nil { request = NewModifyBandwidthPackageAttributeRequest() @@ -12093,10 +12460,11 @@ func (c *Client) ModifyBandwidthPackageAttribute(request *ModifyBandwidthPackage // 接口用于修改带宽包属性,包括带宽包名字等 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// INVALIDPARAMETERVALUE_INVALIDBANDWIDTHPACKAGECHARGETYPE = "InvalidParameterValue.InvalidBandwidthPackageChargeType" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// INVALIDPARAMETERVALUE_INVALIDBANDWIDTHPACKAGECHARGETYPE = "InvalidParameterValue.InvalidBandwidthPackageChargeType" func (c *Client) ModifyBandwidthPackageAttributeWithContext(ctx context.Context, request *ModifyBandwidthPackageAttributeRequest) (response *ModifyBandwidthPackageAttributeResponse, err error) { if request == nil { request = NewModifyBandwidthPackageAttributeRequest() @@ -12128,12 +12496,13 @@ func NewModifyCcnAttachedInstancesAttributeResponse() (response *ModifyCcnAttach // 修改CCN关联实例属性,目前仅修改备注description // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyCcnAttachedInstancesAttribute(request *ModifyCcnAttachedInstancesAttributeRequest) (response *ModifyCcnAttachedInstancesAttributeResponse, err error) { if request == nil { request = NewModifyCcnAttachedInstancesAttributeRequest() @@ -12148,12 +12517,13 @@ func (c *Client) ModifyCcnAttachedInstancesAttribute(request *ModifyCcnAttachedI // 修改CCN关联实例属性,目前仅修改备注description // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyCcnAttachedInstancesAttributeWithContext(ctx context.Context, request *ModifyCcnAttachedInstancesAttributeRequest) (response *ModifyCcnAttachedInstancesAttributeResponse, err error) { if request == nil { request = NewModifyCcnAttachedInstancesAttributeRequest() @@ -12185,8 +12555,9 @@ func NewModifyCcnAttributeResponse() (response *ModifyCcnAttributeResponse) { // 本接口(ModifyCcnAttribute)用于修改云联网(CCN)的相关属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyCcnAttribute(request *ModifyCcnAttributeRequest) (response *ModifyCcnAttributeResponse, err error) { if request == nil { request = NewModifyCcnAttributeRequest() @@ -12201,8 +12572,9 @@ func (c *Client) ModifyCcnAttribute(request *ModifyCcnAttributeRequest) (respons // 本接口(ModifyCcnAttribute)用于修改云联网(CCN)的相关属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyCcnAttributeWithContext(ctx context.Context, request *ModifyCcnAttributeRequest) (response *ModifyCcnAttributeResponse, err error) { if request == nil { request = NewModifyCcnAttributeRequest() @@ -12234,11 +12606,12 @@ func NewModifyCcnRegionBandwidthLimitsTypeResponse() (response *ModifyCcnRegionB // 本接口(ModifyCcnRegionBandwidthLimitsType)用于修改后付费云联网实例修改带宽限速策略。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_NOTPOSTPAIDCCNOPERATION = "UnsupportedOperation.NotPostpaidCcnOperation" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_NOTPOSTPAIDCCNOPERATION = "UnsupportedOperation.NotPostpaidCcnOperation" func (c *Client) ModifyCcnRegionBandwidthLimitsType(request *ModifyCcnRegionBandwidthLimitsTypeRequest) (response *ModifyCcnRegionBandwidthLimitsTypeResponse, err error) { if request == nil { request = NewModifyCcnRegionBandwidthLimitsTypeRequest() @@ -12253,11 +12626,12 @@ func (c *Client) ModifyCcnRegionBandwidthLimitsType(request *ModifyCcnRegionBand // 本接口(ModifyCcnRegionBandwidthLimitsType)用于修改后付费云联网实例修改带宽限速策略。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_NOTPOSTPAIDCCNOPERATION = "UnsupportedOperation.NotPostpaidCcnOperation" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_NOTPOSTPAIDCCNOPERATION = "UnsupportedOperation.NotPostpaidCcnOperation" func (c *Client) ModifyCcnRegionBandwidthLimitsTypeWithContext(ctx context.Context, request *ModifyCcnRegionBandwidthLimitsTypeRequest) (response *ModifyCcnRegionBandwidthLimitsTypeResponse, err error) { if request == nil { request = NewModifyCcnRegionBandwidthLimitsTypeRequest() @@ -12289,9 +12663,10 @@ func NewModifyCustomerGatewayAttributeResponse() (response *ModifyCustomerGatewa // 本接口(ModifyCustomerGatewayAttribute)用于修改对端网关信息。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyCustomerGatewayAttribute(request *ModifyCustomerGatewayAttributeRequest) (response *ModifyCustomerGatewayAttributeResponse, err error) { if request == nil { request = NewModifyCustomerGatewayAttributeRequest() @@ -12306,9 +12681,10 @@ func (c *Client) ModifyCustomerGatewayAttribute(request *ModifyCustomerGatewayAt // 本接口(ModifyCustomerGatewayAttribute)用于修改对端网关信息。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyCustomerGatewayAttributeWithContext(ctx context.Context, request *ModifyCustomerGatewayAttributeRequest) (response *ModifyCustomerGatewayAttributeResponse, err error) { if request == nil { request = NewModifyCustomerGatewayAttributeRequest() @@ -12340,10 +12716,11 @@ func NewModifyDhcpIpAttributeResponse() (response *ModifyDhcpIpAttributeResponse // 本接口(ModifyDhcpIpAttribute)用于修改DhcpIp属性 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyDhcpIpAttribute(request *ModifyDhcpIpAttributeRequest) (response *ModifyDhcpIpAttributeResponse, err error) { if request == nil { request = NewModifyDhcpIpAttributeRequest() @@ -12358,10 +12735,11 @@ func (c *Client) ModifyDhcpIpAttribute(request *ModifyDhcpIpAttributeRequest) (r // 本接口(ModifyDhcpIpAttribute)用于修改DhcpIp属性 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyDhcpIpAttributeWithContext(ctx context.Context, request *ModifyDhcpIpAttributeRequest) (response *ModifyDhcpIpAttributeResponse, err error) { if request == nil { request = NewModifyDhcpIpAttributeRequest() @@ -12393,12 +12771,13 @@ func NewModifyDirectConnectGatewayAttributeResponse() (response *ModifyDirectCon // 本接口(ModifyDirectConnectGatewayAttribute)用于修改专线网关属性 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_DIRECTCONNECTGATEWAYISUPDATINGCOMMUNITY = "UnsupportedOperation.DirectConnectGatewayIsUpdatingCommunity" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_DIRECTCONNECTGATEWAYISUPDATINGCOMMUNITY = "UnsupportedOperation.DirectConnectGatewayIsUpdatingCommunity" func (c *Client) ModifyDirectConnectGatewayAttribute(request *ModifyDirectConnectGatewayAttributeRequest) (response *ModifyDirectConnectGatewayAttributeResponse, err error) { if request == nil { request = NewModifyDirectConnectGatewayAttributeRequest() @@ -12413,12 +12792,13 @@ func (c *Client) ModifyDirectConnectGatewayAttribute(request *ModifyDirectConnec // 本接口(ModifyDirectConnectGatewayAttribute)用于修改专线网关属性 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_DIRECTCONNECTGATEWAYISUPDATINGCOMMUNITY = "UnsupportedOperation.DirectConnectGatewayIsUpdatingCommunity" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_DIRECTCONNECTGATEWAYISUPDATINGCOMMUNITY = "UnsupportedOperation.DirectConnectGatewayIsUpdatingCommunity" func (c *Client) ModifyDirectConnectGatewayAttributeWithContext(ctx context.Context, request *ModifyDirectConnectGatewayAttributeRequest) (response *ModifyDirectConnectGatewayAttributeResponse, err error) { if request == nil { request = NewModifyDirectConnectGatewayAttributeRequest() @@ -12450,9 +12830,10 @@ func NewModifyFlowLogAttributeResponse() (response *ModifyFlowLogAttributeRespon // 本接口(ModifyFlowLogAttribute)用于修改流日志属性 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) ModifyFlowLogAttribute(request *ModifyFlowLogAttributeRequest) (response *ModifyFlowLogAttributeResponse, err error) { if request == nil { request = NewModifyFlowLogAttributeRequest() @@ -12467,9 +12848,10 @@ func (c *Client) ModifyFlowLogAttribute(request *ModifyFlowLogAttributeRequest) // 本接口(ModifyFlowLogAttribute)用于修改流日志属性 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) ModifyFlowLogAttributeWithContext(ctx context.Context, request *ModifyFlowLogAttributeRequest) (response *ModifyFlowLogAttributeResponse, err error) { if request == nil { request = NewModifyFlowLogAttributeRequest() @@ -12501,9 +12883,10 @@ func NewModifyGatewayFlowQosResponse() (response *ModifyGatewayFlowQosResponse) // 本接口(ModifyGatewayFlowQos)用于调整网关流控带宽。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) ModifyGatewayFlowQos(request *ModifyGatewayFlowQosRequest) (response *ModifyGatewayFlowQosResponse, err error) { if request == nil { request = NewModifyGatewayFlowQosRequest() @@ -12518,9 +12901,10 @@ func (c *Client) ModifyGatewayFlowQos(request *ModifyGatewayFlowQosRequest) (res // 本接口(ModifyGatewayFlowQos)用于调整网关流控带宽。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) ModifyGatewayFlowQosWithContext(ctx context.Context, request *ModifyGatewayFlowQosRequest) (response *ModifyGatewayFlowQosResponse, err error) { if request == nil { request = NewModifyGatewayFlowQosRequest() @@ -12552,11 +12936,12 @@ func NewModifyHaVipAttributeResponse() (response *ModifyHaVipAttributeResponse) // 本接口(ModifyHaVipAttribute)用于修改高可用虚拟IP(HAVIP)属性 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyHaVipAttribute(request *ModifyHaVipAttributeRequest) (response *ModifyHaVipAttributeResponse, err error) { if request == nil { request = NewModifyHaVipAttributeRequest() @@ -12571,11 +12956,12 @@ func (c *Client) ModifyHaVipAttribute(request *ModifyHaVipAttributeRequest) (res // 本接口(ModifyHaVipAttribute)用于修改高可用虚拟IP(HAVIP)属性 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyHaVipAttributeWithContext(ctx context.Context, request *ModifyHaVipAttributeRequest) (response *ModifyHaVipAttributeResponse, err error) { if request == nil { request = NewModifyHaVipAttributeRequest() @@ -12607,21 +12993,22 @@ func NewModifyIp6AddressesBandwidthResponse() (response *ModifyIp6AddressesBandw // 该接口用于修改IPV6地址访问internet的带宽 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDADDRESSIDSTATE_INARREARS = "InvalidAddressIdState.InArrears" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSIPNOTFOUND = "InvalidParameterValue.AddressIpNotFound" -// INVALIDPARAMETERVALUE_INVALIDIPV6 = "InvalidParameterValue.InvalidIpv6" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// UNSUPPORTEDOPERATION_ADDRESSIPINARREAR = "UnsupportedOperation.AddressIpInArrear" -// UNSUPPORTEDOPERATION_ADDRESSIPINTERNETCHARGETYPENOTPERMIT = "UnsupportedOperation.AddressIpInternetChargeTypeNotPermit" -// UNSUPPORTEDOPERATION_ADDRESSIPNOTSUPPORTINSTANCE = "UnsupportedOperation.AddressIpNotSupportInstance" -// UNSUPPORTEDOPERATION_ADDRESSIPSTATUSNOTPERMIT = "UnsupportedOperation.AddressIpStatusNotPermit" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDADDRESSIDSTATE_INARREARS = "InvalidAddressIdState.InArrears" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSIPNOTFOUND = "InvalidParameterValue.AddressIpNotFound" +// INVALIDPARAMETERVALUE_INVALIDIPV6 = "InvalidParameterValue.InvalidIpv6" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// UNSUPPORTEDOPERATION_ADDRESSIPINARREAR = "UnsupportedOperation.AddressIpInArrear" +// UNSUPPORTEDOPERATION_ADDRESSIPINTERNETCHARGETYPENOTPERMIT = "UnsupportedOperation.AddressIpInternetChargeTypeNotPermit" +// UNSUPPORTEDOPERATION_ADDRESSIPNOTSUPPORTINSTANCE = "UnsupportedOperation.AddressIpNotSupportInstance" +// UNSUPPORTEDOPERATION_ADDRESSIPSTATUSNOTPERMIT = "UnsupportedOperation.AddressIpStatusNotPermit" func (c *Client) ModifyIp6AddressesBandwidth(request *ModifyIp6AddressesBandwidthRequest) (response *ModifyIp6AddressesBandwidthResponse, err error) { if request == nil { request = NewModifyIp6AddressesBandwidthRequest() @@ -12636,21 +13023,22 @@ func (c *Client) ModifyIp6AddressesBandwidth(request *ModifyIp6AddressesBandwidt // 该接口用于修改IPV6地址访问internet的带宽 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDADDRESSIDSTATE_INARREARS = "InvalidAddressIdState.InArrears" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSIPNOTFOUND = "InvalidParameterValue.AddressIpNotFound" -// INVALIDPARAMETERVALUE_INVALIDIPV6 = "InvalidParameterValue.InvalidIpv6" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// UNSUPPORTEDOPERATION_ADDRESSIPINARREAR = "UnsupportedOperation.AddressIpInArrear" -// UNSUPPORTEDOPERATION_ADDRESSIPINTERNETCHARGETYPENOTPERMIT = "UnsupportedOperation.AddressIpInternetChargeTypeNotPermit" -// UNSUPPORTEDOPERATION_ADDRESSIPNOTSUPPORTINSTANCE = "UnsupportedOperation.AddressIpNotSupportInstance" -// UNSUPPORTEDOPERATION_ADDRESSIPSTATUSNOTPERMIT = "UnsupportedOperation.AddressIpStatusNotPermit" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDACCOUNT_NOTSUPPORTED = "InvalidAccount.NotSupported" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDADDRESSIDSTATE_INARREARS = "InvalidAddressIdState.InArrears" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSIPNOTFOUND = "InvalidParameterValue.AddressIpNotFound" +// INVALIDPARAMETERVALUE_INVALIDIPV6 = "InvalidParameterValue.InvalidIpv6" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// UNSUPPORTEDOPERATION_ADDRESSIPINARREAR = "UnsupportedOperation.AddressIpInArrear" +// UNSUPPORTEDOPERATION_ADDRESSIPINTERNETCHARGETYPENOTPERMIT = "UnsupportedOperation.AddressIpInternetChargeTypeNotPermit" +// UNSUPPORTEDOPERATION_ADDRESSIPNOTSUPPORTINSTANCE = "UnsupportedOperation.AddressIpNotSupportInstance" +// UNSUPPORTEDOPERATION_ADDRESSIPSTATUSNOTPERMIT = "UnsupportedOperation.AddressIpStatusNotPermit" func (c *Client) ModifyIp6AddressesBandwidthWithContext(ctx context.Context, request *ModifyIp6AddressesBandwidthRequest) (response *ModifyIp6AddressesBandwidthResponse, err error) { if request == nil { request = NewModifyIp6AddressesBandwidthRequest() @@ -12682,10 +13070,11 @@ func NewModifyIp6RuleResponse() (response *ModifyIp6RuleResponse) { // 该接口用于修改IPV6转换规则,当前仅支持修改转换规则名称,IPV4地址和IPV4端口号 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_IPV6RULENOTCHANGE = "InvalidParameterValue.IPv6RuleNotChange" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_IPV6RULENOTCHANGE = "InvalidParameterValue.IPv6RuleNotChange" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) ModifyIp6Rule(request *ModifyIp6RuleRequest) (response *ModifyIp6RuleResponse, err error) { if request == nil { request = NewModifyIp6RuleRequest() @@ -12700,10 +13089,11 @@ func (c *Client) ModifyIp6Rule(request *ModifyIp6RuleRequest) (response *ModifyI // 该接口用于修改IPV6转换规则,当前仅支持修改转换规则名称,IPV4地址和IPV4端口号 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_IPV6RULENOTCHANGE = "InvalidParameterValue.IPv6RuleNotChange" -// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_IPV6RULENOTCHANGE = "InvalidParameterValue.IPv6RuleNotChange" +// INVALIDPARAMETERVALUE_RANGE = "InvalidParameterValue.Range" func (c *Client) ModifyIp6RuleWithContext(ctx context.Context, request *ModifyIp6RuleRequest) (response *ModifyIp6RuleResponse, err error) { if request == nil { request = NewModifyIp6RuleRequest() @@ -12735,8 +13125,9 @@ func NewModifyIp6TranslatorResponse() (response *ModifyIp6TranslatorResponse) { // 该接口用于修改IP6转换实例属性,当前仅支持修改实例名称。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) ModifyIp6Translator(request *ModifyIp6TranslatorRequest) (response *ModifyIp6TranslatorResponse, err error) { if request == nil { request = NewModifyIp6TranslatorRequest() @@ -12751,8 +13142,9 @@ func (c *Client) ModifyIp6Translator(request *ModifyIp6TranslatorRequest) (respo // 该接口用于修改IP6转换实例属性,当前仅支持修改实例名称。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) ModifyIp6TranslatorWithContext(ctx context.Context, request *ModifyIp6TranslatorRequest) (response *ModifyIp6TranslatorResponse, err error) { if request == nil { request = NewModifyIp6TranslatorRequest() @@ -12784,10 +13176,11 @@ func NewModifyIpv6AddressesAttributeResponse() (response *ModifyIpv6AddressesAtt // 本接口(ModifyIpv6AddressesAttribute)用于修改弹性网卡内网IPv6地址属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) ModifyIpv6AddressesAttribute(request *ModifyIpv6AddressesAttributeRequest) (response *ModifyIpv6AddressesAttributeResponse, err error) { if request == nil { request = NewModifyIpv6AddressesAttributeRequest() @@ -12802,10 +13195,11 @@ func (c *Client) ModifyIpv6AddressesAttribute(request *ModifyIpv6AddressesAttrib // 本接口(ModifyIpv6AddressesAttribute)用于修改弹性网卡内网IPv6地址属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) ModifyIpv6AddressesAttributeWithContext(ctx context.Context, request *ModifyIpv6AddressesAttributeRequest) (response *ModifyIpv6AddressesAttributeResponse, err error) { if request == nil { request = NewModifyIpv6AddressesAttributeRequest() @@ -12837,12 +13231,13 @@ func NewModifyLocalGatewayResponse() (response *ModifyLocalGatewayResponse) { // 该接口用于修改CDC的本地网关。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyLocalGateway(request *ModifyLocalGatewayRequest) (response *ModifyLocalGatewayResponse, err error) { if request == nil { request = NewModifyLocalGatewayRequest() @@ -12857,12 +13252,13 @@ func (c *Client) ModifyLocalGateway(request *ModifyLocalGatewayRequest) (respons // 该接口用于修改CDC的本地网关。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyLocalGatewayWithContext(ctx context.Context, request *ModifyLocalGatewayRequest) (response *ModifyLocalGatewayResponse, err error) { if request == nil { request = NewModifyLocalGatewayRequest() @@ -12894,11 +13290,12 @@ func NewModifyNatGatewayAttributeResponse() (response *ModifyNatGatewayAttribute // 本接口(ModifyNatGatewayAttribute)用于修改NAT网关的属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyNatGatewayAttribute(request *ModifyNatGatewayAttributeRequest) (response *ModifyNatGatewayAttributeResponse, err error) { if request == nil { request = NewModifyNatGatewayAttributeRequest() @@ -12913,11 +13310,12 @@ func (c *Client) ModifyNatGatewayAttribute(request *ModifyNatGatewayAttributeReq // 本接口(ModifyNatGatewayAttribute)用于修改NAT网关的属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyNatGatewayAttributeWithContext(ctx context.Context, request *ModifyNatGatewayAttributeRequest) (response *ModifyNatGatewayAttributeResponse, err error) { if request == nil { request = NewModifyNatGatewayAttributeRequest() @@ -12949,11 +13347,12 @@ func NewModifyNatGatewayDestinationIpPortTranslationNatRuleResponse() (response // 本接口(ModifyNatGatewayDestinationIpPortTranslationNatRule)用于修改NAT网关端口转发规则。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyNatGatewayDestinationIpPortTranslationNatRule(request *ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest) (response *ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse, err error) { if request == nil { request = NewModifyNatGatewayDestinationIpPortTranslationNatRuleRequest() @@ -12968,11 +13367,12 @@ func (c *Client) ModifyNatGatewayDestinationIpPortTranslationNatRule(request *Mo // 本接口(ModifyNatGatewayDestinationIpPortTranslationNatRule)用于修改NAT网关端口转发规则。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyNatGatewayDestinationIpPortTranslationNatRuleWithContext(ctx context.Context, request *ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest) (response *ModifyNatGatewayDestinationIpPortTranslationNatRuleResponse, err error) { if request == nil { request = NewModifyNatGatewayDestinationIpPortTranslationNatRuleRequest() @@ -13004,12 +13404,13 @@ func NewModifyNatGatewaySourceIpTranslationNatRuleResponse() (response *ModifyNa // 本接口(ModifyNatGatewaySourceIpTranslationNatRule)用于修改NAT网关SNAT转发规则。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" +// +// INTERNALERROR = "InternalError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" func (c *Client) ModifyNatGatewaySourceIpTranslationNatRule(request *ModifyNatGatewaySourceIpTranslationNatRuleRequest) (response *ModifyNatGatewaySourceIpTranslationNatRuleResponse, err error) { if request == nil { request = NewModifyNatGatewaySourceIpTranslationNatRuleRequest() @@ -13024,12 +13425,13 @@ func (c *Client) ModifyNatGatewaySourceIpTranslationNatRule(request *ModifyNatGa // 本接口(ModifyNatGatewaySourceIpTranslationNatRule)用于修改NAT网关SNAT转发规则。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" +// +// INTERNALERROR = "InternalError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// UNSUPPORTEDOPERATION_UNBINDEIP = "UnsupportedOperation.UnbindEIP" func (c *Client) ModifyNatGatewaySourceIpTranslationNatRuleWithContext(ctx context.Context, request *ModifyNatGatewaySourceIpTranslationNatRuleRequest) (response *ModifyNatGatewaySourceIpTranslationNatRuleResponse, err error) { if request == nil { request = NewModifyNatGatewaySourceIpTranslationNatRuleRequest() @@ -13061,15 +13463,16 @@ func NewModifyNetDetectResponse() (response *ModifyNetDetectResponse) { // 本接口(ModifyNetDetect)用于修改网络探测参数。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_NEXTHOPMISMATCH = "InvalidParameter.NextHopMismatch" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_NETDETECTSAMEIP = "InvalidParameterValue.NetDetectSameIp" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_NEXTHOPMISMATCH = "InvalidParameter.NextHopMismatch" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_NETDETECTSAMEIP = "InvalidParameterValue.NetDetectSameIp" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" func (c *Client) ModifyNetDetect(request *ModifyNetDetectRequest) (response *ModifyNetDetectResponse, err error) { if request == nil { request = NewModifyNetDetectRequest() @@ -13084,15 +13487,16 @@ func (c *Client) ModifyNetDetect(request *ModifyNetDetectRequest) (response *Mod // 本接口(ModifyNetDetect)用于修改网络探测参数。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_NEXTHOPMISMATCH = "InvalidParameter.NextHopMismatch" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_NETDETECTSAMEIP = "InvalidParameterValue.NetDetectSameIp" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_NEXTHOPMISMATCH = "InvalidParameter.NextHopMismatch" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_NETDETECTSAMEIP = "InvalidParameterValue.NetDetectSameIp" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_ECMPWITHUSERROUTE = "UnsupportedOperation.EcmpWithUserRoute" func (c *Client) ModifyNetDetectWithContext(ctx context.Context, request *ModifyNetDetectRequest) (response *ModifyNetDetectResponse, err error) { if request == nil { request = NewModifyNetDetectRequest() @@ -13124,10 +13528,11 @@ func NewModifyNetworkAclAttributeResponse() (response *ModifyNetworkAclAttribute // 本接口(ModifyNetworkAclAttribute)用于修改网络ACL属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyNetworkAclAttribute(request *ModifyNetworkAclAttributeRequest) (response *ModifyNetworkAclAttributeResponse, err error) { if request == nil { request = NewModifyNetworkAclAttributeRequest() @@ -13142,10 +13547,11 @@ func (c *Client) ModifyNetworkAclAttribute(request *ModifyNetworkAclAttributeReq // 本接口(ModifyNetworkAclAttribute)用于修改网络ACL属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyNetworkAclAttributeWithContext(ctx context.Context, request *ModifyNetworkAclAttributeRequest) (response *ModifyNetworkAclAttributeResponse, err error) { if request == nil { request = NewModifyNetworkAclAttributeRequest() @@ -13181,13 +13587,14 @@ func NewModifyNetworkAclEntriesResponse() (response *ModifyNetworkAclEntriesResp // * 若仅传入入站规则,则仅重置原有的入站规则,并导入传入的规则,不影响原有的出站规则(若仅传入出站规则,处理方式类似入站方向)。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyNetworkAclEntries(request *ModifyNetworkAclEntriesRequest) (response *ModifyNetworkAclEntriesResponse, err error) { if request == nil { request = NewModifyNetworkAclEntriesRequest() @@ -13206,13 +13613,14 @@ func (c *Client) ModifyNetworkAclEntries(request *ModifyNetworkAclEntriesRequest // * 若仅传入入站规则,则仅重置原有的入站规则,并导入传入的规则,不影响原有的出站规则(若仅传入出站规则,处理方式类似入站方向)。 // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyNetworkAclEntriesWithContext(ctx context.Context, request *ModifyNetworkAclEntriesRequest) (response *ModifyNetworkAclEntriesResponse, err error) { if request == nil { request = NewModifyNetworkAclEntriesRequest() @@ -13244,11 +13652,12 @@ func NewModifyNetworkInterfaceAttributeResponse() (response *ModifyNetworkInterf // 本接口(ModifyNetworkInterfaceAttribute)用于修改弹性网卡属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyNetworkInterfaceAttribute(request *ModifyNetworkInterfaceAttributeRequest) (response *ModifyNetworkInterfaceAttributeResponse, err error) { if request == nil { request = NewModifyNetworkInterfaceAttributeRequest() @@ -13263,11 +13672,12 @@ func (c *Client) ModifyNetworkInterfaceAttribute(request *ModifyNetworkInterface // 本接口(ModifyNetworkInterfaceAttribute)用于修改弹性网卡属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyNetworkInterfaceAttributeWithContext(ctx context.Context, request *ModifyNetworkInterfaceAttributeRequest) (response *ModifyNetworkInterfaceAttributeResponse, err error) { if request == nil { request = NewModifyNetworkInterfaceAttributeRequest() @@ -13299,10 +13709,11 @@ func NewModifyNetworkInterfaceQosResponse() (response *ModifyNetworkInterfaceQos // 修改弹性网卡服务质量 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyNetworkInterfaceQos(request *ModifyNetworkInterfaceQosRequest) (response *ModifyNetworkInterfaceQosResponse, err error) { if request == nil { request = NewModifyNetworkInterfaceQosRequest() @@ -13317,10 +13728,11 @@ func (c *Client) ModifyNetworkInterfaceQos(request *ModifyNetworkInterfaceQosReq // 修改弹性网卡服务质量 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyNetworkInterfaceQosWithContext(ctx context.Context, request *ModifyNetworkInterfaceQosRequest) (response *ModifyNetworkInterfaceQosResponse, err error) { if request == nil { request = NewModifyNetworkInterfaceQosRequest() @@ -13352,9 +13764,10 @@ func NewModifyPrivateIpAddressesAttributeResponse() (response *ModifyPrivateIpAd // 本接口(ModifyPrivateIpAddressesAttribute)用于修改弹性网卡内网IP属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) ModifyPrivateIpAddressesAttribute(request *ModifyPrivateIpAddressesAttributeRequest) (response *ModifyPrivateIpAddressesAttributeResponse, err error) { if request == nil { request = NewModifyPrivateIpAddressesAttributeRequest() @@ -13369,9 +13782,10 @@ func (c *Client) ModifyPrivateIpAddressesAttribute(request *ModifyPrivateIpAddre // 本接口(ModifyPrivateIpAddressesAttribute)用于修改弹性网卡内网IP属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) ModifyPrivateIpAddressesAttributeWithContext(ctx context.Context, request *ModifyPrivateIpAddressesAttributeRequest) (response *ModifyPrivateIpAddressesAttributeResponse, err error) { if request == nil { request = NewModifyPrivateIpAddressesAttributeRequest() @@ -13403,8 +13817,9 @@ func NewModifyRouteTableAttributeResponse() (response *ModifyRouteTableAttribute // 本接口(ModifyRouteTableAttribute)用于修改路由表(RouteTable)属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyRouteTableAttribute(request *ModifyRouteTableAttributeRequest) (response *ModifyRouteTableAttributeResponse, err error) { if request == nil { request = NewModifyRouteTableAttributeRequest() @@ -13419,8 +13834,9 @@ func (c *Client) ModifyRouteTableAttribute(request *ModifyRouteTableAttributeReq // 本接口(ModifyRouteTableAttribute)用于修改路由表(RouteTable)属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyRouteTableAttributeWithContext(ctx context.Context, request *ModifyRouteTableAttributeRequest) (response *ModifyRouteTableAttributeResponse, err error) { if request == nil { request = NewModifyRouteTableAttributeRequest() @@ -13452,10 +13868,11 @@ func NewModifySecurityGroupAttributeResponse() (response *ModifySecurityGroupAtt // 本接口(ModifySecurityGroupAttribute)用于修改安全组(SecurityGroupPolicy)属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifySecurityGroupAttribute(request *ModifySecurityGroupAttributeRequest) (response *ModifySecurityGroupAttributeResponse, err error) { if request == nil { request = NewModifySecurityGroupAttributeRequest() @@ -13470,10 +13887,11 @@ func (c *Client) ModifySecurityGroupAttribute(request *ModifySecurityGroupAttrib // 本接口(ModifySecurityGroupAttribute)用于修改安全组(SecurityGroupPolicy)属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifySecurityGroupAttributeWithContext(ctx context.Context, request *ModifySecurityGroupAttributeRequest) (response *ModifySecurityGroupAttributeResponse, err error) { if request == nil { request = NewModifySecurityGroupAttributeRequest() @@ -13504,44 +13922,43 @@ func NewModifySecurityGroupPoliciesResponse() (response *ModifySecurityGroupPoli // ModifySecurityGroupPolicies // 本接口(ModifySecurityGroupPolicies)用于重置安全组出站和入站规则(SecurityGroupPolicy)。 // -// -// //
    // //
  • 该接口不支持自定义索引 PolicyIndex。
  • // //
  • 在 SecurityGroupPolicySet 参数中:
      // -//
    • 如果指定 SecurityGroupPolicySet.Version 为0, 表示清空所有规则,并忽略 Egress 和 Ingress。
    • +//
    • 如果指定 SecurityGroupPolicySet.Version 为0, 表示清空所有规则,并忽略 Egress 和 Ingress。
    • // -//
    • 如果指定 SecurityGroupPolicySet.Version 不为0, 在添加出站和入站规则(Egress 和 Ingress)时:
        +//
      • 如果指定 SecurityGroupPolicySet.Version 不为0, 在添加出站和入站规则(Egress 和 Ingress)时:
          // -//
        • Protocol 字段支持输入 TCP, UDP, ICMP, ICMPV6, GRE, ALL。
        • +//
        • Protocol 字段支持输入 TCP, UDP, ICMP, ICMPV6, GRE, ALL。
        • // -//
        • CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。(展开)在基础网络中,如果 CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。
        • +//
        • CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。(展开)在基础网络中,如果 CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。
        • // -//
        • Ipv6CidrBlock 字段允许输入符合 IPv6 cidr 格式标准的任意字符串。(展开)在基础网络中,如果Ipv6CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。
        • +//
        • Ipv6CidrBlock 字段允许输入符合 IPv6 cidr 格式标准的任意字符串。(展开)在基础网络中,如果Ipv6CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。
        • // -//
        • SecurityGroupId 字段允许输入与待修改的安全组位于相同项目中的安全组 ID,包括这个安全组 ID 本身,代表安全组下所有云服务器的内网 IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。
        • +//
        • SecurityGroupId 字段允许输入与待修改的安全组位于相同项目中的安全组 ID,包括这个安全组 ID 本身,代表安全组下所有云服务器的内网 IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。
        • // -//
        • Port 字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当 Protocol 字段是 TCP 或 UDP 时,Port 字段才被接受。
        • +//
        • Port 字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当 Protocol 字段是 TCP 或 UDP 时,Port 字段才被接受。
        • // -//
        • Action 字段只允许输入 ACCEPT 或 DROP。
        • +//
        • Action 字段只允许输入 ACCEPT 或 DROP。
        • // -//
        • CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate 四者是排他关系,不允许同时输入,Protocol + Port 和 ServiceTemplate 二者是排他关系,不允许同时输入。
        • +//
        • CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate 四者是排他关系,不允许同时输入,Protocol + Port 和 ServiceTemplate 二者是排他关系,不允许同时输入。
        • // //
    • // //
    // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" func (c *Client) ModifySecurityGroupPolicies(request *ModifySecurityGroupPoliciesRequest) (response *ModifySecurityGroupPoliciesResponse, err error) { if request == nil { request = NewModifySecurityGroupPoliciesRequest() @@ -13555,44 +13972,43 @@ func (c *Client) ModifySecurityGroupPolicies(request *ModifySecurityGroupPolicie // ModifySecurityGroupPolicies // 本接口(ModifySecurityGroupPolicies)用于重置安全组出站和入站规则(SecurityGroupPolicy)。 // -// -// //
      // //
    • 该接口不支持自定义索引 PolicyIndex。
    • // //
    • 在 SecurityGroupPolicySet 参数中:
        // -//
      • 如果指定 SecurityGroupPolicySet.Version 为0, 表示清空所有规则,并忽略 Egress 和 Ingress。
      • +//
      • 如果指定 SecurityGroupPolicySet.Version 为0, 表示清空所有规则,并忽略 Egress 和 Ingress。
      • // -//
      • 如果指定 SecurityGroupPolicySet.Version 不为0, 在添加出站和入站规则(Egress 和 Ingress)时:
          +//
        • 如果指定 SecurityGroupPolicySet.Version 不为0, 在添加出站和入站规则(Egress 和 Ingress)时:
            // -//
          • Protocol 字段支持输入 TCP, UDP, ICMP, ICMPV6, GRE, ALL。
          • +//
          • Protocol 字段支持输入 TCP, UDP, ICMP, ICMPV6, GRE, ALL。
          • // -//
          • CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。(展开)在基础网络中,如果 CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。
          • +//
          • CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。(展开)在基础网络中,如果 CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。
          • // -//
          • Ipv6CidrBlock 字段允许输入符合 IPv6 cidr 格式标准的任意字符串。(展开)在基础网络中,如果Ipv6CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。
          • +//
          • Ipv6CidrBlock 字段允许输入符合 IPv6 cidr 格式标准的任意字符串。(展开)在基础网络中,如果Ipv6CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。
          • // -//
          • SecurityGroupId 字段允许输入与待修改的安全组位于相同项目中的安全组 ID,包括这个安全组 ID 本身,代表安全组下所有云服务器的内网 IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。
          • +//
          • SecurityGroupId 字段允许输入与待修改的安全组位于相同项目中的安全组 ID,包括这个安全组 ID 本身,代表安全组下所有云服务器的内网 IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。
          • // -//
          • Port 字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当 Protocol 字段是 TCP 或 UDP 时,Port 字段才被接受。
          • +//
          • Port 字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当 Protocol 字段是 TCP 或 UDP 时,Port 字段才被接受。
          • // -//
          • Action 字段只允许输入 ACCEPT 或 DROP。
          • +//
          • Action 字段只允许输入 ACCEPT 或 DROP。
          • // -//
          • CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate 四者是排他关系,不允许同时输入,Protocol + Port 和 ServiceTemplate 二者是排他关系,不允许同时输入。
          • +//
          • CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate 四者是排他关系,不允许同时输入,Protocol + Port 和 ServiceTemplate 二者是排他关系,不允许同时输入。
          • // //
      • // //
      // // 可能返回的错误码: -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" +// +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" func (c *Client) ModifySecurityGroupPoliciesWithContext(ctx context.Context, request *ModifySecurityGroupPoliciesRequest) (response *ModifySecurityGroupPoliciesResponse, err error) { if request == nil { request = NewModifySecurityGroupPoliciesRequest() @@ -13624,11 +14040,12 @@ func NewModifyServiceTemplateAttributeResponse() (response *ModifyServiceTemplat // 本接口(ModifyServiceTemplateAttribute)用于修改协议端口模板 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) ModifyServiceTemplateAttribute(request *ModifyServiceTemplateAttributeRequest) (response *ModifyServiceTemplateAttributeResponse, err error) { if request == nil { request = NewModifyServiceTemplateAttributeRequest() @@ -13643,11 +14060,12 @@ func (c *Client) ModifyServiceTemplateAttribute(request *ModifyServiceTemplateAt // 本接口(ModifyServiceTemplateAttribute)用于修改协议端口模板 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) ModifyServiceTemplateAttributeWithContext(ctx context.Context, request *ModifyServiceTemplateAttributeRequest) (response *ModifyServiceTemplateAttributeResponse, err error) { if request == nil { request = NewModifyServiceTemplateAttributeRequest() @@ -13679,9 +14097,10 @@ func NewModifyServiceTemplateGroupAttributeResponse() (response *ModifyServiceTe // 本接口(ModifyServiceTemplateGroupAttribute)用于修改协议端口模板集合。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyServiceTemplateGroupAttribute(request *ModifyServiceTemplateGroupAttributeRequest) (response *ModifyServiceTemplateGroupAttributeResponse, err error) { if request == nil { request = NewModifyServiceTemplateGroupAttributeRequest() @@ -13696,9 +14115,10 @@ func (c *Client) ModifyServiceTemplateGroupAttribute(request *ModifyServiceTempl // 本接口(ModifyServiceTemplateGroupAttribute)用于修改协议端口模板集合。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyServiceTemplateGroupAttributeWithContext(ctx context.Context, request *ModifyServiceTemplateGroupAttributeRequest) (response *ModifyServiceTemplateGroupAttributeResponse, err error) { if request == nil { request = NewModifyServiceTemplateGroupAttributeRequest() @@ -13730,8 +14150,9 @@ func NewModifySubnetAttributeResponse() (response *ModifySubnetAttributeResponse // 本接口(ModifySubnetAttribute)用于修改子网属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifySubnetAttribute(request *ModifySubnetAttributeRequest) (response *ModifySubnetAttributeResponse, err error) { if request == nil { request = NewModifySubnetAttributeRequest() @@ -13746,8 +14167,9 @@ func (c *Client) ModifySubnetAttribute(request *ModifySubnetAttributeRequest) (r // 本接口(ModifySubnetAttribute)用于修改子网属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifySubnetAttributeWithContext(ctx context.Context, request *ModifySubnetAttributeRequest) (response *ModifySubnetAttributeResponse, err error) { if request == nil { request = NewModifySubnetAttributeRequest() @@ -13779,10 +14201,11 @@ func NewModifyTemplateMemberResponse() (response *ModifyTemplateMemberResponse) // 修改模版对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyTemplateMember(request *ModifyTemplateMemberRequest) (response *ModifyTemplateMemberResponse, err error) { if request == nil { request = NewModifyTemplateMemberRequest() @@ -13797,10 +14220,11 @@ func (c *Client) ModifyTemplateMember(request *ModifyTemplateMemberRequest) (res // 修改模版对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyTemplateMemberWithContext(ctx context.Context, request *ModifyTemplateMemberRequest) (response *ModifyTemplateMemberResponse, err error) { if request == nil { request = NewModifyTemplateMemberRequest() @@ -13832,10 +14256,11 @@ func NewModifyVpcAttributeResponse() (response *ModifyVpcAttributeResponse) { // 本接口(ModifyVpcAttribute)用于修改私有网络(VPC)的相关属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyVpcAttribute(request *ModifyVpcAttributeRequest) (response *ModifyVpcAttributeResponse, err error) { if request == nil { request = NewModifyVpcAttributeRequest() @@ -13850,10 +14275,11 @@ func (c *Client) ModifyVpcAttribute(request *ModifyVpcAttributeRequest) (respons // 本接口(ModifyVpcAttribute)用于修改私有网络(VPC)的相关属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyVpcAttributeWithContext(ctx context.Context, request *ModifyVpcAttributeRequest) (response *ModifyVpcAttributeResponse, err error) { if request == nil { request = NewModifyVpcAttributeRequest() @@ -13885,14 +14311,15 @@ func NewModifyVpcEndPointAttributeResponse() (response *ModifyVpcEndPointAttribu // 修改终端节点属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCENOTFOUND_SVCNOTEXIST = "ResourceNotFound.SvcNotExist" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_SPECIALENDPOINTSERVICE = "UnsupportedOperation.SpecialEndPointService" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_SVCNOTEXIST = "ResourceNotFound.SvcNotExist" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_SPECIALENDPOINTSERVICE = "UnsupportedOperation.SpecialEndPointService" func (c *Client) ModifyVpcEndPointAttribute(request *ModifyVpcEndPointAttributeRequest) (response *ModifyVpcEndPointAttributeResponse, err error) { if request == nil { request = NewModifyVpcEndPointAttributeRequest() @@ -13907,14 +14334,15 @@ func (c *Client) ModifyVpcEndPointAttribute(request *ModifyVpcEndPointAttributeR // 修改终端节点属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCENOTFOUND_SVCNOTEXIST = "ResourceNotFound.SvcNotExist" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_SPECIALENDPOINTSERVICE = "UnsupportedOperation.SpecialEndPointService" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_SVCNOTEXIST = "ResourceNotFound.SvcNotExist" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_SPECIALENDPOINTSERVICE = "UnsupportedOperation.SpecialEndPointService" func (c *Client) ModifyVpcEndPointAttributeWithContext(ctx context.Context, request *ModifyVpcEndPointAttributeRequest) (response *ModifyVpcEndPointAttributeResponse, err error) { if request == nil { request = NewModifyVpcEndPointAttributeRequest() @@ -13945,15 +14373,14 @@ func NewModifyVpcEndPointServiceAttributeResponse() (response *ModifyVpcEndPoint // ModifyVpcEndPointServiceAttribute // 本接口(ModifyVpcEndPointServiceAttribute)用于修改终端节点服务属性。 // -// -// // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) ModifyVpcEndPointServiceAttribute(request *ModifyVpcEndPointServiceAttributeRequest) (response *ModifyVpcEndPointServiceAttributeResponse, err error) { if request == nil { request = NewModifyVpcEndPointServiceAttributeRequest() @@ -13967,15 +14394,14 @@ func (c *Client) ModifyVpcEndPointServiceAttribute(request *ModifyVpcEndPointSer // ModifyVpcEndPointServiceAttribute // 本接口(ModifyVpcEndPointServiceAttribute)用于修改终端节点服务属性。 // -// -// // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) ModifyVpcEndPointServiceAttributeWithContext(ctx context.Context, request *ModifyVpcEndPointServiceAttributeRequest) (response *ModifyVpcEndPointServiceAttributeResponse, err error) { if request == nil { request = NewModifyVpcEndPointServiceAttributeRequest() @@ -14007,10 +14433,11 @@ func NewModifyVpcEndPointServiceWhiteListResponse() (response *ModifyVpcEndPoint // 修改终端节点服务白名单属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" +// +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" func (c *Client) ModifyVpcEndPointServiceWhiteList(request *ModifyVpcEndPointServiceWhiteListRequest) (response *ModifyVpcEndPointServiceWhiteListResponse, err error) { if request == nil { request = NewModifyVpcEndPointServiceWhiteListRequest() @@ -14025,10 +14452,11 @@ func (c *Client) ModifyVpcEndPointServiceWhiteList(request *ModifyVpcEndPointSer // 修改终端节点服务白名单属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" +// +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_UINNOTFOUND = "UnsupportedOperation.UinNotFound" func (c *Client) ModifyVpcEndPointServiceWhiteListWithContext(ctx context.Context, request *ModifyVpcEndPointServiceWhiteListRequest) (response *ModifyVpcEndPointServiceWhiteListResponse, err error) { if request == nil { request = NewModifyVpcEndPointServiceWhiteListRequest() @@ -14060,9 +14488,10 @@ func NewModifyVpnConnectionAttributeResponse() (response *ModifyVpnConnectionAtt // 本接口(ModifyVpnConnectionAttribute)用于修改VPN通道。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_VPNCONNCIDRCONFLICT = "InvalidParameterValue.VpnConnCidrConflict" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_VPNCONNCIDRCONFLICT = "InvalidParameterValue.VpnConnCidrConflict" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyVpnConnectionAttribute(request *ModifyVpnConnectionAttributeRequest) (response *ModifyVpnConnectionAttributeResponse, err error) { if request == nil { request = NewModifyVpnConnectionAttributeRequest() @@ -14077,9 +14506,10 @@ func (c *Client) ModifyVpnConnectionAttribute(request *ModifyVpnConnectionAttrib // 本接口(ModifyVpnConnectionAttribute)用于修改VPN通道。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_VPNCONNCIDRCONFLICT = "InvalidParameterValue.VpnConnCidrConflict" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_VPNCONNCIDRCONFLICT = "InvalidParameterValue.VpnConnCidrConflict" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyVpnConnectionAttributeWithContext(ctx context.Context, request *ModifyVpnConnectionAttributeRequest) (response *ModifyVpnConnectionAttributeResponse, err error) { if request == nil { request = NewModifyVpnConnectionAttributeRequest() @@ -14111,9 +14541,10 @@ func NewModifyVpnGatewayAttributeResponse() (response *ModifyVpnGatewayAttribute // 本接口(ModifyVpnGatewayAttribute)用于修改VPN网关属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyVpnGatewayAttribute(request *ModifyVpnGatewayAttributeRequest) (response *ModifyVpnGatewayAttributeResponse, err error) { if request == nil { request = NewModifyVpnGatewayAttributeRequest() @@ -14128,9 +14559,10 @@ func (c *Client) ModifyVpnGatewayAttribute(request *ModifyVpnGatewayAttributeReq // 本接口(ModifyVpnGatewayAttribute)用于修改VPN网关属性。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyVpnGatewayAttributeWithContext(ctx context.Context, request *ModifyVpnGatewayAttributeRequest) (response *ModifyVpnGatewayAttributeResponse, err error) { if request == nil { request = NewModifyVpnGatewayAttributeRequest() @@ -14162,8 +14594,9 @@ func NewModifyVpnGatewayCcnRoutesResponse() (response *ModifyVpnGatewayCcnRoutes // 本接口(ModifyVpnGatewayCcnRoutes)用于修改VPN网关云联网路由 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALSERVERERROR = "InternalServerError" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyVpnGatewayCcnRoutes(request *ModifyVpnGatewayCcnRoutesRequest) (response *ModifyVpnGatewayCcnRoutesResponse, err error) { if request == nil { request = NewModifyVpnGatewayCcnRoutesRequest() @@ -14178,8 +14611,9 @@ func (c *Client) ModifyVpnGatewayCcnRoutes(request *ModifyVpnGatewayCcnRoutesReq // 本接口(ModifyVpnGatewayCcnRoutes)用于修改VPN网关云联网路由 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INTERNALSERVERERROR = "InternalServerError" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ModifyVpnGatewayCcnRoutesWithContext(ctx context.Context, request *ModifyVpnGatewayCcnRoutesRequest) (response *ModifyVpnGatewayCcnRoutesResponse, err error) { if request == nil { request = NewModifyVpnGatewayCcnRoutesRequest() @@ -14211,12 +14645,13 @@ func NewModifyVpnGatewayRoutesResponse() (response *ModifyVpnGatewayRoutesRespon // 修改VPN路由是否启用 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyVpnGatewayRoutes(request *ModifyVpnGatewayRoutesRequest) (response *ModifyVpnGatewayRoutesResponse, err error) { if request == nil { request = NewModifyVpnGatewayRoutesRequest() @@ -14231,12 +14666,13 @@ func (c *Client) ModifyVpnGatewayRoutes(request *ModifyVpnGatewayRoutesRequest) // 修改VPN路由是否启用 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNKNOWNPARAMETER = "UnknownParameter" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ModifyVpnGatewayRoutesWithContext(ctx context.Context, request *ModifyVpnGatewayRoutesRequest) (response *ModifyVpnGatewayRoutesResponse, err error) { if request == nil { request = NewModifyVpnGatewayRoutesRequest() @@ -14268,15 +14704,16 @@ func NewNotifyRoutesResponse() (response *NotifyRoutesResponse) { // 路由表列表页操作增加“发布到云联网”,用于发布路由到云联网。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDROUTEID_NOTFOUND = "InvalidRouteId.NotFound" -// INVALIDROUTETABLEID_MALFORMED = "InvalidRouteTableId.Malformed" -// INVALIDROUTETABLEID_NOTFOUND = "InvalidRouteTableId.NotFound" -// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" -// UNSUPPORTEDOPERATION_NOTIFYCCN = "UnsupportedOperation.NotifyCcn" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INTERNALERROR = "InternalError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDROUTEID_NOTFOUND = "InvalidRouteId.NotFound" +// INVALIDROUTETABLEID_MALFORMED = "InvalidRouteTableId.Malformed" +// INVALIDROUTETABLEID_NOTFOUND = "InvalidRouteTableId.NotFound" +// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" +// UNSUPPORTEDOPERATION_NOTIFYCCN = "UnsupportedOperation.NotifyCcn" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) NotifyRoutes(request *NotifyRoutesRequest) (response *NotifyRoutesResponse, err error) { if request == nil { request = NewNotifyRoutesRequest() @@ -14291,15 +14728,16 @@ func (c *Client) NotifyRoutes(request *NotifyRoutesRequest) (response *NotifyRou // 路由表列表页操作增加“发布到云联网”,用于发布路由到云联网。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDROUTEID_NOTFOUND = "InvalidRouteId.NotFound" -// INVALIDROUTETABLEID_MALFORMED = "InvalidRouteTableId.Malformed" -// INVALIDROUTETABLEID_NOTFOUND = "InvalidRouteTableId.NotFound" -// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" -// UNSUPPORTEDOPERATION_NOTIFYCCN = "UnsupportedOperation.NotifyCcn" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INTERNALERROR = "InternalError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDROUTEID_NOTFOUND = "InvalidRouteId.NotFound" +// INVALIDROUTETABLEID_MALFORMED = "InvalidRouteTableId.Malformed" +// INVALIDROUTETABLEID_NOTFOUND = "InvalidRouteTableId.NotFound" +// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" +// UNSUPPORTEDOPERATION_NOTIFYCCN = "UnsupportedOperation.NotifyCcn" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) NotifyRoutesWithContext(ctx context.Context, request *NotifyRoutesRequest) (response *NotifyRoutesResponse, err error) { if request == nil { request = NewNotifyRoutesRequest() @@ -14331,10 +14769,11 @@ func NewRefreshDirectConnectGatewayRouteToNatGatewayResponse() (response *Refres // 刷新专线直连nat路由,更新nat到专线的路由表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" func (c *Client) RefreshDirectConnectGatewayRouteToNatGateway(request *RefreshDirectConnectGatewayRouteToNatGatewayRequest) (response *RefreshDirectConnectGatewayRouteToNatGatewayResponse, err error) { if request == nil { request = NewRefreshDirectConnectGatewayRouteToNatGatewayRequest() @@ -14349,10 +14788,11 @@ func (c *Client) RefreshDirectConnectGatewayRouteToNatGateway(request *RefreshDi // 刷新专线直连nat路由,更新nat到专线的路由表 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" func (c *Client) RefreshDirectConnectGatewayRouteToNatGatewayWithContext(ctx context.Context, request *RefreshDirectConnectGatewayRouteToNatGatewayRequest) (response *RefreshDirectConnectGatewayRouteToNatGatewayResponse, err error) { if request == nil { request = NewRefreshDirectConnectGatewayRouteToNatGatewayRequest() @@ -14384,13 +14824,14 @@ func NewRejectAttachCcnInstancesResponse() (response *RejectAttachCcnInstancesRe // 本接口(RejectAttachCcnInstances)用于跨账号关联实例时,云联网所有者拒绝关联操作。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" -// UNSUPPORTEDOPERATION_NOTPENDINGCCNINSTANCE = "UnsupportedOperation.NotPendingCcnInstance" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" +// UNSUPPORTEDOPERATION_NOTPENDINGCCNINSTANCE = "UnsupportedOperation.NotPendingCcnInstance" func (c *Client) RejectAttachCcnInstances(request *RejectAttachCcnInstancesRequest) (response *RejectAttachCcnInstancesResponse, err error) { if request == nil { request = NewRejectAttachCcnInstancesRequest() @@ -14405,13 +14846,14 @@ func (c *Client) RejectAttachCcnInstances(request *RejectAttachCcnInstancesReque // 本接口(RejectAttachCcnInstances)用于跨账号关联实例时,云联网所有者拒绝关联操作。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" -// UNSUPPORTEDOPERATION_NOTPENDINGCCNINSTANCE = "UnsupportedOperation.NotPendingCcnInstance" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_CCNNOTATTACHED = "UnsupportedOperation.CcnNotAttached" +// UNSUPPORTEDOPERATION_NOTPENDINGCCNINSTANCE = "UnsupportedOperation.NotPendingCcnInstance" func (c *Client) RejectAttachCcnInstancesWithContext(ctx context.Context, request *RejectAttachCcnInstancesRequest) (response *RejectAttachCcnInstancesResponse, err error) { if request == nil { request = NewRejectAttachCcnInstancesRequest() @@ -14447,14 +14889,15 @@ func NewReleaseAddressesResponse() (response *ReleaseAddressesResponse) { // * 只有状态为 UNBIND 的 EIP 才能进行释放操作。 // // 可能返回的错误码: -// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDADDRESSSTATE = "InvalidAddressState" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSINTERNETCHARGETYPECONFLICT = "InvalidParameterValue.AddressInternetChargeTypeConflict" -// INVALIDPARAMETERVALUE_ADDRESSNOTEIP = "InvalidParameterValue.AddressNotEIP" -// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" -// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" +// +// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDADDRESSSTATE = "InvalidAddressState" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSINTERNETCHARGETYPECONFLICT = "InvalidParameterValue.AddressInternetChargeTypeConflict" +// INVALIDPARAMETERVALUE_ADDRESSNOTEIP = "InvalidParameterValue.AddressNotEIP" +// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" +// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" func (c *Client) ReleaseAddresses(request *ReleaseAddressesRequest) (response *ReleaseAddressesResponse, err error) { if request == nil { request = NewReleaseAddressesRequest() @@ -14473,14 +14916,15 @@ func (c *Client) ReleaseAddresses(request *ReleaseAddressesRequest) (response *R // * 只有状态为 UNBIND 的 EIP 才能进行释放操作。 // // 可能返回的错误码: -// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" -// INVALIDADDRESSSTATE = "InvalidAddressState" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSINTERNETCHARGETYPECONFLICT = "InvalidParameterValue.AddressInternetChargeTypeConflict" -// INVALIDPARAMETERVALUE_ADDRESSNOTEIP = "InvalidParameterValue.AddressNotEIP" -// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" -// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" +// +// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// INVALIDADDRESSSTATE = "InvalidAddressState" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSINTERNETCHARGETYPECONFLICT = "InvalidParameterValue.AddressInternetChargeTypeConflict" +// INVALIDPARAMETERVALUE_ADDRESSNOTEIP = "InvalidParameterValue.AddressNotEIP" +// INVALIDPARAMETERVALUE_ADDRESSNOTFOUND = "InvalidParameterValue.AddressNotFound" +// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" func (c *Client) ReleaseAddressesWithContext(ctx context.Context, request *ReleaseAddressesRequest) (response *ReleaseAddressesResponse, err error) { if request == nil { request = NewReleaseAddressesRequest() @@ -14512,15 +14956,16 @@ func NewReleaseIp6AddressesBandwidthResponse() (response *ReleaseIp6AddressesBan // 该接口用于给弹性公网IPv6地址释放带宽。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSIPNOTFOUND = "InvalidParameterValue.AddressIpNotFound" -// INVALIDPARAMETERVALUE_INVALIDIPV6 = "InvalidParameterValue.InvalidIpv6" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSIPNOTFOUND = "InvalidParameterValue.AddressIpNotFound" +// INVALIDPARAMETERVALUE_INVALIDIPV6 = "InvalidParameterValue.InvalidIpv6" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" func (c *Client) ReleaseIp6AddressesBandwidth(request *ReleaseIp6AddressesBandwidthRequest) (response *ReleaseIp6AddressesBandwidthResponse, err error) { if request == nil { request = NewReleaseIp6AddressesBandwidthRequest() @@ -14535,15 +14980,16 @@ func (c *Client) ReleaseIp6AddressesBandwidth(request *ReleaseIp6AddressesBandwi // 该接口用于给弹性公网IPv6地址释放带宽。 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" -// INVALIDPARAMETERVALUE_ADDRESSIPNOTFOUND = "InvalidParameterValue.AddressIpNotFound" -// INVALIDPARAMETERVALUE_INVALIDIPV6 = "InvalidParameterValue.InvalidIpv6" -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_ADDRESSIDMALFORMED = "InvalidParameterValue.AddressIdMalformed" +// INVALIDPARAMETERVALUE_ADDRESSIPNOTFOUND = "InvalidParameterValue.AddressIpNotFound" +// INVALIDPARAMETERVALUE_INVALIDIPV6 = "InvalidParameterValue.InvalidIpv6" +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" func (c *Client) ReleaseIp6AddressesBandwidthWithContext(ctx context.Context, request *ReleaseIp6AddressesBandwidthRequest) (response *ReleaseIp6AddressesBandwidthResponse, err error) { if request == nil { request = NewReleaseIp6AddressesBandwidthRequest() @@ -14575,13 +15021,14 @@ func NewRemoveBandwidthPackageResourcesResponse() (response *RemoveBandwidthPack // 接口用于删除带宽包资源,包括[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)和[负载均衡](https://cloud.tencent.com/document/product/214/517)等 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// INVALIDPARAMETERVALUE_RESOURCEIDMALFORMED = "InvalidParameterValue.ResourceIdMalformed" -// INVALIDPARAMETERVALUE_RESOURCENOTEXISTED = "InvalidParameterValue.ResourceNotExisted" -// INVALIDPARAMETERVALUE_RESOURCENOTFOUND = "InvalidParameterValue.ResourceNotFound" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INVALIDRESOURCEPROTOCOL = "UnsupportedOperation.InvalidResourceProtocol" +// +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// INVALIDPARAMETERVALUE_RESOURCEIDMALFORMED = "InvalidParameterValue.ResourceIdMalformed" +// INVALIDPARAMETERVALUE_RESOURCENOTEXISTED = "InvalidParameterValue.ResourceNotExisted" +// INVALIDPARAMETERVALUE_RESOURCENOTFOUND = "InvalidParameterValue.ResourceNotFound" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INVALIDRESOURCEPROTOCOL = "UnsupportedOperation.InvalidResourceProtocol" func (c *Client) RemoveBandwidthPackageResources(request *RemoveBandwidthPackageResourcesRequest) (response *RemoveBandwidthPackageResourcesResponse, err error) { if request == nil { request = NewRemoveBandwidthPackageResourcesRequest() @@ -14596,13 +15043,14 @@ func (c *Client) RemoveBandwidthPackageResources(request *RemoveBandwidthPackage // 接口用于删除带宽包资源,包括[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)和[负载均衡](https://cloud.tencent.com/document/product/214/517)等 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" -// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" -// INVALIDPARAMETERVALUE_RESOURCEIDMALFORMED = "InvalidParameterValue.ResourceIdMalformed" -// INVALIDPARAMETERVALUE_RESOURCENOTEXISTED = "InvalidParameterValue.ResourceNotExisted" -// INVALIDPARAMETERVALUE_RESOURCENOTFOUND = "InvalidParameterValue.ResourceNotFound" -// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" -// UNSUPPORTEDOPERATION_INVALIDRESOURCEPROTOCOL = "UnsupportedOperation.InvalidResourceProtocol" +// +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGEIDMALFORMED = "InvalidParameterValue.BandwidthPackageIdMalformed" +// INVALIDPARAMETERVALUE_BANDWIDTHPACKAGENOTFOUND = "InvalidParameterValue.BandwidthPackageNotFound" +// INVALIDPARAMETERVALUE_RESOURCEIDMALFORMED = "InvalidParameterValue.ResourceIdMalformed" +// INVALIDPARAMETERVALUE_RESOURCENOTEXISTED = "InvalidParameterValue.ResourceNotExisted" +// INVALIDPARAMETERVALUE_RESOURCENOTFOUND = "InvalidParameterValue.ResourceNotFound" +// UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = "UnsupportedOperation.BandwidthPackageIdNotSupported" +// UNSUPPORTEDOPERATION_INVALIDRESOURCEPROTOCOL = "UnsupportedOperation.InvalidResourceProtocol" func (c *Client) RemoveBandwidthPackageResourcesWithContext(ctx context.Context, request *RemoveBandwidthPackageResourcesRequest) (response *RemoveBandwidthPackageResourcesResponse, err error) { if request == nil { request = NewRemoveBandwidthPackageResourcesRequest() @@ -14636,8 +15084,9 @@ func NewRemoveIp6RulesResponse() (response *RemoveIp6RulesResponse) { // 2. 支持批量删除同一个转换实例下的多个转换规则 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) RemoveIp6Rules(request *RemoveIp6RulesRequest) (response *RemoveIp6RulesResponse, err error) { if request == nil { request = NewRemoveIp6RulesRequest() @@ -14654,8 +15103,9 @@ func (c *Client) RemoveIp6Rules(request *RemoveIp6RulesRequest) (response *Remov // 2. 支持批量删除同一个转换实例下的多个转换规则 // // 可能返回的错误码: -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETER = "InvalidParameter" +// +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETER = "InvalidParameter" func (c *Client) RemoveIp6RulesWithContext(ctx context.Context, request *RemoveIp6RulesRequest) (response *RemoveIp6RulesResponse, err error) { if request == nil { request = NewRemoveIp6RulesRequest() @@ -14687,7 +15137,8 @@ func NewRenewAddressesResponse() (response *RenewAddressesResponse) { // 该接口用于续费包月带宽计费模式的弹性公网IP // // 可能返回的错误码: -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" func (c *Client) RenewAddresses(request *RenewAddressesRequest) (response *RenewAddressesResponse, err error) { if request == nil { request = NewRenewAddressesRequest() @@ -14702,7 +15153,8 @@ func (c *Client) RenewAddresses(request *RenewAddressesRequest) (response *Renew // 该接口用于续费包月带宽计费模式的弹性公网IP // // 可能返回的错误码: -// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" +// +// INVALIDADDRESSID_NOTFOUND = "InvalidAddressId.NotFound" func (c *Client) RenewAddressesWithContext(ctx context.Context, request *RenewAddressesRequest) (response *RenewAddressesResponse, err error) { if request == nil { request = NewRenewAddressesRequest() @@ -14734,8 +15186,9 @@ func NewRenewVpnGatewayResponse() (response *RenewVpnGatewayResponse) { // 本接口(RenewVpnGateway)用于预付费(包年包月)VPN网关续费。目前只支持IPSEC网关。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) RenewVpnGateway(request *RenewVpnGatewayRequest) (response *RenewVpnGatewayResponse, err error) { if request == nil { request = NewRenewVpnGatewayRequest() @@ -14750,8 +15203,9 @@ func (c *Client) RenewVpnGateway(request *RenewVpnGatewayRequest) (response *Ren // 本接口(RenewVpnGateway)用于预付费(包年包月)VPN网关续费。目前只支持IPSEC网关。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) RenewVpnGatewayWithContext(ctx context.Context, request *RenewVpnGatewayRequest) (response *RenewVpnGatewayResponse, err error) { if request == nil { request = NewRenewVpnGatewayRequest() @@ -14783,8 +15237,9 @@ func NewReplaceDirectConnectGatewayCcnRoutesResponse() (response *ReplaceDirectC // 本接口(ReplaceDirectConnectGatewayCcnRoutes)根据路由ID(RouteId)修改指定的路由(Route),支持批量修改。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ReplaceDirectConnectGatewayCcnRoutes(request *ReplaceDirectConnectGatewayCcnRoutesRequest) (response *ReplaceDirectConnectGatewayCcnRoutesResponse, err error) { if request == nil { request = NewReplaceDirectConnectGatewayCcnRoutesRequest() @@ -14799,8 +15254,9 @@ func (c *Client) ReplaceDirectConnectGatewayCcnRoutes(request *ReplaceDirectConn // 本接口(ReplaceDirectConnectGatewayCcnRoutes)根据路由ID(RouteId)修改指定的路由(Route),支持批量修改。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ReplaceDirectConnectGatewayCcnRoutesWithContext(ctx context.Context, request *ReplaceDirectConnectGatewayCcnRoutesRequest) (response *ReplaceDirectConnectGatewayCcnRoutesResponse, err error) { if request == nil { request = NewReplaceDirectConnectGatewayCcnRoutesRequest() @@ -14834,9 +15290,10 @@ func NewReplaceRouteTableAssociationResponse() (response *ReplaceRouteTableAssoc // * 一个子网只能关联一个路由表。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) ReplaceRouteTableAssociation(request *ReplaceRouteTableAssociationRequest) (response *ReplaceRouteTableAssociationResponse, err error) { if request == nil { request = NewReplaceRouteTableAssociationRequest() @@ -14853,9 +15310,10 @@ func (c *Client) ReplaceRouteTableAssociation(request *ReplaceRouteTableAssociat // * 一个子网只能关联一个路由表。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_VPCMISMATCH = "UnsupportedOperation.VpcMismatch" func (c *Client) ReplaceRouteTableAssociationWithContext(ctx context.Context, request *ReplaceRouteTableAssociationRequest) (response *ReplaceRouteTableAssociationResponse, err error) { if request == nil { request = NewReplaceRouteTableAssociationRequest() @@ -14887,20 +15345,21 @@ func NewReplaceRoutesResponse() (response *ReplaceRoutesResponse) { // 本接口(ReplaceRoutes)根据路由策略ID(RouteId)修改指定的路由策略(Route),支持批量修改。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_CDCSUBNETNOTSUPPORTUNLOCALGATEWAY = "UnsupportedOperation.CdcSubnetNotSupportUnLocalGateway" -// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" -// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" -// UNSUPPORTEDOPERATION_NORMALSUBNETNOTSUPPORTLOCALGATEWAY = "UnsupportedOperation.NormalSubnetNotSupportLocalGateway" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_CDCSUBNETNOTSUPPORTUNLOCALGATEWAY = "UnsupportedOperation.CdcSubnetNotSupportUnLocalGateway" +// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" +// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" +// UNSUPPORTEDOPERATION_NORMALSUBNETNOTSUPPORTLOCALGATEWAY = "UnsupportedOperation.NormalSubnetNotSupportLocalGateway" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) ReplaceRoutes(request *ReplaceRoutesRequest) (response *ReplaceRoutesResponse, err error) { if request == nil { request = NewReplaceRoutesRequest() @@ -14915,20 +15374,21 @@ func (c *Client) ReplaceRoutes(request *ReplaceRoutesRequest) (response *Replace // 本接口(ReplaceRoutes)根据路由策略ID(RouteId)修改指定的路由策略(Route),支持批量修改。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_CDCSUBNETNOTSUPPORTUNLOCALGATEWAY = "UnsupportedOperation.CdcSubnetNotSupportUnLocalGateway" -// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" -// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" -// UNSUPPORTEDOPERATION_NORMALSUBNETNOTSUPPORTLOCALGATEWAY = "UnsupportedOperation.NormalSubnetNotSupportLocalGateway" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_CDCSUBNETNOTSUPPORTUNLOCALGATEWAY = "UnsupportedOperation.CdcSubnetNotSupportUnLocalGateway" +// UNSUPPORTEDOPERATION_CONFLICTWITHDOCKERROUTE = "UnsupportedOperation.ConflictWithDockerRoute" +// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" +// UNSUPPORTEDOPERATION_NORMALSUBNETNOTSUPPORTLOCALGATEWAY = "UnsupportedOperation.NormalSubnetNotSupportLocalGateway" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) ReplaceRoutesWithContext(ctx context.Context, request *ReplaceRoutesRequest) (response *ReplaceRoutesResponse, err error) { if request == nil { request = NewReplaceRoutesRequest() @@ -14962,16 +15422,17 @@ func NewReplaceSecurityGroupPolicyResponse() (response *ReplaceSecurityGroupPoli // 单个请求中只能替换单个方向的一条规则, 必须要指定索引(PolicyIndex)。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_CLBPOLICYLIMIT = "UnsupportedOperation.ClbPolicyLimit" -// UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" -// UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_CLBPOLICYLIMIT = "UnsupportedOperation.ClbPolicyLimit" +// UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" +// UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch" func (c *Client) ReplaceSecurityGroupPolicy(request *ReplaceSecurityGroupPolicyRequest) (response *ReplaceSecurityGroupPolicyResponse, err error) { if request == nil { request = NewReplaceSecurityGroupPolicyRequest() @@ -14988,16 +15449,17 @@ func (c *Client) ReplaceSecurityGroupPolicy(request *ReplaceSecurityGroupPolicyR // 单个请求中只能替换单个方向的一条规则, 必须要指定索引(PolicyIndex)。 // // 可能返回的错误码: -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION_CLBPOLICYLIMIT = "UnsupportedOperation.ClbPolicyLimit" -// UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" -// UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch" +// +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_COEXIST = "InvalidParameter.Coexist" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION_CLBPOLICYLIMIT = "UnsupportedOperation.ClbPolicyLimit" +// UNSUPPORTEDOPERATION_DUPLICATEPOLICY = "UnsupportedOperation.DuplicatePolicy" +// UNSUPPORTEDOPERATION_VERSIONMISMATCH = "UnsupportedOperation.VersionMismatch" func (c *Client) ReplaceSecurityGroupPolicyWithContext(ctx context.Context, request *ReplaceSecurityGroupPolicyRequest) (response *ReplaceSecurityGroupPolicyResponse, err error) { if request == nil { request = NewReplaceSecurityGroupPolicyRequest() @@ -15029,8 +15491,9 @@ func NewResetAttachCcnInstancesResponse() (response *ResetAttachCcnInstancesResp // 本接口(ResetAttachCcnInstances)用于跨账号关联实例申请过期时,重新申请关联操作。 // // 可能返回的错误码: -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ResetAttachCcnInstances(request *ResetAttachCcnInstancesRequest) (response *ResetAttachCcnInstancesResponse, err error) { if request == nil { request = NewResetAttachCcnInstancesRequest() @@ -15045,8 +15508,9 @@ func (c *Client) ResetAttachCcnInstances(request *ResetAttachCcnInstancesRequest // 本接口(ResetAttachCcnInstances)用于跨账号关联实例申请过期时,重新申请关联操作。 // // 可能返回的错误码: -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) ResetAttachCcnInstancesWithContext(ctx context.Context, request *ResetAttachCcnInstancesRequest) (response *ResetAttachCcnInstancesResponse, err error) { if request == nil { request = NewResetAttachCcnInstancesRequest() @@ -15078,8 +15542,9 @@ func NewResetNatGatewayConnectionResponse() (response *ResetNatGatewayConnection // 本接口(ResetNatGatewayConnection)用来NAT网关并发连接上限。 // // 可能返回的错误码: -// RESOURCEINUSE = "ResourceInUse" -// UNSUPPORTEDOPERATION_UNPAIDORDERALREADYEXISTS = "UnsupportedOperation.UnpaidOrderAlreadyExists" +// +// RESOURCEINUSE = "ResourceInUse" +// UNSUPPORTEDOPERATION_UNPAIDORDERALREADYEXISTS = "UnsupportedOperation.UnpaidOrderAlreadyExists" func (c *Client) ResetNatGatewayConnection(request *ResetNatGatewayConnectionRequest) (response *ResetNatGatewayConnectionResponse, err error) { if request == nil { request = NewResetNatGatewayConnectionRequest() @@ -15094,8 +15559,9 @@ func (c *Client) ResetNatGatewayConnection(request *ResetNatGatewayConnectionReq // 本接口(ResetNatGatewayConnection)用来NAT网关并发连接上限。 // // 可能返回的错误码: -// RESOURCEINUSE = "ResourceInUse" -// UNSUPPORTEDOPERATION_UNPAIDORDERALREADYEXISTS = "UnsupportedOperation.UnpaidOrderAlreadyExists" +// +// RESOURCEINUSE = "ResourceInUse" +// UNSUPPORTEDOPERATION_UNPAIDORDERALREADYEXISTS = "UnsupportedOperation.UnpaidOrderAlreadyExists" func (c *Client) ResetNatGatewayConnectionWithContext(ctx context.Context, request *ResetNatGatewayConnectionRequest) (response *ResetNatGatewayConnectionResponse, err error) { if request == nil { request = NewResetNatGatewayConnectionRequest() @@ -15129,14 +15595,15 @@ func NewResetRoutesResponse() (response *ResetRoutesResponse) { // 注意: 调用本接口是先删除当前路由表中所有路由策略, 再保存新提交的路由策略内容, 会引起网络中断。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" -// LIMITEXCEEDED = "LimitExceeded" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// LIMITEXCEEDED = "LimitExceeded" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) ResetRoutes(request *ResetRoutesRequest) (response *ResetRoutesResponse, err error) { if request == nil { request = NewResetRoutesRequest() @@ -15153,14 +15620,15 @@ func (c *Client) ResetRoutes(request *ResetRoutesRequest) (response *ResetRoutes // 注意: 调用本接口是先删除当前路由表中所有路由策略, 再保存新提交的路由策略内容, 会引起网络中断。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" -// LIMITEXCEEDED = "LimitExceeded" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// LIMITEXCEEDED = "LimitExceeded" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_ECMP = "UnsupportedOperation.Ecmp" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) ResetRoutesWithContext(ctx context.Context, request *ResetRoutesRequest) (response *ResetRoutesResponse, err error) { if request == nil { request = NewResetRoutesRequest() @@ -15192,8 +15660,9 @@ func NewResetVpnConnectionResponse() (response *ResetVpnConnectionResponse) { // 本接口(ResetVpnConnection)用于重置VPN通道。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ResetVpnConnection(request *ResetVpnConnectionRequest) (response *ResetVpnConnectionResponse, err error) { if request == nil { request = NewResetVpnConnectionRequest() @@ -15208,8 +15677,9 @@ func (c *Client) ResetVpnConnection(request *ResetVpnConnectionRequest) (respons // 本接口(ResetVpnConnection)用于重置VPN通道。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) ResetVpnConnectionWithContext(ctx context.Context, request *ResetVpnConnectionRequest) (response *ResetVpnConnectionResponse, err error) { if request == nil { request = NewResetVpnConnectionRequest() @@ -15241,10 +15711,11 @@ func NewResetVpnGatewayInternetMaxBandwidthResponse() (response *ResetVpnGateway // 本接口(ResetVpnGatewayInternetMaxBandwidth)调整VPN网关带宽上限。目前支持升级配置,如果是包年包月VPN网关需要在有效期内。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) ResetVpnGatewayInternetMaxBandwidth(request *ResetVpnGatewayInternetMaxBandwidthRequest) (response *ResetVpnGatewayInternetMaxBandwidthResponse, err error) { if request == nil { request = NewResetVpnGatewayInternetMaxBandwidthRequest() @@ -15259,10 +15730,11 @@ func (c *Client) ResetVpnGatewayInternetMaxBandwidth(request *ResetVpnGatewayInt // 本接口(ResetVpnGatewayInternetMaxBandwidth)调整VPN网关带宽上限。目前支持升级配置,如果是包年包月VPN网关需要在有效期内。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" func (c *Client) ResetVpnGatewayInternetMaxBandwidthWithContext(ctx context.Context, request *ResetVpnGatewayInternetMaxBandwidthRequest) (response *ResetVpnGatewayInternetMaxBandwidthResponse, err error) { if request == nil { request = NewResetVpnGatewayInternetMaxBandwidthRequest() @@ -15294,9 +15766,10 @@ func NewSetCcnRegionBandwidthLimitsResponse() (response *SetCcnRegionBandwidthLi // 本接口(SetCcnRegionBandwidthLimits)用于设置云联网(CCN)各地域出带宽上限,或者地域间带宽上限。 // // 可能返回的错误码: -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_NOTPOSTPAIDCCNOPERATION = "UnsupportedOperation.NotPostpaidCcnOperation" +// +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_NOTPOSTPAIDCCNOPERATION = "UnsupportedOperation.NotPostpaidCcnOperation" func (c *Client) SetCcnRegionBandwidthLimits(request *SetCcnRegionBandwidthLimitsRequest) (response *SetCcnRegionBandwidthLimitsResponse, err error) { if request == nil { request = NewSetCcnRegionBandwidthLimitsRequest() @@ -15311,9 +15784,10 @@ func (c *Client) SetCcnRegionBandwidthLimits(request *SetCcnRegionBandwidthLimit // 本接口(SetCcnRegionBandwidthLimits)用于设置云联网(CCN)各地域出带宽上限,或者地域间带宽上限。 // // 可能返回的错误码: -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_NOTPOSTPAIDCCNOPERATION = "UnsupportedOperation.NotPostpaidCcnOperation" +// +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_NOTPOSTPAIDCCNOPERATION = "UnsupportedOperation.NotPostpaidCcnOperation" func (c *Client) SetCcnRegionBandwidthLimitsWithContext(ctx context.Context, request *SetCcnRegionBandwidthLimitsRequest) (response *SetCcnRegionBandwidthLimitsResponse, err error) { if request == nil { request = NewSetCcnRegionBandwidthLimitsRequest() @@ -15347,16 +15821,17 @@ func NewTransformAddressResponse() (response *TransformAddressResponse) { // * 平台对用户每地域每日解绑 EIP 重新分配普通公网 IP 次数有所限制(可参见 [EIP 产品简介](/document/product/213/1941))。上述配额可通过 [DescribeAddressQuota](https://cloud.tencent.com/document/api/213/1378) 接口获取。 // // 可能返回的错误码: -// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" -// ADDRESSQUOTALIMITEXCEEDED_DAILYALLOCATE = "AddressQuotaLimitExceeded.DailyAllocate" -// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_ALREADYBINDEIP = "InvalidInstanceId.AlreadyBindEip" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE_INSTANCENOWANIP = "InvalidParameterValue.InstanceNoWanIP" -// INVALIDPARAMETERVALUE_INVALIDINSTANCESTATE = "InvalidParameterValue.InvalidInstanceState" -// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" -// UNSUPPORTEDOPERATION_INVALIDADDRESSINTERNETCHARGETYPE = "UnsupportedOperation.InvalidAddressInternetChargeType" +// +// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" +// ADDRESSQUOTALIMITEXCEEDED_DAILYALLOCATE = "AddressQuotaLimitExceeded.DailyAllocate" +// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_ALREADYBINDEIP = "InvalidInstanceId.AlreadyBindEip" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE_INSTANCENOWANIP = "InvalidParameterValue.InstanceNoWanIP" +// INVALIDPARAMETERVALUE_INVALIDINSTANCESTATE = "InvalidParameterValue.InvalidInstanceState" +// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" +// UNSUPPORTEDOPERATION_INVALIDADDRESSINTERNETCHARGETYPE = "UnsupportedOperation.InvalidAddressInternetChargeType" func (c *Client) TransformAddress(request *TransformAddressRequest) (response *TransformAddressResponse, err error) { if request == nil { request = NewTransformAddressRequest() @@ -15373,16 +15848,17 @@ func (c *Client) TransformAddress(request *TransformAddressRequest) (response *T // * 平台对用户每地域每日解绑 EIP 重新分配普通公网 IP 次数有所限制(可参见 [EIP 产品简介](/document/product/213/1941))。上述配额可通过 [DescribeAddressQuota](https://cloud.tencent.com/document/api/213/1378) 接口获取。 // // 可能返回的错误码: -// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" -// ADDRESSQUOTALIMITEXCEEDED_DAILYALLOCATE = "AddressQuotaLimitExceeded.DailyAllocate" -// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" -// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" -// INVALIDINSTANCEID_ALREADYBINDEIP = "InvalidInstanceId.AlreadyBindEip" -// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" -// INVALIDPARAMETERVALUE_INSTANCENOWANIP = "InvalidParameterValue.InstanceNoWanIP" -// INVALIDPARAMETERVALUE_INVALIDINSTANCESTATE = "InvalidParameterValue.InvalidInstanceState" -// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" -// UNSUPPORTEDOPERATION_INVALIDADDRESSINTERNETCHARGETYPE = "UnsupportedOperation.InvalidAddressInternetChargeType" +// +// ADDRESSQUOTALIMITEXCEEDED = "AddressQuotaLimitExceeded" +// ADDRESSQUOTALIMITEXCEEDED_DAILYALLOCATE = "AddressQuotaLimitExceeded.DailyAllocate" +// INVALIDADDRESSID_BLOCKED = "InvalidAddressId.Blocked" +// INVALIDINSTANCE_NOTSUPPORTED = "InvalidInstance.NotSupported" +// INVALIDINSTANCEID_ALREADYBINDEIP = "InvalidInstanceId.AlreadyBindEip" +// INVALIDINSTANCEID_NOTFOUND = "InvalidInstanceId.NotFound" +// INVALIDPARAMETERVALUE_INSTANCENOWANIP = "InvalidParameterValue.InstanceNoWanIP" +// INVALIDPARAMETERVALUE_INVALIDINSTANCESTATE = "InvalidParameterValue.InvalidInstanceState" +// UNSUPPORTEDOPERATION_ADDRESSSTATUSNOTPERMIT = "UnsupportedOperation.AddressStatusNotPermit" +// UNSUPPORTEDOPERATION_INVALIDADDRESSINTERNETCHARGETYPE = "UnsupportedOperation.InvalidAddressInternetChargeType" func (c *Client) TransformAddressWithContext(ctx context.Context, request *TransformAddressRequest) (response *TransformAddressResponse, err error) { if request == nil { request = NewTransformAddressRequest() @@ -15416,13 +15892,14 @@ func NewUnassignIpv6AddressesResponse() (response *UnassignIpv6AddressesResponse // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION_ATTACHMENTNOTFOUND = "UnauthorizedOperation.AttachmentNotFound" -// UNAUTHORIZEDOPERATION_PRIMARYIP = "UnauthorizedOperation.PrimaryIp" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION_ATTACHMENTNOTFOUND = "UnauthorizedOperation.AttachmentNotFound" +// UNAUTHORIZEDOPERATION_PRIMARYIP = "UnauthorizedOperation.PrimaryIp" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) UnassignIpv6Addresses(request *UnassignIpv6AddressesRequest) (response *UnassignIpv6AddressesResponse, err error) { if request == nil { request = NewUnassignIpv6AddressesRequest() @@ -15439,13 +15916,14 @@ func (c *Client) UnassignIpv6Addresses(request *UnassignIpv6AddressesRequest) (r // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// RESOURCENOTFOUND = "ResourceNotFound" -// UNAUTHORIZEDOPERATION_ATTACHMENTNOTFOUND = "UnauthorizedOperation.AttachmentNotFound" -// UNAUTHORIZEDOPERATION_PRIMARYIP = "UnauthorizedOperation.PrimaryIp" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// RESOURCENOTFOUND = "ResourceNotFound" +// UNAUTHORIZEDOPERATION_ATTACHMENTNOTFOUND = "UnauthorizedOperation.AttachmentNotFound" +// UNAUTHORIZEDOPERATION_PRIMARYIP = "UnauthorizedOperation.PrimaryIp" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) UnassignIpv6AddressesWithContext(ctx context.Context, request *UnassignIpv6AddressesRequest) (response *UnassignIpv6AddressesResponse, err error) { if request == nil { request = NewUnassignIpv6AddressesRequest() @@ -15479,8 +15957,9 @@ func NewUnassignIpv6CidrBlockResponse() (response *UnassignIpv6CidrBlockResponse // 网段如果还有IP占用且未回收,则网段无法释放。 // // 可能返回的错误码: -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) UnassignIpv6CidrBlock(request *UnassignIpv6CidrBlockRequest) (response *UnassignIpv6CidrBlockResponse, err error) { if request == nil { request = NewUnassignIpv6CidrBlockRequest() @@ -15497,8 +15976,9 @@ func (c *Client) UnassignIpv6CidrBlock(request *UnassignIpv6CidrBlockRequest) (r // 网段如果还有IP占用且未回收,则网段无法释放。 // // 可能返回的错误码: -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) UnassignIpv6CidrBlockWithContext(ctx context.Context, request *UnassignIpv6CidrBlockRequest) (response *UnassignIpv6CidrBlockResponse, err error) { if request == nil { request = NewUnassignIpv6CidrBlockRequest() @@ -15532,9 +16012,10 @@ func NewUnassignIpv6SubnetCidrBlockResponse() (response *UnassignIpv6SubnetCidrB // 子网段如果还有IP占用且未回收,则子网段无法释放。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) UnassignIpv6SubnetCidrBlock(request *UnassignIpv6SubnetCidrBlockRequest) (response *UnassignIpv6SubnetCidrBlockResponse, err error) { if request == nil { request = NewUnassignIpv6SubnetCidrBlockRequest() @@ -15551,9 +16032,10 @@ func (c *Client) UnassignIpv6SubnetCidrBlock(request *UnassignIpv6SubnetCidrBloc // 子网段如果还有IP占用且未回收,则子网段无法释放。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" +// +// INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) UnassignIpv6SubnetCidrBlockWithContext(ctx context.Context, request *UnassignIpv6SubnetCidrBlockRequest) (response *UnassignIpv6SubnetCidrBlockResponse, err error) { if request == nil { request = NewUnassignIpv6SubnetCidrBlockRequest() @@ -15586,18 +16068,17 @@ func NewUnassignPrivateIpAddressesResponse() (response *UnassignPrivateIpAddress // // * 退还弹性网卡上的辅助内网IP,接口自动解关联弹性公网 IP。不能退还弹性网卡的主内网IP。 // -// -// // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) UnassignPrivateIpAddresses(request *UnassignPrivateIpAddressesRequest) (response *UnassignPrivateIpAddressesResponse, err error) { if request == nil { request = NewUnassignPrivateIpAddressesRequest() @@ -15613,18 +16094,17 @@ func (c *Client) UnassignPrivateIpAddresses(request *UnassignPrivateIpAddressesR // // * 退还弹性网卡上的辅助内网IP,接口自动解关联弹性公网 IP。不能退还弹性网卡的主内网IP。 // -// -// // 本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。 // // 可能返回的错误码: -// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// RESOURCENOTFOUND = "ResourceNotFound" -// UNSUPPORTEDOPERATION = "UnsupportedOperation" -// UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" -// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" -// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" +// +// INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +// UNSUPPORTEDOPERATION_ATTACHMENTNOTFOUND = "UnsupportedOperation.AttachmentNotFound" +// UNSUPPORTEDOPERATION_INVALIDSTATE = "UnsupportedOperation.InvalidState" +// UNSUPPORTEDOPERATION_MUTEXOPERATIONTASKRUNNING = "UnsupportedOperation.MutexOperationTaskRunning" func (c *Client) UnassignPrivateIpAddressesWithContext(ctx context.Context, request *UnassignPrivateIpAddressesRequest) (response *UnassignPrivateIpAddressesResponse, err error) { if request == nil { request = NewUnassignPrivateIpAddressesRequest() @@ -15656,14 +16136,15 @@ func NewWithdrawNotifyRoutesResponse() (response *WithdrawNotifyRoutesResponse) // 路由表列表页操作增加“从云联网撤销”,用于撤销已发布到云联网的路由。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDROUTEID_NOTFOUND = "InvalidRouteId.NotFound" -// INVALIDROUTETABLEID_MALFORMED = "InvalidRouteTableId.Malformed" -// INVALIDROUTETABLEID_NOTFOUND = "InvalidRouteTableId.NotFound" -// UNSUPPORTEDOPERATION_NOTIFYCCN = "UnsupportedOperation.NotifyCcn" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INTERNALERROR = "InternalError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDROUTEID_NOTFOUND = "InvalidRouteId.NotFound" +// INVALIDROUTETABLEID_MALFORMED = "InvalidRouteTableId.Malformed" +// INVALIDROUTETABLEID_NOTFOUND = "InvalidRouteTableId.NotFound" +// UNSUPPORTEDOPERATION_NOTIFYCCN = "UnsupportedOperation.NotifyCcn" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) WithdrawNotifyRoutes(request *WithdrawNotifyRoutesRequest) (response *WithdrawNotifyRoutesResponse, err error) { if request == nil { request = NewWithdrawNotifyRoutesRequest() @@ -15678,14 +16159,15 @@ func (c *Client) WithdrawNotifyRoutes(request *WithdrawNotifyRoutesRequest) (res // 路由表列表页操作增加“从云联网撤销”,用于撤销已发布到云联网的路由。 // // 可能返回的错误码: -// INTERNALERROR = "InternalError" -// INTERNALSERVERERROR = "InternalServerError" -// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" -// INVALIDROUTEID_NOTFOUND = "InvalidRouteId.NotFound" -// INVALIDROUTETABLEID_MALFORMED = "InvalidRouteTableId.Malformed" -// INVALIDROUTETABLEID_NOTFOUND = "InvalidRouteTableId.NotFound" -// UNSUPPORTEDOPERATION_NOTIFYCCN = "UnsupportedOperation.NotifyCcn" -// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" +// +// INTERNALERROR = "InternalError" +// INTERNALSERVERERROR = "InternalServerError" +// INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDROUTEID_NOTFOUND = "InvalidRouteId.NotFound" +// INVALIDROUTETABLEID_MALFORMED = "InvalidRouteTableId.Malformed" +// INVALIDROUTETABLEID_NOTFOUND = "InvalidRouteTableId.NotFound" +// UNSUPPORTEDOPERATION_NOTIFYCCN = "UnsupportedOperation.NotifyCcn" +// UNSUPPORTEDOPERATION_SYSTEMROUTE = "UnsupportedOperation.SystemRoute" func (c *Client) WithdrawNotifyRoutesWithContext(ctx context.Context, request *WithdrawNotifyRoutesRequest) (response *WithdrawNotifyRoutesResponse, err error) { if request == nil { request = NewWithdrawNotifyRoutesRequest() diff --git a/cluster-autoscaler/clusterstate/clusterstate.go b/cluster-autoscaler/clusterstate/clusterstate.go index 12edc67ba90a..3c4a52bdce28 100644 --- a/cluster-autoscaler/clusterstate/clusterstate.go +++ b/cluster-autoscaler/clusterstate/clusterstate.go @@ -657,7 +657,7 @@ func (csr *ClusterStateRegistry) updateUnregisteredNodes(unregisteredNodes []Unr csr.unregisteredNodes = result } -//GetUnregisteredNodes returns a list of all unregistered nodes. +// GetUnregisteredNodes returns a list of all unregistered nodes. func (csr *ClusterStateRegistry) GetUnregisteredNodes() []UnregisteredNode { csr.Lock() defer csr.Unlock() diff --git a/cluster-autoscaler/go.mod b/cluster-autoscaler/go.mod index 74cce24177aa..e14e68ec7f20 100644 --- a/cluster-autoscaler/go.mod +++ b/cluster-autoscaler/go.mod @@ -1,6 +1,6 @@ module k8s.io/autoscaler/cluster-autoscaler -go 1.16 +go 1.19 require ( cloud.google.com/go v0.97.0 @@ -27,84 +27,222 @@ require ( github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.7.2 golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd - golang.org/x/net v0.0.0-20220225172249-27dd8689420f + golang.org/x/net v0.0.0-20220722155237-a158d28d115b golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 google.golang.org/api v0.60.0 google.golang.org/grpc v1.47.0 - google.golang.org/protobuf v1.27.1 + google.golang.org/protobuf v1.28.0 gopkg.in/gcfg.v1 v1.2.0 gopkg.in/yaml.v2 v2.4.0 - k8s.io/api v0.25.0-alpha.2 - k8s.io/apimachinery v0.25.0-alpha.2 - k8s.io/apiserver v0.25.0-alpha.2 - k8s.io/client-go v0.25.0-alpha.2 - k8s.io/cloud-provider v0.25.0-alpha.2 - k8s.io/component-base v0.25.0-alpha.2 - k8s.io/component-helpers v0.25.0-alpha.2 - k8s.io/klog/v2 v2.70.0 + k8s.io/api v0.25.0 + k8s.io/apimachinery v0.25.0 + k8s.io/apiserver v0.25.0 + k8s.io/client-go v0.25.0 + k8s.io/cloud-provider v0.25.0 + k8s.io/component-base v0.25.0 + k8s.io/component-helpers v0.25.0 + k8s.io/klog/v2 v2.70.1 k8s.io/kubelet v0.24.1 - k8s.io/kubernetes v1.25.0-alpha.2 + k8s.io/kubernetes v1.25.0 k8s.io/legacy-cloud-providers v0.0.0 - k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 + k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed sigs.k8s.io/cloud-provider-azure v1.24.2 ) +require ( + github.com/Azure/go-autorest v14.2.0+incompatible // indirect + github.com/Azure/go-autorest/autorest/azure/cli v0.4.2 // indirect + github.com/Azure/go-autorest/autorest/mocks v0.4.2 // indirect + github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect + github.com/Azure/go-autorest/logger v0.2.1 // indirect + github.com/Azure/go-autorest/tracing v0.6.0 // indirect + github.com/GoogleCloudPlatform/k8s-cloud-provider v1.18.1-0.20220218231025-f11817397a1b // indirect + github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab // indirect + github.com/Microsoft/go-winio v0.4.17 // indirect + github.com/Microsoft/hcsshim v0.8.22 // indirect + github.com/NYTimes/gziphandler v1.1.1 // indirect + github.com/PuerkitoBio/purell v1.1.1 // indirect + github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect + github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e // indirect + github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a // indirect + github.com/beorn7/perks v1.0.1 // indirect + github.com/blang/semver/v4 v4.0.0 // indirect + github.com/cespare/xxhash/v2 v2.1.2 // indirect + github.com/checkpoint-restore/go-criu/v5 v5.3.0 // indirect + github.com/cilium/ebpf v0.7.0 // indirect + github.com/container-storage-interface/spec v1.6.0 // indirect + github.com/containerd/cgroups v1.0.1 // indirect + github.com/containerd/console v1.0.3 // indirect + github.com/containerd/ttrpc v1.0.2 // indirect + github.com/coreos/go-semver v0.3.0 // indirect + github.com/coreos/go-systemd/v22 v22.3.2 // indirect + github.com/cyphar/filepath-securejoin v0.2.3 // indirect + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/dimchansky/utfbom v1.1.1 // indirect + github.com/docker/distribution v2.8.1+incompatible // indirect + github.com/docker/go-units v0.4.0 // indirect + github.com/emicklei/go-restful/v3 v3.8.0 // indirect + github.com/euank/go-kmsg-parser v2.0.0+incompatible // indirect + github.com/evanphx/json-patch v5.6.0+incompatible // indirect + github.com/felixge/httpsnoop v1.0.1 // indirect + github.com/form3tech-oss/jwt-go v3.2.3+incompatible // indirect + github.com/fsnotify/fsnotify v1.5.4 // indirect + github.com/go-logr/logr v1.2.3 // indirect + github.com/go-openapi/jsonpointer v0.19.5 // indirect + github.com/go-openapi/jsonreference v0.19.5 // indirect + github.com/go-openapi/swag v0.19.14 // indirect + github.com/go-ozzo/ozzo-validation v3.5.0+incompatible // indirect + github.com/godbus/dbus/v5 v5.0.6 // indirect + github.com/gogo/protobuf v1.3.2 // indirect + github.com/golang-jwt/jwt/v4 v4.2.0 // indirect + github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/golang/protobuf v1.5.2 // indirect + github.com/google/cadvisor v0.45.0 // indirect + github.com/google/gnostic v0.5.7-v3refs // indirect + github.com/google/gofuzz v1.1.0 // indirect + github.com/googleapis/gax-go/v2 v2.1.1 // indirect + github.com/gophercloud/gophercloud v0.1.0 // indirect + github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect + github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect + github.com/heketi/heketi v10.3.0+incompatible // indirect + github.com/imdario/mergo v0.3.6 // indirect + github.com/inconshreveable/mousetrap v1.0.0 // indirect + github.com/josharian/intern v1.0.0 // indirect + github.com/karrick/godirwalk v1.16.1 // indirect + github.com/libopenstorage/openstorage v1.0.0 // indirect + github.com/lithammer/dedent v1.1.0 // indirect + github.com/mailru/easyjson v0.7.6 // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect + github.com/mindprince/gonvml v0.0.0-20190828220739-9ebdce4bb989 // indirect + github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible // indirect + github.com/mitchellh/go-homedir v1.1.0 // indirect + github.com/mitchellh/mapstructure v1.4.1 // indirect + github.com/moby/ipvs v1.0.1 // indirect + github.com/moby/spdystream v0.2.0 // indirect + github.com/moby/sys/mountinfo v0.6.0 // indirect + github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect + github.com/modern-go/reflect2 v1.0.2 // indirect + github.com/mohae/deepcopy v0.0.0-20170603005431-491d3605edfb // indirect + github.com/mrunalp/fileutils v0.5.0 // indirect + github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect + github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect + github.com/opencontainers/go-digest v1.0.0 // indirect + github.com/opencontainers/runc v1.1.3 // indirect + github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 // indirect + github.com/opencontainers/selinux v1.10.0 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/prometheus/client_model v0.2.0 // indirect + github.com/prometheus/common v0.32.1 // indirect + github.com/prometheus/procfs v0.7.3 // indirect + github.com/rubiojr/go-vhd v0.0.0-20200706105327-02e210299021 // indirect + github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646 // indirect + github.com/sirupsen/logrus v1.8.1 // indirect + github.com/spf13/cobra v1.4.0 // indirect + github.com/stretchr/objx v0.2.0 // indirect + github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 // indirect + github.com/vishvananda/netlink v1.1.0 // indirect + github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae // indirect + github.com/vmware/govmomi v0.20.3 // indirect + go.etcd.io/etcd/api/v3 v3.5.4 // indirect + go.etcd.io/etcd/client/pkg/v3 v3.5.4 // indirect + go.etcd.io/etcd/client/v3 v3.5.4 // indirect + go.opencensus.io v0.23.0 // indirect + go.opentelemetry.io/contrib v0.20.0 // indirect + go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful v0.20.0 // indirect + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0 // indirect + go.opentelemetry.io/otel v0.20.0 // indirect + go.opentelemetry.io/otel/exporters/otlp v0.20.0 // indirect + go.opentelemetry.io/otel/metric v0.20.0 // indirect + go.opentelemetry.io/otel/sdk v0.20.0 // indirect + go.opentelemetry.io/otel/sdk/export/metric v0.20.0 // indirect + go.opentelemetry.io/otel/sdk/metric v0.20.0 // indirect + go.opentelemetry.io/otel/trace v0.20.0 // indirect + go.opentelemetry.io/proto/otlp v0.7.0 // indirect + go.uber.org/atomic v1.7.0 // indirect + go.uber.org/multierr v1.6.0 // indirect + go.uber.org/zap v1.19.0 // indirect + golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect + golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect + golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect + golang.org/x/text v0.3.7 // indirect + golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect + golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect + google.golang.org/appengine v1.6.7 // indirect + google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21 // indirect + gopkg.in/inf.v0 v0.9.1 // indirect + gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect + gopkg.in/warnings.v0 v0.1.1 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect + k8s.io/cri-api v0.0.0 // indirect + k8s.io/csi-translation-lib v0.25.0 // indirect + k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 // indirect + k8s.io/kube-proxy v0.0.0 // indirect + k8s.io/kube-scheduler v0.0.0 // indirect + k8s.io/kubectl v0.0.0 // indirect + k8s.io/mount-utils v0.25.0 // indirect + sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.32 // indirect + sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect + sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect + sigs.k8s.io/yaml v1.3.0 // indirect +) + replace github.com/aws/aws-sdk-go/service/eks => github.com/aws/aws-sdk-go/service/eks v1.38.49 replace github.com/digitalocean/godo => github.com/digitalocean/godo v1.27.0 replace github.com/rancher/go-rancher => github.com/rancher/go-rancher v0.1.0 -replace k8s.io/api => k8s.io/api v0.25.0-alpha.2 +replace k8s.io/api => k8s.io/api v0.25.0 -replace k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.25.0-alpha.2 +replace k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.25.0 -replace k8s.io/apimachinery => k8s.io/apimachinery v0.25.0-alpha.2 +replace k8s.io/apimachinery => k8s.io/apimachinery v0.26.0-alpha.0 -replace k8s.io/apiserver => k8s.io/apiserver v0.25.0-alpha.2 +replace k8s.io/apiserver => k8s.io/apiserver v0.25.0 -replace k8s.io/cli-runtime => k8s.io/cli-runtime v0.25.0-alpha.2 +replace k8s.io/cli-runtime => k8s.io/cli-runtime v0.25.0 -replace k8s.io/client-go => k8s.io/client-go v0.25.0-alpha.2 +replace k8s.io/client-go => k8s.io/client-go v0.25.0 -replace k8s.io/cloud-provider => k8s.io/cloud-provider v0.25.0-alpha.2 +replace k8s.io/cloud-provider => k8s.io/cloud-provider v0.25.0 -replace k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.25.0-alpha.2 +replace k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.25.0 -replace k8s.io/code-generator => k8s.io/code-generator v0.25.0-alpha.2 +replace k8s.io/code-generator => k8s.io/code-generator v0.25.1-rc.0 -replace k8s.io/component-base => k8s.io/component-base v0.25.0-alpha.2 +replace k8s.io/component-base => k8s.io/component-base v0.25.0 -replace k8s.io/component-helpers => k8s.io/component-helpers v0.25.0-alpha.2 +replace k8s.io/component-helpers => k8s.io/component-helpers v0.25.0 -replace k8s.io/controller-manager => k8s.io/controller-manager v0.25.0-alpha.2 +replace k8s.io/controller-manager => k8s.io/controller-manager v0.25.0 -replace k8s.io/cri-api => k8s.io/cri-api v0.25.0-alpha.2 +replace k8s.io/cri-api => k8s.io/cri-api v0.25.1-rc.0 -replace k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.25.0-alpha.2 +replace k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.25.0 -replace k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.25.0-alpha.2 +replace k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.25.0 -replace k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.25.0-alpha.2 +replace k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.25.0 -replace k8s.io/kube-proxy => k8s.io/kube-proxy v0.25.0-alpha.2 +replace k8s.io/kube-proxy => k8s.io/kube-proxy v0.25.0 -replace k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.25.0-alpha.2 +replace k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.25.0 -replace k8s.io/kubectl => k8s.io/kubectl v0.25.0-alpha.2 +replace k8s.io/kubectl => k8s.io/kubectl v0.25.0 -replace k8s.io/kubelet => k8s.io/kubelet v0.25.0-alpha.2 +replace k8s.io/kubelet => k8s.io/kubelet v0.25.0 -replace k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.25.0-alpha.2 +replace k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.25.0 -replace k8s.io/metrics => k8s.io/metrics v0.25.0-alpha.2 +replace k8s.io/metrics => k8s.io/metrics v0.25.0 -replace k8s.io/mount-utils => k8s.io/mount-utils v0.25.0-alpha.2 +replace k8s.io/mount-utils => k8s.io/mount-utils v0.25.1-rc.0 -replace k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.25.0-alpha.2 +replace k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.25.0 -replace k8s.io/sample-cli-plugin => k8s.io/sample-cli-plugin v0.25.0-alpha.2 +replace k8s.io/sample-cli-plugin => k8s.io/sample-cli-plugin v0.25.0 -replace k8s.io/sample-controller => k8s.io/sample-controller v0.25.0-alpha.2 +replace k8s.io/sample-controller => k8s.io/sample-controller v0.25.0 -replace k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.25.0-alpha.2 +replace k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.25.0 diff --git a/cluster-autoscaler/go.sum b/cluster-autoscaler/go.sum index 99f2304ad659..e73737362c72 100644 --- a/cluster-autoscaler/go.sum +++ b/cluster-autoscaler/go.sum @@ -1,5 +1,4 @@ bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= -bitbucket.org/bertimus9/systemstat v0.5.0/go.mod h1:EkUWPp8lKFPMXP8vnbpT5JDI0W/sTiLZAvN8ONWErHY= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= @@ -36,7 +35,6 @@ cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4g cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= @@ -47,9 +45,7 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20201218220906-28db891af037/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/Azure/azure-sdk-for-go v46.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/azure-sdk-for-go v55.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v65.0.0+incompatible h1:HzKLt3kIwMm4KeJYTdx9EbjRYTySD/t8i1Ee/W5EGXw= github.com/Azure/azure-sdk-for-go v65.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= @@ -78,7 +74,6 @@ github.com/Azure/go-autorest/autorest/mocks v0.4.2 h1:PGN4EDXnuQbojHbU0UWoNvmu9A github.com/Azure/go-autorest/autorest/mocks v0.4.2/go.mod h1:Vy7OitM9Kei0i1Oj+LvyAWMXJHeKH1MVlzFugfVrmyU= github.com/Azure/go-autorest/autorest/to v0.4.0 h1:oXVqrxakqqV1UZdSazDOPOLvOIz+XA683u8EctwboHk= github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod h1:fE8iZBn7LQR7zH/9XU2NcPR4o9jEImooCeWJcYV/zLE= -github.com/Azure/go-autorest/autorest/validation v0.1.0/go.mod h1:Ha3z/SqBeaalWQvokg3NZAlQTalVMtOIAs1aGK7G6u8= github.com/Azure/go-autorest/autorest/validation v0.3.0/go.mod h1:yhLgjC0Wda5DYXl6JAsWyUe4KVNffhoDhG0zVzUMo3E= github.com/Azure/go-autorest/autorest/validation v0.3.1 h1:AgyqjAd94fwNAoTjl/WQXg4VvFeRFpO+UhNyRXqF1ac= github.com/Azure/go-autorest/autorest/validation v0.3.1/go.mod h1:yhLgjC0Wda5DYXl6JAsWyUe4KVNffhoDhG0zVzUMo3E= @@ -96,13 +91,11 @@ github.com/GoogleCloudPlatform/k8s-cloud-provider v1.18.1-0.20220218231025-f1181 github.com/GoogleCloudPlatform/k8s-cloud-provider v1.18.1-0.20220218231025-f11817397a1b/go.mod h1:FNj4KYEAAHfYu68kRYolGoxkaJn+6mdEsaM12VTwuI0= github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab h1:UKkYhof1njT1/xq4SEg5z+VpTgjmNeHwPGRQl7takDI= github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab/go.mod h1:3VYc5hodBMJ5+l/7J4xAyMeuM2PNuepvHlGs8yilUCA= -github.com/MakeNowJust/heredoc v1.0.0/go.mod h1:mG5amYoWBHf8vpLOuehzbGGw0EHxpZZ6lCpQ4fNJ8LE= github.com/Microsoft/go-winio v0.4.15/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= github.com/Microsoft/go-winio v0.4.17 h1:iT12IBVClFevaf8PuVyi3UmZOVh4OqnaLxDTW2O6j3w= github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= github.com/Microsoft/hcsshim v0.8.22 h1:CulZ3GW8sNJExknToo+RWD+U+6ZM5kkNfuxywSDPd08= github.com/Microsoft/hcsshim v0.8.22/go.mod h1:91uVCVzvX2QD16sMCenoxxXo6L1wJnLMX2PSufFMtF0= -github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1 h1:ZUDjpQae29j0ryrS0u/B8HZfJBtBQHjqw2rQ2cqUQ3I= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= @@ -110,25 +103,19 @@ github.com/PuerkitoBio/purell v1.1.1 h1:WEQqlqaGbrPkxLJWfBwQmfEAE1Z7ONdDLqrN38tN github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 h1:d+Bc7a5rLufV/sSk/8dngufqelfh6jnri85riMAaF/M= github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw= github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20220209173558-ad29539cd2e9/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e h1:QEF07wC0T1rKkctt1RINW/+RMTVmiwxETico2l3gxJA= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= -github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a h1:idn718Q4B6AGu/h5Sxe66HYVdqdGu2l9Iebqhi/AEoA= github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= github.com/auth0/go-jwt-middleware v1.0.1 h1:/fsQ4vRr4zod1wKReUH+0A3ySRjGiT9G34kypO/EKwI= -github.com/auth0/go-jwt-middleware v1.0.1/go.mod h1:YSeUX3z6+TF2H+7padiEqNJ73Zy9vXW72U//IgN0BIM= github.com/aws/aws-sdk-go v1.35.24/go.mod h1:tlPOdRjfxPBpNIwqDj61rmsnA85v9jc0Ps9+muhnW+k= github.com/aws/aws-sdk-go v1.38.49 h1:E31vxjCe6a5I+mJLmUGaZobiWmg9KdWaud9IfceYeYQ= github.com/aws/aws-sdk-go v1.38.49/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro= @@ -139,24 +126,16 @@ github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24 github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= -github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM= github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= github.com/boltdb/bolt v1.3.1 h1:JQmyP4ZBrce+ZQu0dY660FMfatumYDLun9hBCUVIkF4= -github.com/boltdb/bolt v1.3.1/go.mod h1:clJnj/oiGkjum5o1McbSZDSLxVThjynRyGBgiAx27Ps= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= -github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA= -github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE= github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/chai2010/gettext-go v1.0.2/go.mod h1:y+wnP2cHYaVj19NZhYKAwEMH2CI1gNHeQQ+5AjwawxA= github.com/checkpoint-restore/go-criu/v5 v5.3.0 h1:wpFFOoomK3389ue2lAb0Boag6XPht5QYpipxmSNL4d8= github.com/checkpoint-restore/go-criu/v5 v5.3.0/go.mod h1:E/eQpaFtUKGOOSEBZgmKAcn+zUUwWxqcaKZlF54wK8E= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= @@ -166,20 +145,14 @@ github.com/cilium/ebpf v0.4.0/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJ github.com/cilium/ebpf v0.7.0 h1:1k/q3ATgxSXRdrmPfH8d7YK0GfqVsEKZAX9dQZvs56k= github.com/cilium/ebpf v0.7.0/go.mod h1:/oI2+1shJiTGAMgl6/RgJr36Eo1jzrRcAWbcXO2usCA= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/clusterhq/flocker-go v0.0.0-20160920122132-2b8b7259d313 h1:eIHD9GNM3Hp7kcRW5mvcz7WTR3ETeoYYKwpgA04kaXE= -github.com/clusterhq/flocker-go v0.0.0-20160920122132-2b8b7259d313/go.mod h1:P1wt9Z3DP8O6W3rvwCt0REIlshg1InHImaLW0t3ObY0= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo= -github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA= -github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI= github.com/container-storage-interface/spec v1.6.0 h1:vwN9uCciKygX/a0toYryoYD5+qI9ZFeAMuhEEKO+JBA= github.com/container-storage-interface/spec v1.6.0/go.mod h1:8K96oQNkJ7pFcC2R9Z1ynGGBB1I93kcS6PGg3SsOk8s= github.com/containerd/cgroups v1.0.1 h1:iJnMvco9XGvKUvNQkv88bE4uJXxRQH18efbKo9w5vHQ= @@ -189,8 +162,6 @@ github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8a github.com/containerd/console v1.0.3 h1:lIr7SlA5PxZyMV30bDW0MGbiOPXwc63yRuCP0ARubLw= github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U= github.com/containerd/containerd v1.4.9/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/containerd v1.4.12 h1:V+SHzYmhng/iju6M5nFrpTTusrhidoxKTwdwLw+u4c4= -github.com/containerd/containerd v1.4.12/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= github.com/containerd/continuity v0.1.0/go.mod h1:ICJu0PwR54nI0yPEnJ6jcS+J7CZAUXrLh8lPo2knzsM= github.com/containerd/fifo v1.0.0/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= github.com/containerd/go-runc v1.0.0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok= @@ -198,16 +169,11 @@ github.com/containerd/ttrpc v1.0.2 h1:2/O3oTZN36q2xRolk0a2WWGgh7/Vf/liElg5hFYLX9 github.com/containerd/ttrpc v1.0.2/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= github.com/containerd/typeurl v1.0.2 h1:Chlt8zIieDbzQFzXzAeBEF92KhExuE4p9p92/QmY7aY= github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcDZXTn6oPz9s= -github.com/coredns/caddy v1.1.0/go.mod h1:A6ntJQlAWuQfFlsd9hvigKbo2WS0VUs2l1e2F+BawD4= -github.com/coredns/corefile-migration v1.0.17/go.mod h1:XnhgULOEouimnzgn0t4WPuFDN2/PJQcTxdWKC5eXNGE= github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-semver v0.3.0 h1:wkHLiw0WNATZnSG7epLsujiMCgPAc9xhjJ4tgnAxmfM= github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e h1:Wf6HqHfScWJN9/ZjdUKyjop4mf3Qdd+1TvvltAvM3m8= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd/v22 v22.1.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= github.com/coreos/go-systemd/v22 v22.3.2 h1:D9/bQk5vlXQFZ6Kwuu6zaiXJ9oTPe68++AzAJc1DzSI= @@ -223,7 +189,6 @@ github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxG github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/daviddengcn/go-colortext v1.0.0/go.mod h1:zDqEI5NVUop5QPpVJUxE9UO10hRnmkD5G4Pmri9+m4c= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/digitalocean/godo v1.27.0 h1:78iE9oVvTnAEqhMip2UHFvL01b8LJcydbNUpr0cAmN4= @@ -232,12 +197,10 @@ github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQ github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi/U= github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE= github.com/dnaeon/go-vcr v1.0.1 h1:r8L/HqC0Hje5AXMu1ooW8oyQyOFv4GxqpL0nRP7SLLY= -github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= -github.com/docker/distribution v2.8.0+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= github.com/docker/distribution v2.8.1+incompatible h1:Q50tZOPR6T/hjNsyc9g8/syEs6bk8XXApsHjKukMl68= github.com/docker/distribution v2.8.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/docker v20.10.12+incompatible h1:CEeNmFM0QZIsJCZKMkZx0ZcahTiewkrgiwfYD+dfl1U= -github.com/docker/docker v20.10.12+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v20.10.17+incompatible h1:JYCuMrWaVNophQTOrMMoSwudOVEfcegoZZrleKc1xwE= +github.com/docker/docker v20.10.17+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw= @@ -246,11 +209,7 @@ github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3 github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153 h1:yUdfgN0XgIJw7foRItutHYUIhlcKzcSf5vDpdhQAKTc= -github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= -github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= -github.com/emicklei/go-restful v2.9.5+incompatible h1:spTtZBk5DYEvbxMVutUuTyh1Ao2r4iyvLdACqsl/Ljk= -github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= -github.com/emicklei/go-restful/v3 v3.7.5-0.20220308211933-7c971ca4d0fd/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= +github.com/emicklei/go-restful/v3 v3.5.1/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/emicklei/go-restful/v3 v3.8.0 h1:eCZ8ulSerjdAiaNpF7GxXIE7ZCMo1moN1qX+S609eVw= github.com/emicklei/go-restful/v3 v3.8.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= @@ -260,37 +219,24 @@ github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5y github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= -github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/euank/go-kmsg-parser v2.0.0+incompatible h1:cHD53+PLQuuQyLZeriD1V/esuG4MuU0Pjs5y6iknohY= github.com/euank/go-kmsg-parser v2.0.0+incompatible/go.mod h1:MhmAMZ8V4CYH4ybgdRwPr2TU5ThnS43puaKEMpja1uw= -github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCvpL6mnFh5mB2/l16U= github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d/go.mod h1:ZZMPRZwes7CROmyNKgQzC3XPs6L/G2EJLHddWejkmf4= -github.com/fatih/camelcase v1.0.0/go.mod h1:yN2Sb0lFhZJUdVvtELVWefmrXpuZESvPmqwoZc+/fpc= -github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/felixge/httpsnoop v1.0.1 h1:lvB5Jl89CsZtGIWuTcDM1E/vkVs49/Ml7JJe07l8SPQ= github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= -github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/form3tech-oss/jwt-go v3.2.3+incompatible h1:7ZaBxOI7TMoYBfyA3cQHErNNyAWIKUMIwqxEtgHOs5c= github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= github.com/frankban/quicktest v1.11.3 h1:8sXhOn0uLys67V8EsXLc6eszDs8VXWxL3iRvebPhedY= github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI= github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU= -github.com/fvbommel/sortorder v1.0.1/go.mod h1:uk88iVf1ovNn1iLfgUVU2F9o5eO30ui720w+kxuqRs0= -github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= -github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ= github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= @@ -303,14 +249,11 @@ github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/zapr v1.2.3/go.mod h1:eIauM6P8qSvTw5o2ez6UEAfGjQKrxQTl5EoK+Qa2oG4= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY= github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= github.com/go-openapi/jsonreference v0.19.5 h1:1WJP/wi4OjB4iV8KVbH73rQaoialJrqv8gitZLxGLtM= github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= @@ -319,13 +262,13 @@ github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/ github.com/go-ozzo/ozzo-validation v3.5.0+incompatible h1:sUy/in/P6askYr16XJgTKq/0SZhiWsdg4WZGaLsGQkM= github.com/go-ozzo/ozzo-validation v3.5.0+incompatible/go.mod h1:gsEKFIVnabGBt6mXmxK0MoFy+cZoTJY6mu5Ll3LVLBU= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/godbus/dbus/v5 v5.0.6 h1:mkgN1ofwASrYnJ5W6U/BxG15eXXXjirgZc7CLqkcaro= github.com/godbus/dbus/v5 v5.0.6/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= github.com/gofrs/uuid v4.0.0+incompatible h1:1SD/1F5pU8p29ybwgQSwpQk+mwdRrXCYuPhW6m+TnJw= github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gogo/googleapis v1.4.1/go.mod h1:2lpHqI5OcWCtVElxXnPt+s8oJvMpySlOyM6xDCrzib4= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= @@ -334,9 +277,7 @@ github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69 github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= github.com/golang-jwt/jwt/v4 v4.2.0 h1:besgBTC8w8HjP6NzQdxwKH9Z5oQMZ24ThTrHp3cZ8eU= github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= -github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4= github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -372,17 +313,11 @@ github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/golangplus/bytes v0.0.0-20160111154220-45c989fe5450/go.mod h1:Bk6SMAONeMXrxql8uvOKuAZSu8aM5RUGv+1C6IJaEho= -github.com/golangplus/bytes v1.0.0/go.mod h1:AdRaCFwmc/00ZzELMWb01soso6W1R/++O1XL80yAn+A= -github.com/golangplus/fmt v1.0.0/go.mod h1:zpM0OfbMCjPtd2qkTD/jX2MgiFCqklhSUFyDW44gVQE= -github.com/golangplus/testing v1.0.0/go.mod h1:ZDreixUV3YzhoVraIDyOzHrr76p6NUh6k/pPg/Q3gYA= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4= -github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= -github.com/google/cadvisor v0.44.1 h1:hsAxDZOY+5xSCXH12d/G9cxYTfP+32cMT3J7aatrgDY= -github.com/google/cadvisor v0.44.1/go.mod h1:GQ9KQfz0iNHQk3D6ftzJWK4TXabfIgM10Oy3FkR+Gzg= -github.com/google/cel-go v0.11.2/go.mod h1:drz+knCRsctDZ180KZHwIEEUb9IdK/nxPoyhxi+O1K0= +github.com/google/cadvisor v0.45.0 h1:bXQze1sd8srZiQwiQ19Qaq/AoMIZS8YceBXrIaEvkX0= +github.com/google/cadvisor v0.45.0/go.mod h1:vsMT3Uv2XjQ8M7WUtKARV74mU/HN64C4XtM1bJhUKcU= github.com/google/gnostic v0.5.7-v3refs h1:FhTMOKj2VhjpouxvWJAV1TL304uMlb9zcDqkl6cEI54= github.com/google/gnostic v0.5.7-v3refs/go.mod h1:73MKFl6jIHelAJNaBGFzt3SPtZULs9dYrGFt8OiIsHQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= @@ -418,13 +353,10 @@ github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ= -github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= @@ -432,65 +364,37 @@ github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5m github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= github.com/googleapis/gax-go/v2 v2.1.1 h1:dp3bWCh+PPO1zjRRiCSczJav13sBvG4UhNyVTa1KqdU= github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM= -github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= github.com/gophercloud/gophercloud v0.1.0 h1:P/nh25+rzXouhytV2pUHBb65fnds26Ghl8/391+sT5o= github.com/gophercloud/gophercloud v0.1.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8= -github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gopherjs/gopherjs v0.0.0-20200217142428-fce0ec30dd00/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= -github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= -github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= -github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= -github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= -github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= -github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= -github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= -github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= -github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= -github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/heketi/heketi v10.3.0+incompatible h1:X4DBFPzcyWZWhia32d94UhDECQJHH0M5kpRb1gxxUHk= github.com/heketi/heketi v10.3.0+incompatible/go.mod h1:bB9ly3RchcQqsQ9CpyaQwvva7RS5ytVoSoholZQON6o= github.com/heketi/tests v0.0.0-20151005000721-f3775cbcefd6 h1:oJ/NLadJn5HoxvonA6VxG31lg0d6XOURNA09BTtM4fY= -github.com/heketi/tests v0.0.0-20151005000721-f3775cbcefd6/go.mod h1:xGMAM8JLi7UkZt1i4FQeQy0R2T8GLUwQhOP5M1gBhy4= -github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/imdario/mergo v0.3.5 h1:JboBksRwiiAJWvIYJVo46AfV+IAIKZpfrSzVKj42R4Q= -github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/imdario/mergo v0.3.6 h1:xTNEAn+kxVO7dTZGu0CegyqKZmoWFI0rF8UxjlB2d28= +github.com/imdario/mergo v0.3.6/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/ishidawataru/sctp v0.0.0-20190723014705-7c296d48a2b5/go.mod h1:DM4VvS+hD/kDi1U1QsX2fnZowwBhqD0Dk3bRPKF/Oc8= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/jonboulle/clockwork v0.2.2 h1:UOGuzwb1PwsrDAObMuhUnj0p5ULPj8V/xJ7Kx9qUBdQ= -github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= @@ -501,10 +405,8 @@ github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnr github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes= github.com/karrick/godirwalk v1.16.1 h1:DynhcF+bztK8gooS0+NDJFrdNZjJ3gzVzC545UNA9iw= github.com/karrick/godirwalk v1.16.1/go.mod h1:j4mkqPuvaLI8mp1DroR3P6ad7cyYd4c1qeJ3RV7ULlk= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= @@ -514,7 +416,6 @@ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+o github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= @@ -526,39 +427,23 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/libopenstorage/openstorage v1.0.0 h1:GLPam7/0mpdP8ZZtKjbfcXJBTIA/T1O6CBErVEFEyIM= github.com/libopenstorage/openstorage v1.0.0/go.mod h1:Sp1sIObHjat1BeXhfMqLZ14wnOzEhNx2YQedreMcUyc= -github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de/go.mod h1:zAbeS9B/r2mtpb6U+EI2rYA5OAXxsYw6wTamcNW+zcE= github.com/lithammer/dedent v1.1.0 h1:VNzHMVCBNG1j0fh3OrsFRkVUwStdDArbgBWoPAffktY= github.com/lithammer/dedent v1.1.0/go.mod h1:jrXYCQtgg0nJiN+StA2KgR7w6CiQNv9Fd/Z9BP0jIOc= github.com/lpabon/godbc v0.1.1 h1:ilqjArN1UOENJJdM34I2YHKmF/B0gGq4VLoSGy9iAao= -github.com/lpabon/godbc v0.1.1/go.mod h1:Jo9QV0cf3U6jZABgiJ2skINAXb9j8m51r07g4KI92ZA= github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= github.com/mailru/easyjson v0.7.6 h1:8yTIVnZgCoiM1TgqoeTl+LfU5Jg6/xL3QhGQnimLYnA= github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-runewidth v0.0.7/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/mindprince/gonvml v0.0.0-20190828220739-9ebdce4bb989 h1:PS1dLCGtD8bb9RPKJrc8bS7qHL6JnW1CZvwzH9dPoUs= github.com/mindprince/gonvml v0.0.0-20190828220739-9ebdce4bb989/go.mod h1:2eu9pRWp8mo84xCg6KswZ+USQHjwgRhNp06sozOdsTY= github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible h1:aKW/4cBs+yK6gpqU3K/oIwk9Q/XICqd3zOX/UFuvqmk= github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4= -github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= -github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= -github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= -github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= -github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= -github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= github.com/mitchellh/mapstructure v1.4.1 h1:CpVNEelQCZBooIPDn+AR3NpivK/TIKU8bDxdASFVQag= github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= @@ -579,44 +464,25 @@ github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9G github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= github.com/mohae/deepcopy v0.0.0-20170603005431-491d3605edfb h1:e+l77LJOEqXTIQihQJVkA6ZxPOUmfPM5e4H7rcpgtSk= github.com/mohae/deepcopy v0.0.0-20170603005431-491d3605edfb/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= -github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00/go.mod h1:Pm3mSP3c5uWn86xMLZ5Sa7JB9GsEZySvHYXCTK4E9q4= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/mrunalp/fileutils v0.5.0 h1:NKzVxiH7eSk+OQ4M+ZYW1K6h27RUV3MI6NUTsHhU6Z4= github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ= -github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/mvdan/xurls v1.1.0/go.mod h1:tQlNn3BED8bE/15hnSL2HLkDeLWpNPAwtw7wkEq44oU= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus= github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= -github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= -github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/olekukonko/tablewriter v0.0.4/go.mod h1:zq6QwlOf5SlnkVbMSr5EoBv3636FWnp+qbPhuoO21uA= -github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= -github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= -github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= -github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= -github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= -github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= -github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= -github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= +github.com/onsi/ginkgo/v2 v2.1.4 h1:GNapqRSid3zijZ9H77KrgVG4/8KqiyRsxcSxe+7ApXY= github.com/onsi/gomega v1.19.0 h1:4ieX6qQjPP/BfC3mpsAtIGGlxTWPeA3Inl/7DtXw1tw= -github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.0.2 h1:9yCKha/T5XdGtO0q9Q9a6T5NUCsTn/DrBg0D7ufOcFM= github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= -github.com/opencontainers/runc v1.1.0/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc= github.com/opencontainers/runc v1.1.3 h1:vIXrkId+0/J2Ymu2m7VjGvbSlAId9XNRPhn2p4b+d8w= github.com/opencontainers/runc v1.1.3/go.mod h1:1J5XiS+vdZ3wCyZybsuxXZWGrgSr8fFJHLXuG2PsnNg= github.com/opencontainers/runtime-spec v1.0.2/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= @@ -625,20 +491,13 @@ github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 h1:3 github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/selinux v1.10.0 h1:rAiKF8hTcgLI3w0DHm6i0ylVVcOrlgR1kK99DRLDhyU= github.com/opencontainers/selinux v1.10.0/go.mod h1:2i0OySw99QjzBBQByd1Gr9gSjvuho1lHsJxIJ3gGbJI= -github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= -github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= -github.com/pquerna/cachecontrol v0.1.0/go.mod h1:NrUG3Z7Rdu85UNR3vm7SOsl1nFIeSiQnrHV5K9mBcUI= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= @@ -668,26 +527,17 @@ github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU= github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/quobyte/api v0.1.8 h1:+sOX1gIlC/OaLipqVZWrHgly9Kh9Qo8OygeS0mWAg30= -github.com/quobyte/api v0.1.8/go.mod h1:jL7lIHrmqQ7yh05OJ+eEEdHr0u/kmT1Ff9iHd+4H6VI= -github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M= -github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rubiojr/go-vhd v0.0.0-20200706105327-02e210299021 h1:if3/24+h9Sq6eDx8UUz1SO9cT9tizyIsATfB7b4D3tc= github.com/rubiojr/go-vhd v0.0.0-20200706105327-02e210299021/go.mod h1:DM5xW0nvfNNm2uytzsvhI3OnX8uzaRAg8UX/CnDqbto= -github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= github.com/satori/go.uuid v1.2.0 h1:0uYX9dsZ2yD7q2RtLRtPSdGDWzjeM3TbMJP9utgA0ww= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= -github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/seccomp/libseccomp-golang v0.9.2-0.20210429002308-3879420cc921/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646 h1:RpforrEYXWkmGwJHIGnLZ3tTWStkjVVstwzNGqxX2Ds= github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg= -github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= @@ -696,36 +546,22 @@ github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrf github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE= github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= -github.com/smartystreets/assertions v1.1.0/go.mod h1:tcbTF8ujkAEcZ8TElKY+i30BzYlVhC/LOxJk7iOWnoo= -github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= github.com/soheilhy/cmux v0.1.5 h1:jjzc5WVemNEDTLwv9tlmemhC73tI08BNOIGwBOo10Js= -github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0= github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= github.com/spf13/afero v1.6.0 h1:xoax2sJ2DT8S8xA2paPFjDCScCNeWsg75VG0DLRreiY= -github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= -github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo= -github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk= github.com/spf13/cobra v1.4.0 h1:y+wJpx64xcgO1V+RcnwW0LEHxTKRi2ZDPSBjWnrg88Q= github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= -github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= -github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= -github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns= github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= -github.com/storageos/go-api v2.2.0+incompatible h1:U0SablXoZIg06gvSlg8BCdzq1C/SkHVygOVX95Z2MU0= -github.com/storageos/go-api v2.2.0+incompatible/go.mod h1:ZrLn+e0ZuF3Y65PNF6dIwbJPZqfmtCXxFm9ckv0agOY= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0 h1:Hbg2NidpLE8veEBkEZTL3CvlkUIVzuU9jDplZO54c48= @@ -738,17 +574,14 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.2 h1:4jaiDzPyXQvSd7D0EjG45355tLlV3VOECpq10pLC+8s= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= -github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 h1:kdXcSzyDtseVEc4yCz2qF8ZrQvIDBJLl4S1c3GCXmoI= github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802 h1:uruHq4dN7GR16kFc5fp3d1RIYzJW5onx8Ybykw2YQFA= -github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= github.com/urfave/negroni v1.0.0 h1:kIimOitoypq34K7TG7DUaJ9kq/N4Ofuwi1sjz0KipXc= -github.com/urfave/negroni v1.0.0/go.mod h1:Meg73S6kFm/4PpbYdq35yYWoCZ9mS/YSx+lKnmiohz4= github.com/vishvananda/netlink v1.1.0 h1:1iyaYNBLmP6L0220aDnYQpo1QEV4t4hJ+xEEhhJH8j0= github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= @@ -758,37 +591,24 @@ github.com/vmware/govmomi v0.20.3 h1:gpw/0Ku+6RgF3jsi7fnCLmlcikBHfKBCUcu1qgc16OU github.com/vmware/govmomi v0.20.3/go.mod h1:URlwyTFZX72RmxtxuaFL2Uj3fD1JTvZdx59bHWk6aFU= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 h1:eY9dn8+vbi4tKz5Qo6v2eYzo7kUS51QINcR5jNpbZS8= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= -github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg= github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU= -go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4= -go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= -go.etcd.io/etcd/api/v3 v3.5.1/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs= go.etcd.io/etcd/api/v3 v3.5.4 h1:OHVyt3TopwtUQ2GKdd5wu3PmmipR4FTwCqoEjSyRdIc= go.etcd.io/etcd/api/v3 v3.5.4/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A= -go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/pkg/v3 v3.5.1/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= go.etcd.io/etcd/client/pkg/v3 v3.5.4 h1:lrneYvz923dvC14R54XcA7FXoZ3mlGZAgmwhfm7HqOg= go.etcd.io/etcd/client/pkg/v3 v3.5.4/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ= go.etcd.io/etcd/client/v2 v2.305.4 h1:Dcx3/MYyfKcPNLpR4VVQUP5KgYrBeJtktBwEKkw08Ao= -go.etcd.io/etcd/client/v2 v2.305.4/go.mod h1:Ud+VUwIi9/uQHOMA+4ekToJ12lTxlv0zB/+DHwTGEbU= -go.etcd.io/etcd/client/v3 v3.5.1/go.mod h1:OnjH4M8OnAotwaB2l9bVgZzRFKru7/ZMoS46OtKyd3Q= go.etcd.io/etcd/client/v3 v3.5.4 h1:p83BUL3tAYS0OT/r0qglgc3M1JjhM0diV8DSWAhVXv4= go.etcd.io/etcd/client/v3 v3.5.4/go.mod h1:ZaRkVgBZC+L+dLCjTcF1hRXpgZXQPOvnA/Ak/gq3kiY= go.etcd.io/etcd/pkg/v3 v3.5.4 h1:V5Dvl7S39ZDwjkKqJG2BfXgxZ3QREqqKifWQgIw5IM0= -go.etcd.io/etcd/pkg/v3 v3.5.4/go.mod h1:OI+TtO+Aa3nhQSppMbwE4ld3uF1/fqqwbpfndbbrEe0= go.etcd.io/etcd/raft/v3 v3.5.4 h1:YGrnAgRfgXloBNuqa+oBI/aRZMcK/1GS6trJePJ/Gqc= -go.etcd.io/etcd/raft/v3 v3.5.4/go.mod h1:SCuunjYvZFC0fBX0vxMSPjuZmpcSk+XaAcMrD6Do03w= go.etcd.io/etcd/server/v3 v3.5.4 h1:CMAZd0g8Bn5NRhynW6pKhc4FRg41/0QYy3d7aNm9874= -go.etcd.io/etcd/server/v3 v3.5.4/go.mod h1:S5/YTU15KxymM5l3T6b09sNOHPXqGYIZStpuuGbb65c= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= @@ -799,10 +619,14 @@ go.opencensus.io v0.23.0 h1:gqCw0LfLxScz8irSi8exQc7fyQ0fKQU/qnC/X8+V/1M= go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= go.opentelemetry.io/contrib v0.20.0 h1:ubFQUn0VCZ0gPwIoJfBJVpeBlyRMxu8Mm/huKWYd9p0= go.opentelemetry.io/contrib v0.20.0/go.mod h1:G/EtFaa6qaN7+LxqfIAT3GiZa7Wv5DTBUzl5H4LY0Kc= +go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful v0.20.0 h1:8YW+SL62UmcwRQJFZVfnyOlIUUtmlR13NaMKi+Fa6Fo= +go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful v0.20.0/go.mod h1:oQkZOyq61qZBItEFqhfpobK6X/oDPR7/Qr+MXjVSTks= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0 h1:sO4WKdPAudZGKPcpZT4MJn6JaDmpyLrMPDGGyA1SttE= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0/go.mod h1:oVGt1LRbBOBq1A5BQLlUg9UaU/54aiHw8cgjV3aWZ/E= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0 h1:Q3C9yzW6I9jqEc8sawxzxZmY48fs9u220KXq6d5s3XU= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4= +go.opentelemetry.io/contrib/propagators v0.20.0 h1:IrLQng5Z7AfzkS4sEsYaj2ejkO4FCkgKdAr1aYKOfNc= +go.opentelemetry.io/contrib/propagators v0.20.0/go.mod h1:yLmt93MeSiARUwrK57bOZ4FBruRN4taLiW1lcGfnOes= go.opentelemetry.io/otel v0.20.0 h1:eaP0Fqu7SXHwvjiqDq83zImeehOHX8doTvU9AwXON8g= go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= go.opentelemetry.io/otel/exporters/otlp v0.20.0 h1:PTNgq9MRmQqqJY0REVbZFvwkYOA85vbdQU/nVfxDyqg= @@ -821,7 +645,6 @@ go.opentelemetry.io/otel/trace v0.20.0 h1:1DL6EXUdcg95gukhuRRvLDO/4X5THh/5dIV52l go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= go.opentelemetry.io/proto/otlp v0.7.0 h1:rwOQPCuKAKmwGKq2aVNnYIibI6wnV7EvzgfTCzcdGg8= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5/go.mod h1:nmDLcffg48OtT/PSW0Hg7FvpRQsQh5OSqIylirxKC7o= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= @@ -835,12 +658,10 @@ go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= go.uber.org/zap v1.19.0 h1:mZQZefskPPCMIBCSEH0v2/iUqqLrYtaeqwD6FUGUnFE= go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= @@ -848,18 +669,11 @@ golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPh golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220131195533-30dcbda58838/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd h1:XcWmESyNjXJMLahc3mqVQJcgSTDxFxhETVlfk9uGc38= golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190312203227-4b39c73a6495/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56/go.mod h1:JhuoJpWY28nO4Vef9tZUw9qufEGTyX1+7lmHxV5q5G4= golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= @@ -867,8 +681,6 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20210220032938-85be41e4509f/go.mod h1:I6l2HNBLBZEcrOoCpyKLdY2lHoRZ8lI4x60KMCQDft4= -golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -886,25 +698,18 @@ golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhp golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mobile v0.0.0-20201217150744-e6ae53a27f4f/go.mod h1:skQtrUTUwhdJvXM/2KKJzY8pDgNr9I/FOMqDVRPBUS4= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191209134235-331c550502dd/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.1-0.20200828183125-ce943fd02449/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -929,7 +734,6 @@ golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/ golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= @@ -937,21 +741,17 @@ golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81R golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220225172249-27dd8689420f h1:oA4XRj0qtSt8Yo1Zms0CUlsT3KG69V2UGQWPBxujDmc= -golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b h1:PxfKdU9lEEDYjdIzOtC4qFWgkU2rGHdKlKowJSMN9h0= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -964,7 +764,6 @@ golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= @@ -982,13 +781,11 @@ golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 h1:uVc8UZUe6tr40fFVnUP5Oj+veunVezqYl9z7DYw9xzw= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -1002,15 +799,10 @@ golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191002063906-3421d5a6bb1c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191115151921-52ab43148777/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1027,19 +819,16 @@ golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200916030750-2334cc1a136f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -1061,14 +850,12 @@ golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211116061358-0a5406a5449c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220412211240-33da011f77ad h1:ntjMns5wyP/fN65tdBD4g8J5w8n015+iIIs9rtjXkY0= golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f h1:v4INt8xihDGvnrfjMDVXGxw9wrfxYyCjk0KbXjhR55s= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -1085,20 +872,16 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 h1:vVKdlvoWBphwdxWKrFZEuM0kGgGLxUOYcY4U/2Vjg44= golang.org/x/time v0.0.0-20220210224613-90d013bbcef8/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= @@ -1110,7 +893,6 @@ golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= @@ -1118,7 +900,6 @@ golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117012304-6edc0a871e69/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= @@ -1131,7 +912,6 @@ golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjs golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= @@ -1143,7 +923,6 @@ golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82u golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= @@ -1152,19 +931,12 @@ golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.10-0.20220218145154-897bd77cd717 h1:hI3jKY4Hpf63ns040onEbB3dAkR/H/P83hw1TG8dD3Y= -golang.org/x/tools v0.1.10-0.20220218145154-897bd77cd717/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E= +golang.org/x/tools v0.1.12 h1:VveCTK38A2rkS8ZqFY25HIDFscX5X9OoEhJd3quQmXU= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo= -gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485/go.mod h1:2ltnJ7xHfj0zHS40VVPYEAAMTa3ZGguvHGBSJeRWqE0= -gonum.org/v1/gonum v0.6.2/go.mod h1:9mxDZsDKxgMAuccQkewq682L+0eCu4dCN2yonUJTCLU= -gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= -gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e/go.mod h1:kS+toOQn6AQKjmKJ7gzohV1XkqsFehRA2FbsbkopSuQ= -gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= @@ -1186,7 +958,6 @@ google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34q google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= -google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8= google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo= google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= @@ -1227,7 +998,6 @@ google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfG google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200423170343-7949de9c1215/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= @@ -1265,9 +1035,8 @@ google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEc google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= google.golang.org/genproto v0.0.0-20211021150943-2b146023228c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6 h1:FglFEfyj61zP3c6LgjmVHxYxZWXYul9oiS1EZqD5gLc= -google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= +google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21 h1:hrbNEivu7Zn1pxvHk6MBrq9iE22woVILTHqexqBxe6I= +google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= @@ -1294,7 +1063,7 @@ google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQ google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= +google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= google.golang.org/grpc v1.47.0 h1:9n77onPX5F3qfFCqjy9dhn8PbNQsIKeVU04J9G7umt8= google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= @@ -1310,8 +1079,9 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -1319,19 +1089,13 @@ gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8 gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/gcfg.v1 v1.2.0 h1:0HIbH907iBTAntm+88IJV2qmJALDAh8sPekI9Vc1fm0= gopkg.in/gcfg.v1 v1.2.0/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= gopkg.in/natefinch/lumberjack.v2 v2.0.0 h1:1Lc07Kr7qY4U2YPouBjpCLxpiyxIVoxqXgkXLknAOE8= gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/warnings.v0 v0.1.1 h1:XM28wIgFzaBmeZ5dNHIpWLQpt/9DGKxk+rCg/22nnYE= gopkg.in/warnings.v0 v0.1.1/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= @@ -1359,89 +1123,58 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -k8s.io/api v0.25.0-alpha.2 h1:azwXduCht76Ecuv80QzZkCDzcFcLotKPXiE9/+jx5Qk= -k8s.io/api v0.25.0-alpha.2/go.mod h1:wOntqHYj8WveLW2sh6q4tkE2vMZTtxe0MrFyVwO8JCM= -k8s.io/apiextensions-apiserver v0.25.0-alpha.2/go.mod h1:Kla8gMDERmdrAQ2AETcuIYNzdH/992088q4LUETzBQs= -k8s.io/apimachinery v0.25.0-alpha.2 h1:y6uTWaiqsPTPRewnXJ15IFyGmBo2qPt6enm4zszG8Z0= -k8s.io/apimachinery v0.25.0-alpha.2/go.mod h1:h34FtK3eCxige6ZIACdBSYExtDaKAUxoc7hVe2LOxzw= -k8s.io/apiserver v0.25.0-alpha.2 h1:pG1Knqb3n4dTe1Z2Eb9CbiBELzdCkar8TFntKqz1Py8= -k8s.io/apiserver v0.25.0-alpha.2/go.mod h1:PUkHMlEX0S5ctsyHJNFEKrgIYPBnON59uJUDygYia+M= -k8s.io/cli-runtime v0.25.0-alpha.2/go.mod h1:iZrrniFcz+PC90O7/wpA7uGRp5xgUxnf9UqHvCHlni4= -k8s.io/client-go v0.25.0-alpha.2 h1:kXlDl2L/CmdubzbRTPOCXj9JDPv9U0MuEjRXSCltQ00= -k8s.io/client-go v0.25.0-alpha.2/go.mod h1:AN5W2BkXTu2lNm2BANn5lC6VnGlv6AM5HNPQLsriBOA= -k8s.io/cloud-provider v0.25.0-alpha.2 h1:9kZXA35iaUeCzSWRjYdNoeMTG0Vtcydgfr+Gm/jINLg= -k8s.io/cloud-provider v0.25.0-alpha.2/go.mod h1:y1Kt2LoMwiXADvgl+uo+s19aSZkzMykTUF1ZxJRwETw= -k8s.io/cluster-bootstrap v0.25.0-alpha.2/go.mod h1:YgPWHJXGl9Ivl0zH7vD1CkaPLvR2nV7IOkdde1lO23Y= -k8s.io/code-generator v0.25.0-alpha.2/go.mod h1:KTlrsAhPK0EJrlbKzPsG+LqzNWufdDZ7qGBwVcT5knE= -k8s.io/component-base v0.25.0-alpha.2 h1:/u3UH2T5e8pac0FiCmsyKNh39rzdT2DxAOXww6e9b7M= -k8s.io/component-base v0.25.0-alpha.2/go.mod h1:6wq0/nWr0pBhuDnWjT2MhpcTRdnLBxucqwTShWfjVKM= -k8s.io/component-helpers v0.25.0-alpha.2 h1:CUyqdwi36jr01YyjFBhQcWxx7JhjQvLgIJDQs27DfGM= -k8s.io/component-helpers v0.25.0-alpha.2/go.mod h1:EI/IhY2quvpAqgFcjAxFHiKLU/sQR5B31oZgc5MJ/8c= -k8s.io/controller-manager v0.25.0-alpha.2/go.mod h1:EBuJwOkixqjNF49n9q1u1+IrZMcx1b7JwQm2RAG5fEc= -k8s.io/cri-api v0.25.0-alpha.2 h1:KSB1Untl+/iXXPuoqWtiW0YZbjqnnYGzhz4BbaLd3pg= -k8s.io/cri-api v0.25.0-alpha.2/go.mod h1:bKbUiy31Ex/ogNMxLEikgk+5kPv1vevtbiLN+xWEXr8= -k8s.io/csi-translation-lib v0.25.0-alpha.2 h1:AxdkS406QrtJlNDLOJUUf5MgMugrFiRyr7JZiqgSmBk= -k8s.io/csi-translation-lib v0.25.0-alpha.2/go.mod h1:9TAQjEHQz9igNYcKdgVBs5jiHMOHISCkXeT6StamhL4= -k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= -k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= -k8s.io/gengo v0.0.0-20211129171323-c02415ce4185/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= +k8s.io/api v0.25.0 h1:H+Q4ma2U/ww0iGB78ijZx6DRByPz6/733jIuFpX70e0= +k8s.io/api v0.25.0/go.mod h1:ttceV1GyV1i1rnmvzT3BST08N6nGt+dudGrquzVQWPk= +k8s.io/apimachinery v0.26.0-alpha.0 h1:cnXW2EigxCOrD+s52R9r5AZOcu1Nbv508gOCgSQkbo4= +k8s.io/apimachinery v0.26.0-alpha.0/go.mod h1:qMx9eAk0sZQGsXGu86fab8tZdffHbwUfsvzqKn4mfB0= +k8s.io/apiserver v0.25.0 h1:8kl2ifbNffD440MyvHtPaIz1mw4mGKVgWqM0nL+oyu4= +k8s.io/apiserver v0.25.0/go.mod h1:BKwsE+PTC+aZK+6OJQDPr0v6uS91/HWxX7evElAH6xo= +k8s.io/client-go v0.25.0 h1:CVWIaCETLMBNiTUta3d5nzRbXvY5Hy9Dpl+VvREpu5E= +k8s.io/client-go v0.25.0/go.mod h1:lxykvypVfKilxhTklov0wz1FoaUZ8X4EwbhS6rpRfN8= +k8s.io/cloud-provider v0.25.0 h1:ONX5BON6f1Mxa2GWvPyKn+QsZXaLauPUte7MZxfWUro= +k8s.io/cloud-provider v0.25.0/go.mod h1:afVfVCIYOUER914WmSp0QpAtJn12gv4qu9NMT4XBxZo= +k8s.io/component-base v0.25.0 h1:haVKlLkPCFZhkcqB6WCvpVxftrg6+FK5x1ZuaIDaQ5Y= +k8s.io/component-base v0.25.0/go.mod h1:F2Sumv9CnbBlqrpdf7rKZTmmd2meJq0HizeyY/yAFxk= +k8s.io/component-helpers v0.25.0 h1:vNzYfqnVXj7f+CPksduKVv2Z9kC+IDsOs9yaOyxZrj0= +k8s.io/component-helpers v0.25.0/go.mod h1:auaFj2bvb5Zmy0mLk4WJNmwP0w4e7Zk+/Tu9FFBGA20= +k8s.io/cri-api v0.25.1-rc.0 h1:hYQT+MZsjMrt83d/r3cHxrl5bZbQ9Oe8fHt7UaN0XsU= +k8s.io/cri-api v0.25.1-rc.0/go.mod h1:J1rAyQkSJ2Q6I+aBMOVgg2/cbbebso6FNa0UagiR0kc= +k8s.io/csi-translation-lib v0.25.0 h1:Jh3kn5p3kEGGA/q1fovTNIG9fypzt2c34sm+qij2W/8= +k8s.io/csi-translation-lib v0.25.0/go.mod h1:Wb80CDywP4753F6wWkIyOuJIQtQAbhgw985veSgAn/4= k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= -k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.60.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/klog/v2 v2.70.0 h1:GMmmjoFOrNepPN0ZeGCzvD2Gh5IKRwdFx8W5PBxVTQU= -k8s.io/klog/v2 v2.70.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/kube-aggregator v0.25.0-alpha.2/go.mod h1:kAa4r99UB2/FvBogjvan3xjNoiEb/C6zL+F8b/0eYfg= -k8s.io/kube-controller-manager v0.25.0-alpha.2/go.mod h1:N60FHcc8HgAxZlERhcnZv8p+74c7oDVFlQQmkCscTcU= -k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw= -k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42/go.mod h1:Z/45zLw8lUo4wdiUkI+v/ImEGAvu3WatcZl3lPMR4Rk= -k8s.io/kube-openapi v0.0.0-20220603121420-31174f50af60 h1:cE/M8rmDQgibspuSm+X1iW16ByTImtEaapgaHoVSLX4= -k8s.io/kube-openapi v0.0.0-20220603121420-31174f50af60/go.mod h1:ouUzE1U2mEv//HRoBwYLFE5pdqjIebvtX361vtEIlBI= -k8s.io/kube-proxy v0.25.0-alpha.2 h1:7Fm3BLdoS1GylgbU8XRtVCqD5adrI3PQpPSAH+xknWI= -k8s.io/kube-proxy v0.25.0-alpha.2/go.mod h1:AgBB3OIsccYye23xPcryD3a7or0qd2if+ctOGr8CkO0= -k8s.io/kube-scheduler v0.25.0-alpha.2 h1:pxx1kgoiWcLj0sCSUyWQF+fV5n2rgosbuTw2gY6DaXA= -k8s.io/kube-scheduler v0.25.0-alpha.2/go.mod h1:c9WIcxb5Kow0huSuA4HU8d8lC4d3QrXEcX3OAreOt6E= -k8s.io/kubectl v0.25.0-alpha.2 h1:4PNH8YkSRkRq9cmkua0Oi4/6Qvvf6CXflXdLgKDpD8Q= -k8s.io/kubectl v0.25.0-alpha.2/go.mod h1:msp9bRJqCBb1ROLxCH8Zkn3cL0tv4C2KkugRUV82e4M= -k8s.io/kubelet v0.25.0-alpha.2 h1:MzXSjDQEtOph4joEIlWBczQL+O1aNvmIzCPV8ujOJlw= -k8s.io/kubelet v0.25.0-alpha.2/go.mod h1:8U0wfzzbneMrtBQm2TsvOo8EUcIblMY3AUjidFYegto= -k8s.io/kubernetes v1.25.0-alpha.2 h1:Bh4T1htwJH4KnRh037MO/GEn73U985odsdEn8mMJFs0= -k8s.io/kubernetes v1.25.0-alpha.2/go.mod h1:Io5pYGoxO26XrLMUunyCWeUVtKf6L/zdKhDm/MCp180= -k8s.io/legacy-cloud-providers v0.25.0-alpha.2 h1:vxhm0ZoTpsrOCADXEyKb9t+m1MnzBWTCjP0fQhvyRCk= -k8s.io/legacy-cloud-providers v0.25.0-alpha.2/go.mod h1:GyyNT+ahr3M9Pdx5UOKyJ6oN55lg4E9o3go5vQkJFS4= -k8s.io/metrics v0.25.0-alpha.2/go.mod h1:lOCv7pB7Y7lMriUFgv207TWodCr/yw7nLuOuaoEhqZ8= -k8s.io/mount-utils v0.25.0-alpha.2 h1:WNxH4khKztmISOx1vgYw+m8nk+Cg/1CdXoWjKduDQfE= -k8s.io/mount-utils v0.25.0-alpha.2/go.mod h1:TSNhvHrfIqaevAiDM2O9bS0KQAcq7jASNXzt3/NnAhA= -k8s.io/pod-security-admission v0.25.0-alpha.2/go.mod h1:Bs9wP/7rFaG9iIi6+CrYWBqMl/I18BqUMUykx3Jr7O0= -k8s.io/sample-apiserver v0.25.0-alpha.2/go.mod h1:z1hFdC8MGYMdqmaygMVKgnFpYBZ5D3bSc7jPM3ByawA= -k8s.io/system-validators v1.7.0/go.mod h1:gP1Ky+R9wtrSiFbrpEPwWMeYz9yqyy1S/KOh0Vci7WI= -k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= +k8s.io/klog/v2 v2.70.1 h1:7aaoSdahviPmR+XkS7FyxlkkXs6tHISSG03RxleQAVQ= +k8s.io/klog/v2 v2.70.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= +k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 h1:MQ8BAZPZlWk3S9K4a9NCkIFQtZShWqoha7snGixVgEA= +k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1/go.mod h1:C/N6wCaBHeBHkHUesQOQy2/MZqGgMAFPqGsGQLdbZBU= +k8s.io/kube-proxy v0.25.0 h1:QuoKEyXV+NNMXEh8oqlthUlHkmWF+WBnYUMHCf817k0= +k8s.io/kube-proxy v0.25.0/go.mod h1:uHv1HwMVDYgl1pU2PTDKLRlxtNOf4z2M5YPYC6NP1CU= +k8s.io/kube-scheduler v0.25.0 h1:Up2rW+1H3JsgcpfdMcj/kVbYtgoxpiwxKLg5L4PaZ98= +k8s.io/kube-scheduler v0.25.0/go.mod h1:cwiyJeImgFbhmbnImzvuhbiJayNngRNEe3FJkZDPw9Y= +k8s.io/kubectl v0.25.0 h1:/Wn1cFqo8ik3iee1EvpxYre3bkWsGLXzLQI6uCCAkQc= +k8s.io/kubectl v0.25.0/go.mod h1:n16ULWsOl2jmQpzt2o7Dud1t4o0+Y186ICb4O+GwKAU= +k8s.io/kubelet v0.25.0 h1:eTS5B1u1o63ndExAHKLJytzz/GBy86ROcxYtu0VK3RA= +k8s.io/kubelet v0.25.0/go.mod h1:J6aQxrZdSsGPrskYrhZdEn6PCnGha+GNvF0g9aWfQnw= +k8s.io/kubernetes v1.25.0 h1:NwTRyLrdXTORd5V7DLlUltxDbl/KZjYDiRgwI+pBYGE= +k8s.io/kubernetes v1.25.0/go.mod h1:UdtILd5Zg1vGZvShiO1EYOqmjzM2kZOG1hzwQnM5JxY= +k8s.io/legacy-cloud-providers v0.25.0 h1:c+boKaCw/2ZzvA8/XgTIeDrGUJJ2Ucy+jLJFf02+huE= +k8s.io/legacy-cloud-providers v0.25.0/go.mod h1:bnmUgHHeBmK3M9JgQzu+ne6UCUVURDzkpF0Y7VeypVE= +k8s.io/mount-utils v0.25.1-rc.0 h1:5dgitAglmH1iS8+ZcjLHqr7i5DK7dX9QGJlXw5MSbNc= +k8s.io/mount-utils v0.25.1-rc.0/go.mod h1:WTYq8Ev/JrnkqK2h1jFUnC8qWGuqzMb9XDC+Lu3WNU0= k8s.io/utils v0.0.0-20211116205334-6203023598ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 h1:HNSDgDCrr/6Ly3WEGKZftiE7IY19Vz2GdbOCyI4qqhc= -k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw= -modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk= -modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k= -modernc.org/strutil v1.0.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs= -modernc.org/xc v1.0.0/go.mod h1:mRNCo0bvLjGhHO9WsyuKVU4q0ceiDDDoEeWDJHrNx8I= +k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed h1:jAne/RjBTyawwAy0utX5eqigAwz/lQhTmy+Hr/Cpue4= +k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.30/go.mod h1:fEO7lRTdivWO2qYVCVG7dEADOMo/MLDCVr8So2g88Uw= sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.32 h1:2WjukG7txtEsbXsSKWtTibCdsyYAhcu6KFnttyDdZOQ= sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.32/go.mod h1:fEO7lRTdivWO2qYVCVG7dEADOMo/MLDCVr8So2g88Uw= sigs.k8s.io/cloud-provider-azure v1.24.2 h1:t0c3Q7GAGQ0oqyl/KiHLtkS4obEYJpAMRYUuhEtgs/k= sigs.k8s.io/cloud-provider-azure v1.24.2/go.mod h1:uKqonMQbC2zqwq7NIWOfQLgrsMzD02Wj5UFFl1te1GY= -sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 h1:kDi4JBNAsJWfz1aEXhO8Jg87JJaPNLh5tIzYHgStQ9Y= -sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY= -sigs.k8s.io/kustomize/api v0.11.4/go.mod h1:k+8RsqYbgpkIrJ4p9jcdPqe8DprLxFUUO0yNOq8C+xI= -sigs.k8s.io/kustomize/cmd/config v0.10.6/go.mod h1:/S4A4nUANUa4bZJ/Edt7ZQTyKOY9WCER0uBS1SW2Rco= -sigs.k8s.io/kustomize/kustomize/v4 v4.5.4/go.mod h1:Zo/Xc5FKD6sHl0lilbrieeGeZHVYCA4BzxeAaLI05Bg= -sigs.k8s.io/kustomize/kyaml v0.13.6/go.mod h1:yHP031rn1QX1lr/Xd934Ri/xdVNG8BE2ECa78Ht/kEg= -sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v4 v4.2.1 h1:bKCqE9GvQ5tiVHn5rfn1r+yao3aLQEaLzkkmAkf+A6Y= -sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= +sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 h1:iXTIw73aPyC+oRdyqqvVJuloN1p0AC/kzH07hu3NE+k= +sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= +sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE= +sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= diff --git a/cluster-autoscaler/utils/errors/errors.go b/cluster-autoscaler/utils/errors/errors.go index fbdd6e22a674..413699e4ac75 100644 --- a/cluster-autoscaler/utils/errors/errors.go +++ b/cluster-autoscaler/utils/errors/errors.go @@ -94,7 +94,9 @@ func (e autoscalerErrorImpl) Type() AutoscalerErrorType { // Returns the error it's called for convenient inline use. // Example: // if err := DoSomething(myObject); err != nil { +// // return err.AddPrefix("can't do something with %v: ", myObject) +// // } func (e autoscalerErrorImpl) AddPrefix(msg string, args ...interface{}) AutoscalerError { e.msg = fmt.Sprintf(msg, args...) + e.msg diff --git a/cluster-autoscaler/utils/test/test_utils.go b/cluster-autoscaler/utils/test/test_utils.go index 71d161b7f560..d384e7ee6747 100644 --- a/cluster-autoscaler/utils/test/test_utils.go +++ b/cluster-autoscaler/utils/test/test_utils.go @@ -289,7 +289,8 @@ func boolptr(val bool) *bool { // // Call http server in your code. // instances, err := g.GetManagedInstances() // // Check if expected calls were executed. -// mock.AssertExpectationsForObjects(t, server) +// +// mock.AssertExpectationsForObjects(t, server) // // Note: to provide a content type, you may pass in the desired // fields: diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/adal/go.mod b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/adal/go.mod deleted file mode 100644 index 264ef2d6ac17..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/adal/go.mod +++ /dev/null @@ -1,13 +0,0 @@ -module github.com/Azure/go-autorest/autorest/adal - -go 1.15 - -require ( - github.com/Azure/go-autorest v14.2.0+incompatible - github.com/Azure/go-autorest/autorest/date v0.3.0 - github.com/Azure/go-autorest/autorest/mocks v0.4.1 - github.com/Azure/go-autorest/logger v0.2.1 - github.com/Azure/go-autorest/tracing v0.6.0 - github.com/golang-jwt/jwt/v4 v4.0.0 - golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 -) diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/adal/go.sum b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/adal/go.sum deleted file mode 100644 index 919ea16d607a..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/adal/go.sum +++ /dev/null @@ -1,20 +0,0 @@ -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= -github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= -github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk= -github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+ZtXWSmf4Tg= -github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= -github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/golang-jwt/jwt/v4 v4.0.0 h1:RAqyYixv1p7uEnocuy8P1nru5wprCh/MH2BIlW5z5/o= -github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 h1:7I4JAnoQBe7ZtJcBaYHi5UtiO8tQHbUSXxL+pnGRANg= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/azure/auth/go.mod b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/azure/auth/go.mod deleted file mode 100644 index 7a894fabaa9c..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/azure/auth/go.mod +++ /dev/null @@ -1,13 +0,0 @@ -module github.com/Azure/go-autorest/autorest/azure/auth - -go 1.12 - -require ( - github.com/Azure/go-autorest v14.2.0+incompatible - github.com/Azure/go-autorest/autorest v0.11.17 - github.com/Azure/go-autorest/autorest/adal v0.9.11 - github.com/Azure/go-autorest/autorest/azure/cli v0.4.2 - github.com/Azure/go-autorest/logger v0.2.0 - github.com/dimchansky/utfbom v1.1.1 - golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a // indirect -) diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/azure/auth/go.sum b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/azure/auth/go.sum deleted file mode 100644 index ab1094597074..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/azure/auth/go.sum +++ /dev/null @@ -1,37 +0,0 @@ -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest/autorest v0.11.17 h1:2zCdHwNgRH+St1J+ZMf66xI8aLr/5KMy+wWLH97zwYM= -github.com/Azure/go-autorest/autorest v0.11.17/go.mod h1:eipySxLmqSyC5s5k1CLupqet0PSENBEDP93LQ9a8QYw= -github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= -github.com/Azure/go-autorest/autorest/adal v0.9.11 h1:L4/pmq7poLdsy41Bj1FayKvBhayuWRYkx9HU5i4Ybl0= -github.com/Azure/go-autorest/autorest/adal v0.9.11/go.mod h1:nBKAnTomx8gDtl+3ZCJv2v0KACFHWTB2drffI1B68Pk= -github.com/Azure/go-autorest/autorest/azure/cli v0.4.2 h1:dMOmEJfkLKW/7JsokJqkyoYSgmR08hi9KrhjZb+JALY= -github.com/Azure/go-autorest/autorest/azure/cli v0.4.2/go.mod h1:7qkJkT+j6b+hIpzMOwPChJhTqS8VbsqqgULzMNRugoM= -github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= -github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= -github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk= -github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/logger v0.2.0 h1:e4RVHVZKC5p6UANLJHkM4OfR1UKZPj8Wt8Pcx+3oqrE= -github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= -github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= -github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi/U= -github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE= -github.com/form3tech-oss/jwt-go v3.2.2+incompatible h1:TcekIExNqud5crz4xD2pavyTgWiPvpYe4Xau31I0PRk= -github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= -github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= -github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a h1:kr2P4QFmQr29mSLA43kwrOcgcReGTfbE9N577tCTuBc= -golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/azure/cli/go.mod b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/azure/cli/go.mod deleted file mode 100644 index 7e06a8bb7248..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/azure/cli/go.mod +++ /dev/null @@ -1,11 +0,0 @@ -module github.com/Azure/go-autorest/autorest/azure/cli - -go 1.12 - -require ( - github.com/Azure/go-autorest v14.2.0+incompatible - github.com/Azure/go-autorest/autorest/adal v0.9.5 - github.com/Azure/go-autorest/autorest/date v0.3.0 - github.com/dimchansky/utfbom v1.1.0 - github.com/mitchellh/go-homedir v1.1.0 -) diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/azure/cli/go.sum b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/azure/cli/go.sum deleted file mode 100644 index f2f970684df3..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/azure/cli/go.sum +++ /dev/null @@ -1,24 +0,0 @@ -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest/autorest/adal v0.9.5 h1:Y3bBUV4rTuxenJJs41HU3qmqsb+auo+a3Lz+PlJPpL0= -github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A= -github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= -github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= -github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk= -github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= -github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/dimchansky/utfbom v1.1.0 h1:FcM3g+nofKgUteL8dm/UpdRXNC9KmADgTpLKsu0TRo4= -github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= -github.com/form3tech-oss/jwt-go v3.2.2+incompatible h1:TcekIExNqud5crz4xD2pavyTgWiPvpYe4Xau31I0PRk= -github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k= -github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= -github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0 h1:hb9wdF1z5waM+dSIICn1l0DkLVDT3hqhhQsDNUmHPRE= -golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/date/go.mod b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/date/go.mod deleted file mode 100644 index f88ecc4022d6..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/date/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/Azure/go-autorest/autorest/date - -go 1.12 - -require github.com/Azure/go-autorest v14.2.0+incompatible diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/date/go.sum b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/date/go.sum deleted file mode 100644 index 1fc56a962ee4..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/date/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/go.mod b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/go.mod deleted file mode 100644 index 680b9676fe82..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/go.mod +++ /dev/null @@ -1,13 +0,0 @@ -module github.com/Azure/go-autorest/autorest - -go 1.15 - -require ( - github.com/Azure/go-autorest v14.2.0+incompatible - github.com/Azure/go-autorest/autorest/adal v0.9.18 - github.com/Azure/go-autorest/autorest/mocks v0.4.2 - github.com/Azure/go-autorest/logger v0.2.1 - github.com/Azure/go-autorest/tracing v0.6.0 - github.com/golang-jwt/jwt/v4 v4.2.0 // indirect - golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 -) diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/go.sum b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/go.sum deleted file mode 100644 index 4bb88d68ce5e..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/go.sum +++ /dev/null @@ -1,28 +0,0 @@ -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest/autorest/adal v0.9.18 h1:kLnPsRjzZZUF3K5REu/Kc+qMQrvuza2bwSnNdhmzLfQ= -github.com/Azure/go-autorest/autorest/adal v0.9.18/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ= -github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= -github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= -github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/autorest/mocks v0.4.2 h1:PGN4EDXnuQbojHbU0UWoNvmu9AGVwYHG9/fkDYhtAfw= -github.com/Azure/go-autorest/autorest/mocks v0.4.2/go.mod h1:Vy7OitM9Kei0i1Oj+LvyAWMXJHeKH1MVlzFugfVrmyU= -github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+ZtXWSmf4Tg= -github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= -github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= -github.com/golang-jwt/jwt/v4 v4.2.0 h1:besgBTC8w8HjP6NzQdxwKH9Z5oQMZ24ThTrHp3cZ8eU= -github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 h1:0es+/5331RGQPcXlMfP+WrnIIS6dNnNRe0WB02W0F4M= -golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/mocks/go.mod b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/mocks/go.mod deleted file mode 100644 index ef79c8dfac26..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/mocks/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/Azure/go-autorest/autorest/mocks - -go 1.15 - -require github.com/Azure/go-autorest v14.2.0+incompatible diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/mocks/go.sum b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/mocks/go.sum deleted file mode 100644 index 1fc56a962ee4..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/mocks/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/to/go.mod b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/to/go.mod deleted file mode 100644 index 8fd041e2baef..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/to/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/Azure/go-autorest/autorest/to - -go 1.12 - -require github.com/Azure/go-autorest v14.2.0+incompatible diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/to/go.sum b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/to/go.sum deleted file mode 100644 index 1fc56a962ee4..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/to/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/validation/go.mod b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/validation/go.mod deleted file mode 100644 index a0a69e9aed53..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/validation/go.mod +++ /dev/null @@ -1,8 +0,0 @@ -module github.com/Azure/go-autorest/autorest/validation - -go 1.12 - -require ( - github.com/Azure/go-autorest v14.2.0+incompatible - github.com/stretchr/testify v1.3.0 -) diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/validation/go.sum b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/validation/go.sum deleted file mode 100644 index 6c1119aab96b..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/autorest/validation/go.sum +++ /dev/null @@ -1,9 +0,0 @@ -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/logger/go.mod b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/logger/go.mod deleted file mode 100644 index bedeaee039e0..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/logger/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/Azure/go-autorest/logger - -go 1.12 - -require github.com/Azure/go-autorest v14.2.0+incompatible diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/logger/go.sum b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/logger/go.sum deleted file mode 100644 index 1fc56a962ee4..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/logger/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/tracing/go.mod b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/tracing/go.mod deleted file mode 100644 index a2cdec78c810..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/tracing/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/Azure/go-autorest/tracing - -go 1.12 - -require github.com/Azure/go-autorest v14.2.0+incompatible diff --git a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/tracing/go.sum b/cluster-autoscaler/vendor/github.com/Azure/go-autorest/tracing/go.sum deleted file mode 100644 index 1fc56a962ee4..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/go-autorest/tracing/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= diff --git a/cluster-autoscaler/vendor/github.com/Azure/skewer/go.mod b/cluster-autoscaler/vendor/github.com/Azure/skewer/go.mod deleted file mode 100644 index 580e8949b245..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/skewer/go.mod +++ /dev/null @@ -1,14 +0,0 @@ -module github.com/Azure/skewer - -go 1.13 - -require ( - github.com/Azure/azure-sdk-for-go v46.0.0+incompatible - github.com/Azure/go-autorest/autorest v0.11.4 // indirect - github.com/Azure/go-autorest/autorest/adal v0.9.2 // indirect - github.com/Azure/go-autorest/autorest/to v0.4.0 - github.com/Azure/go-autorest/autorest/validation v0.3.0 // indirect - github.com/google/go-cmp v0.5.1 - github.com/pkg/errors v0.9.1 - golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a // indirect -) diff --git a/cluster-autoscaler/vendor/github.com/Azure/skewer/go.sum b/cluster-autoscaler/vendor/github.com/Azure/skewer/go.sum deleted file mode 100644 index 1449975e0ba4..000000000000 --- a/cluster-autoscaler/vendor/github.com/Azure/skewer/go.sum +++ /dev/null @@ -1,46 +0,0 @@ -github.com/Azure/azure-sdk-for-go v46.0.0+incompatible h1:4qlEOCDcDQZTGczYGzbGYCdJfVpZLIs8AEo5+MoXBPw= -github.com/Azure/azure-sdk-for-go v46.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= -github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs= -github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24= -github.com/Azure/go-autorest/autorest v0.11.4 h1:iWJqGEvip7mjibEqC/srXNdo+4wLEPiwlP/7dZLtoPc= -github.com/Azure/go-autorest/autorest v0.11.4/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw= -github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg= -github.com/Azure/go-autorest/autorest/adal v0.9.2 h1:Aze/GQeAN1RRbGmnUJvUj+tFGBzFdIg3293/A9rbxC4= -github.com/Azure/go-autorest/autorest/adal v0.9.2/go.mod h1:/3SMAM86bP6wC9Ev35peQDUeqFZBMH07vvUOmg4z/fE= -github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw= -github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74= -github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk= -github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k= -github.com/Azure/go-autorest/autorest/to v0.4.0 h1:oXVqrxakqqV1UZdSazDOPOLvOIz+XA683u8EctwboHk= -github.com/Azure/go-autorest/autorest/to v0.4.0/go.mod h1:fE8iZBn7LQR7zH/9XU2NcPR4o9jEImooCeWJcYV/zLE= -github.com/Azure/go-autorest/autorest/validation v0.3.0 h1:3I9AAI63HfcLtphd9g39ruUwRI+Ca+z/f36KHPFRUss= -github.com/Azure/go-autorest/autorest/validation v0.3.0/go.mod h1:yhLgjC0Wda5DYXl6JAsWyUe4KVNffhoDhG0zVzUMo3E= -github.com/Azure/go-autorest/logger v0.2.0 h1:e4RVHVZKC5p6UANLJHkM4OfR1UKZPj8Wt8Pcx+3oqrE= -github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8= -github.com/Azure/go-autorest/tracing v0.6.0 h1:TYi4+3m5t6K48TGI9AUdb+IzbnSxvnvUMfuitfgcfuo= -github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM= -github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/google/go-cmp v0.5.1 h1:JFrFEBb2xKufg6XkJsJr+WbKb4FQlURi5RUcBveYu9k= -github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 h1:psW17arqaxU48Z5kZ0CQnkZWQJsqcURM6tKiBApRjXI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a h1:vclmkQCjlDX5OydZ9wv8rBCcS0QyQY66Mpf/7BZbInM= -golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/cluster-autoscaler/vendor/github.com/Microsoft/go-winio/go.mod b/cluster-autoscaler/vendor/github.com/Microsoft/go-winio/go.mod deleted file mode 100644 index 98a8dea0e7e1..000000000000 --- a/cluster-autoscaler/vendor/github.com/Microsoft/go-winio/go.mod +++ /dev/null @@ -1,9 +0,0 @@ -module github.com/Microsoft/go-winio - -go 1.12 - -require ( - github.com/pkg/errors v0.9.1 - github.com/sirupsen/logrus v1.7.0 - golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c -) diff --git a/cluster-autoscaler/vendor/github.com/Microsoft/go-winio/go.sum b/cluster-autoscaler/vendor/github.com/Microsoft/go-winio/go.sum deleted file mode 100644 index aa6ad3b571af..000000000000 --- a/cluster-autoscaler/vendor/github.com/Microsoft/go-winio/go.sum +++ /dev/null @@ -1,14 +0,0 @@ -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/sirupsen/logrus v1.7.0 h1:ShrD1U9pZB12TX0cVy0DtePoCH97K8EtX+mg7ZARUtM= -github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 h1:YyJpGZS1sBuBCzLAR1VEpK193GlqGZbnPFnPV/5Rsb4= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c h1:VwygUrnw9jn88c4u8GD3rZQbqrP/tgas88tPUbBxQrk= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/cluster-autoscaler/vendor/github.com/Microsoft/hcsshim/go.mod b/cluster-autoscaler/vendor/github.com/Microsoft/hcsshim/go.mod deleted file mode 100644 index 8360b0a50d34..000000000000 --- a/cluster-autoscaler/vendor/github.com/Microsoft/hcsshim/go.mod +++ /dev/null @@ -1,30 +0,0 @@ -module github.com/Microsoft/hcsshim - -go 1.13 - -require ( - github.com/Microsoft/go-winio v0.4.17 - github.com/containerd/cgroups v1.0.1 - github.com/containerd/console v1.0.2 - github.com/containerd/containerd v1.4.9 - github.com/containerd/continuity v0.1.0 // indirect - github.com/containerd/fifo v1.0.0 // indirect - github.com/containerd/go-runc v1.0.0 - github.com/containerd/ttrpc v1.0.2 - github.com/containerd/typeurl v1.0.2 - github.com/gogo/protobuf v1.3.2 - github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d - github.com/pkg/errors v0.9.1 - github.com/sirupsen/logrus v1.7.0 - github.com/urfave/cli v1.22.2 - go.opencensus.io v0.22.3 - golang.org/x/sync v0.0.0-20201207232520-09787c993a3a - golang.org/x/sys v0.0.0-20210324051608-47abb6519492 - google.golang.org/grpc v1.33.2 - gotest.tools/v3 v3.0.3 // indirect -) - -replace ( - google.golang.org/genproto => google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63 - google.golang.org/grpc => google.golang.org/grpc v1.27.1 -) diff --git a/cluster-autoscaler/vendor/github.com/Microsoft/hcsshim/go.sum b/cluster-autoscaler/vendor/github.com/Microsoft/hcsshim/go.sum deleted file mode 100644 index 8ad3a8b8f1a4..000000000000 --- a/cluster-autoscaler/vendor/github.com/Microsoft/hcsshim/go.sum +++ /dev/null @@ -1,241 +0,0 @@ -bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/Microsoft/go-winio v0.4.17 h1:iT12IBVClFevaf8PuVyi3UmZOVh4OqnaLxDTW2O6j3w= -github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= -github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cilium/ebpf v0.4.0/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs= -github.com/containerd/cgroups v1.0.1 h1:iJnMvco9XGvKUvNQkv88bE4uJXxRQH18efbKo9w5vHQ= -github.com/containerd/cgroups v1.0.1/go.mod h1:0SJrPIenamHDcZhEcJMNBB85rHcUsw4f25ZfBiPYRkU= -github.com/containerd/console v1.0.1/go.mod h1:XUsP6YE/mKtz6bxc+I8UiKKTP04qjQL4qcS3XoQ5xkw= -github.com/containerd/console v1.0.2 h1:Pi6D+aZXM+oUw1czuKgH5IJ+y0jhYcwBJfx5/Ghn9dE= -github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ= -github.com/containerd/containerd v1.4.9 h1:JIw9mjVw4LsGmnA/Bqg9j9e+XB7soOJufrKUpA6n2Ns= -github.com/containerd/containerd v1.4.9/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= -github.com/containerd/continuity v0.1.0 h1:UFRRY5JemiAhPZrr/uE0n8fMTLcZsUvySPr1+D7pgr8= -github.com/containerd/continuity v0.1.0/go.mod h1:ICJu0PwR54nI0yPEnJ6jcS+J7CZAUXrLh8lPo2knzsM= -github.com/containerd/fifo v1.0.0 h1:6PirWBr9/L7GDamKr+XM0IeUFXu5mf3M/BPpH9gaLBU= -github.com/containerd/fifo v1.0.0/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4= -github.com/containerd/go-runc v1.0.0 h1:oU+lLv1ULm5taqgV/CJivypVODI4SUz1znWjv3nNYS0= -github.com/containerd/go-runc v1.0.0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok= -github.com/containerd/ttrpc v1.0.2 h1:2/O3oTZN36q2xRolk0a2WWGgh7/Vf/liElg5hFYLX9U= -github.com/containerd/ttrpc v1.0.2/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y= -github.com/containerd/typeurl v1.0.2 h1:Chlt8zIieDbzQFzXzAeBEF92KhExuE4p9p92/QmY7aY= -github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcDZXTn6oPz9s= -github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= -github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/go-systemd/v22 v22.1.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/cpuguy83/go-md2man/v2 v2.0.0 h1:EoUDS0afbrsXAZ9YQ9jdu/mZ2sXgT1/2yyNng4PGlyM= -github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= -github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= -github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= -github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= -github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6 h1:ZgQEtGgCBiWRM39fZuwSd1LwSqqSW0hOdXCYYDX0R3I= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5 h1:F768QJ1E9tib+q5Sc8MkdJi1RxLTbRcTf8LJV56aRls= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= -github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= -github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= -github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= -github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= -github.com/opencontainers/runtime-spec v1.0.2/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d h1:pNa8metDkwZjb9g4T8s+krQ+HRgZAkqnXml+wNir/+s= -github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= -github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= -github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.0.0-20190522114515-bc1a522cf7b1 h1:Lo6mRUjdS99f3zxYOUalftWHUoOGaDRqFk1+j0Q57/I= -github.com/prometheus/procfs v0.0.0-20190522114515-bc1a522cf7b1/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= -github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q= -github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/shurcooL/sanitized_anchor_name v1.0.0 h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo= -github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= -github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/sirupsen/logrus v1.7.0 h1:ShrD1U9pZB12TX0cVy0DtePoCH97K8EtX+mg7ZARUtM= -github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE= -github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc= -github.com/urfave/cli v1.22.2 h1:gsqYFH8bb9ekPA12kRo0hfjngWQjkJPlN9R0N78BoUo= -github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= -github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.opencensus.io v0.22.3 h1:8sGtKOrtQqkN1bp2AtX+misvLIlOmsEsNd+9NIcPEm8= -go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20201021035429-f5854403a974 h1:IX6qOQeG5uLjB/hjjwjedwfjND0hgjPMMyO1RoIXQNI= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a h1:DcqTD9SDLc+1P/r1EmRBwnVsrOwW+kk2vWf9n+1sGhs= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200120151820-655fe14d7479/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200916030750-2334cc1a136f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210324051608-47abb6519492 h1:Paq34FxTluEPvVyayQqMPgHm+vTOrIifmcYxFBx9TLg= -golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63 h1:YzfoEYWbODU5Fbt37+h7X16BWQbad7Q4S6gclTKFXM8= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/grpc v1.27.1 h1:zvIju4sqAGvwKspUQOhwnpcqSbzi7/H6QomNNjTL4sk= -google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gotest.tools/v3 v3.0.3 h1:4AuOwCGf4lLR9u3YOe2awrHygurzhO/HeQ6laiA6Sx0= -gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/cluster-autoscaler/vendor/github.com/NYTimes/gziphandler/go.mod b/cluster-autoscaler/vendor/github.com/NYTimes/gziphandler/go.mod deleted file mode 100644 index 801901274249..000000000000 --- a/cluster-autoscaler/vendor/github.com/NYTimes/gziphandler/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/NYTimes/gziphandler - -go 1.11 - -require github.com/stretchr/testify v1.3.0 diff --git a/cluster-autoscaler/vendor/github.com/NYTimes/gziphandler/go.sum b/cluster-autoscaler/vendor/github.com/NYTimes/gziphandler/go.sum deleted file mode 100644 index 4347755afe82..000000000000 --- a/cluster-autoscaler/vendor/github.com/NYTimes/gziphandler/go.sum +++ /dev/null @@ -1,7 +0,0 @@ -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= diff --git a/cluster-autoscaler/vendor/github.com/aws/aws-sdk-go/service/eks/api.go b/cluster-autoscaler/vendor/github.com/aws/aws-sdk-go/service/eks/api.go deleted file mode 100644 index 56cd9ae935f9..000000000000 --- a/cluster-autoscaler/vendor/github.com/aws/aws-sdk-go/service/eks/api.go +++ /dev/null @@ -1,10716 +0,0 @@ -// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. - -package eks - -import ( - "fmt" - "time" - - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/aws/awsutil" - "github.com/aws/aws-sdk-go/aws/request" - "github.com/aws/aws-sdk-go/private/protocol" - "github.com/aws/aws-sdk-go/private/protocol/restjson" -) - -const opAssociateEncryptionConfig = "AssociateEncryptionConfig" - -// AssociateEncryptionConfigRequest generates a "aws/request.Request" representing the -// client's request for the AssociateEncryptionConfig operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See AssociateEncryptionConfig for more information on using the AssociateEncryptionConfig -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the AssociateEncryptionConfigRequest method. -// req, resp := client.AssociateEncryptionConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/AssociateEncryptionConfig -func (c *EKS) AssociateEncryptionConfigRequest(input *AssociateEncryptionConfigInput) (req *request.Request, output *AssociateEncryptionConfigOutput) { - op := &request.Operation{ - Name: opAssociateEncryptionConfig, - HTTPMethod: "POST", - HTTPPath: "/clusters/{name}/encryption-config/associate", - } - - if input == nil { - input = &AssociateEncryptionConfigInput{} - } - - output = &AssociateEncryptionConfigOutput{} - req = c.newRequest(op, input, output) - return -} - -// AssociateEncryptionConfig API operation for Amazon Elastic Kubernetes Service. -// -// Associate encryption configuration to an existing cluster. -// -// You can use this API to enable encryption on existing clusters which do not -// have encryption already enabled. This allows you to implement a defense-in-depth -// security strategy without migrating applications to new EKS clusters. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation AssociateEncryptionConfig for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ResourceInUseException -// The specified resource is in use. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/AssociateEncryptionConfig -func (c *EKS) AssociateEncryptionConfig(input *AssociateEncryptionConfigInput) (*AssociateEncryptionConfigOutput, error) { - req, out := c.AssociateEncryptionConfigRequest(input) - return out, req.Send() -} - -// AssociateEncryptionConfigWithContext is the same as AssociateEncryptionConfig with the addition of -// the ability to pass a context and additional request options. -// -// See AssociateEncryptionConfig for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) AssociateEncryptionConfigWithContext(ctx aws.Context, input *AssociateEncryptionConfigInput, opts ...request.Option) (*AssociateEncryptionConfigOutput, error) { - req, out := c.AssociateEncryptionConfigRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opAssociateIdentityProviderConfig = "AssociateIdentityProviderConfig" - -// AssociateIdentityProviderConfigRequest generates a "aws/request.Request" representing the -// client's request for the AssociateIdentityProviderConfig operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See AssociateIdentityProviderConfig for more information on using the AssociateIdentityProviderConfig -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the AssociateIdentityProviderConfigRequest method. -// req, resp := client.AssociateIdentityProviderConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/AssociateIdentityProviderConfig -func (c *EKS) AssociateIdentityProviderConfigRequest(input *AssociateIdentityProviderConfigInput) (req *request.Request, output *AssociateIdentityProviderConfigOutput) { - op := &request.Operation{ - Name: opAssociateIdentityProviderConfig, - HTTPMethod: "POST", - HTTPPath: "/clusters/{name}/identity-provider-configs/associate", - } - - if input == nil { - input = &AssociateIdentityProviderConfigInput{} - } - - output = &AssociateIdentityProviderConfigOutput{} - req = c.newRequest(op, input, output) - return -} - -// AssociateIdentityProviderConfig API operation for Amazon Elastic Kubernetes Service. -// -// Associate an identity provider configuration to a cluster. -// -// If you want to authenticate identities using an identity provider, you can -// create an identity provider configuration and associate it to your cluster. -// After configuring authentication to your cluster you can create Kubernetes -// roles and clusterroles to assign permissions to the roles, and then bind -// the roles to the identities using Kubernetes rolebindings and clusterrolebindings. -// For more information see Using RBAC Authorization (https://kubernetes.io/docs/reference/access-authn-authz/rbac/) -// in the Kubernetes documentation. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation AssociateIdentityProviderConfig for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ResourceInUseException -// The specified resource is in use. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/AssociateIdentityProviderConfig -func (c *EKS) AssociateIdentityProviderConfig(input *AssociateIdentityProviderConfigInput) (*AssociateIdentityProviderConfigOutput, error) { - req, out := c.AssociateIdentityProviderConfigRequest(input) - return out, req.Send() -} - -// AssociateIdentityProviderConfigWithContext is the same as AssociateIdentityProviderConfig with the addition of -// the ability to pass a context and additional request options. -// -// See AssociateIdentityProviderConfig for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) AssociateIdentityProviderConfigWithContext(ctx aws.Context, input *AssociateIdentityProviderConfigInput, opts ...request.Option) (*AssociateIdentityProviderConfigOutput, error) { - req, out := c.AssociateIdentityProviderConfigRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opCreateAddon = "CreateAddon" - -// CreateAddonRequest generates a "aws/request.Request" representing the -// client's request for the CreateAddon operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See CreateAddon for more information on using the CreateAddon -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the CreateAddonRequest method. -// req, resp := client.CreateAddonRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateAddon -func (c *EKS) CreateAddonRequest(input *CreateAddonInput) (req *request.Request, output *CreateAddonOutput) { - op := &request.Operation{ - Name: opCreateAddon, - HTTPMethod: "POST", - HTTPPath: "/clusters/{name}/addons", - } - - if input == nil { - input = &CreateAddonInput{} - } - - output = &CreateAddonOutput{} - req = c.newRequest(op, input, output) - return -} - -// CreateAddon API operation for Amazon Elastic Kubernetes Service. -// -// Creates an Amazon EKS add-on. -// -// Amazon EKS add-ons help to automate the provisioning and lifecycle management -// of common operational software for Amazon EKS clusters. Amazon EKS add-ons -// can only be used with Amazon EKS clusters running version 1.18 with platform -// version eks.3 or later because add-ons rely on the Server-side Apply Kubernetes -// feature, which is only available in Kubernetes 1.18 and later. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation CreateAddon for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * ResourceInUseException -// The specified resource is in use. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateAddon -func (c *EKS) CreateAddon(input *CreateAddonInput) (*CreateAddonOutput, error) { - req, out := c.CreateAddonRequest(input) - return out, req.Send() -} - -// CreateAddonWithContext is the same as CreateAddon with the addition of -// the ability to pass a context and additional request options. -// -// See CreateAddon for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) CreateAddonWithContext(ctx aws.Context, input *CreateAddonInput, opts ...request.Option) (*CreateAddonOutput, error) { - req, out := c.CreateAddonRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opCreateCluster = "CreateCluster" - -// CreateClusterRequest generates a "aws/request.Request" representing the -// client's request for the CreateCluster operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See CreateCluster for more information on using the CreateCluster -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the CreateClusterRequest method. -// req, resp := client.CreateClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateCluster -func (c *EKS) CreateClusterRequest(input *CreateClusterInput) (req *request.Request, output *CreateClusterOutput) { - op := &request.Operation{ - Name: opCreateCluster, - HTTPMethod: "POST", - HTTPPath: "/clusters", - } - - if input == nil { - input = &CreateClusterInput{} - } - - output = &CreateClusterOutput{} - req = c.newRequest(op, input, output) - return -} - -// CreateCluster API operation for Amazon Elastic Kubernetes Service. -// -// Creates an Amazon EKS control plane. -// -// The Amazon EKS control plane consists of control plane instances that run -// the Kubernetes software, such as etcd and the API server. The control plane -// runs in an account managed by AWS, and the Kubernetes API is exposed via -// the Amazon EKS API server endpoint. Each Amazon EKS cluster control plane -// is single-tenant and unique and runs on its own set of Amazon EC2 instances. -// -// The cluster control plane is provisioned across multiple Availability Zones -// and fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS -// also provisions elastic network interfaces in your VPC subnets to provide -// connectivity from the control plane instances to the nodes (for example, -// to support kubectl exec, logs, and proxy data flows). -// -// Amazon EKS nodes run in your AWS account and connect to your cluster's control -// plane via the Kubernetes API server endpoint and a certificate file that -// is created for your cluster. -// -// Cluster creation typically takes several minutes. After you create an Amazon -// EKS cluster, you must configure your Kubernetes tooling to communicate with -// the API server and launch nodes into your cluster. For more information, -// see Managing Cluster Authentication (https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html) -// and Launching Amazon EKS nodes (https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html) -// in the Amazon EKS User Guide. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation CreateCluster for usage and error information. -// -// Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. -// -// * ResourceLimitExceededException -// You have encountered a service limit on the specified resource. -// -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. -// -// * UnsupportedAvailabilityZoneException -// At least one of your specified cluster subnets is in an Availability Zone -// that does not support Amazon EKS. The exception output specifies the supported -// Availability Zones for your account, from which you can choose subnets for -// your cluster. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateCluster -func (c *EKS) CreateCluster(input *CreateClusterInput) (*CreateClusterOutput, error) { - req, out := c.CreateClusterRequest(input) - return out, req.Send() -} - -// CreateClusterWithContext is the same as CreateCluster with the addition of -// the ability to pass a context and additional request options. -// -// See CreateCluster for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) CreateClusterWithContext(ctx aws.Context, input *CreateClusterInput, opts ...request.Option) (*CreateClusterOutput, error) { - req, out := c.CreateClusterRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opCreateFargateProfile = "CreateFargateProfile" - -// CreateFargateProfileRequest generates a "aws/request.Request" representing the -// client's request for the CreateFargateProfile operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See CreateFargateProfile for more information on using the CreateFargateProfile -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the CreateFargateProfileRequest method. -// req, resp := client.CreateFargateProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateFargateProfile -func (c *EKS) CreateFargateProfileRequest(input *CreateFargateProfileInput) (req *request.Request, output *CreateFargateProfileOutput) { - op := &request.Operation{ - Name: opCreateFargateProfile, - HTTPMethod: "POST", - HTTPPath: "/clusters/{name}/fargate-profiles", - } - - if input == nil { - input = &CreateFargateProfileInput{} - } - - output = &CreateFargateProfileOutput{} - req = c.newRequest(op, input, output) - return -} - -// CreateFargateProfile API operation for Amazon Elastic Kubernetes Service. -// -// Creates an AWS Fargate profile for your Amazon EKS cluster. You must have -// at least one Fargate profile in a cluster to be able to run pods on Fargate. -// -// The Fargate profile allows an administrator to declare which pods run on -// Fargate and specify which pods run on which Fargate profile. This declaration -// is done through the profile’s selectors. Each profile can have up to five -// selectors that contain a namespace and labels. A namespace is required for -// every selector. The label field consists of multiple optional key-value pairs. -// Pods that match the selectors are scheduled on Fargate. If a to-be-scheduled -// pod matches any of the selectors in the Fargate profile, then that pod is -// run on Fargate. -// -// When you create a Fargate profile, you must specify a pod execution role -// to use with the pods that are scheduled with the profile. This role is added -// to the cluster's Kubernetes Role Based Access Control (https://kubernetes.io/docs/admin/authorization/rbac/) -// (RBAC) for authorization so that the kubelet that is running on the Fargate -// infrastructure can register with your Amazon EKS cluster so that it can appear -// in your cluster as a node. The pod execution role also provides IAM permissions -// to the Fargate infrastructure to allow read access to Amazon ECR image repositories. -// For more information, see Pod Execution Role (https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html) -// in the Amazon EKS User Guide. -// -// Fargate profiles are immutable. However, you can create a new updated profile -// to replace an existing profile and then delete the original after the updated -// profile has finished creating. -// -// If any Fargate profiles in a cluster are in the DELETING status, you must -// wait for that Fargate profile to finish deleting before you can create any -// other profiles in that cluster. -// -// For more information, see AWS Fargate Profile (https://docs.aws.amazon.com/eks/latest/userguide/fargate-profile.html) -// in the Amazon EKS User Guide. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation CreateFargateProfile for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ResourceLimitExceededException -// You have encountered a service limit on the specified resource. -// -// * UnsupportedAvailabilityZoneException -// At least one of your specified cluster subnets is in an Availability Zone -// that does not support Amazon EKS. The exception output specifies the supported -// Availability Zones for your account, from which you can choose subnets for -// your cluster. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateFargateProfile -func (c *EKS) CreateFargateProfile(input *CreateFargateProfileInput) (*CreateFargateProfileOutput, error) { - req, out := c.CreateFargateProfileRequest(input) - return out, req.Send() -} - -// CreateFargateProfileWithContext is the same as CreateFargateProfile with the addition of -// the ability to pass a context and additional request options. -// -// See CreateFargateProfile for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) CreateFargateProfileWithContext(ctx aws.Context, input *CreateFargateProfileInput, opts ...request.Option) (*CreateFargateProfileOutput, error) { - req, out := c.CreateFargateProfileRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opCreateNodegroup = "CreateNodegroup" - -// CreateNodegroupRequest generates a "aws/request.Request" representing the -// client's request for the CreateNodegroup operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See CreateNodegroup for more information on using the CreateNodegroup -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the CreateNodegroupRequest method. -// req, resp := client.CreateNodegroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateNodegroup -func (c *EKS) CreateNodegroupRequest(input *CreateNodegroupInput) (req *request.Request, output *CreateNodegroupOutput) { - op := &request.Operation{ - Name: opCreateNodegroup, - HTTPMethod: "POST", - HTTPPath: "/clusters/{name}/node-groups", - } - - if input == nil { - input = &CreateNodegroupInput{} - } - - output = &CreateNodegroupOutput{} - req = c.newRequest(op, input, output) - return -} - -// CreateNodegroup API operation for Amazon Elastic Kubernetes Service. -// -// Creates a managed node group for an Amazon EKS cluster. You can only create -// a node group for your cluster that is equal to the current Kubernetes version -// for the cluster. All node groups are created with the latest AMI release -// version for the respective minor Kubernetes version of the cluster, unless -// you deploy a custom AMI using a launch template. For more information about -// using launch templates, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html). -// -// An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group and -// associated Amazon EC2 instances that are managed by AWS for an Amazon EKS -// cluster. Each node group uses a version of the Amazon EKS optimized Amazon -// Linux 2 AMI. For more information, see Managed Node Groups (https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html) -// in the Amazon EKS User Guide. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation CreateNodegroup for usage and error information. -// -// Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. -// -// * ResourceLimitExceededException -// You have encountered a service limit on the specified resource. -// -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. -// -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateNodegroup -func (c *EKS) CreateNodegroup(input *CreateNodegroupInput) (*CreateNodegroupOutput, error) { - req, out := c.CreateNodegroupRequest(input) - return out, req.Send() -} - -// CreateNodegroupWithContext is the same as CreateNodegroup with the addition of -// the ability to pass a context and additional request options. -// -// See CreateNodegroup for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) CreateNodegroupWithContext(ctx aws.Context, input *CreateNodegroupInput, opts ...request.Option) (*CreateNodegroupOutput, error) { - req, out := c.CreateNodegroupRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opDeleteAddon = "DeleteAddon" - -// DeleteAddonRequest generates a "aws/request.Request" representing the -// client's request for the DeleteAddon operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See DeleteAddon for more information on using the DeleteAddon -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the DeleteAddonRequest method. -// req, resp := client.DeleteAddonRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteAddon -func (c *EKS) DeleteAddonRequest(input *DeleteAddonInput) (req *request.Request, output *DeleteAddonOutput) { - op := &request.Operation{ - Name: opDeleteAddon, - HTTPMethod: "DELETE", - HTTPPath: "/clusters/{name}/addons/{addonName}", - } - - if input == nil { - input = &DeleteAddonInput{} - } - - output = &DeleteAddonOutput{} - req = c.newRequest(op, input, output) - return -} - -// DeleteAddon API operation for Amazon Elastic Kubernetes Service. -// -// Delete an Amazon EKS add-on. -// -// When you remove the add-on, it will also be deleted from the cluster. You -// can always manually start an add-on on the cluster using the Kubernetes API. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation DeleteAddon for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteAddon -func (c *EKS) DeleteAddon(input *DeleteAddonInput) (*DeleteAddonOutput, error) { - req, out := c.DeleteAddonRequest(input) - return out, req.Send() -} - -// DeleteAddonWithContext is the same as DeleteAddon with the addition of -// the ability to pass a context and additional request options. -// -// See DeleteAddon for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) DeleteAddonWithContext(ctx aws.Context, input *DeleteAddonInput, opts ...request.Option) (*DeleteAddonOutput, error) { - req, out := c.DeleteAddonRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opDeleteCluster = "DeleteCluster" - -// DeleteClusterRequest generates a "aws/request.Request" representing the -// client's request for the DeleteCluster operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See DeleteCluster for more information on using the DeleteCluster -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the DeleteClusterRequest method. -// req, resp := client.DeleteClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteCluster -func (c *EKS) DeleteClusterRequest(input *DeleteClusterInput) (req *request.Request, output *DeleteClusterOutput) { - op := &request.Operation{ - Name: opDeleteCluster, - HTTPMethod: "DELETE", - HTTPPath: "/clusters/{name}", - } - - if input == nil { - input = &DeleteClusterInput{} - } - - output = &DeleteClusterOutput{} - req = c.newRequest(op, input, output) - return -} - -// DeleteCluster API operation for Amazon Elastic Kubernetes Service. -// -// Deletes the Amazon EKS cluster control plane. -// -// If you have active services in your cluster that are associated with a load -// balancer, you must delete those services before deleting the cluster so that -// the load balancers are deleted properly. Otherwise, you can have orphaned -// resources in your VPC that prevent you from being able to delete the VPC. -// For more information, see Deleting a Cluster (https://docs.aws.amazon.com/eks/latest/userguide/delete-cluster.html) -// in the Amazon EKS User Guide. -// -// If you have managed node groups or Fargate profiles attached to the cluster, -// you must delete them first. For more information, see DeleteNodegroup and -// DeleteFargateProfile. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation DeleteCluster for usage and error information. -// -// Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteCluster -func (c *EKS) DeleteCluster(input *DeleteClusterInput) (*DeleteClusterOutput, error) { - req, out := c.DeleteClusterRequest(input) - return out, req.Send() -} - -// DeleteClusterWithContext is the same as DeleteCluster with the addition of -// the ability to pass a context and additional request options. -// -// See DeleteCluster for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) DeleteClusterWithContext(ctx aws.Context, input *DeleteClusterInput, opts ...request.Option) (*DeleteClusterOutput, error) { - req, out := c.DeleteClusterRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opDeleteFargateProfile = "DeleteFargateProfile" - -// DeleteFargateProfileRequest generates a "aws/request.Request" representing the -// client's request for the DeleteFargateProfile operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See DeleteFargateProfile for more information on using the DeleteFargateProfile -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the DeleteFargateProfileRequest method. -// req, resp := client.DeleteFargateProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteFargateProfile -func (c *EKS) DeleteFargateProfileRequest(input *DeleteFargateProfileInput) (req *request.Request, output *DeleteFargateProfileOutput) { - op := &request.Operation{ - Name: opDeleteFargateProfile, - HTTPMethod: "DELETE", - HTTPPath: "/clusters/{name}/fargate-profiles/{fargateProfileName}", - } - - if input == nil { - input = &DeleteFargateProfileInput{} - } - - output = &DeleteFargateProfileOutput{} - req = c.newRequest(op, input, output) - return -} - -// DeleteFargateProfile API operation for Amazon Elastic Kubernetes Service. -// -// Deletes an AWS Fargate profile. -// -// When you delete a Fargate profile, any pods running on Fargate that were -// created with the profile are deleted. If those pods match another Fargate -// profile, then they are scheduled on Fargate with that profile. If they no -// longer match any Fargate profiles, then they are not scheduled on Fargate -// and they may remain in a pending state. -// -// Only one Fargate profile in a cluster can be in the DELETING status at a -// time. You must wait for a Fargate profile to finish deleting before you can -// delete any other profiles in that cluster. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation DeleteFargateProfile for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteFargateProfile -func (c *EKS) DeleteFargateProfile(input *DeleteFargateProfileInput) (*DeleteFargateProfileOutput, error) { - req, out := c.DeleteFargateProfileRequest(input) - return out, req.Send() -} - -// DeleteFargateProfileWithContext is the same as DeleteFargateProfile with the addition of -// the ability to pass a context and additional request options. -// -// See DeleteFargateProfile for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) DeleteFargateProfileWithContext(ctx aws.Context, input *DeleteFargateProfileInput, opts ...request.Option) (*DeleteFargateProfileOutput, error) { - req, out := c.DeleteFargateProfileRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opDeleteNodegroup = "DeleteNodegroup" - -// DeleteNodegroupRequest generates a "aws/request.Request" representing the -// client's request for the DeleteNodegroup operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See DeleteNodegroup for more information on using the DeleteNodegroup -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the DeleteNodegroupRequest method. -// req, resp := client.DeleteNodegroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteNodegroup -func (c *EKS) DeleteNodegroupRequest(input *DeleteNodegroupInput) (req *request.Request, output *DeleteNodegroupOutput) { - op := &request.Operation{ - Name: opDeleteNodegroup, - HTTPMethod: "DELETE", - HTTPPath: "/clusters/{name}/node-groups/{nodegroupName}", - } - - if input == nil { - input = &DeleteNodegroupInput{} - } - - output = &DeleteNodegroupOutput{} - req = c.newRequest(op, input, output) - return -} - -// DeleteNodegroup API operation for Amazon Elastic Kubernetes Service. -// -// Deletes an Amazon EKS node group for a cluster. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation DeleteNodegroup for usage and error information. -// -// Returned Error Types: -// * ResourceInUseException -// The specified resource is in use. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteNodegroup -func (c *EKS) DeleteNodegroup(input *DeleteNodegroupInput) (*DeleteNodegroupOutput, error) { - req, out := c.DeleteNodegroupRequest(input) - return out, req.Send() -} - -// DeleteNodegroupWithContext is the same as DeleteNodegroup with the addition of -// the ability to pass a context and additional request options. -// -// See DeleteNodegroup for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) DeleteNodegroupWithContext(ctx aws.Context, input *DeleteNodegroupInput, opts ...request.Option) (*DeleteNodegroupOutput, error) { - req, out := c.DeleteNodegroupRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opDescribeAddon = "DescribeAddon" - -// DescribeAddonRequest generates a "aws/request.Request" representing the -// client's request for the DescribeAddon operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See DescribeAddon for more information on using the DescribeAddon -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the DescribeAddonRequest method. -// req, resp := client.DescribeAddonRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeAddon -func (c *EKS) DescribeAddonRequest(input *DescribeAddonInput) (req *request.Request, output *DescribeAddonOutput) { - op := &request.Operation{ - Name: opDescribeAddon, - HTTPMethod: "GET", - HTTPPath: "/clusters/{name}/addons/{addonName}", - } - - if input == nil { - input = &DescribeAddonInput{} - } - - output = &DescribeAddonOutput{} - req = c.newRequest(op, input, output) - return -} - -// DescribeAddon API operation for Amazon Elastic Kubernetes Service. -// -// Describes an Amazon EKS add-on. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation DescribeAddon for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeAddon -func (c *EKS) DescribeAddon(input *DescribeAddonInput) (*DescribeAddonOutput, error) { - req, out := c.DescribeAddonRequest(input) - return out, req.Send() -} - -// DescribeAddonWithContext is the same as DescribeAddon with the addition of -// the ability to pass a context and additional request options. -// -// See DescribeAddon for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) DescribeAddonWithContext(ctx aws.Context, input *DescribeAddonInput, opts ...request.Option) (*DescribeAddonOutput, error) { - req, out := c.DescribeAddonRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opDescribeAddonVersions = "DescribeAddonVersions" - -// DescribeAddonVersionsRequest generates a "aws/request.Request" representing the -// client's request for the DescribeAddonVersions operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See DescribeAddonVersions for more information on using the DescribeAddonVersions -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the DescribeAddonVersionsRequest method. -// req, resp := client.DescribeAddonVersionsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeAddonVersions -func (c *EKS) DescribeAddonVersionsRequest(input *DescribeAddonVersionsInput) (req *request.Request, output *DescribeAddonVersionsOutput) { - op := &request.Operation{ - Name: opDescribeAddonVersions, - HTTPMethod: "GET", - HTTPPath: "/addons/supported-versions", - Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "maxResults", - TruncationToken: "", - }, - } - - if input == nil { - input = &DescribeAddonVersionsInput{} - } - - output = &DescribeAddonVersionsOutput{} - req = c.newRequest(op, input, output) - return -} - -// DescribeAddonVersions API operation for Amazon Elastic Kubernetes Service. -// -// Describes the Kubernetes versions that the add-on can be used with. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation DescribeAddonVersions for usage and error information. -// -// Returned Error Types: -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeAddonVersions -func (c *EKS) DescribeAddonVersions(input *DescribeAddonVersionsInput) (*DescribeAddonVersionsOutput, error) { - req, out := c.DescribeAddonVersionsRequest(input) - return out, req.Send() -} - -// DescribeAddonVersionsWithContext is the same as DescribeAddonVersions with the addition of -// the ability to pass a context and additional request options. -// -// See DescribeAddonVersions for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) DescribeAddonVersionsWithContext(ctx aws.Context, input *DescribeAddonVersionsInput, opts ...request.Option) (*DescribeAddonVersionsOutput, error) { - req, out := c.DescribeAddonVersionsRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -// DescribeAddonVersionsPages iterates over the pages of a DescribeAddonVersions operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See DescribeAddonVersions method for more information on how to use this operation. -// -// Note: This operation can generate multiple requests to a service. -// -// // Example iterating over at most 3 pages of a DescribeAddonVersions operation. -// pageNum := 0 -// err := client.DescribeAddonVersionsPages(params, -// func(page *eks.DescribeAddonVersionsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// -func (c *EKS) DescribeAddonVersionsPages(input *DescribeAddonVersionsInput, fn func(*DescribeAddonVersionsOutput, bool) bool) error { - return c.DescribeAddonVersionsPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// DescribeAddonVersionsPagesWithContext same as DescribeAddonVersionsPages except -// it takes a Context and allows setting request options on the pages. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) DescribeAddonVersionsPagesWithContext(ctx aws.Context, input *DescribeAddonVersionsInput, fn func(*DescribeAddonVersionsOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *DescribeAddonVersionsInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.DescribeAddonVersionsRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*DescribeAddonVersionsOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() -} - -const opDescribeCluster = "DescribeCluster" - -// DescribeClusterRequest generates a "aws/request.Request" representing the -// client's request for the DescribeCluster operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See DescribeCluster for more information on using the DescribeCluster -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the DescribeClusterRequest method. -// req, resp := client.DescribeClusterRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeCluster -func (c *EKS) DescribeClusterRequest(input *DescribeClusterInput) (req *request.Request, output *DescribeClusterOutput) { - op := &request.Operation{ - Name: opDescribeCluster, - HTTPMethod: "GET", - HTTPPath: "/clusters/{name}", - } - - if input == nil { - input = &DescribeClusterInput{} - } - - output = &DescribeClusterOutput{} - req = c.newRequest(op, input, output) - return -} - -// DescribeCluster API operation for Amazon Elastic Kubernetes Service. -// -// Returns descriptive information about an Amazon EKS cluster. -// -// The API server endpoint and certificate authority data returned by this operation -// are required for kubelet and kubectl to communicate with your Kubernetes -// API server. For more information, see Create a kubeconfig for Amazon EKS -// (https://docs.aws.amazon.com/eks/latest/userguide/create-kubeconfig.html). -// -// The API server endpoint and certificate authority data aren't available until -// the cluster reaches the ACTIVE state. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation DescribeCluster for usage and error information. -// -// Returned Error Types: -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeCluster -func (c *EKS) DescribeCluster(input *DescribeClusterInput) (*DescribeClusterOutput, error) { - req, out := c.DescribeClusterRequest(input) - return out, req.Send() -} - -// DescribeClusterWithContext is the same as DescribeCluster with the addition of -// the ability to pass a context and additional request options. -// -// See DescribeCluster for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) DescribeClusterWithContext(ctx aws.Context, input *DescribeClusterInput, opts ...request.Option) (*DescribeClusterOutput, error) { - req, out := c.DescribeClusterRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opDescribeFargateProfile = "DescribeFargateProfile" - -// DescribeFargateProfileRequest generates a "aws/request.Request" representing the -// client's request for the DescribeFargateProfile operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See DescribeFargateProfile for more information on using the DescribeFargateProfile -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the DescribeFargateProfileRequest method. -// req, resp := client.DescribeFargateProfileRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeFargateProfile -func (c *EKS) DescribeFargateProfileRequest(input *DescribeFargateProfileInput) (req *request.Request, output *DescribeFargateProfileOutput) { - op := &request.Operation{ - Name: opDescribeFargateProfile, - HTTPMethod: "GET", - HTTPPath: "/clusters/{name}/fargate-profiles/{fargateProfileName}", - } - - if input == nil { - input = &DescribeFargateProfileInput{} - } - - output = &DescribeFargateProfileOutput{} - req = c.newRequest(op, input, output) - return -} - -// DescribeFargateProfile API operation for Amazon Elastic Kubernetes Service. -// -// Returns descriptive information about an AWS Fargate profile. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation DescribeFargateProfile for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeFargateProfile -func (c *EKS) DescribeFargateProfile(input *DescribeFargateProfileInput) (*DescribeFargateProfileOutput, error) { - req, out := c.DescribeFargateProfileRequest(input) - return out, req.Send() -} - -// DescribeFargateProfileWithContext is the same as DescribeFargateProfile with the addition of -// the ability to pass a context and additional request options. -// -// See DescribeFargateProfile for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) DescribeFargateProfileWithContext(ctx aws.Context, input *DescribeFargateProfileInput, opts ...request.Option) (*DescribeFargateProfileOutput, error) { - req, out := c.DescribeFargateProfileRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opDescribeIdentityProviderConfig = "DescribeIdentityProviderConfig" - -// DescribeIdentityProviderConfigRequest generates a "aws/request.Request" representing the -// client's request for the DescribeIdentityProviderConfig operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See DescribeIdentityProviderConfig for more information on using the DescribeIdentityProviderConfig -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the DescribeIdentityProviderConfigRequest method. -// req, resp := client.DescribeIdentityProviderConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeIdentityProviderConfig -func (c *EKS) DescribeIdentityProviderConfigRequest(input *DescribeIdentityProviderConfigInput) (req *request.Request, output *DescribeIdentityProviderConfigOutput) { - op := &request.Operation{ - Name: opDescribeIdentityProviderConfig, - HTTPMethod: "POST", - HTTPPath: "/clusters/{name}/identity-provider-configs/describe", - } - - if input == nil { - input = &DescribeIdentityProviderConfigInput{} - } - - output = &DescribeIdentityProviderConfigOutput{} - req = c.newRequest(op, input, output) - return -} - -// DescribeIdentityProviderConfig API operation for Amazon Elastic Kubernetes Service. -// -// Returns descriptive information about an identity provider configuration. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation DescribeIdentityProviderConfig for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeIdentityProviderConfig -func (c *EKS) DescribeIdentityProviderConfig(input *DescribeIdentityProviderConfigInput) (*DescribeIdentityProviderConfigOutput, error) { - req, out := c.DescribeIdentityProviderConfigRequest(input) - return out, req.Send() -} - -// DescribeIdentityProviderConfigWithContext is the same as DescribeIdentityProviderConfig with the addition of -// the ability to pass a context and additional request options. -// -// See DescribeIdentityProviderConfig for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) DescribeIdentityProviderConfigWithContext(ctx aws.Context, input *DescribeIdentityProviderConfigInput, opts ...request.Option) (*DescribeIdentityProviderConfigOutput, error) { - req, out := c.DescribeIdentityProviderConfigRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opDescribeNodegroup = "DescribeNodegroup" - -// DescribeNodegroupRequest generates a "aws/request.Request" representing the -// client's request for the DescribeNodegroup operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See DescribeNodegroup for more information on using the DescribeNodegroup -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the DescribeNodegroupRequest method. -// req, resp := client.DescribeNodegroupRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeNodegroup -func (c *EKS) DescribeNodegroupRequest(input *DescribeNodegroupInput) (req *request.Request, output *DescribeNodegroupOutput) { - op := &request.Operation{ - Name: opDescribeNodegroup, - HTTPMethod: "GET", - HTTPPath: "/clusters/{name}/node-groups/{nodegroupName}", - } - - if input == nil { - input = &DescribeNodegroupInput{} - } - - output = &DescribeNodegroupOutput{} - req = c.newRequest(op, input, output) - return -} - -// DescribeNodegroup API operation for Amazon Elastic Kubernetes Service. -// -// Returns descriptive information about an Amazon EKS node group. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation DescribeNodegroup for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeNodegroup -func (c *EKS) DescribeNodegroup(input *DescribeNodegroupInput) (*DescribeNodegroupOutput, error) { - req, out := c.DescribeNodegroupRequest(input) - return out, req.Send() -} - -// DescribeNodegroupWithContext is the same as DescribeNodegroup with the addition of -// the ability to pass a context and additional request options. -// -// See DescribeNodegroup for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) DescribeNodegroupWithContext(ctx aws.Context, input *DescribeNodegroupInput, opts ...request.Option) (*DescribeNodegroupOutput, error) { - req, out := c.DescribeNodegroupRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opDescribeUpdate = "DescribeUpdate" - -// DescribeUpdateRequest generates a "aws/request.Request" representing the -// client's request for the DescribeUpdate operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See DescribeUpdate for more information on using the DescribeUpdate -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the DescribeUpdateRequest method. -// req, resp := client.DescribeUpdateRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeUpdate -func (c *EKS) DescribeUpdateRequest(input *DescribeUpdateInput) (req *request.Request, output *DescribeUpdateOutput) { - op := &request.Operation{ - Name: opDescribeUpdate, - HTTPMethod: "GET", - HTTPPath: "/clusters/{name}/updates/{updateId}", - } - - if input == nil { - input = &DescribeUpdateInput{} - } - - output = &DescribeUpdateOutput{} - req = c.newRequest(op, input, output) - return -} - -// DescribeUpdate API operation for Amazon Elastic Kubernetes Service. -// -// Returns descriptive information about an update against your Amazon EKS cluster -// or associated managed node group. -// -// When the status of the update is Succeeded, the update is complete. If an -// update fails, the status is Failed, and an error detail explains the reason -// for the failure. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation DescribeUpdate for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeUpdate -func (c *EKS) DescribeUpdate(input *DescribeUpdateInput) (*DescribeUpdateOutput, error) { - req, out := c.DescribeUpdateRequest(input) - return out, req.Send() -} - -// DescribeUpdateWithContext is the same as DescribeUpdate with the addition of -// the ability to pass a context and additional request options. -// -// See DescribeUpdate for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) DescribeUpdateWithContext(ctx aws.Context, input *DescribeUpdateInput, opts ...request.Option) (*DescribeUpdateOutput, error) { - req, out := c.DescribeUpdateRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opDisassociateIdentityProviderConfig = "DisassociateIdentityProviderConfig" - -// DisassociateIdentityProviderConfigRequest generates a "aws/request.Request" representing the -// client's request for the DisassociateIdentityProviderConfig operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See DisassociateIdentityProviderConfig for more information on using the DisassociateIdentityProviderConfig -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the DisassociateIdentityProviderConfigRequest method. -// req, resp := client.DisassociateIdentityProviderConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DisassociateIdentityProviderConfig -func (c *EKS) DisassociateIdentityProviderConfigRequest(input *DisassociateIdentityProviderConfigInput) (req *request.Request, output *DisassociateIdentityProviderConfigOutput) { - op := &request.Operation{ - Name: opDisassociateIdentityProviderConfig, - HTTPMethod: "POST", - HTTPPath: "/clusters/{name}/identity-provider-configs/disassociate", - } - - if input == nil { - input = &DisassociateIdentityProviderConfigInput{} - } - - output = &DisassociateIdentityProviderConfigOutput{} - req = c.newRequest(op, input, output) - return -} - -// DisassociateIdentityProviderConfig API operation for Amazon Elastic Kubernetes Service. -// -// Disassociates an identity provider configuration from a cluster. If you disassociate -// an identity provider from your cluster, users included in the provider can -// no longer access the cluster. However, you can still access the cluster with -// AWS IAM users. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation DisassociateIdentityProviderConfig for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ResourceInUseException -// The specified resource is in use. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DisassociateIdentityProviderConfig -func (c *EKS) DisassociateIdentityProviderConfig(input *DisassociateIdentityProviderConfigInput) (*DisassociateIdentityProviderConfigOutput, error) { - req, out := c.DisassociateIdentityProviderConfigRequest(input) - return out, req.Send() -} - -// DisassociateIdentityProviderConfigWithContext is the same as DisassociateIdentityProviderConfig with the addition of -// the ability to pass a context and additional request options. -// -// See DisassociateIdentityProviderConfig for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) DisassociateIdentityProviderConfigWithContext(ctx aws.Context, input *DisassociateIdentityProviderConfigInput, opts ...request.Option) (*DisassociateIdentityProviderConfigOutput, error) { - req, out := c.DisassociateIdentityProviderConfigRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opListAddons = "ListAddons" - -// ListAddonsRequest generates a "aws/request.Request" representing the -// client's request for the ListAddons operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See ListAddons for more information on using the ListAddons -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the ListAddonsRequest method. -// req, resp := client.ListAddonsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListAddons -func (c *EKS) ListAddonsRequest(input *ListAddonsInput) (req *request.Request, output *ListAddonsOutput) { - op := &request.Operation{ - Name: opListAddons, - HTTPMethod: "GET", - HTTPPath: "/clusters/{name}/addons", - Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "maxResults", - TruncationToken: "", - }, - } - - if input == nil { - input = &ListAddonsInput{} - } - - output = &ListAddonsOutput{} - req = c.newRequest(op, input, output) - return -} - -// ListAddons API operation for Amazon Elastic Kubernetes Service. -// -// Lists the available add-ons. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation ListAddons for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListAddons -func (c *EKS) ListAddons(input *ListAddonsInput) (*ListAddonsOutput, error) { - req, out := c.ListAddonsRequest(input) - return out, req.Send() -} - -// ListAddonsWithContext is the same as ListAddons with the addition of -// the ability to pass a context and additional request options. -// -// See ListAddons for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) ListAddonsWithContext(ctx aws.Context, input *ListAddonsInput, opts ...request.Option) (*ListAddonsOutput, error) { - req, out := c.ListAddonsRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -// ListAddonsPages iterates over the pages of a ListAddons operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See ListAddons method for more information on how to use this operation. -// -// Note: This operation can generate multiple requests to a service. -// -// // Example iterating over at most 3 pages of a ListAddons operation. -// pageNum := 0 -// err := client.ListAddonsPages(params, -// func(page *eks.ListAddonsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// -func (c *EKS) ListAddonsPages(input *ListAddonsInput, fn func(*ListAddonsOutput, bool) bool) error { - return c.ListAddonsPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// ListAddonsPagesWithContext same as ListAddonsPages except -// it takes a Context and allows setting request options on the pages. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) ListAddonsPagesWithContext(ctx aws.Context, input *ListAddonsInput, fn func(*ListAddonsOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *ListAddonsInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.ListAddonsRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*ListAddonsOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() -} - -const opListClusters = "ListClusters" - -// ListClustersRequest generates a "aws/request.Request" representing the -// client's request for the ListClusters operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See ListClusters for more information on using the ListClusters -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the ListClustersRequest method. -// req, resp := client.ListClustersRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListClusters -func (c *EKS) ListClustersRequest(input *ListClustersInput) (req *request.Request, output *ListClustersOutput) { - op := &request.Operation{ - Name: opListClusters, - HTTPMethod: "GET", - HTTPPath: "/clusters", - Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "maxResults", - TruncationToken: "", - }, - } - - if input == nil { - input = &ListClustersInput{} - } - - output = &ListClustersOutput{} - req = c.newRequest(op, input, output) - return -} - -// ListClusters API operation for Amazon Elastic Kubernetes Service. -// -// Lists the Amazon EKS clusters in your AWS account in the specified Region. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation ListClusters for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListClusters -func (c *EKS) ListClusters(input *ListClustersInput) (*ListClustersOutput, error) { - req, out := c.ListClustersRequest(input) - return out, req.Send() -} - -// ListClustersWithContext is the same as ListClusters with the addition of -// the ability to pass a context and additional request options. -// -// See ListClusters for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) ListClustersWithContext(ctx aws.Context, input *ListClustersInput, opts ...request.Option) (*ListClustersOutput, error) { - req, out := c.ListClustersRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -// ListClustersPages iterates over the pages of a ListClusters operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See ListClusters method for more information on how to use this operation. -// -// Note: This operation can generate multiple requests to a service. -// -// // Example iterating over at most 3 pages of a ListClusters operation. -// pageNum := 0 -// err := client.ListClustersPages(params, -// func(page *eks.ListClustersOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// -func (c *EKS) ListClustersPages(input *ListClustersInput, fn func(*ListClustersOutput, bool) bool) error { - return c.ListClustersPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// ListClustersPagesWithContext same as ListClustersPages except -// it takes a Context and allows setting request options on the pages. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) ListClustersPagesWithContext(ctx aws.Context, input *ListClustersInput, fn func(*ListClustersOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *ListClustersInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.ListClustersRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*ListClustersOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() -} - -const opListFargateProfiles = "ListFargateProfiles" - -// ListFargateProfilesRequest generates a "aws/request.Request" representing the -// client's request for the ListFargateProfiles operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See ListFargateProfiles for more information on using the ListFargateProfiles -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the ListFargateProfilesRequest method. -// req, resp := client.ListFargateProfilesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListFargateProfiles -func (c *EKS) ListFargateProfilesRequest(input *ListFargateProfilesInput) (req *request.Request, output *ListFargateProfilesOutput) { - op := &request.Operation{ - Name: opListFargateProfiles, - HTTPMethod: "GET", - HTTPPath: "/clusters/{name}/fargate-profiles", - Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "maxResults", - TruncationToken: "", - }, - } - - if input == nil { - input = &ListFargateProfilesInput{} - } - - output = &ListFargateProfilesOutput{} - req = c.newRequest(op, input, output) - return -} - -// ListFargateProfiles API operation for Amazon Elastic Kubernetes Service. -// -// Lists the AWS Fargate profiles associated with the specified cluster in your -// AWS account in the specified Region. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation ListFargateProfiles for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListFargateProfiles -func (c *EKS) ListFargateProfiles(input *ListFargateProfilesInput) (*ListFargateProfilesOutput, error) { - req, out := c.ListFargateProfilesRequest(input) - return out, req.Send() -} - -// ListFargateProfilesWithContext is the same as ListFargateProfiles with the addition of -// the ability to pass a context and additional request options. -// -// See ListFargateProfiles for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) ListFargateProfilesWithContext(ctx aws.Context, input *ListFargateProfilesInput, opts ...request.Option) (*ListFargateProfilesOutput, error) { - req, out := c.ListFargateProfilesRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -// ListFargateProfilesPages iterates over the pages of a ListFargateProfiles operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See ListFargateProfiles method for more information on how to use this operation. -// -// Note: This operation can generate multiple requests to a service. -// -// // Example iterating over at most 3 pages of a ListFargateProfiles operation. -// pageNum := 0 -// err := client.ListFargateProfilesPages(params, -// func(page *eks.ListFargateProfilesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// -func (c *EKS) ListFargateProfilesPages(input *ListFargateProfilesInput, fn func(*ListFargateProfilesOutput, bool) bool) error { - return c.ListFargateProfilesPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// ListFargateProfilesPagesWithContext same as ListFargateProfilesPages except -// it takes a Context and allows setting request options on the pages. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) ListFargateProfilesPagesWithContext(ctx aws.Context, input *ListFargateProfilesInput, fn func(*ListFargateProfilesOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *ListFargateProfilesInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.ListFargateProfilesRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*ListFargateProfilesOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() -} - -const opListIdentityProviderConfigs = "ListIdentityProviderConfigs" - -// ListIdentityProviderConfigsRequest generates a "aws/request.Request" representing the -// client's request for the ListIdentityProviderConfigs operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See ListIdentityProviderConfigs for more information on using the ListIdentityProviderConfigs -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the ListIdentityProviderConfigsRequest method. -// req, resp := client.ListIdentityProviderConfigsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListIdentityProviderConfigs -func (c *EKS) ListIdentityProviderConfigsRequest(input *ListIdentityProviderConfigsInput) (req *request.Request, output *ListIdentityProviderConfigsOutput) { - op := &request.Operation{ - Name: opListIdentityProviderConfigs, - HTTPMethod: "GET", - HTTPPath: "/clusters/{name}/identity-provider-configs", - Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "maxResults", - TruncationToken: "", - }, - } - - if input == nil { - input = &ListIdentityProviderConfigsInput{} - } - - output = &ListIdentityProviderConfigsOutput{} - req = c.newRequest(op, input, output) - return -} - -// ListIdentityProviderConfigs API operation for Amazon Elastic Kubernetes Service. -// -// A list of identity provider configurations. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation ListIdentityProviderConfigs for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListIdentityProviderConfigs -func (c *EKS) ListIdentityProviderConfigs(input *ListIdentityProviderConfigsInput) (*ListIdentityProviderConfigsOutput, error) { - req, out := c.ListIdentityProviderConfigsRequest(input) - return out, req.Send() -} - -// ListIdentityProviderConfigsWithContext is the same as ListIdentityProviderConfigs with the addition of -// the ability to pass a context and additional request options. -// -// See ListIdentityProviderConfigs for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) ListIdentityProviderConfigsWithContext(ctx aws.Context, input *ListIdentityProviderConfigsInput, opts ...request.Option) (*ListIdentityProviderConfigsOutput, error) { - req, out := c.ListIdentityProviderConfigsRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -// ListIdentityProviderConfigsPages iterates over the pages of a ListIdentityProviderConfigs operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See ListIdentityProviderConfigs method for more information on how to use this operation. -// -// Note: This operation can generate multiple requests to a service. -// -// // Example iterating over at most 3 pages of a ListIdentityProviderConfigs operation. -// pageNum := 0 -// err := client.ListIdentityProviderConfigsPages(params, -// func(page *eks.ListIdentityProviderConfigsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// -func (c *EKS) ListIdentityProviderConfigsPages(input *ListIdentityProviderConfigsInput, fn func(*ListIdentityProviderConfigsOutput, bool) bool) error { - return c.ListIdentityProviderConfigsPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// ListIdentityProviderConfigsPagesWithContext same as ListIdentityProviderConfigsPages except -// it takes a Context and allows setting request options on the pages. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) ListIdentityProviderConfigsPagesWithContext(ctx aws.Context, input *ListIdentityProviderConfigsInput, fn func(*ListIdentityProviderConfigsOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *ListIdentityProviderConfigsInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.ListIdentityProviderConfigsRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*ListIdentityProviderConfigsOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() -} - -const opListNodegroups = "ListNodegroups" - -// ListNodegroupsRequest generates a "aws/request.Request" representing the -// client's request for the ListNodegroups operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See ListNodegroups for more information on using the ListNodegroups -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the ListNodegroupsRequest method. -// req, resp := client.ListNodegroupsRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListNodegroups -func (c *EKS) ListNodegroupsRequest(input *ListNodegroupsInput) (req *request.Request, output *ListNodegroupsOutput) { - op := &request.Operation{ - Name: opListNodegroups, - HTTPMethod: "GET", - HTTPPath: "/clusters/{name}/node-groups", - Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "maxResults", - TruncationToken: "", - }, - } - - if input == nil { - input = &ListNodegroupsInput{} - } - - output = &ListNodegroupsOutput{} - req = c.newRequest(op, input, output) - return -} - -// ListNodegroups API operation for Amazon Elastic Kubernetes Service. -// -// Lists the Amazon EKS managed node groups associated with the specified cluster -// in your AWS account in the specified Region. Self-managed node groups are -// not listed. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation ListNodegroups for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ServiceUnavailableException -// The service is unavailable. Back off and retry the operation. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListNodegroups -func (c *EKS) ListNodegroups(input *ListNodegroupsInput) (*ListNodegroupsOutput, error) { - req, out := c.ListNodegroupsRequest(input) - return out, req.Send() -} - -// ListNodegroupsWithContext is the same as ListNodegroups with the addition of -// the ability to pass a context and additional request options. -// -// See ListNodegroups for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) ListNodegroupsWithContext(ctx aws.Context, input *ListNodegroupsInput, opts ...request.Option) (*ListNodegroupsOutput, error) { - req, out := c.ListNodegroupsRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -// ListNodegroupsPages iterates over the pages of a ListNodegroups operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See ListNodegroups method for more information on how to use this operation. -// -// Note: This operation can generate multiple requests to a service. -// -// // Example iterating over at most 3 pages of a ListNodegroups operation. -// pageNum := 0 -// err := client.ListNodegroupsPages(params, -// func(page *eks.ListNodegroupsOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// -func (c *EKS) ListNodegroupsPages(input *ListNodegroupsInput, fn func(*ListNodegroupsOutput, bool) bool) error { - return c.ListNodegroupsPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// ListNodegroupsPagesWithContext same as ListNodegroupsPages except -// it takes a Context and allows setting request options on the pages. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) ListNodegroupsPagesWithContext(ctx aws.Context, input *ListNodegroupsInput, fn func(*ListNodegroupsOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *ListNodegroupsInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.ListNodegroupsRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*ListNodegroupsOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() -} - -const opListTagsForResource = "ListTagsForResource" - -// ListTagsForResourceRequest generates a "aws/request.Request" representing the -// client's request for the ListTagsForResource operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See ListTagsForResource for more information on using the ListTagsForResource -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the ListTagsForResourceRequest method. -// req, resp := client.ListTagsForResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListTagsForResource -func (c *EKS) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { - op := &request.Operation{ - Name: opListTagsForResource, - HTTPMethod: "GET", - HTTPPath: "/tags/{resourceArn}", - } - - if input == nil { - input = &ListTagsForResourceInput{} - } - - output = &ListTagsForResourceOutput{} - req = c.newRequest(op, input, output) - return -} - -// ListTagsForResource API operation for Amazon Elastic Kubernetes Service. -// -// List the tags for an Amazon EKS resource. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation ListTagsForResource for usage and error information. -// -// Returned Error Types: -// * BadRequestException -// This exception is thrown if the request contains a semantic error. The precise -// meaning will depend on the API, and will be documented in the error message. -// -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListTagsForResource -func (c *EKS) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) - return out, req.Send() -} - -// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of -// the ability to pass a context and additional request options. -// -// See ListTagsForResource for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { - req, out := c.ListTagsForResourceRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opListUpdates = "ListUpdates" - -// ListUpdatesRequest generates a "aws/request.Request" representing the -// client's request for the ListUpdates operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See ListUpdates for more information on using the ListUpdates -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the ListUpdatesRequest method. -// req, resp := client.ListUpdatesRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListUpdates -func (c *EKS) ListUpdatesRequest(input *ListUpdatesInput) (req *request.Request, output *ListUpdatesOutput) { - op := &request.Operation{ - Name: opListUpdates, - HTTPMethod: "GET", - HTTPPath: "/clusters/{name}/updates", - Paginator: &request.Paginator{ - InputTokens: []string{"nextToken"}, - OutputTokens: []string{"nextToken"}, - LimitToken: "maxResults", - TruncationToken: "", - }, - } - - if input == nil { - input = &ListUpdatesInput{} - } - - output = &ListUpdatesOutput{} - req = c.newRequest(op, input, output) - return -} - -// ListUpdates API operation for Amazon Elastic Kubernetes Service. -// -// Lists the updates associated with an Amazon EKS cluster or managed node group -// in your AWS account, in the specified Region. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation ListUpdates for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListUpdates -func (c *EKS) ListUpdates(input *ListUpdatesInput) (*ListUpdatesOutput, error) { - req, out := c.ListUpdatesRequest(input) - return out, req.Send() -} - -// ListUpdatesWithContext is the same as ListUpdates with the addition of -// the ability to pass a context and additional request options. -// -// See ListUpdates for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) ListUpdatesWithContext(ctx aws.Context, input *ListUpdatesInput, opts ...request.Option) (*ListUpdatesOutput, error) { - req, out := c.ListUpdatesRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -// ListUpdatesPages iterates over the pages of a ListUpdates operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. -// -// See ListUpdates method for more information on how to use this operation. -// -// Note: This operation can generate multiple requests to a service. -// -// // Example iterating over at most 3 pages of a ListUpdates operation. -// pageNum := 0 -// err := client.ListUpdatesPages(params, -// func(page *eks.ListUpdatesOutput, lastPage bool) bool { -// pageNum++ -// fmt.Println(page) -// return pageNum <= 3 -// }) -// -func (c *EKS) ListUpdatesPages(input *ListUpdatesInput, fn func(*ListUpdatesOutput, bool) bool) error { - return c.ListUpdatesPagesWithContext(aws.BackgroundContext(), input, fn) -} - -// ListUpdatesPagesWithContext same as ListUpdatesPages except -// it takes a Context and allows setting request options on the pages. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) ListUpdatesPagesWithContext(ctx aws.Context, input *ListUpdatesInput, fn func(*ListUpdatesOutput, bool) bool, opts ...request.Option) error { - p := request.Pagination{ - NewRequest: func() (*request.Request, error) { - var inCpy *ListUpdatesInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.ListUpdatesRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - - for p.Next() { - if !fn(p.Page().(*ListUpdatesOutput), !p.HasNextPage()) { - break - } - } - - return p.Err() -} - -const opTagResource = "TagResource" - -// TagResourceRequest generates a "aws/request.Request" representing the -// client's request for the TagResource operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See TagResource for more information on using the TagResource -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/TagResource -func (c *EKS) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { - op := &request.Operation{ - Name: opTagResource, - HTTPMethod: "POST", - HTTPPath: "/tags/{resourceArn}", - } - - if input == nil { - input = &TagResourceInput{} - } - - output = &TagResourceOutput{} - req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) - return -} - -// TagResource API operation for Amazon Elastic Kubernetes Service. -// -// Associates the specified tags to a resource with the specified resourceArn. -// If existing tags on a resource are not specified in the request parameters, -// they are not changed. When a resource is deleted, the tags associated with -// that resource are deleted as well. Tags that you create for Amazon EKS resources -// do not propagate to any other resources associated with the cluster. For -// example, if you tag a cluster with this operation, that tag does not automatically -// propagate to the subnets and nodes associated with the cluster. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation TagResource for usage and error information. -// -// Returned Error Types: -// * BadRequestException -// This exception is thrown if the request contains a semantic error. The precise -// meaning will depend on the API, and will be documented in the error message. -// -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/TagResource -func (c *EKS) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) - return out, req.Send() -} - -// TagResourceWithContext is the same as TagResource with the addition of -// the ability to pass a context and additional request options. -// -// See TagResource for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opUntagResource = "UntagResource" - -// UntagResourceRequest generates a "aws/request.Request" representing the -// client's request for the UntagResource operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See UntagResource for more information on using the UntagResource -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UntagResource -func (c *EKS) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { - op := &request.Operation{ - Name: opUntagResource, - HTTPMethod: "DELETE", - HTTPPath: "/tags/{resourceArn}", - } - - if input == nil { - input = &UntagResourceInput{} - } - - output = &UntagResourceOutput{} - req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) - return -} - -// UntagResource API operation for Amazon Elastic Kubernetes Service. -// -// Deletes specified tags from a resource. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation UntagResource for usage and error information. -// -// Returned Error Types: -// * BadRequestException -// This exception is thrown if the request contains a semantic error. The precise -// meaning will depend on the API, and will be documented in the error message. -// -// * NotFoundException -// A service resource associated with the request could not be found. Clients -// should not retry such requests. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UntagResource -func (c *EKS) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) - return out, req.Send() -} - -// UntagResourceWithContext is the same as UntagResource with the addition of -// the ability to pass a context and additional request options. -// -// See UntagResource for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opUpdateAddon = "UpdateAddon" - -// UpdateAddonRequest generates a "aws/request.Request" representing the -// client's request for the UpdateAddon operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See UpdateAddon for more information on using the UpdateAddon -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the UpdateAddonRequest method. -// req, resp := client.UpdateAddonRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateAddon -func (c *EKS) UpdateAddonRequest(input *UpdateAddonInput) (req *request.Request, output *UpdateAddonOutput) { - op := &request.Operation{ - Name: opUpdateAddon, - HTTPMethod: "POST", - HTTPPath: "/clusters/{name}/addons/{addonName}/update", - } - - if input == nil { - input = &UpdateAddonInput{} - } - - output = &UpdateAddonOutput{} - req = c.newRequest(op, input, output) - return -} - -// UpdateAddon API operation for Amazon Elastic Kubernetes Service. -// -// Updates an Amazon EKS add-on. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation UpdateAddon for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * ResourceInUseException -// The specified resource is in use. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateAddon -func (c *EKS) UpdateAddon(input *UpdateAddonInput) (*UpdateAddonOutput, error) { - req, out := c.UpdateAddonRequest(input) - return out, req.Send() -} - -// UpdateAddonWithContext is the same as UpdateAddon with the addition of -// the ability to pass a context and additional request options. -// -// See UpdateAddon for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) UpdateAddonWithContext(ctx aws.Context, input *UpdateAddonInput, opts ...request.Option) (*UpdateAddonOutput, error) { - req, out := c.UpdateAddonRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opUpdateClusterConfig = "UpdateClusterConfig" - -// UpdateClusterConfigRequest generates a "aws/request.Request" representing the -// client's request for the UpdateClusterConfig operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See UpdateClusterConfig for more information on using the UpdateClusterConfig -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the UpdateClusterConfigRequest method. -// req, resp := client.UpdateClusterConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterConfig -func (c *EKS) UpdateClusterConfigRequest(input *UpdateClusterConfigInput) (req *request.Request, output *UpdateClusterConfigOutput) { - op := &request.Operation{ - Name: opUpdateClusterConfig, - HTTPMethod: "POST", - HTTPPath: "/clusters/{name}/update-config", - } - - if input == nil { - input = &UpdateClusterConfigInput{} - } - - output = &UpdateClusterConfigOutput{} - req = c.newRequest(op, input, output) - return -} - -// UpdateClusterConfig API operation for Amazon Elastic Kubernetes Service. -// -// Updates an Amazon EKS cluster configuration. Your cluster continues to function -// during the update. The response output includes an update ID that you can -// use to track the status of your cluster update with the DescribeUpdate API -// operation. -// -// You can use this API operation to enable or disable exporting the Kubernetes -// control plane logs for your cluster to CloudWatch Logs. By default, cluster -// control plane logs aren't exported to CloudWatch Logs. For more information, -// see Amazon EKS Cluster Control Plane Logs (https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html) -// in the Amazon EKS User Guide . -// -// CloudWatch Logs ingestion, archive storage, and data scanning rates apply -// to exported control plane logs. For more information, see Amazon CloudWatch -// Pricing (http://aws.amazon.com/cloudwatch/pricing/). -// -// You can also use this API operation to enable or disable public and private -// access to your cluster's Kubernetes API server endpoint. By default, public -// access is enabled, and private access is disabled. For more information, -// see Amazon EKS Cluster Endpoint Access Control (https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html) -// in the Amazon EKS User Guide . -// -// You can't update the subnets or security group IDs for an existing cluster. -// -// Cluster updates are asynchronous, and they should finish within a few minutes. -// During an update, the cluster status moves to UPDATING (this status transition -// is eventually consistent). When the update is complete (either Failed or -// Successful), the cluster status moves to Active. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation UpdateClusterConfig for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ResourceInUseException -// The specified resource is in use. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterConfig -func (c *EKS) UpdateClusterConfig(input *UpdateClusterConfigInput) (*UpdateClusterConfigOutput, error) { - req, out := c.UpdateClusterConfigRequest(input) - return out, req.Send() -} - -// UpdateClusterConfigWithContext is the same as UpdateClusterConfig with the addition of -// the ability to pass a context and additional request options. -// -// See UpdateClusterConfig for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) UpdateClusterConfigWithContext(ctx aws.Context, input *UpdateClusterConfigInput, opts ...request.Option) (*UpdateClusterConfigOutput, error) { - req, out := c.UpdateClusterConfigRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opUpdateClusterVersion = "UpdateClusterVersion" - -// UpdateClusterVersionRequest generates a "aws/request.Request" representing the -// client's request for the UpdateClusterVersion operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See UpdateClusterVersion for more information on using the UpdateClusterVersion -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the UpdateClusterVersionRequest method. -// req, resp := client.UpdateClusterVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterVersion -func (c *EKS) UpdateClusterVersionRequest(input *UpdateClusterVersionInput) (req *request.Request, output *UpdateClusterVersionOutput) { - op := &request.Operation{ - Name: opUpdateClusterVersion, - HTTPMethod: "POST", - HTTPPath: "/clusters/{name}/updates", - } - - if input == nil { - input = &UpdateClusterVersionInput{} - } - - output = &UpdateClusterVersionOutput{} - req = c.newRequest(op, input, output) - return -} - -// UpdateClusterVersion API operation for Amazon Elastic Kubernetes Service. -// -// Updates an Amazon EKS cluster to the specified Kubernetes version. Your cluster -// continues to function during the update. The response output includes an -// update ID that you can use to track the status of your cluster update with -// the DescribeUpdate API operation. -// -// Cluster updates are asynchronous, and they should finish within a few minutes. -// During an update, the cluster status moves to UPDATING (this status transition -// is eventually consistent). When the update is complete (either Failed or -// Successful), the cluster status moves to Active. -// -// If your cluster has managed node groups attached to it, all of your node -// groups’ Kubernetes versions must match the cluster’s Kubernetes version -// in order to update the cluster to a new Kubernetes version. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation UpdateClusterVersion for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ResourceInUseException -// The specified resource is in use. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterVersion -func (c *EKS) UpdateClusterVersion(input *UpdateClusterVersionInput) (*UpdateClusterVersionOutput, error) { - req, out := c.UpdateClusterVersionRequest(input) - return out, req.Send() -} - -// UpdateClusterVersionWithContext is the same as UpdateClusterVersion with the addition of -// the ability to pass a context and additional request options. -// -// See UpdateClusterVersion for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) UpdateClusterVersionWithContext(ctx aws.Context, input *UpdateClusterVersionInput, opts ...request.Option) (*UpdateClusterVersionOutput, error) { - req, out := c.UpdateClusterVersionRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opUpdateNodegroupConfig = "UpdateNodegroupConfig" - -// UpdateNodegroupConfigRequest generates a "aws/request.Request" representing the -// client's request for the UpdateNodegroupConfig operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See UpdateNodegroupConfig for more information on using the UpdateNodegroupConfig -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the UpdateNodegroupConfigRequest method. -// req, resp := client.UpdateNodegroupConfigRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateNodegroupConfig -func (c *EKS) UpdateNodegroupConfigRequest(input *UpdateNodegroupConfigInput) (req *request.Request, output *UpdateNodegroupConfigOutput) { - op := &request.Operation{ - Name: opUpdateNodegroupConfig, - HTTPMethod: "POST", - HTTPPath: "/clusters/{name}/node-groups/{nodegroupName}/update-config", - } - - if input == nil { - input = &UpdateNodegroupConfigInput{} - } - - output = &UpdateNodegroupConfigOutput{} - req = c.newRequest(op, input, output) - return -} - -// UpdateNodegroupConfig API operation for Amazon Elastic Kubernetes Service. -// -// Updates an Amazon EKS managed node group configuration. Your node group continues -// to function during the update. The response output includes an update ID -// that you can use to track the status of your node group update with the DescribeUpdate -// API operation. Currently you can update the Kubernetes labels for a node -// group or the scaling configuration. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation UpdateNodegroupConfig for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ResourceInUseException -// The specified resource is in use. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateNodegroupConfig -func (c *EKS) UpdateNodegroupConfig(input *UpdateNodegroupConfigInput) (*UpdateNodegroupConfigOutput, error) { - req, out := c.UpdateNodegroupConfigRequest(input) - return out, req.Send() -} - -// UpdateNodegroupConfigWithContext is the same as UpdateNodegroupConfig with the addition of -// the ability to pass a context and additional request options. -// -// See UpdateNodegroupConfig for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) UpdateNodegroupConfigWithContext(ctx aws.Context, input *UpdateNodegroupConfigInput, opts ...request.Option) (*UpdateNodegroupConfigOutput, error) { - req, out := c.UpdateNodegroupConfigRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -const opUpdateNodegroupVersion = "UpdateNodegroupVersion" - -// UpdateNodegroupVersionRequest generates a "aws/request.Request" representing the -// client's request for the UpdateNodegroupVersion operation. The "output" return -// value will be populated with the request's response once the request completes -// successfully. -// -// Use "Send" method on the returned Request to send the API call to the service. -// the "output" return value is not valid until after Send returns without error. -// -// See UpdateNodegroupVersion for more information on using the UpdateNodegroupVersion -// API call, and error handling. -// -// This method is useful when you want to inject custom logic or configuration -// into the SDK's request lifecycle. Such as custom headers, or retry logic. -// -// -// // Example sending a request using the UpdateNodegroupVersionRequest method. -// req, resp := client.UpdateNodegroupVersionRequest(params) -// -// err := req.Send() -// if err == nil { // resp is now filled -// fmt.Println(resp) -// } -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateNodegroupVersion -func (c *EKS) UpdateNodegroupVersionRequest(input *UpdateNodegroupVersionInput) (req *request.Request, output *UpdateNodegroupVersionOutput) { - op := &request.Operation{ - Name: opUpdateNodegroupVersion, - HTTPMethod: "POST", - HTTPPath: "/clusters/{name}/node-groups/{nodegroupName}/update-version", - } - - if input == nil { - input = &UpdateNodegroupVersionInput{} - } - - output = &UpdateNodegroupVersionOutput{} - req = c.newRequest(op, input, output) - return -} - -// UpdateNodegroupVersion API operation for Amazon Elastic Kubernetes Service. -// -// Updates the Kubernetes version or AMI version of an Amazon EKS managed node -// group. -// -// You can update a node group using a launch template only if the node group -// was originally deployed with a launch template. If you need to update a custom -// AMI in a node group that was deployed with a launch template, then update -// your custom AMI, specify the new ID in a new version of the launch template, -// and then update the node group to the new version of the launch template. -// -// If you update without a launch template, then you can update to the latest -// available AMI version of a node group's current Kubernetes version by not -// specifying a Kubernetes version in the request. You can update to the latest -// AMI version of your cluster's current Kubernetes version by specifying your -// cluster's Kubernetes version in the request. For more information, see Amazon -// EKS optimized Amazon Linux 2 AMI versions (https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html) -// in the Amazon EKS User Guide. -// -// You cannot roll back a node group to an earlier Kubernetes version or AMI -// version. -// -// When a node in a managed node group is terminated due to a scaling action -// or update, the pods in that node are drained first. Amazon EKS attempts to -// drain the nodes gracefully and will fail if it is unable to do so. You can -// force the update if Amazon EKS is unable to drain the nodes as a result of -// a pod disruption budget issue. -// -// Returns awserr.Error for service API and SDK errors. Use runtime type assertions -// with awserr.Error's Code and Message methods to get detailed information about -// the error. -// -// See the AWS API reference guide for Amazon Elastic Kubernetes Service's -// API operation UpdateNodegroupVersion for usage and error information. -// -// Returned Error Types: -// * InvalidParameterException -// The specified parameter is invalid. Review the available parameters for the -// API request. -// -// * ClientException -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -// -// * ServerException -// These errors are usually caused by a server-side issue. -// -// * ResourceInUseException -// The specified resource is in use. -// -// * ResourceNotFoundException -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -// -// * InvalidRequestException -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. -// -// See also, https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateNodegroupVersion -func (c *EKS) UpdateNodegroupVersion(input *UpdateNodegroupVersionInput) (*UpdateNodegroupVersionOutput, error) { - req, out := c.UpdateNodegroupVersionRequest(input) - return out, req.Send() -} - -// UpdateNodegroupVersionWithContext is the same as UpdateNodegroupVersion with the addition of -// the ability to pass a context and additional request options. -// -// See UpdateNodegroupVersion for details on how to use this API operation. -// -// The context must be non-nil and will be used for request cancellation. If -// the context is nil a panic will occur. In the future the SDK may create -// sub-contexts for http.Requests. See https://golang.org/pkg/context/ -// for more information on using Contexts. -func (c *EKS) UpdateNodegroupVersionWithContext(ctx aws.Context, input *UpdateNodegroupVersionInput, opts ...request.Option) (*UpdateNodegroupVersionOutput, error) { - req, out := c.UpdateNodegroupVersionRequest(input) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return out, req.Send() -} - -// An Amazon EKS add-on. -type Addon struct { - _ struct{} `type:"structure"` - - // The Amazon Resource Name (ARN) of the add-on. - AddonArn *string `locationName:"addonArn" type:"string"` - - // The name of the add-on. - AddonName *string `locationName:"addonName" type:"string"` - - // The version of the add-on. - AddonVersion *string `locationName:"addonVersion" type:"string"` - - // The name of the cluster. - ClusterName *string `locationName:"clusterName" min:"1" type:"string"` - - // The date and time that the add-on was created. - CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` - - // An object that represents the health of the add-on. - Health *AddonHealth `locationName:"health" type:"structure"` - - // The date and time that the add-on was last modified. - ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp"` - - // The Amazon Resource Name (ARN) of the IAM role that is bound to the Kubernetes - // service account used by the add-on. - ServiceAccountRoleArn *string `locationName:"serviceAccountRoleArn" type:"string"` - - // The status of the add-on. - Status *string `locationName:"status" type:"string" enum:"AddonStatus"` - - // The metadata that you apply to the add-on to assist with categorization and - // organization. Each tag consists of a key and an optional value, both of which - // you define. Add-on tags do not propagate to any other resources associated - // with the cluster. - Tags map[string]*string `locationName:"tags" min:"1" type:"map"` -} - -// String returns the string representation -func (s Addon) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s Addon) GoString() string { - return s.String() -} - -// SetAddonArn sets the AddonArn field's value. -func (s *Addon) SetAddonArn(v string) *Addon { - s.AddonArn = &v - return s -} - -// SetAddonName sets the AddonName field's value. -func (s *Addon) SetAddonName(v string) *Addon { - s.AddonName = &v - return s -} - -// SetAddonVersion sets the AddonVersion field's value. -func (s *Addon) SetAddonVersion(v string) *Addon { - s.AddonVersion = &v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *Addon) SetClusterName(v string) *Addon { - s.ClusterName = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Addon) SetCreatedAt(v time.Time) *Addon { - s.CreatedAt = &v - return s -} - -// SetHealth sets the Health field's value. -func (s *Addon) SetHealth(v *AddonHealth) *Addon { - s.Health = v - return s -} - -// SetModifiedAt sets the ModifiedAt field's value. -func (s *Addon) SetModifiedAt(v time.Time) *Addon { - s.ModifiedAt = &v - return s -} - -// SetServiceAccountRoleArn sets the ServiceAccountRoleArn field's value. -func (s *Addon) SetServiceAccountRoleArn(v string) *Addon { - s.ServiceAccountRoleArn = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Addon) SetStatus(v string) *Addon { - s.Status = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *Addon) SetTags(v map[string]*string) *Addon { - s.Tags = v - return s -} - -// The health of the add-on. -type AddonHealth struct { - _ struct{} `type:"structure"` - - // An object that represents the add-on's health issues. - Issues []*AddonIssue `locationName:"issues" type:"list"` -} - -// String returns the string representation -func (s AddonHealth) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s AddonHealth) GoString() string { - return s.String() -} - -// SetIssues sets the Issues field's value. -func (s *AddonHealth) SetIssues(v []*AddonIssue) *AddonHealth { - s.Issues = v - return s -} - -// Information about an add-on. -type AddonInfo struct { - _ struct{} `type:"structure"` - - // The name of the add-on. - AddonName *string `locationName:"addonName" type:"string"` - - // An object that represents information about available add-on versions and - // compatible Kubernetes versions. - AddonVersions []*AddonVersionInfo `locationName:"addonVersions" type:"list"` - - // The type of the add-on. - Type *string `locationName:"type" type:"string"` -} - -// String returns the string representation -func (s AddonInfo) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s AddonInfo) GoString() string { - return s.String() -} - -// SetAddonName sets the AddonName field's value. -func (s *AddonInfo) SetAddonName(v string) *AddonInfo { - s.AddonName = &v - return s -} - -// SetAddonVersions sets the AddonVersions field's value. -func (s *AddonInfo) SetAddonVersions(v []*AddonVersionInfo) *AddonInfo { - s.AddonVersions = v - return s -} - -// SetType sets the Type field's value. -func (s *AddonInfo) SetType(v string) *AddonInfo { - s.Type = &v - return s -} - -// An issue related to an add-on. -type AddonIssue struct { - _ struct{} `type:"structure"` - - // A code that describes the type of issue. - Code *string `locationName:"code" type:"string" enum:"AddonIssueCode"` - - // A message that provides details about the issue and what might cause it. - Message *string `locationName:"message" type:"string"` - - // The resource IDs of the issue. - ResourceIds []*string `locationName:"resourceIds" type:"list"` -} - -// String returns the string representation -func (s AddonIssue) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s AddonIssue) GoString() string { - return s.String() -} - -// SetCode sets the Code field's value. -func (s *AddonIssue) SetCode(v string) *AddonIssue { - s.Code = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *AddonIssue) SetMessage(v string) *AddonIssue { - s.Message = &v - return s -} - -// SetResourceIds sets the ResourceIds field's value. -func (s *AddonIssue) SetResourceIds(v []*string) *AddonIssue { - s.ResourceIds = v - return s -} - -// Information about an add-on version. -type AddonVersionInfo struct { - _ struct{} `type:"structure"` - - // The version of the add-on. - AddonVersion *string `locationName:"addonVersion" type:"string"` - - // The architectures that the version supports. - Architecture []*string `locationName:"architecture" type:"list"` - - // An object that represents the compatibilities of a version. - Compatibilities []*Compatibility `locationName:"compatibilities" type:"list"` -} - -// String returns the string representation -func (s AddonVersionInfo) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s AddonVersionInfo) GoString() string { - return s.String() -} - -// SetAddonVersion sets the AddonVersion field's value. -func (s *AddonVersionInfo) SetAddonVersion(v string) *AddonVersionInfo { - s.AddonVersion = &v - return s -} - -// SetArchitecture sets the Architecture field's value. -func (s *AddonVersionInfo) SetArchitecture(v []*string) *AddonVersionInfo { - s.Architecture = v - return s -} - -// SetCompatibilities sets the Compatibilities field's value. -func (s *AddonVersionInfo) SetCompatibilities(v []*Compatibility) *AddonVersionInfo { - s.Compatibilities = v - return s -} - -type AssociateEncryptionConfigInput struct { - _ struct{} `type:"structure"` - - // The client request token you are using with the encryption configuration. - ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` - - // The name of the cluster that you are associating with encryption configuration. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // The configuration you are using for encryption. - // - // EncryptionConfig is a required field - EncryptionConfig []*EncryptionConfig `locationName:"encryptionConfig" type:"list" required:"true"` -} - -// String returns the string representation -func (s AssociateEncryptionConfigInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s AssociateEncryptionConfigInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *AssociateEncryptionConfigInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AssociateEncryptionConfigInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.EncryptionConfig == nil { - invalidParams.Add(request.NewErrParamRequired("EncryptionConfig")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *AssociateEncryptionConfigInput) SetClientRequestToken(v string) *AssociateEncryptionConfigInput { - s.ClientRequestToken = &v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *AssociateEncryptionConfigInput) SetClusterName(v string) *AssociateEncryptionConfigInput { - s.ClusterName = &v - return s -} - -// SetEncryptionConfig sets the EncryptionConfig field's value. -func (s *AssociateEncryptionConfigInput) SetEncryptionConfig(v []*EncryptionConfig) *AssociateEncryptionConfigInput { - s.EncryptionConfig = v - return s -} - -type AssociateEncryptionConfigOutput struct { - _ struct{} `type:"structure"` - - // An object representing an asynchronous update. - Update *Update `locationName:"update" type:"structure"` -} - -// String returns the string representation -func (s AssociateEncryptionConfigOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s AssociateEncryptionConfigOutput) GoString() string { - return s.String() -} - -// SetUpdate sets the Update field's value. -func (s *AssociateEncryptionConfigOutput) SetUpdate(v *Update) *AssociateEncryptionConfigOutput { - s.Update = v - return s -} - -type AssociateIdentityProviderConfigInput struct { - _ struct{} `type:"structure"` - - // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. - ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` - - // The name of the cluster to associate the configuration to. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // An object that represents an OpenID Connect (OIDC) identity provider configuration. - // - // Oidc is a required field - Oidc *OidcIdentityProviderConfigRequest `locationName:"oidc" type:"structure" required:"true"` - - // The metadata to apply to the configuration to assist with categorization - // and organization. Each tag consists of a key and an optional value, both - // of which you define. - Tags map[string]*string `locationName:"tags" min:"1" type:"map"` -} - -// String returns the string representation -func (s AssociateIdentityProviderConfigInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s AssociateIdentityProviderConfigInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *AssociateIdentityProviderConfigInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AssociateIdentityProviderConfigInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.Oidc == nil { - invalidParams.Add(request.NewErrParamRequired("Oidc")) - } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) - } - if s.Oidc != nil { - if err := s.Oidc.Validate(); err != nil { - invalidParams.AddNested("Oidc", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *AssociateIdentityProviderConfigInput) SetClientRequestToken(v string) *AssociateIdentityProviderConfigInput { - s.ClientRequestToken = &v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *AssociateIdentityProviderConfigInput) SetClusterName(v string) *AssociateIdentityProviderConfigInput { - s.ClusterName = &v - return s -} - -// SetOidc sets the Oidc field's value. -func (s *AssociateIdentityProviderConfigInput) SetOidc(v *OidcIdentityProviderConfigRequest) *AssociateIdentityProviderConfigInput { - s.Oidc = v - return s -} - -// SetTags sets the Tags field's value. -func (s *AssociateIdentityProviderConfigInput) SetTags(v map[string]*string) *AssociateIdentityProviderConfigInput { - s.Tags = v - return s -} - -type AssociateIdentityProviderConfigOutput struct { - _ struct{} `type:"structure"` - - // The tags for the resource. - Tags map[string]*string `locationName:"tags" min:"1" type:"map"` - - // An object representing an asynchronous update. - Update *Update `locationName:"update" type:"structure"` -} - -// String returns the string representation -func (s AssociateIdentityProviderConfigOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s AssociateIdentityProviderConfigOutput) GoString() string { - return s.String() -} - -// SetTags sets the Tags field's value. -func (s *AssociateIdentityProviderConfigOutput) SetTags(v map[string]*string) *AssociateIdentityProviderConfigOutput { - s.Tags = v - return s -} - -// SetUpdate sets the Update field's value. -func (s *AssociateIdentityProviderConfigOutput) SetUpdate(v *Update) *AssociateIdentityProviderConfigOutput { - s.Update = v - return s -} - -// An Auto Scaling group that is associated with an Amazon EKS managed node -// group. -type AutoScalingGroup struct { - _ struct{} `type:"structure"` - - // The name of the Auto Scaling group associated with an Amazon EKS managed - // node group. - Name *string `locationName:"name" type:"string"` -} - -// String returns the string representation -func (s AutoScalingGroup) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s AutoScalingGroup) GoString() string { - return s.String() -} - -// SetName sets the Name field's value. -func (s *AutoScalingGroup) SetName(v string) *AutoScalingGroup { - s.Name = &v - return s -} - -// This exception is thrown if the request contains a semantic error. The precise -// meaning will depend on the API, and will be documented in the error message. -type BadRequestException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Message_ *string `locationName:"message" type:"string"` -} - -// String returns the string representation -func (s BadRequestException) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s BadRequestException) GoString() string { - return s.String() -} - -func newErrorBadRequestException(v protocol.ResponseMetadata) error { - return &BadRequestException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *BadRequestException) Code() string { - return "BadRequestException" -} - -// Message returns the exception's message. -func (s *BadRequestException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *BadRequestException) OrigErr() error { - return nil -} - -func (s *BadRequestException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *BadRequestException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *BadRequestException) RequestID() string { - return s.RespMetadata.RequestID -} - -// An object representing the certificate-authority-data for your cluster. -type Certificate struct { - _ struct{} `type:"structure"` - - // The Base64-encoded certificate data required to communicate with your cluster. - // Add this to the certificate-authority-data section of the kubeconfig file - // for your cluster. - Data *string `locationName:"data" type:"string"` -} - -// String returns the string representation -func (s Certificate) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s Certificate) GoString() string { - return s.String() -} - -// SetData sets the Data field's value. -func (s *Certificate) SetData(v string) *Certificate { - s.Data = &v - return s -} - -// These errors are usually caused by a client action. Actions can include using -// an action or resource on behalf of a user that doesn't have permissions to -// use the action or resource or specifying an identifier that is not valid. -type ClientException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - AddonName *string `locationName:"addonName" type:"string"` - - // The Amazon EKS cluster associated with the exception. - ClusterName *string `locationName:"clusterName" type:"string"` - - Message_ *string `locationName:"message" type:"string"` - - // The Amazon EKS managed node group associated with the exception. - NodegroupName *string `locationName:"nodegroupName" type:"string"` -} - -// String returns the string representation -func (s ClientException) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ClientException) GoString() string { - return s.String() -} - -func newErrorClientException(v protocol.ResponseMetadata) error { - return &ClientException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *ClientException) Code() string { - return "ClientException" -} - -// Message returns the exception's message. -func (s *ClientException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ClientException) OrigErr() error { - return nil -} - -func (s *ClientException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *ClientException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *ClientException) RequestID() string { - return s.RespMetadata.RequestID -} - -// An object representing an Amazon EKS cluster. -type Cluster struct { - _ struct{} `type:"structure"` - - // The Amazon Resource Name (ARN) of the cluster. - Arn *string `locationName:"arn" type:"string"` - - // The certificate-authority-data for your cluster. - CertificateAuthority *Certificate `locationName:"certificateAuthority" type:"structure"` - - // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. - ClientRequestToken *string `locationName:"clientRequestToken" type:"string"` - - // The Unix epoch timestamp in seconds for when the cluster was created. - CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` - - // The encryption configuration for the cluster. - EncryptionConfig []*EncryptionConfig `locationName:"encryptionConfig" type:"list"` - - // The endpoint for your Kubernetes API server. - Endpoint *string `locationName:"endpoint" type:"string"` - - // The identity provider information for the cluster. - Identity *Identity `locationName:"identity" type:"structure"` - - // The Kubernetes network configuration for the cluster. - KubernetesNetworkConfig *KubernetesNetworkConfigResponse `locationName:"kubernetesNetworkConfig" type:"structure"` - - // The logging configuration for your cluster. - Logging *Logging `locationName:"logging" type:"structure"` - - // The name of the cluster. - Name *string `locationName:"name" type:"string"` - - // The platform version of your Amazon EKS cluster. For more information, see - // Platform Versions (https://docs.aws.amazon.com/eks/latest/userguide/platform-versions.html) - // in the Amazon EKS User Guide . - PlatformVersion *string `locationName:"platformVersion" type:"string"` - - // The VPC configuration used by the cluster control plane. Amazon EKS VPC resources - // have specific requirements to work properly with Kubernetes. For more information, - // see Cluster VPC Considerations (https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html) - // and Cluster Security Group Considerations (https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html) - // in the Amazon EKS User Guide. - ResourcesVpcConfig *VpcConfigResponse `locationName:"resourcesVpcConfig" type:"structure"` - - // The Amazon Resource Name (ARN) of the IAM role that provides permissions - // for the Kubernetes control plane to make calls to AWS API operations on your - // behalf. - RoleArn *string `locationName:"roleArn" type:"string"` - - // The current status of the cluster. - Status *string `locationName:"status" type:"string" enum:"ClusterStatus"` - - // The metadata that you apply to the cluster to assist with categorization - // and organization. Each tag consists of a key and an optional value, both - // of which you define. Cluster tags do not propagate to any other resources - // associated with the cluster. - Tags map[string]*string `locationName:"tags" min:"1" type:"map"` - - // The Kubernetes server version for the cluster. - Version *string `locationName:"version" type:"string"` -} - -// String returns the string representation -func (s Cluster) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s Cluster) GoString() string { - return s.String() -} - -// SetArn sets the Arn field's value. -func (s *Cluster) SetArn(v string) *Cluster { - s.Arn = &v - return s -} - -// SetCertificateAuthority sets the CertificateAuthority field's value. -func (s *Cluster) SetCertificateAuthority(v *Certificate) *Cluster { - s.CertificateAuthority = v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *Cluster) SetClientRequestToken(v string) *Cluster { - s.ClientRequestToken = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Cluster) SetCreatedAt(v time.Time) *Cluster { - s.CreatedAt = &v - return s -} - -// SetEncryptionConfig sets the EncryptionConfig field's value. -func (s *Cluster) SetEncryptionConfig(v []*EncryptionConfig) *Cluster { - s.EncryptionConfig = v - return s -} - -// SetEndpoint sets the Endpoint field's value. -func (s *Cluster) SetEndpoint(v string) *Cluster { - s.Endpoint = &v - return s -} - -// SetIdentity sets the Identity field's value. -func (s *Cluster) SetIdentity(v *Identity) *Cluster { - s.Identity = v - return s -} - -// SetKubernetesNetworkConfig sets the KubernetesNetworkConfig field's value. -func (s *Cluster) SetKubernetesNetworkConfig(v *KubernetesNetworkConfigResponse) *Cluster { - s.KubernetesNetworkConfig = v - return s -} - -// SetLogging sets the Logging field's value. -func (s *Cluster) SetLogging(v *Logging) *Cluster { - s.Logging = v - return s -} - -// SetName sets the Name field's value. -func (s *Cluster) SetName(v string) *Cluster { - s.Name = &v - return s -} - -// SetPlatformVersion sets the PlatformVersion field's value. -func (s *Cluster) SetPlatformVersion(v string) *Cluster { - s.PlatformVersion = &v - return s -} - -// SetResourcesVpcConfig sets the ResourcesVpcConfig field's value. -func (s *Cluster) SetResourcesVpcConfig(v *VpcConfigResponse) *Cluster { - s.ResourcesVpcConfig = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *Cluster) SetRoleArn(v string) *Cluster { - s.RoleArn = &v - return s -} - -// SetStatus sets the Status field's value. -func (s *Cluster) SetStatus(v string) *Cluster { - s.Status = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *Cluster) SetTags(v map[string]*string) *Cluster { - s.Tags = v - return s -} - -// SetVersion sets the Version field's value. -func (s *Cluster) SetVersion(v string) *Cluster { - s.Version = &v - return s -} - -// Compatibility information. -type Compatibility struct { - _ struct{} `type:"structure"` - - // The supported Kubernetes version of the cluster. - ClusterVersion *string `locationName:"clusterVersion" type:"string"` - - // The supported default version. - DefaultVersion *bool `locationName:"defaultVersion" type:"boolean"` - - // The supported compute platform. - PlatformVersions []*string `locationName:"platformVersions" type:"list"` -} - -// String returns the string representation -func (s Compatibility) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s Compatibility) GoString() string { - return s.String() -} - -// SetClusterVersion sets the ClusterVersion field's value. -func (s *Compatibility) SetClusterVersion(v string) *Compatibility { - s.ClusterVersion = &v - return s -} - -// SetDefaultVersion sets the DefaultVersion field's value. -func (s *Compatibility) SetDefaultVersion(v bool) *Compatibility { - s.DefaultVersion = &v - return s -} - -// SetPlatformVersions sets the PlatformVersions field's value. -func (s *Compatibility) SetPlatformVersions(v []*string) *Compatibility { - s.PlatformVersions = v - return s -} - -type CreateAddonInput struct { - _ struct{} `type:"structure"` - - // The name of the add-on. The name must match one of the names returned by - // ListAddons (https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html). - // - // AddonName is a required field - AddonName *string `locationName:"addonName" type:"string" required:"true"` - - // The version of the add-on. The version must match one of the versions returned - // by DescribeAddonVersions (https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html). - AddonVersion *string `locationName:"addonVersion" type:"string"` - - // A unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. - ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` - - // The name of the cluster to create the add-on for. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` - - // How to resolve parameter value conflicts when migrating an existing add-on - // to an Amazon EKS add-on. - ResolveConflicts *string `locationName:"resolveConflicts" type:"string" enum:"ResolveConflicts"` - - // The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's - // service account. The role must be assigned the IAM permissions required by - // the add-on. If you don't specify an existing IAM role, then the add-on uses - // the permissions assigned to the node IAM role. For more information, see - // Amazon EKS node IAM role (https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html) - // in the Amazon EKS User Guide. - // - // To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) - // provider created for your cluster. For more information, see Enabling IAM - // roles for service accounts on your cluster (https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html) - // in the Amazon EKS User Guide. - ServiceAccountRoleArn *string `locationName:"serviceAccountRoleArn" min:"1" type:"string"` - - // The metadata to apply to the cluster to assist with categorization and organization. - // Each tag consists of a key and an optional value, both of which you define. - Tags map[string]*string `locationName:"tags" min:"1" type:"map"` -} - -// String returns the string representation -func (s CreateAddonInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s CreateAddonInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *CreateAddonInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateAddonInput"} - if s.AddonName == nil { - invalidParams.Add(request.NewErrParamRequired("AddonName")) - } - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.ServiceAccountRoleArn != nil && len(*s.ServiceAccountRoleArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ServiceAccountRoleArn", 1)) - } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAddonName sets the AddonName field's value. -func (s *CreateAddonInput) SetAddonName(v string) *CreateAddonInput { - s.AddonName = &v - return s -} - -// SetAddonVersion sets the AddonVersion field's value. -func (s *CreateAddonInput) SetAddonVersion(v string) *CreateAddonInput { - s.AddonVersion = &v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreateAddonInput) SetClientRequestToken(v string) *CreateAddonInput { - s.ClientRequestToken = &v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *CreateAddonInput) SetClusterName(v string) *CreateAddonInput { - s.ClusterName = &v - return s -} - -// SetResolveConflicts sets the ResolveConflicts field's value. -func (s *CreateAddonInput) SetResolveConflicts(v string) *CreateAddonInput { - s.ResolveConflicts = &v - return s -} - -// SetServiceAccountRoleArn sets the ServiceAccountRoleArn field's value. -func (s *CreateAddonInput) SetServiceAccountRoleArn(v string) *CreateAddonInput { - s.ServiceAccountRoleArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateAddonInput) SetTags(v map[string]*string) *CreateAddonInput { - s.Tags = v - return s -} - -type CreateAddonOutput struct { - _ struct{} `type:"structure"` - - // An Amazon EKS add-on. - Addon *Addon `locationName:"addon" type:"structure"` -} - -// String returns the string representation -func (s CreateAddonOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s CreateAddonOutput) GoString() string { - return s.String() -} - -// SetAddon sets the Addon field's value. -func (s *CreateAddonOutput) SetAddon(v *Addon) *CreateAddonOutput { - s.Addon = v - return s -} - -type CreateClusterInput struct { - _ struct{} `type:"structure"` - - // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. - ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` - - // The encryption configuration for the cluster. - EncryptionConfig []*EncryptionConfig `locationName:"encryptionConfig" type:"list"` - - // The Kubernetes network configuration for the cluster. - KubernetesNetworkConfig *KubernetesNetworkConfigRequest `locationName:"kubernetesNetworkConfig" type:"structure"` - - // Enable or disable exporting the Kubernetes control plane logs for your cluster - // to CloudWatch Logs. By default, cluster control plane logs aren't exported - // to CloudWatch Logs. For more information, see Amazon EKS Cluster Control - // Plane Logs (https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html) - // in the Amazon EKS User Guide . - // - // CloudWatch Logs ingestion, archive storage, and data scanning rates apply - // to exported control plane logs. For more information, see Amazon CloudWatch - // Pricing (http://aws.amazon.com/cloudwatch/pricing/). - Logging *Logging `locationName:"logging" type:"structure"` - - // The unique name to give to your cluster. - // - // Name is a required field - Name *string `locationName:"name" min:"1" type:"string" required:"true"` - - // The VPC configuration used by the cluster control plane. Amazon EKS VPC resources - // have specific requirements to work properly with Kubernetes. For more information, - // see Cluster VPC Considerations (https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html) - // and Cluster Security Group Considerations (https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html) - // in the Amazon EKS User Guide. You must specify at least two subnets. You - // can specify up to five security groups, but we recommend that you use a dedicated - // security group for your cluster control plane. - // - // ResourcesVpcConfig is a required field - ResourcesVpcConfig *VpcConfigRequest `locationName:"resourcesVpcConfig" type:"structure" required:"true"` - - // The Amazon Resource Name (ARN) of the IAM role that provides permissions - // for the Kubernetes control plane to make calls to AWS API operations on your - // behalf. For more information, see Amazon EKS Service IAM Role (https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html) - // in the Amazon EKS User Guide . - // - // RoleArn is a required field - RoleArn *string `locationName:"roleArn" type:"string" required:"true"` - - // The metadata to apply to the cluster to assist with categorization and organization. - // Each tag consists of a key and an optional value, both of which you define. - Tags map[string]*string `locationName:"tags" min:"1" type:"map"` - - // The desired Kubernetes version for your cluster. If you don't specify a value - // here, the latest version available in Amazon EKS is used. - Version *string `locationName:"version" type:"string"` -} - -// String returns the string representation -func (s CreateClusterInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s CreateClusterInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *CreateClusterInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateClusterInput"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - if s.ResourcesVpcConfig == nil { - invalidParams.Add(request.NewErrParamRequired("ResourcesVpcConfig")) - } - if s.RoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("RoleArn")) - } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreateClusterInput) SetClientRequestToken(v string) *CreateClusterInput { - s.ClientRequestToken = &v - return s -} - -// SetEncryptionConfig sets the EncryptionConfig field's value. -func (s *CreateClusterInput) SetEncryptionConfig(v []*EncryptionConfig) *CreateClusterInput { - s.EncryptionConfig = v - return s -} - -// SetKubernetesNetworkConfig sets the KubernetesNetworkConfig field's value. -func (s *CreateClusterInput) SetKubernetesNetworkConfig(v *KubernetesNetworkConfigRequest) *CreateClusterInput { - s.KubernetesNetworkConfig = v - return s -} - -// SetLogging sets the Logging field's value. -func (s *CreateClusterInput) SetLogging(v *Logging) *CreateClusterInput { - s.Logging = v - return s -} - -// SetName sets the Name field's value. -func (s *CreateClusterInput) SetName(v string) *CreateClusterInput { - s.Name = &v - return s -} - -// SetResourcesVpcConfig sets the ResourcesVpcConfig field's value. -func (s *CreateClusterInput) SetResourcesVpcConfig(v *VpcConfigRequest) *CreateClusterInput { - s.ResourcesVpcConfig = v - return s -} - -// SetRoleArn sets the RoleArn field's value. -func (s *CreateClusterInput) SetRoleArn(v string) *CreateClusterInput { - s.RoleArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateClusterInput) SetTags(v map[string]*string) *CreateClusterInput { - s.Tags = v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateClusterInput) SetVersion(v string) *CreateClusterInput { - s.Version = &v - return s -} - -type CreateClusterOutput struct { - _ struct{} `type:"structure"` - - // The full description of your new cluster. - Cluster *Cluster `locationName:"cluster" type:"structure"` -} - -// String returns the string representation -func (s CreateClusterOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s CreateClusterOutput) GoString() string { - return s.String() -} - -// SetCluster sets the Cluster field's value. -func (s *CreateClusterOutput) SetCluster(v *Cluster) *CreateClusterOutput { - s.Cluster = v - return s -} - -type CreateFargateProfileInput struct { - _ struct{} `type:"structure"` - - // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. - ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` - - // The name of the Amazon EKS cluster to apply the Fargate profile to. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // The name of the Fargate profile. - // - // FargateProfileName is a required field - FargateProfileName *string `locationName:"fargateProfileName" type:"string" required:"true"` - - // The Amazon Resource Name (ARN) of the pod execution role to use for pods - // that match the selectors in the Fargate profile. The pod execution role allows - // Fargate infrastructure to register with your cluster as a node, and it provides - // read access to Amazon ECR image repositories. For more information, see Pod - // Execution Role (https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html) - // in the Amazon EKS User Guide. - // - // PodExecutionRoleArn is a required field - PodExecutionRoleArn *string `locationName:"podExecutionRoleArn" type:"string" required:"true"` - - // The selectors to match for pods to use this Fargate profile. Each selector - // must have an associated namespace. Optionally, you can also specify labels - // for a namespace. You may specify up to five selectors in a Fargate profile. - Selectors []*FargateProfileSelector `locationName:"selectors" type:"list"` - - // The IDs of subnets to launch your pods into. At this time, pods running on - // Fargate are not assigned public IP addresses, so only private subnets (with - // no direct route to an Internet Gateway) are accepted for this parameter. - Subnets []*string `locationName:"subnets" type:"list"` - - // The metadata to apply to the Fargate profile to assist with categorization - // and organization. Each tag consists of a key and an optional value, both - // of which you define. Fargate profile tags do not propagate to any other resources - // associated with the Fargate profile, such as the pods that are scheduled - // with it. - Tags map[string]*string `locationName:"tags" min:"1" type:"map"` -} - -// String returns the string representation -func (s CreateFargateProfileInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s CreateFargateProfileInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *CreateFargateProfileInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateFargateProfileInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.FargateProfileName == nil { - invalidParams.Add(request.NewErrParamRequired("FargateProfileName")) - } - if s.PodExecutionRoleArn == nil { - invalidParams.Add(request.NewErrParamRequired("PodExecutionRoleArn")) - } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreateFargateProfileInput) SetClientRequestToken(v string) *CreateFargateProfileInput { - s.ClientRequestToken = &v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *CreateFargateProfileInput) SetClusterName(v string) *CreateFargateProfileInput { - s.ClusterName = &v - return s -} - -// SetFargateProfileName sets the FargateProfileName field's value. -func (s *CreateFargateProfileInput) SetFargateProfileName(v string) *CreateFargateProfileInput { - s.FargateProfileName = &v - return s -} - -// SetPodExecutionRoleArn sets the PodExecutionRoleArn field's value. -func (s *CreateFargateProfileInput) SetPodExecutionRoleArn(v string) *CreateFargateProfileInput { - s.PodExecutionRoleArn = &v - return s -} - -// SetSelectors sets the Selectors field's value. -func (s *CreateFargateProfileInput) SetSelectors(v []*FargateProfileSelector) *CreateFargateProfileInput { - s.Selectors = v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *CreateFargateProfileInput) SetSubnets(v []*string) *CreateFargateProfileInput { - s.Subnets = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateFargateProfileInput) SetTags(v map[string]*string) *CreateFargateProfileInput { - s.Tags = v - return s -} - -type CreateFargateProfileOutput struct { - _ struct{} `type:"structure"` - - // The full description of your new Fargate profile. - FargateProfile *FargateProfile `locationName:"fargateProfile" type:"structure"` -} - -// String returns the string representation -func (s CreateFargateProfileOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s CreateFargateProfileOutput) GoString() string { - return s.String() -} - -// SetFargateProfile sets the FargateProfile field's value. -func (s *CreateFargateProfileOutput) SetFargateProfile(v *FargateProfile) *CreateFargateProfileOutput { - s.FargateProfile = v - return s -} - -type CreateNodegroupInput struct { - _ struct{} `type:"structure"` - - // The AMI type for your node group. GPU instance types should use the AL2_x86_64_GPU - // AMI type. Non-GPU instances should use the AL2_x86_64 AMI type. Arm instances - // should use the AL2_ARM_64 AMI type. All types use the Amazon EKS optimized - // Amazon Linux 2 AMI. If you specify launchTemplate, and your launch template - // uses a custom AMI, then don't specify amiType, or the node group deployment - // will fail. For more information about using launch templates with Amazon - // EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) - // in the Amazon EKS User Guide. - AmiType *string `locationName:"amiType" type:"string" enum:"AMITypes"` - - // The capacity type for your node group. - CapacityType *string `locationName:"capacityType" type:"string" enum:"CapacityTypes"` - - // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. - ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` - - // The name of the cluster to create the node group in. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // The root device disk size (in GiB) for your node group instances. The default - // disk size is 20 GiB. If you specify launchTemplate, then don't specify diskSize, - // or the node group deployment will fail. For more information about using - // launch templates with Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) - // in the Amazon EKS User Guide. - DiskSize *int64 `locationName:"diskSize" type:"integer"` - - // Specify the instance types for a node group. If you specify a GPU instance - // type, be sure to specify AL2_x86_64_GPU with the amiType parameter. If you - // specify launchTemplate, then you can specify zero or one instance type in - // your launch template or you can specify 0-20 instance types for instanceTypes. - // If however, you specify an instance type in your launch template and specify - // any instanceTypes, the node group deployment will fail. If you don't specify - // an instance type in a launch template or for instanceTypes, then t3.medium - // is used, by default. If you specify Spot for capacityType, then we recommend - // specifying multiple values for instanceTypes. For more information, see Managed - // node group capacity types (https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html#managed-node-group-capacity-types) - // and Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) - // in the Amazon EKS User Guide. - InstanceTypes []*string `locationName:"instanceTypes" type:"list"` - - // The Kubernetes labels to be applied to the nodes in the node group when they - // are created. - Labels map[string]*string `locationName:"labels" type:"map"` - - // An object representing a node group's launch template specification. If specified, - // then do not specify instanceTypes, diskSize, or remoteAccess and make sure - // that the launch template meets the requirements in launchTemplateSpecification. - LaunchTemplate *LaunchTemplateSpecification `locationName:"launchTemplate" type:"structure"` - - // The Amazon Resource Name (ARN) of the IAM role to associate with your node - // group. The Amazon EKS worker node kubelet daemon makes calls to AWS APIs - // on your behalf. Nodes receive permissions for these API calls through an - // IAM instance profile and associated policies. Before you can launch nodes - // and register them into a cluster, you must create an IAM role for those nodes - // to use when they are launched. For more information, see Amazon EKS node - // IAM role (https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html) - // in the Amazon EKS User Guide . If you specify launchTemplate, then don't - // specify IamInstanceProfile (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html) - // in your launch template, or the node group deployment will fail. For more - // information about using launch templates with Amazon EKS, see Launch template - // support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) - // in the Amazon EKS User Guide. - // - // NodeRole is a required field - NodeRole *string `locationName:"nodeRole" type:"string" required:"true"` - - // The unique name to give your node group. - // - // NodegroupName is a required field - NodegroupName *string `locationName:"nodegroupName" type:"string" required:"true"` - - // The AMI version of the Amazon EKS optimized AMI to use with your node group. - // By default, the latest available AMI version for the node group's current - // Kubernetes version is used. For more information, see Amazon EKS optimized - // Amazon Linux 2 AMI versions (https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html) - // in the Amazon EKS User Guide. If you specify launchTemplate, and your launch - // template uses a custom AMI, then don't specify releaseVersion, or the node - // group deployment will fail. For more information about using launch templates - // with Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) - // in the Amazon EKS User Guide. - ReleaseVersion *string `locationName:"releaseVersion" type:"string"` - - // The remote access (SSH) configuration to use with your node group. If you - // specify launchTemplate, then don't specify remoteAccess, or the node group - // deployment will fail. For more information about using launch templates with - // Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) - // in the Amazon EKS User Guide. - RemoteAccess *RemoteAccessConfig `locationName:"remoteAccess" type:"structure"` - - // The scaling configuration details for the Auto Scaling group that is created - // for your node group. - ScalingConfig *NodegroupScalingConfig `locationName:"scalingConfig" type:"structure"` - - // The subnets to use for the Auto Scaling group that is created for your node - // group. If you specify launchTemplate, then don't specify SubnetId (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html) - // in your launch template, or the node group deployment will fail. For more - // information about using launch templates with Amazon EKS, see Launch template - // support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) - // in the Amazon EKS User Guide. - // - // Subnets is a required field - Subnets []*string `locationName:"subnets" type:"list" required:"true"` - - // The metadata to apply to the node group to assist with categorization and - // organization. Each tag consists of a key and an optional value, both of which - // you define. Node group tags do not propagate to any other resources associated - // with the node group, such as the Amazon EC2 instances or subnets. - Tags map[string]*string `locationName:"tags" min:"1" type:"map"` - - // The Kubernetes taints to be applied to the nodes in the node group. - Taints []*Taint `locationName:"taints" type:"list"` - - // The Kubernetes version to use for your managed nodes. By default, the Kubernetes - // version of the cluster is used, and this is the only accepted specified value. - // If you specify launchTemplate, and your launch template uses a custom AMI, - // then don't specify version, or the node group deployment will fail. For more - // information about using launch templates with Amazon EKS, see Launch template - // support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) - // in the Amazon EKS User Guide. - Version *string `locationName:"version" type:"string"` -} - -// String returns the string representation -func (s CreateNodegroupInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s CreateNodegroupInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *CreateNodegroupInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateNodegroupInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.NodeRole == nil { - invalidParams.Add(request.NewErrParamRequired("NodeRole")) - } - if s.NodegroupName == nil { - invalidParams.Add(request.NewErrParamRequired("NodegroupName")) - } - if s.Subnets == nil { - invalidParams.Add(request.NewErrParamRequired("Subnets")) - } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) - } - if s.ScalingConfig != nil { - if err := s.ScalingConfig.Validate(); err != nil { - invalidParams.AddNested("ScalingConfig", err.(request.ErrInvalidParams)) - } - } - if s.Taints != nil { - for i, v := range s.Taints { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Taints", i), err.(request.ErrInvalidParams)) - } - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAmiType sets the AmiType field's value. -func (s *CreateNodegroupInput) SetAmiType(v string) *CreateNodegroupInput { - s.AmiType = &v - return s -} - -// SetCapacityType sets the CapacityType field's value. -func (s *CreateNodegroupInput) SetCapacityType(v string) *CreateNodegroupInput { - s.CapacityType = &v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *CreateNodegroupInput) SetClientRequestToken(v string) *CreateNodegroupInput { - s.ClientRequestToken = &v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *CreateNodegroupInput) SetClusterName(v string) *CreateNodegroupInput { - s.ClusterName = &v - return s -} - -// SetDiskSize sets the DiskSize field's value. -func (s *CreateNodegroupInput) SetDiskSize(v int64) *CreateNodegroupInput { - s.DiskSize = &v - return s -} - -// SetInstanceTypes sets the InstanceTypes field's value. -func (s *CreateNodegroupInput) SetInstanceTypes(v []*string) *CreateNodegroupInput { - s.InstanceTypes = v - return s -} - -// SetLabels sets the Labels field's value. -func (s *CreateNodegroupInput) SetLabels(v map[string]*string) *CreateNodegroupInput { - s.Labels = v - return s -} - -// SetLaunchTemplate sets the LaunchTemplate field's value. -func (s *CreateNodegroupInput) SetLaunchTemplate(v *LaunchTemplateSpecification) *CreateNodegroupInput { - s.LaunchTemplate = v - return s -} - -// SetNodeRole sets the NodeRole field's value. -func (s *CreateNodegroupInput) SetNodeRole(v string) *CreateNodegroupInput { - s.NodeRole = &v - return s -} - -// SetNodegroupName sets the NodegroupName field's value. -func (s *CreateNodegroupInput) SetNodegroupName(v string) *CreateNodegroupInput { - s.NodegroupName = &v - return s -} - -// SetReleaseVersion sets the ReleaseVersion field's value. -func (s *CreateNodegroupInput) SetReleaseVersion(v string) *CreateNodegroupInput { - s.ReleaseVersion = &v - return s -} - -// SetRemoteAccess sets the RemoteAccess field's value. -func (s *CreateNodegroupInput) SetRemoteAccess(v *RemoteAccessConfig) *CreateNodegroupInput { - s.RemoteAccess = v - return s -} - -// SetScalingConfig sets the ScalingConfig field's value. -func (s *CreateNodegroupInput) SetScalingConfig(v *NodegroupScalingConfig) *CreateNodegroupInput { - s.ScalingConfig = v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *CreateNodegroupInput) SetSubnets(v []*string) *CreateNodegroupInput { - s.Subnets = v - return s -} - -// SetTags sets the Tags field's value. -func (s *CreateNodegroupInput) SetTags(v map[string]*string) *CreateNodegroupInput { - s.Tags = v - return s -} - -// SetTaints sets the Taints field's value. -func (s *CreateNodegroupInput) SetTaints(v []*Taint) *CreateNodegroupInput { - s.Taints = v - return s -} - -// SetVersion sets the Version field's value. -func (s *CreateNodegroupInput) SetVersion(v string) *CreateNodegroupInput { - s.Version = &v - return s -} - -type CreateNodegroupOutput struct { - _ struct{} `type:"structure"` - - // The full description of your new node group. - Nodegroup *Nodegroup `locationName:"nodegroup" type:"structure"` -} - -// String returns the string representation -func (s CreateNodegroupOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s CreateNodegroupOutput) GoString() string { - return s.String() -} - -// SetNodegroup sets the Nodegroup field's value. -func (s *CreateNodegroupOutput) SetNodegroup(v *Nodegroup) *CreateNodegroupOutput { - s.Nodegroup = v - return s -} - -type DeleteAddonInput struct { - _ struct{} `type:"structure"` - - // The name of the add-on. The name must match one of the names returned by - // ListAddons (https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html). - // - // AddonName is a required field - AddonName *string `location:"uri" locationName:"addonName" type:"string" required:"true"` - - // The name of the cluster to delete the add-on from. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` -} - -// String returns the string representation -func (s DeleteAddonInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DeleteAddonInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteAddonInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteAddonInput"} - if s.AddonName == nil { - invalidParams.Add(request.NewErrParamRequired("AddonName")) - } - if s.AddonName != nil && len(*s.AddonName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AddonName", 1)) - } - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAddonName sets the AddonName field's value. -func (s *DeleteAddonInput) SetAddonName(v string) *DeleteAddonInput { - s.AddonName = &v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *DeleteAddonInput) SetClusterName(v string) *DeleteAddonInput { - s.ClusterName = &v - return s -} - -type DeleteAddonOutput struct { - _ struct{} `type:"structure"` - - // An Amazon EKS add-on. - Addon *Addon `locationName:"addon" type:"structure"` -} - -// String returns the string representation -func (s DeleteAddonOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DeleteAddonOutput) GoString() string { - return s.String() -} - -// SetAddon sets the Addon field's value. -func (s *DeleteAddonOutput) SetAddon(v *Addon) *DeleteAddonOutput { - s.Addon = v - return s -} - -type DeleteClusterInput struct { - _ struct{} `type:"structure"` - - // The name of the cluster to delete. - // - // Name is a required field - Name *string `location:"uri" locationName:"name" type:"string" required:"true"` -} - -// String returns the string representation -func (s DeleteClusterInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DeleteClusterInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteClusterInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteClusterInput"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetName sets the Name field's value. -func (s *DeleteClusterInput) SetName(v string) *DeleteClusterInput { - s.Name = &v - return s -} - -type DeleteClusterOutput struct { - _ struct{} `type:"structure"` - - // The full description of the cluster to delete. - Cluster *Cluster `locationName:"cluster" type:"structure"` -} - -// String returns the string representation -func (s DeleteClusterOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DeleteClusterOutput) GoString() string { - return s.String() -} - -// SetCluster sets the Cluster field's value. -func (s *DeleteClusterOutput) SetCluster(v *Cluster) *DeleteClusterOutput { - s.Cluster = v - return s -} - -type DeleteFargateProfileInput struct { - _ struct{} `type:"structure"` - - // The name of the Amazon EKS cluster associated with the Fargate profile to - // delete. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // The name of the Fargate profile to delete. - // - // FargateProfileName is a required field - FargateProfileName *string `location:"uri" locationName:"fargateProfileName" type:"string" required:"true"` -} - -// String returns the string representation -func (s DeleteFargateProfileInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DeleteFargateProfileInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteFargateProfileInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteFargateProfileInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.FargateProfileName == nil { - invalidParams.Add(request.NewErrParamRequired("FargateProfileName")) - } - if s.FargateProfileName != nil && len(*s.FargateProfileName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("FargateProfileName", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClusterName sets the ClusterName field's value. -func (s *DeleteFargateProfileInput) SetClusterName(v string) *DeleteFargateProfileInput { - s.ClusterName = &v - return s -} - -// SetFargateProfileName sets the FargateProfileName field's value. -func (s *DeleteFargateProfileInput) SetFargateProfileName(v string) *DeleteFargateProfileInput { - s.FargateProfileName = &v - return s -} - -type DeleteFargateProfileOutput struct { - _ struct{} `type:"structure"` - - // The deleted Fargate profile. - FargateProfile *FargateProfile `locationName:"fargateProfile" type:"structure"` -} - -// String returns the string representation -func (s DeleteFargateProfileOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DeleteFargateProfileOutput) GoString() string { - return s.String() -} - -// SetFargateProfile sets the FargateProfile field's value. -func (s *DeleteFargateProfileOutput) SetFargateProfile(v *FargateProfile) *DeleteFargateProfileOutput { - s.FargateProfile = v - return s -} - -type DeleteNodegroupInput struct { - _ struct{} `type:"structure"` - - // The name of the Amazon EKS cluster that is associated with your node group. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // The name of the node group to delete. - // - // NodegroupName is a required field - NodegroupName *string `location:"uri" locationName:"nodegroupName" type:"string" required:"true"` -} - -// String returns the string representation -func (s DeleteNodegroupInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DeleteNodegroupInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *DeleteNodegroupInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DeleteNodegroupInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.NodegroupName == nil { - invalidParams.Add(request.NewErrParamRequired("NodegroupName")) - } - if s.NodegroupName != nil && len(*s.NodegroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NodegroupName", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClusterName sets the ClusterName field's value. -func (s *DeleteNodegroupInput) SetClusterName(v string) *DeleteNodegroupInput { - s.ClusterName = &v - return s -} - -// SetNodegroupName sets the NodegroupName field's value. -func (s *DeleteNodegroupInput) SetNodegroupName(v string) *DeleteNodegroupInput { - s.NodegroupName = &v - return s -} - -type DeleteNodegroupOutput struct { - _ struct{} `type:"structure"` - - // The full description of your deleted node group. - Nodegroup *Nodegroup `locationName:"nodegroup" type:"structure"` -} - -// String returns the string representation -func (s DeleteNodegroupOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DeleteNodegroupOutput) GoString() string { - return s.String() -} - -// SetNodegroup sets the Nodegroup field's value. -func (s *DeleteNodegroupOutput) SetNodegroup(v *Nodegroup) *DeleteNodegroupOutput { - s.Nodegroup = v - return s -} - -type DescribeAddonInput struct { - _ struct{} `type:"structure"` - - // The name of the add-on. The name must match one of the names returned by - // ListAddons (https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html). - // - // AddonName is a required field - AddonName *string `location:"uri" locationName:"addonName" type:"string" required:"true"` - - // The name of the cluster. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` -} - -// String returns the string representation -func (s DescribeAddonInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeAddonInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeAddonInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeAddonInput"} - if s.AddonName == nil { - invalidParams.Add(request.NewErrParamRequired("AddonName")) - } - if s.AddonName != nil && len(*s.AddonName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AddonName", 1)) - } - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAddonName sets the AddonName field's value. -func (s *DescribeAddonInput) SetAddonName(v string) *DescribeAddonInput { - s.AddonName = &v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *DescribeAddonInput) SetClusterName(v string) *DescribeAddonInput { - s.ClusterName = &v - return s -} - -type DescribeAddonOutput struct { - _ struct{} `type:"structure"` - - // An Amazon EKS add-on. - Addon *Addon `locationName:"addon" type:"structure"` -} - -// String returns the string representation -func (s DescribeAddonOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeAddonOutput) GoString() string { - return s.String() -} - -// SetAddon sets the Addon field's value. -func (s *DescribeAddonOutput) SetAddon(v *Addon) *DescribeAddonOutput { - s.Addon = v - return s -} - -type DescribeAddonVersionsInput struct { - _ struct{} `type:"structure"` - - // The name of the add-on. The name must match one of the names returned by - // ListAddons (https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html). - AddonName *string `location:"querystring" locationName:"addonName" type:"string"` - - // The Kubernetes versions that the add-on can be used with. - KubernetesVersion *string `location:"querystring" locationName:"kubernetesVersion" type:"string"` - - // The maximum number of results to return. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - - // The nextToken value returned from a previous paginated DescribeAddonVersionsRequest - // where maxResults was used and the results exceeded the value of that parameter. - // Pagination continues from the end of the previous results that returned the - // nextToken value. - // - // This token should be treated as an opaque identifier that is used only to - // retrieve the next items in a list and not for other programmatic purposes. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` -} - -// String returns the string representation -func (s DescribeAddonVersionsInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeAddonVersionsInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeAddonVersionsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeAddonVersionsInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAddonName sets the AddonName field's value. -func (s *DescribeAddonVersionsInput) SetAddonName(v string) *DescribeAddonVersionsInput { - s.AddonName = &v - return s -} - -// SetKubernetesVersion sets the KubernetesVersion field's value. -func (s *DescribeAddonVersionsInput) SetKubernetesVersion(v string) *DescribeAddonVersionsInput { - s.KubernetesVersion = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *DescribeAddonVersionsInput) SetMaxResults(v int64) *DescribeAddonVersionsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAddonVersionsInput) SetNextToken(v string) *DescribeAddonVersionsInput { - s.NextToken = &v - return s -} - -type DescribeAddonVersionsOutput struct { - _ struct{} `type:"structure"` - - // The list of available versions with Kubernetes version compatibility. - Addons []*AddonInfo `locationName:"addons" type:"list"` - - // The nextToken value returned from a previous paginated DescribeAddonVersionsResponse - // where maxResults was used and the results exceeded the value of that parameter. - // Pagination continues from the end of the previous results that returned the - // nextToken value. - // - // This token should be treated as an opaque identifier that is used only to - // retrieve the next items in a list and not for other programmatic purposes. - NextToken *string `locationName:"nextToken" type:"string"` -} - -// String returns the string representation -func (s DescribeAddonVersionsOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeAddonVersionsOutput) GoString() string { - return s.String() -} - -// SetAddons sets the Addons field's value. -func (s *DescribeAddonVersionsOutput) SetAddons(v []*AddonInfo) *DescribeAddonVersionsOutput { - s.Addons = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *DescribeAddonVersionsOutput) SetNextToken(v string) *DescribeAddonVersionsOutput { - s.NextToken = &v - return s -} - -type DescribeClusterInput struct { - _ struct{} `type:"structure"` - - // The name of the cluster to describe. - // - // Name is a required field - Name *string `location:"uri" locationName:"name" type:"string" required:"true"` -} - -// String returns the string representation -func (s DescribeClusterInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeClusterInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeClusterInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeClusterInput"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetName sets the Name field's value. -func (s *DescribeClusterInput) SetName(v string) *DescribeClusterInput { - s.Name = &v - return s -} - -type DescribeClusterOutput struct { - _ struct{} `type:"structure"` - - // The full description of your specified cluster. - Cluster *Cluster `locationName:"cluster" type:"structure"` -} - -// String returns the string representation -func (s DescribeClusterOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeClusterOutput) GoString() string { - return s.String() -} - -// SetCluster sets the Cluster field's value. -func (s *DescribeClusterOutput) SetCluster(v *Cluster) *DescribeClusterOutput { - s.Cluster = v - return s -} - -type DescribeFargateProfileInput struct { - _ struct{} `type:"structure"` - - // The name of the Amazon EKS cluster associated with the Fargate profile. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // The name of the Fargate profile to describe. - // - // FargateProfileName is a required field - FargateProfileName *string `location:"uri" locationName:"fargateProfileName" type:"string" required:"true"` -} - -// String returns the string representation -func (s DescribeFargateProfileInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeFargateProfileInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeFargateProfileInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeFargateProfileInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.FargateProfileName == nil { - invalidParams.Add(request.NewErrParamRequired("FargateProfileName")) - } - if s.FargateProfileName != nil && len(*s.FargateProfileName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("FargateProfileName", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClusterName sets the ClusterName field's value. -func (s *DescribeFargateProfileInput) SetClusterName(v string) *DescribeFargateProfileInput { - s.ClusterName = &v - return s -} - -// SetFargateProfileName sets the FargateProfileName field's value. -func (s *DescribeFargateProfileInput) SetFargateProfileName(v string) *DescribeFargateProfileInput { - s.FargateProfileName = &v - return s -} - -type DescribeFargateProfileOutput struct { - _ struct{} `type:"structure"` - - // The full description of your Fargate profile. - FargateProfile *FargateProfile `locationName:"fargateProfile" type:"structure"` -} - -// String returns the string representation -func (s DescribeFargateProfileOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeFargateProfileOutput) GoString() string { - return s.String() -} - -// SetFargateProfile sets the FargateProfile field's value. -func (s *DescribeFargateProfileOutput) SetFargateProfile(v *FargateProfile) *DescribeFargateProfileOutput { - s.FargateProfile = v - return s -} - -type DescribeIdentityProviderConfigInput struct { - _ struct{} `type:"structure"` - - // The cluster name that the identity provider configuration is associated to. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // An object that represents an identity provider configuration. - // - // IdentityProviderConfig is a required field - IdentityProviderConfig *IdentityProviderConfig `locationName:"identityProviderConfig" type:"structure" required:"true"` -} - -// String returns the string representation -func (s DescribeIdentityProviderConfigInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeIdentityProviderConfigInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeIdentityProviderConfigInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeIdentityProviderConfigInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.IdentityProviderConfig == nil { - invalidParams.Add(request.NewErrParamRequired("IdentityProviderConfig")) - } - if s.IdentityProviderConfig != nil { - if err := s.IdentityProviderConfig.Validate(); err != nil { - invalidParams.AddNested("IdentityProviderConfig", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClusterName sets the ClusterName field's value. -func (s *DescribeIdentityProviderConfigInput) SetClusterName(v string) *DescribeIdentityProviderConfigInput { - s.ClusterName = &v - return s -} - -// SetIdentityProviderConfig sets the IdentityProviderConfig field's value. -func (s *DescribeIdentityProviderConfigInput) SetIdentityProviderConfig(v *IdentityProviderConfig) *DescribeIdentityProviderConfigInput { - s.IdentityProviderConfig = v - return s -} - -type DescribeIdentityProviderConfigOutput struct { - _ struct{} `type:"structure"` - - // The object that represents an OpenID Connect (OIDC) identity provider configuration. - IdentityProviderConfig *IdentityProviderConfigResponse `locationName:"identityProviderConfig" type:"structure"` -} - -// String returns the string representation -func (s DescribeIdentityProviderConfigOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeIdentityProviderConfigOutput) GoString() string { - return s.String() -} - -// SetIdentityProviderConfig sets the IdentityProviderConfig field's value. -func (s *DescribeIdentityProviderConfigOutput) SetIdentityProviderConfig(v *IdentityProviderConfigResponse) *DescribeIdentityProviderConfigOutput { - s.IdentityProviderConfig = v - return s -} - -type DescribeNodegroupInput struct { - _ struct{} `type:"structure"` - - // The name of the Amazon EKS cluster associated with the node group. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // The name of the node group to describe. - // - // NodegroupName is a required field - NodegroupName *string `location:"uri" locationName:"nodegroupName" type:"string" required:"true"` -} - -// String returns the string representation -func (s DescribeNodegroupInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeNodegroupInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeNodegroupInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeNodegroupInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.NodegroupName == nil { - invalidParams.Add(request.NewErrParamRequired("NodegroupName")) - } - if s.NodegroupName != nil && len(*s.NodegroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NodegroupName", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClusterName sets the ClusterName field's value. -func (s *DescribeNodegroupInput) SetClusterName(v string) *DescribeNodegroupInput { - s.ClusterName = &v - return s -} - -// SetNodegroupName sets the NodegroupName field's value. -func (s *DescribeNodegroupInput) SetNodegroupName(v string) *DescribeNodegroupInput { - s.NodegroupName = &v - return s -} - -type DescribeNodegroupOutput struct { - _ struct{} `type:"structure"` - - // The full description of your node group. - Nodegroup *Nodegroup `locationName:"nodegroup" type:"structure"` -} - -// String returns the string representation -func (s DescribeNodegroupOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeNodegroupOutput) GoString() string { - return s.String() -} - -// SetNodegroup sets the Nodegroup field's value. -func (s *DescribeNodegroupOutput) SetNodegroup(v *Nodegroup) *DescribeNodegroupOutput { - s.Nodegroup = v - return s -} - -type DescribeUpdateInput struct { - _ struct{} `type:"structure"` - - // The name of the add-on. The name must match one of the names returned by - // ListAddons (https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html). - AddonName *string `location:"querystring" locationName:"addonName" type:"string"` - - // The name of the Amazon EKS cluster associated with the update. - // - // Name is a required field - Name *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // The name of the Amazon EKS node group associated with the update. - NodegroupName *string `location:"querystring" locationName:"nodegroupName" type:"string"` - - // The ID of the update to describe. - // - // UpdateId is a required field - UpdateId *string `location:"uri" locationName:"updateId" type:"string" required:"true"` -} - -// String returns the string representation -func (s DescribeUpdateInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeUpdateInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeUpdateInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeUpdateInput"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - if s.UpdateId == nil { - invalidParams.Add(request.NewErrParamRequired("UpdateId")) - } - if s.UpdateId != nil && len(*s.UpdateId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("UpdateId", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAddonName sets the AddonName field's value. -func (s *DescribeUpdateInput) SetAddonName(v string) *DescribeUpdateInput { - s.AddonName = &v - return s -} - -// SetName sets the Name field's value. -func (s *DescribeUpdateInput) SetName(v string) *DescribeUpdateInput { - s.Name = &v - return s -} - -// SetNodegroupName sets the NodegroupName field's value. -func (s *DescribeUpdateInput) SetNodegroupName(v string) *DescribeUpdateInput { - s.NodegroupName = &v - return s -} - -// SetUpdateId sets the UpdateId field's value. -func (s *DescribeUpdateInput) SetUpdateId(v string) *DescribeUpdateInput { - s.UpdateId = &v - return s -} - -type DescribeUpdateOutput struct { - _ struct{} `type:"structure"` - - // The full description of the specified update. - Update *Update `locationName:"update" type:"structure"` -} - -// String returns the string representation -func (s DescribeUpdateOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DescribeUpdateOutput) GoString() string { - return s.String() -} - -// SetUpdate sets the Update field's value. -func (s *DescribeUpdateOutput) SetUpdate(v *Update) *DescribeUpdateOutput { - s.Update = v - return s -} - -type DisassociateIdentityProviderConfigInput struct { - _ struct{} `type:"structure"` - - // A unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. - ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` - - // The name of the cluster to disassociate an identity provider from. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // An object that represents an identity provider configuration. - // - // IdentityProviderConfig is a required field - IdentityProviderConfig *IdentityProviderConfig `locationName:"identityProviderConfig" type:"structure" required:"true"` -} - -// String returns the string representation -func (s DisassociateIdentityProviderConfigInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DisassociateIdentityProviderConfigInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *DisassociateIdentityProviderConfigInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DisassociateIdentityProviderConfigInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.IdentityProviderConfig == nil { - invalidParams.Add(request.NewErrParamRequired("IdentityProviderConfig")) - } - if s.IdentityProviderConfig != nil { - if err := s.IdentityProviderConfig.Validate(); err != nil { - invalidParams.AddNested("IdentityProviderConfig", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *DisassociateIdentityProviderConfigInput) SetClientRequestToken(v string) *DisassociateIdentityProviderConfigInput { - s.ClientRequestToken = &v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *DisassociateIdentityProviderConfigInput) SetClusterName(v string) *DisassociateIdentityProviderConfigInput { - s.ClusterName = &v - return s -} - -// SetIdentityProviderConfig sets the IdentityProviderConfig field's value. -func (s *DisassociateIdentityProviderConfigInput) SetIdentityProviderConfig(v *IdentityProviderConfig) *DisassociateIdentityProviderConfigInput { - s.IdentityProviderConfig = v - return s -} - -type DisassociateIdentityProviderConfigOutput struct { - _ struct{} `type:"structure"` - - // An object representing an asynchronous update. - Update *Update `locationName:"update" type:"structure"` -} - -// String returns the string representation -func (s DisassociateIdentityProviderConfigOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s DisassociateIdentityProviderConfigOutput) GoString() string { - return s.String() -} - -// SetUpdate sets the Update field's value. -func (s *DisassociateIdentityProviderConfigOutput) SetUpdate(v *Update) *DisassociateIdentityProviderConfigOutput { - s.Update = v - return s -} - -// The encryption configuration for the cluster. -type EncryptionConfig struct { - _ struct{} `type:"structure"` - - // AWS Key Management Service (AWS KMS) key. Either the ARN or the alias can - // be used. - Provider *Provider `locationName:"provider" type:"structure"` - - // Specifies the resources to be encrypted. The only supported value is "secrets". - Resources []*string `locationName:"resources" type:"list"` -} - -// String returns the string representation -func (s EncryptionConfig) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s EncryptionConfig) GoString() string { - return s.String() -} - -// SetProvider sets the Provider field's value. -func (s *EncryptionConfig) SetProvider(v *Provider) *EncryptionConfig { - s.Provider = v - return s -} - -// SetResources sets the Resources field's value. -func (s *EncryptionConfig) SetResources(v []*string) *EncryptionConfig { - s.Resources = v - return s -} - -// An object representing an error when an asynchronous operation fails. -type ErrorDetail struct { - _ struct{} `type:"structure"` - - // A brief description of the error. - // - // * SubnetNotFound: We couldn't find one of the subnets associated with - // the cluster. - // - // * SecurityGroupNotFound: We couldn't find one of the security groups associated - // with the cluster. - // - // * EniLimitReached: You have reached the elastic network interface limit - // for your account. - // - // * IpNotAvailable: A subnet associated with the cluster doesn't have any - // free IP addresses. - // - // * AccessDenied: You don't have permissions to perform the specified operation. - // - // * OperationNotPermitted: The service role associated with the cluster - // doesn't have the required access permissions for Amazon EKS. - // - // * VpcIdNotFound: We couldn't find the VPC associated with the cluster. - ErrorCode *string `locationName:"errorCode" type:"string" enum:"ErrorCode"` - - // A more complete description of the error. - ErrorMessage *string `locationName:"errorMessage" type:"string"` - - // An optional field that contains the resource IDs associated with the error. - ResourceIds []*string `locationName:"resourceIds" type:"list"` -} - -// String returns the string representation -func (s ErrorDetail) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ErrorDetail) GoString() string { - return s.String() -} - -// SetErrorCode sets the ErrorCode field's value. -func (s *ErrorDetail) SetErrorCode(v string) *ErrorDetail { - s.ErrorCode = &v - return s -} - -// SetErrorMessage sets the ErrorMessage field's value. -func (s *ErrorDetail) SetErrorMessage(v string) *ErrorDetail { - s.ErrorMessage = &v - return s -} - -// SetResourceIds sets the ResourceIds field's value. -func (s *ErrorDetail) SetResourceIds(v []*string) *ErrorDetail { - s.ResourceIds = v - return s -} - -// An object representing an AWS Fargate profile. -type FargateProfile struct { - _ struct{} `type:"structure"` - - // The name of the Amazon EKS cluster that the Fargate profile belongs to. - ClusterName *string `locationName:"clusterName" type:"string"` - - // The Unix epoch timestamp in seconds for when the Fargate profile was created. - CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` - - // The full Amazon Resource Name (ARN) of the Fargate profile. - FargateProfileArn *string `locationName:"fargateProfileArn" type:"string"` - - // The name of the Fargate profile. - FargateProfileName *string `locationName:"fargateProfileName" type:"string"` - - // The Amazon Resource Name (ARN) of the pod execution role to use for pods - // that match the selectors in the Fargate profile. For more information, see - // Pod Execution Role (https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html) - // in the Amazon EKS User Guide. - PodExecutionRoleArn *string `locationName:"podExecutionRoleArn" type:"string"` - - // The selectors to match for pods to use this Fargate profile. - Selectors []*FargateProfileSelector `locationName:"selectors" type:"list"` - - // The current status of the Fargate profile. - Status *string `locationName:"status" type:"string" enum:"FargateProfileStatus"` - - // The IDs of subnets to launch pods into. - Subnets []*string `locationName:"subnets" type:"list"` - - // The metadata applied to the Fargate profile to assist with categorization - // and organization. Each tag consists of a key and an optional value, both - // of which you define. Fargate profile tags do not propagate to any other resources - // associated with the Fargate profile, such as the pods that are scheduled - // with it. - Tags map[string]*string `locationName:"tags" min:"1" type:"map"` -} - -// String returns the string representation -func (s FargateProfile) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s FargateProfile) GoString() string { - return s.String() -} - -// SetClusterName sets the ClusterName field's value. -func (s *FargateProfile) SetClusterName(v string) *FargateProfile { - s.ClusterName = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *FargateProfile) SetCreatedAt(v time.Time) *FargateProfile { - s.CreatedAt = &v - return s -} - -// SetFargateProfileArn sets the FargateProfileArn field's value. -func (s *FargateProfile) SetFargateProfileArn(v string) *FargateProfile { - s.FargateProfileArn = &v - return s -} - -// SetFargateProfileName sets the FargateProfileName field's value. -func (s *FargateProfile) SetFargateProfileName(v string) *FargateProfile { - s.FargateProfileName = &v - return s -} - -// SetPodExecutionRoleArn sets the PodExecutionRoleArn field's value. -func (s *FargateProfile) SetPodExecutionRoleArn(v string) *FargateProfile { - s.PodExecutionRoleArn = &v - return s -} - -// SetSelectors sets the Selectors field's value. -func (s *FargateProfile) SetSelectors(v []*FargateProfileSelector) *FargateProfile { - s.Selectors = v - return s -} - -// SetStatus sets the Status field's value. -func (s *FargateProfile) SetStatus(v string) *FargateProfile { - s.Status = &v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *FargateProfile) SetSubnets(v []*string) *FargateProfile { - s.Subnets = v - return s -} - -// SetTags sets the Tags field's value. -func (s *FargateProfile) SetTags(v map[string]*string) *FargateProfile { - s.Tags = v - return s -} - -// An object representing an AWS Fargate profile selector. -type FargateProfileSelector struct { - _ struct{} `type:"structure"` - - // The Kubernetes labels that the selector should match. A pod must contain - // all of the labels that are specified in the selector for it to be considered - // a match. - Labels map[string]*string `locationName:"labels" type:"map"` - - // The Kubernetes namespace that the selector should match. - Namespace *string `locationName:"namespace" type:"string"` -} - -// String returns the string representation -func (s FargateProfileSelector) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s FargateProfileSelector) GoString() string { - return s.String() -} - -// SetLabels sets the Labels field's value. -func (s *FargateProfileSelector) SetLabels(v map[string]*string) *FargateProfileSelector { - s.Labels = v - return s -} - -// SetNamespace sets the Namespace field's value. -func (s *FargateProfileSelector) SetNamespace(v string) *FargateProfileSelector { - s.Namespace = &v - return s -} - -// An object representing an identity provider. -type Identity struct { - _ struct{} `type:"structure"` - - // An object representing the OpenID Connect (https://openid.net/connect/) identity - // provider information. - Oidc *OIDC `locationName:"oidc" type:"structure"` -} - -// String returns the string representation -func (s Identity) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s Identity) GoString() string { - return s.String() -} - -// SetOidc sets the Oidc field's value. -func (s *Identity) SetOidc(v *OIDC) *Identity { - s.Oidc = v - return s -} - -// An object representing an identity provider configuration. -type IdentityProviderConfig struct { - _ struct{} `type:"structure"` - - // The name of the identity provider configuration. - // - // Name is a required field - Name *string `locationName:"name" type:"string" required:"true"` - - // The type of the identity provider configuration. - // - // Type is a required field - Type *string `locationName:"type" type:"string" required:"true"` -} - -// String returns the string representation -func (s IdentityProviderConfig) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s IdentityProviderConfig) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *IdentityProviderConfig) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "IdentityProviderConfig"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Type == nil { - invalidParams.Add(request.NewErrParamRequired("Type")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetName sets the Name field's value. -func (s *IdentityProviderConfig) SetName(v string) *IdentityProviderConfig { - s.Name = &v - return s -} - -// SetType sets the Type field's value. -func (s *IdentityProviderConfig) SetType(v string) *IdentityProviderConfig { - s.Type = &v - return s -} - -// An object that represents an identity configuration. -type IdentityProviderConfigResponse struct { - _ struct{} `type:"structure"` - - // An object that represents an OpenID Connect (OIDC) identity provider configuration. - Oidc *OidcIdentityProviderConfig `locationName:"oidc" type:"structure"` -} - -// String returns the string representation -func (s IdentityProviderConfigResponse) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s IdentityProviderConfigResponse) GoString() string { - return s.String() -} - -// SetOidc sets the Oidc field's value. -func (s *IdentityProviderConfigResponse) SetOidc(v *OidcIdentityProviderConfig) *IdentityProviderConfigResponse { - s.Oidc = v - return s -} - -// The specified parameter is invalid. Review the available parameters for the -// API request. -type InvalidParameterException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - AddonName *string `locationName:"addonName" type:"string"` - - // The Amazon EKS cluster associated with the exception. - ClusterName *string `locationName:"clusterName" type:"string"` - - // The Fargate profile associated with the exception. - FargateProfileName *string `locationName:"fargateProfileName" type:"string"` - - Message_ *string `locationName:"message" type:"string"` - - // The Amazon EKS managed node group associated with the exception. - NodegroupName *string `locationName:"nodegroupName" type:"string"` -} - -// String returns the string representation -func (s InvalidParameterException) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s InvalidParameterException) GoString() string { - return s.String() -} - -func newErrorInvalidParameterException(v protocol.ResponseMetadata) error { - return &InvalidParameterException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *InvalidParameterException) Code() string { - return "InvalidParameterException" -} - -// Message returns the exception's message. -func (s *InvalidParameterException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InvalidParameterException) OrigErr() error { - return nil -} - -func (s *InvalidParameterException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *InvalidParameterException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *InvalidParameterException) RequestID() string { - return s.RespMetadata.RequestID -} - -// The request is invalid given the state of the cluster. Check the state of -// the cluster and the associated operations. -type InvalidRequestException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - AddonName *string `locationName:"addonName" type:"string"` - - // The Amazon EKS cluster associated with the exception. - ClusterName *string `locationName:"clusterName" type:"string"` - - Message_ *string `locationName:"message" type:"string"` - - // The Amazon EKS managed node group associated with the exception. - NodegroupName *string `locationName:"nodegroupName" type:"string"` -} - -// String returns the string representation -func (s InvalidRequestException) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s InvalidRequestException) GoString() string { - return s.String() -} - -func newErrorInvalidRequestException(v protocol.ResponseMetadata) error { - return &InvalidRequestException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *InvalidRequestException) Code() string { - return "InvalidRequestException" -} - -// Message returns the exception's message. -func (s *InvalidRequestException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *InvalidRequestException) OrigErr() error { - return nil -} - -func (s *InvalidRequestException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *InvalidRequestException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *InvalidRequestException) RequestID() string { - return s.RespMetadata.RequestID -} - -// An object representing an issue with an Amazon EKS resource. -type Issue struct { - _ struct{} `type:"structure"` - - // A brief description of the error. - // - // * AccessDenied: Amazon EKS or one or more of your managed nodes is failing - // to authenticate or authorize with your Kubernetes cluster API server. - // - // * AsgInstanceLaunchFailures: Your Auto Scaling group is experiencing failures - // while attempting to launch instances. - // - // * AutoScalingGroupNotFound: We couldn't find the Auto Scaling group associated - // with the managed node group. You may be able to recreate an Auto Scaling - // group with the same settings to recover. - // - // * ClusterUnreachable: Amazon EKS or one or more of your managed nodes - // is unable to to communicate with your Kubernetes cluster API server. This - // can happen if there are network disruptions or if API servers are timing - // out processing requests. - // - // * Ec2LaunchTemplateNotFound: We couldn't find the Amazon EC2 launch template - // for your managed node group. You may be able to recreate a launch template - // with the same settings to recover. - // - // * Ec2LaunchTemplateVersionMismatch: The Amazon EC2 launch template version - // for your managed node group does not match the version that Amazon EKS - // created. You may be able to revert to the version that Amazon EKS created - // to recover. - // - // * Ec2SecurityGroupDeletionFailure: We could not delete the remote access - // security group for your managed node group. Remove any dependencies from - // the security group. - // - // * Ec2SecurityGroupNotFound: We couldn't find the cluster security group - // for the cluster. You must recreate your cluster. - // - // * Ec2SubnetInvalidConfiguration: One or more Amazon EC2 subnets specified - // for a node group do not automatically assign public IP addresses to instances - // launched into it. If you want your instances to be assigned a public IP - // address, then you need to enable the auto-assign public IP address setting - // for the subnet. See Modifying the public IPv4 addressing attribute for - // your subnet (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html#subnet-public-ip) - // in the Amazon VPC User Guide. - // - // * IamInstanceProfileNotFound: We couldn't find the IAM instance profile - // for your managed node group. You may be able to recreate an instance profile - // with the same settings to recover. - // - // * IamNodeRoleNotFound: We couldn't find the IAM role for your managed - // node group. You may be able to recreate an IAM role with the same settings - // to recover. - // - // * InstanceLimitExceeded: Your AWS account is unable to launch any more - // instances of the specified instance type. You may be able to request an - // Amazon EC2 instance limit increase to recover. - // - // * InsufficientFreeAddresses: One or more of the subnets associated with - // your managed node group does not have enough available IP addresses for - // new nodes. - // - // * InternalFailure: These errors are usually caused by an Amazon EKS server-side - // issue. - // - // * NodeCreationFailure: Your launched instances are unable to register - // with your Amazon EKS cluster. Common causes of this failure are insufficient - // node IAM role (https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html) - // permissions or lack of outbound internet access for the nodes. - Code *string `locationName:"code" type:"string" enum:"NodegroupIssueCode"` - - // The error message associated with the issue. - Message *string `locationName:"message" type:"string"` - - // The AWS resources that are afflicted by this issue. - ResourceIds []*string `locationName:"resourceIds" type:"list"` -} - -// String returns the string representation -func (s Issue) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s Issue) GoString() string { - return s.String() -} - -// SetCode sets the Code field's value. -func (s *Issue) SetCode(v string) *Issue { - s.Code = &v - return s -} - -// SetMessage sets the Message field's value. -func (s *Issue) SetMessage(v string) *Issue { - s.Message = &v - return s -} - -// SetResourceIds sets the ResourceIds field's value. -func (s *Issue) SetResourceIds(v []*string) *Issue { - s.ResourceIds = v - return s -} - -// The Kubernetes network configuration for the cluster. -type KubernetesNetworkConfigRequest struct { - _ struct{} `type:"structure"` - - // The CIDR block to assign Kubernetes service IP addresses from. If you don't - // specify a block, Kubernetes assigns addresses from either the 10.100.0.0/16 - // or 172.20.0.0/16 CIDR blocks. We recommend that you specify a block that - // does not overlap with resources in other networks that are peered or connected - // to your VPC. The block must meet the following requirements: - // - // * Within one of the following private IP address blocks: 10.0.0.0/8, 172.16.0.0.0/12, - // or 192.168.0.0/16. - // - // * Doesn't overlap with any CIDR block assigned to the VPC that you selected - // for VPC. - // - // * Between /24 and /12. - // - // You can only specify a custom CIDR block when you create a cluster and can't - // change this value once the cluster is created. - ServiceIpv4Cidr *string `locationName:"serviceIpv4Cidr" type:"string"` -} - -// String returns the string representation -func (s KubernetesNetworkConfigRequest) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s KubernetesNetworkConfigRequest) GoString() string { - return s.String() -} - -// SetServiceIpv4Cidr sets the ServiceIpv4Cidr field's value. -func (s *KubernetesNetworkConfigRequest) SetServiceIpv4Cidr(v string) *KubernetesNetworkConfigRequest { - s.ServiceIpv4Cidr = &v - return s -} - -// The Kubernetes network configuration for the cluster. -type KubernetesNetworkConfigResponse struct { - _ struct{} `type:"structure"` - - // The CIDR block that Kubernetes service IP addresses are assigned from. If - // you didn't specify a CIDR block when you created the cluster, then Kubernetes - // assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR blocks. - // If this was specified, then it was specified when the cluster was created - // and it cannot be changed. - ServiceIpv4Cidr *string `locationName:"serviceIpv4Cidr" type:"string"` -} - -// String returns the string representation -func (s KubernetesNetworkConfigResponse) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s KubernetesNetworkConfigResponse) GoString() string { - return s.String() -} - -// SetServiceIpv4Cidr sets the ServiceIpv4Cidr field's value. -func (s *KubernetesNetworkConfigResponse) SetServiceIpv4Cidr(v string) *KubernetesNetworkConfigResponse { - s.ServiceIpv4Cidr = &v - return s -} - -// An object representing a node group launch template specification. The launch -// template cannot include SubnetId (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html), -// IamInstanceProfile (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html), -// RequestSpotInstances (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestSpotInstances.html), -// HibernationOptions (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_HibernationOptionsRequest.html), -// or TerminateInstances (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_TerminateInstances.html), -// or the node group deployment or update will fail. For more information about -// launch templates, see CreateLaunchTemplate (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html) -// in the Amazon EC2 API Reference. For more information about using launch -// templates with Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) -// in the Amazon EKS User Guide. -// -// Specify either name or id, but not both. -type LaunchTemplateSpecification struct { - _ struct{} `type:"structure"` - - // The ID of the launch template. - Id *string `locationName:"id" type:"string"` - - // The name of the launch template. - Name *string `locationName:"name" type:"string"` - - // The version of the launch template to use. If no version is specified, then - // the template's default version is used. - Version *string `locationName:"version" type:"string"` -} - -// String returns the string representation -func (s LaunchTemplateSpecification) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s LaunchTemplateSpecification) GoString() string { - return s.String() -} - -// SetId sets the Id field's value. -func (s *LaunchTemplateSpecification) SetId(v string) *LaunchTemplateSpecification { - s.Id = &v - return s -} - -// SetName sets the Name field's value. -func (s *LaunchTemplateSpecification) SetName(v string) *LaunchTemplateSpecification { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *LaunchTemplateSpecification) SetVersion(v string) *LaunchTemplateSpecification { - s.Version = &v - return s -} - -type ListAddonsInput struct { - _ struct{} `type:"structure"` - - // The name of the cluster. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` - - // The maximum number of add-on results returned by ListAddonsRequest in paginated - // output. When you use this parameter, ListAddonsRequest returns only maxResults - // results in a single page along with a nextToken response element. You can - // see the remaining results of the initial request by sending another ListAddonsRequest - // request with the returned nextToken value. This value can be between 1 and - // 100. If you don't use this parameter, ListAddonsRequest returns up to 100 - // results and a nextToken value, if applicable. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - - // The nextToken value returned from a previous paginated ListAddonsRequest - // where maxResults was used and the results exceeded the value of that parameter. - // Pagination continues from the end of the previous results that returned the - // nextToken value. - // - // This token should be treated as an opaque identifier that is used only to - // retrieve the next items in a list and not for other programmatic purposes. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` -} - -// String returns the string representation -func (s ListAddonsInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListAddonsInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListAddonsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListAddonsInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClusterName sets the ClusterName field's value. -func (s *ListAddonsInput) SetClusterName(v string) *ListAddonsInput { - s.ClusterName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListAddonsInput) SetMaxResults(v int64) *ListAddonsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAddonsInput) SetNextToken(v string) *ListAddonsInput { - s.NextToken = &v - return s -} - -type ListAddonsOutput struct { - _ struct{} `type:"structure"` - - // A list of available add-ons. - Addons []*string `locationName:"addons" type:"list"` - - // The nextToken value returned from a previous paginated ListAddonsResponse - // where maxResults was used and the results exceeded the value of that parameter. - // Pagination continues from the end of the previous results that returned the - // nextToken value. - // - // This token should be treated as an opaque identifier that is used only to - // retrieve the next items in a list and not for other programmatic purposes. - NextToken *string `locationName:"nextToken" type:"string"` -} - -// String returns the string representation -func (s ListAddonsOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListAddonsOutput) GoString() string { - return s.String() -} - -// SetAddons sets the Addons field's value. -func (s *ListAddonsOutput) SetAddons(v []*string) *ListAddonsOutput { - s.Addons = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListAddonsOutput) SetNextToken(v string) *ListAddonsOutput { - s.NextToken = &v - return s -} - -type ListClustersInput struct { - _ struct{} `type:"structure"` - - // The maximum number of cluster results returned by ListClusters in paginated - // output. When you use this parameter, ListClusters returns only maxResults - // results in a single page along with a nextToken response element. You can - // see the remaining results of the initial request by sending another ListClusters - // request with the returned nextToken value. This value can be between 1 and - // 100. If you don't use this parameter, ListClusters returns up to 100 results - // and a nextToken value if applicable. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - - // The nextToken value returned from a previous paginated ListClusters request - // where maxResults was used and the results exceeded the value of that parameter. - // Pagination continues from the end of the previous results that returned the - // nextToken value. - // - // This token should be treated as an opaque identifier that is used only to - // retrieve the next items in a list and not for other programmatic purposes. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` -} - -// String returns the string representation -func (s ListClustersInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListClustersInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListClustersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListClustersInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListClustersInput) SetMaxResults(v int64) *ListClustersInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListClustersInput) SetNextToken(v string) *ListClustersInput { - s.NextToken = &v - return s -} - -type ListClustersOutput struct { - _ struct{} `type:"structure"` - - // A list of all of the clusters for your account in the specified Region. - Clusters []*string `locationName:"clusters" type:"list"` - - // The nextToken value to include in a future ListClusters request. When the - // results of a ListClusters request exceed maxResults, you can use this value - // to retrieve the next page of results. This value is null when there are no - // more results to return. - NextToken *string `locationName:"nextToken" type:"string"` -} - -// String returns the string representation -func (s ListClustersOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListClustersOutput) GoString() string { - return s.String() -} - -// SetClusters sets the Clusters field's value. -func (s *ListClustersOutput) SetClusters(v []*string) *ListClustersOutput { - s.Clusters = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListClustersOutput) SetNextToken(v string) *ListClustersOutput { - s.NextToken = &v - return s -} - -type ListFargateProfilesInput struct { - _ struct{} `type:"structure"` - - // The name of the Amazon EKS cluster that you would like to listFargate profiles - // in. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // The maximum number of Fargate profile results returned by ListFargateProfiles - // in paginated output. When you use this parameter, ListFargateProfiles returns - // only maxResults results in a single page along with a nextToken response - // element. You can see the remaining results of the initial request by sending - // another ListFargateProfiles request with the returned nextToken value. This - // value can be between 1 and 100. If you don't use this parameter, ListFargateProfiles - // returns up to 100 results and a nextToken value if applicable. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - - // The nextToken value returned from a previous paginated ListFargateProfiles - // request where maxResults was used and the results exceeded the value of that - // parameter. Pagination continues from the end of the previous results that - // returned the nextToken value. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` -} - -// String returns the string representation -func (s ListFargateProfilesInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListFargateProfilesInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListFargateProfilesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListFargateProfilesInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClusterName sets the ClusterName field's value. -func (s *ListFargateProfilesInput) SetClusterName(v string) *ListFargateProfilesInput { - s.ClusterName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListFargateProfilesInput) SetMaxResults(v int64) *ListFargateProfilesInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFargateProfilesInput) SetNextToken(v string) *ListFargateProfilesInput { - s.NextToken = &v - return s -} - -type ListFargateProfilesOutput struct { - _ struct{} `type:"structure"` - - // A list of all of the Fargate profiles associated with the specified cluster. - FargateProfileNames []*string `locationName:"fargateProfileNames" type:"list"` - - // The nextToken value to include in a future ListFargateProfiles request. When - // the results of a ListFargateProfiles request exceed maxResults, you can use - // this value to retrieve the next page of results. This value is null when - // there are no more results to return. - NextToken *string `locationName:"nextToken" type:"string"` -} - -// String returns the string representation -func (s ListFargateProfilesOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListFargateProfilesOutput) GoString() string { - return s.String() -} - -// SetFargateProfileNames sets the FargateProfileNames field's value. -func (s *ListFargateProfilesOutput) SetFargateProfileNames(v []*string) *ListFargateProfilesOutput { - s.FargateProfileNames = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListFargateProfilesOutput) SetNextToken(v string) *ListFargateProfilesOutput { - s.NextToken = &v - return s -} - -type ListIdentityProviderConfigsInput struct { - _ struct{} `type:"structure"` - - // The cluster name that you want to list identity provider configurations for. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // The maximum number of identity provider configurations returned by ListIdentityProviderConfigs - // in paginated output. When you use this parameter, ListIdentityProviderConfigs - // returns only maxResults results in a single page along with a nextToken response - // element. You can see the remaining results of the initial request by sending - // another ListIdentityProviderConfigs request with the returned nextToken value. - // This value can be between 1 and 100. If you don't use this parameter, ListIdentityProviderConfigs - // returns up to 100 results and a nextToken value, if applicable. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - - // The nextToken value returned from a previous paginated IdentityProviderConfigsRequest - // where maxResults was used and the results exceeded the value of that parameter. - // Pagination continues from the end of the previous results that returned the - // nextToken value. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` -} - -// String returns the string representation -func (s ListIdentityProviderConfigsInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListIdentityProviderConfigsInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListIdentityProviderConfigsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListIdentityProviderConfigsInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClusterName sets the ClusterName field's value. -func (s *ListIdentityProviderConfigsInput) SetClusterName(v string) *ListIdentityProviderConfigsInput { - s.ClusterName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListIdentityProviderConfigsInput) SetMaxResults(v int64) *ListIdentityProviderConfigsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIdentityProviderConfigsInput) SetNextToken(v string) *ListIdentityProviderConfigsInput { - s.NextToken = &v - return s -} - -type ListIdentityProviderConfigsOutput struct { - _ struct{} `type:"structure"` - - // The identity provider configurations for the cluster. - IdentityProviderConfigs []*IdentityProviderConfig `locationName:"identityProviderConfigs" type:"list"` - - // The nextToken value returned from a previous paginated ListIdentityProviderConfigsResponse - // where maxResults was used and the results exceeded the value of that parameter. - // Pagination continues from the end of the previous results that returned the - // nextToken value. - NextToken *string `locationName:"nextToken" type:"string"` -} - -// String returns the string representation -func (s ListIdentityProviderConfigsOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListIdentityProviderConfigsOutput) GoString() string { - return s.String() -} - -// SetIdentityProviderConfigs sets the IdentityProviderConfigs field's value. -func (s *ListIdentityProviderConfigsOutput) SetIdentityProviderConfigs(v []*IdentityProviderConfig) *ListIdentityProviderConfigsOutput { - s.IdentityProviderConfigs = v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListIdentityProviderConfigsOutput) SetNextToken(v string) *ListIdentityProviderConfigsOutput { - s.NextToken = &v - return s -} - -type ListNodegroupsInput struct { - _ struct{} `type:"structure"` - - // The name of the Amazon EKS cluster that you would like to list node groups - // in. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // The maximum number of node group results returned by ListNodegroups in paginated - // output. When you use this parameter, ListNodegroups returns only maxResults - // results in a single page along with a nextToken response element. You can - // see the remaining results of the initial request by sending another ListNodegroups - // request with the returned nextToken value. This value can be between 1 and - // 100. If you don't use this parameter, ListNodegroups returns up to 100 results - // and a nextToken value if applicable. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - - // The nextToken value returned from a previous paginated ListNodegroups request - // where maxResults was used and the results exceeded the value of that parameter. - // Pagination continues from the end of the previous results that returned the - // nextToken value. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` -} - -// String returns the string representation -func (s ListNodegroupsInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListNodegroupsInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListNodegroupsInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListNodegroupsInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClusterName sets the ClusterName field's value. -func (s *ListNodegroupsInput) SetClusterName(v string) *ListNodegroupsInput { - s.ClusterName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListNodegroupsInput) SetMaxResults(v int64) *ListNodegroupsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListNodegroupsInput) SetNextToken(v string) *ListNodegroupsInput { - s.NextToken = &v - return s -} - -type ListNodegroupsOutput struct { - _ struct{} `type:"structure"` - - // The nextToken value to include in a future ListNodegroups request. When the - // results of a ListNodegroups request exceed maxResults, you can use this value - // to retrieve the next page of results. This value is null when there are no - // more results to return. - NextToken *string `locationName:"nextToken" type:"string"` - - // A list of all of the node groups associated with the specified cluster. - Nodegroups []*string `locationName:"nodegroups" type:"list"` -} - -// String returns the string representation -func (s ListNodegroupsOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListNodegroupsOutput) GoString() string { - return s.String() -} - -// SetNextToken sets the NextToken field's value. -func (s *ListNodegroupsOutput) SetNextToken(v string) *ListNodegroupsOutput { - s.NextToken = &v - return s -} - -// SetNodegroups sets the Nodegroups field's value. -func (s *ListNodegroupsOutput) SetNodegroups(v []*string) *ListNodegroupsOutput { - s.Nodegroups = v - return s -} - -type ListTagsForResourceInput struct { - _ struct{} `type:"structure"` - - // The Amazon Resource Name (ARN) that identifies the resource for which to - // list the tags. Currently, the supported resources are Amazon EKS clusters - // and managed node groups. - // - // ResourceArn is a required field - ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` -} - -// String returns the string representation -func (s ListTagsForResourceInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListTagsForResourceInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListTagsForResourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} - if s.ResourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceArn")) - } - if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { - s.ResourceArn = &v - return s -} - -type ListTagsForResourceOutput struct { - _ struct{} `type:"structure"` - - // The tags for the resource. - Tags map[string]*string `locationName:"tags" min:"1" type:"map"` -} - -// String returns the string representation -func (s ListTagsForResourceOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListTagsForResourceOutput) GoString() string { - return s.String() -} - -// SetTags sets the Tags field's value. -func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput { - s.Tags = v - return s -} - -type ListUpdatesInput struct { - _ struct{} `type:"structure"` - - // The names of the installed add-ons that have available updates. - AddonName *string `location:"querystring" locationName:"addonName" type:"string"` - - // The maximum number of update results returned by ListUpdates in paginated - // output. When you use this parameter, ListUpdates returns only maxResults - // results in a single page along with a nextToken response element. You can - // see the remaining results of the initial request by sending another ListUpdates - // request with the returned nextToken value. This value can be between 1 and - // 100. If you don't use this parameter, ListUpdates returns up to 100 results - // and a nextToken value if applicable. - MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` - - // The name of the Amazon EKS cluster to list updates for. - // - // Name is a required field - Name *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // The nextToken value returned from a previous paginated ListUpdates request - // where maxResults was used and the results exceeded the value of that parameter. - // Pagination continues from the end of the previous results that returned the - // nextToken value. - NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - - // The name of the Amazon EKS managed node group to list updates for. - NodegroupName *string `location:"querystring" locationName:"nodegroupName" type:"string"` -} - -// String returns the string representation -func (s ListUpdatesInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListUpdatesInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *ListUpdatesInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListUpdatesInput"} - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) - } - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAddonName sets the AddonName field's value. -func (s *ListUpdatesInput) SetAddonName(v string) *ListUpdatesInput { - s.AddonName = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *ListUpdatesInput) SetMaxResults(v int64) *ListUpdatesInput { - s.MaxResults = &v - return s -} - -// SetName sets the Name field's value. -func (s *ListUpdatesInput) SetName(v string) *ListUpdatesInput { - s.Name = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *ListUpdatesInput) SetNextToken(v string) *ListUpdatesInput { - s.NextToken = &v - return s -} - -// SetNodegroupName sets the NodegroupName field's value. -func (s *ListUpdatesInput) SetNodegroupName(v string) *ListUpdatesInput { - s.NodegroupName = &v - return s -} - -type ListUpdatesOutput struct { - _ struct{} `type:"structure"` - - // The nextToken value to include in a future ListUpdates request. When the - // results of a ListUpdates request exceed maxResults, you can use this value - // to retrieve the next page of results. This value is null when there are no - // more results to return. - NextToken *string `locationName:"nextToken" type:"string"` - - // A list of all the updates for the specified cluster and Region. - UpdateIds []*string `locationName:"updateIds" type:"list"` -} - -// String returns the string representation -func (s ListUpdatesOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ListUpdatesOutput) GoString() string { - return s.String() -} - -// SetNextToken sets the NextToken field's value. -func (s *ListUpdatesOutput) SetNextToken(v string) *ListUpdatesOutput { - s.NextToken = &v - return s -} - -// SetUpdateIds sets the UpdateIds field's value. -func (s *ListUpdatesOutput) SetUpdateIds(v []*string) *ListUpdatesOutput { - s.UpdateIds = v - return s -} - -// An object representing the enabled or disabled Kubernetes control plane logs -// for your cluster. -type LogSetup struct { - _ struct{} `type:"structure"` - - // If a log type is enabled, that log type exports its control plane logs to - // CloudWatch Logs. If a log type isn't enabled, that log type doesn't export - // its control plane logs. Each individual log type can be enabled or disabled - // independently. - Enabled *bool `locationName:"enabled" type:"boolean"` - - // The available cluster control plane log types. - Types []*string `locationName:"types" type:"list"` -} - -// String returns the string representation -func (s LogSetup) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s LogSetup) GoString() string { - return s.String() -} - -// SetEnabled sets the Enabled field's value. -func (s *LogSetup) SetEnabled(v bool) *LogSetup { - s.Enabled = &v - return s -} - -// SetTypes sets the Types field's value. -func (s *LogSetup) SetTypes(v []*string) *LogSetup { - s.Types = v - return s -} - -// An object representing the logging configuration for resources in your cluster. -type Logging struct { - _ struct{} `type:"structure"` - - // The cluster control plane logging configuration for your cluster. - ClusterLogging []*LogSetup `locationName:"clusterLogging" type:"list"` -} - -// String returns the string representation -func (s Logging) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s Logging) GoString() string { - return s.String() -} - -// SetClusterLogging sets the ClusterLogging field's value. -func (s *Logging) SetClusterLogging(v []*LogSetup) *Logging { - s.ClusterLogging = v - return s -} - -// An object representing an Amazon EKS managed node group. -type Nodegroup struct { - _ struct{} `type:"structure"` - - // If the node group was deployed using a launch template with a custom AMI, - // then this is CUSTOM. For node groups that weren't deployed using a launch - // template, this is the AMI type that was specified in the node group configuration. - AmiType *string `locationName:"amiType" type:"string" enum:"AMITypes"` - - // The capacity type of your managed node group. - CapacityType *string `locationName:"capacityType" type:"string" enum:"CapacityTypes"` - - // The name of the cluster that the managed node group resides in. - ClusterName *string `locationName:"clusterName" type:"string"` - - // The Unix epoch timestamp in seconds for when the managed node group was created. - CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` - - // If the node group wasn't deployed with a launch template, then this is the - // disk size in the node group configuration. If the node group was deployed - // with a launch template, then this is null. - DiskSize *int64 `locationName:"diskSize" type:"integer"` - - // The health status of the node group. If there are issues with your node group's - // health, they are listed here. - Health *NodegroupHealth `locationName:"health" type:"structure"` - - // If the node group wasn't deployed with a launch template, then this is the - // instance type that is associated with the node group. If the node group was - // deployed with a launch template, then this is null. - InstanceTypes []*string `locationName:"instanceTypes" type:"list"` - - // The Kubernetes labels applied to the nodes in the node group. - // - // Only labels that are applied with the Amazon EKS API are shown here. There - // may be other Kubernetes labels applied to the nodes in this group. - Labels map[string]*string `locationName:"labels" type:"map"` - - // If a launch template was used to create the node group, then this is the - // launch template that was used. - LaunchTemplate *LaunchTemplateSpecification `locationName:"launchTemplate" type:"structure"` - - // The Unix epoch timestamp in seconds for when the managed node group was last - // modified. - ModifiedAt *time.Time `locationName:"modifiedAt" type:"timestamp"` - - // The IAM role associated with your node group. The Amazon EKS node kubelet - // daemon makes calls to AWS APIs on your behalf. Nodes receive permissions - // for these API calls through an IAM instance profile and associated policies. - NodeRole *string `locationName:"nodeRole" type:"string"` - - // The Amazon Resource Name (ARN) associated with the managed node group. - NodegroupArn *string `locationName:"nodegroupArn" type:"string"` - - // The name associated with an Amazon EKS managed node group. - NodegroupName *string `locationName:"nodegroupName" type:"string"` - - // If the node group was deployed using a launch template with a custom AMI, - // then this is the AMI ID that was specified in the launch template. For node - // groups that weren't deployed using a launch template, this is the version - // of the Amazon EKS optimized AMI that the node group was deployed with. - ReleaseVersion *string `locationName:"releaseVersion" type:"string"` - - // If the node group wasn't deployed with a launch template, then this is the - // remote access configuration that is associated with the node group. If the - // node group was deployed with a launch template, then this is null. - RemoteAccess *RemoteAccessConfig `locationName:"remoteAccess" type:"structure"` - - // The resources associated with the node group, such as Auto Scaling groups - // and security groups for remote access. - Resources *NodegroupResources `locationName:"resources" type:"structure"` - - // The scaling configuration details for the Auto Scaling group that is associated - // with your node group. - ScalingConfig *NodegroupScalingConfig `locationName:"scalingConfig" type:"structure"` - - // The current status of the managed node group. - Status *string `locationName:"status" type:"string" enum:"NodegroupStatus"` - - // The subnets that were specified for the Auto Scaling group that is associated - // with your node group. - Subnets []*string `locationName:"subnets" type:"list"` - - // The metadata applied to the node group to assist with categorization and - // organization. Each tag consists of a key and an optional value, both of which - // you define. Node group tags do not propagate to any other resources associated - // with the node group, such as the Amazon EC2 instances or subnets. - Tags map[string]*string `locationName:"tags" min:"1" type:"map"` - - // The Kubernetes taints to be applied to the nodes in the node group when they - // are created. Effect is one of NoSchedule, PreferNoSchedule, or NoExecute. - // Kubernetes taints can be used together with tolerations to control how workloads - // are scheduled to your nodes. - Taints []*Taint `locationName:"taints" type:"list"` - - // The Kubernetes version of the managed node group. - Version *string `locationName:"version" type:"string"` -} - -// String returns the string representation -func (s Nodegroup) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s Nodegroup) GoString() string { - return s.String() -} - -// SetAmiType sets the AmiType field's value. -func (s *Nodegroup) SetAmiType(v string) *Nodegroup { - s.AmiType = &v - return s -} - -// SetCapacityType sets the CapacityType field's value. -func (s *Nodegroup) SetCapacityType(v string) *Nodegroup { - s.CapacityType = &v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *Nodegroup) SetClusterName(v string) *Nodegroup { - s.ClusterName = &v - return s -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Nodegroup) SetCreatedAt(v time.Time) *Nodegroup { - s.CreatedAt = &v - return s -} - -// SetDiskSize sets the DiskSize field's value. -func (s *Nodegroup) SetDiskSize(v int64) *Nodegroup { - s.DiskSize = &v - return s -} - -// SetHealth sets the Health field's value. -func (s *Nodegroup) SetHealth(v *NodegroupHealth) *Nodegroup { - s.Health = v - return s -} - -// SetInstanceTypes sets the InstanceTypes field's value. -func (s *Nodegroup) SetInstanceTypes(v []*string) *Nodegroup { - s.InstanceTypes = v - return s -} - -// SetLabels sets the Labels field's value. -func (s *Nodegroup) SetLabels(v map[string]*string) *Nodegroup { - s.Labels = v - return s -} - -// SetLaunchTemplate sets the LaunchTemplate field's value. -func (s *Nodegroup) SetLaunchTemplate(v *LaunchTemplateSpecification) *Nodegroup { - s.LaunchTemplate = v - return s -} - -// SetModifiedAt sets the ModifiedAt field's value. -func (s *Nodegroup) SetModifiedAt(v time.Time) *Nodegroup { - s.ModifiedAt = &v - return s -} - -// SetNodeRole sets the NodeRole field's value. -func (s *Nodegroup) SetNodeRole(v string) *Nodegroup { - s.NodeRole = &v - return s -} - -// SetNodegroupArn sets the NodegroupArn field's value. -func (s *Nodegroup) SetNodegroupArn(v string) *Nodegroup { - s.NodegroupArn = &v - return s -} - -// SetNodegroupName sets the NodegroupName field's value. -func (s *Nodegroup) SetNodegroupName(v string) *Nodegroup { - s.NodegroupName = &v - return s -} - -// SetReleaseVersion sets the ReleaseVersion field's value. -func (s *Nodegroup) SetReleaseVersion(v string) *Nodegroup { - s.ReleaseVersion = &v - return s -} - -// SetRemoteAccess sets the RemoteAccess field's value. -func (s *Nodegroup) SetRemoteAccess(v *RemoteAccessConfig) *Nodegroup { - s.RemoteAccess = v - return s -} - -// SetResources sets the Resources field's value. -func (s *Nodegroup) SetResources(v *NodegroupResources) *Nodegroup { - s.Resources = v - return s -} - -// SetScalingConfig sets the ScalingConfig field's value. -func (s *Nodegroup) SetScalingConfig(v *NodegroupScalingConfig) *Nodegroup { - s.ScalingConfig = v - return s -} - -// SetStatus sets the Status field's value. -func (s *Nodegroup) SetStatus(v string) *Nodegroup { - s.Status = &v - return s -} - -// SetSubnets sets the Subnets field's value. -func (s *Nodegroup) SetSubnets(v []*string) *Nodegroup { - s.Subnets = v - return s -} - -// SetTags sets the Tags field's value. -func (s *Nodegroup) SetTags(v map[string]*string) *Nodegroup { - s.Tags = v - return s -} - -// SetTaints sets the Taints field's value. -func (s *Nodegroup) SetTaints(v []*Taint) *Nodegroup { - s.Taints = v - return s -} - -// SetVersion sets the Version field's value. -func (s *Nodegroup) SetVersion(v string) *Nodegroup { - s.Version = &v - return s -} - -// An object representing the health status of the node group. -type NodegroupHealth struct { - _ struct{} `type:"structure"` - - // Any issues that are associated with the node group. - Issues []*Issue `locationName:"issues" type:"list"` -} - -// String returns the string representation -func (s NodegroupHealth) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s NodegroupHealth) GoString() string { - return s.String() -} - -// SetIssues sets the Issues field's value. -func (s *NodegroupHealth) SetIssues(v []*Issue) *NodegroupHealth { - s.Issues = v - return s -} - -// An object representing the resources associated with the node group, such -// as Auto Scaling groups and security groups for remote access. -type NodegroupResources struct { - _ struct{} `type:"structure"` - - // The Auto Scaling groups associated with the node group. - AutoScalingGroups []*AutoScalingGroup `locationName:"autoScalingGroups" type:"list"` - - // The remote access security group associated with the node group. This security - // group controls SSH access to the nodes. - RemoteAccessSecurityGroup *string `locationName:"remoteAccessSecurityGroup" type:"string"` -} - -// String returns the string representation -func (s NodegroupResources) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s NodegroupResources) GoString() string { - return s.String() -} - -// SetAutoScalingGroups sets the AutoScalingGroups field's value. -func (s *NodegroupResources) SetAutoScalingGroups(v []*AutoScalingGroup) *NodegroupResources { - s.AutoScalingGroups = v - return s -} - -// SetRemoteAccessSecurityGroup sets the RemoteAccessSecurityGroup field's value. -func (s *NodegroupResources) SetRemoteAccessSecurityGroup(v string) *NodegroupResources { - s.RemoteAccessSecurityGroup = &v - return s -} - -// An object representing the scaling configuration details for the Auto Scaling -// group that is associated with your node group. When creating a node group, -// you must specify all or none of the properties. When updating a node group, -// you can specify any or none of the properties. -type NodegroupScalingConfig struct { - _ struct{} `type:"structure"` - - // The current number of nodes that the managed node group should maintain. - DesiredSize *int64 `locationName:"desiredSize" type:"integer"` - - // The maximum number of nodes that the managed node group can scale out to. - // For information about the maximum number that you can specify, see Amazon - // EKS service quotas (https://docs.aws.amazon.com/eks/latest/userguide/service-quotas.html) - // in the Amazon EKS User Guide. - MaxSize *int64 `locationName:"maxSize" min:"1" type:"integer"` - - // The minimum number of nodes that the managed node group can scale in to. - // This number must be greater than zero. - MinSize *int64 `locationName:"minSize" type:"integer"` -} - -// String returns the string representation -func (s NodegroupScalingConfig) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s NodegroupScalingConfig) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *NodegroupScalingConfig) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "NodegroupScalingConfig"} - if s.MaxSize != nil && *s.MaxSize < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxSize", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetDesiredSize sets the DesiredSize field's value. -func (s *NodegroupScalingConfig) SetDesiredSize(v int64) *NodegroupScalingConfig { - s.DesiredSize = &v - return s -} - -// SetMaxSize sets the MaxSize field's value. -func (s *NodegroupScalingConfig) SetMaxSize(v int64) *NodegroupScalingConfig { - s.MaxSize = &v - return s -} - -// SetMinSize sets the MinSize field's value. -func (s *NodegroupScalingConfig) SetMinSize(v int64) *NodegroupScalingConfig { - s.MinSize = &v - return s -} - -// A service resource associated with the request could not be found. Clients -// should not retry such requests. -type NotFoundException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Message_ *string `locationName:"message" type:"string"` -} - -// String returns the string representation -func (s NotFoundException) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s NotFoundException) GoString() string { - return s.String() -} - -func newErrorNotFoundException(v protocol.ResponseMetadata) error { - return &NotFoundException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *NotFoundException) Code() string { - return "NotFoundException" -} - -// Message returns the exception's message. -func (s *NotFoundException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *NotFoundException) OrigErr() error { - return nil -} - -func (s *NotFoundException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *NotFoundException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *NotFoundException) RequestID() string { - return s.RespMetadata.RequestID -} - -// An object representing the OpenID Connect (https://openid.net/connect/) (OIDC) -// identity provider information for the cluster. -type OIDC struct { - _ struct{} `type:"structure"` - - // The issuer URL for the OIDC identity provider. - Issuer *string `locationName:"issuer" type:"string"` -} - -// String returns the string representation -func (s OIDC) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s OIDC) GoString() string { - return s.String() -} - -// SetIssuer sets the Issuer field's value. -func (s *OIDC) SetIssuer(v string) *OIDC { - s.Issuer = &v - return s -} - -// An object that represents the configuration for an OpenID Connect (OIDC) -// identity provider. -type OidcIdentityProviderConfig struct { - _ struct{} `type:"structure"` - - // This is also known as audience. The ID of the client application that makes - // authentication requests to the OIDC identity provider. - ClientId *string `locationName:"clientId" type:"string"` - - // The cluster that the configuration is associated to. - ClusterName *string `locationName:"clusterName" type:"string"` - - // The JSON web token (JWT) claim that the provider uses to return your groups. - GroupsClaim *string `locationName:"groupsClaim" type:"string"` - - // The prefix that is prepended to group claims to prevent clashes with existing - // names (such as system: groups). For example, the valueoidc: creates group - // names like oidc:engineering and oidc:infra. The prefix can't contain system: - GroupsPrefix *string `locationName:"groupsPrefix" type:"string"` - - // The ARN of the configuration. - IdentityProviderConfigArn *string `locationName:"identityProviderConfigArn" type:"string"` - - // The name of the configuration. - IdentityProviderConfigName *string `locationName:"identityProviderConfigName" type:"string"` - - // The URL of the OIDC identity provider that allows the API server to discover - // public signing keys for verifying tokens. - IssuerUrl *string `locationName:"issuerUrl" type:"string"` - - // The key-value pairs that describe required claims in the identity token. - // If set, each claim is verified to be present in the token with a matching - // value. - RequiredClaims map[string]*string `locationName:"requiredClaims" type:"map"` - - // The status of the OIDC identity provider. - Status *string `locationName:"status" type:"string" enum:"ConfigStatus"` - - // The metadata to apply to the provider configuration to assist with categorization - // and organization. Each tag consists of a key and an optional value, both - // of which you defined. - Tags map[string]*string `locationName:"tags" min:"1" type:"map"` - - // The JSON Web token (JWT) claim that is used as the username. - UsernameClaim *string `locationName:"usernameClaim" type:"string"` - - // The prefix that is prepended to username claims to prevent clashes with existing - // names. The prefix can't contain system: - UsernamePrefix *string `locationName:"usernamePrefix" type:"string"` -} - -// String returns the string representation -func (s OidcIdentityProviderConfig) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s OidcIdentityProviderConfig) GoString() string { - return s.String() -} - -// SetClientId sets the ClientId field's value. -func (s *OidcIdentityProviderConfig) SetClientId(v string) *OidcIdentityProviderConfig { - s.ClientId = &v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *OidcIdentityProviderConfig) SetClusterName(v string) *OidcIdentityProviderConfig { - s.ClusterName = &v - return s -} - -// SetGroupsClaim sets the GroupsClaim field's value. -func (s *OidcIdentityProviderConfig) SetGroupsClaim(v string) *OidcIdentityProviderConfig { - s.GroupsClaim = &v - return s -} - -// SetGroupsPrefix sets the GroupsPrefix field's value. -func (s *OidcIdentityProviderConfig) SetGroupsPrefix(v string) *OidcIdentityProviderConfig { - s.GroupsPrefix = &v - return s -} - -// SetIdentityProviderConfigArn sets the IdentityProviderConfigArn field's value. -func (s *OidcIdentityProviderConfig) SetIdentityProviderConfigArn(v string) *OidcIdentityProviderConfig { - s.IdentityProviderConfigArn = &v - return s -} - -// SetIdentityProviderConfigName sets the IdentityProviderConfigName field's value. -func (s *OidcIdentityProviderConfig) SetIdentityProviderConfigName(v string) *OidcIdentityProviderConfig { - s.IdentityProviderConfigName = &v - return s -} - -// SetIssuerUrl sets the IssuerUrl field's value. -func (s *OidcIdentityProviderConfig) SetIssuerUrl(v string) *OidcIdentityProviderConfig { - s.IssuerUrl = &v - return s -} - -// SetRequiredClaims sets the RequiredClaims field's value. -func (s *OidcIdentityProviderConfig) SetRequiredClaims(v map[string]*string) *OidcIdentityProviderConfig { - s.RequiredClaims = v - return s -} - -// SetStatus sets the Status field's value. -func (s *OidcIdentityProviderConfig) SetStatus(v string) *OidcIdentityProviderConfig { - s.Status = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *OidcIdentityProviderConfig) SetTags(v map[string]*string) *OidcIdentityProviderConfig { - s.Tags = v - return s -} - -// SetUsernameClaim sets the UsernameClaim field's value. -func (s *OidcIdentityProviderConfig) SetUsernameClaim(v string) *OidcIdentityProviderConfig { - s.UsernameClaim = &v - return s -} - -// SetUsernamePrefix sets the UsernamePrefix field's value. -func (s *OidcIdentityProviderConfig) SetUsernamePrefix(v string) *OidcIdentityProviderConfig { - s.UsernamePrefix = &v - return s -} - -// An object representing an OpenID Connect (OIDC) configuration. Before associating -// an OIDC identity provider to your cluster, review the considerations in Authenticating -// users for your cluster from an OpenID Connect identity provider (https://docs.aws.amazon.com/eks/latest/userguide/authenticate-oidc-identity-provider.html) -// in the Amazon EKS User Guide. -type OidcIdentityProviderConfigRequest struct { - _ struct{} `type:"structure"` - - // This is also known as audience. The ID for the client application that makes - // authentication requests to the OpenID identity provider. - // - // ClientId is a required field - ClientId *string `locationName:"clientId" type:"string" required:"true"` - - // The JWT claim that the provider uses to return your groups. - GroupsClaim *string `locationName:"groupsClaim" type:"string"` - - // The prefix that is prepended to group claims to prevent clashes with existing - // names (such as system: groups). For example, the valueoidc: will create group - // names like oidc:engineering and oidc:infra. - GroupsPrefix *string `locationName:"groupsPrefix" type:"string"` - - // The name of the OIDC provider configuration. - // - // IdentityProviderConfigName is a required field - IdentityProviderConfigName *string `locationName:"identityProviderConfigName" type:"string" required:"true"` - - // The URL of the OpenID identity provider that allows the API server to discover - // public signing keys for verifying tokens. The URL must begin with https:// - // and should correspond to the iss claim in the provider's OIDC ID tokens. - // Per the OIDC standard, path components are allowed but query parameters are - // not. Typically the URL consists of only a hostname, like https://server.example.org - // or https://example.com. This URL should point to the level below .well-known/openid-configuration - // and must be publicly accessible over the internet. - // - // IssuerUrl is a required field - IssuerUrl *string `locationName:"issuerUrl" type:"string" required:"true"` - - // The key value pairs that describe required claims in the identity token. - // If set, each claim is verified to be present in the token with a matching - // value. For the maximum number of claims that you can require, see Amazon - // EKS service quotas (https://docs.aws.amazon.com/eks/latest/userguide/service-quotas.html) - // in the Amazon EKS User Guide. - RequiredClaims map[string]*string `locationName:"requiredClaims" type:"map"` - - // The JSON Web Token (JWT) claim to use as the username. The default is sub, - // which is expected to be a unique identifier of the end user. You can choose - // other claims, such as email or name, depending on the OpenID identity provider. - // Claims other than email are prefixed with the issuer URL to prevent naming - // clashes with other plug-ins. - UsernameClaim *string `locationName:"usernameClaim" type:"string"` - - // The prefix that is prepended to username claims to prevent clashes with existing - // names. If you do not provide this field, and username is a value other than - // email, the prefix defaults to issuerurl#. You can use the value - to disable - // all prefixing. - UsernamePrefix *string `locationName:"usernamePrefix" type:"string"` -} - -// String returns the string representation -func (s OidcIdentityProviderConfigRequest) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s OidcIdentityProviderConfigRequest) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *OidcIdentityProviderConfigRequest) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "OidcIdentityProviderConfigRequest"} - if s.ClientId == nil { - invalidParams.Add(request.NewErrParamRequired("ClientId")) - } - if s.IdentityProviderConfigName == nil { - invalidParams.Add(request.NewErrParamRequired("IdentityProviderConfigName")) - } - if s.IssuerUrl == nil { - invalidParams.Add(request.NewErrParamRequired("IssuerUrl")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClientId sets the ClientId field's value. -func (s *OidcIdentityProviderConfigRequest) SetClientId(v string) *OidcIdentityProviderConfigRequest { - s.ClientId = &v - return s -} - -// SetGroupsClaim sets the GroupsClaim field's value. -func (s *OidcIdentityProviderConfigRequest) SetGroupsClaim(v string) *OidcIdentityProviderConfigRequest { - s.GroupsClaim = &v - return s -} - -// SetGroupsPrefix sets the GroupsPrefix field's value. -func (s *OidcIdentityProviderConfigRequest) SetGroupsPrefix(v string) *OidcIdentityProviderConfigRequest { - s.GroupsPrefix = &v - return s -} - -// SetIdentityProviderConfigName sets the IdentityProviderConfigName field's value. -func (s *OidcIdentityProviderConfigRequest) SetIdentityProviderConfigName(v string) *OidcIdentityProviderConfigRequest { - s.IdentityProviderConfigName = &v - return s -} - -// SetIssuerUrl sets the IssuerUrl field's value. -func (s *OidcIdentityProviderConfigRequest) SetIssuerUrl(v string) *OidcIdentityProviderConfigRequest { - s.IssuerUrl = &v - return s -} - -// SetRequiredClaims sets the RequiredClaims field's value. -func (s *OidcIdentityProviderConfigRequest) SetRequiredClaims(v map[string]*string) *OidcIdentityProviderConfigRequest { - s.RequiredClaims = v - return s -} - -// SetUsernameClaim sets the UsernameClaim field's value. -func (s *OidcIdentityProviderConfigRequest) SetUsernameClaim(v string) *OidcIdentityProviderConfigRequest { - s.UsernameClaim = &v - return s -} - -// SetUsernamePrefix sets the UsernamePrefix field's value. -func (s *OidcIdentityProviderConfigRequest) SetUsernamePrefix(v string) *OidcIdentityProviderConfigRequest { - s.UsernamePrefix = &v - return s -} - -// Identifies the AWS Key Management Service (AWS KMS) key used to encrypt the -// secrets. -type Provider struct { - _ struct{} `type:"structure"` - - // Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must be symmetric, - // created in the same region as the cluster, and if the KMS key was created - // in a different account, the user must have access to the KMS key. For more - // information, see Allowing Users in Other Accounts to Use a KMS key (https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-modifying-external-accounts.html) - // in the AWS Key Management Service Developer Guide. - KeyArn *string `locationName:"keyArn" type:"string"` -} - -// String returns the string representation -func (s Provider) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s Provider) GoString() string { - return s.String() -} - -// SetKeyArn sets the KeyArn field's value. -func (s *Provider) SetKeyArn(v string) *Provider { - s.KeyArn = &v - return s -} - -// An object representing the remote access configuration for the managed node -// group. -type RemoteAccessConfig struct { - _ struct{} `type:"structure"` - - // The Amazon EC2 SSH key that provides access for SSH communication with the - // nodes in the managed node group. For more information, see Amazon EC2 Key - // Pairs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) - // in the Amazon Elastic Compute Cloud User Guide for Linux Instances. - Ec2SshKey *string `locationName:"ec2SshKey" type:"string"` - - // The security groups that are allowed SSH access (port 22) to the nodes. If - // you specify an Amazon EC2 SSH key but do not specify a source security group - // when you create a managed node group, then port 22 on the nodes is opened - // to the internet (0.0.0.0/0). For more information, see Security Groups for - // Your VPC (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html) - // in the Amazon Virtual Private Cloud User Guide. - SourceSecurityGroups []*string `locationName:"sourceSecurityGroups" type:"list"` -} - -// String returns the string representation -func (s RemoteAccessConfig) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s RemoteAccessConfig) GoString() string { - return s.String() -} - -// SetEc2SshKey sets the Ec2SshKey field's value. -func (s *RemoteAccessConfig) SetEc2SshKey(v string) *RemoteAccessConfig { - s.Ec2SshKey = &v - return s -} - -// SetSourceSecurityGroups sets the SourceSecurityGroups field's value. -func (s *RemoteAccessConfig) SetSourceSecurityGroups(v []*string) *RemoteAccessConfig { - s.SourceSecurityGroups = v - return s -} - -// The specified resource is in use. -type ResourceInUseException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - AddonName *string `locationName:"addonName" type:"string"` - - // The Amazon EKS cluster associated with the exception. - ClusterName *string `locationName:"clusterName" type:"string"` - - Message_ *string `locationName:"message" type:"string"` - - // The Amazon EKS managed node group associated with the exception. - NodegroupName *string `locationName:"nodegroupName" type:"string"` -} - -// String returns the string representation -func (s ResourceInUseException) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ResourceInUseException) GoString() string { - return s.String() -} - -func newErrorResourceInUseException(v protocol.ResponseMetadata) error { - return &ResourceInUseException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *ResourceInUseException) Code() string { - return "ResourceInUseException" -} - -// Message returns the exception's message. -func (s *ResourceInUseException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceInUseException) OrigErr() error { - return nil -} - -func (s *ResourceInUseException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceInUseException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *ResourceInUseException) RequestID() string { - return s.RespMetadata.RequestID -} - -// You have encountered a service limit on the specified resource. -type ResourceLimitExceededException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - // The Amazon EKS cluster associated with the exception. - ClusterName *string `locationName:"clusterName" type:"string"` - - Message_ *string `locationName:"message" type:"string"` - - // The Amazon EKS managed node group associated with the exception. - NodegroupName *string `locationName:"nodegroupName" type:"string"` -} - -// String returns the string representation -func (s ResourceLimitExceededException) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ResourceLimitExceededException) GoString() string { - return s.String() -} - -func newErrorResourceLimitExceededException(v protocol.ResponseMetadata) error { - return &ResourceLimitExceededException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *ResourceLimitExceededException) Code() string { - return "ResourceLimitExceededException" -} - -// Message returns the exception's message. -func (s *ResourceLimitExceededException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceLimitExceededException) OrigErr() error { - return nil -} - -func (s *ResourceLimitExceededException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceLimitExceededException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *ResourceLimitExceededException) RequestID() string { - return s.RespMetadata.RequestID -} - -// The specified resource could not be found. You can view your available clusters -// with ListClusters. You can view your available managed node groups with ListNodegroups. -// Amazon EKS clusters and node groups are Region-specific. -type ResourceNotFoundException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - AddonName *string `locationName:"addonName" type:"string"` - - // The Amazon EKS cluster associated with the exception. - ClusterName *string `locationName:"clusterName" type:"string"` - - // The Fargate profile associated with the exception. - FargateProfileName *string `locationName:"fargateProfileName" type:"string"` - - Message_ *string `locationName:"message" type:"string"` - - // The Amazon EKS managed node group associated with the exception. - NodegroupName *string `locationName:"nodegroupName" type:"string"` -} - -// String returns the string representation -func (s ResourceNotFoundException) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ResourceNotFoundException) GoString() string { - return s.String() -} - -func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { - return &ResourceNotFoundException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *ResourceNotFoundException) Code() string { - return "ResourceNotFoundException" -} - -// Message returns the exception's message. -func (s *ResourceNotFoundException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ResourceNotFoundException) OrigErr() error { - return nil -} - -func (s *ResourceNotFoundException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *ResourceNotFoundException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *ResourceNotFoundException) RequestID() string { - return s.RespMetadata.RequestID -} - -// These errors are usually caused by a server-side issue. -type ServerException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - AddonName *string `locationName:"addonName" type:"string"` - - // The Amazon EKS cluster associated with the exception. - ClusterName *string `locationName:"clusterName" type:"string"` - - Message_ *string `locationName:"message" type:"string"` - - // The Amazon EKS managed node group associated with the exception. - NodegroupName *string `locationName:"nodegroupName" type:"string"` -} - -// String returns the string representation -func (s ServerException) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ServerException) GoString() string { - return s.String() -} - -func newErrorServerException(v protocol.ResponseMetadata) error { - return &ServerException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *ServerException) Code() string { - return "ServerException" -} - -// Message returns the exception's message. -func (s *ServerException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ServerException) OrigErr() error { - return nil -} - -func (s *ServerException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *ServerException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *ServerException) RequestID() string { - return s.RespMetadata.RequestID -} - -// The service is unavailable. Back off and retry the operation. -type ServiceUnavailableException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - Message_ *string `locationName:"message" type:"string"` -} - -// String returns the string representation -func (s ServiceUnavailableException) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s ServiceUnavailableException) GoString() string { - return s.String() -} - -func newErrorServiceUnavailableException(v protocol.ResponseMetadata) error { - return &ServiceUnavailableException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *ServiceUnavailableException) Code() string { - return "ServiceUnavailableException" -} - -// Message returns the exception's message. -func (s *ServiceUnavailableException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ServiceUnavailableException) OrigErr() error { - return nil -} - -func (s *ServiceUnavailableException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *ServiceUnavailableException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *ServiceUnavailableException) RequestID() string { - return s.RespMetadata.RequestID -} - -type TagResourceInput struct { - _ struct{} `type:"structure"` - - // The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, - // the supported resources are Amazon EKS clusters and managed node groups. - // - // ResourceArn is a required field - ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` - - // The tags to add to the resource. A tag is an array of key-value pairs. - // - // Tags is a required field - Tags map[string]*string `locationName:"tags" min:"1" type:"map" required:"true"` -} - -// String returns the string representation -func (s TagResourceInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s TagResourceInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *TagResourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} - if s.ResourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceArn")) - } - if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) - } - if s.Tags == nil { - invalidParams.Add(request.NewErrParamRequired("Tags")) - } - if s.Tags != nil && len(s.Tags) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { - s.ResourceArn = &v - return s -} - -// SetTags sets the Tags field's value. -func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput { - s.Tags = v - return s -} - -type TagResourceOutput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation -func (s TagResourceOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s TagResourceOutput) GoString() string { - return s.String() -} - -// A property that allows a node to repel a set of pods. -type Taint struct { - _ struct{} `type:"structure"` - - // The effect of the taint. - Effect *string `locationName:"effect" type:"string" enum:"TaintEffect"` - - // The key of the taint. - Key *string `locationName:"key" min:"1" type:"string"` - - // The value of the taint. - Value *string `locationName:"value" type:"string"` -} - -// String returns the string representation -func (s Taint) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s Taint) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *Taint) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "Taint"} - if s.Key != nil && len(*s.Key) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Key", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetEffect sets the Effect field's value. -func (s *Taint) SetEffect(v string) *Taint { - s.Effect = &v - return s -} - -// SetKey sets the Key field's value. -func (s *Taint) SetKey(v string) *Taint { - s.Key = &v - return s -} - -// SetValue sets the Value field's value. -func (s *Taint) SetValue(v string) *Taint { - s.Value = &v - return s -} - -// At least one of your specified cluster subnets is in an Availability Zone -// that does not support Amazon EKS. The exception output specifies the supported -// Availability Zones for your account, from which you can choose subnets for -// your cluster. -type UnsupportedAvailabilityZoneException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` - - // The Amazon EKS cluster associated with the exception. - ClusterName *string `locationName:"clusterName" type:"string"` - - Message_ *string `locationName:"message" type:"string"` - - // The Amazon EKS managed node group associated with the exception. - NodegroupName *string `locationName:"nodegroupName" type:"string"` - - // The supported Availability Zones for your account. Choose subnets in these - // Availability Zones for your cluster. - ValidZones []*string `locationName:"validZones" type:"list"` -} - -// String returns the string representation -func (s UnsupportedAvailabilityZoneException) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UnsupportedAvailabilityZoneException) GoString() string { - return s.String() -} - -func newErrorUnsupportedAvailabilityZoneException(v protocol.ResponseMetadata) error { - return &UnsupportedAvailabilityZoneException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *UnsupportedAvailabilityZoneException) Code() string { - return "UnsupportedAvailabilityZoneException" -} - -// Message returns the exception's message. -func (s *UnsupportedAvailabilityZoneException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *UnsupportedAvailabilityZoneException) OrigErr() error { - return nil -} - -func (s *UnsupportedAvailabilityZoneException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *UnsupportedAvailabilityZoneException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *UnsupportedAvailabilityZoneException) RequestID() string { - return s.RespMetadata.RequestID -} - -type UntagResourceInput struct { - _ struct{} `type:"structure"` - - // The Amazon Resource Name (ARN) of the resource from which to delete tags. - // Currently, the supported resources are Amazon EKS clusters and managed node - // groups. - // - // ResourceArn is a required field - ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"` - - // The keys of the tags to be removed. - // - // TagKeys is a required field - TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` -} - -// String returns the string representation -func (s UntagResourceInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UntagResourceInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *UntagResourceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} - if s.ResourceArn == nil { - invalidParams.Add(request.NewErrParamRequired("ResourceArn")) - } - if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) - } - if s.TagKeys == nil { - invalidParams.Add(request.NewErrParamRequired("TagKeys")) - } - if s.TagKeys != nil && len(s.TagKeys) < 1 { - invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetResourceArn sets the ResourceArn field's value. -func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { - s.ResourceArn = &v - return s -} - -// SetTagKeys sets the TagKeys field's value. -func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { - s.TagKeys = v - return s -} - -type UntagResourceOutput struct { - _ struct{} `type:"structure"` -} - -// String returns the string representation -func (s UntagResourceOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UntagResourceOutput) GoString() string { - return s.String() -} - -// An object representing an asynchronous update. -type Update struct { - _ struct{} `type:"structure"` - - // The Unix epoch timestamp in seconds for when the update was created. - CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` - - // Any errors associated with a Failed update. - Errors []*ErrorDetail `locationName:"errors" type:"list"` - - // A UUID that is used to track the update. - Id *string `locationName:"id" type:"string"` - - // A key-value map that contains the parameters associated with the update. - Params []*UpdateParam `locationName:"params" type:"list"` - - // The current status of the update. - Status *string `locationName:"status" type:"string" enum:"UpdateStatus"` - - // The type of the update. - Type *string `locationName:"type" type:"string" enum:"UpdateType"` -} - -// String returns the string representation -func (s Update) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s Update) GoString() string { - return s.String() -} - -// SetCreatedAt sets the CreatedAt field's value. -func (s *Update) SetCreatedAt(v time.Time) *Update { - s.CreatedAt = &v - return s -} - -// SetErrors sets the Errors field's value. -func (s *Update) SetErrors(v []*ErrorDetail) *Update { - s.Errors = v - return s -} - -// SetId sets the Id field's value. -func (s *Update) SetId(v string) *Update { - s.Id = &v - return s -} - -// SetParams sets the Params field's value. -func (s *Update) SetParams(v []*UpdateParam) *Update { - s.Params = v - return s -} - -// SetStatus sets the Status field's value. -func (s *Update) SetStatus(v string) *Update { - s.Status = &v - return s -} - -// SetType sets the Type field's value. -func (s *Update) SetType(v string) *Update { - s.Type = &v - return s -} - -type UpdateAddonInput struct { - _ struct{} `type:"structure"` - - // The name of the add-on. The name must match one of the names returned by - // ListAddons (https://docs.aws.amazon.com/eks/latest/APIReference/API_ListAddons.html). - // - // AddonName is a required field - AddonName *string `location:"uri" locationName:"addonName" type:"string" required:"true"` - - // The version of the add-on. The version must match one of the versions returned - // by DescribeAddonVersions (https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeAddonVersions.html). - AddonVersion *string `locationName:"addonVersion" type:"string"` - - // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. - ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` - - // The name of the cluster. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" min:"1" type:"string" required:"true"` - - // How to resolve parameter value conflicts when applying the new version of - // the add-on to the cluster. - ResolveConflicts *string `locationName:"resolveConflicts" type:"string" enum:"ResolveConflicts"` - - // The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's - // service account. The role must be assigned the IAM permissions required by - // the add-on. If you don't specify an existing IAM role, then the add-on uses - // the permissions assigned to the node IAM role. For more information, see - // Amazon EKS node IAM role (https://docs.aws.amazon.com/eks/latest/userguide/create-node-role.html) - // in the Amazon EKS User Guide. - // - // To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) - // provider created for your cluster. For more information, see Enabling IAM - // roles for service accounts on your cluster (https://docs.aws.amazon.com/eks/latest/userguide/enable-iam-roles-for-service-accounts.html) - // in the Amazon EKS User Guide. - ServiceAccountRoleArn *string `locationName:"serviceAccountRoleArn" min:"1" type:"string"` -} - -// String returns the string representation -func (s UpdateAddonInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UpdateAddonInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateAddonInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateAddonInput"} - if s.AddonName == nil { - invalidParams.Add(request.NewErrParamRequired("AddonName")) - } - if s.AddonName != nil && len(*s.AddonName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("AddonName", 1)) - } - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.ServiceAccountRoleArn != nil && len(*s.ServiceAccountRoleArn) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ServiceAccountRoleArn", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAddonName sets the AddonName field's value. -func (s *UpdateAddonInput) SetAddonName(v string) *UpdateAddonInput { - s.AddonName = &v - return s -} - -// SetAddonVersion sets the AddonVersion field's value. -func (s *UpdateAddonInput) SetAddonVersion(v string) *UpdateAddonInput { - s.AddonVersion = &v - return s -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *UpdateAddonInput) SetClientRequestToken(v string) *UpdateAddonInput { - s.ClientRequestToken = &v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *UpdateAddonInput) SetClusterName(v string) *UpdateAddonInput { - s.ClusterName = &v - return s -} - -// SetResolveConflicts sets the ResolveConflicts field's value. -func (s *UpdateAddonInput) SetResolveConflicts(v string) *UpdateAddonInput { - s.ResolveConflicts = &v - return s -} - -// SetServiceAccountRoleArn sets the ServiceAccountRoleArn field's value. -func (s *UpdateAddonInput) SetServiceAccountRoleArn(v string) *UpdateAddonInput { - s.ServiceAccountRoleArn = &v - return s -} - -type UpdateAddonOutput struct { - _ struct{} `type:"structure"` - - // An object representing an asynchronous update. - Update *Update `locationName:"update" type:"structure"` -} - -// String returns the string representation -func (s UpdateAddonOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UpdateAddonOutput) GoString() string { - return s.String() -} - -// SetUpdate sets the Update field's value. -func (s *UpdateAddonOutput) SetUpdate(v *Update) *UpdateAddonOutput { - s.Update = v - return s -} - -type UpdateClusterConfigInput struct { - _ struct{} `type:"structure"` - - // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. - ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` - - // Enable or disable exporting the Kubernetes control plane logs for your cluster - // to CloudWatch Logs. By default, cluster control plane logs aren't exported - // to CloudWatch Logs. For more information, see Amazon EKS Cluster Control - // Plane Logs (https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html) - // in the Amazon EKS User Guide . - // - // CloudWatch Logs ingestion, archive storage, and data scanning rates apply - // to exported control plane logs. For more information, see Amazon CloudWatch - // Pricing (http://aws.amazon.com/cloudwatch/pricing/). - Logging *Logging `locationName:"logging" type:"structure"` - - // The name of the Amazon EKS cluster to update. - // - // Name is a required field - Name *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // An object representing the VPC configuration to use for an Amazon EKS cluster. - ResourcesVpcConfig *VpcConfigRequest `locationName:"resourcesVpcConfig" type:"structure"` -} - -// String returns the string representation -func (s UpdateClusterConfigInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UpdateClusterConfigInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateClusterConfigInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateClusterConfigInput"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *UpdateClusterConfigInput) SetClientRequestToken(v string) *UpdateClusterConfigInput { - s.ClientRequestToken = &v - return s -} - -// SetLogging sets the Logging field's value. -func (s *UpdateClusterConfigInput) SetLogging(v *Logging) *UpdateClusterConfigInput { - s.Logging = v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateClusterConfigInput) SetName(v string) *UpdateClusterConfigInput { - s.Name = &v - return s -} - -// SetResourcesVpcConfig sets the ResourcesVpcConfig field's value. -func (s *UpdateClusterConfigInput) SetResourcesVpcConfig(v *VpcConfigRequest) *UpdateClusterConfigInput { - s.ResourcesVpcConfig = v - return s -} - -type UpdateClusterConfigOutput struct { - _ struct{} `type:"structure"` - - // An object representing an asynchronous update. - Update *Update `locationName:"update" type:"structure"` -} - -// String returns the string representation -func (s UpdateClusterConfigOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UpdateClusterConfigOutput) GoString() string { - return s.String() -} - -// SetUpdate sets the Update field's value. -func (s *UpdateClusterConfigOutput) SetUpdate(v *Update) *UpdateClusterConfigOutput { - s.Update = v - return s -} - -type UpdateClusterVersionInput struct { - _ struct{} `type:"structure"` - - // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. - ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` - - // The name of the Amazon EKS cluster to update. - // - // Name is a required field - Name *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // The desired Kubernetes version following a successful update. - // - // Version is a required field - Version *string `locationName:"version" type:"string" required:"true"` -} - -// String returns the string representation -func (s UpdateClusterVersionInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UpdateClusterVersionInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateClusterVersionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateClusterVersionInput"} - if s.Name == nil { - invalidParams.Add(request.NewErrParamRequired("Name")) - } - if s.Name != nil && len(*s.Name) < 1 { - invalidParams.Add(request.NewErrParamMinLen("Name", 1)) - } - if s.Version == nil { - invalidParams.Add(request.NewErrParamRequired("Version")) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *UpdateClusterVersionInput) SetClientRequestToken(v string) *UpdateClusterVersionInput { - s.ClientRequestToken = &v - return s -} - -// SetName sets the Name field's value. -func (s *UpdateClusterVersionInput) SetName(v string) *UpdateClusterVersionInput { - s.Name = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *UpdateClusterVersionInput) SetVersion(v string) *UpdateClusterVersionInput { - s.Version = &v - return s -} - -type UpdateClusterVersionOutput struct { - _ struct{} `type:"structure"` - - // The full description of the specified update - Update *Update `locationName:"update" type:"structure"` -} - -// String returns the string representation -func (s UpdateClusterVersionOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UpdateClusterVersionOutput) GoString() string { - return s.String() -} - -// SetUpdate sets the Update field's value. -func (s *UpdateClusterVersionOutput) SetUpdate(v *Update) *UpdateClusterVersionOutput { - s.Update = v - return s -} - -// An object representing a Kubernetes label change for a managed node group. -type UpdateLabelsPayload struct { - _ struct{} `type:"structure"` - - // Kubernetes labels to be added or updated. - AddOrUpdateLabels map[string]*string `locationName:"addOrUpdateLabels" type:"map"` - - // Kubernetes labels to be removed. - RemoveLabels []*string `locationName:"removeLabels" type:"list"` -} - -// String returns the string representation -func (s UpdateLabelsPayload) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UpdateLabelsPayload) GoString() string { - return s.String() -} - -// SetAddOrUpdateLabels sets the AddOrUpdateLabels field's value. -func (s *UpdateLabelsPayload) SetAddOrUpdateLabels(v map[string]*string) *UpdateLabelsPayload { - s.AddOrUpdateLabels = v - return s -} - -// SetRemoveLabels sets the RemoveLabels field's value. -func (s *UpdateLabelsPayload) SetRemoveLabels(v []*string) *UpdateLabelsPayload { - s.RemoveLabels = v - return s -} - -type UpdateNodegroupConfigInput struct { - _ struct{} `type:"structure"` - - // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. - ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` - - // The name of the Amazon EKS cluster that the managed node group resides in. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // The Kubernetes labels to be applied to the nodes in the node group after - // the update. - Labels *UpdateLabelsPayload `locationName:"labels" type:"structure"` - - // The name of the managed node group to update. - // - // NodegroupName is a required field - NodegroupName *string `location:"uri" locationName:"nodegroupName" type:"string" required:"true"` - - // The scaling configuration details for the Auto Scaling group after the update. - ScalingConfig *NodegroupScalingConfig `locationName:"scalingConfig" type:"structure"` - - // The Kubernetes taints to be applied to the nodes in the node group after - // the update. - Taints *UpdateTaintsPayload `locationName:"taints" type:"structure"` -} - -// String returns the string representation -func (s UpdateNodegroupConfigInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UpdateNodegroupConfigInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateNodegroupConfigInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateNodegroupConfigInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.NodegroupName == nil { - invalidParams.Add(request.NewErrParamRequired("NodegroupName")) - } - if s.NodegroupName != nil && len(*s.NodegroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NodegroupName", 1)) - } - if s.ScalingConfig != nil { - if err := s.ScalingConfig.Validate(); err != nil { - invalidParams.AddNested("ScalingConfig", err.(request.ErrInvalidParams)) - } - } - if s.Taints != nil { - if err := s.Taints.Validate(); err != nil { - invalidParams.AddNested("Taints", err.(request.ErrInvalidParams)) - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *UpdateNodegroupConfigInput) SetClientRequestToken(v string) *UpdateNodegroupConfigInput { - s.ClientRequestToken = &v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *UpdateNodegroupConfigInput) SetClusterName(v string) *UpdateNodegroupConfigInput { - s.ClusterName = &v - return s -} - -// SetLabels sets the Labels field's value. -func (s *UpdateNodegroupConfigInput) SetLabels(v *UpdateLabelsPayload) *UpdateNodegroupConfigInput { - s.Labels = v - return s -} - -// SetNodegroupName sets the NodegroupName field's value. -func (s *UpdateNodegroupConfigInput) SetNodegroupName(v string) *UpdateNodegroupConfigInput { - s.NodegroupName = &v - return s -} - -// SetScalingConfig sets the ScalingConfig field's value. -func (s *UpdateNodegroupConfigInput) SetScalingConfig(v *NodegroupScalingConfig) *UpdateNodegroupConfigInput { - s.ScalingConfig = v - return s -} - -// SetTaints sets the Taints field's value. -func (s *UpdateNodegroupConfigInput) SetTaints(v *UpdateTaintsPayload) *UpdateNodegroupConfigInput { - s.Taints = v - return s -} - -type UpdateNodegroupConfigOutput struct { - _ struct{} `type:"structure"` - - // An object representing an asynchronous update. - Update *Update `locationName:"update" type:"structure"` -} - -// String returns the string representation -func (s UpdateNodegroupConfigOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UpdateNodegroupConfigOutput) GoString() string { - return s.String() -} - -// SetUpdate sets the Update field's value. -func (s *UpdateNodegroupConfigOutput) SetUpdate(v *Update) *UpdateNodegroupConfigOutput { - s.Update = v - return s -} - -type UpdateNodegroupVersionInput struct { - _ struct{} `type:"structure"` - - // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. - ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` - - // The name of the Amazon EKS cluster that is associated with the managed node - // group to update. - // - // ClusterName is a required field - ClusterName *string `location:"uri" locationName:"name" type:"string" required:"true"` - - // Force the update if the existing node group's pods are unable to be drained - // due to a pod disruption budget issue. If an update fails because pods could - // not be drained, you can force the update after it fails to terminate the - // old node whether or not any pods are running on the node. - Force *bool `locationName:"force" type:"boolean"` - - // An object representing a node group's launch template specification. You - // can only update a node group using a launch template if the node group was - // originally deployed with a launch template. - LaunchTemplate *LaunchTemplateSpecification `locationName:"launchTemplate" type:"structure"` - - // The name of the managed node group to update. - // - // NodegroupName is a required field - NodegroupName *string `location:"uri" locationName:"nodegroupName" type:"string" required:"true"` - - // The AMI version of the Amazon EKS optimized AMI to use for the update. By - // default, the latest available AMI version for the node group's Kubernetes - // version is used. For more information, see Amazon EKS optimized Amazon Linux - // 2 AMI versions (https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html) - // in the Amazon EKS User Guide. If you specify launchTemplate, and your launch - // template uses a custom AMI, then don't specify releaseVersion, or the node - // group update will fail. For more information about using launch templates - // with Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) - // in the Amazon EKS User Guide. - ReleaseVersion *string `locationName:"releaseVersion" type:"string"` - - // The Kubernetes version to update to. If no version is specified, then the - // Kubernetes version of the node group does not change. You can specify the - // Kubernetes version of the cluster to update the node group to the latest - // AMI version of the cluster's Kubernetes version. If you specify launchTemplate, - // and your launch template uses a custom AMI, then don't specify version, or - // the node group update will fail. For more information about using launch - // templates with Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html) - // in the Amazon EKS User Guide. - Version *string `locationName:"version" type:"string"` -} - -// String returns the string representation -func (s UpdateNodegroupVersionInput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UpdateNodegroupVersionInput) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateNodegroupVersionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateNodegroupVersionInput"} - if s.ClusterName == nil { - invalidParams.Add(request.NewErrParamRequired("ClusterName")) - } - if s.ClusterName != nil && len(*s.ClusterName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ClusterName", 1)) - } - if s.NodegroupName == nil { - invalidParams.Add(request.NewErrParamRequired("NodegroupName")) - } - if s.NodegroupName != nil && len(*s.NodegroupName) < 1 { - invalidParams.Add(request.NewErrParamMinLen("NodegroupName", 1)) - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetClientRequestToken sets the ClientRequestToken field's value. -func (s *UpdateNodegroupVersionInput) SetClientRequestToken(v string) *UpdateNodegroupVersionInput { - s.ClientRequestToken = &v - return s -} - -// SetClusterName sets the ClusterName field's value. -func (s *UpdateNodegroupVersionInput) SetClusterName(v string) *UpdateNodegroupVersionInput { - s.ClusterName = &v - return s -} - -// SetForce sets the Force field's value. -func (s *UpdateNodegroupVersionInput) SetForce(v bool) *UpdateNodegroupVersionInput { - s.Force = &v - return s -} - -// SetLaunchTemplate sets the LaunchTemplate field's value. -func (s *UpdateNodegroupVersionInput) SetLaunchTemplate(v *LaunchTemplateSpecification) *UpdateNodegroupVersionInput { - s.LaunchTemplate = v - return s -} - -// SetNodegroupName sets the NodegroupName field's value. -func (s *UpdateNodegroupVersionInput) SetNodegroupName(v string) *UpdateNodegroupVersionInput { - s.NodegroupName = &v - return s -} - -// SetReleaseVersion sets the ReleaseVersion field's value. -func (s *UpdateNodegroupVersionInput) SetReleaseVersion(v string) *UpdateNodegroupVersionInput { - s.ReleaseVersion = &v - return s -} - -// SetVersion sets the Version field's value. -func (s *UpdateNodegroupVersionInput) SetVersion(v string) *UpdateNodegroupVersionInput { - s.Version = &v - return s -} - -type UpdateNodegroupVersionOutput struct { - _ struct{} `type:"structure"` - - // An object representing an asynchronous update. - Update *Update `locationName:"update" type:"structure"` -} - -// String returns the string representation -func (s UpdateNodegroupVersionOutput) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UpdateNodegroupVersionOutput) GoString() string { - return s.String() -} - -// SetUpdate sets the Update field's value. -func (s *UpdateNodegroupVersionOutput) SetUpdate(v *Update) *UpdateNodegroupVersionOutput { - s.Update = v - return s -} - -// An object representing the details of an update request. -type UpdateParam struct { - _ struct{} `type:"structure"` - - // The keys associated with an update request. - Type *string `locationName:"type" type:"string" enum:"UpdateParamType"` - - // The value of the keys submitted as part of an update request. - Value *string `locationName:"value" type:"string"` -} - -// String returns the string representation -func (s UpdateParam) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UpdateParam) GoString() string { - return s.String() -} - -// SetType sets the Type field's value. -func (s *UpdateParam) SetType(v string) *UpdateParam { - s.Type = &v - return s -} - -// SetValue sets the Value field's value. -func (s *UpdateParam) SetValue(v string) *UpdateParam { - s.Value = &v - return s -} - -// An object representing the details of an update to a taints payload. -type UpdateTaintsPayload struct { - _ struct{} `type:"structure"` - - // Kubernetes taints to be added or updated. - AddOrUpdateTaints []*Taint `locationName:"addOrUpdateTaints" type:"list"` - - // Kubernetes taints to be removed. - RemoveTaints []*Taint `locationName:"removeTaints" type:"list"` -} - -// String returns the string representation -func (s UpdateTaintsPayload) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s UpdateTaintsPayload) GoString() string { - return s.String() -} - -// Validate inspects the fields of the type to determine if they are valid. -func (s *UpdateTaintsPayload) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "UpdateTaintsPayload"} - if s.AddOrUpdateTaints != nil { - for i, v := range s.AddOrUpdateTaints { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "AddOrUpdateTaints", i), err.(request.ErrInvalidParams)) - } - } - } - if s.RemoveTaints != nil { - for i, v := range s.RemoveTaints { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "RemoveTaints", i), err.(request.ErrInvalidParams)) - } - } - } - - if invalidParams.Len() > 0 { - return invalidParams - } - return nil -} - -// SetAddOrUpdateTaints sets the AddOrUpdateTaints field's value. -func (s *UpdateTaintsPayload) SetAddOrUpdateTaints(v []*Taint) *UpdateTaintsPayload { - s.AddOrUpdateTaints = v - return s -} - -// SetRemoveTaints sets the RemoveTaints field's value. -func (s *UpdateTaintsPayload) SetRemoveTaints(v []*Taint) *UpdateTaintsPayload { - s.RemoveTaints = v - return s -} - -// An object representing the VPC configuration to use for an Amazon EKS cluster. -type VpcConfigRequest struct { - _ struct{} `type:"structure"` - - // Set this value to true to enable private access for your cluster's Kubernetes - // API server endpoint. If you enable private access, Kubernetes API requests - // from within your cluster's VPC use the private VPC endpoint. The default - // value for this parameter is false, which disables private access for your - // Kubernetes API server. If you disable private access and you have nodes or - // AWS Fargate pods in the cluster, then ensure that publicAccessCidrs includes - // the necessary CIDR blocks for communication with the nodes or Fargate pods. - // For more information, see Amazon EKS Cluster Endpoint Access Control (https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html) - // in the Amazon EKS User Guide . - EndpointPrivateAccess *bool `locationName:"endpointPrivateAccess" type:"boolean"` - - // Set this value to false to disable public access to your cluster's Kubernetes - // API server endpoint. If you disable public access, your cluster's Kubernetes - // API server can only receive requests from within the cluster VPC. The default - // value for this parameter is true, which enables public access for your Kubernetes - // API server. For more information, see Amazon EKS Cluster Endpoint Access - // Control (https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html) - // in the Amazon EKS User Guide . - EndpointPublicAccess *bool `locationName:"endpointPublicAccess" type:"boolean"` - - // The CIDR blocks that are allowed access to your cluster's public Kubernetes - // API server endpoint. Communication to the endpoint from addresses outside - // of the CIDR blocks that you specify is denied. The default value is 0.0.0.0/0. - // If you've disabled private endpoint access and you have nodes or AWS Fargate - // pods in the cluster, then ensure that you specify the necessary CIDR blocks. - // For more information, see Amazon EKS Cluster Endpoint Access Control (https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html) - // in the Amazon EKS User Guide . - PublicAccessCidrs []*string `locationName:"publicAccessCidrs" type:"list"` - - // Specify one or more security groups for the cross-account elastic network - // interfaces that Amazon EKS creates to use to allow communication between - // your nodes and the Kubernetes control plane. If you don't specify any security - // groups, then familiarize yourself with the difference between Amazon EKS - // defaults for clusters deployed with Kubernetes: - // - // * 1.14 Amazon EKS platform version eks.2 and earlier - // - // * 1.14 Amazon EKS platform version eks.3 and later - // - // For more information, see Amazon EKS security group considerations (https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html) - // in the Amazon EKS User Guide . - SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` - - // Specify subnets for your Amazon EKS nodes. Amazon EKS creates cross-account - // elastic network interfaces in these subnets to allow communication between - // your nodes and the Kubernetes control plane. - SubnetIds []*string `locationName:"subnetIds" type:"list"` -} - -// String returns the string representation -func (s VpcConfigRequest) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s VpcConfigRequest) GoString() string { - return s.String() -} - -// SetEndpointPrivateAccess sets the EndpointPrivateAccess field's value. -func (s *VpcConfigRequest) SetEndpointPrivateAccess(v bool) *VpcConfigRequest { - s.EndpointPrivateAccess = &v - return s -} - -// SetEndpointPublicAccess sets the EndpointPublicAccess field's value. -func (s *VpcConfigRequest) SetEndpointPublicAccess(v bool) *VpcConfigRequest { - s.EndpointPublicAccess = &v - return s -} - -// SetPublicAccessCidrs sets the PublicAccessCidrs field's value. -func (s *VpcConfigRequest) SetPublicAccessCidrs(v []*string) *VpcConfigRequest { - s.PublicAccessCidrs = v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *VpcConfigRequest) SetSecurityGroupIds(v []*string) *VpcConfigRequest { - s.SecurityGroupIds = v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *VpcConfigRequest) SetSubnetIds(v []*string) *VpcConfigRequest { - s.SubnetIds = v - return s -} - -// An object representing an Amazon EKS cluster VPC configuration response. -type VpcConfigResponse struct { - _ struct{} `type:"structure"` - - // The cluster security group that was created by Amazon EKS for the cluster. - // Managed node groups use this security group for control-plane-to-data-plane - // communication. - ClusterSecurityGroupId *string `locationName:"clusterSecurityGroupId" type:"string"` - - // This parameter indicates whether the Amazon EKS private API server endpoint - // is enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes - // API requests that originate from within your cluster's VPC use the private - // VPC endpoint instead of traversing the internet. If this value is disabled - // and you have nodes or AWS Fargate pods in the cluster, then ensure that publicAccessCidrs - // includes the necessary CIDR blocks for communication with the nodes or Fargate - // pods. For more information, see Amazon EKS Cluster Endpoint Access Control - // (https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html) - // in the Amazon EKS User Guide . - EndpointPrivateAccess *bool `locationName:"endpointPrivateAccess" type:"boolean"` - - // This parameter indicates whether the Amazon EKS public API server endpoint - // is enabled. If the Amazon EKS public API server endpoint is disabled, your - // cluster's Kubernetes API server can only receive requests that originate - // from within the cluster VPC. - EndpointPublicAccess *bool `locationName:"endpointPublicAccess" type:"boolean"` - - // The CIDR blocks that are allowed access to your cluster's public Kubernetes - // API server endpoint. Communication to the endpoint from addresses outside - // of the listed CIDR blocks is denied. The default value is 0.0.0.0/0. If you've - // disabled private endpoint access and you have nodes or AWS Fargate pods in - // the cluster, then ensure that the necessary CIDR blocks are listed. For more - // information, see Amazon EKS Cluster Endpoint Access Control (https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html) - // in the Amazon EKS User Guide . - PublicAccessCidrs []*string `locationName:"publicAccessCidrs" type:"list"` - - // The security groups associated with the cross-account elastic network interfaces - // that are used to allow communication between your nodes and the Kubernetes - // control plane. - SecurityGroupIds []*string `locationName:"securityGroupIds" type:"list"` - - // The subnets associated with your cluster. - SubnetIds []*string `locationName:"subnetIds" type:"list"` - - // The VPC associated with your cluster. - VpcId *string `locationName:"vpcId" type:"string"` -} - -// String returns the string representation -func (s VpcConfigResponse) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation -func (s VpcConfigResponse) GoString() string { - return s.String() -} - -// SetClusterSecurityGroupId sets the ClusterSecurityGroupId field's value. -func (s *VpcConfigResponse) SetClusterSecurityGroupId(v string) *VpcConfigResponse { - s.ClusterSecurityGroupId = &v - return s -} - -// SetEndpointPrivateAccess sets the EndpointPrivateAccess field's value. -func (s *VpcConfigResponse) SetEndpointPrivateAccess(v bool) *VpcConfigResponse { - s.EndpointPrivateAccess = &v - return s -} - -// SetEndpointPublicAccess sets the EndpointPublicAccess field's value. -func (s *VpcConfigResponse) SetEndpointPublicAccess(v bool) *VpcConfigResponse { - s.EndpointPublicAccess = &v - return s -} - -// SetPublicAccessCidrs sets the PublicAccessCidrs field's value. -func (s *VpcConfigResponse) SetPublicAccessCidrs(v []*string) *VpcConfigResponse { - s.PublicAccessCidrs = v - return s -} - -// SetSecurityGroupIds sets the SecurityGroupIds field's value. -func (s *VpcConfigResponse) SetSecurityGroupIds(v []*string) *VpcConfigResponse { - s.SecurityGroupIds = v - return s -} - -// SetSubnetIds sets the SubnetIds field's value. -func (s *VpcConfigResponse) SetSubnetIds(v []*string) *VpcConfigResponse { - s.SubnetIds = v - return s -} - -// SetVpcId sets the VpcId field's value. -func (s *VpcConfigResponse) SetVpcId(v string) *VpcConfigResponse { - s.VpcId = &v - return s -} - -const ( - // AMITypesAl2X8664 is a AMITypes enum value - AMITypesAl2X8664 = "AL2_x86_64" - - // AMITypesAl2X8664Gpu is a AMITypes enum value - AMITypesAl2X8664Gpu = "AL2_x86_64_GPU" - - // AMITypesAl2Arm64 is a AMITypes enum value - AMITypesAl2Arm64 = "AL2_ARM_64" - - // AMITypesCustom is a AMITypes enum value - AMITypesCustom = "CUSTOM" -) - -// AMITypes_Values returns all elements of the AMITypes enum -func AMITypes_Values() []string { - return []string{ - AMITypesAl2X8664, - AMITypesAl2X8664Gpu, - AMITypesAl2Arm64, - AMITypesCustom, - } -} - -const ( - // AddonIssueCodeAccessDenied is a AddonIssueCode enum value - AddonIssueCodeAccessDenied = "AccessDenied" - - // AddonIssueCodeInternalFailure is a AddonIssueCode enum value - AddonIssueCodeInternalFailure = "InternalFailure" - - // AddonIssueCodeClusterUnreachable is a AddonIssueCode enum value - AddonIssueCodeClusterUnreachable = "ClusterUnreachable" - - // AddonIssueCodeInsufficientNumberOfReplicas is a AddonIssueCode enum value - AddonIssueCodeInsufficientNumberOfReplicas = "InsufficientNumberOfReplicas" - - // AddonIssueCodeConfigurationConflict is a AddonIssueCode enum value - AddonIssueCodeConfigurationConflict = "ConfigurationConflict" - - // AddonIssueCodeAdmissionRequestDenied is a AddonIssueCode enum value - AddonIssueCodeAdmissionRequestDenied = "AdmissionRequestDenied" -) - -// AddonIssueCode_Values returns all elements of the AddonIssueCode enum -func AddonIssueCode_Values() []string { - return []string{ - AddonIssueCodeAccessDenied, - AddonIssueCodeInternalFailure, - AddonIssueCodeClusterUnreachable, - AddonIssueCodeInsufficientNumberOfReplicas, - AddonIssueCodeConfigurationConflict, - AddonIssueCodeAdmissionRequestDenied, - } -} - -const ( - // AddonStatusCreating is a AddonStatus enum value - AddonStatusCreating = "CREATING" - - // AddonStatusActive is a AddonStatus enum value - AddonStatusActive = "ACTIVE" - - // AddonStatusCreateFailed is a AddonStatus enum value - AddonStatusCreateFailed = "CREATE_FAILED" - - // AddonStatusUpdating is a AddonStatus enum value - AddonStatusUpdating = "UPDATING" - - // AddonStatusDeleting is a AddonStatus enum value - AddonStatusDeleting = "DELETING" - - // AddonStatusDeleteFailed is a AddonStatus enum value - AddonStatusDeleteFailed = "DELETE_FAILED" - - // AddonStatusDegraded is a AddonStatus enum value - AddonStatusDegraded = "DEGRADED" -) - -// AddonStatus_Values returns all elements of the AddonStatus enum -func AddonStatus_Values() []string { - return []string{ - AddonStatusCreating, - AddonStatusActive, - AddonStatusCreateFailed, - AddonStatusUpdating, - AddonStatusDeleting, - AddonStatusDeleteFailed, - AddonStatusDegraded, - } -} - -const ( - // CapacityTypesOnDemand is a CapacityTypes enum value - CapacityTypesOnDemand = "ON_DEMAND" - - // CapacityTypesSpot is a CapacityTypes enum value - CapacityTypesSpot = "SPOT" -) - -// CapacityTypes_Values returns all elements of the CapacityTypes enum -func CapacityTypes_Values() []string { - return []string{ - CapacityTypesOnDemand, - CapacityTypesSpot, - } -} - -const ( - // ClusterStatusCreating is a ClusterStatus enum value - ClusterStatusCreating = "CREATING" - - // ClusterStatusActive is a ClusterStatus enum value - ClusterStatusActive = "ACTIVE" - - // ClusterStatusDeleting is a ClusterStatus enum value - ClusterStatusDeleting = "DELETING" - - // ClusterStatusFailed is a ClusterStatus enum value - ClusterStatusFailed = "FAILED" - - // ClusterStatusUpdating is a ClusterStatus enum value - ClusterStatusUpdating = "UPDATING" -) - -// ClusterStatus_Values returns all elements of the ClusterStatus enum -func ClusterStatus_Values() []string { - return []string{ - ClusterStatusCreating, - ClusterStatusActive, - ClusterStatusDeleting, - ClusterStatusFailed, - ClusterStatusUpdating, - } -} - -const ( - // ConfigStatusCreating is a ConfigStatus enum value - ConfigStatusCreating = "CREATING" - - // ConfigStatusDeleting is a ConfigStatus enum value - ConfigStatusDeleting = "DELETING" - - // ConfigStatusActive is a ConfigStatus enum value - ConfigStatusActive = "ACTIVE" -) - -// ConfigStatus_Values returns all elements of the ConfigStatus enum -func ConfigStatus_Values() []string { - return []string{ - ConfigStatusCreating, - ConfigStatusDeleting, - ConfigStatusActive, - } -} - -const ( - // ErrorCodeSubnetNotFound is a ErrorCode enum value - ErrorCodeSubnetNotFound = "SubnetNotFound" - - // ErrorCodeSecurityGroupNotFound is a ErrorCode enum value - ErrorCodeSecurityGroupNotFound = "SecurityGroupNotFound" - - // ErrorCodeEniLimitReached is a ErrorCode enum value - ErrorCodeEniLimitReached = "EniLimitReached" - - // ErrorCodeIpNotAvailable is a ErrorCode enum value - ErrorCodeIpNotAvailable = "IpNotAvailable" - - // ErrorCodeAccessDenied is a ErrorCode enum value - ErrorCodeAccessDenied = "AccessDenied" - - // ErrorCodeOperationNotPermitted is a ErrorCode enum value - ErrorCodeOperationNotPermitted = "OperationNotPermitted" - - // ErrorCodeVpcIdNotFound is a ErrorCode enum value - ErrorCodeVpcIdNotFound = "VpcIdNotFound" - - // ErrorCodeUnknown is a ErrorCode enum value - ErrorCodeUnknown = "Unknown" - - // ErrorCodeNodeCreationFailure is a ErrorCode enum value - ErrorCodeNodeCreationFailure = "NodeCreationFailure" - - // ErrorCodePodEvictionFailure is a ErrorCode enum value - ErrorCodePodEvictionFailure = "PodEvictionFailure" - - // ErrorCodeInsufficientFreeAddresses is a ErrorCode enum value - ErrorCodeInsufficientFreeAddresses = "InsufficientFreeAddresses" - - // ErrorCodeClusterUnreachable is a ErrorCode enum value - ErrorCodeClusterUnreachable = "ClusterUnreachable" - - // ErrorCodeInsufficientNumberOfReplicas is a ErrorCode enum value - ErrorCodeInsufficientNumberOfReplicas = "InsufficientNumberOfReplicas" - - // ErrorCodeConfigurationConflict is a ErrorCode enum value - ErrorCodeConfigurationConflict = "ConfigurationConflict" - - // ErrorCodeAdmissionRequestDenied is a ErrorCode enum value - ErrorCodeAdmissionRequestDenied = "AdmissionRequestDenied" -) - -// ErrorCode_Values returns all elements of the ErrorCode enum -func ErrorCode_Values() []string { - return []string{ - ErrorCodeSubnetNotFound, - ErrorCodeSecurityGroupNotFound, - ErrorCodeEniLimitReached, - ErrorCodeIpNotAvailable, - ErrorCodeAccessDenied, - ErrorCodeOperationNotPermitted, - ErrorCodeVpcIdNotFound, - ErrorCodeUnknown, - ErrorCodeNodeCreationFailure, - ErrorCodePodEvictionFailure, - ErrorCodeInsufficientFreeAddresses, - ErrorCodeClusterUnreachable, - ErrorCodeInsufficientNumberOfReplicas, - ErrorCodeConfigurationConflict, - ErrorCodeAdmissionRequestDenied, - } -} - -const ( - // FargateProfileStatusCreating is a FargateProfileStatus enum value - FargateProfileStatusCreating = "CREATING" - - // FargateProfileStatusActive is a FargateProfileStatus enum value - FargateProfileStatusActive = "ACTIVE" - - // FargateProfileStatusDeleting is a FargateProfileStatus enum value - FargateProfileStatusDeleting = "DELETING" - - // FargateProfileStatusCreateFailed is a FargateProfileStatus enum value - FargateProfileStatusCreateFailed = "CREATE_FAILED" - - // FargateProfileStatusDeleteFailed is a FargateProfileStatus enum value - FargateProfileStatusDeleteFailed = "DELETE_FAILED" -) - -// FargateProfileStatus_Values returns all elements of the FargateProfileStatus enum -func FargateProfileStatus_Values() []string { - return []string{ - FargateProfileStatusCreating, - FargateProfileStatusActive, - FargateProfileStatusDeleting, - FargateProfileStatusCreateFailed, - FargateProfileStatusDeleteFailed, - } -} - -const ( - // LogTypeApi is a LogType enum value - LogTypeApi = "api" - - // LogTypeAudit is a LogType enum value - LogTypeAudit = "audit" - - // LogTypeAuthenticator is a LogType enum value - LogTypeAuthenticator = "authenticator" - - // LogTypeControllerManager is a LogType enum value - LogTypeControllerManager = "controllerManager" - - // LogTypeScheduler is a LogType enum value - LogTypeScheduler = "scheduler" -) - -// LogType_Values returns all elements of the LogType enum -func LogType_Values() []string { - return []string{ - LogTypeApi, - LogTypeAudit, - LogTypeAuthenticator, - LogTypeControllerManager, - LogTypeScheduler, - } -} - -const ( - // NodegroupIssueCodeAutoScalingGroupNotFound is a NodegroupIssueCode enum value - NodegroupIssueCodeAutoScalingGroupNotFound = "AutoScalingGroupNotFound" - - // NodegroupIssueCodeAutoScalingGroupInvalidConfiguration is a NodegroupIssueCode enum value - NodegroupIssueCodeAutoScalingGroupInvalidConfiguration = "AutoScalingGroupInvalidConfiguration" - - // NodegroupIssueCodeEc2securityGroupNotFound is a NodegroupIssueCode enum value - NodegroupIssueCodeEc2securityGroupNotFound = "Ec2SecurityGroupNotFound" - - // NodegroupIssueCodeEc2securityGroupDeletionFailure is a NodegroupIssueCode enum value - NodegroupIssueCodeEc2securityGroupDeletionFailure = "Ec2SecurityGroupDeletionFailure" - - // NodegroupIssueCodeEc2launchTemplateNotFound is a NodegroupIssueCode enum value - NodegroupIssueCodeEc2launchTemplateNotFound = "Ec2LaunchTemplateNotFound" - - // NodegroupIssueCodeEc2launchTemplateVersionMismatch is a NodegroupIssueCode enum value - NodegroupIssueCodeEc2launchTemplateVersionMismatch = "Ec2LaunchTemplateVersionMismatch" - - // NodegroupIssueCodeEc2subnetNotFound is a NodegroupIssueCode enum value - NodegroupIssueCodeEc2subnetNotFound = "Ec2SubnetNotFound" - - // NodegroupIssueCodeEc2subnetInvalidConfiguration is a NodegroupIssueCode enum value - NodegroupIssueCodeEc2subnetInvalidConfiguration = "Ec2SubnetInvalidConfiguration" - - // NodegroupIssueCodeIamInstanceProfileNotFound is a NodegroupIssueCode enum value - NodegroupIssueCodeIamInstanceProfileNotFound = "IamInstanceProfileNotFound" - - // NodegroupIssueCodeIamLimitExceeded is a NodegroupIssueCode enum value - NodegroupIssueCodeIamLimitExceeded = "IamLimitExceeded" - - // NodegroupIssueCodeIamNodeRoleNotFound is a NodegroupIssueCode enum value - NodegroupIssueCodeIamNodeRoleNotFound = "IamNodeRoleNotFound" - - // NodegroupIssueCodeNodeCreationFailure is a NodegroupIssueCode enum value - NodegroupIssueCodeNodeCreationFailure = "NodeCreationFailure" - - // NodegroupIssueCodeAsgInstanceLaunchFailures is a NodegroupIssueCode enum value - NodegroupIssueCodeAsgInstanceLaunchFailures = "AsgInstanceLaunchFailures" - - // NodegroupIssueCodeInstanceLimitExceeded is a NodegroupIssueCode enum value - NodegroupIssueCodeInstanceLimitExceeded = "InstanceLimitExceeded" - - // NodegroupIssueCodeInsufficientFreeAddresses is a NodegroupIssueCode enum value - NodegroupIssueCodeInsufficientFreeAddresses = "InsufficientFreeAddresses" - - // NodegroupIssueCodeAccessDenied is a NodegroupIssueCode enum value - NodegroupIssueCodeAccessDenied = "AccessDenied" - - // NodegroupIssueCodeInternalFailure is a NodegroupIssueCode enum value - NodegroupIssueCodeInternalFailure = "InternalFailure" - - // NodegroupIssueCodeClusterUnreachable is a NodegroupIssueCode enum value - NodegroupIssueCodeClusterUnreachable = "ClusterUnreachable" -) - -// NodegroupIssueCode_Values returns all elements of the NodegroupIssueCode enum -func NodegroupIssueCode_Values() []string { - return []string{ - NodegroupIssueCodeAutoScalingGroupNotFound, - NodegroupIssueCodeAutoScalingGroupInvalidConfiguration, - NodegroupIssueCodeEc2securityGroupNotFound, - NodegroupIssueCodeEc2securityGroupDeletionFailure, - NodegroupIssueCodeEc2launchTemplateNotFound, - NodegroupIssueCodeEc2launchTemplateVersionMismatch, - NodegroupIssueCodeEc2subnetNotFound, - NodegroupIssueCodeEc2subnetInvalidConfiguration, - NodegroupIssueCodeIamInstanceProfileNotFound, - NodegroupIssueCodeIamLimitExceeded, - NodegroupIssueCodeIamNodeRoleNotFound, - NodegroupIssueCodeNodeCreationFailure, - NodegroupIssueCodeAsgInstanceLaunchFailures, - NodegroupIssueCodeInstanceLimitExceeded, - NodegroupIssueCodeInsufficientFreeAddresses, - NodegroupIssueCodeAccessDenied, - NodegroupIssueCodeInternalFailure, - NodegroupIssueCodeClusterUnreachable, - } -} - -const ( - // NodegroupStatusCreating is a NodegroupStatus enum value - NodegroupStatusCreating = "CREATING" - - // NodegroupStatusActive is a NodegroupStatus enum value - NodegroupStatusActive = "ACTIVE" - - // NodegroupStatusUpdating is a NodegroupStatus enum value - NodegroupStatusUpdating = "UPDATING" - - // NodegroupStatusDeleting is a NodegroupStatus enum value - NodegroupStatusDeleting = "DELETING" - - // NodegroupStatusCreateFailed is a NodegroupStatus enum value - NodegroupStatusCreateFailed = "CREATE_FAILED" - - // NodegroupStatusDeleteFailed is a NodegroupStatus enum value - NodegroupStatusDeleteFailed = "DELETE_FAILED" - - // NodegroupStatusDegraded is a NodegroupStatus enum value - NodegroupStatusDegraded = "DEGRADED" -) - -// NodegroupStatus_Values returns all elements of the NodegroupStatus enum -func NodegroupStatus_Values() []string { - return []string{ - NodegroupStatusCreating, - NodegroupStatusActive, - NodegroupStatusUpdating, - NodegroupStatusDeleting, - NodegroupStatusCreateFailed, - NodegroupStatusDeleteFailed, - NodegroupStatusDegraded, - } -} - -const ( - // ResolveConflictsOverwrite is a ResolveConflicts enum value - ResolveConflictsOverwrite = "OVERWRITE" - - // ResolveConflictsNone is a ResolveConflicts enum value - ResolveConflictsNone = "NONE" -) - -// ResolveConflicts_Values returns all elements of the ResolveConflicts enum -func ResolveConflicts_Values() []string { - return []string{ - ResolveConflictsOverwrite, - ResolveConflictsNone, - } -} - -const ( - // TaintEffectNoSchedule is a TaintEffect enum value - TaintEffectNoSchedule = "NO_SCHEDULE" - - // TaintEffectNoExecute is a TaintEffect enum value - TaintEffectNoExecute = "NO_EXECUTE" - - // TaintEffectPreferNoSchedule is a TaintEffect enum value - TaintEffectPreferNoSchedule = "PREFER_NO_SCHEDULE" -) - -// TaintEffect_Values returns all elements of the TaintEffect enum -func TaintEffect_Values() []string { - return []string{ - TaintEffectNoSchedule, - TaintEffectNoExecute, - TaintEffectPreferNoSchedule, - } -} - -const ( - // UpdateParamTypeVersion is a UpdateParamType enum value - UpdateParamTypeVersion = "Version" - - // UpdateParamTypePlatformVersion is a UpdateParamType enum value - UpdateParamTypePlatformVersion = "PlatformVersion" - - // UpdateParamTypeEndpointPrivateAccess is a UpdateParamType enum value - UpdateParamTypeEndpointPrivateAccess = "EndpointPrivateAccess" - - // UpdateParamTypeEndpointPublicAccess is a UpdateParamType enum value - UpdateParamTypeEndpointPublicAccess = "EndpointPublicAccess" - - // UpdateParamTypeClusterLogging is a UpdateParamType enum value - UpdateParamTypeClusterLogging = "ClusterLogging" - - // UpdateParamTypeDesiredSize is a UpdateParamType enum value - UpdateParamTypeDesiredSize = "DesiredSize" - - // UpdateParamTypeLabelsToAdd is a UpdateParamType enum value - UpdateParamTypeLabelsToAdd = "LabelsToAdd" - - // UpdateParamTypeLabelsToRemove is a UpdateParamType enum value - UpdateParamTypeLabelsToRemove = "LabelsToRemove" - - // UpdateParamTypeTaintsToAdd is a UpdateParamType enum value - UpdateParamTypeTaintsToAdd = "TaintsToAdd" - - // UpdateParamTypeTaintsToRemove is a UpdateParamType enum value - UpdateParamTypeTaintsToRemove = "TaintsToRemove" - - // UpdateParamTypeMaxSize is a UpdateParamType enum value - UpdateParamTypeMaxSize = "MaxSize" - - // UpdateParamTypeMinSize is a UpdateParamType enum value - UpdateParamTypeMinSize = "MinSize" - - // UpdateParamTypeReleaseVersion is a UpdateParamType enum value - UpdateParamTypeReleaseVersion = "ReleaseVersion" - - // UpdateParamTypePublicAccessCidrs is a UpdateParamType enum value - UpdateParamTypePublicAccessCidrs = "PublicAccessCidrs" - - // UpdateParamTypeLaunchTemplateName is a UpdateParamType enum value - UpdateParamTypeLaunchTemplateName = "LaunchTemplateName" - - // UpdateParamTypeLaunchTemplateVersion is a UpdateParamType enum value - UpdateParamTypeLaunchTemplateVersion = "LaunchTemplateVersion" - - // UpdateParamTypeIdentityProviderConfig is a UpdateParamType enum value - UpdateParamTypeIdentityProviderConfig = "IdentityProviderConfig" - - // UpdateParamTypeEncryptionConfig is a UpdateParamType enum value - UpdateParamTypeEncryptionConfig = "EncryptionConfig" - - // UpdateParamTypeAddonVersion is a UpdateParamType enum value - UpdateParamTypeAddonVersion = "AddonVersion" - - // UpdateParamTypeServiceAccountRoleArn is a UpdateParamType enum value - UpdateParamTypeServiceAccountRoleArn = "ServiceAccountRoleArn" - - // UpdateParamTypeResolveConflicts is a UpdateParamType enum value - UpdateParamTypeResolveConflicts = "ResolveConflicts" -) - -// UpdateParamType_Values returns all elements of the UpdateParamType enum -func UpdateParamType_Values() []string { - return []string{ - UpdateParamTypeVersion, - UpdateParamTypePlatformVersion, - UpdateParamTypeEndpointPrivateAccess, - UpdateParamTypeEndpointPublicAccess, - UpdateParamTypeClusterLogging, - UpdateParamTypeDesiredSize, - UpdateParamTypeLabelsToAdd, - UpdateParamTypeLabelsToRemove, - UpdateParamTypeTaintsToAdd, - UpdateParamTypeTaintsToRemove, - UpdateParamTypeMaxSize, - UpdateParamTypeMinSize, - UpdateParamTypeReleaseVersion, - UpdateParamTypePublicAccessCidrs, - UpdateParamTypeLaunchTemplateName, - UpdateParamTypeLaunchTemplateVersion, - UpdateParamTypeIdentityProviderConfig, - UpdateParamTypeEncryptionConfig, - UpdateParamTypeAddonVersion, - UpdateParamTypeServiceAccountRoleArn, - UpdateParamTypeResolveConflicts, - } -} - -const ( - // UpdateStatusInProgress is a UpdateStatus enum value - UpdateStatusInProgress = "InProgress" - - // UpdateStatusFailed is a UpdateStatus enum value - UpdateStatusFailed = "Failed" - - // UpdateStatusCancelled is a UpdateStatus enum value - UpdateStatusCancelled = "Cancelled" - - // UpdateStatusSuccessful is a UpdateStatus enum value - UpdateStatusSuccessful = "Successful" -) - -// UpdateStatus_Values returns all elements of the UpdateStatus enum -func UpdateStatus_Values() []string { - return []string{ - UpdateStatusInProgress, - UpdateStatusFailed, - UpdateStatusCancelled, - UpdateStatusSuccessful, - } -} - -const ( - // UpdateTypeVersionUpdate is a UpdateType enum value - UpdateTypeVersionUpdate = "VersionUpdate" - - // UpdateTypeEndpointAccessUpdate is a UpdateType enum value - UpdateTypeEndpointAccessUpdate = "EndpointAccessUpdate" - - // UpdateTypeLoggingUpdate is a UpdateType enum value - UpdateTypeLoggingUpdate = "LoggingUpdate" - - // UpdateTypeConfigUpdate is a UpdateType enum value - UpdateTypeConfigUpdate = "ConfigUpdate" - - // UpdateTypeAssociateIdentityProviderConfig is a UpdateType enum value - UpdateTypeAssociateIdentityProviderConfig = "AssociateIdentityProviderConfig" - - // UpdateTypeDisassociateIdentityProviderConfig is a UpdateType enum value - UpdateTypeDisassociateIdentityProviderConfig = "DisassociateIdentityProviderConfig" - - // UpdateTypeAssociateEncryptionConfig is a UpdateType enum value - UpdateTypeAssociateEncryptionConfig = "AssociateEncryptionConfig" - - // UpdateTypeAddonUpdate is a UpdateType enum value - UpdateTypeAddonUpdate = "AddonUpdate" -) - -// UpdateType_Values returns all elements of the UpdateType enum -func UpdateType_Values() []string { - return []string{ - UpdateTypeVersionUpdate, - UpdateTypeEndpointAccessUpdate, - UpdateTypeLoggingUpdate, - UpdateTypeConfigUpdate, - UpdateTypeAssociateIdentityProviderConfig, - UpdateTypeDisassociateIdentityProviderConfig, - UpdateTypeAssociateEncryptionConfig, - UpdateTypeAddonUpdate, - } -} diff --git a/cluster-autoscaler/vendor/github.com/aws/aws-sdk-go/service/eks/doc.go b/cluster-autoscaler/vendor/github.com/aws/aws-sdk-go/service/eks/doc.go deleted file mode 100644 index d30d7ad088a8..000000000000 --- a/cluster-autoscaler/vendor/github.com/aws/aws-sdk-go/service/eks/doc.go +++ /dev/null @@ -1,40 +0,0 @@ -// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. - -// Package eks provides the client and types for making API -// requests to Amazon Elastic Kubernetes Service. -// -// Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that -// makes it easy for you to run Kubernetes on AWS without needing to stand up -// or maintain your own Kubernetes control plane. Kubernetes is an open-source -// system for automating the deployment, scaling, and management of containerized -// applications. -// -// Amazon EKS runs up-to-date versions of the open-source Kubernetes software, -// so you can use all the existing plugins and tooling from the Kubernetes community. -// Applications running on Amazon EKS are fully compatible with applications -// running on any standard Kubernetes environment, whether running in on-premises -// data centers or public clouds. This means that you can easily migrate any -// standard Kubernetes application to Amazon EKS without any code modification -// required. -// -// See https://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01 for more information on this service. -// -// See eks package documentation for more information. -// https://docs.aws.amazon.com/sdk-for-go/api/service/eks/ -// -// Using the Client -// -// To contact Amazon Elastic Kubernetes Service 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 Elastic Kubernetes Service client EKS for more -// information on creating client for this service. -// https://docs.aws.amazon.com/sdk-for-go/api/service/eks/#New -package eks diff --git a/cluster-autoscaler/vendor/github.com/aws/aws-sdk-go/service/eks/errors.go b/cluster-autoscaler/vendor/github.com/aws/aws-sdk-go/service/eks/errors.go deleted file mode 100644 index 7c908d3008e3..000000000000 --- a/cluster-autoscaler/vendor/github.com/aws/aws-sdk-go/service/eks/errors.go +++ /dev/null @@ -1,101 +0,0 @@ -// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. - -package eks - -import ( - "github.com/aws/aws-sdk-go/private/protocol" -) - -const ( - - // ErrCodeBadRequestException for service response error code - // "BadRequestException". - // - // This exception is thrown if the request contains a semantic error. The precise - // meaning will depend on the API, and will be documented in the error message. - ErrCodeBadRequestException = "BadRequestException" - - // ErrCodeClientException for service response error code - // "ClientException". - // - // These errors are usually caused by a client action. Actions can include using - // an action or resource on behalf of a user that doesn't have permissions to - // use the action or resource or specifying an identifier that is not valid. - ErrCodeClientException = "ClientException" - - // ErrCodeInvalidParameterException for service response error code - // "InvalidParameterException". - // - // The specified parameter is invalid. Review the available parameters for the - // API request. - ErrCodeInvalidParameterException = "InvalidParameterException" - - // ErrCodeInvalidRequestException for service response error code - // "InvalidRequestException". - // - // The request is invalid given the state of the cluster. Check the state of - // the cluster and the associated operations. - ErrCodeInvalidRequestException = "InvalidRequestException" - - // ErrCodeNotFoundException for service response error code - // "NotFoundException". - // - // A service resource associated with the request could not be found. Clients - // should not retry such requests. - ErrCodeNotFoundException = "NotFoundException" - - // ErrCodeResourceInUseException for service response error code - // "ResourceInUseException". - // - // The specified resource is in use. - ErrCodeResourceInUseException = "ResourceInUseException" - - // ErrCodeResourceLimitExceededException for service response error code - // "ResourceLimitExceededException". - // - // You have encountered a service limit on the specified resource. - ErrCodeResourceLimitExceededException = "ResourceLimitExceededException" - - // ErrCodeResourceNotFoundException for service response error code - // "ResourceNotFoundException". - // - // The specified resource could not be found. You can view your available clusters - // with ListClusters. You can view your available managed node groups with ListNodegroups. - // Amazon EKS clusters and node groups are Region-specific. - ErrCodeResourceNotFoundException = "ResourceNotFoundException" - - // ErrCodeServerException for service response error code - // "ServerException". - // - // These errors are usually caused by a server-side issue. - ErrCodeServerException = "ServerException" - - // ErrCodeServiceUnavailableException for service response error code - // "ServiceUnavailableException". - // - // The service is unavailable. Back off and retry the operation. - ErrCodeServiceUnavailableException = "ServiceUnavailableException" - - // ErrCodeUnsupportedAvailabilityZoneException for service response error code - // "UnsupportedAvailabilityZoneException". - // - // At least one of your specified cluster subnets is in an Availability Zone - // that does not support Amazon EKS. The exception output specifies the supported - // Availability Zones for your account, from which you can choose subnets for - // your cluster. - ErrCodeUnsupportedAvailabilityZoneException = "UnsupportedAvailabilityZoneException" -) - -var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ - "BadRequestException": newErrorBadRequestException, - "ClientException": newErrorClientException, - "InvalidParameterException": newErrorInvalidParameterException, - "InvalidRequestException": newErrorInvalidRequestException, - "NotFoundException": newErrorNotFoundException, - "ResourceInUseException": newErrorResourceInUseException, - "ResourceLimitExceededException": newErrorResourceLimitExceededException, - "ResourceNotFoundException": newErrorResourceNotFoundException, - "ServerException": newErrorServerException, - "ServiceUnavailableException": newErrorServiceUnavailableException, - "UnsupportedAvailabilityZoneException": newErrorUnsupportedAvailabilityZoneException, -} diff --git a/cluster-autoscaler/vendor/github.com/aws/aws-sdk-go/service/eks/service.go b/cluster-autoscaler/vendor/github.com/aws/aws-sdk-go/service/eks/service.go deleted file mode 100644 index 3fc2175454e6..000000000000 --- a/cluster-autoscaler/vendor/github.com/aws/aws-sdk-go/service/eks/service.go +++ /dev/null @@ -1,104 +0,0 @@ -// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. - -package eks - -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" - "github.com/aws/aws-sdk-go/private/protocol/restjson" -) - -// EKS provides the API operation methods for making requests to -// Amazon Elastic Kubernetes Service. See this package's package overview docs -// for details on the service. -// -// EKS methods are safe to use concurrently. It is not safe to -// modify mutate any of the struct's properties though. -type EKS 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 = "eks" // Name of service. - EndpointsID = ServiceName // ID to lookup a service endpoint with. - ServiceID = "EKS" // ServiceID is a unique identifier of a specific service. -) - -// New creates a new instance of the EKS client with a session. -// If additional configuration is needed for the client instance use the optional -// aws.Config parameter to add your extra config. -// -// Example: -// mySession := session.Must(session.NewSession()) -// -// // Create a EKS client from just a session. -// svc := eks.New(mySession) -// -// // Create a EKS client with additional configuration -// svc := eks.New(mySession, aws.NewConfig().WithRegion("us-west-2")) -func New(p client.ConfigProvider, cfgs ...*aws.Config) *EKS { - c := p.ClientConfig(EndpointsID, cfgs...) - if c.SigningNameDerived || len(c.SigningName) == 0 { - c.SigningName = "eks" - } - return newClient(*c.Config, c.Handlers, c.PartitionID, c.Endpoint, c.SigningRegion, c.SigningName) -} - -// newClient creates, initializes and returns a new service client instance. -func newClient(cfg aws.Config, handlers request.Handlers, partitionID, endpoint, signingRegion, signingName string) *EKS { - svc := &EKS{ - Client: client.New( - cfg, - metadata.ClientInfo{ - ServiceName: ServiceName, - ServiceID: ServiceID, - SigningName: signingName, - SigningRegion: signingRegion, - PartitionID: partitionID, - Endpoint: endpoint, - APIVersion: "2017-11-01", - }, - handlers, - ), - } - - // Handlers - svc.Handlers.Sign.PushBackNamed(v4.SignRequestHandler) - svc.Handlers.Build.PushBackNamed(restjson.BuildHandler) - svc.Handlers.Unmarshal.PushBackNamed(restjson.UnmarshalHandler) - svc.Handlers.UnmarshalMeta.PushBackNamed(restjson.UnmarshalMetaHandler) - svc.Handlers.UnmarshalError.PushBackNamed( - protocol.NewUnmarshalErrorHandler(restjson.NewUnmarshalTypedError(exceptionFromCode)).NamedHandler(), - ) - - // Run custom client initialization if present - if initClient != nil { - initClient(svc.Client) - } - - return svc -} - -// newRequest creates a new request for a EKS operation and runs any -// custom request initialization. -func (c *EKS) 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 -} diff --git a/cluster-autoscaler/vendor/github.com/aws/aws-sdk-go/service/eks/waiters.go b/cluster-autoscaler/vendor/github.com/aws/aws-sdk-go/service/eks/waiters.go deleted file mode 100644 index 9c9def22a1b7..000000000000 --- a/cluster-autoscaler/vendor/github.com/aws/aws-sdk-go/service/eks/waiters.go +++ /dev/null @@ -1,331 +0,0 @@ -// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. - -package eks - -import ( - "time" - - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/aws/request" -) - -// WaitUntilAddonActive uses the Amazon EKS API operation -// DescribeAddon to wait for a condition to be met before returning. -// If the condition is not met within the max attempt window, an error will -// be returned. -func (c *EKS) WaitUntilAddonActive(input *DescribeAddonInput) error { - return c.WaitUntilAddonActiveWithContext(aws.BackgroundContext(), input) -} - -// WaitUntilAddonActiveWithContext is an extended version of WaitUntilAddonActive. -// 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 *EKS) WaitUntilAddonActiveWithContext(ctx aws.Context, input *DescribeAddonInput, opts ...request.WaiterOption) error { - w := request.Waiter{ - Name: "WaitUntilAddonActive", - MaxAttempts: 60, - Delay: request.ConstantWaiterDelay(10 * time.Second), - Acceptors: []request.WaiterAcceptor{ - { - State: request.FailureWaiterState, - Matcher: request.PathWaiterMatch, Argument: "addon.status", - Expected: "CREATE_FAILED", - }, - { - State: request.FailureWaiterState, - Matcher: request.PathWaiterMatch, Argument: "addon.status", - Expected: "DEGRADED", - }, - { - State: request.SuccessWaiterState, - Matcher: request.PathWaiterMatch, Argument: "addon.status", - Expected: "ACTIVE", - }, - }, - Logger: c.Config.Logger, - NewRequest: func(opts []request.Option) (*request.Request, error) { - var inCpy *DescribeAddonInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.DescribeAddonRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - w.ApplyOptions(opts...) - - return w.WaitWithContext(ctx) -} - -// WaitUntilAddonDeleted uses the Amazon EKS API operation -// DescribeAddon to wait for a condition to be met before returning. -// If the condition is not met within the max attempt window, an error will -// be returned. -func (c *EKS) WaitUntilAddonDeleted(input *DescribeAddonInput) error { - return c.WaitUntilAddonDeletedWithContext(aws.BackgroundContext(), input) -} - -// WaitUntilAddonDeletedWithContext is an extended version of WaitUntilAddonDeleted. -// 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 *EKS) WaitUntilAddonDeletedWithContext(ctx aws.Context, input *DescribeAddonInput, opts ...request.WaiterOption) error { - w := request.Waiter{ - Name: "WaitUntilAddonDeleted", - MaxAttempts: 60, - Delay: request.ConstantWaiterDelay(10 * time.Second), - Acceptors: []request.WaiterAcceptor{ - { - State: request.FailureWaiterState, - Matcher: request.PathWaiterMatch, Argument: "addon.status", - Expected: "DELETE_FAILED", - }, - { - State: request.SuccessWaiterState, - Matcher: request.ErrorWaiterMatch, - Expected: "ResourceNotFoundException", - }, - }, - Logger: c.Config.Logger, - NewRequest: func(opts []request.Option) (*request.Request, error) { - var inCpy *DescribeAddonInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.DescribeAddonRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - w.ApplyOptions(opts...) - - return w.WaitWithContext(ctx) -} - -// WaitUntilClusterActive uses the Amazon EKS API operation -// DescribeCluster to wait for a condition to be met before returning. -// If the condition is not met within the max attempt window, an error will -// be returned. -func (c *EKS) WaitUntilClusterActive(input *DescribeClusterInput) error { - return c.WaitUntilClusterActiveWithContext(aws.BackgroundContext(), input) -} - -// WaitUntilClusterActiveWithContext is an extended version of WaitUntilClusterActive. -// 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 *EKS) WaitUntilClusterActiveWithContext(ctx aws.Context, input *DescribeClusterInput, opts ...request.WaiterOption) error { - w := request.Waiter{ - Name: "WaitUntilClusterActive", - MaxAttempts: 40, - Delay: request.ConstantWaiterDelay(30 * time.Second), - Acceptors: []request.WaiterAcceptor{ - { - State: request.FailureWaiterState, - Matcher: request.PathWaiterMatch, Argument: "cluster.status", - Expected: "DELETING", - }, - { - State: request.FailureWaiterState, - Matcher: request.PathWaiterMatch, Argument: "cluster.status", - Expected: "FAILED", - }, - { - State: request.SuccessWaiterState, - Matcher: request.PathWaiterMatch, Argument: "cluster.status", - Expected: "ACTIVE", - }, - }, - Logger: c.Config.Logger, - NewRequest: func(opts []request.Option) (*request.Request, error) { - var inCpy *DescribeClusterInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.DescribeClusterRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - w.ApplyOptions(opts...) - - return w.WaitWithContext(ctx) -} - -// WaitUntilClusterDeleted uses the Amazon EKS API operation -// DescribeCluster to wait for a condition to be met before returning. -// If the condition is not met within the max attempt window, an error will -// be returned. -func (c *EKS) WaitUntilClusterDeleted(input *DescribeClusterInput) 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 *EKS) WaitUntilClusterDeletedWithContext(ctx aws.Context, input *DescribeClusterInput, opts ...request.WaiterOption) error { - w := request.Waiter{ - Name: "WaitUntilClusterDeleted", - MaxAttempts: 40, - Delay: request.ConstantWaiterDelay(30 * time.Second), - Acceptors: []request.WaiterAcceptor{ - { - State: request.FailureWaiterState, - Matcher: request.PathWaiterMatch, Argument: "cluster.status", - Expected: "ACTIVE", - }, - { - State: request.FailureWaiterState, - Matcher: request.PathWaiterMatch, Argument: "cluster.status", - Expected: "CREATING", - }, - { - State: request.SuccessWaiterState, - Matcher: request.ErrorWaiterMatch, - Expected: "ResourceNotFoundException", - }, - }, - Logger: c.Config.Logger, - NewRequest: func(opts []request.Option) (*request.Request, error) { - var inCpy *DescribeClusterInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.DescribeClusterRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - w.ApplyOptions(opts...) - - return w.WaitWithContext(ctx) -} - -// WaitUntilNodegroupActive uses the Amazon EKS API operation -// DescribeNodegroup to wait for a condition to be met before returning. -// If the condition is not met within the max attempt window, an error will -// be returned. -func (c *EKS) WaitUntilNodegroupActive(input *DescribeNodegroupInput) error { - return c.WaitUntilNodegroupActiveWithContext(aws.BackgroundContext(), input) -} - -// WaitUntilNodegroupActiveWithContext is an extended version of WaitUntilNodegroupActive. -// 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 *EKS) WaitUntilNodegroupActiveWithContext(ctx aws.Context, input *DescribeNodegroupInput, opts ...request.WaiterOption) error { - w := request.Waiter{ - Name: "WaitUntilNodegroupActive", - MaxAttempts: 80, - Delay: request.ConstantWaiterDelay(30 * time.Second), - Acceptors: []request.WaiterAcceptor{ - { - State: request.FailureWaiterState, - Matcher: request.PathWaiterMatch, Argument: "nodegroup.status", - Expected: "CREATE_FAILED", - }, - { - State: request.SuccessWaiterState, - Matcher: request.PathWaiterMatch, Argument: "nodegroup.status", - Expected: "ACTIVE", - }, - }, - Logger: c.Config.Logger, - NewRequest: func(opts []request.Option) (*request.Request, error) { - var inCpy *DescribeNodegroupInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.DescribeNodegroupRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - w.ApplyOptions(opts...) - - return w.WaitWithContext(ctx) -} - -// WaitUntilNodegroupDeleted uses the Amazon EKS API operation -// DescribeNodegroup to wait for a condition to be met before returning. -// If the condition is not met within the max attempt window, an error will -// be returned. -func (c *EKS) WaitUntilNodegroupDeleted(input *DescribeNodegroupInput) error { - return c.WaitUntilNodegroupDeletedWithContext(aws.BackgroundContext(), input) -} - -// WaitUntilNodegroupDeletedWithContext is an extended version of WaitUntilNodegroupDeleted. -// 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 *EKS) WaitUntilNodegroupDeletedWithContext(ctx aws.Context, input *DescribeNodegroupInput, opts ...request.WaiterOption) error { - w := request.Waiter{ - Name: "WaitUntilNodegroupDeleted", - MaxAttempts: 40, - Delay: request.ConstantWaiterDelay(30 * time.Second), - Acceptors: []request.WaiterAcceptor{ - { - State: request.FailureWaiterState, - Matcher: request.PathWaiterMatch, Argument: "nodegroup.status", - Expected: "DELETE_FAILED", - }, - { - State: request.SuccessWaiterState, - Matcher: request.ErrorWaiterMatch, - Expected: "ResourceNotFoundException", - }, - }, - Logger: c.Config.Logger, - NewRequest: func(opts []request.Option) (*request.Request, error) { - var inCpy *DescribeNodegroupInput - if input != nil { - tmp := *input - inCpy = &tmp - } - req, _ := c.DescribeNodegroupRequest(inCpy) - req.SetContext(ctx) - req.ApplyOptions(opts...) - return req, nil - }, - } - w.ApplyOptions(opts...) - - return w.WaitWithContext(ctx) -} diff --git a/cluster-autoscaler/vendor/github.com/blang/semver/v4/go.mod b/cluster-autoscaler/vendor/github.com/blang/semver/v4/go.mod deleted file mode 100644 index 06d26221870d..000000000000 --- a/cluster-autoscaler/vendor/github.com/blang/semver/v4/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/blang/semver/v4 - -go 1.14 diff --git a/cluster-autoscaler/vendor/github.com/cespare/xxhash/v2/go.mod b/cluster-autoscaler/vendor/github.com/cespare/xxhash/v2/go.mod deleted file mode 100644 index 49f67608bf6b..000000000000 --- a/cluster-autoscaler/vendor/github.com/cespare/xxhash/v2/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/cespare/xxhash/v2 - -go 1.11 diff --git a/cluster-autoscaler/vendor/github.com/cespare/xxhash/v2/go.sum b/cluster-autoscaler/vendor/github.com/cespare/xxhash/v2/go.sum deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/cluster-autoscaler/vendor/github.com/checkpoint-restore/go-criu/v5/go.mod b/cluster-autoscaler/vendor/github.com/checkpoint-restore/go-criu/v5/go.mod deleted file mode 100644 index cf4fea9f05e7..000000000000 --- a/cluster-autoscaler/vendor/github.com/checkpoint-restore/go-criu/v5/go.mod +++ /dev/null @@ -1,8 +0,0 @@ -module github.com/checkpoint-restore/go-criu/v5 - -go 1.13 - -require ( - golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c - google.golang.org/protobuf v1.27.1 -) diff --git a/cluster-autoscaler/vendor/github.com/checkpoint-restore/go-criu/v5/go.sum b/cluster-autoscaler/vendor/github.com/checkpoint-restore/go-criu/v5/go.sum deleted file mode 100644 index 789fdcb11aa9..000000000000 --- a/cluster-autoscaler/vendor/github.com/checkpoint-restore/go-criu/v5/go.sum +++ /dev/null @@ -1,10 +0,0 @@ -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c h1:VwygUrnw9jn88c4u8GD3rZQbqrP/tgas88tPUbBxQrk= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= -google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= diff --git a/cluster-autoscaler/vendor/github.com/cilium/ebpf/go.mod b/cluster-autoscaler/vendor/github.com/cilium/ebpf/go.mod deleted file mode 100644 index f5edf690ab06..000000000000 --- a/cluster-autoscaler/vendor/github.com/cilium/ebpf/go.mod +++ /dev/null @@ -1,9 +0,0 @@ -module github.com/cilium/ebpf - -go 1.16 - -require ( - github.com/frankban/quicktest v1.11.3 - github.com/google/go-cmp v0.5.4 - golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34 -) diff --git a/cluster-autoscaler/vendor/github.com/cilium/ebpf/go.sum b/cluster-autoscaler/vendor/github.com/cilium/ebpf/go.sum deleted file mode 100644 index 1ef5a4767e81..000000000000 --- a/cluster-autoscaler/vendor/github.com/cilium/ebpf/go.sum +++ /dev/null @@ -1,13 +0,0 @@ -github.com/frankban/quicktest v1.11.3 h1:8sXhOn0uLys67V8EsXLc6eszDs8VXWxL3iRvebPhedY= -github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= -github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34 h1:GkvMjFtXUmahfDtashnc1mnrCtuBVcwse5QV2lUk/tI= -golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/README.md b/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/README.md deleted file mode 100644 index 7c57e11295ec..000000000000 --- a/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/README.md +++ /dev/null @@ -1,18 +0,0 @@ -flocker-go -========== - -[![circleci](https://circleci.com/gh/ClusterHQ/flocker-go.svg)](https://circleci.com/gh/ClusterHQ/flocker-go) - -flocker-go implements the package `flocker` that will let you easily interact -with a Flocker Control Service. - -What can it do? ---------------- - -You can check the package documentation here: https://godoc.org/github.com/ClusterHQ/flocker-go - -TODO ----- - -- Define a proper interface `flockerClientable` with all the needed methods for - wrapping the Flocker API. diff --git a/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/circle.yml b/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/circle.yml deleted file mode 100644 index 81b56c8f27fc..000000000000 --- a/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/circle.yml +++ /dev/null @@ -1,16 +0,0 @@ -machine: - timezone: - America/Los_Angeles - -# Output the test output to circle. -test: - pre: - - go get -u github.com/jstemmer/go-junit-report - override: - - go test -coverprofile=coverage.out -v -race ./... > test.out - - cat test.out | go-junit-report > report.xml - - go tool cover -func=coverage.out - post: - - mv test.out $CIRCLE_ARTIFACTS/ - - mv report.xml $CIRCLE_TEST_REPORTS/ - diff --git a/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/client.go b/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/client.go deleted file mode 100644 index 7cdd71054cb1..000000000000 --- a/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/client.go +++ /dev/null @@ -1,376 +0,0 @@ -package flocker - -import ( - "bytes" - "encoding/json" - "errors" - "fmt" - "io" - "net/http" - "time" -) - -// From https://github.com/ClusterHQ/flocker-docker-plugin/blob/master/flockerdockerplugin/adapter.py#L18 -const defaultVolumeSize = json.Number("107374182400") - -var ( - // A volume can take a long time to be available, if we don't want - // Kubernetes to wait forever we need to stop trying after some time, that - // time is defined here - timeoutWaitingForVolume = 2 * time.Minute - tickerWaitingForVolume = 5 * time.Second - - errStateNotFound = errors.New("State not found by Dataset ID") - errConfigurationNotFound = errors.New("Configuration not found by Name") - - errFlockerControlServiceHost = errors.New("The volume config must have a key CONTROL_SERVICE_HOST defined in the OtherAttributes field") - errFlockerControlServicePort = errors.New("The volume config must have a key CONTROL_SERVICE_PORT defined in the OtherAttributes field") - - errVolumeAlreadyExists = errors.New("The volume already exists") - errVolumeDoesNotExist = errors.New("The volume does not exist") - - errUpdatingDataset = errors.New("It was impossible to update the dataset") -) - -// Clientable exposes the needed methods to implement your own Flocker Client. -type Clientable interface { - CreateDataset(options *CreateDatasetOptions) (*DatasetState, error) - DeleteDataset(datasetID string) error - - GetDatasetState(datasetID string) (*DatasetState, error) - GetDatasetID(metaName string) (datasetID string, err error) - GetPrimaryUUID() (primaryUUID string, err error) - - ListNodes() (nodes []NodeState, err error) - - UpdatePrimaryForDataset(primaryUUID, datasetID string) (*DatasetState, error) -} - -// Client is a default Flocker Client. -type Client struct { - *http.Client - - schema string - host string - port int - version string - - clientIP string - - maximumSize json.Number -} - -var _ Clientable = &Client{} - -// NewClient creates a wrapper over http.Client to communicate with the flocker control service. -func NewClient(host string, port int, clientIP string, caCertPath, keyPath, certPath string) (*Client, error) { - client, err := newTLSClient(caCertPath, keyPath, certPath) - if err != nil { - return nil, err - } - - return &Client{ - Client: client, - schema: "https", - host: host, - port: port, - version: "v1", - maximumSize: defaultVolumeSize, - clientIP: clientIP, - }, nil -} - -/* -request do a request using the http.Client embedded to the control service -and returns the response or an error in case it happens. - -Note: you will need to deal with the response body call to Close if you -don't want to deal with problems later. -*/ -func (c Client) request(method, url string, payload interface{}) (*http.Response, error) { - var ( - b []byte - err error - ) - - if method == "POST" { // Just allow payload on POST - b, err = json.Marshal(payload) - if err != nil { - return nil, err - } - } - - req, err := http.NewRequest(method, url, bytes.NewBuffer(b)) - if err != nil { - return nil, err - } - req.Header.Set("Content-Type", "application/json") - - // REMEMBER TO CLOSE THE BODY IN THE OUTSIDE FUNCTION - return c.Do(req) -} - -// post performs a post request with the indicated payload -func (c Client) post(url string, payload interface{}) (*http.Response, error) { - return c.request("POST", url, payload) -} - -// delete performs a delete request with the indicated payload -func (c Client) delete(url string, payload interface{}) (*http.Response, error) { - return c.request("DELETE", url, payload) -} - -// get performs a get request -func (c Client) get(url string) (*http.Response, error) { - return c.request("GET", url, nil) -} - -// getURL returns a full URI to the control service -func (c Client) getURL(path string) string { - return fmt.Sprintf("%s://%s:%d/%s/%s", c.schema, c.host, c.port, c.version, path) -} - -type configurationPayload struct { - Deleted bool `json:"deleted"` - Primary string `json:"primary"` - DatasetID string `json:"dataset_id,omitempty"` - MaximumSize json.Number `json:"maximum_size,omitempty"` - Metadata metadataPayload `json:"metadata,omitempty"` -} - -type CreateDatasetOptions struct { - Primary string `json:"primary"` - DatasetID string `json:"dataset_id,omitempty"` - MaximumSize int64 `json:"maximum_size,omitempty"` - Metadata map[string]string `json:"metadata,omitempty"` -} - -type metadataPayload struct { - Name string `json:"name,omitempty"` -} - -type DatasetState struct { - Path string `json:"path"` - DatasetID string `json:"dataset_id"` - Primary string `json:"primary,omitempty"` - MaximumSize json.Number `json:"maximum_size,omitempty"` -} - -type datasetStatePayload struct { - *DatasetState -} - -type NodeState struct { - UUID string `json:"uuid"` - Host string `json:"host"` -} - -// findIDInConfigurationsPayload returns the datasetID if it was found in the -// configurations payload, otherwise it will return an error. -func (c Client) findIDInConfigurationsPayload(body io.ReadCloser, name string) (datasetID string, err error) { - var configurations []configurationPayload - if err = json.NewDecoder(body).Decode(&configurations); err == nil { - for _, r := range configurations { - if r.Metadata.Name == name { - return r.DatasetID, nil - } - } - return "", errConfigurationNotFound - } - return "", err -} - -// ListNodes returns a list of dataset agent nodes from Flocker Control Service -func (c *Client) ListNodes() (nodes []NodeState, err error) { - resp, err := c.get(c.getURL("state/nodes")) - if err != nil { - return []NodeState{}, err - } - defer resp.Body.Close() - if resp.StatusCode >= 300 { - return []NodeState{}, fmt.Errorf("Expected: {1,2}xx listing nodes, got: %d", resp.StatusCode) - } - - err = json.NewDecoder(resp.Body).Decode(&nodes) - if err != nil { - return []NodeState{}, err - } - return nodes, err -} - -// GetPrimaryUUID returns the UUID of the primary Flocker Control Service for -// the given host. -func (c Client) GetPrimaryUUID() (uuid string, err error) { - states, err := c.ListNodes() - if err != nil { - return "", err - } - - for _, s := range states { - if s.Host == c.clientIP { - return s.UUID, nil - } - } - return "", fmt.Errorf("No node found with IP '%s', available nodes %+v", c.clientIP, states) -} - -// DeleteDataset performs a delete request to the given datasetID -func (c *Client) DeleteDataset(datasetID string) error { - url := c.getURL(fmt.Sprintf("configuration/datasets/%s", datasetID)) - resp, err := c.delete(url, nil) - if err != nil { - return err - } - defer resp.Body.Close() - - if resp.StatusCode >= 300 { - return fmt.Errorf("Expected: {1,2}xx deleting the dataset %s, got: %d", datasetID, resp.StatusCode) - } - - return nil -} - -// GetDatasetState performs a get request to get the state of the given datasetID, if -// something goes wrong or the datasetID was not found it returns an error. -func (c Client) GetDatasetState(datasetID string) (*DatasetState, error) { - resp, err := c.get(c.getURL("state/datasets")) - if err != nil { - return nil, err - } - defer resp.Body.Close() - - var states []datasetStatePayload - if err = json.NewDecoder(resp.Body).Decode(&states); err == nil { - for _, s := range states { - if s.DatasetID == datasetID { - return s.DatasetState, nil - } - } - return nil, errStateNotFound - } - - return nil, err -} - -/* -CreateDataset creates a volume in Flocker, waits for it to be ready and -returns the dataset id. - -This process is a little bit complex but follows this flow: - -1. Find the Flocker Control Service UUID -2. If it already exists an error is returned -3. If it didn't previously exist, wait for it to be ready -*/ -func (c *Client) CreateDataset(options *CreateDatasetOptions) (datasetState *DatasetState, err error) { - // 1) Find the primary Flocker UUID - // Note: it could be cached, but doing this query we health check it - if options.Primary == "" { - options.Primary, err = c.GetPrimaryUUID() - if err != nil { - return nil, err - } - } - - if options.MaximumSize == 0 { - options.MaximumSize, _ = c.maximumSize.Int64() - } - - resp, err := c.post(c.getURL("configuration/datasets"), options) - if err != nil { - return nil, err - } - defer resp.Body.Close() - - // 2) Return if the dataset was previously created - if resp.StatusCode == http.StatusConflict { - return nil, errVolumeAlreadyExists - } - - if resp.StatusCode >= 300 { - return nil, fmt.Errorf("Expected: {1,2}xx creating the volume, got: %d", resp.StatusCode) - } - - var p configurationPayload - if err := json.NewDecoder(resp.Body).Decode(&p); err != nil { - return nil, err - } - - // 3) Wait until the dataset is ready for usage. In case it never gets - // ready there is a timeoutChan that will return an error - timeoutChan := time.NewTimer(timeoutWaitingForVolume).C - tickChan := time.NewTicker(tickerWaitingForVolume).C - - for { - var strErrDel string - s, err := c.GetDatasetState(p.DatasetID) - if err == nil { - return s, nil - } else if err != errStateNotFound { - errDel := c.DeleteDataset(p.DatasetID) - if errDel != nil { - strErrDel = fmt.Sprintf(", deletion of dataset failed with %s", errDel) - } - return nil, fmt.Errorf("Flocker API error during dataset creation (datasetID %s): %s%s", p.DatasetID, err, strErrDel) - } - - select { - case <-timeoutChan: - errDel := c.DeleteDataset(p.DatasetID) - if errDel != nil { - strErrDel = fmt.Sprintf(", deletion of dataset failed with %s", errDel) - } - return nil, fmt.Errorf("Flocker API timeout during dataset creation (datasetID %s): %s%s", p.DatasetID, err, strErrDel) - case <-tickChan: - break - } - } -} - -// UpdatePrimaryForDataset will update the Primary for the given dataset -// returning the current DatasetState. -func (c Client) UpdatePrimaryForDataset(newPrimaryUUID, datasetID string) (*DatasetState, error) { - payload := struct { - Primary string `json:"primary"` - }{ - Primary: newPrimaryUUID, - } - - url := c.getURL(fmt.Sprintf("configuration/datasets/%s", datasetID)) - resp, err := c.post(url, payload) - if err != nil { - return nil, err - } - defer resp.Body.Close() - - if resp.StatusCode >= 300 { - return nil, errUpdatingDataset - } - - var s DatasetState - if err := json.NewDecoder(resp.Body).Decode(&s); err != nil { - return nil, err - } - - return &s, nil -} - -// GetDatasetID will return the DatasetID found for the given metadata name. -func (c Client) GetDatasetID(metaName string) (datasetID string, err error) { - resp, err := c.get(c.getURL("configuration/datasets")) - if err != nil { - return "", err - } - defer resp.Body.Close() - - var configurations []configurationPayload - if err = json.NewDecoder(resp.Body).Decode(&configurations); err == nil { - for _, c := range configurations { - if c.Metadata.Name == metaName && c.Deleted == false { - return c.DatasetID, nil - } - } - return "", errConfigurationNotFound - } - return "", err -} diff --git a/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/doc.go b/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/doc.go deleted file mode 100644 index f3cd05b01962..000000000000 --- a/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/doc.go +++ /dev/null @@ -1,2 +0,0 @@ -// flocker package allows you to easily interact with a Flocker Control Service. -package flocker diff --git a/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/util.go b/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/util.go deleted file mode 100644 index 8322ea8cd788..000000000000 --- a/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/util.go +++ /dev/null @@ -1,34 +0,0 @@ -package flocker - -import ( - "crypto/tls" - "crypto/x509" - "io/ioutil" - "net/http" -) - -// newTLSClient returns a new TLS http client -func newTLSClient(caCertPath, keyPath, certPath string) (*http.Client, error) { - // Client certificate - cert, err := tls.LoadX509KeyPair(certPath, keyPath) - if err != nil { - return nil, err - } - - // CA certificate - caCert, err := ioutil.ReadFile(caCertPath) - if err != nil { - return nil, err - } - caCertPool := x509.NewCertPool() - caCertPool.AppendCertsFromPEM(caCert) - - tlsConfig := &tls.Config{ - Certificates: []tls.Certificate{cert}, - RootCAs: caCertPool, - } - tlsConfig.BuildNameToCertificate() - transport := &http.Transport{TLSClientConfig: tlsConfig} - - return &http.Client{Transport: transport}, nil -} diff --git a/cluster-autoscaler/vendor/github.com/containerd/console/go.mod b/cluster-autoscaler/vendor/github.com/containerd/console/go.mod deleted file mode 100644 index 1fe5b7fecb4a..000000000000 --- a/cluster-autoscaler/vendor/github.com/containerd/console/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/containerd/console - -go 1.13 - -require golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c diff --git a/cluster-autoscaler/vendor/github.com/containerd/console/go.sum b/cluster-autoscaler/vendor/github.com/containerd/console/go.sum deleted file mode 100644 index 1225630b7b60..000000000000 --- a/cluster-autoscaler/vendor/github.com/containerd/console/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c h1:VwygUrnw9jn88c4u8GD3rZQbqrP/tgas88tPUbBxQrk= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/version/v1/version.proto b/cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/version/v1/version.proto deleted file mode 100644 index 0e4c3d1e0811..000000000000 --- a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/version/v1/version.proto +++ /dev/null @@ -1,18 +0,0 @@ -syntax = "proto3"; - -package containerd.services.version.v1; - -import "google/protobuf/empty.proto"; -import weak "gogoproto/gogo.proto"; - -// TODO(stevvooe): Should version service actually be versioned? -option go_package = "github.com/containerd/containerd/api/services/version/v1;version"; - -service Version { - rpc Version(google.protobuf.Empty) returns (VersionResponse); -} - -message VersionResponse { - string version = 1; - string revision = 2; -} diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/metrics.proto b/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/metrics.proto deleted file mode 100644 index 0e631d2ac352..000000000000 --- a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/metrics.proto +++ /dev/null @@ -1,15 +0,0 @@ -syntax = "proto3"; - -package containerd.types; - -import weak "gogoproto/gogo.proto"; -import "google/protobuf/any.proto"; -import "google/protobuf/timestamp.proto"; - -option go_package = "github.com/containerd/containerd/api/types;types"; - -message Metric { - google.protobuf.Timestamp timestamp = 1 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; - string id = 2; - google.protobuf.Any data = 3; -} diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/platform.proto b/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/platform.proto deleted file mode 100644 index 4cf9834bdc49..000000000000 --- a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/platform.proto +++ /dev/null @@ -1,15 +0,0 @@ -syntax = "proto3"; - -package containerd.types; - -import weak "gogoproto/gogo.proto"; - -option go_package = "github.com/containerd/containerd/api/types;types"; - -// Platform follows the structure of the OCI platform specification, from -// descriptors. -message Platform { - string os = 1 [(gogoproto.customname) = "OS"]; - string architecture = 2; - string variant = 3; -} diff --git a/cluster-autoscaler/vendor/github.com/containerd/ttrpc/go.mod b/cluster-autoscaler/vendor/github.com/containerd/ttrpc/go.mod deleted file mode 100644 index 4ed7512f9167..000000000000 --- a/cluster-autoscaler/vendor/github.com/containerd/ttrpc/go.mod +++ /dev/null @@ -1,14 +0,0 @@ -module github.com/containerd/ttrpc - -go 1.13 - -require ( - github.com/gogo/protobuf v1.3.1 - github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect - github.com/pkg/errors v0.9.1 - github.com/prometheus/procfs v0.0.0-20190522114515-bc1a522cf7b1 - github.com/sirupsen/logrus v1.4.2 - golang.org/x/sys v0.0.0-20200120151820-655fe14d7479 - google.golang.org/genproto v0.0.0-20200117163144-32f20d992d24 - google.golang.org/grpc v1.26.0 -) diff --git a/cluster-autoscaler/vendor/github.com/containerd/ttrpc/go.sum b/cluster-autoscaler/vendor/github.com/containerd/ttrpc/go.sum deleted file mode 100644 index 8f641f4f8913..000000000000 --- a/cluster-autoscaler/vendor/github.com/containerd/ttrpc/go.sum +++ /dev/null @@ -1,85 +0,0 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/gogo/protobuf v1.2.1 h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE= -github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= -github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls= -github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1 h1:YF8+flBXS5eO826T4nzqPrxfhQThhXl0YzfuUPu4SBg= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= -github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= -github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.2 h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s= -github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/procfs v0.0.0-20190522114515-bc1a522cf7b1 h1:Lo6mRUjdS99f3zxYOUalftWHUoOGaDRqFk1+j0Q57/I= -github.com/prometheus/procfs v0.0.0-20190522114515-bc1a522cf7b1/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4= -github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5 h1:f005F/Jl5JLP036x7QIvUVhNTqxvSYwFIiyOh2q12iU= -golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200120151820-655fe14d7479 h1:LhLiKguPgZL+Tglay4GhVtfF0kb8cvOJ0dHTCBO8YNI= -golang.org/x/sys v0.0.0-20200120151820-655fe14d7479/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69 h1:4rNOqY4ULrKzS6twXa619uQgI7h9PaVd4ZhjFQ7C5zs= -google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20200117163144-32f20d992d24 h1:wDju+RU97qa0FZT0QnZDg9Uc2dH0Ql513kFvHocz+WM= -google.golang.org/genproto v0.0.0-20200117163144-32f20d992d24/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.21.0 h1:G+97AoqBnmZIT91cLG/EkCoK9NSelj64P8bOHHNmGn0= -google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.26.0 h1:2dTRdpdFEEhJYQD8EMLB61nnrzSCTbG38PhqdhvOltg= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/cluster-autoscaler/vendor/github.com/cyphar/filepath-securejoin/go.mod b/cluster-autoscaler/vendor/github.com/cyphar/filepath-securejoin/go.mod deleted file mode 100644 index 0607c1fa060f..000000000000 --- a/cluster-autoscaler/vendor/github.com/cyphar/filepath-securejoin/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/cyphar/filepath-securejoin - -go 1.13 diff --git a/cluster-autoscaler/vendor/github.com/digitalocean/godo/go.mod b/cluster-autoscaler/vendor/github.com/digitalocean/godo/go.mod deleted file mode 100644 index a8af42bdad70..000000000000 --- a/cluster-autoscaler/vendor/github.com/digitalocean/godo/go.mod +++ /dev/null @@ -1,9 +0,0 @@ -module github.com/digitalocean/godo - -go 1.13 - -require ( - github.com/google/go-querystring v1.0.0 - github.com/stretchr/testify v1.3.0 - golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a -) diff --git a/cluster-autoscaler/vendor/github.com/digitalocean/godo/go.sum b/cluster-autoscaler/vendor/github.com/digitalocean/godo/go.sum deleted file mode 100644 index ace703edd896..000000000000 --- a/cluster-autoscaler/vendor/github.com/digitalocean/godo/go.sum +++ /dev/null @@ -1,22 +0,0 @@ -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk= -github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e h1:bRhVy7zSSasaqNksaRZiA5EEI+Ei4I1nO5Jh72wfHlg= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a h1:tImsplftrFpALCYumobsd0K86vlAs/eXGFms2txfJfA= -golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 h1:YUO/7uOKsKeq9UokNS62b8FYywz3ker1l1vDZRCRefw= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= diff --git a/cluster-autoscaler/vendor/github.com/dimchansky/utfbom/go.mod b/cluster-autoscaler/vendor/github.com/dimchansky/utfbom/go.mod deleted file mode 100644 index 8f8620af3b50..000000000000 --- a/cluster-autoscaler/vendor/github.com/dimchansky/utfbom/go.mod +++ /dev/null @@ -1 +0,0 @@ -module github.com/dimchansky/utfbom diff --git a/cluster-autoscaler/vendor/github.com/emicklei/go-restful/v3/go.mod b/cluster-autoscaler/vendor/github.com/emicklei/go-restful/v3/go.mod deleted file mode 100644 index 325c09bc40c1..000000000000 --- a/cluster-autoscaler/vendor/github.com/emicklei/go-restful/v3/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/emicklei/go-restful/v3 - -go 1.13 diff --git a/cluster-autoscaler/vendor/github.com/felixge/httpsnoop/go.mod b/cluster-autoscaler/vendor/github.com/felixge/httpsnoop/go.mod deleted file mode 100644 index 73b3946905ab..000000000000 --- a/cluster-autoscaler/vendor/github.com/felixge/httpsnoop/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/felixge/httpsnoop - -go 1.13 diff --git a/cluster-autoscaler/vendor/github.com/fsnotify/fsnotify/go.mod b/cluster-autoscaler/vendor/github.com/fsnotify/fsnotify/go.mod deleted file mode 100644 index 48cfd07fe230..000000000000 --- a/cluster-autoscaler/vendor/github.com/fsnotify/fsnotify/go.mod +++ /dev/null @@ -1,10 +0,0 @@ -module github.com/fsnotify/fsnotify - -go 1.16 - -require golang.org/x/sys v0.0.0-20220412211240-33da011f77ad - -retract ( - v1.5.3 // Published an incorrect branch accidentally https://github.com/fsnotify/fsnotify/issues/445 - v1.5.0 // Contains symlink regression https://github.com/fsnotify/fsnotify/pull/394 -) diff --git a/cluster-autoscaler/vendor/github.com/fsnotify/fsnotify/go.sum b/cluster-autoscaler/vendor/github.com/fsnotify/fsnotify/go.sum deleted file mode 100644 index 7f2d82d5c1bc..000000000000 --- a/cluster-autoscaler/vendor/github.com/fsnotify/fsnotify/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -golang.org/x/sys v0.0.0-20220412211240-33da011f77ad h1:ntjMns5wyP/fN65tdBD4g8J5w8n015+iIIs9rtjXkY0= -golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= diff --git a/cluster-autoscaler/vendor/github.com/go-logr/logr/go.mod b/cluster-autoscaler/vendor/github.com/go-logr/logr/go.mod deleted file mode 100644 index 7baec9b57073..000000000000 --- a/cluster-autoscaler/vendor/github.com/go-logr/logr/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/go-logr/logr - -go 1.16 diff --git a/cluster-autoscaler/vendor/github.com/go-openapi/jsonpointer/go.mod b/cluster-autoscaler/vendor/github.com/go-openapi/jsonpointer/go.mod deleted file mode 100644 index 3e45e225b5d7..000000000000 --- a/cluster-autoscaler/vendor/github.com/go-openapi/jsonpointer/go.mod +++ /dev/null @@ -1,9 +0,0 @@ -module github.com/go-openapi/jsonpointer - -require ( - github.com/go-openapi/swag v0.19.5 - github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e // indirect - github.com/stretchr/testify v1.3.0 -) - -go 1.13 diff --git a/cluster-autoscaler/vendor/github.com/go-openapi/jsonpointer/go.sum b/cluster-autoscaler/vendor/github.com/go-openapi/jsonpointer/go.sum deleted file mode 100644 index 953d4f354e53..000000000000 --- a/cluster-autoscaler/vendor/github.com/go-openapi/jsonpointer/go.sum +++ /dev/null @@ -1,24 +0,0 @@ -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-openapi/swag v0.19.5 h1:lTz6Ys4CmqqCQmZPBlbQENR1/GucA2bzYTE12Pw4tFY= -github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63 h1:nTT4s92Dgz2HlrB2NaMgvlfqHH39OgMhA7z3PK7PGD4= -github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e h1:hB2xlXdHp/pmPZq0y3QnmWAArdw9PqbmotexnWx/FU8= -github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/cluster-autoscaler/vendor/github.com/go-openapi/jsonreference/go.mod b/cluster-autoscaler/vendor/github.com/go-openapi/jsonreference/go.mod deleted file mode 100644 index e6c2ec4d929f..000000000000 --- a/cluster-autoscaler/vendor/github.com/go-openapi/jsonreference/go.mod +++ /dev/null @@ -1,12 +0,0 @@ -module github.com/go-openapi/jsonreference - -require ( - github.com/PuerkitoBio/purell v1.1.1 - github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect - github.com/go-openapi/jsonpointer v0.19.3 - github.com/stretchr/testify v1.3.0 - golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 // indirect - golang.org/x/text v0.3.3 // indirect -) - -go 1.13 diff --git a/cluster-autoscaler/vendor/github.com/go-openapi/jsonreference/go.sum b/cluster-autoscaler/vendor/github.com/go-openapi/jsonreference/go.sum deleted file mode 100644 index b37f873e5533..000000000000 --- a/cluster-autoscaler/vendor/github.com/go-openapi/jsonreference/go.sum +++ /dev/null @@ -1,38 +0,0 @@ -github.com/PuerkitoBio/purell v1.1.1 h1:WEQqlqaGbrPkxLJWfBwQmfEAE1Z7ONdDLqrN38tNFfI= -github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 h1:d+Bc7a5rLufV/sSk/8dngufqelfh6jnri85riMAaF/M= -github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-openapi/jsonpointer v0.19.3 h1:gihV7YNZK1iK6Tgwwsxo2rJbD1GTbdm72325Bq8FI3w= -github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/swag v0.19.5 h1:lTz6Ys4CmqqCQmZPBlbQENR1/GucA2bzYTE12Pw4tFY= -github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63 h1:nTT4s92Dgz2HlrB2NaMgvlfqHH39OgMhA7z3PK7PGD4= -github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e h1:hB2xlXdHp/pmPZq0y3QnmWAArdw9PqbmotexnWx/FU8= -github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297 h1:k7pJ2yAPLPgbskkFdhRCsA77k2fySZ1zf2zCjvQCiIM= -golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/cluster-autoscaler/vendor/github.com/go-openapi/swag/go.mod b/cluster-autoscaler/vendor/github.com/go-openapi/swag/go.mod deleted file mode 100644 index fb29b65b2565..000000000000 --- a/cluster-autoscaler/vendor/github.com/go-openapi/swag/go.mod +++ /dev/null @@ -1,18 +0,0 @@ -module github.com/go-openapi/swag - -require ( - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/kr/text v0.2.0 // indirect - github.com/mailru/easyjson v0.7.6 - github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect - github.com/stretchr/testify v1.6.1 - gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect - gopkg.in/yaml.v2 v2.4.0 - gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect -) - -replace github.com/golang/lint => golang.org/x/lint v0.0.0-20190409202823-959b441ac422 - -replace sourcegraph.com/sourcegraph/go-diff => github.com/sourcegraph/go-diff v0.5.1 - -go 1.11 diff --git a/cluster-autoscaler/vendor/github.com/go-openapi/swag/go.sum b/cluster-autoscaler/vendor/github.com/go-openapi/swag/go.sum deleted file mode 100644 index a45da809afac..000000000000 --- a/cluster-autoscaler/vendor/github.com/go-openapi/swag/go.sum +++ /dev/null @@ -1,29 +0,0 @@ -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= -github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/mailru/easyjson v0.7.6 h1:8yTIVnZgCoiM1TgqoeTl+LfU5Jg6/xL3QhGQnimLYnA= -github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 h1:tQIYjPdBoyREyB9XMu+nnTclpTYkz2zFM+lzLJFO4gQ= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/cluster-autoscaler/vendor/github.com/godbus/dbus/v5/go.mod b/cluster-autoscaler/vendor/github.com/godbus/dbus/v5/go.mod deleted file mode 100644 index 15b920203c55..000000000000 --- a/cluster-autoscaler/vendor/github.com/godbus/dbus/v5/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/godbus/dbus/v5 - -go 1.12 diff --git a/cluster-autoscaler/vendor/github.com/godbus/dbus/v5/go.sum b/cluster-autoscaler/vendor/github.com/godbus/dbus/v5/go.sum deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/cluster-autoscaler/vendor/github.com/golang-jwt/jwt/v4/go.mod b/cluster-autoscaler/vendor/github.com/golang-jwt/jwt/v4/go.mod deleted file mode 100644 index 6bc53fdcb930..000000000000 --- a/cluster-autoscaler/vendor/github.com/golang-jwt/jwt/v4/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/golang-jwt/jwt/v4 - -go 1.15 diff --git a/cluster-autoscaler/vendor/github.com/golang-jwt/jwt/v4/go.sum b/cluster-autoscaler/vendor/github.com/golang-jwt/jwt/v4/go.sum deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/cluster-autoscaler/vendor/github.com/google/cadvisor/container/common/helpers.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/container/common/helpers.go index 2b232f6ac555..e028f279cfcd 100644 --- a/cluster-autoscaler/vendor/github.com/google/cadvisor/container/common/helpers.go +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/container/common/helpers.go @@ -210,7 +210,8 @@ func getSpecInternal(cgroupPaths map[string]string, machineInfoFactory info.Mach if cgroup2UnifiedMode { ioControllerName = "io" } - if blkioRoot, ok := cgroupPaths[ioControllerName]; ok && utils.FileExists(blkioRoot) { + + if blkioRoot, ok := GetControllerPath(cgroupPaths, ioControllerName, cgroup2UnifiedMode); ok && utils.FileExists(blkioRoot) { spec.HasDiskIo = true } diff --git a/cluster-autoscaler/vendor/github.com/google/cadvisor/container/containerd/client.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/container/containerd/client.go index c4921a5b7a5c..0c3dc2ce06e9 100644 --- a/cluster-autoscaler/vendor/github.com/google/cadvisor/container/containerd/client.go +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/container/containerd/client.go @@ -22,16 +22,17 @@ import ( "sync" "time" - containersapi "github.com/containerd/containerd/api/services/containers/v1" - tasksapi "github.com/containerd/containerd/api/services/tasks/v1" - versionapi "github.com/containerd/containerd/api/services/version/v1" - tasktypes "github.com/containerd/containerd/api/types/task" ptypes "github.com/gogo/protobuf/types" + "google.golang.org/grpc" + "google.golang.org/grpc/backoff" + "github.com/google/cadvisor/container/containerd/containers" "github.com/google/cadvisor/container/containerd/errdefs" "github.com/google/cadvisor/container/containerd/pkg/dialer" - "google.golang.org/grpc" - "google.golang.org/grpc/backoff" + containersapi "github.com/google/cadvisor/third_party/containerd/api/services/containers/v1" + tasksapi "github.com/google/cadvisor/third_party/containerd/api/services/tasks/v1" + versionapi "github.com/google/cadvisor/third_party/containerd/api/services/version/v1" + tasktypes "github.com/google/cadvisor/third_party/containerd/api/types/task" ) type client struct { diff --git a/cluster-autoscaler/vendor/github.com/google/cadvisor/container/crio/client.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/container/crio/client.go index e0d63333c341..ca65ba1ad485 100644 --- a/cluster-autoscaler/vendor/github.com/google/cadvisor/container/crio/client.go +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/container/crio/client.go @@ -18,6 +18,7 @@ import ( "context" "encoding/json" "fmt" + "io/ioutil" "net" "net/http" "sync" @@ -141,7 +142,11 @@ func (c *crioClientImpl) ContainerInfo(id string) (*ContainerInfo, error) { // golang's http.Do doesn't return an error if non 200 response code is returned // handle this case here, rather than failing to decode the body if resp.StatusCode != http.StatusOK { - return nil, fmt.Errorf("Error finding container %s: Status %d returned error %s", id, resp.StatusCode, resp.Body) + respBody, err := ioutil.ReadAll(resp.Body) + if err != nil { + return nil, fmt.Errorf("Error finding container %s: Status %d", id, resp.StatusCode) + } + return nil, fmt.Errorf("Error finding container %s: Status %d returned error %s", id, resp.StatusCode, string(respBody)) } if err := json.NewDecoder(resp.Body).Decode(&cInfo); err != nil { diff --git a/cluster-autoscaler/vendor/github.com/google/cadvisor/info/v2/container.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/info/v2/container.go index 4ee3b8179391..15fb79b9ea40 100644 --- a/cluster-autoscaler/vendor/github.com/google/cadvisor/info/v2/container.go +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/info/v2/container.go @@ -265,7 +265,7 @@ type FsInfo struct { type RequestOptions struct { // Type of container identifier specified - TypeName (default) or TypeDocker IdType string `json:"type"` - // Number of stats to return + // Number of stats to return, -1 means no limit. Count int `json:"count"` // Whether to include stats for child subcontainers. Recursive bool `json:"recursive"` diff --git a/cluster-autoscaler/vendor/github.com/google/cadvisor/manager/manager.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/manager/manager.go index 5ef1dff8fea2..980e0a3863a2 100644 --- a/cluster-autoscaler/vendor/github.com/google/cadvisor/manager/manager.go +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/manager/manager.go @@ -155,9 +155,7 @@ func New(memoryCache *memory.InMemoryCache, sysfs sysfs.SysFs, houskeepingConfig selfContainer := "/" var err error // Avoid using GetOwnCgroupPath on cgroup v2 as it is not supported by libcontainer - if cgroups.IsCgroup2UnifiedMode() { - klog.Warningf("Cannot detect current cgroup on cgroup v2") - } else { + if !cgroups.IsCgroup2UnifiedMode() { selfContainer, err = cgroups.GetOwnCgroup("cpu") if err != nil { return nil, err diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/LICENSE b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/LICENSE similarity index 100% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/LICENSE rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/LICENSE diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/NOTICE b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/NOTICE similarity index 100% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/NOTICE rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/NOTICE diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/containers/v1/containers.pb.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/containers/v1/containers.pb.go similarity index 100% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/containers/v1/containers.pb.go rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/containers/v1/containers.pb.go diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/containers/v1/containers.proto b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/containers/v1/containers.proto similarity index 91% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/containers/v1/containers.proto rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/containers/v1/containers.proto index d491f46cfa1c..36ab177de778 100644 --- a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/containers/v1/containers.proto +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/containers/v1/containers.proto @@ -1,3 +1,19 @@ +/* + Copyright The containerd Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + syntax = "proto3"; package containerd.services.containers.v1; diff --git a/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/containers/v1/doc.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/containers/v1/doc.go new file mode 100644 index 000000000000..a6ef491ce5f2 --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/containers/v1/doc.go @@ -0,0 +1,17 @@ +/* + Copyright The containerd Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +package containers diff --git a/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/tasks/v1/doc.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/tasks/v1/doc.go new file mode 100644 index 000000000000..0888ba8a85f8 --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/tasks/v1/doc.go @@ -0,0 +1,17 @@ +/* + Copyright The containerd Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +package tasks diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/tasks/v1/tasks.pb.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/tasks/v1/tasks.pb.go similarity index 92% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/tasks/v1/tasks.pb.go rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/tasks/v1/tasks.pb.go index 484b469c6e48..096e389db1fc 100644 --- a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/tasks/v1/tasks.pb.go +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/tasks/v1/tasks.pb.go @@ -6,9 +6,10 @@ package tasks import ( context "context" fmt "fmt" - types "github.com/containerd/containerd/api/types" - task "github.com/containerd/containerd/api/types/task" + types "github.com/google/cadvisor/third_party/containerd/api/types" + task "github.com/google/cadvisor/third_party/containerd/api/types/task" proto "github.com/gogo/protobuf/proto" + github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" types1 "github.com/gogo/protobuf/types" github_com_opencontainers_go_digest "github.com/opencontainers/go-digest" @@ -50,6 +51,7 @@ type CreateTaskRequest struct { Terminal bool `protobuf:"varint,7,opt,name=terminal,proto3" json:"terminal,omitempty"` Checkpoint *types.Descriptor `protobuf:"bytes,8,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"` Options *types1.Any `protobuf:"bytes,9,opt,name=options,proto3" json:"options,omitempty"` + RuntimePath string `protobuf:"bytes,10,opt,name=runtime_path,json=runtimePath,proto3" json:"runtime_path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -934,11 +936,12 @@ func (m *CheckpointTaskResponse) XXX_DiscardUnknown() { var xxx_messageInfo_CheckpointTaskResponse proto.InternalMessageInfo type UpdateTaskRequest struct { - ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` - Resources *types1.Any `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` + Resources *types1.Any `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` + Annotations map[string]string `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *UpdateTaskRequest) Reset() { *m = UpdateTaskRequest{} } @@ -1155,6 +1158,7 @@ func init() { proto.RegisterType((*CheckpointTaskRequest)(nil), "containerd.services.tasks.v1.CheckpointTaskRequest") proto.RegisterType((*CheckpointTaskResponse)(nil), "containerd.services.tasks.v1.CheckpointTaskResponse") proto.RegisterType((*UpdateTaskRequest)(nil), "containerd.services.tasks.v1.UpdateTaskRequest") + proto.RegisterMapType((map[string]string)(nil), "containerd.services.tasks.v1.UpdateTaskRequest.AnnotationsEntry") proto.RegisterType((*MetricsRequest)(nil), "containerd.services.tasks.v1.MetricsRequest") proto.RegisterType((*MetricsResponse)(nil), "containerd.services.tasks.v1.MetricsResponse") proto.RegisterType((*WaitRequest)(nil), "containerd.services.tasks.v1.WaitRequest") @@ -1166,90 +1170,95 @@ func init() { } var fileDescriptor_310e7127b8a26f14 = []byte{ - // 1318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x4b, 0x6f, 0x1b, 0x45, - 0x1c, 0xef, 0xfa, 0xed, 0xbf, 0x93, 0x36, 0x59, 0xd2, 0x60, 0x96, 0x2a, 0x0e, 0xcb, 0xc5, 0x04, - 0xba, 0x4b, 0x5d, 0x54, 0x21, 0x5a, 0x21, 0x35, 0x0f, 0x22, 0x0b, 0xaa, 0xa6, 0xdb, 0x02, 0x55, - 0x25, 0x14, 0xb6, 0xbb, 0x13, 0x67, 0x14, 0x7b, 0x67, 0xbb, 0x33, 0x4e, 0x1b, 0x38, 0xc0, 0x47, - 0xe8, 0x95, 0x0b, 0x9f, 0x27, 0x47, 0x8e, 0x08, 0x55, 0x81, 0xfa, 0x5b, 0x70, 0x43, 0xf3, 0xd8, - 0xcd, 0xc6, 0x8e, 0xbd, 0x4e, 0xd3, 0x70, 0x69, 0x67, 0x66, 0xff, 0xaf, 0xf9, 0xcd, 0xff, 0xf1, - 0x73, 0x60, 0xb5, 0x83, 0xd9, 0x6e, 0xff, 0xa9, 0xe5, 0x91, 0x9e, 0xed, 0x91, 0x80, 0xb9, 0x38, - 0x40, 0x91, 0x9f, 0x5e, 0xba, 0x21, 0xb6, 0x29, 0x8a, 0xf6, 0xb1, 0x87, 0xa8, 0xcd, 0x5c, 0xba, - 0x47, 0xed, 0xfd, 0x1b, 0x72, 0x61, 0x85, 0x11, 0x61, 0x44, 0xbf, 0x76, 0x2c, 0x6d, 0xc5, 0x92, - 0x96, 0x14, 0xd8, 0xbf, 0x61, 0xbc, 0xdf, 0x21, 0xa4, 0xd3, 0x45, 0xb6, 0x90, 0x7d, 0xda, 0xdf, - 0xb1, 0x51, 0x2f, 0x64, 0x07, 0x52, 0xd5, 0x78, 0x6f, 0xf8, 0xa3, 0x1b, 0xc4, 0x9f, 0x16, 0x3a, - 0xa4, 0x43, 0xc4, 0xd2, 0xe6, 0x2b, 0x75, 0x7a, 0x6b, 0xaa, 0x78, 0xd9, 0x41, 0x88, 0xa8, 0xdd, - 0x23, 0xfd, 0x80, 0x29, 0xbd, 0xcf, 0xcf, 0xa2, 0x87, 0x58, 0x84, 0x3d, 0x75, 0x3b, 0xe3, 0xf6, - 0x19, 0x34, 0x7d, 0x44, 0xbd, 0x08, 0x87, 0x8c, 0x44, 0x4a, 0xf9, 0x8b, 0x33, 0x28, 0x73, 0xc4, - 0xc4, 0x3f, 0x4a, 0xb7, 0x31, 0x8c, 0x0d, 0xc3, 0x3d, 0x44, 0x99, 0xdb, 0x0b, 0xa5, 0x80, 0x79, - 0x98, 0x83, 0xf9, 0xb5, 0x08, 0xb9, 0x0c, 0x3d, 0x72, 0xe9, 0x9e, 0x83, 0x9e, 0xf5, 0x11, 0x65, - 0x7a, 0x0b, 0x66, 0x12, 0xf3, 0xdb, 0xd8, 0xaf, 0x6b, 0xcb, 0x5a, 0xb3, 0xba, 0x7a, 0x65, 0x70, - 0xd4, 0xa8, 0xad, 0xc5, 0xe7, 0xed, 0x75, 0xa7, 0x96, 0x08, 0xb5, 0x7d, 0xdd, 0x86, 0x52, 0x44, - 0x08, 0xdb, 0xa1, 0xf5, 0xfc, 0x72, 0xbe, 0x59, 0x6b, 0xbd, 0x6b, 0xa5, 0x9e, 0x54, 0x44, 0x67, - 0xdd, 0xe3, 0x60, 0x3a, 0x4a, 0x4c, 0x5f, 0x80, 0x22, 0x65, 0x3e, 0x0e, 0xea, 0x05, 0x6e, 0xdd, - 0x91, 0x1b, 0x7d, 0x11, 0x4a, 0x94, 0xf9, 0xa4, 0xcf, 0xea, 0x45, 0x71, 0xac, 0x76, 0xea, 0x1c, - 0x45, 0x51, 0xbd, 0x94, 0x9c, 0xa3, 0x28, 0xd2, 0x0d, 0xa8, 0x30, 0x14, 0xf5, 0x70, 0xe0, 0x76, - 0xeb, 0xe5, 0x65, 0xad, 0x59, 0x71, 0x92, 0xbd, 0x7e, 0x07, 0xc0, 0xdb, 0x45, 0xde, 0x5e, 0x48, - 0x70, 0xc0, 0xea, 0x95, 0x65, 0xad, 0x59, 0x6b, 0x5d, 0x1b, 0x0d, 0x6b, 0x3d, 0x41, 0xdc, 0x49, - 0xc9, 0xeb, 0x16, 0x94, 0x49, 0xc8, 0x30, 0x09, 0x68, 0xbd, 0x2a, 0x54, 0x17, 0x2c, 0x89, 0xa6, - 0x15, 0xa3, 0x69, 0xdd, 0x0d, 0x0e, 0x9c, 0x58, 0xc8, 0x7c, 0x02, 0x7a, 0x1a, 0x49, 0x1a, 0x92, - 0x80, 0xa2, 0x37, 0x82, 0x72, 0x0e, 0xf2, 0x21, 0xf6, 0xeb, 0xb9, 0x65, 0xad, 0x39, 0xeb, 0xf0, - 0xa5, 0xd9, 0x81, 0x99, 0x87, 0xcc, 0x8d, 0xd8, 0x79, 0x1e, 0xe8, 0x43, 0x28, 0xa3, 0x17, 0xc8, - 0xdb, 0x56, 0x96, 0xab, 0xab, 0x30, 0x38, 0x6a, 0x94, 0x36, 0x5e, 0x20, 0xaf, 0xbd, 0xee, 0x94, - 0xf8, 0xa7, 0xb6, 0x6f, 0x7e, 0x00, 0xb3, 0xca, 0x91, 0x8a, 0x5f, 0xc5, 0xa2, 0x1d, 0xc7, 0xb2, - 0x09, 0xf3, 0xeb, 0xa8, 0x8b, 0xce, 0x9d, 0x31, 0xe6, 0xef, 0x1a, 0x5c, 0x96, 0x96, 0x12, 0x6f, - 0x8b, 0x90, 0x4b, 0x94, 0x4b, 0x83, 0xa3, 0x46, 0xae, 0xbd, 0xee, 0xe4, 0xf0, 0x29, 0x88, 0xe8, - 0x0d, 0xa8, 0xa1, 0x17, 0x98, 0x6d, 0x53, 0xe6, 0xb2, 0x3e, 0xcf, 0x39, 0xfe, 0x05, 0xf8, 0xd1, - 0x43, 0x71, 0xa2, 0xdf, 0x85, 0x2a, 0xdf, 0x21, 0x7f, 0xdb, 0x65, 0x22, 0xc5, 0x6a, 0x2d, 0x63, - 0xe4, 0x01, 0x1f, 0xc5, 0xe5, 0xb0, 0x5a, 0x39, 0x3c, 0x6a, 0x5c, 0x7a, 0xf9, 0x77, 0x43, 0x73, - 0x2a, 0x52, 0xed, 0x2e, 0x33, 0x09, 0x2c, 0xc8, 0xf8, 0xb6, 0x22, 0xe2, 0x21, 0x4a, 0x2f, 0x1c, - 0x7d, 0x04, 0xb0, 0x89, 0x2e, 0xfe, 0x91, 0x37, 0xa0, 0x26, 0xdc, 0x28, 0xd0, 0x6f, 0x41, 0x39, - 0x94, 0x17, 0x14, 0x2e, 0x86, 0x6a, 0x64, 0xff, 0x86, 0x2a, 0x93, 0x18, 0x84, 0x58, 0xd8, 0x5c, - 0x81, 0xb9, 0x6f, 0x30, 0x65, 0x3c, 0x0d, 0x12, 0x68, 0x16, 0xa1, 0xb4, 0x83, 0xbb, 0x0c, 0x45, - 0x32, 0x5a, 0x47, 0xed, 0x78, 0xd2, 0xa4, 0x64, 0x93, 0xda, 0x28, 0x8a, 0x16, 0x5f, 0xd7, 0x44, - 0xc7, 0x98, 0xec, 0x56, 0x8a, 0x9a, 0x2f, 0x35, 0xa8, 0x7d, 0x8d, 0xbb, 0xdd, 0x8b, 0x06, 0x49, - 0x34, 0x1c, 0xdc, 0xe1, 0x6d, 0x45, 0xe6, 0x96, 0xda, 0xf1, 0x54, 0x74, 0xbb, 0x5d, 0x91, 0x51, - 0x15, 0x87, 0x2f, 0xcd, 0x7f, 0x35, 0xd0, 0xb9, 0xf2, 0x5b, 0xc8, 0x92, 0xa4, 0x27, 0xe6, 0x4e, - 0xef, 0x89, 0xf9, 0x31, 0x3d, 0xb1, 0x30, 0xb6, 0x27, 0x16, 0x87, 0x7a, 0x62, 0x13, 0x0a, 0x34, - 0x44, 0x9e, 0xe8, 0xa2, 0xe3, 0x5a, 0x9a, 0x90, 0x48, 0xa3, 0x54, 0x1e, 0x9b, 0x4a, 0x57, 0xe1, - 0x9d, 0x13, 0x57, 0x97, 0x2f, 0x6b, 0xfe, 0xa6, 0xc1, 0x9c, 0x83, 0x28, 0xfe, 0x09, 0x6d, 0xb1, - 0x83, 0x0b, 0x7f, 0xaa, 0x05, 0x28, 0x3e, 0xc7, 0x3e, 0xdb, 0x55, 0x2f, 0x25, 0x37, 0x1c, 0x9d, - 0x5d, 0x84, 0x3b, 0xbb, 0xb2, 0xfa, 0x67, 0x1d, 0xb5, 0x33, 0x7f, 0x81, 0xcb, 0x6b, 0x5d, 0x42, - 0x51, 0xfb, 0xfe, 0xff, 0x11, 0x98, 0x7c, 0xce, 0xbc, 0x78, 0x05, 0xb9, 0x31, 0xbf, 0x82, 0xb9, - 0x2d, 0xb7, 0x4f, 0xcf, 0xdd, 0x3f, 0x37, 0x61, 0xde, 0x41, 0xb4, 0xdf, 0x3b, 0xb7, 0xa1, 0x0d, - 0xb8, 0xc2, 0x8b, 0x73, 0x0b, 0xfb, 0xe7, 0x49, 0x5e, 0xd3, 0x91, 0xfd, 0x40, 0x9a, 0x51, 0x25, - 0xfe, 0x25, 0x54, 0x55, 0xbb, 0x40, 0x71, 0x99, 0x2f, 0x4f, 0x2a, 0xf3, 0x76, 0xb0, 0x43, 0x9c, - 0x63, 0x15, 0xf3, 0x95, 0x06, 0x57, 0xd7, 0x92, 0x99, 0x7c, 0x5e, 0x8e, 0xb2, 0x0d, 0xf3, 0xa1, - 0x1b, 0xa1, 0x80, 0x6d, 0xa7, 0x78, 0x81, 0x7c, 0xbe, 0x16, 0xef, 0xff, 0x7f, 0x1d, 0x35, 0x56, - 0x52, 0x6c, 0x8b, 0x84, 0x28, 0x48, 0xd4, 0xa9, 0xdd, 0x21, 0xd7, 0x7d, 0xdc, 0x41, 0x94, 0x59, - 0xeb, 0xe2, 0x3f, 0x67, 0x4e, 0x1a, 0x5b, 0x3b, 0x95, 0x33, 0xe4, 0xa7, 0xe1, 0x0c, 0x8f, 0x61, - 0x71, 0xf8, 0x76, 0x09, 0x70, 0xb5, 0x63, 0x26, 0x78, 0x6a, 0x87, 0x1c, 0x21, 0x2f, 0x69, 0x05, - 0xf3, 0x67, 0x98, 0xff, 0x36, 0xf4, 0xdf, 0x02, 0xaf, 0x6b, 0x41, 0x35, 0x42, 0x94, 0xf4, 0x23, - 0x0f, 0x51, 0x81, 0xd5, 0xb8, 0x4b, 0x1d, 0x8b, 0x99, 0x2b, 0x70, 0xf9, 0x9e, 0x24, 0xc0, 0xb1, - 0xe7, 0x3a, 0x94, 0xe5, 0x24, 0x90, 0x57, 0xa9, 0x3a, 0xf1, 0x96, 0x27, 0x5f, 0x22, 0x9b, 0xcc, - 0x85, 0xb2, 0xe2, 0xcf, 0xea, 0xde, 0xf5, 0x53, 0xb8, 0xa4, 0x10, 0x70, 0x62, 0x41, 0x73, 0x07, - 0x6a, 0xdf, 0xbb, 0xf8, 0xe2, 0x67, 0x67, 0x04, 0x33, 0xd2, 0x8f, 0x8a, 0x75, 0x88, 0x87, 0x68, - 0x93, 0x79, 0x48, 0xee, 0x4d, 0x78, 0x48, 0xeb, 0xd5, 0x0c, 0x14, 0xc5, 0xe4, 0xd4, 0xf7, 0xa0, - 0x24, 0x39, 0xa6, 0x6e, 0x5b, 0x93, 0x7e, 0x31, 0x59, 0x23, 0x9c, 0xde, 0xf8, 0x74, 0x7a, 0x05, - 0x75, 0xb5, 0x1f, 0xa1, 0x28, 0xb8, 0xa0, 0xbe, 0x32, 0x59, 0x35, 0xcd, 0x4c, 0x8d, 0x8f, 0xa7, - 0x92, 0x55, 0x1e, 0x3a, 0x50, 0x92, 0x04, 0x2b, 0xeb, 0x3a, 0x23, 0x84, 0xd3, 0xf8, 0x64, 0x1a, - 0x85, 0xc4, 0xd1, 0x33, 0x98, 0x3d, 0xc1, 0xe4, 0xf4, 0xd6, 0x34, 0xea, 0x27, 0x07, 0xfa, 0x19, - 0x5d, 0x3e, 0x81, 0xfc, 0x26, 0x62, 0x7a, 0x73, 0xb2, 0xd2, 0x31, 0xdd, 0x33, 0x3e, 0x9a, 0x42, - 0x32, 0xc1, 0xad, 0xc0, 0x3b, 0xad, 0x6e, 0x4d, 0x56, 0x19, 0x66, 0x67, 0x86, 0x3d, 0xb5, 0xbc, - 0x72, 0xd4, 0x86, 0x02, 0x27, 0x5b, 0x7a, 0x46, 0x6c, 0x29, 0x42, 0x66, 0x2c, 0x8e, 0x24, 0xf7, - 0x06, 0xff, 0xb1, 0xae, 0x6f, 0x41, 0x81, 0x97, 0x92, 0x9e, 0x91, 0x87, 0xa3, 0x44, 0x6a, 0xac, - 0xc5, 0x87, 0x50, 0x4d, 0x38, 0x46, 0x16, 0x14, 0xc3, 0x64, 0x64, 0xac, 0xd1, 0xfb, 0x50, 0x56, - 0xec, 0x40, 0xcf, 0x78, 0xef, 0x93, 0x24, 0x62, 0x82, 0xc1, 0xa2, 0x98, 0xf6, 0x59, 0x11, 0x0e, - 0x53, 0x82, 0xb1, 0x06, 0x1f, 0x40, 0x49, 0x8e, 0xfd, 0xac, 0xa2, 0x19, 0x21, 0x07, 0x63, 0x4d, - 0x62, 0xa8, 0xc4, 0x93, 0x5b, 0xbf, 0x9e, 0x9d, 0x23, 0x29, 0xa2, 0x60, 0x58, 0xd3, 0x8a, 0xab, - 0x8c, 0x7a, 0x0e, 0x90, 0x9a, 0x97, 0x37, 0x33, 0x20, 0x3e, 0x6d, 0xf2, 0x1b, 0x9f, 0x9d, 0x4d, - 0x49, 0x39, 0x7e, 0x00, 0x25, 0x39, 0x10, 0xb3, 0x60, 0x1b, 0x19, 0x9b, 0x63, 0x61, 0xdb, 0x81, - 0xb2, 0x1a, 0x5d, 0x59, 0xb9, 0x72, 0x72, 0x1a, 0x1a, 0xd7, 0xa7, 0x94, 0x56, 0xa1, 0xff, 0x00, - 0x05, 0x3e, 0x73, 0xb2, 0xaa, 0x30, 0x35, 0xff, 0x8c, 0x95, 0x69, 0x44, 0xa5, 0xf9, 0xd5, 0xef, - 0x0e, 0x5f, 0x2f, 0x5d, 0xfa, 0xf3, 0xf5, 0xd2, 0xa5, 0x5f, 0x07, 0x4b, 0xda, 0xe1, 0x60, 0x49, - 0xfb, 0x63, 0xb0, 0xa4, 0xfd, 0x33, 0x58, 0xd2, 0x9e, 0xdc, 0x79, 0xb3, 0xbf, 0xec, 0xdd, 0x16, - 0x8b, 0xc7, 0xb9, 0xa7, 0x25, 0x01, 0xd8, 0xcd, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x85, 0xa2, - 0x4f, 0xd1, 0x22, 0x14, 0x00, 0x00, + // 1400 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x5b, 0x6f, 0x1b, 0x45, + 0x14, 0xee, 0xfa, 0xee, 0xe3, 0xa4, 0x4d, 0x96, 0x34, 0x98, 0xa5, 0x8a, 0xd3, 0xe5, 0xc5, 0x04, + 0xba, 0xa6, 0x2e, 0xaa, 0xaa, 0xb6, 0xaa, 0xc8, 0x8d, 0xc8, 0x82, 0xaa, 0xe9, 0xb6, 0x40, 0x55, + 0x09, 0x99, 0x8d, 0x77, 0x62, 0x8f, 0x62, 0xef, 0x6c, 0x77, 0xc6, 0x69, 0xcd, 0x0b, 0xfc, 0x84, + 0xbe, 0xf2, 0x02, 0x7f, 0xa7, 0x8f, 0x3c, 0x22, 0x54, 0x05, 0xea, 0x57, 0x7e, 0x01, 0x6f, 0x68, + 0x2e, 0xbb, 0xde, 0xd8, 0xf1, 0x25, 0x4d, 0xc3, 0x4b, 0x3b, 0x33, 0x7b, 0xce, 0x99, 0x33, 0xdf, + 0xb9, 0x7d, 0x0e, 0x6c, 0x34, 0x31, 0x6b, 0x75, 0xf7, 0xac, 0x06, 0xe9, 0x54, 0x1a, 0xc4, 0x63, + 0x0e, 0xf6, 0x50, 0xe0, 0xc6, 0x97, 0x8e, 0x8f, 0x2b, 0x14, 0x05, 0x87, 0xb8, 0x81, 0x68, 0x85, + 0x39, 0xf4, 0x80, 0x56, 0x0e, 0xaf, 0xcb, 0x85, 0xe5, 0x07, 0x84, 0x11, 0xfd, 0xca, 0x40, 0xda, + 0x0a, 0x25, 0x2d, 0x29, 0x70, 0x78, 0xdd, 0xf8, 0xb0, 0x49, 0x48, 0xb3, 0x8d, 0x2a, 0x42, 0x76, + 0xaf, 0xbb, 0x5f, 0x41, 0x1d, 0x9f, 0xf5, 0xa4, 0xaa, 0xf1, 0xc1, 0xf0, 0x47, 0xc7, 0x0b, 0x3f, + 0x2d, 0x35, 0x49, 0x93, 0x88, 0x65, 0x85, 0xaf, 0xd4, 0xe9, 0xcd, 0x99, 0xfc, 0x65, 0x3d, 0x1f, + 0xd1, 0x4a, 0x87, 0x74, 0x3d, 0xa6, 0xf4, 0x6e, 0x9d, 0x46, 0x0f, 0xb1, 0x00, 0x37, 0xd4, 0xeb, + 0x8c, 0x3b, 0xa7, 0xd0, 0x74, 0x11, 0x6d, 0x04, 0xd8, 0x67, 0x24, 0x50, 0xca, 0xb7, 0x4f, 0xa1, + 0xcc, 0x11, 0x13, 0xff, 0x28, 0xdd, 0xd2, 0x30, 0x36, 0x0c, 0x77, 0x10, 0x65, 0x4e, 0xc7, 0x97, + 0x02, 0xe6, 0x3f, 0x09, 0x58, 0xdc, 0x0c, 0x90, 0xc3, 0xd0, 0x63, 0x87, 0x1e, 0xd8, 0xe8, 0x59, + 0x17, 0x51, 0xa6, 0x57, 0x61, 0x2e, 0x32, 0x5f, 0xc7, 0x6e, 0x51, 0x5b, 0xd5, 0xca, 0xf9, 0x8d, + 0x4b, 0xfd, 0xa3, 0x52, 0x61, 0x33, 0x3c, 0xaf, 0x6d, 0xd9, 0x85, 0x48, 0xa8, 0xe6, 0xea, 0x15, + 0xc8, 0x04, 0x84, 0xb0, 0x7d, 0x5a, 0x4c, 0xae, 0x26, 0xcb, 0x85, 0xea, 0xfb, 0x56, 0x2c, 0xa4, + 0xc2, 0x3b, 0xeb, 0x3e, 0x07, 0xd3, 0x56, 0x62, 0xfa, 0x12, 0xa4, 0x29, 0x73, 0xb1, 0x57, 0x4c, + 0x71, 0xeb, 0xb6, 0xdc, 0xe8, 0xcb, 0x90, 0xa1, 0xcc, 0x25, 0x5d, 0x56, 0x4c, 0x8b, 0x63, 0xb5, + 0x53, 0xe7, 0x28, 0x08, 0x8a, 0x99, 0xe8, 0x1c, 0x05, 0x81, 0x6e, 0x40, 0x8e, 0xa1, 0xa0, 0x83, + 0x3d, 0xa7, 0x5d, 0xcc, 0xae, 0x6a, 0xe5, 0x9c, 0x1d, 0xed, 0xf5, 0xbb, 0x00, 0x8d, 0x16, 0x6a, + 0x1c, 0xf8, 0x04, 0x7b, 0xac, 0x98, 0x5b, 0xd5, 0xca, 0x85, 0xea, 0x95, 0x51, 0xb7, 0xb6, 0x22, + 0xc4, 0xed, 0x98, 0xbc, 0x6e, 0x41, 0x96, 0xf8, 0x0c, 0x13, 0x8f, 0x16, 0xf3, 0x42, 0x75, 0xc9, + 0x92, 0x68, 0x5a, 0x21, 0x9a, 0xd6, 0xba, 0xd7, 0xb3, 0x43, 0x21, 0xfd, 0x2a, 0xcc, 0x05, 0x5d, + 0x8f, 0x03, 0x5c, 0xf7, 0x1d, 0xd6, 0x2a, 0x82, 0xf0, 0xb3, 0xa0, 0xce, 0x76, 0x1d, 0xd6, 0x32, + 0x9f, 0x82, 0x1e, 0x07, 0x9b, 0xfa, 0xc4, 0xa3, 0xe8, 0xad, 0xd0, 0x5e, 0x80, 0xa4, 0x8f, 0xdd, + 0x62, 0x62, 0x55, 0x2b, 0xcf, 0xdb, 0x7c, 0x69, 0x36, 0x61, 0xee, 0x11, 0x73, 0x02, 0x76, 0x96, + 0x18, 0x7e, 0x04, 0x59, 0xf4, 0x02, 0x35, 0xea, 0xca, 0x72, 0x7e, 0x03, 0xfa, 0x47, 0xa5, 0xcc, + 0xf6, 0x0b, 0xd4, 0xa8, 0x6d, 0xd9, 0x19, 0xfe, 0xa9, 0xe6, 0x9a, 0x57, 0x61, 0x5e, 0x5d, 0xa4, + 0xfc, 0x57, 0xbe, 0x68, 0x03, 0x5f, 0x76, 0x60, 0x71, 0x0b, 0xb5, 0xd1, 0x99, 0x93, 0xca, 0xfc, + 0x55, 0x83, 0x8b, 0xd2, 0x52, 0x74, 0xdb, 0x32, 0x24, 0x22, 0xe5, 0x4c, 0xff, 0xa8, 0x94, 0xa8, + 0x6d, 0xd9, 0x09, 0x7c, 0x02, 0x22, 0x7a, 0x09, 0x0a, 0xe8, 0x05, 0x66, 0x75, 0xca, 0x1c, 0xd6, + 0xe5, 0x69, 0xc9, 0xbf, 0x00, 0x3f, 0x7a, 0x24, 0x4e, 0xf4, 0x75, 0xc8, 0xf3, 0x1d, 0x72, 0xeb, + 0x0e, 0x13, 0x59, 0x58, 0xa8, 0x1a, 0x23, 0x31, 0x7e, 0x1c, 0x56, 0xcc, 0x46, 0xee, 0xd5, 0x51, + 0xe9, 0xc2, 0xcb, 0xbf, 0x4a, 0x9a, 0x9d, 0x93, 0x6a, 0xeb, 0xcc, 0x24, 0xb0, 0x24, 0xfd, 0xdb, + 0x0d, 0x48, 0x03, 0x51, 0x7a, 0xee, 0xe8, 0x23, 0x80, 0x1d, 0x74, 0xfe, 0x41, 0xde, 0x86, 0x82, + 0xb8, 0x46, 0x81, 0x7e, 0x13, 0xb2, 0xbe, 0x7c, 0xa0, 0xb8, 0x62, 0xa8, 0x8c, 0x0e, 0xaf, 0xab, + 0x4a, 0x0a, 0x41, 0x08, 0x85, 0xcd, 0x35, 0x58, 0xf8, 0x1a, 0x53, 0xc6, 0xd3, 0x20, 0x82, 0x66, + 0x19, 0x32, 0xfb, 0xb8, 0xcd, 0x50, 0x20, 0xbd, 0xb5, 0xd5, 0x8e, 0x27, 0x4d, 0x4c, 0x36, 0xaa, + 0x8d, 0xb4, 0x98, 0x02, 0x45, 0x4d, 0x34, 0x95, 0xc9, 0xd7, 0x4a, 0x51, 0xf3, 0xa5, 0x06, 0x85, + 0xaf, 0x70, 0xbb, 0x7d, 0xde, 0x20, 0x89, 0x9e, 0x84, 0x9b, 0xbc, 0xf3, 0xc8, 0xdc, 0x52, 0x3b, + 0x9e, 0x8a, 0x4e, 0xbb, 0x2d, 0x32, 0x2a, 0x67, 0xf3, 0xa5, 0xf9, 0xaf, 0x06, 0x3a, 0x57, 0x7e, + 0x07, 0x59, 0x12, 0xb5, 0xcd, 0xc4, 0xc9, 0x6d, 0x33, 0x39, 0xa6, 0x6d, 0xa6, 0xc6, 0xb6, 0xcd, + 0xf4, 0x50, 0xdb, 0x2c, 0x43, 0x8a, 0xfa, 0xa8, 0x21, 0x1a, 0xed, 0xb8, 0xae, 0x27, 0x24, 0xe2, + 0x28, 0x65, 0xc7, 0xa6, 0xd2, 0x65, 0x78, 0xef, 0xd8, 0xd3, 0x65, 0x64, 0xcd, 0x5f, 0x34, 0x58, + 0xb0, 0x11, 0xc5, 0x3f, 0xa2, 0x5d, 0xd6, 0x3b, 0xf7, 0x50, 0x2d, 0x41, 0xfa, 0x39, 0x76, 0x59, + 0x4b, 0x45, 0x4a, 0x6e, 0x38, 0x3a, 0x2d, 0x84, 0x9b, 0x2d, 0x59, 0xfd, 0xf3, 0xb6, 0xda, 0x99, + 0x3f, 0xc1, 0xc5, 0xcd, 0x36, 0xa1, 0xa8, 0xf6, 0xe0, 0xff, 0x70, 0x4c, 0x86, 0x33, 0x29, 0xa2, + 0x20, 0x37, 0xe6, 0x97, 0xb0, 0xb0, 0xeb, 0x74, 0xe9, 0x99, 0xfb, 0xe7, 0x0e, 0x2c, 0xda, 0x88, + 0x76, 0x3b, 0x67, 0x36, 0xb4, 0x0d, 0x97, 0x78, 0x71, 0xee, 0x62, 0xf7, 0x2c, 0xc9, 0x6b, 0xda, + 0xb2, 0x1f, 0x48, 0x33, 0xaa, 0xc4, 0xef, 0x41, 0x5e, 0xb5, 0x0b, 0x14, 0x96, 0xf9, 0xea, 0xa4, + 0x32, 0xaf, 0x79, 0xfb, 0xc4, 0x1e, 0xa8, 0x98, 0xaf, 0x35, 0xb8, 0xbc, 0x19, 0x8d, 0xed, 0xb3, + 0xd2, 0x98, 0x3a, 0x2c, 0xfa, 0x4e, 0x80, 0x3c, 0x56, 0x8f, 0x51, 0x07, 0x19, 0xbe, 0x2a, 0xef, + 0xff, 0x7f, 0x1e, 0x95, 0xd6, 0x62, 0x84, 0x8c, 0xf8, 0xc8, 0x8b, 0xd4, 0x69, 0xa5, 0x49, 0xae, + 0xb9, 0xb8, 0x89, 0x28, 0xb3, 0xb6, 0xc4, 0x7f, 0xf6, 0x82, 0x34, 0xb6, 0x79, 0x22, 0xad, 0x48, + 0xce, 0x40, 0x2b, 0xcc, 0x27, 0xb0, 0x3c, 0xfc, 0xba, 0x08, 0xb8, 0xc2, 0x80, 0x2c, 0x9e, 0xd8, + 0x21, 0x47, 0xf8, 0x4d, 0x5c, 0xc1, 0xfc, 0x2d, 0x01, 0x8b, 0xdf, 0xf8, 0xee, 0x3b, 0xe0, 0x7e, + 0x55, 0xc8, 0x07, 0x88, 0x92, 0x6e, 0xd0, 0x40, 0x54, 0x80, 0x35, 0xee, 0x55, 0x03, 0x31, 0x7d, + 0x0f, 0x0a, 0x8e, 0xe7, 0x11, 0xe6, 0x84, 0x58, 0x70, 0xef, 0xbf, 0xb0, 0x26, 0xfd, 0x0e, 0xb0, + 0x46, 0xbc, 0xb5, 0xd6, 0x07, 0x26, 0xb6, 0x3d, 0x16, 0xf4, 0xec, 0xb8, 0x51, 0xe3, 0x1e, 0x2c, + 0x0c, 0x0b, 0xf0, 0xe6, 0x7c, 0x80, 0x7a, 0x6a, 0xf6, 0xf0, 0x25, 0x2f, 0xc1, 0x43, 0xa7, 0xdd, + 0x45, 0x61, 0x47, 0x15, 0x9b, 0xdb, 0x89, 0x5b, 0x9a, 0xb9, 0x06, 0x17, 0xef, 0x4b, 0x22, 0x1f, + 0xa2, 0x53, 0x84, 0xac, 0x1c, 0x57, 0x12, 0xef, 0xbc, 0x1d, 0x6e, 0x79, 0x85, 0x44, 0xb2, 0xd1, + 0xf0, 0xca, 0xaa, 0xdf, 0x01, 0x2a, 0x38, 0xc5, 0x13, 0x38, 0xb1, 0x10, 0xb0, 0x43, 0x41, 0x73, + 0x1f, 0x0a, 0xdf, 0x39, 0xf8, 0xfc, 0x07, 0x7c, 0x00, 0x73, 0xf2, 0x1e, 0xe5, 0xeb, 0x10, 0x59, + 0xd2, 0x26, 0x93, 0xa5, 0xc4, 0xdb, 0x90, 0xa5, 0xea, 0xeb, 0x39, 0x48, 0x8b, 0xf1, 0xae, 0x1f, + 0x40, 0x46, 0x12, 0x61, 0xbd, 0x32, 0x39, 0xe2, 0x23, 0xbf, 0x4d, 0x8c, 0xcf, 0x66, 0x57, 0x50, + 0x4f, 0xfb, 0x01, 0xd2, 0x82, 0xb0, 0xea, 0x6b, 0x93, 0x55, 0xe3, 0xf4, 0xd9, 0xf8, 0x64, 0x26, + 0x59, 0x75, 0x43, 0x13, 0x32, 0x92, 0x05, 0x4e, 0x7b, 0xce, 0x08, 0x2b, 0x36, 0x3e, 0x9d, 0x45, + 0x21, 0xba, 0xe8, 0x19, 0xcc, 0x1f, 0xa3, 0x9b, 0x7a, 0x75, 0x16, 0xf5, 0xe3, 0xac, 0xe3, 0x94, + 0x57, 0x3e, 0x85, 0xe4, 0x0e, 0x62, 0x7a, 0x79, 0xb2, 0xd2, 0x80, 0x93, 0x1a, 0x1f, 0xcf, 0x20, + 0x19, 0xe1, 0x96, 0xe2, 0xe3, 0x40, 0xb7, 0x26, 0xab, 0x0c, 0x53, 0x48, 0xa3, 0x32, 0xb3, 0xbc, + 0xba, 0xa8, 0x06, 0x29, 0xce, 0x08, 0xf5, 0x29, 0xbe, 0xc5, 0x58, 0xa3, 0xb1, 0x3c, 0x92, 0xdc, + 0xdb, 0x1d, 0x9f, 0xf5, 0xf4, 0x5d, 0x48, 0xf1, 0x52, 0xd2, 0xa7, 0xe4, 0xe1, 0x28, 0xdb, 0x1b, + 0x6b, 0xf1, 0x11, 0xe4, 0x23, 0x22, 0x34, 0x0d, 0x8a, 0x61, 0xc6, 0x34, 0xd6, 0xe8, 0x03, 0xc8, + 0x2a, 0x0a, 0xa3, 0x4f, 0x89, 0xf7, 0x71, 0xa6, 0x33, 0xc1, 0x60, 0x5a, 0x50, 0x92, 0x69, 0x1e, + 0x0e, 0xf3, 0x96, 0xb1, 0x06, 0x1f, 0x42, 0x46, 0x72, 0x93, 0x69, 0x45, 0x33, 0xc2, 0x60, 0xc6, + 0x9a, 0xc4, 0x90, 0x0b, 0xe9, 0x85, 0x7e, 0x6d, 0x7a, 0x8e, 0xc4, 0xd8, 0x8c, 0x61, 0xcd, 0x2a, + 0xae, 0x32, 0xea, 0x39, 0x40, 0x6c, 0xa8, 0xdf, 0x98, 0x02, 0xf1, 0x49, 0xf4, 0xc4, 0xf8, 0xfc, + 0x74, 0x4a, 0xea, 0xe2, 0x87, 0x90, 0x91, 0x63, 0x70, 0x1a, 0x6c, 0x23, 0xc3, 0x72, 0x2c, 0x6c, + 0xfb, 0x90, 0x55, 0xa3, 0x6b, 0x5a, 0xae, 0x1c, 0x9f, 0x86, 0xc6, 0xb5, 0x19, 0xa5, 0x95, 0xeb, + 0xdf, 0x43, 0x8a, 0xcf, 0x9c, 0x69, 0x55, 0x18, 0x9b, 0x7f, 0xc6, 0xda, 0x2c, 0xa2, 0xd2, 0xfc, + 0xc6, 0xb7, 0xaf, 0xde, 0xac, 0x5c, 0xf8, 0xe3, 0xcd, 0xca, 0x85, 0x9f, 0xfb, 0x2b, 0xda, 0xab, + 0xfe, 0x8a, 0xf6, 0x7b, 0x7f, 0x45, 0xfb, 0xbb, 0xbf, 0xa2, 0x3d, 0xbd, 0xfb, 0x76, 0x7f, 0xa1, + 0xbc, 0x23, 0x16, 0x4f, 0x12, 0x7b, 0x19, 0x01, 0xd8, 0x8d, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, + 0xc7, 0x3c, 0xaa, 0x56, 0xea, 0x14, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1940,6 +1949,13 @@ func (m *CreateTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if len(m.RuntimePath) > 0 { + i -= len(m.RuntimePath) + copy(dAtA[i:], m.RuntimePath) + i = encodeVarintTasks(dAtA, i, uint64(len(m.RuntimePath))) + i-- + dAtA[i] = 0x52 + } if m.Options != nil { { size, err := m.Options.MarshalToSizedBuffer(dAtA[:i]) @@ -2943,6 +2959,25 @@ func (m *UpdateTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i -= len(m.XXX_unrecognized) copy(dAtA[i:], m.XXX_unrecognized) } + if len(m.Annotations) > 0 { + for k := range m.Annotations { + v := m.Annotations[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarintTasks(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintTasks(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintTasks(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0x1a + } + } if m.Resources != nil { { size, err := m.Resources.MarshalToSizedBuffer(dAtA[:i]) @@ -3173,6 +3208,10 @@ func (m *CreateTaskRequest) Size() (n int) { l = m.Options.Size() n += 1 + l + sovTasks(uint64(l)) } + l = len(m.RuntimePath) + if l > 0 { + n += 1 + l + sovTasks(uint64(l)) + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -3611,6 +3650,14 @@ func (m *UpdateTaskRequest) Size() (n int) { l = m.Resources.Size() n += 1 + l + sovTasks(uint64(l)) } + if len(m.Annotations) > 0 { + for k, v := range m.Annotations { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovTasks(uint64(len(k))) + 1 + len(v) + sovTasks(uint64(len(v))) + n += mapEntrySize + 1 + sovTasks(uint64(mapEntrySize)) + } + } if m.XXX_unrecognized != nil { n += len(m.XXX_unrecognized) } @@ -3714,6 +3761,7 @@ func (this *CreateTaskRequest) String() string { `Terminal:` + fmt.Sprintf("%v", this.Terminal) + `,`, `Checkpoint:` + strings.Replace(fmt.Sprintf("%v", this.Checkpoint), "Descriptor", "types.Descriptor", 1) + `,`, `Options:` + strings.Replace(fmt.Sprintf("%v", this.Options), "Any", "types1.Any", 1) + `,`, + `RuntimePath:` + fmt.Sprintf("%v", this.RuntimePath) + `,`, `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") @@ -3991,9 +4039,20 @@ func (this *UpdateTaskRequest) String() string { if this == nil { return "nil" } + keysForAnnotations := make([]string, 0, len(this.Annotations)) + for k, _ := range this.Annotations { + keysForAnnotations = append(keysForAnnotations, k) + } + github_com_gogo_protobuf_sortkeys.Strings(keysForAnnotations) + mapStringForAnnotations := "map[string]string{" + for _, k := range keysForAnnotations { + mapStringForAnnotations += fmt.Sprintf("%v: %v,", k, this.Annotations[k]) + } + mapStringForAnnotations += "}" s := strings.Join([]string{`&UpdateTaskRequest{`, `ContainerID:` + fmt.Sprintf("%v", this.ContainerID) + `,`, `Resources:` + strings.Replace(fmt.Sprintf("%v", this.Resources), "Any", "types1.Any", 1) + `,`, + `Annotations:` + mapStringForAnnotations + `,`, `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") @@ -4341,6 +4400,38 @@ func (m *CreateTaskRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RuntimePath", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasks + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTasks + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTasks + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RuntimePath = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTasks(dAtA[iNdEx:]) @@ -6799,6 +6890,133 @@ func (m *UpdateTaskRequest) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Annotations", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasks + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTasks + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTasks + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Annotations == nil { + m.Annotations = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasks + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasks + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthTasks + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTasks + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTasks + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLengthTasks + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTasks + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skipTasks(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthTasks + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Annotations[mapkey] = mapvalue + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTasks(dAtA[iNdEx:]) diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/tasks/v1/tasks.proto b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/tasks/v1/tasks.proto similarity index 88% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/tasks/v1/tasks.proto rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/tasks/v1/tasks.proto index 90793cbabad7..6299c760265f 100644 --- a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/tasks/v1/tasks.proto +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/tasks/v1/tasks.proto @@ -1,3 +1,19 @@ +/* + Copyright The containerd Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + syntax = "proto3"; package containerd.services.tasks.v1; @@ -72,6 +88,8 @@ message CreateTaskRequest { containerd.types.Descriptor checkpoint = 8; google.protobuf.Any options = 9; + + string runtime_path = 10; } message CreateTaskResponse { @@ -188,6 +206,7 @@ message CheckpointTaskResponse { message UpdateTaskRequest { string container_id = 1; google.protobuf.Any resources = 2; + map annotations = 3; } message MetricsRequest { diff --git a/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/version/v1/doc.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/version/v1/doc.go new file mode 100644 index 000000000000..c5c0b85ddb22 --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/version/v1/doc.go @@ -0,0 +1,18 @@ +/* + Copyright The containerd Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +// Package version defines the version service. +package version diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/version/v1/version.pb.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/version/v1/version.pb.go similarity index 100% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/api/services/version/v1/version.pb.go rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/version/v1/version.pb.go diff --git a/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/version/v1/version.proto b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/version/v1/version.proto new file mode 100644 index 000000000000..97681bb86ee7 --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/services/version/v1/version.proto @@ -0,0 +1,34 @@ +/* + Copyright The containerd Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +syntax = "proto3"; + +package containerd.services.version.v1; + +import "google/protobuf/empty.proto"; +import weak "gogoproto/gogo.proto"; + +// TODO(stevvooe): Should version service actually be versioned? +option go_package = "github.com/containerd/containerd/api/services/version/v1;version"; + +service Version { + rpc Version(google.protobuf.Empty) returns (VersionResponse); +} + +message VersionResponse { + string version = 1; + string revision = 2; +} diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/descriptor.pb.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/descriptor.pb.go similarity index 100% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/descriptor.pb.go rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/descriptor.pb.go diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/descriptor.proto b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/descriptor.proto similarity index 51% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/descriptor.proto rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/descriptor.proto index 6d90a1626e7d..a841d1bb22d4 100644 --- a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/descriptor.proto +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/descriptor.proto @@ -1,3 +1,19 @@ +/* + Copyright The containerd Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + syntax = "proto3"; package containerd.types; diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/doc.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/doc.go similarity index 100% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/doc.go rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/doc.go diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/metrics.pb.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/metrics.pb.go similarity index 100% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/metrics.pb.go rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/metrics.pb.go diff --git a/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/metrics.proto b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/metrics.proto new file mode 100644 index 000000000000..b8bc673267fc --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/metrics.proto @@ -0,0 +1,31 @@ +/* + Copyright The containerd Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +syntax = "proto3"; + +package containerd.types; + +import weak "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "google/protobuf/timestamp.proto"; + +option go_package = "github.com/containerd/containerd/api/types;types"; + +message Metric { + google.protobuf.Timestamp timestamp = 1 [(gogoproto.stdtime) = true, (gogoproto.nullable) = false]; + string id = 2; + google.protobuf.Any data = 3; +} diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/mount.pb.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/mount.pb.go similarity index 100% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/mount.pb.go rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/mount.pb.go diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/mount.proto b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/mount.proto similarity index 58% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/mount.proto rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/mount.proto index cd80e44a2c0e..41ab13313871 100644 --- a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/mount.proto +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/mount.proto @@ -1,3 +1,19 @@ +/* + Copyright The containerd Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + syntax = "proto3"; package containerd.types; diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/platform.pb.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/platform.pb.go similarity index 100% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/platform.pb.go rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/platform.pb.go diff --git a/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/platform.proto b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/platform.proto new file mode 100644 index 000000000000..781360684110 --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/platform.proto @@ -0,0 +1,31 @@ +/* + Copyright The containerd Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +syntax = "proto3"; + +package containerd.types; + +import weak "gogoproto/gogo.proto"; + +option go_package = "github.com/containerd/containerd/api/types;types"; + +// Platform follows the structure of the OCI platform specification, from +// descriptors. +message Platform { + string os = 1 [(gogoproto.customname) = "OS"]; + string architecture = 2; + string variant = 3; +} diff --git a/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/task/doc.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/task/doc.go new file mode 100644 index 000000000000..e10c7a469934 --- /dev/null +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/task/doc.go @@ -0,0 +1,18 @@ +/* + Copyright The containerd Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + +// Package task defines the task service. +package task diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/task/task.pb.go b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/task/task.pb.go similarity index 100% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/task/task.pb.go rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/task/task.pb.go diff --git a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/task/task.proto b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/task/task.proto similarity index 67% rename from cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/task/task.proto rename to cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/task/task.proto index da91cb033efb..df08dfd99d94 100644 --- a/cluster-autoscaler/vendor/github.com/containerd/containerd/api/types/task/task.proto +++ b/cluster-autoscaler/vendor/github.com/google/cadvisor/third_party/containerd/api/types/task/task.proto @@ -1,3 +1,19 @@ +/* + Copyright The containerd Authors. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +*/ + syntax = "proto3"; package containerd.v1.types; diff --git a/cluster-autoscaler/vendor/github.com/google/gofuzz/go.mod b/cluster-autoscaler/vendor/github.com/google/gofuzz/go.mod deleted file mode 100644 index 8ec4fe9e9725..000000000000 --- a/cluster-autoscaler/vendor/github.com/google/gofuzz/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/google/gofuzz - -go 1.12 diff --git a/cluster-autoscaler/vendor/github.com/google/uuid/go.mod b/cluster-autoscaler/vendor/github.com/google/uuid/go.mod deleted file mode 100644 index fc84cd79d4c7..000000000000 --- a/cluster-autoscaler/vendor/github.com/google/uuid/go.mod +++ /dev/null @@ -1 +0,0 @@ -module github.com/google/uuid diff --git a/cluster-autoscaler/vendor/github.com/googleapis/gax-go/v2/go.mod b/cluster-autoscaler/vendor/github.com/googleapis/gax-go/v2/go.mod deleted file mode 100644 index 3a9f820e2a4a..000000000000 --- a/cluster-autoscaler/vendor/github.com/googleapis/gax-go/v2/go.mod +++ /dev/null @@ -1,12 +0,0 @@ -module github.com/googleapis/gax-go/v2 - -go 1.11 - -require ( - github.com/google/go-cmp v0.5.6 - google.golang.org/api v0.56.0 - google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af - google.golang.org/grpc v1.40.0 - google.golang.org/protobuf v1.27.1 - -) diff --git a/cluster-autoscaler/vendor/github.com/googleapis/gax-go/v2/go.sum b/cluster-autoscaler/vendor/github.com/googleapis/gax-go/v2/go.sum deleted file mode 100644 index 6acac60a9d4d..000000000000 --- a/cluster-autoscaler/vendor/github.com/googleapis/gax-go/v2/go.sum +++ /dev/null @@ -1,535 +0,0 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= -cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= -cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= -cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= -cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= -cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= -cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg= -cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8= -cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0= -cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY= -cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM= -cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY= -cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ= -cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= -cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= -cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= -cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= -cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= -cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= -github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8= -github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM= -github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ= -github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420 h1:a8jGStKg0XqKDlKqjLrXn0ioF5MH36pT7Z0BRTqLhbk= -golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf h1:2ucpDCmfkl8Bd/FsLtiD653Wf96cW37s+iGx93zsu4k= -golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= -golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= -golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= -google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= -google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= -google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= -google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU= -google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94= -google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo= -google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4= -google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw= -google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU= -google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k= -google.golang.org/api v0.56.0 h1:08F9XVYTLOGeSQb3xI9C0gXMuQanhdGed0cWFhDozbI= -google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= -google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A= -google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A= -google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24= -google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= -google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k= -google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= -google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48= -google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w= -google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af h1:aLMMXFYqw01RA6XJim5uaN+afqNNjc9P8HPAbnpnc5s= -google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= -google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= -google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= -google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= -google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= -google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE= -google.golang.org/grpc v1.40.0 h1:AGJ0Ih4mHjSeibYkFGh1dD9KJ/eOtZ93I6hoHhukQ5Q= -google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= -google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/cluster-autoscaler/vendor/github.com/gophercloud/gophercloud/go.mod b/cluster-autoscaler/vendor/github.com/gophercloud/gophercloud/go.mod deleted file mode 100644 index d1ee3b472ec8..000000000000 --- a/cluster-autoscaler/vendor/github.com/gophercloud/gophercloud/go.mod +++ /dev/null @@ -1,7 +0,0 @@ -module github.com/gophercloud/gophercloud - -require ( - golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67 - golang.org/x/sys v0.0.0-20190209173611-3b5209105503 // indirect - gopkg.in/yaml.v2 v2.2.2 -) diff --git a/cluster-autoscaler/vendor/github.com/gophercloud/gophercloud/go.sum b/cluster-autoscaler/vendor/github.com/gophercloud/gophercloud/go.sum deleted file mode 100644 index 33cb0be8aa31..000000000000 --- a/cluster-autoscaler/vendor/github.com/gophercloud/gophercloud/go.sum +++ /dev/null @@ -1,8 +0,0 @@ -golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67 h1:ng3VDlRp5/DHpSWl02R4rM9I+8M2rhmsuLwAMmkLQWE= -golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/sys v0.0.0-20190209173611-3b5209105503 h1:5SvYFrOM3W8Mexn9/oA44Ji7vhXAZQ9hiP+1Q/DMrWg= -golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/cluster-autoscaler/vendor/github.com/imdario/mergo/README.md b/cluster-autoscaler/vendor/github.com/imdario/mergo/README.md index d1cefa87189d..8b76f1fbf33a 100644 --- a/cluster-autoscaler/vendor/github.com/imdario/mergo/README.md +++ b/cluster-autoscaler/vendor/github.com/imdario/mergo/README.md @@ -27,7 +27,7 @@ It is ready for production use. [It is used in several projects by Docker, Googl ### Latest release -[Release v0.3.4](https://github.com/imdario/mergo/releases/tag/v0.3.4). +[Release v0.3.6](https://github.com/imdario/mergo/releases/tag/v0.3.6). ### Important note diff --git a/cluster-autoscaler/vendor/github.com/imdario/mergo/merge.go b/cluster-autoscaler/vendor/github.com/imdario/mergo/merge.go index 706b22069c3e..44f70a89d919 100644 --- a/cluster-autoscaler/vendor/github.com/imdario/mergo/merge.go +++ b/cluster-autoscaler/vendor/github.com/imdario/mergo/merge.go @@ -9,6 +9,7 @@ package mergo import ( + "fmt" "reflect" ) @@ -127,6 +128,9 @@ func deepMerge(dst, src reflect.Value, visited map[uintptr]*visit, depth int, co if !isEmptyValue(src) && (overwrite || isEmptyValue(dst)) && !config.AppendSlice { dstSlice = srcSlice } else if config.AppendSlice { + if srcSlice.Type() != dstSlice.Type() { + return fmt.Errorf("cannot append two slice with different type (%s, %s)", srcSlice.Type(), dstSlice.Type()) + } dstSlice = reflect.AppendSlice(dstSlice, srcSlice) } dst.SetMapIndex(key, dstSlice) @@ -150,6 +154,9 @@ func deepMerge(dst, src reflect.Value, visited map[uintptr]*visit, depth int, co if !isEmptyValue(src) && (overwrite || isEmptyValue(dst)) && !config.AppendSlice { dst.Set(src) } else if config.AppendSlice { + if src.Type() != dst.Type() { + return fmt.Errorf("cannot append two slice with different type (%s, %s)", src.Type(), dst.Type()) + } dst.Set(reflect.AppendSlice(dst, src)) } case reflect.Ptr: diff --git a/cluster-autoscaler/vendor/github.com/jmespath/go-jmespath/go.mod b/cluster-autoscaler/vendor/github.com/jmespath/go-jmespath/go.mod deleted file mode 100644 index 4d448e88b067..000000000000 --- a/cluster-autoscaler/vendor/github.com/jmespath/go-jmespath/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/jmespath/go-jmespath - -go 1.14 - -require github.com/jmespath/go-jmespath/internal/testify v1.5.1 diff --git a/cluster-autoscaler/vendor/github.com/jmespath/go-jmespath/go.sum b/cluster-autoscaler/vendor/github.com/jmespath/go-jmespath/go.sum deleted file mode 100644 index d2db411e5858..000000000000 --- a/cluster-autoscaler/vendor/github.com/jmespath/go-jmespath/go.sum +++ /dev/null @@ -1,11 +0,0 @@ -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= -github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= diff --git a/cluster-autoscaler/vendor/github.com/josharian/intern/go.mod b/cluster-autoscaler/vendor/github.com/josharian/intern/go.mod deleted file mode 100644 index f2262ff0d54a..000000000000 --- a/cluster-autoscaler/vendor/github.com/josharian/intern/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/josharian/intern - -go 1.5 diff --git a/cluster-autoscaler/vendor/github.com/json-iterator/go/go.mod b/cluster-autoscaler/vendor/github.com/json-iterator/go/go.mod deleted file mode 100644 index e817cccbf6fd..000000000000 --- a/cluster-autoscaler/vendor/github.com/json-iterator/go/go.mod +++ /dev/null @@ -1,11 +0,0 @@ -module github.com/json-iterator/go - -go 1.12 - -require ( - github.com/davecgh/go-spew v1.1.1 - github.com/google/gofuzz v1.0.0 - github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 - github.com/modern-go/reflect2 v1.0.2 - github.com/stretchr/testify v1.3.0 -) diff --git a/cluster-autoscaler/vendor/github.com/json-iterator/go/go.sum b/cluster-autoscaler/vendor/github.com/json-iterator/go/go.sum deleted file mode 100644 index 4b7bb8a29520..000000000000 --- a/cluster-autoscaler/vendor/github.com/json-iterator/go/go.sum +++ /dev/null @@ -1,14 +0,0 @@ -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/gofuzz v1.0.0 h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw= -github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OHLH3mGKHDcjJRFFRrJa6eAM5H+CtDdOsPc= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= diff --git a/cluster-autoscaler/vendor/github.com/karrick/godirwalk/go.mod b/cluster-autoscaler/vendor/github.com/karrick/godirwalk/go.mod deleted file mode 100644 index faf23fd98a4e..000000000000 --- a/cluster-autoscaler/vendor/github.com/karrick/godirwalk/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/karrick/godirwalk - -go 1.13 diff --git a/cluster-autoscaler/vendor/github.com/karrick/godirwalk/go.sum b/cluster-autoscaler/vendor/github.com/karrick/godirwalk/go.sum deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/cluster-autoscaler/vendor/github.com/lithammer/dedent/go.mod b/cluster-autoscaler/vendor/github.com/lithammer/dedent/go.mod deleted file mode 100644 index 9468fd10591a..000000000000 --- a/cluster-autoscaler/vendor/github.com/lithammer/dedent/go.mod +++ /dev/null @@ -1 +0,0 @@ -module github.com/lithammer/dedent diff --git a/cluster-autoscaler/vendor/github.com/mitchellh/go-homedir/go.mod b/cluster-autoscaler/vendor/github.com/mitchellh/go-homedir/go.mod deleted file mode 100644 index 7efa09a0432b..000000000000 --- a/cluster-autoscaler/vendor/github.com/mitchellh/go-homedir/go.mod +++ /dev/null @@ -1 +0,0 @@ -module github.com/mitchellh/go-homedir diff --git a/cluster-autoscaler/vendor/github.com/mitchellh/mapstructure/go.mod b/cluster-autoscaler/vendor/github.com/mitchellh/mapstructure/go.mod deleted file mode 100644 index a03ae973088a..000000000000 --- a/cluster-autoscaler/vendor/github.com/mitchellh/mapstructure/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/mitchellh/mapstructure - -go 1.14 diff --git a/cluster-autoscaler/vendor/github.com/moby/ipvs/go.mod b/cluster-autoscaler/vendor/github.com/moby/ipvs/go.mod deleted file mode 100644 index a57cc9d210b3..000000000000 --- a/cluster-autoscaler/vendor/github.com/moby/ipvs/go.mod +++ /dev/null @@ -1,12 +0,0 @@ -module github.com/moby/ipvs - -go 1.13 - -require ( - github.com/pkg/errors v0.9.1 // indirect - github.com/sirupsen/logrus v1.4.2 - github.com/vishvananda/netlink v1.1.0 - github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df - golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527 - gotest.tools/v3 v3.0.2 -) diff --git a/cluster-autoscaler/vendor/github.com/moby/ipvs/go.sum b/cluster-autoscaler/vendor/github.com/moby/ipvs/go.sum deleted file mode 100644 index 324acf7c9404..000000000000 --- a/cluster-autoscaler/vendor/github.com/moby/ipvs/go.sum +++ /dev/null @@ -1,35 +0,0 @@ -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.3.0 h1:crn/baboCvb5fXaQ0IJ1SGTsTVrWpDsCWC8EGETZijY= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/konsorten/go-windows-terminal-sequences v1.0.1 h1:mweAR1A6xJ3oS2pRaGiHgQ4OO8tzTaLawm8vnODuwDk= -github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4= -github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/vishvananda/netlink v1.1.0 h1:1iyaYNBLmP6L0220aDnYQpo1QEV4t4hJ+xEEhhJH8j0= -github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= -github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df h1:OviZH7qLw/7ZovXvuNyL3XQl8UFofeikI1NW1Gypu7k= -github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444 h1:/d2cWp6PSamH4jDPFLyO150psQdqvtoNX8Zjg3AQ31g= -golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527 h1:uYVVQ9WP/Ds2ROhcaGPeIdVq0RIXVLwsHlnvJ+cT1So= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -gotest.tools/v3 v3.0.2 h1:kG1BFyqVHuQoVQiR1bWGnfz/fmHvvuiSPIV7rvl360E= -gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= diff --git a/cluster-autoscaler/vendor/github.com/moby/spdystream/go.mod b/cluster-autoscaler/vendor/github.com/moby/spdystream/go.mod deleted file mode 100644 index d9b9ad59c7f0..000000000000 --- a/cluster-autoscaler/vendor/github.com/moby/spdystream/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/moby/spdystream - -go 1.13 - -require github.com/gorilla/websocket v1.4.2 diff --git a/cluster-autoscaler/vendor/github.com/moby/spdystream/go.sum b/cluster-autoscaler/vendor/github.com/moby/spdystream/go.sum deleted file mode 100644 index 85efffd996ee..000000000000 --- a/cluster-autoscaler/vendor/github.com/moby/spdystream/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= diff --git a/cluster-autoscaler/vendor/github.com/moby/sys/mountinfo/go.mod b/cluster-autoscaler/vendor/github.com/moby/sys/mountinfo/go.mod deleted file mode 100644 index 1cc3efcf7482..000000000000 --- a/cluster-autoscaler/vendor/github.com/moby/sys/mountinfo/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/moby/sys/mountinfo - -go 1.16 - -require golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359 diff --git a/cluster-autoscaler/vendor/github.com/moby/sys/mountinfo/go.sum b/cluster-autoscaler/vendor/github.com/moby/sys/mountinfo/go.sum deleted file mode 100644 index c257a6a29d54..000000000000 --- a/cluster-autoscaler/vendor/github.com/moby/sys/mountinfo/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359 h1:2B5p2L5IfGiD7+b9BOoRMC6DgObAVZV+Fsp050NqXik= -golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= diff --git a/cluster-autoscaler/vendor/github.com/modern-go/reflect2/go.mod b/cluster-autoscaler/vendor/github.com/modern-go/reflect2/go.mod deleted file mode 100644 index 9057e9b33f2a..000000000000 --- a/cluster-autoscaler/vendor/github.com/modern-go/reflect2/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/modern-go/reflect2 - -go 1.12 diff --git a/cluster-autoscaler/vendor/github.com/mrunalp/fileutils/go.mod b/cluster-autoscaler/vendor/github.com/mrunalp/fileutils/go.mod deleted file mode 100644 index d8971cabc469..000000000000 --- a/cluster-autoscaler/vendor/github.com/mrunalp/fileutils/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/mrunalp/fileutils - -go 1.13 diff --git a/cluster-autoscaler/vendor/github.com/opencontainers/go-digest/go.mod b/cluster-autoscaler/vendor/github.com/opencontainers/go-digest/go.mod deleted file mode 100644 index cf5d7b1d2d78..000000000000 --- a/cluster-autoscaler/vendor/github.com/opencontainers/go-digest/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/opencontainers/go-digest - -go 1.13 diff --git a/cluster-autoscaler/vendor/github.com/prometheus/procfs/go.mod b/cluster-autoscaler/vendor/github.com/prometheus/procfs/go.mod deleted file mode 100644 index ba6681f52177..000000000000 --- a/cluster-autoscaler/vendor/github.com/prometheus/procfs/go.mod +++ /dev/null @@ -1,9 +0,0 @@ -module github.com/prometheus/procfs - -go 1.13 - -require ( - github.com/google/go-cmp v0.5.4 - golang.org/x/sync v0.0.0-20201207232520-09787c993a3a - golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c -) diff --git a/cluster-autoscaler/vendor/github.com/prometheus/procfs/go.sum b/cluster-autoscaler/vendor/github.com/prometheus/procfs/go.sum deleted file mode 100644 index 7ceaf56b7d59..000000000000 --- a/cluster-autoscaler/vendor/github.com/prometheus/procfs/go.sum +++ /dev/null @@ -1,8 +0,0 @@ -github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a h1:DcqTD9SDLc+1P/r1EmRBwnVsrOwW+kk2vWf9n+1sGhs= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c h1:VwygUrnw9jn88c4u8GD3rZQbqrP/tgas88tPUbBxQrk= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= diff --git a/cluster-autoscaler/vendor/github.com/quobyte/api/LICENSE b/cluster-autoscaler/vendor/github.com/quobyte/api/LICENSE deleted file mode 100644 index bac2de075407..000000000000 --- a/cluster-autoscaler/vendor/github.com/quobyte/api/LICENSE +++ /dev/null @@ -1,28 +0,0 @@ - -Copyright (c) 2016, Quobyte Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of quobyte-automation nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/cluster-autoscaler/vendor/github.com/quobyte/api/README.md b/cluster-autoscaler/vendor/github.com/quobyte/api/README.md deleted file mode 100644 index 1b7451f01487..000000000000 --- a/cluster-autoscaler/vendor/github.com/quobyte/api/README.md +++ /dev/null @@ -1,40 +0,0 @@ -# Quobyte API Clients - -Get the quobyte api client - -```bash -go get github.com/quobyte/api -``` - -## Usage - -```go -package main - -import ( - "log" - quobyte_api "github.com/quobyte/api" -) - -func main() { - client := quobyte_api.NewQuobyteClient("http://apiserver:7860", "user", "password") - client.SetAPIRetryPolicy(quobyte_api.RetryInfinitely) // Default quobyte_api.RetryInteractive - req := &quobyte_api.CreateVolumeRequest{ - Name: "MyVolume", - RootUserID: "root", - RootGroupID: "root", - ConfigurationName: "BASE", - Labels: []quobyte_api.Label{ - {Name: "label1", Value: "value1"}, - {Name: "label2", Value: "value2"}, - }, - } - - volumeUUID, err := client.CreateVolume(req) - if err != nil { - log.Fatalf("Error:", err) - } - - log.Printf("%s", volumeUUID) -} -``` \ No newline at end of file diff --git a/cluster-autoscaler/vendor/github.com/quobyte/api/quobyte.go b/cluster-autoscaler/vendor/github.com/quobyte/api/quobyte.go deleted file mode 100644 index c5e36d7fc7bd..000000000000 --- a/cluster-autoscaler/vendor/github.com/quobyte/api/quobyte.go +++ /dev/null @@ -1,245 +0,0 @@ -// Package quobyte represents a golang API for the Quobyte Storage System -package quobyte - -import ( - "net/http" - "regexp" -) - -// retry policy codes -const ( - RetryNever string = "NEVER" - RetryInteractive string = "INTERACTIVE" - RetryInfinitely string = "INFINITELY" - RetryOncePerTarget string = "ONCE_PER_TARGET" -) - -var UUIDValidator = regexp.MustCompile("^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[8|9|aA|bB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}$") - -type QuobyteClient struct { - client *http.Client - url string - username string - password string - apiRetryPolicy string -} - -func (client *QuobyteClient) SetAPIRetryPolicy(retry string) { - client.apiRetryPolicy = retry -} - -func (client *QuobyteClient) GetAPIRetryPolicy() string { - return client.apiRetryPolicy -} - -func (client *QuobyteClient) SetTransport(t http.RoundTripper) { - client.client.Transport = t -} - -// NewQuobyteClient creates a new Quobyte API client -func NewQuobyteClient(url string, username string, password string) *QuobyteClient { - return &QuobyteClient{ - client: &http.Client{}, - url: url, - username: username, - password: password, - apiRetryPolicy: RetryInteractive, - } -} - -// CreateVolume creates a new Quobyte volume. Its root directory will be owned by given user and group -func (client QuobyteClient) CreateVolume(request *CreateVolumeRequest) (string, error) { - var response volumeUUID - tenantUUID, err := client.GetTenantUUID(request.TenantID) - if err != nil { - return "", err - } - request.TenantID = tenantUUID - - if err = client.sendRequest("createVolume", request, &response); err != nil { - return "", err - } - - return response.VolumeUUID, nil -} - -// GetVolumeUUID resolves the volumeUUID for the given volume and tenant name. -// This method should be used when it is not clear if the given string is volume UUID or Name. -func (client QuobyteClient) GetVolumeUUID(volume, tenant string) (string, error) { - if len(volume) != 0 && !IsValidUUID(volume) { - tenantUUID, err := client.GetTenantUUID(tenant) - if err != nil { - return "", err - } - volUUID, err := client.ResolveVolumeNameToUUID(volume, tenantUUID) - if err != nil { - return "", err - } - - return volUUID, nil - } - return volume, nil -} - -// GetTenantUUID resolves the tenatnUUID for the given name -// This method should be used when it is not clear if the given string is Tenant UUID or Name. -func (client QuobyteClient) GetTenantUUID(tenant string) (string, error) { - if len(tenant) != 0 && !IsValidUUID(tenant) { - tenantUUID, err := client.ResolveTenantNameToUUID(tenant) - if err != nil { - return "", err - } - return tenantUUID, nil - } - return tenant, nil -} - -// ResolveVolumeNameToUUID resolves a volume name to a UUID -func (client *QuobyteClient) ResolveVolumeNameToUUID(volumeName, tenant string) (string, error) { - request := &resolveVolumeNameRequest{ - VolumeName: volumeName, - TenantDomain: tenant, - } - var response volumeUUID - if err := client.sendRequest("resolveVolumeName", request, &response); err != nil { - return "", err - } - - return response.VolumeUUID, nil -} - -// DeleteVolumeByResolvingNamesToUUID deletes the volume by resolving the volume name and tenant name to -// respective UUID if required. -// This method should be used if the given volume, tenant information is name or UUID. -func (client *QuobyteClient) DeleteVolumeByResolvingNamesToUUID(volume, tenant string) error { - volumeUUID, err := client.GetVolumeUUID(volume, tenant) - if err != nil { - return err - } - - return client.DeleteVolume(volumeUUID) -} - -// DeleteVolume deletes a Quobyte volume -func (client *QuobyteClient) DeleteVolume(UUID string) error { - return client.sendRequest( - "deleteVolume", - &volumeUUID{ - VolumeUUID: UUID, - }, - nil) -} - -// DeleteVolumeByName deletes a volume by a given name -func (client *QuobyteClient) DeleteVolumeByName(volumeName, tenant string) error { - uuid, err := client.ResolveVolumeNameToUUID(volumeName, tenant) - if err != nil { - return err - } - - return client.DeleteVolume(uuid) -} - -// GetClientList returns a list of all active clients -func (client *QuobyteClient) GetClientList(tenant string) (GetClientListResponse, error) { - request := &getClientListRequest{ - TenantDomain: tenant, - } - - var response GetClientListResponse - if err := client.sendRequest("getClientListRequest", request, &response); err != nil { - return response, err - } - - return response, nil -} - -// SetVolumeQuota sets a Quota to the specified Volume -func (client *QuobyteClient) SetVolumeQuota(volumeUUID string, quotaSize uint64) error { - request := &setQuotaRequest{ - Quotas: []*quota{ - "a{ - Consumer: []*consumingEntity{ - &consumingEntity{ - Type: "VOLUME", - Identifier: volumeUUID, - }, - }, - Limits: []*resource{ - &resource{ - Type: "LOGICAL_DISK_SPACE", - Value: quotaSize, - }, - }, - }, - }, - } - - return client.sendRequest("setQuota", request, nil) -} - -// GetTenant returns the Tenant configuration for all specified tenants -func (client *QuobyteClient) GetTenant(tenantIDs []string) (GetTenantResponse, error) { - request := &getTenantRequest{TenantIDs: tenantIDs} - - var response GetTenantResponse - err := client.sendRequest("getTenant", request, &response) - if err != nil { - return response, err - } - - return response, nil -} - -// GetTenantMap returns a map that contains all tenant names and there ID's -func (client *QuobyteClient) GetTenantMap() (map[string]string, error) { - result := map[string]string{} - response, err := client.GetTenant([]string{}) - - if err != nil { - return result, err - } - - for _, tenant := range response.Tenants { - result[tenant.Name] = tenant.TenantID - } - - return result, nil -} - -// SetTenant creates a Tenant with the specified name -func (client *QuobyteClient) SetTenant(tenantName string) (string, error) { - request := &setTenantRequest{ - &TenantDomainConfiguration{ - Name: tenantName, - }, - retryPolicy{client.GetAPIRetryPolicy()}, - } - - var response setTenantResponse - err := client.sendRequest("setTenant", request, &response) - if err != nil { - return "", err - } - - return response.TenantID, nil -} - -// IsValidUUID Validates the given uuid -func IsValidUUID(uuid string) bool { - return UUIDValidator.MatchString(uuid) -} - -// ResolveTenantNameToUUID Returns UUID for given name, error if not found. -func (client *QuobyteClient) ResolveTenantNameToUUID(name string) (string, error) { - request := &resolveTenantNameRequest{ - TenantName: name, - } - - var response resolveTenantNameResponse - err := client.sendRequest("resolveTenantName", request, &response) - if err != nil { - return "", err - } - return response.TenantID, nil -} diff --git a/cluster-autoscaler/vendor/github.com/quobyte/api/rpc_client.go b/cluster-autoscaler/vendor/github.com/quobyte/api/rpc_client.go deleted file mode 100644 index b5ea36946298..000000000000 --- a/cluster-autoscaler/vendor/github.com/quobyte/api/rpc_client.go +++ /dev/null @@ -1,124 +0,0 @@ -package quobyte - -import ( - "bytes" - "encoding/json" - "errors" - "fmt" - "io" - "log" - "math/rand" - "net/http" - "reflect" - "strconv" -) - -const ( - emptyResponse string = "Empty result and no error occured" -) - -type request struct { - ID string `json:"id"` - Version string `json:"jsonrpc"` - Method string `json:"method"` - Params interface{} `json:"params"` -} - -type response struct { - ID string `json:"id"` - Version string `json:"jsonrpc"` - Result *json.RawMessage `json:"result"` - Error *json.RawMessage `json:"error"` -} - -type rpcError struct { - Code int64 `json:"code"` - Message string `json:"message"` -} - -func (err *rpcError) decodeErrorCode() string { - switch err.Code { - case -32600: - return "ERROR_CODE_INVALID_REQUEST" - case -32603: - return "ERROR_CODE_JSON_ENCODING_FAILED" - case -32601: - return "ERROR_CODE_METHOD_NOT_FOUND" - case -32700: - return "ERROR_CODE_PARSE_ERROR" - } - - return "" -} - -func encodeRequest(method string, params interface{}) ([]byte, error) { - return json.Marshal(&request{ - // Generate random ID and convert it to a string - ID: strconv.FormatInt(rand.Int63(), 10), - Version: "2.0", - Method: method, - Params: params, - }) -} - -func decodeResponse(ioReader io.Reader, reply interface{}) error { - var resp response - if err := json.NewDecoder(ioReader).Decode(&resp); err != nil { - return err - } - - if resp.Error != nil { - var rpcErr rpcError - if err := json.Unmarshal(*resp.Error, &rpcErr); err != nil { - return err - } - - if rpcErr.Message != "" { - return errors.New(rpcErr.Message) - } - - respError := rpcErr.decodeErrorCode() - if respError != "" { - return errors.New(respError) - } - } - - if resp.Result != nil && reply != nil { - return json.Unmarshal(*resp.Result, reply) - } - - return errors.New(emptyResponse) -} - -func (client QuobyteClient) sendRequest(method string, request interface{}, response interface{}) error { - etype := reflect.ValueOf(request).Elem() - field := etype.FieldByName("RetryPolicy") - if field.IsValid() { - field.SetString(client.GetAPIRetryPolicy()) - } - message, err := encodeRequest(method, request) - if err != nil { - return err - } - req, err := http.NewRequest("POST", client.url, bytes.NewBuffer(message)) - if err != nil { - return err - } - req.Header.Set("Content-Type", "application/json") - req.SetBasicAuth(client.username, client.password) - resp, err := client.client.Do(req) - if err != nil { - return err - } - defer resp.Body.Close() - - if resp.StatusCode < 200 || resp.StatusCode > 299 { - log.Printf("Warning: HTTP status code for request is %s\n", - strconv.Itoa(resp.StatusCode)) - if resp.StatusCode == 401 { - return errors.New("Unable to authenticate with Quobyte API service") - } - return fmt.Errorf("JsonRPC failed with error code %d", resp.StatusCode) - } - return decodeResponse(resp.Body, &response) -} diff --git a/cluster-autoscaler/vendor/github.com/quobyte/api/types.go b/cluster-autoscaler/vendor/github.com/quobyte/api/types.go deleted file mode 100644 index d15a71bfa763..000000000000 --- a/cluster-autoscaler/vendor/github.com/quobyte/api/types.go +++ /dev/null @@ -1,109 +0,0 @@ -package quobyte - -type retryPolicy struct { - RetryPolicy string `json:"retry,omitempty"` -} - -// CreateVolumeRequest represents a CreateVolumeRequest -type CreateVolumeRequest struct { - Name string `json:"name,omitempty"` - RootUserID string `json:"root_user_id,omitempty"` - RootGroupID string `json:"root_group_id,omitempty"` - ReplicaDeviceIDS []uint64 `json:"replica_device_ids,string,omitempty"` - ConfigurationName string `json:"configuration_name,omitempty"` - Labels []Label `json:"label,omitempty"` - AccessMode uint32 `json:"access_mode,uint32,omitempty"` - TenantID string `json:"tenant_id,omitempty"` - retryPolicy -} - -type Label struct { - Name string `json:"name,string,omitempty"` - Value string `json:"value,string,omitempty"` -} - -type resolveVolumeNameRequest struct { - VolumeName string `json:"volume_name,omitempty"` - TenantDomain string `json:"tenant_domain,omitempty"` - retryPolicy -} - -type resolveTenantNameRequest struct { - TenantName string `json:"tenant_name,omitempty"` -} - -type resolveTenantNameResponse struct { - TenantID string `json:"tenant_id,omitempty"` -} - -type volumeUUID struct { - VolumeUUID string `json:"volume_uuid,omitempty"` -} - -type getClientListRequest struct { - TenantDomain string `json:"tenant_domain,omitempty"` - retryPolicy -} - -type GetClientListResponse struct { - Clients []Client `json:"client,omitempty"` -} - -type Client struct { - MountedUserName string `json:"mount_user_name,omitempty"` - MountedVolumeUUID string `json:"mounted_volume_uuid,omitempty"` -} - -type consumingEntity struct { - Type string `json:"type,omitempty"` - Identifier string `json:"identifier,omitempty"` - TenantID string `json:"tenant_id,omitempty"` -} - -type resource struct { - Type string `json:"type,omitempty"` - Value uint64 `json:"value,omitempty"` -} - -type quota struct { - ID string `json:"id,omitempty"` - Consumer []*consumingEntity `json:"consumer,omitempty"` - Limits []*resource `json:"limits,omitempty"` - Currentusage []*resource `json:"current_usage,omitempty"` -} - -type setQuotaRequest struct { - Quotas []*quota `json:"quotas,omitempty"` - retryPolicy -} - -type getTenantRequest struct { - TenantIDs []string `json:"tenant_id,omitempty"` - retryPolicy -} - -type GetTenantResponse struct { - Tenants []*TenantDomainConfiguration `json:"tenant,omitempty"` -} - -type TenantDomainConfiguration struct { - TenantID string `json:"tenant_id,omitempty"` - Name string `json:"name,omitempty"` - RestrictToNetwork []string `json:"restrict_to_network,omitempty"` - VolumeAccess []*TenantDomainConfigurationVolumeAccess `json:"volume_access,omitempty"` -} - -type TenantDomainConfigurationVolumeAccess struct { - VolumeUUID string `json:"volume_uuid,omitempty"` - RestrictToNetwork string `json:"restrict_to_network,omitempty"` - ReadOnly bool `json:"read_only,omitempty"` -} - -type setTenantRequest struct { - Tenants *TenantDomainConfiguration `json:"tenant,omitempty"` - retryPolicy -} - -type setTenantResponse struct { - TenantID string `json:"tenant_id,omitempty"` -} diff --git a/cluster-autoscaler/vendor/github.com/seccomp/libseccomp-golang/go.mod b/cluster-autoscaler/vendor/github.com/seccomp/libseccomp-golang/go.mod deleted file mode 100644 index 6384b3769bd1..000000000000 --- a/cluster-autoscaler/vendor/github.com/seccomp/libseccomp-golang/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/seccomp/libseccomp-golang - -go 1.14 diff --git a/cluster-autoscaler/vendor/github.com/seccomp/libseccomp-golang/go.sum b/cluster-autoscaler/vendor/github.com/seccomp/libseccomp-golang/go.sum deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/cluster-autoscaler/vendor/github.com/sirupsen/logrus/go.mod b/cluster-autoscaler/vendor/github.com/sirupsen/logrus/go.mod deleted file mode 100644 index b3919d5eabf8..000000000000 --- a/cluster-autoscaler/vendor/github.com/sirupsen/logrus/go.mod +++ /dev/null @@ -1,10 +0,0 @@ -module github.com/sirupsen/logrus - -require ( - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/stretchr/testify v1.2.2 - golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 -) - -go 1.13 diff --git a/cluster-autoscaler/vendor/github.com/sirupsen/logrus/go.sum b/cluster-autoscaler/vendor/github.com/sirupsen/logrus/go.sum deleted file mode 100644 index 694c18b84546..000000000000 --- a/cluster-autoscaler/vendor/github.com/sirupsen/logrus/go.sum +++ /dev/null @@ -1,8 +0,0 @@ -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 h1:YyJpGZS1sBuBCzLAR1VEpK193GlqGZbnPFnPV/5Rsb4= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/cluster-autoscaler/vendor/github.com/spf13/cobra/go.mod b/cluster-autoscaler/vendor/github.com/spf13/cobra/go.mod deleted file mode 100644 index 2d6855911de2..000000000000 --- a/cluster-autoscaler/vendor/github.com/spf13/cobra/go.mod +++ /dev/null @@ -1,10 +0,0 @@ -module github.com/spf13/cobra - -go 1.15 - -require ( - github.com/cpuguy83/go-md2man/v2 v2.0.1 - github.com/inconshreveable/mousetrap v1.0.0 - github.com/spf13/pflag v1.0.5 - gopkg.in/yaml.v2 v2.4.0 -) diff --git a/cluster-autoscaler/vendor/github.com/spf13/cobra/go.sum b/cluster-autoscaler/vendor/github.com/spf13/cobra/go.sum deleted file mode 100644 index 431058ed0f61..000000000000 --- a/cluster-autoscaler/vendor/github.com/spf13/cobra/go.sum +++ /dev/null @@ -1,18 +0,0 @@ -github.com/cpuguy83/go-md2man/v2 v2.0.1 h1:r/myEWzV9lfsM1tFLgDyu0atFtJ1fXn261LKYj/3DxU= -github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= -github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/kr/pretty v0.2.0 h1:s5hAObm+yFO5uHYt5dYjxi2rXrsnmRpJx4OYvIWUaQs= -github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= -github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= diff --git a/cluster-autoscaler/vendor/github.com/spf13/pflag/go.mod b/cluster-autoscaler/vendor/github.com/spf13/pflag/go.mod deleted file mode 100644 index b2287eec1348..000000000000 --- a/cluster-autoscaler/vendor/github.com/spf13/pflag/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/spf13/pflag - -go 1.12 diff --git a/cluster-autoscaler/vendor/github.com/spf13/pflag/go.sum b/cluster-autoscaler/vendor/github.com/spf13/pflag/go.sum deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/.gitignore b/cluster-autoscaler/vendor/github.com/storageos/go-api/.gitignore deleted file mode 100644 index daf913b1b347..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# Compiled Object files, Static and Dynamic libs (Shared Objects) -*.o -*.a -*.so - -# Folders -_obj -_test - -# Architecture specific extensions/prefixes -*.[568vq] -[568vq].out - -*.cgo1.go -*.cgo2.c -_cgo_defun.c -_cgo_gotypes.go -_cgo_export.* - -_testmain.go - -*.exe -*.test -*.prof diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/LICENCE b/cluster-autoscaler/vendor/github.com/storageos/go-api/LICENCE deleted file mode 100644 index c577408a6dcd..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/LICENCE +++ /dev/null @@ -1,45 +0,0 @@ -MIT License - -Copyright (c) 2015-2018 StorageOS - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -Copyright (c) 2013-2017, go-dockerclient authors -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, -this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, -this list of conditions and the following disclaimer in the documentation -and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/README.md b/cluster-autoscaler/vendor/github.com/storageos/go-api/README.md deleted file mode 100644 index 15ebd60eb05e..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# StorageOS API client library - -## Swagger Spec -Swagger specification for this repo is available in the [StorageOS public documentation](https://github.com/storageos/storageos.github.io/blob/master/swagger.yaml). - diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/client.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/client.go deleted file mode 100644 index 1a6dc0dcde4f..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/client.go +++ /dev/null @@ -1,612 +0,0 @@ -package storageos - -import ( - "bytes" - "context" - "encoding/json" - "errors" - "fmt" - "io" - "io/ioutil" - "math/rand" - "net" - "net/http" - "net/url" - "reflect" - "strconv" - "strings" - "sync" - "time" - - "github.com/storageos/go-api/netutil" - "github.com/storageos/go-api/serror" -) - -const ( - // DefaultUserAgent is the default User-Agent header to include in HTTP requests. - DefaultUserAgent = "go-storageosclient" - // DefaultVersionStr is the string value of the default API version. - DefaultVersionStr = "1" - // DefaultVersion is the default API version. - DefaultVersion = 1 -) - -var ( - // ErrConnectionRefused is returned when the client cannot connect to the given endpoint. - ErrConnectionRefused = errors.New("cannot connect to StorageOS API endpoint") - - // ErrInactivityTimeout is returned when a streamable call has been inactive for some time. - ErrInactivityTimeout = errors.New("inactivity time exceeded timeout") - - // ErrInvalidVersion is returned when a versioned client was requested but no version specified. - ErrInvalidVersion = errors.New("invalid version") - - // ErrProxyNotSupported is returned when a client is unable to set a proxy for http requests. - ErrProxyNotSupported = errors.New("client does not support http proxy") - - // ErrDialerNotSupported is returned when a client is unable to set a DialContext for http requests. - ErrDialerNotSupported = errors.New("client does not support setting DialContext") - - // DefaultPort is the default API port. - DefaultPort = "5705" - - // DataplaneHealthPort is the the port used by the dataplane health-check service. - DataplaneHealthPort = "5704" - - // DefaultHost is the default API host. - DefaultHost = "http://localhost:" + DefaultPort -) - -// APIVersion is an internal representation of a version of the Remote API. -type APIVersion int - -// NewAPIVersion returns an instance of APIVersion for the given string. -// -// The given string must be in the form -func NewAPIVersion(input string) (APIVersion, error) { - if input == "" { - return DefaultVersion, ErrInvalidVersion - } - version, err := strconv.Atoi(input) - if err != nil { - return 0, fmt.Errorf("Unable to parse version %q", input) - } - return APIVersion(version), nil -} - -func (version APIVersion) String() string { - return fmt.Sprintf("v%d", version) -} - -// Client is the basic type of this package. It provides methods for -// interaction with the API. -type Client struct { - httpClient *http.Client - - addresses []string - username string - secret string - userAgent string - - configLock *sync.RWMutex // Lock for config changes - addressLock *sync.Mutex // Lock used to copy/update the address slice - - requestedAPIVersion APIVersion - serverAPIVersion APIVersion - expectedAPIVersion APIVersion - - SkipServerVersionCheck bool -} - -// ClientVersion returns the API version of the client -func (c *Client) ClientVersion() string { - return DefaultVersionStr -} - -// Dialer is an interface that allows network connections to be dialed -// (net.Dialer fulfills this interface) and named pipes (a shim using -// winio.DialPipe) -type Dialer interface { - Dial(network, address string) (net.Conn, error) -} - -type dialContext = func(ctx context.Context, network, address string) (net.Conn, error) - -// NewClient returns a Client instance ready for communication with the given -// server endpoint. It will use the latest remote API version available in the -// server. -func NewClient(nodes string) (*Client, error) { - client, err := NewVersionedClient(nodes, "") - if err != nil { - return nil, err - } - client.SkipServerVersionCheck = true - client.userAgent = DefaultUserAgent - return client, nil -} - -// NewVersionedClient returns a Client instance ready for communication with -// the given server endpoint, using a specific remote API version. -func NewVersionedClient(nodestring string, apiVersionString string) (*Client, error) { - nodes := strings.Split(nodestring, ",") - addresses, err := netutil.AddressesFromNodes(nodes) - if err != nil { - return nil, err - } - - if len(addresses) > 1 { - // Shuffle returned addresses in attempt to spread the load - rnd := rand.New(rand.NewSource(time.Now().UnixNano())) - rnd.Shuffle(len(addresses), func(i, j int) { - addresses[i], addresses[j] = addresses[j], addresses[i] - }) - } - - client := &Client{ - httpClient: defaultClient(), - addresses: addresses, - configLock: &sync.RWMutex{}, - addressLock: &sync.Mutex{}, - } - - if apiVersionString != "" { - version, err := strconv.Atoi(apiVersionString) - if err != nil { - return nil, err - } - client.requestedAPIVersion = APIVersion(version) - } - - return client, nil -} - -// SetUserAgent sets the client useragent. -func (c *Client) SetUserAgent(useragent string) { - c.configLock.Lock() - defer c.configLock.Unlock() - c.userAgent = useragent -} - -// SetAuth sets the API username and secret to be used for all API requests. -// It should not be called concurrently with any other Client methods. -func (c *Client) SetAuth(username string, secret string) { - c.configLock.Lock() - defer c.configLock.Unlock() - if username != "" { - c.username = username - } - if secret != "" { - c.secret = secret - } -} - -// SetProxy will set the proxy URL for both the HTTPClient. -// If the transport method does not support usage -// of proxies, an error will be returned. -func (c *Client) SetProxy(proxy *url.URL) error { - c.configLock.Lock() - defer c.configLock.Unlock() - - if client := c.httpClient; client != nil { - transport, supported := client.Transport.(*http.Transport) - if !supported { - return ErrProxyNotSupported - } - transport.Proxy = http.ProxyURL(proxy) - } - return nil -} - -// SetTimeout takes a timeout and applies it to both the HTTPClient and -// nativeHTTPClient. It should not be called concurrently with any other Client -// methods. -func (c *Client) SetTimeout(t time.Duration) { - c.configLock.Lock() - defer c.configLock.Unlock() - if c.httpClient != nil { - c.httpClient.Timeout = t - } -} - -// GetDialContext returns the current DialContext function, or nil if there is none. -func (c *Client) GetDialContext() dialContext { - c.configLock.RLock() - defer c.configLock.RUnlock() - - if c.httpClient == nil { - return nil - } - transport, supported := c.httpClient.Transport.(*http.Transport) - if !supported { - return nil - } - return transport.DialContext -} - -// SetDialContext uses the given dial function to establish TCP connections in the HTTPClient. -func (c *Client) SetDialContext(dial dialContext) error { - c.configLock.Lock() - defer c.configLock.Unlock() - - if client := c.httpClient; client != nil { - transport, supported := client.Transport.(*http.Transport) - if !supported { - return ErrDialerNotSupported - } - transport.DialContext = dial - } - return nil -} - -func (c *Client) checkAPIVersion() error { - serverAPIVersionString, err := c.getServerAPIVersionString() - if err != nil { - return err - } - c.serverAPIVersion, err = NewAPIVersion(serverAPIVersionString) - if err != nil { - return err - } - c.configLock.Lock() - defer c.configLock.Unlock() - if c.requestedAPIVersion == 0 { - c.expectedAPIVersion = c.serverAPIVersion - } else { - c.expectedAPIVersion = c.requestedAPIVersion - } - return nil -} - -// Ping pings the API server -// -// See https://goo.gl/wYfgY1 for more details. -func (c *Client) Ping() error { - urlpath := "/_ping" - resp, err := c.do("GET", urlpath, doOptions{}) - if err != nil { - return err - } - if resp.StatusCode != http.StatusOK { - return newError(resp) - } - return resp.Body.Close() -} - -func (c *Client) getServerAPIVersionString() (version string, err error) { - v, err := c.ServerVersion(context.Background()) - if err != nil { - return "", err - } - return v.APIVersion, nil -} - -type doOptions struct { - context context.Context - data interface{} - - values url.Values - headers map[string]string - - fieldSelector string - labelSelector string - namespace string - - forceJSON bool - force bool - unversioned bool - - retryOn []int // http.status codes -} - -func (c *Client) do(method, urlpath string, doOptions doOptions) (*http.Response, error) { - var params io.Reader - if doOptions.data != nil || doOptions.forceJSON { - buf, err := json.Marshal(doOptions.data) - if err != nil { - return nil, err - } - params = bytes.NewBuffer(buf) - } - - // Prefix the path with the namespace if given. The caller should only set - // the namespace if this is desired. - if doOptions.namespace != "" { - urlpath = "/" + NamespaceAPIPrefix + "/" + doOptions.namespace + "/" + urlpath - } - - if !c.SkipServerVersionCheck && !doOptions.unversioned { - err := c.checkAPIVersion() - if err != nil { - return nil, err - } - } - - query := url.Values{} - if doOptions.values != nil { - query = doOptions.values - } - if doOptions.force { - query.Add("force", "1") - } - - // Obtain a reader lock to prevent the http client from being - // modified underneath us during a do(). - c.configLock.RLock() - defer c.configLock.RUnlock() // This defer matches both the initial and the above lock - - httpClient := c.httpClient - endpoint := c.getAPIPath(urlpath, query, doOptions.unversioned) - - // The doOptions Context is shared for every attempted request in the do. - ctx := doOptions.context - if ctx == nil { - ctx = context.Background() - } - - var failedAddresses = map[string]struct{}{} - - c.addressLock.Lock() - var addresses = make([]string, len(c.addresses)) - copy(addresses, c.addresses) - c.addressLock.Unlock() - - for _, address := range addresses { - target := address + endpoint - - req, err := http.NewRequest(method, target, params) - if err != nil { - // Probably should not try and continue if we're unable - // to create the request. - return nil, err - } - req.Header.Set("User-Agent", c.userAgent) - if doOptions.data != nil { - req.Header.Set("Content-Type", "application/json") - } else if method == "POST" { - req.Header.Set("Content-Type", "plain/text") - } - if c.username != "" && c.secret != "" { - req.SetBasicAuth(c.username, c.secret) - } - - for k, v := range doOptions.headers { - req.Header.Set(k, v) - } - - resp, err := httpClient.Do(req.WithContext(ctx)) - if err != nil { - - // If it is a custom error, return it. It probably knows more than us - if serror.IsStorageOSError(err) { - switch serror.ErrorKind(err) { - case serror.APIUncontactable: - // If API isn't contactable we should try the next address - failedAddresses[address] = struct{}{} - continue - case serror.InvalidHostConfig: - // If invalid host or unknown error, we should report back - fallthrough - case serror.UnknownError: - return nil, err - } - } - - select { - case <-ctx.Done(): - return nil, ctx.Err() - default: - if _, ok := err.(net.Error); ok { - // Be optimistic and try the next endpoint - failedAddresses[address] = struct{}{} - continue - } - return nil, err - } - } - - var shouldretry bool - if doOptions.retryOn != nil { - for _, code := range doOptions.retryOn { - if resp.StatusCode == code { - failedAddresses[address] = struct{}{} - shouldretry = true - } - - } - } - - // If we get to the point of response, we should move any failed - // addresses to the back. - failed := len(failedAddresses) - if failed > 0 { - // Copy addresses we think are okay into the head of the list - newOrder := make([]string, 0, len(addresses)-failed) - - for _, addr := range addresses { - if _, exists := failedAddresses[addr]; !exists { - newOrder = append(newOrder, addr) - } - } - for addr := range failedAddresses { - newOrder = append(newOrder, addr) - } - - c.addressLock.Lock() - // Bring in the new order - c.addresses = newOrder - c.addressLock.Unlock() - } - - if shouldretry { - continue - } - - if resp.StatusCode < 200 || resp.StatusCode >= 400 { - return nil, newError(resp) // These status codes are likely to be fatal - } - return resp, nil - } - - return nil, netutil.ErrAllFailed(addresses) -} - -func (c *Client) getAPIPath(path string, query url.Values, unversioned bool) string { - var apiPath = strings.TrimLeft(path, "/") - - if !unversioned { - apiPath = fmt.Sprintf("/%s/%s", c.requestedAPIVersion, apiPath) - } else { - apiPath = fmt.Sprintf("/%s", apiPath) - } - - if len(query) > 0 { - apiPath = apiPath + "?" + query.Encode() - } - - return apiPath -} - -func queryString(opts interface{}) string { - if opts == nil { - return "" - } - value := reflect.ValueOf(opts) - if value.Kind() == reflect.Ptr { - value = value.Elem() - } - if value.Kind() != reflect.Struct { - return "" - } - items := url.Values(map[string][]string{}) - for i := 0; i < value.NumField(); i++ { - field := value.Type().Field(i) - if field.PkgPath != "" { - continue - } - key := field.Tag.Get("qs") - if key == "" { - key = strings.ToLower(field.Name) - } else if key == "-" { - continue - } - addQueryStringValue(items, key, value.Field(i)) - } - return items.Encode() -} - -func addQueryStringValue(items url.Values, key string, v reflect.Value) { - switch v.Kind() { - case reflect.Bool: - if v.Bool() { - items.Add(key, "1") - } - case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: - if v.Int() > 0 { - items.Add(key, strconv.FormatInt(v.Int(), 10)) - } - case reflect.Float32, reflect.Float64: - if v.Float() > 0 { - items.Add(key, strconv.FormatFloat(v.Float(), 'f', -1, 64)) - } - case reflect.String: - if v.String() != "" { - items.Add(key, v.String()) - } - case reflect.Ptr: - if !v.IsNil() { - if b, err := json.Marshal(v.Interface()); err == nil { - items.Add(key, string(b)) - } - } - case reflect.Map: - if len(v.MapKeys()) > 0 { - if b, err := json.Marshal(v.Interface()); err == nil { - items.Add(key, string(b)) - } - } - case reflect.Array, reflect.Slice: - vLen := v.Len() - if vLen > 0 { - for i := 0; i < vLen; i++ { - addQueryStringValue(items, key, v.Index(i)) - } - } - } -} - -// Error represents failures in the API. It represents a failure from the API. -type Error struct { - Status int - Message string -} - -func newError(resp *http.Response) *Error { - type jsonError struct { - Message string `json:"message"` - } - - defer resp.Body.Close() - data, err := ioutil.ReadAll(resp.Body) - if err != nil { - return &Error{Status: resp.StatusCode, Message: fmt.Sprintf("cannot read body, err: %v", err)} - } - - // attempt to unmarshal the error if in json format - jerr := &jsonError{} - err = json.Unmarshal(data, jerr) - if err != nil { - return &Error{Status: resp.StatusCode, Message: string(data)} // Failed, just return string - } - - return &Error{Status: resp.StatusCode, Message: jerr.Message} -} - -func (e *Error) Error() string { - var niceStatus string - - switch e.Status { - case 400, 500: - niceStatus = "Server failed to process your request. Was the data correct?" - case 401: - niceStatus = "Unauthenticated access of secure endpoint, please retry after authentication" - case 403: - niceStatus = "Forbidden request. Your user cannot perform this action" - case 404: - niceStatus = "Requested object not found. Does this item exist?" - } - - if niceStatus != "" { - return fmt.Sprintf("API error (%s): %s", niceStatus, e.Message) - } - return fmt.Sprintf("API error (%s): %s", http.StatusText(e.Status), e.Message) -} - -// defaultPooledTransport returns a new http.Transport with similar default -// values to http.DefaultTransport. Do not use this for transient transports as -// it can leak file descriptors over time. Only use this for transports that -// will be re-used for the same host(s). -func defaultPooledTransport(dialer Dialer) *http.Transport { - transport := &http.Transport{ - Proxy: http.ProxyFromEnvironment, - Dial: dialer.Dial, - TLSHandshakeTimeout: 5 * time.Second, - DisableKeepAlives: false, - MaxIdleConnsPerHost: 1, - } - return transport -} - -// defaultClient returns a new http.Client with similar default values to -// http.Client, but with a non-shared Transport, idle connections disabled, and -// keepalives disabled. -// If a custom dialer is not provided, one with sane defaults will be created. -func defaultClient() *http.Client { - dialer := &net.Dialer{ - Timeout: 5 * time.Second, - KeepAlive: 5 * time.Second, - } - - return &http.Client{ - Transport: defaultPooledTransport(dialer), - } -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/cluster.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/cluster.go deleted file mode 100644 index 1ba6f86451d4..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/cluster.go +++ /dev/null @@ -1,48 +0,0 @@ -package storageos - -import ( - "encoding/json" - - "github.com/storageos/go-api/types" -) - -var ( - // ClusterMaintenanceAPIPrefix is a path to the HTTP endpoint for managing - // the cluster maintenance mode. - ClusterMaintenanceAPIPrefix = "cluster/maintenance" -) - -// Maintenance returns the maintenance status of the cluster -func (c *Client) Maintenance() (*types.Maintenance, error) { - resp, err := c.do("GET", ClusterMaintenanceAPIPrefix, doOptions{}) - if err != nil { - return nil, err - } - defer resp.Body.Close() - - res := &types.Maintenance{} - if err := json.NewDecoder(resp.Body).Decode(res); err != nil { - return nil, err - } - return res, nil -} - -// EnableMaintenance enables maintenance mode in the cluster -func (c *Client) EnableMaintenance() error { - resp, err := c.do("POST", ClusterMaintenanceAPIPrefix, doOptions{}) - if err != nil { - return err - } - defer resp.Body.Close() - return nil -} - -// DisableMaintenance disables maintenance mode in the cluster -func (c *Client) DisableMaintenance() error { - resp, err := c.do("DELETE", ClusterMaintenanceAPIPrefix, doOptions{}) - if err != nil { - return err - } - defer resp.Body.Close() - return nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/health.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/health.go deleted file mode 100644 index b1acd5db8904..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/health.go +++ /dev/null @@ -1,91 +0,0 @@ -package storageos - -import ( - "context" - "encoding/json" - "fmt" - "net/http" - - "github.com/storageos/go-api/types" -) - -var ( - // HealthAPIPrefix is a partial path to the HTTP endpoint. - HealthAPIPrefix = "health" -) - -func (c *Client) ClusterHealth(ctx context.Context) ([]*types.ClusterHealthNode, error) { - status := []*types.ClusterHealthNode{} - url := fmt.Sprintf("/cluster/%s", HealthAPIPrefix) - - resp, err := c.do("GET", url, doOptions{context: ctx, retryOn: []int{http.StatusNotFound}}) - if err != nil { - return nil, err - } - defer resp.Body.Close() - - if err := json.NewDecoder(resp.Body).Decode(&status); err != nil { - return nil, err - } - return status, nil -} - -// CPHealth returns the health of the control plane server at a given url. -func (c *Client) CPHealth(ctx context.Context, hostname string) (*types.CPHealthStatus, error) { - - url := fmt.Sprintf("http://%s:%s/v1/%s", hostname, DefaultPort, HealthAPIPrefix) - req, err := http.NewRequest("GET", url, nil) - if err != nil { - return nil, err - } - - req.Header.Set("User-Agent", c.userAgent) - if c.username != "" && c.secret != "" { - req.SetBasicAuth(c.username, c.secret) - } - - c.configLock.RLock() - resp, err := c.httpClient.Do(req.WithContext(ctx)) - c.configLock.RUnlock() - if err != nil { - return nil, err - } - defer resp.Body.Close() - - var status *types.CPHealthStatus - if err := json.NewDecoder(resp.Body).Decode(&status); err != nil { - return nil, err - } - - return status, nil -} - -// DPHealth returns the health of the data plane server at a given url. -func (c *Client) DPHealth(ctx context.Context, hostname string) (*types.DPHealthStatus, error) { - - url := fmt.Sprintf("http://%s:%s/v1/%s", hostname, DataplaneHealthPort, HealthAPIPrefix) - req, err := http.NewRequest("GET", url, nil) - if err != nil { - return nil, err - } - - req.Header.Set("User-Agent", c.userAgent) - if c.username != "" && c.secret != "" { - req.SetBasicAuth(c.username, c.secret) - } - - c.configLock.RLock() - resp, err := c.httpClient.Do(req.WithContext(ctx)) - c.configLock.RUnlock() - if err != nil { - return nil, err - } - defer resp.Body.Close() - - var status *types.DPHealthStatus - if err := json.NewDecoder(resp.Body).Decode(&status); err != nil { - return nil, err - } - - return status, nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/licence.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/licence.go deleted file mode 100644 index 425d97462cd9..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/licence.go +++ /dev/null @@ -1,43 +0,0 @@ -package storageos - -import ( - "encoding/json" - - "github.com/storageos/go-api/types" -) - -const ( - // licenceAPIPrefix is a partial path to the HTTP endpoint. - licenceAPIPrefix = "licencing" -) - -// Licence returns the current licence on the server. -func (c *Client) Licence() (*types.Licence, error) { - resp, err := c.do("GET", licenceAPIPrefix, doOptions{}) - if err != nil { - return nil, err - } - defer resp.Body.Close() - licence := &types.Licence{} - if err := json.NewDecoder(resp.Body).Decode(&licence); err != nil { - return nil, err - } - return licence, nil -} - -// LicenceApply applies a licence on the server. -func (c *Client) LicenceApply(licenceKey string) error { - _, err := c.do("POST", licenceAPIPrefix, doOptions{ - data: &types.LicenceKeyContainer{Key: licenceKey}, - }) - return err -} - -// LicenceDelete removes the current licence. -func (c *Client) LicenceDelete() error { - resp, err := c.do("DELETE", licenceAPIPrefix, doOptions{}) - if err != nil { - return err - } - return resp.Body.Close() -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/logger.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/logger.go deleted file mode 100644 index 6db812312638..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/logger.go +++ /dev/null @@ -1,62 +0,0 @@ -package storageos - -import ( - "context" - "encoding/json" - "net/url" - - "github.com/storageos/go-api/types" -) - -var ( - // LoggerAPIPrefix is a partial path to the HTTP endpoint. - LoggerAPIPrefix = "logs" -) - -// LoggerConfig returns every cluster node's logging configuration. -func (c *Client) LoggerConfig(opts types.ListOptions) ([]*types.Logger, error) { - - listOpts := doOptions{ - fieldSelector: opts.FieldSelector, - labelSelector: opts.LabelSelector, - context: opts.Context, - } - - if opts.LabelSelector != "" { - query := url.Values{} - query.Add("labelSelector", opts.LabelSelector) - listOpts.values = query - } - - resp, err := c.do("GET", LoggerAPIPrefix+"/cluster/config", listOpts) - if err != nil { - return nil, err - } - defer resp.Body.Close() - var loggers []*types.Logger - if err := json.NewDecoder(resp.Body).Decode(&loggers); err != nil { - return nil, err - } - return loggers, nil - -} - -// LoggerUpdate patches updates to logging configuration. Fields to update must -// be listed in the Fields value, and if a list of Nodes is given it will only -// apply to the nodes listed. Returns the updated configuration. -func (c *Client) LoggerUpdate(opts types.LoggerUpdateOptions) ([]*types.Logger, error) { - - resp, err := c.do("PATCH", LoggerAPIPrefix+"/cluster/config", doOptions{ - data: opts, - context: context.Background(), - }) - if err != nil { - return nil, err - } - defer resp.Body.Close() - var loggers []*types.Logger - if err := json.NewDecoder(resp.Body).Decode(&loggers); err != nil { - return nil, err - } - return loggers, nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/login.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/login.go deleted file mode 100644 index 371a31ec7565..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/login.go +++ /dev/null @@ -1,47 +0,0 @@ -package storageos - -import ( - "encoding/json" - "errors" -) - -var ( - // LoginAPIPrefix is a partial path to the HTTP endpoint. - LoginAPIPrefix = "auth/login" - // ErrLoginFailed is the error returned on an unsuccessful login. - ErrLoginFailed = errors.New("failed to get token from API endpoint") -) - -// Login attemps to get a token from the API -func (c *Client) Login() (token string, err error) { - resp, err := c.do("POST", LoginAPIPrefix, doOptions{data: struct { - User string `json:"username"` - Pass string `json:"password"` - }{c.username, c.secret}}) - - if err != nil { - if _, ok := err.(*Error); ok { - return "", ErrLoginFailed - } - - return "", err - } - - if resp.StatusCode != 200 { - return "", ErrLoginFailed - } - - unmarsh := struct { - Token string `json:"token"` - }{} - - if err := json.NewDecoder(resp.Body).Decode(&unmarsh); err != nil { - return "", err - } - - if unmarsh.Token == "" { - return "", ErrLoginFailed - } - - return unmarsh.Token, nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/namespace.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/namespace.go deleted file mode 100644 index 69fee1bc8efc..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/namespace.go +++ /dev/null @@ -1,125 +0,0 @@ -package storageos - -import ( - "encoding/json" - "errors" - "net/http" - "net/url" - - "github.com/storageos/go-api/types" -) - -var ( - - // NamespaceAPIPrefix is a partial path to the HTTP endpoint. - NamespaceAPIPrefix = "namespaces" - - // ErrNoSuchNamespace is the error returned when the namespace does not exist. - ErrNoSuchNamespace = errors.New("no such namespace") - - // ErrNamespaceInUse is the error returned when the namespace requested to be removed is still in use. - ErrNamespaceInUse = errors.New("namespace in use and cannot be removed") -) - -// NamespaceList returns the list of available namespaces. -func (c *Client) NamespaceList(opts types.ListOptions) ([]*types.Namespace, error) { - listOpts := doOptions{ - fieldSelector: opts.FieldSelector, - labelSelector: opts.LabelSelector, - namespace: opts.Namespace, - context: opts.Context, - } - - if opts.LabelSelector != "" { - query := url.Values{} - query.Add("labelSelector", opts.LabelSelector) - listOpts.values = query - } - - resp, err := c.do("GET", NamespaceAPIPrefix, listOpts) - if err != nil { - return nil, err - } - defer resp.Body.Close() - var namespaces []*types.Namespace - if err := json.NewDecoder(resp.Body).Decode(&namespaces); err != nil { - return nil, err - } - return namespaces, nil -} - -// Namespace returns a namespace by its reference. -func (c *Client) Namespace(ref string) (*types.Namespace, error) { - resp, err := c.do("GET", NamespaceAPIPrefix+"/"+ref, doOptions{}) - if err != nil { - if e, ok := err.(*Error); ok && e.Status == http.StatusNotFound { - return nil, ErrNoSuchNamespace - } - return nil, err - } - defer resp.Body.Close() - var namespace types.Namespace - if err := json.NewDecoder(resp.Body).Decode(&namespace); err != nil { - return nil, err - } - return &namespace, nil -} - -// NamespaceCreate creates a namespace on the server and returns the new object. -func (c *Client) NamespaceCreate(opts types.NamespaceCreateOptions) (*types.Namespace, error) { - resp, err := c.do("POST", NamespaceAPIPrefix, doOptions{ - data: opts, - context: opts.Context, - }) - if err != nil { - return nil, err - } - var namespace types.Namespace - if err := json.NewDecoder(resp.Body).Decode(&namespace); err != nil { - return nil, err - } - return &namespace, nil -} - -// NamespaceUpdate updates a namespace on the server and returns the updated object. -func (c *Client) NamespaceUpdate(opts types.NamespaceCreateOptions) (*types.Namespace, error) { - resp, err := c.do("PUT", NamespaceAPIPrefix+"/"+opts.Name, doOptions{ - data: opts, - context: opts.Context, - }) - if err != nil { - return nil, err - } - var namespace types.Namespace - if err := json.NewDecoder(resp.Body).Decode(&namespace); err != nil { - return nil, err - } - return &namespace, nil -} - -// NamespaceDelete removes a namespace by its reference. -func (c *Client) NamespaceDelete(opts types.DeleteOptions) error { - deleteOpts := doOptions{ - force: opts.Force, - context: opts.Context, - } - resp, err := c.do("DELETE", NamespaceAPIPrefix+"/"+opts.Name, deleteOpts) - if err != nil { - if e, ok := err.(*Error); ok { - if e.Status == http.StatusNotFound { - return ErrNoSuchNamespace - } - if e.Status == http.StatusConflict { - return ErrNamespaceInUse - } - - // namespace can't be deleted yet, unless force is supplied - if e.Status == http.StatusPreconditionFailed { - return err - } - } - return err - } - defer resp.Body.Close() - return nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/netutil/errors.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/netutil/errors.go deleted file mode 100644 index f61980d08cbe..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/netutil/errors.go +++ /dev/null @@ -1,31 +0,0 @@ -package netutil - -import ( - "errors" - "fmt" - "strings" - - "github.com/storageos/go-api/serror" -) - -// ErrAllFailed produces a typed StorageOS error which should be used to indicate that -// the API is not contactable for all of the supplied node addresses. -func ErrAllFailed(addrs []string) error { - msg := fmt.Sprintf("failed to dial all known cluster members, (%s)", strings.Join(addrs, ",")) - help := "ensure that the value of $STORAGEOS_HOST (or the -H flag) is correct, and that there are healthy StorageOS nodes in this cluster" - - return serror.NewTypedStorageOSError(serror.APIUncontactable, nil, msg, help) -} - -func newInvalidNodeError(err error) error { - msg := fmt.Sprintf("invalid node format: %s", err) - help := "please check the format of $STORAGEOS_HOST (or the -H flag) complies with the StorageOS JOIN format" - - return serror.NewTypedStorageOSError(serror.InvalidHostConfig, err, msg, help) -} - -var ( - errUnsupportedScheme = errors.New("unsupported URL scheme") - errInvalidHostName = errors.New("invalid hostname") - errInvalidPortNumber = errors.New("invalid port number") -) diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/netutil/netutil.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/netutil/netutil.go deleted file mode 100644 index 7f9c550c46e1..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/netutil/netutil.go +++ /dev/null @@ -1,5 +0,0 @@ -// Package netutil provides network related errors and helper functions. -package netutil - -// DefaultDialPort is the default port which the API is contacted on. -const DefaultDialPort = "5705" diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/netutil/parsers.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/netutil/parsers.go deleted file mode 100644 index 932c7795b80f..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/netutil/parsers.go +++ /dev/null @@ -1,84 +0,0 @@ -package netutil - -import ( - "net/url" - "strconv" - "strings" -) - -const ( - httpScheme = "http" - httpsScheme = "https" - tcpScheme = "tcp" -) - -// AddressesFromNodes takes a list of node hosts and attempts to return a list of hosts in host:port -// format along with any error encountered. -// -// The function accepts node hosts in URL, ip, ip:port, resolvable-name and resolvable-name:port -// formats and will append the default port value if needed. For hosts where the scheme has been omitted, -// the scheme for the first host will be used. If the first host has no scheme, it will default to http. -func AddressesFromNodes(nodes []string) ([]string, error) { - var addresses []string - - var scheme string - - for _, node := range nodes { - address := node - // If no scheme present, set the first scheme - if !strings.Contains(address, "://") { - if scheme == "" { - scheme = httpScheme - } - address = strings.Join([]string{scheme, address}, "://") - } - - url, err := url.Parse(address) - if err != nil { - return nil, newInvalidNodeError(err) - } - - switch url.Scheme { - case tcpScheme: - url.Scheme = httpScheme - fallthrough - case httpScheme, httpsScheme: - if scheme == "" { - scheme = url.Scheme - } - default: - return nil, newInvalidNodeError(errUnsupportedScheme) - } - - host := url.Hostname() - if host == "" { - return nil, newInvalidNodeError(errInvalidHostName) - } - - // Given input like "http://localhost:8080:8383", url.Parse() will - // return host as "localhost:8000", which isn't a vaild DNS name. - if strings.Contains(host, ":") { - return nil, newInvalidNodeError(errInvalidHostName) - } - - port := url.Port() - if port == "" { - port = DefaultDialPort - } - if !validPort(port) { - return nil, newInvalidNodeError(errInvalidPortNumber) - } - - addresses = append(addresses, strings.TrimRight(url.String(), "/")) - } - - return addresses, nil -} - -func validPort(port string) bool { - intPort, err := strconv.Atoi(port) - - return (err == nil) && - (intPort > 0) && - (intPort <= 65535) -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/network_diagnostics.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/network_diagnostics.go deleted file mode 100644 index 5d8a0bcc8f40..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/network_diagnostics.go +++ /dev/null @@ -1,35 +0,0 @@ -package storageos - -import ( - "encoding/json" - "net/http" - "path" - - "github.com/storageos/go-api/types" -) - -var ( - // NetworkDiagnosticsAPIPrefix is a partial path to the HTTP endpoint for - // the node connectivity diagnostics report. - NetworkDiagnosticsAPIPrefix = "diagnostics/network" -) - -// NetworkDiagnostics returns a collection of network connectivity reports. If -// a reference to a node is given, it will only check connectivity from that -// node. Otherwise, connectivity between all cluster nodes will be returned. -func (c *Client) NetworkDiagnostics(ref string) (types.ConnectivityResults, error) { - resp, err := c.do("GET", path.Join(NetworkDiagnosticsAPIPrefix, ref), doOptions{}) - if err != nil { - if e, ok := err.(*Error); ok && e.Status == http.StatusNotFound { - return nil, ErrNoSuchNode - } - return nil, err - } - defer resp.Body.Close() - - var results types.ConnectivityResults - if err := json.NewDecoder(resp.Body).Decode(&results); err != nil { - return nil, err - } - return results, nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/node.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/node.go deleted file mode 100644 index 4188f582a4ee..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/node.go +++ /dev/null @@ -1,110 +0,0 @@ -package storageos - -import ( - "encoding/json" - "errors" - "net/http" - "net/url" - - "github.com/storageos/go-api/types" -) - -var ( - - // NodeAPIPrefix is a partial path to the HTTP endpoint. - NodeAPIPrefix = "nodes" - - // ErrNoSuchNode is the error returned when the node does not exist. - ErrNoSuchNode = errors.New("no such node") - - // ErrNodeInUse is the error returned when the node requested to be removed is still in use. - ErrNodeInUse = errors.New("node in use and cannot be removed") -) - -// NodeList returns the list of available nodes. -func (c *Client) NodeList(opts types.ListOptions) ([]*types.Node, error) { - listOpts := doOptions{ - fieldSelector: opts.FieldSelector, - labelSelector: opts.LabelSelector, - context: opts.Context, - } - - if opts.LabelSelector != "" { - query := url.Values{} - query.Add("labelSelector", opts.LabelSelector) - listOpts.values = query - } - - resp, err := c.do("GET", NodeAPIPrefix, listOpts) - if err != nil { - return nil, err - } - defer resp.Body.Close() - var nodes []*types.Node - if err := json.NewDecoder(resp.Body).Decode(&nodes); err != nil { - return nil, err - } - return nodes, nil -} - -// Node returns a node by its reference. -func (c *Client) Node(ref string) (*types.Node, error) { - - resp, err := c.do("GET", NodeAPIPrefix+"/"+ref, doOptions{}) - if err != nil { - if e, ok := err.(*Error); ok && e.Status == http.StatusNotFound { - return nil, ErrNoSuchNode - } - return nil, err - } - defer resp.Body.Close() - var node types.Node - if err := json.NewDecoder(resp.Body).Decode(&node); err != nil { - return nil, err - } - return &node, nil -} - -// NodeUpdate updates a node on the server. -func (c *Client) NodeUpdate(opts types.NodeUpdateOptions) (*types.Node, error) { - ref := opts.Name - if IsUUID(opts.ID) { - ref = opts.ID - } - resp, err := c.do("PUT", NodeAPIPrefix+"/"+ref, doOptions{ - data: opts, - context: opts.Context, - }) - if err != nil { - return nil, err - } - defer resp.Body.Close() - var node types.Node - if err := json.NewDecoder(resp.Body).Decode(&node); err != nil { - return nil, err - } - return &node, nil -} - -// NodeDelete removes a node by its reference. -func (c *Client) NodeDelete(opts types.DeleteOptions) error { - deleteOpts := doOptions{ - namespace: opts.Namespace, - force: opts.Force, - context: opts.Context, - } - resp, err := c.do("DELETE", NodeAPIPrefix+"/"+opts.Name, deleteOpts) - if err != nil { - if e, ok := err.(*Error); ok { - if e.Status == http.StatusNotFound { - return ErrNoSuchNode - } - if e.Status == http.StatusConflict { - return ErrNodeInUse - } - } - return err - } - defer resp.Body.Close() - return nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/policy.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/policy.go deleted file mode 100644 index f5c1a050df7b..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/policy.go +++ /dev/null @@ -1,102 +0,0 @@ -package storageos - -import ( - "context" - "encoding/json" - "errors" - "fmt" - "net/http" - "net/url" - - "github.com/storageos/go-api/types" -) - -var ( - // PolicyAPIPrefix is a partial path to the HTTP endpoint. - PolicyAPIPrefix = "policies" - // ErrNoSuchPolicy is the error returned when the policy does not exist. - ErrNoSuchPolicy = errors.New("no such policy") -) - -// nopMarshaler is an alias to a []byte that implements json.Marshaler -// it bypasses the base64 encoded string representation that json will give byte slices. -// It should only be used to wrap []byte types containing pre-rendered valid json that will later -// (out of the caller's control) be run through json.Marshal -type nopMarshaler []byte - -func (n *nopMarshaler) MarshalJSON() ([]byte, error) { - return *n, nil -} - -// PolicyCreate creates a policy on the server. -func (c *Client) PolicyCreate(ctx context.Context, jsonl []byte) error { - nopm := nopMarshaler(jsonl) - _, err := c.do("POST", PolicyAPIPrefix, doOptions{ - data: &nopm, - context: ctx, - headers: map[string]string{"Content-Type": "application/x-jsonlines"}, - }) - return err -} - -// Policy returns a policy on the server by ID. -func (c *Client) Policy(id string) (*types.Policy, error) { - path := fmt.Sprintf("%s/%s", PolicyAPIPrefix, id) - resp, err := c.do("GET", path, doOptions{}) - if err != nil { - if e, ok := err.(*Error); ok && e.Status == http.StatusNotFound { - return nil, ErrNoSuchPolicy - } - return nil, err - } - defer resp.Body.Close() - - var policy *types.Policy - if err := json.NewDecoder(resp.Body).Decode(&policy); err != nil { - return nil, err - } - return policy, nil -} - -// PolicyList returns the list of policies on the server. -func (c *Client) PolicyList(opts types.ListOptions) (types.PolicySet, error) { - listOpts := doOptions{ - fieldSelector: opts.FieldSelector, - labelSelector: opts.LabelSelector, - namespace: opts.Namespace, - context: opts.Context, - } - - if opts.LabelSelector != "" { - query := url.Values{} - query.Add("labelSelector", opts.LabelSelector) - listOpts.values = query - } - - resp, err := c.do("GET", PolicyAPIPrefix, listOpts) - if err != nil { - return nil, err - } - defer resp.Body.Close() - - var policies types.PolicySet - if err := json.NewDecoder(resp.Body).Decode(&policies); err != nil { - return nil, err - } - return policies, nil -} - -// PolicyDelete deletes a policy on the server by ID. -func (c *Client) PolicyDelete(opts types.DeleteOptions) error { - resp, err := c.do("DELETE", PolicyAPIPrefix+"/"+opts.Name, doOptions{}) - if err != nil { - if e, ok := err.(*Error); ok { - if e.Status == http.StatusNotFound { - return ErrNoSuchPolicy - } - } - return err - } - defer resp.Body.Close() - return nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/pool.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/pool.go deleted file mode 100644 index b383e77007ce..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/pool.go +++ /dev/null @@ -1,117 +0,0 @@ -package storageos - -import ( - "encoding/json" - "errors" - "net/http" - - "github.com/storageos/go-api/types" -) - -var ( - - // PoolAPIPrefix is a partial path to the HTTP endpoint. - PoolAPIPrefix = "pools" - - // ErrNoSuchPool is the error returned when the pool does not exist. - ErrNoSuchPool = errors.New("no such pool") - - // ErrPoolInUse is the error returned when the pool requested to be removed is still in use. - ErrPoolInUse = errors.New("pool in use and cannot be removed") -) - -// PoolList returns the list of available pools. -func (c *Client) PoolList(opts types.ListOptions) ([]*types.Pool, error) { - listOpts := doOptions{ - fieldSelector: opts.FieldSelector, - labelSelector: opts.LabelSelector, - namespace: opts.Namespace, - context: opts.Context, - } - resp, err := c.do("GET", PoolAPIPrefix, listOpts) - if err != nil { - return nil, err - } - defer resp.Body.Close() - var pools []*types.Pool - if err := json.NewDecoder(resp.Body).Decode(&pools); err != nil { - return nil, err - } - return pools, nil -} - -// PoolCreate creates a pool on the server and returns the new object. -func (c *Client) PoolCreate(opts types.PoolOptions) (*types.Pool, error) { - resp, err := c.do("POST", PoolAPIPrefix, doOptions{ - data: opts, - context: opts.Context, - }) - if err != nil { - return nil, err - } - var pool types.Pool - if err := json.NewDecoder(resp.Body).Decode(&pool); err != nil { - return nil, err - } - return &pool, nil -} - -// PoolUpdate - update pool -func (c *Client) PoolUpdate(opts types.PoolOptions) (*types.Pool, error) { - ref := opts.Name - if IsUUID(opts.ID) { - ref = opts.ID - } - - resp, err := c.do("PUT", PoolAPIPrefix+"/"+ref, doOptions{ - data: opts, - context: opts.Context, - }) - if err != nil { - return nil, err - } - var pool types.Pool - if err := json.NewDecoder(resp.Body).Decode(&pool); err != nil { - return nil, err - } - return &pool, nil -} - -// Pool returns a pool by its reference. -func (c *Client) Pool(ref string) (*types.Pool, error) { - resp, err := c.do("GET", PoolAPIPrefix+"/"+ref, doOptions{}) - if err != nil { - if e, ok := err.(*Error); ok && e.Status == http.StatusNotFound { - return nil, ErrNoSuchPool - } - return nil, err - } - defer resp.Body.Close() - var pool types.Pool - if err := json.NewDecoder(resp.Body).Decode(&pool); err != nil { - return nil, err - } - return &pool, nil -} - -// PoolDelete removes a pool by its reference. -func (c *Client) PoolDelete(opts types.DeleteOptions) error { - deleteOpts := doOptions{ - force: opts.Force, - context: opts.Context, - } - resp, err := c.do("DELETE", PoolAPIPrefix+"/"+opts.Name, deleteOpts) - if err != nil { - if e, ok := err.(*Error); ok { - if e.Status == http.StatusNotFound { - return ErrNoSuchPool - } - if e.Status == http.StatusConflict { - return ErrPoolInUse - } - } - return err - } - defer resp.Body.Close() - return nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/rule.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/rule.go deleted file mode 100644 index af1dc1968490..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/rule.go +++ /dev/null @@ -1,141 +0,0 @@ -package storageos - -import ( - "encoding/json" - "errors" - "net/http" - "net/url" - - "github.com/storageos/go-api/types" -) - -var ( - - // RuleAPIPrefix is a partial path to the HTTP endpoint. - RuleAPIPrefix = "rules" - - // ErrNoSuchRule is the error returned when the rule does not exist. - ErrNoSuchRule = errors.New("no such rule") - - // ErrRuleInUse is the error returned when the rule requested to be removed is still in use. - ErrRuleInUse = errors.New("rule in use and cannot be removed") -) - -// RuleList returns the list of available rules. -func (c *Client) RuleList(opts types.ListOptions) ([]*types.Rule, error) { - listOpts := doOptions{ - fieldSelector: opts.FieldSelector, - labelSelector: opts.LabelSelector, - namespace: opts.Namespace, - context: opts.Context, - } - - if opts.LabelSelector != "" { - query := url.Values{} - query.Add("labelSelector", opts.LabelSelector) - listOpts.values = query - } - - resp, err := c.do("GET", RuleAPIPrefix, listOpts) - if err != nil { - return nil, err - } - defer resp.Body.Close() - var rules []*types.Rule - if err := json.NewDecoder(resp.Body).Decode(&rules); err != nil { - return nil, err - } - return rules, nil -} - -// Rule returns a rule by its reference. -func (c *Client) Rule(namespace string, ref string) (*types.Rule, error) { - path, err := namespacedRefPath(namespace, RuleAPIPrefix, ref) - if err != nil { - return nil, err - } - resp, err := c.do("GET", path, doOptions{}) - if err != nil { - if e, ok := err.(*Error); ok && e.Status == http.StatusNotFound { - return nil, ErrNoSuchRule - } - return nil, err - } - defer resp.Body.Close() - var rule types.Rule - if err := json.NewDecoder(resp.Body).Decode(&rule); err != nil { - return nil, err - } - return &rule, nil -} - -// RuleCreate creates a rule on the server and returns the new object. -func (c *Client) RuleCreate(opts types.RuleCreateOptions) (*types.Rule, error) { - path, err := namespacedPath(opts.Namespace, RuleAPIPrefix) - if err != nil { - return nil, err - } - - resp, err := c.do("POST", path, doOptions{ - data: opts, - // namespace: opts.Namespace, - context: opts.Context, - }) - if err != nil { - return nil, err - } - var rule types.Rule - if err := json.NewDecoder(resp.Body).Decode(&rule); err != nil { - return nil, err - } - return &rule, nil -} - -// RuleUpdate updates a rule on the server. -func (c *Client) RuleUpdate(opts types.RuleUpdateOptions) (*types.Rule, error) { - ref := opts.Name - if IsUUID(opts.ID) { - ref = opts.ID - } - - path, err := namespacedRefPath(opts.Namespace, RuleAPIPrefix, ref) - if err != nil { - return nil, err - } - resp, err := c.do("PUT", path, doOptions{ - data: opts, - context: opts.Context, - }) - if err != nil { - return nil, err - } - defer resp.Body.Close() - var rule types.Rule - if err := json.NewDecoder(resp.Body).Decode(&rule); err != nil { - return nil, err - } - return &rule, nil -} - -// RuleDelete removes a rule by its reference. -func (c *Client) RuleDelete(opts types.DeleteOptions) error { - deleteOpts := doOptions{ - namespace: opts.Namespace, - force: opts.Force, - context: opts.Context, - } - resp, err := c.do("DELETE", RuleAPIPrefix+"/"+opts.Name, deleteOpts) - if err != nil { - if e, ok := err.(*Error); ok { - if e.Status == http.StatusNotFound { - return ErrNoSuchRule - } - if e.Status == http.StatusConflict { - return ErrRuleInUse - } - } - return err - } - defer resp.Body.Close() - return nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/serror/error_kind.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/serror/error_kind.go deleted file mode 100644 index 53531398769f..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/serror/error_kind.go +++ /dev/null @@ -1,11 +0,0 @@ -package serror - -//go:generate stringer -type=StorageOSErrorKind error_kind.go -type StorageOSErrorKind int - -// Known error kinds -const ( - UnknownError StorageOSErrorKind = iota - APIUncontactable - InvalidHostConfig -) diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/serror/kind_lookup_map.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/serror/kind_lookup_map.go deleted file mode 100644 index f96ce6a9d9ad..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/serror/kind_lookup_map.go +++ /dev/null @@ -1,37 +0,0 @@ -package serror - -import ( - "encoding/json" - "fmt" - "strings" -) - -var kindLookupMap map[string]StorageOSErrorKind - -func init() { - kindLookupMap = make(map[string]StorageOSErrorKind) - - // Populate the lookup map with all the known constants - for i := StorageOSErrorKind(0); !strings.HasPrefix(i.String(), "StorageOSErrorKind("); i++ { - kindLookupMap[i.String()] = i - } -} - -func (s *StorageOSErrorKind) UnmarshalJSON(b []byte) error { - str := "" - if err := json.Unmarshal(b, &str); err != nil { - return err - } - - v, ok := kindLookupMap[str] - if !ok { - return fmt.Errorf("Failed to unmarshal ErrorKind %s", s) - } - - *s = v - return nil -} - -func (s *StorageOSErrorKind) MarshalJSON() ([]byte, error) { - return json.Marshal(s.String()) -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/serror/storageos_error.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/serror/storageos_error.go deleted file mode 100644 index 332c19ad677a..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/serror/storageos_error.go +++ /dev/null @@ -1,34 +0,0 @@ -package serror - -import ( - "encoding/json" -) - -type StorageOSError interface { - // embedding error provides compatibility with standard error handling code - error - - // Encoding/decoding methods to help errors traverse API boundaries - json.Marshaler - json.Unmarshaler - - Err() error // Returns the underlying error that caused this event - String() string // A short string representing the error (for logging etc) - Help() string // A larger string that should provide informative debug instruction to users - Kind() StorageOSErrorKind // A type representing a set of known error conditions, helpful to switch on - Extra() map[string]string // A container for error specific information - - // TODO: should we include callstack traces here? We could have a debug mode for it. -} - -func ErrorKind(err error) StorageOSErrorKind { - if serr, ok := err.(StorageOSError); ok { - return serr.Kind() - } - return UnknownError -} - -func IsStorageOSError(err error) bool { - _, ok := err.(StorageOSError) - return ok -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/serror/storageoserrorkind_string.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/serror/storageoserrorkind_string.go deleted file mode 100644 index fafdccc74609..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/serror/storageoserrorkind_string.go +++ /dev/null @@ -1,16 +0,0 @@ -// Code generated by "stringer -type=StorageOSErrorKind error_kind.go"; DO NOT EDIT. - -package serror - -import "strconv" - -const _StorageOSErrorKind_name = "UnknownErrorAPIUncontactableInvalidHostConfig" - -var _StorageOSErrorKind_index = [...]uint8{0, 12, 28, 45} - -func (i StorageOSErrorKind) String() string { - if i < 0 || i >= StorageOSErrorKind(len(_StorageOSErrorKind_index)-1) { - return "StorageOSErrorKind(" + strconv.FormatInt(int64(i), 10) + ")" - } - return _StorageOSErrorKind_name[_StorageOSErrorKind_index[i]:_StorageOSErrorKind_index[i+1]] -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/serror/typed_error.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/serror/typed_error.go deleted file mode 100644 index 553adec43981..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/serror/typed_error.go +++ /dev/null @@ -1,64 +0,0 @@ -package serror - -import ( - "encoding/json" -) - -func NewTypedStorageOSError(kind StorageOSErrorKind, err error, msg string, help string) StorageOSError { - return &typedStorageOSError{ - internal: &internal_TypedStorageOSError{ - ErrorKind: &kind, - Cause: err, - ErrMessage: msg, - HelpMessage: help, - }, - } -} - -func NewUntypedStorageOSError(err error, msg string, help string) StorageOSError { - var kind StorageOSErrorKind = UnknownError - - return &typedStorageOSError{ - internal: &internal_TypedStorageOSError{ - ErrorKind: &kind, - Cause: err, - ErrMessage: msg, - HelpMessage: help, - }, - } -} - -type internal_TypedStorageOSError struct { - ErrorKind *StorageOSErrorKind `json:"error_kind"` - Cause error `json:"caused_by"` - ErrMessage string `json:"error_message"` - HelpMessage string `json:"help_message"` - ExtraMap map[string]string `json:"extra"` -} - -type typedStorageOSError struct { - internal *internal_TypedStorageOSError -} - -func (t *typedStorageOSError) MarshalJSON() ([]byte, error) { - return json.Marshal(t.internal) -} - -func (t *typedStorageOSError) UnmarshalJSON(d []byte) error { - internal := &internal_TypedStorageOSError{} - - err := json.Unmarshal(d, internal) - if err != nil { - return err - } - - t.internal = internal - return nil -} - -func (t *typedStorageOSError) Error() string { return t.String() } -func (t *typedStorageOSError) Err() error { return t.internal.Cause } -func (t *typedStorageOSError) String() string { return t.internal.ErrMessage } -func (t *typedStorageOSError) Help() string { return t.internal.HelpMessage } -func (t *typedStorageOSError) Kind() StorageOSErrorKind { return *t.internal.ErrorKind } -func (t *typedStorageOSError) Extra() map[string]string { return t.internal.ExtraMap } diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/server_version.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/server_version.go deleted file mode 100644 index 3e44aced4367..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/server_version.go +++ /dev/null @@ -1,28 +0,0 @@ -package storageos - -import ( - "context" - "encoding/json" - "net/http" - - "github.com/storageos/go-api/types" -) - -// ServerVersion returns the server's version and runtime info. -func (c *Client) ServerVersion(ctx context.Context) (*types.VersionInfo, error) { - - // Send as unversioned - resp, err := c.do("GET", "version", doOptions{context: ctx, unversioned: true}) - if err != nil { - return nil, err - } - if resp.StatusCode != http.StatusOK { - return nil, newError(resp) - } - defer resp.Body.Close() - var version types.VersionInfo - if err := json.NewDecoder(resp.Body).Decode(&version); err != nil { - return nil, err - } - return &version, nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/template.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/template.go deleted file mode 100644 index ca5d4a32292a..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/template.go +++ /dev/null @@ -1,90 +0,0 @@ -package storageos - -import ( - "encoding/json" - "errors" - "io/ioutil" - "net/http" - "strconv" - - "github.com/storageos/go-api/types" -) - -var ( - - // TemplateAPIPrefix is a partial path to the HTTP endpoint. - TemplateAPIPrefix = "/templates" - - // ErrNoSuchTemplate is the error returned when the template does not exist. - ErrNoSuchTemplate = errors.New("no such template") - - // ErrTemplateInUse is the error returned when the template requested to be removed is still in use. - ErrTemplateInUse = errors.New("template in use and cannot be removed") -) - -// TemplateList returns the list of available templates. -func (c *Client) TemplateList(opts types.ListOptions) ([]types.Template, error) { - path := TemplateAPIPrefix + "?" + queryString(opts) - resp, err := c.do("GET", path, doOptions{context: opts.Context}) - if err != nil { - return nil, err - } - defer resp.Body.Close() - var templates []types.Template - if err := json.NewDecoder(resp.Body).Decode(&templates); err != nil { - return nil, err - } - return templates, nil -} - -// TemplateCreate creates a template on the server and returns the new object. -func (c *Client) TemplateCreate(opts types.TemplateCreateOptions) (string, error) { - resp, err := c.do("POST", TemplateAPIPrefix, doOptions{ - data: opts, - context: opts.Context, - }) - if err != nil { - return "", err - } - defer resp.Body.Close() - out, err := ioutil.ReadAll(resp.Body) - if err != nil { - return "", err - } - return strconv.Unquote(string(out)) -} - -// Template returns a template by its reference. -func (c *Client) Template(ref string) (*types.Template, error) { - resp, err := c.do("GET", TemplateAPIPrefix+"/"+ref, doOptions{}) - if err != nil { - if e, ok := err.(*Error); ok && e.Status == http.StatusNotFound { - return nil, ErrNoSuchTemplate - } - return nil, err - } - defer resp.Body.Close() - var template types.Template - if err := json.NewDecoder(resp.Body).Decode(&template); err != nil { - return nil, err - } - return &template, nil -} - -// TemplateDelete removes a template by its reference. -func (c *Client) TemplateDelete(ref string) error { - resp, err := c.do("DELETE", TemplateAPIPrefix+"/"+ref, doOptions{}) - if err != nil { - if e, ok := err.(*Error); ok { - if e.Status == http.StatusNotFound { - return ErrNoSuchTemplate - } - if e.Status == http.StatusConflict { - return ErrTemplateInUse - } - } - return nil - } - defer resp.Body.Close() - return nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/auth.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/auth.go deleted file mode 100644 index 16f516b7cb8a..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/auth.go +++ /dev/null @@ -1,14 +0,0 @@ -package types - -// AuthConfig contains authorization information for connecting to a Registry -type AuthConfig struct { - Name string `json:"name,omitempty"` - Username string `json:"username,omitempty"` - Password string `json:"password,omitempty"` - Auth string `json:"auth,omitempty"` - ServerAddress string `json:"serveraddress,omitempty"` - - // IdentityToken is used to authenticate the user and get - // an access token for the registry. - IdentityToken string `json:"identitytoken,omitempty"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/capacity_stats.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/capacity_stats.go deleted file mode 100644 index 865e253d8a4a..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/capacity_stats.go +++ /dev/null @@ -1,25 +0,0 @@ -package types - -// ErrCapacityStatsUnchanged can be used when comparing stats -const ErrCapacityStatsUnchanged = "no changes" - -// CapacityStats is used to report capacity statistics on pools and controllers. -type CapacityStats struct { - - // TotalCapacityBytes is the object's total capacity in bytes. - TotalCapacityBytes uint64 `json:"totalCapacityBytes"` - - // AvailableCapacityBytes is the object's available capacity in bytes. - AvailableCapacityBytes uint64 `json:"availableCapacityBytes"` - - // ProvisionedCapacityBytes is the object's provisioned capacity in bytes. - ProvisionedCapacityBytes uint64 `json:"provisionedCapacityBytes"` -} - -// IsEqual checks if capacity values are the same -func (c CapacityStats) IsEqual(n CapacityStats) bool { - if c == n { - return true - } - return false -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/cluster.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/cluster.go deleted file mode 100644 index 65625d012103..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/cluster.go +++ /dev/null @@ -1,10 +0,0 @@ -package types - -import "time" - -// Maintenance is used to place the cluster in maintenance mode. -type Maintenance struct { - Enabled bool `json:"enabled"` - UpdatedBy string `json:"updatedBy"` - UpdatedAt time.Time `json:"updatedAt"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/connectivity.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/connectivity.go deleted file mode 100644 index 8d3177d1ac1b..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/connectivity.go +++ /dev/null @@ -1,41 +0,0 @@ -package types - -import "time" - -// ConnectivityResult capture's a node connectivity report to a given target. -type ConnectivityResult struct { - // Label is a human-readable reference for the service being tested. - Label string `json:"label"` - - // Address is the host:port of the service being tested. - Address string `json:"address"` - - // Source is a human-readable reference for the source host where the tests - // were run from. - Source string `json:"source"` - - // LatencyNS is the duration in nanoseconds that the check took to complete. - // Will also be set on unsuccessful attempts. - LatencyNS time.Duration `json:"latency_ns"` - - // Error is set if the test returned an error. - Error string `json:"error"` -} - -// IsOK returns true iff no error -func (r ConnectivityResult) IsOK() bool { - return len(r.Error) == 0 -} - -// ConnectivityResults is a collection of connectivty reports. -type ConnectivityResults []ConnectivityResult - -// IsOK returns true iff no error in any result. -func (r ConnectivityResults) IsOK() bool { - for _, result := range r { - if !result.IsOK() { - return false - } - } - return true -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/delete_options.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/delete_options.go deleted file mode 100644 index 0355f7d5f5ec..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/delete_options.go +++ /dev/null @@ -1,24 +0,0 @@ -package types - -import "context" - -// DeleteOptions are available parameters for deleting existing volumes. -type DeleteOptions struct { - - // Volume unique ID. - // Read Only: true - ID string `json:"id"` - - // Volume name. - // Read Only: true - Name string `json:"name"` - - // Namespace is the object scope, such as for teams and projects. - Namespace string `json:"namespace"` - - // Force will cause the volume to be deleted even if it's in use. - Force bool `json:"force"` - - // Context can be set with a timeout or can be used to cancel a request. - Context context.Context `json:"-"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/deployment.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/deployment.go deleted file mode 100644 index cdc33e4076f8..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/deployment.go +++ /dev/null @@ -1,36 +0,0 @@ -package types - -import "time" - -// Deployment Volume master or replica deployment details. -// swagger:model Deployment -type Deployment struct { - - // Deployment unique ID - // Read Only: true - ID string `json:"id"` - - // Inode number - // Read Only: true - Inode uint32 `json:"inode"` - - // Node ID - // Read Only: true - Node string `json:"node"` - - // Node name - // Read Only: true - NodeName string `json:"nodeName"` - - // Health - // Read Only: true - Health string `json:"health"` - - // Status - // Read Only: true - Status string `json:"status"` - - // Created at - // Read Only: true - CreatedAt time.Time `json:"createdAt"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/driver_instance.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/driver_instance.go deleted file mode 100644 index 2ef16b0db328..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/driver_instance.go +++ /dev/null @@ -1,86 +0,0 @@ -package types - -import "encoding/gob" - -// DriverInstance is used to define an instance of a storage capacity driver. -type DriverInstance struct { - - // Instance unique ID. - // Read Only: true - ID string `json:"id"` - - // Instance name. - Name string `json:"name"` - - // Instance description. - Description string `json:"description"` - - // Flag describing whether the template is active. - // Default: false - Active bool `json:"active"` - - // Config is JSON struct that is passed directly to the driver. There is no - // specific format, and the driver is responsible for validation. - Config interface{} `json:"config"` - - // Labels define a list of labels that describe the driver instance. These - // are inherited from the pool when the driver instance is created. - Labels []string `json:"labels"` - - // ControllerName specifies the controller that this instance is running on. - ControllerName string `json:"controllerName"` - - // PoolID refers to the pool that this driver instance relates to. - PoolID string `json:"poolID"` - - // DriverName specifies which capacity driver this is an instance of. - DriverName string `json:"driverName"` - - // CapacityStats tracks that capacity usage of this driver instance on the - // current controller. - CapacityStats CapacityStats `json:"capacityStats"` -} - -// DriverInstances is a collection of Driver instance objects. -type DriverInstances []*DriverInstance - -func init() { - gob.Register(DriverInstance{}) - gob.Register([]interface{}{}) -} - -// Find an instance matching the parameters. -func (i *DriverInstances) Find(pool string, driver string, controller string) *DriverInstance { - - for _, inst := range *i { - if inst.PoolID == pool && inst.DriverName == driver && inst.ControllerName == controller { - return inst - } - } - return nil -} - -// Add a new instance to the list of instances. -func (i *DriverInstances) Add(new *DriverInstance) { - - for _, inst := range *i { - // Skip if it already exists - if inst.PoolID == new.PoolID && inst.DriverName == new.DriverName && inst.ControllerName == new.ControllerName { - return - } - } - *i = append(*i, new) -} - -// Remove an instance to the list of instances. -func (i *DriverInstances) Remove(id string) { - - // TODO: not working - // for ndx, inst := range *i { - // if inst.ID == id { - // // splice out the item to remove - // *i = append(*i[:ndx], *i[ndx+1:]...) - // return - // } - // } -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/error_response.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/error_response.go deleted file mode 100644 index dc942d9d9efa..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/error_response.go +++ /dev/null @@ -1,13 +0,0 @@ -package types - -// This file was generated by the swagger tool. -// Editing this file might prove futile when you re-run the swagger generate command - -// ErrorResponse Represents an error. -// swagger:model ErrorResponse -type ErrorResponse struct { - - // The error message. - // Required: true - Message string `json:"message"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/events.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/events.go deleted file mode 100644 index 6e3adf07e6ab..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/events.go +++ /dev/null @@ -1,60 +0,0 @@ -package types - -import "time" - -// EventType describes the type of event -type EventType string - -// EventTypes are added to events to assist with type assertions -const ( - RequestType EventType = "request" - ResponseType = "response" - HeartbeatType = "heartbeat" - BackupType = "backup" -) - -// Event describes the fields that all events should implement. Event is -// intended to be inherherited in more specific Event types. -type Event struct { - ID string `json:"id"` - // Parent is used to specify parent event - Parent string `json:"parent"` - EventType EventType `json:"eventType"` - Action string `json:"action"` - Timestamp int64 `json:"timestamp"` - Status string `json:"status"` - Message string `json:"message"` - Log []string `json:"log"` - ProgressPercent int `json:"progressPercent"` - CreatedBy string `json:"createdBy"` - - Target string `json:"target"` - ActionPayload interface{} `json:"actionPayload"` - - // payload can be encoded into bytes as well - ActionPayloadBytes []byte `json:"actionPayloadBts"` - - UpdatedAt time.Time `json:"updatedAt"` - CreatedAt time.Time `json:"createdAt"` - // retry related value - Retry bool `json:"retry"` - RetriedAt time.Time `json:"retriedAt"` - Attempts int `json:"attempts"` - - // optional parameter - Deadline time.Time `json:"deadline"` - - // optional events to dispatch - Rollback []*Request `json:"rollback"` - RollbackDone bool `json:"rollbackDone"` - - Subject string `json:"subject"` // or "queue" - - // controller ID which created this event - OriginController string `json:"originController"` -} - -// Request is the message structure used for sending request events -type Request struct { - Event -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/health.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/health.go deleted file mode 100644 index 6efe0a4079bd..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/health.go +++ /dev/null @@ -1,148 +0,0 @@ -package types - -import "encoding/json" - -type SubModuleStatus struct { - Status string `json:"status"` - UpdatedAt string `json:"updatedAt"` - ChangedAt string `json:"changedAt"` - Message string `json:"message"` -} - -type NamedSubModuleStatus struct { - Name string - SubModuleStatus -} - -type ClusterHealthNode struct { - NodeID string `json:"nodeID"` - NodeName string `json:"nodeName"` - Submodules struct { - DirectFSInitiator SubModuleStatus `json:"directfs_initiator"` - Director SubModuleStatus `json:"director"` - KV SubModuleStatus `json:"kv"` - KVWrite SubModuleStatus `json:"kv_write"` - NATS SubModuleStatus `json:"nats"` - Presentation SubModuleStatus `json:"presentation"` - RDB SubModuleStatus `json:"rdb"` - } `json:"submodules"` -} - -type CPHealthStatus struct { - KV SubModuleStatus - KVWrite SubModuleStatus - NATS SubModuleStatus - Scheduler SubModuleStatus -} - -func (c *CPHealthStatus) ToNamedSubmodules() []NamedSubModuleStatus { - return []NamedSubModuleStatus{ - {Name: "nats", SubModuleStatus: c.NATS}, - {Name: "kv", SubModuleStatus: c.KV}, - {Name: "kv_write", SubModuleStatus: c.KVWrite}, - {Name: "scheduler", SubModuleStatus: c.Scheduler}, - } -} - -func (c *CPHealthStatus) UnmarshalJSON(data []byte) error { - unmarsh := struct { - Submodules struct { - KV SubModuleStatus `json:"kv"` - KVWrite SubModuleStatus `json:"kv_write"` - NATS SubModuleStatus `json:"nats"` - Scheduler SubModuleStatus `json:"scheduler"` - } `json:"submodules"` - }{} - - if err := json.Unmarshal(data, &unmarsh); err != nil { - return err - } - - c.KV = unmarsh.Submodules.KV - c.KVWrite = unmarsh.Submodules.KVWrite - c.NATS = unmarsh.Submodules.NATS - c.Scheduler = unmarsh.Submodules.Scheduler - - return nil -} - -type DPHealthStatus struct { - DirectFSClient SubModuleStatus - DirectFSServer SubModuleStatus - Director SubModuleStatus - FSDriver SubModuleStatus - FS SubModuleStatus -} - -func (d *DPHealthStatus) ToNamedSubmodules() []NamedSubModuleStatus { - return []NamedSubModuleStatus{ - {Name: "dfs_client", SubModuleStatus: d.DirectFSClient}, - {Name: "dfs_server", SubModuleStatus: d.DirectFSServer}, - {Name: "director", SubModuleStatus: d.Director}, - {Name: "fs_driver", SubModuleStatus: d.FSDriver}, - {Name: "fs", SubModuleStatus: d.FS}, - } -} - -func (d *DPHealthStatus) UnmarshalJSON(data []byte) error { - unmarsh := struct { - Submodules struct { - DirectFSClient SubModuleStatus `json:"directfs-client"` - DirectFSServer SubModuleStatus `json:"directfs-server"` - Director SubModuleStatus `json:"director"` - FSDriver SubModuleStatus `json:"filesystem-driver"` - FS SubModuleStatus `json:"fs"` - } `json:"submodules"` - }{} - - if err := json.Unmarshal(data, &unmarsh); err != nil { - return err - } - - d.DirectFSClient = unmarsh.Submodules.DirectFSClient - d.DirectFSServer = unmarsh.Submodules.DirectFSServer - d.Director = unmarsh.Submodules.Director - d.FSDriver = unmarsh.Submodules.FSDriver - d.FS = unmarsh.Submodules.FS - - return nil -} - -// HealthStatus is the health status json object. -type HealthStatus struct { - Submodules HealthSubmodules `json:"submodules"` -} - -// HealthSubmodules is the "submodules" attribuet of HealthStatus. -type HealthSubmodules struct { - KV SubModuleStatus `json:"kv,omitempty"` - KVWrite SubModuleStatus `json:"kv_write,omitempty"` - NATS SubModuleStatus `json:"nats,omitempty"` - Scheduler SubModuleStatus `json:"scheduler,omitempty"` - DirectFSClient SubModuleStatus `json:"directfs_initiator,omitempty"` - DirectFSServer SubModuleStatus `json:"directfs_responder,omitempty"` - Director SubModuleStatus `json:"director,omitempty"` - FSDriver SubModuleStatus `json:"rdb,omitempty"` - FS SubModuleStatus `json:"presentation,omitempty"` -} - -// ToCPHealthStatus returns only CPHealthStatus from the HealthStatus. -func (h *HealthStatus) ToCPHealthStatus() *CPHealthStatus { - return &CPHealthStatus{ - KV: h.Submodules.KV, - KVWrite: h.Submodules.KVWrite, - NATS: h.Submodules.KVWrite, - Scheduler: h.Submodules.Scheduler, - } -} - -// ToDPHealthStatus returns only DPHealthStatus from the HealthStatus. -func (h *HealthStatus) ToDPHealthStatus() *DPHealthStatus { - return &DPHealthStatus{ - DirectFSClient: h.Submodules.DirectFSClient, - DirectFSServer: h.Submodules.DirectFSServer, - Director: h.Submodules.Director, - FSDriver: h.Submodules.FSDriver, - FS: h.Submodules.FS, - } -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/licence.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/licence.go deleted file mode 100644 index c486ed2bb7bd..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/licence.go +++ /dev/null @@ -1,35 +0,0 @@ -package types - -import "time" - -// FeatureType store features types -type FeatureType string - -const ( - // HA means High Availability - HA = FeatureType("HA") - // DEV means developer licence - DEV = FeatureType("DEV") - // TRIAL means trial licence - TRIAL = FeatureType("TRIAL") -) - -// Licence holds the information to be encoded in the licence key. It needs to be synced across -// the django server running on portal-API as well as the corresponding decoding package on the -// storageOS control plane -type Licence struct { - ArrayUUID string `json:"arrayUUID,omitempty"` - ClusterID string `json:"clusterID,omitempty"` - CustomerID string `json:"customerID"` - CustomerName string `json:"customerName"` - Storage int `json:"storage"` - ValidUntil time.Time `json:"validUntil"` - LicenceType string `json:"licenceType"` - Features map[FeatureType]bool `json:"features"` - Unregistered bool `json:"unregistered"` -} - -// LicenceKeyContainer - stores a licence key -type LicenceKeyContainer struct { - Key string `json:"key"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/list_options.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/list_options.go deleted file mode 100644 index caeaead578f7..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/list_options.go +++ /dev/null @@ -1,19 +0,0 @@ -package types - -import "context" - -// ListOptions are optional parameters for finding and listing most objects. -type ListOptions struct { - - // FieldSelector restricts the list of returned objects by their fields. Defaults to everything. - FieldSelector string - - // LabelSelector restricts the list of returned objects by their labels. Defaults to everything. - LabelSelector string - - // Namespace is the object scope, such as for teams and projects. - Namespace string - - // Context can be set with a timeout or can be used to cancel a request. - Context context.Context -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/logger.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/logger.go deleted file mode 100644 index f02bad96eb5f..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/logger.go +++ /dev/null @@ -1,40 +0,0 @@ -package types - -import "context" - -// Logger is the runtime configuration of the node's logging services. -// swagger:model Logger -type Logger struct { - - // Node name - Node string `json:"node"` - - // Log level - Level string `json:"level"` - - // Log filter - Filter string `json:"filter"` - - // Log filters by category - // Read Only: true - Categories map[string]string `json:"categories"` -} - -// LoggerUpdateOptions are the available parameters for updating loggers. -type LoggerUpdateOptions struct { - - // Log level - Level string `json:"level"` - - // Log filter - Filter string `json:"filter"` - - // List of nodes to update. All if not set. - Nodes []string `json:"nodes"` - - // List of fields to update. Must be set. - Fields []string `json:"fields"` - - // Context can be set with a timeout or can be used to cancel a request. - Context context.Context `json:"-"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/namespace.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/namespace.go deleted file mode 100644 index e82aeeafef6b..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/namespace.go +++ /dev/null @@ -1,59 +0,0 @@ -package types - -import ( - "context" - "time" -) - -// Namespace is used to as a container to isolate namespace and rule obects. -type Namespace struct { - - // Namespace unique ID. - // Read Only: true - ID string `json:"id"` - - // Namespace name. - // Required: true - Name string `json:"name"` - - // The optional DisplayName is how the project is displayed in the web console (defaults to name). - DisplayName string `json:"displayName"` - - // Namespcae description. - Description string `json:"description"` - - // User-defined key/value metadata. - Labels map[string]string `json:"labels"` - - // When the namespace was created. - // Read Only: true - CreatedAt time.Time `json:"createdAt"` - - // User that created the namespace. - // Read Only: true - CreatedBy string `json:"createdBy"` - - // When the namespace was created. - // Read Only: true - UpdatedAt time.Time `json:"updatedAt"` -} - -// NamespaceCreateOptions are available parameters for creating new namespaces. -type NamespaceCreateOptions struct { - - // Name is the name of the namespace to create. - // Required: true - Name string `json:"name"` - - // The optional DisplayName is how the project is displayed in the web console (defaults to name). - DisplayName string `json:"displayName"` - - // Description describes the namespace. - Description string `json:"description"` - - // Labels are user-defined key/value metadata. - Labels map[string]string `json:"labels"` - - // Context can be set with a timeout or can be used to cancel a request. - Context context.Context `json:"-"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/node.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/node.go deleted file mode 100644 index 6d60d86110d5..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/node.go +++ /dev/null @@ -1,104 +0,0 @@ -package types - -import ( - "time" -) - -// Node represents a StorageOS cluster node. -type Node struct { - NodeConfig - - HostID uint32 `json:"hostID"` - Name string `json:"name"` - Description string `json:"description"` - CreatedAt time.Time `json:"createdAt"` - UpdatedAt time.Time `json:"updatedAt"` - - Health string `json:"health"` - HealthUpdatedAt time.Time `json:"healthUpdatedAt"` - - VersionInfo map[string]VersionInfo `json:"versionInfo"` - Version string `json:"version"` - Revision string // the GitCommit this maps to - - Scheduler bool `json:"scheduler"` - - Cordon bool `json:"cordon"` - Drain bool `json:"drain"` - - VolumeStats VolumeStats `json:"volumeStats"` - - // PoolStats map[string]map[string]CapacityStats `json:"poolStats"` - - CapacityStats CapacityStats `json:"capacityStats"` -} - -// NodeConfig is a read-only representation of the node's configuration, set at -// start time by environment variables passed to the container or using defaults. -type NodeConfig struct { - // UUID is the unique identifier of the node. It cannot be changed once set. - ID string `json:"id,omitempty"` - - // Hostname of the node. - Hostname string `json:"hostname"` - - // Address is is used for communication between nodes. - // Nodes will fail to start if the address they first registered with - // changes. This protects against the container being re-scheduled on a - // different host. Nodes will typically use the host server's ip address, - // running the docker container in -net host mode. - Address string `json:"address"` - - // KvAddr is the address of the KV store to use for storing configuration. - // It can include the address or FQDN with optional port. Defaults to - // Address/ADVERTISE_IP. - KvAddr string `json:"kvAddr"` - - // Port allocations - APIPort int `json:"apiPort"` - NatsPort int `json:"natsPort"` - NatsClusterPort int `json:"natsClusterPort"` - SerfPort int `json:"serfPort"` - DFSPort int `json:"dfsPort"` - KVPeerPort int `json:"kvPeerPort"` - KVClientPort int `json:"kvClientPort"` - - Labels map[string]string `json:"labels"` - - LogLevel string `json:"logLevel"` // the level of the logs to outout - LogFormat string `json:"logFormat"` // either text or json - LogFilter string `json:"logFilter"` // used to discard messages based on the message's category - - // BindAddr is used to control the default address StorageOS binds to. This - // should always be set to 0.0.0.0 (all interfaces). - BindAddr string `json:"bindAddr"` - - // DeviceDir is where the volumes are exported. This directory must be - // shared into the container using the rshared volume mount option. - DeviceDir string `json:"deviceDir"` - - // Join existing cluster - Join string `json:"join"` - - // Backend selects the KV backend, either embedded (testing only) or etcd. - Backend string `json:"kvBackend"` - - // EnableDebug is used to enable various debugging features. Used by http - // to enable debug endpoints and as a shortcut to enable debug logging. - EnableDebug bool `json:"debug"` - - // Devices specify all devices that are available on the node. - Devices []Device `json:"devices"` -} - -// Device - device type -type Device struct { - ID string - Labels map[string]string `json:"labels"` - Status string `json:"status"` - Identifier string `json:"identifier"` - Class string `json:"class"` - CapacityStats CapacityStats `json:"capacityStats"` - CreatedAt time.Time `json:"createdAt"` - UpdatedAt time.Time `json:"updatedAt"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/node_update_options.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/node_update_options.go deleted file mode 100644 index f902567541ab..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/node_update_options.go +++ /dev/null @@ -1,28 +0,0 @@ -package types - -import "context" - -// NodeUpdateOptions are available parameters for updating existing nodes. -type NodeUpdateOptions struct { - - // Node unique ID. - // Read Only: true - ID string `json:"id"` - - // Node name. - // Read Only: true - Name string `json:"name"` - - // Description of the node. - Description string `json:"description"` - - // Labels are user-defined key/value metadata. - Labels map[string]string `json:"labels"` - - // Cordon marks the node as unschedulable if true - Cordon bool `json:"cordon"` - Drain bool `json:"drain"` - - // Context can be set with a timeout or can be used to cancel a request. - Context context.Context `json:"-"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/operator.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/operator.go deleted file mode 100644 index 5971a5059e32..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/operator.go +++ /dev/null @@ -1,19 +0,0 @@ -package types - -// Operator represents a key/field's relationship to value(s). -// See labels.Requirement and fields.Requirement for more details. -type Operator string - -// Valid operators -const ( - None Operator = "" - DoesNotExist Operator = "!" - Equals Operator = "=" - DoubleEquals Operator = "==" - In Operator = "in" - NotEquals Operator = "!=" - NotIn Operator = "notin" - Exists Operator = "exists" - GreaterThan Operator = "gt" - LessThan Operator = "lt" -) diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/policy.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/policy.go deleted file mode 100644 index 6441939d5e45..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/policy.go +++ /dev/null @@ -1,45 +0,0 @@ -package types - -import ( - "encoding/json" -) - -type Policy struct { - Spec struct { - User string `json:"user,omitempty"` - Group string `json:"group,omitempty"` - Readonly bool `json:"readonly,omitempty"` - APIGroup string `json:"apiGroup,omitempty"` - Resource string `json:"resource,omitempty"` - Namespace string `json:"namespace,omitempty"` - NonResourcePath string `json:"nonResourcePath,omitempty"` - } `json:"spec"` -} - -// PolicyWithId is used as an internal type to render table formated versions of the json response -type PolicyWithID struct { - Policy - ID string -} - -// MarshalJSON returns a marshaled copy of the internal policy object, so it is still valid to use -// with the REST API -func (p *PolicyWithID) MarshalJSON() ([]byte, error) { - return json.Marshal(p.Policy) -} - -// PolicySet is a representation of the data structure returned from the REST API -type PolicySet map[string]Policy - -func (p PolicySet) GetPoliciesWithID() []*PolicyWithID { - rtn := make([]*PolicyWithID, 0, len(p)) - - for k, v := range p { - rtn = append(rtn, &PolicyWithID{ - Policy: v, - ID: k, - }) - } - - return rtn -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/pool.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/pool.go deleted file mode 100644 index 9487d80551dd..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/pool.go +++ /dev/null @@ -1,39 +0,0 @@ -package types - -// Pool is used to define a capacity pool. -type Pool struct { - - // Pool unique ID. - // Read Only: true - ID string `json:"id"` - - // Pool name. - // Required: true - Name string `json:"name"` - - // Pool description. - Description string `json:"description"` - - // Default determines whether this pool is the default if a volume is - // provisioned without a pool specified. There can only be one default pool. - Default bool `json:"default"` - - NodeSelector string `json:"nodeSelector"` - - // DeviceSelector - specifies a selector to filter node devices based on their labels. - // Only devices from nodes that are in the 'NodeNames' list can be selected - DeviceSelector string `json:"deviceSelector"` - - // Populated by the system. Read-only. - CapacityStats CapacityStats `json:"capacityStats"` - - // This field is computed based on NodeSelector value - // Populated by the system. Read-only. - Nodes []*Node `json:"nodes"` - - // Labels define a list of labels that describe the pool. - Labels map[string]string `json:"labels"` -} - -// Pools is a collection of Pool objects -type Pools []*Pool diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/pool_options.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/pool_options.go deleted file mode 100644 index dd08a98c0b64..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/pool_options.go +++ /dev/null @@ -1,28 +0,0 @@ -package types - -import "context" - -// PoolOptions are available parameters for creating or updating pools. -type PoolOptions struct { - ID string `json:"id"` - Name string `json:"name"` - - // Pool description. - Description string `json:"description"` - - // Default determines whether this pool is the default if a volume is - // provisioned without a pool specified. There can only be one default pool. - Default bool `json:"default"` - - NodeSelector string `json:"nodeSelector"` - - // DeviceSelector - specifies a selector to filter node devices based on their labels. - // Only devices from nodes that are in the 'NodeNames' list can be selected - DeviceSelector string `json:"deviceSelector"` - - // Labels define a list of labels that describe the pool. - Labels map[string]string `json:"labels"` - - // Context can be set with a timeout or can be used to cancel a request. - Context context.Context `json:"-"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/rule.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/rule.go deleted file mode 100644 index fb7251dfcf33..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/rule.go +++ /dev/null @@ -1,125 +0,0 @@ -package types - -import "context" - -// Rule is used to define a rule -type Rule struct { - - // Rule unique ID. - // Read Only: true - ID string `json:"id"` - - // Rule name. - // Required: true - Name string `json:"name"` - - // Namespace is the object name and authentication scope, such as for teams and projects. - Namespace string `json:"namespace"` - - // Rule description. - Description string `json:"description"` - - // Flag describing whether the rule is active. - // Default: false - Active bool `json:"active"` - - // Weight is used to determine order during rule processing. Rules with - // heavier weights are processed later. - // default: 0 - Weight int `json:"weight"` - - // RuleAction controls whether the action is to add or remove a label from the - // matching object(s). - RuleAction string `json:"action"` - - // Selectors defines the list of labels that should trigger a rule. - Selector string `json:"selector"` - - // Labels define the list of labels that will be added or removed from the - // matching object(s). - Labels map[string]string `json:"labels"` -} - -// Rules is a collection of Rules. -type Rules []*Rule - -// RuleCreateOptions are available parameters for creating new rules. -type RuleCreateOptions struct { - - // Rule name. - // Required: true - Name string `json:"name"` - - // Namespace is the object name and authentication scope, such as for teams and projects. - Namespace string `json:"namespace"` - - // Rule description. - Description string `json:"description"` - - // Flag describing whether the rule is active. - // Default: false - Active bool `json:"active"` - - // Weight is used to determine order during rule processing. Rules with - // heavier weights are processed later. - // default: 0 - Weight int `json:"weight"` - - // RuleAction controls whether the action is to add or remove a label from the - // matching object(s). - RuleAction string `json:"action"` - - // Selectors defines the list of labels that should trigger a rule. - Selector string `json:"selector"` - - // Labels define the list of labels that will be added or removed from the - // matching object(s). - Labels map[string]string `json:"labels"` - - // Context can be set with a timeout or can be used to cancel a request. - Context context.Context `json:"-"` -} - -// RuleUpdateOptions are available parameters for creating new rules. -type RuleUpdateOptions struct { - - // Rule unique ID. - // Read Only: true - ID string `json:"id"` - - // Rule name. - // Required: true - Name string `json:"name"` - - // Namespace is the object name and authentication scope, such as for teams and projects. - Namespace string `json:"namespace"` - - // Rule description. - Description string `json:"description"` - - // Flag describing whether the rule is active. - // Default: false - Active bool `json:"active"` - - // Weight is used to determine order during rule processing. Rules with - // heavier weights are processed later. - // default: 0 - Weight int `json:"weight"` - - // Operator is used to compare objects or labels. - Operator string `json:"operator"` - - // RuleAction controls whether the action is to add or remove a label from the - // matching object(s). - RuleAction string `json:"action"` - - // Selectors defines the list of labels that should trigger a rule. - Selector string `json:"selector"` - - // Labels define the list of labels that will be added or removed from the - // matching object(s). - Labels map[string]string `json:"labels"` - - // Context can be set with a timeout or can be used to cancel a request. - Context context.Context `json:"-"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/template.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/template.go deleted file mode 100644 index 75f8cc7d5645..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/template.go +++ /dev/null @@ -1,53 +0,0 @@ -package types - -// Template is used to define an auto-naming rule. -type Template struct { - - // Template unique ID. - // Read Only: true - ID string `json:"id"` - - // Template name. - // Required: true - Name string `json:"name"` - - // Template description. - Description string `json:"description"` - - // Template format. This is used for pattern matching against labels. - Format string `json:"format"` - - // Autoincrement defines whether there is a dynamic numeric component in the - // template that must auto-increment when objects with the same name already - // exists. - AutoIncrement bool `json:"autoIncrement"` - - // Padding determines whether a dynamic numeric component in the name should - // be padded. - // default: false - Padding bool `json:"padding"` - - // PaddingLength sets the length of the padding. A Padding length of 3 would - // set name similar to `abc001` for the first item. Ignored if Padding set to - // `false`. - PaddingLength int `json:"paddingLength"` - - // Flag describing whether the template is active. - // Default: false - Active bool `json:"active"` - - // Weight is used to determine order during template processing. Templates - // with heavier weights are processed later. - // default: 0 - Weight int `json:"weight"` - - // ObjectTypes defines the type names that the template can be applied to. - ObjectTypes []string `json:"objectTypes"` - - // Labels define a list of the labels that the object must have in order for - // the template to be applied. - Labels map[string]string `json:"labels"` -} - -// Templates is a collection of Template objects -type Templates []*Template diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/template_create_options.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/template_create_options.go deleted file mode 100644 index 7b905b943898..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/template_create_options.go +++ /dev/null @@ -1,51 +0,0 @@ -package types - -import "context" - -// TemplateCreateOptions are available parameters for creating new templates. -type TemplateCreateOptions struct { - - // Template name. - // Required: true - Name string `json:"name"` - - // Template description. - Description string `json:"description"` - - // Template format. This is used for pattern matching against labels. - Format string `json:"format"` - - // Autoincrement defines whether there is a dynamic numeric component in the - // template that must auto-increment when objects with the same name already - // exists. - AutoIncrement bool `json:"autoIncrement"` - - // Padding determines whether a dynamic numeric component in the name should - // be padded. - // default: false - Padding bool `json:"padding"` - - // PaddingLength sets the length of the padding. A Padding length of 3 would - // set name similar to `abc001` for the first item. Ignored if Padding set to - // `false`. - PaddingLength int `json:"paddingLength"` - - // Flag describing whether the template is active. - // Default: false - Active bool `json:"active"` - - // Weight is used to determine order during template processing. Templates - // with heavier weights are processed later. - // default: 0 - Weight int `json:"weight"` - - // ObjectTypes defines the type names that the template can be applied to. - ObjectTypes []string `json:"objectTypes"` - - // Labels define a list of the labels that the object must have in order for - // the template to be applied. - Labels map[string]string `json:"labels"` - - // Context can be set with a timeout or can be used to cancel a request. - Context context.Context `json:"-"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/user.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/user.go deleted file mode 100644 index aa4bca8ce5bb..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/user.go +++ /dev/null @@ -1,79 +0,0 @@ -package types - -import ( - "context" - "encoding/json" - "strings" -) - -type User struct { - UUID string `json:"id"` - Username string `json:"username"` - Groups []string `json:"groups"` - Password string `json:"password,omitempty"` - Role string `json:"role"` -} - -func (u *User) MarshalJSON() ([]byte, error) { - return json.Marshal(&struct { - UUID string `json:"id"` - Username string `json:"username"` - Groups string `json:"groups"` - Password string `json:"password,omitempty"` - Role string `json:"role"` - }{ - UUID: u.UUID, - Username: u.Username, - Groups: strings.Join(u.Groups, ","), - Password: u.Password, - Role: u.Role, - }) - -} - -func (u *User) UnmarshalJSON(data []byte) error { - temp := &struct { - UUID string `json:"id"` - Username string `json:"username"` - Groups string `json:"groups"` - Password string `json:"password"` - Role string `json:"role"` - }{} - - if err := json.Unmarshal(data, temp); err != nil { - return err - } - - u.UUID = temp.UUID - u.Username = temp.Username - u.Password = temp.Password - u.Role = temp.Role - u.Groups = strings.Split(temp.Groups, ",") - - return nil -} - -type UserCreateOptions struct { - Username string `json:"username"` - Groups []string `json:"groups"` - Password string `json:"password"` - Role string `json:"role"` - - // Context can be set with a timeout or can be used to cancel a request. - Context context.Context `json:"-"` -} - -func (u UserCreateOptions) MarshalJSON() ([]byte, error) { - return json.Marshal(&struct { - Username string `json:"username"` - Groups string `json:"groups"` - Password string `json:"password"` - Role string `json:"role"` - }{ - Username: u.Username, - Groups: strings.Join(u.Groups, ","), - Password: u.Password, - Role: u.Role, - }) - -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/version.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/version.go deleted file mode 100644 index 60da8bf44c91..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/version.go +++ /dev/null @@ -1,26 +0,0 @@ -package types - -// VersionInfo describes version and runtime info. -type VersionInfo struct { - Name string `json:"name"` - BuildDate string `json:"buildDate"` - Revision string `json:"revision"` - Version string `json:"version"` - APIVersion string `json:"apiVersion"` - GoVersion string `json:"goVersion"` - OS string `json:"os"` - Arch string `json:"arch"` - KernelVersion string `json:"kernelVersion"` - Experimental bool `json:"experimental"` -} - -type VersionResponse struct { - Client *VersionInfo - Server *VersionInfo -} - -// ServerOK returns true when the client could connect to the docker server -// and parse the information received. It returns false otherwise. -func (v VersionResponse) ServerOK() bool { - return v.Server != nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/volume.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/volume.go deleted file mode 100644 index 698d7a92d724..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/volume.go +++ /dev/null @@ -1,143 +0,0 @@ -package types - -import ( - "context" - "time" -) - -// DefaultNamespace is used when a namespace hasn't been specified. -const DefaultNamespace = "default" - -// Volume represents storage volume. -// swagger:model Volume -type Volume struct { - - // Volume unique ID. - // Read Only: true - ID string `json:"id"` - - // Block device inode. - // Read Only: true - Inode uint32 `json:"inode"` - - // Volume name. - // Required: true - Name string `json:"name"` - - // Size in GB. - // Required: true - Size int `json:"size"` - - // Name of capacity pool to provision the volume in, or the name of the current pool. - Pool string `json:"pool"` - - // Filesystem type to mount. May be set on create, or set by rules to influence client. - FSType string `json:"fsType"` - - // Volume description. - Description string `json:"description"` - - // User-defined key/value metadata. - Labels map[string]string `json:"labels"` - - // Namespace is the object name and authentication scope, such as for teams and projects. - Namespace string `json:"namespace"` - - // node selector (where volumes should land) - NodeSelector string `json:"nodeSelector"` - - // Volume deployment information for the master volume. - // Read Only: true - Master *Deployment `json:"master,omitempty"` - - // Flag indicating if the volume is mounted and in use. - // Read Only: true - Mounted bool `json:"mounted"` - - // MountDevice, where the device is located - MountDevice string `json:"mountDevice"` - - // Mountpoint, where the volume is mounted - Mountpoint string `json:"mountpoint"` - - // When the volume was mounted. - // Read Only: true - MountedAt time.Time `json:"mountedAt,omitempty"` - - // Reference to the node that has the volume mounted. - // Read Only: true - MountedBy string `json:"mountedBy,omitempty"` - - // Volume deployment information for the replica volumes. - // Read Only: true - Replicas []*Deployment `json:"replicas"` - - // Volume health, one of: healthy, degraded or dead. - // Read Only: true - Health string `json:"health"` - - // Short status, one of: pending, evaluating, deploying, active, unavailable, failed, updating, deleting. - // Read Only: true - Status string `json:"status"` - - // Status message explaining current status. - // Read Only: true - StatusMessage string `json:"statusMessage"` - - // mkfs performed on new volumes - MkfsDone bool `json:"mkfsDone"` - MkfsDoneAt time.Time `json:"mkfsDoneAt"` - - // When the volume was created. - // Read Only: true - CreatedAt time.Time `json:"createdAt"` - - // User that created the volume. - // Read Only: true - CreatedBy string `json:"createdBy"` -} - -// VolumeMountOptions - used by clients to inform of volume mount operations. -type VolumeMountOptions struct { - - // Volume unique ID. - ID string `json:"id"` - - // Name is the name of the volume to mount. - Name string `json:"name"` - - // Mountpoint, where the volume is mounted - Mountpoint string `json:"mountpoint"` - - // Filesystem type, optional but expected when mounting raw volume - FsType string `json:"fsType"` - - // Namespace is the object scope, such as for teams and projects. - Namespace string `json:"namespace"` - - // The hostname of the client mounting the volume. - Client string `json:"client"` - - // Context can be set with a timeout or can be used to cancel a request. - Context context.Context `json:"-"` -} - -// VolumeUnmountOptions - used by clients to inform of volume mount operations. -type VolumeUnmountOptions struct { - - // Volume unique ID. - ID string `json:"id"` - - // Name is the name of the volume to unmount. - Name string `json:"name"` - - // Namespace is the object scope, such as for teams and projects. - Namespace string `json:"namespace"` - - // The hostname of the client unmounting the volume. Must match the hostname - // of the client that registered the mount operation. - Client string `json:"client"` - - // Context can be set with a timeout or can be used to cancel a request. - Context context.Context `json:"-"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/volume_create_options.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/volume_create_options.go deleted file mode 100644 index d7096e1e89a8..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/volume_create_options.go +++ /dev/null @@ -1,36 +0,0 @@ -package types - -import "context" - -// VolumeCreateOptions are available parameters for creating new volumes. -type VolumeCreateOptions struct { - - // Name is the name of the volume to create. - // Required: true - Name string `json:"name"` - - // Description describes the volume. - Description string `json:"description"` - - // Size in GB. - // Required: true - Size int `json:"size"` - - // Pool is the name or id of capacity pool to provision the volume in. - Pool string `json:"pool"` - - // Filesystem type to mount. May be set on create, or set by rules to influence client. - FSType string `json:"fsType"` - - // Namespace is the object scope, such as for teams and projects. - Namespace string `json:"namespace"` - - // node selector (where volumes should land) - NodeSelector string `json:"nodeSelector"` - - // Labels are user-defined key/value metadata. - Labels map[string]string `json:"labels"` - - // Context can be set with a timeout or can be used to cancel a request. - Context context.Context `json:"-"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/volume_stats.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/volume_stats.go deleted file mode 100644 index cda4de047f14..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/volume_stats.go +++ /dev/null @@ -1,8 +0,0 @@ -package types - -// VolumeStats - volume stats (volume counts, looking forward to capacity) -type VolumeStats struct { - MasterVolumeCount int `json:"masterVolumeCount"` - ReplicaVolumeCount int `json:"replicaVolumeCount"` - VirtualVolumeCount int `json:"virtualVolumeCount"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/volume_update_options.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/types/volume_update_options.go deleted file mode 100644 index 3c73c6b904e5..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/types/volume_update_options.go +++ /dev/null @@ -1,34 +0,0 @@ -package types - -import "context" - -// VolumeUpdateOptions are available parameters for updating existing volumes. -type VolumeUpdateOptions struct { - - // Volume unique ID. - // Read Only: true - ID string `json:"id"` - - // Volume name. - // Read Only: true - Name string `json:"name"` - - // Description describes the volume. - Description string `json:"description"` - - // Size in GB. - // Required: true - Size int `json:"size"` - - // Namespace is the object scope, such as for teams and projects. - Namespace string `json:"namespace"` - - // node selector (where volumes should land) - NodeSelector string `json:"nodeSelector"` - - // Labels are user-defined key/value metadata. - Labels map[string]string `json:"labels"` - - // Context can be set with a timeout or can be used to cancel a request. - Context context.Context `json:"-"` -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/user.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/user.go deleted file mode 100644 index bfea90105d2a..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/user.go +++ /dev/null @@ -1,118 +0,0 @@ -package storageos - -import ( - "context" - "encoding/json" - "errors" - "fmt" - "net/http" - "net/url" - - "github.com/storageos/go-api/types" -) - -var ( - // UserAPIPrefix is a partial path to the HTTP endpoint. - UserAPIPrefix = "users" - - // ErrNoSuchUser is the error returned when the user does not exist. - ErrNoSuchUser = errors.New("no such user") -) - -// UserList returns the list of available users. -func (c *Client) UserList(opts types.ListOptions) ([]*types.User, error) { - listOpts := doOptions{ - fieldSelector: opts.FieldSelector, - labelSelector: opts.LabelSelector, - namespace: opts.Namespace, - context: opts.Context, - } - - if opts.LabelSelector != "" { - query := url.Values{} - query.Add("labelSelector", opts.LabelSelector) - listOpts.values = query - } - - resp, err := c.do("GET", UserAPIPrefix, listOpts) - if err != nil { - return nil, err - } - defer resp.Body.Close() - - users := make([]*types.User, 0) - if err := json.NewDecoder(resp.Body).Decode(&users); err != nil { - return nil, err - } - return users, nil -} - -// User returns a user by its username/id. -func (c *Client) User(username string) (*types.User, error) { - path := fmt.Sprintf("%s/%s", UserAPIPrefix, username) - resp, err := c.do("GET", path, doOptions{}) - if err != nil { - if e, ok := err.(*Error); ok && e.Status == http.StatusNotFound { - return nil, ErrNoSuchUser - } - return nil, err - } - defer resp.Body.Close() - - var user *types.User - if err := json.NewDecoder(resp.Body).Decode(&user); err != nil { - return nil, err - } - return user, nil -} - -// UserCreate creates a user on the server. -func (c *Client) UserCreate(opts types.UserCreateOptions) error { - _, err := c.do("POST", UserAPIPrefix, doOptions{ - data: opts, - context: opts.Context, - }) - return err -} - -// UserUpdate updates a user on the server. -func (c *Client) UserUpdate(ctx context.Context, user *types.User) error { - var ref string - switch { - case user.UUID != "": - ref = user.UUID - case user.Username != "": - ref = user.Username - default: - return ErrNoSuchUser - } - - path := fmt.Sprintf("%s/%s", UserAPIPrefix, ref) - resp, err := c.do("POST", path, doOptions{ - data: user, - context: ctx, - }) - if err != nil { - if e, ok := err.(*Error); ok && e.Status == http.StatusNotFound { - return ErrNoSuchUser - } - return err - } - defer resp.Body.Close() - return nil -} - -// UserDelete removes a user by its reference. -func (c *Client) UserDelete(opts types.DeleteOptions) error { - resp, err := c.do("DELETE", UserAPIPrefix+"/"+opts.Name, doOptions{}) - if err != nil { - if e, ok := err.(*Error); ok { - if e.Status == http.StatusNotFound { - return ErrNoSuchUser - } - } - return err - } - defer resp.Body.Close() - return nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/util.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/util.go deleted file mode 100644 index 21674042d07a..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/util.go +++ /dev/null @@ -1,16 +0,0 @@ -package storageos - -import ( - "fmt" - "strings" -) - -// ParseRef is a helper to split out the namespace and name from a path -// reference. -func ParseRef(ref string) (namespace string, name string, err error) { - parts := strings.Split(ref, "/") - if len(parts) != 2 { - return "", "", fmt.Errorf("Name must be prefixed with /") - } - return parts[0], parts[1], nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/validation.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/validation.go deleted file mode 100644 index f58063044aec..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/validation.go +++ /dev/null @@ -1,76 +0,0 @@ -package storageos - -import ( - "errors" - "regexp" -) - -const ( - // IDFormat are the characters allowed to represent an ID. - IDFormat = `[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}` - - // NameFormat are the characters allowed to represent a name. - NameFormat = `[a-zA-Z0-9][a-zA-Z0-9~_.-]+` -) - -var ( - // IDPattern is a regular expression to validate a unique id against the - // collection of restricted characters. - IDPattern = regexp.MustCompile(`^` + IDFormat + `$`) - - // NamePattern is a regular expression to validate names against the - // collection of restricted characters. - NamePattern = regexp.MustCompile(`^` + NameFormat + `$`) - - // ErrNoRef is given when the reference given is invalid. - ErrNoRef = errors.New("no ref provided or incorrect format") - // ErrNoNamespace is given when the namespace given is invalid. - ErrNoNamespace = errors.New("no namespace provided or incorrect format") -) - -// ValidateNamespaceAndRef returns true if both the namespace and ref are valid. -func ValidateNamespaceAndRef(namespace, ref string) error { - if !IsUUID(ref) && !IsName(ref) { - return ErrNoRef - } - if !IsName(namespace) { - return ErrNoNamespace - } - return nil -} - -// ValidateNamespace returns true if the namespace uses a valid name. -func ValidateNamespace(namespace string) error { - if !IsName(namespace) { - return ErrNoNamespace - } - return nil -} - -// IsUUID returns true if the string input is a valid UUID string. -func IsUUID(s string) bool { - return IDPattern.MatchString(s) -} - -// IsName returns true if the string input is a valid Name string. -func IsName(s string) bool { - return NamePattern.MatchString(s) -} - -// namespacedPath checks for valid input and returns api path for a namespaced -// objectType. Use namespacedRefPath for objects. -func namespacedPath(namespace, objectType string) (string, error) { - if err := ValidateNamespace(namespace); err != nil { - return "", err - } - return "/namespaces/" + namespace + "/" + objectType, nil -} - -// namespacedRefPath checks for valid input and returns api path for a single -// namespaced object. Use namespacedPath for objects type path. -func namespacedRefPath(namespace, objectType, ref string) (string, error) { - if err := ValidateNamespaceAndRef(namespace, ref); err != nil { - return "", err - } - return "/namespaces/" + namespace + "/" + objectType + "/" + ref, nil -} diff --git a/cluster-autoscaler/vendor/github.com/storageos/go-api/volume.go b/cluster-autoscaler/vendor/github.com/storageos/go-api/volume.go deleted file mode 100644 index d2d7092059e6..000000000000 --- a/cluster-autoscaler/vendor/github.com/storageos/go-api/volume.go +++ /dev/null @@ -1,197 +0,0 @@ -package storageos - -import ( - "encoding/json" - "errors" - "net/http" - "net/url" - - "github.com/storageos/go-api/types" -) - -var ( - - // VolumeAPIPrefix is a partial path to the HTTP endpoint. - VolumeAPIPrefix = "volumes" - - // ErrNoSuchVolume is the error returned when the volume does not exist. - ErrNoSuchVolume = errors.New("no such volume") - - // ErrVolumeInUse is the error returned when the volume requested to be removed is still in use. - ErrVolumeInUse = errors.New("volume in use and cannot be removed") -) - -// VolumeList returns the list of available volumes. -func (c *Client) VolumeList(opts types.ListOptions) ([]*types.Volume, error) { - listOpts := doOptions{ - fieldSelector: opts.FieldSelector, - labelSelector: opts.LabelSelector, - namespace: opts.Namespace, - context: opts.Context, - } - - if opts.LabelSelector != "" { - query := url.Values{} - query.Add("labelSelector", opts.LabelSelector) - listOpts.values = query - } - - resp, err := c.do("GET", VolumeAPIPrefix, listOpts) - if err != nil { - return nil, err - } - defer resp.Body.Close() - var volumes []*types.Volume - if err := json.NewDecoder(resp.Body).Decode(&volumes); err != nil { - return nil, err - } - return volumes, nil -} - -// Volume returns a volume by its reference. -func (c *Client) Volume(namespace string, ref string) (*types.Volume, error) { - path, err := namespacedRefPath(namespace, VolumeAPIPrefix, ref) - if err != nil { - return nil, err - } - resp, err := c.do("GET", path, doOptions{}) - if err != nil { - if e, ok := err.(*Error); ok && e.Status == http.StatusNotFound { - return nil, ErrNoSuchVolume - } - return nil, err - } - defer resp.Body.Close() - var volume types.Volume - if err := json.NewDecoder(resp.Body).Decode(&volume); err != nil { - return nil, err - } - return &volume, nil -} - -// VolumeCreate creates a volume on the server and returns the new object. -func (c *Client) VolumeCreate(opts types.VolumeCreateOptions) (*types.Volume, error) { - path, err := namespacedPath(opts.Namespace, VolumeAPIPrefix) - if err != nil { - return nil, err - } - resp, err := c.do("POST", path, doOptions{ - data: opts, - context: opts.Context, - }) - if err != nil { - return nil, err - } - defer resp.Body.Close() - var volume types.Volume - if err := json.NewDecoder(resp.Body).Decode(&volume); err != nil { - return nil, err - } - return &volume, nil -} - -// VolumeUpdate updates a volume on the server. -func (c *Client) VolumeUpdate(opts types.VolumeUpdateOptions) (*types.Volume, error) { - ref := opts.Name - if IsUUID(opts.ID) { - ref = opts.ID - } - path, err := namespacedRefPath(opts.Namespace, VolumeAPIPrefix, ref) - if err != nil { - return nil, err - } - resp, err := c.do("PUT", path, doOptions{ - data: opts, - context: opts.Context, - }) - if err != nil { - return nil, err - } - defer resp.Body.Close() - var volume types.Volume - if err := json.NewDecoder(resp.Body).Decode(&volume); err != nil { - return nil, err - } - return &volume, nil -} - -// VolumeDelete removes a volume by its reference. -func (c *Client) VolumeDelete(opts types.DeleteOptions) error { - deleteOpts := doOptions{ - namespace: opts.Namespace, - force: opts.Force, - context: opts.Context, - } - resp, err := c.do("DELETE", VolumeAPIPrefix+"/"+opts.Name, deleteOpts) - if err != nil { - if e, ok := err.(*Error); ok { - if e.Status == http.StatusNotFound { - return ErrNoSuchVolume - } - if e.Status == http.StatusConflict { - return ErrVolumeInUse - } - } - return err - } - defer resp.Body.Close() - return nil -} - -// VolumeMount updates the volume with the client that mounted it. -func (c *Client) VolumeMount(opts types.VolumeMountOptions) error { - ref := opts.Name - if IsUUID(opts.ID) { - ref = opts.ID - } - path, err := namespacedRefPath(opts.Namespace, VolumeAPIPrefix, ref) - if err != nil { - return err - } - resp, err := c.do("POST", path+"/mount", doOptions{ - data: opts, - context: opts.Context, - }) - if err != nil { - if e, ok := err.(*Error); ok { - if e.Status == http.StatusNotFound { - return ErrNoSuchVolume - } - if e.Status == http.StatusConflict { - return ErrVolumeInUse - } - } - return err - } - defer resp.Body.Close() - return nil -} - -// VolumeUnmount removes the client from the mount reference. -func (c *Client) VolumeUnmount(opts types.VolumeUnmountOptions) error { - ref := opts.Name - if IsUUID(opts.ID) { - ref = opts.ID - } - path, err := namespacedRefPath(opts.Namespace, VolumeAPIPrefix, ref) - if err != nil { - return err - } - resp, err := c.do("POST", path+"/unmount", doOptions{ - data: opts, - context: opts.Context, - }) - if err != nil { - if e, ok := err.(*Error); ok { - if e.Status == http.StatusNotFound { - return ErrNoSuchVolume - } - if e.Status == http.StatusConflict { - return ErrVolumeInUse - } - } - return err - } - defer resp.Body.Close() - return nil -} diff --git a/cluster-autoscaler/vendor/github.com/stretchr/objx/go.mod b/cluster-autoscaler/vendor/github.com/stretchr/objx/go.mod deleted file mode 100644 index 31ec5a7d9484..000000000000 --- a/cluster-autoscaler/vendor/github.com/stretchr/objx/go.mod +++ /dev/null @@ -1,8 +0,0 @@ -module github.com/stretchr/objx - -go 1.12 - -require ( - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/stretchr/testify v1.3.0 -) diff --git a/cluster-autoscaler/vendor/github.com/stretchr/objx/go.sum b/cluster-autoscaler/vendor/github.com/stretchr/objx/go.sum deleted file mode 100644 index 4f89841505b8..000000000000 --- a/cluster-autoscaler/vendor/github.com/stretchr/objx/go.sum +++ /dev/null @@ -1,8 +0,0 @@ -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= diff --git a/cluster-autoscaler/vendor/github.com/vishvananda/netlink/go.mod b/cluster-autoscaler/vendor/github.com/vishvananda/netlink/go.mod deleted file mode 100644 index 09ee60e7784d..000000000000 --- a/cluster-autoscaler/vendor/github.com/vishvananda/netlink/go.mod +++ /dev/null @@ -1,8 +0,0 @@ -module github.com/vishvananda/netlink - -go 1.12 - -require ( - github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df - golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444 -) diff --git a/cluster-autoscaler/vendor/github.com/vishvananda/netlink/go.sum b/cluster-autoscaler/vendor/github.com/vishvananda/netlink/go.sum deleted file mode 100644 index 402d14ec5528..000000000000 --- a/cluster-autoscaler/vendor/github.com/vishvananda/netlink/go.sum +++ /dev/null @@ -1,4 +0,0 @@ -github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df h1:OviZH7qLw/7ZovXvuNyL3XQl8UFofeikI1NW1Gypu7k= -github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU= -golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444 h1:/d2cWp6PSamH4jDPFLyO150psQdqvtoNX8Zjg3AQ31g= -golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/cluster-autoscaler/vendor/github.com/vishvananda/netns/go.mod b/cluster-autoscaler/vendor/github.com/vishvananda/netns/go.mod deleted file mode 100644 index 9cdf577ad448..000000000000 --- a/cluster-autoscaler/vendor/github.com/vishvananda/netns/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/vishvananda/netns - -go 1.12 - -require golang.org/x/sys v0.0.0-20200217220822-9197077df867 diff --git a/cluster-autoscaler/vendor/github.com/vishvananda/netns/go.sum b/cluster-autoscaler/vendor/github.com/vishvananda/netns/go.sum deleted file mode 100644 index 1d4adf4519fc..000000000000 --- a/cluster-autoscaler/vendor/github.com/vishvananda/netns/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -golang.org/x/sys v0.0.0-20200217220822-9197077df867 h1:JoRuNIf+rpHl+VhScRQQvzbHed86tKkqwPMV34T8myw= -golang.org/x/sys v0.0.0-20200217220822-9197077df867/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/cluster-autoscaler/vendor/go.etcd.io/etcd/client/v3/go.mod b/cluster-autoscaler/vendor/go.etcd.io/etcd/client/v3/go.mod deleted file mode 100644 index 7c50734e6ae2..000000000000 --- a/cluster-autoscaler/vendor/go.etcd.io/etcd/client/v3/go.mod +++ /dev/null @@ -1,28 +0,0 @@ -module go.etcd.io/etcd/client/v3 - -go 1.16 - -require ( - github.com/dustin/go-humanize v1.0.0 - github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 - github.com/prometheus/client_golang v1.11.1 - go.etcd.io/etcd/api/v3 v3.5.4 - go.etcd.io/etcd/client/pkg/v3 v3.5.4 - go.uber.org/zap v1.17.0 - google.golang.org/grpc v1.38.0 - sigs.k8s.io/yaml v1.2.0 -) - -replace ( - go.etcd.io/etcd/api/v3 => ../../api - go.etcd.io/etcd/client/pkg/v3 => ../pkg -) - -// Bad imports are sometimes causing attempts to pull that code. -// This makes the error more explicit. -replace ( - go.etcd.io/etcd => ./FORBIDDEN_DEPENDENCY - go.etcd.io/etcd/pkg/v3 => ./FORBIDDEN_DEPENDENCY - go.etcd.io/etcd/v3 => ./FORBIDDEN_DEPENDENCY - go.etcd.io/tests/v3 => ./FORBIDDEN_DEPENDENCY -) diff --git a/cluster-autoscaler/vendor/go.etcd.io/etcd/client/v3/go.sum b/cluster-autoscaler/vendor/go.etcd.io/etcd/client/v3/go.sum deleted file mode 100644 index a3acfed4cc41..000000000000 --- a/cluster-autoscaler/vendor/go.etcd.io/etcd/client/v3/go.sum +++ /dev/null @@ -1,270 +0,0 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= -github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/coreos/go-semver v0.3.0 h1:wkHLiw0WNATZnSG7epLsujiMCgPAc9xhjJ4tgnAxmfM= -github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd/v22 v22.3.2 h1:D9/bQk5vlXQFZ6Kwuu6zaiXJ9oTPe68++AzAJc1DzSI= -github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= -github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= -github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= -github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= -github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= -github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.11.1 h1:+4eQaD7vAZ6DsfsxB15hbE0odUjGI5ARs9yskGu1v4s= -github.com/prometheus/client_golang v1.11.1/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= -github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.26.0 h1:iMAkS2TDoNWnKM+Kopnx/8tnEStIfpYA0ur0xQzzhMQ= -github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.6.0 h1:mxy4L2jP6qMonqmq+aTtOx1ifVWUgG/TAmntgbh3xv4= -github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= -go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= -go.uber.org/zap v1.17.0 h1:MTjgFu6ZLKvY6Pvaqk97GlxNBuMpV4Hy/3P6tRGlI2U= -go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= -golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 h1:4nGaVu0QrbjT/AK2PRLuQfQuh6DJve+pELhqTdAj3x0= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40 h1:JWgyZ1qgdTaF3N3oxC+MdTV7qvEEgHo3otj+HB5CM7Q= -golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.5 h1:i6eZZ+zk0SOf0xgBpEpPD18qWcJda6q1sxt3S0kzyUQ= -golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c h1:wtujag7C+4D6KMoulW9YauvK2lgdvCMS260jsqqBXr0= -google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= -google.golang.org/grpc v1.38.0 h1:/9BgsAsa5nWe26HqOlvlgJnqBuktYOLCgjCPqsa56W0= -google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0 h1:bxAC2xTBsZGibn2RTntX0oH50xLsqy1OxA9tTL3p/lk= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q= -sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= diff --git a/cluster-autoscaler/vendor/go.opencensus.io/go.mod b/cluster-autoscaler/vendor/go.opencensus.io/go.mod deleted file mode 100644 index 95b2522a7faa..000000000000 --- a/cluster-autoscaler/vendor/go.opencensus.io/go.mod +++ /dev/null @@ -1,12 +0,0 @@ -module go.opencensus.io - -require ( - github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e - github.com/golang/protobuf v1.4.3 - github.com/google/go-cmp v0.5.3 - github.com/stretchr/testify v1.6.1 - golang.org/x/net v0.0.0-20201110031124-69a78807bb2b - google.golang.org/grpc v1.33.2 -) - -go 1.13 diff --git a/cluster-autoscaler/vendor/go.opencensus.io/go.sum b/cluster-autoscaler/vendor/go.opencensus.io/go.sum deleted file mode 100644 index c97cd1b551e7..000000000000 --- a/cluster-autoscaler/vendor/go.opencensus.io/go.sum +++ /dev/null @@ -1,116 +0,0 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.3 h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0 h1:crn/baboCvb5fXaQ0IJ1SGTsTVrWpDsCWC8EGETZijY= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.3 h1:x95R7cp+rSeeqAMI2knLtQ0DKlaBhv2NrtrOvafPHRo= -github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3 h1:XQyxROzUlZH+WIQwySDgnISgOivlhjIEwaQaJEJrrN0= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a h1:oWX7TPOiFAMXLq8o0ikBYfCJVlRHBcsciT5bXOrH628= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b h1:uwuIcX0g4Yl1NC5XAz37xsr2lTtcqevgzYNVt49waME= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f h1:wMNYb4v58l5UBM7MYRLPG6ZhfOqbKu7X5eyFl8ZhKvA= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f h1:Bl/8QSvNqXvPGPGXa2z5xUTmV7VDcZyvRZ+QQXkXTZQ= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f h1:+Nyd8tzPX9R7BWHguqsrbFdRx3WQ/1ib8I44HXV5yTA= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd h1:/e+gpKk9r3dJobndpTytxS2gOy6m5uvpg+ISQoEcusQ= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8 h1:Nw54tB0rB7hY/N0NQvRW8DG4Yk3Q6T9cu9RcFQDu1tc= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 h1:+kGHl1aib/qcwaRi1CbqBZ1rk19r85MNUf8HaBghugY= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/grpc v1.19.0 h1:cfg4PD8YEdSFnm7qLV4++93WcmhH2nIUhMjhdCvl3j8= -google.golang.org/grpc v1.19.0 h1:cfg4PD8YEdSFnm7qLV4++93WcmhH2nIUhMjhdCvl3j8= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.33.2 h1:EQyQC3sa8M+p6Ulc8yy9SWSS2GVwyRc83gAbG8lrl4o= -google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0 h1:4MY060fB1DLGMB/7MBTLnwQUY6+F09GEiz6SsrNqyzM= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/go.mod b/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/go.mod deleted file mode 100644 index 3a96b217dec0..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module go.opentelemetry.io/contrib - -go 1.14 diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/go.sum b/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/go.sum deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/LICENSE b/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/LICENSE similarity index 94% rename from cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/LICENSE rename to cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/LICENSE index 9b72e90b75d5..261eeb9e9f8b 100644 --- a/cluster-autoscaler/vendor/github.com/clusterhq/flocker-go/LICENSE +++ b/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/LICENSE @@ -1,4 +1,4 @@ - Apache License + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -175,7 +175,18 @@ END OF TERMS AND CONDITIONS - Copyright 2014-2016 ClusterHQ + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/config.go b/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/config.go new file mode 100644 index 000000000000..aca36150dabb --- /dev/null +++ b/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/config.go @@ -0,0 +1,46 @@ +// Copyright The OpenTelemetry Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package otelrestful + +import ( + "go.opentelemetry.io/otel/propagation" + oteltrace "go.opentelemetry.io/otel/trace" +) + +// config is used to configure the go-restful middleware. +type config struct { + TracerProvider oteltrace.TracerProvider + Propagators propagation.TextMapPropagator +} + +// Option specifies instrumentation configuration options. +type Option func(*config) + +// WithPropagators specifies propagators to use for extracting +// information from the HTTP requests. If none are specified, global +// ones will be used. +func WithPropagators(propagators propagation.TextMapPropagator) Option { + return func(cfg *config) { + cfg.Propagators = propagators + } +} + +// WithTracerProvider specifies a tracer provider to use for creating a tracer. +// If none is specified, the global provider is used. +func WithTracerProvider(provider oteltrace.TracerProvider) Option { + return func(cfg *config) { + cfg.TracerProvider = provider + } +} diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/doc.go b/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/doc.go new file mode 100644 index 000000000000..5801fcc1a0f4 --- /dev/null +++ b/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/doc.go @@ -0,0 +1,25 @@ +// Copyright The OpenTelemetry Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Package otelrestful instruments github.com/emicklei/go-restful. +// +// Instrumentation is provided to trace the emicklei/go-restful/v3 +// package (https://github.com/emicklei/go-restful). +// +// Instrumentation of an incoming request is achieved via a go-restful +// FilterFunc called `OTelFilterFunc` which may be applied at any one of +// * the container level +// * webservice level +// * route level +package otelrestful // import "go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful" diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/restful.go b/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/restful.go new file mode 100644 index 000000000000..9830d2043ff6 --- /dev/null +++ b/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/restful.go @@ -0,0 +1,74 @@ +// Copyright The OpenTelemetry Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package otelrestful + +import ( + "github.com/emicklei/go-restful/v3" + + "go.opentelemetry.io/contrib" + "go.opentelemetry.io/otel" + "go.opentelemetry.io/otel/propagation" + "go.opentelemetry.io/otel/semconv" + oteltrace "go.opentelemetry.io/otel/trace" +) + +const tracerName = "go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful" + +// OTelFilter returns a restful.FilterFunction which will trace an incoming request. +// +// The service parameter should describe the name of the (virtual) server handling +// the request. Options can be applied to configure the tracer and propagators +// used for this filter. +func OTelFilter(service string, opts ...Option) restful.FilterFunction { + cfg := config{} + for _, opt := range opts { + opt(&cfg) + } + if cfg.TracerProvider == nil { + cfg.TracerProvider = otel.GetTracerProvider() + } + tracer := cfg.TracerProvider.Tracer( + tracerName, + oteltrace.WithInstrumentationVersion(contrib.SemVersion()), + ) + if cfg.Propagators == nil { + cfg.Propagators = otel.GetTextMapPropagator() + } + return func(req *restful.Request, resp *restful.Response, chain *restful.FilterChain) { + r := req.Request + ctx := cfg.Propagators.Extract(r.Context(), propagation.HeaderCarrier(r.Header)) + route := req.SelectedRoutePath() + spanName := route + + opts := []oteltrace.SpanOption{ + oteltrace.WithAttributes(semconv.NetAttributesFromHTTPRequest("tcp", r)...), + oteltrace.WithAttributes(semconv.EndUserAttributesFromHTTPRequest(r)...), + oteltrace.WithAttributes(semconv.HTTPServerAttributesFromHTTPRequest(service, route, r)...), + oteltrace.WithSpanKind(oteltrace.SpanKindServer), + } + ctx, span := tracer.Start(ctx, spanName, opts...) + defer span.End() + + // pass the span through the request context + req.Request = req.Request.WithContext(ctx) + + chain.ProcessFilter(req, resp) + + attrs := semconv.HTTPAttributesFromHTTPStatusCode(resp.StatusCode()) + spanStatus, spanMessage := semconv.SpanStatusFromHTTPStatusCode(resp.StatusCode()) + span.SetAttributes(attrs...) + span.SetStatus(spanStatus, spanMessage) + } +} diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/go.mod b/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/go.mod deleted file mode 100644 index 368ca8dea0a1..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/go.mod +++ /dev/null @@ -1,16 +0,0 @@ -module go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc - -go 1.14 - -replace go.opentelemetry.io/contrib => ../../../../ - -require ( - github.com/golang/protobuf v1.5.2 - github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/contrib v0.20.0 - go.opentelemetry.io/otel v0.20.0 - go.opentelemetry.io/otel/oteltest v0.20.0 - go.opentelemetry.io/otel/trace v0.20.0 - go.uber.org/goleak v1.1.10 - google.golang.org/grpc v1.37.0 -) diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/go.sum b/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/go.sum deleted file mode 100644 index 5bc12d8ab63b..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/go.sum +++ /dev/null @@ -1,122 +0,0 @@ -cloud.google.com/go v0.26.0 h1:e0WKqKTd5BnrG8aKH3J3h+QvEIQtSUcf2n5UZ5ZgLtQ= -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -go.opentelemetry.io/otel v0.20.0 h1:eaP0Fqu7SXHwvjiqDq83zImeehOHX8doTvU9AwXON8g= -go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= -go.opentelemetry.io/otel/metric v0.20.0 h1:4kzhXFP+btKm4jwxpjIqjs41A7MakRFUS86bqLHTIw8= -go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= -go.opentelemetry.io/otel/oteltest v0.20.0 h1:HiITxCawalo5vQzdHfKeZurV8x7ljcqAgiWzF6Vaeaw= -go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= -go.opentelemetry.io/otel/trace v0.20.0 h1:1DL6EXUdcg95gukhuRRvLDO/4X5THh/5dIV52lqtnbw= -go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= -go.uber.org/goleak v1.1.10 h1:z+mqJhf6ss6BSfSM671tgKyZBFPTTJM+HLxnhPC3wu0= -go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859 h1:R/3boaszxrf1GEUWTVDzSKVwLmSJpwZ1yqXm8j0v2QI= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be h1:vEDujvNQGv4jgYKudGeI/+DAX4Jffq6hpD55MmoEvKs= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20191108193012-7d206e10da11 h1:Yq9t9jnGoR+dBuitxdo9l6Q7xh/zOyNnYUtDKaQ3x0E= -golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 h1:+kGHl1aib/qcwaRi1CbqBZ1rk19r85MNUf8HaBghugY= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.37.0 h1:uSZWeQJX5j11bIQ4AJoj+McDBo29cY1MCoC1wO3ts+c= -google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0 h1:bxAC2xTBsZGibn2RTntX0oH50xLsqy1OxA9tTL3p/lk= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/go.mod b/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/go.mod deleted file mode 100644 index fdeefbeac2bc..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/go.mod +++ /dev/null @@ -1,15 +0,0 @@ -module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp - -go 1.14 - -replace go.opentelemetry.io/contrib => ../../../.. - -require ( - github.com/felixge/httpsnoop v1.0.1 - github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/contrib v0.20.0 - go.opentelemetry.io/otel v0.20.0 - go.opentelemetry.io/otel/metric v0.20.0 - go.opentelemetry.io/otel/oteltest v0.20.0 - go.opentelemetry.io/otel/trace v0.20.0 -) diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/go.sum b/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/go.sum deleted file mode 100644 index 88a41f1c9025..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/go.sum +++ /dev/null @@ -1,25 +0,0 @@ -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/felixge/httpsnoop v1.0.1 h1:lvB5Jl89CsZtGIWuTcDM1E/vkVs49/Ml7JJe07l8SPQ= -github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -go.opentelemetry.io/otel v0.20.0 h1:eaP0Fqu7SXHwvjiqDq83zImeehOHX8doTvU9AwXON8g= -go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= -go.opentelemetry.io/otel/metric v0.20.0 h1:4kzhXFP+btKm4jwxpjIqjs41A7MakRFUS86bqLHTIw8= -go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= -go.opentelemetry.io/otel/oteltest v0.20.0 h1:HiITxCawalo5vQzdHfKeZurV8x7ljcqAgiWzF6Vaeaw= -go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= -go.opentelemetry.io/otel/trace v0.20.0 h1:1DL6EXUdcg95gukhuRRvLDO/4X5THh/5dIV52lqtnbw= -go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/exporters/otlp/go.mod b/cluster-autoscaler/vendor/go.opentelemetry.io/otel/exporters/otlp/go.mod deleted file mode 100644 index fe4fdba85356..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/exporters/otlp/go.mod +++ /dev/null @@ -1,62 +0,0 @@ -module go.opentelemetry.io/otel/exporters/otlp - -go 1.14 - -replace ( - go.opentelemetry.io/otel => ../.. - go.opentelemetry.io/otel/sdk => ../../sdk -) - -require ( - github.com/google/go-cmp v0.5.5 - github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel v0.20.0 - go.opentelemetry.io/otel/metric v0.20.0 - go.opentelemetry.io/otel/sdk v0.20.0 - go.opentelemetry.io/otel/sdk/export/metric v0.20.0 - go.opentelemetry.io/otel/sdk/metric v0.20.0 - go.opentelemetry.io/otel/trace v0.20.0 - go.opentelemetry.io/proto/otlp v0.7.0 - google.golang.org/grpc v1.37.0 - google.golang.org/protobuf v1.26.0 -) - -replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus - -replace go.opentelemetry.io/otel/bridge/opentracing => ../../bridge/opentracing - -replace go.opentelemetry.io/otel/example/jaeger => ../../example/jaeger - -replace go.opentelemetry.io/otel/example/namedtracer => ../../example/namedtracer - -replace go.opentelemetry.io/otel/example/opencensus => ../../example/opencensus - -replace go.opentelemetry.io/otel/example/otel-collector => ../../example/otel-collector - -replace go.opentelemetry.io/otel/example/prom-collector => ../../example/prom-collector - -replace go.opentelemetry.io/otel/example/prometheus => ../../example/prometheus - -replace go.opentelemetry.io/otel/example/zipkin => ../../example/zipkin - -replace go.opentelemetry.io/otel/exporters/metric/prometheus => ../metric/prometheus - -replace go.opentelemetry.io/otel/exporters/otlp => ./ - -replace go.opentelemetry.io/otel/exporters/stdout => ../stdout - -replace go.opentelemetry.io/otel/exporters/trace/jaeger => ../trace/jaeger - -replace go.opentelemetry.io/otel/exporters/trace/zipkin => ../trace/zipkin - -replace go.opentelemetry.io/otel/internal/tools => ../../internal/tools - -replace go.opentelemetry.io/otel/metric => ../../metric - -replace go.opentelemetry.io/otel/oteltest => ../../oteltest - -replace go.opentelemetry.io/otel/sdk/export/metric => ../../sdk/export/metric - -replace go.opentelemetry.io/otel/sdk/metric => ../../sdk/metric - -replace go.opentelemetry.io/otel/trace => ../../trace diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/exporters/otlp/go.sum b/cluster-autoscaler/vendor/go.opentelemetry.io/otel/exporters/otlp/go.sum deleted file mode 100644 index 65606007acef..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/exporters/otlp/go.sum +++ /dev/null @@ -1,123 +0,0 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/benbjohnson/clock v1.0.3 h1:vkLuvpK4fmtSCuo60+yC63p7y0BmQ8gm5ZXGuBCJyXg= -github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0 h1:LUVKkCeviFUMKqHa4tXIIij/lbhnMbP7Fn5wKdKkRh4= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -go.opentelemetry.io/proto/otlp v0.7.0 h1:rwOQPCuKAKmwGKq2aVNnYIibI6wnV7EvzgfTCzcdGg8= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20200822124328-c89045814202 h1:VvcQYSHwXgi7W+TpUR6A9g6Up98WAHf3f/ulnJ62IyA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd h1:xhmwyvizuTgC2qz7ZlMluP20uW+C3Rm0FD/WLDX8884= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 h1:+kGHl1aib/qcwaRi1CbqBZ1rk19r85MNUf8HaBghugY= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= -google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.37.0 h1:uSZWeQJX5j11bIQ4AJoj+McDBo29cY1MCoC1wO3ts+c= -google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0 h1:bxAC2xTBsZGibn2RTntX0oH50xLsqy1OxA9tTL3p/lk= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/go.mod b/cluster-autoscaler/vendor/go.opentelemetry.io/otel/go.mod deleted file mode 100644 index a0e9267ad36a..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/go.mod +++ /dev/null @@ -1,55 +0,0 @@ -module go.opentelemetry.io/otel - -go 1.14 - -require ( - github.com/google/go-cmp v0.5.5 - github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel/metric v0.20.0 - go.opentelemetry.io/otel/oteltest v0.20.0 - go.opentelemetry.io/otel/trace v0.20.0 -) - -replace go.opentelemetry.io/otel => ./ - -replace go.opentelemetry.io/otel/bridge/opencensus => ./bridge/opencensus - -replace go.opentelemetry.io/otel/bridge/opentracing => ./bridge/opentracing - -replace go.opentelemetry.io/otel/example/jaeger => ./example/jaeger - -replace go.opentelemetry.io/otel/example/namedtracer => ./example/namedtracer - -replace go.opentelemetry.io/otel/example/opencensus => ./example/opencensus - -replace go.opentelemetry.io/otel/example/otel-collector => ./example/otel-collector - -replace go.opentelemetry.io/otel/example/prom-collector => ./example/prom-collector - -replace go.opentelemetry.io/otel/example/prometheus => ./example/prometheus - -replace go.opentelemetry.io/otel/example/zipkin => ./example/zipkin - -replace go.opentelemetry.io/otel/exporters/metric/prometheus => ./exporters/metric/prometheus - -replace go.opentelemetry.io/otel/exporters/otlp => ./exporters/otlp - -replace go.opentelemetry.io/otel/exporters/stdout => ./exporters/stdout - -replace go.opentelemetry.io/otel/exporters/trace/jaeger => ./exporters/trace/jaeger - -replace go.opentelemetry.io/otel/exporters/trace/zipkin => ./exporters/trace/zipkin - -replace go.opentelemetry.io/otel/internal/tools => ./internal/tools - -replace go.opentelemetry.io/otel/sdk => ./sdk - -replace go.opentelemetry.io/otel/metric => ./metric - -replace go.opentelemetry.io/otel/oteltest => ./oteltest - -replace go.opentelemetry.io/otel/sdk/export/metric => ./sdk/export/metric - -replace go.opentelemetry.io/otel/sdk/metric => ./sdk/metric - -replace go.opentelemetry.io/otel/trace => ./trace diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/go.sum b/cluster-autoscaler/vendor/go.opentelemetry.io/otel/go.sum deleted file mode 100644 index b69f2e56da0f..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/go.sum +++ /dev/null @@ -1,15 +0,0 @@ -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/metric/go.mod b/cluster-autoscaler/vendor/go.opentelemetry.io/otel/metric/go.mod deleted file mode 100644 index 47bc47badde6..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/metric/go.mod +++ /dev/null @@ -1,54 +0,0 @@ -module go.opentelemetry.io/otel/metric - -go 1.14 - -replace go.opentelemetry.io/otel => ../ - -replace go.opentelemetry.io/otel/bridge/opencensus => ../bridge/opencensus - -replace go.opentelemetry.io/otel/bridge/opentracing => ../bridge/opentracing - -replace go.opentelemetry.io/otel/example/jaeger => ../example/jaeger - -replace go.opentelemetry.io/otel/example/namedtracer => ../example/namedtracer - -replace go.opentelemetry.io/otel/example/opencensus => ../example/opencensus - -replace go.opentelemetry.io/otel/example/otel-collector => ../example/otel-collector - -replace go.opentelemetry.io/otel/example/prom-collector => ../example/prom-collector - -replace go.opentelemetry.io/otel/example/prometheus => ../example/prometheus - -replace go.opentelemetry.io/otel/example/zipkin => ../example/zipkin - -replace go.opentelemetry.io/otel/exporters/metric/prometheus => ../exporters/metric/prometheus - -replace go.opentelemetry.io/otel/exporters/otlp => ../exporters/otlp - -replace go.opentelemetry.io/otel/exporters/stdout => ../exporters/stdout - -replace go.opentelemetry.io/otel/exporters/trace/jaeger => ../exporters/trace/jaeger - -replace go.opentelemetry.io/otel/exporters/trace/zipkin => ../exporters/trace/zipkin - -replace go.opentelemetry.io/otel/internal/tools => ../internal/tools - -replace go.opentelemetry.io/otel/metric => ./ - -replace go.opentelemetry.io/otel/oteltest => ../oteltest - -replace go.opentelemetry.io/otel/sdk => ../sdk - -replace go.opentelemetry.io/otel/sdk/export/metric => ../sdk/export/metric - -replace go.opentelemetry.io/otel/sdk/metric => ../sdk/metric - -replace go.opentelemetry.io/otel/trace => ../trace - -require ( - github.com/google/go-cmp v0.5.5 - github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel v0.20.0 - go.opentelemetry.io/otel/oteltest v0.20.0 -) diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/metric/go.sum b/cluster-autoscaler/vendor/go.opentelemetry.io/otel/metric/go.sum deleted file mode 100644 index b69f2e56da0f..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/metric/go.sum +++ /dev/null @@ -1,15 +0,0 @@ -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/sdk/export/metric/go.mod b/cluster-autoscaler/vendor/go.opentelemetry.io/otel/sdk/export/metric/go.mod deleted file mode 100644 index 170d38157fad..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/sdk/export/metric/go.mod +++ /dev/null @@ -1,54 +0,0 @@ -module go.opentelemetry.io/otel/sdk/export/metric - -go 1.14 - -replace go.opentelemetry.io/otel => ../../.. - -replace go.opentelemetry.io/otel/bridge/opencensus => ../../../bridge/opencensus - -replace go.opentelemetry.io/otel/bridge/opentracing => ../../../bridge/opentracing - -replace go.opentelemetry.io/otel/example/jaeger => ../../../example/jaeger - -replace go.opentelemetry.io/otel/example/namedtracer => ../../../example/namedtracer - -replace go.opentelemetry.io/otel/example/opencensus => ../../../example/opencensus - -replace go.opentelemetry.io/otel/example/otel-collector => ../../../example/otel-collector - -replace go.opentelemetry.io/otel/example/prom-collector => ../../../example/prom-collector - -replace go.opentelemetry.io/otel/example/prometheus => ../../../example/prometheus - -replace go.opentelemetry.io/otel/example/zipkin => ../../../example/zipkin - -replace go.opentelemetry.io/otel/exporters/metric/prometheus => ../../../exporters/metric/prometheus - -replace go.opentelemetry.io/otel/exporters/otlp => ../../../exporters/otlp - -replace go.opentelemetry.io/otel/exporters/stdout => ../../../exporters/stdout - -replace go.opentelemetry.io/otel/exporters/trace/jaeger => ../../../exporters/trace/jaeger - -replace go.opentelemetry.io/otel/exporters/trace/zipkin => ../../../exporters/trace/zipkin - -replace go.opentelemetry.io/otel/internal/tools => ../../../internal/tools - -replace go.opentelemetry.io/otel/metric => ../../../metric - -replace go.opentelemetry.io/otel/oteltest => ../../../oteltest - -replace go.opentelemetry.io/otel/sdk => ../.. - -replace go.opentelemetry.io/otel/sdk/export/metric => ./ - -replace go.opentelemetry.io/otel/sdk/metric => ../../metric - -replace go.opentelemetry.io/otel/trace => ../../../trace - -require ( - github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel v0.20.0 - go.opentelemetry.io/otel/metric v0.20.0 - go.opentelemetry.io/otel/sdk v0.20.0 -) diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/sdk/export/metric/go.sum b/cluster-autoscaler/vendor/go.opentelemetry.io/otel/sdk/export/metric/go.sum deleted file mode 100644 index b69f2e56da0f..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/sdk/export/metric/go.sum +++ /dev/null @@ -1,15 +0,0 @@ -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/sdk/metric/go.mod b/cluster-autoscaler/vendor/go.opentelemetry.io/otel/sdk/metric/go.mod deleted file mode 100644 index 6ad529662cf2..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/sdk/metric/go.mod +++ /dev/null @@ -1,56 +0,0 @@ -module go.opentelemetry.io/otel/sdk/metric - -go 1.14 - -replace go.opentelemetry.io/otel => ../.. - -replace go.opentelemetry.io/otel/bridge/opencensus => ../../bridge/opencensus - -replace go.opentelemetry.io/otel/bridge/opentracing => ../../bridge/opentracing - -replace go.opentelemetry.io/otel/example/jaeger => ../../example/jaeger - -replace go.opentelemetry.io/otel/example/namedtracer => ../../example/namedtracer - -replace go.opentelemetry.io/otel/example/opencensus => ../../example/opencensus - -replace go.opentelemetry.io/otel/example/otel-collector => ../../example/otel-collector - -replace go.opentelemetry.io/otel/example/prom-collector => ../../example/prom-collector - -replace go.opentelemetry.io/otel/example/prometheus => ../../example/prometheus - -replace go.opentelemetry.io/otel/example/zipkin => ../../example/zipkin - -replace go.opentelemetry.io/otel/exporters/metric/prometheus => ../../exporters/metric/prometheus - -replace go.opentelemetry.io/otel/exporters/otlp => ../../exporters/otlp - -replace go.opentelemetry.io/otel/exporters/stdout => ../../exporters/stdout - -replace go.opentelemetry.io/otel/exporters/trace/jaeger => ../../exporters/trace/jaeger - -replace go.opentelemetry.io/otel/exporters/trace/zipkin => ../../exporters/trace/zipkin - -replace go.opentelemetry.io/otel/internal/tools => ../../internal/tools - -replace go.opentelemetry.io/otel/metric => ../../metric - -replace go.opentelemetry.io/otel/oteltest => ../../oteltest - -replace go.opentelemetry.io/otel/sdk => ../ - -replace go.opentelemetry.io/otel/sdk/export/metric => ../export/metric - -replace go.opentelemetry.io/otel/sdk/metric => ./ - -replace go.opentelemetry.io/otel/trace => ../../trace - -require ( - github.com/benbjohnson/clock v1.0.3 // do not upgrade to v1.1.x because it would require Go >= 1.15 - github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel v0.20.0 - go.opentelemetry.io/otel/metric v0.20.0 - go.opentelemetry.io/otel/sdk v0.20.0 - go.opentelemetry.io/otel/sdk/export/metric v0.20.0 -) diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/sdk/metric/go.sum b/cluster-autoscaler/vendor/go.opentelemetry.io/otel/sdk/metric/go.sum deleted file mode 100644 index dcd830455045..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/sdk/metric/go.sum +++ /dev/null @@ -1,17 +0,0 @@ -github.com/benbjohnson/clock v1.0.3 h1:vkLuvpK4fmtSCuo60+yC63p7y0BmQ8gm5ZXGuBCJyXg= -github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/trace/go.mod b/cluster-autoscaler/vendor/go.opentelemetry.io/otel/trace/go.mod deleted file mode 100644 index 914e4f4384a3..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/trace/go.mod +++ /dev/null @@ -1,53 +0,0 @@ -module go.opentelemetry.io/otel/trace - -go 1.14 - -replace go.opentelemetry.io/otel => ../ - -replace go.opentelemetry.io/otel/bridge/opencensus => ../bridge/opencensus - -replace go.opentelemetry.io/otel/bridge/opentracing => ../bridge/opentracing - -replace go.opentelemetry.io/otel/example/jaeger => ../example/jaeger - -replace go.opentelemetry.io/otel/example/namedtracer => ../example/namedtracer - -replace go.opentelemetry.io/otel/example/opencensus => ../example/opencensus - -replace go.opentelemetry.io/otel/example/otel-collector => ../example/otel-collector - -replace go.opentelemetry.io/otel/example/prom-collector => ../example/prom-collector - -replace go.opentelemetry.io/otel/example/prometheus => ../example/prometheus - -replace go.opentelemetry.io/otel/example/zipkin => ../example/zipkin - -replace go.opentelemetry.io/otel/exporters/metric/prometheus => ../exporters/metric/prometheus - -replace go.opentelemetry.io/otel/exporters/otlp => ../exporters/otlp - -replace go.opentelemetry.io/otel/exporters/stdout => ../exporters/stdout - -replace go.opentelemetry.io/otel/exporters/trace/jaeger => ../exporters/trace/jaeger - -replace go.opentelemetry.io/otel/exporters/trace/zipkin => ../exporters/trace/zipkin - -replace go.opentelemetry.io/otel/internal/tools => ../internal/tools - -replace go.opentelemetry.io/otel/metric => ../metric - -replace go.opentelemetry.io/otel/oteltest => ../oteltest - -replace go.opentelemetry.io/otel/sdk => ../sdk - -replace go.opentelemetry.io/otel/sdk/export/metric => ../sdk/export/metric - -replace go.opentelemetry.io/otel/sdk/metric => ../sdk/metric - -replace go.opentelemetry.io/otel/trace => ./ - -require ( - github.com/google/go-cmp v0.5.5 - github.com/stretchr/testify v1.7.0 - go.opentelemetry.io/otel v0.20.0 -) diff --git a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/trace/go.sum b/cluster-autoscaler/vendor/go.opentelemetry.io/otel/trace/go.sum deleted file mode 100644 index b69f2e56da0f..000000000000 --- a/cluster-autoscaler/vendor/go.opentelemetry.io/otel/trace/go.sum +++ /dev/null @@ -1,15 +0,0 @@ -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/cluster-autoscaler/vendor/go.uber.org/atomic/go.mod b/cluster-autoscaler/vendor/go.uber.org/atomic/go.mod deleted file mode 100644 index daa7599fe191..000000000000 --- a/cluster-autoscaler/vendor/go.uber.org/atomic/go.mod +++ /dev/null @@ -1,8 +0,0 @@ -module go.uber.org/atomic - -require ( - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/stretchr/testify v1.3.0 -) - -go 1.13 diff --git a/cluster-autoscaler/vendor/go.uber.org/atomic/go.sum b/cluster-autoscaler/vendor/go.uber.org/atomic/go.sum deleted file mode 100644 index 4f76e62c1f3d..000000000000 --- a/cluster-autoscaler/vendor/go.uber.org/atomic/go.sum +++ /dev/null @@ -1,9 +0,0 @@ -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= diff --git a/cluster-autoscaler/vendor/go.uber.org/multierr/go.mod b/cluster-autoscaler/vendor/go.uber.org/multierr/go.mod deleted file mode 100644 index ff8bdf95fcf9..000000000000 --- a/cluster-autoscaler/vendor/go.uber.org/multierr/go.mod +++ /dev/null @@ -1,8 +0,0 @@ -module go.uber.org/multierr - -go 1.12 - -require ( - github.com/stretchr/testify v1.3.0 - go.uber.org/atomic v1.7.0 -) diff --git a/cluster-autoscaler/vendor/go.uber.org/multierr/go.sum b/cluster-autoscaler/vendor/go.uber.org/multierr/go.sum deleted file mode 100644 index ecfc28657825..000000000000 --- a/cluster-autoscaler/vendor/go.uber.org/multierr/go.sum +++ /dev/null @@ -1,11 +0,0 @@ -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= diff --git a/cluster-autoscaler/vendor/go.uber.org/zap/go.mod b/cluster-autoscaler/vendor/go.uber.org/zap/go.mod deleted file mode 100644 index 9455c99cc9ca..000000000000 --- a/cluster-autoscaler/vendor/go.uber.org/zap/go.mod +++ /dev/null @@ -1,14 +0,0 @@ -module go.uber.org/zap - -go 1.13 - -require ( - github.com/benbjohnson/clock v1.1.0 - github.com/pkg/errors v0.8.1 - github.com/stretchr/testify v1.7.0 - go.uber.org/atomic v1.7.0 - go.uber.org/goleak v1.1.10 - go.uber.org/multierr v1.6.0 - gopkg.in/yaml.v2 v2.2.8 - gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect -) diff --git a/cluster-autoscaler/vendor/go.uber.org/zap/go.sum b/cluster-autoscaler/vendor/go.uber.org/zap/go.sum deleted file mode 100644 index 9031a6131a25..000000000000 --- a/cluster-autoscaler/vendor/go.uber.org/zap/go.sum +++ /dev/null @@ -1,46 +0,0 @@ -github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= -github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/goleak v1.1.10 h1:z+mqJhf6ss6BSfSM671tgKyZBFPTTJM+HLxnhPC3wu0= -go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= -go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= -go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20191108193012-7d206e10da11 h1:Yq9t9jnGoR+dBuitxdo9l6Q7xh/zOyNnYUtDKaQ3x0E= -golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/cluster-autoscaler/vendor/golang.org/x/net/AUTHORS b/cluster-autoscaler/vendor/golang.org/x/net/AUTHORS deleted file mode 100644 index 15167cd746c5..000000000000 --- a/cluster-autoscaler/vendor/golang.org/x/net/AUTHORS +++ /dev/null @@ -1,3 +0,0 @@ -# This source code refers to The Go Authors for copyright purposes. -# The master list of authors is in the main Go distribution, -# visible at http://tip.golang.org/AUTHORS. diff --git a/cluster-autoscaler/vendor/golang.org/x/net/CONTRIBUTORS b/cluster-autoscaler/vendor/golang.org/x/net/CONTRIBUTORS deleted file mode 100644 index 1c4577e96806..000000000000 --- a/cluster-autoscaler/vendor/golang.org/x/net/CONTRIBUTORS +++ /dev/null @@ -1,3 +0,0 @@ -# This source code was written by the Go contributors. -# The master list of contributors is in the main Go distribution, -# visible at http://tip.golang.org/CONTRIBUTORS. diff --git a/cluster-autoscaler/vendor/golang.org/x/net/bpf/doc.go b/cluster-autoscaler/vendor/golang.org/x/net/bpf/doc.go index ae62feb53413..04ec1c8ab522 100644 --- a/cluster-autoscaler/vendor/golang.org/x/net/bpf/doc.go +++ b/cluster-autoscaler/vendor/golang.org/x/net/bpf/doc.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. /* - Package bpf implements marshaling and unmarshaling of programs for the Berkeley Packet Filter virtual machine, and provides a Go implementation of the virtual machine. @@ -21,7 +20,7 @@ access to kernel functions, and while conditional branches are allowed, they can only jump forwards, to guarantee that there are no infinite loops. -The virtual machine +# The virtual machine The BPF VM is an accumulator machine. Its main register, called register A, is an implicit source and destination in all arithmetic @@ -50,7 +49,7 @@ to extensions, which are essentially calls to kernel utility functions. Currently, the only extensions supported by this package are the Linux packet filter extensions. -Examples +# Examples This packet filter selects all ARP packets. @@ -77,6 +76,5 @@ This packet filter captures a random 1% sample of traffic. // Ignore. bpf.RetConstant{Val: 0}, }) - */ package bpf // import "golang.org/x/net/bpf" diff --git a/cluster-autoscaler/vendor/golang.org/x/net/context/context.go b/cluster-autoscaler/vendor/golang.org/x/net/context/context.go index a3c021d3f88e..cf66309c4a8b 100644 --- a/cluster-autoscaler/vendor/golang.org/x/net/context/context.go +++ b/cluster-autoscaler/vendor/golang.org/x/net/context/context.go @@ -21,9 +21,9 @@ // explicitly to each function that needs it. The Context should be the first // parameter, typically named ctx: // -// func DoSomething(ctx context.Context, arg Arg) error { -// // ... use ctx ... -// } +// func DoSomething(ctx context.Context, arg Arg) error { +// // ... use ctx ... +// } // // Do not pass a nil Context, even if a function permits it. Pass context.TODO // if you are unsure about which Context to use. diff --git a/cluster-autoscaler/vendor/golang.org/x/net/context/go17.go b/cluster-autoscaler/vendor/golang.org/x/net/context/go17.go index 344bd1433450..0a54bdbcc65d 100644 --- a/cluster-autoscaler/vendor/golang.org/x/net/context/go17.go +++ b/cluster-autoscaler/vendor/golang.org/x/net/context/go17.go @@ -54,11 +54,11 @@ func WithDeadline(parent Context, deadline time.Time) (Context, CancelFunc) { // Canceling this context releases resources associated with it, so code should // call cancel as soon as the operations running in this Context complete: // -// func slowOperationWithTimeout(ctx context.Context) (Result, error) { -// ctx, cancel := context.WithTimeout(ctx, 100*time.Millisecond) -// defer cancel() // releases resources if slowOperation completes before timeout elapses -// return slowOperation(ctx) -// } +// func slowOperationWithTimeout(ctx context.Context) (Result, error) { +// ctx, cancel := context.WithTimeout(ctx, 100*time.Millisecond) +// defer cancel() // releases resources if slowOperation completes before timeout elapses +// return slowOperation(ctx) +// } func WithTimeout(parent Context, timeout time.Duration) (Context, CancelFunc) { return WithDeadline(parent, time.Now().Add(timeout)) } diff --git a/cluster-autoscaler/vendor/golang.org/x/net/context/pre_go17.go b/cluster-autoscaler/vendor/golang.org/x/net/context/pre_go17.go index 5270db5db7db..7b6b685114a9 100644 --- a/cluster-autoscaler/vendor/golang.org/x/net/context/pre_go17.go +++ b/cluster-autoscaler/vendor/golang.org/x/net/context/pre_go17.go @@ -264,11 +264,11 @@ func (c *timerCtx) cancel(removeFromParent bool, err error) { // Canceling this context releases resources associated with it, so code should // call cancel as soon as the operations running in this Context complete: // -// func slowOperationWithTimeout(ctx context.Context) (Result, error) { -// ctx, cancel := context.WithTimeout(ctx, 100*time.Millisecond) -// defer cancel() // releases resources if slowOperation completes before timeout elapses -// return slowOperation(ctx) -// } +// func slowOperationWithTimeout(ctx context.Context) (Result, error) { +// ctx, cancel := context.WithTimeout(ctx, 100*time.Millisecond) +// defer cancel() // releases resources if slowOperation completes before timeout elapses +// return slowOperation(ctx) +// } func WithTimeout(parent Context, timeout time.Duration) (Context, CancelFunc) { return WithDeadline(parent, time.Now().Add(timeout)) } diff --git a/cluster-autoscaler/vendor/golang.org/x/net/http/httpguts/httplex.go b/cluster-autoscaler/vendor/golang.org/x/net/http/httpguts/httplex.go index c79aa73f28bb..6e071e852432 100644 --- a/cluster-autoscaler/vendor/golang.org/x/net/http/httpguts/httplex.go +++ b/cluster-autoscaler/vendor/golang.org/x/net/http/httpguts/httplex.go @@ -173,13 +173,15 @@ func tokenEqual(t1, t2 string) bool { // isLWS reports whether b is linear white space, according // to http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.2 -// LWS = [CRLF] 1*( SP | HT ) +// +// LWS = [CRLF] 1*( SP | HT ) func isLWS(b byte) bool { return b == ' ' || b == '\t' } // isCTL reports whether b is a control byte, according // to http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.2 -// CTL = +// +// CTL = func isCTL(b byte) bool { const del = 0x7f // a CTL return b < ' ' || b == del @@ -189,12 +191,13 @@ func isCTL(b byte) bool { // HTTP/2 imposes the additional restriction that uppercase ASCII // letters are not allowed. // -// RFC 7230 says: -// header-field = field-name ":" OWS field-value OWS -// field-name = token -// token = 1*tchar -// tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" / "+" / "-" / "." / -// "^" / "_" / "`" / "|" / "~" / DIGIT / ALPHA +// RFC 7230 says: +// +// header-field = field-name ":" OWS field-value OWS +// field-name = token +// token = 1*tchar +// tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" / "+" / "-" / "." / +// "^" / "_" / "`" / "|" / "~" / DIGIT / ALPHA func ValidHeaderFieldName(v string) bool { if len(v) == 0 { return false @@ -267,27 +270,28 @@ var validHostByte = [256]bool{ // ValidHeaderFieldValue reports whether v is a valid "field-value" according to // http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2 : // -// message-header = field-name ":" [ field-value ] -// field-value = *( field-content | LWS ) -// field-content = +// message-header = field-name ":" [ field-value ] +// field-value = *( field-content | LWS ) +// field-content = // // http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.2 : // -// TEXT = -// LWS = [CRLF] 1*( SP | HT ) -// CTL = +// TEXT = +// LWS = [CRLF] 1*( SP | HT ) +// CTL = // // RFC 7230 says: -// field-value = *( field-content / obs-fold ) -// obj-fold = N/A to http2, and deprecated -// field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] -// field-vchar = VCHAR / obs-text -// obs-text = %x80-FF -// VCHAR = "any visible [USASCII] character" +// +// field-value = *( field-content / obs-fold ) +// obj-fold = N/A to http2, and deprecated +// field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] +// field-vchar = VCHAR / obs-text +// obs-text = %x80-FF +// VCHAR = "any visible [USASCII] character" // // http2 further says: "Similarly, HTTP/2 allows header field values // that are not valid. While most of the values that can be encoded diff --git a/cluster-autoscaler/vendor/golang.org/x/net/http2/client_conn_pool.go b/cluster-autoscaler/vendor/golang.org/x/net/http2/client_conn_pool.go index c936843eafa1..780968d6c19b 100644 --- a/cluster-autoscaler/vendor/golang.org/x/net/http2/client_conn_pool.go +++ b/cluster-autoscaler/vendor/golang.org/x/net/http2/client_conn_pool.go @@ -139,7 +139,6 @@ func (p *clientConnPool) getStartDialLocked(ctx context.Context, addr string) *d func (c *dialCall) dial(ctx context.Context, addr string) { const singleUse = false // shared conn c.res, c.err = c.p.t.dialClientConn(ctx, addr, singleUse) - close(c.done) c.p.mu.Lock() delete(c.p.dialing, addr) @@ -147,6 +146,8 @@ func (c *dialCall) dial(ctx context.Context, addr string) { c.p.addConnLocked(addr, c.res) } c.p.mu.Unlock() + + close(c.done) } // addConnIfNeeded makes a NewClientConn out of c if a connection for key doesn't diff --git a/cluster-autoscaler/vendor/golang.org/x/net/http2/errors.go b/cluster-autoscaler/vendor/golang.org/x/net/http2/errors.go index 2663e5d287ee..f2067dabc59e 100644 --- a/cluster-autoscaler/vendor/golang.org/x/net/http2/errors.go +++ b/cluster-autoscaler/vendor/golang.org/x/net/http2/errors.go @@ -136,7 +136,7 @@ func (e headerFieldNameError) Error() string { type headerFieldValueError string func (e headerFieldValueError) Error() string { - return fmt.Sprintf("invalid header field value %q", string(e)) + return fmt.Sprintf("invalid header field value for %q", string(e)) } var ( diff --git a/cluster-autoscaler/vendor/golang.org/x/net/http2/frame.go b/cluster-autoscaler/vendor/golang.org/x/net/http2/frame.go index 96a747905241..0178647ee0a3 100644 --- a/cluster-autoscaler/vendor/golang.org/x/net/http2/frame.go +++ b/cluster-autoscaler/vendor/golang.org/x/net/http2/frame.go @@ -1532,7 +1532,8 @@ func (fr *Framer) readMetaFrame(hf *HeadersFrame) (*MetaHeadersFrame, error) { fr.debugReadLoggerf("http2: decoded hpack field %+v", hf) } if !httpguts.ValidHeaderFieldValue(hf.Value) { - invalid = headerFieldValueError(hf.Value) + // Don't include the value in the error, because it may be sensitive. + invalid = headerFieldValueError(hf.Name) } isPseudo := strings.HasPrefix(hf.Name, ":") if isPseudo { diff --git a/cluster-autoscaler/vendor/golang.org/x/net/http2/hpack/huffman.go b/cluster-autoscaler/vendor/golang.org/x/net/http2/hpack/huffman.go index fe0b84ccd467..20d083a716da 100644 --- a/cluster-autoscaler/vendor/golang.org/x/net/http2/hpack/huffman.go +++ b/cluster-autoscaler/vendor/golang.org/x/net/http2/hpack/huffman.go @@ -169,25 +169,50 @@ func buildRootHuffmanNode() { // AppendHuffmanString appends s, as encoded in Huffman codes, to dst // and returns the extended buffer. func AppendHuffmanString(dst []byte, s string) []byte { - rembits := uint8(8) - + // This relies on the maximum huffman code length being 30 (See tables.go huffmanCodeLen array) + // So if a uint64 buffer has less than 32 valid bits can always accommodate another huffmanCode. + var ( + x uint64 // buffer + n uint // number valid of bits present in x + ) for i := 0; i < len(s); i++ { - if rembits == 8 { - dst = append(dst, 0) + c := s[i] + n += uint(huffmanCodeLen[c]) + x <<= huffmanCodeLen[c] % 64 + x |= uint64(huffmanCodes[c]) + if n >= 32 { + n %= 32 // Normally would be -= 32 but %= 32 informs compiler 0 <= n <= 31 for upcoming shift + y := uint32(x >> n) // Compiler doesn't combine memory writes if y isn't uint32 + dst = append(dst, byte(y>>24), byte(y>>16), byte(y>>8), byte(y)) } - dst, rembits = appendByteToHuffmanCode(dst, rembits, s[i]) } - - if rembits < 8 { - // special EOS symbol - code := uint32(0x3fffffff) - nbits := uint8(30) - - t := uint8(code >> (nbits - rembits)) - dst[len(dst)-1] |= t + // Add padding bits if necessary + if over := n % 8; over > 0 { + const ( + eosCode = 0x3fffffff + eosNBits = 30 + eosPadByte = eosCode >> (eosNBits - 8) + ) + pad := 8 - over + x = (x << pad) | (eosPadByte >> over) + n += pad // 8 now divides into n exactly } - - return dst + // n in (0, 8, 16, 24, 32) + switch n / 8 { + case 0: + return dst + case 1: + return append(dst, byte(x)) + case 2: + y := uint16(x) + return append(dst, byte(y>>8), byte(y)) + case 3: + y := uint16(x >> 8) + return append(dst, byte(y>>8), byte(y), byte(x)) + } + // case 4: + y := uint32(x) + return append(dst, byte(y>>24), byte(y>>16), byte(y>>8), byte(y)) } // HuffmanEncodeLength returns the number of bytes required to encode @@ -199,35 +224,3 @@ func HuffmanEncodeLength(s string) uint64 { } return (n + 7) / 8 } - -// appendByteToHuffmanCode appends Huffman code for c to dst and -// returns the extended buffer and the remaining bits in the last -// element. The appending is not byte aligned and the remaining bits -// in the last element of dst is given in rembits. -func appendByteToHuffmanCode(dst []byte, rembits uint8, c byte) ([]byte, uint8) { - code := huffmanCodes[c] - nbits := huffmanCodeLen[c] - - for { - if rembits > nbits { - t := uint8(code << (rembits - nbits)) - dst[len(dst)-1] |= t - rembits -= nbits - break - } - - t := uint8(code >> (nbits - rembits)) - dst[len(dst)-1] |= t - - nbits -= rembits - rembits = 8 - - if nbits == 0 { - break - } - - dst = append(dst, 0) - } - - return dst, rembits -} diff --git a/cluster-autoscaler/vendor/golang.org/x/net/http2/http2.go b/cluster-autoscaler/vendor/golang.org/x/net/http2/http2.go index 5571ccfd2613..479ba4b2b11c 100644 --- a/cluster-autoscaler/vendor/golang.org/x/net/http2/http2.go +++ b/cluster-autoscaler/vendor/golang.org/x/net/http2/http2.go @@ -13,7 +13,6 @@ // See https://http2.github.io/ for more information on HTTP/2. // // See https://http2.golang.org/ for a test server running this code. -// package http2 // import "golang.org/x/net/http2" import ( @@ -176,10 +175,11 @@ func (s SettingID) String() string { // name (key). See httpguts.ValidHeaderName for the base rules. // // Further, http2 says: -// "Just as in HTTP/1.x, header field names are strings of ASCII -// characters that are compared in a case-insensitive -// fashion. However, header field names MUST be converted to -// lowercase prior to their encoding in HTTP/2. " +// +// "Just as in HTTP/1.x, header field names are strings of ASCII +// characters that are compared in a case-insensitive +// fashion. However, header field names MUST be converted to +// lowercase prior to their encoding in HTTP/2. " func validWireHeaderFieldName(v string) bool { if len(v) == 0 { return false @@ -365,8 +365,8 @@ func (s *sorter) SortStrings(ss []string) { // validPseudoPath reports whether v is a valid :path pseudo-header // value. It must be either: // -// *) a non-empty string starting with '/' -// *) the string '*', for OPTIONS requests. +// - a non-empty string starting with '/' +// - the string '*', for OPTIONS requests. // // For now this is only used a quick check for deciding when to clean // up Opaque URLs before sending requests from the Transport. diff --git a/cluster-autoscaler/vendor/golang.org/x/net/http2/server.go b/cluster-autoscaler/vendor/golang.org/x/net/http2/server.go index e644d9b2f34d..47524a61a5d6 100644 --- a/cluster-autoscaler/vendor/golang.org/x/net/http2/server.go +++ b/cluster-autoscaler/vendor/golang.org/x/net/http2/server.go @@ -315,6 +315,20 @@ type ServeConnOpts struct { // requests. If nil, BaseConfig.Handler is used. If BaseConfig // or BaseConfig.Handler is nil, http.DefaultServeMux is used. Handler http.Handler + + // UpgradeRequest is an initial request received on a connection + // undergoing an h2c upgrade. The request body must have been + // completely read from the connection before calling ServeConn, + // and the 101 Switching Protocols response written. + UpgradeRequest *http.Request + + // Settings is the decoded contents of the HTTP2-Settings header + // in an h2c upgrade request. + Settings []byte + + // SawClientPreface is set if the HTTP/2 connection preface + // has already been read from the connection. + SawClientPreface bool } func (o *ServeConnOpts) context() context.Context { @@ -383,6 +397,7 @@ func (s *Server) ServeConn(c net.Conn, opts *ServeConnOpts) { headerTableSize: initialHeaderTableSize, serveG: newGoroutineLock(), pushEnabled: true, + sawClientPreface: opts.SawClientPreface, } s.state.registerConn(sc) @@ -400,7 +415,7 @@ func (s *Server) ServeConn(c net.Conn, opts *ServeConnOpts) { if s.NewWriteScheduler != nil { sc.writeSched = s.NewWriteScheduler() } else { - sc.writeSched = NewRandomWriteScheduler() + sc.writeSched = NewPriorityWriteScheduler(nil) } // These start at the RFC-specified defaults. If there is a higher @@ -465,9 +480,27 @@ func (s *Server) ServeConn(c net.Conn, opts *ServeConnOpts) { } } + if opts.Settings != nil { + fr := &SettingsFrame{ + FrameHeader: FrameHeader{valid: true}, + p: opts.Settings, + } + if err := fr.ForeachSetting(sc.processSetting); err != nil { + sc.rejectConn(ErrCodeProtocol, "invalid settings") + return + } + opts.Settings = nil + } + if hook := testHookGetServerConn; hook != nil { hook(sc) } + + if opts.UpgradeRequest != nil { + sc.upgradeRequest(opts.UpgradeRequest) + opts.UpgradeRequest = nil + } + sc.serve() } @@ -512,6 +545,7 @@ type serverConn struct { // Everything following is owned by the serve loop; use serveG.check(): serveG goroutineLock // used to verify funcs are on serve() pushEnabled bool + sawClientPreface bool // preface has already been read, used in h2c upgrade sawFirstSettings bool // got the initial SETTINGS frame after the preface needToSendSettingsAck bool unackedSettings int // how many SETTINGS have we sent without ACKs? @@ -974,6 +1008,9 @@ var errPrefaceTimeout = errors.New("timeout waiting for client preface") // returns errPrefaceTimeout on timeout, or an error if the greeting // is invalid. func (sc *serverConn) readPreface() error { + if sc.sawClientPreface { + return nil + } errc := make(chan error, 1) go func() { // Read the client preface @@ -1915,6 +1952,26 @@ func (sc *serverConn) processHeaders(f *MetaHeadersFrame) error { return nil } +func (sc *serverConn) upgradeRequest(req *http.Request) { + sc.serveG.check() + id := uint32(1) + sc.maxClientStreamID = id + st := sc.newStream(id, 0, stateHalfClosedRemote) + st.reqTrailer = req.Trailer + if st.reqTrailer != nil { + st.trailer = make(http.Header) + } + rw := sc.newResponseWriter(st, req) + + // Disable any read deadline set by the net/http package + // prior to the upgrade. + if sc.hs.ReadTimeout != 0 { + sc.conn.SetReadDeadline(time.Time{}) + } + + go sc.runHandler(rw, req, sc.handler.ServeHTTP) +} + func (st *stream) processTrailerHeaders(f *MetaHeadersFrame) error { sc := st.sc sc.serveG.check() @@ -2145,6 +2202,11 @@ func (sc *serverConn) newWriterAndRequestNoBody(st *stream, rp requestParam) (*r } req = req.WithContext(st.ctx) + rw := sc.newResponseWriter(st, req) + return rw, req, nil +} + +func (sc *serverConn) newResponseWriter(st *stream, req *http.Request) *responseWriter { rws := responseWriterStatePool.Get().(*responseWriterState) bwSave := rws.bw *rws = responseWriterState{} // zero all the fields @@ -2153,10 +2215,7 @@ func (sc *serverConn) newWriterAndRequestNoBody(st *stream, rp requestParam) (*r rws.bw.Reset(chunkWriter{rws}) rws.stream = st rws.req = req - rws.body = body - - rw := &responseWriter{rws: rws} - return rw, req, nil + return &responseWriter{rws: rws} } // Run on its own goroutine. @@ -2316,17 +2375,18 @@ type requestBody struct { _ incomparable stream *stream conn *serverConn - closed bool // for use by Close only - sawEOF bool // for use by Read only - pipe *pipe // non-nil if we have a HTTP entity message body - needsContinue bool // need to send a 100-continue + closeOnce sync.Once // for use by Close only + sawEOF bool // for use by Read only + pipe *pipe // non-nil if we have a HTTP entity message body + needsContinue bool // need to send a 100-continue } func (b *requestBody) Close() error { - if b.pipe != nil && !b.closed { - b.pipe.BreakWithError(errClosedBody) - } - b.closed = true + b.closeOnce.Do(func() { + if b.pipe != nil { + b.pipe.BreakWithError(errClosedBody) + } + }) return nil } @@ -2370,7 +2430,6 @@ type responseWriterState struct { // immutable within a request: stream *stream req *http.Request - body *requestBody // to close at end of request, if DATA frames didn't conn *serverConn // TODO: adjust buffer writing sizes based on server config, frame size updates from peer, etc @@ -2546,8 +2605,9 @@ func (rws *responseWriterState) writeChunk(p []byte) (n int, err error) { // prior to the headers being written. If the set of trailers is fixed // or known before the header is written, the normal Go trailers mechanism // is preferred: -// https://golang.org/pkg/net/http/#ResponseWriter -// https://golang.org/pkg/net/http/#example_ResponseWriter_trailers +// +// https://golang.org/pkg/net/http/#ResponseWriter +// https://golang.org/pkg/net/http/#example_ResponseWriter_trailers const TrailerPrefix = "Trailer:" // promoteUndeclaredTrailers permits http.Handlers to set trailers @@ -2643,8 +2703,7 @@ func checkWriteHeaderCode(code int) { // Issue 22880: require valid WriteHeader status codes. // For now we only enforce that it's three digits. // In the future we might block things over 599 (600 and above aren't defined - // at http://httpwg.org/specs/rfc7231.html#status.codes) - // and we might block under 200 (once we have more mature 1xx support). + // at http://httpwg.org/specs/rfc7231.html#status.codes). // But for now any three digits. // // We used to send "HTTP/1.1 000 0" on the wire in responses but there's @@ -2665,13 +2724,41 @@ func (w *responseWriter) WriteHeader(code int) { } func (rws *responseWriterState) writeHeader(code int) { - if !rws.wroteHeader { - checkWriteHeaderCode(code) - rws.wroteHeader = true - rws.status = code - if len(rws.handlerHeader) > 0 { - rws.snapHeader = cloneHeader(rws.handlerHeader) + if rws.wroteHeader { + return + } + + checkWriteHeaderCode(code) + + // Handle informational headers + if code >= 100 && code <= 199 { + // Per RFC 8297 we must not clear the current header map + h := rws.handlerHeader + + _, cl := h["Content-Length"] + _, te := h["Transfer-Encoding"] + if cl || te { + h = h.Clone() + h.Del("Content-Length") + h.Del("Transfer-Encoding") + } + + if rws.conn.writeHeaders(rws.stream, &writeResHeaders{ + streamID: rws.stream.id, + httpResCode: code, + h: h, + endStream: rws.handlerDone && !rws.hasTrailers(), + }) != nil { + rws.dirty = true } + + return + } + + rws.wroteHeader = true + rws.status = code + if len(rws.handlerHeader) > 0 { + rws.snapHeader = cloneHeader(rws.handlerHeader) } } diff --git a/cluster-autoscaler/vendor/golang.org/x/net/http2/transport.go b/cluster-autoscaler/vendor/golang.org/x/net/http2/transport.go index 4f098976377c..4ded4dfd56c0 100644 --- a/cluster-autoscaler/vendor/golang.org/x/net/http2/transport.go +++ b/cluster-autoscaler/vendor/golang.org/x/net/http2/transport.go @@ -16,7 +16,6 @@ import ( "errors" "fmt" "io" - "io/ioutil" "log" "math" mathrand "math/rand" @@ -501,12 +500,14 @@ func (t *Transport) RoundTripOpt(req *http.Request, opt RoundTripOpt) (*http.Res if req, err = shouldRetryRequest(req, err); err == nil { // After the first retry, do exponential backoff with 10% jitter. if retry == 0 { + t.vlogf("RoundTrip retrying after failure: %v", err) continue } backoff := float64(uint(1) << (uint(retry) - 1)) backoff += backoff * (0.1 * mathrand.Float64()) select { case <-time.After(time.Second * time.Duration(backoff)): + t.vlogf("RoundTrip retrying after failure: %v", err) continue case <-req.Context().Done(): err = req.Context().Err() @@ -732,10 +733,13 @@ func (cc *ClientConn) healthCheck() { // trigger the healthCheck again if there is no frame received. ctx, cancel := context.WithTimeout(context.Background(), pingTimeout) defer cancel() + cc.vlogf("http2: Transport sending health check") err := cc.Ping(ctx) if err != nil { + cc.vlogf("http2: Transport health check failure: %v", err) cc.closeForLostPing() - return + } else { + cc.vlogf("http2: Transport health check success") } } @@ -1765,7 +1769,8 @@ func (cc *ClientConn) encodeHeaders(req *http.Request, addGzipHeader bool, trail } for _, v := range vv { if !httpguts.ValidHeaderFieldValue(v) { - return nil, fmt.Errorf("invalid HTTP header value %q for header %q", v, k) + // Don't include the value in the error, because it may be sensitive. + return nil, fmt.Errorf("invalid HTTP header value for header %q", k) } } } @@ -2898,7 +2903,12 @@ func (t *Transport) logf(format string, args ...interface{}) { log.Printf(format, args...) } -var noBody io.ReadCloser = ioutil.NopCloser(bytes.NewReader(nil)) +var noBody io.ReadCloser = noBodyReader{} + +type noBodyReader struct{} + +func (noBodyReader) Close() error { return nil } +func (noBodyReader) Read([]byte) (int, error) { return 0, io.EOF } type missingBody struct{} diff --git a/cluster-autoscaler/vendor/golang.org/x/net/http2/writesched_priority.go b/cluster-autoscaler/vendor/golang.org/x/net/http2/writesched_priority.go index 2618b2c11d22..0a242c669e2c 100644 --- a/cluster-autoscaler/vendor/golang.org/x/net/http2/writesched_priority.go +++ b/cluster-autoscaler/vendor/golang.org/x/net/http2/writesched_priority.go @@ -383,16 +383,15 @@ func (ws *priorityWriteScheduler) AdjustStream(streamID uint32, priority Priorit func (ws *priorityWriteScheduler) Push(wr FrameWriteRequest) { var n *priorityNode - if id := wr.StreamID(); id == 0 { + if wr.isControl() { n = &ws.root } else { + id := wr.StreamID() n = ws.nodes[id] if n == nil { // id is an idle or closed stream. wr should not be a HEADERS or - // DATA frame. However, wr can be a RST_STREAM. In this case, we - // push wr onto the root, rather than creating a new priorityNode, - // since RST_STREAM is tiny and the stream's priority is unknown - // anyway. See issue #17919. + // DATA frame. In other case, we push wr onto the root, rather + // than creating a new priorityNode. if wr.DataSize() > 0 { panic("add DATA on non-open stream") } diff --git a/cluster-autoscaler/vendor/golang.org/x/net/idna/trieval.go b/cluster-autoscaler/vendor/golang.org/x/net/idna/trieval.go index 7a8cf889b5bc..9c070a44b377 100644 --- a/cluster-autoscaler/vendor/golang.org/x/net/idna/trieval.go +++ b/cluster-autoscaler/vendor/golang.org/x/net/idna/trieval.go @@ -17,23 +17,23 @@ package idna // // The per-rune values have the following format: // -// if mapped { -// if inlinedXOR { -// 15..13 inline XOR marker -// 12..11 unused -// 10..3 inline XOR mask -// } else { -// 15..3 index into xor or mapping table -// } -// } else { -// 15..14 unused -// 13 mayNeedNorm -// 12..11 attributes -// 10..8 joining type -// 7..3 category type -// } -// 2 use xor pattern -// 1..0 mapped category +// if mapped { +// if inlinedXOR { +// 15..13 inline XOR marker +// 12..11 unused +// 10..3 inline XOR mask +// } else { +// 15..3 index into xor or mapping table +// } +// } else { +// 15..14 unused +// 13 mayNeedNorm +// 12..11 attributes +// 10..8 joining type +// 7..3 category type +// } +// 2 use xor pattern +// 1..0 mapped category // // See the definitions below for a more detailed description of the various // bits. diff --git a/cluster-autoscaler/vendor/golang.org/x/net/websocket/websocket.go b/cluster-autoscaler/vendor/golang.org/x/net/websocket/websocket.go index 6c45c7352961..ea422e110d73 100644 --- a/cluster-autoscaler/vendor/golang.org/x/net/websocket/websocket.go +++ b/cluster-autoscaler/vendor/golang.org/x/net/websocket/websocket.go @@ -8,8 +8,8 @@ // This package currently lacks some features found in alternative // and more actively maintained WebSocket packages: // -// https://godoc.org/github.com/gorilla/websocket -// https://godoc.org/nhooyr.io/websocket +// https://godoc.org/github.com/gorilla/websocket +// https://godoc.org/nhooyr.io/websocket package websocket // import "golang.org/x/net/websocket" import ( @@ -416,7 +416,6 @@ Trivial usage: // send binary frame data = []byte{0, 1, 2} websocket.Message.Send(ws, data) - */ var Message = Codec{marshal, unmarshal} diff --git a/cluster-autoscaler/vendor/golang.org/x/oauth2/go.mod b/cluster-autoscaler/vendor/golang.org/x/oauth2/go.mod deleted file mode 100644 index 2b13f0b34cb7..000000000000 --- a/cluster-autoscaler/vendor/golang.org/x/oauth2/go.mod +++ /dev/null @@ -1,9 +0,0 @@ -module golang.org/x/oauth2 - -go 1.11 - -require ( - cloud.google.com/go v0.65.0 - golang.org/x/net v0.0.0-20200822124328-c89045814202 - google.golang.org/appengine v1.6.6 -) diff --git a/cluster-autoscaler/vendor/golang.org/x/oauth2/go.sum b/cluster-autoscaler/vendor/golang.org/x/oauth2/go.sum deleted file mode 100644 index eab5833c4210..000000000000 --- a/cluster-autoscaler/vendor/golang.org/x/oauth2/go.sum +++ /dev/null @@ -1,361 +0,0 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= -cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= -cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= -cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= -cloud.google.com/go v0.65.0 h1:Dg9iHVQfrhq82rUNu9ZxUDrJLaxFUe/HlCVaLyRruq8= -cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= -cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= -cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= -cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= -cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= -cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.1 h1:JFrFEBb2xKufg6XkJsJr+WbKb4FQlURi5RUcBveYu9k= -github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202 h1:VvcQYSHwXgi7W+TpUR6A9g6Up98WAHf3f/ulnJ62IyA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= -google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.6 h1:lMO5rYAqUxkmaj76jAkRUvt5JZgFymx/+Q5Mzfivuhc= -google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= -google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= -google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= -google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/cluster-autoscaler/vendor/golang.org/x/sync/AUTHORS b/cluster-autoscaler/vendor/golang.org/x/sync/AUTHORS deleted file mode 100644 index 15167cd746c5..000000000000 --- a/cluster-autoscaler/vendor/golang.org/x/sync/AUTHORS +++ /dev/null @@ -1,3 +0,0 @@ -# This source code refers to The Go Authors for copyright purposes. -# The master list of authors is in the main Go distribution, -# visible at http://tip.golang.org/AUTHORS. diff --git a/cluster-autoscaler/vendor/golang.org/x/sync/CONTRIBUTORS b/cluster-autoscaler/vendor/golang.org/x/sync/CONTRIBUTORS deleted file mode 100644 index 1c4577e96806..000000000000 --- a/cluster-autoscaler/vendor/golang.org/x/sync/CONTRIBUTORS +++ /dev/null @@ -1,3 +0,0 @@ -# This source code was written by the Go contributors. -# The master list of contributors is in the main Go distribution, -# visible at http://tip.golang.org/CONTRIBUTORS. diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/AUTHORS b/cluster-autoscaler/vendor/golang.org/x/sys/AUTHORS deleted file mode 100644 index 15167cd746c5..000000000000 --- a/cluster-autoscaler/vendor/golang.org/x/sys/AUTHORS +++ /dev/null @@ -1,3 +0,0 @@ -# This source code refers to The Go Authors for copyright purposes. -# The master list of authors is in the main Go distribution, -# visible at http://tip.golang.org/AUTHORS. diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/CONTRIBUTORS b/cluster-autoscaler/vendor/golang.org/x/sys/CONTRIBUTORS deleted file mode 100644 index 1c4577e96806..000000000000 --- a/cluster-autoscaler/vendor/golang.org/x/sys/CONTRIBUTORS +++ /dev/null @@ -1,3 +0,0 @@ -# This source code was written by the Go contributors. -# The master list of contributors is in the main Go distribution, -# visible at http://tip.golang.org/CONTRIBUTORS. diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/cpu/cpu.go b/cluster-autoscaler/vendor/golang.org/x/sys/cpu/cpu.go index b56886f26163..83f112c4c808 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/cpu/cpu.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/cpu/cpu.go @@ -106,8 +106,8 @@ var ARM64 struct { // ARM contains the supported CPU features of the current ARM (32-bit) platform. // All feature flags are false if: -// 1. the current platform is not arm, or -// 2. the current operating system is not Linux. +// 1. the current platform is not arm, or +// 2. the current operating system is not Linux. var ARM struct { _ CacheLinePad HasSWP bool // SWP instruction support diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.c b/cluster-autoscaler/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.c index e363c7d13197..a4605e6d12e8 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.c +++ b/cluster-autoscaler/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.c @@ -7,6 +7,7 @@ #include #include +#include // Need to wrap __get_cpuid_count because it's declared as static. int @@ -17,27 +18,21 @@ gccgoGetCpuidCount(uint32_t leaf, uint32_t subleaf, return __get_cpuid_count(leaf, subleaf, eax, ebx, ecx, edx); } +#pragma GCC diagnostic ignored "-Wunknown-pragmas" +#pragma GCC push_options +#pragma GCC target("xsave") +#pragma clang attribute push (__attribute__((target("xsave"))), apply_to=function) + // xgetbv reads the contents of an XCR (Extended Control Register) // specified in the ECX register into registers EDX:EAX. // Currently, the only supported value for XCR is 0. -// -// TODO: Replace with a better alternative: -// -// #include -// -// #pragma GCC target("xsave") -// -// void gccgoXgetbv(uint32_t *eax, uint32_t *edx) { -// unsigned long long x = _xgetbv(0); -// *eax = x & 0xffffffff; -// *edx = (x >> 32) & 0xffffffff; -// } -// -// Note that _xgetbv is defined starting with GCC 8. void gccgoXgetbv(uint32_t *eax, uint32_t *edx) { - __asm(" xorl %%ecx, %%ecx\n" - " xgetbv" - : "=a"(*eax), "=d"(*edx)); + uint64_t v = _xgetbv(0); + *eax = v & 0xffffffff; + *edx = v >> 32; } + +#pragma clang attribute pop +#pragma GCC pop_options diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/cpu/cpu_other_riscv64.go b/cluster-autoscaler/vendor/golang.org/x/sys/cpu/cpu_other_riscv64.go new file mode 100644 index 000000000000..dd10eb79feef --- /dev/null +++ b/cluster-autoscaler/vendor/golang.org/x/sys/cpu/cpu_other_riscv64.go @@ -0,0 +1,12 @@ +// Copyright 2022 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build !linux && riscv64 +// +build !linux,riscv64 + +package cpu + +func archInit() { + Initialized = true +} diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/plan9/syscall.go b/cluster-autoscaler/vendor/golang.org/x/sys/plan9/syscall.go index 602473cba374..a25223b8fd4b 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/plan9/syscall.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/plan9/syscall.go @@ -113,5 +113,6 @@ func (tv *Timeval) Nano() int64 { // use is a no-op, but the compiler cannot see that it is. // Calling use(p) ensures that p is kept live until that point. +// //go:noescape func use(p unsafe.Pointer) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/plan9/syscall_plan9.go b/cluster-autoscaler/vendor/golang.org/x/sys/plan9/syscall_plan9.go index 723b1f4002aa..d079d8116e9f 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/plan9/syscall_plan9.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/plan9/syscall_plan9.go @@ -115,6 +115,7 @@ func Write(fd int, p []byte) (n int, err error) { var ioSync int64 //sys fd2path(fd int, buf []byte) (err error) + func Fd2path(fd int) (path string, err error) { var buf [512]byte @@ -126,6 +127,7 @@ func Fd2path(fd int) (path string, err error) { } //sys pipe(p *[2]int32) (err error) + func Pipe(p []int) (err error) { if len(p) != 2 { return syscall.ErrorString("bad arg in system call") @@ -180,6 +182,7 @@ func (w Waitmsg) ExitStatus() int { } //sys await(s []byte) (n int, err error) + func Await(w *Waitmsg) (err error) { var buf [512]byte var f [5][]byte @@ -301,42 +304,49 @@ func Getgroups() (gids []int, err error) { } //sys open(path string, mode int) (fd int, err error) + func Open(path string, mode int) (fd int, err error) { fixwd() return open(path, mode) } //sys create(path string, mode int, perm uint32) (fd int, err error) + func Create(path string, mode int, perm uint32) (fd int, err error) { fixwd() return create(path, mode, perm) } //sys remove(path string) (err error) + func Remove(path string) error { fixwd() return remove(path) } //sys stat(path string, edir []byte) (n int, err error) + func Stat(path string, edir []byte) (n int, err error) { fixwd() return stat(path, edir) } //sys bind(name string, old string, flag int) (err error) + func Bind(name string, old string, flag int) (err error) { fixwd() return bind(name, old, flag) } //sys mount(fd int, afd int, old string, flag int, aname string) (err error) + func Mount(fd int, afd int, old string, flag int, aname string) (err error) { fixwd() return mount(fd, afd, old, flag, aname) } //sys wstat(path string, edir []byte) (err error) + func Wstat(path string, edir []byte) (err error) { fixwd() return wstat(path, edir) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s b/cluster-autoscaler/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s new file mode 100644 index 000000000000..d560019ea29e --- /dev/null +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/asm_bsd_riscv64.s @@ -0,0 +1,29 @@ +// Copyright 2021 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build (darwin || freebsd || netbsd || openbsd) && gc +// +build darwin freebsd netbsd openbsd +// +build gc + +#include "textflag.h" + +// System call support for RISCV64 BSD + +// Just jump to package syscall's implementation for all these functions. +// The runtime may know about them. + +TEXT ·Syscall(SB),NOSPLIT,$0-56 + JMP syscall·Syscall(SB) + +TEXT ·Syscall6(SB),NOSPLIT,$0-80 + JMP syscall·Syscall6(SB) + +TEXT ·Syscall9(SB),NOSPLIT,$0-104 + JMP syscall·Syscall9(SB) + +TEXT ·RawSyscall(SB),NOSPLIT,$0-56 + JMP syscall·RawSyscall(SB) + +TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 + JMP syscall·RawSyscall6(SB) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/asm_linux_loong64.s b/cluster-autoscaler/vendor/golang.org/x/sys/unix/asm_linux_loong64.s index 6abd48eef0df..565357288a81 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/asm_linux_loong64.s +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/asm_linux_loong64.s @@ -30,7 +30,7 @@ TEXT ·SyscallNoError(SB),NOSPLIT,$0-48 MOVV trap+0(FP), R11 // syscall entry SYSCALL MOVV R4, r1+32(FP) - MOVV R5, r2+40(FP) + MOVV R0, r2+40(FP) // r2 is not used. Always set to 0 JAL runtime·exitsyscall(SB) RET @@ -50,5 +50,5 @@ TEXT ·RawSyscallNoError(SB),NOSPLIT,$0-48 MOVV trap+0(FP), R11 // syscall entry SYSCALL MOVV R4, r1+32(FP) - MOVV R5, r2+40(FP) + MOVV R0, r2+40(FP) // r2 is not used. Always set to 0 RET diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/endian_little.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/endian_little.go index 4362f47e2c00..b0f2bc4ae3b2 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/endian_little.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/endian_little.go @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // -//go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh -// +build 386 amd64 amd64p32 alpha arm arm64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh +//go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh +// +build 386 amd64 amd64p32 alpha arm arm64 loong64 mipsle mips64le mips64p32le nios2 ppc64le riscv riscv64 sh package unix diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/errors_freebsd_386.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/errors_freebsd_386.go deleted file mode 100644 index 761db66efece..000000000000 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/errors_freebsd_386.go +++ /dev/null @@ -1,233 +0,0 @@ -// Copyright 2017 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// Constants that were deprecated or moved to enums in the FreeBSD headers. Keep -// them here for backwards compatibility. - -package unix - -const ( - DLT_HHDLC = 0x79 - IFF_SMART = 0x20 - IFT_1822 = 0x2 - IFT_A12MPPSWITCH = 0x82 - IFT_AAL2 = 0xbb - IFT_AAL5 = 0x31 - IFT_ADSL = 0x5e - IFT_AFLANE8023 = 0x3b - IFT_AFLANE8025 = 0x3c - IFT_ARAP = 0x58 - IFT_ARCNET = 0x23 - IFT_ARCNETPLUS = 0x24 - IFT_ASYNC = 0x54 - IFT_ATM = 0x25 - IFT_ATMDXI = 0x69 - IFT_ATMFUNI = 0x6a - IFT_ATMIMA = 0x6b - IFT_ATMLOGICAL = 0x50 - IFT_ATMRADIO = 0xbd - IFT_ATMSUBINTERFACE = 0x86 - IFT_ATMVCIENDPT = 0xc2 - IFT_ATMVIRTUAL = 0x95 - IFT_BGPPOLICYACCOUNTING = 0xa2 - IFT_BSC = 0x53 - IFT_CCTEMUL = 0x3d - IFT_CEPT = 0x13 - IFT_CES = 0x85 - IFT_CHANNEL = 0x46 - IFT_CNR = 0x55 - IFT_COFFEE = 0x84 - IFT_COMPOSITELINK = 0x9b - IFT_DCN = 0x8d - IFT_DIGITALPOWERLINE = 0x8a - IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba - IFT_DLSW = 0x4a - IFT_DOCSCABLEDOWNSTREAM = 0x80 - IFT_DOCSCABLEMACLAYER = 0x7f - IFT_DOCSCABLEUPSTREAM = 0x81 - IFT_DS0 = 0x51 - IFT_DS0BUNDLE = 0x52 - IFT_DS1FDL = 0xaa - IFT_DS3 = 0x1e - IFT_DTM = 0x8c - IFT_DVBASILN = 0xac - IFT_DVBASIOUT = 0xad - IFT_DVBRCCDOWNSTREAM = 0x93 - IFT_DVBRCCMACLAYER = 0x92 - IFT_DVBRCCUPSTREAM = 0x94 - IFT_ENC = 0xf4 - IFT_EON = 0x19 - IFT_EPLRS = 0x57 - IFT_ESCON = 0x49 - IFT_ETHER = 0x6 - IFT_FAITH = 0xf2 - IFT_FAST = 0x7d - IFT_FASTETHER = 0x3e - IFT_FASTETHERFX = 0x45 - IFT_FDDI = 0xf - IFT_FIBRECHANNEL = 0x38 - IFT_FRAMERELAYINTERCONNECT = 0x3a - IFT_FRAMERELAYMPI = 0x5c - IFT_FRDLCIENDPT = 0xc1 - IFT_FRELAY = 0x20 - IFT_FRELAYDCE = 0x2c - IFT_FRF16MFRBUNDLE = 0xa3 - IFT_FRFORWARD = 0x9e - IFT_G703AT2MB = 0x43 - IFT_G703AT64K = 0x42 - IFT_GIF = 0xf0 - IFT_GIGABITETHERNET = 0x75 - IFT_GR303IDT = 0xb2 - IFT_GR303RDT = 0xb1 - IFT_H323GATEKEEPER = 0xa4 - IFT_H323PROXY = 0xa5 - IFT_HDH1822 = 0x3 - IFT_HDLC = 0x76 - IFT_HDSL2 = 0xa8 - IFT_HIPERLAN2 = 0xb7 - IFT_HIPPI = 0x2f - IFT_HIPPIINTERFACE = 0x39 - IFT_HOSTPAD = 0x5a - IFT_HSSI = 0x2e - IFT_HY = 0xe - IFT_IBM370PARCHAN = 0x48 - IFT_IDSL = 0x9a - IFT_IEEE80211 = 0x47 - IFT_IEEE80212 = 0x37 - IFT_IEEE8023ADLAG = 0xa1 - IFT_IFGSN = 0x91 - IFT_IMT = 0xbe - IFT_INTERLEAVE = 0x7c - IFT_IP = 0x7e - IFT_IPFORWARD = 0x8e - IFT_IPOVERATM = 0x72 - IFT_IPOVERCDLC = 0x6d - IFT_IPOVERCLAW = 0x6e - IFT_IPSWITCH = 0x4e - IFT_IPXIP = 0xf9 - IFT_ISDN = 0x3f - IFT_ISDNBASIC = 0x14 - IFT_ISDNPRIMARY = 0x15 - IFT_ISDNS = 0x4b - IFT_ISDNU = 0x4c - IFT_ISO88022LLC = 0x29 - IFT_ISO88023 = 0x7 - IFT_ISO88024 = 0x8 - IFT_ISO88025 = 0x9 - IFT_ISO88025CRFPINT = 0x62 - IFT_ISO88025DTR = 0x56 - IFT_ISO88025FIBER = 0x73 - IFT_ISO88026 = 0xa - IFT_ISUP = 0xb3 - IFT_L3IPXVLAN = 0x89 - IFT_LAPB = 0x10 - IFT_LAPD = 0x4d - IFT_LAPF = 0x77 - IFT_LOCALTALK = 0x2a - IFT_LOOP = 0x18 - IFT_MEDIAMAILOVERIP = 0x8b - IFT_MFSIGLINK = 0xa7 - IFT_MIOX25 = 0x26 - IFT_MODEM = 0x30 - IFT_MPC = 0x71 - IFT_MPLS = 0xa6 - IFT_MPLSTUNNEL = 0x96 - IFT_MSDSL = 0x8f - IFT_MVL = 0xbf - IFT_MYRINET = 0x63 - IFT_NFAS = 0xaf - IFT_NSIP = 0x1b - IFT_OPTICALCHANNEL = 0xc3 - IFT_OPTICALTRANSPORT = 0xc4 - IFT_OTHER = 0x1 - IFT_P10 = 0xc - IFT_P80 = 0xd - IFT_PARA = 0x22 - IFT_PFLOG = 0xf6 - IFT_PFSYNC = 0xf7 - IFT_PLC = 0xae - IFT_POS = 0xab - IFT_PPPMULTILINKBUNDLE = 0x6c - IFT_PROPBWAP2MP = 0xb8 - IFT_PROPCNLS = 0x59 - IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5 - IFT_PROPDOCSWIRELESSMACLAYER = 0xb4 - IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6 - IFT_PROPMUX = 0x36 - IFT_PROPWIRELESSP2P = 0x9d - IFT_PTPSERIAL = 0x16 - IFT_PVC = 0xf1 - IFT_QLLC = 0x44 - IFT_RADIOMAC = 0xbc - IFT_RADSL = 0x5f - IFT_REACHDSL = 0xc0 - IFT_RFC1483 = 0x9f - IFT_RS232 = 0x21 - IFT_RSRB = 0x4f - IFT_SDLC = 0x11 - IFT_SDSL = 0x60 - IFT_SHDSL = 0xa9 - IFT_SIP = 0x1f - IFT_SLIP = 0x1c - IFT_SMDSDXI = 0x2b - IFT_SMDSICIP = 0x34 - IFT_SONET = 0x27 - IFT_SONETOVERHEADCHANNEL = 0xb9 - IFT_SONETPATH = 0x32 - IFT_SONETVT = 0x33 - IFT_SRP = 0x97 - IFT_SS7SIGLINK = 0x9c - IFT_STACKTOSTACK = 0x6f - IFT_STARLAN = 0xb - IFT_STF = 0xd7 - IFT_T1 = 0x12 - IFT_TDLC = 0x74 - IFT_TERMPAD = 0x5b - IFT_TR008 = 0xb0 - IFT_TRANSPHDLC = 0x7b - IFT_TUNNEL = 0x83 - IFT_ULTRA = 0x1d - IFT_USB = 0xa0 - IFT_V11 = 0x40 - IFT_V35 = 0x2d - IFT_V36 = 0x41 - IFT_V37 = 0x78 - IFT_VDSL = 0x61 - IFT_VIRTUALIPADDRESS = 0x70 - IFT_VOICEEM = 0x64 - IFT_VOICEENCAP = 0x67 - IFT_VOICEFXO = 0x65 - IFT_VOICEFXS = 0x66 - IFT_VOICEOVERATM = 0x98 - IFT_VOICEOVERFRAMERELAY = 0x99 - IFT_VOICEOVERIP = 0x68 - IFT_X213 = 0x5d - IFT_X25 = 0x5 - IFT_X25DDN = 0x4 - IFT_X25HUNTGROUP = 0x7a - IFT_X25MLP = 0x79 - IFT_X25PLE = 0x28 - IFT_XETHER = 0x1a - IPPROTO_MAXID = 0x34 - IPV6_FAITH = 0x1d - IPV6_MIN_MEMBERSHIPS = 0x1f - IP_FAITH = 0x16 - IP_MAX_SOURCE_FILTER = 0x400 - IP_MIN_MEMBERSHIPS = 0x1f - MAP_NORESERVE = 0x40 - MAP_RENAME = 0x20 - NET_RT_MAXID = 0x6 - RTF_PRCLONING = 0x10000 - RTM_OLDADD = 0x9 - RTM_OLDDEL = 0xa - RT_CACHING_CONTEXT = 0x1 - RT_NORTREF = 0x2 - SIOCADDRT = 0x8030720a - SIOCALIFADDR = 0x8118691b - SIOCDELRT = 0x8030720b - SIOCDLIFADDR = 0x8118691d - SIOCGLIFADDR = 0xc118691c - SIOCGLIFPHYADDR = 0xc118694b - SIOCSLIFPHYADDR = 0x8118694a -) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go deleted file mode 100644 index 070f44b65104..000000000000 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go +++ /dev/null @@ -1,233 +0,0 @@ -// Copyright 2017 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// Constants that were deprecated or moved to enums in the FreeBSD headers. Keep -// them here for backwards compatibility. - -package unix - -const ( - DLT_HHDLC = 0x79 - IFF_SMART = 0x20 - IFT_1822 = 0x2 - IFT_A12MPPSWITCH = 0x82 - IFT_AAL2 = 0xbb - IFT_AAL5 = 0x31 - IFT_ADSL = 0x5e - IFT_AFLANE8023 = 0x3b - IFT_AFLANE8025 = 0x3c - IFT_ARAP = 0x58 - IFT_ARCNET = 0x23 - IFT_ARCNETPLUS = 0x24 - IFT_ASYNC = 0x54 - IFT_ATM = 0x25 - IFT_ATMDXI = 0x69 - IFT_ATMFUNI = 0x6a - IFT_ATMIMA = 0x6b - IFT_ATMLOGICAL = 0x50 - IFT_ATMRADIO = 0xbd - IFT_ATMSUBINTERFACE = 0x86 - IFT_ATMVCIENDPT = 0xc2 - IFT_ATMVIRTUAL = 0x95 - IFT_BGPPOLICYACCOUNTING = 0xa2 - IFT_BSC = 0x53 - IFT_CCTEMUL = 0x3d - IFT_CEPT = 0x13 - IFT_CES = 0x85 - IFT_CHANNEL = 0x46 - IFT_CNR = 0x55 - IFT_COFFEE = 0x84 - IFT_COMPOSITELINK = 0x9b - IFT_DCN = 0x8d - IFT_DIGITALPOWERLINE = 0x8a - IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba - IFT_DLSW = 0x4a - IFT_DOCSCABLEDOWNSTREAM = 0x80 - IFT_DOCSCABLEMACLAYER = 0x7f - IFT_DOCSCABLEUPSTREAM = 0x81 - IFT_DS0 = 0x51 - IFT_DS0BUNDLE = 0x52 - IFT_DS1FDL = 0xaa - IFT_DS3 = 0x1e - IFT_DTM = 0x8c - IFT_DVBASILN = 0xac - IFT_DVBASIOUT = 0xad - IFT_DVBRCCDOWNSTREAM = 0x93 - IFT_DVBRCCMACLAYER = 0x92 - IFT_DVBRCCUPSTREAM = 0x94 - IFT_ENC = 0xf4 - IFT_EON = 0x19 - IFT_EPLRS = 0x57 - IFT_ESCON = 0x49 - IFT_ETHER = 0x6 - IFT_FAITH = 0xf2 - IFT_FAST = 0x7d - IFT_FASTETHER = 0x3e - IFT_FASTETHERFX = 0x45 - IFT_FDDI = 0xf - IFT_FIBRECHANNEL = 0x38 - IFT_FRAMERELAYINTERCONNECT = 0x3a - IFT_FRAMERELAYMPI = 0x5c - IFT_FRDLCIENDPT = 0xc1 - IFT_FRELAY = 0x20 - IFT_FRELAYDCE = 0x2c - IFT_FRF16MFRBUNDLE = 0xa3 - IFT_FRFORWARD = 0x9e - IFT_G703AT2MB = 0x43 - IFT_G703AT64K = 0x42 - IFT_GIF = 0xf0 - IFT_GIGABITETHERNET = 0x75 - IFT_GR303IDT = 0xb2 - IFT_GR303RDT = 0xb1 - IFT_H323GATEKEEPER = 0xa4 - IFT_H323PROXY = 0xa5 - IFT_HDH1822 = 0x3 - IFT_HDLC = 0x76 - IFT_HDSL2 = 0xa8 - IFT_HIPERLAN2 = 0xb7 - IFT_HIPPI = 0x2f - IFT_HIPPIINTERFACE = 0x39 - IFT_HOSTPAD = 0x5a - IFT_HSSI = 0x2e - IFT_HY = 0xe - IFT_IBM370PARCHAN = 0x48 - IFT_IDSL = 0x9a - IFT_IEEE80211 = 0x47 - IFT_IEEE80212 = 0x37 - IFT_IEEE8023ADLAG = 0xa1 - IFT_IFGSN = 0x91 - IFT_IMT = 0xbe - IFT_INTERLEAVE = 0x7c - IFT_IP = 0x7e - IFT_IPFORWARD = 0x8e - IFT_IPOVERATM = 0x72 - IFT_IPOVERCDLC = 0x6d - IFT_IPOVERCLAW = 0x6e - IFT_IPSWITCH = 0x4e - IFT_IPXIP = 0xf9 - IFT_ISDN = 0x3f - IFT_ISDNBASIC = 0x14 - IFT_ISDNPRIMARY = 0x15 - IFT_ISDNS = 0x4b - IFT_ISDNU = 0x4c - IFT_ISO88022LLC = 0x29 - IFT_ISO88023 = 0x7 - IFT_ISO88024 = 0x8 - IFT_ISO88025 = 0x9 - IFT_ISO88025CRFPINT = 0x62 - IFT_ISO88025DTR = 0x56 - IFT_ISO88025FIBER = 0x73 - IFT_ISO88026 = 0xa - IFT_ISUP = 0xb3 - IFT_L3IPXVLAN = 0x89 - IFT_LAPB = 0x10 - IFT_LAPD = 0x4d - IFT_LAPF = 0x77 - IFT_LOCALTALK = 0x2a - IFT_LOOP = 0x18 - IFT_MEDIAMAILOVERIP = 0x8b - IFT_MFSIGLINK = 0xa7 - IFT_MIOX25 = 0x26 - IFT_MODEM = 0x30 - IFT_MPC = 0x71 - IFT_MPLS = 0xa6 - IFT_MPLSTUNNEL = 0x96 - IFT_MSDSL = 0x8f - IFT_MVL = 0xbf - IFT_MYRINET = 0x63 - IFT_NFAS = 0xaf - IFT_NSIP = 0x1b - IFT_OPTICALCHANNEL = 0xc3 - IFT_OPTICALTRANSPORT = 0xc4 - IFT_OTHER = 0x1 - IFT_P10 = 0xc - IFT_P80 = 0xd - IFT_PARA = 0x22 - IFT_PFLOG = 0xf6 - IFT_PFSYNC = 0xf7 - IFT_PLC = 0xae - IFT_POS = 0xab - IFT_PPPMULTILINKBUNDLE = 0x6c - IFT_PROPBWAP2MP = 0xb8 - IFT_PROPCNLS = 0x59 - IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5 - IFT_PROPDOCSWIRELESSMACLAYER = 0xb4 - IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6 - IFT_PROPMUX = 0x36 - IFT_PROPWIRELESSP2P = 0x9d - IFT_PTPSERIAL = 0x16 - IFT_PVC = 0xf1 - IFT_QLLC = 0x44 - IFT_RADIOMAC = 0xbc - IFT_RADSL = 0x5f - IFT_REACHDSL = 0xc0 - IFT_RFC1483 = 0x9f - IFT_RS232 = 0x21 - IFT_RSRB = 0x4f - IFT_SDLC = 0x11 - IFT_SDSL = 0x60 - IFT_SHDSL = 0xa9 - IFT_SIP = 0x1f - IFT_SLIP = 0x1c - IFT_SMDSDXI = 0x2b - IFT_SMDSICIP = 0x34 - IFT_SONET = 0x27 - IFT_SONETOVERHEADCHANNEL = 0xb9 - IFT_SONETPATH = 0x32 - IFT_SONETVT = 0x33 - IFT_SRP = 0x97 - IFT_SS7SIGLINK = 0x9c - IFT_STACKTOSTACK = 0x6f - IFT_STARLAN = 0xb - IFT_STF = 0xd7 - IFT_T1 = 0x12 - IFT_TDLC = 0x74 - IFT_TERMPAD = 0x5b - IFT_TR008 = 0xb0 - IFT_TRANSPHDLC = 0x7b - IFT_TUNNEL = 0x83 - IFT_ULTRA = 0x1d - IFT_USB = 0xa0 - IFT_V11 = 0x40 - IFT_V35 = 0x2d - IFT_V36 = 0x41 - IFT_V37 = 0x78 - IFT_VDSL = 0x61 - IFT_VIRTUALIPADDRESS = 0x70 - IFT_VOICEEM = 0x64 - IFT_VOICEENCAP = 0x67 - IFT_VOICEFXO = 0x65 - IFT_VOICEFXS = 0x66 - IFT_VOICEOVERATM = 0x98 - IFT_VOICEOVERFRAMERELAY = 0x99 - IFT_VOICEOVERIP = 0x68 - IFT_X213 = 0x5d - IFT_X25 = 0x5 - IFT_X25DDN = 0x4 - IFT_X25HUNTGROUP = 0x7a - IFT_X25MLP = 0x79 - IFT_X25PLE = 0x28 - IFT_XETHER = 0x1a - IPPROTO_MAXID = 0x34 - IPV6_FAITH = 0x1d - IPV6_MIN_MEMBERSHIPS = 0x1f - IP_FAITH = 0x16 - IP_MAX_SOURCE_FILTER = 0x400 - IP_MIN_MEMBERSHIPS = 0x1f - MAP_NORESERVE = 0x40 - MAP_RENAME = 0x20 - NET_RT_MAXID = 0x6 - RTF_PRCLONING = 0x10000 - RTM_OLDADD = 0x9 - RTM_OLDDEL = 0xa - RT_CACHING_CONTEXT = 0x1 - RT_NORTREF = 0x2 - SIOCADDRT = 0x8040720a - SIOCALIFADDR = 0x8118691b - SIOCDELRT = 0x8040720b - SIOCDLIFADDR = 0x8118691d - SIOCGLIFADDR = 0xc118691c - SIOCGLIFPHYADDR = 0xc118694b - SIOCSLIFPHYADDR = 0x8118694a -) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/errors_freebsd_arm.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/errors_freebsd_arm.go deleted file mode 100644 index 856dca325438..000000000000 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/errors_freebsd_arm.go +++ /dev/null @@ -1,226 +0,0 @@ -// Copyright 2017 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -package unix - -const ( - IFT_1822 = 0x2 - IFT_A12MPPSWITCH = 0x82 - IFT_AAL2 = 0xbb - IFT_AAL5 = 0x31 - IFT_ADSL = 0x5e - IFT_AFLANE8023 = 0x3b - IFT_AFLANE8025 = 0x3c - IFT_ARAP = 0x58 - IFT_ARCNET = 0x23 - IFT_ARCNETPLUS = 0x24 - IFT_ASYNC = 0x54 - IFT_ATM = 0x25 - IFT_ATMDXI = 0x69 - IFT_ATMFUNI = 0x6a - IFT_ATMIMA = 0x6b - IFT_ATMLOGICAL = 0x50 - IFT_ATMRADIO = 0xbd - IFT_ATMSUBINTERFACE = 0x86 - IFT_ATMVCIENDPT = 0xc2 - IFT_ATMVIRTUAL = 0x95 - IFT_BGPPOLICYACCOUNTING = 0xa2 - IFT_BSC = 0x53 - IFT_CCTEMUL = 0x3d - IFT_CEPT = 0x13 - IFT_CES = 0x85 - IFT_CHANNEL = 0x46 - IFT_CNR = 0x55 - IFT_COFFEE = 0x84 - IFT_COMPOSITELINK = 0x9b - IFT_DCN = 0x8d - IFT_DIGITALPOWERLINE = 0x8a - IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba - IFT_DLSW = 0x4a - IFT_DOCSCABLEDOWNSTREAM = 0x80 - IFT_DOCSCABLEMACLAYER = 0x7f - IFT_DOCSCABLEUPSTREAM = 0x81 - IFT_DS0 = 0x51 - IFT_DS0BUNDLE = 0x52 - IFT_DS1FDL = 0xaa - IFT_DS3 = 0x1e - IFT_DTM = 0x8c - IFT_DVBASILN = 0xac - IFT_DVBASIOUT = 0xad - IFT_DVBRCCDOWNSTREAM = 0x93 - IFT_DVBRCCMACLAYER = 0x92 - IFT_DVBRCCUPSTREAM = 0x94 - IFT_ENC = 0xf4 - IFT_EON = 0x19 - IFT_EPLRS = 0x57 - IFT_ESCON = 0x49 - IFT_ETHER = 0x6 - IFT_FAST = 0x7d - IFT_FASTETHER = 0x3e - IFT_FASTETHERFX = 0x45 - IFT_FDDI = 0xf - IFT_FIBRECHANNEL = 0x38 - IFT_FRAMERELAYINTERCONNECT = 0x3a - IFT_FRAMERELAYMPI = 0x5c - IFT_FRDLCIENDPT = 0xc1 - IFT_FRELAY = 0x20 - IFT_FRELAYDCE = 0x2c - IFT_FRF16MFRBUNDLE = 0xa3 - IFT_FRFORWARD = 0x9e - IFT_G703AT2MB = 0x43 - IFT_G703AT64K = 0x42 - IFT_GIF = 0xf0 - IFT_GIGABITETHERNET = 0x75 - IFT_GR303IDT = 0xb2 - IFT_GR303RDT = 0xb1 - IFT_H323GATEKEEPER = 0xa4 - IFT_H323PROXY = 0xa5 - IFT_HDH1822 = 0x3 - IFT_HDLC = 0x76 - IFT_HDSL2 = 0xa8 - IFT_HIPERLAN2 = 0xb7 - IFT_HIPPI = 0x2f - IFT_HIPPIINTERFACE = 0x39 - IFT_HOSTPAD = 0x5a - IFT_HSSI = 0x2e - IFT_HY = 0xe - IFT_IBM370PARCHAN = 0x48 - IFT_IDSL = 0x9a - IFT_IEEE80211 = 0x47 - IFT_IEEE80212 = 0x37 - IFT_IEEE8023ADLAG = 0xa1 - IFT_IFGSN = 0x91 - IFT_IMT = 0xbe - IFT_INTERLEAVE = 0x7c - IFT_IP = 0x7e - IFT_IPFORWARD = 0x8e - IFT_IPOVERATM = 0x72 - IFT_IPOVERCDLC = 0x6d - IFT_IPOVERCLAW = 0x6e - IFT_IPSWITCH = 0x4e - IFT_ISDN = 0x3f - IFT_ISDNBASIC = 0x14 - IFT_ISDNPRIMARY = 0x15 - IFT_ISDNS = 0x4b - IFT_ISDNU = 0x4c - IFT_ISO88022LLC = 0x29 - IFT_ISO88023 = 0x7 - IFT_ISO88024 = 0x8 - IFT_ISO88025 = 0x9 - IFT_ISO88025CRFPINT = 0x62 - IFT_ISO88025DTR = 0x56 - IFT_ISO88025FIBER = 0x73 - IFT_ISO88026 = 0xa - IFT_ISUP = 0xb3 - IFT_L3IPXVLAN = 0x89 - IFT_LAPB = 0x10 - IFT_LAPD = 0x4d - IFT_LAPF = 0x77 - IFT_LOCALTALK = 0x2a - IFT_LOOP = 0x18 - IFT_MEDIAMAILOVERIP = 0x8b - IFT_MFSIGLINK = 0xa7 - IFT_MIOX25 = 0x26 - IFT_MODEM = 0x30 - IFT_MPC = 0x71 - IFT_MPLS = 0xa6 - IFT_MPLSTUNNEL = 0x96 - IFT_MSDSL = 0x8f - IFT_MVL = 0xbf - IFT_MYRINET = 0x63 - IFT_NFAS = 0xaf - IFT_NSIP = 0x1b - IFT_OPTICALCHANNEL = 0xc3 - IFT_OPTICALTRANSPORT = 0xc4 - IFT_OTHER = 0x1 - IFT_P10 = 0xc - IFT_P80 = 0xd - IFT_PARA = 0x22 - IFT_PFLOG = 0xf6 - IFT_PFSYNC = 0xf7 - IFT_PLC = 0xae - IFT_POS = 0xab - IFT_PPPMULTILINKBUNDLE = 0x6c - IFT_PROPBWAP2MP = 0xb8 - IFT_PROPCNLS = 0x59 - IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5 - IFT_PROPDOCSWIRELESSMACLAYER = 0xb4 - IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6 - IFT_PROPMUX = 0x36 - IFT_PROPWIRELESSP2P = 0x9d - IFT_PTPSERIAL = 0x16 - IFT_PVC = 0xf1 - IFT_QLLC = 0x44 - IFT_RADIOMAC = 0xbc - IFT_RADSL = 0x5f - IFT_REACHDSL = 0xc0 - IFT_RFC1483 = 0x9f - IFT_RS232 = 0x21 - IFT_RSRB = 0x4f - IFT_SDLC = 0x11 - IFT_SDSL = 0x60 - IFT_SHDSL = 0xa9 - IFT_SIP = 0x1f - IFT_SLIP = 0x1c - IFT_SMDSDXI = 0x2b - IFT_SMDSICIP = 0x34 - IFT_SONET = 0x27 - IFT_SONETOVERHEADCHANNEL = 0xb9 - IFT_SONETPATH = 0x32 - IFT_SONETVT = 0x33 - IFT_SRP = 0x97 - IFT_SS7SIGLINK = 0x9c - IFT_STACKTOSTACK = 0x6f - IFT_STARLAN = 0xb - IFT_STF = 0xd7 - IFT_T1 = 0x12 - IFT_TDLC = 0x74 - IFT_TERMPAD = 0x5b - IFT_TR008 = 0xb0 - IFT_TRANSPHDLC = 0x7b - IFT_TUNNEL = 0x83 - IFT_ULTRA = 0x1d - IFT_USB = 0xa0 - IFT_V11 = 0x40 - IFT_V35 = 0x2d - IFT_V36 = 0x41 - IFT_V37 = 0x78 - IFT_VDSL = 0x61 - IFT_VIRTUALIPADDRESS = 0x70 - IFT_VOICEEM = 0x64 - IFT_VOICEENCAP = 0x67 - IFT_VOICEFXO = 0x65 - IFT_VOICEFXS = 0x66 - IFT_VOICEOVERATM = 0x98 - IFT_VOICEOVERFRAMERELAY = 0x99 - IFT_VOICEOVERIP = 0x68 - IFT_X213 = 0x5d - IFT_X25 = 0x5 - IFT_X25DDN = 0x4 - IFT_X25HUNTGROUP = 0x7a - IFT_X25MLP = 0x79 - IFT_X25PLE = 0x28 - IFT_XETHER = 0x1a - - // missing constants on FreeBSD-11.1-RELEASE, copied from old values in ztypes_freebsd_arm.go - IFF_SMART = 0x20 - IFT_FAITH = 0xf2 - IFT_IPXIP = 0xf9 - IPPROTO_MAXID = 0x34 - IPV6_FAITH = 0x1d - IP_FAITH = 0x16 - MAP_NORESERVE = 0x40 - MAP_RENAME = 0x20 - NET_RT_MAXID = 0x6 - RTF_PRCLONING = 0x10000 - RTM_OLDADD = 0x9 - RTM_OLDDEL = 0xa - SIOCADDRT = 0x8030720a - SIOCALIFADDR = 0x8118691b - SIOCDELRT = 0x8030720b - SIOCDLIFADDR = 0x8118691d - SIOCGLIFADDR = 0xc118691c - SIOCGLIFPHYADDR = 0xc118694b - SIOCSLIFPHYADDR = 0x8118694a -) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go deleted file mode 100644 index 946dcf3fc7ec..000000000000 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/errors_freebsd_arm64.go +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright 2020 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// Constants that were deprecated or moved to enums in the FreeBSD headers. Keep -// them here for backwards compatibility. - -package unix - -const ( - DLT_HHDLC = 0x79 - IPV6_MIN_MEMBERSHIPS = 0x1f - IP_MAX_SOURCE_FILTER = 0x400 - IP_MIN_MEMBERSHIPS = 0x1f - RT_CACHING_CONTEXT = 0x1 - RT_NORTREF = 0x2 -) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ifreq_linux.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ifreq_linux.go index 934af313c323..15721a5104e4 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ifreq_linux.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ifreq_linux.go @@ -8,7 +8,6 @@ package unix import ( - "bytes" "unsafe" ) @@ -45,13 +44,7 @@ func NewIfreq(name string) (*Ifreq, error) { // Name returns the interface name associated with the Ifreq. func (ifr *Ifreq) Name() string { - // BytePtrToString requires a NULL terminator or the program may crash. If - // one is not present, just return the empty string. - if !bytes.Contains(ifr.raw.Ifrn[:], []byte{0x00}) { - return "" - } - - return BytePtrToString(&ifr.raw.Ifrn[0]) + return ByteSliceToString(ifr.raw.Ifrn[:]) } // According to netdevice(7), only AF_INET addresses are returned for numerous diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/mkall.sh b/cluster-autoscaler/vendor/golang.org/x/sys/unix/mkall.sh index ee73623489b0..dcef4de6f186 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/mkall.sh +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/mkall.sh @@ -89,25 +89,30 @@ dragonfly_amd64) freebsd_386) mkerrors="$mkerrors -m32" mksyscall="go run mksyscall.go -l32" - mksysnum="go run mksysnum.go 'https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master'" + mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'" mktypes="GOARCH=$GOARCH go tool cgo -godefs" ;; freebsd_amd64) mkerrors="$mkerrors -m64" - mksysnum="go run mksysnum.go 'https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master'" + mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'" mktypes="GOARCH=$GOARCH go tool cgo -godefs" ;; freebsd_arm) mkerrors="$mkerrors" mksyscall="go run mksyscall.go -l32 -arm" - mksysnum="go run mksysnum.go 'https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master'" + mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'" # Let the type of C char be signed for making the bare syscall # API consistent across platforms. mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char" ;; freebsd_arm64) mkerrors="$mkerrors -m64" - mksysnum="go run mksysnum.go 'https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master'" + mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'" + mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char" + ;; +freebsd_riscv64) + mkerrors="$mkerrors -m64" + mksysnum="go run mksysnum.go 'https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12'" mktypes="GOARCH=$GOARCH go tool cgo -godefs -- -fsigned-char" ;; netbsd_386) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/mkerrors.sh b/cluster-autoscaler/vendor/golang.org/x/sys/unix/mkerrors.sh index d888fb770364..2ab44aa65917 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/mkerrors.sh +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/mkerrors.sh @@ -128,6 +128,7 @@ includes_FreeBSD=' #include #include #include +#include #include #include #include @@ -202,6 +203,7 @@ struct ltchars { #include #include #include +#include #include #include #include @@ -295,6 +297,10 @@ struct ltchars { #define SOL_NETLINK 270 #endif +#ifndef SOL_SMC +#define SOL_SMC 286 +#endif + #ifdef SOL_BLUETOOTH // SPARC includes this in /usr/include/sparc64-linux-gnu/bits/socket.h // but it is already in bluetooth_linux.go @@ -529,7 +535,7 @@ ccflags="$@" $2 ~ /^(MS|MNT|MOUNT|UMOUNT)_/ || $2 ~ /^NS_GET_/ || $2 ~ /^TUN(SET|GET|ATTACH|DETACH)/ || - $2 ~ /^(O|F|[ES]?FD|NAME|S|PTRACE|PT|TFD)_/ || + $2 ~ /^(O|F|[ES]?FD|NAME|S|PTRACE|PT|PIOD|TFD)_/ || $2 ~ /^KEXEC_/ || $2 ~ /^LINUX_REBOOT_CMD_/ || $2 ~ /^LINUX_REBOOT_MAGIC[12]$/ || @@ -553,6 +559,7 @@ ccflags="$@" $2 ~ /^CLONE_[A-Z_]+/ || $2 !~ /^(BPF_TIMEVAL|BPF_FIB_LOOKUP_[A-Z]+)$/ && $2 ~ /^(BPF|DLT)_/ || + $2 ~ /^AUDIT_/ || $2 ~ /^(CLOCK|TIMER)_/ || $2 ~ /^CAN_/ || $2 ~ /^CAP_/ || @@ -575,7 +582,6 @@ ccflags="$@" $2 ~ /^SEEK_/ || $2 ~ /^SPLICE_/ || $2 ~ /^SYNC_FILE_RANGE_/ || - $2 !~ /^AUDIT_RECORD_MAGIC/ && $2 !~ /IOC_MAGIC/ && $2 ~ /^[A-Z][A-Z0-9_]+_MAGIC2?$/ || $2 ~ /^(VM|VMADDR)_/ || diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_aix.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_aix.go index f2a114fc27b6..ac579c60feb2 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_aix.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_aix.go @@ -37,6 +37,7 @@ func Creat(path string, mode uint32) (fd int, err error) { } //sys utimes(path string, times *[2]Timeval) (err error) + func Utimes(path string, tv []Timeval) error { if len(tv) != 2 { return EINVAL @@ -45,6 +46,7 @@ func Utimes(path string, tv []Timeval) error { } //sys utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error) + func UtimesNano(path string, ts []Timespec) error { if len(ts) != 2 { return EINVAL @@ -215,12 +217,12 @@ func Accept(fd int) (nfd int, sa Sockaddr, err error) { return } -func recvmsgRaw(fd int, p, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) { +func recvmsgRaw(fd int, iov []Iovec, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) { // Recvmsg not implemented on AIX return -1, -1, -1, ENOSYS } -func sendmsgN(fd int, p, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) { +func sendmsgN(fd int, iov []Iovec, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) { // SendmsgN not implemented on AIX return -1, ENOSYS } @@ -300,11 +302,13 @@ func direntNamlen(buf []byte) (uint64, bool) { } //sys getdirent(fd int, buf []byte) (n int, err error) + func Getdents(fd int, buf []byte) (n int, err error) { return getdirent(fd, buf) } //sys wait4(pid Pid_t, status *_C_int, options int, rusage *Rusage) (wpid Pid_t, err error) + func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) { var status _C_int var r Pid_t @@ -372,6 +376,7 @@ func (w WaitStatus) TrapCause() int { return -1 } //sys fcntl(fd int, cmd int, arg int) (val int, err error) //sys fsyncRange(fd int, how int, start int64, length int64) (err error) = fsync_range + func Fsync(fd int) error { return fsyncRange(fd, O_SYNC, 0, 0) } @@ -536,6 +541,7 @@ func Poll(fds []PollFd, timeout int) (n int, err error) { //sys Getsystemcfg(label int) (n uint64) //sys umount(target string) (err error) + func Unmount(target string, flags int) (err error) { if flags != 0 { // AIX doesn't have any flags for umount. diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_bsd.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_bsd.go index 9c87c5f07f8c..c437fc5d7bb1 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_bsd.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_bsd.go @@ -325,27 +325,26 @@ func GetsockoptString(fd, level, opt int) (string, error) { //sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) //sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) -func recvmsgRaw(fd int, p, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) { +func recvmsgRaw(fd int, iov []Iovec, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) { var msg Msghdr msg.Name = (*byte)(unsafe.Pointer(rsa)) msg.Namelen = uint32(SizeofSockaddrAny) - var iov Iovec - if len(p) > 0 { - iov.Base = (*byte)(unsafe.Pointer(&p[0])) - iov.SetLen(len(p)) - } var dummy byte if len(oob) > 0 { // receive at least one normal byte - if len(p) == 0 { - iov.Base = &dummy - iov.SetLen(1) + if emptyIovecs(iov) { + var iova [1]Iovec + iova[0].Base = &dummy + iova[0].SetLen(1) + iov = iova[:] } msg.Control = (*byte)(unsafe.Pointer(&oob[0])) msg.SetControllen(len(oob)) } - msg.Iov = &iov - msg.Iovlen = 1 + if len(iov) > 0 { + msg.Iov = &iov[0] + msg.SetIovlen(len(iov)) + } if n, err = recvmsg(fd, &msg, flags); err != nil { return } @@ -356,31 +355,32 @@ func recvmsgRaw(fd int, p, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) -func sendmsgN(fd int, p, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) { +func sendmsgN(fd int, iov []Iovec, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) { var msg Msghdr msg.Name = (*byte)(unsafe.Pointer(ptr)) msg.Namelen = uint32(salen) - var iov Iovec - if len(p) > 0 { - iov.Base = (*byte)(unsafe.Pointer(&p[0])) - iov.SetLen(len(p)) - } var dummy byte + var empty bool if len(oob) > 0 { // send at least one normal byte - if len(p) == 0 { - iov.Base = &dummy - iov.SetLen(1) + empty := emptyIovecs(iov) + if empty { + var iova [1]Iovec + iova[0].Base = &dummy + iova[0].SetLen(1) + iov = iova[:] } msg.Control = (*byte)(unsafe.Pointer(&oob[0])) msg.SetControllen(len(oob)) } - msg.Iov = &iov - msg.Iovlen = 1 + if len(iov) > 0 { + msg.Iov = &iov[0] + msg.SetIovlen(len(iov)) + } if n, err = sendmsg(fd, &msg, flags); err != nil { return 0, err } - if len(oob) > 0 && len(p) == 0 { + if len(oob) > 0 && empty { n = 0 } return n, nil diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_darwin.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_darwin.go index 09a25c65321f..4f87f16ea7cf 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_darwin.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_darwin.go @@ -393,6 +393,13 @@ func GetsockoptXucred(fd, level, opt int) (*Xucred, error) { return x, err } +func GetsockoptTCPConnectionInfo(fd, level, opt int) (*TCPConnectionInfo, error) { + var value TCPConnectionInfo + vallen := _Socklen(SizeofTCPConnectionInfo) + err := getsockopt(fd, level, opt, unsafe.Pointer(&value), &vallen) + return &value, err +} + func SysctlKinfoProc(name string, args ...int) (*KinfoProc, error) { mib, err := sysctlmib(name, args...) if err != nil { @@ -504,6 +511,7 @@ func SysctlKinfoProcSlice(name string, args ...int) ([]KinfoProc, error) { //sys Mkdirat(dirfd int, path string, mode uint32) (err error) //sys Mkfifo(path string, mode uint32) (err error) //sys Mknod(path string, mode uint32, dev int) (err error) +//sys Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) //sys Open(path string, mode int, perm uint32) (fd int, err error) //sys Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error) //sys Pathconf(path string, name int) (val int, err error) @@ -572,7 +580,6 @@ func SysctlKinfoProcSlice(name string, args ...int) ([]KinfoProc, error) { // Nfssvc // Getfh // Quotactl -// Mount // Csops // Waitid // Add_profil diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_dragonfly.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_dragonfly.go index c61e27498000..61c0d0de15d5 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_dragonfly.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_dragonfly.go @@ -125,11 +125,13 @@ func Pipe2(p []int, flags int) (err error) { } //sys extpread(fd int, p []byte, flags int, offset int64) (n int, err error) + func pread(fd int, p []byte, offset int64) (n int, err error) { return extpread(fd, p, 0, offset) } //sys extpwrite(fd int, p []byte, flags int, offset int64) (n int, err error) + func pwrite(fd int, p []byte, offset int64) (n int, err error) { return extpwrite(fd, p, 0, offset) } diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd.go index 6f6c510f4130..de7c23e0648a 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd.go @@ -17,25 +17,12 @@ import ( "unsafe" ) -const ( - SYS_FSTAT_FREEBSD12 = 551 // { int fstat(int fd, _Out_ struct stat *sb); } - SYS_FSTATAT_FREEBSD12 = 552 // { int fstatat(int fd, _In_z_ char *path, \ - SYS_GETDIRENTRIES_FREEBSD12 = 554 // { ssize_t getdirentries(int fd, \ - SYS_STATFS_FREEBSD12 = 555 // { int statfs(_In_z_ char *path, \ - SYS_FSTATFS_FREEBSD12 = 556 // { int fstatfs(int fd, \ - SYS_GETFSSTAT_FREEBSD12 = 557 // { int getfsstat( \ - SYS_MKNODAT_FREEBSD12 = 559 // { int mknodat(int fd, _In_z_ char *path, \ -) - // See https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/versions.html. var ( osreldateOnce sync.Once osreldate uint32 ) -// INO64_FIRST from /usr/src/lib/libc/sys/compat-ino64.h -const _ino64First = 1200031 - func supportsABI(ver uint32) bool { osreldateOnce.Do(func() { osreldate, _ = SysctlUint32("kern.osreldate") }) return osreldate >= ver @@ -159,38 +146,18 @@ func Accept4(fd, flags int) (nfd int, sa Sockaddr, err error) { func Getfsstat(buf []Statfs_t, flags int) (n int, err error) { var ( - _p0 unsafe.Pointer - bufsize uintptr - oldBuf []statfs_freebsd11_t - needsConvert bool + _p0 unsafe.Pointer + bufsize uintptr ) - if len(buf) > 0 { - if supportsABI(_ino64First) { - _p0 = unsafe.Pointer(&buf[0]) - bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf)) - } else { - n := len(buf) - oldBuf = make([]statfs_freebsd11_t, n) - _p0 = unsafe.Pointer(&oldBuf[0]) - bufsize = unsafe.Sizeof(statfs_freebsd11_t{}) * uintptr(n) - needsConvert = true - } + _p0 = unsafe.Pointer(&buf[0]) + bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf)) } - var sysno uintptr = SYS_GETFSSTAT - if supportsABI(_ino64First) { - sysno = SYS_GETFSSTAT_FREEBSD12 - } - r0, _, e1 := Syscall(sysno, uintptr(_p0), bufsize, uintptr(flags)) + r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags)) n = int(r0) if e1 != 0 { err = e1 } - if e1 == 0 && needsConvert { - for i := range oldBuf { - buf[i].convertFrom(&oldBuf[i]) - } - } return } @@ -245,87 +212,11 @@ func Uname(uname *Utsname) error { } func Stat(path string, st *Stat_t) (err error) { - var oldStat stat_freebsd11_t - if supportsABI(_ino64First) { - return fstatat_freebsd12(AT_FDCWD, path, st, 0) - } - err = stat(path, &oldStat) - if err != nil { - return err - } - - st.convertFrom(&oldStat) - return nil + return Fstatat(AT_FDCWD, path, st, 0) } func Lstat(path string, st *Stat_t) (err error) { - var oldStat stat_freebsd11_t - if supportsABI(_ino64First) { - return fstatat_freebsd12(AT_FDCWD, path, st, AT_SYMLINK_NOFOLLOW) - } - err = lstat(path, &oldStat) - if err != nil { - return err - } - - st.convertFrom(&oldStat) - return nil -} - -func Fstat(fd int, st *Stat_t) (err error) { - var oldStat stat_freebsd11_t - if supportsABI(_ino64First) { - return fstat_freebsd12(fd, st) - } - err = fstat(fd, &oldStat) - if err != nil { - return err - } - - st.convertFrom(&oldStat) - return nil -} - -func Fstatat(fd int, path string, st *Stat_t, flags int) (err error) { - var oldStat stat_freebsd11_t - if supportsABI(_ino64First) { - return fstatat_freebsd12(fd, path, st, flags) - } - err = fstatat(fd, path, &oldStat, flags) - if err != nil { - return err - } - - st.convertFrom(&oldStat) - return nil -} - -func Statfs(path string, st *Statfs_t) (err error) { - var oldStatfs statfs_freebsd11_t - if supportsABI(_ino64First) { - return statfs_freebsd12(path, st) - } - err = statfs(path, &oldStatfs) - if err != nil { - return err - } - - st.convertFrom(&oldStatfs) - return nil -} - -func Fstatfs(fd int, st *Statfs_t) (err error) { - var oldStatfs statfs_freebsd11_t - if supportsABI(_ino64First) { - return fstatfs_freebsd12(fd, st) - } - err = fstatfs(fd, &oldStatfs) - if err != nil { - return err - } - - st.convertFrom(&oldStatfs) - return nil + return Fstatat(AT_FDCWD, path, st, AT_SYMLINK_NOFOLLOW) } func Getdents(fd int, buf []byte) (n int, err error) { @@ -333,162 +224,25 @@ func Getdents(fd int, buf []byte) (n int, err error) { } func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { - if supportsABI(_ino64First) { - if basep == nil || unsafe.Sizeof(*basep) == 8 { - return getdirentries_freebsd12(fd, buf, (*uint64)(unsafe.Pointer(basep))) - } - // The freebsd12 syscall needs a 64-bit base. On 32-bit machines - // we can't just use the basep passed in. See #32498. - var base uint64 = uint64(*basep) - n, err = getdirentries_freebsd12(fd, buf, &base) - *basep = uintptr(base) - if base>>32 != 0 { - // We can't stuff the base back into a uintptr, so any - // future calls would be suspect. Generate an error. - // EIO is allowed by getdirentries. - err = EIO - } - return - } - - // The old syscall entries are smaller than the new. Use 1/4 of the original - // buffer size rounded up to DIRBLKSIZ (see /usr/src/lib/libc/sys/getdirentries.c). - oldBufLen := roundup(len(buf)/4, _dirblksiz) - oldBuf := make([]byte, oldBufLen) - n, err = getdirentries(fd, oldBuf, basep) - if err == nil && n > 0 { - n = convertFromDirents11(buf, oldBuf[:n]) + if basep == nil || unsafe.Sizeof(*basep) == 8 { + return getdirentries(fd, buf, (*uint64)(unsafe.Pointer(basep))) + } + // The syscall needs a 64-bit base. On 32-bit machines + // we can't just use the basep passed in. See #32498. + var base uint64 = uint64(*basep) + n, err = getdirentries(fd, buf, &base) + *basep = uintptr(base) + if base>>32 != 0 { + // We can't stuff the base back into a uintptr, so any + // future calls would be suspect. Generate an error. + // EIO is allowed by getdirentries. + err = EIO } return } func Mknod(path string, mode uint32, dev uint64) (err error) { - var oldDev int - if supportsABI(_ino64First) { - return mknodat_freebsd12(AT_FDCWD, path, mode, dev) - } - oldDev = int(dev) - return mknod(path, mode, oldDev) -} - -func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) { - var oldDev int - if supportsABI(_ino64First) { - return mknodat_freebsd12(fd, path, mode, dev) - } - oldDev = int(dev) - return mknodat(fd, path, mode, oldDev) -} - -// round x to the nearest multiple of y, larger or equal to x. -// -// from /usr/include/sys/param.h Macros for counting and rounding. -// #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) -func roundup(x, y int) int { - return ((x + y - 1) / y) * y -} - -func (s *Stat_t) convertFrom(old *stat_freebsd11_t) { - *s = Stat_t{ - Dev: uint64(old.Dev), - Ino: uint64(old.Ino), - Nlink: uint64(old.Nlink), - Mode: old.Mode, - Uid: old.Uid, - Gid: old.Gid, - Rdev: uint64(old.Rdev), - Atim: old.Atim, - Mtim: old.Mtim, - Ctim: old.Ctim, - Btim: old.Btim, - Size: old.Size, - Blocks: old.Blocks, - Blksize: old.Blksize, - Flags: old.Flags, - Gen: uint64(old.Gen), - } -} - -func (s *Statfs_t) convertFrom(old *statfs_freebsd11_t) { - *s = Statfs_t{ - Version: _statfsVersion, - Type: old.Type, - Flags: old.Flags, - Bsize: old.Bsize, - Iosize: old.Iosize, - Blocks: old.Blocks, - Bfree: old.Bfree, - Bavail: old.Bavail, - Files: old.Files, - Ffree: old.Ffree, - Syncwrites: old.Syncwrites, - Asyncwrites: old.Asyncwrites, - Syncreads: old.Syncreads, - Asyncreads: old.Asyncreads, - // Spare - Namemax: old.Namemax, - Owner: old.Owner, - Fsid: old.Fsid, - // Charspare - // Fstypename - // Mntfromname - // Mntonname - } - - sl := old.Fstypename[:] - n := clen(*(*[]byte)(unsafe.Pointer(&sl))) - copy(s.Fstypename[:], old.Fstypename[:n]) - - sl = old.Mntfromname[:] - n = clen(*(*[]byte)(unsafe.Pointer(&sl))) - copy(s.Mntfromname[:], old.Mntfromname[:n]) - - sl = old.Mntonname[:] - n = clen(*(*[]byte)(unsafe.Pointer(&sl))) - copy(s.Mntonname[:], old.Mntonname[:n]) -} - -func convertFromDirents11(buf []byte, old []byte) int { - const ( - fixedSize = int(unsafe.Offsetof(Dirent{}.Name)) - oldFixedSize = int(unsafe.Offsetof(dirent_freebsd11{}.Name)) - ) - - dstPos := 0 - srcPos := 0 - for dstPos+fixedSize < len(buf) && srcPos+oldFixedSize < len(old) { - var dstDirent Dirent - var srcDirent dirent_freebsd11 - - // If multiple direntries are written, sometimes when we reach the final one, - // we may have cap of old less than size of dirent_freebsd11. - copy((*[unsafe.Sizeof(srcDirent)]byte)(unsafe.Pointer(&srcDirent))[:], old[srcPos:]) - - reclen := roundup(fixedSize+int(srcDirent.Namlen)+1, 8) - if dstPos+reclen > len(buf) { - break - } - - dstDirent.Fileno = uint64(srcDirent.Fileno) - dstDirent.Off = 0 - dstDirent.Reclen = uint16(reclen) - dstDirent.Type = srcDirent.Type - dstDirent.Pad0 = 0 - dstDirent.Namlen = uint16(srcDirent.Namlen) - dstDirent.Pad1 = 0 - - copy(dstDirent.Name[:], srcDirent.Name[:srcDirent.Namlen]) - copy(buf[dstPos:], (*[unsafe.Sizeof(dstDirent)]byte)(unsafe.Pointer(&dstDirent))[:]) - padding := buf[dstPos+fixedSize+int(dstDirent.Namlen) : dstPos+reclen] - for i := range padding { - padding[i] = 0 - } - - dstPos += int(dstDirent.Reclen) - srcPos += int(srcDirent.Reclen) - } - - return dstPos + return Mknodat(AT_FDCWD, path, mode, dev) } func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { @@ -501,31 +255,31 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e //sys ptrace(request int, pid int, addr uintptr, data int) (err error) func PtraceAttach(pid int) (err error) { - return ptrace(PTRACE_ATTACH, pid, 0, 0) + return ptrace(PT_ATTACH, pid, 0, 0) } func PtraceCont(pid int, signal int) (err error) { - return ptrace(PTRACE_CONT, pid, 1, signal) + return ptrace(PT_CONTINUE, pid, 1, signal) } func PtraceDetach(pid int) (err error) { - return ptrace(PTRACE_DETACH, pid, 1, 0) + return ptrace(PT_DETACH, pid, 1, 0) } func PtraceGetFpRegs(pid int, fpregsout *FpReg) (err error) { - return ptrace(PTRACE_GETFPREGS, pid, uintptr(unsafe.Pointer(fpregsout)), 0) + return ptrace(PT_GETFPREGS, pid, uintptr(unsafe.Pointer(fpregsout)), 0) } func PtraceGetRegs(pid int, regsout *Reg) (err error) { - return ptrace(PTRACE_GETREGS, pid, uintptr(unsafe.Pointer(regsout)), 0) + return ptrace(PT_GETREGS, pid, uintptr(unsafe.Pointer(regsout)), 0) } func PtraceLwpEvents(pid int, enable int) (err error) { - return ptrace(PTRACE_LWPEVENTS, pid, 0, enable) + return ptrace(PT_LWP_EVENTS, pid, 0, enable) } func PtraceLwpInfo(pid int, info uintptr) (err error) { - return ptrace(PTRACE_LWPINFO, pid, info, int(unsafe.Sizeof(PtraceLwpInfoStruct{}))) + return ptrace(PT_LWPINFO, pid, info, int(unsafe.Sizeof(PtraceLwpInfoStruct{}))) } func PtracePeekData(pid int, addr uintptr, out []byte) (count int, err error) { @@ -545,11 +299,11 @@ func PtracePokeText(pid int, addr uintptr, data []byte) (count int, err error) { } func PtraceSetRegs(pid int, regs *Reg) (err error) { - return ptrace(PTRACE_SETREGS, pid, uintptr(unsafe.Pointer(regs)), 0) + return ptrace(PT_SETREGS, pid, uintptr(unsafe.Pointer(regs)), 0) } func PtraceSingleStep(pid int) (err error) { - return ptrace(PTRACE_SINGLESTEP, pid, 1, 0) + return ptrace(PT_STEP, pid, 1, 0) } /* @@ -591,16 +345,12 @@ func PtraceSingleStep(pid int) (err error) { //sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) //sys Flock(fd int, how int) (err error) //sys Fpathconf(fd int, name int) (val int, err error) -//sys fstat(fd int, stat *stat_freebsd11_t) (err error) -//sys fstat_freebsd12(fd int, stat *Stat_t) (err error) -//sys fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) -//sys fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error) -//sys fstatfs(fd int, stat *statfs_freebsd11_t) (err error) -//sys fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) +//sys Fstat(fd int, stat *Stat_t) (err error) +//sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) +//sys Fstatfs(fd int, stat *Statfs_t) (err error) //sys Fsync(fd int) (err error) //sys Ftruncate(fd int, length int64) (err error) -//sys getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) -//sys getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error) +//sys getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) //sys Getdtablesize() (size int) //sysnb Getegid() (egid int) //sysnb Geteuid() (uid int) @@ -622,13 +372,10 @@ func PtraceSingleStep(pid int) (err error) { //sys Link(path string, link string) (err error) //sys Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) //sys Listen(s int, backlog int) (err error) -//sys lstat(path string, stat *stat_freebsd11_t) (err error) //sys Mkdir(path string, mode uint32) (err error) //sys Mkdirat(dirfd int, path string, mode uint32) (err error) //sys Mkfifo(path string, mode uint32) (err error) -//sys mknod(path string, mode uint32, dev int) (err error) -//sys mknodat(fd int, path string, mode uint32, dev int) (err error) -//sys mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) +//sys Mknodat(fd int, path string, mode uint32, dev uint64) (err error) //sys Nanosleep(time *Timespec, leftover *Timespec) (err error) //sys Open(path string, mode int, perm uint32) (fd int, err error) //sys Openat(fdat int, path string, mode int, perm uint32) (fd int, err error) @@ -658,9 +405,7 @@ func PtraceSingleStep(pid int) (err error) { //sysnb Setsid() (pid int, err error) //sysnb Settimeofday(tp *Timeval) (err error) //sysnb Setuid(uid int) (err error) -//sys stat(path string, stat *stat_freebsd11_t) (err error) -//sys statfs(path string, stat *statfs_freebsd11_t) (err error) -//sys statfs_freebsd12(path string, stat *Statfs_t) (err error) +//sys Statfs(path string, stat *Statfs_t) (err error) //sys Symlink(path string, link string) (err error) //sys Symlinkat(oldpath string, newdirfd int, newpath string) (err error) //sys Sync() (err error) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go index 342fc32b1686..c3c4c698e072 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go @@ -57,11 +57,11 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) func PtraceGetFsBase(pid int, fsbase *int64) (err error) { - return ptrace(PTRACE_GETFSBASE, pid, uintptr(unsafe.Pointer(fsbase)), 0) + return ptrace(PT_GETFSBASE, pid, uintptr(unsafe.Pointer(fsbase)), 0) } func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) { ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint32(countin)} - err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) + err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) return int(ioDesc.Len), err } diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go index a32d5aa4aed4..82be61a2f98b 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go @@ -57,11 +57,11 @@ func sendfile(outfd int, infd int, offset *int64, count int) (written int, err e func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) func PtraceGetFsBase(pid int, fsbase *int64) (err error) { - return ptrace(PTRACE_GETFSBASE, pid, uintptr(unsafe.Pointer(fsbase)), 0) + return ptrace(PT_GETFSBASE, pid, uintptr(unsafe.Pointer(fsbase)), 0) } func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) { ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint64(countin)} - err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) + err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) return int(ioDesc.Len), err } diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go index 1e36d39abe01..cd58f1026c05 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go @@ -58,6 +58,6 @@ func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) { ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint32(countin)} - err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) + err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) return int(ioDesc.Len), err } diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go index a09a1537bd6f..d6f538f9e007 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go @@ -58,6 +58,6 @@ func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) { ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint64(countin)} - err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) + err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) return int(ioDesc.Len), err } diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go new file mode 100644 index 000000000000..8ea6e96100ac --- /dev/null +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_freebsd_riscv64.go @@ -0,0 +1,63 @@ +// Copyright 2022 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build riscv64 && freebsd +// +build riscv64,freebsd + +package unix + +import ( + "syscall" + "unsafe" +) + +func setTimespec(sec, nsec int64) Timespec { + return Timespec{Sec: sec, Nsec: nsec} +} + +func setTimeval(sec, usec int64) Timeval { + return Timeval{Sec: sec, Usec: usec} +} + +func SetKevent(k *Kevent_t, fd, mode, flags int) { + k.Ident = uint64(fd) + k.Filter = int16(mode) + k.Flags = uint16(flags) +} + +func (iov *Iovec) SetLen(length int) { + iov.Len = uint64(length) +} + +func (msghdr *Msghdr) SetControllen(length int) { + msghdr.Controllen = uint32(length) +} + +func (msghdr *Msghdr) SetIovlen(length int) { + msghdr.Iovlen = int32(length) +} + +func (cmsg *Cmsghdr) SetLen(length int) { + cmsg.Len = uint32(length) +} + +func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { + var writtenOut uint64 = 0 + _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0) + + written = int(writtenOut) + + if e1 != 0 { + err = e1 + } + return +} + +func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) + +func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) { + ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint64(countin)} + err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) + return int(ioDesc.Len), err +} diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_illumos.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_illumos.go index 8d5f294c4250..e48244a9c9a5 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_illumos.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_illumos.go @@ -20,10 +20,9 @@ func bytes2iovec(bs [][]byte) []Iovec { for i, b := range bs { iovecs[i].SetLen(len(b)) if len(b) > 0 { - // somehow Iovec.Base on illumos is (*int8), not (*byte) - iovecs[i].Base = (*int8)(unsafe.Pointer(&b[0])) + iovecs[i].Base = &b[0] } else { - iovecs[i].Base = (*int8)(unsafe.Pointer(&_zero)) + iovecs[i].Base = (*byte)(unsafe.Pointer(&_zero)) } } return iovecs diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_linux.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_linux.go index d251dafae001..5e4a94f7311d 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_linux.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_linux.go @@ -512,24 +512,24 @@ func (sa *SockaddrL2) sockaddr() (unsafe.Pointer, _Socklen, error) { // // Server example: // -// fd, _ := Socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM) -// _ = unix.Bind(fd, &unix.SockaddrRFCOMM{ -// Channel: 1, -// Addr: [6]uint8{0, 0, 0, 0, 0, 0}, // BDADDR_ANY or 00:00:00:00:00:00 -// }) -// _ = Listen(fd, 1) -// nfd, sa, _ := Accept(fd) -// fmt.Printf("conn addr=%v fd=%d", sa.(*unix.SockaddrRFCOMM).Addr, nfd) -// Read(nfd, buf) +// fd, _ := Socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM) +// _ = unix.Bind(fd, &unix.SockaddrRFCOMM{ +// Channel: 1, +// Addr: [6]uint8{0, 0, 0, 0, 0, 0}, // BDADDR_ANY or 00:00:00:00:00:00 +// }) +// _ = Listen(fd, 1) +// nfd, sa, _ := Accept(fd) +// fmt.Printf("conn addr=%v fd=%d", sa.(*unix.SockaddrRFCOMM).Addr, nfd) +// Read(nfd, buf) // // Client example: // -// fd, _ := Socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM) -// _ = Connect(fd, &SockaddrRFCOMM{ -// Channel: 1, -// Addr: [6]byte{0x11, 0x22, 0x33, 0xaa, 0xbb, 0xcc}, // CC:BB:AA:33:22:11 -// }) -// Write(fd, []byte(`hello`)) +// fd, _ := Socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM) +// _ = Connect(fd, &SockaddrRFCOMM{ +// Channel: 1, +// Addr: [6]byte{0x11, 0x22, 0x33, 0xaa, 0xbb, 0xcc}, // CC:BB:AA:33:22:11 +// }) +// Write(fd, []byte(`hello`)) type SockaddrRFCOMM struct { // Addr represents a bluetooth address, byte ordering is little-endian. Addr [6]uint8 @@ -556,12 +556,12 @@ func (sa *SockaddrRFCOMM) sockaddr() (unsafe.Pointer, _Socklen, error) { // The SockaddrCAN struct must be bound to the socket file descriptor // using Bind before the CAN socket can be used. // -// // Read one raw CAN frame -// fd, _ := Socket(AF_CAN, SOCK_RAW, CAN_RAW) -// addr := &SockaddrCAN{Ifindex: index} -// Bind(fd, addr) -// frame := make([]byte, 16) -// Read(fd, frame) +// // Read one raw CAN frame +// fd, _ := Socket(AF_CAN, SOCK_RAW, CAN_RAW) +// addr := &SockaddrCAN{Ifindex: index} +// Bind(fd, addr) +// frame := make([]byte, 16) +// Read(fd, frame) // // The full SocketCAN documentation can be found in the linux kernel // archives at: https://www.kernel.org/doc/Documentation/networking/can.txt @@ -632,13 +632,13 @@ func (sa *SockaddrCANJ1939) sockaddr() (unsafe.Pointer, _Socklen, error) { // Here is an example of using an AF_ALG socket with SHA1 hashing. // The initial socket setup process is as follows: // -// // Open a socket to perform SHA1 hashing. -// fd, _ := unix.Socket(unix.AF_ALG, unix.SOCK_SEQPACKET, 0) -// addr := &unix.SockaddrALG{Type: "hash", Name: "sha1"} -// unix.Bind(fd, addr) -// // Note: unix.Accept does not work at this time; must invoke accept() -// // manually using unix.Syscall. -// hashfd, _, _ := unix.Syscall(unix.SYS_ACCEPT, uintptr(fd), 0, 0) +// // Open a socket to perform SHA1 hashing. +// fd, _ := unix.Socket(unix.AF_ALG, unix.SOCK_SEQPACKET, 0) +// addr := &unix.SockaddrALG{Type: "hash", Name: "sha1"} +// unix.Bind(fd, addr) +// // Note: unix.Accept does not work at this time; must invoke accept() +// // manually using unix.Syscall. +// hashfd, _, _ := unix.Syscall(unix.SYS_ACCEPT, uintptr(fd), 0, 0) // // Once a file descriptor has been returned from Accept, it may be used to // perform SHA1 hashing. The descriptor is not safe for concurrent use, but @@ -647,39 +647,39 @@ func (sa *SockaddrCANJ1939) sockaddr() (unsafe.Pointer, _Socklen, error) { // When hashing a small byte slice or string, a single Write and Read may // be used: // -// // Assume hashfd is already configured using the setup process. -// hash := os.NewFile(hashfd, "sha1") -// // Hash an input string and read the results. Each Write discards -// // previous hash state. Read always reads the current state. -// b := make([]byte, 20) -// for i := 0; i < 2; i++ { -// io.WriteString(hash, "Hello, world.") -// hash.Read(b) -// fmt.Println(hex.EncodeToString(b)) -// } -// // Output: -// // 2ae01472317d1935a84797ec1983ae243fc6aa28 -// // 2ae01472317d1935a84797ec1983ae243fc6aa28 +// // Assume hashfd is already configured using the setup process. +// hash := os.NewFile(hashfd, "sha1") +// // Hash an input string and read the results. Each Write discards +// // previous hash state. Read always reads the current state. +// b := make([]byte, 20) +// for i := 0; i < 2; i++ { +// io.WriteString(hash, "Hello, world.") +// hash.Read(b) +// fmt.Println(hex.EncodeToString(b)) +// } +// // Output: +// // 2ae01472317d1935a84797ec1983ae243fc6aa28 +// // 2ae01472317d1935a84797ec1983ae243fc6aa28 // // For hashing larger byte slices, or byte streams such as those read from // a file or socket, use Sendto with MSG_MORE to instruct the kernel to update // the hash digest instead of creating a new one for a given chunk and finalizing it. // -// // Assume hashfd and addr are already configured using the setup process. -// hash := os.NewFile(hashfd, "sha1") -// // Hash the contents of a file. -// f, _ := os.Open("/tmp/linux-4.10-rc7.tar.xz") -// b := make([]byte, 4096) -// for { -// n, err := f.Read(b) -// if err == io.EOF { -// break -// } -// unix.Sendto(hashfd, b[:n], unix.MSG_MORE, addr) -// } -// hash.Read(b) -// fmt.Println(hex.EncodeToString(b)) -// // Output: 85cdcad0c06eef66f805ecce353bec9accbeecc5 +// // Assume hashfd and addr are already configured using the setup process. +// hash := os.NewFile(hashfd, "sha1") +// // Hash the contents of a file. +// f, _ := os.Open("/tmp/linux-4.10-rc7.tar.xz") +// b := make([]byte, 4096) +// for { +// n, err := f.Read(b) +// if err == io.EOF { +// break +// } +// unix.Sendto(hashfd, b[:n], unix.MSG_MORE, addr) +// } +// hash.Read(b) +// fmt.Println(hex.EncodeToString(b)) +// // Output: 85cdcad0c06eef66f805ecce353bec9accbeecc5 // // For more information, see: http://www.chronox.de/crypto-API/crypto/userspace-if.html. type SockaddrALG struct { @@ -1499,18 +1499,13 @@ func KeyctlRestrictKeyring(ringid int, keyType string, restriction string) error //sys keyctlRestrictKeyringByType(cmd int, arg2 int, keyType string, restriction string) (err error) = SYS_KEYCTL //sys keyctlRestrictKeyring(cmd int, arg2 int) (err error) = SYS_KEYCTL -func recvmsgRaw(fd int, p, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) { +func recvmsgRaw(fd int, iov []Iovec, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) { var msg Msghdr msg.Name = (*byte)(unsafe.Pointer(rsa)) msg.Namelen = uint32(SizeofSockaddrAny) - var iov Iovec - if len(p) > 0 { - iov.Base = &p[0] - iov.SetLen(len(p)) - } var dummy byte if len(oob) > 0 { - if len(p) == 0 { + if emptyIovecs(iov) { var sockType int sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE) if err != nil { @@ -1518,15 +1513,19 @@ func recvmsgRaw(fd int, p, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn } // receive at least one normal byte if sockType != SOCK_DGRAM { - iov.Base = &dummy - iov.SetLen(1) + var iova [1]Iovec + iova[0].Base = &dummy + iova[0].SetLen(1) + iov = iova[:] } } msg.Control = &oob[0] msg.SetControllen(len(oob)) } - msg.Iov = &iov - msg.Iovlen = 1 + if len(iov) > 0 { + msg.Iov = &iov[0] + msg.SetIovlen(len(iov)) + } if n, err = recvmsg(fd, &msg, flags); err != nil { return } @@ -1535,18 +1534,15 @@ func recvmsgRaw(fd int, p, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn return } -func sendmsgN(fd int, p, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) { +func sendmsgN(fd int, iov []Iovec, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) { var msg Msghdr msg.Name = (*byte)(ptr) msg.Namelen = uint32(salen) - var iov Iovec - if len(p) > 0 { - iov.Base = &p[0] - iov.SetLen(len(p)) - } var dummy byte + var empty bool if len(oob) > 0 { - if len(p) == 0 { + empty := emptyIovecs(iov) + if empty { var sockType int sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE) if err != nil { @@ -1554,19 +1550,22 @@ func sendmsgN(fd int, p, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags i } // send at least one normal byte if sockType != SOCK_DGRAM { - iov.Base = &dummy - iov.SetLen(1) + var iova [1]Iovec + iova[0].Base = &dummy + iova[0].SetLen(1) } } msg.Control = &oob[0] msg.SetControllen(len(oob)) } - msg.Iov = &iov - msg.Iovlen = 1 + if len(iov) > 0 { + msg.Iov = &iov[0] + msg.SetIovlen(len(iov)) + } if n, err = sendmsg(fd, &msg, flags); err != nil { return 0, err } - if len(oob) > 0 && len(p) == 0 { + if len(oob) > 0 && empty { n = 0 } return n, nil diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go new file mode 100644 index 000000000000..0b69c3eff966 --- /dev/null +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go @@ -0,0 +1,226 @@ +// Copyright 2022 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build loong64 && linux +// +build loong64,linux + +package unix + +import "unsafe" + +//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT +//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64 +//sys Fchown(fd int, uid int, gid int) (err error) +//sys Fstatfs(fd int, buf *Statfs_t) (err error) +//sys Ftruncate(fd int, length int64) (err error) +//sysnb Getegid() (egid int) +//sysnb Geteuid() (euid int) +//sysnb Getgid() (gid int) +//sysnb Getuid() (uid int) +//sys Listen(s int, n int) (err error) +//sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64 +//sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64 +//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK + +func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { + var ts *Timespec + if timeout != nil { + ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000} + } + return Pselect(nfd, r, w, e, ts, nil) +} + +//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) +//sys setfsgid(gid int) (prev int, err error) +//sys setfsuid(uid int) (prev int, err error) +//sysnb Setregid(rgid int, egid int) (err error) +//sysnb Setresgid(rgid int, egid int, sgid int) (err error) +//sysnb Setresuid(ruid int, euid int, suid int) (err error) +//sysnb Setreuid(ruid int, euid int) (err error) +//sys Shutdown(fd int, how int) (err error) +//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) + +func timespecFromStatxTimestamp(x StatxTimestamp) Timespec { + return Timespec{ + Sec: x.Sec, + Nsec: int64(x.Nsec), + } +} + +func Fstatat(fd int, path string, stat *Stat_t, flags int) error { + var r Statx_t + // Do it the glibc way, add AT_NO_AUTOMOUNT. + if err := Statx(fd, path, AT_NO_AUTOMOUNT|flags, STATX_BASIC_STATS, &r); err != nil { + return err + } + + stat.Dev = Mkdev(r.Dev_major, r.Dev_minor) + stat.Ino = r.Ino + stat.Mode = uint32(r.Mode) + stat.Nlink = r.Nlink + stat.Uid = r.Uid + stat.Gid = r.Gid + stat.Rdev = Mkdev(r.Rdev_major, r.Rdev_minor) + // hope we don't get to process files so large to overflow these size + // fields... + stat.Size = int64(r.Size) + stat.Blksize = int32(r.Blksize) + stat.Blocks = int64(r.Blocks) + stat.Atim = timespecFromStatxTimestamp(r.Atime) + stat.Mtim = timespecFromStatxTimestamp(r.Mtime) + stat.Ctim = timespecFromStatxTimestamp(r.Ctime) + + return nil +} + +func Fstat(fd int, stat *Stat_t) (err error) { + return Fstatat(fd, "", stat, AT_EMPTY_PATH) +} + +func Stat(path string, stat *Stat_t) (err error) { + return Fstatat(AT_FDCWD, path, stat, 0) +} + +func Lchown(path string, uid int, gid int) (err error) { + return Fchownat(AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW) +} + +func Lstat(path string, stat *Stat_t) (err error) { + return Fstatat(AT_FDCWD, path, stat, AT_SYMLINK_NOFOLLOW) +} + +//sys Statfs(path string, buf *Statfs_t) (err error) +//sys SyncFileRange(fd int, off int64, n int64, flags int) (err error) +//sys Truncate(path string, length int64) (err error) + +func Ustat(dev int, ubuf *Ustat_t) (err error) { + return ENOSYS +} + +//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) +//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) +//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) +//sysnb getgroups(n int, list *_Gid_t) (nn int, err error) +//sysnb setgroups(n int, list *_Gid_t) (err error) +//sys getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) +//sys setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) +//sysnb socket(domain int, typ int, proto int) (fd int, err error) +//sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) +//sysnb getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) +//sysnb getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) +//sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) +//sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) +//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) +//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) +//sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) + +//sysnb Gettimeofday(tv *Timeval) (err error) + +func setTimespec(sec, nsec int64) Timespec { + return Timespec{Sec: sec, Nsec: nsec} +} + +func setTimeval(sec, usec int64) Timeval { + return Timeval{Sec: sec, Usec: usec} +} + +func Getrlimit(resource int, rlim *Rlimit) (err error) { + err = Prlimit(0, resource, nil, rlim) + return +} + +func Setrlimit(resource int, rlim *Rlimit) (err error) { + err = Prlimit(0, resource, rlim, nil) + return +} + +func futimesat(dirfd int, path string, tv *[2]Timeval) (err error) { + if tv == nil { + return utimensat(dirfd, path, nil, 0) + } + + ts := []Timespec{ + NsecToTimespec(TimevalToNsec(tv[0])), + NsecToTimespec(TimevalToNsec(tv[1])), + } + return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0) +} + +func Time(t *Time_t) (Time_t, error) { + var tv Timeval + err := Gettimeofday(&tv) + if err != nil { + return 0, err + } + if t != nil { + *t = Time_t(tv.Sec) + } + return Time_t(tv.Sec), nil +} + +func Utime(path string, buf *Utimbuf) error { + tv := []Timeval{ + {Sec: buf.Actime}, + {Sec: buf.Modtime}, + } + return Utimes(path, tv) +} + +func utimes(path string, tv *[2]Timeval) (err error) { + if tv == nil { + return utimensat(AT_FDCWD, path, nil, 0) + } + + ts := []Timespec{ + NsecToTimespec(TimevalToNsec(tv[0])), + NsecToTimespec(TimevalToNsec(tv[1])), + } + return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0) +} + +func (r *PtraceRegs) PC() uint64 { return r.Era } + +func (r *PtraceRegs) SetPC(era uint64) { r.Era = era } + +func (iov *Iovec) SetLen(length int) { + iov.Len = uint64(length) +} + +func (msghdr *Msghdr) SetControllen(length int) { + msghdr.Controllen = uint64(length) +} + +func (msghdr *Msghdr) SetIovlen(length int) { + msghdr.Iovlen = uint64(length) +} + +func (cmsg *Cmsghdr) SetLen(length int) { + cmsg.Len = uint64(length) +} + +func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) { + rsa.Service_name_len = uint64(length) +} + +func Pause() error { + _, err := ppoll(nil, 0, nil, nil) + return err +} + +func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { + return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0) +} + +//sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) + +func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error { + cmdlineLen := len(cmdline) + if cmdlineLen > 0 { + // Account for the additional NULL byte added by + // BytePtrFromString in kexecFileLoad. The kexec_file_load + // syscall expects a NULL-terminated string. + cmdlineLen++ + } + return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags) +} diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go index 8ff7adba0392..925a748a39bd 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go @@ -22,6 +22,7 @@ import "unsafe" //sysnb Getrlimit(resource int, rlim *Rlimit) (err error) //sysnb Getuid() (uid int) //sys Listen(s int, n int) (err error) +//sys MemfdSecret(flags int) (fd int, err error) //sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64 //sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64 //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_openbsd.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_openbsd.go index 15d637d63ea1..78daceb338bc 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_openbsd.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_openbsd.go @@ -81,6 +81,7 @@ func Pipe(p []int) (err error) { } //sysnb pipe2(p *[2]_C_int, flags int) (err error) + func Pipe2(p []int, flags int) error { if len(p) != 2 { return EINVAL @@ -95,6 +96,7 @@ func Pipe2(p []int, flags int) error { } //sys Getdents(fd int, buf []byte) (n int, err error) + func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { n, err = Getdents(fd, buf) if err != nil || basep == nil { diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go index 30f285343ee4..1378489f8d7f 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_openbsd_mips64.go @@ -26,6 +26,10 @@ func (msghdr *Msghdr) SetControllen(length int) { msghdr.Controllen = uint32(length) } +func (msghdr *Msghdr) SetIovlen(length int) { + msghdr.Iovlen = uint32(length) +} + func (cmsg *Cmsghdr) SetLen(length int) { cmsg.Len = uint32(length) } diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_solaris.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_solaris.go index 5c2003cec654..b5ec457cdccb 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_solaris.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_solaris.go @@ -451,26 +451,25 @@ func Accept(fd int) (nfd int, sa Sockaddr, err error) { //sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) = libsocket.__xnet_recvmsg -func recvmsgRaw(fd int, p, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) { +func recvmsgRaw(fd int, iov []Iovec, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error) { var msg Msghdr msg.Name = (*byte)(unsafe.Pointer(rsa)) msg.Namelen = uint32(SizeofSockaddrAny) - var iov Iovec - if len(p) > 0 { - iov.Base = (*int8)(unsafe.Pointer(&p[0])) - iov.SetLen(len(p)) - } - var dummy int8 + var dummy byte if len(oob) > 0 { // receive at least one normal byte - if len(p) == 0 { - iov.Base = &dummy - iov.SetLen(1) + if emptyIovecs(iov) { + var iova [1]Iovec + iova[0].Base = &dummy + iova[0].SetLen(1) + iov = iova[:] } msg.Accrightslen = int32(len(oob)) } - msg.Iov = &iov - msg.Iovlen = 1 + if len(iov) > 0 { + msg.Iov = &iov[0] + msg.SetIovlen(len(iov)) + } if n, err = recvmsg(fd, &msg, flags); n == -1 { return } @@ -480,30 +479,31 @@ func recvmsgRaw(fd int, p, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn //sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) = libsocket.__xnet_sendmsg -func sendmsgN(fd int, p, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) { +func sendmsgN(fd int, iov []Iovec, oob []byte, ptr unsafe.Pointer, salen _Socklen, flags int) (n int, err error) { var msg Msghdr msg.Name = (*byte)(unsafe.Pointer(ptr)) msg.Namelen = uint32(salen) - var iov Iovec - if len(p) > 0 { - iov.Base = (*int8)(unsafe.Pointer(&p[0])) - iov.SetLen(len(p)) - } - var dummy int8 + var dummy byte + var empty bool if len(oob) > 0 { // send at least one normal byte - if len(p) == 0 { - iov.Base = &dummy - iov.SetLen(1) + empty = emptyIovecs(iov) + if empty { + var iova [1]Iovec + iova[0].Base = &dummy + iova[0].SetLen(1) + iov = iova[:] } msg.Accrightslen = int32(len(oob)) } - msg.Iov = &iov - msg.Iovlen = 1 + if len(iov) > 0 { + msg.Iov = &iov[0] + msg.SetIovlen(len(iov)) + } if n, err = sendmsg(fd, &msg, flags); err != nil { return 0, err } - if len(oob) > 0 && len(p) == 0 { + if len(oob) > 0 && empty { n = 0 } return n, nil @@ -618,6 +618,7 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e //sys Getpriority(which int, who int) (n int, err error) //sysnb Getrlimit(which int, lim *Rlimit) (err error) //sysnb Getrusage(who int, rusage *Rusage) (err error) +//sysnb Getsid(pid int) (sid int, err error) //sysnb Gettimeofday(tv *Timeval) (err error) //sysnb Getuid() (uid int) //sys Kill(pid int, signum syscall.Signal) (err error) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_unix.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_unix.go index 70508afc1d1c..1ff5060b5123 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_unix.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/syscall_unix.go @@ -338,8 +338,13 @@ func Recvfrom(fd int, p []byte, flags int) (n int, from Sockaddr, err error) { } func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) { + var iov [1]Iovec + if len(p) > 0 { + iov[0].Base = &p[0] + iov[0].SetLen(len(p)) + } var rsa RawSockaddrAny - n, oobn, recvflags, err = recvmsgRaw(fd, p, oob, flags, &rsa) + n, oobn, recvflags, err = recvmsgRaw(fd, iov[:], oob, flags, &rsa) // source address is only specified if the socket is unconnected if rsa.Addr.Family != AF_UNSPEC { from, err = anyToSockaddr(fd, &rsa) @@ -347,12 +352,67 @@ func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from return } +// RecvmsgBuffers receives a message from a socket using the recvmsg +// system call. The flags are passed to recvmsg. Any non-control data +// read is scattered into the buffers slices. The results are: +// - n is the number of non-control data read into bufs +// - oobn is the number of control data read into oob; this may be interpreted using [ParseSocketControlMessage] +// - recvflags is flags returned by recvmsg +// - from is the address of the sender +func RecvmsgBuffers(fd int, buffers [][]byte, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) { + iov := make([]Iovec, len(buffers)) + for i := range buffers { + if len(buffers[i]) > 0 { + iov[i].Base = &buffers[i][0] + iov[i].SetLen(len(buffers[i])) + } else { + iov[i].Base = (*byte)(unsafe.Pointer(&_zero)) + } + } + var rsa RawSockaddrAny + n, oobn, recvflags, err = recvmsgRaw(fd, iov, oob, flags, &rsa) + if err == nil && rsa.Addr.Family != AF_UNSPEC { + from, err = anyToSockaddr(fd, &rsa) + } + return +} + func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error) { _, err = SendmsgN(fd, p, oob, to, flags) return } func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) { + var iov [1]Iovec + if len(p) > 0 { + iov[0].Base = &p[0] + iov[0].SetLen(len(p)) + } + var ptr unsafe.Pointer + var salen _Socklen + if to != nil { + ptr, salen, err = to.sockaddr() + if err != nil { + return 0, err + } + } + return sendmsgN(fd, iov[:], oob, ptr, salen, flags) +} + +// SendmsgBuffers sends a message on a socket to an address using the sendmsg +// system call. The flags are passed to sendmsg. Any non-control data written +// is gathered from buffers. The function returns the number of bytes written +// to the socket. +func SendmsgBuffers(fd int, buffers [][]byte, oob []byte, to Sockaddr, flags int) (n int, err error) { + iov := make([]Iovec, len(buffers)) + for i := range buffers { + if len(buffers[i]) > 0 { + iov[i].Base = &buffers[i][0] + iov[i].SetLen(len(buffers[i])) + } else { + iov[i].Base = (*byte)(unsafe.Pointer(&_zero)) + } + } var ptr unsafe.Pointer var salen _Socklen if to != nil { @@ -361,7 +421,7 @@ func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) return 0, err } } - return sendmsgN(fd, p, oob, ptr, salen, flags) + return sendmsgN(fd, iov, oob, ptr, salen, flags) } func Send(s int, buf []byte, flags int) (err error) { @@ -484,3 +544,13 @@ func Lutimes(path string, tv []Timeval) error { } return UtimesNanoAt(AT_FDCWD, path, ts, AT_SYMLINK_NOFOLLOW) } + +// emptyIovec reports whether there are no bytes in the slice of Iovec. +func emptyIovecs(iov []Iovec) bool { + for i := range iov { + if iov[i].Len > 0 { + return false + } + } + return true +} diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go index 440900112cd4..f8c2c5138748 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go @@ -151,6 +151,7 @@ const ( BIOCSETF = 0x80084267 BIOCSETFNR = 0x80084282 BIOCSETIF = 0x8020426c + BIOCSETVLANPCP = 0x80044285 BIOCSETWF = 0x8008427b BIOCSETZBUF = 0x800c4281 BIOCSHDRCMPLT = 0x80044275 @@ -447,7 +448,7 @@ const ( DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1 DLT_INFINIBAND = 0xf7 DLT_IPFILTER = 0x74 - DLT_IPMB = 0xc7 + DLT_IPMB_KONTRON = 0xc7 DLT_IPMB_LINUX = 0xd1 DLT_IPMI_HPM_2 = 0x104 DLT_IPNET = 0xe2 @@ -487,10 +488,11 @@ const ( DLT_LINUX_LAPD = 0xb1 DLT_LINUX_PPP_WITHDIRECTION = 0xa6 DLT_LINUX_SLL = 0x71 + DLT_LINUX_SLL2 = 0x114 DLT_LOOP = 0x6c DLT_LORATAP = 0x10e DLT_LTALK = 0x72 - DLT_MATCHING_MAX = 0x113 + DLT_MATCHING_MAX = 0x114 DLT_MATCHING_MIN = 0x68 DLT_MFR = 0xb6 DLT_MOST = 0xd3 @@ -734,6 +736,7 @@ const ( IPPROTO_CMTP = 0x26 IPPROTO_CPHB = 0x49 IPPROTO_CPNX = 0x48 + IPPROTO_DCCP = 0x21 IPPROTO_DDP = 0x25 IPPROTO_DGP = 0x56 IPPROTO_DIVERT = 0x102 @@ -814,7 +817,6 @@ const ( IPPROTO_SCTP = 0x84 IPPROTO_SDRP = 0x2a IPPROTO_SEND = 0x103 - IPPROTO_SEP = 0x21 IPPROTO_SHIM6 = 0x8c IPPROTO_SKIP = 0x39 IPPROTO_SPACER = 0x7fff @@ -911,6 +913,7 @@ const ( IPV6_V6ONLY = 0x1b IPV6_VERSION = 0x60 IPV6_VERSION_MASK = 0xf0 + IPV6_VLAN_PCP = 0x4b IP_ADD_MEMBERSHIP = 0xc IP_ADD_SOURCE_MEMBERSHIP = 0x46 IP_BINDANY = 0x18 @@ -989,8 +992,12 @@ const ( IP_TOS = 0x3 IP_TTL = 0x4 IP_UNBLOCK_SOURCE = 0x49 + IP_VLAN_PCP = 0x4b ISIG = 0x80 ISTRIP = 0x20 + ITIMER_PROF = 0x2 + ITIMER_REAL = 0x0 + ITIMER_VIRTUAL = 0x1 IXANY = 0x800 IXOFF = 0x400 IXON = 0x200 @@ -1000,7 +1007,6 @@ const ( KERN_VERSION = 0x4 LOCAL_CONNWAIT = 0x4 LOCAL_CREDS = 0x2 - LOCAL_CREDS_PERSISTENT = 0x3 LOCAL_PEERCRED = 0x1 LOCAL_VENDOR = 0x80000000 LOCK_EX = 0x2 @@ -1179,6 +1185,8 @@ const ( O_NONBLOCK = 0x4 O_RDONLY = 0x0 O_RDWR = 0x2 + O_RESOLVE_BENEATH = 0x800000 + O_SEARCH = 0x40000 O_SHLOCK = 0x10 O_SYNC = 0x80 O_TRUNC = 0x400 @@ -1189,6 +1197,10 @@ const ( PARMRK = 0x8 PARODD = 0x2000 PENDIN = 0x20000000 + PIOD_READ_D = 0x1 + PIOD_READ_I = 0x3 + PIOD_WRITE_D = 0x2 + PIOD_WRITE_I = 0x4 PRIO_PGRP = 0x1 PRIO_PROCESS = 0x0 PRIO_USER = 0x2 @@ -1196,6 +1208,60 @@ const ( PROT_NONE = 0x0 PROT_READ = 0x1 PROT_WRITE = 0x2 + PTRACE_DEFAULT = 0x1 + PTRACE_EXEC = 0x1 + PTRACE_FORK = 0x8 + PTRACE_LWP = 0x10 + PTRACE_SCE = 0x2 + PTRACE_SCX = 0x4 + PTRACE_SYSCALL = 0x6 + PTRACE_VFORK = 0x20 + PT_ATTACH = 0xa + PT_CLEARSTEP = 0x10 + PT_CONTINUE = 0x7 + PT_DETACH = 0xb + PT_FIRSTMACH = 0x40 + PT_FOLLOW_FORK = 0x17 + PT_GETDBREGS = 0x25 + PT_GETFPREGS = 0x23 + PT_GETFSBASE = 0x47 + PT_GETGSBASE = 0x49 + PT_GETLWPLIST = 0xf + PT_GETNUMLWPS = 0xe + PT_GETREGS = 0x21 + PT_GETXMMREGS = 0x40 + PT_GETXSTATE = 0x45 + PT_GETXSTATE_INFO = 0x44 + PT_GET_EVENT_MASK = 0x19 + PT_GET_SC_ARGS = 0x1b + PT_GET_SC_RET = 0x1c + PT_IO = 0xc + PT_KILL = 0x8 + PT_LWPINFO = 0xd + PT_LWP_EVENTS = 0x18 + PT_READ_D = 0x2 + PT_READ_I = 0x1 + PT_RESUME = 0x13 + PT_SETDBREGS = 0x26 + PT_SETFPREGS = 0x24 + PT_SETFSBASE = 0x48 + PT_SETGSBASE = 0x4a + PT_SETREGS = 0x22 + PT_SETSTEP = 0x11 + PT_SETXMMREGS = 0x41 + PT_SETXSTATE = 0x46 + PT_SET_EVENT_MASK = 0x1a + PT_STEP = 0x9 + PT_SUSPEND = 0x12 + PT_SYSCALL = 0x16 + PT_TO_SCE = 0x14 + PT_TO_SCX = 0x15 + PT_TRACE_ME = 0x0 + PT_VM_ENTRY = 0x29 + PT_VM_TIMESTAMP = 0x28 + PT_WRITE_D = 0x5 + PT_WRITE_I = 0x4 + P_ZONEID = 0xc RLIMIT_AS = 0xa RLIMIT_CORE = 0x4 RLIMIT_CPU = 0x0 @@ -1320,10 +1386,12 @@ const ( SIOCGHWADDR = 0xc020693e SIOCGI2C = 0xc020693d SIOCGIFADDR = 0xc0206921 + SIOCGIFALIAS = 0xc044692d SIOCGIFBRDADDR = 0xc0206923 SIOCGIFCAP = 0xc020691f SIOCGIFCONF = 0xc0086924 SIOCGIFDESCR = 0xc020692a + SIOCGIFDOWNREASON = 0xc058699a SIOCGIFDSTADDR = 0xc0206922 SIOCGIFFIB = 0xc020695c SIOCGIFFLAGS = 0xc0206911 @@ -1414,6 +1482,7 @@ const ( SO_RCVBUF = 0x1002 SO_RCVLOWAT = 0x1004 SO_RCVTIMEO = 0x1006 + SO_RERROR = 0x20000 SO_REUSEADDR = 0x4 SO_REUSEPORT = 0x200 SO_REUSEPORT_LB = 0x10000 @@ -1472,22 +1541,40 @@ const ( TCOFLUSH = 0x2 TCOOFF = 0x1 TCOON = 0x2 + TCPOPT_EOL = 0x0 + TCPOPT_FAST_OPEN = 0x22 + TCPOPT_MAXSEG = 0x2 + TCPOPT_NOP = 0x1 + TCPOPT_PAD = 0x0 + TCPOPT_SACK = 0x5 + TCPOPT_SACK_PERMITTED = 0x4 + TCPOPT_SIGNATURE = 0x13 + TCPOPT_TIMESTAMP = 0x8 + TCPOPT_WINDOW = 0x3 TCP_BBR_ACK_COMP_ALG = 0x448 + TCP_BBR_ALGORITHM = 0x43b TCP_BBR_DRAIN_INC_EXTRA = 0x43c TCP_BBR_DRAIN_PG = 0x42e TCP_BBR_EXTRA_GAIN = 0x449 + TCP_BBR_EXTRA_STATE = 0x453 + TCP_BBR_FLOOR_MIN_TSO = 0x454 + TCP_BBR_HDWR_PACE = 0x451 + TCP_BBR_HOLD_TARGET = 0x436 TCP_BBR_IWINTSO = 0x42b TCP_BBR_LOWGAIN_FD = 0x436 TCP_BBR_LOWGAIN_HALF = 0x435 TCP_BBR_LOWGAIN_THRESH = 0x434 TCP_BBR_MAX_RTO = 0x439 TCP_BBR_MIN_RTO = 0x438 + TCP_BBR_MIN_TOPACEOUT = 0x455 TCP_BBR_ONE_RETRAN = 0x431 TCP_BBR_PACE_CROSS = 0x442 TCP_BBR_PACE_DEL_TAR = 0x43f + TCP_BBR_PACE_OH = 0x435 TCP_BBR_PACE_PER_SEC = 0x43e TCP_BBR_PACE_SEG_MAX = 0x440 TCP_BBR_PACE_SEG_MIN = 0x441 + TCP_BBR_POLICER_DETECT = 0x457 TCP_BBR_PROBE_RTT_GAIN = 0x44d TCP_BBR_PROBE_RTT_INT = 0x430 TCP_BBR_PROBE_RTT_LEN = 0x44e @@ -1496,12 +1583,18 @@ const ( TCP_BBR_REC_OVER_HPTS = 0x43a TCP_BBR_RETRAN_WTSO = 0x44b TCP_BBR_RWND_IS_APP = 0x42f + TCP_BBR_SEND_IWND_IN_TSO = 0x44f TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d TCP_BBR_STARTUP_LOSS_EXIT = 0x432 TCP_BBR_STARTUP_PG = 0x42d + TCP_BBR_TMR_PACE_OH = 0x448 + TCP_BBR_TSLIMITS = 0x434 + TCP_BBR_TSTMP_RAISES = 0x456 TCP_BBR_UNLIMITED = 0x43b TCP_BBR_USEDEL_RATE = 0x437 TCP_BBR_USE_LOWGAIN = 0x433 + TCP_BBR_USE_RACK_CHEAT = 0x450 + TCP_BBR_UTTER_MAX_TSO = 0x452 TCP_CA_NAME_MAX = 0x10 TCP_CCALGOOPT = 0x41 TCP_CONGESTION = 0x40 @@ -1541,6 +1634,7 @@ const ( TCP_PCAP_OUT = 0x800 TCP_RACK_EARLY_RECOV = 0x423 TCP_RACK_EARLY_SEG = 0x424 + TCP_RACK_GP_INCREASE = 0x446 TCP_RACK_IDLE_REDUCE_HIGH = 0x444 TCP_RACK_MIN_PACE = 0x445 TCP_RACK_MIN_PACE_SEG = 0x446 @@ -1554,7 +1648,6 @@ const ( TCP_RACK_PRR_SENDALOT = 0x421 TCP_RACK_REORD_FADE = 0x426 TCP_RACK_REORD_THRESH = 0x425 - TCP_RACK_SESS_CWV = 0x42a TCP_RACK_TLP_INC_VAR = 0x429 TCP_RACK_TLP_REDUCE = 0x41c TCP_RACK_TLP_THRESH = 0x427 @@ -1694,12 +1787,13 @@ const ( EIDRM = syscall.Errno(0x52) EILSEQ = syscall.Errno(0x56) EINPROGRESS = syscall.Errno(0x24) + EINTEGRITY = syscall.Errno(0x61) EINTR = syscall.Errno(0x4) EINVAL = syscall.Errno(0x16) EIO = syscall.Errno(0x5) EISCONN = syscall.Errno(0x38) EISDIR = syscall.Errno(0x15) - ELAST = syscall.Errno(0x60) + ELAST = syscall.Errno(0x61) ELOOP = syscall.Errno(0x3e) EMFILE = syscall.Errno(0x18) EMLINK = syscall.Errno(0x1f) @@ -1842,7 +1936,7 @@ var errorList = [...]struct { {32, "EPIPE", "broken pipe"}, {33, "EDOM", "numerical argument out of domain"}, {34, "ERANGE", "result too large"}, - {35, "EAGAIN", "resource temporarily unavailable"}, + {35, "EWOULDBLOCK", "resource temporarily unavailable"}, {36, "EINPROGRESS", "operation now in progress"}, {37, "EALREADY", "operation already in progress"}, {38, "ENOTSOCK", "socket operation on non-socket"}, @@ -1904,6 +1998,7 @@ var errorList = [...]struct { {94, "ECAPMODE", "not permitted in capability mode"}, {95, "ENOTRECOVERABLE", "state not recoverable"}, {96, "EOWNERDEAD", "previous owner died"}, + {97, "EINTEGRITY", "integrity check failed"}, } // Signal table diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go index 64520d31226b..96310c3be1b0 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go @@ -151,6 +151,7 @@ const ( BIOCSETF = 0x80104267 BIOCSETFNR = 0x80104282 BIOCSETIF = 0x8020426c + BIOCSETVLANPCP = 0x80044285 BIOCSETWF = 0x8010427b BIOCSETZBUF = 0x80184281 BIOCSHDRCMPLT = 0x80044275 @@ -447,7 +448,7 @@ const ( DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1 DLT_INFINIBAND = 0xf7 DLT_IPFILTER = 0x74 - DLT_IPMB = 0xc7 + DLT_IPMB_KONTRON = 0xc7 DLT_IPMB_LINUX = 0xd1 DLT_IPMI_HPM_2 = 0x104 DLT_IPNET = 0xe2 @@ -487,10 +488,11 @@ const ( DLT_LINUX_LAPD = 0xb1 DLT_LINUX_PPP_WITHDIRECTION = 0xa6 DLT_LINUX_SLL = 0x71 + DLT_LINUX_SLL2 = 0x114 DLT_LOOP = 0x6c DLT_LORATAP = 0x10e DLT_LTALK = 0x72 - DLT_MATCHING_MAX = 0x113 + DLT_MATCHING_MAX = 0x114 DLT_MATCHING_MIN = 0x68 DLT_MFR = 0xb6 DLT_MOST = 0xd3 @@ -734,6 +736,7 @@ const ( IPPROTO_CMTP = 0x26 IPPROTO_CPHB = 0x49 IPPROTO_CPNX = 0x48 + IPPROTO_DCCP = 0x21 IPPROTO_DDP = 0x25 IPPROTO_DGP = 0x56 IPPROTO_DIVERT = 0x102 @@ -814,7 +817,6 @@ const ( IPPROTO_SCTP = 0x84 IPPROTO_SDRP = 0x2a IPPROTO_SEND = 0x103 - IPPROTO_SEP = 0x21 IPPROTO_SHIM6 = 0x8c IPPROTO_SKIP = 0x39 IPPROTO_SPACER = 0x7fff @@ -911,6 +913,7 @@ const ( IPV6_V6ONLY = 0x1b IPV6_VERSION = 0x60 IPV6_VERSION_MASK = 0xf0 + IPV6_VLAN_PCP = 0x4b IP_ADD_MEMBERSHIP = 0xc IP_ADD_SOURCE_MEMBERSHIP = 0x46 IP_BINDANY = 0x18 @@ -989,8 +992,12 @@ const ( IP_TOS = 0x3 IP_TTL = 0x4 IP_UNBLOCK_SOURCE = 0x49 + IP_VLAN_PCP = 0x4b ISIG = 0x80 ISTRIP = 0x20 + ITIMER_PROF = 0x2 + ITIMER_REAL = 0x0 + ITIMER_VIRTUAL = 0x1 IXANY = 0x800 IXOFF = 0x400 IXON = 0x200 @@ -1000,7 +1007,6 @@ const ( KERN_VERSION = 0x4 LOCAL_CONNWAIT = 0x4 LOCAL_CREDS = 0x2 - LOCAL_CREDS_PERSISTENT = 0x3 LOCAL_PEERCRED = 0x1 LOCAL_VENDOR = 0x80000000 LOCK_EX = 0x2 @@ -1180,6 +1186,8 @@ const ( O_NONBLOCK = 0x4 O_RDONLY = 0x0 O_RDWR = 0x2 + O_RESOLVE_BENEATH = 0x800000 + O_SEARCH = 0x40000 O_SHLOCK = 0x10 O_SYNC = 0x80 O_TRUNC = 0x400 @@ -1190,6 +1198,10 @@ const ( PARMRK = 0x8 PARODD = 0x2000 PENDIN = 0x20000000 + PIOD_READ_D = 0x1 + PIOD_READ_I = 0x3 + PIOD_WRITE_D = 0x2 + PIOD_WRITE_I = 0x4 PRIO_PGRP = 0x1 PRIO_PROCESS = 0x0 PRIO_USER = 0x2 @@ -1197,6 +1209,58 @@ const ( PROT_NONE = 0x0 PROT_READ = 0x1 PROT_WRITE = 0x2 + PTRACE_DEFAULT = 0x1 + PTRACE_EXEC = 0x1 + PTRACE_FORK = 0x8 + PTRACE_LWP = 0x10 + PTRACE_SCE = 0x2 + PTRACE_SCX = 0x4 + PTRACE_SYSCALL = 0x6 + PTRACE_VFORK = 0x20 + PT_ATTACH = 0xa + PT_CLEARSTEP = 0x10 + PT_CONTINUE = 0x7 + PT_DETACH = 0xb + PT_FIRSTMACH = 0x40 + PT_FOLLOW_FORK = 0x17 + PT_GETDBREGS = 0x25 + PT_GETFPREGS = 0x23 + PT_GETFSBASE = 0x47 + PT_GETGSBASE = 0x49 + PT_GETLWPLIST = 0xf + PT_GETNUMLWPS = 0xe + PT_GETREGS = 0x21 + PT_GETXSTATE = 0x45 + PT_GETXSTATE_INFO = 0x44 + PT_GET_EVENT_MASK = 0x19 + PT_GET_SC_ARGS = 0x1b + PT_GET_SC_RET = 0x1c + PT_IO = 0xc + PT_KILL = 0x8 + PT_LWPINFO = 0xd + PT_LWP_EVENTS = 0x18 + PT_READ_D = 0x2 + PT_READ_I = 0x1 + PT_RESUME = 0x13 + PT_SETDBREGS = 0x26 + PT_SETFPREGS = 0x24 + PT_SETFSBASE = 0x48 + PT_SETGSBASE = 0x4a + PT_SETREGS = 0x22 + PT_SETSTEP = 0x11 + PT_SETXSTATE = 0x46 + PT_SET_EVENT_MASK = 0x1a + PT_STEP = 0x9 + PT_SUSPEND = 0x12 + PT_SYSCALL = 0x16 + PT_TO_SCE = 0x14 + PT_TO_SCX = 0x15 + PT_TRACE_ME = 0x0 + PT_VM_ENTRY = 0x29 + PT_VM_TIMESTAMP = 0x28 + PT_WRITE_D = 0x5 + PT_WRITE_I = 0x4 + P_ZONEID = 0xc RLIMIT_AS = 0xa RLIMIT_CORE = 0x4 RLIMIT_CPU = 0x0 @@ -1321,10 +1385,12 @@ const ( SIOCGHWADDR = 0xc020693e SIOCGI2C = 0xc020693d SIOCGIFADDR = 0xc0206921 + SIOCGIFALIAS = 0xc044692d SIOCGIFBRDADDR = 0xc0206923 SIOCGIFCAP = 0xc020691f SIOCGIFCONF = 0xc0106924 SIOCGIFDESCR = 0xc020692a + SIOCGIFDOWNREASON = 0xc058699a SIOCGIFDSTADDR = 0xc0206922 SIOCGIFFIB = 0xc020695c SIOCGIFFLAGS = 0xc0206911 @@ -1415,6 +1481,7 @@ const ( SO_RCVBUF = 0x1002 SO_RCVLOWAT = 0x1004 SO_RCVTIMEO = 0x1006 + SO_RERROR = 0x20000 SO_REUSEADDR = 0x4 SO_REUSEPORT = 0x200 SO_REUSEPORT_LB = 0x10000 @@ -1473,22 +1540,40 @@ const ( TCOFLUSH = 0x2 TCOOFF = 0x1 TCOON = 0x2 + TCPOPT_EOL = 0x0 + TCPOPT_FAST_OPEN = 0x22 + TCPOPT_MAXSEG = 0x2 + TCPOPT_NOP = 0x1 + TCPOPT_PAD = 0x0 + TCPOPT_SACK = 0x5 + TCPOPT_SACK_PERMITTED = 0x4 + TCPOPT_SIGNATURE = 0x13 + TCPOPT_TIMESTAMP = 0x8 + TCPOPT_WINDOW = 0x3 TCP_BBR_ACK_COMP_ALG = 0x448 + TCP_BBR_ALGORITHM = 0x43b TCP_BBR_DRAIN_INC_EXTRA = 0x43c TCP_BBR_DRAIN_PG = 0x42e TCP_BBR_EXTRA_GAIN = 0x449 + TCP_BBR_EXTRA_STATE = 0x453 + TCP_BBR_FLOOR_MIN_TSO = 0x454 + TCP_BBR_HDWR_PACE = 0x451 + TCP_BBR_HOLD_TARGET = 0x436 TCP_BBR_IWINTSO = 0x42b TCP_BBR_LOWGAIN_FD = 0x436 TCP_BBR_LOWGAIN_HALF = 0x435 TCP_BBR_LOWGAIN_THRESH = 0x434 TCP_BBR_MAX_RTO = 0x439 TCP_BBR_MIN_RTO = 0x438 + TCP_BBR_MIN_TOPACEOUT = 0x455 TCP_BBR_ONE_RETRAN = 0x431 TCP_BBR_PACE_CROSS = 0x442 TCP_BBR_PACE_DEL_TAR = 0x43f + TCP_BBR_PACE_OH = 0x435 TCP_BBR_PACE_PER_SEC = 0x43e TCP_BBR_PACE_SEG_MAX = 0x440 TCP_BBR_PACE_SEG_MIN = 0x441 + TCP_BBR_POLICER_DETECT = 0x457 TCP_BBR_PROBE_RTT_GAIN = 0x44d TCP_BBR_PROBE_RTT_INT = 0x430 TCP_BBR_PROBE_RTT_LEN = 0x44e @@ -1497,12 +1582,18 @@ const ( TCP_BBR_REC_OVER_HPTS = 0x43a TCP_BBR_RETRAN_WTSO = 0x44b TCP_BBR_RWND_IS_APP = 0x42f + TCP_BBR_SEND_IWND_IN_TSO = 0x44f TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d TCP_BBR_STARTUP_LOSS_EXIT = 0x432 TCP_BBR_STARTUP_PG = 0x42d + TCP_BBR_TMR_PACE_OH = 0x448 + TCP_BBR_TSLIMITS = 0x434 + TCP_BBR_TSTMP_RAISES = 0x456 TCP_BBR_UNLIMITED = 0x43b TCP_BBR_USEDEL_RATE = 0x437 TCP_BBR_USE_LOWGAIN = 0x433 + TCP_BBR_USE_RACK_CHEAT = 0x450 + TCP_BBR_UTTER_MAX_TSO = 0x452 TCP_CA_NAME_MAX = 0x10 TCP_CCALGOOPT = 0x41 TCP_CONGESTION = 0x40 @@ -1542,6 +1633,7 @@ const ( TCP_PCAP_OUT = 0x800 TCP_RACK_EARLY_RECOV = 0x423 TCP_RACK_EARLY_SEG = 0x424 + TCP_RACK_GP_INCREASE = 0x446 TCP_RACK_IDLE_REDUCE_HIGH = 0x444 TCP_RACK_MIN_PACE = 0x445 TCP_RACK_MIN_PACE_SEG = 0x446 @@ -1555,7 +1647,6 @@ const ( TCP_RACK_PRR_SENDALOT = 0x421 TCP_RACK_REORD_FADE = 0x426 TCP_RACK_REORD_THRESH = 0x425 - TCP_RACK_SESS_CWV = 0x42a TCP_RACK_TLP_INC_VAR = 0x429 TCP_RACK_TLP_REDUCE = 0x41c TCP_RACK_TLP_THRESH = 0x427 @@ -1693,12 +1784,13 @@ const ( EIDRM = syscall.Errno(0x52) EILSEQ = syscall.Errno(0x56) EINPROGRESS = syscall.Errno(0x24) + EINTEGRITY = syscall.Errno(0x61) EINTR = syscall.Errno(0x4) EINVAL = syscall.Errno(0x16) EIO = syscall.Errno(0x5) EISCONN = syscall.Errno(0x38) EISDIR = syscall.Errno(0x15) - ELAST = syscall.Errno(0x60) + ELAST = syscall.Errno(0x61) ELOOP = syscall.Errno(0x3e) EMFILE = syscall.Errno(0x18) EMLINK = syscall.Errno(0x1f) @@ -1841,7 +1933,7 @@ var errorList = [...]struct { {32, "EPIPE", "broken pipe"}, {33, "EDOM", "numerical argument out of domain"}, {34, "ERANGE", "result too large"}, - {35, "EAGAIN", "resource temporarily unavailable"}, + {35, "EWOULDBLOCK", "resource temporarily unavailable"}, {36, "EINPROGRESS", "operation now in progress"}, {37, "EALREADY", "operation already in progress"}, {38, "ENOTSOCK", "socket operation on non-socket"}, @@ -1903,6 +1995,7 @@ var errorList = [...]struct { {94, "ECAPMODE", "not permitted in capability mode"}, {95, "ENOTRECOVERABLE", "state not recoverable"}, {96, "EOWNERDEAD", "previous owner died"}, + {97, "EINTEGRITY", "integrity check failed"}, } // Signal table diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go index 99e9a0e06e95..777b69defa04 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go @@ -151,6 +151,7 @@ const ( BIOCSETF = 0x80084267 BIOCSETFNR = 0x80084282 BIOCSETIF = 0x8020426c + BIOCSETVLANPCP = 0x80044285 BIOCSETWF = 0x8008427b BIOCSETZBUF = 0x800c4281 BIOCSHDRCMPLT = 0x80044275 @@ -362,7 +363,7 @@ const ( CTL_KERN = 0x1 CTL_MAXNAME = 0x18 CTL_NET = 0x4 - DIOCGATTR = 0xc144648e + DIOCGATTR = 0xc148648e DIOCGDELETE = 0x80106488 DIOCGFLUSH = 0x20006487 DIOCGFRONTSTUFF = 0x40086486 @@ -377,7 +378,7 @@ const ( DIOCGSTRIPESIZE = 0x4008648b DIOCSKERNELDUMP = 0x804c6490 DIOCSKERNELDUMP_FREEBSD11 = 0x80046485 - DIOCZONECMD = 0xc06c648f + DIOCZONECMD = 0xc078648f DLT_A429 = 0xb8 DLT_A653_ICM = 0xb9 DLT_AIRONET_HEADER = 0x78 @@ -407,7 +408,9 @@ const ( DLT_C_HDLC_WITH_DIR = 0xcd DLT_DBUS = 0xe7 DLT_DECT = 0xdd + DLT_DISPLAYPORT_AUX = 0x113 DLT_DOCSIS = 0x8f + DLT_DOCSIS31_XRA31 = 0x111 DLT_DVB_CI = 0xeb DLT_ECONET = 0x73 DLT_EN10MB = 0x1 @@ -417,6 +420,7 @@ const ( DLT_ERF = 0xc5 DLT_ERF_ETH = 0xaf DLT_ERF_POS = 0xb0 + DLT_ETHERNET_MPACKET = 0x112 DLT_FC_2 = 0xe0 DLT_FC_2_WITH_FRAME_DELIMS = 0xe1 DLT_FDDI = 0xa @@ -444,7 +448,7 @@ const ( DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1 DLT_INFINIBAND = 0xf7 DLT_IPFILTER = 0x74 - DLT_IPMB = 0xc7 + DLT_IPMB_KONTRON = 0xc7 DLT_IPMB_LINUX = 0xd1 DLT_IPMI_HPM_2 = 0x104 DLT_IPNET = 0xe2 @@ -484,9 +488,11 @@ const ( DLT_LINUX_LAPD = 0xb1 DLT_LINUX_PPP_WITHDIRECTION = 0xa6 DLT_LINUX_SLL = 0x71 + DLT_LINUX_SLL2 = 0x114 DLT_LOOP = 0x6c + DLT_LORATAP = 0x10e DLT_LTALK = 0x72 - DLT_MATCHING_MAX = 0x109 + DLT_MATCHING_MAX = 0x114 DLT_MATCHING_MIN = 0x68 DLT_MFR = 0xb6 DLT_MOST = 0xd3 @@ -502,7 +508,9 @@ const ( DLT_NFC_LLCP = 0xf5 DLT_NFLOG = 0xef DLT_NG40 = 0xf4 + DLT_NORDIC_BLE = 0x110 DLT_NULL = 0x0 + DLT_OPENFLOW = 0x10b DLT_PCI_EXP = 0x7d DLT_PFLOG = 0x75 DLT_PFSYNC = 0x79 @@ -526,15 +534,18 @@ const ( DLT_RTAC_SERIAL = 0xfa DLT_SCCP = 0x8e DLT_SCTP = 0xf8 + DLT_SDLC = 0x10c DLT_SITA = 0xc4 DLT_SLIP = 0x8 DLT_SLIP_BSDOS = 0xd DLT_STANAG_5066_D_PDU = 0xed DLT_SUNATM = 0x7b DLT_SYMANTEC_FIREWALL = 0x63 + DLT_TI_LLN_SNIFFER = 0x10d DLT_TZSP = 0x80 DLT_USB = 0xba DLT_USBPCAP = 0xf9 + DLT_USB_DARWIN = 0x10a DLT_USB_FREEBSD = 0xba DLT_USB_LINUX = 0xbd DLT_USB_LINUX_MMAPPED = 0xdc @@ -554,6 +565,7 @@ const ( DLT_USER7 = 0x9a DLT_USER8 = 0x9b DLT_USER9 = 0x9c + DLT_VSOCK = 0x10f DLT_WATTSTOPPER_DLM = 0x107 DLT_WIHART = 0xdf DLT_WIRESHARK_UPPER_PDU = 0xfc @@ -578,6 +590,7 @@ const ( ECHONL = 0x10 ECHOPRT = 0x20 EVFILT_AIO = -0x3 + EVFILT_EMPTY = -0xd EVFILT_FS = -0x9 EVFILT_LIO = -0xa EVFILT_PROC = -0x5 @@ -585,11 +598,12 @@ const ( EVFILT_READ = -0x1 EVFILT_SENDFILE = -0xc EVFILT_SIGNAL = -0x6 - EVFILT_SYSCOUNT = 0xc + EVFILT_SYSCOUNT = 0xd EVFILT_TIMER = -0x7 EVFILT_USER = -0xb EVFILT_VNODE = -0x4 EVFILT_WRITE = -0x2 + EVNAMEMAP_NAME_SIZE = 0x40 EV_ADD = 0x1 EV_CLEAR = 0x20 EV_DELETE = 0x2 @@ -606,6 +620,7 @@ const ( EV_RECEIPT = 0x40 EV_SYSFLAGS = 0xf000 EXTA = 0x4b00 + EXTATTR_MAXNAMELEN = 0xff EXTATTR_NAMESPACE_EMPTY = 0x0 EXTATTR_NAMESPACE_SYSTEM = 0x2 EXTATTR_NAMESPACE_USER = 0x1 @@ -647,6 +662,7 @@ const ( IEXTEN = 0x400 IFAN_ARRIVAL = 0x0 IFAN_DEPARTURE = 0x1 + IFCAP_WOL_MAGIC = 0x2000 IFF_ALLMULTI = 0x200 IFF_ALTPHYS = 0x4000 IFF_BROADCAST = 0x2 @@ -663,6 +679,7 @@ const ( IFF_MONITOR = 0x40000 IFF_MULTICAST = 0x8000 IFF_NOARP = 0x80 + IFF_NOGROUP = 0x800000 IFF_OACTIVE = 0x400 IFF_POINTOPOINT = 0x10 IFF_PPROMISC = 0x20000 @@ -719,6 +736,7 @@ const ( IPPROTO_CMTP = 0x26 IPPROTO_CPHB = 0x49 IPPROTO_CPNX = 0x48 + IPPROTO_DCCP = 0x21 IPPROTO_DDP = 0x25 IPPROTO_DGP = 0x56 IPPROTO_DIVERT = 0x102 @@ -799,7 +817,6 @@ const ( IPPROTO_SCTP = 0x84 IPPROTO_SDRP = 0x2a IPPROTO_SEND = 0x103 - IPPROTO_SEP = 0x21 IPPROTO_SHIM6 = 0x8c IPPROTO_SKIP = 0x39 IPPROTO_SPACER = 0x7fff @@ -837,6 +854,7 @@ const ( IPV6_DSTOPTS = 0x32 IPV6_FLOWID = 0x43 IPV6_FLOWINFO_MASK = 0xffffff0f + IPV6_FLOWLABEL_LEN = 0x14 IPV6_FLOWLABEL_MASK = 0xffff0f00 IPV6_FLOWTYPE = 0x44 IPV6_FRAGTTL = 0x78 @@ -857,13 +875,13 @@ const ( IPV6_MAX_GROUP_SRC_FILTER = 0x200 IPV6_MAX_MEMBERSHIPS = 0xfff IPV6_MAX_SOCK_SRC_FILTER = 0x80 - IPV6_MIN_MEMBERSHIPS = 0x1f IPV6_MMTU = 0x500 IPV6_MSFILTER = 0x4a IPV6_MULTICAST_HOPS = 0xa IPV6_MULTICAST_IF = 0x9 IPV6_MULTICAST_LOOP = 0xb IPV6_NEXTHOP = 0x30 + IPV6_ORIGDSTADDR = 0x48 IPV6_PATHMTU = 0x2c IPV6_PKTINFO = 0x2e IPV6_PORTRANGE = 0xe @@ -875,6 +893,7 @@ const ( IPV6_RECVFLOWID = 0x46 IPV6_RECVHOPLIMIT = 0x25 IPV6_RECVHOPOPTS = 0x27 + IPV6_RECVORIGDSTADDR = 0x48 IPV6_RECVPATHMTU = 0x2b IPV6_RECVPKTINFO = 0x24 IPV6_RECVRSSBUCKETID = 0x47 @@ -894,6 +913,7 @@ const ( IPV6_V6ONLY = 0x1b IPV6_VERSION = 0x60 IPV6_VERSION_MASK = 0xf0 + IPV6_VLAN_PCP = 0x4b IP_ADD_MEMBERSHIP = 0xc IP_ADD_SOURCE_MEMBERSHIP = 0x46 IP_BINDANY = 0x18 @@ -935,10 +955,8 @@ const ( IP_MAX_MEMBERSHIPS = 0xfff IP_MAX_SOCK_MUTE_FILTER = 0x80 IP_MAX_SOCK_SRC_FILTER = 0x80 - IP_MAX_SOURCE_FILTER = 0x400 IP_MF = 0x2000 IP_MINTTL = 0x42 - IP_MIN_MEMBERSHIPS = 0x1f IP_MSFILTER = 0x4a IP_MSS = 0x240 IP_MULTICAST_IF = 0x9 @@ -948,6 +966,7 @@ const ( IP_OFFMASK = 0x1fff IP_ONESBCAST = 0x17 IP_OPTIONS = 0x1 + IP_ORIGDSTADDR = 0x1b IP_PORTRANGE = 0x13 IP_PORTRANGE_DEFAULT = 0x0 IP_PORTRANGE_HIGH = 0x1 @@ -956,6 +975,7 @@ const ( IP_RECVFLOWID = 0x5d IP_RECVIF = 0x14 IP_RECVOPTS = 0x5 + IP_RECVORIGDSTADDR = 0x1b IP_RECVRETOPTS = 0x6 IP_RECVRSSBUCKETID = 0x5e IP_RECVTOS = 0x44 @@ -972,8 +992,12 @@ const ( IP_TOS = 0x3 IP_TTL = 0x4 IP_UNBLOCK_SOURCE = 0x49 + IP_VLAN_PCP = 0x4b ISIG = 0x80 ISTRIP = 0x20 + ITIMER_PROF = 0x2 + ITIMER_REAL = 0x0 + ITIMER_VIRTUAL = 0x1 IXANY = 0x800 IXOFF = 0x400 IXON = 0x200 @@ -983,7 +1007,6 @@ const ( KERN_VERSION = 0x4 LOCAL_CONNWAIT = 0x4 LOCAL_CREDS = 0x2 - LOCAL_CREDS_PERSISTENT = 0x3 LOCAL_PEERCRED = 0x1 LOCAL_VENDOR = 0x80000000 LOCK_EX = 0x2 @@ -1071,10 +1094,12 @@ const ( MNT_SUSPEND = 0x4 MNT_SYNCHRONOUS = 0x2 MNT_UNION = 0x20 + MNT_UNTRUSTED = 0x800000000 MNT_UPDATE = 0x10000 - MNT_UPDATEMASK = 0x2d8d0807e + MNT_UPDATEMASK = 0xad8d0807e MNT_USER = 0x8000 - MNT_VISFLAGMASK = 0x3fef0ffff + MNT_VERIFIED = 0x400000000 + MNT_VISFLAGMASK = 0xffef0ffff MNT_WAIT = 0x1 MSG_CMSG_CLOEXEC = 0x40000 MSG_COMPAT = 0x8000 @@ -1103,6 +1128,7 @@ const ( NFDBITS = 0x20 NOFLSH = 0x80000000 NOKERNINFO = 0x2000000 + NOTE_ABSTIME = 0x10 NOTE_ATTRIB = 0x8 NOTE_CHILD = 0x4 NOTE_CLOSE = 0x100 @@ -1159,6 +1185,8 @@ const ( O_NONBLOCK = 0x4 O_RDONLY = 0x0 O_RDWR = 0x2 + O_RESOLVE_BENEATH = 0x800000 + O_SEARCH = 0x40000 O_SHLOCK = 0x10 O_SYNC = 0x80 O_TRUNC = 0x400 @@ -1169,6 +1197,10 @@ const ( PARMRK = 0x8 PARODD = 0x2000 PENDIN = 0x20000000 + PIOD_READ_D = 0x1 + PIOD_READ_I = 0x3 + PIOD_WRITE_D = 0x2 + PIOD_WRITE_I = 0x4 PRIO_PGRP = 0x1 PRIO_PROCESS = 0x0 PRIO_USER = 0x2 @@ -1176,6 +1208,53 @@ const ( PROT_NONE = 0x0 PROT_READ = 0x1 PROT_WRITE = 0x2 + PTRACE_DEFAULT = 0x1 + PTRACE_EXEC = 0x1 + PTRACE_FORK = 0x8 + PTRACE_LWP = 0x10 + PTRACE_SCE = 0x2 + PTRACE_SCX = 0x4 + PTRACE_SYSCALL = 0x6 + PTRACE_VFORK = 0x20 + PT_ATTACH = 0xa + PT_CLEARSTEP = 0x10 + PT_CONTINUE = 0x7 + PT_DETACH = 0xb + PT_FIRSTMACH = 0x40 + PT_FOLLOW_FORK = 0x17 + PT_GETDBREGS = 0x25 + PT_GETFPREGS = 0x23 + PT_GETLWPLIST = 0xf + PT_GETNUMLWPS = 0xe + PT_GETREGS = 0x21 + PT_GETVFPREGS = 0x40 + PT_GET_EVENT_MASK = 0x19 + PT_GET_SC_ARGS = 0x1b + PT_GET_SC_RET = 0x1c + PT_IO = 0xc + PT_KILL = 0x8 + PT_LWPINFO = 0xd + PT_LWP_EVENTS = 0x18 + PT_READ_D = 0x2 + PT_READ_I = 0x1 + PT_RESUME = 0x13 + PT_SETDBREGS = 0x26 + PT_SETFPREGS = 0x24 + PT_SETREGS = 0x22 + PT_SETSTEP = 0x11 + PT_SETVFPREGS = 0x41 + PT_SET_EVENT_MASK = 0x1a + PT_STEP = 0x9 + PT_SUSPEND = 0x12 + PT_SYSCALL = 0x16 + PT_TO_SCE = 0x14 + PT_TO_SCX = 0x15 + PT_TRACE_ME = 0x0 + PT_VM_ENTRY = 0x29 + PT_VM_TIMESTAMP = 0x28 + PT_WRITE_D = 0x5 + PT_WRITE_I = 0x4 + P_ZONEID = 0xc RLIMIT_AS = 0xa RLIMIT_CORE = 0x4 RLIMIT_CPU = 0x0 @@ -1257,7 +1336,6 @@ const ( RTV_WEIGHT = 0x100 RT_ALL_FIBS = -0x1 RT_BLACKHOLE = 0x40 - RT_CACHING_CONTEXT = 0x1 RT_DEFAULT_FIB = 0x0 RT_HAS_GW = 0x80 RT_HAS_HEADER = 0x10 @@ -1267,15 +1345,17 @@ const ( RT_LLE_CACHE = 0x100 RT_MAY_LOOP = 0x8 RT_MAY_LOOP_BIT = 0x3 - RT_NORTREF = 0x2 RT_REJECT = 0x20 RUSAGE_CHILDREN = -0x1 RUSAGE_SELF = 0x0 RUSAGE_THREAD = 0x1 SCM_BINTIME = 0x4 SCM_CREDS = 0x3 + SCM_MONOTONIC = 0x6 + SCM_REALTIME = 0x5 SCM_RIGHTS = 0x1 SCM_TIMESTAMP = 0x2 + SCM_TIME_INFO = 0x7 SEEK_CUR = 0x1 SEEK_DATA = 0x3 SEEK_END = 0x2 @@ -1299,10 +1379,12 @@ const ( SIOCGHWADDR = 0xc020693e SIOCGI2C = 0xc020693d SIOCGIFADDR = 0xc0206921 + SIOCGIFALIAS = 0xc044692d SIOCGIFBRDADDR = 0xc0206923 SIOCGIFCAP = 0xc020691f SIOCGIFCONF = 0xc0086924 SIOCGIFDESCR = 0xc020692a + SIOCGIFDOWNREASON = 0xc058699a SIOCGIFDSTADDR = 0xc0206922 SIOCGIFFIB = 0xc020695c SIOCGIFFLAGS = 0xc0206911 @@ -1318,8 +1400,11 @@ const ( SIOCGIFPDSTADDR = 0xc0206948 SIOCGIFPHYS = 0xc0206935 SIOCGIFPSRCADDR = 0xc0206947 + SIOCGIFRSSHASH = 0xc0186997 + SIOCGIFRSSKEY = 0xc0946996 SIOCGIFSTATUS = 0xc331693b SIOCGIFXMEDIA = 0xc028698b + SIOCGLANPCP = 0xc0206998 SIOCGLOWAT = 0x40047303 SIOCGPGRP = 0x40047309 SIOCGPRIVATE_0 = 0xc0206950 @@ -1350,6 +1435,7 @@ const ( SIOCSIFPHYS = 0x80206936 SIOCSIFRVNET = 0xc020695b SIOCSIFVNET = 0xc020695a + SIOCSLANPCP = 0x80206999 SIOCSLOWAT = 0x80047302 SIOCSPGRP = 0x80047308 SIOCSTUNFIB = 0x8020695f @@ -1369,6 +1455,7 @@ const ( SO_BINTIME = 0x2000 SO_BROADCAST = 0x20 SO_DEBUG = 0x1 + SO_DOMAIN = 0x1019 SO_DONTROUTE = 0x10 SO_ERROR = 0x1007 SO_KEEPALIVE = 0x8 @@ -1377,6 +1464,7 @@ const ( SO_LISTENINCQLEN = 0x1013 SO_LISTENQLEN = 0x1012 SO_LISTENQLIMIT = 0x1011 + SO_MAX_PACING_RATE = 0x1018 SO_NOSIGPIPE = 0x800 SO_NO_DDP = 0x8000 SO_NO_OFFLOAD = 0x4000 @@ -1387,13 +1475,22 @@ const ( SO_RCVBUF = 0x1002 SO_RCVLOWAT = 0x1004 SO_RCVTIMEO = 0x1006 + SO_RERROR = 0x20000 SO_REUSEADDR = 0x4 SO_REUSEPORT = 0x200 + SO_REUSEPORT_LB = 0x10000 SO_SETFIB = 0x1014 SO_SNDBUF = 0x1001 SO_SNDLOWAT = 0x1003 SO_SNDTIMEO = 0x1005 SO_TIMESTAMP = 0x400 + SO_TS_BINTIME = 0x1 + SO_TS_CLOCK = 0x1017 + SO_TS_CLOCK_MAX = 0x3 + SO_TS_DEFAULT = 0x0 + SO_TS_MONOTONIC = 0x3 + SO_TS_REALTIME = 0x2 + SO_TS_REALTIME_MICRO = 0x0 SO_TYPE = 0x1008 SO_USELOOPBACK = 0x40 SO_USER_COOKIE = 0x1015 @@ -1437,10 +1534,69 @@ const ( TCOFLUSH = 0x2 TCOOFF = 0x1 TCOON = 0x2 + TCPOPT_EOL = 0x0 + TCPOPT_FAST_OPEN = 0x22 + TCPOPT_MAXSEG = 0x2 + TCPOPT_NOP = 0x1 + TCPOPT_PAD = 0x0 + TCPOPT_SACK = 0x5 + TCPOPT_SACK_PERMITTED = 0x4 + TCPOPT_SIGNATURE = 0x13 + TCPOPT_TIMESTAMP = 0x8 + TCPOPT_WINDOW = 0x3 + TCP_BBR_ACK_COMP_ALG = 0x448 + TCP_BBR_ALGORITHM = 0x43b + TCP_BBR_DRAIN_INC_EXTRA = 0x43c + TCP_BBR_DRAIN_PG = 0x42e + TCP_BBR_EXTRA_GAIN = 0x449 + TCP_BBR_EXTRA_STATE = 0x453 + TCP_BBR_FLOOR_MIN_TSO = 0x454 + TCP_BBR_HDWR_PACE = 0x451 + TCP_BBR_HOLD_TARGET = 0x436 + TCP_BBR_IWINTSO = 0x42b + TCP_BBR_LOWGAIN_FD = 0x436 + TCP_BBR_LOWGAIN_HALF = 0x435 + TCP_BBR_LOWGAIN_THRESH = 0x434 + TCP_BBR_MAX_RTO = 0x439 + TCP_BBR_MIN_RTO = 0x438 + TCP_BBR_MIN_TOPACEOUT = 0x455 + TCP_BBR_ONE_RETRAN = 0x431 + TCP_BBR_PACE_CROSS = 0x442 + TCP_BBR_PACE_DEL_TAR = 0x43f + TCP_BBR_PACE_OH = 0x435 + TCP_BBR_PACE_PER_SEC = 0x43e + TCP_BBR_PACE_SEG_MAX = 0x440 + TCP_BBR_PACE_SEG_MIN = 0x441 + TCP_BBR_POLICER_DETECT = 0x457 + TCP_BBR_PROBE_RTT_GAIN = 0x44d + TCP_BBR_PROBE_RTT_INT = 0x430 + TCP_BBR_PROBE_RTT_LEN = 0x44e + TCP_BBR_RACK_RTT_USE = 0x44a + TCP_BBR_RECFORCE = 0x42c + TCP_BBR_REC_OVER_HPTS = 0x43a + TCP_BBR_RETRAN_WTSO = 0x44b + TCP_BBR_RWND_IS_APP = 0x42f + TCP_BBR_SEND_IWND_IN_TSO = 0x44f + TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d + TCP_BBR_STARTUP_LOSS_EXIT = 0x432 + TCP_BBR_STARTUP_PG = 0x42d + TCP_BBR_TMR_PACE_OH = 0x448 + TCP_BBR_TSLIMITS = 0x434 + TCP_BBR_TSTMP_RAISES = 0x456 + TCP_BBR_UNLIMITED = 0x43b + TCP_BBR_USEDEL_RATE = 0x437 + TCP_BBR_USE_LOWGAIN = 0x433 + TCP_BBR_USE_RACK_CHEAT = 0x450 + TCP_BBR_UTTER_MAX_TSO = 0x452 TCP_CA_NAME_MAX = 0x10 TCP_CCALGOOPT = 0x41 TCP_CONGESTION = 0x40 + TCP_DATA_AFTER_CLOSE = 0x44c + TCP_DELACK = 0x48 TCP_FASTOPEN = 0x401 + TCP_FASTOPEN_MAX_COOKIE_LEN = 0x10 + TCP_FASTOPEN_MIN_COOKIE_LEN = 0x4 + TCP_FASTOPEN_PSK_LEN = 0x10 TCP_FUNCTION_BLK = 0x2000 TCP_FUNCTION_NAME_LEN_MAX = 0x20 TCP_INFO = 0x20 @@ -1448,6 +1604,12 @@ const ( TCP_KEEPIDLE = 0x100 TCP_KEEPINIT = 0x80 TCP_KEEPINTVL = 0x200 + TCP_LOG = 0x22 + TCP_LOGBUF = 0x23 + TCP_LOGDUMP = 0x25 + TCP_LOGDUMPID = 0x26 + TCP_LOGID = 0x24 + TCP_LOG_ID_LEN = 0x40 TCP_MAXBURST = 0x4 TCP_MAXHLEN = 0x3c TCP_MAXOLEN = 0x28 @@ -1463,8 +1625,30 @@ const ( TCP_NOPUSH = 0x4 TCP_PCAP_IN = 0x1000 TCP_PCAP_OUT = 0x800 + TCP_RACK_EARLY_RECOV = 0x423 + TCP_RACK_EARLY_SEG = 0x424 + TCP_RACK_GP_INCREASE = 0x446 + TCP_RACK_IDLE_REDUCE_HIGH = 0x444 + TCP_RACK_MIN_PACE = 0x445 + TCP_RACK_MIN_PACE_SEG = 0x446 + TCP_RACK_MIN_TO = 0x422 + TCP_RACK_PACE_ALWAYS = 0x41f + TCP_RACK_PACE_MAX_SEG = 0x41e + TCP_RACK_PACE_REDUCE = 0x41d + TCP_RACK_PKT_DELAY = 0x428 + TCP_RACK_PROP = 0x41b + TCP_RACK_PROP_RATE = 0x420 + TCP_RACK_PRR_SENDALOT = 0x421 + TCP_RACK_REORD_FADE = 0x426 + TCP_RACK_REORD_THRESH = 0x425 + TCP_RACK_TLP_INC_VAR = 0x429 + TCP_RACK_TLP_REDUCE = 0x41c + TCP_RACK_TLP_THRESH = 0x427 + TCP_RACK_TLP_USE = 0x447 TCP_VENDOR = 0x80000000 TCSAFLUSH = 0x2 + TIMER_ABSTIME = 0x1 + TIMER_RELTIME = 0x0 TIOCCBRK = 0x2000747a TIOCCDTR = 0x20007478 TIOCCONS = 0x80047462 @@ -1528,6 +1712,8 @@ const ( TIOCTIMESTAMP = 0x40107459 TIOCUCNTL = 0x80047466 TOSTOP = 0x400000 + UTIME_NOW = -0x1 + UTIME_OMIT = -0x2 VDISCARD = 0xf VDSUSP = 0xb VEOF = 0x0 @@ -1592,12 +1778,13 @@ const ( EIDRM = syscall.Errno(0x52) EILSEQ = syscall.Errno(0x56) EINPROGRESS = syscall.Errno(0x24) + EINTEGRITY = syscall.Errno(0x61) EINTR = syscall.Errno(0x4) EINVAL = syscall.Errno(0x16) EIO = syscall.Errno(0x5) EISCONN = syscall.Errno(0x38) EISDIR = syscall.Errno(0x15) - ELAST = syscall.Errno(0x60) + ELAST = syscall.Errno(0x61) ELOOP = syscall.Errno(0x3e) EMFILE = syscall.Errno(0x18) EMLINK = syscall.Errno(0x1f) @@ -1740,7 +1927,7 @@ var errorList = [...]struct { {32, "EPIPE", "broken pipe"}, {33, "EDOM", "numerical argument out of domain"}, {34, "ERANGE", "result too large"}, - {35, "EAGAIN", "resource temporarily unavailable"}, + {35, "EWOULDBLOCK", "resource temporarily unavailable"}, {36, "EINPROGRESS", "operation now in progress"}, {37, "EALREADY", "operation already in progress"}, {38, "ENOTSOCK", "socket operation on non-socket"}, @@ -1802,6 +1989,7 @@ var errorList = [...]struct { {94, "ECAPMODE", "not permitted in capability mode"}, {95, "ENOTRECOVERABLE", "state not recoverable"}, {96, "EOWNERDEAD", "previous owner died"}, + {97, "EINTEGRITY", "integrity check failed"}, } // Signal table diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go index 4c837711493f..c557ac2db317 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go @@ -151,6 +151,7 @@ const ( BIOCSETF = 0x80104267 BIOCSETFNR = 0x80104282 BIOCSETIF = 0x8020426c + BIOCSETVLANPCP = 0x80044285 BIOCSETWF = 0x8010427b BIOCSETZBUF = 0x80184281 BIOCSHDRCMPLT = 0x80044275 @@ -447,7 +448,7 @@ const ( DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1 DLT_INFINIBAND = 0xf7 DLT_IPFILTER = 0x74 - DLT_IPMB = 0xc7 + DLT_IPMB_KONTRON = 0xc7 DLT_IPMB_LINUX = 0xd1 DLT_IPMI_HPM_2 = 0x104 DLT_IPNET = 0xe2 @@ -487,10 +488,11 @@ const ( DLT_LINUX_LAPD = 0xb1 DLT_LINUX_PPP_WITHDIRECTION = 0xa6 DLT_LINUX_SLL = 0x71 + DLT_LINUX_SLL2 = 0x114 DLT_LOOP = 0x6c DLT_LORATAP = 0x10e DLT_LTALK = 0x72 - DLT_MATCHING_MAX = 0x113 + DLT_MATCHING_MAX = 0x114 DLT_MATCHING_MIN = 0x68 DLT_MFR = 0xb6 DLT_MOST = 0xd3 @@ -734,6 +736,7 @@ const ( IPPROTO_CMTP = 0x26 IPPROTO_CPHB = 0x49 IPPROTO_CPNX = 0x48 + IPPROTO_DCCP = 0x21 IPPROTO_DDP = 0x25 IPPROTO_DGP = 0x56 IPPROTO_DIVERT = 0x102 @@ -814,7 +817,6 @@ const ( IPPROTO_SCTP = 0x84 IPPROTO_SDRP = 0x2a IPPROTO_SEND = 0x103 - IPPROTO_SEP = 0x21 IPPROTO_SHIM6 = 0x8c IPPROTO_SKIP = 0x39 IPPROTO_SPACER = 0x7fff @@ -911,6 +913,7 @@ const ( IPV6_V6ONLY = 0x1b IPV6_VERSION = 0x60 IPV6_VERSION_MASK = 0xf0 + IPV6_VLAN_PCP = 0x4b IP_ADD_MEMBERSHIP = 0xc IP_ADD_SOURCE_MEMBERSHIP = 0x46 IP_BINDANY = 0x18 @@ -989,8 +992,12 @@ const ( IP_TOS = 0x3 IP_TTL = 0x4 IP_UNBLOCK_SOURCE = 0x49 + IP_VLAN_PCP = 0x4b ISIG = 0x80 ISTRIP = 0x20 + ITIMER_PROF = 0x2 + ITIMER_REAL = 0x0 + ITIMER_VIRTUAL = 0x1 IXANY = 0x800 IXOFF = 0x400 IXON = 0x200 @@ -1000,7 +1007,6 @@ const ( KERN_VERSION = 0x4 LOCAL_CONNWAIT = 0x4 LOCAL_CREDS = 0x2 - LOCAL_CREDS_PERSISTENT = 0x3 LOCAL_PEERCRED = 0x1 LOCAL_VENDOR = 0x80000000 LOCK_EX = 0x2 @@ -1180,6 +1186,8 @@ const ( O_NONBLOCK = 0x4 O_RDONLY = 0x0 O_RDWR = 0x2 + O_RESOLVE_BENEATH = 0x800000 + O_SEARCH = 0x40000 O_SHLOCK = 0x10 O_SYNC = 0x80 O_TRUNC = 0x400 @@ -1190,6 +1198,10 @@ const ( PARMRK = 0x8 PARODD = 0x2000 PENDIN = 0x20000000 + PIOD_READ_D = 0x1 + PIOD_READ_I = 0x3 + PIOD_WRITE_D = 0x2 + PIOD_WRITE_I = 0x4 PRIO_PGRP = 0x1 PRIO_PROCESS = 0x0 PRIO_USER = 0x2 @@ -1197,6 +1209,51 @@ const ( PROT_NONE = 0x0 PROT_READ = 0x1 PROT_WRITE = 0x2 + PTRACE_DEFAULT = 0x1 + PTRACE_EXEC = 0x1 + PTRACE_FORK = 0x8 + PTRACE_LWP = 0x10 + PTRACE_SCE = 0x2 + PTRACE_SCX = 0x4 + PTRACE_SYSCALL = 0x6 + PTRACE_VFORK = 0x20 + PT_ATTACH = 0xa + PT_CLEARSTEP = 0x10 + PT_CONTINUE = 0x7 + PT_DETACH = 0xb + PT_FIRSTMACH = 0x40 + PT_FOLLOW_FORK = 0x17 + PT_GETDBREGS = 0x25 + PT_GETFPREGS = 0x23 + PT_GETLWPLIST = 0xf + PT_GETNUMLWPS = 0xe + PT_GETREGS = 0x21 + PT_GET_EVENT_MASK = 0x19 + PT_GET_SC_ARGS = 0x1b + PT_GET_SC_RET = 0x1c + PT_IO = 0xc + PT_KILL = 0x8 + PT_LWPINFO = 0xd + PT_LWP_EVENTS = 0x18 + PT_READ_D = 0x2 + PT_READ_I = 0x1 + PT_RESUME = 0x13 + PT_SETDBREGS = 0x26 + PT_SETFPREGS = 0x24 + PT_SETREGS = 0x22 + PT_SETSTEP = 0x11 + PT_SET_EVENT_MASK = 0x1a + PT_STEP = 0x9 + PT_SUSPEND = 0x12 + PT_SYSCALL = 0x16 + PT_TO_SCE = 0x14 + PT_TO_SCX = 0x15 + PT_TRACE_ME = 0x0 + PT_VM_ENTRY = 0x29 + PT_VM_TIMESTAMP = 0x28 + PT_WRITE_D = 0x5 + PT_WRITE_I = 0x4 + P_ZONEID = 0xc RLIMIT_AS = 0xa RLIMIT_CORE = 0x4 RLIMIT_CPU = 0x0 @@ -1321,10 +1378,12 @@ const ( SIOCGHWADDR = 0xc020693e SIOCGI2C = 0xc020693d SIOCGIFADDR = 0xc0206921 + SIOCGIFALIAS = 0xc044692d SIOCGIFBRDADDR = 0xc0206923 SIOCGIFCAP = 0xc020691f SIOCGIFCONF = 0xc0106924 SIOCGIFDESCR = 0xc020692a + SIOCGIFDOWNREASON = 0xc058699a SIOCGIFDSTADDR = 0xc0206922 SIOCGIFFIB = 0xc020695c SIOCGIFFLAGS = 0xc0206911 @@ -1415,6 +1474,7 @@ const ( SO_RCVBUF = 0x1002 SO_RCVLOWAT = 0x1004 SO_RCVTIMEO = 0x1006 + SO_RERROR = 0x20000 SO_REUSEADDR = 0x4 SO_REUSEPORT = 0x200 SO_REUSEPORT_LB = 0x10000 @@ -1473,22 +1533,40 @@ const ( TCOFLUSH = 0x2 TCOOFF = 0x1 TCOON = 0x2 + TCPOPT_EOL = 0x0 + TCPOPT_FAST_OPEN = 0x22 + TCPOPT_MAXSEG = 0x2 + TCPOPT_NOP = 0x1 + TCPOPT_PAD = 0x0 + TCPOPT_SACK = 0x5 + TCPOPT_SACK_PERMITTED = 0x4 + TCPOPT_SIGNATURE = 0x13 + TCPOPT_TIMESTAMP = 0x8 + TCPOPT_WINDOW = 0x3 TCP_BBR_ACK_COMP_ALG = 0x448 + TCP_BBR_ALGORITHM = 0x43b TCP_BBR_DRAIN_INC_EXTRA = 0x43c TCP_BBR_DRAIN_PG = 0x42e TCP_BBR_EXTRA_GAIN = 0x449 + TCP_BBR_EXTRA_STATE = 0x453 + TCP_BBR_FLOOR_MIN_TSO = 0x454 + TCP_BBR_HDWR_PACE = 0x451 + TCP_BBR_HOLD_TARGET = 0x436 TCP_BBR_IWINTSO = 0x42b TCP_BBR_LOWGAIN_FD = 0x436 TCP_BBR_LOWGAIN_HALF = 0x435 TCP_BBR_LOWGAIN_THRESH = 0x434 TCP_BBR_MAX_RTO = 0x439 TCP_BBR_MIN_RTO = 0x438 + TCP_BBR_MIN_TOPACEOUT = 0x455 TCP_BBR_ONE_RETRAN = 0x431 TCP_BBR_PACE_CROSS = 0x442 TCP_BBR_PACE_DEL_TAR = 0x43f + TCP_BBR_PACE_OH = 0x435 TCP_BBR_PACE_PER_SEC = 0x43e TCP_BBR_PACE_SEG_MAX = 0x440 TCP_BBR_PACE_SEG_MIN = 0x441 + TCP_BBR_POLICER_DETECT = 0x457 TCP_BBR_PROBE_RTT_GAIN = 0x44d TCP_BBR_PROBE_RTT_INT = 0x430 TCP_BBR_PROBE_RTT_LEN = 0x44e @@ -1497,12 +1575,18 @@ const ( TCP_BBR_REC_OVER_HPTS = 0x43a TCP_BBR_RETRAN_WTSO = 0x44b TCP_BBR_RWND_IS_APP = 0x42f + TCP_BBR_SEND_IWND_IN_TSO = 0x44f TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d TCP_BBR_STARTUP_LOSS_EXIT = 0x432 TCP_BBR_STARTUP_PG = 0x42d + TCP_BBR_TMR_PACE_OH = 0x448 + TCP_BBR_TSLIMITS = 0x434 + TCP_BBR_TSTMP_RAISES = 0x456 TCP_BBR_UNLIMITED = 0x43b TCP_BBR_USEDEL_RATE = 0x437 TCP_BBR_USE_LOWGAIN = 0x433 + TCP_BBR_USE_RACK_CHEAT = 0x450 + TCP_BBR_UTTER_MAX_TSO = 0x452 TCP_CA_NAME_MAX = 0x10 TCP_CCALGOOPT = 0x41 TCP_CONGESTION = 0x40 @@ -1542,6 +1626,7 @@ const ( TCP_PCAP_OUT = 0x800 TCP_RACK_EARLY_RECOV = 0x423 TCP_RACK_EARLY_SEG = 0x424 + TCP_RACK_GP_INCREASE = 0x446 TCP_RACK_IDLE_REDUCE_HIGH = 0x444 TCP_RACK_MIN_PACE = 0x445 TCP_RACK_MIN_PACE_SEG = 0x446 @@ -1555,7 +1640,6 @@ const ( TCP_RACK_PRR_SENDALOT = 0x421 TCP_RACK_REORD_FADE = 0x426 TCP_RACK_REORD_THRESH = 0x425 - TCP_RACK_SESS_CWV = 0x42a TCP_RACK_TLP_INC_VAR = 0x429 TCP_RACK_TLP_REDUCE = 0x41c TCP_RACK_TLP_THRESH = 0x427 @@ -1694,12 +1778,13 @@ const ( EIDRM = syscall.Errno(0x52) EILSEQ = syscall.Errno(0x56) EINPROGRESS = syscall.Errno(0x24) + EINTEGRITY = syscall.Errno(0x61) EINTR = syscall.Errno(0x4) EINVAL = syscall.Errno(0x16) EIO = syscall.Errno(0x5) EISCONN = syscall.Errno(0x38) EISDIR = syscall.Errno(0x15) - ELAST = syscall.Errno(0x60) + ELAST = syscall.Errno(0x61) ELOOP = syscall.Errno(0x3e) EMFILE = syscall.Errno(0x18) EMLINK = syscall.Errno(0x1f) @@ -1842,7 +1927,7 @@ var errorList = [...]struct { {32, "EPIPE", "broken pipe"}, {33, "EDOM", "numerical argument out of domain"}, {34, "ERANGE", "result too large"}, - {35, "EAGAIN", "resource temporarily unavailable"}, + {35, "EWOULDBLOCK", "resource temporarily unavailable"}, {36, "EINPROGRESS", "operation now in progress"}, {37, "EALREADY", "operation already in progress"}, {38, "ENOTSOCK", "socket operation on non-socket"}, @@ -1904,6 +1989,7 @@ var errorList = [...]struct { {94, "ECAPMODE", "not permitted in capability mode"}, {95, "ENOTRECOVERABLE", "state not recoverable"}, {96, "EOWNERDEAD", "previous owner died"}, + {97, "EINTEGRITY", "integrity check failed"}, } // Signal table diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go new file mode 100644 index 000000000000..341b4d96265b --- /dev/null +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_freebsd_riscv64.go @@ -0,0 +1,2148 @@ +// mkerrors.sh -m64 +// Code generated by the command above; see README.md. DO NOT EDIT. + +//go:build riscv64 && freebsd +// +build riscv64,freebsd + +// Code generated by cmd/cgo -godefs; DO NOT EDIT. +// cgo -godefs -- -m64 _const.go + +package unix + +import "syscall" + +const ( + AF_APPLETALK = 0x10 + AF_ARP = 0x23 + AF_ATM = 0x1e + AF_BLUETOOTH = 0x24 + AF_CCITT = 0xa + AF_CHAOS = 0x5 + AF_CNT = 0x15 + AF_COIP = 0x14 + AF_DATAKIT = 0x9 + AF_DECnet = 0xc + AF_DLI = 0xd + AF_E164 = 0x1a + AF_ECMA = 0x8 + AF_HYLINK = 0xf + AF_HYPERV = 0x2b + AF_IEEE80211 = 0x25 + AF_IMPLINK = 0x3 + AF_INET = 0x2 + AF_INET6 = 0x1c + AF_INET6_SDP = 0x2a + AF_INET_SDP = 0x28 + AF_IPX = 0x17 + AF_ISDN = 0x1a + AF_ISO = 0x7 + AF_LAT = 0xe + AF_LINK = 0x12 + AF_LOCAL = 0x1 + AF_MAX = 0x2b + AF_NATM = 0x1d + AF_NETBIOS = 0x6 + AF_NETGRAPH = 0x20 + AF_OSI = 0x7 + AF_PUP = 0x4 + AF_ROUTE = 0x11 + AF_SCLUSTER = 0x22 + AF_SIP = 0x18 + AF_SLOW = 0x21 + AF_SNA = 0xb + AF_UNIX = 0x1 + AF_UNSPEC = 0x0 + AF_VENDOR00 = 0x27 + AF_VENDOR01 = 0x29 + AF_VENDOR03 = 0x2d + AF_VENDOR04 = 0x2f + AF_VENDOR05 = 0x31 + AF_VENDOR06 = 0x33 + AF_VENDOR07 = 0x35 + AF_VENDOR08 = 0x37 + AF_VENDOR09 = 0x39 + AF_VENDOR10 = 0x3b + AF_VENDOR11 = 0x3d + AF_VENDOR12 = 0x3f + AF_VENDOR13 = 0x41 + AF_VENDOR14 = 0x43 + AF_VENDOR15 = 0x45 + AF_VENDOR16 = 0x47 + AF_VENDOR17 = 0x49 + AF_VENDOR18 = 0x4b + AF_VENDOR19 = 0x4d + AF_VENDOR20 = 0x4f + AF_VENDOR21 = 0x51 + AF_VENDOR22 = 0x53 + AF_VENDOR23 = 0x55 + AF_VENDOR24 = 0x57 + AF_VENDOR25 = 0x59 + AF_VENDOR26 = 0x5b + AF_VENDOR27 = 0x5d + AF_VENDOR28 = 0x5f + AF_VENDOR29 = 0x61 + AF_VENDOR30 = 0x63 + AF_VENDOR31 = 0x65 + AF_VENDOR32 = 0x67 + AF_VENDOR33 = 0x69 + AF_VENDOR34 = 0x6b + AF_VENDOR35 = 0x6d + AF_VENDOR36 = 0x6f + AF_VENDOR37 = 0x71 + AF_VENDOR38 = 0x73 + AF_VENDOR39 = 0x75 + AF_VENDOR40 = 0x77 + AF_VENDOR41 = 0x79 + AF_VENDOR42 = 0x7b + AF_VENDOR43 = 0x7d + AF_VENDOR44 = 0x7f + AF_VENDOR45 = 0x81 + AF_VENDOR46 = 0x83 + AF_VENDOR47 = 0x85 + ALTWERASE = 0x200 + B0 = 0x0 + B1000000 = 0xf4240 + B110 = 0x6e + B115200 = 0x1c200 + B1200 = 0x4b0 + B134 = 0x86 + B14400 = 0x3840 + B150 = 0x96 + B1500000 = 0x16e360 + B1800 = 0x708 + B19200 = 0x4b00 + B200 = 0xc8 + B2000000 = 0x1e8480 + B230400 = 0x38400 + B2400 = 0x960 + B2500000 = 0x2625a0 + B28800 = 0x7080 + B300 = 0x12c + B3000000 = 0x2dc6c0 + B3500000 = 0x3567e0 + B38400 = 0x9600 + B4000000 = 0x3d0900 + B460800 = 0x70800 + B4800 = 0x12c0 + B50 = 0x32 + B500000 = 0x7a120 + B57600 = 0xe100 + B600 = 0x258 + B7200 = 0x1c20 + B75 = 0x4b + B76800 = 0x12c00 + B921600 = 0xe1000 + B9600 = 0x2580 + BIOCFEEDBACK = 0x8004427c + BIOCFLUSH = 0x20004268 + BIOCGBLEN = 0x40044266 + BIOCGDIRECTION = 0x40044276 + BIOCGDLT = 0x4004426a + BIOCGDLTLIST = 0xc0104279 + BIOCGETBUFMODE = 0x4004427d + BIOCGETIF = 0x4020426b + BIOCGETZMAX = 0x4008427f + BIOCGHDRCMPLT = 0x40044274 + BIOCGRSIG = 0x40044272 + BIOCGRTIMEOUT = 0x4010426e + BIOCGSEESENT = 0x40044276 + BIOCGSTATS = 0x4008426f + BIOCGTSTAMP = 0x40044283 + BIOCIMMEDIATE = 0x80044270 + BIOCLOCK = 0x2000427a + BIOCPROMISC = 0x20004269 + BIOCROTZBUF = 0x40184280 + BIOCSBLEN = 0xc0044266 + BIOCSDIRECTION = 0x80044277 + BIOCSDLT = 0x80044278 + BIOCSETBUFMODE = 0x8004427e + BIOCSETF = 0x80104267 + BIOCSETFNR = 0x80104282 + BIOCSETIF = 0x8020426c + BIOCSETVLANPCP = 0x80044285 + BIOCSETWF = 0x8010427b + BIOCSETZBUF = 0x80184281 + BIOCSHDRCMPLT = 0x80044275 + BIOCSRSIG = 0x80044273 + BIOCSRTIMEOUT = 0x8010426d + BIOCSSEESENT = 0x80044277 + BIOCSTSTAMP = 0x80044284 + BIOCVERSION = 0x40044271 + BPF_A = 0x10 + BPF_ABS = 0x20 + BPF_ADD = 0x0 + BPF_ALIGNMENT = 0x8 + BPF_ALU = 0x4 + BPF_AND = 0x50 + BPF_B = 0x10 + BPF_BUFMODE_BUFFER = 0x1 + BPF_BUFMODE_ZBUF = 0x2 + BPF_DIV = 0x30 + BPF_H = 0x8 + BPF_IMM = 0x0 + BPF_IND = 0x40 + BPF_JA = 0x0 + BPF_JEQ = 0x10 + BPF_JGE = 0x30 + BPF_JGT = 0x20 + BPF_JMP = 0x5 + BPF_JSET = 0x40 + BPF_K = 0x0 + BPF_LD = 0x0 + BPF_LDX = 0x1 + BPF_LEN = 0x80 + BPF_LSH = 0x60 + BPF_MAJOR_VERSION = 0x1 + BPF_MAXBUFSIZE = 0x80000 + BPF_MAXINSNS = 0x200 + BPF_MEM = 0x60 + BPF_MEMWORDS = 0x10 + BPF_MINBUFSIZE = 0x20 + BPF_MINOR_VERSION = 0x1 + BPF_MISC = 0x7 + BPF_MOD = 0x90 + BPF_MSH = 0xa0 + BPF_MUL = 0x20 + BPF_NEG = 0x80 + BPF_OR = 0x40 + BPF_RELEASE = 0x30bb6 + BPF_RET = 0x6 + BPF_RSH = 0x70 + BPF_ST = 0x2 + BPF_STX = 0x3 + BPF_SUB = 0x10 + BPF_TAX = 0x0 + BPF_TXA = 0x80 + BPF_T_BINTIME = 0x2 + BPF_T_BINTIME_FAST = 0x102 + BPF_T_BINTIME_MONOTONIC = 0x202 + BPF_T_BINTIME_MONOTONIC_FAST = 0x302 + BPF_T_FAST = 0x100 + BPF_T_FLAG_MASK = 0x300 + BPF_T_FORMAT_MASK = 0x3 + BPF_T_MICROTIME = 0x0 + BPF_T_MICROTIME_FAST = 0x100 + BPF_T_MICROTIME_MONOTONIC = 0x200 + BPF_T_MICROTIME_MONOTONIC_FAST = 0x300 + BPF_T_MONOTONIC = 0x200 + BPF_T_MONOTONIC_FAST = 0x300 + BPF_T_NANOTIME = 0x1 + BPF_T_NANOTIME_FAST = 0x101 + BPF_T_NANOTIME_MONOTONIC = 0x201 + BPF_T_NANOTIME_MONOTONIC_FAST = 0x301 + BPF_T_NONE = 0x3 + BPF_T_NORMAL = 0x0 + BPF_W = 0x0 + BPF_X = 0x8 + BPF_XOR = 0xa0 + BRKINT = 0x2 + CAP_ACCEPT = 0x200000020000000 + CAP_ACL_CHECK = 0x400000000010000 + CAP_ACL_DELETE = 0x400000000020000 + CAP_ACL_GET = 0x400000000040000 + CAP_ACL_SET = 0x400000000080000 + CAP_ALL0 = 0x20007ffffffffff + CAP_ALL1 = 0x4000000001fffff + CAP_BIND = 0x200000040000000 + CAP_BINDAT = 0x200008000000400 + CAP_CHFLAGSAT = 0x200000000001400 + CAP_CONNECT = 0x200000080000000 + CAP_CONNECTAT = 0x200010000000400 + CAP_CREATE = 0x200000000000040 + CAP_EVENT = 0x400000000000020 + CAP_EXTATTR_DELETE = 0x400000000001000 + CAP_EXTATTR_GET = 0x400000000002000 + CAP_EXTATTR_LIST = 0x400000000004000 + CAP_EXTATTR_SET = 0x400000000008000 + CAP_FCHDIR = 0x200000000000800 + CAP_FCHFLAGS = 0x200000000001000 + CAP_FCHMOD = 0x200000000002000 + CAP_FCHMODAT = 0x200000000002400 + CAP_FCHOWN = 0x200000000004000 + CAP_FCHOWNAT = 0x200000000004400 + CAP_FCNTL = 0x200000000008000 + CAP_FCNTL_ALL = 0x78 + CAP_FCNTL_GETFL = 0x8 + CAP_FCNTL_GETOWN = 0x20 + CAP_FCNTL_SETFL = 0x10 + CAP_FCNTL_SETOWN = 0x40 + CAP_FEXECVE = 0x200000000000080 + CAP_FLOCK = 0x200000000010000 + CAP_FPATHCONF = 0x200000000020000 + CAP_FSCK = 0x200000000040000 + CAP_FSTAT = 0x200000000080000 + CAP_FSTATAT = 0x200000000080400 + CAP_FSTATFS = 0x200000000100000 + CAP_FSYNC = 0x200000000000100 + CAP_FTRUNCATE = 0x200000000000200 + CAP_FUTIMES = 0x200000000200000 + CAP_FUTIMESAT = 0x200000000200400 + CAP_GETPEERNAME = 0x200000100000000 + CAP_GETSOCKNAME = 0x200000200000000 + CAP_GETSOCKOPT = 0x200000400000000 + CAP_IOCTL = 0x400000000000080 + CAP_IOCTLS_ALL = 0x7fffffffffffffff + CAP_KQUEUE = 0x400000000100040 + CAP_KQUEUE_CHANGE = 0x400000000100000 + CAP_KQUEUE_EVENT = 0x400000000000040 + CAP_LINKAT_SOURCE = 0x200020000000400 + CAP_LINKAT_TARGET = 0x200000000400400 + CAP_LISTEN = 0x200000800000000 + CAP_LOOKUP = 0x200000000000400 + CAP_MAC_GET = 0x400000000000001 + CAP_MAC_SET = 0x400000000000002 + CAP_MKDIRAT = 0x200000000800400 + CAP_MKFIFOAT = 0x200000001000400 + CAP_MKNODAT = 0x200000002000400 + CAP_MMAP = 0x200000000000010 + CAP_MMAP_R = 0x20000000000001d + CAP_MMAP_RW = 0x20000000000001f + CAP_MMAP_RWX = 0x20000000000003f + CAP_MMAP_RX = 0x20000000000003d + CAP_MMAP_W = 0x20000000000001e + CAP_MMAP_WX = 0x20000000000003e + CAP_MMAP_X = 0x20000000000003c + CAP_PDGETPID = 0x400000000000200 + CAP_PDKILL = 0x400000000000800 + CAP_PDWAIT = 0x400000000000400 + CAP_PEELOFF = 0x200001000000000 + CAP_POLL_EVENT = 0x400000000000020 + CAP_PREAD = 0x20000000000000d + CAP_PWRITE = 0x20000000000000e + CAP_READ = 0x200000000000001 + CAP_RECV = 0x200000000000001 + CAP_RENAMEAT_SOURCE = 0x200000004000400 + CAP_RENAMEAT_TARGET = 0x200040000000400 + CAP_RIGHTS_VERSION = 0x0 + CAP_RIGHTS_VERSION_00 = 0x0 + CAP_SEEK = 0x20000000000000c + CAP_SEEK_TELL = 0x200000000000004 + CAP_SEM_GETVALUE = 0x400000000000004 + CAP_SEM_POST = 0x400000000000008 + CAP_SEM_WAIT = 0x400000000000010 + CAP_SEND = 0x200000000000002 + CAP_SETSOCKOPT = 0x200002000000000 + CAP_SHUTDOWN = 0x200004000000000 + CAP_SOCK_CLIENT = 0x200007780000003 + CAP_SOCK_SERVER = 0x200007f60000003 + CAP_SYMLINKAT = 0x200000008000400 + CAP_TTYHOOK = 0x400000000000100 + CAP_UNLINKAT = 0x200000010000400 + CAP_UNUSED0_44 = 0x200080000000000 + CAP_UNUSED0_57 = 0x300000000000000 + CAP_UNUSED1_22 = 0x400000000200000 + CAP_UNUSED1_57 = 0x500000000000000 + CAP_WRITE = 0x200000000000002 + CFLUSH = 0xf + CLOCAL = 0x8000 + CLOCK_BOOTTIME = 0x5 + CLOCK_MONOTONIC = 0x4 + CLOCK_MONOTONIC_COARSE = 0xc + CLOCK_MONOTONIC_FAST = 0xc + CLOCK_MONOTONIC_PRECISE = 0xb + CLOCK_PROCESS_CPUTIME_ID = 0xf + CLOCK_PROF = 0x2 + CLOCK_REALTIME = 0x0 + CLOCK_REALTIME_COARSE = 0xa + CLOCK_REALTIME_FAST = 0xa + CLOCK_REALTIME_PRECISE = 0x9 + CLOCK_SECOND = 0xd + CLOCK_THREAD_CPUTIME_ID = 0xe + CLOCK_UPTIME = 0x5 + CLOCK_UPTIME_FAST = 0x8 + CLOCK_UPTIME_PRECISE = 0x7 + CLOCK_VIRTUAL = 0x1 + CPUSTATES = 0x5 + CP_IDLE = 0x4 + CP_INTR = 0x3 + CP_NICE = 0x1 + CP_SYS = 0x2 + CP_USER = 0x0 + CREAD = 0x800 + CRTSCTS = 0x30000 + CS5 = 0x0 + CS6 = 0x100 + CS7 = 0x200 + CS8 = 0x300 + CSIZE = 0x300 + CSTART = 0x11 + CSTATUS = 0x14 + CSTOP = 0x13 + CSTOPB = 0x400 + CSUSP = 0x1a + CTL_HW = 0x6 + CTL_KERN = 0x1 + CTL_MAXNAME = 0x18 + CTL_NET = 0x4 + DIOCGATTR = 0xc148648e + DIOCGDELETE = 0x80106488 + DIOCGFLUSH = 0x20006487 + DIOCGFWHEADS = 0x40046483 + DIOCGFWSECTORS = 0x40046482 + DIOCGIDENT = 0x41006489 + DIOCGKERNELDUMP = 0xc0986492 + DIOCGMEDIASIZE = 0x40086481 + DIOCGPHYSPATH = 0x4400648d + DIOCGPROVIDERNAME = 0x4400648a + DIOCGSECTORSIZE = 0x40046480 + DIOCGSTRIPEOFFSET = 0x4008648c + DIOCGSTRIPESIZE = 0x4008648b + DIOCSKERNELDUMP = 0x80986491 + DIOCSKERNELDUMP_FREEBSD11 = 0x80046485 + DIOCSKERNELDUMP_FREEBSD12 = 0x80506490 + DIOCZONECMD = 0xc080648f + DLT_A429 = 0xb8 + DLT_A653_ICM = 0xb9 + DLT_AIRONET_HEADER = 0x78 + DLT_AOS = 0xde + DLT_APPLE_IP_OVER_IEEE1394 = 0x8a + DLT_ARCNET = 0x7 + DLT_ARCNET_LINUX = 0x81 + DLT_ATM_CLIP = 0x13 + DLT_ATM_RFC1483 = 0xb + DLT_AURORA = 0x7e + DLT_AX25 = 0x3 + DLT_AX25_KISS = 0xca + DLT_BACNET_MS_TP = 0xa5 + DLT_BLUETOOTH_BREDR_BB = 0xff + DLT_BLUETOOTH_HCI_H4 = 0xbb + DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9 + DLT_BLUETOOTH_LE_LL = 0xfb + DLT_BLUETOOTH_LE_LL_WITH_PHDR = 0x100 + DLT_BLUETOOTH_LINUX_MONITOR = 0xfe + DLT_CAN20B = 0xbe + DLT_CAN_SOCKETCAN = 0xe3 + DLT_CHAOS = 0x5 + DLT_CHDLC = 0x68 + DLT_CISCO_IOS = 0x76 + DLT_CLASS_NETBSD_RAWAF = 0x2240000 + DLT_C_HDLC = 0x68 + DLT_C_HDLC_WITH_DIR = 0xcd + DLT_DBUS = 0xe7 + DLT_DECT = 0xdd + DLT_DISPLAYPORT_AUX = 0x113 + DLT_DOCSIS = 0x8f + DLT_DOCSIS31_XRA31 = 0x111 + DLT_DVB_CI = 0xeb + DLT_ECONET = 0x73 + DLT_EN10MB = 0x1 + DLT_EN3MB = 0x2 + DLT_ENC = 0x6d + DLT_EPON = 0x103 + DLT_ERF = 0xc5 + DLT_ERF_ETH = 0xaf + DLT_ERF_POS = 0xb0 + DLT_ETHERNET_MPACKET = 0x112 + DLT_FC_2 = 0xe0 + DLT_FC_2_WITH_FRAME_DELIMS = 0xe1 + DLT_FDDI = 0xa + DLT_FLEXRAY = 0xd2 + DLT_FRELAY = 0x6b + DLT_FRELAY_WITH_DIR = 0xce + DLT_GCOM_SERIAL = 0xad + DLT_GCOM_T1E1 = 0xac + DLT_GPF_F = 0xab + DLT_GPF_T = 0xaa + DLT_GPRS_LLC = 0xa9 + DLT_GSMTAP_ABIS = 0xda + DLT_GSMTAP_UM = 0xd9 + DLT_IBM_SN = 0x92 + DLT_IBM_SP = 0x91 + DLT_IEEE802 = 0x6 + DLT_IEEE802_11 = 0x69 + DLT_IEEE802_11_RADIO = 0x7f + DLT_IEEE802_11_RADIO_AVS = 0xa3 + DLT_IEEE802_15_4 = 0xc3 + DLT_IEEE802_15_4_LINUX = 0xbf + DLT_IEEE802_15_4_NOFCS = 0xe6 + DLT_IEEE802_15_4_NONASK_PHY = 0xd7 + DLT_IEEE802_16_MAC_CPS = 0xbc + DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1 + DLT_INFINIBAND = 0xf7 + DLT_IPFILTER = 0x74 + DLT_IPMB_KONTRON = 0xc7 + DLT_IPMB_LINUX = 0xd1 + DLT_IPMI_HPM_2 = 0x104 + DLT_IPNET = 0xe2 + DLT_IPOIB = 0xf2 + DLT_IPV4 = 0xe4 + DLT_IPV6 = 0xe5 + DLT_IP_OVER_FC = 0x7a + DLT_ISO_14443 = 0x108 + DLT_JUNIPER_ATM1 = 0x89 + DLT_JUNIPER_ATM2 = 0x87 + DLT_JUNIPER_ATM_CEMIC = 0xee + DLT_JUNIPER_CHDLC = 0xb5 + DLT_JUNIPER_ES = 0x84 + DLT_JUNIPER_ETHER = 0xb2 + DLT_JUNIPER_FIBRECHANNEL = 0xea + DLT_JUNIPER_FRELAY = 0xb4 + DLT_JUNIPER_GGSN = 0x85 + DLT_JUNIPER_ISM = 0xc2 + DLT_JUNIPER_MFR = 0x86 + DLT_JUNIPER_MLFR = 0x83 + DLT_JUNIPER_MLPPP = 0x82 + DLT_JUNIPER_MONITOR = 0xa4 + DLT_JUNIPER_PIC_PEER = 0xae + DLT_JUNIPER_PPP = 0xb3 + DLT_JUNIPER_PPPOE = 0xa7 + DLT_JUNIPER_PPPOE_ATM = 0xa8 + DLT_JUNIPER_SERVICES = 0x88 + DLT_JUNIPER_SRX_E2E = 0xe9 + DLT_JUNIPER_ST = 0xc8 + DLT_JUNIPER_VP = 0xb7 + DLT_JUNIPER_VS = 0xe8 + DLT_LAPB_WITH_DIR = 0xcf + DLT_LAPD = 0xcb + DLT_LIN = 0xd4 + DLT_LINUX_EVDEV = 0xd8 + DLT_LINUX_IRDA = 0x90 + DLT_LINUX_LAPD = 0xb1 + DLT_LINUX_PPP_WITHDIRECTION = 0xa6 + DLT_LINUX_SLL = 0x71 + DLT_LINUX_SLL2 = 0x114 + DLT_LOOP = 0x6c + DLT_LORATAP = 0x10e + DLT_LTALK = 0x72 + DLT_MATCHING_MAX = 0x114 + DLT_MATCHING_MIN = 0x68 + DLT_MFR = 0xb6 + DLT_MOST = 0xd3 + DLT_MPEG_2_TS = 0xf3 + DLT_MPLS = 0xdb + DLT_MTP2 = 0x8c + DLT_MTP2_WITH_PHDR = 0x8b + DLT_MTP3 = 0x8d + DLT_MUX27010 = 0xec + DLT_NETANALYZER = 0xf0 + DLT_NETANALYZER_TRANSPARENT = 0xf1 + DLT_NETLINK = 0xfd + DLT_NFC_LLCP = 0xf5 + DLT_NFLOG = 0xef + DLT_NG40 = 0xf4 + DLT_NORDIC_BLE = 0x110 + DLT_NULL = 0x0 + DLT_OPENFLOW = 0x10b + DLT_PCI_EXP = 0x7d + DLT_PFLOG = 0x75 + DLT_PFSYNC = 0x79 + DLT_PKTAP = 0x102 + DLT_PPI = 0xc0 + DLT_PPP = 0x9 + DLT_PPP_BSDOS = 0xe + DLT_PPP_ETHER = 0x33 + DLT_PPP_PPPD = 0xa6 + DLT_PPP_SERIAL = 0x32 + DLT_PPP_WITH_DIR = 0xcc + DLT_PPP_WITH_DIRECTION = 0xa6 + DLT_PRISM_HEADER = 0x77 + DLT_PROFIBUS_DL = 0x101 + DLT_PRONET = 0x4 + DLT_RAIF1 = 0xc6 + DLT_RAW = 0xc + DLT_RDS = 0x109 + DLT_REDBACK_SMARTEDGE = 0x20 + DLT_RIO = 0x7c + DLT_RTAC_SERIAL = 0xfa + DLT_SCCP = 0x8e + DLT_SCTP = 0xf8 + DLT_SDLC = 0x10c + DLT_SITA = 0xc4 + DLT_SLIP = 0x8 + DLT_SLIP_BSDOS = 0xd + DLT_STANAG_5066_D_PDU = 0xed + DLT_SUNATM = 0x7b + DLT_SYMANTEC_FIREWALL = 0x63 + DLT_TI_LLN_SNIFFER = 0x10d + DLT_TZSP = 0x80 + DLT_USB = 0xba + DLT_USBPCAP = 0xf9 + DLT_USB_DARWIN = 0x10a + DLT_USB_FREEBSD = 0xba + DLT_USB_LINUX = 0xbd + DLT_USB_LINUX_MMAPPED = 0xdc + DLT_USER0 = 0x93 + DLT_USER1 = 0x94 + DLT_USER10 = 0x9d + DLT_USER11 = 0x9e + DLT_USER12 = 0x9f + DLT_USER13 = 0xa0 + DLT_USER14 = 0xa1 + DLT_USER15 = 0xa2 + DLT_USER2 = 0x95 + DLT_USER3 = 0x96 + DLT_USER4 = 0x97 + DLT_USER5 = 0x98 + DLT_USER6 = 0x99 + DLT_USER7 = 0x9a + DLT_USER8 = 0x9b + DLT_USER9 = 0x9c + DLT_VSOCK = 0x10f + DLT_WATTSTOPPER_DLM = 0x107 + DLT_WIHART = 0xdf + DLT_WIRESHARK_UPPER_PDU = 0xfc + DLT_X2E_SERIAL = 0xd5 + DLT_X2E_XORAYA = 0xd6 + DLT_ZWAVE_R1_R2 = 0x105 + DLT_ZWAVE_R3 = 0x106 + DT_BLK = 0x6 + DT_CHR = 0x2 + DT_DIR = 0x4 + DT_FIFO = 0x1 + DT_LNK = 0xa + DT_REG = 0x8 + DT_SOCK = 0xc + DT_UNKNOWN = 0x0 + DT_WHT = 0xe + ECHO = 0x8 + ECHOCTL = 0x40 + ECHOE = 0x2 + ECHOK = 0x4 + ECHOKE = 0x1 + ECHONL = 0x10 + ECHOPRT = 0x20 + EHE_DEAD_PRIORITY = -0x1 + EVFILT_AIO = -0x3 + EVFILT_EMPTY = -0xd + EVFILT_FS = -0x9 + EVFILT_LIO = -0xa + EVFILT_PROC = -0x5 + EVFILT_PROCDESC = -0x8 + EVFILT_READ = -0x1 + EVFILT_SENDFILE = -0xc + EVFILT_SIGNAL = -0x6 + EVFILT_SYSCOUNT = 0xd + EVFILT_TIMER = -0x7 + EVFILT_USER = -0xb + EVFILT_VNODE = -0x4 + EVFILT_WRITE = -0x2 + EVNAMEMAP_NAME_SIZE = 0x40 + EV_ADD = 0x1 + EV_CLEAR = 0x20 + EV_DELETE = 0x2 + EV_DISABLE = 0x8 + EV_DISPATCH = 0x80 + EV_DROP = 0x1000 + EV_ENABLE = 0x4 + EV_EOF = 0x8000 + EV_ERROR = 0x4000 + EV_FLAG1 = 0x2000 + EV_FLAG2 = 0x4000 + EV_FORCEONESHOT = 0x100 + EV_ONESHOT = 0x10 + EV_RECEIPT = 0x40 + EV_SYSFLAGS = 0xf000 + EXTA = 0x4b00 + EXTATTR_MAXNAMELEN = 0xff + EXTATTR_NAMESPACE_EMPTY = 0x0 + EXTATTR_NAMESPACE_SYSTEM = 0x2 + EXTATTR_NAMESPACE_USER = 0x1 + EXTB = 0x9600 + EXTPROC = 0x800 + FD_CLOEXEC = 0x1 + FD_NONE = -0xc8 + FD_SETSIZE = 0x400 + FLUSHO = 0x800000 + F_ADD_SEALS = 0x13 + F_CANCEL = 0x5 + F_DUP2FD = 0xa + F_DUP2FD_CLOEXEC = 0x12 + F_DUPFD = 0x0 + F_DUPFD_CLOEXEC = 0x11 + F_GETFD = 0x1 + F_GETFL = 0x3 + F_GETLK = 0xb + F_GETOWN = 0x5 + F_GET_SEALS = 0x14 + F_ISUNIONSTACK = 0x15 + F_KINFO = 0x16 + F_OGETLK = 0x7 + F_OK = 0x0 + F_OSETLK = 0x8 + F_OSETLKW = 0x9 + F_RDAHEAD = 0x10 + F_RDLCK = 0x1 + F_READAHEAD = 0xf + F_SEAL_GROW = 0x4 + F_SEAL_SEAL = 0x1 + F_SEAL_SHRINK = 0x2 + F_SEAL_WRITE = 0x8 + F_SETFD = 0x2 + F_SETFL = 0x4 + F_SETLK = 0xc + F_SETLKW = 0xd + F_SETLK_REMOTE = 0xe + F_SETOWN = 0x6 + F_UNLCK = 0x2 + F_UNLCKSYS = 0x4 + F_WRLCK = 0x3 + HUPCL = 0x4000 + HW_MACHINE = 0x1 + ICANON = 0x100 + ICMP6_FILTER = 0x12 + ICRNL = 0x100 + IEXTEN = 0x400 + IFAN_ARRIVAL = 0x0 + IFAN_DEPARTURE = 0x1 + IFCAP_WOL_MAGIC = 0x2000 + IFF_ALLMULTI = 0x200 + IFF_ALTPHYS = 0x4000 + IFF_BROADCAST = 0x2 + IFF_CANTCHANGE = 0x218f72 + IFF_CANTCONFIG = 0x10000 + IFF_DEBUG = 0x4 + IFF_DRV_OACTIVE = 0x400 + IFF_DRV_RUNNING = 0x40 + IFF_DYING = 0x200000 + IFF_KNOWSEPOCH = 0x20 + IFF_LINK0 = 0x1000 + IFF_LINK1 = 0x2000 + IFF_LINK2 = 0x4000 + IFF_LOOPBACK = 0x8 + IFF_MONITOR = 0x40000 + IFF_MULTICAST = 0x8000 + IFF_NOARP = 0x80 + IFF_NOGROUP = 0x800000 + IFF_OACTIVE = 0x400 + IFF_POINTOPOINT = 0x10 + IFF_PPROMISC = 0x20000 + IFF_PROMISC = 0x100 + IFF_RENAMING = 0x400000 + IFF_RUNNING = 0x40 + IFF_SIMPLEX = 0x800 + IFF_STATICARP = 0x80000 + IFF_UP = 0x1 + IFNAMSIZ = 0x10 + IFT_BRIDGE = 0xd1 + IFT_CARP = 0xf8 + IFT_IEEE1394 = 0x90 + IFT_INFINIBAND = 0xc7 + IFT_L2VLAN = 0x87 + IFT_L3IPVLAN = 0x88 + IFT_PPP = 0x17 + IFT_PROPVIRTUAL = 0x35 + IGNBRK = 0x1 + IGNCR = 0x80 + IGNPAR = 0x4 + IMAXBEL = 0x2000 + INLCR = 0x40 + INPCK = 0x10 + IN_CLASSA_HOST = 0xffffff + IN_CLASSA_MAX = 0x80 + IN_CLASSA_NET = 0xff000000 + IN_CLASSA_NSHIFT = 0x18 + IN_CLASSB_HOST = 0xffff + IN_CLASSB_MAX = 0x10000 + IN_CLASSB_NET = 0xffff0000 + IN_CLASSB_NSHIFT = 0x10 + IN_CLASSC_HOST = 0xff + IN_CLASSC_NET = 0xffffff00 + IN_CLASSC_NSHIFT = 0x8 + IN_CLASSD_HOST = 0xfffffff + IN_CLASSD_NET = 0xf0000000 + IN_CLASSD_NSHIFT = 0x1c + IN_LOOPBACKNET = 0x7f + IN_NETMASK_DEFAULT = 0xffffff00 + IN_RFC3021_MASK = 0xfffffffe + IPPROTO_3PC = 0x22 + IPPROTO_ADFS = 0x44 + IPPROTO_AH = 0x33 + IPPROTO_AHIP = 0x3d + IPPROTO_APES = 0x63 + IPPROTO_ARGUS = 0xd + IPPROTO_AX25 = 0x5d + IPPROTO_BHA = 0x31 + IPPROTO_BLT = 0x1e + IPPROTO_BRSATMON = 0x4c + IPPROTO_CARP = 0x70 + IPPROTO_CFTP = 0x3e + IPPROTO_CHAOS = 0x10 + IPPROTO_CMTP = 0x26 + IPPROTO_CPHB = 0x49 + IPPROTO_CPNX = 0x48 + IPPROTO_DCCP = 0x21 + IPPROTO_DDP = 0x25 + IPPROTO_DGP = 0x56 + IPPROTO_DIVERT = 0x102 + IPPROTO_DONE = 0x101 + IPPROTO_DSTOPTS = 0x3c + IPPROTO_EGP = 0x8 + IPPROTO_EMCON = 0xe + IPPROTO_ENCAP = 0x62 + IPPROTO_EON = 0x50 + IPPROTO_ESP = 0x32 + IPPROTO_ETHERIP = 0x61 + IPPROTO_FRAGMENT = 0x2c + IPPROTO_GGP = 0x3 + IPPROTO_GMTP = 0x64 + IPPROTO_GRE = 0x2f + IPPROTO_HELLO = 0x3f + IPPROTO_HIP = 0x8b + IPPROTO_HMP = 0x14 + IPPROTO_HOPOPTS = 0x0 + IPPROTO_ICMP = 0x1 + IPPROTO_ICMPV6 = 0x3a + IPPROTO_IDP = 0x16 + IPPROTO_IDPR = 0x23 + IPPROTO_IDRP = 0x2d + IPPROTO_IGMP = 0x2 + IPPROTO_IGP = 0x55 + IPPROTO_IGRP = 0x58 + IPPROTO_IL = 0x28 + IPPROTO_INLSP = 0x34 + IPPROTO_INP = 0x20 + IPPROTO_IP = 0x0 + IPPROTO_IPCOMP = 0x6c + IPPROTO_IPCV = 0x47 + IPPROTO_IPEIP = 0x5e + IPPROTO_IPIP = 0x4 + IPPROTO_IPPC = 0x43 + IPPROTO_IPV4 = 0x4 + IPPROTO_IPV6 = 0x29 + IPPROTO_IRTP = 0x1c + IPPROTO_KRYPTOLAN = 0x41 + IPPROTO_LARP = 0x5b + IPPROTO_LEAF1 = 0x19 + IPPROTO_LEAF2 = 0x1a + IPPROTO_MAX = 0x100 + IPPROTO_MEAS = 0x13 + IPPROTO_MH = 0x87 + IPPROTO_MHRP = 0x30 + IPPROTO_MICP = 0x5f + IPPROTO_MOBILE = 0x37 + IPPROTO_MPLS = 0x89 + IPPROTO_MTP = 0x5c + IPPROTO_MUX = 0x12 + IPPROTO_ND = 0x4d + IPPROTO_NHRP = 0x36 + IPPROTO_NONE = 0x3b + IPPROTO_NSP = 0x1f + IPPROTO_NVPII = 0xb + IPPROTO_OLD_DIVERT = 0xfe + IPPROTO_OSPFIGP = 0x59 + IPPROTO_PFSYNC = 0xf0 + IPPROTO_PGM = 0x71 + IPPROTO_PIGP = 0x9 + IPPROTO_PIM = 0x67 + IPPROTO_PRM = 0x15 + IPPROTO_PUP = 0xc + IPPROTO_PVP = 0x4b + IPPROTO_RAW = 0xff + IPPROTO_RCCMON = 0xa + IPPROTO_RDP = 0x1b + IPPROTO_RESERVED_253 = 0xfd + IPPROTO_RESERVED_254 = 0xfe + IPPROTO_ROUTING = 0x2b + IPPROTO_RSVP = 0x2e + IPPROTO_RVD = 0x42 + IPPROTO_SATEXPAK = 0x40 + IPPROTO_SATMON = 0x45 + IPPROTO_SCCSP = 0x60 + IPPROTO_SCTP = 0x84 + IPPROTO_SDRP = 0x2a + IPPROTO_SEND = 0x103 + IPPROTO_SHIM6 = 0x8c + IPPROTO_SKIP = 0x39 + IPPROTO_SPACER = 0x7fff + IPPROTO_SRPC = 0x5a + IPPROTO_ST = 0x7 + IPPROTO_SVMTP = 0x52 + IPPROTO_SWIPE = 0x35 + IPPROTO_TCF = 0x57 + IPPROTO_TCP = 0x6 + IPPROTO_TLSP = 0x38 + IPPROTO_TP = 0x1d + IPPROTO_TPXX = 0x27 + IPPROTO_TRUNK1 = 0x17 + IPPROTO_TRUNK2 = 0x18 + IPPROTO_TTP = 0x54 + IPPROTO_UDP = 0x11 + IPPROTO_UDPLITE = 0x88 + IPPROTO_VINES = 0x53 + IPPROTO_VISA = 0x46 + IPPROTO_VMTP = 0x51 + IPPROTO_WBEXPAK = 0x4f + IPPROTO_WBMON = 0x4e + IPPROTO_WSN = 0x4a + IPPROTO_XNET = 0xf + IPPROTO_XTP = 0x24 + IPV6_AUTOFLOWLABEL = 0x3b + IPV6_BINDANY = 0x40 + IPV6_BINDMULTI = 0x41 + IPV6_BINDV6ONLY = 0x1b + IPV6_CHECKSUM = 0x1a + IPV6_DEFAULT_MULTICAST_HOPS = 0x1 + IPV6_DEFAULT_MULTICAST_LOOP = 0x1 + IPV6_DEFHLIM = 0x40 + IPV6_DONTFRAG = 0x3e + IPV6_DSTOPTS = 0x32 + IPV6_FLOWID = 0x43 + IPV6_FLOWINFO_MASK = 0xffffff0f + IPV6_FLOWLABEL_LEN = 0x14 + IPV6_FLOWLABEL_MASK = 0xffff0f00 + IPV6_FLOWTYPE = 0x44 + IPV6_FRAGTTL = 0x78 + IPV6_FW_ADD = 0x1e + IPV6_FW_DEL = 0x1f + IPV6_FW_FLUSH = 0x20 + IPV6_FW_GET = 0x22 + IPV6_FW_ZERO = 0x21 + IPV6_HLIMDEC = 0x1 + IPV6_HOPLIMIT = 0x2f + IPV6_HOPOPTS = 0x31 + IPV6_IPSEC_POLICY = 0x1c + IPV6_JOIN_GROUP = 0xc + IPV6_LEAVE_GROUP = 0xd + IPV6_MAXHLIM = 0xff + IPV6_MAXOPTHDR = 0x800 + IPV6_MAXPACKET = 0xffff + IPV6_MAX_GROUP_SRC_FILTER = 0x200 + IPV6_MAX_MEMBERSHIPS = 0xfff + IPV6_MAX_SOCK_SRC_FILTER = 0x80 + IPV6_MMTU = 0x500 + IPV6_MSFILTER = 0x4a + IPV6_MULTICAST_HOPS = 0xa + IPV6_MULTICAST_IF = 0x9 + IPV6_MULTICAST_LOOP = 0xb + IPV6_NEXTHOP = 0x30 + IPV6_ORIGDSTADDR = 0x48 + IPV6_PATHMTU = 0x2c + IPV6_PKTINFO = 0x2e + IPV6_PORTRANGE = 0xe + IPV6_PORTRANGE_DEFAULT = 0x0 + IPV6_PORTRANGE_HIGH = 0x1 + IPV6_PORTRANGE_LOW = 0x2 + IPV6_PREFER_TEMPADDR = 0x3f + IPV6_RECVDSTOPTS = 0x28 + IPV6_RECVFLOWID = 0x46 + IPV6_RECVHOPLIMIT = 0x25 + IPV6_RECVHOPOPTS = 0x27 + IPV6_RECVORIGDSTADDR = 0x48 + IPV6_RECVPATHMTU = 0x2b + IPV6_RECVPKTINFO = 0x24 + IPV6_RECVRSSBUCKETID = 0x47 + IPV6_RECVRTHDR = 0x26 + IPV6_RECVTCLASS = 0x39 + IPV6_RSSBUCKETID = 0x45 + IPV6_RSS_LISTEN_BUCKET = 0x42 + IPV6_RTHDR = 0x33 + IPV6_RTHDRDSTOPTS = 0x23 + IPV6_RTHDR_LOOSE = 0x0 + IPV6_RTHDR_STRICT = 0x1 + IPV6_RTHDR_TYPE_0 = 0x0 + IPV6_SOCKOPT_RESERVED1 = 0x3 + IPV6_TCLASS = 0x3d + IPV6_UNICAST_HOPS = 0x4 + IPV6_USE_MIN_MTU = 0x2a + IPV6_V6ONLY = 0x1b + IPV6_VERSION = 0x60 + IPV6_VERSION_MASK = 0xf0 + IPV6_VLAN_PCP = 0x4b + IP_ADD_MEMBERSHIP = 0xc + IP_ADD_SOURCE_MEMBERSHIP = 0x46 + IP_BINDANY = 0x18 + IP_BINDMULTI = 0x19 + IP_BLOCK_SOURCE = 0x48 + IP_DEFAULT_MULTICAST_LOOP = 0x1 + IP_DEFAULT_MULTICAST_TTL = 0x1 + IP_DF = 0x4000 + IP_DONTFRAG = 0x43 + IP_DROP_MEMBERSHIP = 0xd + IP_DROP_SOURCE_MEMBERSHIP = 0x47 + IP_DUMMYNET3 = 0x31 + IP_DUMMYNET_CONFIGURE = 0x3c + IP_DUMMYNET_DEL = 0x3d + IP_DUMMYNET_FLUSH = 0x3e + IP_DUMMYNET_GET = 0x40 + IP_FLOWID = 0x5a + IP_FLOWTYPE = 0x5b + IP_FW3 = 0x30 + IP_FW_ADD = 0x32 + IP_FW_DEL = 0x33 + IP_FW_FLUSH = 0x34 + IP_FW_GET = 0x36 + IP_FW_NAT_CFG = 0x38 + IP_FW_NAT_DEL = 0x39 + IP_FW_NAT_GET_CONFIG = 0x3a + IP_FW_NAT_GET_LOG = 0x3b + IP_FW_RESETLOG = 0x37 + IP_FW_TABLE_ADD = 0x28 + IP_FW_TABLE_DEL = 0x29 + IP_FW_TABLE_FLUSH = 0x2a + IP_FW_TABLE_GETSIZE = 0x2b + IP_FW_TABLE_LIST = 0x2c + IP_FW_ZERO = 0x35 + IP_HDRINCL = 0x2 + IP_IPSEC_POLICY = 0x15 + IP_MAXPACKET = 0xffff + IP_MAX_GROUP_SRC_FILTER = 0x200 + IP_MAX_MEMBERSHIPS = 0xfff + IP_MAX_SOCK_MUTE_FILTER = 0x80 + IP_MAX_SOCK_SRC_FILTER = 0x80 + IP_MF = 0x2000 + IP_MINTTL = 0x42 + IP_MSFILTER = 0x4a + IP_MSS = 0x240 + IP_MULTICAST_IF = 0x9 + IP_MULTICAST_LOOP = 0xb + IP_MULTICAST_TTL = 0xa + IP_MULTICAST_VIF = 0xe + IP_OFFMASK = 0x1fff + IP_ONESBCAST = 0x17 + IP_OPTIONS = 0x1 + IP_ORIGDSTADDR = 0x1b + IP_PORTRANGE = 0x13 + IP_PORTRANGE_DEFAULT = 0x0 + IP_PORTRANGE_HIGH = 0x1 + IP_PORTRANGE_LOW = 0x2 + IP_RECVDSTADDR = 0x7 + IP_RECVFLOWID = 0x5d + IP_RECVIF = 0x14 + IP_RECVOPTS = 0x5 + IP_RECVORIGDSTADDR = 0x1b + IP_RECVRETOPTS = 0x6 + IP_RECVRSSBUCKETID = 0x5e + IP_RECVTOS = 0x44 + IP_RECVTTL = 0x41 + IP_RETOPTS = 0x8 + IP_RF = 0x8000 + IP_RSSBUCKETID = 0x5c + IP_RSS_LISTEN_BUCKET = 0x1a + IP_RSVP_OFF = 0x10 + IP_RSVP_ON = 0xf + IP_RSVP_VIF_OFF = 0x12 + IP_RSVP_VIF_ON = 0x11 + IP_SENDSRCADDR = 0x7 + IP_TOS = 0x3 + IP_TTL = 0x4 + IP_UNBLOCK_SOURCE = 0x49 + IP_VLAN_PCP = 0x4b + ISIG = 0x80 + ISTRIP = 0x20 + ITIMER_PROF = 0x2 + ITIMER_REAL = 0x0 + ITIMER_VIRTUAL = 0x1 + IXANY = 0x800 + IXOFF = 0x400 + IXON = 0x200 + KERN_HOSTNAME = 0xa + KERN_OSRELEASE = 0x2 + KERN_OSTYPE = 0x1 + KERN_VERSION = 0x4 + LOCAL_CONNWAIT = 0x4 + LOCAL_CREDS = 0x2 + LOCAL_CREDS_PERSISTENT = 0x3 + LOCAL_PEERCRED = 0x1 + LOCAL_VENDOR = 0x80000000 + LOCK_EX = 0x2 + LOCK_NB = 0x4 + LOCK_SH = 0x1 + LOCK_UN = 0x8 + MADV_AUTOSYNC = 0x7 + MADV_CORE = 0x9 + MADV_DONTNEED = 0x4 + MADV_FREE = 0x5 + MADV_NOCORE = 0x8 + MADV_NORMAL = 0x0 + MADV_NOSYNC = 0x6 + MADV_PROTECT = 0xa + MADV_RANDOM = 0x1 + MADV_SEQUENTIAL = 0x2 + MADV_WILLNEED = 0x3 + MAP_32BIT = 0x80000 + MAP_ALIGNED_SUPER = 0x1000000 + MAP_ALIGNMENT_MASK = -0x1000000 + MAP_ALIGNMENT_SHIFT = 0x18 + MAP_ANON = 0x1000 + MAP_ANONYMOUS = 0x1000 + MAP_COPY = 0x2 + MAP_EXCL = 0x4000 + MAP_FILE = 0x0 + MAP_FIXED = 0x10 + MAP_GUARD = 0x2000 + MAP_HASSEMAPHORE = 0x200 + MAP_NOCORE = 0x20000 + MAP_NOSYNC = 0x800 + MAP_PREFAULT_READ = 0x40000 + MAP_PRIVATE = 0x2 + MAP_RESERVED0020 = 0x20 + MAP_RESERVED0040 = 0x40 + MAP_RESERVED0080 = 0x80 + MAP_RESERVED0100 = 0x100 + MAP_SHARED = 0x1 + MAP_STACK = 0x400 + MCAST_BLOCK_SOURCE = 0x54 + MCAST_EXCLUDE = 0x2 + MCAST_INCLUDE = 0x1 + MCAST_JOIN_GROUP = 0x50 + MCAST_JOIN_SOURCE_GROUP = 0x52 + MCAST_LEAVE_GROUP = 0x51 + MCAST_LEAVE_SOURCE_GROUP = 0x53 + MCAST_UNBLOCK_SOURCE = 0x55 + MCAST_UNDEFINED = 0x0 + MCL_CURRENT = 0x1 + MCL_FUTURE = 0x2 + MFD_ALLOW_SEALING = 0x2 + MFD_CLOEXEC = 0x1 + MFD_HUGETLB = 0x4 + MFD_HUGE_16GB = -0x78000000 + MFD_HUGE_16MB = 0x60000000 + MFD_HUGE_1GB = 0x78000000 + MFD_HUGE_1MB = 0x50000000 + MFD_HUGE_256MB = 0x70000000 + MFD_HUGE_2GB = 0x7c000000 + MFD_HUGE_2MB = 0x54000000 + MFD_HUGE_32MB = 0x64000000 + MFD_HUGE_512KB = 0x4c000000 + MFD_HUGE_512MB = 0x74000000 + MFD_HUGE_64KB = 0x40000000 + MFD_HUGE_8MB = 0x5c000000 + MFD_HUGE_MASK = 0xfc000000 + MFD_HUGE_SHIFT = 0x1a + MNT_ACLS = 0x8000000 + MNT_ASYNC = 0x40 + MNT_AUTOMOUNTED = 0x200000000 + MNT_BYFSID = 0x8000000 + MNT_CMDFLAGS = 0x300d0f0000 + MNT_DEFEXPORTED = 0x200 + MNT_DELEXPORT = 0x20000 + MNT_EMPTYDIR = 0x2000000000 + MNT_EXKERB = 0x800 + MNT_EXPORTANON = 0x400 + MNT_EXPORTED = 0x100 + MNT_EXPUBLIC = 0x20000000 + MNT_EXRDONLY = 0x80 + MNT_EXTLS = 0x4000000000 + MNT_EXTLSCERT = 0x8000000000 + MNT_EXTLSCERTUSER = 0x10000000000 + MNT_FORCE = 0x80000 + MNT_GJOURNAL = 0x2000000 + MNT_IGNORE = 0x800000 + MNT_LAZY = 0x3 + MNT_LOCAL = 0x1000 + MNT_MULTILABEL = 0x4000000 + MNT_NFS4ACLS = 0x10 + MNT_NOATIME = 0x10000000 + MNT_NOCLUSTERR = 0x40000000 + MNT_NOCLUSTERW = 0x80000000 + MNT_NOCOVER = 0x1000000000 + MNT_NOEXEC = 0x4 + MNT_NONBUSY = 0x4000000 + MNT_NOSUID = 0x8 + MNT_NOSYMFOLLOW = 0x400000 + MNT_NOWAIT = 0x2 + MNT_QUOTA = 0x2000 + MNT_RDONLY = 0x1 + MNT_RELOAD = 0x40000 + MNT_ROOTFS = 0x4000 + MNT_SNAPSHOT = 0x1000000 + MNT_SOFTDEP = 0x200000 + MNT_SUIDDIR = 0x100000 + MNT_SUJ = 0x100000000 + MNT_SUSPEND = 0x4 + MNT_SYNCHRONOUS = 0x2 + MNT_UNION = 0x20 + MNT_UNTRUSTED = 0x800000000 + MNT_UPDATE = 0x10000 + MNT_UPDATEMASK = 0xad8d0807e + MNT_USER = 0x8000 + MNT_VERIFIED = 0x400000000 + MNT_VISFLAGMASK = 0xffef0ffff + MNT_WAIT = 0x1 + MSG_CMSG_CLOEXEC = 0x40000 + MSG_COMPAT = 0x8000 + MSG_CTRUNC = 0x20 + MSG_DONTROUTE = 0x4 + MSG_DONTWAIT = 0x80 + MSG_EOF = 0x100 + MSG_EOR = 0x8 + MSG_NBIO = 0x4000 + MSG_NOSIGNAL = 0x20000 + MSG_NOTIFICATION = 0x2000 + MSG_OOB = 0x1 + MSG_PEEK = 0x2 + MSG_TRUNC = 0x10 + MSG_WAITALL = 0x40 + MSG_WAITFORONE = 0x80000 + MS_ASYNC = 0x1 + MS_INVALIDATE = 0x2 + MS_SYNC = 0x0 + NAME_MAX = 0xff + NET_RT_DUMP = 0x1 + NET_RT_FLAGS = 0x2 + NET_RT_IFLIST = 0x3 + NET_RT_IFLISTL = 0x5 + NET_RT_IFMALIST = 0x4 + NET_RT_NHGRP = 0x7 + NET_RT_NHOP = 0x6 + NFDBITS = 0x40 + NOFLSH = 0x80000000 + NOKERNINFO = 0x2000000 + NOTE_ABSTIME = 0x10 + NOTE_ATTRIB = 0x8 + NOTE_CHILD = 0x4 + NOTE_CLOSE = 0x100 + NOTE_CLOSE_WRITE = 0x200 + NOTE_DELETE = 0x1 + NOTE_EXEC = 0x20000000 + NOTE_EXIT = 0x80000000 + NOTE_EXTEND = 0x4 + NOTE_FFAND = 0x40000000 + NOTE_FFCOPY = 0xc0000000 + NOTE_FFCTRLMASK = 0xc0000000 + NOTE_FFLAGSMASK = 0xffffff + NOTE_FFNOP = 0x0 + NOTE_FFOR = 0x80000000 + NOTE_FILE_POLL = 0x2 + NOTE_FORK = 0x40000000 + NOTE_LINK = 0x10 + NOTE_LOWAT = 0x1 + NOTE_MSECONDS = 0x2 + NOTE_NSECONDS = 0x8 + NOTE_OPEN = 0x80 + NOTE_PCTRLMASK = 0xf0000000 + NOTE_PDATAMASK = 0xfffff + NOTE_READ = 0x400 + NOTE_RENAME = 0x20 + NOTE_REVOKE = 0x40 + NOTE_SECONDS = 0x1 + NOTE_TRACK = 0x1 + NOTE_TRACKERR = 0x2 + NOTE_TRIGGER = 0x1000000 + NOTE_USECONDS = 0x4 + NOTE_WRITE = 0x2 + OCRNL = 0x10 + ONLCR = 0x2 + ONLRET = 0x40 + ONOCR = 0x20 + ONOEOT = 0x8 + OPOST = 0x1 + OXTABS = 0x4 + O_ACCMODE = 0x3 + O_APPEND = 0x8 + O_ASYNC = 0x40 + O_CLOEXEC = 0x100000 + O_CREAT = 0x200 + O_DIRECT = 0x10000 + O_DIRECTORY = 0x20000 + O_DSYNC = 0x1000000 + O_EMPTY_PATH = 0x2000000 + O_EXCL = 0x800 + O_EXEC = 0x40000 + O_EXLOCK = 0x20 + O_FSYNC = 0x80 + O_NDELAY = 0x4 + O_NOCTTY = 0x8000 + O_NOFOLLOW = 0x100 + O_NONBLOCK = 0x4 + O_PATH = 0x400000 + O_RDONLY = 0x0 + O_RDWR = 0x2 + O_RESOLVE_BENEATH = 0x800000 + O_SEARCH = 0x40000 + O_SHLOCK = 0x10 + O_SYNC = 0x80 + O_TRUNC = 0x400 + O_TTY_INIT = 0x80000 + O_VERIFY = 0x200000 + O_WRONLY = 0x1 + PARENB = 0x1000 + PARMRK = 0x8 + PARODD = 0x2000 + PENDIN = 0x20000000 + PIOD_READ_D = 0x1 + PIOD_READ_I = 0x3 + PIOD_WRITE_D = 0x2 + PIOD_WRITE_I = 0x4 + PRIO_PGRP = 0x1 + PRIO_PROCESS = 0x0 + PRIO_USER = 0x2 + PROT_EXEC = 0x4 + PROT_NONE = 0x0 + PROT_READ = 0x1 + PROT_WRITE = 0x2 + PTRACE_DEFAULT = 0x1 + PTRACE_EXEC = 0x1 + PTRACE_FORK = 0x8 + PTRACE_LWP = 0x10 + PTRACE_SCE = 0x2 + PTRACE_SCX = 0x4 + PTRACE_SYSCALL = 0x6 + PTRACE_VFORK = 0x20 + PT_ATTACH = 0xa + PT_CLEARSTEP = 0x10 + PT_CONTINUE = 0x7 + PT_COREDUMP = 0x1d + PT_DETACH = 0xb + PT_FIRSTMACH = 0x40 + PT_FOLLOW_FORK = 0x17 + PT_GETDBREGS = 0x25 + PT_GETFPREGS = 0x23 + PT_GETLWPLIST = 0xf + PT_GETNUMLWPS = 0xe + PT_GETREGS = 0x21 + PT_GET_EVENT_MASK = 0x19 + PT_GET_SC_ARGS = 0x1b + PT_GET_SC_RET = 0x1c + PT_IO = 0xc + PT_KILL = 0x8 + PT_LWPINFO = 0xd + PT_LWP_EVENTS = 0x18 + PT_READ_D = 0x2 + PT_READ_I = 0x1 + PT_RESUME = 0x13 + PT_SETDBREGS = 0x26 + PT_SETFPREGS = 0x24 + PT_SETREGS = 0x22 + PT_SETSTEP = 0x11 + PT_SET_EVENT_MASK = 0x1a + PT_STEP = 0x9 + PT_SUSPEND = 0x12 + PT_SYSCALL = 0x16 + PT_TO_SCE = 0x14 + PT_TO_SCX = 0x15 + PT_TRACE_ME = 0x0 + PT_VM_ENTRY = 0x29 + PT_VM_TIMESTAMP = 0x28 + PT_WRITE_D = 0x5 + PT_WRITE_I = 0x4 + P_ZONEID = 0xc + RLIMIT_AS = 0xa + RLIMIT_CORE = 0x4 + RLIMIT_CPU = 0x0 + RLIMIT_DATA = 0x2 + RLIMIT_FSIZE = 0x1 + RLIMIT_MEMLOCK = 0x6 + RLIMIT_NOFILE = 0x8 + RLIMIT_NPROC = 0x7 + RLIMIT_RSS = 0x5 + RLIMIT_STACK = 0x3 + RLIM_INFINITY = 0x7fffffffffffffff + RTAX_AUTHOR = 0x6 + RTAX_BRD = 0x7 + RTAX_DST = 0x0 + RTAX_GATEWAY = 0x1 + RTAX_GENMASK = 0x3 + RTAX_IFA = 0x5 + RTAX_IFP = 0x4 + RTAX_MAX = 0x8 + RTAX_NETMASK = 0x2 + RTA_AUTHOR = 0x40 + RTA_BRD = 0x80 + RTA_DST = 0x1 + RTA_GATEWAY = 0x2 + RTA_GENMASK = 0x8 + RTA_IFA = 0x20 + RTA_IFP = 0x10 + RTA_NETMASK = 0x4 + RTF_BLACKHOLE = 0x1000 + RTF_BROADCAST = 0x400000 + RTF_DONE = 0x40 + RTF_DYNAMIC = 0x10 + RTF_FIXEDMTU = 0x80000 + RTF_FMASK = 0x1004d808 + RTF_GATEWAY = 0x2 + RTF_GWFLAG_COMPAT = 0x80000000 + RTF_HOST = 0x4 + RTF_LLDATA = 0x400 + RTF_LLINFO = 0x400 + RTF_LOCAL = 0x200000 + RTF_MODIFIED = 0x20 + RTF_MULTICAST = 0x800000 + RTF_PINNED = 0x100000 + RTF_PROTO1 = 0x8000 + RTF_PROTO2 = 0x4000 + RTF_PROTO3 = 0x40000 + RTF_REJECT = 0x8 + RTF_STATIC = 0x800 + RTF_STICKY = 0x10000000 + RTF_UP = 0x1 + RTF_XRESOLVE = 0x200 + RTM_ADD = 0x1 + RTM_CHANGE = 0x3 + RTM_DELADDR = 0xd + RTM_DELETE = 0x2 + RTM_DELMADDR = 0x10 + RTM_GET = 0x4 + RTM_IEEE80211 = 0x12 + RTM_IFANNOUNCE = 0x11 + RTM_IFINFO = 0xe + RTM_LOCK = 0x8 + RTM_LOSING = 0x5 + RTM_MISS = 0x7 + RTM_NEWADDR = 0xc + RTM_NEWMADDR = 0xf + RTM_REDIRECT = 0x6 + RTM_RESOLVE = 0xb + RTM_RTTUNIT = 0xf4240 + RTM_VERSION = 0x5 + RTV_EXPIRE = 0x4 + RTV_HOPCOUNT = 0x2 + RTV_MTU = 0x1 + RTV_RPIPE = 0x8 + RTV_RTT = 0x40 + RTV_RTTVAR = 0x80 + RTV_SPIPE = 0x10 + RTV_SSTHRESH = 0x20 + RTV_WEIGHT = 0x100 + RT_ALL_FIBS = -0x1 + RT_BLACKHOLE = 0x40 + RT_DEFAULT_FIB = 0x0 + RT_DEFAULT_WEIGHT = 0x1 + RT_HAS_GW = 0x80 + RT_HAS_HEADER = 0x10 + RT_HAS_HEADER_BIT = 0x4 + RT_L2_ME = 0x4 + RT_L2_ME_BIT = 0x2 + RT_LLE_CACHE = 0x100 + RT_MAX_WEIGHT = 0xffffff + RT_MAY_LOOP = 0x8 + RT_MAY_LOOP_BIT = 0x3 + RT_REJECT = 0x20 + RUSAGE_CHILDREN = -0x1 + RUSAGE_SELF = 0x0 + RUSAGE_THREAD = 0x1 + SCM_BINTIME = 0x4 + SCM_CREDS = 0x3 + SCM_CREDS2 = 0x8 + SCM_MONOTONIC = 0x6 + SCM_REALTIME = 0x5 + SCM_RIGHTS = 0x1 + SCM_TIMESTAMP = 0x2 + SCM_TIME_INFO = 0x7 + SEEK_CUR = 0x1 + SEEK_DATA = 0x3 + SEEK_END = 0x2 + SEEK_HOLE = 0x4 + SEEK_SET = 0x0 + SHUT_RD = 0x0 + SHUT_RDWR = 0x2 + SHUT_WR = 0x1 + SIOCADDMULTI = 0x80206931 + SIOCAIFADDR = 0x8040691a + SIOCAIFGROUP = 0x80286987 + SIOCATMARK = 0x40047307 + SIOCDELMULTI = 0x80206932 + SIOCDIFADDR = 0x80206919 + SIOCDIFGROUP = 0x80286989 + SIOCDIFPHYADDR = 0x80206949 + SIOCGDRVSPEC = 0xc028697b + SIOCGETSGCNT = 0xc0207210 + SIOCGETVIFCNT = 0xc028720f + SIOCGHIWAT = 0x40047301 + SIOCGHWADDR = 0xc020693e + SIOCGI2C = 0xc020693d + SIOCGIFADDR = 0xc0206921 + SIOCGIFALIAS = 0xc044692d + SIOCGIFBRDADDR = 0xc0206923 + SIOCGIFCAP = 0xc020691f + SIOCGIFCONF = 0xc0106924 + SIOCGIFDATA = 0x8020692c + SIOCGIFDESCR = 0xc020692a + SIOCGIFDOWNREASON = 0xc058699a + SIOCGIFDSTADDR = 0xc0206922 + SIOCGIFFIB = 0xc020695c + SIOCGIFFLAGS = 0xc0206911 + SIOCGIFGENERIC = 0xc020693a + SIOCGIFGMEMB = 0xc028698a + SIOCGIFGROUP = 0xc0286988 + SIOCGIFINDEX = 0xc0206920 + SIOCGIFMAC = 0xc0206926 + SIOCGIFMEDIA = 0xc0306938 + SIOCGIFMETRIC = 0xc0206917 + SIOCGIFMTU = 0xc0206933 + SIOCGIFNETMASK = 0xc0206925 + SIOCGIFPDSTADDR = 0xc0206948 + SIOCGIFPHYS = 0xc0206935 + SIOCGIFPSRCADDR = 0xc0206947 + SIOCGIFRSSHASH = 0xc0186997 + SIOCGIFRSSKEY = 0xc0946996 + SIOCGIFSTATUS = 0xc331693b + SIOCGIFXMEDIA = 0xc030698b + SIOCGLANPCP = 0xc0206998 + SIOCGLOWAT = 0x40047303 + SIOCGPGRP = 0x40047309 + SIOCGPRIVATE_0 = 0xc0206950 + SIOCGPRIVATE_1 = 0xc0206951 + SIOCGTUNFIB = 0xc020695e + SIOCIFCREATE = 0xc020697a + SIOCIFCREATE2 = 0xc020697c + SIOCIFDESTROY = 0x80206979 + SIOCIFGCLONERS = 0xc0106978 + SIOCSDRVSPEC = 0x8028697b + SIOCSHIWAT = 0x80047300 + SIOCSIFADDR = 0x8020690c + SIOCSIFBRDADDR = 0x80206913 + SIOCSIFCAP = 0x8020691e + SIOCSIFDESCR = 0x80206929 + SIOCSIFDSTADDR = 0x8020690e + SIOCSIFFIB = 0x8020695d + SIOCSIFFLAGS = 0x80206910 + SIOCSIFGENERIC = 0x80206939 + SIOCSIFLLADDR = 0x8020693c + SIOCSIFMAC = 0x80206927 + SIOCSIFMEDIA = 0xc0206937 + SIOCSIFMETRIC = 0x80206918 + SIOCSIFMTU = 0x80206934 + SIOCSIFNAME = 0x80206928 + SIOCSIFNETMASK = 0x80206916 + SIOCSIFPHYADDR = 0x80406946 + SIOCSIFPHYS = 0x80206936 + SIOCSIFRVNET = 0xc020695b + SIOCSIFVNET = 0xc020695a + SIOCSLANPCP = 0x80206999 + SIOCSLOWAT = 0x80047302 + SIOCSPGRP = 0x80047308 + SIOCSTUNFIB = 0x8020695f + SOCK_CLOEXEC = 0x10000000 + SOCK_DGRAM = 0x2 + SOCK_MAXADDRLEN = 0xff + SOCK_NONBLOCK = 0x20000000 + SOCK_RAW = 0x3 + SOCK_RDM = 0x4 + SOCK_SEQPACKET = 0x5 + SOCK_STREAM = 0x1 + SOL_LOCAL = 0x0 + SOL_SOCKET = 0xffff + SOMAXCONN = 0x80 + SO_ACCEPTCONN = 0x2 + SO_ACCEPTFILTER = 0x1000 + SO_BINTIME = 0x2000 + SO_BROADCAST = 0x20 + SO_DEBUG = 0x1 + SO_DOMAIN = 0x1019 + SO_DONTROUTE = 0x10 + SO_ERROR = 0x1007 + SO_KEEPALIVE = 0x8 + SO_LABEL = 0x1009 + SO_LINGER = 0x80 + SO_LISTENINCQLEN = 0x1013 + SO_LISTENQLEN = 0x1012 + SO_LISTENQLIMIT = 0x1011 + SO_MAX_PACING_RATE = 0x1018 + SO_NOSIGPIPE = 0x800 + SO_NO_DDP = 0x8000 + SO_NO_OFFLOAD = 0x4000 + SO_OOBINLINE = 0x100 + SO_PEERLABEL = 0x1010 + SO_PROTOCOL = 0x1016 + SO_PROTOTYPE = 0x1016 + SO_RCVBUF = 0x1002 + SO_RCVLOWAT = 0x1004 + SO_RCVTIMEO = 0x1006 + SO_RERROR = 0x20000 + SO_REUSEADDR = 0x4 + SO_REUSEPORT = 0x200 + SO_REUSEPORT_LB = 0x10000 + SO_SETFIB = 0x1014 + SO_SNDBUF = 0x1001 + SO_SNDLOWAT = 0x1003 + SO_SNDTIMEO = 0x1005 + SO_TIMESTAMP = 0x400 + SO_TS_BINTIME = 0x1 + SO_TS_CLOCK = 0x1017 + SO_TS_CLOCK_MAX = 0x3 + SO_TS_DEFAULT = 0x0 + SO_TS_MONOTONIC = 0x3 + SO_TS_REALTIME = 0x2 + SO_TS_REALTIME_MICRO = 0x0 + SO_TYPE = 0x1008 + SO_USELOOPBACK = 0x40 + SO_USER_COOKIE = 0x1015 + SO_VENDOR = 0x80000000 + S_BLKSIZE = 0x200 + S_IEXEC = 0x40 + S_IFBLK = 0x6000 + S_IFCHR = 0x2000 + S_IFDIR = 0x4000 + S_IFIFO = 0x1000 + S_IFLNK = 0xa000 + S_IFMT = 0xf000 + S_IFREG = 0x8000 + S_IFSOCK = 0xc000 + S_IFWHT = 0xe000 + S_IREAD = 0x100 + S_IRGRP = 0x20 + S_IROTH = 0x4 + S_IRUSR = 0x100 + S_IRWXG = 0x38 + S_IRWXO = 0x7 + S_IRWXU = 0x1c0 + S_ISGID = 0x400 + S_ISTXT = 0x200 + S_ISUID = 0x800 + S_ISVTX = 0x200 + S_IWGRP = 0x10 + S_IWOTH = 0x2 + S_IWRITE = 0x80 + S_IWUSR = 0x80 + S_IXGRP = 0x8 + S_IXOTH = 0x1 + S_IXUSR = 0x40 + TAB0 = 0x0 + TAB3 = 0x4 + TABDLY = 0x4 + TCIFLUSH = 0x1 + TCIOFF = 0x3 + TCIOFLUSH = 0x3 + TCION = 0x4 + TCOFLUSH = 0x2 + TCOOFF = 0x1 + TCOON = 0x2 + TCPOPT_EOL = 0x0 + TCPOPT_FAST_OPEN = 0x22 + TCPOPT_MAXSEG = 0x2 + TCPOPT_NOP = 0x1 + TCPOPT_PAD = 0x0 + TCPOPT_SACK = 0x5 + TCPOPT_SACK_PERMITTED = 0x4 + TCPOPT_SIGNATURE = 0x13 + TCPOPT_TIMESTAMP = 0x8 + TCPOPT_WINDOW = 0x3 + TCP_BBR_ACK_COMP_ALG = 0x448 + TCP_BBR_ALGORITHM = 0x43b + TCP_BBR_DRAIN_INC_EXTRA = 0x43c + TCP_BBR_DRAIN_PG = 0x42e + TCP_BBR_EXTRA_GAIN = 0x449 + TCP_BBR_EXTRA_STATE = 0x453 + TCP_BBR_FLOOR_MIN_TSO = 0x454 + TCP_BBR_HDWR_PACE = 0x451 + TCP_BBR_HOLD_TARGET = 0x436 + TCP_BBR_IWINTSO = 0x42b + TCP_BBR_LOWGAIN_FD = 0x436 + TCP_BBR_LOWGAIN_HALF = 0x435 + TCP_BBR_LOWGAIN_THRESH = 0x434 + TCP_BBR_MAX_RTO = 0x439 + TCP_BBR_MIN_RTO = 0x438 + TCP_BBR_MIN_TOPACEOUT = 0x455 + TCP_BBR_ONE_RETRAN = 0x431 + TCP_BBR_PACE_CROSS = 0x442 + TCP_BBR_PACE_DEL_TAR = 0x43f + TCP_BBR_PACE_OH = 0x435 + TCP_BBR_PACE_PER_SEC = 0x43e + TCP_BBR_PACE_SEG_MAX = 0x440 + TCP_BBR_PACE_SEG_MIN = 0x441 + TCP_BBR_POLICER_DETECT = 0x457 + TCP_BBR_PROBE_RTT_GAIN = 0x44d + TCP_BBR_PROBE_RTT_INT = 0x430 + TCP_BBR_PROBE_RTT_LEN = 0x44e + TCP_BBR_RACK_INIT_RATE = 0x458 + TCP_BBR_RACK_RTT_USE = 0x44a + TCP_BBR_RECFORCE = 0x42c + TCP_BBR_REC_OVER_HPTS = 0x43a + TCP_BBR_RETRAN_WTSO = 0x44b + TCP_BBR_RWND_IS_APP = 0x42f + TCP_BBR_SEND_IWND_IN_TSO = 0x44f + TCP_BBR_STARTUP_EXIT_EPOCH = 0x43d + TCP_BBR_STARTUP_LOSS_EXIT = 0x432 + TCP_BBR_STARTUP_PG = 0x42d + TCP_BBR_TMR_PACE_OH = 0x448 + TCP_BBR_TSLIMITS = 0x434 + TCP_BBR_TSTMP_RAISES = 0x456 + TCP_BBR_UNLIMITED = 0x43b + TCP_BBR_USEDEL_RATE = 0x437 + TCP_BBR_USE_LOWGAIN = 0x433 + TCP_BBR_USE_RACK_CHEAT = 0x450 + TCP_BBR_USE_RACK_RR = 0x450 + TCP_BBR_UTTER_MAX_TSO = 0x452 + TCP_CA_NAME_MAX = 0x10 + TCP_CCALGOOPT = 0x41 + TCP_CONGESTION = 0x40 + TCP_DATA_AFTER_CLOSE = 0x44c + TCP_DEFER_OPTIONS = 0x470 + TCP_DELACK = 0x48 + TCP_FASTOPEN = 0x401 + TCP_FASTOPEN_MAX_COOKIE_LEN = 0x10 + TCP_FASTOPEN_MIN_COOKIE_LEN = 0x4 + TCP_FASTOPEN_PSK_LEN = 0x10 + TCP_FAST_RSM_HACK = 0x471 + TCP_FIN_IS_RST = 0x49 + TCP_FUNCTION_BLK = 0x2000 + TCP_FUNCTION_NAME_LEN_MAX = 0x20 + TCP_HDWR_RATE_CAP = 0x46a + TCP_HDWR_UP_ONLY = 0x46c + TCP_IDLE_REDUCE = 0x46 + TCP_INFO = 0x20 + TCP_IWND_NB = 0x2b + TCP_IWND_NSEG = 0x2c + TCP_KEEPCNT = 0x400 + TCP_KEEPIDLE = 0x100 + TCP_KEEPINIT = 0x80 + TCP_KEEPINTVL = 0x200 + TCP_LOG = 0x22 + TCP_LOGBUF = 0x23 + TCP_LOGDUMP = 0x25 + TCP_LOGDUMPID = 0x26 + TCP_LOGID = 0x24 + TCP_LOGID_CNT = 0x2e + TCP_LOG_ID_LEN = 0x40 + TCP_LOG_LIMIT = 0x4a + TCP_LOG_TAG = 0x2f + TCP_MAXBURST = 0x4 + TCP_MAXHLEN = 0x3c + TCP_MAXOLEN = 0x28 + TCP_MAXPEAKRATE = 0x45 + TCP_MAXSEG = 0x2 + TCP_MAXUNACKTIME = 0x44 + TCP_MAXWIN = 0xffff + TCP_MAX_SACK = 0x4 + TCP_MAX_WINSHIFT = 0xe + TCP_MD5SIG = 0x10 + TCP_MINMSS = 0xd8 + TCP_MSS = 0x218 + TCP_NODELAY = 0x1 + TCP_NOOPT = 0x8 + TCP_NOPUSH = 0x4 + TCP_NO_PRR = 0x462 + TCP_PACING_RATE_CAP = 0x46b + TCP_PCAP_IN = 0x1000 + TCP_PCAP_OUT = 0x800 + TCP_PERF_INFO = 0x4e + TCP_PROC_ACCOUNTING = 0x4c + TCP_RACK_ABC_VAL = 0x46d + TCP_RACK_CHEAT_NOT_CONF_RATE = 0x459 + TCP_RACK_DO_DETECTION = 0x449 + TCP_RACK_EARLY_RECOV = 0x423 + TCP_RACK_EARLY_SEG = 0x424 + TCP_RACK_FORCE_MSEG = 0x45d + TCP_RACK_GP_INCREASE = 0x446 + TCP_RACK_GP_INCREASE_CA = 0x45a + TCP_RACK_GP_INCREASE_REC = 0x45c + TCP_RACK_GP_INCREASE_SS = 0x45b + TCP_RACK_IDLE_REDUCE_HIGH = 0x444 + TCP_RACK_MBUF_QUEUE = 0x41a + TCP_RACK_MEASURE_CNT = 0x46f + TCP_RACK_MIN_PACE = 0x445 + TCP_RACK_MIN_PACE_SEG = 0x446 + TCP_RACK_MIN_TO = 0x422 + TCP_RACK_NONRXT_CFG_RATE = 0x463 + TCP_RACK_NO_PUSH_AT_MAX = 0x466 + TCP_RACK_PACE_ALWAYS = 0x41f + TCP_RACK_PACE_MAX_SEG = 0x41e + TCP_RACK_PACE_RATE_CA = 0x45e + TCP_RACK_PACE_RATE_REC = 0x460 + TCP_RACK_PACE_RATE_SS = 0x45f + TCP_RACK_PACE_REDUCE = 0x41d + TCP_RACK_PACE_TO_FILL = 0x467 + TCP_RACK_PACING_BETA = 0x472 + TCP_RACK_PACING_BETA_ECN = 0x473 + TCP_RACK_PKT_DELAY = 0x428 + TCP_RACK_PROFILE = 0x469 + TCP_RACK_PROP = 0x41b + TCP_RACK_PROP_RATE = 0x420 + TCP_RACK_PRR_SENDALOT = 0x421 + TCP_RACK_REORD_FADE = 0x426 + TCP_RACK_REORD_THRESH = 0x425 + TCP_RACK_RR_CONF = 0x459 + TCP_RACK_TIMER_SLOP = 0x474 + TCP_RACK_TLP_INC_VAR = 0x429 + TCP_RACK_TLP_REDUCE = 0x41c + TCP_RACK_TLP_THRESH = 0x427 + TCP_RACK_TLP_USE = 0x447 + TCP_REC_ABC_VAL = 0x46e + TCP_REMOTE_UDP_ENCAPS_PORT = 0x47 + TCP_REUSPORT_LB_NUMA = 0x402 + TCP_REUSPORT_LB_NUMA_CURDOM = -0x1 + TCP_REUSPORT_LB_NUMA_NODOM = -0x2 + TCP_RXTLS_ENABLE = 0x29 + TCP_RXTLS_MODE = 0x2a + TCP_SHARED_CWND_ALLOWED = 0x4b + TCP_SHARED_CWND_ENABLE = 0x464 + TCP_SHARED_CWND_TIME_LIMIT = 0x468 + TCP_STATS = 0x21 + TCP_TIMELY_DYN_ADJ = 0x465 + TCP_TLS_MODE_IFNET = 0x2 + TCP_TLS_MODE_NONE = 0x0 + TCP_TLS_MODE_SW = 0x1 + TCP_TLS_MODE_TOE = 0x3 + TCP_TXTLS_ENABLE = 0x27 + TCP_TXTLS_MODE = 0x28 + TCP_USER_LOG = 0x30 + TCP_USE_CMP_ACKS = 0x4d + TCP_VENDOR = 0x80000000 + TCSAFLUSH = 0x2 + TIMER_ABSTIME = 0x1 + TIMER_RELTIME = 0x0 + TIOCCBRK = 0x2000747a + TIOCCDTR = 0x20007478 + TIOCCONS = 0x80047462 + TIOCDRAIN = 0x2000745e + TIOCEXCL = 0x2000740d + TIOCEXT = 0x80047460 + TIOCFLUSH = 0x80047410 + TIOCGDRAINWAIT = 0x40047456 + TIOCGETA = 0x402c7413 + TIOCGETD = 0x4004741a + TIOCGPGRP = 0x40047477 + TIOCGPTN = 0x4004740f + TIOCGSID = 0x40047463 + TIOCGWINSZ = 0x40087468 + TIOCMBIC = 0x8004746b + TIOCMBIS = 0x8004746c + TIOCMGDTRWAIT = 0x4004745a + TIOCMGET = 0x4004746a + TIOCMSDTRWAIT = 0x8004745b + TIOCMSET = 0x8004746d + TIOCM_CAR = 0x40 + TIOCM_CD = 0x40 + TIOCM_CTS = 0x20 + TIOCM_DCD = 0x40 + TIOCM_DSR = 0x100 + TIOCM_DTR = 0x2 + TIOCM_LE = 0x1 + TIOCM_RI = 0x80 + TIOCM_RNG = 0x80 + TIOCM_RTS = 0x4 + TIOCM_SR = 0x10 + TIOCM_ST = 0x8 + TIOCNOTTY = 0x20007471 + TIOCNXCL = 0x2000740e + TIOCOUTQ = 0x40047473 + TIOCPKT = 0x80047470 + TIOCPKT_DATA = 0x0 + TIOCPKT_DOSTOP = 0x20 + TIOCPKT_FLUSHREAD = 0x1 + TIOCPKT_FLUSHWRITE = 0x2 + TIOCPKT_IOCTL = 0x40 + TIOCPKT_NOSTOP = 0x10 + TIOCPKT_START = 0x8 + TIOCPKT_STOP = 0x4 + TIOCPTMASTER = 0x2000741c + TIOCSBRK = 0x2000747b + TIOCSCTTY = 0x20007461 + TIOCSDRAINWAIT = 0x80047457 + TIOCSDTR = 0x20007479 + TIOCSETA = 0x802c7414 + TIOCSETAF = 0x802c7416 + TIOCSETAW = 0x802c7415 + TIOCSETD = 0x8004741b + TIOCSIG = 0x2004745f + TIOCSPGRP = 0x80047476 + TIOCSTART = 0x2000746e + TIOCSTAT = 0x20007465 + TIOCSTI = 0x80017472 + TIOCSTOP = 0x2000746f + TIOCSWINSZ = 0x80087467 + TIOCTIMESTAMP = 0x40107459 + TIOCUCNTL = 0x80047466 + TOSTOP = 0x400000 + UTIME_NOW = -0x1 + UTIME_OMIT = -0x2 + VDISCARD = 0xf + VDSUSP = 0xb + VEOF = 0x0 + VEOL = 0x1 + VEOL2 = 0x2 + VERASE = 0x3 + VERASE2 = 0x7 + VINTR = 0x8 + VKILL = 0x5 + VLNEXT = 0xe + VMIN = 0x10 + VQUIT = 0x9 + VREPRINT = 0x6 + VSTART = 0xc + VSTATUS = 0x12 + VSTOP = 0xd + VSUSP = 0xa + VTIME = 0x11 + VWERASE = 0x4 + WCONTINUED = 0x4 + WCOREFLAG = 0x80 + WEXITED = 0x10 + WLINUXCLONE = 0x80000000 + WNOHANG = 0x1 + WNOWAIT = 0x8 + WSTOPPED = 0x2 + WTRAPPED = 0x20 + WUNTRACED = 0x2 +) + +// Errors +const ( + E2BIG = syscall.Errno(0x7) + EACCES = syscall.Errno(0xd) + EADDRINUSE = syscall.Errno(0x30) + EADDRNOTAVAIL = syscall.Errno(0x31) + EAFNOSUPPORT = syscall.Errno(0x2f) + EAGAIN = syscall.Errno(0x23) + EALREADY = syscall.Errno(0x25) + EAUTH = syscall.Errno(0x50) + EBADF = syscall.Errno(0x9) + EBADMSG = syscall.Errno(0x59) + EBADRPC = syscall.Errno(0x48) + EBUSY = syscall.Errno(0x10) + ECANCELED = syscall.Errno(0x55) + ECAPMODE = syscall.Errno(0x5e) + ECHILD = syscall.Errno(0xa) + ECONNABORTED = syscall.Errno(0x35) + ECONNREFUSED = syscall.Errno(0x3d) + ECONNRESET = syscall.Errno(0x36) + EDEADLK = syscall.Errno(0xb) + EDESTADDRREQ = syscall.Errno(0x27) + EDOM = syscall.Errno(0x21) + EDOOFUS = syscall.Errno(0x58) + EDQUOT = syscall.Errno(0x45) + EEXIST = syscall.Errno(0x11) + EFAULT = syscall.Errno(0xe) + EFBIG = syscall.Errno(0x1b) + EFTYPE = syscall.Errno(0x4f) + EHOSTDOWN = syscall.Errno(0x40) + EHOSTUNREACH = syscall.Errno(0x41) + EIDRM = syscall.Errno(0x52) + EILSEQ = syscall.Errno(0x56) + EINPROGRESS = syscall.Errno(0x24) + EINTEGRITY = syscall.Errno(0x61) + EINTR = syscall.Errno(0x4) + EINVAL = syscall.Errno(0x16) + EIO = syscall.Errno(0x5) + EISCONN = syscall.Errno(0x38) + EISDIR = syscall.Errno(0x15) + ELAST = syscall.Errno(0x61) + ELOOP = syscall.Errno(0x3e) + EMFILE = syscall.Errno(0x18) + EMLINK = syscall.Errno(0x1f) + EMSGSIZE = syscall.Errno(0x28) + EMULTIHOP = syscall.Errno(0x5a) + ENAMETOOLONG = syscall.Errno(0x3f) + ENEEDAUTH = syscall.Errno(0x51) + ENETDOWN = syscall.Errno(0x32) + ENETRESET = syscall.Errno(0x34) + ENETUNREACH = syscall.Errno(0x33) + ENFILE = syscall.Errno(0x17) + ENOATTR = syscall.Errno(0x57) + ENOBUFS = syscall.Errno(0x37) + ENODEV = syscall.Errno(0x13) + ENOENT = syscall.Errno(0x2) + ENOEXEC = syscall.Errno(0x8) + ENOLCK = syscall.Errno(0x4d) + ENOLINK = syscall.Errno(0x5b) + ENOMEM = syscall.Errno(0xc) + ENOMSG = syscall.Errno(0x53) + ENOPROTOOPT = syscall.Errno(0x2a) + ENOSPC = syscall.Errno(0x1c) + ENOSYS = syscall.Errno(0x4e) + ENOTBLK = syscall.Errno(0xf) + ENOTCAPABLE = syscall.Errno(0x5d) + ENOTCONN = syscall.Errno(0x39) + ENOTDIR = syscall.Errno(0x14) + ENOTEMPTY = syscall.Errno(0x42) + ENOTRECOVERABLE = syscall.Errno(0x5f) + ENOTSOCK = syscall.Errno(0x26) + ENOTSUP = syscall.Errno(0x2d) + ENOTTY = syscall.Errno(0x19) + ENXIO = syscall.Errno(0x6) + EOPNOTSUPP = syscall.Errno(0x2d) + EOVERFLOW = syscall.Errno(0x54) + EOWNERDEAD = syscall.Errno(0x60) + EPERM = syscall.Errno(0x1) + EPFNOSUPPORT = syscall.Errno(0x2e) + EPIPE = syscall.Errno(0x20) + EPROCLIM = syscall.Errno(0x43) + EPROCUNAVAIL = syscall.Errno(0x4c) + EPROGMISMATCH = syscall.Errno(0x4b) + EPROGUNAVAIL = syscall.Errno(0x4a) + EPROTO = syscall.Errno(0x5c) + EPROTONOSUPPORT = syscall.Errno(0x2b) + EPROTOTYPE = syscall.Errno(0x29) + ERANGE = syscall.Errno(0x22) + EREMOTE = syscall.Errno(0x47) + EROFS = syscall.Errno(0x1e) + ERPCMISMATCH = syscall.Errno(0x49) + ESHUTDOWN = syscall.Errno(0x3a) + ESOCKTNOSUPPORT = syscall.Errno(0x2c) + ESPIPE = syscall.Errno(0x1d) + ESRCH = syscall.Errno(0x3) + ESTALE = syscall.Errno(0x46) + ETIMEDOUT = syscall.Errno(0x3c) + ETOOMANYREFS = syscall.Errno(0x3b) + ETXTBSY = syscall.Errno(0x1a) + EUSERS = syscall.Errno(0x44) + EWOULDBLOCK = syscall.Errno(0x23) + EXDEV = syscall.Errno(0x12) +) + +// Signals +const ( + SIGABRT = syscall.Signal(0x6) + SIGALRM = syscall.Signal(0xe) + SIGBUS = syscall.Signal(0xa) + SIGCHLD = syscall.Signal(0x14) + SIGCONT = syscall.Signal(0x13) + SIGEMT = syscall.Signal(0x7) + SIGFPE = syscall.Signal(0x8) + SIGHUP = syscall.Signal(0x1) + SIGILL = syscall.Signal(0x4) + SIGINFO = syscall.Signal(0x1d) + SIGINT = syscall.Signal(0x2) + SIGIO = syscall.Signal(0x17) + SIGIOT = syscall.Signal(0x6) + SIGKILL = syscall.Signal(0x9) + SIGLIBRT = syscall.Signal(0x21) + SIGLWP = syscall.Signal(0x20) + SIGPIPE = syscall.Signal(0xd) + SIGPROF = syscall.Signal(0x1b) + SIGQUIT = syscall.Signal(0x3) + SIGSEGV = syscall.Signal(0xb) + SIGSTOP = syscall.Signal(0x11) + SIGSYS = syscall.Signal(0xc) + SIGTERM = syscall.Signal(0xf) + SIGTHR = syscall.Signal(0x20) + SIGTRAP = syscall.Signal(0x5) + SIGTSTP = syscall.Signal(0x12) + SIGTTIN = syscall.Signal(0x15) + SIGTTOU = syscall.Signal(0x16) + SIGURG = syscall.Signal(0x10) + SIGUSR1 = syscall.Signal(0x1e) + SIGUSR2 = syscall.Signal(0x1f) + SIGVTALRM = syscall.Signal(0x1a) + SIGWINCH = syscall.Signal(0x1c) + SIGXCPU = syscall.Signal(0x18) + SIGXFSZ = syscall.Signal(0x19) +) + +// Error table +var errorList = [...]struct { + num syscall.Errno + name string + desc string +}{ + {1, "EPERM", "operation not permitted"}, + {2, "ENOENT", "no such file or directory"}, + {3, "ESRCH", "no such process"}, + {4, "EINTR", "interrupted system call"}, + {5, "EIO", "input/output error"}, + {6, "ENXIO", "device not configured"}, + {7, "E2BIG", "argument list too long"}, + {8, "ENOEXEC", "exec format error"}, + {9, "EBADF", "bad file descriptor"}, + {10, "ECHILD", "no child processes"}, + {11, "EDEADLK", "resource deadlock avoided"}, + {12, "ENOMEM", "cannot allocate memory"}, + {13, "EACCES", "permission denied"}, + {14, "EFAULT", "bad address"}, + {15, "ENOTBLK", "block device required"}, + {16, "EBUSY", "device busy"}, + {17, "EEXIST", "file exists"}, + {18, "EXDEV", "cross-device link"}, + {19, "ENODEV", "operation not supported by device"}, + {20, "ENOTDIR", "not a directory"}, + {21, "EISDIR", "is a directory"}, + {22, "EINVAL", "invalid argument"}, + {23, "ENFILE", "too many open files in system"}, + {24, "EMFILE", "too many open files"}, + {25, "ENOTTY", "inappropriate ioctl for device"}, + {26, "ETXTBSY", "text file busy"}, + {27, "EFBIG", "file too large"}, + {28, "ENOSPC", "no space left on device"}, + {29, "ESPIPE", "illegal seek"}, + {30, "EROFS", "read-only file system"}, + {31, "EMLINK", "too many links"}, + {32, "EPIPE", "broken pipe"}, + {33, "EDOM", "numerical argument out of domain"}, + {34, "ERANGE", "result too large"}, + {35, "EWOULDBLOCK", "resource temporarily unavailable"}, + {36, "EINPROGRESS", "operation now in progress"}, + {37, "EALREADY", "operation already in progress"}, + {38, "ENOTSOCK", "socket operation on non-socket"}, + {39, "EDESTADDRREQ", "destination address required"}, + {40, "EMSGSIZE", "message too long"}, + {41, "EPROTOTYPE", "protocol wrong type for socket"}, + {42, "ENOPROTOOPT", "protocol not available"}, + {43, "EPROTONOSUPPORT", "protocol not supported"}, + {44, "ESOCKTNOSUPPORT", "socket type not supported"}, + {45, "EOPNOTSUPP", "operation not supported"}, + {46, "EPFNOSUPPORT", "protocol family not supported"}, + {47, "EAFNOSUPPORT", "address family not supported by protocol family"}, + {48, "EADDRINUSE", "address already in use"}, + {49, "EADDRNOTAVAIL", "can't assign requested address"}, + {50, "ENETDOWN", "network is down"}, + {51, "ENETUNREACH", "network is unreachable"}, + {52, "ENETRESET", "network dropped connection on reset"}, + {53, "ECONNABORTED", "software caused connection abort"}, + {54, "ECONNRESET", "connection reset by peer"}, + {55, "ENOBUFS", "no buffer space available"}, + {56, "EISCONN", "socket is already connected"}, + {57, "ENOTCONN", "socket is not connected"}, + {58, "ESHUTDOWN", "can't send after socket shutdown"}, + {59, "ETOOMANYREFS", "too many references: can't splice"}, + {60, "ETIMEDOUT", "operation timed out"}, + {61, "ECONNREFUSED", "connection refused"}, + {62, "ELOOP", "too many levels of symbolic links"}, + {63, "ENAMETOOLONG", "file name too long"}, + {64, "EHOSTDOWN", "host is down"}, + {65, "EHOSTUNREACH", "no route to host"}, + {66, "ENOTEMPTY", "directory not empty"}, + {67, "EPROCLIM", "too many processes"}, + {68, "EUSERS", "too many users"}, + {69, "EDQUOT", "disc quota exceeded"}, + {70, "ESTALE", "stale NFS file handle"}, + {71, "EREMOTE", "too many levels of remote in path"}, + {72, "EBADRPC", "RPC struct is bad"}, + {73, "ERPCMISMATCH", "RPC version wrong"}, + {74, "EPROGUNAVAIL", "RPC prog. not avail"}, + {75, "EPROGMISMATCH", "program version wrong"}, + {76, "EPROCUNAVAIL", "bad procedure for program"}, + {77, "ENOLCK", "no locks available"}, + {78, "ENOSYS", "function not implemented"}, + {79, "EFTYPE", "inappropriate file type or format"}, + {80, "EAUTH", "authentication error"}, + {81, "ENEEDAUTH", "need authenticator"}, + {82, "EIDRM", "identifier removed"}, + {83, "ENOMSG", "no message of desired type"}, + {84, "EOVERFLOW", "value too large to be stored in data type"}, + {85, "ECANCELED", "operation canceled"}, + {86, "EILSEQ", "illegal byte sequence"}, + {87, "ENOATTR", "attribute not found"}, + {88, "EDOOFUS", "programming error"}, + {89, "EBADMSG", "bad message"}, + {90, "EMULTIHOP", "multihop attempted"}, + {91, "ENOLINK", "link has been severed"}, + {92, "EPROTO", "protocol error"}, + {93, "ENOTCAPABLE", "capabilities insufficient"}, + {94, "ECAPMODE", "not permitted in capability mode"}, + {95, "ENOTRECOVERABLE", "state not recoverable"}, + {96, "EOWNERDEAD", "previous owner died"}, + {97, "EINTEGRITY", "integrity check failed"}, +} + +// Signal table +var signalList = [...]struct { + num syscall.Signal + name string + desc string +}{ + {1, "SIGHUP", "hangup"}, + {2, "SIGINT", "interrupt"}, + {3, "SIGQUIT", "quit"}, + {4, "SIGILL", "illegal instruction"}, + {5, "SIGTRAP", "trace/BPT trap"}, + {6, "SIGIOT", "abort trap"}, + {7, "SIGEMT", "EMT trap"}, + {8, "SIGFPE", "floating point exception"}, + {9, "SIGKILL", "killed"}, + {10, "SIGBUS", "bus error"}, + {11, "SIGSEGV", "segmentation fault"}, + {12, "SIGSYS", "bad system call"}, + {13, "SIGPIPE", "broken pipe"}, + {14, "SIGALRM", "alarm clock"}, + {15, "SIGTERM", "terminated"}, + {16, "SIGURG", "urgent I/O condition"}, + {17, "SIGSTOP", "suspended (signal)"}, + {18, "SIGTSTP", "suspended"}, + {19, "SIGCONT", "continued"}, + {20, "SIGCHLD", "child exited"}, + {21, "SIGTTIN", "stopped (tty input)"}, + {22, "SIGTTOU", "stopped (tty output)"}, + {23, "SIGIO", "I/O possible"}, + {24, "SIGXCPU", "cputime limit exceeded"}, + {25, "SIGXFSZ", "filesize limit exceeded"}, + {26, "SIGVTALRM", "virtual timer expired"}, + {27, "SIGPROF", "profiling timer expired"}, + {28, "SIGWINCH", "window size changes"}, + {29, "SIGINFO", "information request"}, + {30, "SIGUSR1", "user defined signal 1"}, + {31, "SIGUSR2", "user defined signal 2"}, + {32, "SIGTHR", "unknown signal"}, + {33, "SIGLIBRT", "unknown signal"}, +} diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux.go index 3de79fa25766..785d693eb328 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux.go @@ -140,6 +140,306 @@ const ( ARPHRD_VOID = 0xffff ARPHRD_VSOCKMON = 0x33a ARPHRD_X25 = 0x10f + AUDIT_ADD = 0x3eb + AUDIT_ADD_RULE = 0x3f3 + AUDIT_ALWAYS = 0x2 + AUDIT_ANOM_ABEND = 0x6a5 + AUDIT_ANOM_CREAT = 0x6a7 + AUDIT_ANOM_LINK = 0x6a6 + AUDIT_ANOM_PROMISCUOUS = 0x6a4 + AUDIT_ARCH = 0xb + AUDIT_ARCH_AARCH64 = 0xc00000b7 + AUDIT_ARCH_ALPHA = 0xc0009026 + AUDIT_ARCH_ARCOMPACT = 0x4000005d + AUDIT_ARCH_ARCOMPACTBE = 0x5d + AUDIT_ARCH_ARCV2 = 0x400000c3 + AUDIT_ARCH_ARCV2BE = 0xc3 + AUDIT_ARCH_ARM = 0x40000028 + AUDIT_ARCH_ARMEB = 0x28 + AUDIT_ARCH_C6X = 0x4000008c + AUDIT_ARCH_C6XBE = 0x8c + AUDIT_ARCH_CRIS = 0x4000004c + AUDIT_ARCH_CSKY = 0x400000fc + AUDIT_ARCH_FRV = 0x5441 + AUDIT_ARCH_H8300 = 0x2e + AUDIT_ARCH_HEXAGON = 0xa4 + AUDIT_ARCH_I386 = 0x40000003 + AUDIT_ARCH_IA64 = 0xc0000032 + AUDIT_ARCH_LOONGARCH32 = 0x40000102 + AUDIT_ARCH_LOONGARCH64 = 0xc0000102 + AUDIT_ARCH_M32R = 0x58 + AUDIT_ARCH_M68K = 0x4 + AUDIT_ARCH_MICROBLAZE = 0xbd + AUDIT_ARCH_MIPS = 0x8 + AUDIT_ARCH_MIPS64 = 0x80000008 + AUDIT_ARCH_MIPS64N32 = 0xa0000008 + AUDIT_ARCH_MIPSEL = 0x40000008 + AUDIT_ARCH_MIPSEL64 = 0xc0000008 + AUDIT_ARCH_MIPSEL64N32 = 0xe0000008 + AUDIT_ARCH_NDS32 = 0x400000a7 + AUDIT_ARCH_NDS32BE = 0xa7 + AUDIT_ARCH_NIOS2 = 0x40000071 + AUDIT_ARCH_OPENRISC = 0x5c + AUDIT_ARCH_PARISC = 0xf + AUDIT_ARCH_PARISC64 = 0x8000000f + AUDIT_ARCH_PPC = 0x14 + AUDIT_ARCH_PPC64 = 0x80000015 + AUDIT_ARCH_PPC64LE = 0xc0000015 + AUDIT_ARCH_RISCV32 = 0x400000f3 + AUDIT_ARCH_RISCV64 = 0xc00000f3 + AUDIT_ARCH_S390 = 0x16 + AUDIT_ARCH_S390X = 0x80000016 + AUDIT_ARCH_SH = 0x2a + AUDIT_ARCH_SH64 = 0x8000002a + AUDIT_ARCH_SHEL = 0x4000002a + AUDIT_ARCH_SHEL64 = 0xc000002a + AUDIT_ARCH_SPARC = 0x2 + AUDIT_ARCH_SPARC64 = 0x8000002b + AUDIT_ARCH_TILEGX = 0xc00000bf + AUDIT_ARCH_TILEGX32 = 0x400000bf + AUDIT_ARCH_TILEPRO = 0x400000bc + AUDIT_ARCH_UNICORE = 0x4000006e + AUDIT_ARCH_X86_64 = 0xc000003e + AUDIT_ARCH_XTENSA = 0x5e + AUDIT_ARG0 = 0xc8 + AUDIT_ARG1 = 0xc9 + AUDIT_ARG2 = 0xca + AUDIT_ARG3 = 0xcb + AUDIT_AVC = 0x578 + AUDIT_AVC_PATH = 0x57a + AUDIT_BITMASK_SIZE = 0x40 + AUDIT_BIT_MASK = 0x8000000 + AUDIT_BIT_TEST = 0x48000000 + AUDIT_BPF = 0x536 + AUDIT_BPRM_FCAPS = 0x529 + AUDIT_CAPSET = 0x52a + AUDIT_CLASS_CHATTR = 0x2 + AUDIT_CLASS_CHATTR_32 = 0x3 + AUDIT_CLASS_DIR_WRITE = 0x0 + AUDIT_CLASS_DIR_WRITE_32 = 0x1 + AUDIT_CLASS_READ = 0x4 + AUDIT_CLASS_READ_32 = 0x5 + AUDIT_CLASS_SIGNAL = 0x8 + AUDIT_CLASS_SIGNAL_32 = 0x9 + AUDIT_CLASS_WRITE = 0x6 + AUDIT_CLASS_WRITE_32 = 0x7 + AUDIT_COMPARE_AUID_TO_EUID = 0x10 + AUDIT_COMPARE_AUID_TO_FSUID = 0xe + AUDIT_COMPARE_AUID_TO_OBJ_UID = 0x5 + AUDIT_COMPARE_AUID_TO_SUID = 0xf + AUDIT_COMPARE_EGID_TO_FSGID = 0x17 + AUDIT_COMPARE_EGID_TO_OBJ_GID = 0x4 + AUDIT_COMPARE_EGID_TO_SGID = 0x18 + AUDIT_COMPARE_EUID_TO_FSUID = 0x12 + AUDIT_COMPARE_EUID_TO_OBJ_UID = 0x3 + AUDIT_COMPARE_EUID_TO_SUID = 0x11 + AUDIT_COMPARE_FSGID_TO_OBJ_GID = 0x9 + AUDIT_COMPARE_FSUID_TO_OBJ_UID = 0x8 + AUDIT_COMPARE_GID_TO_EGID = 0x14 + AUDIT_COMPARE_GID_TO_FSGID = 0x15 + AUDIT_COMPARE_GID_TO_OBJ_GID = 0x2 + AUDIT_COMPARE_GID_TO_SGID = 0x16 + AUDIT_COMPARE_SGID_TO_FSGID = 0x19 + AUDIT_COMPARE_SGID_TO_OBJ_GID = 0x7 + AUDIT_COMPARE_SUID_TO_FSUID = 0x13 + AUDIT_COMPARE_SUID_TO_OBJ_UID = 0x6 + AUDIT_COMPARE_UID_TO_AUID = 0xa + AUDIT_COMPARE_UID_TO_EUID = 0xb + AUDIT_COMPARE_UID_TO_FSUID = 0xc + AUDIT_COMPARE_UID_TO_OBJ_UID = 0x1 + AUDIT_COMPARE_UID_TO_SUID = 0xd + AUDIT_CONFIG_CHANGE = 0x519 + AUDIT_CWD = 0x51b + AUDIT_DAEMON_ABORT = 0x4b2 + AUDIT_DAEMON_CONFIG = 0x4b3 + AUDIT_DAEMON_END = 0x4b1 + AUDIT_DAEMON_START = 0x4b0 + AUDIT_DEL = 0x3ec + AUDIT_DEL_RULE = 0x3f4 + AUDIT_DEVMAJOR = 0x64 + AUDIT_DEVMINOR = 0x65 + AUDIT_DIR = 0x6b + AUDIT_DM_CTRL = 0x53a + AUDIT_DM_EVENT = 0x53b + AUDIT_EGID = 0x6 + AUDIT_EOE = 0x528 + AUDIT_EQUAL = 0x40000000 + AUDIT_EUID = 0x2 + AUDIT_EVENT_LISTENER = 0x537 + AUDIT_EXE = 0x70 + AUDIT_EXECVE = 0x51d + AUDIT_EXIT = 0x67 + AUDIT_FAIL_PANIC = 0x2 + AUDIT_FAIL_PRINTK = 0x1 + AUDIT_FAIL_SILENT = 0x0 + AUDIT_FANOTIFY = 0x533 + AUDIT_FD_PAIR = 0x525 + AUDIT_FEATURE_BITMAP_ALL = 0x7f + AUDIT_FEATURE_BITMAP_BACKLOG_LIMIT = 0x1 + AUDIT_FEATURE_BITMAP_BACKLOG_WAIT_TIME = 0x2 + AUDIT_FEATURE_BITMAP_EXCLUDE_EXTEND = 0x8 + AUDIT_FEATURE_BITMAP_EXECUTABLE_PATH = 0x4 + AUDIT_FEATURE_BITMAP_FILTER_FS = 0x40 + AUDIT_FEATURE_BITMAP_LOST_RESET = 0x20 + AUDIT_FEATURE_BITMAP_SESSIONID_FILTER = 0x10 + AUDIT_FEATURE_CHANGE = 0x530 + AUDIT_FEATURE_LOGINUID_IMMUTABLE = 0x1 + AUDIT_FEATURE_ONLY_UNSET_LOGINUID = 0x0 + AUDIT_FEATURE_VERSION = 0x1 + AUDIT_FIELD_COMPARE = 0x6f + AUDIT_FILETYPE = 0x6c + AUDIT_FILTERKEY = 0xd2 + AUDIT_FILTER_ENTRY = 0x2 + AUDIT_FILTER_EXCLUDE = 0x5 + AUDIT_FILTER_EXIT = 0x4 + AUDIT_FILTER_FS = 0x6 + AUDIT_FILTER_PREPEND = 0x10 + AUDIT_FILTER_TASK = 0x1 + AUDIT_FILTER_TYPE = 0x5 + AUDIT_FILTER_URING_EXIT = 0x7 + AUDIT_FILTER_USER = 0x0 + AUDIT_FILTER_WATCH = 0x3 + AUDIT_FIRST_KERN_ANOM_MSG = 0x6a4 + AUDIT_FIRST_USER_MSG = 0x44c + AUDIT_FIRST_USER_MSG2 = 0x834 + AUDIT_FSGID = 0x8 + AUDIT_FSTYPE = 0x1a + AUDIT_FSUID = 0x4 + AUDIT_GET = 0x3e8 + AUDIT_GET_FEATURE = 0x3fb + AUDIT_GID = 0x5 + AUDIT_GREATER_THAN = 0x20000000 + AUDIT_GREATER_THAN_OR_EQUAL = 0x60000000 + AUDIT_INODE = 0x66 + AUDIT_INTEGRITY_DATA = 0x708 + AUDIT_INTEGRITY_EVM_XATTR = 0x70e + AUDIT_INTEGRITY_HASH = 0x70b + AUDIT_INTEGRITY_METADATA = 0x709 + AUDIT_INTEGRITY_PCR = 0x70c + AUDIT_INTEGRITY_POLICY_RULE = 0x70f + AUDIT_INTEGRITY_RULE = 0x70d + AUDIT_INTEGRITY_STATUS = 0x70a + AUDIT_IPC = 0x517 + AUDIT_IPC_SET_PERM = 0x51f + AUDIT_KERNEL = 0x7d0 + AUDIT_KERNEL_OTHER = 0x524 + AUDIT_KERN_MODULE = 0x532 + AUDIT_LAST_FEATURE = 0x1 + AUDIT_LAST_KERN_ANOM_MSG = 0x707 + AUDIT_LAST_USER_MSG = 0x4af + AUDIT_LAST_USER_MSG2 = 0xbb7 + AUDIT_LESS_THAN = 0x10000000 + AUDIT_LESS_THAN_OR_EQUAL = 0x50000000 + AUDIT_LIST = 0x3ea + AUDIT_LIST_RULES = 0x3f5 + AUDIT_LOGIN = 0x3ee + AUDIT_LOGINUID = 0x9 + AUDIT_LOGINUID_SET = 0x18 + AUDIT_MAC_CALIPSO_ADD = 0x58a + AUDIT_MAC_CALIPSO_DEL = 0x58b + AUDIT_MAC_CIPSOV4_ADD = 0x57f + AUDIT_MAC_CIPSOV4_DEL = 0x580 + AUDIT_MAC_CONFIG_CHANGE = 0x57d + AUDIT_MAC_IPSEC_ADDSA = 0x583 + AUDIT_MAC_IPSEC_ADDSPD = 0x585 + AUDIT_MAC_IPSEC_DELSA = 0x584 + AUDIT_MAC_IPSEC_DELSPD = 0x586 + AUDIT_MAC_IPSEC_EVENT = 0x587 + AUDIT_MAC_MAP_ADD = 0x581 + AUDIT_MAC_MAP_DEL = 0x582 + AUDIT_MAC_POLICY_LOAD = 0x57b + AUDIT_MAC_STATUS = 0x57c + AUDIT_MAC_UNLBL_ALLOW = 0x57e + AUDIT_MAC_UNLBL_STCADD = 0x588 + AUDIT_MAC_UNLBL_STCDEL = 0x589 + AUDIT_MAKE_EQUIV = 0x3f7 + AUDIT_MAX_FIELDS = 0x40 + AUDIT_MAX_FIELD_COMPARE = 0x19 + AUDIT_MAX_KEY_LEN = 0x100 + AUDIT_MESSAGE_TEXT_MAX = 0x2170 + AUDIT_MMAP = 0x52b + AUDIT_MQ_GETSETATTR = 0x523 + AUDIT_MQ_NOTIFY = 0x522 + AUDIT_MQ_OPEN = 0x520 + AUDIT_MQ_SENDRECV = 0x521 + AUDIT_MSGTYPE = 0xc + AUDIT_NEGATE = 0x80000000 + AUDIT_NETFILTER_CFG = 0x52d + AUDIT_NETFILTER_PKT = 0x52c + AUDIT_NEVER = 0x0 + AUDIT_NLGRP_MAX = 0x1 + AUDIT_NOT_EQUAL = 0x30000000 + AUDIT_NR_FILTERS = 0x8 + AUDIT_OBJ_GID = 0x6e + AUDIT_OBJ_LEV_HIGH = 0x17 + AUDIT_OBJ_LEV_LOW = 0x16 + AUDIT_OBJ_PID = 0x526 + AUDIT_OBJ_ROLE = 0x14 + AUDIT_OBJ_TYPE = 0x15 + AUDIT_OBJ_UID = 0x6d + AUDIT_OBJ_USER = 0x13 + AUDIT_OPENAT2 = 0x539 + AUDIT_OPERATORS = 0x78000000 + AUDIT_PATH = 0x516 + AUDIT_PERM = 0x6a + AUDIT_PERM_ATTR = 0x8 + AUDIT_PERM_EXEC = 0x1 + AUDIT_PERM_READ = 0x4 + AUDIT_PERM_WRITE = 0x2 + AUDIT_PERS = 0xa + AUDIT_PID = 0x0 + AUDIT_POSSIBLE = 0x1 + AUDIT_PPID = 0x12 + AUDIT_PROCTITLE = 0x52f + AUDIT_REPLACE = 0x531 + AUDIT_SADDR_FAM = 0x71 + AUDIT_SECCOMP = 0x52e + AUDIT_SELINUX_ERR = 0x579 + AUDIT_SESSIONID = 0x19 + AUDIT_SET = 0x3e9 + AUDIT_SET_FEATURE = 0x3fa + AUDIT_SGID = 0x7 + AUDIT_SID_UNSET = 0xffffffff + AUDIT_SIGNAL_INFO = 0x3f2 + AUDIT_SOCKADDR = 0x51a + AUDIT_SOCKETCALL = 0x518 + AUDIT_STATUS_BACKLOG_LIMIT = 0x10 + AUDIT_STATUS_BACKLOG_WAIT_TIME = 0x20 + AUDIT_STATUS_BACKLOG_WAIT_TIME_ACTUAL = 0x80 + AUDIT_STATUS_ENABLED = 0x1 + AUDIT_STATUS_FAILURE = 0x2 + AUDIT_STATUS_LOST = 0x40 + AUDIT_STATUS_PID = 0x4 + AUDIT_STATUS_RATE_LIMIT = 0x8 + AUDIT_SUBJ_CLR = 0x11 + AUDIT_SUBJ_ROLE = 0xe + AUDIT_SUBJ_SEN = 0x10 + AUDIT_SUBJ_TYPE = 0xf + AUDIT_SUBJ_USER = 0xd + AUDIT_SUCCESS = 0x68 + AUDIT_SUID = 0x3 + AUDIT_SYSCALL = 0x514 + AUDIT_SYSCALL_CLASSES = 0x10 + AUDIT_TIME_ADJNTPVAL = 0x535 + AUDIT_TIME_INJOFFSET = 0x534 + AUDIT_TRIM = 0x3f6 + AUDIT_TTY = 0x527 + AUDIT_TTY_GET = 0x3f8 + AUDIT_TTY_SET = 0x3f9 + AUDIT_UID = 0x1 + AUDIT_UID_UNSET = 0xffffffff + AUDIT_UNUSED_BITS = 0x7fffc00 + AUDIT_URINGOP = 0x538 + AUDIT_USER = 0x3ed + AUDIT_USER_AVC = 0x453 + AUDIT_USER_TTY = 0x464 + AUDIT_VERSION_BACKLOG_LIMIT = 0x1 + AUDIT_VERSION_BACKLOG_WAIT_TIME = 0x2 + AUDIT_VERSION_LATEST = 0x7f + AUDIT_WATCH = 0x69 + AUDIT_WATCH_INS = 0x3ef + AUDIT_WATCH_LIST = 0x3f1 + AUDIT_WATCH_REM = 0x3f0 AUTOFS_SUPER_MAGIC = 0x187 B0 = 0x0 B110 = 0x3 @@ -184,6 +484,7 @@ const ( BPF_F_ALLOW_MULTI = 0x2 BPF_F_ALLOW_OVERRIDE = 0x1 BPF_F_ANY_ALIGNMENT = 0x2 + BPF_F_KPROBE_MULTI_RETURN = 0x1 BPF_F_QUERY_EFFECTIVE = 0x1 BPF_F_REPLACE = 0x4 BPF_F_SLEEPABLE = 0x10 @@ -191,6 +492,8 @@ const ( BPF_F_TEST_RND_HI32 = 0x4 BPF_F_TEST_RUN_ON_CPU = 0x1 BPF_F_TEST_STATE_FREQ = 0x8 + BPF_F_TEST_XDP_LIVE_FRAMES = 0x2 + BPF_F_XDP_HAS_FRAGS = 0x20 BPF_H = 0x8 BPF_IMM = 0x0 BPF_IND = 0x40 @@ -517,9 +820,9 @@ const ( DM_UUID_FLAG = 0x4000 DM_UUID_LEN = 0x81 DM_VERSION = 0xc138fd00 - DM_VERSION_EXTRA = "-ioctl (2021-03-22)" + DM_VERSION_EXTRA = "-ioctl (2022-02-22)" DM_VERSION_MAJOR = 0x4 - DM_VERSION_MINOR = 0x2d + DM_VERSION_MINOR = 0x2e DM_VERSION_PATCHLEVEL = 0x0 DT_BLK = 0x6 DT_CHR = 0x2 @@ -535,6 +838,55 @@ const ( EFD_SEMAPHORE = 0x1 EFIVARFS_MAGIC = 0xde5e81e4 EFS_SUPER_MAGIC = 0x414a53 + EM_386 = 0x3 + EM_486 = 0x6 + EM_68K = 0x4 + EM_860 = 0x7 + EM_88K = 0x5 + EM_AARCH64 = 0xb7 + EM_ALPHA = 0x9026 + EM_ALTERA_NIOS2 = 0x71 + EM_ARCOMPACT = 0x5d + EM_ARCV2 = 0xc3 + EM_ARM = 0x28 + EM_BLACKFIN = 0x6a + EM_BPF = 0xf7 + EM_CRIS = 0x4c + EM_CSKY = 0xfc + EM_CYGNUS_M32R = 0x9041 + EM_CYGNUS_MN10300 = 0xbeef + EM_FRV = 0x5441 + EM_H8_300 = 0x2e + EM_HEXAGON = 0xa4 + EM_IA_64 = 0x32 + EM_LOONGARCH = 0x102 + EM_M32 = 0x1 + EM_M32R = 0x58 + EM_MICROBLAZE = 0xbd + EM_MIPS = 0x8 + EM_MIPS_RS3_LE = 0xa + EM_MIPS_RS4_BE = 0xa + EM_MN10300 = 0x59 + EM_NDS32 = 0xa7 + EM_NONE = 0x0 + EM_OPENRISC = 0x5c + EM_PARISC = 0xf + EM_PPC = 0x14 + EM_PPC64 = 0x15 + EM_RISCV = 0xf3 + EM_S390 = 0x16 + EM_S390_OLD = 0xa390 + EM_SH = 0x2a + EM_SPARC = 0x2 + EM_SPARC32PLUS = 0x12 + EM_SPARCV9 = 0x2b + EM_SPU = 0x17 + EM_TILEGX = 0xbf + EM_TILEPRO = 0xbc + EM_TI_C6000 = 0x8c + EM_UNICORE = 0x6e + EM_X86_64 = 0x3e + EM_XTENSA = 0x5e ENCODING_DEFAULT = 0x0 ENCODING_FM_MARK = 0x3 ENCODING_FM_SPACE = 0x4 @@ -712,6 +1064,7 @@ const ( ETH_P_EDSA = 0xdada ETH_P_ERSPAN = 0x88be ETH_P_ERSPAN2 = 0x22eb + ETH_P_ETHERCAT = 0x88a4 ETH_P_FCOE = 0x8906 ETH_P_FIP = 0x8914 ETH_P_HDLC = 0x19 @@ -749,6 +1102,7 @@ const ( ETH_P_PPP_MP = 0x8 ETH_P_PPP_SES = 0x8864 ETH_P_PREAUTH = 0x88c7 + ETH_P_PROFINET = 0x8892 ETH_P_PRP = 0x88fb ETH_P_PUP = 0x200 ETH_P_PUPAT = 0x201 @@ -837,6 +1191,7 @@ const ( FAN_FS_ERROR = 0x8000 FAN_MARK_ADD = 0x1 FAN_MARK_DONT_FOLLOW = 0x4 + FAN_MARK_EVICTABLE = 0x200 FAN_MARK_FILESYSTEM = 0x100 FAN_MARK_FLUSH = 0x80 FAN_MARK_IGNORED_MASK = 0x20 @@ -1055,7 +1410,7 @@ const ( IFA_F_STABLE_PRIVACY = 0x800 IFA_F_TEMPORARY = 0x1 IFA_F_TENTATIVE = 0x40 - IFA_MAX = 0xa + IFA_MAX = 0xb IFF_ALLMULTI = 0x200 IFF_ATTACH_QUEUE = 0x200 IFF_AUTOMEDIA = 0x4000 @@ -1310,6 +1665,7 @@ const ( KEXEC_ARCH_ARM = 0x280000 KEXEC_ARCH_DEFAULT = 0x0 KEXEC_ARCH_IA_64 = 0x320000 + KEXEC_ARCH_LOONGARCH = 0x1020000 KEXEC_ARCH_MASK = 0xffff0000 KEXEC_ARCH_MIPS = 0x80000 KEXEC_ARCH_MIPS_LE = 0xa0000 @@ -1402,6 +1758,7 @@ const ( LANDLOCK_ACCESS_FS_MAKE_SYM = 0x1000 LANDLOCK_ACCESS_FS_READ_DIR = 0x8 LANDLOCK_ACCESS_FS_READ_FILE = 0x4 + LANDLOCK_ACCESS_FS_REFER = 0x2000 LANDLOCK_ACCESS_FS_REMOVE_DIR = 0x10 LANDLOCK_ACCESS_FS_REMOVE_FILE = 0x20 LANDLOCK_ACCESS_FS_WRITE_FILE = 0x2 @@ -1757,6 +2114,7 @@ const ( NLM_F_ACK_TLVS = 0x200 NLM_F_APPEND = 0x800 NLM_F_ATOMIC = 0x400 + NLM_F_BULK = 0x200 NLM_F_CAPPED = 0x100 NLM_F_CREATE = 0x400 NLM_F_DUMP = 0x300 @@ -2074,6 +2432,11 @@ const ( PR_SET_UNALIGN = 0x6 PR_SET_VMA = 0x53564d41 PR_SET_VMA_ANON_NAME = 0x0 + PR_SME_GET_VL = 0x40 + PR_SME_SET_VL = 0x3f + PR_SME_SET_VL_ONEXEC = 0x40000 + PR_SME_VL_INHERIT = 0x20000 + PR_SME_VL_LEN_MASK = 0xffff PR_SPEC_DISABLE = 0x4 PR_SPEC_DISABLE_NOEXEC = 0x10 PR_SPEC_ENABLE = 0x2 @@ -2226,8 +2589,9 @@ const ( RTC_FEATURE_ALARM = 0x0 RTC_FEATURE_ALARM_RES_2S = 0x3 RTC_FEATURE_ALARM_RES_MINUTE = 0x1 + RTC_FEATURE_ALARM_WAKEUP_ONLY = 0x7 RTC_FEATURE_BACKUP_SWITCH_MODE = 0x6 - RTC_FEATURE_CNT = 0x7 + RTC_FEATURE_CNT = 0x8 RTC_FEATURE_CORRECTION = 0x5 RTC_FEATURE_NEED_WEEK_DAY = 0x2 RTC_FEATURE_UPDATE_INTERRUPT = 0x4 @@ -2301,6 +2665,7 @@ const ( RTM_DELRULE = 0x21 RTM_DELTCLASS = 0x29 RTM_DELTFILTER = 0x2d + RTM_DELTUNNEL = 0x79 RTM_DELVLAN = 0x71 RTM_F_CLONED = 0x200 RTM_F_EQUALIZE = 0x400 @@ -2333,8 +2698,9 @@ const ( RTM_GETSTATS = 0x5e RTM_GETTCLASS = 0x2a RTM_GETTFILTER = 0x2e + RTM_GETTUNNEL = 0x7a RTM_GETVLAN = 0x72 - RTM_MAX = 0x77 + RTM_MAX = 0x7b RTM_NEWACTION = 0x30 RTM_NEWADDR = 0x14 RTM_NEWADDRLABEL = 0x48 @@ -2358,11 +2724,13 @@ const ( RTM_NEWSTATS = 0x5c RTM_NEWTCLASS = 0x28 RTM_NEWTFILTER = 0x2c - RTM_NR_FAMILIES = 0x1a - RTM_NR_MSGTYPES = 0x68 + RTM_NEWTUNNEL = 0x78 + RTM_NR_FAMILIES = 0x1b + RTM_NR_MSGTYPES = 0x6c RTM_SETDCB = 0x4f RTM_SETLINK = 0x13 RTM_SETNEIGHTBL = 0x43 + RTM_SETSTATS = 0x5f RTNH_ALIGNTO = 0x4 RTNH_COMPARE_MASK = 0x59 RTNH_F_DEAD = 0x1 @@ -2543,6 +2911,9 @@ const ( SOCK_RDM = 0x4 SOCK_SEQPACKET = 0x5 SOCK_SNDBUF_LOCK = 0x1 + SOCK_TXREHASH_DEFAULT = 0xff + SOCK_TXREHASH_DISABLED = 0x0 + SOCK_TXREHASH_ENABLED = 0x1 SOL_AAL = 0x109 SOL_ALG = 0x117 SOL_ATM = 0x108 @@ -2558,6 +2929,8 @@ const ( SOL_IUCV = 0x115 SOL_KCM = 0x119 SOL_LLC = 0x10c + SOL_MCTP = 0x11d + SOL_MPTCP = 0x11c SOL_NETBEUI = 0x10b SOL_NETLINK = 0x10e SOL_NFC = 0x118 @@ -2567,6 +2940,7 @@ const ( SOL_RAW = 0xff SOL_RDS = 0x114 SOL_RXRPC = 0x110 + SOL_SMC = 0x11e SOL_TCP = 0x6 SOL_TIPC = 0x10f SOL_TLS = 0x11a @@ -2673,7 +3047,7 @@ const ( TASKSTATS_GENL_NAME = "TASKSTATS" TASKSTATS_GENL_VERSION = 0x1 TASKSTATS_TYPE_MAX = 0x6 - TASKSTATS_VERSION = 0xb + TASKSTATS_VERSION = 0xd TCIFLUSH = 0x0 TCIOFF = 0x2 TCIOFLUSH = 0x2 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_386.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_386.go index 234fd4a5d1ad..274e2dabdfed 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_386.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_386.go @@ -5,7 +5,7 @@ // +build 386,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. -// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 /build/unix/_const.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 _const.go package unix @@ -326,6 +326,7 @@ const ( SO_RCVBUF = 0x8 SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x12 + SO_RCVMARK = 0x4b SO_RCVTIMEO = 0x14 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x14 @@ -350,6 +351,7 @@ const ( SO_TIMESTAMPNS_NEW = 0x40 SO_TIMESTAMPNS_OLD = 0x23 SO_TIMESTAMP_NEW = 0x3f + SO_TXREHASH = 0x4a SO_TXTIME = 0x3d SO_TYPE = 0x3 SO_WIFI_STATUS = 0x29 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go index 58619b7589b0..95b6eeedfece 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go @@ -5,7 +5,7 @@ // +build amd64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. -// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 /build/unix/_const.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 _const.go package unix @@ -327,6 +327,7 @@ const ( SO_RCVBUF = 0x8 SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x12 + SO_RCVMARK = 0x4b SO_RCVTIMEO = 0x14 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x14 @@ -351,6 +352,7 @@ const ( SO_TIMESTAMPNS_NEW = 0x40 SO_TIMESTAMPNS_OLD = 0x23 SO_TIMESTAMP_NEW = 0x3f + SO_TXREHASH = 0x4a SO_TXTIME = 0x3d SO_TYPE = 0x3 SO_WIFI_STATUS = 0x29 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go index 3a64ff59dcec..918cd130ec8b 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go @@ -5,7 +5,7 @@ // +build arm,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go package unix @@ -333,6 +333,7 @@ const ( SO_RCVBUF = 0x8 SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x12 + SO_RCVMARK = 0x4b SO_RCVTIMEO = 0x14 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x14 @@ -357,6 +358,7 @@ const ( SO_TIMESTAMPNS_NEW = 0x40 SO_TIMESTAMPNS_OLD = 0x23 SO_TIMESTAMP_NEW = 0x3f + SO_TXREHASH = 0x4a SO_TXTIME = 0x3d SO_TYPE = 0x3 SO_WIFI_STATUS = 0x29 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go index abe0b925789f..3907dc5a90e5 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go @@ -5,7 +5,7 @@ // +build arm64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. -// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/unix/_const.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char _const.go package unix @@ -323,6 +323,7 @@ const ( SO_RCVBUF = 0x8 SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x12 + SO_RCVMARK = 0x4b SO_RCVTIMEO = 0x14 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x14 @@ -347,6 +348,7 @@ const ( SO_TIMESTAMPNS_NEW = 0x40 SO_TIMESTAMPNS_OLD = 0x23 SO_TIMESTAMP_NEW = 0x3f + SO_TXREHASH = 0x4a SO_TXTIME = 0x3d SO_TYPE = 0x3 SO_WIFI_STATUS = 0x29 @@ -511,6 +513,7 @@ const ( WORDSIZE = 0x40 XCASE = 0x4 XTABS = 0x1800 + ZA_MAGIC = 0x54366345 _HIDIOCGRAWNAME = 0x80804804 _HIDIOCGRAWPHYS = 0x80404805 _HIDIOCGRAWUNIQ = 0x80404808 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go new file mode 100644 index 000000000000..03d5c105a385 --- /dev/null +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go @@ -0,0 +1,818 @@ +// mkerrors.sh -Wall -Werror -static -I/tmp/include +// Code generated by the command above; see README.md. DO NOT EDIT. + +//go:build loong64 && linux +// +build loong64,linux + +// Code generated by cmd/cgo -godefs; DO NOT EDIT. +// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go + +package unix + +import "syscall" + +const ( + B1000000 = 0x1008 + B115200 = 0x1002 + B1152000 = 0x1009 + B1500000 = 0x100a + B2000000 = 0x100b + B230400 = 0x1003 + B2500000 = 0x100c + B3000000 = 0x100d + B3500000 = 0x100e + B4000000 = 0x100f + B460800 = 0x1004 + B500000 = 0x1005 + B57600 = 0x1001 + B576000 = 0x1006 + B921600 = 0x1007 + BLKBSZGET = 0x80081270 + BLKBSZSET = 0x40081271 + BLKFLSBUF = 0x1261 + BLKFRAGET = 0x1265 + BLKFRASET = 0x1264 + BLKGETSIZE = 0x1260 + BLKGETSIZE64 = 0x80081272 + BLKPBSZGET = 0x127b + BLKRAGET = 0x1263 + BLKRASET = 0x1262 + BLKROGET = 0x125e + BLKROSET = 0x125d + BLKRRPART = 0x125f + BLKSECTGET = 0x1267 + BLKSECTSET = 0x1266 + BLKSSZGET = 0x1268 + BOTHER = 0x1000 + BS1 = 0x2000 + BSDLY = 0x2000 + CBAUD = 0x100f + CBAUDEX = 0x1000 + CIBAUD = 0x100f0000 + CLOCAL = 0x800 + CR1 = 0x200 + CR2 = 0x400 + CR3 = 0x600 + CRDLY = 0x600 + CREAD = 0x80 + CS6 = 0x10 + CS7 = 0x20 + CS8 = 0x30 + CSIZE = 0x30 + CSTOPB = 0x40 + ECCGETLAYOUT = 0x81484d11 + ECCGETSTATS = 0x80104d12 + ECHOCTL = 0x200 + ECHOE = 0x10 + ECHOK = 0x20 + ECHOKE = 0x800 + ECHONL = 0x40 + ECHOPRT = 0x400 + EFD_CLOEXEC = 0x80000 + EFD_NONBLOCK = 0x800 + EPOLL_CLOEXEC = 0x80000 + EXTPROC = 0x10000 + FF1 = 0x8000 + FFDLY = 0x8000 + FICLONE = 0x40049409 + FICLONERANGE = 0x4020940d + FLUSHO = 0x1000 + FPU_CTX_MAGIC = 0x46505501 + FS_IOC_ENABLE_VERITY = 0x40806685 + FS_IOC_GETFLAGS = 0x80086601 + FS_IOC_GET_ENCRYPTION_NONCE = 0x8010661b + FS_IOC_GET_ENCRYPTION_POLICY = 0x400c6615 + FS_IOC_GET_ENCRYPTION_PWSALT = 0x40106614 + FS_IOC_SETFLAGS = 0x40086602 + FS_IOC_SET_ENCRYPTION_POLICY = 0x800c6613 + F_GETLK = 0x5 + F_GETLK64 = 0x5 + F_GETOWN = 0x9 + F_RDLCK = 0x0 + F_SETLK = 0x6 + F_SETLK64 = 0x6 + F_SETLKW = 0x7 + F_SETLKW64 = 0x7 + F_SETOWN = 0x8 + F_UNLCK = 0x2 + F_WRLCK = 0x1 + HIDIOCGRAWINFO = 0x80084803 + HIDIOCGRDESC = 0x90044802 + HIDIOCGRDESCSIZE = 0x80044801 + HUPCL = 0x400 + ICANON = 0x2 + IEXTEN = 0x8000 + IN_CLOEXEC = 0x80000 + IN_NONBLOCK = 0x800 + IOCTL_VM_SOCKETS_GET_LOCAL_CID = 0x7b9 + ISIG = 0x1 + IUCLC = 0x200 + IXOFF = 0x1000 + IXON = 0x400 + MAP_ANON = 0x20 + MAP_ANONYMOUS = 0x20 + MAP_DENYWRITE = 0x800 + MAP_EXECUTABLE = 0x1000 + MAP_GROWSDOWN = 0x100 + MAP_HUGETLB = 0x40000 + MAP_LOCKED = 0x2000 + MAP_NONBLOCK = 0x10000 + MAP_NORESERVE = 0x4000 + MAP_POPULATE = 0x8000 + MAP_STACK = 0x20000 + MAP_SYNC = 0x80000 + MCL_CURRENT = 0x1 + MCL_FUTURE = 0x2 + MCL_ONFAULT = 0x4 + MEMERASE = 0x40084d02 + MEMERASE64 = 0x40104d14 + MEMGETBADBLOCK = 0x40084d0b + MEMGETINFO = 0x80204d01 + MEMGETOOBSEL = 0x80c84d0a + MEMGETREGIONCOUNT = 0x80044d07 + MEMISLOCKED = 0x80084d17 + MEMLOCK = 0x40084d05 + MEMREADOOB = 0xc0104d04 + MEMSETBADBLOCK = 0x40084d0c + MEMUNLOCK = 0x40084d06 + MEMWRITEOOB = 0xc0104d03 + MTDFILEMODE = 0x4d13 + NFDBITS = 0x40 + NLDLY = 0x100 + NOFLSH = 0x80 + NS_GET_NSTYPE = 0xb703 + NS_GET_OWNER_UID = 0xb704 + NS_GET_PARENT = 0xb702 + NS_GET_USERNS = 0xb701 + OLCUC = 0x2 + ONLCR = 0x4 + OTPERASE = 0x400c4d19 + OTPGETREGIONCOUNT = 0x40044d0e + OTPGETREGIONINFO = 0x400c4d0f + OTPLOCK = 0x800c4d10 + OTPSELECT = 0x80044d0d + O_APPEND = 0x400 + O_ASYNC = 0x2000 + O_CLOEXEC = 0x80000 + O_CREAT = 0x40 + O_DIRECT = 0x4000 + O_DIRECTORY = 0x10000 + O_DSYNC = 0x1000 + O_EXCL = 0x80 + O_FSYNC = 0x101000 + O_LARGEFILE = 0x0 + O_NDELAY = 0x800 + O_NOATIME = 0x40000 + O_NOCTTY = 0x100 + O_NOFOLLOW = 0x20000 + O_NONBLOCK = 0x800 + O_PATH = 0x200000 + O_RSYNC = 0x101000 + O_SYNC = 0x101000 + O_TMPFILE = 0x410000 + O_TRUNC = 0x200 + PARENB = 0x100 + PARODD = 0x200 + PENDIN = 0x4000 + PERF_EVENT_IOC_DISABLE = 0x2401 + PERF_EVENT_IOC_ENABLE = 0x2400 + PERF_EVENT_IOC_ID = 0x80082407 + PERF_EVENT_IOC_MODIFY_ATTRIBUTES = 0x4008240b + PERF_EVENT_IOC_PAUSE_OUTPUT = 0x40042409 + PERF_EVENT_IOC_PERIOD = 0x40082404 + PERF_EVENT_IOC_QUERY_BPF = 0xc008240a + PERF_EVENT_IOC_REFRESH = 0x2402 + PERF_EVENT_IOC_RESET = 0x2403 + PERF_EVENT_IOC_SET_BPF = 0x40042408 + PERF_EVENT_IOC_SET_FILTER = 0x40082406 + PERF_EVENT_IOC_SET_OUTPUT = 0x2405 + PPPIOCATTACH = 0x4004743d + PPPIOCATTCHAN = 0x40047438 + PPPIOCBRIDGECHAN = 0x40047435 + PPPIOCCONNECT = 0x4004743a + PPPIOCDETACH = 0x4004743c + PPPIOCDISCONN = 0x7439 + PPPIOCGASYNCMAP = 0x80047458 + PPPIOCGCHAN = 0x80047437 + PPPIOCGDEBUG = 0x80047441 + PPPIOCGFLAGS = 0x8004745a + PPPIOCGIDLE = 0x8010743f + PPPIOCGIDLE32 = 0x8008743f + PPPIOCGIDLE64 = 0x8010743f + PPPIOCGL2TPSTATS = 0x80487436 + PPPIOCGMRU = 0x80047453 + PPPIOCGRASYNCMAP = 0x80047455 + PPPIOCGUNIT = 0x80047456 + PPPIOCGXASYNCMAP = 0x80207450 + PPPIOCSACTIVE = 0x40107446 + PPPIOCSASYNCMAP = 0x40047457 + PPPIOCSCOMPRESS = 0x4010744d + PPPIOCSDEBUG = 0x40047440 + PPPIOCSFLAGS = 0x40047459 + PPPIOCSMAXCID = 0x40047451 + PPPIOCSMRRU = 0x4004743b + PPPIOCSMRU = 0x40047452 + PPPIOCSNPMODE = 0x4008744b + PPPIOCSPASS = 0x40107447 + PPPIOCSRASYNCMAP = 0x40047454 + PPPIOCSXASYNCMAP = 0x4020744f + PPPIOCUNBRIDGECHAN = 0x7434 + PPPIOCXFERUNIT = 0x744e + PR_SET_PTRACER_ANY = 0xffffffffffffffff + PTRACE_SYSEMU = 0x1f + PTRACE_SYSEMU_SINGLESTEP = 0x20 + RLIMIT_AS = 0x9 + RLIMIT_MEMLOCK = 0x8 + RLIMIT_NOFILE = 0x7 + RLIMIT_NPROC = 0x6 + RLIMIT_RSS = 0x5 + RNDADDENTROPY = 0x40085203 + RNDADDTOENTCNT = 0x40045201 + RNDCLEARPOOL = 0x5206 + RNDGETENTCNT = 0x80045200 + RNDGETPOOL = 0x80085202 + RNDRESEEDCRNG = 0x5207 + RNDZAPENTCNT = 0x5204 + RTC_AIE_OFF = 0x7002 + RTC_AIE_ON = 0x7001 + RTC_ALM_READ = 0x80247008 + RTC_ALM_SET = 0x40247007 + RTC_EPOCH_READ = 0x8008700d + RTC_EPOCH_SET = 0x4008700e + RTC_IRQP_READ = 0x8008700b + RTC_IRQP_SET = 0x4008700c + RTC_PARAM_GET = 0x40187013 + RTC_PARAM_SET = 0x40187014 + RTC_PIE_OFF = 0x7006 + RTC_PIE_ON = 0x7005 + RTC_PLL_GET = 0x80207011 + RTC_PLL_SET = 0x40207012 + RTC_RD_TIME = 0x80247009 + RTC_SET_TIME = 0x4024700a + RTC_UIE_OFF = 0x7004 + RTC_UIE_ON = 0x7003 + RTC_VL_CLR = 0x7014 + RTC_VL_READ = 0x80047013 + RTC_WIE_OFF = 0x7010 + RTC_WIE_ON = 0x700f + RTC_WKALM_RD = 0x80287010 + RTC_WKALM_SET = 0x4028700f + SCM_TIMESTAMPING = 0x25 + SCM_TIMESTAMPING_OPT_STATS = 0x36 + SCM_TIMESTAMPING_PKTINFO = 0x3a + SCM_TIMESTAMPNS = 0x23 + SCM_TXTIME = 0x3d + SCM_WIFI_STATUS = 0x29 + SFD_CLOEXEC = 0x80000 + SFD_NONBLOCK = 0x800 + SIOCATMARK = 0x8905 + SIOCGPGRP = 0x8904 + SIOCGSTAMPNS_NEW = 0x80108907 + SIOCGSTAMP_NEW = 0x80108906 + SIOCINQ = 0x541b + SIOCOUTQ = 0x5411 + SIOCSPGRP = 0x8902 + SOCK_CLOEXEC = 0x80000 + SOCK_DGRAM = 0x2 + SOCK_NONBLOCK = 0x800 + SOCK_STREAM = 0x1 + SOL_SOCKET = 0x1 + SO_ACCEPTCONN = 0x1e + SO_ATTACH_BPF = 0x32 + SO_ATTACH_REUSEPORT_CBPF = 0x33 + SO_ATTACH_REUSEPORT_EBPF = 0x34 + SO_BINDTODEVICE = 0x19 + SO_BINDTOIFINDEX = 0x3e + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x6 + SO_BSDCOMPAT = 0xe + SO_BUF_LOCK = 0x48 + SO_BUSY_POLL = 0x2e + SO_BUSY_POLL_BUDGET = 0x46 + SO_CNX_ADVICE = 0x35 + SO_COOKIE = 0x39 + SO_DETACH_REUSEPORT_BPF = 0x44 + SO_DOMAIN = 0x27 + SO_DONTROUTE = 0x5 + SO_ERROR = 0x4 + SO_INCOMING_CPU = 0x31 + SO_INCOMING_NAPI_ID = 0x38 + SO_KEEPALIVE = 0x9 + SO_LINGER = 0xd + SO_LOCK_FILTER = 0x2c + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_MEMINFO = 0x37 + SO_NETNS_COOKIE = 0x47 + SO_NOFCS = 0x2b + SO_OOBINLINE = 0xa + SO_PASSCRED = 0x10 + SO_PASSSEC = 0x22 + SO_PEEK_OFF = 0x2a + SO_PEERCRED = 0x11 + SO_PEERGROUPS = 0x3b + SO_PEERSEC = 0x1f + SO_PREFER_BUSY_POLL = 0x45 + SO_PROTOCOL = 0x26 + SO_RCVBUF = 0x8 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x12 + SO_RCVMARK = 0x4b + SO_RCVTIMEO = 0x14 + SO_RCVTIMEO_NEW = 0x42 + SO_RCVTIMEO_OLD = 0x14 + SO_RESERVE_MEM = 0x49 + SO_REUSEADDR = 0x2 + SO_REUSEPORT = 0xf + SO_RXQ_OVFL = 0x28 + SO_SECURITY_AUTHENTICATION = 0x16 + SO_SECURITY_ENCRYPTION_NETWORK = 0x18 + SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17 + SO_SELECT_ERR_QUEUE = 0x2d + SO_SNDBUF = 0x7 + SO_SNDBUFFORCE = 0x20 + SO_SNDLOWAT = 0x13 + SO_SNDTIMEO = 0x15 + SO_SNDTIMEO_NEW = 0x43 + SO_SNDTIMEO_OLD = 0x15 + SO_TIMESTAMPING = 0x25 + SO_TIMESTAMPING_NEW = 0x41 + SO_TIMESTAMPING_OLD = 0x25 + SO_TIMESTAMPNS = 0x23 + SO_TIMESTAMPNS_NEW = 0x40 + SO_TIMESTAMPNS_OLD = 0x23 + SO_TIMESTAMP_NEW = 0x3f + SO_TXREHASH = 0x4a + SO_TXTIME = 0x3d + SO_TYPE = 0x3 + SO_WIFI_STATUS = 0x29 + SO_ZEROCOPY = 0x3c + TAB1 = 0x800 + TAB2 = 0x1000 + TAB3 = 0x1800 + TABDLY = 0x1800 + TCFLSH = 0x540b + TCGETA = 0x5405 + TCGETS = 0x5401 + TCGETS2 = 0x802c542a + TCGETX = 0x5432 + TCSAFLUSH = 0x2 + TCSBRK = 0x5409 + TCSBRKP = 0x5425 + TCSETA = 0x5406 + TCSETAF = 0x5408 + TCSETAW = 0x5407 + TCSETS = 0x5402 + TCSETS2 = 0x402c542b + TCSETSF = 0x5404 + TCSETSF2 = 0x402c542d + TCSETSW = 0x5403 + TCSETSW2 = 0x402c542c + TCSETX = 0x5433 + TCSETXF = 0x5434 + TCSETXW = 0x5435 + TCXONC = 0x540a + TFD_CLOEXEC = 0x80000 + TFD_NONBLOCK = 0x800 + TIOCCBRK = 0x5428 + TIOCCONS = 0x541d + TIOCEXCL = 0x540c + TIOCGDEV = 0x80045432 + TIOCGETD = 0x5424 + TIOCGEXCL = 0x80045440 + TIOCGICOUNT = 0x545d + TIOCGISO7816 = 0x80285442 + TIOCGLCKTRMIOS = 0x5456 + TIOCGPGRP = 0x540f + TIOCGPKT = 0x80045438 + TIOCGPTLCK = 0x80045439 + TIOCGPTN = 0x80045430 + TIOCGPTPEER = 0x5441 + TIOCGRS485 = 0x542e + TIOCGSERIAL = 0x541e + TIOCGSID = 0x5429 + TIOCGSOFTCAR = 0x5419 + TIOCGWINSZ = 0x5413 + TIOCINQ = 0x541b + TIOCLINUX = 0x541c + TIOCMBIC = 0x5417 + TIOCMBIS = 0x5416 + TIOCMGET = 0x5415 + TIOCMIWAIT = 0x545c + TIOCMSET = 0x5418 + TIOCM_CAR = 0x40 + TIOCM_CD = 0x40 + TIOCM_CTS = 0x20 + TIOCM_DSR = 0x100 + TIOCM_RI = 0x80 + TIOCM_RNG = 0x80 + TIOCM_SR = 0x10 + TIOCM_ST = 0x8 + TIOCNOTTY = 0x5422 + TIOCNXCL = 0x540d + TIOCOUTQ = 0x5411 + TIOCPKT = 0x5420 + TIOCSBRK = 0x5427 + TIOCSCTTY = 0x540e + TIOCSERCONFIG = 0x5453 + TIOCSERGETLSR = 0x5459 + TIOCSERGETMULTI = 0x545a + TIOCSERGSTRUCT = 0x5458 + TIOCSERGWILD = 0x5454 + TIOCSERSETMULTI = 0x545b + TIOCSERSWILD = 0x5455 + TIOCSER_TEMT = 0x1 + TIOCSETD = 0x5423 + TIOCSIG = 0x40045436 + TIOCSISO7816 = 0xc0285443 + TIOCSLCKTRMIOS = 0x5457 + TIOCSPGRP = 0x5410 + TIOCSPTLCK = 0x40045431 + TIOCSRS485 = 0x542f + TIOCSSERIAL = 0x541f + TIOCSSOFTCAR = 0x541a + TIOCSTI = 0x5412 + TIOCSWINSZ = 0x5414 + TIOCVHANGUP = 0x5437 + TOSTOP = 0x100 + TUNATTACHFILTER = 0x401054d5 + TUNDETACHFILTER = 0x401054d6 + TUNGETDEVNETNS = 0x54e3 + TUNGETFEATURES = 0x800454cf + TUNGETFILTER = 0x801054db + TUNGETIFF = 0x800454d2 + TUNGETSNDBUF = 0x800454d3 + TUNGETVNETBE = 0x800454df + TUNGETVNETHDRSZ = 0x800454d7 + TUNGETVNETLE = 0x800454dd + TUNSETCARRIER = 0x400454e2 + TUNSETDEBUG = 0x400454c9 + TUNSETFILTEREBPF = 0x800454e1 + TUNSETGROUP = 0x400454ce + TUNSETIFF = 0x400454ca + TUNSETIFINDEX = 0x400454da + TUNSETLINK = 0x400454cd + TUNSETNOCSUM = 0x400454c8 + TUNSETOFFLOAD = 0x400454d0 + TUNSETOWNER = 0x400454cc + TUNSETPERSIST = 0x400454cb + TUNSETQUEUE = 0x400454d9 + TUNSETSNDBUF = 0x400454d4 + TUNSETSTEERINGEBPF = 0x800454e0 + TUNSETTXFILTER = 0x400454d1 + TUNSETVNETBE = 0x400454de + TUNSETVNETHDRSZ = 0x400454d8 + TUNSETVNETLE = 0x400454dc + UBI_IOCATT = 0x40186f40 + UBI_IOCDET = 0x40046f41 + UBI_IOCEBCH = 0x40044f02 + UBI_IOCEBER = 0x40044f01 + UBI_IOCEBISMAP = 0x80044f05 + UBI_IOCEBMAP = 0x40084f03 + UBI_IOCEBUNMAP = 0x40044f04 + UBI_IOCMKVOL = 0x40986f00 + UBI_IOCRMVOL = 0x40046f01 + UBI_IOCRNVOL = 0x51106f03 + UBI_IOCRPEB = 0x40046f04 + UBI_IOCRSVOL = 0x400c6f02 + UBI_IOCSETVOLPROP = 0x40104f06 + UBI_IOCSPEB = 0x40046f05 + UBI_IOCVOLCRBLK = 0x40804f07 + UBI_IOCVOLRMBLK = 0x4f08 + UBI_IOCVOLUP = 0x40084f00 + VDISCARD = 0xd + VEOF = 0x4 + VEOL = 0xb + VEOL2 = 0x10 + VMIN = 0x6 + VREPRINT = 0xc + VSTART = 0x8 + VSTOP = 0x9 + VSUSP = 0xa + VSWTC = 0x7 + VT1 = 0x4000 + VTDLY = 0x4000 + VTIME = 0x5 + VWERASE = 0xe + WDIOC_GETBOOTSTATUS = 0x80045702 + WDIOC_GETPRETIMEOUT = 0x80045709 + WDIOC_GETSTATUS = 0x80045701 + WDIOC_GETSUPPORT = 0x80285700 + WDIOC_GETTEMP = 0x80045703 + WDIOC_GETTIMELEFT = 0x8004570a + WDIOC_GETTIMEOUT = 0x80045707 + WDIOC_KEEPALIVE = 0x80045705 + WDIOC_SETOPTIONS = 0x80045704 + WORDSIZE = 0x40 + XCASE = 0x4 + XTABS = 0x1800 + _HIDIOCGRAWNAME = 0x80804804 + _HIDIOCGRAWPHYS = 0x80404805 + _HIDIOCGRAWUNIQ = 0x80404808 +) + +// Errors +const ( + EADDRINUSE = syscall.Errno(0x62) + EADDRNOTAVAIL = syscall.Errno(0x63) + EADV = syscall.Errno(0x44) + EAFNOSUPPORT = syscall.Errno(0x61) + EALREADY = syscall.Errno(0x72) + EBADE = syscall.Errno(0x34) + EBADFD = syscall.Errno(0x4d) + EBADMSG = syscall.Errno(0x4a) + EBADR = syscall.Errno(0x35) + EBADRQC = syscall.Errno(0x38) + EBADSLT = syscall.Errno(0x39) + EBFONT = syscall.Errno(0x3b) + ECANCELED = syscall.Errno(0x7d) + ECHRNG = syscall.Errno(0x2c) + ECOMM = syscall.Errno(0x46) + ECONNABORTED = syscall.Errno(0x67) + ECONNREFUSED = syscall.Errno(0x6f) + ECONNRESET = syscall.Errno(0x68) + EDEADLK = syscall.Errno(0x23) + EDEADLOCK = syscall.Errno(0x23) + EDESTADDRREQ = syscall.Errno(0x59) + EDOTDOT = syscall.Errno(0x49) + EDQUOT = syscall.Errno(0x7a) + EHOSTDOWN = syscall.Errno(0x70) + EHOSTUNREACH = syscall.Errno(0x71) + EHWPOISON = syscall.Errno(0x85) + EIDRM = syscall.Errno(0x2b) + EILSEQ = syscall.Errno(0x54) + EINPROGRESS = syscall.Errno(0x73) + EISCONN = syscall.Errno(0x6a) + EISNAM = syscall.Errno(0x78) + EKEYEXPIRED = syscall.Errno(0x7f) + EKEYREJECTED = syscall.Errno(0x81) + EKEYREVOKED = syscall.Errno(0x80) + EL2HLT = syscall.Errno(0x33) + EL2NSYNC = syscall.Errno(0x2d) + EL3HLT = syscall.Errno(0x2e) + EL3RST = syscall.Errno(0x2f) + ELIBACC = syscall.Errno(0x4f) + ELIBBAD = syscall.Errno(0x50) + ELIBEXEC = syscall.Errno(0x53) + ELIBMAX = syscall.Errno(0x52) + ELIBSCN = syscall.Errno(0x51) + ELNRNG = syscall.Errno(0x30) + ELOOP = syscall.Errno(0x28) + EMEDIUMTYPE = syscall.Errno(0x7c) + EMSGSIZE = syscall.Errno(0x5a) + EMULTIHOP = syscall.Errno(0x48) + ENAMETOOLONG = syscall.Errno(0x24) + ENAVAIL = syscall.Errno(0x77) + ENETDOWN = syscall.Errno(0x64) + ENETRESET = syscall.Errno(0x66) + ENETUNREACH = syscall.Errno(0x65) + ENOANO = syscall.Errno(0x37) + ENOBUFS = syscall.Errno(0x69) + ENOCSI = syscall.Errno(0x32) + ENODATA = syscall.Errno(0x3d) + ENOKEY = syscall.Errno(0x7e) + ENOLCK = syscall.Errno(0x25) + ENOLINK = syscall.Errno(0x43) + ENOMEDIUM = syscall.Errno(0x7b) + ENOMSG = syscall.Errno(0x2a) + ENONET = syscall.Errno(0x40) + ENOPKG = syscall.Errno(0x41) + ENOPROTOOPT = syscall.Errno(0x5c) + ENOSR = syscall.Errno(0x3f) + ENOSTR = syscall.Errno(0x3c) + ENOSYS = syscall.Errno(0x26) + ENOTCONN = syscall.Errno(0x6b) + ENOTEMPTY = syscall.Errno(0x27) + ENOTNAM = syscall.Errno(0x76) + ENOTRECOVERABLE = syscall.Errno(0x83) + ENOTSOCK = syscall.Errno(0x58) + ENOTSUP = syscall.Errno(0x5f) + ENOTUNIQ = syscall.Errno(0x4c) + EOPNOTSUPP = syscall.Errno(0x5f) + EOVERFLOW = syscall.Errno(0x4b) + EOWNERDEAD = syscall.Errno(0x82) + EPFNOSUPPORT = syscall.Errno(0x60) + EPROTO = syscall.Errno(0x47) + EPROTONOSUPPORT = syscall.Errno(0x5d) + EPROTOTYPE = syscall.Errno(0x5b) + EREMCHG = syscall.Errno(0x4e) + EREMOTE = syscall.Errno(0x42) + EREMOTEIO = syscall.Errno(0x79) + ERESTART = syscall.Errno(0x55) + ERFKILL = syscall.Errno(0x84) + ESHUTDOWN = syscall.Errno(0x6c) + ESOCKTNOSUPPORT = syscall.Errno(0x5e) + ESRMNT = syscall.Errno(0x45) + ESTALE = syscall.Errno(0x74) + ESTRPIPE = syscall.Errno(0x56) + ETIME = syscall.Errno(0x3e) + ETIMEDOUT = syscall.Errno(0x6e) + ETOOMANYREFS = syscall.Errno(0x6d) + EUCLEAN = syscall.Errno(0x75) + EUNATCH = syscall.Errno(0x31) + EUSERS = syscall.Errno(0x57) + EXFULL = syscall.Errno(0x36) +) + +// Signals +const ( + SIGBUS = syscall.Signal(0x7) + SIGCHLD = syscall.Signal(0x11) + SIGCLD = syscall.Signal(0x11) + SIGCONT = syscall.Signal(0x12) + SIGIO = syscall.Signal(0x1d) + SIGPOLL = syscall.Signal(0x1d) + SIGPROF = syscall.Signal(0x1b) + SIGPWR = syscall.Signal(0x1e) + SIGSTKFLT = syscall.Signal(0x10) + SIGSTOP = syscall.Signal(0x13) + SIGSYS = syscall.Signal(0x1f) + SIGTSTP = syscall.Signal(0x14) + SIGTTIN = syscall.Signal(0x15) + SIGTTOU = syscall.Signal(0x16) + SIGURG = syscall.Signal(0x17) + SIGUSR1 = syscall.Signal(0xa) + SIGUSR2 = syscall.Signal(0xc) + SIGVTALRM = syscall.Signal(0x1a) + SIGWINCH = syscall.Signal(0x1c) + SIGXCPU = syscall.Signal(0x18) + SIGXFSZ = syscall.Signal(0x19) +) + +// Error table +var errorList = [...]struct { + num syscall.Errno + name string + desc string +}{ + {1, "EPERM", "operation not permitted"}, + {2, "ENOENT", "no such file or directory"}, + {3, "ESRCH", "no such process"}, + {4, "EINTR", "interrupted system call"}, + {5, "EIO", "input/output error"}, + {6, "ENXIO", "no such device or address"}, + {7, "E2BIG", "argument list too long"}, + {8, "ENOEXEC", "exec format error"}, + {9, "EBADF", "bad file descriptor"}, + {10, "ECHILD", "no child processes"}, + {11, "EAGAIN", "resource temporarily unavailable"}, + {12, "ENOMEM", "cannot allocate memory"}, + {13, "EACCES", "permission denied"}, + {14, "EFAULT", "bad address"}, + {15, "ENOTBLK", "block device required"}, + {16, "EBUSY", "device or resource busy"}, + {17, "EEXIST", "file exists"}, + {18, "EXDEV", "invalid cross-device link"}, + {19, "ENODEV", "no such device"}, + {20, "ENOTDIR", "not a directory"}, + {21, "EISDIR", "is a directory"}, + {22, "EINVAL", "invalid argument"}, + {23, "ENFILE", "too many open files in system"}, + {24, "EMFILE", "too many open files"}, + {25, "ENOTTY", "inappropriate ioctl for device"}, + {26, "ETXTBSY", "text file busy"}, + {27, "EFBIG", "file too large"}, + {28, "ENOSPC", "no space left on device"}, + {29, "ESPIPE", "illegal seek"}, + {30, "EROFS", "read-only file system"}, + {31, "EMLINK", "too many links"}, + {32, "EPIPE", "broken pipe"}, + {33, "EDOM", "numerical argument out of domain"}, + {34, "ERANGE", "numerical result out of range"}, + {35, "EDEADLK", "resource deadlock avoided"}, + {36, "ENAMETOOLONG", "file name too long"}, + {37, "ENOLCK", "no locks available"}, + {38, "ENOSYS", "function not implemented"}, + {39, "ENOTEMPTY", "directory not empty"}, + {40, "ELOOP", "too many levels of symbolic links"}, + {42, "ENOMSG", "no message of desired type"}, + {43, "EIDRM", "identifier removed"}, + {44, "ECHRNG", "channel number out of range"}, + {45, "EL2NSYNC", "level 2 not synchronized"}, + {46, "EL3HLT", "level 3 halted"}, + {47, "EL3RST", "level 3 reset"}, + {48, "ELNRNG", "link number out of range"}, + {49, "EUNATCH", "protocol driver not attached"}, + {50, "ENOCSI", "no CSI structure available"}, + {51, "EL2HLT", "level 2 halted"}, + {52, "EBADE", "invalid exchange"}, + {53, "EBADR", "invalid request descriptor"}, + {54, "EXFULL", "exchange full"}, + {55, "ENOANO", "no anode"}, + {56, "EBADRQC", "invalid request code"}, + {57, "EBADSLT", "invalid slot"}, + {59, "EBFONT", "bad font file format"}, + {60, "ENOSTR", "device not a stream"}, + {61, "ENODATA", "no data available"}, + {62, "ETIME", "timer expired"}, + {63, "ENOSR", "out of streams resources"}, + {64, "ENONET", "machine is not on the network"}, + {65, "ENOPKG", "package not installed"}, + {66, "EREMOTE", "object is remote"}, + {67, "ENOLINK", "link has been severed"}, + {68, "EADV", "advertise error"}, + {69, "ESRMNT", "srmount error"}, + {70, "ECOMM", "communication error on send"}, + {71, "EPROTO", "protocol error"}, + {72, "EMULTIHOP", "multihop attempted"}, + {73, "EDOTDOT", "RFS specific error"}, + {74, "EBADMSG", "bad message"}, + {75, "EOVERFLOW", "value too large for defined data type"}, + {76, "ENOTUNIQ", "name not unique on network"}, + {77, "EBADFD", "file descriptor in bad state"}, + {78, "EREMCHG", "remote address changed"}, + {79, "ELIBACC", "can not access a needed shared library"}, + {80, "ELIBBAD", "accessing a corrupted shared library"}, + {81, "ELIBSCN", ".lib section in a.out corrupted"}, + {82, "ELIBMAX", "attempting to link in too many shared libraries"}, + {83, "ELIBEXEC", "cannot exec a shared library directly"}, + {84, "EILSEQ", "invalid or incomplete multibyte or wide character"}, + {85, "ERESTART", "interrupted system call should be restarted"}, + {86, "ESTRPIPE", "streams pipe error"}, + {87, "EUSERS", "too many users"}, + {88, "ENOTSOCK", "socket operation on non-socket"}, + {89, "EDESTADDRREQ", "destination address required"}, + {90, "EMSGSIZE", "message too long"}, + {91, "EPROTOTYPE", "protocol wrong type for socket"}, + {92, "ENOPROTOOPT", "protocol not available"}, + {93, "EPROTONOSUPPORT", "protocol not supported"}, + {94, "ESOCKTNOSUPPORT", "socket type not supported"}, + {95, "ENOTSUP", "operation not supported"}, + {96, "EPFNOSUPPORT", "protocol family not supported"}, + {97, "EAFNOSUPPORT", "address family not supported by protocol"}, + {98, "EADDRINUSE", "address already in use"}, + {99, "EADDRNOTAVAIL", "cannot assign requested address"}, + {100, "ENETDOWN", "network is down"}, + {101, "ENETUNREACH", "network is unreachable"}, + {102, "ENETRESET", "network dropped connection on reset"}, + {103, "ECONNABORTED", "software caused connection abort"}, + {104, "ECONNRESET", "connection reset by peer"}, + {105, "ENOBUFS", "no buffer space available"}, + {106, "EISCONN", "transport endpoint is already connected"}, + {107, "ENOTCONN", "transport endpoint is not connected"}, + {108, "ESHUTDOWN", "cannot send after transport endpoint shutdown"}, + {109, "ETOOMANYREFS", "too many references: cannot splice"}, + {110, "ETIMEDOUT", "connection timed out"}, + {111, "ECONNREFUSED", "connection refused"}, + {112, "EHOSTDOWN", "host is down"}, + {113, "EHOSTUNREACH", "no route to host"}, + {114, "EALREADY", "operation already in progress"}, + {115, "EINPROGRESS", "operation now in progress"}, + {116, "ESTALE", "stale file handle"}, + {117, "EUCLEAN", "structure needs cleaning"}, + {118, "ENOTNAM", "not a XENIX named type file"}, + {119, "ENAVAIL", "no XENIX semaphores available"}, + {120, "EISNAM", "is a named type file"}, + {121, "EREMOTEIO", "remote I/O error"}, + {122, "EDQUOT", "disk quota exceeded"}, + {123, "ENOMEDIUM", "no medium found"}, + {124, "EMEDIUMTYPE", "wrong medium type"}, + {125, "ECANCELED", "operation canceled"}, + {126, "ENOKEY", "required key not available"}, + {127, "EKEYEXPIRED", "key has expired"}, + {128, "EKEYREVOKED", "key has been revoked"}, + {129, "EKEYREJECTED", "key was rejected by service"}, + {130, "EOWNERDEAD", "owner died"}, + {131, "ENOTRECOVERABLE", "state not recoverable"}, + {132, "ERFKILL", "operation not possible due to RF-kill"}, + {133, "EHWPOISON", "memory page has hardware error"}, +} + +// Signal table +var signalList = [...]struct { + num syscall.Signal + name string + desc string +}{ + {1, "SIGHUP", "hangup"}, + {2, "SIGINT", "interrupt"}, + {3, "SIGQUIT", "quit"}, + {4, "SIGILL", "illegal instruction"}, + {5, "SIGTRAP", "trace/breakpoint trap"}, + {6, "SIGABRT", "aborted"}, + {7, "SIGBUS", "bus error"}, + {8, "SIGFPE", "floating point exception"}, + {9, "SIGKILL", "killed"}, + {10, "SIGUSR1", "user defined signal 1"}, + {11, "SIGSEGV", "segmentation fault"}, + {12, "SIGUSR2", "user defined signal 2"}, + {13, "SIGPIPE", "broken pipe"}, + {14, "SIGALRM", "alarm clock"}, + {15, "SIGTERM", "terminated"}, + {16, "SIGSTKFLT", "stack fault"}, + {17, "SIGCHLD", "child exited"}, + {18, "SIGCONT", "continued"}, + {19, "SIGSTOP", "stopped (signal)"}, + {20, "SIGTSTP", "stopped"}, + {21, "SIGTTIN", "stopped (tty input)"}, + {22, "SIGTTOU", "stopped (tty output)"}, + {23, "SIGURG", "urgent I/O condition"}, + {24, "SIGXCPU", "CPU time limit exceeded"}, + {25, "SIGXFSZ", "file size limit exceeded"}, + {26, "SIGVTALRM", "virtual timer expired"}, + {27, "SIGPROF", "profiling timer expired"}, + {28, "SIGWINCH", "window changed"}, + {29, "SIGIO", "I/O possible"}, + {30, "SIGPWR", "power failure"}, + {31, "SIGSYS", "bad system call"}, +} diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go index 14d7a84399de..bd794e0108eb 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go @@ -5,7 +5,7 @@ // +build mips,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go package unix @@ -326,6 +326,7 @@ const ( SO_RCVBUF = 0x1002 SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x1004 + SO_RCVMARK = 0x4b SO_RCVTIMEO = 0x1006 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x1006 @@ -351,6 +352,7 @@ const ( SO_TIMESTAMPNS_NEW = 0x40 SO_TIMESTAMPNS_OLD = 0x23 SO_TIMESTAMP_NEW = 0x3f + SO_TXREHASH = 0x4a SO_TXTIME = 0x3d SO_TYPE = 0x1008 SO_WIFI_STATUS = 0x29 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go index 99e7c4ac0b45..6c741b054765 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go @@ -5,7 +5,7 @@ // +build mips64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go package unix @@ -326,6 +326,7 @@ const ( SO_RCVBUF = 0x1002 SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x1004 + SO_RCVMARK = 0x4b SO_RCVTIMEO = 0x1006 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x1006 @@ -351,6 +352,7 @@ const ( SO_TIMESTAMPNS_NEW = 0x40 SO_TIMESTAMPNS_OLD = 0x23 SO_TIMESTAMP_NEW = 0x3f + SO_TXREHASH = 0x4a SO_TXTIME = 0x3d SO_TYPE = 0x1008 SO_WIFI_STATUS = 0x29 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go index 496364c33cc6..807b8cd2a8d3 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go @@ -5,7 +5,7 @@ // +build mips64le,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go package unix @@ -326,6 +326,7 @@ const ( SO_RCVBUF = 0x1002 SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x1004 + SO_RCVMARK = 0x4b SO_RCVTIMEO = 0x1006 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x1006 @@ -351,6 +352,7 @@ const ( SO_TIMESTAMPNS_NEW = 0x40 SO_TIMESTAMPNS_OLD = 0x23 SO_TIMESTAMP_NEW = 0x3f + SO_TXREHASH = 0x4a SO_TXTIME = 0x3d SO_TYPE = 0x1008 SO_WIFI_STATUS = 0x29 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go index 3e40830857dd..a39e4f5c206d 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go @@ -5,7 +5,7 @@ // +build mipsle,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go package unix @@ -326,6 +326,7 @@ const ( SO_RCVBUF = 0x1002 SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x1004 + SO_RCVMARK = 0x4b SO_RCVTIMEO = 0x1006 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x1006 @@ -351,6 +352,7 @@ const ( SO_TIMESTAMPNS_NEW = 0x40 SO_TIMESTAMPNS_OLD = 0x23 SO_TIMESTAMP_NEW = 0x3f + SO_TXREHASH = 0x4a SO_TXTIME = 0x3d SO_TYPE = 0x1008 SO_WIFI_STATUS = 0x29 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go index 1151a7dfab33..c0fcda86b4ce 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go @@ -5,7 +5,7 @@ // +build ppc,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go package unix @@ -381,6 +381,7 @@ const ( SO_RCVBUF = 0x8 SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x10 + SO_RCVMARK = 0x4b SO_RCVTIMEO = 0x12 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x12 @@ -405,6 +406,7 @@ const ( SO_TIMESTAMPNS_NEW = 0x40 SO_TIMESTAMPNS_OLD = 0x23 SO_TIMESTAMP_NEW = 0x3f + SO_TXREHASH = 0x4a SO_TXTIME = 0x3d SO_TYPE = 0x3 SO_WIFI_STATUS = 0x29 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go index ed17f249e758..f3b72407aa66 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go @@ -5,7 +5,7 @@ // +build ppc64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go package unix @@ -385,6 +385,7 @@ const ( SO_RCVBUF = 0x8 SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x10 + SO_RCVMARK = 0x4b SO_RCVTIMEO = 0x12 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x12 @@ -409,6 +410,7 @@ const ( SO_TIMESTAMPNS_NEW = 0x40 SO_TIMESTAMPNS_OLD = 0x23 SO_TIMESTAMP_NEW = 0x3f + SO_TXREHASH = 0x4a SO_TXTIME = 0x3d SO_TYPE = 0x3 SO_WIFI_STATUS = 0x29 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go index d84a37c1ac23..72f2a45d5038 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go @@ -5,7 +5,7 @@ // +build ppc64le,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go package unix @@ -385,6 +385,7 @@ const ( SO_RCVBUF = 0x8 SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x10 + SO_RCVMARK = 0x4b SO_RCVTIMEO = 0x12 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x12 @@ -409,6 +410,7 @@ const ( SO_TIMESTAMPNS_NEW = 0x40 SO_TIMESTAMPNS_OLD = 0x23 SO_TIMESTAMP_NEW = 0x3f + SO_TXREHASH = 0x4a SO_TXTIME = 0x3d SO_TYPE = 0x3 SO_WIFI_STATUS = 0x29 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go index 5cafba83f6b4..45b214b4d3a8 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go @@ -5,7 +5,7 @@ // +build riscv64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go package unix @@ -314,6 +314,7 @@ const ( SO_RCVBUF = 0x8 SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x12 + SO_RCVMARK = 0x4b SO_RCVTIMEO = 0x14 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x14 @@ -338,6 +339,7 @@ const ( SO_TIMESTAMPNS_NEW = 0x40 SO_TIMESTAMPNS_OLD = 0x23 SO_TIMESTAMP_NEW = 0x3f + SO_TXREHASH = 0x4a SO_TXTIME = 0x3d SO_TYPE = 0x3 SO_WIFI_STATUS = 0x29 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go index 6d122da41c53..1897f207bb38 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go @@ -5,7 +5,7 @@ // +build s390x,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. -// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/unix/_const.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char _const.go package unix @@ -389,6 +389,7 @@ const ( SO_RCVBUF = 0x8 SO_RCVBUFFORCE = 0x21 SO_RCVLOWAT = 0x12 + SO_RCVMARK = 0x4b SO_RCVTIMEO = 0x14 SO_RCVTIMEO_NEW = 0x42 SO_RCVTIMEO_OLD = 0x14 @@ -413,6 +414,7 @@ const ( SO_TIMESTAMPNS_NEW = 0x40 SO_TIMESTAMPNS_OLD = 0x23 SO_TIMESTAMP_NEW = 0x3f + SO_TXREHASH = 0x4a SO_TXTIME = 0x3d SO_TYPE = 0x3 SO_WIFI_STATUS = 0x29 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go index 6bd19e51dbb9..1fb7a3953a9e 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go @@ -5,7 +5,7 @@ // +build sparc64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/_const.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go package unix @@ -380,6 +380,7 @@ const ( SO_RCVBUF = 0x1002 SO_RCVBUFFORCE = 0x100b SO_RCVLOWAT = 0x800 + SO_RCVMARK = 0x54 SO_RCVTIMEO = 0x2000 SO_RCVTIMEO_NEW = 0x44 SO_RCVTIMEO_OLD = 0x2000 @@ -404,6 +405,7 @@ const ( SO_TIMESTAMPNS_NEW = 0x42 SO_TIMESTAMPNS_OLD = 0x21 SO_TIMESTAMP_NEW = 0x46 + SO_TXREHASH = 0x53 SO_TXTIME = 0x3f SO_TYPE = 0x1008 SO_WIFI_STATUS = 0x25 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go index 879376589646..467deed76331 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go @@ -1643,6 +1643,30 @@ var libc_mknod_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(fsType) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(dir) + if err != nil { + return + } + _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_mount_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_mount mount "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Open(path string, mode int, perm uint32) (fd int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s index 8da90cf0e4fa..7e308a476d93 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s @@ -600,6 +600,12 @@ TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8 DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB) +TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_mount(SB) + +GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8 +DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB) + TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_open(SB) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go index f47eedd5a867..35938d34ff8b 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go @@ -1643,6 +1643,30 @@ var libc_mknod_trampoline_addr uintptr // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(fsType) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(dir) + if err != nil { + return + } + _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +var libc_mount_trampoline_addr uintptr + +//go:cgo_import_dynamic libc_mount mount "/usr/lib/libSystem.B.dylib" + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Open(path string, mode int, perm uint32) (fd int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s index 4d26f7d014e0..b09e5bb0e204 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s @@ -600,6 +600,12 @@ TEXT libc_mknod_trampoline<>(SB),NOSPLIT,$0-0 GLOBL ·libc_mknod_trampoline_addr(SB), RODATA, $8 DATA ·libc_mknod_trampoline_addr(SB)/8, $libc_mknod_trampoline<>(SB) +TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0 + JMP libc_mount(SB) + +GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8 +DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB) + TEXT libc_open_trampoline<>(SB),NOSPLIT,$0-0 JMP libc_open(SB) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go index e9d9997eeda9..039c4aa06c2c 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go @@ -912,7 +912,7 @@ func Fpathconf(fd int, name int) (val int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstat(fd int, stat *stat_freebsd11_t) (err error) { +func Fstat(fd int, stat *Stat_t) (err error) { _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) if e1 != 0 { err = errnoErr(e1) @@ -922,17 +922,7 @@ func fstat(fd int, stat *stat_freebsd11_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstat_freebsd12(fd int, stat *Stat_t) (err error) { - _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) { +func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { @@ -947,22 +937,7 @@ func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall6(SYS_FSTATAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { +func Fstatfs(fd int, stat *Statfs_t) (err error) { _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) if e1 != 0 { err = errnoErr(e1) @@ -972,16 +947,6 @@ func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) { - _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Fsync(fd int) (err error) { _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0) if e1 != 0 { @@ -1002,7 +967,7 @@ func Ftruncate(fd int, length int64) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { +func getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) { var _p0 unsafe.Pointer if len(buf) > 0 { _p0 = unsafe.Pointer(&buf[0]) @@ -1019,23 +984,6 @@ func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error) { - var _p0 unsafe.Pointer - if len(buf) > 0 { - _p0 = unsafe.Pointer(&buf[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - r0, _, e1 := Syscall6(SYS_GETDIRENTRIES_FREEBSD12, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Getdtablesize() (size int) { r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0) size = int(r0) @@ -1257,21 +1205,6 @@ func Listen(s int, backlog int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func lstat(path string, stat *stat_freebsd11_t) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Mkdir(path string, mode uint32) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -1317,43 +1250,13 @@ func Mkfifo(path string, mode uint32) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func mknod(path string, mode uint32, dev int) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func mknodat(fd int, path string, mode uint32, dev int) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) { +func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } - _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), uintptr(dev>>32), 0) + _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), uintptr(dev>>32), 0) if e1 != 0 { err = errnoErr(e1) } @@ -1753,22 +1656,7 @@ func Setuid(uid int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func stat(path string, stat *stat_freebsd11_t) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func statfs(path string, stat *statfs_freebsd11_t) (err error) { +func Statfs(path string, stat *Statfs_t) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { @@ -1783,21 +1671,6 @@ func statfs(path string, stat *statfs_freebsd11_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func statfs_freebsd12(path string, stat *Statfs_t) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Symlink(path string, link string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go index edd373b1a562..0535d3cfdf2b 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go @@ -912,7 +912,7 @@ func Fpathconf(fd int, name int) (val int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstat(fd int, stat *stat_freebsd11_t) (err error) { +func Fstat(fd int, stat *Stat_t) (err error) { _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) if e1 != 0 { err = errnoErr(e1) @@ -922,17 +922,7 @@ func fstat(fd int, stat *stat_freebsd11_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstat_freebsd12(fd int, stat *Stat_t) (err error) { - _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) { +func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { @@ -947,22 +937,7 @@ func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall6(SYS_FSTATAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { +func Fstatfs(fd int, stat *Statfs_t) (err error) { _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) if e1 != 0 { err = errnoErr(e1) @@ -972,16 +947,6 @@ func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) { - _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Fsync(fd int) (err error) { _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0) if e1 != 0 { @@ -1002,7 +967,7 @@ func Ftruncate(fd int, length int64) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { +func getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) { var _p0 unsafe.Pointer if len(buf) > 0 { _p0 = unsafe.Pointer(&buf[0]) @@ -1019,23 +984,6 @@ func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error) { - var _p0 unsafe.Pointer - if len(buf) > 0 { - _p0 = unsafe.Pointer(&buf[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - r0, _, e1 := Syscall6(SYS_GETDIRENTRIES_FREEBSD12, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Getdtablesize() (size int) { r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0) size = int(r0) @@ -1257,21 +1205,6 @@ func Listen(s int, backlog int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func lstat(path string, stat *stat_freebsd11_t) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Mkdir(path string, mode uint32) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -1317,22 +1250,7 @@ func Mkfifo(path string, mode uint32) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func mknod(path string, mode uint32, dev int) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func mknodat(fd int, path string, mode uint32, dev int) (err error) { +func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { @@ -1347,21 +1265,6 @@ func mknodat(fd int, path string, mode uint32, dev int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Nanosleep(time *Timespec, leftover *Timespec) (err error) { _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) if e1 != 0 { @@ -1753,22 +1656,7 @@ func Setuid(uid int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func stat(path string, stat *stat_freebsd11_t) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func statfs(path string, stat *statfs_freebsd11_t) (err error) { +func Statfs(path string, stat *Statfs_t) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { @@ -1783,21 +1671,6 @@ func statfs(path string, stat *statfs_freebsd11_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func statfs_freebsd12(path string, stat *Statfs_t) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Symlink(path string, link string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go index 82e9764b2571..1018b5221704 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go @@ -351,22 +351,6 @@ func Munlockall() (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) { - var _p0 unsafe.Pointer - if len(mib) > 0 { - _p0 = unsafe.Pointer(&mib[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func pipe2(p *[2]_C_int, flags int) (err error) { _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) if e1 != 0 { @@ -404,6 +388,22 @@ func ioctl(fd int, req uint, arg uintptr) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) { + var _p0 unsafe.Pointer + if len(mib) > 0 { + _p0 = unsafe.Pointer(&mib[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func ptrace(request int, pid int, addr uintptr, data int) (err error) { _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0) if e1 != 0 { @@ -912,7 +912,7 @@ func Fpathconf(fd int, name int) (val int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstat(fd int, stat *stat_freebsd11_t) (err error) { +func Fstat(fd int, stat *Stat_t) (err error) { _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) if e1 != 0 { err = errnoErr(e1) @@ -922,17 +922,7 @@ func fstat(fd int, stat *stat_freebsd11_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstat_freebsd12(fd int, stat *Stat_t) (err error) { - _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) { +func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { @@ -947,22 +937,7 @@ func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall6(SYS_FSTATAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { +func Fstatfs(fd int, stat *Statfs_t) (err error) { _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) if e1 != 0 { err = errnoErr(e1) @@ -972,16 +947,6 @@ func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) { - _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Fsync(fd int) (err error) { _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0) if e1 != 0 { @@ -1002,7 +967,7 @@ func Ftruncate(fd int, length int64) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { +func getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) { var _p0 unsafe.Pointer if len(buf) > 0 { _p0 = unsafe.Pointer(&buf[0]) @@ -1019,23 +984,6 @@ func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error) { - var _p0 unsafe.Pointer - if len(buf) > 0 { - _p0 = unsafe.Pointer(&buf[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - r0, _, e1 := Syscall6(SYS_GETDIRENTRIES_FREEBSD12, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Getdtablesize() (size int) { r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0) size = int(r0) @@ -1257,21 +1205,6 @@ func Listen(s int, backlog int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func lstat(path string, stat *stat_freebsd11_t) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Mkdir(path string, mode uint32) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -1317,43 +1250,13 @@ func Mkfifo(path string, mode uint32) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func mknod(path string, mode uint32, dev int) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func mknodat(fd int, path string, mode uint32, dev int) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) { +func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } - _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) + _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, uintptr(dev), uintptr(dev>>32)) if e1 != 0 { err = errnoErr(e1) } @@ -1753,22 +1656,7 @@ func Setuid(uid int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func stat(path string, stat *stat_freebsd11_t) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func statfs(path string, stat *statfs_freebsd11_t) (err error) { +func Statfs(path string, stat *Statfs_t) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { @@ -1783,21 +1671,6 @@ func statfs(path string, stat *statfs_freebsd11_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func statfs_freebsd12(path string, stat *Statfs_t) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Symlink(path string, link string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go index a6479acd1fc8..3802f4b379a5 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go @@ -912,7 +912,7 @@ func Fpathconf(fd int, name int) (val int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstat(fd int, stat *stat_freebsd11_t) (err error) { +func Fstat(fd int, stat *Stat_t) (err error) { _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) if e1 != 0 { err = errnoErr(e1) @@ -922,17 +922,7 @@ func fstat(fd int, stat *stat_freebsd11_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstat_freebsd12(fd int, stat *Stat_t) (err error) { - _, _, e1 := Syscall(SYS_FSTAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) { +func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { @@ -947,22 +937,7 @@ func fstatat(fd int, path string, stat *stat_freebsd11_t, flags int) (err error) // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstatat_freebsd12(fd int, path string, stat *Stat_t, flags int) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall6(SYS_FSTATAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { +func Fstatfs(fd int, stat *Statfs_t) (err error) { _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) if e1 != 0 { err = errnoErr(e1) @@ -972,16 +947,6 @@ func fstatfs(fd int, stat *statfs_freebsd11_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fstatfs_freebsd12(fd int, stat *Statfs_t) (err error) { - _, _, e1 := Syscall(SYS_FSTATFS_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Fsync(fd int) (err error) { _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0) if e1 != 0 { @@ -1002,7 +967,7 @@ func Ftruncate(fd int, length int64) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { +func getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) { var _p0 unsafe.Pointer if len(buf) > 0 { _p0 = unsafe.Pointer(&buf[0]) @@ -1019,23 +984,6 @@ func getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func getdirentries_freebsd12(fd int, buf []byte, basep *uint64) (n int, err error) { - var _p0 unsafe.Pointer - if len(buf) > 0 { - _p0 = unsafe.Pointer(&buf[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - r0, _, e1 := Syscall6(SYS_GETDIRENTRIES_FREEBSD12, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Getdtablesize() (size int) { r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0) size = int(r0) @@ -1257,21 +1205,6 @@ func Listen(s int, backlog int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func lstat(path string, stat *stat_freebsd11_t) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Mkdir(path string, mode uint32) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -1317,22 +1250,7 @@ func Mkfifo(path string, mode uint32) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func mknod(path string, mode uint32, dev int) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func mknodat(fd int, path string, mode uint32, dev int) (err error) { +func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { @@ -1347,21 +1265,6 @@ func mknodat(fd int, path string, mode uint32, dev int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func mknodat_freebsd12(fd int, path string, mode uint32, dev uint64) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall6(SYS_MKNODAT_FREEBSD12, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Nanosleep(time *Timespec, leftover *Timespec) (err error) { _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) if e1 != 0 { @@ -1753,22 +1656,7 @@ func Setuid(uid int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func stat(path string, stat *stat_freebsd11_t) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func statfs(path string, stat *statfs_freebsd11_t) (err error) { +func Statfs(path string, stat *Statfs_t) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { @@ -1783,21 +1671,6 @@ func statfs(path string, stat *statfs_freebsd11_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func statfs_freebsd12(path string, stat *Statfs_t) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_STATFS_FREEBSD12, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Symlink(path string, link string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go new file mode 100644 index 000000000000..8a2db7da9f3e --- /dev/null +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_freebsd_riscv64.go @@ -0,0 +1,1889 @@ +// go run mksyscall.go -tags freebsd,riscv64 syscall_bsd.go syscall_freebsd.go syscall_freebsd_riscv64.go +// Code generated by the command above; see README.md. DO NOT EDIT. + +//go:build freebsd && riscv64 +// +build freebsd,riscv64 + +package unix + +import ( + "syscall" + "unsafe" +) + +var _ syscall.Errno + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getgroups(ngid int, gid *_Gid_t) (n int, err error) { + r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func setgroups(ngid int, gid *_Gid_t) (err error) { + _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) { + r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0) + wpid = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { + r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { + _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { + _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func socket(domain int, typ int, proto int) (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) { + _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) { + _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { + _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { + _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Shutdown(s int, how int) (err error) { + _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) { + _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { + r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { + r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) { + r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func utimes(path string, timeval *[2]Timeval) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func futimes(fd int, timeval *[2]Timeval) (err error) { + _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { + r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Madvise(b []byte, behav int) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(behav)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mlock(b []byte) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mlockall(flags int) (err error) { + _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mprotect(b []byte, prot int) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Msync(b []byte, flags int) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MSYNC, uintptr(_p0), uintptr(len(b)), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Munlock(b []byte) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Munlockall() (err error) { + _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pipe2(p *[2]_C_int, flags int) (err error) { + _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getcwd(buf []byte) (n int, err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS___GETCWD, uintptr(_p0), uintptr(len(buf)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ioctl(fd int, req uint, arg uintptr) (err error) { + _, _, e1 := Syscall(SYS_IOCTL, uintptr(fd), uintptr(req), uintptr(arg)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) { + var _p0 unsafe.Pointer + if len(mib) > 0 { + _p0 = unsafe.Pointer(&mib[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ptrace(request int, pid int, addr uintptr, data int) (err error) { + _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Access(path string, mode uint32) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Adjtime(delta *Timeval, olddelta *Timeval) (err error) { + _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func CapEnter() (err error) { + _, _, e1 := Syscall(SYS_CAP_ENTER, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func capRightsGet(version int, fd int, rightsp *CapRights) (err error) { + _, _, e1 := Syscall(SYS___CAP_RIGHTS_GET, uintptr(version), uintptr(fd), uintptr(unsafe.Pointer(rightsp))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func capRightsLimit(fd int, rightsp *CapRights) (err error) { + _, _, e1 := Syscall(SYS_CAP_RIGHTS_LIMIT, uintptr(fd), uintptr(unsafe.Pointer(rightsp)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Chdir(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Chflags(path string, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Chmod(path string, mode uint32) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Chown(path string, uid int, gid int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Chroot(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Close(fd int) (err error) { + _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Dup(fd int) (nfd int, err error) { + r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0) + nfd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Dup2(from int, to int) (err error) { + _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Exit(code int) { + Syscall(SYS_EXIT, uintptr(code), 0, 0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ExtattrGetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(attrname) + if err != nil { + return + } + r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0) + ret = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ExtattrSetFd(fd int, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(attrname) + if err != nil { + return + } + r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0)), uintptr(data), uintptr(nbytes), 0) + ret = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ExtattrDeleteFd(fd int, attrnamespace int, attrname string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(attrname) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FD, uintptr(fd), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p0))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ExtattrListFd(fd int, attrnamespace int, data uintptr, nbytes int) (ret int, err error) { + r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FD, uintptr(fd), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0) + ret = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ExtattrGetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(file) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(attrname) + if err != nil { + return + } + r0, _, e1 := Syscall6(SYS_EXTATTR_GET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0) + ret = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ExtattrSetFile(file string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(file) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(attrname) + if err != nil { + return + } + r0, _, e1 := Syscall6(SYS_EXTATTR_SET_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0) + ret = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ExtattrDeleteFile(file string, attrnamespace int, attrname string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(file) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(attrname) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_EXTATTR_DELETE_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ExtattrListFile(file string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(file) + if err != nil { + return + } + r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_FILE, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0) + ret = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ExtattrGetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(link) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(attrname) + if err != nil { + return + } + r0, _, e1 := Syscall6(SYS_EXTATTR_GET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0) + ret = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ExtattrSetLink(link string, attrnamespace int, attrname string, data uintptr, nbytes int) (ret int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(link) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(attrname) + if err != nil { + return + } + r0, _, e1 := Syscall6(SYS_EXTATTR_SET_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1)), uintptr(data), uintptr(nbytes), 0) + ret = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ExtattrDeleteLink(link string, attrnamespace int, attrname string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(link) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(attrname) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_EXTATTR_DELETE_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(unsafe.Pointer(_p1))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ExtattrListLink(link string, attrnamespace int, data uintptr, nbytes int) (ret int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(link) + if err != nil { + return + } + r0, _, e1 := Syscall6(SYS_EXTATTR_LIST_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(attrnamespace), uintptr(data), uintptr(nbytes), 0, 0) + ret = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fadvise(fd int, offset int64, length int64, advice int) (err error) { + _, _, e1 := Syscall6(SYS_POSIX_FADVISE, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchdir(fd int) (err error) { + _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchflags(fd int, flags int) (err error) { + _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchmod(fd int, mode uint32) (err error) { + _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchown(fd int, uid int, gid int) (err error) { + _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Flock(fd int, how int) (err error) { + _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fpathconf(fd int, name int) (val int, err error) { + r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0) + val = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fstat(fd int, stat *Stat_t) (err error) { + _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_FSTATAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fstatfs(fd int, stat *Statfs_t) (err error) { + _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fsync(fd int) (err error) { + _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Ftruncate(fd int, length int64) (err error) { + _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getdirentries(fd int, buf []byte, basep *uint64) (n int, err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getdtablesize() (size int) { + r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0) + size = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getegid() (egid int) { + r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0) + egid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Geteuid() (uid int) { + r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0) + uid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getgid() (gid int) { + r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0) + gid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getpgid(pid int) (pgid int, err error) { + r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0) + pgid = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getpgrp() (pgrp int) { + r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0) + pgrp = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getpid() (pid int) { + r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0) + pid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getppid() (ppid int) { + r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0) + ppid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getpriority(which int, who int) (prio int, err error) { + r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0) + prio = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getrlimit(which int, lim *Rlimit) (err error) { + _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getrusage(who int, rusage *Rusage) (err error) { + _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getsid(pid int) (sid int, err error) { + r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0) + sid = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Gettimeofday(tv *Timeval) (err error) { + _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getuid() (uid int) { + r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0) + uid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Issetugid() (tainted bool) { + r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0) + tainted = bool(r0 != 0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Kill(pid int, signum syscall.Signal) (err error) { + _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Kqueue() (fd int, err error) { + r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Lchown(path string, uid int, gid int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Link(path string, link string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(link) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(link) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_LINKAT, uintptr(pathfd), uintptr(unsafe.Pointer(_p0)), uintptr(linkfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Listen(s int, backlog int) (err error) { + _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mkdir(path string, mode uint32) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mkdirat(dirfd int, path string, mode uint32) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mkfifo(path string, mode uint32) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mknodat(fd int, path string, mode uint32, dev uint64) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Nanosleep(time *Timespec, leftover *Timespec) (err error) { + _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Open(path string, mode int, perm uint32) (fd int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Openat(fdat int, path string, mode int, perm uint32) (fd int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(fdat), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Pathconf(path string, name int) (val int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0) + val = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pread(fd int, p []byte, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_PREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pwrite(fd int, p []byte, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func read(fd int, p []byte) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Readlink(path string, buf []byte) (n int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 unsafe.Pointer + if len(buf) > 0 { + _p1 = unsafe.Pointer(&buf[0]) + } else { + _p1 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Readlinkat(dirfd int, path string, buf []byte) (n int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 unsafe.Pointer + if len(buf) > 0 { + _p1 = unsafe.Pointer(&buf[0]) + } else { + _p1 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Rename(from string, to string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(from) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(to) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Renameat(fromfd int, from string, tofd int, to string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(from) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(to) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Revoke(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Rmdir(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { + r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence)) + newoffset = int64(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { + r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setegid(egid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Seteuid(euid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setgid(gid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setlogin(name string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(name) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setpgid(pid int, pgid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setpriority(which int, who int, prio int) (err error) { + _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setregid(rgid int, egid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setreuid(ruid int, euid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setresgid(rgid int, egid int, sgid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setresuid(ruid int, euid int, suid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setrlimit(which int, lim *Rlimit) (err error) { + _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setsid() (pid int, err error) { + r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0) + pid = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Settimeofday(tp *Timeval) (err error) { + _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setuid(uid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Statfs(path string, stat *Statfs_t) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Symlink(path string, link string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(link) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Symlinkat(oldpath string, newdirfd int, newpath string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(oldpath) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(newpath) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Sync() (err error) { + _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Truncate(path string, length int64) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Umask(newmask int) (oldmask int) { + r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0) + oldmask = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Undelete(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Unlink(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Unlinkat(dirfd int, path string, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Unmount(path string, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func write(fd int, p []byte) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) { + r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), uintptr(pos)) + ret = uintptr(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func munmap(addr uintptr, length uintptr) (err error) { + _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func readlen(fd int, buf *byte, nbuf int) (n int, err error) { + r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func writelen(fd int, buf *byte, nbuf int) (n int, err error) { + r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func accept4(fd int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (nfd int, err error) { + r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0) + nfd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go new file mode 100644 index 000000000000..523f2ba03e4c --- /dev/null +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_linux_loong64.go @@ -0,0 +1,527 @@ +// go run mksyscall.go -tags linux,loong64 syscall_linux.go syscall_linux_loong64.go +// Code generated by the command above; see README.md. DO NOT EDIT. + +//go:build linux && loong64 +// +build linux,loong64 + +package unix + +import ( + "syscall" + "unsafe" +) + +var _ syscall.Errno + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func fanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname *byte) (err error) { + _, _, e1 := Syscall6(SYS_FANOTIFY_MARK, uintptr(fd), uintptr(flags), uintptr(mask), uintptr(dirFd), uintptr(unsafe.Pointer(pathname)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fallocate(fd int, mode uint32, off int64, len int64) (err error) { + _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { + r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0) + n = int64(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { + _p0 = unsafe.Pointer(&events[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_EPOLL_PWAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fadvise(fd int, offset int64, length int64, advice int) (err error) { + _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchown(fd int, uid int, gid int) (err error) { + _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fstatfs(fd int, buf *Statfs_t) (err error) { + _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Ftruncate(fd int, length int64) (err error) { + _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getegid() (egid int) { + r0, _ := RawSyscallNoError(SYS_GETEGID, 0, 0, 0) + egid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Geteuid() (euid int) { + r0, _ := RawSyscallNoError(SYS_GETEUID, 0, 0, 0) + euid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getgid() (gid int) { + r0, _ := RawSyscallNoError(SYS_GETGID, 0, 0, 0) + gid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getuid() (uid int) { + r0, _ := RawSyscallNoError(SYS_GETUID, 0, 0, 0) + uid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Listen(s int, n int) (err error) { + _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pread(fd int, p []byte, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pwrite(fd int, p []byte, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Seek(fd int, offset int64, whence int) (off int64, err error) { + r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence)) + off = int64(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { + r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0) + written = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func setfsgid(gid int) (prev int, err error) { + r0, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0) + prev = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func setfsuid(uid int) (prev int, err error) { + r0, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0) + prev = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setregid(rgid int, egid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setresgid(rgid int, egid int, sgid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setresuid(ruid int, euid int, suid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setreuid(ruid int, euid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Shutdown(fd int, how int) (err error) { + _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) { + r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags)) + n = int64(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Statfs(path string, buf *Statfs_t) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func SyncFileRange(fd int, off int64, n int64, flags int) (err error) { + _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Truncate(path string, length int64) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) { + r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { + _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { + _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getgroups(n int, list *_Gid_t) (nn int, err error) { + r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0) + nn = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func setgroups(n int, list *_Gid_t) (err error) { + _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) { + _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) { + _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func socket(domain int, typ int, proto int) (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) { + _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { + _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { + _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { + r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { + r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) { + r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset)) + xaddr = uintptr(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Gettimeofday(tv *Timeval) (err error) { + _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(cmdline) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_KEXEC_FILE_LOAD, uintptr(kernelFd), uintptr(initrdFd), uintptr(cmdlineLen), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go index a1a9bcbbdf61..1239cc2de9c7 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go @@ -180,6 +180,17 @@ func Listen(s int, n int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func MemfdSecret(flags int) (fd int, err error) { + r0, _, e1 := Syscall(SYS_MEMFD_SECRET, uintptr(flags), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func pread(fd int, p []byte, offset int64) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go index d12f4fbfea5f..fdf53f8daf3b 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go @@ -66,6 +66,7 @@ import ( //go:cgo_import_dynamic libc_getpriority getpriority "libc.so" //go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so" //go:cgo_import_dynamic libc_getrusage getrusage "libc.so" +//go:cgo_import_dynamic libc_getsid getsid "libc.so" //go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so" //go:cgo_import_dynamic libc_getuid getuid "libc.so" //go:cgo_import_dynamic libc_kill kill "libc.so" @@ -202,6 +203,7 @@ import ( //go:linkname procGetpriority libc_getpriority //go:linkname procGetrlimit libc_getrlimit //go:linkname procGetrusage libc_getrusage +//go:linkname procGetsid libc_getsid //go:linkname procGettimeofday libc_gettimeofday //go:linkname procGetuid libc_getuid //go:linkname procKill libc_kill @@ -339,6 +341,7 @@ var ( procGetpriority, procGetrlimit, procGetrusage, + procGetsid, procGettimeofday, procGetuid, procKill, @@ -1044,6 +1047,17 @@ func Getrusage(who int, rusage *Rusage) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Getsid(pid int) (sid int, err error) { + r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetsid)), 1, uintptr(pid), 0, 0, 0, 0, 0) + sid = int(r0) + if e1 != 0 { + err = e1 + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Gettimeofday(tv *Timeval) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGettimeofday)), 1, uintptr(unsafe.Pointer(tv)), 0, 0, 0, 0, 0) if e1 != 0 { diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go index 59d5dfc20922..4e0d96107b9e 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go @@ -1,4 +1,4 @@ -// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master +// go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12 // Code generated by the command above; see README.md. DO NOT EDIT. //go:build 386 && freebsd @@ -19,10 +19,9 @@ const ( SYS_UNLINK = 10 // { int unlink(char *path); } SYS_CHDIR = 12 // { int chdir(char *path); } SYS_FCHDIR = 13 // { int fchdir(int fd); } - SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); } SYS_CHMOD = 15 // { int chmod(char *path, int mode); } SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); } - SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int + SYS_BREAK = 17 // { caddr_t break(char *nsize); } SYS_GETPID = 20 // { pid_t getpid(void); } SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); } SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); } @@ -43,7 +42,6 @@ const ( SYS_KILL = 37 // { int kill(int pid, int signum); } SYS_GETPPID = 39 // { pid_t getppid(void); } SYS_DUP = 41 // { int dup(u_int fd); } - SYS_PIPE = 42 // { int pipe(void); } SYS_GETEGID = 43 // { gid_t getegid(void); } SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); } SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); } @@ -58,15 +56,14 @@ const ( SYS_SYMLINK = 57 // { int symlink(char *path, char *link); } SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); } SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); } - SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int + SYS_UMASK = 60 // { int umask(int newmask); } SYS_CHROOT = 61 // { int chroot(char *path); } SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); } SYS_VFORK = 66 // { int vfork(void); } SYS_SBRK = 69 // { int sbrk(int incr); } SYS_SSTK = 70 // { int sstk(int incr); } - SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise ovadvise_args int SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); } - SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); } + SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); } SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); } SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); } SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); } @@ -124,14 +121,10 @@ const ( SYS_SETGID = 181 // { int setgid(gid_t gid); } SYS_SETEGID = 182 // { int setegid(gid_t egid); } SYS_SETEUID = 183 // { int seteuid(uid_t euid); } - SYS_STAT = 188 // { int stat(char *path, struct stat *ub); } - SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); } - SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); } SYS_PATHCONF = 191 // { int pathconf(char *path, int name); } SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); } SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int - SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); } SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); } SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); } @@ -143,12 +136,12 @@ const ( SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); } SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); } SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } - SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } + SYS_MSGRCV = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); } SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); } SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); } SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); } - SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); } + SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); } SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); } SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); } SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); } @@ -157,50 +150,44 @@ const ( SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); } SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); } - SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); } - SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); } + SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); } + SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); } SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); } - SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); } + SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); } SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); } SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); } SYS_RFORK = 251 // { int rfork(int flags); } - SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, int timeout); } SYS_ISSETUGID = 253 // { int issetugid(void); } SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); } SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); } SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); } - SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); } - SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); } + SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); } SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); } SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); } - SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); } - SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); } - SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); } SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); } - SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } SYS_MODNEXT = 300 // { int modnext(int modid); } - SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); } + SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat* stat); } SYS_MODFNEXT = 302 // { int modfnext(int modid); } SYS_MODFIND = 303 // { int modfind(const char *name); } SYS_KLDLOAD = 304 // { int kldload(const char *file); } SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); } SYS_KLDFIND = 306 // { int kldfind(const char *file); } SYS_KLDNEXT = 307 // { int kldnext(int fileid); } - SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); } + SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat *stat); } SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); } SYS_GETSID = 310 // { int getsid(pid_t pid); } SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); } SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); } SYS_AIO_RETURN = 314 // { ssize_t aio_return(struct aiocb *aiocbp); } - SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } + SYS_AIO_SUSPEND = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); } SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); } SYS_YIELD = 321 // { int yield(void); } SYS_MLOCKALL = 324 // { int mlockall(int how); } SYS_MUNLOCKALL = 325 // { int munlockall(void); } - SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); } + SYS___GETCWD = 326 // { int __getcwd(char *buf, size_t buflen); } SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); } SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); } SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); } @@ -226,14 +213,13 @@ const ( SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); } SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); } SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); } - SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } - SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); } - SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); } + SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); } SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); } SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } SYS_KQUEUE = 362 // { int kqueue(void); } - SYS_KEVENT = 363 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); } @@ -251,10 +237,6 @@ const ( SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); } SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); } SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); } - SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } - SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); } - SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); } - SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); } SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); } SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); } @@ -267,14 +249,14 @@ const ( SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); } SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); } SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); } - SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } - SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } - SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); } + SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); } SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); } SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); } - SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); } + SYS_SIGRETURN = 417 // { int sigreturn(const struct __ucontext *sigcntxp); } SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); } - SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); } + SYS_SETCONTEXT = 422 // { int setcontext(const struct __ucontext *ucp); } SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); } SYS_SWAPOFF = 424 // { int swapoff(const char *name); } SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); } @@ -288,10 +270,10 @@ const ( SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); } SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); } SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); } - SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); } - SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); } + SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); } + SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); } SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); } - SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); } + SYS_THR_SUSPEND = 442 // { int thr_suspend(const struct timespec *timeout); } SYS_THR_WAKE = 443 // { int thr_wake(long id); } SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); } SYS_AUDIT = 445 // { int audit(const void *record, u_int length); } @@ -300,17 +282,17 @@ const ( SYS_SETAUID = 448 // { int setauid(uid_t *auid); } SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); } SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); } - SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); } - SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); } + SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } + SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } SYS_AUDITCTL = 453 // { int auditctl(char *path); } SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); } SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); } SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); } SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); } - SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } - SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } - SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len,unsigned msg_prio, const struct timespec *abs_timeout);} - SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } + SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } + SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } + SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); } + SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); } SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); } SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); } @@ -319,7 +301,7 @@ const ( SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); } SYS_SCTP_GENERIC_SENDMSG = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } - SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr * from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } + SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); } SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); } SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); } @@ -338,14 +320,12 @@ const ( SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); } SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); } SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); } - SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); } SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); } SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); } SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); } - SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); } - SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); } + SYS_READLINKAT = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); } SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); } SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); } SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); } @@ -391,7 +371,24 @@ const ( SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); } SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); } SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); } - SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); } - SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); } SYS_FDATASYNC = 550 // { int fdatasync(int fd); } + SYS_FSTAT = 551 // { int fstat(int fd, struct stat *sb); } + SYS_FSTATAT = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } + SYS_FHSTAT = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } + SYS_GETDIRENTRIES = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); } + SYS_STATFS = 555 // { int statfs(char *path, struct statfs *buf); } + SYS_FSTATFS = 556 // { int fstatfs(int fd, struct statfs *buf); } + SYS_GETFSSTAT = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } + SYS_FHSTATFS = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } + SYS_MKNODAT = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } + SYS_KEVENT = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } + SYS_CPUSET_GETDOMAIN = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); } + SYS_CPUSET_SETDOMAIN = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); } + SYS_GETRANDOM = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); } + SYS_GETFHAT = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); } + SYS_FHLINK = 565 // { int fhlink(struct fhandle *fhp, const char *to); } + SYS_FHLINKAT = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); } + SYS_FHREADLINK = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); } + SYS___SYSCTLBYNAME = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } + SYS_CLOSE_RANGE = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); } ) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go index 342d471d2eb1..01636b838d30 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go @@ -1,4 +1,4 @@ -// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master +// go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12 // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && freebsd @@ -19,10 +19,9 @@ const ( SYS_UNLINK = 10 // { int unlink(char *path); } SYS_CHDIR = 12 // { int chdir(char *path); } SYS_FCHDIR = 13 // { int fchdir(int fd); } - SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); } SYS_CHMOD = 15 // { int chmod(char *path, int mode); } SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); } - SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int + SYS_BREAK = 17 // { caddr_t break(char *nsize); } SYS_GETPID = 20 // { pid_t getpid(void); } SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); } SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); } @@ -43,7 +42,6 @@ const ( SYS_KILL = 37 // { int kill(int pid, int signum); } SYS_GETPPID = 39 // { pid_t getppid(void); } SYS_DUP = 41 // { int dup(u_int fd); } - SYS_PIPE = 42 // { int pipe(void); } SYS_GETEGID = 43 // { gid_t getegid(void); } SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); } SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); } @@ -58,15 +56,14 @@ const ( SYS_SYMLINK = 57 // { int symlink(char *path, char *link); } SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); } SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); } - SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int + SYS_UMASK = 60 // { int umask(int newmask); } SYS_CHROOT = 61 // { int chroot(char *path); } SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); } SYS_VFORK = 66 // { int vfork(void); } SYS_SBRK = 69 // { int sbrk(int incr); } SYS_SSTK = 70 // { int sstk(int incr); } - SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise ovadvise_args int SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); } - SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); } + SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); } SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); } SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); } SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); } @@ -124,14 +121,10 @@ const ( SYS_SETGID = 181 // { int setgid(gid_t gid); } SYS_SETEGID = 182 // { int setegid(gid_t egid); } SYS_SETEUID = 183 // { int seteuid(uid_t euid); } - SYS_STAT = 188 // { int stat(char *path, struct stat *ub); } - SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); } - SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); } SYS_PATHCONF = 191 // { int pathconf(char *path, int name); } SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); } SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int - SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); } SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); } SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); } @@ -143,12 +136,12 @@ const ( SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); } SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); } SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } - SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } + SYS_MSGRCV = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); } SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); } SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); } SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); } - SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); } + SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); } SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); } SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); } SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); } @@ -157,50 +150,44 @@ const ( SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); } SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); } - SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); } - SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); } + SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); } + SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); } SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); } - SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); } + SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); } SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); } SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); } SYS_RFORK = 251 // { int rfork(int flags); } - SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, int timeout); } SYS_ISSETUGID = 253 // { int issetugid(void); } SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); } SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); } SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); } - SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); } - SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); } + SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); } SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); } SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); } - SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); } - SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); } - SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); } SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); } - SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } SYS_MODNEXT = 300 // { int modnext(int modid); } - SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); } + SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat* stat); } SYS_MODFNEXT = 302 // { int modfnext(int modid); } SYS_MODFIND = 303 // { int modfind(const char *name); } SYS_KLDLOAD = 304 // { int kldload(const char *file); } SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); } SYS_KLDFIND = 306 // { int kldfind(const char *file); } SYS_KLDNEXT = 307 // { int kldnext(int fileid); } - SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); } + SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat *stat); } SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); } SYS_GETSID = 310 // { int getsid(pid_t pid); } SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); } SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); } SYS_AIO_RETURN = 314 // { ssize_t aio_return(struct aiocb *aiocbp); } - SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } + SYS_AIO_SUSPEND = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); } SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); } SYS_YIELD = 321 // { int yield(void); } SYS_MLOCKALL = 324 // { int mlockall(int how); } SYS_MUNLOCKALL = 325 // { int munlockall(void); } - SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); } + SYS___GETCWD = 326 // { int __getcwd(char *buf, size_t buflen); } SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); } SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); } SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); } @@ -226,14 +213,13 @@ const ( SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); } SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); } SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); } - SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } - SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); } - SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); } + SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); } SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); } SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } SYS_KQUEUE = 362 // { int kqueue(void); } - SYS_KEVENT = 363 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); } @@ -251,10 +237,6 @@ const ( SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); } SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); } SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); } - SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } - SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); } - SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); } - SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); } SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); } SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); } @@ -267,14 +249,14 @@ const ( SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); } SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); } SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); } - SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } - SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } - SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); } + SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); } SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); } SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); } - SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); } + SYS_SIGRETURN = 417 // { int sigreturn(const struct __ucontext *sigcntxp); } SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); } - SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); } + SYS_SETCONTEXT = 422 // { int setcontext(const struct __ucontext *ucp); } SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); } SYS_SWAPOFF = 424 // { int swapoff(const char *name); } SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); } @@ -288,10 +270,10 @@ const ( SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); } SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); } SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); } - SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); } - SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); } + SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); } + SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); } SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); } - SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); } + SYS_THR_SUSPEND = 442 // { int thr_suspend(const struct timespec *timeout); } SYS_THR_WAKE = 443 // { int thr_wake(long id); } SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); } SYS_AUDIT = 445 // { int audit(const void *record, u_int length); } @@ -300,17 +282,17 @@ const ( SYS_SETAUID = 448 // { int setauid(uid_t *auid); } SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); } SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); } - SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); } - SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); } + SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } + SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } SYS_AUDITCTL = 453 // { int auditctl(char *path); } SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); } SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); } SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); } SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); } - SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } - SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } - SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len,unsigned msg_prio, const struct timespec *abs_timeout);} - SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } + SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } + SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } + SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); } + SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); } SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); } SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); } @@ -319,7 +301,7 @@ const ( SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); } SYS_SCTP_GENERIC_SENDMSG = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } - SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr * from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } + SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); } SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); } SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); } @@ -338,14 +320,12 @@ const ( SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); } SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); } SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); } - SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); } SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); } SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); } SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); } - SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); } - SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); } + SYS_READLINKAT = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); } SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); } SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); } SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); } @@ -391,7 +371,24 @@ const ( SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); } SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); } SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); } - SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); } - SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); } SYS_FDATASYNC = 550 // { int fdatasync(int fd); } + SYS_FSTAT = 551 // { int fstat(int fd, struct stat *sb); } + SYS_FSTATAT = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } + SYS_FHSTAT = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } + SYS_GETDIRENTRIES = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); } + SYS_STATFS = 555 // { int statfs(char *path, struct statfs *buf); } + SYS_FSTATFS = 556 // { int fstatfs(int fd, struct statfs *buf); } + SYS_GETFSSTAT = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } + SYS_FHSTATFS = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } + SYS_MKNODAT = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } + SYS_KEVENT = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } + SYS_CPUSET_GETDOMAIN = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); } + SYS_CPUSET_SETDOMAIN = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); } + SYS_GETRANDOM = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); } + SYS_GETFHAT = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); } + SYS_FHLINK = 565 // { int fhlink(struct fhandle *fhp, const char *to); } + SYS_FHLINKAT = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); } + SYS_FHREADLINK = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); } + SYS___SYSCTLBYNAME = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } + SYS_CLOSE_RANGE = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); } ) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go index e2e3d72c5b04..ad99bc106a86 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go @@ -1,4 +1,4 @@ -// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master +// go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12 // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm && freebsd @@ -19,10 +19,9 @@ const ( SYS_UNLINK = 10 // { int unlink(char *path); } SYS_CHDIR = 12 // { int chdir(char *path); } SYS_FCHDIR = 13 // { int fchdir(int fd); } - SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); } SYS_CHMOD = 15 // { int chmod(char *path, int mode); } SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); } - SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int + SYS_BREAK = 17 // { caddr_t break(char *nsize); } SYS_GETPID = 20 // { pid_t getpid(void); } SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); } SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); } @@ -43,7 +42,6 @@ const ( SYS_KILL = 37 // { int kill(int pid, int signum); } SYS_GETPPID = 39 // { pid_t getppid(void); } SYS_DUP = 41 // { int dup(u_int fd); } - SYS_PIPE = 42 // { int pipe(void); } SYS_GETEGID = 43 // { gid_t getegid(void); } SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); } SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); } @@ -58,15 +56,14 @@ const ( SYS_SYMLINK = 57 // { int symlink(char *path, char *link); } SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); } SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); } - SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int + SYS_UMASK = 60 // { int umask(int newmask); } SYS_CHROOT = 61 // { int chroot(char *path); } SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); } SYS_VFORK = 66 // { int vfork(void); } SYS_SBRK = 69 // { int sbrk(int incr); } SYS_SSTK = 70 // { int sstk(int incr); } - SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise ovadvise_args int SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); } - SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); } + SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); } SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); } SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); } SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); } @@ -124,14 +121,10 @@ const ( SYS_SETGID = 181 // { int setgid(gid_t gid); } SYS_SETEGID = 182 // { int setegid(gid_t egid); } SYS_SETEUID = 183 // { int seteuid(uid_t euid); } - SYS_STAT = 188 // { int stat(char *path, struct stat *ub); } - SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); } - SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); } SYS_PATHCONF = 191 // { int pathconf(char *path, int name); } SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); } SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int - SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); } SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); } SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); } @@ -143,12 +136,12 @@ const ( SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); } SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); } SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } - SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } + SYS_MSGRCV = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); } SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); } SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); } SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); } - SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); } + SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); } SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); } SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); } SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); } @@ -157,50 +150,44 @@ const ( SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); } SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); } - SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); } - SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); } + SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); } + SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); } SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); } - SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); } + SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); } SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); } SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); } SYS_RFORK = 251 // { int rfork(int flags); } - SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, int timeout); } SYS_ISSETUGID = 253 // { int issetugid(void); } SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); } SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); } SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); } - SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); } - SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); } + SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); } SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); } SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); } - SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); } - SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); } - SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); } SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); } - SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } SYS_MODNEXT = 300 // { int modnext(int modid); } - SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); } + SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat* stat); } SYS_MODFNEXT = 302 // { int modfnext(int modid); } SYS_MODFIND = 303 // { int modfind(const char *name); } SYS_KLDLOAD = 304 // { int kldload(const char *file); } SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); } SYS_KLDFIND = 306 // { int kldfind(const char *file); } SYS_KLDNEXT = 307 // { int kldnext(int fileid); } - SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); } + SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat *stat); } SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); } SYS_GETSID = 310 // { int getsid(pid_t pid); } SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); } SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); } SYS_AIO_RETURN = 314 // { ssize_t aio_return(struct aiocb *aiocbp); } - SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } + SYS_AIO_SUSPEND = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); } SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); } SYS_YIELD = 321 // { int yield(void); } SYS_MLOCKALL = 324 // { int mlockall(int how); } SYS_MUNLOCKALL = 325 // { int munlockall(void); } - SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); } + SYS___GETCWD = 326 // { int __getcwd(char *buf, size_t buflen); } SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); } SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); } SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); } @@ -226,14 +213,13 @@ const ( SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); } SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); } SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); } - SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } - SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); } - SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); } + SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); } SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); } SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } SYS_KQUEUE = 362 // { int kqueue(void); } - SYS_KEVENT = 363 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); } @@ -251,10 +237,6 @@ const ( SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); } SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); } SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); } - SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } - SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); } - SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); } - SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); } SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); } SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); } @@ -267,14 +249,14 @@ const ( SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); } SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); } SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); } - SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } - SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } - SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); } + SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); } SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); } SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); } - SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); } + SYS_SIGRETURN = 417 // { int sigreturn(const struct __ucontext *sigcntxp); } SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); } - SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); } + SYS_SETCONTEXT = 422 // { int setcontext(const struct __ucontext *ucp); } SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); } SYS_SWAPOFF = 424 // { int swapoff(const char *name); } SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); } @@ -288,10 +270,10 @@ const ( SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); } SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); } SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); } - SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); } - SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); } + SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); } + SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); } SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); } - SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); } + SYS_THR_SUSPEND = 442 // { int thr_suspend(const struct timespec *timeout); } SYS_THR_WAKE = 443 // { int thr_wake(long id); } SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); } SYS_AUDIT = 445 // { int audit(const void *record, u_int length); } @@ -300,17 +282,17 @@ const ( SYS_SETAUID = 448 // { int setauid(uid_t *auid); } SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); } SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); } - SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); } - SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); } + SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } + SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } SYS_AUDITCTL = 453 // { int auditctl(char *path); } SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); } SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); } SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); } SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); } - SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } - SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } - SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len,unsigned msg_prio, const struct timespec *abs_timeout);} - SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } + SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } + SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } + SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); } + SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); } SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); } SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); } @@ -319,7 +301,7 @@ const ( SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); } SYS_SCTP_GENERIC_SENDMSG = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } - SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr * from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } + SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); } SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); } SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); } @@ -338,14 +320,12 @@ const ( SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); } SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); } SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); } - SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); } SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); } SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); } SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); } - SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); } - SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); } + SYS_READLINKAT = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); } SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); } SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); } SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); } @@ -391,7 +371,24 @@ const ( SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); } SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); } SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); } - SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); } - SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); } SYS_FDATASYNC = 550 // { int fdatasync(int fd); } + SYS_FSTAT = 551 // { int fstat(int fd, struct stat *sb); } + SYS_FSTATAT = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } + SYS_FHSTAT = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } + SYS_GETDIRENTRIES = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); } + SYS_STATFS = 555 // { int statfs(char *path, struct statfs *buf); } + SYS_FSTATFS = 556 // { int fstatfs(int fd, struct statfs *buf); } + SYS_GETFSSTAT = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } + SYS_FHSTATFS = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } + SYS_MKNODAT = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } + SYS_KEVENT = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } + SYS_CPUSET_GETDOMAIN = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); } + SYS_CPUSET_SETDOMAIN = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); } + SYS_GETRANDOM = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); } + SYS_GETFHAT = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); } + SYS_FHLINK = 565 // { int fhlink(struct fhandle *fhp, const char *to); } + SYS_FHLINKAT = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); } + SYS_FHREADLINK = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); } + SYS___SYSCTLBYNAME = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } + SYS_CLOSE_RANGE = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); } ) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go index 61ad5ca3c19b..89dcc4274765 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go @@ -1,4 +1,4 @@ -// go run mksysnum.go https://svn.freebsd.org/base/stable/11/sys/kern/syscalls.master +// go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12 // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && freebsd @@ -19,10 +19,9 @@ const ( SYS_UNLINK = 10 // { int unlink(char *path); } SYS_CHDIR = 12 // { int chdir(char *path); } SYS_FCHDIR = 13 // { int fchdir(int fd); } - SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); } SYS_CHMOD = 15 // { int chmod(char *path, int mode); } SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); } - SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int + SYS_BREAK = 17 // { caddr_t break(char *nsize); } SYS_GETPID = 20 // { pid_t getpid(void); } SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); } SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); } @@ -43,7 +42,6 @@ const ( SYS_KILL = 37 // { int kill(int pid, int signum); } SYS_GETPPID = 39 // { pid_t getppid(void); } SYS_DUP = 41 // { int dup(u_int fd); } - SYS_PIPE = 42 // { int pipe(void); } SYS_GETEGID = 43 // { gid_t getegid(void); } SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); } SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); } @@ -58,15 +56,14 @@ const ( SYS_SYMLINK = 57 // { int symlink(char *path, char *link); } SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); } SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); } - SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int + SYS_UMASK = 60 // { int umask(int newmask); } SYS_CHROOT = 61 // { int chroot(char *path); } SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); } SYS_VFORK = 66 // { int vfork(void); } SYS_SBRK = 69 // { int sbrk(int incr); } SYS_SSTK = 70 // { int sstk(int incr); } - SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise ovadvise_args int SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); } - SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, int prot); } + SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); } SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); } SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); } SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); } @@ -124,14 +121,10 @@ const ( SYS_SETGID = 181 // { int setgid(gid_t gid); } SYS_SETEGID = 182 // { int setegid(gid_t egid); } SYS_SETEUID = 183 // { int seteuid(uid_t euid); } - SYS_STAT = 188 // { int stat(char *path, struct stat *ub); } - SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); } - SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); } SYS_PATHCONF = 191 // { int pathconf(char *path, int name); } SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); } SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int - SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int count, long *basep); } SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); } SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); } @@ -143,12 +136,12 @@ const ( SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); } SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); } SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } - SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } + SYS_MSGRCV = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); } SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); } SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); } SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); } - SYS_CLOCK_SETTIME = 233 // { int clock_settime( clockid_t clock_id, const struct timespec *tp); } + SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); } SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); } SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); } SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); } @@ -157,50 +150,44 @@ const ( SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); } SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); } - SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( struct ffclock_estimate *cest); } - SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( struct ffclock_estimate *cest); } + SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); } + SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); } SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); } - SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,int which, clockid_t *clock_id); } + SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); } SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); } SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); } SYS_RFORK = 251 // { int rfork(int flags); } - SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, int timeout); } SYS_ISSETUGID = 253 // { int issetugid(void); } SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); } SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); } SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); } - SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); } - SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, size_t count); } + SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); } SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); } SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); } - SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); } - SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); } - SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); } SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); } - SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } SYS_MODNEXT = 300 // { int modnext(int modid); } - SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat *stat); } + SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat* stat); } SYS_MODFNEXT = 302 // { int modfnext(int modid); } SYS_MODFIND = 303 // { int modfind(const char *name); } SYS_KLDLOAD = 304 // { int kldload(const char *file); } SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); } SYS_KLDFIND = 306 // { int kldfind(const char *file); } SYS_KLDNEXT = 307 // { int kldnext(int fileid); } - SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); } + SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat *stat); } SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); } SYS_GETSID = 310 // { int getsid(pid_t pid); } SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); } SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); } SYS_AIO_RETURN = 314 // { ssize_t aio_return(struct aiocb *aiocbp); } - SYS_AIO_SUSPEND = 315 // { int aio_suspend( struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } + SYS_AIO_SUSPEND = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); } SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); } SYS_YIELD = 321 // { int yield(void); } SYS_MLOCKALL = 324 // { int mlockall(int how); } SYS_MUNLOCKALL = 325 // { int munlockall(void); } - SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); } + SYS___GETCWD = 326 // { int __getcwd(char *buf, size_t buflen); } SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); } SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); } SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); } @@ -226,14 +213,13 @@ const ( SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); } SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); } SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); } - SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } - SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); } - SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete( struct aiocb **aiocbp, struct timespec *timeout); } + SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); } SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); } SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } SYS_KQUEUE = 362 // { int kqueue(void); } - SYS_KEVENT = 363 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); } @@ -251,10 +237,6 @@ const ( SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); } SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); } SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); } - SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } - SYS_STATFS = 396 // { int statfs(char *path, struct statfs *buf); } - SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); } - SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); } SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); } SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); } @@ -267,14 +249,14 @@ const ( SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); } SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); } SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); } - SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } - SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } - SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( const char *path, int attrnamespace, const char *attrname); } + SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); } SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); } SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); } - SYS_SIGRETURN = 417 // { int sigreturn( const struct __ucontext *sigcntxp); } + SYS_SIGRETURN = 417 // { int sigreturn(const struct __ucontext *sigcntxp); } SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); } - SYS_SETCONTEXT = 422 // { int setcontext( const struct __ucontext *ucp); } + SYS_SETCONTEXT = 422 // { int setcontext(const struct __ucontext *ucp); } SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); } SYS_SWAPOFF = 424 // { int swapoff(const char *name); } SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); } @@ -288,10 +270,10 @@ const ( SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); } SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); } SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); } - SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( const char *path, int attrnamespace, void *data, size_t nbytes); } - SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( const char *path, int attrnamespace, void *data, size_t nbytes); } + SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); } + SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); } SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); } - SYS_THR_SUSPEND = 442 // { int thr_suspend( const struct timespec *timeout); } + SYS_THR_SUSPEND = 442 // { int thr_suspend(const struct timespec *timeout); } SYS_THR_WAKE = 443 // { int thr_wake(long id); } SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); } SYS_AUDIT = 445 // { int audit(const void *record, u_int length); } @@ -300,17 +282,17 @@ const ( SYS_SETAUID = 448 // { int setauid(uid_t *auid); } SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); } SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); } - SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); } - SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( struct auditinfo_addr *auditinfo_addr, u_int length); } + SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } + SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } SYS_AUDITCTL = 453 // { int auditctl(char *path); } SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); } SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); } SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); } SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); } - SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } - SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } - SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len,unsigned msg_prio, const struct timespec *abs_timeout);} - SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } + SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } + SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } + SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); } + SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); } SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); } SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); } @@ -319,7 +301,7 @@ const ( SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); } SYS_SCTP_GENERIC_SENDMSG = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } - SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr * from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } + SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); } SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); } SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); } @@ -338,14 +320,12 @@ const ( SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); } SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); } SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); } - SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); } SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); } SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); } SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); } - SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); } - SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, size_t bufsize); } + SYS_READLINKAT = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); } SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); } SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); } SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); } @@ -391,7 +371,24 @@ const ( SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); } SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); } SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); } - SYS_NUMA_GETAFFINITY = 548 // { int numa_getaffinity(cpuwhich_t which, id_t id, struct vm_domain_policy_entry *policy); } - SYS_NUMA_SETAFFINITY = 549 // { int numa_setaffinity(cpuwhich_t which, id_t id, const struct vm_domain_policy_entry *policy); } SYS_FDATASYNC = 550 // { int fdatasync(int fd); } + SYS_FSTAT = 551 // { int fstat(int fd, struct stat *sb); } + SYS_FSTATAT = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } + SYS_FHSTAT = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } + SYS_GETDIRENTRIES = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); } + SYS_STATFS = 555 // { int statfs(char *path, struct statfs *buf); } + SYS_FSTATFS = 556 // { int fstatfs(int fd, struct statfs *buf); } + SYS_GETFSSTAT = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } + SYS_FHSTATFS = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } + SYS_MKNODAT = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } + SYS_KEVENT = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } + SYS_CPUSET_GETDOMAIN = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); } + SYS_CPUSET_SETDOMAIN = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); } + SYS_GETRANDOM = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); } + SYS_GETFHAT = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); } + SYS_FHLINK = 565 // { int fhlink(struct fhandle *fhp, const char *to); } + SYS_FHLINKAT = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); } + SYS_FHREADLINK = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); } + SYS___SYSCTLBYNAME = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } + SYS_CLOSE_RANGE = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); } ) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go new file mode 100644 index 000000000000..ee37aaa0c906 --- /dev/null +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go @@ -0,0 +1,394 @@ +// go run mksysnum.go https://cgit.freebsd.org/src/plain/sys/kern/syscalls.master?h=stable/12 +// Code generated by the command above; see README.md. DO NOT EDIT. + +//go:build riscv64 && freebsd +// +build riscv64,freebsd + +package unix + +const ( + // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int + SYS_EXIT = 1 // { void sys_exit(int rval); } exit sys_exit_args void + SYS_FORK = 2 // { int fork(void); } + SYS_READ = 3 // { ssize_t read(int fd, void *buf, size_t nbyte); } + SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); } + SYS_OPEN = 5 // { int open(char *path, int flags, int mode); } + SYS_CLOSE = 6 // { int close(int fd); } + SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, struct rusage *rusage); } + SYS_LINK = 9 // { int link(char *path, char *link); } + SYS_UNLINK = 10 // { int unlink(char *path); } + SYS_CHDIR = 12 // { int chdir(char *path); } + SYS_FCHDIR = 13 // { int fchdir(int fd); } + SYS_CHMOD = 15 // { int chmod(char *path, int mode); } + SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); } + SYS_BREAK = 17 // { caddr_t break(char *nsize); } + SYS_GETPID = 20 // { pid_t getpid(void); } + SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, caddr_t data); } + SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); } + SYS_SETUID = 23 // { int setuid(uid_t uid); } + SYS_GETUID = 24 // { uid_t getuid(void); } + SYS_GETEUID = 25 // { uid_t geteuid(void); } + SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, int data); } + SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); } + SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, int flags); } + SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, int flags, struct sockaddr * __restrict from, __socklen_t * __restrict fromlenaddr); } + SYS_ACCEPT = 30 // { int accept(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen); } + SYS_GETPEERNAME = 31 // { int getpeername(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); } + SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, struct sockaddr * __restrict asa, __socklen_t * __restrict alen); } + SYS_ACCESS = 33 // { int access(char *path, int amode); } + SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); } + SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); } + SYS_SYNC = 36 // { int sync(void); } + SYS_KILL = 37 // { int kill(int pid, int signum); } + SYS_GETPPID = 39 // { pid_t getppid(void); } + SYS_DUP = 41 // { int dup(u_int fd); } + SYS_GETEGID = 43 // { gid_t getegid(void); } + SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, size_t offset, u_int scale); } + SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, int pid); } + SYS_GETGID = 47 // { gid_t getgid(void); } + SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int namelen); } + SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); } + SYS_ACCT = 51 // { int acct(char *path); } + SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, stack_t *oss); } + SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, caddr_t data); } + SYS_REBOOT = 55 // { int reboot(int opt); } + SYS_REVOKE = 56 // { int revoke(char *path); } + SYS_SYMLINK = 57 // { int symlink(char *path, char *link); } + SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, size_t count); } + SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); } + SYS_UMASK = 60 // { int umask(int newmask); } + SYS_CHROOT = 61 // { int chroot(char *path); } + SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); } + SYS_VFORK = 66 // { int vfork(void); } + SYS_SBRK = 69 // { int sbrk(int incr); } + SYS_SSTK = 70 // { int sstk(int incr); } + SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); } + SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); } + SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); } + SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, char *vec); } + SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); } + SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset); } + SYS_GETPGRP = 81 // { int getpgrp(void); } + SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); } + SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); } + SYS_SWAPON = 85 // { int swapon(char *name); } + SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv); } + SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); } + SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); } + SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); } + SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); } + SYS_FSYNC = 95 // { int fsync(int fd); } + SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, int prio); } + SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol); } + SYS_CONNECT = 98 // { int connect(int s, caddr_t name, int namelen); } + SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); } + SYS_BIND = 104 // { int bind(int s, caddr_t name, int namelen); } + SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, caddr_t val, int valsize); } + SYS_LISTEN = 106 // { int listen(int s, int backlog); } + SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, struct timezone *tzp); } + SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); } + SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, caddr_t val, int *avalsize); } + SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); } + SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, u_int iovcnt); } + SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, struct timezone *tzp); } + SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); } + SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); } + SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); } + SYS_SETREGID = 127 // { int setregid(int rgid, int egid); } + SYS_RENAME = 128 // { int rename(char *from, char *to); } + SYS_FLOCK = 131 // { int flock(int fd, int how); } + SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); } + SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, int flags, caddr_t to, int tolen); } + SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); } + SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, int *rsv); } + SYS_MKDIR = 136 // { int mkdir(char *path, int mode); } + SYS_RMDIR = 137 // { int rmdir(char *path); } + SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); } + SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, struct timeval *olddelta); } + SYS_SETSID = 147 // { int setsid(void); } + SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, caddr_t arg); } + SYS_NLM_SYSCALL = 154 // { int nlm_syscall(int debug_level, int grace_period, int addr_count, char **addrs); } + SYS_NFSSVC = 155 // { int nfssvc(int flag, caddr_t argp); } + SYS_LGETFH = 160 // { int lgetfh(char *fname, struct fhandle *fhp); } + SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); } + SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); } + SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, struct rtprio *rtp); } + SYS_SEMSYS = 169 // { int semsys(int which, int a2, int a3, int a4, int a5); } + SYS_MSGSYS = 170 // { int msgsys(int which, int a2, int a3, int a4, int a5, int a6); } + SYS_SHMSYS = 171 // { int shmsys(int which, int a2, int a3, int a4); } + SYS_SETFIB = 175 // { int setfib(int fibnum); } + SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); } + SYS_SETGID = 181 // { int setgid(gid_t gid); } + SYS_SETEGID = 182 // { int setegid(gid_t egid); } + SYS_SETEUID = 183 // { int seteuid(uid_t euid); } + SYS_PATHCONF = 191 // { int pathconf(char *path, int name); } + SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); } + SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *rlp); } getrlimit __getrlimit_args int + SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *rlp); } setrlimit __setrlimit_args int + SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } __sysctl sysctl_args int + SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); } + SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); } + SYS_UNDELETE = 205 // { int undelete(char *path); } + SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); } + SYS_GETPGID = 207 // { int getpgid(pid_t pid); } + SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, int timeout); } + SYS_SEMGET = 221 // { int semget(key_t key, int nsems, int semflg); } + SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, size_t nsops); } + SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); } + SYS_MSGSND = 226 // { int msgsnd(int msqid, const void *msgp, size_t msgsz, int msgflg); } + SYS_MSGRCV = 227 // { ssize_t msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); } + SYS_SHMAT = 228 // { int shmat(int shmid, const void *shmaddr, int shmflg); } + SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); } + SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); } + SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); } + SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); } + SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); } + SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid); } + SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); } + SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue); } + SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct itimerspec *value); } + SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); } + SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); } + SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); } + SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate(struct ffclock_estimate *cest); } + SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate(struct ffclock_estimate *cest); } + SYS_CLOCK_NANOSLEEP = 244 // { int clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp); } + SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id, int which, clockid_t *clock_id); } + SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); } + SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); } + SYS_RFORK = 251 // { int rfork(int flags); } + SYS_ISSETUGID = 253 // { int issetugid(void); } + SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); } + SYS_AIO_READ = 255 // { int aio_read(struct aiocb *aiocbp); } + SYS_AIO_WRITE = 256 // { int aio_write(struct aiocb *aiocbp); } + SYS_LIO_LISTIO = 257 // { int lio_listio(int mode, struct aiocb* const *acb_list, int nent, struct sigevent *sig); } + SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); } + SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); } + SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } + SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, u_int iovcnt, off_t offset); } + SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); } + SYS_MODNEXT = 300 // { int modnext(int modid); } + SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat* stat); } + SYS_MODFNEXT = 302 // { int modfnext(int modid); } + SYS_MODFIND = 303 // { int modfind(const char *name); } + SYS_KLDLOAD = 304 // { int kldload(const char *file); } + SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); } + SYS_KLDFIND = 306 // { int kldfind(const char *file); } + SYS_KLDNEXT = 307 // { int kldnext(int fileid); } + SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat *stat); } + SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); } + SYS_GETSID = 310 // { int getsid(pid_t pid); } + SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); } + SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); } + SYS_AIO_RETURN = 314 // { ssize_t aio_return(struct aiocb *aiocbp); } + SYS_AIO_SUSPEND = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } + SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); } + SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); } + SYS_YIELD = 321 // { int yield(void); } + SYS_MLOCKALL = 324 // { int mlockall(int how); } + SYS_MUNLOCKALL = 325 // { int munlockall(void); } + SYS___GETCWD = 326 // { int __getcwd(char *buf, size_t buflen); } + SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); } + SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); } + SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); } + SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); } + SYS_SCHED_YIELD = 331 // { int sched_yield (void); } + SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); } + SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); } + SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); } + SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); } + SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); } + SYS_JAIL = 338 // { int jail(struct jail *jail); } + SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, sigset_t *oset); } + SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); } + SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); } + SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, siginfo_t *info, const struct timespec *timeout); } + SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, siginfo_t *info); } + SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, acl_type_t type, struct acl *aclp); } + SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, acl_type_t type, struct acl *aclp); } + SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, struct acl *aclp); } + SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, struct acl *aclp); } + SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, acl_type_t type); } + SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); } + SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, acl_type_t type, struct acl *aclp); } + SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, struct acl *aclp); } + SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, const char *filename, int attrnamespace, const char *attrname); } + SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, int attrnamespace, const char *attrname); } + SYS_AIO_WAITCOMPLETE = 359 // { ssize_t aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); } + SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); } + SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } + SYS_KQUEUE = 362 // { int kqueue(void); } + SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, int attrnamespace, const char *attrname); } + SYS___SETUGID = 374 // { int __setugid(int flag); } + SYS_EACCESS = 376 // { int eaccess(char *path, int amode); } + SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, unsigned int iovcnt, int flags); } + SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); } + SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); } + SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, struct mac *mac_p); } + SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, struct mac *mac_p); } + SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, struct mac *mac_p); } + SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, struct mac *mac_p); } + SYS_KENV = 390 // { int kenv(int what, const char *name, char *value, int len); } + SYS_LCHFLAGS = 391 // { int lchflags(const char *path, u_long flags); } + SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); } + SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, struct sf_hdtr *hdtr, off_t *sbytes, int flags); } + SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, int call, void *arg); } + SYS_KSEM_CLOSE = 400 // { int ksem_close(semid_t id); } + SYS_KSEM_POST = 401 // { int ksem_post(semid_t id); } + SYS_KSEM_WAIT = 402 // { int ksem_wait(semid_t id); } + SYS_KSEM_TRYWAIT = 403 // { int ksem_trywait(semid_t id); } + SYS_KSEM_INIT = 404 // { int ksem_init(semid_t *idp, unsigned int value); } + SYS_KSEM_OPEN = 405 // { int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode, unsigned int value); } + SYS_KSEM_UNLINK = 406 // { int ksem_unlink(const char *name); } + SYS_KSEM_GETVALUE = 407 // { int ksem_getvalue(semid_t id, int *val); } + SYS_KSEM_DESTROY = 408 // { int ksem_destroy(semid_t id); } + SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, struct mac *mac_p); } + SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, struct mac *mac_p); } + SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, struct mac *mac_p); } + SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link(const char *path, int attrnamespace, const char *attrname, void *data, size_t nbytes); } + SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link(const char *path, int attrnamespace, const char *attrname); } + SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, char **envv, struct mac *mac_p); } + SYS_SIGACTION = 416 // { int sigaction(int sig, const struct sigaction *act, struct sigaction *oact); } + SYS_SIGRETURN = 417 // { int sigreturn(const struct __ucontext *sigcntxp); } + SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); } + SYS_SETCONTEXT = 422 // { int setcontext(const struct __ucontext *ucp); } + SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, const struct __ucontext *ucp); } + SYS_SWAPOFF = 424 // { int swapoff(const char *name); } + SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, acl_type_t type, struct acl *aclp); } + SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, acl_type_t type, struct acl *aclp); } + SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, acl_type_t type); } + SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, acl_type_t type, struct acl *aclp); } + SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, int *sig); } + SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, int flags); } + SYS_THR_EXIT = 431 // { void thr_exit(long *state); } + SYS_THR_SELF = 432 // { int thr_self(long *id); } + SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); } + SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); } + SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, int attrnamespace, void *data, size_t nbytes); } + SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file(const char *path, int attrnamespace, void *data, size_t nbytes); } + SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link(const char *path, int attrnamespace, void *data, size_t nbytes); } + SYS_KSEM_TIMEDWAIT = 441 // { int ksem_timedwait(semid_t id, const struct timespec *abstime); } + SYS_THR_SUSPEND = 442 // { int thr_suspend(const struct timespec *timeout); } + SYS_THR_WAKE = 443 // { int thr_wake(long id); } + SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); } + SYS_AUDIT = 445 // { int audit(const void *record, u_int length); } + SYS_AUDITON = 446 // { int auditon(int cmd, void *data, u_int length); } + SYS_GETAUID = 447 // { int getauid(uid_t *auid); } + SYS_SETAUID = 448 // { int setauid(uid_t *auid); } + SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); } + SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); } + SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } + SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr(struct auditinfo_addr *auditinfo_addr, u_int length); } + SYS_AUDITCTL = 453 // { int auditctl(char *path); } + SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, u_long val, void *uaddr1, void *uaddr2); } + SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, int param_size); } + SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); } + SYS_KMQ_OPEN = 457 // { int kmq_open(const char *path, int flags, mode_t mode, const struct mq_attr *attr); } + SYS_KMQ_SETATTR = 458 // { int kmq_setattr(int mqd, const struct mq_attr *attr, struct mq_attr *oattr); } + SYS_KMQ_TIMEDRECEIVE = 459 // { int kmq_timedreceive(int mqd, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout); } + SYS_KMQ_TIMEDSEND = 460 // { int kmq_timedsend(int mqd, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout); } + SYS_KMQ_NOTIFY = 461 // { int kmq_notify(int mqd, const struct sigevent *sigev); } + SYS_KMQ_UNLINK = 462 // { int kmq_unlink(const char *path); } + SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); } + SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); } + SYS_AIO_FSYNC = 465 // { int aio_fsync(int op, struct aiocb *aiocbp); } + SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, lwpid_t lwpid, struct rtprio *rtp); } + SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); } + SYS_SCTP_GENERIC_SENDMSG = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } + SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, caddr_t to, __socklen_t tolen, struct sctp_sndrcvinfo *sinfo, int flags); } + SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, struct sockaddr *from, __socklen_t *fromlenaddr, struct sctp_sndrcvinfo *sinfo, int *msg_flags); } + SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, size_t nbyte, off_t offset); } + SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, size_t nbyte, off_t offset); } + SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, int prot, int flags, int fd, off_t pos); } + SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, int whence); } + SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); } + SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); } + SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); } + SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, mode_t mode); } + SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); } + SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); } + SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, cpusetid_t setid); } + SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, cpuwhich_t which, id_t id, cpusetid_t *setid); } + SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, cpuset_t *mask); } + SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, cpuwhich_t which, id_t id, size_t cpusetsize, const cpuset_t *mask); } + SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, int flag); } + SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, int flag); } + SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, gid_t gid, int flag); } + SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, char **envv); } + SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, struct timeval *times); } + SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, char *path2, int flag); } + SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); } + SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); } + SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, mode_t mode); } + SYS_READLINKAT = 500 // { ssize_t readlinkat(int fd, char *path, char *buf, size_t bufsize); } + SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, char *new); } + SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, char *path2); } + SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); } + SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); } + SYS_GSSD_SYSCALL = 505 // { int gssd_syscall(char *path); } + SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, unsigned int iovcnt, int flags); } + SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, unsigned int iovcnt, int flags); } + SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); } + SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); } + SYS___SEMCTL = 510 // { int __semctl(int semid, int semnum, int cmd, union semun *arg); } + SYS_MSGCTL = 511 // { int msgctl(int msqid, int cmd, struct msqid_ds *buf); } + SYS_SHMCTL = 512 // { int shmctl(int shmid, int cmd, struct shmid_ds *buf); } + SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); } + SYS___CAP_RIGHTS_GET = 515 // { int __cap_rights_get(int version, int fd, cap_rights_t *rightsp); } + SYS_CAP_ENTER = 516 // { int cap_enter(void); } + SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); } + SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); } + SYS_PDKILL = 519 // { int pdkill(int fd, int signum); } + SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); } + SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, fd_set *ou, fd_set *ex, const struct timespec *ts, const sigset_t *sm); } + SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, size_t namelen); } + SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); } + SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } + SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } + SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } + SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } + SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, size_t inbuflen, void *outbufp, size_t outbuflen); } + SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, off_t offset, off_t len); } + SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, off_t len, int advice); } + SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, int *status, int options, struct __wrusage *wrusage, siginfo_t *info); } + SYS_CAP_RIGHTS_LIMIT = 533 // { int cap_rights_limit(int fd, cap_rights_t *rightsp); } + SYS_CAP_IOCTLS_LIMIT = 534 // { int cap_ioctls_limit(int fd, const u_long *cmds, size_t ncmds); } + SYS_CAP_IOCTLS_GET = 535 // { ssize_t cap_ioctls_get(int fd, u_long *cmds, size_t maxcmds); } + SYS_CAP_FCNTLS_LIMIT = 536 // { int cap_fcntls_limit(int fd, uint32_t fcntlrights); } + SYS_CAP_FCNTLS_GET = 537 // { int cap_fcntls_get(int fd, uint32_t *fcntlrightsp); } + SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, int namelen); } + SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, int namelen); } + SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, u_long flags, int atflag); } + SYS_ACCEPT4 = 541 // { int accept4(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen, int flags); } + SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); } + SYS_AIO_MLOCK = 543 // { int aio_mlock(struct aiocb *aiocbp); } + SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, int com, void *data); } + SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, const struct timespec *ts, const sigset_t *set); } + SYS_FUTIMENS = 546 // { int futimens(int fd, struct timespec *times); } + SYS_UTIMENSAT = 547 // { int utimensat(int fd, char *path, struct timespec *times, int flag); } + SYS_FDATASYNC = 550 // { int fdatasync(int fd); } + SYS_FSTAT = 551 // { int fstat(int fd, struct stat *sb); } + SYS_FSTATAT = 552 // { int fstatat(int fd, char *path, struct stat *buf, int flag); } + SYS_FHSTAT = 553 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } + SYS_GETDIRENTRIES = 554 // { ssize_t getdirentries(int fd, char *buf, size_t count, off_t *basep); } + SYS_STATFS = 555 // { int statfs(char *path, struct statfs *buf); } + SYS_FSTATFS = 556 // { int fstatfs(int fd, struct statfs *buf); } + SYS_GETFSSTAT = 557 // { int getfsstat(struct statfs *buf, long bufsize, int mode); } + SYS_FHSTATFS = 558 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } + SYS_MKNODAT = 559 // { int mknodat(int fd, char *path, mode_t mode, dev_t dev); } + SYS_KEVENT = 560 // { int kevent(int fd, struct kevent *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct timespec *timeout); } + SYS_CPUSET_GETDOMAIN = 561 // { int cpuset_getdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int *policy); } + SYS_CPUSET_SETDOMAIN = 562 // { int cpuset_setdomain(cpulevel_t level, cpuwhich_t which, id_t id, size_t domainsetsize, domainset_t *mask, int policy); } + SYS_GETRANDOM = 563 // { int getrandom(void *buf, size_t buflen, unsigned int flags); } + SYS_GETFHAT = 564 // { int getfhat(int fd, char *path, struct fhandle *fhp, int flags); } + SYS_FHLINK = 565 // { int fhlink(struct fhandle *fhp, const char *to); } + SYS_FHLINKAT = 566 // { int fhlinkat(struct fhandle *fhp, int tofd, const char *to,); } + SYS_FHREADLINK = 567 // { int fhreadlink(struct fhandle *fhp, char *buf, size_t bufsize); } + SYS___SYSCTLBYNAME = 570 // { int __sysctlbyname(const char *name, size_t namelen, void *old, size_t *oldlenp, void *new, size_t newlen); } + SYS_CLOSE_RANGE = 575 // { int close_range(u_int lowfd, u_int highfd, int flags); } +) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go new file mode 100644 index 000000000000..44a764c9917c --- /dev/null +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go @@ -0,0 +1,311 @@ +// go run linux/mksysnum.go -Wall -Werror -static -I/tmp/include /tmp/include/asm/unistd.h +// Code generated by the command above; see README.md. DO NOT EDIT. + +//go:build loong64 && linux +// +build loong64,linux + +package unix + +const ( + SYS_IO_SETUP = 0 + SYS_IO_DESTROY = 1 + SYS_IO_SUBMIT = 2 + SYS_IO_CANCEL = 3 + SYS_IO_GETEVENTS = 4 + SYS_SETXATTR = 5 + SYS_LSETXATTR = 6 + SYS_FSETXATTR = 7 + SYS_GETXATTR = 8 + SYS_LGETXATTR = 9 + SYS_FGETXATTR = 10 + SYS_LISTXATTR = 11 + SYS_LLISTXATTR = 12 + SYS_FLISTXATTR = 13 + SYS_REMOVEXATTR = 14 + SYS_LREMOVEXATTR = 15 + SYS_FREMOVEXATTR = 16 + SYS_GETCWD = 17 + SYS_LOOKUP_DCOOKIE = 18 + SYS_EVENTFD2 = 19 + SYS_EPOLL_CREATE1 = 20 + SYS_EPOLL_CTL = 21 + SYS_EPOLL_PWAIT = 22 + SYS_DUP = 23 + SYS_DUP3 = 24 + SYS_FCNTL = 25 + SYS_INOTIFY_INIT1 = 26 + SYS_INOTIFY_ADD_WATCH = 27 + SYS_INOTIFY_RM_WATCH = 28 + SYS_IOCTL = 29 + SYS_IOPRIO_SET = 30 + SYS_IOPRIO_GET = 31 + SYS_FLOCK = 32 + SYS_MKNODAT = 33 + SYS_MKDIRAT = 34 + SYS_UNLINKAT = 35 + SYS_SYMLINKAT = 36 + SYS_LINKAT = 37 + SYS_UMOUNT2 = 39 + SYS_MOUNT = 40 + SYS_PIVOT_ROOT = 41 + SYS_NFSSERVCTL = 42 + SYS_STATFS = 43 + SYS_FSTATFS = 44 + SYS_TRUNCATE = 45 + SYS_FTRUNCATE = 46 + SYS_FALLOCATE = 47 + SYS_FACCESSAT = 48 + SYS_CHDIR = 49 + SYS_FCHDIR = 50 + SYS_CHROOT = 51 + SYS_FCHMOD = 52 + SYS_FCHMODAT = 53 + SYS_FCHOWNAT = 54 + SYS_FCHOWN = 55 + SYS_OPENAT = 56 + SYS_CLOSE = 57 + SYS_VHANGUP = 58 + SYS_PIPE2 = 59 + SYS_QUOTACTL = 60 + SYS_GETDENTS64 = 61 + SYS_LSEEK = 62 + SYS_READ = 63 + SYS_WRITE = 64 + SYS_READV = 65 + SYS_WRITEV = 66 + SYS_PREAD64 = 67 + SYS_PWRITE64 = 68 + SYS_PREADV = 69 + SYS_PWRITEV = 70 + SYS_SENDFILE = 71 + SYS_PSELECT6 = 72 + SYS_PPOLL = 73 + SYS_SIGNALFD4 = 74 + SYS_VMSPLICE = 75 + SYS_SPLICE = 76 + SYS_TEE = 77 + SYS_READLINKAT = 78 + SYS_SYNC = 81 + SYS_FSYNC = 82 + SYS_FDATASYNC = 83 + SYS_SYNC_FILE_RANGE = 84 + SYS_TIMERFD_CREATE = 85 + SYS_TIMERFD_SETTIME = 86 + SYS_TIMERFD_GETTIME = 87 + SYS_UTIMENSAT = 88 + SYS_ACCT = 89 + SYS_CAPGET = 90 + SYS_CAPSET = 91 + SYS_PERSONALITY = 92 + SYS_EXIT = 93 + SYS_EXIT_GROUP = 94 + SYS_WAITID = 95 + SYS_SET_TID_ADDRESS = 96 + SYS_UNSHARE = 97 + SYS_FUTEX = 98 + SYS_SET_ROBUST_LIST = 99 + SYS_GET_ROBUST_LIST = 100 + SYS_NANOSLEEP = 101 + SYS_GETITIMER = 102 + SYS_SETITIMER = 103 + SYS_KEXEC_LOAD = 104 + SYS_INIT_MODULE = 105 + SYS_DELETE_MODULE = 106 + SYS_TIMER_CREATE = 107 + SYS_TIMER_GETTIME = 108 + SYS_TIMER_GETOVERRUN = 109 + SYS_TIMER_SETTIME = 110 + SYS_TIMER_DELETE = 111 + SYS_CLOCK_SETTIME = 112 + SYS_CLOCK_GETTIME = 113 + SYS_CLOCK_GETRES = 114 + SYS_CLOCK_NANOSLEEP = 115 + SYS_SYSLOG = 116 + SYS_PTRACE = 117 + SYS_SCHED_SETPARAM = 118 + SYS_SCHED_SETSCHEDULER = 119 + SYS_SCHED_GETSCHEDULER = 120 + SYS_SCHED_GETPARAM = 121 + SYS_SCHED_SETAFFINITY = 122 + SYS_SCHED_GETAFFINITY = 123 + SYS_SCHED_YIELD = 124 + SYS_SCHED_GET_PRIORITY_MAX = 125 + SYS_SCHED_GET_PRIORITY_MIN = 126 + SYS_SCHED_RR_GET_INTERVAL = 127 + SYS_RESTART_SYSCALL = 128 + SYS_KILL = 129 + SYS_TKILL = 130 + SYS_TGKILL = 131 + SYS_SIGALTSTACK = 132 + SYS_RT_SIGSUSPEND = 133 + SYS_RT_SIGACTION = 134 + SYS_RT_SIGPROCMASK = 135 + SYS_RT_SIGPENDING = 136 + SYS_RT_SIGTIMEDWAIT = 137 + SYS_RT_SIGQUEUEINFO = 138 + SYS_RT_SIGRETURN = 139 + SYS_SETPRIORITY = 140 + SYS_GETPRIORITY = 141 + SYS_REBOOT = 142 + SYS_SETREGID = 143 + SYS_SETGID = 144 + SYS_SETREUID = 145 + SYS_SETUID = 146 + SYS_SETRESUID = 147 + SYS_GETRESUID = 148 + SYS_SETRESGID = 149 + SYS_GETRESGID = 150 + SYS_SETFSUID = 151 + SYS_SETFSGID = 152 + SYS_TIMES = 153 + SYS_SETPGID = 154 + SYS_GETPGID = 155 + SYS_GETSID = 156 + SYS_SETSID = 157 + SYS_GETGROUPS = 158 + SYS_SETGROUPS = 159 + SYS_UNAME = 160 + SYS_SETHOSTNAME = 161 + SYS_SETDOMAINNAME = 162 + SYS_GETRUSAGE = 165 + SYS_UMASK = 166 + SYS_PRCTL = 167 + SYS_GETCPU = 168 + SYS_GETTIMEOFDAY = 169 + SYS_SETTIMEOFDAY = 170 + SYS_ADJTIMEX = 171 + SYS_GETPID = 172 + SYS_GETPPID = 173 + SYS_GETUID = 174 + SYS_GETEUID = 175 + SYS_GETGID = 176 + SYS_GETEGID = 177 + SYS_GETTID = 178 + SYS_SYSINFO = 179 + SYS_MQ_OPEN = 180 + SYS_MQ_UNLINK = 181 + SYS_MQ_TIMEDSEND = 182 + SYS_MQ_TIMEDRECEIVE = 183 + SYS_MQ_NOTIFY = 184 + SYS_MQ_GETSETATTR = 185 + SYS_MSGGET = 186 + SYS_MSGCTL = 187 + SYS_MSGRCV = 188 + SYS_MSGSND = 189 + SYS_SEMGET = 190 + SYS_SEMCTL = 191 + SYS_SEMTIMEDOP = 192 + SYS_SEMOP = 193 + SYS_SHMGET = 194 + SYS_SHMCTL = 195 + SYS_SHMAT = 196 + SYS_SHMDT = 197 + SYS_SOCKET = 198 + SYS_SOCKETPAIR = 199 + SYS_BIND = 200 + SYS_LISTEN = 201 + SYS_ACCEPT = 202 + SYS_CONNECT = 203 + SYS_GETSOCKNAME = 204 + SYS_GETPEERNAME = 205 + SYS_SENDTO = 206 + SYS_RECVFROM = 207 + SYS_SETSOCKOPT = 208 + SYS_GETSOCKOPT = 209 + SYS_SHUTDOWN = 210 + SYS_SENDMSG = 211 + SYS_RECVMSG = 212 + SYS_READAHEAD = 213 + SYS_BRK = 214 + SYS_MUNMAP = 215 + SYS_MREMAP = 216 + SYS_ADD_KEY = 217 + SYS_REQUEST_KEY = 218 + SYS_KEYCTL = 219 + SYS_CLONE = 220 + SYS_EXECVE = 221 + SYS_MMAP = 222 + SYS_FADVISE64 = 223 + SYS_SWAPON = 224 + SYS_SWAPOFF = 225 + SYS_MPROTECT = 226 + SYS_MSYNC = 227 + SYS_MLOCK = 228 + SYS_MUNLOCK = 229 + SYS_MLOCKALL = 230 + SYS_MUNLOCKALL = 231 + SYS_MINCORE = 232 + SYS_MADVISE = 233 + SYS_REMAP_FILE_PAGES = 234 + SYS_MBIND = 235 + SYS_GET_MEMPOLICY = 236 + SYS_SET_MEMPOLICY = 237 + SYS_MIGRATE_PAGES = 238 + SYS_MOVE_PAGES = 239 + SYS_RT_TGSIGQUEUEINFO = 240 + SYS_PERF_EVENT_OPEN = 241 + SYS_ACCEPT4 = 242 + SYS_RECVMMSG = 243 + SYS_ARCH_SPECIFIC_SYSCALL = 244 + SYS_WAIT4 = 260 + SYS_PRLIMIT64 = 261 + SYS_FANOTIFY_INIT = 262 + SYS_FANOTIFY_MARK = 263 + SYS_NAME_TO_HANDLE_AT = 264 + SYS_OPEN_BY_HANDLE_AT = 265 + SYS_CLOCK_ADJTIME = 266 + SYS_SYNCFS = 267 + SYS_SETNS = 268 + SYS_SENDMMSG = 269 + SYS_PROCESS_VM_READV = 270 + SYS_PROCESS_VM_WRITEV = 271 + SYS_KCMP = 272 + SYS_FINIT_MODULE = 273 + SYS_SCHED_SETATTR = 274 + SYS_SCHED_GETATTR = 275 + SYS_RENAMEAT2 = 276 + SYS_SECCOMP = 277 + SYS_GETRANDOM = 278 + SYS_MEMFD_CREATE = 279 + SYS_BPF = 280 + SYS_EXECVEAT = 281 + SYS_USERFAULTFD = 282 + SYS_MEMBARRIER = 283 + SYS_MLOCK2 = 284 + SYS_COPY_FILE_RANGE = 285 + SYS_PREADV2 = 286 + SYS_PWRITEV2 = 287 + SYS_PKEY_MPROTECT = 288 + SYS_PKEY_ALLOC = 289 + SYS_PKEY_FREE = 290 + SYS_STATX = 291 + SYS_IO_PGETEVENTS = 292 + SYS_RSEQ = 293 + SYS_KEXEC_FILE_LOAD = 294 + SYS_PIDFD_SEND_SIGNAL = 424 + SYS_IO_URING_SETUP = 425 + SYS_IO_URING_ENTER = 426 + SYS_IO_URING_REGISTER = 427 + SYS_OPEN_TREE = 428 + SYS_MOVE_MOUNT = 429 + SYS_FSOPEN = 430 + SYS_FSCONFIG = 431 + SYS_FSMOUNT = 432 + SYS_FSPICK = 433 + SYS_PIDFD_OPEN = 434 + SYS_CLONE3 = 435 + SYS_CLOSE_RANGE = 436 + SYS_OPENAT2 = 437 + SYS_PIDFD_GETFD = 438 + SYS_FACCESSAT2 = 439 + SYS_PROCESS_MADVISE = 440 + SYS_EPOLL_PWAIT2 = 441 + SYS_MOUNT_SETATTR = 442 + SYS_QUOTACTL_FD = 443 + SYS_LANDLOCK_CREATE_RULESET = 444 + SYS_LANDLOCK_ADD_RULE = 445 + SYS_LANDLOCK_RESTRICT_SELF = 446 + SYS_PROCESS_MRELEASE = 448 + SYS_FUTEX_WAITV = 449 + SYS_SET_MEMPOLICY_HOME_NODE = 450 +) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go index c3a5af8623b8..3a9c96b28820 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go @@ -309,6 +309,7 @@ const ( SYS_LANDLOCK_CREATE_RULESET = 444 SYS_LANDLOCK_ADD_RULE = 445 SYS_LANDLOCK_RESTRICT_SELF = 446 + SYS_MEMFD_SECRET = 447 SYS_PROCESS_MRELEASE = 448 SYS_FUTEX_WAITV = 449 SYS_SET_MEMPOLICY_HOME_NODE = 450 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go index 885842c0eb40..e2a64f0991a0 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go @@ -366,30 +366,57 @@ type ICMPv6Filter struct { Filt [8]uint32 } +type TCPConnectionInfo struct { + State uint8 + Snd_wscale uint8 + Rcv_wscale uint8 + _ uint8 + Options uint32 + Flags uint32 + Rto uint32 + Maxseg uint32 + Snd_ssthresh uint32 + Snd_cwnd uint32 + Snd_wnd uint32 + Snd_sbbytes uint32 + Rcv_wnd uint32 + Rttcur uint32 + Srtt uint32 + Rttvar uint32 + Txpackets uint64 + Txbytes uint64 + Txretransmitbytes uint64 + Rxpackets uint64 + Rxbytes uint64 + Rxoutoforderbytes uint64 + Txretransmitpackets uint64 +} + const ( - SizeofSockaddrInet4 = 0x10 - SizeofSockaddrInet6 = 0x1c - SizeofSockaddrAny = 0x6c - SizeofSockaddrUnix = 0x6a - SizeofSockaddrDatalink = 0x14 - SizeofSockaddrCtl = 0x20 - SizeofSockaddrVM = 0xc - SizeofXvsockpcb = 0xa8 - SizeofXSocket = 0x64 - SizeofXSockbuf = 0x18 - SizeofXVSockPgen = 0x20 - SizeofXucred = 0x4c - SizeofLinger = 0x8 - SizeofIovec = 0x10 - SizeofIPMreq = 0x8 - SizeofIPMreqn = 0xc - SizeofIPv6Mreq = 0x14 - SizeofMsghdr = 0x30 - SizeofCmsghdr = 0xc - SizeofInet4Pktinfo = 0xc - SizeofInet6Pktinfo = 0x14 - SizeofIPv6MTUInfo = 0x20 - SizeofICMPv6Filter = 0x20 + SizeofSockaddrInet4 = 0x10 + SizeofSockaddrInet6 = 0x1c + SizeofSockaddrAny = 0x6c + SizeofSockaddrUnix = 0x6a + SizeofSockaddrDatalink = 0x14 + SizeofSockaddrCtl = 0x20 + SizeofSockaddrVM = 0xc + SizeofXvsockpcb = 0xa8 + SizeofXSocket = 0x64 + SizeofXSockbuf = 0x18 + SizeofXVSockPgen = 0x20 + SizeofXucred = 0x4c + SizeofLinger = 0x8 + SizeofIovec = 0x10 + SizeofIPMreq = 0x8 + SizeofIPMreqn = 0xc + SizeofIPv6Mreq = 0x14 + SizeofMsghdr = 0x30 + SizeofCmsghdr = 0xc + SizeofInet4Pktinfo = 0xc + SizeofInet6Pktinfo = 0x14 + SizeofIPv6MTUInfo = 0x20 + SizeofICMPv6Filter = 0x20 + SizeofTCPConnectionInfo = 0x70 ) const ( diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go index b23c02337db3..34aa775219f0 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go @@ -366,30 +366,57 @@ type ICMPv6Filter struct { Filt [8]uint32 } +type TCPConnectionInfo struct { + State uint8 + Snd_wscale uint8 + Rcv_wscale uint8 + _ uint8 + Options uint32 + Flags uint32 + Rto uint32 + Maxseg uint32 + Snd_ssthresh uint32 + Snd_cwnd uint32 + Snd_wnd uint32 + Snd_sbbytes uint32 + Rcv_wnd uint32 + Rttcur uint32 + Srtt uint32 + Rttvar uint32 + Txpackets uint64 + Txbytes uint64 + Txretransmitbytes uint64 + Rxpackets uint64 + Rxbytes uint64 + Rxoutoforderbytes uint64 + Txretransmitpackets uint64 +} + const ( - SizeofSockaddrInet4 = 0x10 - SizeofSockaddrInet6 = 0x1c - SizeofSockaddrAny = 0x6c - SizeofSockaddrUnix = 0x6a - SizeofSockaddrDatalink = 0x14 - SizeofSockaddrCtl = 0x20 - SizeofSockaddrVM = 0xc - SizeofXvsockpcb = 0xa8 - SizeofXSocket = 0x64 - SizeofXSockbuf = 0x18 - SizeofXVSockPgen = 0x20 - SizeofXucred = 0x4c - SizeofLinger = 0x8 - SizeofIovec = 0x10 - SizeofIPMreq = 0x8 - SizeofIPMreqn = 0xc - SizeofIPv6Mreq = 0x14 - SizeofMsghdr = 0x30 - SizeofCmsghdr = 0xc - SizeofInet4Pktinfo = 0xc - SizeofInet6Pktinfo = 0x14 - SizeofIPv6MTUInfo = 0x20 - SizeofICMPv6Filter = 0x20 + SizeofSockaddrInet4 = 0x10 + SizeofSockaddrInet6 = 0x1c + SizeofSockaddrAny = 0x6c + SizeofSockaddrUnix = 0x6a + SizeofSockaddrDatalink = 0x14 + SizeofSockaddrCtl = 0x20 + SizeofSockaddrVM = 0xc + SizeofXvsockpcb = 0xa8 + SizeofXSocket = 0x64 + SizeofXSockbuf = 0x18 + SizeofXVSockPgen = 0x20 + SizeofXucred = 0x4c + SizeofLinger = 0x8 + SizeofIovec = 0x10 + SizeofIPMreq = 0x8 + SizeofIPMreqn = 0xc + SizeofIPv6Mreq = 0x14 + SizeofMsghdr = 0x30 + SizeofCmsghdr = 0xc + SizeofInet4Pktinfo = 0xc + SizeofInet6Pktinfo = 0x14 + SizeofIPv6MTUInfo = 0x20 + SizeofICMPv6Filter = 0x20 + SizeofTCPConnectionInfo = 0x70 ) const ( diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go index 4eec078e5249..dea0c9a607d8 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go @@ -90,27 +90,6 @@ type Stat_t struct { Spare [10]uint64 } -type stat_freebsd11_t struct { - Dev uint32 - Ino uint32 - Mode uint16 - Nlink uint16 - Uid uint32 - Gid uint32 - Rdev uint32 - Atim Timespec - Mtim Timespec - Ctim Timespec - Size int64 - Blocks int64 - Blksize int32 - Flags uint32 - Gen uint32 - Lspare int32 - Btim Timespec - _ [8]byte -} - type Statfs_t struct { Version uint32 Type uint32 @@ -136,31 +115,6 @@ type Statfs_t struct { Mntonname [1024]byte } -type statfs_freebsd11_t struct { - Version uint32 - Type uint32 - Flags uint64 - Bsize uint64 - Iosize uint64 - Blocks uint64 - Bfree uint64 - Bavail int64 - Files uint64 - Ffree int64 - Syncwrites uint64 - Asyncwrites uint64 - Syncreads uint64 - Asyncreads uint64 - Spare [10]uint64 - Namemax uint32 - Owner uint32 - Fsid Fsid - Charspare [80]int8 - Fstypename [16]byte - Mntfromname [88]byte - Mntonname [88]byte -} - type Flock_t struct { Start int64 Len int64 @@ -181,14 +135,6 @@ type Dirent struct { Name [256]int8 } -type dirent_freebsd11 struct { - Fileno uint32 - Reclen uint16 - Type uint8 - Namlen uint8 - Name [256]int8 -} - type Fsid struct { Val [2]int32 } @@ -337,41 +283,9 @@ const ( ) const ( - PTRACE_ATTACH = 0xa - PTRACE_CONT = 0x7 - PTRACE_DETACH = 0xb - PTRACE_GETFPREGS = 0x23 - PTRACE_GETFSBASE = 0x47 - PTRACE_GETLWPLIST = 0xf - PTRACE_GETNUMLWPS = 0xe - PTRACE_GETREGS = 0x21 - PTRACE_GETXSTATE = 0x45 - PTRACE_IO = 0xc - PTRACE_KILL = 0x8 - PTRACE_LWPEVENTS = 0x18 - PTRACE_LWPINFO = 0xd - PTRACE_SETFPREGS = 0x24 - PTRACE_SETREGS = 0x22 - PTRACE_SINGLESTEP = 0x9 - PTRACE_TRACEME = 0x0 -) - -const ( - PIOD_READ_D = 0x1 - PIOD_WRITE_D = 0x2 - PIOD_READ_I = 0x3 - PIOD_WRITE_I = 0x4 -) - -const ( - PL_FLAG_BORN = 0x100 - PL_FLAG_EXITED = 0x200 - PL_FLAG_SI = 0x20 -) - -const ( - TRAP_BRKPT = 0x1 - TRAP_TRACE = 0x2 + PTRACE_TRACEME = 0x0 + PTRACE_CONT = 0x7 + PTRACE_KILL = 0x8 ) type PtraceLwpInfoStruct struct { @@ -432,6 +346,8 @@ type FpReg struct { Pad [64]uint8 } +type FpExtendedPrecision struct{} + type PtraceIoDesc struct { Op int32 Offs *byte @@ -444,8 +360,9 @@ type Kevent_t struct { Filter int16 Flags uint16 Fflags uint32 - Data int32 + Data int64 Udata *byte + Ext [4]uint64 } type FdSet struct { diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go index 7622904a532f..da0ea0d608a8 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go @@ -86,26 +86,6 @@ type Stat_t struct { Spare [10]uint64 } -type stat_freebsd11_t struct { - Dev uint32 - Ino uint32 - Mode uint16 - Nlink uint16 - Uid uint32 - Gid uint32 - Rdev uint32 - Atim Timespec - Mtim Timespec - Ctim Timespec - Size int64 - Blocks int64 - Blksize int32 - Flags uint32 - Gen uint32 - Lspare int32 - Btim Timespec -} - type Statfs_t struct { Version uint32 Type uint32 @@ -131,31 +111,6 @@ type Statfs_t struct { Mntonname [1024]byte } -type statfs_freebsd11_t struct { - Version uint32 - Type uint32 - Flags uint64 - Bsize uint64 - Iosize uint64 - Blocks uint64 - Bfree uint64 - Bavail int64 - Files uint64 - Ffree int64 - Syncwrites uint64 - Asyncwrites uint64 - Syncreads uint64 - Asyncreads uint64 - Spare [10]uint64 - Namemax uint32 - Owner uint32 - Fsid Fsid - Charspare [80]int8 - Fstypename [16]byte - Mntfromname [88]byte - Mntonname [88]byte -} - type Flock_t struct { Start int64 Len int64 @@ -177,14 +132,6 @@ type Dirent struct { Name [256]int8 } -type dirent_freebsd11 struct { - Fileno uint32 - Reclen uint16 - Type uint8 - Namlen uint8 - Name [256]int8 -} - type Fsid struct { Val [2]int32 } @@ -333,41 +280,9 @@ const ( ) const ( - PTRACE_ATTACH = 0xa - PTRACE_CONT = 0x7 - PTRACE_DETACH = 0xb - PTRACE_GETFPREGS = 0x23 - PTRACE_GETFSBASE = 0x47 - PTRACE_GETLWPLIST = 0xf - PTRACE_GETNUMLWPS = 0xe - PTRACE_GETREGS = 0x21 - PTRACE_GETXSTATE = 0x45 - PTRACE_IO = 0xc - PTRACE_KILL = 0x8 - PTRACE_LWPEVENTS = 0x18 - PTRACE_LWPINFO = 0xd - PTRACE_SETFPREGS = 0x24 - PTRACE_SETREGS = 0x22 - PTRACE_SINGLESTEP = 0x9 - PTRACE_TRACEME = 0x0 -) - -const ( - PIOD_READ_D = 0x1 - PIOD_WRITE_D = 0x2 - PIOD_READ_I = 0x3 - PIOD_WRITE_I = 0x4 -) - -const ( - PL_FLAG_BORN = 0x100 - PL_FLAG_EXITED = 0x200 - PL_FLAG_SI = 0x20 -) - -const ( - TRAP_BRKPT = 0x1 - TRAP_TRACE = 0x2 + PTRACE_TRACEME = 0x0 + PTRACE_CONT = 0x7 + PTRACE_KILL = 0x8 ) type PtraceLwpInfoStruct struct { @@ -435,6 +350,8 @@ type FpReg struct { Spare [12]uint64 } +type FpExtendedPrecision struct{} + type PtraceIoDesc struct { Op int32 Offs *byte @@ -449,6 +366,7 @@ type Kevent_t struct { Fflags uint32 Data int64 Udata *byte + Ext [4]uint64 } type FdSet struct { diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go index 19223ce8ecf9..da8f7404509c 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go @@ -33,7 +33,7 @@ type Timeval struct { _ [4]byte } -type Time_t int32 +type Time_t int64 type Rusage struct { Utime Timeval @@ -88,26 +88,6 @@ type Stat_t struct { Spare [10]uint64 } -type stat_freebsd11_t struct { - Dev uint32 - Ino uint32 - Mode uint16 - Nlink uint16 - Uid uint32 - Gid uint32 - Rdev uint32 - Atim Timespec - Mtim Timespec - Ctim Timespec - Size int64 - Blocks int64 - Blksize int32 - Flags uint32 - Gen uint32 - Lspare int32 - Btim Timespec -} - type Statfs_t struct { Version uint32 Type uint32 @@ -133,31 +113,6 @@ type Statfs_t struct { Mntonname [1024]byte } -type statfs_freebsd11_t struct { - Version uint32 - Type uint32 - Flags uint64 - Bsize uint64 - Iosize uint64 - Blocks uint64 - Bfree uint64 - Bavail int64 - Files uint64 - Ffree int64 - Syncwrites uint64 - Asyncwrites uint64 - Syncreads uint64 - Asyncreads uint64 - Spare [10]uint64 - Namemax uint32 - Owner uint32 - Fsid Fsid - Charspare [80]int8 - Fstypename [16]byte - Mntfromname [88]byte - Mntonname [88]byte -} - type Flock_t struct { Start int64 Len int64 @@ -179,14 +134,6 @@ type Dirent struct { Name [256]int8 } -type dirent_freebsd11 struct { - Fileno uint32 - Reclen uint16 - Type uint8 - Namlen uint8 - Name [256]int8 -} - type Fsid struct { Val [2]int32 } @@ -335,41 +282,9 @@ const ( ) const ( - PTRACE_ATTACH = 0xa - PTRACE_CONT = 0x7 - PTRACE_DETACH = 0xb - PTRACE_GETFPREGS = 0x23 - PTRACE_GETFSBASE = 0x47 - PTRACE_GETLWPLIST = 0xf - PTRACE_GETNUMLWPS = 0xe - PTRACE_GETREGS = 0x21 - PTRACE_GETXSTATE = 0x45 - PTRACE_IO = 0xc - PTRACE_KILL = 0x8 - PTRACE_LWPEVENTS = 0x18 - PTRACE_LWPINFO = 0xd - PTRACE_SETFPREGS = 0x24 - PTRACE_SETREGS = 0x22 - PTRACE_SINGLESTEP = 0x9 - PTRACE_TRACEME = 0x0 -) - -const ( - PIOD_READ_D = 0x1 - PIOD_WRITE_D = 0x2 - PIOD_READ_I = 0x3 - PIOD_WRITE_I = 0x4 -) - -const ( - PL_FLAG_BORN = 0x100 - PL_FLAG_EXITED = 0x200 - PL_FLAG_SI = 0x20 -) - -const ( - TRAP_BRKPT = 0x1 - TRAP_TRACE = 0x2 + PTRACE_TRACEME = 0x0 + PTRACE_CONT = 0x7 + PTRACE_KILL = 0x8 ) type PtraceLwpInfoStruct struct { @@ -386,15 +301,15 @@ type PtraceLwpInfoStruct struct { } type __Siginfo struct { - Signo int32 - Errno int32 - Code int32 - Pid int32 - Uid uint32 - Status int32 - Addr *byte - Value [4]byte - X_reason [32]byte + Signo int32 + Errno int32 + Code int32 + Pid int32 + Uid uint32 + Status int32 + Addr *byte + Value [4]byte + _ [32]byte } type Sigset_t struct { @@ -402,16 +317,22 @@ type Sigset_t struct { } type Reg struct { - R [13]uint32 - R_sp uint32 - R_lr uint32 - R_pc uint32 - R_cpsr uint32 + R [13]uint32 + Sp uint32 + Lr uint32 + Pc uint32 + Cpsr uint32 } type FpReg struct { - Fpr_fpsr uint32 - Fpr [8][3]uint32 + Fpsr uint32 + Fpr [8]FpExtendedPrecision +} + +type FpExtendedPrecision struct { + Exponent uint32 + Mantissa_hi uint32 + Mantissa_lo uint32 } type PtraceIoDesc struct { @@ -426,8 +347,11 @@ type Kevent_t struct { Filter int16 Flags uint16 Fflags uint32 - Data int32 + _ [4]byte + Data int64 Udata *byte + _ [4]byte + Ext [4]uint64 } type FdSet struct { @@ -453,7 +377,7 @@ type ifMsghdr struct { Addrs int32 Flags int32 Index uint16 - _ [2]byte + _ uint16 Data ifData } @@ -464,7 +388,6 @@ type IfMsghdr struct { Addrs int32 Flags int32 Index uint16 - _ [2]byte Data IfData } @@ -532,7 +455,7 @@ type IfaMsghdr struct { Addrs int32 Flags int32 Index uint16 - _ [2]byte + _ uint16 Metric int32 } @@ -543,7 +466,7 @@ type IfmaMsghdr struct { Addrs int32 Flags int32 Index uint16 - _ [2]byte + _ uint16 } type IfAnnounceMsghdr struct { @@ -560,7 +483,7 @@ type RtMsghdr struct { Version uint8 Type uint8 Index uint16 - _ [2]byte + _ uint16 Flags int32 Addrs int32 Pid int32 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go index 8e3e33f67905..d69988e5e58e 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go @@ -86,26 +86,6 @@ type Stat_t struct { Spare [10]uint64 } -type stat_freebsd11_t struct { - Dev uint32 - Ino uint32 - Mode uint16 - Nlink uint16 - Uid uint32 - Gid uint32 - Rdev uint32 - Atim Timespec - Mtim Timespec - Ctim Timespec - Size int64 - Blocks int64 - Blksize int32 - Flags uint32 - Gen uint32 - Lspare int32 - Btim Timespec -} - type Statfs_t struct { Version uint32 Type uint32 @@ -131,31 +111,6 @@ type Statfs_t struct { Mntonname [1024]byte } -type statfs_freebsd11_t struct { - Version uint32 - Type uint32 - Flags uint64 - Bsize uint64 - Iosize uint64 - Blocks uint64 - Bfree uint64 - Bavail int64 - Files uint64 - Ffree int64 - Syncwrites uint64 - Asyncwrites uint64 - Syncreads uint64 - Asyncreads uint64 - Spare [10]uint64 - Namemax uint32 - Owner uint32 - Fsid Fsid - Charspare [80]int8 - Fstypename [16]byte - Mntfromname [88]byte - Mntonname [88]byte -} - type Flock_t struct { Start int64 Len int64 @@ -177,14 +132,6 @@ type Dirent struct { Name [256]int8 } -type dirent_freebsd11 struct { - Fileno uint32 - Reclen uint16 - Type uint8 - Namlen uint8 - Name [256]int8 -} - type Fsid struct { Val [2]int32 } @@ -333,39 +280,9 @@ const ( ) const ( - PTRACE_ATTACH = 0xa - PTRACE_CONT = 0x7 - PTRACE_DETACH = 0xb - PTRACE_GETFPREGS = 0x23 - PTRACE_GETLWPLIST = 0xf - PTRACE_GETNUMLWPS = 0xe - PTRACE_GETREGS = 0x21 - PTRACE_IO = 0xc - PTRACE_KILL = 0x8 - PTRACE_LWPEVENTS = 0x18 - PTRACE_LWPINFO = 0xd - PTRACE_SETFPREGS = 0x24 - PTRACE_SETREGS = 0x22 - PTRACE_SINGLESTEP = 0x9 - PTRACE_TRACEME = 0x0 -) - -const ( - PIOD_READ_D = 0x1 - PIOD_WRITE_D = 0x2 - PIOD_READ_I = 0x3 - PIOD_WRITE_I = 0x4 -) - -const ( - PL_FLAG_BORN = 0x100 - PL_FLAG_EXITED = 0x200 - PL_FLAG_SI = 0x20 -) - -const ( - TRAP_BRKPT = 0x1 - TRAP_TRACE = 0x2 + PTRACE_TRACEME = 0x0 + PTRACE_CONT = 0x7 + PTRACE_KILL = 0x8 ) type PtraceLwpInfoStruct struct { @@ -413,6 +330,8 @@ type FpReg struct { _ [8]byte } +type FpExtendedPrecision struct{} + type PtraceIoDesc struct { Op int32 Offs *byte @@ -427,6 +346,7 @@ type Kevent_t struct { Fflags uint32 Data int64 Udata *byte + Ext [4]uint64 } type FdSet struct { diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go new file mode 100644 index 000000000000..d6fd9e88382e --- /dev/null +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go @@ -0,0 +1,626 @@ +// cgo -godefs -- -fsigned-char types_freebsd.go | go run mkpost.go +// Code generated by the command above; see README.md. DO NOT EDIT. + +//go:build riscv64 && freebsd +// +build riscv64,freebsd + +package unix + +const ( + SizeofPtr = 0x8 + SizeofShort = 0x2 + SizeofInt = 0x4 + SizeofLong = 0x8 + SizeofLongLong = 0x8 +) + +type ( + _C_short int16 + _C_int int32 + _C_long int64 + _C_long_long int64 +) + +type Timespec struct { + Sec int64 + Nsec int64 +} + +type Timeval struct { + Sec int64 + Usec int64 +} + +type Time_t int64 + +type Rusage struct { + Utime Timeval + Stime Timeval + Maxrss int64 + Ixrss int64 + Idrss int64 + Isrss int64 + Minflt int64 + Majflt int64 + Nswap int64 + Inblock int64 + Oublock int64 + Msgsnd int64 + Msgrcv int64 + Nsignals int64 + Nvcsw int64 + Nivcsw int64 +} + +type Rlimit struct { + Cur int64 + Max int64 +} + +type _Gid_t uint32 + +const ( + _statfsVersion = 0x20140518 + _dirblksiz = 0x400 +) + +type Stat_t struct { + Dev uint64 + Ino uint64 + Nlink uint64 + Mode uint16 + _0 int16 + Uid uint32 + Gid uint32 + _1 int32 + Rdev uint64 + Atim Timespec + Mtim Timespec + Ctim Timespec + Btim Timespec + Size int64 + Blocks int64 + Blksize int32 + Flags uint32 + Gen uint64 + Spare [10]uint64 +} + +type Statfs_t struct { + Version uint32 + Type uint32 + Flags uint64 + Bsize uint64 + Iosize uint64 + Blocks uint64 + Bfree uint64 + Bavail int64 + Files uint64 + Ffree int64 + Syncwrites uint64 + Asyncwrites uint64 + Syncreads uint64 + Asyncreads uint64 + Spare [10]uint64 + Namemax uint32 + Owner uint32 + Fsid Fsid + Charspare [80]int8 + Fstypename [16]byte + Mntfromname [1024]byte + Mntonname [1024]byte +} + +type Flock_t struct { + Start int64 + Len int64 + Pid int32 + Type int16 + Whence int16 + Sysid int32 + _ [4]byte +} + +type Dirent struct { + Fileno uint64 + Off int64 + Reclen uint16 + Type uint8 + Pad0 uint8 + Namlen uint16 + Pad1 uint16 + Name [256]int8 +} + +type Fsid struct { + Val [2]int32 +} + +const ( + PathMax = 0x400 +) + +const ( + FADV_NORMAL = 0x0 + FADV_RANDOM = 0x1 + FADV_SEQUENTIAL = 0x2 + FADV_WILLNEED = 0x3 + FADV_DONTNEED = 0x4 + FADV_NOREUSE = 0x5 +) + +type RawSockaddrInet4 struct { + Len uint8 + Family uint8 + Port uint16 + Addr [4]byte /* in_addr */ + Zero [8]int8 +} + +type RawSockaddrInet6 struct { + Len uint8 + Family uint8 + Port uint16 + Flowinfo uint32 + Addr [16]byte /* in6_addr */ + Scope_id uint32 +} + +type RawSockaddrUnix struct { + Len uint8 + Family uint8 + Path [104]int8 +} + +type RawSockaddrDatalink struct { + Len uint8 + Family uint8 + Index uint16 + Type uint8 + Nlen uint8 + Alen uint8 + Slen uint8 + Data [46]int8 +} + +type RawSockaddr struct { + Len uint8 + Family uint8 + Data [14]int8 +} + +type RawSockaddrAny struct { + Addr RawSockaddr + Pad [92]int8 +} + +type _Socklen uint32 + +type Xucred struct { + Version uint32 + Uid uint32 + Ngroups int16 + Groups [16]uint32 + _ *byte +} + +type Linger struct { + Onoff int32 + Linger int32 +} + +type Iovec struct { + Base *byte + Len uint64 +} + +type IPMreq struct { + Multiaddr [4]byte /* in_addr */ + Interface [4]byte /* in_addr */ +} + +type IPMreqn struct { + Multiaddr [4]byte /* in_addr */ + Address [4]byte /* in_addr */ + Ifindex int32 +} + +type IPv6Mreq struct { + Multiaddr [16]byte /* in6_addr */ + Interface uint32 +} + +type Msghdr struct { + Name *byte + Namelen uint32 + Iov *Iovec + Iovlen int32 + Control *byte + Controllen uint32 + Flags int32 +} + +type Cmsghdr struct { + Len uint32 + Level int32 + Type int32 +} + +type Inet6Pktinfo struct { + Addr [16]byte /* in6_addr */ + Ifindex uint32 +} + +type IPv6MTUInfo struct { + Addr RawSockaddrInet6 + Mtu uint32 +} + +type ICMPv6Filter struct { + Filt [8]uint32 +} + +const ( + SizeofSockaddrInet4 = 0x10 + SizeofSockaddrInet6 = 0x1c + SizeofSockaddrAny = 0x6c + SizeofSockaddrUnix = 0x6a + SizeofSockaddrDatalink = 0x36 + SizeofXucred = 0x58 + SizeofLinger = 0x8 + SizeofIovec = 0x10 + SizeofIPMreq = 0x8 + SizeofIPMreqn = 0xc + SizeofIPv6Mreq = 0x14 + SizeofMsghdr = 0x30 + SizeofCmsghdr = 0xc + SizeofInet6Pktinfo = 0x14 + SizeofIPv6MTUInfo = 0x20 + SizeofICMPv6Filter = 0x20 +) + +const ( + PTRACE_TRACEME = 0x0 + PTRACE_CONT = 0x7 + PTRACE_KILL = 0x8 +) + +type PtraceLwpInfoStruct struct { + Lwpid int32 + Event int32 + Flags int32 + Sigmask Sigset_t + Siglist Sigset_t + Siginfo __Siginfo + Tdname [20]int8 + Child_pid int32 + Syscall_code uint32 + Syscall_narg uint32 +} + +type __Siginfo struct { + Signo int32 + Errno int32 + Code int32 + Pid int32 + Uid uint32 + Status int32 + Addr *byte + Value [8]byte + _ [40]byte +} + +type Sigset_t struct { + Val [4]uint32 +} + +type Reg struct { + Ra uint64 + Sp uint64 + Gp uint64 + Tp uint64 + T [7]uint64 + S [12]uint64 + A [8]uint64 + Sepc uint64 + Sstatus uint64 +} + +type FpReg struct { + X [32][2]uint64 + Fcsr uint64 +} + +type FpExtendedPrecision struct{} + +type PtraceIoDesc struct { + Op int32 + Offs *byte + Addr *byte + Len uint64 +} + +type Kevent_t struct { + Ident uint64 + Filter int16 + Flags uint16 + Fflags uint32 + Data int64 + Udata *byte + Ext [4]uint64 +} + +type FdSet struct { + Bits [16]uint64 +} + +const ( + sizeofIfMsghdr = 0xa8 + SizeofIfMsghdr = 0xa8 + sizeofIfData = 0x98 + SizeofIfData = 0x98 + SizeofIfaMsghdr = 0x14 + SizeofIfmaMsghdr = 0x10 + SizeofIfAnnounceMsghdr = 0x18 + SizeofRtMsghdr = 0x98 + SizeofRtMetrics = 0x70 +) + +type ifMsghdr struct { + Msglen uint16 + Version uint8 + Type uint8 + Addrs int32 + Flags int32 + Index uint16 + _ uint16 + Data ifData +} + +type IfMsghdr struct { + Msglen uint16 + Version uint8 + Type uint8 + Addrs int32 + Flags int32 + Index uint16 + Data IfData +} + +type ifData struct { + Type uint8 + Physical uint8 + Addrlen uint8 + Hdrlen uint8 + Link_state uint8 + Vhid uint8 + Datalen uint16 + Mtu uint32 + Metric uint32 + Baudrate uint64 + Ipackets uint64 + Ierrors uint64 + Opackets uint64 + Oerrors uint64 + Collisions uint64 + Ibytes uint64 + Obytes uint64 + Imcasts uint64 + Omcasts uint64 + Iqdrops uint64 + Oqdrops uint64 + Noproto uint64 + Hwassist uint64 + _ [8]byte + _ [16]byte +} + +type IfData struct { + Type uint8 + Physical uint8 + Addrlen uint8 + Hdrlen uint8 + Link_state uint8 + Spare_char1 uint8 + Spare_char2 uint8 + Datalen uint8 + Mtu uint64 + Metric uint64 + Baudrate uint64 + Ipackets uint64 + Ierrors uint64 + Opackets uint64 + Oerrors uint64 + Collisions uint64 + Ibytes uint64 + Obytes uint64 + Imcasts uint64 + Omcasts uint64 + Iqdrops uint64 + Noproto uint64 + Hwassist uint64 + Epoch int64 + Lastchange Timeval +} + +type IfaMsghdr struct { + Msglen uint16 + Version uint8 + Type uint8 + Addrs int32 + Flags int32 + Index uint16 + _ uint16 + Metric int32 +} + +type IfmaMsghdr struct { + Msglen uint16 + Version uint8 + Type uint8 + Addrs int32 + Flags int32 + Index uint16 + _ uint16 +} + +type IfAnnounceMsghdr struct { + Msglen uint16 + Version uint8 + Type uint8 + Index uint16 + Name [16]int8 + What uint16 +} + +type RtMsghdr struct { + Msglen uint16 + Version uint8 + Type uint8 + Index uint16 + _ uint16 + Flags int32 + Addrs int32 + Pid int32 + Seq int32 + Errno int32 + Fmask int32 + Inits uint64 + Rmx RtMetrics +} + +type RtMetrics struct { + Locks uint64 + Mtu uint64 + Hopcount uint64 + Expire uint64 + Recvpipe uint64 + Sendpipe uint64 + Ssthresh uint64 + Rtt uint64 + Rttvar uint64 + Pksent uint64 + Weight uint64 + Nhidx uint64 + Filler [2]uint64 +} + +const ( + SizeofBpfVersion = 0x4 + SizeofBpfStat = 0x8 + SizeofBpfZbuf = 0x18 + SizeofBpfProgram = 0x10 + SizeofBpfInsn = 0x8 + SizeofBpfHdr = 0x20 + SizeofBpfZbufHeader = 0x20 +) + +type BpfVersion struct { + Major uint16 + Minor uint16 +} + +type BpfStat struct { + Recv uint32 + Drop uint32 +} + +type BpfZbuf struct { + Bufa *byte + Bufb *byte + Buflen uint64 +} + +type BpfProgram struct { + Len uint32 + Insns *BpfInsn +} + +type BpfInsn struct { + Code uint16 + Jt uint8 + Jf uint8 + K uint32 +} + +type BpfHdr struct { + Tstamp Timeval + Caplen uint32 + Datalen uint32 + Hdrlen uint16 + _ [6]byte +} + +type BpfZbufHeader struct { + Kernel_gen uint32 + Kernel_len uint32 + User_gen uint32 + _ [5]uint32 +} + +type Termios struct { + Iflag uint32 + Oflag uint32 + Cflag uint32 + Lflag uint32 + Cc [20]uint8 + Ispeed uint32 + Ospeed uint32 +} + +type Winsize struct { + Row uint16 + Col uint16 + Xpixel uint16 + Ypixel uint16 +} + +const ( + AT_FDCWD = -0x64 + AT_EACCESS = 0x100 + AT_SYMLINK_NOFOLLOW = 0x200 + AT_SYMLINK_FOLLOW = 0x400 + AT_REMOVEDIR = 0x800 +) + +type PollFd struct { + Fd int32 + Events int16 + Revents int16 +} + +const ( + POLLERR = 0x8 + POLLHUP = 0x10 + POLLIN = 0x1 + POLLINIGNEOF = 0x2000 + POLLNVAL = 0x20 + POLLOUT = 0x4 + POLLPRI = 0x2 + POLLRDBAND = 0x80 + POLLRDNORM = 0x40 + POLLWRBAND = 0x100 + POLLWRNORM = 0x4 +) + +type CapRights struct { + Rights [2]uint64 +} + +type Utsname struct { + Sysname [256]byte + Nodename [256]byte + Release [256]byte + Version [256]byte + Machine [256]byte +} + +const SizeofClockinfo = 0x14 + +type Clockinfo struct { + Hz int32 + Tick int32 + Spare int32 + Stathz int32 + Profhz int32 +} diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux.go index 9962d26bb30c..86984798754d 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux.go @@ -1127,7 +1127,9 @@ const ( PERF_BR_SYSRET = 0x8 PERF_BR_COND_CALL = 0x9 PERF_BR_COND_RET = 0xa - PERF_BR_MAX = 0xb + PERF_BR_ERET = 0xb + PERF_BR_IRQ = 0xc + PERF_BR_MAX = 0xd PERF_SAMPLE_REGS_ABI_NONE = 0x0 PERF_SAMPLE_REGS_ABI_32 = 0x1 PERF_SAMPLE_REGS_ABI_64 = 0x2 @@ -2969,7 +2971,7 @@ const ( DEVLINK_CMD_TRAP_POLICER_NEW = 0x47 DEVLINK_CMD_TRAP_POLICER_DEL = 0x48 DEVLINK_CMD_HEALTH_REPORTER_TEST = 0x49 - DEVLINK_CMD_MAX = 0x4d + DEVLINK_CMD_MAX = 0x51 DEVLINK_PORT_TYPE_NOTSET = 0x0 DEVLINK_PORT_TYPE_AUTO = 0x1 DEVLINK_PORT_TYPE_ETH = 0x2 @@ -3198,7 +3200,7 @@ const ( DEVLINK_ATTR_RATE_NODE_NAME = 0xa8 DEVLINK_ATTR_RATE_PARENT_NODE_NAME = 0xa9 DEVLINK_ATTR_REGION_MAX_SNAPSHOTS = 0xaa - DEVLINK_ATTR_MAX = 0xaa + DEVLINK_ATTR_MAX = 0xae DEVLINK_DPIPE_FIELD_MAPPING_TYPE_NONE = 0x0 DEVLINK_DPIPE_FIELD_MAPPING_TYPE_IFINDEX = 0x1 DEVLINK_DPIPE_MATCH_TYPE_FIELD_EXACT = 0x0 @@ -3638,7 +3640,11 @@ const ( ETHTOOL_A_RINGS_RX_MINI = 0x7 ETHTOOL_A_RINGS_RX_JUMBO = 0x8 ETHTOOL_A_RINGS_TX = 0x9 - ETHTOOL_A_RINGS_MAX = 0xa + ETHTOOL_A_RINGS_RX_BUF_LEN = 0xa + ETHTOOL_A_RINGS_TCP_DATA_SPLIT = 0xb + ETHTOOL_A_RINGS_CQE_SIZE = 0xc + ETHTOOL_A_RINGS_TX_PUSH = 0xd + ETHTOOL_A_RINGS_MAX = 0xd ETHTOOL_A_CHANNELS_UNSPEC = 0x0 ETHTOOL_A_CHANNELS_HEADER = 0x1 ETHTOOL_A_CHANNELS_RX_MAX = 0x2 @@ -4323,7 +4329,7 @@ const ( NL80211_ATTR_MAC_HINT = 0xc8 NL80211_ATTR_MAC_MASK = 0xd7 NL80211_ATTR_MAX_AP_ASSOC_STA = 0xca - NL80211_ATTR_MAX = 0x135 + NL80211_ATTR_MAX = 0x137 NL80211_ATTR_MAX_CRIT_PROT_DURATION = 0xb4 NL80211_ATTR_MAX_CSA_COUNTERS = 0xce NL80211_ATTR_MAX_MATCH_SETS = 0x85 @@ -4549,7 +4555,7 @@ const ( NL80211_BAND_IFTYPE_ATTR_HE_CAP_PHY = 0x3 NL80211_BAND_IFTYPE_ATTR_HE_CAP_PPE = 0x5 NL80211_BAND_IFTYPE_ATTR_IFTYPES = 0x1 - NL80211_BAND_IFTYPE_ATTR_MAX = 0x7 + NL80211_BAND_IFTYPE_ATTR_MAX = 0xb NL80211_BAND_S1GHZ = 0x4 NL80211_BITRATE_ATTR_2GHZ_SHORTPREAMBLE = 0x2 NL80211_BITRATE_ATTR_MAX = 0x2 @@ -4887,7 +4893,7 @@ const ( NL80211_FREQUENCY_ATTR_GO_CONCURRENT = 0xf NL80211_FREQUENCY_ATTR_INDOOR_ONLY = 0xe NL80211_FREQUENCY_ATTR_IR_CONCURRENT = 0xf - NL80211_FREQUENCY_ATTR_MAX = 0x19 + NL80211_FREQUENCY_ATTR_MAX = 0x1b NL80211_FREQUENCY_ATTR_MAX_TX_POWER = 0x6 NL80211_FREQUENCY_ATTR_NO_10MHZ = 0x11 NL80211_FREQUENCY_ATTR_NO_160MHZ = 0xc @@ -5254,7 +5260,7 @@ const ( NL80211_RATE_INFO_HE_RU_ALLOC_52 = 0x1 NL80211_RATE_INFO_HE_RU_ALLOC_996 = 0x5 NL80211_RATE_INFO_HE_RU_ALLOC = 0x11 - NL80211_RATE_INFO_MAX = 0x11 + NL80211_RATE_INFO_MAX = 0x16 NL80211_RATE_INFO_MCS = 0x2 NL80211_RATE_INFO_SHORT_GI = 0x4 NL80211_RATE_INFO_VHT_MCS = 0x6 @@ -5588,3 +5594,8 @@ const ( FR_ACT_UNREACHABLE = 0x7 FR_ACT_PROHIBIT = 0x8 ) + +const ( + AUDIT_NLGRP_NONE = 0x0 + AUDIT_NLGRP_READLOG = 0x1 +) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_386.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_386.go index 5314092568f6..7551af483181 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_386.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_386.go @@ -1,4 +1,4 @@ -// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 /build/unix/linux/types.go | go run mkpost.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m32 linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build 386 && linux @@ -324,6 +324,13 @@ type Taskstats struct { Ac_btime64 uint64 Compact_count uint64 Compact_delay_total uint64 + Ac_tgid uint32 + _ [4]byte + Ac_tgetime uint64 + Ac_exe_dev uint64 + Ac_exe_inode uint64 + Wpcopy_count uint64 + Wpcopy_delay_total uint64 } type cpuMask uint32 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go index b02ab83dbd33..3e738ac0bbf5 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go @@ -1,4 +1,4 @@ -// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 /build/unix/linux/types.go | go run mkpost.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include -m64 linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build amd64 && linux @@ -338,6 +338,12 @@ type Taskstats struct { Ac_btime64 uint64 Compact_count uint64 Compact_delay_total uint64 + Ac_tgid uint32 + Ac_tgetime uint64 + Ac_exe_dev uint64 + Ac_exe_inode uint64 + Wpcopy_count uint64 + Wpcopy_delay_total uint64 } type cpuMask uint64 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go index 9e6871d2e045..6183eef4a40b 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go @@ -1,4 +1,4 @@ -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm && linux @@ -315,6 +315,13 @@ type Taskstats struct { Ac_btime64 uint64 Compact_count uint64 Compact_delay_total uint64 + Ac_tgid uint32 + _ [4]byte + Ac_tgetime uint64 + Ac_exe_dev uint64 + Ac_exe_inode uint64 + Wpcopy_count uint64 + Wpcopy_delay_total uint64 } type cpuMask uint32 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go index b732d12559ce..968cecb17e88 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go @@ -1,4 +1,4 @@ -// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/unix/linux/types.go | go run mkpost.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build arm64 && linux @@ -317,6 +317,12 @@ type Taskstats struct { Ac_btime64 uint64 Compact_count uint64 Compact_delay_total uint64 + Ac_tgid uint32 + Ac_tgetime uint64 + Ac_exe_dev uint64 + Ac_exe_inode uint64 + Wpcopy_count uint64 + Wpcopy_delay_total uint64 } type cpuMask uint64 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go new file mode 100644 index 000000000000..8fe4c522a9cc --- /dev/null +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go @@ -0,0 +1,685 @@ +// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go +// Code generated by the command above; see README.md. DO NOT EDIT. + +//go:build loong64 && linux +// +build loong64,linux + +package unix + +const ( + SizeofPtr = 0x8 + SizeofLong = 0x8 +) + +type ( + _C_long int64 +) + +type Timespec struct { + Sec int64 + Nsec int64 +} + +type Timeval struct { + Sec int64 + Usec int64 +} + +type Timex struct { + Modes uint32 + Offset int64 + Freq int64 + Maxerror int64 + Esterror int64 + Status int32 + Constant int64 + Precision int64 + Tolerance int64 + Time Timeval + Tick int64 + Ppsfreq int64 + Jitter int64 + Shift int32 + Stabil int64 + Jitcnt int64 + Calcnt int64 + Errcnt int64 + Stbcnt int64 + Tai int32 + _ [44]byte +} + +type Time_t int64 + +type Tms struct { + Utime int64 + Stime int64 + Cutime int64 + Cstime int64 +} + +type Utimbuf struct { + Actime int64 + Modtime int64 +} + +type Rusage struct { + Utime Timeval + Stime Timeval + Maxrss int64 + Ixrss int64 + Idrss int64 + Isrss int64 + Minflt int64 + Majflt int64 + Nswap int64 + Inblock int64 + Oublock int64 + Msgsnd int64 + Msgrcv int64 + Nsignals int64 + Nvcsw int64 + Nivcsw int64 +} + +type Stat_t struct { + Dev uint64 + Ino uint64 + Mode uint32 + Nlink uint32 + Uid uint32 + Gid uint32 + Rdev uint64 + _ uint64 + Size int64 + Blksize int32 + _ int32 + Blocks int64 + Atim Timespec + Mtim Timespec + Ctim Timespec + _ [2]int32 +} + +type Dirent struct { + Ino uint64 + Off int64 + Reclen uint16 + Type uint8 + Name [256]int8 + _ [5]byte +} + +type Flock_t struct { + Type int16 + Whence int16 + Start int64 + Len int64 + Pid int32 + _ [4]byte +} + +type DmNameList struct { + Dev uint64 + Next uint32 + Name [0]byte + _ [4]byte +} + +const ( + FADV_DONTNEED = 0x4 + FADV_NOREUSE = 0x5 +) + +type RawSockaddrNFCLLCP struct { + Sa_family uint16 + Dev_idx uint32 + Target_idx uint32 + Nfc_protocol uint32 + Dsap uint8 + Ssap uint8 + Service_name [63]uint8 + Service_name_len uint64 +} + +type RawSockaddr struct { + Family uint16 + Data [14]int8 +} + +type RawSockaddrAny struct { + Addr RawSockaddr + Pad [96]int8 +} + +type Iovec struct { + Base *byte + Len uint64 +} + +type Msghdr struct { + Name *byte + Namelen uint32 + Iov *Iovec + Iovlen uint64 + Control *byte + Controllen uint64 + Flags int32 + _ [4]byte +} + +type Cmsghdr struct { + Len uint64 + Level int32 + Type int32 +} + +type ifreq struct { + Ifrn [16]byte + Ifru [24]byte +} + +const ( + SizeofSockaddrNFCLLCP = 0x60 + SizeofIovec = 0x10 + SizeofMsghdr = 0x38 + SizeofCmsghdr = 0x10 +) + +const ( + SizeofSockFprog = 0x10 +) + +type PtraceRegs struct { + Regs [32]uint64 + Orig_a0 uint64 + Era uint64 + Badv uint64 + Reserved [10]uint64 +} + +type FdSet struct { + Bits [16]int64 +} + +type Sysinfo_t struct { + Uptime int64 + Loads [3]uint64 + Totalram uint64 + Freeram uint64 + Sharedram uint64 + Bufferram uint64 + Totalswap uint64 + Freeswap uint64 + Procs uint16 + Pad uint16 + Totalhigh uint64 + Freehigh uint64 + Unit uint32 + _ [0]int8 + _ [4]byte +} + +type Ustat_t struct { + Tfree int32 + Tinode uint64 + Fname [6]int8 + Fpack [6]int8 + _ [4]byte +} + +type EpollEvent struct { + Events uint32 + _ int32 + Fd int32 + Pad int32 +} + +const ( + OPEN_TREE_CLOEXEC = 0x80000 +) + +const ( + POLLRDHUP = 0x2000 +) + +type Sigset_t struct { + Val [16]uint64 +} + +const _C__NSIG = 0x41 + +type Siginfo struct { + Signo int32 + Errno int32 + Code int32 + _ int32 + _ [112]byte +} + +type Termios struct { + Iflag uint32 + Oflag uint32 + Cflag uint32 + Lflag uint32 + Line uint8 + Cc [19]uint8 + Ispeed uint32 + Ospeed uint32 +} + +type Taskstats struct { + Version uint16 + Ac_exitcode uint32 + Ac_flag uint8 + Ac_nice uint8 + Cpu_count uint64 + Cpu_delay_total uint64 + Blkio_count uint64 + Blkio_delay_total uint64 + Swapin_count uint64 + Swapin_delay_total uint64 + Cpu_run_real_total uint64 + Cpu_run_virtual_total uint64 + Ac_comm [32]int8 + Ac_sched uint8 + Ac_pad [3]uint8 + _ [4]byte + Ac_uid uint32 + Ac_gid uint32 + Ac_pid uint32 + Ac_ppid uint32 + Ac_btime uint32 + Ac_etime uint64 + Ac_utime uint64 + Ac_stime uint64 + Ac_minflt uint64 + Ac_majflt uint64 + Coremem uint64 + Virtmem uint64 + Hiwater_rss uint64 + Hiwater_vm uint64 + Read_char uint64 + Write_char uint64 + Read_syscalls uint64 + Write_syscalls uint64 + Read_bytes uint64 + Write_bytes uint64 + Cancelled_write_bytes uint64 + Nvcsw uint64 + Nivcsw uint64 + Ac_utimescaled uint64 + Ac_stimescaled uint64 + Cpu_scaled_run_real_total uint64 + Freepages_count uint64 + Freepages_delay_total uint64 + Thrashing_count uint64 + Thrashing_delay_total uint64 + Ac_btime64 uint64 + Compact_count uint64 + Compact_delay_total uint64 + Ac_tgid uint32 + Ac_tgetime uint64 + Ac_exe_dev uint64 + Ac_exe_inode uint64 + Wpcopy_count uint64 + Wpcopy_delay_total uint64 +} + +type cpuMask uint64 + +const ( + _NCPUBITS = 0x40 +) + +const ( + CBitFieldMaskBit0 = 0x1 + CBitFieldMaskBit1 = 0x2 + CBitFieldMaskBit2 = 0x4 + CBitFieldMaskBit3 = 0x8 + CBitFieldMaskBit4 = 0x10 + CBitFieldMaskBit5 = 0x20 + CBitFieldMaskBit6 = 0x40 + CBitFieldMaskBit7 = 0x80 + CBitFieldMaskBit8 = 0x100 + CBitFieldMaskBit9 = 0x200 + CBitFieldMaskBit10 = 0x400 + CBitFieldMaskBit11 = 0x800 + CBitFieldMaskBit12 = 0x1000 + CBitFieldMaskBit13 = 0x2000 + CBitFieldMaskBit14 = 0x4000 + CBitFieldMaskBit15 = 0x8000 + CBitFieldMaskBit16 = 0x10000 + CBitFieldMaskBit17 = 0x20000 + CBitFieldMaskBit18 = 0x40000 + CBitFieldMaskBit19 = 0x80000 + CBitFieldMaskBit20 = 0x100000 + CBitFieldMaskBit21 = 0x200000 + CBitFieldMaskBit22 = 0x400000 + CBitFieldMaskBit23 = 0x800000 + CBitFieldMaskBit24 = 0x1000000 + CBitFieldMaskBit25 = 0x2000000 + CBitFieldMaskBit26 = 0x4000000 + CBitFieldMaskBit27 = 0x8000000 + CBitFieldMaskBit28 = 0x10000000 + CBitFieldMaskBit29 = 0x20000000 + CBitFieldMaskBit30 = 0x40000000 + CBitFieldMaskBit31 = 0x80000000 + CBitFieldMaskBit32 = 0x100000000 + CBitFieldMaskBit33 = 0x200000000 + CBitFieldMaskBit34 = 0x400000000 + CBitFieldMaskBit35 = 0x800000000 + CBitFieldMaskBit36 = 0x1000000000 + CBitFieldMaskBit37 = 0x2000000000 + CBitFieldMaskBit38 = 0x4000000000 + CBitFieldMaskBit39 = 0x8000000000 + CBitFieldMaskBit40 = 0x10000000000 + CBitFieldMaskBit41 = 0x20000000000 + CBitFieldMaskBit42 = 0x40000000000 + CBitFieldMaskBit43 = 0x80000000000 + CBitFieldMaskBit44 = 0x100000000000 + CBitFieldMaskBit45 = 0x200000000000 + CBitFieldMaskBit46 = 0x400000000000 + CBitFieldMaskBit47 = 0x800000000000 + CBitFieldMaskBit48 = 0x1000000000000 + CBitFieldMaskBit49 = 0x2000000000000 + CBitFieldMaskBit50 = 0x4000000000000 + CBitFieldMaskBit51 = 0x8000000000000 + CBitFieldMaskBit52 = 0x10000000000000 + CBitFieldMaskBit53 = 0x20000000000000 + CBitFieldMaskBit54 = 0x40000000000000 + CBitFieldMaskBit55 = 0x80000000000000 + CBitFieldMaskBit56 = 0x100000000000000 + CBitFieldMaskBit57 = 0x200000000000000 + CBitFieldMaskBit58 = 0x400000000000000 + CBitFieldMaskBit59 = 0x800000000000000 + CBitFieldMaskBit60 = 0x1000000000000000 + CBitFieldMaskBit61 = 0x2000000000000000 + CBitFieldMaskBit62 = 0x4000000000000000 + CBitFieldMaskBit63 = 0x8000000000000000 +) + +type SockaddrStorage struct { + Family uint16 + _ [118]int8 + _ uint64 +} + +type HDGeometry struct { + Heads uint8 + Sectors uint8 + Cylinders uint16 + Start uint64 +} + +type Statfs_t struct { + Type int64 + Bsize int64 + Blocks uint64 + Bfree uint64 + Bavail uint64 + Files uint64 + Ffree uint64 + Fsid Fsid + Namelen int64 + Frsize int64 + Flags int64 + Spare [4]int64 +} + +type TpacketHdr struct { + Status uint64 + Len uint32 + Snaplen uint32 + Mac uint16 + Net uint16 + Sec uint32 + Usec uint32 + _ [4]byte +} + +const ( + SizeofTpacketHdr = 0x20 +) + +type RTCPLLInfo struct { + Ctrl int32 + Value int32 + Max int32 + Min int32 + Posmult int32 + Negmult int32 + Clock int64 +} + +type BlkpgPartition struct { + Start int64 + Length int64 + Pno int32 + Devname [64]uint8 + Volname [64]uint8 + _ [4]byte +} + +const ( + BLKPG = 0x1269 +) + +type XDPUmemReg struct { + Addr uint64 + Len uint64 + Size uint32 + Headroom uint32 + Flags uint32 + _ [4]byte +} + +type CryptoUserAlg struct { + Name [64]int8 + Driver_name [64]int8 + Module_name [64]int8 + Type uint32 + Mask uint32 + Refcnt uint32 + Flags uint32 +} + +type CryptoStatAEAD struct { + Type [64]int8 + Encrypt_cnt uint64 + Encrypt_tlen uint64 + Decrypt_cnt uint64 + Decrypt_tlen uint64 + Err_cnt uint64 +} + +type CryptoStatAKCipher struct { + Type [64]int8 + Encrypt_cnt uint64 + Encrypt_tlen uint64 + Decrypt_cnt uint64 + Decrypt_tlen uint64 + Verify_cnt uint64 + Sign_cnt uint64 + Err_cnt uint64 +} + +type CryptoStatCipher struct { + Type [64]int8 + Encrypt_cnt uint64 + Encrypt_tlen uint64 + Decrypt_cnt uint64 + Decrypt_tlen uint64 + Err_cnt uint64 +} + +type CryptoStatCompress struct { + Type [64]int8 + Compress_cnt uint64 + Compress_tlen uint64 + Decompress_cnt uint64 + Decompress_tlen uint64 + Err_cnt uint64 +} + +type CryptoStatHash struct { + Type [64]int8 + Hash_cnt uint64 + Hash_tlen uint64 + Err_cnt uint64 +} + +type CryptoStatKPP struct { + Type [64]int8 + Setsecret_cnt uint64 + Generate_public_key_cnt uint64 + Compute_shared_secret_cnt uint64 + Err_cnt uint64 +} + +type CryptoStatRNG struct { + Type [64]int8 + Generate_cnt uint64 + Generate_tlen uint64 + Seed_cnt uint64 + Err_cnt uint64 +} + +type CryptoStatLarval struct { + Type [64]int8 +} + +type CryptoReportLarval struct { + Type [64]int8 +} + +type CryptoReportHash struct { + Type [64]int8 + Blocksize uint32 + Digestsize uint32 +} + +type CryptoReportCipher struct { + Type [64]int8 + Blocksize uint32 + Min_keysize uint32 + Max_keysize uint32 +} + +type CryptoReportBlkCipher struct { + Type [64]int8 + Geniv [64]int8 + Blocksize uint32 + Min_keysize uint32 + Max_keysize uint32 + Ivsize uint32 +} + +type CryptoReportAEAD struct { + Type [64]int8 + Geniv [64]int8 + Blocksize uint32 + Maxauthsize uint32 + Ivsize uint32 +} + +type CryptoReportComp struct { + Type [64]int8 +} + +type CryptoReportRNG struct { + Type [64]int8 + Seedsize uint32 +} + +type CryptoReportAKCipher struct { + Type [64]int8 +} + +type CryptoReportKPP struct { + Type [64]int8 +} + +type CryptoReportAcomp struct { + Type [64]int8 +} + +type LoopInfo struct { + Number int32 + Device uint32 + Inode uint64 + Rdevice uint32 + Offset int32 + Encrypt_type int32 + Encrypt_key_size int32 + Flags int32 + Name [64]int8 + Encrypt_key [32]uint8 + Init [2]uint64 + Reserved [4]int8 + _ [4]byte +} + +type TIPCSubscr struct { + Seq TIPCServiceRange + Timeout uint32 + Filter uint32 + Handle [8]int8 +} + +type TIPCSIOCLNReq struct { + Peer uint32 + Id uint32 + Linkname [68]int8 +} + +type TIPCSIOCNodeIDReq struct { + Peer uint32 + Id [16]int8 +} + +type PPSKInfo struct { + Assert_sequence uint32 + Clear_sequence uint32 + Assert_tu PPSKTime + Clear_tu PPSKTime + Current_mode int32 + _ [4]byte +} + +const ( + PPS_GETPARAMS = 0x800870a1 + PPS_SETPARAMS = 0x400870a2 + PPS_GETCAP = 0x800870a3 + PPS_FETCH = 0xc00870a4 +) + +const ( + PIDFD_NONBLOCK = 0x800 +) + +type SysvIpcPerm struct { + Key int32 + Uid uint32 + Gid uint32 + Cuid uint32 + Cgid uint32 + Mode uint32 + _ [0]uint8 + Seq uint16 + _ uint16 + _ uint64 + _ uint64 +} +type SysvShmDesc struct { + Perm SysvIpcPerm + Segsz uint64 + Atime int64 + Dtime int64 + Ctime int64 + Cpid int32 + Lpid int32 + Nattch uint64 + _ uint64 + _ uint64 +} diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go index 5310f71ea560..11426a3010b5 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go @@ -1,4 +1,4 @@ -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips && linux @@ -320,6 +320,13 @@ type Taskstats struct { Ac_btime64 uint64 Compact_count uint64 Compact_delay_total uint64 + Ac_tgid uint32 + _ [4]byte + Ac_tgetime uint64 + Ac_exe_dev uint64 + Ac_exe_inode uint64 + Wpcopy_count uint64 + Wpcopy_delay_total uint64 } type cpuMask uint32 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go index 219bbb1267dd..ad1c3b3de597 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go @@ -1,4 +1,4 @@ -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips64 && linux @@ -320,6 +320,12 @@ type Taskstats struct { Ac_btime64 uint64 Compact_count uint64 Compact_delay_total uint64 + Ac_tgid uint32 + Ac_tgetime uint64 + Ac_exe_dev uint64 + Ac_exe_inode uint64 + Wpcopy_count uint64 + Wpcopy_delay_total uint64 } type cpuMask uint64 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go index be9432da5480..15fd84e4dd06 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go @@ -1,4 +1,4 @@ -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mips64le && linux @@ -320,6 +320,12 @@ type Taskstats struct { Ac_btime64 uint64 Compact_count uint64 Compact_delay_total uint64 + Ac_tgid uint32 + Ac_tgetime uint64 + Ac_exe_dev uint64 + Ac_exe_inode uint64 + Wpcopy_count uint64 + Wpcopy_delay_total uint64 } type cpuMask uint64 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go index d0155a42e61e..49c49825ab32 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go @@ -1,4 +1,4 @@ -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build mipsle && linux @@ -320,6 +320,13 @@ type Taskstats struct { Ac_btime64 uint64 Compact_count uint64 Compact_delay_total uint64 + Ac_tgid uint32 + _ [4]byte + Ac_tgetime uint64 + Ac_exe_dev uint64 + Ac_exe_inode uint64 + Wpcopy_count uint64 + Wpcopy_delay_total uint64 } type cpuMask uint32 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go index 01c17bcc6f97..cd36d0da26a8 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go @@ -1,4 +1,4 @@ -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc && linux @@ -327,6 +327,13 @@ type Taskstats struct { Ac_btime64 uint64 Compact_count uint64 Compact_delay_total uint64 + Ac_tgid uint32 + _ [4]byte + Ac_tgetime uint64 + Ac_exe_dev uint64 + Ac_exe_inode uint64 + Wpcopy_count uint64 + Wpcopy_delay_total uint64 } type cpuMask uint32 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go index 944a9c3c78fb..8c6fce039501 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go @@ -1,4 +1,4 @@ -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc64 && linux @@ -327,6 +327,12 @@ type Taskstats struct { Ac_btime64 uint64 Compact_count uint64 Compact_delay_total uint64 + Ac_tgid uint32 + Ac_tgetime uint64 + Ac_exe_dev uint64 + Ac_exe_inode uint64 + Wpcopy_count uint64 + Wpcopy_delay_total uint64 } type cpuMask uint64 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go index 5d2c90e1ce3d..20910f2ad78c 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go @@ -1,4 +1,4 @@ -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build ppc64le && linux @@ -327,6 +327,12 @@ type Taskstats struct { Ac_btime64 uint64 Compact_count uint64 Compact_delay_total uint64 + Ac_tgid uint32 + Ac_tgetime uint64 + Ac_exe_dev uint64 + Ac_exe_inode uint64 + Wpcopy_count uint64 + Wpcopy_delay_total uint64 } type cpuMask uint64 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go index e173cb51574d..71b7b3331db7 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go @@ -1,4 +1,4 @@ -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build riscv64 && linux @@ -345,6 +345,12 @@ type Taskstats struct { Ac_btime64 uint64 Compact_count uint64 Compact_delay_total uint64 + Ac_tgid uint32 + Ac_tgetime uint64 + Ac_exe_dev uint64 + Ac_exe_inode uint64 + Wpcopy_count uint64 + Wpcopy_delay_total uint64 } type cpuMask uint64 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go index 6106715d5c60..71184cc2cda8 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go @@ -1,4 +1,4 @@ -// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/unix/linux/types.go | go run mkpost.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build s390x && linux @@ -340,6 +340,12 @@ type Taskstats struct { Ac_btime64 uint64 Compact_count uint64 Compact_delay_total uint64 + Ac_tgid uint32 + Ac_tgetime uint64 + Ac_exe_dev uint64 + Ac_exe_inode uint64 + Wpcopy_count uint64 + Wpcopy_delay_total uint64 } type cpuMask uint64 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go index ca7b37b4b57b..06156285d9e7 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go @@ -1,4 +1,4 @@ -// cgo -godefs -- -Wall -Werror -static -I/tmp/include /build/unix/linux/types.go | go run mkpost.go +// cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go // Code generated by the command above; see README.md. DO NOT EDIT. //go:build sparc64 && linux @@ -322,6 +322,12 @@ type Taskstats struct { Ac_btime64 uint64 Compact_count uint64 Compact_delay_total uint64 + Ac_tgid uint32 + Ac_tgetime uint64 + Ac_exe_dev uint64 + Ac_exe_inode uint64 + Wpcopy_count uint64 + Wpcopy_delay_total uint64 } type cpuMask uint64 diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go index baf5fe650444..2ed718ca06a7 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go @@ -94,10 +94,10 @@ type Statfs_t struct { F_namemax uint32 F_owner uint32 F_ctime uint64 - F_fstypename [16]int8 - F_mntonname [90]int8 - F_mntfromname [90]int8 - F_mntfromspec [90]int8 + F_fstypename [16]byte + F_mntonname [90]byte + F_mntfromname [90]byte + F_mntfromspec [90]byte Pad_cgo_0 [2]byte Mount_info [160]byte } diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go index e21ae8ecfa6f..b4fb97ebe650 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go @@ -96,10 +96,10 @@ type Statfs_t struct { F_namemax uint32 F_owner uint32 F_ctime uint64 - F_fstypename [16]int8 - F_mntonname [90]int8 - F_mntfromname [90]int8 - F_mntfromspec [90]int8 + F_fstypename [16]byte + F_mntonname [90]byte + F_mntfromname [90]byte + F_mntfromspec [90]byte _ [2]byte Mount_info [160]byte } diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go index f190651cd964..2c4675040ef3 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go @@ -98,10 +98,10 @@ type Statfs_t struct { F_namemax uint32 F_owner uint32 F_ctime uint64 - F_fstypename [16]int8 - F_mntonname [90]int8 - F_mntfromname [90]int8 - F_mntfromspec [90]int8 + F_fstypename [16]byte + F_mntonname [90]byte + F_mntfromname [90]byte + F_mntfromspec [90]byte _ [2]byte Mount_info [160]byte } diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go index 84747c582cfc..ddee04514708 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm64.go @@ -94,10 +94,10 @@ type Statfs_t struct { F_namemax uint32 F_owner uint32 F_ctime uint64 - F_fstypename [16]int8 - F_mntonname [90]int8 - F_mntfromname [90]int8 - F_mntfromspec [90]int8 + F_fstypename [16]byte + F_mntonname [90]byte + F_mntfromname [90]byte + F_mntfromspec [90]byte _ [2]byte Mount_info [160]byte } diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go index ac5c8b6370b1..eb13d4e8bfc2 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_openbsd_mips64.go @@ -94,10 +94,10 @@ type Statfs_t struct { F_namemax uint32 F_owner uint32 F_ctime uint64 - F_fstypename [16]int8 - F_mntonname [90]int8 - F_mntfromname [90]int8 - F_mntfromspec [90]int8 + F_fstypename [16]byte + F_mntonname [90]byte + F_mntfromname [90]byte + F_mntfromspec [90]byte _ [2]byte Mount_info [160]byte } diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go index ad4aad279686..c1a9b83ad5e0 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go @@ -178,7 +178,7 @@ type Linger struct { } type Iovec struct { - Base *int8 + Base *byte Len uint64 } diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/windows/exec_windows.go b/cluster-autoscaler/vendor/golang.org/x/sys/windows/exec_windows.go index 855698bb2828..75980fd44ad7 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/windows/exec_windows.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/windows/exec_windows.go @@ -15,11 +15,11 @@ import ( // in http://msdn.microsoft.com/en-us/library/ms880421. // This function returns "" (2 double quotes) if s is empty. // Alternatively, these transformations are done: -// - every back slash (\) is doubled, but only if immediately -// followed by double quote ("); -// - every double quote (") is escaped by back slash (\); -// - finally, s is wrapped with double quotes (arg -> "arg"), -// but only if there is space or tab inside s. +// - every back slash (\) is doubled, but only if immediately +// followed by double quote ("); +// - every double quote (") is escaped by back slash (\); +// - finally, s is wrapped with double quotes (arg -> "arg"), +// but only if there is space or tab inside s. func EscapeArg(s string) string { if len(s) == 0 { return "\"\"" diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/windows/registry/key.go b/cluster-autoscaler/vendor/golang.org/x/sys/windows/registry/key.go index 906325e095a8..6c8d97b6a590 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/windows/registry/key.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/windows/registry/key.go @@ -20,7 +20,6 @@ // log.Fatal(err) // } // fmt.Printf("Windows system root is %q\n", s) -// package registry import ( diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/windows/svc/service.go b/cluster-autoscaler/vendor/golang.org/x/sys/windows/svc/service.go index 5b05c3e33f5d..806baa055f6e 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/windows/svc/service.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/windows/svc/service.go @@ -6,7 +6,6 @@ // +build windows // Package svc provides everything required to build Windows service. -// package svc import ( diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/windows/syscall_windows.go b/cluster-autoscaler/vendor/golang.org/x/sys/windows/syscall_windows.go index ce3075c45344..be3ec2bd4676 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/windows/syscall_windows.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/windows/syscall_windows.go @@ -623,7 +623,6 @@ var ( func getStdHandle(stdhandle uint32) (fd Handle) { r, _ := GetStdHandle(stdhandle) - CloseOnExec(r) return r } @@ -862,6 +861,7 @@ const socket_error = uintptr(^uint32(0)) //sys GetAdaptersAddresses(family uint32, flags uint32, reserved uintptr, adapterAddresses *IpAdapterAddresses, sizePointer *uint32) (errcode error) = iphlpapi.GetAdaptersAddresses //sys GetACP() (acp uint32) = kernel32.GetACP //sys MultiByteToWideChar(codePage uint32, dwFlags uint32, str *byte, nstr int32, wchar *uint16, nwchar int32) (nwrite int32, err error) = kernel32.MultiByteToWideChar +//sys getBestInterfaceEx(sockaddr unsafe.Pointer, pdwBestIfIndex *uint32) (errcode error) = iphlpapi.GetBestInterfaceEx // For testing: clients can set this flag to force // creation of IPv6 sockets to return EAFNOSUPPORT. @@ -1046,6 +1046,14 @@ func Connect(fd Handle, sa Sockaddr) (err error) { return connect(fd, ptr, n) } +func GetBestInterfaceEx(sa Sockaddr, pdwBestIfIndex *uint32) (err error) { + ptr, _, err := sa.sockaddr() + if err != nil { + return err + } + return getBestInterfaceEx(ptr, pdwBestIfIndex) +} + func Getsockname(fd Handle) (sa Sockaddr, err error) { var rsa RawSockaddrAny l := int32(unsafe.Sizeof(rsa)) diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/windows/types_windows.go b/cluster-autoscaler/vendor/golang.org/x/sys/windows/types_windows.go index e19471c6a852..f9eaca528ed7 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/windows/types_windows.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/windows/types_windows.go @@ -160,6 +160,10 @@ const ( MAX_COMPUTERNAME_LENGTH = 15 + MAX_DHCPV6_DUID_LENGTH = 130 + + MAX_DNS_SUFFIX_STRING_LENGTH = 256 + TIME_ZONE_ID_UNKNOWN = 0 TIME_ZONE_ID_STANDARD = 1 @@ -2000,27 +2004,62 @@ type IpAdapterPrefix struct { } type IpAdapterAddresses struct { - Length uint32 - IfIndex uint32 - Next *IpAdapterAddresses - AdapterName *byte - FirstUnicastAddress *IpAdapterUnicastAddress - FirstAnycastAddress *IpAdapterAnycastAddress - FirstMulticastAddress *IpAdapterMulticastAddress - FirstDnsServerAddress *IpAdapterDnsServerAdapter - DnsSuffix *uint16 - Description *uint16 - FriendlyName *uint16 - PhysicalAddress [syscall.MAX_ADAPTER_ADDRESS_LENGTH]byte - PhysicalAddressLength uint32 - Flags uint32 - Mtu uint32 - IfType uint32 - OperStatus uint32 - Ipv6IfIndex uint32 - ZoneIndices [16]uint32 - FirstPrefix *IpAdapterPrefix - /* more fields might be present here. */ + Length uint32 + IfIndex uint32 + Next *IpAdapterAddresses + AdapterName *byte + FirstUnicastAddress *IpAdapterUnicastAddress + FirstAnycastAddress *IpAdapterAnycastAddress + FirstMulticastAddress *IpAdapterMulticastAddress + FirstDnsServerAddress *IpAdapterDnsServerAdapter + DnsSuffix *uint16 + Description *uint16 + FriendlyName *uint16 + PhysicalAddress [syscall.MAX_ADAPTER_ADDRESS_LENGTH]byte + PhysicalAddressLength uint32 + Flags uint32 + Mtu uint32 + IfType uint32 + OperStatus uint32 + Ipv6IfIndex uint32 + ZoneIndices [16]uint32 + FirstPrefix *IpAdapterPrefix + TransmitLinkSpeed uint64 + ReceiveLinkSpeed uint64 + FirstWinsServerAddress *IpAdapterWinsServerAddress + FirstGatewayAddress *IpAdapterGatewayAddress + Ipv4Metric uint32 + Ipv6Metric uint32 + Luid uint64 + Dhcpv4Server SocketAddress + CompartmentId uint32 + NetworkGuid GUID + ConnectionType uint32 + TunnelType uint32 + Dhcpv6Server SocketAddress + Dhcpv6ClientDuid [MAX_DHCPV6_DUID_LENGTH]byte + Dhcpv6ClientDuidLength uint32 + Dhcpv6Iaid uint32 + FirstDnsSuffix *IpAdapterDNSSuffix +} + +type IpAdapterWinsServerAddress struct { + Length uint32 + Reserved uint32 + Next *IpAdapterWinsServerAddress + Address SocketAddress +} + +type IpAdapterGatewayAddress struct { + Length uint32 + Reserved uint32 + Next *IpAdapterGatewayAddress + Address SocketAddress +} + +type IpAdapterDNSSuffix struct { + Next *IpAdapterDNSSuffix + String [MAX_DNS_SUFFIX_STRING_LENGTH]uint16 } const ( diff --git a/cluster-autoscaler/vendor/golang.org/x/sys/windows/zsyscall_windows.go b/cluster-autoscaler/vendor/golang.org/x/sys/windows/zsyscall_windows.go index 68f52c1e61e9..678262cda177 100644 --- a/cluster-autoscaler/vendor/golang.org/x/sys/windows/zsyscall_windows.go +++ b/cluster-autoscaler/vendor/golang.org/x/sys/windows/zsyscall_windows.go @@ -177,6 +177,7 @@ var ( procDnsRecordListFree = moddnsapi.NewProc("DnsRecordListFree") procGetAdaptersAddresses = modiphlpapi.NewProc("GetAdaptersAddresses") procGetAdaptersInfo = modiphlpapi.NewProc("GetAdaptersInfo") + procGetBestInterfaceEx = modiphlpapi.NewProc("GetBestInterfaceEx") procGetIfEntry = modiphlpapi.NewProc("GetIfEntry") procAssignProcessToJobObject = modkernel32.NewProc("AssignProcessToJobObject") procCancelIo = modkernel32.NewProc("CancelIo") @@ -1539,6 +1540,14 @@ func GetAdaptersInfo(ai *IpAdapterInfo, ol *uint32) (errcode error) { return } +func getBestInterfaceEx(sockaddr unsafe.Pointer, pdwBestIfIndex *uint32) (errcode error) { + r0, _, _ := syscall.Syscall(procGetBestInterfaceEx.Addr(), 2, uintptr(sockaddr), uintptr(unsafe.Pointer(pdwBestIfIndex)), 0) + if r0 != 0 { + errcode = syscall.Errno(r0) + } + return +} + func GetIfEntry(pIfRow *MibIfRow) (errcode error) { r0, _, _ := syscall.Syscall(procGetIfEntry.Addr(), 1, uintptr(unsafe.Pointer(pIfRow)), 0, 0) if r0 != 0 { diff --git a/cluster-autoscaler/vendor/golang.org/x/term/go.mod b/cluster-autoscaler/vendor/golang.org/x/term/go.mod deleted file mode 100644 index edf0e5b1db4c..000000000000 --- a/cluster-autoscaler/vendor/golang.org/x/term/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module golang.org/x/term - -go 1.17 - -require golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 diff --git a/cluster-autoscaler/vendor/golang.org/x/term/go.sum b/cluster-autoscaler/vendor/golang.org/x/term/go.sum deleted file mode 100644 index ff132135ec68..000000000000 --- a/cluster-autoscaler/vendor/golang.org/x/term/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 h1:SrN+KX8Art/Sf4HNj6Zcz06G7VEz+7w9tdXTPOZ7+l4= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= diff --git a/cluster-autoscaler/vendor/golang.org/x/xerrors/go.mod b/cluster-autoscaler/vendor/golang.org/x/xerrors/go.mod deleted file mode 100644 index 870d4f612dbf..000000000000 --- a/cluster-autoscaler/vendor/golang.org/x/xerrors/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module golang.org/x/xerrors - -go 1.11 diff --git a/cluster-autoscaler/vendor/google.golang.org/appengine/go.mod b/cluster-autoscaler/vendor/google.golang.org/appengine/go.mod deleted file mode 100644 index 635c34f5a112..000000000000 --- a/cluster-autoscaler/vendor/google.golang.org/appengine/go.mod +++ /dev/null @@ -1,9 +0,0 @@ -module google.golang.org/appengine - -go 1.11 - -require ( - github.com/golang/protobuf v1.3.1 - golang.org/x/net v0.0.0-20190603091049-60506f45cf65 - golang.org/x/text v0.3.2 -) diff --git a/cluster-autoscaler/vendor/google.golang.org/appengine/go.sum b/cluster-autoscaler/vendor/google.golang.org/appengine/go.sum deleted file mode 100644 index ce22f6856c9e..000000000000 --- a/cluster-autoscaler/vendor/google.golang.org/appengine/go.sum +++ /dev/null @@ -1,11 +0,0 @@ -github.com/golang/protobuf v1.3.1 h1:YF8+flBXS5eO826T4nzqPrxfhQThhXl0YzfuUPu4SBg= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65 h1:+rhAzEzT3f4JtomfC371qB+0Ola2caSKcY69NUBZrRQ= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= diff --git a/cluster-autoscaler/vendor/google.golang.org/grpc/go.mod b/cluster-autoscaler/vendor/google.golang.org/grpc/go.mod deleted file mode 100644 index 6a760ed7435b..000000000000 --- a/cluster-autoscaler/vendor/google.golang.org/grpc/go.mod +++ /dev/null @@ -1,19 +0,0 @@ -module google.golang.org/grpc - -go 1.14 - -require ( - github.com/cespare/xxhash/v2 v2.1.1 - github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4 - github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1 - github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1 - github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b - github.com/golang/protobuf v1.5.2 - github.com/google/go-cmp v0.5.6 - github.com/google/uuid v1.1.2 - golang.org/x/net v0.0.0-20201021035429-f5854403a974 - golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d - golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 - google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 - google.golang.org/protobuf v1.27.1 -) diff --git a/cluster-autoscaler/vendor/google.golang.org/grpc/go.sum b/cluster-autoscaler/vendor/google.golang.org/grpc/go.sum deleted file mode 100644 index 5f418dba1b41..000000000000 --- a/cluster-autoscaler/vendor/google.golang.org/grpc/go.sum +++ /dev/null @@ -1,141 +0,0 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0 h1:eOI3/cP2VTU6uZLDYAoic+eyzzB9YyGmJ7eIjl8rOPg= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/census-instrumentation/opencensus-proto v0.2.1 h1:glEXhBS5PSLLv4IXzLA5yPRVX4bilULVyxxbrfOtDAk= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4 h1:hzAQntlaYRkVSFEfj9OTWlVV1H155FMD8BTKktLv0QI= -github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1 h1:zH8ljVhhq7yC0MIeUL/IviMtY8hx2mK8cN9wEYb8ggw= -github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1 h1:xvqufLtNVwAhN8NMyWklVgxnWohi+wtMGQMhtxexlm0= -github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= -github.com/envoyproxy/protoc-gen-validate v0.1.0 h1:EQciDnbrYxy13PgWoY8AqoxGiPrpgBZ1R8UNe3ddc+A= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ= -github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201021035429-f5854403a974 h1:IX6qOQeG5uLjB/hjjwjedwfjND0hgjPMMyO1RoIXQNI= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d h1:TzXSXBo42m9gQenoE3b9BGiEpg5IG2JkU5FkPIawgtw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 h1:myAQVi0cGEoqQVR5POX+8RR2mrocKqNN1hmeMqhX27k= -golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 h1:+kGHl1aib/qcwaRi1CbqBZ1rk19r85MNUf8HaBghugY= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= -google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= -google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/encoding/protowire/wire.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/encoding/protowire/wire.go index a427f8b7043b..9c61112f58d1 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/encoding/protowire/wire.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/encoding/protowire/wire.go @@ -21,10 +21,11 @@ import ( type Number int32 const ( - MinValidNumber Number = 1 - FirstReservedNumber Number = 19000 - LastReservedNumber Number = 19999 - MaxValidNumber Number = 1<<29 - 1 + MinValidNumber Number = 1 + FirstReservedNumber Number = 19000 + LastReservedNumber Number = 19999 + MaxValidNumber Number = 1<<29 - 1 + DefaultRecursionLimit = 10000 ) // IsValid reports whether the field number is semantically valid. @@ -55,6 +56,7 @@ const ( errCodeOverflow errCodeReserved errCodeEndGroup + errCodeRecursionDepth ) var ( @@ -112,6 +114,10 @@ func ConsumeField(b []byte) (Number, Type, int) { // When parsing a group, the length includes the end group marker and // the end group is verified to match the starting field number. func ConsumeFieldValue(num Number, typ Type, b []byte) (n int) { + return consumeFieldValueD(num, typ, b, DefaultRecursionLimit) +} + +func consumeFieldValueD(num Number, typ Type, b []byte, depth int) (n int) { switch typ { case VarintType: _, n = ConsumeVarint(b) @@ -126,6 +132,9 @@ func ConsumeFieldValue(num Number, typ Type, b []byte) (n int) { _, n = ConsumeBytes(b) return n case StartGroupType: + if depth < 0 { + return errCodeRecursionDepth + } n0 := len(b) for { num2, typ2, n := ConsumeTag(b) @@ -140,7 +149,7 @@ func ConsumeFieldValue(num Number, typ Type, b []byte) (n int) { return n0 - len(b) } - n = ConsumeFieldValue(num2, typ2, b) + n = consumeFieldValueD(num2, typ2, b, depth-1) if n < 0 { return n // forward error code } diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go index eb10ea10261a..37803773fa39 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go @@ -381,7 +381,7 @@ func (d *Decoder) currentOpenKind() (Kind, byte) { case '[': return ListOpen, ']' } - panic(fmt.Sprintf("Decoder: openStack contains invalid byte %s", string(openCh))) + panic(fmt.Sprintf("Decoder: openStack contains invalid byte %c", openCh)) } func (d *Decoder) pushOpenStack(ch byte) { diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/errors/is_go112.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/errors/is_go112.go index f90e909b37ab..fbcd349207dd 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/errors/is_go112.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/errors/is_go112.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !go1.13 // +build !go1.13 package errors diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/errors/is_go113.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/errors/is_go113.go index dc05f4191c01..5e72f1cde9e1 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/errors/is_go113.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/errors/is_go113.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build go1.13 // +build go1.13 package errors diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.go index a72995f02d9e..bda8e8cf3fce 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !protolegacy // +build !protolegacy package flags diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_enable.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_enable.go index 772e2f0e4d69..6d8d9bd6b01a 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_enable.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/flags/proto_legacy_enable.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build protolegacy // +build protolegacy package flags diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_map_go111.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_map_go111.go index 2706bb67f5d8..4b15493f2f43 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_map_go111.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_map_go111.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !go1.12 // +build !go1.12 package impl diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go index 1533ef600cd8..0b31b66eaf84 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build go1.12 // +build go1.12 package impl diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_reflect.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_reflect.go index 90705e3aea74..145c577bd6b2 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_reflect.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_reflect.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build purego || appengine // +build purego appengine package impl diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_unsafe.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_unsafe.go index e118af1e20cd..757642e23c9e 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_unsafe.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/codec_unsafe.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !purego && !appengine // +build !purego,!appengine package impl diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/decode.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/decode.go index 949dc49a65b3..c65b0325c17e 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/decode.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/decode.go @@ -18,6 +18,7 @@ import ( ) var errDecode = errors.New("cannot parse invalid wire-format data") +var errRecursionDepth = errors.New("exceeded maximum recursion depth") type unmarshalOptions struct { flags protoiface.UnmarshalInputFlags @@ -25,6 +26,7 @@ type unmarshalOptions struct { FindExtensionByName(field protoreflect.FullName) (protoreflect.ExtensionType, error) FindExtensionByNumber(message protoreflect.FullName, field protoreflect.FieldNumber) (protoreflect.ExtensionType, error) } + depth int } func (o unmarshalOptions) Options() proto.UnmarshalOptions { @@ -44,6 +46,7 @@ func (o unmarshalOptions) IsDefault() bool { var lazyUnmarshalOptions = unmarshalOptions{ resolver: preg.GlobalTypes, + depth: protowire.DefaultRecursionLimit, } type unmarshalOutput struct { @@ -62,6 +65,7 @@ func (mi *MessageInfo) unmarshal(in piface.UnmarshalInput) (piface.UnmarshalOutp out, err := mi.unmarshalPointer(in.Buf, p, 0, unmarshalOptions{ flags: in.Flags, resolver: in.Resolver, + depth: in.Depth, }) var flags piface.UnmarshalOutputFlags if out.initialized { @@ -82,6 +86,10 @@ var errUnknown = errors.New("unknown") func (mi *MessageInfo) unmarshalPointer(b []byte, p pointer, groupTag protowire.Number, opts unmarshalOptions) (out unmarshalOutput, err error) { mi.init() + opts.depth-- + if opts.depth < 0 { + return out, errRecursionDepth + } if flags.ProtoLegacy && mi.isMessageSet { return unmarshalMessageSet(mi, b, p, opts) } diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/pointer_reflect.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/pointer_reflect.go index 9e3ed821efb3..4c491bdf4825 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/pointer_reflect.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/pointer_reflect.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build purego || appengine // +build purego appengine package impl diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go index 9ecf23a85bb7..ee0e0573e395 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !purego && !appengine // +build !purego,!appengine package impl diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/strs/strings_pure.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/strs/strings_pure.go index 85e074c977dc..a1f6f333860e 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/strs/strings_pure.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/strs/strings_pure.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build purego || appengine // +build purego appengine package strs diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.go index 2160c7019145..56a8a4ed3c9d 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/strs/strings_unsafe.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !purego && !appengine // +build !purego,!appengine package strs diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/version/version.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/version/version.go index 14e774fb2ec7..3d40d5249e96 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/version/version.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/internal/version/version.go @@ -52,8 +52,8 @@ import ( // 10. Send out the CL for review and submit it. const ( Major = 1 - Minor = 27 - Patch = 1 + Minor = 28 + Patch = 0 PreRelease = "" ) diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/proto/decode.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/proto/decode.go index 49f9b8c88cfd..11bf7173be92 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/proto/decode.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/proto/decode.go @@ -42,18 +42,25 @@ type UnmarshalOptions struct { FindExtensionByName(field protoreflect.FullName) (protoreflect.ExtensionType, error) FindExtensionByNumber(message protoreflect.FullName, field protoreflect.FieldNumber) (protoreflect.ExtensionType, error) } + + // RecursionLimit limits how deeply messages may be nested. + // If zero, a default limit is applied. + RecursionLimit int } // Unmarshal parses the wire-format message in b and places the result in m. // The provided message must be mutable (e.g., a non-nil pointer to a message). func Unmarshal(b []byte, m Message) error { - _, err := UnmarshalOptions{}.unmarshal(b, m.ProtoReflect()) + _, err := UnmarshalOptions{RecursionLimit: protowire.DefaultRecursionLimit}.unmarshal(b, m.ProtoReflect()) return err } // Unmarshal parses the wire-format message in b and places the result in m. // The provided message must be mutable (e.g., a non-nil pointer to a message). func (o UnmarshalOptions) Unmarshal(b []byte, m Message) error { + if o.RecursionLimit == 0 { + o.RecursionLimit = protowire.DefaultRecursionLimit + } _, err := o.unmarshal(b, m.ProtoReflect()) return err } @@ -63,6 +70,9 @@ func (o UnmarshalOptions) Unmarshal(b []byte, m Message) error { // This method permits fine-grained control over the unmarshaler. // Most users should use Unmarshal instead. func (o UnmarshalOptions) UnmarshalState(in protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { + if o.RecursionLimit == 0 { + o.RecursionLimit = protowire.DefaultRecursionLimit + } return o.unmarshal(in.Buf, in.Message) } @@ -86,12 +96,17 @@ func (o UnmarshalOptions) unmarshal(b []byte, m protoreflect.Message) (out proto Message: m, Buf: b, Resolver: o.Resolver, + Depth: o.RecursionLimit, } if o.DiscardUnknown { in.Flags |= protoiface.UnmarshalDiscardUnknown } out, err = methods.Unmarshal(in) } else { + o.RecursionLimit-- + if o.RecursionLimit < 0 { + return out, errors.New("exceeded max recursion depth") + } err = o.unmarshalMessageSlow(b, m) } if err != nil { diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/proto/proto_methods.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/proto/proto_methods.go index d8dd604f6b67..465e057b3238 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/proto/proto_methods.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/proto/proto_methods.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // The protoreflect build tag disables use of fast-path methods. +//go:build !protoreflect // +build !protoreflect package proto diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/proto/proto_reflect.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/proto/proto_reflect.go index b103d43205c4..494d6ceef9e6 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/proto/proto_reflect.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/proto/proto_reflect.go @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // The protoreflect build tag disables use of fast-path methods. +//go:build protoreflect // +build protoreflect package proto diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/methods.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/methods.go index 6be5d16e9f37..d5d5af6ebedb 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/methods.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/methods.go @@ -53,6 +53,7 @@ type ( FindExtensionByName(field FullName) (ExtensionType, error) FindExtensionByNumber(message FullName, field FieldNumber) (ExtensionType, error) } + Depth int } unmarshalOutput = struct { pragma.NoUnkeyedLiterals diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/value_pure.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/value_pure.go index 918e685e1d57..7ced876f4e89 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/value_pure.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/value_pure.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build purego || appengine // +build purego appengine package protoreflect diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go index 5a3414724193..eb7764c307c0 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go @@ -41,6 +41,31 @@ import ( // Converting to/from a Value and a concrete Go value panics on type mismatch. // For example, ValueOf("hello").Int() panics because this attempts to // retrieve an int64 from a string. +// +// List, Map, and Message Values are called "composite" values. +// +// A composite Value may alias (reference) memory at some location, +// such that changes to the Value updates the that location. +// A composite value acquired with a Mutable method, such as Message.Mutable, +// always references the source object. +// +// For example: +// // Append a 0 to a "repeated int32" field. +// // Since the Value returned by Mutable is guaranteed to alias +// // the source message, modifying the Value modifies the message. +// message.Mutable(fieldDesc).(List).Append(protoreflect.ValueOfInt32(0)) +// +// // Assign [0] to a "repeated int32" field by creating a new Value, +// // modifying it, and assigning it. +// list := message.NewField(fieldDesc).(List) +// list.Append(protoreflect.ValueOfInt32(0)) +// message.Set(fieldDesc, list) +// // ERROR: Since it is not defined whether Set aliases the source, +// // appending to the List here may or may not modify the message. +// list.Append(protoreflect.ValueOfInt32(0)) +// +// Some operations, such as Message.Get, may return an "empty, read-only" +// composite Value. Modifying an empty, read-only value panics. type Value value // The protoreflect API uses a custom Value union type instead of interface{} diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe.go index c45debdcac6c..702ddf22a274 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build !purego && !appengine // +build !purego,!appengine package protoreflect diff --git a/cluster-autoscaler/vendor/google.golang.org/protobuf/runtime/protoiface/methods.go b/cluster-autoscaler/vendor/google.golang.org/protobuf/runtime/protoiface/methods.go index 32c04f67eb73..44cf467d8845 100644 --- a/cluster-autoscaler/vendor/google.golang.org/protobuf/runtime/protoiface/methods.go +++ b/cluster-autoscaler/vendor/google.golang.org/protobuf/runtime/protoiface/methods.go @@ -103,6 +103,7 @@ type UnmarshalInput = struct { FindExtensionByName(field protoreflect.FullName) (protoreflect.ExtensionType, error) FindExtensionByNumber(message protoreflect.FullName, field protoreflect.FieldNumber) (protoreflect.ExtensionType, error) } + Depth int } // UnmarshalOutput is output from the Unmarshal method. diff --git a/cluster-autoscaler/vendor/gopkg.in/yaml.v2/go.mod b/cluster-autoscaler/vendor/gopkg.in/yaml.v2/go.mod deleted file mode 100644 index 2cbb85aeacd7..000000000000 --- a/cluster-autoscaler/vendor/gopkg.in/yaml.v2/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module gopkg.in/yaml.v2 - -go 1.15 - -require gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 diff --git a/cluster-autoscaler/vendor/gopkg.in/yaml.v3/go.mod b/cluster-autoscaler/vendor/gopkg.in/yaml.v3/go.mod deleted file mode 100644 index f407ea3213ed..000000000000 --- a/cluster-autoscaler/vendor/gopkg.in/yaml.v3/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module "gopkg.in/yaml.v3" - -require ( - "gopkg.in/check.v1" v0.0.0-20161208181325-20d25e280405 -) diff --git a/cluster-autoscaler/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.proto index 37ac0d326703..63c45d54d716 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.proto @@ -44,7 +44,7 @@ message ServerStorageVersion { repeated string decodableVersions = 3; } -// Storage version of a specific resource. +// Storage version of a specific resource. message StorageVersion { // The name is .. optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; diff --git a/cluster-autoscaler/vendor/k8s.io/api/apiserverinternal/v1alpha1/types.go b/cluster-autoscaler/vendor/k8s.io/api/apiserverinternal/v1alpha1/types.go index bfa249e135c7..a0437b5074cc 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/apiserverinternal/v1alpha1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/apiserverinternal/v1alpha1/types.go @@ -24,7 +24,7 @@ import ( // +genclient:nonNamespaced // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object -// Storage version of a specific resource. +// Storage version of a specific resource. type StorageVersion struct { metav1.TypeMeta `json:",inline"` // The name is .. diff --git a/cluster-autoscaler/vendor/k8s.io/api/apiserverinternal/v1alpha1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/apiserverinternal/v1alpha1/types_swagger_doc_generated.go index 297ed08a7157..6de93420069e 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/apiserverinternal/v1alpha1/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/apiserverinternal/v1alpha1/types_swagger_doc_generated.go @@ -39,7 +39,7 @@ func (ServerStorageVersion) SwaggerDoc() map[string]string { } var map_StorageVersion = map[string]string{ - "": "\n Storage version of a specific resource.", + "": "Storage version of a specific resource.", "metadata": "The name is ..", "spec": "Spec is an empty spec. It is here to comply with Kubernetes API style.", "status": "API server instances report the version they can decode and the version they encode objects to when persisting objects in the backend.", diff --git a/cluster-autoscaler/vendor/k8s.io/api/apps/v1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/apps/v1/generated.proto index 1bdc400b9d20..5b27b92cf08c 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/apps/v1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/apps/v1/generated.proto @@ -513,7 +513,6 @@ message RollingUpdateDaemonSet { // daemonset on any given node can double if the readiness check fails, and // so resource intensive daemonsets should take into account that they may // cause evictions during disruption. - // This is beta field and enabled/disabled by DaemonSetUpdateSurge feature gate. // +optional optional k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2; } @@ -570,8 +569,9 @@ message RollingUpdateStatefulSetStrategy { // StatefulSet represents a set of pods with consistent identities. // Identities are defined as: -// - Network: A single stable DNS and hostname. -// - Storage: As many VolumeClaims as requested. +// - Network: A single stable DNS and hostname. +// - Storage: As many VolumeClaims as requested. +// // The StatefulSet guarantees that a given network identity will always // map to the same storage identity. message StatefulSet { @@ -702,7 +702,6 @@ message StatefulSetSpec { // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) - // This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate. // +optional optional int32 minReadySeconds = 9; @@ -758,7 +757,6 @@ message StatefulSetStatus { repeated StatefulSetCondition conditions = 10; // Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset. - // This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate. // +optional optional int32 availableReplicas = 11; } diff --git a/cluster-autoscaler/vendor/k8s.io/api/apps/v1/types.go b/cluster-autoscaler/vendor/k8s.io/api/apps/v1/types.go index 28474be7f4fd..e541d63d79e4 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/apps/v1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/apps/v1/types.go @@ -39,8 +39,9 @@ const ( // StatefulSet represents a set of pods with consistent identities. // Identities are defined as: -// - Network: A single stable DNS and hostname. -// - Storage: As many VolumeClaims as requested. +// - Network: A single stable DNS and hostname. +// - Storage: As many VolumeClaims as requested. +// // The StatefulSet guarantees that a given network identity will always // map to the same storage identity. type StatefulSet struct { @@ -225,7 +226,6 @@ type StatefulSetSpec struct { // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) - // This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate. // +optional MinReadySeconds int32 `json:"minReadySeconds,omitempty" protobuf:"varint,9,opt,name=minReadySeconds"` @@ -281,7 +281,6 @@ type StatefulSetStatus struct { Conditions []StatefulSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"` // Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset. - // This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate. // +optional AvailableReplicas int32 `json:"availableReplicas" protobuf:"varint,11,opt,name=availableReplicas"` } @@ -598,7 +597,6 @@ type RollingUpdateDaemonSet struct { // daemonset on any given node can double if the readiness check fails, and // so resource intensive daemonsets should take into account that they may // cause evictions during disruption. - // This is beta field and enabled/disabled by DaemonSetUpdateSurge feature gate. // +optional MaxSurge *intstr.IntOrString `json:"maxSurge,omitempty" protobuf:"bytes,2,opt,name=maxSurge"` } diff --git a/cluster-autoscaler/vendor/k8s.io/api/apps/v1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/apps/v1/types_swagger_doc_generated.go index f00d10aeabc2..3cb5e4e760d5 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/apps/v1/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/apps/v1/types_swagger_doc_generated.go @@ -263,7 +263,7 @@ func (ReplicaSetStatus) SwaggerDoc() map[string]string { var map_RollingUpdateDaemonSet = map[string]string{ "": "Spec to control the desired behavior of daemon set rolling update.", "maxUnavailable": "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.", - "maxSurge": "The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption. This is beta field and enabled/disabled by DaemonSetUpdateSurge feature gate.", + "maxSurge": "The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption.", } func (RollingUpdateDaemonSet) SwaggerDoc() map[string]string { @@ -291,7 +291,7 @@ func (RollingUpdateStatefulSetStrategy) SwaggerDoc() map[string]string { } var map_StatefulSet = map[string]string{ - "": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", + "": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", "spec": "Spec defines the desired identities of pods in this set.", "status": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.", @@ -344,7 +344,7 @@ var map_StatefulSetSpec = map[string]string{ "podManagementPolicy": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", "updateStrategy": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.", "revisionHistoryLimit": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "minReadySeconds": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate.", + "minReadySeconds": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", "persistentVolumeClaimRetentionPolicy": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional", } @@ -363,7 +363,7 @@ var map_StatefulSetStatus = map[string]string{ "updateRevision": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)", "collisionCount": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", "conditions": "Represents the latest available observations of a statefulset's current state.", - "availableReplicas": "Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset. This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate.", + "availableReplicas": "Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.", } func (StatefulSetStatus) SwaggerDoc() map[string]string { diff --git a/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta1/generated.proto index 53df96ee4de3..5823613ed204 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta1/generated.proto @@ -332,8 +332,9 @@ message ScaleStatus { // more information. // StatefulSet represents a set of pods with consistent identities. // Identities are defined as: -// - Network: A single stable DNS and hostname. -// - Storage: As many VolumeClaims as requested. +// - Network: A single stable DNS and hostname. +// - Storage: As many VolumeClaims as requested. +// // The StatefulSet guarantees that a given network identity will always // map to the same storage identity. message StatefulSet { @@ -460,7 +461,6 @@ message StatefulSetSpec { // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) - // This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate. // +optional optional int32 minReadySeconds = 9; @@ -513,7 +513,6 @@ message StatefulSetStatus { repeated StatefulSetCondition conditions = 10; // Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet. - // This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate. // +optional optional int32 availableReplicas = 11; } diff --git a/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta1/types.go b/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta1/types.go index cdc81c956a3c..4632c63a79e6 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta1/types.go @@ -88,8 +88,9 @@ type Scale struct { // more information. // StatefulSet represents a set of pods with consistent identities. // Identities are defined as: -// - Network: A single stable DNS and hostname. -// - Storage: As many VolumeClaims as requested. +// - Network: A single stable DNS and hostname. +// - Storage: As many VolumeClaims as requested. +// // The StatefulSet guarantees that a given network identity will always // map to the same storage identity. type StatefulSet struct { @@ -267,7 +268,6 @@ type StatefulSetSpec struct { // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) - // This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate. // +optional MinReadySeconds int32 `json:"minReadySeconds,omitempty" protobuf:"varint,9,opt,name=minReadySeconds"` @@ -320,7 +320,6 @@ type StatefulSetStatus struct { Conditions []StatefulSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"` // Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet. - // This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate. // +optional AvailableReplicas int32 `json:"availableReplicas" protobuf:"varint,11,opt,name=availableReplicas"` } diff --git a/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta1/types_swagger_doc_generated.go index f57b7b2efcfd..47f3414533dc 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta1/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta1/types_swagger_doc_generated.go @@ -198,7 +198,7 @@ func (ScaleStatus) SwaggerDoc() map[string]string { } var map_StatefulSet = map[string]string{ - "": "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", + "": "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1beta2/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", "spec": "Spec defines the desired identities of pods in this set.", "status": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.", } @@ -248,7 +248,7 @@ var map_StatefulSetSpec = map[string]string{ "podManagementPolicy": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", "updateStrategy": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.", "revisionHistoryLimit": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "minReadySeconds": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate.", + "minReadySeconds": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", "persistentVolumeClaimRetentionPolicy": "PersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha.", } @@ -267,7 +267,7 @@ var map_StatefulSetStatus = map[string]string{ "updateRevision": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)", "collisionCount": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", "conditions": "Represents the latest available observations of a statefulset's current state.", - "availableReplicas": "Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet. This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate.", + "availableReplicas": "Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.", } func (StatefulSetStatus) SwaggerDoc() map[string]string { diff --git a/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta2/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta2/generated.proto index b5bc8c0cab51..9103c6ba1c8c 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta2/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta2/generated.proto @@ -519,7 +519,6 @@ message RollingUpdateDaemonSet { // daemonset on any given node can double if the readiness check fails, and // so resource intensive daemonsets should take into account that they may // cause evictions during disruption. - // This is beta field and enabled/disabled by DaemonSetUpdateSurge feature gate. // +optional optional k8s.io.apimachinery.pkg.util.intstr.IntOrString maxSurge = 2; } @@ -620,8 +619,9 @@ message ScaleStatus { // more information. // StatefulSet represents a set of pods with consistent identities. // Identities are defined as: -// - Network: A single stable DNS and hostname. -// - Storage: As many VolumeClaims as requested. +// - Network: A single stable DNS and hostname. +// - Storage: As many VolumeClaims as requested. +// // The StatefulSet guarantees that a given network identity will always // map to the same storage identity. message StatefulSet { @@ -747,7 +747,6 @@ message StatefulSetSpec { // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) - // This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate. // +optional optional int32 minReadySeconds = 9; @@ -800,7 +799,6 @@ message StatefulSetStatus { repeated StatefulSetCondition conditions = 10; // Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet. - // This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate. // +optional optional int32 availableReplicas = 11; } diff --git a/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta2/types.go b/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta2/types.go index 6c2448869e71..4e21bb267e18 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta2/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta2/types.go @@ -94,8 +94,9 @@ type Scale struct { // more information. // StatefulSet represents a set of pods with consistent identities. // Identities are defined as: -// - Network: A single stable DNS and hostname. -// - Storage: As many VolumeClaims as requested. +// - Network: A single stable DNS and hostname. +// - Storage: As many VolumeClaims as requested. +// // The StatefulSet guarantees that a given network identity will always // map to the same storage identity. type StatefulSet struct { @@ -276,7 +277,6 @@ type StatefulSetSpec struct { // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) - // This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate. // +optional MinReadySeconds int32 `json:"minReadySeconds,omitempty" protobuf:"varint,9,opt,name=minReadySeconds"` @@ -329,7 +329,6 @@ type StatefulSetStatus struct { Conditions []StatefulSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"` // Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet. - // This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate. // +optional AvailableReplicas int32 `json:"availableReplicas" protobuf:"varint,11,opt,name=availableReplicas"` } @@ -650,7 +649,6 @@ type RollingUpdateDaemonSet struct { // daemonset on any given node can double if the readiness check fails, and // so resource intensive daemonsets should take into account that they may // cause evictions during disruption. - // This is beta field and enabled/disabled by DaemonSetUpdateSurge feature gate. // +optional MaxSurge *intstr.IntOrString `json:"maxSurge,omitempty" protobuf:"bytes,2,opt,name=maxSurge"` } diff --git a/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go index ef1de63b2f2e..29c746d0b1c5 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go @@ -263,7 +263,7 @@ func (ReplicaSetStatus) SwaggerDoc() map[string]string { var map_RollingUpdateDaemonSet = map[string]string{ "": "Spec to control the desired behavior of daemon set rolling update.", "maxUnavailable": "The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.", - "maxSurge": "The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption. This is beta field and enabled/disabled by DaemonSetUpdateSurge feature gate.", + "maxSurge": "The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption.", } func (RollingUpdateDaemonSet) SwaggerDoc() map[string]string { @@ -322,7 +322,7 @@ func (ScaleStatus) SwaggerDoc() map[string]string { } var map_StatefulSet = map[string]string{ - "": "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", + "": "DEPRECATED - This group version of StatefulSet is deprecated by apps/v1/StatefulSet. See the release notes for more information. StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\n\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", "spec": "Spec defines the desired identities of pods in this set.", "status": "Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.", } @@ -372,7 +372,7 @@ var map_StatefulSetSpec = map[string]string{ "podManagementPolicy": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.", "updateStrategy": "updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.", "revisionHistoryLimit": "revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.", - "minReadySeconds": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate.", + "minReadySeconds": "Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)", "persistentVolumeClaimRetentionPolicy": "PersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha.", } @@ -391,7 +391,7 @@ var map_StatefulSetStatus = map[string]string{ "updateRevision": "updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)", "collisionCount": "collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.", "conditions": "Represents the latest available observations of a statefulset's current state.", - "availableReplicas": "Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet. This is a beta field and enabled/disabled by StatefulSetMinReadySeconds feature gate.", + "availableReplicas": "Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.", } func (StatefulSetStatus) SwaggerDoc() map[string]string { diff --git a/cluster-autoscaler/vendor/k8s.io/api/batch/v1/generated.pb.go b/cluster-autoscaler/vendor/k8s.io/api/batch/v1/generated.pb.go index 483406d84c59..feafc23c2bba 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/batch/v1/generated.pb.go +++ b/cluster-autoscaler/vendor/k8s.io/api/batch/v1/generated.pb.go @@ -328,10 +328,126 @@ func (m *JobTemplateSpec) XXX_DiscardUnknown() { var xxx_messageInfo_JobTemplateSpec proto.InternalMessageInfo +func (m *PodFailurePolicy) Reset() { *m = PodFailurePolicy{} } +func (*PodFailurePolicy) ProtoMessage() {} +func (*PodFailurePolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_3b52da57c93de713, []int{10} +} +func (m *PodFailurePolicy) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PodFailurePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil +} +func (m *PodFailurePolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_PodFailurePolicy.Merge(m, src) +} +func (m *PodFailurePolicy) XXX_Size() int { + return m.Size() +} +func (m *PodFailurePolicy) XXX_DiscardUnknown() { + xxx_messageInfo_PodFailurePolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_PodFailurePolicy proto.InternalMessageInfo + +func (m *PodFailurePolicyOnExitCodesRequirement) Reset() { + *m = PodFailurePolicyOnExitCodesRequirement{} +} +func (*PodFailurePolicyOnExitCodesRequirement) ProtoMessage() {} +func (*PodFailurePolicyOnExitCodesRequirement) Descriptor() ([]byte, []int) { + return fileDescriptor_3b52da57c93de713, []int{11} +} +func (m *PodFailurePolicyOnExitCodesRequirement) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PodFailurePolicyOnExitCodesRequirement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil +} +func (m *PodFailurePolicyOnExitCodesRequirement) XXX_Merge(src proto.Message) { + xxx_messageInfo_PodFailurePolicyOnExitCodesRequirement.Merge(m, src) +} +func (m *PodFailurePolicyOnExitCodesRequirement) XXX_Size() int { + return m.Size() +} +func (m *PodFailurePolicyOnExitCodesRequirement) XXX_DiscardUnknown() { + xxx_messageInfo_PodFailurePolicyOnExitCodesRequirement.DiscardUnknown(m) +} + +var xxx_messageInfo_PodFailurePolicyOnExitCodesRequirement proto.InternalMessageInfo + +func (m *PodFailurePolicyOnPodConditionsPattern) Reset() { + *m = PodFailurePolicyOnPodConditionsPattern{} +} +func (*PodFailurePolicyOnPodConditionsPattern) ProtoMessage() {} +func (*PodFailurePolicyOnPodConditionsPattern) Descriptor() ([]byte, []int) { + return fileDescriptor_3b52da57c93de713, []int{12} +} +func (m *PodFailurePolicyOnPodConditionsPattern) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PodFailurePolicyOnPodConditionsPattern) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil +} +func (m *PodFailurePolicyOnPodConditionsPattern) XXX_Merge(src proto.Message) { + xxx_messageInfo_PodFailurePolicyOnPodConditionsPattern.Merge(m, src) +} +func (m *PodFailurePolicyOnPodConditionsPattern) XXX_Size() int { + return m.Size() +} +func (m *PodFailurePolicyOnPodConditionsPattern) XXX_DiscardUnknown() { + xxx_messageInfo_PodFailurePolicyOnPodConditionsPattern.DiscardUnknown(m) +} + +var xxx_messageInfo_PodFailurePolicyOnPodConditionsPattern proto.InternalMessageInfo + +func (m *PodFailurePolicyRule) Reset() { *m = PodFailurePolicyRule{} } +func (*PodFailurePolicyRule) ProtoMessage() {} +func (*PodFailurePolicyRule) Descriptor() ([]byte, []int) { + return fileDescriptor_3b52da57c93de713, []int{13} +} +func (m *PodFailurePolicyRule) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PodFailurePolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil +} +func (m *PodFailurePolicyRule) XXX_Merge(src proto.Message) { + xxx_messageInfo_PodFailurePolicyRule.Merge(m, src) +} +func (m *PodFailurePolicyRule) XXX_Size() int { + return m.Size() +} +func (m *PodFailurePolicyRule) XXX_DiscardUnknown() { + xxx_messageInfo_PodFailurePolicyRule.DiscardUnknown(m) +} + +var xxx_messageInfo_PodFailurePolicyRule proto.InternalMessageInfo + func (m *UncountedTerminatedPods) Reset() { *m = UncountedTerminatedPods{} } func (*UncountedTerminatedPods) ProtoMessage() {} func (*UncountedTerminatedPods) Descriptor() ([]byte, []int) { - return fileDescriptor_3b52da57c93de713, []int{10} + return fileDescriptor_3b52da57c93de713, []int{14} } func (m *UncountedTerminatedPods) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -367,6 +483,10 @@ func init() { proto.RegisterType((*JobSpec)(nil), "k8s.io.api.batch.v1.JobSpec") proto.RegisterType((*JobStatus)(nil), "k8s.io.api.batch.v1.JobStatus") proto.RegisterType((*JobTemplateSpec)(nil), "k8s.io.api.batch.v1.JobTemplateSpec") + proto.RegisterType((*PodFailurePolicy)(nil), "k8s.io.api.batch.v1.PodFailurePolicy") + proto.RegisterType((*PodFailurePolicyOnExitCodesRequirement)(nil), "k8s.io.api.batch.v1.PodFailurePolicyOnExitCodesRequirement") + proto.RegisterType((*PodFailurePolicyOnPodConditionsPattern)(nil), "k8s.io.api.batch.v1.PodFailurePolicyOnPodConditionsPattern") + proto.RegisterType((*PodFailurePolicyRule)(nil), "k8s.io.api.batch.v1.PodFailurePolicyRule") proto.RegisterType((*UncountedTerminatedPods)(nil), "k8s.io.api.batch.v1.UncountedTerminatedPods") } @@ -375,97 +495,113 @@ func init() { } var fileDescriptor_3b52da57c93de713 = []byte{ - // 1431 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x41, 0x6f, 0x1b, 0xc5, - 0x17, 0xcf, 0xc6, 0x71, 0x6c, 0x8f, 0x93, 0xd4, 0x9d, 0xfe, 0xdb, 0xfa, 0x6f, 0x2a, 0x6f, 0x6a, - 0x0a, 0x0a, 0xa8, 0xac, 0x49, 0x88, 0x10, 0x20, 0x40, 0xca, 0xa6, 0x2a, 0x34, 0x38, 0x6a, 0x18, - 0x3b, 0x42, 0x2a, 0x05, 0xb1, 0xde, 0x1d, 0x3b, 0xdb, 0xac, 0x77, 0xac, 0x9d, 0x71, 0x84, 0x6f, - 0x48, 0x7c, 0x01, 0xf8, 0x12, 0x1c, 0x11, 0x12, 0x9c, 0x39, 0xa2, 0x1e, 0x2b, 0x4e, 0x3d, 0xad, - 0xe8, 0xf2, 0x01, 0xb8, 0x87, 0x0b, 0x9a, 0xd9, 0xf1, 0xee, 0xda, 0xde, 0x0d, 0x49, 0x0f, 0x15, - 0xb7, 0xcc, 0x9b, 0xdf, 0xfb, 0xcd, 0xdb, 0x79, 0xbf, 0x79, 0xef, 0x39, 0xe0, 0xfd, 0xe3, 0x77, - 0xa8, 0x66, 0x93, 0xe6, 0xf1, 0xa8, 0x8b, 0x3d, 0x17, 0x33, 0x4c, 0x9b, 0x27, 0xd8, 0xb5, 0x88, - 0xd7, 0x94, 0x1b, 0xc6, 0xd0, 0x6e, 0x76, 0x0d, 0x66, 0x1e, 0x35, 0x4f, 0x36, 0x9b, 0x7d, 0xec, - 0x62, 0xcf, 0x60, 0xd8, 0xd2, 0x86, 0x1e, 0x61, 0x04, 0x5e, 0x09, 0x41, 0x9a, 0x31, 0xb4, 0x35, - 0x01, 0xd2, 0x4e, 0x36, 0x6b, 0x6f, 0xf4, 0x6d, 0x76, 0x34, 0xea, 0x6a, 0x26, 0x19, 0x34, 0xfb, - 0xa4, 0x4f, 0x9a, 0x02, 0xdb, 0x1d, 0xf5, 0xc4, 0x4a, 0x2c, 0xc4, 0x5f, 0x21, 0x47, 0xad, 0x91, - 0x38, 0xc8, 0x24, 0x1e, 0x4e, 0x39, 0xa7, 0xb6, 0x1d, 0x63, 0x06, 0x86, 0x79, 0x64, 0xbb, 0xd8, - 0x1b, 0x37, 0x87, 0xc7, 0x7d, 0x6e, 0xa0, 0xcd, 0x01, 0x66, 0x46, 0x9a, 0x57, 0x33, 0xcb, 0xcb, - 0x1b, 0xb9, 0xcc, 0x1e, 0xe0, 0x39, 0x87, 0xb7, 0xff, 0xcd, 0x81, 0x9a, 0x47, 0x78, 0x60, 0xcc, - 0xfa, 0x35, 0xfe, 0x56, 0x40, 0x61, 0xd7, 0x23, 0xee, 0x1e, 0xe9, 0xc2, 0xaf, 0x40, 0x91, 0xc7, - 0x63, 0x19, 0xcc, 0xa8, 0x2a, 0xeb, 0xca, 0x46, 0x79, 0xeb, 0x4d, 0x2d, 0xbe, 0xa5, 0x88, 0x56, - 0x1b, 0x1e, 0xf7, 0xb9, 0x81, 0x6a, 0x1c, 0xad, 0x9d, 0x6c, 0x6a, 0xf7, 0xbb, 0x8f, 0xb0, 0xc9, - 0xf6, 0x31, 0x33, 0x74, 0xf8, 0xd8, 0x57, 0x17, 0x02, 0x5f, 0x05, 0xb1, 0x0d, 0x45, 0xac, 0x50, - 0x07, 0x4b, 0x74, 0x88, 0xcd, 0xea, 0xa2, 0x60, 0x5f, 0xd7, 0x52, 0x72, 0xa0, 0xc9, 0x68, 0xda, - 0x43, 0x6c, 0xea, 0x2b, 0x92, 0x6d, 0x89, 0xaf, 0x90, 0xf0, 0x85, 0x7b, 0x60, 0x99, 0x32, 0x83, - 0x8d, 0x68, 0x35, 0x27, 0x58, 0x1a, 0x67, 0xb2, 0x08, 0xa4, 0xbe, 0x26, 0x79, 0x96, 0xc3, 0x35, - 0x92, 0x0c, 0x8d, 0x1f, 0x15, 0x50, 0x96, 0xc8, 0x96, 0x4d, 0x19, 0x7c, 0x38, 0x77, 0x03, 0xda, - 0xf9, 0x6e, 0x80, 0x7b, 0x8b, 0xef, 0xaf, 0xc8, 0x93, 0x8a, 0x13, 0x4b, 0xe2, 0xeb, 0x77, 0x40, - 0xde, 0x66, 0x78, 0x40, 0xab, 0x8b, 0xeb, 0xb9, 0x8d, 0xf2, 0xd6, 0x8d, 0xb3, 0x02, 0xd7, 0x57, - 0x25, 0x51, 0xfe, 0x1e, 0x77, 0x41, 0xa1, 0x67, 0xe3, 0xf7, 0xa5, 0x28, 0x60, 0x7e, 0x25, 0xf0, - 0x36, 0x28, 0xf2, 0xc4, 0x5a, 0x23, 0x07, 0x8b, 0x80, 0x4b, 0x71, 0x00, 0x6d, 0x69, 0x47, 0x11, - 0x02, 0x6e, 0x80, 0x22, 0xd7, 0xc2, 0x03, 0xe2, 0xe2, 0x6a, 0x51, 0xa0, 0x57, 0x38, 0xb2, 0x23, - 0x6d, 0x28, 0xda, 0x85, 0x87, 0xe0, 0x3a, 0x65, 0x86, 0xc7, 0x6c, 0xb7, 0x7f, 0x07, 0x1b, 0x96, - 0x63, 0xbb, 0xb8, 0x8d, 0x4d, 0xe2, 0x5a, 0x54, 0xe4, 0x2e, 0xa7, 0xbf, 0x14, 0xf8, 0xea, 0xf5, - 0x76, 0x3a, 0x04, 0x65, 0xf9, 0xc2, 0x87, 0xe0, 0xb2, 0x49, 0x5c, 0x73, 0xe4, 0x79, 0xd8, 0x35, - 0xc7, 0x07, 0xc4, 0xb1, 0xcd, 0xb1, 0x48, 0x63, 0x49, 0xd7, 0x64, 0xdc, 0x97, 0x77, 0x67, 0x01, - 0xa7, 0x69, 0x46, 0x34, 0x4f, 0x04, 0x5f, 0x01, 0x05, 0x3a, 0xa2, 0x43, 0xec, 0x5a, 0xd5, 0xa5, - 0x75, 0x65, 0xa3, 0xa8, 0x97, 0x03, 0x5f, 0x2d, 0xb4, 0x43, 0x13, 0x9a, 0xec, 0xc1, 0xcf, 0x41, - 0xf9, 0x11, 0xe9, 0x76, 0xf0, 0x60, 0xe8, 0x18, 0x0c, 0x57, 0xf3, 0x22, 0xcf, 0xb7, 0x52, 0x93, - 0xb1, 0x17, 0xe3, 0x84, 0x1e, 0xaf, 0xc8, 0x20, 0xcb, 0x89, 0x0d, 0x94, 0x64, 0x83, 0x5f, 0x82, - 0x1a, 0x1d, 0x99, 0x26, 0xa6, 0xb4, 0x37, 0x72, 0xf6, 0x48, 0x97, 0x7e, 0x6c, 0x53, 0x46, 0xbc, - 0x71, 0xcb, 0x1e, 0xd8, 0xac, 0xba, 0xbc, 0xae, 0x6c, 0xe4, 0xf5, 0x7a, 0xe0, 0xab, 0xb5, 0x76, - 0x26, 0x0a, 0x9d, 0xc1, 0x00, 0x11, 0xb8, 0xd6, 0x33, 0x6c, 0x07, 0x5b, 0x73, 0xdc, 0x05, 0xc1, - 0x5d, 0x0b, 0x7c, 0xf5, 0xda, 0xdd, 0x54, 0x04, 0xca, 0xf0, 0x6c, 0xfc, 0xba, 0x08, 0x56, 0xa7, - 0xde, 0x0b, 0xfc, 0x04, 0x2c, 0x1b, 0x26, 0xb3, 0x4f, 0xb8, 0xa8, 0xb8, 0x54, 0x5f, 0x4e, 0xde, - 0x0e, 0xaf, 0x74, 0xf1, 0xab, 0x47, 0xb8, 0x87, 0x79, 0x12, 0x70, 0xfc, 0xc8, 0x76, 0x84, 0x2b, - 0x92, 0x14, 0xd0, 0x01, 0x15, 0xc7, 0xa0, 0x6c, 0xa2, 0x47, 0xae, 0x36, 0x91, 0x9f, 0xf2, 0xd6, - 0xeb, 0xe7, 0x7b, 0x5c, 0xdc, 0x43, 0xff, 0x5f, 0xe0, 0xab, 0x95, 0xd6, 0x0c, 0x0f, 0x9a, 0x63, - 0x86, 0x1e, 0x80, 0xc2, 0x16, 0x5d, 0xa1, 0x38, 0x2f, 0x7f, 0xe1, 0xf3, 0xae, 0x05, 0xbe, 0x0a, - 0x5b, 0x73, 0x4c, 0x28, 0x85, 0xbd, 0xf1, 0x97, 0x02, 0x72, 0x2f, 0xa6, 0x80, 0x7e, 0x38, 0x55, - 0x40, 0x6f, 0x64, 0x89, 0x36, 0xb3, 0x78, 0xde, 0x9d, 0x29, 0x9e, 0xf5, 0x4c, 0x86, 0xb3, 0x0b, - 0xe7, 0x6f, 0x39, 0xb0, 0xb2, 0x47, 0xba, 0xbb, 0xc4, 0xb5, 0x6c, 0x66, 0x13, 0x17, 0x6e, 0x83, - 0x25, 0x36, 0x1e, 0x4e, 0x8a, 0xd0, 0xfa, 0xe4, 0xe8, 0xce, 0x78, 0x88, 0x4f, 0x7d, 0xb5, 0x92, - 0xc4, 0x72, 0x1b, 0x12, 0x68, 0xd8, 0x8a, 0xc2, 0x59, 0x14, 0x7e, 0xdb, 0xd3, 0xc7, 0x9d, 0xfa, - 0x6a, 0x4a, 0x8b, 0xd5, 0x22, 0xa6, 0xe9, 0xa0, 0x60, 0x1f, 0xac, 0xf2, 0xe4, 0x1c, 0x78, 0xa4, - 0x1b, 0xaa, 0x2c, 0x77, 0xe1, 0xac, 0x5f, 0x95, 0x01, 0xac, 0xb6, 0x92, 0x44, 0x68, 0x9a, 0x17, - 0x9e, 0x84, 0x1a, 0xeb, 0x78, 0x86, 0x4b, 0xc3, 0x4f, 0x7a, 0x3e, 0x4d, 0xd7, 0xe4, 0x69, 0x42, - 0x67, 0xd3, 0x6c, 0x28, 0xe5, 0x04, 0xf8, 0x2a, 0x58, 0xf6, 0xb0, 0x41, 0x89, 0x2b, 0xf4, 0x5c, - 0x8a, 0xb3, 0x83, 0x84, 0x15, 0xc9, 0x5d, 0xf8, 0x1a, 0x28, 0x0c, 0x30, 0xa5, 0x46, 0x1f, 0x8b, - 0x8a, 0x53, 0xd2, 0x2f, 0x49, 0x60, 0x61, 0x3f, 0x34, 0xa3, 0xc9, 0x7e, 0xe3, 0x07, 0x05, 0x14, - 0x5e, 0x4c, 0xf7, 0xfb, 0x60, 0xba, 0xfb, 0x55, 0xb3, 0x94, 0x97, 0xd1, 0xf9, 0x7e, 0xca, 0x8b, - 0x40, 0x45, 0xd7, 0xdb, 0x04, 0xe5, 0xa1, 0xe1, 0x19, 0x8e, 0x83, 0x1d, 0x9b, 0x0e, 0x44, 0xac, - 0x79, 0xfd, 0x12, 0xaf, 0xcb, 0x07, 0xb1, 0x19, 0x25, 0x31, 0xdc, 0xc5, 0x24, 0x83, 0xa1, 0x83, - 0xf9, 0x65, 0x86, 0x72, 0x93, 0x2e, 0xbb, 0xb1, 0x19, 0x25, 0x31, 0xf0, 0x3e, 0xb8, 0x1a, 0x56, - 0xb0, 0xd9, 0x0e, 0x98, 0x13, 0x1d, 0xf0, 0xff, 0x81, 0xaf, 0x5e, 0xdd, 0x49, 0x03, 0xa0, 0x74, - 0x3f, 0xb8, 0x0d, 0x56, 0xba, 0x86, 0x79, 0x4c, 0x7a, 0xbd, 0x64, 0xc5, 0xae, 0x04, 0xbe, 0xba, - 0xa2, 0x27, 0xec, 0x68, 0x0a, 0x05, 0xbf, 0x00, 0x45, 0x8a, 0x1d, 0x6c, 0x32, 0xe2, 0x49, 0x89, - 0xbd, 0x75, 0xce, 0xac, 0x18, 0x5d, 0xec, 0xb4, 0xa5, 0x6b, 0xd8, 0xe9, 0x27, 0x2b, 0x14, 0x51, - 0xc2, 0xf7, 0xc0, 0xda, 0xc0, 0x70, 0x47, 0x46, 0x84, 0x14, 0xda, 0x2a, 0xea, 0x30, 0xf0, 0xd5, - 0xb5, 0xfd, 0xa9, 0x1d, 0x34, 0x83, 0x84, 0x9f, 0x82, 0x22, 0x9b, 0xb4, 0xd1, 0x65, 0x11, 0x5a, - 0x6a, 0xa3, 0x38, 0x20, 0xd6, 0x54, 0x17, 0x8d, 0x54, 0x12, 0xb5, 0xd0, 0x88, 0x86, 0x0f, 0x1e, - 0x8c, 0x39, 0xf2, 0xc6, 0x76, 0x7a, 0x0c, 0x7b, 0x77, 0x6d, 0xd7, 0xa6, 0x47, 0xd8, 0x12, 0x13, - 0x4b, 0x3e, 0x1c, 0x3c, 0x3a, 0x9d, 0x56, 0x1a, 0x04, 0x65, 0xf9, 0xc2, 0x16, 0x58, 0x8b, 0x53, - 0xbb, 0x4f, 0x2c, 0x5c, 0x2d, 0x89, 0x87, 0x71, 0x8b, 0x7f, 0xe5, 0xee, 0xd4, 0xce, 0xe9, 0x9c, - 0x05, 0xcd, 0xf8, 0x26, 0x07, 0x0d, 0x90, 0x3d, 0x68, 0x34, 0xbe, 0xcf, 0x83, 0x52, 0xdc, 0x53, - 0x0f, 0x01, 0x30, 0x27, 0x85, 0x8b, 0xca, 0xbe, 0x7a, 0x33, 0xeb, 0x11, 0x44, 0x25, 0x2e, 0xee, - 0x07, 0x91, 0x89, 0xa2, 0x04, 0x11, 0xfc, 0x0c, 0x94, 0xc4, 0xb4, 0x25, 0x4a, 0xd0, 0xe2, 0x85, - 0x4b, 0xd0, 0x6a, 0xe0, 0xab, 0xa5, 0xf6, 0x84, 0x00, 0xc5, 0x5c, 0xb0, 0x97, 0xbc, 0xb2, 0xe7, - 0x2c, 0xa7, 0x70, 0xfa, 0x7a, 0xc5, 0x11, 0x33, 0xac, 0xbc, 0xa8, 0xc9, 0x59, 0x63, 0x49, 0x24, - 0x38, 0x6b, 0x8c, 0x68, 0x82, 0x92, 0x98, 0x8b, 0xb0, 0x85, 0x2d, 0xa1, 0xd1, 0xbc, 0x7e, 0x59, - 0x42, 0x4b, 0xed, 0xc9, 0x06, 0x8a, 0x31, 0x9c, 0x38, 0x1c, 0x78, 0xe4, 0xd8, 0x15, 0x11, 0x87, - 0xe3, 0x11, 0x92, 0xbb, 0xf0, 0x0e, 0xa8, 0xc8, 0x90, 0xb0, 0x75, 0xcf, 0xb5, 0xf0, 0xd7, 0x98, - 0x8a, 0xa7, 0x59, 0xd2, 0xab, 0xd2, 0xa3, 0xb2, 0x3b, 0xb3, 0x8f, 0xe6, 0x3c, 0xe0, 0xb7, 0x0a, - 0xb8, 0x3e, 0x72, 0x4d, 0x32, 0x72, 0x19, 0xb6, 0x3a, 0xd8, 0x1b, 0xd8, 0x2e, 0xff, 0x99, 0x75, - 0x40, 0x2c, 0x2a, 0x94, 0x5b, 0xde, 0xba, 0x9d, 0x9a, 0xec, 0xc3, 0x74, 0x9f, 0x50, 0xe7, 0x19, - 0x9b, 0x28, 0xeb, 0x24, 0xa8, 0x82, 0xbc, 0x87, 0x0d, 0x6b, 0x2c, 0xe4, 0x9d, 0xd7, 0x4b, 0xbc, - 0x8c, 0x22, 0x6e, 0x40, 0xa1, 0xbd, 0xf1, 0xb3, 0x02, 0x2e, 0xcd, 0x4c, 0xb5, 0xff, 0xfd, 0xb1, - 0xa5, 0xf1, 0x8b, 0x02, 0xb2, 0xee, 0x02, 0x1e, 0x24, 0x75, 0xc1, 0x9f, 0x55, 0x49, 0xdf, 0x9a, - 0xd2, 0xc4, 0xa9, 0xaf, 0xde, 0xcc, 0xfa, 0x75, 0xcc, 0xa7, 0x10, 0xaa, 0x1d, 0xde, 0xbb, 0x93, - 0x14, 0xce, 0x47, 0x91, 0x70, 0x16, 0x05, 0x5d, 0x33, 0x16, 0xcd, 0xf9, 0xb8, 0xa4, 0xbb, 0xfe, - 0xee, 0xe3, 0x67, 0xf5, 0x85, 0x27, 0xcf, 0xea, 0x0b, 0x4f, 0x9f, 0xd5, 0x17, 0xbe, 0x09, 0xea, - 0xca, 0xe3, 0xa0, 0xae, 0x3c, 0x09, 0xea, 0xca, 0xd3, 0xa0, 0xae, 0xfc, 0x11, 0xd4, 0x95, 0xef, - 0xfe, 0xac, 0x2f, 0x3c, 0xb8, 0x92, 0xf2, 0xef, 0x8a, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xae, - 0xfd, 0x54, 0xb2, 0xdd, 0x10, 0x00, 0x00, + // 1696 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x4f, 0x73, 0xe3, 0x48, + 0x15, 0x8f, 0xe2, 0xd8, 0xb1, 0xdb, 0xc9, 0xc4, 0xd3, 0xb3, 0x33, 0x63, 0xc2, 0x96, 0x95, 0xd5, + 0xec, 0x6e, 0x65, 0xa9, 0x45, 0x66, 0xb2, 0x53, 0x2c, 0xff, 0x8b, 0x91, 0x87, 0x59, 0x26, 0x78, + 0x36, 0xa6, 0x9d, 0x40, 0xd5, 0xb2, 0x50, 0xc8, 0x52, 0xdb, 0xd1, 0x46, 0x56, 0x1b, 0x75, 0x2b, + 0xb5, 0xb9, 0x50, 0x54, 0xf1, 0x05, 0xe0, 0xc8, 0x17, 0xe0, 0xc8, 0x05, 0xce, 0x70, 0xa3, 0x72, + 0xdc, 0xe2, 0xb4, 0xc5, 0x41, 0xc5, 0x88, 0x0f, 0xc0, 0x3d, 0x5c, 0xa8, 0x6e, 0xb5, 0xf5, 0xcf, + 0x52, 0xc8, 0x6c, 0x15, 0x5b, 0xdc, 0xa2, 0xf7, 0x7e, 0xef, 0xd7, 0x4f, 0xfd, 0x9e, 0x7e, 0xef, + 0xc5, 0xe0, 0x5b, 0x67, 0x5f, 0xa3, 0xba, 0x43, 0xfa, 0x67, 0xc1, 0x04, 0xfb, 0x1e, 0x66, 0x98, + 0xf6, 0xcf, 0xb1, 0x67, 0x13, 0xbf, 0x2f, 0x1d, 0xe6, 0xc2, 0xe9, 0x4f, 0x4c, 0x66, 0x9d, 0xf6, + 0xcf, 0x1f, 0xf6, 0x67, 0xd8, 0xc3, 0xbe, 0xc9, 0xb0, 0xad, 0x2f, 0x7c, 0xc2, 0x08, 0xbc, 0x13, + 0x83, 0x74, 0x73, 0xe1, 0xe8, 0x02, 0xa4, 0x9f, 0x3f, 0xdc, 0xfd, 0xf2, 0xcc, 0x61, 0xa7, 0xc1, + 0x44, 0xb7, 0xc8, 0xbc, 0x3f, 0x23, 0x33, 0xd2, 0x17, 0xd8, 0x49, 0x30, 0x15, 0x4f, 0xe2, 0x41, + 0xfc, 0x15, 0x73, 0xec, 0x6a, 0x99, 0x83, 0x2c, 0xe2, 0xe3, 0x92, 0x73, 0x76, 0x1f, 0xa5, 0x98, + 0xb9, 0x69, 0x9d, 0x3a, 0x1e, 0xf6, 0x2f, 0xfa, 0x8b, 0xb3, 0x19, 0x37, 0xd0, 0xfe, 0x1c, 0x33, + 0xb3, 0x2c, 0xaa, 0x5f, 0x15, 0xe5, 0x07, 0x1e, 0x73, 0xe6, 0x78, 0x25, 0xe0, 0xab, 0xff, 0x2d, + 0x80, 0x5a, 0xa7, 0x78, 0x6e, 0x16, 0xe3, 0xb4, 0x7f, 0x2b, 0x60, 0x73, 0xe0, 0x13, 0xef, 0x90, + 0x4c, 0xe0, 0xcf, 0x41, 0x93, 0xe7, 0x63, 0x9b, 0xcc, 0xec, 0x2a, 0x7b, 0xca, 0x7e, 0xfb, 0xe0, + 0x2b, 0x7a, 0x7a, 0x4b, 0x09, 0xad, 0xbe, 0x38, 0x9b, 0x71, 0x03, 0xd5, 0x39, 0x5a, 0x3f, 0x7f, + 0xa8, 0x1f, 0x4d, 0x3e, 0xc2, 0x16, 0x7b, 0x8e, 0x99, 0x69, 0xc0, 0xcb, 0x50, 0x5d, 0x8b, 0x42, + 0x15, 0xa4, 0x36, 0x94, 0xb0, 0x42, 0x03, 0x6c, 0xd0, 0x05, 0xb6, 0xba, 0xeb, 0x82, 0x7d, 0x4f, + 0x2f, 0xa9, 0x81, 0x2e, 0xb3, 0x19, 0x2f, 0xb0, 0x65, 0x6c, 0x49, 0xb6, 0x0d, 0xfe, 0x84, 0x44, + 0x2c, 0x3c, 0x04, 0x0d, 0xca, 0x4c, 0x16, 0xd0, 0x6e, 0x4d, 0xb0, 0x68, 0xd7, 0xb2, 0x08, 0xa4, + 0x71, 0x4b, 0xf2, 0x34, 0xe2, 0x67, 0x24, 0x19, 0xb4, 0x3f, 0x28, 0xa0, 0x2d, 0x91, 0x43, 0x87, + 0x32, 0xf8, 0xe1, 0xca, 0x0d, 0xe8, 0x37, 0xbb, 0x01, 0x1e, 0x2d, 0xde, 0xbf, 0x23, 0x4f, 0x6a, + 0x2e, 0x2d, 0x99, 0xb7, 0x7f, 0x0c, 0xea, 0x0e, 0xc3, 0x73, 0xda, 0x5d, 0xdf, 0xab, 0xed, 0xb7, + 0x0f, 0x5e, 0xbd, 0x2e, 0x71, 0x63, 0x5b, 0x12, 0xd5, 0x9f, 0xf1, 0x10, 0x14, 0x47, 0x6a, 0x7f, + 0xdb, 0x48, 0x12, 0xe6, 0x57, 0x02, 0xdf, 0x06, 0x4d, 0x5e, 0x58, 0x3b, 0x70, 0xb1, 0x48, 0xb8, + 0x95, 0x26, 0x30, 0x96, 0x76, 0x94, 0x20, 0xe0, 0x3e, 0x68, 0xf2, 0x5e, 0xf8, 0x80, 0x78, 0xb8, + 0xdb, 0x14, 0xe8, 0x2d, 0x8e, 0x3c, 0x96, 0x36, 0x94, 0x78, 0xe1, 0x09, 0xb8, 0x4f, 0x99, 0xe9, + 0x33, 0xc7, 0x9b, 0x3d, 0xc1, 0xa6, 0xed, 0x3a, 0x1e, 0x1e, 0x63, 0x8b, 0x78, 0x36, 0x15, 0xb5, + 0xab, 0x19, 0x5f, 0x8c, 0x42, 0xf5, 0xfe, 0xb8, 0x1c, 0x82, 0xaa, 0x62, 0xe1, 0x87, 0xe0, 0xb6, + 0x45, 0x3c, 0x2b, 0xf0, 0x7d, 0xec, 0x59, 0x17, 0x23, 0xe2, 0x3a, 0xd6, 0x85, 0x28, 0x63, 0xcb, + 0xd0, 0x65, 0xde, 0xb7, 0x07, 0x45, 0xc0, 0x55, 0x99, 0x11, 0xad, 0x12, 0xc1, 0x37, 0xc0, 0x26, + 0x0d, 0xe8, 0x02, 0x7b, 0x76, 0x77, 0x63, 0x4f, 0xd9, 0x6f, 0x1a, 0xed, 0x28, 0x54, 0x37, 0xc7, + 0xb1, 0x09, 0x2d, 0x7d, 0xf0, 0x27, 0xa0, 0xfd, 0x11, 0x99, 0x1c, 0xe3, 0xf9, 0xc2, 0x35, 0x19, + 0xee, 0xd6, 0x45, 0x9d, 0x5f, 0x2f, 0x2d, 0xc6, 0x61, 0x8a, 0x13, 0xfd, 0x78, 0x47, 0x26, 0xd9, + 0xce, 0x38, 0x50, 0x96, 0x0d, 0xfe, 0x0c, 0xec, 0xd2, 0xc0, 0xb2, 0x30, 0xa5, 0xd3, 0xc0, 0x3d, + 0x24, 0x13, 0xfa, 0x7d, 0x87, 0x32, 0xe2, 0x5f, 0x0c, 0x9d, 0xb9, 0xc3, 0xba, 0x8d, 0x3d, 0x65, + 0xbf, 0x6e, 0xf4, 0xa2, 0x50, 0xdd, 0x1d, 0x57, 0xa2, 0xd0, 0x35, 0x0c, 0x10, 0x81, 0x7b, 0x53, + 0xd3, 0x71, 0xb1, 0xbd, 0xc2, 0xbd, 0x29, 0xb8, 0x77, 0xa3, 0x50, 0xbd, 0xf7, 0xb4, 0x14, 0x81, + 0x2a, 0x22, 0xb5, 0x3f, 0xaf, 0x83, 0xed, 0xdc, 0xf7, 0x02, 0x7f, 0x00, 0x1a, 0xa6, 0xc5, 0x9c, + 0x73, 0xde, 0x54, 0xbc, 0x55, 0x1f, 0x64, 0x6f, 0x87, 0x2b, 0x5d, 0xfa, 0xd5, 0x23, 0x3c, 0xc5, + 0xbc, 0x08, 0x38, 0xfd, 0xc8, 0x1e, 0x8b, 0x50, 0x24, 0x29, 0xa0, 0x0b, 0x3a, 0xae, 0x49, 0xd9, + 0xb2, 0x1f, 0x79, 0xb7, 0x89, 0xfa, 0xb4, 0x0f, 0xbe, 0x74, 0xb3, 0x8f, 0x8b, 0x47, 0x18, 0xaf, + 0x44, 0xa1, 0xda, 0x19, 0x16, 0x78, 0xd0, 0x0a, 0x33, 0xf4, 0x01, 0x14, 0xb6, 0xe4, 0x0a, 0xc5, + 0x79, 0xf5, 0x97, 0x3e, 0xef, 0x5e, 0x14, 0xaa, 0x70, 0xb8, 0xc2, 0x84, 0x4a, 0xd8, 0xb5, 0x7f, + 0x29, 0xa0, 0xf6, 0xf9, 0x08, 0xe8, 0x77, 0x72, 0x02, 0xfa, 0x6a, 0x55, 0xd3, 0x56, 0x8a, 0xe7, + 0xd3, 0x82, 0x78, 0xf6, 0x2a, 0x19, 0xae, 0x17, 0xce, 0xbf, 0xd6, 0xc0, 0xd6, 0x21, 0x99, 0x0c, + 0x88, 0x67, 0x3b, 0xcc, 0x21, 0x1e, 0x7c, 0x04, 0x36, 0xd8, 0xc5, 0x62, 0x29, 0x42, 0x7b, 0xcb, + 0xa3, 0x8f, 0x2f, 0x16, 0xf8, 0x2a, 0x54, 0x3b, 0x59, 0x2c, 0xb7, 0x21, 0x81, 0x86, 0xc3, 0x24, + 0x9d, 0x75, 0x11, 0xf7, 0x28, 0x7f, 0xdc, 0x55, 0xa8, 0x96, 0x8c, 0x58, 0x3d, 0x61, 0xca, 0x27, + 0x05, 0x67, 0x60, 0x9b, 0x17, 0x67, 0xe4, 0x93, 0x49, 0xdc, 0x65, 0xb5, 0x97, 0xae, 0xfa, 0x5d, + 0x99, 0xc0, 0xf6, 0x30, 0x4b, 0x84, 0xf2, 0xbc, 0xf0, 0x3c, 0xee, 0xb1, 0x63, 0xdf, 0xf4, 0x68, + 0xfc, 0x4a, 0x9f, 0xad, 0xa7, 0x77, 0xe5, 0x69, 0xa2, 0xcf, 0xf2, 0x6c, 0xa8, 0xe4, 0x04, 0xf8, + 0x26, 0x68, 0xf8, 0xd8, 0xa4, 0xc4, 0x13, 0xfd, 0xdc, 0x4a, 0xab, 0x83, 0x84, 0x15, 0x49, 0x2f, + 0x7c, 0x0b, 0x6c, 0xce, 0x31, 0xa5, 0xe6, 0x0c, 0x0b, 0xc5, 0x69, 0x19, 0x3b, 0x12, 0xb8, 0xf9, + 0x3c, 0x36, 0xa3, 0xa5, 0x5f, 0xfb, 0xbd, 0x02, 0x36, 0x3f, 0x9f, 0xe9, 0xf7, 0xed, 0xfc, 0xf4, + 0xeb, 0x56, 0x75, 0x5e, 0xc5, 0xe4, 0xfb, 0x5d, 0x43, 0x24, 0x2a, 0xa6, 0xde, 0x43, 0xd0, 0x5e, + 0x98, 0xbe, 0xe9, 0xba, 0xd8, 0x75, 0xe8, 0x5c, 0xe4, 0x5a, 0x37, 0x76, 0xb8, 0x2e, 0x8f, 0x52, + 0x33, 0xca, 0x62, 0x78, 0x88, 0x45, 0xe6, 0x0b, 0x17, 0xf3, 0xcb, 0x8c, 0xdb, 0x4d, 0x86, 0x0c, + 0x52, 0x33, 0xca, 0x62, 0xe0, 0x11, 0xb8, 0x1b, 0x2b, 0x58, 0x71, 0x02, 0xd6, 0xc4, 0x04, 0xfc, + 0x42, 0x14, 0xaa, 0x77, 0x1f, 0x97, 0x01, 0x50, 0x79, 0x1c, 0x9c, 0x81, 0xce, 0x82, 0xd8, 0x5c, + 0x9c, 0x03, 0x1f, 0xcb, 0xe1, 0xd7, 0x16, 0xf7, 0xfc, 0x46, 0xe9, 0x65, 0x8c, 0x0a, 0xe0, 0x58, + 0x03, 0x8b, 0x56, 0xb4, 0x42, 0x0a, 0x1f, 0x81, 0xad, 0x89, 0x69, 0x9d, 0x91, 0xe9, 0x34, 0x3b, + 0x1a, 0x3a, 0x51, 0xa8, 0x6e, 0x19, 0x19, 0x3b, 0xca, 0xa1, 0xe0, 0x4f, 0x41, 0x93, 0x62, 0x17, + 0x5b, 0x8c, 0xf8, 0xb2, 0x97, 0xdf, 0xb9, 0x61, 0xf9, 0xcd, 0x09, 0x76, 0xc7, 0x32, 0x34, 0x5e, + 0x29, 0x96, 0x4f, 0x28, 0xa1, 0x84, 0xdf, 0x00, 0xb7, 0xe6, 0xa6, 0x17, 0x98, 0x09, 0x52, 0x34, + 0x71, 0xd3, 0x80, 0x51, 0xa8, 0xde, 0x7a, 0x9e, 0xf3, 0xa0, 0x02, 0x12, 0xfe, 0x10, 0x34, 0xd9, + 0x72, 0x5e, 0x37, 0x44, 0x6a, 0xa5, 0x13, 0x69, 0x44, 0xec, 0xdc, 0xb8, 0x4e, 0xda, 0x31, 0x99, + 0xd5, 0x09, 0x0d, 0xdf, 0x70, 0x18, 0x73, 0x65, 0x69, 0x1e, 0x4f, 0x19, 0xf6, 0x9f, 0x3a, 0x9e, + 0x43, 0x4f, 0xb1, 0x2d, 0x56, 0xa3, 0x7a, 0xbc, 0xe1, 0x1c, 0x1f, 0x0f, 0xcb, 0x20, 0xa8, 0x2a, + 0x16, 0x0e, 0xc1, 0xad, 0xb4, 0x87, 0x9e, 0x13, 0x1b, 0x77, 0x5b, 0xe2, 0x0b, 0x7c, 0x9d, 0xbf, + 0xe5, 0x20, 0xe7, 0xb9, 0x5a, 0xb1, 0xa0, 0x42, 0x6c, 0x76, 0xa3, 0x01, 0xd5, 0x1b, 0x8d, 0xf6, + 0xdb, 0x3a, 0x68, 0xa5, 0xc3, 0xfb, 0x04, 0x00, 0x6b, 0xa9, 0x90, 0x54, 0x0e, 0xf0, 0xd7, 0xaa, + 0xbe, 0xb6, 0x44, 0x4b, 0xd3, 0xc1, 0x93, 0x98, 0x28, 0xca, 0x10, 0xc1, 0x1f, 0x83, 0x96, 0x58, + 0xeb, 0x84, 0xd6, 0xad, 0xbf, 0xb4, 0xd6, 0x6d, 0x47, 0xa1, 0xda, 0x1a, 0x2f, 0x09, 0x50, 0xca, + 0x05, 0xa7, 0xd9, 0x2b, 0xfb, 0x8c, 0xba, 0x0d, 0xf3, 0xd7, 0x2b, 0x8e, 0x28, 0xb0, 0x72, 0xf5, + 0x94, 0x4b, 0xcd, 0x86, 0x28, 0x70, 0xd5, 0xbe, 0xd2, 0x07, 0x2d, 0xb1, 0x80, 0x61, 0x1b, 0xdb, + 0xa2, 0x47, 0xeb, 0xc6, 0x6d, 0x09, 0x6d, 0x8d, 0x97, 0x0e, 0x94, 0x62, 0x38, 0x71, 0xbc, 0x59, + 0xc9, 0xfd, 0x2e, 0x21, 0x8e, 0xf7, 0x30, 0x24, 0xbd, 0xf0, 0x09, 0xe8, 0xc8, 0x94, 0xb0, 0xfd, + 0xcc, 0xb3, 0xf1, 0xc7, 0x98, 0x8a, 0x4f, 0xb3, 0x65, 0x74, 0x65, 0x44, 0x67, 0x50, 0xf0, 0xa3, + 0x95, 0x08, 0xf8, 0x6b, 0x05, 0xdc, 0x0f, 0x3c, 0x8b, 0x04, 0x1e, 0xc3, 0xf6, 0x31, 0xf6, 0xe7, + 0x8e, 0xc7, 0xff, 0x9f, 0x1b, 0x11, 0x9b, 0x8a, 0xce, 0x6d, 0x1f, 0xbc, 0x5d, 0x5a, 0xec, 0x93, + 0xf2, 0x98, 0xb8, 0xcf, 0x2b, 0x9c, 0xa8, 0xea, 0x24, 0xa8, 0x82, 0xba, 0x8f, 0x4d, 0xfb, 0x42, + 0xb4, 0x77, 0xdd, 0x68, 0x71, 0xbd, 0x46, 0xdc, 0x80, 0x62, 0xbb, 0xf6, 0x47, 0x05, 0xec, 0x14, + 0xd6, 0xe7, 0xff, 0xff, 0xfd, 0x48, 0x9b, 0x80, 0x15, 0x7d, 0x85, 0xef, 0x83, 0xba, 0x1f, 0xb8, + 0x78, 0xf9, 0x29, 0xbd, 0x75, 0x23, 0xad, 0x46, 0x81, 0x8b, 0xd3, 0x49, 0xc6, 0x9f, 0x28, 0x8a, + 0x69, 0xb4, 0xbf, 0x2b, 0xe0, 0xcd, 0x22, 0xfc, 0xc8, 0xfb, 0xde, 0xc7, 0x0e, 0x1b, 0x10, 0x1b, + 0x53, 0x84, 0x7f, 0x11, 0x38, 0x3e, 0x9e, 0x63, 0x8f, 0xc1, 0x77, 0xc1, 0xb6, 0x45, 0x3c, 0x66, + 0xf2, 0x6b, 0x79, 0xdf, 0x9c, 0x2f, 0xd7, 0xab, 0xdb, 0x7c, 0x43, 0x19, 0x64, 0x1d, 0x28, 0x8f, + 0x83, 0x63, 0xd0, 0x24, 0x0b, 0xfe, 0x8f, 0x3e, 0xf1, 0xe5, 0x6a, 0xf5, 0xee, 0x52, 0x0b, 0x8f, + 0xa4, 0xfd, 0x2a, 0x54, 0x1f, 0x5c, 0x93, 0xc6, 0x12, 0x86, 0x12, 0x22, 0xa8, 0x81, 0xc6, 0xb9, + 0xe9, 0x06, 0x98, 0x4f, 0xc0, 0xda, 0x7e, 0xdd, 0x00, 0xbc, 0xc7, 0x7f, 0x24, 0x2c, 0x48, 0x7a, + 0xb4, 0xbf, 0x94, 0xbe, 0xdc, 0x88, 0xd8, 0xa9, 0xaa, 0x8c, 0x4c, 0xc6, 0xb0, 0xef, 0xc1, 0xf7, + 0x72, 0x2b, 0xe3, 0x3b, 0x85, 0x95, 0xf1, 0x41, 0xc9, 0xe2, 0x97, 0xa5, 0xf9, 0x5f, 0x6d, 0x91, + 0xda, 0xe5, 0x3a, 0x78, 0xa5, 0xac, 0x9a, 0xf0, 0xbb, 0xb1, 0x7e, 0x10, 0x4f, 0x66, 0xbc, 0x9f, + 0xd5, 0x0f, 0xe2, 0x5d, 0x85, 0xea, 0xbd, 0x62, 0x5c, 0xec, 0x41, 0x32, 0x0e, 0x7a, 0xa0, 0x4d, + 0xd2, 0x1b, 0x96, 0x4d, 0xfa, 0xcd, 0x1b, 0xf5, 0x53, 0x79, 0x83, 0xc4, 0x1b, 0x4c, 0xd6, 0x97, + 0x3d, 0x00, 0xfe, 0x12, 0xec, 0x90, 0xfc, 0xdd, 0x8b, 0xca, 0xdd, 0xfc, 0xcc, 0xb2, 0xba, 0x19, + 0xf7, 0xe5, 0x7b, 0xef, 0x14, 0xfc, 0xa8, 0x78, 0x98, 0xf6, 0x27, 0x05, 0x54, 0x29, 0x0b, 0x1c, + 0x65, 0x55, 0x96, 0x7f, 0x59, 0x2d, 0xe3, 0x20, 0xa7, 0xb0, 0x57, 0xa1, 0xfa, 0x5a, 0xd5, 0x8f, + 0x5a, 0xbc, 0xec, 0x54, 0x3f, 0x79, 0xf6, 0x24, 0x2b, 0xc3, 0xef, 0x25, 0x32, 0xbc, 0x2e, 0xe8, + 0xfa, 0xa9, 0x04, 0xdf, 0x8c, 0x4b, 0x86, 0x1b, 0x5f, 0xbf, 0x7c, 0xd1, 0x5b, 0xfb, 0xe4, 0x45, + 0x6f, 0xed, 0xd3, 0x17, 0xbd, 0xb5, 0x5f, 0x45, 0x3d, 0xe5, 0x32, 0xea, 0x29, 0x9f, 0x44, 0x3d, + 0xe5, 0xd3, 0xa8, 0xa7, 0xfc, 0x23, 0xea, 0x29, 0xbf, 0xf9, 0x67, 0x6f, 0xed, 0x83, 0x3b, 0x25, + 0xbf, 0x32, 0xfe, 0x27, 0x00, 0x00, 0xff, 0xff, 0xf2, 0x8e, 0x19, 0x59, 0x94, 0x14, 0x00, 0x00, } func (m *CronJob) Marshal() (dAtA []byte, err error) { @@ -887,6 +1023,18 @@ func (m *JobSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.PodFailurePolicy != nil { + { + size, err := m.PodFailurePolicy.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenerated(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x5a + } if m.Suspend != nil { i-- if *m.Suspend { @@ -1099,6 +1247,172 @@ func (m *JobTemplateSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *PodFailurePolicy) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PodFailurePolicy) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PodFailurePolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Rules) > 0 { + for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenerated(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + } + return len(dAtA) - i, nil +} + +func (m *PodFailurePolicyOnExitCodesRequirement) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PodFailurePolicyOnExitCodesRequirement) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PodFailurePolicyOnExitCodesRequirement) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Values) > 0 { + for iNdEx := len(m.Values) - 1; iNdEx >= 0; iNdEx-- { + i = encodeVarintGenerated(dAtA, i, uint64(m.Values[iNdEx])) + i-- + dAtA[i] = 0x18 + } + } + i -= len(m.Operator) + copy(dAtA[i:], m.Operator) + i = encodeVarintGenerated(dAtA, i, uint64(len(m.Operator))) + i-- + dAtA[i] = 0x12 + if m.ContainerName != nil { + i -= len(*m.ContainerName) + copy(dAtA[i:], *m.ContainerName) + i = encodeVarintGenerated(dAtA, i, uint64(len(*m.ContainerName))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *PodFailurePolicyOnPodConditionsPattern) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PodFailurePolicyOnPodConditionsPattern) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PodFailurePolicyOnPodConditionsPattern) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + i -= len(m.Status) + copy(dAtA[i:], m.Status) + i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status))) + i-- + dAtA[i] = 0x12 + i -= len(m.Type) + copy(dAtA[i:], m.Type) + i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *PodFailurePolicyRule) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PodFailurePolicyRule) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *PodFailurePolicyRule) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.OnPodConditions) > 0 { + for iNdEx := len(m.OnPodConditions) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.OnPodConditions[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenerated(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + } + if m.OnExitCodes != nil { + { + size, err := m.OnExitCodes.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenerated(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + i -= len(m.Action) + copy(dAtA[i:], m.Action) + i = encodeVarintGenerated(dAtA, i, uint64(len(m.Action))) + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + func (m *UncountedTerminatedPods) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1327,6 +1641,10 @@ func (m *JobSpec) Size() (n int) { if m.Suspend != nil { n += 2 } + if m.PodFailurePolicy != nil { + l = m.PodFailurePolicy.Size() + n += 1 + l + sovGenerated(uint64(l)) + } return n } @@ -1378,47 +1696,116 @@ func (m *JobTemplateSpec) Size() (n int) { return n } -func (m *UncountedTerminatedPods) Size() (n int) { +func (m *PodFailurePolicy) Size() (n int) { if m == nil { return 0 } var l int _ = l - if len(m.Succeeded) > 0 { - for _, s := range m.Succeeded { - l = len(s) + if len(m.Rules) > 0 { + for _, e := range m.Rules { + l = e.Size() n += 1 + l + sovGenerated(uint64(l)) } } - if len(m.Failed) > 0 { - for _, s := range m.Failed { - l = len(s) - n += 1 + l + sovGenerated(uint64(l)) + return n +} + +func (m *PodFailurePolicyOnExitCodesRequirement) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ContainerName != nil { + l = len(*m.ContainerName) + n += 1 + l + sovGenerated(uint64(l)) + } + l = len(m.Operator) + n += 1 + l + sovGenerated(uint64(l)) + if len(m.Values) > 0 { + for _, e := range m.Values { + n += 1 + sovGenerated(uint64(e)) } } return n } -func sovGenerated(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozGenerated(x uint64) (n int) { - return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) -} -func (this *CronJob) String() string { - if this == nil { - return "nil" +func (m *PodFailurePolicyOnPodConditionsPattern) Size() (n int) { + if m == nil { + return 0 } - s := strings.Join([]string{`&CronJob{`, - `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`, - `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "CronJobSpec", "CronJobSpec", 1), `&`, ``, 1) + `,`, - `Status:` + strings.Replace(strings.Replace(this.Status.String(), "CronJobStatus", "CronJobStatus", 1), `&`, ``, 1) + `,`, - `}`, - }, "") - return s + var l int + _ = l + l = len(m.Type) + n += 1 + l + sovGenerated(uint64(l)) + l = len(m.Status) + n += 1 + l + sovGenerated(uint64(l)) + return n } -func (this *CronJobList) String() string { - if this == nil { + +func (m *PodFailurePolicyRule) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Action) + n += 1 + l + sovGenerated(uint64(l)) + if m.OnExitCodes != nil { + l = m.OnExitCodes.Size() + n += 1 + l + sovGenerated(uint64(l)) + } + if len(m.OnPodConditions) > 0 { + for _, e := range m.OnPodConditions { + l = e.Size() + n += 1 + l + sovGenerated(uint64(l)) + } + } + return n +} + +func (m *UncountedTerminatedPods) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Succeeded) > 0 { + for _, s := range m.Succeeded { + l = len(s) + n += 1 + l + sovGenerated(uint64(l)) + } + } + if len(m.Failed) > 0 { + for _, s := range m.Failed { + l = len(s) + n += 1 + l + sovGenerated(uint64(l)) + } + } + return n +} + +func sovGenerated(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozGenerated(x uint64) (n int) { + return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (this *CronJob) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&CronJob{`, + `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`, + `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "CronJobSpec", "CronJobSpec", 1), `&`, ``, 1) + `,`, + `Status:` + strings.Replace(strings.Replace(this.Status.String(), "CronJobStatus", "CronJobStatus", 1), `&`, ``, 1) + `,`, + `}`, + }, "") + return s +} +func (this *CronJobList) String() string { + if this == nil { return "nil" } repeatedStringForItems := "[]CronJob{" @@ -1525,6 +1912,7 @@ func (this *JobSpec) String() string { `TTLSecondsAfterFinished:` + valueToStringGenerated(this.TTLSecondsAfterFinished) + `,`, `CompletionMode:` + valueToStringGenerated(this.CompletionMode) + `,`, `Suspend:` + valueToStringGenerated(this.Suspend) + `,`, + `PodFailurePolicy:` + strings.Replace(this.PodFailurePolicy.String(), "PodFailurePolicy", "PodFailurePolicy", 1) + `,`, `}`, }, "") return s @@ -1563,6 +1951,61 @@ func (this *JobTemplateSpec) String() string { }, "") return s } +func (this *PodFailurePolicy) String() string { + if this == nil { + return "nil" + } + repeatedStringForRules := "[]PodFailurePolicyRule{" + for _, f := range this.Rules { + repeatedStringForRules += strings.Replace(strings.Replace(f.String(), "PodFailurePolicyRule", "PodFailurePolicyRule", 1), `&`, ``, 1) + "," + } + repeatedStringForRules += "}" + s := strings.Join([]string{`&PodFailurePolicy{`, + `Rules:` + repeatedStringForRules + `,`, + `}`, + }, "") + return s +} +func (this *PodFailurePolicyOnExitCodesRequirement) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&PodFailurePolicyOnExitCodesRequirement{`, + `ContainerName:` + valueToStringGenerated(this.ContainerName) + `,`, + `Operator:` + fmt.Sprintf("%v", this.Operator) + `,`, + `Values:` + fmt.Sprintf("%v", this.Values) + `,`, + `}`, + }, "") + return s +} +func (this *PodFailurePolicyOnPodConditionsPattern) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&PodFailurePolicyOnPodConditionsPattern{`, + `Type:` + fmt.Sprintf("%v", this.Type) + `,`, + `Status:` + fmt.Sprintf("%v", this.Status) + `,`, + `}`, + }, "") + return s +} +func (this *PodFailurePolicyRule) String() string { + if this == nil { + return "nil" + } + repeatedStringForOnPodConditions := "[]PodFailurePolicyOnPodConditionsPattern{" + for _, f := range this.OnPodConditions { + repeatedStringForOnPodConditions += strings.Replace(strings.Replace(f.String(), "PodFailurePolicyOnPodConditionsPattern", "PodFailurePolicyOnPodConditionsPattern", 1), `&`, ``, 1) + "," + } + repeatedStringForOnPodConditions += "}" + s := strings.Join([]string{`&PodFailurePolicyRule{`, + `Action:` + fmt.Sprintf("%v", this.Action) + `,`, + `OnExitCodes:` + strings.Replace(this.OnExitCodes.String(), "PodFailurePolicyOnExitCodesRequirement", "PodFailurePolicyOnExitCodesRequirement", 1) + `,`, + `OnPodConditions:` + repeatedStringForOnPodConditions + `,`, + `}`, + }, "") + return s +} func (this *UncountedTerminatedPods) String() string { if this == nil { return "nil" @@ -3048,6 +3491,42 @@ func (m *JobSpec) Unmarshal(dAtA []byte) error { } b := bool(v != 0) m.Suspend = &b + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PodFailurePolicy", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.PodFailurePolicy == nil { + m.PodFailurePolicy = &PodFailurePolicy{} + } + if err := m.PodFailurePolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(dAtA[iNdEx:]) @@ -3486,6 +3965,547 @@ func (m *JobTemplateSpec) Unmarshal(dAtA []byte) error { } return nil } +func (m *PodFailurePolicy) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PodFailurePolicy: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PodFailurePolicy: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Rules = append(m.Rules, PodFailurePolicyRule{}) + if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PodFailurePolicyOnExitCodesRequirement) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PodFailurePolicyOnExitCodesRequirement: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PodFailurePolicyOnExitCodesRequirement: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContainerName", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + s := string(dAtA[iNdEx:postIndex]) + m.ContainerName = &s + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Operator", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Operator = PodFailurePolicyOnExitCodesOperator(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType == 0 { + var v int32 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Values = append(m.Values, v) + } else if wireType == 2 { + var packedLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + packedLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if packedLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.Values) == 0 { + m.Values = make([]int32, 0, elementCount) + } + for iNdEx < postIndex { + var v int32 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Values = append(m.Values, v) + } + } else { + return fmt.Errorf("proto: wrong wireType = %d for field Values", wireType) + } + default: + iNdEx = preIndex + skippy, err := skipGenerated(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PodFailurePolicyOnPodConditionsPattern) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PodFailurePolicyOnPodConditionsPattern: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PodFailurePolicyOnPodConditionsPattern: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Type = k8s_io_api_core_v1.PodConditionType(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PodFailurePolicyRule) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PodFailurePolicyRule: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PodFailurePolicyRule: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Action = PodFailurePolicyAction(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OnExitCodes", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.OnExitCodes == nil { + m.OnExitCodes = &PodFailurePolicyOnExitCodesRequirement{} + } + if err := m.OnExitCodes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OnPodConditions", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OnPodConditions = append(m.OnPodConditions, PodFailurePolicyOnPodConditionsPattern{}) + if err := m.OnPodConditions[len(m.OnPodConditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *UncountedTerminatedPods) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/cluster-autoscaler/vendor/k8s.io/api/batch/v1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/batch/v1/generated.proto index a57fef0b2f62..3a060f4be704 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/batch/v1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/batch/v1/generated.proto @@ -63,9 +63,16 @@ message CronJobSpec { // The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. optional string schedule = 1; - // The time zone for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. - // If not specified, this will rely on the time zone of the kube-controller-manager process. - // ALPHA: This field is in alpha and must be enabled via the `CronJobTimeZone` feature gate. + // The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. + // If not specified, this will default to the time zone of the kube-controller-manager process. + // The set of valid time zone names and the time zone offset is loaded from the system-wide time zone + // database by the API server during CronJob validation and the controller manager during execution. + // If no system-wide time zone database can be found a bundled version of the database is used instead. + // If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host + // configuration, the controller will stop creating new new Jobs and will create a system event with the + // reason UnknownTimeZone. + // More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones + // This is beta field and must be enabled via the `CronJobTimeZone` feature gate. // +optional optional string timeZone = 8; @@ -198,6 +205,19 @@ message JobSpec { // +optional optional int64 activeDeadlineSeconds = 3; + // Specifies the policy of handling failed pods. In particular, it allows to + // specify the set of actions and conditions which need to be + // satisfied to take the associated action. + // If empty, the default behaviour applies - the counter of failed pods, + // represented by the jobs's .status.failed field, is incremented and it is + // checked against the backoffLimit. This field cannot be used in combination + // with restartPolicy=OnFailure. + // + // This field is alpha-level. To use this field, you must enable the + // `JobPodFailurePolicy` feature gate (disabled by default). + // +optional + optional PodFailurePolicy podFailurePolicy = 11; + // Specifies the number of retries before marking this job failed. // Defaults to 6 // +optional @@ -364,6 +384,92 @@ message JobTemplateSpec { optional JobSpec spec = 2; } +// PodFailurePolicy describes how failed pods influence the backoffLimit. +message PodFailurePolicy { + // A list of pod failure policy rules. The rules are evaluated in order. + // Once a rule matches a Pod failure, the remaining of the rules are ignored. + // When no rule matches the Pod failure, the default handling applies - the + // counter of pod failures is incremented and it is checked against + // the backoffLimit. At most 20 elements are allowed. + // +listType=atomic + repeated PodFailurePolicyRule rules = 1; +} + +// PodFailurePolicyOnExitCodesRequirement describes the requirement for handling +// a failed pod based on its container exit codes. In particular, it lookups the +// .state.terminated.exitCode for each app container and init container status, +// represented by the .status.containerStatuses and .status.initContainerStatuses +// fields in the Pod status, respectively. Containers completed with success +// (exit code 0) are excluded from the requirement check. +message PodFailurePolicyOnExitCodesRequirement { + // Restricts the check for exit codes to the container with the + // specified name. When null, the rule applies to all containers. + // When specified, it should match one the container or initContainer + // names in the pod template. + // +optional + optional string containerName = 1; + + // Represents the relationship between the container exit code(s) and the + // specified values. Containers completed with success (exit code 0) are + // excluded from the requirement check. Possible values are: + // - In: the requirement is satisfied if at least one container exit code + // (might be multiple if there are multiple containers not restricted + // by the 'containerName' field) is in the set of specified values. + // - NotIn: the requirement is satisfied if at least one container exit code + // (might be multiple if there are multiple containers not restricted + // by the 'containerName' field) is not in the set of specified values. + // Additional values are considered to be added in the future. Clients should + // react to an unknown operator by assuming the requirement is not satisfied. + optional string operator = 2; + + // Specifies the set of values. Each returned container exit code (might be + // multiple in case of multiple containers) is checked against this set of + // values with respect to the operator. The list of values must be ordered + // and must not contain duplicates. Value '0' cannot be used for the In operator. + // At least one element is required. At most 255 elements are allowed. + // +listType=set + repeated int32 values = 3; +} + +// PodFailurePolicyOnPodConditionsPattern describes a pattern for matching +// an actual pod condition type. +message PodFailurePolicyOnPodConditionsPattern { + // Specifies the required Pod condition type. To match a pod condition + // it is required that specified type equals the pod condition type. + optional string type = 1; + + // Specifies the required Pod condition status. To match a pod condition + // it is required that the specified status equals the pod condition status. + // Defaults to True. + optional string status = 2; +} + +// PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. +// One of OnExitCodes and onPodConditions, but not both, can be used in each rule. +message PodFailurePolicyRule { + // Specifies the action taken on a pod failure when the requirements are satisfied. + // Possible values are: + // - FailJob: indicates that the pod's job is marked as Failed and all + // running pods are terminated. + // - Ignore: indicates that the counter towards the .backoffLimit is not + // incremented and a replacement pod is created. + // - Count: indicates that the pod is handled in the default way - the + // counter towards the .backoffLimit is incremented. + // Additional values are considered to be added in the future. Clients should + // react to an unknown action by skipping the rule. + optional string action = 1; + + // Represents the requirement on the container exit codes. + // +optional + optional PodFailurePolicyOnExitCodesRequirement onExitCodes = 2; + + // Represents the requirement on the pod conditions. The requirement is represented + // as a list of pod condition patterns. The requirement is satisfied if at + // least one pattern matches an actual pod condition. At most 20 elements are allowed. + // +listType=atomic + repeated PodFailurePolicyOnPodConditionsPattern onPodConditions = 3; +} + // UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't // been accounted in Job status counters. message UncountedTerminatedPods { diff --git a/cluster-autoscaler/vendor/k8s.io/api/batch/v1/types.go b/cluster-autoscaler/vendor/k8s.io/api/batch/v1/types.go index 110f974b7885..0f85ce0a1899 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/batch/v1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/batch/v1/types.go @@ -87,6 +87,120 @@ const ( IndexedCompletion CompletionMode = "Indexed" ) +// PodFailurePolicyAction specifies how a Pod failure is handled. +// +enum +type PodFailurePolicyAction string + +const ( + // This is an action which might be taken on a pod failure - mark the + // pod's job as Failed and terminate all running pods. + PodFailurePolicyActionFailJob PodFailurePolicyAction = "FailJob" + + // This is an action which might be taken on a pod failure - the counter towards + // .backoffLimit, represented by the job's .status.failed field, is not + // incremented and a replacement pod is created. + PodFailurePolicyActionIgnore PodFailurePolicyAction = "Ignore" + + // This is an action which might be taken on a pod failure - the pod failure + // is handled in the default way - the counter towards .backoffLimit, + // represented by the job's .status.failed field, is incremented. + PodFailurePolicyActionCount PodFailurePolicyAction = "Count" +) + +// +enum +type PodFailurePolicyOnExitCodesOperator string + +const ( + PodFailurePolicyOnExitCodesOpIn PodFailurePolicyOnExitCodesOperator = "In" + PodFailurePolicyOnExitCodesOpNotIn PodFailurePolicyOnExitCodesOperator = "NotIn" +) + +// PodFailurePolicyOnExitCodesRequirement describes the requirement for handling +// a failed pod based on its container exit codes. In particular, it lookups the +// .state.terminated.exitCode for each app container and init container status, +// represented by the .status.containerStatuses and .status.initContainerStatuses +// fields in the Pod status, respectively. Containers completed with success +// (exit code 0) are excluded from the requirement check. +type PodFailurePolicyOnExitCodesRequirement struct { + // Restricts the check for exit codes to the container with the + // specified name. When null, the rule applies to all containers. + // When specified, it should match one the container or initContainer + // names in the pod template. + // +optional + ContainerName *string `json:"containerName" protobuf:"bytes,1,opt,name=containerName"` + + // Represents the relationship between the container exit code(s) and the + // specified values. Containers completed with success (exit code 0) are + // excluded from the requirement check. Possible values are: + // - In: the requirement is satisfied if at least one container exit code + // (might be multiple if there are multiple containers not restricted + // by the 'containerName' field) is in the set of specified values. + // - NotIn: the requirement is satisfied if at least one container exit code + // (might be multiple if there are multiple containers not restricted + // by the 'containerName' field) is not in the set of specified values. + // Additional values are considered to be added in the future. Clients should + // react to an unknown operator by assuming the requirement is not satisfied. + Operator PodFailurePolicyOnExitCodesOperator `json:"operator" protobuf:"bytes,2,req,name=operator"` + + // Specifies the set of values. Each returned container exit code (might be + // multiple in case of multiple containers) is checked against this set of + // values with respect to the operator. The list of values must be ordered + // and must not contain duplicates. Value '0' cannot be used for the In operator. + // At least one element is required. At most 255 elements are allowed. + // +listType=set + Values []int32 `json:"values" protobuf:"varint,3,rep,name=values"` +} + +// PodFailurePolicyOnPodConditionsPattern describes a pattern for matching +// an actual pod condition type. +type PodFailurePolicyOnPodConditionsPattern struct { + // Specifies the required Pod condition type. To match a pod condition + // it is required that specified type equals the pod condition type. + Type corev1.PodConditionType `json:"type" protobuf:"bytes,1,req,name=type"` + + // Specifies the required Pod condition status. To match a pod condition + // it is required that the specified status equals the pod condition status. + // Defaults to True. + Status corev1.ConditionStatus `json:"status" protobuf:"bytes,2,req,name=status"` +} + +// PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. +// One of OnExitCodes and onPodConditions, but not both, can be used in each rule. +type PodFailurePolicyRule struct { + // Specifies the action taken on a pod failure when the requirements are satisfied. + // Possible values are: + // - FailJob: indicates that the pod's job is marked as Failed and all + // running pods are terminated. + // - Ignore: indicates that the counter towards the .backoffLimit is not + // incremented and a replacement pod is created. + // - Count: indicates that the pod is handled in the default way - the + // counter towards the .backoffLimit is incremented. + // Additional values are considered to be added in the future. Clients should + // react to an unknown action by skipping the rule. + Action PodFailurePolicyAction `json:"action" protobuf:"bytes,1,req,name=action"` + + // Represents the requirement on the container exit codes. + // +optional + OnExitCodes *PodFailurePolicyOnExitCodesRequirement `json:"onExitCodes" protobuf:"bytes,2,opt,name=onExitCodes"` + + // Represents the requirement on the pod conditions. The requirement is represented + // as a list of pod condition patterns. The requirement is satisfied if at + // least one pattern matches an actual pod condition. At most 20 elements are allowed. + // +listType=atomic + OnPodConditions []PodFailurePolicyOnPodConditionsPattern `json:"onPodConditions" protobuf:"bytes,3,opt,name=onPodConditions"` +} + +// PodFailurePolicy describes how failed pods influence the backoffLimit. +type PodFailurePolicy struct { + // A list of pod failure policy rules. The rules are evaluated in order. + // Once a rule matches a Pod failure, the remaining of the rules are ignored. + // When no rule matches the Pod failure, the default handling applies - the + // counter of pod failures is incremented and it is checked against + // the backoffLimit. At most 20 elements are allowed. + // +listType=atomic + Rules []PodFailurePolicyRule `json:"rules" protobuf:"bytes,1,opt,name=rules"` +} + // JobSpec describes how the job execution will look like. type JobSpec struct { @@ -115,6 +229,19 @@ type JobSpec struct { // +optional ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty" protobuf:"varint,3,opt,name=activeDeadlineSeconds"` + // Specifies the policy of handling failed pods. In particular, it allows to + // specify the set of actions and conditions which need to be + // satisfied to take the associated action. + // If empty, the default behaviour applies - the counter of failed pods, + // represented by the jobs's .status.failed field, is incremented and it is + // checked against the backoffLimit. This field cannot be used in combination + // with restartPolicy=OnFailure. + // + // This field is alpha-level. To use this field, you must enable the + // `JobPodFailurePolicy` feature gate (disabled by default). + // +optional + PodFailurePolicy *PodFailurePolicy `json:"podFailurePolicy,omitempty" protobuf:"bytes,11,opt,name=podFailurePolicy"` + // Specifies the number of retries before marking this job failed. // Defaults to 6 // +optional @@ -297,6 +424,9 @@ const ( JobComplete JobConditionType = "Complete" // JobFailed means the job has failed its execution. JobFailed JobConditionType = "Failed" + // FailureTarget means the job is about to fail its execution. + // The constant is to be renamed once the name is accepted within the KEP-3329. + AlphaNoCompatGuaranteeJobFailureTarget JobConditionType = "FailureTarget" ) // JobCondition describes current state of a job. @@ -375,9 +505,16 @@ type CronJobSpec struct { // The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. Schedule string `json:"schedule" protobuf:"bytes,1,opt,name=schedule"` - // The time zone for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. - // If not specified, this will rely on the time zone of the kube-controller-manager process. - // ALPHA: This field is in alpha and must be enabled via the `CronJobTimeZone` feature gate. + // The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. + // If not specified, this will default to the time zone of the kube-controller-manager process. + // The set of valid time zone names and the time zone offset is loaded from the system-wide time zone + // database by the API server during CronJob validation and the controller manager during execution. + // If no system-wide time zone database can be found a bundled version of the database is used instead. + // If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host + // configuration, the controller will stop creating new new Jobs and will create a system event with the + // reason UnknownTimeZone. + // More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones + // This is beta field and must be enabled via the `CronJobTimeZone` feature gate. // +optional TimeZone *string `json:"timeZone,omitempty" protobuf:"bytes,8,opt,name=timeZone"` diff --git a/cluster-autoscaler/vendor/k8s.io/api/batch/v1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/batch/v1/types_swagger_doc_generated.go index df24723a82fe..5131dd048a3f 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/batch/v1/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/batch/v1/types_swagger_doc_generated.go @@ -51,7 +51,7 @@ func (CronJobList) SwaggerDoc() map[string]string { var map_CronJobSpec = map[string]string{ "": "CronJobSpec describes how the job execution will look like and when it will actually run.", "schedule": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", - "timeZone": "The time zone for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will rely on the time zone of the kube-controller-manager process. ALPHA: This field is in alpha and must be enabled via the `CronJobTimeZone` feature gate.", + "timeZone": "The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones This is beta field and must be enabled via the `CronJobTimeZone` feature gate.", "startingDeadlineSeconds": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", "concurrencyPolicy": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", "suspend": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", @@ -115,6 +115,7 @@ var map_JobSpec = map[string]string{ "parallelism": "Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", "completions": "Specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", "activeDeadlineSeconds": "Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.", + "podFailurePolicy": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is alpha-level. To use this field, you must enable the `JobPodFailurePolicy` feature gate (disabled by default).", "backoffLimit": "Specifies the number of retries before marking this job failed. Defaults to 6", "selector": "A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors", "manualSelector": "manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector", @@ -155,6 +156,47 @@ func (JobTemplateSpec) SwaggerDoc() map[string]string { return map_JobTemplateSpec } +var map_PodFailurePolicy = map[string]string{ + "": "PodFailurePolicy describes how failed pods influence the backoffLimit.", + "rules": "A list of pod failure policy rules. The rules are evaluated in order. Once a rule matches a Pod failure, the remaining of the rules are ignored. When no rule matches the Pod failure, the default handling applies - the counter of pod failures is incremented and it is checked against the backoffLimit. At most 20 elements are allowed.", +} + +func (PodFailurePolicy) SwaggerDoc() map[string]string { + return map_PodFailurePolicy +} + +var map_PodFailurePolicyOnExitCodesRequirement = map[string]string{ + "": "PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.", + "containerName": "Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.", + "operator": "Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are: - In: the requirement is satisfied if at least one container exit code\n (might be multiple if there are multiple containers not restricted\n by the 'containerName' field) is in the set of specified values.\n- NotIn: the requirement is satisfied if at least one container exit code\n (might be multiple if there are multiple containers not restricted\n by the 'containerName' field) is not in the set of specified values.\nAdditional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.", + "values": "Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.", +} + +func (PodFailurePolicyOnExitCodesRequirement) SwaggerDoc() map[string]string { + return map_PodFailurePolicyOnExitCodesRequirement +} + +var map_PodFailurePolicyOnPodConditionsPattern = map[string]string{ + "": "PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.", + "type": "Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.", + "status": "Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.", +} + +func (PodFailurePolicyOnPodConditionsPattern) SwaggerDoc() map[string]string { + return map_PodFailurePolicyOnPodConditionsPattern +} + +var map_PodFailurePolicyRule = map[string]string{ + "": "PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of OnExitCodes and onPodConditions, but not both, can be used in each rule.", + "action": "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are: - FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- Ignore: indicates that the counter towards the .backoffLimit is not\n incremented and a replacement pod is created.\n- Count: indicates that the pod is handled in the default way - the\n counter towards the .backoffLimit is incremented.\nAdditional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.", + "onExitCodes": "Represents the requirement on the container exit codes.", + "onPodConditions": "Represents the requirement on the pod conditions. The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.", +} + +func (PodFailurePolicyRule) SwaggerDoc() map[string]string { + return map_PodFailurePolicyRule +} + var map_UncountedTerminatedPods = map[string]string{ "": "UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.", "succeeded": "Succeeded holds UIDs of succeeded Pods.", diff --git a/cluster-autoscaler/vendor/k8s.io/api/batch/v1/zz_generated.deepcopy.go b/cluster-autoscaler/vendor/k8s.io/api/batch/v1/zz_generated.deepcopy.go index 4bc195a9f527..2a901e9d0f95 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/batch/v1/zz_generated.deepcopy.go +++ b/cluster-autoscaler/vendor/k8s.io/api/batch/v1/zz_generated.deepcopy.go @@ -257,6 +257,11 @@ func (in *JobSpec) DeepCopyInto(out *JobSpec) { *out = new(int64) **out = **in } + if in.PodFailurePolicy != nil { + in, out := &in.PodFailurePolicy, &out.PodFailurePolicy + *out = new(PodFailurePolicy) + (*in).DeepCopyInto(*out) + } if in.BackoffLimit != nil { in, out := &in.BackoffLimit, &out.BackoffLimit *out = new(int32) @@ -360,6 +365,97 @@ func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PodFailurePolicy) DeepCopyInto(out *PodFailurePolicy) { + *out = *in + if in.Rules != nil { + in, out := &in.Rules, &out.Rules + *out = make([]PodFailurePolicyRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicy. +func (in *PodFailurePolicy) DeepCopy() *PodFailurePolicy { + if in == nil { + return nil + } + out := new(PodFailurePolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PodFailurePolicyOnExitCodesRequirement) DeepCopyInto(out *PodFailurePolicyOnExitCodesRequirement) { + *out = *in + if in.ContainerName != nil { + in, out := &in.ContainerName, &out.ContainerName + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]int32, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicyOnExitCodesRequirement. +func (in *PodFailurePolicyOnExitCodesRequirement) DeepCopy() *PodFailurePolicyOnExitCodesRequirement { + if in == nil { + return nil + } + out := new(PodFailurePolicyOnExitCodesRequirement) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PodFailurePolicyOnPodConditionsPattern) DeepCopyInto(out *PodFailurePolicyOnPodConditionsPattern) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicyOnPodConditionsPattern. +func (in *PodFailurePolicyOnPodConditionsPattern) DeepCopy() *PodFailurePolicyOnPodConditionsPattern { + if in == nil { + return nil + } + out := new(PodFailurePolicyOnPodConditionsPattern) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PodFailurePolicyRule) DeepCopyInto(out *PodFailurePolicyRule) { + *out = *in + if in.OnExitCodes != nil { + in, out := &in.OnExitCodes, &out.OnExitCodes + *out = new(PodFailurePolicyOnExitCodesRequirement) + (*in).DeepCopyInto(*out) + } + if in.OnPodConditions != nil { + in, out := &in.OnPodConditions, &out.OnPodConditions + *out = make([]PodFailurePolicyOnPodConditionsPattern, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicyRule. +func (in *PodFailurePolicyRule) DeepCopy() *PodFailurePolicyRule { + if in == nil { + return nil + } + out := new(PodFailurePolicyRule) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *UncountedTerminatedPods) DeepCopyInto(out *UncountedTerminatedPods) { *out = *in diff --git a/cluster-autoscaler/vendor/k8s.io/api/batch/v1beta1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/batch/v1beta1/generated.proto index c73b7a654033..d8386a8f51dc 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/batch/v1beta1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/batch/v1beta1/generated.proto @@ -64,9 +64,16 @@ message CronJobSpec { // The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. optional string schedule = 1; - // The time zone for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. - // If not specified, this will rely on the time zone of the kube-controller-manager process. - // ALPHA: This field is in alpha and must be enabled via the `CronJobTimeZone` feature gate. + // The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. + // If not specified, this will default to the time zone of the kube-controller-manager process. + // The set of valid time zone names and the time zone offset is loaded from the system-wide time zone + // database by the API server during CronJob validation and the controller manager during execution. + // If no system-wide time zone database can be found a bundled version of the database is used instead. + // If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host + // configuration, the controller will stop creating new new Jobs and will create a system event with the + // reason UnknownTimeZone. + // More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones + // This is beta field and must be enabled via the `CronJobTimeZone` feature gate. // +optional optional string timeZone = 8; diff --git a/cluster-autoscaler/vendor/k8s.io/api/batch/v1beta1/types.go b/cluster-autoscaler/vendor/k8s.io/api/batch/v1beta1/types.go index 54a2d14318f1..4c0d69dd6b0e 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/batch/v1beta1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/batch/v1beta1/types.go @@ -104,9 +104,16 @@ type CronJobSpec struct { // The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. Schedule string `json:"schedule" protobuf:"bytes,1,opt,name=schedule"` - // The time zone for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. - // If not specified, this will rely on the time zone of the kube-controller-manager process. - // ALPHA: This field is in alpha and must be enabled via the `CronJobTimeZone` feature gate. + // The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. + // If not specified, this will default to the time zone of the kube-controller-manager process. + // The set of valid time zone names and the time zone offset is loaded from the system-wide time zone + // database by the API server during CronJob validation and the controller manager during execution. + // If no system-wide time zone database can be found a bundled version of the database is used instead. + // If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host + // configuration, the controller will stop creating new new Jobs and will create a system event with the + // reason UnknownTimeZone. + // More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones + // This is beta field and must be enabled via the `CronJobTimeZone` feature gate. // +optional TimeZone *string `json:"timeZone,omitempty" protobuf:"bytes,8,opt,name=timeZone"` diff --git a/cluster-autoscaler/vendor/k8s.io/api/batch/v1beta1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/batch/v1beta1/types_swagger_doc_generated.go index 871948076318..5716bbb862af 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/batch/v1beta1/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/batch/v1beta1/types_swagger_doc_generated.go @@ -51,7 +51,7 @@ func (CronJobList) SwaggerDoc() map[string]string { var map_CronJobSpec = map[string]string{ "": "CronJobSpec describes how the job execution will look like and when it will actually run.", "schedule": "The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.", - "timeZone": "The time zone for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will rely on the time zone of the kube-controller-manager process. ALPHA: This field is in alpha and must be enabled via the `CronJobTimeZone` feature gate.", + "timeZone": "The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones This is beta field and must be enabled via the `CronJobTimeZone` feature gate.", "startingDeadlineSeconds": "Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.", "concurrencyPolicy": "Specifies how to treat concurrent executions of a Job. Valid values are: - \"Allow\" (default): allows CronJobs to run concurrently; - \"Forbid\": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - \"Replace\": cancels currently running job and replaces it with a new one", "suspend": "This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.", diff --git a/cluster-autoscaler/vendor/k8s.io/api/certificates/v1/types.go b/cluster-autoscaler/vendor/k8s.io/api/certificates/v1/types.go index 752c66973476..af5efb5165b8 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/certificates/v1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/certificates/v1/types.go @@ -275,7 +275,9 @@ type CertificateSigningRequestList struct { // KeyUsage specifies valid usage contexts for keys. // See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 -// https://tools.ietf.org/html/rfc5280#section-4.2.1.12 +// +// https://tools.ietf.org/html/rfc5280#section-4.2.1.12 +// // +enum type KeyUsage string diff --git a/cluster-autoscaler/vendor/k8s.io/api/certificates/v1beta1/types.go b/cluster-autoscaler/vendor/k8s.io/api/certificates/v1beta1/types.go index 877312d97e3c..fe7aab9704d0 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/certificates/v1beta1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/certificates/v1beta1/types.go @@ -230,7 +230,8 @@ type CertificateSigningRequestList struct { // KeyUsages specifies valid usage contexts for keys. // See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 -// https://tools.ietf.org/html/rfc5280#section-4.2.1.12 +// +// https://tools.ietf.org/html/rfc5280#section-4.2.1.12 type KeyUsage string const ( diff --git a/cluster-autoscaler/vendor/k8s.io/api/core/v1/generated.pb.go b/cluster-autoscaler/vendor/k8s.io/api/core/v1/generated.pb.go index efdf2cde0c28..aa62ba138fd7 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/core/v1/generated.pb.go +++ b/cluster-autoscaler/vendor/k8s.io/api/core/v1/generated.pb.go @@ -6175,903 +6175,906 @@ func init() { } var fileDescriptor_83c10c24ec417dc9 = []byte{ - // 14336 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x7d, 0x6b, 0x70, 0x1c, 0xc9, - 0x79, 0x98, 0x66, 0x17, 0xaf, 0xfd, 0xf0, 0x6e, 0x90, 0x3c, 0x10, 0x77, 0xe4, 0xf2, 0xe6, 0x24, - 0x1e, 0x4f, 0x77, 0x07, 0x8a, 0xf7, 0x90, 0xce, 0x77, 0xd2, 0x59, 0x00, 0x16, 0x20, 0x71, 0x24, - 0xc0, 0xbd, 0x5e, 0x90, 0x94, 0xe4, 0x93, 0x4a, 0x83, 0xdd, 0x06, 0x30, 0xc2, 0xee, 0xcc, 0xde, - 0xcc, 0x2c, 0x48, 0x5c, 0xe4, 0x8a, 0x23, 0x3f, 0x65, 0x3b, 0x29, 0x55, 0xca, 0x79, 0x94, 0xec, - 0x72, 0xa5, 0x1c, 0x27, 0xb6, 0xa2, 0xbc, 0x1c, 0x39, 0xb6, 0x63, 0x39, 0xb1, 0xf3, 0x76, 0xf2, - 0xc3, 0x76, 0x5c, 0x15, 0xcb, 0x55, 0xae, 0x20, 0x36, 0x9d, 0x2a, 0x97, 0xaa, 0x12, 0xdb, 0x89, - 0x93, 0x1f, 0x41, 0x9c, 0x38, 0xd5, 0xcf, 0xe9, 0x9e, 0xc7, 0xee, 0x82, 0x07, 0x42, 0x27, 0xd5, - 0xfd, 0xdb, 0xed, 0xef, 0xeb, 0xaf, 0x7b, 0xfa, 0xf9, 0xf5, 0xf7, 0x84, 0x57, 0x76, 0x5f, 0x0a, - 0xe7, 0x5d, 0xff, 0xf2, 0x6e, 0x67, 0x93, 0x04, 0x1e, 0x89, 0x48, 0x78, 0x79, 0x8f, 0x78, 0x0d, - 0x3f, 0xb8, 0x2c, 0x00, 0x4e, 0xdb, 0xbd, 0x5c, 0xf7, 0x03, 0x72, 0x79, 0xef, 0xca, 0xe5, 0x6d, - 0xe2, 0x91, 0xc0, 0x89, 0x48, 0x63, 0xbe, 0x1d, 0xf8, 0x91, 0x8f, 0x10, 0xc7, 0x99, 0x77, 0xda, - 0xee, 0x3c, 0xc5, 0x99, 0xdf, 0xbb, 0x32, 0xf7, 0xec, 0xb6, 0x1b, 0xed, 0x74, 0x36, 0xe7, 0xeb, - 0x7e, 0xeb, 0xf2, 0xb6, 0xbf, 0xed, 0x5f, 0x66, 0xa8, 0x9b, 0x9d, 0x2d, 0xf6, 0x8f, 0xfd, 0x61, - 0xbf, 0x38, 0x89, 0xb9, 0x17, 0xe2, 0x66, 0x5a, 0x4e, 0x7d, 0xc7, 0xf5, 0x48, 0xb0, 0x7f, 0xb9, - 0xbd, 0xbb, 0xcd, 0xda, 0x0d, 0x48, 0xe8, 0x77, 0x82, 0x3a, 0x49, 0x36, 0xdc, 0xb5, 0x56, 0x78, - 0xb9, 0x45, 0x22, 0x27, 0xa3, 0xbb, 0x73, 0x97, 0xf3, 0x6a, 0x05, 0x1d, 0x2f, 0x72, 0x5b, 0xe9, - 0x66, 0x3e, 0xd8, 0xab, 0x42, 0x58, 0xdf, 0x21, 0x2d, 0x27, 0x55, 0xef, 0xf9, 0xbc, 0x7a, 0x9d, - 0xc8, 0x6d, 0x5e, 0x76, 0xbd, 0x28, 0x8c, 0x82, 0x64, 0x25, 0xfb, 0x6b, 0x16, 0x5c, 0x58, 0xb8, - 0x53, 0x5b, 0x6e, 0x3a, 0x61, 0xe4, 0xd6, 0x17, 0x9b, 0x7e, 0x7d, 0xb7, 0x16, 0xf9, 0x01, 0xb9, - 0xed, 0x37, 0x3b, 0x2d, 0x52, 0x63, 0x03, 0x81, 0x9e, 0x81, 0x91, 0x3d, 0xf6, 0x7f, 0xb5, 0x32, - 0x6b, 0x5d, 0xb0, 0x2e, 0x95, 0x16, 0xa7, 0x7e, 0xf5, 0xa0, 0xfc, 0x9e, 0xfb, 0x07, 0xe5, 0x91, - 0xdb, 0xa2, 0x1c, 0x2b, 0x0c, 0x74, 0x11, 0x86, 0xb6, 0xc2, 0x8d, 0xfd, 0x36, 0x99, 0x2d, 0x30, - 0xdc, 0x09, 0x81, 0x3b, 0xb4, 0x52, 0xa3, 0xa5, 0x58, 0x40, 0xd1, 0x65, 0x28, 0xb5, 0x9d, 0x20, - 0x72, 0x23, 0xd7, 0xf7, 0x66, 0x8b, 0x17, 0xac, 0x4b, 0x83, 0x8b, 0xd3, 0x02, 0xb5, 0x54, 0x95, - 0x00, 0x1c, 0xe3, 0xd0, 0x6e, 0x04, 0xc4, 0x69, 0xdc, 0xf4, 0x9a, 0xfb, 0xb3, 0x03, 0x17, 0xac, - 0x4b, 0x23, 0x71, 0x37, 0xb0, 0x28, 0xc7, 0x0a, 0xc3, 0xfe, 0x62, 0x01, 0x46, 0x16, 0xb6, 0xb6, - 0x5c, 0xcf, 0x8d, 0xf6, 0xd1, 0x6d, 0x18, 0xf3, 0xfc, 0x06, 0x91, 0xff, 0xd9, 0x57, 0x8c, 0x3e, - 0x77, 0x61, 0x3e, 0xbd, 0x94, 0xe6, 0xd7, 0x35, 0xbc, 0xc5, 0xa9, 0xfb, 0x07, 0xe5, 0x31, 0xbd, - 0x04, 0x1b, 0x74, 0x10, 0x86, 0xd1, 0xb6, 0xdf, 0x50, 0x64, 0x0b, 0x8c, 0x6c, 0x39, 0x8b, 0x6c, - 0x35, 0x46, 0x5b, 0x9c, 0xbc, 0x7f, 0x50, 0x1e, 0xd5, 0x0a, 0xb0, 0x4e, 0x04, 0x6d, 0xc2, 0x24, - 0xfd, 0xeb, 0x45, 0xae, 0xa2, 0x5b, 0x64, 0x74, 0x9f, 0xc8, 0xa3, 0xab, 0xa1, 0x2e, 0xce, 0xdc, - 0x3f, 0x28, 0x4f, 0x26, 0x0a, 0x71, 0x92, 0xa0, 0xfd, 0x16, 0x4c, 0x2c, 0x44, 0x91, 0x53, 0xdf, - 0x21, 0x0d, 0x3e, 0x83, 0xe8, 0x05, 0x18, 0xf0, 0x9c, 0x16, 0x11, 0xf3, 0x7b, 0x41, 0x0c, 0xec, - 0xc0, 0xba, 0xd3, 0x22, 0x87, 0x07, 0xe5, 0xa9, 0x5b, 0x9e, 0xfb, 0x66, 0x47, 0xac, 0x0a, 0x5a, - 0x86, 0x19, 0x36, 0x7a, 0x0e, 0xa0, 0x41, 0xf6, 0xdc, 0x3a, 0xa9, 0x3a, 0xd1, 0x8e, 0x98, 0x6f, - 0x24, 0xea, 0x42, 0x45, 0x41, 0xb0, 0x86, 0x65, 0xdf, 0x83, 0xd2, 0xc2, 0x9e, 0xef, 0x36, 0xaa, - 0x7e, 0x23, 0x44, 0xbb, 0x30, 0xd9, 0x0e, 0xc8, 0x16, 0x09, 0x54, 0xd1, 0xac, 0x75, 0xa1, 0x78, - 0x69, 0xf4, 0xb9, 0x4b, 0x99, 0x1f, 0x6b, 0xa2, 0x2e, 0x7b, 0x51, 0xb0, 0xbf, 0xf8, 0x88, 0x68, - 0x6f, 0x32, 0x01, 0xc5, 0x49, 0xca, 0xf6, 0xbf, 0x2a, 0xc0, 0xe9, 0x85, 0xb7, 0x3a, 0x01, 0xa9, - 0xb8, 0xe1, 0x6e, 0x72, 0x85, 0x37, 0xdc, 0x70, 0x77, 0x3d, 0x1e, 0x01, 0xb5, 0xb4, 0x2a, 0xa2, - 0x1c, 0x2b, 0x0c, 0xf4, 0x2c, 0x0c, 0xd3, 0xdf, 0xb7, 0xf0, 0xaa, 0xf8, 0xe4, 0x19, 0x81, 0x3c, - 0x5a, 0x71, 0x22, 0xa7, 0xc2, 0x41, 0x58, 0xe2, 0xa0, 0x35, 0x18, 0xad, 0xb3, 0x0d, 0xb9, 0xbd, - 0xe6, 0x37, 0x08, 0x9b, 0xcc, 0xd2, 0xe2, 0xd3, 0x14, 0x7d, 0x29, 0x2e, 0x3e, 0x3c, 0x28, 0xcf, - 0xf2, 0xbe, 0x09, 0x12, 0x1a, 0x0c, 0xeb, 0xf5, 0x91, 0xad, 0xf6, 0xd7, 0x00, 0xa3, 0x04, 0x19, - 0x7b, 0xeb, 0x92, 0xb6, 0x55, 0x06, 0xd9, 0x56, 0x19, 0xcb, 0xde, 0x26, 0xe8, 0x0a, 0x0c, 0xec, - 0xba, 0x5e, 0x63, 0x76, 0x88, 0xd1, 0x3a, 0x47, 0xe7, 0xfc, 0xba, 0xeb, 0x35, 0x0e, 0x0f, 0xca, - 0xd3, 0x46, 0x77, 0x68, 0x21, 0x66, 0xa8, 0xf6, 0x9f, 0x58, 0x50, 0x66, 0xb0, 0x15, 0xb7, 0x49, - 0xaa, 0x24, 0x08, 0xdd, 0x30, 0x22, 0x5e, 0x64, 0x0c, 0xe8, 0x73, 0x00, 0x21, 0xa9, 0x07, 0x24, - 0xd2, 0x86, 0x54, 0x2d, 0x8c, 0x9a, 0x82, 0x60, 0x0d, 0x8b, 0x1e, 0x08, 0xe1, 0x8e, 0x13, 0xb0, - 0xf5, 0x25, 0x06, 0x56, 0x1d, 0x08, 0x35, 0x09, 0xc0, 0x31, 0x8e, 0x71, 0x20, 0x14, 0x7b, 0x1d, - 0x08, 0xe8, 0x23, 0x30, 0x19, 0x37, 0x16, 0xb6, 0x9d, 0xba, 0x1c, 0x40, 0xb6, 0x65, 0x6a, 0x26, - 0x08, 0x27, 0x71, 0xed, 0xbf, 0x63, 0x89, 0xc5, 0x43, 0xbf, 0xfa, 0x1d, 0xfe, 0xad, 0xf6, 0x2f, - 0x58, 0x30, 0xbc, 0xe8, 0x7a, 0x0d, 0xd7, 0xdb, 0x46, 0x9f, 0x86, 0x11, 0x7a, 0x37, 0x35, 0x9c, - 0xc8, 0x11, 0xe7, 0xde, 0x07, 0xb4, 0xbd, 0xa5, 0xae, 0x8a, 0xf9, 0xf6, 0xee, 0x36, 0x2d, 0x08, - 0xe7, 0x29, 0x36, 0xdd, 0x6d, 0x37, 0x37, 0x3f, 0x43, 0xea, 0xd1, 0x1a, 0x89, 0x9c, 0xf8, 0x73, - 0xe2, 0x32, 0xac, 0xa8, 0xa2, 0xeb, 0x30, 0x14, 0x39, 0xc1, 0x36, 0x89, 0xc4, 0x01, 0x98, 0x79, - 0x50, 0xf1, 0x9a, 0x98, 0xee, 0x48, 0xe2, 0xd5, 0x49, 0x7c, 0x2d, 0x6c, 0xb0, 0xaa, 0x58, 0x90, - 0xb0, 0xff, 0xef, 0x30, 0x9c, 0x5d, 0xaa, 0xad, 0xe6, 0xac, 0xab, 0x8b, 0x30, 0xd4, 0x08, 0xdc, - 0x3d, 0x12, 0x88, 0x71, 0x56, 0x54, 0x2a, 0xac, 0x14, 0x0b, 0x28, 0x7a, 0x09, 0xc6, 0xf8, 0x85, - 0x74, 0xcd, 0xf1, 0x1a, 0x4d, 0x39, 0xc4, 0xa7, 0x04, 0xf6, 0xd8, 0x6d, 0x0d, 0x86, 0x0d, 0xcc, - 0x23, 0x2e, 0xaa, 0x8b, 0x89, 0xcd, 0x98, 0x77, 0xd9, 0x7d, 0xde, 0x82, 0x29, 0xde, 0xcc, 0x42, - 0x14, 0x05, 0xee, 0x66, 0x27, 0x22, 0xe1, 0xec, 0x20, 0x3b, 0xe9, 0x96, 0xb2, 0x46, 0x2b, 0x77, - 0x04, 0xe6, 0x6f, 0x27, 0xa8, 0xf0, 0x43, 0x70, 0x56, 0xb4, 0x3b, 0x95, 0x04, 0xe3, 0x54, 0xb3, - 0xe8, 0xbb, 0x2d, 0x98, 0xab, 0xfb, 0x5e, 0x14, 0xf8, 0xcd, 0x26, 0x09, 0xaa, 0x9d, 0xcd, 0xa6, - 0x1b, 0xee, 0xf0, 0x75, 0x8a, 0xc9, 0x16, 0x3b, 0x09, 0x72, 0xe6, 0x50, 0x21, 0x89, 0x39, 0x3c, - 0x7f, 0xff, 0xa0, 0x3c, 0xb7, 0x94, 0x4b, 0x0a, 0x77, 0x69, 0x06, 0xed, 0x02, 0xa2, 0x57, 0x69, - 0x2d, 0x72, 0xb6, 0x49, 0xdc, 0xf8, 0x70, 0xff, 0x8d, 0x9f, 0xb9, 0x7f, 0x50, 0x46, 0xeb, 0x29, - 0x12, 0x38, 0x83, 0x2c, 0x7a, 0x13, 0x4e, 0xd1, 0xd2, 0xd4, 0xb7, 0x8e, 0xf4, 0xdf, 0xdc, 0xec, - 0xfd, 0x83, 0xf2, 0xa9, 0xf5, 0x0c, 0x22, 0x38, 0x93, 0x34, 0xfa, 0x2e, 0x0b, 0xce, 0xc6, 0x9f, - 0xbf, 0x7c, 0xaf, 0xed, 0x78, 0x8d, 0xb8, 0xe1, 0x52, 0xff, 0x0d, 0xd3, 0x33, 0xf9, 0xec, 0x52, - 0x1e, 0x25, 0x9c, 0xdf, 0x08, 0xf2, 0x60, 0x86, 0x76, 0x2d, 0xd9, 0x36, 0xf4, 0xdf, 0xf6, 0x23, - 0xf7, 0x0f, 0xca, 0x33, 0xeb, 0x69, 0x1a, 0x38, 0x8b, 0xf0, 0xdc, 0x12, 0x9c, 0xce, 0x5c, 0x9d, - 0x68, 0x0a, 0x8a, 0xbb, 0x84, 0x73, 0x5d, 0x25, 0x4c, 0x7f, 0xa2, 0x53, 0x30, 0xb8, 0xe7, 0x34, - 0x3b, 0x62, 0x63, 0x62, 0xfe, 0xe7, 0xe5, 0xc2, 0x4b, 0x96, 0xfd, 0xaf, 0x8b, 0x30, 0xb9, 0x54, - 0x5b, 0x7d, 0xa0, 0x5d, 0xaf, 0x5f, 0x7b, 0x85, 0xae, 0xd7, 0x5e, 0x7c, 0x89, 0x16, 0x73, 0x2f, - 0xd1, 0x3f, 0x9f, 0xb1, 0x65, 0x07, 0xd8, 0x96, 0xfd, 0xb6, 0x9c, 0x2d, 0x7b, 0xcc, 0x1b, 0x75, - 0x2f, 0x67, 0xd5, 0x0e, 0xb2, 0x09, 0xcc, 0xe4, 0x90, 0x6e, 0xf8, 0x75, 0xa7, 0x99, 0x3c, 0x6a, - 0x8f, 0xb8, 0x74, 0x8f, 0x67, 0x1e, 0xeb, 0x30, 0xb6, 0xe4, 0xb4, 0x9d, 0x4d, 0xb7, 0xe9, 0x46, - 0x2e, 0x09, 0xd1, 0x93, 0x50, 0x74, 0x1a, 0x0d, 0xc6, 0xdd, 0x95, 0x16, 0x4f, 0xdf, 0x3f, 0x28, - 0x17, 0x17, 0x1a, 0x94, 0xcd, 0x00, 0x85, 0xb5, 0x8f, 0x29, 0x06, 0x7a, 0x3f, 0x0c, 0x34, 0x02, - 0xbf, 0x3d, 0x5b, 0x60, 0x98, 0x74, 0x97, 0x0f, 0x54, 0x02, 0xbf, 0x9d, 0x40, 0x65, 0x38, 0xf6, - 0xaf, 0x14, 0xe0, 0xb1, 0x25, 0xd2, 0xde, 0x59, 0xa9, 0xe5, 0xdc, 0x17, 0x97, 0x60, 0xa4, 0xe5, - 0x7b, 0x6e, 0xe4, 0x07, 0xa1, 0x68, 0x9a, 0xad, 0x88, 0x35, 0x51, 0x86, 0x15, 0x14, 0x5d, 0x80, - 0x81, 0x76, 0xcc, 0xc4, 0x8e, 0x49, 0x06, 0x98, 0xb1, 0xaf, 0x0c, 0x42, 0x31, 0x3a, 0x21, 0x09, - 0xc4, 0x8a, 0x51, 0x18, 0xb7, 0x42, 0x12, 0x60, 0x06, 0x89, 0x39, 0x01, 0xca, 0x23, 0x88, 0x1b, - 0x21, 0xc1, 0x09, 0x50, 0x08, 0xd6, 0xb0, 0x50, 0x15, 0x4a, 0x61, 0x62, 0x66, 0xfb, 0xda, 0x9a, - 0xe3, 0x8c, 0x55, 0x50, 0x33, 0x19, 0x13, 0x31, 0x6e, 0xb0, 0xa1, 0x9e, 0xac, 0xc2, 0x57, 0x0b, - 0x80, 0xf8, 0x10, 0x7e, 0x93, 0x0d, 0xdc, 0xad, 0xf4, 0xc0, 0xf5, 0xbf, 0x25, 0x8e, 0x6b, 0xf4, - 0xfe, 0xa7, 0x05, 0x8f, 0x2d, 0xb9, 0x5e, 0x83, 0x04, 0x39, 0x0b, 0xf0, 0xe1, 0xbc, 0x9d, 0x8f, - 0xc6, 0xa4, 0x18, 0x4b, 0x6c, 0xe0, 0x18, 0x96, 0x98, 0xfd, 0x47, 0x16, 0x20, 0xfe, 0xd9, 0xef, - 0xb8, 0x8f, 0xbd, 0x95, 0xfe, 0xd8, 0x63, 0x58, 0x16, 0xf6, 0x0d, 0x98, 0x58, 0x6a, 0xba, 0xc4, - 0x8b, 0x56, 0xab, 0x4b, 0xbe, 0xb7, 0xe5, 0x6e, 0xa3, 0x97, 0x61, 0x22, 0x72, 0x5b, 0xc4, 0xef, - 0x44, 0x35, 0x52, 0xf7, 0x3d, 0xf6, 0x72, 0xb5, 0x2e, 0x0d, 0x2e, 0xa2, 0xfb, 0x07, 0xe5, 0x89, - 0x0d, 0x03, 0x82, 0x13, 0x98, 0xf6, 0xef, 0xd0, 0xf1, 0xf3, 0x5b, 0x6d, 0xdf, 0x23, 0x5e, 0xb4, - 0xe4, 0x7b, 0x0d, 0x2e, 0xe1, 0x78, 0x19, 0x06, 0x22, 0x3a, 0x1e, 0x7c, 0xec, 0x2e, 0xca, 0x8d, - 0x42, 0x47, 0xe1, 0xf0, 0xa0, 0x7c, 0x26, 0x5d, 0x83, 0x8d, 0x13, 0xab, 0x83, 0xbe, 0x0d, 0x86, - 0xc2, 0xc8, 0x89, 0x3a, 0xa1, 0x18, 0xcd, 0xc7, 0xe5, 0x68, 0xd6, 0x58, 0xe9, 0xe1, 0x41, 0x79, - 0x52, 0x55, 0xe3, 0x45, 0x58, 0x54, 0x40, 0x4f, 0xc1, 0x70, 0x8b, 0x84, 0xa1, 0xb3, 0x2d, 0x6f, - 0xc3, 0x49, 0x51, 0x77, 0x78, 0x8d, 0x17, 0x63, 0x09, 0x47, 0x4f, 0xc0, 0x20, 0x09, 0x02, 0x3f, - 0x10, 0x7b, 0x74, 0x5c, 0x20, 0x0e, 0x2e, 0xd3, 0x42, 0xcc, 0x61, 0xf6, 0xaf, 0x5b, 0x30, 0xa9, - 0xfa, 0xca, 0xdb, 0x3a, 0x81, 0x57, 0xc8, 0x27, 0x00, 0xea, 0xf2, 0x03, 0x43, 0x76, 0x7b, 0x8c, - 0x3e, 0x77, 0x31, 0xf3, 0xa2, 0x4e, 0x0d, 0x63, 0x4c, 0x59, 0x15, 0x85, 0x58, 0xa3, 0x66, 0xff, - 0x53, 0x0b, 0x66, 0x12, 0x5f, 0x74, 0xc3, 0x0d, 0x23, 0xf4, 0x46, 0xea, 0xab, 0xe6, 0xfb, 0xfb, - 0x2a, 0x5a, 0x9b, 0x7d, 0x93, 0x5a, 0xca, 0xb2, 0x44, 0xfb, 0xa2, 0x6b, 0x30, 0xe8, 0x46, 0xa4, - 0x25, 0x3f, 0xe6, 0x89, 0xae, 0x1f, 0xc3, 0x7b, 0x15, 0xcf, 0xc8, 0x2a, 0xad, 0x89, 0x39, 0x01, - 0xfb, 0x57, 0x8a, 0x50, 0xe2, 0xcb, 0x76, 0xcd, 0x69, 0x9f, 0xc0, 0x5c, 0x3c, 0x0d, 0x25, 0xb7, - 0xd5, 0xea, 0x44, 0xce, 0xa6, 0x38, 0xce, 0x47, 0xf8, 0xd6, 0x5a, 0x95, 0x85, 0x38, 0x86, 0xa3, - 0x55, 0x18, 0x60, 0x5d, 0xe1, 0x5f, 0xf9, 0x64, 0xf6, 0x57, 0x8a, 0xbe, 0xcf, 0x57, 0x9c, 0xc8, - 0xe1, 0x9c, 0x94, 0xba, 0x47, 0x68, 0x11, 0x66, 0x24, 0x90, 0x03, 0xb0, 0xe9, 0x7a, 0x4e, 0xb0, - 0x4f, 0xcb, 0x66, 0x8b, 0x8c, 0xe0, 0xb3, 0xdd, 0x09, 0x2e, 0x2a, 0x7c, 0x4e, 0x56, 0x7d, 0x58, - 0x0c, 0xc0, 0x1a, 0xd1, 0xb9, 0x0f, 0x41, 0x49, 0x21, 0x1f, 0x85, 0x21, 0x9a, 0xfb, 0x08, 0x4c, - 0x26, 0xda, 0xea, 0x55, 0x7d, 0x4c, 0xe7, 0xa7, 0x7e, 0x91, 0x1d, 0x19, 0xa2, 0xd7, 0xcb, 0xde, - 0x9e, 0x38, 0x72, 0xdf, 0x82, 0x53, 0xcd, 0x8c, 0x93, 0x4c, 0xcc, 0x6b, 0xff, 0x27, 0xdf, 0x63, - 0xe2, 0xb3, 0x4f, 0x65, 0x41, 0x71, 0x66, 0x1b, 0x94, 0x47, 0xf0, 0xdb, 0x74, 0x83, 0x38, 0x4d, - 0x9d, 0xdd, 0xbe, 0x29, 0xca, 0xb0, 0x82, 0xd2, 0xf3, 0xee, 0x94, 0xea, 0xfc, 0x75, 0xb2, 0x5f, - 0x23, 0x4d, 0x52, 0x8f, 0xfc, 0xe0, 0x1b, 0xda, 0xfd, 0x73, 0x7c, 0xf4, 0xf9, 0x71, 0x39, 0x2a, - 0x08, 0x14, 0xaf, 0x93, 0x7d, 0x3e, 0x15, 0xfa, 0xd7, 0x15, 0xbb, 0x7e, 0xdd, 0xcf, 0x58, 0x30, - 0xae, 0xbe, 0xee, 0x04, 0xce, 0x85, 0x45, 0xf3, 0x5c, 0x38, 0xd7, 0x75, 0x81, 0xe7, 0x9c, 0x08, - 0x5f, 0x2d, 0xc0, 0x59, 0x85, 0x43, 0xdf, 0x06, 0xfc, 0x8f, 0x58, 0x55, 0x97, 0xa1, 0xe4, 0x29, - 0x29, 0x99, 0x65, 0x8a, 0xa7, 0x62, 0x19, 0x59, 0x8c, 0x43, 0x59, 0x3c, 0x2f, 0x16, 0x65, 0x8d, - 0xe9, 0xe2, 0x63, 0x21, 0x2a, 0x5e, 0x84, 0x62, 0xc7, 0x6d, 0x88, 0x0b, 0xe6, 0x03, 0x72, 0xb4, - 0x6f, 0xad, 0x56, 0x0e, 0x0f, 0xca, 0x8f, 0xe7, 0xa9, 0x2e, 0xe8, 0xcd, 0x16, 0xce, 0xdf, 0x5a, - 0xad, 0x60, 0x5a, 0x19, 0x2d, 0xc0, 0xa4, 0xd4, 0xce, 0xdc, 0xa6, 0xec, 0x96, 0xef, 0x89, 0x7b, - 0x48, 0xc9, 0x80, 0xb1, 0x09, 0xc6, 0x49, 0x7c, 0x54, 0x81, 0xa9, 0xdd, 0xce, 0x26, 0x69, 0x92, - 0x88, 0x7f, 0xf0, 0x75, 0xc2, 0x25, 0xa4, 0xa5, 0xf8, 0x65, 0x76, 0x3d, 0x01, 0xc7, 0xa9, 0x1a, - 0xf6, 0x9f, 0xb1, 0xfb, 0x40, 0x8c, 0x5e, 0x35, 0xf0, 0xe9, 0xc2, 0xa2, 0xd4, 0xbf, 0x91, 0xcb, - 0xb9, 0x9f, 0x55, 0x71, 0x9d, 0xec, 0x6f, 0xf8, 0x94, 0x33, 0xcf, 0x5e, 0x15, 0xc6, 0x9a, 0x1f, - 0xe8, 0xba, 0xe6, 0x7f, 0xb6, 0x00, 0xa7, 0xd5, 0x08, 0x18, 0x4c, 0xe0, 0x37, 0xfb, 0x18, 0x5c, - 0x81, 0xd1, 0x06, 0xd9, 0x72, 0x3a, 0xcd, 0x48, 0x89, 0xeb, 0x07, 0xb9, 0xca, 0xa6, 0x12, 0x17, - 0x63, 0x1d, 0xe7, 0x08, 0xc3, 0xf6, 0xbf, 0x46, 0xd9, 0x45, 0x1c, 0x39, 0x74, 0x8d, 0xab, 0x5d, - 0x63, 0xe5, 0xee, 0x9a, 0x27, 0x60, 0xd0, 0x6d, 0x51, 0xc6, 0xac, 0x60, 0xf2, 0x5b, 0xab, 0xb4, - 0x10, 0x73, 0x18, 0x7a, 0x1f, 0x0c, 0xd7, 0xfd, 0x56, 0xcb, 0xf1, 0x1a, 0xec, 0xca, 0x2b, 0x2d, - 0x8e, 0x52, 0xde, 0x6d, 0x89, 0x17, 0x61, 0x09, 0x43, 0x8f, 0xc1, 0x80, 0x13, 0x6c, 0x73, 0x19, - 0x46, 0x69, 0x71, 0x84, 0xb6, 0xb4, 0x10, 0x6c, 0x87, 0x98, 0x95, 0xd2, 0x27, 0xd8, 0x5d, 0x3f, - 0xd8, 0x75, 0xbd, 0xed, 0x8a, 0x1b, 0x88, 0x2d, 0xa1, 0xee, 0xc2, 0x3b, 0x0a, 0x82, 0x35, 0x2c, - 0xb4, 0x02, 0x83, 0x6d, 0x3f, 0x88, 0xc2, 0xd9, 0x21, 0x36, 0xdc, 0x8f, 0xe7, 0x1c, 0x44, 0xfc, - 0x6b, 0xab, 0x7e, 0x10, 0xc5, 0x1f, 0x40, 0xff, 0x85, 0x98, 0x57, 0x47, 0x37, 0x60, 0x98, 0x78, - 0x7b, 0x2b, 0x81, 0xdf, 0x9a, 0x9d, 0xc9, 0xa7, 0xb4, 0xcc, 0x51, 0xf8, 0x32, 0x8b, 0x79, 0x54, - 0x51, 0x8c, 0x25, 0x09, 0xf4, 0x6d, 0x50, 0x24, 0xde, 0xde, 0xec, 0x30, 0xa3, 0x34, 0x97, 0x43, - 0xe9, 0xb6, 0x13, 0xc4, 0x67, 0xfe, 0xb2, 0xb7, 0x87, 0x69, 0x1d, 0xf4, 0x71, 0x28, 0xc9, 0x03, - 0x23, 0x14, 0xc2, 0xc1, 0xcc, 0x05, 0x2b, 0x8f, 0x19, 0x4c, 0xde, 0xec, 0xb8, 0x01, 0x69, 0x11, - 0x2f, 0x0a, 0xe3, 0x13, 0x52, 0x42, 0x43, 0x1c, 0x53, 0x43, 0x1f, 0x97, 0x12, 0xe9, 0x35, 0xbf, - 0xe3, 0x45, 0xe1, 0x6c, 0x89, 0x75, 0x2f, 0x53, 0x57, 0x78, 0x3b, 0xc6, 0x4b, 0x8a, 0xac, 0x79, - 0x65, 0x6c, 0x90, 0x42, 0x9f, 0x84, 0x71, 0xfe, 0x9f, 0x6b, 0xdc, 0xc2, 0xd9, 0xd3, 0x8c, 0xf6, - 0x85, 0x7c, 0xda, 0x1c, 0x71, 0xf1, 0xb4, 0x20, 0x3e, 0xae, 0x97, 0x86, 0xd8, 0xa4, 0x86, 0x30, - 0x8c, 0x37, 0xdd, 0x3d, 0xe2, 0x91, 0x30, 0xac, 0x06, 0xfe, 0x26, 0x11, 0x02, 0xc4, 0xb3, 0xd9, - 0x1a, 0x3a, 0x7f, 0x93, 0x2c, 0x4e, 0x53, 0x9a, 0x37, 0xf4, 0x3a, 0xd8, 0x24, 0x81, 0x6e, 0xc1, - 0x04, 0x7d, 0xb1, 0xb9, 0x31, 0xd1, 0xd1, 0x5e, 0x44, 0xd9, 0xbb, 0x0a, 0x1b, 0x95, 0x70, 0x82, - 0x08, 0xba, 0x09, 0x63, 0x61, 0xe4, 0x04, 0x51, 0xa7, 0xcd, 0x89, 0x9e, 0xe9, 0x45, 0x94, 0x29, - 0x78, 0x6b, 0x5a, 0x15, 0x6c, 0x10, 0x40, 0xaf, 0x41, 0xa9, 0xe9, 0x6e, 0x91, 0xfa, 0x7e, 0xbd, - 0x49, 0x66, 0xc7, 0x18, 0xb5, 0xcc, 0x43, 0xe5, 0x86, 0x44, 0xe2, 0x7c, 0xae, 0xfa, 0x8b, 0xe3, - 0xea, 0xe8, 0x36, 0x9c, 0x89, 0x48, 0xd0, 0x72, 0x3d, 0x87, 0x1e, 0x06, 0xe2, 0x69, 0xc5, 0x14, - 0xa7, 0xe3, 0x6c, 0xb7, 0x9d, 0x17, 0xb3, 0x71, 0x66, 0x23, 0x13, 0x0b, 0xe7, 0xd4, 0x46, 0xf7, - 0x60, 0x36, 0x03, 0xe2, 0x37, 0xdd, 0xfa, 0xfe, 0xec, 0x29, 0x46, 0xf9, 0xc3, 0x82, 0xf2, 0xec, - 0x46, 0x0e, 0xde, 0x61, 0x17, 0x18, 0xce, 0xa5, 0x8e, 0x6e, 0xc2, 0x24, 0x3b, 0x81, 0xaa, 0x9d, - 0x66, 0x53, 0x34, 0x38, 0xc1, 0x1a, 0x7c, 0x9f, 0xbc, 0x8f, 0x57, 0x4d, 0xf0, 0xe1, 0x41, 0x19, - 0xe2, 0x7f, 0x38, 0x59, 0x1b, 0x6d, 0x32, 0x1d, 0x5d, 0x27, 0x70, 0xa3, 0x7d, 0x7a, 0x6e, 0x90, - 0x7b, 0xd1, 0xec, 0x64, 0x57, 0x79, 0x85, 0x8e, 0xaa, 0x14, 0x79, 0x7a, 0x21, 0x4e, 0x12, 0xa4, - 0x47, 0x6a, 0x18, 0x35, 0x5c, 0x6f, 0x76, 0x8a, 0xbf, 0x4b, 0xe4, 0x89, 0x54, 0xa3, 0x85, 0x98, - 0xc3, 0x98, 0x7e, 0x8e, 0xfe, 0xb8, 0x49, 0x6f, 0xae, 0x69, 0x86, 0x18, 0xeb, 0xe7, 0x24, 0x00, - 0xc7, 0x38, 0x94, 0x99, 0x8c, 0xa2, 0xfd, 0x59, 0xc4, 0x50, 0xd5, 0xc1, 0xb2, 0xb1, 0xf1, 0x71, - 0x4c, 0xcb, 0xed, 0x4d, 0x98, 0x50, 0x07, 0x21, 0x1b, 0x13, 0x54, 0x86, 0x41, 0xc6, 0x3e, 0x09, - 0xe9, 0x5a, 0x89, 0x76, 0x81, 0xb1, 0x56, 0x98, 0x97, 0xb3, 0x2e, 0xb8, 0x6f, 0x91, 0xc5, 0xfd, - 0x88, 0xf0, 0x37, 0x7d, 0x51, 0xeb, 0x82, 0x04, 0xe0, 0x18, 0xc7, 0xfe, 0x7f, 0x9c, 0x0d, 0x8d, - 0x4f, 0xdb, 0x3e, 0xee, 0x97, 0x67, 0x60, 0x64, 0xc7, 0x0f, 0x23, 0x8a, 0xcd, 0xda, 0x18, 0x8c, - 0x19, 0xcf, 0x6b, 0xa2, 0x1c, 0x2b, 0x0c, 0xf4, 0x0a, 0x8c, 0xd7, 0xf5, 0x06, 0xc4, 0xe5, 0xa8, - 0x8e, 0x11, 0xa3, 0x75, 0x6c, 0xe2, 0xa2, 0x97, 0x60, 0x84, 0xd9, 0x9c, 0xd4, 0xfd, 0xa6, 0xe0, - 0xda, 0xe4, 0x0d, 0x3f, 0x52, 0x15, 0xe5, 0x87, 0xda, 0x6f, 0xac, 0xb0, 0xd1, 0x45, 0x18, 0xa2, - 0x5d, 0x58, 0xad, 0x8a, 0x6b, 0x49, 0x09, 0x8a, 0xae, 0xb1, 0x52, 0x2c, 0xa0, 0xf6, 0x5f, 0x2e, - 0x68, 0xa3, 0x4c, 0xdf, 0xc3, 0x04, 0x55, 0x61, 0xf8, 0xae, 0xe3, 0x46, 0xae, 0xb7, 0x2d, 0xf8, - 0x8f, 0xa7, 0xba, 0xde, 0x51, 0xac, 0xd2, 0x1d, 0x5e, 0x81, 0xdf, 0xa2, 0xe2, 0x0f, 0x96, 0x64, - 0x28, 0xc5, 0xa0, 0xe3, 0x79, 0x94, 0x62, 0xa1, 0x5f, 0x8a, 0x98, 0x57, 0xe0, 0x14, 0xc5, 0x1f, - 0x2c, 0xc9, 0xa0, 0x37, 0x00, 0xe4, 0x0e, 0x23, 0x0d, 0x61, 0xeb, 0xf1, 0x4c, 0x6f, 0xa2, 0x1b, - 0xaa, 0xce, 0xe2, 0x04, 0xbd, 0xa3, 0xe3, 0xff, 0x58, 0xa3, 0x67, 0x47, 0x8c, 0x4f, 0x4b, 0x77, - 0x06, 0x7d, 0x07, 0x5d, 0xe2, 0x4e, 0x10, 0x91, 0xc6, 0x42, 0x24, 0x06, 0xe7, 0xfd, 0xfd, 0x3d, - 0x52, 0x36, 0xdc, 0x16, 0xd1, 0xb7, 0x83, 0x20, 0x82, 0x63, 0x7a, 0xf6, 0xcf, 0x17, 0x61, 0x36, - 0xaf, 0xbb, 0x74, 0xd1, 0x91, 0x7b, 0x6e, 0xb4, 0x44, 0xd9, 0x2b, 0xcb, 0x5c, 0x74, 0xcb, 0xa2, - 0x1c, 0x2b, 0x0c, 0x3a, 0xfb, 0xa1, 0xbb, 0x2d, 0xdf, 0x98, 0x83, 0xf1, 0xec, 0xd7, 0x58, 0x29, - 0x16, 0x50, 0x8a, 0x17, 0x10, 0x27, 0x14, 0xc6, 0x44, 0xda, 0x2a, 0xc1, 0xac, 0x14, 0x0b, 0xa8, - 0x2e, 0xed, 0x1a, 0xe8, 0x21, 0xed, 0x32, 0x86, 0x68, 0xf0, 0x78, 0x87, 0x08, 0x7d, 0x0a, 0x60, - 0xcb, 0xf5, 0xdc, 0x70, 0x87, 0x51, 0x1f, 0x3a, 0x32, 0x75, 0xc5, 0x9c, 0xad, 0x28, 0x2a, 0x58, - 0xa3, 0x88, 0x5e, 0x84, 0x51, 0xb5, 0x01, 0x57, 0x2b, 0x4c, 0xb3, 0xaa, 0x59, 0xaa, 0xc4, 0xa7, - 0x51, 0x05, 0xeb, 0x78, 0xf6, 0x67, 0x92, 0xeb, 0x45, 0xec, 0x00, 0x6d, 0x7c, 0xad, 0x7e, 0xc7, - 0xb7, 0xd0, 0x7d, 0x7c, 0xed, 0xaf, 0x17, 0x61, 0xd2, 0x68, 0xac, 0x13, 0xf6, 0x71, 0x66, 0x5d, - 0xa5, 0x07, 0xb8, 0x13, 0x11, 0xb1, 0xff, 0xec, 0xde, 0x5b, 0x45, 0x3f, 0xe4, 0xe9, 0x0e, 0xe0, - 0xf5, 0xd1, 0xa7, 0xa0, 0xd4, 0x74, 0x42, 0x26, 0x39, 0x23, 0x62, 0xdf, 0xf5, 0x43, 0x2c, 0x7e, - 0x98, 0x38, 0x61, 0xa4, 0xdd, 0x9a, 0x9c, 0x76, 0x4c, 0x92, 0xde, 0x34, 0x94, 0x3f, 0x91, 0xd6, - 0x6a, 0xaa, 0x13, 0x94, 0x89, 0xd9, 0xc7, 0x1c, 0x86, 0x5e, 0x82, 0xb1, 0x80, 0xb0, 0x55, 0xb1, - 0x44, 0xb9, 0x39, 0xb6, 0xcc, 0x06, 0x63, 0xb6, 0x0f, 0x6b, 0x30, 0x6c, 0x60, 0xc6, 0x6f, 0x83, - 0xa1, 0x2e, 0x6f, 0x83, 0xa7, 0x60, 0x98, 0xfd, 0x50, 0x2b, 0x40, 0xcd, 0xc6, 0x2a, 0x2f, 0xc6, - 0x12, 0x9e, 0x5c, 0x30, 0x23, 0xfd, 0x2d, 0x18, 0xfa, 0xfa, 0x10, 0x8b, 0x9a, 0x69, 0xb5, 0x47, - 0xf8, 0x29, 0x27, 0x96, 0x3c, 0x96, 0x30, 0xfb, 0xfd, 0x30, 0x51, 0x71, 0x48, 0xcb, 0xf7, 0x96, - 0xbd, 0x46, 0xdb, 0x77, 0xbd, 0x08, 0xcd, 0xc2, 0x00, 0xbb, 0x44, 0xf8, 0x11, 0x30, 0x40, 0x1b, - 0xc2, 0xac, 0xc4, 0xde, 0x86, 0xd3, 0x15, 0xff, 0xae, 0x77, 0xd7, 0x09, 0x1a, 0x0b, 0xd5, 0x55, - 0xed, 0x7d, 0xbd, 0x2e, 0xdf, 0x77, 0xdc, 0x48, 0x2c, 0xf3, 0xe8, 0xd5, 0x6a, 0x72, 0xb6, 0x76, - 0xc5, 0x6d, 0x92, 0x1c, 0x29, 0xc8, 0x5f, 0x2b, 0x18, 0x2d, 0xc5, 0xf8, 0x4a, 0xab, 0x65, 0xe5, - 0x6a, 0xb5, 0x5e, 0x87, 0x91, 0x2d, 0x97, 0x34, 0x1b, 0x98, 0x6c, 0x89, 0x95, 0xf8, 0x64, 0xbe, - 0xdd, 0xcb, 0x0a, 0xc5, 0x94, 0x52, 0x2f, 0xfe, 0x3a, 0x5c, 0x11, 0x95, 0xb1, 0x22, 0x83, 0x76, - 0x61, 0x4a, 0x3e, 0x18, 0x24, 0x54, 0xac, 0xcb, 0xa7, 0xba, 0xbd, 0x42, 0x4c, 0xe2, 0xa7, 0xee, - 0x1f, 0x94, 0xa7, 0x70, 0x82, 0x0c, 0x4e, 0x11, 0xa6, 0xcf, 0xc1, 0x16, 0x3d, 0x81, 0x07, 0xd8, - 0xf0, 0xb3, 0xe7, 0x20, 0x7b, 0xd9, 0xb2, 0x52, 0xfb, 0xc7, 0x2c, 0x78, 0x24, 0x35, 0x32, 0xe2, - 0x85, 0x7f, 0xcc, 0xb3, 0x90, 0x7c, 0x71, 0x17, 0x7a, 0xbf, 0xb8, 0xed, 0xbf, 0x6b, 0xc1, 0xa9, - 0xe5, 0x56, 0x3b, 0xda, 0xaf, 0xb8, 0xa6, 0x0a, 0xea, 0x43, 0x30, 0xd4, 0x22, 0x0d, 0xb7, 0xd3, - 0x12, 0x33, 0x57, 0x96, 0xa7, 0xd4, 0x1a, 0x2b, 0x3d, 0x3c, 0x28, 0x8f, 0xd7, 0x22, 0x3f, 0x70, - 0xb6, 0x09, 0x2f, 0xc0, 0x02, 0x9d, 0x9d, 0xf5, 0xee, 0x5b, 0xe4, 0x86, 0xdb, 0x72, 0xa5, 0x1d, - 0x53, 0x57, 0x99, 0xdd, 0xbc, 0x1c, 0xd0, 0xf9, 0xd7, 0x3b, 0x8e, 0x17, 0xb9, 0xd1, 0xbe, 0xd0, - 0x1e, 0x49, 0x22, 0x38, 0xa6, 0x67, 0x7f, 0xcd, 0x82, 0x49, 0xb9, 0xee, 0x17, 0x1a, 0x8d, 0x80, - 0x84, 0x21, 0x9a, 0x83, 0x82, 0xdb, 0x16, 0xbd, 0x04, 0xd1, 0xcb, 0xc2, 0x6a, 0x15, 0x17, 0xdc, - 0xb6, 0x64, 0xcb, 0xd8, 0x41, 0x58, 0x34, 0x15, 0x69, 0xd7, 0x44, 0x39, 0x56, 0x18, 0xe8, 0x12, - 0x8c, 0x78, 0x7e, 0x83, 0xdb, 0x92, 0xf1, 0x2b, 0x8d, 0x2d, 0xb0, 0x75, 0x51, 0x86, 0x15, 0x14, - 0x55, 0xa1, 0xc4, 0xcd, 0xac, 0xe2, 0x45, 0xdb, 0x97, 0xb1, 0x16, 0xfb, 0xb2, 0x0d, 0x59, 0x13, - 0xc7, 0x44, 0xec, 0x5f, 0xb6, 0x60, 0x4c, 0x7e, 0x59, 0x9f, 0x3c, 0x27, 0xdd, 0x5a, 0x31, 0xbf, - 0x19, 0x6f, 0x2d, 0xca, 0x33, 0x32, 0x88, 0xc1, 0x2a, 0x16, 0x8f, 0xc4, 0x2a, 0x5e, 0x81, 0x51, - 0xa7, 0xdd, 0xae, 0x9a, 0x7c, 0x26, 0x5b, 0x4a, 0x0b, 0x71, 0x31, 0xd6, 0x71, 0xec, 0x1f, 0x2d, - 0xc0, 0x84, 0xfc, 0x82, 0x5a, 0x67, 0x33, 0x24, 0x11, 0xda, 0x80, 0x92, 0xc3, 0x67, 0x89, 0xc8, - 0x45, 0xfe, 0x44, 0xb6, 0x1c, 0xc1, 0x98, 0xd2, 0xf8, 0xc2, 0x5f, 0x90, 0xb5, 0x71, 0x4c, 0x08, - 0x35, 0x61, 0xda, 0xf3, 0x23, 0x76, 0xf8, 0x2b, 0x78, 0x37, 0xd5, 0x4e, 0x92, 0xfa, 0x59, 0x41, - 0x7d, 0x7a, 0x3d, 0x49, 0x05, 0xa7, 0x09, 0xa3, 0x65, 0x29, 0x9b, 0x29, 0xe6, 0x0b, 0x03, 0xf4, - 0x89, 0xcb, 0x16, 0xcd, 0xd8, 0xbf, 0x64, 0x41, 0x49, 0xa2, 0x9d, 0x84, 0x16, 0x6f, 0x0d, 0x86, - 0x43, 0x36, 0x09, 0x72, 0x68, 0xec, 0x6e, 0x1d, 0xe7, 0xf3, 0x15, 0xdf, 0x69, 0xfc, 0x7f, 0x88, - 0x25, 0x0d, 0x26, 0x9a, 0x57, 0xdd, 0x7f, 0x87, 0x88, 0xe6, 0x55, 0x7f, 0x72, 0x2e, 0xa5, 0x3f, - 0x60, 0x7d, 0xd6, 0x64, 0x5d, 0x94, 0xf5, 0x6a, 0x07, 0x64, 0xcb, 0xbd, 0x97, 0x64, 0xbd, 0xaa, - 0xac, 0x14, 0x0b, 0x28, 0x7a, 0x03, 0xc6, 0xea, 0x52, 0x26, 0x1b, 0xef, 0xf0, 0x8b, 0x5d, 0xf5, - 0x03, 0x4a, 0x95, 0xc4, 0x65, 0x21, 0x4b, 0x5a, 0x7d, 0x6c, 0x50, 0x33, 0xcd, 0x08, 0x8a, 0xbd, - 0xcc, 0x08, 0x62, 0xba, 0xf9, 0x4a, 0xf5, 0x1f, 0xb7, 0x60, 0x88, 0xcb, 0xe2, 0xfa, 0x13, 0x85, - 0x6a, 0x9a, 0xb5, 0x78, 0xec, 0x6e, 0xd3, 0x42, 0xa1, 0x29, 0x43, 0x6b, 0x50, 0x62, 0x3f, 0x98, - 0x2c, 0xb1, 0x98, 0x6f, 0xe5, 0xcf, 0x5b, 0xd5, 0x3b, 0x78, 0x5b, 0x56, 0xc3, 0x31, 0x05, 0xfb, - 0x47, 0x8a, 0xf4, 0x74, 0x8b, 0x51, 0x8d, 0x4b, 0xdf, 0x7a, 0x78, 0x97, 0x7e, 0xe1, 0x61, 0x5d, - 0xfa, 0xdb, 0x30, 0x59, 0xd7, 0xf4, 0x70, 0xf1, 0x4c, 0x5e, 0xea, 0xba, 0x48, 0x34, 0x95, 0x1d, - 0x97, 0xb2, 0x2c, 0x99, 0x44, 0x70, 0x92, 0x2a, 0xfa, 0x0e, 0x18, 0xe3, 0xf3, 0x2c, 0x5a, 0xe1, - 0x96, 0x18, 0xef, 0xcb, 0x5f, 0x2f, 0x7a, 0x13, 0x5c, 0x2a, 0xa7, 0x55, 0xc7, 0x06, 0x31, 0xfb, - 0x8f, 0x2d, 0x40, 0xcb, 0xed, 0x1d, 0xd2, 0x22, 0x81, 0xd3, 0x8c, 0xc5, 0xe9, 0x3f, 0x68, 0xc1, - 0x2c, 0x49, 0x15, 0x2f, 0xf9, 0xad, 0x96, 0x78, 0xb4, 0xe4, 0xbc, 0xab, 0x97, 0x73, 0xea, 0x28, - 0x37, 0x88, 0xd9, 0x3c, 0x0c, 0x9c, 0xdb, 0x1e, 0x5a, 0x83, 0x19, 0x7e, 0x4b, 0x2a, 0x80, 0x66, - 0xeb, 0xfd, 0xa8, 0x20, 0x3c, 0xb3, 0x91, 0x46, 0xc1, 0x59, 0xf5, 0xec, 0xef, 0x19, 0x83, 0xdc, - 0x5e, 0xbc, 0xab, 0x47, 0x78, 0x57, 0x8f, 0xf0, 0xae, 0x1e, 0xe1, 0x5d, 0x3d, 0xc2, 0xbb, 0x7a, - 0x84, 0x6f, 0x79, 0x3d, 0xc2, 0x5f, 0xb1, 0xe0, 0xb4, 0xba, 0x06, 0x8c, 0x87, 0xef, 0x67, 0x61, - 0x86, 0x6f, 0xb7, 0xa5, 0xa6, 0xe3, 0xb6, 0x36, 0x48, 0xab, 0xdd, 0x74, 0x22, 0xa9, 0x75, 0xbf, - 0x92, 0xb9, 0x72, 0x13, 0x16, 0xab, 0x46, 0x45, 0x6e, 0xfa, 0x9f, 0x01, 0xc0, 0x59, 0xcd, 0xd8, - 0x3f, 0x3f, 0x02, 0x83, 0xcb, 0x7b, 0xc4, 0x8b, 0x4e, 0xe0, 0x89, 0x50, 0x87, 0x09, 0xd7, 0xdb, - 0xf3, 0x9b, 0x7b, 0xa4, 0xc1, 0xe1, 0x47, 0x79, 0xc9, 0x9e, 0x11, 0xa4, 0x27, 0x56, 0x0d, 0x12, - 0x38, 0x41, 0xf2, 0x61, 0x48, 0x93, 0xaf, 0xc2, 0x10, 0x3f, 0xc4, 0x85, 0x28, 0x39, 0xf3, 0xcc, - 0x66, 0x83, 0x28, 0xae, 0xa6, 0x58, 0xd2, 0xcd, 0x2f, 0x09, 0x51, 0x1d, 0x7d, 0x06, 0x26, 0xb6, - 0xdc, 0x20, 0x8c, 0x36, 0xdc, 0x16, 0x09, 0x23, 0xa7, 0xd5, 0x7e, 0x00, 0xe9, 0xb1, 0x1a, 0x87, - 0x15, 0x83, 0x12, 0x4e, 0x50, 0x46, 0xdb, 0x30, 0xde, 0x74, 0xf4, 0xa6, 0x86, 0x8f, 0xdc, 0x94, - 0xba, 0x1d, 0x6e, 0xe8, 0x84, 0xb0, 0x49, 0x97, 0x6e, 0xa7, 0x3a, 0x13, 0x80, 0x8e, 0x30, 0xb1, - 0x80, 0xda, 0x4e, 0x5c, 0xf2, 0xc9, 0x61, 0x94, 0xd1, 0x61, 0x06, 0xb2, 0x25, 0x93, 0xd1, 0xd1, - 0xcc, 0x60, 0x3f, 0x0d, 0x25, 0x42, 0x87, 0x90, 0x12, 0x16, 0x17, 0xcc, 0xe5, 0xfe, 0xfa, 0xba, - 0xe6, 0xd6, 0x03, 0xdf, 0x94, 0xdb, 0x2f, 0x4b, 0x4a, 0x38, 0x26, 0x8a, 0x96, 0x60, 0x28, 0x24, - 0x81, 0x4b, 0x42, 0x71, 0xd5, 0x74, 0x99, 0x46, 0x86, 0xc6, 0x7d, 0x4b, 0xf8, 0x6f, 0x2c, 0xaa, - 0xd2, 0xe5, 0xe5, 0x30, 0x91, 0x26, 0xbb, 0x0c, 0xb4, 0xe5, 0xb5, 0xc0, 0x4a, 0xb1, 0x80, 0xa2, - 0xd7, 0x60, 0x38, 0x20, 0x4d, 0xa6, 0x18, 0x1a, 0xef, 0x7f, 0x91, 0x73, 0x3d, 0x13, 0xaf, 0x87, - 0x25, 0x01, 0x74, 0x1d, 0x50, 0x40, 0x28, 0xa3, 0xe4, 0x7a, 0xdb, 0xca, 0x6c, 0x54, 0x1c, 0xb4, - 0x8a, 0x21, 0xc5, 0x31, 0x86, 0x74, 0x2b, 0xc2, 0x19, 0xd5, 0xd0, 0x55, 0x98, 0x56, 0xa5, 0xab, - 0x5e, 0x18, 0x39, 0xf4, 0x80, 0x9b, 0x64, 0xb4, 0x94, 0x9c, 0x02, 0x27, 0x11, 0x70, 0xba, 0x8e, - 0xfd, 0x25, 0x0b, 0xf8, 0x38, 0x9f, 0xc0, 0xeb, 0xfc, 0x55, 0xf3, 0x75, 0x7e, 0x36, 0x77, 0xe6, - 0x72, 0x5e, 0xe6, 0x5f, 0xb2, 0x60, 0x54, 0x9b, 0xd9, 0x78, 0xcd, 0x5a, 0x5d, 0xd6, 0x6c, 0x07, - 0xa6, 0xe8, 0x4a, 0xbf, 0xb9, 0x19, 0x92, 0x60, 0x8f, 0x34, 0xd8, 0xc2, 0x2c, 0x3c, 0xd8, 0xc2, - 0x54, 0x26, 0x6a, 0x37, 0x12, 0x04, 0x71, 0xaa, 0x09, 0xfb, 0xd3, 0xb2, 0xab, 0xca, 0xa2, 0xaf, - 0xae, 0xe6, 0x3c, 0x61, 0xd1, 0xa7, 0x66, 0x15, 0xc7, 0x38, 0x74, 0xab, 0xed, 0xf8, 0x61, 0x94, - 0xb4, 0xe8, 0xbb, 0xe6, 0x87, 0x11, 0x66, 0x10, 0xfb, 0x79, 0x80, 0xe5, 0x7b, 0xa4, 0xce, 0x57, - 0xac, 0xfe, 0x78, 0xb0, 0xf2, 0x1f, 0x0f, 0xf6, 0x6f, 0x5a, 0x30, 0xb1, 0xb2, 0x64, 0xdc, 0x5c, - 0xf3, 0x00, 0xfc, 0xc5, 0x73, 0xe7, 0xce, 0xba, 0x54, 0x87, 0x73, 0x8d, 0xa6, 0x2a, 0xc5, 0x1a, - 0x06, 0x3a, 0x0b, 0xc5, 0x66, 0xc7, 0x13, 0xe2, 0xc3, 0x61, 0x7a, 0x3d, 0xde, 0xe8, 0x78, 0x98, - 0x96, 0x69, 0x2e, 0x05, 0xc5, 0xbe, 0x5d, 0x0a, 0x7a, 0x86, 0x12, 0x40, 0x65, 0x18, 0xbc, 0x7b, - 0xd7, 0x6d, 0x70, 0x87, 0x4d, 0xa1, 0xaa, 0xbf, 0x73, 0x67, 0xb5, 0x12, 0x62, 0x5e, 0x6e, 0x7f, - 0xa1, 0x08, 0x73, 0x2b, 0x4d, 0x72, 0xef, 0x6d, 0x3a, 0xad, 0xf6, 0xeb, 0x10, 0x71, 0x34, 0x41, - 0xcc, 0x51, 0x9d, 0x5e, 0x7a, 0x8f, 0xc7, 0x16, 0x0c, 0x73, 0x83, 0x36, 0xe9, 0xc2, 0xfa, 0x4a, - 0x56, 0xeb, 0xf9, 0x03, 0x32, 0xcf, 0x0d, 0xe3, 0x84, 0x47, 0x9c, 0xba, 0x30, 0x45, 0x29, 0x96, - 0xc4, 0xe7, 0x5e, 0x86, 0x31, 0x1d, 0xf3, 0x48, 0xee, 0x67, 0x7f, 0xa1, 0x08, 0x53, 0xb4, 0x07, - 0x0f, 0x75, 0x22, 0x6e, 0xa5, 0x27, 0xe2, 0xb8, 0x5d, 0x90, 0x7a, 0xcf, 0xc6, 0x1b, 0xc9, 0xd9, - 0xb8, 0x92, 0x37, 0x1b, 0x27, 0x3d, 0x07, 0xdf, 0x6d, 0xc1, 0xcc, 0x4a, 0xd3, 0xaf, 0xef, 0x26, - 0xdc, 0x84, 0x5e, 0x84, 0x51, 0x7a, 0x1c, 0x87, 0x86, 0xc7, 0xbc, 0x11, 0x43, 0x41, 0x80, 0xb0, - 0x8e, 0xa7, 0x55, 0xbb, 0x75, 0x6b, 0xb5, 0x92, 0x15, 0x7a, 0x41, 0x80, 0xb0, 0x8e, 0x67, 0xff, - 0x9a, 0x05, 0xe7, 0xae, 0x2e, 0x2d, 0xc7, 0x4b, 0x31, 0x15, 0xfd, 0xe1, 0x22, 0x0c, 0xb5, 0x1b, - 0x5a, 0x57, 0x62, 0xf1, 0x6a, 0x85, 0xf5, 0x42, 0x40, 0xdf, 0x29, 0x91, 0x4d, 0x6e, 0x01, 0x5c, - 0xc5, 0xd5, 0x25, 0x71, 0xee, 0x4a, 0x6d, 0x8a, 0x95, 0xab, 0x4d, 0x79, 0x1f, 0x0c, 0xd3, 0x7b, - 0xc1, 0xad, 0xcb, 0x7e, 0x73, 0x05, 0x2d, 0x2f, 0xc2, 0x12, 0x66, 0xff, 0xb4, 0x05, 0x33, 0x57, - 0xdd, 0x88, 0x5e, 0xda, 0xc9, 0xf0, 0x06, 0xf4, 0xd6, 0x0e, 0xdd, 0xc8, 0x0f, 0xf6, 0x93, 0xe1, - 0x0d, 0xb0, 0x82, 0x60, 0x0d, 0x8b, 0x7f, 0xd0, 0x9e, 0xcb, 0x2c, 0xb4, 0x0b, 0xa6, 0xfe, 0x0a, - 0x8b, 0x72, 0xac, 0x30, 0xe8, 0x78, 0x35, 0xdc, 0x80, 0x89, 0xfe, 0xf6, 0xc5, 0xc1, 0xad, 0xc6, - 0xab, 0x22, 0x01, 0x38, 0xc6, 0xb1, 0xff, 0xd0, 0x82, 0xf2, 0xd5, 0x66, 0x27, 0x8c, 0x48, 0xb0, - 0x15, 0xe6, 0x1c, 0xba, 0xcf, 0x43, 0x89, 0x48, 0x41, 0xbb, 0xe8, 0xb5, 0x62, 0x44, 0x95, 0x04, - 0x9e, 0x47, 0x59, 0x50, 0x78, 0x7d, 0xf8, 0x32, 0x1e, 0xcd, 0x19, 0x6d, 0x05, 0x10, 0xd1, 0xdb, - 0xd2, 0xc3, 0x4e, 0x30, 0xff, 0xf5, 0xe5, 0x14, 0x14, 0x67, 0xd4, 0xb0, 0x7f, 0xcc, 0x82, 0xd3, - 0xea, 0x83, 0xdf, 0x71, 0x9f, 0x69, 0x7f, 0xa5, 0x00, 0xe3, 0xd7, 0x36, 0x36, 0xaa, 0x57, 0x49, - 0xa4, 0xad, 0xca, 0xee, 0xea, 0x73, 0xac, 0x69, 0x01, 0xbb, 0xbd, 0x11, 0x3b, 0x91, 0xdb, 0x9c, - 0xe7, 0xd1, 0x8b, 0xe6, 0x57, 0xbd, 0xe8, 0x66, 0x50, 0x8b, 0x02, 0xd7, 0xdb, 0xce, 0x5c, 0xe9, - 0x92, 0x67, 0x29, 0xe6, 0xf1, 0x2c, 0xe8, 0x79, 0x18, 0x62, 0xe1, 0x93, 0xe4, 0x24, 0x3c, 0xaa, - 0x9e, 0x58, 0xac, 0xf4, 0xf0, 0xa0, 0x5c, 0xba, 0x85, 0x57, 0xf9, 0x1f, 0x2c, 0x50, 0xd1, 0x2d, - 0x18, 0xdd, 0x89, 0xa2, 0xf6, 0x35, 0xe2, 0x34, 0x48, 0x20, 0x4f, 0xd9, 0xf3, 0x59, 0xa7, 0x2c, - 0x1d, 0x04, 0x8e, 0x16, 0x1f, 0x4c, 0x71, 0x59, 0x88, 0x75, 0x3a, 0x76, 0x0d, 0x20, 0x86, 0x1d, - 0x93, 0x02, 0xc4, 0xde, 0x80, 0x12, 0xfd, 0xdc, 0x85, 0xa6, 0xeb, 0x74, 0x57, 0x31, 0x3f, 0x0d, - 0x25, 0xa9, 0x40, 0x0e, 0x85, 0xaf, 0x35, 0xbb, 0x91, 0xa4, 0x7e, 0x39, 0xc4, 0x31, 0xdc, 0xde, - 0x82, 0x53, 0xcc, 0x1c, 0xd0, 0x89, 0x76, 0x8c, 0xd5, 0xd7, 0x7b, 0x9a, 0x9f, 0x11, 0x2f, 0x36, - 0xde, 0xe7, 0x59, 0xcd, 0x9d, 0x71, 0x4c, 0x52, 0x8c, 0x5f, 0x6f, 0xf6, 0xd7, 0x07, 0xe0, 0xd1, - 0xd5, 0x5a, 0x7e, 0xf8, 0x8f, 0x97, 0x60, 0x8c, 0x33, 0x82, 0x74, 0xd2, 0x9d, 0xa6, 0x68, 0x57, - 0xc9, 0x36, 0x37, 0x34, 0x18, 0x36, 0x30, 0xd1, 0x39, 0x28, 0xba, 0x6f, 0x7a, 0x49, 0x67, 0x9f, - 0xd5, 0xd7, 0xd7, 0x31, 0x2d, 0xa7, 0x60, 0xca, 0x53, 0xf2, 0xc3, 0x5a, 0x81, 0x15, 0x5f, 0xf9, - 0x2a, 0x4c, 0xb8, 0x61, 0x3d, 0x74, 0x57, 0x3d, 0xba, 0x03, 0xb5, 0x3d, 0xac, 0xa4, 0x09, 0xb4, - 0xd3, 0x0a, 0x8a, 0x13, 0xd8, 0xda, 0xcd, 0x31, 0xd8, 0x37, 0x5f, 0xda, 0xd3, 0xf9, 0x98, 0x1e, - 0xec, 0x6d, 0xf6, 0x75, 0x21, 0x13, 0x52, 0x8b, 0x83, 0x9d, 0x7f, 0x70, 0x88, 0x25, 0x8c, 0x3e, - 0xd5, 0xea, 0x3b, 0x4e, 0x7b, 0xa1, 0x13, 0xed, 0x54, 0xdc, 0xb0, 0xee, 0xef, 0x91, 0x60, 0x9f, - 0xbd, 0xb2, 0x47, 0xe2, 0xa7, 0x9a, 0x02, 0x2c, 0x5d, 0x5b, 0xa8, 0x52, 0x4c, 0x9c, 0xae, 0x83, - 0x16, 0x60, 0x52, 0x16, 0xd6, 0x48, 0xc8, 0x0e, 0xf7, 0x51, 0x46, 0x46, 0xb9, 0xdf, 0x88, 0x62, - 0x45, 0x24, 0x89, 0x6f, 0xb2, 0xae, 0x70, 0x1c, 0xac, 0xeb, 0x87, 0x60, 0xdc, 0xf5, 0xdc, 0xc8, - 0x75, 0x22, 0x9f, 0x6b, 0x58, 0xf8, 0x83, 0x9a, 0x89, 0x8e, 0x57, 0x75, 0x00, 0x36, 0xf1, 0xec, - 0xff, 0x32, 0x00, 0xd3, 0x6c, 0xda, 0xde, 0x5d, 0x61, 0xdf, 0x4a, 0x2b, 0xec, 0x56, 0x7a, 0x85, - 0x1d, 0x07, 0x4f, 0xfe, 0xc0, 0xcb, 0xec, 0x33, 0x50, 0x52, 0x1e, 0x47, 0xd2, 0xe5, 0xd0, 0xca, - 0x71, 0x39, 0xec, 0x7d, 0x2f, 0x4b, 0xa3, 0xad, 0x62, 0xa6, 0xd1, 0xd6, 0x97, 0x2d, 0x88, 0x55, - 0x06, 0xe8, 0x75, 0x28, 0xb5, 0x7d, 0x66, 0x8b, 0x18, 0x48, 0x03, 0xdf, 0xf7, 0x76, 0xd5, 0x39, - 0xf0, 0x08, 0x48, 0x01, 0x1f, 0x85, 0xaa, 0xac, 0x8a, 0x63, 0x2a, 0xe8, 0x3a, 0x0c, 0xb7, 0x03, - 0x52, 0x8b, 0x58, 0x78, 0x8e, 0xfe, 0x09, 0xf2, 0x55, 0xc3, 0x2b, 0x62, 0x49, 0xc1, 0xfe, 0xaf, - 0x16, 0x4c, 0x25, 0x51, 0xd1, 0x87, 0x61, 0x80, 0xdc, 0x23, 0x75, 0xd1, 0xdf, 0xcc, 0x4b, 0x36, - 0x16, 0x3a, 0xf0, 0x01, 0xa0, 0xff, 0x31, 0xab, 0x85, 0xae, 0xc1, 0x30, 0xbd, 0x61, 0xaf, 0xaa, - 0x50, 0x54, 0x8f, 0xe7, 0xdd, 0xd2, 0x8a, 0x55, 0xe1, 0x9d, 0x13, 0x45, 0x58, 0x56, 0x67, 0x96, - 0x52, 0xf5, 0x76, 0x8d, 0x3e, 0x5e, 0xa2, 0x6e, 0x6f, 0xec, 0x8d, 0xa5, 0x2a, 0x47, 0x12, 0xd4, - 0xb8, 0xa5, 0x94, 0x2c, 0xc4, 0x31, 0x11, 0xfb, 0x67, 0x2d, 0x00, 0x6e, 0x18, 0xe6, 0x78, 0xdb, - 0xe4, 0x04, 0xe4, 0xe4, 0x15, 0x18, 0x08, 0xdb, 0xa4, 0xde, 0xcd, 0x4c, 0x36, 0xee, 0x4f, 0xad, - 0x4d, 0xea, 0xf1, 0x8a, 0xa3, 0xff, 0x30, 0xab, 0x6d, 0x7f, 0x2f, 0xc0, 0x44, 0x8c, 0xb6, 0x1a, - 0x91, 0x16, 0x7a, 0xd6, 0x08, 0x53, 0x70, 0x36, 0x11, 0xa6, 0xa0, 0xc4, 0xb0, 0x35, 0x91, 0xec, - 0x67, 0xa0, 0xd8, 0x72, 0xee, 0x09, 0x99, 0xdb, 0xd3, 0xdd, 0xbb, 0x41, 0xe9, 0xcf, 0xaf, 0x39, - 0xf7, 0xf8, 0xb3, 0xf4, 0x69, 0xb9, 0x43, 0xd6, 0x9c, 0x7b, 0x87, 0xdc, 0x18, 0x96, 0x9d, 0xd2, - 0x37, 0xdc, 0x30, 0xfa, 0xdc, 0x7f, 0x8e, 0xff, 0xb3, 0x7d, 0x47, 0x1b, 0x61, 0x6d, 0xb9, 0x9e, - 0xb0, 0x79, 0xea, 0xab, 0x2d, 0xd7, 0x4b, 0xb6, 0xe5, 0x7a, 0x7d, 0xb4, 0xe5, 0x7a, 0xe8, 0x2d, - 0x18, 0x16, 0x26, 0x89, 0x22, 0x2c, 0xd0, 0xe5, 0x3e, 0xda, 0x13, 0x16, 0x8d, 0xbc, 0xcd, 0xcb, - 0xf2, 0xd9, 0x2d, 0x4a, 0x7b, 0xb6, 0x2b, 0x1b, 0x44, 0x7f, 0xd5, 0x82, 0x09, 0xf1, 0x1b, 0x93, - 0x37, 0x3b, 0x24, 0x8c, 0x04, 0x5b, 0xfa, 0xc1, 0xfe, 0xfb, 0x20, 0x2a, 0xf2, 0xae, 0x7c, 0x50, - 0xde, 0x33, 0x26, 0xb0, 0x67, 0x8f, 0x12, 0xbd, 0x40, 0x7f, 0xdf, 0x82, 0x53, 0x2d, 0xe7, 0x1e, - 0x6f, 0x91, 0x97, 0x61, 0x27, 0x72, 0x7d, 0xa1, 0xda, 0xff, 0x70, 0x7f, 0xd3, 0x9f, 0xaa, 0xce, - 0x3b, 0x29, 0xf5, 0x8f, 0xa7, 0xb2, 0x50, 0x7a, 0x76, 0x35, 0xb3, 0x5f, 0x73, 0x5b, 0x30, 0x22, - 0xd7, 0x5b, 0x86, 0x70, 0xa3, 0xa2, 0xf3, 0xdc, 0x47, 0xb6, 0x08, 0xd5, 0xdd, 0xff, 0x69, 0x3b, - 0x62, 0xad, 0x3d, 0xd4, 0x76, 0x3e, 0x03, 0x63, 0xfa, 0x1a, 0x7b, 0xa8, 0x6d, 0xbd, 0x09, 0x33, - 0x19, 0x6b, 0xe9, 0xa1, 0x36, 0x79, 0x17, 0xce, 0xe6, 0xae, 0x8f, 0x87, 0xd9, 0xb0, 0xfd, 0x15, - 0x4b, 0x3f, 0x07, 0x4f, 0x40, 0x59, 0xb1, 0x64, 0x2a, 0x2b, 0xce, 0x77, 0xdf, 0x39, 0x39, 0x1a, - 0x8b, 0x37, 0xf4, 0x4e, 0xd3, 0x53, 0x1d, 0xbd, 0x06, 0x43, 0x4d, 0x5a, 0x22, 0x0d, 0x5b, 0xed, - 0xde, 0x3b, 0x32, 0x66, 0x26, 0x59, 0x79, 0x88, 0x05, 0x05, 0xfb, 0x17, 0x2c, 0x18, 0x38, 0x81, - 0x91, 0xc0, 0xe6, 0x48, 0x3c, 0x9b, 0x4b, 0x5a, 0x44, 0x48, 0x9e, 0xc7, 0xce, 0xdd, 0xe5, 0x7b, - 0x11, 0xf1, 0x42, 0x76, 0x23, 0x67, 0x0e, 0xcc, 0x4f, 0x5a, 0x30, 0x73, 0xc3, 0x77, 0x1a, 0x8b, - 0x4e, 0xd3, 0xf1, 0xea, 0x24, 0x58, 0xf5, 0xb6, 0x8f, 0x64, 0x95, 0x5d, 0xe8, 0x69, 0x95, 0xbd, - 0x24, 0x8d, 0x9a, 0x06, 0xf2, 0xe7, 0x8f, 0x72, 0xd2, 0xc9, 0xc0, 0x2d, 0x86, 0xf9, 0xed, 0x0e, - 0x20, 0xbd, 0x97, 0xc2, 0x47, 0x06, 0xc3, 0xb0, 0xcb, 0xfb, 0x2b, 0x26, 0xf1, 0xc9, 0x6c, 0x0e, - 0x37, 0xf5, 0x79, 0x9a, 0xf7, 0x07, 0x2f, 0xc0, 0x92, 0x90, 0xfd, 0x12, 0x64, 0x3a, 0xda, 0xf7, - 0x96, 0x4b, 0xd8, 0x1f, 0x87, 0x69, 0x56, 0xf3, 0x88, 0x92, 0x01, 0x3b, 0x21, 0x4d, 0xcd, 0x08, - 0xc1, 0x67, 0x7f, 0xde, 0x82, 0xc9, 0xf5, 0x44, 0x64, 0xb2, 0x8b, 0x4c, 0xff, 0x9a, 0x21, 0xc4, - 0xaf, 0xb1, 0x52, 0x2c, 0xa0, 0xc7, 0x2e, 0xe4, 0xfa, 0x33, 0x0b, 0xe2, 0xd8, 0x17, 0x27, 0xc0, - 0xbe, 0x2d, 0x19, 0xec, 0x5b, 0x26, 0x23, 0xab, 0xba, 0x93, 0xc7, 0xbd, 0xa1, 0xeb, 0x2a, 0x2a, - 0x54, 0x17, 0x1e, 0x36, 0x26, 0xc3, 0x97, 0xe2, 0x84, 0x19, 0x3a, 0x4a, 0xc6, 0x89, 0xb2, 0x7f, - 0xab, 0x00, 0x48, 0xe1, 0xf6, 0x1d, 0xb5, 0x2a, 0x5d, 0xe3, 0x78, 0xa2, 0x56, 0xed, 0x01, 0x62, - 0x16, 0x04, 0x81, 0xe3, 0x85, 0x9c, 0xac, 0x2b, 0xc4, 0x7a, 0x47, 0x33, 0x4f, 0x98, 0x13, 0x4d, - 0xa2, 0x1b, 0x29, 0x6a, 0x38, 0xa3, 0x05, 0xcd, 0x32, 0x64, 0xb0, 0x5f, 0xcb, 0x90, 0xa1, 0x1e, - 0x7e, 0x70, 0x3f, 0x63, 0xc1, 0xb8, 0x1a, 0xa6, 0x77, 0x88, 0x95, 0xba, 0xea, 0x4f, 0xce, 0x01, - 0x5a, 0xd5, 0xba, 0xcc, 0x2e, 0x96, 0x6f, 0x67, 0xfe, 0x8c, 0x4e, 0xd3, 0x7d, 0x8b, 0xa8, 0x98, - 0x81, 0x65, 0xe1, 0x9f, 0x28, 0x4a, 0x0f, 0x0f, 0xca, 0xe3, 0xea, 0x1f, 0x8f, 0x89, 0x1c, 0x57, - 0xa1, 0x47, 0xf2, 0x64, 0x62, 0x29, 0xa2, 0x17, 0x61, 0xb0, 0xbd, 0xe3, 0x84, 0x24, 0xe1, 0xcd, - 0x33, 0x58, 0xa5, 0x85, 0x87, 0x07, 0xe5, 0x09, 0x55, 0x81, 0x95, 0x60, 0x8e, 0xdd, 0x7f, 0x2c, - 0xb0, 0xf4, 0xe2, 0xec, 0x19, 0x0b, 0xec, 0x8f, 0x2d, 0x18, 0x58, 0xf7, 0x1b, 0x27, 0x71, 0x04, - 0xbc, 0x6a, 0x1c, 0x01, 0x8f, 0xe5, 0x85, 0xab, 0xcf, 0xdd, 0xfd, 0x2b, 0x89, 0xdd, 0x7f, 0x3e, - 0x97, 0x42, 0xf7, 0x8d, 0xdf, 0x82, 0x51, 0x16, 0x04, 0x5f, 0x78, 0x2e, 0x3d, 0x6f, 0x6c, 0xf8, - 0x72, 0x62, 0xc3, 0x4f, 0x6a, 0xa8, 0xda, 0x4e, 0x7f, 0x0a, 0x86, 0x85, 0x2b, 0x4c, 0xd2, 0x2d, - 0x54, 0xe0, 0x62, 0x09, 0xb7, 0x7f, 0xbc, 0x08, 0x46, 0xd0, 0x7d, 0xf4, 0x4b, 0x16, 0xcc, 0x07, - 0xdc, 0x44, 0xb6, 0x51, 0xe9, 0x04, 0xae, 0xb7, 0x5d, 0xab, 0xef, 0x90, 0x46, 0xa7, 0xe9, 0x7a, - 0xdb, 0xab, 0xdb, 0x9e, 0xaf, 0x8a, 0x97, 0xef, 0x91, 0x7a, 0x87, 0xa9, 0xdd, 0x7a, 0x44, 0xf8, - 0x57, 0xa6, 0xe6, 0xcf, 0xdd, 0x3f, 0x28, 0xcf, 0xe3, 0x23, 0xd1, 0xc6, 0x47, 0xec, 0x0b, 0xfa, - 0x35, 0x0b, 0x2e, 0xf3, 0x58, 0xf4, 0xfd, 0xf7, 0xbf, 0xcb, 0x6b, 0xb9, 0x2a, 0x49, 0xc5, 0x44, - 0x36, 0x48, 0xd0, 0x5a, 0xfc, 0x90, 0x18, 0xd0, 0xcb, 0xd5, 0xa3, 0xb5, 0x85, 0x8f, 0xda, 0x39, - 0xfb, 0x9f, 0x17, 0x61, 0x5c, 0xc4, 0x8c, 0x12, 0x77, 0xc0, 0x8b, 0xc6, 0x92, 0x78, 0x3c, 0xb1, - 0x24, 0xa6, 0x0d, 0xe4, 0xe3, 0x39, 0xfe, 0x43, 0x98, 0xa6, 0x87, 0xf3, 0x35, 0xe2, 0x04, 0xd1, - 0x26, 0x71, 0xb8, 0xc1, 0x57, 0xf1, 0xc8, 0xa7, 0xbf, 0x92, 0x4f, 0xde, 0x48, 0x12, 0xc3, 0x69, - 0xfa, 0xdf, 0x4a, 0x77, 0x8e, 0x07, 0x53, 0xa9, 0xb0, 0x5f, 0x9f, 0x80, 0x92, 0xf2, 0xe3, 0x10, - 0x87, 0x4e, 0xf7, 0xe8, 0x79, 0x49, 0x0a, 0x5c, 0xfc, 0x15, 0xfb, 0x10, 0xc5, 0xe4, 0xec, 0x7f, - 0x58, 0x30, 0x1a, 0xe4, 0x93, 0xb8, 0x0e, 0x23, 0x4e, 0x18, 0xba, 0xdb, 0x1e, 0x69, 0x74, 0x93, - 0x50, 0xa6, 0x9a, 0x61, 0xbe, 0x34, 0x0b, 0xa2, 0x26, 0x56, 0x34, 0xd0, 0x35, 0x6e, 0x56, 0xb7, - 0x47, 0xba, 0x89, 0x27, 0x53, 0xd4, 0x40, 0x1a, 0xde, 0xed, 0x11, 0x2c, 0xea, 0xa3, 0x4f, 0x72, - 0xbb, 0xc7, 0xeb, 0x9e, 0x7f, 0xd7, 0xbb, 0xea, 0xfb, 0x32, 0x2e, 0x43, 0x7f, 0x04, 0xa7, 0xa5, - 0xb5, 0xa3, 0xaa, 0x8e, 0x4d, 0x6a, 0xfd, 0xc5, 0xd1, 0xfc, 0x2c, 0xb0, 0xd8, 0xdb, 0xa6, 0xdb, - 0x74, 0x88, 0x08, 0x4c, 0x8a, 0x80, 0x64, 0xb2, 0x4c, 0x8c, 0x5d, 0xe6, 0x53, 0xce, 0xac, 0x1d, - 0x0b, 0xd2, 0xaf, 0x9b, 0x24, 0x70, 0x92, 0xa6, 0xfd, 0x53, 0x16, 0x30, 0x17, 0xd2, 0x13, 0xe0, - 0x47, 0x3e, 0x62, 0xf2, 0x23, 0xb3, 0x79, 0x83, 0x9c, 0xc3, 0x8a, 0xbc, 0xc0, 0x57, 0x56, 0x35, - 0xf0, 0xef, 0xed, 0x0b, 0x63, 0x95, 0xde, 0xef, 0x0f, 0xfb, 0xff, 0x58, 0xfc, 0x10, 0x53, 0x5e, - 0x16, 0xe8, 0x3b, 0x61, 0xa4, 0xee, 0xb4, 0x9d, 0x3a, 0xcf, 0x10, 0x93, 0x2b, 0xd1, 0x33, 0x2a, - 0xcd, 0x2f, 0x89, 0x1a, 0x5c, 0x42, 0x25, 0x03, 0xdb, 0x8d, 0xc8, 0xe2, 0x9e, 0x52, 0x29, 0xd5, - 0xe4, 0xdc, 0x2e, 0x8c, 0x1b, 0xc4, 0x1e, 0xaa, 0x38, 0xe3, 0x3b, 0xf9, 0x15, 0xab, 0x02, 0x31, - 0xb6, 0x60, 0xda, 0xd3, 0xfe, 0xd3, 0x0b, 0x45, 0x3e, 0x2e, 0xdf, 0xdb, 0xeb, 0x12, 0x65, 0xb7, - 0x8f, 0xe6, 0x9d, 0x9a, 0x20, 0x83, 0xd3, 0x94, 0xed, 0x9f, 0xb0, 0xe0, 0x11, 0x1d, 0x51, 0x73, - 0x80, 0xe9, 0xa5, 0x24, 0xa9, 0xc0, 0x88, 0xdf, 0x26, 0x81, 0x13, 0xf9, 0x81, 0xb8, 0x35, 0x2e, - 0xc9, 0x41, 0xbf, 0x29, 0xca, 0x0f, 0x45, 0xbc, 0x73, 0x49, 0x5d, 0x96, 0x63, 0x55, 0x93, 0xbe, - 0x3e, 0xd9, 0x60, 0x84, 0xc2, 0xd5, 0x89, 0x9d, 0x01, 0x4c, 0x93, 0x1e, 0x62, 0x01, 0xb1, 0xbf, - 0x6e, 0xf1, 0x85, 0xa5, 0x77, 0x1d, 0xbd, 0x09, 0x53, 0x2d, 0x27, 0xaa, 0xef, 0x2c, 0xdf, 0x6b, - 0x07, 0x5c, 0xe5, 0x24, 0xc7, 0xe9, 0xe9, 0x5e, 0xe3, 0xa4, 0x7d, 0x64, 0x6c, 0xca, 0xb9, 0x96, - 0x20, 0x86, 0x53, 0xe4, 0xd1, 0x26, 0x8c, 0xb2, 0x32, 0xe6, 0xc5, 0x17, 0x76, 0x63, 0x0d, 0xf2, - 0x5a, 0x53, 0xc6, 0x08, 0x6b, 0x31, 0x1d, 0xac, 0x13, 0xb5, 0xbf, 0x5c, 0xe4, 0xbb, 0x9d, 0xb1, - 0xf2, 0x4f, 0xc1, 0x70, 0xdb, 0x6f, 0x2c, 0xad, 0x56, 0xb0, 0x98, 0x05, 0x75, 0x8d, 0x54, 0x79, - 0x31, 0x96, 0x70, 0x74, 0x09, 0x46, 0xc4, 0x4f, 0xa9, 0x22, 0x64, 0x67, 0xb3, 0xc0, 0x0b, 0xb1, - 0x82, 0xa2, 0xe7, 0x00, 0xda, 0x81, 0xbf, 0xe7, 0x36, 0x58, 0x74, 0x89, 0xa2, 0x69, 0x47, 0x54, - 0x55, 0x10, 0xac, 0x61, 0xa1, 0x57, 0x60, 0xbc, 0xe3, 0x85, 0x9c, 0x1d, 0xd1, 0x62, 0xc9, 0x2a, - 0x0b, 0x97, 0x5b, 0x3a, 0x10, 0x9b, 0xb8, 0x68, 0x01, 0x86, 0x22, 0x87, 0xd9, 0xc5, 0x0c, 0xe6, - 0x9b, 0xfb, 0x6e, 0x50, 0x0c, 0x3d, 0x19, 0x09, 0xad, 0x80, 0x45, 0x45, 0xf4, 0x09, 0xe9, 0x50, - 0xcb, 0x0f, 0x76, 0x61, 0x67, 0xdf, 0xdf, 0x25, 0xa0, 0xb9, 0xd3, 0x0a, 0xfb, 0x7d, 0x83, 0x16, - 0x7a, 0x19, 0x80, 0xdc, 0x8b, 0x48, 0xe0, 0x39, 0x4d, 0x65, 0xcd, 0xa6, 0xf8, 0x82, 0x8a, 0xbf, - 0xee, 0x47, 0xb7, 0x42, 0xb2, 0xac, 0x30, 0xb0, 0x86, 0x6d, 0xff, 0x5a, 0x09, 0x20, 0xe6, 0xdb, - 0xd1, 0x5b, 0xa9, 0x83, 0xeb, 0x99, 0xee, 0x9c, 0xfe, 0xf1, 0x9d, 0x5a, 0xe8, 0xfb, 0x2c, 0x18, - 0x75, 0x9a, 0x4d, 0xbf, 0xee, 0xf0, 0x68, 0xbf, 0x85, 0xee, 0x07, 0xa7, 0x68, 0x7f, 0x21, 0xae, - 0xc1, 0xbb, 0xf0, 0xbc, 0x5c, 0xa1, 0x1a, 0xa4, 0x67, 0x2f, 0xf4, 0x86, 0xd1, 0x07, 0xe4, 0x53, - 0xb1, 0x68, 0x0c, 0xa5, 0x7a, 0x2a, 0x96, 0xd8, 0x1d, 0xa1, 0xbf, 0x12, 0x6f, 0x19, 0xaf, 0xc4, - 0x81, 0x7c, 0x8f, 0x41, 0x83, 0x7d, 0xed, 0xf5, 0x40, 0x44, 0x55, 0x3d, 0x7a, 0xc0, 0x60, 0xbe, - 0x7b, 0x9e, 0xf6, 0x4e, 0xea, 0x11, 0x39, 0xe0, 0x33, 0x30, 0xd9, 0x30, 0x99, 0x00, 0xb1, 0x12, - 0x9f, 0xcc, 0xa3, 0x9b, 0xe0, 0x19, 0xe2, 0x6b, 0x3f, 0x01, 0xc0, 0x49, 0xc2, 0xa8, 0xca, 0x83, - 0x49, 0xac, 0x7a, 0x5b, 0xbe, 0xf0, 0xf5, 0xb0, 0x73, 0xe7, 0x72, 0x3f, 0x8c, 0x48, 0x8b, 0x62, - 0xc6, 0xb7, 0xfb, 0xba, 0xa8, 0x8b, 0x15, 0x15, 0xf4, 0x1a, 0x0c, 0x31, 0xff, 0xac, 0x70, 0x76, - 0x24, 0x5f, 0xe2, 0x6c, 0x46, 0x47, 0x8b, 0x37, 0x24, 0xfb, 0x1b, 0x62, 0x41, 0x01, 0x5d, 0x93, - 0xde, 0x8f, 0xe1, 0xaa, 0x77, 0x2b, 0x24, 0xcc, 0xfb, 0xb1, 0xb4, 0xf8, 0xde, 0xd8, 0xb1, 0x91, - 0x97, 0x67, 0xa6, 0x2c, 0x33, 0x6a, 0x52, 0x2e, 0x4a, 0xfc, 0x97, 0x99, 0xd0, 0x66, 0x21, 0xbf, - 0x7b, 0x66, 0xb6, 0xb4, 0x78, 0x38, 0x6f, 0x9b, 0x24, 0x70, 0x92, 0x26, 0xe5, 0x48, 0xf9, 0xae, - 0x17, 0xde, 0x22, 0xbd, 0xce, 0x0e, 0xfe, 0x10, 0x67, 0xb7, 0x11, 0x2f, 0xc1, 0xa2, 0xfe, 0x89, - 0xb2, 0x07, 0x73, 0x1e, 0x4c, 0x25, 0xb7, 0xe8, 0x43, 0x65, 0x47, 0x7e, 0x7f, 0x00, 0x26, 0xcc, - 0x25, 0x85, 0x2e, 0x43, 0x49, 0x10, 0x51, 0xd9, 0x04, 0xd4, 0x2e, 0x59, 0x93, 0x00, 0x1c, 0xe3, - 0xb0, 0x24, 0x12, 0xac, 0xba, 0x66, 0x1e, 0x1c, 0x27, 0x91, 0x50, 0x10, 0xac, 0x61, 0xd1, 0x87, - 0xd5, 0xa6, 0xef, 0x47, 0xea, 0x42, 0x52, 0xeb, 0x6e, 0x91, 0x95, 0x62, 0x01, 0xa5, 0x17, 0xd1, - 0x2e, 0x09, 0x3c, 0xd2, 0x34, 0xe3, 0x0e, 0xab, 0x8b, 0xe8, 0xba, 0x0e, 0xc4, 0x26, 0x2e, 0xbd, - 0x4e, 0xfd, 0x90, 0x2d, 0x64, 0xf1, 0x7c, 0x8b, 0xcd, 0xad, 0x6b, 0xdc, 0x01, 0x5b, 0xc2, 0xd1, - 0xc7, 0xe1, 0x11, 0x15, 0x5b, 0x09, 0x73, 0x6d, 0x86, 0x6c, 0x71, 0xc8, 0x90, 0xb6, 0x3c, 0xb2, - 0x94, 0x8d, 0x86, 0xf3, 0xea, 0xa3, 0x57, 0x61, 0x42, 0xb0, 0xf8, 0x92, 0xe2, 0xb0, 0x69, 0x61, - 0x74, 0xdd, 0x80, 0xe2, 0x04, 0xb6, 0x8c, 0x9c, 0xcc, 0xb8, 0x6c, 0x49, 0x61, 0x24, 0x1d, 0x39, - 0x59, 0x87, 0xe3, 0x54, 0x0d, 0xb4, 0x00, 0x93, 0x9c, 0x07, 0x73, 0xbd, 0x6d, 0x3e, 0x27, 0xc2, - 0x99, 0x4b, 0x6d, 0xa9, 0x9b, 0x26, 0x18, 0x27, 0xf1, 0xd1, 0x4b, 0x30, 0xe6, 0x04, 0xf5, 0x1d, - 0x37, 0x22, 0xf5, 0xa8, 0x13, 0x70, 0x2f, 0x2f, 0xcd, 0x44, 0x6b, 0x41, 0x83, 0x61, 0x03, 0xd3, - 0x7e, 0x0b, 0x66, 0x32, 0x22, 0x33, 0xd0, 0x85, 0xe3, 0xb4, 0x5d, 0xf9, 0x4d, 0x09, 0x0b, 0xe7, - 0x85, 0xea, 0xaa, 0xfc, 0x1a, 0x0d, 0x8b, 0xae, 0x4e, 0x16, 0xc1, 0x41, 0x4b, 0x7c, 0xa8, 0x56, - 0xe7, 0x8a, 0x04, 0xe0, 0x18, 0xc7, 0xfe, 0x1f, 0x05, 0x98, 0xcc, 0xd0, 0xad, 0xb0, 0xe4, 0x7b, - 0x89, 0x47, 0x4a, 0x9c, 0x6b, 0xcf, 0x0c, 0xc4, 0x5d, 0x38, 0x42, 0x20, 0xee, 0x62, 0xaf, 0x40, - 0xdc, 0x03, 0x6f, 0x27, 0x10, 0xb7, 0x39, 0x62, 0x83, 0x7d, 0x8d, 0x58, 0x46, 0xf0, 0xee, 0xa1, - 0x23, 0x06, 0xef, 0x36, 0x06, 0x7d, 0xb8, 0x8f, 0x41, 0xff, 0x91, 0x02, 0x4c, 0x25, 0x4d, 0x49, - 0x4f, 0x40, 0x6e, 0xfb, 0x9a, 0x21, 0xb7, 0xbd, 0xd4, 0x8f, 0xf3, 0x6d, 0xae, 0x0c, 0x17, 0x27, - 0x64, 0xb8, 0xef, 0xef, 0x8b, 0x5a, 0x77, 0x79, 0xee, 0xdf, 0x2c, 0xc0, 0xe9, 0x4c, 0xef, 0xdf, - 0x13, 0x18, 0x9b, 0x9b, 0xc6, 0xd8, 0x3c, 0xdb, 0xb7, 0x63, 0x72, 0xee, 0x00, 0xdd, 0x49, 0x0c, - 0xd0, 0xe5, 0xfe, 0x49, 0x76, 0x1f, 0xa5, 0xaf, 0x15, 0xe1, 0x7c, 0x66, 0xbd, 0x58, 0xec, 0xb9, - 0x62, 0x88, 0x3d, 0x9f, 0x4b, 0x88, 0x3d, 0xed, 0xee, 0xb5, 0x8f, 0x47, 0x0e, 0x2a, 0x1c, 0x74, - 0x59, 0x98, 0x81, 0x07, 0x94, 0x81, 0x1a, 0x0e, 0xba, 0x8a, 0x10, 0x36, 0xe9, 0x7e, 0x2b, 0xc9, - 0x3e, 0xff, 0x9d, 0x05, 0x67, 0x33, 0xe7, 0xe6, 0x04, 0x64, 0x5d, 0xeb, 0xa6, 0xac, 0xeb, 0xa9, - 0xbe, 0x57, 0x6b, 0x8e, 0xf0, 0xeb, 0xcb, 0x83, 0x39, 0xdf, 0xc2, 0x5e, 0xf2, 0x37, 0x61, 0xd4, - 0xa9, 0xd7, 0x49, 0x18, 0xae, 0xf9, 0x0d, 0x15, 0x6b, 0xf8, 0x59, 0xf6, 0xce, 0x8a, 0x8b, 0x0f, - 0x0f, 0xca, 0x73, 0x49, 0x12, 0x31, 0x18, 0xeb, 0x14, 0xd0, 0x27, 0x61, 0x24, 0x14, 0xf7, 0xa6, - 0x98, 0xfb, 0xe7, 0xfb, 0x1c, 0x1c, 0x67, 0x93, 0x34, 0xcd, 0x60, 0x48, 0x4a, 0x52, 0xa1, 0x48, - 0x9a, 0x81, 0x53, 0x0a, 0xc7, 0x1a, 0x38, 0xe5, 0x39, 0x80, 0x3d, 0xf5, 0x18, 0x48, 0xca, 0x1f, - 0xb4, 0x67, 0x82, 0x86, 0x85, 0x3e, 0x0a, 0x53, 0x21, 0x8f, 0x16, 0xb8, 0xd4, 0x74, 0x42, 0xe6, - 0x47, 0x23, 0x56, 0x21, 0x0b, 0xb8, 0x54, 0x4b, 0xc0, 0x70, 0x0a, 0x1b, 0xad, 0xc8, 0x56, 0x59, - 0x68, 0x43, 0xbe, 0x30, 0x2f, 0xc6, 0x2d, 0x8a, 0xd4, 0xbf, 0xa7, 0x92, 0xc3, 0xcf, 0x06, 0x5e, - 0xab, 0x89, 0x3e, 0x09, 0x40, 0x97, 0x8f, 0x90, 0x43, 0x0c, 0xe7, 0x1f, 0x9e, 0xf4, 0x54, 0x69, - 0x64, 0x1a, 0x37, 0x33, 0x9f, 0xda, 0x8a, 0x22, 0x82, 0x35, 0x82, 0x68, 0x0b, 0xc6, 0xe3, 0x7f, - 0x71, 0x66, 0xcc, 0x23, 0xb6, 0xc0, 0xe4, 0xde, 0x15, 0x9d, 0x0e, 0x36, 0xc9, 0xda, 0x3f, 0x36, - 0x0c, 0x8f, 0x76, 0x39, 0x8b, 0xd1, 0x82, 0xa9, 0xef, 0x7d, 0x3a, 0xf9, 0x88, 0x9f, 0xcb, 0xac, - 0x6c, 0xbc, 0xea, 0x13, 0x4b, 0xbe, 0xf0, 0xb6, 0x97, 0xfc, 0x0f, 0x59, 0x9a, 0x78, 0x85, 0x5b, - 0x96, 0x7e, 0xe4, 0x88, 0x77, 0xcc, 0x31, 0xca, 0x5b, 0xb6, 0x32, 0x84, 0x16, 0xcf, 0xf5, 0xdd, - 0x9d, 0xfe, 0xa5, 0x18, 0x5f, 0xb1, 0x00, 0x09, 0xf1, 0x0a, 0x69, 0xa8, 0x0d, 0x25, 0xe4, 0x19, - 0x57, 0x8f, 0xfa, 0xfd, 0x0b, 0x29, 0x4a, 0x7c, 0x24, 0x5e, 0x96, 0x97, 0x41, 0x1a, 0xa1, 0xe7, - 0x98, 0x64, 0x74, 0x0f, 0x7d, 0x9c, 0x45, 0xd3, 0x75, 0xdf, 0x12, 0x1c, 0x90, 0xd8, 0x70, 0x2f, - 0x8a, 0x48, 0xba, 0xaa, 0x9c, 0xb2, 0xba, 0x99, 0xdd, 0xd5, 0x91, 0xb0, 0x41, 0xea, 0x64, 0xdf, - 0xdf, 0x1d, 0x78, 0x24, 0x67, 0xc8, 0x1e, 0xea, 0x33, 0xfc, 0x37, 0x2d, 0x38, 0xd7, 0x35, 0x2c, - 0xcc, 0x37, 0x21, 0x83, 0x68, 0x7f, 0xce, 0x82, 0xec, 0xc9, 0x36, 0xcc, 0xca, 0x2e, 0x43, 0xa9, - 0x4e, 0x0b, 0x35, 0x3f, 0xe0, 0x38, 0x40, 0x82, 0x04, 0xe0, 0x18, 0xc7, 0xb0, 0x1e, 0x2b, 0xf4, - 0xb4, 0x1e, 0xfb, 0x65, 0x0b, 0x52, 0x87, 0xfc, 0x09, 0x70, 0x1b, 0xab, 0x26, 0xb7, 0xf1, 0xde, - 0x7e, 0x46, 0x33, 0x87, 0xd1, 0xf8, 0xa3, 0x49, 0x38, 0x93, 0xe3, 0x96, 0xb7, 0x07, 0xd3, 0xdb, - 0x75, 0x62, 0x7a, 0x58, 0x77, 0x8b, 0x3c, 0xd4, 0xd5, 0x1d, 0x9b, 0x25, 0x87, 0x9d, 0x4e, 0xa1, - 0xe0, 0x74, 0x13, 0xe8, 0x73, 0x16, 0x9c, 0x72, 0xee, 0x86, 0xcb, 0x94, 0x6b, 0x74, 0xeb, 0x8b, - 0x4d, 0xbf, 0xbe, 0x4b, 0xaf, 0x64, 0xb9, 0x11, 0x5e, 0xc8, 0x94, 0xe4, 0xdd, 0xa9, 0xa5, 0xf0, - 0x8d, 0xe6, 0x59, 0xb6, 0xdc, 0x2c, 0x2c, 0x9c, 0xd9, 0x16, 0xc2, 0x22, 0x85, 0x02, 0x7d, 0x93, - 0x76, 0x89, 0x01, 0x90, 0xe5, 0x3f, 0xc9, 0xd9, 0x20, 0x09, 0xc1, 0x8a, 0x0e, 0xfa, 0x34, 0x94, - 0xb6, 0xa5, 0xbb, 0x6f, 0x06, 0x9b, 0x15, 0x0f, 0x64, 0x77, 0x27, 0x68, 0xae, 0x8e, 0x57, 0x48, - 0x38, 0x26, 0x8a, 0x5e, 0x85, 0xa2, 0xb7, 0x15, 0x76, 0x4b, 0x38, 0x9b, 0xb0, 0xbb, 0xe4, 0x91, - 0x36, 0xd6, 0x57, 0x6a, 0x98, 0x56, 0x44, 0xd7, 0xa0, 0x18, 0x6c, 0x36, 0x84, 0x18, 0x3a, 0x73, - 0x93, 0xe2, 0xc5, 0x4a, 0x4e, 0xaf, 0x18, 0x25, 0xbc, 0x58, 0xc1, 0x94, 0x04, 0xaa, 0xc2, 0x20, - 0xf3, 0x65, 0x13, 0x4c, 0x4d, 0xe6, 0xf3, 0xad, 0x8b, 0x4f, 0x28, 0x0f, 0xc7, 0xc1, 0x10, 0x30, - 0x27, 0x84, 0x36, 0x60, 0xa8, 0xce, 0x92, 0x93, 0x0a, 0x2e, 0xe6, 0x03, 0x99, 0x02, 0xe7, 0x2e, - 0x59, 0x5b, 0x85, 0xfc, 0x95, 0x61, 0x60, 0x41, 0x8b, 0x51, 0x25, 0xed, 0x9d, 0xad, 0x50, 0x24, - 0xef, 0xce, 0xa6, 0xda, 0x25, 0x19, 0xb1, 0xa0, 0xca, 0x30, 0xb0, 0xa0, 0x85, 0x5e, 0x86, 0xc2, - 0x56, 0x5d, 0xf8, 0xa9, 0x65, 0x4a, 0x9e, 0xcd, 0x60, 0x29, 0x8b, 0x43, 0xf7, 0x0f, 0xca, 0x85, - 0x95, 0x25, 0x5c, 0xd8, 0xaa, 0xa3, 0x75, 0x18, 0xde, 0xe2, 0xe1, 0x15, 0x84, 0x70, 0xf9, 0xc9, - 0xec, 0xc8, 0x0f, 0xa9, 0x08, 0x0c, 0xdc, 0xe7, 0x49, 0x00, 0xb0, 0x24, 0xc2, 0x32, 0x12, 0xa8, - 0x30, 0x11, 0x22, 0x4a, 0xdd, 0xfc, 0xd1, 0x42, 0x7b, 0x70, 0x26, 0x33, 0x0e, 0x36, 0x81, 0x35, - 0x8a, 0x74, 0x55, 0x3b, 0x6f, 0x75, 0x02, 0x16, 0x0a, 0x5c, 0x84, 0x33, 0xca, 0x5c, 0xd5, 0x0b, - 0x12, 0xa9, 0xdb, 0xaa, 0x56, 0x48, 0x38, 0x26, 0x8a, 0x76, 0x61, 0x7c, 0x2f, 0x6c, 0xef, 0x10, - 0xb9, 0xa5, 0x59, 0x74, 0xa3, 0x1c, 0xfe, 0xe8, 0xb6, 0x40, 0x74, 0x83, 0xa8, 0xe3, 0x34, 0x53, - 0xa7, 0x10, 0xe3, 0x65, 0x6f, 0xeb, 0xc4, 0xb0, 0x49, 0x9b, 0x0e, 0xff, 0x9b, 0x1d, 0x7f, 0x73, - 0x3f, 0x22, 0x22, 0xb8, 0x5c, 0xe6, 0xf0, 0xbf, 0xce, 0x51, 0xd2, 0xc3, 0x2f, 0x00, 0x58, 0x12, - 0x41, 0xb7, 0xc5, 0xf0, 0xb0, 0xd3, 0x73, 0x2a, 0x3f, 0x02, 0xec, 0x82, 0x44, 0xca, 0x19, 0x14, - 0x76, 0x5a, 0xc6, 0xa4, 0xd8, 0x29, 0xd9, 0xde, 0xf1, 0x23, 0xdf, 0x4b, 0x9c, 0xd0, 0xd3, 0xf9, - 0xa7, 0x64, 0x35, 0x03, 0x3f, 0x7d, 0x4a, 0x66, 0x61, 0xe1, 0xcc, 0xb6, 0x50, 0x03, 0x26, 0xda, - 0x7e, 0x10, 0xdd, 0xf5, 0x03, 0xb9, 0xbe, 0x50, 0x17, 0xe1, 0x98, 0x81, 0x29, 0x5a, 0x64, 0x71, - 0x1b, 0x4d, 0x08, 0x4e, 0xd0, 0x44, 0x1f, 0x83, 0xe1, 0xb0, 0xee, 0x34, 0xc9, 0xea, 0xcd, 0xd9, - 0x99, 0xfc, 0xeb, 0xa7, 0xc6, 0x51, 0x72, 0x56, 0x17, 0x8f, 0x8e, 0xc1, 0x51, 0xb0, 0x24, 0x87, - 0x56, 0x60, 0x90, 0x65, 0x9c, 0x63, 0x91, 0x10, 0x73, 0x02, 0xd9, 0xa6, 0xac, 0xe0, 0xf9, 0xd9, - 0xc4, 0x8a, 0x31, 0xaf, 0x4e, 0xf7, 0x80, 0x78, 0x23, 0xfa, 0xe1, 0xec, 0xe9, 0xfc, 0x3d, 0x20, - 0x9e, 0x96, 0x37, 0x6b, 0xdd, 0xf6, 0x80, 0x42, 0xc2, 0x31, 0x51, 0x7a, 0x32, 0xd3, 0xd3, 0xf4, - 0x4c, 0x17, 0xf3, 0xad, 0xdc, 0xb3, 0x94, 0x9d, 0xcc, 0xf4, 0x24, 0xa5, 0x24, 0xec, 0xdf, 0x1d, - 0x4e, 0xf3, 0x2c, 0x4c, 0xaa, 0xf0, 0x3d, 0x56, 0x4a, 0xe1, 0xfc, 0xc1, 0x7e, 0x85, 0x9c, 0xc7, - 0xf8, 0x14, 0xfa, 0x9c, 0x05, 0x67, 0xda, 0x99, 0x1f, 0x22, 0x18, 0x80, 0xfe, 0x64, 0xa5, 0xfc, - 0xd3, 0x55, 0xd4, 0xcc, 0x6c, 0x38, 0xce, 0x69, 0x29, 0xf9, 0xdc, 0x2c, 0xbe, 0xed, 0xe7, 0xe6, - 0x1a, 0x8c, 0xd4, 0xf9, 0x53, 0xa4, 0x6b, 0xb2, 0xee, 0xe4, 0xdb, 0x9b, 0xb1, 0x12, 0xe2, 0x0d, - 0xb3, 0x85, 0x15, 0x09, 0xf4, 0xc3, 0x16, 0x9c, 0x4b, 0x76, 0x1d, 0x13, 0x06, 0x16, 0xa1, 0x36, - 0xb9, 0x40, 0x63, 0x45, 0x7c, 0x7f, 0x8a, 0xff, 0x37, 0x90, 0x0f, 0x7b, 0x21, 0xe0, 0xee, 0x8d, - 0xa1, 0x4a, 0x86, 0x44, 0x65, 0xc8, 0xd4, 0x22, 0xf5, 0x21, 0x55, 0x79, 0x01, 0xc6, 0x5a, 0x7e, - 0xc7, 0x8b, 0x84, 0xb5, 0x97, 0xb0, 0x3c, 0x61, 0x16, 0x17, 0x6b, 0x5a, 0x39, 0x36, 0xb0, 0x12, - 0xb2, 0x98, 0x91, 0x07, 0x96, 0xc5, 0xbc, 0x01, 0x63, 0x9e, 0x66, 0x9e, 0x2c, 0xf8, 0x81, 0x8b, - 0xf9, 0x61, 0x72, 0x75, 0x63, 0x66, 0xde, 0x4b, 0xbd, 0x04, 0x1b, 0xd4, 0x4e, 0xd6, 0x0c, 0xec, - 0x4b, 0x56, 0x06, 0x53, 0xcf, 0x45, 0x31, 0x1f, 0x36, 0x45, 0x31, 0x17, 0x93, 0xa2, 0x98, 0x94, - 0x06, 0xc1, 0x90, 0xc2, 0xf4, 0x9f, 0x05, 0xa8, 0xdf, 0x50, 0x9b, 0x76, 0x13, 0x2e, 0xf4, 0xba, - 0x96, 0x98, 0xd9, 0x5f, 0x43, 0xe9, 0x8b, 0x63, 0xb3, 0xbf, 0xc6, 0x6a, 0x05, 0x33, 0x48, 0xbf, - 0x41, 0x9c, 0xec, 0xff, 0x66, 0x41, 0xb1, 0xea, 0x37, 0x4e, 0xe0, 0xc1, 0xfb, 0x11, 0xe3, 0xc1, - 0xfb, 0x68, 0xf6, 0x85, 0xd8, 0xc8, 0xd5, 0x7f, 0x2c, 0x27, 0xf4, 0x1f, 0xe7, 0xf2, 0x08, 0x74, - 0xd7, 0x76, 0xfc, 0x64, 0x11, 0x46, 0xab, 0x7e, 0x43, 0xd9, 0xdc, 0xff, 0xcb, 0x07, 0xb1, 0xb9, - 0xcf, 0xcd, 0x65, 0xa1, 0x51, 0x66, 0xd6, 0x82, 0xd2, 0xdd, 0xf8, 0x9b, 0xcc, 0xf4, 0xfe, 0x0e, - 0x71, 0xb7, 0x77, 0x22, 0xd2, 0x48, 0x7e, 0xce, 0xc9, 0x99, 0xde, 0xff, 0x6e, 0x01, 0x26, 0x13, - 0xad, 0xa3, 0x26, 0x8c, 0x37, 0x75, 0xe9, 0xba, 0x58, 0xa7, 0x0f, 0x24, 0x98, 0x17, 0xa6, 0xcb, - 0x5a, 0x11, 0x36, 0x89, 0xa3, 0x79, 0x00, 0xa5, 0x6e, 0x96, 0xe2, 0x55, 0xc6, 0xf5, 0x2b, 0x7d, - 0x74, 0x88, 0x35, 0x0c, 0xf4, 0x22, 0x8c, 0x46, 0x7e, 0xdb, 0x6f, 0xfa, 0xdb, 0xfb, 0xd7, 0x89, - 0x8c, 0xef, 0xa5, 0x0c, 0x12, 0x37, 0x62, 0x10, 0xd6, 0xf1, 0xd0, 0x3d, 0x98, 0x56, 0x44, 0x6a, - 0xc7, 0xa0, 0x71, 0x60, 0x52, 0x85, 0xf5, 0x24, 0x45, 0x9c, 0x6e, 0xc4, 0xfe, 0xe9, 0x22, 0x1f, - 0x62, 0x2f, 0x72, 0xdf, 0xdd, 0x0d, 0xef, 0xec, 0xdd, 0xf0, 0x35, 0x0b, 0xa6, 0x68, 0xeb, 0xcc, - 0xda, 0x4a, 0x5e, 0xf3, 0x2a, 0x30, 0xb7, 0xd5, 0x25, 0x30, 0xf7, 0x45, 0x7a, 0x6a, 0x36, 0xfc, - 0x4e, 0x24, 0x64, 0x77, 0xda, 0xb1, 0x48, 0x4b, 0xb1, 0x80, 0x0a, 0x3c, 0x12, 0x04, 0xc2, 0x43, - 0x54, 0xc7, 0x23, 0x41, 0x80, 0x05, 0x54, 0xc6, 0xed, 0x1e, 0xc8, 0x8e, 0xdb, 0xcd, 0xc3, 0xaf, - 0x0a, 0xbb, 0x1c, 0xc1, 0x70, 0x69, 0xe1, 0x57, 0xa5, 0xc1, 0x4e, 0x8c, 0x63, 0x7f, 0xa5, 0x08, - 0x63, 0x55, 0xbf, 0x11, 0xab, 0x9a, 0x5f, 0x30, 0x54, 0xcd, 0x17, 0x12, 0xaa, 0xe6, 0x29, 0x1d, - 0xf7, 0x5d, 0xc5, 0xf2, 0x37, 0x4a, 0xb1, 0xfc, 0xcf, 0x2c, 0x36, 0x6b, 0x95, 0xf5, 0x1a, 0x37, - 0xde, 0x43, 0x57, 0x60, 0x94, 0x1d, 0x30, 0xcc, 0x25, 0x59, 0xea, 0x5f, 0x59, 0x3e, 0xaa, 0xf5, - 0xb8, 0x18, 0xeb, 0x38, 0xe8, 0x12, 0x8c, 0x84, 0xc4, 0x09, 0xea, 0x3b, 0xea, 0x74, 0x15, 0xca, - 0x52, 0x5e, 0x86, 0x15, 0x14, 0xbd, 0x1e, 0x47, 0xfe, 0x2c, 0xe6, 0xbb, 0x38, 0xea, 0xfd, 0xe1, - 0x5b, 0x24, 0x3f, 0xdc, 0xa7, 0x7d, 0x07, 0x50, 0x1a, 0xbf, 0x8f, 0xd8, 0x74, 0x65, 0x33, 0x36, - 0x5d, 0x29, 0x15, 0x97, 0xee, 0x4f, 0x2d, 0x98, 0xa8, 0xfa, 0x0d, 0xba, 0x75, 0xbf, 0x95, 0xf6, - 0xa9, 0x1e, 0xf6, 0x78, 0xa8, 0x4b, 0xd8, 0xe3, 0x27, 0x60, 0xb0, 0xea, 0x37, 0x56, 0xab, 0xdd, - 0xe2, 0x0b, 0xd8, 0x7f, 0xcb, 0x82, 0xe1, 0xaa, 0xdf, 0x38, 0x01, 0xb5, 0xc0, 0x87, 0x4d, 0xb5, - 0xc0, 0x23, 0x39, 0xeb, 0x26, 0x47, 0x13, 0xf0, 0x37, 0x06, 0x60, 0x9c, 0xf6, 0xd3, 0xdf, 0x96, - 0x53, 0x69, 0x0c, 0x9b, 0xd5, 0xc7, 0xb0, 0x51, 0x2e, 0xdc, 0x6f, 0x36, 0xfd, 0xbb, 0xc9, 0x69, - 0x5d, 0x61, 0xa5, 0x58, 0x40, 0xd1, 0x33, 0x30, 0xd2, 0x0e, 0xc8, 0x9e, 0xeb, 0x0b, 0xf6, 0x56, - 0x53, 0xb2, 0x54, 0x45, 0x39, 0x56, 0x18, 0xf4, 0x59, 0x18, 0xba, 0x1e, 0xbd, 0xca, 0xeb, 0xbe, - 0xd7, 0xe0, 0x92, 0xf3, 0xa2, 0xc8, 0xcd, 0xa1, 0x95, 0x63, 0x03, 0x0b, 0xdd, 0x81, 0x12, 0xfb, - 0xcf, 0x8e, 0x9d, 0xa3, 0x67, 0x79, 0x15, 0x59, 0xff, 0x04, 0x01, 0x1c, 0xd3, 0x42, 0xcf, 0x01, - 0x44, 0x32, 0xbe, 0x7d, 0x28, 0xa2, 0xad, 0xa9, 0xa7, 0x80, 0x8a, 0x7c, 0x1f, 0x62, 0x0d, 0x0b, - 0x3d, 0x0d, 0xa5, 0xc8, 0x71, 0x9b, 0x37, 0x5c, 0x8f, 0x84, 0x4c, 0x22, 0x5e, 0x94, 0xc9, 0xf7, - 0x44, 0x21, 0x8e, 0xe1, 0x94, 0x15, 0x63, 0x91, 0x38, 0x78, 0x8e, 0xe8, 0x11, 0x86, 0xcd, 0x58, - 0xb1, 0x1b, 0xaa, 0x14, 0x6b, 0x18, 0x68, 0x07, 0x1e, 0x73, 0x3d, 0x96, 0xc7, 0x82, 0xd4, 0x76, - 0xdd, 0xf6, 0xc6, 0x8d, 0xda, 0x6d, 0x12, 0xb8, 0x5b, 0xfb, 0x8b, 0x4e, 0x7d, 0x97, 0x78, 0x32, - 0x7f, 0xe7, 0x7b, 0x45, 0x17, 0x1f, 0x5b, 0xed, 0x82, 0x8b, 0xbb, 0x52, 0xb2, 0x9f, 0x67, 0xeb, - 0xfd, 0x66, 0x0d, 0xbd, 0xdf, 0x38, 0x3a, 0xce, 0xe8, 0x47, 0xc7, 0xe1, 0x41, 0x79, 0xe8, 0x66, - 0x4d, 0x0b, 0x24, 0xf1, 0x12, 0x9c, 0xae, 0xfa, 0x8d, 0xaa, 0x1f, 0x44, 0x2b, 0x7e, 0x70, 0xd7, - 0x09, 0x1a, 0x72, 0x79, 0x95, 0x65, 0x28, 0x0d, 0x7a, 0x7e, 0x0e, 0xf2, 0xd3, 0xc5, 0x08, 0x93, - 0xf1, 0x3c, 0xe3, 0xd8, 0x8e, 0xe8, 0x00, 0x56, 0x67, 0xbc, 0x83, 0xca, 0x04, 0x73, 0xd5, 0x89, - 0x08, 0xba, 0xc9, 0x32, 0x5c, 0xc7, 0xd7, 0xa8, 0xa8, 0xfe, 0x94, 0x96, 0xe1, 0x3a, 0x06, 0x66, - 0xde, 0xbb, 0x66, 0x7d, 0xfb, 0xbf, 0x0f, 0xb2, 0x13, 0x35, 0x91, 0x4d, 0x04, 0x7d, 0x0a, 0x26, - 0x42, 0x72, 0xc3, 0xf5, 0x3a, 0xf7, 0xa4, 0x08, 0xa3, 0x8b, 0x0b, 0x5f, 0x6d, 0x59, 0xc7, 0xe4, - 0x82, 0x50, 0xb3, 0x0c, 0x27, 0xa8, 0xa1, 0x16, 0x4c, 0xdc, 0x75, 0xbd, 0x86, 0x7f, 0x37, 0x94, - 0xf4, 0x47, 0xf2, 0xe5, 0xa1, 0x77, 0x38, 0x66, 0xa2, 0x8f, 0x46, 0x73, 0x77, 0x0c, 0x62, 0x38, - 0x41, 0x9c, 0xae, 0xda, 0xa0, 0xe3, 0x2d, 0x84, 0xb7, 0x42, 0x12, 0x88, 0x5c, 0xe5, 0x6c, 0xd5, - 0x62, 0x59, 0x88, 0x63, 0x38, 0x5d, 0xb5, 0xec, 0xcf, 0xd5, 0xc0, 0xef, 0xf0, 0xd4, 0x15, 0x62, - 0xd5, 0x62, 0x55, 0x8a, 0x35, 0x0c, 0xba, 0xab, 0xd9, 0xbf, 0x75, 0xdf, 0xc3, 0xbe, 0x1f, 0xc9, - 0x73, 0x80, 0xe9, 0xf4, 0xb5, 0x72, 0x6c, 0x60, 0xa1, 0x15, 0x40, 0x61, 0xa7, 0xdd, 0x6e, 0x32, - 0xdb, 0x20, 0xa7, 0xc9, 0x48, 0x71, 0x7b, 0x89, 0x22, 0x0f, 0xbd, 0x5b, 0x4b, 0x41, 0x71, 0x46, - 0x0d, 0x7a, 0xc0, 0x6f, 0x89, 0xae, 0x0e, 0xb2, 0xae, 0x72, 0xdd, 0x49, 0x8d, 0xf7, 0x53, 0xc2, - 0xd0, 0x32, 0x0c, 0x87, 0xfb, 0x61, 0x3d, 0x12, 0x91, 0x12, 0x73, 0x12, 0x46, 0xd5, 0x18, 0x8a, - 0x96, 0xaf, 0x90, 0x57, 0xc1, 0xb2, 0x2e, 0xaa, 0xc3, 0x8c, 0xa0, 0xb8, 0xb4, 0xe3, 0x78, 0x2a, - 0xfd, 0x0e, 0x37, 0x91, 0xbe, 0x72, 0xff, 0xa0, 0x3c, 0x23, 0x5a, 0xd6, 0xc1, 0x87, 0x07, 0xe5, - 0x33, 0x55, 0xbf, 0x91, 0x01, 0xc1, 0x59, 0xd4, 0xf8, 0xe2, 0xab, 0xd7, 0xfd, 0x56, 0xbb, 0x1a, - 0xf8, 0x5b, 0x6e, 0x93, 0x74, 0xd3, 0x3f, 0xd5, 0x0c, 0x4c, 0xb1, 0xf8, 0x8c, 0x32, 0x9c, 0xa0, - 0x66, 0x7f, 0x27, 0x63, 0x82, 0x58, 0x7a, 0xee, 0xa8, 0x13, 0x10, 0xd4, 0x82, 0xf1, 0x36, 0xdb, - 0x26, 0x22, 0xa1, 0x84, 0x58, 0xeb, 0x2f, 0xf4, 0x29, 0x47, 0xb9, 0x4b, 0xef, 0x0e, 0xd3, 0xc6, - 0xa8, 0xaa, 0x93, 0xc3, 0x26, 0x75, 0xfb, 0xd7, 0x1f, 0x61, 0xd7, 0x68, 0x8d, 0x0b, 0x47, 0x86, - 0x85, 0x47, 0x86, 0x78, 0x8f, 0xcd, 0xe5, 0x4b, 0xe9, 0xe2, 0x69, 0x11, 0x5e, 0x1d, 0x58, 0xd6, - 0x45, 0x9f, 0x84, 0x09, 0xfa, 0xbc, 0x51, 0x57, 0x59, 0x38, 0x7b, 0x2a, 0x3f, 0x72, 0x86, 0xc2, - 0xd2, 0x93, 0xcd, 0xe8, 0x95, 0x71, 0x82, 0x18, 0x7a, 0x9d, 0xd9, 0xf4, 0x48, 0xd2, 0x85, 0x7e, - 0x48, 0xeb, 0xe6, 0x3b, 0x92, 0xac, 0x46, 0x04, 0x75, 0x60, 0x26, 0x9d, 0x9a, 0x2e, 0x9c, 0xb5, - 0xf3, 0xf9, 0xc4, 0x74, 0x76, 0xb9, 0x38, 0x2b, 0x48, 0x1a, 0x16, 0xe2, 0x2c, 0xfa, 0xe8, 0x06, - 0x8c, 0x8b, 0x1c, 0xd5, 0x62, 0xe5, 0x16, 0x0d, 0xe1, 0xe1, 0x38, 0xd6, 0x81, 0x87, 0xc9, 0x02, - 0x6c, 0x56, 0x46, 0xdb, 0x70, 0x4e, 0xcb, 0x19, 0x75, 0x35, 0x70, 0x98, 0x05, 0x80, 0xcb, 0x8e, - 0x53, 0xed, 0x82, 0x7f, 0xfc, 0xfe, 0x41, 0xf9, 0xdc, 0x46, 0x37, 0x44, 0xdc, 0x9d, 0x0e, 0xba, - 0x09, 0xa7, 0xb9, 0xdf, 0x77, 0x85, 0x38, 0x8d, 0xa6, 0xeb, 0x29, 0x0e, 0x82, 0x6f, 0xf9, 0xb3, - 0xf7, 0x0f, 0xca, 0xa7, 0x17, 0xb2, 0x10, 0x70, 0x76, 0x3d, 0xf4, 0x61, 0x28, 0x35, 0xbc, 0x50, - 0x8c, 0xc1, 0x90, 0x91, 0x96, 0xab, 0x54, 0x59, 0xaf, 0xa9, 0xef, 0x8f, 0xff, 0xe0, 0xb8, 0x02, - 0xda, 0xe6, 0x02, 0x66, 0x25, 0xf6, 0x18, 0x4e, 0xc5, 0xbd, 0x4a, 0x4a, 0x06, 0x0d, 0xcf, 0x4f, - 0xae, 0x59, 0x51, 0x0e, 0x11, 0x86, 0x53, 0xa8, 0x41, 0x18, 0xbd, 0x06, 0x48, 0x84, 0x7f, 0x5f, - 0xa8, 0xb3, 0x6c, 0x25, 0x4c, 0x1e, 0x3f, 0x62, 0xfa, 0x22, 0xd6, 0x52, 0x18, 0x38, 0xa3, 0x16, - 0xba, 0x46, 0x4f, 0x15, 0xbd, 0x54, 0x9c, 0x5a, 0x2a, 0x89, 0x62, 0x85, 0xb4, 0x03, 0xc2, 0x2c, - 0x9a, 0x4c, 0x8a, 0x38, 0x51, 0x0f, 0x35, 0xe0, 0x31, 0xa7, 0x13, 0xf9, 0x4c, 0x76, 0x6f, 0xa2, - 0x6e, 0xf8, 0xbb, 0xc4, 0x63, 0x6a, 0xb3, 0x91, 0xc5, 0x0b, 0x94, 0x45, 0x59, 0xe8, 0x82, 0x87, - 0xbb, 0x52, 0xa1, 0xac, 0xa5, 0xca, 0x9a, 0x0c, 0x66, 0x34, 0xaf, 0x8c, 0xcc, 0xc9, 0x2f, 0xc2, - 0xe8, 0x8e, 0x1f, 0x46, 0xeb, 0x24, 0xba, 0xeb, 0x07, 0xbb, 0x22, 0x2a, 0x6d, 0x1c, 0xe3, 0x3b, - 0x06, 0x61, 0x1d, 0x8f, 0xbe, 0x1d, 0x99, 0x51, 0xc7, 0x6a, 0x85, 0xe9, 0xd3, 0x47, 0xe2, 0x33, - 0xe6, 0x1a, 0x2f, 0xc6, 0x12, 0x2e, 0x51, 0x57, 0xab, 0x4b, 0x4c, 0x37, 0x9e, 0x40, 0x5d, 0xad, - 0x2e, 0x61, 0x09, 0xa7, 0xcb, 0x35, 0xdc, 0x71, 0x02, 0x52, 0x0d, 0xfc, 0x3a, 0x09, 0xb5, 0xc8, - 0xf2, 0x8f, 0xf2, 0x98, 0xbb, 0x74, 0xb9, 0xd6, 0xb2, 0x10, 0x70, 0x76, 0x3d, 0x44, 0xd2, 0xf9, - 0xd2, 0x26, 0xf2, 0x95, 0x1a, 0x69, 0x7e, 0xa6, 0xcf, 0x94, 0x69, 0x1e, 0x4c, 0xa9, 0x4c, 0x6d, - 0x3c, 0xca, 0x6e, 0x38, 0x3b, 0xc9, 0xd6, 0x76, 0xff, 0x21, 0x7a, 0x95, 0x9a, 0x68, 0x35, 0x41, - 0x09, 0xa7, 0x68, 0x1b, 0x01, 0xdb, 0xa6, 0x7a, 0x06, 0x6c, 0xbb, 0x0c, 0xa5, 0xb0, 0xb3, 0xd9, - 0xf0, 0x5b, 0x8e, 0xeb, 0x31, 0xdd, 0xb8, 0xf6, 0x88, 0xa9, 0x49, 0x00, 0x8e, 0x71, 0xd0, 0x0a, - 0x8c, 0x38, 0x52, 0x07, 0x84, 0xf2, 0x43, 0xf4, 0x28, 0xcd, 0x0f, 0x8f, 0x5a, 0x21, 0xb5, 0x3e, - 0xaa, 0x2e, 0x7a, 0x05, 0xc6, 0x85, 0xdf, 0xb2, 0x48, 0x12, 0x3a, 0x63, 0x3a, 0x97, 0xd5, 0x74, - 0x20, 0x36, 0x71, 0xd1, 0x2d, 0x18, 0x8d, 0xfc, 0x26, 0xf3, 0x90, 0xa2, 0x6c, 0xde, 0x99, 0xfc, - 0x60, 0x73, 0x1b, 0x0a, 0x4d, 0x17, 0xbf, 0xaa, 0xaa, 0x58, 0xa7, 0x83, 0x36, 0xf8, 0x7a, 0x67, - 0x71, 0xe4, 0x49, 0x38, 0xfb, 0x48, 0xfe, 0x9d, 0xa4, 0xc2, 0xcd, 0x9b, 0xdb, 0x41, 0xd4, 0xc4, - 0x3a, 0x19, 0x74, 0x15, 0xa6, 0xdb, 0x81, 0xeb, 0xb3, 0x35, 0xa1, 0xd4, 0x7f, 0xb3, 0x66, 0xd6, - 0xa8, 0x6a, 0x12, 0x01, 0xa7, 0xeb, 0x30, 0xb7, 0x73, 0x51, 0x38, 0x7b, 0x96, 0x67, 0xbe, 0xe0, - 0x6f, 0x42, 0x5e, 0x86, 0x15, 0x14, 0xad, 0xb1, 0x93, 0x98, 0x8b, 0x33, 0x66, 0xe7, 0xf2, 0xa3, - 0x02, 0xe9, 0x62, 0x0f, 0xce, 0xbc, 0xaa, 0xbf, 0x38, 0xa6, 0x80, 0x1a, 0x5a, 0xc2, 0x49, 0xfa, - 0x62, 0x08, 0x67, 0x1f, 0xeb, 0x62, 0x59, 0x97, 0x78, 0x5e, 0xc4, 0x0c, 0x81, 0x51, 0x1c, 0xe2, - 0x04, 0x4d, 0xf4, 0x51, 0x98, 0x12, 0xb1, 0x0c, 0xe3, 0x61, 0x3a, 0x17, 0xdb, 0x9d, 0xe3, 0x04, - 0x0c, 0xa7, 0xb0, 0x79, 0xe6, 0x09, 0x67, 0xb3, 0x49, 0xc4, 0xd1, 0x77, 0xc3, 0xf5, 0x76, 0xc3, - 0xd9, 0xf3, 0xec, 0x7c, 0x10, 0x99, 0x27, 0x92, 0x50, 0x9c, 0x51, 0x03, 0x6d, 0xc0, 0x54, 0x3b, - 0x20, 0xa4, 0xc5, 0x18, 0x7d, 0x71, 0x9f, 0x95, 0x79, 0xd4, 0x05, 0xda, 0x93, 0x6a, 0x02, 0x76, - 0x98, 0x51, 0x86, 0x53, 0x14, 0xd0, 0x5d, 0x18, 0xf1, 0xf7, 0x48, 0xb0, 0x43, 0x9c, 0xc6, 0xec, - 0x85, 0x2e, 0x7e, 0x10, 0xe2, 0x72, 0xbb, 0x29, 0x70, 0x13, 0x26, 0x03, 0xb2, 0xb8, 0xb7, 0xc9, - 0x80, 0x6c, 0x0c, 0xfd, 0x45, 0x0b, 0xce, 0x4a, 0x2d, 0x43, 0xad, 0x4d, 0x47, 0x7d, 0xc9, 0xf7, - 0xc2, 0x28, 0xe0, 0x71, 0x02, 0x1e, 0xcf, 0xf7, 0x9d, 0xdf, 0xc8, 0xa9, 0xa4, 0x24, 0xaa, 0x67, - 0xf3, 0x30, 0x42, 0x9c, 0xdf, 0x22, 0x5a, 0x82, 0xe9, 0x90, 0x44, 0xf2, 0x30, 0x5a, 0x08, 0x57, - 0x5e, 0xaf, 0xac, 0xcf, 0x3e, 0xc1, 0x83, 0x1c, 0xd0, 0xcd, 0x50, 0x4b, 0x02, 0x71, 0x1a, 0x1f, - 0x5d, 0x81, 0x82, 0x1f, 0xce, 0xbe, 0xb7, 0x4b, 0x8e, 0x52, 0xfa, 0x14, 0xe7, 0xa6, 0x63, 0x37, - 0x6b, 0xb8, 0xe0, 0x87, 0x73, 0xdf, 0x0e, 0xd3, 0x29, 0x8e, 0xe1, 0x28, 0xb9, 0x7d, 0xe6, 0x76, - 0x61, 0xdc, 0x98, 0x95, 0x87, 0xaa, 0xa5, 0xfe, 0x37, 0xc3, 0x50, 0x52, 0x1a, 0x4c, 0x74, 0xd9, - 0x54, 0x4c, 0x9f, 0x4d, 0x2a, 0xa6, 0x47, 0xaa, 0x7e, 0xc3, 0xd0, 0x45, 0x6f, 0x64, 0x44, 0x83, - 0xcb, 0x3b, 0x03, 0xfa, 0x37, 0x90, 0xd7, 0xc4, 0xc2, 0xc5, 0xbe, 0x35, 0xdc, 0x03, 0x5d, 0x25, - 0xcd, 0x57, 0x61, 0xda, 0xf3, 0x19, 0x9b, 0x4a, 0x1a, 0x92, 0x07, 0x61, 0xac, 0x46, 0x49, 0x0f, - 0xaf, 0x92, 0x40, 0xc0, 0xe9, 0x3a, 0xb4, 0x41, 0xce, 0x2b, 0x24, 0x45, 0xdb, 0x9c, 0x95, 0xc0, - 0x02, 0x8a, 0x9e, 0x80, 0xc1, 0xb6, 0xdf, 0x58, 0xad, 0x0a, 0x16, 0x55, 0x8b, 0x41, 0xda, 0x58, - 0xad, 0x62, 0x0e, 0x43, 0x0b, 0x30, 0xc4, 0x7e, 0x84, 0xb3, 0x63, 0xf9, 0x71, 0x34, 0x58, 0x0d, - 0x2d, 0x73, 0x12, 0xab, 0x80, 0x45, 0x45, 0x26, 0x62, 0xa3, 0x7c, 0x3d, 0x13, 0xb1, 0x0d, 0x3f, - 0xa0, 0x88, 0x4d, 0x12, 0xc0, 0x31, 0x2d, 0x74, 0x0f, 0x4e, 0x1b, 0x6f, 0x29, 0xbe, 0x44, 0x48, - 0x28, 0x7c, 0xf9, 0x9f, 0xe8, 0xfa, 0x88, 0x12, 0x1a, 0xf1, 0x73, 0xa2, 0xd3, 0xa7, 0x57, 0xb3, - 0x28, 0xe1, 0xec, 0x06, 0x50, 0x13, 0xa6, 0xeb, 0xa9, 0x56, 0x47, 0xfa, 0x6f, 0x55, 0x4d, 0x68, - 0xba, 0xc5, 0x34, 0x61, 0xf4, 0x0a, 0x8c, 0xbc, 0xe9, 0x87, 0xec, 0x78, 0x17, 0x6c, 0xb5, 0x74, - 0x04, 0x1f, 0x79, 0xfd, 0x66, 0x8d, 0x95, 0x1f, 0x1e, 0x94, 0x47, 0xab, 0x7e, 0x43, 0xfe, 0xc5, - 0xaa, 0x02, 0xfa, 0x7e, 0x0b, 0xe6, 0xd2, 0x8f, 0x35, 0xd5, 0xe9, 0xf1, 0xfe, 0x3b, 0x6d, 0x8b, - 0x46, 0xe7, 0x96, 0x73, 0xc9, 0xe1, 0x2e, 0x4d, 0xd9, 0xbf, 0x68, 0x31, 0x41, 0x9d, 0xd0, 0x34, - 0x91, 0xb0, 0xd3, 0x3c, 0x89, 0x84, 0xb1, 0xcb, 0x86, 0x12, 0xec, 0x81, 0x2d, 0x24, 0xfe, 0x85, - 0xc5, 0x2c, 0x24, 0x4e, 0xd0, 0x15, 0xe2, 0x75, 0x18, 0x89, 0x64, 0x22, 0xdf, 0x2e, 0x39, 0x6e, - 0xb5, 0x4e, 0x31, 0x2b, 0x11, 0xc5, 0xe4, 0xaa, 0x9c, 0xbd, 0x8a, 0x8c, 0xfd, 0x8f, 0xf9, 0x0c, - 0x48, 0xc8, 0x09, 0xe8, 0x1a, 0x2a, 0xa6, 0xae, 0xa1, 0xdc, 0xe3, 0x0b, 0x72, 0x74, 0x0e, 0xff, - 0xc8, 0xec, 0x37, 0x13, 0xee, 0xbc, 0xd3, 0x4d, 0x73, 0xec, 0xcf, 0x5b, 0x00, 0x71, 0x88, 0xe7, - 0x3e, 0x52, 0xb5, 0xbd, 0x44, 0xd9, 0x5a, 0x3f, 0xf2, 0xeb, 0x7e, 0x53, 0x68, 0xd2, 0x1e, 0x8b, - 0xd5, 0x1d, 0xbc, 0xfc, 0x50, 0xfb, 0x8d, 0x15, 0x36, 0x2a, 0xcb, 0x80, 0x72, 0xc5, 0x58, 0x01, - 0x67, 0x04, 0x93, 0xfb, 0xa2, 0x05, 0xa7, 0xb2, 0xec, 0x6a, 0xe9, 0x23, 0x89, 0x8b, 0xb9, 0x94, - 0xd9, 0x94, 0x9a, 0xcd, 0xdb, 0xa2, 0x1c, 0x2b, 0x8c, 0xbe, 0x73, 0xe0, 0x1d, 0x2d, 0xb6, 0xf2, - 0x4d, 0x18, 0xaf, 0x06, 0x44, 0xbb, 0x5c, 0x5f, 0xe5, 0x41, 0x0a, 0x78, 0x7f, 0x9e, 0x39, 0x72, - 0x80, 0x02, 0xfb, 0xcb, 0x05, 0x38, 0xc5, 0xad, 0x0f, 0x16, 0xf6, 0x7c, 0xb7, 0x51, 0xf5, 0x1b, - 0xc2, 0x7b, 0xea, 0x13, 0x30, 0xd6, 0xd6, 0x64, 0x93, 0xdd, 0xe2, 0x84, 0xea, 0x32, 0xcc, 0x58, - 0x9a, 0xa2, 0x97, 0x62, 0x83, 0x16, 0x6a, 0xc0, 0x18, 0xd9, 0x73, 0xeb, 0x4a, 0x85, 0x5d, 0x38, - 0xf2, 0x45, 0xa7, 0x5a, 0x59, 0xd6, 0xe8, 0x60, 0x83, 0xea, 0x43, 0xc8, 0x4c, 0x6d, 0xff, 0xa8, - 0x05, 0x8f, 0xe4, 0x44, 0x15, 0xa5, 0xcd, 0xdd, 0x65, 0x76, 0x1e, 0x62, 0xd9, 0xaa, 0xe6, 0xb8, - 0xf5, 0x07, 0x16, 0x50, 0xf4, 0x31, 0x00, 0x6e, 0xbd, 0x41, 0x5f, 0xe9, 0xbd, 0xc2, 0x2f, 0x1a, - 0x91, 0xe3, 0xb4, 0x20, 0x60, 0xb2, 0x3e, 0xd6, 0x68, 0xd9, 0x5f, 0x1c, 0x80, 0x41, 0x9e, 0x45, - 0xbf, 0x0a, 0xc3, 0x3b, 0x3c, 0x4f, 0x4c, 0xd7, 0x79, 0xa3, 0xb8, 0x32, 0xf5, 0x4c, 0x3c, 0x6f, - 0x5a, 0x29, 0x96, 0x64, 0xd0, 0x1a, 0xcc, 0xf0, 0x74, 0x3d, 0xcd, 0x0a, 0x69, 0x3a, 0xfb, 0x52, - 0xec, 0xc7, 0x73, 0xcb, 0x2a, 0xf1, 0xe7, 0x6a, 0x1a, 0x05, 0x67, 0xd5, 0x43, 0xaf, 0xc2, 0x04, - 0x7d, 0x86, 0xf9, 0x9d, 0x48, 0x52, 0xe2, 0x89, 0x7a, 0xd4, 0xbb, 0x6f, 0xc3, 0x80, 0xe2, 0x04, - 0x36, 0x7a, 0x05, 0xc6, 0xdb, 0x29, 0x01, 0xe7, 0x60, 0x2c, 0x09, 0x30, 0x85, 0x9a, 0x26, 0x2e, - 0x33, 0xad, 0xed, 0x30, 0x43, 0xe2, 0x8d, 0x9d, 0x80, 0x84, 0x3b, 0x7e, 0xb3, 0xc1, 0xd8, 0xbf, - 0x41, 0xcd, 0xb4, 0x36, 0x01, 0xc7, 0xa9, 0x1a, 0x94, 0xca, 0x96, 0xe3, 0x36, 0x3b, 0x01, 0x89, - 0xa9, 0x0c, 0x99, 0x54, 0x56, 0x12, 0x70, 0x9c, 0xaa, 0xd1, 0x5b, 0x72, 0x3b, 0x7c, 0x3c, 0x92, - 0x5b, 0xfb, 0x6f, 0x17, 0xc0, 0x98, 0xda, 0x6f, 0xdd, 0x04, 0x42, 0xf4, 0xcb, 0xb6, 0x83, 0x76, - 0x5d, 0x58, 0xc6, 0x64, 0x7e, 0x59, 0x9c, 0x17, 0x94, 0x7f, 0x19, 0xfd, 0x8f, 0x59, 0x2d, 0xba, - 0xc7, 0x4f, 0x57, 0x03, 0x9f, 0x5e, 0x72, 0x32, 0x8c, 0x95, 0xb2, 0x60, 0x1f, 0x96, 0xde, 0xbd, - 0x5d, 0x02, 0x3e, 0x0a, 0x1b, 0x5f, 0x4e, 0xc1, 0x30, 0x22, 0xa9, 0x09, 0x5f, 0x7b, 0x49, 0x05, - 0x5d, 0x81, 0x51, 0x91, 0x15, 0x86, 0x19, 0x5a, 0xf3, 0xcd, 0xc4, 0x8c, 0x5e, 0x2a, 0x71, 0x31, - 0xd6, 0x71, 0xec, 0x1f, 0x28, 0xc0, 0x4c, 0x86, 0xa7, 0x0c, 0xbf, 0x46, 0xb6, 0xdd, 0x30, 0x52, - 0xa9, 0x47, 0xb5, 0x6b, 0x84, 0x97, 0x63, 0x85, 0x41, 0xcf, 0x2a, 0x7e, 0x51, 0x25, 0x2f, 0x27, - 0x61, 0x89, 0x2e, 0xa0, 0x47, 0x4c, 0xe2, 0x79, 0x01, 0x06, 0x3a, 0x21, 0x91, 0xa1, 0x5a, 0xd5, - 0xb5, 0xcd, 0xd4, 0x9a, 0x0c, 0x42, 0x9f, 0x51, 0xdb, 0x4a, 0x43, 0xa8, 0x3d, 0xa3, 0xb8, 0x8e, - 0x90, 0xc3, 0x68, 0xe7, 0x22, 0xe2, 0x39, 0x5e, 0x24, 0x1e, 0x5b, 0x71, 0xcc, 0x41, 0x56, 0x8a, - 0x05, 0xd4, 0xfe, 0x42, 0x11, 0xce, 0xe6, 0xfa, 0xce, 0xd1, 0xae, 0xb7, 0x7c, 0xcf, 0x8d, 0x7c, - 0x65, 0x4d, 0xc4, 0xe3, 0x0c, 0x92, 0xf6, 0xce, 0x9a, 0x28, 0xc7, 0x0a, 0x03, 0x5d, 0x84, 0x41, - 0x26, 0x14, 0x4d, 0x25, 0x61, 0x5d, 0xac, 0xf0, 0xc0, 0x53, 0x1c, 0xdc, 0x77, 0xde, 0xec, 0x27, - 0x28, 0x07, 0xe3, 0x37, 0x93, 0x17, 0x0a, 0xed, 0xae, 0xef, 0x37, 0x31, 0x03, 0xa2, 0xf7, 0x89, - 0xf1, 0x4a, 0x98, 0xcf, 0x60, 0xa7, 0xe1, 0x87, 0xda, 0xa0, 0x3d, 0x05, 0xc3, 0xbb, 0x64, 0x3f, - 0x70, 0xbd, 0xed, 0xa4, 0x59, 0xd5, 0x75, 0x5e, 0x8c, 0x25, 0xdc, 0xcc, 0x1a, 0x38, 0x7c, 0xdc, - 0x09, 0xaf, 0x47, 0x7a, 0xb2, 0x27, 0x3f, 0x54, 0x84, 0x49, 0xbc, 0x58, 0x79, 0x77, 0x22, 0x6e, - 0xa5, 0x27, 0xe2, 0xb8, 0x13, 0x5e, 0xf7, 0x9e, 0x8d, 0x9f, 0xb3, 0x60, 0x92, 0xe5, 0xa6, 0x11, - 0x1e, 0xf2, 0xae, 0xef, 0x9d, 0xc0, 0x53, 0xe0, 0x09, 0x18, 0x0c, 0x68, 0xa3, 0xc9, 0xec, 0xab, - 0xac, 0x27, 0x98, 0xc3, 0xd0, 0x63, 0x30, 0xc0, 0xba, 0x40, 0x27, 0x6f, 0x8c, 0x1f, 0xc1, 0x15, - 0x27, 0x72, 0x30, 0x2b, 0x65, 0x61, 0x97, 0x30, 0x69, 0x37, 0x5d, 0xde, 0xe9, 0x58, 0x65, 0xfd, - 0xce, 0xf0, 0xaa, 0xcf, 0xec, 0xda, 0xdb, 0x0b, 0xbb, 0x94, 0x4d, 0xb2, 0xfb, 0x33, 0xfb, 0x0f, - 0x0b, 0x70, 0x3e, 0xb3, 0x5e, 0xdf, 0x61, 0x97, 0xba, 0xd7, 0x7e, 0x98, 0xd9, 0x47, 0x8a, 0x27, - 0x68, 0xb4, 0x3a, 0xd0, 0x2f, 0xf7, 0x3f, 0xd8, 0x47, 0x34, 0xa4, 0xcc, 0x21, 0x7b, 0x87, 0x44, - 0x43, 0xca, 0xec, 0x5b, 0x8e, 0x98, 0xe0, 0xcf, 0x0a, 0x39, 0xdf, 0xc2, 0x04, 0x06, 0x97, 0xe8, - 0x39, 0xc3, 0x80, 0xa1, 0x7c, 0x84, 0xf3, 0x33, 0x86, 0x97, 0x61, 0x05, 0x45, 0x0b, 0x30, 0xd9, - 0x72, 0x3d, 0x7a, 0xf8, 0xec, 0x9b, 0xac, 0xb8, 0x0a, 0x56, 0xb7, 0x66, 0x82, 0x71, 0x12, 0x1f, - 0xb9, 0x5a, 0xa4, 0x24, 0xfe, 0x75, 0xaf, 0x1c, 0x69, 0xd7, 0xcd, 0x9b, 0xea, 0x7c, 0x35, 0x8a, - 0x19, 0x51, 0x93, 0xd6, 0x34, 0x39, 0x51, 0xb1, 0x7f, 0x39, 0xd1, 0x58, 0xb6, 0x8c, 0x68, 0xee, - 0x15, 0x18, 0x7f, 0x60, 0xc5, 0x80, 0xfd, 0xb5, 0x22, 0x3c, 0xda, 0x65, 0xdb, 0xf3, 0xb3, 0xde, - 0x98, 0x03, 0xed, 0xac, 0x4f, 0xcd, 0x43, 0x15, 0x4e, 0x6d, 0x75, 0x9a, 0xcd, 0x7d, 0xe6, 0xcb, - 0x41, 0x1a, 0x12, 0x43, 0xf0, 0x94, 0x52, 0x38, 0x72, 0x6a, 0x25, 0x03, 0x07, 0x67, 0xd6, 0xa4, - 0x4f, 0x2c, 0x7a, 0x93, 0xec, 0x2b, 0x52, 0x89, 0x27, 0x16, 0xd6, 0x81, 0xd8, 0xc4, 0x45, 0x57, - 0x61, 0xda, 0xd9, 0x73, 0x5c, 0x1e, 0x6e, 0x5a, 0x12, 0xe0, 0x6f, 0x2c, 0x25, 0xcf, 0x5d, 0x48, - 0x22, 0xe0, 0x74, 0x1d, 0xf4, 0x1a, 0x20, 0x7f, 0x93, 0x59, 0x7c, 0x37, 0xae, 0x12, 0x4f, 0x68, - 0x5d, 0xd9, 0xdc, 0x15, 0xe3, 0x23, 0xe1, 0x66, 0x0a, 0x03, 0x67, 0xd4, 0x4a, 0x44, 0x04, 0x1a, - 0xca, 0x8f, 0x08, 0xd4, 0xfd, 0x5c, 0xec, 0x99, 0xf8, 0xe6, 0x3f, 0x59, 0xf4, 0xfa, 0xe2, 0x4c, - 0xbe, 0x19, 0x40, 0xf3, 0x15, 0x66, 0x35, 0xc9, 0x65, 0xbd, 0x5a, 0xfc, 0x94, 0xd3, 0x9a, 0xd5, - 0x64, 0x0c, 0xc4, 0x26, 0x2e, 0x5f, 0x10, 0x61, 0xec, 0xb6, 0x6b, 0xb0, 0xf8, 0x22, 0xca, 0x97, - 0xc2, 0x40, 0x1f, 0x87, 0xe1, 0x86, 0xbb, 0xe7, 0x86, 0x42, 0xd2, 0x75, 0x64, 0xb5, 0x52, 0x7c, - 0x0e, 0x56, 0x38, 0x19, 0x2c, 0xe9, 0xd9, 0x3f, 0x54, 0x80, 0x71, 0xd9, 0xe2, 0xeb, 0x1d, 0x3f, - 0x72, 0x4e, 0xe0, 0x5a, 0xbe, 0x6a, 0x5c, 0xcb, 0xef, 0xeb, 0x16, 0xea, 0x8c, 0x75, 0x29, 0xf7, - 0x3a, 0xbe, 0x99, 0xb8, 0x8e, 0x9f, 0xec, 0x4d, 0xaa, 0xfb, 0x35, 0xfc, 0x4f, 0x2c, 0x98, 0x36, - 0xf0, 0x4f, 0xe0, 0x36, 0x58, 0x31, 0x6f, 0x83, 0xc7, 0x7b, 0x7e, 0x43, 0xce, 0x2d, 0xf0, 0xbd, - 0xc5, 0x44, 0xdf, 0xd9, 0xe9, 0xff, 0x26, 0x0c, 0xec, 0x38, 0x41, 0xa3, 0x5b, 0x6a, 0x87, 0x54, - 0xa5, 0xf9, 0x6b, 0x4e, 0x20, 0xd4, 0xce, 0xcf, 0xc8, 0x51, 0xa7, 0x45, 0x3d, 0x55, 0xce, 0xac, - 0x29, 0xf4, 0x12, 0x0c, 0x85, 0x75, 0xbf, 0xad, 0x3c, 0x39, 0x2e, 0xb0, 0x81, 0x66, 0x25, 0x87, - 0x07, 0x65, 0x64, 0x36, 0x47, 0x8b, 0xb1, 0xc0, 0x47, 0x9f, 0x80, 0x71, 0xf6, 0x4b, 0xd9, 0x80, - 0x15, 0xf3, 0xc5, 0x11, 0x35, 0x1d, 0x91, 0x1b, 0x48, 0x1a, 0x45, 0xd8, 0x24, 0x35, 0xb7, 0x0d, - 0x25, 0xf5, 0x59, 0x0f, 0x55, 0x6f, 0xfb, 0x1f, 0x8a, 0x30, 0x93, 0xb1, 0xe6, 0x50, 0x68, 0xcc, - 0xc4, 0x95, 0x3e, 0x97, 0xea, 0xdb, 0x9c, 0x8b, 0x90, 0xbd, 0x86, 0x1a, 0x62, 0x6d, 0xf5, 0xdd, - 0xe8, 0xad, 0x90, 0x24, 0x1b, 0xa5, 0x45, 0xbd, 0x1b, 0xa5, 0x8d, 0x9d, 0xd8, 0x50, 0xd3, 0x86, - 0x54, 0x4f, 0x1f, 0xea, 0x9c, 0xfe, 0x49, 0x11, 0x4e, 0x65, 0x45, 0x5f, 0x44, 0x9f, 0x4d, 0x24, - 0x16, 0x7d, 0xa1, 0xdf, 0xb8, 0x8d, 0x3c, 0xdb, 0xa8, 0x08, 0x08, 0x37, 0x6f, 0xa6, 0x1a, 0xed, - 0x39, 0xcc, 0xa2, 0x4d, 0x16, 0x92, 0x22, 0xe0, 0x09, 0x61, 0xe5, 0xf1, 0xf1, 0xc1, 0xbe, 0x3b, - 0x20, 0x32, 0xc9, 0x86, 0x09, 0xfb, 0x12, 0x59, 0xdc, 0xdb, 0xbe, 0x44, 0xb6, 0x3c, 0xe7, 0xc2, - 0xa8, 0xf6, 0x35, 0x0f, 0x75, 0xc6, 0x77, 0xe9, 0x6d, 0xa5, 0xf5, 0xfb, 0xa1, 0xce, 0xfa, 0x8f, - 0x5a, 0x90, 0x70, 0x39, 0x50, 0x62, 0x31, 0x2b, 0x57, 0x2c, 0x76, 0x01, 0x06, 0x02, 0xbf, 0x49, - 0x92, 0x19, 0x38, 0xb1, 0xdf, 0x24, 0x98, 0x41, 0x28, 0x46, 0x14, 0x0b, 0x3b, 0xc6, 0xf4, 0x87, - 0x9c, 0x78, 0xa2, 0x3d, 0x01, 0x83, 0x4d, 0xb2, 0x47, 0x9a, 0xc9, 0x44, 0x49, 0x37, 0x68, 0x21, - 0xe6, 0x30, 0xfb, 0xe7, 0x06, 0xe0, 0x5c, 0xd7, 0xa0, 0x2e, 0xf4, 0x39, 0xb4, 0xed, 0x44, 0xe4, - 0xae, 0xb3, 0x9f, 0xcc, 0x68, 0x72, 0x95, 0x17, 0x63, 0x09, 0x67, 0x9e, 0x64, 0x3c, 0x30, 0x79, - 0x42, 0x88, 0x28, 0xe2, 0x91, 0x0b, 0xa8, 0x29, 0x94, 0x2a, 0x1e, 0x87, 0x50, 0xea, 0x39, 0x80, - 0x30, 0x6c, 0x72, 0xc3, 0xac, 0x86, 0x70, 0x51, 0x8b, 0x03, 0xd8, 0xd7, 0x6e, 0x08, 0x08, 0xd6, - 0xb0, 0x50, 0x05, 0xa6, 0xda, 0x81, 0x1f, 0x71, 0x99, 0x6c, 0x85, 0xdb, 0x2e, 0x0e, 0x9a, 0xf1, - 0x34, 0xaa, 0x09, 0x38, 0x4e, 0xd5, 0x40, 0x2f, 0xc2, 0xa8, 0x88, 0xb1, 0x51, 0xf5, 0xfd, 0xa6, - 0x10, 0x03, 0x29, 0x73, 0xbe, 0x5a, 0x0c, 0xc2, 0x3a, 0x9e, 0x56, 0x8d, 0x09, 0x7a, 0x87, 0x33, - 0xab, 0x71, 0x61, 0xaf, 0x86, 0x97, 0x88, 0xc4, 0x3a, 0xd2, 0x57, 0x24, 0xd6, 0x58, 0x30, 0x56, - 0xea, 0x5b, 0xef, 0x08, 0x3d, 0x45, 0x49, 0x3f, 0x33, 0x00, 0x33, 0x62, 0xe1, 0x3c, 0xec, 0xe5, - 0x72, 0x2b, 0xbd, 0x5c, 0x8e, 0x43, 0x74, 0xf6, 0xee, 0x9a, 0x39, 0xe9, 0x35, 0xf3, 0xc3, 0x16, - 0x98, 0xec, 0x15, 0xfa, 0x73, 0xb9, 0x29, 0xa1, 0x5e, 0xcc, 0x65, 0xd7, 0x54, 0x54, 0xcf, 0xb7, - 0x99, 0x1c, 0xca, 0xfe, 0x8f, 0x16, 0x3c, 0xde, 0x93, 0x22, 0x5a, 0x86, 0x12, 0xe3, 0x01, 0xb5, - 0xd7, 0xd9, 0x93, 0xca, 0xb6, 0x59, 0x02, 0x72, 0x58, 0xd2, 0xb8, 0x26, 0x5a, 0x4e, 0xe5, 0xde, - 0x7a, 0x2a, 0x23, 0xf7, 0xd6, 0x69, 0x63, 0x78, 0x1e, 0x30, 0xf9, 0xd6, 0x0f, 0xd2, 0x1b, 0xc7, - 0xf0, 0x2b, 0x42, 0x1f, 0x34, 0xc4, 0x7e, 0x76, 0x42, 0xec, 0x87, 0x4c, 0x6c, 0xed, 0x0e, 0xf9, - 0x28, 0x4c, 0xb1, 0xe0, 0x5b, 0xcc, 0xd2, 0x5e, 0x78, 0x3c, 0x15, 0x62, 0x6b, 0xda, 0x1b, 0x09, - 0x18, 0x4e, 0x61, 0xdb, 0x7f, 0x50, 0x84, 0x21, 0xbe, 0xfd, 0x4e, 0xe0, 0x4d, 0xf8, 0x34, 0x94, - 0xdc, 0x56, 0xab, 0xc3, 0xd3, 0x29, 0x0d, 0x72, 0xdf, 0x68, 0x3a, 0x4f, 0xab, 0xb2, 0x10, 0xc7, - 0x70, 0xb4, 0x22, 0x24, 0xce, 0x5d, 0xe2, 0x7b, 0xf2, 0x8e, 0xcf, 0x57, 0x9c, 0xc8, 0xe1, 0x0c, - 0x8e, 0xba, 0x67, 0x63, 0xd9, 0x34, 0xfa, 0x14, 0x40, 0x18, 0x05, 0xae, 0xb7, 0x4d, 0xcb, 0x44, - 0x58, 0xe1, 0xf7, 0x77, 0xa1, 0x56, 0x53, 0xc8, 0x9c, 0x66, 0x7c, 0xe6, 0x28, 0x00, 0xd6, 0x28, - 0xa2, 0x79, 0xe3, 0xa6, 0x9f, 0x4b, 0xcc, 0x1d, 0x70, 0xaa, 0xf1, 0x9c, 0xcd, 0x7d, 0x08, 0x4a, - 0x8a, 0x78, 0x2f, 0xf9, 0xd3, 0x98, 0xce, 0x16, 0x7d, 0x04, 0x26, 0x13, 0x7d, 0x3b, 0x92, 0xf8, - 0xea, 0xe7, 0x2d, 0x98, 0xe4, 0x9d, 0x59, 0xf6, 0xf6, 0xc4, 0x6d, 0xf0, 0x16, 0x9c, 0x6a, 0x66, - 0x9c, 0xca, 0x62, 0xfa, 0xfb, 0x3f, 0xc5, 0x95, 0xb8, 0x2a, 0x0b, 0x8a, 0x33, 0xdb, 0x40, 0x97, - 0xe8, 0x8e, 0xa3, 0xa7, 0xae, 0xd3, 0x14, 0xae, 0xd2, 0x63, 0x7c, 0xb7, 0xf1, 0x32, 0xac, 0xa0, - 0xf6, 0x6f, 0x5b, 0x30, 0xcd, 0x7b, 0x7e, 0x9d, 0xec, 0xab, 0xb3, 0xe9, 0x1b, 0xd9, 0x77, 0x91, - 0xc8, 0xaf, 0x90, 0x93, 0xc8, 0x4f, 0xff, 0xb4, 0x62, 0xd7, 0x4f, 0xfb, 0xb2, 0x05, 0x62, 0x85, - 0x9c, 0x80, 0x10, 0xe2, 0xdb, 0x4d, 0x21, 0xc4, 0x5c, 0xfe, 0x26, 0xc8, 0x91, 0x3e, 0xfc, 0xa9, - 0x05, 0x53, 0x1c, 0x21, 0xd6, 0x96, 0x7f, 0x43, 0xe7, 0xa1, 0x9f, 0x74, 0xdf, 0xd7, 0xc9, 0xfe, - 0x86, 0x5f, 0x75, 0xa2, 0x9d, 0xec, 0x8f, 0x32, 0x26, 0x6b, 0xa0, 0xeb, 0x64, 0x35, 0xe4, 0x06, - 0x32, 0xf2, 0xdc, 0xf4, 0x88, 0x1f, 0x71, 0xd4, 0x3c, 0x37, 0xf6, 0xd7, 0x2d, 0x40, 0xbc, 0x19, - 0x83, 0x71, 0xa3, 0xec, 0x10, 0x2b, 0xd5, 0x2e, 0xba, 0xf8, 0x68, 0x52, 0x10, 0xac, 0x61, 0x1d, - 0xcb, 0xf0, 0x24, 0x4c, 0x1e, 0x8a, 0xbd, 0x4d, 0x1e, 0x8e, 0x30, 0xa2, 0xff, 0x76, 0x08, 0x92, - 0xbe, 0x55, 0xe8, 0x36, 0x8c, 0xd5, 0x9d, 0xb6, 0xb3, 0xe9, 0x36, 0xdd, 0xc8, 0x25, 0x61, 0x37, - 0x7b, 0xa8, 0x25, 0x0d, 0x4f, 0x28, 0xa9, 0xb5, 0x12, 0x6c, 0xd0, 0x41, 0xf3, 0x00, 0xed, 0xc0, - 0xdd, 0x73, 0x9b, 0x64, 0x9b, 0xc9, 0x4a, 0x58, 0x70, 0x06, 0x6e, 0x9c, 0x25, 0x4b, 0xb1, 0x86, - 0x91, 0xe1, 0xc8, 0x5e, 0x7c, 0xc8, 0x8e, 0xec, 0x70, 0x62, 0x8e, 0xec, 0x03, 0x47, 0x72, 0x64, - 0x1f, 0x39, 0xb2, 0x23, 0xfb, 0x60, 0x5f, 0x8e, 0xec, 0x18, 0xce, 0x48, 0xde, 0x93, 0xfe, 0x5f, - 0x71, 0x9b, 0x44, 0x3c, 0x38, 0x78, 0x44, 0x89, 0xb9, 0xfb, 0x07, 0xe5, 0x33, 0x38, 0x13, 0x03, - 0xe7, 0xd4, 0x44, 0x1f, 0x83, 0x59, 0xa7, 0xd9, 0xf4, 0xef, 0xaa, 0x49, 0x5d, 0x0e, 0xeb, 0x4e, - 0x93, 0x2b, 0x21, 0x86, 0x19, 0xd5, 0xc7, 0xee, 0x1f, 0x94, 0x67, 0x17, 0x72, 0x70, 0x70, 0x6e, - 0x6d, 0xf4, 0x61, 0x28, 0xb5, 0x03, 0xbf, 0xbe, 0xa6, 0x39, 0x80, 0x9e, 0xa7, 0x03, 0x58, 0x95, - 0x85, 0x87, 0x07, 0xe5, 0x71, 0xf5, 0x87, 0x5d, 0xf8, 0x71, 0x85, 0x0c, 0xcf, 0xf4, 0xd1, 0x63, - 0xf5, 0x4c, 0xdf, 0x85, 0x99, 0x1a, 0x09, 0x5c, 0xa7, 0xe9, 0xbe, 0x45, 0xf9, 0x65, 0x79, 0x3e, - 0x6d, 0x40, 0x29, 0x48, 0x9c, 0xc8, 0x7d, 0xc5, 0xdc, 0xd4, 0x12, 0x8e, 0xc8, 0x13, 0x38, 0x26, - 0x64, 0xff, 0x6f, 0x0b, 0x86, 0x85, 0x2f, 0xd5, 0x09, 0x70, 0x8d, 0x0b, 0x86, 0x26, 0xa1, 0x9c, - 0x3d, 0x60, 0xac, 0x33, 0xb9, 0x3a, 0x84, 0xd5, 0x84, 0x0e, 0xe1, 0xf1, 0x6e, 0x44, 0xba, 0x6b, - 0x0f, 0xfe, 0x7a, 0x91, 0x72, 0xef, 0x86, 0x57, 0xef, 0xc3, 0x1f, 0x82, 0x75, 0x18, 0x0e, 0x85, - 0x57, 0x69, 0x21, 0xdf, 0xa7, 0x21, 0x39, 0x89, 0xb1, 0x1d, 0x9b, 0xf0, 0x23, 0x95, 0x44, 0x32, - 0xdd, 0x55, 0x8b, 0x0f, 0xd1, 0x5d, 0xb5, 0x97, 0xdf, 0xf3, 0xc0, 0x71, 0xf8, 0x3d, 0xdb, 0x5f, - 0x65, 0x37, 0xa7, 0x5e, 0x7e, 0x02, 0x4c, 0xd5, 0x55, 0xf3, 0x8e, 0xb5, 0xbb, 0xac, 0x2c, 0xd1, - 0xa9, 0x1c, 0xe6, 0xea, 0x67, 0x2d, 0x38, 0x97, 0xf1, 0x55, 0x1a, 0xa7, 0xf5, 0x0c, 0x8c, 0x38, - 0x9d, 0x86, 0xab, 0xf6, 0xb2, 0xa6, 0x4f, 0x5c, 0x10, 0xe5, 0x58, 0x61, 0xa0, 0x25, 0x98, 0x26, - 0xf7, 0xda, 0x2e, 0x57, 0xa5, 0xea, 0xe6, 0xbf, 0x45, 0xee, 0x80, 0xb7, 0x9c, 0x04, 0xe2, 0x34, - 0xbe, 0x8a, 0x35, 0x53, 0xcc, 0x8d, 0x35, 0xf3, 0xf7, 0x2c, 0x18, 0x55, 0x7e, 0x95, 0x0f, 0x7d, - 0xb4, 0x3f, 0x6a, 0x8e, 0xf6, 0xa3, 0x5d, 0x46, 0x3b, 0x67, 0x98, 0x7f, 0xb3, 0xa0, 0xfa, 0x5b, - 0xf5, 0x83, 0xa8, 0x0f, 0x0e, 0xee, 0xc1, 0x5d, 0x17, 0xae, 0xc0, 0xa8, 0xd3, 0x6e, 0x4b, 0x80, - 0xb4, 0x41, 0x63, 0x11, 0x94, 0xe3, 0x62, 0xac, 0xe3, 0x28, 0x4f, 0x8a, 0x62, 0xae, 0x27, 0x45, - 0x03, 0x20, 0x72, 0x82, 0x6d, 0x12, 0xd1, 0x32, 0x61, 0x32, 0x9b, 0x7f, 0xde, 0x74, 0x22, 0xb7, - 0x39, 0xef, 0x7a, 0x51, 0x18, 0x05, 0xf3, 0xab, 0x5e, 0x74, 0x33, 0xe0, 0x4f, 0x48, 0x2d, 0x5a, - 0x93, 0xa2, 0x85, 0x35, 0xba, 0x32, 0x86, 0x00, 0x6b, 0x63, 0xd0, 0x34, 0x66, 0x58, 0x17, 0xe5, - 0x58, 0x61, 0xd8, 0x1f, 0x62, 0xb7, 0x0f, 0x1b, 0xd3, 0xa3, 0x45, 0x2a, 0xfa, 0x07, 0x63, 0x6a, - 0x36, 0x98, 0x26, 0xb3, 0xa2, 0xc7, 0x43, 0xea, 0x7e, 0xd8, 0xd3, 0x86, 0x75, 0xbf, 0xbe, 0x38, - 0x68, 0x12, 0xfa, 0x8e, 0x94, 0x81, 0xca, 0xb3, 0x3d, 0x6e, 0x8d, 0x23, 0x98, 0xa4, 0xb0, 0x74, - 0x2a, 0x2c, 0xd9, 0xc4, 0x6a, 0x55, 0xec, 0x0b, 0x2d, 0x9d, 0x8a, 0x00, 0xe0, 0x18, 0x87, 0x32, - 0x53, 0xea, 0x4f, 0x38, 0x8b, 0xe2, 0xb0, 0xa2, 0x0a, 0x3b, 0xc4, 0x1a, 0x06, 0xba, 0x2c, 0x04, - 0x0a, 0x5c, 0x2f, 0xf0, 0x68, 0x42, 0xa0, 0x20, 0x87, 0x4b, 0x93, 0x02, 0x5d, 0x81, 0x51, 0x95, - 0x41, 0xbb, 0xca, 0x13, 0x19, 0x89, 0x65, 0xb6, 0x1c, 0x17, 0x63, 0x1d, 0x07, 0x6d, 0xc0, 0x64, - 0xc8, 0xe5, 0x6c, 0x2a, 0xd6, 0x33, 0x97, 0x57, 0xbe, 0x5f, 0x5a, 0x01, 0xd5, 0x4c, 0xf0, 0x21, - 0x2b, 0xe2, 0xa7, 0x93, 0xf4, 0xf3, 0x4f, 0x92, 0x40, 0xaf, 0xc2, 0x44, 0xd3, 0x77, 0x1a, 0x8b, - 0x4e, 0xd3, 0xf1, 0xea, 0x6c, 0x7c, 0x46, 0xcc, 0x44, 0xac, 0x37, 0x0c, 0x28, 0x4e, 0x60, 0x53, - 0xe6, 0x4d, 0x2f, 0x11, 0xf1, 0xc9, 0x1d, 0x6f, 0x9b, 0x84, 0x22, 0x1f, 0x32, 0x63, 0xde, 0x6e, - 0xe4, 0xe0, 0xe0, 0xdc, 0xda, 0xe8, 0x25, 0x18, 0x93, 0x9f, 0xaf, 0x85, 0xc5, 0x88, 0x9d, 0x52, - 0x34, 0x18, 0x36, 0x30, 0xd1, 0x5d, 0x38, 0x2d, 0xff, 0x6f, 0x04, 0xce, 0xd6, 0x96, 0x5b, 0x17, - 0xbe, 0xe2, 0xdc, 0x7b, 0x75, 0x41, 0xba, 0x58, 0x2e, 0x67, 0x21, 0x1d, 0x1e, 0x94, 0x2f, 0x88, - 0x51, 0xcb, 0x84, 0xb3, 0x49, 0xcc, 0xa6, 0x8f, 0xd6, 0x60, 0x66, 0x87, 0x38, 0xcd, 0x68, 0x67, - 0x69, 0x87, 0xd4, 0x77, 0xe5, 0xa6, 0x63, 0xc1, 0x36, 0x34, 0x07, 0x8e, 0x6b, 0x69, 0x14, 0x9c, - 0x55, 0x0f, 0xbd, 0x01, 0xb3, 0xed, 0xce, 0x66, 0xd3, 0x0d, 0x77, 0xd6, 0xfd, 0x88, 0x99, 0x02, - 0xa9, 0x84, 0xdc, 0x22, 0x2a, 0x87, 0x0a, 0x67, 0x52, 0xcd, 0xc1, 0xc3, 0xb9, 0x14, 0xd0, 0x5b, - 0x70, 0x3a, 0xb1, 0x18, 0x44, 0x5c, 0x82, 0x89, 0xfc, 0x6c, 0x0f, 0xb5, 0xac, 0x0a, 0x22, 0xc4, - 0x47, 0x16, 0x08, 0x67, 0x37, 0x81, 0x5e, 0x06, 0x70, 0xdb, 0x2b, 0x4e, 0xcb, 0x6d, 0xd2, 0xe7, - 0xe2, 0x0c, 0x5b, 0x27, 0xf4, 0xe9, 0x00, 0xab, 0x55, 0x59, 0x4a, 0xcf, 0x67, 0xf1, 0x6f, 0x1f, - 0x6b, 0xd8, 0xa8, 0x0a, 0x13, 0xe2, 0xdf, 0xbe, 0x98, 0xd6, 0x69, 0x15, 0x02, 0x60, 0x42, 0xd6, - 0x50, 0x73, 0x89, 0xcc, 0x12, 0x36, 0x7b, 0x89, 0xfa, 0x68, 0x1b, 0xce, 0xc9, 0xec, 0x5d, 0xfa, - 0x3a, 0x95, 0xf3, 0x10, 0xb2, 0x34, 0x0b, 0x23, 0xdc, 0x3f, 0x64, 0xa1, 0x1b, 0x22, 0xee, 0x4e, - 0x87, 0xde, 0xef, 0xfa, 0x72, 0xe7, 0x1e, 0xb4, 0xa7, 0xb9, 0x79, 0x12, 0xbd, 0xdf, 0x6f, 0x24, - 0x81, 0x38, 0x8d, 0x8f, 0x42, 0x38, 0xed, 0x7a, 0x59, 0xab, 0xfb, 0x0c, 0x23, 0xf4, 0x11, 0xee, - 0x3c, 0xdc, 0x7d, 0x65, 0x67, 0xc2, 0xf9, 0xca, 0xce, 0xa4, 0xfd, 0xf6, 0xac, 0xf0, 0x7e, 0xcb, - 0xa2, 0xb5, 0x35, 0x4e, 0x1d, 0x7d, 0x1a, 0xc6, 0xf4, 0x0f, 0x13, 0x5c, 0xc7, 0xc5, 0x6c, 0x46, - 0x56, 0x3b, 0x1f, 0x38, 0x9f, 0xaf, 0xce, 0x00, 0x1d, 0x86, 0x0d, 0x8a, 0xa8, 0x9e, 0xe1, 0x66, - 0x7f, 0xb9, 0x3f, 0xae, 0xa6, 0x7f, 0x23, 0x34, 0x02, 0xd9, 0xcb, 0x1e, 0xdd, 0x80, 0x91, 0x7a, - 0xd3, 0x25, 0x5e, 0xb4, 0x5a, 0xed, 0x16, 0x4b, 0x6f, 0x49, 0xe0, 0x88, 0x7d, 0x24, 0xb2, 0x26, - 0xf0, 0x32, 0xac, 0x28, 0xd8, 0xbf, 0x52, 0x80, 0x72, 0x8f, 0x14, 0x1c, 0x09, 0x95, 0x94, 0xd5, - 0x97, 0x4a, 0x6a, 0x41, 0x66, 0x9d, 0x5f, 0x4f, 0x48, 0xbb, 0x12, 0x19, 0xe5, 0x63, 0x99, 0x57, - 0x12, 0xbf, 0x6f, 0x17, 0x01, 0x5d, 0xab, 0x35, 0xd0, 0xd3, 0xc9, 0xc5, 0xd0, 0x66, 0x0f, 0xf6, - 0xff, 0x04, 0xce, 0xd5, 0x4c, 0xda, 0x5f, 0x2d, 0xc0, 0x69, 0x35, 0x84, 0xdf, 0xba, 0x03, 0x77, - 0x2b, 0x3d, 0x70, 0xc7, 0xa0, 0xd7, 0xb5, 0x6f, 0xc2, 0x10, 0x0f, 0x0e, 0xd8, 0x07, 0xeb, 0xfd, - 0x84, 0x19, 0x7c, 0x57, 0x71, 0x7b, 0x46, 0x00, 0xde, 0xef, 0xb7, 0x60, 0x32, 0xe1, 0x6b, 0x86, - 0xb0, 0xe6, 0x90, 0xfc, 0x20, 0xec, 0x71, 0x16, 0xe3, 0x7d, 0x01, 0x06, 0x76, 0xfc, 0x30, 0x4a, - 0x1a, 0x7d, 0x5c, 0xf3, 0xc3, 0x08, 0x33, 0x88, 0xfd, 0x3b, 0x16, 0x0c, 0x6e, 0x38, 0xae, 0x17, - 0x49, 0x05, 0x81, 0x95, 0xa3, 0x20, 0xe8, 0xe7, 0xbb, 0xd0, 0x8b, 0x30, 0x44, 0xb6, 0xb6, 0x48, - 0x3d, 0x12, 0xb3, 0x2a, 0xa3, 0x39, 0x0c, 0x2d, 0xb3, 0x52, 0xca, 0x0b, 0xb2, 0xc6, 0xf8, 0x5f, - 0x2c, 0x90, 0xd1, 0x1d, 0x28, 0x45, 0x6e, 0x8b, 0x2c, 0x34, 0x1a, 0x42, 0x6d, 0xfe, 0x00, 0x11, - 0x29, 0x36, 0x24, 0x01, 0x1c, 0xd3, 0xb2, 0xbf, 0x50, 0x00, 0x88, 0xa3, 0x2a, 0xf5, 0xfa, 0xc4, - 0xc5, 0x94, 0x42, 0xf5, 0x62, 0x86, 0x42, 0x15, 0xc5, 0x04, 0x33, 0xb4, 0xa9, 0x6a, 0x98, 0x8a, - 0x7d, 0x0d, 0xd3, 0xc0, 0x51, 0x86, 0x69, 0x09, 0xa6, 0xe3, 0xa8, 0x50, 0x66, 0x50, 0x3c, 0x76, - 0x7d, 0x6e, 0x24, 0x81, 0x38, 0x8d, 0x6f, 0x13, 0xb8, 0xa0, 0x82, 0xe3, 0x88, 0x1b, 0x8d, 0x59, - 0x65, 0xeb, 0x0a, 0xea, 0x1e, 0xe3, 0x14, 0x6b, 0x8c, 0x0b, 0xb9, 0x1a, 0xe3, 0x9f, 0xb0, 0xe0, - 0x54, 0xb2, 0x1d, 0xe6, 0xc2, 0xfc, 0x79, 0x0b, 0x4e, 0x33, 0xbd, 0x39, 0x6b, 0x35, 0xad, 0xa5, - 0x7f, 0xa1, 0x6b, 0xc0, 0x9f, 0x9c, 0x1e, 0xc7, 0x61, 0x43, 0xd6, 0xb2, 0x48, 0xe3, 0xec, 0x16, - 0xed, 0x5f, 0x1a, 0x80, 0xd9, 0xbc, 0x48, 0x41, 0xcc, 0x69, 0xc3, 0xb9, 0x57, 0xdb, 0x25, 0x77, - 0x85, 0x69, 0x7c, 0xec, 0xb4, 0xc1, 0x8b, 0xb1, 0x84, 0x27, 0xb3, 0x2a, 0x14, 0xfa, 0xcc, 0xaa, - 0xb0, 0x03, 0xd3, 0x77, 0x77, 0x88, 0x77, 0xcb, 0x0b, 0x9d, 0xc8, 0x0d, 0xb7, 0x5c, 0xa6, 0x63, - 0xe6, 0xeb, 0x46, 0xa6, 0x62, 0x9d, 0xbe, 0x93, 0x44, 0x38, 0x3c, 0x28, 0x9f, 0x33, 0x0a, 0xe2, - 0x2e, 0xf3, 0x83, 0x04, 0xa7, 0x89, 0xa6, 0x93, 0x52, 0x0c, 0x3c, 0xe4, 0xa4, 0x14, 0x2d, 0x57, - 0x58, 0xa6, 0x48, 0x8b, 0x7c, 0xf6, 0x7a, 0x5c, 0x53, 0xa5, 0x58, 0xc3, 0x40, 0x9f, 0x04, 0xa4, - 0x27, 0xdd, 0x31, 0x02, 0x35, 0x3e, 0x7b, 0xff, 0xa0, 0x8c, 0xd6, 0x53, 0xd0, 0xc3, 0x83, 0xf2, - 0x0c, 0x2d, 0x5d, 0xf5, 0xe8, 0x2b, 0x34, 0x8e, 0x6e, 0x95, 0x41, 0x08, 0xdd, 0x81, 0x29, 0x5a, - 0xca, 0x76, 0x94, 0x8c, 0x02, 0xc9, 0x5f, 0x8e, 0x4f, 0xdf, 0x3f, 0x28, 0x4f, 0xad, 0x27, 0x60, - 0x79, 0xa4, 0x53, 0x44, 0xec, 0xcf, 0x5b, 0x70, 0x36, 0x37, 0xff, 0x32, 0xba, 0x04, 0x23, 0x4e, - 0xdb, 0xe5, 0xea, 0x08, 0x71, 0x5d, 0x30, 0xb1, 0x57, 0x75, 0x95, 0x2b, 0x23, 0x14, 0x94, 0x9e, - 0xd2, 0xbb, 0xae, 0xd7, 0x48, 0x9e, 0xd2, 0xd7, 0x5d, 0xaf, 0x81, 0x19, 0x44, 0x5d, 0x3b, 0xc5, - 0xbc, 0x6b, 0xc7, 0xfe, 0x3e, 0x0b, 0x84, 0x63, 0x6d, 0x1f, 0x77, 0xd4, 0x27, 0x60, 0x6c, 0x2f, - 0x9d, 0xa0, 0xeb, 0x42, 0xbe, 0xa7, 0xb1, 0x48, 0xcb, 0xa5, 0x18, 0x4f, 0x23, 0x19, 0x97, 0x41, - 0xcb, 0x6e, 0x80, 0x80, 0x56, 0x08, 0x13, 0xb6, 0xf7, 0xee, 0xcd, 0x73, 0x00, 0x0d, 0x86, 0xcb, - 0xb2, 0x76, 0x16, 0x4c, 0x0e, 0xa4, 0xa2, 0x20, 0x58, 0xc3, 0xb2, 0xff, 0x7d, 0x01, 0x46, 0x65, - 0x42, 0xa8, 0x8e, 0xd7, 0x8f, 0x48, 0xec, 0x48, 0x19, 0x62, 0xd1, 0x65, 0x28, 0x31, 0x99, 0x6d, - 0x35, 0x96, 0x24, 0x2a, 0x89, 0xc9, 0x9a, 0x04, 0xe0, 0x18, 0x87, 0x9e, 0x16, 0x61, 0x67, 0x93, - 0xa1, 0x27, 0xdc, 0x40, 0x6b, 0xbc, 0x18, 0x4b, 0x38, 0xfa, 0x18, 0x4c, 0xf1, 0x7a, 0x81, 0xdf, - 0x76, 0xb6, 0xb9, 0x9e, 0x67, 0x50, 0xc5, 0xd6, 0x98, 0x5a, 0x4b, 0xc0, 0x0e, 0x0f, 0xca, 0xa7, - 0x92, 0x65, 0x4c, 0x81, 0x99, 0xa2, 0xc2, 0xcc, 0xb9, 0x78, 0x23, 0xf4, 0x94, 0x4b, 0x59, 0x81, - 0xc5, 0x20, 0xac, 0xe3, 0xd9, 0x9f, 0x06, 0x94, 0x4e, 0x8d, 0x85, 0x5e, 0xe3, 0x36, 0xbc, 0x6e, - 0x40, 0x1a, 0xdd, 0x14, 0x9a, 0x7a, 0x04, 0x09, 0xe9, 0xc1, 0xc5, 0x6b, 0x61, 0x55, 0xdf, 0xfe, - 0x4b, 0x45, 0x98, 0x4a, 0xfa, 0xac, 0xa3, 0x6b, 0x30, 0xc4, 0x59, 0x2c, 0x41, 0xbe, 0x8b, 0xbd, - 0x8c, 0xe6, 0xe9, 0xce, 0x2e, 0x1b, 0xc1, 0xa5, 0x89, 0xfa, 0xe8, 0x0d, 0x18, 0x6d, 0xf8, 0x77, - 0xbd, 0xbb, 0x4e, 0xd0, 0x58, 0xa8, 0xae, 0x8a, 0xe5, 0x9c, 0xf9, 0x80, 0xaf, 0xc4, 0x68, 0xba, - 0xf7, 0x3c, 0xd3, 0x0d, 0xc7, 0x20, 0xac, 0x93, 0x43, 0x1b, 0x2c, 0x9e, 0xfe, 0x96, 0xbb, 0xbd, - 0xe6, 0xb4, 0xbb, 0x39, 0x74, 0x2c, 0x49, 0x24, 0x8d, 0xf2, 0xb8, 0x08, 0xba, 0xcf, 0x01, 0x38, - 0x26, 0x84, 0x3e, 0x0b, 0x33, 0x61, 0x8e, 0x5a, 0x21, 0x2f, 0x53, 0x62, 0x37, 0x49, 0xfb, 0xe2, - 0x23, 0xf7, 0x0f, 0xca, 0x33, 0x59, 0x0a, 0x88, 0xac, 0x66, 0xec, 0x2f, 0x9e, 0x02, 0x63, 0x13, - 0x1b, 0x89, 0x73, 0xad, 0x63, 0x4a, 0x9c, 0x8b, 0x61, 0x84, 0xb4, 0xda, 0xd1, 0x7e, 0xc5, 0x0d, - 0xc4, 0x9c, 0x64, 0xd2, 0x5c, 0x16, 0x38, 0x69, 0x9a, 0x12, 0x82, 0x15, 0x9d, 0xec, 0xec, 0xc6, - 0xc5, 0x6f, 0x60, 0x76, 0xe3, 0x81, 0x13, 0xcc, 0x6e, 0xbc, 0x0e, 0xc3, 0xdb, 0x6e, 0x84, 0x49, - 0xdb, 0x17, 0x8f, 0x9b, 0xcc, 0x75, 0x78, 0x95, 0xa3, 0xa4, 0xf3, 0x68, 0x0a, 0x00, 0x96, 0x44, - 0xd0, 0x6b, 0x6a, 0x07, 0x0e, 0xe5, 0x0b, 0x20, 0xd2, 0x86, 0x1d, 0x99, 0x7b, 0x50, 0xe4, 0x30, - 0x1e, 0x7e, 0xd0, 0x1c, 0xc6, 0x2b, 0x32, 0xf3, 0xf0, 0x48, 0xbe, 0xf7, 0x15, 0x4b, 0x2c, 0xdc, - 0x23, 0xdf, 0xf0, 0x6d, 0x3d, 0x5b, 0x73, 0x29, 0xff, 0x24, 0x50, 0x89, 0x98, 0xfb, 0xcc, 0xd1, - 0xfc, 0x7d, 0x16, 0x9c, 0x6e, 0x67, 0x25, 0x2e, 0x17, 0x36, 0x10, 0x2f, 0xf6, 0x9d, 0x1b, 0xdd, - 0x68, 0x90, 0xc9, 0x0e, 0xb3, 0xb3, 0xdf, 0x67, 0x37, 0x47, 0x07, 0x3a, 0xd8, 0x6c, 0x08, 0x5d, - 0xfc, 0x13, 0x39, 0xc9, 0x9e, 0xbb, 0xa4, 0x78, 0xde, 0xc8, 0x48, 0x2c, 0xfc, 0xde, 0xbc, 0xc4, - 0xc2, 0x7d, 0xa7, 0x13, 0x7e, 0x4d, 0xa5, 0x79, 0x1e, 0xcf, 0x5f, 0x4a, 0x3c, 0x89, 0x73, 0xcf, - 0xe4, 0xce, 0xaf, 0xa9, 0xe4, 0xce, 0x5d, 0xe2, 0x1e, 0xf3, 0xd4, 0xcd, 0x3d, 0x53, 0x3a, 0x6b, - 0x69, 0x99, 0x27, 0x8f, 0x27, 0x2d, 0xb3, 0x71, 0xd5, 0xf0, 0xcc, 0xc0, 0x4f, 0xf7, 0xb8, 0x6a, - 0x0c, 0xba, 0xdd, 0x2f, 0x1b, 0x9e, 0x82, 0x7a, 0xfa, 0x81, 0x52, 0x50, 0xdf, 0xd6, 0x53, 0x3a, - 0xa3, 0x1e, 0x39, 0x8b, 0x29, 0x52, 0x9f, 0x89, 0x9c, 0x6f, 0xeb, 0x17, 0xe0, 0x4c, 0x3e, 0x5d, - 0x75, 0xcf, 0xa5, 0xe9, 0x66, 0x5e, 0x81, 0xa9, 0x04, 0xd1, 0xa7, 0x4e, 0x26, 0x41, 0xf4, 0xe9, - 0x63, 0x4f, 0x10, 0x7d, 0xe6, 0x04, 0x12, 0x44, 0x3f, 0x72, 0x82, 0x09, 0xa2, 0x6f, 0x33, 0xc3, - 0x21, 0x1e, 0x9e, 0x48, 0xc4, 0x69, 0x7e, 0x2a, 0x27, 0xba, 0x57, 0x3a, 0x86, 0x11, 0xff, 0x38, - 0x05, 0xc2, 0x31, 0xa9, 0x8c, 0xc4, 0xd3, 0xb3, 0x0f, 0x21, 0xf1, 0xf4, 0x7a, 0x9c, 0x78, 0xfa, - 0x6c, 0xfe, 0x54, 0x67, 0xb8, 0x9a, 0xe4, 0xa4, 0x9b, 0xbe, 0xad, 0xa7, 0x89, 0x7e, 0xb4, 0x8b, - 0x76, 0x28, 0x4b, 0xc0, 0xda, 0x25, 0x39, 0xf4, 0xab, 0x3c, 0x39, 0xf4, 0x63, 0xf9, 0x27, 0x79, - 0xf2, 0xba, 0x33, 0x52, 0x42, 0xd3, 0x7e, 0xa9, 0xf0, 0x9e, 0x2c, 0x22, 0x75, 0x4e, 0xbf, 0x54, - 0x7c, 0xd0, 0x74, 0xbf, 0x14, 0x08, 0xc7, 0xa4, 0xec, 0x1f, 0x28, 0xc0, 0xf9, 0xee, 0xfb, 0x2d, - 0x96, 0x1a, 0x57, 0x63, 0x65, 0x79, 0x42, 0x6a, 0xcc, 0xdf, 0x6c, 0x31, 0x56, 0xdf, 0xd1, 0x0a, - 0xaf, 0xc2, 0xb4, 0xf2, 0x51, 0xa1, 0xef, 0xec, 0xf5, 0xf8, 0xe5, 0xab, 0xfc, 0xfa, 0x6b, 0x49, - 0x04, 0x9c, 0xae, 0x83, 0x16, 0x60, 0xd2, 0x28, 0x5c, 0xad, 0x88, 0xb7, 0x99, 0x12, 0x53, 0xd7, - 0x4c, 0x30, 0x4e, 0xe2, 0xdb, 0x5f, 0xb2, 0xe0, 0x91, 0x9c, 0xcc, 0x8a, 0x7d, 0x07, 0xe3, 0xdb, - 0x82, 0xc9, 0xb6, 0x59, 0xb5, 0x47, 0xfc, 0x50, 0x23, 0x7f, 0xa3, 0xea, 0x6b, 0x02, 0x80, 0x93, - 0x44, 0xed, 0x9f, 0x2a, 0xc0, 0xb9, 0xae, 0x46, 0x97, 0x08, 0xc3, 0x99, 0xed, 0x56, 0xe8, 0x2c, - 0x05, 0xa4, 0x41, 0xbc, 0xc8, 0x75, 0x9a, 0xb5, 0x36, 0xa9, 0x6b, 0x72, 0x7f, 0x66, 0xbd, 0x78, - 0x75, 0xad, 0xb6, 0x90, 0xc6, 0xc0, 0x39, 0x35, 0xd1, 0x0a, 0xa0, 0x34, 0x44, 0xcc, 0x30, 0x8b, - 0x6d, 0x9e, 0xa6, 0x87, 0x33, 0x6a, 0xa0, 0x0f, 0xc1, 0xb8, 0x32, 0xe6, 0xd4, 0x66, 0x9c, 0x1d, - 0xec, 0x58, 0x07, 0x60, 0x13, 0x0f, 0x5d, 0xe1, 0xc1, 0xf1, 0x45, 0x1a, 0x05, 0xa1, 0x24, 0x98, - 0x94, 0x91, 0xef, 0x45, 0x31, 0xd6, 0x71, 0x16, 0x5f, 0xfa, 0xd5, 0xdf, 0x3b, 0xff, 0x9e, 0xdf, - 0xf8, 0xbd, 0xf3, 0xef, 0xf9, 0xed, 0xdf, 0x3b, 0xff, 0x9e, 0xef, 0xba, 0x7f, 0xde, 0xfa, 0xd5, - 0xfb, 0xe7, 0xad, 0xdf, 0xb8, 0x7f, 0xde, 0xfa, 0xed, 0xfb, 0xe7, 0xad, 0xdf, 0xbd, 0x7f, 0xde, - 0xfa, 0xc2, 0xef, 0x9f, 0x7f, 0xcf, 0x27, 0x50, 0x1c, 0xde, 0xf2, 0x32, 0x9d, 0x9d, 0xcb, 0x7b, - 0x57, 0xfe, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5d, 0xff, 0x28, 0xc3, 0x2d, 0x09, 0x01, 0x00, + // 14376 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0xbd, 0x6b, 0x70, 0x24, 0xd7, + 0x79, 0x18, 0xaa, 0x9e, 0xc1, 0x6b, 0x3e, 0xbc, 0x0f, 0x76, 0x97, 0x58, 0x90, 0xbb, 0xb3, 0x6c, + 0x52, 0xcb, 0xa5, 0x48, 0x62, 0xb5, 0x7c, 0x48, 0x34, 0x29, 0xd1, 0x02, 0x30, 0xc0, 0x2e, 0xb8, + 0x0b, 0xec, 0xf0, 0x0c, 0x76, 0x57, 0x92, 0x29, 0x95, 0x1a, 0x33, 0x07, 0x40, 0x0b, 0x33, 0xdd, + 0xc3, 0xee, 0x1e, 0xec, 0x82, 0x57, 0xae, 0xeb, 0x2b, 0x3f, 0x65, 0xfb, 0xde, 0x52, 0xdd, 0x72, + 0x1e, 0x25, 0xbb, 0x5c, 0x29, 0xc7, 0x89, 0xad, 0x28, 0x49, 0xc5, 0x91, 0x63, 0x3b, 0x96, 0x13, + 0x3b, 0x6f, 0x27, 0x3f, 0x1c, 0xc7, 0x55, 0xb1, 0x5c, 0xe5, 0x0a, 0x62, 0xaf, 0x53, 0xe5, 0x52, + 0x55, 0x62, 0x3b, 0x71, 0x52, 0x95, 0x20, 0x4e, 0x9c, 0x3a, 0xcf, 0x3e, 0xa7, 0x1f, 0x33, 0x83, + 0x25, 0x16, 0xa2, 0x54, 0xfc, 0x37, 0x73, 0xbe, 0xef, 0x7c, 0xe7, 0xf4, 0x79, 0x7e, 0xe7, 0x7b, + 0xc2, 0xab, 0xbb, 0x2f, 0x87, 0xf3, 0xae, 0x7f, 0x79, 0xb7, 0xb3, 0x49, 0x02, 0x8f, 0x44, 0x24, + 0xbc, 0xbc, 0x47, 0xbc, 0x86, 0x1f, 0x5c, 0x16, 0x00, 0xa7, 0xed, 0x5e, 0xae, 0xfb, 0x01, 0xb9, + 0xbc, 0x77, 0xe5, 0xf2, 0x36, 0xf1, 0x48, 0xe0, 0x44, 0xa4, 0x31, 0xdf, 0x0e, 0xfc, 0xc8, 0x47, + 0x88, 0xe3, 0xcc, 0x3b, 0x6d, 0x77, 0x9e, 0xe2, 0xcc, 0xef, 0x5d, 0x99, 0x7b, 0x6e, 0xdb, 0x8d, + 0x76, 0x3a, 0x9b, 0xf3, 0x75, 0xbf, 0x75, 0x79, 0xdb, 0xdf, 0xf6, 0x2f, 0x33, 0xd4, 0xcd, 0xce, + 0x16, 0xfb, 0xc7, 0xfe, 0xb0, 0x5f, 0x9c, 0xc4, 0xdc, 0x8b, 0x71, 0x33, 0x2d, 0xa7, 0xbe, 0xe3, + 0x7a, 0x24, 0xd8, 0xbf, 0xdc, 0xde, 0xdd, 0x66, 0xed, 0x06, 0x24, 0xf4, 0x3b, 0x41, 0x9d, 0x24, + 0x1b, 0xee, 0x5a, 0x2b, 0xbc, 0xdc, 0x22, 0x91, 0x93, 0xd1, 0xdd, 0xb9, 0xcb, 0x79, 0xb5, 0x82, + 0x8e, 0x17, 0xb9, 0xad, 0x74, 0x33, 0x1f, 0xea, 0x55, 0x21, 0xac, 0xef, 0x90, 0x96, 0x93, 0xaa, + 0xf7, 0x42, 0x5e, 0xbd, 0x4e, 0xe4, 0x36, 0x2f, 0xbb, 0x5e, 0x14, 0x46, 0x41, 0xb2, 0x92, 0xfd, + 0x75, 0x0b, 0x2e, 0x2c, 0xdc, 0xa9, 0x2d, 0x37, 0x9d, 0x30, 0x72, 0xeb, 0x8b, 0x4d, 0xbf, 0xbe, + 0x5b, 0x8b, 0xfc, 0x80, 0xdc, 0xf6, 0x9b, 0x9d, 0x16, 0xa9, 0xb1, 0x81, 0x40, 0xcf, 0xc2, 0xc8, + 0x1e, 0xfb, 0xbf, 0x5a, 0x99, 0xb5, 0x2e, 0x58, 0x97, 0x4a, 0x8b, 0x53, 0xbf, 0x7e, 0x50, 0x7e, + 0xdf, 0xfd, 0x83, 0xf2, 0xc8, 0x6d, 0x51, 0x8e, 0x15, 0x06, 0xba, 0x08, 0x43, 0x5b, 0xe1, 0xc6, + 0x7e, 0x9b, 0xcc, 0x16, 0x18, 0xee, 0x84, 0xc0, 0x1d, 0x5a, 0xa9, 0xd1, 0x52, 0x2c, 0xa0, 0xe8, + 0x32, 0x94, 0xda, 0x4e, 0x10, 0xb9, 0x91, 0xeb, 0x7b, 0xb3, 0xc5, 0x0b, 0xd6, 0xa5, 0xc1, 0xc5, + 0x69, 0x81, 0x5a, 0xaa, 0x4a, 0x00, 0x8e, 0x71, 0x68, 0x37, 0x02, 0xe2, 0x34, 0x6e, 0x7a, 0xcd, + 0xfd, 0xd9, 0x81, 0x0b, 0xd6, 0xa5, 0x91, 0xb8, 0x1b, 0x58, 0x94, 0x63, 0x85, 0x61, 0x7f, 0xa9, + 0x00, 0x23, 0x0b, 0x5b, 0x5b, 0xae, 0xe7, 0x46, 0xfb, 0xe8, 0x36, 0x8c, 0x79, 0x7e, 0x83, 0xc8, + 0xff, 0xec, 0x2b, 0x46, 0x9f, 0xbf, 0x30, 0x9f, 0x5e, 0x4a, 0xf3, 0xeb, 0x1a, 0xde, 0xe2, 0xd4, + 0xfd, 0x83, 0xf2, 0x98, 0x5e, 0x82, 0x0d, 0x3a, 0x08, 0xc3, 0x68, 0xdb, 0x6f, 0x28, 0xb2, 0x05, + 0x46, 0xb6, 0x9c, 0x45, 0xb6, 0x1a, 0xa3, 0x2d, 0x4e, 0xde, 0x3f, 0x28, 0x8f, 0x6a, 0x05, 0x58, + 0x27, 0x82, 0x36, 0x61, 0x92, 0xfe, 0xf5, 0x22, 0x57, 0xd1, 0x2d, 0x32, 0xba, 0x4f, 0xe4, 0xd1, + 0xd5, 0x50, 0x17, 0x67, 0xee, 0x1f, 0x94, 0x27, 0x13, 0x85, 0x38, 0x49, 0xd0, 0x7e, 0x1b, 0x26, + 0x16, 0xa2, 0xc8, 0xa9, 0xef, 0x90, 0x06, 0x9f, 0x41, 0xf4, 0x22, 0x0c, 0x78, 0x4e, 0x8b, 0x88, + 0xf9, 0xbd, 0x20, 0x06, 0x76, 0x60, 0xdd, 0x69, 0x91, 0xc3, 0x83, 0xf2, 0xd4, 0x2d, 0xcf, 0x7d, + 0xab, 0x23, 0x56, 0x05, 0x2d, 0xc3, 0x0c, 0x1b, 0x3d, 0x0f, 0xd0, 0x20, 0x7b, 0x6e, 0x9d, 0x54, + 0x9d, 0x68, 0x47, 0xcc, 0x37, 0x12, 0x75, 0xa1, 0xa2, 0x20, 0x58, 0xc3, 0xb2, 0xef, 0x41, 0x69, + 0x61, 0xcf, 0x77, 0x1b, 0x55, 0xbf, 0x11, 0xa2, 0x5d, 0x98, 0x6c, 0x07, 0x64, 0x8b, 0x04, 0xaa, + 0x68, 0xd6, 0xba, 0x50, 0xbc, 0x34, 0xfa, 0xfc, 0xa5, 0xcc, 0x8f, 0x35, 0x51, 0x97, 0xbd, 0x28, + 0xd8, 0x5f, 0x7c, 0x44, 0xb4, 0x37, 0x99, 0x80, 0xe2, 0x24, 0x65, 0xfb, 0x9f, 0x16, 0xe0, 0xf4, + 0xc2, 0xdb, 0x9d, 0x80, 0x54, 0xdc, 0x70, 0x37, 0xb9, 0xc2, 0x1b, 0x6e, 0xb8, 0xbb, 0x1e, 0x8f, + 0x80, 0x5a, 0x5a, 0x15, 0x51, 0x8e, 0x15, 0x06, 0x7a, 0x0e, 0x86, 0xe9, 0xef, 0x5b, 0x78, 0x55, + 0x7c, 0xf2, 0x8c, 0x40, 0x1e, 0xad, 0x38, 0x91, 0x53, 0xe1, 0x20, 0x2c, 0x71, 0xd0, 0x1a, 0x8c, + 0xd6, 0xd9, 0x86, 0xdc, 0x5e, 0xf3, 0x1b, 0x84, 0x4d, 0x66, 0x69, 0xf1, 0x19, 0x8a, 0xbe, 0x14, + 0x17, 0x1f, 0x1e, 0x94, 0x67, 0x79, 0xdf, 0x04, 0x09, 0x0d, 0x86, 0xf5, 0xfa, 0xc8, 0x56, 0xfb, + 0x6b, 0x80, 0x51, 0x82, 0x8c, 0xbd, 0x75, 0x49, 0xdb, 0x2a, 0x83, 0x6c, 0xab, 0x8c, 0x65, 0x6f, + 0x13, 0x74, 0x05, 0x06, 0x76, 0x5d, 0xaf, 0x31, 0x3b, 0xc4, 0x68, 0x9d, 0xa3, 0x73, 0x7e, 0xdd, + 0xf5, 0x1a, 0x87, 0x07, 0xe5, 0x69, 0xa3, 0x3b, 0xb4, 0x10, 0x33, 0x54, 0xfb, 0x4f, 0x2d, 0x28, + 0x33, 0xd8, 0x8a, 0xdb, 0x24, 0x55, 0x12, 0x84, 0x6e, 0x18, 0x11, 0x2f, 0x32, 0x06, 0xf4, 0x79, + 0x80, 0x90, 0xd4, 0x03, 0x12, 0x69, 0x43, 0xaa, 0x16, 0x46, 0x4d, 0x41, 0xb0, 0x86, 0x45, 0x0f, + 0x84, 0x70, 0xc7, 0x09, 0xd8, 0xfa, 0x12, 0x03, 0xab, 0x0e, 0x84, 0x9a, 0x04, 0xe0, 0x18, 0xc7, + 0x38, 0x10, 0x8a, 0xbd, 0x0e, 0x04, 0xf4, 0x51, 0x98, 0x8c, 0x1b, 0x0b, 0xdb, 0x4e, 0x5d, 0x0e, + 0x20, 0xdb, 0x32, 0x35, 0x13, 0x84, 0x93, 0xb8, 0xf6, 0xdf, 0xb0, 0xc4, 0xe2, 0xa1, 0x5f, 0xfd, + 0x2e, 0xff, 0x56, 0xfb, 0x97, 0x2c, 0x18, 0x5e, 0x74, 0xbd, 0x86, 0xeb, 0x6d, 0xa3, 0xcf, 0xc0, + 0x08, 0xbd, 0x9b, 0x1a, 0x4e, 0xe4, 0x88, 0x73, 0xef, 0x83, 0xda, 0xde, 0x52, 0x57, 0xc5, 0x7c, + 0x7b, 0x77, 0x9b, 0x16, 0x84, 0xf3, 0x14, 0x9b, 0xee, 0xb6, 0x9b, 0x9b, 0x9f, 0x25, 0xf5, 0x68, + 0x8d, 0x44, 0x4e, 0xfc, 0x39, 0x71, 0x19, 0x56, 0x54, 0xd1, 0x75, 0x18, 0x8a, 0x9c, 0x60, 0x9b, + 0x44, 0xe2, 0x00, 0xcc, 0x3c, 0xa8, 0x78, 0x4d, 0x4c, 0x77, 0x24, 0xf1, 0xea, 0x24, 0xbe, 0x16, + 0x36, 0x58, 0x55, 0x2c, 0x48, 0xd8, 0xff, 0x6b, 0x18, 0xce, 0x2e, 0xd5, 0x56, 0x73, 0xd6, 0xd5, + 0x45, 0x18, 0x6a, 0x04, 0xee, 0x1e, 0x09, 0xc4, 0x38, 0x2b, 0x2a, 0x15, 0x56, 0x8a, 0x05, 0x14, + 0xbd, 0x0c, 0x63, 0xfc, 0x42, 0xba, 0xe6, 0x78, 0x8d, 0xa6, 0x1c, 0xe2, 0x53, 0x02, 0x7b, 0xec, + 0xb6, 0x06, 0xc3, 0x06, 0xe6, 0x11, 0x17, 0xd5, 0xc5, 0xc4, 0x66, 0xcc, 0xbb, 0xec, 0xbe, 0x60, + 0xc1, 0x14, 0x6f, 0x66, 0x21, 0x8a, 0x02, 0x77, 0xb3, 0x13, 0x91, 0x70, 0x76, 0x90, 0x9d, 0x74, + 0x4b, 0x59, 0xa3, 0x95, 0x3b, 0x02, 0xf3, 0xb7, 0x13, 0x54, 0xf8, 0x21, 0x38, 0x2b, 0xda, 0x9d, + 0x4a, 0x82, 0x71, 0xaa, 0x59, 0xf4, 0xbd, 0x16, 0xcc, 0xd5, 0x7d, 0x2f, 0x0a, 0xfc, 0x66, 0x93, + 0x04, 0xd5, 0xce, 0x66, 0xd3, 0x0d, 0x77, 0xf8, 0x3a, 0xc5, 0x64, 0x8b, 0x9d, 0x04, 0x39, 0x73, + 0xa8, 0x90, 0xc4, 0x1c, 0x9e, 0xbf, 0x7f, 0x50, 0x9e, 0x5b, 0xca, 0x25, 0x85, 0xbb, 0x34, 0x83, + 0x76, 0x01, 0xd1, 0xab, 0xb4, 0x16, 0x39, 0xdb, 0x24, 0x6e, 0x7c, 0xb8, 0xff, 0xc6, 0xcf, 0xdc, + 0x3f, 0x28, 0xa3, 0xf5, 0x14, 0x09, 0x9c, 0x41, 0x16, 0xbd, 0x05, 0xa7, 0x68, 0x69, 0xea, 0x5b, + 0x47, 0xfa, 0x6f, 0x6e, 0xf6, 0xfe, 0x41, 0xf9, 0xd4, 0x7a, 0x06, 0x11, 0x9c, 0x49, 0x1a, 0x7d, + 0x8f, 0x05, 0x67, 0xe3, 0xcf, 0x5f, 0xbe, 0xd7, 0x76, 0xbc, 0x46, 0xdc, 0x70, 0xa9, 0xff, 0x86, + 0xe9, 0x99, 0x7c, 0x76, 0x29, 0x8f, 0x12, 0xce, 0x6f, 0x04, 0x79, 0x30, 0x43, 0xbb, 0x96, 0x6c, + 0x1b, 0xfa, 0x6f, 0xfb, 0x91, 0xfb, 0x07, 0xe5, 0x99, 0xf5, 0x34, 0x0d, 0x9c, 0x45, 0x78, 0x6e, + 0x09, 0x4e, 0x67, 0xae, 0x4e, 0x34, 0x05, 0xc5, 0x5d, 0xc2, 0xb9, 0xae, 0x12, 0xa6, 0x3f, 0xd1, + 0x29, 0x18, 0xdc, 0x73, 0x9a, 0x1d, 0xb1, 0x31, 0x31, 0xff, 0xf3, 0x4a, 0xe1, 0x65, 0xcb, 0xfe, + 0x67, 0x45, 0x98, 0x5c, 0xaa, 0xad, 0x3e, 0xd0, 0xae, 0xd7, 0xaf, 0xbd, 0x42, 0xd7, 0x6b, 0x2f, + 0xbe, 0x44, 0x8b, 0xb9, 0x97, 0xe8, 0xff, 0x9d, 0xb1, 0x65, 0x07, 0xd8, 0x96, 0xfd, 0x8e, 0x9c, + 0x2d, 0x7b, 0xcc, 0x1b, 0x75, 0x2f, 0x67, 0xd5, 0x0e, 0xb2, 0x09, 0xcc, 0xe4, 0x90, 0x6e, 0xf8, + 0x75, 0xa7, 0x99, 0x3c, 0x6a, 0x8f, 0xb8, 0x74, 0x8f, 0x67, 0x1e, 0xeb, 0x30, 0xb6, 0xe4, 0xb4, + 0x9d, 0x4d, 0xb7, 0xe9, 0x46, 0x2e, 0x09, 0xd1, 0x53, 0x50, 0x74, 0x1a, 0x0d, 0xc6, 0xdd, 0x95, + 0x16, 0x4f, 0xdf, 0x3f, 0x28, 0x17, 0x17, 0x1a, 0x94, 0xcd, 0x00, 0x85, 0xb5, 0x8f, 0x29, 0x06, + 0xfa, 0x00, 0x0c, 0x34, 0x02, 0xbf, 0x3d, 0x5b, 0x60, 0x98, 0x74, 0x97, 0x0f, 0x54, 0x02, 0xbf, + 0x9d, 0x40, 0x65, 0x38, 0xf6, 0xaf, 0x15, 0xe0, 0xb1, 0x25, 0xd2, 0xde, 0x59, 0xa9, 0xe5, 0xdc, + 0x17, 0x97, 0x60, 0xa4, 0xe5, 0x7b, 0x6e, 0xe4, 0x07, 0xa1, 0x68, 0x9a, 0xad, 0x88, 0x35, 0x51, + 0x86, 0x15, 0x14, 0x5d, 0x80, 0x81, 0x76, 0xcc, 0xc4, 0x8e, 0x49, 0x06, 0x98, 0xb1, 0xaf, 0x0c, + 0x42, 0x31, 0x3a, 0x21, 0x09, 0xc4, 0x8a, 0x51, 0x18, 0xb7, 0x42, 0x12, 0x60, 0x06, 0x89, 0x39, + 0x01, 0xca, 0x23, 0x88, 0x1b, 0x21, 0xc1, 0x09, 0x50, 0x08, 0xd6, 0xb0, 0x50, 0x15, 0x4a, 0x61, + 0x62, 0x66, 0xfb, 0xda, 0x9a, 0xe3, 0x8c, 0x55, 0x50, 0x33, 0x19, 0x13, 0x31, 0x6e, 0xb0, 0xa1, + 0x9e, 0xac, 0xc2, 0xd7, 0x0a, 0x80, 0xf8, 0x10, 0x7e, 0x8b, 0x0d, 0xdc, 0xad, 0xf4, 0xc0, 0xf5, + 0xbf, 0x25, 0x8e, 0x6b, 0xf4, 0xfe, 0xab, 0x05, 0x8f, 0x2d, 0xb9, 0x5e, 0x83, 0x04, 0x39, 0x0b, + 0xf0, 0xe1, 0xbc, 0x9d, 0x8f, 0xc6, 0xa4, 0x18, 0x4b, 0x6c, 0xe0, 0x18, 0x96, 0x98, 0xfd, 0xc7, + 0x16, 0x20, 0xfe, 0xd9, 0xef, 0xba, 0x8f, 0xbd, 0x95, 0xfe, 0xd8, 0x63, 0x58, 0x16, 0xf6, 0x0d, + 0x98, 0x58, 0x6a, 0xba, 0xc4, 0x8b, 0x56, 0xab, 0x4b, 0xbe, 0xb7, 0xe5, 0x6e, 0xa3, 0x57, 0x60, + 0x22, 0x72, 0x5b, 0xc4, 0xef, 0x44, 0x35, 0x52, 0xf7, 0x3d, 0xf6, 0x72, 0xb5, 0x2e, 0x0d, 0x2e, + 0xa2, 0xfb, 0x07, 0xe5, 0x89, 0x0d, 0x03, 0x82, 0x13, 0x98, 0xf6, 0xef, 0xd2, 0xf1, 0xf3, 0x5b, + 0x6d, 0xdf, 0x23, 0x5e, 0xb4, 0xe4, 0x7b, 0x0d, 0x2e, 0xe1, 0x78, 0x05, 0x06, 0x22, 0x3a, 0x1e, + 0x7c, 0xec, 0x2e, 0xca, 0x8d, 0x42, 0x47, 0xe1, 0xf0, 0xa0, 0x7c, 0x26, 0x5d, 0x83, 0x8d, 0x13, + 0xab, 0x83, 0xbe, 0x03, 0x86, 0xc2, 0xc8, 0x89, 0x3a, 0xa1, 0x18, 0xcd, 0xc7, 0xe5, 0x68, 0xd6, + 0x58, 0xe9, 0xe1, 0x41, 0x79, 0x52, 0x55, 0xe3, 0x45, 0x58, 0x54, 0x40, 0x4f, 0xc3, 0x70, 0x8b, + 0x84, 0xa1, 0xb3, 0x2d, 0x6f, 0xc3, 0x49, 0x51, 0x77, 0x78, 0x8d, 0x17, 0x63, 0x09, 0x47, 0x4f, + 0xc0, 0x20, 0x09, 0x02, 0x3f, 0x10, 0x7b, 0x74, 0x5c, 0x20, 0x0e, 0x2e, 0xd3, 0x42, 0xcc, 0x61, + 0xf6, 0xbf, 0xb6, 0x60, 0x52, 0xf5, 0x95, 0xb7, 0x75, 0x02, 0xaf, 0x90, 0x4f, 0x02, 0xd4, 0xe5, + 0x07, 0x86, 0xec, 0xf6, 0x18, 0x7d, 0xfe, 0x62, 0xe6, 0x45, 0x9d, 0x1a, 0xc6, 0x98, 0xb2, 0x2a, + 0x0a, 0xb1, 0x46, 0xcd, 0xfe, 0x07, 0x16, 0xcc, 0x24, 0xbe, 0xe8, 0x86, 0x1b, 0x46, 0xe8, 0xcd, + 0xd4, 0x57, 0xcd, 0xf7, 0xf7, 0x55, 0xb4, 0x36, 0xfb, 0x26, 0xb5, 0x94, 0x65, 0x89, 0xf6, 0x45, + 0xd7, 0x60, 0xd0, 0x8d, 0x48, 0x4b, 0x7e, 0xcc, 0x13, 0x5d, 0x3f, 0x86, 0xf7, 0x2a, 0x9e, 0x91, + 0x55, 0x5a, 0x13, 0x73, 0x02, 0xf6, 0xaf, 0x15, 0xa1, 0xc4, 0x97, 0xed, 0x9a, 0xd3, 0x3e, 0x81, + 0xb9, 0x78, 0x06, 0x4a, 0x6e, 0xab, 0xd5, 0x89, 0x9c, 0x4d, 0x71, 0x9c, 0x8f, 0xf0, 0xad, 0xb5, + 0x2a, 0x0b, 0x71, 0x0c, 0x47, 0xab, 0x30, 0xc0, 0xba, 0xc2, 0xbf, 0xf2, 0xa9, 0xec, 0xaf, 0x14, + 0x7d, 0x9f, 0xaf, 0x38, 0x91, 0xc3, 0x39, 0x29, 0x75, 0x8f, 0xd0, 0x22, 0xcc, 0x48, 0x20, 0x07, + 0x60, 0xd3, 0xf5, 0x9c, 0x60, 0x9f, 0x96, 0xcd, 0x16, 0x19, 0xc1, 0xe7, 0xba, 0x13, 0x5c, 0x54, + 0xf8, 0x9c, 0xac, 0xfa, 0xb0, 0x18, 0x80, 0x35, 0xa2, 0x73, 0x1f, 0x86, 0x92, 0x42, 0x3e, 0x0a, + 0x43, 0x34, 0xf7, 0x51, 0x98, 0x4c, 0xb4, 0xd5, 0xab, 0xfa, 0x98, 0xce, 0x4f, 0xfd, 0x32, 0x3b, + 0x32, 0x44, 0xaf, 0x97, 0xbd, 0x3d, 0x71, 0xe4, 0xbe, 0x0d, 0xa7, 0x9a, 0x19, 0x27, 0x99, 0x98, + 0xd7, 0xfe, 0x4f, 0xbe, 0xc7, 0xc4, 0x67, 0x9f, 0xca, 0x82, 0xe2, 0xcc, 0x36, 0x28, 0x8f, 0xe0, + 0xb7, 0xe9, 0x06, 0x71, 0x9a, 0x3a, 0xbb, 0x7d, 0x53, 0x94, 0x61, 0x05, 0xa5, 0xe7, 0xdd, 0x29, + 0xd5, 0xf9, 0xeb, 0x64, 0xbf, 0x46, 0x9a, 0xa4, 0x1e, 0xf9, 0xc1, 0x37, 0xb5, 0xfb, 0xe7, 0xf8, + 0xe8, 0xf3, 0xe3, 0x72, 0x54, 0x10, 0x28, 0x5e, 0x27, 0xfb, 0x7c, 0x2a, 0xf4, 0xaf, 0x2b, 0x76, + 0xfd, 0xba, 0x9f, 0xb3, 0x60, 0x5c, 0x7d, 0xdd, 0x09, 0x9c, 0x0b, 0x8b, 0xe6, 0xb9, 0x70, 0xae, + 0xeb, 0x02, 0xcf, 0x39, 0x11, 0xbe, 0x56, 0x80, 0xb3, 0x0a, 0x87, 0xbe, 0x0d, 0xf8, 0x1f, 0xb1, + 0xaa, 0x2e, 0x43, 0xc9, 0x53, 0x52, 0x32, 0xcb, 0x14, 0x4f, 0xc5, 0x32, 0xb2, 0x18, 0x87, 0xb2, + 0x78, 0x5e, 0x2c, 0xca, 0x1a, 0xd3, 0xc5, 0xc7, 0x42, 0x54, 0xbc, 0x08, 0xc5, 0x8e, 0xdb, 0x10, + 0x17, 0xcc, 0x07, 0xe5, 0x68, 0xdf, 0x5a, 0xad, 0x1c, 0x1e, 0x94, 0x1f, 0xcf, 0x53, 0x5d, 0xd0, + 0x9b, 0x2d, 0x9c, 0xbf, 0xb5, 0x5a, 0xc1, 0xb4, 0x32, 0x5a, 0x80, 0x49, 0xa9, 0x9d, 0xb9, 0x4d, + 0xd9, 0x2d, 0xdf, 0x13, 0xf7, 0x90, 0x92, 0x01, 0x63, 0x13, 0x8c, 0x93, 0xf8, 0xa8, 0x02, 0x53, + 0xbb, 0x9d, 0x4d, 0xd2, 0x24, 0x11, 0xff, 0xe0, 0xeb, 0x84, 0x4b, 0x48, 0x4b, 0xf1, 0xcb, 0xec, + 0x7a, 0x02, 0x8e, 0x53, 0x35, 0xec, 0x3f, 0x67, 0xf7, 0x81, 0x18, 0xbd, 0x6a, 0xe0, 0xd3, 0x85, + 0x45, 0xa9, 0x7f, 0x33, 0x97, 0x73, 0x3f, 0xab, 0xe2, 0x3a, 0xd9, 0xdf, 0xf0, 0x29, 0x67, 0x9e, + 0xbd, 0x2a, 0x8c, 0x35, 0x3f, 0xd0, 0x75, 0xcd, 0xff, 0x7c, 0x01, 0x4e, 0xab, 0x11, 0x30, 0x98, + 0xc0, 0x6f, 0xf5, 0x31, 0xb8, 0x02, 0xa3, 0x0d, 0xb2, 0xe5, 0x74, 0x9a, 0x91, 0x12, 0xd7, 0x0f, + 0x72, 0x95, 0x4d, 0x25, 0x2e, 0xc6, 0x3a, 0xce, 0x11, 0x86, 0xed, 0xbf, 0x8d, 0xb2, 0x8b, 0x38, + 0x72, 0xe8, 0x1a, 0x57, 0xbb, 0xc6, 0xca, 0xdd, 0x35, 0x4f, 0xc0, 0xa0, 0xdb, 0xa2, 0x8c, 0x59, + 0xc1, 0xe4, 0xb7, 0x56, 0x69, 0x21, 0xe6, 0x30, 0xf4, 0x7e, 0x18, 0xae, 0xfb, 0xad, 0x96, 0xe3, + 0x35, 0xd8, 0x95, 0x57, 0x5a, 0x1c, 0xa5, 0xbc, 0xdb, 0x12, 0x2f, 0xc2, 0x12, 0x86, 0x1e, 0x83, + 0x01, 0x27, 0xd8, 0xe6, 0x32, 0x8c, 0xd2, 0xe2, 0x08, 0x6d, 0x69, 0x21, 0xd8, 0x0e, 0x31, 0x2b, + 0xa5, 0x4f, 0xb0, 0xbb, 0x7e, 0xb0, 0xeb, 0x7a, 0xdb, 0x15, 0x37, 0x10, 0x5b, 0x42, 0xdd, 0x85, + 0x77, 0x14, 0x04, 0x6b, 0x58, 0x68, 0x05, 0x06, 0xdb, 0x7e, 0x10, 0x85, 0xb3, 0x43, 0x6c, 0xb8, + 0x1f, 0xcf, 0x39, 0x88, 0xf8, 0xd7, 0x56, 0xfd, 0x20, 0x8a, 0x3f, 0x80, 0xfe, 0x0b, 0x31, 0xaf, + 0x8e, 0x6e, 0xc0, 0x30, 0xf1, 0xf6, 0x56, 0x02, 0xbf, 0x35, 0x3b, 0x93, 0x4f, 0x69, 0x99, 0xa3, + 0xf0, 0x65, 0x16, 0xf3, 0xa8, 0xa2, 0x18, 0x4b, 0x12, 0xe8, 0x3b, 0xa0, 0x48, 0xbc, 0xbd, 0xd9, + 0x61, 0x46, 0x69, 0x2e, 0x87, 0xd2, 0x6d, 0x27, 0x88, 0xcf, 0xfc, 0x65, 0x6f, 0x0f, 0xd3, 0x3a, + 0xe8, 0x13, 0x50, 0x92, 0x07, 0x46, 0x28, 0x84, 0x83, 0x99, 0x0b, 0x56, 0x1e, 0x33, 0x98, 0xbc, + 0xd5, 0x71, 0x03, 0xd2, 0x22, 0x5e, 0x14, 0xc6, 0x27, 0xa4, 0x84, 0x86, 0x38, 0xa6, 0x86, 0x3e, + 0x21, 0x25, 0xd2, 0x6b, 0x7e, 0xc7, 0x8b, 0xc2, 0xd9, 0x12, 0xeb, 0x5e, 0xa6, 0xae, 0xf0, 0x76, + 0x8c, 0x97, 0x14, 0x59, 0xf3, 0xca, 0xd8, 0x20, 0x85, 0x3e, 0x05, 0xe3, 0xfc, 0x3f, 0xd7, 0xb8, + 0x85, 0xb3, 0xa7, 0x19, 0xed, 0x0b, 0xf9, 0xb4, 0x39, 0xe2, 0xe2, 0x69, 0x41, 0x7c, 0x5c, 0x2f, + 0x0d, 0xb1, 0x49, 0x0d, 0x61, 0x18, 0x6f, 0xba, 0x7b, 0xc4, 0x23, 0x61, 0x58, 0x0d, 0xfc, 0x4d, + 0x22, 0x04, 0x88, 0x67, 0xb3, 0x35, 0x74, 0xfe, 0x26, 0x59, 0x9c, 0xa6, 0x34, 0x6f, 0xe8, 0x75, + 0xb0, 0x49, 0x02, 0xdd, 0x82, 0x09, 0xfa, 0x62, 0x73, 0x63, 0xa2, 0xa3, 0xbd, 0x88, 0xb2, 0x77, + 0x15, 0x36, 0x2a, 0xe1, 0x04, 0x11, 0x74, 0x13, 0xc6, 0xc2, 0xc8, 0x09, 0xa2, 0x4e, 0x9b, 0x13, + 0x3d, 0xd3, 0x8b, 0x28, 0x53, 0xf0, 0xd6, 0xb4, 0x2a, 0xd8, 0x20, 0x80, 0x5e, 0x87, 0x52, 0xd3, + 0xdd, 0x22, 0xf5, 0xfd, 0x7a, 0x93, 0xcc, 0x8e, 0x31, 0x6a, 0x99, 0x87, 0xca, 0x0d, 0x89, 0xc4, + 0xf9, 0x5c, 0xf5, 0x17, 0xc7, 0xd5, 0xd1, 0x6d, 0x38, 0x13, 0x91, 0xa0, 0xe5, 0x7a, 0x0e, 0x3d, + 0x0c, 0xc4, 0xd3, 0x8a, 0x29, 0x4e, 0xc7, 0xd9, 0x6e, 0x3b, 0x2f, 0x66, 0xe3, 0xcc, 0x46, 0x26, + 0x16, 0xce, 0xa9, 0x8d, 0xee, 0xc1, 0x6c, 0x06, 0xc4, 0x6f, 0xba, 0xf5, 0xfd, 0xd9, 0x53, 0x8c, + 0xf2, 0x47, 0x04, 0xe5, 0xd9, 0x8d, 0x1c, 0xbc, 0xc3, 0x2e, 0x30, 0x9c, 0x4b, 0x1d, 0xdd, 0x84, + 0x49, 0x76, 0x02, 0x55, 0x3b, 0xcd, 0xa6, 0x68, 0x70, 0x82, 0x35, 0xf8, 0x7e, 0x79, 0x1f, 0xaf, + 0x9a, 0xe0, 0xc3, 0x83, 0x32, 0xc4, 0xff, 0x70, 0xb2, 0x36, 0xda, 0x64, 0x3a, 0xba, 0x4e, 0xe0, + 0x46, 0xfb, 0xf4, 0xdc, 0x20, 0xf7, 0xa2, 0xd9, 0xc9, 0xae, 0xf2, 0x0a, 0x1d, 0x55, 0x29, 0xf2, + 0xf4, 0x42, 0x9c, 0x24, 0x48, 0x8f, 0xd4, 0x30, 0x6a, 0xb8, 0xde, 0xec, 0x14, 0x7f, 0x97, 0xc8, + 0x13, 0xa9, 0x46, 0x0b, 0x31, 0x87, 0x31, 0xfd, 0x1c, 0xfd, 0x71, 0x93, 0xde, 0x5c, 0xd3, 0x0c, + 0x31, 0xd6, 0xcf, 0x49, 0x00, 0x8e, 0x71, 0x28, 0x33, 0x19, 0x45, 0xfb, 0xb3, 0x88, 0xa1, 0xaa, + 0x83, 0x65, 0x63, 0xe3, 0x13, 0x98, 0x96, 0xdb, 0x9b, 0x30, 0xa1, 0x0e, 0x42, 0x36, 0x26, 0xa8, + 0x0c, 0x83, 0x8c, 0x7d, 0x12, 0xd2, 0xb5, 0x12, 0xed, 0x02, 0x63, 0xad, 0x30, 0x2f, 0x67, 0x5d, + 0x70, 0xdf, 0x26, 0x8b, 0xfb, 0x11, 0xe1, 0x6f, 0xfa, 0xa2, 0xd6, 0x05, 0x09, 0xc0, 0x31, 0x8e, + 0xfd, 0xbf, 0x39, 0x1b, 0x1a, 0x9f, 0xb6, 0x7d, 0xdc, 0x2f, 0xcf, 0xc2, 0xc8, 0x8e, 0x1f, 0x46, + 0x14, 0x9b, 0xb5, 0x31, 0x18, 0x33, 0x9e, 0xd7, 0x44, 0x39, 0x56, 0x18, 0xe8, 0x55, 0x18, 0xaf, + 0xeb, 0x0d, 0x88, 0xcb, 0x51, 0x1d, 0x23, 0x46, 0xeb, 0xd8, 0xc4, 0x45, 0x2f, 0xc3, 0x08, 0xb3, + 0x39, 0xa9, 0xfb, 0x4d, 0xc1, 0xb5, 0xc9, 0x1b, 0x7e, 0xa4, 0x2a, 0xca, 0x0f, 0xb5, 0xdf, 0x58, + 0x61, 0xa3, 0x8b, 0x30, 0x44, 0xbb, 0xb0, 0x5a, 0x15, 0xd7, 0x92, 0x12, 0x14, 0x5d, 0x63, 0xa5, + 0x58, 0x40, 0xed, 0xff, 0xbf, 0xa0, 0x8d, 0x32, 0x7d, 0x0f, 0x13, 0x54, 0x85, 0xe1, 0xbb, 0x8e, + 0x1b, 0xb9, 0xde, 0xb6, 0xe0, 0x3f, 0x9e, 0xee, 0x7a, 0x47, 0xb1, 0x4a, 0x77, 0x78, 0x05, 0x7e, + 0x8b, 0x8a, 0x3f, 0x58, 0x92, 0xa1, 0x14, 0x83, 0x8e, 0xe7, 0x51, 0x8a, 0x85, 0x7e, 0x29, 0x62, + 0x5e, 0x81, 0x53, 0x14, 0x7f, 0xb0, 0x24, 0x83, 0xde, 0x04, 0x90, 0x3b, 0x8c, 0x34, 0x84, 0xad, + 0xc7, 0xb3, 0xbd, 0x89, 0x6e, 0xa8, 0x3a, 0x8b, 0x13, 0xf4, 0x8e, 0x8e, 0xff, 0x63, 0x8d, 0x9e, + 0x1d, 0x31, 0x3e, 0x2d, 0xdd, 0x19, 0xf4, 0x5d, 0x74, 0x89, 0x3b, 0x41, 0x44, 0x1a, 0x0b, 0x91, + 0x18, 0x9c, 0x0f, 0xf4, 0xf7, 0x48, 0xd9, 0x70, 0x5b, 0x44, 0xdf, 0x0e, 0x82, 0x08, 0x8e, 0xe9, + 0xd9, 0xbf, 0x58, 0x84, 0xd9, 0xbc, 0xee, 0xd2, 0x45, 0x47, 0xee, 0xb9, 0xd1, 0x12, 0x65, 0xaf, + 0x2c, 0x73, 0xd1, 0x2d, 0x8b, 0x72, 0xac, 0x30, 0xe8, 0xec, 0x87, 0xee, 0xb6, 0x7c, 0x63, 0x0e, + 0xc6, 0xb3, 0x5f, 0x63, 0xa5, 0x58, 0x40, 0x29, 0x5e, 0x40, 0x9c, 0x50, 0x18, 0x13, 0x69, 0xab, + 0x04, 0xb3, 0x52, 0x2c, 0xa0, 0xba, 0xb4, 0x6b, 0xa0, 0x87, 0xb4, 0xcb, 0x18, 0xa2, 0xc1, 0xe3, + 0x1d, 0x22, 0xf4, 0x69, 0x80, 0x2d, 0xd7, 0x73, 0xc3, 0x1d, 0x46, 0x7d, 0xe8, 0xc8, 0xd4, 0x15, + 0x73, 0xb6, 0xa2, 0xa8, 0x60, 0x8d, 0x22, 0x7a, 0x09, 0x46, 0xd5, 0x06, 0x5c, 0xad, 0x30, 0xcd, + 0xaa, 0x66, 0xa9, 0x12, 0x9f, 0x46, 0x15, 0xac, 0xe3, 0xd9, 0x9f, 0x4d, 0xae, 0x17, 0xb1, 0x03, + 0xb4, 0xf1, 0xb5, 0xfa, 0x1d, 0xdf, 0x42, 0xf7, 0xf1, 0xb5, 0xbf, 0x51, 0x84, 0x49, 0xa3, 0xb1, + 0x4e, 0xd8, 0xc7, 0x99, 0x75, 0x95, 0x1e, 0xe0, 0x4e, 0x44, 0xc4, 0xfe, 0xb3, 0x7b, 0x6f, 0x15, + 0xfd, 0x90, 0xa7, 0x3b, 0x80, 0xd7, 0x47, 0x9f, 0x86, 0x52, 0xd3, 0x09, 0x99, 0xe4, 0x8c, 0x88, + 0x7d, 0xd7, 0x0f, 0xb1, 0xf8, 0x61, 0xe2, 0x84, 0x91, 0x76, 0x6b, 0x72, 0xda, 0x31, 0x49, 0x7a, + 0xd3, 0x50, 0xfe, 0x44, 0x5a, 0xab, 0xa9, 0x4e, 0x50, 0x26, 0x66, 0x1f, 0x73, 0x18, 0x7a, 0x19, + 0xc6, 0x02, 0xc2, 0x56, 0xc5, 0x12, 0xe5, 0xe6, 0xd8, 0x32, 0x1b, 0x8c, 0xd9, 0x3e, 0xac, 0xc1, + 0xb0, 0x81, 0x19, 0xbf, 0x0d, 0x86, 0xba, 0xbc, 0x0d, 0x9e, 0x86, 0x61, 0xf6, 0x43, 0xad, 0x00, + 0x35, 0x1b, 0xab, 0xbc, 0x18, 0x4b, 0x78, 0x72, 0xc1, 0x8c, 0xf4, 0xb7, 0x60, 0xe8, 0xeb, 0x43, + 0x2c, 0x6a, 0xa6, 0xd5, 0x1e, 0xe1, 0xa7, 0x9c, 0x58, 0xf2, 0x58, 0xc2, 0xec, 0x0f, 0xc0, 0x44, + 0xc5, 0x21, 0x2d, 0xdf, 0x5b, 0xf6, 0x1a, 0x6d, 0xdf, 0xf5, 0x22, 0x34, 0x0b, 0x03, 0xec, 0x12, + 0xe1, 0x47, 0xc0, 0x00, 0x6d, 0x08, 0xb3, 0x12, 0x7b, 0x1b, 0x4e, 0x57, 0xfc, 0xbb, 0xde, 0x5d, + 0x27, 0x68, 0x2c, 0x54, 0x57, 0xb5, 0xf7, 0xf5, 0xba, 0x7c, 0xdf, 0x71, 0x23, 0xb1, 0xcc, 0xa3, + 0x57, 0xab, 0xc9, 0xd9, 0xda, 0x15, 0xb7, 0x49, 0x72, 0xa4, 0x20, 0x7f, 0xa9, 0x60, 0xb4, 0x14, + 0xe3, 0x2b, 0xad, 0x96, 0x95, 0xab, 0xd5, 0x7a, 0x03, 0x46, 0xb6, 0x5c, 0xd2, 0x6c, 0x60, 0xb2, + 0x25, 0x56, 0xe2, 0x53, 0xf9, 0x76, 0x2f, 0x2b, 0x14, 0x53, 0x4a, 0xbd, 0xf8, 0xeb, 0x70, 0x45, + 0x54, 0xc6, 0x8a, 0x0c, 0xda, 0x85, 0x29, 0xf9, 0x60, 0x90, 0x50, 0xb1, 0x2e, 0x9f, 0xee, 0xf6, + 0x0a, 0x31, 0x89, 0x9f, 0xba, 0x7f, 0x50, 0x9e, 0xc2, 0x09, 0x32, 0x38, 0x45, 0x98, 0x3e, 0x07, + 0x5b, 0xf4, 0x04, 0x1e, 0x60, 0xc3, 0xcf, 0x9e, 0x83, 0xec, 0x65, 0xcb, 0x4a, 0xed, 0x9f, 0xb0, + 0xe0, 0x91, 0xd4, 0xc8, 0x88, 0x17, 0xfe, 0x31, 0xcf, 0x42, 0xf2, 0xc5, 0x5d, 0xe8, 0xfd, 0xe2, + 0xb6, 0xff, 0xa6, 0x05, 0xa7, 0x96, 0x5b, 0xed, 0x68, 0xbf, 0xe2, 0x9a, 0x2a, 0xa8, 0x0f, 0xc3, + 0x50, 0x8b, 0x34, 0xdc, 0x4e, 0x4b, 0xcc, 0x5c, 0x59, 0x9e, 0x52, 0x6b, 0xac, 0xf4, 0xf0, 0xa0, + 0x3c, 0x5e, 0x8b, 0xfc, 0xc0, 0xd9, 0x26, 0xbc, 0x00, 0x0b, 0x74, 0x76, 0xd6, 0xbb, 0x6f, 0x93, + 0x1b, 0x6e, 0xcb, 0x95, 0x76, 0x4c, 0x5d, 0x65, 0x76, 0xf3, 0x72, 0x40, 0xe7, 0xdf, 0xe8, 0x38, + 0x5e, 0xe4, 0x46, 0xfb, 0x42, 0x7b, 0x24, 0x89, 0xe0, 0x98, 0x9e, 0xfd, 0x75, 0x0b, 0x26, 0xe5, + 0xba, 0x5f, 0x68, 0x34, 0x02, 0x12, 0x86, 0x68, 0x0e, 0x0a, 0x6e, 0x5b, 0xf4, 0x12, 0x44, 0x2f, + 0x0b, 0xab, 0x55, 0x5c, 0x70, 0xdb, 0x92, 0x2d, 0x63, 0x07, 0x61, 0xd1, 0x54, 0xa4, 0x5d, 0x13, + 0xe5, 0x58, 0x61, 0xa0, 0x4b, 0x30, 0xe2, 0xf9, 0x0d, 0x6e, 0x4b, 0xc6, 0xaf, 0x34, 0xb6, 0xc0, + 0xd6, 0x45, 0x19, 0x56, 0x50, 0x54, 0x85, 0x12, 0x37, 0xb3, 0x8a, 0x17, 0x6d, 0x5f, 0xc6, 0x5a, + 0xec, 0xcb, 0x36, 0x64, 0x4d, 0x1c, 0x13, 0xb1, 0x7f, 0xd5, 0x82, 0x31, 0xf9, 0x65, 0x7d, 0xf2, + 0x9c, 0x74, 0x6b, 0xc5, 0xfc, 0x66, 0xbc, 0xb5, 0x28, 0xcf, 0xc8, 0x20, 0x06, 0xab, 0x58, 0x3c, + 0x12, 0xab, 0x78, 0x05, 0x46, 0x9d, 0x76, 0xbb, 0x6a, 0xf2, 0x99, 0x6c, 0x29, 0x2d, 0xc4, 0xc5, + 0x58, 0xc7, 0xb1, 0x7f, 0xbc, 0x00, 0x13, 0xf2, 0x0b, 0x6a, 0x9d, 0xcd, 0x90, 0x44, 0x68, 0x03, + 0x4a, 0x0e, 0x9f, 0x25, 0x22, 0x17, 0xf9, 0x13, 0xd9, 0x72, 0x04, 0x63, 0x4a, 0xe3, 0x0b, 0x7f, + 0x41, 0xd6, 0xc6, 0x31, 0x21, 0xd4, 0x84, 0x69, 0xcf, 0x8f, 0xd8, 0xe1, 0xaf, 0xe0, 0xdd, 0x54, + 0x3b, 0x49, 0xea, 0x67, 0x05, 0xf5, 0xe9, 0xf5, 0x24, 0x15, 0x9c, 0x26, 0x8c, 0x96, 0xa5, 0x6c, + 0xa6, 0x98, 0x2f, 0x0c, 0xd0, 0x27, 0x2e, 0x5b, 0x34, 0x63, 0xff, 0x8a, 0x05, 0x25, 0x89, 0x76, + 0x12, 0x5a, 0xbc, 0x35, 0x18, 0x0e, 0xd9, 0x24, 0xc8, 0xa1, 0xb1, 0xbb, 0x75, 0x9c, 0xcf, 0x57, + 0x7c, 0xa7, 0xf1, 0xff, 0x21, 0x96, 0x34, 0x98, 0x68, 0x5e, 0x75, 0xff, 0x5d, 0x22, 0x9a, 0x57, + 0xfd, 0xc9, 0xb9, 0x94, 0xfe, 0x90, 0xf5, 0x59, 0x93, 0x75, 0x51, 0xd6, 0xab, 0x1d, 0x90, 0x2d, + 0xf7, 0x5e, 0x92, 0xf5, 0xaa, 0xb2, 0x52, 0x2c, 0xa0, 0xe8, 0x4d, 0x18, 0xab, 0x4b, 0x99, 0x6c, + 0xbc, 0xc3, 0x2f, 0x76, 0xd5, 0x0f, 0x28, 0x55, 0x12, 0x97, 0x85, 0x2c, 0x69, 0xf5, 0xb1, 0x41, + 0xcd, 0x34, 0x23, 0x28, 0xf6, 0x32, 0x23, 0x88, 0xe9, 0xe6, 0x2b, 0xd5, 0x7f, 0xd2, 0x82, 0x21, + 0x2e, 0x8b, 0xeb, 0x4f, 0x14, 0xaa, 0x69, 0xd6, 0xe2, 0xb1, 0xbb, 0x4d, 0x0b, 0x85, 0xa6, 0x0c, + 0xad, 0x41, 0x89, 0xfd, 0x60, 0xb2, 0xc4, 0x62, 0xbe, 0x95, 0x3f, 0x6f, 0x55, 0xef, 0xe0, 0x6d, + 0x59, 0x0d, 0xc7, 0x14, 0xec, 0x1f, 0x2b, 0xd2, 0xd3, 0x2d, 0x46, 0x35, 0x2e, 0x7d, 0xeb, 0xe1, + 0x5d, 0xfa, 0x85, 0x87, 0x75, 0xe9, 0x6f, 0xc3, 0x64, 0x5d, 0xd3, 0xc3, 0xc5, 0x33, 0x79, 0xa9, + 0xeb, 0x22, 0xd1, 0x54, 0x76, 0x5c, 0xca, 0xb2, 0x64, 0x12, 0xc1, 0x49, 0xaa, 0xe8, 0xbb, 0x60, + 0x8c, 0xcf, 0xb3, 0x68, 0x85, 0x5b, 0x62, 0xbc, 0x3f, 0x7f, 0xbd, 0xe8, 0x4d, 0x70, 0xa9, 0x9c, + 0x56, 0x1d, 0x1b, 0xc4, 0xec, 0x3f, 0xb1, 0x00, 0x2d, 0xb7, 0x77, 0x48, 0x8b, 0x04, 0x4e, 0x33, + 0x16, 0xa7, 0xff, 0xb0, 0x05, 0xb3, 0x24, 0x55, 0xbc, 0xe4, 0xb7, 0x5a, 0xe2, 0xd1, 0x92, 0xf3, + 0xae, 0x5e, 0xce, 0xa9, 0xa3, 0xdc, 0x20, 0x66, 0xf3, 0x30, 0x70, 0x6e, 0x7b, 0x68, 0x0d, 0x66, + 0xf8, 0x2d, 0xa9, 0x00, 0x9a, 0xad, 0xf7, 0xa3, 0x82, 0xf0, 0xcc, 0x46, 0x1a, 0x05, 0x67, 0xd5, + 0xb3, 0xbf, 0x6f, 0x0c, 0x72, 0x7b, 0xf1, 0x9e, 0x1e, 0xe1, 0x3d, 0x3d, 0xc2, 0x7b, 0x7a, 0x84, + 0xf7, 0xf4, 0x08, 0xef, 0xe9, 0x11, 0xbe, 0xed, 0xf5, 0x08, 0x7f, 0xc1, 0x82, 0xd3, 0xea, 0x1a, + 0x30, 0x1e, 0xbe, 0x9f, 0x83, 0x19, 0xbe, 0xdd, 0x96, 0x9a, 0x8e, 0xdb, 0xda, 0x20, 0xad, 0x76, + 0xd3, 0x89, 0xa4, 0xd6, 0xfd, 0x4a, 0xe6, 0xca, 0x4d, 0x58, 0xac, 0x1a, 0x15, 0xb9, 0xe9, 0x7f, + 0x06, 0x00, 0x67, 0x35, 0x63, 0xff, 0xe2, 0x08, 0x0c, 0x2e, 0xef, 0x11, 0x2f, 0x3a, 0x81, 0x27, + 0x42, 0x1d, 0x26, 0x5c, 0x6f, 0xcf, 0x6f, 0xee, 0x91, 0x06, 0x87, 0x1f, 0xe5, 0x25, 0x7b, 0x46, + 0x90, 0x9e, 0x58, 0x35, 0x48, 0xe0, 0x04, 0xc9, 0x87, 0x21, 0x4d, 0xbe, 0x0a, 0x43, 0xfc, 0x10, + 0x17, 0xa2, 0xe4, 0xcc, 0x33, 0x9b, 0x0d, 0xa2, 0xb8, 0x9a, 0x62, 0x49, 0x37, 0xbf, 0x24, 0x44, + 0x75, 0xf4, 0x59, 0x98, 0xd8, 0x72, 0x83, 0x30, 0xda, 0x70, 0x5b, 0x24, 0x8c, 0x9c, 0x56, 0xfb, + 0x01, 0xa4, 0xc7, 0x6a, 0x1c, 0x56, 0x0c, 0x4a, 0x38, 0x41, 0x19, 0x6d, 0xc3, 0x78, 0xd3, 0xd1, + 0x9b, 0x1a, 0x3e, 0x72, 0x53, 0xea, 0x76, 0xb8, 0xa1, 0x13, 0xc2, 0x26, 0x5d, 0xba, 0x9d, 0xea, + 0x4c, 0x00, 0x3a, 0xc2, 0xc4, 0x02, 0x6a, 0x3b, 0x71, 0xc9, 0x27, 0x87, 0x51, 0x46, 0x87, 0x19, + 0xc8, 0x96, 0x4c, 0x46, 0x47, 0x33, 0x83, 0xfd, 0x0c, 0x94, 0x08, 0x1d, 0x42, 0x4a, 0x58, 0x5c, + 0x30, 0x97, 0xfb, 0xeb, 0xeb, 0x9a, 0x5b, 0x0f, 0x7c, 0x53, 0x6e, 0xbf, 0x2c, 0x29, 0xe1, 0x98, + 0x28, 0x5a, 0x82, 0xa1, 0x90, 0x04, 0x2e, 0x09, 0xc5, 0x55, 0xd3, 0x65, 0x1a, 0x19, 0x1a, 0xf7, + 0x2d, 0xe1, 0xbf, 0xb1, 0xa8, 0x4a, 0x97, 0x97, 0xc3, 0x44, 0x9a, 0xec, 0x32, 0xd0, 0x96, 0xd7, + 0x02, 0x2b, 0xc5, 0x02, 0x8a, 0x5e, 0x87, 0xe1, 0x80, 0x34, 0x99, 0x62, 0x68, 0xbc, 0xff, 0x45, + 0xce, 0xf5, 0x4c, 0xbc, 0x1e, 0x96, 0x04, 0xd0, 0x75, 0x40, 0x01, 0xa1, 0x8c, 0x92, 0xeb, 0x6d, + 0x2b, 0xb3, 0x51, 0x71, 0xd0, 0x2a, 0x86, 0x14, 0xc7, 0x18, 0xd2, 0xad, 0x08, 0x67, 0x54, 0x43, + 0x57, 0x61, 0x5a, 0x95, 0xae, 0x7a, 0x61, 0xe4, 0xd0, 0x03, 0x6e, 0x92, 0xd1, 0x52, 0x72, 0x0a, + 0x9c, 0x44, 0xc0, 0xe9, 0x3a, 0xf6, 0x97, 0x2d, 0xe0, 0xe3, 0x7c, 0x02, 0xaf, 0xf3, 0xd7, 0xcc, + 0xd7, 0xf9, 0xd9, 0xdc, 0x99, 0xcb, 0x79, 0x99, 0x7f, 0xd9, 0x82, 0x51, 0x6d, 0x66, 0xe3, 0x35, + 0x6b, 0x75, 0x59, 0xb3, 0x1d, 0x98, 0xa2, 0x2b, 0xfd, 0xe6, 0x66, 0x48, 0x82, 0x3d, 0xd2, 0x60, + 0x0b, 0xb3, 0xf0, 0x60, 0x0b, 0x53, 0x99, 0xa8, 0xdd, 0x48, 0x10, 0xc4, 0xa9, 0x26, 0xec, 0xcf, + 0xc8, 0xae, 0x2a, 0x8b, 0xbe, 0xba, 0x9a, 0xf3, 0x84, 0x45, 0x9f, 0x9a, 0x55, 0x1c, 0xe3, 0xd0, + 0xad, 0xb6, 0xe3, 0x87, 0x51, 0xd2, 0xa2, 0xef, 0x9a, 0x1f, 0x46, 0x98, 0x41, 0xec, 0x17, 0x00, + 0x96, 0xef, 0x91, 0x3a, 0x5f, 0xb1, 0xfa, 0xe3, 0xc1, 0xca, 0x7f, 0x3c, 0xd8, 0xbf, 0x65, 0xc1, + 0xc4, 0xca, 0x92, 0x71, 0x73, 0xcd, 0x03, 0xf0, 0x17, 0xcf, 0x9d, 0x3b, 0xeb, 0x52, 0x1d, 0xce, + 0x35, 0x9a, 0xaa, 0x14, 0x6b, 0x18, 0xe8, 0x2c, 0x14, 0x9b, 0x1d, 0x4f, 0x88, 0x0f, 0x87, 0xe9, + 0xf5, 0x78, 0xa3, 0xe3, 0x61, 0x5a, 0xa6, 0xb9, 0x14, 0x14, 0xfb, 0x76, 0x29, 0xe8, 0x19, 0x4a, + 0x00, 0x95, 0x61, 0xf0, 0xee, 0x5d, 0xb7, 0xc1, 0x1d, 0x36, 0x85, 0xaa, 0xfe, 0xce, 0x9d, 0xd5, + 0x4a, 0x88, 0x79, 0xb9, 0xfd, 0xc5, 0x22, 0xcc, 0xad, 0x34, 0xc9, 0xbd, 0x77, 0xe8, 0xb4, 0xda, + 0xaf, 0x43, 0xc4, 0xd1, 0x04, 0x31, 0x47, 0x75, 0x7a, 0xe9, 0x3d, 0x1e, 0x5b, 0x30, 0xcc, 0x0d, + 0xda, 0xa4, 0x0b, 0xeb, 0xab, 0x59, 0xad, 0xe7, 0x0f, 0xc8, 0x3c, 0x37, 0x8c, 0x13, 0x1e, 0x71, + 0xea, 0xc2, 0x14, 0xa5, 0x58, 0x12, 0x9f, 0x7b, 0x05, 0xc6, 0x74, 0xcc, 0x23, 0xb9, 0x9f, 0xfd, + 0x3f, 0x45, 0x98, 0xa2, 0x3d, 0x78, 0xa8, 0x13, 0x71, 0x2b, 0x3d, 0x11, 0xc7, 0xed, 0x82, 0xd4, + 0x7b, 0x36, 0xde, 0x4c, 0xce, 0xc6, 0x95, 0xbc, 0xd9, 0x38, 0xe9, 0x39, 0xf8, 0x5e, 0x0b, 0x66, + 0x56, 0x9a, 0x7e, 0x7d, 0x37, 0xe1, 0x26, 0xf4, 0x12, 0x8c, 0xd2, 0xe3, 0x38, 0x34, 0x3c, 0xe6, + 0x8d, 0x18, 0x0a, 0x02, 0x84, 0x75, 0x3c, 0xad, 0xda, 0xad, 0x5b, 0xab, 0x95, 0xac, 0xd0, 0x0b, + 0x02, 0x84, 0x75, 0x3c, 0xfb, 0x37, 0x2c, 0x38, 0x77, 0x75, 0x69, 0x39, 0x5e, 0x8a, 0xa9, 0xe8, + 0x0f, 0x17, 0x61, 0xa8, 0xdd, 0xd0, 0xba, 0x12, 0x8b, 0x57, 0x2b, 0xac, 0x17, 0x02, 0xfa, 0x6e, + 0x89, 0x6c, 0x72, 0x0b, 0xe0, 0x2a, 0xae, 0x2e, 0x89, 0x73, 0x57, 0x6a, 0x53, 0xac, 0x5c, 0x6d, + 0xca, 0xfb, 0x61, 0x98, 0xde, 0x0b, 0x6e, 0x5d, 0xf6, 0x9b, 0x2b, 0x68, 0x79, 0x11, 0x96, 0x30, + 0xfb, 0x67, 0x2d, 0x98, 0xb9, 0xea, 0x46, 0xf4, 0xd2, 0x4e, 0x86, 0x37, 0xa0, 0xb7, 0x76, 0xe8, + 0x46, 0x7e, 0xb0, 0x9f, 0x0c, 0x6f, 0x80, 0x15, 0x04, 0x6b, 0x58, 0xfc, 0x83, 0xf6, 0x5c, 0x66, + 0xa1, 0x5d, 0x30, 0xf5, 0x57, 0x58, 0x94, 0x63, 0x85, 0x41, 0xc7, 0xab, 0xe1, 0x06, 0x4c, 0xf4, + 0xb7, 0x2f, 0x0e, 0x6e, 0x35, 0x5e, 0x15, 0x09, 0xc0, 0x31, 0x8e, 0xfd, 0x47, 0x16, 0x94, 0xaf, + 0x36, 0x3b, 0x61, 0x44, 0x82, 0xad, 0x30, 0xe7, 0xd0, 0x7d, 0x01, 0x4a, 0x44, 0x0a, 0xda, 0x45, + 0xaf, 0x15, 0x23, 0xaa, 0x24, 0xf0, 0x3c, 0xca, 0x82, 0xc2, 0xeb, 0xc3, 0x97, 0xf1, 0x68, 0xce, + 0x68, 0x2b, 0x80, 0x88, 0xde, 0x96, 0x1e, 0x76, 0x82, 0xf9, 0xaf, 0x2f, 0xa7, 0xa0, 0x38, 0xa3, + 0x86, 0xfd, 0x13, 0x16, 0x9c, 0x56, 0x1f, 0xfc, 0xae, 0xfb, 0x4c, 0xfb, 0xab, 0x05, 0x18, 0xbf, + 0xb6, 0xb1, 0x51, 0xbd, 0x4a, 0x22, 0x6d, 0x55, 0x76, 0x57, 0x9f, 0x63, 0x4d, 0x0b, 0xd8, 0xed, + 0x8d, 0xd8, 0x89, 0xdc, 0xe6, 0x3c, 0x8f, 0x5e, 0x34, 0xbf, 0xea, 0x45, 0x37, 0x83, 0x5a, 0x14, + 0xb8, 0xde, 0x76, 0xe6, 0x4a, 0x97, 0x3c, 0x4b, 0x31, 0x8f, 0x67, 0x41, 0x2f, 0xc0, 0x10, 0x0b, + 0x9f, 0x24, 0x27, 0xe1, 0x51, 0xf5, 0xc4, 0x62, 0xa5, 0x87, 0x07, 0xe5, 0xd2, 0x2d, 0xbc, 0xca, + 0xff, 0x60, 0x81, 0x8a, 0x6e, 0xc1, 0xe8, 0x4e, 0x14, 0xb5, 0xaf, 0x11, 0xa7, 0x41, 0x02, 0x79, + 0xca, 0x9e, 0xcf, 0x3a, 0x65, 0xe9, 0x20, 0x70, 0xb4, 0xf8, 0x60, 0x8a, 0xcb, 0x42, 0xac, 0xd3, + 0xb1, 0x6b, 0x00, 0x31, 0xec, 0x98, 0x14, 0x20, 0xf6, 0x06, 0x94, 0xe8, 0xe7, 0x2e, 0x34, 0x5d, + 0xa7, 0xbb, 0x8a, 0xf9, 0x19, 0x28, 0x49, 0x05, 0x72, 0x28, 0x7c, 0xad, 0xd9, 0x8d, 0x24, 0xf5, + 0xcb, 0x21, 0x8e, 0xe1, 0xf6, 0x16, 0x9c, 0x62, 0xe6, 0x80, 0x4e, 0xb4, 0x63, 0xac, 0xbe, 0xde, + 0xd3, 0xfc, 0xac, 0x78, 0xb1, 0xf1, 0x3e, 0xcf, 0x6a, 0xee, 0x8c, 0x63, 0x92, 0x62, 0xfc, 0x7a, + 0xb3, 0xbf, 0x31, 0x00, 0x8f, 0xae, 0xd6, 0xf2, 0xc3, 0x7f, 0xbc, 0x0c, 0x63, 0x9c, 0x11, 0xa4, + 0x93, 0xee, 0x34, 0x45, 0xbb, 0x4a, 0xb6, 0xb9, 0xa1, 0xc1, 0xb0, 0x81, 0x89, 0xce, 0x41, 0xd1, + 0x7d, 0xcb, 0x4b, 0x3a, 0xfb, 0xac, 0xbe, 0xb1, 0x8e, 0x69, 0x39, 0x05, 0x53, 0x9e, 0x92, 0x1f, + 0xd6, 0x0a, 0xac, 0xf8, 0xca, 0xd7, 0x60, 0xc2, 0x0d, 0xeb, 0xa1, 0xbb, 0xea, 0xd1, 0x1d, 0xa8, + 0xed, 0x61, 0x25, 0x4d, 0xa0, 0x9d, 0x56, 0x50, 0x9c, 0xc0, 0xd6, 0x6e, 0x8e, 0xc1, 0xbe, 0xf9, + 0xd2, 0x9e, 0xce, 0xc7, 0xf4, 0x60, 0x6f, 0xb3, 0xaf, 0x0b, 0x99, 0x90, 0x5a, 0x1c, 0xec, 0xfc, + 0x83, 0x43, 0x2c, 0x61, 0xf4, 0xa9, 0x56, 0xdf, 0x71, 0xda, 0x0b, 0x9d, 0x68, 0xa7, 0xe2, 0x86, + 0x75, 0x7f, 0x8f, 0x04, 0xfb, 0xec, 0x95, 0x3d, 0x12, 0x3f, 0xd5, 0x14, 0x60, 0xe9, 0xda, 0x42, + 0x95, 0x62, 0xe2, 0x74, 0x1d, 0xb4, 0x00, 0x93, 0xb2, 0xb0, 0x46, 0x42, 0x76, 0xb8, 0x8f, 0x32, + 0x32, 0xca, 0xfd, 0x46, 0x14, 0x2b, 0x22, 0x49, 0x7c, 0x93, 0x75, 0x85, 0xe3, 0x60, 0x5d, 0x3f, + 0x0c, 0xe3, 0xae, 0xe7, 0x46, 0xae, 0x13, 0xf9, 0x5c, 0xc3, 0xc2, 0x1f, 0xd4, 0x4c, 0x74, 0xbc, + 0xaa, 0x03, 0xb0, 0x89, 0x67, 0xff, 0x87, 0x01, 0x98, 0x66, 0xd3, 0xf6, 0xde, 0x0a, 0xfb, 0x76, + 0x5a, 0x61, 0xb7, 0xd2, 0x2b, 0xec, 0x38, 0x78, 0xf2, 0x07, 0x5e, 0x66, 0x9f, 0x85, 0x92, 0xf2, + 0x38, 0x92, 0x2e, 0x87, 0x56, 0x8e, 0xcb, 0x61, 0xef, 0x7b, 0x59, 0x1a, 0x6d, 0x15, 0x33, 0x8d, + 0xb6, 0xbe, 0x62, 0x41, 0xac, 0x32, 0x40, 0x6f, 0x40, 0xa9, 0xed, 0x33, 0x5b, 0xc4, 0x40, 0x1a, + 0xf8, 0x3e, 0xd9, 0x55, 0xe7, 0xc0, 0x23, 0x20, 0x05, 0x7c, 0x14, 0xaa, 0xb2, 0x2a, 0x8e, 0xa9, + 0xa0, 0xeb, 0x30, 0xdc, 0x0e, 0x48, 0x2d, 0x62, 0xe1, 0x39, 0xfa, 0x27, 0xc8, 0x57, 0x0d, 0xaf, + 0x88, 0x25, 0x05, 0xfb, 0x3f, 0x5a, 0x30, 0x95, 0x44, 0x45, 0x1f, 0x81, 0x01, 0x72, 0x8f, 0xd4, + 0x45, 0x7f, 0x33, 0x2f, 0xd9, 0x58, 0xe8, 0xc0, 0x07, 0x80, 0xfe, 0xc7, 0xac, 0x16, 0xba, 0x06, + 0xc3, 0xf4, 0x86, 0xbd, 0xaa, 0x42, 0x51, 0x3d, 0x9e, 0x77, 0x4b, 0x2b, 0x56, 0x85, 0x77, 0x4e, + 0x14, 0x61, 0x59, 0x9d, 0x59, 0x4a, 0xd5, 0xdb, 0x35, 0xfa, 0x78, 0x89, 0xba, 0xbd, 0xb1, 0x37, + 0x96, 0xaa, 0x1c, 0x49, 0x50, 0xe3, 0x96, 0x52, 0xb2, 0x10, 0xc7, 0x44, 0xec, 0x9f, 0xb7, 0x00, + 0xb8, 0x61, 0x98, 0xe3, 0x6d, 0x93, 0x13, 0x90, 0x93, 0x57, 0x60, 0x20, 0x6c, 0x93, 0x7a, 0x37, + 0x33, 0xd9, 0xb8, 0x3f, 0xb5, 0x36, 0xa9, 0xc7, 0x2b, 0x8e, 0xfe, 0xc3, 0xac, 0xb6, 0xfd, 0xfd, + 0x00, 0x13, 0x31, 0xda, 0x6a, 0x44, 0x5a, 0xe8, 0x39, 0x23, 0x4c, 0xc1, 0xd9, 0x44, 0x98, 0x82, + 0x12, 0xc3, 0xd6, 0x44, 0xb2, 0x9f, 0x85, 0x62, 0xcb, 0xb9, 0x27, 0x64, 0x6e, 0xcf, 0x74, 0xef, + 0x06, 0xa5, 0x3f, 0xbf, 0xe6, 0xdc, 0xe3, 0xcf, 0xd2, 0x67, 0xe4, 0x0e, 0x59, 0x73, 0xee, 0x1d, + 0x72, 0x63, 0x58, 0x76, 0x4a, 0xdf, 0x70, 0xc3, 0xe8, 0xf3, 0xff, 0x3e, 0xfe, 0xcf, 0xf6, 0x1d, + 0x6d, 0x84, 0xb5, 0xe5, 0x7a, 0xc2, 0xe6, 0xa9, 0xaf, 0xb6, 0x5c, 0x2f, 0xd9, 0x96, 0xeb, 0xf5, + 0xd1, 0x96, 0xeb, 0xa1, 0xb7, 0x61, 0x58, 0x98, 0x24, 0x8a, 0xb0, 0x40, 0x97, 0xfb, 0x68, 0x4f, + 0x58, 0x34, 0xf2, 0x36, 0x2f, 0xcb, 0x67, 0xb7, 0x28, 0xed, 0xd9, 0xae, 0x6c, 0x10, 0xfd, 0x45, + 0x0b, 0x26, 0xc4, 0x6f, 0x4c, 0xde, 0xea, 0x90, 0x30, 0x12, 0x6c, 0xe9, 0x87, 0xfa, 0xef, 0x83, + 0xa8, 0xc8, 0xbb, 0xf2, 0x21, 0x79, 0xcf, 0x98, 0xc0, 0x9e, 0x3d, 0x4a, 0xf4, 0x02, 0xfd, 0x6d, + 0x0b, 0x4e, 0xb5, 0x9c, 0x7b, 0xbc, 0x45, 0x5e, 0x86, 0x9d, 0xc8, 0xf5, 0x85, 0x6a, 0xff, 0x23, + 0xfd, 0x4d, 0x7f, 0xaa, 0x3a, 0xef, 0xa4, 0xd4, 0x3f, 0x9e, 0xca, 0x42, 0xe9, 0xd9, 0xd5, 0xcc, + 0x7e, 0xcd, 0x6d, 0xc1, 0x88, 0x5c, 0x6f, 0x19, 0xc2, 0x8d, 0x8a, 0xce, 0x73, 0x1f, 0xd9, 0x22, + 0x54, 0x77, 0xff, 0xa7, 0xed, 0x88, 0xb5, 0xf6, 0x50, 0xdb, 0xf9, 0x2c, 0x8c, 0xe9, 0x6b, 0xec, + 0xa1, 0xb6, 0xf5, 0x16, 0xcc, 0x64, 0xac, 0xa5, 0x87, 0xda, 0xe4, 0x5d, 0x38, 0x9b, 0xbb, 0x3e, + 0x1e, 0x66, 0xc3, 0xf6, 0x57, 0x2d, 0xfd, 0x1c, 0x3c, 0x01, 0x65, 0xc5, 0x92, 0xa9, 0xac, 0x38, + 0xdf, 0x7d, 0xe7, 0xe4, 0x68, 0x2c, 0xde, 0xd4, 0x3b, 0x4d, 0x4f, 0x75, 0xf4, 0x3a, 0x0c, 0x35, + 0x69, 0x89, 0x34, 0x6c, 0xb5, 0x7b, 0xef, 0xc8, 0x98, 0x99, 0x64, 0xe5, 0x21, 0x16, 0x14, 0xec, + 0x5f, 0xb2, 0x60, 0xe0, 0x04, 0x46, 0x02, 0x9b, 0x23, 0xf1, 0x5c, 0x2e, 0x69, 0x11, 0x21, 0x79, + 0x1e, 0x3b, 0x77, 0x97, 0xef, 0x45, 0xc4, 0x0b, 0xd9, 0x8d, 0x9c, 0x39, 0x30, 0x3f, 0x6d, 0xc1, + 0xcc, 0x0d, 0xdf, 0x69, 0x2c, 0x3a, 0x4d, 0xc7, 0xab, 0x93, 0x60, 0xd5, 0xdb, 0x3e, 0x92, 0x55, + 0x76, 0xa1, 0xa7, 0x55, 0xf6, 0x92, 0x34, 0x6a, 0x1a, 0xc8, 0x9f, 0x3f, 0xca, 0x49, 0x27, 0x03, + 0xb7, 0x18, 0xe6, 0xb7, 0x3b, 0x80, 0xf4, 0x5e, 0x0a, 0x1f, 0x19, 0x0c, 0xc3, 0x2e, 0xef, 0xaf, + 0x98, 0xc4, 0xa7, 0xb2, 0x39, 0xdc, 0xd4, 0xe7, 0x69, 0xde, 0x1f, 0xbc, 0x00, 0x4b, 0x42, 0xf6, + 0xcb, 0x90, 0xe9, 0x68, 0xdf, 0x5b, 0x2e, 0x61, 0x7f, 0x02, 0xa6, 0x59, 0xcd, 0x23, 0x4a, 0x06, + 0xec, 0x84, 0x34, 0x35, 0x23, 0x04, 0x9f, 0xfd, 0x05, 0x0b, 0x26, 0xd7, 0x13, 0x91, 0xc9, 0x2e, + 0x32, 0xfd, 0x6b, 0x86, 0x10, 0xbf, 0xc6, 0x4a, 0xb1, 0x80, 0x1e, 0xbb, 0x90, 0xeb, 0xcf, 0x2d, + 0x88, 0x63, 0x5f, 0x9c, 0x00, 0xfb, 0xb6, 0x64, 0xb0, 0x6f, 0x99, 0x8c, 0xac, 0xea, 0x4e, 0x1e, + 0xf7, 0x86, 0xae, 0xab, 0xa8, 0x50, 0x5d, 0x78, 0xd8, 0x98, 0x0c, 0x5f, 0x8a, 0x13, 0x66, 0xe8, + 0x28, 0x19, 0x27, 0xca, 0xfe, 0xed, 0x02, 0x20, 0x85, 0xdb, 0x77, 0xd4, 0xaa, 0x74, 0x8d, 0xe3, + 0x89, 0x5a, 0xb5, 0x07, 0x88, 0x59, 0x10, 0x04, 0x8e, 0x17, 0x72, 0xb2, 0xae, 0x10, 0xeb, 0x1d, + 0xcd, 0x3c, 0x61, 0x4e, 0x34, 0x89, 0x6e, 0xa4, 0xa8, 0xe1, 0x8c, 0x16, 0x34, 0xcb, 0x90, 0xc1, + 0x7e, 0x2d, 0x43, 0x86, 0x7a, 0xf8, 0xc1, 0xfd, 0x9c, 0x05, 0xe3, 0x6a, 0x98, 0xde, 0x25, 0x56, + 0xea, 0xaa, 0x3f, 0x39, 0x07, 0x68, 0x55, 0xeb, 0x32, 0xbb, 0x58, 0xbe, 0x93, 0xf9, 0x33, 0x3a, + 0x4d, 0xf7, 0x6d, 0xa2, 0x62, 0x06, 0x96, 0x85, 0x7f, 0xa2, 0x28, 0x3d, 0x3c, 0x28, 0x8f, 0xab, + 0x7f, 0x3c, 0x26, 0x72, 0x5c, 0x85, 0x1e, 0xc9, 0x93, 0x89, 0xa5, 0x88, 0x5e, 0x82, 0xc1, 0xf6, + 0x8e, 0x13, 0x92, 0x84, 0x37, 0xcf, 0x60, 0x95, 0x16, 0x1e, 0x1e, 0x94, 0x27, 0x54, 0x05, 0x56, + 0x82, 0x39, 0x76, 0xff, 0xb1, 0xc0, 0xd2, 0x8b, 0xb3, 0x67, 0x2c, 0xb0, 0x3f, 0xb1, 0x60, 0x60, + 0xdd, 0x6f, 0x9c, 0xc4, 0x11, 0xf0, 0x9a, 0x71, 0x04, 0x3c, 0x96, 0x17, 0xae, 0x3e, 0x77, 0xf7, + 0xaf, 0x24, 0x76, 0xff, 0xf9, 0x5c, 0x0a, 0xdd, 0x37, 0x7e, 0x0b, 0x46, 0x59, 0x10, 0x7c, 0xe1, + 0xb9, 0xf4, 0x82, 0xb1, 0xe1, 0xcb, 0x89, 0x0d, 0x3f, 0xa9, 0xa1, 0x6a, 0x3b, 0xfd, 0x69, 0x18, + 0x16, 0xae, 0x30, 0x49, 0xb7, 0x50, 0x81, 0x8b, 0x25, 0xdc, 0xfe, 0xc9, 0x22, 0x18, 0x41, 0xf7, + 0xd1, 0xaf, 0x58, 0x30, 0x1f, 0x70, 0x13, 0xd9, 0x46, 0xa5, 0x13, 0xb8, 0xde, 0x76, 0xad, 0xbe, + 0x43, 0x1a, 0x9d, 0xa6, 0xeb, 0x6d, 0xaf, 0x6e, 0x7b, 0xbe, 0x2a, 0x5e, 0xbe, 0x47, 0xea, 0x1d, + 0xa6, 0x76, 0xeb, 0x11, 0xe1, 0x5f, 0x99, 0x9a, 0x3f, 0x7f, 0xff, 0xa0, 0x3c, 0x8f, 0x8f, 0x44, + 0x1b, 0x1f, 0xb1, 0x2f, 0xe8, 0x37, 0x2c, 0xb8, 0xcc, 0x63, 0xd1, 0xf7, 0xdf, 0xff, 0x2e, 0xaf, + 0xe5, 0xaa, 0x24, 0x15, 0x13, 0xd9, 0x20, 0x41, 0x6b, 0xf1, 0xc3, 0x62, 0x40, 0x2f, 0x57, 0x8f, + 0xd6, 0x16, 0x3e, 0x6a, 0xe7, 0xec, 0x7f, 0x54, 0x84, 0x71, 0x11, 0x33, 0x4a, 0xdc, 0x01, 0x2f, + 0x19, 0x4b, 0xe2, 0xf1, 0xc4, 0x92, 0x98, 0x36, 0x90, 0x8f, 0xe7, 0xf8, 0x0f, 0x61, 0x9a, 0x1e, + 0xce, 0xd7, 0x88, 0x13, 0x44, 0x9b, 0xc4, 0xe1, 0x06, 0x5f, 0xc5, 0x23, 0x9f, 0xfe, 0x4a, 0x3e, + 0x79, 0x23, 0x49, 0x0c, 0xa7, 0xe9, 0x7f, 0x3b, 0xdd, 0x39, 0x1e, 0x4c, 0xa5, 0xc2, 0x7e, 0x7d, + 0x12, 0x4a, 0xca, 0x8f, 0x43, 0x1c, 0x3a, 0xdd, 0xa3, 0xe7, 0x25, 0x29, 0x70, 0xf1, 0x57, 0xec, + 0x43, 0x14, 0x93, 0xb3, 0xff, 0x4e, 0xc1, 0x68, 0x90, 0x4f, 0xe2, 0x3a, 0x8c, 0x38, 0x61, 0xe8, + 0x6e, 0x7b, 0xa4, 0xd1, 0x4d, 0x42, 0x99, 0x6a, 0x86, 0xf9, 0xd2, 0x2c, 0x88, 0x9a, 0x58, 0xd1, + 0x40, 0xd7, 0xb8, 0x59, 0xdd, 0x1e, 0xe9, 0x26, 0x9e, 0x4c, 0x51, 0x03, 0x69, 0x78, 0xb7, 0x47, + 0xb0, 0xa8, 0x8f, 0x3e, 0xc5, 0xed, 0x1e, 0xaf, 0x7b, 0xfe, 0x5d, 0xef, 0xaa, 0xef, 0xcb, 0xb8, + 0x0c, 0xfd, 0x11, 0x9c, 0x96, 0xd6, 0x8e, 0xaa, 0x3a, 0x36, 0xa9, 0xf5, 0x17, 0x47, 0xf3, 0x73, + 0xc0, 0x62, 0x6f, 0x9b, 0x6e, 0xd3, 0x21, 0x22, 0x30, 0x29, 0x02, 0x92, 0xc9, 0x32, 0x31, 0x76, + 0x99, 0x4f, 0x39, 0xb3, 0x76, 0x2c, 0x48, 0xbf, 0x6e, 0x92, 0xc0, 0x49, 0x9a, 0xf6, 0xcf, 0x58, + 0xc0, 0x5c, 0x48, 0x4f, 0x80, 0x1f, 0xf9, 0xa8, 0xc9, 0x8f, 0xcc, 0xe6, 0x0d, 0x72, 0x0e, 0x2b, + 0xf2, 0x22, 0x5f, 0x59, 0xd5, 0xc0, 0xbf, 0xb7, 0x2f, 0x8c, 0x55, 0x7a, 0xbf, 0x3f, 0xec, 0xff, + 0x69, 0xf1, 0x43, 0x4c, 0x79, 0x59, 0xa0, 0xef, 0x86, 0x91, 0xba, 0xd3, 0x76, 0xea, 0x3c, 0x43, + 0x4c, 0xae, 0x44, 0xcf, 0xa8, 0x34, 0xbf, 0x24, 0x6a, 0x70, 0x09, 0x95, 0x0c, 0x6c, 0x37, 0x22, + 0x8b, 0x7b, 0x4a, 0xa5, 0x54, 0x93, 0x73, 0xbb, 0x30, 0x6e, 0x10, 0x7b, 0xa8, 0xe2, 0x8c, 0xef, + 0xe6, 0x57, 0xac, 0x0a, 0xc4, 0xd8, 0x82, 0x69, 0x4f, 0xfb, 0x4f, 0x2f, 0x14, 0xf9, 0xb8, 0x7c, + 0xb2, 0xd7, 0x25, 0xca, 0x6e, 0x1f, 0xcd, 0x3b, 0x35, 0x41, 0x06, 0xa7, 0x29, 0xdb, 0x3f, 0x65, + 0xc1, 0x23, 0x3a, 0xa2, 0xe6, 0x00, 0xd3, 0x4b, 0x49, 0x52, 0x81, 0x11, 0xbf, 0x4d, 0x02, 0x27, + 0xf2, 0x03, 0x71, 0x6b, 0x5c, 0x92, 0x83, 0x7e, 0x53, 0x94, 0x1f, 0x8a, 0x78, 0xe7, 0x92, 0xba, + 0x2c, 0xc7, 0xaa, 0x26, 0x7d, 0x7d, 0xb2, 0xc1, 0x08, 0x85, 0xab, 0x13, 0x3b, 0x03, 0x98, 0x26, + 0x3d, 0xc4, 0x02, 0x62, 0x7f, 0xc3, 0xe2, 0x0b, 0x4b, 0xef, 0x3a, 0x7a, 0x0b, 0xa6, 0x5a, 0x4e, + 0x54, 0xdf, 0x59, 0xbe, 0xd7, 0x0e, 0xb8, 0xca, 0x49, 0x8e, 0xd3, 0x33, 0xbd, 0xc6, 0x49, 0xfb, + 0xc8, 0xd8, 0x94, 0x73, 0x2d, 0x41, 0x0c, 0xa7, 0xc8, 0xa3, 0x4d, 0x18, 0x65, 0x65, 0xcc, 0x8b, + 0x2f, 0xec, 0xc6, 0x1a, 0xe4, 0xb5, 0xa6, 0x8c, 0x11, 0xd6, 0x62, 0x3a, 0x58, 0x27, 0x6a, 0x7f, + 0xa5, 0xc8, 0x77, 0x3b, 0x63, 0xe5, 0x9f, 0x86, 0xe1, 0xb6, 0xdf, 0x58, 0x5a, 0xad, 0x60, 0x31, + 0x0b, 0xea, 0x1a, 0xa9, 0xf2, 0x62, 0x2c, 0xe1, 0xe8, 0x12, 0x8c, 0x88, 0x9f, 0x52, 0x45, 0xc8, + 0xce, 0x66, 0x81, 0x17, 0x62, 0x05, 0x45, 0xcf, 0x03, 0xb4, 0x03, 0x7f, 0xcf, 0x6d, 0xb0, 0xe8, + 0x12, 0x45, 0xd3, 0x8e, 0xa8, 0xaa, 0x20, 0x58, 0xc3, 0x42, 0xaf, 0xc2, 0x78, 0xc7, 0x0b, 0x39, + 0x3b, 0xa2, 0xc5, 0x92, 0x55, 0x16, 0x2e, 0xb7, 0x74, 0x20, 0x36, 0x71, 0xd1, 0x02, 0x0c, 0x45, + 0x0e, 0xb3, 0x8b, 0x19, 0xcc, 0x37, 0xf7, 0xdd, 0xa0, 0x18, 0x7a, 0x32, 0x12, 0x5a, 0x01, 0x8b, + 0x8a, 0xe8, 0x93, 0xd2, 0xa1, 0x96, 0x1f, 0xec, 0xc2, 0xce, 0xbe, 0xbf, 0x4b, 0x40, 0x73, 0xa7, + 0x15, 0xf6, 0xfb, 0x06, 0x2d, 0xf4, 0x0a, 0x00, 0xb9, 0x17, 0x91, 0xc0, 0x73, 0x9a, 0xca, 0x9a, + 0x4d, 0xf1, 0x05, 0x15, 0x7f, 0xdd, 0x8f, 0x6e, 0x85, 0x64, 0x59, 0x61, 0x60, 0x0d, 0xdb, 0xfe, + 0x8d, 0x12, 0x40, 0xcc, 0xb7, 0xa3, 0xb7, 0x53, 0x07, 0xd7, 0xb3, 0xdd, 0x39, 0xfd, 0xe3, 0x3b, + 0xb5, 0xd0, 0x0f, 0x58, 0x30, 0xea, 0x34, 0x9b, 0x7e, 0xdd, 0xe1, 0xd1, 0x7e, 0x0b, 0xdd, 0x0f, + 0x4e, 0xd1, 0xfe, 0x42, 0x5c, 0x83, 0x77, 0xe1, 0x05, 0xb9, 0x42, 0x35, 0x48, 0xcf, 0x5e, 0xe8, + 0x0d, 0xa3, 0x0f, 0xca, 0xa7, 0x62, 0xd1, 0x18, 0x4a, 0xf5, 0x54, 0x2c, 0xb1, 0x3b, 0x42, 0x7f, + 0x25, 0xde, 0x32, 0x5e, 0x89, 0x03, 0xf9, 0x1e, 0x83, 0x06, 0xfb, 0xda, 0xeb, 0x81, 0x88, 0xaa, + 0x7a, 0xf4, 0x80, 0xc1, 0x7c, 0xf7, 0x3c, 0xed, 0x9d, 0xd4, 0x23, 0x72, 0xc0, 0x67, 0x61, 0xb2, + 0x61, 0x32, 0x01, 0x62, 0x25, 0x3e, 0x95, 0x47, 0x37, 0xc1, 0x33, 0xc4, 0xd7, 0x7e, 0x02, 0x80, + 0x93, 0x84, 0x51, 0x95, 0x07, 0x93, 0x58, 0xf5, 0xb6, 0x7c, 0xe1, 0xeb, 0x61, 0xe7, 0xce, 0xe5, + 0x7e, 0x18, 0x91, 0x16, 0xc5, 0x8c, 0x6f, 0xf7, 0x75, 0x51, 0x17, 0x2b, 0x2a, 0xe8, 0x75, 0x18, + 0x62, 0xfe, 0x59, 0xe1, 0xec, 0x48, 0xbe, 0xc4, 0xd9, 0x8c, 0x8e, 0x16, 0x6f, 0x48, 0xf6, 0x37, + 0xc4, 0x82, 0x02, 0xba, 0x26, 0xbd, 0x1f, 0xc3, 0x55, 0xef, 0x56, 0x48, 0x98, 0xf7, 0x63, 0x69, + 0xf1, 0xc9, 0xd8, 0xb1, 0x91, 0x97, 0x67, 0xa6, 0x2c, 0x33, 0x6a, 0x52, 0x2e, 0x4a, 0xfc, 0x97, + 0x99, 0xd0, 0x66, 0x21, 0xbf, 0x7b, 0x66, 0xb6, 0xb4, 0x78, 0x38, 0x6f, 0x9b, 0x24, 0x70, 0x92, + 0x26, 0xe5, 0x48, 0xf9, 0xae, 0x17, 0xde, 0x22, 0xbd, 0xce, 0x0e, 0xfe, 0x10, 0x67, 0xb7, 0x11, + 0x2f, 0xc1, 0xa2, 0xfe, 0x89, 0xb2, 0x07, 0x73, 0x1e, 0x4c, 0x25, 0xb7, 0xe8, 0x43, 0x65, 0x47, + 0xfe, 0x60, 0x00, 0x26, 0xcc, 0x25, 0x85, 0x2e, 0x43, 0x49, 0x10, 0x51, 0xd9, 0x04, 0xd4, 0x2e, + 0x59, 0x93, 0x00, 0x1c, 0xe3, 0xb0, 0x24, 0x12, 0xac, 0xba, 0x66, 0x1e, 0x1c, 0x27, 0x91, 0x50, + 0x10, 0xac, 0x61, 0xd1, 0x87, 0xd5, 0xa6, 0xef, 0x47, 0xea, 0x42, 0x52, 0xeb, 0x6e, 0x91, 0x95, + 0x62, 0x01, 0xa5, 0x17, 0xd1, 0x2e, 0x09, 0x3c, 0xd2, 0x34, 0xe3, 0x0e, 0xab, 0x8b, 0xe8, 0xba, + 0x0e, 0xc4, 0x26, 0x2e, 0xbd, 0x4e, 0xfd, 0x90, 0x2d, 0x64, 0xf1, 0x7c, 0x8b, 0xcd, 0xad, 0x6b, + 0xdc, 0x01, 0x5b, 0xc2, 0xd1, 0x27, 0xe0, 0x11, 0x15, 0x5b, 0x09, 0x73, 0x6d, 0x86, 0x6c, 0x71, + 0xc8, 0x90, 0xb6, 0x3c, 0xb2, 0x94, 0x8d, 0x86, 0xf3, 0xea, 0xa3, 0xd7, 0x60, 0x42, 0xb0, 0xf8, + 0x92, 0xe2, 0xb0, 0x69, 0x61, 0x74, 0xdd, 0x80, 0xe2, 0x04, 0xb6, 0x8c, 0x9c, 0xcc, 0xb8, 0x6c, + 0x49, 0x61, 0x24, 0x1d, 0x39, 0x59, 0x87, 0xe3, 0x54, 0x0d, 0xb4, 0x00, 0x93, 0x9c, 0x07, 0x73, + 0xbd, 0x6d, 0x3e, 0x27, 0xc2, 0x99, 0x4b, 0x6d, 0xa9, 0x9b, 0x26, 0x18, 0x27, 0xf1, 0xd1, 0xcb, + 0x30, 0xe6, 0x04, 0xf5, 0x1d, 0x37, 0x22, 0xf5, 0xa8, 0x13, 0x70, 0x2f, 0x2f, 0xcd, 0x44, 0x6b, + 0x41, 0x83, 0x61, 0x03, 0xd3, 0x7e, 0x1b, 0x66, 0x32, 0x22, 0x33, 0xd0, 0x85, 0xe3, 0xb4, 0x5d, + 0xf9, 0x4d, 0x09, 0x0b, 0xe7, 0x85, 0xea, 0xaa, 0xfc, 0x1a, 0x0d, 0x8b, 0xae, 0x4e, 0x16, 0xc1, + 0x41, 0x4b, 0x7c, 0xa8, 0x56, 0xe7, 0x8a, 0x04, 0xe0, 0x18, 0xc7, 0xfe, 0x2f, 0x05, 0x98, 0xcc, + 0xd0, 0xad, 0xb0, 0xe4, 0x7b, 0x89, 0x47, 0x4a, 0x9c, 0x6b, 0xcf, 0x0c, 0xc4, 0x5d, 0x38, 0x42, + 0x20, 0xee, 0x62, 0xaf, 0x40, 0xdc, 0x03, 0xef, 0x24, 0x10, 0xb7, 0x39, 0x62, 0x83, 0x7d, 0x8d, + 0x58, 0x46, 0xf0, 0xee, 0xa1, 0x23, 0x06, 0xef, 0x36, 0x06, 0x7d, 0xb8, 0x8f, 0x41, 0xff, 0xb1, + 0x02, 0x4c, 0x25, 0x4d, 0x49, 0x4f, 0x40, 0x6e, 0xfb, 0xba, 0x21, 0xb7, 0xbd, 0xd4, 0x8f, 0xf3, + 0x6d, 0xae, 0x0c, 0x17, 0x27, 0x64, 0xb8, 0x1f, 0xe8, 0x8b, 0x5a, 0x77, 0x79, 0xee, 0x5f, 0x2d, + 0xc0, 0xe9, 0x4c, 0xef, 0xdf, 0x13, 0x18, 0x9b, 0x9b, 0xc6, 0xd8, 0x3c, 0xd7, 0xb7, 0x63, 0x72, + 0xee, 0x00, 0xdd, 0x49, 0x0c, 0xd0, 0xe5, 0xfe, 0x49, 0x76, 0x1f, 0xa5, 0xaf, 0x17, 0xe1, 0x7c, + 0x66, 0xbd, 0x58, 0xec, 0xb9, 0x62, 0x88, 0x3d, 0x9f, 0x4f, 0x88, 0x3d, 0xed, 0xee, 0xb5, 0x8f, + 0x47, 0x0e, 0x2a, 0x1c, 0x74, 0x59, 0x98, 0x81, 0x07, 0x94, 0x81, 0x1a, 0x0e, 0xba, 0x8a, 0x10, + 0x36, 0xe9, 0x7e, 0x3b, 0xc9, 0x3e, 0xff, 0xa5, 0x05, 0x67, 0x33, 0xe7, 0xe6, 0x04, 0x64, 0x5d, + 0xeb, 0xa6, 0xac, 0xeb, 0xe9, 0xbe, 0x57, 0x6b, 0x8e, 0xf0, 0xeb, 0x2b, 0x83, 0x39, 0xdf, 0xc2, + 0x5e, 0xf2, 0x37, 0x61, 0xd4, 0xa9, 0xd7, 0x49, 0x18, 0xae, 0xf9, 0x0d, 0x15, 0x6b, 0xf8, 0x39, + 0xf6, 0xce, 0x8a, 0x8b, 0x0f, 0x0f, 0xca, 0x73, 0x49, 0x12, 0x31, 0x18, 0xeb, 0x14, 0xd0, 0xa7, + 0x60, 0x24, 0x14, 0xf7, 0xa6, 0x98, 0xfb, 0x17, 0xfa, 0x1c, 0x1c, 0x67, 0x93, 0x34, 0xcd, 0x60, + 0x48, 0x4a, 0x52, 0xa1, 0x48, 0x9a, 0x81, 0x53, 0x0a, 0xc7, 0x1a, 0x38, 0xe5, 0x79, 0x80, 0x3d, + 0xf5, 0x18, 0x48, 0xca, 0x1f, 0xb4, 0x67, 0x82, 0x86, 0x85, 0x3e, 0x06, 0x53, 0x21, 0x8f, 0x16, + 0xb8, 0xd4, 0x74, 0x42, 0xe6, 0x47, 0x23, 0x56, 0x21, 0x0b, 0xb8, 0x54, 0x4b, 0xc0, 0x70, 0x0a, + 0x1b, 0xad, 0xc8, 0x56, 0x59, 0x68, 0x43, 0xbe, 0x30, 0x2f, 0xc6, 0x2d, 0x8a, 0xd4, 0xbf, 0xa7, + 0x92, 0xc3, 0xcf, 0x06, 0x5e, 0xab, 0x89, 0x3e, 0x05, 0x40, 0x97, 0x8f, 0x90, 0x43, 0x0c, 0xe7, + 0x1f, 0x9e, 0xf4, 0x54, 0x69, 0x64, 0x1a, 0x37, 0x33, 0x9f, 0xda, 0x8a, 0x22, 0x82, 0x35, 0x82, + 0x68, 0x0b, 0xc6, 0xe3, 0x7f, 0x71, 0x66, 0xcc, 0x23, 0xb6, 0xc0, 0xe4, 0xde, 0x15, 0x9d, 0x0e, + 0x36, 0xc9, 0xda, 0x3f, 0x31, 0x0c, 0x8f, 0x76, 0x39, 0x8b, 0xd1, 0x82, 0xa9, 0xef, 0x7d, 0x26, + 0xf9, 0x88, 0x9f, 0xcb, 0xac, 0x6c, 0xbc, 0xea, 0x13, 0x4b, 0xbe, 0xf0, 0x8e, 0x97, 0xfc, 0x8f, + 0x58, 0x9a, 0x78, 0x85, 0x5b, 0x96, 0x7e, 0xf4, 0x88, 0x77, 0xcc, 0x31, 0xca, 0x5b, 0xb6, 0x32, + 0x84, 0x16, 0xcf, 0xf7, 0xdd, 0x9d, 0xfe, 0xa5, 0x18, 0x5f, 0xb5, 0x00, 0x09, 0xf1, 0x0a, 0x69, + 0xa8, 0x0d, 0x25, 0xe4, 0x19, 0x57, 0x8f, 0xfa, 0xfd, 0x0b, 0x29, 0x4a, 0x7c, 0x24, 0x5e, 0x91, + 0x97, 0x41, 0x1a, 0xa1, 0xe7, 0x98, 0x64, 0x74, 0x0f, 0x7d, 0x82, 0x45, 0xd3, 0x75, 0xdf, 0x16, + 0x1c, 0x90, 0xd8, 0x70, 0x2f, 0x89, 0x48, 0xba, 0xaa, 0x9c, 0xb2, 0xba, 0x99, 0xdd, 0xd5, 0x91, + 0xb0, 0x41, 0xea, 0x64, 0xdf, 0xdf, 0x1d, 0x78, 0x24, 0x67, 0xc8, 0x1e, 0xea, 0x33, 0xfc, 0xb7, + 0x2c, 0x38, 0xd7, 0x35, 0x2c, 0xcc, 0xb7, 0x20, 0x83, 0x68, 0x7f, 0xde, 0x82, 0xec, 0xc9, 0x36, + 0xcc, 0xca, 0x2e, 0x43, 0xa9, 0x4e, 0x0b, 0x35, 0x3f, 0xe0, 0x38, 0x40, 0x82, 0x04, 0xe0, 0x18, + 0xc7, 0xb0, 0x1e, 0x2b, 0xf4, 0xb4, 0x1e, 0xfb, 0x55, 0x0b, 0x52, 0x87, 0xfc, 0x09, 0x70, 0x1b, + 0xab, 0x26, 0xb7, 0xf1, 0x64, 0x3f, 0xa3, 0x99, 0xc3, 0x68, 0xfc, 0xf1, 0x24, 0x9c, 0xc9, 0x71, + 0xcb, 0xdb, 0x83, 0xe9, 0xed, 0x3a, 0x31, 0x3d, 0xac, 0xbb, 0x45, 0x1e, 0xea, 0xea, 0x8e, 0xcd, + 0x92, 0xc3, 0x4e, 0xa7, 0x50, 0x70, 0xba, 0x09, 0xf4, 0x79, 0x0b, 0x4e, 0x39, 0x77, 0xc3, 0x65, + 0xca, 0x35, 0xba, 0xf5, 0xc5, 0xa6, 0x5f, 0xdf, 0xa5, 0x57, 0xb2, 0xdc, 0x08, 0x2f, 0x66, 0x4a, + 0xf2, 0xee, 0xd4, 0x52, 0xf8, 0x46, 0xf3, 0x2c, 0x5b, 0x6e, 0x16, 0x16, 0xce, 0x6c, 0x0b, 0x61, + 0x91, 0x42, 0x81, 0xbe, 0x49, 0xbb, 0xc4, 0x00, 0xc8, 0xf2, 0x9f, 0xe4, 0x6c, 0x90, 0x84, 0x60, + 0x45, 0x07, 0x7d, 0x06, 0x4a, 0xdb, 0xd2, 0xdd, 0x37, 0x83, 0xcd, 0x8a, 0x07, 0xb2, 0xbb, 0x13, + 0x34, 0x57, 0xc7, 0x2b, 0x24, 0x1c, 0x13, 0x45, 0xaf, 0x41, 0xd1, 0xdb, 0x0a, 0xbb, 0x25, 0x9c, + 0x4d, 0xd8, 0x5d, 0xf2, 0x48, 0x1b, 0xeb, 0x2b, 0x35, 0x4c, 0x2b, 0xa2, 0x6b, 0x50, 0x0c, 0x36, + 0x1b, 0x42, 0x0c, 0x9d, 0xb9, 0x49, 0xf1, 0x62, 0x25, 0xa7, 0x57, 0x8c, 0x12, 0x5e, 0xac, 0x60, + 0x4a, 0x02, 0x55, 0x61, 0x90, 0xf9, 0xb2, 0x09, 0xa6, 0x26, 0xf3, 0xf9, 0xd6, 0xc5, 0x27, 0x94, + 0x87, 0xe3, 0x60, 0x08, 0x98, 0x13, 0x42, 0x1b, 0x30, 0x54, 0x67, 0xc9, 0x49, 0x05, 0x17, 0xf3, + 0xc1, 0x4c, 0x81, 0x73, 0x97, 0xac, 0xad, 0x42, 0xfe, 0xca, 0x30, 0xb0, 0xa0, 0xc5, 0xa8, 0x92, + 0xf6, 0xce, 0x56, 0x28, 0x92, 0x77, 0x67, 0x53, 0xed, 0x92, 0x8c, 0x58, 0x50, 0x65, 0x18, 0x58, + 0xd0, 0x42, 0xaf, 0x40, 0x61, 0xab, 0x2e, 0xfc, 0xd4, 0x32, 0x25, 0xcf, 0x66, 0xb0, 0x94, 0xc5, + 0xa1, 0xfb, 0x07, 0xe5, 0xc2, 0xca, 0x12, 0x2e, 0x6c, 0xd5, 0xd1, 0x3a, 0x0c, 0x6f, 0xf1, 0xf0, + 0x0a, 0x42, 0xb8, 0xfc, 0x54, 0x76, 0xe4, 0x87, 0x54, 0x04, 0x06, 0xee, 0xf3, 0x24, 0x00, 0x58, + 0x12, 0x61, 0x19, 0x09, 0x54, 0x98, 0x08, 0x11, 0xa5, 0x6e, 0xfe, 0x68, 0xa1, 0x3d, 0x38, 0x93, + 0x19, 0x07, 0x9b, 0xc0, 0x1a, 0x45, 0xba, 0xaa, 0x9d, 0xb7, 0x3b, 0x01, 0x0b, 0x05, 0x2e, 0xc2, + 0x19, 0x65, 0xae, 0xea, 0x05, 0x89, 0xd4, 0x6d, 0x55, 0x2b, 0x24, 0x1c, 0x13, 0x45, 0xbb, 0x30, + 0xbe, 0x17, 0xb6, 0x77, 0x88, 0xdc, 0xd2, 0x2c, 0xba, 0x51, 0x0e, 0x7f, 0x74, 0x5b, 0x20, 0xba, + 0x41, 0xd4, 0x71, 0x9a, 0xa9, 0x53, 0x88, 0xf1, 0xb2, 0xb7, 0x75, 0x62, 0xd8, 0xa4, 0x4d, 0x87, + 0xff, 0xad, 0x8e, 0xbf, 0xb9, 0x1f, 0x11, 0x11, 0x5c, 0x2e, 0x73, 0xf8, 0xdf, 0xe0, 0x28, 0xe9, + 0xe1, 0x17, 0x00, 0x2c, 0x89, 0xa0, 0xdb, 0x62, 0x78, 0xd8, 0xe9, 0x39, 0x95, 0x1f, 0x01, 0x76, + 0x41, 0x22, 0xe5, 0x0c, 0x0a, 0x3b, 0x2d, 0x63, 0x52, 0xec, 0x94, 0x6c, 0xef, 0xf8, 0x91, 0xef, + 0x25, 0x4e, 0xe8, 0xe9, 0xfc, 0x53, 0xb2, 0x9a, 0x81, 0x9f, 0x3e, 0x25, 0xb3, 0xb0, 0x70, 0x66, + 0x5b, 0xa8, 0x01, 0x13, 0x6d, 0x3f, 0x88, 0xee, 0xfa, 0x81, 0x5c, 0x5f, 0xa8, 0x8b, 0x70, 0xcc, + 0xc0, 0x14, 0x2d, 0xb2, 0xb8, 0x8d, 0x26, 0x04, 0x27, 0x68, 0xa2, 0x8f, 0xc3, 0x70, 0x58, 0x77, + 0x9a, 0x64, 0xf5, 0xe6, 0xec, 0x4c, 0xfe, 0xf5, 0x53, 0xe3, 0x28, 0x39, 0xab, 0x8b, 0x47, 0xc7, + 0xe0, 0x28, 0x58, 0x92, 0x43, 0x2b, 0x30, 0xc8, 0x32, 0xce, 0xb1, 0x48, 0x88, 0x39, 0x81, 0x6c, + 0x53, 0x56, 0xf0, 0xfc, 0x6c, 0x62, 0xc5, 0x98, 0x57, 0xa7, 0x7b, 0x40, 0xbc, 0x11, 0xfd, 0x70, + 0xf6, 0x74, 0xfe, 0x1e, 0x10, 0x4f, 0xcb, 0x9b, 0xb5, 0x6e, 0x7b, 0x40, 0x21, 0xe1, 0x98, 0x28, + 0x3d, 0x99, 0xe9, 0x69, 0x7a, 0xa6, 0x8b, 0xf9, 0x56, 0xee, 0x59, 0xca, 0x4e, 0x66, 0x7a, 0x92, + 0x52, 0x12, 0xf6, 0xef, 0x0d, 0xa7, 0x79, 0x16, 0x26, 0x55, 0xf8, 0x3e, 0x2b, 0xa5, 0x70, 0xfe, + 0x50, 0xbf, 0x42, 0xce, 0x63, 0x7c, 0x0a, 0x7d, 0xde, 0x82, 0x33, 0xed, 0xcc, 0x0f, 0x11, 0x0c, + 0x40, 0x7f, 0xb2, 0x52, 0xfe, 0xe9, 0x2a, 0x6a, 0x66, 0x36, 0x1c, 0xe7, 0xb4, 0x94, 0x7c, 0x6e, + 0x16, 0xdf, 0xf1, 0x73, 0x73, 0x0d, 0x46, 0xea, 0xfc, 0x29, 0xd2, 0x35, 0x59, 0x77, 0xf2, 0xed, + 0xcd, 0x58, 0x09, 0xf1, 0x86, 0xd9, 0xc2, 0x8a, 0x04, 0xfa, 0x51, 0x0b, 0xce, 0x25, 0xbb, 0x8e, + 0x09, 0x03, 0x8b, 0x50, 0x9b, 0x5c, 0xa0, 0xb1, 0x22, 0xbe, 0x3f, 0xc5, 0xff, 0x1b, 0xc8, 0x87, + 0xbd, 0x10, 0x70, 0xf7, 0xc6, 0x50, 0x25, 0x43, 0xa2, 0x32, 0x64, 0x6a, 0x91, 0xfa, 0x90, 0xaa, + 0xbc, 0x08, 0x63, 0x2d, 0xbf, 0xe3, 0x45, 0xc2, 0xda, 0x4b, 0x58, 0x9e, 0x30, 0x8b, 0x8b, 0x35, + 0xad, 0x1c, 0x1b, 0x58, 0x09, 0x59, 0xcc, 0xc8, 0x03, 0xcb, 0x62, 0xde, 0x84, 0x31, 0x4f, 0x33, + 0x4f, 0x16, 0xfc, 0xc0, 0xc5, 0xfc, 0x30, 0xb9, 0xba, 0x31, 0x33, 0xef, 0xa5, 0x5e, 0x82, 0x0d, + 0x6a, 0x27, 0x6b, 0x06, 0xf6, 0x65, 0x2b, 0x83, 0xa9, 0xe7, 0xa2, 0x98, 0x8f, 0x98, 0xa2, 0x98, + 0x8b, 0x49, 0x51, 0x4c, 0x4a, 0x83, 0x60, 0x48, 0x61, 0xfa, 0xcf, 0x02, 0xd4, 0x6f, 0xa8, 0x4d, + 0xbb, 0x09, 0x17, 0x7a, 0x5d, 0x4b, 0xcc, 0xec, 0xaf, 0xa1, 0xf4, 0xc5, 0xb1, 0xd9, 0x5f, 0x63, + 0xb5, 0x82, 0x19, 0xa4, 0xdf, 0x20, 0x4e, 0xf6, 0x7f, 0xb2, 0xa0, 0x58, 0xf5, 0x1b, 0x27, 0xf0, + 0xe0, 0xfd, 0xa8, 0xf1, 0xe0, 0x7d, 0x34, 0xfb, 0x42, 0x6c, 0xe4, 0xea, 0x3f, 0x96, 0x13, 0xfa, + 0x8f, 0x73, 0x79, 0x04, 0xba, 0x6b, 0x3b, 0x7e, 0xba, 0x08, 0xa3, 0x55, 0xbf, 0xa1, 0x6c, 0xee, + 0xff, 0xc9, 0x83, 0xd8, 0xdc, 0xe7, 0xe6, 0xb2, 0xd0, 0x28, 0x33, 0x6b, 0x41, 0xe9, 0x6e, 0xfc, + 0x2d, 0x66, 0x7a, 0x7f, 0x87, 0xb8, 0xdb, 0x3b, 0x11, 0x69, 0x24, 0x3f, 0xe7, 0xe4, 0x4c, 0xef, + 0x7f, 0xaf, 0x00, 0x93, 0x89, 0xd6, 0x51, 0x13, 0xc6, 0x9b, 0xba, 0x74, 0x5d, 0xac, 0xd3, 0x07, + 0x12, 0xcc, 0x0b, 0xd3, 0x65, 0xad, 0x08, 0x9b, 0xc4, 0xd1, 0x3c, 0x80, 0x52, 0x37, 0x4b, 0xf1, + 0x2a, 0xe3, 0xfa, 0x95, 0x3e, 0x3a, 0xc4, 0x1a, 0x06, 0x7a, 0x09, 0x46, 0x23, 0xbf, 0xed, 0x37, + 0xfd, 0xed, 0xfd, 0xeb, 0x44, 0xc6, 0xf7, 0x52, 0x06, 0x89, 0x1b, 0x31, 0x08, 0xeb, 0x78, 0xe8, + 0x1e, 0x4c, 0x2b, 0x22, 0xb5, 0x63, 0xd0, 0x38, 0x30, 0xa9, 0xc2, 0x7a, 0x92, 0x22, 0x4e, 0x37, + 0x62, 0xff, 0x6c, 0x91, 0x0f, 0xb1, 0x17, 0xb9, 0xef, 0xed, 0x86, 0x77, 0xf7, 0x6e, 0xf8, 0xba, + 0x05, 0x53, 0xb4, 0x75, 0x66, 0x6d, 0x25, 0xaf, 0x79, 0x15, 0x98, 0xdb, 0xea, 0x12, 0x98, 0xfb, + 0x22, 0x3d, 0x35, 0x1b, 0x7e, 0x27, 0x12, 0xb2, 0x3b, 0xed, 0x58, 0xa4, 0xa5, 0x58, 0x40, 0x05, + 0x1e, 0x09, 0x02, 0xe1, 0x21, 0xaa, 0xe3, 0x91, 0x20, 0xc0, 0x02, 0x2a, 0xe3, 0x76, 0x0f, 0x64, + 0xc7, 0xed, 0xe6, 0xe1, 0x57, 0x85, 0x5d, 0x8e, 0x60, 0xb8, 0xb4, 0xf0, 0xab, 0xd2, 0x60, 0x27, + 0xc6, 0xb1, 0xbf, 0x5a, 0x84, 0xb1, 0xaa, 0xdf, 0x88, 0x55, 0xcd, 0x2f, 0x1a, 0xaa, 0xe6, 0x0b, + 0x09, 0x55, 0xf3, 0x94, 0x8e, 0xfb, 0x9e, 0x62, 0xf9, 0x9b, 0xa5, 0x58, 0xfe, 0x87, 0x16, 0x9b, + 0xb5, 0xca, 0x7a, 0x8d, 0x1b, 0xef, 0xa1, 0x2b, 0x30, 0xca, 0x0e, 0x18, 0xe6, 0x92, 0x2c, 0xf5, + 0xaf, 0x2c, 0x1f, 0xd5, 0x7a, 0x5c, 0x8c, 0x75, 0x1c, 0x74, 0x09, 0x46, 0x42, 0xe2, 0x04, 0xf5, + 0x1d, 0x75, 0xba, 0x0a, 0x65, 0x29, 0x2f, 0xc3, 0x0a, 0x8a, 0xde, 0x88, 0x23, 0x7f, 0x16, 0xf3, + 0x5d, 0x1c, 0xf5, 0xfe, 0xf0, 0x2d, 0x92, 0x1f, 0xee, 0xd3, 0xbe, 0x03, 0x28, 0x8d, 0xdf, 0x47, + 0x6c, 0xba, 0xb2, 0x19, 0x9b, 0xae, 0x94, 0x8a, 0x4b, 0xf7, 0x67, 0x16, 0x4c, 0x54, 0xfd, 0x06, + 0xdd, 0xba, 0xdf, 0x4e, 0xfb, 0x54, 0x0f, 0x7b, 0x3c, 0xd4, 0x25, 0xec, 0xf1, 0x13, 0x30, 0x58, + 0xf5, 0x1b, 0xab, 0xd5, 0x6e, 0xf1, 0x05, 0xec, 0xbf, 0x66, 0xc1, 0x70, 0xd5, 0x6f, 0x9c, 0x80, + 0x5a, 0xe0, 0x23, 0xa6, 0x5a, 0xe0, 0x91, 0x9c, 0x75, 0x93, 0xa3, 0x09, 0xf8, 0x2b, 0x03, 0x30, + 0x4e, 0xfb, 0xe9, 0x6f, 0xcb, 0xa9, 0x34, 0x86, 0xcd, 0xea, 0x63, 0xd8, 0x28, 0x17, 0xee, 0x37, + 0x9b, 0xfe, 0xdd, 0xe4, 0xb4, 0xae, 0xb0, 0x52, 0x2c, 0xa0, 0xe8, 0x59, 0x18, 0x69, 0x07, 0x64, + 0xcf, 0xf5, 0x05, 0x7b, 0xab, 0x29, 0x59, 0xaa, 0xa2, 0x1c, 0x2b, 0x0c, 0xfa, 0x2c, 0x0c, 0x5d, + 0x8f, 0x5e, 0xe5, 0x75, 0xdf, 0x6b, 0x70, 0xc9, 0x79, 0x51, 0xe4, 0xe6, 0xd0, 0xca, 0xb1, 0x81, + 0x85, 0xee, 0x40, 0x89, 0xfd, 0x67, 0xc7, 0xce, 0xd1, 0xb3, 0xbc, 0x8a, 0xac, 0x7f, 0x82, 0x00, + 0x8e, 0x69, 0xa1, 0xe7, 0x01, 0x22, 0x19, 0xdf, 0x3e, 0x14, 0xd1, 0xd6, 0xd4, 0x53, 0x40, 0x45, + 0xbe, 0x0f, 0xb1, 0x86, 0x85, 0x9e, 0x81, 0x52, 0xe4, 0xb8, 0xcd, 0x1b, 0xae, 0x47, 0x42, 0x26, + 0x11, 0x2f, 0xca, 0xe4, 0x7b, 0xa2, 0x10, 0xc7, 0x70, 0xca, 0x8a, 0xb1, 0x48, 0x1c, 0x3c, 0x47, + 0xf4, 0x08, 0xc3, 0x66, 0xac, 0xd8, 0x0d, 0x55, 0x8a, 0x35, 0x0c, 0xb4, 0x03, 0x8f, 0xb9, 0x1e, + 0xcb, 0x63, 0x41, 0x6a, 0xbb, 0x6e, 0x7b, 0xe3, 0x46, 0xed, 0x36, 0x09, 0xdc, 0xad, 0xfd, 0x45, + 0xa7, 0xbe, 0x4b, 0x3c, 0x99, 0xbf, 0xf3, 0x49, 0xd1, 0xc5, 0xc7, 0x56, 0xbb, 0xe0, 0xe2, 0xae, + 0x94, 0xec, 0x17, 0xd8, 0x7a, 0xbf, 0x59, 0x43, 0x1f, 0x30, 0x8e, 0x8e, 0x33, 0xfa, 0xd1, 0x71, + 0x78, 0x50, 0x1e, 0xba, 0x59, 0xd3, 0x02, 0x49, 0xbc, 0x0c, 0xa7, 0xab, 0x7e, 0xa3, 0xea, 0x07, + 0xd1, 0x8a, 0x1f, 0xdc, 0x75, 0x82, 0x86, 0x5c, 0x5e, 0x65, 0x19, 0x4a, 0x83, 0x9e, 0x9f, 0x83, + 0xfc, 0x74, 0x31, 0xc2, 0x64, 0xbc, 0xc0, 0x38, 0xb6, 0x23, 0x3a, 0x80, 0xd5, 0x19, 0xef, 0xa0, + 0x32, 0xc1, 0x5c, 0x75, 0x22, 0x82, 0x6e, 0xb2, 0x0c, 0xd7, 0xf1, 0x35, 0x2a, 0xaa, 0x3f, 0xad, + 0x65, 0xb8, 0x8e, 0x81, 0x99, 0xf7, 0xae, 0x59, 0xdf, 0xfe, 0xcf, 0x83, 0xec, 0x44, 0x4d, 0x64, + 0x13, 0x41, 0x9f, 0x86, 0x89, 0x90, 0xdc, 0x70, 0xbd, 0xce, 0x3d, 0x29, 0xc2, 0xe8, 0xe2, 0xc2, + 0x57, 0x5b, 0xd6, 0x31, 0xb9, 0x20, 0xd4, 0x2c, 0xc3, 0x09, 0x6a, 0xa8, 0x05, 0x13, 0x77, 0x5d, + 0xaf, 0xe1, 0xdf, 0x0d, 0x25, 0xfd, 0x91, 0x7c, 0x79, 0xe8, 0x1d, 0x8e, 0x99, 0xe8, 0xa3, 0xd1, + 0xdc, 0x1d, 0x83, 0x18, 0x4e, 0x10, 0xa7, 0xab, 0x36, 0xe8, 0x78, 0x0b, 0xe1, 0xad, 0x90, 0x04, + 0x22, 0x57, 0x39, 0x5b, 0xb5, 0x58, 0x16, 0xe2, 0x18, 0x4e, 0x57, 0x2d, 0xfb, 0x73, 0x35, 0xf0, + 0x3b, 0x3c, 0x75, 0x85, 0x58, 0xb5, 0x58, 0x95, 0x62, 0x0d, 0x83, 0xee, 0x6a, 0xf6, 0x6f, 0xdd, + 0xf7, 0xb0, 0xef, 0x47, 0xf2, 0x1c, 0x60, 0x3a, 0x7d, 0xad, 0x1c, 0x1b, 0x58, 0x68, 0x05, 0x50, + 0xd8, 0x69, 0xb7, 0x9b, 0xcc, 0x36, 0xc8, 0x69, 0x32, 0x52, 0xdc, 0x5e, 0xa2, 0xc8, 0x43, 0xef, + 0xd6, 0x52, 0x50, 0x9c, 0x51, 0x83, 0x1e, 0xf0, 0x5b, 0xa2, 0xab, 0x83, 0xac, 0xab, 0x5c, 0x77, + 0x52, 0xe3, 0xfd, 0x94, 0x30, 0xb4, 0x0c, 0xc3, 0xe1, 0x7e, 0x58, 0x8f, 0x44, 0xa4, 0xc4, 0x9c, + 0x84, 0x51, 0x35, 0x86, 0xa2, 0xe5, 0x2b, 0xe4, 0x55, 0xb0, 0xac, 0x8b, 0xea, 0x30, 0x23, 0x28, + 0x2e, 0xed, 0x38, 0x9e, 0x4a, 0xbf, 0xc3, 0x4d, 0xa4, 0xaf, 0xdc, 0x3f, 0x28, 0xcf, 0x88, 0x96, + 0x75, 0xf0, 0xe1, 0x41, 0xf9, 0x4c, 0xd5, 0x6f, 0x64, 0x40, 0x70, 0x16, 0x35, 0xbe, 0xf8, 0xea, + 0x75, 0xbf, 0xd5, 0xae, 0x06, 0xfe, 0x96, 0xdb, 0x24, 0xdd, 0xf4, 0x4f, 0x35, 0x03, 0x53, 0x2c, + 0x3e, 0xa3, 0x0c, 0x27, 0xa8, 0xd9, 0xdf, 0xcd, 0x98, 0x20, 0x96, 0x9e, 0x3b, 0xea, 0x04, 0x04, + 0xb5, 0x60, 0xbc, 0xcd, 0xb6, 0x89, 0x48, 0x28, 0x21, 0xd6, 0xfa, 0x8b, 0x7d, 0xca, 0x51, 0xee, + 0xd2, 0xbb, 0xc3, 0xb4, 0x31, 0xaa, 0xea, 0xe4, 0xb0, 0x49, 0xdd, 0xfe, 0xb3, 0x47, 0xd8, 0x35, + 0x5a, 0xe3, 0xc2, 0x91, 0x61, 0xe1, 0x91, 0x21, 0xde, 0x63, 0x73, 0xf9, 0x52, 0xba, 0x78, 0x5a, + 0x84, 0x57, 0x07, 0x96, 0x75, 0xd1, 0xa7, 0x60, 0x82, 0x3e, 0x6f, 0xd4, 0x55, 0x16, 0xce, 0x9e, + 0xca, 0x8f, 0x9c, 0xa1, 0xb0, 0xf4, 0x64, 0x33, 0x7a, 0x65, 0x9c, 0x20, 0x86, 0xde, 0x60, 0x36, + 0x3d, 0x92, 0x74, 0xa1, 0x1f, 0xd2, 0xba, 0xf9, 0x8e, 0x24, 0xab, 0x11, 0x41, 0x1d, 0x98, 0x49, + 0xa7, 0xa6, 0x0b, 0x67, 0xed, 0x7c, 0x3e, 0x31, 0x9d, 0x5d, 0x2e, 0xce, 0x0a, 0x92, 0x86, 0x85, + 0x38, 0x8b, 0x3e, 0xba, 0x01, 0xe3, 0x22, 0x47, 0xb5, 0x58, 0xb9, 0x45, 0x43, 0x78, 0x38, 0x8e, + 0x75, 0xe0, 0x61, 0xb2, 0x00, 0x9b, 0x95, 0xd1, 0x36, 0x9c, 0xd3, 0x72, 0x46, 0x5d, 0x0d, 0x1c, + 0x66, 0x01, 0xe0, 0xb2, 0xe3, 0x54, 0xbb, 0xe0, 0x1f, 0xbf, 0x7f, 0x50, 0x3e, 0xb7, 0xd1, 0x0d, + 0x11, 0x77, 0xa7, 0x83, 0x6e, 0xc2, 0x69, 0xee, 0xf7, 0x5d, 0x21, 0x4e, 0xa3, 0xe9, 0x7a, 0x8a, + 0x83, 0xe0, 0x5b, 0xfe, 0xec, 0xfd, 0x83, 0xf2, 0xe9, 0x85, 0x2c, 0x04, 0x9c, 0x5d, 0x0f, 0x7d, + 0x04, 0x4a, 0x0d, 0x2f, 0x14, 0x63, 0x30, 0x64, 0xa4, 0xe5, 0x2a, 0x55, 0xd6, 0x6b, 0xea, 0xfb, + 0xe3, 0x3f, 0x38, 0xae, 0x80, 0xb6, 0xb9, 0x80, 0x59, 0x89, 0x3d, 0x86, 0x53, 0x71, 0xaf, 0x92, + 0x92, 0x41, 0xc3, 0xf3, 0x93, 0x6b, 0x56, 0x94, 0x43, 0x84, 0xe1, 0x14, 0x6a, 0x10, 0x46, 0xaf, + 0x03, 0x12, 0xe1, 0xdf, 0x17, 0xea, 0x2c, 0x5b, 0x09, 0x93, 0xc7, 0x8f, 0x98, 0xbe, 0x88, 0xb5, + 0x14, 0x06, 0xce, 0xa8, 0x85, 0xae, 0xd1, 0x53, 0x45, 0x2f, 0x15, 0xa7, 0x96, 0x4a, 0xa2, 0x58, + 0x21, 0xed, 0x80, 0x30, 0x8b, 0x26, 0x93, 0x22, 0x4e, 0xd4, 0x43, 0x0d, 0x78, 0xcc, 0xe9, 0x44, + 0x3e, 0x93, 0xdd, 0x9b, 0xa8, 0x1b, 0xfe, 0x2e, 0xf1, 0x98, 0xda, 0x6c, 0x64, 0xf1, 0x02, 0x65, + 0x51, 0x16, 0xba, 0xe0, 0xe1, 0xae, 0x54, 0x28, 0x6b, 0xa9, 0xb2, 0x26, 0x83, 0x19, 0xcd, 0x2b, + 0x23, 0x73, 0xf2, 0x4b, 0x30, 0xba, 0xe3, 0x87, 0xd1, 0x3a, 0x89, 0xee, 0xfa, 0xc1, 0xae, 0x88, + 0x4a, 0x1b, 0xc7, 0xf8, 0x8e, 0x41, 0x58, 0xc7, 0xa3, 0x6f, 0x47, 0x66, 0xd4, 0xb1, 0x5a, 0x61, + 0xfa, 0xf4, 0x91, 0xf8, 0x8c, 0xb9, 0xc6, 0x8b, 0xb1, 0x84, 0x4b, 0xd4, 0xd5, 0xea, 0x12, 0xd3, + 0x8d, 0x27, 0x50, 0x57, 0xab, 0x4b, 0x58, 0xc2, 0xe9, 0x72, 0x0d, 0x77, 0x9c, 0x80, 0x54, 0x03, + 0xbf, 0x4e, 0x42, 0x2d, 0xb2, 0xfc, 0xa3, 0x3c, 0xe6, 0x2e, 0x5d, 0xae, 0xb5, 0x2c, 0x04, 0x9c, + 0x5d, 0x0f, 0x91, 0x74, 0xbe, 0xb4, 0x89, 0x7c, 0xa5, 0x46, 0x9a, 0x9f, 0xe9, 0x33, 0x65, 0x9a, + 0x07, 0x53, 0x2a, 0x53, 0x1b, 0x8f, 0xb2, 0x1b, 0xce, 0x4e, 0xb2, 0xb5, 0xdd, 0x7f, 0x88, 0x5e, + 0xa5, 0x26, 0x5a, 0x4d, 0x50, 0xc2, 0x29, 0xda, 0x46, 0xc0, 0xb6, 0xa9, 0x9e, 0x01, 0xdb, 0x2e, + 0x43, 0x29, 0xec, 0x6c, 0x36, 0xfc, 0x96, 0xe3, 0x7a, 0x4c, 0x37, 0xae, 0x3d, 0x62, 0x6a, 0x12, + 0x80, 0x63, 0x1c, 0xb4, 0x02, 0x23, 0x8e, 0xd4, 0x01, 0xa1, 0xfc, 0x10, 0x3d, 0x4a, 0xf3, 0xc3, + 0xa3, 0x56, 0x48, 0xad, 0x8f, 0xaa, 0x8b, 0x5e, 0x85, 0x71, 0xe1, 0xb7, 0x2c, 0x92, 0x84, 0xce, + 0x98, 0xce, 0x65, 0x35, 0x1d, 0x88, 0x4d, 0x5c, 0x74, 0x0b, 0x46, 0x23, 0xbf, 0xc9, 0x3c, 0xa4, + 0x28, 0x9b, 0x77, 0x26, 0x3f, 0xd8, 0xdc, 0x86, 0x42, 0xd3, 0xc5, 0xaf, 0xaa, 0x2a, 0xd6, 0xe9, + 0xa0, 0x0d, 0xbe, 0xde, 0x59, 0x1c, 0x79, 0x12, 0xce, 0x3e, 0x92, 0x7f, 0x27, 0xa9, 0x70, 0xf3, + 0xe6, 0x76, 0x10, 0x35, 0xb1, 0x4e, 0x06, 0x5d, 0x85, 0xe9, 0x76, 0xe0, 0xfa, 0x6c, 0x4d, 0x28, + 0xf5, 0xdf, 0xac, 0x99, 0x35, 0xaa, 0x9a, 0x44, 0xc0, 0xe9, 0x3a, 0xcc, 0xed, 0x5c, 0x14, 0xce, + 0x9e, 0xe5, 0x99, 0x2f, 0xf8, 0x9b, 0x90, 0x97, 0x61, 0x05, 0x45, 0x6b, 0xec, 0x24, 0xe6, 0xe2, + 0x8c, 0xd9, 0xb9, 0xfc, 0xa8, 0x40, 0xba, 0xd8, 0x83, 0x33, 0xaf, 0xea, 0x2f, 0x8e, 0x29, 0xa0, + 0x86, 0x96, 0x70, 0x92, 0xbe, 0x18, 0xc2, 0xd9, 0xc7, 0xba, 0x58, 0xd6, 0x25, 0x9e, 0x17, 0x31, + 0x43, 0x60, 0x14, 0x87, 0x38, 0x41, 0x13, 0x7d, 0x0c, 0xa6, 0x44, 0x2c, 0xc3, 0x78, 0x98, 0xce, + 0xc5, 0x76, 0xe7, 0x38, 0x01, 0xc3, 0x29, 0x6c, 0x9e, 0x79, 0xc2, 0xd9, 0x6c, 0x12, 0x71, 0xf4, + 0xdd, 0x70, 0xbd, 0xdd, 0x70, 0xf6, 0x3c, 0x3b, 0x1f, 0x44, 0xe6, 0x89, 0x24, 0x14, 0x67, 0xd4, + 0x40, 0x1b, 0x30, 0xd5, 0x0e, 0x08, 0x69, 0x31, 0x46, 0x5f, 0xdc, 0x67, 0x65, 0x1e, 0x75, 0x81, + 0xf6, 0xa4, 0x9a, 0x80, 0x1d, 0x66, 0x94, 0xe1, 0x14, 0x05, 0x74, 0x17, 0x46, 0xfc, 0x3d, 0x12, + 0xec, 0x10, 0xa7, 0x31, 0x7b, 0xa1, 0x8b, 0x1f, 0x84, 0xb8, 0xdc, 0x6e, 0x0a, 0xdc, 0x84, 0xc9, + 0x80, 0x2c, 0xee, 0x6d, 0x32, 0x20, 0x1b, 0x43, 0xff, 0xaf, 0x05, 0x67, 0xa5, 0x96, 0xa1, 0xd6, + 0xa6, 0xa3, 0xbe, 0xe4, 0x7b, 0x61, 0x14, 0xf0, 0x38, 0x01, 0x8f, 0xe7, 0xfb, 0xce, 0x6f, 0xe4, + 0x54, 0x52, 0x12, 0xd5, 0xb3, 0x79, 0x18, 0x21, 0xce, 0x6f, 0x11, 0x2d, 0xc1, 0x74, 0x48, 0x22, + 0x79, 0x18, 0x2d, 0x84, 0x2b, 0x6f, 0x54, 0xd6, 0x67, 0x9f, 0xe0, 0x41, 0x0e, 0xe8, 0x66, 0xa8, + 0x25, 0x81, 0x38, 0x8d, 0x8f, 0xae, 0x40, 0xc1, 0x0f, 0x67, 0x9f, 0xec, 0x92, 0xa3, 0x94, 0x3e, + 0xc5, 0xb9, 0xe9, 0xd8, 0xcd, 0x1a, 0x2e, 0xf8, 0xa1, 0xcc, 0xfe, 0x40, 0xdf, 0x63, 0xe1, 0xec, + 0xfb, 0xb9, 0xfc, 0x4d, 0x66, 0x7f, 0x60, 0x85, 0x38, 0x86, 0xcf, 0x7d, 0x27, 0x4c, 0xa7, 0xd8, + 0x8b, 0xa3, 0x24, 0x02, 0x9a, 0xdb, 0x85, 0x71, 0x63, 0x0a, 0x1f, 0xaa, 0x4a, 0xfb, 0x9f, 0x0f, + 0x43, 0x49, 0xa9, 0x3b, 0xd1, 0x65, 0x53, 0x8b, 0x7d, 0x36, 0xa9, 0xc5, 0x1e, 0xa9, 0xfa, 0x0d, + 0x43, 0x71, 0xbd, 0x91, 0x11, 0x3a, 0x2e, 0xef, 0xc0, 0xe8, 0xdf, 0x9a, 0x5e, 0x93, 0x21, 0x17, + 0xfb, 0x56, 0x87, 0x0f, 0x74, 0x15, 0x4b, 0x5f, 0x85, 0x69, 0xcf, 0x67, 0x3c, 0x2d, 0x69, 0x48, + 0x86, 0x85, 0xf1, 0x25, 0x25, 0x3d, 0x16, 0x4b, 0x02, 0x01, 0xa7, 0xeb, 0xd0, 0x06, 0x39, 0x63, + 0x91, 0x94, 0x83, 0x73, 0xbe, 0x03, 0x0b, 0x28, 0x7a, 0x02, 0x06, 0xdb, 0x7e, 0x63, 0xb5, 0x2a, + 0xf8, 0x59, 0x2d, 0x60, 0x69, 0x63, 0xb5, 0x8a, 0x39, 0x0c, 0x2d, 0xc0, 0x10, 0xfb, 0x11, 0xce, + 0x8e, 0xe5, 0x07, 0xdd, 0x60, 0x35, 0xb4, 0x34, 0x4b, 0xac, 0x02, 0x16, 0x15, 0x99, 0x3c, 0x8e, + 0x3e, 0x02, 0x98, 0x3c, 0x6e, 0xf8, 0x01, 0xe5, 0x71, 0x92, 0x00, 0x8e, 0x69, 0xa1, 0x7b, 0x70, + 0xda, 0x78, 0x78, 0xf1, 0x25, 0x42, 0x42, 0xe1, 0xf8, 0xff, 0x44, 0xd7, 0x17, 0x97, 0x50, 0x9f, + 0x9f, 0x13, 0x9d, 0x3e, 0xbd, 0x9a, 0x45, 0x09, 0x67, 0x37, 0x80, 0x9a, 0x30, 0x5d, 0x4f, 0xb5, + 0x3a, 0xd2, 0x7f, 0xab, 0x6a, 0x42, 0xd3, 0x2d, 0xa6, 0x09, 0xa3, 0x57, 0x61, 0xe4, 0x2d, 0x3f, + 0x64, 0x77, 0x81, 0xe0, 0xc1, 0xa5, 0xd7, 0xf8, 0xc8, 0x1b, 0x37, 0x6b, 0xac, 0xfc, 0xf0, 0xa0, + 0x3c, 0x5a, 0xf5, 0x1b, 0xf2, 0x2f, 0x56, 0x15, 0xd0, 0x0f, 0x5a, 0x30, 0x97, 0x7e, 0xd9, 0xa9, + 0x4e, 0x8f, 0xf7, 0xdf, 0x69, 0x5b, 0x34, 0x3a, 0xb7, 0x9c, 0x4b, 0x0e, 0x77, 0x69, 0xca, 0xfe, + 0x65, 0x8b, 0x49, 0xf5, 0x84, 0x5a, 0x8a, 0x84, 0x9d, 0xe6, 0x49, 0x64, 0x97, 0x5d, 0x36, 0x34, + 0x66, 0x0f, 0x6c, 0x4e, 0xf1, 0x8f, 0x2d, 0x66, 0x4e, 0x71, 0x82, 0x7e, 0x13, 0x6f, 0xc0, 0x48, + 0x24, 0xb3, 0xfe, 0x76, 0x49, 0x88, 0xab, 0x75, 0x8a, 0x99, 0x94, 0x28, 0x8e, 0x58, 0x25, 0xf8, + 0x55, 0x64, 0xec, 0xbf, 0xc7, 0x67, 0x40, 0x42, 0x4e, 0x40, 0x31, 0x51, 0x31, 0x15, 0x13, 0xe5, + 0x1e, 0x5f, 0x90, 0xa3, 0xa0, 0xf8, 0xbb, 0x66, 0xbf, 0x99, 0x24, 0xe8, 0xdd, 0x6e, 0xc7, 0x63, + 0x7f, 0xc1, 0x02, 0x88, 0xe3, 0x41, 0xf7, 0x91, 0xd7, 0xed, 0x65, 0xca, 0x03, 0xfb, 0x91, 0x5f, + 0xf7, 0x9b, 0x42, 0xed, 0xf6, 0x58, 0xac, 0x1b, 0xe1, 0xe5, 0x87, 0xda, 0x6f, 0xac, 0xb0, 0x51, + 0x59, 0x46, 0x9f, 0x2b, 0xc6, 0xda, 0x3a, 0x23, 0xf2, 0xdc, 0x97, 0x2c, 0x38, 0x95, 0x65, 0x84, + 0x4b, 0x5f, 0x54, 0x5c, 0x26, 0xa6, 0x6c, 0xac, 0xd4, 0x6c, 0xde, 0x16, 0xe5, 0x58, 0x61, 0xf4, + 0x9d, 0x30, 0xef, 0x68, 0x81, 0x98, 0x6f, 0xc2, 0x78, 0x35, 0x20, 0xda, 0xe5, 0xfa, 0x1a, 0x8f, + 0x68, 0xc0, 0xfb, 0xf3, 0xec, 0x91, 0xa3, 0x19, 0xd8, 0x5f, 0x29, 0xc0, 0x29, 0x6e, 0xaa, 0xb0, + 0xb0, 0xe7, 0xbb, 0x8d, 0xaa, 0xdf, 0x10, 0xae, 0x56, 0x9f, 0x84, 0xb1, 0xb6, 0x26, 0xc8, 0xec, + 0x16, 0x54, 0x54, 0x17, 0x78, 0xc6, 0xa2, 0x17, 0xbd, 0x14, 0x1b, 0xb4, 0x50, 0x03, 0xc6, 0xc8, + 0x9e, 0x5b, 0x57, 0xfa, 0xee, 0xc2, 0x91, 0x2f, 0x3a, 0xd5, 0xca, 0xb2, 0x46, 0x07, 0x1b, 0x54, + 0x1f, 0x42, 0x1a, 0x6b, 0xfb, 0xc7, 0x2d, 0x78, 0x24, 0x27, 0x04, 0x29, 0x6d, 0xee, 0x2e, 0x33, + 0x0a, 0x11, 0xcb, 0x56, 0x35, 0xc7, 0x4d, 0x45, 0xb0, 0x80, 0xa2, 0x8f, 0x03, 0x70, 0x53, 0x0f, + 0xfa, 0xa4, 0xef, 0x15, 0xab, 0xd1, 0x08, 0x33, 0xa7, 0x45, 0x0c, 0x93, 0xf5, 0xb1, 0x46, 0xcb, + 0xfe, 0xd2, 0x00, 0x0c, 0xf2, 0x94, 0xfb, 0x55, 0x18, 0xde, 0xe1, 0x49, 0x65, 0xba, 0xce, 0x1b, + 0xc5, 0x95, 0x79, 0x6a, 0xe2, 0x79, 0xd3, 0x4a, 0xb1, 0x24, 0x83, 0xd6, 0x60, 0x86, 0xe7, 0xf6, + 0x69, 0x56, 0x48, 0xd3, 0xd9, 0x97, 0x32, 0x42, 0x9e, 0x88, 0x56, 0xc9, 0x4a, 0x57, 0xd3, 0x28, + 0x38, 0xab, 0x1e, 0x7a, 0x0d, 0x26, 0xe8, 0x9b, 0xcd, 0xef, 0x44, 0x92, 0x12, 0xcf, 0xea, 0xa3, + 0x1e, 0x89, 0x1b, 0x06, 0x14, 0x27, 0xb0, 0xd1, 0xab, 0x30, 0xde, 0x4e, 0x49, 0x43, 0x07, 0x63, + 0xb1, 0x81, 0x29, 0x01, 0x35, 0x71, 0x99, 0x1d, 0x6e, 0x87, 0x59, 0x1d, 0x6f, 0xec, 0x04, 0x24, + 0xdc, 0xf1, 0x9b, 0x0d, 0xc6, 0xfe, 0x0d, 0x6a, 0x76, 0xb8, 0x09, 0x38, 0x4e, 0xd5, 0xa0, 0x54, + 0xb6, 0x1c, 0xb7, 0xd9, 0x09, 0x48, 0x4c, 0x65, 0xc8, 0xa4, 0xb2, 0x92, 0x80, 0xe3, 0x54, 0x8d, + 0xde, 0x62, 0xde, 0xe1, 0xe3, 0x11, 0xf3, 0xda, 0x7f, 0xbd, 0x00, 0xc6, 0xd4, 0x7e, 0xfb, 0x66, + 0x1b, 0xa2, 0x5f, 0xb6, 0x1d, 0xb4, 0xeb, 0xc2, 0x8c, 0x26, 0xf3, 0xcb, 0xe2, 0x24, 0xa2, 0xfc, + 0xcb, 0xe8, 0x7f, 0xcc, 0x6a, 0xd1, 0x3d, 0x7e, 0xba, 0x1a, 0xf8, 0xf4, 0x92, 0x93, 0x31, 0xaf, + 0x94, 0xb9, 0xfb, 0xb0, 0x74, 0x05, 0xee, 0x12, 0x1d, 0x52, 0x18, 0x04, 0x73, 0x0a, 0x86, 0xc5, + 0x49, 0x4d, 0x38, 0xe6, 0x4b, 0x2a, 0xe8, 0x0a, 0x8c, 0x8a, 0x14, 0x32, 0xcc, 0x2a, 0x9b, 0x6f, + 0x26, 0x66, 0x21, 0x53, 0x89, 0x8b, 0xb1, 0x8e, 0x63, 0xff, 0x50, 0x01, 0x66, 0x32, 0xdc, 0x6a, + 0xf8, 0x35, 0xb2, 0xed, 0x86, 0x91, 0xca, 0x53, 0xaa, 0x5d, 0x23, 0xbc, 0x1c, 0x2b, 0x0c, 0x7a, + 0x56, 0xf1, 0x8b, 0x2a, 0x79, 0x39, 0x09, 0xb3, 0x75, 0x01, 0x3d, 0x62, 0xc6, 0xcf, 0x0b, 0x30, + 0xd0, 0x09, 0x89, 0x8c, 0xeb, 0xaa, 0xae, 0x6d, 0xa6, 0x03, 0x65, 0x10, 0xfa, 0x8c, 0xda, 0x56, + 0xea, 0x44, 0xed, 0x19, 0xc5, 0x15, 0x8a, 0x1c, 0x46, 0x3b, 0x17, 0x11, 0xcf, 0xf1, 0x22, 0xf1, + 0xd8, 0x8a, 0x03, 0x14, 0xb2, 0x52, 0x2c, 0xa0, 0xf6, 0x17, 0x8b, 0x70, 0x36, 0xd7, 0xd1, 0x8e, + 0x76, 0xbd, 0xe5, 0x7b, 0x6e, 0xe4, 0x2b, 0xd3, 0x23, 0x1e, 0x94, 0x90, 0xb4, 0x77, 0xd6, 0x44, + 0x39, 0x56, 0x18, 0xe8, 0x22, 0x0c, 0x32, 0x09, 0x6a, 0x2a, 0x63, 0xeb, 0x62, 0x85, 0x47, 0xa9, + 0xe2, 0xe0, 0xbe, 0x93, 0x6c, 0x3f, 0x41, 0x39, 0x18, 0xbf, 0x99, 0xbc, 0x50, 0x68, 0x77, 0x7d, + 0xbf, 0x89, 0x19, 0x10, 0xbd, 0x5f, 0x8c, 0x57, 0xc2, 0xd6, 0x06, 0x3b, 0x0d, 0x3f, 0xd4, 0x06, + 0xed, 0x69, 0x18, 0xde, 0x25, 0xfb, 0x81, 0xeb, 0x6d, 0x27, 0x6d, 0xb0, 0xae, 0xf3, 0x62, 0x2c, + 0xe1, 0x66, 0x8a, 0xc1, 0xe1, 0xe3, 0xce, 0x8e, 0x3d, 0xd2, 0x93, 0x3d, 0xf9, 0x91, 0x22, 0x4c, + 0xe2, 0xc5, 0xca, 0x7b, 0x13, 0x71, 0x2b, 0x3d, 0x11, 0xc7, 0x9d, 0x1d, 0xbb, 0xf7, 0x6c, 0xfc, + 0x82, 0x05, 0x93, 0x2c, 0x91, 0x8d, 0x70, 0xa7, 0x77, 0x7d, 0xef, 0x04, 0x9e, 0x02, 0x4f, 0xc0, + 0x60, 0x40, 0x1b, 0x4d, 0xa6, 0x6a, 0x65, 0x3d, 0xc1, 0x1c, 0x86, 0x1e, 0x83, 0x01, 0xd6, 0x05, + 0x3a, 0x79, 0x63, 0xfc, 0x08, 0xae, 0x38, 0x91, 0x83, 0x59, 0x29, 0x8b, 0xd1, 0x84, 0x49, 0xbb, + 0xe9, 0xf2, 0x4e, 0xc7, 0xfa, 0xed, 0x77, 0x87, 0x0b, 0x7e, 0x66, 0xd7, 0xde, 0x59, 0x8c, 0xa6, + 0x6c, 0x92, 0xdd, 0x9f, 0xd9, 0x7f, 0x54, 0x80, 0xf3, 0x99, 0xf5, 0xfa, 0x8e, 0xd1, 0xd4, 0xbd, + 0xf6, 0xc3, 0x4c, 0x55, 0x52, 0x3c, 0x41, 0x0b, 0xd7, 0x81, 0x7e, 0xb9, 0xff, 0xc1, 0x3e, 0x42, + 0x27, 0x65, 0x0e, 0xd9, 0xbb, 0x24, 0x74, 0x52, 0x66, 0xdf, 0x72, 0xc4, 0x04, 0x7f, 0x5e, 0xc8, + 0xf9, 0x16, 0x26, 0x30, 0xb8, 0x44, 0xcf, 0x19, 0x06, 0x0c, 0xe5, 0x23, 0x9c, 0x9f, 0x31, 0xbc, + 0x0c, 0x2b, 0x28, 0x5a, 0x80, 0xc9, 0x96, 0xeb, 0xd1, 0xc3, 0x67, 0xdf, 0x64, 0xc5, 0x55, 0x64, + 0xbb, 0x35, 0x13, 0x8c, 0x93, 0xf8, 0xc8, 0xd5, 0xc2, 0x2a, 0xf1, 0xaf, 0x7b, 0xf5, 0x48, 0xbb, + 0x6e, 0xde, 0xd4, 0xfd, 0xab, 0x51, 0xcc, 0x08, 0xb1, 0xb4, 0xa6, 0xc9, 0x89, 0x8a, 0xfd, 0xcb, + 0x89, 0xc6, 0xb2, 0x65, 0x44, 0x73, 0xaf, 0xc2, 0xf8, 0x03, 0x2b, 0x06, 0xec, 0xaf, 0x17, 0xe1, + 0xd1, 0x2e, 0xdb, 0x9e, 0x9f, 0xf5, 0xc6, 0x1c, 0x68, 0x67, 0x7d, 0x6a, 0x1e, 0xaa, 0x70, 0x6a, + 0xab, 0xd3, 0x6c, 0xee, 0x33, 0xc7, 0x0f, 0xd2, 0x90, 0x18, 0x82, 0xa7, 0x94, 0xc2, 0x91, 0x53, + 0x2b, 0x19, 0x38, 0x38, 0xb3, 0x26, 0x7d, 0x62, 0xd1, 0x9b, 0x64, 0x5f, 0x91, 0x4a, 0x3c, 0xb1, + 0xb0, 0x0e, 0xc4, 0x26, 0x2e, 0xba, 0x0a, 0xd3, 0xce, 0x9e, 0xe3, 0xf2, 0xd8, 0xd4, 0x92, 0x00, + 0x7f, 0x63, 0x29, 0x79, 0xee, 0x42, 0x12, 0x01, 0xa7, 0xeb, 0xa0, 0xd7, 0x01, 0xf9, 0x9b, 0xcc, + 0x3c, 0xbc, 0x71, 0x95, 0x78, 0x42, 0x45, 0xcb, 0xe6, 0xae, 0x18, 0x1f, 0x09, 0x37, 0x53, 0x18, + 0x38, 0xa3, 0x56, 0x22, 0x7c, 0xd0, 0x50, 0x7e, 0xf8, 0xa0, 0xee, 0xe7, 0x62, 0xcf, 0x2c, 0x39, + 0xff, 0xce, 0xa2, 0xd7, 0x17, 0x67, 0xf2, 0xcd, 0x68, 0x9b, 0xaf, 0x32, 0x13, 0x4b, 0x2e, 0xeb, + 0xd5, 0x82, 0xad, 0x9c, 0xd6, 0x4c, 0x2c, 0x63, 0x20, 0x36, 0x71, 0xf9, 0x82, 0x08, 0x63, 0x1f, + 0x5f, 0x83, 0xc5, 0x17, 0x21, 0xc1, 0x14, 0x06, 0xfa, 0x04, 0x0c, 0x37, 0xdc, 0x3d, 0x37, 0x14, + 0x92, 0xae, 0x23, 0xab, 0x95, 0xe2, 0x73, 0xb0, 0xc2, 0xc9, 0x60, 0x49, 0xcf, 0xfe, 0x91, 0x02, + 0x8c, 0xcb, 0x16, 0xdf, 0xe8, 0xf8, 0x91, 0x73, 0x02, 0xd7, 0xf2, 0x55, 0xe3, 0x5a, 0x7e, 0x7f, + 0xb7, 0xb8, 0x68, 0xac, 0x4b, 0xb9, 0xd7, 0xf1, 0xcd, 0xc4, 0x75, 0xfc, 0x54, 0x6f, 0x52, 0xdd, + 0xaf, 0xe1, 0xbf, 0x6f, 0xc1, 0xb4, 0x81, 0x7f, 0x02, 0xb7, 0xc1, 0x8a, 0x79, 0x1b, 0x3c, 0xde, + 0xf3, 0x1b, 0x72, 0x6e, 0x81, 0xef, 0x2f, 0x26, 0xfa, 0xce, 0x4e, 0xff, 0xb7, 0x60, 0x60, 0xc7, + 0x09, 0x1a, 0xdd, 0xf2, 0x40, 0xa4, 0x2a, 0xcd, 0x5f, 0x73, 0x02, 0xa1, 0xa3, 0x7e, 0x56, 0x8e, + 0x3a, 0x2d, 0xea, 0xa9, 0x9f, 0x66, 0x4d, 0xa1, 0x97, 0x61, 0x28, 0xac, 0xfb, 0x6d, 0xe5, 0xf6, + 0x71, 0x81, 0x0d, 0x34, 0x2b, 0x39, 0x3c, 0x28, 0x23, 0xb3, 0x39, 0x5a, 0x8c, 0x05, 0x3e, 0xfa, + 0x24, 0x8c, 0xb3, 0x5f, 0xca, 0x60, 0xac, 0x98, 0x2f, 0x8e, 0xa8, 0xe9, 0x88, 0xdc, 0x9a, 0xd2, + 0x28, 0xc2, 0x26, 0xa9, 0xb9, 0x6d, 0x28, 0xa9, 0xcf, 0x7a, 0xa8, 0x7a, 0xdb, 0x7f, 0x53, 0x84, + 0x99, 0x8c, 0x35, 0x87, 0x42, 0x63, 0x26, 0xae, 0xf4, 0xb9, 0x54, 0xdf, 0xe1, 0x5c, 0x84, 0xec, + 0x35, 0xd4, 0x10, 0x6b, 0xab, 0xef, 0x46, 0x6f, 0x85, 0x24, 0xd9, 0x28, 0x2d, 0xea, 0xdd, 0x28, + 0x6d, 0xec, 0xc4, 0x86, 0x9a, 0x36, 0xa4, 0x7a, 0xfa, 0x50, 0xe7, 0xf4, 0x4f, 0x8b, 0x70, 0x2a, + 0x2b, 0x54, 0x23, 0xfa, 0x5c, 0x22, 0x0b, 0xe9, 0x8b, 0xfd, 0x06, 0x79, 0xe4, 0xa9, 0x49, 0x45, + 0xf4, 0xb8, 0x79, 0x33, 0x2f, 0x69, 0xcf, 0x61, 0x16, 0x6d, 0xb2, 0xf8, 0x15, 0x01, 0xcf, 0x1e, + 0x2b, 0x8f, 0x8f, 0x0f, 0xf5, 0xdd, 0x01, 0x91, 0x76, 0x36, 0x4c, 0x18, 0xa3, 0xc8, 0xe2, 0xde, + 0xc6, 0x28, 0xb2, 0xe5, 0x39, 0x17, 0x46, 0xb5, 0xaf, 0x79, 0xa8, 0x33, 0xbe, 0x4b, 0x6f, 0x2b, + 0xad, 0xdf, 0x0f, 0x75, 0xd6, 0x7f, 0xdc, 0x82, 0x84, 0x7f, 0x82, 0x12, 0x8b, 0x59, 0xb9, 0x62, + 0xb1, 0x0b, 0x30, 0x10, 0xf8, 0x4d, 0x92, 0x4c, 0xd7, 0x89, 0xfd, 0x26, 0xc1, 0x0c, 0x42, 0x31, + 0xa2, 0x58, 0xd8, 0x31, 0xa6, 0x3f, 0xe4, 0xc4, 0x13, 0xed, 0x09, 0x18, 0x6c, 0x92, 0x3d, 0xd2, + 0x4c, 0x66, 0x55, 0xba, 0x41, 0x0b, 0x31, 0x87, 0xd9, 0xbf, 0x30, 0x00, 0xe7, 0xba, 0x46, 0x80, + 0xa1, 0xcf, 0xa1, 0x6d, 0x27, 0x22, 0x77, 0x9d, 0xfd, 0x64, 0xfa, 0x93, 0xab, 0xbc, 0x18, 0x4b, + 0x38, 0x73, 0x3b, 0xe3, 0x51, 0xcc, 0x13, 0x42, 0x44, 0x11, 0xbc, 0x5c, 0x40, 0x4d, 0xa1, 0x54, + 0xf1, 0x38, 0x84, 0x52, 0xcf, 0x03, 0x84, 0x61, 0x93, 0x5b, 0x71, 0x35, 0x84, 0x3f, 0x5b, 0x1c, + 0xed, 0xbe, 0x76, 0x43, 0x40, 0xb0, 0x86, 0x85, 0x2a, 0x30, 0xd5, 0x0e, 0xfc, 0x88, 0xcb, 0x64, + 0x2b, 0xdc, 0xd0, 0x71, 0xd0, 0x0c, 0xbe, 0x51, 0x4d, 0xc0, 0x71, 0xaa, 0x06, 0x7a, 0x09, 0x46, + 0x45, 0x40, 0x8e, 0xaa, 0xef, 0x37, 0x85, 0x18, 0x48, 0xd9, 0xfe, 0xd5, 0x62, 0x10, 0xd6, 0xf1, + 0xb4, 0x6a, 0x4c, 0xd0, 0x3b, 0x9c, 0x59, 0x8d, 0x0b, 0x7b, 0x35, 0xbc, 0x44, 0xd8, 0xd6, 0x91, + 0xbe, 0xc2, 0xb6, 0xc6, 0x82, 0xb1, 0x52, 0xdf, 0x7a, 0x47, 0xe8, 0x29, 0x4a, 0xfa, 0xb9, 0x01, + 0x98, 0x11, 0x0b, 0xe7, 0x61, 0x2f, 0x97, 0x5b, 0xe9, 0xe5, 0x72, 0x1c, 0xa2, 0xb3, 0xf7, 0xd6, + 0xcc, 0x49, 0xaf, 0x99, 0x1f, 0xb5, 0xc0, 0x64, 0xaf, 0xd0, 0xff, 0x95, 0x9b, 0x3f, 0xea, 0xa5, + 0x5c, 0x76, 0x4d, 0x85, 0x00, 0x7d, 0x87, 0x99, 0xa4, 0xec, 0x7f, 0x6b, 0xc1, 0xe3, 0x3d, 0x29, + 0xa2, 0x65, 0x28, 0x31, 0x1e, 0x50, 0x7b, 0x9d, 0x3d, 0xa5, 0x0c, 0xa1, 0x25, 0x20, 0x87, 0x25, + 0x8d, 0x6b, 0xa2, 0xe5, 0x54, 0xa2, 0xae, 0xa7, 0x33, 0x12, 0x75, 0x9d, 0x36, 0x86, 0xe7, 0x01, + 0x33, 0x75, 0xfd, 0x30, 0xbd, 0x71, 0x0c, 0x27, 0x24, 0xf4, 0x21, 0x43, 0xec, 0x67, 0x27, 0xc4, + 0x7e, 0xc8, 0xc4, 0xd6, 0xee, 0x90, 0x8f, 0xc1, 0x14, 0x8b, 0xd4, 0xc5, 0xcc, 0xf2, 0x85, 0x7b, + 0x54, 0x21, 0x36, 0xbd, 0xbd, 0x91, 0x80, 0xe1, 0x14, 0xb6, 0xfd, 0x87, 0x45, 0x18, 0xe2, 0xdb, + 0xef, 0x04, 0xde, 0x84, 0xcf, 0x40, 0xc9, 0x6d, 0xb5, 0x3a, 0x3c, 0xf7, 0xd2, 0x60, 0x6c, 0xc8, + 0xb9, 0x2a, 0x0b, 0x71, 0x0c, 0x47, 0x2b, 0x42, 0xe2, 0xdc, 0x25, 0x18, 0x28, 0xef, 0xf8, 0x7c, + 0xc5, 0x89, 0x1c, 0xce, 0xe0, 0xa8, 0x7b, 0x36, 0x96, 0x4d, 0xa3, 0x4f, 0x03, 0x84, 0x51, 0xe0, + 0x7a, 0xdb, 0xb4, 0x4c, 0xc4, 0x20, 0xfe, 0x40, 0x17, 0x6a, 0x35, 0x85, 0xcc, 0x69, 0xc6, 0x67, + 0x8e, 0x02, 0x60, 0x8d, 0x22, 0x9a, 0x37, 0x6e, 0xfa, 0xb9, 0xc4, 0xdc, 0x01, 0xa7, 0x1a, 0xcf, + 0xd9, 0xdc, 0x87, 0xa1, 0xa4, 0x88, 0xf7, 0x92, 0x3f, 0x8d, 0xe9, 0x6c, 0xd1, 0x47, 0x61, 0x32, + 0xd1, 0xb7, 0x23, 0x89, 0xaf, 0x7e, 0xd1, 0x82, 0x49, 0xde, 0x99, 0x65, 0x6f, 0x4f, 0xdc, 0x06, + 0x6f, 0xc3, 0xa9, 0x66, 0xc6, 0xa9, 0x2c, 0xa6, 0xbf, 0xff, 0x53, 0x5c, 0x89, 0xab, 0xb2, 0xa0, + 0x38, 0xb3, 0x0d, 0x74, 0x89, 0xee, 0x38, 0x7a, 0xea, 0x3a, 0x4d, 0xe1, 0x57, 0x3d, 0xc6, 0x77, + 0x1b, 0x2f, 0xc3, 0x0a, 0x6a, 0xff, 0x8e, 0x05, 0xd3, 0xbc, 0xe7, 0xd7, 0xc9, 0xbe, 0x3a, 0x9b, + 0xbe, 0x99, 0x7d, 0x17, 0x59, 0xff, 0x0a, 0x39, 0x59, 0xff, 0xf4, 0x4f, 0x2b, 0x76, 0xfd, 0xb4, + 0xaf, 0x58, 0x20, 0x56, 0xc8, 0x09, 0x08, 0x21, 0xbe, 0xd3, 0x14, 0x42, 0xcc, 0xe5, 0x6f, 0x82, + 0x1c, 0xe9, 0xc3, 0x9f, 0x59, 0x30, 0xc5, 0x11, 0x62, 0x6d, 0xf9, 0x37, 0x75, 0x1e, 0xfa, 0xc9, + 0x0d, 0x7e, 0x9d, 0xec, 0x6f, 0xf8, 0x55, 0x27, 0xda, 0xc9, 0xfe, 0x28, 0x63, 0xb2, 0x06, 0xba, + 0x4e, 0x56, 0x43, 0x6e, 0x20, 0x23, 0x29, 0x4e, 0x8f, 0x60, 0x13, 0x47, 0x4d, 0x8a, 0x63, 0x7f, + 0xc3, 0x02, 0xc4, 0x9b, 0x31, 0x18, 0x37, 0xca, 0x0e, 0xb1, 0x52, 0xed, 0xa2, 0x8b, 0x8f, 0x26, + 0x05, 0xc1, 0x1a, 0xd6, 0xb1, 0x0c, 0x4f, 0xc2, 0xe4, 0xa1, 0xd8, 0xdb, 0xe4, 0xe1, 0x08, 0x23, + 0xfa, 0x2f, 0x86, 0x20, 0xe9, 0x88, 0x85, 0x6e, 0xc3, 0x58, 0xdd, 0x69, 0x3b, 0x9b, 0x6e, 0xd3, + 0x8d, 0x5c, 0x12, 0x76, 0xb3, 0x87, 0x5a, 0xd2, 0xf0, 0x84, 0x92, 0x5a, 0x2b, 0xc1, 0x06, 0x1d, + 0x34, 0x0f, 0xd0, 0x0e, 0xdc, 0x3d, 0xb7, 0x49, 0xb6, 0x99, 0xac, 0x84, 0x45, 0x72, 0xe0, 0xc6, + 0x59, 0xb2, 0x14, 0x6b, 0x18, 0x19, 0x5e, 0xef, 0xc5, 0x87, 0xec, 0xf5, 0x0e, 0x27, 0xe6, 0xf5, + 0x3e, 0x70, 0x24, 0xaf, 0xf7, 0x91, 0x23, 0x7b, 0xbd, 0x0f, 0xf6, 0xe5, 0xf5, 0x8e, 0xe1, 0x8c, + 0xe4, 0x3d, 0xe9, 0xff, 0x15, 0xb7, 0x49, 0xc4, 0x83, 0x83, 0x87, 0x9f, 0x98, 0xbb, 0x7f, 0x50, + 0x3e, 0x83, 0x33, 0x31, 0x70, 0x4e, 0x4d, 0xf4, 0x71, 0x98, 0x75, 0x9a, 0x4d, 0xff, 0xae, 0x9a, + 0xd4, 0xe5, 0xb0, 0xee, 0x34, 0xb9, 0x12, 0x62, 0x98, 0x51, 0x7d, 0xec, 0xfe, 0x41, 0x79, 0x76, + 0x21, 0x07, 0x07, 0xe7, 0xd6, 0x46, 0x1f, 0x81, 0x52, 0x3b, 0xf0, 0xeb, 0x6b, 0x9a, 0xb7, 0xe8, + 0x79, 0x3a, 0x80, 0x55, 0x59, 0x78, 0x78, 0x50, 0x1e, 0x57, 0x7f, 0xd8, 0x85, 0x1f, 0x57, 0xc8, + 0x70, 0x63, 0x1f, 0x3d, 0x56, 0x37, 0xf6, 0x5d, 0x98, 0xa9, 0x91, 0xc0, 0x75, 0x9a, 0xee, 0xdb, + 0x94, 0x5f, 0x96, 0xe7, 0xd3, 0x06, 0x94, 0x82, 0xc4, 0x89, 0xdc, 0x57, 0x80, 0x4e, 0x2d, 0x3b, + 0x89, 0x3c, 0x81, 0x63, 0x42, 0xf6, 0xff, 0xb0, 0x60, 0x58, 0x38, 0x5e, 0x9d, 0x00, 0xd7, 0xb8, + 0x60, 0x68, 0x12, 0xca, 0xd9, 0x03, 0xc6, 0x3a, 0x93, 0xab, 0x43, 0x58, 0x4d, 0xe8, 0x10, 0x1e, + 0xef, 0x46, 0xa4, 0xbb, 0xf6, 0xe0, 0x2f, 0x17, 0x29, 0xf7, 0x6e, 0xb8, 0x00, 0x3f, 0xfc, 0x21, + 0x58, 0x87, 0xe1, 0x50, 0xb8, 0xa0, 0x16, 0xf2, 0x7d, 0x1a, 0x92, 0x93, 0x18, 0xdb, 0xb1, 0x09, + 0xa7, 0x53, 0x49, 0x24, 0xd3, 0xb7, 0xb5, 0xf8, 0x10, 0x7d, 0x5b, 0x7b, 0x39, 0x49, 0x0f, 0x1c, + 0x87, 0x93, 0xb4, 0xfd, 0x35, 0x76, 0x73, 0xea, 0xe5, 0x27, 0xc0, 0x54, 0x5d, 0x35, 0xef, 0x58, + 0xbb, 0xcb, 0xca, 0x12, 0x9d, 0xca, 0x61, 0xae, 0x7e, 0xde, 0x82, 0x73, 0x19, 0x5f, 0xa5, 0x71, + 0x5a, 0xcf, 0xc2, 0x88, 0xd3, 0x69, 0xb8, 0x6a, 0x2f, 0x6b, 0xfa, 0xc4, 0x05, 0x51, 0x8e, 0x15, + 0x06, 0x5a, 0x82, 0x69, 0x72, 0xaf, 0xed, 0x72, 0x55, 0xaa, 0x6e, 0xfe, 0x5b, 0xe4, 0xde, 0x7a, + 0xcb, 0x49, 0x20, 0x4e, 0xe3, 0xab, 0xc0, 0x34, 0xc5, 0xdc, 0xc0, 0x34, 0x7f, 0xcb, 0x82, 0x51, + 0xe5, 0x84, 0xf9, 0xd0, 0x47, 0xfb, 0x63, 0xe6, 0x68, 0x3f, 0xda, 0x65, 0xb4, 0x73, 0x86, 0xf9, + 0xb7, 0x0a, 0xaa, 0xbf, 0x55, 0x3f, 0x88, 0xfa, 0xe0, 0xe0, 0x1e, 0xdc, 0x75, 0xe1, 0x0a, 0x8c, + 0x3a, 0xed, 0xb6, 0x04, 0x48, 0x1b, 0x34, 0x16, 0x6e, 0x39, 0x2e, 0xc6, 0x3a, 0x8e, 0xf2, 0xa4, + 0x28, 0xe6, 0x7a, 0x52, 0x34, 0x00, 0x22, 0x27, 0xd8, 0x26, 0x11, 0x2d, 0x13, 0x26, 0xb3, 0xf9, + 0xe7, 0x4d, 0x27, 0x72, 0x9b, 0xf3, 0xae, 0x17, 0x85, 0x51, 0x30, 0xbf, 0xea, 0x45, 0x37, 0x03, + 0xfe, 0x84, 0xd4, 0x42, 0x3b, 0x29, 0x5a, 0x58, 0xa3, 0x2b, 0x03, 0x0e, 0xb0, 0x36, 0x06, 0x4d, + 0x63, 0x86, 0x75, 0x51, 0x8e, 0x15, 0x86, 0xfd, 0x61, 0x76, 0xfb, 0xb0, 0x31, 0x3d, 0x5a, 0x58, + 0xa3, 0xaf, 0x8c, 0xa9, 0xd9, 0x60, 0x9a, 0xcc, 0x8a, 0x1e, 0x3c, 0xa9, 0xfb, 0x61, 0x4f, 0x1b, + 0xd6, 0xfd, 0xfa, 0xe2, 0x08, 0x4b, 0xe8, 0xbb, 0x52, 0x06, 0x2a, 0xcf, 0xf5, 0xb8, 0x35, 0x8e, + 0x60, 0x92, 0xc2, 0x72, 0xaf, 0xb0, 0xcc, 0x14, 0xab, 0x55, 0xb1, 0x2f, 0xb4, 0xdc, 0x2b, 0x02, + 0x80, 0x63, 0x1c, 0xca, 0x4c, 0xa9, 0x3f, 0xe1, 0x2c, 0x8a, 0x63, 0x90, 0x2a, 0xec, 0x10, 0x6b, + 0x18, 0xe8, 0xb2, 0x10, 0x28, 0x70, 0xbd, 0xc0, 0xa3, 0x09, 0x81, 0x82, 0x1c, 0x2e, 0x4d, 0x0a, + 0x74, 0x05, 0x46, 0x55, 0xba, 0xed, 0x2a, 0xcf, 0x7a, 0x24, 0x96, 0xd9, 0x72, 0x5c, 0x8c, 0x75, + 0x1c, 0xb4, 0x01, 0x93, 0x21, 0x97, 0xb3, 0xa9, 0xc0, 0xd0, 0x5c, 0x5e, 0xf9, 0x01, 0x69, 0x05, + 0x54, 0x33, 0xc1, 0x87, 0xac, 0x88, 0x9f, 0x4e, 0x32, 0x28, 0x40, 0x92, 0x04, 0x7a, 0x0d, 0x26, + 0x9a, 0xbe, 0xd3, 0x58, 0x74, 0x9a, 0x8e, 0x57, 0x67, 0xe3, 0x33, 0x62, 0x66, 0x6d, 0xbd, 0x61, + 0x40, 0x71, 0x02, 0x9b, 0x32, 0x6f, 0x7a, 0x89, 0x08, 0x66, 0xee, 0x78, 0xdb, 0x24, 0x14, 0xc9, + 0x93, 0x19, 0xf3, 0x76, 0x23, 0x07, 0x07, 0xe7, 0xd6, 0x46, 0x2f, 0xc3, 0x98, 0xfc, 0x7c, 0x2d, + 0x86, 0x46, 0xec, 0x94, 0xa2, 0xc1, 0xb0, 0x81, 0x89, 0xee, 0xc2, 0x69, 0xf9, 0x7f, 0x23, 0x70, + 0xb6, 0xb6, 0xdc, 0xba, 0x70, 0x2c, 0xe7, 0xde, 0xab, 0x0b, 0xd2, 0xc5, 0x72, 0x39, 0x0b, 0xe9, + 0xf0, 0xa0, 0x7c, 0x41, 0x8c, 0x5a, 0x26, 0x9c, 0x4d, 0x62, 0x36, 0x7d, 0xb4, 0x06, 0x33, 0x3b, + 0xc4, 0x69, 0x46, 0x3b, 0x4b, 0x3b, 0xa4, 0xbe, 0x2b, 0x37, 0x1d, 0x8b, 0xcc, 0xa1, 0x39, 0x70, + 0x5c, 0x4b, 0xa3, 0xe0, 0xac, 0x7a, 0xe8, 0x4d, 0x98, 0x6d, 0x77, 0x36, 0x9b, 0x6e, 0xb8, 0xb3, + 0xee, 0x47, 0xcc, 0x14, 0x48, 0x65, 0xef, 0x16, 0x21, 0x3c, 0x54, 0xec, 0x93, 0x6a, 0x0e, 0x1e, + 0xce, 0xa5, 0x80, 0xde, 0x86, 0xd3, 0x89, 0xc5, 0x20, 0x82, 0x18, 0x4c, 0xe4, 0xa7, 0x86, 0xa8, + 0x65, 0x55, 0x10, 0xf1, 0x40, 0xb2, 0x40, 0x38, 0xbb, 0x09, 0xf4, 0x0a, 0x80, 0xdb, 0x5e, 0x71, + 0x5a, 0x6e, 0x93, 0x3e, 0x17, 0x67, 0xd8, 0x3a, 0xa1, 0x4f, 0x07, 0x58, 0xad, 0xca, 0x52, 0x7a, + 0x3e, 0x8b, 0x7f, 0xfb, 0x58, 0xc3, 0x46, 0x37, 0x60, 0x42, 0xfc, 0xdb, 0x17, 0xd3, 0xca, 0x63, + 0x69, 0x3c, 0xc9, 0x02, 0x21, 0x55, 0x75, 0xc8, 0x61, 0xaa, 0x04, 0x27, 0xea, 0xa2, 0x6d, 0x38, + 0x27, 0xd3, 0x7c, 0xe9, 0x6b, 0x54, 0xce, 0x41, 0xc8, 0xf2, 0x31, 0x8c, 0x70, 0xdf, 0x90, 0x85, + 0x6e, 0x88, 0xb8, 0x3b, 0x1d, 0x7a, 0xb7, 0xeb, 0x4b, 0x9d, 0x7b, 0xcf, 0x9e, 0xe6, 0xa6, 0x49, + 0xf4, 0x6e, 0xbf, 0x91, 0x04, 0xe2, 0x34, 0x3e, 0x0a, 0xe1, 0xb4, 0xeb, 0x65, 0xad, 0xec, 0x33, + 0x8c, 0xd0, 0x47, 0xb9, 0xe3, 0x70, 0xf7, 0x55, 0x9d, 0x09, 0xe7, 0xab, 0x3a, 0x93, 0xf6, 0x3b, + 0xb3, 0xc0, 0xfb, 0x6d, 0x8b, 0xd6, 0xd6, 0xb8, 0x74, 0xf4, 0x19, 0x18, 0xd3, 0x3f, 0x4c, 0x70, + 0x1c, 0x17, 0xb3, 0x99, 0x58, 0xed, 0x6c, 0xe0, 0x3c, 0xbe, 0xda, 0xff, 0x3a, 0x0c, 0x1b, 0x14, + 0x51, 0x3d, 0xc3, 0xc5, 0xfe, 0x72, 0x7f, 0x1c, 0x4d, 0xff, 0x06, 0x68, 0x04, 0xb2, 0x97, 0x3c, + 0xba, 0x01, 0x23, 0xf5, 0xa6, 0x4b, 0xbc, 0x68, 0xb5, 0xda, 0x2d, 0xe8, 0xde, 0x92, 0xc0, 0x11, + 0x7b, 0x48, 0xa4, 0x57, 0xe0, 0x65, 0x58, 0x51, 0xb0, 0x7f, 0xad, 0x00, 0xe5, 0x1e, 0xb9, 0x3a, + 0x12, 0xea, 0x28, 0xab, 0x2f, 0x75, 0xd4, 0x82, 0x4c, 0x4f, 0xbf, 0x9e, 0x90, 0x74, 0x25, 0x52, + 0xcf, 0xc7, 0xf2, 0xae, 0x24, 0x7e, 0xdf, 0xee, 0x01, 0xba, 0x46, 0x6b, 0xa0, 0xa7, 0x83, 0x8b, + 0xa1, 0xc9, 0x1e, 0xec, 0xff, 0xf9, 0x9b, 0xab, 0x95, 0xb4, 0xbf, 0x56, 0x80, 0xd3, 0x6a, 0x08, + 0xbf, 0x7d, 0x07, 0xee, 0x56, 0x7a, 0xe0, 0x8e, 0x41, 0xa7, 0x6b, 0xdf, 0x84, 0x21, 0x1e, 0x45, + 0xb0, 0x0f, 0xb6, 0xfb, 0x09, 0x33, 0x4a, 0xaf, 0xe2, 0xf4, 0x8c, 0x48, 0xbd, 0x3f, 0x68, 0xc1, + 0x64, 0xc2, 0xcf, 0x0c, 0x61, 0xcd, 0x19, 0xf9, 0x41, 0x58, 0xe3, 0x2c, 0xa6, 0xfb, 0x02, 0x0c, + 0xec, 0xf8, 0x61, 0x94, 0x34, 0xf8, 0xb8, 0xe6, 0x87, 0x11, 0x66, 0x10, 0xfb, 0x77, 0x2d, 0x18, + 0xdc, 0x70, 0x5c, 0x2f, 0x92, 0xca, 0x01, 0x2b, 0x47, 0x39, 0xd0, 0xcf, 0x77, 0xa1, 0x97, 0x60, + 0x88, 0x6c, 0x6d, 0x91, 0x7a, 0x24, 0x66, 0x55, 0x46, 0x72, 0x18, 0x5a, 0x66, 0xa5, 0x94, 0x0f, + 0x64, 0x8d, 0xf1, 0xbf, 0x58, 0x20, 0xa3, 0x3b, 0x50, 0x8a, 0xdc, 0x16, 0x59, 0x68, 0x34, 0x84, + 0xca, 0xfc, 0x01, 0xa2, 0x51, 0x6c, 0x48, 0x02, 0x38, 0xa6, 0x65, 0x7f, 0xb1, 0x00, 0x10, 0x87, + 0x5f, 0xea, 0xf5, 0x89, 0x8b, 0x29, 0x65, 0xea, 0xc5, 0x0c, 0x65, 0x2a, 0x8a, 0x09, 0x66, 0x68, + 0x52, 0xd5, 0x30, 0x15, 0xfb, 0x1a, 0xa6, 0x81, 0xa3, 0x0c, 0xd3, 0x12, 0x4c, 0xc7, 0xe1, 0xa3, + 0xcc, 0xe8, 0x79, 0xec, 0xfa, 0xdc, 0x48, 0x02, 0x71, 0x1a, 0xdf, 0x26, 0x70, 0x41, 0x45, 0xd1, + 0x11, 0x37, 0x1a, 0xb3, 0xc8, 0xd6, 0x95, 0xd3, 0x3d, 0xc6, 0x29, 0xd6, 0x16, 0x17, 0x72, 0xb5, + 0xc5, 0x3f, 0x65, 0xc1, 0xa9, 0x64, 0x3b, 0xcc, 0x7d, 0xf9, 0x0b, 0x16, 0x9c, 0x66, 0x3a, 0x73, + 0xd6, 0x6a, 0x5a, 0x43, 0xff, 0x62, 0xd7, 0xc8, 0x40, 0x39, 0x3d, 0x8e, 0x43, 0x86, 0xac, 0x65, + 0x91, 0xc6, 0xd9, 0x2d, 0xda, 0xff, 0x7d, 0x00, 0x66, 0xf3, 0x42, 0x0a, 0x31, 0x87, 0x0d, 0xe7, + 0x5e, 0x6d, 0x97, 0xdc, 0x15, 0x66, 0xf1, 0xb1, 0xc3, 0x06, 0x2f, 0xc6, 0x12, 0x9e, 0x4c, 0xbf, + 0x50, 0xe8, 0x33, 0xfd, 0xc2, 0x0e, 0x4c, 0xdf, 0xdd, 0x21, 0xde, 0x2d, 0x2f, 0x74, 0x22, 0x37, + 0xdc, 0x72, 0x99, 0x7e, 0x99, 0xaf, 0x1b, 0x99, 0xb3, 0x75, 0xfa, 0x4e, 0x12, 0xe1, 0xf0, 0xa0, + 0x7c, 0xce, 0x28, 0x88, 0xbb, 0xcc, 0x0f, 0x12, 0x9c, 0x26, 0x9a, 0xce, 0x5e, 0x31, 0xf0, 0x90, + 0xb3, 0x57, 0xb4, 0x5c, 0x61, 0x95, 0x22, 0xad, 0xf1, 0xd9, 0xcb, 0x71, 0x4d, 0x95, 0x62, 0x0d, + 0x03, 0x7d, 0x0a, 0x90, 0x9e, 0x9d, 0xc7, 0x88, 0xe8, 0xf8, 0xdc, 0xfd, 0x83, 0x32, 0x5a, 0x4f, + 0x41, 0x0f, 0x0f, 0xca, 0x33, 0xb4, 0x74, 0xd5, 0xa3, 0x2f, 0xd0, 0x38, 0x0c, 0x56, 0x06, 0x21, + 0x74, 0x07, 0xa6, 0x68, 0x29, 0xdb, 0x51, 0x32, 0x5c, 0x24, 0x7f, 0x35, 0x3e, 0x73, 0xff, 0xa0, + 0x3c, 0xb5, 0x9e, 0x80, 0xe5, 0x91, 0x4e, 0x11, 0x41, 0xaf, 0xc0, 0x44, 0xbc, 0xae, 0xae, 0x93, + 0x7d, 0x1e, 0x6e, 0xa6, 0xc4, 0x05, 0xdf, 0x6b, 0x06, 0x04, 0x27, 0x30, 0xed, 0x2f, 0x58, 0x70, + 0x36, 0x37, 0xc9, 0x33, 0xba, 0x04, 0x23, 0x4e, 0xdb, 0xe5, 0x6a, 0x0c, 0x71, 0xd5, 0x30, 0x71, + 0x59, 0x75, 0x95, 0x2b, 0x31, 0x14, 0x94, 0x9e, 0xf0, 0xbb, 0xae, 0xd7, 0x48, 0x9e, 0xf0, 0xd7, + 0x5d, 0xaf, 0x81, 0x19, 0x44, 0x5d, 0x59, 0xc5, 0xbc, 0x2b, 0xcb, 0xfe, 0x01, 0x0b, 0x84, 0x43, + 0x6e, 0x1f, 0xf7, 0xdb, 0x27, 0x61, 0x6c, 0x2f, 0x9d, 0x05, 0xec, 0x42, 0xbe, 0x87, 0xb2, 0xc8, + 0xfd, 0xa5, 0x98, 0x56, 0x23, 0xe3, 0x97, 0x41, 0xcb, 0x6e, 0x80, 0x80, 0x56, 0x08, 0x13, 0xd2, + 0xf7, 0xee, 0xcd, 0xf3, 0x00, 0x0d, 0x86, 0xcb, 0x52, 0x83, 0x16, 0x4c, 0xee, 0xa5, 0xa2, 0x20, + 0x58, 0xc3, 0xb2, 0xff, 0x55, 0x01, 0x46, 0x65, 0xd6, 0xa9, 0x8e, 0xd7, 0x8f, 0x28, 0xed, 0x48, + 0x69, 0x68, 0xd1, 0x65, 0x28, 0x31, 0x59, 0x6f, 0x35, 0x96, 0x40, 0x2a, 0x49, 0xcb, 0x9a, 0x04, + 0xe0, 0x18, 0x87, 0x9e, 0x34, 0x61, 0x67, 0x93, 0xa1, 0x27, 0xdc, 0x47, 0x6b, 0xbc, 0x18, 0x4b, + 0x38, 0xfa, 0x38, 0x4c, 0xf1, 0x7a, 0x81, 0xdf, 0x76, 0xb6, 0xb9, 0x7e, 0x68, 0x50, 0xc5, 0xe4, + 0x98, 0x5a, 0x4b, 0xc0, 0x0e, 0x0f, 0xca, 0xa7, 0x92, 0x65, 0x4c, 0xf1, 0x99, 0xa2, 0xc2, 0xcc, + 0xc0, 0x78, 0x23, 0xf4, 0x84, 0x4c, 0x59, 0x8f, 0xc5, 0x20, 0xac, 0xe3, 0xd9, 0x9f, 0x01, 0x94, + 0xce, 0xbf, 0x85, 0x5e, 0xe7, 0xb6, 0xbf, 0x6e, 0x40, 0x1a, 0xdd, 0x14, 0xa1, 0x7a, 0xe4, 0x09, + 0xe9, 0xf9, 0xc5, 0x6b, 0x61, 0x55, 0xdf, 0xfe, 0xff, 0x8a, 0x30, 0x95, 0xf4, 0x75, 0x47, 0xd7, + 0x60, 0x88, 0xb3, 0x67, 0x82, 0x7c, 0x17, 0x3b, 0x1b, 0xcd, 0x43, 0x9e, 0x5d, 0x54, 0x82, 0xc3, + 0x13, 0xf5, 0xd1, 0x9b, 0x30, 0xda, 0xf0, 0xef, 0x7a, 0x77, 0x9d, 0xa0, 0xb1, 0x50, 0x5d, 0x15, + 0xcb, 0x39, 0xf3, 0xe1, 0x5f, 0x89, 0xd1, 0x74, 0xaf, 0x7b, 0xa6, 0x53, 0x8e, 0x41, 0x58, 0x27, + 0x87, 0x36, 0x58, 0xd0, 0xfe, 0x2d, 0x77, 0x7b, 0xcd, 0x69, 0x77, 0x73, 0x04, 0x59, 0x92, 0x48, + 0x1a, 0xe5, 0x71, 0x11, 0xd9, 0x9f, 0x03, 0x70, 0x4c, 0x08, 0x7d, 0x0e, 0x66, 0xc2, 0x1c, 0x75, + 0x44, 0x5e, 0x3a, 0xc6, 0x6e, 0x12, 0xfa, 0xc5, 0x47, 0xee, 0x1f, 0x94, 0x67, 0xb2, 0x14, 0x17, + 0x59, 0xcd, 0xd8, 0x5f, 0x3a, 0x05, 0xc6, 0x26, 0x36, 0xb2, 0xf3, 0x5a, 0xc7, 0x94, 0x9d, 0x17, + 0xc3, 0x08, 0x69, 0xb5, 0xa3, 0xfd, 0x8a, 0x1b, 0x88, 0x39, 0xc9, 0xa4, 0xb9, 0x2c, 0x70, 0xd2, + 0x34, 0x25, 0x04, 0x2b, 0x3a, 0xd9, 0x29, 0x94, 0x8b, 0xdf, 0xc4, 0x14, 0xca, 0x03, 0x27, 0x98, + 0x42, 0x79, 0x1d, 0x86, 0xb7, 0xdd, 0x08, 0x93, 0xb6, 0x2f, 0x1e, 0x46, 0x99, 0xeb, 0xf0, 0x2a, + 0x47, 0x49, 0x27, 0xeb, 0x14, 0x00, 0x2c, 0x89, 0xa0, 0xd7, 0xd5, 0x0e, 0x1c, 0xca, 0x17, 0x5e, + 0xa4, 0x0d, 0x42, 0x32, 0xf7, 0xa0, 0x48, 0x94, 0x3c, 0xfc, 0xa0, 0x89, 0x92, 0x57, 0x64, 0x7a, + 0xe3, 0x91, 0x7c, 0xaf, 0x2d, 0x96, 0xbd, 0xb8, 0x47, 0x52, 0xe3, 0xdb, 0x7a, 0x4a, 0xe8, 0x52, + 0xfe, 0x49, 0xa0, 0xb2, 0x3d, 0xf7, 0x99, 0x08, 0xfa, 0x07, 0x2c, 0x38, 0xdd, 0xce, 0xca, 0x8e, + 0x2e, 0x6c, 0x27, 0x5e, 0xea, 0x3b, 0x01, 0xbb, 0xd1, 0x20, 0x93, 0x39, 0x66, 0xa7, 0xd8, 0xcf, + 0x6e, 0x8e, 0x0e, 0x74, 0xb0, 0xd9, 0x10, 0x3a, 0xfc, 0x27, 0x72, 0x32, 0x4a, 0x77, 0xc9, 0x23, + 0xbd, 0x91, 0x91, 0xbd, 0xf8, 0xc9, 0xbc, 0xec, 0xc5, 0x7d, 0xe7, 0x2c, 0x7e, 0x5d, 0xe5, 0x92, + 0x1e, 0xcf, 0x5f, 0x4a, 0x3c, 0x53, 0x74, 0xcf, 0x0c, 0xd2, 0xaf, 0xab, 0x0c, 0xd2, 0x5d, 0x82, + 0x2b, 0xf3, 0xfc, 0xd0, 0x3d, 0xf3, 0x46, 0x6b, 0xb9, 0x9f, 0x27, 0x8f, 0x27, 0xf7, 0xb3, 0x71, + 0xd5, 0xf0, 0xf4, 0xc3, 0xcf, 0xf4, 0xb8, 0x6a, 0x0c, 0xba, 0xdd, 0x2f, 0x1b, 0x9e, 0xe7, 0x7a, + 0xfa, 0x81, 0xf2, 0x5c, 0xdf, 0xd6, 0xf3, 0x46, 0xa3, 0x1e, 0x89, 0x91, 0x29, 0x52, 0x9f, 0xd9, + 0xa2, 0x6f, 0xeb, 0x17, 0xe0, 0x4c, 0x3e, 0x5d, 0x75, 0xcf, 0xa5, 0xe9, 0x66, 0x5e, 0x81, 0xa9, + 0x2c, 0xd4, 0xa7, 0x4e, 0x26, 0x0b, 0xf5, 0xe9, 0x63, 0xcf, 0x42, 0x7d, 0xe6, 0x04, 0xb2, 0x50, + 0x3f, 0x72, 0x82, 0x59, 0xa8, 0x6f, 0x33, 0x83, 0x23, 0x1e, 0xd6, 0x48, 0x04, 0x83, 0x7e, 0x3a, + 0x27, 0x2a, 0x58, 0x3a, 0xf6, 0x11, 0xff, 0x38, 0x05, 0xc2, 0x31, 0xa9, 0x8c, 0xec, 0xd6, 0xb3, + 0x0f, 0x21, 0xbb, 0xf5, 0x7a, 0x9c, 0xdd, 0xfa, 0x6c, 0xfe, 0x54, 0x67, 0xb8, 0xa8, 0xe4, 0xe4, + 0xb4, 0xbe, 0xad, 0xe7, 0xa2, 0x7e, 0xb4, 0x8b, 0x56, 0x29, 0x4b, 0x38, 0xdb, 0x25, 0x03, 0xf5, + 0x6b, 0x3c, 0x03, 0xf5, 0x63, 0xf9, 0x27, 0x79, 0xf2, 0xba, 0x33, 0xf2, 0x4e, 0xd3, 0x7e, 0xa9, + 0xb0, 0xa0, 0x2c, 0xec, 0x75, 0x4e, 0xbf, 0x54, 0x5c, 0xd1, 0x74, 0xbf, 0x14, 0x08, 0xc7, 0xa4, + 0xec, 0x1f, 0x2a, 0xc0, 0xf9, 0xee, 0xfb, 0x2d, 0x96, 0x38, 0x57, 0x63, 0x25, 0x7b, 0x42, 0xe2, + 0xcc, 0xdf, 0x6c, 0x31, 0x56, 0xdf, 0x51, 0x0e, 0xaf, 0xc2, 0xb4, 0xf2, 0x6d, 0xa1, 0x6f, 0xf4, + 0xf5, 0xf8, 0xe5, 0xab, 0xe2, 0x01, 0xd4, 0x92, 0x08, 0x38, 0x5d, 0x07, 0x2d, 0xc0, 0xa4, 0x51, + 0xb8, 0x5a, 0x11, 0x6f, 0x33, 0x25, 0xe2, 0xae, 0x99, 0x60, 0x9c, 0xc4, 0xb7, 0xbf, 0x6c, 0xc1, + 0x23, 0x39, 0xe9, 0x1b, 0xfb, 0x0e, 0xe2, 0xb7, 0x05, 0x93, 0x6d, 0xb3, 0x6a, 0x8f, 0xb8, 0xa3, + 0x46, 0x92, 0x48, 0xd5, 0xd7, 0x04, 0x00, 0x27, 0x89, 0xda, 0x3f, 0x53, 0x80, 0x73, 0x5d, 0x8d, + 0x35, 0x11, 0x86, 0x33, 0xdb, 0xad, 0xd0, 0x59, 0x0a, 0x48, 0x83, 0x78, 0x91, 0xeb, 0x34, 0x6b, + 0x6d, 0x52, 0xd7, 0x74, 0x06, 0xcc, 0xea, 0xf1, 0xea, 0x5a, 0x6d, 0x21, 0x8d, 0x81, 0x73, 0x6a, + 0xa2, 0x15, 0x40, 0x69, 0x88, 0x98, 0x61, 0x16, 0x40, 0x3d, 0x4d, 0x0f, 0x67, 0xd4, 0x40, 0x1f, + 0x86, 0x71, 0x65, 0x04, 0xaa, 0xcd, 0x38, 0x3b, 0xd8, 0xb1, 0x0e, 0xc0, 0x26, 0x1e, 0xba, 0xc2, + 0x23, 0xf0, 0x8b, 0x5c, 0x0d, 0x42, 0xc1, 0x30, 0x29, 0xc3, 0xeb, 0x8b, 0x62, 0xac, 0xe3, 0x2c, + 0xbe, 0xfc, 0xeb, 0xbf, 0x7f, 0xfe, 0x7d, 0xbf, 0xf9, 0xfb, 0xe7, 0xdf, 0xf7, 0x3b, 0xbf, 0x7f, + 0xfe, 0x7d, 0xdf, 0x73, 0xff, 0xbc, 0xf5, 0xeb, 0xf7, 0xcf, 0x5b, 0xbf, 0x79, 0xff, 0xbc, 0xf5, + 0x3b, 0xf7, 0xcf, 0x5b, 0xbf, 0x77, 0xff, 0xbc, 0xf5, 0xc5, 0x3f, 0x38, 0xff, 0xbe, 0x4f, 0xa2, + 0x38, 0x2c, 0xe6, 0x65, 0x3a, 0x3b, 0x97, 0xf7, 0xae, 0xfc, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, + 0x04, 0xa7, 0x88, 0x7f, 0x92, 0x09, 0x01, 0x00, } func (m *AWSElasticBlockStoreVolumeSource) Marshal() (dAtA []byte, err error) { @@ -15056,6 +15059,18 @@ func (m *PodSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.HostUsers != nil { + i-- + if *m.HostUsers { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x2 + i-- + dAtA[i] = 0xa8 + } if m.OS != nil { { size, err := m.OS.MarshalToSizedBuffer(dAtA[:i]) @@ -18918,6 +18933,15 @@ func (m *TopologySpreadConstraint) MarshalToSizedBuffer(dAtA []byte) (int, error _ = i var l int _ = l + if len(m.MatchLabelKeys) > 0 { + for iNdEx := len(m.MatchLabelKeys) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.MatchLabelKeys[iNdEx]) + copy(dAtA[i:], m.MatchLabelKeys[iNdEx]) + i = encodeVarintGenerated(dAtA, i, uint64(len(m.MatchLabelKeys[iNdEx]))) + i-- + dAtA[i] = 0x42 + } + } if m.NodeTaintsPolicy != nil { i -= len(*m.NodeTaintsPolicy) copy(dAtA[i:], *m.NodeTaintsPolicy) @@ -22846,6 +22870,9 @@ func (m *PodSpec) Size() (n int) { l = m.OS.Size() n += 2 + l + sovGenerated(uint64(l)) } + if m.HostUsers != nil { + n += 3 + } return n } @@ -24135,6 +24162,12 @@ func (m *TopologySpreadConstraint) Size() (n int) { l = len(*m.NodeTaintsPolicy) n += 1 + l + sovGenerated(uint64(l)) } + if len(m.MatchLabelKeys) > 0 { + for _, s := range m.MatchLabelKeys { + l = len(s) + n += 1 + l + sovGenerated(uint64(l)) + } + } return n } @@ -26727,6 +26760,7 @@ func (this *PodSpec) String() string { `EphemeralContainers:` + repeatedStringForEphemeralContainers + `,`, `SetHostnameAsFQDN:` + valueToStringGenerated(this.SetHostnameAsFQDN) + `,`, `OS:` + strings.Replace(this.OS.String(), "PodOS", "PodOS", 1) + `,`, + `HostUsers:` + valueToStringGenerated(this.HostUsers) + `,`, `}`, }, "") return s @@ -27726,6 +27760,7 @@ func (this *TopologySpreadConstraint) String() string { `MinDomains:` + valueToStringGenerated(this.MinDomains) + `,`, `NodeAffinityPolicy:` + valueToStringGenerated(this.NodeAffinityPolicy) + `,`, `NodeTaintsPolicy:` + valueToStringGenerated(this.NodeTaintsPolicy) + `,`, + `MatchLabelKeys:` + fmt.Sprintf("%v", this.MatchLabelKeys) + `,`, `}`, }, "") return s @@ -54418,6 +54453,27 @@ func (m *PodSpec) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 37: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field HostUsers", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + b := bool(v != 0) + m.HostUsers = &b default: iNdEx = preIndex skippy, err := skipGenerated(dAtA[iNdEx:]) @@ -64026,7 +64082,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - s := IPFamilyPolicyType(dAtA[iNdEx:postIndex]) + s := IPFamilyPolicy(dAtA[iNdEx:postIndex]) m.IPFamilyPolicy = &s iNdEx = postIndex case 18: @@ -65849,6 +65905,38 @@ func (m *TopologySpreadConstraint) Unmarshal(dAtA []byte) error { s := NodeInclusionPolicy(dAtA[iNdEx:postIndex]) m.NodeTaintsPolicy = &s iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MatchLabelKeys", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MatchLabelKeys = append(m.MatchLabelKeys, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(dAtA[iNdEx:]) diff --git a/cluster-autoscaler/vendor/k8s.io/api/core/v1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/core/v1/generated.proto index bb6f8b17c512..256f5da32f9e 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/core/v1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/core/v1/generated.proto @@ -656,12 +656,12 @@ message Container { // +optional optional string workingDir = 5; - // List of ports to expose from the container. Exposing a port here gives - // the system additional information about the network connections a - // container uses, but is primarily informational. Not specifying a port here + // List of ports to expose from the container. Not specifying a port here // DOES NOT prevent that port from being exposed. Any port which is // listening on the default "0.0.0.0" address inside a container will be // accessible from the network. + // Modifying this array with strategic merge patch may corrupt the data. + // For more information See https://github.com/kubernetes/kubernetes/issues/108255. // Cannot be updated. // +optional // +patchMergeKey=containerPort @@ -1071,13 +1071,16 @@ message EndpointPort { // EndpointSubset is a group of addresses with a common set of ports. The // expanded set of endpoints is the Cartesian product of Addresses x Ports. // For example, given: -// { -// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], -// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] -// } +// +// { +// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], +// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] +// } +// // The resulting set of endpoints can be viewed as: -// a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], -// b: [ 10.10.1.1:309, 10.10.2.2:309 ] +// +// a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], +// b: [ 10.10.1.1:309, 10.10.2.2:309 ] message EndpointSubset { // IP addresses which offer the related ports that are marked as ready. These endpoints // should be considered safe for load balancers and clients to utilize. @@ -1096,17 +1099,18 @@ message EndpointSubset { } // Endpoints is a collection of endpoints that implement the actual service. Example: -// Name: "mysvc", -// Subsets: [ -// { -// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], -// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] -// }, -// { -// Addresses: [{"ip": "10.10.3.3"}], -// Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] -// }, -// ] +// +// Name: "mysvc", +// Subsets: [ +// { +// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], +// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] +// }, +// { +// Addresses: [{"ip": "10.10.3.3"}], +// Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] +// }, +// ] message Endpoints { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata @@ -1201,8 +1205,6 @@ message EnvVarSource { // // To add an ephemeral container, use the ephemeralcontainers subresource of an existing // Pod. Ephemeral containers may not be removed or restarted. -// -// This is a beta feature available on clusters that haven't disabled the EphemeralContainers feature gate. message EphemeralContainer { // Ephemeral containers have all of the fields of Container, plus additional fields // specific to ephemeral containers. Fields in common with Container are in the @@ -2544,6 +2546,7 @@ message ObjectFieldSelector { // and the version of the actual struct is irrelevant. // 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type // will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. +// // Instead of using this type, create a locally provided and used type that is well-focused on your reference. // For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object @@ -2948,6 +2951,7 @@ message PersistentVolumeSpec { // claim.VolumeName is the authoritative bind between PV and PVC. // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding // +optional + // +structType=granular optional ObjectReference claimRef = 4; // persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. @@ -3241,7 +3245,8 @@ message PodExecOptions { // IP address information for entries in the (plural) PodIPs field. // Each entry includes: -// IP: An IP address allocated to the pod. Routable at least within the cluster. +// +// IP: An IP address allocated to the pod. Routable at least within the cluster. message PodIP { // ip is an IP address (IPv4 or IPv6) assigned to the pod optional string ip = 1; @@ -3483,7 +3488,6 @@ message PodSpec { // pod to perform user-initiated actions such as debugging. This list cannot be specified when // creating a pod, and it cannot be modified by updating the pod spec. In order to add an // ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. - // This field is beta-level and available on clusters that haven't disabled the EphemeralContainers feature gate. // +optional // +patchMergeKey=name // +patchStrategy=merge @@ -3709,6 +3713,7 @@ message PodSpec { // If the OS field is set to windows, following fields must be unset: // - spec.hostPID // - spec.hostIPC + // - spec.hostUsers // - spec.securityContext.seLinuxOptions // - spec.securityContext.seccompProfile // - spec.securityContext.fsGroup @@ -3728,8 +3733,20 @@ message PodSpec { // - spec.containers[*].securityContext.runAsUser // - spec.containers[*].securityContext.runAsGroup // +optional - // This is a beta field and requires the IdentifyPodOS feature optional PodOS os = 36; + + // Use the host's user namespace. + // Optional: Default to true. + // If set to true or not present, the pod will be run in the host user namespace, useful + // for when the pod needs a feature only available to the host user namespace, such as + // loading a kernel module with CAP_SYS_MODULE. + // When set to false, a new userns is created for the pod. Setting false is useful for + // mitigating container breakout vulnerabilities even allowing users to run their + // containers as root without actually having root privileges on the host. + // This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature. + // +k8s:conversion-gen=false + // +optional + optional bool hostUsers = 37; } // PodStatus represents information about the status of a pod. Status may trail the actual @@ -3823,7 +3840,6 @@ message PodStatus { optional string qosClass = 9; // Status for any ephemeral containers that have run in this pod. - // This field is beta-level and available on clusters that haven't disabled the EphemeralContainers feature gate. // +optional repeated ContainerStatus ephemeralContainerStatuses = 13; } @@ -5117,6 +5133,7 @@ message ServiceSpec { // service or not. If this field is specified when creating a Service // which does not need it, creation will fail. This field will be wiped // when updating a Service to no longer need it (e.g. changing type). + // This field cannot be updated once set. // +optional optional int32 healthCheckNodePort = 12; @@ -5474,7 +5491,7 @@ message TopologySpreadConstraint { // because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, // it will violate MaxSkew. // - // This is an alpha field and requires enabling MinDomainsInPodTopologySpread feature gate. + // This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default). // +optional optional int32 minDomains = 5; @@ -5498,6 +5515,16 @@ message TopologySpreadConstraint { // This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. // +optional optional string nodeTaintsPolicy = 7; + + // MatchLabelKeys is a set of pod label keys to select the pods over which + // spreading will be calculated. The keys are used to lookup values from the + // incoming pod labels, those key-value labels are ANDed with labelSelector + // to select the group of existing pods over which spreading will be calculated + // for the incoming pod. Keys that don't exist in the incoming pod labels will + // be ignored. A null or empty list means only match against labelSelector. + // +listType=atomic + // +optional + repeated string matchLabelKeys = 8; } // TypedLocalObjectReference contains enough information to let you locate the diff --git a/cluster-autoscaler/vendor/k8s.io/api/core/v1/toleration.go b/cluster-autoscaler/vendor/k8s.io/api/core/v1/toleration.go index b203d335b6be..9341abf89192 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/core/v1/toleration.go +++ b/cluster-autoscaler/vendor/k8s.io/api/core/v1/toleration.go @@ -29,11 +29,14 @@ func (t *Toleration) MatchToleration(tolerationToMatch *Toleration) bool { // ToleratesTaint checks if the toleration tolerates the taint. // The matching follows the rules below: // (1) Empty toleration.effect means to match all taint effects, -// otherwise taint effect must equal to toleration.effect. +// +// otherwise taint effect must equal to toleration.effect. +// // (2) If toleration.operator is 'Exists', it means to match all taint values. // (3) Empty toleration.key means to match all taint keys. -// If toleration.key is empty, toleration.operator must be 'Exists'; -// this combination means to match all taint values and all taint keys. +// +// If toleration.key is empty, toleration.operator must be 'Exists'; +// this combination means to match all taint values and all taint keys. func (t *Toleration) ToleratesTaint(taint *Taint) bool { if len(t.Effect) > 0 && t.Effect != taint.Effect { return false diff --git a/cluster-autoscaler/vendor/k8s.io/api/core/v1/types.go b/cluster-autoscaler/vendor/k8s.io/api/core/v1/types.go index 73c605fb5bfc..754a23613db5 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/core/v1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/core/v1/types.go @@ -337,6 +337,7 @@ type PersistentVolumeSpec struct { // claim.VolumeName is the authoritative bind between PV and PVC. // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding // +optional + // +structType=granular ClaimRef *ObjectReference `json:"claimRef,omitempty" protobuf:"bytes,4,opt,name=claimRef"` // persistentVolumeReclaimPolicy defines what happens to a persistent volume when released from its claim. // Valid options are Retain (default for manually created PersistentVolumes), Delete (default @@ -2333,12 +2334,12 @@ type Container struct { // Cannot be updated. // +optional WorkingDir string `json:"workingDir,omitempty" protobuf:"bytes,5,opt,name=workingDir"` - // List of ports to expose from the container. Exposing a port here gives - // the system additional information about the network connections a - // container uses, but is primarily informational. Not specifying a port here + // List of ports to expose from the container. Not specifying a port here // DOES NOT prevent that port from being exposed. Any port which is // listening on the default "0.0.0.0" address inside a container will be // accessible from the network. + // Modifying this array with strategic merge patch may corrupt the data. + // For more information See https://github.com/kubernetes/kubernetes/issues/108255. // Cannot be updated. // +optional // +patchMergeKey=containerPort @@ -2653,6 +2654,10 @@ const ( PodReady PodConditionType = "Ready" // PodScheduled represents status of the scheduling process for this pod. PodScheduled PodConditionType = "PodScheduled" + // AlphaNoCompatGuaranteeDisruptionTarget indicates the pod is about to be deleted due to a + // disruption (such as preemption, eviction API or garbage-collection). + // The constant is to be renamed once the name is accepted within the KEP-3329. + AlphaNoCompatGuaranteeDisruptionTarget PodConditionType = "DisruptionTarget" ) // These are reasons for a pod's transition to a condition. @@ -3090,7 +3095,6 @@ type PodSpec struct { // pod to perform user-initiated actions such as debugging. This list cannot be specified when // creating a pod, and it cannot be modified by updating the pod spec. In order to add an // ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. - // This field is beta-level and available on clusters that haven't disabled the EphemeralContainers feature gate. // +optional // +patchMergeKey=name // +patchStrategy=merge @@ -3286,6 +3290,7 @@ type PodSpec struct { // If the OS field is set to windows, following fields must be unset: // - spec.hostPID // - spec.hostIPC + // - spec.hostUsers // - spec.securityContext.seLinuxOptions // - spec.securityContext.seccompProfile // - spec.securityContext.fsGroup @@ -3305,8 +3310,19 @@ type PodSpec struct { // - spec.containers[*].securityContext.runAsUser // - spec.containers[*].securityContext.runAsGroup // +optional - // This is a beta field and requires the IdentifyPodOS feature OS *PodOS `json:"os,omitempty" protobuf:"bytes,36,opt,name=os"` + // Use the host's user namespace. + // Optional: Default to true. + // If set to true or not present, the pod will be run in the host user namespace, useful + // for when the pod needs a feature only available to the host user namespace, such as + // loading a kernel module with CAP_SYS_MODULE. + // When set to false, a new userns is created for the pod. Setting false is useful for + // mitigating container breakout vulnerabilities even allowing users to run their + // containers as root without actually having root privileges on the host. + // This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature. + // +k8s:conversion-gen=false + // +optional + HostUsers *bool `json:"hostUsers,omitempty" protobuf:"bytes,37,opt,name=hostUsers"` } // OSName is the set of OS'es that can be used in OS. @@ -3434,7 +3450,7 @@ type TopologySpreadConstraint struct { // because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, // it will violate MaxSkew. // - // This is an alpha field and requires enabling MinDomainsInPodTopologySpread feature gate. + // This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default). // +optional MinDomains *int32 `json:"minDomains,omitempty" protobuf:"varint,5,opt,name=minDomains"` // NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector @@ -3456,6 +3472,15 @@ type TopologySpreadConstraint struct { // This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. // +optional NodeTaintsPolicy *NodeInclusionPolicy `json:"nodeTaintsPolicy,omitempty" protobuf:"bytes,7,opt,name=nodeTaintsPolicy"` + // MatchLabelKeys is a set of pod label keys to select the pods over which + // spreading will be calculated. The keys are used to lookup values from the + // incoming pod labels, those key-value labels are ANDed with labelSelector + // to select the group of existing pods over which spreading will be calculated + // for the incoming pod. Keys that don't exist in the incoming pod labels will + // be ignored. A null or empty list means only match against labelSelector. + // +listType=atomic + // +optional + MatchLabelKeys []string `json:"matchLabelKeys,omitempty" protobuf:"bytes,8,opt,name=matchLabelKeys"` } const ( @@ -3647,7 +3672,8 @@ type PodDNSConfigOption struct { // IP address information for entries in the (plural) PodIPs field. // Each entry includes: -// IP: An IP address allocated to the pod. Routable at least within the cluster. +// +// IP: An IP address allocated to the pod. Routable at least within the cluster. type PodIP struct { // ip is an IP address (IPv4 or IPv6) assigned to the pod IP string `json:"ip,omitempty" protobuf:"bytes,1,opt,name=ip"` @@ -3804,8 +3830,6 @@ var _ = Container(EphemeralContainerCommon{}) // // To add an ephemeral container, use the ephemeralcontainers subresource of an existing // Pod. Ephemeral containers may not be removed or restarted. -// -// This is a beta feature available on clusters that haven't disabled the EphemeralContainers feature gate. type EphemeralContainer struct { // Ephemeral containers have all of the fields of Container, plus additional fields // specific to ephemeral containers. Fields in common with Container are in the @@ -3907,7 +3931,6 @@ type PodStatus struct { // +optional QOSClass PodQOSClass `json:"qosClass,omitempty" protobuf:"bytes,9,rep,name=qosClass"` // Status for any ephemeral containers that have run in this pod. - // This field is beta-level and available on clusters that haven't disabled the EphemeralContainers feature gate. // +optional EphemeralContainerStatuses []ContainerStatus `json:"ephemeralContainerStatuses,omitempty" protobuf:"bytes,13,rep,name=ephemeralContainerStatuses"` } @@ -4300,30 +4323,34 @@ const ( IPv6Protocol IPFamily = "IPv6" ) -// IPFamilyPolicyType represents the dual-stack-ness requested or required by a Service +// IPFamilyPolicy represents the dual-stack-ness requested or required by a Service // +enum -type IPFamilyPolicyType string +type IPFamilyPolicy string const ( // IPFamilyPolicySingleStack indicates that this service is required to have a single IPFamily. // The IPFamily assigned is based on the default IPFamily used by the cluster // or as identified by service.spec.ipFamilies field - IPFamilyPolicySingleStack IPFamilyPolicyType = "SingleStack" + IPFamilyPolicySingleStack IPFamilyPolicy = "SingleStack" // IPFamilyPolicyPreferDualStack indicates that this service prefers dual-stack when // the cluster is configured for dual-stack. If the cluster is not configured // for dual-stack the service will be assigned a single IPFamily. If the IPFamily is not // set in service.spec.ipFamilies then the service will be assigned the default IPFamily // configured on the cluster - IPFamilyPolicyPreferDualStack IPFamilyPolicyType = "PreferDualStack" + IPFamilyPolicyPreferDualStack IPFamilyPolicy = "PreferDualStack" // IPFamilyPolicyRequireDualStack indicates that this service requires dual-stack. Using // IPFamilyPolicyRequireDualStack on a single stack cluster will result in validation errors. The // IPFamilies (and their order) assigned to this service is based on service.spec.ipFamilies. If // service.spec.ipFamilies was not provided then it will be assigned according to how they are // configured on the cluster. If service.spec.ipFamilies has only one entry then the alternative // IPFamily will be added by apiserver - IPFamilyPolicyRequireDualStack IPFamilyPolicyType = "RequireDualStack" + IPFamilyPolicyRequireDualStack IPFamilyPolicy = "RequireDualStack" ) +// for backwards compat +// +enum +type IPFamilyPolicyType = IPFamilyPolicy + // ServiceSpec describes the attributes that a user creates on a service. type ServiceSpec struct { // The list of ports that are exposed by this service. @@ -4475,6 +4502,7 @@ type ServiceSpec struct { // service or not. If this field is specified when creating a Service // which does not need it, creation will fail. This field will be wiped // when updating a Service to no longer need it (e.g. changing type). + // This field cannot be updated once set. // +optional HealthCheckNodePort int32 `json:"healthCheckNodePort,omitempty" protobuf:"bytes,12,opt,name=healthCheckNodePort"` @@ -4528,7 +4556,7 @@ type ServiceSpec struct { // ipFamilies and clusterIPs fields depend on the value of this field. This // field will be wiped when updating a service to type ExternalName. // +optional - IPFamilyPolicy *IPFamilyPolicyType `json:"ipFamilyPolicy,omitempty" protobuf:"bytes,17,opt,name=ipFamilyPolicy,casttype=IPFamilyPolicyType"` + IPFamilyPolicy *IPFamilyPolicy `json:"ipFamilyPolicy,omitempty" protobuf:"bytes,17,opt,name=ipFamilyPolicy,casttype=IPFamilyPolicy"` // allocateLoadBalancerNodePorts defines if NodePorts will be automatically // allocated for services with type LoadBalancer. Default is "true". It @@ -4721,17 +4749,18 @@ type ServiceAccountList struct { // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // Endpoints is a collection of endpoints that implement the actual service. Example: -// Name: "mysvc", -// Subsets: [ -// { -// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], -// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] -// }, -// { -// Addresses: [{"ip": "10.10.3.3"}], -// Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] -// }, -// ] +// +// Name: "mysvc", +// Subsets: [ +// { +// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], +// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] +// }, +// { +// Addresses: [{"ip": "10.10.3.3"}], +// Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] +// }, +// ] type Endpoints struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. @@ -4753,13 +4782,16 @@ type Endpoints struct { // EndpointSubset is a group of addresses with a common set of ports. The // expanded set of endpoints is the Cartesian product of Addresses x Ports. // For example, given: -// { -// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], -// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] -// } +// +// { +// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], +// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] +// } +// // The resulting set of endpoints can be viewed as: -// a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], -// b: [ 10.10.1.1:309, 10.10.2.2:309 ] +// +// a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], +// b: [ 10.10.1.1:309, 10.10.2.2:309 ] type EndpointSubset struct { // IP addresses which offer the related ports that are marked as ready. These endpoints // should be considered safe for load balancers and clients to utilize. @@ -5632,6 +5664,7 @@ type ServiceProxyOptions struct { // and the version of the actual struct is irrelevant. // 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type // will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. +// // Instead of using this type, create a locally provided and used type that is well-focused on your reference. // For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object diff --git a/cluster-autoscaler/vendor/k8s.io/api/core/v1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/core/v1/types_swagger_doc_generated.go index cb898881f245..6bae4bb76fb8 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/core/v1/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/core/v1/types_swagger_doc_generated.go @@ -332,7 +332,7 @@ var map_Container = map[string]string{ "command": "Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "args": "Arguments to the entrypoint. The container image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", "workingDir": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", - "ports": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.", + "ports": "List of ports to expose from the container. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Modifying this array with strategic merge patch may corrupt the data. For more information See https://github.com/kubernetes/kubernetes/issues/108255. Cannot be updated.", "envFrom": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", "env": "List of environment variables to set in the container. Cannot be updated.", "resources": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", @@ -515,7 +515,7 @@ func (EndpointPort) SwaggerDoc() map[string]string { } var map_EndpointSubset = map[string]string{ - "": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n }\nThe resulting set of endpoints can be viewed as:\n a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n b: [ 10.10.1.1:309, 10.10.2.2:309 ]", + "": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n\n\t{\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t}\n\nThe resulting set of endpoints can be viewed as:\n\n\ta: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n\tb: [ 10.10.1.1:309, 10.10.2.2:309 ]", "addresses": "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.", "notReadyAddresses": "IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.", "ports": "Port numbers available on the related IP addresses.", @@ -526,7 +526,7 @@ func (EndpointSubset) SwaggerDoc() map[string]string { } var map_Endpoints = map[string]string{ - "": "Endpoints is a collection of endpoints that implement the actual service. Example:\n Name: \"mysvc\",\n Subsets: [\n {\n Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n },\n {\n Addresses: [{\"ip\": \"10.10.3.3\"}],\n Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n },\n ]", + "": "Endpoints is a collection of endpoints that implement the actual service. Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t {\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t },\n\t {\n\t Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t },\n\t]", "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", "subsets": "The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.", } @@ -580,7 +580,7 @@ func (EnvVarSource) SwaggerDoc() map[string]string { } var map_EphemeralContainer = map[string]string{ - "": "An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation.\n\nTo add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.\n\nThis is a beta feature available on clusters that haven't disabled the EphemeralContainers feature gate.", + "": "An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation.\n\nTo add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.", "targetContainerName": "If set, the name of the container from PodSpec that this ephemeral container targets. The ephemeral container will be run in the namespaces (IPC, PID, etc) of this container. If not set then the ephemeral container uses the namespaces configured in the Pod spec.\n\nThe container runtime must implement support for this feature. If the runtime does not support namespace targeting then the result of setting this field is undefined.", } @@ -1535,7 +1535,7 @@ func (PodExecOptions) SwaggerDoc() map[string]string { } var map_PodIP = map[string]string{ - "": "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n IP: An IP address allocated to the pod. Routable at least within the cluster.", + "": "IP address information for entries in the (plural) PodIPs field. Each entry includes:\n\n\tIP: An IP address allocated to the pod. Routable at least within the cluster.", "ip": "ip is an IP address (IPv4 or IPv6) assigned to the pod", } @@ -1638,7 +1638,7 @@ var map_PodSpec = map[string]string{ "volumes": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes", "initContainers": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/", "containers": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated.", - "ephemeralContainers": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. This field is beta-level and available on clusters that haven't disabled the EphemeralContainers feature gate.", + "ephemeralContainers": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing pod to perform user-initiated actions such as debugging. This list cannot be specified when creating a pod, and it cannot be modified by updating the pod spec. In order to add an ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.", "restartPolicy": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy", "terminationGracePeriodSeconds": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). If this value is nil, the default grace period will be used instead. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. Defaults to 30 seconds.", "activeDeadlineSeconds": "Optional duration in seconds the pod may be active on the node relative to StartTime before the system will actively try to mark it failed and kill associated containers. Value must be a positive integer.", @@ -1670,7 +1670,8 @@ var map_PodSpec = map[string]string{ "overhead": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md", "topologySpreadConstraints": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed.", "setHostnameAsFQDN": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.", - "os": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup This is a beta field and requires the IdentifyPodOS feature", + "os": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup", + "hostUsers": "Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.", } func (PodSpec) SwaggerDoc() map[string]string { @@ -1691,7 +1692,7 @@ var map_PodStatus = map[string]string{ "initContainerStatuses": "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", "containerStatuses": "The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status", "qosClass": "The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: https://git.k8s.io/community/contributors/design-proposals/node/resource-qos.md", - "ephemeralContainerStatuses": "Status for any ephemeral containers that have run in this pod. This field is beta-level and available on clusters that haven't disabled the EphemeralContainers feature gate.", + "ephemeralContainerStatuses": "Status for any ephemeral containers that have run in this pod.", } func (PodStatus) SwaggerDoc() map[string]string { @@ -2276,7 +2277,7 @@ var map_ServiceSpec = map[string]string{ "loadBalancerSourceRanges": "If specified and supported by the platform, this will restrict traffic through the cloud-provider load-balancer will be restricted to the specified client IPs. This field will be ignored if the cloud-provider does not support the feature.\" More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/", "externalName": "externalName is the external reference that discovery mechanisms will return as an alias for this service (e.g. a DNS CNAME record). No proxying will be involved. Must be a lowercase RFC-1123 hostname (https://tools.ietf.org/html/rfc1123) and requires `type` to be \"ExternalName\".", "externalTrafficPolicy": "externalTrafficPolicy describes how nodes distribute service traffic they receive on one of the Service's \"externally-facing\" addresses (NodePorts, ExternalIPs, and LoadBalancer IPs). If set to \"Local\", the proxy will configure the service in a way that assumes that external load balancers will take care of balancing the service traffic between nodes, and so each node will deliver traffic only to the node-local endpoints of the service, without masquerading the client source IP. (Traffic mistakenly sent to a node with no endpoints will be dropped.) The default value, \"Cluster\", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features). Note that traffic sent to an External IP or LoadBalancer IP from within the cluster will always get \"Cluster\" semantics, but clients sending to a NodePort from within the cluster may need to take traffic policy into account when picking a node.", - "healthCheckNodePort": "healthCheckNodePort specifies the healthcheck nodePort for the service. This only applies when type is set to LoadBalancer and externalTrafficPolicy is set to Local. If a value is specified, is in-range, and is not in use, it will be used. If not specified, a value will be automatically allocated. External systems (e.g. load-balancers) can use this port to determine if a given node holds endpoints for this service or not. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type).", + "healthCheckNodePort": "healthCheckNodePort specifies the healthcheck nodePort for the service. This only applies when type is set to LoadBalancer and externalTrafficPolicy is set to Local. If a value is specified, is in-range, and is not in use, it will be used. If not specified, a value will be automatically allocated. External systems (e.g. load-balancers) can use this port to determine if a given node holds endpoints for this service or not. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type). This field cannot be updated once set.", "publishNotReadyAddresses": "publishNotReadyAddresses indicates that any agent which deals with endpoints for this Service should disregard any indications of ready/not-ready. The primary use case for setting this field is for a StatefulSet's Headless Service to propagate SRV DNS records for its Pods for the purpose of peer discovery. The Kubernetes controllers that generate Endpoints and EndpointSlice resources for Services interpret this to mean that all endpoints are considered \"ready\" even if the Pods themselves are not. Agents which consume only Kubernetes generated endpoints through the Endpoints or EndpointSlice resources can safely assume this behavior.", "sessionAffinityConfig": "sessionAffinityConfig contains the configurations of session affinity.", "ipFamilies": "IPFamilies is a list of IP families (e.g. IPv4, IPv6) assigned to this service. This field is usually assigned automatically based on cluster configuration and the ipFamilyPolicy field. If this field is specified manually, the requested family is available in the cluster, and ipFamilyPolicy allows it, it will be used; otherwise creation of the service will fail. This field is conditionally mutable: it allows for adding or removing a secondary IP family, but it does not allow changing the primary IP family of the Service. Valid values are \"IPv4\" and \"IPv6\". This field only applies to Services of types ClusterIP, NodePort, and LoadBalancer, and does apply to \"headless\" services. This field will be wiped when updating a Service to type ExternalName.\n\nThis field may hold a maximum of two entries (dual-stack families, in either order). These families must correspond to the values of the clusterIPs field, if specified. Both clusterIPs and ipFamilies are governed by the ipFamilyPolicy field.", @@ -2408,6 +2409,7 @@ var map_TopologySpreadConstraint = map[string]string{ "minDomains": "MinDomains indicates a minimum number of eligible domains. When the number of eligible domains with matching topology keys is less than minDomains, Pod Topology Spread treats \"global minimum\" as 0, and then the calculation of Skew is performed. And when the number of eligible domains with matching topology keys equals or greater than minDomains, this value has no effect on scheduling. As a result, when the number of eligible domains is less than minDomains, scheduler won't schedule more than maxSkew Pods to those domains. If value is nil, the constraint behaves as if MinDomains is equal to 1. Valid values are integers greater than 0. When value is not nil, WhenUnsatisfiable must be DoNotSchedule.\n\nFor example, in a 3-zone cluster, MaxSkew is set to 2, MinDomains is set to 5 and pods with the same labelSelector spread as 2/2/2: ", "nodeAffinityPolicy": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.", "nodeTaintsPolicy": "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy. This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.", + "matchLabelKeys": "MatchLabelKeys is a set of pod label keys to select the pods over which spreading will be calculated. The keys are used to lookup values from the incoming pod labels, those key-value labels are ANDed with labelSelector to select the group of existing pods over which spreading will be calculated for the incoming pod. Keys that don't exist in the incoming pod labels will be ignored. A null or empty list means only match against labelSelector.", } func (TopologySpreadConstraint) SwaggerDoc() map[string]string { diff --git a/cluster-autoscaler/vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go b/cluster-autoscaler/vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go index 5c83e5b89dfa..e5a644ead948 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go +++ b/cluster-autoscaler/vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go @@ -3954,6 +3954,11 @@ func (in *PodSpec) DeepCopyInto(out *PodSpec) { *out = new(PodOS) **out = **in } + if in.HostUsers != nil { + in, out := &in.HostUsers, &out.HostUsers + *out = new(bool) + **out = **in + } return } @@ -5405,7 +5410,7 @@ func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) { } if in.IPFamilyPolicy != nil { in, out := &in.IPFamilyPolicy, &out.IPFamilyPolicy - *out = new(IPFamilyPolicyType) + *out = new(IPFamilyPolicy) **out = **in } if in.AllocateLoadBalancerNodePorts != nil { @@ -5664,6 +5669,11 @@ func (in *TopologySpreadConstraint) DeepCopyInto(out *TopologySpreadConstraint) *out = new(NodeInclusionPolicy) **out = **in } + if in.MatchLabelKeys != nil { + in, out := &in.MatchLabelKeys, &out.MatchLabelKeys + *out = make([]string, len(*in)) + copy(*out, *in) + } return } diff --git a/cluster-autoscaler/vendor/k8s.io/api/discovery/v1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/discovery/v1/generated.proto index 44d9d19e26e2..7ef2a871ebe4 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/discovery/v1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/discovery/v1/generated.proto @@ -66,8 +66,7 @@ message Endpoint { map deprecatedTopology = 5; // nodeName represents the name of the Node hosting this endpoint. This can - // be used to determine endpoints local to a Node. This field can be enabled - // with the EndpointSliceNodeName feature gate. + // be used to determine endpoints local to a Node. // +optional optional string nodeName = 6; diff --git a/cluster-autoscaler/vendor/k8s.io/api/discovery/v1/types.go b/cluster-autoscaler/vendor/k8s.io/api/discovery/v1/types.go index 13591436d140..0757a6b8423f 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/discovery/v1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/discovery/v1/types.go @@ -101,8 +101,7 @@ type Endpoint struct { DeprecatedTopology map[string]string `json:"deprecatedTopology,omitempty" protobuf:"bytes,5,opt,name=deprecatedTopology"` // nodeName represents the name of the Node hosting this endpoint. This can - // be used to determine endpoints local to a Node. This field can be enabled - // with the EndpointSliceNodeName feature gate. + // be used to determine endpoints local to a Node. // +optional NodeName *string `json:"nodeName,omitempty" protobuf:"bytes,6,opt,name=nodeName"` // zone is the name of the Zone this endpoint exists in. diff --git a/cluster-autoscaler/vendor/k8s.io/api/discovery/v1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/discovery/v1/types_swagger_doc_generated.go index bb3c8769fd64..c83bb014ce63 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/discovery/v1/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/discovery/v1/types_swagger_doc_generated.go @@ -34,7 +34,7 @@ var map_Endpoint = map[string]string{ "hostname": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.", "targetRef": "targetRef is a reference to a Kubernetes object that represents this endpoint.", "deprecatedTopology": "deprecatedTopology contains topology information part of the v1beta1 API. This field is deprecated, and will be removed when the v1beta1 API is removed (no sooner than kubernetes v1.24). While this field can hold values, it is not writable through the v1 API, and any attempts to write to it will be silently ignored. Topology information can be found in the zone and nodeName fields instead.", - "nodeName": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.", + "nodeName": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.", "zone": "zone is the name of the Zone this endpoint exists in.", "hints": "hints contains information associated with how an endpoint should be consumed.", } diff --git a/cluster-autoscaler/vendor/k8s.io/api/discovery/v1beta1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/discovery/v1beta1/generated.proto index 84bdf075af22..6f76bb2c626c 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/discovery/v1beta1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/discovery/v1beta1/generated.proto @@ -73,8 +73,7 @@ message Endpoint { map topology = 5; // nodeName represents the name of the Node hosting this endpoint. This can - // be used to determine endpoints local to a Node. This field can be enabled - // with the EndpointSliceNodeName feature gate. + // be used to determine endpoints local to a Node. // +optional optional string nodeName = 6; diff --git a/cluster-autoscaler/vendor/k8s.io/api/discovery/v1beta1/types.go b/cluster-autoscaler/vendor/k8s.io/api/discovery/v1beta1/types.go index 8620004f44ff..3bc780fadcc6 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/discovery/v1beta1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/discovery/v1beta1/types.go @@ -109,8 +109,7 @@ type Endpoint struct { // +optional Topology map[string]string `json:"topology,omitempty" protobuf:"bytes,5,opt,name=topology"` // nodeName represents the name of the Node hosting this endpoint. This can - // be used to determine endpoints local to a Node. This field can be enabled - // with the EndpointSliceNodeName feature gate. + // be used to determine endpoints local to a Node. // +optional NodeName *string `json:"nodeName,omitempty" protobuf:"bytes,6,opt,name=nodeName"` // hints contains information associated with how an endpoint should be diff --git a/cluster-autoscaler/vendor/k8s.io/api/discovery/v1beta1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/discovery/v1beta1/types_swagger_doc_generated.go index 96e6d13ef7f0..122da0620c72 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/discovery/v1beta1/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/discovery/v1beta1/types_swagger_doc_generated.go @@ -34,7 +34,7 @@ var map_Endpoint = map[string]string{ "hostname": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must be lowercase and pass DNS Label (RFC 1123) validation.", "targetRef": "targetRef is a reference to a Kubernetes object that represents this endpoint.", "topology": "topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node\n where the endpoint is located. This should match the corresponding\n node label.\n* topology.kubernetes.io/zone: the value indicates the zone where the\n endpoint is located. This should match the corresponding node label.\n* topology.kubernetes.io/region: the value indicates the region where the\n endpoint is located. This should match the corresponding node label.\nThis field is deprecated and will be removed in future api versions.", - "nodeName": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node. This field can be enabled with the EndpointSliceNodeName feature gate.", + "nodeName": "nodeName represents the name of the Node hosting this endpoint. This can be used to determine endpoints local to a Node.", "hints": "hints contains information associated with how an endpoint should be consumed.", } diff --git a/cluster-autoscaler/vendor/k8s.io/api/extensions/v1beta1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/extensions/v1beta1/generated.proto index eaa63b59fa42..8923b18602bb 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/extensions/v1beta1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/extensions/v1beta1/generated.proto @@ -769,8 +769,6 @@ message NetworkPolicyPort { // should be allowed by the policy. This field cannot be defined if the port field // is not defined or if the port field is defined as a named (string) port. // The endPort must be equal or greater than port. - // This feature is in Beta state and is enabled by default. - // It can be disabled using the Feature Gate "NetworkPolicyEndPort". // +optional optional int32 endPort = 3; } diff --git a/cluster-autoscaler/vendor/k8s.io/api/extensions/v1beta1/types.go b/cluster-autoscaler/vendor/k8s.io/api/extensions/v1beta1/types.go index c63cf0d6713a..0674dae8b335 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/extensions/v1beta1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/extensions/v1beta1/types.go @@ -1498,8 +1498,6 @@ type NetworkPolicyPort struct { // should be allowed by the policy. This field cannot be defined if the port field // is not defined or if the port field is defined as a named (string) port. // The endPort must be equal or greater than port. - // This feature is in Beta state and is enabled by default. - // It can be disabled using the Feature Gate "NetworkPolicyEndPort". // +optional EndPort *int32 `json:"endPort,omitempty" protobuf:"bytes,3,opt,name=endPort"` } diff --git a/cluster-autoscaler/vendor/k8s.io/api/extensions/v1beta1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/extensions/v1beta1/types_swagger_doc_generated.go index cf924b5897c2..a3457813ad55 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/extensions/v1beta1/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/extensions/v1beta1/types_swagger_doc_generated.go @@ -417,7 +417,7 @@ var map_NetworkPolicyPort = map[string]string{ "": "DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.", "protocol": "Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", "port": "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.", - "endPort": "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port. This feature is in Beta state and is enabled by default. It can be disabled using the Feature Gate \"NetworkPolicyEndPort\".", + "endPort": "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.", } func (NetworkPolicyPort) SwaggerDoc() map[string]string { diff --git a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1alpha1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1alpha1/generated.proto index 347c9d3fa01c..455a0fcaf92b 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1alpha1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1alpha1/generated.proto @@ -153,8 +153,8 @@ message LimitResponse { // LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. // It addresses two issues: -// * How are requests for this priority level limited? -// * What should be done with requests that exceed the limit? +// - How are requests for this priority level limited? +// - What should be done with requests that exceed the limit? message LimitedPriorityLevelConfiguration { // `assuredConcurrencyShares` (ACS) configures the execution // limit, which is a limit on the number of requests of this diff --git a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1alpha1/types.go b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1alpha1/types.go index 5af677e2f53d..c52c9aa7b9cd 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1alpha1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1alpha1/types.go @@ -415,8 +415,8 @@ const ( // LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. // It addresses two issues: -// * How are requests for this priority level limited? -// * What should be done with requests that exceed the limit? +// - How are requests for this priority level limited? +// - What should be done with requests that exceed the limit? type LimitedPriorityLevelConfiguration struct { // `assuredConcurrencyShares` (ACS) configures the execution // limit, which is a limit on the number of requests of this diff --git a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1alpha1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1alpha1/types_swagger_doc_generated.go index 1827be02d7e8..aebb7f64cc10 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1alpha1/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1alpha1/types_swagger_doc_generated.go @@ -111,7 +111,7 @@ func (LimitResponse) SwaggerDoc() map[string]string { } var map_LimitedPriorityLevelConfiguration = map[string]string{ - "": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?", + "": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n - How are requests for this priority level limited?\n - What should be done with requests that exceed the limit?", "assuredConcurrencyShares": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) ", "limitResponse": "`limitResponse` indicates what to do with requests that can not be executed right now", } diff --git a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta1/generated.proto index 474d520df749..743274525171 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta1/generated.proto @@ -153,8 +153,8 @@ message LimitResponse { // LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. // It addresses two issues: -// * How are requests for this priority level limited? -// * What should be done with requests that exceed the limit? +// - How are requests for this priority level limited? +// - What should be done with requests that exceed the limit? message LimitedPriorityLevelConfiguration { // `assuredConcurrencyShares` (ACS) configures the execution // limit, which is a limit on the number of requests of this diff --git a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta1/types.go b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta1/types.go index b45732642983..d6744f6f692f 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta1/types.go @@ -451,8 +451,8 @@ const ( // LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. // It addresses two issues: -// * How are requests for this priority level limited? -// * What should be done with requests that exceed the limit? +// - How are requests for this priority level limited? +// - What should be done with requests that exceed the limit? type LimitedPriorityLevelConfiguration struct { // `assuredConcurrencyShares` (ACS) configures the execution // limit, which is a limit on the number of requests of this diff --git a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta1/types_swagger_doc_generated.go index b3752b6fb7dc..9f8eacead063 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta1/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta1/types_swagger_doc_generated.go @@ -111,7 +111,7 @@ func (LimitResponse) SwaggerDoc() map[string]string { } var map_LimitedPriorityLevelConfiguration = map[string]string{ - "": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?", + "": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n - How are requests for this priority level limited?\n - What should be done with requests that exceed the limit?", "assuredConcurrencyShares": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) ", "limitResponse": "`limitResponse` indicates what to do with requests that can not be executed right now", } diff --git a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta2/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta2/generated.proto index 80bbaedea2f3..ed57cda8ec62 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta2/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta2/generated.proto @@ -153,8 +153,8 @@ message LimitResponse { // LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. // It addresses two issues: -// * How are requests for this priority level limited? -// * What should be done with requests that exceed the limit? +// - How are requests for this priority level limited? +// - What should be done with requests that exceed the limit? message LimitedPriorityLevelConfiguration { // `assuredConcurrencyShares` (ACS) configures the execution // limit, which is a limit on the number of requests of this diff --git a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta2/types.go b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta2/types.go index 408681e998ce..3ee00f293553 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta2/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta2/types.go @@ -447,8 +447,8 @@ const ( // LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. // It addresses two issues: -// * How are requests for this priority level limited? -// * What should be done with requests that exceed the limit? +// - How are requests for this priority level limited? +// - What should be done with requests that exceed the limit? type LimitedPriorityLevelConfiguration struct { // `assuredConcurrencyShares` (ACS) configures the execution // limit, which is a limit on the number of requests of this diff --git a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta2/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta2/types_swagger_doc_generated.go index 4775a8e993c5..7efe477d26ea 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta2/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/flowcontrol/v1beta2/types_swagger_doc_generated.go @@ -111,7 +111,7 @@ func (LimitResponse) SwaggerDoc() map[string]string { } var map_LimitedPriorityLevelConfiguration = map[string]string{ - "": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?", + "": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n - How are requests for this priority level limited?\n - What should be done with requests that exceed the limit?", "assuredConcurrencyShares": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) ", "limitResponse": "`limitResponse` indicates what to do with requests that can not be executed right now", } diff --git a/cluster-autoscaler/vendor/k8s.io/api/networking/v1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/networking/v1/generated.proto index c46a81a4e918..a0926dbb2fff 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/networking/v1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/networking/v1/generated.proto @@ -441,8 +441,6 @@ message NetworkPolicyPort { // should be allowed by the policy. This field cannot be defined if the port field // is not defined or if the port field is defined as a named (string) port. // The endPort must be equal or greater than port. - // This feature is in Beta state and is enabled by default. - // It can be disabled using the Feature Gate "NetworkPolicyEndPort". // +optional optional int32 endPort = 3; } diff --git a/cluster-autoscaler/vendor/k8s.io/api/networking/v1/types.go b/cluster-autoscaler/vendor/k8s.io/api/networking/v1/types.go index 1177df98fda2..0c67aa2fd167 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/networking/v1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/networking/v1/types.go @@ -158,8 +158,6 @@ type NetworkPolicyPort struct { // should be allowed by the policy. This field cannot be defined if the port field // is not defined or if the port field is defined as a named (string) port. // The endPort must be equal or greater than port. - // This feature is in Beta state and is enabled by default. - // It can be disabled using the Feature Gate "NetworkPolicyEndPort". // +optional EndPort *int32 `json:"endPort,omitempty" protobuf:"bytes,3,opt,name=endPort"` } diff --git a/cluster-autoscaler/vendor/k8s.io/api/networking/v1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/networking/v1/types_swagger_doc_generated.go index c501715b5625..a3105ae513e9 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/networking/v1/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/networking/v1/types_swagger_doc_generated.go @@ -245,7 +245,7 @@ var map_NetworkPolicyPort = map[string]string{ "": "NetworkPolicyPort describes a port to allow traffic on", "protocol": "The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.", "port": "The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.", - "endPort": "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port. This feature is in Beta state and is enabled by default. It can be disabled using the Feature Gate \"NetworkPolicyEndPort\".", + "endPort": "If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.", } func (NetworkPolicyPort) SwaggerDoc() map[string]string { diff --git a/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/doc.go b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/doc.go new file mode 100644 index 000000000000..3827b0418f90 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/doc.go @@ -0,0 +1,23 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// +k8s:deepcopy-gen=package +// +k8s:protobuf-gen=package +// +k8s:openapi-gen=true +// +k8s:prerelease-lifecycle-gen=true +// +groupName=networking.k8s.io + +package v1alpha1 // import "k8s.io/api/networking/v1alpha1" diff --git a/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/generated.pb.go b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/generated.pb.go new file mode 100644 index 000000000000..48d401db883f --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/generated.pb.go @@ -0,0 +1,913 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: k8s.io/kubernetes/vendor/k8s.io/api/networking/v1alpha1/generated.proto + +package v1alpha1 + +import ( + fmt "fmt" + + io "io" + + proto "github.com/gogo/protobuf/proto" + v11 "k8s.io/api/core/v1" + + math "math" + math_bits "math/bits" + reflect "reflect" + strings "strings" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +func (m *ClusterCIDR) Reset() { *m = ClusterCIDR{} } +func (*ClusterCIDR) ProtoMessage() {} +func (*ClusterCIDR) Descriptor() ([]byte, []int) { + return fileDescriptor_c1b7ac8d7d97acec, []int{0} +} +func (m *ClusterCIDR) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ClusterCIDR) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil +} +func (m *ClusterCIDR) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterCIDR.Merge(m, src) +} +func (m *ClusterCIDR) XXX_Size() int { + return m.Size() +} +func (m *ClusterCIDR) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterCIDR.DiscardUnknown(m) +} + +var xxx_messageInfo_ClusterCIDR proto.InternalMessageInfo + +func (m *ClusterCIDRList) Reset() { *m = ClusterCIDRList{} } +func (*ClusterCIDRList) ProtoMessage() {} +func (*ClusterCIDRList) Descriptor() ([]byte, []int) { + return fileDescriptor_c1b7ac8d7d97acec, []int{1} +} +func (m *ClusterCIDRList) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ClusterCIDRList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil +} +func (m *ClusterCIDRList) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterCIDRList.Merge(m, src) +} +func (m *ClusterCIDRList) XXX_Size() int { + return m.Size() +} +func (m *ClusterCIDRList) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterCIDRList.DiscardUnknown(m) +} + +var xxx_messageInfo_ClusterCIDRList proto.InternalMessageInfo + +func (m *ClusterCIDRSpec) Reset() { *m = ClusterCIDRSpec{} } +func (*ClusterCIDRSpec) ProtoMessage() {} +func (*ClusterCIDRSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_c1b7ac8d7d97acec, []int{2} +} +func (m *ClusterCIDRSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ClusterCIDRSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil +} +func (m *ClusterCIDRSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterCIDRSpec.Merge(m, src) +} +func (m *ClusterCIDRSpec) XXX_Size() int { + return m.Size() +} +func (m *ClusterCIDRSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterCIDRSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ClusterCIDRSpec proto.InternalMessageInfo + +func init() { + proto.RegisterType((*ClusterCIDR)(nil), "k8s.io.api.networking.v1alpha1.ClusterCIDR") + proto.RegisterType((*ClusterCIDRList)(nil), "k8s.io.api.networking.v1alpha1.ClusterCIDRList") + proto.RegisterType((*ClusterCIDRSpec)(nil), "k8s.io.api.networking.v1alpha1.ClusterCIDRSpec") +} + +func init() { + proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/networking/v1alpha1/generated.proto", fileDescriptor_c1b7ac8d7d97acec) +} + +var fileDescriptor_c1b7ac8d7d97acec = []byte{ + // 506 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0x4f, 0x8f, 0xd2, 0x40, + 0x18, 0xc6, 0xe9, 0x2e, 0x24, 0x6b, 0xc1, 0xb0, 0xe9, 0x45, 0xc2, 0x61, 0x20, 0x9c, 0x48, 0x8c, + 0x33, 0xb2, 0x21, 0xc4, 0xab, 0xdd, 0x4d, 0x94, 0xc4, 0x3f, 0xd8, 0x4d, 0x3c, 0x18, 0x0f, 0x0e, + 0xe5, 0xb5, 0x8c, 0xd0, 0xce, 0x64, 0x66, 0xa8, 0xf1, 0xe6, 0x47, 0xf0, 0x2b, 0xe9, 0x89, 0xe3, + 0x1e, 0xf7, 0x44, 0xa4, 0x7e, 0x01, 0x3f, 0x82, 0x99, 0xa1, 0xbb, 0x94, 0x45, 0x57, 0xbd, 0x75, + 0xde, 0xf9, 0x3d, 0xcf, 0xfb, 0x3e, 0x7d, 0x5b, 0xf7, 0xc9, 0xec, 0x91, 0xc2, 0x8c, 0x93, 0xd9, + 0x62, 0x0c, 0x32, 0x01, 0x0d, 0x8a, 0xa4, 0x90, 0x4c, 0xb8, 0x24, 0xf9, 0x05, 0x15, 0x8c, 0x24, + 0xa0, 0x3f, 0x72, 0x39, 0x63, 0x49, 0x44, 0xd2, 0x1e, 0x9d, 0x8b, 0x29, 0xed, 0x91, 0x08, 0x12, + 0x90, 0x54, 0xc3, 0x04, 0x0b, 0xc9, 0x35, 0xf7, 0xd0, 0x86, 0xc7, 0x54, 0x30, 0xbc, 0xe5, 0xf1, + 0x15, 0xdf, 0x7c, 0x10, 0x31, 0x3d, 0x5d, 0x8c, 0x71, 0xc8, 0x63, 0x12, 0xf1, 0x88, 0x13, 0x2b, + 0x1b, 0x2f, 0xde, 0xdb, 0x93, 0x3d, 0xd8, 0xa7, 0x8d, 0x5d, 0xb3, 0x53, 0x68, 0x1f, 0x72, 0x09, + 0x24, 0xdd, 0x6b, 0xd9, 0xec, 0x6f, 0x99, 0x98, 0x86, 0x53, 0x96, 0x80, 0xfc, 0x44, 0xc4, 0x2c, + 0x32, 0x05, 0x45, 0x62, 0xd0, 0xf4, 0x77, 0x2a, 0xf2, 0x27, 0x95, 0x5c, 0x24, 0x9a, 0xc5, 0xb0, + 0x27, 0x18, 0xfc, 0x4d, 0xa0, 0xc2, 0x29, 0xc4, 0xf4, 0xa6, 0xae, 0xf3, 0xcd, 0x71, 0xab, 0xa7, + 0xf3, 0x85, 0xd2, 0x20, 0x4f, 0x87, 0x67, 0x81, 0xf7, 0xce, 0x3d, 0x32, 0x33, 0x4d, 0xa8, 0xa6, + 0x0d, 0xa7, 0xed, 0x74, 0xab, 0x27, 0x0f, 0xf1, 0xf6, 0xa5, 0x5d, 0x5b, 0x63, 0x31, 0x8b, 0x4c, + 0x41, 0x61, 0x43, 0xe3, 0xb4, 0x87, 0x5f, 0x8e, 0x3f, 0x40, 0xa8, 0x9f, 0x83, 0xa6, 0xbe, 0xb7, + 0x5c, 0xb5, 0x4a, 0xd9, 0xaa, 0xe5, 0x6e, 0x6b, 0xc1, 0xb5, 0xab, 0xf7, 0xca, 0x2d, 0x2b, 0x01, + 0x61, 0xe3, 0xc0, 0xba, 0x13, 0x7c, 0xfb, 0x4a, 0x70, 0x61, 0xb8, 0x73, 0x01, 0xa1, 0x5f, 0xcb, + 0xcd, 0xcb, 0xe6, 0x14, 0x58, 0xab, 0xce, 0x57, 0xc7, 0xad, 0x17, 0xb8, 0x67, 0x4c, 0x69, 0xef, + 0xed, 0x5e, 0x10, 0xfc, 0x6f, 0x41, 0x8c, 0xda, 0xc6, 0x38, 0xce, 0x3b, 0x1d, 0x5d, 0x55, 0x0a, + 0x21, 0x46, 0x6e, 0x85, 0x69, 0x88, 0x55, 0xe3, 0xa0, 0x7d, 0xd8, 0xad, 0x9e, 0xdc, 0xff, 0x8f, + 0x14, 0xfe, 0xdd, 0xdc, 0xb7, 0x32, 0x34, 0x0e, 0xc1, 0xc6, 0xa8, 0xf3, 0x73, 0x37, 0x83, 0x49, + 0xe7, 0xbd, 0x76, 0x6b, 0x09, 0x9f, 0xc0, 0x39, 0xcc, 0x21, 0xd4, 0x5c, 0xe6, 0x39, 0xda, 0xc5, + 0x66, 0xe6, 0xb3, 0x33, 0x53, 0xbf, 0x28, 0x70, 0xfe, 0x71, 0xb6, 0x6a, 0xd5, 0x8a, 0x95, 0x60, + 0xc7, 0xc7, 0x7b, 0xec, 0xd6, 0x05, 0x48, 0x03, 0x3c, 0xe5, 0x4a, 0xfb, 0x4c, 0x2b, 0xbb, 0x8d, + 0x8a, 0x7f, 0x2f, 0x1f, 0xad, 0x3e, 0xda, 0xbd, 0x0e, 0x6e, 0xf2, 0x5e, 0xdb, 0x2d, 0x33, 0x91, + 0xf6, 0x1b, 0x87, 0x6d, 0xa7, 0x7b, 0x67, 0xbb, 0x94, 0xe1, 0x28, 0xed, 0x07, 0xf6, 0x26, 0x27, + 0x06, 0x8d, 0xf2, 0x1e, 0x31, 0xb0, 0xc4, 0xc0, 0x3f, 0x5b, 0xae, 0x51, 0xe9, 0x62, 0x8d, 0x4a, + 0x97, 0x6b, 0x54, 0xfa, 0x9c, 0x21, 0x67, 0x99, 0x21, 0xe7, 0x22, 0x43, 0xce, 0x65, 0x86, 0x9c, + 0xef, 0x19, 0x72, 0xbe, 0xfc, 0x40, 0xa5, 0x37, 0xe8, 0xf6, 0x7f, 0xfc, 0x57, 0x00, 0x00, 0x00, + 0xff, 0xff, 0xdf, 0x1d, 0xe9, 0x86, 0x1d, 0x04, 0x00, 0x00, +} + +func (m *ClusterCIDR) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ClusterCIDR) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ClusterCIDR) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + { + size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenerated(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + { + size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenerated(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *ClusterCIDRList) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ClusterCIDRList) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ClusterCIDRList) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Items) > 0 { + for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenerated(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + } + { + size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenerated(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} + +func (m *ClusterCIDRSpec) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ClusterCIDRSpec) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ClusterCIDRSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + i -= len(m.IPv6) + copy(dAtA[i:], m.IPv6) + i = encodeVarintGenerated(dAtA, i, uint64(len(m.IPv6))) + i-- + dAtA[i] = 0x22 + i -= len(m.IPv4) + copy(dAtA[i:], m.IPv4) + i = encodeVarintGenerated(dAtA, i, uint64(len(m.IPv4))) + i-- + dAtA[i] = 0x1a + i = encodeVarintGenerated(dAtA, i, uint64(m.PerNodeHostBits)) + i-- + dAtA[i] = 0x10 + if m.NodeSelector != nil { + { + size, err := m.NodeSelector.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintGenerated(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int { + offset -= sovGenerated(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *ClusterCIDR) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.ObjectMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) + l = m.Spec.Size() + n += 1 + l + sovGenerated(uint64(l)) + return n +} + +func (m *ClusterCIDRList) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.ListMeta.Size() + n += 1 + l + sovGenerated(uint64(l)) + if len(m.Items) > 0 { + for _, e := range m.Items { + l = e.Size() + n += 1 + l + sovGenerated(uint64(l)) + } + } + return n +} + +func (m *ClusterCIDRSpec) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.NodeSelector != nil { + l = m.NodeSelector.Size() + n += 1 + l + sovGenerated(uint64(l)) + } + n += 1 + sovGenerated(uint64(m.PerNodeHostBits)) + l = len(m.IPv4) + n += 1 + l + sovGenerated(uint64(l)) + l = len(m.IPv6) + n += 1 + l + sovGenerated(uint64(l)) + return n +} + +func sovGenerated(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozGenerated(x uint64) (n int) { + return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (this *ClusterCIDR) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&ClusterCIDR{`, + `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`, + `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ClusterCIDRSpec", "ClusterCIDRSpec", 1), `&`, ``, 1) + `,`, + `}`, + }, "") + return s +} +func (this *ClusterCIDRList) String() string { + if this == nil { + return "nil" + } + repeatedStringForItems := "[]ClusterCIDR{" + for _, f := range this.Items { + repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "ClusterCIDR", "ClusterCIDR", 1), `&`, ``, 1) + "," + } + repeatedStringForItems += "}" + s := strings.Join([]string{`&ClusterCIDRList{`, + `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`, + `Items:` + repeatedStringForItems + `,`, + `}`, + }, "") + return s +} +func (this *ClusterCIDRSpec) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&ClusterCIDRSpec{`, + `NodeSelector:` + strings.Replace(fmt.Sprintf("%v", this.NodeSelector), "NodeSelector", "v11.NodeSelector", 1) + `,`, + `PerNodeHostBits:` + fmt.Sprintf("%v", this.PerNodeHostBits) + `,`, + `IPv4:` + fmt.Sprintf("%v", this.IPv4) + `,`, + `IPv6:` + fmt.Sprintf("%v", this.IPv6) + `,`, + `}`, + }, "") + return s +} +func valueToStringGenerated(v interface{}) string { + rv := reflect.ValueOf(v) + if rv.IsNil() { + return "nil" + } + pv := reflect.Indirect(rv).Interface() + return fmt.Sprintf("*%v", pv) +} +func (m *ClusterCIDR) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ClusterCIDR: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ClusterCIDR: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ClusterCIDRList) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ClusterCIDRList: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ClusterCIDRList: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Items = append(m.Items, ClusterCIDR{}) + if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ClusterCIDRSpec) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ClusterCIDRSpec: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ClusterCIDRSpec: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NodeSelector", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.NodeSelector == nil { + m.NodeSelector = &v11.NodeSelector{} + } + if err := m.NodeSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PerNodeHostBits", wireType) + } + m.PerNodeHostBits = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PerNodeHostBits |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IPv4", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IPv4 = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field IPv6", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthGenerated + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthGenerated + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.IPv6 = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipGenerated(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthGenerated + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipGenerated(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenerated + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenerated + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowGenerated + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthGenerated + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupGenerated + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthGenerated + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") +) diff --git a/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/generated.proto new file mode 100644 index 000000000000..51779369bed7 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/generated.proto @@ -0,0 +1,94 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + + +// This file was autogenerated by go-to-protobuf. Do not edit it manually! + +syntax = "proto2"; + +package k8s.io.api.networking.v1alpha1; + +import "k8s.io/api/core/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/generated.proto"; +import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto"; + +// Package-wide variables from generator "generated". +option go_package = "k8s.io/api/networking/v1alpha1"; + +// ClusterCIDR represents a single configuration for per-Node Pod CIDR +// allocations when the MultiCIDRRangeAllocator is enabled (see the config for +// kube-controller-manager). A cluster may have any number of ClusterCIDR +// resources, all of which will be considered when allocating a CIDR for a +// Node. A ClusterCIDR is eligible to be used for a given Node when the node +// selector matches the node in question and has free CIDRs to allocate. In +// case of multiple matching ClusterCIDR resources, the allocator will attempt +// to break ties using internal heuristics, but any ClusterCIDR whose node +// selector matches the Node may be used. +message ClusterCIDR { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1; + + // Spec is the desired state of the ClusterCIDR. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + optional ClusterCIDRSpec spec = 2; +} + +// ClusterCIDRList contains a list of ClusterCIDR. +message ClusterCIDRList { + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1; + + // Items is the list of ClusterCIDRs. + repeated ClusterCIDR items = 2; +} + +// ClusterCIDRSpec defines the desired state of ClusterCIDR. +message ClusterCIDRSpec { + // NodeSelector defines which nodes the config is applicable to. + // An empty or nil NodeSelector selects all nodes. + // This field is immutable. + // +optional + optional k8s.io.api.core.v1.NodeSelector nodeSelector = 1; + + // PerNodeHostBits defines the number of host bits to be configured per node. + // A subnet mask determines how much of the address is used for network bits + // and host bits. For example an IPv4 address of 192.168.0.0/24, splits the + // address into 24 bits for the network portion and 8 bits for the host portion. + // To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6). + // Minimum value is 4 (16 IPs). + // This field is immutable. + // +required + optional int32 perNodeHostBits = 2; + + // IPv4 defines an IPv4 IP block in CIDR notation(e.g. "10.0.0.0/8"). + // At least one of IPv4 and IPv6 must be specified. + // This field is immutable. + // +optional + optional string ipv4 = 3; + + // IPv6 defines an IPv6 IP block in CIDR notation(e.g. "fd12:3456:789a:1::/64"). + // At least one of IPv4 and IPv6 must be specified. + // This field is immutable. + // +optional + optional string ipv6 = 4; +} + diff --git a/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/register.go b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/register.go new file mode 100644 index 000000000000..12c0cf7bd46c --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/register.go @@ -0,0 +1,56 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" +) + +// GroupName is the group name use in this package. +const GroupName = "networking.k8s.io" + +// SchemeGroupVersion is group version used to register these objects. +var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} + +// Resource takes an unqualified resource and returns a Group qualified GroupResource. +func Resource(resource string) schema.GroupResource { + return SchemeGroupVersion.WithResource(resource).GroupResource() +} + +var ( + // SchemeBuilder holds functions that add things to a scheme. + // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. + // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + localSchemeBuilder = &SchemeBuilder + + // AddToScheme adds the types of this group into the given scheme. + AddToScheme = localSchemeBuilder.AddToScheme +) + +// Adds the list of known types to the given scheme. +func addKnownTypes(scheme *runtime.Scheme) error { + scheme.AddKnownTypes(SchemeGroupVersion, + &ClusterCIDR{}, + &ClusterCIDRList{}, + ) + // Add the watch version that applies. + metav1.AddToGroupVersion(scheme, SchemeGroupVersion) + return nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/types.go b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/types.go new file mode 100644 index 000000000000..645b08903291 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/types.go @@ -0,0 +1,95 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + v1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +genclient +// +genclient:nonNamespaced +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +k8s:prerelease-lifecycle-gen:introduced=1.25 + +// ClusterCIDR represents a single configuration for per-Node Pod CIDR +// allocations when the MultiCIDRRangeAllocator is enabled (see the config for +// kube-controller-manager). A cluster may have any number of ClusterCIDR +// resources, all of which will be considered when allocating a CIDR for a +// Node. A ClusterCIDR is eligible to be used for a given Node when the node +// selector matches the node in question and has free CIDRs to allocate. In +// case of multiple matching ClusterCIDR resources, the allocator will attempt +// to break ties using internal heuristics, but any ClusterCIDR whose node +// selector matches the Node may be used. +type ClusterCIDR struct { + metav1.TypeMeta `json:",inline"` + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + + // Spec is the desired state of the ClusterCIDR. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Spec ClusterCIDRSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` +} + +// ClusterCIDRSpec defines the desired state of ClusterCIDR. +type ClusterCIDRSpec struct { + // NodeSelector defines which nodes the config is applicable to. + // An empty or nil NodeSelector selects all nodes. + // This field is immutable. + // +optional + NodeSelector *v1.NodeSelector `json:"nodeSelector,omitempty" protobuf:"bytes,1,opt,name=nodeSelector"` + + // PerNodeHostBits defines the number of host bits to be configured per node. + // A subnet mask determines how much of the address is used for network bits + // and host bits. For example an IPv4 address of 192.168.0.0/24, splits the + // address into 24 bits for the network portion and 8 bits for the host portion. + // To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6). + // Minimum value is 4 (16 IPs). + // This field is immutable. + // +required + PerNodeHostBits int32 `json:"perNodeHostBits" protobuf:"varint,2,opt,name=perNodeHostBits"` + + // IPv4 defines an IPv4 IP block in CIDR notation(e.g. "10.0.0.0/8"). + // At least one of IPv4 and IPv6 must be specified. + // This field is immutable. + // +optional + IPv4 string `json:"ipv4" protobuf:"bytes,3,opt,name=ipv4"` + + // IPv6 defines an IPv6 IP block in CIDR notation(e.g. "fd12:3456:789a:1::/64"). + // At least one of IPv4 and IPv6 must be specified. + // This field is immutable. + // +optional + IPv6 string `json:"ipv6" protobuf:"bytes,4,opt,name=ipv6"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +k8s:prerelease-lifecycle-gen:introduced=1.25 + +// ClusterCIDRList contains a list of ClusterCIDR. +type ClusterCIDRList struct { + metav1.TypeMeta `json:",inline"` + // Standard object's metadata. + // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata + // +optional + metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` + + // Items is the list of ClusterCIDRs. + Items []ClusterCIDR `json:"items" protobuf:"bytes,2,rep,name=items"` +} diff --git a/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/types_swagger_doc_generated.go new file mode 100644 index 000000000000..0e2213d9eda5 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/types_swagger_doc_generated.go @@ -0,0 +1,62 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +// This file contains a collection of methods that can be used from go-restful to +// generate Swagger API documentation for its models. Please read this PR for more +// information on the implementation: https://github.com/emicklei/go-restful/pull/215 +// +// TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if +// they are on one line! For multiple line or blocks that you want to ignore use ---. +// Any context after a --- is ignored. +// +// Those methods can be generated by using hack/update-generated-swagger-docs.sh + +// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT. +var map_ClusterCIDR = map[string]string{ + "": "ClusterCIDR represents a single configuration for per-Node Pod CIDR allocations when the MultiCIDRRangeAllocator is enabled (see the config for kube-controller-manager). A cluster may have any number of ClusterCIDR resources, all of which will be considered when allocating a CIDR for a Node. A ClusterCIDR is eligible to be used for a given Node when the node selector matches the node in question and has free CIDRs to allocate. In case of multiple matching ClusterCIDR resources, the allocator will attempt to break ties using internal heuristics, but any ClusterCIDR whose node selector matches the Node may be used.", + "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "spec": "Spec is the desired state of the ClusterCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status", +} + +func (ClusterCIDR) SwaggerDoc() map[string]string { + return map_ClusterCIDR +} + +var map_ClusterCIDRList = map[string]string{ + "": "ClusterCIDRList contains a list of ClusterCIDR.", + "metadata": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "items": "Items is the list of ClusterCIDRs.", +} + +func (ClusterCIDRList) SwaggerDoc() map[string]string { + return map_ClusterCIDRList +} + +var map_ClusterCIDRSpec = map[string]string{ + "": "ClusterCIDRSpec defines the desired state of ClusterCIDR.", + "nodeSelector": "NodeSelector defines which nodes the config is applicable to. An empty or nil NodeSelector selects all nodes. This field is immutable.", + "perNodeHostBits": "PerNodeHostBits defines the number of host bits to be configured per node. A subnet mask determines how much of the address is used for network bits and host bits. For example an IPv4 address of 192.168.0.0/24, splits the address into 24 bits for the network portion and 8 bits for the host portion. To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6). Minimum value is 4 (16 IPs). This field is immutable.", + "ipv4": "IPv4 defines an IPv4 IP block in CIDR notation(e.g. \"10.0.0.0/8\"). At least one of IPv4 and IPv6 must be specified. This field is immutable.", + "ipv6": "IPv6 defines an IPv6 IP block in CIDR notation(e.g. \"fd12:3456:789a:1::/64\"). At least one of IPv4 and IPv6 must be specified. This field is immutable.", +} + +func (ClusterCIDRSpec) SwaggerDoc() map[string]string { + return map_ClusterCIDRSpec +} + +// AUTO-GENERATED FUNCTIONS END HERE diff --git a/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/zz_generated.deepcopy.go b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/zz_generated.deepcopy.go new file mode 100644 index 000000000000..e549f3166347 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/zz_generated.deepcopy.go @@ -0,0 +1,108 @@ +//go:build !ignore_autogenerated +// +build !ignore_autogenerated + +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by deepcopy-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + v1 "k8s.io/api/core/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterCIDR) DeepCopyInto(out *ClusterCIDR) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCIDR. +func (in *ClusterCIDR) DeepCopy() *ClusterCIDR { + if in == nil { + return nil + } + out := new(ClusterCIDR) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterCIDR) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterCIDRList) DeepCopyInto(out *ClusterCIDRList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ClusterCIDR, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCIDRList. +func (in *ClusterCIDRList) DeepCopy() *ClusterCIDRList { + if in == nil { + return nil + } + out := new(ClusterCIDRList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterCIDRList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterCIDRSpec) DeepCopyInto(out *ClusterCIDRSpec) { + *out = *in + if in.NodeSelector != nil { + in, out := &in.NodeSelector, &out.NodeSelector + *out = new(v1.NodeSelector) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCIDRSpec. +func (in *ClusterCIDRSpec) DeepCopy() *ClusterCIDRSpec { + if in == nil { + return nil + } + out := new(ClusterCIDRSpec) + in.DeepCopyInto(out) + return out +} diff --git a/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/zz_generated.prerelease-lifecycle.go b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/zz_generated.prerelease-lifecycle.go new file mode 100644 index 000000000000..dd6e3b26cb20 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/api/networking/v1alpha1/zz_generated.prerelease-lifecycle.go @@ -0,0 +1,58 @@ +//go:build !ignore_autogenerated +// +build !ignore_autogenerated + +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by prerelease-lifecycle-gen. DO NOT EDIT. + +package v1alpha1 + +// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. +// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. +func (in *ClusterCIDR) APILifecycleIntroduced() (major, minor int) { + return 1, 25 +} + +// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. +// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. +func (in *ClusterCIDR) APILifecycleDeprecated() (major, minor int) { + return 1, 28 +} + +// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. +// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. +func (in *ClusterCIDR) APILifecycleRemoved() (major, minor int) { + return 1, 31 +} + +// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. +// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go. +func (in *ClusterCIDRList) APILifecycleIntroduced() (major, minor int) { + return 1, 25 +} + +// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. +// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor. +func (in *ClusterCIDRList) APILifecycleDeprecated() (major, minor int) { + return 1, 28 +} + +// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. +// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor. +func (in *ClusterCIDRList) APILifecycleRemoved() (major, minor int) { + return 1, 31 +} diff --git a/cluster-autoscaler/vendor/k8s.io/api/policy/v1beta1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/policy/v1beta1/generated.proto index 09dbdde9817d..f54a87e0d8a4 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/policy/v1beta1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/policy/v1beta1/generated.proto @@ -329,7 +329,6 @@ message PodSecurityPolicySpec { // AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. // An empty value indicates that any CSI driver can be used for inline ephemeral volumes. - // This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. // +optional repeated AllowedCSIDriver allowedCSIDrivers = 23; diff --git a/cluster-autoscaler/vendor/k8s.io/api/policy/v1beta1/types.go b/cluster-autoscaler/vendor/k8s.io/api/policy/v1beta1/types.go index 486f93461afb..222b4664b4cd 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/policy/v1beta1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/policy/v1beta1/types.go @@ -278,7 +278,6 @@ type PodSecurityPolicySpec struct { AllowedFlexVolumes []AllowedFlexVolume `json:"allowedFlexVolumes,omitempty" protobuf:"bytes,18,rep,name=allowedFlexVolumes"` // AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. // An empty value indicates that any CSI driver can be used for inline ephemeral volumes. - // This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. // +optional AllowedCSIDrivers []AllowedCSIDriver `json:"allowedCSIDrivers,omitempty" protobuf:"bytes,23,rep,name=allowedCSIDrivers"` // allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. diff --git a/cluster-autoscaler/vendor/k8s.io/api/policy/v1beta1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/policy/v1beta1/types_swagger_doc_generated.go index ef81d43af36d..916951d4b8c5 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/policy/v1beta1/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/policy/v1beta1/types_swagger_doc_generated.go @@ -183,7 +183,7 @@ var map_PodSecurityPolicySpec = map[string]string{ "allowPrivilegeEscalation": "allowPrivilegeEscalation determines if a pod can request to allow privilege escalation. If unspecified, defaults to true.", "allowedHostPaths": "allowedHostPaths is an allowlist of host paths. Empty indicates that all host paths may be used.", "allowedFlexVolumes": "allowedFlexVolumes is an allowlist of Flexvolumes. Empty or nil indicates that all Flexvolumes may be used. This parameter is effective only when the usage of the Flexvolumes is allowed in the \"volumes\" field.", - "allowedCSIDrivers": "AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes. This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate.", + "allowedCSIDrivers": "AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. An empty value indicates that any CSI driver can be used for inline ephemeral volumes.", "allowedUnsafeSysctls": "allowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of allowed sysctls. Single * means all unsafe sysctls are allowed. Kubelet has to allowlist all allowed unsafe sysctls explicitly to avoid rejection.\n\nExamples: e.g. \"foo/*\" allows \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" allows \"foo.bar\", \"foo.baz\", etc.", "forbiddenSysctls": "forbiddenSysctls is a list of explicitly forbidden sysctls, defaults to none. Each entry is either a plain sysctl name or ends in \"*\" in which case it is considered as a prefix of forbidden sysctls. Single * means all sysctls are forbidden.\n\nExamples: e.g. \"foo/*\" forbids \"foo/bar\", \"foo/baz\", etc. e.g. \"foo.*\" forbids \"foo.bar\", \"foo.baz\", etc.", "allowedProcMountTypes": "AllowedProcMountTypes is an allowlist of allowed ProcMountTypes. Empty or nil indicates that only the DefaultProcMountType may be used. This requires the ProcMountType feature flag to be enabled.", diff --git a/cluster-autoscaler/vendor/k8s.io/api/storage/v1/generated.pb.go b/cluster-autoscaler/vendor/k8s.io/api/storage/v1/generated.pb.go index a648c426aab1..d36497432deb 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/storage/v1/generated.pb.go +++ b/cluster-autoscaler/vendor/k8s.io/api/storage/v1/generated.pb.go @@ -609,111 +609,112 @@ func init() { } var fileDescriptor_3b530c1983504d8d = []byte{ - // 1651 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xbd, 0x6f, 0x1b, 0xcb, - 0x11, 0xd7, 0x89, 0xd4, 0xd7, 0x52, 0xb2, 0xa4, 0x95, 0xe4, 0x30, 0x2a, 0x48, 0xe1, 0x6c, 0x24, - 0xb2, 0x13, 0x1f, 0x6d, 0xd9, 0x31, 0x0c, 0x07, 0x0e, 0xa0, 0x93, 0xe8, 0x58, 0x88, 0x28, 0x29, - 0x4b, 0xc5, 0x30, 0x82, 0x24, 0xf0, 0xea, 0x6e, 0x45, 0xad, 0xc5, 0xfb, 0xf0, 0xed, 0x92, 0x31, - 0x53, 0x25, 0x4d, 0xba, 0x00, 0x49, 0x1b, 0xe4, 0x8f, 0x48, 0x80, 0xa4, 0x49, 0x99, 0x22, 0x70, - 0x3a, 0x23, 0x95, 0x2b, 0xe2, 0x99, 0xaf, 0x7e, 0xaf, 0x7c, 0x85, 0xaa, 0x87, 0xdd, 0x5b, 0xf2, - 0x3e, 0x78, 0x94, 0xa5, 0x86, 0x1d, 0x77, 0x67, 0xe6, 0x37, 0xb3, 0x3b, 0xbf, 0x99, 0x9d, 0x23, - 0xf8, 0xc9, 0xf9, 0x13, 0x66, 0x50, 0xaf, 0x72, 0xde, 0x3a, 0x21, 0x81, 0x4b, 0x38, 0x61, 0x95, - 0x36, 0x71, 0x6d, 0x2f, 0xa8, 0x28, 0x01, 0xf6, 0x69, 0x85, 0x71, 0x2f, 0xc0, 0x0d, 0x52, 0x69, - 0x3f, 0xa8, 0x34, 0x88, 0x4b, 0x02, 0xcc, 0x89, 0x6d, 0xf8, 0x81, 0xc7, 0x3d, 0xb8, 0x16, 0xaa, - 0x19, 0xd8, 0xa7, 0x86, 0x52, 0x33, 0xda, 0x0f, 0xd6, 0xef, 0x35, 0x28, 0x3f, 0x6b, 0x9d, 0x18, - 0x96, 0xe7, 0x54, 0x1a, 0x5e, 0xc3, 0xab, 0x48, 0xed, 0x93, 0xd6, 0xa9, 0x5c, 0xc9, 0x85, 0xfc, - 0x15, 0xa2, 0xac, 0xeb, 0x31, 0x67, 0x96, 0x17, 0x64, 0x79, 0x5a, 0x7f, 0x14, 0xe9, 0x38, 0xd8, - 0x3a, 0xa3, 0x2e, 0x09, 0x3a, 0x15, 0xff, 0xbc, 0x21, 0x8d, 0x02, 0xc2, 0xbc, 0x56, 0x60, 0x91, - 0x6b, 0x59, 0xb1, 0x8a, 0x43, 0x38, 0xce, 0xf2, 0x55, 0x19, 0x65, 0x15, 0xb4, 0x5c, 0x4e, 0x9d, - 0x61, 0x37, 0x8f, 0x3f, 0x67, 0xc0, 0xac, 0x33, 0xe2, 0xe0, 0xb4, 0x9d, 0xfe, 0x2f, 0x0d, 0xcc, - 0xed, 0xd4, 0xf7, 0x76, 0x03, 0xda, 0x26, 0x01, 0x7c, 0x0d, 0x66, 0x45, 0x44, 0x36, 0xe6, 0xb8, - 0xa8, 0x6d, 0x68, 0x9b, 0x85, 0xad, 0xfb, 0x46, 0x74, 0xbf, 0x03, 0x60, 0xc3, 0x3f, 0x6f, 0x88, - 0x0d, 0x66, 0x08, 0x6d, 0xa3, 0xfd, 0xc0, 0x38, 0x3c, 0x79, 0x43, 0x2c, 0x5e, 0x23, 0x1c, 0x9b, - 0xf0, 0x7d, 0xb7, 0x3c, 0xd1, 0xeb, 0x96, 0x41, 0xb4, 0x87, 0x06, 0xa8, 0xf0, 0x39, 0xc8, 0x33, - 0x9f, 0x58, 0xc5, 0x49, 0x89, 0x7e, 0xdb, 0xc8, 0xcc, 0x9e, 0x31, 0x88, 0xa8, 0xee, 0x13, 0xcb, - 0x9c, 0x57, 0x88, 0x79, 0xb1, 0x42, 0xd2, 0x5e, 0xff, 0xa7, 0x06, 0x16, 0x06, 0x5a, 0xfb, 0x94, - 0x71, 0xf8, 0xab, 0xa1, 0xd8, 0x8d, 0xab, 0xc5, 0x2e, 0xac, 0x65, 0xe4, 0x4b, 0xca, 0xcf, 0x6c, - 0x7f, 0x27, 0x16, 0x77, 0x15, 0x4c, 0x51, 0x4e, 0x1c, 0x56, 0x9c, 0xdc, 0xc8, 0x6d, 0x16, 0xb6, - 0x36, 0x3e, 0x17, 0xb8, 0xb9, 0xa0, 0xc0, 0xa6, 0xf6, 0x84, 0x19, 0x0a, 0xad, 0xf5, 0xbf, 0xe5, - 0x63, 0x61, 0x8b, 0xe3, 0xc0, 0xa7, 0xe0, 0x06, 0xe6, 0x1c, 0x5b, 0x67, 0x88, 0xbc, 0x6d, 0xd1, - 0x80, 0xd8, 0x32, 0xf8, 0x59, 0x13, 0xf6, 0xba, 0xe5, 0x1b, 0xdb, 0x09, 0x09, 0x4a, 0x69, 0x0a, - 0x5b, 0xdf, 0xb3, 0xf7, 0xdc, 0x53, 0xef, 0xd0, 0xad, 0x79, 0x2d, 0x97, 0xcb, 0x6b, 0x55, 0xb6, - 0x47, 0x09, 0x09, 0x4a, 0x69, 0x42, 0x0b, 0xac, 0xb6, 0xbd, 0x66, 0xcb, 0x21, 0xfb, 0xf4, 0x94, - 0x58, 0x1d, 0xab, 0x49, 0x6a, 0x9e, 0x4d, 0x58, 0x31, 0xb7, 0x91, 0xdb, 0x9c, 0x33, 0x2b, 0xbd, - 0x6e, 0x79, 0xf5, 0x65, 0x86, 0xfc, 0xa2, 0x5b, 0x5e, 0xc9, 0xd8, 0x47, 0x99, 0x60, 0xf0, 0x19, - 0x58, 0x54, 0x97, 0xb3, 0x83, 0x7d, 0x6c, 0x51, 0xde, 0x29, 0xe6, 0x65, 0x84, 0x2b, 0xbd, 0x6e, - 0x79, 0xb1, 0x9e, 0x14, 0xa1, 0xb4, 0x2e, 0x7c, 0x01, 0x16, 0x4e, 0xd9, 0x4f, 0x03, 0xaf, 0xe5, - 0x1f, 0x79, 0x4d, 0x6a, 0x75, 0x8a, 0x53, 0x1b, 0xda, 0xe6, 0x9c, 0xa9, 0xf7, 0xba, 0xe5, 0x85, - 0xe7, 0xf5, 0x98, 0xe0, 0x22, 0xbd, 0x81, 0x92, 0x86, 0xf0, 0x35, 0x58, 0xe0, 0xde, 0x39, 0x71, - 0xc5, 0xd5, 0x11, 0xc6, 0x59, 0x71, 0x5a, 0xa6, 0xf1, 0xd6, 0x88, 0x34, 0x1e, 0xc7, 0x74, 0xcd, - 0x35, 0x95, 0xc9, 0x85, 0xf8, 0x2e, 0x43, 0x49, 0x40, 0xb8, 0x03, 0x96, 0x83, 0x30, 0x2f, 0x0c, - 0x11, 0xbf, 0x75, 0xd2, 0xa4, 0xec, 0xac, 0x38, 0x23, 0x0f, 0xbb, 0xd6, 0xeb, 0x96, 0x97, 0x51, - 0x5a, 0x88, 0x86, 0xf5, 0xf5, 0x7f, 0x68, 0x60, 0x66, 0xa7, 0xbe, 0x77, 0xe0, 0xd9, 0x64, 0x0c, - 0xb5, 0xb8, 0x9b, 0xa8, 0x45, 0x7d, 0x34, 0xa5, 0x45, 0x3c, 0x23, 0x2b, 0xf1, 0xeb, 0xb0, 0x12, - 0x85, 0x8e, 0xea, 0x22, 0x1b, 0x20, 0xef, 0x62, 0x87, 0xc8, 0xa8, 0xe7, 0x22, 0x9b, 0x03, 0xec, - 0x10, 0x24, 0x25, 0xf0, 0x7b, 0x60, 0xda, 0xf5, 0x6c, 0xb2, 0xb7, 0x2b, 0x7d, 0xcf, 0x99, 0x37, - 0x94, 0xce, 0xf4, 0x81, 0xdc, 0x45, 0x4a, 0x0a, 0x1f, 0x81, 0x79, 0xee, 0xf9, 0x5e, 0xd3, 0x6b, - 0x74, 0x7e, 0x46, 0x3a, 0x7d, 0x72, 0x2e, 0xf5, 0xba, 0xe5, 0xf9, 0xe3, 0xd8, 0x3e, 0x4a, 0x68, - 0xc1, 0x5f, 0x83, 0x02, 0x6e, 0x36, 0x3d, 0x0b, 0x73, 0x7c, 0xd2, 0x24, 0x92, 0x71, 0x85, 0xad, - 0xbb, 0x23, 0x8e, 0x17, 0x92, 0x59, 0xf8, 0x45, 0xaa, 0x85, 0x33, 0x73, 0xb1, 0xd7, 0x2d, 0x17, - 0xb6, 0x23, 0x08, 0x14, 0xc7, 0xd3, 0xff, 0xae, 0x81, 0x82, 0x3a, 0xf0, 0x18, 0x1a, 0xcf, 0x4e, - 0xb2, 0xf1, 0x94, 0x2e, 0xcf, 0xd2, 0x88, 0xb6, 0xf3, 0x9b, 0x41, 0xc4, 0xb2, 0xe7, 0x1c, 0x82, - 0x19, 0x5b, 0xa6, 0x8a, 0x15, 0x35, 0x89, 0x7a, 0xfb, 0x72, 0x54, 0xd5, 0xd2, 0x16, 0x15, 0xf6, - 0x4c, 0xb8, 0x66, 0xa8, 0x8f, 0xa2, 0x7f, 0x93, 0x03, 0x70, 0xa7, 0xbe, 0x97, 0x2a, 0xe8, 0x31, - 0x50, 0x98, 0x82, 0x79, 0x41, 0x95, 0x3e, 0x19, 0x14, 0x95, 0x1f, 0x5e, 0xf1, 0xfe, 0xf1, 0x09, - 0x69, 0xd6, 0x49, 0x93, 0x58, 0xdc, 0x0b, 0x42, 0x56, 0x1d, 0xc4, 0xc0, 0x50, 0x02, 0x1a, 0xee, - 0x82, 0xa5, 0x7e, 0x7f, 0x6a, 0x62, 0xc6, 0x04, 0x9b, 0x8b, 0x39, 0xc9, 0xde, 0xa2, 0x0a, 0x71, - 0xa9, 0x9e, 0x92, 0xa3, 0x21, 0x0b, 0xf8, 0x0a, 0xcc, 0x5a, 0xf1, 0x56, 0xf8, 0x19, 0xb2, 0x18, - 0xfd, 0xb9, 0xc2, 0xf8, 0x79, 0x0b, 0xbb, 0x9c, 0xf2, 0x8e, 0x39, 0x2f, 0x88, 0x32, 0xe8, 0x99, - 0x03, 0x34, 0xc8, 0xc0, 0xb2, 0x83, 0xdf, 0x51, 0xa7, 0xe5, 0x84, 0x94, 0xae, 0xd3, 0xdf, 0x11, - 0xd9, 0x30, 0xaf, 0xef, 0x42, 0x36, 0xac, 0x5a, 0x1a, 0x0c, 0x0d, 0xe3, 0xeb, 0xff, 0xd5, 0xc0, - 0xcd, 0xe1, 0xc4, 0x8f, 0xa1, 0x2c, 0x0e, 0x92, 0x65, 0x71, 0x67, 0x34, 0x81, 0x53, 0xb1, 0x8d, - 0xa8, 0x90, 0x3f, 0x4d, 0x83, 0xf9, 0x78, 0xfa, 0xc6, 0xc0, 0xdd, 0x1f, 0x81, 0x82, 0x1f, 0x78, - 0x6d, 0xca, 0xa8, 0xe7, 0x92, 0x40, 0x75, 0xc2, 0x15, 0x65, 0x52, 0x38, 0x8a, 0x44, 0x28, 0xae, - 0x07, 0x1b, 0x00, 0xf8, 0x38, 0xc0, 0x0e, 0xe1, 0xa2, 0x7e, 0x73, 0xf2, 0xf8, 0x0f, 0x47, 0x1c, - 0x3f, 0x7e, 0x22, 0xe3, 0x68, 0x60, 0x55, 0x75, 0x79, 0xd0, 0x89, 0xa2, 0x8b, 0x04, 0x28, 0x06, - 0x0d, 0xcf, 0xc1, 0x42, 0x40, 0xac, 0x26, 0xa6, 0x8e, 0x7a, 0x7d, 0xf3, 0x32, 0xc2, 0xaa, 0x78, - 0x0a, 0x51, 0x5c, 0x70, 0xd1, 0x2d, 0xdf, 0x1f, 0x9e, 0x9f, 0x8d, 0x23, 0x12, 0x30, 0xca, 0x38, - 0x71, 0x79, 0x48, 0x98, 0x84, 0x0d, 0x4a, 0x62, 0x8b, 0x4e, 0xef, 0x88, 0xb9, 0xe4, 0xd0, 0xe7, - 0xd4, 0x73, 0x59, 0x71, 0x2a, 0xea, 0xf4, 0xb5, 0xd8, 0x3e, 0x4a, 0x68, 0xc1, 0x7d, 0xb0, 0x2a, - 0x3a, 0xf3, 0x6f, 0x43, 0x07, 0xd5, 0x77, 0x3e, 0x76, 0xc5, 0x2d, 0x15, 0xa7, 0xe5, 0xbb, 0x5b, - 0x14, 0x43, 0xcc, 0x76, 0x86, 0x1c, 0x65, 0x5a, 0xc1, 0x57, 0x60, 0x39, 0x9c, 0x62, 0x4c, 0xea, - 0xda, 0xd4, 0x6d, 0x88, 0x19, 0x46, 0x3e, 0xe1, 0x73, 0xe6, 0x5d, 0x51, 0x11, 0x2f, 0xd3, 0xc2, - 0x8b, 0xac, 0x4d, 0x34, 0x0c, 0x02, 0xdf, 0x82, 0x65, 0xe9, 0x91, 0xd8, 0xaa, 0x9d, 0x50, 0xc2, - 0x8a, 0xb3, 0x32, 0x75, 0x9b, 0xf1, 0xd4, 0x89, 0xab, 0x0b, 0xe7, 0x8f, 0xb0, 0xe9, 0xf4, 0x9b, - 0xd3, 0x31, 0x09, 0x1c, 0xf3, 0xbb, 0x2a, 0x5f, 0xcb, 0xdb, 0x69, 0x28, 0x34, 0x8c, 0xbe, 0xfe, - 0x0c, 0x2c, 0xa6, 0x12, 0x0e, 0x97, 0x40, 0xee, 0x9c, 0x74, 0xc2, 0x67, 0x19, 0x89, 0x9f, 0x70, - 0x15, 0x4c, 0xb5, 0x71, 0xb3, 0x45, 0x42, 0xf2, 0xa1, 0x70, 0xf1, 0x74, 0xf2, 0x89, 0xa6, 0xff, - 0x5b, 0x03, 0x89, 0x76, 0x36, 0x86, 0x92, 0x7e, 0x91, 0x2c, 0xe9, 0x5b, 0x57, 0xe0, 0xf4, 0x88, - 0x62, 0xfe, 0x83, 0x06, 0xe6, 0xe3, 0xc3, 0x1a, 0xfc, 0x21, 0x98, 0xc5, 0x2d, 0x9b, 0x12, 0xd7, - 0xea, 0x4f, 0x25, 0x83, 0x40, 0xb6, 0xd5, 0x3e, 0x1a, 0x68, 0x88, 0x51, 0x8e, 0xbc, 0xf3, 0x69, - 0x80, 0x05, 0xc9, 0xea, 0xc4, 0xf2, 0x5c, 0x9b, 0xc9, 0x1b, 0xca, 0x85, 0x9d, 0xb1, 0x9a, 0x16, - 0xa2, 0x61, 0x7d, 0xfd, 0xaf, 0x93, 0x60, 0x29, 0xe4, 0x46, 0x38, 0xc4, 0x3b, 0xc4, 0xe5, 0x63, - 0x68, 0x2a, 0xb5, 0xc4, 0x4c, 0xf7, 0x83, 0x4b, 0x87, 0x9e, 0x28, 0xb0, 0x51, 0xc3, 0x1d, 0xfc, - 0x05, 0x98, 0x66, 0x1c, 0xf3, 0x16, 0x93, 0x4f, 0x5d, 0x61, 0xeb, 0xde, 0x55, 0x01, 0xa5, 0x51, - 0x34, 0xd7, 0x85, 0x6b, 0xa4, 0xc0, 0xf4, 0xff, 0x68, 0x60, 0x35, 0x6d, 0x32, 0x06, 0x86, 0xed, - 0x27, 0x19, 0xf6, 0xfd, 0x2b, 0x1e, 0x66, 0x04, 0xcb, 0xfe, 0xaf, 0x81, 0x9b, 0x43, 0xe7, 0x96, - 0x2f, 0xa9, 0xe8, 0x4b, 0x7e, 0xaa, 0xfb, 0x1d, 0x44, 0x13, 0xb1, 0xec, 0x4b, 0x47, 0x19, 0x72, - 0x94, 0x69, 0x05, 0xdf, 0x80, 0x25, 0xea, 0x36, 0xa9, 0x4b, 0xd4, 0xc3, 0x1b, 0xe5, 0x37, 0xb3, - 0x79, 0xa4, 0x91, 0x65, 0x72, 0x57, 0xc5, 0x7c, 0xb2, 0x97, 0x42, 0x41, 0x43, 0xb8, 0xfa, 0xff, - 0x32, 0x32, 0x23, 0x67, 0x46, 0x51, 0x42, 0x72, 0x87, 0x04, 0x43, 0x25, 0xa4, 0xf6, 0xd1, 0x40, - 0x43, 0xf2, 0x46, 0x5e, 0x85, 0x0a, 0xf4, 0xca, 0xbc, 0x91, 0x46, 0x31, 0xde, 0xc8, 0x35, 0x52, - 0x60, 0x22, 0x08, 0x31, 0x93, 0xc5, 0x66, 0xaf, 0x41, 0x10, 0x07, 0x6a, 0x1f, 0x0d, 0x34, 0xf4, - 0xaf, 0x72, 0x19, 0x09, 0x92, 0x04, 0x8c, 0x9d, 0xa6, 0xff, 0xbd, 0x9d, 0x3e, 0x8d, 0x3d, 0x38, - 0x8d, 0x0d, 0xff, 0xa2, 0x01, 0x88, 0x07, 0x10, 0xb5, 0x3e, 0x41, 0x43, 0x16, 0x55, 0xaf, 0x55, - 0x12, 0xc6, 0xf6, 0x10, 0x4e, 0xf8, 0x1a, 0xaf, 0x2b, 0xff, 0x70, 0x58, 0x01, 0x65, 0x38, 0x87, - 0x36, 0x28, 0x84, 0xbb, 0xd5, 0x20, 0xf0, 0x02, 0x55, 0x9e, 0xfa, 0xa5, 0xb1, 0x48, 0x4d, 0xb3, - 0x24, 0x3f, 0x6e, 0x22, 0xd3, 0x8b, 0x6e, 0xb9, 0x10, 0x93, 0xa3, 0x38, 0xac, 0xf0, 0x62, 0x93, - 0xc8, 0x4b, 0xfe, 0x7a, 0x5e, 0x76, 0xc9, 0x68, 0x2f, 0x31, 0xd8, 0xf5, 0x2a, 0xf8, 0xce, 0x88, - 0x6b, 0xb9, 0xd6, 0x9b, 0xf5, 0x47, 0x0d, 0xc4, 0x7d, 0xc0, 0x7d, 0x90, 0xe7, 0x54, 0x55, 0x5d, - 0xf2, 0x03, 0xf0, 0x92, 0x46, 0x72, 0x4c, 0x1d, 0x12, 0xb5, 0x42, 0xb1, 0x42, 0x12, 0x05, 0xde, - 0x01, 0x33, 0x0e, 0x61, 0x0c, 0x37, 0x94, 0xe7, 0xe8, 0x73, 0xa8, 0x16, 0x6e, 0xa3, 0xbe, 0x5c, - 0x7f, 0x0c, 0x56, 0x32, 0x3e, 0x2b, 0x61, 0x19, 0x4c, 0x59, 0xf2, 0x5f, 0x1a, 0x11, 0xd0, 0x94, - 0x39, 0x27, 0x3a, 0xca, 0x8e, 0xfc, 0x73, 0x26, 0xdc, 0x37, 0x7f, 0xfc, 0xfe, 0x53, 0x69, 0xe2, - 0xc3, 0xa7, 0xd2, 0xc4, 0xc7, 0x4f, 0xa5, 0x89, 0xdf, 0xf7, 0x4a, 0xda, 0xfb, 0x5e, 0x49, 0xfb, - 0xd0, 0x2b, 0x69, 0x1f, 0x7b, 0x25, 0xed, 0x8b, 0x5e, 0x49, 0xfb, 0xf3, 0x97, 0xa5, 0x89, 0x5f, - 0xae, 0x65, 0xfe, 0x31, 0xfa, 0x6d, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x6e, 0x72, 0x7b, 0x49, - 0x15, 0x00, 0x00, + // 1670 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x73, 0x1b, 0x4b, + 0x11, 0xf7, 0x5a, 0xf2, 0xd7, 0xc8, 0x8e, 0xed, 0xb1, 0xfd, 0x10, 0x3e, 0x48, 0xae, 0x7d, 0xaf, + 0xc0, 0xef, 0xc1, 0x5b, 0xbd, 0x38, 0x21, 0x95, 0x0a, 0x15, 0xaa, 0xbc, 0xb6, 0x42, 0x5c, 0x58, + 0xb6, 0x19, 0x99, 0x54, 0x8a, 0x02, 0x2a, 0xe3, 0xdd, 0xb1, 0x3c, 0xb1, 0xf6, 0x23, 0x3b, 0xb3, + 0xc2, 0xe2, 0x04, 0x17, 0x6e, 0x54, 0xc1, 0x95, 0xbf, 0x02, 0xaa, 0xe0, 0xc2, 0x91, 0x03, 0x15, + 0x6e, 0x29, 0x4e, 0x39, 0xa9, 0x88, 0x38, 0xc3, 0x91, 0x83, 0x4f, 0xaf, 0x66, 0x76, 0xa4, 0xfd, + 0xd0, 0xca, 0xb1, 0x2f, 0xba, 0x69, 0xa6, 0xbb, 0x7f, 0xdd, 0x33, 0xdd, 0xfd, 0x9b, 0x5e, 0x81, + 0x1f, 0x5c, 0x3e, 0x66, 0x06, 0xf5, 0x6a, 0x97, 0xe1, 0x19, 0x09, 0x5c, 0xc2, 0x09, 0xab, 0x75, + 0x88, 0x6b, 0x7b, 0x41, 0x4d, 0x09, 0xb0, 0x4f, 0x6b, 0x8c, 0x7b, 0x01, 0x6e, 0x91, 0x5a, 0xe7, + 0x7e, 0xad, 0x45, 0x5c, 0x12, 0x60, 0x4e, 0x6c, 0xc3, 0x0f, 0x3c, 0xee, 0xc1, 0x8d, 0x48, 0xcd, + 0xc0, 0x3e, 0x35, 0x94, 0x9a, 0xd1, 0xb9, 0xbf, 0xf9, 0x65, 0x8b, 0xf2, 0x8b, 0xf0, 0xcc, 0xb0, + 0x3c, 0xa7, 0xd6, 0xf2, 0x5a, 0x5e, 0x4d, 0x6a, 0x9f, 0x85, 0xe7, 0x72, 0x25, 0x17, 0xf2, 0x57, + 0x84, 0xb2, 0xa9, 0x27, 0x9c, 0x59, 0x5e, 0x90, 0xe7, 0x69, 0xf3, 0x61, 0xac, 0xe3, 0x60, 0xeb, + 0x82, 0xba, 0x24, 0xe8, 0xd6, 0xfc, 0xcb, 0x96, 0x34, 0x0a, 0x08, 0xf3, 0xc2, 0xc0, 0x22, 0x77, + 0xb2, 0x62, 0x35, 0x87, 0x70, 0x9c, 0xe7, 0xab, 0x36, 0xce, 0x2a, 0x08, 0x5d, 0x4e, 0x9d, 0x51, + 0x37, 0x8f, 0x3e, 0x66, 0xc0, 0xac, 0x0b, 0xe2, 0xe0, 0xac, 0x9d, 0xfe, 0x57, 0x0d, 0x2c, 0xec, + 0x35, 0x0f, 0xf6, 0x03, 0xda, 0x21, 0x01, 0x7c, 0x05, 0xe6, 0x45, 0x44, 0x36, 0xe6, 0xb8, 0xac, + 0x6d, 0x69, 0xdb, 0xa5, 0x9d, 0xaf, 0x8c, 0xf8, 0x7e, 0x87, 0xc0, 0x86, 0x7f, 0xd9, 0x12, 0x1b, + 0xcc, 0x10, 0xda, 0x46, 0xe7, 0xbe, 0x71, 0x7c, 0xf6, 0x9a, 0x58, 0xbc, 0x41, 0x38, 0x36, 0xe1, + 0xdb, 0x5e, 0x75, 0xaa, 0xdf, 0xab, 0x82, 0x78, 0x0f, 0x0d, 0x51, 0xe1, 0x33, 0x50, 0x64, 0x3e, + 0xb1, 0xca, 0xd3, 0x12, 0xfd, 0x33, 0x23, 0x37, 0x7b, 0xc6, 0x30, 0xa2, 0xa6, 0x4f, 0x2c, 0x73, + 0x51, 0x21, 0x16, 0xc5, 0x0a, 0x49, 0x7b, 0xfd, 0x2f, 0x1a, 0x58, 0x1a, 0x6a, 0x1d, 0x52, 0xc6, + 0xe1, 0xcf, 0x46, 0x62, 0x37, 0x6e, 0x17, 0xbb, 0xb0, 0x96, 0x91, 0xaf, 0x28, 0x3f, 0xf3, 0x83, + 0x9d, 0x44, 0xdc, 0x75, 0x30, 0x43, 0x39, 0x71, 0x58, 0x79, 0x7a, 0xab, 0xb0, 0x5d, 0xda, 0xd9, + 0xfa, 0x58, 0xe0, 0xe6, 0x92, 0x02, 0x9b, 0x39, 0x10, 0x66, 0x28, 0xb2, 0xd6, 0xff, 0x55, 0x4c, + 0x84, 0x2d, 0x8e, 0x03, 0x9f, 0x80, 0x7b, 0x98, 0x73, 0x6c, 0x5d, 0x20, 0xf2, 0x26, 0xa4, 0x01, + 0xb1, 0x65, 0xf0, 0xf3, 0x26, 0xec, 0xf7, 0xaa, 0xf7, 0x76, 0x53, 0x12, 0x94, 0xd1, 0x14, 0xb6, + 0xbe, 0x67, 0x1f, 0xb8, 0xe7, 0xde, 0xb1, 0xdb, 0xf0, 0x42, 0x97, 0xcb, 0x6b, 0x55, 0xb6, 0x27, + 0x29, 0x09, 0xca, 0x68, 0x42, 0x0b, 0xac, 0x77, 0xbc, 0x76, 0xe8, 0x90, 0x43, 0x7a, 0x4e, 0xac, + 0xae, 0xd5, 0x26, 0x0d, 0xcf, 0x26, 0xac, 0x5c, 0xd8, 0x2a, 0x6c, 0x2f, 0x98, 0xb5, 0x7e, 0xaf, + 0xba, 0xfe, 0x22, 0x47, 0x7e, 0xdd, 0xab, 0xae, 0xe5, 0xec, 0xa3, 0x5c, 0x30, 0xf8, 0x14, 0x2c, + 0xab, 0xcb, 0xd9, 0xc3, 0x3e, 0xb6, 0x28, 0xef, 0x96, 0x8b, 0x32, 0xc2, 0xb5, 0x7e, 0xaf, 0xba, + 0xdc, 0x4c, 0x8b, 0x50, 0x56, 0x17, 0x3e, 0x07, 0x4b, 0xe7, 0xec, 0x87, 0x81, 0x17, 0xfa, 0x27, + 0x5e, 0x9b, 0x5a, 0xdd, 0xf2, 0xcc, 0x96, 0xb6, 0xbd, 0x60, 0xea, 0xfd, 0x5e, 0x75, 0xe9, 0x59, + 0x33, 0x21, 0xb8, 0xce, 0x6e, 0xa0, 0xb4, 0x21, 0x7c, 0x05, 0x96, 0xb8, 0x77, 0x49, 0x5c, 0x71, + 0x75, 0x84, 0x71, 0x56, 0x9e, 0x95, 0x69, 0xfc, 0x74, 0x4c, 0x1a, 0x4f, 0x13, 0xba, 0xe6, 0x86, + 0xca, 0xe4, 0x52, 0x72, 0x97, 0xa1, 0x34, 0x20, 0xdc, 0x03, 0xab, 0x41, 0x94, 0x17, 0x86, 0x88, + 0x1f, 0x9e, 0xb5, 0x29, 0xbb, 0x28, 0xcf, 0xc9, 0xc3, 0x6e, 0xf4, 0x7b, 0xd5, 0x55, 0x94, 0x15, + 0xa2, 0x51, 0x7d, 0xf8, 0x10, 0x2c, 0x32, 0x72, 0x48, 0xdd, 0xf0, 0x2a, 0x4a, 0xe7, 0xbc, 0xb4, + 0x5f, 0xe9, 0xf7, 0xaa, 0x8b, 0xcd, 0x7a, 0xbc, 0x8f, 0x52, 0x5a, 0xfa, 0x9f, 0x35, 0x30, 0xb7, + 0xd7, 0x3c, 0x38, 0xf2, 0x6c, 0x32, 0x81, 0x0e, 0xde, 0x4f, 0x75, 0xb0, 0x3e, 0xbe, 0x11, 0x44, + 0x3c, 0x63, 0xfb, 0xf7, 0x7f, 0x51, 0xff, 0x0a, 0x1d, 0xc5, 0x3d, 0x5b, 0xa0, 0xe8, 0x62, 0x87, + 0xc8, 0xa8, 0x17, 0x62, 0x9b, 0x23, 0xec, 0x10, 0x24, 0x25, 0xf0, 0x5b, 0x60, 0xd6, 0xf5, 0x6c, + 0x72, 0xb0, 0x2f, 0x7d, 0x2f, 0x98, 0xf7, 0x94, 0xce, 0xec, 0x91, 0xdc, 0x45, 0x4a, 0x2a, 0x6e, + 0x91, 0x7b, 0xbe, 0xd7, 0xf6, 0x5a, 0xdd, 0x1f, 0x91, 0xee, 0xa0, 0xa4, 0xe5, 0x2d, 0x9e, 0x26, + 0xf6, 0x51, 0x4a, 0x0b, 0xfe, 0x1c, 0x94, 0x70, 0xbb, 0xed, 0x59, 0x98, 0xe3, 0xb3, 0x36, 0x91, + 0x75, 0x5a, 0xda, 0xf9, 0x62, 0xcc, 0xf1, 0xa2, 0x16, 0x10, 0x7e, 0x91, 0x22, 0x7e, 0x66, 0x2e, + 0xf7, 0x7b, 0xd5, 0xd2, 0x6e, 0x0c, 0x81, 0x92, 0x78, 0xfa, 0x9f, 0x34, 0x50, 0x52, 0x07, 0x9e, + 0x00, 0x5d, 0xed, 0xa5, 0xe9, 0xaa, 0x72, 0x73, 0x96, 0xc6, 0x90, 0xd5, 0x2f, 0x86, 0x11, 0x4b, + 0xa6, 0x3a, 0x06, 0x73, 0xb6, 0x4c, 0x15, 0x2b, 0x6b, 0x12, 0xf5, 0xb3, 0x9b, 0x51, 0x15, 0x11, + 0x2e, 0x2b, 0xec, 0xb9, 0x68, 0xcd, 0xd0, 0x00, 0x45, 0xff, 0x7f, 0x01, 0xc0, 0xbd, 0xe6, 0x41, + 0x86, 0x06, 0x26, 0x50, 0xc2, 0x14, 0x2c, 0x8a, 0x52, 0x19, 0x14, 0x83, 0x2a, 0xe5, 0x07, 0xb7, + 0xbc, 0x7f, 0x7c, 0x46, 0xda, 0x4d, 0xd2, 0x26, 0x16, 0xf7, 0x82, 0xa8, 0xaa, 0x8e, 0x12, 0x60, + 0x28, 0x05, 0x0d, 0xf7, 0xc1, 0xca, 0x80, 0xd5, 0xda, 0x98, 0x31, 0x51, 0xcd, 0xe5, 0x82, 0xac, + 0xde, 0xb2, 0x0a, 0x71, 0xa5, 0x99, 0x91, 0xa3, 0x11, 0x0b, 0xf8, 0x12, 0xcc, 0x5b, 0x49, 0x02, + 0xfd, 0x48, 0xb1, 0x18, 0x83, 0x69, 0xc4, 0xf8, 0x71, 0x88, 0x5d, 0x4e, 0x79, 0xd7, 0x5c, 0x14, + 0x85, 0x32, 0x64, 0xda, 0x21, 0x1a, 0x64, 0x60, 0xd5, 0xc1, 0x57, 0xd4, 0x09, 0x9d, 0xa8, 0xa4, + 0x9b, 0xf4, 0x57, 0x44, 0xd2, 0xec, 0xdd, 0x5d, 0x48, 0x9a, 0x6b, 0x64, 0xc1, 0xd0, 0x28, 0xbe, + 0xfe, 0x0f, 0x0d, 0x7c, 0x32, 0x9a, 0xf8, 0x09, 0xb4, 0xc5, 0x51, 0xba, 0x2d, 0x3e, 0x1f, 0x5f, + 0xc0, 0x99, 0xd8, 0xc6, 0x74, 0xc8, 0xef, 0x66, 0xc1, 0x62, 0x32, 0x7d, 0x13, 0xa8, 0xdd, 0xef, + 0x81, 0x92, 0x1f, 0x78, 0x1d, 0xca, 0xa8, 0xe7, 0x92, 0x40, 0x31, 0xe1, 0x9a, 0x32, 0x29, 0x9d, + 0xc4, 0x22, 0x94, 0xd4, 0x83, 0x2d, 0x00, 0x7c, 0x1c, 0x60, 0x87, 0x70, 0xd1, 0xbf, 0x05, 0x79, + 0xfc, 0x07, 0x63, 0x8e, 0x9f, 0x3c, 0x91, 0x71, 0x32, 0xb4, 0xaa, 0xbb, 0x3c, 0xe8, 0xc6, 0xd1, + 0xc5, 0x02, 0x94, 0x80, 0x86, 0x97, 0x60, 0x29, 0x20, 0x56, 0x1b, 0x53, 0x47, 0xbd, 0xd9, 0x45, + 0x19, 0x61, 0x5d, 0x3c, 0xa0, 0x28, 0x29, 0xb8, 0xee, 0x55, 0xbf, 0x1a, 0x9d, 0xba, 0x8d, 0x13, + 0x12, 0x30, 0xca, 0x38, 0x71, 0x79, 0x54, 0x30, 0x29, 0x1b, 0x94, 0xc6, 0x16, 0x4c, 0xef, 0x88, + 0x27, 0xf0, 0xd8, 0xe7, 0xd4, 0x73, 0x59, 0x79, 0x26, 0x66, 0xfa, 0x46, 0x62, 0x1f, 0xa5, 0xb4, + 0xe0, 0x21, 0x58, 0x17, 0xcc, 0xfc, 0xcb, 0xc8, 0x41, 0xfd, 0xca, 0xc7, 0xae, 0xb8, 0xa5, 0xf2, + 0xac, 0x7c, 0x6d, 0xcb, 0x62, 0xf4, 0xd9, 0xcd, 0x91, 0xa3, 0x5c, 0x2b, 0xf8, 0x12, 0xac, 0x46, + 0xb3, 0x8f, 0x49, 0x5d, 0x9b, 0xba, 0x2d, 0x31, 0xf9, 0xc8, 0x87, 0x7f, 0xc1, 0xfc, 0x42, 0x74, + 0xc4, 0x8b, 0xac, 0xf0, 0x3a, 0x6f, 0x13, 0x8d, 0x82, 0xc0, 0x37, 0x60, 0x55, 0x7a, 0x24, 0xb6, + 0xa2, 0x13, 0x4a, 0x58, 0x79, 0x5e, 0xa6, 0x6e, 0x3b, 0x99, 0x3a, 0x71, 0x75, 0xd1, 0xd4, 0x12, + 0x91, 0xce, 0x80, 0x9c, 0x4e, 0x49, 0xe0, 0x98, 0xdf, 0x54, 0xf9, 0x5a, 0xdd, 0xcd, 0x42, 0xa1, + 0x51, 0xf4, 0xcd, 0xa7, 0x60, 0x39, 0x93, 0x70, 0xb8, 0x02, 0x0a, 0x97, 0xa4, 0x1b, 0x3d, 0xcb, + 0x48, 0xfc, 0x84, 0xeb, 0x60, 0xa6, 0x83, 0xdb, 0x21, 0x89, 0x8a, 0x0f, 0x45, 0x8b, 0x27, 0xd3, + 0x8f, 0x35, 0xfd, 0x6f, 0x1a, 0x48, 0xd1, 0xd9, 0x04, 0x5a, 0xfa, 0x79, 0xba, 0xa5, 0x3f, 0xbd, + 0x45, 0x4d, 0x8f, 0x69, 0xe6, 0xdf, 0x68, 0x60, 0x31, 0x39, 0xe2, 0xc1, 0xef, 0x82, 0x79, 0x1c, + 0xda, 0x94, 0xb8, 0xd6, 0x60, 0x2a, 0x19, 0x06, 0xb2, 0xab, 0xf6, 0xd1, 0x50, 0x43, 0x0c, 0x80, + 0xe4, 0xca, 0xa7, 0x01, 0x16, 0x45, 0xd6, 0x24, 0x96, 0xe7, 0xda, 0x4c, 0xde, 0x50, 0x21, 0x62, + 0xc6, 0x7a, 0x56, 0x88, 0x46, 0xf5, 0xf5, 0x3f, 0x4e, 0x83, 0x95, 0xa8, 0x36, 0xa2, 0xd1, 0xdf, + 0x21, 0x2e, 0x9f, 0x00, 0xa9, 0x34, 0x52, 0x33, 0xdd, 0x77, 0x6e, 0x1c, 0x7a, 0xe2, 0xc0, 0xc6, + 0x0d, 0x77, 0xf0, 0x27, 0x60, 0x96, 0x71, 0xcc, 0x43, 0x26, 0x9f, 0xba, 0xd2, 0xce, 0x97, 0xb7, + 0x05, 0x94, 0x46, 0xf1, 0x5c, 0x17, 0xad, 0x91, 0x02, 0xd3, 0xff, 0xae, 0x81, 0xf5, 0xac, 0xc9, + 0x04, 0x2a, 0xec, 0x30, 0x5d, 0x61, 0xdf, 0xbe, 0xe5, 0x61, 0xc6, 0x7d, 0x01, 0x6a, 0xe0, 0x93, + 0x91, 0x73, 0xcb, 0x97, 0x54, 0xf0, 0x92, 0x9f, 0x61, 0xbf, 0xa3, 0x78, 0x22, 0x96, 0xbc, 0x74, + 0x92, 0x23, 0x47, 0xb9, 0x56, 0xf0, 0x35, 0x58, 0xa1, 0x6e, 0x9b, 0xba, 0x44, 0x3d, 0xbc, 0x71, + 0x7e, 0x73, 0xc9, 0x23, 0x8b, 0x2c, 0x93, 0xbb, 0x2e, 0xe6, 0x93, 0x83, 0x0c, 0x0a, 0x1a, 0xc1, + 0xd5, 0xff, 0x99, 0x93, 0x19, 0x39, 0x33, 0x8a, 0x16, 0x92, 0x3b, 0x24, 0x18, 0x69, 0x21, 0xb5, + 0x8f, 0x86, 0x1a, 0xb2, 0x6e, 0xe4, 0x55, 0xa8, 0x40, 0x6f, 0x5d, 0x37, 0xd2, 0x28, 0x51, 0x37, + 0x72, 0x8d, 0x14, 0x98, 0x08, 0x42, 0xcc, 0x64, 0x89, 0xd9, 0x6b, 0x18, 0xc4, 0x91, 0xda, 0x47, + 0x43, 0x0d, 0xfd, 0xbf, 0x85, 0x9c, 0x04, 0xc9, 0x02, 0x4c, 0x9c, 0x66, 0xf0, 0x95, 0x9e, 0x3d, + 0x8d, 0x3d, 0x3c, 0x8d, 0x0d, 0xff, 0xa0, 0x01, 0x88, 0x87, 0x10, 0x8d, 0x41, 0x81, 0x46, 0x55, + 0x54, 0xbf, 0x53, 0x4b, 0x18, 0xbb, 0x23, 0x38, 0xd1, 0x6b, 0xbc, 0xa9, 0xfc, 0xc3, 0x51, 0x05, + 0x94, 0xe3, 0x1c, 0xda, 0xa0, 0x14, 0xed, 0xd6, 0x83, 0xc0, 0x0b, 0x54, 0x7b, 0xea, 0x37, 0xc6, + 0x22, 0x35, 0xcd, 0x8a, 0xfc, 0xb8, 0x89, 0x4d, 0xaf, 0x7b, 0xd5, 0x52, 0x42, 0x8e, 0x92, 0xb0, + 0xc2, 0x8b, 0x4d, 0x62, 0x2f, 0xc5, 0xbb, 0x79, 0xd9, 0x27, 0xe3, 0xbd, 0x24, 0x60, 0x37, 0xeb, + 0xe0, 0x1b, 0x63, 0xae, 0xe5, 0x4e, 0x6f, 0xd6, 0x6f, 0x35, 0x90, 0xf4, 0x01, 0x0f, 0x41, 0x91, + 0x53, 0xd5, 0x75, 0xe9, 0x0f, 0xc0, 0x1b, 0x88, 0xe4, 0x94, 0x3a, 0x24, 0xa6, 0x42, 0xb1, 0x42, + 0x12, 0x05, 0x7e, 0x0e, 0xe6, 0x1c, 0xc2, 0x18, 0x6e, 0x29, 0xcf, 0xf1, 0xe7, 0x50, 0x23, 0xda, + 0x46, 0x03, 0xb9, 0xfe, 0x08, 0xac, 0xe5, 0x7c, 0x56, 0xc2, 0x2a, 0x98, 0xb1, 0xe4, 0x9f, 0x01, + 0x22, 0xa0, 0x19, 0x73, 0x41, 0x30, 0xca, 0x9e, 0xfc, 0x17, 0x20, 0xda, 0x37, 0xbf, 0xff, 0xf6, + 0x43, 0x65, 0xea, 0xdd, 0x87, 0xca, 0xd4, 0xfb, 0x0f, 0x95, 0xa9, 0x5f, 0xf7, 0x2b, 0xda, 0xdb, + 0x7e, 0x45, 0x7b, 0xd7, 0xaf, 0x68, 0xef, 0xfb, 0x15, 0xed, 0xdf, 0xfd, 0x8a, 0xf6, 0xfb, 0xff, + 0x54, 0xa6, 0x7e, 0xba, 0x91, 0xfb, 0x77, 0xea, 0xd7, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0d, 0xf9, + 0xe3, 0xd5, 0x7f, 0x15, 0x00, 0x00, } func (m *CSIDriver) Marshal() (dAtA []byte, err error) { @@ -826,6 +827,16 @@ func (m *CSIDriverSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.SELinuxMount != nil { + i-- + if *m.SELinuxMount { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } if m.RequiresRepublish != nil { i-- if *m.RequiresRepublish { @@ -1795,6 +1806,9 @@ func (m *CSIDriverSpec) Size() (n int) { if m.RequiresRepublish != nil { n += 2 } + if m.SELinuxMount != nil { + n += 2 + } return n } @@ -2148,6 +2162,7 @@ func (this *CSIDriverSpec) String() string { `FSGroupPolicy:` + valueToStringGenerated(this.FSGroupPolicy) + `,`, `TokenRequests:` + repeatedStringForTokenRequests + `,`, `RequiresRepublish:` + valueToStringGenerated(this.RequiresRepublish) + `,`, + `SELinuxMount:` + valueToStringGenerated(this.SELinuxMount) + `,`, `}`, }, "") return s @@ -2844,6 +2859,27 @@ func (m *CSIDriverSpec) Unmarshal(dAtA []byte) error { } b := bool(v != 0) m.RequiresRepublish = &b + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SELinuxMount", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + b := bool(v != 0) + m.SELinuxMount = &b default: iNdEx = preIndex skippy, err := skipGenerated(dAtA[iNdEx:]) diff --git a/cluster-autoscaler/vendor/k8s.io/api/storage/v1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/storage/v1/generated.proto index 45417116a1f0..d3c425c0419a 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/storage/v1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/storage/v1/generated.proto @@ -192,6 +192,27 @@ message CSIDriverSpec { // // +optional optional bool requiresRepublish = 7; + + // SELinuxMount specifies if the CSI driver supports "-o context" + // mount option. + // + // When "true", the CSI driver must ensure that all volumes provided by this CSI + // driver can be mounted separately with different `-o context` options. This is + // typical for storage backends that provide volumes as filesystems on block + // devices or as independent shared volumes. + // Kubernetes will call NodeStage / NodePublish with "-o context=xyz" mount + // option when mounting a ReadWriteOncePod volume used in Pod that has + // explicitly set SELinux context. In the future, it may be expanded to other + // volume AccessModes. In any case, Kubernetes will ensure that the volume is + // mounted only with a single SELinux context. + // + // When "false", Kubernetes won't pass any special SELinux mount options to the driver. + // This is typical for volumes that represent subdirectories of a bigger shared filesystem. + // + // Default is "false". + // + // +optional + optional bool seLinuxMount = 8; } // CSINode holds information about all CSI drivers installed on a node. diff --git a/cluster-autoscaler/vendor/k8s.io/api/storage/v1/types.go b/cluster-autoscaler/vendor/k8s.io/api/storage/v1/types.go index 4812287abf62..f57099df6dcf 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/storage/v1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/storage/v1/types.go @@ -392,6 +392,27 @@ type CSIDriverSpec struct { // // +optional RequiresRepublish *bool `json:"requiresRepublish,omitempty" protobuf:"varint,7,opt,name=requiresRepublish"` + + // SELinuxMount specifies if the CSI driver supports "-o context" + // mount option. + // + // When "true", the CSI driver must ensure that all volumes provided by this CSI + // driver can be mounted separately with different `-o context` options. This is + // typical for storage backends that provide volumes as filesystems on block + // devices or as independent shared volumes. + // Kubernetes will call NodeStage / NodePublish with "-o context=xyz" mount + // option when mounting a ReadWriteOncePod volume used in Pod that has + // explicitly set SELinux context. In the future, it may be expanded to other + // volume AccessModes. In any case, Kubernetes will ensure that the volume is + // mounted only with a single SELinux context. + // + // When "false", Kubernetes won't pass any special SELinux mount options to the driver. + // This is typical for volumes that represent subdirectories of a bigger shared filesystem. + // + // Default is "false". + // + // +optional + SELinuxMount *bool `json:"seLinuxMount,omitempty" protobuf:"varint,8,opt,name=seLinuxMount"` } // FSGroupPolicy specifies if a CSI Driver supports modifying diff --git a/cluster-autoscaler/vendor/k8s.io/api/storage/v1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/storage/v1/types_swagger_doc_generated.go index 7a407db46b21..1a069bb40378 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/storage/v1/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/storage/v1/types_swagger_doc_generated.go @@ -56,6 +56,7 @@ var map_CSIDriverSpec = map[string]string{ "fsGroupPolicy": "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.\n\nThis field is immutable.\n\nDefaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.", "tokenRequests": "TokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"\": {\n \"token\": ,\n \"expirationTimestamp\": ,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.", "requiresRepublish": "RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.", + "seLinuxMount": "SELinuxMount specifies if the CSI driver supports \"-o context\" mount option.\n\nWhen \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.\n\nWhen \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.\n\nDefault is \"false\".", } func (CSIDriverSpec) SwaggerDoc() map[string]string { diff --git a/cluster-autoscaler/vendor/k8s.io/api/storage/v1/zz_generated.deepcopy.go b/cluster-autoscaler/vendor/k8s.io/api/storage/v1/zz_generated.deepcopy.go index b14b7fbcd878..74ae83bca823 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/storage/v1/zz_generated.deepcopy.go +++ b/cluster-autoscaler/vendor/k8s.io/api/storage/v1/zz_generated.deepcopy.go @@ -127,6 +127,11 @@ func (in *CSIDriverSpec) DeepCopyInto(out *CSIDriverSpec) { *out = new(bool) **out = **in } + if in.SELinuxMount != nil { + in, out := &in.SELinuxMount, &out.SELinuxMount + *out = new(bool) + **out = **in + } return } diff --git a/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/generated.pb.go b/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/generated.pb.go index 379ce8f1836a..42ef65ca0fa3 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/generated.pb.go +++ b/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/generated.pb.go @@ -609,111 +609,112 @@ func init() { } var fileDescriptor_7d2980599fd0de80 = []byte{ - // 1654 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x6f, 0x1b, 0x37, - 0x16, 0xf7, 0x58, 0xf2, 0x17, 0x65, 0xc7, 0x36, 0xed, 0x64, 0xb5, 0x3a, 0x48, 0x86, 0x16, 0xbb, - 0x71, 0x82, 0xec, 0x28, 0xf1, 0x66, 0x83, 0x20, 0x40, 0x80, 0xf5, 0xd8, 0xde, 0x8d, 0x12, 0xcb, - 0x71, 0x28, 0x23, 0x08, 0x82, 0x3d, 0x2c, 0x35, 0x43, 0xcb, 0x8c, 0x35, 0x1f, 0x19, 0x52, 0xde, - 0xa8, 0xa7, 0xf6, 0xd2, 0x73, 0xd1, 0x43, 0xef, 0x05, 0xfa, 0x2f, 0xb4, 0x40, 0x7b, 0xe9, 0xb1, - 0x01, 0x0a, 0x14, 0x41, 0x4f, 0x39, 0x09, 0x8d, 0xfa, 0x27, 0x14, 0xe8, 0xc1, 0xe8, 0xa1, 0x20, - 0x87, 0xd2, 0x7c, 0x49, 0xb1, 0xdd, 0x83, 0x6e, 0xe2, 0xfb, 0xf8, 0xbd, 0x47, 0xf2, 0xf7, 0x1e, - 0xdf, 0x08, 0x6c, 0x1d, 0xdf, 0x65, 0x3a, 0x75, 0x2b, 0xc7, 0xed, 0x06, 0xf1, 0x1d, 0xc2, 0x09, - 0xab, 0x9c, 0x10, 0xc7, 0x72, 0xfd, 0x8a, 0x52, 0x60, 0x8f, 0x56, 0x18, 0x77, 0x7d, 0xdc, 0x24, - 0x95, 0x93, 0x5b, 0x0d, 0xc2, 0xf1, 0xad, 0x4a, 0x93, 0x38, 0xc4, 0xc7, 0x9c, 0x58, 0xba, 0xe7, - 0xbb, 0xdc, 0x85, 0x85, 0xc0, 0x56, 0xc7, 0x1e, 0xd5, 0x95, 0xad, 0xae, 0x6c, 0x0b, 0x7f, 0x6f, - 0x52, 0x7e, 0xd4, 0x6e, 0xe8, 0xa6, 0x6b, 0x57, 0x9a, 0x6e, 0xd3, 0xad, 0x48, 0x97, 0x46, 0xfb, - 0x50, 0xae, 0xe4, 0x42, 0xfe, 0x0a, 0xa0, 0x0a, 0xe5, 0x48, 0x58, 0xd3, 0xf5, 0x45, 0xcc, 0x64, - 0xb8, 0xc2, 0xed, 0xd0, 0xc6, 0xc6, 0xe6, 0x11, 0x75, 0x88, 0xdf, 0xa9, 0x78, 0xc7, 0x4d, 0xe9, - 0xe4, 0x13, 0xe6, 0xb6, 0x7d, 0x93, 0x5c, 0xc8, 0x8b, 0x55, 0x6c, 0xc2, 0xf1, 0xb0, 0x58, 0x95, - 0x51, 0x5e, 0x7e, 0xdb, 0xe1, 0xd4, 0x4e, 0x87, 0xb9, 0x73, 0x96, 0x03, 0x33, 0x8f, 0x88, 0x8d, - 0x93, 0x7e, 0xe5, 0x6f, 0x34, 0x30, 0xb7, 0x55, 0xaf, 0x6e, 0xfb, 0xf4, 0x84, 0xf8, 0xf0, 0x7f, - 0x60, 0x56, 0x64, 0x64, 0x61, 0x8e, 0xf3, 0xda, 0x9a, 0xb6, 0x9e, 0xdb, 0xb8, 0xa9, 0x87, 0x87, - 0x3c, 0x00, 0xd6, 0xbd, 0xe3, 0xa6, 0x10, 0x30, 0x5d, 0x58, 0xeb, 0x27, 0xb7, 0xf4, 0xc7, 0x8d, - 0x17, 0xc4, 0xe4, 0x35, 0xc2, 0xb1, 0x01, 0x5f, 0x77, 0x4b, 0x13, 0xbd, 0x6e, 0x09, 0x84, 0x32, - 0x34, 0x40, 0x85, 0x8f, 0x40, 0x96, 0x79, 0xc4, 0xcc, 0x4f, 0x4a, 0xf4, 0x6b, 0xfa, 0xe8, 0x2b, - 0xd4, 0x07, 0x69, 0xd5, 0x3d, 0x62, 0x1a, 0xf3, 0x0a, 0x36, 0x2b, 0x56, 0x48, 0x82, 0x94, 0xbf, - 0xd6, 0xc0, 0xc2, 0xc0, 0x6a, 0x97, 0x32, 0x0e, 0xff, 0x9b, 0xda, 0x80, 0x7e, 0xbe, 0x0d, 0x08, - 0x6f, 0x99, 0xfe, 0x92, 0x8a, 0x33, 0xdb, 0x97, 0x44, 0x92, 0x7f, 0x08, 0xa6, 0x28, 0x27, 0x36, - 0xcb, 0x4f, 0xae, 0x65, 0xd6, 0x73, 0x1b, 0x7f, 0x3d, 0x57, 0xf6, 0xc6, 0x82, 0x42, 0x9c, 0xaa, - 0x0a, 0x5f, 0x14, 0x40, 0x94, 0x3f, 0xcf, 0x46, 0x72, 0x17, 0x7b, 0x82, 0xf7, 0xc0, 0x25, 0xcc, - 0x39, 0x36, 0x8f, 0x10, 0x79, 0xd9, 0xa6, 0x3e, 0xb1, 0xe4, 0x0e, 0x66, 0x0d, 0xd8, 0xeb, 0x96, - 0x2e, 0x6d, 0xc6, 0x34, 0x28, 0x61, 0x29, 0x7c, 0x3d, 0xd7, 0xaa, 0x3a, 0x87, 0xee, 0x63, 0xa7, - 0xe6, 0xb6, 0x1d, 0x2e, 0x0f, 0x58, 0xf9, 0xee, 0xc7, 0x34, 0x28, 0x61, 0x09, 0x4d, 0xb0, 0x7a, - 0xe2, 0xb6, 0xda, 0x36, 0xd9, 0xa5, 0x87, 0xc4, 0xec, 0x98, 0x2d, 0x52, 0x73, 0x2d, 0xc2, 0xf2, - 0x99, 0xb5, 0xcc, 0xfa, 0x9c, 0x51, 0xe9, 0x75, 0x4b, 0xab, 0x4f, 0x87, 0xe8, 0x4f, 0xbb, 0xa5, - 0x95, 0x21, 0x72, 0x34, 0x14, 0x0c, 0xde, 0x07, 0x8b, 0xea, 0x84, 0xb6, 0xb0, 0x87, 0x4d, 0xca, - 0x3b, 0xf9, 0xac, 0xcc, 0x70, 0xa5, 0xd7, 0x2d, 0x2d, 0xd6, 0xe3, 0x2a, 0x94, 0xb4, 0x85, 0x0f, - 0xc0, 0xc2, 0x21, 0xfb, 0x8f, 0xef, 0xb6, 0xbd, 0x7d, 0xb7, 0x45, 0xcd, 0x4e, 0x7e, 0x6a, 0x4d, - 0x5b, 0x9f, 0x33, 0xca, 0xbd, 0x6e, 0x69, 0xe1, 0xdf, 0xf5, 0x88, 0xe2, 0x34, 0x29, 0x40, 0x71, - 0x47, 0x48, 0xc0, 0x02, 0x77, 0x8f, 0x89, 0x23, 0x8e, 0x8e, 0x30, 0xce, 0xf2, 0xd3, 0xf2, 0x2e, - 0xd7, 0xdf, 0x77, 0x97, 0x07, 0x11, 0x07, 0xe3, 0xb2, 0xba, 0xce, 0x85, 0xa8, 0x94, 0xa1, 0x38, - 0x2a, 0xdc, 0x02, 0xcb, 0x7e, 0x70, 0x39, 0x0c, 0x11, 0xaf, 0xdd, 0x68, 0x51, 0x76, 0x94, 0x9f, - 0x91, 0x3b, 0xbe, 0xdc, 0xeb, 0x96, 0x96, 0x51, 0x52, 0x89, 0xd2, 0xf6, 0xe5, 0xaf, 0x34, 0x30, - 0xb3, 0x55, 0xaf, 0xee, 0xb9, 0x16, 0x19, 0x43, 0x69, 0x56, 0x63, 0xa5, 0x79, 0xf5, 0x0c, 0x72, - 0x8b, 0xa4, 0x46, 0x16, 0xe6, 0x2f, 0x41, 0x61, 0x0a, 0x1b, 0xd5, 0x59, 0xd6, 0x40, 0xd6, 0xc1, - 0x36, 0x91, 0xa9, 0xcf, 0x85, 0x3e, 0x7b, 0xd8, 0x26, 0x48, 0x6a, 0xe0, 0xdf, 0xc0, 0xb4, 0xe3, - 0x5a, 0xa4, 0xba, 0x2d, 0x13, 0x98, 0x33, 0x2e, 0x29, 0x9b, 0xe9, 0x3d, 0x29, 0x45, 0x4a, 0x0b, - 0x6f, 0x83, 0x79, 0xee, 0x7a, 0x6e, 0xcb, 0x6d, 0x76, 0x1e, 0x91, 0x4e, 0x9f, 0xa6, 0x4b, 0xbd, - 0x6e, 0x69, 0xfe, 0x20, 0x22, 0x47, 0x31, 0x2b, 0xd8, 0x00, 0x39, 0xdc, 0x6a, 0xb9, 0x26, 0xe6, - 0xb8, 0xd1, 0x22, 0x92, 0x7b, 0xb9, 0x8d, 0xca, 0xfb, 0xf6, 0x18, 0x70, 0x5b, 0x04, 0x47, 0xaa, - 0xb7, 0x33, 0x63, 0xb1, 0xd7, 0x2d, 0xe5, 0x36, 0x43, 0x1c, 0x14, 0x05, 0x2d, 0x7f, 0xa9, 0x81, - 0x9c, 0xda, 0xf5, 0x18, 0x9a, 0xd1, 0x83, 0x78, 0x33, 0xfa, 0xcb, 0x39, 0xee, 0x6b, 0x44, 0x2b, - 0x32, 0x07, 0x69, 0xcb, 0x3e, 0x74, 0x00, 0x66, 0x2c, 0x79, 0x69, 0x2c, 0xaf, 0x49, 0xe8, 0x6b, - 0xe7, 0x80, 0x56, 0xbd, 0x6e, 0x51, 0x05, 0x98, 0x09, 0xd6, 0x0c, 0xf5, 0xa1, 0xca, 0xbf, 0x66, - 0x00, 0xdc, 0xaa, 0x57, 0x13, 0x95, 0x3e, 0x06, 0x5a, 0x53, 0x30, 0x2f, 0x98, 0xd3, 0xe7, 0x86, - 0xa2, 0xf7, 0x3f, 0xce, 0x79, 0x13, 0xb8, 0x41, 0x5a, 0x75, 0xd2, 0x22, 0x26, 0x77, 0xfd, 0x80, - 0x64, 0x7b, 0x11, 0x30, 0x14, 0x83, 0x86, 0xdb, 0x60, 0xa9, 0xdf, 0xb8, 0x5a, 0x98, 0x31, 0x41, - 0xee, 0x7c, 0x46, 0x92, 0x39, 0xaf, 0x52, 0x5c, 0xaa, 0x27, 0xf4, 0x28, 0xe5, 0x01, 0x9f, 0x81, - 0x59, 0x33, 0xda, 0x23, 0xcf, 0xa0, 0x8d, 0xde, 0x1f, 0x3d, 0xf4, 0x27, 0x6d, 0xec, 0x70, 0xca, - 0x3b, 0xc6, 0xbc, 0xa0, 0xcc, 0xa0, 0x99, 0x0e, 0xd0, 0x20, 0x03, 0xcb, 0x36, 0x7e, 0x45, 0xed, - 0xb6, 0x1d, 0x90, 0xbb, 0x4e, 0x3f, 0x20, 0xb2, 0x93, 0x5e, 0x3c, 0x84, 0x6c, 0x62, 0xb5, 0x24, - 0x18, 0x4a, 0xe3, 0x97, 0xbf, 0xd7, 0xc0, 0x95, 0xf4, 0xc5, 0x8f, 0xa1, 0x40, 0xea, 0xf1, 0x02, - 0xd1, 0xcf, 0x60, 0x71, 0x22, 0xc1, 0x11, 0xb5, 0xf2, 0xe9, 0x34, 0x98, 0x8f, 0xde, 0xe1, 0x18, - 0x08, 0xfc, 0x4f, 0x90, 0xf3, 0x7c, 0xf7, 0x84, 0x32, 0xea, 0x3a, 0xc4, 0x57, 0xdd, 0x71, 0x45, - 0xb9, 0xe4, 0xf6, 0x43, 0x15, 0x8a, 0xda, 0xc1, 0x16, 0x00, 0x1e, 0xf6, 0xb1, 0x4d, 0xb8, 0xa8, - 0xe4, 0x8c, 0x3c, 0x83, 0xbb, 0xef, 0x3b, 0x83, 0xe8, 0xb6, 0xf4, 0xfd, 0x81, 0xeb, 0x8e, 0xc3, - 0xfd, 0x4e, 0x98, 0x62, 0xa8, 0x40, 0x11, 0x7c, 0x78, 0x0c, 0x16, 0x7c, 0x62, 0xb6, 0x30, 0xb5, - 0xd5, 0x03, 0x9d, 0x95, 0x69, 0xee, 0x88, 0x87, 0x12, 0x45, 0x15, 0xa7, 0xdd, 0xd2, 0xcd, 0xf4, - 0xb0, 0xad, 0xef, 0x13, 0x9f, 0x51, 0xc6, 0x89, 0xc3, 0x03, 0xea, 0xc4, 0x7c, 0x50, 0x1c, 0x5b, - 0x3c, 0x01, 0xb6, 0x18, 0x5d, 0x1e, 0x7b, 0x9c, 0xba, 0x0e, 0xcb, 0x4f, 0x85, 0x4f, 0x40, 0x2d, - 0x22, 0x47, 0x31, 0x2b, 0xb8, 0x0b, 0x56, 0x45, 0xb7, 0xfe, 0x7f, 0x10, 0x60, 0xe7, 0x95, 0x87, - 0x1d, 0x71, 0x54, 0xf9, 0x69, 0xf9, 0x2a, 0xe7, 0xc5, 0x9c, 0xb3, 0x39, 0x44, 0x8f, 0x86, 0x7a, - 0xc1, 0x67, 0x60, 0x39, 0x18, 0x74, 0x0c, 0xea, 0x58, 0xd4, 0x69, 0x8a, 0x31, 0x47, 0x3e, 0xf0, - 0x73, 0xc6, 0x75, 0x51, 0x1b, 0x4f, 0x93, 0xca, 0xd3, 0x61, 0x42, 0x94, 0x06, 0x81, 0x2f, 0xc1, - 0xb2, 0x8c, 0x48, 0x2c, 0xd5, 0x58, 0x28, 0x61, 0xf9, 0xd9, 0xf4, 0x94, 0x22, 0x8e, 0x4e, 0x10, - 0xa9, 0xdf, 0x7e, 0xfa, 0x6d, 0xea, 0x80, 0xf8, 0xb6, 0xf1, 0x67, 0x75, 0x5f, 0xcb, 0x9b, 0x49, - 0x28, 0x94, 0x46, 0x2f, 0xdc, 0x07, 0x8b, 0x89, 0x0b, 0x87, 0x4b, 0x20, 0x73, 0x4c, 0x3a, 0xc1, - 0x7b, 0x8d, 0xc4, 0x4f, 0xb8, 0x0a, 0xa6, 0x4e, 0x70, 0xab, 0x4d, 0x02, 0x06, 0xa2, 0x60, 0x71, - 0x6f, 0xf2, 0xae, 0x56, 0xfe, 0x56, 0x03, 0xb1, 0xc6, 0x36, 0x86, 0xe2, 0xae, 0xc5, 0x8b, 0x7b, - 0xfd, 0xbc, 0xc4, 0x1e, 0x51, 0xd6, 0x1f, 0x69, 0x60, 0x3e, 0x3a, 0xcf, 0xc1, 0x1b, 0x60, 0x16, - 0xb7, 0x2d, 0x4a, 0x1c, 0xb3, 0x3f, 0xb3, 0x0c, 0xb2, 0xd9, 0x54, 0x72, 0x34, 0xb0, 0x10, 0xd3, - 0x1e, 0x79, 0xe5, 0x51, 0x1f, 0x0b, 0xa6, 0xd5, 0x89, 0xe9, 0x3a, 0x16, 0x93, 0xc7, 0x94, 0x09, - 0x1a, 0xe5, 0x4e, 0x52, 0x89, 0xd2, 0xf6, 0xe5, 0x2f, 0x26, 0xc1, 0x52, 0x40, 0x90, 0x60, 0xd8, - 0xb7, 0x89, 0xc3, 0xc7, 0xd0, 0x5e, 0x50, 0x6c, 0xec, 0xbb, 0x79, 0xf6, 0x48, 0x14, 0x66, 0x37, - 0x6a, 0xfe, 0x83, 0xcf, 0xc1, 0x34, 0xe3, 0x98, 0xb7, 0x99, 0x7c, 0xfe, 0x72, 0x1b, 0x1b, 0x17, - 0x42, 0x95, 0x9e, 0xe1, 0xfc, 0x17, 0xac, 0x91, 0x42, 0x2c, 0x7f, 0xa7, 0x81, 0xd5, 0xa4, 0xcb, - 0x18, 0x08, 0xf7, 0x24, 0x4e, 0xb8, 0x1b, 0x17, 0xd9, 0xd1, 0x08, 0xd2, 0xfd, 0xa8, 0x81, 0x2b, - 0xa9, 0xcd, 0xcb, 0x77, 0x56, 0xf4, 0x2a, 0x2f, 0xd1, 0x11, 0xf7, 0xc2, 0xf1, 0x59, 0xf6, 0xaa, - 0xfd, 0x21, 0x7a, 0x34, 0xd4, 0x0b, 0xbe, 0x00, 0x4b, 0xd4, 0x69, 0x51, 0x87, 0xa8, 0x67, 0x39, - 0xbc, 0xee, 0xa1, 0x0d, 0x25, 0x89, 0x2c, 0xaf, 0x79, 0x55, 0x4c, 0x2f, 0xd5, 0x04, 0x0a, 0x4a, - 0xe1, 0x96, 0x7f, 0x18, 0x72, 0x3d, 0x72, 0xac, 0x14, 0x15, 0x25, 0x25, 0xc4, 0x4f, 0x55, 0x94, - 0x92, 0xa3, 0x81, 0x85, 0x64, 0x90, 0x3c, 0x0a, 0x95, 0xe8, 0xc5, 0x18, 0x24, 0x3d, 0x23, 0x0c, - 0x92, 0x6b, 0xa4, 0x10, 0x45, 0x26, 0x62, 0x6c, 0x8b, 0x8c, 0x67, 0x83, 0x4c, 0xf6, 0x94, 0x1c, - 0x0d, 0x2c, 0xca, 0xbf, 0x65, 0x86, 0xdc, 0x92, 0xa4, 0x62, 0x64, 0x4b, 0xfd, 0x6f, 0xf5, 0xe4, - 0x96, 0xac, 0xc1, 0x96, 0x2c, 0xf8, 0x99, 0x06, 0x20, 0x1e, 0x40, 0xd4, 0xfa, 0x54, 0x0d, 0xf8, - 0xf4, 0xf0, 0xe2, 0x15, 0xa2, 0x6f, 0xa6, 0xc0, 0x82, 0xb7, 0xba, 0xa0, 0x92, 0x80, 0x69, 0x03, - 0x34, 0x24, 0x03, 0x48, 0x41, 0x2e, 0x90, 0xee, 0xf8, 0xbe, 0xeb, 0xab, 0x92, 0xbd, 0x7a, 0x76, - 0x42, 0xd2, 0xdc, 0x28, 0xca, 0x6f, 0xa2, 0xd0, 0xff, 0xb4, 0x5b, 0xca, 0x45, 0xf4, 0x28, 0x8a, - 0x2d, 0x42, 0x59, 0x24, 0x0c, 0x95, 0xfd, 0x03, 0xa1, 0xb6, 0xc9, 0xe8, 0x50, 0x11, 0xec, 0xc2, - 0x0e, 0xf8, 0xd3, 0x88, 0x03, 0xba, 0xd0, 0xdb, 0xf6, 0xb1, 0x06, 0xa2, 0x31, 0xe0, 0x2e, 0xc8, - 0x72, 0xaa, 0x2a, 0x31, 0xb7, 0x71, 0xfd, 0x7c, 0x1d, 0xe6, 0x80, 0xda, 0x24, 0x6c, 0x94, 0x62, - 0x85, 0x24, 0x0a, 0xbc, 0x06, 0x66, 0x6c, 0xc2, 0x18, 0x6e, 0xaa, 0xc8, 0xe1, 0x07, 0x54, 0x2d, - 0x10, 0xa3, 0xbe, 0xbe, 0x7c, 0x07, 0xac, 0x0c, 0xf9, 0x24, 0x85, 0x25, 0x30, 0x65, 0xca, 0x3f, - 0x7c, 0x44, 0x42, 0x53, 0xc6, 0x9c, 0xe8, 0x32, 0x5b, 0xf2, 0x7f, 0x9e, 0x40, 0x6e, 0xfc, 0xeb, - 0xf5, 0xbb, 0xe2, 0xc4, 0x9b, 0x77, 0xc5, 0x89, 0xb7, 0xef, 0x8a, 0x13, 0x1f, 0xf6, 0x8a, 0xda, - 0xeb, 0x5e, 0x51, 0x7b, 0xd3, 0x2b, 0x6a, 0x6f, 0x7b, 0x45, 0xed, 0xa7, 0x5e, 0x51, 0xfb, 0xe4, - 0xe7, 0xe2, 0xc4, 0xf3, 0xc2, 0xe8, 0xff, 0x5d, 0x7f, 0x0f, 0x00, 0x00, 0xff, 0xff, 0x91, 0x4f, - 0x2f, 0xc0, 0xad, 0x15, 0x00, 0x00, + // 1672 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x6f, 0x1b, 0x4d, + 0x19, 0xcf, 0xc6, 0xce, 0xd7, 0x38, 0x69, 0x92, 0x49, 0x5a, 0x8c, 0x0f, 0x76, 0x64, 0x04, 0x4d, + 0xab, 0xb2, 0x6e, 0x43, 0xa9, 0xaa, 0x4a, 0x95, 0xc8, 0x26, 0x81, 0xba, 0x8d, 0xd3, 0x74, 0x1c, + 0x55, 0x55, 0xc5, 0x81, 0xf1, 0xee, 0xc4, 0x99, 0xc6, 0xfb, 0xd1, 0x9d, 0xd9, 0x10, 0x73, 0x82, + 0x0b, 0x67, 0xc4, 0x81, 0xbf, 0x80, 0x7f, 0x01, 0x24, 0xb8, 0x70, 0xa4, 0x12, 0x12, 0xaa, 0xb8, + 0xd0, 0x93, 0x45, 0xcd, 0x9f, 0xf0, 0x4a, 0xef, 0x21, 0x7a, 0x0f, 0xaf, 0x66, 0x76, 0xec, 0xfd, + 0xb2, 0x9b, 0xe4, 0x3d, 0xf8, 0xe6, 0x79, 0x3e, 0x7e, 0xcf, 0x33, 0xf3, 0x7c, 0xae, 0xc1, 0xce, + 0xe9, 0x63, 0xa6, 0x53, 0xb7, 0x76, 0x1a, 0xb4, 0x88, 0xef, 0x10, 0x4e, 0x58, 0xed, 0x8c, 0x38, + 0x96, 0xeb, 0xd7, 0x14, 0x03, 0x7b, 0xb4, 0xc6, 0xb8, 0xeb, 0xe3, 0x36, 0xa9, 0x9d, 0x3d, 0x68, + 0x11, 0x8e, 0x1f, 0xd4, 0xda, 0xc4, 0x21, 0x3e, 0xe6, 0xc4, 0xd2, 0x3d, 0xdf, 0xe5, 0x2e, 0x2c, + 0x85, 0xb2, 0x3a, 0xf6, 0xa8, 0xae, 0x64, 0x75, 0x25, 0x5b, 0xfa, 0x71, 0x9b, 0xf2, 0x93, 0xa0, + 0xa5, 0x9b, 0xae, 0x5d, 0x6b, 0xbb, 0x6d, 0xb7, 0x26, 0x55, 0x5a, 0xc1, 0xb1, 0x3c, 0xc9, 0x83, + 0xfc, 0x15, 0x42, 0x95, 0xaa, 0x31, 0xb3, 0xa6, 0xeb, 0x0b, 0x9b, 0x69, 0x73, 0xa5, 0x87, 0x91, + 0x8c, 0x8d, 0xcd, 0x13, 0xea, 0x10, 0xbf, 0x5b, 0xf3, 0x4e, 0xdb, 0x52, 0xc9, 0x27, 0xcc, 0x0d, + 0x7c, 0x93, 0x5c, 0x4b, 0x8b, 0xd5, 0x6c, 0xc2, 0xf1, 0x28, 0x5b, 0xb5, 0x71, 0x5a, 0x7e, 0xe0, + 0x70, 0x6a, 0x67, 0xcd, 0x3c, 0xba, 0x4c, 0x81, 0x99, 0x27, 0xc4, 0xc6, 0x69, 0xbd, 0xea, 0xdf, + 0x35, 0xb0, 0xb0, 0xd3, 0xac, 0xef, 0xfa, 0xf4, 0x8c, 0xf8, 0xf0, 0x57, 0x60, 0x5e, 0x78, 0x64, + 0x61, 0x8e, 0x8b, 0xda, 0x86, 0xb6, 0x59, 0xd8, 0xba, 0xaf, 0x47, 0x8f, 0x3c, 0x04, 0xd6, 0xbd, + 0xd3, 0xb6, 0x20, 0x30, 0x5d, 0x48, 0xeb, 0x67, 0x0f, 0xf4, 0x97, 0xad, 0x77, 0xc4, 0xe4, 0x0d, + 0xc2, 0xb1, 0x01, 0x3f, 0xf4, 0x2a, 0x53, 0xfd, 0x5e, 0x05, 0x44, 0x34, 0x34, 0x44, 0x85, 0x2f, + 0x40, 0x9e, 0x79, 0xc4, 0x2c, 0x4e, 0x4b, 0xf4, 0x3b, 0xfa, 0xf8, 0x10, 0xea, 0x43, 0xb7, 0x9a, + 0x1e, 0x31, 0x8d, 0x45, 0x05, 0x9b, 0x17, 0x27, 0x24, 0x41, 0xaa, 0x7f, 0xd3, 0xc0, 0xd2, 0x50, + 0x6a, 0x9f, 0x32, 0x0e, 0x7f, 0x99, 0xb9, 0x80, 0x7e, 0xb5, 0x0b, 0x08, 0x6d, 0xe9, 0xfe, 0x8a, + 0xb2, 0x33, 0x3f, 0xa0, 0xc4, 0x9c, 0x7f, 0x0e, 0x66, 0x28, 0x27, 0x36, 0x2b, 0x4e, 0x6f, 0xe4, + 0x36, 0x0b, 0x5b, 0x3f, 0xbc, 0x92, 0xf7, 0xc6, 0x92, 0x42, 0x9c, 0xa9, 0x0b, 0x5d, 0x14, 0x42, + 0x54, 0xff, 0x9b, 0x8f, 0xf9, 0x2e, 0xee, 0x04, 0x9f, 0x80, 0x1b, 0x98, 0x73, 0x6c, 0x9e, 0x20, + 0xf2, 0x3e, 0xa0, 0x3e, 0xb1, 0xe4, 0x0d, 0xe6, 0x0d, 0xd8, 0xef, 0x55, 0x6e, 0x6c, 0x27, 0x38, + 0x28, 0x25, 0x29, 0x74, 0x3d, 0xd7, 0xaa, 0x3b, 0xc7, 0xee, 0x4b, 0xa7, 0xe1, 0x06, 0x0e, 0x97, + 0x0f, 0xac, 0x74, 0x0f, 0x13, 0x1c, 0x94, 0x92, 0x84, 0x26, 0x58, 0x3f, 0x73, 0x3b, 0x81, 0x4d, + 0xf6, 0xe9, 0x31, 0x31, 0xbb, 0x66, 0x87, 0x34, 0x5c, 0x8b, 0xb0, 0x62, 0x6e, 0x23, 0xb7, 0xb9, + 0x60, 0xd4, 0xfa, 0xbd, 0xca, 0xfa, 0xeb, 0x11, 0xfc, 0x8b, 0x5e, 0x65, 0x6d, 0x04, 0x1d, 0x8d, + 0x04, 0x83, 0x4f, 0xc1, 0xb2, 0x7a, 0xa1, 0x1d, 0xec, 0x61, 0x93, 0xf2, 0x6e, 0x31, 0x2f, 0x3d, + 0x5c, 0xeb, 0xf7, 0x2a, 0xcb, 0xcd, 0x24, 0x0b, 0xa5, 0x65, 0xe1, 0x33, 0xb0, 0x74, 0xcc, 0x7e, + 0xe1, 0xbb, 0x81, 0x77, 0xe8, 0x76, 0xa8, 0xd9, 0x2d, 0xce, 0x6c, 0x68, 0x9b, 0x0b, 0x46, 0xb5, + 0xdf, 0xab, 0x2c, 0xfd, 0xbc, 0x19, 0x63, 0x5c, 0xa4, 0x09, 0x28, 0xa9, 0x08, 0x09, 0x58, 0xe2, + 0xee, 0x29, 0x71, 0xc4, 0xd3, 0x11, 0xc6, 0x59, 0x71, 0x56, 0xc6, 0x72, 0xf3, 0x4b, 0xb1, 0x3c, + 0x8a, 0x29, 0x18, 0x37, 0x55, 0x38, 0x97, 0xe2, 0x54, 0x86, 0x92, 0xa8, 0x70, 0x07, 0xac, 0xfa, + 0x61, 0x70, 0x18, 0x22, 0x5e, 0xd0, 0xea, 0x50, 0x76, 0x52, 0x9c, 0x93, 0x37, 0xbe, 0xd9, 0xef, + 0x55, 0x56, 0x51, 0x9a, 0x89, 0xb2, 0xf2, 0xf0, 0x21, 0x58, 0x64, 0x64, 0x9f, 0x3a, 0xc1, 0x79, + 0x18, 0xd3, 0x79, 0xa9, 0xbf, 0xd2, 0xef, 0x55, 0x16, 0x9b, 0x7b, 0x11, 0x1d, 0x25, 0xa4, 0xaa, + 0x7f, 0xd5, 0xc0, 0xdc, 0x4e, 0xb3, 0x7e, 0xe0, 0x5a, 0x64, 0x02, 0x05, 0x5d, 0x4f, 0x14, 0xf4, + 0xed, 0x4b, 0x4a, 0x42, 0x38, 0x35, 0xb6, 0x9c, 0xbf, 0x0a, 0xcb, 0x59, 0xc8, 0xa8, 0x7e, 0xb4, + 0x01, 0xf2, 0x0e, 0xb6, 0x89, 0x74, 0x7d, 0x21, 0xd2, 0x39, 0xc0, 0x36, 0x41, 0x92, 0x03, 0x7f, + 0x04, 0x66, 0x1d, 0xd7, 0x22, 0xf5, 0x5d, 0xe9, 0xc0, 0x82, 0x71, 0x43, 0xc9, 0xcc, 0x1e, 0x48, + 0x2a, 0x52, 0x5c, 0xf1, 0x94, 0xdc, 0xf5, 0xdc, 0x8e, 0xdb, 0xee, 0xbe, 0x20, 0xdd, 0x41, 0x72, + 0xcb, 0xa7, 0x3c, 0x8a, 0xd1, 0x51, 0x42, 0x0a, 0xb6, 0x40, 0x01, 0x77, 0x3a, 0xae, 0x89, 0x39, + 0x6e, 0x75, 0x88, 0xcc, 0xd8, 0xc2, 0x56, 0xed, 0x4b, 0x77, 0x0c, 0x2b, 0x42, 0x18, 0x47, 0x6a, + 0x22, 0x30, 0x63, 0xb9, 0xdf, 0xab, 0x14, 0xb6, 0x23, 0x1c, 0x14, 0x07, 0xad, 0xfe, 0x45, 0x03, + 0x05, 0x75, 0xeb, 0x09, 0xb4, 0xb0, 0x67, 0xc9, 0x16, 0xf6, 0x83, 0x2b, 0xc4, 0x6b, 0x4c, 0x03, + 0x33, 0x87, 0x6e, 0xcb, 0xee, 0x75, 0x04, 0xe6, 0x2c, 0x19, 0x34, 0x56, 0xd4, 0x24, 0xf4, 0x9d, + 0x2b, 0x40, 0xab, 0x0e, 0xb9, 0xac, 0x0c, 0xcc, 0x85, 0x67, 0x86, 0x06, 0x50, 0xd5, 0xaf, 0x73, + 0x00, 0xee, 0x34, 0xeb, 0xa9, 0xfe, 0x30, 0x81, 0xb4, 0xa6, 0x60, 0x51, 0x64, 0xce, 0x20, 0x37, + 0x54, 0x7a, 0xff, 0xe4, 0x8a, 0x91, 0xc0, 0x2d, 0xd2, 0x69, 0x92, 0x0e, 0x31, 0xb9, 0xeb, 0x87, + 0x49, 0x76, 0x10, 0x03, 0x43, 0x09, 0x68, 0xb8, 0x0b, 0x56, 0x06, 0xed, 0xae, 0x83, 0x19, 0x13, + 0xc9, 0x5d, 0xcc, 0xc9, 0x64, 0x2e, 0x2a, 0x17, 0x57, 0x9a, 0x29, 0x3e, 0xca, 0x68, 0xc0, 0x37, + 0x60, 0xde, 0x8c, 0x77, 0xd6, 0x4b, 0xd2, 0x46, 0x1f, 0x2c, 0x2c, 0xfa, 0xab, 0x00, 0x3b, 0x9c, + 0xf2, 0xae, 0xb1, 0x28, 0x52, 0x66, 0xd8, 0x82, 0x87, 0x68, 0x90, 0x81, 0x55, 0x1b, 0x9f, 0x53, + 0x3b, 0xb0, 0xc3, 0xe4, 0x6e, 0xd2, 0xdf, 0x10, 0xd9, 0x7f, 0xaf, 0x6f, 0x42, 0xb6, 0xbe, 0x46, + 0x1a, 0x0c, 0x65, 0xf1, 0xab, 0xff, 0xd2, 0xc0, 0xad, 0x6c, 0xe0, 0x27, 0x50, 0x20, 0xcd, 0x64, + 0x81, 0xe8, 0x97, 0x64, 0x71, 0xca, 0xc1, 0x31, 0xb5, 0xf2, 0xc7, 0x59, 0xb0, 0x18, 0x8f, 0xe1, + 0x04, 0x12, 0xf8, 0xa7, 0xa0, 0xe0, 0xf9, 0xee, 0x19, 0x65, 0xd4, 0x75, 0x88, 0xaf, 0xba, 0xe3, + 0x9a, 0x52, 0x29, 0x1c, 0x46, 0x2c, 0x14, 0x97, 0x83, 0x1d, 0x00, 0x3c, 0xec, 0x63, 0x9b, 0x70, + 0x51, 0xc9, 0x39, 0xf9, 0x06, 0x8f, 0xbf, 0xf4, 0x06, 0xf1, 0x6b, 0xe9, 0x87, 0x43, 0xd5, 0x3d, + 0x87, 0xfb, 0xdd, 0xc8, 0xc5, 0x88, 0x81, 0x62, 0xf8, 0xf0, 0x14, 0x2c, 0xf9, 0xc4, 0xec, 0x60, + 0x6a, 0xab, 0xb1, 0x9e, 0x97, 0x6e, 0xee, 0x89, 0xf1, 0x8a, 0xe2, 0x8c, 0x8b, 0x5e, 0xe5, 0x7e, + 0x76, 0x45, 0xd7, 0x0f, 0x89, 0xcf, 0x28, 0xe3, 0xc4, 0xe1, 0x61, 0xea, 0x24, 0x74, 0x50, 0x12, + 0x5b, 0x8c, 0x00, 0x5b, 0x0c, 0xc8, 0x97, 0x1e, 0xa7, 0xae, 0xc3, 0x8a, 0x33, 0xd1, 0x08, 0x68, + 0xc4, 0xe8, 0x28, 0x21, 0x05, 0xf7, 0xc1, 0xba, 0xe8, 0xd6, 0xbf, 0x0e, 0x0d, 0xec, 0x9d, 0x7b, + 0xd8, 0x11, 0x4f, 0x55, 0x9c, 0x95, 0xb3, 0xb8, 0x28, 0xb6, 0xa3, 0xed, 0x11, 0x7c, 0x34, 0x52, + 0x0b, 0xbe, 0x01, 0xab, 0xe1, 0x7a, 0x64, 0x50, 0xc7, 0xa2, 0x4e, 0x5b, 0x2c, 0x47, 0x72, 0x2d, + 0x58, 0x30, 0xee, 0x8a, 0xda, 0x78, 0x9d, 0x66, 0x5e, 0x8c, 0x22, 0xa2, 0x2c, 0x08, 0x7c, 0x0f, + 0x56, 0xa5, 0x45, 0x62, 0xa9, 0xc6, 0x42, 0x09, 0x2b, 0xce, 0x67, 0x77, 0x1b, 0xf1, 0x74, 0x22, + 0x91, 0x06, 0xed, 0x67, 0xd0, 0xa6, 0x8e, 0x88, 0x6f, 0x1b, 0xdf, 0x57, 0xf1, 0x5a, 0xdd, 0x4e, + 0x43, 0xa1, 0x2c, 0x7a, 0xe9, 0x29, 0x58, 0x4e, 0x05, 0x1c, 0xae, 0x80, 0xdc, 0x29, 0xe9, 0x86, + 0xf3, 0x1a, 0x89, 0x9f, 0x70, 0x1d, 0xcc, 0x9c, 0xe1, 0x4e, 0x40, 0xc2, 0x0c, 0x44, 0xe1, 0xe1, + 0xc9, 0xf4, 0x63, 0xad, 0xfa, 0x0f, 0x0d, 0x24, 0x1a, 0xdb, 0x04, 0x8a, 0xbb, 0x91, 0x2c, 0xee, + 0xcd, 0xab, 0x26, 0xf6, 0x98, 0xb2, 0xfe, 0x9d, 0x06, 0x16, 0xe3, 0x5b, 0x20, 0xbc, 0x07, 0xe6, + 0x71, 0x60, 0x51, 0xe2, 0x98, 0x83, 0x9d, 0x65, 0xe8, 0xcd, 0xb6, 0xa2, 0xa3, 0xa1, 0x84, 0xd8, + 0x11, 0xc9, 0xb9, 0x47, 0x7d, 0x2c, 0x32, 0xad, 0x49, 0x4c, 0xd7, 0xb1, 0x98, 0x7c, 0xa6, 0x5c, + 0xd8, 0x28, 0xf7, 0xd2, 0x4c, 0x94, 0x95, 0xaf, 0xfe, 0x79, 0x1a, 0xac, 0x84, 0x09, 0x12, 0x7e, + 0x22, 0xd8, 0xc4, 0xe1, 0x13, 0x68, 0x2f, 0x28, 0xb1, 0xf6, 0xdd, 0xbf, 0x7c, 0x25, 0x8a, 0xbc, + 0x1b, 0xb7, 0xff, 0xc1, 0xb7, 0x60, 0x96, 0x71, 0xcc, 0x03, 0x26, 0xc7, 0x5f, 0x61, 0x6b, 0xeb, + 0x5a, 0xa8, 0x52, 0x33, 0xda, 0xff, 0xc2, 0x33, 0x52, 0x88, 0xd5, 0x7f, 0x6a, 0x60, 0x3d, 0xad, + 0x32, 0x81, 0x84, 0x7b, 0x95, 0x4c, 0xb8, 0x7b, 0xd7, 0xb9, 0xd1, 0x98, 0xa4, 0xfb, 0x8f, 0x06, + 0x6e, 0x65, 0x2e, 0x2f, 0xe7, 0xac, 0xe8, 0x55, 0x5e, 0xaa, 0x23, 0x1e, 0x44, 0xeb, 0xb3, 0xec, + 0x55, 0x87, 0x23, 0xf8, 0x68, 0xa4, 0x16, 0x7c, 0x07, 0x56, 0xa8, 0xd3, 0xa1, 0x0e, 0x51, 0x63, + 0x39, 0x0a, 0xf7, 0xc8, 0x86, 0x92, 0x46, 0x96, 0x61, 0x5e, 0x17, 0xdb, 0x4b, 0x3d, 0x85, 0x82, + 0x32, 0xb8, 0xd5, 0x7f, 0x8f, 0x08, 0x8f, 0x5c, 0x2b, 0x45, 0x45, 0x49, 0x0a, 0xf1, 0x33, 0x15, + 0xa5, 0xe8, 0x68, 0x28, 0x21, 0x33, 0x48, 0x3e, 0x85, 0x72, 0xf4, 0x7a, 0x19, 0x24, 0x35, 0x63, + 0x19, 0x24, 0xcf, 0x48, 0x21, 0x0a, 0x4f, 0xc4, 0xda, 0x16, 0x5b, 0xcf, 0x86, 0x9e, 0x1c, 0x28, + 0x3a, 0x1a, 0x4a, 0x54, 0xbf, 0xc9, 0x8d, 0x88, 0x92, 0x4c, 0xc5, 0xd8, 0x95, 0x06, 0x5f, 0xf8, + 0xe9, 0x2b, 0x59, 0xc3, 0x2b, 0x59, 0xf0, 0x4f, 0x1a, 0x80, 0x78, 0x08, 0xd1, 0x18, 0xa4, 0x6a, + 0x98, 0x4f, 0xcf, 0xaf, 0x5f, 0x21, 0xfa, 0x76, 0x06, 0x2c, 0x9c, 0xd5, 0x25, 0xe5, 0x04, 0xcc, + 0x0a, 0xa0, 0x11, 0x1e, 0x40, 0x0a, 0x0a, 0x21, 0x75, 0xcf, 0xf7, 0x5d, 0x5f, 0x95, 0xec, 0xed, + 0xcb, 0x1d, 0x92, 0xe2, 0x46, 0x59, 0x7e, 0x13, 0x45, 0xfa, 0x17, 0xbd, 0x4a, 0x21, 0xc6, 0x47, + 0x71, 0x6c, 0x61, 0xca, 0x22, 0x91, 0xa9, 0xfc, 0x77, 0x30, 0xb5, 0x4b, 0xc6, 0x9b, 0x8a, 0x61, + 0x97, 0xf6, 0xc0, 0xf7, 0xc6, 0x3c, 0xd0, 0xb5, 0x66, 0xdb, 0xef, 0x35, 0x10, 0xb7, 0x01, 0xf7, + 0x41, 0x9e, 0x53, 0x55, 0x89, 0x85, 0xad, 0xbb, 0x57, 0xeb, 0x30, 0x47, 0xd4, 0x26, 0x51, 0xa3, + 0x14, 0x27, 0x24, 0x51, 0xe0, 0x1d, 0x30, 0x67, 0x13, 0xc6, 0x70, 0x5b, 0x59, 0x8e, 0x3e, 0xa0, + 0x1a, 0x21, 0x19, 0x0d, 0xf8, 0xd5, 0x47, 0x60, 0x6d, 0xc4, 0x27, 0x29, 0xac, 0x80, 0x19, 0x53, + 0xfe, 0xa5, 0x20, 0x1c, 0x9a, 0x31, 0x16, 0x44, 0x97, 0xd9, 0x91, 0xff, 0x25, 0x84, 0x74, 0xe3, + 0x67, 0x1f, 0x3e, 0x97, 0xa7, 0x3e, 0x7e, 0x2e, 0x4f, 0x7d, 0xfa, 0x5c, 0x9e, 0xfa, 0x6d, 0xbf, + 0xac, 0x7d, 0xe8, 0x97, 0xb5, 0x8f, 0xfd, 0xb2, 0xf6, 0xa9, 0x5f, 0xd6, 0xfe, 0xd7, 0x2f, 0x6b, + 0x7f, 0xf8, 0x7f, 0x79, 0xea, 0x6d, 0x69, 0xfc, 0xbf, 0xb5, 0xdf, 0x06, 0x00, 0x00, 0xff, 0xff, + 0xee, 0x44, 0x0b, 0xed, 0xe3, 0x15, 0x00, 0x00, } func (m *CSIDriver) Marshal() (dAtA []byte, err error) { @@ -826,6 +827,16 @@ func (m *CSIDriverSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.SELinuxMount != nil { + i-- + if *m.SELinuxMount { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x40 + } if m.RequiresRepublish != nil { i-- if *m.RequiresRepublish { @@ -1795,6 +1806,9 @@ func (m *CSIDriverSpec) Size() (n int) { if m.RequiresRepublish != nil { n += 2 } + if m.SELinuxMount != nil { + n += 2 + } return n } @@ -2148,6 +2162,7 @@ func (this *CSIDriverSpec) String() string { `FSGroupPolicy:` + valueToStringGenerated(this.FSGroupPolicy) + `,`, `TokenRequests:` + repeatedStringForTokenRequests + `,`, `RequiresRepublish:` + valueToStringGenerated(this.RequiresRepublish) + `,`, + `SELinuxMount:` + valueToStringGenerated(this.SELinuxMount) + `,`, `}`, }, "") return s @@ -2844,6 +2859,27 @@ func (m *CSIDriverSpec) Unmarshal(dAtA []byte) error { } b := bool(v != 0) m.RequiresRepublish = &b + case 8: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SELinuxMount", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + b := bool(v != 0) + m.SELinuxMount = &b default: iNdEx = preIndex skippy, err := skipGenerated(dAtA[iNdEx:]) diff --git a/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/generated.proto b/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/generated.proto index 943900fa6902..bedbd3183890 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/generated.proto @@ -192,6 +192,27 @@ message CSIDriverSpec { // // +optional optional bool requiresRepublish = 7; + + // SELinuxMount specifies if the CSI driver supports "-o context" + // mount option. + // + // When "true", the CSI driver must ensure that all volumes provided by this CSI + // driver can be mounted separately with different `-o context` options. This is + // typical for storage backends that provide volumes as filesystems on block + // devices or as independent shared volumes. + // Kubernetes will call NodeStage / NodePublish with "-o context=xyz" mount + // option when mounting a ReadWriteOncePod volume used in Pod that has + // explicitly set SELinux context. In the future, it may be expanded to other + // volume AccessModes. In any case, Kubernetes will ensure that the volume is + // mounted only with a single SELinux context. + // + // When "false", Kubernetes won't pass any special SELinux mount options to the driver. + // This is typical for volumes that represent subdirectories of a bigger shared filesystem. + // + // Default is "false". + // + // +optional + optional bool seLinuxMount = 8; } // DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. diff --git a/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/types.go b/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/types.go index b39414b96059..f4d09b641a90 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/types.go @@ -410,6 +410,27 @@ type CSIDriverSpec struct { // // +optional RequiresRepublish *bool `json:"requiresRepublish,omitempty" protobuf:"varint,7,opt,name=requiresRepublish"` + + // SELinuxMount specifies if the CSI driver supports "-o context" + // mount option. + // + // When "true", the CSI driver must ensure that all volumes provided by this CSI + // driver can be mounted separately with different `-o context` options. This is + // typical for storage backends that provide volumes as filesystems on block + // devices or as independent shared volumes. + // Kubernetes will call NodeStage / NodePublish with "-o context=xyz" mount + // option when mounting a ReadWriteOncePod volume used in Pod that has + // explicitly set SELinux context. In the future, it may be expanded to other + // volume AccessModes. In any case, Kubernetes will ensure that the volume is + // mounted only with a single SELinux context. + // + // When "false", Kubernetes won't pass any special SELinux mount options to the driver. + // This is typical for volumes that represent subdirectories of a bigger shared filesystem. + // + // Default is "false". + // + // +optional + SELinuxMount *bool `json:"seLinuxMount,omitempty" protobuf:"varint,8,opt,name=seLinuxMount"` } // FSGroupPolicy specifies if a CSI Driver supports modifying diff --git a/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/types_swagger_doc_generated.go b/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/types_swagger_doc_generated.go index d810b4e4c8bb..ea3c1e4c282c 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/types_swagger_doc_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/types_swagger_doc_generated.go @@ -56,6 +56,7 @@ var map_CSIDriverSpec = map[string]string{ "fsGroupPolicy": "Defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.\n\nThis field is immutable.\n\nDefaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.", "tokenRequests": "TokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"\": {\n \"token\": ,\n \"expirationTimestamp\": ,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.", "requiresRepublish": "RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.", + "seLinuxMount": "SELinuxMount specifies if the CSI driver supports \"-o context\" mount option.\n\nWhen \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.\n\nWhen \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.\n\nDefault is \"false\".", } func (CSIDriverSpec) SwaggerDoc() map[string]string { diff --git a/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/zz_generated.deepcopy.go b/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/zz_generated.deepcopy.go index 5411ed8c00ee..f0450182b279 100644 --- a/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/zz_generated.deepcopy.go +++ b/cluster-autoscaler/vendor/k8s.io/api/storage/v1beta1/zz_generated.deepcopy.go @@ -127,6 +127,11 @@ func (in *CSIDriverSpec) DeepCopyInto(out *CSIDriverSpec) { *out = new(bool) **out = **in } + if in.SELinuxMount != nil { + in, out := &in.SELinuxMount, &out.SELinuxMount + *out = new(bool) + **out = **in + } return } diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/errors/errors.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/errors/errors.go index fab187a6a092..57e0e71f672b 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/errors/errors.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/errors/errors.go @@ -87,21 +87,21 @@ func (e *StatusError) DebugError() (string, []interface{}) { // HasStatusCause returns true if the provided error has a details cause // with the provided type name. +// It supports wrapped errors and returns false when the error is nil. func HasStatusCause(err error, name metav1.CauseType) bool { _, ok := StatusCause(err, name) return ok } // StatusCause returns the named cause from the provided error if it exists and -// the error is of the type APIStatus. Otherwise it returns false. +// the error unwraps to the type APIStatus. Otherwise it returns false. func StatusCause(err error, name metav1.CauseType) (metav1.StatusCause, bool) { - apierr, ok := err.(APIStatus) - if !ok || apierr == nil || apierr.Status().Details == nil { - return metav1.StatusCause{}, false - } - for _, cause := range apierr.Status().Details.Causes { - if cause.Type == name { - return cause, true + status, ok := err.(APIStatus) + if (ok || errors.As(err, &status)) && status.Status().Details != nil { + for _, cause := range status.Status().Details.Causes { + if cause.Type == name { + return cause, true + } } } return metav1.StatusCause{}, false @@ -757,7 +757,8 @@ func IsRequestEntityTooLargeError(err error) bool { // and may be the result of another HTTP actor. // It supports wrapped errors and returns false when the error is nil. func IsUnexpectedServerError(err error) bool { - if status := APIStatus(nil); errors.As(err, &status) && status.Status().Details != nil { + status, ok := err.(APIStatus) + if (ok || errors.As(err, &status)) && status.Status().Details != nil { for _, cause := range status.Status().Details.Causes { if cause.Type == metav1.CauseTypeUnexpectedServerResponse { return true @@ -770,8 +771,8 @@ func IsUnexpectedServerError(err error) bool { // IsUnexpectedObjectError determines if err is due to an unexpected object from the master. // It supports wrapped errors and returns false when the error is nil. func IsUnexpectedObjectError(err error) bool { - uoe := &UnexpectedObjectError{} - return err != nil && errors.As(err, &uoe) + uoe, ok := err.(*UnexpectedObjectError) + return err != nil && (ok || errors.As(err, &uoe)) } // SuggestsClientDelay returns true if this error suggests a client delay as well as the @@ -780,7 +781,8 @@ func IsUnexpectedObjectError(err error) bool { // request delay without retry. // It supports wrapped errors and returns false when the error is nil. func SuggestsClientDelay(err error) (int, bool) { - if t := APIStatus(nil); errors.As(err, &t) && t.Status().Details != nil { + t, ok := err.(APIStatus) + if (ok || errors.As(err, &t)) && t.Status().Details != nil { switch t.Status().Reason { // this StatusReason explicitly requests the caller to delay the action case metav1.StatusReasonServerTimeout: @@ -798,14 +800,14 @@ func SuggestsClientDelay(err error) (int, bool) { // It supports wrapped errors and returns StatusReasonUnknown when // the error is nil or doesn't have a status. func ReasonForError(err error) metav1.StatusReason { - if status := APIStatus(nil); errors.As(err, &status) { + if status, ok := err.(APIStatus); ok || errors.As(err, &status) { return status.Status().Reason } return metav1.StatusReasonUnknown } func reasonAndCodeForError(err error) (metav1.StatusReason, int32) { - if status := APIStatus(nil); errors.As(err, &status) { + if status, ok := err.(APIStatus); ok || errors.As(err, &status) { return status.Status().Reason, status.Status().Code } return metav1.StatusReasonUnknown, 0 diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/meta/conditions.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/meta/conditions.go index 00874f89cc68..60c8209de02f 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/meta/conditions.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/meta/conditions.go @@ -24,9 +24,9 @@ import ( // SetStatusCondition sets the corresponding condition in conditions to newCondition. // conditions must be non-nil. -// 1. if the condition of the specified type already exists (all fields of the existing condition are updated to -// newCondition, LastTransitionTime is set to now if the new status differs from the old status) -// 2. if a condition of the specified type does not exist (LastTransitionTime is set to now() if unset, and newCondition is appended) +// 1. if the condition of the specified type already exists (all fields of the existing condition are updated to +// newCondition, LastTransitionTime is set to now if the new status differs from the old status) +// 2. if a condition of the specified type does not exist (LastTransitionTime is set to now() if unset, and newCondition is appended) func SetStatusCondition(conditions *[]metav1.Condition, newCondition metav1.Condition) { if conditions == nil { return diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/meta/help.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/meta/help.go index dcee8f5e9481..899d3e8a6670 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/meta/help.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/meta/help.go @@ -40,7 +40,8 @@ var ( // IsListType returns true if the provided Object has a slice called Items. // TODO: Replace the code in this check with an interface comparison by -// creating and enforcing that lists implement a list accessor. +// +// creating and enforcing that lists implement a list accessor. func IsListType(obj runtime.Object) bool { switch t := obj.(type) { case runtime.Unstructured: diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/resource/generated.proto b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/resource/generated.proto index aa9d7d95e764..ddd0db8fbd1b 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/resource/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/resource/generated.proto @@ -32,7 +32,9 @@ option go_package = "k8s.io/apimachinery/pkg/api/resource"; // // ``` // ::= -// (Note that may be empty, from the "" case in .) +// +// (Note that may be empty, from the "" case in .) +// // ::= 0 | 1 | ... | 9 // ::= | // ::= | . | . | . @@ -40,9 +42,13 @@ option go_package = "k8s.io/apimachinery/pkg/api/resource"; // ::= | // ::= | | // ::= Ki | Mi | Gi | Ti | Pi | Ei -// (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) +// +// (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) +// // ::= m | "" | k | M | G | T | P | E -// (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) +// +// (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) +// // ::= "e" | "E" // ``` // diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go index 158b6a6429d1..b47d554b3c57 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go @@ -36,7 +36,9 @@ import ( // // ``` // ::= -// (Note that may be empty, from the "" case in .) +// +// (Note that may be empty, from the "" case in .) +// // ::= 0 | 1 | ... | 9 // ::= | // ::= | . | . | . @@ -44,9 +46,13 @@ import ( // ::= | // ::= | | // ::= Ki | Mi | Gi | Ti | Pi | Ei -// (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) +// +// (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) +// // ::= m | "" | k | M | G | T | P | E -// (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) +// +// (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) +// // ::= "e" | "E" // ``` // @@ -409,10 +415,10 @@ func (Quantity) OpenAPIV3OneOfTypes() []string { return []string{"string", "numb // CanonicalizeBytes returns the canonical form of q and its suffix (see comment on Quantity). // // Note about BinarySI: -// * If q.Format is set to BinarySI and q.Amount represents a non-zero value between -// -1 and +1, it will be emitted as if q.Format were DecimalSI. -// * Otherwise, if q.Format is set to BinarySI, fractional parts of q.Amount will be -// rounded up. (1.1i becomes 2i.) +// - If q.Format is set to BinarySI and q.Amount represents a non-zero value between +// -1 and +1, it will be emitted as if q.Format were DecimalSI. +// - Otherwise, if q.Format is set to BinarySI, fractional parts of q.Amount will be +// rounded up. (1.1i becomes 2i.) func (q *Quantity) CanonicalizeBytes(out []byte) (result, suffix []byte) { if q.IsZero() { return zeroBytes, nil @@ -648,7 +654,7 @@ func (q Quantity) MarshalJSON() ([]byte, error) { copy(out[1:], q.s) return out, nil } - result := make([]byte, int64QuantityExpectedBytes, int64QuantityExpectedBytes) + result := make([]byte, int64QuantityExpectedBytes) result[0] = '"' number, suffix := q.CanonicalizeBytes(result[1:1]) // if the same slice was returned to us that we passed in, avoid another allocation by copying number into diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/resource/suffix.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/resource/suffix.go index 5ed7abe66510..6ec527f9c001 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/resource/suffix.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/api/resource/suffix.go @@ -165,7 +165,7 @@ func (sh *suffixHandler) constructBytes(base, exponent int32, format Format) (s if exponent == 0 { return nil, true } - result := make([]byte, 8, 8) + result := make([]byte, 8) result[0] = 'e' number := strconv.AppendInt(result[1:1], int64(exponent), 10) if &result[1] == &number[0] { diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto index b1d314fb9588..2be188a6a8e4 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto @@ -162,17 +162,18 @@ message ApplyOptions { // Condition contains details for one aspect of the current state of this API Resource. // --- // This struct is intended for direct use as an array at the field path .status.conditions. For example, -// type FooStatus struct{ -// // Represents the observations of a foo's current state. -// // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" -// // +patchMergeKey=type -// // +patchStrategy=merge -// // +listType=map -// // +listMapKey=type -// Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // -// // other fields -// } +// type FooStatus struct{ +// // Represents the observations of a foo's current state. +// // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" +// // +patchMergeKey=type +// // +patchStrategy=merge +// // +listType=map +// // +listMapKey=type +// Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` +// +// // other fields +// } message Condition { // type of condition in CamelCase or in foo.example.com/CamelCase. // --- diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/types.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/types.go index 5b1ba1a883bb..152f99296ca2 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/types.go @@ -17,10 +17,11 @@ limitations under the License. // Package v1 contains API types that are common to all versions. // // The package contains two categories of types: -// - external (serialized) types that lack their own version (e.g TypeMeta) -// - internal (never-serialized) types that are needed by several different -// api groups, and so live here, to avoid duplication and/or import loops -// (e.g. LabelSelector). +// - external (serialized) types that lack their own version (e.g TypeMeta) +// - internal (never-serialized) types that are needed by several different +// api groups, and so live here, to avoid duplication and/or import loops +// (e.g. LabelSelector). +// // In the future, we will probably move these categories of objects into // separate packages. package v1 @@ -1448,17 +1449,18 @@ type PartialObjectMetadataList struct { // Condition contains details for one aspect of the current state of this API Resource. // --- // This struct is intended for direct use as an array at the field path .status.conditions. For example, -// type FooStatus struct{ -// // Represents the observations of a foo's current state. -// // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" -// // +patchMergeKey=type -// // +patchStrategy=merge -// // +listType=map -// // +listMapKey=type -// Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` // -// // other fields -// } +// type FooStatus struct{ +// // Represents the observations of a foo's current state. +// // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" +// // +patchMergeKey=type +// // +patchStrategy=merge +// // +listType=map +// // +listMapKey=type +// Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"` +// +// // other fields +// } type Condition struct { // type of condition in CamelCase or in foo.example.com/CamelCase. // --- diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/conversion/deep_equal.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/conversion/deep_equal.go index f21abe1e53a0..25b2923f223f 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/conversion/deep_equal.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/conversion/deep_equal.go @@ -34,3 +34,14 @@ func EqualitiesOrDie(funcs ...interface{}) Equalities { } return e } + +// Performs a shallow copy of the equalities map +func (e Equalities) Copy() Equalities { + result := Equalities{reflect.Equalities{}} + + for key, value := range e.Equalities { + result.Equalities[key] = value + } + + return result +} diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/labels/selector.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/labels/selector.go index 2434429b9f86..6d6f562ad135 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/labels/selector.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/labels/selector.go @@ -149,7 +149,8 @@ type Requirement struct { // (4) If the operator is Exists or DoesNotExist, the value set must be empty. // (5) If the operator is Gt or Lt, the values set must contain only one value, which will be interpreted as an integer. // (6) The key is invalid due to its length, or sequence -// of characters. See validateLabelKey for more details. +// +// of characters. See validateLabelKey for more details. // // The empty string is a valid value in the input values set. // Returned error, if not nil, is guaranteed to be an aggregated field.ErrorList @@ -208,13 +209,20 @@ func (r *Requirement) hasValue(value string) bool { // There is a match in the following cases: // (1) The operator is Exists and Labels has the Requirement's key. // (2) The operator is In, Labels has the Requirement's key and Labels' -// value for that key is in Requirement's value set. +// +// value for that key is in Requirement's value set. +// // (3) The operator is NotIn, Labels has the Requirement's key and -// Labels' value for that key is not in Requirement's value set. +// +// Labels' value for that key is not in Requirement's value set. +// // (4) The operator is DoesNotExist or NotIn and Labels does not have the -// Requirement's key. +// +// Requirement's key. +// // (5) The operator is GreaterThanOperator or LessThanOperator, and Labels has -// the Requirement's key and the corresponding value satisfies mathematical inequality. +// +// the Requirement's key and the corresponding value satisfies mathematical inequality. func (r *Requirement) Matches(ls Labels) bool { switch r.operator { case selection.In, selection.Equals, selection.DoubleEquals: @@ -840,32 +848,33 @@ func (p *Parser) parseExactValue() (sets.String, error) { // as they parse different selectors with different syntaxes. // The input will cause an error if it does not follow this form: // -// ::= | "," -// ::= [!] KEY [ | ] -// ::= "" | -// ::= | -// ::= "notin" -// ::= "in" -// ::= "(" ")" -// ::= VALUE | VALUE "," -// ::= ["="|"=="|"!="] VALUE +// ::= | "," +// ::= [!] KEY [ | ] +// ::= "" | +// ::= | +// ::= "notin" +// ::= "in" +// ::= "(" ")" +// ::= VALUE | VALUE "," +// ::= ["="|"=="|"!="] VALUE // // KEY is a sequence of one or more characters following [ DNS_SUBDOMAIN "/" ] DNS_LABEL. Max length is 63 characters. // VALUE is a sequence of zero or more characters "([A-Za-z0-9_-\.])". Max length is 63 characters. // Delimiter is white space: (' ', '\t') // Example of valid syntax: -// "x in (foo,,baz),y,z notin ()" +// +// "x in (foo,,baz),y,z notin ()" // // Note: -// (1) Inclusion - " in " - denotes that the KEY exists and is equal to any of the -// VALUEs in its requirement -// (2) Exclusion - " notin " - denotes that the KEY is not equal to any -// of the VALUEs in its requirement or does not exist -// (3) The empty string is a valid VALUE -// (4) A requirement with just a KEY - as in "y" above - denotes that -// the KEY exists and can be any VALUE. -// (5) A requirement with just !KEY requires that the KEY not exist. // +// (1) Inclusion - " in " - denotes that the KEY exists and is equal to any of the +// VALUEs in its requirement +// (2) Exclusion - " notin " - denotes that the KEY is not equal to any +// of the VALUEs in its requirement or does not exist +// (3) The empty string is a valid VALUE +// (4) A requirement with just a KEY - as in "y" above - denotes that +// the KEY exists and can be any VALUE. +// (5) A requirement with just !KEY requires that the KEY not exist. func Parse(selector string, opts ...field.PathOption) (Selector, error) { parsedSelector, err := parse(selector, field.ToPath(opts...)) if err == nil { diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/allocator.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/allocator.go index 0d00d8c3a3b1..8bf22ae8acdc 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/allocator.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/allocator.go @@ -24,12 +24,14 @@ import ( // by caching created but unused items for later reuse, relieving pressure on the garbage collector. // // Usage: -// memoryAllocator := runtime.AllocatorPool.Get().(*runtime.Allocator) -// defer runtime.AllocatorPool.Put(memoryAllocator) +// +// memoryAllocator := runtime.AllocatorPool.Get().(*runtime.Allocator) +// defer runtime.AllocatorPool.Put(memoryAllocator) // // A note for future: -// consider introducing multiple pools for storing buffers of different sizes -// perhaps this could allow us to be more efficient. +// +// consider introducing multiple pools for storing buffers of different sizes +// perhaps this could allow us to be more efficient. var AllocatorPool = sync.Pool{ New: func() interface{} { return &Allocator{} @@ -58,7 +60,7 @@ func (a *Allocator) Allocate(n uint64) []byte { } // grow the buffer size := uint64(2*cap(a.buf)) + n - a.buf = make([]byte, size, size) + a.buf = make([]byte, size) a.buf = a.buf[:n] return a.buf } @@ -70,5 +72,5 @@ type SimpleAllocator struct{} var _ MemoryAllocator = &SimpleAllocator{} func (sa *SimpleAllocator) Allocate(n uint64) []byte { - return make([]byte, n, n) + return make([]byte, n) } diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/codec.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/codec.go index a92863139ede..7fc513dd0e7f 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/codec.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/codec.go @@ -344,14 +344,15 @@ func NewMultiGroupVersioner(gv schema.GroupVersion, groupKinds ...schema.GroupKi // Incoming kinds that match the provided groupKinds are preferred. // Kind may be empty in the provided group kind, in which case any kind will match. // Examples: -// gv=mygroup/__internal, groupKinds=mygroup/Foo, anothergroup/Bar -// KindForGroupVersionKinds(yetanother/v1/Baz, anothergroup/v1/Bar) -> mygroup/__internal/Bar (matched preferred group/kind) // -// gv=mygroup/__internal, groupKinds=mygroup, anothergroup -// KindForGroupVersionKinds(yetanother/v1/Baz, anothergroup/v1/Bar) -> mygroup/__internal/Bar (matched preferred group) +// gv=mygroup/__internal, groupKinds=mygroup/Foo, anothergroup/Bar +// KindForGroupVersionKinds(yetanother/v1/Baz, anothergroup/v1/Bar) -> mygroup/__internal/Bar (matched preferred group/kind) // -// gv=mygroup/__internal, groupKinds=mygroup, anothergroup -// KindForGroupVersionKinds(yetanother/v1/Baz, yetanother/v1/Bar) -> mygroup/__internal/Baz (no preferred group/kind match, uses first kind in list) +// gv=mygroup/__internal, groupKinds=mygroup, anothergroup +// KindForGroupVersionKinds(yetanother/v1/Baz, anothergroup/v1/Bar) -> mygroup/__internal/Bar (matched preferred group) +// +// gv=mygroup/__internal, groupKinds=mygroup, anothergroup +// KindForGroupVersionKinds(yetanother/v1/Baz, yetanother/v1/Bar) -> mygroup/__internal/Baz (no preferred group/kind match, uses first kind in list) func NewCoercingMultiGroupVersioner(gv schema.GroupVersion, groupKinds ...schema.GroupKind) GroupVersioner { return multiGroupVersioner{target: gv, acceptedGroupKinds: groupKinds, coerce: true} } diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/codec_check.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/codec_check.go index 00022806171f..e884007766be 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/codec_check.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/codec_check.go @@ -30,7 +30,7 @@ import ( // TODO: verify that the correct external version is chosen on encode... func CheckCodec(c Codec, internalType Object, externalTypes ...schema.GroupVersionKind) error { if _, err := Encode(c, internalType); err != nil { - return fmt.Errorf("Internal type not encodable: %v", err) + return fmt.Errorf("internal type not encodable: %v", err) } for _, et := range externalTypes { typeMeta := TypeMeta{ diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/generated.proto b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/generated.proto index de634e2c64e4..5f06cc5743de 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/generated.proto +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/generated.proto @@ -31,32 +31,37 @@ option go_package = "k8s.io/apimachinery/pkg/runtime"; // various plugin types. // // // Internal package: -// type MyAPIObject struct { -// runtime.TypeMeta `json:",inline"` -// MyPlugin runtime.Object `json:"myPlugin"` -// } -// type PluginA struct { -// AOption string `json:"aOption"` -// } +// +// type MyAPIObject struct { +// runtime.TypeMeta `json:",inline"` +// MyPlugin runtime.Object `json:"myPlugin"` +// } +// +// type PluginA struct { +// AOption string `json:"aOption"` +// } // // // External package: -// type MyAPIObject struct { -// runtime.TypeMeta `json:",inline"` -// MyPlugin runtime.RawExtension `json:"myPlugin"` -// } -// type PluginA struct { -// AOption string `json:"aOption"` -// } +// +// type MyAPIObject struct { +// runtime.TypeMeta `json:",inline"` +// MyPlugin runtime.RawExtension `json:"myPlugin"` +// } +// +// type PluginA struct { +// AOption string `json:"aOption"` +// } // // // On the wire, the JSON will look something like this: -// { -// "kind":"MyAPIObject", -// "apiVersion":"v1", -// "myPlugin": { -// "kind":"PluginA", -// "aOption":"foo", -// }, -// } +// +// { +// "kind":"MyAPIObject", +// "apiVersion":"v1", +// "myPlugin": { +// "kind":"PluginA", +// "aOption":"foo", +// }, +// } // // So what happens? Decode first uses json or yaml to unmarshal the serialized data into // your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. @@ -78,10 +83,12 @@ message RawExtension { // TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, // like this: -// type MyAwesomeAPIObject struct { -// runtime.TypeMeta `json:",inline"` -// ... // other fields -// } +// +// type MyAwesomeAPIObject struct { +// runtime.TypeMeta `json:",inline"` +// ... // other fields +// } +// // func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind // // TypeMeta is provided here for convenience. You may use it directly from this package or define diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/schema/group_version.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/schema/group_version.go index 994a3e3fa815..b21eb664e3fe 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/schema/group_version.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/schema/group_version.go @@ -191,7 +191,8 @@ func (gv GroupVersion) Identifier() string { // if none of the options match the group. It prefers a match to group and version over just group. // TODO: Move GroupVersion to a package under pkg/runtime, since it's used by scheme. // TODO: Introduce an adapter type between GroupVersion and runtime.GroupVersioner, and use LegacyCodec(GroupVersion) -// in fewer places. +// +// in fewer places. func (gv GroupVersion) KindForGroupVersionKinds(kinds []GroupVersionKind) (target GroupVersionKind, ok bool) { for _, gvk := range kinds { if gvk.Group == gv.Group && gvk.Version == gv.Version { @@ -239,7 +240,8 @@ func (gv GroupVersion) WithResource(resource string) GroupVersionResource { // GroupVersions can be used to represent a set of desired group versions. // TODO: Move GroupVersions to a package under pkg/runtime, since it's used by scheme. // TODO: Introduce an adapter type between GroupVersions and runtime.GroupVersioner, and use LegacyCodec(GroupVersion) -// in fewer places. +// +// in fewer places. type GroupVersions []GroupVersion // Identifier implements runtime.GroupVersioner interface. diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/scheme.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/scheme.go index ff3a3fe0a8fe..18b25a994b8c 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/scheme.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/scheme.go @@ -118,7 +118,8 @@ func (s *Scheme) Converter() *conversion.Converter { // API group and version that would never be updated. // // TODO: there is discussion about removing unversioned and replacing it with objects that are manifest into -// every version with particular schemas. Resolve this method at that point. +// +// every version with particular schemas. Resolve this method at that point. func (s *Scheme) AddUnversionedTypes(version schema.GroupVersion, types ...Object) { s.addObservedVersion(version) s.AddKnownTypes(version, types...) diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go index 9de35e791c00..21944f2d8fda 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go @@ -259,7 +259,8 @@ func (f CodecFactory) SupportedMediaTypes() []runtime.SerializerInfo { // invoke CodecForVersions. Callers that need only to read data should use UniversalDecoder(). // // TODO: make this call exist only in pkg/api, and initialize it with the set of default versions. -// All other callers will be forced to request a Codec directly. +// +// All other callers will be forced to request a Codec directly. func (f CodecFactory) LegacyCodec(version ...schema.GroupVersion) runtime.Codec { return versioning.NewDefaultingCodecForScheme(f.scheme, f.legacySerializer, f.universal, schema.GroupVersions(version), runtime.InternalGroupVersioner) } diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/types.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/types.go index 31359f35f451..3dc9a5a2f2aa 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/types.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/runtime/types.go @@ -21,10 +21,12 @@ package runtime // TypeMeta is shared by all top level objects. The proper way to use it is to inline it in your type, // like this: -// type MyAwesomeAPIObject struct { -// runtime.TypeMeta `json:",inline"` -// ... // other fields -// } +// +// type MyAwesomeAPIObject struct { +// runtime.TypeMeta `json:",inline"` +// ... // other fields +// } +// // func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind // // TypeMeta is provided here for convenience. You may use it directly from this package or define @@ -53,32 +55,37 @@ const ( // various plugin types. // // // Internal package: -// type MyAPIObject struct { -// runtime.TypeMeta `json:",inline"` -// MyPlugin runtime.Object `json:"myPlugin"` -// } -// type PluginA struct { -// AOption string `json:"aOption"` -// } +// +// type MyAPIObject struct { +// runtime.TypeMeta `json:",inline"` +// MyPlugin runtime.Object `json:"myPlugin"` +// } +// +// type PluginA struct { +// AOption string `json:"aOption"` +// } // // // External package: -// type MyAPIObject struct { -// runtime.TypeMeta `json:",inline"` -// MyPlugin runtime.RawExtension `json:"myPlugin"` -// } -// type PluginA struct { -// AOption string `json:"aOption"` -// } +// +// type MyAPIObject struct { +// runtime.TypeMeta `json:",inline"` +// MyPlugin runtime.RawExtension `json:"myPlugin"` +// } +// +// type PluginA struct { +// AOption string `json:"aOption"` +// } // // // On the wire, the JSON will look something like this: -// { -// "kind":"MyAPIObject", -// "apiVersion":"v1", -// "myPlugin": { -// "kind":"PluginA", -// "aOption":"foo", -// }, -// } +// +// { +// "kind":"MyAPIObject", +// "apiVersion":"v1", +// "myPlugin": { +// "kind":"PluginA", +// "aOption":"foo", +// }, +// } // // So what happens? Decode first uses json or yaml to unmarshal the serialized data into // your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/types/nodename.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/types/nodename.go index fee348d7e76f..cff9ca671764 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/types/nodename.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/types/nodename.go @@ -23,21 +23,21 @@ package types // // To clarify the various types: // -// * Node.Name is the Name field of the Node in the API. This should be stored in a NodeName. -// Unfortunately, because Name is part of ObjectMeta, we can't store it as a NodeName at the API level. +// - Node.Name is the Name field of the Node in the API. This should be stored in a NodeName. +// Unfortunately, because Name is part of ObjectMeta, we can't store it as a NodeName at the API level. // -// * Hostname is the hostname of the local machine (from uname -n). -// However, some components allow the user to pass in a --hostname-override flag, -// which will override this in most places. In the absence of anything more meaningful, -// kubelet will use Hostname as the Node.Name when it creates the Node. +// - Hostname is the hostname of the local machine (from uname -n). +// However, some components allow the user to pass in a --hostname-override flag, +// which will override this in most places. In the absence of anything more meaningful, +// kubelet will use Hostname as the Node.Name when it creates the Node. // // * The cloudproviders have the own names: GCE has InstanceName, AWS has InstanceId. // -// For GCE, InstanceName is the Name of an Instance object in the GCE API. On GCE, Instance.Name becomes the -// Hostname, and thus it makes sense also to use it as the Node.Name. But that is GCE specific, and it is up -// to the cloudprovider how to do this mapping. +// For GCE, InstanceName is the Name of an Instance object in the GCE API. On GCE, Instance.Name becomes the +// Hostname, and thus it makes sense also to use it as the Node.Name. But that is GCE specific, and it is up +// to the cloudprovider how to do this mapping. // -// For AWS, the InstanceID is not yet suitable for use as a Node.Name, so we actually use the -// PrivateDnsName for the Node.Name. And this is _not_ always the same as the hostname: if -// we are using a custom DHCP domain it won't be. +// For AWS, the InstanceID is not yet suitable for use as a Node.Name, so we actually use the +// PrivateDnsName for the Node.Name. And this is _not_ always the same as the hostname: if +// we are using a custom DHCP domain it won't be. type NodeName string diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/framer/framer.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/framer/framer.go index 10df0d99cd58..ca08f8561de8 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/framer/framer.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/framer/framer.go @@ -56,10 +56,10 @@ type lengthDelimitedFrameReader struct { // // The protocol is: // -// stream: message ... -// message: prefix body -// prefix: 4 byte uint32 in BigEndian order, denotes length of body -// body: bytes (0..prefix) +// stream: message ... +// message: prefix body +// prefix: 4 byte uint32 in BigEndian order, denotes length of body +// body: bytes (0..prefix) // // If the buffer passed to Read is not long enough to contain an entire frame, io.ErrShortRead // will be returned along with the number of bytes read. diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/upgrade.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/upgrade.go index f17eb09e960b..d30ae2fa3dc6 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/upgrade.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy/upgrade.go @@ -94,7 +94,7 @@ func (u responseUpgrader) UpgradeResponse(w http.ResponseWriter, req *http.Reque hijacker, ok := w.(http.Hijacker) if !ok { - errorMsg := fmt.Sprintf("unable to upgrade: unable to hijack response") + errorMsg := "unable to upgrade: unable to hijack response" http.Error(w, errorMsg, http.StatusInternalServerError) return nil } diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/intstr/intstr.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/intstr/intstr.go index c27380c19c60..5e8009704535 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/intstr/intstr.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/intstr/intstr.go @@ -145,7 +145,7 @@ func ValueOrDefault(intOrPercent *IntOrString, defaultValue IntOrString) *IntOrS // GetScaledValueFromIntOrPercent is meant to replace GetValueFromIntOrPercent. // This method returns a scaled value from an IntOrString type. If the IntOrString // is a percentage string value it's treated as a percentage and scaled appropriately -// in accordance to the total, if it's an int value it's treated as a a simple value and +// in accordance to the total, if it's an int value it's treated as a simple value and // if it is a string value which is either non-numeric or numeric but lacking a trailing '%' it returns an error. func GetScaledValueFromIntOrPercent(intOrPercent *IntOrString, total int, roundUp bool) (int, error) { if intOrPercent == nil { diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/managedfields/extract.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/managedfields/extract.go index 792badbc3d5f..d2ce66c1bdab 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/managedfields/extract.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/managedfields/extract.go @@ -45,7 +45,7 @@ import ( // and their field paths and types are exactly the same, then ExtractInto can be // called with the root resource as the object and the subresource as the // applyConfiguration. This works for "status", obviously, because status is -// represented by the exact same object as the root resource. This this does NOT +// represented by the exact same object as the root resource. This does NOT // work, for example, with the "scale" subresources of Deployment, ReplicaSet and // StatefulSet. While the spec.replicas, status.replicas fields are in the same // exact field path locations as they are in autoscaling.Scale, the selector diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/mergepatch/util.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/mergepatch/util.go index 990fa0d43a64..e39627568227 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/mergepatch/util.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/mergepatch/util.go @@ -88,7 +88,8 @@ func toYAML(v interface{}) (string, error) { // supports JSON merge patch semantics. // // NOTE: Numbers with different types (e.g. int(0) vs int64(0)) will be detected as conflicts. -// Make sure the unmarshaling of left and right are consistent (e.g. use the same library). +// +// Make sure the unmarshaling of left and right are consistent (e.g. use the same library). func HasConflicts(left, right interface{}) (bool, error) { switch typedLeft := left.(type) { case map[string]interface{}: diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/net/interface.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/net/interface.go index 822416806483..01d028e727dc 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/net/interface.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/net/interface.go @@ -339,7 +339,7 @@ func chooseIPFromHostInterfaces(nw networkInterfacer, addressFamilies AddressFam for _, addr := range addrs { ip, _, err := netutils.ParseCIDRSloppy(addr.String()) if err != nil { - return nil, fmt.Errorf("Unable to parse CIDR for interface %q: %s", intf.Name, err) + return nil, fmt.Errorf("unable to parse CIDR for interface %q: %s", intf.Name, err) } if !memberOf(ip, family) { klog.V(4).Infof("Skipping: no address family match for %q on interface %q.", ip, intf.Name) diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/net/port_split.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/net/port_split.go index c0fd4e20fe54..f54bb1e71c97 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/net/port_split.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/net/port_split.go @@ -25,9 +25,9 @@ import ( var validSchemes = sets.NewString("http", "https", "") // SplitSchemeNamePort takes a string of the following forms: -// * "", returns "", "","", true -// * ":", returns "", "","",true -// * "::", returns "","","",true +// - "", returns "", "","", true +// - ":", returns "", "","",true +// - "::", returns "","","",true // // Name must be non-empty or valid will be returned false. // Scheme must be "http" or "https" if specified @@ -57,9 +57,10 @@ func SplitSchemeNamePort(id string) (scheme, name, port string, valid bool) { } // JoinSchemeNamePort returns a string that specifies the scheme, name, and port: -// * "" -// * ":" -// * "::" +// - "" +// - ":" +// - "::" +// // None of the parameters may contain a ':' character // Name is required // Scheme must be "", "http", or "https" diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/net/util.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/net/util.go index 5950087e022f..1c2aba55f7bf 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/net/util.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/net/util.go @@ -25,6 +25,7 @@ import ( // IPNetEqual checks if the two input IPNets are representing the same subnet. // For example, +// // 10.0.0.1/24 and 10.0.0.0/24 are the same subnet. // 10.0.0.1/24 and 10.0.0.0/25 are not the same subnet. func IPNetEqual(ipnet1, ipnet2 *net.IPNet) bool { diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/proxy/transport.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/proxy/transport.go index b92009937036..489d9b042641 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/proxy/transport.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/proxy/transport.go @@ -39,7 +39,8 @@ import ( // atomsToAttrs states which attributes of which tags require URL substitution. // Sources: http://www.w3.org/TR/REC-html40/index/attributes.html -// http://www.w3.org/html/wg/drafts/html/master/index.html#attributes-1 +// +// http://www.w3.org/html/wg/drafts/html/master/index.html#attributes-1 var atomsToAttrs = map[atom.Atom]sets.String{ atom.A: sets.NewString("href"), atom.Applet: sets.NewString("codebase"), diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go index 9f834fa538df..d738725caf09 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go @@ -142,7 +142,7 @@ func GetCaller() string { runtime.Callers(3, pc[:]) f := runtime.FuncForPC(pc[0]) if f == nil { - return fmt.Sprintf("Unable to find caller") + return "Unable to find caller" } return f.Name() } diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/byte.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/byte.go index 9bfa85d43d41..5d280dd37343 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/byte.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/byte.go @@ -28,7 +28,7 @@ type Byte map[byte]Empty // NewByte creates a Byte from a list of values. func NewByte(items ...byte) Byte { - ss := Byte{} + ss := make(Byte, len(items)) ss.Insert(items...) return ss } @@ -87,6 +87,15 @@ func (s Byte) HasAny(items ...byte) bool { return false } +// Clone returns a new set which is a copy of the current set. +func (s Byte) Clone() Byte { + result := make(Byte, len(s)) + for key := range s { + result.Insert(key) + } + return result +} + // Difference returns a set of objects that are not in s2 // For example: // s1 = {a1, a2, a3} @@ -110,10 +119,7 @@ func (s Byte) Difference(s2 Byte) Byte { // s1.Union(s2) = {a1, a2, a3, a4} // s2.Union(s1) = {a1, a2, a3, a4} func (s1 Byte) Union(s2 Byte) Byte { - result := NewByte() - for key := range s1 { - result.Insert(key) - } + result := s1.Clone() for key := range s2 { result.Insert(key) } diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/int.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/int.go index 88bd7096791e..f9a79d981648 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/int.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/int.go @@ -28,7 +28,7 @@ type Int map[int]Empty // NewInt creates a Int from a list of values. func NewInt(items ...int) Int { - ss := Int{} + ss := make(Int, len(items)) ss.Insert(items...) return ss } @@ -87,6 +87,15 @@ func (s Int) HasAny(items ...int) bool { return false } +// Clone returns a new set which is a copy of the current set. +func (s Int) Clone() Int { + result := make(Int, len(s)) + for key := range s { + result.Insert(key) + } + return result +} + // Difference returns a set of objects that are not in s2 // For example: // s1 = {a1, a2, a3} @@ -110,10 +119,7 @@ func (s Int) Difference(s2 Int) Int { // s1.Union(s2) = {a1, a2, a3, a4} // s2.Union(s1) = {a1, a2, a3, a4} func (s1 Int) Union(s2 Int) Int { - result := NewInt() - for key := range s1 { - result.Insert(key) - } + result := s1.Clone() for key := range s2 { result.Insert(key) } diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/int32.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/int32.go index 96a48555426f..fc416c55a340 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/int32.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/int32.go @@ -28,7 +28,7 @@ type Int32 map[int32]Empty // NewInt32 creates a Int32 from a list of values. func NewInt32(items ...int32) Int32 { - ss := Int32{} + ss := make(Int32, len(items)) ss.Insert(items...) return ss } @@ -87,6 +87,15 @@ func (s Int32) HasAny(items ...int32) bool { return false } +// Clone returns a new set which is a copy of the current set. +func (s Int32) Clone() Int32 { + result := make(Int32, len(s)) + for key := range s { + result.Insert(key) + } + return result +} + // Difference returns a set of objects that are not in s2 // For example: // s1 = {a1, a2, a3} @@ -110,10 +119,7 @@ func (s Int32) Difference(s2 Int32) Int32 { // s1.Union(s2) = {a1, a2, a3, a4} // s2.Union(s1) = {a1, a2, a3, a4} func (s1 Int32) Union(s2 Int32) Int32 { - result := NewInt32() - for key := range s1 { - result.Insert(key) - } + result := s1.Clone() for key := range s2 { result.Insert(key) } diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/int64.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/int64.go index b375a1b065c9..03ecb5f1faf9 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/int64.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/int64.go @@ -28,7 +28,7 @@ type Int64 map[int64]Empty // NewInt64 creates a Int64 from a list of values. func NewInt64(items ...int64) Int64 { - ss := Int64{} + ss := make(Int64, len(items)) ss.Insert(items...) return ss } @@ -87,6 +87,15 @@ func (s Int64) HasAny(items ...int64) bool { return false } +// Clone returns a new set which is a copy of the current set. +func (s Int64) Clone() Int64 { + result := make(Int64, len(s)) + for key := range s { + result.Insert(key) + } + return result +} + // Difference returns a set of objects that are not in s2 // For example: // s1 = {a1, a2, a3} @@ -110,10 +119,7 @@ func (s Int64) Difference(s2 Int64) Int64 { // s1.Union(s2) = {a1, a2, a3, a4} // s2.Union(s1) = {a1, a2, a3, a4} func (s1 Int64) Union(s2 Int64) Int64 { - result := NewInt64() - for key := range s1 { - result.Insert(key) - } + result := s1.Clone() for key := range s2 { result.Insert(key) } diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/string.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/string.go index e6f37db8874b..99b4cab32571 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/string.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/sets/string.go @@ -28,7 +28,7 @@ type String map[string]Empty // NewString creates a String from a list of values. func NewString(items ...string) String { - ss := String{} + ss := make(String, len(items)) ss.Insert(items...) return ss } @@ -87,6 +87,15 @@ func (s String) HasAny(items ...string) bool { return false } +// Clone returns a new set which is a copy of the current set. +func (s String) Clone() String { + result := make(String, len(s)) + for key := range s { + result.Insert(key) + } + return result +} + // Difference returns a set of objects that are not in s2 // For example: // s1 = {a1, a2, a3} @@ -110,10 +119,7 @@ func (s String) Difference(s2 String) String { // s1.Union(s2) = {a1, a2, a3, a4} // s2.Union(s1) = {a1, a2, a3, a4} func (s1 String) Union(s2 String) String { - result := NewString() - for key := range s1 { - result.Insert(key) - } + result := s1.Clone() for key := range s2 { result.Insert(key) } diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/validation/field/errors.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/validation/field/errors.go index b26fbc432bb2..ae73bda96667 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/validation/field/errors.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/validation/field/errors.go @@ -42,9 +42,9 @@ func (v *Error) Error() string { return fmt.Sprintf("%s: %s", v.Field, v.ErrorBody()) } -type omitValueType struct{} +type OmitValueType struct{} -var omitValue = omitValueType{} +var omitValue = OmitValueType{} // ErrorBody returns the error message without the field name. This is useful // for building nice-looking higher-level error reporting. diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go index 7aec1ec27ac4..137627b4050c 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go @@ -29,9 +29,11 @@ import ( ) // For any test of the style: -// ... -// <- time.After(timeout): -// t.Errorf("Timed out") +// +// ... +// <- time.After(timeout): +// t.Errorf("Timed out") +// // The value for timeout should effectively be "forever." Obviously we don't want our tests to truly lock up forever, but 30s // is long enough that it is effectively forever for the things that can slow down a run on a heavily contended machine // (GC, seeks, etc), but not so long as to make a developer ctrl-c a test run if they do happen to break that test. @@ -566,7 +568,7 @@ func PollImmediateInfiniteWithContext(ctx context.Context, interval time.Duratio return poll(ctx, true, poller(interval, 0), condition) } -// Internally used, each of the the public 'Poll*' function defined in this +// Internally used, each of the public 'Poll*' function defined in this // package should invoke this internal function with appropriate parameters. // ctx: the context specified by the caller, for infinite polling pass // a context that never gets cancelled or expired. @@ -615,7 +617,7 @@ type WaitWithContextFunc func(ctx context.Context) <-chan struct{} // WaitFor continually checks 'fn' as driven by 'wait'. // -// WaitFor gets a channel from 'wait()'', and then invokes 'fn' once for every value +// WaitFor gets a channel from 'wait()”, and then invokes 'fn' once for every value // placed on the channel and once more when the channel is closed. If the channel is closed // and 'fn' returns false without error, WaitFor returns ErrWaitTimeout. // @@ -636,7 +638,7 @@ func WaitFor(wait WaitFunc, fn ConditionFunc, done <-chan struct{}) error { // WaitForWithContext continually checks 'fn' as driven by 'wait'. // -// WaitForWithContext gets a channel from 'wait()'', and then invokes 'fn' +// WaitForWithContext gets a channel from 'wait()”, and then invokes 'fn' // once for every value placed on the channel and once more when the // channel is closed. If the channel is closed and 'fn' // returns false without error, WaitForWithContext returns ErrWaitTimeout. diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/watch/filter.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/watch/filter.go index 22c9449f59cb..a5735a0b47ac 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/watch/filter.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/pkg/watch/filter.go @@ -32,7 +32,6 @@ type FilterFunc func(in Event) (out Event, keep bool) // WARNING: filter has a fatal flaw, in that it can't properly update the // Type field (Add/Modified/Deleted) to reflect items beginning to pass the // filter when they previously didn't. -// func Filter(w Interface, f FilterFunc) Interface { fw := &filteredWatch{ incoming: w, diff --git a/cluster-autoscaler/vendor/k8s.io/apimachinery/third_party/forked/golang/reflect/deep_equal.go b/cluster-autoscaler/vendor/k8s.io/apimachinery/third_party/forked/golang/reflect/deep_equal.go index fb6b054792b6..511e625b63df 100644 --- a/cluster-autoscaler/vendor/k8s.io/apimachinery/third_party/forked/golang/reflect/deep_equal.go +++ b/cluster-autoscaler/vendor/k8s.io/apimachinery/third_party/forked/golang/reflect/deep_equal.go @@ -100,7 +100,8 @@ func makeUsefulPanic(v reflect.Value) { // Tests for deep equality using reflected types. The map argument tracks // comparisons that have already been seen, which allows short circuiting on // recursive types. -func (e Equalities) deepValueEqual(v1, v2 reflect.Value, visited map[visit]bool, depth int) bool { +// equateNilAndEmpty controls whether empty maps/slices are equivalent to nil +func (e Equalities) deepValueEqual(v1, v2 reflect.Value, visited map[visit]bool, equateNilAndEmpty bool, depth int) bool { defer makeUsefulPanic(v1) if !v1.IsValid() || !v2.IsValid() { @@ -150,17 +151,36 @@ func (e Equalities) deepValueEqual(v1, v2 reflect.Value, visited map[visit]bool, // We don't need to check length here because length is part of // an array's type, which has already been filtered for. for i := 0; i < v1.Len(); i++ { - if !e.deepValueEqual(v1.Index(i), v2.Index(i), visited, depth+1) { + if !e.deepValueEqual(v1.Index(i), v2.Index(i), visited, equateNilAndEmpty, depth+1) { return false } } return true case reflect.Slice: - if (v1.IsNil() || v1.Len() == 0) != (v2.IsNil() || v2.Len() == 0) { - return false - } - if v1.IsNil() || v1.Len() == 0 { - return true + if equateNilAndEmpty { + if (v1.IsNil() || v1.Len() == 0) != (v2.IsNil() || v2.Len() == 0) { + return false + } + + if v1.IsNil() || v1.Len() == 0 { + return true + } + } else { + if v1.IsNil() != v2.IsNil() { + return false + } + + // Optimize nil and empty cases + // Two lists that are BOTH nil are equal + // No need to check v2 is nil since v1.IsNil == v2.IsNil from above + if v1.IsNil() { + return true + } + + // Two lists that are both empty and both non nil are equal + if v1.Len() == 0 || v2.Len() == 0 { + return true + } } if v1.Len() != v2.Len() { return false @@ -169,7 +189,7 @@ func (e Equalities) deepValueEqual(v1, v2 reflect.Value, visited map[visit]bool, return true } for i := 0; i < v1.Len(); i++ { - if !e.deepValueEqual(v1.Index(i), v2.Index(i), visited, depth+1) { + if !e.deepValueEqual(v1.Index(i), v2.Index(i), visited, equateNilAndEmpty, depth+1) { return false } } @@ -178,22 +198,40 @@ func (e Equalities) deepValueEqual(v1, v2 reflect.Value, visited map[visit]bool, if v1.IsNil() || v2.IsNil() { return v1.IsNil() == v2.IsNil() } - return e.deepValueEqual(v1.Elem(), v2.Elem(), visited, depth+1) - case reflect.Pointer: - return e.deepValueEqual(v1.Elem(), v2.Elem(), visited, depth+1) + return e.deepValueEqual(v1.Elem(), v2.Elem(), visited, equateNilAndEmpty, depth+1) + case reflect.Ptr: + return e.deepValueEqual(v1.Elem(), v2.Elem(), visited, equateNilAndEmpty, depth+1) case reflect.Struct: for i, n := 0, v1.NumField(); i < n; i++ { - if !e.deepValueEqual(v1.Field(i), v2.Field(i), visited, depth+1) { + if !e.deepValueEqual(v1.Field(i), v2.Field(i), visited, equateNilAndEmpty, depth+1) { return false } } return true case reflect.Map: - if (v1.IsNil() || v1.Len() == 0) != (v2.IsNil() || v2.Len() == 0) { - return false - } - if v1.IsNil() || v1.Len() == 0 { - return true + if equateNilAndEmpty { + if (v1.IsNil() || v1.Len() == 0) != (v2.IsNil() || v2.Len() == 0) { + return false + } + if v1.IsNil() || v1.Len() == 0 { + return true + } + } else { + if v1.IsNil() != v2.IsNil() { + return false + } + + // Optimize nil and empty cases + // Two maps that are BOTH nil are equal + // No need to check v2 is nil since v1.IsNil == v2.IsNil from above + if v1.IsNil() { + return true + } + + // Two maps that are both empty and both non nil are equal + if v1.Len() == 0 || v2.Len() == 0 { + return true + } } if v1.Len() != v2.Len() { return false @@ -202,7 +240,7 @@ func (e Equalities) deepValueEqual(v1, v2 reflect.Value, visited map[visit]bool, return true } for _, k := range v1.MapKeys() { - if !e.deepValueEqual(v1.MapIndex(k), v2.MapIndex(k), visited, depth+1) { + if !e.deepValueEqual(v1.MapIndex(k), v2.MapIndex(k), visited, equateNilAndEmpty, depth+1) { return false } } @@ -232,6 +270,14 @@ func (e Equalities) deepValueEqual(v1, v2 reflect.Value, visited map[visit]bool, // Unexported field members cannot be compared and will cause an informative panic; you must add an Equality // function for these types. func (e Equalities) DeepEqual(a1, a2 interface{}) bool { + return e.deepEqual(a1, a2, true) +} + +func (e Equalities) DeepEqualWithNilDifferentFromEmpty(a1, a2 interface{}) bool { + return e.deepEqual(a1, a2, false) +} + +func (e Equalities) deepEqual(a1, a2 interface{}, equateNilAndEmpty bool) bool { if a1 == nil || a2 == nil { return a1 == a2 } @@ -240,7 +286,7 @@ func (e Equalities) DeepEqual(a1, a2 interface{}) bool { if v1.Type() != v2.Type() { return false } - return e.deepValueEqual(v1, v2, make(map[visit]bool), 0) + return e.deepValueEqual(v1, v2, make(map[visit]bool), equateNilAndEmpty, 0) } func (e Equalities) deepValueDerive(v1, v2 reflect.Value, visited map[visit]bool, depth int) bool { diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/admission/initializer/interfaces.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/admission/initializer/interfaces.go index 191c090556dc..83d3d48c1800 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/admission/initializer/interfaces.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/admission/initializer/interfaces.go @@ -60,9 +60,10 @@ type WantsDrainedNotification interface { // WantsFeatureGate defines a function which passes the featureGates for inspection by an admission plugin. // Admission plugins should not hold a reference to the featureGates. Instead, they should query a particular one // and assign it to a simple bool in the admission plugin struct. -// func (a *admissionPlugin) InspectFeatureGates(features featuregate.FeatureGate){ -// a.myFeatureIsOn = features.Enabled("my-feature") -// } +// +// func (a *admissionPlugin) InspectFeatureGates(features featuregate.FeatureGate){ +// a.myFeatureIsOn = features.Enabled("my-feature") +// } type WantsFeatures interface { InspectFeatureGates(featuregate.FeatureGate) admission.InitializationValidator diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/types.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/types.go index 5dddc97f9644..72107fe66349 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/types.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/types.go @@ -86,6 +86,9 @@ type IdentityConfiguration struct{} // KMSConfiguration contains the name, cache size and path to configuration file for a KMS based envelope transformer. type KMSConfiguration struct { + // apiVersion of KeyManagementService + // +optional + APIVersion string // name is the name of the KMS plugin to be used. Name string // cachesize is the maximum number of secrets which are cached in memory. The default value is 1000. diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/v1/defaults.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/v1/defaults.go index 2d529651a9fa..8666022a95a4 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/v1/defaults.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/v1/defaults.go @@ -24,8 +24,9 @@ import ( ) var ( - defaultTimeout = &metav1.Duration{Duration: 3 * time.Second} - defaultCacheSize int32 = 1000 + defaultTimeout = &metav1.Duration{Duration: 3 * time.Second} + defaultCacheSize int32 = 1000 + defaultAPIVersion = "v1" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { @@ -41,4 +42,8 @@ func SetDefaults_KMSConfiguration(obj *KMSConfiguration) { if obj.CacheSize == nil { obj.CacheSize = &defaultCacheSize } + + if obj.APIVersion == "" { + obj.APIVersion = defaultAPIVersion + } } diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/v1/types.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/v1/types.go index d7d68d2584dd..23dab942ea3e 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/v1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/v1/types.go @@ -86,6 +86,9 @@ type IdentityConfiguration struct{} // KMSConfiguration contains the name, cache size and path to configuration file for a KMS based envelope transformer. type KMSConfiguration struct { + // apiVersion of KeyManagementService + // +optional + APIVersion string `json:"apiVersion"` // name is the name of the KMS plugin to be used. Name string `json:"name"` // cachesize is the maximum number of secrets which are cached in memory. The default value is 1000. diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/v1/zz_generated.conversion.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/v1/zz_generated.conversion.go index ff2132f72922..8585428632b8 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/v1/zz_generated.conversion.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/v1/zz_generated.conversion.go @@ -179,6 +179,7 @@ func Convert_config_IdentityConfiguration_To_v1_IdentityConfiguration(in *config } func autoConvert_v1_KMSConfiguration_To_config_KMSConfiguration(in *KMSConfiguration, out *config.KMSConfiguration, s conversion.Scope) error { + out.APIVersion = in.APIVersion out.Name = in.Name out.CacheSize = (*int32)(unsafe.Pointer(in.CacheSize)) out.Endpoint = in.Endpoint @@ -192,6 +193,7 @@ func Convert_v1_KMSConfiguration_To_config_KMSConfiguration(in *KMSConfiguration } func autoConvert_config_KMSConfiguration_To_v1_KMSConfiguration(in *config.KMSConfiguration, out *KMSConfiguration, s conversion.Scope) error { + out.APIVersion = in.APIVersion out.Name = in.Name out.CacheSize = (*int32)(unsafe.Pointer(in.CacheSize)) out.Endpoint = in.Endpoint diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/validation/validation.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/validation/validation.go index 966ff1f0d153..866e6149614d 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/validation/validation.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/apis/config/validation/validation.go @@ -21,22 +21,25 @@ import ( "encoding/base64" "fmt" "net/url" + "strings" "k8s.io/apimachinery/pkg/util/validation/field" "k8s.io/apiserver/pkg/apis/config" ) const ( - moreThanOneElementErr = "more than one provider specified in a single element, should split into different list elements" - keyLenErrFmt = "secret is not of the expected length, got %d, expected one of %v" - unsupportedSchemeErrFmt = "unsupported scheme %q for KMS provider, only unix is supported" - atLeastOneRequiredErrFmt = "at least one %s is required" - invalidURLErrFmt = "invalid endpoint for kms provider, error: parse %s: net/url: invalid control character in URL" - mandatoryFieldErrFmt = "%s is a mandatory field for a %s" - base64EncodingErr = "secrets must be base64 encoded" - zeroOrNegativeErrFmt = "%s should be a positive value" - nonZeroErrFmt = "%s should be a positive value, or negative to disable" - encryptionConfigNilErr = "EncryptionConfiguration can't be nil" + moreThanOneElementErr = "more than one provider specified in a single element, should split into different list elements" + keyLenErrFmt = "secret is not of the expected length, got %d, expected one of %v" + unsupportedSchemeErrFmt = "unsupported scheme %q for KMS provider, only unix is supported" + unsupportedKMSAPIVersionErrFmt = "unsupported apiVersion %s for KMS provider, only v1 and v2 are supported" + atLeastOneRequiredErrFmt = "at least one %s is required" + invalidURLErrFmt = "invalid endpoint for kms provider, error: parse %s: net/url: invalid control character in URL" + mandatoryFieldErrFmt = "%s is a mandatory field for a %s" + base64EncodingErr = "secrets must be base64 encoded" + zeroOrNegativeErrFmt = "%s should be a positive value" + nonZeroErrFmt = "%s should be a positive value, or negative to disable" + encryptionConfigNilErr = "EncryptionConfiguration can't be nil" + invalidKMSConfigNameErrFmt = "invalid KMS provider name %s, must not contain ':'" ) var ( @@ -174,12 +177,12 @@ func validateKey(key config.Key, fieldPath *field.Path, expectedLen []int) field func validateKMSConfiguration(c *config.KMSConfiguration, fieldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} - if c.Name == "" { - allErrs = append(allErrs, field.Required(fieldPath.Child("name"), fmt.Sprintf(mandatoryFieldErrFmt, "name", "provider"))) - } + + allErrs = append(allErrs, validateKMSConfigName(c, fieldPath.Child("name"))...) allErrs = append(allErrs, validateKMSTimeout(c, fieldPath.Child("timeout"))...) allErrs = append(allErrs, validateKMSEndpoint(c, fieldPath.Child("endpoint"))...) allErrs = append(allErrs, validateKMSCacheSize(c, fieldPath.Child("cachesize"))...) + allErrs = append(allErrs, validateKMSAPIVersion(c, fieldPath.Child("apiVersion"))...) return allErrs } @@ -218,3 +221,25 @@ func validateKMSEndpoint(c *config.KMSConfiguration, fieldPath *field.Path) fiel return allErrs } + +func validateKMSAPIVersion(c *config.KMSConfiguration, fieldPath *field.Path) field.ErrorList { + allErrs := field.ErrorList{} + if c.APIVersion != "v1" && c.APIVersion != "v2" { + allErrs = append(allErrs, field.Invalid(fieldPath, c.APIVersion, fmt.Sprintf(unsupportedKMSAPIVersionErrFmt, "apiVersion"))) + } + + return allErrs +} + +func validateKMSConfigName(c *config.KMSConfiguration, fieldPath *field.Path) field.ErrorList { + allErrs := field.ErrorList{} + if c.Name == "" { + allErrs = append(allErrs, field.Required(fieldPath, fmt.Sprintf(mandatoryFieldErrFmt, "name", "provider"))) + } + + if c.APIVersion != "v1" && strings.Contains(c.Name, ":") { + allErrs = append(allErrs, field.Invalid(fieldPath, c.Name, fmt.Sprintf(invalidKMSConfigNameErrFmt, c.Name))) + } + + return allErrs +} diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/audit/policy/enforce.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/audit/policy/enforce.go deleted file mode 100644 index e2b107b9f1da..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/audit/policy/enforce.go +++ /dev/null @@ -1,53 +0,0 @@ -/* -Copyright 2018 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package policy - -import ( - "fmt" - - "k8s.io/apiserver/pkg/apis/audit" -) - -// EnforcePolicy drops any part of the event that doesn't conform to a policy level -// or omitStages and sets the event level accordingly -func EnforcePolicy(event *audit.Event, level audit.Level, omitStages []audit.Stage) (*audit.Event, error) { - for _, stage := range omitStages { - if event.Stage == stage { - return nil, nil - } - } - return enforceLevel(event, level) -} - -func enforceLevel(event *audit.Event, level audit.Level) (*audit.Event, error) { - switch level { - case audit.LevelMetadata: - event.Level = audit.LevelMetadata - event.ResponseObject = nil - event.RequestObject = nil - case audit.LevelRequest: - event.Level = audit.LevelRequest - event.ResponseObject = nil - case audit.LevelRequestResponse: - event.Level = audit.LevelRequestResponse - case audit.LevelNone: - return nil, nil - default: - return nil, fmt.Errorf("level unknown: %s", level) - } - return event, nil -} diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/deprecation/deprecation.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/deprecation/deprecation.go index 3d0123b23f76..7f8986faeac9 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/deprecation/deprecation.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/deprecation/deprecation.go @@ -43,8 +43,9 @@ var leadingDigits = regexp.MustCompile(`^(\d+)`) // MajorMinor parses a numeric major/minor version from the provided version info. // The minor version drops all characters after the first non-digit character: -// version.Info{Major:"1", Minor:"2+"} -> 1,2 -// version.Info{Major:"1", Minor:"2.3-build4"} -> 1,2 +// +// version.Info{Major:"1", Minor:"2+"} -> 1,2 +// version.Info{Major:"1", Minor:"2.3-build4"} -> 1,2 func MajorMinor(v version.Info) (int, int, error) { major, err := strconv.Atoi(v.Major) if err != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/filters/traces.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/filters/traces.go index a3339773e9f2..67a1790c56aa 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/filters/traces.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/filters/traces.go @@ -22,19 +22,17 @@ import ( "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" "go.opentelemetry.io/otel/trace" - "k8s.io/component-base/traces" + tracing "k8s.io/component-base/tracing" ) // WithTracing adds tracing to requests if the incoming request is sampled -func WithTracing(handler http.Handler, tp *trace.TracerProvider) http.Handler { +func WithTracing(handler http.Handler, tp trace.TracerProvider) http.Handler { opts := []otelhttp.Option{ - otelhttp.WithPropagators(traces.Propagators()), + otelhttp.WithPropagators(tracing.Propagators()), otelhttp.WithPublicEndpoint(), + otelhttp.WithTracerProvider(tp), } - if tp != nil { - opts = append(opts, otelhttp.WithTracerProvider(*tp)) - } - // Even if there is no TracerProvider, the otelhttp still handles context propagation. + // With Noop TracerProvider, the otelhttp still handles context propagation. // See https://github.com/open-telemetry/opentelemetry-go/tree/main/example/passthrough return otelhttp.NewHandler(handler, "KubernetesAPI", opts...) } diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/equality.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/equality.go new file mode 100644 index 000000000000..366d88fcc50b --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/equality.go @@ -0,0 +1,180 @@ +/* +Copyright 2021 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package fieldmanager + +import ( + "context" + "fmt" + "os" + "reflect" + "strconv" + "time" + + "k8s.io/apimachinery/pkg/api/equality" + "k8s.io/apimachinery/pkg/api/meta" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apiserver/pkg/endpoints/metrics" + "k8s.io/klog/v2" +) + +func determineAvoidNoopTimestampUpdatesEnabled() bool { + if avoidNoopTimestampUpdatesString, exists := os.LookupEnv("KUBE_APISERVER_AVOID_NOOP_SSA_TIMESTAMP_UPDATES"); exists { + if ret, err := strconv.ParseBool(avoidNoopTimestampUpdatesString); err == nil { + return ret + } else { + klog.Errorf("failed to parse envar KUBE_APISERVER_AVOID_NOOP_SSA_TIMESTAMP_UPDATES: %v", err) + } + } + + // enabled by default + return true +} + +var ( + avoidNoopTimestampUpdatesEnabled = determineAvoidNoopTimestampUpdatesEnabled() +) + +var avoidTimestampEqualities = func() conversion.Equalities { + var eqs = equality.Semantic.Copy() + + err := eqs.AddFunc( + func(a, b metav1.ManagedFieldsEntry) bool { + // Two objects' managed fields are equivalent if, ignoring timestamp, + // the objects are deeply equal. + a.Time = nil + b.Time = nil + return reflect.DeepEqual(a, b) + }, + ) + + if err != nil { + panic(err) + } + + return eqs +}() + +// IgnoreManagedFieldsTimestampsTransformer reverts timestamp updates +// if the non-managed parts of the object are equivalent +func IgnoreManagedFieldsTimestampsTransformer( + _ context.Context, + newObj runtime.Object, + oldObj runtime.Object, +) (res runtime.Object, err error) { + if !avoidNoopTimestampUpdatesEnabled { + return newObj, nil + } + + outcome := "unequal_objects_fast" + start := time.Now() + err = nil + res = nil + + defer func() { + if err != nil { + outcome = "error" + } + + metrics.RecordTimestampComparisonLatency(outcome, time.Since(start)) + }() + + // If managedFields modulo timestamps are unchanged + // and + // rest of object is unchanged + // then + // revert any changes to timestamps in managed fields + // (to prevent spurious ResourceVersion bump) + // + // Procecure: + // Do a quicker check to see if just managed fields modulo timestamps are + // unchanged. If so, then do the full, slower check. + // + // In most cases which actually update the object, the managed fields modulo + // timestamp check will fail, and we will be able to return early. + // + // In other cases, the managed fields may be exactly the same, + // except for timestamp, but the objects are the different. This is the + // slow path which checks the full object. + oldAccessor, err := meta.Accessor(oldObj) + if err != nil { + return nil, fmt.Errorf("failed to acquire accessor for oldObj: %v", err) + } + + accessor, err := meta.Accessor(newObj) + if err != nil { + return nil, fmt.Errorf("failed to acquire accessor for newObj: %v", err) + } + + oldManagedFields := oldAccessor.GetManagedFields() + newManagedFields := accessor.GetManagedFields() + + if len(oldManagedFields) != len(newManagedFields) { + // Return early if any managed fields entry was added/removed. + // We want to retain user expectation that even if they write to a field + // whose value did not change, they will still result as the field + // manager at the end. + return newObj, nil + } else if len(newManagedFields) == 0 { + // This transformation only makes sense when managedFields are + // non-empty + return newObj, nil + } + + // This transformation only makes sense if the managed fields has at least one + // changed timestamp; and are otherwise equal. Return early if there are no + // changed timestamps. + allTimesUnchanged := true + for i, e := range newManagedFields { + if !e.Time.Equal(oldManagedFields[i].Time) { + allTimesUnchanged = false + break + } + } + + if allTimesUnchanged { + return newObj, nil + } + + // This condition ensures the managed fields are always compared first. If + // this check fails, the if statement will short circuit. If the check + // succeeds the slow path is taken which compares entire objects. + if !avoidTimestampEqualities.DeepEqualWithNilDifferentFromEmpty(oldManagedFields, newManagedFields) { + return newObj, nil + } + + if avoidTimestampEqualities.DeepEqualWithNilDifferentFromEmpty(newObj, oldObj) { + // Remove any changed timestamps, so that timestamp is not the only + // change seen by etcd. + // + // newManagedFields is known to be exactly pairwise equal to + // oldManagedFields except for timestamps. + // + // Simply replace possibly changed new timestamps with their old values. + for idx := 0; idx < len(oldManagedFields); idx++ { + newManagedFields[idx].Time = oldManagedFields[idx].Time + } + + accessor.SetManagedFields(newManagedFields) + outcome = "equal_objects" + return newObj, nil + } + + outcome = "unequal_objects_slow" + return newObj, nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/scalehandler.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/scalehandler.go index d81383628c79..d9844990c29d 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/scalehandler.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/scalehandler.go @@ -56,9 +56,9 @@ func NewScaleHandler(parentEntries []metav1.ManagedFieldsEntry, groupVersion sch // ToSubresource filter the managed fields of the main resource and convert // them so that they can be handled by scale. // For the managed fields that have a replicas path it performs two changes: -// 1. APIVersion is changed to the APIVersion of the scale subresource -// 2. Replicas path of the main resource is transformed to the replicas path of -// the scale subresource +// 1. APIVersion is changed to the APIVersion of the scale subresource +// 2. Replicas path of the main resource is transformed to the replicas path of +// the scale subresource func (h *ScaleHandler) ToSubresource() ([]metav1.ManagedFieldsEntry, error) { managed, err := DecodeManagedFields(h.parentEntries) if err != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/helpers.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/helpers.go index 3fb7beccad10..a0991e1a4c31 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/helpers.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/helpers.go @@ -83,7 +83,7 @@ type lazyAuditID struct { func (lazy *lazyAuditID) String() string { if lazy.req != nil { - return request.GetAuditIDTruncated(lazy.req) + return request.GetAuditIDTruncated(lazy.req.Context()) } return "unknown" diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/patch.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/patch.go index 6ee4904bf4f8..a0a8fb6ca776 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/patch.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/patch.go @@ -659,8 +659,13 @@ func (p *patcher) patchResource(ctx context.Context, scope *RequestScope) (runti return obj, nil } + transformers := []rest.TransformFunc{p.applyPatch, p.applyAdmission, dedupOwnerReferencesTransformer} + if scope.FieldManager != nil { + transformers = append(transformers, fieldmanager.IgnoreManagedFieldsTimestampsTransformer) + } + wasCreated := false - p.updatedObjectInfo = rest.DefaultUpdatedObjectInfo(nil, p.applyPatch, p.applyAdmission, dedupOwnerReferencesTransformer) + p.updatedObjectInfo = rest.DefaultUpdatedObjectInfo(nil, transformers...) requestFunc := func() (runtime.Object, error) { // Pass in UpdateOptions to override UpdateStrategy.AllowUpdateOnCreate options := patchToUpdateOptions(p.options) diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers.go index 87ab7b4dfe42..acb08800e11e 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers.go @@ -36,7 +36,6 @@ import ( "k8s.io/apiserver/pkg/endpoints/handlers/negotiation" "k8s.io/apiserver/pkg/endpoints/metrics" "k8s.io/apiserver/pkg/endpoints/request" - endpointsrequest "k8s.io/apiserver/pkg/endpoints/request" "k8s.io/apiserver/pkg/registry/rest" utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/apiserver/pkg/util/flushwriter" @@ -89,6 +88,7 @@ func StreamObject(statusCode int, gv schema.GroupVersion, s runtime.NegotiatedSe // a client and the feature gate for APIResponseCompression is enabled. func SerializeObject(mediaType string, encoder runtime.Encoder, hw http.ResponseWriter, req *http.Request, statusCode int, object runtime.Object) { trace := utiltrace.New("SerializeObject", + utiltrace.Field{"audit-id", request.GetAuditIDTruncated(req.Context())}, utiltrace.Field{"method", req.Method}, utiltrace.Field{"url", req.URL.Path}, utiltrace.Field{"protocol", req.Proto}, @@ -272,7 +272,7 @@ func WriteObjectNegotiated(s runtime.NegotiatedSerializer, restrictions negotiat audit.LogResponseObject(req.Context(), object, gv, s) encoder := s.EncoderForVersion(serializer.Serializer, gv) - endpointsrequest.TrackSerializeResponseObjectLatency(req.Context(), func() { + request.TrackSerializeResponseObjectLatency(req.Context(), func() { SerializeObject(serializer.MediaType, encoder, w, req, statusCode, object) }) } diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/update.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/update.go index 1c8f140175d3..cb0ba5d7de8d 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/update.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/handlers/update.go @@ -191,6 +191,15 @@ func UpdateResource(r rest.Updater, scope *RequestScope, admit admission.Interfa }) } + // Ignore changes that only affect managed fields + // timestamps. FieldManager can't know about changes + // like normalized fields, defaulted fields and other + // mutations. + // Only makes sense when SSA field manager is being used + if scope.FieldManager != nil { + transformers = append(transformers, fieldmanager.IgnoreManagedFieldsTimestampsTransformer) + } + createAuthorizerAttributes := authorizer.AttributesRecord{ User: userInfo, ResourceRequest: true, diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go index 4f851bb4a3bc..dd7e82ca0aa6 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go @@ -94,7 +94,7 @@ var ( // This metric is used for verifying api call latencies SLO, // as well as tracking regressions in this aspects. // Thus we customize buckets significantly, to empower both usecases. - Buckets: []float64{0.05, 0.1, 0.2, 0.4, 0.6, 0.8, 1.0, 1.25, 1.5, 2, 3, + Buckets: []float64{0.005, 0.025, 0.05, 0.1, 0.2, 0.4, 0.6, 0.8, 1.0, 1.25, 1.5, 2, 3, 4, 5, 6, 8, 10, 15, 20, 30, 45, 60}, StabilityLevel: compbasemetrics.STABLE, }, @@ -238,6 +238,18 @@ var ( []string{"source", "status"}, ) + requestTimestampComparisonDuration = compbasemetrics.NewHistogramVec( + &compbasemetrics.HistogramOpts{ + Name: "apiserver_request_timestamp_comparison_time", + Help: "Time taken for comparison of old vs new objects in UPDATE or PATCH requests", + Buckets: []float64{0.0001, 0.0003, 0.001, 0.003, 0.01, 0.03, 0.1, 0.3, 1.0, 5.0}, + StabilityLevel: compbasemetrics.ALPHA, + }, + // Path the code takes to reach a conclusion: + // i.e. unequalObjectsFast, unequalObjectsSlow, equalObjectsSlow + []string{"code_path"}, + ) + metrics = []resettableCollector{ deprecatedRequestGauge, requestCounter, @@ -256,6 +268,7 @@ var ( requestFilterDuration, requestAbortsTotal, requestPostTimeoutTotal, + requestTimestampComparisonDuration, } // these are the valid request methods which we report in our metrics. Any other request methods @@ -366,6 +379,10 @@ func RecordFilterLatency(ctx context.Context, name string, elapsed time.Duration requestFilterDuration.WithContext(ctx).WithLabelValues(name).Observe(elapsed.Seconds()) } +func RecordTimestampComparisonLatency(codePath string, elapsed time.Duration) { + requestTimestampComparisonDuration.WithLabelValues(codePath).Observe(elapsed.Seconds()) +} + func RecordRequestPostTimeout(source string, status string) { requestPostTimeoutTotal.WithLabelValues(source, status).Inc() } diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/request/auditid.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/request/auditid.go index a7b3d84addb1..536b25b84b95 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/request/auditid.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/request/auditid.go @@ -18,7 +18,6 @@ package request import ( "context" - "net/http" "k8s.io/apimachinery/pkg/types" ) @@ -45,12 +44,12 @@ func AuditIDFrom(ctx context.Context) (types.UID, bool) { return auditID, ok } -// GetAuditIDTruncated returns the audit ID (truncated) associated with a request. +// GetAuditIDTruncated returns the audit ID (truncated) from the request context. // If the length of the Audit-ID value exceeds the limit, we truncate it to keep // the first N (maxAuditIDLength) characters. // This is intended to be used in logging only. -func GetAuditIDTruncated(req *http.Request) string { - auditID, ok := AuditIDFrom(req.Context()) +func GetAuditIDTruncated(ctx context.Context) string { + auditID, ok := AuditIDFrom(ctx) if !ok { return "" } diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/responsewriter/wrapper.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/responsewriter/wrapper.go index 758e7addd284..893dfa2812b5 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/responsewriter/wrapper.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/endpoints/responsewriter/wrapper.go @@ -42,19 +42,19 @@ type UserProvidedDecorator interface { // object implements the same subset of those interfaces as the inner http.ResponseWriter. // // This function handles the following three casses. -// - The inner ResponseWriter implements `http.CloseNotifier`, `http.Flusher`, -// and `http.Hijacker` (an HTTP/1.1 sever provides such a ResponseWriter). -// - The inner ResponseWriter implements `http.CloseNotifier` and `http.Flusher` -// but not `http.Hijacker` (an HTTP/2 server provides such a ResponseWriter). -// - All the other cases collapse to this one, in which the given ResponseWriter is returned. +// - The inner ResponseWriter implements `http.CloseNotifier`, `http.Flusher`, +// and `http.Hijacker` (an HTTP/1.1 sever provides such a ResponseWriter). +// - The inner ResponseWriter implements `http.CloseNotifier` and `http.Flusher` +// but not `http.Hijacker` (an HTTP/2 server provides such a ResponseWriter). +// - All the other cases collapse to this one, in which the given ResponseWriter is returned. // // There are three applicable terms: -// - "outer": this is the ResponseWriter object returned by the WrapForHTTP1Or2 function. -// - "user-provided decorator" or "middle": this is the user-provided decorator +// - "outer": this is the ResponseWriter object returned by the WrapForHTTP1Or2 function. +// - "user-provided decorator" or "middle": this is the user-provided decorator // that decorates an inner ResponseWriter object. A user-provided decorator // implements the UserProvidedDecorator interface. A user-provided decorator // may or may not implement http.CloseNotifier, http.Flusher or http.Hijacker. -// - "inner": the ResponseWriter that the user-provided decorator extends. +// - "inner": the ResponseWriter that the user-provided decorator extends. func WrapForHTTP1Or2(decorator UserProvidedDecorator) http.ResponseWriter { // from go net/http documentation: // The default HTTP/1.x and HTTP/2 ResponseWriter implementations support Flusher diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/features/kube_features.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/features/kube_features.go index 54d1e15bf6ef..4debb7bedb89 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/features/kube_features.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/features/kube_features.go @@ -84,6 +84,7 @@ const ( // owner: @cici37 // kep: http://kep.k8s.io/2876 // alpha: v1.23 + // beta: v1.25 // // Enables expression validation for Custom Resource CustomResourceValidationExpressions featuregate.Feature = "CustomResourceValidationExpressions" @@ -106,6 +107,13 @@ const ( // Allows for updating watchcache resource version with progress notify events. EfficientWatchResumption featuregate.Feature = "EfficientWatchResumption" + // owner: @aramase + // kep: http://kep.k8s.io/3299 + // alpha: v1.25 + // + // Enables KMS v2 API for encryption at rest. + KMSv2 featuregate.Feature = "KMSv2" + // owner: @jiahuif // kep: http://kep.k8s.io/2887 // alpha: v1.23 @@ -150,6 +158,7 @@ const ( // owner: @kevindelgado // kep: http://kep.k8s.io/2885 // alpha: v1.23 + // beta: v1.24 // // Enables server-side field validation. ServerSideFieldValidation featuregate.Feature = "ServerSideFieldValidation" @@ -197,12 +206,14 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS AdvancedAuditing: {Default: true, PreRelease: featuregate.GA}, - CustomResourceValidationExpressions: {Default: false, PreRelease: featuregate.Alpha}, + CustomResourceValidationExpressions: {Default: true, PreRelease: featuregate.Beta}, DryRun: {Default: true, PreRelease: featuregate.GA}, EfficientWatchResumption: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, + KMSv2: {Default: false, PreRelease: featuregate.Alpha}, + OpenAPIEnums: {Default: true, PreRelease: featuregate.Beta}, OpenAPIV3: {Default: true, PreRelease: featuregate.Beta}, @@ -213,7 +224,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS ServerSideApply: {Default: true, PreRelease: featuregate.GA}, - ServerSideFieldValidation: {Default: false, PreRelease: featuregate.Alpha}, + ServerSideFieldValidation: {Default: true, PreRelease: featuregate.Beta}, StorageVersionAPI: {Default: false, PreRelease: featuregate.Alpha}, diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/registry/generic/registry/store.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/registry/generic/registry/store.go index 67015bbe35cb..03ec793f81fc 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/registry/generic/registry/store.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/registry/generic/registry/store.go @@ -924,13 +924,13 @@ func markAsDeleting(obj runtime.Object, now time.Time) (err error) { // grace period seconds (graceful deletion) and updating the list of // finalizers (finalization); it returns: // -// 1. an error -// 2. a boolean indicating that the object was not found, but it should be -// ignored -// 3. a boolean indicating that the object's grace period is exhausted and it -// should be deleted immediately -// 4. a new output object with the state that was updated -// 5. a copy of the last existing state of the object +// 1. an error +// 2. a boolean indicating that the object was not found, but it should be +// ignored +// 3. a boolean indicating that the object's grace period is exhausted and it +// should be deleted immediately +// 4. a new output object with the state that was updated +// 5. a copy of the last existing state of the object func (e *Store) updateForGracefulDeletionAndFinalizers(ctx context.Context, name, key string, options *metav1.DeleteOptions, preconditions storage.Preconditions, deleteValidation rest.ValidateObjectFunc, in runtime.Object) (err error, ignoreNotFound, deleteImmediately bool, out, lastExisting runtime.Object) { lastGraceful := int64(0) var pendingFinalizers bool diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/config.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/config.go index 60be44a7a21a..d21ea2ef0009 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/config.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/config.go @@ -30,7 +30,7 @@ import ( jsonpatch "github.com/evanphx/json-patch" "github.com/google/uuid" - "go.opentelemetry.io/otel/trace" + oteltrace "go.opentelemetry.io/otel/trace" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" @@ -52,7 +52,6 @@ import ( genericapifilters "k8s.io/apiserver/pkg/endpoints/filters" apiopenapi "k8s.io/apiserver/pkg/endpoints/openapi" apirequest "k8s.io/apiserver/pkg/endpoints/request" - "k8s.io/apiserver/pkg/features" genericfeatures "k8s.io/apiserver/pkg/features" genericregistry "k8s.io/apiserver/pkg/registry/generic" "k8s.io/apiserver/pkg/server/dynamiccertificates" @@ -62,7 +61,6 @@ import ( "k8s.io/apiserver/pkg/server/routes" serverstore "k8s.io/apiserver/pkg/server/storage" "k8s.io/apiserver/pkg/storageversion" - "k8s.io/apiserver/pkg/util/feature" utilfeature "k8s.io/apiserver/pkg/util/feature" utilflowcontrol "k8s.io/apiserver/pkg/util/flowcontrol" flowcontrolrequest "k8s.io/apiserver/pkg/util/flowcontrol/request" @@ -141,7 +139,7 @@ type Config struct { ExternalAddress string // TracerProvider can provide a tracer, which records spans for distributed tracing. - TracerProvider *trace.TracerProvider + TracerProvider oteltrace.TracerProvider //=========================================================================== // Fields you probably don't care about changing @@ -323,7 +321,7 @@ type AuthorizationInfo struct { func NewConfig(codecs serializer.CodecFactory) *Config { defaultHealthChecks := []healthz.HealthChecker{healthz.PingHealthz, healthz.LogHealthz} var id string - if feature.DefaultFeatureGate.Enabled(features.APIServerIdentity) { + if utilfeature.DefaultFeatureGate.Enabled(genericfeatures.APIServerIdentity) { id = "kube-apiserver-" + uuid.New().String() } lifecycleSignals := newLifecycleSignals() @@ -374,6 +372,7 @@ func NewConfig(codecs serializer.CodecFactory) *Config { APIServerID: id, StorageVersionManager: storageversion.NewDefaultManager(), + TracerProvider: oteltrace.NewNoopTracerProvider(), } } @@ -452,11 +451,15 @@ type CompletedConfig struct { // of our configured apiserver. We should prefer this to adding healthChecks directly to // the config unless we explicitly want to add a healthcheck only to a specific health endpoint. func (c *Config) AddHealthChecks(healthChecks ...healthz.HealthChecker) { - for _, check := range healthChecks { - c.HealthzChecks = append(c.HealthzChecks, check) - c.LivezChecks = append(c.LivezChecks, check) - c.ReadyzChecks = append(c.ReadyzChecks, check) - } + c.HealthzChecks = append(c.HealthzChecks, healthChecks...) + c.LivezChecks = append(c.LivezChecks, healthChecks...) + c.ReadyzChecks = append(c.ReadyzChecks, healthChecks...) +} + +// AddReadyzChecks adds a health check to our config to be exposed by the readyz endpoint +// of our configured apiserver. +func (c *Config) AddReadyzChecks(healthChecks ...healthz.HealthChecker) { + c.ReadyzChecks = append(c.ReadyzChecks, healthChecks...) } // AddPostStartHook allows you to add a PostStartHook that will later be added to the server itself in a New call. @@ -717,7 +720,6 @@ func (c completedConfig) New(name string, delegationTarget DelegationTarget) (*G if s.isPostStartHookRegistered(priorityAndFairnessConfigConsumerHookName) { } else if c.FlowControl != nil { err := s.AddPostStartHook(priorityAndFairnessConfigConsumerHookName, func(context PostStartHookContext) error { - go c.FlowControl.MaintainObservations(context.StopCh) go c.FlowControl.Run(context.StopCh) return nil }) @@ -809,7 +811,9 @@ func DefaultBuildHandlerChain(apiHandler http.Handler, c *Config) http.Handler { handler = filterlatency.TrackStarted(handler, "authorization") if c.FlowControl != nil { - requestWorkEstimator := flowcontrolrequest.NewWorkEstimator(c.StorageObjectCountTracker.Get, c.FlowControl.GetInterestedWatchCount) + workEstimatorCfg := flowcontrolrequest.DefaultWorkEstimatorConfig() + requestWorkEstimator := flowcontrolrequest.NewWorkEstimator( + c.StorageObjectCountTracker.Get, c.FlowControl.GetInterestedWatchCount, workEstimatorCfg) handler = filterlatency.TrackCompleted(handler) handler = genericfilters.WithPriorityAndFairness(handler, c.LongRunningFunc, c.FlowControl, requestWorkEstimator) handler = filterlatency.TrackStarted(handler, "priorityandfairness") @@ -890,7 +894,7 @@ func installAPI(s *GenericAPIServer, c *Config) { if c.EnableDiscovery { s.Handler.GoRestfulContainer.Add(s.DiscoveryGroupManager.WebService()) } - if c.FlowControl != nil && feature.DefaultFeatureGate.Enabled(features.APIPriorityAndFairness) { + if c.FlowControl != nil && utilfeature.DefaultFeatureGate.Enabled(genericfeatures.APIPriorityAndFairness) { c.FlowControl.Install(s.Handler.NonGoRestfulMux) } } diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/deleted_kinds.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/deleted_kinds.go index d29831022dce..ab10774cbe0f 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/deleted_kinds.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/deleted_kinds.go @@ -54,10 +54,7 @@ type ResourceExpirationEvaluator interface { } func NewResourceExpirationEvaluator(currentVersion apimachineryversion.Info) (ResourceExpirationEvaluator, error) { - ret := &resourceExpirationEvaluator{ - // TODO https://github.com/kubernetes/kubernetes/issues/109799 set this back to false after beta is tagged. - strictRemovedHandlingInAlpha: true, - } + ret := &resourceExpirationEvaluator{} if len(currentVersion.Major) > 0 { currentMajor64, err := strconv.ParseInt(currentVersion.Major, 10, 32) if err != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/dynamiccertificates/named_certificates.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/dynamiccertificates/named_certificates.go index e8be133c02e7..7b9637bc0e0d 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/dynamiccertificates/named_certificates.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/dynamiccertificates/named_certificates.go @@ -83,9 +83,7 @@ func getCertificateNames(cert *x509.Certificate) []string { if !cnIsIP && cnIsValidDomain { names = append(names, cn) } - for _, san := range cert.DNSNames { - names = append(names, san) - } + names = append(names, cert.DNSNames...) // intentionally all IPs in the cert are ignored as SNI forbids passing IPs // to select a cert. Before go 1.6 the tls happily passed IPs as SNI values. diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/dynamiccertificates/util.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/dynamiccertificates/util.go index 6906045cd29f..4e55a057833a 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/dynamiccertificates/util.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/dynamiccertificates/util.go @@ -50,9 +50,7 @@ func GetHumanCertDetail(certificate *x509.Certificate) string { for _, ip := range certificate.IPAddresses { validServingNames = append(validServingNames, ip.String()) } - for _, dnsName := range certificate.DNSNames { - validServingNames = append(validServingNames, dnsName) - } + validServingNames = append(validServingNames, certificate.DNSNames...) servingString := "" if len(validServingNames) > 0 { servingString = fmt.Sprintf(" validServingFor=[%s]", strings.Join(validServingNames, ",")) diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/egressselector/egress_selector.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/egressselector/egress_selector.go index 1115c66d7017..3f7bd4ad5dc9 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/egressselector/egress_selector.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/egressselector/egress_selector.go @@ -30,6 +30,7 @@ import ( "time" "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" utilnet "k8s.io/apimachinery/pkg/util/net" "k8s.io/apiserver/pkg/apis/apiserver" @@ -214,7 +215,8 @@ func (u *udsGRPCConnector) connect(_ context.Context) (proxier, error) { // we cannot use ctx just for dialing and control the connection lifetime separately. // See https://github.com/kubernetes-sigs/apiserver-network-proxy/issues/357. tunnelCtx := context.TODO() - tunnel, err := client.CreateSingleUseGrpcTunnel(tunnelCtx, udsName, dialOption, grpc.WithInsecure()) + tunnel, err := client.CreateSingleUseGrpcTunnel(tunnelCtx, udsName, dialOption, + grpc.WithTransportCredentials(insecure.NewCredentials())) if err != nil { return nil, err } diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/filters/maxinflight.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/filters/maxinflight.go index acfcf78c3f03..5d7b00ec337d 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/filters/maxinflight.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/filters/maxinflight.go @@ -41,10 +41,6 @@ const ( // the metrics tracks maximal value over period making this // longer will increase the metric value. inflightUsageMetricUpdatePeriod = time.Second - - // How often to run maintenance on observations to ensure - // that they do not fall too far behind. - observationMaintenancePeriod = 10 * time.Second ) var ( @@ -90,9 +86,7 @@ func (w *requestWatermark) recordReadOnly(readOnlyVal int) { // watermark tracks requests being executed (not waiting in a queue) var watermark = &requestWatermark{ - phase: metrics.ExecutingPhase, - readOnlyObserver: fcmetrics.ReadWriteConcurrencyGaugeVec.NewForLabelValuesSafe(0, 1, []string{fcmetrics.LabelValueExecuting, metrics.ReadOnlyKind}), - mutatingObserver: fcmetrics.ReadWriteConcurrencyGaugeVec.NewForLabelValuesSafe(0, 1, []string{fcmetrics.LabelValueExecuting, metrics.MutatingKind}), + phase: metrics.ExecutingPhase, } // startWatermarkMaintenance starts the goroutines to observe and maintain the specified watermark. @@ -108,14 +102,25 @@ func startWatermarkMaintenance(watermark *requestWatermark, stopCh <-chan struct metrics.UpdateInflightRequestMetrics(watermark.phase, readOnlyWatermark, mutatingWatermark) }, inflightUsageMetricUpdatePeriod, stopCh) +} - // Periodically observe the watermarks. This is done to ensure that they do not fall too far behind. When they do - // fall too far behind, then there is a long delay in responding to the next request received while the observer - // catches back up. - go wait.Until(func() { - watermark.readOnlyObserver.Add(0) - watermark.mutatingObserver.Add(0) - }, observationMaintenancePeriod, stopCh) +var initMaxInFlightOnce sync.Once + +func initMaxInFlight(nonMutatingLimit, mutatingLimit int) { + initMaxInFlightOnce.Do(func() { + // Fetching these gauges is delayed until after their underlying metric has been registered + // so that this latches onto the efficient implementation. + watermark.readOnlyObserver = fcmetrics.GetExecutingReadonlyConcurrency() + watermark.mutatingObserver = fcmetrics.GetExecutingMutatingConcurrency() + if nonMutatingLimit != 0 { + watermark.readOnlyObserver.SetDenominator(float64(nonMutatingLimit)) + klog.V(2).InfoS("Set denominator for readonly requests", "limit", nonMutatingLimit) + } + if mutatingLimit != 0 { + watermark.mutatingObserver.SetDenominator(float64(mutatingLimit)) + klog.V(2).InfoS("Set denominator for mutating requests", "limit", mutatingLimit) + } + }) } // WithMaxInFlightLimit limits the number of in-flight requests to buffer size of the passed in channel. @@ -132,12 +137,17 @@ func WithMaxInFlightLimit( var mutatingChan chan bool if nonMutatingLimit != 0 { nonMutatingChan = make(chan bool, nonMutatingLimit) - watermark.readOnlyObserver.SetDenominator(float64(nonMutatingLimit)) + klog.V(2).InfoS("Initialized nonMutatingChan", "len", nonMutatingLimit) + } else { + klog.V(2).InfoS("Running with nil nonMutatingChan") } if mutatingLimit != 0 { mutatingChan = make(chan bool, mutatingLimit) - watermark.mutatingObserver.SetDenominator(float64(mutatingLimit)) + klog.V(2).InfoS("Initialized mutatingChan", "len", mutatingLimit) + } else { + klog.V(2).InfoS("Running with nil mutatingChan") } + initMaxInFlight(nonMutatingLimit, mutatingLimit) return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { ctx := r.Context() diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go index bd3116ed5fee..f62b809ce61f 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go @@ -21,6 +21,7 @@ import ( "fmt" "net/http" "runtime" + "sync" "sync/atomic" "time" @@ -46,9 +47,7 @@ type PriorityAndFairnessClassification struct { // waitingMark tracks requests waiting rather than being executed var waitingMark = &requestWatermark{ - phase: epmetrics.WaitingPhase, - readOnlyObserver: fcmetrics.ReadWriteConcurrencyGaugeVec.NewForLabelValuesSafe(0, 1, []string{fcmetrics.LabelValueWaiting, epmetrics.ReadOnlyKind}), - mutatingObserver: fcmetrics.ReadWriteConcurrencyGaugeVec.NewForLabelValuesSafe(0, 1, []string{fcmetrics.LabelValueWaiting, epmetrics.MutatingKind}), + phase: epmetrics.WaitingPhase, } var atomicMutatingExecuting, atomicReadOnlyExecuting int32 @@ -66,6 +65,8 @@ func truncateLogField(s string) string { return s } +var initAPFOnce sync.Once + // WithPriorityAndFairness limits the number of in-flight // requests in a fine-grained way. func WithPriorityAndFairness( @@ -78,6 +79,13 @@ func WithPriorityAndFairness( klog.Warningf("priority and fairness support not found, skipping") return handler } + initAPFOnce.Do(func() { + initMaxInFlight(0, 0) + // Fetching these gauges is delayed until after their underlying metric has been registered + // so that this latches onto the efficient implementation. + waitingMark.readOnlyObserver = fcmetrics.GetWaitingReadonlyConcurrency() + waitingMark.mutatingObserver = fcmetrics.GetWaitingMutatingConcurrency() + }) return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { ctx := r.Context() requestInfo, ok := apirequest.RequestInfoFrom(ctx) @@ -125,14 +133,10 @@ func WithPriorityAndFairness( workEstimate := workEstimator(r, classification.FlowSchemaName, classification.PriorityLevelName) fcmetrics.ObserveWorkEstimatedSeats(classification.PriorityLevelName, classification.FlowSchemaName, workEstimate.MaxSeats()) - // nolint:logcheck // Not using the result of klog.V - // inside the if branch is okay, we just use it to - // determine whether the additional information should - // be added. - if klog.V(4).Enabled() { - httplog.AddKeyValue(ctx, "apf_iseats", workEstimate.InitialSeats) - httplog.AddKeyValue(ctx, "apf_fseats", workEstimate.FinalSeats) - } + httplog.AddKeyValue(ctx, "apf_iseats", workEstimate.InitialSeats) + httplog.AddKeyValue(ctx, "apf_fseats", workEstimate.FinalSeats) + httplog.AddKeyValue(ctx, "apf_additionalLatency", workEstimate.AdditionalLatency) + return workEstimate } diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/filters/wrap.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/filters/wrap.go index b31f262edf5e..e868deea3c97 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/filters/wrap.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/filters/wrap.go @@ -50,11 +50,11 @@ func WithPanicRecovery(handler http.Handler, resolver request.RequestInfoResolve // This call can have different handlers, but the default chain rate limits. Call it after the metrics are updated // in case the rate limit delays it. If you outrun the rate for this one timed out requests, something has gone // seriously wrong with your server, but generally having a logging signal for timeouts is useful. - runtime.HandleError(fmt.Errorf("timeout or abort while handling: method=%v URI=%q audit-ID=%q", req.Method, req.RequestURI, request.GetAuditIDTruncated(req))) + runtime.HandleError(fmt.Errorf("timeout or abort while handling: method=%v URI=%q audit-ID=%q", req.Method, req.RequestURI, request.GetAuditIDTruncated(req.Context()))) return } http.Error(w, "This request caused apiserver to panic. Look in the logs for details.", http.StatusInternalServerError) - klog.ErrorS(nil, "apiserver panic'd", "method", req.Method, "URI", req.RequestURI, "audit-ID", request.GetAuditIDTruncated(req)) + klog.ErrorS(nil, "apiserver panic'd", "method", req.Method, "URI", req.RequestURI, "audit-ID", request.GetAuditIDTruncated(req.Context())) }) } diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/genericapiserver.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/genericapiserver.go index 7c62b621ccc9..dbcbcbd89549 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/genericapiserver.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/genericapiserver.go @@ -418,41 +418,44 @@ func (s *GenericAPIServer) PrepareRun() preparedGenericAPIServer { // or the secure port cannot be listened on initially. // This is the diagram of what channels/signals are dependent on each other: // -// stopCh -// | -// --------------------------------------------------------- -// | | -// ShutdownInitiated (shutdownInitiatedCh) | -// | | +// stopCh +// | +// --------------------------------------------------------- +// | | +// ShutdownInitiated (shutdownInitiatedCh) | +// | | +// // (ShutdownDelayDuration) (PreShutdownHooks) -// | | -// AfterShutdownDelayDuration (delayedStopCh) PreShutdownHooksStopped (preShutdownHooksHasStoppedCh) -// | | -// |-------------------------------------------------------| -// | -// | -// NotAcceptingNewRequest (notAcceptingNewRequestCh) -// | -// | -// |---------------------------------------------------------| -// | | | | -// [without [with | | +// +// | | +// AfterShutdownDelayDuration (delayedStopCh) PreShutdownHooksStopped (preShutdownHooksHasStoppedCh) +// | | +// |-------------------------------------------------------| +// | +// | +// NotAcceptingNewRequest (notAcceptingNewRequestCh) +// | +// | +// |---------------------------------------------------------| +// | | | | +// [without [with | | +// // ShutdownSendRetryAfter] ShutdownSendRetryAfter] | | -// | | | | -// | ---------------| | -// | | | -// | (HandlerChainWaitGroup::Wait) | -// | | | -// | InFlightRequestsDrained (drainedCh) | -// | | | -// ----------------------------------------|-----------------| -// | | -// stopHttpServerCh (AuditBackend::Shutdown()) -// | -// listenerStoppedCh -// | -// HTTPServerStoppedListening (httpServerStoppedListeningCh) // +// | | | | +// | ---------------| | +// | | | +// | (HandlerChainWaitGroup::Wait) | +// | | | +// | InFlightRequestsDrained (drainedCh) | +// | | | +// ----------------------------------------|-----------------| +// | | +// stopHttpServerCh (AuditBackend::Shutdown()) +// | +// listenerStoppedCh +// | +// HTTPServerStoppedListening (httpServerStoppedListeningCh) func (s preparedGenericAPIServer) Run(stopCh <-chan struct{}) error { delayedStopCh := s.lifecycleSignals.AfterShutdownDelayDuration shutdownInitiatedCh := s.lifecycleSignals.ShutdownInitiated diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/handler.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/handler.go index be52f81e0276..9f37df1cdff3 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/handler.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/handler.go @@ -154,7 +154,7 @@ func (d director) ServeHTTP(w http.ResponseWriter, req *http.Request) { d.nonGoRestfulMux.ServeHTTP(w, req) } -//TODO: Unify with RecoverPanics? +// TODO: Unify with RecoverPanics? func logStackOnRecover(s runtime.NegotiatedSerializer, panicReason interface{}, w http.ResponseWriter) { var buffer bytes.Buffer buffer.WriteString(fmt.Sprintf("recover from panic situation: - %v\r\n", panicReason)) diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/healthz/doc.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/healthz/doc.go index d938caa37139..ad3f00187335 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/healthz/doc.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/healthz/doc.go @@ -16,6 +16,7 @@ limitations under the License. // Package healthz implements basic http server health checking. // Usage: -// import "k8s.io/apiserver/pkg/server/healthz" -// healthz.InstallHandler(mux) +// +// import "k8s.io/apiserver/pkg/server/healthz" +// healthz.InstallHandler(mux) package healthz // import "k8s.io/apiserver/pkg/server/healthz" diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/hooks.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/hooks.go index 999ad36000c9..b33ddd046187 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/hooks.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/hooks.go @@ -35,6 +35,7 @@ import ( // 2. conflicts between the different processes all trying to perform the same action // 3. partially complete work (API server crashes while running your hook) // 4. API server access **BEFORE** your hook has completed +// // Think of it like a mini-controller that is super privileged and gets to run in-process // If you use this feature, tag @deads2k on github who has promised to review code for anyone's PostStartHook // until it becomes easier to use. diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/httplog/httplog.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/httplog/httplog.go index 5a290fb63b1d..9256ab4c621d 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/httplog/httplog.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/httplog/httplog.go @@ -239,7 +239,7 @@ func SetStacktracePredicate(ctx context.Context, pred StacktracePred) { // Log is intended to be called once at the end of your request handler, via defer func (rl *respLogger) Log() { latency := time.Since(rl.startTime) - auditID := request.GetAuditIDTruncated(rl.req) + auditID := request.GetAuditIDTruncated(rl.req.Context()) verb := rl.req.Method if requestInfo, ok := request.RequestInfoFrom(rl.req.Context()); ok { diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/lifecycle_signals.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/lifecycle_signals.go index d39efa5be21b..ce4c1b4a6ed5 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/lifecycle_signals.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/lifecycle_signals.go @@ -107,8 +107,8 @@ type lifecycleSignal interface { // for us to write unit tests that can verify expected graceful termination behavior. // // GenericAPIServer can use these to either: -// - signal that a particular termination event has transpired -// - wait for a designated termination event to transpire and do some action. +// - signal that a particular termination event has transpired +// - wait for a designated termination event to transpire and do some action. type lifecycleSignals struct { // ShutdownInitiated event is signaled when an apiserver shutdown has been initiated. // It is signaled when the `stopCh` provided by the main goroutine diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/admission.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/admission.go index 2d77e68979c1..c265677bbbfc 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/admission.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/admission.go @@ -70,12 +70,13 @@ type AdmissionOptions struct { // NewAdmissionOptions creates a new instance of AdmissionOptions // Note: -// In addition it calls RegisterAllAdmissionPlugins to register -// all generic admission plugins. // -// Provides the list of RecommendedPluginOrder that holds sane values -// that can be used by servers that don't care about admission chain. -// Servers that do care can overwrite/append that field after creation. +// In addition it calls RegisterAllAdmissionPlugins to register +// all generic admission plugins. +// +// Provides the list of RecommendedPluginOrder that holds sane values +// that can be used by servers that don't care about admission chain. +// Servers that do care can overwrite/append that field after creation. func NewAdmissionOptions() *AdmissionOptions { options := &AdmissionOptions{ Plugins: admission.NewPlugins(), @@ -115,7 +116,8 @@ func (a *AdmissionOptions) AddFlags(fs *pflag.FlagSet) { // In case admission plugin names were not provided by a cluster-admin they will be prepared from the recommended/default values. // In addition the method lazily initializes a generic plugin that is appended to the list of pluginInitializers // note this method uses: -// genericconfig.Authorizer +// +// genericconfig.Authorizer func (a *AdmissionOptions) ApplyTo( c *server.Config, informers informers.SharedInformerFactory, @@ -220,7 +222,7 @@ func (a *AdmissionOptions) enabledPluginNames() []string { return orderedPlugins } -//Return names of plugins which are enabled by default +// Return names of plugins which are enabled by default func (a *AdmissionOptions) defaultEnabledPluginNames() []string { defaultOnPluginNames := []string{} for _, pluginName := range a.RecommendedPluginOrder { diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/audit.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/audit.go index 06e7f940862b..f3c9adba04fc 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/audit.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/audit.go @@ -20,6 +20,7 @@ import ( "fmt" "io" "os" + "path/filepath" "strings" "time" @@ -525,6 +526,9 @@ func (o *AuditLogOptions) getWriter() (io.Writer, error) { } func (o *AuditLogOptions) ensureLogFile() error { + if err := os.MkdirAll(filepath.Dir(o.Path), 0700); err != nil { + return err + } mode := os.FileMode(0600) f, err := os.OpenFile(o.Path, os.O_CREATE|os.O_APPEND|os.O_RDWR, mode) if err != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/authorization.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/authorization.go index 6a3f5a4bb55d..c31ce47f8ca3 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/authorization.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/authorization.go @@ -38,8 +38,9 @@ import ( // DelegatingAuthorizationOptions provides an easy way for composing API servers to delegate their authorization to // the root kube API server. // WARNING: never assume that every authenticated incoming request already does authorization. -// The aggregator in the kube API server does this today, but this behaviour is not -// guaranteed in the future. +// +// The aggregator in the kube API server does this today, but this behaviour is not +// guaranteed in the future. type DelegatingAuthorizationOptions struct { // RemoteKubeConfigFile is the file to use to connect to a "normal" kube API server which hosts the // SubjectAccessReview.authorization.k8s.io endpoint for checking tokens. diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/coreapi.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/coreapi.go index c1293980f7da..12a65517e1f2 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/coreapi.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/coreapi.go @@ -28,7 +28,7 @@ import ( clientgoclientset "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" - "k8s.io/component-base/traces" + tracing "k8s.io/component-base/tracing" ) // CoreAPIOptions contains options to configure the connection to a core API Kubernetes apiserver. @@ -73,7 +73,7 @@ func (o *CoreAPIOptions) ApplyTo(config *server.RecommendedConfig) error { } } if feature.DefaultFeatureGate.Enabled(features.APIServerTracing) { - kubeconfig.Wrap(traces.WrapperFor(config.TracerProvider)) + kubeconfig.Wrap(tracing.WrapperFor(config.TracerProvider)) } clientgoExternalClient, err := clientgoclientset.NewForConfig(kubeconfig) if err != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go index 6b7857e35408..1ce4795c33f8 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go @@ -37,12 +37,15 @@ import ( apiserverconfig "k8s.io/apiserver/pkg/apis/config" apiserverconfigv1 "k8s.io/apiserver/pkg/apis/config/v1" "k8s.io/apiserver/pkg/apis/config/validation" + "k8s.io/apiserver/pkg/features" "k8s.io/apiserver/pkg/server/healthz" "k8s.io/apiserver/pkg/storage/value" aestransformer "k8s.io/apiserver/pkg/storage/value/encrypt/aes" "k8s.io/apiserver/pkg/storage/value/encrypt/envelope" + envelopekmsv2 "k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2" "k8s.io/apiserver/pkg/storage/value/encrypt/identity" "k8s.io/apiserver/pkg/storage/value/encrypt/secretbox" + utilfeature "k8s.io/apiserver/pkg/util/feature" ) const ( @@ -50,8 +53,11 @@ const ( aesGCMTransformerPrefixV1 = "k8s:enc:aesgcm:v1:" secretboxTransformerPrefixV1 = "k8s:enc:secretbox:v1:" kmsTransformerPrefixV1 = "k8s:enc:kms:v1:" + kmsTransformerPrefixV2 = "k8s:enc:kms:v2:" kmsPluginHealthzNegativeTTL = 3 * time.Second kmsPluginHealthzPositiveTTL = 20 * time.Second + kmsAPIVersionV1 = "v1" + kmsAPIVersionV2 = "v2" ) type kmsPluginHealthzResponse struct { @@ -67,12 +73,26 @@ type kmsPluginProbe struct { l *sync.Mutex } +type kmsv2PluginProbe struct { + name string + ttl time.Duration + envelopekmsv2.Service + lastResponse *kmsPluginHealthzResponse + l *sync.Mutex +} + func (h *kmsPluginProbe) toHealthzCheck(idx int) healthz.HealthChecker { return healthz.NamedCheck(fmt.Sprintf("kms-provider-%d", idx), func(r *http.Request) error { return h.Check() }) } +func (p *kmsv2PluginProbe) toHealthzCheck(idx int) healthz.HealthChecker { + return healthz.NamedCheck(fmt.Sprintf("kms-provider-%d", idx), func(r *http.Request) error { + return p.Check() + }) +} + // GetKMSPluginHealthzCheckers extracts KMSPluginProbes from the EncryptionConfig. func GetKMSPluginHealthzCheckers(filepath string) ([]healthz.HealthChecker, error) { f, err := os.Open(filepath) @@ -80,47 +100,79 @@ func GetKMSPluginHealthzCheckers(filepath string) ([]healthz.HealthChecker, erro return nil, fmt.Errorf("error opening encryption provider configuration file %q: %v", filepath, err) } defer f.Close() + var result []healthz.HealthChecker probes, err := getKMSPluginProbes(f) if err != nil { return nil, err } - for i, p := range probes { probe := p - result = append(result, probe.toHealthzCheck(i)) + switch t := probe.(type) { + case *kmsPluginProbe: + result = append(result, t.toHealthzCheck(i)) + case *kmsv2PluginProbe: + result = append(result, t.toHealthzCheck(i)) + default: + return nil, fmt.Errorf("unsupported KMS plugin type: %T", t) + } } + return result, nil } -func getKMSPluginProbes(reader io.Reader) ([]*kmsPluginProbe, error) { - var result []*kmsPluginProbe +func getKMSPluginProbes(reader io.Reader) ([]interface{}, error) { + var result []interface{} configFileContents, err := ioutil.ReadAll(reader) if err != nil { - return result, fmt.Errorf("could not read content of encryption provider configuration: %v", err) + return nil, fmt.Errorf("could not read content of encryption provider configuration: %v", err) } config, err := loadConfig(configFileContents) if err != nil { - return result, fmt.Errorf("error while parsing encryption provider configuration: %v", err) + return nil, fmt.Errorf("error while parsing encryption provider configuration: %v", err) } for _, r := range config.Resources { for _, p := range r.Providers { if p.KMS != nil { - s, err := envelope.NewGRPCService(p.KMS.Endpoint, p.KMS.Timeout.Duration) - if err != nil { - return nil, fmt.Errorf("could not configure KMS-Plugin's probe %q, error: %v", p.KMS.Name, err) + switch p.KMS.APIVersion { + case kmsAPIVersionV1: + s, err := envelope.NewGRPCService(p.KMS.Endpoint, p.KMS.Timeout.Duration) + if err != nil { + return nil, fmt.Errorf("could not configure KMSv1-Plugin's probe %q, error: %v", p.KMS.Name, err) + } + + result = append(result, &kmsPluginProbe{ + name: p.KMS.Name, + ttl: kmsPluginHealthzNegativeTTL, + Service: s, + l: &sync.Mutex{}, + lastResponse: &kmsPluginHealthzResponse{}, + }) + + case kmsAPIVersionV2: + if !utilfeature.DefaultFeatureGate.Enabled(features.KMSv2) { + return nil, fmt.Errorf("could not configure KMSv2-Plugin's probe %q, KMSv2 feature is not enabled", p.KMS.Name) + } + + s, err := envelopekmsv2.NewGRPCService(p.KMS.Endpoint, p.KMS.Timeout.Duration) + if err != nil { + return nil, fmt.Errorf("could not configure KMSv2-Plugin's probe %q, error: %v", p.KMS.Name, err) + } + + result = append(result, &kmsv2PluginProbe{ + name: p.KMS.Name, + ttl: kmsPluginHealthzNegativeTTL, + Service: s, + l: &sync.Mutex{}, + lastResponse: &kmsPluginHealthzResponse{}, + }) + + default: + return nil, fmt.Errorf("could not configure KMS Plugin's probe %q, unsupported KMS API version %q", p.KMS.Name, p.KMS.APIVersion) } - - result = append(result, &kmsPluginProbe{ - name: p.KMS.Name, - ttl: kmsPluginHealthzNegativeTTL, - Service: s, - l: &sync.Mutex{}, - lastResponse: &kmsPluginHealthzResponse{}, - }) } } } @@ -155,6 +207,53 @@ func (h *kmsPluginProbe) Check() error { return nil } +// Check gets the healthz status of the KMSv2-Plugin using the Status() method. +func (h *kmsv2PluginProbe) Check() error { + h.l.Lock() + defer h.l.Unlock() + + if (time.Since(h.lastResponse.received)) < h.ttl { + return h.lastResponse.err + } + + ctx := context.Background() + p, err := h.Service.Status(ctx) + if err != nil { + h.lastResponse = &kmsPluginHealthzResponse{err: err, received: time.Now()} + h.ttl = kmsPluginHealthzNegativeTTL + return fmt.Errorf("failed to perform status section of the healthz check for KMS Provider %s, error: %v", h.name, err) + } + + if err := isKMSv2ProviderHealthy(h.name, p); err != nil { + h.lastResponse = &kmsPluginHealthzResponse{err: err, received: time.Now()} + h.ttl = kmsPluginHealthzNegativeTTL + return err + } + + h.lastResponse = &kmsPluginHealthzResponse{err: nil, received: time.Now()} + h.ttl = kmsPluginHealthzPositiveTTL + return nil +} + +// isKMSv2ProviderHealthy checks if the KMSv2-Plugin is healthy. +func isKMSv2ProviderHealthy(name string, response *envelopekmsv2.StatusResponse) error { + var errs []error + if response.Healthz != "ok" { + errs = append(errs, fmt.Errorf("got unexpected healthz status: %s", response.Healthz)) + } + if response.Version != envelopekmsv2.KMSAPIVersion { + errs = append(errs, fmt.Errorf("expected KMSv2 API version %s, got %s", envelopekmsv2.KMSAPIVersion, response.Version)) + } + if len(response.KeyID) == 0 { + errs = append(errs, fmt.Errorf("expected KMSv2 KeyID to be set, got %s", response.KeyID)) + } + + if err := utilerrors.Reduce(utilerrors.NewAggregate(errs)); err != nil { + return fmt.Errorf("kmsv2 Provider %s is not healthy, error: %v", name, err) + } + return nil +} + // GetTransformerOverrides returns the transformer overrides by reading and parsing the encryption provider configuration file func GetTransformerOverrides(filepath string) (map[schema.GroupResource]value.Transformer, error) { f, err := os.Open(filepath) @@ -224,8 +323,13 @@ func loadConfig(data []byte) (*apiserverconfig.EncryptionConfiguration, error) { return config, validation.ValidateEncryptionConfiguration(config).ToAggregate() } -// The factory to create kms service. This is to make writing test easier. -var envelopeServiceFactory = envelope.NewGRPCService +var ( + // The factory to create kms service. This is to make writing test easier. + envelopeServiceFactory = envelope.NewGRPCService + + // The factory to create kmsv2 service. + envelopeKMSv2ServiceFactory = envelopekmsv2.NewGRPCService +) func prefixTransformers(config *apiserverconfig.ResourceConfiguration) ([]value.PrefixTransformer, error) { var result []value.PrefixTransformer @@ -243,13 +347,26 @@ func prefixTransformers(config *apiserverconfig.ResourceConfiguration) ([]value. case provider.Secretbox != nil: transformer, err = secretboxPrefixTransformer(provider.Secretbox) case provider.KMS != nil: - var envelopeService envelope.Service - envelopeService, err = envelopeServiceFactory(provider.KMS.Endpoint, provider.KMS.Timeout.Duration) - if err != nil { - return nil, fmt.Errorf("could not configure KMS plugin %q, error: %v", provider.KMS.Name, err) - } + switch provider.KMS.APIVersion { + case kmsAPIVersionV1: + var envelopeService envelope.Service + if envelopeService, err = envelopeServiceFactory(provider.KMS.Endpoint, provider.KMS.Timeout.Duration); err != nil { + return nil, fmt.Errorf("could not configure KMS plugin %q, error: %v", provider.KMS.Name, err) + } + transformer, err = envelopePrefixTransformer(provider.KMS, envelopeService, kmsTransformerPrefixV1) + case kmsAPIVersionV2: + if !utilfeature.DefaultFeatureGate.Enabled(features.KMSv2) { + return nil, fmt.Errorf("could not configure KMSv2 plugin %q, KMSv2 feature is not enabled", provider.KMS.Name) + } - transformer, err = envelopePrefixTransformer(provider.KMS, envelopeService, kmsTransformerPrefixV1) + var envelopeService envelopekmsv2.Service + if envelopeService, err = envelopeKMSv2ServiceFactory(provider.KMS.Endpoint, provider.KMS.Timeout.Duration); err != nil { + return nil, fmt.Errorf("could not configure KMSv2 plugin %q, error: %v", provider.KMS.Name, err) + } + transformer, err = envelopekmsv2PrefixTransformer(provider.KMS, envelopeService, kmsTransformerPrefixV2) + default: + return nil, fmt.Errorf("could not configure KMS plugin %q, unsupported KMS API version %q", provider.KMS.Name, provider.KMS.APIVersion) + } case provider.Identity != nil: transformer = value.PrefixTransformer{ Transformer: identity.NewEncryptCheckTransformer(), @@ -369,8 +486,10 @@ func secretboxPrefixTransformer(config *apiserverconfig.SecretboxConfiguration) func envelopePrefixTransformer(config *apiserverconfig.KMSConfiguration, envelopeService envelope.Service, prefix string) (value.PrefixTransformer, error) { baseTransformerFunc := func(block cipher.Block) value.Transformer { // v1.24: write using AES-CBC only but support reads via AES-CBC and AES-GCM (so we can move to AES-GCM) - // TODO(aramase): swap this ordering in v1.25 - return unionTransformers{aestransformer.NewCBCTransformer(block), aestransformer.NewGCMTransformer(block)} + // v1.25: write using AES-GCM only but support reads via AES-GCM and fallback to AES-CBC for backwards compatibility + // TODO(aramase): Post v1.25: We cannot drop CBC read support until we automate storage migration. + // We could have a release note that hard requires users to perform storage migration. + return unionTransformers{aestransformer.NewGCMTransformer(block), aestransformer.NewCBCTransformer(block)} } envelopeTransformer, err := envelope.NewEnvelopeTransformer(envelopeService, int(*config.CacheSize), baseTransformerFunc) @@ -383,6 +502,18 @@ func envelopePrefixTransformer(config *apiserverconfig.KMSConfiguration, envelop }, nil } +func envelopekmsv2PrefixTransformer(config *apiserverconfig.KMSConfiguration, envelopeService envelopekmsv2.Service, prefix string) (value.PrefixTransformer, error) { + // using AES-GCM by default for encrypting data with KMSv2 + envelopeTransformer, err := envelopekmsv2.NewEnvelopeTransformer(envelopeService, int(*config.CacheSize), aestransformer.NewGCMTransformer) + if err != nil { + return value.PrefixTransformer{}, err + } + return value.PrefixTransformer{ + Transformer: envelopeTransformer, + Prefix: []byte(prefix + config.Name + ":"), + }, nil +} + type unionTransformers []value.Transformer func (u unionTransformers) TransformFromStorage(ctx context.Context, data []byte, dataCtx value.Context) (out []byte, stale bool, err error) { diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/etcd.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/etcd.go index ed108badf5ee..00c43324b6f0 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/etcd.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/etcd.go @@ -183,6 +183,9 @@ func (s *EtcdOptions) AddFlags(fs *pflag.FlagSet) { fs.DurationVar(&s.StorageConfig.HealthcheckTimeout, "etcd-healthcheck-timeout", s.StorageConfig.HealthcheckTimeout, "The timeout to use when checking etcd health.") + fs.DurationVar(&s.StorageConfig.ReadycheckTimeout, "etcd-readycheck-timeout", s.StorageConfig.ReadycheckTimeout, + "The timeout to use when checking etcd readiness") + fs.Int64Var(&s.StorageConfig.LeaseManagerConfig.ReuseDurationSeconds, "lease-reuse-duration-seconds", s.StorageConfig.LeaseManagerConfig.ReuseDurationSeconds, "The time in seconds that each lease is reused. A lower value could avoid large number of objects reusing the same lease. Notice that a too small value may cause performance problems at storage layer.") } @@ -234,6 +237,14 @@ func (s *EtcdOptions) addEtcdHealthEndpoint(c *server.Config) error { return healthCheck() })) + readyCheck, err := storagefactory.CreateReadyCheck(s.StorageConfig, c.DrainedNotify()) + if err != nil { + return err + } + c.AddReadyzChecks(healthz.NamedCheck("etcd-readiness", func(r *http.Request) error { + return readyCheck() + })) + if s.EncryptionProviderConfigFilepath != "" { kmsPluginHealthzChecks, err := encryptionconfig.GetKMSPluginHealthzCheckers(s.EncryptionProviderConfigFilepath) if err != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/recommended.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/recommended.go index 0d9c6ca9f40f..4c8e1e2a3e73 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/recommended.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/recommended.go @@ -107,10 +107,8 @@ func (o *RecommendedOptions) ApplyTo(config *server.RecommendedConfig) error { if err := o.EgressSelector.ApplyTo(&config.Config); err != nil { return err } - if feature.DefaultFeatureGate.Enabled(features.APIServerTracing) { - if err := o.Traces.ApplyTo(config.Config.EgressSelector, &config.Config); err != nil { - return err - } + if err := o.Traces.ApplyTo(config.Config.EgressSelector, &config.Config); err != nil { + return err } if err := o.SecureServing.ApplyTo(&config.Config.SecureServing, &config.Config.LoopbackClientConfig); err != nil { return err diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/tracing.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/tracing.go index bea7f363a93b..379691a08034 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/tracing.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/server/options/tracing.go @@ -19,24 +19,39 @@ package options import ( "context" "fmt" + "io/ioutil" "net" "github.com/spf13/pflag" "go.opentelemetry.io/otel/exporters/otlp/otlpgrpc" "go.opentelemetry.io/otel/sdk/resource" - sdktrace "go.opentelemetry.io/otel/sdk/trace" "go.opentelemetry.io/otel/semconv" "google.golang.org/grpc" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/serializer" + "k8s.io/apiserver/pkg/apis/apiserver" + "k8s.io/apiserver/pkg/apis/apiserver/install" + "k8s.io/apiserver/pkg/features" "k8s.io/apiserver/pkg/server" "k8s.io/apiserver/pkg/server/egressselector" - "k8s.io/apiserver/pkg/tracing" - "k8s.io/component-base/traces" + "k8s.io/apiserver/pkg/util/feature" + tracing "k8s.io/component-base/tracing" + tracingapi "k8s.io/component-base/tracing/api/v1" "k8s.io/utils/path" ) const apiserverService = "apiserver" +var ( + cfgScheme = runtime.NewScheme() + codecs = serializer.NewCodecFactory(cfgScheme) +) + +func init() { + install.Install(cfgScheme) +} + // TracingOptions contain configuration options for tracing // exporters type TracingOptions struct { @@ -64,21 +79,21 @@ func (o *TracingOptions) ApplyTo(es *egressselector.EgressSelector, c *server.Co if o == nil || o.ConfigFile == "" { return nil } + if !feature.DefaultFeatureGate.Enabled(features.APIServerTracing) { + return fmt.Errorf("APIServerTracing feature is not enabled, but tracing config file was provided") + } - npConfig, err := tracing.ReadTracingConfiguration(o.ConfigFile) + traceConfig, err := ReadTracingConfiguration(o.ConfigFile) if err != nil { return fmt.Errorf("failed to read tracing config: %v", err) } - errs := tracing.ValidateTracingConfiguration(npConfig) + errs := tracingapi.ValidateTracingConfiguration(traceConfig, feature.DefaultFeatureGate, nil) if len(errs) > 0 { return fmt.Errorf("failed to validate tracing configuration: %v", errs.ToAggregate()) } opts := []otlpgrpc.Option{} - if npConfig.Endpoint != nil { - opts = append(opts, otlpgrpc.WithEndpoint(*npConfig.Endpoint)) - } if es != nil { // Only use the egressselector dialer if egressselector is enabled. // Endpoint is on the "ControlPlane" network @@ -93,21 +108,19 @@ func (o *TracingOptions) ApplyTo(es *egressselector.EgressSelector, c *server.Co opts = append(opts, otlpgrpc.WithDialOption(grpc.WithContextDialer(otelDialer))) } - sampler := sdktrace.NeverSample() - if npConfig.SamplingRatePerMillion != nil && *npConfig.SamplingRatePerMillion > 0 { - sampler = sdktrace.TraceIDRatioBased(float64(*npConfig.SamplingRatePerMillion) / float64(1000000)) - } - resourceOpts := []resource.Option{ resource.WithAttributes( semconv.ServiceNameKey.String(apiserverService), semconv.ServiceInstanceIDKey.String(c.APIServerID), ), } - tp := traces.NewProvider(context.Background(), sampler, resourceOpts, opts...) - c.TracerProvider = &tp + tp, err := tracing.NewProvider(context.Background(), traceConfig, opts, resourceOpts) + if err != nil { + return err + } + c.TracerProvider = tp if c.LoopbackClientConfig != nil { - c.LoopbackClientConfig.Wrap(traces.WrapperFor(c.TracerProvider)) + c.LoopbackClientConfig.Wrap(tracing.WrapperFor(c.TracerProvider)) } return nil } @@ -125,3 +138,24 @@ func (o *TracingOptions) Validate() (errs []error) { } return } + +// ReadTracingConfiguration reads the tracing configuration from a file +func ReadTracingConfiguration(configFilePath string) (*tracingapi.TracingConfiguration, error) { + if configFilePath == "" { + return nil, fmt.Errorf("tracing config file was empty") + } + data, err := ioutil.ReadFile(configFilePath) + if err != nil { + return nil, fmt.Errorf("unable to read tracing configuration from %q: %v", configFilePath, err) + } + internalConfig := &apiserver.TracingConfiguration{} + // this handles json/yaml/whatever, and decodes all registered version to the internal version + if err := runtime.DecodeInto(codecs.UniversalDecoder(), data, internalConfig); err != nil { + return nil, fmt.Errorf("unable to decode tracing configuration data: %v", err) + } + tc := &tracingapi.TracingConfiguration{ + Endpoint: internalConfig.Endpoint, + SamplingRatePerMillion: internalConfig.SamplingRatePerMillion, + } + return tc, nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/cacher.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/cacher.go index dfd620a3ca12..24dd64d9e66b 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/cacher.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/cacher.go @@ -34,6 +34,7 @@ import ( utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/apimachinery/pkg/watch" + endpointsrequest "k8s.io/apiserver/pkg/endpoints/request" "k8s.io/apiserver/pkg/features" "k8s.io/apiserver/pkg/storage" "k8s.io/apiserver/pkg/storage/cacher/metrics" @@ -46,7 +47,7 @@ import ( ) var ( - emptyFunc = func() {} + emptyFunc = func(bool) {} ) const ( @@ -146,6 +147,10 @@ func (i *indexedWatchers) deleteWatcher(number int, value string, supported bool } func (i *indexedWatchers) terminateAll(objectType reflect.Type, done func(*cacheWatcher)) { + // note that we don't have to call setDrainInputBufferLocked method on the watchers + // because we take advantage of the default value - stop immediately + // also watchers that have had already its draining strategy set + // are no longer available (they were removed from the allWatchers and the valueWatchers maps) if len(i.allWatchers) > 0 || len(i.valueWatchers) > 0 { klog.Warningf("Terminating all watchers from cacher %v", objectType) } @@ -182,6 +187,10 @@ func newTimeBucketWatchers(clock clock.Clock, bookmarkFrequency time.Duration) * // adds a watcher to the bucket, if the deadline is before the start, it will be // added to the first one. func (t *watcherBookmarkTimeBuckets) addWatcher(w *cacheWatcher) bool { + // note that the returned time can be before t.createTime, + // especially in cases when the nextBookmarkTime method + // give us the zero value of type Time + // so buckedID can hold a negative value nextTime, ok := w.nextBookmarkTime(t.clock.Now(), t.bookmarkFrequency) if !ok { return false @@ -296,6 +305,8 @@ type Cacher struct { watchersToStop []*cacheWatcher // Maintain a timeout queue to send the bookmark event before the watcher times out. bookmarkWatchers *watcherBookmarkTimeBuckets + // expiredBookmarkWatchers is a list of watchers that were expired and need to be schedule for a next bookmark event + expiredBookmarkWatchers []*cacheWatcher } // NewCacherFromConfig creates a new Cacher responsible for servicing WATCH and LIST requests from @@ -374,6 +385,10 @@ func NewCacherFromConfig(config Config) (*Cacher, error) { // Configure reflector's pager to for an appropriate pagination chunk size for fetching data from // storage. The pager falls back to full list if paginated list calls fail due to an "Expired" error. reflector.WatchListPageSize = storageWatchListPageSize + // When etcd loses leader for 3 cycles, it returns error "no leader". + // We don't want to terminate all watchers as recreating all watchers puts high load on api-server. + // In most of the cases, leader is reelected within few cycles. + reflector.MaxInternalErrorRetryDuration = time.Second * 30 cacher.watchCache = watchCache cacher.reflector = reflector @@ -477,21 +492,12 @@ func (c *Cacher) Watch(ctx context.Context, key string, opts storage.ListOptions } } - // If there is indexedTrigger defined, but triggerSupported is false, - // we can't narrow the amount of events significantly at this point. - // - // That said, currently indexedTrigger is defined only for couple resources: - // Pods, Nodes, Secrets and ConfigMaps and there is only a constant - // number of watchers for which triggerSupported is false (excluding those - // issued explicitly by users). - // Thus, to reduce the risk of those watchers blocking all watchers of a - // given resource in the system, we increase the sizes of buffers for them. - chanSize := 10 - if c.indexedTrigger != nil && !triggerSupported { - // TODO: We should tune this value and ideally make it dependent on the - // number of objects of a given type and/or their churn. - chanSize = 1000 - } + // It boils down to a tradeoff between: + // - having it as small as possible to reduce memory usage + // - having it large enough to ensure that watchers that need to process + // a bunch of changes have enough buffer to avoid from blocking other + // watchers on our watcher having a processing hiccup + chanSize := c.watchCache.suggestedWatchChannelSize(c.indexedTrigger != nil, triggerSupported) // Determine watch timeout('0' means deadline is not set, ignore checking) deadline, _ := ctx.Deadline() @@ -523,7 +529,7 @@ func (c *Cacher) Watch(ctx context.Context, key string, opts storage.ListOptions c.Lock() defer c.Unlock() // Update watcher.forget function once we can compute it. - watcher.forget = forgetWatcher(c, c.watcherIdx, triggerValue, triggerSupported) + watcher.forget = forgetWatcher(c, watcher, c.watcherIdx, triggerValue, triggerSupported) c.watchers.addWatcher(watcher, c.watcherIdx, triggerValue, triggerSupported) // Add it to the queue only when the client support watch bookmarks. @@ -591,7 +597,8 @@ func (c *Cacher) Get(ctx context.Context, key string, opts storage.GetOptions, o } // NOTICE: Keep in sync with shouldListFromStorage function in -// staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/list_work_estimator.go +// +// staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/list_work_estimator.go func shouldDelegateList(opts storage.ListOptions) bool { resourceVersion := opts.ResourceVersion pred := opts.Predicate @@ -645,7 +652,9 @@ func (c *Cacher) GetList(ctx context.Context, key string, opts storage.ListOptio return c.storage.GetList(ctx, key, opts, listObj) } - trace := utiltrace.New("cacher list", utiltrace.Field{Key: "type", Value: c.objectType.String()}) + trace := utiltrace.New("cacher list", + utiltrace.Field{"audit-id", endpointsrequest.GetAuditIDTruncated(ctx)}, + utiltrace.Field{Key: "type", Value: c.objectType.String()}) defer trace.LogIfLong(500 * time.Millisecond) if err := c.ready.wait(); err != nil { @@ -905,7 +914,7 @@ func (c *Cacher) dispatchEvent(event *watchCacheEvent) { } } -func (c *Cacher) startDispatchingBookmarkEvents() { +func (c *Cacher) startDispatchingBookmarkEventsLocked() { // Pop already expired watchers. However, explicitly ignore stopped ones, // as we don't delete watcher from bookmarkWatchers when it is stopped. for _, watchers := range c.bookmarkWatchers.popExpiredWatchers() { @@ -916,8 +925,7 @@ func (c *Cacher) startDispatchingBookmarkEvents() { continue } c.watchersBuffer = append(c.watchersBuffer, watcher) - // Requeue the watcher for the next bookmark if needed. - c.bookmarkWatchers.addWatcher(watcher) + c.expiredBookmarkWatchers = append(c.expiredBookmarkWatchers, watcher) } } } @@ -942,7 +950,7 @@ func (c *Cacher) startDispatching(event *watchCacheEvent) { c.watchersBuffer = c.watchersBuffer[:0] if event.Type == watch.Bookmark { - c.startDispatchingBookmarkEvents() + c.startDispatchingBookmarkEventsLocked() // return here to reduce following code indentation and diff return } @@ -986,6 +994,15 @@ func (c *Cacher) finishDispatching() { watcher.stopLocked() } c.watchersToStop = c.watchersToStop[:0] + + for _, watcher := range c.expiredBookmarkWatchers { + if watcher.stopped { + continue + } + // requeue the watcher for the next bookmark if needed. + c.bookmarkWatchers.addWatcher(watcher) + } + c.expiredBookmarkWatchers = c.expiredBookmarkWatchers[:0] } func (c *Cacher) terminateAllWatchers() { @@ -1023,11 +1040,13 @@ func (c *Cacher) Stop() { c.stopWg.Wait() } -func forgetWatcher(c *Cacher, index int, triggerValue string, triggerSupported bool) func() { - return func() { +func forgetWatcher(c *Cacher, w *cacheWatcher, index int, triggerValue string, triggerSupported bool) func(bool) { + return func(drainWatcher bool) { c.Lock() defer c.Unlock() + w.setDrainInputBufferLocked(drainWatcher) + // It's possible that the watcher is already not in the structure (e.g. in case of // simultaneous Stop() and terminateAllWatchers(), but it is safe to call stopLocked() // on a watcher multiple times. @@ -1151,7 +1170,7 @@ type cacheWatcher struct { done chan struct{} filter filterWithAttrsFunc stopped bool - forget func() + forget func(bool) versioner storage.Versioner // The watcher will be closed by server after the deadline, // save it here to send bookmark events before that. @@ -1163,9 +1182,13 @@ type cacheWatcher struct { // human readable identifier that helps assigning cacheWatcher // instance with request identifier string + + // drainInputBuffer indicates whether we should delay closing this watcher + // and send all event in the input buffer. + drainInputBuffer bool } -func newCacheWatcher(chanSize int, filter filterWithAttrsFunc, forget func(), versioner storage.Versioner, deadline time.Time, allowWatchBookmarks bool, objectType reflect.Type, identifier string) *cacheWatcher { +func newCacheWatcher(chanSize int, filter filterWithAttrsFunc, forget func(bool), versioner storage.Versioner, deadline time.Time, allowWatchBookmarks bool, objectType reflect.Type, identifier string) *cacheWatcher { return &cacheWatcher{ input: make(chan *watchCacheEvent, chanSize), result: make(chan watch.Event, chanSize), @@ -1188,16 +1211,29 @@ func (c *cacheWatcher) ResultChan() <-chan watch.Event { // Implements watch.Interface. func (c *cacheWatcher) Stop() { - c.forget() + c.forget(false) } // we rely on the fact that stopLocked is actually protected by Cacher.Lock() func (c *cacheWatcher) stopLocked() { if !c.stopped { c.stopped = true - close(c.done) + // stop without draining the input channel was requested. + if !c.drainInputBuffer { + close(c.done) + } close(c.input) } + + // Even if the watcher was already stopped, if it previously was + // using draining mode and it's not using it now we need to + // close the done channel now. Otherwise we could leak the + // processing goroutine if it will be trying to put more objects + // into result channel, the channel will be full and there will + // already be noone on the processing the events on the receiving end. + if !c.drainInputBuffer && !c.isDoneChannelClosedLocked() { + close(c.done) + } } func (c *cacheWatcher) nonblockingAdd(event *watchCacheEvent) bool { @@ -1222,7 +1258,7 @@ func (c *cacheWatcher) add(event *watchCacheEvent, timer *time.Timer) bool { // we simply terminate it. klog.V(1).Infof("Forcing %v watcher close due to unresponsiveness: %v. len(c.input) = %v, len(c.result) = %v", c.objectType.String(), c.identifier, len(c.input), len(c.result)) metrics.TerminatedWatchersCounter.WithLabelValues(c.objectType.String()).Inc() - c.forget() + c.forget(false) } if timer == nil { @@ -1242,12 +1278,16 @@ func (c *cacheWatcher) add(event *watchCacheEvent, timer *time.Timer) bool { func (c *cacheWatcher) nextBookmarkTime(now time.Time, bookmarkFrequency time.Duration) (time.Time, bool) { // We try to send bookmarks: - // (a) roughly every minute - // (b) right before the watcher timeout - for now we simply set it 2s before + // + // (a) right before the watcher timeout - for now we simply set it 2s before // the deadline - // The former gives us periodicity if the watch breaks due to unexpected - // conditions, the later ensures that on timeout the watcher is as close to + // + // (b) roughly every minute + // + // (b) gives us periodicity if the watch breaks due to unexpected + // conditions, (a) ensures that on timeout the watcher is as close to // now as possible - this covers 99% of cases. + heartbeatTime := now.Add(bookmarkFrequency) if c.deadline.IsZero() { // Timeout is set by our client libraries (e.g. reflector) as well as defaulted by @@ -1264,6 +1304,22 @@ func (c *cacheWatcher) nextBookmarkTime(now time.Time, bookmarkFrequency time.Du return heartbeatTime, true } +// setDrainInputBufferLocked if set to true indicates that we should delay closing this watcher +// until we send all events residing in the input buffer. +func (c *cacheWatcher) setDrainInputBufferLocked(drain bool) { + c.drainInputBuffer = drain +} + +// isDoneChannelClosed checks if c.done channel is closed +func (c *cacheWatcher) isDoneChannelClosedLocked() bool { + select { + case <-c.done: + return true + default: + } + return false +} + func getMutableObject(object runtime.Object) runtime.Object { if _, ok := object.(*cachingObject); ok { // It is safe to return without deep-copy, because the underlying diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/time_budget.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/time_budget.go index da77bd42b028..636c6ef8d6a1 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/time_budget.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/time_budget.go @@ -30,13 +30,14 @@ const ( // timeBudget implements a budget of time that you can use and is // periodically being refreshed. The pattern to use it is: -// budget := newTimeBudget(...) -// ... -// timeout := budget.takeAvailable() -// // Now you can spend at most timeout on doing stuff -// ... -// // If you didn't use all timeout, return what you didn't use -// budget.returnUnused() +// +// budget := newTimeBudget(...) +// ... +// timeout := budget.takeAvailable() +// // Now you can spend at most timeout on doing stuff +// ... +// // If you didn't use all timeout, return what you didn't use +// budget.returnUnused() // // NOTE: It's not recommended to be used concurrently from multiple threads - // if first user takes the whole timeout, the second one will get 0 timeout diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go index 65e9fde65911..9deff40704e7 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go @@ -18,6 +18,7 @@ package cacher import ( "fmt" + "math" "reflect" "sort" "sync" @@ -579,6 +580,59 @@ func (w *watchCache) Resync() error { return nil } +func (w *watchCache) currentCapacity() int { + w.Lock() + defer w.Unlock() + return w.capacity +} + +const ( + // minWatchChanSize is the min size of channels used by the watch. + // We keep that set to 10 for "backward compatibility" until we + // convince ourselves based on some metrics that decreasing is safe. + minWatchChanSize = 10 + // maxWatchChanSizeWithIndexAndTriger is the max size of the channel + // used by the watch using the index and trigger selector. + maxWatchChanSizeWithIndexAndTrigger = 10 + // maxWatchChanSizeWithIndexWithoutTrigger is the max size of the channel + // used by the watch using the index but without triggering selector. + // We keep that set to 1000 for "backward compatibility", until we + // convinced ourselves based on some metrics that decreasing is safe. + maxWatchChanSizeWithIndexWithoutTrigger = 1000 + // maxWatchChanSizeWithoutIndex is the max size of the channel + // used by the watch not using the index. + // TODO(wojtek-t): Figure out if the value shouldn't be higher. + maxWatchChanSizeWithoutIndex = 100 +) + +func (w *watchCache) suggestedWatchChannelSize(indexExists, triggerUsed bool) int { + // To estimate the channel size we use a heuristic that a channel + // should roughly be able to keep one second of history. + // We don't have an exact data, but given we store updates from + // the last , we approach it by dividing the + // capacity by the length of the history window. + chanSize := int(math.Ceil(float64(w.currentCapacity()) / eventFreshDuration.Seconds())) + + // Finally we adjust the size to avoid ending with too low or + // to large values. + if chanSize < minWatchChanSize { + chanSize = minWatchChanSize + } + var maxChanSize int + switch { + case indexExists && triggerUsed: + maxChanSize = maxWatchChanSizeWithIndexAndTrigger + case indexExists && !triggerUsed: + maxChanSize = maxWatchChanSizeWithIndexWithoutTrigger + case !indexExists: + maxChanSize = maxWatchChanSizeWithoutIndex + } + if chanSize > maxChanSize { + chanSize = maxChanSize + } + return chanSize +} + // isIndexValidLocked checks if a given index is still valid. // This assumes that the lock is held. func (w *watchCache) isIndexValidLocked(index int) bool { diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go index 833d10e153a1..c455357e04de 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/cacher/watch_cache_interval.go @@ -53,7 +53,9 @@ import ( // an interval as invalid iff we need to copy events from the // watchCache and we end up needing events that have already // been popped off. This translates to the following condition: -// watchCacheInterval::startIndex >= watchCache::startIndex. +// +// watchCacheInterval::startIndex >= watchCache::startIndex. +// // When this condition becomes false, the interval is no longer // valid and should not be used to retrieve and serve elements // from the underlying source. diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/etcd3/latency_tracker.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/etcd3/latency_tracker.go index a387b79cc597..96d592e7907b 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/etcd3/latency_tracker.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/etcd3/latency_tracker.go @@ -47,7 +47,8 @@ func NewETCDLatencyTracker(delegate clientv3.KV) clientv3.KV { // tracking function TrackStorageLatency is thread safe. // // NOTE: Compact is an asynchronous process and is not associated with -// any request, so we will not be tracking its latency. +// +// any request, so we will not be tracking its latency. type clientV3KVLatencyTracker struct { clientv3.KV } diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics.go index 1fb3ec37323d..769cec771939 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics.go @@ -38,7 +38,11 @@ var ( Name: "etcd_request_duration_seconds", Help: "Etcd request latency in seconds for each operation and object type.", // Etcd request latency in seconds for each operation and object type. - Buckets: []float64{0.005, 0.025, 0.1, 0.25, 0.5, 1.0, 2.0, 4.0, 15.0, 30.0, 60.0}, + // This metric is used for verifying etcd api call latencies SLO + // keep consistent with apiserver metric 'requestLatencies' in + // staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go + Buckets: []float64{0.005, 0.025, 0.05, 0.1, 0.2, 0.4, 0.6, 0.8, 1.0, 1.25, 1.5, 2, 3, + 4, 5, 6, 8, 10, 15, 20, 30, 45, 60}, StabilityLevel: compbasemetrics.ALPHA, }, []string{"operation", "type"}, diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/etcd3/store.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/etcd3/store.go index 0fc4b62d2b11..163eb111bcba 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/etcd3/store.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/etcd3/store.go @@ -37,6 +37,7 @@ import ( "k8s.io/apimachinery/pkg/conversion" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" + endpointsrequest "k8s.io/apiserver/pkg/endpoints/request" "k8s.io/apiserver/pkg/features" "k8s.io/apiserver/pkg/storage" "k8s.io/apiserver/pkg/storage/etcd3/metrics" @@ -152,6 +153,7 @@ func (s *store) Get(ctx context.Context, key string, opts storage.GetOptions, ou // Create implements storage.Interface.Create. func (s *store) Create(ctx context.Context, key string, obj, out runtime.Object, ttl uint64) error { trace := utiltrace.New("Create etcd3", + utiltrace.Field{"audit-id", endpointsrequest.GetAuditIDTruncated(ctx)}, utiltrace.Field{"key", key}, utiltrace.Field{"type", getTypeName(obj)}, ) @@ -329,6 +331,7 @@ func (s *store) GuaranteedUpdate( ctx context.Context, key string, destination runtime.Object, ignoreNotFound bool, preconditions *storage.Preconditions, tryUpdate storage.UpdateFunc, cachedExistingObject runtime.Object) error { trace := utiltrace.New("GuaranteedUpdate etcd3", + utiltrace.Field{"audit-id", endpointsrequest.GetAuditIDTruncated(ctx)}, utiltrace.Field{"key", key}, utiltrace.Field{"type", getTypeName(destination)}) defer trace.LogIfLong(500 * time.Millisecond) @@ -524,6 +527,7 @@ func (s *store) GetList(ctx context.Context, key string, opts storage.ListOption match := opts.ResourceVersionMatch pred := opts.Predicate trace := utiltrace.New(fmt.Sprintf("List(recursive=%v) etcd3", recursive), + utiltrace.Field{"audit-id", endpointsrequest.GetAuditIDTruncated(ctx)}, utiltrace.Field{"key", key}, utiltrace.Field{"resourceVersion", resourceVersion}, utiltrace.Field{"resourceVersionMatch", match}, diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/storagebackend/config.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/storagebackend/config.go index aa4163877fa0..47534c978185 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/storagebackend/config.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/storagebackend/config.go @@ -19,7 +19,8 @@ package storagebackend import ( "time" - "go.opentelemetry.io/otel/trace" + oteltrace "go.opentelemetry.io/otel/trace" + "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apiserver/pkg/server/egressselector" @@ -36,6 +37,7 @@ const ( DefaultCompactInterval = 5 * time.Minute DefaultDBMetricPollInterval = 30 * time.Second DefaultHealthcheckTimeout = 2 * time.Second + DefaultReadinessTimeout = 2 * time.Second ) // TransportConfig holds all connection related info, i.e. equal TransportConfig means equal servers we talk to. @@ -49,7 +51,7 @@ type TransportConfig struct { // function to determine the egress dialer. (i.e. konnectivity server dialer) EgressLookup egressselector.Lookup // The TracerProvider can add tracing the connection - TracerProvider *trace.TracerProvider + TracerProvider oteltrace.TracerProvider } // Config is configuration for creating a storage backend. @@ -84,6 +86,8 @@ type Config struct { DBMetricPollInterval time.Duration // HealthcheckTimeout specifies the timeout used when checking health HealthcheckTimeout time.Duration + // ReadycheckTimeout specifies the timeout used when checking readiness + ReadycheckTimeout time.Duration LeaseManagerConfig etcd3.LeaseManagerConfig @@ -117,6 +121,8 @@ func NewDefaultConfig(prefix string, codec runtime.Codec) *Config { CompactionInterval: DefaultCompactInterval, DBMetricPollInterval: DefaultDBMetricPollInterval, HealthcheckTimeout: DefaultHealthcheckTimeout, + ReadycheckTimeout: DefaultReadinessTimeout, LeaseManagerConfig: etcd3.NewDefaultLeaseManagerConfig(), + Transport: TransportConfig{TracerProvider: oteltrace.NewNoopTracerProvider()}, } } diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go index eb95c0facee4..55e2cc0b42c9 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go @@ -19,17 +19,22 @@ package factory import ( "context" "fmt" + "log" "net" "net/url" + "os" "path" "strings" "sync" "time" grpcprom "github.com/grpc-ecosystem/go-grpc-prometheus" + "go.etcd.io/etcd/client/pkg/v3/logutil" "go.etcd.io/etcd/client/pkg/v3/transport" clientv3 "go.etcd.io/etcd/client/v3" "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc" + "go.uber.org/zap" + "go.uber.org/zap/zapcore" "google.golang.org/grpc" "k8s.io/apimachinery/pkg/runtime" @@ -45,7 +50,7 @@ import ( "k8s.io/apiserver/pkg/storage/value" utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/component-base/metrics/legacyregistry" - "k8s.io/component-base/traces" + tracing "k8s.io/component-base/tracing" "k8s.io/klog/v2" ) @@ -63,6 +68,14 @@ const ( dbMetricsMonitorJitter = 0.5 ) +// TODO(negz): Stop using a package scoped logger. At the time of writing we're +// creating an etcd client for each CRD. We need to pass each etcd client a +// logger or each client will create its own, which comes with a significant +// memory cost (around 20% of the API server's memory when hundreds of CRDs are +// present). The correct fix here is to not create a client per CRD. See +// https://github.com/kubernetes/kubernetes/issues/111476 for more. +var etcd3ClientLogger *zap.Logger + func init() { // grpcprom auto-registers (via an init function) their client metrics, since we are opting out of // using the global prometheus registry and using our own wrapped global registry, @@ -70,9 +83,47 @@ func init() { // For reference: https://github.com/kubernetes/kubernetes/pull/81387 legacyregistry.RawMustRegister(grpcprom.DefaultClientMetrics) dbMetricsMonitors = make(map[string]struct{}) + + l, err := logutil.CreateDefaultZapLogger(etcdClientDebugLevel()) + if err != nil { + l = zap.NewNop() + } + etcd3ClientLogger = l.Named("etcd-client") +} + +// etcdClientDebugLevel translates ETCD_CLIENT_DEBUG into zap log level. +// NOTE(negz): This is a copy of a private etcd client function: +// https://github.com/etcd-io/etcd/blob/v3.5.4/client/v3/logger.go#L47 +func etcdClientDebugLevel() zapcore.Level { + envLevel := os.Getenv("ETCD_CLIENT_DEBUG") + if envLevel == "" || envLevel == "true" { + return zapcore.InfoLevel + } + var l zapcore.Level + if err := l.Set(envLevel); err == nil { + log.Printf("Deprecated env ETCD_CLIENT_DEBUG value. Using default level: 'info'") + return zapcore.InfoLevel + } + return l } func newETCD3HealthCheck(c storagebackend.Config, stopCh <-chan struct{}) (func() error, error) { + timeout := storagebackend.DefaultHealthcheckTimeout + if c.HealthcheckTimeout != time.Duration(0) { + timeout = c.HealthcheckTimeout + } + return newETCD3Check(c, timeout, stopCh) +} + +func newETCD3ReadyCheck(c storagebackend.Config, stopCh <-chan struct{}) (func() error, error) { + timeout := storagebackend.DefaultReadinessTimeout + if c.ReadycheckTimeout != time.Duration(0) { + timeout = c.ReadycheckTimeout + } + return newETCD3Check(c, timeout, stopCh) +} + +func newETCD3Check(c storagebackend.Config, timeout time.Duration, stopCh <-chan struct{}) (func() error, error) { // constructing the etcd v3 client blocks and times out if etcd is not available. // retry in a loop in the background until we successfully create the client, storing the client or error encountered @@ -129,23 +180,18 @@ func newETCD3HealthCheck(c storagebackend.Config, stopCh <-chan struct{}) (func( if clientErr != nil { return clientErr } - - healthcheckTimeout := storagebackend.DefaultHealthcheckTimeout - if c.HealthcheckTimeout != time.Duration(0) { - healthcheckTimeout = c.HealthcheckTimeout - } - ctx, cancel := context.WithTimeout(context.Background(), healthcheckTimeout) + ctx, cancel := context.WithTimeout(context.Background(), timeout) defer cancel() // See https://github.com/etcd-io/etcd/blob/c57f8b3af865d1b531b979889c602ba14377420e/etcdctl/ctlv3/command/ep_command.go#L118 _, err := client.Get(ctx, path.Join("/", c.Prefix, "health")) if err == nil { return nil } - return fmt.Errorf("error getting data from etcd: %v", err) + return fmt.Errorf("error getting data from etcd: %w", err) }, nil } -func newETCD3Client(c storagebackend.TransportConfig) (*clientv3.Client, error) { +var newETCD3Client = func(c storagebackend.TransportConfig) (*clientv3.Client, error) { tlsInfo := transport.TLSInfo{ CertFile: c.CertFile, KeyFile: c.KeyFile, @@ -180,12 +226,10 @@ func newETCD3Client(c storagebackend.TransportConfig) (*clientv3.Client, error) } if utilfeature.DefaultFeatureGate.Enabled(genericfeatures.APIServerTracing) { tracingOpts := []otelgrpc.Option{ - otelgrpc.WithPropagators(traces.Propagators()), + otelgrpc.WithPropagators(tracing.Propagators()), + otelgrpc.WithTracerProvider(c.TracerProvider), } - if c.TracerProvider != nil { - tracingOpts = append(tracingOpts, otelgrpc.WithTracerProvider(*c.TracerProvider)) - } - // Even if there is no TracerProvider, the otelgrpc still handles context propagation. + // Even with Noop TracerProvider, the otelgrpc still handles context propagation. // See https://github.com/open-telemetry/opentelemetry-go/tree/main/example/passthrough dialOptions = append(dialOptions, grpc.WithUnaryInterceptor(otelgrpc.UnaryClientInterceptor(tracingOpts...)), @@ -205,6 +249,7 @@ func newETCD3Client(c storagebackend.TransportConfig) (*clientv3.Client, error) } dialOptions = append(dialOptions, grpc.WithContextDialer(dialer)) } + cfg := clientv3.Config{ DialTimeout: dialTimeout, DialKeepAliveTime: keepaliveTime, @@ -212,6 +257,7 @@ func newETCD3Client(c storagebackend.TransportConfig) (*clientv3.Client, error) DialOptions: dialOptions, Endpoints: c.ServerList, TLS: tlsConfig, + Logger: etcd3ClientLogger, } return clientv3.New(cfg) diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/storagebackend/factory/factory.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/storagebackend/factory/factory.go index d1d3492168fe..4c8a409d659c 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/storagebackend/factory/factory.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/storagebackend/factory/factory.go @@ -50,3 +50,14 @@ func CreateHealthCheck(c storagebackend.Config, stopCh <-chan struct{}) (func() return nil, fmt.Errorf("unknown storage type: %s", c.Type) } } + +func CreateReadyCheck(c storagebackend.Config, stopCh <-chan struct{}) (func() error, error) { + switch c.Type { + case storagebackend.StorageTypeETCD2: + return nil, fmt.Errorf("%s is no longer a supported storage backend", c.Type) + case storagebackend.StorageTypeUnset, storagebackend.StorageTypeETCD3: + return newETCD3ReadyCheck(c, stopCh) + default: + return nil, fmt.Errorf("unknown storage type: %s", c.Type) + } +} diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope.go index 9173eb065256..30795d41a878 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/envelope.go @@ -27,6 +27,7 @@ import ( "time" "k8s.io/apiserver/pkg/storage/value" + "k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics" "k8s.io/utils/lru" "golang.org/x/crypto/cryptobyte" @@ -34,7 +35,7 @@ import ( func init() { value.RegisterMetrics() - registerMetrics() + metrics.RegisterMetrics() } // Service allows encrypting and decrypting data using an external Key Management Service. @@ -81,7 +82,7 @@ func NewEnvelopeTransformer(envelopeService Service, cacheSize int, baseTransfor // TransformFromStorage decrypts data encrypted by this transformer using envelope encryption. func (t *envelopeTransformer) TransformFromStorage(ctx context.Context, data []byte, dataCtx value.Context) ([]byte, bool, error) { - recordArrival(fromStorageLabel, time.Now()) + metrics.RecordArrival(metrics.FromStorageLabel, time.Now()) // Read the 16 bit length-of-DEK encoded at the start of the encrypted DEK. 16 bits can // represent a maximum key length of 65536 bytes. We are using a 256 bit key, whose @@ -119,7 +120,7 @@ func (t *envelopeTransformer) TransformFromStorage(ctx context.Context, data []b // TransformToStorage encrypts data to be written to disk using envelope encryption. func (t *envelopeTransformer) TransformToStorage(ctx context.Context, data []byte, dataCtx value.Context) ([]byte, error) { - recordArrival(toStorageLabel, time.Now()) + metrics.RecordArrival(metrics.ToStorageLabel, time.Now()) newKey, err := generateKey(32) if err != nil { return nil, err @@ -165,7 +166,7 @@ func (t *envelopeTransformer) addTransformer(encKey []byte, key []byte) (value.T // cannot hash []uint8. if t.cacheEnabled { t.transformers.Add(base64.StdEncoding.EncodeToString(encKey), transformer) - dekCacheFillPercent.Set(float64(t.transformers.Len()) / float64(t.cacheSize)) + metrics.RecordDekCacheFillPercent(float64(t.transformers.Len()) / float64(t.cacheSize)) } return transformer, nil } diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service.go index 7aa5d232f8ac..c5304cd09f2c 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service.go @@ -21,22 +21,21 @@ import ( "context" "fmt" "net" - "net/url" - "strings" "sync" "time" "k8s.io/klog/v2" "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" + "k8s.io/apiserver/pkg/storage/value/encrypt/envelope/util" kmsapi "k8s.io/apiserver/pkg/storage/value/encrypt/envelope/v1beta1" ) const ( - // Now only supported unix domain socket. + // unixProtocol is the only supported protocol for remote KMS provider. unixProtocol = "unix" - // Current version for the protocol interface definition. kmsapiVersion = "v1beta1" @@ -56,7 +55,7 @@ type gRPCService struct { func NewGRPCService(endpoint string, callTimeout time.Duration) (Service, error) { klog.V(4).Infof("Configure KMS provider with endpoint: %s", endpoint) - addr, err := parseEndpoint(endpoint) + addr, err := util.ParseEndpoint(endpoint) if err != nil { return nil, err } @@ -64,7 +63,7 @@ func NewGRPCService(endpoint string, callTimeout time.Duration) (Service, error) s := &gRPCService{callTimeout: callTimeout} s.connection, err = grpc.Dial( addr, - grpc.WithInsecure(), + grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithUnaryInterceptor(s.interceptor), grpc.WithDefaultCallOptions(grpc.WaitForReady(true)), grpc.WithContextDialer( @@ -88,32 +87,6 @@ func NewGRPCService(endpoint string, callTimeout time.Duration) (Service, error) return s, nil } -// Parse the endpoint to extract schema, host or path. -func parseEndpoint(endpoint string) (string, error) { - if len(endpoint) == 0 { - return "", fmt.Errorf("remote KMS provider can't use empty string as endpoint") - } - - u, err := url.Parse(endpoint) - if err != nil { - return "", fmt.Errorf("invalid endpoint %q for remote KMS provider, error: %v", endpoint, err) - } - - if u.Scheme != unixProtocol { - return "", fmt.Errorf("unsupported scheme %q for remote KMS provider", u.Scheme) - } - - // Linux abstract namespace socket - no physical file required - // Warning: Linux Abstract sockets have not concept of ACL (unlike traditional file based sockets). - // However, Linux Abstract sockets are subject to Linux networking namespace, so will only be accessible to - // containers within the same pod (unless host networking is used). - if strings.HasPrefix(u.Path, "/@") { - return strings.TrimPrefix(u.Path, "/"), nil - } - - return u.Path, nil -} - func (g *gRPCService) checkAPIVersion(ctx context.Context) error { g.mux.Lock() defer g.mux.Unlock() diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope.go new file mode 100644 index 000000000000..5b65f12424bc --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/envelope.go @@ -0,0 +1,246 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Package kmsv2 transforms values for storage at rest using a Envelope v2 provider +package kmsv2 + +import ( + "context" + "crypto/aes" + "crypto/cipher" + "crypto/rand" + "encoding/base64" + "fmt" + "time" + + "github.com/gogo/protobuf/proto" + "k8s.io/apimachinery/pkg/util/uuid" + "k8s.io/apiserver/pkg/storage/value" + kmstypes "k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2alpha1" + "k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics" + "k8s.io/utils/lru" +) + +const ( + // KMSAPIVersion is the version of the KMS API. + KMSAPIVersion = "v2alpha1" +) + +// Service allows encrypting and decrypting data using an external Key Management Service. +type Service interface { + // Decrypt a given bytearray to obtain the original data as bytes. + Decrypt(ctx context.Context, uid string, req *DecryptRequest) ([]byte, error) + // Encrypt bytes to a ciphertext. + Encrypt(ctx context.Context, uid string, data []byte) (*EncryptResponse, error) + // Status returns the status of the KMS. + Status(ctx context.Context) (*StatusResponse, error) +} + +type envelopeTransformer struct { + envelopeService Service + + // transformers is a thread-safe LRU cache which caches decrypted DEKs indexed by their encrypted form. + transformers *lru.Cache + + // baseTransformerFunc creates a new transformer for encrypting the data with the DEK. + baseTransformerFunc func(cipher.Block) value.Transformer + + cacheSize int + cacheEnabled bool + + pluginName string +} + +// EncryptResponse is the response from the Envelope service when encrypting data. +type EncryptResponse struct { + Ciphertext []byte + KeyID string + Annotations map[string][]byte +} + +// DecryptRequest is the request to the Envelope service when decrypting data. +type DecryptRequest struct { + Ciphertext []byte + KeyID string + Annotations map[string][]byte +} + +// StatusResponse is the response from the Envelope service when getting the status of the service. +type StatusResponse struct { + Version string + Healthz string + KeyID string +} + +// NewEnvelopeTransformer returns a transformer which implements a KEK-DEK based envelope encryption scheme. +// It uses envelopeService to encrypt and decrypt DEKs. Respective DEKs (in encrypted form) are prepended to +// the data items they encrypt. A cache (of size cacheSize) is maintained to store the most recently +// used decrypted DEKs in memory. +func NewEnvelopeTransformer(envelopeService Service, cacheSize int, baseTransformerFunc func(cipher.Block) value.Transformer) (value.Transformer, error) { + var cache *lru.Cache + + if cacheSize > 0 { + // TODO(aramase): Switch to using expiring cache: kubernetes/kubernetes/staging/src/k8s.io/apimachinery/pkg/util/cache/expiring.go. + // It handles scans a lot better, doesn't have to be right sized, and don't have a global lock on reads. + cache = lru.New(cacheSize) + } + + return &envelopeTransformer{ + envelopeService: envelopeService, + transformers: cache, + baseTransformerFunc: baseTransformerFunc, + cacheEnabled: cacheSize > 0, + cacheSize: cacheSize, + }, nil +} + +// TransformFromStorage decrypts data encrypted by this transformer using envelope encryption. +func (t *envelopeTransformer) TransformFromStorage(ctx context.Context, data []byte, dataCtx value.Context) ([]byte, bool, error) { + metrics.RecordArrival(metrics.FromStorageLabel, time.Now()) + + // Deserialize the EncryptedObject from the data. + encryptedObject, err := t.doDecode(data) + if err != nil { + return nil, false, err + } + + // Look up the decrypted DEK from cache or Envelope. + transformer := t.getTransformer(encryptedObject.EncryptedDEK) + if transformer == nil { + if t.cacheEnabled { + value.RecordCacheMiss() + } + uid := string(uuid.NewUUID()) + key, err := t.envelopeService.Decrypt(ctx, uid, &DecryptRequest{ + Ciphertext: encryptedObject.EncryptedDEK, + KeyID: encryptedObject.KeyID, + Annotations: encryptedObject.Annotations, + }) + if err != nil { + return nil, false, fmt.Errorf("failed to decrypt DEK, error: %w", err) + } + + transformer, err = t.addTransformer(encryptedObject.EncryptedDEK, key) + if err != nil { + return nil, false, err + } + } + + return transformer.TransformFromStorage(ctx, encryptedObject.EncryptedData, dataCtx) +} + +// TransformToStorage encrypts data to be written to disk using envelope encryption. +func (t *envelopeTransformer) TransformToStorage(ctx context.Context, data []byte, dataCtx value.Context) ([]byte, error) { + metrics.RecordArrival(metrics.ToStorageLabel, time.Now()) + newKey, err := generateKey(32) + if err != nil { + return nil, err + } + + uid := string(uuid.NewUUID()) + resp, err := t.envelopeService.Encrypt(ctx, uid, newKey) + if err != nil { + return nil, fmt.Errorf("failed to encrypt DEK, error: %w", err) + } + + transformer, err := t.addTransformer(resp.Ciphertext, newKey) + if err != nil { + return nil, err + } + + result, err := transformer.TransformToStorage(ctx, data, dataCtx) + if err != nil { + return nil, err + } + + encObject := &kmstypes.EncryptedObject{ + KeyID: resp.KeyID, + EncryptedDEK: resp.Ciphertext, + EncryptedData: result, + Annotations: resp.Annotations, + } + + // Serialize the EncryptedObject to a byte array. + return t.doEncode(encObject) +} + +// addTransformer inserts a new transformer to the Envelope cache of DEKs for future reads. +func (t *envelopeTransformer) addTransformer(encKey []byte, key []byte) (value.Transformer, error) { + block, err := aes.NewCipher(key) + if err != nil { + return nil, err + } + transformer := t.baseTransformerFunc(block) + // Use base64 of encKey as the key into the cache because hashicorp/golang-lru + // cannot hash []uint8. + if t.cacheEnabled { + t.transformers.Add(base64.StdEncoding.EncodeToString(encKey), transformer) + metrics.RecordDekCacheFillPercent(float64(t.transformers.Len()) / float64(t.cacheSize)) + } + return transformer, nil +} + +// getTransformer fetches the transformer corresponding to encKey from cache, if it exists. +func (t *envelopeTransformer) getTransformer(encKey []byte) value.Transformer { + if !t.cacheEnabled { + return nil + } + + _transformer, found := t.transformers.Get(base64.StdEncoding.EncodeToString(encKey)) + if found { + return _transformer.(value.Transformer) + } + return nil +} + +// doEncode encodes the EncryptedObject to a byte array. +func (t *envelopeTransformer) doEncode(request *kmstypes.EncryptedObject) ([]byte, error) { + return proto.Marshal(request) +} + +// doDecode decodes the byte array to an EncryptedObject. +func (t *envelopeTransformer) doDecode(originalData []byte) (*kmstypes.EncryptedObject, error) { + o := &kmstypes.EncryptedObject{} + if err := proto.Unmarshal(originalData, o); err != nil { + return nil, err + } + + // validate the EncryptedObject + if o.EncryptedData == nil { + return nil, fmt.Errorf("encrypted data is nil after unmarshal") + } + if o.KeyID == "" { + return nil, fmt.Errorf("keyID is empty after unmarshal") + } + if o.EncryptedDEK == nil { + return nil, fmt.Errorf("encrypted dek is nil after unmarshal") + } + + return o, nil +} + +// generateKey generates a random key using system randomness. +func generateKey(length int) (key []byte, err error) { + defer func(start time.Time) { + value.RecordDataKeyGeneration(start, err) + }(time.Now()) + key = make([]byte, length) + if _, err = rand.Read(key); err != nil { + return nil, err + } + + return key, nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service.go new file mode 100644 index 000000000000..b96fce4aa463 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/grpc_service.go @@ -0,0 +1,130 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Package kmsv2 transforms values for storage at rest using a Envelope provider +package kmsv2 + +import ( + "context" + "fmt" + "net" + "time" + + "k8s.io/klog/v2" + + "google.golang.org/grpc" + + "k8s.io/apiserver/pkg/storage/value/encrypt/envelope/util" + kmsapi "k8s.io/apiserver/pkg/storage/value/encrypt/envelope/v2alpha1" +) + +const ( + // unixProtocol is the only supported protocol for remote KMS provider. + unixProtocol = "unix" +) + +// The gRPC implementation for envelope.Service. +type gRPCService struct { + kmsClient kmsapi.KeyManagementServiceClient + connection *grpc.ClientConn + callTimeout time.Duration +} + +// NewGRPCService returns an envelope.Service which use gRPC to communicate the remote KMS provider. +func NewGRPCService(endpoint string, callTimeout time.Duration) (Service, error) { + klog.V(4).Infof("Configure KMS provider with endpoint: %s", endpoint) + + addr, err := util.ParseEndpoint(endpoint) + if err != nil { + return nil, err + } + + s := &gRPCService{callTimeout: callTimeout} + s.connection, err = grpc.Dial( + addr, + grpc.WithInsecure(), + grpc.WithDefaultCallOptions(grpc.WaitForReady(true)), + grpc.WithContextDialer( + func(context.Context, string) (net.Conn, error) { + // Ignoring addr and timeout arguments: + // addr - comes from the closure + c, err := net.DialUnix(unixProtocol, nil, &net.UnixAddr{Name: addr}) + if err != nil { + klog.Errorf("failed to create connection to unix socket: %s, error: %v", addr, err) + } else { + klog.V(4).Infof("Successfully dialed Unix socket %v", addr) + } + return c, err + })) + + if err != nil { + return nil, fmt.Errorf("failed to create connection to %s, error: %v", endpoint, err) + } + + s.kmsClient = kmsapi.NewKeyManagementServiceClient(s.connection) + return s, nil +} + +// Decrypt a given data string to obtain the original byte data. +func (g *gRPCService) Decrypt(ctx context.Context, uid string, req *DecryptRequest) ([]byte, error) { + ctx, cancel := context.WithTimeout(ctx, g.callTimeout) + defer cancel() + + request := &kmsapi.DecryptRequest{ + Ciphertext: req.Ciphertext, + Uid: uid, + KeyId: req.KeyID, + Annotations: req.Annotations, + } + response, err := g.kmsClient.Decrypt(ctx, request) + if err != nil { + return nil, err + } + return response.Plaintext, nil +} + +// Encrypt bytes to a string ciphertext. +func (g *gRPCService) Encrypt(ctx context.Context, uid string, plaintext []byte) (*EncryptResponse, error) { + ctx, cancel := context.WithTimeout(ctx, g.callTimeout) + defer cancel() + + request := &kmsapi.EncryptRequest{ + Plaintext: plaintext, + Uid: uid, + } + response, err := g.kmsClient.Encrypt(ctx, request) + if err != nil { + return nil, err + } + return &EncryptResponse{ + Ciphertext: response.Ciphertext, + KeyID: response.KeyId, + Annotations: response.Annotations, + }, nil +} + +// Status returns the status of the KMSv2 provider. +func (g *gRPCService) Status(ctx context.Context) (*StatusResponse, error) { + ctx, cancel := context.WithTimeout(ctx, g.callTimeout) + defer cancel() + + request := &kmsapi.StatusRequest{} + response, err := g.kmsClient.Status(ctx, request) + if err != nil { + return nil, err + } + return &StatusResponse{Version: response.Version, Healthz: response.Healthz, KeyID: response.KeyId}, nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2alpha1/OWNERS b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2alpha1/OWNERS new file mode 100644 index 000000000000..fa20d4cbebaa --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2alpha1/OWNERS @@ -0,0 +1,9 @@ +# See the OWNERS docs at https://go.k8s.io/owners + +# Disable inheritance as this is an api owners file +options: + no_parent_owners: true +approvers: + - api-approvers +reviewers: + - sig-auth-api-reviewers diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2alpha1/api.pb.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2alpha1/api.pb.go new file mode 100644 index 000000000000..307b0b248c95 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2alpha1/api.pb.go @@ -0,0 +1,128 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: api.proto + +package v2alpha1 + +import ( + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// EncryptedObject is the representation of data stored in etcd after envelope encryption. +type EncryptedObject struct { + // EncryptedData is the encrypted data. + EncryptedData []byte `protobuf:"bytes,1,opt,name=encryptedData,proto3" json:"encryptedData,omitempty"` + // KeyID is the KMS key ID used for encryption operations. + KeyID string `protobuf:"bytes,2,opt,name=keyID,proto3" json:"keyID,omitempty"` + // EncryptedDEK is the encrypted DEK. + EncryptedDEK []byte `protobuf:"bytes,3,opt,name=encryptedDEK,proto3" json:"encryptedDEK,omitempty"` + // Annotations is additional metadata that was provided by the KMS plugin. + Annotations map[string][]byte `protobuf:"bytes,4,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EncryptedObject) Reset() { *m = EncryptedObject{} } +func (m *EncryptedObject) String() string { return proto.CompactTextString(m) } +func (*EncryptedObject) ProtoMessage() {} +func (*EncryptedObject) Descriptor() ([]byte, []int) { + return fileDescriptor_00212fb1f9d3bf1c, []int{0} +} +func (m *EncryptedObject) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EncryptedObject.Unmarshal(m, b) +} +func (m *EncryptedObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EncryptedObject.Marshal(b, m, deterministic) +} +func (m *EncryptedObject) XXX_Merge(src proto.Message) { + xxx_messageInfo_EncryptedObject.Merge(m, src) +} +func (m *EncryptedObject) XXX_Size() int { + return xxx_messageInfo_EncryptedObject.Size(m) +} +func (m *EncryptedObject) XXX_DiscardUnknown() { + xxx_messageInfo_EncryptedObject.DiscardUnknown(m) +} + +var xxx_messageInfo_EncryptedObject proto.InternalMessageInfo + +func (m *EncryptedObject) GetEncryptedData() []byte { + if m != nil { + return m.EncryptedData + } + return nil +} + +func (m *EncryptedObject) GetKeyID() string { + if m != nil { + return m.KeyID + } + return "" +} + +func (m *EncryptedObject) GetEncryptedDEK() []byte { + if m != nil { + return m.EncryptedDEK + } + return nil +} + +func (m *EncryptedObject) GetAnnotations() map[string][]byte { + if m != nil { + return m.Annotations + } + return nil +} + +func init() { + proto.RegisterType((*EncryptedObject)(nil), "v2alpha1.EncryptedObject") + proto.RegisterMapType((map[string][]byte)(nil), "v2alpha1.EncryptedObject.AnnotationsEntry") +} + +func init() { proto.RegisterFile("api.proto", fileDescriptor_00212fb1f9d3bf1c) } + +var fileDescriptor_00212fb1f9d3bf1c = []byte{ + // 200 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4c, 0x2c, 0xc8, 0xd4, + 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x28, 0x33, 0x4a, 0xcc, 0x29, 0xc8, 0x48, 0x34, 0x54, + 0xfa, 0xcf, 0xc8, 0xc5, 0xef, 0x9a, 0x97, 0x5c, 0x54, 0x59, 0x50, 0x92, 0x9a, 0xe2, 0x9f, 0x94, + 0x95, 0x9a, 0x5c, 0x22, 0xa4, 0xc2, 0xc5, 0x9b, 0x0a, 0x13, 0x72, 0x49, 0x2c, 0x49, 0x94, 0x60, + 0x54, 0x60, 0xd4, 0xe0, 0x09, 0x42, 0x15, 0x14, 0x12, 0xe1, 0x62, 0xcd, 0x4e, 0xad, 0xf4, 0x74, + 0x91, 0x60, 0x52, 0x60, 0xd4, 0xe0, 0x0c, 0x82, 0x70, 0x84, 0x94, 0xb8, 0x78, 0x10, 0xca, 0x5c, + 0xbd, 0x25, 0x98, 0xc1, 0x5a, 0x51, 0xc4, 0x84, 0x7c, 0xb8, 0xb8, 0x13, 0xf3, 0xf2, 0xf2, 0x4b, + 0x12, 0x4b, 0x32, 0xf3, 0xf3, 0x8a, 0x25, 0x58, 0x14, 0x98, 0x35, 0xb8, 0x8d, 0xb4, 0xf4, 0x60, + 0x6e, 0xd2, 0x43, 0x73, 0x8f, 0x9e, 0x23, 0x42, 0xb1, 0x6b, 0x5e, 0x49, 0x51, 0x65, 0x10, 0xb2, + 0x76, 0x29, 0x3b, 0x2e, 0x01, 0x74, 0x05, 0x42, 0x02, 0x5c, 0xcc, 0xd9, 0xa9, 0x95, 0x60, 0x77, + 0x73, 0x06, 0x81, 0x98, 0x20, 0xd7, 0x96, 0x25, 0xe6, 0x94, 0xa6, 0x82, 0x5d, 0xcb, 0x13, 0x04, + 0xe1, 0x58, 0x31, 0x59, 0x30, 0x26, 0xb1, 0x81, 0x83, 0xc4, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, + 0x88, 0x8c, 0xbb, 0x4e, 0x1f, 0x01, 0x00, 0x00, +} diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2alpha1/api.proto b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2alpha1/api.proto new file mode 100644 index 000000000000..e3b978b05edc --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2alpha1/api.proto @@ -0,0 +1,35 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// To regenerate api.pb.go run hack/update-generated-kms.sh +syntax = "proto3"; + +package v2alpha1; + +// EncryptedObject is the representation of data stored in etcd after envelope encryption. +message EncryptedObject { + // EncryptedData is the encrypted data. + bytes encryptedData = 1; + + // KeyID is the KMS key ID used for encryption operations. + string keyID = 2; + + // EncryptedDEK is the encrypted DEK. + bytes encryptedDEK = 3; + + // Annotations is additional metadata that was provided by the KMS plugin. + map annotations = 4; +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/quobyte/doc.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2alpha1/v2alpha1.go similarity index 79% rename from cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/quobyte/doc.go rename to cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2alpha1/v2alpha1.go index ca09dd738903..b8bed64e8cfb 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/quobyte/doc.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2alpha1/v2alpha1.go @@ -1,5 +1,5 @@ /* -Copyright 2016 The Kubernetes Authors. +Copyright 2022 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -14,6 +14,5 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Package quobyte contains the internal representation of Quobyte -// volumes. -package quobyte +// Package v2alpha1 contains definition of kms-plugin's serialized types. +package v2alpha1 diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics/metrics.go similarity index 90% rename from cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics.go rename to cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics/metrics.go index e5499f1e1866..ca0e0ad0f697 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics/metrics.go @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -package envelope +package metrics import ( "sync" @@ -27,8 +27,8 @@ import ( const ( namespace = "apiserver" subsystem = "envelope_encryption" - fromStorageLabel = "from_storage" - toStorageLabel = "to_storage" + FromStorageLabel = "from_storage" + ToStorageLabel = "to_storage" ) /* @@ -71,16 +71,16 @@ var ( var registerMetricsFunc sync.Once -func registerMetrics() { +func RegisterMetrics() { registerMetricsFunc.Do(func() { legacyregistry.MustRegister(dekCacheFillPercent) legacyregistry.MustRegister(dekCacheInterArrivals) }) } -func recordArrival(transformationType string, start time.Time) { +func RecordArrival(transformationType string, start time.Time) { switch transformationType { - case fromStorageLabel: + case FromStorageLabel: lockLastFromStorage.Lock() defer lockLastFromStorage.Unlock() @@ -89,7 +89,7 @@ func recordArrival(transformationType string, start time.Time) { } dekCacheInterArrivals.WithLabelValues(transformationType).Observe(start.Sub(lastFromStorage).Seconds()) lastFromStorage = start - case toStorageLabel: + case ToStorageLabel: lockLastToStorage.Lock() defer lockLastToStorage.Unlock() @@ -100,3 +100,7 @@ func recordArrival(transformationType string, start time.Time) { lastToStorage = start } } + +func RecordDekCacheFillPercent(percent float64) { + dekCacheFillPercent.Set(percent) +} diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/util/util.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/util/util.go new file mode 100644 index 000000000000..f062370aba28 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/util/util.go @@ -0,0 +1,54 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package util + +import ( + "fmt" + "net/url" + "strings" +) + +const ( + // unixProtocol is the only supported protocol for remote KMS provider. + unixProtocol = "unix" +) + +// Parse the endpoint to extract schema, host or path. +func ParseEndpoint(endpoint string) (string, error) { + if len(endpoint) == 0 { + return "", fmt.Errorf("remote KMS provider can't use empty string as endpoint") + } + + u, err := url.Parse(endpoint) + if err != nil { + return "", fmt.Errorf("invalid endpoint %q for remote KMS provider, error: %v", endpoint, err) + } + + if u.Scheme != unixProtocol { + return "", fmt.Errorf("unsupported scheme %q for remote KMS provider", u.Scheme) + } + + // Linux abstract namespace socket - no physical file required + // Warning: Linux Abstract sockets have not concept of ACL (unlike traditional file based sockets). + // However, Linux Abstract sockets are subject to Linux networking namespace, so will only be accessible to + // containers within the same pod (unless host networking is used). + if strings.HasPrefix(u.Path, "/@") { + return strings.TrimPrefix(u.Path, "/"), nil + } + + return u.Path, nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/v2alpha1/api.pb.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/v2alpha1/api.pb.go new file mode 100644 index 000000000000..ab55bd1b3e68 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/v2alpha1/api.pb.go @@ -0,0 +1,542 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: api.proto + +package v2alpha1 + +import ( + context "context" + fmt "fmt" + proto "github.com/gogo/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" + math "math" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +type StatusRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StatusRequest) Reset() { *m = StatusRequest{} } +func (m *StatusRequest) String() string { return proto.CompactTextString(m) } +func (*StatusRequest) ProtoMessage() {} +func (*StatusRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00212fb1f9d3bf1c, []int{0} +} +func (m *StatusRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StatusRequest.Unmarshal(m, b) +} +func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StatusRequest.Marshal(b, m, deterministic) +} +func (m *StatusRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StatusRequest.Merge(m, src) +} +func (m *StatusRequest) XXX_Size() int { + return xxx_messageInfo_StatusRequest.Size(m) +} +func (m *StatusRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StatusRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_StatusRequest proto.InternalMessageInfo + +type StatusResponse struct { + // Version of the KMS plugin API. Must match the configured .resources[].providers[].kms.apiVersion + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + // Any value other than "ok" is failing healthz. On failure, the associated API server healthz endpoint will contain this value as part of the error message. + Healthz string `protobuf:"bytes,2,opt,name=healthz,proto3" json:"healthz,omitempty"` + // the current write key, used to determine staleness of data updated via value.Transformer.TransformFromStorage. + KeyId string `protobuf:"bytes,3,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *StatusResponse) Reset() { *m = StatusResponse{} } +func (m *StatusResponse) String() string { return proto.CompactTextString(m) } +func (*StatusResponse) ProtoMessage() {} +func (*StatusResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00212fb1f9d3bf1c, []int{1} +} +func (m *StatusResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_StatusResponse.Unmarshal(m, b) +} +func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_StatusResponse.Marshal(b, m, deterministic) +} +func (m *StatusResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_StatusResponse.Merge(m, src) +} +func (m *StatusResponse) XXX_Size() int { + return xxx_messageInfo_StatusResponse.Size(m) +} +func (m *StatusResponse) XXX_DiscardUnknown() { + xxx_messageInfo_StatusResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_StatusResponse proto.InternalMessageInfo + +func (m *StatusResponse) GetVersion() string { + if m != nil { + return m.Version + } + return "" +} + +func (m *StatusResponse) GetHealthz() string { + if m != nil { + return m.Healthz + } + return "" +} + +func (m *StatusResponse) GetKeyId() string { + if m != nil { + return m.KeyId + } + return "" +} + +type DecryptRequest struct { + // The data to be decrypted. + Ciphertext []byte `protobuf:"bytes,1,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` + // UID is a unique identifier for the request. + Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` + // The keyID that was provided to the apiserver during encryption. + // This represents the KMS KEK that was used to encrypt the data. + KeyId string `protobuf:"bytes,3,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` + // Additional metadata that was sent by the KMS plugin during encryption. + Annotations map[string][]byte `protobuf:"bytes,4,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DecryptRequest) Reset() { *m = DecryptRequest{} } +func (m *DecryptRequest) String() string { return proto.CompactTextString(m) } +func (*DecryptRequest) ProtoMessage() {} +func (*DecryptRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00212fb1f9d3bf1c, []int{2} +} +func (m *DecryptRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DecryptRequest.Unmarshal(m, b) +} +func (m *DecryptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DecryptRequest.Marshal(b, m, deterministic) +} +func (m *DecryptRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DecryptRequest.Merge(m, src) +} +func (m *DecryptRequest) XXX_Size() int { + return xxx_messageInfo_DecryptRequest.Size(m) +} +func (m *DecryptRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DecryptRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DecryptRequest proto.InternalMessageInfo + +func (m *DecryptRequest) GetCiphertext() []byte { + if m != nil { + return m.Ciphertext + } + return nil +} + +func (m *DecryptRequest) GetUid() string { + if m != nil { + return m.Uid + } + return "" +} + +func (m *DecryptRequest) GetKeyId() string { + if m != nil { + return m.KeyId + } + return "" +} + +func (m *DecryptRequest) GetAnnotations() map[string][]byte { + if m != nil { + return m.Annotations + } + return nil +} + +type DecryptResponse struct { + // The decrypted data. + Plaintext []byte `protobuf:"bytes,1,opt,name=plaintext,proto3" json:"plaintext,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *DecryptResponse) Reset() { *m = DecryptResponse{} } +func (m *DecryptResponse) String() string { return proto.CompactTextString(m) } +func (*DecryptResponse) ProtoMessage() {} +func (*DecryptResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00212fb1f9d3bf1c, []int{3} +} +func (m *DecryptResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_DecryptResponse.Unmarshal(m, b) +} +func (m *DecryptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_DecryptResponse.Marshal(b, m, deterministic) +} +func (m *DecryptResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DecryptResponse.Merge(m, src) +} +func (m *DecryptResponse) XXX_Size() int { + return xxx_messageInfo_DecryptResponse.Size(m) +} +func (m *DecryptResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DecryptResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DecryptResponse proto.InternalMessageInfo + +func (m *DecryptResponse) GetPlaintext() []byte { + if m != nil { + return m.Plaintext + } + return nil +} + +type EncryptRequest struct { + // The data to be encrypted. + Plaintext []byte `protobuf:"bytes,1,opt,name=plaintext,proto3" json:"plaintext,omitempty"` + // UID is a unique identifier for the request. + Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EncryptRequest) Reset() { *m = EncryptRequest{} } +func (m *EncryptRequest) String() string { return proto.CompactTextString(m) } +func (*EncryptRequest) ProtoMessage() {} +func (*EncryptRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00212fb1f9d3bf1c, []int{4} +} +func (m *EncryptRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EncryptRequest.Unmarshal(m, b) +} +func (m *EncryptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EncryptRequest.Marshal(b, m, deterministic) +} +func (m *EncryptRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_EncryptRequest.Merge(m, src) +} +func (m *EncryptRequest) XXX_Size() int { + return xxx_messageInfo_EncryptRequest.Size(m) +} +func (m *EncryptRequest) XXX_DiscardUnknown() { + xxx_messageInfo_EncryptRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_EncryptRequest proto.InternalMessageInfo + +func (m *EncryptRequest) GetPlaintext() []byte { + if m != nil { + return m.Plaintext + } + return nil +} + +func (m *EncryptRequest) GetUid() string { + if m != nil { + return m.Uid + } + return "" +} + +type EncryptResponse struct { + // The encrypted data. + Ciphertext []byte `protobuf:"bytes,1,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` + // The KMS key ID used to encrypt the data. This must always refer to the KMS KEK and not any local KEKs that may be in use. + // This can be used to inform staleness of data updated via value.Transformer.TransformFromStorage. + KeyId string `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` + // Additional metadata to be stored with the encrypted data. + // This metadata can contain the encrypted local KEK that was used to encrypt the DEK. + // This data is stored in plaintext in etcd. KMS plugin implementations are responsible for pre-encrypting any sensitive data. + Annotations map[string][]byte `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *EncryptResponse) Reset() { *m = EncryptResponse{} } +func (m *EncryptResponse) String() string { return proto.CompactTextString(m) } +func (*EncryptResponse) ProtoMessage() {} +func (*EncryptResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00212fb1f9d3bf1c, []int{5} +} +func (m *EncryptResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_EncryptResponse.Unmarshal(m, b) +} +func (m *EncryptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_EncryptResponse.Marshal(b, m, deterministic) +} +func (m *EncryptResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_EncryptResponse.Merge(m, src) +} +func (m *EncryptResponse) XXX_Size() int { + return xxx_messageInfo_EncryptResponse.Size(m) +} +func (m *EncryptResponse) XXX_DiscardUnknown() { + xxx_messageInfo_EncryptResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_EncryptResponse proto.InternalMessageInfo + +func (m *EncryptResponse) GetCiphertext() []byte { + if m != nil { + return m.Ciphertext + } + return nil +} + +func (m *EncryptResponse) GetKeyId() string { + if m != nil { + return m.KeyId + } + return "" +} + +func (m *EncryptResponse) GetAnnotations() map[string][]byte { + if m != nil { + return m.Annotations + } + return nil +} + +func init() { + proto.RegisterType((*StatusRequest)(nil), "v2alpha1.StatusRequest") + proto.RegisterType((*StatusResponse)(nil), "v2alpha1.StatusResponse") + proto.RegisterType((*DecryptRequest)(nil), "v2alpha1.DecryptRequest") + proto.RegisterMapType((map[string][]byte)(nil), "v2alpha1.DecryptRequest.AnnotationsEntry") + proto.RegisterType((*DecryptResponse)(nil), "v2alpha1.DecryptResponse") + proto.RegisterType((*EncryptRequest)(nil), "v2alpha1.EncryptRequest") + proto.RegisterType((*EncryptResponse)(nil), "v2alpha1.EncryptResponse") + proto.RegisterMapType((map[string][]byte)(nil), "v2alpha1.EncryptResponse.AnnotationsEntry") +} + +func init() { proto.RegisterFile("api.proto", fileDescriptor_00212fb1f9d3bf1c) } + +var fileDescriptor_00212fb1f9d3bf1c = []byte{ + // 391 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x93, 0xcf, 0x4f, 0xe2, 0x40, + 0x14, 0xc7, 0x29, 0x5d, 0x60, 0x79, 0xb0, 0x40, 0x26, 0x6c, 0xb6, 0x4b, 0x36, 0x1b, 0x32, 0x27, + 0x76, 0x0f, 0xdd, 0x2c, 0x5e, 0x8c, 0x89, 0x06, 0x13, 0x39, 0x18, 0xf4, 0x52, 0x8e, 0x1e, 0xcc, + 0x08, 0x2f, 0x76, 0x42, 0x9d, 0xd6, 0x76, 0xda, 0x58, 0xff, 0x50, 0x13, 0xff, 0x01, 0xff, 0x0e, + 0xd3, 0x76, 0xa0, 0x2d, 0x88, 0x9e, 0xbc, 0xcd, 0xfb, 0xd1, 0xef, 0xf7, 0xcd, 0x67, 0x5e, 0xa1, + 0xc9, 0x3c, 0x6e, 0x7a, 0xbe, 0x2b, 0x5d, 0xf2, 0x35, 0x1a, 0x33, 0xc7, 0xb3, 0xd9, 0x7f, 0xda, + 0x85, 0x6f, 0x73, 0xc9, 0x64, 0x18, 0x58, 0x78, 0x1f, 0x62, 0x20, 0xe9, 0x15, 0x74, 0xd6, 0x89, + 0xc0, 0x73, 0x45, 0x80, 0xc4, 0x80, 0x46, 0x84, 0x7e, 0xc0, 0x5d, 0x61, 0x68, 0x43, 0x6d, 0xd4, + 0xb4, 0xd6, 0x61, 0x52, 0xb1, 0x91, 0x39, 0xd2, 0x7e, 0x34, 0xaa, 0x59, 0x45, 0x85, 0xe4, 0x3b, + 0xd4, 0x57, 0x18, 0x5f, 0xf3, 0xa5, 0xa1, 0xa7, 0x85, 0xda, 0x0a, 0xe3, 0xf3, 0x25, 0x7d, 0xd1, + 0xa0, 0x73, 0x86, 0x0b, 0x3f, 0xf6, 0xa4, 0xf2, 0x23, 0xbf, 0x01, 0x16, 0xdc, 0xb3, 0xd1, 0x97, + 0xf8, 0x20, 0x53, 0x83, 0xb6, 0x55, 0xc8, 0x90, 0x1e, 0xe8, 0x21, 0x5f, 0x2a, 0xfd, 0xe4, 0xb8, + 0x47, 0x9b, 0xcc, 0xa0, 0xc5, 0x84, 0x70, 0x25, 0x93, 0xdc, 0x15, 0x81, 0xf1, 0x65, 0xa8, 0x8f, + 0x5a, 0xe3, 0x3f, 0xe6, 0xfa, 0xa6, 0x66, 0xd9, 0xd7, 0x3c, 0xcd, 0x7b, 0xa7, 0x42, 0xfa, 0xb1, + 0x55, 0xfc, 0x7a, 0x70, 0x02, 0xbd, 0xed, 0x86, 0x64, 0x92, 0x15, 0xc6, 0x8a, 0x41, 0x72, 0x24, + 0x7d, 0xa8, 0x45, 0xcc, 0x09, 0x31, 0x9d, 0xae, 0x6d, 0x65, 0xc1, 0x51, 0xf5, 0x50, 0xa3, 0xff, + 0xa0, 0xbb, 0xf1, 0x53, 0x18, 0x7f, 0x41, 0xd3, 0x73, 0x18, 0x17, 0x85, 0x7b, 0xe6, 0x09, 0x3a, + 0x81, 0xce, 0x54, 0x94, 0xc0, 0xbc, 0xdb, 0xbf, 0x8b, 0x85, 0x3e, 0x69, 0xd0, 0xdd, 0x48, 0x28, + 0xcf, 0x8f, 0xe0, 0xe6, 0x28, 0xab, 0x45, 0x94, 0x17, 0x65, 0x94, 0x7a, 0x8a, 0xf2, 0x6f, 0x8e, + 0x72, 0xcb, 0xe6, 0x73, 0x59, 0x8e, 0x9f, 0x35, 0xe8, 0xcf, 0x30, 0xbe, 0x64, 0x82, 0xdd, 0xe2, + 0x1d, 0x0a, 0x39, 0x47, 0x3f, 0xe2, 0x0b, 0x24, 0xc7, 0x50, 0xcf, 0x56, 0x95, 0xfc, 0xc8, 0x67, + 0x2b, 0x6d, 0xf3, 0xc0, 0xd8, 0x2d, 0x64, 0x33, 0xd3, 0x0a, 0x99, 0x40, 0x43, 0xbd, 0x11, 0x31, + 0xf6, 0xad, 0xc9, 0xe0, 0xe7, 0x1b, 0x95, 0xa2, 0x82, 0x42, 0x51, 0x54, 0x28, 0xbf, 0x63, 0x51, + 0x61, 0x8b, 0x1b, 0xad, 0xdc, 0xd4, 0xd3, 0xff, 0xf1, 0xe0, 0x35, 0x00, 0x00, 0xff, 0xff, 0xa7, + 0xdd, 0xa1, 0x79, 0x9c, 0x03, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// KeyManagementServiceClient is the client API for KeyManagementService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type KeyManagementServiceClient interface { + // this API is meant to be polled + Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) + // Execute decryption operation in KMS provider. + Decrypt(ctx context.Context, in *DecryptRequest, opts ...grpc.CallOption) (*DecryptResponse, error) + // Execute encryption operation in KMS provider. + Encrypt(ctx context.Context, in *EncryptRequest, opts ...grpc.CallOption) (*EncryptResponse, error) +} + +type keyManagementServiceClient struct { + cc *grpc.ClientConn +} + +func NewKeyManagementServiceClient(cc *grpc.ClientConn) KeyManagementServiceClient { + return &keyManagementServiceClient{cc} +} + +func (c *keyManagementServiceClient) Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) { + out := new(StatusResponse) + err := c.cc.Invoke(ctx, "/v2alpha1.KeyManagementService/Status", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *keyManagementServiceClient) Decrypt(ctx context.Context, in *DecryptRequest, opts ...grpc.CallOption) (*DecryptResponse, error) { + out := new(DecryptResponse) + err := c.cc.Invoke(ctx, "/v2alpha1.KeyManagementService/Decrypt", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *keyManagementServiceClient) Encrypt(ctx context.Context, in *EncryptRequest, opts ...grpc.CallOption) (*EncryptResponse, error) { + out := new(EncryptResponse) + err := c.cc.Invoke(ctx, "/v2alpha1.KeyManagementService/Encrypt", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// KeyManagementServiceServer is the server API for KeyManagementService service. +type KeyManagementServiceServer interface { + // this API is meant to be polled + Status(context.Context, *StatusRequest) (*StatusResponse, error) + // Execute decryption operation in KMS provider. + Decrypt(context.Context, *DecryptRequest) (*DecryptResponse, error) + // Execute encryption operation in KMS provider. + Encrypt(context.Context, *EncryptRequest) (*EncryptResponse, error) +} + +// UnimplementedKeyManagementServiceServer can be embedded to have forward compatible implementations. +type UnimplementedKeyManagementServiceServer struct { +} + +func (*UnimplementedKeyManagementServiceServer) Status(ctx context.Context, req *StatusRequest) (*StatusResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Status not implemented") +} +func (*UnimplementedKeyManagementServiceServer) Decrypt(ctx context.Context, req *DecryptRequest) (*DecryptResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Decrypt not implemented") +} +func (*UnimplementedKeyManagementServiceServer) Encrypt(ctx context.Context, req *EncryptRequest) (*EncryptResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method Encrypt not implemented") +} + +func RegisterKeyManagementServiceServer(s *grpc.Server, srv KeyManagementServiceServer) { + s.RegisterService(&_KeyManagementService_serviceDesc, srv) +} + +func _KeyManagementService_Status_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(StatusRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeyManagementServiceServer).Status(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/v2alpha1.KeyManagementService/Status", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeyManagementServiceServer).Status(ctx, req.(*StatusRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _KeyManagementService_Decrypt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DecryptRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeyManagementServiceServer).Decrypt(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/v2alpha1.KeyManagementService/Decrypt", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeyManagementServiceServer).Decrypt(ctx, req.(*DecryptRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _KeyManagementService_Encrypt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(EncryptRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KeyManagementServiceServer).Encrypt(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/v2alpha1.KeyManagementService/Encrypt", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KeyManagementServiceServer).Encrypt(ctx, req.(*EncryptRequest)) + } + return interceptor(ctx, in, info, handler) +} + +var _KeyManagementService_serviceDesc = grpc.ServiceDesc{ + ServiceName: "v2alpha1.KeyManagementService", + HandlerType: (*KeyManagementServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "Status", + Handler: _KeyManagementService_Status_Handler, + }, + { + MethodName: "Decrypt", + Handler: _KeyManagementService_Decrypt_Handler, + }, + { + MethodName: "Encrypt", + Handler: _KeyManagementService_Encrypt_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "api.proto", +} diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/v2alpha1/api.proto b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/v2alpha1/api.proto new file mode 100644 index 000000000000..9b960b2acc43 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/v2alpha1/api.proto @@ -0,0 +1,78 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// To regenerate api.pb.go run hack/update-generated-kms.sh +syntax = "proto3"; + +package v2alpha1; + +// This service defines the public APIs for remote KMS provider. +service KeyManagementService { + // this API is meant to be polled + rpc Status(StatusRequest) returns (StatusResponse) {} + + // Execute decryption operation in KMS provider. + rpc Decrypt(DecryptRequest) returns (DecryptResponse) {} + // Execute encryption operation in KMS provider. + rpc Encrypt(EncryptRequest) returns (EncryptResponse) {} +} + +message StatusRequest {} + +message StatusResponse { + // Version of the KMS plugin API. Must match the configured .resources[].providers[].kms.apiVersion + string version = 1; + // Any value other than "ok" is failing healthz. On failure, the associated API server healthz endpoint will contain this value as part of the error message. + string healthz = 2; + // the current write key, used to determine staleness of data updated via value.Transformer.TransformFromStorage. + string key_id = 3; +} + +message DecryptRequest { + // The data to be decrypted. + bytes ciphertext = 1; + // UID is a unique identifier for the request. + string uid = 2; + // The keyID that was provided to the apiserver during encryption. + // This represents the KMS KEK that was used to encrypt the data. + string key_id = 3; + // Additional metadata that was sent by the KMS plugin during encryption. + map annotations = 4; +} + +message DecryptResponse { + // The decrypted data. + bytes plaintext = 1; +} + +message EncryptRequest { + // The data to be encrypted. + bytes plaintext = 1; + // UID is a unique identifier for the request. + string uid = 2; +} + +message EncryptResponse { + // The encrypted data. + bytes ciphertext = 1; + // The KMS key ID used to encrypt the data. This must always refer to the KMS KEK and not any local KEKs that may be in use. + // This can be used to inform staleness of data updated via value.Transformer.TransformFromStorage. + string key_id = 2; + // Additional metadata to be stored with the encrypted data. + // This metadata can contain the encrypted local KEK that was used to encrypt the DEK. + // This data is stored in plaintext in etcd. KMS plugin implementations are responsible for pre-encrypting any sensitive data. + map annotations = 3; +} diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/v2alpha1/v2alpha1.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/v2alpha1/v2alpha1.go new file mode 100644 index 000000000000..546c4074ef7e --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/v2alpha1/v2alpha1.go @@ -0,0 +1,18 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Package v2alpha1 contains definition of kms-plugin's gRPC service. +package v2alpha1 diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storageversion/updater.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storageversion/updater.go index ddd8dfbe632f..ce4d87e91c48 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storageversion/updater.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/storageversion/updater.go @@ -91,10 +91,11 @@ func findStatusCondition(conditions []v1alpha1.StorageVersionCondition, // setStatusCondition sets the corresponding condition in conditions to newCondition. // conditions must be non-nil. -// 1. if the condition of the specified type already exists: all fields of the existing condition are updated to -// newCondition, LastTransitionTime is set to now if the new status differs from the old status -// 2. if a condition of the specified type does not exist: LastTransitionTime is set to now() if unset, -// and newCondition is appended +// 1. if the condition of the specified type already exists: all fields of the existing condition are updated to +// newCondition, LastTransitionTime is set to now if the new status differs from the old status +// 2. if a condition of the specified type does not exist: LastTransitionTime is set to now() if unset, +// and newCondition is appended +// // NOTE: forceTransition allows overwriting LastTransitionTime even when the status doesn't change. func setStatusCondition(conditions *[]v1alpha1.StorageVersionCondition, newCondition v1alpha1.StorageVersionCondition, forceTransition bool) { diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go index fa18875e9de6..cd4eff7beff0 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go @@ -143,8 +143,8 @@ type configController struct { // This may only be accessed from the one and only worker goroutine. mostRecentUpdates []updateAttempt - // This must be locked while accessing flowSchemas or - // priorityLevelStates. A lock for writing is needed + // This must be locked while accessing the later fields. + // A lock for writing is needed // for writing to any of the following: // - the flowSchemas field // - the slice held in the flowSchemas field @@ -291,23 +291,6 @@ func newTestableController(config TestableConfig) *configController { return cfgCtlr } -// MaintainObservations keeps the observers from -// metrics.PriorityLevelConcurrencyPairVec from falling -// too far behind -func (cfgCtlr *configController) MaintainObservations(stopCh <-chan struct{}) { - wait.Until(cfgCtlr.updateObservations, 10*time.Second, stopCh) -} - -func (cfgCtlr *configController) updateObservations() { - cfgCtlr.lock.RLock() - defer cfgCtlr.lock.RUnlock() - for _, plc := range cfgCtlr.priorityLevelStates { - if plc.queues != nil { - plc.queues.UpdateObservations() - } - } -} - func (cfgCtlr *configController) Run(stopCh <-chan struct{}) error { defer utilruntime.HandleCrash() @@ -404,6 +387,8 @@ type cfgMeal struct { // provoking a call into this controller while the lock held // waiting on that request to complete. fsStatusUpdates []fsStatusUpdate + + maxWaitingRequests, maxExecutingRequests int } // A buffered set of status updates for FlowSchemas @@ -528,7 +513,13 @@ func (cfgCtlr *configController) lockAndDigestConfigObjects(newPLs []*flowcontro // The new config has been constructed cfgCtlr.priorityLevelStates = meal.newPLStates - klog.V(5).Infof("Switched to new API Priority and Fairness configuration") + klog.V(5).InfoS("Switched to new API Priority and Fairness configuration", "maxWaitingRequests", meal.maxWaitingRequests, "maxExecutinRequests", meal.maxExecutingRequests) + + metrics.GetWaitingReadonlyConcurrency().SetDenominator(float64(meal.maxWaitingRequests)) + metrics.GetWaitingMutatingConcurrency().SetDenominator(float64(meal.maxWaitingRequests)) + metrics.GetExecutingReadonlyConcurrency().SetDenominator(float64(meal.maxExecutingRequests)) + metrics.GetExecutingMutatingConcurrency().SetDenominator(float64(meal.maxExecutingRequests)) + return meal.fsStatusUpdates } @@ -680,6 +671,12 @@ func (meal *cfgMeal) finishQueueSetReconfigsLocked() { // difference will be negligible. concurrencyLimit := int(math.Ceil(float64(meal.cfgCtlr.serverConcurrencyLimit) * float64(plState.pl.Spec.Limited.AssuredConcurrencyShares) / meal.shareSum)) metrics.UpdateSharedConcurrencyLimit(plName, concurrencyLimit) + meal.maxExecutingRequests += concurrencyLimit + var waitLimit int + if qCfg := plState.pl.Spec.Limited.LimitResponse.Queuing; qCfg != nil { + waitLimit = int(qCfg.Queues * qCfg.QueueLengthLimit) + } + meal.maxWaitingRequests += waitLimit if plState.queues == nil { klog.V(5).Infof("Introducing queues for priority level %q: config=%s, concurrencyLimit=%d, quiescing=%v (shares=%v, shareSum=%v)", plName, fcfmt.Fmt(plState.pl.Spec), concurrencyLimit, plState.quiescing, plState.pl.Spec.Limited.AssuredConcurrencyShares, meal.shareSum) diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/apf_filter.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/apf_filter.go index 554eb383d870..71f147867f78 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/apf_filter.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/apf_filter.go @@ -66,9 +66,6 @@ type Interface interface { execFn func(), ) - // MaintainObservations is a helper for maintaining statistics. - MaintainObservations(stopCh <-chan struct{}) - // Run monitors config objects from the main apiservers and causes // any needed changes to local behavior. This method ceases // activity and returns after the given channel is closed. diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/interface.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/interface.go index 165bfb9f3855..4a6d91fa91a7 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/interface.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/interface.go @@ -86,10 +86,6 @@ type QueueSet interface { // exactly once. StartRequest(ctx context.Context, width *request.WorkEstimate, hashValue uint64, flowDistinguisher, fsName string, descr1, descr2 interface{}, queueNoteFn QueueNoteFn) (req Request, idle bool) - // UpdateObservations makes sure any time-based statistics have - // caught up with the current clock reading - UpdateObservations() - // Dump saves and returns the instant internal state of the queue-set. // Note that dumping process will stop the queue-set from proceeding // any requests. diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/doc.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/doc.go index 840d78ea1816..fc30ebfd5bb5 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/doc.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/doc.go @@ -52,12 +52,12 @@ limitations under the License. // limit. In the original paper, the partial derivative of R(t) with // respect to t is // -// 1 / NEQ(t) . +// 1 / NEQ(t) . // // To generalize from transmitting one packet at a time to executing C // requests at a time, that derivative becomes // -// C / NEQ(t) . +// C / NEQ(t) . // // However, sometimes there are fewer than C requests available to // execute. For a given queue "q", let us also write "reqs(q, t)" for @@ -70,7 +70,7 @@ limitations under the License. // for server requests: at a particular time t, the partial derivative // of R(t) with respect to t is // -// min( C, sum[over q] reqs(q, t) ) / NEQ(t) . +// min( C, sum[over q] reqs(q, t) ) / NEQ(t) . // // In terms of the implementation outline, this is the rate at which // virtual time is advancing at time t (in virtual nanoseconds per @@ -116,5 +116,4 @@ limitations under the License. // queue’s virtual start time is advanced by G. When a request // finishes being served, and the actual service time was S, the // queue’s virtual start time is decremented by G - S. -// package queueset diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go index 171382a7c4ab..faa670bf173e 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset.go @@ -243,6 +243,9 @@ func (qs *queueSet) setConfiguration(ctx context.Context, qCfg fq.QueuingConfig, if qll < 1 { qll = 1 } + if qCfg.DesiredNumQueues > 0 { + qll *= qCfg.DesiredNumQueues + } qs.reqsGaugePair.RequestsWaiting.SetDenominator(float64(qll)) qs.reqsGaugePair.RequestsExecuting.SetDenominator(float64(dCfg.ConcurrencyLimit)) qs.execSeatsGauge.SetDenominator(float64(dCfg.ConcurrencyLimit)) @@ -808,8 +811,8 @@ func (qs *queueSet) findDispatchQueueLocked() (*queue, *request) { // If the requested final seats exceed capacity of that queue, // we reduce them to current capacity and adjust additional latency // to preserve the total amount of work. - if oldestReqFromMinQueue.workEstimate.FinalSeats > uint(qs.dCfg.ConcurrencyLimit) { - finalSeats := uint(qs.dCfg.ConcurrencyLimit) + if oldestReqFromMinQueue.workEstimate.FinalSeats > uint64(qs.dCfg.ConcurrencyLimit) { + finalSeats := uint64(qs.dCfg.ConcurrencyLimit) additionalLatency := oldestReqFromMinQueue.workEstimate.finalWork.DurationPerSeat(float64(finalSeats)) oldestReqFromMinQueue.workEstimate.FinalSeats = finalSeats oldestReqFromMinQueue.workEstimate.AdditionalLatency = additionalLatency @@ -988,12 +991,6 @@ func removeQueueAndUpdateIndexes(queues []*queue, index int) []*queue { return keptQueues } -func (qs *queueSet) UpdateObservations() { - qs.reqsGaugePair.RequestsWaiting.Add(0) - qs.reqsGaugePair.RequestsExecuting.Add(0) - qs.execSeatsGauge.Add(0) -} - func (qs *queueSet) Dump(includeRequestDetails bool) debug.QueueSetDump { qs.lock.Lock() defer qs.lock.Unlock() diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/metrics/metrics.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/metrics/metrics.go index b72d549cddfc..3ef66292eb36 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/metrics/metrics.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/metrics/metrics.go @@ -23,11 +23,11 @@ import ( "sync" "time" + epmetrics "k8s.io/apiserver/pkg/endpoints/metrics" apirequest "k8s.io/apiserver/pkg/endpoints/request" compbasemetrics "k8s.io/component-base/metrics" "k8s.io/component-base/metrics/legacyregistry" basemetricstestutil "k8s.io/component-base/metrics/testutil" - "k8s.io/utils/clock" ) const ( @@ -36,11 +36,13 @@ const ( ) const ( - requestKind = "request_kind" - priorityLevel = "priority_level" - flowSchema = "flow_schema" - phase = "phase" - mark = "mark" + requestKind = "request_kind" + priorityLevel = "priority_level" + flowSchema = "flow_schema" + phase = "phase" + LabelNamePhase = "phase" + LabelValueWaiting = "waiting" + LabelValueExecuting = "executing" ) var ( @@ -106,66 +108,46 @@ var ( []string{priorityLevel, flowSchema}, ) // PriorityLevelExecutionSeatsGaugeVec creates observers of seats occupied throughout execution for priority levels - PriorityLevelExecutionSeatsGaugeVec = NewSampleAndWaterMarkHistogramsVec(clock.RealClock{}, time.Millisecond, - &compbasemetrics.HistogramOpts{ - Namespace: namespace, - Subsystem: subsystem, - Name: "priority_level_seat_count_samples", - Help: "Periodic observations of number of seats occupied for any stage of execution (but only initial stage for WATCHes)", - Buckets: []float64{0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1}, - ConstLabels: map[string]string{phase: "executing"}, - StabilityLevel: compbasemetrics.ALPHA, - }, - &compbasemetrics.HistogramOpts{ - Namespace: namespace, - Subsystem: subsystem, - Name: "priority_level_seat_count_watermarks", - Help: "Watermarks of the number of seats occupied for any stage of execution (but only initial stage for WATCHes)", - Buckets: []float64{0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1}, + PriorityLevelExecutionSeatsGaugeVec = NewTimingRatioHistogramVec( + &compbasemetrics.TimingHistogramOpts{ + Namespace: namespace, + Subsystem: subsystem, + Name: "priority_level_seat_utilization", + Help: "Observations, at the end of every nanosecond, of utilization of seats for any stage of execution (but only initial stage for WATCHes)", + // Buckets for both 0.99 and 1.0 mean PromQL's histogram_quantile will reveal saturation + Buckets: []float64{0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.95, 0.99, 1}, ConstLabels: map[string]string{phase: "executing"}, StabilityLevel: compbasemetrics.ALPHA, }, - []string{priorityLevel}, + priorityLevel, ) // PriorityLevelConcurrencyGaugeVec creates gauges of concurrency broken down by phase, priority level - PriorityLevelConcurrencyGaugeVec = NewSampleAndWaterMarkHistogramsVec(clock.RealClock{}, time.Millisecond, - &compbasemetrics.HistogramOpts{ - Namespace: namespace, - Subsystem: subsystem, - Name: "priority_level_request_count_samples", - Help: "Periodic observations of the number of requests waiting or in any stage of execution (but only initial stage for WATCHes)", - Buckets: []float64{0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1}, - StabilityLevel: compbasemetrics.ALPHA, - }, - &compbasemetrics.HistogramOpts{ - Namespace: namespace, - Subsystem: subsystem, - Name: "priority_level_request_count_watermarks", - Help: "Watermarks of the number of requests waiting or in any stage of execution (but only initial stage for WATCHes)", - Buckets: []float64{0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1}, + PriorityLevelConcurrencyGaugeVec = NewTimingRatioHistogramVec( + &compbasemetrics.TimingHistogramOpts{ + Namespace: namespace, + Subsystem: subsystem, + Name: "priority_level_request_utilization", + Help: "Observations, at the end of every nanosecond, of number of requests (as a fraction of the relevant limit) waiting or in any stage of execution (but only initial stage for WATCHes)", + // For executing: the denominator will be seats, so this metric will skew low. + // For waiting: total queue capacity is generally quite generous, so this metric will skew low. + Buckets: []float64{0, 0.001, 0.003, 0.01, 0.03, 0.1, 0.25, 0.5, 0.75, 1}, StabilityLevel: compbasemetrics.ALPHA, }, - []string{LabelNamePhase, priorityLevel}, + LabelNamePhase, priorityLevel, ) - // ReadWriteConcurrencyGaugeVec creates gauges of number of requests broken down by phase and mutating vs readonly - ReadWriteConcurrencyGaugeVec = NewSampleAndWaterMarkHistogramsVec(clock.RealClock{}, time.Millisecond, - &compbasemetrics.HistogramOpts{ - Namespace: namespace, - Subsystem: subsystem, - Name: "read_vs_write_request_count_samples", - Help: "Periodic observations of the number of requests waiting or in regular stage of execution", - Buckets: []float64{0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1}, - StabilityLevel: compbasemetrics.ALPHA, - }, - &compbasemetrics.HistogramOpts{ - Namespace: namespace, - Subsystem: subsystem, - Name: "read_vs_write_request_count_watermarks", - Help: "Watermarks of the number of requests waiting or in regular stage of execution", - Buckets: []float64{0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1}, + // readWriteConcurrencyGaugeVec creates ratioed gauges of requests/limit broken down by phase and mutating vs readonly + readWriteConcurrencyGaugeVec = NewTimingRatioHistogramVec( + &compbasemetrics.TimingHistogramOpts{ + Namespace: namespace, + Subsystem: subsystem, + Name: "read_vs_write_current_requests", + Help: "Observations, at the end of every nanosecond, of the number of requests (as a fraction of the relevant limit) waiting or in regular stage of execution", + // This metric will skew low for the same reason as the priority level metrics + // and also because APF has a combined limit for mutating and readonly. + Buckets: []float64{0, 0.001, 0.01, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.95, 0.99, 1}, StabilityLevel: compbasemetrics.ALPHA, }, - []string{LabelNamePhase, requestKind}, + LabelNamePhase, requestKind, ) apiserverCurrentR = compbasemetrics.NewGaugeVec( &compbasemetrics.GaugeOpts{ @@ -357,9 +339,39 @@ var ( }. Append(PriorityLevelExecutionSeatsGaugeVec.metrics()...). Append(PriorityLevelConcurrencyGaugeVec.metrics()...). - Append(ReadWriteConcurrencyGaugeVec.metrics()...) + Append(readWriteConcurrencyGaugeVec.metrics()...) ) +type indexOnce struct { + labelValues []string + once sync.Once + gauge RatioedGauge +} + +func (io *indexOnce) getGauge() RatioedGauge { + io.once.Do(func() { + io.gauge = readWriteConcurrencyGaugeVec.NewForLabelValuesSafe(0, 1, io.labelValues) + }) + return io.gauge +} + +var waitingReadonly = indexOnce{labelValues: []string{LabelValueWaiting, epmetrics.ReadOnlyKind}} +var executingReadonly = indexOnce{labelValues: []string{LabelValueExecuting, epmetrics.ReadOnlyKind}} +var waitingMutating = indexOnce{labelValues: []string{LabelValueWaiting, epmetrics.MutatingKind}} +var executingMutating = indexOnce{labelValues: []string{LabelValueExecuting, epmetrics.MutatingKind}} + +// GetWaitingReadonlyConcurrency returns the gauge of number of readonly requests waiting / limit on those. +var GetWaitingReadonlyConcurrency = waitingReadonly.getGauge + +// GetExecutingReadonlyConcurrency returns the gauge of number of executing readonly requests / limit on those. +var GetExecutingReadonlyConcurrency = executingReadonly.getGauge + +// GetWaitingMutatingConcurrency returns the gauge of number of mutating requests waiting / limit on those. +var GetWaitingMutatingConcurrency = waitingMutating.getGauge + +// GetExecutingMutatingConcurrency returns the gauge of number of executing mutating requests / limit on those. +var GetExecutingMutatingConcurrency = executingMutating.getGauge + // AddRequestsInQueues adds the given delta to the gauge of the # of requests in the queues of the specified flowSchema and priorityLevel func AddRequestsInQueues(ctx context.Context, priorityLevel, flowSchema string, delta int) { apiserverCurrentInqueueRequests.WithLabelValues(priorityLevel, flowSchema).Add(float64(delta)) diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/metrics/sample_and_watermark.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/metrics/sample_and_watermark.go deleted file mode 100644 index b1f83e628ce5..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/metrics/sample_and_watermark.go +++ /dev/null @@ -1,204 +0,0 @@ -/* -Copyright 2019 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package metrics - -import ( - "sync" - "time" - - compbasemetrics "k8s.io/component-base/metrics" - "k8s.io/klog/v2" - "k8s.io/utils/clock" -) - -const ( - labelNameMark = "mark" - labelValueLo = "low" - labelValueHi = "high" - LabelNamePhase = "phase" - LabelValueWaiting = "waiting" - LabelValueExecuting = "executing" -) - -// SampleAndWaterMarkObserverVec creates RatioedGauges that -// populate histograms of samples and low- and high-water-marks. The -// generator has a samplePeriod, and the histograms get an observation -// every samplePeriod. The sampling windows are quantized based on -// the monotonic rather than wall-clock times. The `t0` field is -// there so to provide a baseline for monotonic clock differences. -type SampleAndWaterMarkObserverVec struct { - *sampleAndWaterMarkObserverVec -} - -type sampleAndWaterMarkObserverVec struct { - clock clock.PassiveClock - t0 time.Time - samplePeriod time.Duration - samples *compbasemetrics.HistogramVec - waterMarks *compbasemetrics.HistogramVec -} - -var _ RatioedGaugeVec = SampleAndWaterMarkObserverVec{} - -// NewSampleAndWaterMarkHistogramsVec makes a new one -func NewSampleAndWaterMarkHistogramsVec(clock clock.PassiveClock, samplePeriod time.Duration, sampleOpts, waterMarkOpts *compbasemetrics.HistogramOpts, labelNames []string) SampleAndWaterMarkObserverVec { - return SampleAndWaterMarkObserverVec{ - &sampleAndWaterMarkObserverVec{ - clock: clock, - t0: clock.Now(), - samplePeriod: samplePeriod, - samples: compbasemetrics.NewHistogramVec(sampleOpts, labelNames), - waterMarks: compbasemetrics.NewHistogramVec(waterMarkOpts, append([]string{labelNameMark}, labelNames...)), - }} -} - -func (swg *sampleAndWaterMarkObserverVec) quantize(when time.Time) int64 { - return int64(when.Sub(swg.t0) / swg.samplePeriod) -} - -// NewForLabelValuesSafe makes a new RatioedGauge -func (swg *sampleAndWaterMarkObserverVec) NewForLabelValuesSafe(initialNumerator, initialDenominator float64, labelValues []string) RatioedGauge { - ratio := initialNumerator / initialDenominator - when := swg.clock.Now() - return &sampleAndWaterMarkHistograms{ - sampleAndWaterMarkObserverVec: swg, - labelValues: labelValues, - loLabelValues: append([]string{labelValueLo}, labelValues...), - hiLabelValues: append([]string{labelValueHi}, labelValues...), - denominator: initialDenominator, - sampleAndWaterMarkAccumulator: sampleAndWaterMarkAccumulator{ - lastSet: when, - lastSetInt: swg.quantize(when), - numerator: initialNumerator, - ratio: ratio, - loRatio: ratio, - hiRatio: ratio, - }} -} - -func (swg *sampleAndWaterMarkObserverVec) metrics() Registerables { - return Registerables{swg.samples, swg.waterMarks} -} - -type sampleAndWaterMarkHistograms struct { - *sampleAndWaterMarkObserverVec - labelValues []string - loLabelValues, hiLabelValues []string - - sync.Mutex - denominator float64 - sampleAndWaterMarkAccumulator -} - -type sampleAndWaterMarkAccumulator struct { - lastSet time.Time - lastSetInt int64 // lastSet / samplePeriod - numerator float64 - ratio float64 // numerator/denominator - loRatio, hiRatio float64 -} - -var _ RatioedGauge = (*sampleAndWaterMarkHistograms)(nil) - -func (saw *sampleAndWaterMarkHistograms) Set(numerator float64) { - saw.innerSet(func() { - saw.numerator = numerator - }) -} - -func (saw *sampleAndWaterMarkHistograms) Add(deltaNumerator float64) { - saw.innerSet(func() { - saw.numerator += deltaNumerator - }) -} -func (saw *sampleAndWaterMarkHistograms) Sub(deltaNumerator float64) { - saw.innerSet(func() { - saw.numerator -= deltaNumerator - }) -} - -func (saw *sampleAndWaterMarkHistograms) Inc() { - saw.innerSet(func() { - saw.numerator += 1 - }) -} -func (saw *sampleAndWaterMarkHistograms) Dec() { - saw.innerSet(func() { - saw.numerator -= 1 - }) -} - -func (saw *sampleAndWaterMarkHistograms) SetToCurrentTime() { - saw.innerSet(func() { - saw.numerator = float64(saw.clock.Now().Sub(time.Unix(0, 0))) - }) -} - -func (saw *sampleAndWaterMarkHistograms) SetDenominator(denominator float64) { - saw.innerSet(func() { - saw.denominator = denominator - }) -} - -func (saw *sampleAndWaterMarkHistograms) innerSet(updateNumeratorOrDenominator func()) { - when, whenInt, acc, wellOrdered := func() (time.Time, int64, sampleAndWaterMarkAccumulator, bool) { - saw.Lock() - defer saw.Unlock() - // Moved these variables here to tiptoe around https://github.com/golang/go/issues/43570 for #97685 - when := saw.clock.Now() - whenInt := saw.quantize(when) - acc := saw.sampleAndWaterMarkAccumulator - wellOrdered := !when.Before(acc.lastSet) - updateNumeratorOrDenominator() - saw.ratio = saw.numerator / saw.denominator - if wellOrdered { - if acc.lastSetInt < whenInt { - saw.loRatio, saw.hiRatio = acc.ratio, acc.ratio - saw.lastSetInt = whenInt - } - saw.lastSet = when - } - // `wellOrdered` should always be true because we are using - // monotonic clock readings and they never go backwards. Yet - // very small backwards steps (under 1 microsecond) have been - // observed - // (https://github.com/kubernetes/kubernetes/issues/96459). - // In the backwards case, treat the current reading as if it - // had occurred at time `saw.lastSet` and log an error. It - // would be wrong to update `saw.lastSet` in this case because - // that plants a time bomb for future updates to - // `saw.lastSetInt`. - if saw.ratio < saw.loRatio { - saw.loRatio = saw.ratio - } else if saw.ratio > saw.hiRatio { - saw.hiRatio = saw.ratio - } - return when, whenInt, acc, wellOrdered - }() - if !wellOrdered { - lastSetS := acc.lastSet.String() - whenS := when.String() - klog.Errorf("Time went backwards from %s to %s for labelValues=%#+v", lastSetS, whenS, saw.labelValues) - } - for acc.lastSetInt < whenInt { - saw.samples.WithLabelValues(saw.labelValues...).Observe(acc.ratio) - saw.waterMarks.WithLabelValues(saw.loLabelValues...).Observe(acc.loRatio) - saw.waterMarks.WithLabelValues(saw.hiLabelValues...).Observe(acc.hiRatio) - acc.lastSetInt++ - acc.loRatio, acc.hiRatio = acc.ratio, acc.ratio - } -} diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/metrics/timing_ratio_histogram.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/metrics/timing_ratio_histogram.go new file mode 100644 index 000000000000..cd32782a49cd --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/metrics/timing_ratio_histogram.go @@ -0,0 +1,225 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package metrics + +import ( + "context" + "sync" + "time" + + compbasemetrics "k8s.io/component-base/metrics" + "k8s.io/klog/v2" +) + +// TimingRatioHistogram is essentially a gauge for a ratio where the client +// independently controls the numerator and denominator. +// When scraped it produces a histogram of samples of the ratio +// taken at the end of every nanosecond. +// `*TimingRatioHistogram` implements both Registerable and RatioedGauge. +type TimingRatioHistogram struct { + // The implementation is layered on TimingHistogram, + // adding the division by an occasionally adjusted denominator. + + // Registerable is the registerable aspect. + // That is the registerable aspect of the underlying TimingHistogram. + compbasemetrics.Registerable + + // timingRatioHistogramInner implements the RatioedGauge aspect. + timingRatioHistogramInner +} + +// TimingRatioHistogramOpts is the constructor parameters of a TimingRatioHistogram. +// The `TimingHistogramOpts.InitialValue` is the initial numerator. +type TimingRatioHistogramOpts struct { + compbasemetrics.TimingHistogramOpts + InitialDenominator float64 +} + +// timingRatioHistogramInner implements the instrumentation aspect +type timingRatioHistogramInner struct { + nowFunc func() time.Time + getGaugeOfRatio func() Gauge + sync.Mutex + // access only with mutex locked + numerator, denominator float64 +} + +var _ RatioedGauge = &timingRatioHistogramInner{} +var _ RatioedGauge = &TimingRatioHistogram{} +var _ compbasemetrics.Registerable = &TimingRatioHistogram{} + +// NewTimingHistogram returns an object which is TimingHistogram-like. However, nothing +// will be measured until the histogram is registered in at least one registry. +func NewTimingRatioHistogram(opts *TimingRatioHistogramOpts) *TimingRatioHistogram { + return NewTestableTimingRatioHistogram(time.Now, opts) +} + +// NewTestableTimingHistogram adds injection of the clock +func NewTestableTimingRatioHistogram(nowFunc func() time.Time, opts *TimingRatioHistogramOpts) *TimingRatioHistogram { + ratioedOpts := opts.TimingHistogramOpts + ratioedOpts.InitialValue /= opts.InitialDenominator + th := compbasemetrics.NewTestableTimingHistogram(nowFunc, &ratioedOpts) + return &TimingRatioHistogram{ + Registerable: th, + timingRatioHistogramInner: timingRatioHistogramInner{ + nowFunc: nowFunc, + getGaugeOfRatio: func() Gauge { return th }, + numerator: opts.InitialValue, + denominator: opts.InitialDenominator, + }} +} + +func (trh *timingRatioHistogramInner) Set(numerator float64) { + trh.Lock() + defer trh.Unlock() + trh.numerator = numerator + ratio := numerator / trh.denominator + trh.getGaugeOfRatio().Set(ratio) +} + +func (trh *timingRatioHistogramInner) Add(deltaNumerator float64) { + trh.Lock() + defer trh.Unlock() + numerator := trh.numerator + deltaNumerator + trh.numerator = numerator + ratio := numerator / trh.denominator + trh.getGaugeOfRatio().Set(ratio) +} + +func (trh *timingRatioHistogramInner) Sub(deltaNumerator float64) { + trh.Add(-deltaNumerator) +} + +func (trh *timingRatioHistogramInner) Inc() { + trh.Add(1) +} + +func (trh *timingRatioHistogramInner) Dec() { + trh.Add(-1) +} + +func (trh *timingRatioHistogramInner) SetToCurrentTime() { + trh.Set(float64(trh.nowFunc().Sub(time.Unix(0, 0)))) +} + +func (trh *timingRatioHistogramInner) SetDenominator(denominator float64) { + trh.Lock() + defer trh.Unlock() + trh.denominator = denominator + ratio := trh.numerator / denominator + trh.getGaugeOfRatio().Set(ratio) +} + +// WithContext allows the normal TimingHistogram metric to pass in context. +// The context is no-op at the current level of development. +func (trh *timingRatioHistogramInner) WithContext(ctx context.Context) RatioedGauge { + return trh +} + +// TimingRatioHistogramVec is a collection of TimingRatioHistograms that differ +// only in label values. +// `*TimingRatioHistogramVec` implements both Registerable and RatioedGaugeVec. +type TimingRatioHistogramVec struct { + // promote only the Registerable methods + compbasemetrics.Registerable + // delegate is TimingHistograms of the ratio + delegate compbasemetrics.GaugeVecMetric +} + +var _ RatioedGaugeVec = &TimingRatioHistogramVec{} +var _ compbasemetrics.Registerable = &TimingRatioHistogramVec{} + +// NewTimingHistogramVec constructs a new vector. +// `opts.InitialValue` is the initial ratio, but this applies +// only for the tiny period of time until NewForLabelValuesSafe sets +// the ratio based on the given initial numerator and denominator. +// Thus there is a tiny splinter of time during member construction when +// its underlying TimingHistogram is given the initial numerator rather than +// the initial ratio (which is obviously a non-issue when both are zero). +// Note the difficulties associated with extracting a member +// before registering the vector. +func NewTimingRatioHistogramVec(opts *compbasemetrics.TimingHistogramOpts, labelNames ...string) *TimingRatioHistogramVec { + return NewTestableTimingRatioHistogramVec(time.Now, opts, labelNames...) +} + +// NewTestableTimingHistogramVec adds injection of the clock. +func NewTestableTimingRatioHistogramVec(nowFunc func() time.Time, opts *compbasemetrics.TimingHistogramOpts, labelNames ...string) *TimingRatioHistogramVec { + delegate := compbasemetrics.NewTestableTimingHistogramVec(nowFunc, opts, labelNames) + return &TimingRatioHistogramVec{ + Registerable: delegate, + delegate: delegate, + } +} + +func (v *TimingRatioHistogramVec) metrics() Registerables { + return Registerables{v} +} + +// NewForLabelValuesChecked will return an error if this vec is not hidden and not yet registered +// or there is a syntactic problem with the labelValues. +func (v *TimingRatioHistogramVec) NewForLabelValuesChecked(initialNumerator, initialDenominator float64, labelValues []string) (RatioedGauge, error) { + underMember, err := v.delegate.WithLabelValuesChecked(labelValues...) + if err != nil { + return noopRatioed{}, err + } + underMember.Set(initialNumerator / initialDenominator) + return &timingRatioHistogramInner{ + getGaugeOfRatio: func() Gauge { return underMember }, + numerator: initialNumerator, + denominator: initialDenominator, + }, nil +} + +// NewForLabelValuesSafe is the same as NewForLabelValuesChecked in cases where that does not +// return an error. When the unsafe version returns an error due to the vector not being +// registered yet, the safe version returns an object that implements its methods +// by looking up the relevant vector member in each call (thus getting a non-noop after registration). +// In the other error cases the object returned here is a noop. +func (v *TimingRatioHistogramVec) NewForLabelValuesSafe(initialNumerator, initialDenominator float64, labelValues []string) RatioedGauge { + tro, err := v.NewForLabelValuesChecked(initialNumerator, initialDenominator, labelValues) + if err == nil { + klog.V(3).InfoS("TimingRatioHistogramVec.NewForLabelValuesSafe hit the efficient case", "fqName", v.FQName(), "labelValues", labelValues) + return tro + } + if !compbasemetrics.ErrIsNotRegistered(err) { + klog.ErrorS(err, "Failed to extract TimingRatioHistogramVec member, using noop instead", "vectorname", v.FQName(), "labelValues", labelValues) + return tro + } + klog.V(3).InfoS("TimingRatioHistogramVec.NewForLabelValuesSafe hit the inefficient case", "fqName", v.FQName(), "labelValues", labelValues) + // At this point we know v.NewForLabelValuesChecked(..) returns a permanent noop, + // which we precisely want to avoid using. Instead, make our own gauge that + // fetches the element on every Set. + return &timingRatioHistogramInner{ + getGaugeOfRatio: func() Gauge { return v.delegate.WithLabelValues(labelValues...) }, + numerator: initialNumerator, + denominator: initialDenominator, + } +} + +type noopRatioed struct{} + +func (noopRatioed) Set(float64) {} +func (noopRatioed) Add(float64) {} +func (noopRatioed) Sub(float64) {} +func (noopRatioed) Inc() {} +func (noopRatioed) Dec() {} +func (noopRatioed) SetToCurrentTime() {} +func (noopRatioed) SetDenominator(float64) {} + +func (v *TimingRatioHistogramVec) Reset() { + v.delegate.Reset() +} diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/request/config.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/request/config.go new file mode 100644 index 000000000000..b6db19209b54 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/request/config.go @@ -0,0 +1,92 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package request + +import ( + "time" + + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +const ( + minimumSeats = 1 + maximumSeats = 10 + objectsPerSeat = 100.0 + watchesPerSeat = 10.0 + enableMutatingWorkEstimator = true +) + +var eventAdditionalDuration = 5 * time.Millisecond + +// WorkEstimatorConfig holds work estimator parameters. +type WorkEstimatorConfig struct { + *ListWorkEstimatorConfig `json:"listWorkEstimatorConfig,omitempty"` + *MutatingWorkEstimatorConfig `json:"mutatingWorkEstimatorConfig,omitempty"` + + // MinimumSeats is the minimum number of seats a request must occupy. + MinimumSeats uint64 `json:"minimumSeats,omitempty"` + // MaximumSeats is the maximum number of seats a request can occupy + // + // NOTE: work_estimate_seats_samples metric uses the value of maximumSeats + // as the upper bound, so when we change maximumSeats we should also + // update the buckets of the metric. + MaximumSeats uint64 `json:"maximumSeats,omitempty"` +} + +// ListWorkEstimatorConfig holds work estimator parameters related to list requests. +type ListWorkEstimatorConfig struct { + ObjectsPerSeat float64 `json:"objectsPerSeat,omitempty"` +} + +// MutatingWorkEstimatorConfig holds work estimator +// parameters related to watches of mutating objects. +type MutatingWorkEstimatorConfig struct { + // TODO(wojtekt): Remove it once we tune the algorithm to not fail + // scalability tests. + Enabled bool `json:"enable,omitempty"` + EventAdditionalDuration metav1.Duration `json:"eventAdditionalDurationMs,omitempty"` + WatchesPerSeat float64 `json:"watchesPerSeat,omitempty"` +} + +// DefaultWorkEstimatorConfig creates a new WorkEstimatorConfig with default values. +func DefaultWorkEstimatorConfig() *WorkEstimatorConfig { + return &WorkEstimatorConfig{ + MinimumSeats: minimumSeats, + MaximumSeats: maximumSeats, + ListWorkEstimatorConfig: defaultListWorkEstimatorConfig(), + MutatingWorkEstimatorConfig: defaultMutatingWorkEstimatorConfig(), + } +} + +// defaultListWorkEstimatorConfig creates a new ListWorkEstimatorConfig with default values. +func defaultListWorkEstimatorConfig() *ListWorkEstimatorConfig { + return &ListWorkEstimatorConfig{ObjectsPerSeat: objectsPerSeat} +} + +// defaultMutatingWorkEstimatorConfig creates a new MutatingWorkEstimatorConfig with default values. +func defaultMutatingWorkEstimatorConfig() *MutatingWorkEstimatorConfig { + return &MutatingWorkEstimatorConfig{ + Enabled: enableMutatingWorkEstimator, + EventAdditionalDuration: metav1.Duration{Duration: eventAdditionalDuration}, + WatchesPerSeat: watchesPerSeat, + } +} + +// eventAdditionalDuration converts eventAdditionalDurationMs to a time.Duration type. +func (c *MutatingWorkEstimatorConfig) eventAdditionalDuration() time.Duration { + return c.EventAdditionalDuration.Duration +} diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/request/list_work_estimator.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/request/list_work_estimator.go index 50125715c8a1..4771fcdecfe0 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/request/list_work_estimator.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/request/list_work_estimator.go @@ -29,14 +29,16 @@ import ( "k8s.io/klog/v2" ) -func newListWorkEstimator(countFn objectCountGetterFunc) WorkEstimatorFunc { +func newListWorkEstimator(countFn objectCountGetterFunc, config *WorkEstimatorConfig) WorkEstimatorFunc { estimator := &listWorkEstimator{ + config: config, countGetterFn: countFn, } return estimator.estimate } type listWorkEstimator struct { + config *WorkEstimatorConfig countGetterFn objectCountGetterFunc } @@ -45,7 +47,7 @@ func (e *listWorkEstimator) estimate(r *http.Request, flowSchemaName, priorityLe if !ok { // no RequestInfo should never happen, but to be on the safe side // let's return maximumSeats - return WorkEstimate{InitialSeats: maximumSeats} + return WorkEstimate{InitialSeats: e.config.MaximumSeats} } query := r.URL.Query() @@ -55,7 +57,7 @@ func (e *listWorkEstimator) estimate(r *http.Request, flowSchemaName, priorityLe // This request is destined to fail in the validation layer, // return maximumSeats for this request to be consistent. - return WorkEstimate{InitialSeats: maximumSeats} + return WorkEstimate{InitialSeats: e.config.MaximumSeats} } isListFromCache := !shouldListFromStorage(query, &listOptions) @@ -66,7 +68,7 @@ func (e *listWorkEstimator) estimate(r *http.Request, flowSchemaName, priorityLe // be conservative here and allocate maximum seats to this list request. // NOTE: if a CRD is removed, its count will go stale first and then the // pruner will eventually remove the CRD from the cache. - return WorkEstimate{InitialSeats: maximumSeats} + return WorkEstimate{InitialSeats: e.config.MaximumSeats} case err == ObjectCountNotFoundErr: // there are multiple scenarios in which we can see this error: // a. the type is truly unknown, a typo on the caller's part. @@ -80,12 +82,12 @@ func (e *listWorkEstimator) estimate(r *http.Request, flowSchemaName, priorityLe // when aggregated API calls are overestimated, we allocate the minimum // possible seats (see #109106 as an example when being more conservative // led to problems). - return WorkEstimate{InitialSeats: minimumSeats} + return WorkEstimate{InitialSeats: e.config.MinimumSeats} case err != nil: // we should never be here since Get returns either ObjectCountStaleErr or // ObjectCountNotFoundErr, return maximumSeats to be on the safe side. klog.ErrorS(err, "Unexpected error from object count tracker") - return WorkEstimate{InitialSeats: maximumSeats} + return WorkEstimate{InitialSeats: e.config.MaximumSeats} } limit := numStored @@ -111,14 +113,14 @@ func (e *listWorkEstimator) estimate(r *http.Request, flowSchemaName, priorityLe // will be processed by the list request. // we will come up with a different formula for the transformation function and/or // fine tune this number in future iteratons. - seats := uint(math.Ceil(float64(estimatedObjectsToBeProcessed) / float64(100))) + seats := uint64(math.Ceil(float64(estimatedObjectsToBeProcessed) / e.config.ObjectsPerSeat)) // make sure we never return a seat of zero - if seats < minimumSeats { - seats = minimumSeats + if seats < e.config.MinimumSeats { + seats = e.config.MinimumSeats } - if seats > maximumSeats { - seats = maximumSeats + if seats > e.config.MaximumSeats { + seats = e.config.MaximumSeats } return WorkEstimate{InitialSeats: seats} } @@ -132,7 +134,8 @@ func key(requestInfo *apirequest.RequestInfo) string { } // NOTICE: Keep in sync with shouldDelegateList function in -// staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go +// +// staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go func shouldListFromStorage(query url.Values, opts *metav1.ListOptions) bool { resourceVersion := opts.ResourceVersion pagingEnabled := utilfeature.DefaultFeatureGate.Enabled(features.APIListChunking) diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go index 45f47686a602..990aa63241ac 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/request/mutating_work_estimator.go @@ -25,35 +25,23 @@ import ( "k8s.io/apiserver/pkg/util/flowcontrol/metrics" ) -const ( - watchesPerSeat = 10.0 - eventAdditionalDuration = 5 * time.Millisecond - // TODO(wojtekt): Remove it once we tune the algorithm to not fail - // scalability tests. - enableMutatingWorkEstimator = true -) - -func newMutatingWorkEstimator(countFn watchCountGetterFunc) WorkEstimatorFunc { - return newTestMutatingWorkEstimator(countFn, enableMutatingWorkEstimator) -} - -func newTestMutatingWorkEstimator(countFn watchCountGetterFunc, enabled bool) WorkEstimatorFunc { +func newMutatingWorkEstimator(countFn watchCountGetterFunc, config *WorkEstimatorConfig) WorkEstimatorFunc { estimator := &mutatingWorkEstimator{ + config: config, countFn: countFn, - enabled: enabled, } return estimator.estimate } type mutatingWorkEstimator struct { + config *WorkEstimatorConfig countFn watchCountGetterFunc - enabled bool } func (e *mutatingWorkEstimator) estimate(r *http.Request, flowSchemaName, priorityLevelName string) WorkEstimate { // TODO(wojtekt): Remove once we tune the algorithm to not fail // scalability tests. - if !e.enabled { + if !e.config.Enabled { return WorkEstimate{ InitialSeats: 1, } @@ -65,8 +53,8 @@ func (e *mutatingWorkEstimator) estimate(r *http.Request, flowSchemaName, priori // let's return a large value. return WorkEstimate{ InitialSeats: 1, - FinalSeats: maximumSeats, - AdditionalLatency: eventAdditionalDuration, + FinalSeats: e.config.MaximumSeats, + AdditionalLatency: e.config.eventAdditionalDuration(), } } watchCount := e.countFn(requestInfo) @@ -86,7 +74,7 @@ func (e *mutatingWorkEstimator) estimate(r *http.Request, flowSchemaName, priori // is taking 1/Nth of a seat for M milliseconds. // We allow the accounting of that work in P&F to be reshaped into another // rectangle of equal area for practical reasons. - var finalSeats uint + var finalSeats uint64 var additionalLatency time.Duration // TODO: Make this unconditional after we tune the algorithm better. @@ -94,12 +82,12 @@ func (e *mutatingWorkEstimator) estimate(r *http.Request, flowSchemaName, priori // the request finishes even if there is a small number of watches. // However, until we tune the estimation we want to stay on the safe side // an avoid introducing additional latency for almost every single request. - if watchCount >= watchesPerSeat { + if watchCount >= int(e.config.WatchesPerSeat) { // TODO: As described in the KEP, we should take into account that not all // events are equal and try to estimate the cost of a single event based on // some historical data about size of events. - finalSeats = uint(math.Ceil(float64(watchCount) / watchesPerSeat)) - finalWork := SeatsTimesDuration(float64(finalSeats), eventAdditionalDuration) + finalSeats = uint64(math.Ceil(float64(watchCount) / e.config.WatchesPerSeat)) + finalWork := SeatsTimesDuration(float64(finalSeats), e.config.eventAdditionalDuration()) // While processing individual events is highly parallel, // the design/implementation of P&F has a couple limitations that @@ -129,8 +117,8 @@ func (e *mutatingWorkEstimator) estimate(r *http.Request, flowSchemaName, priori // // TODO: Confirm that the current cap of maximumSeats allow us to // achieve the above. - if finalSeats > maximumSeats { - finalSeats = maximumSeats + if finalSeats > e.config.MaximumSeats { + finalSeats = e.config.MaximumSeats } additionalLatency = finalWork.DurationPerSeat(float64(finalSeats)) } diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/request/width.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/request/width.go index c9f1d155c4a4..86f0425843b8 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/request/width.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/request/width.go @@ -25,28 +25,16 @@ import ( "k8s.io/klog/v2" ) -const ( - // the minimum number of seats a request must occupy - minimumSeats = 1 - - // the maximum number of seats a request can occupy - // - // NOTE: work_estimate_seats_samples metric uses the value of maximumSeats - // as the upper bound, so when we change maximumSeats we should also - // update the buckets of the metric. - maximumSeats = 10 -) - // WorkEstimate carries three of the four parameters that determine the work in a request. // The fourth parameter is the duration of the initial phase of execution. type WorkEstimate struct { // InitialSeats is the number of seats occupied while the server is // executing this request. - InitialSeats uint + InitialSeats uint64 // FinalSeats is the number of seats occupied at the end, // during the AdditionalLatency. - FinalSeats uint + FinalSeats uint64 // AdditionalLatency specifies the additional duration the seats allocated // to this request must be reserved after the given request had finished. @@ -76,10 +64,12 @@ type watchCountGetterFunc func(*apirequest.RequestInfo) int // NewWorkEstimator estimates the work that will be done by a given request, // if no WorkEstimatorFunc matches the given request then the default // work estimate of 1 seat is allocated to the request. -func NewWorkEstimator(objectCountFn objectCountGetterFunc, watchCountFn watchCountGetterFunc) WorkEstimatorFunc { +func NewWorkEstimator(objectCountFn objectCountGetterFunc, watchCountFn watchCountGetterFunc, config *WorkEstimatorConfig) WorkEstimatorFunc { estimator := &workEstimator{ - listWorkEstimator: newListWorkEstimator(objectCountFn), - mutatingWorkEstimator: newMutatingWorkEstimator(watchCountFn), + minimumSeats: config.MinimumSeats, + maximumSeats: config.MaximumSeats, + listWorkEstimator: newListWorkEstimator(objectCountFn, config), + mutatingWorkEstimator: newMutatingWorkEstimator(watchCountFn, config), } return estimator.estimate } @@ -94,6 +84,10 @@ func (e WorkEstimatorFunc) EstimateWork(r *http.Request, flowSchemaName, priorit } type workEstimator struct { + // the minimum number of seats a request must occupy + minimumSeats uint64 + // the maximum number of seats a request can occupy + maximumSeats uint64 // listWorkEstimator estimates work for list request(s) listWorkEstimator WorkEstimatorFunc // mutatingWorkEstimator calculates the width of mutating request(s) @@ -105,7 +99,7 @@ func (e *workEstimator) estimate(r *http.Request, flowSchemaName, priorityLevelN if !ok { klog.ErrorS(fmt.Errorf("no RequestInfo found in context"), "Failed to estimate work for the request", "URI", r.RequestURI) // no RequestInfo should never happen, but to be on the safe side let's return maximumSeats - return WorkEstimate{InitialSeats: maximumSeats} + return WorkEstimate{InitialSeats: e.maximumSeats} } switch requestInfo.Verb { @@ -115,5 +109,5 @@ func (e *workEstimator) estimate(r *http.Request, flowSchemaName, priorityLevelN return e.mutatingWorkEstimator.EstimateWork(r, flowSchemaName, priorityLevelName) } - return WorkEstimate{InitialSeats: minimumSeats} + return WorkEstimate{InitialSeats: e.minimumSeats} } diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker.go index e4ebb21459be..287b100cfd8b 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker.go @@ -195,8 +195,9 @@ func (w *watchTracker) forgetWatch(identifier *watchIdentifier, index *indexValu // GetInterestedWatchCount implements WatchTracker interface. // // TODO(wojtek-t): As of now, requestInfo for object creation (POST) doesn't -// contain the Name field set. Figure out if we can somehow get it for the -// more accurate cost estimation. +// +// contain the Name field set. Figure out if we can somehow get it for the +// more accurate cost estimation. // // TODO(wojtek-t): Figure out how to approach DELETECOLLECTION calls. func (w *watchTracker) GetInterestedWatchCount(requestInfo *request.RequestInfo) int { diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/webhook/authentication.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/webhook/authentication.go index d61e46aaf760..a69506de6902 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/webhook/authentication.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/webhook/authentication.go @@ -35,7 +35,7 @@ import ( "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" - "k8s.io/component-base/traces" + tracing "k8s.io/component-base/tracing" ) // AuthenticationInfoResolverWrapper can be used to inject Dial function to the @@ -47,7 +47,7 @@ func NewDefaultAuthenticationInfoResolverWrapper( proxyTransport *http.Transport, egressSelector *egressselector.EgressSelector, kubeapiserverClientConfig *rest.Config, - tp *trace.TracerProvider) AuthenticationInfoResolverWrapper { + tp trace.TracerProvider) AuthenticationInfoResolverWrapper { webhookAuthResolverWrapper := func(delegate AuthenticationInfoResolver) AuthenticationInfoResolver { return &AuthenticationInfoResolverDelegator{ @@ -60,7 +60,7 @@ func NewDefaultAuthenticationInfoResolverWrapper( return nil, err } if feature.DefaultFeatureGate.Enabled(features.APIServerTracing) { - ret.Wrap(traces.WrapperFor(tp)) + ret.Wrap(tracing.WrapperFor(tp)) } if egressSelector != nil { @@ -85,7 +85,7 @@ func NewDefaultAuthenticationInfoResolverWrapper( return nil, err } if feature.DefaultFeatureGate.Enabled(features.APIServerTracing) { - ret.Wrap(traces.WrapperFor(tp)) + ret.Wrap(tracing.WrapperFor(tp)) } if egressSelector != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/webhook/serviceresolver.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/webhook/serviceresolver.go index da140b1f0dbd..fcd953da3cd8 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/webhook/serviceresolver.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/webhook/serviceresolver.go @@ -38,7 +38,8 @@ func NewDefaultServiceResolver() ServiceResolver { // note that the name, namespace, and port are required and by default all // created addresses use HTTPS scheme. // for example: -// name=ross namespace=andromeda resolves to https://ross.andromeda.svc:443 +// +// name=ross namespace=andromeda resolves to https://ross.andromeda.svc:443 func (sr defaultServiceResolver) ResolveEndpoint(namespace, name string, port int32) (*url.URL, error) { if len(name) == 0 || len(namespace) == 0 || port == 0 { return nil, errors.New("cannot resolve an empty service name or namespace or port") diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/wsstream/conn.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/wsstream/conn.go index 11474bfffdea..09f54a49c74c 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/wsstream/conn.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/wsstream/conn.go @@ -40,11 +40,10 @@ import ( // // Example client session: // -// CONNECT http://server.com with subprotocol "channel.k8s.io" -// WRITE []byte{0, 102, 111, 111, 10} # send "foo\n" on channel 0 (STDIN) -// READ []byte{1, 10} # receive "\n" on channel 1 (STDOUT) -// CLOSE -// +// CONNECT http://server.com with subprotocol "channel.k8s.io" +// WRITE []byte{0, 102, 111, 111, 10} # send "foo\n" on channel 0 (STDIN) +// READ []byte{1, 10} # receive "\n" on channel 1 (STDOUT) +// CLOSE const ChannelWebSocketProtocol = "channel.k8s.io" // The Websocket subprotocol "base64.channel.k8s.io" base64 encodes each message with a character @@ -56,11 +55,10 @@ const ChannelWebSocketProtocol = "channel.k8s.io" // // Example client session: // -// CONNECT http://server.com with subprotocol "base64.channel.k8s.io" -// WRITE []byte{48, 90, 109, 57, 118, 67, 103, 111, 61} # send "foo\n" (base64: "Zm9vCgo=") on channel '0' (STDIN) -// READ []byte{49, 67, 103, 61, 61} # receive "\n" (base64: "Cg==") on channel '1' (STDOUT) -// CLOSE -// +// CONNECT http://server.com with subprotocol "base64.channel.k8s.io" +// WRITE []byte{48, 90, 109, 57, 118, 67, 103, 111, 61} # send "foo\n" (base64: "Zm9vCgo=") on channel '0' (STDIN) +// READ []byte{49, 67, 103, 61, 61} # receive "\n" (base64: "Cg==") on channel '1' (STDOUT) +// CLOSE const Base64ChannelWebSocketProtocol = "base64.channel.k8s.io" type codecType int diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations.go b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations.go index 9f1e34c4d447..464510ea8f10 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations.go @@ -75,17 +75,17 @@ func (c *counterRaiser) IncreaseMetricsCounter(req *http.Request) { // NewDeprecatedCertificateRoundTripperWrapperConstructor returns a RoundTripper wrapper that's usable within ClientConfig.Wrap. // // It increases the `missingSAN` counter whenever: -// 1. we get a x509.HostnameError with string `x509: certificate relies on legacy Common Name field` -// which indicates an error caused by the deprecation of Common Name field when veryfing remote -// hostname -// 2. the server certificate in response contains no SAN. This indicates that this binary run -// with the GODEBUG=x509ignoreCN=0 in env +// 1. we get a x509.HostnameError with string `x509: certificate relies on legacy Common Name field` +// which indicates an error caused by the deprecation of Common Name field when veryfing remote +// hostname +// 2. the server certificate in response contains no SAN. This indicates that this binary run +// with the GODEBUG=x509ignoreCN=0 in env // // It increases the `sha1` counter whenever: -// 1. we get a x509.InsecureAlgorithmError with string `SHA1` -// which indicates an error caused by an insecure SHA1 signature -// 2. the server certificate in response contains a SHA1WithRSA or ECDSAWithSHA1 signature. -// This indicates that this binary run with the GODEBUG=x509sha1=1 in env +// 1. we get a x509.InsecureAlgorithmError with string `SHA1` +// which indicates an error caused by an insecure SHA1 signature +// 2. the server certificate in response contains a SHA1WithRSA or ECDSAWithSHA1 signature. +// This indicates that this binary run with the GODEBUG=x509sha1=1 in env func NewDeprecatedCertificateRoundTripperWrapperConstructor(missingSAN, sha1 *metrics.Counter) func(rt http.RoundTripper) http.RoundTripper { return func(rt http.RoundTripper) http.RoundTripper { return &x509DeprecatedCertificateMetricsRTWrapper{ diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/plugin/pkg/audit/buffered/buffered.go b/cluster-autoscaler/vendor/k8s.io/apiserver/plugin/pkg/audit/buffered/buffered.go index a96d9bea30f8..07f263b2e3ea 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/plugin/pkg/audit/buffered/buffered.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/plugin/pkg/audit/buffered/buffered.go @@ -190,10 +190,10 @@ func (b *bufferedBackend) processIncomingEvents(stopCh <-chan struct{}) { // The following things can cause collectEvents to stop and return the list // of events: // -// * Maximum number of events for a batch. -// * Timer has passed. -// * Buffer channel is closed and empty. -// * stopCh is closed. +// - Maximum number of events for a batch. +// - Timer has passed. +// - Buffer channel is closed and empty. +// - stopCh is closed. func (b *bufferedBackend) collectEvents(timer <-chan time.Time, stopCh <-chan struct{}) []*auditinternal.Event { var events []*auditinternal.Event diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go b/cluster-autoscaler/vendor/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go index bae5f0e40192..191b3731850e 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go +++ b/cluster-autoscaler/vendor/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go @@ -76,19 +76,19 @@ func NewFromInterface(subjectAccessReview authorizationv1client.AuthorizationV1I // New creates a new WebhookAuthorizer from the provided kubeconfig file. // The config's cluster field is used to refer to the remote service, user refers to the returned authorizer. // -// # clusters refers to the remote service. -// clusters: -// - name: name-of-remote-authz-service -// cluster: -// certificate-authority: /path/to/ca.pem # CA for verifying the remote service. -// server: https://authz.example.com/authorize # URL of remote service to query. Must use 'https'. +// # clusters refers to the remote service. +// clusters: +// - name: name-of-remote-authz-service +// cluster: +// certificate-authority: /path/to/ca.pem # CA for verifying the remote service. +// server: https://authz.example.com/authorize # URL of remote service to query. Must use 'https'. // -// # users refers to the API server's webhook configuration. -// users: -// - name: name-of-api-server -// user: -// client-certificate: /path/to/cert.pem # cert for the webhook plugin to use -// client-key: /path/to/key.pem # key matching the cert +// # users refers to the API server's webhook configuration. +// users: +// - name: name-of-api-server +// user: +// client-certificate: /path/to/cert.pem # cert for the webhook plugin to use +// client-key: /path/to/key.pem # key matching the cert // // For additional HTTP configuration, refer to the kubeconfig documentation // https://kubernetes.io/docs/user-guide/kubeconfig-file/. @@ -120,45 +120,45 @@ func newWithBackoff(subjectAccessReview subjectAccessReviewer, authorizedTTL, un // serialized api.authorization.v1beta1.SubjectAccessReview object. An example request body is // provided below. // -// { -// "apiVersion": "authorization.k8s.io/v1beta1", -// "kind": "SubjectAccessReview", -// "spec": { -// "resourceAttributes": { -// "namespace": "kittensandponies", -// "verb": "GET", -// "group": "group3", -// "resource": "pods" -// }, -// "user": "jane", -// "group": [ -// "group1", -// "group2" -// ] -// } -// } +// { +// "apiVersion": "authorization.k8s.io/v1beta1", +// "kind": "SubjectAccessReview", +// "spec": { +// "resourceAttributes": { +// "namespace": "kittensandponies", +// "verb": "GET", +// "group": "group3", +// "resource": "pods" +// }, +// "user": "jane", +// "group": [ +// "group1", +// "group2" +// ] +// } +// } // // The remote service is expected to fill the SubjectAccessReviewStatus field to either allow or // disallow access. A permissive response would return: // -// { -// "apiVersion": "authorization.k8s.io/v1beta1", -// "kind": "SubjectAccessReview", -// "status": { -// "allowed": true -// } -// } +// { +// "apiVersion": "authorization.k8s.io/v1beta1", +// "kind": "SubjectAccessReview", +// "status": { +// "allowed": true +// } +// } // // To disallow access, the remote service would return: // -// { -// "apiVersion": "authorization.k8s.io/v1beta1", -// "kind": "SubjectAccessReview", -// "status": { -// "allowed": false, -// "reason": "user does not have read access to the namespace" -// } -// } +// { +// "apiVersion": "authorization.k8s.io/v1beta1", +// "kind": "SubjectAccessReview", +// "status": { +// "allowed": false, +// "reason": "user does not have read access to the namespace" +// } +// } // // TODO(mikedanese): We should eventually support failing closed when we // encounter an error. We are failing open now to preserve backwards compatible @@ -246,7 +246,7 @@ func (w *WebhookAuthorizer) Authorize(ctx context.Context, attr authorizer.Attri } -//TODO: need to finish the method to get the rules when using webhook mode +// TODO: need to finish the method to get the rules when using webhook mode func (w *WebhookAuthorizer) RulesFor(user user.Info, namespace string) ([]authorizer.ResourceRuleInfo, []authorizer.NonResourceRuleInfo, bool, error) { var ( resourceRules []authorizer.ResourceRuleInfo diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go index e1424488947d..839d88b64ec2 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/jobspec.go @@ -21,7 +21,7 @@ package v1 import ( batchv1 "k8s.io/api/batch/v1" corev1 "k8s.io/client-go/applyconfigurations/core/v1" - v1 "k8s.io/client-go/applyconfigurations/meta/v1" + metav1 "k8s.io/client-go/applyconfigurations/meta/v1" ) // JobSpecApplyConfiguration represents an declarative configuration of the JobSpec type for use @@ -30,8 +30,9 @@ type JobSpecApplyConfiguration struct { Parallelism *int32 `json:"parallelism,omitempty"` Completions *int32 `json:"completions,omitempty"` ActiveDeadlineSeconds *int64 `json:"activeDeadlineSeconds,omitempty"` + PodFailurePolicy *PodFailurePolicyApplyConfiguration `json:"podFailurePolicy,omitempty"` BackoffLimit *int32 `json:"backoffLimit,omitempty"` - Selector *v1.LabelSelectorApplyConfiguration `json:"selector,omitempty"` + Selector *metav1.LabelSelectorApplyConfiguration `json:"selector,omitempty"` ManualSelector *bool `json:"manualSelector,omitempty"` Template *corev1.PodTemplateSpecApplyConfiguration `json:"template,omitempty"` TTLSecondsAfterFinished *int32 `json:"ttlSecondsAfterFinished,omitempty"` @@ -69,6 +70,14 @@ func (b *JobSpecApplyConfiguration) WithActiveDeadlineSeconds(value int64) *JobS return b } +// WithPodFailurePolicy sets the PodFailurePolicy field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the PodFailurePolicy field is set to the value of the last call. +func (b *JobSpecApplyConfiguration) WithPodFailurePolicy(value *PodFailurePolicyApplyConfiguration) *JobSpecApplyConfiguration { + b.PodFailurePolicy = value + return b +} + // WithBackoffLimit sets the BackoffLimit field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the BackoffLimit field is set to the value of the last call. @@ -80,7 +89,7 @@ func (b *JobSpecApplyConfiguration) WithBackoffLimit(value int32) *JobSpecApplyC // WithSelector sets the Selector field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Selector field is set to the value of the last call. -func (b *JobSpecApplyConfiguration) WithSelector(value *v1.LabelSelectorApplyConfiguration) *JobSpecApplyConfiguration { +func (b *JobSpecApplyConfiguration) WithSelector(value *metav1.LabelSelectorApplyConfiguration) *JobSpecApplyConfiguration { b.Selector = value return b } diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicy.go b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicy.go new file mode 100644 index 000000000000..6da98386c9bc --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicy.go @@ -0,0 +1,44 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +// PodFailurePolicyApplyConfiguration represents an declarative configuration of the PodFailurePolicy type for use +// with apply. +type PodFailurePolicyApplyConfiguration struct { + Rules []PodFailurePolicyRuleApplyConfiguration `json:"rules,omitempty"` +} + +// PodFailurePolicyApplyConfiguration constructs an declarative configuration of the PodFailurePolicy type for use with +// apply. +func PodFailurePolicy() *PodFailurePolicyApplyConfiguration { + return &PodFailurePolicyApplyConfiguration{} +} + +// WithRules adds the given value to the Rules field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Rules field. +func (b *PodFailurePolicyApplyConfiguration) WithRules(values ...*PodFailurePolicyRuleApplyConfiguration) *PodFailurePolicyApplyConfiguration { + for i := range values { + if values[i] == nil { + panic("nil value passed to WithRules") + } + b.Rules = append(b.Rules, *values[i]) + } + return b +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonexitcodesrequirement.go b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonexitcodesrequirement.go new file mode 100644 index 000000000000..65f6251810e7 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonexitcodesrequirement.go @@ -0,0 +1,63 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +import ( + v1 "k8s.io/api/batch/v1" +) + +// PodFailurePolicyOnExitCodesRequirementApplyConfiguration represents an declarative configuration of the PodFailurePolicyOnExitCodesRequirement type for use +// with apply. +type PodFailurePolicyOnExitCodesRequirementApplyConfiguration struct { + ContainerName *string `json:"containerName,omitempty"` + Operator *v1.PodFailurePolicyOnExitCodesOperator `json:"operator,omitempty"` + Values []int32 `json:"values,omitempty"` +} + +// PodFailurePolicyOnExitCodesRequirementApplyConfiguration constructs an declarative configuration of the PodFailurePolicyOnExitCodesRequirement type for use with +// apply. +func PodFailurePolicyOnExitCodesRequirement() *PodFailurePolicyOnExitCodesRequirementApplyConfiguration { + return &PodFailurePolicyOnExitCodesRequirementApplyConfiguration{} +} + +// WithContainerName sets the ContainerName field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ContainerName field is set to the value of the last call. +func (b *PodFailurePolicyOnExitCodesRequirementApplyConfiguration) WithContainerName(value string) *PodFailurePolicyOnExitCodesRequirementApplyConfiguration { + b.ContainerName = &value + return b +} + +// WithOperator sets the Operator field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Operator field is set to the value of the last call. +func (b *PodFailurePolicyOnExitCodesRequirementApplyConfiguration) WithOperator(value v1.PodFailurePolicyOnExitCodesOperator) *PodFailurePolicyOnExitCodesRequirementApplyConfiguration { + b.Operator = &value + return b +} + +// WithValues adds the given value to the Values field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Values field. +func (b *PodFailurePolicyOnExitCodesRequirementApplyConfiguration) WithValues(values ...int32) *PodFailurePolicyOnExitCodesRequirementApplyConfiguration { + for i := range values { + b.Values = append(b.Values, values[i]) + } + return b +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonpodconditionspattern.go b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonpodconditionspattern.go new file mode 100644 index 000000000000..da1556ff8bf3 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyonpodconditionspattern.go @@ -0,0 +1,52 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +import ( + v1 "k8s.io/api/core/v1" +) + +// PodFailurePolicyOnPodConditionsPatternApplyConfiguration represents an declarative configuration of the PodFailurePolicyOnPodConditionsPattern type for use +// with apply. +type PodFailurePolicyOnPodConditionsPatternApplyConfiguration struct { + Type *v1.PodConditionType `json:"type,omitempty"` + Status *v1.ConditionStatus `json:"status,omitempty"` +} + +// PodFailurePolicyOnPodConditionsPatternApplyConfiguration constructs an declarative configuration of the PodFailurePolicyOnPodConditionsPattern type for use with +// apply. +func PodFailurePolicyOnPodConditionsPattern() *PodFailurePolicyOnPodConditionsPatternApplyConfiguration { + return &PodFailurePolicyOnPodConditionsPatternApplyConfiguration{} +} + +// WithType sets the Type field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Type field is set to the value of the last call. +func (b *PodFailurePolicyOnPodConditionsPatternApplyConfiguration) WithType(value v1.PodConditionType) *PodFailurePolicyOnPodConditionsPatternApplyConfiguration { + b.Type = &value + return b +} + +// WithStatus sets the Status field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Status field is set to the value of the last call. +func (b *PodFailurePolicyOnPodConditionsPatternApplyConfiguration) WithStatus(value v1.ConditionStatus) *PodFailurePolicyOnPodConditionsPatternApplyConfiguration { + b.Status = &value + return b +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyrule.go b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyrule.go new file mode 100644 index 000000000000..d435243531f9 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/batch/v1/podfailurepolicyrule.go @@ -0,0 +1,66 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +import ( + v1 "k8s.io/api/batch/v1" +) + +// PodFailurePolicyRuleApplyConfiguration represents an declarative configuration of the PodFailurePolicyRule type for use +// with apply. +type PodFailurePolicyRuleApplyConfiguration struct { + Action *v1.PodFailurePolicyAction `json:"action,omitempty"` + OnExitCodes *PodFailurePolicyOnExitCodesRequirementApplyConfiguration `json:"onExitCodes,omitempty"` + OnPodConditions []PodFailurePolicyOnPodConditionsPatternApplyConfiguration `json:"onPodConditions,omitempty"` +} + +// PodFailurePolicyRuleApplyConfiguration constructs an declarative configuration of the PodFailurePolicyRule type for use with +// apply. +func PodFailurePolicyRule() *PodFailurePolicyRuleApplyConfiguration { + return &PodFailurePolicyRuleApplyConfiguration{} +} + +// WithAction sets the Action field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Action field is set to the value of the last call. +func (b *PodFailurePolicyRuleApplyConfiguration) WithAction(value v1.PodFailurePolicyAction) *PodFailurePolicyRuleApplyConfiguration { + b.Action = &value + return b +} + +// WithOnExitCodes sets the OnExitCodes field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the OnExitCodes field is set to the value of the last call. +func (b *PodFailurePolicyRuleApplyConfiguration) WithOnExitCodes(value *PodFailurePolicyOnExitCodesRequirementApplyConfiguration) *PodFailurePolicyRuleApplyConfiguration { + b.OnExitCodes = value + return b +} + +// WithOnPodConditions adds the given value to the OnPodConditions field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the OnPodConditions field. +func (b *PodFailurePolicyRuleApplyConfiguration) WithOnPodConditions(values ...*PodFailurePolicyOnPodConditionsPatternApplyConfiguration) *PodFailurePolicyRuleApplyConfiguration { + for i := range values { + if values[i] == nil { + panic("nil value passed to WithOnPodConditions") + } + b.OnPodConditions = append(b.OnPodConditions, *values[i]) + } + return b +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/core/v1/podspec.go b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/core/v1/podspec.go index 015859e9a388..f638b5d91239 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/core/v1/podspec.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/core/v1/podspec.go @@ -61,6 +61,7 @@ type PodSpecApplyConfiguration struct { TopologySpreadConstraints []TopologySpreadConstraintApplyConfiguration `json:"topologySpreadConstraints,omitempty"` SetHostnameAsFQDN *bool `json:"setHostnameAsFQDN,omitempty"` OS *PodOSApplyConfiguration `json:"os,omitempty"` + HostUsers *bool `json:"hostUsers,omitempty"` } // PodSpecApplyConfiguration constructs an declarative configuration of the PodSpec type for use with @@ -407,3 +408,11 @@ func (b *PodSpecApplyConfiguration) WithOS(value *PodOSApplyConfiguration) *PodS b.OS = value return b } + +// WithHostUsers sets the HostUsers field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the HostUsers field is set to the value of the last call. +func (b *PodSpecApplyConfiguration) WithHostUsers(value bool) *PodSpecApplyConfiguration { + b.HostUsers = &value + return b +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/core/v1/servicespec.go b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/core/v1/servicespec.go index 856cd4f9d820..db376b941bb8 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/core/v1/servicespec.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/core/v1/servicespec.go @@ -40,7 +40,7 @@ type ServiceSpecApplyConfiguration struct { PublishNotReadyAddresses *bool `json:"publishNotReadyAddresses,omitempty"` SessionAffinityConfig *SessionAffinityConfigApplyConfiguration `json:"sessionAffinityConfig,omitempty"` IPFamilies []corev1.IPFamily `json:"ipFamilies,omitempty"` - IPFamilyPolicy *corev1.IPFamilyPolicyType `json:"ipFamilyPolicy,omitempty"` + IPFamilyPolicy *corev1.IPFamilyPolicy `json:"ipFamilyPolicy,omitempty"` AllocateLoadBalancerNodePorts *bool `json:"allocateLoadBalancerNodePorts,omitempty"` LoadBalancerClass *string `json:"loadBalancerClass,omitempty"` InternalTrafficPolicy *corev1.ServiceInternalTrafficPolicyType `json:"internalTrafficPolicy,omitempty"` @@ -194,7 +194,7 @@ func (b *ServiceSpecApplyConfiguration) WithIPFamilies(values ...corev1.IPFamily // WithIPFamilyPolicy sets the IPFamilyPolicy field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the IPFamilyPolicy field is set to the value of the last call. -func (b *ServiceSpecApplyConfiguration) WithIPFamilyPolicy(value corev1.IPFamilyPolicyType) *ServiceSpecApplyConfiguration { +func (b *ServiceSpecApplyConfiguration) WithIPFamilyPolicy(value corev1.IPFamilyPolicy) *ServiceSpecApplyConfiguration { b.IPFamilyPolicy = &value return b } diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/core/v1/topologyspreadconstraint.go b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/core/v1/topologyspreadconstraint.go index aad738885631..fbfa8fa886ca 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/core/v1/topologyspreadconstraint.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/core/v1/topologyspreadconstraint.go @@ -33,6 +33,7 @@ type TopologySpreadConstraintApplyConfiguration struct { MinDomains *int32 `json:"minDomains,omitempty"` NodeAffinityPolicy *v1.NodeInclusionPolicy `json:"nodeAffinityPolicy,omitempty"` NodeTaintsPolicy *v1.NodeInclusionPolicy `json:"nodeTaintsPolicy,omitempty"` + MatchLabelKeys []string `json:"matchLabelKeys,omitempty"` } // TopologySpreadConstraintApplyConfiguration constructs an declarative configuration of the TopologySpreadConstraint type for use with @@ -96,3 +97,13 @@ func (b *TopologySpreadConstraintApplyConfiguration) WithNodeTaintsPolicy(value b.NodeTaintsPolicy = &value return b } + +// WithMatchLabelKeys adds the given value to the MatchLabelKeys field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the MatchLabelKeys field. +func (b *TopologySpreadConstraintApplyConfiguration) WithMatchLabelKeys(values ...string) *TopologySpreadConstraintApplyConfiguration { + for i := range values { + b.MatchLabelKeys = append(b.MatchLabelKeys, values[i]) + } + return b +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/internal/internal.go b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/internal/internal.go index 0ba6a6f4d81a..6fa25411cfdf 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/internal/internal.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/internal/internal.go @@ -3041,6 +3041,9 @@ var schemaYAML = typed.YAMLObject(`types: - name: parallelism type: scalar: numeric + - name: podFailurePolicy + type: + namedType: io.k8s.api.batch.v1.PodFailurePolicy - name: selector type: namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector @@ -3098,6 +3101,58 @@ var schemaYAML = typed.YAMLObject(`types: type: namedType: io.k8s.api.batch.v1.JobSpec default: {} +- name: io.k8s.api.batch.v1.PodFailurePolicy + map: + fields: + - name: rules + type: + list: + elementType: + namedType: io.k8s.api.batch.v1.PodFailurePolicyRule + elementRelationship: atomic +- name: io.k8s.api.batch.v1.PodFailurePolicyOnExitCodesRequirement + map: + fields: + - name: containerName + type: + scalar: string + - name: operator + type: + scalar: string + default: "" + - name: values + type: + list: + elementType: + scalar: numeric + elementRelationship: associative +- name: io.k8s.api.batch.v1.PodFailurePolicyOnPodConditionsPattern + map: + fields: + - name: status + type: + scalar: string + default: "" + - name: type + type: + scalar: string + default: "" +- name: io.k8s.api.batch.v1.PodFailurePolicyRule + map: + fields: + - name: action + type: + scalar: string + default: "" + - name: onExitCodes + type: + namedType: io.k8s.api.batch.v1.PodFailurePolicyOnExitCodesRequirement + - name: onPodConditions + type: + list: + elementType: + namedType: io.k8s.api.batch.v1.PodFailurePolicyOnPodConditionsPattern + elementRelationship: atomic - name: io.k8s.api.batch.v1.UncountedTerminatedPods map: fields: @@ -5433,6 +5488,7 @@ var schemaYAML = typed.YAMLObject(`types: - name: claimRef type: namedType: io.k8s.api.core.v1.ObjectReference + elementRelationship: separable - name: csi type: namedType: io.k8s.api.core.v1.CSIPersistentVolumeSource @@ -5762,6 +5818,9 @@ var schemaYAML = typed.YAMLObject(`types: - name: hostPID type: scalar: boolean + - name: hostUsers + type: + scalar: boolean - name: hostname type: scalar: string @@ -6858,6 +6917,12 @@ var schemaYAML = typed.YAMLObject(`types: - name: labelSelector type: namedType: io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector + - name: matchLabelKeys + type: + list: + elementType: + scalar: string + elementRelationship: atomic - name: maxSkew type: scalar: numeric @@ -9528,6 +9593,41 @@ var schemaYAML = typed.YAMLObject(`types: - name: number type: scalar: numeric +- name: io.k8s.api.networking.v1alpha1.ClusterCIDR + map: + fields: + - name: apiVersion + type: + scalar: string + - name: kind + type: + scalar: string + - name: metadata + type: + namedType: io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta + default: {} + - name: spec + type: + namedType: io.k8s.api.networking.v1alpha1.ClusterCIDRSpec + default: {} +- name: io.k8s.api.networking.v1alpha1.ClusterCIDRSpec + map: + fields: + - name: ipv4 + type: + scalar: string + default: "" + - name: ipv6 + type: + scalar: string + default: "" + - name: nodeSelector + type: + namedType: io.k8s.api.core.v1.NodeSelector + - name: perNodeHostBits + type: + scalar: numeric + default: 0 - name: io.k8s.api.networking.v1beta1.HTTPIngressPath map: fields: @@ -10833,6 +10933,9 @@ var schemaYAML = typed.YAMLObject(`types: - name: requiresRepublish type: scalar: boolean + - name: seLinuxMount + type: + scalar: boolean - name: storageCapacity type: scalar: boolean @@ -11185,6 +11288,9 @@ var schemaYAML = typed.YAMLObject(`types: - name: requiresRepublish type: scalar: boolean + - name: seLinuxMount + type: + scalar: boolean - name: storageCapacity type: scalar: boolean diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/meta/v1/listmeta.go b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/meta/v1/listmeta.go new file mode 100644 index 000000000000..5cadee3353f7 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/meta/v1/listmeta.go @@ -0,0 +1,66 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1 + +// ListMetaApplyConfiguration represents an declarative configuration of the ListMeta type for use +// with apply. +type ListMetaApplyConfiguration struct { + SelfLink *string `json:"selfLink,omitempty"` + ResourceVersion *string `json:"resourceVersion,omitempty"` + Continue *string `json:"continue,omitempty"` + RemainingItemCount *int64 `json:"remainingItemCount,omitempty"` +} + +// ListMetaApplyConfiguration constructs an declarative configuration of the ListMeta type for use with +// apply. +func ListMeta() *ListMetaApplyConfiguration { + return &ListMetaApplyConfiguration{} +} + +// WithSelfLink sets the SelfLink field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the SelfLink field is set to the value of the last call. +func (b *ListMetaApplyConfiguration) WithSelfLink(value string) *ListMetaApplyConfiguration { + b.SelfLink = &value + return b +} + +// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ResourceVersion field is set to the value of the last call. +func (b *ListMetaApplyConfiguration) WithResourceVersion(value string) *ListMetaApplyConfiguration { + b.ResourceVersion = &value + return b +} + +// WithContinue sets the Continue field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Continue field is set to the value of the last call. +func (b *ListMetaApplyConfiguration) WithContinue(value string) *ListMetaApplyConfiguration { + b.Continue = &value + return b +} + +// WithRemainingItemCount sets the RemainingItemCount field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the RemainingItemCount field is set to the value of the last call. +func (b *ListMetaApplyConfiguration) WithRemainingItemCount(value int64) *ListMetaApplyConfiguration { + b.RemainingItemCount = &value + return b +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/networking/v1alpha1/clustercidr.go b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/networking/v1alpha1/clustercidr.go new file mode 100644 index 000000000000..ad0eae9198e3 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/networking/v1alpha1/clustercidr.go @@ -0,0 +1,247 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + networkingv1alpha1 "k8s.io/api/networking/v1alpha1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" + managedfields "k8s.io/apimachinery/pkg/util/managedfields" + internal "k8s.io/client-go/applyconfigurations/internal" + v1 "k8s.io/client-go/applyconfigurations/meta/v1" +) + +// ClusterCIDRApplyConfiguration represents an declarative configuration of the ClusterCIDR type for use +// with apply. +type ClusterCIDRApplyConfiguration struct { + v1.TypeMetaApplyConfiguration `json:",inline"` + *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` + Spec *ClusterCIDRSpecApplyConfiguration `json:"spec,omitempty"` +} + +// ClusterCIDR constructs an declarative configuration of the ClusterCIDR type for use with +// apply. +func ClusterCIDR(name string) *ClusterCIDRApplyConfiguration { + b := &ClusterCIDRApplyConfiguration{} + b.WithName(name) + b.WithKind("ClusterCIDR") + b.WithAPIVersion("networking.k8s.io/v1alpha1") + return b +} + +// ExtractClusterCIDR extracts the applied configuration owned by fieldManager from +// clusterCIDR. If no managedFields are found in clusterCIDR for fieldManager, a +// ClusterCIDRApplyConfiguration is returned with only the Name, Namespace (if applicable), +// APIVersion and Kind populated. It is possible that no managed fields were found for because other +// field managers have taken ownership of all the fields previously owned by fieldManager, or because +// the fieldManager never owned fields any fields. +// clusterCIDR must be a unmodified ClusterCIDR API object that was retrieved from the Kubernetes API. +// ExtractClusterCIDR provides a way to perform a extract/modify-in-place/apply workflow. +// Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously +// applied if another fieldManager has updated or force applied any of the previously applied fields. +// Experimental! +func ExtractClusterCIDR(clusterCIDR *networkingv1alpha1.ClusterCIDR, fieldManager string) (*ClusterCIDRApplyConfiguration, error) { + return extractClusterCIDR(clusterCIDR, fieldManager, "") +} + +// ExtractClusterCIDRStatus is the same as ExtractClusterCIDR except +// that it extracts the status subresource applied configuration. +// Experimental! +func ExtractClusterCIDRStatus(clusterCIDR *networkingv1alpha1.ClusterCIDR, fieldManager string) (*ClusterCIDRApplyConfiguration, error) { + return extractClusterCIDR(clusterCIDR, fieldManager, "status") +} + +func extractClusterCIDR(clusterCIDR *networkingv1alpha1.ClusterCIDR, fieldManager string, subresource string) (*ClusterCIDRApplyConfiguration, error) { + b := &ClusterCIDRApplyConfiguration{} + err := managedfields.ExtractInto(clusterCIDR, internal.Parser().Type("io.k8s.api.networking.v1alpha1.ClusterCIDR"), fieldManager, b, subresource) + if err != nil { + return nil, err + } + b.WithName(clusterCIDR.Name) + + b.WithKind("ClusterCIDR") + b.WithAPIVersion("networking.k8s.io/v1alpha1") + return b, nil +} + +// WithKind sets the Kind field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Kind field is set to the value of the last call. +func (b *ClusterCIDRApplyConfiguration) WithKind(value string) *ClusterCIDRApplyConfiguration { + b.Kind = &value + return b +} + +// WithAPIVersion sets the APIVersion field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the APIVersion field is set to the value of the last call. +func (b *ClusterCIDRApplyConfiguration) WithAPIVersion(value string) *ClusterCIDRApplyConfiguration { + b.APIVersion = &value + return b +} + +// WithName sets the Name field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Name field is set to the value of the last call. +func (b *ClusterCIDRApplyConfiguration) WithName(value string) *ClusterCIDRApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.Name = &value + return b +} + +// WithGenerateName sets the GenerateName field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the GenerateName field is set to the value of the last call. +func (b *ClusterCIDRApplyConfiguration) WithGenerateName(value string) *ClusterCIDRApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.GenerateName = &value + return b +} + +// WithNamespace sets the Namespace field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Namespace field is set to the value of the last call. +func (b *ClusterCIDRApplyConfiguration) WithNamespace(value string) *ClusterCIDRApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.Namespace = &value + return b +} + +// WithUID sets the UID field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the UID field is set to the value of the last call. +func (b *ClusterCIDRApplyConfiguration) WithUID(value types.UID) *ClusterCIDRApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.UID = &value + return b +} + +// WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the ResourceVersion field is set to the value of the last call. +func (b *ClusterCIDRApplyConfiguration) WithResourceVersion(value string) *ClusterCIDRApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.ResourceVersion = &value + return b +} + +// WithGeneration sets the Generation field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Generation field is set to the value of the last call. +func (b *ClusterCIDRApplyConfiguration) WithGeneration(value int64) *ClusterCIDRApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.Generation = &value + return b +} + +// WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the CreationTimestamp field is set to the value of the last call. +func (b *ClusterCIDRApplyConfiguration) WithCreationTimestamp(value metav1.Time) *ClusterCIDRApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.CreationTimestamp = &value + return b +} + +// WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DeletionTimestamp field is set to the value of the last call. +func (b *ClusterCIDRApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *ClusterCIDRApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.DeletionTimestamp = &value + return b +} + +// WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call. +func (b *ClusterCIDRApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterCIDRApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + b.DeletionGracePeriodSeconds = &value + return b +} + +// WithLabels puts the entries into the Labels field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, the entries provided by each call will be put on the Labels field, +// overwriting an existing map entries in Labels field with the same key. +func (b *ClusterCIDRApplyConfiguration) WithLabels(entries map[string]string) *ClusterCIDRApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + if b.Labels == nil && len(entries) > 0 { + b.Labels = make(map[string]string, len(entries)) + } + for k, v := range entries { + b.Labels[k] = v + } + return b +} + +// WithAnnotations puts the entries into the Annotations field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, the entries provided by each call will be put on the Annotations field, +// overwriting an existing map entries in Annotations field with the same key. +func (b *ClusterCIDRApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterCIDRApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + if b.Annotations == nil && len(entries) > 0 { + b.Annotations = make(map[string]string, len(entries)) + } + for k, v := range entries { + b.Annotations[k] = v + } + return b +} + +// WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the OwnerReferences field. +func (b *ClusterCIDRApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *ClusterCIDRApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + for i := range values { + if values[i] == nil { + panic("nil value passed to WithOwnerReferences") + } + b.OwnerReferences = append(b.OwnerReferences, *values[i]) + } + return b +} + +// WithFinalizers adds the given value to the Finalizers field in the declarative configuration +// and returns the receiver, so that objects can be build by chaining "With" function invocations. +// If called multiple times, values provided by each call will be appended to the Finalizers field. +func (b *ClusterCIDRApplyConfiguration) WithFinalizers(values ...string) *ClusterCIDRApplyConfiguration { + b.ensureObjectMetaApplyConfigurationExists() + for i := range values { + b.Finalizers = append(b.Finalizers, values[i]) + } + return b +} + +func (b *ClusterCIDRApplyConfiguration) ensureObjectMetaApplyConfigurationExists() { + if b.ObjectMetaApplyConfiguration == nil { + b.ObjectMetaApplyConfiguration = &v1.ObjectMetaApplyConfiguration{} + } +} + +// WithSpec sets the Spec field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the Spec field is set to the value of the last call. +func (b *ClusterCIDRApplyConfiguration) WithSpec(value *ClusterCIDRSpecApplyConfiguration) *ClusterCIDRApplyConfiguration { + b.Spec = value + return b +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/networking/v1alpha1/clustercidrspec.go b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/networking/v1alpha1/clustercidrspec.go new file mode 100644 index 000000000000..8d5fa406b094 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/networking/v1alpha1/clustercidrspec.go @@ -0,0 +1,70 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by applyconfiguration-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + v1 "k8s.io/client-go/applyconfigurations/core/v1" +) + +// ClusterCIDRSpecApplyConfiguration represents an declarative configuration of the ClusterCIDRSpec type for use +// with apply. +type ClusterCIDRSpecApplyConfiguration struct { + NodeSelector *v1.NodeSelectorApplyConfiguration `json:"nodeSelector,omitempty"` + PerNodeHostBits *int32 `json:"perNodeHostBits,omitempty"` + IPv4 *string `json:"ipv4,omitempty"` + IPv6 *string `json:"ipv6,omitempty"` +} + +// ClusterCIDRSpecApplyConfiguration constructs an declarative configuration of the ClusterCIDRSpec type for use with +// apply. +func ClusterCIDRSpec() *ClusterCIDRSpecApplyConfiguration { + return &ClusterCIDRSpecApplyConfiguration{} +} + +// WithNodeSelector sets the NodeSelector field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the NodeSelector field is set to the value of the last call. +func (b *ClusterCIDRSpecApplyConfiguration) WithNodeSelector(value *v1.NodeSelectorApplyConfiguration) *ClusterCIDRSpecApplyConfiguration { + b.NodeSelector = value + return b +} + +// WithPerNodeHostBits sets the PerNodeHostBits field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the PerNodeHostBits field is set to the value of the last call. +func (b *ClusterCIDRSpecApplyConfiguration) WithPerNodeHostBits(value int32) *ClusterCIDRSpecApplyConfiguration { + b.PerNodeHostBits = &value + return b +} + +// WithIPv4 sets the IPv4 field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the IPv4 field is set to the value of the last call. +func (b *ClusterCIDRSpecApplyConfiguration) WithIPv4(value string) *ClusterCIDRSpecApplyConfiguration { + b.IPv4 = &value + return b +} + +// WithIPv6 sets the IPv6 field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the IPv6 field is set to the value of the last call. +func (b *ClusterCIDRSpecApplyConfiguration) WithIPv6(value string) *ClusterCIDRSpecApplyConfiguration { + b.IPv6 = &value + return b +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/storage/v1/csidriverspec.go b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/storage/v1/csidriverspec.go index 1dc17ce96a8c..a1ef00656bbf 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/storage/v1/csidriverspec.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/storage/v1/csidriverspec.go @@ -32,6 +32,7 @@ type CSIDriverSpecApplyConfiguration struct { FSGroupPolicy *v1.FSGroupPolicy `json:"fsGroupPolicy,omitempty"` TokenRequests []TokenRequestApplyConfiguration `json:"tokenRequests,omitempty"` RequiresRepublish *bool `json:"requiresRepublish,omitempty"` + SELinuxMount *bool `json:"seLinuxMount,omitempty"` } // CSIDriverSpecApplyConfiguration constructs an declarative configuration of the CSIDriverSpec type for use with @@ -102,3 +103,11 @@ func (b *CSIDriverSpecApplyConfiguration) WithRequiresRepublish(value bool) *CSI b.RequiresRepublish = &value return b } + +// WithSELinuxMount sets the SELinuxMount field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the SELinuxMount field is set to the value of the last call. +func (b *CSIDriverSpecApplyConfiguration) WithSELinuxMount(value bool) *CSIDriverSpecApplyConfiguration { + b.SELinuxMount = &value + return b +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/csidriverspec.go b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/csidriverspec.go index 1d943cbfffed..6097a615be2c 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/csidriverspec.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/applyconfigurations/storage/v1beta1/csidriverspec.go @@ -32,6 +32,7 @@ type CSIDriverSpecApplyConfiguration struct { FSGroupPolicy *v1beta1.FSGroupPolicy `json:"fsGroupPolicy,omitempty"` TokenRequests []TokenRequestApplyConfiguration `json:"tokenRequests,omitempty"` RequiresRepublish *bool `json:"requiresRepublish,omitempty"` + SELinuxMount *bool `json:"seLinuxMount,omitempty"` } // CSIDriverSpecApplyConfiguration constructs an declarative configuration of the CSIDriverSpec type for use with @@ -102,3 +103,11 @@ func (b *CSIDriverSpecApplyConfiguration) WithRequiresRepublish(value bool) *CSI b.RequiresRepublish = &value return b } + +// WithSELinuxMount sets the SELinuxMount field in the declarative configuration to the given value +// and returns the receiver, so that objects can be built by chaining "With" function invocations. +// If called multiple times, the SELinuxMount field is set to the value of the last call. +func (b *CSIDriverSpecApplyConfiguration) WithSELinuxMount(value bool) *CSIDriverSpecApplyConfiguration { + b.SELinuxMount = &value + return b +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/discovery/discovery_client.go b/cluster-autoscaler/vendor/k8s.io/client-go/discovery/discovery_client.go index baf878846215..ec7ebf051051 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/discovery/discovery_client.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/discovery/discovery_client.go @@ -52,6 +52,9 @@ const ( // defaultTimeout is the maximum amount of time per request when no timeout has been set on a RESTClient. // Defaults to 32s in order to have a distinguishable length of time, relative to other timeouts that exist. defaultTimeout = 32 * time.Second + + // defaultBurst is the default burst to be used with the discovery client's token bucket rate limiter + defaultBurst = 300 ) // DiscoveryInterface holds the methods that discover server-supported API groups, @@ -456,12 +459,13 @@ func setDiscoveryDefaults(config *restclient.Config) error { if config.Timeout == 0 { config.Timeout = defaultTimeout } - if config.Burst == 0 && config.QPS < 100 { + // if a burst limit is not already configured + if config.Burst == 0 { // discovery is expected to be bursty, increase the default burst // to accommodate looking up resource info for many API groups. // matches burst set by ConfigFlags#ToDiscoveryClient(). // see https://issue.k8s.io/86149 - config.Burst = 100 + config.Burst = defaultBurst } codec := runtime.NoopEncoder{Decoder: scheme.Codecs.UniversalDecoder()} config.NegotiatedSerializer = serializer.NegotiatedSerializerWrapper(runtime.SerializerInfo{Serializer: codec}) diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/dynamic/fake/simple.go b/cluster-autoscaler/vendor/k8s.io/client-go/dynamic/fake/simple.go index 197508c81d4e..02a797ad3363 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/dynamic/fake/simple.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/dynamic/fake/simple.go @@ -491,8 +491,7 @@ func (c *dynamicResourceClient) Apply(ctx context.Context, name string, obj *uns if err := c.client.scheme.Convert(uncastRet, ret, nil); err != nil { return nil, err } - return ret, err - return nil, nil + return ret, nil } func (c *dynamicResourceClient) ApplyStatus(ctx context.Context, name string, obj *unstructured.Unstructured, options metav1.ApplyOptions) (*unstructured.Unstructured, error) { diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/informers/generic.go b/cluster-autoscaler/vendor/k8s.io/client-go/informers/generic.go index 4c2e53c25759..92eda45a79de 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/informers/generic.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/informers/generic.go @@ -47,6 +47,7 @@ import ( flowcontrolv1beta1 "k8s.io/api/flowcontrol/v1beta1" flowcontrolv1beta2 "k8s.io/api/flowcontrol/v1beta2" networkingv1 "k8s.io/api/networking/v1" + networkingv1alpha1 "k8s.io/api/networking/v1alpha1" networkingv1beta1 "k8s.io/api/networking/v1beta1" nodev1 "k8s.io/api/node/v1" nodev1alpha1 "k8s.io/api/node/v1alpha1" @@ -272,6 +273,10 @@ func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource case networkingv1.SchemeGroupVersion.WithResource("networkpolicies"): return &genericInformer{resource: resource.GroupResource(), informer: f.Networking().V1().NetworkPolicies().Informer()}, nil + // Group=networking.k8s.io, Version=v1alpha1 + case networkingv1alpha1.SchemeGroupVersion.WithResource("clustercidrs"): + return &genericInformer{resource: resource.GroupResource(), informer: f.Networking().V1alpha1().ClusterCIDRs().Informer()}, nil + // Group=networking.k8s.io, Version=v1beta1 case networkingv1beta1.SchemeGroupVersion.WithResource("ingresses"): return &genericInformer{resource: resource.GroupResource(), informer: f.Networking().V1beta1().Ingresses().Informer()}, nil diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/informers/networking/interface.go b/cluster-autoscaler/vendor/k8s.io/client-go/informers/networking/interface.go index 4a028d5d10e7..1c775c465b61 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/informers/networking/interface.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/informers/networking/interface.go @@ -21,6 +21,7 @@ package networking import ( internalinterfaces "k8s.io/client-go/informers/internalinterfaces" v1 "k8s.io/client-go/informers/networking/v1" + v1alpha1 "k8s.io/client-go/informers/networking/v1alpha1" v1beta1 "k8s.io/client-go/informers/networking/v1beta1" ) @@ -28,6 +29,8 @@ import ( type Interface interface { // V1 provides access to shared informers for resources in V1. V1() v1.Interface + // V1alpha1 provides access to shared informers for resources in V1alpha1. + V1alpha1() v1alpha1.Interface // V1beta1 provides access to shared informers for resources in V1beta1. V1beta1() v1beta1.Interface } @@ -48,6 +51,11 @@ func (g *group) V1() v1.Interface { return v1.New(g.factory, g.namespace, g.tweakListOptions) } +// V1alpha1 returns a new v1alpha1.Interface. +func (g *group) V1alpha1() v1alpha1.Interface { + return v1alpha1.New(g.factory, g.namespace, g.tweakListOptions) +} + // V1beta1 returns a new v1beta1.Interface. func (g *group) V1beta1() v1beta1.Interface { return v1beta1.New(g.factory, g.namespace, g.tweakListOptions) diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/informers/networking/v1alpha1/clustercidr.go b/cluster-autoscaler/vendor/k8s.io/client-go/informers/networking/v1alpha1/clustercidr.go new file mode 100644 index 000000000000..cefd0f8a1ee7 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/informers/networking/v1alpha1/clustercidr.go @@ -0,0 +1,89 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by informer-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "context" + time "time" + + networkingv1alpha1 "k8s.io/api/networking/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + runtime "k8s.io/apimachinery/pkg/runtime" + watch "k8s.io/apimachinery/pkg/watch" + internalinterfaces "k8s.io/client-go/informers/internalinterfaces" + kubernetes "k8s.io/client-go/kubernetes" + v1alpha1 "k8s.io/client-go/listers/networking/v1alpha1" + cache "k8s.io/client-go/tools/cache" +) + +// ClusterCIDRInformer provides access to a shared informer and lister for +// ClusterCIDRs. +type ClusterCIDRInformer interface { + Informer() cache.SharedIndexInformer + Lister() v1alpha1.ClusterCIDRLister +} + +type clusterCIDRInformer struct { + factory internalinterfaces.SharedInformerFactory + tweakListOptions internalinterfaces.TweakListOptionsFunc +} + +// NewClusterCIDRInformer constructs a new informer for ClusterCIDR type. +// Always prefer using an informer factory to get a shared informer instead of getting an independent +// one. This reduces memory footprint and number of connections to the server. +func NewClusterCIDRInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer { + return NewFilteredClusterCIDRInformer(client, resyncPeriod, indexers, nil) +} + +// NewFilteredClusterCIDRInformer constructs a new informer for ClusterCIDR type. +// Always prefer using an informer factory to get a shared informer instead of getting an independent +// one. This reduces memory footprint and number of connections to the server. +func NewFilteredClusterCIDRInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer { + return cache.NewSharedIndexInformer( + &cache.ListWatch{ + ListFunc: func(options v1.ListOptions) (runtime.Object, error) { + if tweakListOptions != nil { + tweakListOptions(&options) + } + return client.NetworkingV1alpha1().ClusterCIDRs().List(context.TODO(), options) + }, + WatchFunc: func(options v1.ListOptions) (watch.Interface, error) { + if tweakListOptions != nil { + tweakListOptions(&options) + } + return client.NetworkingV1alpha1().ClusterCIDRs().Watch(context.TODO(), options) + }, + }, + &networkingv1alpha1.ClusterCIDR{}, + resyncPeriod, + indexers, + ) +} + +func (f *clusterCIDRInformer) defaultInformer(client kubernetes.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer { + return NewFilteredClusterCIDRInformer(client, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions) +} + +func (f *clusterCIDRInformer) Informer() cache.SharedIndexInformer { + return f.factory.InformerFor(&networkingv1alpha1.ClusterCIDR{}, f.defaultInformer) +} + +func (f *clusterCIDRInformer) Lister() v1alpha1.ClusterCIDRLister { + return v1alpha1.NewClusterCIDRLister(f.Informer().GetIndexer()) +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/informers/networking/v1alpha1/interface.go b/cluster-autoscaler/vendor/k8s.io/client-go/informers/networking/v1alpha1/interface.go new file mode 100644 index 000000000000..c51b748801f8 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/informers/networking/v1alpha1/interface.go @@ -0,0 +1,45 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by informer-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + internalinterfaces "k8s.io/client-go/informers/internalinterfaces" +) + +// Interface provides access to all the informers in this group version. +type Interface interface { + // ClusterCIDRs returns a ClusterCIDRInformer. + ClusterCIDRs() ClusterCIDRInformer +} + +type version struct { + factory internalinterfaces.SharedInformerFactory + namespace string + tweakListOptions internalinterfaces.TweakListOptionsFunc +} + +// New returns a new Interface. +func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { + return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} +} + +// ClusterCIDRs returns a ClusterCIDRInformer. +func (v *version) ClusterCIDRs() ClusterCIDRInformer { + return &clusterCIDRInformer{factory: v.factory, tweakListOptions: v.tweakListOptions} +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/clientset.go b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/clientset.go index e46c0537f785..0ea0c3c4cd69 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/clientset.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/clientset.go @@ -53,6 +53,7 @@ import ( flowcontrolv1beta1 "k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta1" flowcontrolv1beta2 "k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta2" networkingv1 "k8s.io/client-go/kubernetes/typed/networking/v1" + networkingv1alpha1 "k8s.io/client-go/kubernetes/typed/networking/v1alpha1" networkingv1beta1 "k8s.io/client-go/kubernetes/typed/networking/v1beta1" nodev1 "k8s.io/client-go/kubernetes/typed/node/v1" nodev1alpha1 "k8s.io/client-go/kubernetes/typed/node/v1alpha1" @@ -104,6 +105,7 @@ type Interface interface { FlowcontrolV1beta1() flowcontrolv1beta1.FlowcontrolV1beta1Interface FlowcontrolV1beta2() flowcontrolv1beta2.FlowcontrolV1beta2Interface NetworkingV1() networkingv1.NetworkingV1Interface + NetworkingV1alpha1() networkingv1alpha1.NetworkingV1alpha1Interface NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface NodeV1() nodev1.NodeV1Interface NodeV1alpha1() nodev1alpha1.NodeV1alpha1Interface @@ -155,6 +157,7 @@ type Clientset struct { flowcontrolV1beta1 *flowcontrolv1beta1.FlowcontrolV1beta1Client flowcontrolV1beta2 *flowcontrolv1beta2.FlowcontrolV1beta2Client networkingV1 *networkingv1.NetworkingV1Client + networkingV1alpha1 *networkingv1alpha1.NetworkingV1alpha1Client networkingV1beta1 *networkingv1beta1.NetworkingV1beta1Client nodeV1 *nodev1.NodeV1Client nodeV1alpha1 *nodev1alpha1.NodeV1alpha1Client @@ -322,6 +325,11 @@ func (c *Clientset) NetworkingV1() networkingv1.NetworkingV1Interface { return c.networkingV1 } +// NetworkingV1alpha1 retrieves the NetworkingV1alpha1Client +func (c *Clientset) NetworkingV1alpha1() networkingv1alpha1.NetworkingV1alpha1Interface { + return c.networkingV1alpha1 +} + // NetworkingV1beta1 retrieves the NetworkingV1beta1Client func (c *Clientset) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface { return c.networkingV1beta1 @@ -561,6 +569,10 @@ func NewForConfigAndClient(c *rest.Config, httpClient *http.Client) (*Clientset, if err != nil { return nil, err } + cs.networkingV1alpha1, err = networkingv1alpha1.NewForConfigAndClient(&configShallowCopy, httpClient) + if err != nil { + return nil, err + } cs.networkingV1beta1, err = networkingv1beta1.NewForConfigAndClient(&configShallowCopy, httpClient) if err != nil { return nil, err @@ -672,6 +684,7 @@ func New(c rest.Interface) *Clientset { cs.flowcontrolV1beta1 = flowcontrolv1beta1.New(c) cs.flowcontrolV1beta2 = flowcontrolv1beta2.New(c) cs.networkingV1 = networkingv1.New(c) + cs.networkingV1alpha1 = networkingv1alpha1.New(c) cs.networkingV1beta1 = networkingv1beta1.New(c) cs.nodeV1 = nodev1.New(c) cs.nodeV1alpha1 = nodev1alpha1.New(c) diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/fake/clientset_generated.go b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/fake/clientset_generated.go index 9ab84ff5dc30..3e468bf90583 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/fake/clientset_generated.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/fake/clientset_generated.go @@ -84,6 +84,8 @@ import ( fakeflowcontrolv1beta2 "k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta2/fake" networkingv1 "k8s.io/client-go/kubernetes/typed/networking/v1" fakenetworkingv1 "k8s.io/client-go/kubernetes/typed/networking/v1/fake" + networkingv1alpha1 "k8s.io/client-go/kubernetes/typed/networking/v1alpha1" + fakenetworkingv1alpha1 "k8s.io/client-go/kubernetes/typed/networking/v1alpha1/fake" networkingv1beta1 "k8s.io/client-go/kubernetes/typed/networking/v1beta1" fakenetworkingv1beta1 "k8s.io/client-go/kubernetes/typed/networking/v1beta1/fake" nodev1 "k8s.io/client-go/kubernetes/typed/node/v1" @@ -317,6 +319,11 @@ func (c *Clientset) NetworkingV1() networkingv1.NetworkingV1Interface { return &fakenetworkingv1.FakeNetworkingV1{Fake: &c.Fake} } +// NetworkingV1alpha1 retrieves the NetworkingV1alpha1Client +func (c *Clientset) NetworkingV1alpha1() networkingv1alpha1.NetworkingV1alpha1Interface { + return &fakenetworkingv1alpha1.FakeNetworkingV1alpha1{Fake: &c.Fake} +} + // NetworkingV1beta1 retrieves the NetworkingV1beta1Client func (c *Clientset) NetworkingV1beta1() networkingv1beta1.NetworkingV1beta1Interface { return &fakenetworkingv1beta1.FakeNetworkingV1beta1{Fake: &c.Fake} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/fake/register.go b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/fake/register.go index c3f0a3d52258..751d43aaa731 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/fake/register.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/fake/register.go @@ -49,6 +49,7 @@ import ( flowcontrolv1beta1 "k8s.io/api/flowcontrol/v1beta1" flowcontrolv1beta2 "k8s.io/api/flowcontrol/v1beta2" networkingv1 "k8s.io/api/networking/v1" + networkingv1alpha1 "k8s.io/api/networking/v1alpha1" networkingv1beta1 "k8s.io/api/networking/v1beta1" nodev1 "k8s.io/api/node/v1" nodev1alpha1 "k8s.io/api/node/v1alpha1" @@ -105,6 +106,7 @@ var localSchemeBuilder = runtime.SchemeBuilder{ flowcontrolv1beta1.AddToScheme, flowcontrolv1beta2.AddToScheme, networkingv1.AddToScheme, + networkingv1alpha1.AddToScheme, networkingv1beta1.AddToScheme, nodev1.AddToScheme, nodev1alpha1.AddToScheme, @@ -125,14 +127,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{ // AddToScheme adds all types of this clientset into the given scheme. This allows composition // of clientsets, like in: // -// import ( -// "k8s.io/client-go/kubernetes" -// clientsetscheme "k8s.io/client-go/kubernetes/scheme" -// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" -// ) +// import ( +// "k8s.io/client-go/kubernetes" +// clientsetscheme "k8s.io/client-go/kubernetes/scheme" +// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" +// ) // -// kclientset, _ := kubernetes.NewForConfig(c) -// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) +// kclientset, _ := kubernetes.NewForConfig(c) +// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) // // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types // correctly. diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/scheme/register.go b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/scheme/register.go index b41466151d4c..ea01840ef7bb 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/scheme/register.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/scheme/register.go @@ -49,6 +49,7 @@ import ( flowcontrolv1beta1 "k8s.io/api/flowcontrol/v1beta1" flowcontrolv1beta2 "k8s.io/api/flowcontrol/v1beta2" networkingv1 "k8s.io/api/networking/v1" + networkingv1alpha1 "k8s.io/api/networking/v1alpha1" networkingv1beta1 "k8s.io/api/networking/v1beta1" nodev1 "k8s.io/api/node/v1" nodev1alpha1 "k8s.io/api/node/v1alpha1" @@ -105,6 +106,7 @@ var localSchemeBuilder = runtime.SchemeBuilder{ flowcontrolv1beta1.AddToScheme, flowcontrolv1beta2.AddToScheme, networkingv1.AddToScheme, + networkingv1alpha1.AddToScheme, networkingv1beta1.AddToScheme, nodev1.AddToScheme, nodev1alpha1.AddToScheme, @@ -125,14 +127,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{ // AddToScheme adds all types of this clientset into the given scheme. This allows composition // of clientsets, like in: // -// import ( -// "k8s.io/client-go/kubernetes" -// clientsetscheme "k8s.io/client-go/kubernetes/scheme" -// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" -// ) +// import ( +// "k8s.io/client-go/kubernetes" +// clientsetscheme "k8s.io/client-go/kubernetes/scheme" +// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" +// ) // -// kclientset, _ := kubernetes.NewForConfig(c) -// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) +// kclientset, _ := kubernetes.NewForConfig(c) +// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) // // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types // correctly. diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_event_expansion.go b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_event_expansion.go index 4b4c90d7d196..48282f86e381 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_event_expansion.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_event_expansion.go @@ -17,7 +17,7 @@ limitations under the License. package fake import ( - "k8s.io/api/core/v1" + v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/fields" "k8s.io/apimachinery/pkg/runtime" @@ -26,9 +26,11 @@ import ( ) func (c *FakeEvents) CreateWithEventNamespace(event *v1.Event) (*v1.Event, error) { - action := core.NewRootCreateAction(eventsResource, event) + var action core.CreateActionImpl if c.ns != "" { action = core.NewCreateAction(eventsResource, c.ns, event) + } else { + action = core.NewCreateAction(eventsResource, event.GetNamespace(), event) } obj, err := c.Fake.Invokes(action, event) if obj == nil { @@ -40,9 +42,11 @@ func (c *FakeEvents) CreateWithEventNamespace(event *v1.Event) (*v1.Event, error // Update replaces an existing event. Returns the copy of the event the server returns, or an error. func (c *FakeEvents) UpdateWithEventNamespace(event *v1.Event) (*v1.Event, error) { - action := core.NewRootUpdateAction(eventsResource, event) + var action core.UpdateActionImpl if c.ns != "" { action = core.NewUpdateAction(eventsResource, c.ns, event) + } else { + action = core.NewUpdateAction(eventsResource, event.GetNamespace(), event) } obj, err := c.Fake.Invokes(action, event) if obj == nil { @@ -57,9 +61,11 @@ func (c *FakeEvents) UpdateWithEventNamespace(event *v1.Event) (*v1.Event, error func (c *FakeEvents) PatchWithEventNamespace(event *v1.Event, data []byte) (*v1.Event, error) { // TODO: Should be configurable to support additional patch strategies. pt := types.StrategicMergePatchType - action := core.NewRootPatchAction(eventsResource, event.Name, pt, data) + var action core.PatchActionImpl if c.ns != "" { action = core.NewPatchAction(eventsResource, c.ns, event.Name, pt, data) + } else { + action = core.NewPatchAction(eventsResource, event.GetNamespace(), event.Name, pt, data) } obj, err := c.Fake.Invokes(action, event) if obj == nil { @@ -71,9 +77,11 @@ func (c *FakeEvents) PatchWithEventNamespace(event *v1.Event, data []byte) (*v1. // Search returns a list of events matching the specified object. func (c *FakeEvents) Search(scheme *runtime.Scheme, objOrRef runtime.Object) (*v1.EventList, error) { - action := core.NewRootListAction(eventsResource, eventsKind, metav1.ListOptions{}) + var action core.ListActionImpl if c.ns != "" { action = core.NewListAction(eventsResource, eventsKind, c.ns, metav1.ListOptions{}) + } else { + action = core.NewListAction(eventsResource, eventsKind, v1.NamespaceDefault, metav1.ListOptions{}) } obj, err := c.Fake.Invokes(action, &v1.EventList{}) if obj == nil { diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1/event_expansion.go b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1/event_expansion.go index 7213193bf1b5..464fff911671 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1/event_expansion.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1/event_expansion.go @@ -82,7 +82,8 @@ func (e *events) UpdateWithEventNamespace(event *v1beta1.Event) (*v1beta1.Event, // It returns the copy of the event that the server returns, or an error. // The namespace and name of the target event is deduced from the event. // The namespace must either match this event client's namespace, or this event client must -// have been created with the "" namespace. +// +// have been created with the "" namespace. func (e *events) PatchWithEventNamespace(event *v1beta1.Event, data []byte) (*v1beta1.Event, error) { if e.ns != "" && event.Namespace != e.ns { return nil, fmt.Errorf("can't patch an event with namespace '%v' in namespace '%v'", event.Namespace, e.ns) diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/clustercidr.go b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/clustercidr.go new file mode 100644 index 000000000000..9df76351db8c --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/clustercidr.go @@ -0,0 +1,197 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "context" + json "encoding/json" + "fmt" + "time" + + v1alpha1 "k8s.io/api/networking/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + types "k8s.io/apimachinery/pkg/types" + watch "k8s.io/apimachinery/pkg/watch" + networkingv1alpha1 "k8s.io/client-go/applyconfigurations/networking/v1alpha1" + scheme "k8s.io/client-go/kubernetes/scheme" + rest "k8s.io/client-go/rest" +) + +// ClusterCIDRsGetter has a method to return a ClusterCIDRInterface. +// A group's client should implement this interface. +type ClusterCIDRsGetter interface { + ClusterCIDRs() ClusterCIDRInterface +} + +// ClusterCIDRInterface has methods to work with ClusterCIDR resources. +type ClusterCIDRInterface interface { + Create(ctx context.Context, clusterCIDR *v1alpha1.ClusterCIDR, opts v1.CreateOptions) (*v1alpha1.ClusterCIDR, error) + Update(ctx context.Context, clusterCIDR *v1alpha1.ClusterCIDR, opts v1.UpdateOptions) (*v1alpha1.ClusterCIDR, error) + Delete(ctx context.Context, name string, opts v1.DeleteOptions) error + DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error + Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.ClusterCIDR, error) + List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterCIDRList, error) + Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) + Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterCIDR, err error) + Apply(ctx context.Context, clusterCIDR *networkingv1alpha1.ClusterCIDRApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ClusterCIDR, err error) + ClusterCIDRExpansion +} + +// clusterCIDRs implements ClusterCIDRInterface +type clusterCIDRs struct { + client rest.Interface +} + +// newClusterCIDRs returns a ClusterCIDRs +func newClusterCIDRs(c *NetworkingV1alpha1Client) *clusterCIDRs { + return &clusterCIDRs{ + client: c.RESTClient(), + } +} + +// Get takes name of the clusterCIDR, and returns the corresponding clusterCIDR object, and an error if there is any. +func (c *clusterCIDRs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterCIDR, err error) { + result = &v1alpha1.ClusterCIDR{} + err = c.client.Get(). + Resource("clustercidrs"). + Name(name). + VersionedParams(&options, scheme.ParameterCodec). + Do(ctx). + Into(result) + return +} + +// List takes label and field selectors, and returns the list of ClusterCIDRs that match those selectors. +func (c *clusterCIDRs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterCIDRList, err error) { + var timeout time.Duration + if opts.TimeoutSeconds != nil { + timeout = time.Duration(*opts.TimeoutSeconds) * time.Second + } + result = &v1alpha1.ClusterCIDRList{} + err = c.client.Get(). + Resource("clustercidrs"). + VersionedParams(&opts, scheme.ParameterCodec). + Timeout(timeout). + Do(ctx). + Into(result) + return +} + +// Watch returns a watch.Interface that watches the requested clusterCIDRs. +func (c *clusterCIDRs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { + var timeout time.Duration + if opts.TimeoutSeconds != nil { + timeout = time.Duration(*opts.TimeoutSeconds) * time.Second + } + opts.Watch = true + return c.client.Get(). + Resource("clustercidrs"). + VersionedParams(&opts, scheme.ParameterCodec). + Timeout(timeout). + Watch(ctx) +} + +// Create takes the representation of a clusterCIDR and creates it. Returns the server's representation of the clusterCIDR, and an error, if there is any. +func (c *clusterCIDRs) Create(ctx context.Context, clusterCIDR *v1alpha1.ClusterCIDR, opts v1.CreateOptions) (result *v1alpha1.ClusterCIDR, err error) { + result = &v1alpha1.ClusterCIDR{} + err = c.client.Post(). + Resource("clustercidrs"). + VersionedParams(&opts, scheme.ParameterCodec). + Body(clusterCIDR). + Do(ctx). + Into(result) + return +} + +// Update takes the representation of a clusterCIDR and updates it. Returns the server's representation of the clusterCIDR, and an error, if there is any. +func (c *clusterCIDRs) Update(ctx context.Context, clusterCIDR *v1alpha1.ClusterCIDR, opts v1.UpdateOptions) (result *v1alpha1.ClusterCIDR, err error) { + result = &v1alpha1.ClusterCIDR{} + err = c.client.Put(). + Resource("clustercidrs"). + Name(clusterCIDR.Name). + VersionedParams(&opts, scheme.ParameterCodec). + Body(clusterCIDR). + Do(ctx). + Into(result) + return +} + +// Delete takes name of the clusterCIDR and deletes it. Returns an error if one occurs. +func (c *clusterCIDRs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { + return c.client.Delete(). + Resource("clustercidrs"). + Name(name). + Body(&opts). + Do(ctx). + Error() +} + +// DeleteCollection deletes a collection of objects. +func (c *clusterCIDRs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { + var timeout time.Duration + if listOpts.TimeoutSeconds != nil { + timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second + } + return c.client.Delete(). + Resource("clustercidrs"). + VersionedParams(&listOpts, scheme.ParameterCodec). + Timeout(timeout). + Body(&opts). + Do(ctx). + Error() +} + +// Patch applies the patch and returns the patched clusterCIDR. +func (c *clusterCIDRs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterCIDR, err error) { + result = &v1alpha1.ClusterCIDR{} + err = c.client.Patch(pt). + Resource("clustercidrs"). + Name(name). + SubResource(subresources...). + VersionedParams(&opts, scheme.ParameterCodec). + Body(data). + Do(ctx). + Into(result) + return +} + +// Apply takes the given apply declarative configuration, applies it and returns the applied clusterCIDR. +func (c *clusterCIDRs) Apply(ctx context.Context, clusterCIDR *networkingv1alpha1.ClusterCIDRApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ClusterCIDR, err error) { + if clusterCIDR == nil { + return nil, fmt.Errorf("clusterCIDR provided to Apply must not be nil") + } + patchOpts := opts.ToPatchOptions() + data, err := json.Marshal(clusterCIDR) + if err != nil { + return nil, err + } + name := clusterCIDR.Name + if name == nil { + return nil, fmt.Errorf("clusterCIDR.Name must be provided to Apply") + } + result = &v1alpha1.ClusterCIDR{} + err = c.client.Patch(types.ApplyPatchType). + Resource("clustercidrs"). + Name(*name). + VersionedParams(&patchOpts, scheme.ParameterCodec). + Body(data). + Do(ctx). + Into(result) + return +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flocker/doc.go b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/doc.go similarity index 74% rename from cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flocker/doc.go rename to cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/doc.go index e93a7489c138..df51baa4d4c1 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flocker/doc.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2015 The Kubernetes Authors. +Copyright The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -14,5 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Package flocker contains the internal representation of Flocker volumes -package flocker // import "k8s.io/kubernetes/pkg/volume/flocker" +// Code generated by client-gen. DO NOT EDIT. + +// This package has the automatically generated typed clients. +package v1alpha1 diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/storageos/doc.go b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/fake/doc.go similarity index 72% rename from cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/storageos/doc.go rename to cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/fake/doc.go index 764e8eeb463e..16f44399065e 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/storageos/doc.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/fake/doc.go @@ -1,5 +1,5 @@ /* -Copyright 2017 The Kubernetes Authors. +Copyright The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -// Package storageos contains the internal representation of StorageOS -// PersistentDisk volumes. -package storageos // import "k8s.io/kubernetes/pkg/volume/storageos" +// Code generated by client-gen. DO NOT EDIT. + +// Package fake has the automatically generated clients. +package fake diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/fake/fake_clustercidr.go b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/fake/fake_clustercidr.go new file mode 100644 index 000000000000..ca0352d390ce --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/fake/fake_clustercidr.go @@ -0,0 +1,146 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package fake + +import ( + "context" + json "encoding/json" + "fmt" + + v1alpha1 "k8s.io/api/networking/v1alpha1" + v1 "k8s.io/apimachinery/pkg/apis/meta/v1" + labels "k8s.io/apimachinery/pkg/labels" + schema "k8s.io/apimachinery/pkg/runtime/schema" + types "k8s.io/apimachinery/pkg/types" + watch "k8s.io/apimachinery/pkg/watch" + networkingv1alpha1 "k8s.io/client-go/applyconfigurations/networking/v1alpha1" + testing "k8s.io/client-go/testing" +) + +// FakeClusterCIDRs implements ClusterCIDRInterface +type FakeClusterCIDRs struct { + Fake *FakeNetworkingV1alpha1 +} + +var clustercidrsResource = schema.GroupVersionResource{Group: "networking.k8s.io", Version: "v1alpha1", Resource: "clustercidrs"} + +var clustercidrsKind = schema.GroupVersionKind{Group: "networking.k8s.io", Version: "v1alpha1", Kind: "ClusterCIDR"} + +// Get takes name of the clusterCIDR, and returns the corresponding clusterCIDR object, and an error if there is any. +func (c *FakeClusterCIDRs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterCIDR, err error) { + obj, err := c.Fake. + Invokes(testing.NewRootGetAction(clustercidrsResource, name), &v1alpha1.ClusterCIDR{}) + if obj == nil { + return nil, err + } + return obj.(*v1alpha1.ClusterCIDR), err +} + +// List takes label and field selectors, and returns the list of ClusterCIDRs that match those selectors. +func (c *FakeClusterCIDRs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterCIDRList, err error) { + obj, err := c.Fake. + Invokes(testing.NewRootListAction(clustercidrsResource, clustercidrsKind, opts), &v1alpha1.ClusterCIDRList{}) + if obj == nil { + return nil, err + } + + label, _, _ := testing.ExtractFromListOptions(opts) + if label == nil { + label = labels.Everything() + } + list := &v1alpha1.ClusterCIDRList{ListMeta: obj.(*v1alpha1.ClusterCIDRList).ListMeta} + for _, item := range obj.(*v1alpha1.ClusterCIDRList).Items { + if label.Matches(labels.Set(item.Labels)) { + list.Items = append(list.Items, item) + } + } + return list, err +} + +// Watch returns a watch.Interface that watches the requested clusterCIDRs. +func (c *FakeClusterCIDRs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { + return c.Fake. + InvokesWatch(testing.NewRootWatchAction(clustercidrsResource, opts)) +} + +// Create takes the representation of a clusterCIDR and creates it. Returns the server's representation of the clusterCIDR, and an error, if there is any. +func (c *FakeClusterCIDRs) Create(ctx context.Context, clusterCIDR *v1alpha1.ClusterCIDR, opts v1.CreateOptions) (result *v1alpha1.ClusterCIDR, err error) { + obj, err := c.Fake. + Invokes(testing.NewRootCreateAction(clustercidrsResource, clusterCIDR), &v1alpha1.ClusterCIDR{}) + if obj == nil { + return nil, err + } + return obj.(*v1alpha1.ClusterCIDR), err +} + +// Update takes the representation of a clusterCIDR and updates it. Returns the server's representation of the clusterCIDR, and an error, if there is any. +func (c *FakeClusterCIDRs) Update(ctx context.Context, clusterCIDR *v1alpha1.ClusterCIDR, opts v1.UpdateOptions) (result *v1alpha1.ClusterCIDR, err error) { + obj, err := c.Fake. + Invokes(testing.NewRootUpdateAction(clustercidrsResource, clusterCIDR), &v1alpha1.ClusterCIDR{}) + if obj == nil { + return nil, err + } + return obj.(*v1alpha1.ClusterCIDR), err +} + +// Delete takes name of the clusterCIDR and deletes it. Returns an error if one occurs. +func (c *FakeClusterCIDRs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error { + _, err := c.Fake. + Invokes(testing.NewRootDeleteActionWithOptions(clustercidrsResource, name, opts), &v1alpha1.ClusterCIDR{}) + return err +} + +// DeleteCollection deletes a collection of objects. +func (c *FakeClusterCIDRs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error { + action := testing.NewRootDeleteCollectionAction(clustercidrsResource, listOpts) + + _, err := c.Fake.Invokes(action, &v1alpha1.ClusterCIDRList{}) + return err +} + +// Patch applies the patch and returns the patched clusterCIDR. +func (c *FakeClusterCIDRs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterCIDR, err error) { + obj, err := c.Fake. + Invokes(testing.NewRootPatchSubresourceAction(clustercidrsResource, name, pt, data, subresources...), &v1alpha1.ClusterCIDR{}) + if obj == nil { + return nil, err + } + return obj.(*v1alpha1.ClusterCIDR), err +} + +// Apply takes the given apply declarative configuration, applies it and returns the applied clusterCIDR. +func (c *FakeClusterCIDRs) Apply(ctx context.Context, clusterCIDR *networkingv1alpha1.ClusterCIDRApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ClusterCIDR, err error) { + if clusterCIDR == nil { + return nil, fmt.Errorf("clusterCIDR provided to Apply must not be nil") + } + data, err := json.Marshal(clusterCIDR) + if err != nil { + return nil, err + } + name := clusterCIDR.Name + if name == nil { + return nil, fmt.Errorf("clusterCIDR.Name must be provided to Apply") + } + obj, err := c.Fake. + Invokes(testing.NewRootPatchSubresourceAction(clustercidrsResource, *name, types.ApplyPatchType, data), &v1alpha1.ClusterCIDR{}) + if obj == nil { + return nil, err + } + return obj.(*v1alpha1.ClusterCIDR), err +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/fake/fake_networking_client.go b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/fake/fake_networking_client.go new file mode 100644 index 000000000000..96979aa881d8 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/fake/fake_networking_client.go @@ -0,0 +1,40 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package fake + +import ( + v1alpha1 "k8s.io/client-go/kubernetes/typed/networking/v1alpha1" + rest "k8s.io/client-go/rest" + testing "k8s.io/client-go/testing" +) + +type FakeNetworkingV1alpha1 struct { + *testing.Fake +} + +func (c *FakeNetworkingV1alpha1) ClusterCIDRs() v1alpha1.ClusterCIDRInterface { + return &FakeClusterCIDRs{c} +} + +// RESTClient returns a RESTClient that is used to communicate +// with API server by this client implementation. +func (c *FakeNetworkingV1alpha1) RESTClient() rest.Interface { + var ret *rest.RESTClient + return ret +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/generated_expansion.go b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/generated_expansion.go new file mode 100644 index 000000000000..ab41abb7d01b --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/generated_expansion.go @@ -0,0 +1,21 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package v1alpha1 + +type ClusterCIDRExpansion interface{} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/networking_client.go b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/networking_client.go new file mode 100644 index 000000000000..ccb5933163cb --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/kubernetes/typed/networking/v1alpha1/networking_client.go @@ -0,0 +1,107 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by client-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + "net/http" + + v1alpha1 "k8s.io/api/networking/v1alpha1" + "k8s.io/client-go/kubernetes/scheme" + rest "k8s.io/client-go/rest" +) + +type NetworkingV1alpha1Interface interface { + RESTClient() rest.Interface + ClusterCIDRsGetter +} + +// NetworkingV1alpha1Client is used to interact with features provided by the networking.k8s.io group. +type NetworkingV1alpha1Client struct { + restClient rest.Interface +} + +func (c *NetworkingV1alpha1Client) ClusterCIDRs() ClusterCIDRInterface { + return newClusterCIDRs(c) +} + +// NewForConfig creates a new NetworkingV1alpha1Client for the given config. +// NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), +// where httpClient was generated with rest.HTTPClientFor(c). +func NewForConfig(c *rest.Config) (*NetworkingV1alpha1Client, error) { + config := *c + if err := setConfigDefaults(&config); err != nil { + return nil, err + } + httpClient, err := rest.HTTPClientFor(&config) + if err != nil { + return nil, err + } + return NewForConfigAndClient(&config, httpClient) +} + +// NewForConfigAndClient creates a new NetworkingV1alpha1Client for the given config and http client. +// Note the http client provided takes precedence over the configured transport values. +func NewForConfigAndClient(c *rest.Config, h *http.Client) (*NetworkingV1alpha1Client, error) { + config := *c + if err := setConfigDefaults(&config); err != nil { + return nil, err + } + client, err := rest.RESTClientForConfigAndClient(&config, h) + if err != nil { + return nil, err + } + return &NetworkingV1alpha1Client{client}, nil +} + +// NewForConfigOrDie creates a new NetworkingV1alpha1Client for the given config and +// panics if there is an error in the config. +func NewForConfigOrDie(c *rest.Config) *NetworkingV1alpha1Client { + client, err := NewForConfig(c) + if err != nil { + panic(err) + } + return client +} + +// New creates a new NetworkingV1alpha1Client for the given RESTClient. +func New(c rest.Interface) *NetworkingV1alpha1Client { + return &NetworkingV1alpha1Client{c} +} + +func setConfigDefaults(config *rest.Config) error { + gv := v1alpha1.SchemeGroupVersion + config.GroupVersion = &gv + config.APIPath = "/apis" + config.NegotiatedSerializer = scheme.Codecs.WithoutConversion() + + if config.UserAgent == "" { + config.UserAgent = rest.DefaultKubernetesUserAgent() + } + + return nil +} + +// RESTClient returns a RESTClient that is used to communicate +// with API server by this client implementation. +func (c *NetworkingV1alpha1Client) RESTClient() rest.Interface { + if c == nil { + return nil + } + return c.restClient +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/listers/networking/v1alpha1/clustercidr.go b/cluster-autoscaler/vendor/k8s.io/client-go/listers/networking/v1alpha1/clustercidr.go new file mode 100644 index 000000000000..dca9d7bf0cb2 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/listers/networking/v1alpha1/clustercidr.go @@ -0,0 +1,68 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by lister-gen. DO NOT EDIT. + +package v1alpha1 + +import ( + v1alpha1 "k8s.io/api/networking/v1alpha1" + "k8s.io/apimachinery/pkg/api/errors" + "k8s.io/apimachinery/pkg/labels" + "k8s.io/client-go/tools/cache" +) + +// ClusterCIDRLister helps list ClusterCIDRs. +// All objects returned here must be treated as read-only. +type ClusterCIDRLister interface { + // List lists all ClusterCIDRs in the indexer. + // Objects returned here must be treated as read-only. + List(selector labels.Selector) (ret []*v1alpha1.ClusterCIDR, err error) + // Get retrieves the ClusterCIDR from the index for a given name. + // Objects returned here must be treated as read-only. + Get(name string) (*v1alpha1.ClusterCIDR, error) + ClusterCIDRListerExpansion +} + +// clusterCIDRLister implements the ClusterCIDRLister interface. +type clusterCIDRLister struct { + indexer cache.Indexer +} + +// NewClusterCIDRLister returns a new ClusterCIDRLister. +func NewClusterCIDRLister(indexer cache.Indexer) ClusterCIDRLister { + return &clusterCIDRLister{indexer: indexer} +} + +// List lists all ClusterCIDRs in the indexer. +func (s *clusterCIDRLister) List(selector labels.Selector) (ret []*v1alpha1.ClusterCIDR, err error) { + err = cache.ListAll(s.indexer, selector, func(m interface{}) { + ret = append(ret, m.(*v1alpha1.ClusterCIDR)) + }) + return ret, err +} + +// Get retrieves the ClusterCIDR from the index for a given name. +func (s *clusterCIDRLister) Get(name string) (*v1alpha1.ClusterCIDR, error) { + obj, exists, err := s.indexer.GetByKey(name) + if err != nil { + return nil, err + } + if !exists { + return nil, errors.NewNotFound(v1alpha1.Resource("clustercidr"), name) + } + return obj.(*v1alpha1.ClusterCIDR), nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/listers/networking/v1alpha1/expansion_generated.go b/cluster-autoscaler/vendor/k8s.io/client-go/listers/networking/v1alpha1/expansion_generated.go new file mode 100644 index 000000000000..cdc328231a04 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/listers/networking/v1alpha1/expansion_generated.go @@ -0,0 +1,23 @@ +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by lister-gen. DO NOT EDIT. + +package v1alpha1 + +// ClusterCIDRListerExpansion allows custom methods to be added to +// ClusterCIDRLister. +type ClusterCIDRListerExpansion interface{} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/rest/client.go b/cluster-autoscaler/vendor/k8s.io/client-go/rest/client.go index c969300494c0..2cf821bcd7a2 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/rest/client.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/rest/client.go @@ -52,7 +52,8 @@ type Interface interface { // ClientContentConfig controls how RESTClient communicates with the server. // // TODO: ContentConfig will be updated to accept a Negotiator instead of a -// NegotiatedSerializer and NegotiatedSerializer will be removed. +// +// NegotiatedSerializer and NegotiatedSerializer will be removed. type ClientContentConfig struct { // AcceptContentTypes specifies the types the client will accept and is optional. // If not set, ContentType will be used to define the Accept header @@ -159,13 +160,14 @@ func readExpBackoffConfig() BackoffManager { // c, err := NewRESTClient(...) // if err != nil { ... } // resp, err := c.Verb("GET"). -// Path("pods"). -// SelectorParam("labels", "area=staging"). -// Timeout(10*time.Second). -// Do() +// +// Path("pods"). +// SelectorParam("labels", "area=staging"). +// Timeout(10*time.Second). +// Do() +// // if err != nil { ... } // list, ok := resp.(*api.PodList) -// func (c *RESTClient) Verb(verb string) *Request { return NewRequest(c).Verb(verb) } diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/rest/exec.go b/cluster-autoscaler/vendor/k8s.io/client-go/rest/exec.go index 5f3b43c55a8b..8539d5530d73 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/rest/exec.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/rest/exec.go @@ -21,7 +21,6 @@ import ( "net/http" "net/url" - "k8s.io/client-go/pkg/apis/clientauthentication" clientauthenticationapi "k8s.io/client-go/pkg/apis/clientauthentication" ) @@ -50,7 +49,7 @@ func ConfigToExecCluster(config *Config) (*clientauthenticationapi.Cluster, erro } } - return &clientauthentication.Cluster{ + return &clientauthenticationapi.Cluster{ Server: config.Host, TLSServerName: config.ServerName, InsecureSkipTLSVerify: config.Insecure, @@ -63,7 +62,7 @@ func ConfigToExecCluster(config *Config) (*clientauthenticationapi.Cluster, erro // ExecClusterToConfig creates a Config with the corresponding fields from the provided // clientauthenticationapi.Cluster. The returned Config will be anonymous (i.e., it will not have // any authentication-related fields set). -func ExecClusterToConfig(cluster *clientauthentication.Cluster) (*Config, error) { +func ExecClusterToConfig(cluster *clientauthenticationapi.Cluster) (*Config, error) { var proxy func(*http.Request) (*url.URL, error) if cluster.ProxyURL != "" { proxyURL, err := url.Parse(cluster.ProxyURL) diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/rest/plugin.go b/cluster-autoscaler/vendor/k8s.io/client-go/rest/plugin.go index c2b3dfc0f5e6..ae5cbdc2c4cd 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/rest/plugin.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/rest/plugin.go @@ -36,9 +36,10 @@ type AuthProvider interface { } // Factory generates an AuthProvider plugin. -// clusterAddress is the address of the current cluster. -// config is the initial configuration for this plugin. -// persister allows the plugin to save updated configuration. +// +// clusterAddress is the address of the current cluster. +// config is the initial configuration for this plugin. +// persister allows the plugin to save updated configuration. type Factory func(clusterAddress string, config map[string]string, persister AuthProviderConfigPersister) (AuthProvider, error) // AuthProviderConfigPersister allows a plugin to persist configuration info diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/rest/request.go b/cluster-autoscaler/vendor/k8s.io/client-go/rest/request.go index 3a1560df0dc9..dba933f7d6f7 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/rest/request.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/rest/request.go @@ -710,7 +710,7 @@ func updateURLMetrics(ctx context.Context, req *Request, resp *http.Response, er if err != nil { metrics.RequestResult.Increment(ctx, "", req.verb, url) } else { - //Metrics for failure codes + // Metrics for failure codes metrics.RequestResult.Increment(ctx, strconv.Itoa(resp.StatusCode), req.verb, url) } } @@ -823,7 +823,7 @@ func (r *Request) newHTTPRequest(ctx context.Context) (*http.Request, error) { // fn at most once. It will return an error if a problem occurred prior to connecting to the // server - the provided function is responsible for handling server errors. func (r *Request) request(ctx context.Context, fn func(*http.Request, *http.Response)) error { - //Metrics for total request latency + // Metrics for total request latency start := time.Now() defer func() { metrics.RequestLatency.Observe(ctx, r.verb, *r.URL(), time.Since(start)) @@ -892,7 +892,7 @@ func (r *Request) request(ctx context.Context, fn func(*http.Request, *http.Resp done := func() bool { defer readAndCloseResponseBody(resp) - // if the the server returns an error in err, the response will be nil. + // if the server returns an error in err, the response will be nil. f := func(req *http.Request, resp *http.Response) { if resp == nil { return @@ -917,8 +917,8 @@ func (r *Request) request(ctx context.Context, fn func(*http.Request, *http.Resp // processing. // // Error type: -// * If the server responds with a status: *errors.StatusError or *errors.UnexpectedObjectError -// * http.Client.Do errors are returned directly. +// - If the server responds with a status: *errors.StatusError or *errors.UnexpectedObjectError +// - http.Client.Do errors are returned directly. func (r *Request) Do(ctx context.Context) Result { var result Result err := r.request(ctx, func(req *http.Request, resp *http.Response) { @@ -1085,15 +1085,15 @@ const maxUnstructuredResponseTextBytes = 2048 // unexpected responses. The rough structure is: // // 1. Assume the server sends you something sane - JSON + well defined error objects + proper codes -// - this is the happy path -// - when you get this output, trust what the server sends -// 2. Guard against empty fields / bodies in received JSON and attempt to cull sufficient info from them to -// generate a reasonable facsimile of the original failure. -// - Be sure to use a distinct error type or flag that allows a client to distinguish between this and error 1 above -// 3. Handle true disconnect failures / completely malformed data by moving up to a more generic client error -// 4. Distinguish between various connection failures like SSL certificates, timeouts, proxy errors, unexpected -// initial contact, the presence of mismatched body contents from posted content types -// - Give these a separate distinct error type and capture as much as possible of the original message +// - this is the happy path +// - when you get this output, trust what the server sends +// 2. Guard against empty fields / bodies in received JSON and attempt to cull sufficient info from them to +// generate a reasonable facsimile of the original failure. +// - Be sure to use a distinct error type or flag that allows a client to distinguish between this and error 1 above +// 3. Handle true disconnect failures / completely malformed data by moving up to a more generic client error +// 4. Distinguish between various connection failures like SSL certificates, timeouts, proxy errors, unexpected +// initial contact, the presence of mismatched body contents from posted content types +// - Give these a separate distinct error type and capture as much as possible of the original message // // TODO: introduce transformation of generic http.Client.Do() errors that separates 4. func (r *Request) transformUnstructuredResponseError(resp *http.Response, req *http.Request, body []byte) error { diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/rest/warnings.go b/cluster-autoscaler/vendor/k8s.io/client-go/rest/warnings.go index 18476f5ff900..ad493659f22c 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/rest/warnings.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/rest/warnings.go @@ -40,9 +40,9 @@ var ( // SetDefaultWarningHandler sets the default handler clients use when warning headers are encountered. // By default, warnings are logged. Several built-in implementations are provided: -// - NoWarnings suppresses warnings. -// - WarningLogger logs warnings. -// - NewWarningWriter() outputs warnings to the provided writer. +// - NoWarnings suppresses warnings. +// - WarningLogger logs warnings. +// - NewWarningWriter() outputs warnings to the provided writer. func SetDefaultWarningHandler(l WarningHandler) { defaultWarningHandlerLock.Lock() defer defaultWarningHandlerLock.Unlock() diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/rest/with_retry.go b/cluster-autoscaler/vendor/k8s.io/client-go/rest/with_retry.go index 383a7ca7715e..bdcc6f3a98d5 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/rest/with_retry.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/rest/with_retry.go @@ -222,7 +222,7 @@ func (r *withRetry) Before(ctx context.Context, request *Request) error { } } - // if we are here, we have made attempt(s) al least once before. + // if we are here, we have made attempt(s) at least once before. if request.backoff != nil { delay := request.backoff.CalculateBackoff(url) if r.retryAfter.Wait > delay { diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/tools/auth/clientauth.go b/cluster-autoscaler/vendor/k8s.io/client-go/tools/auth/clientauth.go index 4c24f79977f3..ac30271fe0b5 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/tools/auth/clientauth.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/tools/auth/clientauth.go @@ -45,20 +45,20 @@ client.Client from an authcfg.Info. Example: - import ( - "pkg/client" - "pkg/client/auth" - ) - - info, err := auth.LoadFromFile(filename) - if err != nil { - // handle error - } - clientConfig = client.Config{} - clientConfig.Host = "example.com:4901" - clientConfig = info.MergeWithConfig() - client := client.New(clientConfig) - client.Pods(ns).List() + import ( + "pkg/client" + "pkg/client/auth" + ) + + info, err := auth.LoadFromFile(filename) + if err != nil { + // handle error + } + clientConfig = client.Config{} + clientConfig.Host = "example.com:4901" + clientConfig = info.MergeWithConfig() + client := client.New(clientConfig) + client.Pods(ns).List() */ package auth diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/controller.go b/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/controller.go index ff4c22de00bc..0762da3befac 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/controller.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/controller.go @@ -199,17 +199,17 @@ func (c *controller) processLoop() { // can't return an error. The handlers MUST NOT modify the objects // received; this concerns not only the top level of structure but all // the data structures reachable from it. -// * OnAdd is called when an object is added. -// * OnUpdate is called when an object is modified. Note that oldObj is the -// last known state of the object-- it is possible that several changes -// were combined together, so you can't use this to see every single -// change. OnUpdate is also called when a re-list happens, and it will -// get called even if nothing changed. This is useful for periodically -// evaluating or syncing something. -// * OnDelete will get the final state of the item if it is known, otherwise -// it will get an object of type DeletedFinalStateUnknown. This can -// happen if the watch is closed and misses the delete event and we don't -// notice the deletion until the subsequent re-list. +// - OnAdd is called when an object is added. +// - OnUpdate is called when an object is modified. Note that oldObj is the +// last known state of the object-- it is possible that several changes +// were combined together, so you can't use this to see every single +// change. OnUpdate is also called when a re-list happens, and it will +// get called even if nothing changed. This is useful for periodically +// evaluating or syncing something. +// - OnDelete will get the final state of the item if it is known, otherwise +// it will get an object of type DeletedFinalStateUnknown. This can +// happen if the watch is closed and misses the delete event and we don't +// notice the deletion until the subsequent re-list. type ResourceEventHandler interface { OnAdd(obj interface{}) OnUpdate(oldObj, newObj interface{}) @@ -305,15 +305,14 @@ func DeletionHandlingMetaNamespaceKeyFunc(obj interface{}) (string, error) { // notifications to be faulty. // // Parameters: -// * lw is list and watch functions for the source of the resource you want to -// be informed of. -// * objType is an object of the type that you expect to receive. -// * resyncPeriod: if non-zero, will re-list this often (you will get OnUpdate -// calls, even if nothing changed). Otherwise, re-list will be delayed as -// long as possible (until the upstream source closes the watch or times out, -// or you stop the controller). -// * h is the object you want notifications sent to. -// +// - lw is list and watch functions for the source of the resource you want to +// be informed of. +// - objType is an object of the type that you expect to receive. +// - resyncPeriod: if non-zero, will re-list this often (you will get OnUpdate +// calls, even if nothing changed). Otherwise, re-list will be delayed as +// long as possible (until the upstream source closes the watch or times out, +// or you stop the controller). +// - h is the object you want notifications sent to. func NewInformer( lw ListerWatcher, objType runtime.Object, @@ -332,16 +331,15 @@ func NewInformer( // notifications to be faulty. // // Parameters: -// * lw is list and watch functions for the source of the resource you want to -// be informed of. -// * objType is an object of the type that you expect to receive. -// * resyncPeriod: if non-zero, will re-list this often (you will get OnUpdate -// calls, even if nothing changed). Otherwise, re-list will be delayed as -// long as possible (until the upstream source closes the watch or times out, -// or you stop the controller). -// * h is the object you want notifications sent to. -// * indexers is the indexer for the received object type. -// +// - lw is list and watch functions for the source of the resource you want to +// be informed of. +// - objType is an object of the type that you expect to receive. +// - resyncPeriod: if non-zero, will re-list this often (you will get OnUpdate +// calls, even if nothing changed). Otherwise, re-list will be delayed as +// long as possible (until the upstream source closes the watch or times out, +// or you stop the controller). +// - h is the object you want notifications sent to. +// - indexers is the indexer for the received object type. func NewIndexerInformer( lw ListerWatcher, objType runtime.Object, @@ -454,16 +452,15 @@ func processDeltas( // providing event notifications. // // Parameters -// * lw is list and watch functions for the source of the resource you want to -// be informed of. -// * objType is an object of the type that you expect to receive. -// * resyncPeriod: if non-zero, will re-list this often (you will get OnUpdate -// calls, even if nothing changed). Otherwise, re-list will be delayed as -// long as possible (until the upstream source closes the watch or times out, -// or you stop the controller). -// * h is the object you want notifications sent to. -// * clientState is the store you want to populate -// +// - lw is list and watch functions for the source of the resource you want to +// be informed of. +// - objType is an object of the type that you expect to receive. +// - resyncPeriod: if non-zero, will re-list this often (you will get OnUpdate +// calls, even if nothing changed). Otherwise, re-list will be delayed as +// long as possible (until the upstream source closes the watch or times out, +// or you stop the controller). +// - h is the object you want notifications sent to. +// - clientState is the store you want to populate func newInformer( lw ListerWatcher, objType runtime.Object, diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/delta_fifo.go b/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/delta_fifo.go index 2da2933ab748..0c13a41f065b 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/delta_fifo.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/delta_fifo.go @@ -74,11 +74,11 @@ type DeltaFIFOOptions struct { // the Pop() method. // // DeltaFIFO solves this use case: -// * You want to process every object change (delta) at most once. -// * When you process an object, you want to see everything -// that's happened to it since you last processed it. -// * You want to process the deletion of some of the objects. -// * You might want to periodically reprocess objects. +// - You want to process every object change (delta) at most once. +// - When you process an object, you want to see everything +// that's happened to it since you last processed it. +// - You want to process the deletion of some of the objects. +// - You might want to periodically reprocess objects. // // DeltaFIFO's Pop(), Get(), and GetByKey() methods return // interface{} to satisfy the Store/Queue interfaces, but they @@ -179,21 +179,21 @@ type Deltas []Delta // "known" keys when Pop() is called. Have to think about how that // affects error retrying. // -// NOTE: It is possible to misuse this and cause a race when using an -// external known object source. -// Whether there is a potential race depends on how the consumer -// modifies knownObjects. In Pop(), process function is called under -// lock, so it is safe to update data structures in it that need to be -// in sync with the queue (e.g. knownObjects). +// NOTE: It is possible to misuse this and cause a race when using an +// external known object source. +// Whether there is a potential race depends on how the consumer +// modifies knownObjects. In Pop(), process function is called under +// lock, so it is safe to update data structures in it that need to be +// in sync with the queue (e.g. knownObjects). // -// Example: -// In case of sharedIndexInformer being a consumer -// (https://github.com/kubernetes/kubernetes/blob/0cdd940f/staging/src/k8s.io/client-go/tools/cache/shared_informer.go#L192), -// there is no race as knownObjects (s.indexer) is modified safely -// under DeltaFIFO's lock. The only exceptions are GetStore() and -// GetIndexer() methods, which expose ways to modify the underlying -// storage. Currently these two methods are used for creating Lister -// and internal tests. +// Example: +// In case of sharedIndexInformer being a consumer +// (https://github.com/kubernetes/kubernetes/blob/0cdd940f/staging/src/k8s.io/client-go/tools/cache/shared_informer.go#L192), +// there is no race as knownObjects (s.indexer) is modified safely +// under DeltaFIFO's lock. The only exceptions are GetStore() and +// GetIndexer() methods, which expose ways to modify the underlying +// storage. Currently these two methods are used for creating Lister +// and internal tests. // // Also see the comment on DeltaFIFO. // diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/expiration_cache.go b/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/expiration_cache.go index 7abdae73742a..3f272b80b144 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/expiration_cache.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/expiration_cache.go @@ -25,13 +25,14 @@ import ( ) // ExpirationCache implements the store interface -// 1. All entries are automatically time stamped on insert -// a. The key is computed based off the original item/keyFunc -// b. The value inserted under that key is the timestamped item -// 2. Expiration happens lazily on read based on the expiration policy -// a. No item can be inserted into the store while we're expiring -// *any* item in the cache. -// 3. Time-stamps are stripped off unexpired entries before return +// 1. All entries are automatically time stamped on insert +// a. The key is computed based off the original item/keyFunc +// b. The value inserted under that key is the timestamped item +// 2. Expiration happens lazily on read based on the expiration policy +// a. No item can be inserted into the store while we're expiring +// *any* item in the cache. +// 3. Time-stamps are stripped off unexpired entries before return +// // Note that the ExpirationCache is inherently slower than a normal // threadSafeStore because it takes a write lock every time it checks if // an item has expired. diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/fifo.go b/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/fifo.go index 5c9255027a07..8f3313783d59 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/fifo.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/fifo.go @@ -103,10 +103,11 @@ func Pop(queue Queue) interface{} { // recent version will be processed. This can't be done with a channel // // FIFO solves this use case: -// * You want to process every object (exactly) once. -// * You want to process the most recent version of the object when you process it. -// * You do not want to process deleted objects, they should be removed from the queue. -// * You do not want to periodically reprocess objects. +// - You want to process every object (exactly) once. +// - You want to process the most recent version of the object when you process it. +// - You do not want to process deleted objects, they should be removed from the queue. +// - You do not want to periodically reprocess objects. +// // Compare with DeltaFIFO for other use cases. type FIFO struct { lock sync.RWMutex diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/index.go b/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/index.go index c6af49d8c3ab..b78d3086b8c4 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/index.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/index.go @@ -28,10 +28,10 @@ import ( // Delete). // // There are three kinds of strings here: -// 1. a storage key, as defined in the Store interface, -// 2. a name of an index, and -// 3. an "indexed value", which is produced by an IndexFunc and -// can be a field value or any other string computed from the object. +// 1. a storage key, as defined in the Store interface, +// 2. a name of an index, and +// 3. an "indexed value", which is produced by an IndexFunc and +// can be a field value or any other string computed from the object. type Indexer interface { Store // Index returns the stored objects whose set of indexed values diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/reflector.go b/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/reflector.go index 7274d7272c47..9cd476be8a00 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/reflector.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/reflector.go @@ -71,6 +71,8 @@ type Reflector struct { backoffManager wait.BackoffManager // initConnBackoffManager manages backoff the initial connection with the Watch call of ListAndWatch. initConnBackoffManager wait.BackoffManager + // MaxInternalErrorRetryDuration defines how long we should retry internal errors returned by watch. + MaxInternalErrorRetryDuration time.Duration resyncPeriod time.Duration // ShouldResync is invoked periodically and whenever it returns `true` the Store's Resync operation is invoked @@ -253,112 +255,9 @@ func (r *Reflector) resyncChan() (<-chan time.Time, func() bool) { // It returns error if ListAndWatch didn't even try to initialize watch. func (r *Reflector) ListAndWatch(stopCh <-chan struct{}) error { klog.V(3).Infof("Listing and watching %v from %s", r.expectedTypeName, r.name) - var resourceVersion string - - options := metav1.ListOptions{ResourceVersion: r.relistResourceVersion()} - - if err := func() error { - initTrace := trace.New("Reflector ListAndWatch", trace.Field{Key: "name", Value: r.name}) - defer initTrace.LogIfLong(10 * time.Second) - var list runtime.Object - var paginatedResult bool - var err error - listCh := make(chan struct{}, 1) - panicCh := make(chan interface{}, 1) - go func() { - defer func() { - if r := recover(); r != nil { - panicCh <- r - } - }() - // Attempt to gather list in chunks, if supported by listerWatcher, if not, the first - // list request will return the full response. - pager := pager.New(pager.SimplePageFunc(func(opts metav1.ListOptions) (runtime.Object, error) { - return r.listerWatcher.List(opts) - })) - switch { - case r.WatchListPageSize != 0: - pager.PageSize = r.WatchListPageSize - case r.paginatedResult: - // We got a paginated result initially. Assume this resource and server honor - // paging requests (i.e. watch cache is probably disabled) and leave the default - // pager size set. - case options.ResourceVersion != "" && options.ResourceVersion != "0": - // User didn't explicitly request pagination. - // - // With ResourceVersion != "", we have a possibility to list from watch cache, - // but we do that (for ResourceVersion != "0") only if Limit is unset. - // To avoid thundering herd on etcd (e.g. on master upgrades), we explicitly - // switch off pagination to force listing from watch cache (if enabled). - // With the existing semantic of RV (result is at least as fresh as provided RV), - // this is correct and doesn't lead to going back in time. - // - // We also don't turn off pagination for ResourceVersion="0", since watch cache - // is ignoring Limit in that case anyway, and if watch cache is not enabled - // we don't introduce regression. - pager.PageSize = 0 - } - - list, paginatedResult, err = pager.List(context.Background(), options) - if isExpiredError(err) || isTooLargeResourceVersionError(err) { - r.setIsLastSyncResourceVersionUnavailable(true) - // Retry immediately if the resource version used to list is unavailable. - // The pager already falls back to full list if paginated list calls fail due to an "Expired" error on - // continuation pages, but the pager might not be enabled, the full list might fail because the - // resource version it is listing at is expired or the cache may not yet be synced to the provided - // resource version. So we need to fallback to resourceVersion="" in all to recover and ensure - // the reflector makes forward progress. - list, paginatedResult, err = pager.List(context.Background(), metav1.ListOptions{ResourceVersion: r.relistResourceVersion()}) - } - close(listCh) - }() - select { - case <-stopCh: - return nil - case r := <-panicCh: - panic(r) - case <-listCh: - } - initTrace.Step("Objects listed", trace.Field{Key: "error", Value: err}) - if err != nil { - klog.Warningf("%s: failed to list %v: %v", r.name, r.expectedTypeName, err) - return fmt.Errorf("failed to list %v: %w", r.expectedTypeName, err) - } - // We check if the list was paginated and if so set the paginatedResult based on that. - // However, we want to do that only for the initial list (which is the only case - // when we set ResourceVersion="0"). The reasoning behind it is that later, in some - // situations we may force listing directly from etcd (by setting ResourceVersion="") - // which will return paginated result, even if watch cache is enabled. However, in - // that case, we still want to prefer sending requests to watch cache if possible. - // - // Paginated result returned for request with ResourceVersion="0" mean that watch - // cache is disabled and there are a lot of objects of a given type. In such case, - // there is no need to prefer listing from watch cache. - if options.ResourceVersion == "0" && paginatedResult { - r.paginatedResult = true - } - - r.setIsLastSyncResourceVersionUnavailable(false) // list was successful - listMetaInterface, err := meta.ListAccessor(list) - if err != nil { - return fmt.Errorf("unable to understand list result %#v: %v", list, err) - } - resourceVersion = listMetaInterface.GetResourceVersion() - initTrace.Step("Resource version extracted") - items, err := meta.ExtractList(list) - if err != nil { - return fmt.Errorf("unable to understand list result %#v (%v)", list, err) - } - initTrace.Step("Objects extracted") - if err := r.syncWith(items, resourceVersion); err != nil { - return fmt.Errorf("unable to sync list result: %v", err) - } - initTrace.Step("SyncWith done") - r.setLastSyncResourceVersion(resourceVersion) - initTrace.Step("Resource version updated") - return nil - }(); err != nil { + err := r.list(stopCh) + if err != nil { return err } @@ -390,6 +289,7 @@ func (r *Reflector) ListAndWatch(stopCh <-chan struct{}) error { } }() + retry := NewRetryWithDeadline(r.MaxInternalErrorRetryDuration, time.Minute, apierrors.IsInternalError, r.clock) for { // give the stopCh a chance to stop the loop, even in case of continue statements further down on errors select { @@ -399,8 +299,8 @@ func (r *Reflector) ListAndWatch(stopCh <-chan struct{}) error { } timeoutSeconds := int64(minWatchTimeout.Seconds() * (rand.Float64() + 1.0)) - options = metav1.ListOptions{ - ResourceVersion: resourceVersion, + options := metav1.ListOptions{ + ResourceVersion: r.LastSyncResourceVersion(), // We want to avoid situations of hanging watchers. Stop any watchers that do not // receive any events within the timeout window. TimeoutSeconds: &timeoutSeconds, @@ -426,7 +326,9 @@ func (r *Reflector) ListAndWatch(stopCh <-chan struct{}) error { return err } - if err := r.watchHandler(start, w, &resourceVersion, resyncerrc, stopCh); err != nil { + err = watchHandler(start, w, r.store, r.expectedType, r.expectedGVK, r.name, r.expectedTypeName, r.setLastSyncResourceVersion, r.clock, resyncerrc, stopCh) + retry.After(err) + if err != nil { if err != errorStopRequested { switch { case isExpiredError(err): @@ -438,6 +340,9 @@ func (r *Reflector) ListAndWatch(stopCh <-chan struct{}) error { klog.V(2).Infof("%s: watch of %v returned 429 - backing off", r.name, r.expectedTypeName) <-r.initConnBackoffManager.Backoff().C() continue + case apierrors.IsInternalError(err) && retry.ShouldRetry(): + klog.V(2).Infof("%s: retrying watch of %v internal error: %v", r.name, r.expectedTypeName, err) + continue default: klog.Warningf("%s: watch of %v ended with: %v", r.name, r.expectedTypeName, err) } @@ -447,6 +352,114 @@ func (r *Reflector) ListAndWatch(stopCh <-chan struct{}) error { } } +// list simply lists all items and records a resource version obtained from the server at the moment of the call. +// the resource version can be used for further progress notification (aka. watch). +func (r *Reflector) list(stopCh <-chan struct{}) error { + var resourceVersion string + options := metav1.ListOptions{ResourceVersion: r.relistResourceVersion()} + + initTrace := trace.New("Reflector ListAndWatch", trace.Field{Key: "name", Value: r.name}) + defer initTrace.LogIfLong(10 * time.Second) + var list runtime.Object + var paginatedResult bool + var err error + listCh := make(chan struct{}, 1) + panicCh := make(chan interface{}, 1) + go func() { + defer func() { + if r := recover(); r != nil { + panicCh <- r + } + }() + // Attempt to gather list in chunks, if supported by listerWatcher, if not, the first + // list request will return the full response. + pager := pager.New(pager.SimplePageFunc(func(opts metav1.ListOptions) (runtime.Object, error) { + return r.listerWatcher.List(opts) + })) + switch { + case r.WatchListPageSize != 0: + pager.PageSize = r.WatchListPageSize + case r.paginatedResult: + // We got a paginated result initially. Assume this resource and server honor + // paging requests (i.e. watch cache is probably disabled) and leave the default + // pager size set. + case options.ResourceVersion != "" && options.ResourceVersion != "0": + // User didn't explicitly request pagination. + // + // With ResourceVersion != "", we have a possibility to list from watch cache, + // but we do that (for ResourceVersion != "0") only if Limit is unset. + // To avoid thundering herd on etcd (e.g. on master upgrades), we explicitly + // switch off pagination to force listing from watch cache (if enabled). + // With the existing semantic of RV (result is at least as fresh as provided RV), + // this is correct and doesn't lead to going back in time. + // + // We also don't turn off pagination for ResourceVersion="0", since watch cache + // is ignoring Limit in that case anyway, and if watch cache is not enabled + // we don't introduce regression. + pager.PageSize = 0 + } + + list, paginatedResult, err = pager.List(context.Background(), options) + if isExpiredError(err) || isTooLargeResourceVersionError(err) { + r.setIsLastSyncResourceVersionUnavailable(true) + // Retry immediately if the resource version used to list is unavailable. + // The pager already falls back to full list if paginated list calls fail due to an "Expired" error on + // continuation pages, but the pager might not be enabled, the full list might fail because the + // resource version it is listing at is expired or the cache may not yet be synced to the provided + // resource version. So we need to fallback to resourceVersion="" in all to recover and ensure + // the reflector makes forward progress. + list, paginatedResult, err = pager.List(context.Background(), metav1.ListOptions{ResourceVersion: r.relistResourceVersion()}) + } + close(listCh) + }() + select { + case <-stopCh: + return nil + case r := <-panicCh: + panic(r) + case <-listCh: + } + initTrace.Step("Objects listed", trace.Field{Key: "error", Value: err}) + if err != nil { + klog.Warningf("%s: failed to list %v: %v", r.name, r.expectedTypeName, err) + return fmt.Errorf("failed to list %v: %w", r.expectedTypeName, err) + } + + // We check if the list was paginated and if so set the paginatedResult based on that. + // However, we want to do that only for the initial list (which is the only case + // when we set ResourceVersion="0"). The reasoning behind it is that later, in some + // situations we may force listing directly from etcd (by setting ResourceVersion="") + // which will return paginated result, even if watch cache is enabled. However, in + // that case, we still want to prefer sending requests to watch cache if possible. + // + // Paginated result returned for request with ResourceVersion="0" mean that watch + // cache is disabled and there are a lot of objects of a given type. In such case, + // there is no need to prefer listing from watch cache. + if options.ResourceVersion == "0" && paginatedResult { + r.paginatedResult = true + } + + r.setIsLastSyncResourceVersionUnavailable(false) // list was successful + listMetaInterface, err := meta.ListAccessor(list) + if err != nil { + return fmt.Errorf("unable to understand list result %#v: %v", list, err) + } + resourceVersion = listMetaInterface.GetResourceVersion() + initTrace.Step("Resource version extracted") + items, err := meta.ExtractList(list) + if err != nil { + return fmt.Errorf("unable to understand list result %#v (%v)", list, err) + } + initTrace.Step("Objects extracted") + if err := r.syncWith(items, resourceVersion); err != nil { + return fmt.Errorf("unable to sync list result: %v", err) + } + initTrace.Step("SyncWith done") + r.setLastSyncResourceVersion(resourceVersion) + initTrace.Step("Resource version updated") + return nil +} + // syncWith replaces the store's items with the given list. func (r *Reflector) syncWith(items []runtime.Object, resourceVersion string) error { found := make([]interface{}, 0, len(items)) @@ -456,8 +469,19 @@ func (r *Reflector) syncWith(items []runtime.Object, resourceVersion string) err return r.store.Replace(found, resourceVersion) } -// watchHandler watches w and keeps *resourceVersion up to date. -func (r *Reflector) watchHandler(start time.Time, w watch.Interface, resourceVersion *string, errc chan error, stopCh <-chan struct{}) error { +// watchHandler watches w and sets setLastSyncResourceVersion +func watchHandler(start time.Time, + w watch.Interface, + store Store, + expectedType reflect.Type, + expectedGVK *schema.GroupVersionKind, + name string, + expectedTypeName string, + setLastSyncResourceVersion func(string), + clock clock.Clock, + errc chan error, + stopCh <-chan struct{}, +) error { eventCount := 0 // Stopping the watcher should be idempotent and if we return from this function there's no way @@ -478,62 +502,61 @@ loop: if event.Type == watch.Error { return apierrors.FromObject(event.Object) } - if r.expectedType != nil { - if e, a := r.expectedType, reflect.TypeOf(event.Object); e != a { - utilruntime.HandleError(fmt.Errorf("%s: expected type %v, but watch event object had type %v", r.name, e, a)) + if expectedType != nil { + if e, a := expectedType, reflect.TypeOf(event.Object); e != a { + utilruntime.HandleError(fmt.Errorf("%s: expected type %v, but watch event object had type %v", name, e, a)) continue } } - if r.expectedGVK != nil { - if e, a := *r.expectedGVK, event.Object.GetObjectKind().GroupVersionKind(); e != a { - utilruntime.HandleError(fmt.Errorf("%s: expected gvk %v, but watch event object had gvk %v", r.name, e, a)) + if expectedGVK != nil { + if e, a := *expectedGVK, event.Object.GetObjectKind().GroupVersionKind(); e != a { + utilruntime.HandleError(fmt.Errorf("%s: expected gvk %v, but watch event object had gvk %v", name, e, a)) continue } } meta, err := meta.Accessor(event.Object) if err != nil { - utilruntime.HandleError(fmt.Errorf("%s: unable to understand watch event %#v", r.name, event)) + utilruntime.HandleError(fmt.Errorf("%s: unable to understand watch event %#v", name, event)) continue } - newResourceVersion := meta.GetResourceVersion() + resourceVersion := meta.GetResourceVersion() switch event.Type { case watch.Added: - err := r.store.Add(event.Object) + err := store.Add(event.Object) if err != nil { - utilruntime.HandleError(fmt.Errorf("%s: unable to add watch event object (%#v) to store: %v", r.name, event.Object, err)) + utilruntime.HandleError(fmt.Errorf("%s: unable to add watch event object (%#v) to store: %v", name, event.Object, err)) } case watch.Modified: - err := r.store.Update(event.Object) + err := store.Update(event.Object) if err != nil { - utilruntime.HandleError(fmt.Errorf("%s: unable to update watch event object (%#v) to store: %v", r.name, event.Object, err)) + utilruntime.HandleError(fmt.Errorf("%s: unable to update watch event object (%#v) to store: %v", name, event.Object, err)) } case watch.Deleted: // TODO: Will any consumers need access to the "last known // state", which is passed in event.Object? If so, may need // to change this. - err := r.store.Delete(event.Object) + err := store.Delete(event.Object) if err != nil { - utilruntime.HandleError(fmt.Errorf("%s: unable to delete watch event object (%#v) from store: %v", r.name, event.Object, err)) + utilruntime.HandleError(fmt.Errorf("%s: unable to delete watch event object (%#v) from store: %v", name, event.Object, err)) } case watch.Bookmark: // A `Bookmark` means watch has synced here, just update the resourceVersion default: - utilruntime.HandleError(fmt.Errorf("%s: unable to understand watch event %#v", r.name, event)) + utilruntime.HandleError(fmt.Errorf("%s: unable to understand watch event %#v", name, event)) } - *resourceVersion = newResourceVersion - r.setLastSyncResourceVersion(newResourceVersion) - if rvu, ok := r.store.(ResourceVersionUpdater); ok { - rvu.UpdateResourceVersion(newResourceVersion) + setLastSyncResourceVersion(resourceVersion) + if rvu, ok := store.(ResourceVersionUpdater); ok { + rvu.UpdateResourceVersion(resourceVersion) } eventCount++ } } - watchDuration := r.clock.Since(start) + watchDuration := clock.Since(start) if watchDuration < 1*time.Second && eventCount == 0 { - return fmt.Errorf("very short watch: %s: Unexpected watch close - watch lasted less than a second and no items received", r.name) + return fmt.Errorf("very short watch: %s: Unexpected watch close - watch lasted less than a second and no items received", name) } - klog.V(4).Infof("%s: Watch close - %v total %v items received", r.name, r.expectedTypeName, eventCount) + klog.V(4).Infof("%s: Watch close - %v total %v items received", name, expectedTypeName, eventCount) return nil } diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/retry_with_deadline.go b/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/retry_with_deadline.go new file mode 100644 index 000000000000..8201fb1532a8 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/client-go/tools/cache/retry_with_deadline.go @@ -0,0 +1,78 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package cache + +import ( + "k8s.io/utils/clock" + "time" +) + +type RetryWithDeadline interface { + After(error) + ShouldRetry() bool +} + +type retryWithDeadlineImpl struct { + firstErrorTime time.Time + lastErrorTime time.Time + maxRetryDuration time.Duration + minResetPeriod time.Duration + isRetryable func(error) bool + clock clock.Clock +} + +func NewRetryWithDeadline(maxRetryDuration, minResetPeriod time.Duration, isRetryable func(error) bool, clock clock.Clock) RetryWithDeadline { + return &retryWithDeadlineImpl{ + firstErrorTime: time.Time{}, + lastErrorTime: time.Time{}, + maxRetryDuration: maxRetryDuration, + minResetPeriod: minResetPeriod, + isRetryable: isRetryable, + clock: clock, + } +} + +func (r *retryWithDeadlineImpl) reset() { + r.firstErrorTime = time.Time{} + r.lastErrorTime = time.Time{} +} + +func (r *retryWithDeadlineImpl) After(err error) { + if r.isRetryable(err) { + if r.clock.Now().Sub(r.lastErrorTime) >= r.minResetPeriod { + r.reset() + } + + if r.firstErrorTime.IsZero() { + r.firstErrorTime = r.clock.Now() + } + r.lastErrorTime = r.clock.Now() + } +} + +func (r *retryWithDeadlineImpl) ShouldRetry() bool { + if r.maxRetryDuration <= time.Duration(0) { + return false + } + + if r.clock.Now().Sub(r.firstErrorTime) <= r.maxRetryDuration { + return true + } + + r.reset() + return false +} diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/tools/clientcmd/auth_loaders.go b/cluster-autoscaler/vendor/k8s.io/client-go/tools/clientcmd/auth_loaders.go index 0e41277628a5..5153a95a2a31 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/tools/clientcmd/auth_loaders.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/tools/clientcmd/auth_loaders.go @@ -51,10 +51,10 @@ func (a *PromptingAuthLoader) LoadAuth(path string) (*clientauth.Info, error) { // Prompt for user/pass and write a file if none exists. if _, err := os.Stat(path); os.IsNotExist(err) { authPtr, err := a.Prompt() - auth := *authPtr if err != nil { return nil, err } + auth := *authPtr data, err := json.Marshal(auth) if err != nil { return &auth, err diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/tools/clientcmd/loader.go b/cluster-autoscaler/vendor/k8s.io/client-go/tools/clientcmd/loader.go index 78bd9ed8d5c0..4e301332d648 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/tools/clientcmd/loader.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/tools/clientcmd/loader.go @@ -160,8 +160,10 @@ func NewDefaultClientConfigLoadingRules() *ClientConfigLoadingRules { // Load starts by running the MigrationRules and then // takes the loading rules and returns a Config object based on following rules. -// if the ExplicitPath, return the unmerged explicit file -// Otherwise, return a merged config based on the Precedence slice +// +// if the ExplicitPath, return the unmerged explicit file +// Otherwise, return a merged config based on the Precedence slice +// // A missing ExplicitPath file produces an error. Empty filenames or other missing files are ignored. // Read errors or files with non-deserializable content produce errors. // The first file to set a particular map key wins and map key's value is never changed. diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/tools/leaderelection/leaderelection.go b/cluster-autoscaler/vendor/k8s.io/client-go/tools/leaderelection/leaderelection.go index 03a13e6b63f3..c64ba9b26b0f 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/tools/leaderelection/leaderelection.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/tools/leaderelection/leaderelection.go @@ -161,7 +161,7 @@ type LeaderElectionConfig struct { // lifecycle events of the LeaderElector. These are invoked asynchronously. // // possible future callbacks: -// * OnChallenge() +// - OnChallenge() type LeaderCallbacks struct { // OnStartedLeading is called when a LeaderElector client starts leading OnStartedLeading func(context.Context) diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/tools/record/events_cache.go b/cluster-autoscaler/vendor/k8s.io/client-go/tools/record/events_cache.go index 4f041e8fd26b..abba06362aa2 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/tools/record/events_cache.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/tools/record/events_cache.go @@ -235,10 +235,10 @@ type aggregateRecord struct { // EventAggregate checks if a similar event has been seen according to the // aggregation configuration (max events, max interval, etc) and returns: // -// - The (potentially modified) event that should be created -// - The cache key for the event, for correlation purposes. This will be set to -// the full key for normal events, and to the result of -// EventAggregatorMessageFunc for aggregate events. +// - The (potentially modified) event that should be created +// - The cache key for the event, for correlation purposes. This will be set to +// the full key for normal events, and to the result of +// EventAggregatorMessageFunc for aggregate events. func (e *EventAggregator) EventAggregate(newEvent *v1.Event) (*v1.Event, string) { now := metav1.NewTime(e.clock.Now()) var record aggregateRecord @@ -427,14 +427,14 @@ type EventCorrelateResult struct { // prior to interacting with the API server to record the event. // // The default behavior is as follows: -// * Aggregation is performed if a similar event is recorded 10 times +// - Aggregation is performed if a similar event is recorded 10 times // in a 10 minute rolling interval. A similar event is an event that varies only by // the Event.Message field. Rather than recording the precise event, aggregation // will create a new event whose message reports that it has combined events with // the same reason. -// * Events are incrementally counted if the exact same event is encountered multiple +// - Events are incrementally counted if the exact same event is encountered multiple // times. -// * A source may burst 25 events about an object, but has a refill rate budget +// - A source may burst 25 events about an object, but has a refill rate budget // per object of 1 event every 5 minutes to control long-tail of spam. func NewEventCorrelator(clock clock.PassiveClock) *EventCorrelator { cacheSize := maxLruCacheEntries diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/tools/watch/until.go b/cluster-autoscaler/vendor/k8s.io/client-go/tools/watch/until.go index bf74837d3626..81d4ff0ddff1 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/tools/watch/until.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/tools/watch/until.go @@ -101,7 +101,9 @@ func UntilWithoutRetry(ctx context.Context, watcher watch.Interface, conditions // It guarantees you to see all events and in the order they happened. // Due to this guarantee there is no way it can deal with 'Resource version too old error'. It will fail in this case. // (See `UntilWithSync` if you'd prefer to recover from all the errors including RV too old by re-listing -// those items. In normal code you should care about being level driven so you'd not care about not seeing all the edges.) +// +// those items. In normal code you should care about being level driven so you'd not care about not seeing all the edges.) +// // The most frequent usage for Until would be a test where you want to verify exact order of events ("edges"). func Until(ctx context.Context, initialResourceVersion string, watcherClient cache.Watcher, conditions ...ConditionFunc) (*watch.Event, error) { w, err := NewRetryWatcher(initialResourceVersion, watcherClient) diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/transport/cache.go b/cluster-autoscaler/vendor/k8s.io/client-go/transport/cache.go index 5fe768ed5ec9..214f0a79cf0b 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/transport/cache.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/transport/cache.go @@ -36,6 +36,11 @@ type tlsTransportCache struct { transports map[tlsCacheKey]*http.Transport } +// DialerStopCh is stop channel that is passed down to dynamic cert dialer. +// It's exposed as variable for testing purposes to avoid testing for goroutine +// leakages. +var DialerStopCh = wait.NeverStop + const idleConnsPerHost = 25 var tlsCache = &tlsTransportCache{transports: make(map[tlsCacheKey]*http.Transport)} @@ -101,7 +106,7 @@ func (c *tlsTransportCache) get(config *Config) (http.RoundTripper, error) { dynamicCertDialer := certRotatingDialer(tlsConfig.GetClientCertificate, dial) tlsConfig.GetClientCertificate = dynamicCertDialer.GetClientCertificate dial = dynamicCertDialer.connDialer.DialContext - go dynamicCertDialer.Run(wait.NeverStop) + go dynamicCertDialer.Run(DialerStopCh) } proxy := http.ProxyFromEnvironment diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/transport/round_trippers.go b/cluster-autoscaler/vendor/k8s.io/client-go/transport/round_trippers.go index 26a89f93be42..e2d1dcc9a9c0 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/transport/round_trippers.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/transport/round_trippers.go @@ -491,7 +491,7 @@ func (rt *debuggingRoundTripper) RoundTrip(req *http.Request) (*http.Response, e DNSDone: func(info httptrace.DNSDoneInfo) { reqInfo.muTrace.Lock() defer reqInfo.muTrace.Unlock() - reqInfo.DNSLookup = time.Now().Sub(dnsStart) + reqInfo.DNSLookup = time.Since(dnsStart) klog.Infof("HTTP Trace: DNS Lookup for %s resolved to %v", host, info.Addrs) }, // Dial @@ -503,7 +503,7 @@ func (rt *debuggingRoundTripper) RoundTrip(req *http.Request) (*http.Response, e ConnectDone: func(network, addr string, err error) { reqInfo.muTrace.Lock() defer reqInfo.muTrace.Unlock() - reqInfo.Dialing = time.Now().Sub(dialStart) + reqInfo.Dialing = time.Since(dialStart) if err != nil { klog.Infof("HTTP Trace: Dial to %s:%s failed: %v", network, addr, err) } else { @@ -517,7 +517,7 @@ func (rt *debuggingRoundTripper) RoundTrip(req *http.Request) (*http.Response, e TLSHandshakeDone: func(_ tls.ConnectionState, _ error) { reqInfo.muTrace.Lock() defer reqInfo.muTrace.Unlock() - reqInfo.TLSHandshake = time.Now().Sub(tlsStart) + reqInfo.TLSHandshake = time.Since(tlsStart) }, // Connection (it can be DNS + Dial or just the time to get one from the connection pool) GetConn: func(hostPort string) { @@ -526,7 +526,7 @@ func (rt *debuggingRoundTripper) RoundTrip(req *http.Request) (*http.Response, e GotConn: func(info httptrace.GotConnInfo) { reqInfo.muTrace.Lock() defer reqInfo.muTrace.Unlock() - reqInfo.GetConnection = time.Now().Sub(getConn) + reqInfo.GetConnection = time.Since(getConn) reqInfo.ConnectionReused = info.Reused }, // Server Processing (time since we wrote the request until first byte is received) @@ -538,7 +538,7 @@ func (rt *debuggingRoundTripper) RoundTrip(req *http.Request) (*http.Response, e GotFirstResponseByte: func() { reqInfo.muTrace.Lock() defer reqInfo.muTrace.Unlock() - reqInfo.ServerProcessing = time.Now().Sub(serverStart) + reqInfo.ServerProcessing = time.Since(serverStart) }, } req = req.WithContext(httptrace.WithClientTrace(req.Context(), trace)) diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/util/certificate/csr/csr.go b/cluster-autoscaler/vendor/k8s.io/client-go/util/certificate/csr/csr.go index 0017007a2d21..0390d1c02fa2 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/util/certificate/csr/csr.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/util/certificate/csr/csr.go @@ -27,7 +27,6 @@ import ( certificatesv1 "k8s.io/api/certificates/v1" certificatesv1beta1 "k8s.io/api/certificates/v1beta1" - "k8s.io/apimachinery/pkg/api/errors" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/fields" @@ -73,7 +72,7 @@ func RequestCertificate(client clientset.Interface, csrData []byte, name, signer case err == nil: return reqName, reqUID, err - case errors.IsAlreadyExists(err) && len(name) > 0: + case apierrors.IsAlreadyExists(err) && len(name) > 0: klog.Infof("csr for this node already exists, reusing") req, err := get(client, name) if err != nil { @@ -346,8 +345,8 @@ func ensureCompatible(new, orig *certificatesv1.CertificateSigningRequest, priva // formatError preserves the type of an API message but alters the message. Expects // a single argument format string, and returns the wrapped error. func formatError(format string, err error) error { - if s, ok := err.(errors.APIStatus); ok { - se := &errors.StatusError{ErrStatus: s.Status()} + if s, ok := err.(apierrors.APIStatus); ok { + se := &apierrors.StatusError{ErrStatus: s.Status()} se.ErrStatus.Message = fmt.Sprintf(format, se.ErrStatus.Message) return se } diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/util/retry/util.go b/cluster-autoscaler/vendor/k8s.io/client-go/util/retry/util.go index 772f5bd7a777..0c6e504a6dcd 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/util/retry/util.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/util/retry/util.go @@ -74,30 +74,30 @@ func OnError(backoff wait.Backoff, retriable func(error) bool, fn func() error) // backoff, and then try again. On a non-"Conflict" error, or if it retries too many times // and gives up, RetryOnConflict will return an error to the caller. // -// err := retry.RetryOnConflict(retry.DefaultRetry, func() error { -// // Fetch the resource here; you need to refetch it on every try, since -// // if you got a conflict on the last update attempt then you need to get -// // the current version before making your own changes. -// pod, err := c.Pods("mynamespace").Get(name, metav1.GetOptions{}) -// if err != nil { -// return err -// } +// err := retry.RetryOnConflict(retry.DefaultRetry, func() error { +// // Fetch the resource here; you need to refetch it on every try, since +// // if you got a conflict on the last update attempt then you need to get +// // the current version before making your own changes. +// pod, err := c.Pods("mynamespace").Get(name, metav1.GetOptions{}) +// if err != nil { +// return err +// } // -// // Make whatever updates to the resource are needed -// pod.Status.Phase = v1.PodFailed +// // Make whatever updates to the resource are needed +// pod.Status.Phase = v1.PodFailed // -// // Try to update -// _, err = c.Pods("mynamespace").UpdateStatus(pod) -// // You have to return err itself here (not wrapped inside another error) -// // so that RetryOnConflict can identify it correctly. -// return err -// }) -// if err != nil { -// // May be conflict if max retries were hit, or may be something unrelated -// // like permissions or a network error -// return err -// } -// ... +// // Try to update +// _, err = c.Pods("mynamespace").UpdateStatus(pod) +// // You have to return err itself here (not wrapped inside another error) +// // so that RetryOnConflict can identify it correctly. +// return err +// }) +// if err != nil { +// // May be conflict if max retries were hit, or may be something unrelated +// // like permissions or a network error +// return err +// } +// ... // // TODO: Make Backoff an interface? func RetryOnConflict(backoff wait.Backoff, fn func() error) error { diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/util/workqueue/doc.go b/cluster-autoscaler/vendor/k8s.io/client-go/util/workqueue/doc.go index a5c976e0f9ca..8555aa95fe18 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/util/workqueue/doc.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/util/workqueue/doc.go @@ -16,11 +16,11 @@ limitations under the License. // Package workqueue provides a simple queue that supports the following // features: -// * Fair: items processed in the order in which they are added. -// * Stingy: a single item will not be processed multiple times concurrently, -// and if an item is added multiple times before it can be processed, it -// will only be processed once. -// * Multiple consumers and producers. In particular, it is allowed for an -// item to be reenqueued while it is being processed. -// * Shutdown notifications. +// - Fair: items processed in the order in which they are added. +// - Stingy: a single item will not be processed multiple times concurrently, +// and if an item is added multiple times before it can be processed, it +// will only be processed once. +// - Multiple consumers and producers. In particular, it is allowed for an +// item to be reenqueued while it is being processed. +// - Shutdown notifications. package workqueue // import "k8s.io/client-go/util/workqueue" diff --git a/cluster-autoscaler/vendor/k8s.io/client-go/util/workqueue/rate_limiting_queue.go b/cluster-autoscaler/vendor/k8s.io/client-go/util/workqueue/rate_limiting_queue.go index 267f4ff40843..91cd33f193ba 100644 --- a/cluster-autoscaler/vendor/k8s.io/client-go/util/workqueue/rate_limiting_queue.go +++ b/cluster-autoscaler/vendor/k8s.io/client-go/util/workqueue/rate_limiting_queue.go @@ -50,6 +50,13 @@ func NewNamedRateLimitingQueue(rateLimiter RateLimiter, name string) RateLimitin } } +func NewRateLimitingQueueWithDelayingInterface(di DelayingInterface, rateLimiter RateLimiter) RateLimitingInterface { + return &rateLimitingType{ + DelayingInterface: di, + rateLimiter: rateLimiter, + } +} + // rateLimitingType wraps an Interface and provides rateLimited re-enquing type rateLimitingType struct { DelayingInterface diff --git a/cluster-autoscaler/vendor/k8s.io/cloud-provider/go.mod b/cluster-autoscaler/vendor/k8s.io/cloud-provider/go.mod deleted file mode 100644 index 6b37aef7742c..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/cloud-provider/go.mod +++ /dev/null @@ -1,114 +0,0 @@ -// This is a generated file. Do not edit directly. - -module k8s.io/cloud-provider - -go 1.18 - -require ( - github.com/google/go-cmp v0.5.6 - github.com/spf13/cobra v1.4.0 - github.com/spf13/pflag v1.0.5 - github.com/stretchr/testify v1.7.0 - k8s.io/api v0.25.0-alpha.2 - k8s.io/apimachinery v0.25.0-alpha.2 - k8s.io/apiserver v0.25.0-alpha.2 - k8s.io/client-go v0.25.0-alpha.2 - k8s.io/component-base v0.25.0-alpha.2 - k8s.io/component-helpers v0.25.0-alpha.2 - k8s.io/controller-manager v0.25.0-alpha.2 - k8s.io/klog/v2 v2.70.0 - k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 -) - -require ( - github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect - github.com/NYTimes/gziphandler v1.1.1 // indirect - github.com/PuerkitoBio/purell v1.1.1 // indirect - github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect - github.com/beorn7/perks v1.0.1 // indirect - github.com/blang/semver/v4 v4.0.0 // indirect - github.com/cespare/xxhash/v2 v2.1.2 // indirect - github.com/coreos/go-semver v0.3.0 // indirect - github.com/coreos/go-systemd/v22 v22.3.2 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/emicklei/go-restful/v3 v3.8.0 // indirect - github.com/evanphx/json-patch v4.12.0+incompatible // indirect - github.com/felixge/httpsnoop v1.0.1 // indirect - github.com/fsnotify/fsnotify v1.4.9 // indirect - github.com/go-logr/logr v1.2.3 // indirect - github.com/go-openapi/jsonpointer v0.19.5 // indirect - github.com/go-openapi/jsonreference v0.19.5 // indirect - github.com/go-openapi/swag v0.19.14 // indirect - github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect - github.com/golang/protobuf v1.5.2 // indirect - github.com/google/gnostic v0.5.7-v3refs // indirect - github.com/google/gofuzz v1.1.0 // indirect - github.com/google/uuid v1.1.2 // indirect - github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect - github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect - github.com/imdario/mergo v0.3.5 // indirect - github.com/inconshreveable/mousetrap v1.0.0 // indirect - github.com/josharian/intern v1.0.0 // indirect - github.com/json-iterator/go v1.1.12 // indirect - github.com/mailru/easyjson v0.7.6 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect - github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect - github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect - github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect - github.com/pkg/errors v0.9.1 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/prometheus/client_golang v1.12.1 // indirect - github.com/prometheus/client_model v0.2.0 // indirect - github.com/prometheus/common v0.32.1 // indirect - github.com/prometheus/procfs v0.7.3 // indirect - go.etcd.io/etcd/api/v3 v3.5.4 // indirect - go.etcd.io/etcd/client/pkg/v3 v3.5.4 // indirect - go.etcd.io/etcd/client/v3 v3.5.4 // indirect - go.opentelemetry.io/contrib v0.20.0 // indirect - go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0 // indirect - go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0 // indirect - go.opentelemetry.io/otel v0.20.0 // indirect - go.opentelemetry.io/otel/exporters/otlp v0.20.0 // indirect - go.opentelemetry.io/otel/metric v0.20.0 // indirect - go.opentelemetry.io/otel/sdk v0.20.0 // indirect - go.opentelemetry.io/otel/sdk/export/metric v0.20.0 // indirect - go.opentelemetry.io/otel/sdk/metric v0.20.0 // indirect - go.opentelemetry.io/otel/trace v0.20.0 // indirect - go.opentelemetry.io/proto/otlp v0.7.0 // indirect - go.uber.org/atomic v1.7.0 // indirect - go.uber.org/multierr v1.6.0 // indirect - go.uber.org/zap v1.19.0 // indirect - golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd // indirect - golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect - golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect - golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect - golang.org/x/sys v0.0.0-20220209214540-3681064d5158 // indirect - golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect - golang.org/x/text v0.3.7 // indirect - golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect - google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6 // indirect - google.golang.org/grpc v1.47.0 // indirect - google.golang.org/protobuf v1.27.1 // indirect - gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect - gopkg.in/yaml.v2 v2.4.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/kube-openapi v0.0.0-20220603121420-31174f50af60 // indirect - sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.32 // indirect - sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect - sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect - sigs.k8s.io/yaml v1.2.0 // indirect -) - -replace ( - k8s.io/api => k8s.io/api v0.25.0-alpha.2 - k8s.io/apimachinery => k8s.io/apimachinery v0.25.0-alpha.2 - k8s.io/apiserver => k8s.io/apiserver v0.25.0-alpha.2 - k8s.io/client-go => k8s.io/client-go v0.25.0-alpha.2 - k8s.io/component-base => k8s.io/component-base v0.25.0-alpha.2 - k8s.io/component-helpers => k8s.io/component-helpers v0.25.0-alpha.2 - k8s.io/controller-manager => k8s.io/controller-manager v0.25.0-alpha.2 -) diff --git a/cluster-autoscaler/vendor/k8s.io/cloud-provider/go.sum b/cluster-autoscaler/vendor/k8s.io/cloud-provider/go.sum deleted file mode 100644 index 050d10d0c044..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/cloud-provider/go.sum +++ /dev/null @@ -1,751 +0,0 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= -cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= -cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= -cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= -cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go v0.97.0 h1:3DXvAyifywvq64LfkKaMOmkWPS1CikIQdMe2lY9vxU8= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= -cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= -cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= -cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= -cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= -cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8= -github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= -github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= -github.com/NYTimes/gziphandler v1.1.1 h1:ZUDjpQae29j0ryrS0u/B8HZfJBtBQHjqw2rQ2cqUQ3I= -github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= -github.com/PuerkitoBio/purell v1.1.1 h1:WEQqlqaGbrPkxLJWfBwQmfEAE1Z7ONdDLqrN38tNFfI= -github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= -github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 h1:d+Bc7a5rLufV/sSk/8dngufqelfh6jnri85riMAaF/M= -github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= -github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= -github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM= -github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= -github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= -github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= -github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= -github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE= -github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI= -github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/coreos/go-semver v0.3.0 h1:wkHLiw0WNATZnSG7epLsujiMCgPAc9xhjJ4tgnAxmfM= -github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd/v22 v22.3.2 h1:D9/bQk5vlXQFZ6Kwuu6zaiXJ9oTPe68++AzAJc1DzSI= -github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= -github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/creack/pty v1.1.11 h1:07n33Z8lZxZ2qwegKbObQohDhXDQxiMMz1NOUGYlesw= -github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= -github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= -github.com/emicklei/go-restful/v3 v3.7.5-0.20220308211933-7c971ca4d0fd/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= -github.com/emicklei/go-restful/v3 v3.8.0 h1:eCZ8ulSerjdAiaNpF7GxXIE7ZCMo1moN1qX+S609eVw= -github.com/emicklei/go-restful/v3 v3.8.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0= -github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84= -github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/felixge/httpsnoop v1.0.1 h1:lvB5Jl89CsZtGIWuTcDM1E/vkVs49/Ml7JJe07l8SPQ= -github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= -github.com/form3tech-oss/jwt-go v3.2.3+incompatible h1:7ZaBxOI7TMoYBfyA3cQHErNNyAWIKUMIwqxEtgHOs5c= -github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= -github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= -github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= -github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= -github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= -github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY= -github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= -github.com/go-openapi/jsonreference v0.19.5 h1:1WJP/wi4OjB4iV8KVbH73rQaoialJrqv8gitZLxGLtM= -github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= -github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= -github.com/go-openapi/swag v0.19.14 h1:gm3vOOXfiuw5i9p5N9xJvfjvuofpyvLA9Wr6QfK5Fng= -github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= -github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA= -github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4= -github.com/google/gnostic v0.5.7-v3refs h1:FhTMOKj2VhjpouxvWJAV1TL304uMlb9zcDqkl6cEI54= -github.com/google/gnostic v0.5.7-v3refs/go.mod h1:73MKFl6jIHelAJNaBGFzt3SPtZULs9dYrGFt8OiIsHQ= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ= -github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.1.0 h1:Hsa8mG0dQ46ij8Sl2AYJDUv1oA9/d6Vk+3LG99Oe02g= -github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= -github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= -github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/imdario/mergo v0.3.5 h1:JboBksRwiiAJWvIYJVo46AfV+IAIKZpfrSzVKj42R4Q= -github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= -github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/jonboulle/clockwork v0.2.2 h1:UOGuzwb1PwsrDAObMuhUnj0p5ULPj8V/xJ7Kx9qUBdQ= -github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= -github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= -github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= -github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= -github.com/mailru/easyjson v0.7.6 h1:8yTIVnZgCoiM1TgqoeTl+LfU5Jg6/xL3QhGQnimLYnA= -github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 h1:I0XW9+e1XWDxdcEniV4rQAIOPUGDq67JSCiRCgGCZLI= -github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 h1:dcztxKSvZ4Id8iPpHERQBbIJfabdt4wUm5qy3wOL2Zc= -github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/nxadm/tail v1.4.4 h1:DQuhQpB1tVlglWS2hLQ5OV6B5r8aGxSrPc5Qo6uTN78= -github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.14.0 h1:2mOpI4JVVPBN+WQRa0WKH2eXR+Ey+uK4n7Zj0aYpIQA= -github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= -github.com/onsi/gomega v1.10.1 h1:o0+MgICZLuZ7xjH7Vx6zS/zcu93/BEp1VwkIW1mEXCE= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.11.1/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.12.1 h1:ZiaPsmm9uiBeaSMRznKsCDNtPCS0T3JVDGF+06gjBzk= -github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= -github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.0 h1:uq5h0d+GuxiXLJLNABMgp2qUWDPiLvgCzz2dUR+/W/M= -github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.32.1 h1:hWIdL3N2HoUx3B8j3YN9mWor0qhY/NlEKZEaXxuIRh4= -github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= -github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU= -github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= -github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE= -github.com/soheilhy/cmux v0.1.5 h1:jjzc5WVemNEDTLwv9tlmemhC73tI08BNOIGwBOo10Js= -github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/afero v1.6.0 h1:xoax2sJ2DT8S8xA2paPFjDCScCNeWsg75VG0DLRreiY= -github.com/spf13/cobra v1.4.0 h1:y+wJpx64xcgO1V+RcnwW0LEHxTKRi2ZDPSBjWnrg88Q= -github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g= -github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802 h1:uruHq4dN7GR16kFc5fp3d1RIYzJW5onx8Ybykw2YQFA= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 h1:eY9dn8+vbi4tKz5Qo6v2eYzo7kUS51QINcR5jNpbZS8= -github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= -go.etcd.io/bbolt v1.3.6 h1:/ecaJf0sk1l4l6V4awd65v2C3ILy7MSj+s/x1ADCIMU= -go.etcd.io/etcd/api/v3 v3.5.4 h1:OHVyt3TopwtUQ2GKdd5wu3PmmipR4FTwCqoEjSyRdIc= -go.etcd.io/etcd/api/v3 v3.5.4/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A= -go.etcd.io/etcd/client/pkg/v3 v3.5.4 h1:lrneYvz923dvC14R54XcA7FXoZ3mlGZAgmwhfm7HqOg= -go.etcd.io/etcd/client/pkg/v3 v3.5.4/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g= -go.etcd.io/etcd/client/v2 v2.305.4 h1:Dcx3/MYyfKcPNLpR4VVQUP5KgYrBeJtktBwEKkw08Ao= -go.etcd.io/etcd/client/v3 v3.5.4 h1:p83BUL3tAYS0OT/r0qglgc3M1JjhM0diV8DSWAhVXv4= -go.etcd.io/etcd/client/v3 v3.5.4/go.mod h1:ZaRkVgBZC+L+dLCjTcF1hRXpgZXQPOvnA/Ak/gq3kiY= -go.etcd.io/etcd/pkg/v3 v3.5.4 h1:V5Dvl7S39ZDwjkKqJG2BfXgxZ3QREqqKifWQgIw5IM0= -go.etcd.io/etcd/raft/v3 v3.5.4 h1:YGrnAgRfgXloBNuqa+oBI/aRZMcK/1GS6trJePJ/Gqc= -go.etcd.io/etcd/server/v3 v3.5.4 h1:CMAZd0g8Bn5NRhynW6pKhc4FRg41/0QYy3d7aNm9874= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opentelemetry.io/contrib v0.20.0 h1:ubFQUn0VCZ0gPwIoJfBJVpeBlyRMxu8Mm/huKWYd9p0= -go.opentelemetry.io/contrib v0.20.0/go.mod h1:G/EtFaa6qaN7+LxqfIAT3GiZa7Wv5DTBUzl5H4LY0Kc= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0 h1:sO4WKdPAudZGKPcpZT4MJn6JaDmpyLrMPDGGyA1SttE= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0/go.mod h1:oVGt1LRbBOBq1A5BQLlUg9UaU/54aiHw8cgjV3aWZ/E= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0 h1:Q3C9yzW6I9jqEc8sawxzxZmY48fs9u220KXq6d5s3XU= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4= -go.opentelemetry.io/otel v0.20.0 h1:eaP0Fqu7SXHwvjiqDq83zImeehOHX8doTvU9AwXON8g= -go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo= -go.opentelemetry.io/otel/exporters/otlp v0.20.0 h1:PTNgq9MRmQqqJY0REVbZFvwkYOA85vbdQU/nVfxDyqg= -go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= -go.opentelemetry.io/otel/metric v0.20.0 h1:4kzhXFP+btKm4jwxpjIqjs41A7MakRFUS86bqLHTIw8= -go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= -go.opentelemetry.io/otel/oteltest v0.20.0 h1:HiITxCawalo5vQzdHfKeZurV8x7ljcqAgiWzF6Vaeaw= -go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= -go.opentelemetry.io/otel/sdk v0.20.0 h1:JsxtGXd06J8jrnya7fdI/U/MR6yXA5DtbZy+qoHQlr8= -go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= -go.opentelemetry.io/otel/sdk/export/metric v0.20.0 h1:c5VRjxCXdQlx1HjzwGdQHzZaVI82b5EbBgOu2ljD92g= -go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE= -go.opentelemetry.io/otel/sdk/metric v0.20.0 h1:7ao1wpzHRVKf0OQ7GIxiQJA6X7DLX9o14gmVon7mMK8= -go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= -go.opentelemetry.io/otel/trace v0.20.0 h1:1DL6EXUdcg95gukhuRRvLDO/4X5THh/5dIV52lqtnbw= -go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= -go.opentelemetry.io/proto/otlp v0.7.0 h1:rwOQPCuKAKmwGKq2aVNnYIibI6wnV7EvzgfTCzcdGg8= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/goleak v1.1.10 h1:z+mqJhf6ss6BSfSM671tgKyZBFPTTJM+HLxnhPC3wu0= -go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A= -go.uber.org/multierr v1.6.0 h1:y6IPFStTAIT5Ytl7/XYmHvzXQ7S3g/IeZW9hyZ5thw4= -go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= -go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= -go.uber.org/zap v1.19.0 h1:mZQZefskPPCMIBCSEH0v2/iUqqLrYtaeqwD6FUGUnFE= -go.uber.org/zap v1.19.0/go.mod h1:xg/QME4nWcxGxrpdeYfq7UvYrLh66cuVKdrbD1XF/NI= -golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd h1:XcWmESyNjXJMLahc3mqVQJcgSTDxFxhETVlfk9uGc38= -golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= -golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd h1:O7DYs+zxREGLKzKoMQrtrEacpb0ZVXA5rIwylE2Xchk= -golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 h1:RerP+noqYHUQ8CMRcPlC2nvTa4dcBIjegkuWdcUDuqg= -golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ= -golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220209214540-3681064d5158 h1:rm+CHSpPEEW2IsXUib1ThaHIjuBVZjxNgSKmBLFfD4c= -golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 h1:vVKdlvoWBphwdxWKrFZEuM0kGgGLxUOYcY4U/2Vjg44= -golang.org/x/time v0.0.0-20220210224613-90d013bbcef8/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.1.10-0.20220218145154-897bd77cd717 h1:hI3jKY4Hpf63ns040onEbB3dAkR/H/P83hw1TG8dD3Y= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= -google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= -google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= -google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0= -google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6 h1:FglFEfyj61zP3c6LgjmVHxYxZWXYul9oiS1EZqD5gLc= -google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= -google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= -google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= -google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM= -google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU= -google.golang.org/grpc v1.47.0 h1:9n77onPX5F3qfFCqjy9dhn8PbNQsIKeVU04J9G7umt8= -google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ= -google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= -gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -gopkg.in/natefinch/lumberjack.v2 v2.0.0 h1:1Lc07Kr7qY4U2YPouBjpCLxpiyxIVoxqXgkXLknAOE8= -gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk= -gotest.tools/v3 v3.0.3 h1:4AuOwCGf4lLR9u3YOe2awrHygurzhO/HeQ6laiA6Sx0= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -k8s.io/api v0.25.0-alpha.2 h1:azwXduCht76Ecuv80QzZkCDzcFcLotKPXiE9/+jx5Qk= -k8s.io/api v0.25.0-alpha.2/go.mod h1:wOntqHYj8WveLW2sh6q4tkE2vMZTtxe0MrFyVwO8JCM= -k8s.io/apimachinery v0.25.0-alpha.2 h1:y6uTWaiqsPTPRewnXJ15IFyGmBo2qPt6enm4zszG8Z0= -k8s.io/apimachinery v0.25.0-alpha.2/go.mod h1:h34FtK3eCxige6ZIACdBSYExtDaKAUxoc7hVe2LOxzw= -k8s.io/apiserver v0.25.0-alpha.2 h1:pG1Knqb3n4dTe1Z2Eb9CbiBELzdCkar8TFntKqz1Py8= -k8s.io/apiserver v0.25.0-alpha.2/go.mod h1:PUkHMlEX0S5ctsyHJNFEKrgIYPBnON59uJUDygYia+M= -k8s.io/client-go v0.25.0-alpha.2 h1:kXlDl2L/CmdubzbRTPOCXj9JDPv9U0MuEjRXSCltQ00= -k8s.io/client-go v0.25.0-alpha.2/go.mod h1:AN5W2BkXTu2lNm2BANn5lC6VnGlv6AM5HNPQLsriBOA= -k8s.io/component-base v0.25.0-alpha.2 h1:/u3UH2T5e8pac0FiCmsyKNh39rzdT2DxAOXww6e9b7M= -k8s.io/component-base v0.25.0-alpha.2/go.mod h1:6wq0/nWr0pBhuDnWjT2MhpcTRdnLBxucqwTShWfjVKM= -k8s.io/component-helpers v0.25.0-alpha.2 h1:CUyqdwi36jr01YyjFBhQcWxx7JhjQvLgIJDQs27DfGM= -k8s.io/component-helpers v0.25.0-alpha.2/go.mod h1:EI/IhY2quvpAqgFcjAxFHiKLU/sQR5B31oZgc5MJ/8c= -k8s.io/controller-manager v0.25.0-alpha.2 h1:ZxQZMopdBneXGVq66WVhEtWnnTFVWBo5G6O7yqxzHq8= -k8s.io/controller-manager v0.25.0-alpha.2/go.mod h1:EBuJwOkixqjNF49n9q1u1+IrZMcx1b7JwQm2RAG5fEc= -k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= -k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= -k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= -k8s.io/klog/v2 v2.70.0 h1:GMmmjoFOrNepPN0ZeGCzvD2Gh5IKRwdFx8W5PBxVTQU= -k8s.io/klog/v2 v2.70.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/kube-openapi v0.0.0-20220603121420-31174f50af60 h1:cE/M8rmDQgibspuSm+X1iW16ByTImtEaapgaHoVSLX4= -k8s.io/kube-openapi v0.0.0-20220603121420-31174f50af60/go.mod h1:ouUzE1U2mEv//HRoBwYLFE5pdqjIebvtX361vtEIlBI= -k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 h1:HNSDgDCrr/6Ly3WEGKZftiE7IY19Vz2GdbOCyI4qqhc= -k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.32 h1:2WjukG7txtEsbXsSKWtTibCdsyYAhcu6KFnttyDdZOQ= -sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.32/go.mod h1:fEO7lRTdivWO2qYVCVG7dEADOMo/MLDCVr8So2g88Uw= -sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 h1:kDi4JBNAsJWfz1aEXhO8Jg87JJaPNLh5tIzYHgStQ9Y= -sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY= -sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw= -sigs.k8s.io/structured-merge-diff/v4 v4.2.1 h1:bKCqE9GvQ5tiVHn5rfn1r+yao3aLQEaLzkkmAkf+A6Y= -sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= -sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q= -sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= diff --git a/cluster-autoscaler/vendor/k8s.io/cloud-provider/node/helpers/address.go b/cluster-autoscaler/vendor/k8s.io/cloud-provider/node/helpers/address.go index 23405f61a37f..6eb44a90feb3 100644 --- a/cluster-autoscaler/vendor/k8s.io/cloud-provider/node/helpers/address.go +++ b/cluster-autoscaler/vendor/k8s.io/cloud-provider/node/helpers/address.go @@ -51,10 +51,10 @@ func AddToNodeAddresses(addresses *[]v1.NodeAddress, addAddresses ...v1.NodeAddr // // If nodeIP is a specific IP, either IPv4 or IPv6, we will return node // addresses filtered such that: -// * Any address matching nodeIP will be listed first. -// * If nodeIP matches an address of a particular type (internal or external), -// that will be the *only* address of that type returned. -// * All remaining addresses are listed after. +// - Any address matching nodeIP will be listed first. +// - If nodeIP matches an address of a particular type (internal or external), +// that will be the *only* address of that type returned. +// - All remaining addresses are listed after. func PreferNodeIP(nodeIP net.IP, cloudNodeAddresses []v1.NodeAddress) ([]v1.NodeAddress, error) { // If nodeIP is unset, just use the addresses provided by the cloud provider as-is if nodeIP == nil { diff --git a/cluster-autoscaler/vendor/k8s.io/component-base/configz/configz.go b/cluster-autoscaler/vendor/k8s.io/component-base/configz/configz.go index 869af648bee0..60e4f938ade7 100644 --- a/cluster-autoscaler/vendor/k8s.io/component-base/configz/configz.go +++ b/cluster-autoscaler/vendor/k8s.io/component-base/configz/configz.go @@ -18,25 +18,26 @@ limitations under the License. // // Each component that wants to serve its ComponentConfig creates a Config // object, and the program should call InstallHandler once. e.g., -// func main() { -// boatConfig := getBoatConfig() -// planeConfig := getPlaneConfig() // -// bcz, err := configz.New("boat") -// if err != nil { -// panic(err) -// } -// bcz.Set(boatConfig) +// func main() { +// boatConfig := getBoatConfig() +// planeConfig := getPlaneConfig() // -// pcz, err := configz.New("plane") -// if err != nil { -// panic(err) -// } -// pcz.Set(planeConfig) +// bcz, err := configz.New("boat") +// if err != nil { +// panic(err) +// } +// bcz.Set(boatConfig) // -// configz.InstallHandler(http.DefaultServeMux) -// http.ListenAndServe(":8080", http.DefaultServeMux) -// } +// pcz, err := configz.New("plane") +// if err != nil { +// panic(err) +// } +// pcz.Set(planeConfig) +// +// configz.InstallHandler(http.DefaultServeMux) +// http.ListenAndServe(":8080", http.DefaultServeMux) +// } package configz import ( diff --git a/cluster-autoscaler/vendor/k8s.io/component-base/logs/logs.go b/cluster-autoscaler/vendor/k8s.io/component-base/logs/logs.go index 84d48f877387..5e87a858098b 100644 --- a/cluster-autoscaler/vendor/k8s.io/component-base/logs/logs.go +++ b/cluster-autoscaler/vendor/k8s.io/component-base/logs/logs.go @@ -176,12 +176,12 @@ func (writer KlogWriter) Write(data []byte) (n int, err error) { // InitLogs disables support for contextual logging in klog while // that Kubernetes feature is not considered stable yet. Commands // which want to support contextual logging can: -// - call klog.EnableContextualLogging after calling InitLogs, -// with a fixed `true` or depending on some command line flag or -// a feature gate check -// - set up a FeatureGate instance, the advanced logging configuration -// with Options and call Options.ValidateAndApply with the FeatureGate; -// k8s.io/component-base/logs/example/cmd demonstrates how to do that +// - call klog.EnableContextualLogging after calling InitLogs, +// with a fixed `true` or depending on some command line flag or +// a feature gate check +// - set up a FeatureGate instance, the advanced logging configuration +// with Options and call Options.ValidateAndApply with the FeatureGate; +// k8s.io/component-base/logs/example/cmd demonstrates how to do that func InitLogs() { log.SetOutput(KlogWriter{}) log.SetFlags(0) diff --git a/cluster-autoscaler/vendor/k8s.io/component-base/metrics/desc.go b/cluster-autoscaler/vendor/k8s.io/component-base/metrics/desc.go index 50eefd587fb7..2ca9cfa7c218 100644 --- a/cluster-autoscaler/vendor/k8s.io/component-base/metrics/desc.go +++ b/cluster-autoscaler/vendor/k8s.io/component-base/metrics/desc.go @@ -218,8 +218,8 @@ func (d *Desc) initializeDeprecatedDesc() { // GetRawDesc will returns a new *Desc with original parameters provided to NewDesc(). // // It will be useful in testing scenario that the same Desc be registered to different registry. -// 1. Desc `D` is registered to registry 'A' in TestA (Note: `D` maybe created) -// 2. Desc `D` is registered to registry 'B' in TestB (Note: since 'D' has been created once, thus will be ignored by registry 'B') +// 1. Desc `D` is registered to registry 'A' in TestA (Note: `D` maybe created) +// 2. Desc `D` is registered to registry 'B' in TestB (Note: since 'D' has been created once, thus will be ignored by registry 'B') func (d *Desc) GetRawDesc() *Desc { return NewDesc(d.fqName, d.help, d.variableLabels, d.constLabels, d.stabilityLevel, d.deprecatedVersion) } diff --git a/cluster-autoscaler/vendor/k8s.io/component-base/metrics/metric.go b/cluster-autoscaler/vendor/k8s.io/component-base/metrics/metric.go index e57e0b383d1d..2980a9723826 100644 --- a/cluster-autoscaler/vendor/k8s.io/component-base/metrics/metric.go +++ b/cluster-autoscaler/vendor/k8s.io/component-base/metrics/metric.go @@ -91,13 +91,14 @@ func (r *lazyMetric) lazyInit(self kubeCollector, fqName string) { // preprocessMetric figures out whether the lazy metric should be hidden or not. // This method takes a Version argument which should be the version of the binary in which // this code is currently being executed. A metric can be hidden under two conditions: -// 1. if the metric is deprecated and is outside the grace period (i.e. has been -// deprecated for more than one release -// 2. if the metric is manually disabled via a CLI flag. +// 1. if the metric is deprecated and is outside the grace period (i.e. has been +// deprecated for more than one release +// 2. if the metric is manually disabled via a CLI flag. // // Disclaimer: disabling a metric via a CLI flag has higher precedence than -// deprecation and will override show-hidden-metrics for the explicitly -// disabled metric. +// +// deprecation and will override show-hidden-metrics for the explicitly +// disabled metric. func (r *lazyMetric) preprocessMetric(version semver.Version) { disabledMetricsLock.RLock() defer disabledMetricsLock.RUnlock() diff --git a/cluster-autoscaler/vendor/k8s.io/component-base/metrics/summary.go b/cluster-autoscaler/vendor/k8s.io/component-base/metrics/summary.go index c7621b986a4c..0198f724834a 100644 --- a/cluster-autoscaler/vendor/k8s.io/component-base/metrics/summary.go +++ b/cluster-autoscaler/vendor/k8s.io/component-base/metrics/summary.go @@ -23,6 +23,12 @@ import ( "github.com/prometheus/client_golang/prometheus" ) +const ( + DefAgeBuckets = prometheus.DefAgeBuckets + DefBufCap = prometheus.DefBufCap + DefMaxAge = prometheus.DefMaxAge +) + // Summary is our internal representation for our wrapping struct around prometheus // summaries. Summary implements both kubeCollector and ObserverMetric // diff --git a/cluster-autoscaler/vendor/k8s.io/component-base/metrics/value.go b/cluster-autoscaler/vendor/k8s.io/component-base/metrics/value.go index 4a19aaa3bf9b..bf8a6b8f65c2 100644 --- a/cluster-autoscaler/vendor/k8s.io/component-base/metrics/value.go +++ b/cluster-autoscaler/vendor/k8s.io/component-base/metrics/value.go @@ -50,7 +50,8 @@ func NewLazyConstMetric(desc *Desc, valueType ValueType, value float64, labelVal // NewLazyMetricWithTimestamp is a helper of NewMetricWithTimestamp. // // Warning: the Metric 'm' must be the one created by NewLazyConstMetric(), -// otherwise, no stability guarantees would be offered. +// +// otherwise, no stability guarantees would be offered. func NewLazyMetricWithTimestamp(t time.Time, m Metric) Metric { if m == nil { return nil diff --git a/cluster-autoscaler/vendor/k8s.io/component-base/traces/utils.go b/cluster-autoscaler/vendor/k8s.io/component-base/traces/utils.go deleted file mode 100644 index 5b271fd1afb0..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/component-base/traces/utils.go +++ /dev/null @@ -1,80 +0,0 @@ -/* -Copyright 2021 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package traces - -import ( - "context" - "net/http" - - "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" - "go.opentelemetry.io/otel/exporters/otlp" - "go.opentelemetry.io/otel/exporters/otlp/otlpgrpc" - "go.opentelemetry.io/otel/propagation" - "go.opentelemetry.io/otel/sdk/resource" - sdktrace "go.opentelemetry.io/otel/sdk/trace" - "go.opentelemetry.io/otel/trace" - - "k8s.io/client-go/transport" - "k8s.io/klog/v2" -) - -// NewProvider initializes tracing in the component, and enforces recommended tracing behavior. -func NewProvider(ctx context.Context, baseSampler sdktrace.Sampler, resourceOpts []resource.Option, opts ...otlpgrpc.Option) trace.TracerProvider { - opts = append(opts, otlpgrpc.WithInsecure()) - driver := otlpgrpc.NewDriver(opts...) - exporter, err := otlp.NewExporter(ctx, driver) - if err != nil { - klog.Fatalf("Failed to create OTLP exporter: %v", err) - } - - res, err := resource.New(ctx, resourceOpts...) - if err != nil { - klog.Fatalf("Failed to create resource: %v", err) - } - - bsp := sdktrace.NewBatchSpanProcessor(exporter) - - return sdktrace.NewTracerProvider( - sdktrace.WithSampler(sdktrace.ParentBased(baseSampler)), - sdktrace.WithSpanProcessor(bsp), - sdktrace.WithResource(res), - ) -} - -// WrapperFor can be used to add tracing to a *rest.Config. Example usage: -// tp := traces.NewProvider(...) -// config, _ := rest.InClusterConfig() -// config.Wrap(traces.WrapperFor(&tp)) -// kubeclient, _ := clientset.NewForConfig(config) -func WrapperFor(tp *trace.TracerProvider) transport.WrapperFunc { - return func(rt http.RoundTripper) http.RoundTripper { - opts := []otelhttp.Option{ - otelhttp.WithPropagators(Propagators()), - } - if tp != nil { - opts = append(opts, otelhttp.WithTracerProvider(*tp)) - } - // Even if there is no TracerProvider, the otelhttp still handles context propagation. - // See https://github.com/open-telemetry/opentelemetry-go/tree/main/example/passthrough - return otelhttp.NewTransport(rt, opts...) - } -} - -// Propagators returns the recommended set of propagators. -func Propagators() propagation.TextMapPropagator { - return propagation.NewCompositeTextMapPropagator(propagation.TraceContext{}, propagation.Baggage{}) -} diff --git a/cluster-autoscaler/vendor/k8s.io/component-base/traces/OWNERS b/cluster-autoscaler/vendor/k8s.io/component-base/tracing/OWNERS similarity index 100% rename from cluster-autoscaler/vendor/k8s.io/component-base/traces/OWNERS rename to cluster-autoscaler/vendor/k8s.io/component-base/tracing/OWNERS diff --git a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/tracing/config.go b/cluster-autoscaler/vendor/k8s.io/component-base/tracing/api/v1/config.go similarity index 54% rename from cluster-autoscaler/vendor/k8s.io/apiserver/pkg/tracing/config.go rename to cluster-autoscaler/vendor/k8s.io/component-base/tracing/api/v1/config.go index 33ec6ae10875..ae9bbbfc0928 100644 --- a/cluster-autoscaler/vendor/k8s.io/apiserver/pkg/tracing/config.go +++ b/cluster-autoscaler/vendor/k8s.io/component-base/tracing/api/v1/config.go @@ -14,63 +14,32 @@ See the License for the specific language governing permissions and limitations under the License. */ -package tracing +package v1 import ( "fmt" - "io/ioutil" "net/url" "strings" - "k8s.io/apimachinery/pkg/runtime" - "k8s.io/apimachinery/pkg/runtime/serializer" "k8s.io/apimachinery/pkg/util/validation/field" - "k8s.io/apiserver/pkg/apis/apiserver" - "k8s.io/apiserver/pkg/apis/apiserver/install" -) - -const ( - maxSamplingRatePerMillion = 1000000 + "k8s.io/component-base/featuregate" ) var ( - cfgScheme = runtime.NewScheme() - codecs = serializer.NewCodecFactory(cfgScheme) + maxSamplingRatePerMillion = int32(1000000) ) -func init() { - install.Install(cfgScheme) -} - -// ReadTracingConfiguration reads the tracing configuration from a file -func ReadTracingConfiguration(configFilePath string) (*apiserver.TracingConfiguration, error) { - if configFilePath == "" { - return nil, fmt.Errorf("tracing config file was empty") - } - data, err := ioutil.ReadFile(configFilePath) - if err != nil { - return nil, fmt.Errorf("unable to read tracing configuration from %q: %v", configFilePath, err) - } - internalConfig := &apiserver.TracingConfiguration{} - // this handles json/yaml/whatever, and decodes all registered version to the internal version - if err := runtime.DecodeInto(codecs.UniversalDecoder(), data, internalConfig); err != nil { - return nil, fmt.Errorf("unable to decode tracing configuration data: %v", err) - } - return internalConfig, nil -} - // ValidateTracingConfiguration validates the tracing configuration -func ValidateTracingConfiguration(config *apiserver.TracingConfiguration) field.ErrorList { +func ValidateTracingConfiguration(traceConfig *TracingConfiguration, featureGate featuregate.FeatureGate, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} - if config == nil { - // Tracing is disabled + if traceConfig == nil { return allErrs } - if config.SamplingRatePerMillion != nil { - allErrs = append(allErrs, validateSamplingRate(*config.SamplingRatePerMillion, field.NewPath("samplingRatePerMillion"))...) + if traceConfig.SamplingRatePerMillion != nil { + allErrs = append(allErrs, validateSamplingRate(*traceConfig.SamplingRatePerMillion, fldPath.Child("samplingRatePerMillion"))...) } - if config.Endpoint != nil { - allErrs = append(allErrs, validateEndpoint(*config.Endpoint, field.NewPath("endpoint"))...) + if traceConfig.Endpoint != nil { + allErrs = append(allErrs, validateEndpoint(*traceConfig.Endpoint, fldPath.Child("endpoint"))...) } return allErrs } diff --git a/cluster-autoscaler/vendor/k8s.io/component-base/tracing/api/v1/doc.go b/cluster-autoscaler/vendor/k8s.io/component-base/tracing/api/v1/doc.go new file mode 100644 index 000000000000..ffe36aef6f01 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/component-base/tracing/api/v1/doc.go @@ -0,0 +1,29 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// +k8s:deepcopy-gen=package + +// Package v1 contains the configuration API for tracing. +// +// The intention is to only have a single version of this API, potentially with +// new fields added over time in a backwards-compatible manner. Fields for +// alpha or beta features are allowed as long as they are defined so that not +// changing the defaults leaves those features disabled. +// +// The "v1" package name is just a reminder that API compatibility rules apply, +// not an indication of the stability of all features covered by it. + +package v1 // import "k8s.io/component-base/tracing/api/v1" diff --git a/cluster-autoscaler/vendor/k8s.io/component-base/tracing/api/v1/types.go b/cluster-autoscaler/vendor/k8s.io/component-base/tracing/api/v1/types.go new file mode 100644 index 000000000000..a59d564050fa --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/component-base/tracing/api/v1/types.go @@ -0,0 +1,32 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1 + +// TracingConfiguration provides versioned configuration for OpenTelemetry tracing clients. +type TracingConfiguration struct { + // Endpoint of the collector this component will report traces to. + // The connection is insecure, and does not currently support TLS. + // Recommended is unset, and endpoint is the otlp grpc default, localhost:4317. + // +optional + Endpoint *string `json:"endpoint,omitempty"` + + // SamplingRatePerMillion is the number of samples to collect per million spans. + // Recommended is unset. If unset, sampler respects its parent span's sampling + // rate, but otherwise never samples. + // +optional + SamplingRatePerMillion *int32 `json:"samplingRatePerMillion,omitempty"` +} diff --git a/cluster-autoscaler/vendor/k8s.io/component-base/tracing/api/v1/zz_generated.deepcopy.go b/cluster-autoscaler/vendor/k8s.io/component-base/tracing/api/v1/zz_generated.deepcopy.go new file mode 100644 index 000000000000..2afc68117b0f --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/component-base/tracing/api/v1/zz_generated.deepcopy.go @@ -0,0 +1,48 @@ +//go:build !ignore_autogenerated +// +build !ignore_autogenerated + +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by deepcopy-gen. DO NOT EDIT. + +package v1 + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *TracingConfiguration) DeepCopyInto(out *TracingConfiguration) { + *out = *in + if in.Endpoint != nil { + in, out := &in.Endpoint, &out.Endpoint + *out = new(string) + **out = **in + } + if in.SamplingRatePerMillion != nil { + in, out := &in.SamplingRatePerMillion, &out.SamplingRatePerMillion + *out = new(int32) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TracingConfiguration. +func (in *TracingConfiguration) DeepCopy() *TracingConfiguration { + if in == nil { + return nil + } + out := new(TracingConfiguration) + in.DeepCopyInto(out) + return out +} diff --git a/cluster-autoscaler/vendor/k8s.io/component-base/tracing/utils.go b/cluster-autoscaler/vendor/k8s.io/component-base/tracing/utils.go new file mode 100644 index 000000000000..8c7ec983ca9a --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/component-base/tracing/utils.go @@ -0,0 +1,108 @@ +/* +Copyright 2021 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package tracing + +import ( + "context" + "net/http" + + "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" + "go.opentelemetry.io/otel/exporters/otlp" + "go.opentelemetry.io/otel/exporters/otlp/otlpgrpc" + "go.opentelemetry.io/otel/propagation" + "go.opentelemetry.io/otel/sdk/resource" + sdktrace "go.opentelemetry.io/otel/sdk/trace" + oteltrace "go.opentelemetry.io/otel/trace" + + "k8s.io/client-go/transport" + "k8s.io/component-base/tracing/api/v1" +) + +// NewProvider creates a TracerProvider in a component, and enforces recommended tracing behavior +func NewProvider(ctx context.Context, + tracingConfig *v1.TracingConfiguration, + addedOpts []otlpgrpc.Option, + resourceOpts []resource.Option, +) (oteltrace.TracerProvider, error) { + if tracingConfig == nil { + return oteltrace.NewNoopTracerProvider(), nil + } + opts := append([]otlpgrpc.Option{}, addedOpts...) + if tracingConfig.Endpoint != nil { + opts = append(opts, otlpgrpc.WithEndpoint(*tracingConfig.Endpoint)) + } + opts = append(opts, otlpgrpc.WithInsecure()) + driver := otlpgrpc.NewDriver(opts...) + exporter, err := otlp.NewExporter(ctx, driver) + if err != nil { + return nil, err + } + res, err := resource.New(ctx, resourceOpts...) + if err != nil { + return nil, err + } + + // sampler respects parent span's sampling rate or + // otherwise never samples. + sampler := sdktrace.NeverSample() + // Or, emit spans for a fraction of transactions + if tracingConfig.SamplingRatePerMillion != nil && *tracingConfig.SamplingRatePerMillion > 0 { + sampler = sdktrace.TraceIDRatioBased(float64(*tracingConfig.SamplingRatePerMillion) / float64(1000000)) + } + // batch span processor to aggregate spans before export. + bsp := sdktrace.NewBatchSpanProcessor(exporter) + tp := sdktrace.NewTracerProvider( + sdktrace.WithSampler(sdktrace.ParentBased(sampler)), + sdktrace.WithSpanProcessor(bsp), + sdktrace.WithResource(res), + ) + return tp, nil +} + +// WithTracing adds tracing to requests if the incoming request is sampled +func WithTracing(handler http.Handler, tp oteltrace.TracerProvider, serviceName string) http.Handler { + opts := []otelhttp.Option{ + otelhttp.WithPropagators(Propagators()), + otelhttp.WithTracerProvider(tp), + } + // With Noop TracerProvider, the otelhttp still handles context propagation. + // See https://github.com/open-telemetry/opentelemetry-go/tree/main/example/passthrough + return otelhttp.NewHandler(handler, serviceName, opts...) +} + +// WrapperFor can be used to add tracing to a *rest.Config. +// Example usage: +// tp := NewProvider(...) +// config, _ := rest.InClusterConfig() +// config.Wrap(WrapperFor(&tp)) +// kubeclient, _ := clientset.NewForConfig(config) +func WrapperFor(tp oteltrace.TracerProvider) transport.WrapperFunc { + return func(rt http.RoundTripper) http.RoundTripper { + opts := []otelhttp.Option{ + otelhttp.WithPropagators(Propagators()), + otelhttp.WithTracerProvider(tp), + } + // With Noop TracerProvider, the otelhttp still handles context propagation. + // See https://github.com/open-telemetry/opentelemetry-go/tree/main/example/passthrough + return otelhttp.NewTransport(rt, opts...) + } +} + +// Propagators returns the recommended set of propagators. +func Propagators() propagation.TextMapPropagator { + return propagation.NewCompositeTextMapPropagator(propagation.TraceContext{}, propagation.Baggage{}) +} diff --git a/cluster-autoscaler/vendor/k8s.io/component-helpers/node/topology/helpers.go b/cluster-autoscaler/vendor/k8s.io/component-helpers/node/topology/helpers.go index 18c838cca564..8eaff674a6aa 100644 --- a/cluster-autoscaler/vendor/k8s.io/component-helpers/node/topology/helpers.go +++ b/cluster-autoscaler/vendor/k8s.io/component-helpers/node/topology/helpers.go @@ -23,8 +23,9 @@ import ( // GetZoneKey is a helper function that builds a string identifier that is unique per failure-zone; // it returns empty-string for no zone. // Since there are currently two separate zone keys: -// * "failure-domain.beta.kubernetes.io/zone" -// * "topology.kubernetes.io/zone" +// - "failure-domain.beta.kubernetes.io/zone" +// - "topology.kubernetes.io/zone" +// // GetZoneKey will first check failure-domain.beta.kubernetes.io/zone and if not exists, will then check // topology.kubernetes.io/zone func GetZoneKey(node *v1.Node) string { diff --git a/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1/api.pb.go b/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1/api.pb.go index 1e1aebbb09fa..ca7f142290b2 100644 --- a/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1/api.pb.go +++ b/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1/api.pb.go @@ -211,6 +211,41 @@ func (ContainerState) EnumDescriptor() ([]byte, []int) { return fileDescriptor_00212fb1f9d3bf1c, []int{4} } +type ContainerEventType int32 + +const ( + // Container created + ContainerEventType_CONTAINER_CREATED_EVENT ContainerEventType = 0 + // Container started + ContainerEventType_CONTAINER_STARTED_EVENT ContainerEventType = 1 + // Container stopped + ContainerEventType_CONTAINER_STOPPED_EVENT ContainerEventType = 2 + // Container deleted + ContainerEventType_CONTAINER_DELETED_EVENT ContainerEventType = 3 +) + +var ContainerEventType_name = map[int32]string{ + 0: "CONTAINER_CREATED_EVENT", + 1: "CONTAINER_STARTED_EVENT", + 2: "CONTAINER_STOPPED_EVENT", + 3: "CONTAINER_DELETED_EVENT", +} + +var ContainerEventType_value = map[string]int32{ + "CONTAINER_CREATED_EVENT": 0, + "CONTAINER_STARTED_EVENT": 1, + "CONTAINER_STOPPED_EVENT": 2, + "CONTAINER_DELETED_EVENT": 3, +} + +func (x ContainerEventType) String() string { + return proto.EnumName(ContainerEventType_name, int32(x)) +} + +func (ContainerEventType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_00212fb1f9d3bf1c, []int{5} +} + // Available profile types. type SecurityProfile_ProfileType int32 @@ -865,9 +900,9 @@ func (m *Int64Value) GetValue() int64 { // LinuxSandboxSecurityContext holds linux security configuration that will be // applied to a sandbox. Note that: -// 1) It does not apply to containers in the pods. -// 2) It may not be applicable to a PodSandbox which does not contain any running -// process. +// 1. It does not apply to containers in the pods. +// 2. It may not be applicable to a PodSandbox which does not contain any running +// process. type LinuxSandboxSecurityContext struct { // Configurations for the sandbox's namespaces. // This will be used only if the PodSandbox uses namespace for isolation. @@ -895,10 +930,11 @@ type LinuxSandboxSecurityContext struct { // AppArmor profile for the sandbox. Apparmor *SecurityProfile `protobuf:"bytes,10,opt,name=apparmor,proto3" json:"apparmor,omitempty"` // Seccomp profile for the sandbox, candidate values are: - // * runtime/default: the default profile for the container runtime - // * unconfined: unconfined profile, ie, no seccomp sandboxing - // * localhost/: the profile installed on the node. - // is the full path of the profile. + // - runtime/default: the default profile for the container runtime + // - unconfined: unconfined profile, ie, no seccomp sandboxing + // - localhost/: the profile installed on the node. + // is the full path of the profile. + // // Default: "", which is identical with unconfined. SeccompProfilePath string `protobuf:"bytes,7,opt,name=seccomp_profile_path,json=seccompProfilePath,proto3" json:"seccomp_profile_path,omitempty"` // Deprecated: Do not use. XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -1249,8 +1285,9 @@ type PodSandboxConfig struct { // containers. For example, the files might be newline separated JSON // structured logs, systemd-journald journal files, gRPC trace files, etc. // E.g., - // PodSandboxConfig.LogDirectory = `/var/log/pods//` - // ContainerConfig.LogPath = `containerName/Instance#.log` + // + // PodSandboxConfig.LogDirectory = `/var/log/pods//` + // ContainerConfig.LogPath = `containerName/Instance#.log` LogDirectory string `protobuf:"bytes,3,opt,name=log_directory,json=logDirectory,proto3" json:"log_directory,omitempty"` // DNS config for the sandbox. DnsConfig *DNSConfig `protobuf:"bytes,4,opt,name=dns_config,json=dnsConfig,proto3" json:"dns_config,omitempty"` @@ -3603,17 +3640,18 @@ type LinuxContainerSecurityContext struct { // AppArmor profile for the container. Apparmor *SecurityProfile `protobuf:"bytes,16,opt,name=apparmor,proto3" json:"apparmor,omitempty"` // AppArmor profile for the container, candidate values are: - // * runtime/default: equivalent to not specifying a profile. - // * unconfined: no profiles are loaded - // * localhost/: profile loaded on the node - // (localhost) by name. The possible profile names are detailed at - // https://gitlab.com/apparmor/apparmor/-/wikis/AppArmor_Core_Policy_Reference + // - runtime/default: equivalent to not specifying a profile. + // - unconfined: no profiles are loaded + // - localhost/: profile loaded on the node + // (localhost) by name. The possible profile names are detailed at + // https://gitlab.com/apparmor/apparmor/-/wikis/AppArmor_Core_Policy_Reference ApparmorProfile string `protobuf:"bytes,9,opt,name=apparmor_profile,json=apparmorProfile,proto3" json:"apparmor_profile,omitempty"` // Deprecated: Do not use. // Seccomp profile for the container, candidate values are: - // * runtime/default: the default profile for the container runtime - // * unconfined: unconfined profile, ie, no seccomp sandboxing - // * localhost/: the profile installed on the node. - // is the full path of the profile. + // - runtime/default: the default profile for the container runtime + // - unconfined: unconfined profile, ie, no seccomp sandboxing + // - localhost/: the profile installed on the node. + // is the full path of the profile. + // // Default: "", which is identical with unconfined. SeccompProfilePath string `protobuf:"bytes,10,opt,name=seccomp_profile_path,json=seccompProfilePath,proto3" json:"seccomp_profile_path,omitempty"` // Deprecated: Do not use. XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -4300,10 +4338,11 @@ type ContainerConfig struct { Devices []*Device `protobuf:"bytes,8,rep,name=devices,proto3" json:"devices,omitempty"` // Key-value pairs that may be used to scope and select individual resources. // Label keys are of the form: - // label-key ::= prefixed-name | name - // prefixed-name ::= prefix '/' name - // prefix ::= DNS_SUBDOMAIN - // name ::= DNS_LABEL + // + // label-key ::= prefixed-name | name + // prefixed-name ::= prefix '/' name + // prefix ::= DNS_SUBDOMAIN + // name ::= DNS_LABEL Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Unstructured key-value map that may be used by the kubelet to store and // retrieve arbitrary metadata. @@ -4319,8 +4358,9 @@ type ContainerConfig struct { // Path relative to PodSandboxConfig.LogDirectory for container to store // the log (STDOUT and STDERR) on the host. // E.g., - // PodSandboxConfig.LogDirectory = `/var/log/pods//` - // ContainerConfig.LogPath = `containerName/Instance#.log` + // + // PodSandboxConfig.LogDirectory = `/var/log/pods//` + // ContainerConfig.LogPath = `containerName/Instance#.log` // // WARNING: Log management and how kubelet should interface with the // container logs are under active discussion in @@ -5287,9 +5327,11 @@ type ContainerStatus struct { // Mounts for the container. Mounts []*Mount `protobuf:"bytes,14,rep,name=mounts,proto3" json:"mounts,omitempty"` // Log path of container. - LogPath string `protobuf:"bytes,15,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_sizecache int32 `json:"-"` + LogPath string `protobuf:"bytes,15,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` + // Resource limits configuration of the container. + Resources *ContainerResources `protobuf:"bytes,16,opt,name=resources,proto3" json:"resources,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ContainerStatus) Reset() { *m = ContainerStatus{} } @@ -5429,6 +5471,13 @@ func (m *ContainerStatus) GetLogPath() string { return "" } +func (m *ContainerStatus) GetResources() *ContainerResources { + if m != nil { + return m.Resources + } + return nil +} + type ContainerStatusResponse struct { // Status of the container. Status *ContainerStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -5487,6 +5536,62 @@ func (m *ContainerStatusResponse) GetInfo() map[string]string { return nil } +// ContainerResources holds resource limits configuration for a container. +type ContainerResources struct { + // Resource limits configuration specific to Linux container. + Linux *LinuxContainerResources `protobuf:"bytes,1,opt,name=linux,proto3" json:"linux,omitempty"` + // Resource limits configuration specific to Windows container. + Windows *WindowsContainerResources `protobuf:"bytes,2,opt,name=windows,proto3" json:"windows,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ContainerResources) Reset() { *m = ContainerResources{} } +func (*ContainerResources) ProtoMessage() {} +func (*ContainerResources) Descriptor() ([]byte, []int) { + return fileDescriptor_00212fb1f9d3bf1c, []int{76} +} +func (m *ContainerResources) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ContainerResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ContainerResources.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ContainerResources) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerResources.Merge(m, src) +} +func (m *ContainerResources) XXX_Size() int { + return m.Size() +} +func (m *ContainerResources) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerResources.DiscardUnknown(m) +} + +var xxx_messageInfo_ContainerResources proto.InternalMessageInfo + +func (m *ContainerResources) GetLinux() *LinuxContainerResources { + if m != nil { + return m.Linux + } + return nil +} + +func (m *ContainerResources) GetWindows() *WindowsContainerResources { + if m != nil { + return m.Windows + } + return nil +} + type UpdateContainerResourcesRequest struct { // ID of the container to update. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` @@ -5505,7 +5610,7 @@ type UpdateContainerResourcesRequest struct { func (m *UpdateContainerResourcesRequest) Reset() { *m = UpdateContainerResourcesRequest{} } func (*UpdateContainerResourcesRequest) ProtoMessage() {} func (*UpdateContainerResourcesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{76} + return fileDescriptor_00212fb1f9d3bf1c, []int{77} } func (m *UpdateContainerResourcesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5570,7 +5675,7 @@ type UpdateContainerResourcesResponse struct { func (m *UpdateContainerResourcesResponse) Reset() { *m = UpdateContainerResourcesResponse{} } func (*UpdateContainerResourcesResponse) ProtoMessage() {} func (*UpdateContainerResourcesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{77} + return fileDescriptor_00212fb1f9d3bf1c, []int{78} } func (m *UpdateContainerResourcesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5613,7 +5718,7 @@ type ExecSyncRequest struct { func (m *ExecSyncRequest) Reset() { *m = ExecSyncRequest{} } func (*ExecSyncRequest) ProtoMessage() {} func (*ExecSyncRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{78} + return fileDescriptor_00212fb1f9d3bf1c, []int{79} } func (m *ExecSyncRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5677,7 +5782,7 @@ type ExecSyncResponse struct { func (m *ExecSyncResponse) Reset() { *m = ExecSyncResponse{} } func (*ExecSyncResponse) ProtoMessage() {} func (*ExecSyncResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{79} + return fileDescriptor_00212fb1f9d3bf1c, []int{80} } func (m *ExecSyncResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5753,7 +5858,7 @@ type ExecRequest struct { func (m *ExecRequest) Reset() { *m = ExecRequest{} } func (*ExecRequest) ProtoMessage() {} func (*ExecRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{80} + return fileDescriptor_00212fb1f9d3bf1c, []int{81} } func (m *ExecRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5834,7 +5939,7 @@ type ExecResponse struct { func (m *ExecResponse) Reset() { *m = ExecResponse{} } func (*ExecResponse) ProtoMessage() {} func (*ExecResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{81} + return fileDescriptor_00212fb1f9d3bf1c, []int{82} } func (m *ExecResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5895,7 +6000,7 @@ type AttachRequest struct { func (m *AttachRequest) Reset() { *m = AttachRequest{} } func (*AttachRequest) ProtoMessage() {} func (*AttachRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{82} + return fileDescriptor_00212fb1f9d3bf1c, []int{83} } func (m *AttachRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5969,7 +6074,7 @@ type AttachResponse struct { func (m *AttachResponse) Reset() { *m = AttachResponse{} } func (*AttachResponse) ProtoMessage() {} func (*AttachResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{83} + return fileDescriptor_00212fb1f9d3bf1c, []int{84} } func (m *AttachResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6017,7 +6122,7 @@ type PortForwardRequest struct { func (m *PortForwardRequest) Reset() { *m = PortForwardRequest{} } func (*PortForwardRequest) ProtoMessage() {} func (*PortForwardRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{84} + return fileDescriptor_00212fb1f9d3bf1c, []int{85} } func (m *PortForwardRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6070,7 +6175,7 @@ type PortForwardResponse struct { func (m *PortForwardResponse) Reset() { *m = PortForwardResponse{} } func (*PortForwardResponse) ProtoMessage() {} func (*PortForwardResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{85} + return fileDescriptor_00212fb1f9d3bf1c, []int{86} } func (m *PortForwardResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6116,7 +6221,7 @@ type ImageFilter struct { func (m *ImageFilter) Reset() { *m = ImageFilter{} } func (*ImageFilter) ProtoMessage() {} func (*ImageFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{86} + return fileDescriptor_00212fb1f9d3bf1c, []int{87} } func (m *ImageFilter) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6162,7 +6267,7 @@ type ListImagesRequest struct { func (m *ListImagesRequest) Reset() { *m = ListImagesRequest{} } func (*ListImagesRequest) ProtoMessage() {} func (*ListImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{87} + return fileDescriptor_00212fb1f9d3bf1c, []int{88} } func (m *ListImagesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6228,7 +6333,7 @@ type Image struct { func (m *Image) Reset() { *m = Image{} } func (*Image) ProtoMessage() {} func (*Image) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{88} + return fileDescriptor_00212fb1f9d3bf1c, []int{89} } func (m *Image) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6323,7 +6428,7 @@ type ListImagesResponse struct { func (m *ListImagesResponse) Reset() { *m = ListImagesResponse{} } func (*ListImagesResponse) ProtoMessage() {} func (*ListImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{89} + return fileDescriptor_00212fb1f9d3bf1c, []int{90} } func (m *ListImagesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6371,7 +6476,7 @@ type ImageStatusRequest struct { func (m *ImageStatusRequest) Reset() { *m = ImageStatusRequest{} } func (*ImageStatusRequest) ProtoMessage() {} func (*ImageStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{90} + return fileDescriptor_00212fb1f9d3bf1c, []int{91} } func (m *ImageStatusRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6429,7 +6534,7 @@ type ImageStatusResponse struct { func (m *ImageStatusResponse) Reset() { *m = ImageStatusResponse{} } func (*ImageStatusResponse) ProtoMessage() {} func (*ImageStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{91} + return fileDescriptor_00212fb1f9d3bf1c, []int{92} } func (m *ImageStatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6490,7 +6595,7 @@ type AuthConfig struct { func (m *AuthConfig) Reset() { *m = AuthConfig{} } func (*AuthConfig) ProtoMessage() {} func (*AuthConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{92} + return fileDescriptor_00212fb1f9d3bf1c, []int{93} } func (m *AuthConfig) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6575,7 +6680,7 @@ type PullImageRequest struct { func (m *PullImageRequest) Reset() { *m = PullImageRequest{} } func (*PullImageRequest) ProtoMessage() {} func (*PullImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{93} + return fileDescriptor_00212fb1f9d3bf1c, []int{94} } func (m *PullImageRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6636,7 +6741,7 @@ type PullImageResponse struct { func (m *PullImageResponse) Reset() { *m = PullImageResponse{} } func (*PullImageResponse) ProtoMessage() {} func (*PullImageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{94} + return fileDescriptor_00212fb1f9d3bf1c, []int{95} } func (m *PullImageResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6682,7 +6787,7 @@ type RemoveImageRequest struct { func (m *RemoveImageRequest) Reset() { *m = RemoveImageRequest{} } func (*RemoveImageRequest) ProtoMessage() {} func (*RemoveImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{95} + return fileDescriptor_00212fb1f9d3bf1c, []int{96} } func (m *RemoveImageRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6726,7 +6831,7 @@ type RemoveImageResponse struct { func (m *RemoveImageResponse) Reset() { *m = RemoveImageResponse{} } func (*RemoveImageResponse) ProtoMessage() {} func (*RemoveImageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{96} + return fileDescriptor_00212fb1f9d3bf1c, []int{97} } func (m *RemoveImageResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6766,7 +6871,7 @@ type NetworkConfig struct { func (m *NetworkConfig) Reset() { *m = NetworkConfig{} } func (*NetworkConfig) ProtoMessage() {} func (*NetworkConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{97} + return fileDescriptor_00212fb1f9d3bf1c, []int{98} } func (m *NetworkConfig) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6811,7 +6916,7 @@ type RuntimeConfig struct { func (m *RuntimeConfig) Reset() { *m = RuntimeConfig{} } func (*RuntimeConfig) ProtoMessage() {} func (*RuntimeConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{98} + return fileDescriptor_00212fb1f9d3bf1c, []int{99} } func (m *RuntimeConfig) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6856,7 +6961,7 @@ type UpdateRuntimeConfigRequest struct { func (m *UpdateRuntimeConfigRequest) Reset() { *m = UpdateRuntimeConfigRequest{} } func (*UpdateRuntimeConfigRequest) ProtoMessage() {} func (*UpdateRuntimeConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{99} + return fileDescriptor_00212fb1f9d3bf1c, []int{100} } func (m *UpdateRuntimeConfigRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6900,7 +7005,7 @@ type UpdateRuntimeConfigResponse struct { func (m *UpdateRuntimeConfigResponse) Reset() { *m = UpdateRuntimeConfigResponse{} } func (*UpdateRuntimeConfigResponse) ProtoMessage() {} func (*UpdateRuntimeConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{100} + return fileDescriptor_00212fb1f9d3bf1c, []int{101} } func (m *UpdateRuntimeConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6934,10 +7039,11 @@ var xxx_messageInfo_UpdateRuntimeConfigResponse proto.InternalMessageInfo // 1. Required conditions: Conditions are required for kubelet to work // properly. If any required condition is unmet, the node will be not ready. // The required conditions include: -// * RuntimeReady: RuntimeReady means the runtime is up and ready to accept -// basic containers e.g. container only needs host network. -// * NetworkReady: NetworkReady means the runtime network is up and ready to -// accept containers which require container network. +// - RuntimeReady: RuntimeReady means the runtime is up and ready to accept +// basic containers e.g. container only needs host network. +// - NetworkReady: NetworkReady means the runtime network is up and ready to +// accept containers which require container network. +// // 2. Optional conditions: Conditions are informative to the user, but kubelet // will not rely on. Since condition type is an arbitrary string, all conditions // not required are optional. These conditions will be exposed to users to help @@ -6958,7 +7064,7 @@ type RuntimeCondition struct { func (m *RuntimeCondition) Reset() { *m = RuntimeCondition{} } func (*RuntimeCondition) ProtoMessage() {} func (*RuntimeCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{101} + return fileDescriptor_00212fb1f9d3bf1c, []int{102} } func (m *RuntimeCondition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7026,7 +7132,7 @@ type RuntimeStatus struct { func (m *RuntimeStatus) Reset() { *m = RuntimeStatus{} } func (*RuntimeStatus) ProtoMessage() {} func (*RuntimeStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{102} + return fileDescriptor_00212fb1f9d3bf1c, []int{103} } func (m *RuntimeStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7072,7 +7178,7 @@ type StatusRequest struct { func (m *StatusRequest) Reset() { *m = StatusRequest{} } func (*StatusRequest) ProtoMessage() {} func (*StatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{103} + return fileDescriptor_00212fb1f9d3bf1c, []int{104} } func (m *StatusRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7123,7 +7229,7 @@ type StatusResponse struct { func (m *StatusResponse) Reset() { *m = StatusResponse{} } func (*StatusResponse) ProtoMessage() {} func (*StatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{104} + return fileDescriptor_00212fb1f9d3bf1c, []int{105} } func (m *StatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7174,7 +7280,7 @@ type ImageFsInfoRequest struct { func (m *ImageFsInfoRequest) Reset() { *m = ImageFsInfoRequest{} } func (*ImageFsInfoRequest) ProtoMessage() {} func (*ImageFsInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{105} + return fileDescriptor_00212fb1f9d3bf1c, []int{106} } func (m *ImageFsInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7214,7 +7320,7 @@ type UInt64Value struct { func (m *UInt64Value) Reset() { *m = UInt64Value{} } func (*UInt64Value) ProtoMessage() {} func (*UInt64Value) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{106} + return fileDescriptor_00212fb1f9d3bf1c, []int{107} } func (m *UInt64Value) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7261,7 +7367,7 @@ type FilesystemIdentifier struct { func (m *FilesystemIdentifier) Reset() { *m = FilesystemIdentifier{} } func (*FilesystemIdentifier) ProtoMessage() {} func (*FilesystemIdentifier) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{107} + return fileDescriptor_00212fb1f9d3bf1c, []int{108} } func (m *FilesystemIdentifier) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7318,7 +7424,7 @@ type FilesystemUsage struct { func (m *FilesystemUsage) Reset() { *m = FilesystemUsage{} } func (*FilesystemUsage) ProtoMessage() {} func (*FilesystemUsage) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{108} + return fileDescriptor_00212fb1f9d3bf1c, []int{109} } func (m *FilesystemUsage) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7385,7 +7491,7 @@ type ImageFsInfoResponse struct { func (m *ImageFsInfoResponse) Reset() { *m = ImageFsInfoResponse{} } func (*ImageFsInfoResponse) ProtoMessage() {} func (*ImageFsInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{109} + return fileDescriptor_00212fb1f9d3bf1c, []int{110} } func (m *ImageFsInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7431,7 +7537,7 @@ type ContainerStatsRequest struct { func (m *ContainerStatsRequest) Reset() { *m = ContainerStatsRequest{} } func (*ContainerStatsRequest) ProtoMessage() {} func (*ContainerStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{110} + return fileDescriptor_00212fb1f9d3bf1c, []int{111} } func (m *ContainerStatsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7477,7 +7583,7 @@ type ContainerStatsResponse struct { func (m *ContainerStatsResponse) Reset() { *m = ContainerStatsResponse{} } func (*ContainerStatsResponse) ProtoMessage() {} func (*ContainerStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{111} + return fileDescriptor_00212fb1f9d3bf1c, []int{112} } func (m *ContainerStatsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7523,7 +7629,7 @@ type ListContainerStatsRequest struct { func (m *ListContainerStatsRequest) Reset() { *m = ListContainerStatsRequest{} } func (*ListContainerStatsRequest) ProtoMessage() {} func (*ListContainerStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{112} + return fileDescriptor_00212fb1f9d3bf1c, []int{113} } func (m *ListContainerStatsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7577,7 +7683,7 @@ type ContainerStatsFilter struct { func (m *ContainerStatsFilter) Reset() { *m = ContainerStatsFilter{} } func (*ContainerStatsFilter) ProtoMessage() {} func (*ContainerStatsFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{113} + return fileDescriptor_00212fb1f9d3bf1c, []int{114} } func (m *ContainerStatsFilter) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7637,7 +7743,7 @@ type ListContainerStatsResponse struct { func (m *ListContainerStatsResponse) Reset() { *m = ListContainerStatsResponse{} } func (*ListContainerStatsResponse) ProtoMessage() {} func (*ListContainerStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{114} + return fileDescriptor_00212fb1f9d3bf1c, []int{115} } func (m *ListContainerStatsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7693,7 +7799,7 @@ type ContainerAttributes struct { func (m *ContainerAttributes) Reset() { *m = ContainerAttributes{} } func (*ContainerAttributes) ProtoMessage() {} func (*ContainerAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{115} + return fileDescriptor_00212fb1f9d3bf1c, []int{116} } func (m *ContainerAttributes) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7767,7 +7873,7 @@ type ContainerStats struct { func (m *ContainerStats) Reset() { *m = ContainerStats{} } func (*ContainerStats) ProtoMessage() {} func (*ContainerStats) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{116} + return fileDescriptor_00212fb1f9d3bf1c, []int{117} } func (m *ContainerStats) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7840,7 +7946,7 @@ type CpuUsage struct { func (m *CpuUsage) Reset() { *m = CpuUsage{} } func (*CpuUsage) ProtoMessage() {} func (*CpuUsage) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{117} + return fileDescriptor_00212fb1f9d3bf1c, []int{118} } func (m *CpuUsage) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7913,7 +8019,7 @@ type MemoryUsage struct { func (m *MemoryUsage) Reset() { *m = MemoryUsage{} } func (*MemoryUsage) ProtoMessage() {} func (*MemoryUsage) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{118} + return fileDescriptor_00212fb1f9d3bf1c, []int{119} } func (m *MemoryUsage) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8001,7 +8107,7 @@ type ReopenContainerLogRequest struct { func (m *ReopenContainerLogRequest) Reset() { *m = ReopenContainerLogRequest{} } func (*ReopenContainerLogRequest) ProtoMessage() {} func (*ReopenContainerLogRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{119} + return fileDescriptor_00212fb1f9d3bf1c, []int{120} } func (m *ReopenContainerLogRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8045,7 +8151,7 @@ type ReopenContainerLogResponse struct { func (m *ReopenContainerLogResponse) Reset() { *m = ReopenContainerLogResponse{} } func (*ReopenContainerLogResponse) ProtoMessage() {} func (*ReopenContainerLogResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{120} + return fileDescriptor_00212fb1f9d3bf1c, []int{121} } func (m *ReopenContainerLogResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8074,12 +8180,226 @@ func (m *ReopenContainerLogResponse) XXX_DiscardUnknown() { var xxx_messageInfo_ReopenContainerLogResponse proto.InternalMessageInfo +type CheckpointContainerRequest struct { + // ID of the container to be checkpointed. + ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` + // Location of the checkpoint archive used for export + Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"` + // Timeout in seconds for the checkpoint to complete. + // Timeout of zero means to use the CRI default. + // Timeout > 0 means to use the user specified timeout. + Timeout int64 `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CheckpointContainerRequest) Reset() { *m = CheckpointContainerRequest{} } +func (*CheckpointContainerRequest) ProtoMessage() {} +func (*CheckpointContainerRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00212fb1f9d3bf1c, []int{122} +} +func (m *CheckpointContainerRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CheckpointContainerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CheckpointContainerRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CheckpointContainerRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CheckpointContainerRequest.Merge(m, src) +} +func (m *CheckpointContainerRequest) XXX_Size() int { + return m.Size() +} +func (m *CheckpointContainerRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CheckpointContainerRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CheckpointContainerRequest proto.InternalMessageInfo + +func (m *CheckpointContainerRequest) GetContainerId() string { + if m != nil { + return m.ContainerId + } + return "" +} + +func (m *CheckpointContainerRequest) GetLocation() string { + if m != nil { + return m.Location + } + return "" +} + +func (m *CheckpointContainerRequest) GetTimeout() int64 { + if m != nil { + return m.Timeout + } + return 0 +} + +type CheckpointContainerResponse struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CheckpointContainerResponse) Reset() { *m = CheckpointContainerResponse{} } +func (*CheckpointContainerResponse) ProtoMessage() {} +func (*CheckpointContainerResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00212fb1f9d3bf1c, []int{123} +} +func (m *CheckpointContainerResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CheckpointContainerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CheckpointContainerResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CheckpointContainerResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CheckpointContainerResponse.Merge(m, src) +} +func (m *CheckpointContainerResponse) XXX_Size() int { + return m.Size() +} +func (m *CheckpointContainerResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CheckpointContainerResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CheckpointContainerResponse proto.InternalMessageInfo + +type GetEventsRequest struct { + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetEventsRequest) Reset() { *m = GetEventsRequest{} } +func (*GetEventsRequest) ProtoMessage() {} +func (*GetEventsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_00212fb1f9d3bf1c, []int{124} +} +func (m *GetEventsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetEventsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetEventsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetEventsRequest.Merge(m, src) +} +func (m *GetEventsRequest) XXX_Size() int { + return m.Size() +} +func (m *GetEventsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetEventsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetEventsRequest proto.InternalMessageInfo + +type ContainerEventResponse struct { + // ID of the container + ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` + // Type of the container event + ContainerEventType ContainerEventType `protobuf:"varint,2,opt,name=container_event_type,json=containerEventType,proto3,enum=runtime.v1.ContainerEventType" json:"container_event_type,omitempty"` + // Creation timestamp of this event + CreatedAt int64 `protobuf:"varint,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + // ID of the sandbox container + PodSandboxMetadata *PodSandboxMetadata `protobuf:"bytes,4,opt,name=pod_sandbox_metadata,json=podSandboxMetadata,proto3" json:"pod_sandbox_metadata,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ContainerEventResponse) Reset() { *m = ContainerEventResponse{} } +func (*ContainerEventResponse) ProtoMessage() {} +func (*ContainerEventResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_00212fb1f9d3bf1c, []int{125} +} +func (m *ContainerEventResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ContainerEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ContainerEventResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ContainerEventResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerEventResponse.Merge(m, src) +} +func (m *ContainerEventResponse) XXX_Size() int { + return m.Size() +} +func (m *ContainerEventResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerEventResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ContainerEventResponse proto.InternalMessageInfo + +func (m *ContainerEventResponse) GetContainerId() string { + if m != nil { + return m.ContainerId + } + return "" +} + +func (m *ContainerEventResponse) GetContainerEventType() ContainerEventType { + if m != nil { + return m.ContainerEventType + } + return ContainerEventType_CONTAINER_CREATED_EVENT +} + +func (m *ContainerEventResponse) GetCreatedAt() int64 { + if m != nil { + return m.CreatedAt + } + return 0 +} + +func (m *ContainerEventResponse) GetPodSandboxMetadata() *PodSandboxMetadata { + if m != nil { + return m.PodSandboxMetadata + } + return nil +} + func init() { proto.RegisterEnum("runtime.v1.Protocol", Protocol_name, Protocol_value) proto.RegisterEnum("runtime.v1.MountPropagation", MountPropagation_name, MountPropagation_value) proto.RegisterEnum("runtime.v1.NamespaceMode", NamespaceMode_name, NamespaceMode_value) proto.RegisterEnum("runtime.v1.PodSandboxState", PodSandboxState_name, PodSandboxState_value) proto.RegisterEnum("runtime.v1.ContainerState", ContainerState_name, ContainerState_value) + proto.RegisterEnum("runtime.v1.ContainerEventType", ContainerEventType_name, ContainerEventType_value) proto.RegisterEnum("runtime.v1.SecurityProfile_ProfileType", SecurityProfile_ProfileType_name, SecurityProfile_ProfileType_value) proto.RegisterType((*VersionRequest)(nil), "runtime.v1.VersionRequest") proto.RegisterType((*VersionResponse)(nil), "runtime.v1.VersionResponse") @@ -8179,6 +8499,7 @@ func init() { proto.RegisterMapType((map[string]string)(nil), "runtime.v1.ContainerStatus.LabelsEntry") proto.RegisterType((*ContainerStatusResponse)(nil), "runtime.v1.ContainerStatusResponse") proto.RegisterMapType((map[string]string)(nil), "runtime.v1.ContainerStatusResponse.InfoEntry") + proto.RegisterType((*ContainerResources)(nil), "runtime.v1.ContainerResources") proto.RegisterType((*UpdateContainerResourcesRequest)(nil), "runtime.v1.UpdateContainerResourcesRequest") proto.RegisterMapType((map[string]string)(nil), "runtime.v1.UpdateContainerResourcesRequest.AnnotationsEntry") proto.RegisterType((*UpdateContainerResourcesResponse)(nil), "runtime.v1.UpdateContainerResourcesResponse") @@ -8230,373 +8551,391 @@ func init() { proto.RegisterType((*MemoryUsage)(nil), "runtime.v1.MemoryUsage") proto.RegisterType((*ReopenContainerLogRequest)(nil), "runtime.v1.ReopenContainerLogRequest") proto.RegisterType((*ReopenContainerLogResponse)(nil), "runtime.v1.ReopenContainerLogResponse") + proto.RegisterType((*CheckpointContainerRequest)(nil), "runtime.v1.CheckpointContainerRequest") + proto.RegisterType((*CheckpointContainerResponse)(nil), "runtime.v1.CheckpointContainerResponse") + proto.RegisterType((*GetEventsRequest)(nil), "runtime.v1.GetEventsRequest") + proto.RegisterType((*ContainerEventResponse)(nil), "runtime.v1.ContainerEventResponse") } func init() { proto.RegisterFile("api.proto", fileDescriptor_00212fb1f9d3bf1c) } var fileDescriptor_00212fb1f9d3bf1c = []byte{ - // 5772 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x3c, 0x4b, 0x70, 0x1b, 0xc9, - 0x75, 0x1c, 0x00, 0x24, 0x81, 0x07, 0x02, 0x04, 0x5b, 0x14, 0x09, 0x41, 0x9f, 0x95, 0x46, 0xde, - 0x8f, 0xa4, 0x5d, 0x52, 0xab, 0xd5, 0xae, 0xb5, 0xf4, 0x7e, 0x04, 0x91, 0xdc, 0x5d, 0xac, 0x25, - 0x12, 0x1e, 0x90, 0xeb, 0x5f, 0xca, 0x93, 0x11, 0xa6, 0x09, 0xce, 0x0a, 0x98, 0x19, 0xcf, 0x0c, - 0x24, 0xd1, 0x27, 0x5f, 0x93, 0x53, 0xaa, 0x1c, 0x97, 0xab, 0x5c, 0xa9, 0xa4, 0x72, 0xca, 0x21, - 0x07, 0xe7, 0x92, 0x54, 0xaa, 0x52, 0x49, 0x2e, 0xa9, 0x94, 0x93, 0x2a, 0x57, 0xf9, 0x92, 0x2a, - 0x1f, 0x52, 0x15, 0x7b, 0x73, 0xcb, 0x21, 0x27, 0x1f, 0x72, 0x73, 0xaa, 0x7f, 0x33, 0xd3, 0x33, - 0x83, 0x01, 0xa8, 0x5d, 0xef, 0xee, 0x89, 0xe8, 0xd7, 0xef, 0xbd, 0x7e, 0xdd, 0xfd, 0xfa, 0xf5, - 0xeb, 0xf7, 0xde, 0x10, 0x2a, 0x86, 0x6b, 0x6d, 0xb8, 0x9e, 0x13, 0x38, 0x08, 0xbc, 0xb1, 0x1d, - 0x58, 0x23, 0xbc, 0xf1, 0xf8, 0xd5, 0xd6, 0x2b, 0x03, 0x2b, 0x38, 0x1e, 0x3f, 0xdc, 0xe8, 0x3b, - 0xa3, 0xcd, 0x81, 0x33, 0x70, 0x36, 0x29, 0xca, 0xc3, 0xf1, 0x11, 0x6d, 0xd1, 0x06, 0xfd, 0xc5, - 0x48, 0xd5, 0xeb, 0x50, 0xff, 0x08, 0x7b, 0xbe, 0xe5, 0xd8, 0x1a, 0xfe, 0xfe, 0x18, 0xfb, 0x01, - 0x6a, 0xc2, 0xe2, 0x63, 0x06, 0x69, 0x2a, 0x97, 0x95, 0x97, 0x2a, 0x9a, 0x68, 0xaa, 0x7f, 0xa5, - 0xc0, 0x72, 0x88, 0xec, 0xbb, 0x8e, 0xed, 0xe3, 0xc9, 0xd8, 0xe8, 0x0a, 0x2c, 0x71, 0xb1, 0x74, - 0xdb, 0x18, 0xe1, 0x66, 0x81, 0x76, 0x57, 0x39, 0x6c, 0xcf, 0x18, 0x61, 0xf4, 0x22, 0x2c, 0x0b, - 0x14, 0xc1, 0xa4, 0x48, 0xb1, 0xea, 0x1c, 0xcc, 0x47, 0x43, 0x1b, 0x70, 0x46, 0x20, 0x1a, 0xae, - 0x15, 0x22, 0x97, 0x28, 0xf2, 0x0a, 0xef, 0x6a, 0xbb, 0x16, 0xc7, 0x57, 0xbf, 0x0b, 0x95, 0x9d, - 0xbd, 0xde, 0xb6, 0x63, 0x1f, 0x59, 0x03, 0x22, 0xa2, 0x8f, 0x3d, 0x42, 0xd3, 0x54, 0x2e, 0x17, - 0x89, 0x88, 0xbc, 0x89, 0x5a, 0x50, 0xf6, 0xb1, 0xe1, 0xf5, 0x8f, 0xb1, 0xdf, 0x2c, 0xd0, 0xae, - 0xb0, 0x4d, 0xa8, 0x1c, 0x37, 0xb0, 0x1c, 0xdb, 0x6f, 0x16, 0x19, 0x15, 0x6f, 0xaa, 0x7f, 0xa6, - 0x40, 0xb5, 0xeb, 0x78, 0xc1, 0x03, 0xc3, 0x75, 0x2d, 0x7b, 0x80, 0x6e, 0x42, 0x99, 0xae, 0x65, - 0xdf, 0x19, 0xd2, 0x35, 0xa8, 0xdf, 0x5a, 0xdd, 0x88, 0x36, 0x64, 0xa3, 0xcb, 0xfb, 0xb4, 0x10, - 0x0b, 0x3d, 0x0f, 0xf5, 0xbe, 0x63, 0x07, 0x86, 0x65, 0x63, 0x4f, 0x77, 0x1d, 0x2f, 0xa0, 0x8b, - 0x33, 0xaf, 0xd5, 0x42, 0x28, 0xe1, 0x8f, 0xce, 0x43, 0xe5, 0xd8, 0xf1, 0x03, 0x86, 0x51, 0xa4, - 0x18, 0x65, 0x02, 0xa0, 0x9d, 0xeb, 0xb0, 0x48, 0x3b, 0x2d, 0x97, 0x2f, 0xc3, 0x02, 0x69, 0x76, - 0x5c, 0xf5, 0x97, 0x0a, 0xcc, 0x3f, 0x70, 0xc6, 0x76, 0x90, 0x18, 0xc6, 0x08, 0x8e, 0xf9, 0x16, - 0xc5, 0x86, 0x31, 0x82, 0xe3, 0x68, 0x18, 0x82, 0xc1, 0x76, 0x89, 0x0d, 0x43, 0x3a, 0x5b, 0x50, - 0xf6, 0xb0, 0x61, 0x3a, 0xf6, 0xf0, 0x84, 0x8a, 0x50, 0xd6, 0xc2, 0x36, 0xd9, 0x3e, 0x1f, 0x0f, - 0x2d, 0x7b, 0xfc, 0x54, 0xf7, 0xf0, 0xd0, 0x78, 0x88, 0x87, 0x54, 0x94, 0xb2, 0x56, 0xe7, 0x60, - 0x8d, 0x41, 0xd1, 0x3b, 0x50, 0x75, 0x3d, 0xc7, 0x35, 0x06, 0x06, 0x59, 0xc1, 0xe6, 0x3c, 0x5d, - 0xa4, 0x0b, 0xf1, 0x45, 0xa2, 0x02, 0x77, 0x23, 0x1c, 0x2d, 0x4e, 0xa0, 0xea, 0x50, 0xe9, 0xec, - 0x88, 0xe5, 0x0e, 0x27, 0x6e, 0xd2, 0xe9, 0xd4, 0xf8, 0xc4, 0x4d, 0xa2, 0x70, 0xd1, 0x74, 0x2d, - 0x93, 0x4e, 0xa5, 0xa6, 0x55, 0x43, 0x58, 0xc7, 0x44, 0x6b, 0xb0, 0x30, 0xc4, 0xf6, 0x20, 0x38, - 0xa6, 0x73, 0xa9, 0x69, 0xbc, 0xa5, 0xfe, 0xa9, 0x02, 0xb5, 0x43, 0x1f, 0x7b, 0x44, 0x2b, 0x7d, - 0xd7, 0xe8, 0x63, 0xf4, 0x0a, 0x94, 0x46, 0x8e, 0x89, 0xf9, 0x86, 0x9e, 0x8b, 0xcb, 0x1a, 0x22, - 0x3d, 0x70, 0x4c, 0xac, 0x51, 0x34, 0x74, 0x0d, 0x4a, 0x63, 0xcb, 0x64, 0x5a, 0x54, 0xbd, 0x75, - 0x36, 0x8e, 0x1e, 0x4a, 0xae, 0x51, 0x14, 0x82, 0x3a, 0x20, 0xa8, 0xc5, 0x5c, 0x54, 0x82, 0xa2, - 0xfe, 0x4e, 0x81, 0xe5, 0x70, 0xb4, 0x7d, 0xaa, 0x7e, 0xe8, 0x35, 0x58, 0xb4, 0x71, 0xf0, 0xc4, - 0xf1, 0x1e, 0x4d, 0x97, 0x4d, 0x60, 0xa2, 0x1b, 0x50, 0x74, 0xf9, 0x8a, 0xe4, 0x12, 0x10, 0x2c, - 0x82, 0x6c, 0xb9, 0x7d, 0xba, 0x42, 0xf9, 0xc8, 0x96, 0xdb, 0x27, 0xca, 0x13, 0x18, 0xde, 0x00, - 0xd3, 0xfd, 0x60, 0x8a, 0x58, 0x66, 0x80, 0x8e, 0x89, 0xee, 0x42, 0x7d, 0xec, 0x63, 0xcf, 0xf6, - 0x75, 0x71, 0x94, 0xc8, 0xd6, 0x57, 0x65, 0xa6, 0xd2, 0xba, 0x6b, 0x35, 0x46, 0xb0, 0xcf, 0xcf, - 0x9a, 0x0a, 0xd0, 0xb1, 0x83, 0x37, 0x6e, 0x7f, 0x64, 0x0c, 0xc7, 0x18, 0xad, 0xc2, 0xfc, 0x63, - 0xf2, 0x83, 0xce, 0xbc, 0xa8, 0xb1, 0x86, 0xfa, 0x8f, 0x25, 0x38, 0x7f, 0x9f, 0xa8, 0x5b, 0xcf, - 0xb0, 0xcd, 0x87, 0xce, 0xd3, 0x1e, 0xee, 0x8f, 0x3d, 0x2b, 0x38, 0xd9, 0x76, 0xec, 0x00, 0x3f, - 0x0d, 0xd0, 0x07, 0xb0, 0x62, 0x0b, 0xfe, 0xa1, 0x20, 0x0a, 0x15, 0xe4, 0x7c, 0xe6, 0xec, 0xd8, - 0xe0, 0x5a, 0xc3, 0x96, 0x01, 0x3e, 0xba, 0x17, 0x29, 0xbc, 0xe0, 0x53, 0x48, 0x4f, 0xa8, 0xb7, - 0x4b, 0xa5, 0xe1, 0x5c, 0xc4, 0x59, 0x10, 0x3c, 0xde, 0x00, 0x62, 0x02, 0x75, 0xc3, 0xd7, 0xc9, - 0x4c, 0xe9, 0x2a, 0x57, 0x6f, 0xad, 0x49, 0x5a, 0x10, 0x4e, 0x58, 0xab, 0x78, 0x63, 0xbb, 0xed, - 0x93, 0x15, 0x42, 0x77, 0xa8, 0x39, 0x25, 0x74, 0x03, 0xcf, 0x19, 0xbb, 0xcd, 0x72, 0x2e, 0x21, - 0x50, 0xc2, 0xf7, 0x09, 0x26, 0xb5, 0xb2, 0xfc, 0xc8, 0xea, 0x9e, 0xe3, 0x04, 0x47, 0xbe, 0x38, - 0xa6, 0x02, 0xac, 0x51, 0x28, 0xda, 0x84, 0x33, 0xfe, 0xd8, 0x75, 0x87, 0x78, 0x84, 0xed, 0xc0, - 0x18, 0xb2, 0x81, 0xc8, 0x9e, 0x15, 0x5f, 0x2a, 0x6a, 0x28, 0xde, 0x45, 0x19, 0xfb, 0xe8, 0x12, - 0x80, 0xeb, 0x59, 0x8f, 0xad, 0x21, 0x1e, 0x60, 0xb3, 0xb9, 0x40, 0x99, 0xc6, 0x20, 0xe8, 0x75, - 0x62, 0x79, 0xfb, 0x7d, 0x67, 0xe4, 0x36, 0x2b, 0xe9, 0xf5, 0x16, 0xfb, 0xd4, 0xf5, 0x9c, 0x23, - 0x6b, 0x88, 0x35, 0x81, 0x8b, 0xbe, 0x0a, 0x65, 0xc3, 0x75, 0x0d, 0x6f, 0xe4, 0x78, 0x4d, 0x98, - 0x4e, 0x17, 0x22, 0xa3, 0xdb, 0xb0, 0xca, 0x79, 0xe8, 0x2e, 0xeb, 0x64, 0x46, 0x6d, 0x91, 0xe8, - 0xe5, 0xbd, 0x42, 0x53, 0xd1, 0x10, 0xef, 0xe7, 0xb4, 0xc4, 0xc4, 0xa9, 0xff, 0xa2, 0xc0, 0x72, - 0x82, 0x27, 0xfa, 0x10, 0x96, 0x04, 0x87, 0xe0, 0xc4, 0x15, 0x66, 0xe0, 0xc5, 0x1c, 0x31, 0x36, - 0xf8, 0xdf, 0x83, 0x13, 0x17, 0x53, 0xeb, 0x25, 0x1a, 0xe8, 0x2a, 0xd4, 0x86, 0x4e, 0xdf, 0x18, - 0x52, 0xab, 0xe5, 0xe1, 0x23, 0x6e, 0x63, 0x97, 0x42, 0xa0, 0x86, 0x8f, 0xd4, 0xbb, 0x50, 0x8d, - 0x31, 0x40, 0x08, 0xea, 0x1a, 0x1b, 0x6a, 0x07, 0x1f, 0x19, 0xe3, 0x61, 0xd0, 0x98, 0x43, 0x75, - 0x80, 0x43, 0xbb, 0x4f, 0xee, 0x34, 0x1b, 0x9b, 0x0d, 0x05, 0xd5, 0xa0, 0x72, 0x5f, 0xb0, 0x68, - 0x14, 0xd4, 0x9f, 0x16, 0xe1, 0x2c, 0x55, 0xbc, 0xae, 0x63, 0xf2, 0x93, 0xc0, 0x2f, 0xc0, 0xab, - 0x50, 0xeb, 0xd3, 0xbd, 0xd4, 0x5d, 0xc3, 0xc3, 0x76, 0xc0, 0xaf, 0x81, 0x25, 0x06, 0xec, 0x52, - 0x18, 0xd2, 0xa0, 0xe1, 0xf3, 0x19, 0xe9, 0x7d, 0x76, 0x72, 0xb8, 0x72, 0x4b, 0xb3, 0xce, 0x39, - 0x68, 0xda, 0xb2, 0x9f, 0x3a, 0x79, 0x8b, 0xfe, 0x89, 0xdf, 0x0f, 0x86, 0xc2, 0xda, 0x6d, 0xa4, - 0x58, 0x25, 0x85, 0xdd, 0xe8, 0x31, 0x82, 0x5d, 0x3b, 0xf0, 0x4e, 0x34, 0x41, 0x8e, 0xde, 0x85, - 0xb2, 0xf3, 0x18, 0x7b, 0xc7, 0xd8, 0x60, 0x56, 0xa6, 0x7a, 0xeb, 0x6a, 0x8a, 0xd5, 0xb6, 0x30, - 0xf4, 0x1a, 0xf6, 0x9d, 0xb1, 0xd7, 0xc7, 0xbe, 0x16, 0x12, 0xa1, 0x36, 0x54, 0x3c, 0x01, 0xe6, - 0x56, 0x68, 0x26, 0x0e, 0x11, 0x55, 0x6b, 0x0b, 0x96, 0xe2, 0xc2, 0xa1, 0x06, 0x14, 0x1f, 0xe1, - 0x13, 0xbe, 0x98, 0xe4, 0x67, 0x64, 0x9f, 0xd8, 0x0e, 0xb3, 0xc6, 0x56, 0xe1, 0x8e, 0xa2, 0x7a, - 0x80, 0xa2, 0x99, 0x3e, 0xc0, 0x81, 0x61, 0x1a, 0x81, 0x81, 0x10, 0x94, 0xa8, 0x6b, 0xc4, 0x58, - 0xd0, 0xdf, 0x84, 0xeb, 0x98, 0x9b, 0xea, 0x8a, 0x46, 0x7e, 0xa2, 0x0b, 0x50, 0x09, 0x2d, 0x11, - 0xf7, 0x8f, 0x22, 0x00, 0xf1, 0x53, 0x8c, 0x20, 0xc0, 0x23, 0x37, 0xa0, 0x0b, 0x53, 0xd3, 0x44, - 0x53, 0xfd, 0xa3, 0x79, 0x68, 0xa4, 0x74, 0x61, 0x0b, 0xca, 0x23, 0x3e, 0x3c, 0xb7, 0x81, 0x97, - 0x24, 0x67, 0x25, 0x25, 0xa4, 0x16, 0xe2, 0x13, 0x5f, 0x80, 0xe8, 0x5a, 0xcc, 0x9b, 0x0b, 0xdb, - 0x4c, 0xc9, 0x07, 0xba, 0x69, 0x79, 0xb8, 0x1f, 0x38, 0xde, 0x09, 0x17, 0x74, 0x69, 0xe8, 0x0c, - 0x76, 0x04, 0x0c, 0xdd, 0x06, 0x30, 0x6d, 0x5f, 0xa7, 0x3a, 0x3c, 0xe0, 0xfb, 0x28, 0x5d, 0x80, - 0xa1, 0xd3, 0xa6, 0x55, 0x4c, 0xdb, 0xe7, 0x22, 0xbf, 0x05, 0x35, 0xe2, 0x01, 0xe9, 0x23, 0x76, - 0x37, 0x32, 0x83, 0x54, 0xbd, 0xb5, 0x2e, 0xcb, 0x1d, 0xfa, 0x63, 0xda, 0x92, 0x1b, 0x35, 0x7c, - 0x74, 0x17, 0x16, 0xa8, 0x13, 0xe2, 0x37, 0x17, 0x28, 0xd9, 0x4b, 0xd9, 0xd3, 0xe5, 0xda, 0x77, - 0x9f, 0xa2, 0x32, 0xe5, 0xe3, 0x74, 0x68, 0x1f, 0xaa, 0x86, 0x6d, 0x3b, 0x81, 0xc1, 0x2c, 0xfe, - 0x22, 0x65, 0xf3, 0x4a, 0x2e, 0x9b, 0x76, 0x84, 0xcf, 0x78, 0xc5, 0x39, 0xa0, 0xaf, 0xc2, 0x3c, - 0xbd, 0x12, 0xb8, 0x0d, 0xbf, 0x32, 0xf5, 0x50, 0x68, 0x0c, 0x1f, 0xbd, 0x0d, 0x8b, 0x4f, 0x2c, - 0xdb, 0x74, 0x9e, 0xf8, 0xdc, 0x9e, 0x4a, 0x2a, 0xfc, 0x4d, 0xd6, 0x95, 0x22, 0x16, 0x34, 0xad, - 0x37, 0xa1, 0x1a, 0x9b, 0xdf, 0x69, 0xf4, 0xb7, 0xf5, 0x0e, 0x34, 0x92, 0x73, 0x3a, 0x95, 0xfe, - 0x8f, 0x61, 0x55, 0x1b, 0xdb, 0x91, 0x68, 0xe2, 0xb1, 0x71, 0x1b, 0x16, 0xb8, 0x36, 0x30, 0x65, - 0xbc, 0x90, 0xb7, 0xac, 0x1a, 0xc7, 0x8d, 0xbf, 0x1b, 0x8e, 0x0d, 0xdb, 0x1c, 0x62, 0x8f, 0x8f, - 0x28, 0xde, 0x0d, 0x1f, 0x30, 0xa8, 0xfa, 0x36, 0x9c, 0x4d, 0x0c, 0xcb, 0x9f, 0x2d, 0x5f, 0x81, - 0xba, 0xeb, 0x98, 0xba, 0xcf, 0xc0, 0xc2, 0x97, 0xac, 0x10, 0xdd, 0x11, 0xb8, 0x1d, 0x93, 0x90, - 0xf7, 0x02, 0xc7, 0x4d, 0x8b, 0x3d, 0x1b, 0x79, 0x13, 0xd6, 0x92, 0xe4, 0x6c, 0x78, 0xf5, 0x5d, - 0x58, 0xd7, 0xf0, 0xc8, 0x79, 0x8c, 0x9f, 0x95, 0x75, 0x0b, 0x9a, 0x69, 0x06, 0x9c, 0xf9, 0xb7, - 0x61, 0x3d, 0x82, 0xf6, 0x02, 0x23, 0x18, 0xfb, 0xa7, 0x62, 0xce, 0xdf, 0x74, 0x0f, 0x1d, 0x9f, - 0x6d, 0x64, 0x59, 0x13, 0x4d, 0x75, 0x1d, 0xe6, 0xbb, 0x8e, 0xd9, 0xe9, 0xa2, 0x3a, 0x14, 0x2c, - 0x97, 0x13, 0x17, 0x2c, 0x57, 0xed, 0xc7, 0xc7, 0xdc, 0x63, 0x5e, 0x27, 0x1b, 0x3a, 0x89, 0x8a, - 0xee, 0x40, 0xdd, 0x30, 0x4d, 0x8b, 0x28, 0x92, 0x31, 0xd4, 0x2d, 0x57, 0x38, 0xcd, 0x2b, 0x89, - 0xad, 0xef, 0x74, 0xb5, 0x5a, 0x84, 0xd8, 0x71, 0x7d, 0xf5, 0x1e, 0x54, 0x22, 0x07, 0xfd, 0xf5, - 0xe8, 0x7d, 0x56, 0x98, 0xee, 0xcb, 0x85, 0x8f, 0xb7, 0xbd, 0xd4, 0x25, 0xc9, 0xc5, 0x7c, 0x1d, - 0x20, 0x34, 0xaa, 0xc2, 0x3d, 0x3c, 0x9b, 0xc9, 0x52, 0x8b, 0x21, 0xaa, 0xff, 0x55, 0x8a, 0x1b, - 0xd9, 0xd8, 0x94, 0xcd, 0x70, 0xca, 0xa6, 0x64, 0x74, 0x0b, 0xa7, 0x34, 0xba, 0xaf, 0xc2, 0xbc, - 0x1f, 0x18, 0x01, 0xe6, 0xfe, 0xf8, 0xf9, 0x6c, 0x42, 0x32, 0x30, 0xd6, 0x18, 0x26, 0xba, 0x08, - 0xd0, 0xf7, 0xb0, 0x11, 0x60, 0x53, 0x37, 0xd8, 0xad, 0x50, 0xd4, 0x2a, 0x1c, 0xd2, 0x0e, 0x88, - 0x15, 0x11, 0x2f, 0x88, 0x8c, 0x8b, 0x70, 0xc2, 0x36, 0x46, 0x6f, 0x89, 0xd0, 0x7a, 0x2d, 0x4c, - 0xb5, 0x5e, 0x9c, 0x94, 0x5b, 0xaf, 0xc8, 0x12, 0x2f, 0xe6, 0x59, 0x62, 0x46, 0x34, 0x8b, 0x25, - 0x2e, 0xe7, 0x59, 0x62, 0xce, 0x26, 0xdf, 0x12, 0x67, 0x18, 0x92, 0x4a, 0x96, 0x21, 0xf9, 0x22, - 0x4d, 0xe7, 0x2f, 0x14, 0x68, 0xa6, 0xcf, 0x33, 0xb7, 0x63, 0xb7, 0x61, 0xc1, 0xa7, 0x90, 0x7c, - 0xfb, 0xc9, 0xa9, 0x38, 0x2e, 0xba, 0x07, 0x25, 0xcb, 0x3e, 0x72, 0xf8, 0xc1, 0xdb, 0xc8, 0xa5, - 0xe1, 0x23, 0x6d, 0x74, 0xec, 0x23, 0x87, 0xad, 0x20, 0xa5, 0x6d, 0x7d, 0x15, 0x2a, 0x21, 0xe8, - 0x54, 0xf3, 0xe9, 0xc0, 0x6a, 0x42, 0x6f, 0xd9, 0xe3, 0x2e, 0x54, 0x74, 0x65, 0x56, 0x45, 0x57, - 0x7f, 0xab, 0xc4, 0x0f, 0xdf, 0x7b, 0xd6, 0x30, 0xc0, 0x5e, 0xea, 0xf0, 0xbd, 0x21, 0xf8, 0xb2, - 0x93, 0x77, 0x39, 0x87, 0x2f, 0x7b, 0x3b, 0xf1, 0x53, 0xf4, 0x11, 0xd4, 0xa9, 0xda, 0xe9, 0x3e, - 0x1e, 0x52, 0xff, 0x85, 0xfb, 0xb0, 0x9b, 0xd9, 0x0c, 0xd8, 0xe8, 0x4c, 0x6d, 0x7b, 0x9c, 0x82, - 0xad, 0x57, 0x6d, 0x18, 0x87, 0xb5, 0xee, 0x02, 0x4a, 0x23, 0x9d, 0x6a, 0x05, 0x1f, 0x10, 0x1b, - 0xe6, 0x07, 0x99, 0xb7, 0xe9, 0x11, 0x15, 0x23, 0x5f, 0x1b, 0x98, 0xa8, 0x1a, 0xc7, 0x55, 0xff, - 0xa3, 0x08, 0x10, 0x75, 0x7e, 0xc9, 0x8d, 0xd7, 0x56, 0x68, 0x44, 0x98, 0x17, 0xa8, 0x66, 0xb3, - 0xcc, 0x34, 0x1f, 0x1d, 0xd9, 0x7c, 0x30, 0x7f, 0xf0, 0xc5, 0x09, 0x0c, 0x4e, 0x6d, 0x38, 0x16, - 0xbf, 0x6c, 0x86, 0xe3, 0x3d, 0x58, 0x4b, 0xaa, 0x09, 0xb7, 0x1a, 0x2f, 0xc3, 0xbc, 0x15, 0xe0, - 0x11, 0x8b, 0x87, 0x26, 0x82, 0x08, 0x31, 0x74, 0x86, 0xa4, 0xbe, 0x03, 0x6b, 0xf2, 0x5e, 0x9d, - 0xce, 0x9d, 0x50, 0xef, 0x27, 0xfd, 0x91, 0xc8, 0x7c, 0x71, 0xfd, 0xc8, 0x0c, 0xc7, 0x24, 0x69, - 0x18, 0xa6, 0xfa, 0xaf, 0x0a, 0x9c, 0x4d, 0x74, 0x4d, 0x38, 0xf8, 0xdf, 0x4d, 0x1d, 0x60, 0x66, - 0xef, 0x6e, 0xe7, 0x8c, 0xf2, 0x39, 0x9e, 0xe2, 0x6f, 0x42, 0x4b, 0xde, 0x1e, 0x69, 0x69, 0xdf, - 0x4c, 0x1c, 0xe5, 0x2b, 0x53, 0x85, 0x0e, 0xcf, 0x73, 0x17, 0xce, 0x67, 0x32, 0x4e, 0xaf, 0x79, - 0x71, 0xc6, 0x35, 0xff, 0xbf, 0x42, 0xdc, 0x66, 0xb7, 0x83, 0xc0, 0xb3, 0x1e, 0x8e, 0x03, 0xfc, - 0xd9, 0x3a, 0x3a, 0x3b, 0xe1, 0xc9, 0x66, 0x76, 0xf6, 0xe5, 0x6c, 0xca, 0x68, 0xf4, 0xcc, 0x33, - 0xde, 0x93, 0xcf, 0x78, 0x89, 0xb2, 0x7a, 0x75, 0x2a, 0xab, 0xdc, 0xd3, 0xfe, 0x45, 0x1e, 0xe2, - 0x7f, 0x53, 0x60, 0x39, 0xb1, 0x2b, 0xe8, 0x2e, 0x80, 0x11, 0x8a, 0xce, 0xf5, 0xe3, 0xf2, 0xb4, - 0x29, 0x6a, 0x31, 0x1a, 0x72, 0x27, 0x32, 0x1f, 0x2e, 0xe3, 0x4e, 0xcc, 0xf0, 0xe1, 0x42, 0x17, - 0xee, 0xad, 0xe8, 0x01, 0xca, 0x02, 0x97, 0x6a, 0xee, 0x03, 0x94, 0xd1, 0x0a, 0x12, 0xf5, 0x47, - 0x05, 0x58, 0xcd, 0xe2, 0x8e, 0x5e, 0x80, 0x62, 0xdf, 0x1d, 0xf3, 0x99, 0x48, 0xc9, 0x93, 0x6d, - 0x77, 0x7c, 0xe8, 0x1b, 0x03, 0xac, 0x11, 0x04, 0xb4, 0x09, 0x0b, 0x23, 0x3c, 0x72, 0xbc, 0x13, - 0x2e, 0xb7, 0x14, 0x02, 0x78, 0x40, 0x7b, 0x18, 0x36, 0x47, 0x43, 0xb7, 0x22, 0x57, 0x97, 0xc9, - 0xdb, 0x94, 0x3c, 0x7a, 0xd6, 0xc5, 0x48, 0x42, 0xff, 0xf6, 0x16, 0x2c, 0xba, 0x9e, 0xd3, 0xc7, - 0xbe, 0xcf, 0x23, 0x14, 0xcd, 0x44, 0x36, 0x87, 0x74, 0x71, 0x1a, 0x8e, 0x88, 0xb6, 0x00, 0xc2, - 0x34, 0x83, 0xb8, 0x99, 0x5a, 0xd2, 0x3c, 0x44, 0x2f, 0x5b, 0x92, 0x18, 0x36, 0x79, 0x25, 0x66, - 0x2f, 0x9c, 0xfa, 0xcf, 0x0a, 0x2c, 0xc5, 0x65, 0x44, 0x17, 0xa0, 0x42, 0x18, 0xfa, 0x81, 0x31, - 0x72, 0x79, 0x0c, 0x3c, 0x02, 0xa0, 0x3d, 0x58, 0x31, 0x59, 0xb0, 0x50, 0xb7, 0xec, 0x00, 0x7b, - 0x47, 0x46, 0x5f, 0x38, 0x3d, 0x57, 0x32, 0xa6, 0xdd, 0x11, 0x38, 0x6c, 0x2e, 0x0d, 0x4e, 0x1b, - 0x82, 0x51, 0x1b, 0x20, 0xe4, 0x23, 0x0e, 0xe5, 0x0c, 0x8c, 0x62, 0x44, 0xea, 0xef, 0x14, 0x38, - 0x9b, 0x89, 0x95, 0x19, 0xfa, 0xba, 0x05, 0x65, 0xef, 0xa9, 0xfe, 0xf0, 0x24, 0xc0, 0x7e, 0xd6, - 0x06, 0x1f, 0xc6, 0xe2, 0xdb, 0x8b, 0xde, 0xd3, 0x7b, 0x04, 0x0f, 0xdd, 0x86, 0x8a, 0xf7, 0x54, - 0xc7, 0x9e, 0xe7, 0x78, 0x42, 0x27, 0x27, 0x12, 0x95, 0xbd, 0xa7, 0xbb, 0x14, 0x91, 0x8c, 0x14, - 0x88, 0x91, 0x4a, 0x53, 0x46, 0x0a, 0xa2, 0x91, 0x82, 0x70, 0xa4, 0xf9, 0x29, 0x23, 0x05, 0x7c, - 0x24, 0xf5, 0x63, 0x58, 0x8a, 0xab, 0xcc, 0x94, 0x2d, 0x7c, 0x0b, 0x6a, 0x5c, 0xa5, 0xf4, 0xbe, - 0x33, 0xb6, 0x83, 0x69, 0xcb, 0xb0, 0xc4, 0xb1, 0xb7, 0x09, 0xb2, 0xfa, 0xd7, 0x0a, 0x54, 0x3a, - 0x23, 0x63, 0x80, 0x7b, 0x2e, 0xee, 0x13, 0x9b, 0x62, 0x91, 0x06, 0x5f, 0x62, 0xd6, 0x40, 0x1f, - 0xc8, 0xf6, 0x91, 0xdd, 0x88, 0x2f, 0x48, 0x59, 0x04, 0xc1, 0x61, 0x8a, 0x51, 0xfc, 0xb4, 0x96, - 0xed, 0x16, 0x94, 0xbf, 0x8e, 0x4f, 0x98, 0xef, 0x3f, 0x23, 0x9d, 0xfa, 0xe3, 0x12, 0xac, 0x4f, - 0x88, 0xd4, 0x52, 0xc7, 0xd1, 0x1d, 0xeb, 0x2e, 0xf6, 0x2c, 0xc7, 0x14, 0x4b, 0xdb, 0x77, 0xc7, - 0x5d, 0x0a, 0x40, 0xe7, 0x81, 0x34, 0xf4, 0xef, 0x8f, 0x1d, 0x7e, 0x37, 0x15, 0xb5, 0x72, 0xdf, - 0x1d, 0x7f, 0x83, 0xb4, 0x05, 0xad, 0x7f, 0x6c, 0x78, 0x98, 0xa9, 0x11, 0xa3, 0xed, 0x51, 0x00, - 0x7a, 0x15, 0xce, 0x32, 0x83, 0xa2, 0x0f, 0xad, 0x91, 0x45, 0x8e, 0x57, 0x4c, 0x77, 0x8a, 0x1a, - 0x62, 0x9d, 0xf7, 0x49, 0x5f, 0xc7, 0x66, 0xda, 0xa2, 0x42, 0xcd, 0x71, 0x46, 0xba, 0xdf, 0x77, - 0x3c, 0xac, 0x1b, 0xe6, 0xc7, 0x54, 0x63, 0x8a, 0x5a, 0xd5, 0x71, 0x46, 0x3d, 0x02, 0x6b, 0x9b, - 0x1f, 0xa3, 0xe7, 0xa0, 0xda, 0x77, 0xc7, 0x3e, 0x0e, 0x74, 0xf2, 0x87, 0xbe, 0xa7, 0x2b, 0x1a, - 0x30, 0xd0, 0xb6, 0x3b, 0xf6, 0x63, 0x08, 0x23, 0xe2, 0xad, 0x2d, 0xc6, 0x11, 0x1e, 0xe0, 0x11, - 0x4d, 0x48, 0x1d, 0x8f, 0x07, 0xd8, 0x35, 0x06, 0x98, 0x89, 0x26, 0x1e, 0xc5, 0x52, 0x42, 0xea, - 0x03, 0x8e, 0x42, 0x05, 0xd4, 0xea, 0xc7, 0xf1, 0xa6, 0x8f, 0x3e, 0x84, 0xc5, 0xb1, 0x6d, 0x1d, - 0x59, 0xd8, 0x6c, 0x56, 0x28, 0xed, 0xcd, 0x19, 0xe2, 0xe2, 0x1b, 0x87, 0x8c, 0x84, 0x87, 0xe9, - 0x39, 0x03, 0xb4, 0x05, 0x2d, 0xbe, 0x50, 0xfe, 0x13, 0xc3, 0x4d, 0xae, 0x16, 0xd0, 0x25, 0x58, - 0x63, 0x18, 0xbd, 0x27, 0x86, 0x1b, 0x5f, 0xb1, 0xd6, 0x16, 0x2c, 0xc5, 0x99, 0x9e, 0x4a, 0x97, - 0xee, 0x41, 0x4d, 0x9a, 0x24, 0xd9, 0x6d, 0xba, 0x28, 0xbe, 0xf5, 0x03, 0x71, 0x00, 0xca, 0x04, - 0xd0, 0xb3, 0x7e, 0x40, 0xd3, 0x88, 0x54, 0x32, 0xca, 0xa7, 0xa4, 0xb1, 0x86, 0x6a, 0x40, 0x4d, - 0xca, 0xdc, 0x11, 0x13, 0x45, 0x53, 0x74, 0xdc, 0x44, 0x91, 0xdf, 0x04, 0xe6, 0x39, 0x43, 0x21, - 0x01, 0xfd, 0x4d, 0x60, 0x34, 0x47, 0xc4, 0x22, 0xde, 0xf4, 0x37, 0x1d, 0x02, 0x3f, 0xe6, 0x09, - 0xf1, 0x8a, 0xc6, 0x1a, 0xea, 0x9f, 0x2b, 0x00, 0xdb, 0x86, 0x6b, 0x3c, 0xb4, 0x86, 0x56, 0x70, - 0x82, 0xae, 0x41, 0xc3, 0x30, 0x4d, 0xbd, 0x2f, 0x20, 0x16, 0x16, 0x15, 0x0a, 0xcb, 0x86, 0x69, - 0x6e, 0xc7, 0xc0, 0xe8, 0x06, 0xac, 0x98, 0x9e, 0xe3, 0xca, 0xb8, 0xac, 0x64, 0xa1, 0x41, 0x3a, - 0x24, 0xe4, 0x3b, 0xd0, 0x24, 0x7c, 0x8d, 0xd1, 0x43, 0x0b, 0xdb, 0x81, 0x4c, 0xc3, 0x6a, 0x19, - 0xd6, 0x0c, 0xd3, 0x6c, 0xb3, 0xee, 0x38, 0xa5, 0xfa, 0x4f, 0x0b, 0x70, 0x51, 0xde, 0xf1, 0x64, - 0x32, 0x75, 0x0b, 0x96, 0x12, 0xf2, 0xa6, 0xd2, 0x90, 0xd1, 0x0c, 0x35, 0x09, 0x37, 0x91, 0x2e, - 0x2c, 0xa4, 0xd2, 0x85, 0x99, 0x89, 0xda, 0xe2, 0x67, 0x94, 0xa8, 0x2d, 0x7d, 0xca, 0x44, 0xed, - 0xfc, 0xb3, 0x26, 0x6a, 0x97, 0x66, 0x4e, 0xd4, 0xbe, 0x40, 0x1f, 0x95, 0x62, 0x44, 0x7a, 0x3d, - 0x32, 0x9b, 0x50, 0x0b, 0xb9, 0xdb, 0xa2, 0x6c, 0x26, 0x91, 0xd0, 0x5d, 0x3c, 0x4d, 0x42, 0xb7, - 0x3c, 0x31, 0xa1, 0x7b, 0x19, 0x96, 0x6c, 0x47, 0xb7, 0xf1, 0x13, 0x9d, 0x6c, 0x8b, 0xdf, 0xac, - 0xb2, 0x3d, 0xb2, 0x9d, 0x3d, 0xfc, 0xa4, 0x4b, 0x20, 0xe8, 0x0a, 0x2c, 0x8d, 0x0c, 0xff, 0x11, - 0x36, 0x69, 0x66, 0xd5, 0x6f, 0xd6, 0xa8, 0x3e, 0x55, 0x19, 0xac, 0x4b, 0x40, 0xe8, 0x79, 0x08, - 0xe5, 0xe0, 0x48, 0x75, 0x8a, 0x54, 0x13, 0x50, 0x86, 0x16, 0x4b, 0x0e, 0x2f, 0x3f, 0x63, 0x72, - 0xb8, 0x71, 0x9a, 0xe4, 0xf0, 0x2b, 0xd0, 0x10, 0xbf, 0x45, 0x76, 0x98, 0x05, 0xfb, 0x68, 0x62, - 0x78, 0x59, 0xf4, 0x89, 0x0c, 0xf0, 0xa4, 0x5c, 0x32, 0xe4, 0xe6, 0x92, 0x7f, 0xa6, 0x70, 0x17, - 0x37, 0x3c, 0x40, 0x3c, 0x89, 0x25, 0xe5, 0x1f, 0x95, 0x67, 0xc9, 0x3f, 0xa2, 0x83, 0x89, 0x19, - 0xda, 0x6b, 0x93, 0x39, 0x4d, 0xcb, 0xd1, 0xaa, 0x3f, 0x52, 0xe0, 0x22, 0xf7, 0x3f, 0x27, 0xd4, - 0x4f, 0x64, 0xa8, 0xa5, 0x32, 0x41, 0x2d, 0xfb, 0x1e, 0x36, 0xb1, 0x1d, 0x58, 0xc6, 0x50, 0xf7, - 0x5d, 0xdc, 0x17, 0x59, 0x99, 0x08, 0x4c, 0x3d, 0x93, 0x2b, 0xb0, 0xc4, 0x0a, 0x8e, 0xb8, 0x9b, - 0xcd, 0xea, 0x8a, 0xaa, 0xb4, 0xe6, 0x88, 0x81, 0x54, 0x07, 0xd6, 0x27, 0xa4, 0xb3, 0x32, 0x97, - 0x41, 0x49, 0x2f, 0x43, 0xee, 0x9c, 0xd2, 0xcb, 0xf0, 0x63, 0x05, 0x9e, 0xe3, 0x24, 0x13, 0x6d, - 0xdf, 0x17, 0xb1, 0x10, 0x7f, 0xab, 0x84, 0xcf, 0x83, 0xa4, 0x4a, 0x6d, 0xa7, 0x55, 0xea, 0xf9, - 0x8c, 0x15, 0xc8, 0x57, 0xaa, 0x8f, 0x26, 0x2a, 0xd5, 0x8d, 0x3c, 0x5e, 0x53, 0xd7, 0xf3, 0x3f, - 0x15, 0x38, 0x37, 0x51, 0x80, 0x84, 0xbf, 0xa5, 0x24, 0xfd, 0x2d, 0xee, 0xab, 0x45, 0x2e, 0x30, - 0xf3, 0xd5, 0xa8, 0x97, 0xcb, 0x9d, 0x22, 0x7d, 0x64, 0x3c, 0xb5, 0x46, 0xe3, 0x11, 0x77, 0xd6, - 0x08, 0xbb, 0x07, 0x0c, 0xf2, 0x2c, 0xde, 0xda, 0x26, 0xac, 0x32, 0x43, 0x4a, 0x1d, 0x86, 0x88, - 0x82, 0x39, 0x6d, 0x2b, 0xac, 0x8f, 0xf8, 0x0e, 0x9c, 0x40, 0x6d, 0xc3, 0x4a, 0x38, 0xad, 0xdc, - 0x74, 0x7e, 0x2c, 0x3d, 0x5f, 0x90, 0xd3, 0xf3, 0x36, 0x2c, 0xec, 0xe0, 0xc7, 0x56, 0x1f, 0x7f, - 0x26, 0x75, 0x7a, 0x97, 0xa1, 0xea, 0x62, 0x6f, 0x64, 0xf9, 0x7e, 0x78, 0x6b, 0x56, 0xb4, 0x38, - 0x48, 0xfd, 0xd9, 0x02, 0x2c, 0x27, 0x55, 0xe8, 0xcd, 0x54, 0x35, 0xc0, 0xc5, 0xcc, 0x57, 0x6b, - 0x46, 0xb8, 0xe6, 0x86, 0x78, 0x5e, 0x14, 0xd2, 0xa9, 0xb2, 0xf0, 0x09, 0x21, 0x5e, 0x1d, 0x4d, - 0x58, 0xec, 0x3b, 0xa3, 0x91, 0x61, 0x9b, 0xa2, 0x98, 0x92, 0x37, 0xc9, 0x9a, 0x19, 0xde, 0x80, - 0x05, 0x6a, 0x2a, 0x1a, 0xfd, 0x4d, 0x76, 0x98, 0xbc, 0x18, 0x2d, 0x9b, 0xd6, 0x13, 0xd0, 0x4d, - 0xa8, 0x68, 0xc0, 0x41, 0x3b, 0x96, 0x87, 0x5e, 0x82, 0x12, 0xb6, 0x1f, 0x8b, 0x08, 0xae, 0x14, - 0x30, 0x10, 0x4f, 0x0a, 0x8d, 0x62, 0xa0, 0x6b, 0xb0, 0x30, 0x22, 0x5a, 0x23, 0x72, 0x4e, 0x2b, - 0xa9, 0xa2, 0x43, 0x8d, 0x23, 0xa0, 0x97, 0x61, 0xd1, 0xa4, 0xfb, 0x21, 0x7c, 0x68, 0x24, 0x55, - 0x26, 0xd0, 0x2e, 0x4d, 0xa0, 0xa0, 0x77, 0xc3, 0x68, 0x55, 0x25, 0x1d, 0x46, 0x4e, 0x2c, 0x73, - 0x66, 0xa0, 0x6a, 0x4f, 0x7e, 0x88, 0x41, 0x3a, 0xe6, 0x95, 0xe4, 0x92, 0x1f, 0x91, 0x3e, 0x07, - 0xe5, 0xa1, 0x33, 0x60, 0xca, 0x51, 0x65, 0x95, 0xb8, 0x43, 0x67, 0x40, 0x75, 0x63, 0x15, 0xe6, - 0xfd, 0xc0, 0xb4, 0x6c, 0xea, 0x8a, 0x94, 0x35, 0xd6, 0x20, 0x67, 0x90, 0xfe, 0xd0, 0x1d, 0xbb, - 0x8f, 0x9b, 0x35, 0xda, 0x55, 0xa1, 0x90, 0x7d, 0xbb, 0x4f, 0x9f, 0x64, 0x41, 0x70, 0xd2, 0xac, - 0x53, 0x38, 0xf9, 0x19, 0x05, 0x8d, 0x96, 0x27, 0x04, 0x8d, 0x12, 0x02, 0x67, 0x04, 0x8d, 0x1a, - 0x13, 0x83, 0x46, 0x49, 0xda, 0x2f, 0x43, 0xd1, 0xc2, 0xdf, 0x2b, 0xb0, 0xb6, 0x4d, 0x33, 0x0f, - 0x31, 0x13, 0x76, 0x9a, 0x44, 0xfa, 0x6b, 0x61, 0x75, 0x43, 0x46, 0x8a, 0x3a, 0x39, 0x63, 0x51, - 0xdc, 0xb0, 0x0d, 0x75, 0xc1, 0x96, 0x13, 0x17, 0x67, 0x28, 0x8d, 0xa8, 0xf9, 0xf1, 0xa6, 0xfa, - 0x16, 0xac, 0xa7, 0x24, 0xe7, 0xf1, 0xdf, 0x64, 0x99, 0x2c, 0x13, 0x3c, 0x5e, 0x26, 0xab, 0x6e, - 0xc1, 0xd9, 0x5e, 0x60, 0x78, 0x41, 0x6a, 0xda, 0x33, 0xd0, 0xd2, 0xa2, 0x07, 0x99, 0x96, 0xd7, - 0x25, 0xf4, 0x60, 0xb5, 0x17, 0x38, 0xee, 0x33, 0x30, 0x25, 0xf6, 0x83, 0xcc, 0xdc, 0x19, 0x8b, - 0xeb, 0x40, 0x34, 0xd5, 0x75, 0x56, 0xa2, 0x91, 0x1e, 0xed, 0x6b, 0xb0, 0xc6, 0x2a, 0x24, 0x9e, - 0x65, 0x12, 0xe7, 0x44, 0x7d, 0x46, 0x9a, 0xef, 0xfb, 0x70, 0x46, 0x0a, 0xe6, 0xf1, 0xec, 0xe5, - 0x4d, 0x39, 0x7b, 0x39, 0x39, 0xf8, 0x17, 0x26, 0x2f, 0x7f, 0x52, 0x88, 0xd9, 0xe3, 0x09, 0x29, - 0x8c, 0xd7, 0xe5, 0xdc, 0xe5, 0x73, 0x93, 0xb9, 0x4a, 0xa9, 0xcb, 0xb4, 0x76, 0x16, 0x33, 0xb4, - 0xf3, 0x30, 0x95, 0x1f, 0x29, 0xa5, 0xf3, 0xc1, 0x09, 0x09, 0x3f, 0x97, 0xcc, 0xc8, 0x7d, 0x96, - 0xdf, 0x0c, 0x87, 0x0e, 0x93, 0x22, 0xaf, 0x25, 0x92, 0x22, 0xe7, 0x73, 0x24, 0x0d, 0xd3, 0x21, - 0x3f, 0x29, 0x41, 0x25, 0xec, 0x4b, 0xad, 0x70, 0x7a, 0xa9, 0x0a, 0x19, 0x4b, 0x15, 0xbf, 0x27, - 0x8b, 0xcf, 0x78, 0x4f, 0x96, 0x66, 0xb8, 0x27, 0xcf, 0x43, 0x85, 0xfe, 0xa0, 0x65, 0xa2, 0xec, - 0xde, 0x2b, 0x53, 0x80, 0x86, 0x8f, 0x22, 0x15, 0x5b, 0x98, 0x51, 0xc5, 0x12, 0xb9, 0xd4, 0xc5, - 0x64, 0x2e, 0xf5, 0xcd, 0xf0, 0x0e, 0x2b, 0xa7, 0x83, 0xbb, 0x21, 0xc7, 0xcc, 0xdb, 0x2b, 0x11, - 0x46, 0xac, 0xa4, 0xc3, 0x88, 0x11, 0xfd, 0x97, 0x36, 0xb7, 0xb2, 0xcf, 0x12, 0xa4, 0x71, 0x3d, - 0xe3, 0x36, 0xf2, 0x75, 0x29, 0x9e, 0xaf, 0xa4, 0x2b, 0xf5, 0x23, 0xbb, 0x10, 0x0f, 0xe5, 0x1f, - 0xc2, 0x9a, 0xb4, 0x11, 0x51, 0xe1, 0xd5, 0x6c, 0x36, 0x6e, 0x42, 0xd5, 0xd5, 0xaf, 0xe6, 0x63, - 0x96, 0x62, 0x42, 0x89, 0xd1, 0x9b, 0xa9, 0xcc, 0xdb, 0xcc, 0x1a, 0x7a, 0x53, 0x4e, 0xd2, 0x9f, - 0x5a, 0xaf, 0x52, 0x39, 0x7a, 0xea, 0x59, 0x18, 0x1e, 0xef, 0x66, 0x3e, 0x74, 0x85, 0x43, 0xda, - 0xd4, 0x81, 0x3f, 0xb2, 0x6c, 0xcb, 0x3f, 0x66, 0xfd, 0x0b, 0xcc, 0x81, 0x17, 0xa0, 0x36, 0x0d, - 0xde, 0xe1, 0xa7, 0x56, 0xa0, 0xf7, 0x1d, 0x13, 0x53, 0xad, 0x9d, 0xd7, 0xca, 0x04, 0xb0, 0xed, - 0x98, 0x38, 0x3a, 0x4f, 0xe5, 0xd3, 0x9e, 0xa7, 0x4a, 0xe2, 0x3c, 0xad, 0xc1, 0x82, 0x87, 0x0d, - 0xdf, 0xb1, 0xd9, 0x9b, 0x5e, 0xe3, 0x2d, 0xb2, 0x11, 0x23, 0xec, 0xfb, 0x64, 0x0c, 0xee, 0x48, - 0xf1, 0x66, 0xcc, 0xe9, 0x5b, 0xca, 0x71, 0xfa, 0x72, 0x0a, 0x98, 0x12, 0x4e, 0x5f, 0x2d, 0xc7, - 0xe9, 0x9b, 0xa9, 0x7e, 0x29, 0x72, 0x6f, 0xeb, 0xd3, 0xdc, 0xdb, 0xb8, 0x7f, 0xb8, 0x2c, 0xf9, - 0x87, 0x5f, 0xe4, 0x11, 0xfc, 0x77, 0x05, 0xd6, 0x53, 0x47, 0x86, 0x1f, 0xc2, 0xd7, 0x12, 0xb5, - 0x4d, 0xe7, 0x73, 0xd6, 0x29, 0x2c, 0x6d, 0x6a, 0x4b, 0xa5, 0x4d, 0xaf, 0xe4, 0x91, 0x7c, 0xe6, - 0x95, 0x4d, 0xbf, 0x2e, 0xc0, 0x73, 0x87, 0xae, 0x99, 0xf0, 0xba, 0xf8, 0x9b, 0x7b, 0x76, 0x43, - 0xf0, 0xa6, 0x9c, 0x9c, 0x9d, 0x29, 0x4c, 0xc4, 0x5d, 0xed, 0x77, 0x93, 0xf9, 0xd9, 0x19, 0x03, - 0x02, 0x82, 0x0a, 0x7d, 0x2f, 0x2b, 0x7d, 0xfe, 0x96, 0x94, 0x7e, 0xca, 0x9f, 0xe0, 0xef, 0x39, - 0x69, 0xa4, 0xc2, 0xe5, 0xc9, 0x02, 0x70, 0x0f, 0xed, 0x0f, 0x61, 0x79, 0xf7, 0x29, 0xee, 0xf7, - 0x4e, 0xec, 0xfe, 0x29, 0x56, 0xbd, 0x01, 0xc5, 0xfe, 0xc8, 0xe4, 0x31, 0x75, 0xf2, 0x33, 0xee, - 0x74, 0x16, 0x65, 0xa7, 0x53, 0x87, 0x46, 0x34, 0x02, 0xd7, 0xd6, 0x35, 0xa2, 0xad, 0x26, 0x41, - 0x26, 0xcc, 0x97, 0x34, 0xde, 0xe2, 0x70, 0xec, 0xb1, 0x12, 0x65, 0x06, 0xc7, 0x9e, 0x27, 0x1b, - 0xb9, 0xa2, 0x6c, 0xe4, 0xd4, 0x9f, 0x2a, 0x50, 0x25, 0x23, 0x7c, 0x2a, 0xf9, 0xf9, 0x0b, 0xae, - 0x18, 0xbd, 0xe0, 0xc2, 0x87, 0x60, 0x29, 0xfe, 0x10, 0x8c, 0x24, 0x9f, 0xa7, 0xe0, 0xb4, 0xe4, - 0x0b, 0x21, 0x1c, 0x7b, 0x9e, 0x7a, 0x19, 0x96, 0x98, 0x6c, 0x7c, 0xe6, 0x0d, 0x28, 0x8e, 0xbd, - 0xa1, 0xd8, 0xbf, 0xb1, 0x37, 0x54, 0xff, 0x58, 0x81, 0x5a, 0x3b, 0x08, 0x8c, 0xfe, 0xf1, 0x29, - 0x26, 0x10, 0x0a, 0x57, 0x88, 0x0b, 0x97, 0x9e, 0x44, 0x24, 0x6e, 0x69, 0x82, 0xb8, 0xf3, 0x92, - 0xb8, 0x2a, 0xd4, 0x85, 0x2c, 0x13, 0x05, 0xde, 0x03, 0xd4, 0x75, 0xbc, 0xe0, 0x3d, 0xc7, 0x7b, - 0x62, 0x78, 0xe6, 0xe9, 0x1e, 0x79, 0x08, 0x4a, 0xfc, 0x13, 0xce, 0xe2, 0x4b, 0xf3, 0x1a, 0xfd, - 0xad, 0xbe, 0x08, 0x67, 0x24, 0x7e, 0x13, 0x07, 0xde, 0x82, 0x2a, 0xbd, 0xb4, 0xb8, 0xff, 0x7f, - 0x23, 0x9e, 0xb3, 0x9d, 0x72, 0xb9, 0xa9, 0x3b, 0xb0, 0x42, 0xdc, 0x17, 0x0a, 0x0f, 0xed, 0xcb, - 0x66, 0xc2, 0x45, 0x5e, 0x4f, 0xb1, 0x48, 0xb8, 0xc7, 0xbf, 0x55, 0x60, 0x9e, 0xc2, 0x53, 0x2e, - 0xc5, 0x79, 0xa8, 0x78, 0xd8, 0x75, 0xf4, 0xc0, 0x18, 0x84, 0x9f, 0xc7, 0x12, 0xc0, 0x81, 0x31, - 0xa0, 0x79, 0x00, 0xda, 0x69, 0x5a, 0x03, 0xec, 0x07, 0x22, 0xaf, 0x54, 0x25, 0xb0, 0x1d, 0x06, - 0x22, 0x0b, 0x43, 0xd3, 0x6f, 0x25, 0x9a, 0x65, 0xa3, 0xbf, 0xd1, 0x4b, 0xec, 0xeb, 0x96, 0xfc, - 0x64, 0x0a, 0xfd, 0xea, 0xa5, 0x05, 0xe5, 0x44, 0x16, 0x24, 0x6c, 0xa3, 0x6b, 0x50, 0xa2, 0x51, - 0xd5, 0xc5, 0xbc, 0x55, 0xa2, 0x28, 0x44, 0x2b, 0x5c, 0xcb, 0xb6, 0xb1, 0x49, 0xfd, 0x85, 0xb2, - 0xc6, 0x5b, 0xea, 0xbb, 0x80, 0xe2, 0x8b, 0xc7, 0x37, 0xe8, 0x1a, 0x2c, 0xd0, 0xb5, 0x15, 0x3e, - 0xdf, 0x4a, 0x8a, 0xb5, 0xc6, 0x11, 0xd4, 0xef, 0x02, 0x62, 0x63, 0x49, 0x7e, 0xde, 0x69, 0x36, - 0x30, 0xc7, 0xe3, 0xfb, 0x3b, 0x05, 0xce, 0x48, 0xdc, 0xb9, 0x7c, 0x2f, 0xca, 0xec, 0x33, 0xc4, - 0xe3, 0xac, 0xdf, 0x96, 0xae, 0xc1, 0x6b, 0x69, 0x31, 0x7e, 0x4f, 0x57, 0xe0, 0x2f, 0x14, 0x80, - 0xf6, 0x38, 0x38, 0xe6, 0xf1, 0xc5, 0xf8, 0x26, 0x2a, 0x89, 0x4d, 0x6c, 0x41, 0xd9, 0x35, 0x7c, - 0xff, 0x89, 0xe3, 0x89, 0x37, 0x57, 0xd8, 0xa6, 0x51, 0xc1, 0x31, 0xff, 0x4a, 0xb7, 0xa2, 0xd1, - 0xdf, 0xe8, 0x79, 0xa8, 0xb3, 0xef, 0xb6, 0x75, 0xc3, 0x34, 0x3d, 0x51, 0x9e, 0x53, 0xd1, 0x6a, - 0x0c, 0xda, 0x66, 0x40, 0x82, 0x66, 0xd1, 0x18, 0x7b, 0x70, 0xa2, 0x07, 0xce, 0x23, 0x6c, 0xf3, - 0x77, 0x54, 0x4d, 0x40, 0x0f, 0x08, 0x90, 0x25, 0xa9, 0x06, 0x96, 0x1f, 0x78, 0x02, 0x4d, 0xa4, - 0xda, 0x38, 0x94, 0xa2, 0xa9, 0x7f, 0xa3, 0x40, 0xa3, 0x3b, 0x1e, 0x0e, 0xd9, 0xe2, 0x3e, 0xcb, - 0x26, 0x5f, 0xe7, 0x53, 0x29, 0xa4, 0x55, 0x3e, 0x5a, 0x28, 0x3e, 0xc5, 0xcf, 0x24, 0xf4, 0x73, - 0x13, 0x56, 0x62, 0x12, 0x73, 0xc5, 0x91, 0x1c, 0x61, 0x45, 0x76, 0x84, 0xd5, 0x36, 0x20, 0x16, - 0xed, 0x78, 0xe6, 0x59, 0xaa, 0x67, 0xe1, 0x8c, 0xc4, 0x82, 0x5f, 0xc5, 0xd7, 0xa1, 0xc6, 0xcb, - 0x7f, 0xb8, 0x42, 0x9c, 0x83, 0x32, 0x31, 0xa9, 0x7d, 0xcb, 0x14, 0x79, 0xf5, 0x45, 0xd7, 0x31, - 0xb7, 0x2d, 0xd3, 0x53, 0xbf, 0x01, 0x35, 0xfe, 0xc9, 0x23, 0xc7, 0xbd, 0x0b, 0x75, 0x5e, 0x93, - 0xa5, 0x4b, 0xdf, 0x08, 0x9d, 0xcb, 0xa8, 0x41, 0x12, 0x4b, 0x61, 0xc7, 0x9b, 0xea, 0xf7, 0xa0, - 0xc5, 0xbc, 0x05, 0x89, 0xb1, 0x98, 0xe0, 0x5d, 0x10, 0xc5, 0xba, 0x39, 0xfc, 0x65, 0xca, 0x9a, - 0x17, 0x6f, 0xaa, 0x17, 0xe1, 0x7c, 0x26, 0x7f, 0x3e, 0x7b, 0x17, 0x1a, 0x51, 0x07, 0xfb, 0x90, - 0x25, 0x2c, 0x16, 0x50, 0x62, 0xc5, 0x02, 0x6b, 0xa1, 0xa3, 0x5b, 0x10, 0x37, 0x17, 0xf5, 0x65, - 0xa3, 0x07, 0x4a, 0x71, 0xd2, 0x03, 0xa5, 0x24, 0x3d, 0x50, 0xd4, 0x07, 0xe1, 0x1a, 0xf2, 0x67, - 0xe2, 0x5b, 0xf4, 0x21, 0xcb, 0xc6, 0x16, 0x46, 0xed, 0x42, 0xf6, 0xfc, 0x18, 0x92, 0x16, 0xc3, - 0x57, 0xaf, 0x41, 0x4d, 0x36, 0x6f, 0x31, 0x8b, 0xa5, 0xa4, 0x2c, 0x56, 0x3d, 0x61, 0xac, 0x5e, - 0x4d, 0xf8, 0xef, 0x59, 0xeb, 0x9a, 0xf0, 0xde, 0xef, 0x48, 0x66, 0xeb, 0x2b, 0x52, 0x62, 0xf7, - 0xf7, 0x64, 0xb1, 0x56, 0xb9, 0x1d, 0x7f, 0xcf, 0x27, 0xf4, 0x7c, 0xa2, 0xea, 0x55, 0xa8, 0x1e, - 0x4e, 0xfa, 0xf0, 0xbc, 0x24, 0xaa, 0x91, 0xde, 0x80, 0xd5, 0xf7, 0xac, 0x21, 0xf6, 0x4f, 0xfc, - 0x00, 0x8f, 0x3a, 0xd4, 0xbc, 0x1c, 0x59, 0xd8, 0x43, 0x97, 0x00, 0xe8, 0xa3, 0xcb, 0x75, 0xac, - 0xf0, 0x63, 0xdb, 0x18, 0x44, 0xfd, 0x95, 0x02, 0xcb, 0x11, 0xe1, 0x2c, 0x75, 0x61, 0xaf, 0xc3, - 0xfc, 0x91, 0x2f, 0x82, 0x53, 0x89, 0xd0, 0x7b, 0x96, 0x08, 0x5a, 0xe9, 0xc8, 0xef, 0x98, 0xe8, - 0x0d, 0x80, 0xb1, 0x8f, 0x4d, 0x9e, 0xcc, 0x9a, 0x52, 0x1d, 0x57, 0x21, 0xa8, 0x2c, 0x1d, 0x76, - 0x07, 0xaa, 0x96, 0xed, 0x98, 0x98, 0x26, 0x3a, 0xcd, 0x69, 0x15, 0x72, 0xc0, 0x70, 0x0f, 0x7d, - 0x6c, 0xaa, 0x3a, 0xbf, 0xb7, 0xc4, 0x6a, 0x72, 0x55, 0xf8, 0x00, 0x56, 0x98, 0xf9, 0x39, 0x0a, - 0x85, 0xcd, 0xac, 0x3f, 0x4e, 0xac, 0x8a, 0xd6, 0xb0, 0xb8, 0xc7, 0x22, 0x88, 0xd4, 0x2d, 0x38, - 0x9b, 0xa8, 0xa5, 0x9c, 0x3d, 0xaa, 0xfb, 0x61, 0x22, 0x3c, 0x13, 0xa9, 0xea, 0x4d, 0xb9, 0x0e, - 0x3d, 0xaf, 0x74, 0x93, 0x97, 0x44, 0x1f, 0xc2, 0x39, 0x29, 0x76, 0x24, 0xc9, 0x72, 0x27, 0xe1, - 0x84, 0x5d, 0x9e, 0xcc, 0x2f, 0xe1, 0x8d, 0xfd, 0x8f, 0x02, 0xab, 0x59, 0x08, 0xcf, 0x18, 0xb7, - 0xfc, 0xce, 0x84, 0x6f, 0x58, 0x5e, 0x9b, 0x26, 0xd0, 0xe7, 0x12, 0xe7, 0xdd, 0x63, 0x15, 0xf0, - 0xd3, 0xf7, 0xa4, 0x38, 0xdb, 0x9e, 0xfc, 0xb6, 0x10, 0x8b, 0xcd, 0xe7, 0x54, 0xa9, 0x7f, 0x8a, - 0x58, 0xd9, 0x76, 0xa2, 0x48, 0xfd, 0x46, 0x26, 0xe1, 0x94, 0x1a, 0x75, 0x2d, 0xeb, 0x91, 0x7d, - 0x73, 0x1a, 0xa7, 0x2f, 0x6d, 0x18, 0xf5, 0x7f, 0x15, 0xa8, 0xcb, 0x1b, 0x82, 0xde, 0xcd, 0xa8, - 0x50, 0x7f, 0x6e, 0xca, 0x04, 0xa5, 0x02, 0x75, 0x5e, 0x11, 0x5e, 0x98, 0xbd, 0x22, 0xbc, 0x38, - 0x5b, 0x45, 0xf8, 0x3d, 0xa8, 0x3f, 0xf1, 0xac, 0xc0, 0x78, 0x38, 0xc4, 0xfa, 0xd0, 0x38, 0xc1, - 0x1e, 0xb7, 0x6e, 0xb9, 0x66, 0xa8, 0x26, 0x48, 0xee, 0x13, 0x0a, 0xf5, 0x1f, 0x14, 0x28, 0x0b, - 0x31, 0xa6, 0xd6, 0x64, 0xaf, 0x8f, 0x09, 0x9a, 0x4e, 0xeb, 0x40, 0x6d, 0xc3, 0x76, 0x74, 0x1f, - 0x93, 0x1b, 0x76, 0x6a, 0x85, 0xf3, 0x2a, 0xa5, 0xdb, 0x76, 0x3c, 0xbc, 0x67, 0xd8, 0x4e, 0x8f, - 0x11, 0xa1, 0x36, 0x34, 0x18, 0x3f, 0xca, 0x8a, 0x30, 0x9d, 0x6a, 0xd7, 0xeb, 0x94, 0x80, 0x30, - 0x21, 0xcc, 0x7c, 0xf5, 0x2f, 0x8b, 0x50, 0x8d, 0xad, 0xcc, 0x94, 0x09, 0x6c, 0xc3, 0x8a, 0xc8, - 0xc5, 0xfb, 0x38, 0x98, 0xad, 0x38, 0x7b, 0x99, 0x53, 0xf4, 0x70, 0xc0, 0xee, 0x93, 0xbb, 0xb0, - 0x6c, 0x3c, 0x36, 0xac, 0x21, 0x5d, 0xf5, 0x99, 0x2e, 0xa3, 0x7a, 0x88, 0x1f, 0xde, 0x48, 0x6c, - 0xde, 0x33, 0xd5, 0x6c, 0x03, 0xc5, 0x8d, 0x0a, 0xc4, 0x7d, 0x3f, 0x56, 0xcf, 0x91, 0x5b, 0x20, - 0xee, 0xfb, 0xe1, 0x78, 0xb4, 0x7e, 0x94, 0x96, 0xc4, 0xfb, 0xfc, 0x53, 0xd7, 0xc9, 0xe3, 0x11, - 0xdc, 0xf7, 0x28, 0x2a, 0x59, 0xb0, 0x91, 0xf1, 0xb1, 0xe3, 0xe9, 0x71, 0xfa, 0xc5, 0x29, 0x0b, - 0x46, 0x29, 0xba, 0x21, 0x13, 0xf5, 0x1d, 0x38, 0xa7, 0x61, 0xc7, 0xc5, 0x76, 0x78, 0x4e, 0xee, - 0x3b, 0x83, 0x53, 0xdc, 0x74, 0x17, 0xa0, 0x95, 0x45, 0xcf, 0x2c, 0xeb, 0xf5, 0x17, 0xa0, 0x2c, - 0xfe, 0x29, 0x15, 0x5a, 0x84, 0xe2, 0xc1, 0x76, 0xb7, 0x31, 0x47, 0x7e, 0x1c, 0xee, 0x74, 0x1b, - 0x0a, 0x2a, 0x43, 0xa9, 0xb7, 0x7d, 0xd0, 0x6d, 0x14, 0xae, 0x8f, 0xa0, 0x91, 0xfc, 0xbf, 0x4c, - 0x68, 0x1d, 0xce, 0x74, 0xb5, 0xfd, 0x6e, 0xfb, 0xfd, 0xf6, 0x41, 0x67, 0x7f, 0x4f, 0xef, 0x6a, - 0x9d, 0x8f, 0xda, 0x07, 0xbb, 0x8d, 0x39, 0x74, 0x05, 0x2e, 0xc6, 0x3b, 0x3e, 0xd8, 0xef, 0x1d, - 0xe8, 0x07, 0xfb, 0xfa, 0xf6, 0xfe, 0xde, 0x41, 0xbb, 0xb3, 0xb7, 0xab, 0x35, 0x14, 0x74, 0x11, - 0xce, 0xc5, 0x51, 0xee, 0x75, 0x76, 0x3a, 0xda, 0xee, 0x36, 0xf9, 0xdd, 0xbe, 0xdf, 0x28, 0x5c, - 0x7f, 0x1b, 0x6a, 0xd2, 0x3f, 0x18, 0x22, 0x22, 0x75, 0xf7, 0x77, 0x1a, 0x73, 0xa8, 0x06, 0x95, - 0x38, 0x9f, 0x32, 0x94, 0xf6, 0xf6, 0x77, 0x76, 0x1b, 0x05, 0x04, 0xb0, 0x70, 0xd0, 0xd6, 0xde, - 0xdf, 0x3d, 0x68, 0x14, 0xaf, 0x6f, 0x25, 0x3f, 0x94, 0xc1, 0x68, 0x05, 0x6a, 0xbd, 0xf6, 0xde, - 0xce, 0xbd, 0xfd, 0x6f, 0xe9, 0xda, 0x6e, 0x7b, 0xe7, 0xdb, 0x8d, 0x39, 0xb4, 0x0a, 0x0d, 0x01, - 0xda, 0xdb, 0x3f, 0x60, 0x50, 0xe5, 0xfa, 0xa3, 0x84, 0x05, 0xc3, 0xe8, 0x2c, 0xac, 0x84, 0x43, - 0xea, 0xdb, 0xda, 0x6e, 0xfb, 0x60, 0x97, 0x48, 0x22, 0x81, 0xb5, 0xc3, 0xbd, 0xbd, 0xce, 0xde, - 0xfb, 0x0d, 0x85, 0x70, 0x8d, 0xc0, 0xbb, 0xdf, 0xea, 0x10, 0xe4, 0x82, 0x8c, 0x7c, 0xb8, 0xf7, - 0xf5, 0xbd, 0xfd, 0x6f, 0xee, 0x35, 0x8a, 0xb7, 0x7e, 0xb8, 0x12, 0xfe, 0x73, 0x97, 0x1e, 0xf6, - 0x68, 0x05, 0xd0, 0x0e, 0x2c, 0x8a, 0x7f, 0x75, 0x26, 0xdd, 0x73, 0xf2, 0xbf, 0x66, 0x6b, 0x9d, - 0xcf, 0xec, 0xe3, 0xaf, 0x8d, 0x39, 0xf4, 0x11, 0xf5, 0xfe, 0x63, 0x9f, 0x72, 0x5e, 0x4e, 0x78, - 0xdc, 0xa9, 0x2f, 0x46, 0x5b, 0x57, 0x72, 0x30, 0x42, 0xbe, 0xdf, 0x26, 0xae, 0x7d, 0xfc, 0xff, - 0x18, 0xa0, 0x2b, 0xb2, 0x67, 0x9e, 0xf1, 0x2f, 0x12, 0x5a, 0x6a, 0x1e, 0x4a, 0xc8, 0x5a, 0x87, - 0x46, 0xf2, 0xff, 0x18, 0x20, 0x29, 0xe0, 0x3d, 0xe1, 0xdf, 0x24, 0xb4, 0xbe, 0x92, 0x8f, 0x14, - 0x1f, 0x20, 0xf5, 0x79, 0xfe, 0xd5, 0xfc, 0x0f, 0x9e, 0x33, 0x06, 0x98, 0xf4, 0x55, 0x34, 0x5b, - 0x1c, 0xf9, 0x6b, 0x3b, 0x94, 0xf8, 0x22, 0x3e, 0xe3, 0x43, 0x5d, 0x79, 0x71, 0xb2, 0x3f, 0xd2, - 0x54, 0xe7, 0xd0, 0x1f, 0xc0, 0x72, 0xa2, 0x88, 0x03, 0x49, 0x84, 0xd9, 0xb5, 0x29, 0xad, 0xab, - 0xb9, 0x38, 0xf2, 0xae, 0xc6, 0x0b, 0x35, 0x92, 0xbb, 0x9a, 0x51, 0x00, 0x92, 0xdc, 0xd5, 0xcc, - 0x3a, 0x0f, 0xaa, 0x88, 0x52, 0x51, 0x86, 0xac, 0x88, 0x59, 0x45, 0x20, 0xad, 0x2b, 0x39, 0x18, - 0xf1, 0x05, 0x49, 0x94, 0x65, 0xc8, 0x0b, 0x92, 0x5d, 0xf0, 0xd1, 0xba, 0x9a, 0x8b, 0x93, 0xdc, - 0xc9, 0x28, 0x1d, 0x9c, 0xde, 0xc9, 0x54, 0x49, 0x42, 0x7a, 0x27, 0xd3, 0xd9, 0x64, 0xbe, 0x93, - 0x89, 0x04, 0xae, 0x9a, 0x9b, 0x9a, 0xca, 0xda, 0xc9, 0xec, 0xf4, 0x95, 0x3a, 0x87, 0x9e, 0x40, - 0x73, 0x52, 0x52, 0x04, 0xdd, 0x38, 0x45, 0xee, 0xa6, 0xf5, 0xf2, 0x6c, 0xc8, 0xe1, 0xc0, 0x18, - 0x50, 0xfa, 0x9a, 0x41, 0xcf, 0xcb, 0xcb, 0x3d, 0xe1, 0x1a, 0x6b, 0xbd, 0x30, 0x0d, 0x2d, 0x1c, - 0xe6, 0x7d, 0x28, 0x8b, 0x74, 0x0b, 0x92, 0x4c, 0x60, 0x22, 0xcd, 0xd3, 0xba, 0x90, 0xdd, 0x19, - 0x32, 0xfa, 0x1a, 0x94, 0x08, 0x14, 0xad, 0x27, 0xf1, 0x04, 0x83, 0x66, 0xba, 0x23, 0x24, 0x6e, - 0xc3, 0x02, 0xcb, 0x23, 0x20, 0x29, 0x90, 0x21, 0xe5, 0x39, 0x5a, 0xad, 0xac, 0xae, 0x90, 0x45, - 0x97, 0xfd, 0xe3, 0x48, 0x9e, 0x16, 0x40, 0x97, 0x92, 0xff, 0xc1, 0x48, 0xce, 0x3f, 0xb4, 0x9e, - 0x9b, 0xd8, 0x1f, 0xd7, 0xd9, 0x84, 0xeb, 0x7d, 0x25, 0xe7, 0x9d, 0x94, 0xa5, 0xb3, 0xd9, 0xaf, - 0x2f, 0xb6, 0xb9, 0xe9, 0xd7, 0x99, 0xbc, 0xb9, 0x13, 0x5f, 0xc0, 0xf2, 0xe6, 0x4e, 0x7e, 0xe4, - 0xb1, 0xa3, 0x91, 0xfc, 0x1c, 0x54, 0xcd, 0xfb, 0x24, 0x39, 0xeb, 0x68, 0x4c, 0xf8, 0xd4, 0x59, - 0x9d, 0x43, 0xc7, 0x70, 0x26, 0xe3, 0x5b, 0x68, 0xf4, 0xc2, 0x64, 0xfb, 0x2b, 0x8d, 0xf2, 0xe2, - 0x54, 0xbc, 0xf8, 0x48, 0x19, 0xb1, 0x40, 0x79, 0xa4, 0xc9, 0xc1, 0x48, 0x79, 0xa4, 0xbc, 0xa0, - 0x22, 0x55, 0x44, 0x6e, 0x43, 0xce, 0x65, 0x05, 0xc8, 0x32, 0x14, 0x31, 0x69, 0x31, 0x6e, 0xfd, - 0x45, 0x11, 0x96, 0x58, 0x0c, 0x97, 0x3b, 0x20, 0x0f, 0x00, 0xa2, 0x74, 0x08, 0xba, 0x98, 0x9c, - 0xb6, 0x94, 0x63, 0x6a, 0x5d, 0x9a, 0xd4, 0x1d, 0x57, 0xf4, 0x58, 0x9a, 0x41, 0x56, 0xf4, 0x74, - 0xd6, 0x44, 0x56, 0xf4, 0x8c, 0xfc, 0x84, 0x3a, 0x87, 0x3e, 0x84, 0x4a, 0x18, 0xd5, 0x46, 0x72, - 0x3c, 0x3c, 0x11, 0x9e, 0x6f, 0x5d, 0x9c, 0xd0, 0x1b, 0x97, 0x2e, 0x16, 0xac, 0x96, 0xa5, 0x4b, - 0x07, 0xc2, 0x65, 0xe9, 0xb2, 0xa2, 0xdc, 0xd1, 0x7c, 0x59, 0xd8, 0x2b, 0x63, 0xbe, 0x52, 0x74, - 0x31, 0x63, 0xbe, 0x72, 0xbc, 0x4c, 0x9d, 0xbb, 0x77, 0xf7, 0xe7, 0xbf, 0xb9, 0xa4, 0xfc, 0xea, - 0x37, 0x97, 0xe6, 0x7e, 0xf8, 0xc9, 0x25, 0xe5, 0xe7, 0x9f, 0x5c, 0x52, 0x7e, 0xf9, 0xc9, 0x25, - 0xe5, 0xd7, 0x9f, 0x5c, 0x52, 0xfe, 0xe4, 0xbf, 0x2f, 0xcd, 0x7d, 0x47, 0x7d, 0x74, 0xc7, 0xdf, - 0xb0, 0x9c, 0xcd, 0xbe, 0x67, 0xbd, 0x62, 0xb8, 0xd6, 0xa6, 0xfb, 0x68, 0xb0, 0x69, 0xb8, 0x96, - 0xbf, 0xc9, 0xf9, 0x6e, 0x3e, 0x7e, 0xf5, 0xe1, 0x02, 0xfd, 0x77, 0xb3, 0xaf, 0xfd, 0x7f, 0x00, - 0x00, 0x00, 0xff, 0xff, 0x72, 0x49, 0x29, 0xa4, 0x28, 0x58, 0x00, 0x00, + // 5988 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x7c, 0x4d, 0x70, 0x1b, 0xc9, + 0x75, 0x30, 0x07, 0x00, 0x49, 0xe0, 0x81, 0x00, 0xc1, 0x16, 0x45, 0x42, 0xa0, 0xa4, 0x95, 0x46, + 0xde, 0x1f, 0x49, 0xbb, 0x94, 0x56, 0xab, 0x5d, 0x4b, 0xb2, 0x76, 0x57, 0x10, 0xc9, 0xd5, 0x72, + 0x2d, 0x91, 0xf0, 0x80, 0x94, 0xff, 0xbe, 0xf2, 0x7c, 0x23, 0x4c, 0x13, 0x9c, 0x15, 0x30, 0x33, + 0x9e, 0x19, 0x48, 0xa2, 0x4f, 0xdf, 0xf1, 0x4b, 0x4e, 0xae, 0x72, 0x1c, 0x57, 0xb9, 0x52, 0x49, + 0xe5, 0x94, 0x43, 0x0e, 0xce, 0x25, 0xa9, 0x54, 0xa5, 0x92, 0x5c, 0x52, 0x2e, 0x27, 0x55, 0xae, + 0xf2, 0x25, 0x55, 0x3e, 0xa4, 0x2a, 0xf6, 0xe6, 0x96, 0x43, 0x4e, 0x3e, 0xe4, 0x14, 0xa7, 0xfa, + 0x6f, 0x66, 0x7a, 0x66, 0x30, 0x00, 0xb9, 0x6b, 0xef, 0x9e, 0x80, 0x79, 0xfd, 0xde, 0xeb, 0xd7, + 0xaf, 0x5f, 0xbf, 0x7e, 0xdd, 0xef, 0xcd, 0x40, 0xc5, 0x70, 0xad, 0x75, 0xd7, 0x73, 0x02, 0x07, + 0x81, 0x37, 0xb2, 0x03, 0x6b, 0x88, 0xd7, 0x9f, 0xbd, 0xd9, 0x7a, 0xa3, 0x6f, 0x05, 0x87, 0xa3, + 0x27, 0xeb, 0x3d, 0x67, 0x78, 0xad, 0xef, 0xf4, 0x9d, 0x6b, 0x14, 0xe5, 0xc9, 0xe8, 0x80, 0x3e, + 0xd1, 0x07, 0xfa, 0x8f, 0x91, 0xaa, 0x57, 0xa0, 0xfe, 0x18, 0x7b, 0xbe, 0xe5, 0xd8, 0x1a, 0xfe, + 0xee, 0x08, 0xfb, 0x01, 0x6a, 0xc2, 0xfc, 0x33, 0x06, 0x69, 0x2a, 0x17, 0x94, 0xd7, 0x2a, 0x9a, + 0x78, 0x54, 0xff, 0x42, 0x81, 0xc5, 0x10, 0xd9, 0x77, 0x1d, 0xdb, 0xc7, 0xe3, 0xb1, 0xd1, 0x45, + 0x58, 0xe0, 0x62, 0xe9, 0xb6, 0x31, 0xc4, 0xcd, 0x02, 0x6d, 0xae, 0x72, 0xd8, 0x8e, 0x31, 0xc4, + 0xe8, 0x55, 0x58, 0x14, 0x28, 0x82, 0x49, 0x91, 0x62, 0xd5, 0x39, 0x98, 0xf7, 0x86, 0xd6, 0xe1, + 0x94, 0x40, 0x34, 0x5c, 0x2b, 0x44, 0x2e, 0x51, 0xe4, 0x25, 0xde, 0xd4, 0x76, 0x2d, 0x8e, 0xaf, + 0x7e, 0x1b, 0x2a, 0x9b, 0x3b, 0xdd, 0x0d, 0xc7, 0x3e, 0xb0, 0xfa, 0x44, 0x44, 0x1f, 0x7b, 0x84, + 0xa6, 0xa9, 0x5c, 0x28, 0x12, 0x11, 0xf9, 0x23, 0x6a, 0x41, 0xd9, 0xc7, 0x86, 0xd7, 0x3b, 0xc4, + 0x7e, 0xb3, 0x40, 0x9b, 0xc2, 0x67, 0x42, 0xe5, 0xb8, 0x81, 0xe5, 0xd8, 0x7e, 0xb3, 0xc8, 0xa8, + 0xf8, 0xa3, 0xfa, 0x27, 0x0a, 0x54, 0x3b, 0x8e, 0x17, 0x3c, 0x32, 0x5c, 0xd7, 0xb2, 0xfb, 0xe8, + 0x3a, 0x94, 0xa9, 0x2e, 0x7b, 0xce, 0x80, 0xea, 0xa0, 0x7e, 0x63, 0x79, 0x3d, 0x9a, 0x90, 0xf5, + 0x0e, 0x6f, 0xd3, 0x42, 0x2c, 0xf4, 0x32, 0xd4, 0x7b, 0x8e, 0x1d, 0x18, 0x96, 0x8d, 0x3d, 0xdd, + 0x75, 0xbc, 0x80, 0x2a, 0x67, 0x56, 0xab, 0x85, 0x50, 0xc2, 0x1f, 0xad, 0x41, 0xe5, 0xd0, 0xf1, + 0x03, 0x86, 0x51, 0xa4, 0x18, 0x65, 0x02, 0xa0, 0x8d, 0xab, 0x30, 0x4f, 0x1b, 0x2d, 0x97, 0xab, + 0x61, 0x8e, 0x3c, 0x6e, 0xbb, 0xea, 0x2f, 0x14, 0x98, 0x7d, 0xe4, 0x8c, 0xec, 0x20, 0xd1, 0x8d, + 0x11, 0x1c, 0xf2, 0x29, 0x8a, 0x75, 0x63, 0x04, 0x87, 0x51, 0x37, 0x04, 0x83, 0xcd, 0x12, 0xeb, + 0x86, 0x34, 0xb6, 0xa0, 0xec, 0x61, 0xc3, 0x74, 0xec, 0xc1, 0x11, 0x15, 0xa1, 0xac, 0x85, 0xcf, + 0x64, 0xfa, 0x7c, 0x3c, 0xb0, 0xec, 0xd1, 0x0b, 0xdd, 0xc3, 0x03, 0xe3, 0x09, 0x1e, 0x50, 0x51, + 0xca, 0x5a, 0x9d, 0x83, 0x35, 0x06, 0x45, 0xef, 0x41, 0xd5, 0xf5, 0x1c, 0xd7, 0xe8, 0x1b, 0x44, + 0x83, 0xcd, 0x59, 0xaa, 0xa4, 0xb3, 0x71, 0x25, 0x51, 0x81, 0x3b, 0x11, 0x8e, 0x16, 0x27, 0x50, + 0x75, 0xa8, 0x6c, 0x6f, 0x0a, 0x75, 0x87, 0x03, 0x37, 0xe9, 0x70, 0x6a, 0x7c, 0xe0, 0x26, 0x31, + 0xb8, 0x68, 0xb8, 0x96, 0x49, 0x87, 0x52, 0xd3, 0xaa, 0x21, 0x6c, 0xdb, 0x44, 0x2b, 0x30, 0x37, + 0xc0, 0x76, 0x3f, 0x38, 0xa4, 0x63, 0xa9, 0x69, 0xfc, 0x49, 0xfd, 0x23, 0x05, 0x6a, 0xfb, 0x3e, + 0xf6, 0x88, 0x55, 0xfa, 0xae, 0xd1, 0xc3, 0xe8, 0x0d, 0x28, 0x0d, 0x1d, 0x13, 0xf3, 0x09, 0x3d, + 0x13, 0x97, 0x35, 0x44, 0x7a, 0xe4, 0x98, 0x58, 0xa3, 0x68, 0xe8, 0x32, 0x94, 0x46, 0x96, 0xc9, + 0xac, 0xa8, 0x7a, 0xe3, 0x74, 0x1c, 0x3d, 0x94, 0x5c, 0xa3, 0x28, 0x04, 0xb5, 0x4f, 0x50, 0x8b, + 0xb9, 0xa8, 0x04, 0x45, 0xfd, 0xad, 0x02, 0x8b, 0x61, 0x6f, 0xbb, 0xd4, 0xfc, 0xd0, 0x5b, 0x30, + 0x6f, 0xe3, 0xe0, 0xb9, 0xe3, 0x3d, 0x9d, 0x2c, 0x9b, 0xc0, 0x44, 0x57, 0xa1, 0xe8, 0x72, 0x8d, + 0xe4, 0x12, 0x10, 0x2c, 0x82, 0x6c, 0xb9, 0x3d, 0xaa, 0xa1, 0x7c, 0x64, 0xcb, 0xed, 0x11, 0xe3, + 0x09, 0x0c, 0xaf, 0x8f, 0xe9, 0x7c, 0x30, 0x43, 0x2c, 0x33, 0xc0, 0xb6, 0x89, 0xee, 0x41, 0x7d, + 0xe4, 0x63, 0xcf, 0xf6, 0x75, 0xb1, 0x94, 0xc8, 0xd4, 0x57, 0x65, 0xa6, 0x92, 0xde, 0xb5, 0x1a, + 0x23, 0xd8, 0xe5, 0x6b, 0x4d, 0x05, 0xd8, 0xb6, 0x83, 0x77, 0x6e, 0x3e, 0x36, 0x06, 0x23, 0x8c, + 0x96, 0x61, 0xf6, 0x19, 0xf9, 0x43, 0x47, 0x5e, 0xd4, 0xd8, 0x83, 0xfa, 0xf7, 0x25, 0x58, 0x7b, + 0x48, 0xcc, 0xad, 0x6b, 0xd8, 0xe6, 0x13, 0xe7, 0x45, 0x17, 0xf7, 0x46, 0x9e, 0x15, 0x1c, 0x6d, + 0x38, 0x76, 0x80, 0x5f, 0x04, 0xe8, 0x43, 0x58, 0xb2, 0x05, 0xff, 0x50, 0x10, 0x85, 0x0a, 0xb2, + 0x96, 0x39, 0x3a, 0xd6, 0xb9, 0xd6, 0xb0, 0x65, 0x80, 0x8f, 0xee, 0x47, 0x06, 0x2f, 0xf8, 0x14, + 0xd2, 0x03, 0xea, 0x6e, 0x51, 0x69, 0x38, 0x17, 0xb1, 0x16, 0x04, 0x8f, 0x77, 0x80, 0xb8, 0x40, + 0xdd, 0xf0, 0x75, 0x32, 0x52, 0xaa, 0xe5, 0xea, 0x8d, 0x15, 0xc9, 0x0a, 0xc2, 0x01, 0x6b, 0x15, + 0x6f, 0x64, 0xb7, 0x7d, 0xa2, 0x21, 0x74, 0x8b, 0xba, 0x53, 0x42, 0xd7, 0xf7, 0x9c, 0x91, 0xdb, + 0x2c, 0xe7, 0x12, 0x02, 0x25, 0x7c, 0x40, 0x30, 0xa9, 0x97, 0xe5, 0x4b, 0x56, 0xf7, 0x1c, 0x27, + 0x38, 0xf0, 0xc5, 0x32, 0x15, 0x60, 0x8d, 0x42, 0xd1, 0x35, 0x38, 0xe5, 0x8f, 0x5c, 0x77, 0x80, + 0x87, 0xd8, 0x0e, 0x8c, 0x01, 0xeb, 0x88, 0xcc, 0x59, 0xf1, 0xb5, 0xa2, 0x86, 0xe2, 0x4d, 0x94, + 0xb1, 0x8f, 0xce, 0x03, 0xb8, 0x9e, 0xf5, 0xcc, 0x1a, 0xe0, 0x3e, 0x36, 0x9b, 0x73, 0x94, 0x69, + 0x0c, 0x82, 0xde, 0x26, 0x9e, 0xb7, 0xd7, 0x73, 0x86, 0x6e, 0xb3, 0x92, 0xd6, 0xb7, 0x98, 0xa7, + 0x8e, 0xe7, 0x1c, 0x58, 0x03, 0xac, 0x09, 0x5c, 0xf4, 0x65, 0x28, 0x1b, 0xae, 0x6b, 0x78, 0x43, + 0xc7, 0x6b, 0xc2, 0x64, 0xba, 0x10, 0x19, 0xdd, 0x84, 0x65, 0xce, 0x43, 0x77, 0x59, 0x23, 0x73, + 0x6a, 0xf3, 0xc4, 0x2e, 0xef, 0x17, 0x9a, 0x8a, 0x86, 0x78, 0x3b, 0xa7, 0x25, 0x2e, 0x4e, 0xfd, + 0x27, 0x05, 0x16, 0x13, 0x3c, 0xd1, 0x47, 0xb0, 0x20, 0x38, 0x04, 0x47, 0xae, 0x70, 0x03, 0xaf, + 0xe6, 0x88, 0xb1, 0xce, 0x7f, 0xf7, 0x8e, 0x5c, 0x4c, 0xbd, 0x97, 0x78, 0x40, 0x97, 0xa0, 0x36, + 0x70, 0x7a, 0xc6, 0x80, 0x7a, 0x2d, 0x0f, 0x1f, 0x70, 0x1f, 0xbb, 0x10, 0x02, 0x35, 0x7c, 0xa0, + 0xde, 0x83, 0x6a, 0x8c, 0x01, 0x42, 0x50, 0xd7, 0x58, 0x57, 0x9b, 0xf8, 0xc0, 0x18, 0x0d, 0x82, + 0xc6, 0x0c, 0xaa, 0x03, 0xec, 0xdb, 0x3d, 0xb2, 0xa7, 0xd9, 0xd8, 0x6c, 0x28, 0xa8, 0x06, 0x95, + 0x87, 0x82, 0x45, 0xa3, 0xa0, 0xfe, 0xb8, 0x08, 0xa7, 0xa9, 0xe1, 0x75, 0x1c, 0x93, 0xaf, 0x04, + 0xbe, 0x01, 0x5e, 0x82, 0x5a, 0x8f, 0xce, 0xa5, 0xee, 0x1a, 0x1e, 0xb6, 0x03, 0xbe, 0x0d, 0x2c, + 0x30, 0x60, 0x87, 0xc2, 0x90, 0x06, 0x0d, 0x9f, 0x8f, 0x48, 0xef, 0xb1, 0x95, 0xc3, 0x8d, 0x5b, + 0x1a, 0x75, 0xce, 0x42, 0xd3, 0x16, 0xfd, 0xd4, 0xca, 0x9b, 0xf7, 0x8f, 0xfc, 0x5e, 0x30, 0x10, + 0xde, 0x6e, 0x3d, 0xc5, 0x2a, 0x29, 0xec, 0x7a, 0x97, 0x11, 0x6c, 0xd9, 0x81, 0x77, 0xa4, 0x09, + 0x72, 0xf4, 0x3e, 0x94, 0x9d, 0x67, 0xd8, 0x3b, 0xc4, 0x06, 0xf3, 0x32, 0xd5, 0x1b, 0x97, 0x52, + 0xac, 0x36, 0x84, 0xa3, 0xd7, 0xb0, 0xef, 0x8c, 0xbc, 0x1e, 0xf6, 0xb5, 0x90, 0x08, 0xb5, 0xa1, + 0xe2, 0x09, 0x30, 0xf7, 0x42, 0x53, 0x71, 0x88, 0xa8, 0x5a, 0x77, 0x60, 0x21, 0x2e, 0x1c, 0x6a, + 0x40, 0xf1, 0x29, 0x3e, 0xe2, 0xca, 0x24, 0x7f, 0x23, 0xff, 0xc4, 0x66, 0x98, 0x3d, 0xdc, 0x29, + 0xdc, 0x52, 0x54, 0x0f, 0x50, 0x34, 0xd2, 0x47, 0x38, 0x30, 0x4c, 0x23, 0x30, 0x10, 0x82, 0x12, + 0x0d, 0x8d, 0x18, 0x0b, 0xfa, 0x9f, 0x70, 0x1d, 0x71, 0x57, 0x5d, 0xd1, 0xc8, 0x5f, 0x74, 0x16, + 0x2a, 0xa1, 0x27, 0xe2, 0xf1, 0x51, 0x04, 0x20, 0x71, 0x8a, 0x11, 0x04, 0x78, 0xe8, 0x06, 0x54, + 0x31, 0x35, 0x4d, 0x3c, 0xaa, 0x7f, 0x30, 0x0b, 0x8d, 0x94, 0x2d, 0xdc, 0x81, 0xf2, 0x90, 0x77, + 0xcf, 0x7d, 0xe0, 0x79, 0x29, 0x58, 0x49, 0x09, 0xa9, 0x85, 0xf8, 0x24, 0x16, 0x20, 0xb6, 0x16, + 0x8b, 0xe6, 0xc2, 0x67, 0x66, 0xe4, 0x7d, 0xdd, 0xb4, 0x3c, 0xdc, 0x0b, 0x1c, 0xef, 0x88, 0x0b, + 0xba, 0x30, 0x70, 0xfa, 0x9b, 0x02, 0x86, 0x6e, 0x02, 0x98, 0xb6, 0xaf, 0x53, 0x1b, 0xee, 0xf3, + 0x79, 0x94, 0x36, 0xc0, 0x30, 0x68, 0xd3, 0x2a, 0xa6, 0xed, 0x73, 0x91, 0xef, 0x42, 0x8d, 0x44, + 0x40, 0xfa, 0x90, 0xed, 0x8d, 0xcc, 0x21, 0x55, 0x6f, 0xac, 0xca, 0x72, 0x87, 0xf1, 0x98, 0xb6, + 0xe0, 0x46, 0x0f, 0x3e, 0xba, 0x07, 0x73, 0x34, 0x08, 0xf1, 0x9b, 0x73, 0x94, 0xec, 0xb5, 0xec, + 0xe1, 0x72, 0xeb, 0x7b, 0x48, 0x51, 0x99, 0xf1, 0x71, 0x3a, 0xb4, 0x0b, 0x55, 0xc3, 0xb6, 0x9d, + 0xc0, 0x60, 0x1e, 0x7f, 0x9e, 0xb2, 0x79, 0x23, 0x97, 0x4d, 0x3b, 0xc2, 0x67, 0xbc, 0xe2, 0x1c, + 0xd0, 0x97, 0x61, 0x96, 0x6e, 0x09, 0xdc, 0x87, 0x5f, 0x9c, 0xb8, 0x28, 0x34, 0x86, 0x8f, 0xde, + 0x85, 0xf9, 0xe7, 0x96, 0x6d, 0x3a, 0xcf, 0x7d, 0xee, 0x4f, 0x25, 0x13, 0xfe, 0x3a, 0x6b, 0x4a, + 0x11, 0x0b, 0x9a, 0xd6, 0x6d, 0xa8, 0xc6, 0xc6, 0x77, 0x1c, 0xfb, 0x6d, 0xbd, 0x07, 0x8d, 0xe4, + 0x98, 0x8e, 0x65, 0xff, 0x23, 0x58, 0xd6, 0x46, 0x76, 0x24, 0x9a, 0x38, 0x6c, 0xdc, 0x84, 0x39, + 0x6e, 0x0d, 0xcc, 0x18, 0xcf, 0xe6, 0xa9, 0x55, 0xe3, 0xb8, 0xf1, 0x73, 0xc3, 0xa1, 0x61, 0x9b, + 0x03, 0xec, 0xf1, 0x1e, 0xc5, 0xb9, 0xe1, 0x43, 0x06, 0x55, 0xdf, 0x85, 0xd3, 0x89, 0x6e, 0xf9, + 0xb1, 0xe5, 0x4b, 0x50, 0x77, 0x1d, 0x53, 0xf7, 0x19, 0x58, 0xc4, 0x92, 0x15, 0x62, 0x3b, 0x02, + 0x77, 0xdb, 0x24, 0xe4, 0xdd, 0xc0, 0x71, 0xd3, 0x62, 0x4f, 0x47, 0xde, 0x84, 0x95, 0x24, 0x39, + 0xeb, 0x5e, 0x7d, 0x1f, 0x56, 0x35, 0x3c, 0x74, 0x9e, 0xe1, 0x93, 0xb2, 0x6e, 0x41, 0x33, 0xcd, + 0x80, 0x33, 0xff, 0x26, 0xac, 0x46, 0xd0, 0x6e, 0x60, 0x04, 0x23, 0xff, 0x58, 0xcc, 0xf9, 0x99, + 0xee, 0x89, 0xe3, 0xb3, 0x89, 0x2c, 0x6b, 0xe2, 0x51, 0x5d, 0x85, 0xd9, 0x8e, 0x63, 0x6e, 0x77, + 0x50, 0x1d, 0x0a, 0x96, 0xcb, 0x89, 0x0b, 0x96, 0xab, 0xf6, 0xe2, 0x7d, 0xee, 0xb0, 0xa8, 0x93, + 0x75, 0x9d, 0x44, 0x45, 0xb7, 0xa0, 0x6e, 0x98, 0xa6, 0x45, 0x0c, 0xc9, 0x18, 0xe8, 0x96, 0x2b, + 0x82, 0xe6, 0xa5, 0xc4, 0xd4, 0x6f, 0x77, 0xb4, 0x5a, 0x84, 0xb8, 0xed, 0xfa, 0xea, 0x7d, 0xa8, + 0x44, 0x01, 0xfa, 0xdb, 0xd1, 0xf9, 0xac, 0x30, 0x39, 0x96, 0x0b, 0x0f, 0x6f, 0x3b, 0xa9, 0x4d, + 0x92, 0x8b, 0xf9, 0x36, 0x40, 0xe8, 0x54, 0x45, 0x78, 0x78, 0x3a, 0x93, 0xa5, 0x16, 0x43, 0x54, + 0xff, 0xbd, 0x14, 0x77, 0xb2, 0xb1, 0x21, 0x9b, 0xe1, 0x90, 0x4d, 0xc9, 0xe9, 0x16, 0x8e, 0xe9, + 0x74, 0xdf, 0x84, 0x59, 0x3f, 0x30, 0x02, 0xcc, 0xe3, 0xf1, 0xb5, 0x6c, 0x42, 0xd2, 0x31, 0xd6, + 0x18, 0x26, 0x3a, 0x07, 0xd0, 0xf3, 0xb0, 0x11, 0x60, 0x53, 0x37, 0xd8, 0xae, 0x50, 0xd4, 0x2a, + 0x1c, 0xd2, 0x0e, 0x88, 0x17, 0x11, 0x27, 0x88, 0x8c, 0x8d, 0x70, 0xcc, 0x34, 0x46, 0x67, 0x89, + 0xd0, 0x7b, 0xcd, 0x4d, 0xf4, 0x5e, 0x9c, 0x94, 0x7b, 0xaf, 0xc8, 0x13, 0xcf, 0xe7, 0x79, 0x62, + 0x46, 0x34, 0x8d, 0x27, 0x2e, 0xe7, 0x79, 0x62, 0xce, 0x26, 0xdf, 0x13, 0x67, 0x38, 0x92, 0x4a, + 0x96, 0x23, 0xf9, 0x3c, 0x5d, 0xe7, 0xcf, 0x15, 0x68, 0xa6, 0xd7, 0x33, 0xf7, 0x63, 0x37, 0x61, + 0xce, 0xa7, 0x90, 0x7c, 0xff, 0xc9, 0xa9, 0x38, 0x2e, 0xba, 0x0f, 0x25, 0xcb, 0x3e, 0x70, 0xf8, + 0xc2, 0x5b, 0xcf, 0xa5, 0xe1, 0x3d, 0xad, 0x6f, 0xdb, 0x07, 0x0e, 0xd3, 0x20, 0xa5, 0x6d, 0x7d, + 0x19, 0x2a, 0x21, 0xe8, 0x58, 0xe3, 0xd9, 0x86, 0xe5, 0x84, 0xdd, 0xb2, 0xc3, 0x5d, 0x68, 0xe8, + 0xca, 0xb4, 0x86, 0xae, 0xfe, 0x46, 0x89, 0x2f, 0xbe, 0x0f, 0xac, 0x41, 0x80, 0xbd, 0xd4, 0xe2, + 0x7b, 0x47, 0xf0, 0x65, 0x2b, 0xef, 0x42, 0x0e, 0x5f, 0x76, 0x76, 0xe2, 0xab, 0xe8, 0x31, 0xd4, + 0xa9, 0xd9, 0xe9, 0x3e, 0x1e, 0xd0, 0xf8, 0x85, 0xc7, 0xb0, 0xd7, 0xb2, 0x19, 0xb0, 0xde, 0x99, + 0xd9, 0x76, 0x39, 0x05, 0xd3, 0x57, 0x6d, 0x10, 0x87, 0xb5, 0xee, 0x01, 0x4a, 0x23, 0x1d, 0x4b, + 0x83, 0x8f, 0x88, 0x0f, 0xf3, 0x83, 0xcc, 0xdd, 0xf4, 0x80, 0x8a, 0x91, 0x6f, 0x0d, 0x4c, 0x54, + 0x8d, 0xe3, 0xaa, 0xff, 0x5a, 0x04, 0x88, 0x1a, 0xbf, 0xe0, 0xce, 0xeb, 0x4e, 0xe8, 0x44, 0x58, + 0x14, 0xa8, 0x66, 0xb3, 0xcc, 0x74, 0x1f, 0xdb, 0xb2, 0xfb, 0x60, 0xf1, 0xe0, 0xab, 0x63, 0x18, + 0x1c, 0xdb, 0x71, 0xcc, 0x7f, 0xd1, 0x1c, 0xc7, 0x07, 0xb0, 0x92, 0x34, 0x13, 0xee, 0x35, 0x5e, + 0x87, 0x59, 0x2b, 0xc0, 0x43, 0x76, 0x1f, 0x9a, 0xb8, 0x44, 0x88, 0xa1, 0x33, 0x24, 0xf5, 0x3d, + 0x58, 0x91, 0xe7, 0xea, 0x78, 0xe1, 0x84, 0xfa, 0x30, 0x19, 0x8f, 0x44, 0xee, 0x8b, 0xdb, 0x47, + 0xe6, 0x75, 0x4c, 0x92, 0x86, 0x61, 0xaa, 0x3f, 0x55, 0xe0, 0x74, 0xa2, 0x69, 0xcc, 0xc2, 0xff, + 0x76, 0x6a, 0x01, 0x33, 0x7f, 0x77, 0x33, 0xa7, 0x97, 0xdf, 0xe3, 0x2a, 0xfe, 0x3a, 0xb4, 0xe4, + 0xe9, 0x91, 0x54, 0x7b, 0x3b, 0xb1, 0x94, 0x2f, 0x4e, 0x14, 0x3a, 0x5c, 0xcf, 0x1d, 0x58, 0xcb, + 0x64, 0x9c, 0xd6, 0x79, 0x71, 0x4a, 0x9d, 0xff, 0x77, 0x21, 0xee, 0xb3, 0xdb, 0x41, 0xe0, 0x59, + 0x4f, 0x46, 0x01, 0xfe, 0x6c, 0x03, 0x9d, 0xcd, 0x70, 0x65, 0x33, 0x3f, 0xfb, 0x7a, 0x36, 0x65, + 0xd4, 0x7b, 0xe6, 0x1a, 0xef, 0xca, 0x6b, 0xbc, 0x44, 0x59, 0xbd, 0x39, 0x91, 0x55, 0xee, 0x6a, + 0xff, 0x3c, 0x17, 0xf1, 0x3f, 0x2b, 0xb0, 0x98, 0x98, 0x15, 0x74, 0x0f, 0xc0, 0x08, 0x45, 0xe7, + 0xf6, 0x71, 0x61, 0xd2, 0x10, 0xb5, 0x18, 0x0d, 0xd9, 0x13, 0x59, 0x0c, 0x97, 0xb1, 0x27, 0x66, + 0xc4, 0x70, 0x61, 0x08, 0x77, 0x37, 0x3a, 0x80, 0xb2, 0x8b, 0x4b, 0x35, 0xf7, 0x00, 0xca, 0x68, + 0x05, 0x89, 0xfa, 0x83, 0x02, 0x2c, 0x67, 0x71, 0x47, 0xaf, 0x40, 0xb1, 0xe7, 0x8e, 0xf8, 0x48, + 0xa4, 0xe4, 0xc9, 0x86, 0x3b, 0xda, 0xf7, 0x8d, 0x3e, 0xd6, 0x08, 0x02, 0xba, 0x06, 0x73, 0x43, + 0x3c, 0x74, 0xbc, 0x23, 0x2e, 0xb7, 0x74, 0x05, 0xf0, 0x88, 0xb6, 0x30, 0x6c, 0x8e, 0x86, 0x6e, + 0x44, 0xa1, 0x2e, 0x93, 0xb7, 0x29, 0x45, 0xf4, 0xac, 0x89, 0x91, 0x84, 0xf1, 0xed, 0x0d, 0x98, + 0x77, 0x3d, 0xa7, 0x87, 0x7d, 0x9f, 0xdf, 0x50, 0x34, 0x13, 0xd9, 0x1c, 0xd2, 0xc4, 0x69, 0x38, + 0x22, 0xba, 0x03, 0x10, 0xa6, 0x19, 0xc4, 0xce, 0xd4, 0x92, 0xc6, 0x21, 0x5a, 0x99, 0x4a, 0x62, + 0xd8, 0xe4, 0x94, 0x98, 0xad, 0x38, 0xf5, 0x1f, 0x15, 0x58, 0x88, 0xcb, 0x88, 0xce, 0x42, 0x85, + 0x30, 0xf4, 0x03, 0x63, 0xe8, 0xf2, 0x3b, 0xf0, 0x08, 0x80, 0x76, 0x60, 0xc9, 0x64, 0x97, 0x85, + 0xba, 0x65, 0x07, 0xd8, 0x3b, 0x30, 0x7a, 0x22, 0xe8, 0xb9, 0x98, 0x31, 0xec, 0x6d, 0x81, 0xc3, + 0xc6, 0xd2, 0xe0, 0xb4, 0x21, 0x18, 0xb5, 0x01, 0x42, 0x3e, 0x62, 0x51, 0x4e, 0xc1, 0x28, 0x46, + 0xa4, 0xfe, 0x56, 0x81, 0xd3, 0x99, 0x58, 0x99, 0x57, 0x5f, 0x37, 0xa0, 0xec, 0xbd, 0xd0, 0x9f, + 0x1c, 0x05, 0xd8, 0xcf, 0x9a, 0xe0, 0xfd, 0xd8, 0xfd, 0xf6, 0xbc, 0xf7, 0xe2, 0x3e, 0xc1, 0x43, + 0x37, 0xa1, 0xe2, 0xbd, 0xd0, 0xb1, 0xe7, 0x39, 0x9e, 0xb0, 0xc9, 0xb1, 0x44, 0x65, 0xef, 0xc5, + 0x16, 0x45, 0x24, 0x3d, 0x05, 0xa2, 0xa7, 0xd2, 0x84, 0x9e, 0x82, 0xa8, 0xa7, 0x20, 0xec, 0x69, + 0x76, 0x42, 0x4f, 0x01, 0xef, 0x49, 0xfd, 0x18, 0x16, 0xe2, 0x26, 0x33, 0x61, 0x0a, 0xef, 0x42, + 0x8d, 0x9b, 0x94, 0xde, 0x73, 0x46, 0x76, 0x30, 0x49, 0x0d, 0x0b, 0x1c, 0x7b, 0x83, 0x20, 0xab, + 0x7f, 0xa9, 0x40, 0x65, 0x7b, 0x68, 0xf4, 0x71, 0xd7, 0xc5, 0x3d, 0xe2, 0x53, 0x2c, 0xf2, 0xc0, + 0x55, 0xcc, 0x1e, 0xd0, 0x87, 0xb2, 0x7f, 0x64, 0x3b, 0xe2, 0x2b, 0x52, 0x16, 0x41, 0x70, 0x98, + 0xe0, 0x14, 0x3f, 0xad, 0x67, 0xbb, 0x01, 0xe5, 0xaf, 0xe2, 0x23, 0x16, 0xfb, 0x4f, 0x49, 0xa7, + 0xfe, 0xb0, 0x04, 0xab, 0x63, 0x6e, 0x6a, 0x69, 0xe0, 0xe8, 0x8e, 0x74, 0x17, 0x7b, 0x96, 0x63, + 0x0a, 0xd5, 0xf6, 0xdc, 0x51, 0x87, 0x02, 0xd0, 0x1a, 0x90, 0x07, 0xfd, 0xbb, 0x23, 0x87, 0xef, + 0x4d, 0x45, 0xad, 0xdc, 0x73, 0x47, 0x5f, 0x23, 0xcf, 0x82, 0xd6, 0x3f, 0x34, 0x3c, 0xcc, 0xcc, + 0x88, 0xd1, 0x76, 0x29, 0x00, 0xbd, 0x09, 0xa7, 0x99, 0x43, 0xd1, 0x07, 0xd6, 0xd0, 0x22, 0xcb, + 0x2b, 0x66, 0x3b, 0x45, 0x0d, 0xb1, 0xc6, 0x87, 0xa4, 0x6d, 0xdb, 0x66, 0xd6, 0xa2, 0x42, 0xcd, + 0x71, 0x86, 0xba, 0xdf, 0x73, 0x3c, 0xac, 0x1b, 0xe6, 0xc7, 0xd4, 0x62, 0x8a, 0x5a, 0xd5, 0x71, + 0x86, 0x5d, 0x02, 0x6b, 0x9b, 0x1f, 0xa3, 0x97, 0xa0, 0xda, 0x73, 0x47, 0x3e, 0x0e, 0x74, 0xf2, + 0x43, 0xcf, 0xd3, 0x15, 0x0d, 0x18, 0x68, 0xc3, 0x1d, 0xf9, 0x31, 0x84, 0x21, 0x89, 0xd6, 0xe6, + 0xe3, 0x08, 0x8f, 0xf0, 0x90, 0x26, 0xa4, 0x0e, 0x47, 0x7d, 0xec, 0x1a, 0x7d, 0xcc, 0x44, 0x13, + 0x87, 0x62, 0x29, 0x21, 0xf5, 0x21, 0x47, 0xa1, 0x02, 0x6a, 0xf5, 0xc3, 0xf8, 0xa3, 0x8f, 0x3e, + 0x82, 0xf9, 0x91, 0x6d, 0x1d, 0x58, 0xd8, 0x6c, 0x56, 0x28, 0xed, 0xf5, 0x29, 0xee, 0xc5, 0xd7, + 0xf7, 0x19, 0x09, 0xbf, 0xa6, 0xe7, 0x0c, 0xd0, 0x1d, 0x68, 0x71, 0x45, 0xf9, 0xcf, 0x0d, 0x37, + 0xa9, 0x2d, 0xa0, 0x2a, 0x58, 0x61, 0x18, 0xdd, 0xe7, 0x86, 0x1b, 0xd7, 0x58, 0xeb, 0x0e, 0x2c, + 0xc4, 0x99, 0x1e, 0xcb, 0x96, 0xee, 0x43, 0x4d, 0x1a, 0x24, 0x99, 0x6d, 0xaa, 0x14, 0xdf, 0xfa, + 0x9e, 0x58, 0x00, 0x65, 0x02, 0xe8, 0x5a, 0xdf, 0xa3, 0x69, 0x44, 0x2a, 0x19, 0xe5, 0x53, 0xd2, + 0xd8, 0x83, 0x6a, 0x40, 0x4d, 0xca, 0xdc, 0x11, 0x17, 0x45, 0x53, 0x74, 0xdc, 0x45, 0x91, 0xff, + 0x04, 0xe6, 0x39, 0x03, 0x21, 0x01, 0xfd, 0x4f, 0x60, 0x34, 0x47, 0xc4, 0x6e, 0xbc, 0xe9, 0x7f, + 0xda, 0x05, 0x7e, 0xc6, 0x13, 0xe2, 0x15, 0x8d, 0x3d, 0xa8, 0x7f, 0xaa, 0x00, 0x6c, 0x18, 0xae, + 0xf1, 0xc4, 0x1a, 0x58, 0xc1, 0x11, 0xba, 0x0c, 0x0d, 0xc3, 0x34, 0xf5, 0x9e, 0x80, 0x58, 0x58, + 0x54, 0x28, 0x2c, 0x1a, 0xa6, 0xb9, 0x11, 0x03, 0xa3, 0xab, 0xb0, 0x64, 0x7a, 0x8e, 0x2b, 0xe3, + 0xb2, 0x92, 0x85, 0x06, 0x69, 0x90, 0x90, 0x6f, 0x41, 0x93, 0xf0, 0x35, 0x86, 0x4f, 0x2c, 0x6c, + 0x07, 0x32, 0x0d, 0xab, 0x65, 0x58, 0x31, 0x4c, 0xb3, 0xcd, 0x9a, 0xe3, 0x94, 0xea, 0x3f, 0xcc, + 0xc1, 0x39, 0x79, 0xc6, 0x93, 0xc9, 0xd4, 0x3b, 0xb0, 0x90, 0x90, 0x37, 0x95, 0x86, 0x8c, 0x46, + 0xa8, 0x49, 0xb8, 0x89, 0x74, 0x61, 0x21, 0x95, 0x2e, 0xcc, 0x4c, 0xd4, 0x16, 0x3f, 0xa3, 0x44, + 0x6d, 0xe9, 0x53, 0x26, 0x6a, 0x67, 0x4f, 0x9a, 0xa8, 0x5d, 0x98, 0x3a, 0x51, 0xfb, 0x0a, 0x3d, + 0x54, 0x8a, 0x1e, 0xe9, 0xf6, 0xc8, 0x7c, 0x42, 0x2d, 0xe4, 0x6e, 0x8b, 0xb2, 0x99, 0x44, 0x42, + 0x77, 0xfe, 0x38, 0x09, 0xdd, 0xf2, 0xd8, 0x84, 0xee, 0x05, 0x58, 0xb0, 0x1d, 0xdd, 0xc6, 0xcf, + 0x75, 0x32, 0x2d, 0x7e, 0xb3, 0xca, 0xe6, 0xc8, 0x76, 0x76, 0xf0, 0xf3, 0x0e, 0x81, 0xa0, 0x8b, + 0xb0, 0x30, 0x34, 0xfc, 0xa7, 0xd8, 0xa4, 0x99, 0x55, 0xbf, 0x59, 0xa3, 0xf6, 0x54, 0x65, 0xb0, + 0x0e, 0x01, 0xa1, 0x97, 0x21, 0x94, 0x83, 0x23, 0xd5, 0x29, 0x52, 0x4d, 0x40, 0x19, 0x5a, 0x2c, + 0x39, 0xbc, 0x78, 0xc2, 0xe4, 0x70, 0xe3, 0x38, 0xc9, 0xe1, 0x37, 0xa0, 0x21, 0xfe, 0x8b, 0xec, + 0x30, 0xbb, 0xec, 0xa3, 0x89, 0xe1, 0x45, 0xd1, 0x26, 0x32, 0xc0, 0xe3, 0x72, 0xc9, 0x90, 0x9b, + 0x4b, 0xfe, 0x89, 0xc2, 0x43, 0xdc, 0x70, 0x01, 0xf1, 0x24, 0x96, 0x94, 0x7f, 0x54, 0x4e, 0x92, + 0x7f, 0x44, 0x7b, 0x63, 0x33, 0xb4, 0x97, 0xc7, 0x73, 0x9a, 0x94, 0xa3, 0x55, 0x7f, 0xa0, 0xc0, + 0x39, 0x1e, 0x7f, 0x8e, 0xa9, 0x9f, 0xc8, 0x30, 0x4b, 0x65, 0x8c, 0x59, 0xf6, 0x3c, 0x6c, 0x62, + 0x3b, 0xb0, 0x8c, 0x81, 0xee, 0xbb, 0xb8, 0x27, 0xb2, 0x32, 0x11, 0x98, 0x46, 0x26, 0x17, 0x61, + 0x81, 0x15, 0x1c, 0xf1, 0x30, 0x9b, 0xd5, 0x15, 0x55, 0x69, 0xcd, 0x11, 0x03, 0xa9, 0x0e, 0xac, + 0x8e, 0x49, 0x67, 0x65, 0xaa, 0x41, 0x49, 0xab, 0x21, 0x77, 0x4c, 0x69, 0x35, 0xfc, 0x50, 0x81, + 0x97, 0x38, 0xc9, 0x58, 0xdf, 0xf7, 0x79, 0x28, 0xe2, 0xaf, 0x95, 0xf0, 0x78, 0x90, 0x34, 0xa9, + 0x8d, 0xb4, 0x49, 0xbd, 0x9c, 0xa1, 0x81, 0x7c, 0xa3, 0x7a, 0x3c, 0xd6, 0xa8, 0xae, 0xe6, 0xf1, + 0x9a, 0xa8, 0xcf, 0x7f, 0x53, 0xe0, 0xcc, 0x58, 0x01, 0x12, 0xf1, 0x96, 0x92, 0x8c, 0xb7, 0x78, + 0xac, 0x16, 0x85, 0xc0, 0x2c, 0x56, 0xa3, 0x51, 0x2e, 0x0f, 0x8a, 0xf4, 0xa1, 0xf1, 0xc2, 0x1a, + 0x8e, 0x86, 0x3c, 0x58, 0x23, 0xec, 0x1e, 0x31, 0xc8, 0x49, 0xa2, 0xb5, 0x6b, 0xb0, 0xcc, 0x1c, + 0x29, 0x0d, 0x18, 0x22, 0x0a, 0x16, 0xb4, 0x2d, 0xb1, 0x36, 0x12, 0x3b, 0x70, 0x02, 0xb5, 0x0d, + 0x4b, 0xe1, 0xb0, 0x72, 0xd3, 0xf9, 0xb1, 0xf4, 0x7c, 0x41, 0x4e, 0xcf, 0xdb, 0x30, 0xb7, 0x89, + 0x9f, 0x59, 0x3d, 0xfc, 0x99, 0xd4, 0xe9, 0x5d, 0x80, 0xaa, 0x8b, 0xbd, 0xa1, 0xe5, 0xfb, 0xe1, + 0xae, 0x59, 0xd1, 0xe2, 0x20, 0xf5, 0x27, 0x73, 0xb0, 0x98, 0x34, 0xa1, 0xdb, 0xa9, 0x6a, 0x80, + 0x73, 0x99, 0xa7, 0xd6, 0x8c, 0xeb, 0x9a, 0xab, 0xe2, 0x78, 0x51, 0x48, 0xa7, 0xca, 0xc2, 0x23, + 0x84, 0x38, 0x75, 0x34, 0x61, 0xbe, 0xe7, 0x0c, 0x87, 0x86, 0x6d, 0x8a, 0x62, 0x4a, 0xfe, 0x48, + 0x74, 0x66, 0x78, 0x7d, 0x76, 0x51, 0x53, 0xd1, 0xe8, 0x7f, 0x32, 0xc3, 0xe4, 0xc4, 0x68, 0xd9, + 0xb4, 0x9e, 0x80, 0x4e, 0x42, 0x45, 0x03, 0x0e, 0xda, 0xb4, 0x3c, 0xf4, 0x1a, 0x94, 0xb0, 0xfd, + 0x4c, 0xdc, 0xe0, 0x4a, 0x17, 0x06, 0xe2, 0x48, 0xa1, 0x51, 0x0c, 0x74, 0x19, 0xe6, 0x86, 0xc4, + 0x6a, 0x44, 0xce, 0x69, 0x29, 0x55, 0x74, 0xa8, 0x71, 0x04, 0xf4, 0x3a, 0xcc, 0x9b, 0x74, 0x3e, + 0x44, 0x0c, 0x8d, 0xa4, 0xca, 0x04, 0xda, 0xa4, 0x09, 0x14, 0xf4, 0x7e, 0x78, 0x5b, 0x55, 0x49, + 0x5f, 0x23, 0x27, 0xd4, 0x9c, 0x79, 0x51, 0xb5, 0x23, 0x1f, 0xc4, 0x20, 0x7d, 0xe7, 0x95, 0xe4, + 0x92, 0x7f, 0x23, 0x7d, 0x06, 0xca, 0x03, 0xa7, 0xcf, 0x8c, 0xa3, 0xca, 0x2a, 0x71, 0x07, 0x4e, + 0x9f, 0xda, 0xc6, 0x32, 0xcc, 0xfa, 0x81, 0x69, 0xd9, 0x34, 0x14, 0x29, 0x6b, 0xec, 0x81, 0xac, + 0x41, 0xfa, 0x47, 0x77, 0xec, 0x1e, 0x6e, 0xd6, 0x68, 0x53, 0x85, 0x42, 0x76, 0xed, 0x1e, 0x3d, + 0x92, 0x05, 0xc1, 0x51, 0xb3, 0x4e, 0xe1, 0xe4, 0x6f, 0x74, 0x69, 0xb4, 0x38, 0xe6, 0xd2, 0x28, + 0x21, 0x70, 0xc6, 0xa5, 0x51, 0x63, 0xec, 0xa5, 0x51, 0x92, 0xf6, 0x8b, 0x50, 0xb4, 0xf0, 0xb7, + 0x0a, 0xac, 0x6c, 0xd0, 0xcc, 0x43, 0xcc, 0x85, 0x1d, 0x27, 0x91, 0xfe, 0x56, 0x58, 0xdd, 0x90, + 0x91, 0xa2, 0x4e, 0x8e, 0x58, 0x14, 0x37, 0x6c, 0x40, 0x5d, 0xb0, 0xe5, 0xc4, 0xc5, 0x29, 0x4a, + 0x23, 0x6a, 0x7e, 0xfc, 0x51, 0xbd, 0x0b, 0xab, 0x29, 0xc9, 0xf9, 0xfd, 0x6f, 0xb2, 0x4c, 0x96, + 0x09, 0x1e, 0x2f, 0x93, 0x55, 0xef, 0xc0, 0xe9, 0x6e, 0x60, 0x78, 0x41, 0x6a, 0xd8, 0x53, 0xd0, + 0xd2, 0xa2, 0x07, 0x99, 0x96, 0xd7, 0x25, 0x74, 0x61, 0xb9, 0x1b, 0x38, 0xee, 0x09, 0x98, 0x12, + 0xff, 0x41, 0x46, 0xee, 0x8c, 0xc4, 0x76, 0x20, 0x1e, 0xd5, 0x55, 0x56, 0xa2, 0x91, 0xee, 0xed, + 0x2b, 0xb0, 0xc2, 0x2a, 0x24, 0x4e, 0x32, 0x88, 0x33, 0xa2, 0x3e, 0x23, 0xcd, 0xf7, 0x01, 0x9c, + 0x92, 0x2e, 0xf3, 0x78, 0xf6, 0xf2, 0xba, 0x9c, 0xbd, 0x1c, 0x7f, 0xf9, 0x17, 0x26, 0x2f, 0x7f, + 0x54, 0x88, 0xf9, 0xe3, 0x31, 0x29, 0x8c, 0xb7, 0xe5, 0xdc, 0xe5, 0x4b, 0xe3, 0xb9, 0x4a, 0xa9, + 0xcb, 0xb4, 0x75, 0x16, 0x33, 0xac, 0x73, 0x3f, 0x95, 0x1f, 0x29, 0xa5, 0xf3, 0xc1, 0x09, 0x09, + 0x7f, 0x2f, 0x99, 0x91, 0x87, 0x2c, 0xbf, 0x19, 0x76, 0x1d, 0x26, 0x45, 0xde, 0x4a, 0x24, 0x45, + 0xd6, 0x72, 0x24, 0x0d, 0xd3, 0x21, 0x3f, 0x2a, 0x41, 0x25, 0x6c, 0x4b, 0x69, 0x38, 0xad, 0xaa, + 0x42, 0x86, 0xaa, 0xe2, 0xfb, 0x64, 0xf1, 0x84, 0xfb, 0x64, 0x69, 0x8a, 0x7d, 0x72, 0x0d, 0x2a, + 0xf4, 0x0f, 0x2d, 0x13, 0x65, 0xfb, 0x5e, 0x99, 0x02, 0x34, 0x7c, 0x10, 0x99, 0xd8, 0xdc, 0x94, + 0x26, 0x96, 0xc8, 0xa5, 0xce, 0x27, 0x73, 0xa9, 0xb7, 0xc3, 0x3d, 0xac, 0x9c, 0xbe, 0xdc, 0x0d, + 0x39, 0x66, 0xee, 0x5e, 0x89, 0x6b, 0xc4, 0x4a, 0xfa, 0x1a, 0x31, 0xa2, 0xff, 0xc2, 0xe6, 0x56, + 0x76, 0x59, 0x82, 0x34, 0x6e, 0x67, 0xdc, 0x47, 0xbe, 0x2d, 0xdd, 0xe7, 0x2b, 0xe9, 0x4a, 0xfd, + 0xc8, 0x2f, 0xc4, 0xaf, 0xf2, 0xf7, 0x61, 0x45, 0x9a, 0x88, 0xa8, 0xf0, 0x6a, 0x3a, 0x1f, 0x37, + 0xa6, 0xea, 0xea, 0x8f, 0xe3, 0x91, 0xdb, 0x98, 0x12, 0xa3, 0xdb, 0xa9, 0xcc, 0xdb, 0xd4, 0x16, + 0x7a, 0x5d, 0x4e, 0xd2, 0x1f, 0xdb, 0xae, 0x52, 0x39, 0x7a, 0x1a, 0x59, 0x18, 0x1e, 0x6f, 0x66, + 0x31, 0x74, 0x85, 0x43, 0xda, 0x34, 0x80, 0x3f, 0xb0, 0x6c, 0xcb, 0x3f, 0x64, 0xed, 0x73, 0x2c, + 0x80, 0x17, 0xa0, 0x36, 0xbd, 0xbc, 0xc3, 0x2f, 0xac, 0x40, 0xef, 0x39, 0x26, 0xa6, 0x56, 0x3b, + 0xab, 0x95, 0x09, 0x60, 0xc3, 0x31, 0x71, 0xb4, 0x9e, 0xca, 0xc7, 0x5d, 0x4f, 0x95, 0xc4, 0x7a, + 0x5a, 0x81, 0x39, 0x0f, 0x1b, 0xbe, 0x63, 0xb3, 0x33, 0xbd, 0xc6, 0x9f, 0xc8, 0x44, 0x0c, 0xb1, + 0xef, 0x93, 0x3e, 0x78, 0x20, 0xc5, 0x1f, 0x63, 0x41, 0xdf, 0x42, 0x4e, 0xd0, 0x97, 0x53, 0xc0, + 0x94, 0x08, 0xfa, 0x6a, 0x39, 0x41, 0xdf, 0x54, 0xf5, 0x4b, 0x51, 0x78, 0x5b, 0x9f, 0x14, 0xde, + 0xc6, 0xe3, 0xc3, 0x45, 0x39, 0x3e, 0xbc, 0x1b, 0x3f, 0x48, 0x36, 0xd2, 0x69, 0xdb, 0xfc, 0xb2, + 0xe8, 0xcf, 0x71, 0x01, 0xff, 0x8b, 0x02, 0xab, 0xa9, 0x05, 0xc7, 0x97, 0xf0, 0x5b, 0x89, 0xca, + 0xa8, 0xb5, 0x1c, 0x2d, 0x87, 0x85, 0x51, 0x6d, 0xa9, 0x30, 0xea, 0x8d, 0x3c, 0x92, 0xcf, 0xbc, + 0x2e, 0xea, 0xfb, 0x0a, 0xa0, 0x8c, 0xa3, 0xf2, 0x6d, 0x11, 0x75, 0x1f, 0xe3, 0xd2, 0x88, 0x07, + 0xde, 0xef, 0x47, 0x81, 0x77, 0xe1, 0x38, 0xd7, 0x03, 0x61, 0xc2, 0xf6, 0x57, 0x05, 0x78, 0x69, + 0xdf, 0x35, 0x13, 0x61, 0x24, 0xc7, 0x9a, 0xde, 0xb3, 0xdd, 0x96, 0xb3, 0xcd, 0x27, 0x1c, 0x42, + 0xf1, 0x24, 0x43, 0x40, 0xdf, 0xc9, 0xaa, 0x07, 0xb8, 0x2b, 0xe5, 0xd3, 0xf2, 0x07, 0xf8, 0x3b, + 0xce, 0x82, 0xa9, 0x70, 0x61, 0xbc, 0x00, 0x3c, 0xe4, 0xfc, 0xbf, 0xb0, 0xb8, 0xf5, 0x02, 0xf7, + 0xba, 0x47, 0x76, 0xef, 0x18, 0x5a, 0x6f, 0x40, 0xb1, 0x37, 0x34, 0x79, 0x92, 0x80, 0xfc, 0x8d, + 0x47, 0xd1, 0x45, 0x39, 0x8a, 0xd6, 0xa1, 0x11, 0xf5, 0xc0, 0x17, 0xd0, 0x0a, 0x59, 0x40, 0x26, + 0x41, 0x26, 0xcc, 0x17, 0x34, 0xfe, 0xc4, 0xe1, 0xd8, 0x63, 0x35, 0xd7, 0x0c, 0x8e, 0x3d, 0x4f, + 0xf6, 0xda, 0x45, 0xd9, 0x6b, 0xab, 0x3f, 0x56, 0xa0, 0x4a, 0x7a, 0xf8, 0x54, 0xf2, 0xf3, 0x23, + 0x69, 0x31, 0x3a, 0x92, 0x86, 0x27, 0xdb, 0x52, 0xfc, 0x64, 0x1b, 0x49, 0x3e, 0x4b, 0xc1, 0x69, + 0xc9, 0xe7, 0x42, 0x38, 0xf6, 0x3c, 0xf5, 0x02, 0x2c, 0x30, 0xd9, 0xf8, 0xc8, 0x1b, 0x50, 0x1c, + 0x79, 0x03, 0x31, 0x7f, 0x23, 0x6f, 0xa0, 0xfe, 0xa1, 0x02, 0xb5, 0x76, 0x10, 0x18, 0xbd, 0xc3, + 0x63, 0x0c, 0x20, 0x14, 0xae, 0x10, 0x17, 0x2e, 0x3d, 0x88, 0x48, 0xdc, 0xd2, 0x18, 0x71, 0x67, + 0x25, 0x71, 0x55, 0xa8, 0x0b, 0x59, 0xc6, 0x0a, 0xbc, 0x03, 0xa8, 0xe3, 0x78, 0xc1, 0x07, 0x8e, + 0xf7, 0xdc, 0xf0, 0xcc, 0xe3, 0x9d, 0x5a, 0x11, 0x94, 0xf8, 0x3b, 0xa9, 0xc5, 0xd7, 0x66, 0x35, + 0xfa, 0x5f, 0x7d, 0x15, 0x4e, 0x49, 0xfc, 0xc6, 0x76, 0x7c, 0x07, 0xaa, 0x74, 0x17, 0xe6, 0x07, + 0x9a, 0xab, 0xf1, 0x24, 0xf4, 0x84, 0xdd, 0x5a, 0xdd, 0x84, 0x25, 0x12, 0x8f, 0x51, 0x78, 0xe8, + 0x5f, 0xae, 0x25, 0x62, 0xfe, 0xd5, 0x14, 0x8b, 0x44, 0xbc, 0xff, 0x1b, 0x05, 0x66, 0x29, 0x3c, + 0x15, 0x23, 0xad, 0x91, 0x7d, 0xce, 0x75, 0xf4, 0xc0, 0xe8, 0x87, 0xef, 0xfb, 0x12, 0xc0, 0x9e, + 0xd1, 0xa7, 0x89, 0x0d, 0xda, 0x68, 0x5a, 0x7d, 0xec, 0x07, 0x22, 0x51, 0x56, 0x25, 0xb0, 0x4d, + 0x06, 0x22, 0x8a, 0xa1, 0xf9, 0xc4, 0x12, 0x4d, 0x1b, 0xd2, 0xff, 0xe8, 0x35, 0xf6, 0xba, 0x4e, + 0x7e, 0x76, 0x88, 0xbe, 0xc6, 0xd3, 0x82, 0x72, 0x22, 0xad, 0x13, 0x3e, 0xa3, 0xcb, 0x50, 0xa2, + 0xd7, 0xc4, 0xf3, 0x79, 0x5a, 0xa2, 0x28, 0xc4, 0x2a, 0x5c, 0xcb, 0xb6, 0xb1, 0x49, 0x03, 0xa0, + 0xb2, 0xc6, 0x9f, 0xd4, 0xf7, 0x01, 0xc5, 0x95, 0xc7, 0x27, 0xe8, 0x32, 0xcc, 0x51, 0xdd, 0x8a, + 0x20, 0x76, 0x29, 0xc5, 0x5a, 0xe3, 0x08, 0xea, 0xb7, 0x01, 0xb1, 0xbe, 0xa4, 0xc0, 0xf5, 0x38, + 0x13, 0x98, 0x13, 0xc2, 0xfe, 0x8d, 0x02, 0xa7, 0x24, 0xee, 0x5c, 0xbe, 0x57, 0x65, 0xf6, 0x19, + 0xe2, 0x71, 0xd6, 0xef, 0x4a, 0x3b, 0xf3, 0xe5, 0xb4, 0x18, 0xbf, 0xa3, 0x5d, 0xf9, 0xe7, 0x0a, + 0x40, 0x7b, 0x14, 0x1c, 0xf2, 0x0b, 0xd3, 0xf8, 0x24, 0x2a, 0x89, 0x49, 0x6c, 0x41, 0xd9, 0x35, + 0x7c, 0xff, 0xb9, 0xe3, 0x89, 0x43, 0x64, 0xf8, 0x4c, 0xaf, 0x39, 0x47, 0xfc, 0xb5, 0xe3, 0x8a, + 0x46, 0xff, 0xa3, 0x97, 0xa1, 0xce, 0x5e, 0x44, 0xd7, 0x0d, 0xd3, 0xf4, 0x44, 0xbd, 0x51, 0x45, + 0xab, 0x31, 0x68, 0x9b, 0x01, 0x09, 0x9a, 0x45, 0x93, 0x06, 0xc1, 0x91, 0x1e, 0x38, 0x4f, 0xb1, + 0xcd, 0x0f, 0x86, 0x35, 0x01, 0xdd, 0x23, 0x40, 0x96, 0x75, 0xeb, 0x5b, 0x7e, 0xe0, 0x09, 0x34, + 0x91, 0x3b, 0xe4, 0x50, 0x8a, 0xa6, 0xfe, 0x95, 0x02, 0x8d, 0xce, 0x68, 0x30, 0x60, 0xca, 0x3d, + 0xc9, 0x24, 0x5f, 0xe1, 0x43, 0x29, 0xa4, 0x4d, 0x3e, 0x52, 0x14, 0x1f, 0xe2, 0x67, 0x72, 0x97, + 0x75, 0x1d, 0x96, 0x62, 0x12, 0x73, 0xc3, 0x91, 0x22, 0x7b, 0x45, 0x8e, 0xec, 0xd5, 0x36, 0x20, + 0x76, 0x7d, 0x73, 0xe2, 0x51, 0xaa, 0xa7, 0xe1, 0x94, 0xc4, 0x82, 0x6f, 0xc5, 0x57, 0xa0, 0xc6, + 0xeb, 0x99, 0xb8, 0x41, 0x9c, 0x81, 0x32, 0x71, 0xa9, 0x3d, 0xcb, 0x14, 0x85, 0x02, 0xf3, 0xae, + 0x63, 0x6e, 0x58, 0xa6, 0xa7, 0x7e, 0x0d, 0x6a, 0xfc, 0x1d, 0x4e, 0x8e, 0x7b, 0x0f, 0xea, 0xbc, + 0xc8, 0x4c, 0x97, 0x5e, 0x7a, 0x3a, 0x93, 0x51, 0x54, 0x25, 0x54, 0x61, 0xc7, 0x1f, 0xd5, 0xef, + 0x40, 0x8b, 0x45, 0x0b, 0x12, 0x63, 0x31, 0xc0, 0x7b, 0x20, 0xaa, 0x8f, 0x73, 0xf8, 0xcb, 0x94, + 0x35, 0x2f, 0xfe, 0xa8, 0x9e, 0x83, 0xb5, 0x4c, 0xfe, 0x7c, 0xf4, 0x2e, 0x34, 0xa2, 0x06, 0xf6, + 0x66, 0x4e, 0x58, 0xfd, 0xa0, 0xc4, 0xaa, 0x1f, 0x56, 0xc2, 0xd8, 0xbb, 0x20, 0x76, 0x2e, 0x1a, + 0x5e, 0x47, 0x27, 0xae, 0xe2, 0xb8, 0x13, 0x57, 0x49, 0x3a, 0x71, 0xa9, 0x8f, 0x42, 0x1d, 0xf2, + 0x73, 0xef, 0x5d, 0x7a, 0x32, 0x67, 0x7d, 0x0b, 0xa7, 0x76, 0x36, 0x7b, 0x7c, 0x0c, 0x49, 0x8b, + 0xe1, 0xab, 0x97, 0xa1, 0x26, 0xbb, 0xb7, 0x98, 0xc7, 0x52, 0x52, 0x1e, 0xab, 0x9e, 0x70, 0x56, + 0x6f, 0x26, 0x8e, 0x14, 0x59, 0x7a, 0x4d, 0x1c, 0x28, 0x6e, 0x49, 0x6e, 0xeb, 0x4b, 0x52, 0xa6, + 0xfa, 0x77, 0xe4, 0xb1, 0x96, 0xb9, 0x1f, 0xff, 0xc0, 0x27, 0xf4, 0x7c, 0xa0, 0xea, 0x25, 0xa8, + 0xee, 0x8f, 0x7b, 0x93, 0xbe, 0x24, 0xca, 0xab, 0xde, 0x81, 0xe5, 0x0f, 0xac, 0x01, 0xf6, 0x8f, + 0xfc, 0x00, 0x0f, 0xb7, 0xa9, 0x7b, 0x39, 0xb0, 0xb0, 0x87, 0xce, 0x03, 0xd0, 0x53, 0xa4, 0xeb, + 0x58, 0xe1, 0xdb, 0xc3, 0x31, 0x88, 0xfa, 0x4b, 0x05, 0x16, 0x23, 0xc2, 0x69, 0x0a, 0xdd, 0xde, + 0x86, 0xd9, 0x03, 0x5f, 0xdc, 0xb6, 0x25, 0x72, 0x09, 0x59, 0x22, 0x68, 0xa5, 0x03, 0x7f, 0xdb, + 0x44, 0xef, 0x00, 0x8c, 0x7c, 0x6c, 0xf2, 0xec, 0xdc, 0x84, 0x72, 0xbf, 0x0a, 0x41, 0x65, 0xf9, + 0xbd, 0x5b, 0x50, 0xb5, 0x6c, 0xc7, 0xc4, 0x34, 0x73, 0x6b, 0x4e, 0x2a, 0xf9, 0x03, 0x86, 0xbb, + 0xef, 0x63, 0x53, 0xd5, 0xf9, 0xbe, 0x25, 0xb4, 0xc9, 0x4d, 0xe1, 0x43, 0x58, 0x62, 0xee, 0xe7, + 0x20, 0x14, 0x36, 0xb3, 0xa0, 0x3a, 0xa1, 0x15, 0xad, 0x61, 0xf1, 0x88, 0x45, 0x10, 0xa9, 0x77, + 0xe0, 0x74, 0xa2, 0x38, 0x74, 0xfa, 0x6b, 0xea, 0x8f, 0x12, 0xf7, 0x4d, 0x91, 0xa9, 0x5e, 0x97, + 0x0b, 0xeb, 0xf3, 0x6a, 0x51, 0x79, 0x8d, 0xf7, 0x3e, 0x9c, 0x91, 0x2e, 0xc3, 0x24, 0x59, 0x6e, + 0x25, 0x82, 0xb0, 0x0b, 0xe3, 0xf9, 0x25, 0xa2, 0xb1, 0xff, 0x54, 0x60, 0x39, 0x0b, 0xe1, 0x84, + 0x17, 0xb1, 0xdf, 0x1a, 0xf3, 0x52, 0xce, 0x5b, 0x93, 0x04, 0xfa, 0xbd, 0x5c, 0x5c, 0xef, 0xb0, + 0x92, 0xfe, 0xc9, 0x73, 0x52, 0x9c, 0x6e, 0x4e, 0x7e, 0x53, 0x88, 0x25, 0x1b, 0x72, 0xca, 0xee, + 0x3f, 0xc5, 0xe5, 0xdf, 0x46, 0xa2, 0xea, 0xfe, 0x6a, 0x26, 0xe1, 0x84, 0xa2, 0x7b, 0x2d, 0xeb, + 0x90, 0x7d, 0x7d, 0x12, 0xa7, 0x2f, 0xec, 0xbd, 0xf0, 0x7f, 0x29, 0x50, 0x97, 0x27, 0x04, 0xbd, + 0x9f, 0x51, 0x72, 0xff, 0xd2, 0x84, 0x01, 0x4a, 0x15, 0xf7, 0xbc, 0xc4, 0xbd, 0x30, 0x7d, 0x89, + 0x7b, 0x71, 0xba, 0x12, 0xf7, 0xfb, 0x50, 0x7f, 0xee, 0x59, 0x81, 0xf1, 0x64, 0x80, 0xf5, 0x81, + 0x71, 0x84, 0x3d, 0xee, 0xdd, 0x72, 0xdd, 0x50, 0x4d, 0x90, 0x3c, 0x24, 0x14, 0xea, 0xdf, 0x29, + 0x50, 0x16, 0x62, 0x4c, 0x2c, 0x32, 0x5f, 0x1d, 0x11, 0x34, 0x9d, 0x16, 0xb6, 0xda, 0x86, 0xed, + 0xe8, 0x3e, 0x26, 0x3b, 0xec, 0xc4, 0x92, 0xed, 0x65, 0x4a, 0xb7, 0xe1, 0x78, 0x78, 0xc7, 0xb0, + 0x9d, 0x2e, 0x23, 0x42, 0x6d, 0x68, 0x30, 0x7e, 0x94, 0x15, 0x61, 0x3a, 0xd1, 0xaf, 0xd7, 0x29, + 0x01, 0x61, 0x42, 0x98, 0xf9, 0xea, 0x9f, 0x17, 0xa1, 0x1a, 0xd3, 0xcc, 0x84, 0x01, 0x6c, 0xc0, + 0x92, 0x28, 0x2e, 0xf0, 0x71, 0x30, 0x5d, 0xb5, 0xf9, 0x22, 0xa7, 0xe8, 0xe2, 0x80, 0xed, 0x27, + 0xf7, 0x60, 0xd1, 0x78, 0x66, 0x58, 0x03, 0xaa, 0xf5, 0xa9, 0x36, 0xa3, 0x7a, 0x88, 0x1f, 0xee, + 0x48, 0x6c, 0xdc, 0x53, 0x15, 0xa1, 0x03, 0xc5, 0x8d, 0x2a, 0xde, 0x7d, 0x3f, 0x56, 0xa0, 0x92, + 0x5b, 0xf1, 0xee, 0xfb, 0x61, 0x7f, 0xb4, 0x20, 0x96, 0xd6, 0xf8, 0xfb, 0xfc, 0xdd, 0xdd, 0xf1, + 0xfd, 0x11, 0xdc, 0x0f, 0x28, 0x2a, 0x51, 0xd8, 0xd0, 0xf8, 0xd8, 0xf1, 0xf4, 0x38, 0xfd, 0xfc, + 0x04, 0x85, 0x51, 0x8a, 0x4e, 0xc8, 0x44, 0x7d, 0x0f, 0xce, 0x68, 0xd8, 0x71, 0xb1, 0x1d, 0xae, + 0x93, 0x87, 0x4e, 0xff, 0x18, 0x3b, 0xdd, 0x59, 0x68, 0x65, 0xd1, 0xf3, 0xb8, 0x74, 0x04, 0xad, + 0x8d, 0x43, 0xdc, 0x7b, 0x4a, 0xa3, 0x91, 0x93, 0xe4, 0x97, 0x5b, 0x50, 0x1e, 0x38, 0x3d, 0xf6, + 0x75, 0x2a, 0x7e, 0x74, 0x13, 0xcf, 0x39, 0xb7, 0x66, 0xe7, 0x60, 0x2d, 0xb3, 0x5b, 0x2e, 0x15, + 0x82, 0xc6, 0x03, 0x1c, 0x6c, 0x3d, 0xc3, 0x76, 0xb8, 0x91, 0xaa, 0xff, 0xa3, 0xc4, 0xb6, 0x6c, + 0xda, 0x74, 0x8c, 0xbc, 0x3c, 0xea, 0xc0, 0x72, 0x84, 0x82, 0x09, 0x35, 0xfb, 0x3a, 0x0d, 0xfb, + 0xae, 0x53, 0xf6, 0x9d, 0x3d, 0xed, 0x84, 0x7e, 0x94, 0x06, 0xf5, 0x52, 0xb0, 0x44, 0x26, 0xa7, + 0x98, 0xcc, 0xe4, 0x74, 0x60, 0x39, 0xbe, 0x29, 0x87, 0x9b, 0x4c, 0x69, 0xaa, 0x77, 0xbb, 0x90, + 0x9b, 0x82, 0x5d, 0x79, 0x05, 0xca, 0xe2, 0x83, 0x68, 0x68, 0x1e, 0x8a, 0x7b, 0x1b, 0x9d, 0xc6, + 0x0c, 0xf9, 0xb3, 0xbf, 0xd9, 0x69, 0x28, 0xa8, 0x0c, 0xa5, 0xee, 0xc6, 0x5e, 0xa7, 0x51, 0xb8, + 0x32, 0x84, 0x46, 0xf2, 0x9b, 0x60, 0x68, 0x15, 0x4e, 0x75, 0xb4, 0xdd, 0x4e, 0xfb, 0x41, 0x7b, + 0x6f, 0x7b, 0x77, 0x47, 0xef, 0x68, 0xdb, 0x8f, 0xdb, 0x7b, 0x5b, 0x8d, 0x19, 0x74, 0x11, 0xce, + 0xc5, 0x1b, 0x3e, 0xdc, 0xed, 0xee, 0xe9, 0x7b, 0xbb, 0xfa, 0xc6, 0xee, 0xce, 0x5e, 0x7b, 0x7b, + 0x67, 0x4b, 0x6b, 0x28, 0xe8, 0x1c, 0x9c, 0x89, 0xa3, 0xdc, 0xdf, 0xde, 0xdc, 0xd6, 0xb6, 0x36, + 0xc8, 0xff, 0xf6, 0xc3, 0x46, 0xe1, 0xca, 0xbb, 0x50, 0x93, 0x3e, 0x6e, 0x45, 0x44, 0xea, 0xec, + 0x6e, 0x36, 0x66, 0x50, 0x0d, 0x2a, 0x71, 0x3e, 0x65, 0x28, 0xed, 0xec, 0x6e, 0x6e, 0x35, 0x0a, + 0x08, 0x60, 0x6e, 0xaf, 0xad, 0x3d, 0xd8, 0xda, 0x6b, 0x14, 0xaf, 0xdc, 0x49, 0xbe, 0xa4, 0x85, + 0xd1, 0x12, 0xd4, 0xba, 0xed, 0x9d, 0xcd, 0xfb, 0xbb, 0xdf, 0xd0, 0xb5, 0xad, 0xf6, 0xe6, 0x37, + 0x1b, 0x33, 0x68, 0x19, 0x1a, 0x02, 0xb4, 0xb3, 0xbb, 0xc7, 0xa0, 0xca, 0x95, 0xa7, 0x89, 0xcd, + 0x06, 0xa3, 0xd3, 0xb0, 0x14, 0x76, 0xa9, 0x6f, 0x68, 0x5b, 0xed, 0xbd, 0x2d, 0x22, 0x89, 0x04, + 0xd6, 0xf6, 0x77, 0x76, 0xb6, 0x77, 0x1e, 0x34, 0x14, 0xc2, 0x35, 0x02, 0x6f, 0x7d, 0x63, 0x9b, + 0x20, 0x17, 0x64, 0xe4, 0xfd, 0x9d, 0xaf, 0xee, 0xec, 0x7e, 0x7d, 0xa7, 0x51, 0xbc, 0xf2, 0xff, + 0xe3, 0x49, 0x86, 0xc8, 0x0c, 0xd6, 0x60, 0x35, 0xd5, 0xa3, 0xbe, 0xf5, 0x78, 0x6b, 0x67, 0xaf, + 0x31, 0x23, 0x37, 0x76, 0xf7, 0xda, 0x5a, 0xd4, 0xa8, 0x24, 0x1b, 0x77, 0x3b, 0x9d, 0xb0, 0xb1, + 0x20, 0x37, 0x6e, 0x6e, 0x3d, 0xdc, 0x8a, 0x28, 0x8b, 0x37, 0x7e, 0x1a, 0x7d, 0xe3, 0xa8, 0x8b, + 0x3d, 0x5a, 0x08, 0xb7, 0x09, 0xf3, 0xe2, 0x8b, 0x7f, 0x52, 0x74, 0x24, 0x7f, 0xa1, 0xb0, 0xb5, + 0x96, 0xd9, 0xc6, 0x57, 0xdd, 0x0c, 0x7a, 0x4c, 0xcf, 0x8c, 0xb1, 0x37, 0x9a, 0x2f, 0x24, 0xce, + 0x69, 0xa9, 0x17, 0xa7, 0x5b, 0x17, 0x73, 0x30, 0x42, 0xbe, 0xdf, 0x24, 0x07, 0xc2, 0xf8, 0xe7, + 0x3c, 0xd0, 0x45, 0xf9, 0x3c, 0x97, 0xf1, 0xa5, 0x90, 0x96, 0x9a, 0x87, 0x12, 0xb2, 0xd6, 0xa1, + 0x91, 0xfc, 0x9c, 0x07, 0x92, 0xd2, 0x24, 0x63, 0xbe, 0x16, 0xd2, 0xfa, 0x52, 0x3e, 0x52, 0xbc, + 0x83, 0xd4, 0x57, 0x2a, 0x2e, 0xe5, 0xbf, 0xf7, 0x9f, 0xd1, 0xc1, 0xb8, 0x8f, 0x03, 0x30, 0xe5, + 0xc8, 0x2f, 0x9d, 0xa2, 0xc4, 0x87, 0x21, 0x32, 0xde, 0x57, 0x97, 0x95, 0x93, 0xfd, 0xae, 0xb2, + 0x3a, 0x83, 0xfe, 0x0f, 0x2c, 0x26, 0x6a, 0x99, 0x90, 0x44, 0x98, 0x5d, 0xa2, 0xd5, 0xba, 0x94, + 0x8b, 0x23, 0xcf, 0x6a, 0xbc, 0x5e, 0x29, 0x39, 0xab, 0x19, 0x75, 0x50, 0xc9, 0x59, 0xcd, 0x2c, + 0x77, 0xa2, 0x86, 0x28, 0xd5, 0x26, 0xc9, 0x86, 0x98, 0x55, 0x0b, 0xd5, 0xba, 0x98, 0x83, 0x11, + 0x57, 0x48, 0xa2, 0x3a, 0x49, 0x56, 0x48, 0x76, 0xdd, 0x53, 0xeb, 0x52, 0x2e, 0x4e, 0x72, 0x26, + 0xa3, 0xaa, 0x88, 0xf4, 0x4c, 0xa6, 0x2a, 0x73, 0xd2, 0x33, 0x99, 0x2e, 0xaa, 0xe0, 0x33, 0x99, + 0xa8, 0x63, 0x50, 0x73, 0x73, 0xac, 0x59, 0x33, 0x99, 0x9d, 0x87, 0x55, 0x67, 0xd0, 0x73, 0x68, + 0x8e, 0x4b, 0xa5, 0xa1, 0xab, 0xc7, 0xc8, 0xf8, 0xb5, 0x5e, 0x9f, 0x0e, 0x39, 0xec, 0x18, 0x03, + 0x4a, 0x07, 0x27, 0xe8, 0x65, 0x59, 0xdd, 0x63, 0x82, 0x9f, 0xd6, 0x2b, 0x93, 0xd0, 0xc2, 0x6e, + 0x1e, 0x40, 0x59, 0x24, 0xe9, 0x90, 0xe4, 0x02, 0x13, 0xc9, 0xc1, 0xd6, 0xd9, 0xec, 0xc6, 0x90, + 0xd1, 0x57, 0xa0, 0x44, 0xa0, 0x68, 0x35, 0x89, 0x27, 0x18, 0x34, 0xd3, 0x0d, 0x21, 0x71, 0x1b, + 0xe6, 0x58, 0xf6, 0x09, 0x49, 0xd7, 0x5f, 0x52, 0x76, 0xac, 0xd5, 0xca, 0x6a, 0x0a, 0x59, 0x74, + 0xd8, 0xf7, 0x53, 0x79, 0x32, 0x09, 0x9d, 0x4f, 0x7e, 0xc8, 0x4b, 0xce, 0x5a, 0xb5, 0x5e, 0x1a, + 0xdb, 0x1e, 0xb7, 0xd9, 0xc4, 0x81, 0xed, 0x62, 0xce, 0xe9, 0x3a, 0xcb, 0x66, 0xb3, 0xcf, 0xec, + 0x6c, 0x72, 0xd3, 0x67, 0x7a, 0x79, 0x72, 0xc7, 0xde, 0x9b, 0xc8, 0x93, 0x3b, 0xfe, 0x6a, 0x80, + 0x2d, 0x8d, 0xe4, 0x5b, 0xd1, 0x6a, 0xde, 0x9b, 0xf9, 0x59, 0x4b, 0x63, 0xcc, 0x1b, 0xff, 0xea, + 0x0c, 0x3a, 0x84, 0x53, 0x19, 0x9f, 0x04, 0x40, 0xaf, 0x8c, 0xf7, 0xbf, 0x52, 0x2f, 0xaf, 0x4e, + 0xc4, 0x8b, 0xf7, 0x94, 0x71, 0x83, 0x2c, 0xf7, 0x34, 0xfe, 0x0a, 0x5b, 0xee, 0x29, 0xef, 0x2a, + 0x9a, 0x1a, 0x22, 0xf7, 0x21, 0x67, 0xb2, 0xae, 0x55, 0x33, 0x0c, 0x31, 0xe5, 0x31, 0x0e, 0xe1, + 0x54, 0x46, 0x00, 0x2f, 0x0b, 0x3b, 0xfe, 0x60, 0x21, 0x0b, 0x9b, 0x77, 0x12, 0x98, 0x41, 0xdf, + 0x02, 0xf4, 0x00, 0x07, 0x72, 0xe4, 0xe5, 0x23, 0x69, 0xa1, 0x26, 0xcf, 0x0a, 0x63, 0xec, 0x53, + 0x3a, 0x34, 0xa8, 0x33, 0xd7, 0x95, 0x1b, 0x7f, 0x56, 0x84, 0x05, 0x96, 0xbf, 0xe0, 0x61, 0xd4, + 0x23, 0x80, 0x28, 0x15, 0x88, 0xce, 0x25, 0x27, 0x4f, 0xca, 0xaf, 0xb6, 0xce, 0x8f, 0x6b, 0x8e, + 0x2f, 0xd7, 0x58, 0x8a, 0x4d, 0x5e, 0xae, 0xe9, 0x8c, 0xa1, 0xbc, 0x5c, 0x33, 0x72, 0x73, 0xea, + 0x0c, 0xfa, 0x08, 0x2a, 0x61, 0x46, 0x47, 0x56, 0x42, 0x32, 0x35, 0xd5, 0x3a, 0x37, 0xa6, 0x35, + 0x2e, 0x5d, 0x2c, 0x51, 0x23, 0x4b, 0x97, 0x4e, 0x02, 0xc9, 0xd2, 0x65, 0x65, 0x78, 0xa2, 0xf1, + 0xb2, 0x2b, 0xdf, 0x8c, 0xf1, 0x4a, 0x37, 0xeb, 0x19, 0xe3, 0x95, 0xef, 0x8a, 0xd5, 0x99, 0xfb, + 0xf7, 0x7e, 0xf6, 0xeb, 0xf3, 0xca, 0x2f, 0x7f, 0x7d, 0x7e, 0xe6, 0xff, 0x7d, 0x72, 0x5e, 0xf9, + 0xd9, 0x27, 0xe7, 0x95, 0x5f, 0x7c, 0x72, 0x5e, 0xf9, 0xd5, 0x27, 0xe7, 0x95, 0xef, 0xff, 0xc7, + 0xf9, 0x99, 0x6f, 0xa9, 0x4f, 0x6f, 0xf9, 0xeb, 0x96, 0x73, 0xad, 0xe7, 0x59, 0x6f, 0x18, 0xae, + 0x75, 0xcd, 0x7d, 0xda, 0xbf, 0x66, 0xb8, 0x96, 0x7f, 0x8d, 0xf3, 0xbd, 0xf6, 0xec, 0xcd, 0x27, + 0x73, 0xf4, 0xdb, 0xd1, 0x6f, 0xfd, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x94, 0xf5, 0x05, 0x82, + 0xf5, 0x5b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -8656,7 +8995,8 @@ type RuntimeServiceClient interface { // ContainerStatus returns status of the container. If the container is not // present, returns an error. ContainerStatus(ctx context.Context, in *ContainerStatusRequest, opts ...grpc.CallOption) (*ContainerStatusResponse, error) - // UpdateContainerResources updates ContainerConfig of the container. + // UpdateContainerResources updates ContainerConfig of the container synchronously. + // If runtime fails to transactionally update the requested resources, an error is returned. UpdateContainerResources(ctx context.Context, in *UpdateContainerResourcesRequest, opts ...grpc.CallOption) (*UpdateContainerResourcesResponse, error) // ReopenContainerLog asks runtime to reopen the stdout/stderr log file // for the container. This is often called after the log file has been @@ -8686,6 +9026,10 @@ type RuntimeServiceClient interface { UpdateRuntimeConfig(ctx context.Context, in *UpdateRuntimeConfigRequest, opts ...grpc.CallOption) (*UpdateRuntimeConfigResponse, error) // Status returns the status of the runtime. Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) + // CheckpointContainer checkpoints a container + CheckpointContainer(ctx context.Context, in *CheckpointContainerRequest, opts ...grpc.CallOption) (*CheckpointContainerResponse, error) + // GetContainerEvents gets container events from the CRI runtime + GetContainerEvents(ctx context.Context, in *GetEventsRequest, opts ...grpc.CallOption) (RuntimeService_GetContainerEventsClient, error) } type runtimeServiceClient struct { @@ -8912,6 +9256,47 @@ func (c *runtimeServiceClient) Status(ctx context.Context, in *StatusRequest, op return out, nil } +func (c *runtimeServiceClient) CheckpointContainer(ctx context.Context, in *CheckpointContainerRequest, opts ...grpc.CallOption) (*CheckpointContainerResponse, error) { + out := new(CheckpointContainerResponse) + err := c.cc.Invoke(ctx, "/runtime.v1.RuntimeService/CheckpointContainer", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *runtimeServiceClient) GetContainerEvents(ctx context.Context, in *GetEventsRequest, opts ...grpc.CallOption) (RuntimeService_GetContainerEventsClient, error) { + stream, err := c.cc.NewStream(ctx, &_RuntimeService_serviceDesc.Streams[0], "/runtime.v1.RuntimeService/GetContainerEvents", opts...) + if err != nil { + return nil, err + } + x := &runtimeServiceGetContainerEventsClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil +} + +type RuntimeService_GetContainerEventsClient interface { + Recv() (*ContainerEventResponse, error) + grpc.ClientStream +} + +type runtimeServiceGetContainerEventsClient struct { + grpc.ClientStream +} + +func (x *runtimeServiceGetContainerEventsClient) Recv() (*ContainerEventResponse, error) { + m := new(ContainerEventResponse) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil +} + // RuntimeServiceServer is the server API for RuntimeService service. type RuntimeServiceServer interface { // Version returns the runtime name, runtime version, and runtime API version. @@ -8959,7 +9344,8 @@ type RuntimeServiceServer interface { // ContainerStatus returns status of the container. If the container is not // present, returns an error. ContainerStatus(context.Context, *ContainerStatusRequest) (*ContainerStatusResponse, error) - // UpdateContainerResources updates ContainerConfig of the container. + // UpdateContainerResources updates ContainerConfig of the container synchronously. + // If runtime fails to transactionally update the requested resources, an error is returned. UpdateContainerResources(context.Context, *UpdateContainerResourcesRequest) (*UpdateContainerResourcesResponse, error) // ReopenContainerLog asks runtime to reopen the stdout/stderr log file // for the container. This is often called after the log file has been @@ -8989,6 +9375,10 @@ type RuntimeServiceServer interface { UpdateRuntimeConfig(context.Context, *UpdateRuntimeConfigRequest) (*UpdateRuntimeConfigResponse, error) // Status returns the status of the runtime. Status(context.Context, *StatusRequest) (*StatusResponse, error) + // CheckpointContainer checkpoints a container + CheckpointContainer(context.Context, *CheckpointContainerRequest) (*CheckpointContainerResponse, error) + // GetContainerEvents gets container events from the CRI runtime + GetContainerEvents(*GetEventsRequest, RuntimeService_GetContainerEventsServer) error } // UnimplementedRuntimeServiceServer can be embedded to have forward compatible implementations. @@ -9067,6 +9457,12 @@ func (*UnimplementedRuntimeServiceServer) UpdateRuntimeConfig(ctx context.Contex func (*UnimplementedRuntimeServiceServer) Status(ctx context.Context, req *StatusRequest) (*StatusResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Status not implemented") } +func (*UnimplementedRuntimeServiceServer) CheckpointContainer(ctx context.Context, req *CheckpointContainerRequest) (*CheckpointContainerResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CheckpointContainer not implemented") +} +func (*UnimplementedRuntimeServiceServer) GetContainerEvents(req *GetEventsRequest, srv RuntimeService_GetContainerEventsServer) error { + return status.Errorf(codes.Unimplemented, "method GetContainerEvents not implemented") +} func RegisterRuntimeServiceServer(s *grpc.Server, srv RuntimeServiceServer) { s.RegisterService(&_RuntimeService_serviceDesc, srv) @@ -9504,6 +9900,45 @@ func _RuntimeService_Status_Handler(srv interface{}, ctx context.Context, dec fu return interceptor(ctx, in, info, handler) } +func _RuntimeService_CheckpointContainer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CheckpointContainerRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RuntimeServiceServer).CheckpointContainer(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/runtime.v1.RuntimeService/CheckpointContainer", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RuntimeServiceServer).CheckpointContainer(ctx, req.(*CheckpointContainerRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _RuntimeService_GetContainerEvents_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(GetEventsRequest) + if err := stream.RecvMsg(m); err != nil { + return err + } + return srv.(RuntimeServiceServer).GetContainerEvents(m, &runtimeServiceGetContainerEventsServer{stream}) +} + +type RuntimeService_GetContainerEventsServer interface { + Send(*ContainerEventResponse) error + grpc.ServerStream +} + +type runtimeServiceGetContainerEventsServer struct { + grpc.ServerStream +} + +func (x *runtimeServiceGetContainerEventsServer) Send(m *ContainerEventResponse) error { + return x.ServerStream.SendMsg(m) +} + var _RuntimeService_serviceDesc = grpc.ServiceDesc{ ServiceName: "runtime.v1.RuntimeService", HandlerType: (*RuntimeServiceServer)(nil), @@ -9604,8 +10039,18 @@ var _RuntimeService_serviceDesc = grpc.ServiceDesc{ MethodName: "Status", Handler: _RuntimeService_Status_Handler, }, + { + MethodName: "CheckpointContainer", + Handler: _RuntimeService_CheckpointContainer_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "GetContainerEvents", + Handler: _RuntimeService_GetContainerEvents_Handler, + ServerStreams: true, + }, }, - Streams: []grpc.StreamDesc{}, Metadata: "api.proto", } @@ -13783,6 +14228,20 @@ func (m *ContainerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.Resources != nil { + { + size, err := m.Resources.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } if len(m.LogPath) > 0 { i -= len(m.LogPath) copy(dAtA[i:], m.LogPath) @@ -13976,6 +14435,53 @@ func (m *ContainerStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } +func (m *ContainerResources) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ContainerResources) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ContainerResources) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Windows != nil { + { + size, err := m.Windows.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Linux != nil { + { + size, err := m.Linux.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *UpdateContainerResourcesRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -14388,21 +14894,21 @@ func (m *PortForwardRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { var l int _ = l if len(m.Port) > 0 { - dAtA73 := make([]byte, len(m.Port)*10) - var j72 int + dAtA76 := make([]byte, len(m.Port)*10) + var j75 int for _, num1 := range m.Port { num := uint64(num1) for num >= 1<<7 { - dAtA73[j72] = uint8(uint64(num)&0x7f | 0x80) + dAtA76[j75] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j72++ + j75++ } - dAtA73[j72] = uint8(num) - j72++ + dAtA76[j75] = uint8(num) + j75++ } - i -= j72 - copy(dAtA[i:], dAtA73[:j72]) - i = encodeVarintApi(dAtA, i, uint64(j72)) + i -= j75 + copy(dAtA[i:], dAtA76[:j75]) + i = encodeVarintApi(dAtA, i, uint64(j75)) i-- dAtA[i] = 0x12 } @@ -15990,6 +16496,146 @@ func (m *ReopenContainerLogResponse) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } +func (m *CheckpointContainerRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CheckpointContainerRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CheckpointContainerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Timeout != 0 { + i = encodeVarintApi(dAtA, i, uint64(m.Timeout)) + i-- + dAtA[i] = 0x18 + } + if len(m.Location) > 0 { + i -= len(m.Location) + copy(dAtA[i:], m.Location) + i = encodeVarintApi(dAtA, i, uint64(len(m.Location))) + i-- + dAtA[i] = 0x12 + } + if len(m.ContainerId) > 0 { + i -= len(m.ContainerId) + copy(dAtA[i:], m.ContainerId) + i = encodeVarintApi(dAtA, i, uint64(len(m.ContainerId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CheckpointContainerResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CheckpointContainerResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *CheckpointContainerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *GetEventsRequest) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GetEventsRequest) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *GetEventsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *ContainerEventResponse) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ContainerEventResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ContainerEventResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.PodSandboxMetadata != nil { + { + size, err := m.PodSandboxMetadata.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } + if m.CreatedAt != 0 { + i = encodeVarintApi(dAtA, i, uint64(m.CreatedAt)) + i-- + dAtA[i] = 0x18 + } + if m.ContainerEventType != 0 { + i = encodeVarintApi(dAtA, i, uint64(m.ContainerEventType)) + i-- + dAtA[i] = 0x10 + } + if len(m.ContainerId) > 0 { + i -= len(m.ContainerId) + copy(dAtA[i:], m.ContainerId) + i = encodeVarintApi(dAtA, i, uint64(len(m.ContainerId))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func encodeVarintApi(dAtA []byte, offset int, v uint64) int { offset -= sovApi(v) base := offset @@ -17714,6 +18360,10 @@ func (m *ContainerStatus) Size() (n int) { if l > 0 { n += 1 + l + sovApi(uint64(l)) } + if m.Resources != nil { + l = m.Resources.Size() + n += 2 + l + sovApi(uint64(l)) + } return n } @@ -17738,6 +18388,23 @@ func (m *ContainerStatusResponse) Size() (n int) { return n } +func (m *ContainerResources) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Linux != nil { + l = m.Linux.Size() + n += 1 + l + sovApi(uint64(l)) + } + if m.Windows != nil { + l = m.Windows.Size() + n += 1 + l + sovApi(uint64(l)) + } + return n +} + func (m *UpdateContainerResourcesRequest) Size() (n int) { if m == nil { return 0 @@ -18551,6 +19218,67 @@ func (m *ReopenContainerLogResponse) Size() (n int) { return n } +func (m *CheckpointContainerRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ContainerId) + if l > 0 { + n += 1 + l + sovApi(uint64(l)) + } + l = len(m.Location) + if l > 0 { + n += 1 + l + sovApi(uint64(l)) + } + if m.Timeout != 0 { + n += 1 + sovApi(uint64(m.Timeout)) + } + return n +} + +func (m *CheckpointContainerResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *GetEventsRequest) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *ContainerEventResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ContainerId) + if l > 0 { + n += 1 + l + sovApi(uint64(l)) + } + if m.ContainerEventType != 0 { + n += 1 + sovApi(uint64(m.ContainerEventType)) + } + if m.CreatedAt != 0 { + n += 1 + sovApi(uint64(m.CreatedAt)) + } + if m.PodSandboxMetadata != nil { + l = m.PodSandboxMetadata.Size() + n += 1 + l + sovApi(uint64(l)) + } + return n +} + func sovApi(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } @@ -19748,6 +20476,7 @@ func (this *ContainerStatus) String() string { `Annotations:` + mapStringForAnnotations + `,`, `Mounts:` + repeatedStringForMounts + `,`, `LogPath:` + fmt.Sprintf("%v", this.LogPath) + `,`, + `Resources:` + strings.Replace(this.Resources.String(), "ContainerResources", "ContainerResources", 1) + `,`, `}`, }, "") return s @@ -19773,6 +20502,17 @@ func (this *ContainerStatusResponse) String() string { }, "") return s } +func (this *ContainerResources) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&ContainerResources{`, + `Linux:` + strings.Replace(this.Linux.String(), "LinuxContainerResources", "LinuxContainerResources", 1) + `,`, + `Windows:` + strings.Replace(this.Windows.String(), "WindowsContainerResources", "WindowsContainerResources", 1) + `,`, + `}`, + }, "") + return s +} func (this *UpdateContainerResourcesRequest) String() string { if this == nil { return "nil" @@ -20354,6 +21094,49 @@ func (this *ReopenContainerLogResponse) String() string { }, "") return s } +func (this *CheckpointContainerRequest) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&CheckpointContainerRequest{`, + `ContainerId:` + fmt.Sprintf("%v", this.ContainerId) + `,`, + `Location:` + fmt.Sprintf("%v", this.Location) + `,`, + `Timeout:` + fmt.Sprintf("%v", this.Timeout) + `,`, + `}`, + }, "") + return s +} +func (this *CheckpointContainerResponse) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&CheckpointContainerResponse{`, + `}`, + }, "") + return s +} +func (this *GetEventsRequest) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&GetEventsRequest{`, + `}`, + }, "") + return s +} +func (this *ContainerEventResponse) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&ContainerEventResponse{`, + `ContainerId:` + fmt.Sprintf("%v", this.ContainerId) + `,`, + `ContainerEventType:` + fmt.Sprintf("%v", this.ContainerEventType) + `,`, + `CreatedAt:` + fmt.Sprintf("%v", this.CreatedAt) + `,`, + `PodSandboxMetadata:` + strings.Replace(this.PodSandboxMetadata.String(), "PodSandboxMetadata", "PodSandboxMetadata", 1) + `,`, + `}`, + }, "") + return s +} func valueToStringApi(v interface{}) string { rv := reflect.ValueOf(v) if rv.IsNil() { @@ -33411,59 +34194,9 @@ func (m *ContainerStatus) Unmarshal(dAtA []byte) error { } m.LogPath = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipApi(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthApi - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *ContainerStatusResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowApi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ContainerStatusResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ContainerStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + case 16: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -33490,140 +34223,13 @@ func (m *ContainerStatusResponse) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Status == nil { - m.Status = &ContainerStatus{} + if m.Resources == nil { + m.Resources = &ContainerResources{} } - if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Resources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowApi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthApi - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthApi - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Info == nil { - m.Info = make(map[string]string) - } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowApi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowApi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthApi - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthApi - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowApi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthApi - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthApi - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipApi(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthApi - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - m.Info[mapkey] = mapvalue - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipApi(dAtA[iNdEx:]) @@ -33645,7 +34251,7 @@ func (m *ContainerStatusResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *UpdateContainerResourcesRequest) Unmarshal(dAtA []byte) error { +func (m *ContainerStatusResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -33668,47 +34274,382 @@ func (m *UpdateContainerResourcesRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: UpdateContainerResourcesRequest: wiretype end group for non-group") + return fmt.Errorf("proto: ContainerStatusResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: UpdateContainerResourcesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ContainerStatusResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ContainerId", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowApi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthApi - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthApi - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ContainerId = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Linux", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthApi + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthApi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Status == nil { + m.Status = &ContainerStatus{} + } + if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthApi + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthApi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Info == nil { + m.Info = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthApi + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthApi + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLengthApi + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthApi + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skipApi(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthApi + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Info[mapkey] = mapvalue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipApi(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthApi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ContainerResources) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ContainerResources: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ContainerResources: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Linux", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthApi + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthApi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Linux == nil { + m.Linux = &LinuxContainerResources{} + } + if err := m.Linux.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Windows", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthApi + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthApi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Windows == nil { + m.Windows = &WindowsContainerResources{} + } + if err := m.Windows.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipApi(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthApi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *UpdateContainerResourcesRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: UpdateContainerResourcesRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: UpdateContainerResourcesRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContainerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthApi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthApi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContainerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Linux", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -39490,6 +40431,395 @@ func (m *ReopenContainerLogResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *CheckpointContainerRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CheckpointContainerRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CheckpointContainerRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContainerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthApi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthApi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContainerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Location", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthApi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthApi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Location = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Timeout", wireType) + } + m.Timeout = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Timeout |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipApi(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthApi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CheckpointContainerResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CheckpointContainerResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CheckpointContainerResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipApi(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthApi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GetEventsRequest) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GetEventsRequest: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GetEventsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipApi(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthApi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ContainerEventResponse) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ContainerEventResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ContainerEventResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ContainerId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthApi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthApi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ContainerId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ContainerEventType", wireType) + } + m.ContainerEventType = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ContainerEventType |= ContainerEventType(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CreatedAt", wireType) + } + m.CreatedAt = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CreatedAt |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PodSandboxMetadata", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthApi + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthApi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.PodSandboxMetadata == nil { + m.PodSandboxMetadata = &PodSandboxMetadata{} + } + if err := m.PodSandboxMetadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipApi(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthApi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func skipApi(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1/api.proto b/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1/api.proto index 05466a16cae7..9feb4b245f42 100644 --- a/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1/api.proto +++ b/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1/api.proto @@ -79,7 +79,8 @@ service RuntimeService { // ContainerStatus returns status of the container. If the container is not // present, returns an error. rpc ContainerStatus(ContainerStatusRequest) returns (ContainerStatusResponse) {} - // UpdateContainerResources updates ContainerConfig of the container. + // UpdateContainerResources updates ContainerConfig of the container synchronously. + // If runtime fails to transactionally update the requested resources, an error is returned. rpc UpdateContainerResources(UpdateContainerResourcesRequest) returns (UpdateContainerResourcesResponse) {} // ReopenContainerLog asks runtime to reopen the stdout/stderr log file // for the container. This is often called after the log file has been @@ -114,6 +115,13 @@ service RuntimeService { // Status returns the status of the runtime. rpc Status(StatusRequest) returns (StatusResponse) {} + + // CheckpointContainer checkpoints a container + rpc CheckpointContainer(CheckpointContainerRequest) returns (CheckpointContainerResponse) {} + + // GetContainerEvents gets container events from the CRI runtime + rpc GetContainerEvents(GetEventsRequest) returns (stream ContainerEventResponse) {} + } // ImageService defines the public APIs for managing images. @@ -755,7 +763,7 @@ message SELinuxOption { // Capability contains the container capabilities to add or drop // Dropping a capability will drop it from all sets. -// If a capability is added to only the add_capabilities list then it gets added to permitted, +// If a capability is added to only the add_capabilities list then it gets added to permitted, // inheritable, effective and bounding sets, i.e. all sets except the ambient set. // If a capability is added to only the add_ambient_capabilities list then it gets added to all sets, i.e permitted // inheritable, effective, bounding and ambient sets. @@ -1151,6 +1159,8 @@ message ContainerStatus { repeated Mount mounts = 14; // Log path of container. string log_path = 15; + // Resource limits configuration of the container. + ContainerResources resources = 16; } message ContainerStatusResponse { @@ -1163,6 +1173,14 @@ message ContainerStatusResponse { map info = 2; } +// ContainerResources holds resource limits configuration for a container. +message ContainerResources { + // Resource limits configuration specific to Linux container. + LinuxContainerResources linux = 1; + // Resource limits configuration specific to Windows container. + WindowsContainerResources windows = 2; +} + message UpdateContainerResourcesRequest { // ID of the container to update. string container_id = 1; @@ -1543,3 +1561,46 @@ message ReopenContainerLogRequest { message ReopenContainerLogResponse{ } + +message CheckpointContainerRequest { + // ID of the container to be checkpointed. + string container_id = 1; + // Location of the checkpoint archive used for export + string location = 2; + // Timeout in seconds for the checkpoint to complete. + // Timeout of zero means to use the CRI default. + // Timeout > 0 means to use the user specified timeout. + int64 timeout = 3; +} + +message CheckpointContainerResponse {} + +message GetEventsRequest {} + +message ContainerEventResponse { + // ID of the container + string container_id = 1; + + // Type of the container event + ContainerEventType container_event_type = 2; + + // Creation timestamp of this event + int64 created_at = 3; + + // ID of the sandbox container + PodSandboxMetadata pod_sandbox_metadata = 4; +} + +enum ContainerEventType { + // Container created + CONTAINER_CREATED_EVENT = 0; + + // Container started + CONTAINER_STARTED_EVENT = 1; + + // Container stopped + CONTAINER_STOPPED_EVENT = 2; + + // Container deleted + CONTAINER_DELETED_EVENT = 3; +} diff --git a/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.pb.go b/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.pb.go index 3538c17b9969..df3e37de73e2 100644 --- a/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.pb.go +++ b/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.pb.go @@ -865,9 +865,9 @@ func (m *Int64Value) GetValue() int64 { // LinuxSandboxSecurityContext holds linux security configuration that will be // applied to a sandbox. Note that: -// 1) It does not apply to containers in the pods. -// 2) It may not be applicable to a PodSandbox which does not contain any running -// process. +// 1. It does not apply to containers in the pods. +// 2. It may not be applicable to a PodSandbox which does not contain any running +// process. type LinuxSandboxSecurityContext struct { // Configurations for the sandbox's namespaces. // This will be used only if the PodSandbox uses namespace for isolation. @@ -895,10 +895,11 @@ type LinuxSandboxSecurityContext struct { // AppArmor profile for the sandbox. Apparmor *SecurityProfile `protobuf:"bytes,10,opt,name=apparmor,proto3" json:"apparmor,omitempty"` // Seccomp profile for the sandbox, candidate values are: - // * runtime/default: the default profile for the container runtime - // * unconfined: unconfined profile, ie, no seccomp sandboxing - // * localhost/: the profile installed on the node. - // is the full path of the profile. + // - runtime/default: the default profile for the container runtime + // - unconfined: unconfined profile, ie, no seccomp sandboxing + // - localhost/: the profile installed on the node. + // is the full path of the profile. + // // Default: "", which is identical with unconfined. SeccompProfilePath string `protobuf:"bytes,7,opt,name=seccomp_profile_path,json=seccompProfilePath,proto3" json:"seccomp_profile_path,omitempty"` // Deprecated: Do not use. XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -1249,8 +1250,9 @@ type PodSandboxConfig struct { // containers. For example, the files might be newline separated JSON // structured logs, systemd-journald journal files, gRPC trace files, etc. // E.g., - // PodSandboxConfig.LogDirectory = `/var/log/pods//` - // ContainerConfig.LogPath = `containerName/Instance#.log` + // + // PodSandboxConfig.LogDirectory = `/var/log/pods//` + // ContainerConfig.LogPath = `containerName/Instance#.log` LogDirectory string `protobuf:"bytes,3,opt,name=log_directory,json=logDirectory,proto3" json:"log_directory,omitempty"` // DNS config for the sandbox. DnsConfig *DNSConfig `protobuf:"bytes,4,opt,name=dns_config,json=dnsConfig,proto3" json:"dns_config,omitempty"` @@ -3603,17 +3605,18 @@ type LinuxContainerSecurityContext struct { // AppArmor profile for the container. Apparmor *SecurityProfile `protobuf:"bytes,16,opt,name=apparmor,proto3" json:"apparmor,omitempty"` // AppArmor profile for the container, candidate values are: - // * runtime/default: equivalent to not specifying a profile. - // * unconfined: no profiles are loaded - // * localhost/: profile loaded on the node - // (localhost) by name. The possible profile names are detailed at - // https://gitlab.com/apparmor/apparmor/-/wikis/AppArmor_Core_Policy_Reference + // - runtime/default: equivalent to not specifying a profile. + // - unconfined: no profiles are loaded + // - localhost/: profile loaded on the node + // (localhost) by name. The possible profile names are detailed at + // https://gitlab.com/apparmor/apparmor/-/wikis/AppArmor_Core_Policy_Reference ApparmorProfile string `protobuf:"bytes,9,opt,name=apparmor_profile,json=apparmorProfile,proto3" json:"apparmor_profile,omitempty"` // Deprecated: Do not use. // Seccomp profile for the container, candidate values are: - // * runtime/default: the default profile for the container runtime - // * unconfined: unconfined profile, ie, no seccomp sandboxing - // * localhost/: the profile installed on the node. - // is the full path of the profile. + // - runtime/default: the default profile for the container runtime + // - unconfined: unconfined profile, ie, no seccomp sandboxing + // - localhost/: the profile installed on the node. + // is the full path of the profile. + // // Default: "", which is identical with unconfined. SeccompProfilePath string `protobuf:"bytes,10,opt,name=seccomp_profile_path,json=seccompProfilePath,proto3" json:"seccomp_profile_path,omitempty"` // Deprecated: Do not use. XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -4300,10 +4303,11 @@ type ContainerConfig struct { Devices []*Device `protobuf:"bytes,8,rep,name=devices,proto3" json:"devices,omitempty"` // Key-value pairs that may be used to scope and select individual resources. // Label keys are of the form: - // label-key ::= prefixed-name | name - // prefixed-name ::= prefix '/' name - // prefix ::= DNS_SUBDOMAIN - // name ::= DNS_LABEL + // + // label-key ::= prefixed-name | name + // prefixed-name ::= prefix '/' name + // prefix ::= DNS_SUBDOMAIN + // name ::= DNS_LABEL Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Unstructured key-value map that may be used by the kubelet to store and // retrieve arbitrary metadata. @@ -4319,8 +4323,9 @@ type ContainerConfig struct { // Path relative to PodSandboxConfig.LogDirectory for container to store // the log (STDOUT and STDERR) on the host. // E.g., - // PodSandboxConfig.LogDirectory = `/var/log/pods//` - // ContainerConfig.LogPath = `containerName/Instance#.log` + // + // PodSandboxConfig.LogDirectory = `/var/log/pods//` + // ContainerConfig.LogPath = `containerName/Instance#.log` // // WARNING: Log management and how kubelet should interface with the // container logs are under active discussion in @@ -5287,9 +5292,11 @@ type ContainerStatus struct { // Mounts for the container. Mounts []*Mount `protobuf:"bytes,14,rep,name=mounts,proto3" json:"mounts,omitempty"` // Log path of container. - LogPath string `protobuf:"bytes,15,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_sizecache int32 `json:"-"` + LogPath string `protobuf:"bytes,15,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"` + // Resource limits configuration of the container. + Resources *ContainerResources `protobuf:"bytes,16,opt,name=resources,proto3" json:"resources,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *ContainerStatus) Reset() { *m = ContainerStatus{} } @@ -5429,6 +5436,13 @@ func (m *ContainerStatus) GetLogPath() string { return "" } +func (m *ContainerStatus) GetResources() *ContainerResources { + if m != nil { + return m.Resources + } + return nil +} + type ContainerStatusResponse struct { // Status of the container. Status *ContainerStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` @@ -5487,6 +5501,62 @@ func (m *ContainerStatusResponse) GetInfo() map[string]string { return nil } +// ContainerResources holds resource limits configuration for a container. +type ContainerResources struct { + // Resource limits configuration specific to Linux container. + Linux *LinuxContainerResources `protobuf:"bytes,1,opt,name=linux,proto3" json:"linux,omitempty"` + // Resource limits configuration specific to Windows container. + Windows *WindowsContainerResources `protobuf:"bytes,2,opt,name=windows,proto3" json:"windows,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ContainerResources) Reset() { *m = ContainerResources{} } +func (*ContainerResources) ProtoMessage() {} +func (*ContainerResources) Descriptor() ([]byte, []int) { + return fileDescriptor_00212fb1f9d3bf1c, []int{76} +} +func (m *ContainerResources) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ContainerResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ContainerResources.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ContainerResources) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerResources.Merge(m, src) +} +func (m *ContainerResources) XXX_Size() int { + return m.Size() +} +func (m *ContainerResources) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerResources.DiscardUnknown(m) +} + +var xxx_messageInfo_ContainerResources proto.InternalMessageInfo + +func (m *ContainerResources) GetLinux() *LinuxContainerResources { + if m != nil { + return m.Linux + } + return nil +} + +func (m *ContainerResources) GetWindows() *WindowsContainerResources { + if m != nil { + return m.Windows + } + return nil +} + type UpdateContainerResourcesRequest struct { // ID of the container to update. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` @@ -5505,7 +5575,7 @@ type UpdateContainerResourcesRequest struct { func (m *UpdateContainerResourcesRequest) Reset() { *m = UpdateContainerResourcesRequest{} } func (*UpdateContainerResourcesRequest) ProtoMessage() {} func (*UpdateContainerResourcesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{76} + return fileDescriptor_00212fb1f9d3bf1c, []int{77} } func (m *UpdateContainerResourcesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5570,7 +5640,7 @@ type UpdateContainerResourcesResponse struct { func (m *UpdateContainerResourcesResponse) Reset() { *m = UpdateContainerResourcesResponse{} } func (*UpdateContainerResourcesResponse) ProtoMessage() {} func (*UpdateContainerResourcesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{77} + return fileDescriptor_00212fb1f9d3bf1c, []int{78} } func (m *UpdateContainerResourcesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5613,7 +5683,7 @@ type ExecSyncRequest struct { func (m *ExecSyncRequest) Reset() { *m = ExecSyncRequest{} } func (*ExecSyncRequest) ProtoMessage() {} func (*ExecSyncRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{78} + return fileDescriptor_00212fb1f9d3bf1c, []int{79} } func (m *ExecSyncRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5677,7 +5747,7 @@ type ExecSyncResponse struct { func (m *ExecSyncResponse) Reset() { *m = ExecSyncResponse{} } func (*ExecSyncResponse) ProtoMessage() {} func (*ExecSyncResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{79} + return fileDescriptor_00212fb1f9d3bf1c, []int{80} } func (m *ExecSyncResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5753,7 +5823,7 @@ type ExecRequest struct { func (m *ExecRequest) Reset() { *m = ExecRequest{} } func (*ExecRequest) ProtoMessage() {} func (*ExecRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{80} + return fileDescriptor_00212fb1f9d3bf1c, []int{81} } func (m *ExecRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5834,7 +5904,7 @@ type ExecResponse struct { func (m *ExecResponse) Reset() { *m = ExecResponse{} } func (*ExecResponse) ProtoMessage() {} func (*ExecResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{81} + return fileDescriptor_00212fb1f9d3bf1c, []int{82} } func (m *ExecResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5895,7 +5965,7 @@ type AttachRequest struct { func (m *AttachRequest) Reset() { *m = AttachRequest{} } func (*AttachRequest) ProtoMessage() {} func (*AttachRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{82} + return fileDescriptor_00212fb1f9d3bf1c, []int{83} } func (m *AttachRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -5969,7 +6039,7 @@ type AttachResponse struct { func (m *AttachResponse) Reset() { *m = AttachResponse{} } func (*AttachResponse) ProtoMessage() {} func (*AttachResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{83} + return fileDescriptor_00212fb1f9d3bf1c, []int{84} } func (m *AttachResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6017,7 +6087,7 @@ type PortForwardRequest struct { func (m *PortForwardRequest) Reset() { *m = PortForwardRequest{} } func (*PortForwardRequest) ProtoMessage() {} func (*PortForwardRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{84} + return fileDescriptor_00212fb1f9d3bf1c, []int{85} } func (m *PortForwardRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6070,7 +6140,7 @@ type PortForwardResponse struct { func (m *PortForwardResponse) Reset() { *m = PortForwardResponse{} } func (*PortForwardResponse) ProtoMessage() {} func (*PortForwardResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{85} + return fileDescriptor_00212fb1f9d3bf1c, []int{86} } func (m *PortForwardResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6116,7 +6186,7 @@ type ImageFilter struct { func (m *ImageFilter) Reset() { *m = ImageFilter{} } func (*ImageFilter) ProtoMessage() {} func (*ImageFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{86} + return fileDescriptor_00212fb1f9d3bf1c, []int{87} } func (m *ImageFilter) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6162,7 +6232,7 @@ type ListImagesRequest struct { func (m *ListImagesRequest) Reset() { *m = ListImagesRequest{} } func (*ListImagesRequest) ProtoMessage() {} func (*ListImagesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{87} + return fileDescriptor_00212fb1f9d3bf1c, []int{88} } func (m *ListImagesRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6228,7 +6298,7 @@ type Image struct { func (m *Image) Reset() { *m = Image{} } func (*Image) ProtoMessage() {} func (*Image) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{88} + return fileDescriptor_00212fb1f9d3bf1c, []int{89} } func (m *Image) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6323,7 +6393,7 @@ type ListImagesResponse struct { func (m *ListImagesResponse) Reset() { *m = ListImagesResponse{} } func (*ListImagesResponse) ProtoMessage() {} func (*ListImagesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{89} + return fileDescriptor_00212fb1f9d3bf1c, []int{90} } func (m *ListImagesResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6371,7 +6441,7 @@ type ImageStatusRequest struct { func (m *ImageStatusRequest) Reset() { *m = ImageStatusRequest{} } func (*ImageStatusRequest) ProtoMessage() {} func (*ImageStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{90} + return fileDescriptor_00212fb1f9d3bf1c, []int{91} } func (m *ImageStatusRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6429,7 +6499,7 @@ type ImageStatusResponse struct { func (m *ImageStatusResponse) Reset() { *m = ImageStatusResponse{} } func (*ImageStatusResponse) ProtoMessage() {} func (*ImageStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{91} + return fileDescriptor_00212fb1f9d3bf1c, []int{92} } func (m *ImageStatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6490,7 +6560,7 @@ type AuthConfig struct { func (m *AuthConfig) Reset() { *m = AuthConfig{} } func (*AuthConfig) ProtoMessage() {} func (*AuthConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{92} + return fileDescriptor_00212fb1f9d3bf1c, []int{93} } func (m *AuthConfig) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6575,7 +6645,7 @@ type PullImageRequest struct { func (m *PullImageRequest) Reset() { *m = PullImageRequest{} } func (*PullImageRequest) ProtoMessage() {} func (*PullImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{93} + return fileDescriptor_00212fb1f9d3bf1c, []int{94} } func (m *PullImageRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6636,7 +6706,7 @@ type PullImageResponse struct { func (m *PullImageResponse) Reset() { *m = PullImageResponse{} } func (*PullImageResponse) ProtoMessage() {} func (*PullImageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{94} + return fileDescriptor_00212fb1f9d3bf1c, []int{95} } func (m *PullImageResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6682,7 +6752,7 @@ type RemoveImageRequest struct { func (m *RemoveImageRequest) Reset() { *m = RemoveImageRequest{} } func (*RemoveImageRequest) ProtoMessage() {} func (*RemoveImageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{95} + return fileDescriptor_00212fb1f9d3bf1c, []int{96} } func (m *RemoveImageRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6726,7 +6796,7 @@ type RemoveImageResponse struct { func (m *RemoveImageResponse) Reset() { *m = RemoveImageResponse{} } func (*RemoveImageResponse) ProtoMessage() {} func (*RemoveImageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{96} + return fileDescriptor_00212fb1f9d3bf1c, []int{97} } func (m *RemoveImageResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6766,7 +6836,7 @@ type NetworkConfig struct { func (m *NetworkConfig) Reset() { *m = NetworkConfig{} } func (*NetworkConfig) ProtoMessage() {} func (*NetworkConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{97} + return fileDescriptor_00212fb1f9d3bf1c, []int{98} } func (m *NetworkConfig) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6811,7 +6881,7 @@ type RuntimeConfig struct { func (m *RuntimeConfig) Reset() { *m = RuntimeConfig{} } func (*RuntimeConfig) ProtoMessage() {} func (*RuntimeConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{98} + return fileDescriptor_00212fb1f9d3bf1c, []int{99} } func (m *RuntimeConfig) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6856,7 +6926,7 @@ type UpdateRuntimeConfigRequest struct { func (m *UpdateRuntimeConfigRequest) Reset() { *m = UpdateRuntimeConfigRequest{} } func (*UpdateRuntimeConfigRequest) ProtoMessage() {} func (*UpdateRuntimeConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{99} + return fileDescriptor_00212fb1f9d3bf1c, []int{100} } func (m *UpdateRuntimeConfigRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6900,7 +6970,7 @@ type UpdateRuntimeConfigResponse struct { func (m *UpdateRuntimeConfigResponse) Reset() { *m = UpdateRuntimeConfigResponse{} } func (*UpdateRuntimeConfigResponse) ProtoMessage() {} func (*UpdateRuntimeConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{100} + return fileDescriptor_00212fb1f9d3bf1c, []int{101} } func (m *UpdateRuntimeConfigResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -6934,10 +7004,11 @@ var xxx_messageInfo_UpdateRuntimeConfigResponse proto.InternalMessageInfo // 1. Required conditions: Conditions are required for kubelet to work // properly. If any required condition is unmet, the node will be not ready. // The required conditions include: -// * RuntimeReady: RuntimeReady means the runtime is up and ready to accept -// basic containers e.g. container only needs host network. -// * NetworkReady: NetworkReady means the runtime network is up and ready to -// accept containers which require container network. +// - RuntimeReady: RuntimeReady means the runtime is up and ready to accept +// basic containers e.g. container only needs host network. +// - NetworkReady: NetworkReady means the runtime network is up and ready to +// accept containers which require container network. +// // 2. Optional conditions: Conditions are informative to the user, but kubelet // will not rely on. Since condition type is an arbitrary string, all conditions // not required are optional. These conditions will be exposed to users to help @@ -6958,7 +7029,7 @@ type RuntimeCondition struct { func (m *RuntimeCondition) Reset() { *m = RuntimeCondition{} } func (*RuntimeCondition) ProtoMessage() {} func (*RuntimeCondition) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{101} + return fileDescriptor_00212fb1f9d3bf1c, []int{102} } func (m *RuntimeCondition) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7026,7 +7097,7 @@ type RuntimeStatus struct { func (m *RuntimeStatus) Reset() { *m = RuntimeStatus{} } func (*RuntimeStatus) ProtoMessage() {} func (*RuntimeStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{102} + return fileDescriptor_00212fb1f9d3bf1c, []int{103} } func (m *RuntimeStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7072,7 +7143,7 @@ type StatusRequest struct { func (m *StatusRequest) Reset() { *m = StatusRequest{} } func (*StatusRequest) ProtoMessage() {} func (*StatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{103} + return fileDescriptor_00212fb1f9d3bf1c, []int{104} } func (m *StatusRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7123,7 +7194,7 @@ type StatusResponse struct { func (m *StatusResponse) Reset() { *m = StatusResponse{} } func (*StatusResponse) ProtoMessage() {} func (*StatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{104} + return fileDescriptor_00212fb1f9d3bf1c, []int{105} } func (m *StatusResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7174,7 +7245,7 @@ type ImageFsInfoRequest struct { func (m *ImageFsInfoRequest) Reset() { *m = ImageFsInfoRequest{} } func (*ImageFsInfoRequest) ProtoMessage() {} func (*ImageFsInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{105} + return fileDescriptor_00212fb1f9d3bf1c, []int{106} } func (m *ImageFsInfoRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7214,7 +7285,7 @@ type UInt64Value struct { func (m *UInt64Value) Reset() { *m = UInt64Value{} } func (*UInt64Value) ProtoMessage() {} func (*UInt64Value) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{106} + return fileDescriptor_00212fb1f9d3bf1c, []int{107} } func (m *UInt64Value) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7261,7 +7332,7 @@ type FilesystemIdentifier struct { func (m *FilesystemIdentifier) Reset() { *m = FilesystemIdentifier{} } func (*FilesystemIdentifier) ProtoMessage() {} func (*FilesystemIdentifier) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{107} + return fileDescriptor_00212fb1f9d3bf1c, []int{108} } func (m *FilesystemIdentifier) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7318,7 +7389,7 @@ type FilesystemUsage struct { func (m *FilesystemUsage) Reset() { *m = FilesystemUsage{} } func (*FilesystemUsage) ProtoMessage() {} func (*FilesystemUsage) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{108} + return fileDescriptor_00212fb1f9d3bf1c, []int{109} } func (m *FilesystemUsage) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7385,7 +7456,7 @@ type ImageFsInfoResponse struct { func (m *ImageFsInfoResponse) Reset() { *m = ImageFsInfoResponse{} } func (*ImageFsInfoResponse) ProtoMessage() {} func (*ImageFsInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{109} + return fileDescriptor_00212fb1f9d3bf1c, []int{110} } func (m *ImageFsInfoResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7431,7 +7502,7 @@ type ContainerStatsRequest struct { func (m *ContainerStatsRequest) Reset() { *m = ContainerStatsRequest{} } func (*ContainerStatsRequest) ProtoMessage() {} func (*ContainerStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{110} + return fileDescriptor_00212fb1f9d3bf1c, []int{111} } func (m *ContainerStatsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7477,7 +7548,7 @@ type ContainerStatsResponse struct { func (m *ContainerStatsResponse) Reset() { *m = ContainerStatsResponse{} } func (*ContainerStatsResponse) ProtoMessage() {} func (*ContainerStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{111} + return fileDescriptor_00212fb1f9d3bf1c, []int{112} } func (m *ContainerStatsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7523,7 +7594,7 @@ type ListContainerStatsRequest struct { func (m *ListContainerStatsRequest) Reset() { *m = ListContainerStatsRequest{} } func (*ListContainerStatsRequest) ProtoMessage() {} func (*ListContainerStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{112} + return fileDescriptor_00212fb1f9d3bf1c, []int{113} } func (m *ListContainerStatsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7577,7 +7648,7 @@ type ContainerStatsFilter struct { func (m *ContainerStatsFilter) Reset() { *m = ContainerStatsFilter{} } func (*ContainerStatsFilter) ProtoMessage() {} func (*ContainerStatsFilter) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{113} + return fileDescriptor_00212fb1f9d3bf1c, []int{114} } func (m *ContainerStatsFilter) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7637,7 +7708,7 @@ type ListContainerStatsResponse struct { func (m *ListContainerStatsResponse) Reset() { *m = ListContainerStatsResponse{} } func (*ListContainerStatsResponse) ProtoMessage() {} func (*ListContainerStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{114} + return fileDescriptor_00212fb1f9d3bf1c, []int{115} } func (m *ListContainerStatsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7693,7 +7764,7 @@ type ContainerAttributes struct { func (m *ContainerAttributes) Reset() { *m = ContainerAttributes{} } func (*ContainerAttributes) ProtoMessage() {} func (*ContainerAttributes) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{115} + return fileDescriptor_00212fb1f9d3bf1c, []int{116} } func (m *ContainerAttributes) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7767,7 +7838,7 @@ type ContainerStats struct { func (m *ContainerStats) Reset() { *m = ContainerStats{} } func (*ContainerStats) ProtoMessage() {} func (*ContainerStats) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{116} + return fileDescriptor_00212fb1f9d3bf1c, []int{117} } func (m *ContainerStats) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7840,7 +7911,7 @@ type CpuUsage struct { func (m *CpuUsage) Reset() { *m = CpuUsage{} } func (*CpuUsage) ProtoMessage() {} func (*CpuUsage) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{117} + return fileDescriptor_00212fb1f9d3bf1c, []int{118} } func (m *CpuUsage) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -7913,7 +7984,7 @@ type MemoryUsage struct { func (m *MemoryUsage) Reset() { *m = MemoryUsage{} } func (*MemoryUsage) ProtoMessage() {} func (*MemoryUsage) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{118} + return fileDescriptor_00212fb1f9d3bf1c, []int{119} } func (m *MemoryUsage) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8001,7 +8072,7 @@ type ReopenContainerLogRequest struct { func (m *ReopenContainerLogRequest) Reset() { *m = ReopenContainerLogRequest{} } func (*ReopenContainerLogRequest) ProtoMessage() {} func (*ReopenContainerLogRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{119} + return fileDescriptor_00212fb1f9d3bf1c, []int{120} } func (m *ReopenContainerLogRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8045,7 +8116,7 @@ type ReopenContainerLogResponse struct { func (m *ReopenContainerLogResponse) Reset() { *m = ReopenContainerLogResponse{} } func (*ReopenContainerLogResponse) ProtoMessage() {} func (*ReopenContainerLogResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_00212fb1f9d3bf1c, []int{120} + return fileDescriptor_00212fb1f9d3bf1c, []int{121} } func (m *ReopenContainerLogResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -8179,6 +8250,7 @@ func init() { proto.RegisterMapType((map[string]string)(nil), "runtime.v1alpha2.ContainerStatus.LabelsEntry") proto.RegisterType((*ContainerStatusResponse)(nil), "runtime.v1alpha2.ContainerStatusResponse") proto.RegisterMapType((map[string]string)(nil), "runtime.v1alpha2.ContainerStatusResponse.InfoEntry") + proto.RegisterType((*ContainerResources)(nil), "runtime.v1alpha2.ContainerResources") proto.RegisterType((*UpdateContainerResourcesRequest)(nil), "runtime.v1alpha2.UpdateContainerResourcesRequest") proto.RegisterMapType((map[string]string)(nil), "runtime.v1alpha2.UpdateContainerResourcesRequest.AnnotationsEntry") proto.RegisterType((*UpdateContainerResourcesResponse)(nil), "runtime.v1alpha2.UpdateContainerResourcesResponse") @@ -8235,371 +8307,373 @@ func init() { func init() { proto.RegisterFile("api.proto", fileDescriptor_00212fb1f9d3bf1c) } var fileDescriptor_00212fb1f9d3bf1c = []byte{ - // 5810 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x3c, 0x5b, 0x6c, 0x1b, 0xd9, - 0x75, 0x1a, 0x92, 0x92, 0xc8, 0x43, 0x91, 0xa2, 0xae, 0x65, 0x89, 0xa6, 0xd7, 0x5a, 0x7b, 0xf6, - 0x61, 0xaf, 0xb3, 0x96, 0x62, 0xed, 0xc6, 0x6b, 0xcb, 0xbb, 0xb6, 0x65, 0x3d, 0x6c, 0x26, 0xb6, - 0xc4, 0x0e, 0xa5, 0xcd, 0x6e, 0x92, 0x62, 0x32, 0xe2, 0x5c, 0x51, 0x13, 0x93, 0x33, 0x93, 0x99, - 0xa1, 0x6d, 0xa5, 0x3f, 0x01, 0x02, 0xe4, 0x23, 0x5f, 0x05, 0x8a, 0x22, 0x40, 0x3f, 0x0a, 0xa4, - 0x05, 0xda, 0xef, 0xb4, 0xe8, 0x57, 0xbf, 0x5a, 0xb4, 0x68, 0xd0, 0x07, 0xd0, 0xaf, 0xa0, 0x45, - 0xfa, 0xd1, 0x6c, 0x51, 0xa0, 0x28, 0x50, 0xa0, 0xe8, 0x77, 0x3f, 0x8a, 0xfb, 0x9a, 0x17, 0x67, - 0xc8, 0xa1, 0xbd, 0xaf, 0x7e, 0x91, 0xf7, 0xcc, 0x39, 0xe7, 0x9e, 0x7b, 0xee, 0xb9, 0xe7, 0x9e, - 0x7b, 0xcf, 0x99, 0x81, 0x92, 0x66, 0x1b, 0xab, 0xb6, 0x63, 0x79, 0x16, 0xaa, 0x39, 0x03, 0xd3, - 0x33, 0xfa, 0x78, 0xf5, 0xe9, 0x75, 0xad, 0x67, 0x9f, 0x68, 0xeb, 0x8d, 0x6b, 0x5d, 0xc3, 0x3b, - 0x19, 0x1c, 0xad, 0x76, 0xac, 0xfe, 0x5a, 0xd7, 0xea, 0x5a, 0x6b, 0x14, 0xf1, 0x68, 0x70, 0x4c, - 0x5b, 0xb4, 0x41, 0xff, 0x31, 0x06, 0xf2, 0x55, 0xa8, 0x7e, 0x88, 0x1d, 0xd7, 0xb0, 0x4c, 0x05, - 0x7f, 0x7f, 0x80, 0x5d, 0x0f, 0xd5, 0x61, 0xf6, 0x29, 0x83, 0xd4, 0xa5, 0x8b, 0xd2, 0x95, 0x92, - 0x22, 0x9a, 0xf2, 0x1f, 0x4b, 0x30, 0xef, 0x23, 0xbb, 0xb6, 0x65, 0xba, 0x38, 0x1d, 0x1b, 0x5d, - 0x82, 0x39, 0x2e, 0x9c, 0x6a, 0x6a, 0x7d, 0x5c, 0xcf, 0xd1, 0xc7, 0x65, 0x0e, 0xdb, 0xd3, 0xfa, - 0x18, 0x5d, 0x86, 0x79, 0x81, 0x22, 0x98, 0xe4, 0x29, 0x56, 0x95, 0x83, 0x79, 0x6f, 0x68, 0x15, - 0xce, 0x08, 0x44, 0xcd, 0x36, 0x7c, 0xe4, 0x02, 0x45, 0x5e, 0xe0, 0x8f, 0x36, 0x6d, 0x83, 0xe3, - 0xcb, 0xdf, 0x86, 0xd2, 0xf6, 0x5e, 0x7b, 0xcb, 0x32, 0x8f, 0x8d, 0x2e, 0x11, 0xd1, 0xc5, 0x0e, - 0xa1, 0xa9, 0x4b, 0x17, 0xf3, 0x44, 0x44, 0xde, 0x44, 0x0d, 0x28, 0xba, 0x58, 0x73, 0x3a, 0x27, - 0xd8, 0xad, 0xe7, 0xe8, 0x23, 0xbf, 0x4d, 0xa8, 0x2c, 0xdb, 0x33, 0x2c, 0xd3, 0xad, 0xe7, 0x19, - 0x15, 0x6f, 0xca, 0x7f, 0x20, 0x41, 0xb9, 0x65, 0x39, 0xde, 0x63, 0xcd, 0xb6, 0x0d, 0xb3, 0x8b, - 0x6e, 0x40, 0x91, 0xea, 0xb2, 0x63, 0xf5, 0xa8, 0x0e, 0xaa, 0xeb, 0x8d, 0xd5, 0xf8, 0xb4, 0xac, - 0xb6, 0x38, 0x86, 0xe2, 0xe3, 0xa2, 0x37, 0xa0, 0xda, 0xb1, 0x4c, 0x4f, 0x33, 0x4c, 0xec, 0xa8, - 0xb6, 0xe5, 0x78, 0x54, 0x45, 0xd3, 0x4a, 0xc5, 0x87, 0x92, 0x5e, 0xd0, 0x79, 0x28, 0x9d, 0x58, - 0xae, 0xc7, 0x30, 0xf2, 0x14, 0xa3, 0x48, 0x00, 0xf4, 0xe1, 0x32, 0xcc, 0xd2, 0x87, 0x86, 0xcd, - 0x95, 0x31, 0x43, 0x9a, 0x4d, 0x5b, 0xfe, 0xa5, 0x04, 0xd3, 0x8f, 0xad, 0x81, 0xe9, 0xc5, 0xba, - 0xd1, 0xbc, 0x13, 0x3e, 0x51, 0xa1, 0x6e, 0x34, 0xef, 0x24, 0xe8, 0x86, 0x60, 0xb0, 0xb9, 0x62, - 0xdd, 0x90, 0x87, 0x0d, 0x28, 0x3a, 0x58, 0xd3, 0x2d, 0xb3, 0x77, 0x4a, 0x45, 0x28, 0x2a, 0x7e, - 0x9b, 0x4c, 0xa2, 0x8b, 0x7b, 0x86, 0x39, 0x78, 0xae, 0x3a, 0xb8, 0xa7, 0x1d, 0xe1, 0x1e, 0x15, - 0xa5, 0xa8, 0x54, 0x39, 0x58, 0x61, 0x50, 0xb4, 0x0d, 0x65, 0xdb, 0xb1, 0x6c, 0xad, 0xab, 0x11, - 0x3d, 0xd6, 0xa7, 0xa9, 0xaa, 0xe4, 0x61, 0x55, 0x51, 0xb1, 0x5b, 0x01, 0xa6, 0x12, 0x26, 0x93, - 0x55, 0x28, 0x35, 0xb7, 0x85, 0xea, 0xfd, 0xe1, 0xeb, 0x74, 0x50, 0x15, 0x3e, 0x7c, 0x9d, 0x18, - 0x5f, 0x30, 0x68, 0x43, 0xa7, 0x03, 0xaa, 0x28, 0x65, 0x1f, 0xd6, 0xd4, 0xd1, 0x12, 0xcc, 0xf4, - 0xb0, 0xd9, 0xf5, 0x4e, 0xe8, 0x88, 0x2a, 0x0a, 0x6f, 0xc9, 0x7f, 0x24, 0x41, 0xe5, 0xd0, 0xc5, - 0x0e, 0xb1, 0x50, 0xd7, 0xd6, 0x3a, 0x18, 0xbd, 0x03, 0x85, 0xbe, 0xa5, 0x63, 0x3e, 0xb9, 0xaf, - 0x0e, 0x4b, 0xec, 0xa3, 0x3e, 0xb6, 0x74, 0xac, 0x50, 0x64, 0xb4, 0x06, 0x85, 0x81, 0xa1, 0x33, - 0xbb, 0x2a, 0xaf, 0x9f, 0x1f, 0x26, 0xf2, 0x47, 0xa1, 0x50, 0x44, 0x42, 0xd0, 0x25, 0x04, 0xf9, - 0x0c, 0x04, 0x04, 0x51, 0xfe, 0x69, 0x0e, 0xe6, 0xfd, 0x9e, 0xf7, 0xa9, 0x71, 0xa2, 0x5b, 0x30, - 0x6b, 0x62, 0xef, 0x99, 0xe5, 0x3c, 0xc9, 0x2a, 0xad, 0xc0, 0x47, 0xd7, 0x21, 0x6f, 0x73, 0x4d, - 0x65, 0x20, 0x23, 0xb8, 0x84, 0xc4, 0xb0, 0x3b, 0x54, 0x7f, 0x59, 0x48, 0x0c, 0xbb, 0x43, 0xcc, - 0xcc, 0xd3, 0x9c, 0x2e, 0xa6, 0x73, 0xc6, 0x4c, 0xb6, 0xc8, 0x00, 0x4d, 0x1d, 0xed, 0x42, 0x75, - 0xe0, 0x62, 0xc7, 0x74, 0x55, 0xb1, 0xf4, 0x88, 0x91, 0x94, 0x93, 0x58, 0x47, 0x66, 0x48, 0xa9, - 0x30, 0xb2, 0x7d, 0xbe, 0x42, 0x65, 0x80, 0xa6, 0xe9, 0xdd, 0x78, 0xf7, 0x43, 0xad, 0x37, 0xc0, - 0x68, 0x11, 0xa6, 0x9f, 0x92, 0x3f, 0x54, 0x23, 0x79, 0x85, 0x35, 0xe4, 0x5f, 0x17, 0xe0, 0xfc, - 0x23, 0x62, 0x9e, 0x6d, 0xcd, 0xd4, 0x8f, 0xac, 0xe7, 0x6d, 0xdc, 0x19, 0x38, 0x86, 0x77, 0xba, - 0x65, 0x99, 0x1e, 0x7e, 0xee, 0xa1, 0x3d, 0x58, 0x30, 0x05, 0x7f, 0x5f, 0x1c, 0x89, 0x8a, 0x73, - 0x69, 0xc4, 0x48, 0x99, 0x08, 0x4a, 0xcd, 0x8c, 0x02, 0x5c, 0xf4, 0x30, 0x58, 0x26, 0x82, 0x5b, - 0x2e, 0x6d, 0x70, 0xed, 0x1d, 0x2a, 0x19, 0xe7, 0x25, 0xd6, 0x91, 0xe0, 0xf4, 0x3e, 0x10, 0x27, - 0xaa, 0x6a, 0xae, 0x4a, 0x46, 0x4d, 0xb5, 0x5f, 0x5e, 0x7f, 0x25, 0xc1, 0x5e, 0x7c, 0x15, 0x28, - 0x25, 0x67, 0x60, 0x6e, 0xba, 0x44, 0x67, 0xe8, 0x0e, 0x75, 0xcb, 0x84, 0xba, 0xeb, 0x58, 0x03, - 0xbb, 0x5e, 0xcc, 0x40, 0x0e, 0x94, 0xfc, 0x01, 0xc1, 0xa7, 0x3e, 0x9b, 0x2f, 0x7d, 0xd5, 0xb1, - 0x2c, 0xef, 0xd8, 0x15, 0xcb, 0x5d, 0x80, 0x15, 0x0a, 0x45, 0x6b, 0x70, 0xc6, 0x1d, 0xd8, 0x76, - 0x0f, 0xf7, 0xb1, 0xe9, 0x69, 0x3d, 0xd6, 0x1d, 0x99, 0xd1, 0xfc, 0x95, 0xbc, 0x82, 0xc2, 0x8f, - 0x28, 0x63, 0x17, 0xad, 0x00, 0xd8, 0x8e, 0xf1, 0xd4, 0xe8, 0xe1, 0x2e, 0xd6, 0xeb, 0x33, 0x94, - 0x69, 0x08, 0x82, 0x6e, 0x13, 0x3f, 0xde, 0xe9, 0x58, 0x7d, 0xbb, 0x5e, 0x4a, 0x9b, 0x07, 0x31, - 0x8b, 0x2d, 0xc7, 0x3a, 0x36, 0x7a, 0x58, 0x11, 0x14, 0xe8, 0x03, 0x28, 0x6a, 0xb6, 0xad, 0x39, - 0x7d, 0xcb, 0xa9, 0x43, 0x56, 0x6a, 0x9f, 0x04, 0xbd, 0x0b, 0x8b, 0x9c, 0x93, 0x6a, 0xb3, 0x87, - 0xcc, 0x51, 0xce, 0x12, 0x0b, 0xbe, 0x9f, 0xab, 0x4b, 0x0a, 0xe2, 0xcf, 0x39, 0x2d, 0x71, 0x9b, - 0xf2, 0xdf, 0x4a, 0x30, 0x1f, 0xe3, 0x89, 0x5a, 0x30, 0x27, 0x38, 0x78, 0xa7, 0xb6, 0x70, 0x2a, - 0xd7, 0xc6, 0x0a, 0xb3, 0xca, 0x7f, 0x0f, 0x4e, 0x6d, 0x4c, 0x3d, 0xa2, 0x68, 0xa0, 0xd7, 0xa0, - 0xd2, 0xb3, 0x3a, 0x5a, 0x8f, 0x7a, 0x42, 0x07, 0x1f, 0x73, 0xef, 0x3d, 0xe7, 0x03, 0x15, 0x7c, - 0x2c, 0xdf, 0x83, 0x72, 0x88, 0x01, 0x42, 0x50, 0x55, 0x58, 0x87, 0xdb, 0xf8, 0x58, 0x1b, 0xf4, - 0xbc, 0xda, 0x14, 0xaa, 0x02, 0x1c, 0x9a, 0x1d, 0xb2, 0x67, 0x9a, 0x58, 0xaf, 0x49, 0xa8, 0x02, - 0xa5, 0x47, 0x82, 0x45, 0x2d, 0x27, 0xff, 0x49, 0x1e, 0xce, 0x52, 0xb3, 0x6c, 0x59, 0x3a, 0x5f, - 0x33, 0x7c, 0x83, 0x7d, 0x0d, 0x2a, 0x1d, 0x3a, 0xbb, 0xaa, 0xad, 0x39, 0xd8, 0xf4, 0xf8, 0x06, - 0x33, 0xc7, 0x80, 0x2d, 0x0a, 0x43, 0x1f, 0x41, 0xcd, 0xe5, 0x23, 0x52, 0x3b, 0x6c, 0x8d, 0xf1, - 0x05, 0x90, 0x30, 0xf6, 0x11, 0x0b, 0x53, 0x99, 0x77, 0x87, 0x56, 0xea, 0xac, 0x7b, 0xea, 0x76, - 0xbc, 0x9e, 0xf0, 0x9d, 0xef, 0xa6, 0x30, 0x8c, 0x0b, 0xbe, 0xda, 0x66, 0x64, 0x3b, 0xa6, 0xe7, - 0x9c, 0x2a, 0x82, 0x09, 0xda, 0x81, 0xa2, 0xf5, 0x14, 0x3b, 0x27, 0x58, 0x63, 0x1e, 0xaa, 0xbc, - 0xfe, 0x56, 0x0a, 0xc3, 0x2d, 0xb1, 0x9d, 0x28, 0xd8, 0xb5, 0x06, 0x4e, 0x07, 0xbb, 0x8a, 0x4f, - 0x8a, 0x1e, 0x40, 0xc9, 0x11, 0x60, 0xee, 0xc7, 0x26, 0xe0, 0x13, 0xd0, 0x36, 0x36, 0x60, 0x2e, - 0x2c, 0x28, 0xaa, 0x41, 0xfe, 0x09, 0x3e, 0xe5, 0x4a, 0x26, 0x7f, 0x03, 0x0f, 0xc7, 0x66, 0x9e, - 0x35, 0x36, 0x72, 0x37, 0x25, 0xd9, 0x01, 0x14, 0x8c, 0xfa, 0x31, 0xf6, 0x34, 0x5d, 0xf3, 0x34, - 0x84, 0xa0, 0x40, 0x43, 0x32, 0xc6, 0x82, 0xfe, 0x27, 0x5c, 0x07, 0xdc, 0xfd, 0x97, 0x14, 0xf2, - 0x17, 0xbd, 0x02, 0x25, 0xdf, 0x8b, 0xf1, 0xb8, 0x2c, 0x00, 0x90, 0xf8, 0x48, 0xf3, 0x3c, 0xdc, - 0xb7, 0x3d, 0xaa, 0xa4, 0x8a, 0x22, 0x9a, 0xf2, 0x9f, 0x4e, 0x43, 0x6d, 0xc8, 0x46, 0xee, 0x41, - 0xb1, 0xcf, 0xbb, 0xe7, 0x5e, 0xf4, 0xf5, 0x84, 0x20, 0x69, 0x48, 0x54, 0xc5, 0xa7, 0x22, 0x31, - 0x08, 0xb1, 0xc4, 0x50, 0x2c, 0xe9, 0xb7, 0xd9, 0x12, 0xe8, 0xaa, 0xba, 0xe1, 0xe0, 0x8e, 0x67, - 0x39, 0xa7, 0x5c, 0xdc, 0xb9, 0x9e, 0xd5, 0xdd, 0x16, 0x30, 0xb4, 0x01, 0xa0, 0x9b, 0xae, 0x4a, - 0x2d, 0xbc, 0xcb, 0x67, 0x36, 0x61, 0x9b, 0xf5, 0x03, 0x47, 0xa5, 0xa4, 0x9b, 0x2e, 0x17, 0xff, - 0x3e, 0x54, 0x48, 0xfc, 0xa5, 0xf6, 0xd9, 0x0e, 0xcc, 0xdc, 0x58, 0x79, 0xfd, 0x42, 0xd2, 0x18, - 0xfc, 0xc8, 0x50, 0x99, 0xb3, 0x83, 0x86, 0x8b, 0x76, 0x61, 0x86, 0x06, 0x42, 0x6e, 0x7d, 0x86, - 0x12, 0xaf, 0x8e, 0x52, 0x00, 0xb7, 0xd0, 0x47, 0x94, 0x80, 0x19, 0x28, 0xa7, 0x46, 0x87, 0x50, - 0xd6, 0x4c, 0xd3, 0xf2, 0x34, 0xb6, 0x8b, 0xcc, 0x52, 0x66, 0xef, 0x64, 0x60, 0xb6, 0x19, 0x50, - 0x31, 0x8e, 0x61, 0x3e, 0xe8, 0x03, 0x98, 0xa6, 0xdb, 0x0c, 0xdf, 0x11, 0x2e, 0x67, 0x5c, 0x44, - 0x0a, 0xa3, 0x42, 0x5b, 0x30, 0xfb, 0xcc, 0x30, 0x75, 0xeb, 0x99, 0xcb, 0xbd, 0x73, 0x82, 0xb1, - 0x7f, 0x93, 0x21, 0x0c, 0xb1, 0x10, 0x94, 0x8d, 0x5b, 0x50, 0x0e, 0x8d, 0x78, 0x12, 0x4b, 0x6f, - 0xdc, 0x81, 0x5a, 0x7c, 0x7c, 0x13, 0xad, 0x94, 0xdf, 0x82, 0x45, 0x65, 0x60, 0x06, 0xa2, 0x89, - 0xe3, 0xd0, 0x06, 0xcc, 0x70, 0x8b, 0x61, 0x66, 0x2b, 0x8f, 0x57, 0xb4, 0xc2, 0x29, 0xc2, 0xe7, - 0x9b, 0x13, 0xcd, 0xd4, 0x7b, 0xd8, 0xe1, 0xfd, 0x8a, 0xf3, 0xcd, 0x43, 0x06, 0x95, 0x3f, 0x80, - 0xb3, 0xb1, 0xce, 0xf9, 0xf1, 0xea, 0x75, 0xa8, 0xda, 0x96, 0xae, 0xba, 0x0c, 0x2c, 0xe2, 0xdc, - 0x12, 0xb1, 0x2c, 0x81, 0xdb, 0xd4, 0x09, 0x79, 0xdb, 0xb3, 0xec, 0x61, 0xe1, 0xb3, 0x91, 0xd7, - 0x61, 0x29, 0x4e, 0xce, 0xba, 0x97, 0xef, 0xc2, 0xb2, 0x82, 0xfb, 0xd6, 0x53, 0xfc, 0xa2, 0xac, - 0x1b, 0x50, 0x1f, 0x66, 0xc0, 0x99, 0x7f, 0x0c, 0xcb, 0x01, 0xb4, 0xed, 0x69, 0xde, 0xc0, 0x9d, - 0x88, 0x39, 0x3f, 0x7b, 0x1e, 0x59, 0x2e, 0x9b, 0xce, 0xa2, 0x22, 0x9a, 0xf2, 0x32, 0x4c, 0xb7, - 0x2c, 0xbd, 0xd9, 0x42, 0x55, 0xc8, 0x19, 0x36, 0x27, 0xce, 0x19, 0xb6, 0x6c, 0x84, 0xfb, 0xdc, - 0x63, 0x91, 0x2f, 0xeb, 0x3a, 0x8e, 0x8a, 0xee, 0x40, 0x55, 0xd3, 0x75, 0x83, 0x98, 0x93, 0xd6, - 0x53, 0x0d, 0x5b, 0x84, 0xf2, 0xcb, 0x89, 0x06, 0xd0, 0x6c, 0x29, 0x95, 0x00, 0xbd, 0x69, 0xbb, - 0xf2, 0x43, 0x28, 0x05, 0x47, 0x88, 0xdb, 0xc1, 0x69, 0x32, 0x97, 0x35, 0x86, 0xf4, 0x0f, 0x9c, - 0x07, 0x43, 0x1b, 0x2f, 0x17, 0xf9, 0x36, 0x80, 0xef, 0x90, 0x45, 0x70, 0x7a, 0x7e, 0x04, 0x63, - 0x25, 0x84, 0x2e, 0xff, 0x28, 0xe2, 0xa6, 0x43, 0x4a, 0xd0, 0x7d, 0x25, 0xe8, 0x11, 0xb7, 0x9d, - 0x7b, 0x21, 0xb7, 0xfd, 0x1e, 0x4c, 0xbb, 0x9e, 0xe6, 0x61, 0x7e, 0x4a, 0xb8, 0x34, 0x8a, 0x9c, - 0x08, 0x81, 0x15, 0x86, 0x8f, 0x2e, 0x00, 0x74, 0x1c, 0xac, 0x79, 0x58, 0x57, 0x35, 0xb6, 0xc7, - 0xe4, 0x95, 0x12, 0x87, 0x6c, 0x7a, 0xc4, 0xdf, 0x88, 0x93, 0x4e, 0xea, 0xe6, 0x9a, 0x32, 0xd5, - 0xc1, 0x99, 0xc7, 0xf7, 0x79, 0x33, 0x19, 0x7d, 0x1e, 0x67, 0xc0, 0x7d, 0x5e, 0xe0, 0xd1, 0x67, - 0xc7, 0x7b, 0x74, 0x46, 0x9a, 0xc5, 0xa3, 0x17, 0xc7, 0x7b, 0x74, 0xce, 0x6c, 0xb4, 0x47, 0x4f, - 0x70, 0x3f, 0xa5, 0x24, 0xf7, 0xf3, 0x45, 0xba, 0xdd, 0x7f, 0x96, 0xa0, 0x3e, 0xec, 0x05, 0xb8, - 0xf7, 0xdb, 0x80, 0x19, 0x97, 0x42, 0xb2, 0xf8, 0x5e, 0x4e, 0xcb, 0x29, 0xd0, 0x43, 0x28, 0x18, - 0xe6, 0xb1, 0xc5, 0x17, 0xed, 0xbb, 0x19, 0x28, 0x79, 0xaf, 0xab, 0x4d, 0xf3, 0xd8, 0x62, 0xda, - 0xa4, 0x1c, 0x1a, 0xef, 0x41, 0xc9, 0x07, 0x4d, 0x34, 0xb6, 0x7d, 0x58, 0x8c, 0xd9, 0x36, 0x3b, - 0x90, 0xfa, 0x4b, 0x42, 0x9a, 0x6c, 0x49, 0xc8, 0x3f, 0xcc, 0x85, 0x97, 0xec, 0xae, 0xd1, 0xf3, - 0xb0, 0x33, 0xb4, 0x64, 0xdf, 0x17, 0xdc, 0xd9, 0x7a, 0x7d, 0x73, 0x2c, 0x77, 0x76, 0xc6, 0xe3, - 0xab, 0xee, 0x3b, 0x50, 0xa5, 0x46, 0xa9, 0xba, 0xb8, 0x47, 0xe3, 0x26, 0x1e, 0x53, 0x7f, 0x6d, - 0x14, 0x1b, 0x26, 0x09, 0x33, 0xed, 0x36, 0xa7, 0x63, 0x1a, 0xac, 0xf4, 0xc2, 0xb0, 0xc6, 0x3d, - 0x40, 0xc3, 0x48, 0x13, 0xe9, 0xb4, 0x4d, 0x7c, 0xa1, 0xeb, 0x25, 0xee, 0xd3, 0xc7, 0x54, 0x8c, - 0x2c, 0xb6, 0xc2, 0x04, 0x56, 0x38, 0x85, 0xfc, 0x5f, 0x79, 0x80, 0xe0, 0xe1, 0xff, 0x23, 0x27, - 0x78, 0xcf, 0x77, 0x40, 0x2c, 0x1e, 0xbd, 0x32, 0x8a, 0x71, 0xa2, 0xeb, 0xd9, 0x8f, 0xba, 0x1e, - 0x16, 0x99, 0x5e, 0x1b, 0xc9, 0x66, 0x62, 0xa7, 0x33, 0xfb, 0x65, 0x73, 0x3a, 0x8f, 0x60, 0x29, - 0x6e, 0x44, 0xdc, 0xe3, 0xac, 0xc3, 0xb4, 0xe1, 0xe1, 0x3e, 0xbb, 0x29, 0x4e, 0xbc, 0x16, 0x09, - 0x11, 0x31, 0x54, 0xf9, 0x0e, 0x2c, 0x45, 0x67, 0x6f, 0xb2, 0x30, 0x46, 0x56, 0xe2, 0x71, 0x50, - 0xe0, 0x00, 0xb9, 0xdd, 0x8c, 0xb8, 0x78, 0x8a, 0x53, 0x32, 0x7c, 0xf9, 0xef, 0x25, 0x38, 0x1b, - 0x7b, 0x94, 0xe2, 0x2e, 0xb4, 0xa1, 0x05, 0xcf, 0x3c, 0xe6, 0xc6, 0xd8, 0xbe, 0x3e, 0xc7, 0x55, - 0xff, 0x9b, 0xd0, 0x88, 0x4e, 0x58, 0x44, 0xcd, 0x77, 0x63, 0x4b, 0xff, 0x72, 0x46, 0xd1, 0xfd, - 0xf5, 0xff, 0x21, 0x9c, 0x4f, 0x64, 0x3f, 0x3c, 0x0b, 0xf9, 0x89, 0x66, 0xe1, 0x27, 0xf9, 0xf0, - 0x0e, 0xb0, 0xe9, 0x79, 0x8e, 0x71, 0x34, 0xf0, 0xf0, 0x67, 0x11, 0x66, 0x7d, 0xdd, 0xf7, 0x04, - 0xcc, 0x5f, 0xaf, 0x8f, 0xa2, 0x0f, 0x24, 0x49, 0xf4, 0x09, 0x1f, 0x47, 0x7d, 0x42, 0x81, 0x32, - 0x7c, 0x2f, 0x23, 0xc3, 0x91, 0xde, 0xe1, 0x8b, 0x5c, 0xf4, 0xbf, 0x92, 0x60, 0x3e, 0x36, 0x4f, - 0x68, 0x17, 0x40, 0xf3, 0x45, 0xe7, 0xd6, 0xf3, 0x66, 0xb6, 0x81, 0x2a, 0x21, 0x4a, 0xb2, 0xe7, - 0xb2, 0x38, 0x32, 0x75, 0xcf, 0x4d, 0x88, 0x23, 0xfd, 0x30, 0xf2, 0x7e, 0x70, 0x74, 0x66, 0x97, - 0xb9, 0x57, 0x32, 0x1c, 0x9d, 0x19, 0x07, 0x41, 0x28, 0xff, 0x3c, 0x07, 0x8b, 0x49, 0x7d, 0xa0, - 0xb7, 0x21, 0xdf, 0xb1, 0x07, 0x7c, 0x6c, 0x09, 0x89, 0xa9, 0x2d, 0x7b, 0x70, 0xe8, 0x6a, 0x5d, - 0xac, 0x10, 0x34, 0xf4, 0x35, 0x98, 0xe9, 0xe3, 0xbe, 0xe5, 0x9c, 0xf2, 0x91, 0x24, 0x5c, 0x70, - 0x3c, 0xa6, 0xcf, 0x19, 0x0d, 0x47, 0x46, 0x37, 0x83, 0x60, 0x9c, 0x8d, 0x60, 0x25, 0xe1, 0x14, - 0xc2, 0x10, 0x18, 0xa1, 0x1f, 0x81, 0xdf, 0x84, 0x59, 0xdb, 0xb1, 0x3a, 0xd8, 0x75, 0xf9, 0x8d, - 0xcc, 0x4a, 0x62, 0xee, 0x8c, 0x20, 0x70, 0x4a, 0x8e, 0x8e, 0xee, 0x01, 0xf8, 0xe9, 0x1c, 0xb1, - 0xff, 0x5d, 0x4c, 0x18, 0x9f, 0xc0, 0x61, 0x0a, 0x0b, 0xd1, 0x90, 0x73, 0x6f, 0xb2, 0x5a, 0xe5, - 0xbf, 0x93, 0x60, 0x2e, 0x2c, 0x2f, 0x7a, 0x05, 0x4a, 0x84, 0xad, 0xeb, 0x69, 0x7d, 0x9b, 0xe7, - 0x11, 0x02, 0x00, 0x3a, 0x80, 0x05, 0x9d, 0x5d, 0xa3, 0xaa, 0x86, 0xe9, 0x61, 0xe7, 0x58, 0xeb, - 0x88, 0xf0, 0xeb, 0x72, 0xaa, 0x22, 0x9a, 0x02, 0x93, 0x8d, 0xab, 0xc6, 0x39, 0xf8, 0x60, 0xf4, - 0x00, 0xc0, 0xe7, 0x26, 0x96, 0x75, 0x66, 0x76, 0x21, 0x52, 0xf9, 0xa7, 0x39, 0x38, 0x9b, 0x88, - 0x95, 0x78, 0x11, 0x78, 0x13, 0x8a, 0xce, 0x73, 0xf5, 0xe8, 0xd4, 0xc3, 0x6e, 0xba, 0x11, 0x1c, - 0x86, 0xb2, 0x03, 0xb3, 0xce, 0xf3, 0xfb, 0x04, 0x1b, 0x6d, 0x40, 0xc9, 0x79, 0xae, 0x62, 0xc7, - 0xb1, 0x1c, 0x61, 0xc9, 0x63, 0x48, 0x8b, 0xce, 0xf3, 0x1d, 0x8a, 0x4e, 0x7a, 0xf5, 0x44, 0xaf, - 0x85, 0x4c, 0xbd, 0x7a, 0x41, 0xaf, 0x9e, 0xdf, 0xeb, 0x74, 0xa6, 0x5e, 0x3d, 0xde, 0xab, 0x6c, - 0xc3, 0x5c, 0xd8, 0xb8, 0xc6, 0x4c, 0xf3, 0x7d, 0xa8, 0x70, 0xe3, 0x53, 0x3b, 0xd6, 0xc0, 0xf4, - 0xb2, 0xa9, 0x67, 0x8e, 0xd3, 0x6c, 0x11, 0x12, 0xf9, 0xe7, 0x12, 0x94, 0x9a, 0x7d, 0xad, 0x8b, - 0xdb, 0x36, 0xee, 0x10, 0x6f, 0x65, 0x90, 0x06, 0x9f, 0x00, 0xd6, 0x40, 0x7b, 0x51, 0xff, 0xcb, - 0xf6, 0xe3, 0xb7, 0x13, 0x32, 0x34, 0x82, 0xcf, 0x18, 0xa7, 0xfb, 0xb2, 0x9e, 0x73, 0x1d, 0x8a, - 0xdf, 0xc0, 0xa7, 0xec, 0xec, 0x92, 0x91, 0x4e, 0xfe, 0x59, 0x01, 0x96, 0x53, 0xee, 0xb6, 0x69, - 0x50, 0x6b, 0x0f, 0x54, 0x1b, 0x3b, 0x86, 0xa5, 0x0b, 0x35, 0x77, 0xec, 0x41, 0x8b, 0x02, 0xd0, - 0x79, 0x20, 0x0d, 0xf5, 0xfb, 0x03, 0x8b, 0xef, 0x86, 0x79, 0xa5, 0xd8, 0xb1, 0x07, 0xbf, 0x41, - 0xda, 0x82, 0xd6, 0x3d, 0xd1, 0x1c, 0xcc, 0x8c, 0x8c, 0xd1, 0xb6, 0x29, 0x00, 0x5d, 0x87, 0xb3, - 0xcc, 0x25, 0xa9, 0x3d, 0xa3, 0x6f, 0x90, 0xe5, 0x18, 0xb2, 0xa9, 0xbc, 0x82, 0xd8, 0xc3, 0x47, - 0xe4, 0x59, 0xd3, 0x64, 0xf6, 0x23, 0x43, 0xc5, 0xb2, 0xfa, 0xaa, 0xdb, 0xb1, 0x1c, 0xac, 0x6a, - 0xfa, 0xf7, 0xa8, 0x0d, 0xe5, 0x95, 0xb2, 0x65, 0xf5, 0xdb, 0x04, 0xb6, 0xa9, 0x7f, 0x0f, 0xbd, - 0x0a, 0xe5, 0x8e, 0x3d, 0x70, 0xb1, 0xa7, 0x92, 0x1f, 0x7a, 0x5b, 0x50, 0x52, 0x80, 0x81, 0xb6, - 0xec, 0x81, 0x1b, 0x42, 0xe8, 0x93, 0xe8, 0x71, 0x36, 0x8c, 0xf0, 0x18, 0xf7, 0x69, 0xfa, 0xef, - 0x64, 0xd0, 0xc5, 0xb6, 0xd6, 0xc5, 0x4c, 0x34, 0x71, 0xcc, 0x4f, 0x48, 0xff, 0x3d, 0xe4, 0x88, - 0x54, 0x4c, 0xa5, 0x7a, 0x12, 0x6e, 0xba, 0xa8, 0x05, 0xb3, 0x03, 0xd3, 0x38, 0x36, 0xb0, 0x5e, - 0x2f, 0x51, 0x0e, 0x37, 0x32, 0x67, 0x15, 0x56, 0x0f, 0x19, 0x21, 0x4f, 0x78, 0x70, 0x36, 0x68, - 0x03, 0x1a, 0x5c, 0x69, 0xee, 0x33, 0xcd, 0x8e, 0x6b, 0x0e, 0xa8, 0x3a, 0x96, 0x18, 0x46, 0xfb, - 0x99, 0x66, 0x87, 0xb5, 0xd7, 0xd8, 0x80, 0xb9, 0x30, 0xd3, 0x89, 0xec, 0xea, 0x3e, 0x54, 0x22, - 0x43, 0x25, 0x33, 0x4f, 0x15, 0xe4, 0x1a, 0x3f, 0x10, 0x4b, 0xa2, 0x48, 0x00, 0x6d, 0xe3, 0x07, - 0x34, 0x8d, 0x4b, 0x25, 0xa3, 0x7c, 0x0a, 0x0a, 0x6b, 0xc8, 0x1a, 0x54, 0x22, 0xd9, 0x52, 0xe2, - 0xd2, 0x68, 0x5a, 0x94, 0xbb, 0x34, 0xf2, 0x9f, 0xc0, 0x1c, 0xab, 0x27, 0x24, 0xa0, 0xff, 0x09, - 0x8c, 0xe6, 0xdf, 0x58, 0xa6, 0x80, 0xfe, 0xa7, 0x5d, 0xe0, 0xa7, 0xbc, 0x80, 0xa1, 0xa4, 0xb0, - 0x86, 0xfc, 0xfb, 0x12, 0xc0, 0x96, 0x66, 0x6b, 0x47, 0x46, 0xcf, 0xf0, 0x4e, 0xd1, 0x5b, 0x50, - 0xd3, 0x74, 0x5d, 0xed, 0x08, 0x88, 0x81, 0x45, 0x5d, 0xc9, 0xbc, 0xa6, 0xeb, 0x5b, 0x21, 0x30, - 0xfa, 0x0a, 0x2c, 0xe8, 0x8e, 0x65, 0x47, 0x71, 0x59, 0xa1, 0x49, 0x8d, 0x3c, 0x88, 0x20, 0xdf, - 0x84, 0x3a, 0xe1, 0xab, 0xf5, 0x8f, 0x0c, 0x6c, 0x7a, 0x51, 0x1a, 0x56, 0x81, 0xb2, 0xa4, 0xe9, - 0xfa, 0x26, 0x7b, 0x1c, 0xa6, 0x94, 0xff, 0x63, 0x06, 0x2e, 0x44, 0x67, 0x3c, 0x9e, 0xcc, 0xbe, - 0x07, 0x73, 0x31, 0x79, 0x53, 0x92, 0xbe, 0xc1, 0x38, 0x95, 0x08, 0x45, 0x2c, 0x39, 0x9b, 0x1b, - 0x4a, 0xce, 0x26, 0xa6, 0xcb, 0xf3, 0x9f, 0x6a, 0xba, 0xbc, 0xf0, 0xa9, 0xa4, 0xcb, 0xa7, 0x5f, - 0x2e, 0x5d, 0x3e, 0x37, 0x61, 0xba, 0xfc, 0x4d, 0x7a, 0x1c, 0x16, 0xbd, 0xd3, 0xcd, 0x96, 0x79, - 0x8f, 0x8a, 0xdf, 0x87, 0x29, 0x4a, 0xa1, 0x62, 0x69, 0xf5, 0xd9, 0x49, 0xd2, 0xea, 0xc5, 0xd4, - 0xb4, 0xfa, 0x45, 0x98, 0x33, 0x2d, 0xd5, 0xc4, 0xcf, 0x54, 0x32, 0x5d, 0x6e, 0xbd, 0xcc, 0xe6, - 0xce, 0xb4, 0xf6, 0xf0, 0xb3, 0x16, 0x81, 0xa0, 0x4b, 0x30, 0xd7, 0xd7, 0xdc, 0x27, 0x58, 0xa7, - 0x39, 0x6d, 0xb7, 0x5e, 0xa1, 0xd6, 0x56, 0x66, 0xb0, 0x16, 0x01, 0xa1, 0x37, 0xc0, 0x97, 0x83, - 0x23, 0x55, 0x29, 0x52, 0x45, 0x40, 0x19, 0x5a, 0x28, 0x45, 0x3f, 0xff, 0x52, 0x29, 0xfa, 0xda, - 0xe4, 0x29, 0xfa, 0x6b, 0x50, 0x13, 0xff, 0x45, 0x8e, 0x9e, 0x5d, 0x77, 0xd2, 0xf4, 0xfc, 0xbc, - 0x78, 0x26, 0xf2, 0xf0, 0x69, 0x19, 0x7d, 0x18, 0x99, 0xd1, 0xff, 0x73, 0x89, 0x87, 0xd9, 0xfe, - 0x52, 0xe3, 0x09, 0xc2, 0x48, 0xb6, 0x57, 0x7a, 0xf1, 0x6c, 0x2f, 0xfa, 0x56, 0x6a, 0x9e, 0x7c, - 0x6d, 0x1c, 0xbf, 0x71, 0x99, 0x72, 0xf9, 0x77, 0x24, 0xb8, 0xc0, 0x23, 0xde, 0x94, 0xaa, 0x97, - 0x04, 0x73, 0x95, 0x52, 0xcc, 0xb5, 0xe3, 0x60, 0x1d, 0x9b, 0x9e, 0xa1, 0xf5, 0x54, 0xd7, 0xc6, - 0x1d, 0x91, 0xd9, 0x0a, 0xc0, 0x34, 0xc2, 0xb9, 0x04, 0x73, 0xac, 0xac, 0x8c, 0x07, 0xf9, 0xac, - 0x7a, 0xac, 0x4c, 0x2b, 0xcb, 0x18, 0x48, 0x1e, 0xc0, 0x72, 0x4a, 0x62, 0x30, 0x51, 0x19, 0x52, - 0x9a, 0x32, 0x46, 0x8e, 0x6c, 0x58, 0x19, 0xbf, 0x2b, 0xc1, 0xab, 0x9c, 0x24, 0xd5, 0x6f, 0x7e, - 0x11, 0xea, 0xf8, 0x0b, 0xc9, 0x3f, 0x96, 0xc4, 0x8d, 0xac, 0x39, 0x6c, 0x64, 0x5f, 0x49, 0xd5, - 0xc3, 0x68, 0x33, 0xfb, 0x4e, 0xaa, 0x99, 0x5d, 0x1f, 0xcf, 0x71, 0xac, 0x6e, 0xff, 0x45, 0x82, - 0x73, 0xa9, 0x62, 0xc4, 0x62, 0x38, 0x29, 0x1e, 0xc3, 0xf1, 0xf8, 0x2f, 0x08, 0xb1, 0x59, 0xfc, - 0x47, 0xe3, 0x67, 0x1e, 0x68, 0xa9, 0x7d, 0xed, 0xb9, 0xd1, 0x1f, 0xf4, 0x79, 0x00, 0x48, 0xd8, - 0x3d, 0x66, 0x90, 0x17, 0x89, 0x00, 0xd7, 0x60, 0x91, 0xb9, 0x5c, 0x1a, 0x78, 0x04, 0x14, 0x2c, - 0x10, 0x5c, 0x60, 0xcf, 0x48, 0x0c, 0xc2, 0x09, 0xe4, 0x4d, 0x58, 0xf0, 0x87, 0x35, 0xb2, 0xa8, - 0x22, 0x54, 0x24, 0x91, 0x8b, 0x16, 0x49, 0x98, 0x30, 0xb3, 0x8d, 0x9f, 0x1a, 0x1d, 0xfc, 0xa9, - 0xd4, 0x67, 0x5e, 0x84, 0xb2, 0x8d, 0x9d, 0xbe, 0xe1, 0xba, 0xfe, 0xbe, 0x5b, 0x52, 0xc2, 0x20, - 0xf9, 0xdf, 0x67, 0x60, 0x3e, 0x6e, 0x4e, 0x77, 0x87, 0x6a, 0x32, 0x5e, 0x1b, 0x71, 0x7e, 0x4e, - 0xb8, 0x74, 0xba, 0x2e, 0x8e, 0x2f, 0xb9, 0xb4, 0xd4, 0xa3, 0x7f, 0x44, 0x11, 0x67, 0x9b, 0x3a, - 0xcc, 0x76, 0xac, 0x7e, 0x5f, 0x33, 0x75, 0x51, 0x56, 0xcb, 0x9b, 0x44, 0x7f, 0x9a, 0xd3, 0x65, - 0xd7, 0x4d, 0x25, 0x85, 0xfe, 0x27, 0xb3, 0x4d, 0x4e, 0xad, 0x86, 0x49, 0x6b, 0x3b, 0xe8, 0x84, - 0x94, 0x14, 0xe0, 0xa0, 0x6d, 0xc3, 0x41, 0xab, 0x50, 0xc0, 0xe6, 0x53, 0x71, 0x6f, 0x9d, 0x70, - 0xbd, 0x21, 0x0e, 0x2e, 0x0a, 0xc5, 0x43, 0x6b, 0x30, 0xd3, 0x27, 0x76, 0x24, 0x32, 0x76, 0xcb, - 0x29, 0xe5, 0xa7, 0x0a, 0x47, 0x43, 0xeb, 0x30, 0xab, 0xd3, 0x79, 0x12, 0xf1, 0x7a, 0x3d, 0xa1, - 0x62, 0x84, 0x22, 0x28, 0x02, 0x11, 0xed, 0xf8, 0x77, 0x71, 0xa5, 0xb4, 0xeb, 0xf4, 0xd8, 0x54, - 0x24, 0x5e, 0xc3, 0x1d, 0x44, 0x8f, 0x81, 0x90, 0x76, 0xaf, 0x17, 0xe7, 0x35, 0xfa, 0x7e, 0xfe, - 0x1c, 0x14, 0x7b, 0x56, 0x97, 0x99, 0x51, 0x99, 0x55, 0x6c, 0xf7, 0xac, 0x2e, 0xb5, 0xa2, 0x45, - 0x98, 0x76, 0x3d, 0xdd, 0x30, 0x69, 0x90, 0x53, 0x54, 0x58, 0x83, 0xac, 0x56, 0xfa, 0x47, 0xb5, - 0xcc, 0x0e, 0xae, 0x57, 0xe8, 0xa3, 0x12, 0x85, 0xec, 0x9b, 0x1d, 0x7a, 0x20, 0xf4, 0xbc, 0xd3, - 0x7a, 0x95, 0xc2, 0xc9, 0xdf, 0xe0, 0x32, 0x6c, 0x7e, 0xe4, 0x65, 0x58, 0x4c, 0xec, 0x84, 0xcb, - 0xb0, 0xda, 0x98, 0xcb, 0xb0, 0x38, 0x87, 0x2f, 0x43, 0x19, 0xc9, 0x5f, 0x49, 0xb0, 0xb4, 0x45, - 0xf3, 0x33, 0x21, 0xc7, 0x37, 0x49, 0x51, 0xc3, 0x2d, 0xbf, 0xde, 0x24, 0xb5, 0x50, 0x20, 0x3e, - 0x6e, 0x51, 0x6e, 0xd2, 0x84, 0xaa, 0x60, 0xce, 0x59, 0xe4, 0x33, 0x97, 0xac, 0x54, 0xdc, 0x70, - 0x53, 0x7e, 0x1f, 0x96, 0x87, 0x46, 0xc1, 0x6f, 0xc3, 0xe3, 0xa5, 0xd5, 0x6c, 0x10, 0xe1, 0xd2, - 0x6a, 0x79, 0x03, 0xce, 0xb6, 0x3d, 0xcd, 0xf1, 0x86, 0x54, 0x90, 0x81, 0x96, 0x16, 0xa3, 0x44, - 0x69, 0x79, 0xbd, 0x48, 0x1b, 0x16, 0xdb, 0x9e, 0x65, 0xbf, 0x00, 0x53, 0xe2, 0x75, 0xc8, 0xf8, - 0xad, 0x81, 0xd8, 0x50, 0x44, 0x53, 0x5e, 0x66, 0xa5, 0x33, 0xc3, 0xbd, 0xdd, 0x86, 0x25, 0x56, - 0xb9, 0xf2, 0x22, 0x83, 0x38, 0x27, 0xea, 0x66, 0x86, 0xf9, 0x3e, 0x86, 0x33, 0x91, 0x2b, 0x49, - 0x9e, 0x13, 0xbe, 0x11, 0xcd, 0x09, 0x8f, 0xbb, 0xc8, 0xf4, 0x53, 0xc2, 0x7f, 0x98, 0x0b, 0xf9, - 0xf5, 0x94, 0x14, 0xcf, 0xed, 0x68, 0x46, 0xf8, 0x8d, 0x71, 0xbc, 0x23, 0x09, 0xe1, 0x61, 0xab, - 0xcd, 0x27, 0x58, 0xed, 0xb7, 0x87, 0xb2, 0x48, 0x85, 0xb4, 0xbc, 0x7b, 0x4c, 0xda, 0xcf, 0x25, - 0x7f, 0xa4, 0xb0, 0xac, 0xb1, 0xdf, 0xb5, 0x9f, 0x3a, 0xba, 0x15, 0x4b, 0x1d, 0x5d, 0x1a, 0x2b, - 0xaf, 0x9f, 0x34, 0xfa, 0xb3, 0x02, 0x94, 0xfc, 0x67, 0x43, 0x3a, 0x1f, 0x56, 0x5b, 0x2e, 0x41, - 0x6d, 0xe1, 0x1d, 0x38, 0xff, 0x52, 0x3b, 0x70, 0x21, 0xf3, 0x0e, 0x7c, 0x1e, 0x4a, 0xf4, 0x0f, - 0x2d, 0x15, 0x66, 0x3b, 0x6a, 0x91, 0x02, 0x14, 0x7c, 0x1c, 0x98, 0xe1, 0xcc, 0x44, 0x66, 0x18, - 0xcb, 0x53, 0xcf, 0xc6, 0xf3, 0xd4, 0x77, 0xfd, 0x1d, 0xb1, 0x98, 0x76, 0x8d, 0xed, 0xf3, 0x4d, - 0xdc, 0x0b, 0x63, 0x57, 0xa2, 0xa5, 0xb4, 0x2b, 0xd1, 0x80, 0xcb, 0x97, 0x36, 0x0f, 0x75, 0xc8, - 0x92, 0xcf, 0x61, 0x5b, 0xe4, 0x9e, 0xf5, 0x76, 0x24, 0xa3, 0x21, 0xa5, 0xbd, 0x07, 0x12, 0xf8, - 0x94, 0x70, 0x32, 0xe3, 0x10, 0x96, 0x22, 0x53, 0x13, 0x14, 0xd3, 0x65, 0xf3, 0x8f, 0x29, 0x95, - 0x74, 0xff, 0x3b, 0x1d, 0xf2, 0x2f, 0x29, 0x45, 0x62, 0x77, 0x87, 0xb2, 0x97, 0x13, 0x5a, 0xf1, - 0x8d, 0x68, 0x79, 0xc4, 0x0b, 0x5a, 0xdd, 0x50, 0x75, 0x04, 0x8d, 0x5c, 0x34, 0x87, 0x3f, 0x66, - 0xd1, 0x7c, 0x89, 0x43, 0x36, 0xe9, 0x51, 0xe2, 0xd8, 0x30, 0x0d, 0xf7, 0x84, 0x3d, 0x9f, 0x61, - 0x47, 0x09, 0x01, 0xda, 0xa4, 0xd7, 0x91, 0xf8, 0xb9, 0xe1, 0xa9, 0x1d, 0x4b, 0xc7, 0xd4, 0xa6, - 0xa7, 0x95, 0x22, 0x01, 0x6c, 0x59, 0x3a, 0x0e, 0x56, 0x5e, 0xf1, 0xc5, 0x56, 0x5e, 0x29, 0xb6, - 0xf2, 0x96, 0x60, 0xc6, 0xc1, 0x9a, 0x6b, 0x99, 0xec, 0x06, 0x42, 0xe1, 0x2d, 0x32, 0x35, 0x7d, - 0xec, 0xba, 0xa4, 0x27, 0x1e, 0xae, 0xf1, 0x66, 0x28, 0xcc, 0x9c, 0x1b, 0x1b, 0x66, 0x8e, 0x28, - 0x3e, 0x8b, 0x85, 0x99, 0x95, 0xb1, 0x61, 0x66, 0xa6, 0xda, 0xb3, 0x20, 0xd0, 0xae, 0x66, 0x0b, - 0xb4, 0xc3, 0x71, 0xe9, 0x7c, 0x24, 0x2e, 0xfd, 0x22, 0x17, 0xeb, 0x2f, 0x25, 0x58, 0x1e, 0x5a, - 0x56, 0x7c, 0xb9, 0xde, 0x8a, 0x55, 0xa7, 0x5d, 0x1a, 0xab, 0x33, 0xbf, 0x38, 0xed, 0x41, 0xa4, - 0x38, 0xed, 0x9d, 0xf1, 0x84, 0x9f, 0x7a, 0x6d, 0xda, 0xff, 0xe4, 0xe0, 0xd5, 0x43, 0x5b, 0x8f, - 0x45, 0x78, 0xfc, 0x9e, 0x20, 0xbb, 0xe3, 0xb8, 0x1b, 0x4d, 0x7c, 0x4f, 0x70, 0xe5, 0xc5, 0xc3, - 0xfd, 0x9d, 0x78, 0xee, 0x7b, 0xa2, 0x0b, 0x0d, 0x41, 0x8b, 0xf4, 0xa4, 0x92, 0x85, 0xfb, 0x09, - 0x89, 0xb9, 0xd1, 0x43, 0xfe, 0x8c, 0x13, 0x69, 0x32, 0x5c, 0x4c, 0x17, 0x80, 0xc7, 0x87, 0xdf, - 0x85, 0xf9, 0x9d, 0xe7, 0xb8, 0xd3, 0x3e, 0x35, 0x3b, 0x13, 0xcc, 0x43, 0x0d, 0xf2, 0x9d, 0xbe, - 0xce, 0x73, 0x0b, 0xe4, 0x6f, 0x38, 0xe4, 0xcd, 0x47, 0x43, 0x5e, 0x15, 0x6a, 0x41, 0x0f, 0xdc, - 0x96, 0x97, 0x88, 0x2d, 0xeb, 0x04, 0x99, 0x30, 0x9f, 0x53, 0x78, 0x8b, 0xc3, 0xb1, 0xc3, 0x0a, - 0xd7, 0x19, 0x1c, 0x3b, 0x4e, 0xd4, 0x35, 0xe6, 0xa3, 0xae, 0x51, 0xfe, 0x3d, 0x09, 0xca, 0xa4, - 0x87, 0x97, 0x92, 0x9f, 0x9f, 0x2b, 0xf3, 0xc1, 0xb9, 0xd2, 0x3f, 0x9e, 0x16, 0xc2, 0xc7, 0xd3, - 0x40, 0xf2, 0x69, 0x0a, 0x1e, 0x96, 0x7c, 0xc6, 0x87, 0x63, 0xc7, 0x91, 0x2f, 0xc2, 0x1c, 0x93, - 0x8d, 0x8f, 0xbc, 0x06, 0xf9, 0x81, 0xd3, 0x13, 0xf3, 0x37, 0x70, 0x7a, 0xf2, 0x4f, 0x24, 0xa8, - 0x6c, 0x7a, 0x9e, 0xd6, 0x39, 0x99, 0x60, 0x00, 0xbe, 0x70, 0xb9, 0xb0, 0x70, 0xc3, 0x83, 0x08, - 0xc4, 0x2d, 0xa4, 0x88, 0x3b, 0x1d, 0x11, 0x57, 0x86, 0xaa, 0x90, 0x25, 0x55, 0xe0, 0x3d, 0x40, - 0x2d, 0xcb, 0xf1, 0x76, 0x2d, 0xe7, 0x99, 0xe6, 0xe8, 0x93, 0x1d, 0x37, 0x11, 0x14, 0xf8, 0xab, - 0xc7, 0xf9, 0x2b, 0xd3, 0x0a, 0xfd, 0x2f, 0x5f, 0x86, 0x33, 0x11, 0x7e, 0xa9, 0x1d, 0xdf, 0x83, - 0x32, 0xdd, 0xe4, 0xf8, 0xb9, 0xe3, 0x7a, 0x38, 0x9b, 0x9d, 0x69, 0x4b, 0x94, 0xbf, 0x0e, 0x0b, - 0x24, 0x18, 0xa2, 0x70, 0xdf, 0xef, 0x7c, 0x2d, 0x16, 0x94, 0x5f, 0x48, 0x61, 0x14, 0x0b, 0xc8, - 0x7f, 0x98, 0x83, 0x69, 0x0a, 0x1f, 0x0a, 0x50, 0xce, 0x43, 0xc9, 0xc1, 0xb6, 0xa5, 0x7a, 0x5a, - 0xd7, 0x7f, 0xd1, 0x9b, 0x00, 0x0e, 0xb4, 0x2e, 0xcd, 0x7e, 0xd0, 0x87, 0xba, 0xd1, 0xc5, 0xae, - 0x27, 0x72, 0x6d, 0x65, 0x02, 0xdb, 0x66, 0x20, 0xa2, 0x24, 0x9a, 0x92, 0x2c, 0xd0, 0xcc, 0x23, - 0xfd, 0x8f, 0x56, 0xd9, 0xfb, 0x52, 0x59, 0xd2, 0x49, 0xf4, 0x6d, 0xaa, 0x06, 0x14, 0x63, 0x19, - 0x20, 0xbf, 0x8d, 0xd6, 0xa0, 0x40, 0xef, 0x8c, 0x67, 0xc7, 0xeb, 0x8d, 0x22, 0x12, 0x6b, 0xb1, - 0x0d, 0xd3, 0xc4, 0x3a, 0x8d, 0x3e, 0x8a, 0x0a, 0x6f, 0xc9, 0x3b, 0x80, 0xc2, 0xea, 0xe4, 0x13, - 0xb7, 0x06, 0x33, 0x54, 0xdb, 0x22, 0xa6, 0x5c, 0x4e, 0xe9, 0x40, 0xe1, 0x68, 0xb2, 0x06, 0x88, - 0xf5, 0x18, 0x89, 0x23, 0x27, 0x9f, 0xde, 0x11, 0x71, 0xe5, 0x5f, 0x4a, 0x70, 0x26, 0xd2, 0x07, - 0x97, 0xf5, 0x5a, 0xb4, 0x93, 0x54, 0x51, 0x79, 0x07, 0x5b, 0x91, 0x8d, 0x74, 0x2d, 0x4d, 0xa4, - 0xcf, 0x68, 0x13, 0xfd, 0x07, 0x09, 0x60, 0x73, 0xe0, 0x9d, 0xf0, 0xfb, 0xd4, 0xf0, 0x14, 0x4b, - 0xb1, 0x29, 0x6e, 0x40, 0xd1, 0xd6, 0x5c, 0xf7, 0x99, 0xe5, 0x88, 0x93, 0xa0, 0xdf, 0xa6, 0x37, - 0x9f, 0x03, 0xfe, 0x1e, 0x7a, 0x49, 0xa1, 0xff, 0xd1, 0x1b, 0x50, 0x65, 0x5f, 0x29, 0x50, 0x35, - 0x5d, 0x77, 0x44, 0x79, 0x54, 0x49, 0xa9, 0x30, 0xe8, 0x26, 0x03, 0x12, 0x34, 0x83, 0xe6, 0x17, - 0xbc, 0x53, 0xd5, 0xb3, 0x9e, 0x60, 0x93, 0x9f, 0xe8, 0x2a, 0x02, 0x7a, 0x40, 0x80, 0x2c, 0x7d, - 0xd7, 0x35, 0x5c, 0xcf, 0x11, 0x68, 0x22, 0x09, 0xc9, 0xa1, 0x14, 0x8d, 0x4c, 0x4a, 0xad, 0x35, - 0xe8, 0xf5, 0x98, 0x8a, 0x5f, 0x7c, 0xda, 0xbf, 0xca, 0x07, 0x94, 0x4b, 0x5b, 0x1c, 0x81, 0xd2, - 0xf8, 0x70, 0x3f, 0xc5, 0xab, 0xab, 0xaf, 0xc2, 0x42, 0x68, 0x0c, 0xdc, 0xac, 0x22, 0xa1, 0xb7, - 0x14, 0x0d, 0xbd, 0xe5, 0x07, 0x80, 0xd8, 0x6d, 0xcd, 0x4b, 0x8e, 0x5b, 0x3e, 0x0b, 0x67, 0x22, - 0x8c, 0xf8, 0x96, 0x7e, 0x15, 0x2a, 0xbc, 0xfc, 0x8a, 0x1b, 0xca, 0x39, 0x28, 0x12, 0xd7, 0xdc, - 0x31, 0x74, 0x51, 0xa7, 0x30, 0x6b, 0x5b, 0xfa, 0x96, 0xa1, 0x3b, 0xf2, 0x37, 0xa1, 0xc2, 0x5f, - 0xcc, 0xe5, 0xb8, 0xbb, 0x50, 0xe5, 0xb5, 0x72, 0x6a, 0xe4, 0x3d, 0xb4, 0x57, 0x53, 0x2b, 0xc1, - 0x84, 0x5a, 0xcc, 0x70, 0x53, 0xd6, 0xa1, 0xc1, 0x62, 0x8f, 0x08, 0x7b, 0x31, 0xd8, 0x5d, 0x10, - 0xe5, 0xd9, 0x63, 0x7b, 0x89, 0xd2, 0x57, 0x9c, 0x70, 0x53, 0xbe, 0x00, 0xe7, 0x13, 0x7b, 0xe1, - 0x9a, 0xb0, 0xa1, 0x16, 0x3c, 0x60, 0x2f, 0x4b, 0xf9, 0x85, 0x18, 0x52, 0xa8, 0x10, 0x63, 0xc9, - 0x0f, 0xad, 0x73, 0x62, 0x37, 0xa4, 0x71, 0x73, 0x70, 0x48, 0xca, 0xa7, 0x1d, 0x92, 0x0a, 0x91, - 0x43, 0x92, 0xdc, 0xf6, 0xf5, 0xc9, 0x0f, 0xaf, 0xf7, 0xe9, 0x21, 0x9b, 0xf5, 0x2d, 0x1c, 0xa2, - 0x3c, 0x6a, 0x94, 0x0c, 0x55, 0x09, 0x51, 0xc9, 0x6f, 0x41, 0x25, 0xea, 0x1a, 0x43, 0x7e, 0x4e, - 0x1a, 0xf2, 0x73, 0xd5, 0x98, 0x8b, 0x7b, 0x2f, 0x76, 0x6e, 0x48, 0xd7, 0x71, 0xec, 0xd4, 0x70, - 0x27, 0xe2, 0xec, 0xae, 0x26, 0x24, 0xc7, 0x3f, 0x23, 0x3f, 0xb7, 0xc8, 0xf7, 0x83, 0x5d, 0x97, - 0xd0, 0xf3, 0x41, 0xcb, 0xaf, 0x41, 0xf9, 0x30, 0xed, 0x33, 0x0b, 0x05, 0x51, 0x07, 0x76, 0x03, - 0x16, 0x77, 0x8d, 0x1e, 0x76, 0x4f, 0x5d, 0x0f, 0xf7, 0x9b, 0xd4, 0x29, 0x1d, 0x1b, 0xd8, 0x41, - 0x2b, 0x00, 0xf4, 0xe0, 0x67, 0x5b, 0x86, 0xff, 0xc2, 0x78, 0x08, 0x22, 0xff, 0xa7, 0x04, 0xf3, - 0x01, 0x61, 0x96, 0xea, 0xbc, 0xdb, 0x30, 0x7d, 0xec, 0x8a, 0x8b, 0xb6, 0xc4, 0xb4, 0x43, 0x92, - 0x20, 0x4a, 0xe1, 0xd8, 0x6d, 0xea, 0xe8, 0x7d, 0x80, 0x81, 0x8b, 0x75, 0x9e, 0xf8, 0xcb, 0x54, - 0xbb, 0x58, 0x22, 0x04, 0x2c, 0x81, 0x78, 0x07, 0xca, 0x86, 0x69, 0xe9, 0x98, 0xa6, 0x89, 0xf5, - 0x6c, 0xf5, 0x8b, 0xc0, 0x28, 0x0e, 0x5d, 0xac, 0xcb, 0x98, 0xef, 0x85, 0x42, 0xbf, 0xdc, 0x50, - 0xf6, 0x60, 0x81, 0x39, 0xad, 0x63, 0x5f, 0xf0, 0x11, 0x35, 0xe8, 0x31, 0x6d, 0x29, 0x35, 0x83, - 0xc7, 0x48, 0x82, 0x54, 0xde, 0x80, 0xb3, 0xb1, 0x6a, 0xd8, 0xec, 0x37, 0xda, 0xad, 0xd8, 0xf5, - 0x52, 0x60, 0xce, 0x37, 0xa2, 0xef, 0x28, 0x8c, 0x2f, 0xc1, 0xe5, 0xc5, 0xf1, 0xdf, 0x86, 0x73, - 0x91, 0x7b, 0xb0, 0x88, 0x44, 0x77, 0x62, 0x21, 0xe0, 0x9b, 0xe3, 0xb8, 0xc6, 0x62, 0xc1, 0xff, - 0x96, 0x60, 0x31, 0x09, 0xe1, 0x05, 0xef, 0x69, 0xbf, 0x9b, 0xf2, 0x56, 0xd4, 0xad, 0x6c, 0x62, - 0x7d, 0x2e, 0x77, 0xdc, 0x07, 0xec, 0x1d, 0x89, 0xf1, 0xb3, 0x94, 0x9f, 0x64, 0x96, 0x7e, 0x9c, - 0x0f, 0xe5, 0x2b, 0x46, 0xbc, 0xc1, 0xf0, 0xd2, 0x77, 0x80, 0xcd, 0xd8, 0x0b, 0x0c, 0xd7, 0x47, - 0x90, 0x8f, 0x79, 0x7f, 0xe1, 0xa3, 0xa4, 0xcb, 0x80, 0x1b, 0xd9, 0xf8, 0x7d, 0x69, 0xaf, 0x8d, - 0x7f, 0x9c, 0x83, 0x6a, 0x74, 0x8a, 0xd0, 0x4e, 0xc2, 0xdb, 0x0b, 0x6f, 0x64, 0x1a, 0x66, 0xe4, - 0xe5, 0x05, 0xfe, 0x86, 0x40, 0x6e, 0xd2, 0x37, 0x04, 0xf2, 0x93, 0xbc, 0x21, 0xf0, 0x10, 0xaa, - 0xcf, 0x1c, 0xc3, 0xd3, 0x8e, 0x7a, 0x58, 0xed, 0x69, 0xa7, 0xd8, 0xe1, 0x5e, 0x32, 0x83, 0x23, - 0xab, 0x08, 0xc2, 0x47, 0x84, 0x4e, 0xfe, 0x1b, 0x09, 0x8a, 0x42, 0xa4, 0xb1, 0x75, 0xf9, 0xcb, - 0x03, 0x82, 0xa6, 0xd2, 0xda, 0x5e, 0x53, 0x33, 0x2d, 0xd5, 0xc5, 0x64, 0x1f, 0xcf, 0x58, 0xd9, - 0xbe, 0x48, 0xa9, 0xb7, 0x2c, 0x07, 0xef, 0x69, 0xa6, 0xd5, 0x66, 0xa4, 0xe8, 0x01, 0xd4, 0x18, - 0x57, 0xca, 0x90, 0xb0, 0xce, 0xb8, 0x63, 0x54, 0x29, 0x19, 0x61, 0x45, 0x58, 0xba, 0xf2, 0x5f, - 0xe7, 0xa1, 0x1c, 0xd2, 0xd5, 0x98, 0xc1, 0x34, 0x61, 0x41, 0xd4, 0x42, 0xb8, 0xd8, 0x9b, 0xa4, - 0x40, 0x7f, 0x9e, 0xd3, 0xb5, 0xb1, 0xc7, 0xf6, 0xab, 0x5d, 0x98, 0xd7, 0x9e, 0x6a, 0x46, 0x8f, - 0xce, 0xc6, 0x04, 0x5b, 0x5e, 0xd5, 0xa7, 0xf2, 0xf7, 0x3d, 0xa6, 0x89, 0x09, 0xea, 0xf6, 0x81, - 0x52, 0x04, 0x2f, 0x0c, 0xb8, 0x6e, 0xa8, 0xda, 0x26, 0xc3, 0x0b, 0x03, 0xae, 0xeb, 0xf7, 0x4d, - 0x6b, 0x85, 0xe9, 0x4b, 0x13, 0x2e, 0x7f, 0x81, 0x7b, 0x5c, 0xdf, 0x84, 0x62, 0x97, 0x12, 0x10, - 0x75, 0xf6, 0xb5, 0xef, 0x59, 0x8e, 0x1a, 0xe6, 0x32, 0x9b, 0x49, 0x9d, 0x94, 0xae, 0xe5, 0xb3, - 0x92, 0xef, 0xc0, 0x39, 0x05, 0x5b, 0x36, 0x36, 0xfd, 0x95, 0xf6, 0xc8, 0xea, 0x4e, 0xb0, 0xb7, - 0xbe, 0x02, 0x8d, 0x24, 0x7a, 0xe6, 0xb9, 0xaf, 0xbe, 0x09, 0x45, 0xf1, 0xf1, 0x38, 0x34, 0x0b, - 0xf9, 0x83, 0xad, 0x56, 0x6d, 0x8a, 0xfc, 0x39, 0xdc, 0x6e, 0xd5, 0x24, 0x54, 0x84, 0x42, 0x7b, - 0xeb, 0xa0, 0x55, 0xcb, 0x5d, 0xed, 0x43, 0x2d, 0xfe, 0xe5, 0x34, 0xb4, 0x0c, 0x67, 0x5a, 0xca, - 0x7e, 0x6b, 0xf3, 0xc1, 0xe6, 0x41, 0x73, 0x7f, 0x4f, 0x6d, 0x29, 0xcd, 0x0f, 0x37, 0x0f, 0x76, - 0x6a, 0x53, 0xe8, 0x12, 0x5c, 0x08, 0x3f, 0x78, 0xb8, 0xdf, 0x3e, 0x50, 0x0f, 0xf6, 0xd5, 0xad, - 0xfd, 0xbd, 0x83, 0xcd, 0xe6, 0xde, 0x8e, 0x52, 0x93, 0xd0, 0x05, 0x38, 0x17, 0x46, 0xb9, 0xdf, - 0xdc, 0x6e, 0x2a, 0x3b, 0x5b, 0xe4, 0xff, 0xe6, 0xa3, 0x5a, 0xee, 0xea, 0x07, 0x50, 0x89, 0x7c, - 0xde, 0x8b, 0x88, 0xd4, 0xda, 0xdf, 0xae, 0x4d, 0xa1, 0x0a, 0x94, 0xc2, 0x7c, 0x8a, 0x50, 0xd8, - 0xdb, 0xdf, 0xde, 0xa9, 0xe5, 0x10, 0xc0, 0xcc, 0xc1, 0xa6, 0xf2, 0x60, 0xe7, 0xa0, 0x96, 0xbf, - 0xba, 0x11, 0x7f, 0x19, 0x0b, 0xa3, 0x05, 0xa8, 0xb4, 0x37, 0xf7, 0xb6, 0xef, 0xef, 0x7f, 0xa4, - 0x2a, 0x3b, 0x9b, 0xdb, 0x1f, 0xd7, 0xa6, 0xd0, 0x22, 0xd4, 0x04, 0x68, 0x6f, 0xff, 0x80, 0x41, - 0xa5, 0xab, 0x4f, 0x62, 0x9e, 0x10, 0xa3, 0xb3, 0xb0, 0xe0, 0x77, 0xa9, 0x6e, 0x29, 0x3b, 0x9b, - 0x07, 0x3b, 0x44, 0x92, 0x08, 0x58, 0x39, 0xdc, 0xdb, 0x6b, 0xee, 0x3d, 0xa8, 0x49, 0x84, 0x6b, - 0x00, 0xde, 0xf9, 0xa8, 0x49, 0x90, 0x73, 0x51, 0xe4, 0xc3, 0xbd, 0x6f, 0xec, 0xed, 0x7f, 0x73, - 0xaf, 0x96, 0x5f, 0xff, 0xd9, 0x19, 0xff, 0x53, 0x49, 0x6d, 0xec, 0xd0, 0x8a, 0xad, 0x16, 0xcc, - 0x8a, 0x0f, 0x13, 0x26, 0xec, 0xa3, 0xd1, 0xcf, 0x29, 0x36, 0x2e, 0x8d, 0xc0, 0xe0, 0xa7, 0xa2, - 0x29, 0x74, 0x44, 0x4f, 0x29, 0xa1, 0x57, 0x90, 0xdf, 0x4c, 0x3c, 0x13, 0x0c, 0xbd, 0xf5, 0xdc, - 0xb8, 0x3c, 0x16, 0xcf, 0xef, 0x03, 0x93, 0x83, 0x48, 0xf8, 0x2b, 0x1f, 0xe8, 0x72, 0xd2, 0x09, - 0x22, 0xe1, 0x33, 0x22, 0x8d, 0x2b, 0xe3, 0x11, 0xfd, 0x6e, 0x9e, 0x40, 0x2d, 0xfe, 0xc5, 0x0f, - 0x94, 0x90, 0x16, 0x48, 0xf9, 0xac, 0x48, 0xe3, 0x6a, 0x16, 0xd4, 0x70, 0x67, 0x43, 0x9f, 0xb0, - 0x78, 0x2b, 0xcb, 0xab, 0xfe, 0xa9, 0x9d, 0xa5, 0x7d, 0x15, 0x80, 0x29, 0x30, 0xfa, 0x96, 0x28, - 0x4a, 0xfc, 0x5e, 0x44, 0xc2, 0xcb, 0xe9, 0x49, 0x0a, 0x4c, 0x7e, 0x01, 0x59, 0x9e, 0x42, 0x27, - 0x30, 0x1f, 0x2b, 0xbd, 0x41, 0x09, 0xe4, 0xc9, 0x35, 0x46, 0x8d, 0xb7, 0x32, 0x60, 0x46, 0x2d, - 0x22, 0x5c, 0x6a, 0x93, 0x6c, 0x11, 0x09, 0x85, 0x3c, 0xc9, 0x16, 0x91, 0x58, 0xb5, 0x43, 0x8d, - 0x3b, 0x52, 0x62, 0x93, 0x64, 0xdc, 0x49, 0x85, 0x3d, 0x8d, 0xcb, 0x63, 0xf1, 0xc2, 0x4a, 0x8b, - 0x15, 0xdc, 0x24, 0x29, 0x2d, 0xb9, 0xa0, 0xa7, 0xf1, 0x56, 0x06, 0xcc, 0xb8, 0x15, 0x04, 0xe9, - 0xfb, 0x34, 0x2b, 0x18, 0x2a, 0x36, 0x49, 0xb3, 0x82, 0xe1, 0x4a, 0x00, 0x6e, 0x05, 0xb1, 0xb4, - 0xfb, 0x95, 0x0c, 0x69, 0xc2, 0x74, 0x2b, 0x48, 0x4e, 0x28, 0xca, 0x53, 0xe8, 0x47, 0x12, 0xd4, - 0xd3, 0xb2, 0x52, 0xe8, 0xfa, 0xc4, 0x29, 0xb4, 0xc6, 0xfa, 0x24, 0x24, 0xbe, 0x14, 0xdf, 0x07, - 0x34, 0xbc, 0x07, 0xa2, 0xaf, 0x24, 0xcd, 0x4c, 0xca, 0x4e, 0xdb, 0x78, 0x3b, 0x1b, 0xb2, 0xdf, - 0x65, 0x1b, 0x8a, 0x22, 0x0f, 0x86, 0x12, 0xbc, 0x74, 0x2c, 0x0b, 0xd7, 0x90, 0x47, 0xa1, 0xf8, - 0x4c, 0x1f, 0x40, 0x81, 0x40, 0xd1, 0x85, 0x64, 0x6c, 0xc1, 0x6c, 0x25, 0xed, 0xb1, 0xcf, 0xe8, - 0x31, 0xcc, 0xb0, 0xc4, 0x0f, 0x4a, 0xb8, 0x1f, 0x8a, 0xa4, 0xa7, 0x1a, 0x17, 0xd3, 0x11, 0x7c, - 0x76, 0xdf, 0x61, 0xdf, 0xac, 0xe5, 0x39, 0x1d, 0xf4, 0x7a, 0xf2, 0x87, 0xcb, 0xa2, 0x29, 0xa4, - 0xc6, 0x1b, 0x63, 0xb0, 0xc2, 0x8b, 0x22, 0x76, 0x36, 0xb9, 0x3c, 0xf6, 0x80, 0x99, 0xbe, 0x28, - 0x92, 0x8f, 0xb0, 0xcc, 0x48, 0x86, 0x8f, 0xb8, 0x49, 0x46, 0x92, 0x7a, 0xb1, 0x90, 0x64, 0x24, - 0xe9, 0xa7, 0x66, 0xb6, 0x0e, 0xe3, 0x6f, 0x54, 0x5f, 0x19, 0xff, 0xfe, 0x7f, 0xfa, 0x3a, 0x4c, - 0xf9, 0xc6, 0x80, 0x3c, 0x85, 0x3c, 0x38, 0x93, 0xf0, 0x11, 0x02, 0xf4, 0xf6, 0xb8, 0xad, 0x23, - 0xd2, 0xe3, 0xb5, 0x8c, 0xd8, 0xe1, 0x5e, 0x13, 0x2e, 0x6c, 0x93, 0x7a, 0x4d, 0xbf, 0x3d, 0x4e, - 0xea, 0x75, 0xd4, 0x2d, 0x30, 0x35, 0x6e, 0xee, 0xd4, 0x5e, 0x4d, 0xbf, 0xc5, 0x4c, 0x35, 0xee, - 0xb8, 0x0b, 0x5b, 0xff, 0x55, 0x1e, 0xe6, 0xd8, 0x65, 0x3c, 0x8f, 0xd0, 0x3e, 0x06, 0x08, 0xf2, - 0x60, 0xe8, 0xb5, 0x64, 0xa5, 0x44, 0x92, 0x8e, 0x8d, 0xd7, 0x47, 0x23, 0x85, 0x17, 0x52, 0x28, - 0xa7, 0x94, 0xb4, 0x90, 0x86, 0x53, 0x67, 0x49, 0x0b, 0x29, 0x21, 0x31, 0x25, 0x4f, 0xa1, 0x0f, - 0xa1, 0xe4, 0x27, 0x2f, 0x50, 0x52, 0xf2, 0x23, 0x96, 0x9d, 0x69, 0xbc, 0x36, 0x12, 0x27, 0x2c, - 0x75, 0x28, 0x33, 0x91, 0x24, 0xf5, 0x70, 0x06, 0x24, 0x49, 0xea, 0xa4, 0xf4, 0x46, 0xa0, 0x13, - 0x76, 0x7f, 0x99, 0xaa, 0x93, 0xc8, 0xf5, 0x71, 0xaa, 0x4e, 0xa2, 0x97, 0xa0, 0xf2, 0xd4, 0xfd, - 0xdd, 0x5f, 0xfc, 0x7a, 0x45, 0xfa, 0xa7, 0x5f, 0xaf, 0x4c, 0xfd, 0xf0, 0x93, 0x15, 0xe9, 0x17, - 0x9f, 0xac, 0x48, 0xff, 0xf8, 0xc9, 0x8a, 0xf4, 0xaf, 0x9f, 0xac, 0x48, 0xbf, 0xfd, 0x6f, 0x2b, - 0x53, 0xdf, 0xba, 0xf2, 0xe4, 0xa6, 0xbb, 0x6a, 0x58, 0x6b, 0x1d, 0xc7, 0xb8, 0xa6, 0xd9, 0xc6, - 0x9a, 0xfd, 0xa4, 0xbb, 0xa6, 0xd9, 0x86, 0xbb, 0xc6, 0xb9, 0xaf, 0x09, 0xee, 0x47, 0x33, 0xf4, - 0xcb, 0xdb, 0xef, 0xfc, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9f, 0x58, 0x83, 0xb8, 0x3f, 0x5d, - 0x00, 0x00, + // 5841 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x7c, 0xdd, 0x6f, 0x1b, 0xd9, + 0x75, 0xb8, 0x86, 0xa4, 0x24, 0xf2, 0x50, 0xa4, 0xa8, 0x6b, 0x59, 0xa2, 0xe9, 0xb5, 0xd6, 0x9e, + 0xfd, 0xb0, 0xd7, 0x59, 0x4b, 0xb1, 0x76, 0xe3, 0xdd, 0x95, 0x77, 0x6d, 0xeb, 0xd3, 0x66, 0x62, + 0x4b, 0xfc, 0x0d, 0xa5, 0xcd, 0x6e, 0x92, 0x1f, 0x26, 0x23, 0xce, 0x15, 0x35, 0x31, 0x39, 0x33, + 0x99, 0x19, 0xda, 0x56, 0xfa, 0x12, 0x20, 0x40, 0x1e, 0xf2, 0x54, 0xa0, 0x28, 0x02, 0x14, 0x45, + 0x81, 0xb4, 0x40, 0xfb, 0x9c, 0x16, 0x7d, 0xea, 0x4b, 0x5b, 0xb4, 0x68, 0xd0, 0x0f, 0xa0, 0x4f, + 0x41, 0x8b, 0xf4, 0xa1, 0xd9, 0xa2, 0x40, 0x51, 0xa0, 0x40, 0xd1, 0xbf, 0xa0, 0xb8, 0x5f, 0xf3, + 0xc5, 0x19, 0x72, 0x68, 0xef, 0x57, 0x9f, 0xc8, 0x39, 0x73, 0xce, 0xb9, 0xe7, 0x9e, 0x7b, 0xee, + 0xb9, 0xe7, 0xde, 0x73, 0xee, 0x40, 0x49, 0xb3, 0x8d, 0x55, 0xdb, 0xb1, 0x3c, 0x0b, 0xd5, 0x9c, + 0x81, 0xe9, 0x19, 0x7d, 0xbc, 0xfa, 0xe4, 0xa6, 0xd6, 0xb3, 0x4f, 0xb5, 0xf5, 0xc6, 0x8d, 0xae, + 0xe1, 0x9d, 0x0e, 0x8e, 0x57, 0x3b, 0x56, 0x7f, 0xad, 0x6b, 0x75, 0xad, 0x35, 0x8a, 0x78, 0x3c, + 0x38, 0xa1, 0x4f, 0xf4, 0x81, 0xfe, 0x63, 0x0c, 0xe4, 0xeb, 0x50, 0xfd, 0x10, 0x3b, 0xae, 0x61, + 0x99, 0x0a, 0xfe, 0xfe, 0x00, 0xbb, 0x1e, 0xaa, 0xc3, 0xec, 0x13, 0x06, 0xa9, 0x4b, 0x97, 0xa5, + 0x6b, 0x25, 0x45, 0x3c, 0xca, 0x7f, 0x24, 0xc1, 0xbc, 0x8f, 0xec, 0xda, 0x96, 0xe9, 0xe2, 0x74, + 0x6c, 0x74, 0x05, 0xe6, 0xb8, 0x70, 0xaa, 0xa9, 0xf5, 0x71, 0x3d, 0x47, 0x5f, 0x97, 0x39, 0x6c, + 0x5f, 0xeb, 0x63, 0x74, 0x15, 0xe6, 0x05, 0x8a, 0x60, 0x92, 0xa7, 0x58, 0x55, 0x0e, 0xe6, 0xad, + 0xa1, 0x55, 0x38, 0x27, 0x10, 0x35, 0xdb, 0xf0, 0x91, 0x0b, 0x14, 0x79, 0x81, 0xbf, 0xda, 0xb4, + 0x0d, 0x8e, 0x2f, 0x7f, 0x1b, 0x4a, 0x3b, 0xfb, 0xed, 0x6d, 0xcb, 0x3c, 0x31, 0xba, 0x44, 0x44, + 0x17, 0x3b, 0x84, 0xa6, 0x2e, 0x5d, 0xce, 0x13, 0x11, 0xf9, 0x23, 0x6a, 0x40, 0xd1, 0xc5, 0x9a, + 0xd3, 0x39, 0xc5, 0x6e, 0x3d, 0x47, 0x5f, 0xf9, 0xcf, 0x84, 0xca, 0xb2, 0x3d, 0xc3, 0x32, 0xdd, + 0x7a, 0x9e, 0x51, 0xf1, 0x47, 0xf9, 0xf7, 0x25, 0x28, 0xb7, 0x2c, 0xc7, 0x7b, 0xa4, 0xd9, 0xb6, + 0x61, 0x76, 0xd1, 0x2d, 0x28, 0x52, 0x5d, 0x76, 0xac, 0x1e, 0xd5, 0x41, 0x75, 0xbd, 0xb1, 0x1a, + 0x1f, 0x96, 0xd5, 0x16, 0xc7, 0x50, 0x7c, 0x5c, 0xf4, 0x1a, 0x54, 0x3b, 0x96, 0xe9, 0x69, 0x86, + 0x89, 0x1d, 0xd5, 0xb6, 0x1c, 0x8f, 0xaa, 0x68, 0x5a, 0xa9, 0xf8, 0x50, 0xd2, 0x0a, 0xba, 0x08, + 0xa5, 0x53, 0xcb, 0xf5, 0x18, 0x46, 0x9e, 0x62, 0x14, 0x09, 0x80, 0xbe, 0x5c, 0x86, 0x59, 0xfa, + 0xd2, 0xb0, 0xb9, 0x32, 0x66, 0xc8, 0x63, 0xd3, 0x96, 0x7f, 0x29, 0xc1, 0xf4, 0x23, 0x6b, 0x60, + 0x7a, 0xb1, 0x66, 0x34, 0xef, 0x94, 0x0f, 0x54, 0xa8, 0x19, 0xcd, 0x3b, 0x0d, 0x9a, 0x21, 0x18, + 0x6c, 0xac, 0x58, 0x33, 0xe4, 0x65, 0x03, 0x8a, 0x0e, 0xd6, 0x74, 0xcb, 0xec, 0x9d, 0x51, 0x11, + 0x8a, 0x8a, 0xff, 0x4c, 0x06, 0xd1, 0xc5, 0x3d, 0xc3, 0x1c, 0x3c, 0x53, 0x1d, 0xdc, 0xd3, 0x8e, + 0x71, 0x8f, 0x8a, 0x52, 0x54, 0xaa, 0x1c, 0xac, 0x30, 0x28, 0xda, 0x81, 0xb2, 0xed, 0x58, 0xb6, + 0xd6, 0xd5, 0x88, 0x1e, 0xeb, 0xd3, 0x54, 0x55, 0xf2, 0xb0, 0xaa, 0xa8, 0xd8, 0xad, 0x00, 0x53, + 0x09, 0x93, 0xc9, 0x2a, 0x94, 0x9a, 0x3b, 0x42, 0xf5, 0x7e, 0xf7, 0x75, 0xda, 0xa9, 0x0a, 0xef, + 0xbe, 0x4e, 0x8c, 0x2f, 0xe8, 0xb4, 0xa1, 0xd3, 0x0e, 0x55, 0x94, 0xb2, 0x0f, 0x6b, 0xea, 0x68, + 0x09, 0x66, 0x7a, 0xd8, 0xec, 0x7a, 0xa7, 0xb4, 0x47, 0x15, 0x85, 0x3f, 0xc9, 0x7f, 0x28, 0x41, + 0xe5, 0xc8, 0xc5, 0x0e, 0xb1, 0x50, 0xd7, 0xd6, 0x3a, 0x18, 0xbd, 0x05, 0x85, 0xbe, 0xa5, 0x63, + 0x3e, 0xb8, 0x2f, 0x0f, 0x4b, 0xec, 0xa3, 0x3e, 0xb2, 0x74, 0xac, 0x50, 0x64, 0xb4, 0x06, 0x85, + 0x81, 0xa1, 0x33, 0xbb, 0x2a, 0xaf, 0x5f, 0x1c, 0x26, 0xf2, 0x7b, 0xa1, 0x50, 0x44, 0x42, 0xd0, + 0x25, 0x04, 0xf9, 0x0c, 0x04, 0x04, 0x51, 0xfe, 0x69, 0x0e, 0xe6, 0xfd, 0x96, 0x0f, 0xa8, 0x71, + 0xa2, 0xf7, 0x60, 0xd6, 0xc4, 0xde, 0x53, 0xcb, 0x79, 0x9c, 0x55, 0x5a, 0x81, 0x8f, 0x6e, 0x42, + 0xde, 0xe6, 0x9a, 0xca, 0x40, 0x46, 0x70, 0x09, 0x89, 0x61, 0x77, 0xa8, 0xfe, 0xb2, 0x90, 0x18, + 0x76, 0x87, 0x98, 0x99, 0xa7, 0x39, 0x5d, 0x4c, 0xc7, 0x8c, 0x99, 0x6c, 0x91, 0x01, 0x9a, 0x3a, + 0xda, 0x83, 0xea, 0xc0, 0xc5, 0x8e, 0xe9, 0xaa, 0x62, 0xea, 0x11, 0x23, 0x29, 0x27, 0xb1, 0x8e, + 0x8c, 0x90, 0x52, 0x61, 0x64, 0x07, 0x7c, 0x86, 0xca, 0x00, 0x4d, 0xd3, 0xbb, 0xf5, 0xf6, 0x87, + 0x5a, 0x6f, 0x80, 0xd1, 0x22, 0x4c, 0x3f, 0x21, 0x7f, 0xa8, 0x46, 0xf2, 0x0a, 0x7b, 0x90, 0x7f, + 0x5d, 0x80, 0x8b, 0x0f, 0x89, 0x79, 0xb6, 0x35, 0x53, 0x3f, 0xb6, 0x9e, 0xb5, 0x71, 0x67, 0xe0, + 0x18, 0xde, 0xd9, 0xb6, 0x65, 0x7a, 0xf8, 0x99, 0x87, 0xf6, 0x61, 0xc1, 0x14, 0xfc, 0x7d, 0x71, + 0x24, 0x2a, 0xce, 0x95, 0x11, 0x3d, 0x65, 0x22, 0x28, 0x35, 0x33, 0x0a, 0x70, 0xd1, 0x83, 0x60, + 0x9a, 0x08, 0x6e, 0xb9, 0xb4, 0xce, 0xb5, 0x77, 0xa9, 0x64, 0x9c, 0x97, 0x98, 0x47, 0x82, 0xd3, + 0xfb, 0x40, 0x9c, 0xa8, 0xaa, 0xb9, 0x2a, 0xe9, 0x35, 0xd5, 0x7e, 0x79, 0xfd, 0xa5, 0x04, 0x7b, + 0xf1, 0x55, 0xa0, 0x94, 0x9c, 0x81, 0xb9, 0xe9, 0x12, 0x9d, 0xa1, 0x3b, 0xd4, 0x2d, 0x13, 0xea, + 0xae, 0x63, 0x0d, 0xec, 0x7a, 0x31, 0x03, 0x39, 0x50, 0xf2, 0xfb, 0x04, 0x9f, 0xfa, 0x6c, 0x3e, + 0xf5, 0x55, 0xc7, 0xb2, 0xbc, 0x13, 0x57, 0x4c, 0x77, 0x01, 0x56, 0x28, 0x14, 0xad, 0xc1, 0x39, + 0x77, 0x60, 0xdb, 0x3d, 0xdc, 0xc7, 0xa6, 0xa7, 0xf5, 0x58, 0x73, 0x64, 0x44, 0xf3, 0xd7, 0xf2, + 0x0a, 0x0a, 0xbf, 0xa2, 0x8c, 0x5d, 0xb4, 0x02, 0x60, 0x3b, 0xc6, 0x13, 0xa3, 0x87, 0xbb, 0x58, + 0xaf, 0xcf, 0x50, 0xa6, 0x21, 0x08, 0xba, 0x4d, 0xfc, 0x78, 0xa7, 0x63, 0xf5, 0xed, 0x7a, 0x29, + 0x6d, 0x1c, 0xc4, 0x28, 0xb6, 0x1c, 0xeb, 0xc4, 0xe8, 0x61, 0x45, 0x50, 0xa0, 0x0f, 0xa0, 0xa8, + 0xd9, 0xb6, 0xe6, 0xf4, 0x2d, 0xa7, 0x0e, 0x59, 0xa9, 0x7d, 0x12, 0xf4, 0x36, 0x2c, 0x72, 0x4e, + 0xaa, 0xcd, 0x5e, 0x32, 0x47, 0x39, 0x4b, 0x2c, 0x78, 0x2b, 0x57, 0x97, 0x14, 0xc4, 0xdf, 0x73, + 0x5a, 0xe2, 0x36, 0xe5, 0xbf, 0x95, 0x60, 0x3e, 0xc6, 0x13, 0xb5, 0x60, 0x4e, 0x70, 0xf0, 0xce, + 0x6c, 0xe1, 0x54, 0x6e, 0x8c, 0x15, 0x66, 0x95, 0xff, 0x1e, 0x9e, 0xd9, 0x98, 0x7a, 0x44, 0xf1, + 0x80, 0x5e, 0x81, 0x4a, 0xcf, 0xea, 0x68, 0x3d, 0xea, 0x09, 0x1d, 0x7c, 0xc2, 0xbd, 0xf7, 0x9c, + 0x0f, 0x54, 0xf0, 0x89, 0x7c, 0x0f, 0xca, 0x21, 0x06, 0x08, 0x41, 0x55, 0x61, 0x0d, 0xee, 0xe0, + 0x13, 0x6d, 0xd0, 0xf3, 0x6a, 0x53, 0xa8, 0x0a, 0x70, 0x64, 0x76, 0xc8, 0x9a, 0x69, 0x62, 0xbd, + 0x26, 0xa1, 0x0a, 0x94, 0x1e, 0x0a, 0x16, 0xb5, 0x9c, 0xfc, 0xc7, 0x79, 0x38, 0x4f, 0xcd, 0xb2, + 0x65, 0xe9, 0x7c, 0xce, 0xf0, 0x05, 0xf6, 0x15, 0xa8, 0x74, 0xe8, 0xe8, 0xaa, 0xb6, 0xe6, 0x60, + 0xd3, 0xe3, 0x0b, 0xcc, 0x1c, 0x03, 0xb6, 0x28, 0x0c, 0x7d, 0x04, 0x35, 0x97, 0xf7, 0x48, 0xed, + 0xb0, 0x39, 0xc6, 0x27, 0x40, 0x42, 0xdf, 0x47, 0x4c, 0x4c, 0x65, 0xde, 0x1d, 0x9a, 0xa9, 0xb3, + 0xee, 0x99, 0xdb, 0xf1, 0x7a, 0xc2, 0x77, 0xbe, 0x9d, 0xc2, 0x30, 0x2e, 0xf8, 0x6a, 0x9b, 0x91, + 0xed, 0x9a, 0x9e, 0x73, 0xa6, 0x08, 0x26, 0x68, 0x17, 0x8a, 0xd6, 0x13, 0xec, 0x9c, 0x62, 0x8d, + 0x79, 0xa8, 0xf2, 0xfa, 0x1b, 0x29, 0x0c, 0xb7, 0xc5, 0x72, 0xa2, 0x60, 0xd7, 0x1a, 0x38, 0x1d, + 0xec, 0x2a, 0x3e, 0x29, 0xba, 0x0f, 0x25, 0x47, 0x80, 0xb9, 0x1f, 0x9b, 0x80, 0x4f, 0x40, 0xdb, + 0xd8, 0x80, 0xb9, 0xb0, 0xa0, 0xa8, 0x06, 0xf9, 0xc7, 0xf8, 0x8c, 0x2b, 0x99, 0xfc, 0x0d, 0x3c, + 0x1c, 0x1b, 0x79, 0xf6, 0xb0, 0x91, 0x7b, 0x57, 0x92, 0x1d, 0x40, 0x41, 0xaf, 0x1f, 0x61, 0x4f, + 0xd3, 0x35, 0x4f, 0x43, 0x08, 0x0a, 0x34, 0x24, 0x63, 0x2c, 0xe8, 0x7f, 0xc2, 0x75, 0xc0, 0xdd, + 0x7f, 0x49, 0x21, 0x7f, 0xd1, 0x4b, 0x50, 0xf2, 0xbd, 0x18, 0x8f, 0xcb, 0x02, 0x00, 0x89, 0x8f, + 0x34, 0xcf, 0xc3, 0x7d, 0xdb, 0xa3, 0x4a, 0xaa, 0x28, 0xe2, 0x51, 0xfe, 0x93, 0x69, 0xa8, 0x0d, + 0xd9, 0xc8, 0x3d, 0x28, 0xf6, 0x79, 0xf3, 0xdc, 0x8b, 0xbe, 0x9a, 0x10, 0x24, 0x0d, 0x89, 0xaa, + 0xf8, 0x54, 0x24, 0x06, 0x21, 0x96, 0x18, 0x8a, 0x25, 0xfd, 0x67, 0x36, 0x05, 0xba, 0xaa, 0x6e, + 0x38, 0xb8, 0xe3, 0x59, 0xce, 0x19, 0x17, 0x77, 0xae, 0x67, 0x75, 0x77, 0x04, 0x0c, 0x6d, 0x00, + 0xe8, 0xa6, 0xab, 0x52, 0x0b, 0xef, 0xf2, 0x91, 0x4d, 0x58, 0x66, 0xfd, 0xc0, 0x51, 0x29, 0xe9, + 0xa6, 0xcb, 0xc5, 0xdf, 0x82, 0x0a, 0x89, 0xbf, 0xd4, 0x3e, 0x5b, 0x81, 0x99, 0x1b, 0x2b, 0xaf, + 0x5f, 0x4a, 0xea, 0x83, 0x1f, 0x19, 0x2a, 0x73, 0x76, 0xf0, 0xe0, 0xa2, 0x3d, 0x98, 0xa1, 0x81, + 0x90, 0x5b, 0x9f, 0xa1, 0xc4, 0xab, 0xa3, 0x14, 0xc0, 0x2d, 0xf4, 0x21, 0x25, 0x60, 0x06, 0xca, + 0xa9, 0xd1, 0x11, 0x94, 0x35, 0xd3, 0xb4, 0x3c, 0x8d, 0xad, 0x22, 0xb3, 0x94, 0xd9, 0x5b, 0x19, + 0x98, 0x6d, 0x06, 0x54, 0x8c, 0x63, 0x98, 0x0f, 0xfa, 0x00, 0xa6, 0xe9, 0x32, 0xc3, 0x57, 0x84, + 0xab, 0x19, 0x27, 0x91, 0xc2, 0xa8, 0xd0, 0x36, 0xcc, 0x3e, 0x35, 0x4c, 0xdd, 0x7a, 0xea, 0x72, + 0xef, 0x9c, 0x60, 0xec, 0xdf, 0x64, 0x08, 0x43, 0x2c, 0x04, 0x65, 0xe3, 0x3d, 0x28, 0x87, 0x7a, + 0x3c, 0x89, 0xa5, 0x37, 0xee, 0x40, 0x2d, 0xde, 0xbf, 0x89, 0x66, 0xca, 0x6f, 0xc0, 0xa2, 0x32, + 0x30, 0x03, 0xd1, 0xc4, 0x76, 0x68, 0x03, 0x66, 0xb8, 0xc5, 0x30, 0xb3, 0x95, 0xc7, 0x2b, 0x5a, + 0xe1, 0x14, 0xe1, 0xfd, 0xcd, 0xa9, 0x66, 0xea, 0x3d, 0xec, 0xf0, 0x76, 0xc5, 0xfe, 0xe6, 0x01, + 0x83, 0xca, 0x1f, 0xc0, 0xf9, 0x58, 0xe3, 0x7c, 0x7b, 0xf5, 0x2a, 0x54, 0x6d, 0x4b, 0x57, 0x5d, + 0x06, 0x16, 0x71, 0x6e, 0x89, 0x58, 0x96, 0xc0, 0x6d, 0xea, 0x84, 0xbc, 0xed, 0x59, 0xf6, 0xb0, + 0xf0, 0xd9, 0xc8, 0xeb, 0xb0, 0x14, 0x27, 0x67, 0xcd, 0xcb, 0x77, 0x61, 0x59, 0xc1, 0x7d, 0xeb, + 0x09, 0x7e, 0x5e, 0xd6, 0x0d, 0xa8, 0x0f, 0x33, 0xe0, 0xcc, 0x3f, 0x86, 0xe5, 0x00, 0xda, 0xf6, + 0x34, 0x6f, 0xe0, 0x4e, 0xc4, 0x9c, 0xef, 0x3d, 0x8f, 0x2d, 0x97, 0x0d, 0x67, 0x51, 0x11, 0x8f, + 0xf2, 0x32, 0x4c, 0xb7, 0x2c, 0xbd, 0xd9, 0x42, 0x55, 0xc8, 0x19, 0x36, 0x27, 0xce, 0x19, 0xb6, + 0x6c, 0x84, 0xdb, 0xdc, 0x67, 0x91, 0x2f, 0x6b, 0x3a, 0x8e, 0x8a, 0xee, 0x40, 0x55, 0xd3, 0x75, + 0x83, 0x98, 0x93, 0xd6, 0x53, 0x0d, 0x5b, 0x84, 0xf2, 0xcb, 0x89, 0x06, 0xd0, 0x6c, 0x29, 0x95, + 0x00, 0xbd, 0x69, 0xbb, 0xf2, 0x03, 0x28, 0x05, 0x5b, 0x88, 0xdb, 0xc1, 0x6e, 0x32, 0x97, 0x35, + 0x86, 0xf4, 0x37, 0x9c, 0x87, 0x43, 0x0b, 0x2f, 0x17, 0xf9, 0x36, 0x80, 0xef, 0x90, 0x45, 0x70, + 0x7a, 0x71, 0x04, 0x63, 0x25, 0x84, 0x2e, 0xff, 0x28, 0xe2, 0xa6, 0x43, 0x4a, 0xd0, 0x7d, 0x25, + 0xe8, 0x11, 0xb7, 0x9d, 0x7b, 0x2e, 0xb7, 0xfd, 0x0e, 0x4c, 0xbb, 0x9e, 0xe6, 0x61, 0xbe, 0x4b, + 0xb8, 0x32, 0x8a, 0x9c, 0x08, 0x81, 0x15, 0x86, 0x8f, 0x2e, 0x01, 0x74, 0x1c, 0xac, 0x79, 0x58, + 0x57, 0x35, 0xb6, 0xc6, 0xe4, 0x95, 0x12, 0x87, 0x6c, 0x7a, 0xc4, 0xdf, 0x88, 0x9d, 0x4e, 0xea, + 0xe2, 0x9a, 0x32, 0xd4, 0xc1, 0x9e, 0xc7, 0xf7, 0x79, 0x33, 0x19, 0x7d, 0x1e, 0x67, 0xc0, 0x7d, + 0x5e, 0xe0, 0xd1, 0x67, 0xc7, 0x7b, 0x74, 0x46, 0x9a, 0xc5, 0xa3, 0x17, 0xc7, 0x7b, 0x74, 0xce, + 0x6c, 0xb4, 0x47, 0x4f, 0x70, 0x3f, 0xa5, 0x24, 0xf7, 0xf3, 0x45, 0xba, 0xdd, 0x7f, 0x96, 0xa0, + 0x3e, 0xec, 0x05, 0xb8, 0xf7, 0xdb, 0x80, 0x19, 0x97, 0x42, 0xb2, 0xf8, 0x5e, 0x4e, 0xcb, 0x29, + 0xd0, 0x03, 0x28, 0x18, 0xe6, 0x89, 0xc5, 0x27, 0xed, 0xdb, 0x19, 0x28, 0x79, 0xab, 0xab, 0x4d, + 0xf3, 0xc4, 0x62, 0xda, 0xa4, 0x1c, 0x1a, 0xef, 0x40, 0xc9, 0x07, 0x4d, 0xd4, 0xb7, 0x03, 0x58, + 0x8c, 0xd9, 0x36, 0xdb, 0x90, 0xfa, 0x53, 0x42, 0x9a, 0x6c, 0x4a, 0xc8, 0x3f, 0xcc, 0x85, 0xa7, + 0xec, 0x9e, 0xd1, 0xf3, 0xb0, 0x33, 0x34, 0x65, 0xdf, 0x17, 0xdc, 0xd9, 0x7c, 0x7d, 0x7d, 0x2c, + 0x77, 0xb6, 0xc7, 0xe3, 0xb3, 0xee, 0x3b, 0x50, 0xa5, 0x46, 0xa9, 0xba, 0xb8, 0x47, 0xe3, 0x26, + 0x1e, 0x53, 0x7f, 0x6d, 0x14, 0x1b, 0x26, 0x09, 0x33, 0xed, 0x36, 0xa7, 0x63, 0x1a, 0xac, 0xf4, + 0xc2, 0xb0, 0xc6, 0x3d, 0x40, 0xc3, 0x48, 0x13, 0xe9, 0xb4, 0x4d, 0x7c, 0xa1, 0xeb, 0x25, 0xae, + 0xd3, 0x27, 0x54, 0x8c, 0x2c, 0xb6, 0xc2, 0x04, 0x56, 0x38, 0x85, 0xfc, 0x5f, 0x79, 0x80, 0xe0, + 0xe5, 0xff, 0x21, 0x27, 0x78, 0xcf, 0x77, 0x40, 0x2c, 0x1e, 0xbd, 0x36, 0x8a, 0x71, 0xa2, 0xeb, + 0x39, 0x88, 0xba, 0x1e, 0x16, 0x99, 0xde, 0x18, 0xc9, 0x66, 0x62, 0xa7, 0x33, 0xfb, 0x65, 0x73, + 0x3a, 0x0f, 0x61, 0x29, 0x6e, 0x44, 0xdc, 0xe3, 0xac, 0xc3, 0xb4, 0xe1, 0xe1, 0x3e, 0x3b, 0x29, + 0x4e, 0x3c, 0x16, 0x09, 0x11, 0x31, 0x54, 0xf9, 0x0e, 0x2c, 0x45, 0x47, 0x6f, 0xb2, 0x30, 0x46, + 0x56, 0xe2, 0x71, 0x50, 0xe0, 0x00, 0xb9, 0xdd, 0x8c, 0x38, 0x78, 0x8a, 0x53, 0x32, 0x7c, 0xf9, + 0xef, 0x25, 0x38, 0x1f, 0x7b, 0x95, 0xe2, 0x2e, 0xb4, 0xa1, 0x09, 0xcf, 0x3c, 0xe6, 0xc6, 0xd8, + 0xb6, 0x3e, 0xc7, 0x59, 0xff, 0xff, 0xa1, 0x11, 0x1d, 0xb0, 0x88, 0x9a, 0xef, 0xc6, 0xa6, 0xfe, + 0xd5, 0x8c, 0xa2, 0xfb, 0xf3, 0xff, 0x43, 0xb8, 0x98, 0xc8, 0x7e, 0x78, 0x14, 0xf2, 0x13, 0x8d, + 0xc2, 0x4f, 0xf2, 0xe1, 0x15, 0x60, 0xd3, 0xf3, 0x1c, 0xe3, 0x78, 0xe0, 0xe1, 0xcf, 0x22, 0xcc, + 0xfa, 0xba, 0xef, 0x09, 0x98, 0xbf, 0x5e, 0x1f, 0x45, 0x1f, 0x48, 0x92, 0xe8, 0x13, 0x3e, 0x8e, + 0xfa, 0x84, 0x02, 0x65, 0xf8, 0x4e, 0x46, 0x86, 0x23, 0xbd, 0xc3, 0x17, 0x39, 0xe9, 0x7f, 0x25, + 0xc1, 0x7c, 0x6c, 0x9c, 0xd0, 0x1e, 0x80, 0xe6, 0x8b, 0xce, 0xad, 0xe7, 0xf5, 0x6c, 0x1d, 0x55, + 0x42, 0x94, 0x64, 0xcd, 0x65, 0x71, 0x64, 0xea, 0x9a, 0x9b, 0x10, 0x47, 0xfa, 0x61, 0xe4, 0x56, + 0xb0, 0x75, 0x66, 0x87, 0xb9, 0xd7, 0x32, 0x6c, 0x9d, 0x19, 0x07, 0x41, 0x28, 0xff, 0x3c, 0x07, + 0x8b, 0x49, 0x6d, 0xa0, 0x37, 0x21, 0xdf, 0xb1, 0x07, 0xbc, 0x6f, 0x09, 0x89, 0xa9, 0x6d, 0x7b, + 0x70, 0xe4, 0x6a, 0x5d, 0xac, 0x10, 0x34, 0xf4, 0x35, 0x98, 0xe9, 0xe3, 0xbe, 0xe5, 0x9c, 0xf1, + 0x9e, 0x24, 0x1c, 0x70, 0x3c, 0xa2, 0xef, 0x19, 0x0d, 0x47, 0x46, 0xef, 0x06, 0xc1, 0x38, 0xeb, + 0xc1, 0x4a, 0xc2, 0x2e, 0x84, 0x21, 0x30, 0x42, 0x3f, 0x02, 0x7f, 0x17, 0x66, 0x6d, 0xc7, 0xea, + 0x60, 0xd7, 0xe5, 0x27, 0x32, 0x2b, 0x89, 0xb9, 0x33, 0x82, 0xc0, 0x29, 0x39, 0x3a, 0xba, 0x07, + 0xe0, 0xa7, 0x73, 0xc4, 0xfa, 0x77, 0x39, 0xa1, 0x7f, 0x02, 0x87, 0x29, 0x2c, 0x44, 0x43, 0xf6, + 0xbd, 0xc9, 0x6a, 0x95, 0xff, 0x4e, 0x82, 0xb9, 0xb0, 0xbc, 0xe8, 0x25, 0x28, 0x11, 0xb6, 0xae, + 0xa7, 0xf5, 0x6d, 0x9e, 0x47, 0x08, 0x00, 0xe8, 0x10, 0x16, 0x74, 0x76, 0x8c, 0xaa, 0x1a, 0xa6, + 0x87, 0x9d, 0x13, 0xad, 0x23, 0xc2, 0xaf, 0xab, 0xa9, 0x8a, 0x68, 0x0a, 0x4c, 0xd6, 0xaf, 0x1a, + 0xe7, 0xe0, 0x83, 0xd1, 0x7d, 0x00, 0x9f, 0x9b, 0x98, 0xd6, 0x99, 0xd9, 0x85, 0x48, 0xe5, 0x9f, + 0xe6, 0xe0, 0x7c, 0x22, 0x56, 0xe2, 0x41, 0xe0, 0xbb, 0x50, 0x74, 0x9e, 0xa9, 0xc7, 0x67, 0x1e, + 0x76, 0xd3, 0x8d, 0xe0, 0x28, 0x94, 0x1d, 0x98, 0x75, 0x9e, 0x6d, 0x11, 0x6c, 0xb4, 0x01, 0x25, + 0xe7, 0x99, 0x8a, 0x1d, 0xc7, 0x72, 0x84, 0x25, 0x8f, 0x21, 0x2d, 0x3a, 0xcf, 0x76, 0x29, 0x3a, + 0x69, 0xd5, 0x13, 0xad, 0x16, 0x32, 0xb5, 0xea, 0x05, 0xad, 0x7a, 0x7e, 0xab, 0xd3, 0x99, 0x5a, + 0xf5, 0x78, 0xab, 0xb2, 0x0d, 0x73, 0x61, 0xe3, 0x1a, 0x33, 0xcc, 0x5b, 0x50, 0xe1, 0xc6, 0xa7, + 0x76, 0xac, 0x81, 0xe9, 0x65, 0x53, 0xcf, 0x1c, 0xa7, 0xd9, 0x26, 0x24, 0xf2, 0xcf, 0x25, 0x28, + 0x35, 0xfb, 0x5a, 0x17, 0xb7, 0x6d, 0xdc, 0x21, 0xde, 0xca, 0x20, 0x0f, 0x7c, 0x00, 0xd8, 0x03, + 0xda, 0x8f, 0xfa, 0x5f, 0xb6, 0x1e, 0xbf, 0x99, 0x90, 0xa1, 0x11, 0x7c, 0xc6, 0x38, 0xdd, 0x17, + 0xf5, 0x9c, 0xeb, 0x50, 0xfc, 0x06, 0x3e, 0x63, 0x7b, 0x97, 0x8c, 0x74, 0xf2, 0xcf, 0x0a, 0xb0, + 0x9c, 0x72, 0xb6, 0x4d, 0x83, 0x5a, 0x7b, 0xa0, 0xda, 0xd8, 0x31, 0x2c, 0x5d, 0xa8, 0xb9, 0x63, + 0x0f, 0x5a, 0x14, 0x80, 0x2e, 0x02, 0x79, 0x50, 0xbf, 0x3f, 0xb0, 0xf8, 0x6a, 0x98, 0x57, 0x8a, + 0x1d, 0x7b, 0xf0, 0xff, 0xc8, 0xb3, 0xa0, 0x75, 0x4f, 0x35, 0x07, 0x33, 0x23, 0x63, 0xb4, 0x6d, + 0x0a, 0x40, 0x37, 0xe1, 0x3c, 0x73, 0x49, 0x6a, 0xcf, 0xe8, 0x1b, 0x64, 0x3a, 0x86, 0x6c, 0x2a, + 0xaf, 0x20, 0xf6, 0xf2, 0x21, 0x79, 0xd7, 0x34, 0x99, 0xfd, 0xc8, 0x50, 0xb1, 0xac, 0xbe, 0xea, + 0x76, 0x2c, 0x07, 0xab, 0x9a, 0xfe, 0x3d, 0x6a, 0x43, 0x79, 0xa5, 0x6c, 0x59, 0xfd, 0x36, 0x81, + 0x6d, 0xea, 0xdf, 0x43, 0x2f, 0x43, 0xb9, 0x63, 0x0f, 0x5c, 0xec, 0xa9, 0xe4, 0x87, 0x9e, 0x16, + 0x94, 0x14, 0x60, 0xa0, 0x6d, 0x7b, 0xe0, 0x86, 0x10, 0xfa, 0x24, 0x7a, 0x9c, 0x0d, 0x23, 0x3c, + 0xc2, 0x7d, 0x9a, 0xfe, 0x3b, 0x1d, 0x74, 0xb1, 0xad, 0x75, 0x31, 0x13, 0x4d, 0x6c, 0xf3, 0x13, + 0xd2, 0x7f, 0x0f, 0x38, 0x22, 0x15, 0x53, 0xa9, 0x9e, 0x86, 0x1f, 0x5d, 0xd4, 0x82, 0xd9, 0x81, + 0x69, 0x9c, 0x18, 0x58, 0xaf, 0x97, 0x28, 0x87, 0x5b, 0x99, 0xb3, 0x0a, 0xab, 0x47, 0x8c, 0x90, + 0x27, 0x3c, 0x38, 0x1b, 0xb4, 0x01, 0x0d, 0xae, 0x34, 0xf7, 0xa9, 0x66, 0xc7, 0x35, 0x07, 0x54, + 0x1d, 0x4b, 0x0c, 0xa3, 0xfd, 0x54, 0xb3, 0xc3, 0xda, 0x6b, 0x6c, 0xc0, 0x5c, 0x98, 0xe9, 0x44, + 0x76, 0xb5, 0x05, 0x95, 0x48, 0x57, 0xc9, 0xc8, 0x53, 0x05, 0xb9, 0xc6, 0x0f, 0xc4, 0x94, 0x28, + 0x12, 0x40, 0xdb, 0xf8, 0x01, 0x4d, 0xe3, 0x52, 0xc9, 0x28, 0x9f, 0x82, 0xc2, 0x1e, 0x64, 0x0d, + 0x2a, 0x91, 0x6c, 0x29, 0x71, 0x69, 0x34, 0x2d, 0xca, 0x5d, 0x1a, 0xf9, 0x4f, 0x60, 0x8e, 0xd5, + 0x13, 0x12, 0xd0, 0xff, 0x04, 0x46, 0xf3, 0x6f, 0x2c, 0x53, 0x40, 0xff, 0xd3, 0x26, 0xf0, 0x13, + 0x5e, 0xc0, 0x50, 0x52, 0xd8, 0x83, 0xfc, 0x7b, 0x12, 0xc0, 0xb6, 0x66, 0x6b, 0xc7, 0x46, 0xcf, + 0xf0, 0xce, 0xd0, 0x1b, 0x50, 0xd3, 0x74, 0x5d, 0xed, 0x08, 0x88, 0x81, 0x45, 0x5d, 0xc9, 0xbc, + 0xa6, 0xeb, 0xdb, 0x21, 0x30, 0xfa, 0x0a, 0x2c, 0xe8, 0x8e, 0x65, 0x47, 0x71, 0x59, 0xa1, 0x49, + 0x8d, 0xbc, 0x88, 0x20, 0xbf, 0x0b, 0x75, 0xc2, 0x57, 0xeb, 0x1f, 0x1b, 0xd8, 0xf4, 0xa2, 0x34, + 0xac, 0x02, 0x65, 0x49, 0xd3, 0xf5, 0x4d, 0xf6, 0x3a, 0x4c, 0x29, 0xff, 0xc7, 0x0c, 0x5c, 0x8a, + 0x8e, 0x78, 0x3c, 0x99, 0x7d, 0x0f, 0xe6, 0x62, 0xf2, 0xa6, 0x24, 0x7d, 0x83, 0x7e, 0x2a, 0x11, + 0x8a, 0x58, 0x72, 0x36, 0x37, 0x94, 0x9c, 0x4d, 0x4c, 0x97, 0xe7, 0x3f, 0xd5, 0x74, 0x79, 0xe1, + 0x53, 0x49, 0x97, 0x4f, 0xbf, 0x58, 0xba, 0x7c, 0x6e, 0xc2, 0x74, 0xf9, 0xeb, 0x74, 0x3b, 0x2c, + 0x5a, 0xa7, 0x8b, 0x2d, 0xf3, 0x1e, 0x15, 0xbf, 0x0d, 0x53, 0x94, 0x42, 0xc5, 0xd2, 0xea, 0xb3, + 0x93, 0xa4, 0xd5, 0x8b, 0xa9, 0x69, 0xf5, 0xcb, 0x30, 0x67, 0x5a, 0xaa, 0x89, 0x9f, 0xaa, 0x64, + 0xb8, 0xdc, 0x7a, 0x99, 0x8d, 0x9d, 0x69, 0xed, 0xe3, 0xa7, 0x2d, 0x02, 0x41, 0x57, 0x60, 0xae, + 0xaf, 0xb9, 0x8f, 0xb1, 0x4e, 0x73, 0xda, 0x6e, 0xbd, 0x42, 0xad, 0xad, 0xcc, 0x60, 0x2d, 0x02, + 0x42, 0xaf, 0x81, 0x2f, 0x07, 0x47, 0xaa, 0x52, 0xa4, 0x8a, 0x80, 0x32, 0xb4, 0x50, 0x8a, 0x7e, + 0xfe, 0x85, 0x52, 0xf4, 0xb5, 0xc9, 0x53, 0xf4, 0x37, 0xa0, 0x26, 0xfe, 0x8b, 0x1c, 0x3d, 0x3b, + 0xee, 0xa4, 0xe9, 0xf9, 0x79, 0xf1, 0x4e, 0xe4, 0xe1, 0xd3, 0x32, 0xfa, 0x30, 0x32, 0xa3, 0xff, + 0x67, 0x12, 0x0f, 0xb3, 0xfd, 0xa9, 0xc6, 0x13, 0x84, 0x91, 0x6c, 0xaf, 0xf4, 0xfc, 0xd9, 0x5e, + 0xf4, 0xad, 0xd4, 0x3c, 0xf9, 0xda, 0x38, 0x7e, 0xe3, 0x32, 0xe5, 0xf2, 0x6f, 0x49, 0x70, 0x89, + 0x47, 0xbc, 0x29, 0x55, 0x2f, 0x09, 0xe6, 0x2a, 0xa5, 0x98, 0x6b, 0xc7, 0xc1, 0x3a, 0x36, 0x3d, + 0x43, 0xeb, 0xa9, 0xae, 0x8d, 0x3b, 0x22, 0xb3, 0x15, 0x80, 0x69, 0x84, 0x73, 0x05, 0xe6, 0x58, + 0x59, 0x19, 0x0f, 0xf2, 0x59, 0xf5, 0x58, 0x99, 0x56, 0x96, 0x31, 0x90, 0x3c, 0x80, 0xe5, 0x94, + 0xc4, 0x60, 0xa2, 0x32, 0xa4, 0x34, 0x65, 0x8c, 0xec, 0xd9, 0xb0, 0x32, 0x7e, 0x5b, 0x82, 0x97, + 0x39, 0x49, 0xaa, 0xdf, 0xfc, 0x22, 0xd4, 0xf1, 0x17, 0x92, 0xbf, 0x2d, 0x89, 0x1b, 0x59, 0x73, + 0xd8, 0xc8, 0xbe, 0x92, 0xaa, 0x87, 0xd1, 0x66, 0xf6, 0x9d, 0x54, 0x33, 0xbb, 0x39, 0x9e, 0xe3, + 0x58, 0xdd, 0xfe, 0x8b, 0x04, 0x17, 0x52, 0xc5, 0x88, 0xc5, 0x70, 0x52, 0x3c, 0x86, 0xe3, 0xf1, + 0x5f, 0x10, 0x62, 0xb3, 0xf8, 0x8f, 0xc6, 0xcf, 0x3c, 0xd0, 0x52, 0xfb, 0xda, 0x33, 0xa3, 0x3f, + 0xe8, 0xf3, 0x00, 0x90, 0xb0, 0x7b, 0xc4, 0x20, 0xcf, 0x13, 0x01, 0xae, 0xc1, 0x22, 0x73, 0xb9, + 0x34, 0xf0, 0x08, 0x28, 0x58, 0x20, 0xb8, 0xc0, 0xde, 0x91, 0x18, 0x84, 0x13, 0xc8, 0x9b, 0xb0, + 0xe0, 0x77, 0x6b, 0x64, 0x51, 0x45, 0xa8, 0x48, 0x22, 0x17, 0x2d, 0x92, 0x30, 0x61, 0x66, 0x07, + 0x3f, 0x31, 0x3a, 0xf8, 0x53, 0xa9, 0xcf, 0xbc, 0x0c, 0x65, 0x1b, 0x3b, 0x7d, 0xc3, 0x75, 0xfd, + 0x75, 0xb7, 0xa4, 0x84, 0x41, 0xf2, 0xbf, 0xcf, 0xc0, 0x7c, 0xdc, 0x9c, 0xee, 0x0e, 0xd5, 0x64, + 0xbc, 0x32, 0x62, 0xff, 0x9c, 0x70, 0xe8, 0x74, 0x53, 0x6c, 0x5f, 0x72, 0x69, 0xa9, 0x47, 0x7f, + 0x8b, 0x22, 0xf6, 0x36, 0x75, 0x98, 0xed, 0x58, 0xfd, 0xbe, 0x66, 0xea, 0xa2, 0xac, 0x96, 0x3f, + 0x12, 0xfd, 0x69, 0x4e, 0x97, 0x1d, 0x37, 0x95, 0x14, 0xfa, 0x9f, 0x8c, 0x36, 0xd9, 0xb5, 0x1a, + 0x26, 0xad, 0xed, 0xa0, 0x03, 0x52, 0x52, 0x80, 0x83, 0x76, 0x0c, 0x07, 0xad, 0x42, 0x01, 0x9b, + 0x4f, 0xc4, 0xb9, 0x75, 0xc2, 0xf1, 0x86, 0xd8, 0xb8, 0x28, 0x14, 0x0f, 0xad, 0xc1, 0x4c, 0x9f, + 0xd8, 0x91, 0xc8, 0xd8, 0x2d, 0xa7, 0x94, 0x9f, 0x2a, 0x1c, 0x0d, 0xad, 0xc3, 0xac, 0x4e, 0xc7, + 0x49, 0xc4, 0xeb, 0xf5, 0x84, 0x8a, 0x11, 0x8a, 0xa0, 0x08, 0x44, 0xb4, 0xeb, 0x9f, 0xc5, 0x95, + 0xd2, 0x8e, 0xd3, 0x63, 0x43, 0x91, 0x78, 0x0c, 0x77, 0x18, 0xdd, 0x06, 0x42, 0xda, 0xb9, 0x5e, + 0x9c, 0xd7, 0xe8, 0xf3, 0xf9, 0x0b, 0x50, 0xec, 0x59, 0x5d, 0x66, 0x46, 0x65, 0x56, 0xb1, 0xdd, + 0xb3, 0xba, 0xd4, 0x8a, 0x16, 0x61, 0xda, 0xf5, 0x74, 0xc3, 0xa4, 0x41, 0x4e, 0x51, 0x61, 0x0f, + 0x64, 0xb6, 0xd2, 0x3f, 0xaa, 0x65, 0x76, 0x70, 0xbd, 0x42, 0x5f, 0x95, 0x28, 0xe4, 0xc0, 0xec, + 0xd0, 0x0d, 0xa1, 0xe7, 0x9d, 0xd5, 0xab, 0x14, 0x4e, 0xfe, 0x06, 0x87, 0x61, 0xf3, 0x23, 0x0f, + 0xc3, 0x62, 0x62, 0x27, 0x1c, 0x86, 0xd5, 0xc6, 0x1c, 0x86, 0xc5, 0x39, 0x7c, 0x19, 0xca, 0x48, + 0xfe, 0x4a, 0x82, 0xa5, 0x6d, 0x9a, 0x9f, 0x09, 0x39, 0xbe, 0x49, 0x8a, 0x1a, 0xde, 0xf3, 0xeb, + 0x4d, 0x52, 0x0b, 0x05, 0xe2, 0xfd, 0x16, 0xe5, 0x26, 0x4d, 0xa8, 0x0a, 0xe6, 0x9c, 0x45, 0x3e, + 0x73, 0xc9, 0x4a, 0xc5, 0x0d, 0x3f, 0xca, 0xef, 0xc3, 0xf2, 0x50, 0x2f, 0xf8, 0x69, 0x78, 0xbc, + 0xb4, 0x9a, 0x75, 0x22, 0x5c, 0x5a, 0x2d, 0x6f, 0xc0, 0xf9, 0xb6, 0xa7, 0x39, 0xde, 0x90, 0x0a, + 0x32, 0xd0, 0xd2, 0x62, 0x94, 0x28, 0x2d, 0xaf, 0x17, 0x69, 0xc3, 0x62, 0xdb, 0xb3, 0xec, 0xe7, + 0x60, 0x4a, 0xbc, 0x0e, 0xe9, 0xbf, 0x35, 0x10, 0x0b, 0x8a, 0x78, 0x94, 0x97, 0x59, 0xe9, 0xcc, + 0x70, 0x6b, 0xb7, 0x61, 0x89, 0x55, 0xae, 0x3c, 0x4f, 0x27, 0x2e, 0x88, 0xba, 0x99, 0x61, 0xbe, + 0x8f, 0xe0, 0x5c, 0xe4, 0x48, 0x92, 0xe7, 0x84, 0x6f, 0x45, 0x73, 0xc2, 0xe3, 0x0e, 0x32, 0xfd, + 0x94, 0xf0, 0x1f, 0xe4, 0x42, 0x7e, 0x3d, 0x25, 0xc5, 0x73, 0x3b, 0x9a, 0x11, 0x7e, 0x6d, 0x1c, + 0xef, 0x48, 0x42, 0x78, 0xd8, 0x6a, 0xf3, 0x09, 0x56, 0xfb, 0xed, 0xa1, 0x2c, 0x52, 0x21, 0x2d, + 0xef, 0x1e, 0x93, 0xf6, 0x73, 0xc9, 0x1f, 0x29, 0x2c, 0x6b, 0xec, 0x37, 0xed, 0xa7, 0x8e, 0xde, + 0x8b, 0xa5, 0x8e, 0xae, 0x8c, 0x95, 0xd7, 0x4f, 0x1a, 0xfd, 0x69, 0x01, 0x4a, 0xfe, 0xbb, 0x21, + 0x9d, 0x0f, 0xab, 0x2d, 0x97, 0xa0, 0xb6, 0xf0, 0x0a, 0x9c, 0x7f, 0xa1, 0x15, 0xb8, 0x90, 0x79, + 0x05, 0xbe, 0x08, 0x25, 0xfa, 0x87, 0x96, 0x0a, 0xb3, 0x15, 0xb5, 0x48, 0x01, 0x0a, 0x3e, 0x09, + 0xcc, 0x70, 0x66, 0x22, 0x33, 0x8c, 0xe5, 0xa9, 0x67, 0xe3, 0x79, 0xea, 0xbb, 0xfe, 0x8a, 0x58, + 0x4c, 0x3b, 0xc6, 0xf6, 0xf9, 0x26, 0xae, 0x85, 0xb1, 0x23, 0xd1, 0x52, 0xda, 0x91, 0x68, 0xc0, + 0xe5, 0x4b, 0x9b, 0x87, 0x3a, 0x62, 0xc9, 0xe7, 0xb0, 0x2d, 0x72, 0xcf, 0x7a, 0x3b, 0x92, 0xd1, + 0x90, 0xd2, 0xee, 0x81, 0x04, 0x3e, 0x25, 0x9c, 0xcc, 0x38, 0x82, 0xa5, 0xc8, 0xd0, 0x04, 0xc5, + 0x74, 0xd9, 0xfc, 0x63, 0x4a, 0x25, 0xdd, 0x9f, 0x87, 0xe3, 0xc6, 0x94, 0x22, 0xb1, 0xbb, 0x43, + 0xd9, 0xcb, 0x09, 0xad, 0xf8, 0x56, 0xb4, 0x3c, 0xe2, 0x39, 0xad, 0x6e, 0xa8, 0x3a, 0x82, 0x46, + 0x2e, 0x9a, 0xc3, 0x5f, 0xb3, 0x68, 0xbe, 0xc4, 0x21, 0x9b, 0x74, 0x2b, 0x71, 0x62, 0x98, 0x86, + 0x7b, 0xca, 0xde, 0xcf, 0xb0, 0xad, 0x84, 0x00, 0x6d, 0xd2, 0xe3, 0x48, 0xfc, 0xcc, 0xf0, 0xd4, + 0x8e, 0xa5, 0x63, 0x6a, 0xd3, 0xd3, 0x4a, 0x91, 0x00, 0xb6, 0x2d, 0x1d, 0x07, 0x33, 0xaf, 0xf8, + 0x7c, 0x33, 0xaf, 0x14, 0x9b, 0x79, 0x4b, 0x30, 0xe3, 0x60, 0xcd, 0xb5, 0x4c, 0x76, 0x02, 0xa1, + 0xf0, 0x27, 0x32, 0x34, 0x7d, 0xec, 0xba, 0xa4, 0x25, 0x1e, 0xae, 0xf1, 0xc7, 0x50, 0x98, 0x39, + 0x37, 0x36, 0xcc, 0x1c, 0x51, 0x7c, 0x16, 0x0b, 0x33, 0x2b, 0x63, 0xc3, 0xcc, 0x4c, 0xb5, 0x67, + 0x41, 0xa0, 0x5d, 0xcd, 0x16, 0x68, 0x87, 0xe3, 0xd2, 0xf9, 0x68, 0x5c, 0xba, 0x15, 0xde, 0xf6, + 0xd6, 0xd2, 0xd2, 0xe3, 0xa3, 0x8b, 0xe8, 0xbf, 0xc0, 0x09, 0xff, 0x4b, 0x09, 0x96, 0x87, 0xa6, + 0x26, 0x9f, 0xf2, 0xef, 0xc5, 0x2a, 0xdc, 0xae, 0x8c, 0xd5, 0xbb, 0x5f, 0xe0, 0x76, 0x3f, 0x52, + 0xe0, 0xf6, 0xd6, 0x78, 0xc2, 0x4f, 0xbd, 0xbe, 0xed, 0x77, 0x25, 0x40, 0x09, 0xdb, 0xfb, 0xbb, + 0x22, 0xfe, 0x9f, 0xf8, 0x18, 0x8c, 0x6f, 0x01, 0x76, 0x83, 0x2d, 0x40, 0x6e, 0xf2, 0x43, 0x0e, + 0x3f, 0x25, 0xfe, 0x3f, 0x39, 0x78, 0xf9, 0xc8, 0xd6, 0x63, 0x41, 0x2c, 0xc7, 0xca, 0xee, 0x1b, + 0xef, 0x46, 0x73, 0xfb, 0x2f, 0xd4, 0x9d, 0xfc, 0xf3, 0x77, 0x07, 0xe9, 0x49, 0x55, 0x19, 0x5b, + 0x09, 0xb9, 0xc7, 0xd1, 0x5d, 0xfe, 0x8c, 0x73, 0x85, 0x32, 0x5c, 0x4e, 0x17, 0x80, 0x87, 0xc0, + 0xdf, 0x85, 0xf9, 0xdd, 0x67, 0xb8, 0xd3, 0x3e, 0x33, 0x3b, 0x13, 0x8c, 0x43, 0x0d, 0xf2, 0x9d, + 0xbe, 0xce, 0xd3, 0x27, 0xe4, 0x6f, 0x38, 0xaa, 0xcf, 0x47, 0xa3, 0x7a, 0x15, 0x6a, 0x41, 0x0b, + 0x7c, 0xaa, 0x2d, 0x91, 0xa9, 0xa6, 0x13, 0x64, 0xc2, 0x7c, 0x4e, 0xe1, 0x4f, 0x1c, 0x8e, 0x1d, + 0x56, 0x9b, 0xcf, 0xe0, 0xd8, 0x71, 0xa2, 0xde, 0x3f, 0x1f, 0xf5, 0xfe, 0xf2, 0xef, 0x48, 0x50, + 0x26, 0x2d, 0xbc, 0x90, 0xfc, 0x7c, 0xeb, 0x9c, 0x0f, 0xb6, 0xce, 0xfe, 0x0e, 0xbc, 0x10, 0xde, + 0x81, 0x07, 0x92, 0x4f, 0x53, 0xf0, 0xb0, 0xe4, 0x33, 0x3e, 0x1c, 0x3b, 0x8e, 0x7c, 0x19, 0xe6, + 0x98, 0x6c, 0xbc, 0xe7, 0x35, 0xc8, 0x0f, 0x9c, 0x9e, 0x18, 0xbf, 0x81, 0xd3, 0x93, 0x7f, 0x22, + 0x41, 0x65, 0xd3, 0xf3, 0xb4, 0xce, 0xe9, 0x04, 0x1d, 0xf0, 0x85, 0xcb, 0x85, 0x85, 0x1b, 0xee, + 0x44, 0x20, 0x6e, 0x21, 0x45, 0xdc, 0xe9, 0x88, 0xb8, 0x32, 0x54, 0x85, 0x2c, 0xa9, 0x02, 0xef, + 0x03, 0x6a, 0x59, 0x8e, 0xb7, 0x67, 0x39, 0x4f, 0x35, 0x47, 0x9f, 0x6c, 0x47, 0x8d, 0xa0, 0xc0, + 0x6f, 0x57, 0xe7, 0xaf, 0x4d, 0x2b, 0xf4, 0xbf, 0x7c, 0x15, 0xce, 0x45, 0xf8, 0xa5, 0x36, 0x7c, + 0x0f, 0xca, 0x74, 0x1d, 0xe7, 0x5b, 0xab, 0x9b, 0xe1, 0x84, 0x7d, 0xa6, 0x55, 0x5f, 0xfe, 0x3a, + 0x2c, 0x90, 0x78, 0x8f, 0xc2, 0x7d, 0xbf, 0xf3, 0xb5, 0xd8, 0xbe, 0xe3, 0x52, 0x0a, 0xa3, 0xd8, + 0x9e, 0xe3, 0x87, 0x39, 0x98, 0xa6, 0xf0, 0xa1, 0x18, 0xec, 0x22, 0x59, 0x23, 0x6d, 0x4b, 0xf5, + 0xb4, 0xae, 0x7f, 0x97, 0x9d, 0x00, 0x0e, 0xb5, 0x2e, 0x4d, 0xf0, 0xd0, 0x97, 0xba, 0xd1, 0xc5, + 0xae, 0x27, 0xd2, 0x89, 0x65, 0x02, 0xdb, 0x61, 0x20, 0xa2, 0x24, 0x9a, 0x75, 0x2d, 0xd0, 0xe4, + 0x2a, 0xfd, 0x8f, 0x56, 0xd9, 0x95, 0xb0, 0x2c, 0x19, 0x33, 0x7a, 0x61, 0xac, 0x01, 0xc5, 0x58, + 0x92, 0xcb, 0x7f, 0x46, 0x6b, 0x50, 0xa0, 0xc7, 0xe2, 0xb3, 0xe3, 0xf5, 0x46, 0x11, 0x89, 0xb5, + 0xd8, 0x86, 0x69, 0x62, 0x9d, 0x06, 0x58, 0x45, 0x85, 0x3f, 0xc9, 0xbb, 0x80, 0xc2, 0xea, 0xe4, + 0x03, 0xb7, 0x06, 0x33, 0x54, 0xdb, 0x22, 0x6c, 0x5e, 0x4e, 0x69, 0x40, 0xe1, 0x68, 0xb2, 0x06, + 0x88, 0xb5, 0x18, 0x09, 0x95, 0x27, 0x1f, 0xde, 0x11, 0xa1, 0xf3, 0x5f, 0x4a, 0x70, 0x2e, 0xd2, + 0x06, 0x97, 0xf5, 0x46, 0xb4, 0x91, 0x54, 0x51, 0x79, 0x03, 0xdb, 0x91, 0x75, 0x7e, 0x2d, 0x4d, + 0xa4, 0xcf, 0x68, 0x8d, 0xff, 0x07, 0x09, 0x60, 0x73, 0xe0, 0x9d, 0xf2, 0x23, 0xe3, 0xf0, 0x10, + 0x4b, 0xb1, 0x21, 0x6e, 0x40, 0xd1, 0xd6, 0x5c, 0xf7, 0xa9, 0xe5, 0x88, 0xcd, 0xae, 0xff, 0x4c, + 0x0f, 0x77, 0x07, 0xfc, 0xaa, 0x7d, 0x49, 0xa1, 0xff, 0xd1, 0x6b, 0x50, 0x65, 0x1f, 0x62, 0x50, + 0x35, 0x5d, 0x77, 0x44, 0x05, 0x58, 0x49, 0xa9, 0x30, 0xe8, 0x26, 0x03, 0x12, 0x34, 0x83, 0xa6, + 0x50, 0xbc, 0x33, 0xd5, 0xb3, 0x1e, 0x63, 0x93, 0x6f, 0x5a, 0x2b, 0x02, 0x7a, 0x48, 0x80, 0x2c, + 0x43, 0xd9, 0x35, 0x5c, 0xcf, 0x11, 0x68, 0x22, 0xcf, 0xca, 0xa1, 0x14, 0x8d, 0x0c, 0x4a, 0xad, + 0x35, 0xe8, 0xf5, 0x98, 0x8a, 0x9f, 0x7f, 0xd8, 0xbf, 0xca, 0x3b, 0x94, 0x4b, 0x9b, 0x1c, 0x81, + 0xd2, 0x78, 0x77, 0x3f, 0xc5, 0xd3, 0xb9, 0xaf, 0xc2, 0x42, 0xa8, 0x0f, 0xdc, 0xac, 0x22, 0xbb, + 0x0b, 0x29, 0xba, 0xbb, 0x90, 0xef, 0x03, 0x62, 0x07, 0x52, 0x2f, 0xd8, 0x6f, 0xf9, 0x3c, 0x9c, + 0x8b, 0x30, 0xe2, 0x4b, 0xfa, 0x75, 0xa8, 0xf0, 0x0a, 0x33, 0x6e, 0x28, 0x17, 0xa0, 0x48, 0x5c, + 0x73, 0xc7, 0xd0, 0x45, 0x29, 0xc6, 0xac, 0x6d, 0xe9, 0xdb, 0x86, 0xee, 0xc8, 0xdf, 0x84, 0x0a, + 0xbf, 0x7b, 0xcc, 0x71, 0xf7, 0xa0, 0xca, 0xcb, 0x01, 0xd5, 0xc8, 0x55, 0xbb, 0x97, 0x53, 0x8b, + 0xdd, 0x84, 0x5a, 0xcc, 0xf0, 0xa3, 0xac, 0x43, 0x83, 0xc5, 0x1e, 0x11, 0xf6, 0xa2, 0xb3, 0x7b, + 0x20, 0x2a, 0xd0, 0xc7, 0xb6, 0x12, 0xa5, 0xaf, 0x38, 0xe1, 0x47, 0xf9, 0x12, 0x5c, 0x4c, 0x6c, + 0x85, 0x6b, 0xc2, 0x86, 0x5a, 0xf0, 0x82, 0xdd, 0x07, 0xf3, 0x6b, 0x4d, 0xa4, 0x50, 0xad, 0xc9, + 0x92, 0x1f, 0xf9, 0xe7, 0xc4, 0x6a, 0x48, 0xc3, 0xfa, 0x60, 0x1f, 0x98, 0x4f, 0xdb, 0x07, 0x16, + 0x22, 0xfb, 0x40, 0xb9, 0xed, 0xeb, 0x93, 0xef, 0xcf, 0xb7, 0xe8, 0x39, 0x02, 0x6b, 0x5b, 0x38, + 0x44, 0x79, 0x54, 0x2f, 0x19, 0xaa, 0x12, 0xa2, 0x92, 0xdf, 0x80, 0x4a, 0xd4, 0x35, 0x86, 0xfc, + 0x9c, 0x34, 0xe4, 0xe7, 0xaa, 0x31, 0x17, 0xf7, 0x4e, 0x6c, 0x5b, 0x93, 0xae, 0xe3, 0xd8, 0xa6, + 0xe6, 0x4e, 0xc4, 0xd9, 0x5d, 0x4f, 0xc8, 0xff, 0x7f, 0x46, 0x7e, 0x6e, 0x91, 0xaf, 0x07, 0x7b, + 0x2e, 0xa1, 0xe7, 0x9d, 0x96, 0x5f, 0x81, 0xf2, 0x51, 0xda, 0x97, 0x24, 0x0a, 0xa2, 0xd4, 0xed, + 0x16, 0x2c, 0xee, 0x19, 0x3d, 0xec, 0x9e, 0xb9, 0x1e, 0xee, 0x37, 0xa9, 0x53, 0x3a, 0x31, 0xb0, + 0x83, 0x56, 0x00, 0xe8, 0xde, 0xd6, 0xb6, 0x0c, 0xff, 0x4e, 0x7c, 0x08, 0x22, 0xff, 0xa7, 0x04, + 0xf3, 0x01, 0x61, 0x96, 0x02, 0xc4, 0xdb, 0x30, 0x7d, 0xe2, 0x8a, 0xb3, 0xc4, 0xc4, 0xcc, 0x4a, + 0x92, 0x20, 0x4a, 0xe1, 0xc4, 0x6d, 0xea, 0xe8, 0x7d, 0x80, 0x81, 0x8b, 0x75, 0x9e, 0xdb, 0xcc, + 0x54, 0x9e, 0x59, 0x22, 0x04, 0x2c, 0x47, 0x7a, 0x07, 0xca, 0x86, 0x69, 0xe9, 0x98, 0x66, 0xc2, + 0xf5, 0x6c, 0x25, 0x9a, 0xc0, 0x28, 0x8e, 0x5c, 0xac, 0xcb, 0x98, 0xaf, 0x85, 0x42, 0xbf, 0xdc, + 0x50, 0xf6, 0x61, 0x81, 0x39, 0xad, 0x13, 0x5f, 0xf0, 0x11, 0x65, 0xf6, 0x31, 0x6d, 0x29, 0x35, + 0x83, 0xc7, 0x48, 0x82, 0x54, 0xde, 0x80, 0xf3, 0xb1, 0x82, 0xdf, 0xec, 0x87, 0xf6, 0xad, 0xd8, + 0x09, 0x5a, 0x60, 0xce, 0xb7, 0xa2, 0xd7, 0x30, 0xc6, 0x57, 0x19, 0xf3, 0xfa, 0xff, 0x6f, 0xc3, + 0x85, 0xc8, 0x51, 0x5f, 0x44, 0xa2, 0x3b, 0xb1, 0x10, 0xf0, 0xf5, 0x71, 0x5c, 0x63, 0xb1, 0xe0, + 0x7f, 0x4b, 0xb0, 0x98, 0x84, 0xf0, 0x9c, 0x47, 0xd1, 0xdf, 0x4d, 0xb9, 0xf8, 0xf5, 0x5e, 0x36, + 0xb1, 0x3e, 0x97, 0x63, 0xfc, 0x43, 0x76, 0x0d, 0x64, 0xfc, 0x28, 0xe5, 0x27, 0x19, 0xa5, 0x1f, + 0xe7, 0x43, 0x29, 0x99, 0x11, 0x97, 0x34, 0x5e, 0xf8, 0x98, 0xb3, 0x19, 0xbb, 0xa3, 0x71, 0x73, + 0x04, 0xf9, 0x98, 0x2b, 0x1a, 0x1f, 0x25, 0x1d, 0x06, 0xdc, 0xca, 0xc6, 0xef, 0x4b, 0x7b, 0x32, + 0xfe, 0xe3, 0x1c, 0x54, 0xa3, 0x43, 0x84, 0x76, 0x13, 0x2e, 0x68, 0xbc, 0x96, 0xa9, 0x9b, 0x91, + 0xfb, 0x19, 0xfc, 0x12, 0x44, 0x6e, 0xd2, 0x4b, 0x10, 0xf9, 0x49, 0x2e, 0x41, 0x3c, 0x80, 0xea, + 0x53, 0xc7, 0xf0, 0xb4, 0xe3, 0x1e, 0x56, 0x7b, 0xda, 0x19, 0x76, 0xb8, 0x97, 0xcc, 0xe0, 0xc8, + 0x2a, 0x82, 0xf0, 0x21, 0xa1, 0x93, 0xff, 0x46, 0x82, 0xa2, 0x10, 0x69, 0xec, 0xd5, 0x83, 0xe5, + 0x01, 0x41, 0x53, 0x69, 0xf9, 0xb2, 0xa9, 0x99, 0x96, 0xea, 0x62, 0xb2, 0x8e, 0x67, 0x2c, 0xde, + 0x5f, 0xa4, 0xd4, 0xdb, 0x96, 0x83, 0xf7, 0x35, 0xd3, 0x6a, 0x33, 0x52, 0x74, 0x1f, 0x6a, 0x8c, + 0x2b, 0x65, 0x48, 0x58, 0x67, 0x5c, 0x31, 0xaa, 0x94, 0x8c, 0xb0, 0x22, 0x2c, 0x5d, 0xf9, 0xaf, + 0xf3, 0x50, 0x0e, 0xe9, 0x6a, 0x4c, 0x67, 0x9a, 0xb0, 0x20, 0xca, 0x3d, 0x5c, 0xec, 0x4d, 0x72, + 0x07, 0x61, 0x9e, 0xd3, 0xb5, 0xb1, 0xc7, 0xd6, 0xab, 0x3d, 0x98, 0xd7, 0x9e, 0x68, 0x46, 0x8f, + 0x8e, 0xc6, 0x04, 0x4b, 0x5e, 0xd5, 0xa7, 0xf2, 0xd7, 0x3d, 0xa6, 0x89, 0x09, 0xae, 0x26, 0x00, + 0xa5, 0x08, 0xee, 0x44, 0xb8, 0x6e, 0xa8, 0xa0, 0x28, 0xc3, 0x9d, 0x08, 0xd7, 0xf5, 0xdb, 0xa6, + 0xe5, 0xd0, 0xf4, 0x5e, 0x88, 0xcb, 0xef, 0xa8, 0x8f, 0x6b, 0x9b, 0x50, 0xec, 0x51, 0x02, 0xa2, + 0xce, 0xbe, 0xf6, 0x3d, 0xcb, 0x51, 0xc3, 0x5c, 0x66, 0x33, 0xa9, 0x93, 0xd2, 0xb5, 0x7c, 0x56, + 0xf2, 0x1d, 0xb8, 0xa0, 0x60, 0xcb, 0xc6, 0xa6, 0x3f, 0xd3, 0x1e, 0x5a, 0xdd, 0x09, 0xd6, 0xd6, + 0x97, 0xa0, 0x91, 0x44, 0xcf, 0x3c, 0xf7, 0xf5, 0xd7, 0xa1, 0x28, 0xbe, 0x8f, 0x87, 0x66, 0x21, + 0x7f, 0xb8, 0xdd, 0xaa, 0x4d, 0x91, 0x3f, 0x47, 0x3b, 0xad, 0x9a, 0x84, 0x8a, 0x50, 0x68, 0x6f, + 0x1f, 0xb6, 0x6a, 0xb9, 0xeb, 0x7d, 0xa8, 0xc5, 0x3f, 0x0e, 0x87, 0x96, 0xe1, 0x5c, 0x4b, 0x39, + 0x68, 0x6d, 0xde, 0xdf, 0x3c, 0x6c, 0x1e, 0xec, 0xab, 0x2d, 0xa5, 0xf9, 0xe1, 0xe6, 0xe1, 0x6e, + 0x6d, 0x0a, 0x5d, 0x81, 0x4b, 0xe1, 0x17, 0x0f, 0x0e, 0xda, 0x87, 0xea, 0xe1, 0x81, 0xba, 0x7d, + 0xb0, 0x7f, 0xb8, 0xd9, 0xdc, 0xdf, 0x55, 0x6a, 0x12, 0xba, 0x04, 0x17, 0xc2, 0x28, 0x5b, 0xcd, + 0x9d, 0xa6, 0xb2, 0xbb, 0x4d, 0xfe, 0x6f, 0x3e, 0xac, 0xe5, 0xae, 0x7f, 0x00, 0x95, 0xc8, 0x17, + 0xcc, 0x88, 0x48, 0xad, 0x83, 0x9d, 0xda, 0x14, 0xaa, 0x40, 0x29, 0xcc, 0xa7, 0x08, 0x85, 0xfd, + 0x83, 0x9d, 0xdd, 0x5a, 0x0e, 0x01, 0xcc, 0x1c, 0x6e, 0x2a, 0xf7, 0x77, 0x0f, 0x6b, 0xf9, 0xeb, + 0x1b, 0xf1, 0xfb, 0x66, 0x18, 0x2d, 0x40, 0xa5, 0xbd, 0xb9, 0xbf, 0xb3, 0x75, 0xf0, 0x91, 0xaa, + 0xec, 0x6e, 0xee, 0x7c, 0x5c, 0x9b, 0x42, 0x8b, 0x50, 0x13, 0xa0, 0xfd, 0x83, 0x43, 0x06, 0x95, + 0xae, 0x3f, 0x8e, 0x79, 0x42, 0x8c, 0xce, 0xc3, 0x82, 0xdf, 0xa4, 0xba, 0xad, 0xec, 0x6e, 0x1e, + 0xee, 0x12, 0x49, 0x22, 0x60, 0xe5, 0x68, 0x7f, 0xbf, 0xb9, 0x7f, 0xbf, 0x26, 0x11, 0xae, 0x01, + 0x78, 0xf7, 0xa3, 0x26, 0x41, 0xce, 0x45, 0x91, 0x8f, 0xf6, 0xbf, 0xb1, 0x7f, 0xf0, 0xcd, 0xfd, + 0x5a, 0x7e, 0xfd, 0x67, 0xe7, 0xfc, 0xaf, 0x41, 0xb5, 0xb1, 0x43, 0x8b, 0xd2, 0x5a, 0x30, 0x2b, + 0xbe, 0xbd, 0x98, 0xb0, 0x8e, 0x46, 0xbf, 0x18, 0xd9, 0xb8, 0x32, 0x02, 0x83, 0xef, 0x8a, 0xa6, + 0xd0, 0x31, 0xdd, 0xa5, 0x84, 0x6e, 0x59, 0xbf, 0x9e, 0xb8, 0x27, 0x18, 0xba, 0xd8, 0xdd, 0xb8, + 0x3a, 0x16, 0xcf, 0x6f, 0x03, 0x93, 0x8d, 0x48, 0xf8, 0x43, 0x26, 0xe8, 0x6a, 0xd2, 0x0e, 0x22, + 0xe1, 0x4b, 0x29, 0x8d, 0x6b, 0xe3, 0x11, 0xfd, 0x66, 0x1e, 0x43, 0x2d, 0xfe, 0x51, 0x13, 0x94, + 0x90, 0x16, 0x48, 0xf9, 0x72, 0x4a, 0xe3, 0x7a, 0x16, 0xd4, 0x70, 0x63, 0x43, 0x5f, 0xe9, 0x78, + 0x23, 0xcb, 0xd7, 0x0c, 0x52, 0x1b, 0x4b, 0xfb, 0xf0, 0x01, 0x53, 0x60, 0xf4, 0x22, 0x2c, 0x4a, + 0xfc, 0x24, 0x46, 0xc2, 0xfd, 0xfb, 0x24, 0x05, 0x26, 0xdf, 0xb1, 0x96, 0xa7, 0xd0, 0x29, 0xcc, + 0xc7, 0xaa, 0x8b, 0x50, 0x02, 0x79, 0x72, 0x19, 0x55, 0xe3, 0x8d, 0x0c, 0x98, 0x51, 0x8b, 0x08, + 0x57, 0x13, 0x25, 0x5b, 0x44, 0x42, 0xad, 0x52, 0xb2, 0x45, 0x24, 0x16, 0x26, 0x51, 0xe3, 0x8e, + 0x54, 0x11, 0x25, 0x19, 0x77, 0x52, 0xed, 0x52, 0xe3, 0xea, 0x58, 0xbc, 0xb0, 0xd2, 0x62, 0x35, + 0x45, 0x49, 0x4a, 0x4b, 0xae, 0x59, 0x6a, 0xbc, 0x91, 0x01, 0x33, 0x6e, 0x05, 0x41, 0x85, 0x42, + 0x9a, 0x15, 0x0c, 0xd5, 0xd3, 0xa4, 0x59, 0xc1, 0x70, 0xb1, 0x03, 0xb7, 0x82, 0x58, 0x65, 0xc1, + 0xb5, 0x0c, 0x59, 0xcc, 0x74, 0x2b, 0x48, 0xce, 0x77, 0xca, 0x53, 0xe8, 0x47, 0x12, 0xd4, 0xd3, + 0xb2, 0x52, 0xe8, 0xe6, 0xc4, 0x29, 0xb4, 0xc6, 0xfa, 0x24, 0x24, 0xbe, 0x14, 0xdf, 0x07, 0x34, + 0xbc, 0x06, 0xa2, 0xaf, 0x24, 0x8d, 0x4c, 0xca, 0x4a, 0xdb, 0x78, 0x33, 0x1b, 0xb2, 0xdf, 0x64, + 0x1b, 0x8a, 0x22, 0x0f, 0x86, 0x12, 0xbc, 0x74, 0x2c, 0x0b, 0xd7, 0x90, 0x47, 0xa1, 0xf8, 0x4c, + 0xef, 0x43, 0x81, 0x40, 0xd1, 0xa5, 0x64, 0x6c, 0xc1, 0x6c, 0x25, 0xed, 0xb5, 0xcf, 0xe8, 0x11, + 0xcc, 0xb0, 0xc4, 0x0f, 0x4a, 0x38, 0x1f, 0x8a, 0xa4, 0xa7, 0x1a, 0x97, 0xd3, 0x11, 0x7c, 0x76, + 0xdf, 0x61, 0x9f, 0xe5, 0xe5, 0x39, 0x1d, 0xf4, 0x6a, 0xf2, 0xb7, 0xd9, 0xa2, 0x29, 0xa4, 0xc6, + 0x6b, 0x63, 0xb0, 0xc2, 0x93, 0x22, 0xb6, 0x37, 0xb9, 0x3a, 0x76, 0x83, 0x99, 0x3e, 0x29, 0x92, + 0xb7, 0xb0, 0xcc, 0x48, 0x86, 0xb7, 0xb8, 0x49, 0x46, 0x92, 0x7a, 0xb0, 0x90, 0x64, 0x24, 0xe9, + 0xbb, 0x66, 0x36, 0x0f, 0xe3, 0x97, 0xc6, 0xaf, 0x8d, 0xff, 0xc4, 0x41, 0xfa, 0x3c, 0x4c, 0xf9, + 0x8c, 0x82, 0x3c, 0x85, 0x3c, 0x38, 0x97, 0xf0, 0x9d, 0x05, 0xf4, 0xe6, 0xb8, 0xa5, 0x23, 0xd2, + 0xe2, 0x8d, 0x8c, 0xd8, 0xe1, 0x56, 0x13, 0x0e, 0x6c, 0x93, 0x5a, 0x4d, 0x3f, 0x3d, 0x4e, 0x6a, + 0x75, 0xd4, 0x29, 0x30, 0x35, 0x6e, 0xee, 0xd4, 0x5e, 0x4e, 0x3f, 0xc5, 0x4c, 0x35, 0xee, 0xb8, + 0x0b, 0x5b, 0xff, 0x55, 0x1e, 0xe6, 0xd8, 0x61, 0x3c, 0x8f, 0xd0, 0x3e, 0x06, 0x08, 0xf2, 0x60, + 0xe8, 0x95, 0x64, 0xa5, 0x44, 0x92, 0x8e, 0x8d, 0x57, 0x47, 0x23, 0x85, 0x27, 0x52, 0x28, 0xa7, + 0x94, 0x34, 0x91, 0x86, 0x53, 0x67, 0x49, 0x13, 0x29, 0x21, 0x31, 0x25, 0x4f, 0xa1, 0x0f, 0xa1, + 0xe4, 0x27, 0x2f, 0x50, 0x52, 0xf2, 0x23, 0x96, 0x9d, 0x69, 0xbc, 0x32, 0x12, 0x27, 0x2c, 0x75, + 0x28, 0x33, 0x91, 0x24, 0xf5, 0x70, 0x06, 0x24, 0x49, 0xea, 0xa4, 0xf4, 0x46, 0xa0, 0x13, 0x76, + 0x7e, 0x99, 0xaa, 0x93, 0xc8, 0xf1, 0x71, 0xaa, 0x4e, 0xa2, 0x87, 0xa0, 0xf2, 0xd4, 0xd6, 0xde, + 0x2f, 0x7e, 0xbd, 0x22, 0xfd, 0xd3, 0xaf, 0x57, 0xa6, 0x7e, 0xf8, 0xc9, 0x8a, 0xf4, 0x8b, 0x4f, + 0x56, 0xa4, 0x7f, 0xfc, 0x64, 0x45, 0xfa, 0xd7, 0x4f, 0x56, 0xa4, 0xdf, 0xfc, 0xb7, 0x95, 0xa9, + 0x6f, 0x5d, 0x7b, 0xfc, 0xae, 0xbb, 0x6a, 0x58, 0x6b, 0x1d, 0xc7, 0xb8, 0xa1, 0xd9, 0xc6, 0x9a, + 0xfd, 0xb8, 0xbb, 0xa6, 0xd9, 0x86, 0xbb, 0xc6, 0xb9, 0xaf, 0x09, 0xee, 0xc7, 0x33, 0xf4, 0xe3, + 0xe2, 0x6f, 0xfd, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xed, 0x83, 0x10, 0x05, 0x22, 0x5e, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -8659,7 +8733,8 @@ type RuntimeServiceClient interface { // ContainerStatus returns status of the container. If the container is not // present, returns an error. ContainerStatus(ctx context.Context, in *ContainerStatusRequest, opts ...grpc.CallOption) (*ContainerStatusResponse, error) - // UpdateContainerResources updates ContainerConfig of the container. + // UpdateContainerResources updates ContainerConfig of the container synchronously. + // If runtime fails to transactionally update the requested resources, an error is returned. UpdateContainerResources(ctx context.Context, in *UpdateContainerResourcesRequest, opts ...grpc.CallOption) (*UpdateContainerResourcesResponse, error) // ReopenContainerLog asks runtime to reopen the stdout/stderr log file // for the container. This is often called after the log file has been @@ -8962,7 +9037,8 @@ type RuntimeServiceServer interface { // ContainerStatus returns status of the container. If the container is not // present, returns an error. ContainerStatus(context.Context, *ContainerStatusRequest) (*ContainerStatusResponse, error) - // UpdateContainerResources updates ContainerConfig of the container. + // UpdateContainerResources updates ContainerConfig of the container synchronously. + // If runtime fails to transactionally update the requested resources, an error is returned. UpdateContainerResources(context.Context, *UpdateContainerResourcesRequest) (*UpdateContainerResourcesResponse, error) // ReopenContainerLog asks runtime to reopen the stdout/stderr log file // for the container. This is often called after the log file has been @@ -13786,6 +13862,20 @@ func (m *ContainerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.Resources != nil { + { + size, err := m.Resources.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x82 + } if len(m.LogPath) > 0 { i -= len(m.LogPath) copy(dAtA[i:], m.LogPath) @@ -13979,6 +14069,53 @@ func (m *ContainerStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } +func (m *ContainerResources) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ContainerResources) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ContainerResources) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Windows != nil { + { + size, err := m.Windows.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if m.Linux != nil { + { + size, err := m.Linux.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintApi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + func (m *UpdateContainerResourcesRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -14391,21 +14528,21 @@ func (m *PortForwardRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { var l int _ = l if len(m.Port) > 0 { - dAtA73 := make([]byte, len(m.Port)*10) - var j72 int + dAtA76 := make([]byte, len(m.Port)*10) + var j75 int for _, num1 := range m.Port { num := uint64(num1) for num >= 1<<7 { - dAtA73[j72] = uint8(uint64(num)&0x7f | 0x80) + dAtA76[j75] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j72++ + j75++ } - dAtA73[j72] = uint8(num) - j72++ + dAtA76[j75] = uint8(num) + j75++ } - i -= j72 - copy(dAtA[i:], dAtA73[:j72]) - i = encodeVarintApi(dAtA, i, uint64(j72)) + i -= j75 + copy(dAtA[i:], dAtA76[:j75]) + i = encodeVarintApi(dAtA, i, uint64(j75)) i-- dAtA[i] = 0x12 } @@ -17717,6 +17854,10 @@ func (m *ContainerStatus) Size() (n int) { if l > 0 { n += 1 + l + sovApi(uint64(l)) } + if m.Resources != nil { + l = m.Resources.Size() + n += 2 + l + sovApi(uint64(l)) + } return n } @@ -17741,6 +17882,23 @@ func (m *ContainerStatusResponse) Size() (n int) { return n } +func (m *ContainerResources) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Linux != nil { + l = m.Linux.Size() + n += 1 + l + sovApi(uint64(l)) + } + if m.Windows != nil { + l = m.Windows.Size() + n += 1 + l + sovApi(uint64(l)) + } + return n +} + func (m *UpdateContainerResourcesRequest) Size() (n int) { if m == nil { return 0 @@ -19751,6 +19909,7 @@ func (this *ContainerStatus) String() string { `Annotations:` + mapStringForAnnotations + `,`, `Mounts:` + repeatedStringForMounts + `,`, `LogPath:` + fmt.Sprintf("%v", this.LogPath) + `,`, + `Resources:` + strings.Replace(this.Resources.String(), "ContainerResources", "ContainerResources", 1) + `,`, `}`, }, "") return s @@ -19776,6 +19935,17 @@ func (this *ContainerStatusResponse) String() string { }, "") return s } +func (this *ContainerResources) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&ContainerResources{`, + `Linux:` + strings.Replace(this.Linux.String(), "LinuxContainerResources", "LinuxContainerResources", 1) + `,`, + `Windows:` + strings.Replace(this.Windows.String(), "WindowsContainerResources", "WindowsContainerResources", 1) + `,`, + `}`, + }, "") + return s +} func (this *UpdateContainerResourcesRequest) String() string { if this == nil { return "nil" @@ -33414,6 +33584,42 @@ func (m *ContainerStatus) Unmarshal(dAtA []byte) error { } m.LogPath = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthApi + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthApi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Resources == nil { + m.Resources = &ContainerResources{} + } + if err := m.Resources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipApi(dAtA[iNdEx:]) @@ -33648,6 +33854,128 @@ func (m *ContainerStatusResponse) Unmarshal(dAtA []byte) error { } return nil } +func (m *ContainerResources) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ContainerResources: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ContainerResources: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Linux", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthApi + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthApi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Linux == nil { + m.Linux = &LinuxContainerResources{} + } + if err := m.Linux.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Windows", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowApi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthApi + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthApi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Windows == nil { + m.Windows = &WindowsContainerResources{} + } + if err := m.Windows.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipApi(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthApi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *UpdateContainerResourcesRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.proto b/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.proto index 41671963229a..6f6734e60677 100644 --- a/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.proto +++ b/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/runtime/v1alpha2/api.proto @@ -79,7 +79,8 @@ service RuntimeService { // ContainerStatus returns status of the container. If the container is not // present, returns an error. rpc ContainerStatus(ContainerStatusRequest) returns (ContainerStatusResponse) {} - // UpdateContainerResources updates ContainerConfig of the container. + // UpdateContainerResources updates ContainerConfig of the container synchronously. + // If runtime fails to transactionally update the requested resources, an error is returned. rpc UpdateContainerResources(UpdateContainerResourcesRequest) returns (UpdateContainerResourcesResponse) {} // ReopenContainerLog asks runtime to reopen the stdout/stderr log file // for the container. This is often called after the log file has been @@ -1151,6 +1152,8 @@ message ContainerStatus { repeated Mount mounts = 14; // Log path of container. string log_path = 15; + // Resource limits configuration of the container. + ContainerResources resources = 16; } message ContainerStatusResponse { @@ -1163,6 +1166,14 @@ message ContainerStatusResponse { map info = 2; } +// ContainerResources holds resource limits configuration for a container. +message ContainerResources { + // Resource limits configuration specific to Linux container. + LinuxContainerResources linux = 1; + // Resource limits configuration specific to Windows container. + WindowsContainerResources windows = 2; +} + message UpdateContainerResourcesRequest { // ID of the container to update. string container_id = 1; diff --git a/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/services.go b/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/services.go index 54f755d87438..55f631738b7d 100644 --- a/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/services.go +++ b/cluster-autoscaler/vendor/k8s.io/cri-api/pkg/apis/services.go @@ -43,8 +43,9 @@ type ContainerManager interface { ListContainers(filter *runtimeapi.ContainerFilter) ([]*runtimeapi.Container, error) // ContainerStatus returns the status of the container. ContainerStatus(containerID string, verbose bool) (*runtimeapi.ContainerStatusResponse, error) - // UpdateContainerResources updates the cgroup resources for the container. - UpdateContainerResources(containerID string, resources *runtimeapi.LinuxContainerResources) error + // UpdateContainerResources updates ContainerConfig of the container synchronously. + // If runtime fails to transactionally update the requested resources, an error is returned. + UpdateContainerResources(containerID string, resources *runtimeapi.ContainerResources) error // ExecSync executes a command in the container, and returns the stdout output. // If command exits with a non-zero exit code, an error is returned. ExecSync(containerID string, cmd []string, timeout time.Duration) (stdout []byte, stderr []byte, err error) @@ -56,6 +57,10 @@ type ContainerManager interface { // for the container. If it returns error, new container log file MUST NOT // be created. ReopenContainerLog(ContainerID string) error + // CheckpointContainer checkpoints a container + CheckpointContainer(options *runtimeapi.CheckpointContainerRequest) error + // GetContainerEvents gets container events from the CRI runtime + GetContainerEvents(containerEventsCh chan *runtimeapi.ContainerEventResponse) error } // PodSandboxManager contains methods for operating on PodSandboxes. The methods diff --git a/cluster-autoscaler/vendor/k8s.io/csi-translation-lib/go.mod b/cluster-autoscaler/vendor/k8s.io/csi-translation-lib/go.mod deleted file mode 100644 index 3a38b76dffc6..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/csi-translation-lib/go.mod +++ /dev/null @@ -1,37 +0,0 @@ -// This is a generated file. Do not edit directly. - -module k8s.io/csi-translation-lib - -go 1.18 - -require ( - github.com/stretchr/testify v1.7.0 - k8s.io/api v0.25.0-alpha.2 - k8s.io/apimachinery v0.25.0-alpha.2 - k8s.io/klog/v2 v2.70.0 -) - -require ( - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/go-logr/logr v1.2.3 // indirect - github.com/gogo/protobuf v1.3.2 // indirect - github.com/google/gofuzz v1.1.0 // indirect - github.com/google/uuid v1.1.2 // indirect - github.com/json-iterator/go v1.1.12 // indirect - github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect - github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect - golang.org/x/text v0.3.7 // indirect - gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/yaml.v2 v2.4.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect - sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect - sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect -) - -replace ( - k8s.io/api => k8s.io/api v0.25.0-alpha.2 - k8s.io/apimachinery => k8s.io/apimachinery v0.25.0-alpha.2 -) diff --git a/cluster-autoscaler/vendor/k8s.io/csi-translation-lib/go.sum b/cluster-autoscaler/vendor/k8s.io/csi-translation-lib/go.sum deleted file mode 100644 index 334f09c37452..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/csi-translation-lib/go.sum +++ /dev/null @@ -1,92 +0,0 @@ -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= -github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= -github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/google/go-cmp v0.5.6 h1:BKbKCqvP6I+rmFHt06ZmyQtvB8xAkWdhFyr0ZUNZcxQ= -github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.1.0 h1:Hsa8mG0dQ46ij8Sl2AYJDUv1oA9/d6Vk+3LG99Oe02g= -github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd h1:O7DYs+zxREGLKzKoMQrtrEacpb0ZVXA5rIwylE2Xchk= -golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= -gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= -gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -k8s.io/api v0.25.0-alpha.2 h1:azwXduCht76Ecuv80QzZkCDzcFcLotKPXiE9/+jx5Qk= -k8s.io/api v0.25.0-alpha.2/go.mod h1:wOntqHYj8WveLW2sh6q4tkE2vMZTtxe0MrFyVwO8JCM= -k8s.io/apimachinery v0.25.0-alpha.2 h1:y6uTWaiqsPTPRewnXJ15IFyGmBo2qPt6enm4zszG8Z0= -k8s.io/apimachinery v0.25.0-alpha.2/go.mod h1:h34FtK3eCxige6ZIACdBSYExtDaKAUxoc7hVe2LOxzw= -k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= -k8s.io/klog/v2 v2.70.0 h1:GMmmjoFOrNepPN0ZeGCzvD2Gh5IKRwdFx8W5PBxVTQU= -k8s.io/klog/v2 v2.70.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 h1:HNSDgDCrr/6Ly3WEGKZftiE7IY19Vz2GdbOCyI4qqhc= -k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 h1:kDi4JBNAsJWfz1aEXhO8Jg87JJaPNLh5tIzYHgStQ9Y= -sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY= -sigs.k8s.io/structured-merge-diff/v4 v4.2.1 h1:bKCqE9GvQ5tiVHn5rfn1r+yao3aLQEaLzkkmAkf+A6Y= -sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= -sigs.k8s.io/yaml v1.2.0 h1:kr/MCeFWJWTwyaHoR9c8EjH9OumOmoF9YGiZd7lFm/Q= diff --git a/cluster-autoscaler/vendor/k8s.io/csi-translation-lib/plugins/aws_ebs.go b/cluster-autoscaler/vendor/k8s.io/csi-translation-lib/plugins/aws_ebs.go index 3b3dbac1f63a..cf1ba1124360 100644 --- a/cluster-autoscaler/vendor/k8s.io/csi-translation-lib/plugins/aws_ebs.go +++ b/cluster-autoscaler/vendor/k8s.io/csi-translation-lib/plugins/aws_ebs.go @@ -232,11 +232,13 @@ var awsVolumeRegMatch = regexp.MustCompile("^vol-[^/]*$") // KubernetesVolumeIDToEBSVolumeID translates Kubernetes volume ID to EBS volume ID // KubernetesVolumeID forms: -// * aws:/// -// * aws:/// -// * +// - aws:/// +// - aws:/// +// - +// // EBS Volume ID form: -// * vol- +// - vol- +// // This translation shouldn't be needed and should be fixed in long run // See https://github.com/kubernetes/kubernetes/issues/73730 func KubernetesVolumeIDToEBSVolumeID(kubernetesID string) (string, error) { diff --git a/cluster-autoscaler/vendor/k8s.io/csi-translation-lib/plugins/in_tree_volume.go b/cluster-autoscaler/vendor/k8s.io/csi-translation-lib/plugins/in_tree_volume.go index e6be04eeef2a..2ce4c271de5d 100644 --- a/cluster-autoscaler/vendor/k8s.io/csi-translation-lib/plugins/in_tree_volume.go +++ b/cluster-autoscaler/vendor/k8s.io/csi-translation-lib/plugins/in_tree_volume.go @@ -215,12 +215,12 @@ func translateTopologyFromInTreeToCSI(pv *v1.PersistentVolume, csiTopologyKey st // getTopologyLabel checks if the kubernetes topology label used in this // PV is GA and return the zone/region label used. // The version checking follows the following orders -// 1. Check NodeAffinity -// 1.1 Check if zoneGA exists, if yes return GA labels -// 1.2 Check if zoneBeta exists, if yes return Beta labels -// 2. Check PV labels -// 2.1 Check if zoneGA exists, if yes return GA labels -// 2.2 Check if zoneBeta exists, if yes return Beta labels +// 1. Check NodeAffinity +// 1.1 Check if zoneGA exists, if yes return GA labels +// 1.2 Check if zoneBeta exists, if yes return Beta labels +// 2. Check PV labels +// 2.1 Check if zoneGA exists, if yes return GA labels +// 2.2 Check if zoneBeta exists, if yes return Beta labels func getTopologyLabel(pv *v1.PersistentVolume) (zoneLabel string, regionLabel string) { if zoneGA := TopologyKeyExist(v1.LabelTopologyZone, pv.Spec.NodeAffinity); zoneGA { diff --git a/cluster-autoscaler/vendor/k8s.io/klog/v2/go.mod b/cluster-autoscaler/vendor/k8s.io/klog/v2/go.mod deleted file mode 100644 index 31aefba74a71..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/klog/v2/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module k8s.io/klog/v2 - -go 1.13 - -require github.com/go-logr/logr v1.2.0 diff --git a/cluster-autoscaler/vendor/k8s.io/klog/v2/go.sum b/cluster-autoscaler/vendor/k8s.io/klog/v2/go.sum deleted file mode 100644 index 919fbadbc0d0..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/klog/v2/go.sum +++ /dev/null @@ -1,2 +0,0 @@ -github.com/go-logr/logr v1.2.0 h1:QK40JKJyMdUDz+h+xvCsru/bJhvG0UxvePV0ufL/AcE= -github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= diff --git a/cluster-autoscaler/vendor/k8s.io/klog/v2/internal/dbg/dbg.go b/cluster-autoscaler/vendor/k8s.io/klog/v2/internal/dbg/dbg.go new file mode 100644 index 000000000000..f27bd14472f3 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/klog/v2/internal/dbg/dbg.go @@ -0,0 +1,42 @@ +// Go support for leveled logs, analogous to https://code.google.com/p/google-glog/ +// +// Copyright 2013 Google Inc. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Package dbg provides some helper code for call traces. +package dbg + +import ( + "runtime" +) + +// Stacks is a wrapper for runtime.Stack that attempts to recover the data for +// all goroutines or the calling one. +func Stacks(all bool) []byte { + // We don't know how big the traces are, so grow a few times if they don't fit. Start large, though. + n := 10000 + if all { + n = 100000 + } + var trace []byte + for i := 0; i < 5; i++ { + trace = make([]byte, n) + nbytes := runtime.Stack(trace, all) + if nbytes < len(trace) { + return trace[:nbytes] + } + n *= 2 + } + return trace +} diff --git a/cluster-autoscaler/vendor/k8s.io/klog/v2/klog.go b/cluster-autoscaler/vendor/k8s.io/klog/v2/klog.go index 8305e25200d0..652fadcd4e4d 100644 --- a/cluster-autoscaler/vendor/k8s.io/klog/v2/klog.go +++ b/cluster-autoscaler/vendor/k8s.io/klog/v2/klog.go @@ -96,6 +96,7 @@ import ( "k8s.io/klog/v2/internal/buffer" "k8s.io/klog/v2/internal/clock" + "k8s.io/klog/v2/internal/dbg" "k8s.io/klog/v2/internal/serialize" "k8s.io/klog/v2/internal/severity" ) @@ -549,7 +550,11 @@ type loggingT struct { vmap map[uintptr]Level } -var logging loggingT +var logging = loggingT{ + settings: settings{ + contextualLoggingEnabled: true, + }, +} // setVState sets a consistent state for V logging. // l.mu is held. @@ -859,7 +864,7 @@ func (l *loggingT) output(s severity.Severity, log *logr.Logger, buf *buffer.Buf if l.traceLocation.isSet() { if l.traceLocation.match(file, line) { - buf.Write(stacks(false)) + buf.Write(dbg.Stacks(false)) } } data := buf.Bytes() @@ -928,11 +933,11 @@ func (l *loggingT) output(s severity.Severity, log *logr.Logger, buf *buffer.Buf // If -logtostderr has been specified, the loop below will do that anyway // as the first stack in the full dump. if !l.toStderr { - os.Stderr.Write(stacks(false)) + os.Stderr.Write(dbg.Stacks(false)) } // Write the stack trace for all goroutines to the files. - trace := stacks(true) + trace := dbg.Stacks(true) logExitFunc = func(error) {} // If we get a write error, we'll still exit below. for log := severity.FatalLog; log >= severity.InfoLog; log-- { if f := l.file[log]; f != nil { // Can be nil if -logtostderr is set. @@ -952,25 +957,6 @@ func (l *loggingT) output(s severity.Severity, log *logr.Logger, buf *buffer.Buf } } -// stacks is a wrapper for runtime.Stack that attempts to recover the data for all goroutines. -func stacks(all bool) []byte { - // We don't know how big the traces are, so grow a few times if they don't fit. Start large, though. - n := 10000 - if all { - n = 100000 - } - var trace []byte - for i := 0; i < 5; i++ { - trace = make([]byte, n) - nbytes := runtime.Stack(trace, all) - if nbytes < len(trace) { - return trace[:nbytes] - } - n *= 2 - } - return trace -} - // logExitFunc provides a simple mechanism to override the default behavior // of exiting on error. Used in testing and to guarantee we reach a required exit // for fatal logs. Instead, exit could be a function rather than a method but that diff --git a/cluster-autoscaler/vendor/k8s.io/kube-openapi/pkg/handler/handler.go b/cluster-autoscaler/vendor/k8s.io/kube-openapi/pkg/handler/handler.go index 898e761728e8..7a2590dcb912 100644 --- a/cluster-autoscaler/vendor/k8s.io/kube-openapi/pkg/handler/handler.go +++ b/cluster-autoscaler/vendor/k8s.io/kube-openapi/pkg/handler/handler.go @@ -33,7 +33,6 @@ import ( "github.com/golang/protobuf/proto" openapi_v2 "github.com/google/gnostic/openapiv2" "github.com/munnerz/goautoneg" - "gopkg.in/yaml.v2" klog "k8s.io/klog/v2" "k8s.io/kube-openapi/pkg/builder" "k8s.io/kube-openapi/pkg/common" @@ -139,48 +138,6 @@ func (o *OpenAPIService) UpdateSpec(openapiSpec *spec.Swagger) (err error) { return nil } -func jsonToYAML(j map[string]interface{}) yaml.MapSlice { - if j == nil { - return nil - } - ret := make(yaml.MapSlice, 0, len(j)) - for k, v := range j { - ret = append(ret, yaml.MapItem{k, jsonToYAMLValue(v)}) - } - return ret -} - -func jsonToYAMLValue(j interface{}) interface{} { - switch j := j.(type) { - case map[string]interface{}: - return jsonToYAML(j) - case []interface{}: - ret := make([]interface{}, len(j)) - for i := range j { - ret[i] = jsonToYAMLValue(j[i]) - } - return ret - case float64: - // replicate the logic in https://github.com/go-yaml/yaml/blob/51d6538a90f86fe93ac480b35f37b2be17fef232/resolve.go#L151 - if i64 := int64(j); j == float64(i64) { - if i := int(i64); i64 == int64(i) { - return i - } - return i64 - } - if ui64 := uint64(j); j == float64(ui64) { - return ui64 - } - return j - case int64: - if i := int(j); j == int64(i) { - return i - } - return j - } - return j -} - func ToProtoBinary(json []byte) ([]byte, error) { document, err := openapi_v2.ParseDocument(json) if err != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/kube-openapi/pkg/schemaconv/smd.go b/cluster-autoscaler/vendor/k8s.io/kube-openapi/pkg/schemaconv/smd.go index 35241fde647c..bec0e7809784 100644 --- a/cluster-autoscaler/vendor/k8s.io/kube-openapi/pkg/schemaconv/smd.go +++ b/cluster-autoscaler/vendor/k8s.io/kube-openapi/pkg/schemaconv/smd.go @@ -167,6 +167,20 @@ func (c *convert) makeRef(model proto.Schema, preserveUnknownFields bool) schema // reference a named type _, n := path.Split(r.Reference()) tr.NamedType = &n + + ext := model.GetExtensions() + if val, ok := ext["x-kubernetes-map-type"]; ok { + switch val { + case "atomic": + relationship := schema.Atomic + tr.ElementRelationship = &relationship + case "granular": + relationship := schema.Separable + tr.ElementRelationship = &relationship + default: + c.reportError("unknown map type %v", val) + } + } } else { // compute the type inline c2 := c.push("inlined in "+c.currentName, &tr.Inlined) diff --git a/cluster-autoscaler/vendor/k8s.io/kube-scheduler/config/v1/doc.go b/cluster-autoscaler/vendor/k8s.io/kube-scheduler/config/v1/doc.go new file mode 100644 index 000000000000..bbc4641e72c4 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kube-scheduler/config/v1/doc.go @@ -0,0 +1,21 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// +k8s:deepcopy-gen=package +// +k8s:openapi-gen=true +// +groupName=kubescheduler.config.k8s.io + +package v1 // import "k8s.io/kube-scheduler/config/v1" diff --git a/cluster-autoscaler/vendor/k8s.io/kube-scheduler/config/v1/register.go b/cluster-autoscaler/vendor/k8s.io/kube-scheduler/config/v1/register.go new file mode 100644 index 000000000000..58adac5dceb5 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kube-scheduler/config/v1/register.go @@ -0,0 +1,50 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1 + +import ( + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/runtime/schema" +) + +// GroupName is the group name used in this package +const GroupName = "kubescheduler.config.k8s.io" + +// SchemeGroupVersion is group version used to register these objects +var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"} + +var ( + // SchemeBuilder is the scheme builder with scheme init functions to run for this API package + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + // AddToScheme is a global function that registers this API group & version to a scheme + AddToScheme = SchemeBuilder.AddToScheme +) + +// addKnownTypes registers known types to the given scheme +func addKnownTypes(scheme *runtime.Scheme) error { + scheme.AddKnownTypes(SchemeGroupVersion, + &KubeSchedulerConfiguration{}, + &DefaultPreemptionArgs{}, + &InterPodAffinityArgs{}, + &NodeResourcesBalancedAllocationArgs{}, + &NodeResourcesFitArgs{}, + &PodTopologySpreadArgs{}, + &VolumeBindingArgs{}, + &NodeAffinityArgs{}, + ) + return nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/kube-scheduler/config/v1/types.go b/cluster-autoscaler/vendor/k8s.io/kube-scheduler/config/v1/types.go new file mode 100644 index 000000000000..4e104600a41b --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kube-scheduler/config/v1/types.go @@ -0,0 +1,377 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1 + +import ( + "bytes" + "fmt" + + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/runtime" + componentbaseconfigv1alpha1 "k8s.io/component-base/config/v1alpha1" + "sigs.k8s.io/yaml" +) + +const ( + // SchedulerDefaultLockObjectNamespace defines default scheduler lock object namespace ("kube-system") + SchedulerDefaultLockObjectNamespace string = metav1.NamespaceSystem + + // SchedulerDefaultLockObjectName defines default scheduler lock object name ("kube-scheduler") + SchedulerDefaultLockObjectName = "kube-scheduler" + + // SchedulerDefaultProviderName defines the default provider names + SchedulerDefaultProviderName = "DefaultProvider" +) + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// KubeSchedulerConfiguration configures a scheduler +type KubeSchedulerConfiguration struct { + metav1.TypeMeta `json:",inline"` + + // Parallelism defines the amount of parallelism in algorithms for scheduling a Pods. Must be greater than 0. Defaults to 16 + Parallelism *int32 `json:"parallelism,omitempty"` + + // LeaderElection defines the configuration of leader election client. + LeaderElection componentbaseconfigv1alpha1.LeaderElectionConfiguration `json:"leaderElection"` + + // ClientConnection specifies the kubeconfig file and client connection + // settings for the proxy server to use when communicating with the apiserver. + ClientConnection componentbaseconfigv1alpha1.ClientConnectionConfiguration `json:"clientConnection"` + + // DebuggingConfiguration holds configuration for Debugging related features + // TODO: We might wanna make this a substruct like Debugging componentbaseconfigv1alpha1.DebuggingConfiguration + componentbaseconfigv1alpha1.DebuggingConfiguration `json:",inline"` + + // PercentageOfNodesToScore is the percentage of all nodes that once found feasible + // for running a pod, the scheduler stops its search for more feasible nodes in + // the cluster. This helps improve scheduler's performance. Scheduler always tries to find + // at least "minFeasibleNodesToFind" feasible nodes no matter what the value of this flag is. + // Example: if the cluster size is 500 nodes and the value of this flag is 30, + // then scheduler stops finding further feasible nodes once it finds 150 feasible ones. + // When the value is 0, default percentage (5%--50% based on the size of the cluster) of the + // nodes will be scored. + PercentageOfNodesToScore *int32 `json:"percentageOfNodesToScore,omitempty"` + + // PodInitialBackoffSeconds is the initial backoff for unschedulable pods. + // If specified, it must be greater than 0. If this value is null, the default value (1s) + // will be used. + PodInitialBackoffSeconds *int64 `json:"podInitialBackoffSeconds,omitempty"` + + // PodMaxBackoffSeconds is the max backoff for unschedulable pods. + // If specified, it must be greater than podInitialBackoffSeconds. If this value is null, + // the default value (10s) will be used. + PodMaxBackoffSeconds *int64 `json:"podMaxBackoffSeconds,omitempty"` + + // Profiles are scheduling profiles that kube-scheduler supports. Pods can + // choose to be scheduled under a particular profile by setting its associated + // scheduler name. Pods that don't specify any scheduler name are scheduled + // with the "default-scheduler" profile, if present here. + // +listType=map + // +listMapKey=schedulerName + Profiles []KubeSchedulerProfile `json:"profiles,omitempty"` + + // Extenders are the list of scheduler extenders, each holding the values of how to communicate + // with the extender. These extenders are shared by all scheduler profiles. + // +listType=set + Extenders []Extender `json:"extenders,omitempty"` +} + +// DecodeNestedObjects decodes plugin args for known types. +func (c *KubeSchedulerConfiguration) DecodeNestedObjects(d runtime.Decoder) error { + var strictDecodingErrs []error + for i := range c.Profiles { + prof := &c.Profiles[i] + for j := range prof.PluginConfig { + err := prof.PluginConfig[j].decodeNestedObjects(d) + if err != nil { + decodingErr := fmt.Errorf("decoding .profiles[%d].pluginConfig[%d]: %w", i, j, err) + if runtime.IsStrictDecodingError(err) { + strictDecodingErrs = append(strictDecodingErrs, decodingErr) + } else { + return decodingErr + } + } + } + } + if len(strictDecodingErrs) > 0 { + return runtime.NewStrictDecodingError(strictDecodingErrs) + } + return nil +} + +// EncodeNestedObjects encodes plugin args. +func (c *KubeSchedulerConfiguration) EncodeNestedObjects(e runtime.Encoder) error { + for i := range c.Profiles { + prof := &c.Profiles[i] + for j := range prof.PluginConfig { + err := prof.PluginConfig[j].encodeNestedObjects(e) + if err != nil { + return fmt.Errorf("encoding .profiles[%d].pluginConfig[%d]: %w", i, j, err) + } + } + } + return nil +} + +// KubeSchedulerProfile is a scheduling profile. +type KubeSchedulerProfile struct { + // SchedulerName is the name of the scheduler associated to this profile. + // If SchedulerName matches with the pod's "spec.schedulerName", then the pod + // is scheduled with this profile. + SchedulerName *string `json:"schedulerName,omitempty"` + + // Plugins specify the set of plugins that should be enabled or disabled. + // Enabled plugins are the ones that should be enabled in addition to the + // default plugins. Disabled plugins are any of the default plugins that + // should be disabled. + // When no enabled or disabled plugin is specified for an extension point, + // default plugins for that extension point will be used if there is any. + // If a QueueSort plugin is specified, the same QueueSort Plugin and + // PluginConfig must be specified for all profiles. + Plugins *Plugins `json:"plugins,omitempty"` + + // PluginConfig is an optional set of custom plugin arguments for each plugin. + // Omitting config args for a plugin is equivalent to using the default config + // for that plugin. + // +listType=map + // +listMapKey=name + PluginConfig []PluginConfig `json:"pluginConfig,omitempty"` +} + +// Plugins include multiple extension points. When specified, the list of plugins for +// a particular extension point are the only ones enabled. If an extension point is +// omitted from the config, then the default set of plugins is used for that extension point. +// Enabled plugins are called in the order specified here, after default plugins. If they need to +// be invoked before default plugins, default plugins must be disabled and re-enabled here in desired order. +type Plugins struct { + // QueueSort is a list of plugins that should be invoked when sorting pods in the scheduling queue. + QueueSort PluginSet `json:"queueSort,omitempty"` + + // PreFilter is a list of plugins that should be invoked at "PreFilter" extension point of the scheduling framework. + PreFilter PluginSet `json:"preFilter,omitempty"` + + // Filter is a list of plugins that should be invoked when filtering out nodes that cannot run the Pod. + Filter PluginSet `json:"filter,omitempty"` + + // PostFilter is a list of plugins that are invoked after filtering phase, but only when no feasible nodes were found for the pod. + PostFilter PluginSet `json:"postFilter,omitempty"` + + // PreScore is a list of plugins that are invoked before scoring. + PreScore PluginSet `json:"preScore,omitempty"` + + // Score is a list of plugins that should be invoked when ranking nodes that have passed the filtering phase. + Score PluginSet `json:"score,omitempty"` + + // Reserve is a list of plugins invoked when reserving/unreserving resources + // after a node is assigned to run the pod. + Reserve PluginSet `json:"reserve,omitempty"` + + // Permit is a list of plugins that control binding of a Pod. These plugins can prevent or delay binding of a Pod. + Permit PluginSet `json:"permit,omitempty"` + + // PreBind is a list of plugins that should be invoked before a pod is bound. + PreBind PluginSet `json:"preBind,omitempty"` + + // Bind is a list of plugins that should be invoked at "Bind" extension point of the scheduling framework. + // The scheduler call these plugins in order. Scheduler skips the rest of these plugins as soon as one returns success. + Bind PluginSet `json:"bind,omitempty"` + + // PostBind is a list of plugins that should be invoked after a pod is successfully bound. + PostBind PluginSet `json:"postBind,omitempty"` + + // MultiPoint is a simplified config section to enable plugins for all valid extension points. + // Plugins enabled through MultiPoint will automatically register for every individual extension + // point the plugin has implemented. Disabling a plugin through MultiPoint disables that behavior. + // The same is true for disabling "*" through MultiPoint (no default plugins will be automatically registered). + // Plugins can still be disabled through their individual extension points. + // + // In terms of precedence, plugin config follows this basic hierarchy + // 1. Specific extension points + // 2. Explicitly configured MultiPoint plugins + // 3. The set of default plugins, as MultiPoint plugins + // This implies that a higher precedence plugin will run first and overwrite any settings within MultiPoint. + // Explicitly user-configured plugins also take a higher precedence over default plugins. + // Within this hierarchy, an Enabled setting takes precedence over Disabled. For example, if a plugin is + // set in both `multiPoint.Enabled` and `multiPoint.Disabled`, the plugin will be enabled. Similarly, + // including `multiPoint.Disabled = '*'` and `multiPoint.Enabled = pluginA` will still register that specific + // plugin through MultiPoint. This follows the same behavior as all other extension point configurations. + MultiPoint PluginSet `json:"multiPoint,omitempty"` +} + +// PluginSet specifies enabled and disabled plugins for an extension point. +// If an array is empty, missing, or nil, default plugins at that extension point will be used. +type PluginSet struct { + // Enabled specifies plugins that should be enabled in addition to default plugins. + // If the default plugin is also configured in the scheduler config file, the weight of plugin will + // be overridden accordingly. + // These are called after default plugins and in the same order specified here. + // +listType=atomic + Enabled []Plugin `json:"enabled,omitempty"` + // Disabled specifies default plugins that should be disabled. + // When all default plugins need to be disabled, an array containing only one "*" should be provided. + // +listType=map + // +listMapKey=name + Disabled []Plugin `json:"disabled,omitempty"` +} + +// Plugin specifies a plugin name and its weight when applicable. Weight is used only for Score plugins. +type Plugin struct { + // Name defines the name of plugin + Name string `json:"name"` + // Weight defines the weight of plugin, only used for Score plugins. + Weight *int32 `json:"weight,omitempty"` +} + +// PluginConfig specifies arguments that should be passed to a plugin at the time of initialization. +// A plugin that is invoked at multiple extension points is initialized once. Args can have arbitrary structure. +// It is up to the plugin to process these Args. +type PluginConfig struct { + // Name defines the name of plugin being configured + Name string `json:"name"` + // Args defines the arguments passed to the plugins at the time of initialization. Args can have arbitrary structure. + Args runtime.RawExtension `json:"args,omitempty"` +} + +func (c *PluginConfig) decodeNestedObjects(d runtime.Decoder) error { + gvk := SchemeGroupVersion.WithKind(c.Name + "Args") + // dry-run to detect and skip out-of-tree plugin args. + if _, _, err := d.Decode(nil, &gvk, nil); runtime.IsNotRegisteredError(err) { + return nil + } + + var strictDecodingErr error + obj, parsedGvk, err := d.Decode(c.Args.Raw, &gvk, nil) + if err != nil { + decodingArgsErr := fmt.Errorf("decoding args for plugin %s: %w", c.Name, err) + if obj != nil && runtime.IsStrictDecodingError(err) { + strictDecodingErr = runtime.NewStrictDecodingError([]error{decodingArgsErr}) + } else { + return decodingArgsErr + } + } + if parsedGvk.GroupKind() != gvk.GroupKind() { + return fmt.Errorf("args for plugin %s were not of type %s, got %s", c.Name, gvk.GroupKind(), parsedGvk.GroupKind()) + } + c.Args.Object = obj + return strictDecodingErr +} + +func (c *PluginConfig) encodeNestedObjects(e runtime.Encoder) error { + if c.Args.Object == nil { + return nil + } + var buf bytes.Buffer + err := e.Encode(c.Args.Object, &buf) + if err != nil { + return err + } + // The encoder might be a YAML encoder, but the parent encoder expects + // JSON output, so we convert YAML back to JSON. + // This is a no-op if produces JSON. + json, err := yaml.YAMLToJSON(buf.Bytes()) + if err != nil { + return err + } + c.Args.Raw = json + return nil +} + +// Extender holds the parameters used to communicate with the extender. If a verb is unspecified/empty, +// it is assumed that the extender chose not to provide that extension. +type Extender struct { + // URLPrefix at which the extender is available + URLPrefix string `json:"urlPrefix"` + // Verb for the filter call, empty if not supported. This verb is appended to the URLPrefix when issuing the filter call to extender. + FilterVerb string `json:"filterVerb,omitempty"` + // Verb for the preempt call, empty if not supported. This verb is appended to the URLPrefix when issuing the preempt call to extender. + PreemptVerb string `json:"preemptVerb,omitempty"` + // Verb for the prioritize call, empty if not supported. This verb is appended to the URLPrefix when issuing the prioritize call to extender. + PrioritizeVerb string `json:"prioritizeVerb,omitempty"` + // The numeric multiplier for the node scores that the prioritize call generates. + // The weight should be a positive integer + Weight int64 `json:"weight,omitempty"` + // Verb for the bind call, empty if not supported. This verb is appended to the URLPrefix when issuing the bind call to extender. + // If this method is implemented by the extender, it is the extender's responsibility to bind the pod to apiserver. Only one extender + // can implement this function. + BindVerb string `json:"bindVerb,omitempty"` + // EnableHTTPS specifies whether https should be used to communicate with the extender + EnableHTTPS bool `json:"enableHTTPS,omitempty"` + // TLSConfig specifies the transport layer security config + TLSConfig *ExtenderTLSConfig `json:"tlsConfig,omitempty"` + // HTTPTimeout specifies the timeout duration for a call to the extender. Filter timeout fails the scheduling of the pod. Prioritize + // timeout is ignored, k8s/other extenders priorities are used to select the node. + HTTPTimeout metav1.Duration `json:"httpTimeout,omitempty"` + // NodeCacheCapable specifies that the extender is capable of caching node information, + // so the scheduler should only send minimal information about the eligible nodes + // assuming that the extender already cached full details of all nodes in the cluster + NodeCacheCapable bool `json:"nodeCacheCapable,omitempty"` + // ManagedResources is a list of extended resources that are managed by + // this extender. + // - A pod will be sent to the extender on the Filter, Prioritize and Bind + // (if the extender is the binder) phases iff the pod requests at least + // one of the extended resources in this list. If empty or unspecified, + // all pods will be sent to this extender. + // - If IgnoredByScheduler is set to true for a resource, kube-scheduler + // will skip checking the resource in predicates. + // +optional + // +listType=atomic + ManagedResources []ExtenderManagedResource `json:"managedResources,omitempty"` + // Ignorable specifies if the extender is ignorable, i.e. scheduling should not + // fail when the extender returns an error or is not reachable. + Ignorable bool `json:"ignorable,omitempty"` +} + +// ExtenderManagedResource describes the arguments of extended resources +// managed by an extender. +type ExtenderManagedResource struct { + // Name is the extended resource name. + Name string `json:"name"` + // IgnoredByScheduler indicates whether kube-scheduler should ignore this + // resource when applying predicates. + IgnoredByScheduler bool `json:"ignoredByScheduler,omitempty"` +} + +// ExtenderTLSConfig contains settings to enable TLS with extender +type ExtenderTLSConfig struct { + // Server should be accessed without verifying the TLS certificate. For testing only. + Insecure bool `json:"insecure,omitempty"` + // ServerName is passed to the server for SNI and is used in the client to check server + // certificates against. If ServerName is empty, the hostname used to contact the + // server is used. + ServerName string `json:"serverName,omitempty"` + + // Server requires TLS client certificate authentication + CertFile string `json:"certFile,omitempty"` + // Server requires TLS client certificate authentication + KeyFile string `json:"keyFile,omitempty"` + // Trusted root certificates for server + CAFile string `json:"caFile,omitempty"` + + // CertData holds PEM-encoded bytes (typically read from a client certificate file). + // CertData takes precedence over CertFile + // +listType=atomic + CertData []byte `json:"certData,omitempty"` + // KeyData holds PEM-encoded bytes (typically read from a client certificate key file). + // KeyData takes precedence over KeyFile + // +listType=atomic + KeyData []byte `json:"keyData,omitempty"` + // CAData holds PEM-encoded bytes (typically read from a root certificates bundle). + // CAData takes precedence over CAFile + // +listType=atomic + CAData []byte `json:"caData,omitempty"` +} diff --git a/cluster-autoscaler/vendor/k8s.io/kube-scheduler/config/v1/types_pluginargs.go b/cluster-autoscaler/vendor/k8s.io/kube-scheduler/config/v1/types_pluginargs.go new file mode 100644 index 000000000000..2698a47696f2 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kube-scheduler/config/v1/types_pluginargs.go @@ -0,0 +1,225 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1 + +import ( + corev1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// DefaultPreemptionArgs holds arguments used to configure the +// DefaultPreemption plugin. +type DefaultPreemptionArgs struct { + metav1.TypeMeta `json:",inline"` + + // MinCandidateNodesPercentage is the minimum number of candidates to + // shortlist when dry running preemption as a percentage of number of nodes. + // Must be in the range [0, 100]. Defaults to 10% of the cluster size if + // unspecified. + MinCandidateNodesPercentage *int32 `json:"minCandidateNodesPercentage,omitempty"` + // MinCandidateNodesAbsolute is the absolute minimum number of candidates to + // shortlist. The likely number of candidates enumerated for dry running + // preemption is given by the formula: + // numCandidates = max(numNodes * minCandidateNodesPercentage, minCandidateNodesAbsolute) + // We say "likely" because there are other factors such as PDB violations + // that play a role in the number of candidates shortlisted. Must be at least + // 0 nodes. Defaults to 100 nodes if unspecified. + MinCandidateNodesAbsolute *int32 `json:"minCandidateNodesAbsolute,omitempty"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// InterPodAffinityArgs holds arguments used to configure the InterPodAffinity plugin. +type InterPodAffinityArgs struct { + metav1.TypeMeta `json:",inline"` + + // HardPodAffinityWeight is the scoring weight for existing pods with a + // matching hard affinity to the incoming pod. + HardPodAffinityWeight *int32 `json:"hardPodAffinityWeight,omitempty"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// NodeResourcesFitArgs holds arguments used to configure the NodeResourcesFit plugin. +type NodeResourcesFitArgs struct { + metav1.TypeMeta `json:",inline"` + + // IgnoredResources is the list of resources that NodeResources fit filter + // should ignore. This doesn't apply to scoring. + // +listType=atomic + IgnoredResources []string `json:"ignoredResources,omitempty"` + // IgnoredResourceGroups defines the list of resource groups that NodeResources fit filter should ignore. + // e.g. if group is ["example.com"], it will ignore all resource names that begin + // with "example.com", such as "example.com/aaa" and "example.com/bbb". + // A resource group name can't contain '/'. This doesn't apply to scoring. + // +listType=atomic + IgnoredResourceGroups []string `json:"ignoredResourceGroups,omitempty"` + + // ScoringStrategy selects the node resource scoring strategy. + // The default strategy is LeastAllocated with an equal "cpu" and "memory" weight. + ScoringStrategy *ScoringStrategy `json:"scoringStrategy,omitempty"` +} + +// PodTopologySpreadConstraintsDefaulting defines how to set default constraints +// for the PodTopologySpread plugin. +type PodTopologySpreadConstraintsDefaulting string + +const ( + // SystemDefaulting instructs to use the kubernetes defined default. + SystemDefaulting PodTopologySpreadConstraintsDefaulting = "System" + // ListDefaulting instructs to use the config provided default. + ListDefaulting PodTopologySpreadConstraintsDefaulting = "List" +) + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// PodTopologySpreadArgs holds arguments used to configure the PodTopologySpread plugin. +type PodTopologySpreadArgs struct { + metav1.TypeMeta `json:",inline"` + + // DefaultConstraints defines topology spread constraints to be applied to + // Pods that don't define any in `pod.spec.topologySpreadConstraints`. + // `.defaultConstraints[*].labelSelectors` must be empty, as they are + // deduced from the Pod's membership to Services, ReplicationControllers, + // ReplicaSets or StatefulSets. + // When not empty, .defaultingType must be "List". + // +optional + // +listType=atomic + DefaultConstraints []corev1.TopologySpreadConstraint `json:"defaultConstraints,omitempty"` + + // DefaultingType determines how .defaultConstraints are deduced. Can be one + // of "System" or "List". + // + // - "System": Use kubernetes defined constraints that spread Pods among + // Nodes and Zones. + // - "List": Use constraints defined in .defaultConstraints. + // + // Defaults to "System". + // +optional + DefaultingType PodTopologySpreadConstraintsDefaulting `json:"defaultingType,omitempty"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// NodeResourcesBalancedAllocationArgs holds arguments used to configure NodeResourcesBalancedAllocation plugin. +type NodeResourcesBalancedAllocationArgs struct { + metav1.TypeMeta `json:",inline"` + + // Resources to be managed, the default is "cpu" and "memory" if not specified. + // +listType=map + // +listMapKey=name + Resources []ResourceSpec `json:"resources,omitempty"` +} + +// UtilizationShapePoint represents single point of priority function shape. +type UtilizationShapePoint struct { + // Utilization (x axis). Valid values are 0 to 100. Fully utilized node maps to 100. + Utilization int32 `json:"utilization"` + // Score assigned to given utilization (y axis). Valid values are 0 to 10. + Score int32 `json:"score"` +} + +// ResourceSpec represents a single resource. +type ResourceSpec struct { + // Name of the resource. + Name string `json:"name"` + // Weight of the resource. + Weight int64 `json:"weight,omitempty"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// VolumeBindingArgs holds arguments used to configure the VolumeBinding plugin. +type VolumeBindingArgs struct { + metav1.TypeMeta `json:",inline"` + + // BindTimeoutSeconds is the timeout in seconds in volume binding operation. + // Value must be non-negative integer. The value zero indicates no waiting. + // If this value is nil, the default value (600) will be used. + BindTimeoutSeconds *int64 `json:"bindTimeoutSeconds,omitempty"` + + // Shape specifies the points defining the score function shape, which is + // used to score nodes based on the utilization of statically provisioned + // PVs. The utilization is calculated by dividing the total requested + // storage of the pod by the total capacity of feasible PVs on each node. + // Each point contains utilization (ranges from 0 to 100) and its + // associated score (ranges from 0 to 10). You can turn the priority by + // specifying different scores for different utilization numbers. + // The default shape points are: + // 1) 0 for 0 utilization + // 2) 10 for 100 utilization + // All points must be sorted in increasing order by utilization. + // +featureGate=VolumeCapacityPriority + // +optional + // +listType=atomic + Shape []UtilizationShapePoint `json:"shape,omitempty"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// NodeAffinityArgs holds arguments to configure the NodeAffinity plugin. +type NodeAffinityArgs struct { + metav1.TypeMeta `json:",inline"` + + // AddedAffinity is applied to all Pods additionally to the NodeAffinity + // specified in the PodSpec. That is, Nodes need to satisfy AddedAffinity + // AND .spec.NodeAffinity. AddedAffinity is empty by default (all Nodes + // match). + // When AddedAffinity is used, some Pods with affinity requirements that match + // a specific Node (such as Daemonset Pods) might remain unschedulable. + // +optional + AddedAffinity *corev1.NodeAffinity `json:"addedAffinity,omitempty"` +} + +// ScoringStrategyType the type of scoring strategy used in NodeResourcesFit plugin. +type ScoringStrategyType string + +const ( + // LeastAllocated strategy prioritizes nodes with least allocated resources. + LeastAllocated ScoringStrategyType = "LeastAllocated" + // MostAllocated strategy prioritizes nodes with most allocated resources. + MostAllocated ScoringStrategyType = "MostAllocated" + // RequestedToCapacityRatio strategy allows specifying a custom shape function + // to score nodes based on the request to capacity ratio. + RequestedToCapacityRatio ScoringStrategyType = "RequestedToCapacityRatio" +) + +// ScoringStrategy define ScoringStrategyType for node resource plugin +type ScoringStrategy struct { + // Type selects which strategy to run. + Type ScoringStrategyType `json:"type,omitempty"` + + // Resources to consider when scoring. + // The default resource set includes "cpu" and "memory" with an equal weight. + // Allowed weights go from 1 to 100. + // Weight defaults to 1 if not specified or explicitly set to 0. + // +listType=map + // +listMapKey=topologyKey + Resources []ResourceSpec `json:"resources,omitempty"` + + // Arguments specific to RequestedToCapacityRatio strategy. + RequestedToCapacityRatio *RequestedToCapacityRatioParam `json:"requestedToCapacityRatio,omitempty"` +} + +// RequestedToCapacityRatioParam define RequestedToCapacityRatio parameters +type RequestedToCapacityRatioParam struct { + // Shape is a list of points defining the scoring function shape. + // +listType=atomic + Shape []UtilizationShapePoint `json:"shape,omitempty"` +} diff --git a/cluster-autoscaler/vendor/k8s.io/kube-scheduler/config/v1/zz_generated.deepcopy.go b/cluster-autoscaler/vendor/k8s.io/kube-scheduler/config/v1/zz_generated.deepcopy.go new file mode 100644 index 000000000000..0b5f11edc1e1 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kube-scheduler/config/v1/zz_generated.deepcopy.go @@ -0,0 +1,603 @@ +//go:build !ignore_autogenerated +// +build !ignore_autogenerated + +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by deepcopy-gen. DO NOT EDIT. + +package v1 + +import ( + corev1 "k8s.io/api/core/v1" + runtime "k8s.io/apimachinery/pkg/runtime" +) + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *DefaultPreemptionArgs) DeepCopyInto(out *DefaultPreemptionArgs) { + *out = *in + out.TypeMeta = in.TypeMeta + if in.MinCandidateNodesPercentage != nil { + in, out := &in.MinCandidateNodesPercentage, &out.MinCandidateNodesPercentage + *out = new(int32) + **out = **in + } + if in.MinCandidateNodesAbsolute != nil { + in, out := &in.MinCandidateNodesAbsolute, &out.MinCandidateNodesAbsolute + *out = new(int32) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultPreemptionArgs. +func (in *DefaultPreemptionArgs) DeepCopy() *DefaultPreemptionArgs { + if in == nil { + return nil + } + out := new(DefaultPreemptionArgs) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *DefaultPreemptionArgs) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Extender) DeepCopyInto(out *Extender) { + *out = *in + if in.TLSConfig != nil { + in, out := &in.TLSConfig, &out.TLSConfig + *out = new(ExtenderTLSConfig) + (*in).DeepCopyInto(*out) + } + out.HTTPTimeout = in.HTTPTimeout + if in.ManagedResources != nil { + in, out := &in.ManagedResources, &out.ManagedResources + *out = make([]ExtenderManagedResource, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extender. +func (in *Extender) DeepCopy() *Extender { + if in == nil { + return nil + } + out := new(Extender) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExtenderManagedResource) DeepCopyInto(out *ExtenderManagedResource) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderManagedResource. +func (in *ExtenderManagedResource) DeepCopy() *ExtenderManagedResource { + if in == nil { + return nil + } + out := new(ExtenderManagedResource) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ExtenderTLSConfig) DeepCopyInto(out *ExtenderTLSConfig) { + *out = *in + if in.CertData != nil { + in, out := &in.CertData, &out.CertData + *out = make([]byte, len(*in)) + copy(*out, *in) + } + if in.KeyData != nil { + in, out := &in.KeyData, &out.KeyData + *out = make([]byte, len(*in)) + copy(*out, *in) + } + if in.CAData != nil { + in, out := &in.CAData, &out.CAData + *out = make([]byte, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtenderTLSConfig. +func (in *ExtenderTLSConfig) DeepCopy() *ExtenderTLSConfig { + if in == nil { + return nil + } + out := new(ExtenderTLSConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *InterPodAffinityArgs) DeepCopyInto(out *InterPodAffinityArgs) { + *out = *in + out.TypeMeta = in.TypeMeta + if in.HardPodAffinityWeight != nil { + in, out := &in.HardPodAffinityWeight, &out.HardPodAffinityWeight + *out = new(int32) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InterPodAffinityArgs. +func (in *InterPodAffinityArgs) DeepCopy() *InterPodAffinityArgs { + if in == nil { + return nil + } + out := new(InterPodAffinityArgs) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *InterPodAffinityArgs) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KubeSchedulerConfiguration) DeepCopyInto(out *KubeSchedulerConfiguration) { + *out = *in + out.TypeMeta = in.TypeMeta + if in.Parallelism != nil { + in, out := &in.Parallelism, &out.Parallelism + *out = new(int32) + **out = **in + } + in.LeaderElection.DeepCopyInto(&out.LeaderElection) + out.ClientConnection = in.ClientConnection + in.DebuggingConfiguration.DeepCopyInto(&out.DebuggingConfiguration) + if in.PercentageOfNodesToScore != nil { + in, out := &in.PercentageOfNodesToScore, &out.PercentageOfNodesToScore + *out = new(int32) + **out = **in + } + if in.PodInitialBackoffSeconds != nil { + in, out := &in.PodInitialBackoffSeconds, &out.PodInitialBackoffSeconds + *out = new(int64) + **out = **in + } + if in.PodMaxBackoffSeconds != nil { + in, out := &in.PodMaxBackoffSeconds, &out.PodMaxBackoffSeconds + *out = new(int64) + **out = **in + } + if in.Profiles != nil { + in, out := &in.Profiles, &out.Profiles + *out = make([]KubeSchedulerProfile, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Extenders != nil { + in, out := &in.Extenders, &out.Extenders + *out = make([]Extender, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerConfiguration. +func (in *KubeSchedulerConfiguration) DeepCopy() *KubeSchedulerConfiguration { + if in == nil { + return nil + } + out := new(KubeSchedulerConfiguration) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *KubeSchedulerConfiguration) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *KubeSchedulerProfile) DeepCopyInto(out *KubeSchedulerProfile) { + *out = *in + if in.SchedulerName != nil { + in, out := &in.SchedulerName, &out.SchedulerName + *out = new(string) + **out = **in + } + if in.Plugins != nil { + in, out := &in.Plugins, &out.Plugins + *out = new(Plugins) + (*in).DeepCopyInto(*out) + } + if in.PluginConfig != nil { + in, out := &in.PluginConfig, &out.PluginConfig + *out = make([]PluginConfig, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeSchedulerProfile. +func (in *KubeSchedulerProfile) DeepCopy() *KubeSchedulerProfile { + if in == nil { + return nil + } + out := new(KubeSchedulerProfile) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodeAffinityArgs) DeepCopyInto(out *NodeAffinityArgs) { + *out = *in + out.TypeMeta = in.TypeMeta + if in.AddedAffinity != nil { + in, out := &in.AddedAffinity, &out.AddedAffinity + *out = new(corev1.NodeAffinity) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAffinityArgs. +func (in *NodeAffinityArgs) DeepCopy() *NodeAffinityArgs { + if in == nil { + return nil + } + out := new(NodeAffinityArgs) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NodeAffinityArgs) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodeResourcesBalancedAllocationArgs) DeepCopyInto(out *NodeResourcesBalancedAllocationArgs) { + *out = *in + out.TypeMeta = in.TypeMeta + if in.Resources != nil { + in, out := &in.Resources, &out.Resources + *out = make([]ResourceSpec, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeResourcesBalancedAllocationArgs. +func (in *NodeResourcesBalancedAllocationArgs) DeepCopy() *NodeResourcesBalancedAllocationArgs { + if in == nil { + return nil + } + out := new(NodeResourcesBalancedAllocationArgs) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NodeResourcesBalancedAllocationArgs) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *NodeResourcesFitArgs) DeepCopyInto(out *NodeResourcesFitArgs) { + *out = *in + out.TypeMeta = in.TypeMeta + if in.IgnoredResources != nil { + in, out := &in.IgnoredResources, &out.IgnoredResources + *out = make([]string, len(*in)) + copy(*out, *in) + } + if in.IgnoredResourceGroups != nil { + in, out := &in.IgnoredResourceGroups, &out.IgnoredResourceGroups + *out = make([]string, len(*in)) + copy(*out, *in) + } + if in.ScoringStrategy != nil { + in, out := &in.ScoringStrategy, &out.ScoringStrategy + *out = new(ScoringStrategy) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeResourcesFitArgs. +func (in *NodeResourcesFitArgs) DeepCopy() *NodeResourcesFitArgs { + if in == nil { + return nil + } + out := new(NodeResourcesFitArgs) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *NodeResourcesFitArgs) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Plugin) DeepCopyInto(out *Plugin) { + *out = *in + if in.Weight != nil { + in, out := &in.Weight, &out.Weight + *out = new(int32) + **out = **in + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugin. +func (in *Plugin) DeepCopy() *Plugin { + if in == nil { + return nil + } + out := new(Plugin) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PluginConfig) DeepCopyInto(out *PluginConfig) { + *out = *in + in.Args.DeepCopyInto(&out.Args) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginConfig. +func (in *PluginConfig) DeepCopy() *PluginConfig { + if in == nil { + return nil + } + out := new(PluginConfig) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PluginSet) DeepCopyInto(out *PluginSet) { + *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = make([]Plugin, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + if in.Disabled != nil { + in, out := &in.Disabled, &out.Disabled + *out = make([]Plugin, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PluginSet. +func (in *PluginSet) DeepCopy() *PluginSet { + if in == nil { + return nil + } + out := new(PluginSet) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *Plugins) DeepCopyInto(out *Plugins) { + *out = *in + in.QueueSort.DeepCopyInto(&out.QueueSort) + in.PreFilter.DeepCopyInto(&out.PreFilter) + in.Filter.DeepCopyInto(&out.Filter) + in.PostFilter.DeepCopyInto(&out.PostFilter) + in.PreScore.DeepCopyInto(&out.PreScore) + in.Score.DeepCopyInto(&out.Score) + in.Reserve.DeepCopyInto(&out.Reserve) + in.Permit.DeepCopyInto(&out.Permit) + in.PreBind.DeepCopyInto(&out.PreBind) + in.Bind.DeepCopyInto(&out.Bind) + in.PostBind.DeepCopyInto(&out.PostBind) + in.MultiPoint.DeepCopyInto(&out.MultiPoint) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plugins. +func (in *Plugins) DeepCopy() *Plugins { + if in == nil { + return nil + } + out := new(Plugins) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PodTopologySpreadArgs) DeepCopyInto(out *PodTopologySpreadArgs) { + *out = *in + out.TypeMeta = in.TypeMeta + if in.DefaultConstraints != nil { + in, out := &in.DefaultConstraints, &out.DefaultConstraints + *out = make([]corev1.TopologySpreadConstraint, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTopologySpreadArgs. +func (in *PodTopologySpreadArgs) DeepCopy() *PodTopologySpreadArgs { + if in == nil { + return nil + } + out := new(PodTopologySpreadArgs) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *PodTopologySpreadArgs) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *RequestedToCapacityRatioParam) DeepCopyInto(out *RequestedToCapacityRatioParam) { + *out = *in + if in.Shape != nil { + in, out := &in.Shape, &out.Shape + *out = make([]UtilizationShapePoint, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestedToCapacityRatioParam. +func (in *RequestedToCapacityRatioParam) DeepCopy() *RequestedToCapacityRatioParam { + if in == nil { + return nil + } + out := new(RequestedToCapacityRatioParam) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSpec. +func (in *ResourceSpec) DeepCopy() *ResourceSpec { + if in == nil { + return nil + } + out := new(ResourceSpec) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ScoringStrategy) DeepCopyInto(out *ScoringStrategy) { + *out = *in + if in.Resources != nil { + in, out := &in.Resources, &out.Resources + *out = make([]ResourceSpec, len(*in)) + copy(*out, *in) + } + if in.RequestedToCapacityRatio != nil { + in, out := &in.RequestedToCapacityRatio, &out.RequestedToCapacityRatio + *out = new(RequestedToCapacityRatioParam) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScoringStrategy. +func (in *ScoringStrategy) DeepCopy() *ScoringStrategy { + if in == nil { + return nil + } + out := new(ScoringStrategy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *UtilizationShapePoint) DeepCopyInto(out *UtilizationShapePoint) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UtilizationShapePoint. +func (in *UtilizationShapePoint) DeepCopy() *UtilizationShapePoint { + if in == nil { + return nil + } + out := new(UtilizationShapePoint) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *VolumeBindingArgs) DeepCopyInto(out *VolumeBindingArgs) { + *out = *in + out.TypeMeta = in.TypeMeta + if in.BindTimeoutSeconds != nil { + in, out := &in.BindTimeoutSeconds, &out.BindTimeoutSeconds + *out = new(int64) + **out = **in + } + if in.Shape != nil { + in, out := &in.Shape, &out.Shape + *out = make([]UtilizationShapePoint, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeBindingArgs. +func (in *VolumeBindingArgs) DeepCopy() *VolumeBindingArgs { + if in == nil { + return nil + } + out := new(VolumeBindingArgs) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *VolumeBindingArgs) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/kube-scheduler/extender/v1/types.go b/cluster-autoscaler/vendor/k8s.io/kube-scheduler/extender/v1/types.go index e1f07c3dd7cc..ebb4fd7e5dca 100644 --- a/cluster-autoscaler/vendor/k8s.io/kube-scheduler/extender/v1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/kube-scheduler/extender/v1/types.go @@ -45,8 +45,9 @@ type ExtenderPreemptionArgs struct { } // Victims represents: -// pods: a group of pods expected to be preempted. -// numPDBViolations: the count of violations of PodDisruptionBudget +// +// pods: a group of pods expected to be preempted. +// numPDBViolations: the count of violations of PodDisruptionBudget type Victims struct { Pods []*v1.Pod NumPDBViolations int64 @@ -58,9 +59,10 @@ type MetaPod struct { } // MetaVictims represents: -// pods: a group of pods expected to be preempted. -// Only Pod identifiers will be sent and user are expect to get v1.Pod in their own way. -// numPDBViolations: the count of violations of PodDisruptionBudget +// +// pods: a group of pods expected to be preempted. +// Only Pod identifiers will be sent and user are expect to get v1.Pod in their own way. +// numPDBViolations: the count of violations of PodDisruptionBudget type MetaVictims struct { Pods []*MetaPod NumPDBViolations int64 diff --git a/cluster-autoscaler/vendor/k8s.io/kubelet/config/v1beta1/types.go b/cluster-autoscaler/vendor/k8s.io/kubelet/config/v1beta1/types.go index 16ecc8054610..aa67206ee401 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubelet/config/v1beta1/types.go +++ b/cluster-autoscaler/vendor/k8s.io/kubelet/config/v1beta1/types.go @@ -20,6 +20,7 @@ import ( v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" logsapi "k8s.io/component-base/logs/api/v1" + tracingapi "k8s.io/component-base/tracing/api/v1" ) // HairpinMode denotes how the kubelet should configure networking to handle @@ -664,7 +665,7 @@ type KubeletConfiguration struct { // Default: "" // +optional ProviderID string `json:"providerID,omitempty"` - // kernelMemcgNotification, if set, instructs the the kubelet to integrate with the + // kernelMemcgNotification, if set, instructs the kubelet to integrate with the // kernel memcg notification for determining if memory eviction thresholds are // exceeded rather than polling. // Default: false @@ -780,6 +781,22 @@ type KubeletConfiguration struct { // Default: true // +optional RegisterNode *bool `json:"registerNode,omitempty"` + // Tracing specifies the versioned configuration for OpenTelemetry tracing clients. + // See http://kep.k8s.io/2832 for more details. + // +featureGate=KubeletTracing + // +optional + Tracing *tracingapi.TracingConfiguration `json:"tracing,omitempty"` + + // LocalStorageCapacityIsolation enables local ephemeral storage isolation feature. The default setting is true. + // This feature allows users to set request/limit for container's ephemeral storage and manage it in a similar way + // as cpu and memory. It also allows setting sizeLimit for emptyDir volume, which will trigger pod eviction if disk + // usage from the volume exceeds the limit. + // This feature depends on the capability of detecting correct root file system disk usage. For certain systems, + // such as kind rootless, if this capability cannot be supported, the feature LocalStorageCapacityIsolation should be + // disabled. Once disabled, user should not set request/limit for container's ephemeral storage, or sizeLimit for emptyDir. + // Default: true + // +optional + LocalStorageCapacityIsolation *bool `json:"localStorageCapacityIsolation,omitempty"` } type KubeletAuthorizationMode string diff --git a/cluster-autoscaler/vendor/k8s.io/kubelet/config/v1beta1/zz_generated.deepcopy.go b/cluster-autoscaler/vendor/k8s.io/kubelet/config/v1beta1/zz_generated.deepcopy.go index ccb8fbbafbdd..63ae4e749c15 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubelet/config/v1beta1/zz_generated.deepcopy.go +++ b/cluster-autoscaler/vendor/k8s.io/kubelet/config/v1beta1/zz_generated.deepcopy.go @@ -25,6 +25,7 @@ import ( corev1 "k8s.io/api/core/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" + apiv1 "k8s.io/component-base/tracing/api/v1" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. @@ -446,6 +447,16 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) { *out = new(bool) **out = **in } + if in.Tracing != nil { + in, out := &in.Tracing, &out.Tracing + *out = new(apiv1.TracingConfiguration) + (*in).DeepCopyInto(*out) + } + if in.LocalStorageCapacityIsolation != nil { + in, out := &in.LocalStorageCapacityIsolation, &out.LocalStorageCapacityIsolation + *out = new(bool) + **out = **in + } return } diff --git a/cluster-autoscaler/vendor/k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1/api.pb.go b/cluster-autoscaler/vendor/k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1/api.pb.go index ced0bf57c50d..4f183239ca4a 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1/api.pb.go +++ b/cluster-autoscaler/vendor/k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1/api.pb.go @@ -351,13 +351,14 @@ func (m *NUMANode) GetID() int64 { } // E.g: -// struct Device { -// ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e", -// Health: "Healthy", -// Topology: -// Node: -// ID: 1 -//} +// +// struct Device { +// ID: "GPU-fef8089b-4820-abfc-e83e-94318197576e", +// Health: "Healthy", +// Topology: +// Node: +// ID: 1 +// } type Device struct { // A unique ID assigned by the device plugin used // to identify devices during the communication @@ -424,10 +425,10 @@ func (m *Device) GetTopology() *TopologyInfo { return nil } -// - PreStartContainer is expected to be called before each container start if indicated by plugin during registration phase. -// - PreStartContainer allows kubelet to pass reinitialized devices to containers. -// - PreStartContainer allows Device Plugin to run device specific operations on -// the Devices requested +// - PreStartContainer is expected to be called before each container start if indicated by plugin during registration phase. +// - PreStartContainer allows kubelet to pass reinitialized devices to containers. +// - PreStartContainer allows Device Plugin to run device specific operations on +// the Devices requested type PreStartContainerRequest struct { DevicesIDs []string `protobuf:"bytes,1,rep,name=devices_ids,json=devicesIds,proto3" json:"devices_ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -717,12 +718,12 @@ func (m *ContainerPreferredAllocationResponse) GetDeviceIDs() []string { return nil } -// - Allocate is expected to be called during pod creation since allocation -// failures for any container would result in pod startup failure. -// - Allocate allows kubelet to exposes additional artifacts in a pod's -// environment as directed by the plugin. -// - Allocate allows Device Plugin to run device specific operations on -// the Devices requested +// - Allocate is expected to be called during pod creation since allocation +// failures for any container would result in pod startup failure. +// - Allocate allows kubelet to exposes additional artifacts in a pod's +// environment as directed by the plugin. +// - Allocate allows Device Plugin to run device specific operations on +// the Devices requested type AllocateRequest struct { ContainerRequests []*ContainerAllocateRequest `protobuf:"bytes,1,rep,name=container_requests,json=containerRequests,proto3" json:"container_requests,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` diff --git a/cluster-autoscaler/vendor/k8s.io/kubelet/pkg/apis/pluginregistration/v1/api.pb.go b/cluster-autoscaler/vendor/k8s.io/kubelet/pkg/apis/pluginregistration/v1/api.pb.go index d478726ab25e..a1aa7469e4af 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubelet/pkg/apis/pluginregistration/v1/api.pb.go +++ b/cluster-autoscaler/vendor/k8s.io/kubelet/pkg/apis/pluginregistration/v1/api.pb.go @@ -18,16 +18,18 @@ limitations under the License. // source: api.proto /* - Package pluginregistration is a generated protocol buffer package. +Package pluginregistration is a generated protocol buffer package. - It is generated from these files: - api.proto +It is generated from these files: - It has these top-level messages: - PluginInfo - RegistrationStatus - RegistrationStatusResponse - InfoRequest + api.proto + +It has these top-level messages: + + PluginInfo + RegistrationStatus + RegistrationStatusResponse + InfoRequest */ package pluginregistration diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kube-proxy/app/server.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kube-proxy/app/server.go index 82fed5143acd..7a5b0c861c51 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kube-proxy/app/server.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kube-proxy/app/server.go @@ -172,7 +172,7 @@ func (o *Options) AddFlags(fs *pflag.FlagSet) { fs.Var(&utilflag.IPPortVar{Val: &o.config.MetricsBindAddress}, "metrics-bind-address", "The IP address with port for the metrics server to serve on (set to '0.0.0.0:10249' for all IPv4 interfaces and '[::]:10249' for all IPv6 interfaces). Set empty to disable. This parameter is ignored if a config file is specified by --config.") fs.BoolVar(&o.config.BindAddressHardFail, "bind-address-hard-fail", o.config.BindAddressHardFail, "If true kube-proxy will treat failure to bind to a port as fatal and exit") fs.Var(utilflag.PortRangeVar{Val: &o.config.PortRange}, "proxy-port-range", "Range of host ports (beginPort-endPort, single port or beginPort+offset, inclusive) that may be consumed in order to proxy service traffic. If (unspecified, 0, or 0-0) then ports will be randomly chosen.") - fs.Var(&o.config.Mode, "proxy-mode", "Which proxy mode to use: 'iptables' (Linux-only), 'ipvs' (Linux-only), 'kernelspace' (Windows-only), or 'userspace' (Linux/Windows, deprecated). The default value is 'iptables' on Linux and 'userspace' on Windows."+ + fs.Var(&o.config.Mode, "proxy-mode", "Which proxy mode to use: 'iptables' (Linux-only), 'ipvs' (Linux-only), 'kernelspace' (Windows-only), or 'userspace' (Linux/Windows, deprecated). The default value is 'iptables' on Linux and 'userspace' on Windows(will be 'kernelspace' in a future release)."+ "This parameter is ignored if a config file is specified by --config.") fs.Var(cliflag.NewMapStringBool(&o.config.FeatureGates), "feature-gates", "A set of key=value pairs that describe feature gates for alpha/experimental features. "+ "Options are:\n"+strings.Join(utilfeature.DefaultFeatureGate.KnownFeatures(), "\n")+ diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/options/container_runtime.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/options/container_runtime.go index 19538c1246c3..fc135fdca90c 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/options/container_runtime.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/options/container_runtime.go @@ -24,7 +24,7 @@ import ( const ( // When these values are updated, also update test/utils/image/manifest.go defaultPodSandboxImageName = "registry.k8s.io/pause" - defaultPodSandboxImageVersion = "3.7" + defaultPodSandboxImageVersion = "3.8" ) var ( diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/options/options.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/options/options.go index cf88e90a7b70..a2353c4af3a7 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/options/options.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/options/options.go @@ -26,6 +26,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/sets" + "k8s.io/apimachinery/pkg/util/validation" utilfeature "k8s.io/apiserver/pkg/util/feature" cliflag "k8s.io/component-base/cli/flag" logsapi "k8s.io/component-base/logs/api/v1" @@ -45,9 +46,10 @@ const defaultRootDir = "/var/lib/kubelet" // KubeletFlags contains configuration flags for the Kubelet. // A configuration field should go in KubeletFlags instead of KubeletConfiguration if any of these are true: -// - its value will never, or cannot safely be changed during the lifetime of a node, or -// - its value cannot be safely shared between nodes at the same time (e.g. a hostname); -// KubeletConfiguration is intended to be shared between nodes. +// - its value will never, or cannot safely be changed during the lifetime of a node, or +// - its value cannot be safely shared between nodes at the same time (e.g. a hostname); +// KubeletConfiguration is intended to be shared between nodes. +// // In general, please try to avoid adding flags or configuration fields, // we already have a confusingly large amount of them. type KubeletFlags struct { @@ -159,14 +161,29 @@ func NewKubeletFlags() *KubeletFlags { // ValidateKubeletFlags validates Kubelet's configuration flags and returns an error if they are invalid. func ValidateKubeletFlags(f *KubeletFlags) error { unknownLabels := sets.NewString() - for k := range f.NodeLabels { + invalidLabelErrs := make(map[string][]string) + for k, v := range f.NodeLabels { if isKubernetesLabel(k) && !kubeletapis.IsKubeletLabel(k) { unknownLabels.Insert(k) } + + if errs := validation.IsQualifiedName(k); len(errs) > 0 { + invalidLabelErrs[k] = append(invalidLabelErrs[k], errs...) + } + if errs := validation.IsValidLabelValue(v); len(errs) > 0 { + invalidLabelErrs[v] = append(invalidLabelErrs[v], errs...) + } } if len(unknownLabels) > 0 { return fmt.Errorf("unknown 'kubernetes.io' or 'k8s.io' labels specified with --node-labels: %v\n--node-labels in the 'kubernetes.io' namespace must begin with an allowed prefix (%s) or be in the specifically allowed set (%s)", unknownLabels.List(), strings.Join(kubeletapis.KubeletLabelNamespaces(), ", "), strings.Join(kubeletapis.KubeletLabels(), ", ")) } + if len(invalidLabelErrs) > 0 { + labelErrs := []string{} + for k, v := range invalidLabelErrs { + labelErrs = append(labelErrs, fmt.Sprintf("'%s' - %s", k, strings.Join(v, ", "))) + } + return fmt.Errorf("invalid node labels: %s", strings.Join(labelErrs, "; ")) + } if f.SeccompDefault && !utilfeature.DefaultFeatureGate.Enabled(features.SeccompDefault) { return fmt.Errorf("the SeccompDefault feature gate must be enabled in order to use the --seccomp-default flag") @@ -307,7 +324,7 @@ func (f *KubeletFlags) AddFlags(mainfs *pflag.FlagSet) { fs.Var(&bindableNodeLabels, "node-labels", fmt.Sprintf(" Labels to add when registering the node in the cluster. Labels must be key=value pairs separated by ','. Labels in the 'kubernetes.io' namespace must begin with an allowed prefix (%s) or be in the specifically allowed set (%s)", strings.Join(kubeletapis.KubeletLabelNamespaces(), ", "), strings.Join(kubeletapis.KubeletLabels(), ", "))) fs.StringVar(&f.LockFilePath, "lock-file", f.LockFilePath, " The path to file for kubelet to use as a lock file.") fs.BoolVar(&f.ExitOnLockContention, "exit-on-lock-contention", f.ExitOnLockContention, "Whether kubelet should exit upon lock-file contention.") - fs.BoolVar(&f.SeccompDefault, "seccomp-default", f.SeccompDefault, " Enable the use of `RuntimeDefault` as the default seccomp profile for all workloads. The SeccompDefault feature gate must be enabled to allow this flag, which is disabled per default.") + fs.BoolVar(&f.SeccompDefault, "seccomp-default", f.SeccompDefault, " Enable the use of `RuntimeDefault` as the default seccomp profile for all workloads. The SeccompDefault feature gate must be enabled to allow this flag, which is disabled per default.") // DEPRECATED FLAGS fs.DurationVar(&f.MinimumGCAge.Duration, "minimum-container-ttl-duration", f.MinimumGCAge.Duration, "Minimum age for a finished container before it is garbage collected. Examples: '300ms', '10s' or '2h45m'") @@ -475,6 +492,7 @@ func AddKubeletConfigFlags(mainfs *pflag.FlagSet, c *kubeletconfig.KubeletConfig fs.Int32Var(&c.NodeStatusMaxImages, "node-status-max-images", c.NodeStatusMaxImages, "The maximum number of images to report in Node.Status.Images. If -1 is specified, no cap will be applied.") fs.BoolVar(&c.KernelMemcgNotification, "kernel-memcg-notification", c.KernelMemcgNotification, "If enabled, the kubelet will integrate with the kernel memcg notification to determine if memory eviction thresholds are crossed rather than polling.") + fs.BoolVar(&c.LocalStorageCapacityIsolation, "local-storage-capacity-isolation", c.LocalStorageCapacityIsolation, "If true, local ephemeral storage isolation is enabled. Otherwise, local storage isolation feature will be disabled") // Flags intended for testing, not recommended used in production environments. fs.Int64Var(&c.MaxOpenFiles, "max-open-files", c.MaxOpenFiles, "Number of files that can be opened by Kubelet process.") diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/plugins.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/plugins.go index e13d1bc71731..e05a21ef14d2 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/plugins.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/plugins.go @@ -30,7 +30,6 @@ import ( "k8s.io/kubernetes/pkg/volume/emptydir" "k8s.io/kubernetes/pkg/volume/fc" "k8s.io/kubernetes/pkg/volume/flexvolume" - "k8s.io/kubernetes/pkg/volume/flocker" "k8s.io/kubernetes/pkg/volume/git_repo" "k8s.io/kubernetes/pkg/volume/glusterfs" "k8s.io/kubernetes/pkg/volume/hostpath" @@ -38,9 +37,7 @@ import ( "k8s.io/kubernetes/pkg/volume/local" "k8s.io/kubernetes/pkg/volume/nfs" "k8s.io/kubernetes/pkg/volume/projected" - "k8s.io/kubernetes/pkg/volume/quobyte" "k8s.io/kubernetes/pkg/volume/secret" - "k8s.io/kubernetes/pkg/volume/storageos" // Cloud providers _ "k8s.io/kubernetes/pkg/cloudprovider/providers" @@ -68,15 +65,12 @@ func ProbeVolumePlugins(featureGate featuregate.FeatureGate) ([]volume.VolumePlu allPlugins = append(allPlugins, secret.ProbeVolumePlugins()...) allPlugins = append(allPlugins, iscsi.ProbeVolumePlugins()...) allPlugins = append(allPlugins, glusterfs.ProbeVolumePlugins()...) - allPlugins = append(allPlugins, quobyte.ProbeVolumePlugins()...) allPlugins = append(allPlugins, cephfs.ProbeVolumePlugins()...) allPlugins = append(allPlugins, downwardapi.ProbeVolumePlugins()...) allPlugins = append(allPlugins, fc.ProbeVolumePlugins()...) - allPlugins = append(allPlugins, flocker.ProbeVolumePlugins()...) allPlugins = append(allPlugins, configmap.ProbeVolumePlugins()...) allPlugins = append(allPlugins, projected.ProbeVolumePlugins()...) allPlugins = append(allPlugins, local.ProbeVolumePlugins()...) - allPlugins = append(allPlugins, storageos.ProbeVolumePlugins()...) allPlugins = append(allPlugins, csi.ProbeVolumePlugins()...) return allPlugins, nil } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/server.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/server.go index 6d064326ec74..c8a67942b17a 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/server.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/cmd/kubelet/app/server.go @@ -39,9 +39,12 @@ import ( "k8s.io/mount-utils" cadvisorapi "github.com/google/cadvisor/info/v1" + "go.opentelemetry.io/otel/exporters/otlp/otlpgrpc" + otelsdkresource "go.opentelemetry.io/otel/sdk/resource" + "go.opentelemetry.io/otel/semconv" + oteltrace "go.opentelemetry.io/otel/trace" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/types" utilnet "k8s.io/apimachinery/pkg/util/net" @@ -69,6 +72,7 @@ import ( logsapi "k8s.io/component-base/logs/api/v1" "k8s.io/component-base/metrics" "k8s.io/component-base/metrics/legacyregistry" + tracing "k8s.io/component-base/tracing" "k8s.io/component-base/version" "k8s.io/component-base/version/verflag" kubeletconfigv1beta1 "k8s.io/kubelet/config/v1beta1" @@ -374,6 +378,13 @@ func UnsecuredDependencies(s *options.KubeletServer, featureGate featuregate.Fea if err != nil { return nil, err } + tp := oteltrace.NewNoopTracerProvider() + if utilfeature.DefaultFeatureGate.Enabled(features.KubeletTracing) { + tp, err = newTracerProvider(s) + if err != nil { + return nil, err + } + } return &kubelet.Dependencies{ Auth: nil, // default does not enforce auth[nz] CAdvisorInterface: nil, // cadvisor.New launches background processes (bg http.ListenAndServe, and some bg cleaners), not set here @@ -382,6 +393,7 @@ func UnsecuredDependencies(s *options.KubeletServer, featureGate featuregate.Fea KubeClient: nil, HeartbeatClient: nil, EventClient: nil, + TracerProvider: tp, HostUtil: hu, Mounter: mounter, Subpather: subpather, @@ -564,7 +576,7 @@ func run(ctx context.Context, s *options.KubeletServer, kubeDeps *kubelet.Depend klog.InfoS("Standalone mode, no API client") case kubeDeps.KubeClient == nil, kubeDeps.EventClient == nil, kubeDeps.HeartbeatClient == nil: - clientConfig, onHeartbeatFailure, err := buildKubeletClientConfig(ctx, s, nodeName) + clientConfig, onHeartbeatFailure, err := buildKubeletClientConfig(ctx, s, kubeDeps.TracerProvider, nodeName) if err != nil { return err } @@ -622,9 +634,7 @@ func run(ctx context.Context, s *options.KubeletServer, kubeDeps *kubelet.Depend cgroupRoots = append(cgroupRoots, kubeletCgroup) } - if err != nil { - klog.InfoS("Failed to get the container runtime's cgroup. Runtime system container metrics may be missing.", "err", err) - } else if s.RuntimeCgroups != "" { + if s.RuntimeCgroups != "" { // RuntimeCgroups is optional, so ignore if it isn't specified cgroupRoots = append(cgroupRoots, s.RuntimeCgroups) } @@ -636,7 +646,7 @@ func run(ctx context.Context, s *options.KubeletServer, kubeDeps *kubelet.Depend if kubeDeps.CAdvisorInterface == nil { imageFsInfoProvider := cadvisor.NewImageFsInfoProvider(s.RemoteRuntimeEndpoint) - kubeDeps.CAdvisorInterface, err = cadvisor.New(imageFsInfoProvider, s.RootDirectory, cgroupRoots, cadvisor.UsingLegacyCadvisorStats(s.RemoteRuntimeEndpoint)) + kubeDeps.CAdvisorInterface, err = cadvisor.New(imageFsInfoProvider, s.RootDirectory, cgroupRoots, cadvisor.UsingLegacyCadvisorStats(s.RemoteRuntimeEndpoint), s.LocalStorageCapacityIsolation) if err != nil { return err } @@ -793,7 +803,7 @@ func run(ctx context.Context, s *options.KubeletServer, kubeDeps *kubelet.Depend // buildKubeletClientConfig constructs the appropriate client config for the kubelet depending on whether // bootstrapping is enabled or client certificate rotation is enabled. -func buildKubeletClientConfig(ctx context.Context, s *options.KubeletServer, nodeName types.NodeName) (*restclient.Config, func(), error) { +func buildKubeletClientConfig(ctx context.Context, s *options.KubeletServer, tp oteltrace.TracerProvider, nodeName types.NodeName) (*restclient.Config, func(), error) { if s.RotateCertificates { // Rules for client rotation and the handling of kube config files: // @@ -908,6 +918,9 @@ func buildKubeletClientConfig(ctx context.Context, s *options.KubeletServer, nod utilnet.CloseIdleConnectionsFor(clientConfig.Transport) } } + if utilfeature.DefaultFeatureGate.Enabled(features.KubeletTracing) { + clientConfig.Wrap(tracing.WrapperFor(tp)) + } return clientConfig, onHeartbeatFailure, nil } @@ -1075,9 +1088,11 @@ func setContentTypeForClient(cfg *restclient.Config, contentType string) { } // RunKubelet is responsible for setting up and running a kubelet. It is used in three different applications: -// 1 Integration tests -// 2 Kubelet binary -// 3 Standalone 'kubernetes' binary +// +// 1 Integration tests +// 2 Kubelet binary +// 3 Standalone 'kubernetes' binary +// // Eventually, #2 will be replaced with instances of #3 func RunKubelet(kubeServer *options.KubeletServer, kubeDeps *kubelet.Dependencies, runOnce bool) error { hostname, err := nodeutil.GetHostname(kubeServer.HostnameOverride) @@ -1128,35 +1143,12 @@ func RunKubelet(kubeServer *options.KubeletServer, kubeDeps *kubelet.Dependencie return fmt.Errorf("the SeccompDefault feature gate must be enabled in order to use the SeccompDefault configuration") } - k, err := createAndInitKubelet(&kubeServer.KubeletConfiguration, + k, err := createAndInitKubelet(kubeServer, kubeDeps, - &kubeServer.ContainerRuntimeOptions, hostname, hostnameOverridden, nodeName, - nodeIPs, - kubeServer.ProviderID, - kubeServer.CloudProvider, - kubeServer.CertDirectory, - kubeServer.RootDirectory, - kubeServer.ImageCredentialProviderConfigFile, - kubeServer.ImageCredentialProviderBinDir, - kubeServer.RegisterNode, - kubeServer.RegisterWithTaints, - kubeServer.AllowedUnsafeSysctls, - kubeServer.ExperimentalMounterPath, - kubeServer.KernelMemcgNotification, - kubeServer.ExperimentalNodeAllocatableIgnoreEvictionThreshold, - kubeServer.MinimumGCAge, - kubeServer.MaxPerPodContainerCount, - kubeServer.MaxContainerCount, - kubeServer.MasterServiceNamespace, - kubeServer.RegisterSchedulable, - kubeServer.KeepTerminatedPodVolumes, - kubeServer.NodeLabels, - kubeServer.NodeStatusMaxImages, - kubeServer.KubeletFlags.SeccompDefault || kubeServer.KubeletConfiguration.SeccompDefault, - ) + nodeIPs) if err != nil { return fmt.Errorf("failed to create kubelet: %w", err) } @@ -1191,7 +1183,7 @@ func startKubelet(k kubelet.Bootstrap, podCfg *config.PodConfig, kubeCfg *kubele // start the kubelet server if enableServer { - go k.ListenAndServe(kubeCfg, kubeDeps.TLSOptions, kubeDeps.Auth) + go k.ListenAndServe(kubeCfg, kubeDeps.TLSOptions, kubeDeps.Auth, kubeDeps.TracerProvider) } if kubeCfg.ReadOnlyPort > 0 { go k.ListenAndServeReadOnly(netutils.ParseIPSloppy(kubeCfg.Address), uint(kubeCfg.ReadOnlyPort)) @@ -1201,67 +1193,43 @@ func startKubelet(k kubelet.Bootstrap, podCfg *config.PodConfig, kubeCfg *kubele } } -func createAndInitKubelet(kubeCfg *kubeletconfiginternal.KubeletConfiguration, +func createAndInitKubelet(kubeServer *options.KubeletServer, kubeDeps *kubelet.Dependencies, - crOptions *config.ContainerRuntimeOptions, hostname string, hostnameOverridden bool, nodeName types.NodeName, - nodeIPs []net.IP, - providerID string, - cloudProvider string, - certDirectory string, - rootDirectory string, - imageCredentialProviderConfigFile string, - imageCredentialProviderBinDir string, - registerNode bool, - registerWithTaints []v1.Taint, - allowedUnsafeSysctls []string, - experimentalMounterPath string, - kernelMemcgNotification bool, - experimentalNodeAllocatableIgnoreEvictionThreshold bool, - minimumGCAge metav1.Duration, - maxPerPodContainerCount int32, - maxContainerCount int32, - masterServiceNamespace string, - registerSchedulable bool, - keepTerminatedPodVolumes bool, - nodeLabels map[string]string, - nodeStatusMaxImages int32, - seccompDefault bool, -) (k kubelet.Bootstrap, err error) { + nodeIPs []net.IP) (k kubelet.Bootstrap, err error) { // TODO: block until all sources have delivered at least one update to the channel, or break the sync loop // up into "per source" synchronizations - k, err = kubelet.NewMainKubelet(kubeCfg, + k, err = kubelet.NewMainKubelet(&kubeServer.KubeletConfiguration, kubeDeps, - crOptions, + &kubeServer.ContainerRuntimeOptions, hostname, hostnameOverridden, nodeName, nodeIPs, - providerID, - cloudProvider, - certDirectory, - rootDirectory, - imageCredentialProviderConfigFile, - imageCredentialProviderBinDir, - registerNode, - registerWithTaints, - allowedUnsafeSysctls, - experimentalMounterPath, - kernelMemcgNotification, - experimentalNodeAllocatableIgnoreEvictionThreshold, - minimumGCAge, - maxPerPodContainerCount, - maxContainerCount, - masterServiceNamespace, - registerSchedulable, - keepTerminatedPodVolumes, - nodeLabels, - nodeStatusMaxImages, - seccompDefault, - ) + kubeServer.ProviderID, + kubeServer.CloudProvider, + kubeServer.CertDirectory, + kubeServer.RootDirectory, + kubeServer.ImageCredentialProviderConfigFile, + kubeServer.ImageCredentialProviderBinDir, + kubeServer.RegisterNode, + kubeServer.RegisterWithTaints, + kubeServer.AllowedUnsafeSysctls, + kubeServer.ExperimentalMounterPath, + kubeServer.KernelMemcgNotification, + kubeServer.ExperimentalNodeAllocatableIgnoreEvictionThreshold, + kubeServer.MinimumGCAge, + kubeServer.MaxPerPodContainerCount, + kubeServer.MaxContainerCount, + kubeServer.MasterServiceNamespace, + kubeServer.RegisterSchedulable, + kubeServer.KeepTerminatedPodVolumes, + kubeServer.NodeLabels, + kubeServer.NodeStatusMaxImages, + kubeServer.KubeletFlags.SeccompDefault || kubeServer.KubeletConfiguration.SeccompDefault) if err != nil { return nil, err } @@ -1298,3 +1266,24 @@ func parseResourceList(m map[string]string) (v1.ResourceList, error) { } return rl, nil } + +func newTracerProvider(s *options.KubeletServer) (oteltrace.TracerProvider, error) { + if s.KubeletConfiguration.Tracing == nil { + return oteltrace.NewNoopTracerProvider(), nil + } + hostname, err := nodeutil.GetHostname(s.HostnameOverride) + if err != nil { + return nil, fmt.Errorf("could not determine hostname for tracer provider: %v", err) + } + resourceOpts := []otelsdkresource.Option{ + otelsdkresource.WithAttributes( + semconv.ServiceNameKey.String(componentKubelet), + semconv.HostNameKey.String(hostname), + ), + } + tp, err := tracing.NewProvider(context.Background(), s.KubeletConfiguration.Tracing, []otlpgrpc.Option{}, resourceOpts) + if err != nil { + return nil, fmt.Errorf("could not configure tracer provider: %v", err) + } + return tp, nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/api/v1/pod/util.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/api/v1/pod/util.go index 8bfc21a67f4e..8cefc94641ec 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/api/v1/pod/util.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/api/v1/pod/util.go @@ -23,8 +23,6 @@ import ( v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/intstr" - utilfeature "k8s.io/apiserver/pkg/util/feature" - "k8s.io/kubernetes/pkg/features" ) // FindPort locates the container port for the given pod and portName. If the @@ -68,11 +66,7 @@ const AllContainers ContainerType = (InitContainers | Containers | EphemeralCont // AllFeatureEnabledContainers returns a ContainerType mask which includes all container // types except for the ones guarded by feature gate. func AllFeatureEnabledContainers() ContainerType { - containerType := AllContainers - if !utilfeature.DefaultFeatureGate.Enabled(features.EphemeralContainers) { - containerType &= ^EphemeralContainers - } - return containerType + return AllContainers } // ContainerVisitor is called with each container spec, and returns true diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/api/v1/resource/helpers.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/api/v1/resource/helpers.go index 707cfc2242a2..904eb1441662 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/api/v1/resource/helpers.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/api/v1/resource/helpers.go @@ -24,8 +24,6 @@ import ( v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" - utilfeature "k8s.io/apiserver/pkg/util/feature" - "k8s.io/kubernetes/pkg/features" ) // PodRequestsAndLimits returns a dictionary of all defined resources summed up for all @@ -131,11 +129,6 @@ func GetResourceRequestQuantity(pod *v1.Pod, resourceName v1.ResourceName) resou requestQuantity = resource.Quantity{Format: resource.DecimalSI} } - if resourceName == v1.ResourceEphemeralStorage && !utilfeature.DefaultFeatureGate.Enabled(features.LocalStorageCapacityIsolation) { - // if the local storage capacity isolation feature gate is disabled, pods request 0 disk - return requestQuantity - } - for _, container := range pod.Spec.Containers { if rQuantity, ok := container.Resources.Requests[resourceName]; ok { requestQuantity.Add(rQuantity) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/api/v1/service/util.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/api/v1/service/util.go index 928c82c34f6e..a88ead0d1e1e 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/api/v1/service/util.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/api/v1/service/util.go @@ -91,15 +91,3 @@ func NeedsHealthCheck(service *v1.Service) bool { } return ExternalPolicyLocal(service) } - -// GetServiceHealthCheckPathPort returns the path and nodePort programmed into the Cloud LB Health Check -func GetServiceHealthCheckPathPort(service *v1.Service) (string, int32) { - if !NeedsHealthCheck(service) { - return "", 0 - } - port := service.Spec.HealthCheckNodePort - if port == 0 { - return "", 0 - } - return "/healthz", port -} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/apps/types.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/apps/types.go index 771b2ef23c85..24f78a3af7a4 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/apps/types.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/apps/types.go @@ -27,8 +27,9 @@ import ( // StatefulSet represents a set of pods with consistent identities. // Identities are defined as: -// - Network: A single stable DNS and hostname. -// - Storage: As many VolumeClaims as requested. +// - Network: A single stable DNS and hostname. +// - Storage: As many VolumeClaims as requested. +// // The StatefulSet guarantees that a given network identity will always // map to the same storage identity. type StatefulSet struct { @@ -206,7 +207,6 @@ type StatefulSetSpec struct { // Minimum number of seconds for which a newly created pod should be ready // without any of its container crashing for it to be considered available. // Defaults to 0 (pod will be considered available as soon as it is ready) - // This is an alpha field and requires enabling StatefulSetMinReadySeconds feature gate. // +optional MinReadySeconds int32 @@ -256,7 +256,6 @@ type StatefulSetStatus struct { Conditions []StatefulSetCondition // Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset. - // This is a beta field and requires enabling StatefulSetMinReadySeconds feature gate. // +optional AvailableReplicas int32 } @@ -627,7 +626,6 @@ type RollingUpdateDaemonSet struct { // daemonset on any given node can double if the readiness check fails, and // so resource intensive daemonsets should take into account that they may // cause evictions during disruption. - // This is beta field and enabled/disabled by DaemonSetUpdateSurge feature gate. // +optional MaxSurge intstr.IntOrString } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/apps/validation/validation.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/apps/validation/validation.go index 7429847c41f4..89e644e07cec 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/apps/validation/validation.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/apps/validation/validation.go @@ -28,11 +28,9 @@ import ( "k8s.io/apimachinery/pkg/util/intstr" "k8s.io/apimachinery/pkg/util/validation" "k8s.io/apimachinery/pkg/util/validation/field" - utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/kubernetes/pkg/apis/apps" api "k8s.io/kubernetes/pkg/apis/core" apivalidation "k8s.io/kubernetes/pkg/apis/core/validation" - "k8s.io/kubernetes/pkg/features" ) // ValidateStatefulSetName can be used to check whether the given StatefulSet name is valid. @@ -129,9 +127,8 @@ func ValidateStatefulSetSpec(spec *apps.StatefulSetSpec, fldPath *field.Path, op allErrs = append(allErrs, ValidatePersistentVolumeClaimRetentionPolicy(spec.PersistentVolumeClaimRetentionPolicy, fldPath.Child("persistentVolumeClaimRetentionPolicy"))...) allErrs = append(allErrs, apivalidation.ValidateNonnegativeField(int64(spec.Replicas), fldPath.Child("replicas"))...) - if utilfeature.DefaultFeatureGate.Enabled(features.StatefulSetMinReadySeconds) { - allErrs = append(allErrs, apivalidation.ValidateNonnegativeField(int64(spec.MinReadySeconds), fldPath.Child("minReadySeconds"))...) - } + allErrs = append(allErrs, apivalidation.ValidateNonnegativeField(int64(spec.MinReadySeconds), fldPath.Child("minReadySeconds"))...) + if spec.Selector == nil { allErrs = append(allErrs, field.Required(fldPath.Child("selector"), "")) } else { @@ -175,19 +172,14 @@ func ValidateStatefulSetUpdate(statefulSet, oldStatefulSet *apps.StatefulSet, op // statefulset updates aren't super common and general updates are likely to be touching spec, so we'll do this // deep copy right away. This avoids mutating our inputs newStatefulSetClone := statefulSet.DeepCopy() - newStatefulSetClone.Spec.Replicas = oldStatefulSet.Spec.Replicas // +k8s:verify-mutation:reason=clone - newStatefulSetClone.Spec.Template = oldStatefulSet.Spec.Template // +k8s:verify-mutation:reason=clone - newStatefulSetClone.Spec.UpdateStrategy = oldStatefulSet.Spec.UpdateStrategy // +k8s:verify-mutation:reason=clone - if utilfeature.DefaultFeatureGate.Enabled(features.StatefulSetMinReadySeconds) { - newStatefulSetClone.Spec.MinReadySeconds = oldStatefulSet.Spec.MinReadySeconds // +k8s:verify-mutation:reason=clone - } + newStatefulSetClone.Spec.Replicas = oldStatefulSet.Spec.Replicas // +k8s:verify-mutation:reason=clone + newStatefulSetClone.Spec.Template = oldStatefulSet.Spec.Template // +k8s:verify-mutation:reason=clone + newStatefulSetClone.Spec.UpdateStrategy = oldStatefulSet.Spec.UpdateStrategy // +k8s:verify-mutation:reason=clone + newStatefulSetClone.Spec.MinReadySeconds = oldStatefulSet.Spec.MinReadySeconds // +k8s:verify-mutation:reason=clone + newStatefulSetClone.Spec.PersistentVolumeClaimRetentionPolicy = oldStatefulSet.Spec.PersistentVolumeClaimRetentionPolicy // +k8s:verify-mutation:reason=clone if !apiequality.Semantic.DeepEqual(newStatefulSetClone.Spec, oldStatefulSet.Spec) { - if utilfeature.DefaultFeatureGate.Enabled(features.StatefulSetMinReadySeconds) { - allErrs = append(allErrs, field.Forbidden(field.NewPath("spec"), "updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden")) - } else { - allErrs = append(allErrs, field.Forbidden(field.NewPath("spec"), "updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy' and 'persistentVolumeClaimRetentionPolicy' are forbidden")) - } + allErrs = append(allErrs, field.Forbidden(field.NewPath("spec"), "updates to statefulset spec for fields other than 'replicas', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden")) } return allErrs @@ -201,9 +193,7 @@ func ValidateStatefulSetStatus(status *apps.StatefulSetStatus, fieldPath *field. allErrs = append(allErrs, apivalidation.ValidateNonnegativeField(int64(status.ReadyReplicas), fieldPath.Child("readyReplicas"))...) allErrs = append(allErrs, apivalidation.ValidateNonnegativeField(int64(status.CurrentReplicas), fieldPath.Child("currentReplicas"))...) allErrs = append(allErrs, apivalidation.ValidateNonnegativeField(int64(status.UpdatedReplicas), fieldPath.Child("updatedReplicas"))...) - if utilfeature.DefaultFeatureGate.Enabled(features.StatefulSetMinReadySeconds) { - allErrs = append(allErrs, apivalidation.ValidateNonnegativeField(int64(status.AvailableReplicas), fieldPath.Child("availableReplicas"))...) - } + allErrs = append(allErrs, apivalidation.ValidateNonnegativeField(int64(status.AvailableReplicas), fieldPath.Child("availableReplicas"))...) if status.ObservedGeneration != nil { allErrs = append(allErrs, apivalidation.ValidateNonnegativeField(int64(*status.ObservedGeneration), fieldPath.Child("observedGeneration"))...) } @@ -221,15 +211,12 @@ func ValidateStatefulSetStatus(status *apps.StatefulSetStatus, fieldPath *field. if status.UpdatedReplicas > status.Replicas { allErrs = append(allErrs, field.Invalid(fieldPath.Child("updatedReplicas"), status.UpdatedReplicas, msg)) } - if utilfeature.DefaultFeatureGate.Enabled(features.StatefulSetMinReadySeconds) { - if status.AvailableReplicas > status.Replicas { - allErrs = append(allErrs, field.Invalid(fieldPath.Child("availableReplicas"), status.AvailableReplicas, msg)) - } - if status.AvailableReplicas > status.ReadyReplicas { - allErrs = append(allErrs, field.Invalid(fieldPath.Child("availableReplicas"), status.AvailableReplicas, "cannot be greater than readyReplicas")) - } + if status.AvailableReplicas > status.Replicas { + allErrs = append(allErrs, field.Invalid(fieldPath.Child("availableReplicas"), status.AvailableReplicas, msg)) + } + if status.AvailableReplicas > status.ReadyReplicas { + allErrs = append(allErrs, field.Invalid(fieldPath.Child("availableReplicas"), status.AvailableReplicas, "cannot be greater than status.readyReplicas")) } - return allErrs } @@ -384,34 +371,25 @@ func ValidateDaemonSetSpec(spec *apps.DaemonSetSpec, fldPath *field.Path, opts a // ValidateRollingUpdateDaemonSet validates a given RollingUpdateDaemonSet. func ValidateRollingUpdateDaemonSet(rollingUpdate *apps.RollingUpdateDaemonSet, fldPath *field.Path) field.ErrorList { var allErrs field.ErrorList - if utilfeature.DefaultFeatureGate.Enabled(features.DaemonSetUpdateSurge) { - // Validate both fields are positive ints or have a percentage value - allErrs = append(allErrs, ValidatePositiveIntOrPercent(rollingUpdate.MaxUnavailable, fldPath.Child("maxUnavailable"))...) - allErrs = append(allErrs, ValidatePositiveIntOrPercent(rollingUpdate.MaxSurge, fldPath.Child("maxSurge"))...) - - // Validate that MaxUnavailable and MaxSurge are not more than 100%. - allErrs = append(allErrs, IsNotMoreThan100Percent(rollingUpdate.MaxUnavailable, fldPath.Child("maxUnavailable"))...) - allErrs = append(allErrs, IsNotMoreThan100Percent(rollingUpdate.MaxSurge, fldPath.Child("maxSurge"))...) - - // Validate exactly one of MaxSurge or MaxUnavailable is non-zero - hasUnavailable := getIntOrPercentValue(rollingUpdate.MaxUnavailable) != 0 - hasSurge := getIntOrPercentValue(rollingUpdate.MaxSurge) != 0 - switch { - case hasUnavailable && hasSurge: - allErrs = append(allErrs, field.Invalid(fldPath.Child("maxSurge"), rollingUpdate.MaxSurge, "may not be set when maxUnavailable is non-zero")) - case !hasUnavailable && !hasSurge: - allErrs = append(allErrs, field.Required(fldPath.Child("maxUnavailable"), "cannot be 0 when maxSurge is 0")) - } - } else { - allErrs = append(allErrs, ValidatePositiveIntOrPercent(rollingUpdate.MaxUnavailable, fldPath.Child("maxUnavailable"))...) - if getIntOrPercentValue(rollingUpdate.MaxUnavailable) == 0 { - // MaxUnavailable cannot be 0. - allErrs = append(allErrs, field.Invalid(fldPath.Child("maxUnavailable"), rollingUpdate.MaxUnavailable, "cannot be 0")) - } - // Validate that MaxUnavailable is not more than 100%. - allErrs = append(allErrs, IsNotMoreThan100Percent(rollingUpdate.MaxUnavailable, fldPath.Child("maxUnavailable"))...) + // Validate both fields are positive ints or have a percentage value + allErrs = append(allErrs, ValidatePositiveIntOrPercent(rollingUpdate.MaxUnavailable, fldPath.Child("maxUnavailable"))...) + allErrs = append(allErrs, ValidatePositiveIntOrPercent(rollingUpdate.MaxSurge, fldPath.Child("maxSurge"))...) + + // Validate that MaxUnavailable and MaxSurge are not more than 100%. + allErrs = append(allErrs, IsNotMoreThan100Percent(rollingUpdate.MaxUnavailable, fldPath.Child("maxUnavailable"))...) + allErrs = append(allErrs, IsNotMoreThan100Percent(rollingUpdate.MaxSurge, fldPath.Child("maxSurge"))...) + + // Validate exactly one of MaxSurge or MaxUnavailable is non-zero + hasUnavailable := getIntOrPercentValue(rollingUpdate.MaxUnavailable) != 0 + hasSurge := getIntOrPercentValue(rollingUpdate.MaxSurge) != 0 + switch { + case hasUnavailable && hasSurge: + allErrs = append(allErrs, field.Invalid(fldPath.Child("maxSurge"), rollingUpdate.MaxSurge, "may not be set when maxUnavailable is non-zero")) + case !hasUnavailable && !hasSurge: + allErrs = append(allErrs, field.Required(fldPath.Child("maxUnavailable"), "cannot be 0 when maxSurge is 0")) } + return allErrs } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/autoscaling/helpers.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/autoscaling/helpers.go index 632c19833184..f66a12f4def8 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/autoscaling/helpers.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/autoscaling/helpers.go @@ -21,16 +21,16 @@ package autoscaling // It should always be called when converting internal -> external versions, prior // to setting any of the custom annotations: // -// annotations, copiedAnnotations := DropRoundTripHorizontalPodAutoscalerAnnotations(externalObj.Annotations) -// externalObj.Annotations = annotations +// annotations, copiedAnnotations := DropRoundTripHorizontalPodAutoscalerAnnotations(externalObj.Annotations) +// externalObj.Annotations = annotations // -// if internal.SomeField != nil { -// if !copiedAnnotations { -// externalObj.Annotations = DeepCopyStringMap(externalObj.Annotations) -// copiedAnnotations = true -// } -// externalObj.Annotations[...] = json.Marshal(...) -// } +// if internal.SomeField != nil { +// if !copiedAnnotations { +// externalObj.Annotations = DeepCopyStringMap(externalObj.Annotations) +// copiedAnnotations = true +// } +// externalObj.Annotations[...] = json.Marshal(...) +// } func DropRoundTripHorizontalPodAutoscalerAnnotations(in map[string]string) (out map[string]string, copied bool) { _, hasMetricsSpecs := in[MetricSpecsAnnotation] _, hasBehaviorSpecs := in[BehaviorSpecsAnnotation] diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/batch/types.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/batch/types.go index 5231dc0f3038..c130b5fa6406 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/batch/types.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/batch/types.go @@ -110,6 +110,119 @@ const ( IndexedCompletion CompletionMode = "Indexed" ) +// PodFailurePolicyAction specifies how a Pod failure is handled. +// +enum +type PodFailurePolicyAction string + +const ( + // This is an action which might be taken on a pod failure - mark the + // pod's job as Failed and terminate all running pods. + PodFailurePolicyActionFailJob PodFailurePolicyAction = "FailJob" + + // This is an action which might be taken on a pod failure - the counter towards + // .backoffLimit, represented by the job's .status.failed field, is not + // incremented and a replacement pod is created. + PodFailurePolicyActionIgnore PodFailurePolicyAction = "Ignore" + + // This is an action which might be taken on a pod failure - the pod failure + // is handled in the default way - the counter towards .backoffLimit, + // represented by the job's .status.failed field, is incremented. + PodFailurePolicyActionCount PodFailurePolicyAction = "Count" +) + +// +enum +type PodFailurePolicyOnExitCodesOperator string + +const ( + PodFailurePolicyOnExitCodesOpIn PodFailurePolicyOnExitCodesOperator = "In" + PodFailurePolicyOnExitCodesOpNotIn PodFailurePolicyOnExitCodesOperator = "NotIn" +) + +// PodFailurePolicyOnExitCodesRequirement describes the requirement for handling +// a failed pod based on its container exit codes. In particular, it lookups the +// .state.terminated.exitCode for each app container and init container status, +// represented by the .status.containerStatuses and .status.initContainerStatuses +// fields in the Pod status, respectively. Containers completed with success +// (exit code 0) are excluded from the requirement check. +type PodFailurePolicyOnExitCodesRequirement struct { + // Restricts the check for exit codes to the container with the + // specified name. When null, the rule applies to all containers. + // When specified, it should match one the container or initContainer + // names in the pod template. + // +optional + ContainerName *string + + // Represents the relationship between the container exit code(s) and the + // specified values. Containers completed with success (exit code 0) are + // excluded from the requirement check. Possible values are: + // - In: the requirement is satisfied if at least one container exit code + // (might be multiple if there are multiple containers not restricted + // by the 'containerName' field) is in the set of specified values. + // - NotIn: the requirement is satisfied if at least one container exit code + // (might be multiple if there are multiple containers not restricted + // by the 'containerName' field) is not in the set of specified values. + // Additional values are considered to be added in the future. Clients should + // react to an unknown operator by assuming the requirement is not satisfied. + Operator PodFailurePolicyOnExitCodesOperator + + // Specifies the set of values. Each returned container exit code (might be + // multiple in case of multiple containers) is checked against this set of + // values with respect to the operator. The list of values must be ordered + // and must not contain duplicates. Value '0' cannot be used for the In operator. + // At least one element is required. At most 255 elements are allowed. + // +listType=set + Values []int32 +} + +// PodFailurePolicyOnPodConditionsPattern describes a pattern for matching +// an actual pod condition type. +type PodFailurePolicyOnPodConditionsPattern struct { + // Specifies the required Pod condition type. To match a pod condition + // it is required that specified type equals the pod condition type. + Type api.PodConditionType + // Specifies the required Pod condition status. To match a pod condition + // it is required that the specified status equals the pod condition status. + // Defaults to True. + Status api.ConditionStatus +} + +// PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. +// One of OnExitCodes and onPodConditions, but not both, can be used in each rule. +type PodFailurePolicyRule struct { + // Specifies the action taken on a pod failure when the requirements are satisfied. + // Possible values are: + // - FailJob: indicates that the pod's job is marked as Failed and all + // running pods are terminated. + // - Ignore: indicates that the counter towards the .backoffLimit is not + // incremented and a replacement pod is created. + // - Count: indicates that the pod is handled in the default way - the + // counter towards the .backoffLimit is incremented. + // Additional values are considered to be added in the future. Clients should + // react to an unknown action by skipping the rule. + Action PodFailurePolicyAction + + // Represents the requirement on the container exit codes. + // +optional + OnExitCodes *PodFailurePolicyOnExitCodesRequirement + + // Represents the requirement on the pod conditions. The requirement is represented + // as a list of pod condition patterns. The requirement is satisfied if at + // least one pattern matches an actual pod condition. At most 20 elements are allowed. + // +listType=atomic + OnPodConditions []PodFailurePolicyOnPodConditionsPattern +} + +// PodFailurePolicy describes how failed pods influence the backoffLimit. +type PodFailurePolicy struct { + // A list of pod failure policy rules. The rules are evaluated in order. + // Once a rule matches a Pod failure, the remaining of the rules are ignored. + // When no rule matches the Pod failure, the default handling applies - the + // counter of pod failures is incremented and it is checked against + // the backoffLimit. At most 20 elements are allowed. + // +listType=atomic + Rules []PodFailurePolicyRule +} + // JobSpec describes how the job execution will look like. type JobSpec struct { @@ -128,6 +241,19 @@ type JobSpec struct { // +optional Completions *int32 + // Specifies the policy of handling failed pods. In particular, it allows to + // specify the set of actions and conditions which need to be + // satisfied to take the associated action. + // If empty, the default behaviour applies - the counter of failed pods, + // represented by the jobs's .status.failed field, is incremented and it is + // checked against the backoffLimit. This field cannot be used in combination + // with .spec.podTemplate.spec.restartPolicy=OnFailure. + // + // This field is alpha-level. To use this field, you must enable the + // `JobPodFailurePolicy` feature gate (disabled by default). + // +optional + PodFailurePolicy *PodFailurePolicy + // Specifies the duration in seconds relative to the startTime that the job // may be continuously active before the system tries to terminate it; value // must be positive integer. If a Job is suspended (at creation or through an @@ -313,6 +439,9 @@ const ( JobComplete JobConditionType = "Complete" // JobFailed means the job has failed its execution. JobFailed JobConditionType = "Failed" + // FailureTarget means the job is about to fail its execution. + // The constant is to be renamed once the name is accepted within the KEP-3329. + AlphaNoCompatGuaranteeJobFailureTarget JobConditionType = "FailureTarget" ) // JobCondition describes current state of a job. @@ -376,9 +505,16 @@ type CronJobSpec struct { // The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. Schedule string - // The time zone for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. - // If not specified, this will rely on the time zone of the kube-controller-manager process. - // ALPHA: This field is in alpha and must be enabled via the `CronJobTimeZone` feature gate. + // The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. + // If not specified, this will default to the time zone of the kube-controller-manager process. + // The set of valid time zone names and the time zone offset is loaded from the system-wide time zone + // database by the API server during CronJob validation and the controller manager during execution. + // If no system-wide time zone database can be found a bundled version of the database is used instead. + // If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host + // configuration, the controller will stop creating new new Jobs and will create a system event with the + // reason UnknownTimeZone. + // More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones + // This is beta field and must be enabled via the `CronJobTimeZone` feature gate. // +optional TimeZone *string diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/batch/zz_generated.deepcopy.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/batch/zz_generated.deepcopy.go index d5e5c02c3386..98b86bfcc817 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/batch/zz_generated.deepcopy.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/batch/zz_generated.deepcopy.go @@ -252,6 +252,11 @@ func (in *JobSpec) DeepCopyInto(out *JobSpec) { *out = new(int32) **out = **in } + if in.PodFailurePolicy != nil { + in, out := &in.PodFailurePolicy, &out.PodFailurePolicy + *out = new(PodFailurePolicy) + (*in).DeepCopyInto(*out) + } if in.ActiveDeadlineSeconds != nil { in, out := &in.ActiveDeadlineSeconds, &out.ActiveDeadlineSeconds *out = new(int64) @@ -387,6 +392,97 @@ func (in *JobTemplateSpec) DeepCopy() *JobTemplateSpec { return out } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PodFailurePolicy) DeepCopyInto(out *PodFailurePolicy) { + *out = *in + if in.Rules != nil { + in, out := &in.Rules, &out.Rules + *out = make([]PodFailurePolicyRule, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicy. +func (in *PodFailurePolicy) DeepCopy() *PodFailurePolicy { + if in == nil { + return nil + } + out := new(PodFailurePolicy) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PodFailurePolicyOnExitCodesRequirement) DeepCopyInto(out *PodFailurePolicyOnExitCodesRequirement) { + *out = *in + if in.ContainerName != nil { + in, out := &in.ContainerName, &out.ContainerName + *out = new(string) + **out = **in + } + if in.Values != nil { + in, out := &in.Values, &out.Values + *out = make([]int32, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicyOnExitCodesRequirement. +func (in *PodFailurePolicyOnExitCodesRequirement) DeepCopy() *PodFailurePolicyOnExitCodesRequirement { + if in == nil { + return nil + } + out := new(PodFailurePolicyOnExitCodesRequirement) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PodFailurePolicyOnPodConditionsPattern) DeepCopyInto(out *PodFailurePolicyOnPodConditionsPattern) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicyOnPodConditionsPattern. +func (in *PodFailurePolicyOnPodConditionsPattern) DeepCopy() *PodFailurePolicyOnPodConditionsPattern { + if in == nil { + return nil + } + out := new(PodFailurePolicyOnPodConditionsPattern) + in.DeepCopyInto(out) + return out +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *PodFailurePolicyRule) DeepCopyInto(out *PodFailurePolicyRule) { + *out = *in + if in.OnExitCodes != nil { + in, out := &in.OnExitCodes, &out.OnExitCodes + *out = new(PodFailurePolicyOnExitCodesRequirement) + (*in).DeepCopyInto(*out) + } + if in.OnPodConditions != nil { + in, out := &in.OnPodConditions, &out.OnPodConditions + *out = make([]PodFailurePolicyOnPodConditionsPattern, len(*in)) + copy(*out, *in) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodFailurePolicyRule. +func (in *PodFailurePolicyRule) DeepCopy() *PodFailurePolicyRule { + if in == nil { + return nil + } + out := new(PodFailurePolicyRule) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *UncountedTerminatedPods) DeepCopyInto(out *UncountedTerminatedPods) { *out = *in diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/helper/helpers.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/helper/helpers.go index c150f6ace5c0..0c730aa6d52c 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/helper/helpers.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/helper/helpers.go @@ -27,7 +27,6 @@ import ( "k8s.io/apimachinery/pkg/conversion" "k8s.io/apimachinery/pkg/fields" "k8s.io/apimachinery/pkg/labels" - "k8s.io/apimachinery/pkg/selection" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/apimachinery/pkg/util/validation" "k8s.io/kubernetes/pkg/apis/core" @@ -361,72 +360,6 @@ func ContainsAccessMode(modes []core.PersistentVolumeAccessMode, mode core.Persi return false } -// NodeSelectorRequirementsAsSelector converts the []NodeSelectorRequirement core type into a struct that implements -// labels.Selector. -func NodeSelectorRequirementsAsSelector(nsm []core.NodeSelectorRequirement) (labels.Selector, error) { - if len(nsm) == 0 { - return labels.Nothing(), nil - } - selector := labels.NewSelector() - for _, expr := range nsm { - var op selection.Operator - switch expr.Operator { - case core.NodeSelectorOpIn: - op = selection.In - case core.NodeSelectorOpNotIn: - op = selection.NotIn - case core.NodeSelectorOpExists: - op = selection.Exists - case core.NodeSelectorOpDoesNotExist: - op = selection.DoesNotExist - case core.NodeSelectorOpGt: - op = selection.GreaterThan - case core.NodeSelectorOpLt: - op = selection.LessThan - default: - return nil, fmt.Errorf("%q is not a valid node selector operator", expr.Operator) - } - r, err := labels.NewRequirement(expr.Key, op, expr.Values) - if err != nil { - return nil, err - } - selector = selector.Add(*r) - } - return selector, nil -} - -// NodeSelectorRequirementsAsFieldSelector converts the []NodeSelectorRequirement core type into a struct that implements -// fields.Selector. -func NodeSelectorRequirementsAsFieldSelector(nsm []core.NodeSelectorRequirement) (fields.Selector, error) { - if len(nsm) == 0 { - return fields.Nothing(), nil - } - - selectors := []fields.Selector{} - for _, expr := range nsm { - switch expr.Operator { - case core.NodeSelectorOpIn: - if len(expr.Values) != 1 { - return nil, fmt.Errorf("unexpected number of value (%d) for node field selector operator %q", - len(expr.Values), expr.Operator) - } - selectors = append(selectors, fields.OneTermEqualSelector(expr.Key, expr.Values[0])) - - case core.NodeSelectorOpNotIn: - if len(expr.Values) != 1 { - return nil, fmt.Errorf("unexpected number of value (%d) for node field selector operator %q", - len(expr.Values), expr.Operator) - } - selectors = append(selectors, fields.OneTermNotEqualSelector(expr.Key, expr.Values[0])) - - default: - return nil, fmt.Errorf("%q is not a valid node field selector operator", expr.Operator) - } - } - - return fields.AndSelectors(selectors...), nil -} - // GetTolerationsFromPodAnnotations gets the json serialized tolerations data from Pod.Annotations // and converts it to the []Toleration type in core. func GetTolerationsFromPodAnnotations(annotations map[string]string) ([]core.Toleration, error) { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/pods/helpers.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/pods/helpers.go index e05a313a1f16..71810c5005ce 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/pods/helpers.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/pods/helpers.go @@ -20,9 +20,7 @@ import ( "fmt" "k8s.io/apimachinery/pkg/util/validation/field" - utilfeature "k8s.io/apiserver/pkg/util/feature" api "k8s.io/kubernetes/pkg/apis/core" - "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/fieldpath" ) @@ -47,12 +45,10 @@ func VisitContainersWithPath(podSpec *api.PodSpec, specPath *field.Path, visitor return false } } - if utilfeature.DefaultFeatureGate.Enabled(features.EphemeralContainers) { - fldPath = specPath.Child("ephemeralContainers") - for i := range podSpec.EphemeralContainers { - if !visitor((*api.Container)(&podSpec.EphemeralContainers[i].EphemeralContainerCommon), fldPath.Index(i)) { - return false - } + fldPath = specPath.Child("ephemeralContainers") + for i := range podSpec.EphemeralContainers { + if !visitor((*api.Container)(&podSpec.EphemeralContainers[i].EphemeralContainerCommon), fldPath.Index(i)) { + return false } } return true diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/types.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/types.go index fc26f0f05b3a..693f183a081d 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/types.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/types.go @@ -154,7 +154,7 @@ type VolumeSource struct { // StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod // +optional StorageOS *StorageOSVolumeSource - // CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature). + // CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers. // +optional CSI *CSIVolumeSource // Ephemeral represents a volume that is handled by a cluster storage driver. @@ -2430,6 +2430,10 @@ const ( PodReasonUnschedulable = "Unschedulable" // ContainersReady indicates whether all containers in the pod are ready. ContainersReady PodConditionType = "ContainersReady" + // AlphaNoCompatGuaranteeDisruptionTarget indicates the pod is about to be deleted due to a + // disruption (such as preemption, eviction API or garbage-collection). + // The constant is to be renamed once the name is accepted within the KEP-3329. + AlphaNoCompatGuaranteeDisruptionTarget PodConditionType = "DisruptionTarget" ) // PodCondition represents pod's condition @@ -2829,7 +2833,6 @@ type PodSpec struct { // pod to perform user-initiated actions such as debugging. This list cannot be specified when // creating a pod, and it cannot be modified by updating the pod spec. In order to add an // ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource. - // This field is beta-level and available on clusters that haven't disabled the EphemeralContainers feature gate. // +optional EphemeralContainers []EphemeralContainer // +optional @@ -2973,6 +2976,7 @@ type PodSpec struct { // If the OS field is set to windows, following fields must be unset: // - spec.hostPID // - spec.hostIPC + // - spec.hostUsers // - spec.securityContext.seLinuxOptions // - spec.securityContext.seccompProfile // - spec.securityContext.fsGroup @@ -2992,7 +2996,6 @@ type PodSpec struct { // - spec.containers[*].securityContext.runAsUser // - spec.containers[*].securityContext.runAsGroup // +optional - // This is a beta field and requires the IdentifyPodOS feature OS *PodOS } @@ -3076,6 +3079,18 @@ type PodSecurityContext struct { // +k8s:conversion-gen=false // +optional ShareProcessNamespace *bool + // Use the host's user namespace. + // Optional: Default to true. + // If set to true or not present, the pod will be run in the host user namespace, useful + // for when the pod needs a feature only available to the host user namespace, such as + // loading a kernel module with CAP_SYS_MODULE. + // When set to false, a new user namespace is created for the pod. Setting false is useful + // for mitigating container breakout vulnerabilities even allowing users to run their + // containers as root without actually having root privileges on the host. + // Note that this field cannot be set when spec.os.name is windows. + // +k8s:conversion-gen=false + // +optional + HostUsers *bool // The SELinux context to be applied to all containers. // If unspecified, the container runtime will allocate a random SELinux context for each // container. May also be set in SecurityContext. If set in @@ -3222,8 +3237,9 @@ type PodDNSConfigOption struct { // PodIP represents the IP address of a pod. // IP address information. Each entry includes: -// IP: An IP address allocated to the pod. Routable at least within -// the cluster. +// +// IP: An IP address allocated to the pod. Routable at least within +// the cluster. type PodIP struct { IP string } @@ -3326,8 +3342,6 @@ var _ = Container(EphemeralContainerCommon{}) // // To add an ephemeral container, use the ephemeralcontainers subresource of an existing // Pod. Ephemeral containers may not be removed or restarted. -// -// This is a beta feature available on clusters that haven't disabled the EphemeralContainers feature gate. type EphemeralContainer struct { // Ephemeral containers have all of the fields of Container, plus additional fields // specific to ephemeral containers. Fields in common with Container are in the @@ -3390,7 +3404,6 @@ type PodStatus struct { ContainerStatuses []ContainerStatus // Status for any ephemeral containers that have run in this pod. - // This field is beta-level and available on clusters that haven't disabled the EphemeralContainers feature gate. // +optional EphemeralContainerStatuses []ContainerStatus } @@ -3736,27 +3749,27 @@ const ( IPv6Protocol IPFamily = "IPv6" ) -// IPFamilyPolicyType represents the dual-stack-ness requested or required by a Service -type IPFamilyPolicyType string +// IPFamilyPolicy represents the dual-stack-ness requested or required by a Service +type IPFamilyPolicy string const ( // IPFamilyPolicySingleStack indicates that this service is required to have a single IPFamily. // The IPFamily assigned is based on the default IPFamily used by the cluster // or as identified by service.spec.ipFamilies field - IPFamilyPolicySingleStack IPFamilyPolicyType = "SingleStack" + IPFamilyPolicySingleStack IPFamilyPolicy = "SingleStack" // IPFamilyPolicyPreferDualStack indicates that this service prefers dual-stack when // the cluster is configured for dual-stack. If the cluster is not configured // for dual-stack the service will be assigned a single IPFamily. If the IPFamily is not // set in service.spec.ipFamilies then the service will be assigned the default IPFamily // configured on the cluster - IPFamilyPolicyPreferDualStack IPFamilyPolicyType = "PreferDualStack" + IPFamilyPolicyPreferDualStack IPFamilyPolicy = "PreferDualStack" // IPFamilyPolicyRequireDualStack indicates that this service requires dual-stack. Using // IPFamilyPolicyRequireDualStack on a single stack cluster will result in validation errors. The // IPFamilies (and their order) assigned to this service is based on service.spec.ipFamilies. If // service.spec.ipFamilies was not provided then it will be assigned according to how they are // configured on the cluster. If service.spec.ipFamilies has only one entry then the alternative // IPFamily will be added by apiserver - IPFamilyPolicyRequireDualStack IPFamilyPolicyType = "RequireDualStack" + IPFamilyPolicyRequireDualStack IPFamilyPolicy = "RequireDualStack" ) // ServiceSpec describes the attributes that a user creates on a service @@ -3829,7 +3842,7 @@ type ServiceSpec struct { // to this service can be controlled by service.spec.ipFamilies and service.spec.clusterIPs // respectively. // +optional - IPFamilyPolicy *IPFamilyPolicyType + IPFamilyPolicy *IPFamilyPolicy // ExternalName is the external reference that kubedns or equivalent will // return as a CNAME record for this service. No proxying will be involved. @@ -4036,17 +4049,18 @@ type ServiceAccountList struct { // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // Endpoints is a collection of endpoints that implement the actual service. Example: -// Name: "mysvc", -// Subsets: [ -// { -// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], -// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] -// }, -// { -// Addresses: [{"ip": "10.10.3.3"}], -// Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] -// }, -// ] +// +// Name: "mysvc", +// Subsets: [ +// { +// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], +// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] +// }, +// { +// Addresses: [{"ip": "10.10.3.3"}], +// Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}] +// }, +// ] type Endpoints struct { metav1.TypeMeta // +optional @@ -4059,13 +4073,16 @@ type Endpoints struct { // EndpointSubset is a group of addresses with a common set of ports. The // expanded set of endpoints is the Cartesian product of Addresses x Ports. // For example, given: -// { -// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], -// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] -// } +// +// { +// Addresses: [{"ip": "10.10.1.1"}, {"ip": "10.10.2.2"}], +// Ports: [{"name": "a", "port": 8675}, {"name": "b", "port": 309}] +// } +// // The resulting set of endpoints can be viewed as: -// a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], -// b: [ 10.10.1.1:309, 10.10.2.2:309 ] +// +// a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], +// b: [ 10.10.1.1:309, 10.10.2.2:309 ] type EndpointSubset struct { Addresses []EndpointAddress NotReadyAddresses []EndpointAddress @@ -5711,7 +5728,7 @@ type TopologySpreadConstraint struct { // because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones, // it will violate MaxSkew. // - // This is an alpha field and requires enabling MinDomainsInPodTopologySpread feature gate. + // This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default). // +optional MinDomains *int32 // NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector @@ -5733,6 +5750,15 @@ type TopologySpreadConstraint struct { // This is a alpha-level feature enabled by the NodeInclusionPolicyInPodTopologySpread feature flag. // +optional NodeTaintsPolicy *NodeInclusionPolicy + // MatchLabelKeys is a set of pod label keys to select the pods over which + // spreading will be calculated. The keys are used to lookup values from the + // incoming pod labels, those key-value labels are ANDed with labelSelector + // to select the group of existing pods over which spreading will be calculated + // for the incoming pod. Keys that don't exist in the incoming pod labels will + // be ignored. A null or empty list means only match against labelSelector. + // +listType=atomic + // +optional + MatchLabelKeys []string } // These are the built-in errors for PortStatus. diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/v1/conversion.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/v1/conversion.go index d89ea26354b8..7869f0389b90 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/v1/conversion.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/v1/conversion.go @@ -303,6 +303,7 @@ func Convert_core_PodSpec_To_v1_PodSpec(in *core.PodSpec, out *v1.PodSpec, s con out.HostNetwork = in.SecurityContext.HostNetwork out.HostIPC = in.SecurityContext.HostIPC out.ShareProcessNamespace = in.SecurityContext.ShareProcessNamespace + out.HostUsers = in.SecurityContext.HostUsers } return nil @@ -358,6 +359,7 @@ func Convert_v1_PodSpec_To_core_PodSpec(in *v1.PodSpec, out *core.PodSpec, s con out.SecurityContext.HostPID = in.HostPID out.SecurityContext.HostIPC = in.HostIPC out.SecurityContext.ShareProcessNamespace = in.ShareProcessNamespace + out.SecurityContext.HostUsers = in.HostUsers return nil } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/v1/helper/helpers.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/v1/helper/helpers.go index 1a7aa4458f3a..fbc733d09cc5 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/v1/helper/helpers.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/v1/helper/helpers.go @@ -370,3 +370,62 @@ func ScopedResourceSelectorRequirementsAsSelector(ssr v1.ScopedResourceSelectorR selector = selector.Add(*r) return selector, nil } + +// nodeSelectorRequirementsAsLabelRequirements converts the NodeSelectorRequirement +// type to a labels.Requirement type. +func nodeSelectorRequirementsAsLabelRequirements(nsr v1.NodeSelectorRequirement) (*labels.Requirement, error) { + var op selection.Operator + switch nsr.Operator { + case v1.NodeSelectorOpIn: + op = selection.In + case v1.NodeSelectorOpNotIn: + op = selection.NotIn + case v1.NodeSelectorOpExists: + op = selection.Exists + case v1.NodeSelectorOpDoesNotExist: + op = selection.DoesNotExist + case v1.NodeSelectorOpGt: + op = selection.GreaterThan + case v1.NodeSelectorOpLt: + op = selection.LessThan + default: + return nil, fmt.Errorf("%q is not a valid node selector operator", nsr.Operator) + } + return labels.NewRequirement(nsr.Key, op, nsr.Values) +} + +// NodeSelectorAsSelector converts the NodeSelector api type into a struct that +// implements labels.Selector +// Note: This function should be kept in sync with the selector methods in +// pkg/labels/selector.go +func NodeSelectorAsSelector(ns *v1.NodeSelector) (labels.Selector, error) { + if ns == nil { + return labels.Nothing(), nil + } + if len(ns.NodeSelectorTerms) == 0 { + return labels.Everything(), nil + } + var requirements []labels.Requirement + + for _, nsTerm := range ns.NodeSelectorTerms { + for _, expr := range nsTerm.MatchExpressions { + req, err := nodeSelectorRequirementsAsLabelRequirements(expr) + if err != nil { + return nil, err + } + requirements = append(requirements, *req) + } + + for _, field := range nsTerm.MatchFields { + req, err := nodeSelectorRequirementsAsLabelRequirements(field) + if err != nil { + return nil, err + } + requirements = append(requirements, *req) + } + } + + selector := labels.NewSelector() + selector = selector.Add(requirements...) + return selector, nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/v1/zz_generated.conversion.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/v1/zz_generated.conversion.go index 007b03252889..696b435c235b 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/v1/zz_generated.conversion.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/v1/zz_generated.conversion.go @@ -6093,6 +6093,7 @@ func autoConvert_core_PodSecurityContext_To_v1_PodSecurityContext(in *core.PodSe // INFO: in.HostPID opted out of conversion generation // INFO: in.HostIPC opted out of conversion generation // INFO: in.ShareProcessNamespace opted out of conversion generation + // INFO: in.HostUsers opted out of conversion generation out.SELinuxOptions = (*v1.SELinuxOptions)(unsafe.Pointer(in.SELinuxOptions)) out.WindowsOptions = (*v1.WindowsSecurityContextOptions)(unsafe.Pointer(in.WindowsOptions)) out.RunAsUser = (*int64)(unsafe.Pointer(in.RunAsUser)) @@ -6186,6 +6187,7 @@ func autoConvert_v1_PodSpec_To_core_PodSpec(in *v1.PodSpec, out *core.PodSpec, s out.TopologySpreadConstraints = *(*[]core.TopologySpreadConstraint)(unsafe.Pointer(&in.TopologySpreadConstraints)) out.SetHostnameAsFQDN = (*bool)(unsafe.Pointer(in.SetHostnameAsFQDN)) out.OS = (*core.PodOS)(unsafe.Pointer(in.OS)) + // INFO: in.HostUsers opted out of conversion generation return nil } @@ -7709,7 +7711,7 @@ func autoConvert_v1_ServiceSpec_To_core_ServiceSpec(in *v1.ServiceSpec, out *cor out.PublishNotReadyAddresses = in.PublishNotReadyAddresses out.SessionAffinityConfig = (*core.SessionAffinityConfig)(unsafe.Pointer(in.SessionAffinityConfig)) out.IPFamilies = *(*[]core.IPFamily)(unsafe.Pointer(&in.IPFamilies)) - out.IPFamilyPolicy = (*core.IPFamilyPolicyType)(unsafe.Pointer(in.IPFamilyPolicy)) + out.IPFamilyPolicy = (*core.IPFamilyPolicy)(unsafe.Pointer(in.IPFamilyPolicy)) out.AllocateLoadBalancerNodePorts = (*bool)(unsafe.Pointer(in.AllocateLoadBalancerNodePorts)) out.LoadBalancerClass = (*string)(unsafe.Pointer(in.LoadBalancerClass)) out.InternalTrafficPolicy = (*core.ServiceInternalTrafficPolicyType)(unsafe.Pointer(in.InternalTrafficPolicy)) @@ -7728,7 +7730,7 @@ func autoConvert_core_ServiceSpec_To_v1_ServiceSpec(in *core.ServiceSpec, out *v out.ClusterIP = in.ClusterIP out.ClusterIPs = *(*[]string)(unsafe.Pointer(&in.ClusterIPs)) out.IPFamilies = *(*[]v1.IPFamily)(unsafe.Pointer(&in.IPFamilies)) - out.IPFamilyPolicy = (*v1.IPFamilyPolicyType)(unsafe.Pointer(in.IPFamilyPolicy)) + out.IPFamilyPolicy = (*v1.IPFamilyPolicy)(unsafe.Pointer(in.IPFamilyPolicy)) out.ExternalName = in.ExternalName out.ExternalIPs = *(*[]string)(unsafe.Pointer(&in.ExternalIPs)) out.LoadBalancerIP = in.LoadBalancerIP @@ -7999,6 +8001,7 @@ func autoConvert_v1_TopologySpreadConstraint_To_core_TopologySpreadConstraint(in out.MinDomains = (*int32)(unsafe.Pointer(in.MinDomains)) out.NodeAffinityPolicy = (*core.NodeInclusionPolicy)(unsafe.Pointer(in.NodeAffinityPolicy)) out.NodeTaintsPolicy = (*core.NodeInclusionPolicy)(unsafe.Pointer(in.NodeTaintsPolicy)) + out.MatchLabelKeys = *(*[]string)(unsafe.Pointer(&in.MatchLabelKeys)) return nil } @@ -8015,6 +8018,7 @@ func autoConvert_core_TopologySpreadConstraint_To_v1_TopologySpreadConstraint(in out.MinDomains = (*int32)(unsafe.Pointer(in.MinDomains)) out.NodeAffinityPolicy = (*v1.NodeInclusionPolicy)(unsafe.Pointer(in.NodeAffinityPolicy)) out.NodeTaintsPolicy = (*v1.NodeInclusionPolicy)(unsafe.Pointer(in.NodeTaintsPolicy)) + out.MatchLabelKeys = *(*[]string)(unsafe.Pointer(&in.MatchLabelKeys)) return nil } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/validation/events.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/validation/events.go index ca7b88b640e5..eeecac218e55 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/validation/events.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/validation/events.go @@ -40,7 +40,7 @@ const ( func ValidateEventCreate(event *core.Event, requestVersion schema.GroupVersion) field.ErrorList { // Make sure events always pass legacy validation. - allErrs := legacyValidateEvent(event) + allErrs := legacyValidateEvent(event, requestVersion) if requestVersion == v1.SchemeGroupVersion || requestVersion == eventsv1beta1.SchemeGroupVersion { // No further validation for backwards compatibility. return allErrs @@ -73,7 +73,7 @@ func ValidateEventCreate(event *core.Event, requestVersion schema.GroupVersion) func ValidateEventUpdate(newEvent, oldEvent *core.Event, requestVersion schema.GroupVersion) field.ErrorList { // Make sure the new event always passes legacy validation. - allErrs := legacyValidateEvent(newEvent) + allErrs := legacyValidateEvent(newEvent, requestVersion) if requestVersion == v1.SchemeGroupVersion || requestVersion == eventsv1beta1.SchemeGroupVersion { // No further validation for backwards compatibility. return allErrs @@ -119,11 +119,16 @@ func validateV1EventSeries(event *core.Event) field.ErrorList { } // legacyValidateEvent makes sure that the event makes sense. -func legacyValidateEvent(event *core.Event) field.ErrorList { +func legacyValidateEvent(event *core.Event, requestVersion schema.GroupVersion) field.ErrorList { allErrs := field.ErrorList{} // Because go zeroTime := time.Time{} + reportingControllerFieldName := "reportingController" + if requestVersion == v1.SchemeGroupVersion { + reportingControllerFieldName = "reportingComponent" + } + // "New" Events need to have EventTime set, so it's validating old object. if event.EventTime.Time == zeroTime { // Make sure event.Namespace and the involvedInvolvedObject.Namespace agree @@ -144,9 +149,9 @@ func legacyValidateEvent(event *core.Event) field.ErrorList { allErrs = append(allErrs, field.Invalid(field.NewPath("involvedObject", "namespace"), event.InvolvedObject.Namespace, "does not match event.namespace")) } if len(event.ReportingController) == 0 { - allErrs = append(allErrs, field.Required(field.NewPath("reportingController"), "")) + allErrs = append(allErrs, field.Required(field.NewPath(reportingControllerFieldName), "")) } - allErrs = append(allErrs, ValidateQualifiedName(event.ReportingController, field.NewPath("reportingController"))...) + allErrs = append(allErrs, ValidateQualifiedName(event.ReportingController, field.NewPath(reportingControllerFieldName))...) if len(event.ReportingInstance) == 0 { allErrs = append(allErrs, field.Required(field.NewPath("reportingInstance"), "")) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/validation/validation.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/validation/validation.go index 0e07a8e2a951..25476ce69cb9 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/validation/validation.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/validation/validation.go @@ -45,7 +45,6 @@ import ( schedulinghelper "k8s.io/component-helpers/scheduling/corev1" apiservice "k8s.io/kubernetes/pkg/api/service" "k8s.io/kubernetes/pkg/apis/core" - api "k8s.io/kubernetes/pkg/apis/core" "k8s.io/kubernetes/pkg/apis/core/helper" podshelper "k8s.io/kubernetes/pkg/apis/core/pods" corev1 "k8s.io/kubernetes/pkg/apis/core/v1" @@ -1532,13 +1531,16 @@ func validateStorageOSPersistentVolumeSource(storageos *core.StorageOSPersistent // validatePVSecretReference check whether provided SecretReference object is valid in terms of secret name and namespace. -func validatePVSecretReference(secretRef *core.SecretReference, fldPath *field.Path) field.ErrorList { +func validatePVSecretReference(secretRef *core.SecretReference, allowDNSSubDomainSecretName bool, fldPath *field.Path) field.ErrorList { var allErrs field.ErrorList if len(secretRef.Name) == 0 { allErrs = append(allErrs, field.Required(fldPath.Child("name"), "")) + } else if allowDNSSubDomainSecretName { + allErrs = append(allErrs, ValidateDNS1123Subdomain(secretRef.Name, fldPath.Child("name"))...) } else { allErrs = append(allErrs, ValidateDNS1123Label(secretRef.Name, fldPath.Child("name"))...) } + if len(secretRef.Namespace) == 0 { allErrs = append(allErrs, field.Required(fldPath.Child("namespace"), "")) } else { @@ -1565,7 +1567,7 @@ func ValidateCSIDriverName(driverName string, fldPath *field.Path) field.ErrorLi return allErrs } -func validateCSIPersistentVolumeSource(csi *core.CSIPersistentVolumeSource, fldPath *field.Path) field.ErrorList { +func validateCSIPersistentVolumeSource(csi *core.CSIPersistentVolumeSource, allowDNSSubDomainSecretName bool, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} allErrs = append(allErrs, ValidateCSIDriverName(csi.Driver, fldPath.Child("driver"))...) @@ -1574,16 +1576,16 @@ func validateCSIPersistentVolumeSource(csi *core.CSIPersistentVolumeSource, fldP allErrs = append(allErrs, field.Required(fldPath.Child("volumeHandle"), "")) } if csi.ControllerPublishSecretRef != nil { - allErrs = append(allErrs, validatePVSecretReference(csi.ControllerPublishSecretRef, fldPath.Child("controllerPublishSecretRef"))...) + allErrs = append(allErrs, validatePVSecretReference(csi.ControllerPublishSecretRef, allowDNSSubDomainSecretName, fldPath.Child("controllerPublishSecretRef"))...) } if csi.ControllerExpandSecretRef != nil { - allErrs = append(allErrs, validatePVSecretReference(csi.ControllerExpandSecretRef, fldPath.Child("controllerExpandSecretRef"))...) + allErrs = append(allErrs, validatePVSecretReference(csi.ControllerExpandSecretRef, allowDNSSubDomainSecretName, fldPath.Child("controllerExpandSecretRef"))...) } if csi.NodePublishSecretRef != nil { - allErrs = append(allErrs, validatePVSecretReference(csi.NodePublishSecretRef, fldPath.Child("nodePublishSecretRef"))...) + allErrs = append(allErrs, validatePVSecretReference(csi.NodePublishSecretRef, allowDNSSubDomainSecretName, fldPath.Child("nodePublishSecretRef"))...) } if csi.NodeExpandSecretRef != nil { - allErrs = append(allErrs, validatePVSecretReference(csi.NodeExpandSecretRef, fldPath.Child("nodeExpandSecretRef"))...) + allErrs = append(allErrs, validatePVSecretReference(csi.NodeExpandSecretRef, allowDNSSubDomainSecretName, fldPath.Child("nodeExpandSecretRef"))...) } return allErrs } @@ -1645,6 +1647,8 @@ var allowedPVCTemplateObjectMetaFields = map[string]bool{ type PersistentVolumeSpecValidationOptions struct { // Allow spec to contain the "ReadWiteOncePod" access mode AllowReadWriteOncePod bool + // Allow the secretRef Name field to be of DNSSubDomain Format + AllowDNSSubDomainSecretName bool } // ValidatePersistentVolumeName checks that a name is appropriate for a @@ -1659,7 +1663,8 @@ var supportedVolumeModes = sets.NewString(string(core.PersistentVolumeBlock), st func ValidationOptionsForPersistentVolume(pv, oldPv *core.PersistentVolume) PersistentVolumeSpecValidationOptions { opts := PersistentVolumeSpecValidationOptions{ - AllowReadWriteOncePod: utilfeature.DefaultFeatureGate.Enabled(features.ReadWriteOncePod), + AllowReadWriteOncePod: utilfeature.DefaultFeatureGate.Enabled(features.ReadWriteOncePod), + AllowDNSSubDomainSecretName: false, } if oldPv == nil { // If there's no old PV, use the options based solely on feature enablement @@ -1669,9 +1674,21 @@ func ValidationOptionsForPersistentVolume(pv, oldPv *core.PersistentVolume) Pers // If the old object allowed "ReadWriteOncePod", continue to allow it in the new object opts.AllowReadWriteOncePod = true } + if oldCSI := oldPv.Spec.CSI; oldCSI != nil { + opts.AllowDNSSubDomainSecretName = + secretRefRequiresSubdomainSecretName(oldCSI.ControllerExpandSecretRef) || + secretRefRequiresSubdomainSecretName(oldCSI.ControllerPublishSecretRef) || + secretRefRequiresSubdomainSecretName(oldCSI.NodeStageSecretRef) || + secretRefRequiresSubdomainSecretName(oldCSI.NodePublishSecretRef) + } return opts } +func secretRefRequiresSubdomainSecretName(secretRef *core.SecretReference) bool { + // ref and name were specified and name didn't fit within label validation + return secretRef != nil && len(secretRef.Name) > 0 && len(validation.IsDNS1123Label(secretRef.Name)) > 0 +} + func ValidatePersistentVolumeSpec(pvSpec *core.PersistentVolumeSpec, pvName string, validateInlinePersistentVolumeSpec bool, fldPath *field.Path, opts PersistentVolumeSpecValidationOptions) field.ErrorList { allErrs := field.ErrorList{} @@ -1926,7 +1943,7 @@ func ValidatePersistentVolumeSpec(pvSpec *core.PersistentVolumeSpec, pvName stri allErrs = append(allErrs, field.Forbidden(fldPath.Child("csi"), "may not specify more than 1 volume type")) } else { numVolumes++ - allErrs = append(allErrs, validateCSIPersistentVolumeSource(pvSpec.CSI, fldPath.Child("csi"))...) + allErrs = append(allErrs, validateCSIPersistentVolumeSource(pvSpec.CSI, opts.AllowDNSSubDomainSecretName, fldPath.Child("csi"))...) } } @@ -2010,12 +2027,15 @@ type PersistentVolumeClaimSpecValidationOptions struct { AllowReadWriteOncePod bool // Allow users to recover from previously failing expansion operation EnableRecoverFromExpansionFailure bool + // Allow assigning StorageClass to unbound PVCs retroactively + EnableRetroactiveDefaultStorageClass bool } func ValidationOptionsForPersistentVolumeClaim(pvc, oldPvc *core.PersistentVolumeClaim) PersistentVolumeClaimSpecValidationOptions { opts := PersistentVolumeClaimSpecValidationOptions{ - AllowReadWriteOncePod: utilfeature.DefaultFeatureGate.Enabled(features.ReadWriteOncePod), - EnableRecoverFromExpansionFailure: utilfeature.DefaultFeatureGate.Enabled(features.RecoverVolumeExpansionFailure), + AllowReadWriteOncePod: utilfeature.DefaultFeatureGate.Enabled(features.ReadWriteOncePod), + EnableRecoverFromExpansionFailure: utilfeature.DefaultFeatureGate.Enabled(features.RecoverVolumeExpansionFailure), + EnableRetroactiveDefaultStorageClass: utilfeature.DefaultFeatureGate.Enabled(features.RetroactiveDefaultStorageClass), } if oldPvc == nil { // If there's no old PVC, use the options based solely on feature enablement @@ -2151,7 +2171,7 @@ func ValidatePersistentVolumeClaimUpdate(newPvc, oldPvc *core.PersistentVolumeCl oldPvcClone.Spec.VolumeName = newPvcClone.Spec.VolumeName // +k8s:verify-mutation:reason=clone } - if validateStorageClassUpgrade(oldPvcClone.Annotations, newPvcClone.Annotations, + if validateStorageClassUpgradeFromAnnotation(oldPvcClone.Annotations, newPvcClone.Annotations, oldPvcClone.Spec.StorageClassName, newPvcClone.Spec.StorageClassName) { newPvcClone.Spec.StorageClassName = nil metav1.SetMetaDataAnnotation(&newPvcClone.ObjectMeta, core.BetaStorageClassAnnotation, oldPvcClone.Annotations[core.BetaStorageClassAnnotation]) @@ -2159,6 +2179,13 @@ func ValidatePersistentVolumeClaimUpdate(newPvc, oldPvc *core.PersistentVolumeCl // storageclass annotation should be immutable after creation // TODO: remove Beta when no longer needed allErrs = append(allErrs, ValidateImmutableAnnotation(newPvc.ObjectMeta.Annotations[v1.BetaStorageClassAnnotation], oldPvc.ObjectMeta.Annotations[v1.BetaStorageClassAnnotation], v1.BetaStorageClassAnnotation, field.NewPath("metadata"))...) + + // If update from annotation to attribute failed we can attempt try to validate update from nil value. + if validateStorageClassUpgradeFromNil(oldPvc.Annotations, oldPvc.Spec.StorageClassName, newPvc.Spec.StorageClassName, opts) { + newPvcClone.Spec.StorageClassName = oldPvcClone.Spec.StorageClassName // +k8s:verify-mutation:reason=clone + } + // TODO: add a specific error with a hint that storage class name can not be changed + // (instead of letting spec comparison below return generic field forbidden error) } // lets make sure storage values are same. @@ -2199,7 +2226,7 @@ func ValidatePersistentVolumeClaimUpdate(newPvc, oldPvc *core.PersistentVolumeCl // 2. The old pvc's StorageClassName is not set // 3. The new pvc's StorageClassName is set and equal to the old value in annotation // 4. If the new pvc's StorageClassAnnotation is set,it must be equal to the old pv/pvc's StorageClassAnnotation -func validateStorageClassUpgrade(oldAnnotations, newAnnotations map[string]string, oldScName, newScName *string) bool { +func validateStorageClassUpgradeFromAnnotation(oldAnnotations, newAnnotations map[string]string, oldScName, newScName *string) bool { oldSc, oldAnnotationExist := oldAnnotations[core.BetaStorageClassAnnotation] newScInAnnotation, newAnnotationExist := newAnnotations[core.BetaStorageClassAnnotation] return oldAnnotationExist /* condition 1 */ && @@ -2208,6 +2235,20 @@ func validateStorageClassUpgrade(oldAnnotations, newAnnotations map[string]strin (!newAnnotationExist || newScInAnnotation == oldSc) /* condition 4 */ } +// Provide an upgrade path from PVC with nil storage class. We allow update of +// StorageClassName only if following four conditions are met at the same time: +// 1. RetroactiveDefaultStorageClass FeatureGate is enabled +// 2. The new pvc's StorageClassName is not nil +// 3. The old pvc's StorageClassName is nil +// 4. The old pvc either does not have beta annotation set, or the beta annotation matches new pvc's StorageClassName +func validateStorageClassUpgradeFromNil(oldAnnotations map[string]string, oldScName, newScName *string, opts PersistentVolumeClaimSpecValidationOptions) bool { + oldAnnotation, oldAnnotationExist := oldAnnotations[core.BetaStorageClassAnnotation] + return opts.EnableRetroactiveDefaultStorageClass /* condition 1 */ && + newScName != nil /* condition 2 */ && + oldScName == nil /* condition 3 */ && + (!oldAnnotationExist || *newScName == oldAnnotation) /* condition 4 */ +} + var resizeStatusSet = sets.NewString(string(core.PersistentVolumeClaimNoExpansionInProgress), string(core.PersistentVolumeClaimControllerExpansionInProgress), string(core.PersistentVolumeClaimControllerExpansionFailed), @@ -2890,6 +2931,8 @@ func validatePullPolicy(policy core.PullPolicy, fldPath *field.Path) field.Error return allErrors } +// validateEphemeralContainers is called by pod spec and template validation to validate the list of ephemeral containers. +// Note that this is called for pod template even though ephemeral containers aren't allowed in pod templates. func validateEphemeralContainers(ephemeralContainers []core.EphemeralContainer, containers, initContainers []core.Container, volumes map[string]core.VolumeSource, fldPath *field.Path, opts PodValidationOptions) field.ErrorList { allErrs := field.ErrorList{} @@ -2897,44 +2940,40 @@ func validateEphemeralContainers(ephemeralContainers []core.EphemeralContainer, return allErrs } - allNames := sets.String{} + otherNames, allNames := sets.String{}, sets.String{} for _, c := range containers { + otherNames.Insert(c.Name) allNames.Insert(c.Name) } for _, c := range initContainers { + otherNames.Insert(c.Name) allNames.Insert(c.Name) } for i, ec := range ephemeralContainers { idxPath := fldPath.Index(i) - if ec.TargetContainerName != "" && !allNames.Has(ec.TargetContainerName) { - allErrs = append(allErrs, field.NotFound(idxPath.Child("targetContainerName"), ec.TargetContainerName)) - } - - if ec.Name == "" { - allErrs = append(allErrs, field.Required(idxPath, "ephemeralContainer requires a name")) - continue - } - - // Using validateContainers() here isn't ideal because it adds an index to the error message that - // doesn't really exist for EphemeralContainers (i.e. ephemeralContainers[0].spec[0].name instead - // of ephemeralContainers[0].spec.name) - // TODO(verb): factor a validateContainer() out of validateContainers() to be used here - c := core.Container(ec.EphemeralContainerCommon) - allErrs = append(allErrs, validateContainers([]core.Container{c}, false, volumes, idxPath, opts)...) - // EphemeralContainers don't require the backwards-compatibility distinction between pod/podTemplate validation - allErrs = append(allErrs, validateContainersOnlyForPod([]core.Container{c}, idxPath)...) + c := (*core.Container)(&ec.EphemeralContainerCommon) + allErrs = append(allErrs, validateContainerCommon(c, volumes, idxPath, opts)...) + // Ephemeral containers don't need looser constraints for pod templates, so it's convenient to apply both validations + // here where we've already converted EphemeralContainerCommon to Container. + allErrs = append(allErrs, validateContainerOnlyForPod(c, idxPath)...) + // Ephemeral containers must have a name unique across all container types. if allNames.Has(ec.Name) { allErrs = append(allErrs, field.Duplicate(idxPath.Child("name"), ec.Name)) } else { allNames.Insert(ec.Name) } - // Ephemeral Containers should not be relied upon for fundamental pod services, so fields such as + // The target container name must exist and be non-ephemeral. + if ec.TargetContainerName != "" && !otherNames.Has(ec.TargetContainerName) { + allErrs = append(allErrs, field.NotFound(idxPath.Child("targetContainerName"), ec.TargetContainerName)) + } + + // Ephemeral containers should not be relied upon for fundamental pod services, so fields such as // Lifecycle, probes, resources and ports should be disallowed. This is implemented as a list - // of allowed fields so that new fields will be given consideration prior to inclusion in Ephemeral Containers. + // of allowed fields so that new fields will be given consideration prior to inclusion in ephemeral containers. allErrs = append(allErrs, validateFieldAllowList(ec.EphemeralContainerCommon, allowedEphemeralContainerFields, "cannot be set for an Ephemeral Container", idxPath)...) // VolumeMount subpaths have the potential to leak resources since they're implemented with bind mounts @@ -2976,41 +3015,142 @@ func validateFieldAllowList(value interface{}, allowedFields map[string]bool, er return allErrs } -func validateInitContainers(containers []core.Container, otherContainers []core.Container, deviceVolumes map[string]core.VolumeSource, fldPath *field.Path, opts PodValidationOptions) field.ErrorList { +// validateInitContainers is called by pod spec and template validation to validate the list of init containers +func validateInitContainers(containers []core.Container, regularContainers []core.Container, volumes map[string]core.VolumeSource, fldPath *field.Path, opts PodValidationOptions) field.ErrorList { var allErrs field.ErrorList - if len(containers) > 0 { - allErrs = append(allErrs, validateContainers(containers, true, deviceVolumes, fldPath, opts)...) - } allNames := sets.String{} - for _, ctr := range otherContainers { + for _, ctr := range regularContainers { allNames.Insert(ctr.Name) } for i, ctr := range containers { idxPath := fldPath.Index(i) + + // Apply the validation common to all container types + allErrs = append(allErrs, validateContainerCommon(&ctr, volumes, idxPath, opts)...) + + // Names must be unique within regular and init containers. Collisions with ephemeral containers + // will be detected by validateEphemeralContainers(). if allNames.Has(ctr.Name) { allErrs = append(allErrs, field.Duplicate(idxPath.Child("name"), ctr.Name)) - } - if len(ctr.Name) > 0 { + } else if len(ctr.Name) > 0 { allNames.Insert(ctr.Name) } + + // Check for port conflicts in init containers individually since init containers run one-by-one. + allErrs = append(allErrs, checkHostPortConflicts([]core.Container{ctr}, fldPath)...) + + // These fields are disallowed for init containers. if ctr.Lifecycle != nil { - allErrs = append(allErrs, field.Invalid(idxPath.Child("lifecycle"), ctr.Lifecycle, "must not be set for init containers")) + allErrs = append(allErrs, field.Forbidden(idxPath.Child("lifecycle"), "may not be set for init containers")) } if ctr.LivenessProbe != nil { - allErrs = append(allErrs, field.Invalid(idxPath.Child("livenessProbe"), ctr.LivenessProbe, "must not be set for init containers")) + allErrs = append(allErrs, field.Forbidden(idxPath.Child("livenessProbe"), "may not be set for init containers")) } if ctr.ReadinessProbe != nil { - allErrs = append(allErrs, field.Invalid(idxPath.Child("readinessProbe"), ctr.ReadinessProbe, "must not be set for init containers")) + allErrs = append(allErrs, field.Forbidden(idxPath.Child("readinessProbe"), "may not be set for init containers")) } if ctr.StartupProbe != nil { - allErrs = append(allErrs, field.Invalid(idxPath.Child("startupProbe"), ctr.StartupProbe, "must not be set for init containers")) + allErrs = append(allErrs, field.Forbidden(idxPath.Child("startupProbe"), "may not be set for init containers")) + } + } + + return allErrs +} + +// validateContainerCommon applies validation common to all container types. It's called by regular, init, and ephemeral +// container list validation to require a properly formatted name, image, etc. +func validateContainerCommon(ctr *core.Container, volumes map[string]core.VolumeSource, path *field.Path, opts PodValidationOptions) field.ErrorList { + allErrs := field.ErrorList{} + + namePath := path.Child("name") + if len(ctr.Name) == 0 { + allErrs = append(allErrs, field.Required(namePath, "")) + } else { + allErrs = append(allErrs, ValidateDNS1123Label(ctr.Name, namePath)...) + } + + // TODO: do not validate leading and trailing whitespace to preserve backward compatibility. + // for example: https://github.com/openshift/origin/issues/14659 image = " " is special token in pod template + // others may have done similar + if len(ctr.Image) == 0 { + allErrs = append(allErrs, field.Required(path.Child("image"), "")) + } + + switch ctr.TerminationMessagePolicy { + case core.TerminationMessageReadFile, core.TerminationMessageFallbackToLogsOnError: + case "": + allErrs = append(allErrs, field.Required(path.Child("terminationMessagePolicy"), "")) + default: + supported := []string{ + string(core.TerminationMessageReadFile), + string(core.TerminationMessageFallbackToLogsOnError), + } + allErrs = append(allErrs, field.NotSupported(path.Child("terminationMessagePolicy"), ctr.TerminationMessagePolicy, supported)) + } + + volMounts := GetVolumeMountMap(ctr.VolumeMounts) + volDevices := GetVolumeDeviceMap(ctr.VolumeDevices) + allErrs = append(allErrs, validateContainerPorts(ctr.Ports, path.Child("ports"))...) + allErrs = append(allErrs, ValidateEnv(ctr.Env, path.Child("env"), opts)...) + allErrs = append(allErrs, ValidateEnvFrom(ctr.EnvFrom, path.Child("envFrom"))...) + allErrs = append(allErrs, ValidateVolumeMounts(ctr.VolumeMounts, volDevices, volumes, ctr, path.Child("volumeMounts"))...) + allErrs = append(allErrs, ValidateVolumeDevices(ctr.VolumeDevices, volMounts, volumes, path.Child("volumeDevices"))...) + allErrs = append(allErrs, validatePullPolicy(ctr.ImagePullPolicy, path.Child("imagePullPolicy"))...) + allErrs = append(allErrs, ValidateResourceRequirements(&ctr.Resources, path.Child("resources"), opts)...) + allErrs = append(allErrs, ValidateSecurityContext(ctr.SecurityContext, path.Child("securityContext"))...) + return allErrs +} + +func validateHostUsers(spec *core.PodSpec, fldPath *field.Path) field.ErrorList { + allErrs := field.ErrorList{} + + // Only make the following checks if hostUsers is false (otherwise, the container uses the + // same userns as the host, and so there isn't anything to check). + if spec.SecurityContext == nil || spec.SecurityContext.HostUsers == nil || *spec.SecurityContext.HostUsers == true { + return allErrs + } + + // For now only these volumes are supported: + // - configmap + // - secret + // - downwardAPI + // - emptyDir + // - projected + // So reject anything else. + for i, vol := range spec.Volumes { + switch { + case vol.EmptyDir != nil: + case vol.Secret != nil: + case vol.DownwardAPI != nil: + case vol.ConfigMap != nil: + case vol.Projected != nil: + default: + allErrs = append(allErrs, field.Forbidden(fldPath.Child("volumes").Index(i), "volume type not supported when `pod.Spec.HostUsers` is false")) } } + + // We decided to restrict the usage of userns with other host namespaces: + // https://github.com/kubernetes/kubernetes/pull/111090#discussion_r935994282 + // The tl;dr is: you can easily run into permission issues that seem unexpected, we don't + // know of any good use case and we can always enable them later. + + // Note we already validated above spec.SecurityContext is not nil. + if spec.SecurityContext.HostNetwork { + allErrs = append(allErrs, field.Forbidden(fldPath.Child("hostNetwork"), "when `pod.Spec.HostUsers` is false")) + } + if spec.SecurityContext.HostPID { + allErrs = append(allErrs, field.Forbidden(fldPath.Child("HostPID"), "when `pod.Spec.HostUsers` is false")) + } + if spec.SecurityContext.HostIPC { + allErrs = append(allErrs, field.Forbidden(fldPath.Child("HostIPC"), "when `pod.Spec.HostUsers` is false")) + } + return allErrs } -func validateContainers(containers []core.Container, isInitContainers bool, volumes map[string]core.VolumeSource, fldPath *field.Path, opts PodValidationOptions) field.ErrorList { +// validateContainers is called by pod spec and template validation to validate the list of regular containers. +func validateContainers(containers []core.Container, volumes map[string]core.VolumeSource, fldPath *field.Path, opts PodValidationOptions) field.ErrorList { allErrs := field.ErrorList{} if len(containers) == 0 { @@ -3019,74 +3159,41 @@ func validateContainers(containers []core.Container, isInitContainers bool, volu allNames := sets.String{} for i, ctr := range containers { - idxPath := fldPath.Index(i) - namePath := idxPath.Child("name") - volMounts := GetVolumeMountMap(ctr.VolumeMounts) - volDevices := GetVolumeDeviceMap(ctr.VolumeDevices) + path := fldPath.Index(i) - if len(ctr.Name) == 0 { - allErrs = append(allErrs, field.Required(namePath, "")) - } else { - allErrs = append(allErrs, ValidateDNS1123Label(ctr.Name, namePath)...) - } + // Apply validation common to all containers + allErrs = append(allErrs, validateContainerCommon(&ctr, volumes, path, opts)...) + + // Container names must be unique within the list of regular containers. + // Collisions with init or ephemeral container names will be detected by the init or ephemeral + // container validation to prevent duplicate error messages. if allNames.Has(ctr.Name) { - allErrs = append(allErrs, field.Duplicate(namePath, ctr.Name)) + allErrs = append(allErrs, field.Duplicate(path.Child("name"), ctr.Name)) } else { allNames.Insert(ctr.Name) } - // TODO: do not validate leading and trailing whitespace to preserve backward compatibility. - // for example: https://github.com/openshift/origin/issues/14659 image = " " is special token in pod template - // others may have done similar - if len(ctr.Image) == 0 { - allErrs = append(allErrs, field.Required(idxPath.Child("image"), "")) - } + + // These fields are only allowed for regular containers, so only check supported values here. + // Init and ephemeral container validation will return field.Forbidden() for these paths. if ctr.Lifecycle != nil { - allErrs = append(allErrs, validateLifecycle(ctr.Lifecycle, idxPath.Child("lifecycle"))...) + allErrs = append(allErrs, validateLifecycle(ctr.Lifecycle, path.Child("lifecycle"))...) } - allErrs = append(allErrs, validateProbe(ctr.LivenessProbe, idxPath.Child("livenessProbe"))...) - // Readiness-specific validation - if ctr.ReadinessProbe != nil && ctr.ReadinessProbe.TerminationGracePeriodSeconds != nil { - allErrs = append(allErrs, field.Invalid(idxPath.Child("readinessProbe", "terminationGracePeriodSeconds"), ctr.ReadinessProbe.TerminationGracePeriodSeconds, "must not be set for readinessProbes")) - } - allErrs = append(allErrs, validateProbe(ctr.StartupProbe, idxPath.Child("startupProbe"))...) - // Liveness-specific validation + allErrs = append(allErrs, validateProbe(ctr.LivenessProbe, path.Child("livenessProbe"))...) if ctr.LivenessProbe != nil && ctr.LivenessProbe.SuccessThreshold != 1 { - allErrs = append(allErrs, field.Invalid(idxPath.Child("livenessProbe", "successThreshold"), ctr.LivenessProbe.SuccessThreshold, "must be 1")) + allErrs = append(allErrs, field.Invalid(path.Child("livenessProbe", "successThreshold"), ctr.LivenessProbe.SuccessThreshold, "must be 1")) } - allErrs = append(allErrs, validateProbe(ctr.StartupProbe, idxPath.Child("startupProbe"))...) - // Startup-specific validation - if ctr.StartupProbe != nil && ctr.StartupProbe.SuccessThreshold != 1 { - allErrs = append(allErrs, field.Invalid(idxPath.Child("startupProbe", "successThreshold"), ctr.StartupProbe.SuccessThreshold, "must be 1")) + allErrs = append(allErrs, validateProbe(ctr.ReadinessProbe, path.Child("readinessProbe"))...) + if ctr.ReadinessProbe != nil && ctr.ReadinessProbe.TerminationGracePeriodSeconds != nil { + allErrs = append(allErrs, field.Invalid(path.Child("readinessProbe", "terminationGracePeriodSeconds"), ctr.ReadinessProbe.TerminationGracePeriodSeconds, "must not be set for readinessProbes")) } - - switch ctr.TerminationMessagePolicy { - case core.TerminationMessageReadFile, core.TerminationMessageFallbackToLogsOnError: - case "": - allErrs = append(allErrs, field.Required(idxPath.Child("terminationMessagePolicy"), "must be 'File' or 'FallbackToLogsOnError'")) - default: - allErrs = append(allErrs, field.Invalid(idxPath.Child("terminationMessagePolicy"), ctr.TerminationMessagePolicy, "must be 'File' or 'FallbackToLogsOnError'")) + allErrs = append(allErrs, validateProbe(ctr.StartupProbe, path.Child("startupProbe"))...) + if ctr.StartupProbe != nil && ctr.StartupProbe.SuccessThreshold != 1 { + allErrs = append(allErrs, field.Invalid(path.Child("startupProbe", "successThreshold"), ctr.StartupProbe.SuccessThreshold, "must be 1")) } - - allErrs = append(allErrs, validateProbe(ctr.ReadinessProbe, idxPath.Child("readinessProbe"))...) - allErrs = append(allErrs, validateContainerPorts(ctr.Ports, idxPath.Child("ports"))...) - allErrs = append(allErrs, ValidateEnv(ctr.Env, idxPath.Child("env"), opts)...) - allErrs = append(allErrs, ValidateEnvFrom(ctr.EnvFrom, idxPath.Child("envFrom"))...) - allErrs = append(allErrs, ValidateVolumeMounts(ctr.VolumeMounts, volDevices, volumes, &ctr, idxPath.Child("volumeMounts"))...) - allErrs = append(allErrs, ValidateVolumeDevices(ctr.VolumeDevices, volMounts, volumes, idxPath.Child("volumeDevices"))...) - allErrs = append(allErrs, validatePullPolicy(ctr.ImagePullPolicy, idxPath.Child("imagePullPolicy"))...) - allErrs = append(allErrs, ValidateResourceRequirements(&ctr.Resources, idxPath.Child("resources"), opts)...) - allErrs = append(allErrs, ValidateSecurityContext(ctr.SecurityContext, idxPath.Child("securityContext"))...) } - if isInitContainers { - // check initContainers one by one since they are running in sequential order. - for _, initContainer := range containers { - allErrs = append(allErrs, checkHostPortConflicts([]core.Container{initContainer}, fldPath)...) - } - } else { - // Check for colliding ports across all containers. - allErrs = append(allErrs, checkHostPortConflicts(containers, fldPath)...) - } + // Port conflicts are checked across all containers + allErrs = append(allErrs, checkHostPortConflicts(containers, fldPath)...) return allErrs } @@ -3372,14 +3479,22 @@ func ValidateTolerations(tolerations []core.Toleration, fldPath *field.Path) fie } // validateContainersOnlyForPod does additional validation for containers on a pod versus a pod template -// it only does additive validation of fields not covered in validateContainers +// it only does additive validation of fields not covered in validateContainers and is not called for +// ephemeral containers which require a conversion to core.Container. func validateContainersOnlyForPod(containers []core.Container, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} for i, ctr := range containers { - idxPath := fldPath.Index(i) - if len(ctr.Image) != len(strings.TrimSpace(ctr.Image)) { - allErrs = append(allErrs, field.Invalid(idxPath.Child("image"), ctr.Image, "must not have leading or trailing whitespace")) - } + allErrs = append(allErrs, validateContainerOnlyForPod(&ctr, fldPath.Index(i))...) + } + return allErrs +} + +// validateContainerOnlyForPod does pod-only (i.e. not pod template) validation for a single container. +// This is called by validateContainersOnlyForPod and validateEphemeralContainers directly. +func validateContainerOnlyForPod(ctr *core.Container, path *field.Path) field.ErrorList { + allErrs := field.ErrorList{} + if len(ctr.Image) != len(strings.TrimSpace(ctr.Image)) { + allErrs = append(allErrs, field.Invalid(path.Child("image"), ctr.Image, "must not have leading or trailing whitespace")) } return allErrs } @@ -3396,10 +3511,6 @@ type PodValidationOptions struct { AllowWindowsHostProcessField bool // Allow more DNSSearchPaths and longer DNSSearchListChars AllowExpandedDNSConfig bool - // Allow OSField to be set in the pod spec - AllowOSField bool - // Allow sysctl name to contain a slash - AllowSysctlRegexContainSlash bool } // validatePodMetadataAndSpec tests if required fields in the pod.metadata and pod.spec are set, @@ -3430,6 +3541,7 @@ func validatePodMetadataAndSpec(pod *core.Pod, opts PodValidationOptions) field. allErrs = append(allErrs, validateContainersOnlyForPod(pod.Spec.Containers, specPath.Child("containers"))...) allErrs = append(allErrs, validateContainersOnlyForPod(pod.Spec.InitContainers, specPath.Child("initContainers"))...) + // validateContainersOnlyForPod() is checked for ephemeral containers by validateEphemeralContainers() return allErrs } @@ -3490,7 +3602,7 @@ func ValidatePodSpec(spec *core.PodSpec, podMeta *metav1.ObjectMeta, fldPath *fi vols, vErrs := ValidateVolumes(spec.Volumes, podMeta, fldPath.Child("volumes"), opts) allErrs = append(allErrs, vErrs...) - allErrs = append(allErrs, validateContainers(spec.Containers, false, vols, fldPath.Child("containers"), opts)...) + allErrs = append(allErrs, validateContainers(spec.Containers, vols, fldPath.Child("containers"), opts)...) allErrs = append(allErrs, validateInitContainers(spec.InitContainers, spec.Containers, vols, fldPath.Child("initContainers"), opts)...) allErrs = append(allErrs, validateEphemeralContainers(spec.EphemeralContainers, spec.Containers, spec.InitContainers, vols, fldPath.Child("ephemeralContainers"), opts)...) allErrs = append(allErrs, validateRestartPolicy(&spec.RestartPolicy, fldPath.Child("restartPolicy"))...) @@ -3503,6 +3615,7 @@ func ValidatePodSpec(spec *core.PodSpec, podMeta *metav1.ObjectMeta, fldPath *fi allErrs = append(allErrs, validateReadinessGates(spec.ReadinessGates, fldPath.Child("readinessGates"))...) allErrs = append(allErrs, validateTopologySpreadConstraints(spec.TopologySpreadConstraints, fldPath.Child("topologySpreadConstraints"))...) allErrs = append(allErrs, validateWindowsHostProcessPod(spec, fldPath, opts)...) + allErrs = append(allErrs, validateHostUsers(spec, fldPath)...) if len(spec.ServiceAccountName) > 0 { for _, msg := range ValidateServiceAccountName(spec.ServiceAccountName, false) { allErrs = append(allErrs, field.Invalid(fldPath.Child("serviceAccountName"), spec.ServiceAccountName, msg)) @@ -3595,6 +3708,9 @@ func validateWindows(spec *core.PodSpec, fldPath *field.Path) field.ErrorList { if securityContext.SELinuxOptions != nil { allErrs = append(allErrs, field.Forbidden(fldPath.Child("securityContext").Child("seLinuxOptions"), "cannot be set for a windows pod")) } + if securityContext.HostUsers != nil { + allErrs = append(allErrs, field.Forbidden(fldPath.Child("hostUsers"), "cannot be set for a windows pod")) + } if securityContext.HostPID { allErrs = append(allErrs, field.Forbidden(fldPath.Child("hostPID"), "cannot be set for a windows pod")) } @@ -4058,9 +4174,6 @@ const ( // a sysctl segment regex, concatenated with dots to form a sysctl name SysctlSegmentFmt string = "[a-z0-9]([-_a-z0-9]*[a-z0-9])?" - // a sysctl name regex - SysctlFmt string = "(" + SysctlSegmentFmt + "\\.)*" + SysctlSegmentFmt - // a sysctl name regex with slash allowed SysctlContainSlashFmt string = "(" + SysctlSegmentFmt + "[\\./])*" + SysctlSegmentFmt @@ -4068,41 +4181,29 @@ const ( SysctlMaxLength int = 253 ) -var sysctlRegexp = regexp.MustCompile("^" + SysctlFmt + "$") - var sysctlContainSlashRegexp = regexp.MustCompile("^" + SysctlContainSlashFmt + "$") // IsValidSysctlName checks that the given string is a valid sysctl name, -// i.e. matches SysctlFmt (or SysctlContainSlashFmt if canContainSlash is true). +// i.e. matches SysctlContainSlashFmt. // More info: -// https://man7.org/linux/man-pages/man8/sysctl.8.html -// https://man7.org/linux/man-pages/man5/sysctl.d.5.html -func IsValidSysctlName(name string, canContainSlash bool) bool { +// +// https://man7.org/linux/man-pages/man8/sysctl.8.html +// https://man7.org/linux/man-pages/man5/sysctl.d.5.html +func IsValidSysctlName(name string) bool { if len(name) > SysctlMaxLength { return false } - if canContainSlash { - return sysctlContainSlashRegexp.MatchString(name) - } - return sysctlRegexp.MatchString(name) + return sysctlContainSlashRegexp.MatchString(name) } -func getSysctlFmt(canContainSlash bool) string { - if canContainSlash { - // use relaxed validation everywhere in 1.24 - return SysctlContainSlashFmt - } - // Will be removed in 1.24 - return SysctlFmt -} -func validateSysctls(sysctls []core.Sysctl, fldPath *field.Path, allowSysctlRegexContainSlash bool) field.ErrorList { +func validateSysctls(sysctls []core.Sysctl, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} names := make(map[string]struct{}) for i, s := range sysctls { if len(s.Name) == 0 { allErrs = append(allErrs, field.Required(fldPath.Index(i).Child("name"), "")) - } else if !IsValidSysctlName(s.Name, allowSysctlRegexContainSlash) { - allErrs = append(allErrs, field.Invalid(fldPath.Index(i).Child("name"), s.Name, fmt.Sprintf("must have at most %d characters and match regex %s", SysctlMaxLength, getSysctlFmt(allowSysctlRegexContainSlash)))) + } else if !IsValidSysctlName(s.Name) { + allErrs = append(allErrs, field.Invalid(fldPath.Index(i).Child("name"), s.Name, fmt.Sprintf("must have at most %d characters and match regex %s", SysctlMaxLength, sysctlContainSlashRegexp))) } else if _, ok := names[s.Name]; ok { allErrs = append(allErrs, field.Duplicate(fldPath.Index(i).Child("name"), s.Name)) } @@ -4142,7 +4243,7 @@ func ValidatePodSecurityContext(securityContext *core.PodSecurityContext, spec * } if len(securityContext.Sysctls) != 0 { - allErrs = append(allErrs, validateSysctls(securityContext.Sysctls, fldPath.Child("sysctls"), opts.AllowSysctlRegexContainSlash)...) + allErrs = append(allErrs, validateSysctls(securityContext.Sysctls, fldPath.Child("sysctls"))...) } if securityContext.FSGroupChangePolicy != nil { @@ -4191,7 +4292,7 @@ func ValidatePodCreate(pod *core.Pod, opts PodValidationOptions) field.ErrorList return allErrs } -// ValidateSeccompAnnotationsAndFields iterates through all containers and ensure that when both seccompProfile and seccomp annotations exist they match. +// validateSeccompAnnotationsAndFields iterates through all containers and ensure that when both seccompProfile and seccomp annotations exist they match. func validateSeccompAnnotationsAndFields(objectMeta metav1.ObjectMeta, podSpec *core.PodSpec, specPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} @@ -4715,7 +4816,7 @@ func validateServicePort(sp *core.ServicePort, requireName, isHeadlessService bo return allErrs } -func needsExternalTrafficPolicy(svc *api.Service) bool { +func needsExternalTrafficPolicy(svc *core.Service) bool { return svc.Spec.Type == core.ServiceTypeLoadBalancer || svc.Spec.Type == core.ServiceTypeNodePort } @@ -4760,7 +4861,7 @@ func validateServiceExternalTrafficPolicy(service *core.Service) field.ErrorList return allErrs } -func validateServiceExternalTrafficFieldsUpdate(before, after *api.Service) field.ErrorList { +func validateServiceExternalTrafficFieldsUpdate(before, after *core.Service) field.ErrorList { allErrs := field.ErrorList{} if apiservice.NeedsHealthCheck(before) && apiservice.NeedsHealthCheck(after) { @@ -6363,9 +6464,6 @@ func validateOS(podSpec *core.PodSpec, fldPath *field.Path, opts PodValidationOp if os == nil { return allErrs } - if !opts.AllowOSField { - return append(allErrs, field.Forbidden(fldPath, "cannot be set when IdentifyPodOS feature is not enabled")) - } if len(os.Name) == 0 { return append(allErrs, field.Required(fldPath.Child("name"), "cannot be empty")) } @@ -6496,6 +6594,7 @@ func validateTopologySpreadConstraints(constraints []core.TopologySpreadConstrai if err := validateNodeInclusionPolicy(subFldPath.Child("nodeTaintsPolicy"), constraint.NodeTaintsPolicy); err != nil { allErrs = append(allErrs, err) } + allErrs = append(allErrs, validateMatchLabelKeys(subFldPath.Child("matchLabelKeys"), constraint.MatchLabelKeys, constraint.LabelSelector)...) } return allErrs @@ -6569,6 +6668,33 @@ func validateNodeInclusionPolicy(fldPath *field.Path, policy *core.NodeInclusion return nil } +// validateMatchLabelKeys tests that the elements are a valid label name and are not already included in labelSelector. +func validateMatchLabelKeys(fldPath *field.Path, matchLabelKeys []string, labelSelector *metav1.LabelSelector) field.ErrorList { + if len(matchLabelKeys) == 0 { + return nil + } + + labelSelectorKeys := sets.String{} + if labelSelector != nil { + for key := range labelSelector.MatchLabels { + labelSelectorKeys.Insert(key) + } + for _, matchExpression := range labelSelector.MatchExpressions { + labelSelectorKeys.Insert(matchExpression.Key) + } + } + + allErrs := field.ErrorList{} + for i, key := range matchLabelKeys { + allErrs = append(allErrs, unversionedvalidation.ValidateLabelName(key, fldPath.Index(i))...) + if labelSelectorKeys.Has(key) { + allErrs = append(allErrs, field.Invalid(fldPath.Index(i), key, "exists in both matchLabelKeys and labelSelector")) + } + } + + return allErrs +} + // ValidateServiceClusterIPsRelatedFields validates .spec.ClusterIPs,, // .spec.IPFamilies, .spec.ipFamilyPolicy. This is exported because it is used // during IP init and allocation. diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/zz_generated.deepcopy.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/zz_generated.deepcopy.go index 2aba47590f6c..0fd886259b2d 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/zz_generated.deepcopy.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/core/zz_generated.deepcopy.go @@ -3736,6 +3736,11 @@ func (in *PodSecurityContext) DeepCopyInto(out *PodSecurityContext) { *out = new(bool) **out = **in } + if in.HostUsers != nil { + in, out := &in.HostUsers, &out.HostUsers + *out = new(bool) + **out = **in + } if in.SELinuxOptions != nil { in, out := &in.SELinuxOptions, &out.SELinuxOptions *out = new(SELinuxOptions) @@ -5375,7 +5380,7 @@ func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) { } if in.IPFamilyPolicy != nil { in, out := &in.IPFamilyPolicy, &out.IPFamilyPolicy - *out = new(IPFamilyPolicyType) + *out = new(IPFamilyPolicy) **out = **in } if in.ExternalIPs != nil { @@ -5649,6 +5654,11 @@ func (in *TopologySpreadConstraint) DeepCopyInto(out *TopologySpreadConstraint) *out = new(NodeInclusionPolicy) **out = **in } + if in.MatchLabelKeys != nil { + in, out := &in.MatchLabelKeys, &out.MatchLabelKeys + *out = make([]string, len(*in)) + copy(*out, *in) + } return } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/networking/register.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/networking/register.go index 81dad49b1dee..486bf834bfe5 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/networking/register.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/networking/register.go @@ -52,6 +52,8 @@ func addKnownTypes(scheme *runtime.Scheme) error { &IngressList{}, &IngressClass{}, &IngressClassList{}, + &ClusterCIDR{}, + &ClusterCIDRList{}, ) return nil } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/networking/types.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/networking/types.go index cd9a8347588a..d6adda6399cc 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/networking/types.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/networking/types.go @@ -154,8 +154,6 @@ type NetworkPolicyPort struct { // should be allowed by the policy. This field cannot be defined if the port field // is not defined or if the port field is defined as a named (string) port. // The endPort must be equal or greater than port. - // This feature is in Beta state and is enabled by default. - // It can be disabled using the Feature Gate "NetworkPolicyEndPort". // +optional EndPort *int32 } @@ -585,3 +583,67 @@ type ServiceBackendPort struct { // +optional Number int32 } + +// +genclient +// +genclient:nonNamespaced +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// ClusterCIDR represents a single configuration for per-Node Pod CIDR +// allocations when the MultiCIDRRangeAllocator is enabled (see the config for +// kube-controller-manager). A cluster may have any number of ClusterCIDR +// resources, all of which will be considered when allocating a CIDR for a +// Node. A ClusterCIDR is eligible to be used for a given Node when the node +// selector matches the node in question and has free CIDRs to allocate. In +// case of multiple matching ClusterCIDR resources, the allocator will attempt +// to break ties using internal heuristics, but any ClusterCIDR whose node +// selector matches the Node may be used. +type ClusterCIDR struct { + metav1.TypeMeta + metav1.ObjectMeta + + Spec ClusterCIDRSpec +} + +// ClusterCIDRSpec defines the desired state of ClusterCIDR. +type ClusterCIDRSpec struct { + // NodeSelector defines which nodes the config is applicable to. + // An empty or nil NodeSelector selects all nodes. + // This field is immutable. + // +optional + NodeSelector *api.NodeSelector + + // PerNodeHostBits defines the number of host bits to be configured per node. + // A subnet mask determines how much of the address is used for network bits + // and host bits. For example an IPv4 address of 192.168.0.0/24, splits the + // address into 24 bits for the network portion and 8 bits for the host portion. + // To allocate 256 IPs, set this field to 8 (a /24 mask for IPv4 or a /120 for IPv6). + // Minimum value is 4 (16 IPs). + // This field is immutable. + // +required + PerNodeHostBits int32 + + // IPv4 defines an IPv4 IP block in CIDR notation(e.g. "10.0.0.0/8"). + // At least one of IPv4 and IPv6 must be specified. + // This field is immutable. + // +optional + IPv4 string + + // IPv6 defines an IPv6 IP block in CIDR notation(e.g. "fd12:3456:789a:1::/64"). + // At least one of IPv4 and IPv6 must be specified. + // This field is immutable. + // +optional + IPv6 string +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object + +// ClusterCIDRList contains a list of ClusterCIDRs. +type ClusterCIDRList struct { + metav1.TypeMeta + + // +optional + metav1.ListMeta + + // Items is the list of ClusterCIDRs. + Items []ClusterCIDR +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/networking/zz_generated.deepcopy.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/networking/zz_generated.deepcopy.go index 34df7bcacb85..bc5421027cd1 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/networking/zz_generated.deepcopy.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/networking/zz_generated.deepcopy.go @@ -28,6 +28,87 @@ import ( core "k8s.io/kubernetes/pkg/apis/core" ) +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterCIDR) DeepCopyInto(out *ClusterCIDR) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCIDR. +func (in *ClusterCIDR) DeepCopy() *ClusterCIDR { + if in == nil { + return nil + } + out := new(ClusterCIDR) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterCIDR) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterCIDRList) DeepCopyInto(out *ClusterCIDRList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ClusterCIDR, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCIDRList. +func (in *ClusterCIDRList) DeepCopy() *ClusterCIDRList { + if in == nil { + return nil + } + out := new(ClusterCIDRList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterCIDRList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterCIDRSpec) DeepCopyInto(out *ClusterCIDRSpec) { + *out = *in + if in.NodeSelector != nil { + in, out := &in.NodeSelector, &out.NodeSelector + *out = new(core.NodeSelector) + (*in).DeepCopyInto(*out) + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCIDRSpec. +func (in *ClusterCIDRSpec) DeepCopy() *ClusterCIDRSpec { + if in == nil { + return nil + } + out := new(ClusterCIDRSpec) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath) { *out = *in diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/policy/types.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/policy/types.go index b3884d5e4809..f7da6c251973 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/policy/types.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/policy/types.go @@ -214,7 +214,6 @@ type PodSecurityPolicySpec struct { AllowedFlexVolumes []AllowedFlexVolume // AllowedCSIDrivers is an allowlist of inline CSI drivers that must be explicitly set to be embedded within a pod spec. // An empty value indicates that any CSI driver can be used for inline ephemeral volumes. - // This is a beta field, and is only honored if the API server enables the CSIInlineVolume feature gate. // +optional AllowedCSIDrivers []AllowedCSIDriver // AllowedUnsafeSysctls is a list of explicitly allowed unsafe sysctls, defaults to none. diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/policy/validation/validation.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/policy/validation/validation.go index ae2d931615e1..57a0d46ea629 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/policy/validation/validation.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/apis/policy/validation/validation.go @@ -400,29 +400,22 @@ func validatePSPAllowedProcMountTypes(fldPath *field.Path, allowedProcMountTypes const sysctlPatternSegmentFmt string = "([a-z0-9][-_a-z0-9]*)?[a-z0-9*]" -// SysctlPatternFmt is a regex used for matching valid sysctl patterns. -const SysctlPatternFmt string = "(" + apivalidation.SysctlSegmentFmt + "\\.)*" + sysctlPatternSegmentFmt - // SysctlContainSlashPatternFmt is a regex that contains a slash used for matching valid sysctl patterns. const SysctlContainSlashPatternFmt string = "(" + apivalidation.SysctlSegmentFmt + "[\\./])*" + sysctlPatternSegmentFmt -var sysctlPatternRegexp = regexp.MustCompile("^" + SysctlPatternFmt + "$") - var sysctlContainSlashPatternRegexp = regexp.MustCompile("^" + SysctlContainSlashPatternFmt + "$") // IsValidSysctlPattern checks if name is a valid sysctl pattern. -// i.e. matches sysctlPatternRegexp (or sysctlContainSlashPatternRegexp if canContainSlash is true). +// i.e. matches sysctlContainSlashPatternRegexp. // More info: -// https://man7.org/linux/man-pages/man8/sysctl.8.html -// https://man7.org/linux/man-pages/man5/sysctl.d.5.html -func IsValidSysctlPattern(name string, canContainSlash bool) bool { +// +// https://man7.org/linux/man-pages/man8/sysctl.8.html +// https://man7.org/linux/man-pages/man5/sysctl.d.5.html +func IsValidSysctlPattern(name string) bool { if len(name) > apivalidation.SysctlMaxLength { return false } - if canContainSlash { - return sysctlContainSlashPatternRegexp.MatchString(name) - } - return sysctlPatternRegexp.MatchString(name) + return sysctlContainSlashPatternRegexp.MatchString(name) } func validatePodSecurityPolicySysctlListsDoNotOverlap(allowedSysctlsFldPath, forbiddenSysctlsFldPath *field.Path, allowedUnsafeSysctls, forbiddenSysctls []string) field.ErrorList { @@ -478,12 +471,12 @@ func validatePodSecurityPolicySysctls(fldPath *field.Path, sysctls []string) fie for i, s := range sysctls { if len(s) == 0 { allErrs = append(allErrs, field.Invalid(fldPath.Index(i), sysctls[i], "empty sysctl not allowed")) - } else if !IsValidSysctlPattern(string(s), false) { + } else if !IsValidSysctlPattern(string(s)) { allErrs = append( allErrs, field.Invalid(fldPath.Index(i), sysctls[i], fmt.Sprintf("must have at most %d characters and match regex %s", apivalidation.SysctlMaxLength, - SysctlPatternFmt, + SysctlContainSlashPatternFmt, )), ) } else if s[0] == '*' { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/controller_ref_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/controller_ref_manager.go index 94225f42bafe..0b3a397f8f88 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/controller_ref_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/controller_ref_manager.go @@ -54,8 +54,8 @@ func (m *BaseControllerRefManager) CanAdopt(ctx context.Context) error { // ClaimObject tries to take ownership of an object for this controller. // // It will reconcile the following: -// * Adopt orphans if the match function returns true. -// * Release owned objects if the match function returns false. +// - Adopt orphans if the match function returns true. +// - Release owned objects if the match function returns false. // // A non-nil error is returned if some form of reconciliation was attempted and // failed. Usually, controllers should try again later in case reconciliation @@ -143,8 +143,9 @@ type PodControllerRefManager struct { // If CanAdopt() returns a non-nil error, all adoptions will fail. // // NOTE: Once CanAdopt() is called, it will not be called again by the same -// PodControllerRefManager instance. Create a new instance if it makes -// sense to check CanAdopt() again (e.g. in a different sync pass). +// +// PodControllerRefManager instance. Create a new instance if it makes +// sense to check CanAdopt() again (e.g. in a different sync pass). func NewPodControllerRefManager( podControl PodControlInterface, controller metav1.Object, @@ -168,8 +169,8 @@ func NewPodControllerRefManager( // ClaimPods tries to take ownership of a list of Pods. // // It will reconcile the following: -// * Adopt orphans if the selector matches. -// * Release owned objects if the selector no longer matches. +// - Adopt orphans if the selector matches. +// - Release owned objects if the selector no longer matches. // // Optional: If one or more filters are specified, a Pod will only be claimed if // all filters return true. @@ -283,8 +284,9 @@ type ReplicaSetControllerRefManager struct { // If CanAdopt() returns a non-nil error, all adoptions will fail. // // NOTE: Once CanAdopt() is called, it will not be called again by the same -// ReplicaSetControllerRefManager instance. Create a new instance if it -// makes sense to check CanAdopt() again (e.g. in a different sync pass). +// +// ReplicaSetControllerRefManager instance. Create a new instance if it +// makes sense to check CanAdopt() again (e.g. in a different sync pass). func NewReplicaSetControllerRefManager( rsControl RSControlInterface, controller metav1.Object, @@ -306,8 +308,8 @@ func NewReplicaSetControllerRefManager( // ClaimReplicaSets tries to take ownership of a list of ReplicaSets. // // It will reconcile the following: -// * Adopt orphans if the selector matches. -// * Release owned objects if the selector no longer matches. +// - Adopt orphans if the selector matches. +// - Release owned objects if the selector no longer matches. // // A non-nil error is returned if some form of reconciliation was attempted and // failed. Usually, controllers should try again later in case reconciliation @@ -421,8 +423,9 @@ type ControllerRevisionControllerRefManager struct { // If canAdopt() returns a non-nil error, all adoptions will fail. // // NOTE: Once canAdopt() is called, it will not be called again by the same -// ControllerRevisionControllerRefManager instance. Create a new instance if it -// makes sense to check canAdopt() again (e.g. in a different sync pass). +// +// ControllerRevisionControllerRefManager instance. Create a new instance if it +// makes sense to check canAdopt() again (e.g. in a different sync pass). func NewControllerRevisionControllerRefManager( crControl ControllerRevisionControlInterface, controller metav1.Object, @@ -444,8 +447,8 @@ func NewControllerRevisionControllerRefManager( // ClaimControllerRevisions tries to take ownership of a list of ControllerRevisions. // // It will reconcile the following: -// * Adopt orphans if the selector matches. -// * Release owned objects if the selector no longer matches. +// - Adopt orphans if the selector matches. +// - Release owned objects if the selector no longer matches. // // A non-nil error is returned if some form of reconciliation was attempted and // failed. Usually, controllers should try again later in case reconciliation diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/controller_utils.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/controller_utils.go index 97f8a03c9c63..241294cded64 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/controller_utils.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/controller_utils.go @@ -755,24 +755,24 @@ func (s ActivePods) Less(i, j int) bool { // length. After sorting, the pods will be ordered as follows, applying each // rule in turn until one matches: // -// 1. If only one of the pods is assigned to a node, the pod that is not -// assigned comes before the pod that is. -// 2. If the pods' phases differ, a pending pod comes before a pod whose phase -// is unknown, and a pod whose phase is unknown comes before a running pod. -// 3. If exactly one of the pods is ready, the pod that is not ready comes -// before the ready pod. -// 4. If controller.kubernetes.io/pod-deletion-cost annotation is set, then -// the pod with the lower value will come first. -// 5. If the pods' ranks differ, the pod with greater rank comes before the pod -// with lower rank. -// 6. If both pods are ready but have not been ready for the same amount of -// time, the pod that has been ready for a shorter amount of time comes -// before the pod that has been ready for longer. -// 7. If one pod has a container that has restarted more than any container in -// the other pod, the pod with the container with more restarts comes -// before the other pod. -// 8. If the pods' creation times differ, the pod that was created more recently -// comes before the older pod. +// 1. If only one of the pods is assigned to a node, the pod that is not +// assigned comes before the pod that is. +// 2. If the pods' phases differ, a pending pod comes before a pod whose phase +// is unknown, and a pod whose phase is unknown comes before a running pod. +// 3. If exactly one of the pods is ready, the pod that is not ready comes +// before the ready pod. +// 4. If controller.kubernetes.io/pod-deletion-cost annotation is set, then +// the pod with the lower value will come first. +// 5. If the pods' ranks differ, the pod with greater rank comes before the pod +// with lower rank. +// 6. If both pods are ready but have not been ready for the same amount of +// time, the pod that has been ready for a shorter amount of time comes +// before the pod that has been ready for longer. +// 7. If one pod has a container that has restarted more than any container in +// the other pod, the pod with the container with more restarts comes +// before the other pod. +// 8. If the pods' creation times differ, the pod that was created more recently +// comes before the older pod. // // In 6 and 8, times are compared in a logarithmic scale. This allows a level // of randomness among equivalent Pods when sorting. If two pods have the same diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/daemon/daemon_controller.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/daemon/daemon_controller.go index 864089fefac9..21bf7d4811f8 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/daemon/daemon_controller.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/daemon/daemon_controller.go @@ -1263,10 +1263,10 @@ func (dsc *DaemonSetsController) syncDaemonSet(ctx context.Context, key string) // NodeShouldRunDaemonPod checks a set of preconditions against a (node,daemonset) and returns a // summary. Returned booleans are: -// * shouldRun: +// - shouldRun: // Returns true when a daemonset should run on the node if a daemonset pod is not already // running on that node. -// * shouldContinueRunning: +// - shouldContinueRunning: // Returns true when a daemonset should continue running on a node if a daemonset pod is already // running on that node. func NodeShouldRunDaemonPod(node *v1.Node, ds *apps.DaemonSet) (bool, bool) { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/daemon/util/daemonset_util.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/daemon/util/daemonset_util.go index 5058f747df3d..ad91d0923936 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/daemon/util/daemonset_util.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/daemon/util/daemonset_util.go @@ -25,9 +25,7 @@ import ( extensions "k8s.io/api/extensions/v1beta1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" intstrutil "k8s.io/apimachinery/pkg/util/intstr" - utilfeature "k8s.io/apiserver/pkg/util/feature" v1helper "k8s.io/kubernetes/pkg/apis/core/v1/helper" - "k8s.io/kubernetes/pkg/features" ) // GetTemplateGeneration gets the template generation associated with a v1.DaemonSet by extracting it from the @@ -137,9 +135,7 @@ func SurgeCount(ds *apps.DaemonSet, numberToSchedule int) (int, error) { if ds.Spec.UpdateStrategy.Type != apps.RollingUpdateDaemonSetStrategyType { return 0, nil } - if !utilfeature.DefaultFeatureGate.Enabled(features.DaemonSetUpdateSurge) { - return 0, nil - } + r := ds.Spec.UpdateStrategy.RollingUpdate if r == nil { return 0, nil diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/deployment/util/deployment_util.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/deployment/util/deployment_util.go index d06d392e97c5..cb2fac36342b 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/deployment/util/deployment_util.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/controller/deployment/util/deployment_util.go @@ -302,7 +302,8 @@ var annotationsToSkip = map[string]bool{ // skipCopyAnnotation returns true if we should skip copying the annotation with the given annotation key // TODO: How to decide which annotations should / should not be copied? -// See https://github.com/kubernetes/kubernetes/pull/20035#issuecomment-179558615 +// +// See https://github.com/kubernetes/kubernetes/pull/20035#issuecomment-179558615 func skipCopyAnnotation(key string) bool { return annotationsToSkip[key] } @@ -595,9 +596,9 @@ func ListPods(deployment *apps.Deployment, rsList []*apps.ReplicaSet, getPodList // EqualIgnoreHash returns true if two given podTemplateSpec are equal, ignoring the diff in value of Labels[pod-template-hash] // We ignore pod-template-hash because: -// 1. The hash result would be different upon podTemplateSpec API changes -// (e.g. the addition of a new field will cause the hash code to change) -// 2. The deployment template won't have hash labels +// 1. The hash result would be different upon podTemplateSpec API changes +// (e.g. the addition of a new field will cause the hash code to change) +// 2. The deployment template won't have hash labels func EqualIgnoreHash(template1, template2 *v1.PodTemplateSpec) bool { t1Copy := template1.DeepCopy() t2Copy := template2.DeepCopy() diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/config.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/config.go index 8b8ef9115181..dccfea1cd200 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/config.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/config.go @@ -84,12 +84,12 @@ func GetPreferredDockercfgPath() string { return preferredPath } -//DefaultDockercfgPaths returns default search paths of .dockercfg +// DefaultDockercfgPaths returns default search paths of .dockercfg func DefaultDockercfgPaths() []string { return []string{GetPreferredDockercfgPath(), workingDirPath, homeDirPath, rootDirPath} } -//DefaultDockerConfigJSONPaths returns default search paths of .docker/config.json +// DefaultDockerConfigJSONPaths returns default search paths of .docker/config.json func DefaultDockerConfigJSONPaths() []string { return []string{GetPreferredDockercfgPath(), workingDirPath, homeJSONDirPath, rootJSONDirPath} } @@ -156,7 +156,7 @@ func ReadDockerConfigJSONFile(searchPaths []string) (cfg DockerConfig, err error } -//ReadSpecificDockerConfigJSONFile attempts to read docker configJSON from a given file path. +// ReadSpecificDockerConfigJSONFile attempts to read docker configJSON from a given file path. func ReadSpecificDockerConfigJSONFile(filePath string) (cfg DockerConfig, err error) { var contents []byte diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/gcp/metadata.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/gcp/metadata.go index d87bd5a9440f..e71cb2f24d6e 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/gcp/metadata.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/gcp/metadata.go @@ -110,8 +110,9 @@ type DockerConfigURLKeyProvider struct { } // ContainerRegistryProvider is a DockerConfigProvider that provides a dockercfg with: -// Username: "_token" -// Password: "{access token from metadata}" +// +// Username: "_token" +// Password: "{access token from metadata}" type ContainerRegistryProvider struct { MetadataProvider } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/keyring.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/keyring.go index 4bbe5c4d9f12..0c5b3a0c9342 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/keyring.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/keyring.go @@ -31,9 +31,9 @@ import ( // reverse index across the registry endpoints. A registry endpoint is made // up of a host (e.g. registry.example.com), but it may also contain a path // (e.g. registry.example.com/foo) This index is important for two reasons: -// - registry endpoints may overlap, and when this happens we must find the -// most specific match for a given image -// - iterating a map does not yield predictable results +// - registry endpoints may overlap, and when this happens we must find the +// most specific match for a given image +// - iterating a map does not yield predictable results type DockerKeyring interface { Lookup(image string) ([]AuthConfig, bool) } @@ -197,8 +197,9 @@ func URLsMatchStr(glob string, target string) (bool, error) { // glob wild cards in the host name. // // Examples: -// globURL=*.docker.io, targetURL=blah.docker.io => match -// globURL=*.docker.io, targetURL=not.right.io => no match +// +// globURL=*.docker.io, targetURL=blah.docker.io => match +// globURL=*.docker.io, targetURL=not.right.io => no match // // Note that we don't support wildcards in ports and paths yet. func URLsMatch(globURL *url.URL, targetURL *url.URL) (bool, error) { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/plugin/plugin.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/plugin/plugin.go index 297f3164aa9b..5e6db98b465a 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/plugin/plugin.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/credentialprovider/plugin/plugin.go @@ -367,7 +367,7 @@ type execPlugin struct { // ExecPlugin executes the plugin binary with arguments and environment variables specified in CredentialProviderConfig: // -// $ ENV_NAME=ENV_VALUE args[0] args[1] << args[0] args[1] << ("metadata.annotations", "myKey", true) -// - "metadata.annotations['a[b]c']" --> ("metadata.annotations", "a[b]c", true) -// - "metadata.labels['']" --> ("metadata.labels", "", true) -// - "metadata.labels" --> ("metadata.labels", "", false) +// +// "metadata.annotations['myKey']" --> ("metadata.annotations", "myKey", true) +// "metadata.annotations['a[b]c']" --> ("metadata.annotations", "a[b]c", true) +// "metadata.labels['']" --> ("metadata.labels", "", true) +// "metadata.labels" --> ("metadata.labels", "", false) func SplitMaybeSubscriptedPath(fieldPath string) (string, string, bool) { if !strings.HasSuffix(fieldPath, "']") { return fieldPath, "", false diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/types.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/types.go index 6c6377c500a1..0ec23416fabb 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/types.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/types.go @@ -20,6 +20,7 @@ import ( v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" logsapi "k8s.io/component-base/logs/api/v1" + tracingapi "k8s.io/component-base/tracing/api/v1" ) // HairpinMode denotes how the kubelet should configure networking to handle @@ -370,7 +371,7 @@ type KubeletConfiguration struct { KubeReservedCgroup string // This flag specifies the various Node Allocatable enforcements that Kubelet needs to perform. // This flag accepts a list of options. Acceptable options are `pods`, `system-reserved` & `kube-reserved`. - // Refer to [Node Allocatable](https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md) doc for more information. + // Refer to [Node Allocatable](https://github.com/kubernetes/design-proposals-archive/blob/main/node/node-allocatable.md) doc for more information. EnforceNodeAllocatable []string // This option specifies the cpu list reserved for the host level system threads and kubernetes related threads. // This provide a "static" CPU list rather than the "dynamic" list by system-reserved and kube-reserved. @@ -441,10 +442,24 @@ type KubeletConfiguration struct { // is true and upon the initial registration of the node. // +optional RegisterWithTaints []v1.Taint - // registerNode enables automatic registration with the apiserver. // +optional RegisterNode bool + // Tracing specifies the versioned configuration for OpenTelemetry tracing clients. + // See http://kep.k8s.io/2832 for more details. + // +featureGate=KubeletTracing + // +optional + Tracing *tracingapi.TracingConfiguration + + // LocalStorageCapacityIsolation enables local ephemeral storage isolation feature. The default setting is true. + // This feature allows users to set request/limit for container's ephemeral storage and manage it in a similar way + // as cpu and memory. It also allows setting sizeLimit for emptyDir volume, which will trigger pod eviction if disk + // usage from the volume exceeds the limit. + // This feature depends on the capability of detecting correct root file system disk usage. For certain systems, + // such as kind rootless, if this capability cannot be supported, the feature LocalStorageCapacityIsolation should be + // disabled. Once disabled, user should not set request/limit for container's ephemeral storage, or sizeLimit for emptyDir. + // +optional + LocalStorageCapacityIsolation bool } // KubeletAuthorizationMode denotes the authorization mode for the kubelet diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/v1beta1/defaults.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/v1beta1/defaults.go index be5715ba85ad..823154030819 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/v1beta1/defaults.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/v1beta1/defaults.go @@ -44,7 +44,7 @@ const ( var ( zeroDuration = metav1.Duration{} // TODO: Move these constants to k8s.io/kubelet/config/v1beta1 instead? - // Refer to [Node Allocatable](https://git.k8s.io/community/contributors/design-proposals/node/node-allocatable.md) doc for more information. + // Refer to [Node Allocatable](https://git.k8s.io/design-proposals-archive/node/node-allocatable.md) doc for more information. DefaultNodeAllocatableEnforcement = []string{"pods"} ) @@ -264,4 +264,7 @@ func SetDefaults_KubeletConfiguration(obj *kubeletconfigv1beta1.KubeletConfigura if obj.RegisterNode == nil { obj.RegisterNode = utilpointer.BoolPtr(true) } + if obj.LocalStorageCapacityIsolation == nil { + obj.LocalStorageCapacityIsolation = utilpointer.BoolPtr(true) + } } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go index 0f50f13d2917..daa73aa1f8fe 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go @@ -28,6 +28,7 @@ import ( v1 "k8s.io/apimachinery/pkg/apis/meta/v1" conversion "k8s.io/apimachinery/pkg/conversion" runtime "k8s.io/apimachinery/pkg/runtime" + apiv1 "k8s.io/component-base/tracing/api/v1" v1beta1 "k8s.io/kubelet/config/v1beta1" config "k8s.io/kubernetes/pkg/kubelet/apis/config" ) @@ -506,6 +507,10 @@ func autoConvert_v1beta1_KubeletConfiguration_To_config_KubeletConfiguration(in if err := v1.Convert_Pointer_bool_To_bool(&in.RegisterNode, &out.RegisterNode, s); err != nil { return err } + out.Tracing = (*apiv1.TracingConfiguration)(unsafe.Pointer(in.Tracing)) + if err := v1.Convert_Pointer_bool_To_bool(&in.LocalStorageCapacityIsolation, &out.LocalStorageCapacityIsolation, s); err != nil { + return err + } return nil } @@ -680,6 +685,10 @@ func autoConvert_config_KubeletConfiguration_To_v1beta1_KubeletConfiguration(in if err := v1.Convert_bool_To_Pointer_bool(&in.RegisterNode, &out.RegisterNode, s); err != nil { return err } + out.Tracing = (*apiv1.TracingConfiguration)(unsafe.Pointer(in.Tracing)) + if err := v1.Convert_bool_To_Pointer_bool(&in.LocalStorageCapacityIsolation, &out.LocalStorageCapacityIsolation, s); err != nil { + return err + } return nil } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/validation/validation.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/validation/validation.go index 872c912957c5..afd43d70b8e5 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/validation/validation.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/validation/validation.go @@ -27,6 +27,7 @@ import ( "k8s.io/component-base/featuregate" logsapi "k8s.io/component-base/logs/api/v1" "k8s.io/component-base/metrics" + tracingapi "k8s.io/component-base/tracing/api/v1" "k8s.io/kubernetes/pkg/features" kubeletconfig "k8s.io/kubernetes/pkg/kubelet/apis/config" "k8s.io/kubernetes/pkg/kubelet/cm/cpuset" @@ -241,6 +242,14 @@ func ValidateKubeletConfiguration(kc *kubeletconfig.KubeletConfiguration, featur allErrors = append(allErrors, errs.ToAggregate().Errors()...) } + if localFeatureGate.Enabled(features.KubeletTracing) { + if errs := tracingapi.ValidateTracingConfiguration(kc.Tracing, localFeatureGate, field.NewPath("tracing")); len(errs) > 0 { + allErrors = append(allErrors, errs.ToAggregate().Errors()...) + } + } else if kc.Tracing != nil { + allErrors = append(allErrors, fmt.Errorf("invalid configuration: tracing should not be configured if KubeletTracing feature flag is disabled.")) + } + if localFeatureGate.Enabled(features.MemoryQoS) && kc.MemoryThrottlingFactor == nil { allErrors = append(allErrors, fmt.Errorf("invalid configuration: memoryThrottlingFactor is required when MemoryQoS feature flag is enabled")) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/zz_generated.deepcopy.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/zz_generated.deepcopy.go index 99c3c3393355..59581e52e421 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/zz_generated.deepcopy.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/config/zz_generated.deepcopy.go @@ -25,6 +25,7 @@ import ( corev1 "k8s.io/api/core/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" + apiv1 "k8s.io/component-base/tracing/api/v1" ) // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. @@ -307,6 +308,11 @@ func (in *KubeletConfiguration) DeepCopyInto(out *KubeletConfiguration) { (*in)[i].DeepCopyInto(&(*out)[i]) } } + if in.Tracing != nil { + in, out := &in.Tracing, &out.Tracing + *out = new(apiv1.TracingConfiguration) + (*in).DeepCopyInto(*out) + } return } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/podresources/client.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/podresources/client.go index 2d27c623e0cc..fcc6f1b903dc 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/podresources/client.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/apis/podresources/client.go @@ -22,6 +22,7 @@ import ( "time" "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" "k8s.io/kubelet/pkg/apis/podresources/v1" "k8s.io/kubelet/pkg/apis/podresources/v1alpha1" @@ -41,7 +42,10 @@ func GetV1alpha1Client(socket string, connectionTimeout time.Duration, maxMsgSiz ctx, cancel := context.WithTimeout(context.Background(), connectionTimeout) defer cancel() - conn, err := grpc.DialContext(ctx, addr, grpc.WithInsecure(), grpc.WithContextDialer(dialer), grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(maxMsgSize))) + conn, err := grpc.DialContext(ctx, addr, + grpc.WithTransportCredentials(insecure.NewCredentials()), + grpc.WithContextDialer(dialer), + grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(maxMsgSize))) if err != nil { return nil, nil, fmt.Errorf("error dialing socket %s: %v", socket, err) } @@ -57,7 +61,10 @@ func GetV1Client(socket string, connectionTimeout time.Duration, maxMsgSize int) ctx, cancel := context.WithTimeout(context.Background(), connectionTimeout) defer cancel() - conn, err := grpc.DialContext(ctx, addr, grpc.WithInsecure(), grpc.WithContextDialer(dialer), grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(maxMsgSize))) + conn, err := grpc.DialContext(ctx, addr, + grpc.WithTransportCredentials(insecure.NewCredentials()), + grpc.WithContextDialer(dialer), + grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(maxMsgSize))) if err != nil { return nil, nil, fmt.Errorf("error dialing socket %s: %v", socket, err) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cadvisor/cadvisor_linux.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cadvisor/cadvisor_linux.go index 1b118722777e..370e374df55a 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cadvisor/cadvisor_linux.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cadvisor/cadvisor_linux.go @@ -80,7 +80,7 @@ func init() { } // New creates a new cAdvisor Interface for linux systems. -func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, cgroupRoots []string, usingLegacyStats bool) (Interface, error) { +func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, cgroupRoots []string, usingLegacyStats, localStorageCapacityIsolation bool) (Interface, error) { sysFs := sysfs.NewRealSysFs() includedMetrics := cadvisormetrics.MetricSet{ @@ -99,7 +99,7 @@ func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, cgroupRoots [ includedMetrics[cadvisormetrics.AcceleratorUsageMetrics] = struct{}{} } - if usingLegacyStats || utilfeature.DefaultFeatureGate.Enabled(kubefeatures.LocalStorageCapacityIsolation) { + if usingLegacyStats || localStorageCapacityIsolation { includedMetrics[cadvisormetrics.DiskUsageMetrics] = struct{}{} } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cadvisor/cadvisor_unsupported.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cadvisor/cadvisor_unsupported.go index 7f33ba9b03aa..40113a9ce821 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cadvisor/cadvisor_unsupported.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cadvisor/cadvisor_unsupported.go @@ -33,7 +33,7 @@ type cadvisorUnsupported struct { var _ Interface = new(cadvisorUnsupported) // New creates a new cAdvisor Interface for unsupported systems. -func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, cgroupsRoots []string, usingLegacyStats bool) (Interface, error) { +func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, cgroupsRoots []string, usingLegacyStats, localStorageCapacityIsolation bool) (Interface, error) { return &cadvisorUnsupported{}, nil } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cadvisor/cadvisor_windows.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cadvisor/cadvisor_windows.go index a3fd930055b5..ded51e7caa12 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cadvisor/cadvisor_windows.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cadvisor/cadvisor_windows.go @@ -34,7 +34,7 @@ type cadvisorClient struct { var _ Interface = new(cadvisorClient) // New creates a cAdvisor and exports its API on the specified port if port > 0. -func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, cgroupRoots []string, usingLegacyStats bool) (Interface, error) { +func New(imageFsInfoProvider ImageFsInfoProvider, rootPath string, cgroupRoots []string, usingLegacyStats, localStorageCapacityIsolation bool) (Interface, error) { client, err := winstats.NewPerfCounterClient() return &cadvisorClient{ rootPath: rootPath, diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager.go index e67dbfc3daaa..bf52a1e4c063 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager.go @@ -47,7 +47,7 @@ type ContainerManager interface { // Runs the container manager's housekeeping. // - Ensures that the Docker daemon is in a container. // - Creates the system container where all non-containerized processes run. - Start(*v1.Node, ActivePodsFunc, config.SourcesReady, status.PodStatusProvider, internalapi.RuntimeService) error + Start(*v1.Node, ActivePodsFunc, config.SourcesReady, status.PodStatusProvider, internalapi.RuntimeService, bool) error // SystemCgroupsLimit returns resources allocated to system cgroups in the machine. // These cgroups include the system and Kubernetes services. @@ -73,7 +73,7 @@ type ContainerManager interface { GetNodeAllocatableReservation() v1.ResourceList // GetCapacity returns the amount of compute resources tracked by container manager available on the node. - GetCapacity() v1.ResourceList + GetCapacity(localStorageCapacityIsolation bool) v1.ResourceList // GetDevicePluginResourceCapacity returns the node capacity (amount of total device plugin resources), // node allocatable (amount of total healthy resources reported by device plugin), diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_linux.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_linux.go index ecf4d89c1eb0..44c8cda6c409 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_linux.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_linux.go @@ -554,7 +554,8 @@ func (cm *containerManagerImpl) Start(node *v1.Node, activePods ActivePodsFunc, sourcesReady config.SourcesReady, podStatusProvider status.PodStatusProvider, - runtimeService internalapi.RuntimeService) error { + runtimeService internalapi.RuntimeService, + localStorageCapacityIsolation bool) error { // Initialize CPU manager if utilfeature.DefaultFeatureGate.Enabled(kubefeatures.CPUManager) { @@ -578,7 +579,7 @@ func (cm *containerManagerImpl) Start(node *v1.Node, // allocatable of the node cm.nodeInfo = node - if utilfeature.DefaultFeatureGate.Enabled(kubefeatures.LocalStorageCapacityIsolation) { + if localStorageCapacityIsolation { rootfs, err := cm.cadvisorInterface.RootFsInfo() if err != nil { return fmt.Errorf("failed to get rootfs info: %v", err) @@ -861,7 +862,6 @@ func getContainer(pid int) (string, error) { // // The reason of leaving kernel threads at root cgroup is that we don't want to tie the // execution of these threads with to-be defined /system quota and create priority inversions. -// func ensureSystemCgroups(rootCgroupPath string, manager cgroups.Manager) error { // Move non-kernel PIDs to the system container. // Only keep errors on latest attempt. @@ -916,8 +916,8 @@ func isKernelPid(pid int) bool { // GetCapacity returns node capacity data for "cpu", "memory", "ephemeral-storage", and "huge-pages*" // At present this method is only invoked when introspecting ephemeral storage -func (cm *containerManagerImpl) GetCapacity() v1.ResourceList { - if utilfeature.DefaultFeatureGate.Enabled(kubefeatures.LocalStorageCapacityIsolation) { +func (cm *containerManagerImpl) GetCapacity(localStorageCapacityIsolation bool) v1.ResourceList { + if localStorageCapacityIsolation { // We store allocatable ephemeral-storage in the capacity property once we Start() the container manager if _, ok := cm.capacity[v1.ResourceEphemeralStorage]; !ok { // If we haven't yet stored the capacity for ephemeral-storage, we can try to fetch it directly from cAdvisor, diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_stub.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_stub.go index a5b0e523b137..6bd5f3e36894 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_stub.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_stub.go @@ -41,7 +41,7 @@ type containerManagerStub struct { var _ ContainerManager = &containerManagerStub{} -func (cm *containerManagerStub) Start(_ *v1.Node, _ ActivePodsFunc, _ config.SourcesReady, _ status.PodStatusProvider, _ internalapi.RuntimeService) error { +func (cm *containerManagerStub) Start(_ *v1.Node, _ ActivePodsFunc, _ config.SourcesReady, _ status.PodStatusProvider, _ internalapi.RuntimeService, _ bool) error { klog.V(2).InfoS("Starting stub container manager") return nil } @@ -74,7 +74,10 @@ func (cm *containerManagerStub) GetNodeAllocatableReservation() v1.ResourceList return nil } -func (cm *containerManagerStub) GetCapacity() v1.ResourceList { +func (cm *containerManagerStub) GetCapacity(localStorageCapacityIsolation bool) v1.ResourceList { + if !localStorageCapacityIsolation { + return v1.ResourceList{} + } c := v1.ResourceList{ v1.ResourceEphemeralStorage: *resource.NewQuantity( int64(0), diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_unsupported.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_unsupported.go index 1a0587c36dca..fb1c4a79dbfe 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_unsupported.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_unsupported.go @@ -38,7 +38,7 @@ type unsupportedContainerManager struct { var _ ContainerManager = &unsupportedContainerManager{} -func (unsupportedContainerManager) Start(_ *v1.Node, _ ActivePodsFunc, _ config.SourcesReady, _ status.PodStatusProvider, _ internalapi.RuntimeService) error { +func (unsupportedContainerManager) Start(_ *v1.Node, _ ActivePodsFunc, _ config.SourcesReady, _ status.PodStatusProvider, _ internalapi.RuntimeService, _ bool) error { return fmt.Errorf("Container Manager is unsupported in this build") } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_windows.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_windows.go index ec56fcf2c73b..dc325a3a9f91 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_windows.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/container_manager_windows.go @@ -30,11 +30,9 @@ import ( v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" - utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/client-go/tools/record" internalapi "k8s.io/cri-api/pkg/apis" podresourcesapi "k8s.io/kubelet/pkg/apis/podresources/v1" - kubefeatures "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/kubelet/cadvisor" "k8s.io/kubernetes/pkg/kubelet/cm/admission" "k8s.io/kubernetes/pkg/kubelet/cm/cpumanager" @@ -72,10 +70,11 @@ func (cm *containerManagerImpl) Start(node *v1.Node, activePods ActivePodsFunc, sourcesReady config.SourcesReady, podStatusProvider status.PodStatusProvider, - runtimeService internalapi.RuntimeService) error { + runtimeService internalapi.RuntimeService, + localStorageCapacityIsolation bool) error { klog.V(2).InfoS("Starting Windows container manager") - if utilfeature.DefaultFeatureGate.Enabled(kubefeatures.LocalStorageCapacityIsolation) { + if localStorageCapacityIsolation { rootfs, err := cm.cadvisorInterface.RootFsInfo() if err != nil { return fmt.Errorf("failed to get rootfs info: %v", err) @@ -171,7 +170,7 @@ func (cm *containerManagerImpl) GetNodeAllocatableReservation() v1.ResourceList return result } -func (cm *containerManagerImpl) GetCapacity() v1.ResourceList { +func (cm *containerManagerImpl) GetCapacity(localStorageCapacityIsolation bool) v1.ResourceList { return cm.capacity } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/cpu_assignment.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/cpu_assignment.go index 01ddf57bb7b7..7628769d5dff 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/cpu_assignment.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/cpu_assignment.go @@ -501,35 +501,35 @@ func takeByTopologyNUMAPacked(topo *topology.CPUTopology, availableCPUs cpuset.C // At a high-level this algorithm can be summarized as: // // For each NUMA single node: -// * If all requested CPUs can be allocated from this NUMA node; -// --> Do the allocation by running takeByTopologyNUMAPacked() over the -// available CPUs in that NUMA node and return +// - If all requested CPUs can be allocated from this NUMA node; +// --> Do the allocation by running takeByTopologyNUMAPacked() over the +// available CPUs in that NUMA node and return // // Otherwise, for each pair of NUMA nodes: -// * If the set of requested CPUs (modulo 2) can be evenly split across -// the 2 NUMA nodes; AND -// * Any remaining CPUs (after the modulo operation) can be striped across -// some subset of the NUMA nodes; -// --> Do the allocation by running takeByTopologyNUMAPacked() over the -// available CPUs in both NUMA nodes and return +// - If the set of requested CPUs (modulo 2) can be evenly split across +// the 2 NUMA nodes; AND +// - Any remaining CPUs (after the modulo operation) can be striped across +// some subset of the NUMA nodes; +// --> Do the allocation by running takeByTopologyNUMAPacked() over the +// available CPUs in both NUMA nodes and return // // Otherwise, for each 3-tuple of NUMA nodes: -// * If the set of requested CPUs (modulo 3) can be evenly distributed -// across the 3 NUMA nodes; AND -// * Any remaining CPUs (after the modulo operation) can be striped across -// some subset of the NUMA nodes; -// --> Do the allocation by running takeByTopologyNUMAPacked() over the -// available CPUs in all three NUMA nodes and return +// - If the set of requested CPUs (modulo 3) can be evenly distributed +// across the 3 NUMA nodes; AND +// - Any remaining CPUs (after the modulo operation) can be striped across +// some subset of the NUMA nodes; +// --> Do the allocation by running takeByTopologyNUMAPacked() over the +// available CPUs in all three NUMA nodes and return // // ... // // Otherwise, for the set of all NUMA nodes: -// * If the set of requested CPUs (modulo NUM_NUMA_NODES) can be evenly -// distributed across all NUMA nodes; AND -// * Any remaining CPUs (after the modulo operation) can be striped across -// some subset of the NUMA nodes; -// --> Do the allocation by running takeByTopologyNUMAPacked() over the -// available CPUs in all NUMA nodes and return +// - If the set of requested CPUs (modulo NUM_NUMA_NODES) can be evenly +// distributed across all NUMA nodes; AND +// - Any remaining CPUs (after the modulo operation) can be striped across +// some subset of the NUMA nodes; +// --> Do the allocation by running takeByTopologyNUMAPacked() over the +// available CPUs in all NUMA nodes and return // // If none of the above conditions can be met, then resort back to a // best-effort fit of packing CPUs into NUMA nodes by calling diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/cpu_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/cpu_manager.go index dde49b6ec8c3..0928c688e086 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/cpu_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/cpu_manager.go @@ -42,7 +42,7 @@ import ( type ActivePodsFunc func() []*v1.Pod type runtimeService interface { - UpdateContainerResources(id string, resources *runtimeapi.LinuxContainerResources) error + UpdateContainerResources(id string, resources *runtimeapi.ContainerResources) error } type policyName string @@ -515,8 +515,10 @@ func (m *manager) updateContainerCPUSet(containerID string, cpus cpuset.CPUSet) // this patch-like partial resources. return m.containerRuntime.UpdateContainerResources( containerID, - &runtimeapi.LinuxContainerResources{ - CpusetCpus: cpus.String(), + &runtimeapi.ContainerResources{ + Linux: &runtimeapi.LinuxContainerResources{ + CpusetCpus: cpus.String(), + }, }) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/policy_options.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/policy_options.go index 64b14833e588..d04b60420e18 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/policy_options.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/policy_options.go @@ -23,16 +23,20 @@ import ( "k8s.io/apimachinery/pkg/util/sets" utilfeature "k8s.io/apiserver/pkg/util/feature" kubefeatures "k8s.io/kubernetes/pkg/features" + "k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/topology" + "k8s.io/kubernetes/pkg/kubelet/cm/topologymanager" ) const ( FullPCPUsOnlyOption string = "full-pcpus-only" DistributeCPUsAcrossNUMAOption string = "distribute-cpus-across-numa" + AlignBySocketOption string = "align-by-socket" ) var ( alphaOptions = sets.NewString( DistributeCPUsAcrossNUMAOption, + AlignBySocketOption, ) betaOptions = sets.NewString( FullPCPUsOnlyOption, @@ -69,6 +73,9 @@ type StaticPolicyOptions struct { // Flag to evenly distribute CPUs across NUMA nodes in cases where more // than one NUMA node is required to satisfy the allocation. DistributeCPUsAcrossNUMA bool + // Flag to ensure CPUs are considered aligned at socket boundary rather than + // NUMA boundary + AlignBySocket bool } func NewStaticPolicyOptions(policyOptions map[string]string) (StaticPolicyOptions, error) { @@ -91,6 +98,12 @@ func NewStaticPolicyOptions(policyOptions map[string]string) (StaticPolicyOption return opts, fmt.Errorf("bad value for option %q: %w", name, err) } opts.DistributeCPUsAcrossNUMA = optValue + case AlignBySocketOption: + optValue, err := strconv.ParseBool(value) + if err != nil { + return opts, fmt.Errorf("bad value for option %q: %w", name, err) + } + opts.AlignBySocket = optValue default: // this should never be reached, we already detect unknown options, // but we keep it as further safety. @@ -99,3 +112,17 @@ func NewStaticPolicyOptions(policyOptions map[string]string) (StaticPolicyOption } return opts, nil } + +func ValidateStaticPolicyOptions(opts StaticPolicyOptions, topology *topology.CPUTopology, topologyManager topologymanager.Store) error { + if opts.AlignBySocket { + // Not compatible with topology manager single-numa-node policy option. + if topologyManager.GetPolicy().Name() == topologymanager.PolicySingleNumaNode { + return fmt.Errorf("Topolgy manager %s policy is incompatible with CPUManager %s policy option", topologymanager.PolicySingleNumaNode, AlignBySocketOption) + } + // Not compatible with topology when number of sockets are more than number of NUMA nodes. + if topology.NumSockets > topology.NumNUMANodes { + return fmt.Errorf("Align by socket is not compatible with hardware where number of sockets are more than number of NUMA") + } + } + return nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/policy_static.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/policy_static.go index a872b389c461..ff9e6a20e14b 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/policy_static.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/policy_static.go @@ -65,24 +65,24 @@ func (e SMTAlignmentError) Type() string { // // The static policy maintains the following sets of logical CPUs: // -// - SHARED: Burstable, BestEffort, and non-integral Guaranteed containers -// run here. Initially this contains all CPU IDs on the system. As -// exclusive allocations are created and destroyed, this CPU set shrinks -// and grows, accordingly. This is stored in the state as the default -// CPU set. +// - SHARED: Burstable, BestEffort, and non-integral Guaranteed containers +// run here. Initially this contains all CPU IDs on the system. As +// exclusive allocations are created and destroyed, this CPU set shrinks +// and grows, accordingly. This is stored in the state as the default +// CPU set. // -// - RESERVED: A subset of the shared pool which is not exclusively -// allocatable. The membership of this pool is static for the lifetime of -// the Kubelet. The size of the reserved pool is -// ceil(systemreserved.cpu + kubereserved.cpu). -// Reserved CPUs are taken topologically starting with lowest-indexed -// physical core, as reported by cAdvisor. +// - RESERVED: A subset of the shared pool which is not exclusively +// allocatable. The membership of this pool is static for the lifetime of +// the Kubelet. The size of the reserved pool is +// ceil(systemreserved.cpu + kubereserved.cpu). +// Reserved CPUs are taken topologically starting with lowest-indexed +// physical core, as reported by cAdvisor. // -// - ASSIGNABLE: Equal to SHARED - RESERVED. Exclusive CPUs are allocated -// from this pool. +// - ASSIGNABLE: Equal to SHARED - RESERVED. Exclusive CPUs are allocated +// from this pool. // -// - EXCLUSIVE ALLOCATIONS: CPU sets assigned exclusively to one container. -// These are stored as explicit assignments in the state. +// - EXCLUSIVE ALLOCATIONS: CPU sets assigned exclusively to one container. +// These are stored as explicit assignments in the state. // // When an exclusive allocation is made, the static policy also updates the // default cpuset in the state abstraction. The CPU manager's periodic @@ -115,6 +115,10 @@ func NewStaticPolicy(topology *topology.CPUTopology, numReservedCPUs int, reserv if err != nil { return nil, err } + err = ValidateStaticPolicyOptions(opts, topology, affinity) + if err != nil { + return nil, err + } klog.InfoS("Static policy created with configuration", "options", opts) @@ -325,10 +329,7 @@ func (p *staticPolicy) allocateCPUs(s state.State, numCPUs int, numaAffinity bit // If there are aligned CPUs in numaAffinity, attempt to take those first. result := cpuset.NewCPUSet() if numaAffinity != nil { - alignedCPUs := cpuset.NewCPUSet() - for _, numaNodeID := range numaAffinity.GetBits() { - alignedCPUs = alignedCPUs.Union(allocatableCPUs.Intersection(p.topology.CPUDetails.CPUsInNUMANodes(numaNodeID))) - } + alignedCPUs := p.getAlignedCPUs(numaAffinity, allocatableCPUs) numAlignedToAlloc := alignedCPUs.Size() if numCPUs < numAlignedToAlloc { @@ -571,6 +572,10 @@ func (p *staticPolicy) generateCPUTopologyHints(availableCPUs cpuset.CPUSet, reu // to the minAffinitySize. Only those with an equal number of bits set (and // with a minimal set of numa nodes) will be considered preferred. for i := range hints { + if p.options.AlignBySocket && p.isHintSocketAligned(hints[i], minAffinitySize) { + hints[i].Preferred = true + continue + } if hints[i].NUMANodeAffinity.Count() == minAffinitySize { hints[i].Preferred = true } @@ -578,3 +583,39 @@ func (p *staticPolicy) generateCPUTopologyHints(availableCPUs cpuset.CPUSet, reu return hints } + +// isHintSocketAligned function return true if numa nodes in hint are socket aligned. +func (p *staticPolicy) isHintSocketAligned(hint topologymanager.TopologyHint, minAffinitySize int) bool { + numaNodesBitMask := hint.NUMANodeAffinity.GetBits() + numaNodesPerSocket := p.topology.NumNUMANodes / p.topology.NumSockets + if numaNodesPerSocket == 0 { + return false + } + // minSockets refers to minimum number of socket required to satify allocation. + // A hint is considered socket aligned if sockets across which numa nodes span is equal to minSockets + minSockets := (minAffinitySize + numaNodesPerSocket - 1) / numaNodesPerSocket + return p.topology.CPUDetails.SocketsInNUMANodes(numaNodesBitMask...).Size() == minSockets +} + +// getAlignedCPUs return set of aligned CPUs based on numa affinity mask and configured policy options. +func (p *staticPolicy) getAlignedCPUs(numaAffinity bitmask.BitMask, allocatableCPUs cpuset.CPUSet) cpuset.CPUSet { + alignedCPUs := cpuset.NewCPUSet() + numaBits := numaAffinity.GetBits() + + // If align-by-socket policy option is enabled, NUMA based hint is expanded to + // socket aligned hint. It will ensure that first socket aligned available CPUs are + // allocated before we try to find CPUs across socket to satisfy allocation request. + if p.options.AlignBySocket { + socketBits := p.topology.CPUDetails.SocketsInNUMANodes(numaBits...).ToSliceNoSort() + for _, socketID := range socketBits { + alignedCPUs = alignedCPUs.Union(allocatableCPUs.Intersection(p.topology.CPUDetails.CPUsInSockets(socketID))) + } + return alignedCPUs + } + + for _, numaNodeID := range numaBits { + alignedCPUs = alignedCPUs.Union(allocatableCPUs.Intersection(p.topology.CPUDetails.CPUsInNUMANodes(numaNodeID))) + } + + return alignedCPUs +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/devicemanager/plugin/v1beta1/client.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/devicemanager/plugin/v1beta1/client.go index 13b1249009bc..79436a175610 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/devicemanager/plugin/v1beta1/client.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/devicemanager/plugin/v1beta1/client.go @@ -24,6 +24,7 @@ import ( "time" "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" "k8s.io/klog/v2" api "k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1" @@ -117,7 +118,9 @@ func dial(unixSocketPath string) (api.DevicePluginClient, *grpc.ClientConn, erro ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) defer cancel() - c, err := grpc.DialContext(ctx, unixSocketPath, grpc.WithInsecure(), grpc.WithBlock(), + c, err := grpc.DialContext(ctx, unixSocketPath, + grpc.WithTransportCredentials(insecure.NewCredentials()), + grpc.WithBlock(), grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) { return (&net.Dialer{}).DialContext(ctx, "unix", addr) }), diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/devicemanager/plugin/v1beta1/stub.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/devicemanager/plugin/v1beta1/stub.go index dee1a9414aa8..d354222590b3 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/devicemanager/plugin/v1beta1/stub.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/devicemanager/plugin/v1beta1/stub.go @@ -25,6 +25,7 @@ import ( "time" "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/klog/v2" @@ -191,7 +192,9 @@ func (m *Stub) Register(kubeletEndpoint, resourceName string, pluginSockDir stri ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) defer cancel() - conn, err := grpc.DialContext(ctx, kubeletEndpoint, grpc.WithInsecure(), grpc.WithBlock(), + conn, err := grpc.DialContext(ctx, kubeletEndpoint, + grpc.WithTransportCredentials(insecure.NewCredentials()), + grpc.WithBlock(), grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) { return (&net.Dialer{}).DialContext(ctx, "unix", addr) })) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/fake_container_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/fake_container_manager.go index c907301a6d4e..685246276c5b 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/fake_container_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/fake_container_manager.go @@ -50,7 +50,7 @@ func NewFakeContainerManager() *FakeContainerManager { } } -func (cm *FakeContainerManager) Start(_ *v1.Node, _ ActivePodsFunc, _ config.SourcesReady, _ status.PodStatusProvider, _ internalapi.RuntimeService) error { +func (cm *FakeContainerManager) Start(_ *v1.Node, _ ActivePodsFunc, _ config.SourcesReady, _ status.PodStatusProvider, _ internalapi.RuntimeService, _ bool) error { cm.Lock() defer cm.Unlock() cm.CalledFunctions = append(cm.CalledFunctions, "Start") @@ -106,10 +106,13 @@ func (cm *FakeContainerManager) GetNodeAllocatableReservation() v1.ResourceList return nil } -func (cm *FakeContainerManager) GetCapacity() v1.ResourceList { +func (cm *FakeContainerManager) GetCapacity(localStorageCapacityIsolation bool) v1.ResourceList { cm.Lock() defer cm.Unlock() cm.CalledFunctions = append(cm.CalledFunctions, "GetCapacity") + if !localStorageCapacityIsolation { + return v1.ResourceList{} + } c := v1.ResourceList{ v1.ResourceEphemeralStorage: *resource.NewQuantity( int64(0), diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/memorymanager/memory_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/memorymanager/memory_manager.go index dad537e9a47c..c567871f1b09 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/memorymanager/memory_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/memorymanager/memory_manager.go @@ -43,7 +43,7 @@ const memoryManagerStateFileName = "memory_manager_state" type ActivePodsFunc func() []*v1.Pod type runtimeService interface { - UpdateContainerResources(id string, resources *runtimeapi.LinuxContainerResources) error + UpdateContainerResources(id string, resources *runtimeapi.ContainerResources) error } type sourcesReadyStub struct{} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/node_container_manager_linux.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/node_container_manager_linux.go index 4b35d3c4fe3d..b6c0457bac5c 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/node_container_manager_linux.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/node_container_manager_linux.go @@ -40,7 +40,7 @@ const ( defaultNodeAllocatableCgroupName = "kubepods" ) -//createNodeAllocatableCgroups creates Node Allocatable Cgroup when CgroupsPerQOS flag is specified as true +// createNodeAllocatableCgroups creates Node Allocatable Cgroup when CgroupsPerQOS flag is specified as true func (cm *containerManagerImpl) createNodeAllocatableCgroups() error { nodeAllocatable := cm.internalCapacity // Use Node Allocatable limits instead of capacity if the user requested enforcing node allocatable. diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/fake_topology_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/fake_topology_manager.go index 8a60aa233473..921b47dab3b9 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/fake_topology_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/fake_topology_manager.go @@ -24,10 +24,11 @@ import ( ) type fakeManager struct { - hint *TopologyHint + hint *TopologyHint + policy Policy } -//NewFakeManager returns an instance of FakeManager +// NewFakeManager returns an instance of FakeManager func NewFakeManager() Manager { klog.InfoS("NewFakeManager") return &fakeManager{} @@ -37,7 +38,16 @@ func NewFakeManager() Manager { func NewFakeManagerWithHint(hint *TopologyHint) Manager { klog.InfoS("NewFakeManagerWithHint") return &fakeManager{ - hint: hint, + hint: hint, + policy: NewNonePolicy(), + } +} + +// NewFakeManagerWithPolicy returns an instance of fake topology manager with specified policy +func NewFakeManagerWithPolicy(policy Policy) Manager { + klog.InfoS("NewFakeManagerWithPolicy") + return &fakeManager{ + policy: policy, } } @@ -50,6 +60,10 @@ func (m *fakeManager) GetAffinity(podUID string, containerName string) TopologyH return *m.hint } +func (m *fakeManager) GetPolicy() Policy { + return m.policy +} + func (m *fakeManager) AddHintProvider(h HintProvider) { klog.InfoS("AddHintProvider", "hintProvider", h) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/policy.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/policy.go index 40255ed95cc7..76b469fa1fcb 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/policy.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/policy.go @@ -293,18 +293,19 @@ func mergeFilteredHints(numaNodes []int, filteredHints [][]TopologyHint) Topolog // permutation as it is found. It is the equivalent of: // // for i := 0; i < len(providerHints[0]); i++ -// for j := 0; j < len(providerHints[1]); j++ -// for k := 0; k < len(providerHints[2]); k++ -// ... -// for z := 0; z < len(providerHints[-1]); z++ -// permutation := []TopologyHint{ -// providerHints[0][i], -// providerHints[1][j], -// providerHints[2][k], -// ... -// providerHints[-1][z] -// } -// callback(permutation) +// +// for j := 0; j < len(providerHints[1]); j++ +// for k := 0; k < len(providerHints[2]); k++ +// ... +// for z := 0; z < len(providerHints[-1]); z++ +// permutation := []TopologyHint{ +// providerHints[0][i], +// providerHints[1][j], +// providerHints[2][k], +// ... +// providerHints[-1][z] +// } +// callback(permutation) func iterateAllProviderTopologyHints(allProviderHints [][]TopologyHint, callback func([]TopologyHint)) { // Internal helper function to accumulate the permutation before calling the callback. var iterate func(i int, accum []TopologyHint) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/scope.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/scope.go index 912aba3fde0b..ed149df5bade 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/scope.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/scope.go @@ -38,6 +38,7 @@ type podTopologyHints map[string]map[string]TopologyHint // Scope interface for Topology Manager type Scope interface { Name() string + GetPolicy() Policy Admit(pod *v1.Pod) lifecycle.PodAdmitResult // AddHintProvider adds a hint provider to manager to indicate the hint provider // wants to be consoluted with when making topology hints @@ -88,6 +89,10 @@ func (s *scope) GetAffinity(podUID string, containerName string) TopologyHint { return s.getTopologyHints(podUID, containerName) } +func (s *scope) GetPolicy() Policy { + return s.policy +} + func (s *scope) AddHintProvider(h HintProvider) { s.hintProviders = append(s.hintProviders, h) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/topology_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/topology_manager.go index 7cd67d1aa60a..ea5ac91560dc 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/topology_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/topology_manager.go @@ -92,9 +92,10 @@ type HintProvider interface { Allocate(pod *v1.Pod, container *v1.Container) error } -//Store interface is to allow Hint Providers to retrieve pod affinity +// Store interface is to allow Hint Providers to retrieve pod affinity type Store interface { GetAffinity(podUID string, containerName string) TopologyHint + GetPolicy() Policy } // TopologyHint is a struct containing the NUMANodeAffinity for a Container @@ -184,6 +185,10 @@ func (m *manager) GetAffinity(podUID string, containerName string) TopologyHint return m.scope.GetAffinity(podUID, containerName) } +func (m *manager) GetPolicy() Policy { + return m.scope.GetPolicy() +} + func (m *manager) AddHintProvider(h HintProvider) { m.scope.AddHintProvider(h) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/config/config.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/config/config.go index 7a83868cb8ab..4dea5ca65bda 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/config/config.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/config/config.go @@ -95,6 +95,8 @@ func (c *PodConfig) SeenAllSources(seenSources sets.String) bool { if c.pods == nil { return false } + c.sourcesLock.Lock() + defer c.sourcesLock.Unlock() klog.V(5).InfoS("Looking for sources, have seen", "sources", c.sources.List(), "seenSources", seenSources) return seenSources.HasAll(c.sources.List()...) && c.pods.seenSources(c.sources.List()...) } @@ -412,11 +414,11 @@ func podsDifferSemantically(existing, ref *v1.Pod) bool { } // checkAndUpdatePod updates existing, and: -// * if ref makes a meaningful change, returns needUpdate=true -// * if ref makes a meaningful change, and this change is graceful deletion, returns needGracefulDelete=true -// * if ref makes no meaningful change, but changes the pod status, returns needReconcile=true -// * else return all false -// Now, needUpdate, needGracefulDelete and needReconcile should never be both true +// - if ref makes a meaningful change, returns needUpdate=true +// - if ref makes a meaningful change, and this change is graceful deletion, returns needGracefulDelete=true +// - if ref makes no meaningful change, but changes the pod status, returns needReconcile=true +// - else return all false +// Now, needUpdate, needGracefulDelete and needReconcile should never be both true func checkAndUpdatePod(existing, ref *v1.Pod) (needUpdate, needReconcile, needGracefulDelete bool) { // 1. this is a reconcile diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/config/defaults.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/config/defaults.go index f2564e65d90d..b438e0d25d54 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/config/defaults.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/config/defaults.go @@ -28,4 +28,5 @@ const ( DefaultKubeletPluginContainersDirName = "plugin-containers" DefaultKubeletPodResourcesDirName = "pod-resources" KubeletPluginsDirSELinuxLabel = "system_u:object_r:container_file_t:s0" + DefaultKubeletCheckpointsDirName = "checkpoints" ) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/configmap/configmap_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/configmap/configmap_manager.go index de7ac5c06cac..0f276c083ec0 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/configmap/configmap_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/configmap/configmap_manager.go @@ -114,11 +114,11 @@ const ( // NewCachingConfigMapManager creates a manager that keeps a cache of all configmaps // necessary for registered pods. // It implement the following logic: -// - whenever a pod is create or updated, the cached versions of all configmaps -// are invalidated -// - every GetObject() call tries to fetch the value from local cache; if it is -// not there, invalidated or too old, we fetch it from apiserver and refresh the -// value in cache; otherwise it is just fetched from cache +// - whenever a pod is create or updated, the cached versions of all configmaps +// are invalidated +// - every GetObject() call tries to fetch the value from local cache; if it is +// not there, invalidated or too old, we fetch it from apiserver and refresh the +// value in cache; otherwise it is just fetched from cache func NewCachingConfigMapManager(kubeClient clientset.Interface, getTTL manager.GetObjectTTLFunc) Manager { getConfigMap := func(namespace, name string, opts metav1.GetOptions) (runtime.Object, error) { return kubeClient.CoreV1().ConfigMaps(namespace).Get(context.TODO(), name, opts) @@ -132,9 +132,9 @@ func NewCachingConfigMapManager(kubeClient clientset.Interface, getTTL manager.G // NewWatchingConfigMapManager creates a manager that keeps a cache of all configmaps // necessary for registered pods. // It implements the following logic: -// - whenever a pod is created or updated, we start individual watches for all -// referenced objects that aren't referenced from other registered pods -// - every GetObject() returns a value from local cache propagated via watches +// - whenever a pod is created or updated, we start individual watches for all +// referenced objects that aren't referenced from other registered pods +// - every GetObject() returns a value from local cache propagated via watches func NewWatchingConfigMapManager(kubeClient clientset.Interface, resyncInterval time.Duration) Manager { listConfigMap := func(namespace string, opts metav1.ListOptions) (runtime.Object, error) { return kubeClient.CoreV1().ConfigMaps(namespace).List(context.TODO(), opts) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/cache.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/cache.go index d4fec40d0c7e..ef760826b209 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/cache.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/cache.go @@ -108,8 +108,8 @@ func (c *cache) Delete(id types.UID) { delete(c.pods, id) } -// UpdateTime modifies the global timestamp of the cache and notify -// subscribers if needed. +// UpdateTime modifies the global timestamp of the cache and notify +// subscribers if needed. func (c *cache) UpdateTime(timestamp time.Time) { c.lock.Lock() defer c.lock.Unlock() diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/helpers.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/helpers.go index a9be02a32d60..d11f2d678863 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/helpers.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/helpers.go @@ -56,6 +56,9 @@ type RuntimeHelper interface { // supplemental groups for the Pod. These extra supplemental groups come // from annotations on persistent volumes that the pod depends on. GetExtraSupplementalGroupsForPod(pod *v1.Pod) []int64 + + // GetOrCreateUserNamespaceMappings returns the configuration for the sandbox user namespace + GetOrCreateUserNamespaceMappings(pod *v1.Pod) (*runtimeapi.UserNamespace, error) } // ShouldContainerBeRestarted checks whether a container needs to be restarted. diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/ref.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/ref.go index e4f860378a14..3d84a963e593 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/ref.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/ref.go @@ -20,10 +20,8 @@ import ( "fmt" v1 "k8s.io/api/core/v1" - utilfeature "k8s.io/apiserver/pkg/util/feature" ref "k8s.io/client-go/tools/reference" "k8s.io/kubernetes/pkg/api/legacyscheme" - "k8s.io/kubernetes/pkg/features" ) // ImplicitContainerPrefix is a container name prefix that will indicate that container was started implicitly (like the pod infra container). @@ -67,15 +65,13 @@ func fieldPath(pod *v1.Pod, container *v1.Container) (string, error) { return fmt.Sprintf("spec.initContainers{%s}", here.Name), nil } } - if utilfeature.DefaultFeatureGate.Enabled(features.EphemeralContainers) { - for i := range pod.Spec.EphemeralContainers { - here := &pod.Spec.EphemeralContainers[i] - if here.Name == container.Name { - if here.Name == "" { - return fmt.Sprintf("spec.ephemeralContainers[%d]", i), nil - } - return fmt.Sprintf("spec.ephemeralContainers{%s}", here.Name), nil + for i := range pod.Spec.EphemeralContainers { + here := &pod.Spec.EphemeralContainers[i] + if here.Name == container.Name { + if here.Name == "" { + return fmt.Sprintf("spec.ephemeralContainers[%d]", i), nil } + return fmt.Sprintf("spec.ephemeralContainers{%s}", here.Name), nil } } return "", fmt.Errorf("container %q not found in pod %s/%s", container.Name, pod.Namespace, pod.Name) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/runtime.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/runtime.go index 0810e938f267..ad59de4df1c2 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/runtime.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/runtime.go @@ -119,6 +119,9 @@ type Runtime interface { // This method just proxies a new runtimeConfig with the updated // CIDR value down to the runtime shim. UpdatePodCIDR(podCIDR string) error + // CheckpointContainer tells the runtime to checkpoint a container + // and store the resulting archive to the checkpoint directory. + CheckpointContainer(options *runtimeapi.CheckpointContainerRequest) error } // StreamingRuntime is the interface implemented by runtimes that handle the serving of the diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/testing/fake_runtime.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/testing/fake_runtime.go index 3765e87c8a66..c259a06cb130 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/testing/fake_runtime.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/testing/fake_runtime.go @@ -362,6 +362,14 @@ func (f *FakeRuntime) DeleteContainer(containerID kubecontainer.ContainerID) err return f.Err } +func (f *FakeRuntime) CheckpointContainer(options *runtimeapi.CheckpointContainerRequest) error { + f.Lock() + defer f.Unlock() + + f.CalledFunctions = append(f.CalledFunctions, "CheckpointContainer") + return f.Err +} + func (f *FakeRuntime) ImageStats() (*kubecontainer.ImageStats, error) { f.Lock() defer f.Unlock() diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/testing/fake_runtime_helper.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/testing/fake_runtime_helper.go index a7d13d606cea..eb4a51676bb1 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/testing/fake_runtime_helper.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/testing/fake_runtime_helper.go @@ -65,3 +65,7 @@ func (f *FakeRuntimeHelper) GetPodDir(podUID kubetypes.UID) string { func (f *FakeRuntimeHelper) GetExtraSupplementalGroupsForPod(pod *v1.Pod) []int64 { return nil } + +func (f *FakeRuntimeHelper) GetOrCreateUserNamespaceMappings(pod *v1.Pod) (*runtimeapi.UserNamespace, error) { + return nil, nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/testing/runtime_mock.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/testing/runtime_mock.go index b26330959120..1e68ee3f5f87 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/testing/runtime_mock.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/container/testing/runtime_mock.go @@ -126,6 +126,20 @@ func (mr *MockRuntimeMockRecorder) APIVersion() *gomock.Call { return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "APIVersion", reflect.TypeOf((*MockRuntime)(nil).APIVersion)) } +// CheckpointContainer mocks base method. +func (m *MockRuntime) CheckpointContainer(options *v10.CheckpointContainerRequest) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "CheckpointContainer", options) + ret0, _ := ret[0].(error) + return ret0 +} + +// CheckpointContainer indicates an expected call of CheckpointContainer. +func (mr *MockRuntimeMockRecorder) CheckpointContainer(options interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckpointContainer", reflect.TypeOf((*MockRuntime)(nil).CheckpointContainer), options) +} + // DeleteContainer mocks base method. func (m *MockRuntime) DeleteContainer(containerID container.ContainerID) error { m.ctrl.T.Helper() diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/conversion.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/conversion.go index 355393977558..120b718cbf53 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/conversion.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/conversion.go @@ -113,6 +113,10 @@ func v1alpha2LinuxContainerResources(from *runtimeapi.LinuxContainerResources) * return (*v1alpha2.LinuxContainerResources)(unsafe.Pointer(from)) } +func v1alpha2WindowsContainerResources(from *runtimeapi.WindowsContainerResources) *v1alpha2.WindowsContainerResources { + return (*v1alpha2.WindowsContainerResources)(unsafe.Pointer(from)) +} + func v1alpha2ExecRequest(from *runtimeapi.ExecRequest) *v1alpha2.ExecRequest { // If this function changes, also adapt the corresponding Exec code in // pkg/kubelet/cri/remote/remote_runtime.go diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/remote_image.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/remote_image.go index 6a8912e8bcd7..73236896d645 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/remote_image.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/remote_image.go @@ -24,13 +24,14 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/codes" + "google.golang.org/grpc/credentials/insecure" "google.golang.org/grpc/status" "k8s.io/klog/v2" internalapi "k8s.io/cri-api/pkg/apis" runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1" runtimeapiV1alpha2 "k8s.io/cri-api/pkg/apis/runtime/v1alpha2" - "k8s.io/kubernetes/pkg/kubelet/cri/remote/util" + "k8s.io/kubernetes/pkg/kubelet/util" ) // remoteImageService is a gRPC implementation of internalapi.ImageManagerService. @@ -51,7 +52,10 @@ func NewRemoteImageService(endpoint string, connectionTimeout time.Duration) (in ctx, cancel := context.WithTimeout(context.Background(), connectionTimeout) defer cancel() - conn, err := grpc.DialContext(ctx, addr, grpc.WithInsecure(), grpc.WithContextDialer(dialer), grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(maxMsgSize))) + conn, err := grpc.DialContext(ctx, addr, + grpc.WithTransportCredentials(insecure.NewCredentials()), + grpc.WithContextDialer(dialer), + grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(maxMsgSize))) if err != nil { klog.ErrorS(err, "Connect remote image service failed", "address", addr) return nil, err diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/remote_runtime.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/remote_runtime.go index cd7b781e8c7b..2f479f0fc71b 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/remote_runtime.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/remote_runtime.go @@ -23,16 +23,21 @@ import ( "strings" "time" + "go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc" + "go.opentelemetry.io/otel/trace" "google.golang.org/grpc" "google.golang.org/grpc/codes" + "google.golang.org/grpc/credentials/insecure" "google.golang.org/grpc/status" - "k8s.io/klog/v2" - + utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/component-base/logs/logreduction" + tracing "k8s.io/component-base/tracing" internalapi "k8s.io/cri-api/pkg/apis" runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1" runtimeapiV1alpha2 "k8s.io/cri-api/pkg/apis/runtime/v1alpha2" - "k8s.io/kubernetes/pkg/kubelet/cri/remote/util" + "k8s.io/klog/v2" + "k8s.io/kubernetes/pkg/features" + "k8s.io/kubernetes/pkg/kubelet/util" "k8s.io/kubernetes/pkg/probe/exec" utilexec "k8s.io/utils/exec" ) @@ -67,7 +72,7 @@ const ( ) // NewRemoteRuntimeService creates a new internalapi.RuntimeService. -func NewRemoteRuntimeService(endpoint string, connectionTimeout time.Duration) (internalapi.RuntimeService, error) { +func NewRemoteRuntimeService(endpoint string, connectionTimeout time.Duration, tp trace.TracerProvider) (internalapi.RuntimeService, error) { klog.V(3).InfoS("Connecting to runtime service", "endpoint", endpoint) addr, dialer, err := util.GetAddressAndDialer(endpoint) if err != nil { @@ -76,7 +81,23 @@ func NewRemoteRuntimeService(endpoint string, connectionTimeout time.Duration) ( ctx, cancel := context.WithTimeout(context.Background(), connectionTimeout) defer cancel() - conn, err := grpc.DialContext(ctx, addr, grpc.WithInsecure(), grpc.WithContextDialer(dialer), grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(maxMsgSize))) + dialOpts := []grpc.DialOption{} + dialOpts = append(dialOpts, + grpc.WithTransportCredentials(insecure.NewCredentials()), + grpc.WithContextDialer(dialer), + grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(maxMsgSize))) + if utilfeature.DefaultFeatureGate.Enabled(features.KubeletTracing) { + tracingOpts := []otelgrpc.Option{ + otelgrpc.WithPropagators(tracing.Propagators()), + otelgrpc.WithTracerProvider(tp), + } + // Even if there is no TracerProvider, the otelgrpc still handles context propagation. + // See https://github.com/open-telemetry/opentelemetry-go/tree/main/example/passthrough + dialOpts = append(dialOpts, + grpc.WithUnaryInterceptor(otelgrpc.UnaryClientInterceptor(tracingOpts...)), + grpc.WithStreamInterceptor(otelgrpc.StreamClientInterceptor(tracingOpts...))) + } + conn, err := grpc.DialContext(ctx, addr, dialOpts...) if err != nil { klog.ErrorS(err, "Connect remote runtime failed", "address", addr) return nil, err @@ -620,7 +641,7 @@ func (r *remoteRuntimeService) containerStatusV1(ctx context.Context, containerI } // UpdateContainerResources updates a containers resource config -func (r *remoteRuntimeService) UpdateContainerResources(containerID string, resources *runtimeapi.LinuxContainerResources) (err error) { +func (r *remoteRuntimeService) UpdateContainerResources(containerID string, resources *runtimeapi.ContainerResources) (err error) { klog.V(10).InfoS("[RemoteRuntimeService] UpdateContainerResources", "containerID", containerID, "timeout", r.timeout) ctx, cancel := getContextWithTimeout(r.timeout) defer cancel() @@ -628,12 +649,14 @@ func (r *remoteRuntimeService) UpdateContainerResources(containerID string, reso if r.useV1API() { _, err = r.runtimeClient.UpdateContainerResources(ctx, &runtimeapi.UpdateContainerResourcesRequest{ ContainerId: containerID, - Linux: resources, + Linux: resources.GetLinux(), + Windows: resources.GetWindows(), }) } else { _, err = r.runtimeClientV1alpha2.UpdateContainerResources(ctx, &runtimeapiV1alpha2.UpdateContainerResourcesRequest{ ContainerId: containerID, - Linux: v1alpha2LinuxContainerResources(resources), + Linux: v1alpha2LinuxContainerResources(resources.GetLinux()), + Windows: v1alpha2WindowsContainerResources(resources.GetWindows()), }) } if err != nil { @@ -1149,3 +1172,62 @@ func (r *remoteRuntimeService) ReopenContainerLog(containerID string) (err error klog.V(10).InfoS("[RemoteRuntimeService] ReopenContainerLog Response", "containerID", containerID) return nil } + +// CheckpointContainer triggers a checkpoint of the given CheckpointContainerRequest +func (r *remoteRuntimeService) CheckpointContainer(options *runtimeapi.CheckpointContainerRequest) error { + klog.V(10).InfoS( + "[RemoteRuntimeService] CheckpointContainer", + "options", + options, + ) + if options == nil { + return errors.New("CheckpointContainer requires non-nil CheckpointRestoreOptions parameter") + } + if !r.useV1API() { + return errors.New("CheckpointContainer is only supported in the CRI v1 runtime API") + } + + if options.Timeout < 0 { + return errors.New("CheckpointContainer requires the timeout value to be > 0") + } + + ctx, cancel := func() (context.Context, context.CancelFunc) { + defaultTimeout := int64(r.timeout / time.Second) + if options.Timeout > defaultTimeout { + // The user requested a specific timeout, let's use that if it + // is larger than the CRI default. + return getContextWithTimeout(time.Duration(options.Timeout) * time.Second) + } + // If the user requested a timeout less than the + // CRI default, let's use the CRI default. + options.Timeout = defaultTimeout + return getContextWithTimeout(r.timeout) + }() + defer cancel() + + _, err := r.runtimeClient.CheckpointContainer( + ctx, + options, + ) + + if err != nil { + klog.ErrorS( + err, + "CheckpointContainer from runtime service failed", + "containerID", + options.ContainerId, + ) + return err + } + klog.V(10).InfoS( + "[RemoteRuntimeService] CheckpointContainer Response", + "containerID", + options.ContainerId, + ) + + return nil +} + +func (r *remoteRuntimeService) GetContainerEvents(containerEventsCh chan *runtimeapi.ContainerEventResponse) error { + return nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/util/util_unix.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/util/util_unix.go deleted file mode 100644 index 28f1f2c2597d..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/util/util_unix.go +++ /dev/null @@ -1,146 +0,0 @@ -//go:build freebsd || linux || darwin -// +build freebsd linux darwin - -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package util - -import ( - "context" - "fmt" - "io/ioutil" - "net" - "net/url" - "os" - "path/filepath" - - "golang.org/x/sys/unix" - "k8s.io/klog/v2" -) - -const ( - // unixProtocol is the network protocol of unix socket. - unixProtocol = "unix" -) - -// CreateListener creates a listener on the specified endpoint. -func CreateListener(endpoint string) (net.Listener, error) { - protocol, addr, err := parseEndpointWithFallbackProtocol(endpoint, unixProtocol) - if err != nil { - return nil, err - } - if protocol != unixProtocol { - return nil, fmt.Errorf("only support unix socket endpoint") - } - - // Unlink to cleanup the previous socket file. - err = unix.Unlink(addr) - if err != nil && !os.IsNotExist(err) { - return nil, fmt.Errorf("failed to unlink socket file %q: %v", addr, err) - } - - if err := os.MkdirAll(filepath.Dir(addr), 0750); err != nil { - return nil, fmt.Errorf("error creating socket directory %q: %v", filepath.Dir(addr), err) - } - - // Create the socket on a tempfile and move it to the destination socket to handle improper cleanup - file, err := ioutil.TempFile(filepath.Dir(addr), "") - if err != nil { - return nil, fmt.Errorf("failed to create temporary file: %v", err) - } - - if err := os.Remove(file.Name()); err != nil { - return nil, fmt.Errorf("failed to remove temporary file: %v", err) - } - - l, err := net.Listen(protocol, file.Name()) - if err != nil { - return nil, err - } - - if err = os.Rename(file.Name(), addr); err != nil { - return nil, fmt.Errorf("failed to move temporary file to addr %q: %v", addr, err) - } - - return l, nil -} - -// GetAddressAndDialer returns the address parsed from the given endpoint and a context dialer. -func GetAddressAndDialer(endpoint string) (string, func(ctx context.Context, addr string) (net.Conn, error), error) { - protocol, addr, err := parseEndpointWithFallbackProtocol(endpoint, unixProtocol) - if err != nil { - return "", nil, err - } - if protocol != unixProtocol { - return "", nil, fmt.Errorf("only support unix socket endpoint") - } - - return addr, dial, nil -} - -func dial(ctx context.Context, addr string) (net.Conn, error) { - return (&net.Dialer{}).DialContext(ctx, unixProtocol, addr) -} - -func parseEndpointWithFallbackProtocol(endpoint string, fallbackProtocol string) (protocol string, addr string, err error) { - if protocol, addr, err = parseEndpoint(endpoint); err != nil && protocol == "" { - fallbackEndpoint := fallbackProtocol + "://" + endpoint - protocol, addr, err = parseEndpoint(fallbackEndpoint) - if err == nil { - klog.InfoS("Using this format as endpoint is deprecated, please consider using full url format.", "deprecatedFormat", endpoint, "fullURLFormat", fallbackEndpoint) - } - } - return -} - -func parseEndpoint(endpoint string) (string, string, error) { - u, err := url.Parse(endpoint) - if err != nil { - return "", "", err - } - - switch u.Scheme { - case "tcp": - return "tcp", u.Host, nil - - case "unix": - return "unix", u.Path, nil - - case "": - return "", "", fmt.Errorf("using %q as endpoint is deprecated, please consider using full url format", endpoint) - - default: - return u.Scheme, "", fmt.Errorf("protocol %q not supported", u.Scheme) - } -} - -// IsUnixDomainSocket returns whether a given file is a AF_UNIX socket file -func IsUnixDomainSocket(filePath string) (bool, error) { - fi, err := os.Stat(filePath) - if err != nil { - return false, fmt.Errorf("stat file %s failed: %v", filePath, err) - } - if fi.Mode()&os.ModeSocket == 0 { - return false, nil - } - return true, nil -} - -// NormalizePath is a no-op for Linux for now -func NormalizePath(path string) string { - return path -} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/util/util_unsupported.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/util/util_unsupported.go deleted file mode 100644 index 054c36230efa..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/util/util_unsupported.go +++ /dev/null @@ -1,56 +0,0 @@ -//go:build !freebsd && !linux && !windows && !darwin -// +build !freebsd,!linux,!windows,!darwin - -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package util - -import ( - "context" - "fmt" - "net" - "time" -) - -// CreateListener creates a listener on the specified endpoint. -func CreateListener(endpoint string) (net.Listener, error) { - return nil, fmt.Errorf("CreateListener is unsupported in this build") -} - -// GetAddressAndDialer returns the address parsed from the given endpoint and a context dialer. -func GetAddressAndDialer(endpoint string) (string, func(ctx context.Context, addr string) (net.Conn, error), error) { - return "", nil, fmt.Errorf("GetAddressAndDialer is unsupported in this build") -} - -// LockAndCheckSubPath empty implementation -func LockAndCheckSubPath(volumePath, subPath string) ([]uintptr, error) { - return []uintptr{}, nil -} - -// UnlockPath empty implementation -func UnlockPath(fileHandles []uintptr) { -} - -// LocalEndpoint empty implementation -func LocalEndpoint(path, file string) (string, error) { - return "", fmt.Errorf("LocalEndpoints are unsupported in this build") -} - -// GetBootTime empty implementation -func GetBootTime() (time.Time, error) { - return time.Time{}, fmt.Errorf("GetBootTime is unsupported in this build") -} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/util/util_windows.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/util/util_windows.go deleted file mode 100644 index 763fdd80a0d9..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/cri/remote/util/util_windows.go +++ /dev/null @@ -1,150 +0,0 @@ -//go:build windows -// +build windows - -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package util - -import ( - "context" - "fmt" - "net" - "net/url" - "strings" - "syscall" - "time" - - "github.com/Microsoft/go-winio" -) - -const ( - tcpProtocol = "tcp" - npipeProtocol = "npipe" -) - -// CreateListener creates a listener on the specified endpoint. -func CreateListener(endpoint string) (net.Listener, error) { - protocol, addr, err := parseEndpoint(endpoint) - if err != nil { - return nil, err - } - - switch protocol { - case tcpProtocol: - return net.Listen(tcpProtocol, addr) - - case npipeProtocol: - return winio.ListenPipe(addr, nil) - - default: - return nil, fmt.Errorf("only support tcp and npipe endpoint") - } -} - -// GetAddressAndDialer returns the address parsed from the given endpoint and a context dialer. -func GetAddressAndDialer(endpoint string) (string, func(ctx context.Context, addr string) (net.Conn, error), error) { - protocol, addr, err := parseEndpoint(endpoint) - if err != nil { - return "", nil, err - } - - if protocol == tcpProtocol { - return addr, tcpDial, nil - } - - if protocol == npipeProtocol { - return addr, npipeDial, nil - } - - return "", nil, fmt.Errorf("only support tcp and npipe endpoint") -} - -func tcpDial(ctx context.Context, addr string) (net.Conn, error) { - return (&net.Dialer{}).DialContext(ctx, tcpProtocol, addr) -} - -func npipeDial(ctx context.Context, addr string) (net.Conn, error) { - return winio.DialPipeContext(ctx, addr) -} - -func parseEndpoint(endpoint string) (string, string, error) { - // url.Parse doesn't recognize \, so replace with / first. - endpoint = strings.Replace(endpoint, "\\", "/", -1) - u, err := url.Parse(endpoint) - if err != nil { - return "", "", err - } - - if u.Scheme == "tcp" { - return "tcp", u.Host, nil - } else if u.Scheme == "npipe" { - if strings.HasPrefix(u.Path, "//./pipe") { - return "npipe", u.Path, nil - } - - // fallback host if not provided. - host := u.Host - if host == "" { - host = "." - } - return "npipe", fmt.Sprintf("//%s%s", host, u.Path), nil - } else if u.Scheme == "" { - return "", "", fmt.Errorf("using %q as endpoint is deprecated, please consider using full url format", endpoint) - } else { - return u.Scheme, "", fmt.Errorf("protocol %q not supported", u.Scheme) - } -} - -var tickCount = syscall.NewLazyDLL("kernel32.dll").NewProc("GetTickCount64") - -// GetBootTime returns the time at which the machine was started, truncated to the nearest second -func GetBootTime() (time.Time, error) { - currentTime := time.Now() - output, _, err := tickCount.Call() - if errno, ok := err.(syscall.Errno); !ok || errno != 0 { - return time.Time{}, err - } - return currentTime.Add(-time.Duration(output) * time.Millisecond).Truncate(time.Second), nil -} - -// IsUnixDomainSocket returns whether a given file is a AF_UNIX socket file -func IsUnixDomainSocket(filePath string) (bool, error) { - // Due to the absence of golang support for os.ModeSocket in Windows (https://github.com/golang/go/issues/33357) - // we need to dial the file and check if we receive an error to determine if a file is Unix Domain Socket file. - - // Note that querrying for the Reparse Points (https://docs.microsoft.com/en-us/windows/win32/fileio/reparse-points) - // for the file (using FSCTL_GET_REPARSE_POINT) and checking for reparse tag: reparseTagSocket - // does NOT work in 1809 if the socket file is created within a bind mounted directory by a container - // and the FSCTL is issued in the host by the kubelet. - - c, err := net.Dial("unix", filePath) - if err == nil { - c.Close() - return true, nil - } - return false, nil -} - -// NormalizePath converts FS paths returned by certain go frameworks (like fsnotify) -// to native Windows paths that can be passed to Windows specific code -func NormalizePath(path string) string { - path = strings.ReplaceAll(path, "/", "\\") - if strings.HasPrefix(path, "\\") { - path = "c:" + path - } - return path -} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/eviction/eviction_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/eviction/eviction_manager.go index f905ae079833..8332a522e25f 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/eviction/eviction_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/eviction/eviction_manager.go @@ -26,13 +26,11 @@ import ( v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" - utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/client-go/tools/record" v1helper "k8s.io/component-helpers/scheduling/corev1" statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1" apiv1resource "k8s.io/kubernetes/pkg/api/v1/resource" v1qos "k8s.io/kubernetes/pkg/apis/core/v1/helper/qos" - "k8s.io/kubernetes/pkg/features" evictionapi "k8s.io/kubernetes/pkg/kubelet/eviction/api" "k8s.io/kubernetes/pkg/kubelet/lifecycle" "k8s.io/kubernetes/pkg/kubelet/metrics" @@ -97,6 +95,8 @@ type managerImpl struct { thresholdNotifiers []ThresholdNotifier // thresholdsLastUpdated is the last time the thresholdNotifiers were updated. thresholdsLastUpdated time.Time + // whether can support local storage capacity isolation + localStorageCapacityIsolation bool } // ensure it implements the required interface @@ -113,21 +113,23 @@ func NewManager( recorder record.EventRecorder, nodeRef *v1.ObjectReference, clock clock.WithTicker, + localStorageCapacityIsolation bool, ) (Manager, lifecycle.PodAdmitHandler) { manager := &managerImpl{ - clock: clock, - killPodFunc: killPodFunc, - mirrorPodFunc: mirrorPodFunc, - imageGC: imageGC, - containerGC: containerGC, - config: config, - recorder: recorder, - summaryProvider: summaryProvider, - nodeRef: nodeRef, - nodeConditionsLastObservedAt: nodeConditionsObservedAt{}, - thresholdsFirstObservedAt: thresholdsObservedAt{}, - dedicatedImageFs: nil, - thresholdNotifiers: []ThresholdNotifier{}, + clock: clock, + killPodFunc: killPodFunc, + mirrorPodFunc: mirrorPodFunc, + imageGC: imageGC, + containerGC: containerGC, + config: config, + recorder: recorder, + summaryProvider: summaryProvider, + nodeRef: nodeRef, + nodeConditionsLastObservedAt: nodeConditionsObservedAt{}, + thresholdsFirstObservedAt: thresholdsObservedAt{}, + dedicatedImageFs: nil, + thresholdNotifiers: []ThresholdNotifier{}, + localStorageCapacityIsolation: localStorageCapacityIsolation, } return manager, manager } @@ -230,7 +232,7 @@ func (m *managerImpl) IsUnderPIDPressure() bool { func (m *managerImpl) synchronize(diskInfoProvider DiskInfoProvider, podFunc ActivePodsFunc) []*v1.Pod { // if we have nothing to do, just return thresholds := m.config.Thresholds - if len(thresholds) == 0 && !utilfeature.DefaultFeatureGate.Enabled(features.LocalStorageCapacityIsolation) { + if len(thresholds) == 0 && !m.localStorageCapacityIsolation { return nil } @@ -318,7 +320,7 @@ func (m *managerImpl) synchronize(diskInfoProvider DiskInfoProvider, podFunc Act // evict pods if there is a resource usage violation from local volume temporary storage // If eviction happens in localStorageEviction function, skip the rest of eviction action - if utilfeature.DefaultFeatureGate.Enabled(features.LocalStorageCapacityIsolation) { + if m.localStorageCapacityIsolation { if evictedPods := m.localStorageEviction(activePods, statsFunc); len(evictedPods) > 0 { return evictedPods } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/eviction/helpers.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/eviction/helpers.go index 68a0c6f3cd6e..bf5d6fe7c1a6 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/eviction/helpers.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/eviction/helpers.go @@ -430,10 +430,9 @@ func cachedStatsFunc(podStats []statsapi.PodStats) statsFunc { // Cmp compares p1 and p2 and returns: // -// -1 if p1 < p2 -// 0 if p1 == p2 -// +1 if p1 > p2 -// +// -1 if p1 < p2 +// 0 if p1 == p2 +// +1 if p1 > p2 type cmpFunc func(p1, p2 *v1.Pod) int // multiSorter implements the Sort interface, sorting changes within. diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet.go index 8482c60db13a..963d744e80fe 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet.go @@ -25,6 +25,7 @@ import ( "net/http" "os" "path" + "path/filepath" sysruntime "runtime" "sort" "strings" @@ -37,6 +38,7 @@ import ( cadvisorapi "github.com/google/cadvisor/info/v1" libcontaineruserns "github.com/opencontainers/runc/libcontainer/userns" + "go.opentelemetry.io/otel/trace" "k8s.io/mount-utils" "k8s.io/utils/integer" netutils "k8s.io/utils/net" @@ -60,6 +62,7 @@ import ( cloudprovider "k8s.io/cloud-provider" "k8s.io/component-helpers/apimachinery/lease" internalapi "k8s.io/cri-api/pkg/apis" + runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1" "k8s.io/klog/v2" pluginwatcherapi "k8s.io/kubelet/pkg/apis/pluginregistration/v1" statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1" @@ -204,7 +207,7 @@ type Bootstrap interface { GetConfiguration() kubeletconfiginternal.KubeletConfiguration BirthCry() StartGarbageCollection() - ListenAndServe(kubeCfg *kubeletconfiginternal.KubeletConfiguration, tlsOptions *server.TLSOptions, auth server.AuthInterface) + ListenAndServe(kubeCfg *kubeletconfiginternal.KubeletConfiguration, tlsOptions *server.TLSOptions, auth server.AuthInterface, tp trace.TracerProvider) ListenAndServeReadOnly(address net.IP, port uint) ListenAndServePodResources() Run(<-chan kubetypes.PodUpdate) @@ -234,6 +237,7 @@ type Dependencies struct { ProbeManager prober.Manager Recorder record.EventRecorder Subpather subpath.Interface + TracerProvider trace.TracerProvider VolumePlugins []volume.VolumePlugin DynamicPluginProber volume.DynamicPluginProber TLSOptions *server.TLSOptions @@ -291,7 +295,7 @@ func PreInitRuntimeService(kubeCfg *kubeletconfiginternal.KubeletConfiguration, } var err error - if kubeDeps.RemoteRuntimeService, err = remote.NewRemoteRuntimeService(remoteRuntimeEndpoint, kubeCfg.RuntimeRequestTimeout.Duration); err != nil { + if kubeDeps.RemoteRuntimeService, err = remote.NewRemoteRuntimeService(remoteRuntimeEndpoint, kubeCfg.RuntimeRequestTimeout.Duration, kubeDeps.TracerProvider); err != nil { return err } if kubeDeps.RemoteImageService, err = remote.NewRemoteImageService(remoteImageEndpoint, kubeCfg.RuntimeRequestTimeout.Duration); err != nil { @@ -676,7 +680,6 @@ func NewMainKubelet(kubeCfg *kubeletconfiginternal.KubeletConfiguration, kubeDeps.RemoteRuntimeService, kubeDeps.RemoteImageService, hostStatsProvider, - utilfeature.DefaultFeatureGate.Enabled(features.DisableAcceleratorUsageMetrics), utilfeature.DefaultFeatureGate.Enabled(features.PodAndContainerStatsFromCRI)) } @@ -770,7 +773,8 @@ func NewMainKubelet(kubeCfg *kubeletconfiginternal.KubeletConfiguration, klet.backOff = flowcontrol.NewBackOff(backOffPeriod, MaxContainerBackOff) // setup eviction manager - evictionManager, evictionAdmitHandler := eviction.NewManager(klet.resourceAnalyzer, evictionConfig, killPodNow(klet.podWorkers, kubeDeps.Recorder), klet.podManager.GetMirrorPodByPod, klet.imageManager, klet.containerGC, kubeDeps.Recorder, nodeRef, klet.clock) + evictionManager, evictionAdmitHandler := eviction.NewManager(klet.resourceAnalyzer, evictionConfig, + killPodNow(klet.podWorkers, kubeDeps.Recorder), klet.podManager.GetMirrorPodByPod, klet.imageManager, klet.containerGC, kubeDeps.Recorder, nodeRef, klet.clock, kubeCfg.LocalStorageCapacityIsolation) klet.evictionManager = evictionManager klet.admitHandlers.AddPodAdmitHandler(evictionAdmitHandler) @@ -834,6 +838,10 @@ func NewMainKubelet(kubeCfg *kubeletconfiginternal.KubeletConfiguration, StateDirectory: rootDirectory, }) klet.shutdownManager = shutdownManager + klet.usernsManager, err = MakeUserNsManager(klet) + if err != nil { + return nil, err + } klet.admitHandlers.AddPodAdmitHandler(shutdownAdmitHandler) // Finally, put the most recent version of the config on the Kubelet, so @@ -1172,6 +1180,9 @@ type Kubelet struct { // Handles node shutdown events for the Node. shutdownManager nodeshutdown.Manager + + // Manage user namespaces + usernsManager *usernsManager } // ListPodStats is delegated to StatsProvider, which implements stats.Provider interface @@ -1229,6 +1240,7 @@ func (kl *Kubelet) RlimitStats() (*statsapi.RlimitStats, error) { // 2. the pods directory // 3. the plugins directory // 4. the pod-resources directory +// 5. the checkpoint directory func (kl *Kubelet) setupDataDirs() error { kl.rootDirectory = path.Clean(kl.rootDirectory) pluginRegistrationDir := kl.getPluginsRegistrationDir() @@ -1251,6 +1263,11 @@ func (kl *Kubelet) setupDataDirs() error { if err := os.MkdirAll(kl.getPodResourcesDir(), 0750); err != nil { return fmt.Errorf("error creating podresources directory: %v", err) } + if utilfeature.DefaultFeatureGate.Enabled(features.ContainerCheckpoint) { + if err := os.MkdirAll(kl.getCheckpointsDir(), 0700); err != nil { + return fmt.Errorf("error creating checkpoint directory: %v", err) + } + } if selinux.GetEnabled() { err := selinux.SetFileLabel(pluginRegistrationDir, config.KubeletPluginsDirSELinuxLabel) if err != nil { @@ -1375,7 +1392,7 @@ func (kl *Kubelet) initializeRuntimeDependentModules() { os.Exit(1) } // containerManager must start after cAdvisor because it needs filesystem capacity information - if err := kl.containerManager.Start(node, kl.GetActivePods, kl.sourcesReady, kl.statusManager, kl.runtimeService); err != nil { + if err := kl.containerManager.Start(node, kl.GetActivePods, kl.sourcesReady, kl.statusManager, kl.runtimeService, kl.supportLocalStorageCapacityIsolation()); err != nil { // Fail kubelet and rely on the babysitter to retry starting kubelet. klog.ErrorS(err, "Failed to start ContainerManager") os.Exit(1) @@ -1469,29 +1486,32 @@ func (kl *Kubelet) Run(updates <-chan kubetypes.PodUpdate) { // Arguments: // // updateType - whether this is a create (first time) or an update, should -// only be used for metrics since this method must be reentrant +// +// only be used for metrics since this method must be reentrant +// // pod - the pod that is being set up // mirrorPod - the mirror pod known to the kubelet for this pod, if any // podStatus - the most recent pod status observed for this pod which can -// be used to determine the set of actions that should be taken during -// this loop of syncPod +// +// be used to determine the set of actions that should be taken during +// this loop of syncPod // // The workflow is: -// * If the pod is being created, record pod worker start latency -// * Call generateAPIPodStatus to prepare an v1.PodStatus for the pod -// * If the pod is being seen as running for the first time, record pod -// start latency -// * Update the status of the pod in the status manager -// * Stop the pod's containers if it should not be running due to soft -// admission -// * Ensure any background tracking for a runnable pod is started -// * Create a mirror pod if the pod is a static pod, and does not -// already have a mirror pod -// * Create the data directories for the pod if they do not exist -// * Wait for volumes to attach/mount -// * Fetch the pull secrets for the pod -// * Call the container runtime's SyncPod callback -// * Update the traffic shaping for the pod's ingress and egress limits +// - If the pod is being created, record pod worker start latency +// - Call generateAPIPodStatus to prepare an v1.PodStatus for the pod +// - If the pod is being seen as running for the first time, record pod +// start latency +// - Update the status of the pod in the status manager +// - Stop the pod's containers if it should not be running due to soft +// admission +// - Ensure any background tracking for a runnable pod is started +// - Create a mirror pod if the pod is a static pod, and does not +// already have a mirror pod +// - Create the data directories for the pod if they do not exist +// - Wait for volumes to attach/mount +// - Fetch the pull secrets for the pod +// - Call the container runtime's SyncPod callback +// - Update the traffic shaping for the pod's ingress and egress limits // // If any step of this workflow errors, the error is returned, and is repeated // on the next syncPod call. @@ -1877,6 +1897,8 @@ func (kl *Kubelet) syncTerminatedPod(ctx context.Context, pod *v1.Pod, podStatus klog.V(4).InfoS("Pod termination removed cgroups", "pod", klog.KObj(pod), "podUID", pod.UID) } + kl.usernsManager.Release(pod.UID) + // mark the final pod status kl.statusManager.TerminatePod(pod) klog.V(4).InfoS("Pod is terminated and will need no more status updates", "pod", klog.KObj(pod), "podUID", pod.UID) @@ -1885,8 +1907,8 @@ func (kl *Kubelet) syncTerminatedPod(ctx context.Context, pod *v1.Pod, podStatus } // Get pods which should be resynchronized. Currently, the following pod should be resynchronized: -// * pod whose work is ready. -// * internal modules that request sync of a pod. +// - pod whose work is ready. +// - internal modules that request sync of a pod. func (kl *Kubelet) getPodsToSync() []*v1.Pod { allPods := kl.podManager.GetPods() podUIDs := kl.workQueue.GetWork() @@ -2051,13 +2073,13 @@ func (kl *Kubelet) syncLoop(updates <-chan kubetypes.PodUpdate, handler SyncHand // With that in mind, in truly no particular order, the different channels // are handled as follows: // -// * configCh: dispatch the pods for the config change to the appropriate -// handler callback for the event type -// * plegCh: update the runtime cache; sync pod -// * syncCh: sync all pods waiting for sync -// * housekeepingCh: trigger cleanup of pods -// * health manager: sync pods that have failed or in which one or more -// containers have failed health checks +// - configCh: dispatch the pods for the config change to the appropriate +// handler callback for the event type +// - plegCh: update the runtime cache; sync pod +// - syncCh: sync all pods waiting for sync +// - housekeepingCh: trigger cleanup of pods +// - health manager: sync pods that have failed or in which one or more +// containers have failed health checks func (kl *Kubelet) syncLoopIteration(configCh <-chan kubetypes.PodUpdate, handler SyncHandler, syncCh <-chan time.Time, housekeepingCh <-chan time.Time, plegCh <-chan *pleg.PodLifecycleEvent) bool { select { @@ -2385,8 +2407,8 @@ func (kl *Kubelet) ResyncInterval() time.Duration { // ListenAndServe runs the kubelet HTTP server. func (kl *Kubelet) ListenAndServe(kubeCfg *kubeletconfiginternal.KubeletConfiguration, tlsOptions *server.TLSOptions, - auth server.AuthInterface) { - server.ListenAndServeKubeletServer(kl, kl.resourceAnalyzer, kubeCfg, tlsOptions, auth) + auth server.AuthInterface, tp trace.TracerProvider) { + server.ListenAndServeKubeletServer(kl, kl.resourceAnalyzer, kubeCfg, tlsOptions, auth, tp) } // ListenAndServeReadOnly runs the kubelet HTTP server in read-only mode. @@ -2439,6 +2461,48 @@ func (kl *Kubelet) fastStatusUpdateOnce() { } } +// CheckpointContainer tries to checkpoint a container. The parameters are used to +// look up the specified container. If the container specified by the given parameters +// cannot be found an error is returned. If the container is found the container +// engine will be asked to checkpoint the given container into the kubelet's default +// checkpoint directory. +func (kl *Kubelet) CheckpointContainer( + podUID types.UID, + podFullName, + containerName string, + options *runtimeapi.CheckpointContainerRequest, +) error { + container, err := kl.findContainer(podFullName, podUID, containerName) + if err != nil { + return err + } + if container == nil { + return fmt.Errorf("container %v not found", containerName) + } + + options.Location = filepath.Join( + kl.getCheckpointsDir(), + fmt.Sprintf( + "checkpoint-%s-%s-%s.tar", + podFullName, + containerName, + time.Now().Format(time.RFC3339), + ), + ) + + options.ContainerId = string(container.ID.ID) + + if err := kl.containerRuntime.CheckpointContainer(options); err != nil { + return err + } + + return nil +} + +func (kl *Kubelet) supportLocalStorageCapacityIsolation() bool { + return kl.GetConfiguration().LocalStorageCapacityIsolation +} + // isSyncPodWorthy filters out events that are not worthy of pod syncing func isSyncPodWorthy(event *pleg.PodLifecycleEvent) bool { // ContainerRemoved doesn't affect pod state diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_getters.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_getters.go index dacb909bd10e..1d393abd9ddc 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_getters.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_getters.go @@ -77,6 +77,12 @@ func (kl *Kubelet) getPluginDir(pluginName string) string { return filepath.Join(kl.getPluginsDir(), pluginName) } +// getCheckpointsDir returns a data directory name for checkpoints. +// Checkpoints can be stored in this directory for further use. +func (kl *Kubelet) getCheckpointsDir() string { + return filepath.Join(kl.getRootDir(), config.DefaultKubeletCheckpointsDirName) +} + // getVolumeDevicePluginsDir returns the full path to the directory under which plugin // directories are created. Plugins can use these directories for data that // they need to persist. Plugins should create subdirectories under this named diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_network_linux.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_network_linux.go index ae7d9235a557..8f767817a0f5 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_network_linux.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_network_linux.go @@ -24,10 +24,11 @@ import ( "time" "k8s.io/apimachinery/pkg/util/wait" + utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/klog/v2" + "k8s.io/kubernetes/pkg/features" utiliptables "k8s.io/kubernetes/pkg/util/iptables" utilexec "k8s.io/utils/exec" - utilnet "k8s.io/utils/net" ) const ( @@ -51,73 +52,61 @@ const ( func (kl *Kubelet) initNetworkUtil() { exec := utilexec.New() - // TODO: @khenidak review when there is no IPv6 iptables exec what should happen here (note: no error returned from this func) - ipv6Primary := kl.nodeIPs != nil && utilnet.IsIPv6(kl.nodeIPs[0]) - - var iptClients []utiliptables.Interface - var protocols []utiliptables.Protocol - - // assume 4,6 - protocols = append(protocols, utiliptables.ProtocolIPv4) - iptClients = append(iptClients, utiliptables.New(exec, utiliptables.ProtocolIPv4)) - - protocols = append(protocols, utiliptables.ProtocolIPv6) - iptClients = append(iptClients, utiliptables.New(exec, utiliptables.ProtocolIPv6)) - - // and if they are not - if ipv6Primary { - protocols[0], protocols[1] = protocols[1], protocols[0] - iptClients[0], iptClients[1] = iptClients[1], iptClients[0] + iptClients := []utiliptables.Interface{ + utiliptables.New(exec, utiliptables.ProtocolIPv4), + utiliptables.New(exec, utiliptables.ProtocolIPv6), } for i := range iptClients { iptClient := iptClients[i] - if kl.syncNetworkUtil(iptClient) { - klog.InfoS("Initialized protocol iptables rules.", "protocol", protocols[i]) + if kl.syncIPTablesRules(iptClient) { + klog.InfoS("Initialized iptables rules.", "protocol", iptClient.Protocol()) go iptClient.Monitor( utiliptables.Chain("KUBE-KUBELET-CANARY"), []utiliptables.Table{utiliptables.TableMangle, utiliptables.TableNAT, utiliptables.TableFilter}, - func() { kl.syncNetworkUtil(iptClient) }, + func() { kl.syncIPTablesRules(iptClient) }, 1*time.Minute, wait.NeverStop, ) } else { - klog.InfoS("Failed to initialize protocol iptables rules; some functionality may be missing.", "protocol", protocols[i]) + klog.InfoS("Failed to initialize iptables rules; some functionality may be missing.", "protocol", iptClient.Protocol()) } } } -// syncNetworkUtil ensures the network utility are present on host. -// Network util includes: -// 1. In nat table, KUBE-MARK-DROP rule to mark connections for dropping -// Marked connection will be drop on INPUT/OUTPUT Chain in filter table -// 2. In nat table, KUBE-MARK-MASQ rule to mark connections for SNAT -// Marked connection will get SNAT on POSTROUTING Chain in nat table -func (kl *Kubelet) syncNetworkUtil(iptClient utiliptables.Interface) bool { - // Setup KUBE-MARK-DROP rules - dropMark := getIPTablesMark(kl.iptablesDropBit) - if _, err := iptClient.EnsureChain(utiliptables.TableNAT, KubeMarkDropChain); err != nil { - klog.ErrorS(err, "Failed to ensure that nat chain exists KUBE-MARK-DROP chain") - return false - } - if _, err := iptClient.EnsureRule(utiliptables.Append, utiliptables.TableNAT, KubeMarkDropChain, "-j", "MARK", "--or-mark", dropMark); err != nil { - klog.ErrorS(err, "Failed to ensure marking rule for KUBE-MARK-DROP chain") - return false - } - if _, err := iptClient.EnsureChain(utiliptables.TableFilter, KubeFirewallChain); err != nil { - klog.ErrorS(err, "Failed to ensure that filter table exists KUBE-FIREWALL chain") - return false - } - if _, err := iptClient.EnsureRule(utiliptables.Append, utiliptables.TableFilter, KubeFirewallChain, - "-m", "comment", "--comment", "kubernetes firewall for dropping marked packets", - "-m", "mark", "--mark", fmt.Sprintf("%s/%s", dropMark, dropMark), - "-j", "DROP"); err != nil { - klog.ErrorS(err, "Failed to ensure rule to drop packet marked by the KUBE-MARK-DROP in KUBE-FIREWALL chain") +// syncIPTablesRules ensures the KUBE-IPTABLES-HINT chain exists, and the martian packet +// protection rule is installed. If the IPTablesOwnershipCleanup feature gate is disabled +// it will also synchronize additional deprecated iptables rules. +func (kl *Kubelet) syncIPTablesRules(iptClient utiliptables.Interface) bool { + // Create hint chain so other components can see whether we are using iptables-legacy + // or iptables-nft. + if _, err := iptClient.EnsureChain(utiliptables.TableMangle, KubeIPTablesHintChain); err != nil { + klog.ErrorS(err, "Failed to ensure that iptables hint chain exists") return false } - // drop all non-local packets to localhost if they're not part of an existing - // forwarded connection. See #90259 if !iptClient.IsIPv6() { // ipv6 doesn't have this issue + // Set up the KUBE-FIREWALL chain and martian packet protection rule. + // (See below.) + if _, err := iptClient.EnsureChain(utiliptables.TableFilter, KubeFirewallChain); err != nil { + klog.ErrorS(err, "Failed to ensure that filter table KUBE-FIREWALL chain exists") + return false + } + + if _, err := iptClient.EnsureRule(utiliptables.Prepend, utiliptables.TableFilter, utiliptables.ChainOutput, "-j", string(KubeFirewallChain)); err != nil { + klog.ErrorS(err, "Failed to ensure that OUTPUT chain jumps to KUBE-FIREWALL") + return false + } + if _, err := iptClient.EnsureRule(utiliptables.Prepend, utiliptables.TableFilter, utiliptables.ChainInput, "-j", string(KubeFirewallChain)); err != nil { + klog.ErrorS(err, "Failed to ensure that INPUT chain jumps to KUBE-FIREWALL") + return false + } + + // Kube-proxy's use of `route_localnet` to enable NodePorts on localhost + // creates a security hole (https://issue.k8s.io/90259) which this + // iptables rule mitigates. This rule should have been added to + // kube-proxy, but it mistakenly ended up in kubelet instead, and we are + // keeping it in kubelet for now in case other third-party components + // depend on it. if _, err := iptClient.EnsureRule(utiliptables.Append, utiliptables.TableFilter, KubeFirewallChain, "-m", "comment", "--comment", "block incoming localnet connections", "--dst", "127.0.0.0/8", @@ -130,32 +119,61 @@ func (kl *Kubelet) syncNetworkUtil(iptClient utiliptables.Interface) bool { } } - if _, err := iptClient.EnsureRule(utiliptables.Prepend, utiliptables.TableFilter, utiliptables.ChainOutput, "-j", string(KubeFirewallChain)); err != nil { - klog.ErrorS(err, "Failed to ensure that filter table from OUTPUT chain jumps to KUBE-FIREWALL chain") + if !utilfeature.DefaultFeatureGate.Enabled(features.IPTablesOwnershipCleanup) { + ok := kl.syncIPTablesRulesDeprecated(iptClient) + if !ok { + return false + } + } + + return true +} + +// syncIPTablesRulesDeprecated ensures deprecated iptables rules are present: +// 1. In nat table, KUBE-MARK-DROP rule to mark connections for dropping +// Marked connection will be drop on INPUT/OUTPUT Chain in filter table +// 2. In nat table, KUBE-MARK-MASQ rule to mark connections for SNAT +// Marked connection will get SNAT on POSTROUTING Chain in nat table +func (kl *Kubelet) syncIPTablesRulesDeprecated(iptClient utiliptables.Interface) bool { + // Setup KUBE-MARK-DROP rules + dropMark := getIPTablesMark(kl.iptablesDropBit) + if _, err := iptClient.EnsureChain(utiliptables.TableNAT, KubeMarkDropChain); err != nil { + klog.ErrorS(err, "Failed to ensure that KUBE-MARK-DROP chain exists") return false } - if _, err := iptClient.EnsureRule(utiliptables.Prepend, utiliptables.TableFilter, utiliptables.ChainInput, "-j", string(KubeFirewallChain)); err != nil { - klog.ErrorS(err, "Failed to ensure that filter table INPUT chain jumps to KUBE-FIREWALL chain") + if _, err := iptClient.EnsureRule(utiliptables.Append, utiliptables.TableNAT, KubeMarkDropChain, "-j", "MARK", "--or-mark", dropMark); err != nil { + klog.ErrorS(err, "Failed to ensure that KUBE-MARK-DROP rule exists") + return false + } + if _, err := iptClient.EnsureChain(utiliptables.TableFilter, KubeFirewallChain); err != nil { + klog.ErrorS(err, "Failed to ensure that KUBE-FIREWALL chain exists") + return false + } + if _, err := iptClient.EnsureRule(utiliptables.Append, utiliptables.TableFilter, KubeFirewallChain, + "-m", "comment", "--comment", "kubernetes firewall for dropping marked packets", + "-m", "mark", "--mark", fmt.Sprintf("%s/%s", dropMark, dropMark), + "-j", "DROP"); err != nil { + klog.ErrorS(err, "Failed to ensure that KUBE-FIREWALL rule exists") return false } // Setup KUBE-MARK-MASQ rules masqueradeMark := getIPTablesMark(kl.iptablesMasqueradeBit) if _, err := iptClient.EnsureChain(utiliptables.TableNAT, KubeMarkMasqChain); err != nil { - klog.ErrorS(err, "Failed to ensure that nat table exists KUBE-MARK-MASQ chain") + klog.ErrorS(err, "Failed to ensure that KUBE-MARK-MASQ chain exists") return false } if _, err := iptClient.EnsureChain(utiliptables.TableNAT, KubePostroutingChain); err != nil { - klog.ErrorS(err, "Failed to ensure that nat table exists kube POSTROUTING chain") + klog.ErrorS(err, "Failed to ensure that KUBE-POSTROUTING chain exists") return false } if _, err := iptClient.EnsureRule(utiliptables.Append, utiliptables.TableNAT, KubeMarkMasqChain, "-j", "MARK", "--or-mark", masqueradeMark); err != nil { - klog.ErrorS(err, "Failed to ensure marking rule for KUBE-MARK-MASQ chain") + klog.ErrorS(err, "Failed to ensure that KUBE-MARK-MASQ rule exists") return false } if _, err := iptClient.EnsureRule(utiliptables.Prepend, utiliptables.TableNAT, utiliptables.ChainPostrouting, "-m", "comment", "--comment", "kubernetes postrouting rules", "-j", string(KubePostroutingChain)); err != nil { - klog.ErrorS(err, "Failed to ensure that nat table from POSTROUTING chain jumps to KUBE-POSTROUTING chain") + klog.ErrorS(err, "Failed to ensure that POSTROUTING chain jumps to KUBE-POSTROUTING") return false } @@ -165,7 +183,7 @@ func (kl *Kubelet) syncNetworkUtil(iptClient utiliptables.Interface) bool { if _, err := iptClient.EnsureRule(utiliptables.Append, utiliptables.TableNAT, KubePostroutingChain, "-m", "mark", "!", "--mark", fmt.Sprintf("%s/%s", masqueradeMark, masqueradeMark), "-j", "RETURN"); err != nil { - klog.ErrorS(err, "Failed to ensure filtering rule for KUBE-POSTROUTING chain") + klog.ErrorS(err, "Failed to ensure first masquerading rule exists") return false } // Clear the mark to avoid re-masquerading if the packet re-traverses the network stack. @@ -173,7 +191,7 @@ func (kl *Kubelet) syncNetworkUtil(iptClient utiliptables.Interface) bool { // to Sprintf another bitmask). if _, err := iptClient.EnsureRule(utiliptables.Append, utiliptables.TableNAT, KubePostroutingChain, "-j", "MARK", "--xor-mark", masqueradeMark); err != nil { - klog.ErrorS(err, "Failed to ensure unmarking rule for KUBE-POSTROUTING chain") + klog.ErrorS(err, "Failed to ensure second masquerading rule exists") return false } masqRule := []string{ @@ -184,14 +202,7 @@ func (kl *Kubelet) syncNetworkUtil(iptClient utiliptables.Interface) bool { masqRule = append(masqRule, "--random-fully") } if _, err := iptClient.EnsureRule(utiliptables.Append, utiliptables.TableNAT, KubePostroutingChain, masqRule...); err != nil { - klog.ErrorS(err, "Failed to ensure SNAT rule for packets marked by KUBE-MARK-MASQ chain in nat table KUBE-POSTROUTING chain") - return false - } - - // Create hint chain so other components can see whether we are using iptables-legacy - // or iptables-nft. - if _, err := iptClient.EnsureChain(utiliptables.TableMangle, KubeIPTablesHintChain); err != nil { - klog.ErrorS(err, "Failed to ensure that iptables hint chain exists") + klog.ErrorS(err, "Failed to ensure third masquerading rule exists") return false } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_node_status.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_node_status.go index aabb75bcd2e1..b28e6288b6ec 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_node_status.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_node_status.go @@ -624,7 +624,7 @@ func (kl *Kubelet) defaultNodeStatusFuncs() []func(*v1.Node) error { setters = append(setters, nodestatus.NodeAddress(kl.nodeIPs, kl.nodeIPValidator, kl.hostname, kl.hostnameOverridden, kl.externalCloudProvider, kl.cloud, nodeAddressesFunc), nodestatus.MachineInfo(string(kl.nodeName), kl.maxPods, kl.podsPerCore, kl.GetCachedMachineInfo, kl.containerManager.GetCapacity, - kl.containerManager.GetDevicePluginResourceCapacity, kl.containerManager.GetNodeAllocatableReservation, kl.recordEvent), + kl.containerManager.GetDevicePluginResourceCapacity, kl.containerManager.GetNodeAllocatableReservation, kl.recordEvent, kl.supportLocalStorageCapacityIsolation()), nodestatus.VersionInfo(kl.cadvisor.VersionInfo, kl.containerRuntime.Type, kl.containerRuntime.Version), nodestatus.DaemonEndpoints(kl.daemonEndpoints), nodestatus.Images(kl.nodeStatusMaxImages, kl.imageManager.GetImageList), @@ -637,7 +637,8 @@ func (kl *Kubelet) defaultNodeStatusFuncs() []func(*v1.Node) error { nodestatus.MemoryPressureCondition(kl.clock.Now, kl.evictionManager.IsUnderMemoryPressure, kl.recordNodeStatusEvent), nodestatus.DiskPressureCondition(kl.clock.Now, kl.evictionManager.IsUnderDiskPressure, kl.recordNodeStatusEvent), nodestatus.PIDPressureCondition(kl.clock.Now, kl.evictionManager.IsUnderPIDPressure, kl.recordNodeStatusEvent), - nodestatus.ReadyCondition(kl.clock.Now, kl.runtimeState.runtimeErrors, kl.runtimeState.networkErrors, kl.runtimeState.storageErrors, validateHostFunc, kl.containerManager.Status, kl.shutdownManager.ShutdownStatus, kl.recordNodeStatusEvent), + nodestatus.ReadyCondition(kl.clock.Now, kl.runtimeState.runtimeErrors, kl.runtimeState.networkErrors, kl.runtimeState.storageErrors, + validateHostFunc, kl.containerManager.Status, kl.shutdownManager.ShutdownStatus, kl.recordNodeStatusEvent, kl.supportLocalStorageCapacityIsolation()), nodestatus.VolumesInUse(kl.volumeManager.ReconcilerStatesHasBeenSynced, kl.volumeManager.GetVolumesInUse), // TODO(mtaufen): I decided not to move this setter for now, since all it does is send an event // and record state back to the Kubelet runtime object. In the future, I'd like to isolate diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_pods.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_pods.go index a69558261e85..ecbf81099bdb 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_pods.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kubelet_pods.go @@ -420,6 +420,15 @@ func truncatePodHostnameIfNeeded(podName, hostname string) (string, error) { return truncated, nil } +// GetOrCreateUserNamespaceMappings returns the configuration for the sandbox user namespace +func (kl *Kubelet) GetOrCreateUserNamespaceMappings(pod *v1.Pod) (*runtimeapi.UserNamespace, error) { + return kl.usernsManager.GetOrCreateUserNamespaceMappings(pod) +} + +func (kl *Kubelet) getHostIDsForPod(pod *v1.Pod, containerUID, containerGID *int64) (hostUID, hostGID *int64, err error) { + return kl.usernsManager.getHostIDsForPod(pod, containerUID, containerGID) +} + // GeneratePodHostNameAndDomain creates a hostname and domain name for a pod, // given that pod's spec and annotations or returns an error. func (kl *Kubelet) GeneratePodHostNameAndDomain(pod *v1.Pod) (string, string, error) { @@ -1154,6 +1163,12 @@ func (kl *Kubelet) HandlePodCleanups() error { return err } + // Remove orphaned pod user namespace allocations (if any). + klog.V(3).InfoS("Clean up orphaned pod user namespace allocations") + if err = kl.usernsManager.CleanupOrphanedPodUsernsAllocations(allPods, runningRuntimePods); err != nil { + klog.ErrorS(err, "Failed cleaning up orphaned pod user namespaces allocations") + } + // Remove orphaned volumes from pods that are known not to have any // containers. Note that we pass all pods (including terminated pods) to // the function, so that we don't remove volumes associated with terminated @@ -1221,7 +1236,7 @@ func (kl *Kubelet) validateContainerLogStatus(podName string, podStatus *v1.PodS if !found { cStatus, found = podutil.GetContainerStatus(podStatus.InitContainerStatuses, containerName) } - if !found && utilfeature.DefaultFeatureGate.Enabled(features.EphemeralContainers) { + if !found { cStatus, found = podutil.GetContainerStatus(podStatus.EphemeralContainerStatuses, containerName) } if !found { @@ -1430,14 +1445,12 @@ func getPhase(spec *v1.PodSpec, info []v1.ContainerStatus) v1.PodPhase { // internal pod status. This method should only be called from within sync*Pod methods. func (kl *Kubelet) generateAPIPodStatus(pod *v1.Pod, podStatus *kubecontainer.PodStatus) v1.PodStatus { klog.V(3).InfoS("Generating pod status", "pod", klog.KObj(pod)) - // use the previous pod status, or the api status, as the basis for this pod oldPodStatus, found := kl.statusManager.GetPodStatus(pod.UID) if !found { oldPodStatus = pod.Status } s := kl.convertStatusToAPIStatus(pod, podStatus, oldPodStatus) - // calculate the next phase and preserve reason allStatus := append(append([]v1.ContainerStatus{}, s.ContainerStatuses...), s.InitContainerStatuses...) s.Phase = getPhase(&pod.Spec, allStatus) @@ -1499,6 +1512,9 @@ func (kl *Kubelet) generateAPIPodStatus(pod *v1.Pod, podStatus *kubecontainer.Po } } // set all Kubelet-owned conditions + if utilfeature.DefaultFeatureGate.Enabled(features.PodHasNetworkCondition) { + s.Conditions = append(s.Conditions, status.GeneratePodHasNetworkCondition(pod, podStatus)) + } s.Conditions = append(s.Conditions, status.GeneratePodInitializedCondition(&pod.Spec, s.InitContainerStatuses, s.Phase)) s.Conditions = append(s.Conditions, status.GeneratePodReadyCondition(&pod.Spec, s.Conditions, s.ContainerStatuses, s.Phase)) s.Conditions = append(s.Conditions, status.GenerateContainersReadyCondition(&pod.Spec, s.ContainerStatuses, s.Phase)) @@ -1506,7 +1522,6 @@ func (kl *Kubelet) generateAPIPodStatus(pod *v1.Pod, podStatus *kubecontainer.Po Type: v1.PodScheduled, Status: v1.ConditionTrue, }) - // set HostIP and initialize PodIP/PodIPs for host network pods if kl.kubeClient != nil { hostIPs, err := kl.getHostIPsAnyWay() @@ -1602,23 +1617,21 @@ func (kl *Kubelet) convertStatusToAPIStatus(pod *v1.Pod, podStatus *kubecontaine len(pod.Spec.InitContainers) > 0, true, ) - if utilfeature.DefaultFeatureGate.Enabled(features.EphemeralContainers) { - var ecSpecs []v1.Container - for i := range pod.Spec.EphemeralContainers { - ecSpecs = append(ecSpecs, v1.Container(pod.Spec.EphemeralContainers[i].EphemeralContainerCommon)) - } - - // #80875: By now we've iterated podStatus 3 times. We could refactor this to make a single - // pass through podStatus.ContainerStatuses - apiPodStatus.EphemeralContainerStatuses = kl.convertToAPIContainerStatuses( - pod, podStatus, - oldPodStatus.EphemeralContainerStatuses, - ecSpecs, - len(pod.Spec.InitContainers) > 0, - false, - ) + var ecSpecs []v1.Container + for i := range pod.Spec.EphemeralContainers { + ecSpecs = append(ecSpecs, v1.Container(pod.Spec.EphemeralContainers[i].EphemeralContainerCommon)) } + // #80875: By now we've iterated podStatus 3 times. We could refactor this to make a single + // pass through podStatus.ContainerStatuses + apiPodStatus.EphemeralContainerStatuses = kl.convertToAPIContainerStatuses( + pod, podStatus, + oldPodStatus.EphemeralContainerStatuses, + ecSpecs, + len(pod.Spec.InitContainers) > 0, + false, + ) + return &apiPodStatus } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/helpers.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/helpers.go index de289836a8bf..9343b78335ad 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/helpers.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/helpers.go @@ -234,15 +234,6 @@ func fieldProfile(scmp *v1.SeccompProfile, profileRootPath string, fallbackToRun return "" } -func annotationProfile(profile, profileRootPath string) string { - if strings.HasPrefix(profile, v1.SeccompLocalhostProfileNamePrefix) { - name := strings.TrimPrefix(profile, v1.SeccompLocalhostProfileNamePrefix) - fname := filepath.Join(profileRootPath, filepath.FromSlash(name)) - return v1.SeccompLocalhostProfileNamePrefix + fname - } - return profile -} - func (m *kubeGenericRuntimeManager) getSeccompProfilePath(annotations map[string]string, containerName string, podSecContext *v1.PodSecurityContext, containerSecContext *v1.SecurityContext, fallbackToRuntimeDefault bool) string { // container fields are applied first @@ -250,23 +241,11 @@ func (m *kubeGenericRuntimeManager) getSeccompProfilePath(annotations map[string return fieldProfile(containerSecContext.SeccompProfile, m.seccompProfileRoot, fallbackToRuntimeDefault) } - // if container field does not exist, try container annotation (deprecated) - if containerName != "" { - if profile, ok := annotations[v1.SeccompContainerAnnotationKeyPrefix+containerName]; ok { - return annotationProfile(profile, m.seccompProfileRoot) - } - } - // when container seccomp is not defined, try to apply from pod field if podSecContext != nil && podSecContext.SeccompProfile != nil { return fieldProfile(podSecContext.SeccompProfile, m.seccompProfileRoot, fallbackToRuntimeDefault) } - // as last resort, try to apply pod annotation (deprecated) - if profile, ok := annotations[v1.SeccompPodAnnotationKey]; ok { - return annotationProfile(profile, m.seccompProfileRoot) - } - if fallbackToRuntimeDefault { return v1.SeccompProfileRuntimeDefault } @@ -324,40 +303,3 @@ func (m *kubeGenericRuntimeManager) getSeccompProfile(annotations map[string]str ProfileType: runtimeapi.SecurityProfile_Unconfined, } } - -func ipcNamespaceForPod(pod *v1.Pod) runtimeapi.NamespaceMode { - if pod != nil && pod.Spec.HostIPC { - return runtimeapi.NamespaceMode_NODE - } - return runtimeapi.NamespaceMode_POD -} - -func networkNamespaceForPod(pod *v1.Pod) runtimeapi.NamespaceMode { - if pod != nil && pod.Spec.HostNetwork { - return runtimeapi.NamespaceMode_NODE - } - return runtimeapi.NamespaceMode_POD -} - -func pidNamespaceForPod(pod *v1.Pod) runtimeapi.NamespaceMode { - if pod != nil { - if pod.Spec.HostPID { - return runtimeapi.NamespaceMode_NODE - } - if pod.Spec.ShareProcessNamespace != nil && *pod.Spec.ShareProcessNamespace { - return runtimeapi.NamespaceMode_POD - } - } - // Note that PID does not default to the zero value for v1.Pod - return runtimeapi.NamespaceMode_CONTAINER -} - -// namespacesForPod returns the runtimeapi.NamespaceOption for a given pod. -// An empty or nil pod can be used to get the namespace defaults for v1.Pod. -func namespacesForPod(pod *v1.Pod) *runtimeapi.NamespaceOption { - return &runtimeapi.NamespaceOption{ - Ipc: ipcNamespaceForPod(pod), - Network: networkNamespaceForPod(pod), - Pid: pidNamespaceForPod(pod), - } -} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/instrumented_services.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/instrumented_services.go index eb6ba384b546..18ce6aa04252 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/instrumented_services.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/instrumented_services.go @@ -131,7 +131,7 @@ func (in instrumentedRuntimeService) ContainerStatus(containerID string, verbose return out, err } -func (in instrumentedRuntimeService) UpdateContainerResources(containerID string, resources *runtimeapi.LinuxContainerResources) error { +func (in instrumentedRuntimeService) UpdateContainerResources(containerID string, resources *runtimeapi.ContainerResources) error { const operation = "update_container" defer recordOperation(operation, time.Now()) @@ -324,3 +324,21 @@ func (in instrumentedImageManagerService) ImageFsInfo() ([]*runtimeapi.Filesyste recordError(operation, err) return fsInfo, nil } + +func (in instrumentedRuntimeService) CheckpointContainer(options *runtimeapi.CheckpointContainerRequest) error { + const operation = "checkpoint_container" + defer recordOperation(operation, time.Now()) + + err := in.service.CheckpointContainer(options) + recordError(operation, err) + return err +} + +func (in instrumentedRuntimeService) GetContainerEvents(containerEventsCh chan *runtimeapi.ContainerEventResponse) error { + const operation = "get_container_events" + defer recordOperation(operation, time.Now()) + + err := in.service.GetContainerEvents(containerEventsCh) + recordError(operation, err) + return err +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_container.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_container.go index 1ea7723f813c..6be0d95a416d 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_container.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_container.go @@ -46,9 +46,7 @@ import ( kubetypes "k8s.io/apimachinery/pkg/types" utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/apimachinery/pkg/util/sets" - utilfeature "k8s.io/apiserver/pkg/util/feature" runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1" - "k8s.io/kubernetes/pkg/features" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" "k8s.io/kubernetes/pkg/kubelet/cri/remote" "k8s.io/kubernetes/pkg/kubelet/events" @@ -120,7 +118,7 @@ func ephemeralContainerStartSpec(ec *v1.EphemeralContainer) *startSpec { // usually isn't a problem since ephemeral containers aren't allowed at pod creation time. // This always returns nil when the EphemeralContainers feature is disabled. func (s *startSpec) getTargetID(podStatus *kubecontainer.PodStatus) (*kubecontainer.ContainerID, error) { - if s.ephemeralContainer == nil || s.ephemeralContainer.TargetContainerName == "" || !utilfeature.DefaultFeatureGate.Enabled(features.EphemeralContainers) { + if s.ephemeralContainer == nil || s.ephemeralContainer.TargetContainerName == "" { return nil, nil } @@ -675,24 +673,7 @@ func (m *kubeGenericRuntimeManager) killContainer(pod *v1.Pod, containerID kubec } // From this point, pod and container must be non-nil. - gracePeriod := int64(minimumGracePeriodInSeconds) - switch { - case pod.DeletionGracePeriodSeconds != nil: - gracePeriod = *pod.DeletionGracePeriodSeconds - case pod.Spec.TerminationGracePeriodSeconds != nil: - gracePeriod = *pod.Spec.TerminationGracePeriodSeconds - - switch reason { - case reasonStartupProbe: - if containerSpec.StartupProbe != nil && containerSpec.StartupProbe.TerminationGracePeriodSeconds != nil { - gracePeriod = *containerSpec.StartupProbe.TerminationGracePeriodSeconds - } - case reasonLivenessProbe: - if containerSpec.LivenessProbe != nil && containerSpec.LivenessProbe.TerminationGracePeriodSeconds != nil { - gracePeriod = *containerSpec.LivenessProbe.TerminationGracePeriodSeconds - } - } - } + gracePeriod := setTerminationGracePeriod(pod, containerSpec, containerName, containerID, reason) if len(message) == 0 { message = fmt.Sprintf("Stopping container %s", containerSpec.Name) @@ -993,3 +974,35 @@ func (m *kubeGenericRuntimeManager) removeContainerLog(containerID string) error func (m *kubeGenericRuntimeManager) DeleteContainer(containerID kubecontainer.ContainerID) error { return m.removeContainer(containerID.ID) } + +// setTerminationGracePeriod determines the grace period to use when killing a container +func setTerminationGracePeriod(pod *v1.Pod, containerSpec *v1.Container, containerName string, containerID kubecontainer.ContainerID, reason containerKillReason) int64 { + gracePeriod := int64(minimumGracePeriodInSeconds) + switch { + case pod.DeletionGracePeriodSeconds != nil: + return *pod.DeletionGracePeriodSeconds + case pod.Spec.TerminationGracePeriodSeconds != nil: + switch reason { + case reasonStartupProbe: + if isProbeTerminationGracePeriodSecondsSet(pod, containerSpec, containerSpec.StartupProbe, containerName, containerID, "StartupProbe") { + return *containerSpec.StartupProbe.TerminationGracePeriodSeconds + } + case reasonLivenessProbe: + if isProbeTerminationGracePeriodSecondsSet(pod, containerSpec, containerSpec.LivenessProbe, containerName, containerID, "LivenessProbe") { + return *containerSpec.LivenessProbe.TerminationGracePeriodSeconds + } + } + return *pod.Spec.TerminationGracePeriodSeconds + } + return gracePeriod +} + +func isProbeTerminationGracePeriodSecondsSet(pod *v1.Pod, containerSpec *v1.Container, probe *v1.Probe, containerName string, containerID kubecontainer.ContainerID, probeType string) bool { + if probe != nil && probe.TerminationGracePeriodSeconds != nil { + if *probe.TerminationGracePeriodSeconds > *pod.Spec.TerminationGracePeriodSeconds { + klog.V(4).InfoS("Using probe-level grace period that is greater than the pod-level grace period", "pod", klog.KObj(pod), "pod-uid", pod.UID, "containerName", containerName, "containerID", containerID.String(), "probe-type", probeType, "probe-grace-period", *probe.TerminationGracePeriodSeconds, "pod-grace-period", *pod.Spec.TerminationGracePeriodSeconds) + } + return true + } + return false +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_container_linux.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_container_linux.go index 25917803b1ce..1e9a2377b510 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_container_linux.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_container_linux.go @@ -45,15 +45,23 @@ func (m *kubeGenericRuntimeManager) applyPlatformSpecificContainerConfig(config libcontainercgroups.IsCgroup2UnifiedMode() { enforceMemoryQoS = true } - config.Linux = m.generateLinuxContainerConfig(container, pod, uid, username, nsTarget, enforceMemoryQoS) + cl, err := m.generateLinuxContainerConfig(container, pod, uid, username, nsTarget, enforceMemoryQoS) + if err != nil { + return err + } + config.Linux = cl return nil } // generateLinuxContainerConfig generates linux container config for kubelet runtime v1. -func (m *kubeGenericRuntimeManager) generateLinuxContainerConfig(container *v1.Container, pod *v1.Pod, uid *int64, username string, nsTarget *kubecontainer.ContainerID, enforceMemoryQoS bool) *runtimeapi.LinuxContainerConfig { +func (m *kubeGenericRuntimeManager) generateLinuxContainerConfig(container *v1.Container, pod *v1.Pod, uid *int64, username string, nsTarget *kubecontainer.ContainerID, enforceMemoryQoS bool) (*runtimeapi.LinuxContainerConfig, error) { + sc, err := m.determineEffectiveSecurityContext(pod, container, uid, username) + if err != nil { + return nil, err + } lc := &runtimeapi.LinuxContainerConfig{ Resources: &runtimeapi.LinuxContainerResources{}, - SecurityContext: m.determineEffectiveSecurityContext(pod, container, uid, username), + SecurityContext: sc, } if nsTarget != nil && lc.SecurityContext.NamespaceOptions.Pid == runtimeapi.NamespaceMode_CONTAINER { @@ -124,7 +132,7 @@ func (m *kubeGenericRuntimeManager) generateLinuxContainerConfig(container *v1.C } } - return lc + return lc, nil } // calculateLinuxResources will create the linuxContainerResources type based on the provided CPU and memory resource requests, limits diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_container_windows.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_container_windows.go index 2b6acbe0e474..c1e1d777ffd9 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_container_windows.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_container_windows.go @@ -44,7 +44,7 @@ func (m *kubeGenericRuntimeManager) applyPlatformSpecificContainerConfig(config } // generateWindowsContainerConfig generates windows container config for kubelet runtime v1. -// Refer https://github.com/kubernetes/community/blob/master/contributors/design-proposals/node/cri-windows.md. +// Refer https://git.k8s.io/design-proposals-archive/node/cri-windows.md. func (m *kubeGenericRuntimeManager) generateWindowsContainerConfig(container *v1.Container, pod *v1.Pod, uid *int64, username string) (*runtimeapi.WindowsContainerConfig, error) { wc := &runtimeapi.WindowsContainerConfig{ Resources: &runtimeapi.WindowsContainerResources{}, diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_gc.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_gc.go index a72691bfcfcb..6e676ffef820 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_gc.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_gc.go @@ -268,10 +268,10 @@ func (cgc *containerGC) evictContainers(gcPolicy kubecontainer.GCPolicy, allSour // evictSandboxes remove all evictable sandboxes. An evictable sandbox must // meet the following requirements: -// 1. not in ready state -// 2. contains no containers. -// 3. belong to a non-existent (i.e., already removed) pod, or is not the -// most recently created sandbox for the pod. +// 1. not in ready state +// 2. contains no containers. +// 3. belong to a non-existent (i.e., already removed) pod, or is not the +// most recently created sandbox for the pod. func (cgc *containerGC) evictSandboxes(evictNonDeletedPods bool) error { containers, err := cgc.manager.getKubeletContainers(true) if err != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_manager.go index 8dee580344e3..89eaf8b4fcd7 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_manager.go @@ -47,6 +47,7 @@ import ( kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" "k8s.io/kubernetes/pkg/kubelet/events" "k8s.io/kubernetes/pkg/kubelet/images" + runtimeutil "k8s.io/kubernetes/pkg/kubelet/kuberuntime/util" "k8s.io/kubernetes/pkg/kubelet/lifecycle" "k8s.io/kubernetes/pkg/kubelet/logs" "k8s.io/kubernetes/pkg/kubelet/metrics" @@ -462,48 +463,6 @@ type podActions struct { EphemeralContainersToStart []int } -// podSandboxChanged checks whether the spec of the pod is changed and returns -// (changed, new attempt, original sandboxID if exist). -func (m *kubeGenericRuntimeManager) podSandboxChanged(pod *v1.Pod, podStatus *kubecontainer.PodStatus) (bool, uint32, string) { - if len(podStatus.SandboxStatuses) == 0 { - klog.V(2).InfoS("No sandbox for pod can be found. Need to start a new one", "pod", klog.KObj(pod)) - return true, 0, "" - } - - readySandboxCount := 0 - for _, s := range podStatus.SandboxStatuses { - if s.State == runtimeapi.PodSandboxState_SANDBOX_READY { - readySandboxCount++ - } - } - - // Needs to create a new sandbox when readySandboxCount > 1 or the ready sandbox is not the latest one. - sandboxStatus := podStatus.SandboxStatuses[0] - if readySandboxCount > 1 { - klog.V(2).InfoS("Multiple sandboxes are ready for Pod. Need to reconcile them", "pod", klog.KObj(pod)) - - return true, sandboxStatus.Metadata.Attempt + 1, sandboxStatus.Id - } - if sandboxStatus.State != runtimeapi.PodSandboxState_SANDBOX_READY { - klog.V(2).InfoS("No ready sandbox for pod can be found. Need to start a new one", "pod", klog.KObj(pod)) - return true, sandboxStatus.Metadata.Attempt + 1, sandboxStatus.Id - } - - // Needs to create a new sandbox when network namespace changed. - if sandboxStatus.GetLinux().GetNamespaces().GetOptions().GetNetwork() != networkNamespaceForPod(pod) { - klog.V(2).InfoS("Sandbox for pod has changed. Need to start a new one", "pod", klog.KObj(pod)) - return true, sandboxStatus.Metadata.Attempt + 1, "" - } - - // Needs to create a new sandbox when the sandbox does not have an IP address. - if !kubecontainer.IsHostNetworkPod(pod) && sandboxStatus.Network != nil && sandboxStatus.Network.Ip == "" { - klog.V(2).InfoS("Sandbox for pod has no IP address. Need to start a new one", "pod", klog.KObj(pod)) - return true, sandboxStatus.Metadata.Attempt + 1, sandboxStatus.Id - } - - return false, sandboxStatus.Metadata.Attempt, sandboxStatus.Id -} - func containerChanged(container *v1.Container, containerStatus *kubecontainer.Status) (uint64, uint64, bool) { expectedHash := kubecontainer.HashContainer(container) return expectedHash, containerStatus.Hash, containerStatus.Hash != expectedHash @@ -525,7 +484,7 @@ func containerSucceeded(c *v1.Container, podStatus *kubecontainer.PodStatus) boo func (m *kubeGenericRuntimeManager) computePodActions(pod *v1.Pod, podStatus *kubecontainer.PodStatus) podActions { klog.V(5).InfoS("Syncing Pod", "pod", klog.KObj(pod)) - createPodSandbox, attempt, sandboxID := m.podSandboxChanged(pod, podStatus) + createPodSandbox, attempt, sandboxID := runtimeutil.PodSandboxChanged(pod, podStatus) changes := podActions{ KillPod: createPodSandbox, CreateSandbox: createPodSandbox, @@ -578,14 +537,12 @@ func (m *kubeGenericRuntimeManager) computePodActions(pod *v1.Pod, podStatus *ku } // Ephemeral containers may be started even if initialization is not yet complete. - if utilfeature.DefaultFeatureGate.Enabled(features.EphemeralContainers) { - for i := range pod.Spec.EphemeralContainers { - c := (*v1.Container)(&pod.Spec.EphemeralContainers[i].EphemeralContainerCommon) + for i := range pod.Spec.EphemeralContainers { + c := (*v1.Container)(&pod.Spec.EphemeralContainers[i].EphemeralContainerCommon) - // Ephemeral Containers are never restarted - if podStatus.FindContainerStatusByName(c.Name) == nil { - changes.EphemeralContainersToStart = append(changes.EphemeralContainersToStart, i) - } + // Ephemeral Containers are never restarted + if podStatus.FindContainerStatusByName(c.Name) == nil { + changes.EphemeralContainersToStart = append(changes.EphemeralContainersToStart, i) } } @@ -914,10 +871,8 @@ func (m *kubeGenericRuntimeManager) SyncPod(pod *v1.Pod, podStatus *kubecontaine // These are started "prior" to init containers to allow running ephemeral containers even when there // are errors starting an init container. In practice init containers will start first since ephemeral // containers cannot be specified on pod creation. - if utilfeature.DefaultFeatureGate.Enabled(features.EphemeralContainers) { - for _, idx := range podContainerChanges.EphemeralContainersToStart { - start("ephemeral container", metrics.EphemeralContainer, ephemeralContainerStartSpec(&pod.Spec.EphemeralContainers[idx])) - } + for _, idx := range podContainerChanges.EphemeralContainersToStart { + start("ephemeral container", metrics.EphemeralContainer, ephemeralContainerStartSpec(&pod.Spec.EphemeralContainers[idx])) } // Step 6: start the init container. @@ -1100,3 +1055,7 @@ func (m *kubeGenericRuntimeManager) UpdatePodCIDR(podCIDR string) error { }, }) } + +func (m *kubeGenericRuntimeManager) CheckpointContainer(options *runtimeapi.CheckpointContainerRequest) error { + return m.runtimeService.CheckpointContainer(options) +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_sandbox.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_sandbox.go index e6c8fc350124..c37270d26d99 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_sandbox.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/kuberuntime_sandbox.go @@ -29,6 +29,7 @@ import ( "k8s.io/klog/v2" "k8s.io/kubernetes/pkg/features" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" + runtimeutil "k8s.io/kubernetes/pkg/kubelet/kuberuntime/util" "k8s.io/kubernetes/pkg/kubelet/types" "k8s.io/kubernetes/pkg/kubelet/util" "k8s.io/kubernetes/pkg/kubelet/util/format" @@ -194,7 +195,11 @@ func (m *kubeGenericRuntimeManager) generatePodSandboxLinuxConfig(pod *v1.Pod) ( if sc.RunAsGroup != nil && runtime.GOOS != "windows" { lc.SecurityContext.RunAsGroup = &runtimeapi.Int64Value{Value: int64(*sc.RunAsGroup)} } - lc.SecurityContext.NamespaceOptions = namespacesForPod(pod) + namespaceOptions, err := runtimeutil.NamespacesForPod(pod, m.runtimeHelper) + if err != nil { + return nil, err + } + lc.SecurityContext.NamespaceOptions = namespaceOptions if sc.FSGroup != nil && runtime.GOOS != "windows" { lc.SecurityContext.SupplementalGroups = append(lc.SecurityContext.SupplementalGroups, int64(*sc.FSGroup)) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/logs/logs.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/logs/logs.go index 7a3dc51875cd..c69b557e37d4 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/logs/logs.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/logs/logs.go @@ -123,8 +123,9 @@ var parseFuncs = []parseFunc{ } // parseCRILog parses logs in CRI log format. CRI Log format example: -// 2016-10-06T00:17:09.669794202Z stdout P log content 1 -// 2016-10-06T00:17:09.669794203Z stderr F log content 2 +// +// 2016-10-06T00:17:09.669794202Z stdout P log content 1 +// 2016-10-06T00:17:09.669794203Z stderr F log content 2 func parseCRILog(log []byte, msg *logMessage) error { var err error // Parse timestamp @@ -182,8 +183,9 @@ type jsonLog struct { // parseDockerJSONLog parses logs in Docker JSON log format. Docker JSON log format // example: -// {"log":"content 1","stream":"stdout","time":"2016-10-20T18:39:20.57606443Z"} -// {"log":"content 2","stream":"stderr","time":"2016-10-20T18:39:20.57606444Z"} +// +// {"log":"content 1","stream":"stdout","time":"2016-10-20T18:39:20.57606443Z"} +// {"log":"content 2","stream":"stderr","time":"2016-10-20T18:39:20.57606444Z"} func parseDockerJSONLog(log []byte, msg *logMessage) error { var l = &jsonLog{} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/security_context.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/security_context.go index c9d33e44305f..5e6f05b4e187 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/security_context.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/security_context.go @@ -19,12 +19,13 @@ package kuberuntime import ( v1 "k8s.io/api/core/v1" runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1" + runtimeutil "k8s.io/kubernetes/pkg/kubelet/kuberuntime/util" "k8s.io/kubernetes/pkg/security/apparmor" "k8s.io/kubernetes/pkg/securitycontext" ) // determineEffectiveSecurityContext gets container's security context from v1.Pod and v1.Container. -func (m *kubeGenericRuntimeManager) determineEffectiveSecurityContext(pod *v1.Pod, container *v1.Container, uid *int64, username string) *runtimeapi.LinuxContainerSecurityContext { +func (m *kubeGenericRuntimeManager) determineEffectiveSecurityContext(pod *v1.Pod, container *v1.Container, uid *int64, username string) (*runtimeapi.LinuxContainerSecurityContext, error) { effectiveSc := securitycontext.DetermineEffectiveSecurityContext(pod, container) synthesized := convertToRuntimeSecurityContext(effectiveSc) if synthesized == nil { @@ -52,7 +53,11 @@ func (m *kubeGenericRuntimeManager) determineEffectiveSecurityContext(pod *v1.Po } // set namespace options and supplemental groups. - synthesized.NamespaceOptions = namespacesForPod(pod) + namespaceOptions, err := runtimeutil.NamespacesForPod(pod, m.runtimeHelper) + if err != nil { + return nil, err + } + synthesized.NamespaceOptions = namespaceOptions podSc := pod.Spec.SecurityContext if podSc != nil { if podSc.FSGroup != nil { @@ -74,7 +79,7 @@ func (m *kubeGenericRuntimeManager) determineEffectiveSecurityContext(pod *v1.Po synthesized.MaskedPaths = securitycontext.ConvertToRuntimeMaskedPaths(effectiveSc.ProcMount) synthesized.ReadonlyPaths = securitycontext.ConvertToRuntimeReadonlyPaths(effectiveSc.ProcMount) - return synthesized + return synthesized, nil } // convertToRuntimeSecurityContext converts v1.SecurityContext to runtimeapi.SecurityContext. diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/security_context_windows.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/security_context_windows.go index 87b777f5e0ad..21946a276022 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/security_context_windows.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/security_context_windows.go @@ -25,6 +25,7 @@ import ( "k8s.io/klog/v2" "k8s.io/kubernetes/pkg/kubelet/util/format" "k8s.io/kubernetes/pkg/securitycontext" + "strings" ) var ( @@ -37,6 +38,7 @@ var ( // According to the discussion of sig-windows, at present, we assume that ContainerAdministrator is the windows container root user, // and then optimize this logic according to the best time. // https://docs.google.com/document/d/1Tjxzjjuy4SQsFSUVXZbvqVb64hjNAG5CQX8bK7Yda9w +// note: usernames on Windows are NOT case sensitive! func verifyRunAsNonRoot(pod *v1.Pod, container *v1.Container, uid *int64, username string) error { effectiveSc := securitycontext.DetermineEffectiveSecurityContext(pod, container) // If the option is not set, or if running as root is allowed, return nil. @@ -54,15 +56,17 @@ func verifyRunAsNonRoot(pod *v1.Pod, container *v1.Container, uid *int64, userna if effectiveSc.RunAsGroup != nil { klog.InfoS("Windows container does not support SecurityContext.RunAsGroup", "pod", klog.KObj(pod), "containerName", container.Name) } + // Verify that if runAsUserName is set for the pod and/or container that it is not set to 'ContainerAdministrator' if effectiveSc.WindowsOptions != nil { if effectiveSc.WindowsOptions.RunAsUserName != nil { - if *effectiveSc.WindowsOptions.RunAsUserName == windowsRootUserName { - return fmt.Errorf("container's runAsUser (%s) which will be regarded as root identity and will break non-root policy (pod: %q, container: %s)", username, format.Pod(pod), container.Name) + if strings.EqualFold(*effectiveSc.WindowsOptions.RunAsUserName, windowsRootUserName) { + return fmt.Errorf("container's runAsUserName (%s) which will be regarded as root identity and will break non-root policy (pod: %q, container: %s)", *effectiveSc.WindowsOptions.RunAsUserName, format.Pod(pod), container.Name) } return nil } } - if len(username) > 0 && username == windowsRootUserName { + // Verify that if runAsUserName is NOT set for the pod and/or container that the default user for the container image is not set to 'ContainerAdministrator' + if len(username) > 0 && strings.EqualFold(username, windowsRootUserName) { return fmt.Errorf("container's runAsUser (%s) which will be regarded as root identity and will break non-root policy (pod: %q, container: %s)", username, format.Pod(pod), container.Name) } return nil diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/util/util.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/util/util.go new file mode 100644 index 000000000000..af61e17567eb --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/kuberuntime/util/util.go @@ -0,0 +1,114 @@ +/* +Copyright 2016 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package util + +import ( + v1 "k8s.io/api/core/v1" + runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1" + "k8s.io/klog/v2" + kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" +) + +// PodSandboxChanged checks whether the spec of the pod is changed and returns +// (changed, new attempt, original sandboxID if exist). +func PodSandboxChanged(pod *v1.Pod, podStatus *kubecontainer.PodStatus) (bool, uint32, string) { + if len(podStatus.SandboxStatuses) == 0 { + klog.V(2).InfoS("No sandbox for pod can be found. Need to start a new one", "pod", klog.KObj(pod)) + return true, 0, "" + } + + readySandboxCount := 0 + for _, s := range podStatus.SandboxStatuses { + if s.State == runtimeapi.PodSandboxState_SANDBOX_READY { + readySandboxCount++ + } + } + + // Needs to create a new sandbox when readySandboxCount > 1 or the ready sandbox is not the latest one. + sandboxStatus := podStatus.SandboxStatuses[0] + if readySandboxCount > 1 { + klog.V(2).InfoS("Multiple sandboxes are ready for Pod. Need to reconcile them", "pod", klog.KObj(pod)) + return true, sandboxStatus.Metadata.Attempt + 1, sandboxStatus.Id + } + if sandboxStatus.State != runtimeapi.PodSandboxState_SANDBOX_READY { + klog.V(2).InfoS("No ready sandbox for pod can be found. Need to start a new one", "pod", klog.KObj(pod)) + return true, sandboxStatus.Metadata.Attempt + 1, sandboxStatus.Id + } + + // Needs to create a new sandbox when network namespace changed. + if sandboxStatus.GetLinux().GetNamespaces().GetOptions().GetNetwork() != NetworkNamespaceForPod(pod) { + klog.V(2).InfoS("Sandbox for pod has changed. Need to start a new one", "pod", klog.KObj(pod)) + return true, sandboxStatus.Metadata.Attempt + 1, "" + } + + // Needs to create a new sandbox when the sandbox does not have an IP address. + if !kubecontainer.IsHostNetworkPod(pod) && sandboxStatus.Network != nil && sandboxStatus.Network.Ip == "" { + klog.V(2).InfoS("Sandbox for pod has no IP address. Need to start a new one", "pod", klog.KObj(pod)) + return true, sandboxStatus.Metadata.Attempt + 1, sandboxStatus.Id + } + + return false, sandboxStatus.Metadata.Attempt, sandboxStatus.Id +} + +// IpcNamespaceForPod returns the runtimeapi.NamespaceMode +// for the IPC namespace of a pod +func IpcNamespaceForPod(pod *v1.Pod) runtimeapi.NamespaceMode { + if pod != nil && pod.Spec.HostIPC { + return runtimeapi.NamespaceMode_NODE + } + return runtimeapi.NamespaceMode_POD +} + +// NetworkNamespaceForPod returns the runtimeapi.NamespaceMode +// for the network namespace of a pod +func NetworkNamespaceForPod(pod *v1.Pod) runtimeapi.NamespaceMode { + if pod != nil && pod.Spec.HostNetwork { + return runtimeapi.NamespaceMode_NODE + } + return runtimeapi.NamespaceMode_POD +} + +// PidNamespaceForPod returns the runtimeapi.NamespaceMode +// for the PID namespace of a pod +func PidNamespaceForPod(pod *v1.Pod) runtimeapi.NamespaceMode { + if pod != nil { + if pod.Spec.HostPID { + return runtimeapi.NamespaceMode_NODE + } + if pod.Spec.ShareProcessNamespace != nil && *pod.Spec.ShareProcessNamespace { + return runtimeapi.NamespaceMode_POD + } + } + // Note that PID does not default to the zero value for v1.Pod + return runtimeapi.NamespaceMode_CONTAINER +} + +// namespacesForPod returns the runtimeapi.NamespaceOption for a given pod. +// An empty or nil pod can be used to get the namespace defaults for v1.Pod. +func NamespacesForPod(pod *v1.Pod, runtimeHelper kubecontainer.RuntimeHelper) (*runtimeapi.NamespaceOption, error) { + userNs, err := runtimeHelper.GetOrCreateUserNamespaceMappings(pod) + if err != nil { + return nil, err + } + + return &runtimeapi.NamespaceOption{ + Ipc: IpcNamespaceForPod(pod), + Network: NetworkNamespaceForPod(pod), + Pid: PidNamespaceForPod(pod), + UsernsOptions: userNs, + }, nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/lifecycle/handlers.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/lifecycle/handlers.go index 41a0533382cd..a2bb23673b43 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/lifecycle/handlers.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/lifecycle/handlers.go @@ -110,7 +110,7 @@ func (hr *handlerRunner) runHTTPHandler(pod *v1.Pod, container *v1.Container, ha if len(host) == 0 { status, err := hr.containerManager.GetPodStatus(pod.UID, pod.Name, pod.Namespace) if err != nil { - klog.ErrorS(err, "Unable to get pod info, event handlers may be invalid.") + klog.ErrorS(err, "Unable to get pod info, event handlers may be invalid.", "pod", klog.KObj(pod)) return "", err } if len(status.IPs) == 0 { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/lifecycle/predicate.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/lifecycle/predicate.go index 2700b2d526ed..2e06c266f737 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/lifecycle/predicate.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/lifecycle/predicate.go @@ -185,7 +185,8 @@ func rejectPodAdmissionBasedOnOSSelector(pod *v1.Pod, node *v1.Node) bool { // rejectPodAdmissionBasedOnOSField rejects pods if their OS field doesn't match runtime.GOOS. // TODO: Relax this restriction when we start supporting LCOW in kubernetes where podOS may not match -// node's OS. +// +// node's OS. func rejectPodAdmissionBasedOnOSField(pod *v1.Pod) bool { if pod.Spec.OS == nil { return false diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/logs/container_log_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/logs/container_log_manager.go index 6d440737f3c0..a5247607ea36 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/logs/container_log_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/logs/container_log_manager.go @@ -393,11 +393,15 @@ func (c *containerLogManager) compressLog(log string) error { if _, err := io.Copy(w, r); err != nil { return fmt.Errorf("failed to compress %q to %q: %v", log, tmpLog, err) } + // The archive needs to be closed before renaming, otherwise an error will occur on Windows. + w.Close() + f.Close() compressedLog := log + compressSuffix if err := c.osInterface.Rename(tmpLog, compressedLog); err != nil { return fmt.Errorf("failed to rename %q to %q: %v", tmpLog, compressedLog, err) } // Remove old log file. + r.Close() if err := c.osInterface.Remove(log); err != nil { return fmt.Errorf("failed to remove log %q after compress: %v", log, err) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/metrics/collectors/resource_metrics.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/metrics/collectors/resource_metrics.go index 74d2ea7af10b..b5a3c9634011 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/metrics/collectors/resource_metrics.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/metrics/collectors/resource_metrics.go @@ -142,7 +142,7 @@ func (rc *resourceMetricsCollector) CollectWithStability(ch chan<- metrics.Metri } func (rc *resourceMetricsCollector) collectNodeCPUMetrics(ch chan<- metrics.Metric, s summary.NodeStats) { - if s.CPU == nil { + if s.CPU == nil || s.CPU.UsageCoreNanoSeconds == nil { return } @@ -151,7 +151,7 @@ func (rc *resourceMetricsCollector) collectNodeCPUMetrics(ch chan<- metrics.Metr } func (rc *resourceMetricsCollector) collectNodeMemoryMetrics(ch chan<- metrics.Metric, s summary.NodeStats) { - if s.Memory == nil { + if s.Memory == nil || s.Memory.WorkingSetBytes == nil { return } @@ -160,7 +160,7 @@ func (rc *resourceMetricsCollector) collectNodeMemoryMetrics(ch chan<- metrics.M } func (rc *resourceMetricsCollector) collectContainerStartTime(ch chan<- metrics.Metric, pod summary.PodStats, s summary.ContainerStats) { - if s.StartTime.Unix() == 0 { + if s.StartTime.Unix() <= 0 { return } @@ -169,7 +169,7 @@ func (rc *resourceMetricsCollector) collectContainerStartTime(ch chan<- metrics. } func (rc *resourceMetricsCollector) collectContainerCPUMetrics(ch chan<- metrics.Metric, pod summary.PodStats, s summary.ContainerStats) { - if s.CPU == nil { + if s.CPU == nil || s.CPU.UsageCoreNanoSeconds == nil { return } @@ -179,7 +179,7 @@ func (rc *resourceMetricsCollector) collectContainerCPUMetrics(ch chan<- metrics } func (rc *resourceMetricsCollector) collectContainerMemoryMetrics(ch chan<- metrics.Metric, pod summary.PodStats, s summary.ContainerStats) { - if s.Memory == nil { + if s.Memory == nil || s.Memory.WorkingSetBytes == nil { return } @@ -189,7 +189,7 @@ func (rc *resourceMetricsCollector) collectContainerMemoryMetrics(ch chan<- metr } func (rc *resourceMetricsCollector) collectPodCPUMetrics(ch chan<- metrics.Metric, pod summary.PodStats) { - if pod.CPU == nil { + if pod.CPU == nil || pod.CPU.UsageCoreNanoSeconds == nil { return } @@ -199,7 +199,7 @@ func (rc *resourceMetricsCollector) collectPodCPUMetrics(ch chan<- metrics.Metri } func (rc *resourceMetricsCollector) collectPodMemoryMetrics(ch chan<- metrics.Metric, pod summary.PodStats) { - if pod.Memory == nil { + if pod.Memory == nil || pod.Memory.WorkingSetBytes == nil { return } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/nodestatus/setters.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/nodestatus/setters.go index 984cad5a619b..a205809846f0 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/nodestatus/setters.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/nodestatus/setters.go @@ -31,13 +31,11 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/errors" utilnet "k8s.io/apimachinery/pkg/util/net" - utilfeature "k8s.io/apiserver/pkg/util/feature" cloudprovider "k8s.io/cloud-provider" cloudproviderapi "k8s.io/cloud-provider/api" cloudprovidernodeutil "k8s.io/cloud-provider/node/helpers" "k8s.io/component-base/version" v1helper "k8s.io/kubernetes/pkg/apis/core/v1/helper" - "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/kubelet/cadvisor" "k8s.io/kubernetes/pkg/kubelet/cm" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" @@ -94,14 +92,28 @@ func NodeAddress(nodeIPs []net.IP, // typically Kubelet.nodeIPs klog.V(4).InfoS("Using secondary node IP", "IP", secondaryNodeIP.String()) } - if externalCloudProvider { + if externalCloudProvider || cloud != nil { + // Annotate the Node object with nodeIP for external cloud provider. + // + // We do this even when external CCM is not configured to cover a situation + // during migration from legacy to external CCM: when CCM is running the + // node controller in the cluster but kubelet is still running the in-tree + // provider. Adding this annotation in all cases ensures that while + // Addresses flap between the competing controllers, they at least flap + // consistently. + // + // We do not add the annotation in the case where there is no cloud + // controller at all, as we don't expect to migrate these clusters to use an + // external CCM. if nodeIPSpecified { if node.ObjectMeta.Annotations == nil { node.ObjectMeta.Annotations = make(map[string]string) } node.ObjectMeta.Annotations[cloudproviderapi.AnnotationAlphaProvidedIPAddr] = nodeIP.String() } + } + if externalCloudProvider { // If --cloud-provider=external and node address is already set, // then we return early because provider set addresses should take precedence. // Otherwise, we try to look up the node IP and let the cloud provider override it later @@ -230,10 +242,11 @@ func MachineInfo(nodeName string, maxPods int, podsPerCore int, machineInfoFunc func() (*cadvisorapiv1.MachineInfo, error), // typically Kubelet.GetCachedMachineInfo - capacityFunc func() v1.ResourceList, // typically Kubelet.containerManager.GetCapacity + capacityFunc func(localStorageCapacityIsolation bool) v1.ResourceList, // typically Kubelet.containerManager.GetCapacity devicePluginResourceCapacityFunc func() (v1.ResourceList, v1.ResourceList, []string), // typically Kubelet.containerManager.GetDevicePluginResourceCapacity nodeAllocatableReservationFunc func() v1.ResourceList, // typically Kubelet.containerManager.GetNodeAllocatableReservation recordEventFunc func(eventType, event, message string), // typically Kubelet.recordEvent + localStorageCapacityIsolation bool, ) Setter { return func(node *v1.Node) error { // Note: avoid blindly overwriting the capacity in case opaque @@ -281,16 +294,15 @@ func MachineInfo(nodeName string, } node.Status.NodeInfo.BootID = info.BootID - if utilfeature.DefaultFeatureGate.Enabled(features.LocalStorageCapacityIsolation) { - // TODO: all the node resources should use ContainerManager.GetCapacity instead of deriving the - // capacity for every node status request - initialCapacity := capacityFunc() - if initialCapacity != nil { - if v, exists := initialCapacity[v1.ResourceEphemeralStorage]; exists { - node.Status.Capacity[v1.ResourceEphemeralStorage] = v - } + // TODO: all the node resources should use ContainerManager.GetCapacity instead of deriving the + // capacity for every node status request + initialCapacity := capacityFunc(localStorageCapacityIsolation) + if initialCapacity != nil { + if v, exists := initialCapacity[v1.ResourceEphemeralStorage]; exists { + node.Status.Capacity[v1.ResourceEphemeralStorage] = v } } + //} devicePluginCapacity, devicePluginAllocatable, removedDevicePlugins = devicePluginResourceCapacityFunc() for k, v := range devicePluginCapacity { @@ -455,6 +467,7 @@ func ReadyCondition( cmStatusFunc func() cm.Status, // typically Kubelet.containerManager.Status nodeShutdownManagerErrorsFunc func() error, // typically kubelet.shutdownManager.errors. recordEventFunc func(eventType, event string), // typically Kubelet.recordNodeStatusEvent + localStorageCapacityIsolation bool, ) Setter { return func(node *v1.Node) error { // NOTE(aaronlevy): NodeReady condition needs to be the last in the list of node conditions. @@ -470,7 +483,7 @@ func ReadyCondition( } errs := []error{runtimeErrorsFunc(), networkErrorsFunc(), storageErrorsFunc(), nodeShutdownManagerErrorsFunc()} requiredCapacities := []v1.ResourceName{v1.ResourceCPU, v1.ResourceMemory, v1.ResourcePods} - if utilfeature.DefaultFeatureGate.Enabled(features.LocalStorageCapacityIsolation) { + if localStorageCapacityIsolation { requiredCapacities = append(requiredCapacities, v1.ResourceEphemeralStorage) } missingCapacities := []string{} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pleg/generic.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pleg/generic.go index ef1664da8b17..c9ab5bb7689c 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pleg/generic.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pleg/generic.go @@ -325,29 +325,25 @@ func (g *GenericPLEG) relist() { func getContainersFromPods(pods ...*kubecontainer.Pod) []*kubecontainer.Container { cidSet := sets.NewString() var containers []*kubecontainer.Container - for _, p := range pods { - if p == nil { - continue - } - for _, c := range p.Containers { - cid := string(c.ID.ID) + fillCidSet := func(cs []*kubecontainer.Container) { + for _, c := range cs { + cid := c.ID.ID if cidSet.Has(cid) { continue } cidSet.Insert(cid) containers = append(containers, c) } + } + + for _, p := range pods { + if p == nil { + continue + } + fillCidSet(p.Containers) // Update sandboxes as containers // TODO: keep track of sandboxes explicitly. - for _, c := range p.Sandboxes { - cid := string(c.ID.ID) - if cidSet.Has(cid) { - continue - } - cidSet.Insert(cid) - containers = append(containers, c) - } - + fillCidSet(p.Sandboxes) } return containers } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/cache/types.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/cache/types.go index a0dbb3696a01..6b0a9a430f00 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/cache/types.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/cache/types.go @@ -20,28 +20,30 @@ package cache // order to consume plugins // The PluginHandler follows the simple following state machine: // -// +--------------------------------------+ -// | ReRegistration | -// | Socket created with same plugin name | -// | | -// | | -// Socket Created v + Socket Deleted -// +------------------> Validate +---------------------------> Register +------------------> DeRegister -// + + + -// | | | -// | Error | Error | -// | | | -// v v v -// Out Out Out +// +--------------------------------------+ +// | ReRegistration | +// | Socket created with same plugin name | +// | | +// | | +// Socket Created v + Socket Deleted +// +------------------> Validate +---------------------------> Register +------------------> DeRegister +// + + + +// | | | +// | Error | Error | +// | | | +// v v v +// Out Out Out // // The pluginwatcher module follows strictly and sequentially this state machine for each *plugin name*. // e.g: If you are Registering a plugin foo, you cannot get a DeRegister call for plugin foo -// until the Register("foo") call returns. Nor will you get a Validate("foo", "Different endpoint", ...) -// call until the Register("foo") call returns. +// +// until the Register("foo") call returns. Nor will you get a Validate("foo", "Different endpoint", ...) +// call until the Register("foo") call returns. // // ReRegistration: Socket created with same plugin name, usually for a plugin update // e.g: plugin with name foo registers at foo.com/foo-1.9.7 later a plugin with name foo -// registers at foo.com/foo-1.9.9 +// +// registers at foo.com/foo-1.9.9 // // DeRegistration: When ReRegistration happens only the deletion of the new socket will trigger a DeRegister call type PluginHandler interface { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/operationexecutor/operation_generator.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/operationexecutor/operation_generator.go index 3941d5de7384..65cb549c339f 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/operationexecutor/operation_generator.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/operationexecutor/operation_generator.go @@ -30,6 +30,7 @@ import ( "k8s.io/klog/v2" "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" "k8s.io/client-go/tools/record" registerapi "k8s.io/kubelet/pkg/apis/pluginregistration/v1" "k8s.io/kubernetes/pkg/kubelet/pluginmanager/cache" @@ -178,7 +179,9 @@ func dial(unixSocketPath string, timeout time.Duration) (registerapi.Registratio ctx, cancel := context.WithTimeout(context.Background(), timeout) defer cancel() - c, err := grpc.DialContext(ctx, unixSocketPath, grpc.WithInsecure(), grpc.WithBlock(), + c, err := grpc.DialContext(ctx, unixSocketPath, + grpc.WithTransportCredentials(insecure.NewCredentials()), + grpc.WithBlock(), grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) { return (&net.Dialer{}).DialContext(ctx, "unix", addr) }), diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/plugin_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/plugin_manager.go index 79e0c8c46b7d..e1491165febc 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/plugin_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/plugin_manager.go @@ -108,7 +108,11 @@ var _ PluginManager = &pluginManager{} func (pm *pluginManager) Run(sourcesReady config.SourcesReady, stopCh <-chan struct{}) { defer runtime.HandleCrash() - pm.desiredStateOfWorldPopulator.Start(stopCh) + if err := pm.desiredStateOfWorldPopulator.Start(stopCh); err != nil { + klog.ErrorS(err, "The desired_state_of_world populator (plugin watcher) starts failed!") + return + } + klog.V(2).InfoS("The desired_state_of_world populator (plugin watcher) starts") klog.InfoS("Starting Kubelet Plugin Manager") diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/example_handler.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/example_handler.go index 6978826c9ced..e9a40710ea03 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/example_handler.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/example_handler.go @@ -26,6 +26,7 @@ import ( "time" "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" "k8s.io/klog/v2" registerapi "k8s.io/kubelet/pkg/apis/pluginregistration/v1" @@ -155,7 +156,9 @@ func dial(unixSocketPath string, timeout time.Duration) (registerapi.Registratio ctx, cancel := context.WithTimeout(context.Background(), timeout) defer cancel() - c, err := grpc.DialContext(ctx, unixSocketPath, grpc.WithInsecure(), grpc.WithBlock(), + c, err := grpc.DialContext(ctx, unixSocketPath, + grpc.WithTransportCredentials(insecure.NewCredentials()), + grpc.WithBlock(), grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) { return (&net.Dialer{}).DialContext(ctx, "unix", addr) }), diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher.go index b3a1a8b67e40..9d5fce72a891 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher.go @@ -131,12 +131,12 @@ func (w *Watcher) traversePluginDir(dir string) error { return nil } - switch mode := info.Mode(); { - case mode.IsDir(): + mode := info.Mode() + if mode.IsDir() { if err := w.fsWatcher.Add(path); err != nil { return fmt.Errorf("failed to watch %s, err: %v", path, err) } - case mode&os.ModeSocket != 0: + } else if isSocket, _ := util.IsUnixDomainSocket(path); isSocket { event := fsnotify.Event{ Name: path, Op: fsnotify.Create, @@ -145,7 +145,7 @@ func (w *Watcher) traversePluginDir(dir string) error { if err := w.handleCreateEvent(event); err != nil { klog.ErrorS(err, "Error when handling create", "event", event) } - default: + } else { klog.V(5).InfoS("Ignoring file", "path", path, "mode", mode) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/reconciler/reconciler.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/reconciler/reconciler.go index d8f104eb8092..0c14c1c4cb71 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/reconciler/reconciler.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pluginmanager/reconciler/reconciler.go @@ -48,12 +48,16 @@ type Reconciler interface { // NewReconciler returns a new instance of Reconciler. // // loopSleepDuration - the amount of time the reconciler loop sleeps between -// successive executions -// syncDuration - the amount of time the syncStates sleeps between -// successive executions +// +// successive executions +// syncDuration - the amount of time the syncStates sleeps between +// successive executions +// // operationExecutor - used to trigger register/unregister operations safely -// (prevents more than one operation from being triggered on the same -// socket path) +// +// (prevents more than one operation from being triggered on the same +// socket path) +// // desiredStateOfWorld - cache containing the desired state of the world // actualStateOfWorld - cache containing the actual state of the world func NewReconciler( diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pod/pod_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pod/pod_manager.go index ce342ac7209a..2eeb4788af88 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pod/pod_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pod/pod_manager.go @@ -22,8 +22,6 @@ import ( v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" - utilfeature "k8s.io/apiserver/pkg/util/feature" - "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/kubelet/configmap" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" "k8s.io/kubernetes/pkg/kubelet/metrics" @@ -162,10 +160,6 @@ func (pm *basicManager) UpdatePod(pod *v1.Pod) { // updateMetrics updates the metrics surfaced by the pod manager. // oldPod or newPod may be nil to signify creation or deletion. func updateMetrics(oldPod, newPod *v1.Pod) { - if !utilfeature.DefaultFeatureGate.Enabled(features.EphemeralContainers) { - return - } - var numEC int if oldPod != nil { numEC -= len(oldPod.Spec.EphemeralContainers) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pod_workers.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pod_workers.go index 5632745e0603..9dad22b0b3ef 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pod_workers.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/pod_workers.go @@ -313,10 +313,10 @@ func (s *podSyncStatus) IsDeleted() bool { return s.deleted } // Once a pod is set to be "torn down" it cannot be started again for that // UID (corresponding to a delete or eviction) until: // -// 1. The pod worker is finalized (syncTerminatingPod and -// syncTerminatedPod exit without error sequentially) -// 2. The SyncKnownPods method is invoked by kubelet housekeeping and the pod -// is not part of the known config. +// 1. The pod worker is finalized (syncTerminatingPod and +// syncTerminatedPod exit without error sequentially) +// 2. The SyncKnownPods method is invoked by kubelet housekeeping and the pod +// is not part of the known config. // // Pod workers provide a consistent source of information to other kubelet // loops about the status of the pod and whether containers can be @@ -332,36 +332,50 @@ func (s *podSyncStatus) IsDeleted() bool { return s.deleted } // ---| = kubelet config has synced at least once // -------| |- = pod exists in apiserver config // --------| |---------------- = CouldHaveRunningContainers() is true -// ^- pod is observed by pod worker . -// . . +// +// ^- pod is observed by pod worker . +// . . +// // ----------| |------------------------- = syncPod is running -// . ^- pod worker loop sees change and invokes syncPod -// . . . +// +// . ^- pod worker loop sees change and invokes syncPod +// . . . +// // --------------| |------- = ShouldPodContainersBeTerminating() returns true // --------------| |------- = IsPodTerminationRequested() returns true (pod is known) -// . . ^- Kubelet evicts pod . -// . . . +// +// . . ^- Kubelet evicts pod . +// . . . +// // -------------------| |---------------- = syncTerminatingPod runs then exits without error -// . . ^ pod worker loop exits syncPod, sees pod is terminating, -// . . invokes syncTerminatingPod -// . . . +// +// . . ^ pod worker loop exits syncPod, sees pod is terminating, +// . . invokes syncTerminatingPod +// . . . +// // ---| |------------------| . = ShouldPodRuntimeBeRemoved() returns true (post-sync) -// . ^ syncTerminatingPod has exited successfully -// . . +// +// . ^ syncTerminatingPod has exited successfully +// . . +// // ----------------------------| |------- = syncTerminatedPod runs then exits without error -// . ^ other loops can tear down -// . . +// +// . ^ other loops can tear down +// . . +// // ------------------------------------| |---- = status manager is waiting for PodResourcesAreReclaimed() -// . ^ . +// +// . ^ . +// // ----------| |- = status manager can be writing pod status -// ^ status manager deletes pod because no longer exists in config +// +// ^ status manager deletes pod because no longer exists in config // // Other components in the Kubelet can request a termination of the pod // via the UpdatePod method or the killPodNow wrapper - this will ensure // the components of the pod are stopped until the kubelet is restarted // or permanently (if the phase of the pod is set to a terminal phase // in the pod status change). -// type podWorkers struct { // Protects all per worker fields. podLock sync.Mutex diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/prober/prober_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/prober/prober_manager.go index bb073688f894..94ba0022dc12 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/prober/prober_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/prober/prober_manager.go @@ -48,6 +48,20 @@ var ProberResults = metrics.NewCounterVec( "pod_uid"}, ) +// ProberDuration stores the duration of a successful probe lifecycle by result as prometheus metrics. +var ProberDuration = metrics.NewHistogramVec( + &metrics.HistogramOpts{ + Subsystem: "prober", + Name: "probe_duration_seconds", + Help: "Duration in seconds for a probe response.", + StabilityLevel: metrics.ALPHA, + }, + []string{"probe_type", + "container", + "pod", + "namespace"}, +) + // Manager manages pod probing. It creates a probe "worker" for every container that specifies a // probe (AddPod). The worker periodically probes its assigned container and caches the results. The // manager use the cached probe results to set the appropriate Ready state in the PodStatus when diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/prober/worker.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/prober/worker.go index 9e472c32edd3..75273deadba5 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/prober/worker.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/prober/worker.go @@ -17,7 +17,9 @@ limitations under the License. package prober import ( + "fmt" "math/rand" + "strings" "time" v1 "k8s.io/api/core/v1" @@ -25,6 +27,7 @@ import ( "k8s.io/component-base/metrics" "k8s.io/klog/v2" podutil "k8s.io/kubernetes/pkg/api/v1/pod" + "k8s.io/kubernetes/pkg/apis/apps" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" "k8s.io/kubernetes/pkg/kubelet/prober/results" ) @@ -74,6 +77,10 @@ type worker struct { proberResultsSuccessfulMetricLabels metrics.Labels proberResultsFailedMetricLabels metrics.Labels proberResultsUnknownMetricLabels metrics.Labels + // proberDurationMetricLabels holds the labels attached to this worker + // for the ProberDuration metric by result. + proberDurationSuccessfulMetricLabels metrics.Labels + proberDurationUnknownMetricLabels metrics.Labels } // Creates and starts a new probe worker. @@ -107,14 +114,23 @@ func newWorker( w.initialValue = results.Unknown } + podName := getPodLabelName(w.pod) + basicMetricLabels := metrics.Labels{ "probe_type": w.probeType.String(), "container": w.container.Name, - "pod": w.pod.Name, + "pod": podName, "namespace": w.pod.Namespace, "pod_uid": string(w.pod.UID), } + proberDurationLabels := metrics.Labels{ + "probe_type": w.probeType.String(), + "container": w.container.Name, + "pod": podName, + "namespace": w.pod.Namespace, + } + w.proberResultsSuccessfulMetricLabels = deepCopyPrometheusLabels(basicMetricLabels) w.proberResultsSuccessfulMetricLabels["result"] = probeResultSuccessful @@ -124,6 +140,9 @@ func newWorker( w.proberResultsUnknownMetricLabels = deepCopyPrometheusLabels(basicMetricLabels) w.proberResultsUnknownMetricLabels["result"] = probeResultUnknown + w.proberDurationSuccessfulMetricLabels = deepCopyPrometheusLabels(proberDurationLabels) + w.proberDurationUnknownMetricLabels = deepCopyPrometheusLabels(proberDurationLabels) + return w } @@ -151,6 +170,8 @@ func (w *worker) run() { ProberResults.Delete(w.proberResultsSuccessfulMetricLabels) ProberResults.Delete(w.proberResultsFailedMetricLabels) ProberResults.Delete(w.proberResultsUnknownMetricLabels) + ProberDuration.Delete(w.proberDurationSuccessfulMetricLabels) + ProberDuration.Delete(w.proberDurationUnknownMetricLabels) }() probeLoop: @@ -181,6 +202,7 @@ func (w *worker) doProbe() (keepGoing bool) { defer func() { recover() }() // Actually eat panics (HandleCrash takes care of logging) defer runtime.HandleCrash(func(_ interface{}) { keepGoing = true }) + startTime := time.Now() status, ok := w.probeManager.statusManager.GetPodStatus(w.pod.UID) if !ok { // Either the pod has not been created yet, or it was already deleted. @@ -271,10 +293,12 @@ func (w *worker) doProbe() (keepGoing bool) { switch result { case results.Success: ProberResults.With(w.proberResultsSuccessfulMetricLabels).Inc() + ProberDuration.With(w.proberDurationSuccessfulMetricLabels).Observe(time.Since(startTime).Seconds()) case results.Failure: ProberResults.With(w.proberResultsFailedMetricLabels).Inc() default: ProberResults.With(w.proberResultsUnknownMetricLabels).Inc() + ProberDuration.With(w.proberDurationUnknownMetricLabels).Observe(time.Since(startTime).Seconds()) } if w.lastResult == result { @@ -311,3 +335,15 @@ func deepCopyPrometheusLabels(m metrics.Labels) metrics.Labels { } return ret } + +func getPodLabelName(pod *v1.Pod) string { + podName := pod.Name + if pod.GenerateName != "" { + podNameSlice := strings.Split(pod.Name, "-") + podName = strings.Join(podNameSlice[:len(podNameSlice)-1], "-") + if label, ok := pod.GetLabels()[apps.DefaultDeploymentUniqueLabelKey]; ok { + podName = strings.ReplaceAll(podName, fmt.Sprintf("-%s", label), "") + } + } + return podName +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/reason_cache.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/reason_cache.go index 60327baf9547..b487a1d94345 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/reason_cache.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/reason_cache.go @@ -29,10 +29,11 @@ import ( // in a string, keyed by _. The goal is to // propagate this reason to the container status. This endeavor is // "best-effort" for two reasons: -// 1. The cache is not persisted. -// 2. We use an LRU cache to avoid extra garbage collection work. This -// means that some entries may be recycled before a pod has been -// deleted. +// 1. The cache is not persisted. +// 2. We use an LRU cache to avoid extra garbage collection work. This +// means that some entries may be recycled before a pod has been +// deleted. +// // TODO(random-liu): Use more reliable cache which could collect garbage of failed pod. // TODO(random-liu): Move reason cache to somewhere better. type ReasonCache struct { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/secret/secret_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/secret/secret_manager.go index 292c833555b9..bba17fa8fd9c 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/secret/secret_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/secret/secret_manager.go @@ -115,11 +115,11 @@ const ( // NewCachingSecretManager creates a manager that keeps a cache of all secrets // necessary for registered pods. // It implements the following logic: -// - whenever a pod is created or updated, the cached versions of all secrets -// are invalidated -// - every GetObject() call tries to fetch the value from local cache; if it is -// not there, invalidated or too old, we fetch it from apiserver and refresh the -// value in cache; otherwise it is just fetched from cache +// - whenever a pod is created or updated, the cached versions of all secrets +// are invalidated +// - every GetObject() call tries to fetch the value from local cache; if it is +// not there, invalidated or too old, we fetch it from apiserver and refresh the +// value in cache; otherwise it is just fetched from cache func NewCachingSecretManager(kubeClient clientset.Interface, getTTL manager.GetObjectTTLFunc) Manager { getSecret := func(namespace, name string, opts metav1.GetOptions) (runtime.Object, error) { return kubeClient.CoreV1().Secrets(namespace).Get(context.TODO(), name, opts) @@ -133,9 +133,9 @@ func NewCachingSecretManager(kubeClient clientset.Interface, getTTL manager.GetO // NewWatchingSecretManager creates a manager that keeps a cache of all secrets // necessary for registered pods. // It implements the following logic: -// - whenever a pod is created or updated, we start individual watches for all -// referenced objects that aren't referenced from other registered pods -// - every GetObject() returns a value from local cache propagated via watches +// - whenever a pod is created or updated, we start individual watches for all +// referenced objects that aren't referenced from other registered pods +// - every GetObject() returns a value from local cache propagated via watches func NewWatchingSecretManager(kubeClient clientset.Interface, resyncInterval time.Duration) Manager { listSecret := func(namespace string, opts metav1.ListOptions) (runtime.Object, error) { return kubeClient.CoreV1().Secrets(namespace).List(context.TODO(), opts) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/server/auth.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/server/auth.go index 469039b9d2b1..962e1ce95075 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/server/auth.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/server/auth.go @@ -59,9 +59,10 @@ func isSubpath(subpath, path string) bool { // GetRequestAttributes populates authorizer attributes for the requests to the kubelet API. // Default attributes are: {apiVersion=v1,verb=,resource=nodes,name=,subresource=proxy} // More specific verb/resource is set for the following request patterns: -// /stats/* => verb=, resource=nodes, name=, subresource=stats -// /metrics/* => verb=, resource=nodes, name=, subresource=metrics -// /logs/* => verb=, resource=nodes, name=, subresource=log +// +// /stats/* => verb=, resource=nodes, name=, subresource=stats +// /metrics/* => verb=, resource=nodes, name=, subresource=metrics +// /logs/* => verb=, resource=nodes, name=, subresource=log func (n nodeAuthorizerAttributesGetter) GetRequestAttributes(u user.Info, r *http.Request) authorizer.Attributes { apiVerb := "" diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/server/server.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/server/server.go index 42a744754755..84dbd5458426 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/server/server.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/server/server.go @@ -37,6 +37,8 @@ import ( cadvisorapi "github.com/google/cadvisor/info/v1" cadvisorv2 "github.com/google/cadvisor/info/v2" "github.com/google/cadvisor/metrics" + "go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful" + oteltrace "go.opentelemetry.io/otel/trace" "google.golang.org/grpc" "k8s.io/klog/v2" "k8s.io/kubernetes/pkg/kubelet/metrics/collectors" @@ -62,6 +64,7 @@ import ( "k8s.io/component-base/logs" compbasemetrics "k8s.io/component-base/metrics" "k8s.io/component-base/metrics/legacyregistry" + runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1" podresourcesapi "k8s.io/kubelet/pkg/apis/podresources/v1" podresourcesapiv1alpha1 "k8s.io/kubelet/pkg/apis/podresources/v1alpha1" "k8s.io/kubernetes/pkg/api/legacyscheme" @@ -126,6 +129,7 @@ type containerInterface interface { // so we can ensure restful.FilterFunctions are used for all handlers type filteringContainer struct { *restful.Container + registeredHandlePaths []string } @@ -143,12 +147,13 @@ func ListenAndServeKubeletServer( resourceAnalyzer stats.ResourceAnalyzer, kubeCfg *kubeletconfiginternal.KubeletConfiguration, tlsOptions *TLSOptions, - auth AuthInterface) { + auth AuthInterface, + tp oteltrace.TracerProvider) { address := netutils.ParseIPSloppy(kubeCfg.Address) port := uint(kubeCfg.Port) klog.InfoS("Starting to listen", "address", address, "port", port) - handler := NewServer(host, resourceAnalyzer, auth, kubeCfg) + handler := NewServer(host, resourceAnalyzer, auth, tp, kubeCfg) s := &http.Server{ Addr: net.JoinHostPort(address.String(), strconv.FormatUint(uint64(port), 10)), Handler: &handler, @@ -157,6 +162,7 @@ func ListenAndServeKubeletServer( WriteTimeout: 4 * 60 * time.Minute, MaxHeaderBytes: 1 << 20, } + if tlsOptions != nil { s.TLSConfig = tlsOptions.Config // Passing empty strings as the cert and key files means no @@ -173,9 +179,14 @@ func ListenAndServeKubeletServer( } // ListenAndServeKubeletReadOnlyServer initializes a server to respond to HTTP network requests on the Kubelet. -func ListenAndServeKubeletReadOnlyServer(host HostInterface, resourceAnalyzer stats.ResourceAnalyzer, address net.IP, port uint) { +func ListenAndServeKubeletReadOnlyServer( + host HostInterface, + resourceAnalyzer stats.ResourceAnalyzer, + address net.IP, + port uint) { klog.InfoS("Starting to listen read-only", "address", address, "port", port) - s := NewServer(host, resourceAnalyzer, nil, nil) + // TODO: https://github.com/kubernetes/kubernetes/issues/109829 tracer should use WithPublicEndpoint + s := NewServer(host, resourceAnalyzer, nil, oteltrace.NewNoopTracerProvider(), nil) server := &http.Server{ Addr: net.JoinHostPort(address.String(), strconv.FormatUint(uint64(port), 10)), @@ -224,6 +235,7 @@ type HostInterface interface { GetCachedMachineInfo() (*cadvisorapi.MachineInfo, error) GetRunningPods() ([]*v1.Pod, error) RunInContainer(name string, uid types.UID, container string, cmd []string) ([]byte, error) + CheckpointContainer(podUID types.UID, podFullName, containerName string, options *runtimeapi.CheckpointContainerRequest) error GetKubeletContainerLogs(ctx context.Context, podFullName, containerName string, logOptions *v1.PodLogOptions, stdout, stderr io.Writer) error ServeLogs(w http.ResponseWriter, req *http.Request) ResyncInterval() time.Duration @@ -239,7 +251,9 @@ func NewServer( host HostInterface, resourceAnalyzer stats.ResourceAnalyzer, auth AuthInterface, + tp oteltrace.TracerProvider, kubeCfg *kubeletconfiginternal.KubeletConfiguration) Server { + server := Server{ host: host, resourceAnalyzer: resourceAnalyzer, @@ -251,6 +265,9 @@ func NewServer( if auth != nil { server.InstallAuthFilter() } + if utilfeature.DefaultFeatureGate.Enabled(features.KubeletTracing) { + server.InstallTracingFilter(tp) + } server.InstallDefaultHandlers() if kubeCfg != nil && kubeCfg.EnableDebuggingHandlers { server.InstallDebuggingHandlers() @@ -303,6 +320,11 @@ func (s *Server) InstallAuthFilter() { }) } +// InstallTracingFilter installs OpenTelemetry tracing filter with the restful Container. +func (s *Server) InstallTracingFilter(tp oteltrace.TracerProvider) { + s.restfulCont.Filter(otelrestful.OTelFilter("kubelet", otelrestful.WithTracerProvider(tp))) +} + // addMetricsBucketMatcher adds a regexp matcher and the relevant bucket to use when // it matches. Please be aware this is not thread safe and should not be used dynamically func (s *Server) addMetricsBucketMatcher(bucket string) { @@ -370,12 +392,6 @@ func (s *Server) InstallDefaultHandlers() { cadvisormetrics.OOMMetrics: struct{}{}, } - // Only add the Accelerator metrics if the feature is inactive - // Note: Accelerator metrics will be removed in the future, hence the feature gate. - if !utilfeature.DefaultFeatureGate.Enabled(features.DisableAcceleratorUsageMetrics) { - includedMetrics[cadvisormetrics.AcceleratorUsageMetrics] = struct{}{} - } - cadvisorOpts := cadvisorv2.RequestOptions{ IdType: cadvisorv2.TypeName, Count: 1, @@ -400,9 +416,21 @@ func (s *Server) InstallDefaultHandlers() { p := compbasemetrics.NewKubeRegistry() _ = compbasemetrics.RegisterProcessStartTime(p.Register) p.MustRegister(prober.ProberResults) + p.MustRegister(prober.ProberDuration) s.restfulCont.Handle(proberMetricsPath, compbasemetrics.HandlerFor(p, compbasemetrics.HandlerOpts{ErrorHandling: compbasemetrics.ContinueOnError}), ) + + // Only enable checkpoint API if the feature is enabled + if utilfeature.DefaultFeatureGate.Enabled(features.ContainerCheckpoint) { + s.addMetricsBucketMatcher("checkpoint") + ws = &restful.WebService{} + ws.Path("/checkpoint").Produces(restful.MIME_JSON) + ws.Route(ws.POST("/{podNamespace}/{podID}/{containerName}"). + To(s.checkpoint). + Operation("checkpoint")) + s.restfulCont.Add(ws) + } } // InstallDebuggingHandlers registers the HTTP request patterns that serve logs or run commands/containers @@ -878,6 +906,83 @@ func (s *Server) getPortForward(request *restful.Request, response *restful.Resp proxyStream(response.ResponseWriter, request.Request, url) } +// checkpoint handles the checkpoint API request. It checks if the requested +// podNamespace, pod and container actually exist and only then calls out +// to the runtime to actually checkpoint the container. +func (s *Server) checkpoint(request *restful.Request, response *restful.Response) { + pod, ok := s.host.GetPodByName(request.PathParameter("podNamespace"), request.PathParameter("podID")) + if !ok { + response.WriteError(http.StatusNotFound, fmt.Errorf("pod does not exist")) + return + } + + containerName := request.PathParameter("containerName") + + found := false + for _, container := range pod.Spec.Containers { + if container.Name == containerName { + found = true + } + } + if !found { + for _, container := range pod.Spec.InitContainers { + if container.Name == containerName { + found = true + } + } + } + if !found { + for _, container := range pod.Spec.EphemeralContainers { + if container.Name == containerName { + found = true + } + } + } + if !found { + response.WriteError( + http.StatusNotFound, + fmt.Errorf("container %v does not exist", containerName), + ) + return + } + + options := &runtimeapi.CheckpointContainerRequest{} + // Query parameter to select an optional timeout. Without the timeout parameter + // the checkpoint command will use the default CRI timeout. + timeouts := request.Request.URL.Query()["timeout"] + if len(timeouts) > 0 { + // If the user specified one or multiple values for timeouts we + // are using the last available value. + timeout, err := strconv.ParseInt(timeouts[len(timeouts)-1], 10, 64) + if err != nil { + response.WriteError( + http.StatusNotFound, + fmt.Errorf("cannot parse value of timeout parameter"), + ) + return + } + options.Timeout = timeout + } + + if err := s.host.CheckpointContainer(pod.UID, kubecontainer.GetPodFullName(pod), containerName, options); err != nil { + response.WriteError( + http.StatusInternalServerError, + fmt.Errorf( + "checkpointing of %v/%v/%v failed (%v)", + request.PathParameter("podNamespace"), + request.PathParameter("podID"), + containerName, + err, + ), + ) + return + } + writeJSONResponse( + response, + []byte(fmt.Sprintf("{\"items\":[\"%s\"]}", options.Location)), + ) +} + // getURLRootPath trims a URL path. // For paths in the format of "/metrics/xxx", "metrics/xxx" is returned; // For all other paths, the first part of the path is returned. diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/server/stats/volume_stat_calculator.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/server/stats/volume_stat_calculator.go index f2580e0e679e..671c72ca4b51 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/server/stats/volume_stat_calculator.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/server/stats/volume_stat_calculator.go @@ -32,6 +32,7 @@ import ( "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/volume" "k8s.io/kubernetes/pkg/volume/util" + utiltrace "k8s.io/utils/trace" ) // volumeStatCalculator calculates volume metrics for a given pod periodically in the background and caches the result @@ -133,7 +134,11 @@ func (s *volumeStatCalculator) calcAndStoreStats() { var ephemeralStats []stats.VolumeStats var persistentStats []stats.VolumeStats for name, v := range metricVolumes { - metric, err := v.GetMetrics() + metric, err := func() (*volume.Metrics, error) { + trace := utiltrace.New(fmt.Sprintf("Calculate volume metrics of %v for pod %v/%v", name, s.pod.Namespace, s.pod.Name)) + defer trace.LogIfLong(1 * time.Second) + return v.GetMetrics() + }() if err != nil { // Expected for Volumes that don't support Metrics if !volume.IsNotSupported(err) { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/cadvisor_stats_provider.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/cadvisor_stats_provider.go index 738f240c2d3a..f58cd43e3d9a 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/cadvisor_stats_provider.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/cadvisor_stats_provider.go @@ -351,7 +351,11 @@ func filterTerminatedContainerInfoAndAssembleByPodCgroupKey(containerInfo map[st result := make(map[string]cadvisorapiv2.ContainerInfo) for _, refs := range cinfoMap { if len(refs) == 1 { - result[refs[0].cgroup] = refs[0].cinfo + // ContainerInfo with no CPU/memory/network usage for uncleaned cgroups of + // already terminated containers, which should not be shown in the results. + if !isContainerTerminated(&refs[0].cinfo) { + result[refs[0].cgroup] = refs[0].cinfo + } continue } sort.Sort(ByCreationTime(refs)) @@ -411,6 +415,35 @@ func hasMemoryAndCPUInstUsage(info *cadvisorapiv2.ContainerInfo) bool { return cstat.CpuInst.Usage.Total != 0 && cstat.Memory.RSS != 0 } +// isContainerTerminated returns true if the specified container meet one of the following conditions +// 1. info.spec both cpu memory and network are false conditions +// 2. info.Stats both network and cpu or memory are nil +// 3. both zero CPU instantaneous usage zero memory RSS usage and zero network usage, +// and false otherwise. +func isContainerTerminated(info *cadvisorapiv2.ContainerInfo) bool { + if !info.Spec.HasCpu && !info.Spec.HasMemory && !info.Spec.HasNetwork { + return true + } + cstat, found := latestContainerStats(info) + if !found { + return true + } + if cstat.Network != nil { + iStats := cadvisorInfoToNetworkStats(info) + if iStats != nil { + for _, iStat := range iStats.Interfaces { + if *iStat.RxErrors != 0 || *iStat.TxErrors != 0 || *iStat.RxBytes != 0 || *iStat.TxBytes != 0 { + return false + } + } + } + } + if cstat.CpuInst == nil || cstat.Memory == nil { + return true + } + return cstat.CpuInst.Usage.Total == 0 && cstat.Memory.RSS == 0 +} + func getCadvisorContainerInfo(ca cadvisor.Interface) (map[string]cadvisorapiv2.ContainerInfo, error) { infos, err := ca.ContainerInfoV2("/", cadvisorapiv2.RequestOptions{ IdType: cadvisorapiv2.TypeName, diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/cri_stats_provider.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/cri_stats_provider.go index 650a48a8e604..fa9c64e468fa 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/cri_stats_provider.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/cri_stats_provider.go @@ -74,10 +74,9 @@ type criStatsProvider struct { clock clock.Clock // cpuUsageCache caches the cpu usage for containers. - cpuUsageCache map[string]*cpuUsageRecord - mutex sync.RWMutex - disableAcceleratorUsageMetrics bool - podAndContainerStatsFromCRI bool + cpuUsageCache map[string]*cpuUsageRecord + mutex sync.RWMutex + podAndContainerStatsFromCRI bool } // newCRIStatsProvider returns a containerStatsProvider implementation that @@ -88,19 +87,17 @@ func newCRIStatsProvider( runtimeService internalapi.RuntimeService, imageService internalapi.ImageManagerService, hostStatsProvider HostStatsProvider, - disableAcceleratorUsageMetrics, podAndContainerStatsFromCRI bool, ) containerStatsProvider { return &criStatsProvider{ - cadvisor: cadvisor, - resourceAnalyzer: resourceAnalyzer, - runtimeService: runtimeService, - imageService: imageService, - hostStatsProvider: hostStatsProvider, - cpuUsageCache: make(map[string]*cpuUsageRecord), - disableAcceleratorUsageMetrics: disableAcceleratorUsageMetrics, - podAndContainerStatsFromCRI: podAndContainerStatsFromCRI, - clock: clock.RealClock{}, + cadvisor: cadvisor, + resourceAnalyzer: resourceAnalyzer, + runtimeService: runtimeService, + imageService: imageService, + hostStatsProvider: hostStatsProvider, + cpuUsageCache: make(map[string]*cpuUsageRecord), + podAndContainerStatsFromCRI: podAndContainerStatsFromCRI, + clock: clock.RealClock{}, } } @@ -884,11 +881,6 @@ func (p *criStatsProvider) addCadvisorContainerStats( if memory != nil { cs.Memory = memory } - - if !p.disableAcceleratorUsageMetrics { - accelerators := cadvisorInfoToAcceleratorStats(caPodStats) - cs.Accelerators = accelerators - } } func (p *criStatsProvider) addCadvisorContainerCPUAndMemoryStats( diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/helper.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/helper.go index da32fb11eed5..fdab200a005f 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/helper.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/helper.go @@ -156,27 +156,6 @@ func cadvisorInfoToContainerCPUAndMemoryStats(name string, info *cadvisorapiv2.C return result } -// cadvisorInfoToAcceleratorStats returns the statsapi.AcceleratorStats converted from -// the container info from cadvisor. -func cadvisorInfoToAcceleratorStats(info *cadvisorapiv2.ContainerInfo) []statsapi.AcceleratorStats { - cstat, found := latestContainerStats(info) - if !found || cstat.Accelerators == nil { - return nil - } - var result []statsapi.AcceleratorStats - for _, acc := range cstat.Accelerators { - result = append(result, statsapi.AcceleratorStats{ - Make: acc.Make, - Model: acc.Model, - ID: acc.ID, - MemoryTotal: acc.MemoryTotal, - MemoryUsed: acc.MemoryUsed, - DutyCycle: acc.DutyCycle, - }) - } - return result -} - func cadvisorInfoToProcessStats(info *cadvisorapiv2.ContainerInfo) *statsapi.ProcessStats { cstat, found := latestContainerStats(info) if !found || cstat.Processes == nil { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/provider.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/provider.go index 7c06a5509495..3e8a1d38de51 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/provider.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/stats/provider.go @@ -42,10 +42,10 @@ func NewCRIStatsProvider( runtimeService internalapi.RuntimeService, imageService internalapi.ImageManagerService, hostStatsProvider HostStatsProvider, - disableAcceleratorUsageMetrics, podAndContainerStatsFromCRI bool, + podAndContainerStatsFromCRI bool, ) *Provider { return newStatsProvider(cadvisor, podManager, runtimeCache, newCRIStatsProvider(cadvisor, resourceAnalyzer, - runtimeService, imageService, hostStatsProvider, disableAcceleratorUsageMetrics, podAndContainerStatsFromCRI)) + runtimeService, imageService, hostStatsProvider, podAndContainerStatsFromCRI)) } // NewCadvisorStatsProvider returns a containerStatsProvider that provides both diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/status/generate.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/status/generate.go index 024f1cf4bc25..9f0a40f03cd7 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/status/generate.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/status/generate.go @@ -22,6 +22,9 @@ import ( v1 "k8s.io/api/core/v1" podutil "k8s.io/kubernetes/pkg/api/v1/pod" + kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" + runtimeutil "k8s.io/kubernetes/pkg/kubelet/kuberuntime/util" + kubetypes "k8s.io/kubernetes/pkg/kubelet/types" ) const ( @@ -195,6 +198,24 @@ func GeneratePodInitializedCondition(spec *v1.PodSpec, containerStatuses []v1.Co } } +func GeneratePodHasNetworkCondition(pod *v1.Pod, podStatus *kubecontainer.PodStatus) v1.PodCondition { + newSandboxNeeded, _, _ := runtimeutil.PodSandboxChanged(pod, podStatus) + // if a new sandbox does not need to be created for a pod, it indicates that + // a sandbox for the pod with networking configured already exists. + // Otherwise, the kubelet needs to invoke the container runtime to create a + // fresh sandbox and configure networking for the sandbox. + if !newSandboxNeeded { + return v1.PodCondition{ + Type: kubetypes.PodHasNetwork, + Status: v1.ConditionTrue, + } + } + return v1.PodCondition{ + Type: kubetypes.PodHasNetwork, + Status: v1.ConditionFalse, + } +} + func generateContainersReadyConditionForTerminalPhase(podPhase v1.PodPhase) v1.PodCondition { condition := v1.PodCondition{ Type: v1.ContainersReady, diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/status/status_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/status/status_manager.go index 47036de00df6..c767e7dc41bf 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/status/status_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/status/status_manager.go @@ -483,6 +483,9 @@ func (m *manager) updateStatusInternal(pod *v1.Pod, status v1.PodStatus, forceUp // Set InitializedCondition.LastTransitionTime. updateLastTransitionTime(&status, &oldStatus, v1.PodInitialized) + // Set PodHasNetwork.LastTransitionTime. + updateLastTransitionTime(&status, &oldStatus, kubetypes.PodHasNetwork) + // Set PodScheduledCondition.LastTransitionTime. updateLastTransitionTime(&status, &oldStatus, v1.PodScheduled) @@ -681,7 +684,7 @@ func (m *manager) syncPod(uid types.UID, status versionedPodStatus) { mergedStatus := mergePodStatus(pod.Status, status.status, m.podDeletionSafety.PodCouldHaveRunningContainers(pod)) - newPod, patchBytes, unchanged, err := statusutil.PatchPodStatus(m.kubeClient, pod.Namespace, pod.Name, pod.UID, pod.Status, mergedStatus) + newPod, patchBytes, unchanged, err := statusutil.PatchPodStatus(context.TODO(), m.kubeClient, pod.Namespace, pod.Name, pod.UID, pod.Status, mergedStatus) klog.V(3).InfoS("Patch status for pod", "pod", klog.KObj(pod), "patch", string(patchBytes)) if err != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/sysctl/allowlist.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/sysctl/allowlist.go index 022da01dceed..beb1de3ba4e7 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/sysctl/allowlist.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/sysctl/allowlist.go @@ -48,7 +48,7 @@ func NewAllowlist(patterns []string) (*patternAllowlist, error) { } for _, s := range patterns { - if !policyvalidation.IsValidSysctlPattern(s, true) { + if !policyvalidation.IsValidSysctlPattern(s) { return nil, fmt.Errorf("sysctl %q must have at most %d characters and match regex %s", s, validation.SysctlMaxLength, diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/sysctl/util.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/sysctl/util.go index 09f4e75107a3..0013fb7f6882 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/sysctl/util.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/sysctl/util.go @@ -26,8 +26,9 @@ import ( // The '/' separator is also accepted in place of a '.'. // Convert the sysctl variables to dots separator format for validation. // More info: -// https://man7.org/linux/man-pages/man8/sysctl.8.html -// https://man7.org/linux/man-pages/man5/sysctl.d.5.html +// +// https://man7.org/linux/man-pages/man8/sysctl.8.html +// https://man7.org/linux/man-pages/man5/sysctl.d.5.html func convertSysctlVariableToDotsSeparator(val string) string { if val == "" { return val diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/types/constants.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/types/constants.go index 9891348362e3..14c64525364d 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/types/constants.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/types/constants.go @@ -43,3 +43,13 @@ const ( LimitedSwap = "LimitedSwap" UnlimitedSwap = "UnlimitedSwap" ) + +// Alpha conditions managed by Kubelet that are not yet part of the API. The +// entries here should be moved to staging/src/k8s.io.api/core/v1/types.go +// once the feature managing the condition graduates to Beta. +const ( + // PodHasNetwork indicates networking has been configured successfully for the + // pod and IP address(es) assigned. Images for containers specified in the pod + // spec can be pulled and containers launched after this condition is true. + PodHasNetwork = "PodHasNetwork" +) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/types/pod_status.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/types/pod_status.go index 360f7c5688b4..eb255eb8ef60 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/types/pod_status.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/types/pod_status.go @@ -18,6 +18,8 @@ package types import ( v1 "k8s.io/api/core/v1" + utilfeature "k8s.io/apiserver/pkg/util/feature" + "k8s.io/kubernetes/pkg/features" ) // PodConditionsByKubelet is the list of pod conditions owned by kubelet @@ -35,5 +37,10 @@ func PodConditionByKubelet(conditionType v1.PodConditionType) bool { return true } } + if utilfeature.DefaultFeatureGate.Enabled(features.PodHasNetworkCondition) { + if conditionType == PodHasNetwork { + return true + } + } return false } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/userns_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/userns_manager.go new file mode 100644 index 000000000000..07fb65512245 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/userns_manager.go @@ -0,0 +1,595 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package kubelet + +import ( + "encoding/json" + "fmt" + "math" + "os" + "path/filepath" + "sync" + + v1 "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/types" + "k8s.io/apimachinery/pkg/util/sets" + utilfeature "k8s.io/apiserver/pkg/util/feature" + runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1" + "k8s.io/klog/v2" + "k8s.io/kubernetes/pkg/features" + kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" + utilstore "k8s.io/kubernetes/pkg/kubelet/util/store" + utilfs "k8s.io/kubernetes/pkg/util/filesystem" +) + +// bitsDataElement is the number of bits in a bitArray.data element. +const bitsDataElement = 32 + +type bitArray struct { + data []uint32 + firstIndex int +} + +func makeBitArray(size uint32) *bitArray { + m := bitArray{ + data: make([]uint32, (size+bitsDataElement-1)/bitsDataElement), + firstIndex: 0, + } + return &m +} + +func (b *bitArray) set(index uint32) { + b.data[index/bitsDataElement] |= (uint32(1) << (index % bitsDataElement)) +} + +func (b *bitArray) isSet(index uint32) bool { + return (b.data[index/bitsDataElement]>>(index%bitsDataElement))&0x1 == 1 +} + +func (b *bitArray) findAvailable() (uint32, bool) { + for i := b.firstIndex; i < len(b.data); i++ { + // Check if all bits are used (all 1s). + if b.data[i] == math.MaxUint32 { + continue + } + for j := uint32(0); j < bitsDataElement; j++ { + if (b.data[i]>>j)&0x1 == 0 { + v := uint32(i)*bitsDataElement + j + b.set(v) + // Update firstIndex to the current + // data element since there are no other + // unset bits before the current index. + b.firstIndex = int(i) + return v, true + } + } + } + return 0, false +} + +func (b *bitArray) clear(index uint32) { + i := index / bitsDataElement + // update firstIndex if the index found is less than + // the current one. + if i < uint32(b.firstIndex) { + b.firstIndex = int(i) + } + // clear the bit by ANDing the data element with the + // complement of the bitmask to be cleared. + b.data[i] &= ^(1 << (index % bitsDataElement)) +} + +// length for the user namespace to create (65536). +const userNsLength = (1 << 16) + +// Limit the total number of pods using userns in this node to this value. +// This is an alpha limitation that will probably be lifted later. +const maxPods = 1024 + +// Create a new map when we removed enough pods to avoid memory leaks +// since Go maps never free memory. +const mapReInitializeThreshold = 1000 + +type userNsPodsManager interface { + getPodDir(podUID types.UID) string + listPodsFromDisk() ([]types.UID, error) +} + +type usernsManager struct { + used *bitArray + usedBy map[types.UID]uint32 // Map pod.UID to range used + removed int + numAllocated int + kl userNsPodsManager + // This protects all members except for kl.anager + lock sync.Mutex +} + +// UserNamespace holds the configuration for the user namespace. +type userNamespace struct { + // UIDs mappings for the user namespace. + UIDMappings []idMapping `json:"uidMappings"` + // GIDs mappings for the user namespace. + GIDMappings []idMapping `json:"gidMappings"` +} + +// Pod user namespace mapping +type idMapping struct { + // Required. + HostId uint32 `json:"hostId"` + // Required. + ContainerId uint32 `json:"containerId"` + // Required. + Length uint32 `json:"length"` +} + +// mappingsFile is the file where the user namespace mappings are persisted. +const mappingsFile = "userns" + +// writeMappingsToFile writes the specified user namespace configuration to the pod +// directory. +func (m *usernsManager) writeMappingsToFile(pod types.UID, userNs userNamespace) error { + dir := m.kl.getPodDir(pod) + + data, err := json.Marshal(userNs) + if err != nil { + return err + } + + fstore, err := utilstore.NewFileStore(dir, &utilfs.DefaultFs{}) + if err != nil { + return err + } + if err := fstore.Write(mappingsFile, data); err != nil { + return err + } + + // We need to fsync the parent dir so the file is guaranteed to be there. + // fstore guarantees an atomic write, we need durability too. + parentDir, err := os.Open(dir) + if err != nil { + return err + } + + if err = parentDir.Sync(); err != nil { + // Ignore return here, there is already an error reported. + parentDir.Close() + return err + } + + return parentDir.Close() +} + +// readMappingsFromFile reads the user namespace configuration from the pod directory. +func (m *usernsManager) readMappingsFromFile(pod types.UID) ([]byte, error) { + dir := m.kl.getPodDir(pod) + fstore, err := utilstore.NewFileStore(dir, &utilfs.DefaultFs{}) + if err != nil { + return nil, err + } + return fstore.Read(mappingsFile) +} + +func MakeUserNsManager(kl userNsPodsManager) (*usernsManager, error) { + m := usernsManager{ + // Create a bitArray for all the UID space (2^32). + // As a by product of that, no index param to bitArray can be out of bounds (index is uint32). + used: makeBitArray((math.MaxUint32 + 1) / userNsLength), + usedBy: make(map[types.UID]uint32), + kl: kl, + } + // First block is reserved for the host. + m.used.set(0) + + // Second block will be used for phase II. Don't assign that range for now. + m.used.set(1) + + // do not bother reading the list of pods if user namespaces are not enabled. + if !utilfeature.DefaultFeatureGate.Enabled(features.UserNamespacesStatelessPodsSupport) { + return &m, nil + } + + found, err := kl.listPodsFromDisk() + if err != nil { + if os.IsNotExist(err) { + return &m, nil + } + return nil, fmt.Errorf("user namespace manager can't read pods from disk: %w", err) + + } + for _, podUID := range found { + klog.V(5).InfoS("reading pod from disk for user namespace", "podUID", podUID) + if err := m.recordPodMappings(podUID); err != nil { + return nil, err + } + } + + return &m, nil +} + +// recordPodMappings registers the range used for the user namespace if the +// usernsConfFile exists in the pod directory. +func (m *usernsManager) recordPodMappings(pod types.UID) error { + content, err := m.readMappingsFromFile(pod) + if err != nil && err != utilstore.ErrKeyNotFound { + return err + } + + // If no content, it means the pod doesn't have userns. Nothing else to do + if len(content) == 0 { + return nil + } + + _, err = m.parseUserNsFileAndRecord(pod, content) + return err +} + +// isSet checks if the specified index is already set. +func (m *usernsManager) isSet(v uint32) bool { + index := v / userNsLength + return m.used.isSet(index) +} + +// allocateOne finds a free user namespace and allocate it to the specified pod. +// The first return value is the first ID in the user namespace, the second returns +// the length for the user namespace range. +func (m *usernsManager) allocateOne(pod types.UID) (firstID uint32, length uint32, err error) { + if m.numAllocated >= maxPods { + return 0, 0, fmt.Errorf("limit on count of pods with user namespaces exceeded (limit is %v, current pods with userns: %v)", maxPods, m.numAllocated) + } + m.numAllocated++ + defer func() { + if err != nil { + m.numAllocated-- + } + }() + + firstZero, found := m.used.findAvailable() + if !found { + return 0, 0, fmt.Errorf("could not find an empty slot to allocate a user namespace") + } + + klog.V(5).InfoS("new pod user namespace allocation", "podUID", pod) + + firstID = firstZero * userNsLength + m.usedBy[pod] = firstID + return firstID, userNsLength, nil +} + +// record stores the user namespace [from; from+length] to the specified pod. +func (m *usernsManager) record(pod types.UID, from, length uint32) (err error) { + if length != userNsLength { + return fmt.Errorf("wrong user namespace length %v", length) + } + if from%userNsLength != 0 { + return fmt.Errorf("wrong user namespace offset specified %v", from) + } + prevFrom, found := m.usedBy[pod] + if found && prevFrom != from { + return fmt.Errorf("different user namespace range already used by pod %q", pod) + } + index := from / userNsLength + // if the pod wasn't found then verify the range is free. + if !found && m.used.isSet(index) { + return fmt.Errorf("range picked for pod %q already taken", pod) + } + // The pod is already registered, nothing to do. + if found && prevFrom == from { + return nil + } + if m.numAllocated >= maxPods { + return fmt.Errorf("limit on count of pods with user namespaces exceeded (limit is %v, current pods with userns: %v)", maxPods, m.numAllocated) + } + m.numAllocated++ + defer func() { + if err != nil { + m.numAllocated-- + } + }() + + klog.V(5).InfoS("new pod user namespace allocation", "podUID", pod) + + // "from" is a ID (UID/GID), set the corresponding userns of size + // userNsLength in the bit-array. + m.used.set(index) + m.usedBy[pod] = from + return nil +} + +// Release releases the user namespace allocated to the specified pod. +func (m *usernsManager) Release(podUID types.UID) { + if !utilfeature.DefaultFeatureGate.Enabled(features.UserNamespacesStatelessPodsSupport) { + return + } + + m.lock.Lock() + defer m.lock.Unlock() + + m.releaseWithLock(podUID) +} + +func (m *usernsManager) releaseWithLock(pod types.UID) { + v, ok := m.usedBy[pod] + if !ok { + klog.V(5).InfoS("pod user namespace allocation not present", "podUID", pod) + return + } + delete(m.usedBy, pod) + + klog.V(5).InfoS("releasing pod user namespace allocation", "podUID", pod) + m.numAllocated-- + m.removed++ + + _ = os.Remove(filepath.Join(m.kl.getPodDir(pod), mappingsFile)) + + if m.removed%mapReInitializeThreshold == 0 { + n := make(map[types.UID]uint32) + for k, v := range m.usedBy { + n[k] = v + } + m.usedBy = n + m.removed = 0 + } + m.used.clear(v / userNsLength) +} + +func (m *usernsManager) parseUserNsFileAndRecord(pod types.UID, content []byte) (userNs userNamespace, err error) { + if err = json.Unmarshal([]byte(content), &userNs); err != nil { + err = fmt.Errorf("can't parse file: %w", err) + return + } + + if len(userNs.UIDMappings) != 1 { + err = fmt.Errorf("invalid user namespace configuration: no more than one mapping allowed.") + return + } + + if len(userNs.UIDMappings) != len(userNs.GIDMappings) { + err = fmt.Errorf("invalid user namespace configuration: GID and UID mappings should be identical.") + return + } + + if userNs.UIDMappings[0] != userNs.GIDMappings[0] { + err = fmt.Errorf("invalid user namespace configuration: GID and UID mapping should be identical") + return + } + + // We don't produce configs without root mapped and some runtimes assume it is mapped. + // Validate the file has something we produced and can digest. + if userNs.UIDMappings[0].ContainerId != 0 { + err = fmt.Errorf("invalid user namespace configuration: UID 0 must be mapped") + return + } + + if userNs.GIDMappings[0].ContainerId != 0 { + err = fmt.Errorf("invalid user namespace configuration: GID 0 must be mapped") + return + } + + hostId := userNs.UIDMappings[0].HostId + length := userNs.UIDMappings[0].Length + + err = m.record(pod, hostId, length) + return +} + +func (m *usernsManager) createUserNs(pod *v1.Pod) (userNs userNamespace, err error) { + firstID, length, err := m.allocateOne(pod.UID) + if err != nil { + return + } + + defer func() { + if err != nil { + m.releaseWithLock(pod.UID) + } + }() + + userNs = userNamespace{ + UIDMappings: []idMapping{ + { + ContainerId: 0, + HostId: firstID, + Length: length, + }, + }, + GIDMappings: []idMapping{ + { + ContainerId: 0, + HostId: firstID, + Length: length, + }, + }, + } + + return userNs, m.writeMappingsToFile(pod.UID, userNs) +} + +// GetOrCreateUserNamespaceMappings returns the configuration for the sandbox user namespace +func (m *usernsManager) GetOrCreateUserNamespaceMappings(pod *v1.Pod) (*runtimeapi.UserNamespace, error) { + if !utilfeature.DefaultFeatureGate.Enabled(features.UserNamespacesStatelessPodsSupport) { + return nil, nil + } + + m.lock.Lock() + defer m.lock.Unlock() + + if pod.Spec.HostUsers == nil || *pod.Spec.HostUsers == true { + return &runtimeapi.UserNamespace{ + Mode: runtimeapi.NamespaceMode_NODE, + }, nil + } + + content, err := m.readMappingsFromFile(pod.UID) + if err != nil && err != utilstore.ErrKeyNotFound { + return nil, err + } + + var userNs userNamespace + if string(content) != "" { + userNs, err = m.parseUserNsFileAndRecord(pod.UID, content) + if err != nil { + return nil, err + } + } else { + userNs, err = m.createUserNs(pod) + if err != nil { + return nil, err + } + } + + var uids []*runtimeapi.IDMapping + var gids []*runtimeapi.IDMapping + + for _, u := range userNs.UIDMappings { + uids = append(uids, &runtimeapi.IDMapping{ + HostId: u.HostId, + ContainerId: u.ContainerId, + Length: u.Length, + }) + } + for _, g := range userNs.GIDMappings { + gids = append(gids, &runtimeapi.IDMapping{ + HostId: g.HostId, + ContainerId: g.ContainerId, + Length: g.Length, + }) + } + + return &runtimeapi.UserNamespace{ + Mode: runtimeapi.NamespaceMode_POD, + Uids: uids, + Gids: gids, + }, nil +} + +// CleanupOrphanedPodUsernsAllocations reconciliates the state of user namespace +// allocations with the pods actually running. It frees any user namespace +// allocation for orphaned pods. +func (m *usernsManager) CleanupOrphanedPodUsernsAllocations(pods []*v1.Pod, runningPods []*kubecontainer.Pod) error { + if !utilfeature.DefaultFeatureGate.Enabled(features.UserNamespacesStatelessPodsSupport) { + return nil + } + + m.lock.Lock() + defer m.lock.Unlock() + + allPods := sets.NewString() + for _, pod := range pods { + allPods.Insert(string(pod.UID)) + } + for _, pod := range runningPods { + allPods.Insert(string(pod.ID)) + } + + allFound := sets.NewString() + found, err := m.kl.listPodsFromDisk() + if err != nil { + return err + } + + for _, podUID := range found { + allFound.Insert(string(podUID)) + } + + // Lets remove all the pods "found" that are not known. + for _, podUID := range found { + if allPods.Has(string(podUID)) { + continue + } + + klog.V(5).InfoS("Clean up orphaned pod user namespace possible allocation", "podUID", podUID) + m.releaseWithLock(podUID) + } + + // Lets remove any existing allocation for a pod that is not "found". + for podUID := range m.usedBy { + if allFound.Has(string(podUID)) { + continue + } + + klog.V(5).InfoS("Clean up orphaned pod user namespace possible allocation", "podUID", podUID) + m.releaseWithLock(podUID) + } + + return nil +} + +// getHostIDsForPod if the pod uses user namespaces, takes the uid and gid +// inside the container and returns the host UID and GID those are mapped to on +// the host. If containerUID/containerGID is nil, then it returns the host +// UID/GID for ID 0 inside the container. +// If the pod is not using user namespaces, as there is no mapping needed, the +// same containerUID and containerGID params are returned. +func (m *usernsManager) getHostIDsForPod(pod *v1.Pod, containerUID, containerGID *int64) (hostUID, hostGID *int64, err error) { + if !utilfeature.DefaultFeatureGate.Enabled(features.UserNamespacesStatelessPodsSupport) { + return containerUID, containerGID, nil + } + + if pod == nil || pod.Spec.HostUsers == nil || *pod.Spec.HostUsers == true { + return containerUID, containerGID, nil + } + + mapping, err := m.GetOrCreateUserNamespaceMappings(pod) + if err != nil { + err = fmt.Errorf("Error getting pod user namespace mapping: %w", err) + return + } + + uid, err := hostIDFromMapping(mapping.Uids, containerUID) + if err != nil { + err = fmt.Errorf("Error getting host UID: %w", err) + return + } + + gid, err := hostIDFromMapping(mapping.Gids, containerGID) + if err != nil { + err = fmt.Errorf("Error getting host GID: %w", err) + return + } + + return &uid, &gid, nil +} + +func hostIDFromMapping(mapping []*runtimeapi.IDMapping, containerId *int64) (int64, error) { + if len(mapping) == 0 { + return 0, fmt.Errorf("can't use empty user namespace mapping") + } + + // If none is requested, root inside the container is used + id := int64(0) + if containerId != nil { + id = *containerId + } + + for _, m := range mapping { + if m == nil { + continue + } + + firstId := int64(m.ContainerId) + lastId := firstId + int64(m.Length) - 1 + + // The id we are looking for is in the range + if id >= firstId && id <= lastId { + // Return the host id for this container id + return int64(m.HostId) + id - firstId, nil + } + } + + return 0, fmt.Errorf("ID: %v not present in pod user namespace", id) +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/util/manager/cache_based_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/util/manager/cache_based_manager.go index a255f3644429..22531a28780b 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/util/manager/cache_based_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/util/manager/cache_based_manager.go @@ -260,11 +260,11 @@ func (c *cacheBasedManager) UnregisterPod(pod *v1.Pod) { // NewCacheBasedManager creates a manager that keeps a cache of all objects // necessary for registered pods. // It implements the following logic: -// - whenever a pod is created or updated, the cached versions of all objects -// is referencing are invalidated -// - every GetObject() call tries to fetch the value from local cache; if it is -// not there, invalidated or too old, we fetch it from apiserver and refresh the -// value in cache; otherwise it is just fetched from cache +// - whenever a pod is created or updated, the cached versions of all objects +// is referencing are invalidated +// - every GetObject() call tries to fetch the value from local cache; if it is +// not there, invalidated or too old, we fetch it from apiserver and refresh the +// value in cache; otherwise it is just fetched from cache func NewCacheBasedManager(objectStore Store, getReferencedObjects func(*v1.Pod) sets.String) Manager { return &cacheBasedManager{ objectStore: objectStore, diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/util/manager/watch_based_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/util/manager/watch_based_manager.go index 785f01be256f..e3a1d7e29d81 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/util/manager/watch_based_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/util/manager/watch_based_manager.go @@ -369,9 +369,9 @@ func (c *objectCache) shutdownWhenStopped(stopCh <-chan struct{}) { // NewWatchBasedManager creates a manager that keeps a cache of all objects // necessary for registered pods. // It implements the following logic: -// - whenever a pod is created or updated, we start individual watches for all -// referenced objects that aren't referenced from other registered pods -// - every GetObject() returns a value from local cache propagated via watches +// - whenever a pod is created or updated, we start individual watches for all +// referenced objects that aren't referenced from other registered pods +// - every GetObject() returns a value from local cache propagated via watches func NewWatchBasedManager( listObject listObjectFunc, watchObject watchObjectFunc, diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volume_host.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volume_host.go index fe880506b2b8..9c771c086350 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volume_host.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volume_host.go @@ -128,6 +128,16 @@ func (kvh *kubeletVolumeHost) GetPodsDir() string { return kvh.kubelet.getPodsDir() } +// GetHostIDsForPod if the pod uses user namespaces, takes the uid and gid +// inside the container and returns the host UID and GID those are mapped to on +// the host. If containerUID/containerGID is nil, then it returns the host +// UID/GID for ID 0 inside the container. +// If the pod is not using user namespaces, as there is no mapping needed, the +// same containerUID and containerGID params are returned. +func (kvh *kubeletVolumeHost) GetHostIDsForPod(pod *v1.Pod, containerUID, containerGID *int64) (hostUID, hostGID *int64, err error) { + return kvh.kubelet.getHostIDsForPod(pod, containerUID, containerGID) +} + func (kvh *kubeletVolumeHost) GetPodVolumeDir(podUID types.UID, pluginName string, volumeName string) string { dir := kvh.kubelet.getPodVolumeDir(podUID, pluginName, volumeName) if runtime.GOOS == "windows" { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/cache/actual_state_of_world.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/cache/actual_state_of_world.go index 7deb6df910dc..e23dc4dad7d5 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/cache/actual_state_of_world.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/cache/actual_state_of_world.go @@ -27,7 +27,9 @@ import ( v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" "k8s.io/apimachinery/pkg/types" + utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/klog/v2" + "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/volume" "k8s.io/kubernetes/pkg/volume/util" "k8s.io/kubernetes/pkg/volume/util/operationexecutor" @@ -73,7 +75,7 @@ type ActualStateOfWorld interface { // global mount point prior to detach. // If a volume with the name volumeName does not exist in the list of // attached volumes, an error is returned. - SetDeviceMountState(volumeName v1.UniqueVolumeName, deviceMountState operationexecutor.DeviceMountState, devicePath, deviceMountPath string) error + SetDeviceMountState(volumeName v1.UniqueVolumeName, deviceMountState operationexecutor.DeviceMountState, devicePath, deviceMountPath, seLinuxMountContext string) error // DeletePodFromVolume removes the given pod from the given volume in the // cache indicating the volume has been successfully unmounted from the pod. @@ -107,7 +109,7 @@ type ActualStateOfWorld interface { // volumes, depend on this to update the contents of the volume. // All volume mounting calls should be idempotent so a second mount call for // volumes that do not need to update contents should not fail. - PodExistsInVolume(podName volumetypes.UniquePodName, volumeName v1.UniqueVolumeName, desiredVolumeSize resource.Quantity) (bool, string, error) + PodExistsInVolume(podName volumetypes.UniquePodName, volumeName v1.UniqueVolumeName, desiredVolumeSize resource.Quantity, seLinuxLabel string) (bool, string, error) // PodRemovedFromVolume returns true if the given pod does not exist in the list of // mountedPods for the given volume in the cache, indicating that the pod has @@ -182,6 +184,11 @@ type AttachedVolume struct { // DeviceMountState indicates if device has been globally mounted or is not. DeviceMountState operationexecutor.DeviceMountState + + // SELinuxMountContext is the context with that the volume is globally mounted + // (via -o context=XYZ mount option). If empty, the volume is not mounted with + // "-o context=". + SELinuxMountContext string } // DeviceMayBeMounted returns true if device is mounted in global path or is in @@ -196,9 +203,10 @@ func NewActualStateOfWorld( nodeName types.NodeName, volumePluginMgr *volume.VolumePluginMgr) ActualStateOfWorld { return &actualStateOfWorld{ - nodeName: nodeName, - attachedVolumes: make(map[v1.UniqueVolumeName]attachedVolume), - volumePluginMgr: volumePluginMgr, + nodeName: nodeName, + attachedVolumes: make(map[v1.UniqueVolumeName]attachedVolume), + foundDuringReconstruction: make(map[v1.UniqueVolumeName]map[volumetypes.UniquePodName]types.UID), + volumePluginMgr: volumePluginMgr, } } @@ -227,6 +235,9 @@ type actualStateOfWorld struct { // The key in this map is the name of the volume and the value is an object // containing more information about the attached volume. attachedVolumes map[v1.UniqueVolumeName]attachedVolume + // foundDuringReconstruction is a map of volumes which were discovered + // from kubelet root directory when kubelet was restarted. + foundDuringReconstruction map[v1.UniqueVolumeName]map[volumetypes.UniquePodName]types.UID // volumePluginMgr is the volume plugin manager used to create volume // plugin objects. @@ -284,6 +295,11 @@ type attachedVolume struct { // persistentVolumeSize records size of the volume when pod was started or // size after successful completion of volume expansion operation. persistentVolumeSize *resource.Quantity + + // seLinuxMountContext is the context with that the volume is mounted to global directory + // (via -o context=XYZ mount option). If nil, the volume is not mounted. If "", the volume is + // mounted without "-o context=". + seLinuxMountContext *string } // The mountedPod object represents a pod for which the kubelet volume manager @@ -329,6 +345,11 @@ type mountedPod struct { // - VolumeMounted: means volume for pod has been successfully mounted // - VolumeMountUncertain: means volume for pod may not be mounted, but it must be unmounted volumeMountStateForPod operationexecutor.VolumeMountState + + // seLinuxMountContext is the context with that the volume is mounted to Pod directory + // (via -o context=XYZ mount option). If nil, the volume is not mounted. If "", the volume is + // mounted without "-o context=". + seLinuxMountContext string } func (asw *actualStateOfWorld) MarkVolumeAsAttached( @@ -346,6 +367,102 @@ func (asw *actualStateOfWorld) MarkVolumeAsDetached( asw.DeleteVolume(volumeName) } +func (asw *actualStateOfWorld) IsVolumeReconstructed(volumeName v1.UniqueVolumeName, podName volumetypes.UniquePodName) bool { + volumeState := asw.GetVolumeMountState(volumeName, podName) + + // only uncertain volumes are reconstructed + if volumeState != operationexecutor.VolumeMountUncertain { + return false + } + + asw.RLock() + defer asw.RUnlock() + podMap, ok := asw.foundDuringReconstruction[volumeName] + if !ok { + return false + } + _, foundPod := podMap[podName] + return foundPod +} + +func (asw *actualStateOfWorld) CheckAndMarkVolumeAsUncertainViaReconstruction(opts operationexecutor.MarkVolumeOpts) (bool, error) { + asw.Lock() + defer asw.Unlock() + + volumeObj, volumeExists := asw.attachedVolumes[opts.VolumeName] + if !volumeExists { + return false, nil + } + + podObj, podExists := volumeObj.mountedPods[opts.PodName] + if podExists { + // if volume mount was uncertain we should keep trying to unmount the volume + if podObj.volumeMountStateForPod == operationexecutor.VolumeMountUncertain { + return false, nil + } + if podObj.volumeMountStateForPod == operationexecutor.VolumeMounted { + return false, nil + } + } + + podName := opts.PodName + podUID := opts.PodUID + volumeName := opts.VolumeName + mounter := opts.Mounter + blockVolumeMapper := opts.BlockVolumeMapper + outerVolumeSpecName := opts.OuterVolumeSpecName + volumeGidValue := opts.VolumeGidVolume + volumeSpec := opts.VolumeSpec + + podObj = mountedPod{ + podName: podName, + podUID: podUID, + mounter: mounter, + blockVolumeMapper: blockVolumeMapper, + outerVolumeSpecName: outerVolumeSpecName, + volumeGidValue: volumeGidValue, + volumeSpec: volumeSpec, + remountRequired: false, + volumeMountStateForPod: operationexecutor.VolumeMountUncertain, + } + + if mounter != nil { + // The mounter stored in the object may have old information, + // use the newest one. + podObj.mounter = mounter + } + + asw.attachedVolumes[volumeName].mountedPods[podName] = podObj + + podMap, ok := asw.foundDuringReconstruction[opts.VolumeName] + if !ok { + podMap = map[volumetypes.UniquePodName]types.UID{} + } + podMap[opts.PodName] = opts.PodUID + asw.foundDuringReconstruction[opts.VolumeName] = podMap + return true, nil +} + +func (asw *actualStateOfWorld) CheckAndMarkDeviceUncertainViaReconstruction(volumeName v1.UniqueVolumeName, deviceMountPath string) bool { + asw.Lock() + defer asw.Unlock() + + volumeObj, volumeExists := asw.attachedVolumes[volumeName] + // CheckAndMarkDeviceUncertainViaReconstruction requires volume to be marked as attached, so if + // volume does not exist in ASOW or is in any state other than DeviceNotMounted we should return + if !volumeExists || volumeObj.deviceMountState != operationexecutor.DeviceNotMounted { + return false + } + + volumeObj.deviceMountState = operationexecutor.DeviceMountUncertain + // we are only changing deviceMountPath because devicePath at at this stage is + // determined from node object. + volumeObj.deviceMountPath = deviceMountPath + asw.attachedVolumes[volumeName] = volumeObj + return true + +} + func (asw *actualStateOfWorld) MarkVolumeAsMounted(markVolumeOpts operationexecutor.MarkVolumeOpts) error { return asw.AddPodToVolume(markVolumeOpts) } @@ -365,13 +482,13 @@ func (asw *actualStateOfWorld) MarkVolumeAsUnmounted( } func (asw *actualStateOfWorld) MarkDeviceAsMounted( - volumeName v1.UniqueVolumeName, devicePath, deviceMountPath string) error { - return asw.SetDeviceMountState(volumeName, operationexecutor.DeviceGloballyMounted, devicePath, deviceMountPath) + volumeName v1.UniqueVolumeName, devicePath, deviceMountPath, seLinuxMountContext string) error { + return asw.SetDeviceMountState(volumeName, operationexecutor.DeviceGloballyMounted, devicePath, deviceMountPath, seLinuxMountContext) } func (asw *actualStateOfWorld) MarkDeviceAsUncertain( - volumeName v1.UniqueVolumeName, devicePath, deviceMountPath string) error { - return asw.SetDeviceMountState(volumeName, operationexecutor.DeviceMountUncertain, devicePath, deviceMountPath) + volumeName v1.UniqueVolumeName, devicePath, deviceMountPath, seLinuxMountContext string) error { + return asw.SetDeviceMountState(volumeName, operationexecutor.DeviceMountUncertain, devicePath, deviceMountPath, seLinuxMountContext) } func (asw *actualStateOfWorld) MarkVolumeMountAsUncertain(markVolumeOpts operationexecutor.MarkVolumeOpts) error { @@ -381,7 +498,7 @@ func (asw *actualStateOfWorld) MarkVolumeMountAsUncertain(markVolumeOpts operati func (asw *actualStateOfWorld) MarkDeviceAsUnmounted( volumeName v1.UniqueVolumeName) error { - return asw.SetDeviceMountState(volumeName, operationexecutor.DeviceNotMounted, "", "") + return asw.SetDeviceMountState(volumeName, operationexecutor.DeviceNotMounted, "", "", "") } func (asw *actualStateOfWorld) GetDeviceMountState(volumeName v1.UniqueVolumeName) operationexecutor.DeviceMountState { @@ -529,18 +646,33 @@ func (asw *actualStateOfWorld) AddPodToVolume(markVolumeOpts operationexecutor.M volumeGidValue: volumeGidValue, volumeSpec: volumeSpec, volumeMountStateForPod: markVolumeOpts.VolumeMountState, + seLinuxMountContext: markVolumeOpts.SELinuxMountContext, } } // If pod exists, reset remountRequired value podObj.remountRequired = false podObj.volumeMountStateForPod = markVolumeOpts.VolumeMountState + + // if volume is mounted successfully, then it should be removed from foundDuringReconstruction map + if markVolumeOpts.VolumeMountState == operationexecutor.VolumeMounted { + delete(asw.foundDuringReconstruction[volumeName], podName) + } if mounter != nil { // The mounter stored in the object may have old information, // use the newest one. podObj.mounter = mounter } asw.attachedVolumes[volumeName].mountedPods[podName] = podObj + if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { + // Store the mount context also in the AttachedVolume to have a global volume context + // for a quick comparison in PodExistsInVolume. + if volumeObj.seLinuxMountContext == nil { + volumeObj.seLinuxMountContext = &markVolumeOpts.SELinuxMountContext + asw.attachedVolumes[volumeName] = volumeObj + } + } + return nil } @@ -580,7 +712,7 @@ func (asw *actualStateOfWorld) MarkRemountRequired( } func (asw *actualStateOfWorld) SetDeviceMountState( - volumeName v1.UniqueVolumeName, deviceMountState operationexecutor.DeviceMountState, devicePath, deviceMountPath string) error { + volumeName v1.UniqueVolumeName, deviceMountState operationexecutor.DeviceMountState, devicePath, deviceMountPath, seLinuxMountContext string) error { asw.Lock() defer asw.Unlock() @@ -596,6 +728,11 @@ func (asw *actualStateOfWorld) SetDeviceMountState( if devicePath != "" { volumeObj.devicePath = devicePath } + if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { + if seLinuxMountContext != "" { + volumeObj.seLinuxMountContext = &seLinuxMountContext + } + } asw.attachedVolumes[volumeName] = volumeObj return nil } @@ -641,6 +778,12 @@ func (asw *actualStateOfWorld) DeletePodFromVolume( delete(asw.attachedVolumes[volumeName].mountedPods, podName) } + // if there were reconstructed volumes, we should remove them + _, podExists = asw.foundDuringReconstruction[volumeName] + if podExists { + delete(asw.foundDuringReconstruction[volumeName], podName) + } + return nil } @@ -661,10 +804,11 @@ func (asw *actualStateOfWorld) DeleteVolume(volumeName v1.UniqueVolumeName) erro } delete(asw.attachedVolumes, volumeName) + delete(asw.foundDuringReconstruction, volumeName) return nil } -func (asw *actualStateOfWorld) PodExistsInVolume(podName volumetypes.UniquePodName, volumeName v1.UniqueVolumeName, desiredVolumeSize resource.Quantity) (bool, string, error) { +func (asw *actualStateOfWorld) PodExistsInVolume(podName volumetypes.UniquePodName, volumeName v1.UniqueVolumeName, desiredVolumeSize resource.Quantity, seLinuxLabel string) (bool, string, error) { asw.RLock() defer asw.RUnlock() @@ -673,6 +817,18 @@ func (asw *actualStateOfWorld) PodExistsInVolume(podName volumetypes.UniquePodNa return false, "", newVolumeNotAttachedError(volumeName) } + if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { + if volumeObj.seLinuxMountContext != nil { + // The volume is mounted, check its SELinux context mount option + if *volumeObj.seLinuxMountContext != seLinuxLabel { + fullErr := newSELinuxMountMismatchError(volumeName) + if util.VolumeSupportsSELinuxMount(volumeObj.spec) { + return false, volumeObj.devicePath, fullErr + } + } + } + } + podObj, podExists := volumeObj.mountedPods[podName] if podExists { // if volume mount was uncertain we should keep trying to mount the volume @@ -739,7 +895,6 @@ func (asw *actualStateOfWorld) PodRemovedFromVolume( return false } } - return true } @@ -794,7 +949,6 @@ func (asw *actualStateOfWorld) GetAllMountedVolumes() []MountedVolume { mountedVolume, getMountedVolume(&podObj, &volumeObj)) } - } } @@ -899,16 +1053,24 @@ func (asw *actualStateOfWorld) SyncReconstructedVolume(volumeName v1.UniqueVolum func (asw *actualStateOfWorld) newAttachedVolume( attachedVolume *attachedVolume) AttachedVolume { + seLinuxMountContext := "" + if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { + if attachedVolume.seLinuxMountContext != nil { + seLinuxMountContext = *attachedVolume.seLinuxMountContext + } + } return AttachedVolume{ AttachedVolume: operationexecutor.AttachedVolume{ - VolumeName: attachedVolume.volumeName, - VolumeSpec: attachedVolume.spec, - NodeName: asw.nodeName, - PluginIsAttachable: attachedVolume.pluginIsAttachable, - DevicePath: attachedVolume.devicePath, - DeviceMountPath: attachedVolume.deviceMountPath, - PluginName: attachedVolume.pluginName}, - DeviceMountState: attachedVolume.deviceMountState, + VolumeName: attachedVolume.volumeName, + VolumeSpec: attachedVolume.spec, + NodeName: asw.nodeName, + PluginIsAttachable: attachedVolume.pluginIsAttachable, + DevicePath: attachedVolume.devicePath, + DeviceMountPath: attachedVolume.deviceMountPath, + PluginName: attachedVolume.pluginName, + SELinuxMountContext: seLinuxMountContext}, + DeviceMountState: attachedVolume.deviceMountState, + SELinuxMountContext: seLinuxMountContext, } } @@ -994,6 +1156,10 @@ func IsFSResizeRequiredError(err error) bool { // mountedPod and attachedVolume objects. func getMountedVolume( mountedPod *mountedPod, attachedVolume *attachedVolume) MountedVolume { + seLinuxMountContext := "" + if attachedVolume.seLinuxMountContext != nil { + seLinuxMountContext = *attachedVolume.seLinuxMountContext + } return MountedVolume{ MountedVolume: operationexecutor.MountedVolume{ PodName: mountedPod.podName, @@ -1006,5 +1172,32 @@ func getMountedVolume( BlockVolumeMapper: mountedPod.blockVolumeMapper, VolumeGidValue: mountedPod.volumeGidValue, VolumeSpec: mountedPod.volumeSpec, - DeviceMountPath: attachedVolume.deviceMountPath}} + DeviceMountPath: attachedVolume.deviceMountPath, + SELinuxMountContext: seLinuxMountContext}} + +} + +// seLinuxMountMismatchError is an error returned when PodExistsInVolume() found +// a volume mounted with a different SELinux label than expected. +type seLinuxMountMismatchError struct { + volumeName v1.UniqueVolumeName +} + +func (err seLinuxMountMismatchError) Error() string { + return fmt.Sprintf( + "volumeName %q is already mounted to a different pod with a different SELinux label", + err.volumeName) +} + +func newSELinuxMountMismatchError(volumeName v1.UniqueVolumeName) error { + return seLinuxMountMismatchError{ + volumeName: volumeName, + } +} + +// IsSELinuxMountMismatchError returns true if the specified error is a +// seLinuxMountMismatchError. +func IsSELinuxMountMismatchError(err error) bool { + _, ok := err.(seLinuxMountMismatchError) + return ok } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/cache/desired_state_of_wold_selinux_metrics.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/cache/desired_state_of_wold_selinux_metrics.go new file mode 100644 index 000000000000..16727d025917 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/cache/desired_state_of_wold_selinux_metrics.go @@ -0,0 +1,84 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package cache + +import ( + "sync" + + compbasemetrics "k8s.io/component-base/metrics" + "k8s.io/component-base/metrics/legacyregistry" +) + +var ( + // TODO: add plugin name + access mode labels to all these metrics + seLinuxContainerContextErrors = compbasemetrics.NewGauge( + &compbasemetrics.GaugeOpts{ + Name: "volume_manager_selinux_container_errors_total", + Help: "Number of errors when kubelet cannot compute SELinux context for a container. Kubelet can't start such a Pod then and it will retry, therefore value of this metric may not represent the actual nr. of containers.", + StabilityLevel: compbasemetrics.ALPHA, + }) + seLinuxContainerContextWarnings = compbasemetrics.NewGauge( + &compbasemetrics.GaugeOpts{ + Name: "volume_manager_selinux_container_warnings_total", + StabilityLevel: compbasemetrics.ALPHA, + Help: "Number of errors when kubelet cannot compute SELinux context for a container that are ignored. They will become real errors when SELinuxMountReadWriteOncePod feature is expanded to all volume access modes.", + }) + seLinuxPodContextMismatchErrors = compbasemetrics.NewGauge( + &compbasemetrics.GaugeOpts{ + Name: "volume_manager_selinux_pod_context_mismatch_errors_total", + Help: "Number of errors when a Pod defines different SELinux contexts for its containers that use the same volume. Kubelet can't start such a Pod then and it will retry, therefore value of this metric may not represent the actual nr. of Pods.", + StabilityLevel: compbasemetrics.ALPHA, + }) + seLinuxPodContextMismatchWarnings = compbasemetrics.NewGauge( + &compbasemetrics.GaugeOpts{ + Name: "volume_manager_selinux_pod_context_mismatch_warnings_total", + Help: "Number of errors when a Pod defines different SELinux contexts for its containers that use the same volume. They are not errors yet, but they will become real errors when SELinuxMountReadWriteOncePod feature is expanded to all volume access modes.", + StabilityLevel: compbasemetrics.ALPHA, + }) + seLinuxVolumeContextMismatchErrors = compbasemetrics.NewGauge( + &compbasemetrics.GaugeOpts{ + Name: "volume_manager_selinux_volume_context_mismatch_errors_total", + Help: "Number of errors when a Pod uses a volume that is already mounted with a different SELinux context than the Pod needs. Kubelet can't start such a Pod then and it will retry, therefore value of this metric may not represent the actual nr. of Pods.", + StabilityLevel: compbasemetrics.ALPHA, + }) + seLinuxVolumeContextMismatchWarnings = compbasemetrics.NewGauge( + &compbasemetrics.GaugeOpts{ + Name: "volume_manager_selinux_volume_context_mismatch_warnings_total", + Help: "Number of errors when a Pod uses a volume that is already mounted with a different SELinux context than the Pod needs. They are not errors yet, but they will become real errors when SELinuxMountReadWriteOncePod feature is expanded to all volume access modes.", + StabilityLevel: compbasemetrics.ALPHA, + }) + seLinuxVolumesAdmitted = compbasemetrics.NewGauge( + &compbasemetrics.GaugeOpts{ + Name: "volume_manager_selinux_volumes_admitted_total", + Help: "Number of volumes whose SELinux context was fine and will be mounted with mount -o context option.", + StabilityLevel: compbasemetrics.ALPHA, + }) + + registerMetrics sync.Once +) + +func registerSELinuxMetrics() { + registerMetrics.Do(func() { + legacyregistry.MustRegister(seLinuxContainerContextErrors) + legacyregistry.MustRegister(seLinuxContainerContextWarnings) + legacyregistry.MustRegister(seLinuxPodContextMismatchErrors) + legacyregistry.MustRegister(seLinuxPodContextMismatchWarnings) + legacyregistry.MustRegister(seLinuxVolumeContextMismatchErrors) + legacyregistry.MustRegister(seLinuxVolumeContextMismatchWarnings) + legacyregistry.MustRegister(seLinuxVolumesAdmitted) + }) +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/cache/desired_state_of_world.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/cache/desired_state_of_world.go index 0a999833a5e4..31e9d6212531 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/cache/desired_state_of_world.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/cache/desired_state_of_world.go @@ -28,7 +28,11 @@ import ( v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" "k8s.io/apimachinery/pkg/util/sets" + "k8s.io/apiserver/pkg/util/feature" + "k8s.io/component-base/metrics" + "k8s.io/klog/v2" apiv1resource "k8s.io/kubernetes/pkg/api/v1/resource" + "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/volume" "k8s.io/kubernetes/pkg/volume/util" "k8s.io/kubernetes/pkg/volume/util/operationexecutor" @@ -55,7 +59,7 @@ type DesiredStateOfWorld interface { // added. // If a pod with the same unique name already exists under the specified // volume, this is a no-op. - AddPodToVolume(podName types.UniquePodName, pod *v1.Pod, volumeSpec *volume.Spec, outerVolumeSpecName string, volumeGidValue string) (v1.UniqueVolumeName, error) + AddPodToVolume(podName types.UniquePodName, pod *v1.Pod, volumeSpec *volume.Spec, outerVolumeSpecName string, volumeGidValue string, seLinuxContainerContexts []*v1.SELinuxOptions) (v1.UniqueVolumeName, error) // MarkVolumesReportedInUse sets the ReportedInUse value to true for the // reportedVolumes. For volumes not in the reportedVolumes list, the @@ -83,7 +87,7 @@ type DesiredStateOfWorld interface { // volumes that should be attached to this node. // If a pod with the same unique name does not exist under the specified // volume, false is returned. - VolumeExists(volumeName v1.UniqueVolumeName) bool + VolumeExists(volumeName v1.UniqueVolumeName, seLinuxMountContext string) bool // PodExistsInVolume returns true if the given pod exists in the list of // podsToMount for the given volume in the cache. @@ -91,7 +95,7 @@ type DesiredStateOfWorld interface { // volume, false is returned. // If a volume with the name volumeName does not exist in the list of // attached volumes, false is returned. - PodExistsInVolume(podName types.UniquePodName, volumeName v1.UniqueVolumeName) bool + PodExistsInVolume(podName types.UniquePodName, volumeName v1.UniqueVolumeName, seLinuxMountContext string) bool // GetVolumesToMount generates and returns a list of volumes that should be // attached to this node and the pods they should be mounted to based on the @@ -138,11 +142,15 @@ type VolumeToMount struct { } // NewDesiredStateOfWorld returns a new instance of DesiredStateOfWorld. -func NewDesiredStateOfWorld(volumePluginMgr *volume.VolumePluginMgr) DesiredStateOfWorld { +func NewDesiredStateOfWorld(volumePluginMgr *volume.VolumePluginMgr, seLinuxTranslator util.SELinuxLabelTranslator) DesiredStateOfWorld { + if feature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { + registerSELinuxMetrics() + } return &desiredStateOfWorld{ - volumesToMount: make(map[v1.UniqueVolumeName]volumeToMount), - volumePluginMgr: volumePluginMgr, - podErrors: make(map[types.UniquePodName]sets.String), + volumesToMount: make(map[v1.UniqueVolumeName]volumeToMount), + volumePluginMgr: volumePluginMgr, + podErrors: make(map[types.UniquePodName]sets.String), + seLinuxTranslator: seLinuxTranslator, } } @@ -157,6 +165,8 @@ type desiredStateOfWorld struct { volumePluginMgr *volume.VolumePluginMgr // podErrors are errors caught by desiredStateOfWorldPopulator about volumes for a given pod. podErrors map[types.UniquePodName]sets.String + // seLinuxTranslator translates v1.SELinuxOptions to a file SELinux label. + seLinuxTranslator util.SELinuxLabelTranslator sync.RWMutex } @@ -195,6 +205,13 @@ type volumeToMount struct { // persistentVolumeSize records desired size of a persistent volume. // Usually this value reflects size recorded in pv.Spec.Capacity persistentVolumeSize *resource.Quantity + + // seLinuxFileLabel is desired SELinux label on files on the volume. If empty, then + // - either the context+label is unknown (assigned randomly by the container runtime) + // - or the volume plugin responsible for this volume does not support mounting with -o context + // - or the OS does not support SELinux + // In all cases, the SELinux context does not matter when mounting the volume. + seLinuxFileLabel string } // The pod object represents a pod that references the underlying volume and @@ -232,7 +249,8 @@ func (dsw *desiredStateOfWorld) AddPodToVolume( pod *v1.Pod, volumeSpec *volume.Spec, outerVolumeSpecName string, - volumeGidValue string) (v1.UniqueVolumeName, error) { + volumeGidValue string, + seLinuxContainerContexts []*v1.SELinuxOptions) (v1.UniqueVolumeName, error) { dsw.Lock() defer dsw.Unlock() @@ -268,7 +286,13 @@ func (dsw *desiredStateOfWorld) AddPodToVolume( volumeName = util.GetUniqueVolumeNameFromSpecWithPod(podName, volumePlugin, volumeSpec) } - if _, volumeExists := dsw.volumesToMount[volumeName]; !volumeExists { + seLinuxFileLabel, pluginSupportsSELinuxContextMount, err := dsw.getSELinuxLabel(volumeSpec, seLinuxContainerContexts) + if err != nil { + return "", err + } + klog.V(4).InfoS("volume final SELinux label decided", "volume", volumeSpec.Name(), "label", seLinuxFileLabel) + + if vol, volumeExists := dsw.volumesToMount[volumeName]; !volumeExists { var sizeLimit *resource.Quantity if volumeSpec.Volume != nil { if util.IsLocalEphemeralVolume(*volumeSpec.Volume) { @@ -283,6 +307,13 @@ func (dsw *desiredStateOfWorld) AddPodToVolume( } } } + if !util.VolumeSupportsSELinuxMount(volumeSpec) { + // Clear SELinux label for the volume with unsupported access modes. + seLinuxFileLabel = "" + } + if seLinuxFileLabel != "" { + seLinuxVolumesAdmitted.Add(1.0) + } vmt := volumeToMount{ volumeName: volumeName, podsToMount: make(map[types.UniquePodName]podToMount), @@ -291,6 +322,7 @@ func (dsw *desiredStateOfWorld) AddPodToVolume( volumeGidValue: volumeGidValue, reportedInUse: false, desiredSizeLimit: sizeLimit, + seLinuxFileLabel: seLinuxFileLabel, } // record desired size of the volume if volumeSpec.PersistentVolume != nil { @@ -300,9 +332,25 @@ func (dsw *desiredStateOfWorld) AddPodToVolume( vmt.persistentVolumeSize = &pvCapCopy } } - dsw.volumesToMount[volumeName] = vmt + } else { + // volume exists + if pluginSupportsSELinuxContextMount { + if seLinuxFileLabel != vol.seLinuxFileLabel { + // TODO: update the error message after tests, e.g. add at least the conflicting pod names. + fullErr := fmt.Errorf("conflicting SELinux labels of volume %s: %q and %q", volumeSpec.Name(), vol.seLinuxFileLabel, seLinuxFileLabel) + supported := util.VolumeSupportsSELinuxMount(volumeSpec) + if err := handleSELinuxMetricError(fullErr, supported, seLinuxVolumeContextMismatchWarnings, seLinuxVolumeContextMismatchErrors); err != nil { + return "", err + } + } else { + if seLinuxFileLabel != "" { + seLinuxVolumesAdmitted.Add(1.0) + } + } + } } + oldPodMount, ok := dsw.volumesToMount[volumeName].podsToMount[podName] mountRequestTime := time.Now() if ok && !volumePlugin.RequiresRemount(volumeSpec) { @@ -322,6 +370,54 @@ func (dsw *desiredStateOfWorld) AddPodToVolume( return volumeName, nil } +func (dsw *desiredStateOfWorld) getSELinuxLabel(volumeSpec *volume.Spec, seLinuxContainerContexts []*v1.SELinuxOptions) (string, bool, error) { + var seLinuxFileLabel string + var pluginSupportsSELinuxContextMount bool + + if feature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { + var err error + + if !dsw.seLinuxTranslator.SELinuxEnabled() { + return "", false, nil + } + + pluginSupportsSELinuxContextMount, err = dsw.getSELinuxMountSupport(volumeSpec) + if err != nil { + return "", false, err + } + seLinuxSupported := util.VolumeSupportsSELinuxMount(volumeSpec) + if pluginSupportsSELinuxContextMount { + // Ensure that a volume that can be mounted with "-o context=XYZ" is + // used only by containers with the same SELinux contexts. + for _, containerContext := range seLinuxContainerContexts { + newLabel, err := dsw.seLinuxTranslator.SELinuxOptionsToFileLabel(containerContext) + if err != nil { + fullErr := fmt.Errorf("failed to construct SELinux label from context %q: %s", containerContext, err) + if err := handleSELinuxMetricError(fullErr, seLinuxSupported, seLinuxContainerContextWarnings, seLinuxContainerContextErrors); err != nil { + return "", false, err + } + } + if seLinuxFileLabel == "" { + seLinuxFileLabel = newLabel + continue + } + if seLinuxFileLabel != newLabel { + fullErr := fmt.Errorf("volume %s is used with two different SELinux contexts in the same pod: %q, %q", volumeSpec.Name(), seLinuxFileLabel, newLabel) + if err := handleSELinuxMetricError(fullErr, seLinuxSupported, seLinuxPodContextMismatchWarnings, seLinuxPodContextMismatchErrors); err != nil { + return "", false, err + } + } + } + } else { + // Volume plugin does not support SELinux context mount. + // DSW will track this volume with SELinux label "", i.e. no mount with + // -o context. + seLinuxFileLabel = "" + } + } + return seLinuxFileLabel, pluginSupportsSELinuxContextMount, nil +} + func (dsw *desiredStateOfWorld) MarkVolumesReportedInUse( reportedVolumes []v1.UniqueVolumeName) { dsw.Lock() @@ -380,16 +476,35 @@ func (dsw *desiredStateOfWorld) UpdatePersistentVolumeSize(volumeName v1.UniqueV } func (dsw *desiredStateOfWorld) VolumeExists( - volumeName v1.UniqueVolumeName) bool { + volumeName v1.UniqueVolumeName, seLinuxMountContext string) bool { dsw.RLock() defer dsw.RUnlock() - _, volumeExists := dsw.volumesToMount[volumeName] - return volumeExists + vol, volumeExists := dsw.volumesToMount[volumeName] + if !volumeExists { + return false + } + if feature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { + // Handling two volumes with the same name and different SELinux context + // as two *different* volumes here. Because if a volume is mounted with + // an old SELinux context, it must be unmounted first and then mounted again + // with the new context. + // + // This will happen when a pod A with context alpha_t runs and is being + // terminated by kubelet and its volumes are being torn down, while a + // pod B with context beta_t is already scheduled on the same node, + // using the same volumes + // The volumes from Pod A must be fully unmounted (incl. UnmountDevice) + // and mounted with new SELinux mount options for pod B. + // Without SELinux, kubelet can (and often does) reuse device mounted + // for A. + return vol.seLinuxFileLabel == seLinuxMountContext + } + return true } func (dsw *desiredStateOfWorld) PodExistsInVolume( - podName types.UniquePodName, volumeName v1.UniqueVolumeName) bool { + podName types.UniquePodName, volumeName v1.UniqueVolumeName, seLinuxMountOption string) bool { dsw.RLock() defer dsw.RUnlock() @@ -398,6 +513,15 @@ func (dsw *desiredStateOfWorld) PodExistsInVolume( return false } + if feature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { + if volumeObj.seLinuxFileLabel != seLinuxMountOption { + // The volume is in DSW, but with a different SELinux mount option. + // Report it as unused, so the volume is unmounted and mounted back + // with the right SELinux option. + return false + } + } + _, podExists := volumeObj.podsToMount[podName] return podExists } @@ -448,6 +572,7 @@ func (dsw *desiredStateOfWorld) GetVolumesToMount() []VolumeToMount { ReportedInUse: volumeObj.reportedInUse, MountRequestTime: podObj.mountRequestTime, DesiredSizeLimit: volumeObj.desiredSizeLimit, + SELinuxLabel: volumeObj.seLinuxFileLabel, }, } if volumeObj.persistentVolumeSize != nil { @@ -504,3 +629,20 @@ func (dsw *desiredStateOfWorld) MarkVolumeAttachability(volumeName v1.UniqueVolu volumeObj.pluginIsAttachable = attachable dsw.volumesToMount[volumeName] = volumeObj } + +func (dsw *desiredStateOfWorld) getSELinuxMountSupport(volumeSpec *volume.Spec) (bool, error) { + return util.SupportsSELinuxContextMount(volumeSpec, dsw.volumePluginMgr) +} + +// Based on isRWOP, bump the right warning / error metric and either consume the error or return it. +func handleSELinuxMetricError(err error, seLinuxSupported bool, warningMetric, errorMetric *metrics.Gauge) error { + if seLinuxSupported { + errorMetric.Add(1.0) + return err + } + + // This is not an error yet, but it will be when support for other access modes is added. + warningMetric.Add(1.0) + klog.V(4).ErrorS(err, "Please report this error in https://github.com/kubernetes/enhancements/issues/1710, together with full Pod yaml file") + return nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go index f2cbe842eff7..7b0c7536356c 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go @@ -79,9 +79,13 @@ type podStateProvider interface { // // kubeClient - used to fetch PV and PVC objects from the API server // loopSleepDuration - the amount of time the populator loop sleeps between -// successive executions +// +// successive executions +// // podManager - the kubelet podManager that is the source of truth for the pods -// that exist on this host +// +// that exist on this host +// // desiredStateOfWorld - the cache to populate func NewDesiredStateOfWorldPopulator( kubeClient clientset.Interface, @@ -251,7 +255,6 @@ func (dswp *desiredStateOfWorldPopulator) findAndRemoveDeletedPods() { continue } klog.V(4).InfoS("Removing volume from desired state", "pod", klog.KObj(volumeToMount.Pod), "podUID", volumeToMount.Pod.UID, "volumeName", volumeToMountSpecName) - dswp.desiredStateOfWorld.DeletePodFromVolume( volumeToMount.PodName, volumeToMount.VolumeName) dswp.deleteProcessedPod(volumeToMount.PodName) @@ -280,7 +283,7 @@ func (dswp *desiredStateOfWorldPopulator) processPodVolumes( } allVolumesAdded := true - mounts, devices := util.GetPodVolumeNames(pod) + mounts, devices, seLinuxContainerContexts := util.GetPodVolumeNames(pod) // Process volume spec for each volume defined in pod for _, podVolume := range pod.Spec.Volumes { @@ -301,7 +304,7 @@ func (dswp *desiredStateOfWorldPopulator) processPodVolumes( // Add volume to desired state of world uniqueVolumeName, err := dswp.desiredStateOfWorld.AddPodToVolume( - uniquePodName, pod, volumeSpec, podVolume.Name, volumeGidValue) + uniquePodName, pod, volumeSpec, podVolume.Name, volumeGidValue, seLinuxContainerContexts[podVolume.Name]) if err != nil { klog.ErrorS(err, "Failed to add volume to desiredStateOfWorld", "pod", klog.KObj(pod), "volumeName", podVolume.Name, "volumeSpecName", volumeSpec.Name()) dswp.desiredStateOfWorld.AddErrorToPod(uniquePodName, err.Error()) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/reconciler/reconciler.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/reconciler/reconciler.go index 3c3b9b4d2822..35c14a54c8e4 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/reconciler/reconciler.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/reconciler/reconciler.go @@ -75,21 +75,31 @@ type Reconciler interface { // NewReconciler returns a new instance of Reconciler. // // controllerAttachDetachEnabled - if true, indicates that the attach/detach -// controller is responsible for managing the attach/detach operations for -// this node, and therefore the volume manager should not +// +// controller is responsible for managing the attach/detach operations for +// this node, and therefore the volume manager should not +// // loopSleepDuration - the amount of time the reconciler loop sleeps between -// successive executions +// +// successive executions +// // waitForAttachTimeout - the amount of time the Mount function will wait for -// the volume to be attached +// +// the volume to be attached +// // nodeName - the Name for this node, used by Attach and Detach methods // desiredStateOfWorld - cache containing the desired state of the world // actualStateOfWorld - cache containing the actual state of the world // populatorHasAddedPods - checker for whether the populator has finished -// adding pods to the desiredStateOfWorld cache at least once after sources -// are all ready (before sources are ready, pods are probably missing) +// +// adding pods to the desiredStateOfWorld cache at least once after sources +// are all ready (before sources are ready, pods are probably missing) +// // operationExecutor - used to trigger attach/detach/mount/unmount operations -// safely (prevents more than one operation from being triggered on the same -// volume) +// +// safely (prevents more than one operation from being triggered on the same +// volume) +// // mounter - mounter passed in from kubelet, passed down unmount path // hostutil - hostutil passed in from kubelet // volumePluginMgr - volume plugin manager passed from kubelet @@ -119,6 +129,7 @@ func NewReconciler( operationExecutor: operationExecutor, mounter: mounter, hostutil: hostutil, + skippedDuringReconstruction: map[v1.UniqueVolumeName]*globalVolumeInfo{}, volumePluginMgr: volumePluginMgr, kubeletPodsDir: kubeletPodsDir, timeOfLastSync: time.Time{}, @@ -138,6 +149,7 @@ type reconciler struct { mounter mount.Interface hostutil hostutil.HostUtils volumePluginMgr *volumepkg.VolumePluginMgr + skippedDuringReconstruction map[v1.UniqueVolumeName]*globalVolumeInfo kubeletPodsDir string timeOfLastSync time.Time } @@ -175,12 +187,19 @@ func (rc *reconciler) reconcile() { // Ensure devices that should be detached/unmounted are detached/unmounted. rc.unmountDetachDevices() + + // After running the above operations if skippedDuringReconstruction is not empty + // then ensure that all volumes which were discovered and skipped during reconstruction + // are added to actualStateOfWorld in uncertain state. + if len(rc.skippedDuringReconstruction) > 0 { + rc.processReconstructedVolumes() + } } func (rc *reconciler) unmountVolumes() { // Ensure volumes that should be unmounted are unmounted. for _, mountedVolume := range rc.actualStateOfWorld.GetAllMountedVolumes() { - if !rc.desiredStateOfWorld.PodExistsInVolume(mountedVolume.PodName, mountedVolume.VolumeName) { + if !rc.desiredStateOfWorld.PodExistsInVolume(mountedVolume.PodName, mountedVolume.VolumeName, mountedVolume.SELinuxMountContext) { // Volume is mounted, unmount it klog.V(5).InfoS(mountedVolume.GenerateMsgDetailed("Starting operationExecutor.UnmountVolume", "")) err := rc.operationExecutor.UnmountVolume( @@ -198,9 +217,14 @@ func (rc *reconciler) unmountVolumes() { func (rc *reconciler) mountOrAttachVolumes() { // Ensure volumes that should be attached/mounted are attached/mounted. for _, volumeToMount := range rc.desiredStateOfWorld.GetVolumesToMount() { - volMounted, devicePath, err := rc.actualStateOfWorld.PodExistsInVolume(volumeToMount.PodName, volumeToMount.VolumeName, volumeToMount.PersistentVolumeSize) + volMounted, devicePath, err := rc.actualStateOfWorld.PodExistsInVolume(volumeToMount.PodName, volumeToMount.VolumeName, volumeToMount.PersistentVolumeSize, volumeToMount.SELinuxLabel) volumeToMount.DevicePath = devicePath - if cache.IsVolumeNotAttachedError(err) { + if cache.IsSELinuxMountMismatchError(err) { + // TODO: check error message + lower frequency, this can be noisy + klog.ErrorS(err, volumeToMount.GenerateErrorDetailed("mount precondition failed, please report this error in https://github.com/kubernetes/enhancements/issues/1710, together with full Pod yaml file", err).Error(), "pod", klog.KObj(volumeToMount.Pod)) + // TODO: report error better, this may be too noisy + rc.desiredStateOfWorld.AddErrorToPod(volumeToMount.PodName, err.Error()) + } else if cache.IsVolumeNotAttachedError(err) { rc.waitForVolumeAttach(volumeToMount) } else if !volMounted || cache.IsRemountRequiredError(err) { rc.mountAttachedVolumes(volumeToMount, err) @@ -249,6 +273,69 @@ func (rc *reconciler) mountAttachedVolumes(volumeToMount cache.VolumeToMount, po } } +// processReconstructedVolumes checks volumes which were skipped during the reconstruction +// process because it was assumed that since these volumes were present in DSOW they would get +// mounted correctly and make it into ASOW. +// But if mount operation fails for some reason then we still need to mark the volume as uncertain +// and wait for the next reconciliation loop to deal with it. +func (rc *reconciler) processReconstructedVolumes() { + for volumeName, glblVolumeInfo := range rc.skippedDuringReconstruction { + // check if volume is marked as attached to the node + // for now lets only process volumes which are at least known as attached to the node + // this should help with most volume types (including secret, configmap etc) + if !rc.actualStateOfWorld.VolumeExists(volumeName) { + klog.V(4).InfoS("Volume is not marked as attached to the node. Skipping processing of the volume", "volumeName", volumeName) + continue + } + uncertainVolumeCount := 0 + // only delete volumes which were marked as attached here. + // This should ensure that - we will wait for volumes which were not marked as attached + // before adding them in uncertain state during reconstruction. + delete(rc.skippedDuringReconstruction, volumeName) + + for podName, volume := range glblVolumeInfo.podVolumes { + markVolumeOpts := operationexecutor.MarkVolumeOpts{ + PodName: volume.podName, + PodUID: types.UID(podName), + VolumeName: volume.volumeName, + Mounter: volume.mounter, + BlockVolumeMapper: volume.blockVolumeMapper, + OuterVolumeSpecName: volume.outerVolumeSpecName, + VolumeGidVolume: volume.volumeGidValue, + VolumeSpec: volume.volumeSpec, + VolumeMountState: operationexecutor.VolumeMountUncertain, + } + + volumeAdded, err := rc.actualStateOfWorld.CheckAndMarkVolumeAsUncertainViaReconstruction(markVolumeOpts) + + // if volume is not mounted then lets mark volume mounted in uncertain state in ASOW + if volumeAdded { + uncertainVolumeCount += 1 + if err != nil { + klog.ErrorS(err, "Could not add pod to volume information to actual state of world", "pod", klog.KObj(volume.pod)) + continue + } + klog.V(4).InfoS("Volume is marked as mounted in uncertain state and added to the actual state", "pod", klog.KObj(volume.pod), "podName", volume.podName, "volumeName", volume.volumeName) + } + } + + if uncertainVolumeCount > 0 { + // If the volume has device to mount, we mark its device as uncertain + if glblVolumeInfo.deviceMounter != nil || glblVolumeInfo.blockVolumeMapper != nil { + deviceMountPath, err := getDeviceMountPath(glblVolumeInfo) + if err != nil { + klog.ErrorS(err, "Could not find device mount path for volume", "volumeName", glblVolumeInfo.volumeName) + continue + } + deviceMounted := rc.actualStateOfWorld.CheckAndMarkDeviceUncertainViaReconstruction(glblVolumeInfo.volumeName, deviceMountPath) + if !deviceMounted { + klog.V(3).InfoS("Could not mark device as mounted in uncertain state", "volumeName", glblVolumeInfo.volumeName) + } + } + } + } +} + func (rc *reconciler) waitForVolumeAttach(volumeToMount cache.VolumeToMount) { if rc.controllerAttachDetachEnabled || !volumeToMount.PluginIsAttachable { //// lets not spin a goroutine and unnecessarily trigger exponential backoff if this happens @@ -291,7 +378,7 @@ func (rc *reconciler) waitForVolumeAttach(volumeToMount cache.VolumeToMount) { func (rc *reconciler) unmountDetachDevices() { for _, attachedVolume := range rc.actualStateOfWorld.GetUnmountedVolumes() { // Check IsOperationPending to avoid marking a volume as detached if it's in the process of mounting. - if !rc.desiredStateOfWorld.VolumeExists(attachedVolume.VolumeName) && + if !rc.desiredStateOfWorld.VolumeExists(attachedVolume.VolumeName, attachedVolume.SELinuxMountContext) && !rc.operationExecutor.IsOperationPending(attachedVolume.VolumeName, nestedpendingoperations.EmptyUniquePodName, nestedpendingoperations.EmptyNodeName) { if attachedVolume.DeviceMayBeMounted() { // Volume is globally mounted to device, unmount it @@ -334,7 +421,7 @@ func (rc *reconciler) unmountDetachDevices() { // it will try to clean up the mount paths with operation executor. func (rc *reconciler) sync() { defer rc.updateLastSyncTime() - rc.syncStates() + rc.syncStates(rc.kubeletPodsDir) } func (rc *reconciler) updateLastSyncTime() { @@ -366,19 +453,38 @@ type reconstructedVolume struct { blockVolumeMapper volumepkg.BlockVolumeMapper } +// globalVolumeInfo stores reconstructed volume information +// for each pod that was using that volume. +type globalVolumeInfo struct { + volumeName v1.UniqueVolumeName + volumeSpec *volumepkg.Spec + devicePath string + mounter volumepkg.Mounter + deviceMounter volumepkg.DeviceMounter + blockVolumeMapper volumepkg.BlockVolumeMapper + podVolumes map[volumetypes.UniquePodName]*reconstructedVolume +} + +func (gvi *globalVolumeInfo) addPodVolume(rcv *reconstructedVolume) { + if gvi.podVolumes == nil { + gvi.podVolumes = map[volumetypes.UniquePodName]*reconstructedVolume{} + } + gvi.podVolumes[rcv.podName] = rcv +} + // syncStates scans the volume directories under the given pod directory. // If the volume is not in desired state of world, this function will reconstruct // the volume related information and put it in both the actual and desired state of worlds. // For some volume plugins that cannot support reconstruction, it will clean up the existing // mount points since the volume is no long needed (removed from desired state) -func (rc *reconciler) syncStates() { +func (rc *reconciler) syncStates(kubeletPodDir string) { // Get volumes information by reading the pod's directory - podVolumes, err := getVolumesFromPodDir(rc.kubeletPodsDir) + podVolumes, err := getVolumesFromPodDir(kubeletPodDir) if err != nil { klog.ErrorS(err, "Cannot get volumes from disk, skip sync states for volume reconstruction") return } - volumesNeedUpdate := make(map[v1.UniqueVolumeName]*reconstructedVolume) + volumesNeedUpdate := make(map[v1.UniqueVolumeName]*globalVolumeInfo) volumeNeedReport := []v1.UniqueVolumeName{} for _, volume := range podVolumes { if rc.actualStateOfWorld.VolumeExistsWithSpecName(volume.podName, volume.volumeSpecName) { @@ -401,6 +507,18 @@ func (rc *reconciler) syncStates() { rc.cleanupMounts(volume) continue } + gvl := &globalVolumeInfo{ + volumeName: reconstructedVolume.volumeName, + volumeSpec: reconstructedVolume.volumeSpec, + devicePath: reconstructedVolume.devicePath, + deviceMounter: reconstructedVolume.deviceMounter, + blockVolumeMapper: reconstructedVolume.blockVolumeMapper, + mounter: reconstructedVolume.mounter, + } + if cachedInfo, ok := volumesNeedUpdate[reconstructedVolume.volumeName]; ok { + gvl = cachedInfo + } + gvl.addPodVolume(reconstructedVolume) if volumeInDSW { // Some pod needs the volume. And it exists on disk. Some previous // kubelet must have created the directory, therefore it must have @@ -408,6 +526,7 @@ func (rc *reconciler) syncStates() { // this new kubelet so reconcile() calls SetUp and re-mounts the // volume if it's necessary. volumeNeedReport = append(volumeNeedReport, reconstructedVolume.volumeName) + rc.skippedDuringReconstruction[reconstructedVolume.volumeName] = gvl klog.V(4).InfoS("Volume exists in desired state, marking as InUse", "podName", volume.podName, "volumeSpecName", volume.volumeSpecName) continue } @@ -416,7 +535,7 @@ func (rc *reconciler) syncStates() { klog.InfoS("Volume is in pending operation, skip cleaning up mounts") } klog.V(2).InfoS("Reconciler sync states: could not find pod information in desired state, update it in actual state", "reconstructedVolume", reconstructedVolume) - volumesNeedUpdate[reconstructedVolume.volumeName] = reconstructedVolume + volumesNeedUpdate[reconstructedVolume.volumeName] = gvl } if len(volumesNeedUpdate) > 0 { @@ -590,7 +709,7 @@ func (rc *reconciler) reconstructVolume(volume podVolume) (*reconstructedVolume, } // updateDevicePath gets the node status to retrieve volume device path information. -func (rc *reconciler) updateDevicePath(volumesNeedUpdate map[v1.UniqueVolumeName]*reconstructedVolume) { +func (rc *reconciler) updateDevicePath(volumesNeedUpdate map[v1.UniqueVolumeName]*globalVolumeInfo) { node, fetchErr := rc.kubeClient.CoreV1().Nodes().Get(context.TODO(), string(rc.nodeName), metav1.GetOptions{}) if fetchErr != nil { klog.ErrorS(fetchErr, "UpdateStates in reconciler: could not get node status with error") @@ -608,19 +727,19 @@ func (rc *reconciler) updateDevicePath(volumesNeedUpdate map[v1.UniqueVolumeName // getDeviceMountPath returns device mount path for block volume which // implements BlockVolumeMapper or filesystem volume which implements // DeviceMounter -func getDeviceMountPath(volume *reconstructedVolume) (string, error) { - if volume.blockVolumeMapper != nil { - // for block volume, we return its global map path - return volume.blockVolumeMapper.GetGlobalMapPath(volume.volumeSpec) - } else if volume.deviceMounter != nil { - // for filesystem volume, we return its device mount path if the plugin implements DeviceMounter - return volume.deviceMounter.GetDeviceMountPath(volume.volumeSpec) +func getDeviceMountPath(gvi *globalVolumeInfo) (string, error) { + if gvi.blockVolumeMapper != nil { + // for block gvi, we return its global map path + return gvi.blockVolumeMapper.GetGlobalMapPath(gvi.volumeSpec) + } else if gvi.deviceMounter != nil { + // for filesystem gvi, we return its device mount path if the plugin implements DeviceMounter + return gvi.deviceMounter.GetDeviceMountPath(gvi.volumeSpec) } else { return "", fmt.Errorf("blockVolumeMapper or deviceMounter required") } } -func (rc *reconciler) updateStates(volumesNeedUpdate map[v1.UniqueVolumeName]*reconstructedVolume) error { +func (rc *reconciler) updateStates(volumesNeedUpdate map[v1.UniqueVolumeName]*globalVolumeInfo) error { // Get the node status to retrieve volume device path information. // Skip reporting devicePath in node objects if kubeClient is nil. // In standalone mode, kubelet is not expected to mount any attachable volume types or secret, configmaps etc. @@ -628,49 +747,57 @@ func (rc *reconciler) updateStates(volumesNeedUpdate map[v1.UniqueVolumeName]*re rc.updateDevicePath(volumesNeedUpdate) } - for _, volume := range volumesNeedUpdate { + for _, gvl := range volumesNeedUpdate { err := rc.actualStateOfWorld.MarkVolumeAsAttached( //TODO: the devicePath might not be correct for some volume plugins: see issue #54108 - volume.volumeName, volume.volumeSpec, "" /* nodeName */, volume.devicePath) + gvl.volumeName, gvl.volumeSpec, "" /* nodeName */, gvl.devicePath) if err != nil { - klog.ErrorS(err, "Could not add volume information to actual state of world", "pod", klog.KObj(volume.pod)) + klog.ErrorS(err, "Could not add volume information to actual state of world", "volumeName", gvl.volumeName) continue } - markVolumeOpts := operationexecutor.MarkVolumeOpts{ - PodName: volume.podName, - PodUID: types.UID(volume.podName), - VolumeName: volume.volumeName, - Mounter: volume.mounter, - BlockVolumeMapper: volume.blockVolumeMapper, - OuterVolumeSpecName: volume.outerVolumeSpecName, - VolumeGidVolume: volume.volumeGidValue, - VolumeSpec: volume.volumeSpec, - VolumeMountState: operationexecutor.VolumeMounted, - } - err = rc.actualStateOfWorld.MarkVolumeAsMounted(markVolumeOpts) - if err != nil { - klog.ErrorS(err, "Could not add pod to volume information to actual state of world", "pod", klog.KObj(volume.pod)) - continue + for _, volume := range gvl.podVolumes { + err = rc.markVolumeState(volume, operationexecutor.VolumeMounted) + if err != nil { + klog.ErrorS(err, "Could not add pod to volume information to actual state of world", "pod", klog.KObj(volume.pod)) + continue + } + klog.V(4).InfoS("Volume is marked as mounted and added into the actual state", "pod", klog.KObj(volume.pod), "podName", volume.podName, "volumeName", volume.volumeName) } - klog.V(4).InfoS("Volume is marked as mounted and added into the actual state", "pod", klog.KObj(volume.pod), "podName", volume.podName, "volumeName", volume.volumeName) // If the volume has device to mount, we mark its device as mounted. - if volume.deviceMounter != nil || volume.blockVolumeMapper != nil { - deviceMountPath, err := getDeviceMountPath(volume) + if gvl.deviceMounter != nil || gvl.blockVolumeMapper != nil { + deviceMountPath, err := getDeviceMountPath(gvl) if err != nil { - klog.ErrorS(err, "Could not find device mount path for volume", "volumeName", volume.volumeName, "pod", klog.KObj(volume.pod)) + klog.ErrorS(err, "Could not find device mount path for volume", "volumeName", gvl.volumeName) continue } - err = rc.actualStateOfWorld.MarkDeviceAsMounted(volume.volumeName, volume.devicePath, deviceMountPath) + // TODO(jsafrane): add reconstructed SELinux context + err = rc.actualStateOfWorld.MarkDeviceAsMounted(gvl.volumeName, gvl.devicePath, deviceMountPath, "") if err != nil { - klog.ErrorS(err, "Could not mark device is mounted to actual state of world", "pod", klog.KObj(volume.pod)) + klog.ErrorS(err, "Could not mark device is mounted to actual state of world", "volume", gvl.volumeName) continue } - klog.V(4).InfoS("Volume is marked device as mounted and added into the actual state", "pod", klog.KObj(volume.pod), "podName", volume.podName, "volumeName", volume.volumeName) + klog.V(4).InfoS("Volume is marked device as mounted and added into the actual state", "volumeName", gvl.volumeName) } } return nil } +func (rc *reconciler) markVolumeState(volume *reconstructedVolume, volumeState operationexecutor.VolumeMountState) error { + markVolumeOpts := operationexecutor.MarkVolumeOpts{ + PodName: volume.podName, + PodUID: types.UID(volume.podName), + VolumeName: volume.volumeName, + Mounter: volume.mounter, + BlockVolumeMapper: volume.blockVolumeMapper, + OuterVolumeSpecName: volume.outerVolumeSpecName, + VolumeGidVolume: volume.volumeGidValue, + VolumeSpec: volume.volumeSpec, + VolumeMountState: volumeState, + } + err := rc.actualStateOfWorld.MarkVolumeAsMounted(markVolumeOpts) + return err +} + // getVolumesFromPodDir scans through the volumes directories under the given pod directory. // It returns a list of pod volume information including pod's uid, volume's plugin name, mount path, // and volume spec name. diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/volume_manager.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/volume_manager.go index 6152080493aa..ee58b2fcaa74 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/volume_manager.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/volumemanager/volume_manager.go @@ -165,9 +165,12 @@ type podStateProvider interface { // VolumeManager interface. // // kubeClient - kubeClient is the kube API client used by DesiredStateOfWorldPopulator -// to communicate with the API server to fetch PV and PVC objects +// +// to communicate with the API server to fetch PV and PVC objects +// // volumePluginMgr - the volume plugin manager used to access volume plugins. -// Must be pre-initialized. +// +// Must be pre-initialized. func NewVolumeManager( controllerAttachDetachEnabled bool, nodeName k8stypes.NodeName, @@ -183,10 +186,11 @@ func NewVolumeManager( keepTerminatedPodVolumes bool, blockVolumePathHandler volumepathhandler.BlockVolumePathHandler) VolumeManager { + seLinuxTranslator := util.NewSELinuxLabelTranslator() vm := &volumeManager{ kubeClient: kubeClient, volumePluginMgr: volumePluginMgr, - desiredStateOfWorld: cache.NewDesiredStateOfWorld(volumePluginMgr), + desiredStateOfWorld: cache.NewDesiredStateOfWorld(volumePluginMgr, seLinuxTranslator), actualStateOfWorld: cache.NewActualStateOfWorld(nodeName, volumePluginMgr), operationExecutor: operationexecutor.NewOperationExecutor(operationexecutor.NewOperationGenerator( kubeClient, @@ -533,7 +537,7 @@ func filterUnmountedVolumes(mountedVolumes sets.String, expectedVolumes []string // getExpectedVolumes returns a list of volumes that must be mounted in order to // consider the volume setup step for this pod satisfied. func getExpectedVolumes(pod *v1.Pod) []string { - mounts, devices := util.GetPodVolumeNames(pod) + mounts, devices, _ := util.GetPodVolumeNames(pod) return mounts.Union(devices).UnsortedList() } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/winstats/version.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/winstats/version.go index f56327273cdf..80e9442f8cea 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/winstats/version.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubelet/winstats/version.go @@ -24,7 +24,7 @@ import ( "golang.org/x/sys/windows/registry" ) -//OSInfo is a convenience class for retrieving Windows OS information +// OSInfo is a convenience class for retrieving Windows OS information type OSInfo struct { BuildNumber, ProductName string MajorVersion, MinorVersion, UBR uint64 @@ -75,12 +75,12 @@ func GetOSInfo() (*OSInfo, error) { }, nil } -//GetPatchVersion returns full OS version with patch +// GetPatchVersion returns full OS version with patch func (o *OSInfo) GetPatchVersion() string { return fmt.Sprintf("%d.%d.%s.%d", o.MajorVersion, o.MinorVersion, o.BuildNumber, o.UBR) } -//GetBuild returns OS version upto build number +// GetBuild returns OS version upto build number func (o *OSInfo) GetBuild() string { return fmt.Sprintf("%d.%d.%s", o.MajorVersion, o.MinorVersion, o.BuildNumber) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubemark/hollow_kubelet.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubemark/hollow_kubelet.go index 8c0e5e0d4142..ffc625b331e6 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubemark/hollow_kubelet.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/kubemark/hollow_kubelet.go @@ -44,7 +44,6 @@ import ( "k8s.io/kubernetes/pkg/volume/downwardapi" "k8s.io/kubernetes/pkg/volume/emptydir" "k8s.io/kubernetes/pkg/volume/fc" - "k8s.io/kubernetes/pkg/volume/flocker" "k8s.io/kubernetes/pkg/volume/git_repo" "k8s.io/kubernetes/pkg/volume/glusterfs" "k8s.io/kubernetes/pkg/volume/hostpath" @@ -53,10 +52,8 @@ import ( "k8s.io/kubernetes/pkg/volume/nfs" "k8s.io/kubernetes/pkg/volume/portworx" "k8s.io/kubernetes/pkg/volume/projected" - "k8s.io/kubernetes/pkg/volume/quobyte" "k8s.io/kubernetes/pkg/volume/rbd" "k8s.io/kubernetes/pkg/volume/secret" - "k8s.io/kubernetes/pkg/volume/storageos" "k8s.io/kubernetes/pkg/volume/util/hostutil" "k8s.io/kubernetes/pkg/volume/util/subpath" "k8s.io/kubernetes/test/utils" @@ -78,16 +75,13 @@ func volumePlugins() []volume.VolumePlugin { allPlugins = append(allPlugins, iscsi.ProbeVolumePlugins()...) allPlugins = append(allPlugins, glusterfs.ProbeVolumePlugins()...) allPlugins = append(allPlugins, rbd.ProbeVolumePlugins()...) - allPlugins = append(allPlugins, quobyte.ProbeVolumePlugins()...) allPlugins = append(allPlugins, cephfs.ProbeVolumePlugins()...) allPlugins = append(allPlugins, downwardapi.ProbeVolumePlugins()...) allPlugins = append(allPlugins, fc.ProbeVolumePlugins()...) - allPlugins = append(allPlugins, flocker.ProbeVolumePlugins()...) allPlugins = append(allPlugins, configmap.ProbeVolumePlugins()...) allPlugins = append(allPlugins, projected.ProbeVolumePlugins()...) allPlugins = append(allPlugins, portworx.ProbeVolumePlugins()...) allPlugins = append(allPlugins, local.ProbeVolumePlugins()...) - allPlugins = append(allPlugins, storageos.ProbeVolumePlugins()...) allPlugins = append(allPlugins, csi.ProbeVolumePlugins()...) return allPlugins } @@ -210,6 +204,7 @@ func GetHollowKubeletConfig(opt *HollowKubletOptions) (*options.KubeletFlags, *k c.ProtectKernelDefaults = false c.RegisterWithTaints = opt.RegisterWithTaints c.RegisterNode = true + c.LocalStorageCapacityIsolation = true return f, c } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/probe/grpc/grpc.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/probe/grpc/grpc.go index b7720dd7793b..09a8064dae59 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/probe/grpc/grpc.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/probe/grpc/grpc.go @@ -24,6 +24,7 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/codes" + "google.golang.org/grpc/credentials/insecure" grpchealth "google.golang.org/grpc/health/grpc_health_v1" "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" @@ -55,7 +56,7 @@ func (p grpcProber) Probe(host, service string, port int, timeout time.Duration) opts := []grpc.DialOption{ grpc.WithUserAgent(fmt.Sprintf("kube-probe/%s.%s", v.Major, v.Minor)), grpc.WithBlock(), - grpc.WithInsecure(), //credentials are currently not supported + grpc.WithTransportCredentials(insecure.NewCredentials()), //credentials are currently not supported } ctx, cancel := context.WithTimeout(context.Background(), timeout) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/probe/http/http.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/probe/http/http.go index c44f235b1696..890f14f9f7d3 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/probe/http/http.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/probe/http/http.go @@ -38,7 +38,8 @@ const ( // New creates Prober that will skip TLS verification while probing. // followNonLocalRedirects configures whether the prober should follow redirects to a different hostname. -// If disabled, redirects to other hosts will trigger a warning result. +// +// If disabled, redirects to other hosts will trigger a warning result. func New(followNonLocalRedirects bool) Prober { tlsConfig := &tls.Config{InsecureSkipVerify: true} return NewWithTLSConfig(tlsConfig, followNonLocalRedirects) @@ -46,7 +47,8 @@ func New(followNonLocalRedirects bool) Prober { // NewWithTLSConfig takes tls config as parameter. // followNonLocalRedirects configures whether the prober should follow redirects to a different hostname. -// If disabled, redirects to other hosts will trigger a warning result. +// +// If disabled, redirects to other hosts will trigger a warning result. func NewWithTLSConfig(config *tls.Config, followNonLocalRedirects bool) Prober { // We do not want the probe use node's local proxy set. transport := utilnet.SetTransportDefaults( diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/apis/config/validation/validation.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/apis/config/validation/validation.go index aacc00cfb4ec..c3a4da6b4f7d 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/apis/config/validation/validation.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/apis/config/validation/validation.go @@ -211,7 +211,7 @@ func validateProxyModeWindows(mode kubeproxyconfig.ProxyMode, fldPath *field.Pat return nil } - errMsg := fmt.Sprintf("must be %s or blank (blank means the most-available proxy [currently userspace])", strings.Join(validModes.List(), ",")) + errMsg := fmt.Sprintf("must be %s or blank (blank means the most-available proxy [currently userspace(will be 'kernelspace' in a future release)])", strings.Join(validModes.List(), ",")) return field.ErrorList{field.Invalid(fldPath.Child("ProxyMode"), string(mode), errMsg)} } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/endpoints.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/endpoints.go index ee8e778fe0e3..1969fb4b21f1 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/endpoints.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/endpoints.go @@ -202,8 +202,10 @@ func NewEndpointChangeTracker(hostname string, makeEndpointInfo makeEndpointFunc // if items changed, otherwise return false. Update can be used to add/update/delete items of EndpointsChangeMap. For example, // Add item // - pass as the pair. +// // Update item // - pass as the pair. +// // Delete item // - pass as the pair. func (ect *EndpointChangeTracker) Update(previous, current *v1.Endpoints) bool { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/iptables/proxier.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/iptables/proxier.go index c8d133c180ac..a5c9f6956392 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/iptables/proxier.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/iptables/proxier.go @@ -38,11 +38,9 @@ import ( "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/apimachinery/pkg/util/wait" - utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/client-go/tools/events" utilsysctl "k8s.io/component-helpers/node/util/sysctl" "k8s.io/klog/v2" - "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/proxy" "k8s.io/kubernetes/pkg/proxy/healthcheck" "k8s.io/kubernetes/pkg/proxy/metaproxier" @@ -72,14 +70,19 @@ const ( // kubeMarkMasqChain is the mark-for-masquerade chain kubeMarkMasqChain utiliptables.Chain = "KUBE-MARK-MASQ" - // kubeMarkDropChain is the mark-for-drop chain - kubeMarkDropChain utiliptables.Chain = "KUBE-MARK-DROP" - // the kubernetes forward chain kubeForwardChain utiliptables.Chain = "KUBE-FORWARD" + // kubeProxyFirewallChain is the kube-proxy firewall chain + kubeProxyFirewallChain utiliptables.Chain = "KUBE-PROXY-FIREWALL" + // kube proxy canary chain is used for monitoring rule reload kubeProxyCanaryChain utiliptables.Chain = "KUBE-PROXY-CANARY" + + // largeClusterEndpointsThreshold is the number of endpoints at which + // we switch into "large cluster mode" and optimize for iptables + // performance over iptables debuggability + largeClusterEndpointsThreshold = 1000 ) // KernelCompatTester tests whether the required kernel capabilities are @@ -191,6 +194,7 @@ type Proxier struct { initialized int32 syncRunner *async.BoundedFrequencyRunner // governs calls to syncProxyRules syncPeriod time.Duration + lastIPTablesCleanup time.Time // These are effectively const and do not need the mutex to be held. iptables utiliptables.Interface @@ -219,11 +223,10 @@ type Proxier struct { natChains utilproxy.LineBuffer natRules utilproxy.LineBuffer - // endpointChainsNumber is the total amount of endpointChains across all - // services that we will generate (it is computed at the beginning of - // syncProxyRules method). If that is large enough, comments in some - // iptable rules are dropped to improve performance. - endpointChainsNumber int + // largeClusterMode is set at the beginning of syncProxyRules if we are + // going to end up outputting "lots" of iptables rules and so we need to + // optimize for performance over debuggability. + largeClusterMode bool // Values are as a parameter to select the interfaces where nodeport works. nodePortAddresses []string @@ -383,18 +386,14 @@ var iptablesJumpChains = []iptablesJumpChain{ {utiliptables.TableFilter, kubeServicesChain, utiliptables.ChainForward, "kubernetes service portals", []string{"-m", "conntrack", "--ctstate", "NEW"}}, {utiliptables.TableFilter, kubeServicesChain, utiliptables.ChainOutput, "kubernetes service portals", []string{"-m", "conntrack", "--ctstate", "NEW"}}, {utiliptables.TableFilter, kubeForwardChain, utiliptables.ChainForward, "kubernetes forwarding rules", nil}, + {utiliptables.TableFilter, kubeProxyFirewallChain, utiliptables.ChainInput, "kubernetes load balancer firewall", []string{"-m", "conntrack", "--ctstate", "NEW"}}, + {utiliptables.TableFilter, kubeProxyFirewallChain, utiliptables.ChainOutput, "kubernetes load balancer firewall", []string{"-m", "conntrack", "--ctstate", "NEW"}}, + {utiliptables.TableFilter, kubeProxyFirewallChain, utiliptables.ChainForward, "kubernetes load balancer firewall", []string{"-m", "conntrack", "--ctstate", "NEW"}}, {utiliptables.TableNAT, kubeServicesChain, utiliptables.ChainOutput, "kubernetes service portals", nil}, {utiliptables.TableNAT, kubeServicesChain, utiliptables.ChainPrerouting, "kubernetes service portals", nil}, {utiliptables.TableNAT, kubePostroutingChain, utiliptables.ChainPostrouting, "kubernetes postrouting rules", nil}, } -var iptablesEnsureChains = []struct { - table utiliptables.Table - chain utiliptables.Chain -}{ - {utiliptables.TableNAT, kubeMarkDropChain}, -} - var iptablesCleanupOnlyChains = []iptablesJumpChain{ // Present in kube 1.13 - 1.19. Removed by #95252 in favor of adding reject rules for incoming/forwarding packets to kubeExternalServicesChain {utiliptables.TableFilter, kubeServicesChain, utiliptables.ChainInput, "kubernetes service portals", []string{"-m", "conntrack", "--ctstate", "NEW"}}, @@ -423,7 +422,7 @@ func CleanupLeftovers(ipt utiliptables.Interface) (encounteredError bool) { klog.ErrorS(err, "Failed to execute iptables-save", "table", utiliptables.TableNAT) encounteredError = true } else { - existingNATChains := utiliptables.GetChainLines(utiliptables.TableNAT, iptablesData.Bytes()) + existingNATChains := utiliptables.GetChainsFromTable(iptablesData.Bytes()) natChains := &utilproxy.LineBuffer{} natRules := &utilproxy.LineBuffer{} natChains.Write("*nat") @@ -431,16 +430,16 @@ func CleanupLeftovers(ipt utiliptables.Interface) (encounteredError bool) { for _, chain := range []utiliptables.Chain{kubeServicesChain, kubeNodePortsChain, kubePostroutingChain} { if _, found := existingNATChains[chain]; found { chainString := string(chain) - natChains.WriteBytes(existingNATChains[chain]) // flush - natRules.Write("-X", chainString) // delete + natChains.Write(utiliptables.MakeChainLine(chain)) // flush + natRules.Write("-X", chainString) // delete } } // Hunt for service and endpoint chains. for chain := range existingNATChains { chainString := string(chain) if isServiceChainName(chainString) { - natChains.WriteBytes(existingNATChains[chain]) // flush - natRules.Write("-X", chainString) // delete + natChains.Write(utiliptables.MakeChainLine(chain)) // flush + natRules.Write("-X", chainString) // delete } } natRules.Write("COMMIT") @@ -460,14 +459,14 @@ func CleanupLeftovers(ipt utiliptables.Interface) (encounteredError bool) { klog.ErrorS(err, "Failed to execute iptables-save", "table", utiliptables.TableFilter) encounteredError = true } else { - existingFilterChains := utiliptables.GetChainLines(utiliptables.TableFilter, iptablesData.Bytes()) + existingFilterChains := utiliptables.GetChainsFromTable(iptablesData.Bytes()) filterChains := &utilproxy.LineBuffer{} filterRules := &utilproxy.LineBuffer{} filterChains.Write("*filter") for _, chain := range []utiliptables.Chain{kubeServicesChain, kubeExternalServicesChain, kubeForwardChain, kubeNodePortsChain} { if _, found := existingFilterChains[chain]; found { chainString := string(chain) - filterChains.WriteBytes(existingFilterChains[chain]) + filterChains.Write(utiliptables.MakeChainLine(chain)) filterRules.Write("-X", chainString) } } @@ -628,7 +627,7 @@ func (proxier *Proxier) OnNodeAdd(node *v1.Node) { proxier.mu.Unlock() klog.V(4).InfoS("Updated proxier node labels", "labels", node.Labels) - proxier.syncProxyRules() + proxier.Sync() } // OnNodeUpdate is called whenever modification of an existing @@ -652,7 +651,7 @@ func (proxier *Proxier) OnNodeUpdate(oldNode, node *v1.Node) { proxier.mu.Unlock() klog.V(4).InfoS("Updated proxier node labels", "labels", node.Labels) - proxier.syncProxyRules() + proxier.Sync() } // OnNodeDelete is called whenever deletion of an existing node @@ -667,7 +666,7 @@ func (proxier *Proxier) OnNodeDelete(node *v1.Node) { proxier.nodeLabels = nil proxier.mu.Unlock() - proxier.syncProxyRules() + proxier.Sync() } // OnNodeSynced is called once all the initial event handlers were @@ -787,14 +786,12 @@ func (proxier *Proxier) deleteEndpointConnections(connectionMap []proxy.ServiceE } } -const endpointChainsNumberThreshold = 1000 - // Assumes proxier.mu is held. func (proxier *Proxier) appendServiceCommentLocked(args []string, svcName string) []string { // Not printing these comments, can reduce size of iptables (in case of large // number of endpoints) even by 40%+. So if total number of endpoint chains // is large enough, we simply drop those comments. - if proxier.endpointChainsNumber > endpointChainsNumberThreshold { + if proxier.largeClusterMode { return args } return append(args, "-m", "comment", "--comment", svcName) @@ -876,39 +873,10 @@ func (proxier *Proxier) syncProxyRules() { } } - // ensure KUBE-MARK-DROP chain exist but do not change any rules - for _, ch := range iptablesEnsureChains { - if _, err := proxier.iptables.EnsureChain(ch.table, ch.chain); err != nil { - klog.ErrorS(err, "Failed to ensure chain exists", "table", ch.table, "chain", ch.chain) - return - } - } - // // Below this point we will not return until we try to write the iptables rules. // - // Get iptables-save output so we can check for existing chains and rules. - // This will be a map of chain name to chain with rules as stored in iptables-save/iptables-restore - existingFilterChains := make(map[utiliptables.Chain][]byte) - proxier.existingFilterChainsData.Reset() - err := proxier.iptables.SaveInto(utiliptables.TableFilter, proxier.existingFilterChainsData) - if err != nil { // if we failed to get any rules - klog.ErrorS(err, "Failed to execute iptables-save, syncing all rules") - } else { // otherwise parse the output - existingFilterChains = utiliptables.GetChainLines(utiliptables.TableFilter, proxier.existingFilterChainsData.Bytes()) - } - - // IMPORTANT: existingNATChains may share memory with proxier.iptablesData. - existingNATChains := make(map[utiliptables.Chain][]byte) - proxier.iptablesData.Reset() - err = proxier.iptables.SaveInto(utiliptables.TableNAT, proxier.iptablesData) - if err != nil { // if we failed to get any rules - klog.ErrorS(err, "Failed to execute iptables-save, syncing all rules") - } else { // otherwise parse the output - existingNATChains = utiliptables.GetChainLines(utiliptables.TableNAT, proxier.iptablesData.Bytes()) - } - // Reset all buffers used later. // This is to avoid memory reallocations and thus improve performance. proxier.filterChains.Reset() @@ -916,21 +884,12 @@ func (proxier *Proxier) syncProxyRules() { proxier.natChains.Reset() proxier.natRules.Reset() - // Make sure we keep stats for the top-level chains, if they existed - // (which most should have because we created them above). - for _, chainName := range []utiliptables.Chain{kubeServicesChain, kubeExternalServicesChain, kubeForwardChain, kubeNodePortsChain} { - if chain, ok := existingFilterChains[chainName]; ok { - proxier.filterChains.WriteBytes(chain) - } else { - proxier.filterChains.Write(utiliptables.MakeChainLine(chainName)) - } + // Write chain lines for all the "top-level" chains we'll be filling in + for _, chainName := range []utiliptables.Chain{kubeServicesChain, kubeExternalServicesChain, kubeForwardChain, kubeNodePortsChain, kubeProxyFirewallChain} { + proxier.filterChains.Write(utiliptables.MakeChainLine(chainName)) } for _, chainName := range []utiliptables.Chain{kubeServicesChain, kubeNodePortsChain, kubePostroutingChain, kubeMarkMasqChain} { - if chain, ok := existingNATChains[chainName]; ok { - proxier.natChains.WriteBytes(chain) - } else { - proxier.natChains.Write(utiliptables.MakeChainLine(chainName)) - } + proxier.natChains.Write(utiliptables.MakeChainLine(chainName)) } // Install the kubernetes-specific postrouting rules. We use a whole chain for @@ -974,11 +933,13 @@ func (proxier *Proxier) syncProxyRules() { // is just for efficiency, not correctness. args := make([]string, 64) - // Compute total number of endpoint chains across all services. - proxier.endpointChainsNumber = 0 + // Compute total number of endpoint chains across all services to get + // a sense of how big the cluster is. + totalEndpoints := 0 for svcName := range proxier.serviceMap { - proxier.endpointChainsNumber += len(proxier.endpointsMap[svcName]) + totalEndpoints += len(proxier.endpointsMap[svcName]) } + proxier.largeClusterMode = (totalEndpoints > largeClusterEndpointsThreshold) nodeAddresses, err := utilproxy.GetNodeAddresses(proxier.nodePortAddresses, proxier.networkInterfacer) if err != nil { @@ -1010,189 +971,137 @@ func (proxier *Proxier) syncProxyRules() { protocol := strings.ToLower(string(svcInfo.Protocol())) svcPortNameString := svcInfo.nameString - allEndpoints := proxier.endpointsMap[svcName] - // Figure out the endpoints for Cluster and Local traffic policy. // allLocallyReachableEndpoints is the set of all endpoints that can be routed to // from this node, given the service's traffic policies. hasEndpoints is true // if the service has any usable endpoints on any node, not just this one. + allEndpoints := proxier.endpointsMap[svcName] clusterEndpoints, localEndpoints, allLocallyReachableEndpoints, hasEndpoints := proxy.CategorizeEndpoints(allEndpoints, svcInfo, proxier.nodeLabels) - // Generate the per-endpoint chains. + // Note the endpoint chains that will be used for _, ep := range allLocallyReachableEndpoints { - epInfo, ok := ep.(*endpointsInfo) - if !ok { - klog.ErrorS(err, "Failed to cast endpointsInfo", "endpointsInfo", ep) - continue - } - - endpointChain := epInfo.ChainName - - // Create the endpoint chain, retaining counters if possible. - if chain, ok := existingNATChains[endpointChain]; ok { - proxier.natChains.WriteBytes(chain) - } else { - proxier.natChains.Write(utiliptables.MakeChainLine(endpointChain)) + if epInfo, ok := ep.(*endpointsInfo); ok { + activeNATChains[epInfo.ChainName] = true } - activeNATChains[endpointChain] = true - - args = append(args[:0], "-A", string(endpointChain)) - args = proxier.appendServiceCommentLocked(args, svcPortNameString) - // Handle traffic that loops back to the originator with SNAT. - proxier.natRules.Write( - args, - "-s", epInfo.IP(), - "-j", string(kubeMarkMasqChain)) - // Update client-affinity lists. - if svcInfo.SessionAffinityType() == v1.ServiceAffinityClientIP { - args = append(args, "-m", "recent", "--name", string(endpointChain), "--set") - } - // DNAT to final destination. - args = append(args, "-m", protocol, "-p", protocol, "-j", "DNAT", "--to-destination", epInfo.Endpoint) - proxier.natRules.Write(args) } - // These chains represent the sets of endpoints to use when internal or - // external traffic policy is "Cluster" vs "Local". + // clusterPolicyChain contains the endpoints used with "Cluster" traffic policy clusterPolicyChain := svcInfo.clusterPolicyChainName + usesClusterPolicyChain := len(clusterEndpoints) > 0 && svcInfo.UsesClusterEndpoints() + if usesClusterPolicyChain { + activeNATChains[clusterPolicyChain] = true + } + + // localPolicyChain contains the endpoints used with "Local" traffic policy localPolicyChain := svcInfo.localPolicyChainName + usesLocalPolicyChain := len(localEndpoints) > 0 && svcInfo.UsesLocalEndpoints() + if usesLocalPolicyChain { + activeNATChains[localPolicyChain] = true + } - // These chains designate which policy chain to use for internal- and - // external-destination traffic. + // internalPolicyChain is the chain containing the endpoints for + // "internal" (ClusterIP) traffic. internalTrafficChain is the chain that + // internal traffic is routed to (which is always the same as + // internalPolicyChain). hasInternalEndpoints is true if we should + // generate rules pointing to internalTrafficChain, or false if there are + // no available internal endpoints. internalPolicyChain := clusterPolicyChain - externalPolicyChain := clusterPolicyChain + hasInternalEndpoints := hasEndpoints if svcInfo.InternalPolicyLocal() { internalPolicyChain = localPolicyChain + if len(localEndpoints) == 0 { + hasInternalEndpoints = false + } } + internalTrafficChain := internalPolicyChain + + // Similarly, externalPolicyChain is the chain containing the endpoints + // for "external" (NodePort, LoadBalancer, and ExternalIP) traffic. + // externalTrafficChain is the chain that external traffic is routed to + // (which is always the service's "EXT" chain). hasExternalEndpoints is + // true if there are endpoints that will be reached by external traffic. + // (But we may still have to generate externalTrafficChain even if there + // are no external endpoints, to ensure that the short-circuit rules for + // local traffic are set up.) + externalPolicyChain := clusterPolicyChain + hasExternalEndpoints := hasEndpoints if svcInfo.ExternalPolicyLocal() { externalPolicyChain = localPolicyChain + if len(localEndpoints) == 0 { + hasExternalEndpoints = false + } } - - // These chains are where *ALL* rules which match traffic that is - // service-destined should jump. ClusterIP traffic is considered - // "internal" while NodePort, LoadBalancer, and ExternalIPs traffic is - // considered "external". - internalTrafficChain := internalPolicyChain externalTrafficChain := svcInfo.externalChainName // eventually jumps to externalPolicyChain - // Declare the clusterPolicyChain if needed. - if hasEndpoints && svcInfo.UsesClusterEndpoints() { - // Create the Cluster traffic policy chain, retaining counters if possible. - if chain, ok := existingNATChains[clusterPolicyChain]; ok { - proxier.natChains.WriteBytes(chain) - } else { - proxier.natChains.Write(utiliptables.MakeChainLine(clusterPolicyChain)) - } - activeNATChains[clusterPolicyChain] = true + // usesExternalTrafficChain is based on hasEndpoints, not hasExternalEndpoints, + // because we need the local-traffic-short-circuiting rules even when there + // are no externally-usable endpoints. + usesExternalTrafficChain := hasEndpoints && svcInfo.ExternallyAccessible() + if usesExternalTrafficChain { + activeNATChains[externalTrafficChain] = true } - // Declare the localPolicyChain if needed. - if hasEndpoints && svcInfo.UsesLocalEndpoints() { - if chain, ok := existingNATChains[localPolicyChain]; ok { - proxier.natChains.WriteBytes(chain) - } else { - proxier.natChains.Write(utiliptables.MakeChainLine(localPolicyChain)) - } - activeNATChains[localPolicyChain] = true + // Traffic to LoadBalancer IPs can go directly to externalTrafficChain + // unless LoadBalancerSourceRanges is in use in which case we will + // create a firewall chain. + loadBalancerTrafficChain := externalTrafficChain + fwChain := svcInfo.firewallChainName + usesFWChain := hasEndpoints && len(svcInfo.LoadBalancerIPStrings()) > 0 && len(svcInfo.LoadBalancerSourceRanges()) > 0 + if usesFWChain { + activeNATChains[fwChain] = true + loadBalancerTrafficChain = fwChain } - // If any "external" destinations are enabled, set up external traffic - // handling. All captured traffic for all external destinations should - // jump to externalTrafficChain, which will handle some special-cases - // and then jump to externalPolicyChain. - if hasEndpoints && svcInfo.ExternallyAccessible() { - if chain, ok := existingNATChains[externalTrafficChain]; ok { - proxier.natChains.WriteBytes(chain) - } else { - proxier.natChains.Write(utiliptables.MakeChainLine(externalTrafficChain)) + var internalTrafficFilterTarget, internalTrafficFilterComment string + var externalTrafficFilterTarget, externalTrafficFilterComment string + if !hasEndpoints { + // The service has no endpoints at all; hasInternalEndpoints and + // hasExternalEndpoints will also be false, and we will not + // generate any chains in the "nat" table for the service; only + // rules in the "filter" table rejecting incoming packets for + // the service's IPs. + internalTrafficFilterTarget = "REJECT" + internalTrafficFilterComment = fmt.Sprintf(`"%s has no endpoints"`, svcPortNameString) + externalTrafficFilterTarget = "REJECT" + externalTrafficFilterComment = internalTrafficFilterComment + } else { + if !hasInternalEndpoints { + // The internalTrafficPolicy is "Local" but there are no local + // endpoints. Traffic to the clusterIP will be dropped, but + // external traffic may still be accepted. + internalTrafficFilterTarget = "DROP" + internalTrafficFilterComment = fmt.Sprintf(`"%s has no local endpoints"`, svcPortNameString) + serviceNoLocalEndpointsTotalInternal++ } - activeNATChains[externalTrafficChain] = true - - if !svcInfo.ExternalPolicyLocal() { - // If we are using non-local endpoints we need to masquerade, - // in case we cross nodes. - proxier.natRules.Write( - "-A", string(externalTrafficChain), - "-m", "comment", "--comment", fmt.Sprintf(`"masquerade traffic for %s external destinations"`, svcPortNameString), - "-j", string(kubeMarkMasqChain)) - } else { - // If we are only using same-node endpoints, we can retain the - // source IP in most cases. - - if proxier.localDetector.IsImplemented() { - // Treat all locally-originated pod -> external destination - // traffic as a special-case. It is subject to neither - // form of traffic policy, which simulates going up-and-out - // to an external load-balancer and coming back in. - proxier.natRules.Write( - "-A", string(externalTrafficChain), - "-m", "comment", "--comment", fmt.Sprintf(`"pod traffic for %s external destinations"`, svcPortNameString), - proxier.localDetector.IfLocal(), - "-j", string(clusterPolicyChain)) - } - - // Locally originated traffic (not a pod, but the host node) - // still needs masquerade because the LBIP itself is a local - // address, so that will be the chosen source IP. - proxier.natRules.Write( - "-A", string(externalTrafficChain), - "-m", "comment", "--comment", fmt.Sprintf(`"masquerade LOCAL traffic for %s external destinations"`, svcPortNameString), - "-m", "addrtype", "--src-type", "LOCAL", - "-j", string(kubeMarkMasqChain)) - - // Redirect all src-type=LOCAL -> external destination to the - // policy=cluster chain. This allows traffic originating - // from the host to be redirected to the service correctly. - proxier.natRules.Write( - "-A", string(externalTrafficChain), - "-m", "comment", "--comment", fmt.Sprintf(`"route LOCAL traffic for %s external destinations"`, svcPortNameString), - "-m", "addrtype", "--src-type", "LOCAL", - "-j", string(clusterPolicyChain)) + if !hasExternalEndpoints { + // The externalTrafficPolicy is "Local" but there are no + // local endpoints. Traffic to "external" IPs from outside + // the cluster will be dropped, but traffic from inside + // the cluster may still be accepted. + externalTrafficFilterTarget = "DROP" + externalTrafficFilterComment = fmt.Sprintf(`"%s has no local endpoints"`, svcPortNameString) + serviceNoLocalEndpointsTotalExternal++ } - - // Anything else falls thru to the appropriate policy chain. - proxier.natRules.Write( - "-A", string(externalTrafficChain), - "-j", string(externalPolicyChain)) } // Capture the clusterIP. - if hasEndpoints { - args = append(args[:0], + if hasInternalEndpoints { + proxier.natRules.Write( + "-A", string(kubeServicesChain), "-m", "comment", "--comment", fmt.Sprintf(`"%s cluster IP"`, svcPortNameString), "-m", protocol, "-p", protocol, "-d", svcInfo.ClusterIP().String(), "--dport", strconv.Itoa(svcInfo.Port()), - ) - if proxier.masqueradeAll { - proxier.natRules.Write( - "-A", string(internalTrafficChain), - args, - "-j", string(kubeMarkMasqChain)) - } else if proxier.localDetector.IsImplemented() { - // This masquerades off-cluster traffic to a service VIP. The idea - // is that you can establish a static route for your Service range, - // routing to any node, and that node will bridge into the Service - // for you. Since that might bounce off-node, we masquerade here. - proxier.natRules.Write( - "-A", string(internalTrafficChain), - args, - proxier.localDetector.IfNotLocal(), - "-j", string(kubeMarkMasqChain)) - } - proxier.natRules.Write( - "-A", string(kubeServicesChain), - args, "-j", string(internalTrafficChain)) } else { // No endpoints. proxier.filterRules.Write( "-A", string(kubeServicesChain), - "-m", "comment", "--comment", fmt.Sprintf(`"%s has no endpoints"`, svcPortNameString), + "-m", "comment", "--comment", internalTrafficFilterComment, "-m", protocol, "-p", protocol, "-d", svcInfo.ClusterIP().String(), "--dport", strconv.Itoa(svcInfo.Port()), - "-j", "REJECT", + "-j", internalTrafficFilterTarget, ) } @@ -1208,103 +1117,56 @@ func (proxier *Proxier) syncProxyRules() { "-d", externalIP, "--dport", strconv.Itoa(svcInfo.Port()), "-j", string(externalTrafficChain)) - - } else { - // No endpoints. + } + if !hasExternalEndpoints { + // Either no endpoints at all (REJECT) or no endpoints for + // external traffic (DROP anything that didn't get + // short-circuited by the EXT chain.) proxier.filterRules.Write( "-A", string(kubeExternalServicesChain), - "-m", "comment", "--comment", fmt.Sprintf(`"%s has no endpoints"`, svcPortNameString), + "-m", "comment", "--comment", externalTrafficFilterComment, "-m", protocol, "-p", protocol, "-d", externalIP, "--dport", strconv.Itoa(svcInfo.Port()), - "-j", "REJECT", + "-j", externalTrafficFilterTarget, ) } } // Capture load-balancer ingress. - if len(svcInfo.LoadBalancerIPStrings()) > 0 && hasEndpoints { - // Normally we send LB matches to the "external destination" chain. - nextChain := externalTrafficChain - - // If the service specifies any LB source ranges, we need to insert - // a firewall chain first. - if len(svcInfo.LoadBalancerSourceRanges()) > 0 { - fwChain := svcInfo.firewallChainName - - // Declare the service firewall chain. - if chain, ok := existingNATChains[fwChain]; ok { - proxier.natChains.WriteBytes(chain) - } else { - proxier.natChains.Write(utiliptables.MakeChainLine(fwChain)) - } - activeNATChains[fwChain] = true - - // The firewall chain will jump to the "external destination" - // chain. - nextChain = svcInfo.firewallChainName - - // The service firewall rules are created based on the - // loadBalancerSourceRanges field. This only works for - // VIP-like loadbalancers that preserve source IPs. For - // loadbalancers which direct traffic to service NodePort, the - // firewall rules will not apply. - args = append(args[:0], - "-A", string(nextChain), - "-m", "comment", "--comment", fmt.Sprintf(`"%s loadbalancer IP"`, svcPortNameString), - ) - - // firewall filter based on each source range - allowFromNode := false - for _, src := range svcInfo.LoadBalancerSourceRanges() { - proxier.natRules.Write(args, "-s", src, "-j", string(externalTrafficChain)) - _, cidr, err := netutils.ParseCIDRSloppy(src) - if err != nil { - klog.ErrorS(err, "Error parsing CIDR in LoadBalancerSourceRanges, dropping it", "cidr", cidr) - } else if cidr.Contains(proxier.nodeIP) { - allowFromNode = true - } - } - // For VIP-like LBs, the VIP is often added as a local - // address (via an IP route rule). In that case, a request - // from a node to the VIP will not hit the loadbalancer but - // will loop back with the source IP set to the VIP. We - // need the following rules to allow requests from this node. - if allowFromNode { - for _, lbip := range svcInfo.LoadBalancerIPStrings() { - proxier.natRules.Write( - args, - "-s", lbip, - "-j", string(externalTrafficChain)) - } - } - - // If the packet was able to reach the end of firewall chain, - // then it did not get DNATed. It means the packet cannot go - // thru the firewall, then mark it for DROP. - proxier.natRules.Write(args, "-j", string(kubeMarkDropChain)) - } - - for _, lbip := range svcInfo.LoadBalancerIPStrings() { + for _, lbip := range svcInfo.LoadBalancerIPStrings() { + if hasEndpoints { proxier.natRules.Write( "-A", string(kubeServicesChain), "-m", "comment", "--comment", fmt.Sprintf(`"%s loadbalancer IP"`, svcPortNameString), "-m", protocol, "-p", protocol, "-d", lbip, "--dport", strconv.Itoa(svcInfo.Port()), - "-j", string(nextChain)) + "-j", string(loadBalancerTrafficChain)) } - } else { - // No endpoints. + if usesFWChain { + proxier.filterRules.Write( + "-A", string(kubeProxyFirewallChain), + "-m", "comment", "--comment", fmt.Sprintf(`"%s traffic not accepted by %s"`, svcPortNameString, svcInfo.firewallChainName), + "-m", protocol, "-p", protocol, + "-d", lbip, + "--dport", strconv.Itoa(svcInfo.Port()), + "-j", "DROP") + } + } + if !hasExternalEndpoints { + // Either no endpoints at all (REJECT) or no endpoints for + // external traffic (DROP anything that didn't get short-circuited + // by the EXT chain.) for _, lbip := range svcInfo.LoadBalancerIPStrings() { proxier.filterRules.Write( "-A", string(kubeExternalServicesChain), - "-m", "comment", "--comment", fmt.Sprintf(`"%s has no endpoints"`, svcPortNameString), + "-m", "comment", "--comment", externalTrafficFilterComment, "-m", protocol, "-p", protocol, "-d", lbip, "--dport", strconv.Itoa(svcInfo.Port()), - "-j", "REJECT", + "-j", externalTrafficFilterTarget, ) } } @@ -1321,15 +1183,18 @@ func (proxier *Proxier) syncProxyRules() { "-m", protocol, "-p", protocol, "--dport", strconv.Itoa(svcInfo.NodePort()), "-j", string(externalTrafficChain)) - } else { - // No endpoints. + } + if !hasExternalEndpoints { + // Either no endpoints at all (REJECT) or no endpoints for + // external traffic (DROP anything that didn't get + // short-circuited by the EXT chain.) proxier.filterRules.Write( "-A", string(kubeExternalServicesChain), - "-m", "comment", "--comment", fmt.Sprintf(`"%s has no endpoints"`, svcPortNameString), + "-m", "comment", "--comment", externalTrafficFilterComment, "-m", "addrtype", "--dst-type", "LOCAL", "-m", protocol, "-p", protocol, "--dport", strconv.Itoa(svcInfo.NodePort()), - "-j", "REJECT", + "-j", externalTrafficFilterTarget, ) } } @@ -1347,45 +1212,206 @@ func (proxier *Proxier) syncProxyRules() { ) } - if svcInfo.UsesClusterEndpoints() { - // Write rules jumping from clusterPolicyChain to clusterEndpoints - proxier.writeServiceToEndpointRules(svcPortNameString, svcInfo, clusterPolicyChain, clusterEndpoints, args) + // Set up internal traffic handling. + if hasInternalEndpoints { + args = append(args[:0], + "-m", "comment", "--comment", fmt.Sprintf(`"%s cluster IP"`, svcPortNameString), + "-m", protocol, "-p", protocol, + "-d", svcInfo.ClusterIP().String(), + "--dport", strconv.Itoa(svcInfo.Port()), + ) + if proxier.masqueradeAll { + proxier.natRules.Write( + "-A", string(internalTrafficChain), + args, + "-j", string(kubeMarkMasqChain)) + } else if proxier.localDetector.IsImplemented() { + // This masquerades off-cluster traffic to a service VIP. The + // idea is that you can establish a static route for your + // Service range, routing to any node, and that node will + // bridge into the Service for you. Since that might bounce + // off-node, we masquerade here. + proxier.natRules.Write( + "-A", string(internalTrafficChain), + args, + proxier.localDetector.IfNotLocal(), + "-j", string(kubeMarkMasqChain)) + } } - if svcInfo.UsesLocalEndpoints() { - if len(localEndpoints) != 0 { - // Write rules jumping from localPolicyChain to localEndpointChains - proxier.writeServiceToEndpointRules(svcPortNameString, svcInfo, localPolicyChain, localEndpoints, args) - } else if hasEndpoints { - if svcInfo.InternalPolicyLocal() && utilfeature.DefaultFeatureGate.Enabled(features.ServiceInternalTrafficPolicy) { - serviceNoLocalEndpointsTotalInternal++ - } - if svcInfo.ExternalPolicyLocal() { - serviceNoLocalEndpointsTotalExternal++ + // Set up external traffic handling (if any "external" destinations are + // enabled). All captured traffic for all external destinations should + // jump to externalTrafficChain, which will handle some special cases and + // then jump to externalPolicyChain. + if usesExternalTrafficChain { + proxier.natChains.Write(utiliptables.MakeChainLine(externalTrafficChain)) + + if !svcInfo.ExternalPolicyLocal() { + // If we are using non-local endpoints we need to masquerade, + // in case we cross nodes. + proxier.natRules.Write( + "-A", string(externalTrafficChain), + "-m", "comment", "--comment", fmt.Sprintf(`"masquerade traffic for %s external destinations"`, svcPortNameString), + "-j", string(kubeMarkMasqChain)) + } else { + // If we are only using same-node endpoints, we can retain the + // source IP in most cases. + + if proxier.localDetector.IsImplemented() { + // Treat all locally-originated pod -> external destination + // traffic as a special-case. It is subject to neither + // form of traffic policy, which simulates going up-and-out + // to an external load-balancer and coming back in. + proxier.natRules.Write( + "-A", string(externalTrafficChain), + "-m", "comment", "--comment", fmt.Sprintf(`"pod traffic for %s external destinations"`, svcPortNameString), + proxier.localDetector.IfLocal(), + "-j", string(clusterPolicyChain)) } - // Blackhole all traffic since there are no local endpoints + + // Locally originated traffic (not a pod, but the host node) + // still needs masquerade because the LBIP itself is a local + // address, so that will be the chosen source IP. + proxier.natRules.Write( + "-A", string(externalTrafficChain), + "-m", "comment", "--comment", fmt.Sprintf(`"masquerade LOCAL traffic for %s external destinations"`, svcPortNameString), + "-m", "addrtype", "--src-type", "LOCAL", + "-j", string(kubeMarkMasqChain)) + + // Redirect all src-type=LOCAL -> external destination to the + // policy=cluster chain. This allows traffic originating + // from the host to be redirected to the service correctly. proxier.natRules.Write( - "-A", string(localPolicyChain), - "-m", "comment", "--comment", - fmt.Sprintf(`"%s has no local endpoints"`, svcPortNameString), - "-j", string(kubeMarkDropChain)) + "-A", string(externalTrafficChain), + "-m", "comment", "--comment", fmt.Sprintf(`"route LOCAL traffic for %s external destinations"`, svcPortNameString), + "-m", "addrtype", "--src-type", "LOCAL", + "-j", string(clusterPolicyChain)) + } + + // Anything else falls thru to the appropriate policy chain. + if hasExternalEndpoints { + proxier.natRules.Write( + "-A", string(externalTrafficChain), + "-j", string(externalPolicyChain)) } } - } - // Delete chains no longer in use. - for chain := range existingNATChains { - if !activeNATChains[chain] { - chainString := string(chain) - if !isServiceChainName(chainString) { - // Ignore chains that aren't ours. + // Set up firewall chain, if needed + if usesFWChain { + proxier.natChains.Write(utiliptables.MakeChainLine(fwChain)) + + // The service firewall rules are created based on the + // loadBalancerSourceRanges field. This only works for VIP-like + // loadbalancers that preserve source IPs. For loadbalancers which + // direct traffic to service NodePort, the firewall rules will not + // apply. + args = append(args[:0], + "-A", string(fwChain), + "-m", "comment", "--comment", fmt.Sprintf(`"%s loadbalancer IP"`, svcPortNameString), + ) + + // firewall filter based on each source range + allowFromNode := false + for _, src := range svcInfo.LoadBalancerSourceRanges() { + proxier.natRules.Write(args, "-s", src, "-j", string(externalTrafficChain)) + _, cidr, err := netutils.ParseCIDRSloppy(src) + if err != nil { + klog.ErrorS(err, "Error parsing CIDR in LoadBalancerSourceRanges, dropping it", "cidr", cidr) + } else if cidr.Contains(proxier.nodeIP) { + allowFromNode = true + } + } + // For VIP-like LBs, the VIP is often added as a local + // address (via an IP route rule). In that case, a request + // from a node to the VIP will not hit the loadbalancer but + // will loop back with the source IP set to the VIP. We + // need the following rules to allow requests from this node. + if allowFromNode { + for _, lbip := range svcInfo.LoadBalancerIPStrings() { + proxier.natRules.Write( + args, + "-s", lbip, + "-j", string(externalTrafficChain)) + } + } + // If the packet was able to reach the end of firewall chain, + // then it did not get DNATed and will be dropped later by the + // corresponding KUBE-PROXY-FIREWALL rule. + } + + // If Cluster policy is in use, create the chain and create rules jumping + // from clusterPolicyChain to the clusterEndpoints + if usesClusterPolicyChain { + proxier.natChains.Write(utiliptables.MakeChainLine(clusterPolicyChain)) + proxier.writeServiceToEndpointRules(svcPortNameString, svcInfo, clusterPolicyChain, clusterEndpoints, args) + } + + // If Local policy is in use, create the chain and create rules jumping + // from localPolicyChain to the localEndpoints + if usesLocalPolicyChain { + proxier.natChains.Write(utiliptables.MakeChainLine(localPolicyChain)) + proxier.writeServiceToEndpointRules(svcPortNameString, svcInfo, localPolicyChain, localEndpoints, args) + } + + // Generate the per-endpoint chains. + for _, ep := range allLocallyReachableEndpoints { + epInfo, ok := ep.(*endpointsInfo) + if !ok { + klog.ErrorS(err, "Failed to cast endpointsInfo", "endpointsInfo", ep) continue } - // We must (as per iptables) write a chain-line for it, which has - // the nice effect of flushing the chain. Then we can remove the - // chain. - proxier.natChains.WriteBytes(existingNATChains[chain]) - proxier.natRules.Write("-X", chainString) + + endpointChain := epInfo.ChainName + + // Create the endpoint chain + proxier.natChains.Write(utiliptables.MakeChainLine(endpointChain)) + activeNATChains[endpointChain] = true + + args = append(args[:0], "-A", string(endpointChain)) + args = proxier.appendServiceCommentLocked(args, svcPortNameString) + // Handle traffic that loops back to the originator with SNAT. + proxier.natRules.Write( + args, + "-s", epInfo.IP(), + "-j", string(kubeMarkMasqChain)) + // Update client-affinity lists. + if svcInfo.SessionAffinityType() == v1.ServiceAffinityClientIP { + args = append(args, "-m", "recent", "--name", string(endpointChain), "--set") + } + // DNAT to final destination. + args = append(args, "-m", protocol, "-p", protocol, "-j", "DNAT", "--to-destination", epInfo.Endpoint) + proxier.natRules.Write(args) + } + } + + // Delete chains no longer in use. Since "iptables-save" can take several seconds + // to run on hosts with lots of iptables rules, we don't bother to do this on + // every sync in large clusters. (Stale chains will not be referenced by any + // active rules, so they're harmless other than taking up memory.) + if !proxier.largeClusterMode || time.Since(proxier.lastIPTablesCleanup) > proxier.syncPeriod { + var existingNATChains map[utiliptables.Chain]struct{} + + proxier.iptablesData.Reset() + if err := proxier.iptables.SaveInto(utiliptables.TableNAT, proxier.iptablesData); err == nil { + existingNATChains = utiliptables.GetChainsFromTable(proxier.iptablesData.Bytes()) + + for chain := range existingNATChains { + if !activeNATChains[chain] { + chainString := string(chain) + if !isServiceChainName(chainString) { + // Ignore chains that aren't ours. + continue + } + // We must (as per iptables) write a chain-line + // for it, which has the nice effect of flushing + // the chain. Then we can remove the chain. + proxier.natChains.Write(utiliptables.MakeChainLine(chain)) + proxier.natRules.Write("-X", chainString) + } + } + proxier.lastIPTablesCleanup = time.Now() + } else { + klog.ErrorS(err, "Failed to execute iptables-save: stale chains will not be deleted") } } @@ -1460,7 +1486,7 @@ func (proxier *Proxier) syncProxyRules() { klog.V(2).InfoS("Reloading service iptables data", "numServices", len(proxier.serviceMap), - "numEndpoints", proxier.endpointChainsNumber, + "numEndpoints", totalEndpoints, "numFilterChains", proxier.filterChains.Lines(), "numFilterRules", proxier.filterRules.Lines(), "numNATChains", proxier.natChains.Lines(), diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/ipvs/ipset.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/ipvs/ipset.go index 510d4c98fe8b..5f2891c58931 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/ipvs/ipset.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/ipvs/ipset.go @@ -133,7 +133,7 @@ func (set *IPSet) validateEntry(entry *utilipset.Entry) bool { } func (set *IPSet) isEmpty() bool { - return len(set.activeEntries.UnsortedList()) == 0 + return set.activeEntries.Len() == 0 } func (set *IPSet) getComment() string { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/ipvs/proxier.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/ipvs/proxier.go index 74e2f1c471ce..de9348e5ec4e 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/ipvs/proxier.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/ipvs/proxier.go @@ -304,11 +304,10 @@ type realIPGetter struct { // NodeIPs returns all LOCAL type IP addresses from host which are // taken as the Node IPs of NodePort service. Filtered addresses: // -// * Loopback addresses -// * Addresses of the "other" family (not handled by this proxier instance) -// * Link-local IPv6 addresses -// * Addresses on the created dummy device `kube-ipvs0` -// +// - Loopback addresses +// - Addresses of the "other" family (not handled by this proxier instance) +// - Link-local IPv6 addresses +// - Addresses on the created dummy device `kube-ipvs0` func (r *realIPGetter) NodeIPs() (ips []net.IP, err error) { nodeAddress, err := r.nl.GetAllLocalAddresses() @@ -955,7 +954,7 @@ func (proxier *Proxier) OnNodeAdd(node *v1.Node) { proxier.mu.Unlock() klog.V(4).InfoS("Updated proxier node labels", "labels", node.Labels) - proxier.syncProxyRules() + proxier.Sync() } // OnNodeUpdate is called whenever modification of an existing @@ -978,7 +977,7 @@ func (proxier *Proxier) OnNodeUpdate(oldNode, node *v1.Node) { proxier.mu.Unlock() klog.V(4).InfoS("Updated proxier node labels", "labels", node.Labels) - proxier.syncProxyRules() + proxier.Sync() } // OnNodeDelete is called whenever deletion of an existing node @@ -992,7 +991,7 @@ func (proxier *Proxier) OnNodeDelete(node *v1.Node) { proxier.nodeLabels = nil proxier.mu.Unlock() - proxier.syncProxyRules() + proxier.Sync() } // OnNodeSynced is called once all the initial event handlers were @@ -1839,27 +1838,15 @@ func (proxier *Proxier) acceptIPVSTraffic() { // createAndLinkKubeChain create all kube chains that ipvs proxier need and write basic link. func (proxier *Proxier) createAndLinkKubeChain() { - existingFilterChains := proxier.getExistingChains(proxier.filterChainsData, utiliptables.TableFilter) - existingNATChains := proxier.getExistingChains(proxier.iptablesData, utiliptables.TableNAT) - - // Make sure we keep stats for the top-level chains for _, ch := range iptablesChains { if _, err := proxier.iptables.EnsureChain(ch.table, ch.chain); err != nil { klog.ErrorS(err, "Failed to ensure chain exists", "table", ch.table, "chain", ch.chain) return } if ch.table == utiliptables.TableNAT { - if chain, ok := existingNATChains[ch.chain]; ok { - proxier.natChains.WriteBytes(chain) - } else { - proxier.natChains.Write(utiliptables.MakeChainLine(ch.chain)) - } + proxier.natChains.Write(utiliptables.MakeChainLine(ch.chain)) } else { - if chain, ok := existingFilterChains[ch.chain]; ok { - proxier.filterChains.WriteBytes(chain) - } else { - proxier.filterChains.Write(utiliptables.MakeChainLine(ch.chain)) - } + proxier.filterChains.Write(utiliptables.MakeChainLine(ch.chain)) } } @@ -1872,20 +1859,6 @@ func (proxier *Proxier) createAndLinkKubeChain() { } -// getExistingChains get iptables-save output so we can check for existing chains and rules. -// This will be a map of chain name to chain with rules as stored in iptables-save/iptables-restore -// Result may SHARE memory with contents of buffer. -func (proxier *Proxier) getExistingChains(buffer *bytes.Buffer, table utiliptables.Table) map[utiliptables.Chain][]byte { - buffer.Reset() - err := proxier.iptables.SaveInto(table, buffer) - if err != nil { // if we failed to get any rules - klog.ErrorS(err, "Failed to execute iptables-save, syncing all rules") - } else { // otherwise parse the output - return utiliptables.GetChainLines(table, buffer.Bytes()) - } - return nil -} - // After a UDP or SCTP endpoint has been removed, we must flush any pending conntrack entries to it, or else we // risk sending more traffic to it, all of which will be lost (because UDP). // This assumes the proxier mutex is held diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/service.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/service.go index 17e746fbfaca..2346565ed258 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/service.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/service.go @@ -289,8 +289,10 @@ func NewServiceChangeTracker(makeServiceInfo makeServicePortFunc, ipFamily v1.IP // otherwise return false. Update can be used to add/update/delete items of ServiceChangeMap. For example, // Add item // - pass as the pair. +// // Update item // - pass as the pair. +// // Delete item // - pass as the pair. func (sct *ServiceChangeTracker) Update(previous, current *v1.Service) bool { @@ -415,17 +417,18 @@ func (sm *ServiceMap) apply(changes *ServiceChangeTracker, UDPStaleClusterIP set // tell if a service is deleted or updated. // The returned value is one of the arguments of ServiceMap.unmerge(). // ServiceMap A Merge ServiceMap B will do following 2 things: -// * update ServiceMap A. -// * produce a string set which stores all other ServiceMap's ServicePortName.String(). +// - update ServiceMap A. +// - produce a string set which stores all other ServiceMap's ServicePortName.String(). +// // For example, // - A{} // - B{{"ns", "cluster-ip", "http"}: {"172.16.55.10", 1234, "TCP"}} -// - A updated to be {{"ns", "cluster-ip", "http"}: {"172.16.55.10", 1234, "TCP"}} -// - produce string set {"ns/cluster-ip:http"} +// - A updated to be {{"ns", "cluster-ip", "http"}: {"172.16.55.10", 1234, "TCP"}} +// - produce string set {"ns/cluster-ip:http"} // - A{{"ns", "cluster-ip", "http"}: {"172.16.55.10", 345, "UDP"}} // - B{{"ns", "cluster-ip", "http"}: {"172.16.55.10", 1234, "TCP"}} -// - A updated to be {{"ns", "cluster-ip", "http"}: {"172.16.55.10", 1234, "TCP"}} -// - produce string set {"ns/cluster-ip:http"} +// - A updated to be {{"ns", "cluster-ip", "http"}: {"172.16.55.10", 1234, "TCP"}} +// - produce string set {"ns/cluster-ip:http"} func (sm *ServiceMap) merge(other ServiceMap) sets.String { // existingPorts is going to store all identifiers of all services in `other` ServiceMap. existingPorts := sets.NewString() diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/winkernel/hnsV2.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/winkernel/hns.go similarity index 84% rename from cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/winkernel/hnsV2.go rename to cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/winkernel/hns.go index 78ce01b2f87e..051a5b300357 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/winkernel/hnsV2.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/winkernel/hns.go @@ -29,14 +29,27 @@ import ( "strings" ) -type hnsV2 struct{} +type HostNetworkService interface { + getNetworkByName(name string) (*hnsNetworkInfo, error) + getAllEndpointsByNetwork(networkName string) (map[string]*endpointsInfo, error) + getEndpointByID(id string) (*endpointsInfo, error) + getEndpointByIpAddress(ip string, networkName string) (*endpointsInfo, error) + getEndpointByName(id string) (*endpointsInfo, error) + createEndpoint(ep *endpointsInfo, networkName string) (*endpointsInfo, error) + deleteEndpoint(hnsID string) error + getLoadBalancer(endpoints []endpointsInfo, flags loadBalancerFlags, sourceVip string, vip string, protocol uint16, internalPort uint16, externalPort uint16, previousLoadBalancers map[loadBalancerIdentifier]*loadBalancerInfo) (*loadBalancerInfo, error) + getAllLoadBalancers() (map[loadBalancerIdentifier]*loadBalancerInfo, error) + deleteLoadBalancer(hnsID string) error +} + +type hns struct{} var ( // LoadBalancerFlagsIPv6 enables IPV6. LoadBalancerFlagsIPv6 hcn.LoadBalancerFlags = 2 ) -func (hns hnsV2) getNetworkByName(name string) (*hnsNetworkInfo, error) { +func (hns hns) getNetworkByName(name string) (*hnsNetworkInfo, error) { hnsnetwork, err := hcn.GetNetworkByName(name) if err != nil { klog.ErrorS(err, "Error getting network by name") @@ -69,7 +82,7 @@ func (hns hnsV2) getNetworkByName(name string) (*hnsNetworkInfo, error) { }, nil } -func (hns hnsV2) getAllEndpointsByNetwork(networkName string) (map[string]*(endpointsInfo), error) { +func (hns hns) getAllEndpointsByNetwork(networkName string) (map[string]*(endpointsInfo), error) { hcnnetwork, err := hcn.GetNetworkByName(networkName) if err != nil { klog.ErrorS(err, "failed to get HNS network by name", "name", networkName) @@ -101,7 +114,7 @@ func (hns hnsV2) getAllEndpointsByNetwork(networkName string) (map[string]*(endp return endpointInfos, nil } -func (hns hnsV2) getEndpointByID(id string) (*endpointsInfo, error) { +func (hns hns) getEndpointByID(id string) (*endpointsInfo, error) { hnsendpoint, err := hcn.GetEndpointByID(id) if err != nil { return nil, err @@ -114,7 +127,7 @@ func (hns hnsV2) getEndpointByID(id string) (*endpointsInfo, error) { hns: hns, }, nil } -func (hns hnsV2) getEndpointByIpAddress(ip string, networkName string) (*endpointsInfo, error) { +func (hns hns) getEndpointByIpAddress(ip string, networkName string) (*endpointsInfo, error) { hnsnetwork, err := hcn.GetNetworkByName(networkName) if err != nil { klog.ErrorS(err, "Error getting network by name") @@ -146,7 +159,7 @@ func (hns hnsV2) getEndpointByIpAddress(ip string, networkName string) (*endpoin } return nil, fmt.Errorf("Endpoint %v not found on network %s", ip, networkName) } -func (hns hnsV2) getEndpointByName(name string) (*endpointsInfo, error) { +func (hns hns) getEndpointByName(name string) (*endpointsInfo, error) { hnsendpoint, err := hcn.GetEndpointByName(name) if err != nil { return nil, err @@ -159,7 +172,7 @@ func (hns hnsV2) getEndpointByName(name string) (*endpointsInfo, error) { hns: hns, }, nil } -func (hns hnsV2) createEndpoint(ep *endpointsInfo, networkName string) (*endpointsInfo, error) { +func (hns hns) createEndpoint(ep *endpointsInfo, networkName string) (*endpointsInfo, error) { hnsNetwork, err := hcn.GetNetworkByName(networkName) if err != nil { return nil, err @@ -216,7 +229,7 @@ func (hns hnsV2) createEndpoint(ep *endpointsInfo, networkName string) (*endpoin hns: hns, }, nil } -func (hns hnsV2) deleteEndpoint(hnsID string) error { +func (hns hns) deleteEndpoint(hnsID string) error { hnsendpoint, err := hcn.GetEndpointByID(hnsID) if err != nil { return err @@ -228,7 +241,7 @@ func (hns hnsV2) deleteEndpoint(hnsID string) error { return err } -func (hns hnsV2) getAllLoadBalancers() (map[loadBalancerIdentifier]*loadBalancerInfo, error) { +func (hns hns) getAllLoadBalancers() (map[loadBalancerIdentifier]*loadBalancerInfo, error) { lbs, err := hcn.ListLoadBalancers() var id loadBalancerIdentifier if err != nil { @@ -251,7 +264,7 @@ func (hns hnsV2) getAllLoadBalancers() (map[loadBalancerIdentifier]*loadBalancer return loadBalancers, nil } -func (hns hnsV2) getLoadBalancer(endpoints []endpointsInfo, flags loadBalancerFlags, sourceVip string, vip string, protocol uint16, internalPort uint16, externalPort uint16, previousLoadBalancers map[loadBalancerIdentifier]*loadBalancerInfo) (*loadBalancerInfo, error) { +func (hns hns) getLoadBalancer(endpoints []endpointsInfo, flags loadBalancerFlags, sourceVip string, vip string, protocol uint16, internalPort uint16, externalPort uint16, previousLoadBalancers map[loadBalancerIdentifier]*loadBalancerInfo) (*loadBalancerInfo, error) { var id loadBalancerIdentifier vips := []string{} if len(vip) > 0 { @@ -333,7 +346,7 @@ func (hns hnsV2) getLoadBalancer(endpoints []endpointsInfo, flags loadBalancerFl return lbInfo, err } -func (hns hnsV2) deleteLoadBalancer(hnsID string) error { +func (hns hns) deleteLoadBalancer(hnsID string) error { lb, err := hcn.GetLoadBalancerByID(hnsID) if err != nil { // Return silently diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/winkernel/hnsV1.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/winkernel/hnsV1.go deleted file mode 100644 index 8f3d6c2acb49..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/winkernel/hnsV1.go +++ /dev/null @@ -1,315 +0,0 @@ -//go:build windows -// +build windows - -/* -Copyright 2018 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package winkernel - -import ( - "encoding/json" - "fmt" - "strings" - - "github.com/Microsoft/hcsshim" - "k8s.io/klog/v2" - netutils "k8s.io/utils/net" -) - -type HostNetworkService interface { - getNetworkByName(name string) (*hnsNetworkInfo, error) - getAllEndpointsByNetwork(networkName string) (map[string]*endpointsInfo, error) - getEndpointByID(id string) (*endpointsInfo, error) - getEndpointByIpAddress(ip string, networkName string) (*endpointsInfo, error) - getEndpointByName(id string) (*endpointsInfo, error) - createEndpoint(ep *endpointsInfo, networkName string) (*endpointsInfo, error) - deleteEndpoint(hnsID string) error - getLoadBalancer(endpoints []endpointsInfo, flags loadBalancerFlags, sourceVip string, vip string, protocol uint16, internalPort uint16, externalPort uint16, previousLoadBalancers map[loadBalancerIdentifier]*loadBalancerInfo) (*loadBalancerInfo, error) - getAllLoadBalancers() (map[loadBalancerIdentifier]*loadBalancerInfo, error) - deleteLoadBalancer(hnsID string) error -} - -// V1 HNS API -type hnsV1 struct{} - -func (hns hnsV1) getNetworkByName(name string) (*hnsNetworkInfo, error) { - hnsnetwork, err := hcsshim.GetHNSNetworkByName(name) - if err != nil { - klog.ErrorS(err, "failed to get HNS network by name", "name", name) - return nil, err - } - - return &hnsNetworkInfo{ - id: hnsnetwork.Id, - name: hnsnetwork.Name, - networkType: hnsnetwork.Type, - }, nil -} - -func (hns hnsV1) getAllEndpointsByNetwork(networkName string) (map[string]*(endpointsInfo), error) { - hnsnetwork, err := hcsshim.GetHNSNetworkByName(networkName) - if err != nil { - klog.ErrorS(err, "failed to get HNS network by name", "name", networkName) - return nil, err - } - endpoints, err := hcsshim.HNSListEndpointRequest() - if err != nil { - return nil, fmt.Errorf("failed to list endpoints: %w", err) - } - endpointInfos := make(map[string]*(endpointsInfo)) - for _, endpoint := range endpoints { - if strings.EqualFold(endpoint.VirtualNetwork, hnsnetwork.Id) { - // Add to map with key endpoint ID or IP address - // Storing this is expensive in terms of memory, however there is a bug in Windows Server 2019 that can cause two endpoints to be created with the same IP address. - // TODO: Store by IP only and remove any lookups by endpoint ID. - endpointInfos[endpoint.Id] = &endpointsInfo{ - ip: endpoint.IPAddress.String(), - isLocal: !endpoint.IsRemoteEndpoint, - macAddress: endpoint.MacAddress, - hnsID: endpoint.Id, - hns: hns, - // only ready and not terminating endpoints were added to HNS - ready: true, - serving: true, - terminating: false, - } - endpointInfos[endpoint.IPAddress.String()] = endpointInfos[endpoint.Id] - } - } - klog.V(3).InfoS("Queried endpoints from network", "network", networkName) - return endpointInfos, nil -} - -func (hns hnsV1) getEndpointByID(id string) (*endpointsInfo, error) { - hnsendpoint, err := hcsshim.GetHNSEndpointByID(id) - if err != nil { - klog.ErrorS(err, "failed to get HNS endpoint by id", "id", id) - return nil, err - } - return &endpointsInfo{ - ip: hnsendpoint.IPAddress.String(), - //TODO: Change isLocal to isRemote - isLocal: !hnsendpoint.IsRemoteEndpoint, - macAddress: hnsendpoint.MacAddress, - hnsID: hnsendpoint.Id, - hns: hns, - - // only ready and not terminating endpoints were added to HNS - ready: true, - serving: true, - terminating: false, - }, nil -} -func (hns hnsV1) getEndpointByIpAddress(ip string, networkName string) (*endpointsInfo, error) { - hnsnetwork, err := hcsshim.GetHNSNetworkByName(networkName) - if err != nil { - klog.ErrorS(err, "failed to get HNS network by name", "name", networkName) - return nil, err - } - - endpoints, err := hcsshim.HNSListEndpointRequest() - if err != nil { - return nil, fmt.Errorf("failed to list endpoints: %w", err) - } - for _, endpoint := range endpoints { - equal := false - if endpoint.IPAddress != nil { - equal = endpoint.IPAddress.String() == ip - } - if equal && strings.EqualFold(endpoint.VirtualNetwork, hnsnetwork.Id) { - return &endpointsInfo{ - ip: endpoint.IPAddress.String(), - isLocal: !endpoint.IsRemoteEndpoint, - macAddress: endpoint.MacAddress, - hnsID: endpoint.Id, - hns: hns, - - // only ready and not terminating endpoints were added to HNS - ready: true, - serving: true, - terminating: false, - }, nil - } - } - - return nil, fmt.Errorf("Endpoint %v not found on network %s", ip, networkName) -} - -func (hns hnsV1) getEndpointByName(name string) (*endpointsInfo, error) { - hnsendpoint, err := hcsshim.GetHNSEndpointByName(name) - if err != nil { - klog.ErrorS(err, "failed to get HNS endpoint by name", "name", name) - return nil, err - } - return &endpointsInfo{ - ip: hnsendpoint.IPAddress.String(), - //TODO: Change isLocal to isRemote - isLocal: !hnsendpoint.IsRemoteEndpoint, - macAddress: hnsendpoint.MacAddress, - hnsID: hnsendpoint.Id, - hns: hns, - }, nil -} - -func (hns hnsV1) createEndpoint(ep *endpointsInfo, networkName string) (*endpointsInfo, error) { - hnsNetwork, err := hcsshim.GetHNSNetworkByName(networkName) - if err != nil { - return nil, err - } - hnsEndpoint := &hcsshim.HNSEndpoint{ - MacAddress: ep.macAddress, - IPAddress: netutils.ParseIPSloppy(ep.ip), - } - - var createdEndpoint *hcsshim.HNSEndpoint - if !ep.isLocal { - if len(ep.providerAddress) != 0 { - paPolicy := hcsshim.PaPolicy{ - Type: hcsshim.PA, - PA: ep.providerAddress, - } - paPolicyJson, err := json.Marshal(paPolicy) - if err != nil { - return nil, err - } - hnsEndpoint.Policies = append(hnsEndpoint.Policies, paPolicyJson) - } - createdEndpoint, err = hnsNetwork.CreateRemoteEndpoint(hnsEndpoint) - if err != nil { - return nil, err - } - - } else { - createdEndpoint, err = hnsNetwork.CreateEndpoint(hnsEndpoint) - if err != nil { - return nil, fmt.Errorf("local endpoint creation failed: %w", err) - } - } - return &endpointsInfo{ - ip: createdEndpoint.IPAddress.String(), - isLocal: createdEndpoint.IsRemoteEndpoint, - macAddress: createdEndpoint.MacAddress, - hnsID: createdEndpoint.Id, - providerAddress: ep.providerAddress, //TODO get from createdEndpoint - hns: hns, - - ready: ep.ready, - serving: ep.serving, - terminating: ep.terminating, - }, nil -} -func (hns hnsV1) deleteEndpoint(hnsID string) error { - hnsendpoint, err := hcsshim.GetHNSEndpointByID(hnsID) - if err != nil { - return err - } - _, err = hnsendpoint.Delete() - if err == nil { - klog.V(3).InfoS("Remote endpoint resource deleted id", "id", hnsID) - } - return err -} - -func (hns hnsV1) getAllLoadBalancers() (map[loadBalancerIdentifier]*loadBalancerInfo, error) { - plists, err := hcsshim.HNSListPolicyListRequest() - var id loadBalancerIdentifier - if err != nil { - return nil, err - } - loadBalancers := make(map[loadBalancerIdentifier]*(loadBalancerInfo)) - for _, plist := range plists { - // Validate if input meets any of the policy lists - lb := hcsshim.ELBPolicy{} - if err = json.Unmarshal(plist.Policies[0], &lb); err != nil { - continue - } - // Policy is ELB policy - portMap := lb.LBPolicy - if len(lb.VIPs) == 0 { - // Leave VIP uninitialized - id = loadBalancerIdentifier{protocol: uint16(portMap.Protocol), internalPort: portMap.InternalPort, externalPort: portMap.ExternalPort} - } else { - id = loadBalancerIdentifier{protocol: portMap.Protocol, internalPort: portMap.InternalPort, externalPort: portMap.ExternalPort, vip: lb.VIPs[0]} - } - loadBalancers[id] = &loadBalancerInfo{ - hnsID: plist.ID, - } - } - return loadBalancers, nil -} - -func (hns hnsV1) getLoadBalancer(endpoints []endpointsInfo, flags loadBalancerFlags, sourceVip string, vip string, protocol uint16, internalPort uint16, externalPort uint16, previousLoadBalancers map[loadBalancerIdentifier]*loadBalancerInfo) (*loadBalancerInfo, error) { - if flags.isDSR { - klog.V(3).InfoS("DSR is not supported in V1. Using non DSR instead") - } - var id loadBalancerIdentifier - if len(vip) > 0 { - id = loadBalancerIdentifier{protocol: protocol, internalPort: internalPort, externalPort: externalPort, vip: vip, endpointsCount: len(endpoints)} - } else { - id = loadBalancerIdentifier{protocol: protocol, internalPort: internalPort, externalPort: externalPort, endpointsCount: len(endpoints)} - } - - if lb, found := previousLoadBalancers[id]; found { - klog.V(1).InfoS("Found existing Hns loadbalancer policy resource", "policies", lb) - return lb, nil - } - - var hnsEndpoints []hcsshim.HNSEndpoint - for _, ep := range endpoints { - endpoint, err := hcsshim.GetHNSEndpointByID(ep.hnsID) - if err != nil { - return nil, err - } - hnsEndpoints = append(hnsEndpoints, *endpoint) - } - lb, err := hcsshim.AddLoadBalancer( - hnsEndpoints, - flags.isILB, - sourceVip, - vip, - protocol, - internalPort, - externalPort, - ) - - if err == nil { - klog.V(1).InfoS("Hns loadbalancer policy resource", "policies", lb) - } else { - return nil, err - } - lbInfo := &loadBalancerInfo{ - hnsID: lb.ID, - } - // Add to map of load balancers - previousLoadBalancers[id] = lbInfo - return lbInfo, err -} -func (hns hnsV1) deleteLoadBalancer(hnsID string) error { - if len(hnsID) == 0 { - // Return silently - return nil - } - - // Cleanup HNS policies - hnsloadBalancer, err := hcsshim.GetPolicyListByID(hnsID) - if err != nil { - return err - } - klog.V(2).InfoS("Removing Policy", "policies", hnsloadBalancer) - - _, err = hnsloadBalancer.Delete() - return err -} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/winkernel/proxier.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/winkernel/proxier.go index 0deea637fba4..74f85f136ee8 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/winkernel/proxier.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/proxy/winkernel/proxier.go @@ -146,14 +146,15 @@ type remoteSubnetInfo struct { const NETWORK_TYPE_OVERLAY = "overlay" func newHostNetworkService() (HostNetworkService, hcn.SupportedFeatures) { - var hns HostNetworkService - hns = hnsV1{} + var h HostNetworkService supportedFeatures := hcn.GetSupportedFeatures() if supportedFeatures.Api.V2 { - hns = hnsV2{} + h = hns{} + } else { + panic("Windows HNS Api V2 required. This version of windows does not support API V2") } - return hns, supportedFeatures + return h, supportedFeatures } func getNetworkName(hnsNetworkName string) (string, error) { @@ -296,10 +297,10 @@ func (info *endpointsInfo) GetZone() string { return "" } -//Uses mac prefix and IPv4 address to return a mac address -//This ensures mac addresses are unique for proper load balancing -//There is a possibility of MAC collisions but this Mac address is used for remote endpoints only -//and not sent on the wire. +// Uses mac prefix and IPv4 address to return a mac address +// This ensures mac addresses are unique for proper load balancing +// There is a possibility of MAC collisions but this Mac address is used for remote endpoints only +// and not sent on the wire. func conjureMac(macPrefix string, ip net.IP) string { if ip4 := ip.To4(); ip4 != nil { a, b, c, d := ip4[0], ip4[1], ip4[2], ip4[3] diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/latest/latest.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/latest/latest.go index 1833b873fe97..49c196c8a250 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/latest/latest.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/latest/latest.go @@ -18,7 +18,7 @@ package latest import ( "k8s.io/component-base/config/v1alpha1" - "k8s.io/kube-scheduler/config/v1beta3" + v1 "k8s.io/kube-scheduler/config/v1" "k8s.io/kubernetes/pkg/scheduler/apis/config" "k8s.io/kubernetes/pkg/scheduler/apis/config/scheme" ) @@ -26,7 +26,7 @@ import ( // Default creates a default configuration of the latest versioned type. // This function needs to be updated whenever we bump the scheduler's component config version. func Default() (*config.KubeSchedulerConfiguration, error) { - versionedCfg := v1beta3.KubeSchedulerConfiguration{} + versionedCfg := v1.KubeSchedulerConfiguration{} versionedCfg.DebuggingConfiguration = *v1alpha1.NewRecommendedDebuggingConfiguration() scheme.Scheme.Default(&versionedCfg) @@ -38,6 +38,6 @@ func Default() (*config.KubeSchedulerConfiguration, error) { // because the field will be cleared later by API machinery during // conversion. See KubeSchedulerConfiguration internal type definition for // more details. - cfg.TypeMeta.APIVersion = v1beta3.SchemeGroupVersion.String() + cfg.TypeMeta.APIVersion = v1.SchemeGroupVersion.String() return &cfg, nil } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/scheme/scheme.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/scheme/scheme.go index f8bbad2d1fe6..375b49b569ac 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/scheme/scheme.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/scheme/scheme.go @@ -21,6 +21,7 @@ import ( "k8s.io/apimachinery/pkg/runtime/serializer" utilruntime "k8s.io/apimachinery/pkg/util/runtime" config "k8s.io/kubernetes/pkg/scheduler/apis/config" + configv1 "k8s.io/kubernetes/pkg/scheduler/apis/config/v1" configv1beta2 "k8s.io/kubernetes/pkg/scheduler/apis/config/v1beta2" configv1beta3 "k8s.io/kubernetes/pkg/scheduler/apis/config/v1beta3" ) @@ -42,7 +43,10 @@ func AddToScheme(scheme *runtime.Scheme) { utilruntime.Must(config.AddToScheme(scheme)) utilruntime.Must(configv1beta2.AddToScheme(scheme)) utilruntime.Must(configv1beta3.AddToScheme(scheme)) + utilruntime.Must(configv1.AddToScheme(scheme)) utilruntime.Must(scheme.SetVersionPriority( + configv1.SchemeGroupVersion, configv1beta3.SchemeGroupVersion, - configv1beta2.SchemeGroupVersion)) + configv1beta2.SchemeGroupVersion, + )) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/conversion.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/conversion.go new file mode 100644 index 000000000000..18115f93f49f --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/conversion.go @@ -0,0 +1,107 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1 + +import ( + "fmt" + "sync" + + "k8s.io/apimachinery/pkg/conversion" + "k8s.io/apimachinery/pkg/runtime" + utilruntime "k8s.io/apimachinery/pkg/util/runtime" + v1 "k8s.io/kube-scheduler/config/v1" + "k8s.io/kubernetes/pkg/scheduler/apis/config" +) + +var ( + // pluginArgConversionScheme is a scheme with internal and v1 registered, + // used for defaulting/converting typed PluginConfig Args. + // Access via getPluginArgConversionScheme() + pluginArgConversionScheme *runtime.Scheme + initPluginArgConversionScheme sync.Once +) + +func GetPluginArgConversionScheme() *runtime.Scheme { + initPluginArgConversionScheme.Do(func() { + // set up the scheme used for plugin arg conversion + pluginArgConversionScheme = runtime.NewScheme() + utilruntime.Must(AddToScheme(pluginArgConversionScheme)) + utilruntime.Must(config.AddToScheme(pluginArgConversionScheme)) + }) + return pluginArgConversionScheme +} + +func Convert_v1_KubeSchedulerConfiguration_To_config_KubeSchedulerConfiguration(in *v1.KubeSchedulerConfiguration, out *config.KubeSchedulerConfiguration, s conversion.Scope) error { + if err := autoConvert_v1_KubeSchedulerConfiguration_To_config_KubeSchedulerConfiguration(in, out, s); err != nil { + return err + } + return convertToInternalPluginConfigArgs(out) +} + +// convertToInternalPluginConfigArgs converts PluginConfig#Args into internal +// types using a scheme, after applying defaults. +func convertToInternalPluginConfigArgs(out *config.KubeSchedulerConfiguration) error { + scheme := GetPluginArgConversionScheme() + for i := range out.Profiles { + prof := &out.Profiles[i] + for j := range prof.PluginConfig { + args := prof.PluginConfig[j].Args + if args == nil { + continue + } + if _, isUnknown := args.(*runtime.Unknown); isUnknown { + continue + } + internalArgs, err := scheme.ConvertToVersion(args, config.SchemeGroupVersion) + if err != nil { + return fmt.Errorf("converting .Profiles[%d].PluginConfig[%d].Args into internal type: %w", i, j, err) + } + prof.PluginConfig[j].Args = internalArgs + } + } + return nil +} + +func Convert_config_KubeSchedulerConfiguration_To_v1_KubeSchedulerConfiguration(in *config.KubeSchedulerConfiguration, out *v1.KubeSchedulerConfiguration, s conversion.Scope) error { + if err := autoConvert_config_KubeSchedulerConfiguration_To_v1_KubeSchedulerConfiguration(in, out, s); err != nil { + return err + } + return convertToExternalPluginConfigArgs(out) +} + +// convertToExternalPluginConfigArgs converts PluginConfig#Args into +// external (versioned) types using a scheme. +func convertToExternalPluginConfigArgs(out *v1.KubeSchedulerConfiguration) error { + scheme := GetPluginArgConversionScheme() + for i := range out.Profiles { + for j := range out.Profiles[i].PluginConfig { + args := out.Profiles[i].PluginConfig[j].Args + if args.Object == nil { + continue + } + if _, isUnknown := args.Object.(*runtime.Unknown); isUnknown { + continue + } + externalArgs, err := scheme.ConvertToVersion(args.Object, SchemeGroupVersion) + if err != nil { + return err + } + out.Profiles[i].PluginConfig[j].Args.Object = externalArgs + } + } + return nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/default_plugins.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/default_plugins.go new file mode 100644 index 000000000000..73c3635b57ec --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/default_plugins.go @@ -0,0 +1,135 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1 + +import ( + "k8s.io/apimachinery/pkg/util/sets" + "k8s.io/klog/v2" + v1 "k8s.io/kube-scheduler/config/v1" + "k8s.io/kubernetes/pkg/scheduler/framework/plugins/names" + "k8s.io/utils/pointer" +) + +// getDefaultPlugins returns the default set of plugins. +func getDefaultPlugins() *v1.Plugins { + plugins := &v1.Plugins{ + MultiPoint: v1.PluginSet{ + Enabled: []v1.Plugin{ + {Name: names.PrioritySort}, + {Name: names.NodeUnschedulable}, + {Name: names.NodeName}, + {Name: names.TaintToleration, Weight: pointer.Int32(3)}, + {Name: names.NodeAffinity, Weight: pointer.Int32(2)}, + {Name: names.NodePorts}, + {Name: names.NodeResourcesFit, Weight: pointer.Int32(1)}, + {Name: names.VolumeRestrictions}, + {Name: names.EBSLimits}, + {Name: names.GCEPDLimits}, + {Name: names.NodeVolumeLimits}, + {Name: names.AzureDiskLimits}, + {Name: names.VolumeBinding}, + {Name: names.VolumeZone}, + {Name: names.PodTopologySpread, Weight: pointer.Int32(2)}, + {Name: names.InterPodAffinity, Weight: pointer.Int32(2)}, + {Name: names.DefaultPreemption}, + {Name: names.NodeResourcesBalancedAllocation, Weight: pointer.Int32(1)}, + {Name: names.ImageLocality, Weight: pointer.Int32(1)}, + {Name: names.DefaultBinder}, + }, + }, + } + + return plugins +} + +// mergePlugins merges the custom set into the given default one, handling disabled sets. +func mergePlugins(defaultPlugins, customPlugins *v1.Plugins) *v1.Plugins { + if customPlugins == nil { + return defaultPlugins + } + + defaultPlugins.MultiPoint = mergePluginSet(defaultPlugins.MultiPoint, customPlugins.MultiPoint) + defaultPlugins.QueueSort = mergePluginSet(defaultPlugins.QueueSort, customPlugins.QueueSort) + defaultPlugins.PreFilter = mergePluginSet(defaultPlugins.PreFilter, customPlugins.PreFilter) + defaultPlugins.Filter = mergePluginSet(defaultPlugins.Filter, customPlugins.Filter) + defaultPlugins.PostFilter = mergePluginSet(defaultPlugins.PostFilter, customPlugins.PostFilter) + defaultPlugins.PreScore = mergePluginSet(defaultPlugins.PreScore, customPlugins.PreScore) + defaultPlugins.Score = mergePluginSet(defaultPlugins.Score, customPlugins.Score) + defaultPlugins.Reserve = mergePluginSet(defaultPlugins.Reserve, customPlugins.Reserve) + defaultPlugins.Permit = mergePluginSet(defaultPlugins.Permit, customPlugins.Permit) + defaultPlugins.PreBind = mergePluginSet(defaultPlugins.PreBind, customPlugins.PreBind) + defaultPlugins.Bind = mergePluginSet(defaultPlugins.Bind, customPlugins.Bind) + defaultPlugins.PostBind = mergePluginSet(defaultPlugins.PostBind, customPlugins.PostBind) + return defaultPlugins +} + +type pluginIndex struct { + index int + plugin v1.Plugin +} + +func mergePluginSet(defaultPluginSet, customPluginSet v1.PluginSet) v1.PluginSet { + disabledPlugins := sets.NewString() + enabledCustomPlugins := make(map[string]pluginIndex) + // replacedPluginIndex is a set of index of plugins, which have replaced the default plugins. + replacedPluginIndex := sets.NewInt() + var disabled []v1.Plugin + for _, disabledPlugin := range customPluginSet.Disabled { + // if the user is manually disabling any (or all, with "*") default plugins for an extension point, + // we need to track that so that the MultiPoint extension logic in the framework can know to skip + // inserting unspecified default plugins to this point. + disabled = append(disabled, v1.Plugin{Name: disabledPlugin.Name}) + disabledPlugins.Insert(disabledPlugin.Name) + } + + // With MultiPoint, we may now have some disabledPlugins in the default registry + // For example, we enable PluginX with Filter+Score through MultiPoint but disable its Score plugin by default. + for _, disabledPlugin := range defaultPluginSet.Disabled { + disabled = append(disabled, v1.Plugin{Name: disabledPlugin.Name}) + disabledPlugins.Insert(disabledPlugin.Name) + } + + for index, enabledPlugin := range customPluginSet.Enabled { + enabledCustomPlugins[enabledPlugin.Name] = pluginIndex{index, enabledPlugin} + } + var enabledPlugins []v1.Plugin + if !disabledPlugins.Has("*") { + for _, defaultEnabledPlugin := range defaultPluginSet.Enabled { + if disabledPlugins.Has(defaultEnabledPlugin.Name) { + continue + } + // The default plugin is explicitly re-configured, update the default plugin accordingly. + if customPlugin, ok := enabledCustomPlugins[defaultEnabledPlugin.Name]; ok { + klog.InfoS("Default plugin is explicitly re-configured; overriding", "plugin", defaultEnabledPlugin.Name) + // Update the default plugin in place to preserve order. + defaultEnabledPlugin = customPlugin.plugin + replacedPluginIndex.Insert(customPlugin.index) + } + enabledPlugins = append(enabledPlugins, defaultEnabledPlugin) + } + } + + // Append all the custom plugins which haven't replaced any default plugins. + // Note: duplicated custom plugins will still be appended here. + // If so, the instantiation of scheduler framework will detect it and abort. + for index, plugin := range customPluginSet.Enabled { + if !replacedPluginIndex.Has(index) { + enabledPlugins = append(enabledPlugins, plugin) + } + } + return v1.PluginSet{Enabled: enabledPlugins, Disabled: disabled} +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/defaults.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/defaults.go new file mode 100644 index 000000000000..6916123f2817 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/defaults.go @@ -0,0 +1,242 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1 + +import ( + v1 "k8s.io/api/core/v1" + "k8s.io/apimachinery/pkg/runtime" + "k8s.io/apimachinery/pkg/util/sets" + "k8s.io/apiserver/pkg/util/feature" + componentbaseconfigv1alpha1 "k8s.io/component-base/config/v1alpha1" + configv1 "k8s.io/kube-scheduler/config/v1" + "k8s.io/kubernetes/pkg/features" + "k8s.io/kubernetes/pkg/scheduler/apis/config" + "k8s.io/utils/pointer" +) + +var defaultResourceSpec = []configv1.ResourceSpec{ + {Name: string(v1.ResourceCPU), Weight: 1}, + {Name: string(v1.ResourceMemory), Weight: 1}, +} + +func addDefaultingFuncs(scheme *runtime.Scheme) error { + return RegisterDefaults(scheme) +} + +func pluginsNames(p *configv1.Plugins) []string { + if p == nil { + return nil + } + extensions := []configv1.PluginSet{ + p.MultiPoint, + p.PreFilter, + p.Filter, + p.PostFilter, + p.Reserve, + p.PreScore, + p.Score, + p.PreBind, + p.Bind, + p.PostBind, + p.Permit, + p.QueueSort, + } + n := sets.NewString() + for _, e := range extensions { + for _, pg := range e.Enabled { + n.Insert(pg.Name) + } + } + return n.List() +} + +func setDefaults_KubeSchedulerProfile(prof *configv1.KubeSchedulerProfile) { + // Set default plugins. + prof.Plugins = mergePlugins(getDefaultPlugins(), prof.Plugins) + // Set default plugin configs. + scheme := GetPluginArgConversionScheme() + existingConfigs := sets.NewString() + for j := range prof.PluginConfig { + existingConfigs.Insert(prof.PluginConfig[j].Name) + args := prof.PluginConfig[j].Args.Object + if _, isUnknown := args.(*runtime.Unknown); isUnknown { + continue + } + scheme.Default(args) + } + + // Append default configs for plugins that didn't have one explicitly set. + for _, name := range pluginsNames(prof.Plugins) { + if existingConfigs.Has(name) { + continue + } + gvk := configv1.SchemeGroupVersion.WithKind(name + "Args") + args, err := scheme.New(gvk) + if err != nil { + // This plugin is out-of-tree or doesn't require configuration. + continue + } + scheme.Default(args) + args.GetObjectKind().SetGroupVersionKind(gvk) + prof.PluginConfig = append(prof.PluginConfig, configv1.PluginConfig{ + Name: name, + Args: runtime.RawExtension{Object: args}, + }) + } +} + +// SetDefaults_KubeSchedulerConfiguration sets additional defaults +func SetDefaults_KubeSchedulerConfiguration(obj *configv1.KubeSchedulerConfiguration) { + if obj.Parallelism == nil { + obj.Parallelism = pointer.Int32Ptr(16) + } + + if len(obj.Profiles) == 0 { + obj.Profiles = append(obj.Profiles, configv1.KubeSchedulerProfile{}) + } + // Only apply a default scheduler name when there is a single profile. + // Validation will ensure that every profile has a non-empty unique name. + if len(obj.Profiles) == 1 && obj.Profiles[0].SchedulerName == nil { + obj.Profiles[0].SchedulerName = pointer.StringPtr(v1.DefaultSchedulerName) + } + + // Add the default set of plugins and apply the configuration. + for i := range obj.Profiles { + prof := &obj.Profiles[i] + setDefaults_KubeSchedulerProfile(prof) + } + + if obj.PercentageOfNodesToScore == nil { + percentageOfNodesToScore := int32(config.DefaultPercentageOfNodesToScore) + obj.PercentageOfNodesToScore = &percentageOfNodesToScore + } + + if len(obj.LeaderElection.ResourceLock) == 0 { + // Use lease-based leader election to reduce cost. + // We migrated for EndpointsLease lock in 1.17 and starting in 1.20 we + // migrated to Lease lock. + obj.LeaderElection.ResourceLock = "leases" + } + if len(obj.LeaderElection.ResourceNamespace) == 0 { + obj.LeaderElection.ResourceNamespace = configv1.SchedulerDefaultLockObjectNamespace + } + if len(obj.LeaderElection.ResourceName) == 0 { + obj.LeaderElection.ResourceName = configv1.SchedulerDefaultLockObjectName + } + + if len(obj.ClientConnection.ContentType) == 0 { + obj.ClientConnection.ContentType = "application/vnd.kubernetes.protobuf" + } + // Scheduler has an opinion about QPS/Burst, setting specific defaults for itself, instead of generic settings. + if obj.ClientConnection.QPS == 0.0 { + obj.ClientConnection.QPS = 50.0 + } + if obj.ClientConnection.Burst == 0 { + obj.ClientConnection.Burst = 100 + } + + // Use the default LeaderElectionConfiguration options + componentbaseconfigv1alpha1.RecommendedDefaultLeaderElectionConfiguration(&obj.LeaderElection) + + if obj.PodInitialBackoffSeconds == nil { + obj.PodInitialBackoffSeconds = pointer.Int64(1) + } + + if obj.PodMaxBackoffSeconds == nil { + obj.PodMaxBackoffSeconds = pointer.Int64(10) + } + + // Enable profiling by default in the scheduler + if obj.EnableProfiling == nil { + obj.EnableProfiling = pointer.Bool(true) + } + + // Enable contention profiling by default if profiling is enabled + if *obj.EnableProfiling && obj.EnableContentionProfiling == nil { + obj.EnableContentionProfiling = pointer.Bool(true) + } +} + +func SetDefaults_DefaultPreemptionArgs(obj *configv1.DefaultPreemptionArgs) { + if obj.MinCandidateNodesPercentage == nil { + obj.MinCandidateNodesPercentage = pointer.Int32Ptr(10) + } + if obj.MinCandidateNodesAbsolute == nil { + obj.MinCandidateNodesAbsolute = pointer.Int32Ptr(100) + } +} + +func SetDefaults_InterPodAffinityArgs(obj *configv1.InterPodAffinityArgs) { + if obj.HardPodAffinityWeight == nil { + obj.HardPodAffinityWeight = pointer.Int32Ptr(1) + } +} + +func SetDefaults_VolumeBindingArgs(obj *configv1.VolumeBindingArgs) { + if obj.BindTimeoutSeconds == nil { + obj.BindTimeoutSeconds = pointer.Int64Ptr(600) + } + if len(obj.Shape) == 0 && feature.DefaultFeatureGate.Enabled(features.VolumeCapacityPriority) { + obj.Shape = []configv1.UtilizationShapePoint{ + { + Utilization: 0, + Score: 0, + }, + { + Utilization: 100, + Score: int32(config.MaxCustomPriorityScore), + }, + } + } +} + +func SetDefaults_NodeResourcesBalancedAllocationArgs(obj *configv1.NodeResourcesBalancedAllocationArgs) { + if len(obj.Resources) == 0 { + obj.Resources = defaultResourceSpec + return + } + // If the weight is not set or it is explicitly set to 0, then apply the default weight(1) instead. + for i := range obj.Resources { + if obj.Resources[i].Weight == 0 { + obj.Resources[i].Weight = 1 + } + } +} + +func SetDefaults_PodTopologySpreadArgs(obj *configv1.PodTopologySpreadArgs) { + if obj.DefaultingType == "" { + obj.DefaultingType = configv1.SystemDefaulting + } +} + +func SetDefaults_NodeResourcesFitArgs(obj *configv1.NodeResourcesFitArgs) { + if obj.ScoringStrategy == nil { + obj.ScoringStrategy = &configv1.ScoringStrategy{ + Type: configv1.ScoringStrategyType(config.LeastAllocated), + Resources: defaultResourceSpec, + } + } + if len(obj.ScoringStrategy.Resources) == 0 { + // If no resources specified, use the default set. + obj.ScoringStrategy.Resources = append(obj.ScoringStrategy.Resources, defaultResourceSpec...) + } + for i := range obj.ScoringStrategy.Resources { + if obj.ScoringStrategy.Resources[i].Weight == 0 { + obj.ScoringStrategy.Resources[i].Weight = 1 + } + } +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/doc.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/doc.go new file mode 100644 index 000000000000..7fa215827be7 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/doc.go @@ -0,0 +1,24 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// +k8s:deepcopy-gen=package +// +k8s:conversion-gen=k8s.io/kubernetes/pkg/scheduler/apis/config +// +k8s:conversion-gen-external-types=k8s.io/kube-scheduler/config/v1 +// +k8s:defaulter-gen=TypeMeta +// +k8s:defaulter-gen-input=k8s.io/kube-scheduler/config/v1 +// +groupName=kubescheduler.config.k8s.io + +package v1 // import "k8s.io/kubernetes/pkg/scheduler/apis/config/v1" diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/register.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/register.go new file mode 100644 index 000000000000..9a32736c8374 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/register.go @@ -0,0 +1,42 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1 + +import ( + v1 "k8s.io/kube-scheduler/config/v1" +) + +// GroupName is the group name used in this package +const GroupName = v1.GroupName + +// SchemeGroupVersion is group version used to register these objects +var SchemeGroupVersion = v1.SchemeGroupVersion + +var ( + // localSchemeBuilder extends the SchemeBuilder instance with the external types. In this package, + // defaulting and conversion init funcs are registered as well. + localSchemeBuilder = &v1.SchemeBuilder + // AddToScheme is a global function that registers this API group & version to a scheme + AddToScheme = localSchemeBuilder.AddToScheme +) + +func init() { + // We only register manually written functions here. The registration of the + // generated functions takes place in the generated files. The separation + // makes the code compile even when the generated files are missing. + localSchemeBuilder.Register(addDefaultingFuncs) +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/zz_generated.conversion.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/zz_generated.conversion.go new file mode 100644 index 000000000000..792131e5eecf --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/zz_generated.conversion.go @@ -0,0 +1,940 @@ +//go:build !ignore_autogenerated +// +build !ignore_autogenerated + +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by conversion-gen. DO NOT EDIT. + +package v1 + +import ( + unsafe "unsafe" + + corev1 "k8s.io/api/core/v1" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + conversion "k8s.io/apimachinery/pkg/conversion" + runtime "k8s.io/apimachinery/pkg/runtime" + v1alpha1 "k8s.io/component-base/config/v1alpha1" + v1 "k8s.io/kube-scheduler/config/v1" + config "k8s.io/kubernetes/pkg/scheduler/apis/config" +) + +func init() { + localSchemeBuilder.Register(RegisterConversions) +} + +// RegisterConversions adds conversion functions to the given scheme. +// Public to allow building arbitrary schemes. +func RegisterConversions(s *runtime.Scheme) error { + if err := s.AddGeneratedConversionFunc((*v1.DefaultPreemptionArgs)(nil), (*config.DefaultPreemptionArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_DefaultPreemptionArgs_To_config_DefaultPreemptionArgs(a.(*v1.DefaultPreemptionArgs), b.(*config.DefaultPreemptionArgs), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.DefaultPreemptionArgs)(nil), (*v1.DefaultPreemptionArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_DefaultPreemptionArgs_To_v1_DefaultPreemptionArgs(a.(*config.DefaultPreemptionArgs), b.(*v1.DefaultPreemptionArgs), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.Extender)(nil), (*config.Extender)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_Extender_To_config_Extender(a.(*v1.Extender), b.(*config.Extender), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.Extender)(nil), (*v1.Extender)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_Extender_To_v1_Extender(a.(*config.Extender), b.(*v1.Extender), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.ExtenderManagedResource)(nil), (*config.ExtenderManagedResource)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_ExtenderManagedResource_To_config_ExtenderManagedResource(a.(*v1.ExtenderManagedResource), b.(*config.ExtenderManagedResource), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.ExtenderManagedResource)(nil), (*v1.ExtenderManagedResource)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_ExtenderManagedResource_To_v1_ExtenderManagedResource(a.(*config.ExtenderManagedResource), b.(*v1.ExtenderManagedResource), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.ExtenderTLSConfig)(nil), (*config.ExtenderTLSConfig)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_ExtenderTLSConfig_To_config_ExtenderTLSConfig(a.(*v1.ExtenderTLSConfig), b.(*config.ExtenderTLSConfig), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.ExtenderTLSConfig)(nil), (*v1.ExtenderTLSConfig)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_ExtenderTLSConfig_To_v1_ExtenderTLSConfig(a.(*config.ExtenderTLSConfig), b.(*v1.ExtenderTLSConfig), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.InterPodAffinityArgs)(nil), (*config.InterPodAffinityArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_InterPodAffinityArgs_To_config_InterPodAffinityArgs(a.(*v1.InterPodAffinityArgs), b.(*config.InterPodAffinityArgs), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.InterPodAffinityArgs)(nil), (*v1.InterPodAffinityArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_InterPodAffinityArgs_To_v1_InterPodAffinityArgs(a.(*config.InterPodAffinityArgs), b.(*v1.InterPodAffinityArgs), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.KubeSchedulerProfile)(nil), (*config.KubeSchedulerProfile)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_KubeSchedulerProfile_To_config_KubeSchedulerProfile(a.(*v1.KubeSchedulerProfile), b.(*config.KubeSchedulerProfile), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.KubeSchedulerProfile)(nil), (*v1.KubeSchedulerProfile)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_KubeSchedulerProfile_To_v1_KubeSchedulerProfile(a.(*config.KubeSchedulerProfile), b.(*v1.KubeSchedulerProfile), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.NodeAffinityArgs)(nil), (*config.NodeAffinityArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_NodeAffinityArgs_To_config_NodeAffinityArgs(a.(*v1.NodeAffinityArgs), b.(*config.NodeAffinityArgs), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.NodeAffinityArgs)(nil), (*v1.NodeAffinityArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_NodeAffinityArgs_To_v1_NodeAffinityArgs(a.(*config.NodeAffinityArgs), b.(*v1.NodeAffinityArgs), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.NodeResourcesBalancedAllocationArgs)(nil), (*config.NodeResourcesBalancedAllocationArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_NodeResourcesBalancedAllocationArgs_To_config_NodeResourcesBalancedAllocationArgs(a.(*v1.NodeResourcesBalancedAllocationArgs), b.(*config.NodeResourcesBalancedAllocationArgs), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.NodeResourcesBalancedAllocationArgs)(nil), (*v1.NodeResourcesBalancedAllocationArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_NodeResourcesBalancedAllocationArgs_To_v1_NodeResourcesBalancedAllocationArgs(a.(*config.NodeResourcesBalancedAllocationArgs), b.(*v1.NodeResourcesBalancedAllocationArgs), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.NodeResourcesFitArgs)(nil), (*config.NodeResourcesFitArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_NodeResourcesFitArgs_To_config_NodeResourcesFitArgs(a.(*v1.NodeResourcesFitArgs), b.(*config.NodeResourcesFitArgs), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.NodeResourcesFitArgs)(nil), (*v1.NodeResourcesFitArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_NodeResourcesFitArgs_To_v1_NodeResourcesFitArgs(a.(*config.NodeResourcesFitArgs), b.(*v1.NodeResourcesFitArgs), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.Plugin)(nil), (*config.Plugin)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_Plugin_To_config_Plugin(a.(*v1.Plugin), b.(*config.Plugin), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.Plugin)(nil), (*v1.Plugin)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_Plugin_To_v1_Plugin(a.(*config.Plugin), b.(*v1.Plugin), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.PluginConfig)(nil), (*config.PluginConfig)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_PluginConfig_To_config_PluginConfig(a.(*v1.PluginConfig), b.(*config.PluginConfig), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.PluginConfig)(nil), (*v1.PluginConfig)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_PluginConfig_To_v1_PluginConfig(a.(*config.PluginConfig), b.(*v1.PluginConfig), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.PluginSet)(nil), (*config.PluginSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_PluginSet_To_config_PluginSet(a.(*v1.PluginSet), b.(*config.PluginSet), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.PluginSet)(nil), (*v1.PluginSet)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_PluginSet_To_v1_PluginSet(a.(*config.PluginSet), b.(*v1.PluginSet), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.Plugins)(nil), (*config.Plugins)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_Plugins_To_config_Plugins(a.(*v1.Plugins), b.(*config.Plugins), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.Plugins)(nil), (*v1.Plugins)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_Plugins_To_v1_Plugins(a.(*config.Plugins), b.(*v1.Plugins), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.PodTopologySpreadArgs)(nil), (*config.PodTopologySpreadArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_PodTopologySpreadArgs_To_config_PodTopologySpreadArgs(a.(*v1.PodTopologySpreadArgs), b.(*config.PodTopologySpreadArgs), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.PodTopologySpreadArgs)(nil), (*v1.PodTopologySpreadArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_PodTopologySpreadArgs_To_v1_PodTopologySpreadArgs(a.(*config.PodTopologySpreadArgs), b.(*v1.PodTopologySpreadArgs), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.RequestedToCapacityRatioParam)(nil), (*config.RequestedToCapacityRatioParam)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_RequestedToCapacityRatioParam_To_config_RequestedToCapacityRatioParam(a.(*v1.RequestedToCapacityRatioParam), b.(*config.RequestedToCapacityRatioParam), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.RequestedToCapacityRatioParam)(nil), (*v1.RequestedToCapacityRatioParam)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_RequestedToCapacityRatioParam_To_v1_RequestedToCapacityRatioParam(a.(*config.RequestedToCapacityRatioParam), b.(*v1.RequestedToCapacityRatioParam), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.ResourceSpec)(nil), (*config.ResourceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_ResourceSpec_To_config_ResourceSpec(a.(*v1.ResourceSpec), b.(*config.ResourceSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.ResourceSpec)(nil), (*v1.ResourceSpec)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_ResourceSpec_To_v1_ResourceSpec(a.(*config.ResourceSpec), b.(*v1.ResourceSpec), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.ScoringStrategy)(nil), (*config.ScoringStrategy)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_ScoringStrategy_To_config_ScoringStrategy(a.(*v1.ScoringStrategy), b.(*config.ScoringStrategy), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.ScoringStrategy)(nil), (*v1.ScoringStrategy)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_ScoringStrategy_To_v1_ScoringStrategy(a.(*config.ScoringStrategy), b.(*v1.ScoringStrategy), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.UtilizationShapePoint)(nil), (*config.UtilizationShapePoint)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_UtilizationShapePoint_To_config_UtilizationShapePoint(a.(*v1.UtilizationShapePoint), b.(*config.UtilizationShapePoint), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.UtilizationShapePoint)(nil), (*v1.UtilizationShapePoint)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_UtilizationShapePoint_To_v1_UtilizationShapePoint(a.(*config.UtilizationShapePoint), b.(*v1.UtilizationShapePoint), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*v1.VolumeBindingArgs)(nil), (*config.VolumeBindingArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_VolumeBindingArgs_To_config_VolumeBindingArgs(a.(*v1.VolumeBindingArgs), b.(*config.VolumeBindingArgs), scope) + }); err != nil { + return err + } + if err := s.AddGeneratedConversionFunc((*config.VolumeBindingArgs)(nil), (*v1.VolumeBindingArgs)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_VolumeBindingArgs_To_v1_VolumeBindingArgs(a.(*config.VolumeBindingArgs), b.(*v1.VolumeBindingArgs), scope) + }); err != nil { + return err + } + if err := s.AddConversionFunc((*config.KubeSchedulerConfiguration)(nil), (*v1.KubeSchedulerConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_config_KubeSchedulerConfiguration_To_v1_KubeSchedulerConfiguration(a.(*config.KubeSchedulerConfiguration), b.(*v1.KubeSchedulerConfiguration), scope) + }); err != nil { + return err + } + if err := s.AddConversionFunc((*v1.KubeSchedulerConfiguration)(nil), (*config.KubeSchedulerConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error { + return Convert_v1_KubeSchedulerConfiguration_To_config_KubeSchedulerConfiguration(a.(*v1.KubeSchedulerConfiguration), b.(*config.KubeSchedulerConfiguration), scope) + }); err != nil { + return err + } + return nil +} + +func autoConvert_v1_DefaultPreemptionArgs_To_config_DefaultPreemptionArgs(in *v1.DefaultPreemptionArgs, out *config.DefaultPreemptionArgs, s conversion.Scope) error { + if err := metav1.Convert_Pointer_int32_To_int32(&in.MinCandidateNodesPercentage, &out.MinCandidateNodesPercentage, s); err != nil { + return err + } + if err := metav1.Convert_Pointer_int32_To_int32(&in.MinCandidateNodesAbsolute, &out.MinCandidateNodesAbsolute, s); err != nil { + return err + } + return nil +} + +// Convert_v1_DefaultPreemptionArgs_To_config_DefaultPreemptionArgs is an autogenerated conversion function. +func Convert_v1_DefaultPreemptionArgs_To_config_DefaultPreemptionArgs(in *v1.DefaultPreemptionArgs, out *config.DefaultPreemptionArgs, s conversion.Scope) error { + return autoConvert_v1_DefaultPreemptionArgs_To_config_DefaultPreemptionArgs(in, out, s) +} + +func autoConvert_config_DefaultPreemptionArgs_To_v1_DefaultPreemptionArgs(in *config.DefaultPreemptionArgs, out *v1.DefaultPreemptionArgs, s conversion.Scope) error { + if err := metav1.Convert_int32_To_Pointer_int32(&in.MinCandidateNodesPercentage, &out.MinCandidateNodesPercentage, s); err != nil { + return err + } + if err := metav1.Convert_int32_To_Pointer_int32(&in.MinCandidateNodesAbsolute, &out.MinCandidateNodesAbsolute, s); err != nil { + return err + } + return nil +} + +// Convert_config_DefaultPreemptionArgs_To_v1_DefaultPreemptionArgs is an autogenerated conversion function. +func Convert_config_DefaultPreemptionArgs_To_v1_DefaultPreemptionArgs(in *config.DefaultPreemptionArgs, out *v1.DefaultPreemptionArgs, s conversion.Scope) error { + return autoConvert_config_DefaultPreemptionArgs_To_v1_DefaultPreemptionArgs(in, out, s) +} + +func autoConvert_v1_Extender_To_config_Extender(in *v1.Extender, out *config.Extender, s conversion.Scope) error { + out.URLPrefix = in.URLPrefix + out.FilterVerb = in.FilterVerb + out.PreemptVerb = in.PreemptVerb + out.PrioritizeVerb = in.PrioritizeVerb + out.Weight = in.Weight + out.BindVerb = in.BindVerb + out.EnableHTTPS = in.EnableHTTPS + out.TLSConfig = (*config.ExtenderTLSConfig)(unsafe.Pointer(in.TLSConfig)) + out.HTTPTimeout = in.HTTPTimeout + out.NodeCacheCapable = in.NodeCacheCapable + out.ManagedResources = *(*[]config.ExtenderManagedResource)(unsafe.Pointer(&in.ManagedResources)) + out.Ignorable = in.Ignorable + return nil +} + +// Convert_v1_Extender_To_config_Extender is an autogenerated conversion function. +func Convert_v1_Extender_To_config_Extender(in *v1.Extender, out *config.Extender, s conversion.Scope) error { + return autoConvert_v1_Extender_To_config_Extender(in, out, s) +} + +func autoConvert_config_Extender_To_v1_Extender(in *config.Extender, out *v1.Extender, s conversion.Scope) error { + out.URLPrefix = in.URLPrefix + out.FilterVerb = in.FilterVerb + out.PreemptVerb = in.PreemptVerb + out.PrioritizeVerb = in.PrioritizeVerb + out.Weight = in.Weight + out.BindVerb = in.BindVerb + out.EnableHTTPS = in.EnableHTTPS + out.TLSConfig = (*v1.ExtenderTLSConfig)(unsafe.Pointer(in.TLSConfig)) + out.HTTPTimeout = in.HTTPTimeout + out.NodeCacheCapable = in.NodeCacheCapable + out.ManagedResources = *(*[]v1.ExtenderManagedResource)(unsafe.Pointer(&in.ManagedResources)) + out.Ignorable = in.Ignorable + return nil +} + +// Convert_config_Extender_To_v1_Extender is an autogenerated conversion function. +func Convert_config_Extender_To_v1_Extender(in *config.Extender, out *v1.Extender, s conversion.Scope) error { + return autoConvert_config_Extender_To_v1_Extender(in, out, s) +} + +func autoConvert_v1_ExtenderManagedResource_To_config_ExtenderManagedResource(in *v1.ExtenderManagedResource, out *config.ExtenderManagedResource, s conversion.Scope) error { + out.Name = in.Name + out.IgnoredByScheduler = in.IgnoredByScheduler + return nil +} + +// Convert_v1_ExtenderManagedResource_To_config_ExtenderManagedResource is an autogenerated conversion function. +func Convert_v1_ExtenderManagedResource_To_config_ExtenderManagedResource(in *v1.ExtenderManagedResource, out *config.ExtenderManagedResource, s conversion.Scope) error { + return autoConvert_v1_ExtenderManagedResource_To_config_ExtenderManagedResource(in, out, s) +} + +func autoConvert_config_ExtenderManagedResource_To_v1_ExtenderManagedResource(in *config.ExtenderManagedResource, out *v1.ExtenderManagedResource, s conversion.Scope) error { + out.Name = in.Name + out.IgnoredByScheduler = in.IgnoredByScheduler + return nil +} + +// Convert_config_ExtenderManagedResource_To_v1_ExtenderManagedResource is an autogenerated conversion function. +func Convert_config_ExtenderManagedResource_To_v1_ExtenderManagedResource(in *config.ExtenderManagedResource, out *v1.ExtenderManagedResource, s conversion.Scope) error { + return autoConvert_config_ExtenderManagedResource_To_v1_ExtenderManagedResource(in, out, s) +} + +func autoConvert_v1_ExtenderTLSConfig_To_config_ExtenderTLSConfig(in *v1.ExtenderTLSConfig, out *config.ExtenderTLSConfig, s conversion.Scope) error { + out.Insecure = in.Insecure + out.ServerName = in.ServerName + out.CertFile = in.CertFile + out.KeyFile = in.KeyFile + out.CAFile = in.CAFile + out.CertData = *(*[]byte)(unsafe.Pointer(&in.CertData)) + out.KeyData = *(*[]byte)(unsafe.Pointer(&in.KeyData)) + out.CAData = *(*[]byte)(unsafe.Pointer(&in.CAData)) + return nil +} + +// Convert_v1_ExtenderTLSConfig_To_config_ExtenderTLSConfig is an autogenerated conversion function. +func Convert_v1_ExtenderTLSConfig_To_config_ExtenderTLSConfig(in *v1.ExtenderTLSConfig, out *config.ExtenderTLSConfig, s conversion.Scope) error { + return autoConvert_v1_ExtenderTLSConfig_To_config_ExtenderTLSConfig(in, out, s) +} + +func autoConvert_config_ExtenderTLSConfig_To_v1_ExtenderTLSConfig(in *config.ExtenderTLSConfig, out *v1.ExtenderTLSConfig, s conversion.Scope) error { + out.Insecure = in.Insecure + out.ServerName = in.ServerName + out.CertFile = in.CertFile + out.KeyFile = in.KeyFile + out.CAFile = in.CAFile + out.CertData = *(*[]byte)(unsafe.Pointer(&in.CertData)) + out.KeyData = *(*[]byte)(unsafe.Pointer(&in.KeyData)) + out.CAData = *(*[]byte)(unsafe.Pointer(&in.CAData)) + return nil +} + +// Convert_config_ExtenderTLSConfig_To_v1_ExtenderTLSConfig is an autogenerated conversion function. +func Convert_config_ExtenderTLSConfig_To_v1_ExtenderTLSConfig(in *config.ExtenderTLSConfig, out *v1.ExtenderTLSConfig, s conversion.Scope) error { + return autoConvert_config_ExtenderTLSConfig_To_v1_ExtenderTLSConfig(in, out, s) +} + +func autoConvert_v1_InterPodAffinityArgs_To_config_InterPodAffinityArgs(in *v1.InterPodAffinityArgs, out *config.InterPodAffinityArgs, s conversion.Scope) error { + if err := metav1.Convert_Pointer_int32_To_int32(&in.HardPodAffinityWeight, &out.HardPodAffinityWeight, s); err != nil { + return err + } + return nil +} + +// Convert_v1_InterPodAffinityArgs_To_config_InterPodAffinityArgs is an autogenerated conversion function. +func Convert_v1_InterPodAffinityArgs_To_config_InterPodAffinityArgs(in *v1.InterPodAffinityArgs, out *config.InterPodAffinityArgs, s conversion.Scope) error { + return autoConvert_v1_InterPodAffinityArgs_To_config_InterPodAffinityArgs(in, out, s) +} + +func autoConvert_config_InterPodAffinityArgs_To_v1_InterPodAffinityArgs(in *config.InterPodAffinityArgs, out *v1.InterPodAffinityArgs, s conversion.Scope) error { + if err := metav1.Convert_int32_To_Pointer_int32(&in.HardPodAffinityWeight, &out.HardPodAffinityWeight, s); err != nil { + return err + } + return nil +} + +// Convert_config_InterPodAffinityArgs_To_v1_InterPodAffinityArgs is an autogenerated conversion function. +func Convert_config_InterPodAffinityArgs_To_v1_InterPodAffinityArgs(in *config.InterPodAffinityArgs, out *v1.InterPodAffinityArgs, s conversion.Scope) error { + return autoConvert_config_InterPodAffinityArgs_To_v1_InterPodAffinityArgs(in, out, s) +} + +func autoConvert_v1_KubeSchedulerConfiguration_To_config_KubeSchedulerConfiguration(in *v1.KubeSchedulerConfiguration, out *config.KubeSchedulerConfiguration, s conversion.Scope) error { + if err := metav1.Convert_Pointer_int32_To_int32(&in.Parallelism, &out.Parallelism, s); err != nil { + return err + } + if err := v1alpha1.Convert_v1alpha1_LeaderElectionConfiguration_To_config_LeaderElectionConfiguration(&in.LeaderElection, &out.LeaderElection, s); err != nil { + return err + } + if err := v1alpha1.Convert_v1alpha1_ClientConnectionConfiguration_To_config_ClientConnectionConfiguration(&in.ClientConnection, &out.ClientConnection, s); err != nil { + return err + } + if err := v1alpha1.Convert_v1alpha1_DebuggingConfiguration_To_config_DebuggingConfiguration(&in.DebuggingConfiguration, &out.DebuggingConfiguration, s); err != nil { + return err + } + if err := metav1.Convert_Pointer_int32_To_int32(&in.PercentageOfNodesToScore, &out.PercentageOfNodesToScore, s); err != nil { + return err + } + if err := metav1.Convert_Pointer_int64_To_int64(&in.PodInitialBackoffSeconds, &out.PodInitialBackoffSeconds, s); err != nil { + return err + } + if err := metav1.Convert_Pointer_int64_To_int64(&in.PodMaxBackoffSeconds, &out.PodMaxBackoffSeconds, s); err != nil { + return err + } + if in.Profiles != nil { + in, out := &in.Profiles, &out.Profiles + *out = make([]config.KubeSchedulerProfile, len(*in)) + for i := range *in { + if err := Convert_v1_KubeSchedulerProfile_To_config_KubeSchedulerProfile(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Profiles = nil + } + out.Extenders = *(*[]config.Extender)(unsafe.Pointer(&in.Extenders)) + return nil +} + +func autoConvert_config_KubeSchedulerConfiguration_To_v1_KubeSchedulerConfiguration(in *config.KubeSchedulerConfiguration, out *v1.KubeSchedulerConfiguration, s conversion.Scope) error { + if err := metav1.Convert_int32_To_Pointer_int32(&in.Parallelism, &out.Parallelism, s); err != nil { + return err + } + if err := v1alpha1.Convert_config_LeaderElectionConfiguration_To_v1alpha1_LeaderElectionConfiguration(&in.LeaderElection, &out.LeaderElection, s); err != nil { + return err + } + if err := v1alpha1.Convert_config_ClientConnectionConfiguration_To_v1alpha1_ClientConnectionConfiguration(&in.ClientConnection, &out.ClientConnection, s); err != nil { + return err + } + // WARNING: in.HealthzBindAddress requires manual conversion: does not exist in peer-type + // WARNING: in.MetricsBindAddress requires manual conversion: does not exist in peer-type + if err := v1alpha1.Convert_config_DebuggingConfiguration_To_v1alpha1_DebuggingConfiguration(&in.DebuggingConfiguration, &out.DebuggingConfiguration, s); err != nil { + return err + } + if err := metav1.Convert_int32_To_Pointer_int32(&in.PercentageOfNodesToScore, &out.PercentageOfNodesToScore, s); err != nil { + return err + } + if err := metav1.Convert_int64_To_Pointer_int64(&in.PodInitialBackoffSeconds, &out.PodInitialBackoffSeconds, s); err != nil { + return err + } + if err := metav1.Convert_int64_To_Pointer_int64(&in.PodMaxBackoffSeconds, &out.PodMaxBackoffSeconds, s); err != nil { + return err + } + if in.Profiles != nil { + in, out := &in.Profiles, &out.Profiles + *out = make([]v1.KubeSchedulerProfile, len(*in)) + for i := range *in { + if err := Convert_config_KubeSchedulerProfile_To_v1_KubeSchedulerProfile(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Profiles = nil + } + out.Extenders = *(*[]v1.Extender)(unsafe.Pointer(&in.Extenders)) + return nil +} + +func autoConvert_v1_KubeSchedulerProfile_To_config_KubeSchedulerProfile(in *v1.KubeSchedulerProfile, out *config.KubeSchedulerProfile, s conversion.Scope) error { + if err := metav1.Convert_Pointer_string_To_string(&in.SchedulerName, &out.SchedulerName, s); err != nil { + return err + } + if in.Plugins != nil { + in, out := &in.Plugins, &out.Plugins + *out = new(config.Plugins) + if err := Convert_v1_Plugins_To_config_Plugins(*in, *out, s); err != nil { + return err + } + } else { + out.Plugins = nil + } + if in.PluginConfig != nil { + in, out := &in.PluginConfig, &out.PluginConfig + *out = make([]config.PluginConfig, len(*in)) + for i := range *in { + if err := Convert_v1_PluginConfig_To_config_PluginConfig(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.PluginConfig = nil + } + return nil +} + +// Convert_v1_KubeSchedulerProfile_To_config_KubeSchedulerProfile is an autogenerated conversion function. +func Convert_v1_KubeSchedulerProfile_To_config_KubeSchedulerProfile(in *v1.KubeSchedulerProfile, out *config.KubeSchedulerProfile, s conversion.Scope) error { + return autoConvert_v1_KubeSchedulerProfile_To_config_KubeSchedulerProfile(in, out, s) +} + +func autoConvert_config_KubeSchedulerProfile_To_v1_KubeSchedulerProfile(in *config.KubeSchedulerProfile, out *v1.KubeSchedulerProfile, s conversion.Scope) error { + if err := metav1.Convert_string_To_Pointer_string(&in.SchedulerName, &out.SchedulerName, s); err != nil { + return err + } + if in.Plugins != nil { + in, out := &in.Plugins, &out.Plugins + *out = new(v1.Plugins) + if err := Convert_config_Plugins_To_v1_Plugins(*in, *out, s); err != nil { + return err + } + } else { + out.Plugins = nil + } + if in.PluginConfig != nil { + in, out := &in.PluginConfig, &out.PluginConfig + *out = make([]v1.PluginConfig, len(*in)) + for i := range *in { + if err := Convert_config_PluginConfig_To_v1_PluginConfig(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.PluginConfig = nil + } + return nil +} + +// Convert_config_KubeSchedulerProfile_To_v1_KubeSchedulerProfile is an autogenerated conversion function. +func Convert_config_KubeSchedulerProfile_To_v1_KubeSchedulerProfile(in *config.KubeSchedulerProfile, out *v1.KubeSchedulerProfile, s conversion.Scope) error { + return autoConvert_config_KubeSchedulerProfile_To_v1_KubeSchedulerProfile(in, out, s) +} + +func autoConvert_v1_NodeAffinityArgs_To_config_NodeAffinityArgs(in *v1.NodeAffinityArgs, out *config.NodeAffinityArgs, s conversion.Scope) error { + out.AddedAffinity = (*corev1.NodeAffinity)(unsafe.Pointer(in.AddedAffinity)) + return nil +} + +// Convert_v1_NodeAffinityArgs_To_config_NodeAffinityArgs is an autogenerated conversion function. +func Convert_v1_NodeAffinityArgs_To_config_NodeAffinityArgs(in *v1.NodeAffinityArgs, out *config.NodeAffinityArgs, s conversion.Scope) error { + return autoConvert_v1_NodeAffinityArgs_To_config_NodeAffinityArgs(in, out, s) +} + +func autoConvert_config_NodeAffinityArgs_To_v1_NodeAffinityArgs(in *config.NodeAffinityArgs, out *v1.NodeAffinityArgs, s conversion.Scope) error { + out.AddedAffinity = (*corev1.NodeAffinity)(unsafe.Pointer(in.AddedAffinity)) + return nil +} + +// Convert_config_NodeAffinityArgs_To_v1_NodeAffinityArgs is an autogenerated conversion function. +func Convert_config_NodeAffinityArgs_To_v1_NodeAffinityArgs(in *config.NodeAffinityArgs, out *v1.NodeAffinityArgs, s conversion.Scope) error { + return autoConvert_config_NodeAffinityArgs_To_v1_NodeAffinityArgs(in, out, s) +} + +func autoConvert_v1_NodeResourcesBalancedAllocationArgs_To_config_NodeResourcesBalancedAllocationArgs(in *v1.NodeResourcesBalancedAllocationArgs, out *config.NodeResourcesBalancedAllocationArgs, s conversion.Scope) error { + out.Resources = *(*[]config.ResourceSpec)(unsafe.Pointer(&in.Resources)) + return nil +} + +// Convert_v1_NodeResourcesBalancedAllocationArgs_To_config_NodeResourcesBalancedAllocationArgs is an autogenerated conversion function. +func Convert_v1_NodeResourcesBalancedAllocationArgs_To_config_NodeResourcesBalancedAllocationArgs(in *v1.NodeResourcesBalancedAllocationArgs, out *config.NodeResourcesBalancedAllocationArgs, s conversion.Scope) error { + return autoConvert_v1_NodeResourcesBalancedAllocationArgs_To_config_NodeResourcesBalancedAllocationArgs(in, out, s) +} + +func autoConvert_config_NodeResourcesBalancedAllocationArgs_To_v1_NodeResourcesBalancedAllocationArgs(in *config.NodeResourcesBalancedAllocationArgs, out *v1.NodeResourcesBalancedAllocationArgs, s conversion.Scope) error { + out.Resources = *(*[]v1.ResourceSpec)(unsafe.Pointer(&in.Resources)) + return nil +} + +// Convert_config_NodeResourcesBalancedAllocationArgs_To_v1_NodeResourcesBalancedAllocationArgs is an autogenerated conversion function. +func Convert_config_NodeResourcesBalancedAllocationArgs_To_v1_NodeResourcesBalancedAllocationArgs(in *config.NodeResourcesBalancedAllocationArgs, out *v1.NodeResourcesBalancedAllocationArgs, s conversion.Scope) error { + return autoConvert_config_NodeResourcesBalancedAllocationArgs_To_v1_NodeResourcesBalancedAllocationArgs(in, out, s) +} + +func autoConvert_v1_NodeResourcesFitArgs_To_config_NodeResourcesFitArgs(in *v1.NodeResourcesFitArgs, out *config.NodeResourcesFitArgs, s conversion.Scope) error { + out.IgnoredResources = *(*[]string)(unsafe.Pointer(&in.IgnoredResources)) + out.IgnoredResourceGroups = *(*[]string)(unsafe.Pointer(&in.IgnoredResourceGroups)) + out.ScoringStrategy = (*config.ScoringStrategy)(unsafe.Pointer(in.ScoringStrategy)) + return nil +} + +// Convert_v1_NodeResourcesFitArgs_To_config_NodeResourcesFitArgs is an autogenerated conversion function. +func Convert_v1_NodeResourcesFitArgs_To_config_NodeResourcesFitArgs(in *v1.NodeResourcesFitArgs, out *config.NodeResourcesFitArgs, s conversion.Scope) error { + return autoConvert_v1_NodeResourcesFitArgs_To_config_NodeResourcesFitArgs(in, out, s) +} + +func autoConvert_config_NodeResourcesFitArgs_To_v1_NodeResourcesFitArgs(in *config.NodeResourcesFitArgs, out *v1.NodeResourcesFitArgs, s conversion.Scope) error { + out.IgnoredResources = *(*[]string)(unsafe.Pointer(&in.IgnoredResources)) + out.IgnoredResourceGroups = *(*[]string)(unsafe.Pointer(&in.IgnoredResourceGroups)) + out.ScoringStrategy = (*v1.ScoringStrategy)(unsafe.Pointer(in.ScoringStrategy)) + return nil +} + +// Convert_config_NodeResourcesFitArgs_To_v1_NodeResourcesFitArgs is an autogenerated conversion function. +func Convert_config_NodeResourcesFitArgs_To_v1_NodeResourcesFitArgs(in *config.NodeResourcesFitArgs, out *v1.NodeResourcesFitArgs, s conversion.Scope) error { + return autoConvert_config_NodeResourcesFitArgs_To_v1_NodeResourcesFitArgs(in, out, s) +} + +func autoConvert_v1_Plugin_To_config_Plugin(in *v1.Plugin, out *config.Plugin, s conversion.Scope) error { + out.Name = in.Name + if err := metav1.Convert_Pointer_int32_To_int32(&in.Weight, &out.Weight, s); err != nil { + return err + } + return nil +} + +// Convert_v1_Plugin_To_config_Plugin is an autogenerated conversion function. +func Convert_v1_Plugin_To_config_Plugin(in *v1.Plugin, out *config.Plugin, s conversion.Scope) error { + return autoConvert_v1_Plugin_To_config_Plugin(in, out, s) +} + +func autoConvert_config_Plugin_To_v1_Plugin(in *config.Plugin, out *v1.Plugin, s conversion.Scope) error { + out.Name = in.Name + if err := metav1.Convert_int32_To_Pointer_int32(&in.Weight, &out.Weight, s); err != nil { + return err + } + return nil +} + +// Convert_config_Plugin_To_v1_Plugin is an autogenerated conversion function. +func Convert_config_Plugin_To_v1_Plugin(in *config.Plugin, out *v1.Plugin, s conversion.Scope) error { + return autoConvert_config_Plugin_To_v1_Plugin(in, out, s) +} + +func autoConvert_v1_PluginConfig_To_config_PluginConfig(in *v1.PluginConfig, out *config.PluginConfig, s conversion.Scope) error { + out.Name = in.Name + if err := runtime.Convert_runtime_RawExtension_To_runtime_Object(&in.Args, &out.Args, s); err != nil { + return err + } + return nil +} + +// Convert_v1_PluginConfig_To_config_PluginConfig is an autogenerated conversion function. +func Convert_v1_PluginConfig_To_config_PluginConfig(in *v1.PluginConfig, out *config.PluginConfig, s conversion.Scope) error { + return autoConvert_v1_PluginConfig_To_config_PluginConfig(in, out, s) +} + +func autoConvert_config_PluginConfig_To_v1_PluginConfig(in *config.PluginConfig, out *v1.PluginConfig, s conversion.Scope) error { + out.Name = in.Name + if err := runtime.Convert_runtime_Object_To_runtime_RawExtension(&in.Args, &out.Args, s); err != nil { + return err + } + return nil +} + +// Convert_config_PluginConfig_To_v1_PluginConfig is an autogenerated conversion function. +func Convert_config_PluginConfig_To_v1_PluginConfig(in *config.PluginConfig, out *v1.PluginConfig, s conversion.Scope) error { + return autoConvert_config_PluginConfig_To_v1_PluginConfig(in, out, s) +} + +func autoConvert_v1_PluginSet_To_config_PluginSet(in *v1.PluginSet, out *config.PluginSet, s conversion.Scope) error { + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = make([]config.Plugin, len(*in)) + for i := range *in { + if err := Convert_v1_Plugin_To_config_Plugin(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Enabled = nil + } + if in.Disabled != nil { + in, out := &in.Disabled, &out.Disabled + *out = make([]config.Plugin, len(*in)) + for i := range *in { + if err := Convert_v1_Plugin_To_config_Plugin(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Disabled = nil + } + return nil +} + +// Convert_v1_PluginSet_To_config_PluginSet is an autogenerated conversion function. +func Convert_v1_PluginSet_To_config_PluginSet(in *v1.PluginSet, out *config.PluginSet, s conversion.Scope) error { + return autoConvert_v1_PluginSet_To_config_PluginSet(in, out, s) +} + +func autoConvert_config_PluginSet_To_v1_PluginSet(in *config.PluginSet, out *v1.PluginSet, s conversion.Scope) error { + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = make([]v1.Plugin, len(*in)) + for i := range *in { + if err := Convert_config_Plugin_To_v1_Plugin(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Enabled = nil + } + if in.Disabled != nil { + in, out := &in.Disabled, &out.Disabled + *out = make([]v1.Plugin, len(*in)) + for i := range *in { + if err := Convert_config_Plugin_To_v1_Plugin(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Disabled = nil + } + return nil +} + +// Convert_config_PluginSet_To_v1_PluginSet is an autogenerated conversion function. +func Convert_config_PluginSet_To_v1_PluginSet(in *config.PluginSet, out *v1.PluginSet, s conversion.Scope) error { + return autoConvert_config_PluginSet_To_v1_PluginSet(in, out, s) +} + +func autoConvert_v1_Plugins_To_config_Plugins(in *v1.Plugins, out *config.Plugins, s conversion.Scope) error { + if err := Convert_v1_PluginSet_To_config_PluginSet(&in.QueueSort, &out.QueueSort, s); err != nil { + return err + } + if err := Convert_v1_PluginSet_To_config_PluginSet(&in.PreFilter, &out.PreFilter, s); err != nil { + return err + } + if err := Convert_v1_PluginSet_To_config_PluginSet(&in.Filter, &out.Filter, s); err != nil { + return err + } + if err := Convert_v1_PluginSet_To_config_PluginSet(&in.PostFilter, &out.PostFilter, s); err != nil { + return err + } + if err := Convert_v1_PluginSet_To_config_PluginSet(&in.PreScore, &out.PreScore, s); err != nil { + return err + } + if err := Convert_v1_PluginSet_To_config_PluginSet(&in.Score, &out.Score, s); err != nil { + return err + } + if err := Convert_v1_PluginSet_To_config_PluginSet(&in.Reserve, &out.Reserve, s); err != nil { + return err + } + if err := Convert_v1_PluginSet_To_config_PluginSet(&in.Permit, &out.Permit, s); err != nil { + return err + } + if err := Convert_v1_PluginSet_To_config_PluginSet(&in.PreBind, &out.PreBind, s); err != nil { + return err + } + if err := Convert_v1_PluginSet_To_config_PluginSet(&in.Bind, &out.Bind, s); err != nil { + return err + } + if err := Convert_v1_PluginSet_To_config_PluginSet(&in.PostBind, &out.PostBind, s); err != nil { + return err + } + if err := Convert_v1_PluginSet_To_config_PluginSet(&in.MultiPoint, &out.MultiPoint, s); err != nil { + return err + } + return nil +} + +// Convert_v1_Plugins_To_config_Plugins is an autogenerated conversion function. +func Convert_v1_Plugins_To_config_Plugins(in *v1.Plugins, out *config.Plugins, s conversion.Scope) error { + return autoConvert_v1_Plugins_To_config_Plugins(in, out, s) +} + +func autoConvert_config_Plugins_To_v1_Plugins(in *config.Plugins, out *v1.Plugins, s conversion.Scope) error { + if err := Convert_config_PluginSet_To_v1_PluginSet(&in.QueueSort, &out.QueueSort, s); err != nil { + return err + } + if err := Convert_config_PluginSet_To_v1_PluginSet(&in.PreFilter, &out.PreFilter, s); err != nil { + return err + } + if err := Convert_config_PluginSet_To_v1_PluginSet(&in.Filter, &out.Filter, s); err != nil { + return err + } + if err := Convert_config_PluginSet_To_v1_PluginSet(&in.PostFilter, &out.PostFilter, s); err != nil { + return err + } + if err := Convert_config_PluginSet_To_v1_PluginSet(&in.PreScore, &out.PreScore, s); err != nil { + return err + } + if err := Convert_config_PluginSet_To_v1_PluginSet(&in.Score, &out.Score, s); err != nil { + return err + } + if err := Convert_config_PluginSet_To_v1_PluginSet(&in.Reserve, &out.Reserve, s); err != nil { + return err + } + if err := Convert_config_PluginSet_To_v1_PluginSet(&in.Permit, &out.Permit, s); err != nil { + return err + } + if err := Convert_config_PluginSet_To_v1_PluginSet(&in.PreBind, &out.PreBind, s); err != nil { + return err + } + if err := Convert_config_PluginSet_To_v1_PluginSet(&in.Bind, &out.Bind, s); err != nil { + return err + } + if err := Convert_config_PluginSet_To_v1_PluginSet(&in.PostBind, &out.PostBind, s); err != nil { + return err + } + if err := Convert_config_PluginSet_To_v1_PluginSet(&in.MultiPoint, &out.MultiPoint, s); err != nil { + return err + } + return nil +} + +// Convert_config_Plugins_To_v1_Plugins is an autogenerated conversion function. +func Convert_config_Plugins_To_v1_Plugins(in *config.Plugins, out *v1.Plugins, s conversion.Scope) error { + return autoConvert_config_Plugins_To_v1_Plugins(in, out, s) +} + +func autoConvert_v1_PodTopologySpreadArgs_To_config_PodTopologySpreadArgs(in *v1.PodTopologySpreadArgs, out *config.PodTopologySpreadArgs, s conversion.Scope) error { + out.DefaultConstraints = *(*[]corev1.TopologySpreadConstraint)(unsafe.Pointer(&in.DefaultConstraints)) + out.DefaultingType = config.PodTopologySpreadConstraintsDefaulting(in.DefaultingType) + return nil +} + +// Convert_v1_PodTopologySpreadArgs_To_config_PodTopologySpreadArgs is an autogenerated conversion function. +func Convert_v1_PodTopologySpreadArgs_To_config_PodTopologySpreadArgs(in *v1.PodTopologySpreadArgs, out *config.PodTopologySpreadArgs, s conversion.Scope) error { + return autoConvert_v1_PodTopologySpreadArgs_To_config_PodTopologySpreadArgs(in, out, s) +} + +func autoConvert_config_PodTopologySpreadArgs_To_v1_PodTopologySpreadArgs(in *config.PodTopologySpreadArgs, out *v1.PodTopologySpreadArgs, s conversion.Scope) error { + out.DefaultConstraints = *(*[]corev1.TopologySpreadConstraint)(unsafe.Pointer(&in.DefaultConstraints)) + out.DefaultingType = v1.PodTopologySpreadConstraintsDefaulting(in.DefaultingType) + return nil +} + +// Convert_config_PodTopologySpreadArgs_To_v1_PodTopologySpreadArgs is an autogenerated conversion function. +func Convert_config_PodTopologySpreadArgs_To_v1_PodTopologySpreadArgs(in *config.PodTopologySpreadArgs, out *v1.PodTopologySpreadArgs, s conversion.Scope) error { + return autoConvert_config_PodTopologySpreadArgs_To_v1_PodTopologySpreadArgs(in, out, s) +} + +func autoConvert_v1_RequestedToCapacityRatioParam_To_config_RequestedToCapacityRatioParam(in *v1.RequestedToCapacityRatioParam, out *config.RequestedToCapacityRatioParam, s conversion.Scope) error { + out.Shape = *(*[]config.UtilizationShapePoint)(unsafe.Pointer(&in.Shape)) + return nil +} + +// Convert_v1_RequestedToCapacityRatioParam_To_config_RequestedToCapacityRatioParam is an autogenerated conversion function. +func Convert_v1_RequestedToCapacityRatioParam_To_config_RequestedToCapacityRatioParam(in *v1.RequestedToCapacityRatioParam, out *config.RequestedToCapacityRatioParam, s conversion.Scope) error { + return autoConvert_v1_RequestedToCapacityRatioParam_To_config_RequestedToCapacityRatioParam(in, out, s) +} + +func autoConvert_config_RequestedToCapacityRatioParam_To_v1_RequestedToCapacityRatioParam(in *config.RequestedToCapacityRatioParam, out *v1.RequestedToCapacityRatioParam, s conversion.Scope) error { + out.Shape = *(*[]v1.UtilizationShapePoint)(unsafe.Pointer(&in.Shape)) + return nil +} + +// Convert_config_RequestedToCapacityRatioParam_To_v1_RequestedToCapacityRatioParam is an autogenerated conversion function. +func Convert_config_RequestedToCapacityRatioParam_To_v1_RequestedToCapacityRatioParam(in *config.RequestedToCapacityRatioParam, out *v1.RequestedToCapacityRatioParam, s conversion.Scope) error { + return autoConvert_config_RequestedToCapacityRatioParam_To_v1_RequestedToCapacityRatioParam(in, out, s) +} + +func autoConvert_v1_ResourceSpec_To_config_ResourceSpec(in *v1.ResourceSpec, out *config.ResourceSpec, s conversion.Scope) error { + out.Name = in.Name + out.Weight = in.Weight + return nil +} + +// Convert_v1_ResourceSpec_To_config_ResourceSpec is an autogenerated conversion function. +func Convert_v1_ResourceSpec_To_config_ResourceSpec(in *v1.ResourceSpec, out *config.ResourceSpec, s conversion.Scope) error { + return autoConvert_v1_ResourceSpec_To_config_ResourceSpec(in, out, s) +} + +func autoConvert_config_ResourceSpec_To_v1_ResourceSpec(in *config.ResourceSpec, out *v1.ResourceSpec, s conversion.Scope) error { + out.Name = in.Name + out.Weight = in.Weight + return nil +} + +// Convert_config_ResourceSpec_To_v1_ResourceSpec is an autogenerated conversion function. +func Convert_config_ResourceSpec_To_v1_ResourceSpec(in *config.ResourceSpec, out *v1.ResourceSpec, s conversion.Scope) error { + return autoConvert_config_ResourceSpec_To_v1_ResourceSpec(in, out, s) +} + +func autoConvert_v1_ScoringStrategy_To_config_ScoringStrategy(in *v1.ScoringStrategy, out *config.ScoringStrategy, s conversion.Scope) error { + out.Type = config.ScoringStrategyType(in.Type) + out.Resources = *(*[]config.ResourceSpec)(unsafe.Pointer(&in.Resources)) + out.RequestedToCapacityRatio = (*config.RequestedToCapacityRatioParam)(unsafe.Pointer(in.RequestedToCapacityRatio)) + return nil +} + +// Convert_v1_ScoringStrategy_To_config_ScoringStrategy is an autogenerated conversion function. +func Convert_v1_ScoringStrategy_To_config_ScoringStrategy(in *v1.ScoringStrategy, out *config.ScoringStrategy, s conversion.Scope) error { + return autoConvert_v1_ScoringStrategy_To_config_ScoringStrategy(in, out, s) +} + +func autoConvert_config_ScoringStrategy_To_v1_ScoringStrategy(in *config.ScoringStrategy, out *v1.ScoringStrategy, s conversion.Scope) error { + out.Type = v1.ScoringStrategyType(in.Type) + out.Resources = *(*[]v1.ResourceSpec)(unsafe.Pointer(&in.Resources)) + out.RequestedToCapacityRatio = (*v1.RequestedToCapacityRatioParam)(unsafe.Pointer(in.RequestedToCapacityRatio)) + return nil +} + +// Convert_config_ScoringStrategy_To_v1_ScoringStrategy is an autogenerated conversion function. +func Convert_config_ScoringStrategy_To_v1_ScoringStrategy(in *config.ScoringStrategy, out *v1.ScoringStrategy, s conversion.Scope) error { + return autoConvert_config_ScoringStrategy_To_v1_ScoringStrategy(in, out, s) +} + +func autoConvert_v1_UtilizationShapePoint_To_config_UtilizationShapePoint(in *v1.UtilizationShapePoint, out *config.UtilizationShapePoint, s conversion.Scope) error { + out.Utilization = in.Utilization + out.Score = in.Score + return nil +} + +// Convert_v1_UtilizationShapePoint_To_config_UtilizationShapePoint is an autogenerated conversion function. +func Convert_v1_UtilizationShapePoint_To_config_UtilizationShapePoint(in *v1.UtilizationShapePoint, out *config.UtilizationShapePoint, s conversion.Scope) error { + return autoConvert_v1_UtilizationShapePoint_To_config_UtilizationShapePoint(in, out, s) +} + +func autoConvert_config_UtilizationShapePoint_To_v1_UtilizationShapePoint(in *config.UtilizationShapePoint, out *v1.UtilizationShapePoint, s conversion.Scope) error { + out.Utilization = in.Utilization + out.Score = in.Score + return nil +} + +// Convert_config_UtilizationShapePoint_To_v1_UtilizationShapePoint is an autogenerated conversion function. +func Convert_config_UtilizationShapePoint_To_v1_UtilizationShapePoint(in *config.UtilizationShapePoint, out *v1.UtilizationShapePoint, s conversion.Scope) error { + return autoConvert_config_UtilizationShapePoint_To_v1_UtilizationShapePoint(in, out, s) +} + +func autoConvert_v1_VolumeBindingArgs_To_config_VolumeBindingArgs(in *v1.VolumeBindingArgs, out *config.VolumeBindingArgs, s conversion.Scope) error { + if err := metav1.Convert_Pointer_int64_To_int64(&in.BindTimeoutSeconds, &out.BindTimeoutSeconds, s); err != nil { + return err + } + out.Shape = *(*[]config.UtilizationShapePoint)(unsafe.Pointer(&in.Shape)) + return nil +} + +// Convert_v1_VolumeBindingArgs_To_config_VolumeBindingArgs is an autogenerated conversion function. +func Convert_v1_VolumeBindingArgs_To_config_VolumeBindingArgs(in *v1.VolumeBindingArgs, out *config.VolumeBindingArgs, s conversion.Scope) error { + return autoConvert_v1_VolumeBindingArgs_To_config_VolumeBindingArgs(in, out, s) +} + +func autoConvert_config_VolumeBindingArgs_To_v1_VolumeBindingArgs(in *config.VolumeBindingArgs, out *v1.VolumeBindingArgs, s conversion.Scope) error { + if err := metav1.Convert_int64_To_Pointer_int64(&in.BindTimeoutSeconds, &out.BindTimeoutSeconds, s); err != nil { + return err + } + out.Shape = *(*[]v1.UtilizationShapePoint)(unsafe.Pointer(&in.Shape)) + return nil +} + +// Convert_config_VolumeBindingArgs_To_v1_VolumeBindingArgs is an autogenerated conversion function. +func Convert_config_VolumeBindingArgs_To_v1_VolumeBindingArgs(in *config.VolumeBindingArgs, out *v1.VolumeBindingArgs, s conversion.Scope) error { + return autoConvert_config_VolumeBindingArgs_To_v1_VolumeBindingArgs(in, out, s) +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/zz_generated.deepcopy.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/zz_generated.deepcopy.go new file mode 100644 index 000000000000..87181b43048c --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/zz_generated.deepcopy.go @@ -0,0 +1,22 @@ +//go:build !ignore_autogenerated +// +build !ignore_autogenerated + +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by deepcopy-gen. DO NOT EDIT. + +package v1 diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/zz_generated.defaults.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/zz_generated.defaults.go new file mode 100644 index 000000000000..ac93d735c4f2 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1/zz_generated.defaults.go @@ -0,0 +1,73 @@ +//go:build !ignore_autogenerated +// +build !ignore_autogenerated + +/* +Copyright The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +// Code generated by defaulter-gen. DO NOT EDIT. + +package v1 + +import ( + runtime "k8s.io/apimachinery/pkg/runtime" + v1 "k8s.io/kube-scheduler/config/v1" +) + +// RegisterDefaults adds defaulters functions to the given scheme. +// Public to allow building arbitrary schemes. +// All generated defaulters are covering - they call all nested defaulters. +func RegisterDefaults(scheme *runtime.Scheme) error { + scheme.AddTypeDefaultingFunc(&v1.DefaultPreemptionArgs{}, func(obj interface{}) { SetObjectDefaults_DefaultPreemptionArgs(obj.(*v1.DefaultPreemptionArgs)) }) + scheme.AddTypeDefaultingFunc(&v1.InterPodAffinityArgs{}, func(obj interface{}) { SetObjectDefaults_InterPodAffinityArgs(obj.(*v1.InterPodAffinityArgs)) }) + scheme.AddTypeDefaultingFunc(&v1.KubeSchedulerConfiguration{}, func(obj interface{}) { + SetObjectDefaults_KubeSchedulerConfiguration(obj.(*v1.KubeSchedulerConfiguration)) + }) + scheme.AddTypeDefaultingFunc(&v1.NodeResourcesBalancedAllocationArgs{}, func(obj interface{}) { + SetObjectDefaults_NodeResourcesBalancedAllocationArgs(obj.(*v1.NodeResourcesBalancedAllocationArgs)) + }) + scheme.AddTypeDefaultingFunc(&v1.NodeResourcesFitArgs{}, func(obj interface{}) { SetObjectDefaults_NodeResourcesFitArgs(obj.(*v1.NodeResourcesFitArgs)) }) + scheme.AddTypeDefaultingFunc(&v1.PodTopologySpreadArgs{}, func(obj interface{}) { SetObjectDefaults_PodTopologySpreadArgs(obj.(*v1.PodTopologySpreadArgs)) }) + scheme.AddTypeDefaultingFunc(&v1.VolumeBindingArgs{}, func(obj interface{}) { SetObjectDefaults_VolumeBindingArgs(obj.(*v1.VolumeBindingArgs)) }) + return nil +} + +func SetObjectDefaults_DefaultPreemptionArgs(in *v1.DefaultPreemptionArgs) { + SetDefaults_DefaultPreemptionArgs(in) +} + +func SetObjectDefaults_InterPodAffinityArgs(in *v1.InterPodAffinityArgs) { + SetDefaults_InterPodAffinityArgs(in) +} + +func SetObjectDefaults_KubeSchedulerConfiguration(in *v1.KubeSchedulerConfiguration) { + SetDefaults_KubeSchedulerConfiguration(in) +} + +func SetObjectDefaults_NodeResourcesBalancedAllocationArgs(in *v1.NodeResourcesBalancedAllocationArgs) { + SetDefaults_NodeResourcesBalancedAllocationArgs(in) +} + +func SetObjectDefaults_NodeResourcesFitArgs(in *v1.NodeResourcesFitArgs) { + SetDefaults_NodeResourcesFitArgs(in) +} + +func SetObjectDefaults_PodTopologySpreadArgs(in *v1.PodTopologySpreadArgs) { + SetDefaults_PodTopologySpreadArgs(in) +} + +func SetObjectDefaults_VolumeBindingArgs(in *v1.VolumeBindingArgs) { + SetDefaults_VolumeBindingArgs(in) +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1beta2/defaults.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1beta2/defaults.go index 60ef8f065a84..1d6fa24166db 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1beta2/defaults.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1beta2/defaults.go @@ -180,9 +180,6 @@ func SetDefaults_DefaultPreemptionArgs(obj *v1beta2.DefaultPreemptionArgs) { } func SetDefaults_InterPodAffinityArgs(obj *v1beta2.InterPodAffinityArgs) { - // Note that an object is created manually in cmd/kube-scheduler/app/options/deprecated.go - // DeprecatedOptions#ApplyTo. - // Update that object if a new default field is added here. if obj.HardPodAffinityWeight == nil { obj.HardPodAffinityWeight = pointer.Int32Ptr(1) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1beta3/defaults.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1beta3/defaults.go index 0ff3781a4211..84552b5cbdcd 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1beta3/defaults.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/v1beta3/defaults.go @@ -181,9 +181,6 @@ func SetDefaults_DefaultPreemptionArgs(obj *v1beta3.DefaultPreemptionArgs) { } func SetDefaults_InterPodAffinityArgs(obj *v1beta3.InterPodAffinityArgs) { - // Note that an object is created manually in cmd/kube-scheduler/app/options/deprecated.go - // DeprecatedOptions#ApplyTo. - // Update that object if a new default field is added here. if obj.HardPodAffinityWeight == nil { obj.HardPodAffinityWeight = pointer.Int32Ptr(1) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/validation/validation.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/validation/validation.go index 2aae138ce5a3..277714c38a0d 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/validation/validation.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/validation/validation.go @@ -117,15 +117,15 @@ func splitHostIntPort(s string) (string, int, error) { return host, portInt, err } -type removedPlugins struct { +type invalidPlugins struct { schemeGroupVersion string plugins []string } -// removedPluginsByVersion maintains a list of removed plugins in each version. +// invalidPluginsByVersion maintains a list of removed/deprecated plugins in each version. // Remember to add an entry to that list when creating a new component config -// version (even if the list of removed plugins is empty). -var removedPluginsByVersion = []removedPlugins{ +// version (even if the list of invalid plugins is empty). +var invalidPluginsByVersion = []invalidPlugins{ { schemeGroupVersion: v1beta2.SchemeGroupVersion.String(), plugins: []string{}, @@ -134,12 +134,16 @@ var removedPluginsByVersion = []removedPlugins{ schemeGroupVersion: v1beta3.SchemeGroupVersion.String(), plugins: []string{}, }, + { + schemeGroupVersion: v1.SchemeGroupVersion.String(), + plugins: []string{"SelectorSpread"}, + }, } -// isPluginRemoved checks if a given plugin was removed in the given component +// isPluginInvalid checks if a given plugin was removed/deprecated in the given component // config version or earlier. -func isPluginRemoved(apiVersion string, name string) (bool, string) { - for _, dp := range removedPluginsByVersion { +func isPluginInvalid(apiVersion string, name string) (bool, string) { + for _, dp := range invalidPluginsByVersion { for _, plugin := range dp.plugins { if name == plugin { return true, dp.schemeGroupVersion @@ -152,11 +156,11 @@ func isPluginRemoved(apiVersion string, name string) (bool, string) { return false, "" } -func validatePluginSetForRemovedPlugins(path *field.Path, apiVersion string, ps config.PluginSet) []error { +func validatePluginSetForInvalidPlugins(path *field.Path, apiVersion string, ps config.PluginSet) []error { var errs []error for i, plugin := range ps.Enabled { - if removed, removedVersion := isPluginRemoved(apiVersion, plugin.Name); removed { - errs = append(errs, field.Invalid(path.Child("enabled").Index(i), plugin.Name, fmt.Sprintf("was removed in version %q (KubeSchedulerConfiguration is version %q)", removedVersion, apiVersion))) + if invalid, invalidVersion := isPluginInvalid(apiVersion, plugin.Name); invalid { + errs = append(errs, field.Invalid(path.Child("enabled").Index(i), plugin.Name, fmt.Sprintf("was invalid in version %q (KubeSchedulerConfiguration is version %q)", invalidVersion, apiVersion))) } } return errs @@ -200,7 +204,7 @@ func validatePluginConfig(path *field.Path, apiVersion string, profile *config.K pluginsPath := path.Child("plugins") for s, p := range stagesToPluginSet { - errs = append(errs, validatePluginSetForRemovedPlugins( + errs = append(errs, validatePluginSetForInvalidPlugins( pluginsPath.Child(s), apiVersion, p)...) } } @@ -216,8 +220,8 @@ func validatePluginConfig(path *field.Path, apiVersion string, profile *config.K } else { seenPluginConfig.Insert(name) } - if removed, removedVersion := isPluginRemoved(apiVersion, name); removed { - errs = append(errs, field.Invalid(pluginConfigPath, name, fmt.Sprintf("was removed in version %q (KubeSchedulerConfiguration is version %q)", removedVersion, apiVersion))) + if invalid, invalidVersion := isPluginInvalid(apiVersion, name); invalid { + errs = append(errs, field.Invalid(pluginConfigPath, name, fmt.Sprintf("was invalid in version %q (KubeSchedulerConfiguration is version %q)", invalidVersion, apiVersion))) } else if validateFunc, ok := m[name]; ok { // type mismatch, no need to validate the `args`. if reflect.TypeOf(args) != reflect.ValueOf(validateFunc).Type().In(1) { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/validation/validation_pluginargs.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/validation/validation_pluginargs.go index 56304b3e8f16..325a6bc6779f 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/validation/validation_pluginargs.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/apis/config/validation/validation_pluginargs.go @@ -31,6 +31,12 @@ import ( "k8s.io/kubernetes/pkg/scheduler/apis/config" ) +var supportedScoringStrategyTypes = sets.NewString( + string(config.LeastAllocated), + string(config.MostAllocated), + string(config.RequestedToCapacityRatio), +) + // ValidateDefaultPreemptionArgs validates that DefaultPreemptionArgs are correct. func ValidateDefaultPreemptionArgs(path *field.Path, args *config.DefaultPreemptionArgs) error { var allErrs field.ErrorList @@ -304,10 +310,14 @@ func ValidateNodeResourcesFitArgs(path *field.Path, args *config.NodeResourcesFi } } + strategyPath := path.Child("scoringStrategy") if args.ScoringStrategy != nil { - allErrs = append(allErrs, validateResources(args.ScoringStrategy.Resources, path.Child("resources"))...) + if !supportedScoringStrategyTypes.Has(string(args.ScoringStrategy.Type)) { + allErrs = append(allErrs, field.NotSupported(strategyPath.Child("type"), args.ScoringStrategy.Type, supportedScoringStrategyTypes.List())) + } + allErrs = append(allErrs, validateResources(args.ScoringStrategy.Resources, strategyPath.Child("resources"))...) if args.ScoringStrategy.RequestedToCapacityRatio != nil { - allErrs = append(allErrs, validateFunctionShape(args.ScoringStrategy.RequestedToCapacityRatio.Shape, path.Child("shape"))...) + allErrs = append(allErrs, validateFunctionShape(args.ScoringStrategy.RequestedToCapacityRatio.Shape, strategyPath.Child("shape"))...) } } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/extender.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/extender.go index e29026ad1552..8350e04c95af 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/extender.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/extender.go @@ -114,36 +114,6 @@ func NewHTTPExtender(config *schedulerapi.Extender) (framework.Extender, error) }, nil } -// Equal is used to check if two extenders are equal -// ignoring the client field, exported for testing -func Equal(e1, e2 *HTTPExtender) bool { - if e1.extenderURL != e2.extenderURL { - return false - } - if e1.preemptVerb != e2.preemptVerb { - return false - } - if e1.prioritizeVerb != e2.prioritizeVerb { - return false - } - if e1.bindVerb != e2.bindVerb { - return false - } - if e1.weight != e2.weight { - return false - } - if e1.nodeCacheCapable != e2.nodeCacheCapable { - return false - } - if !e1.managedResources.Equal(e2.managedResources) { - return false - } - if e1.ignorable != e2.ignorable { - return false - } - return true -} - // Name returns extenderURL to identify the extender. func (h *HTTPExtender) Name() string { return h.extenderURL diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/interface.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/interface.go index feadee9af8dc..00a14ad1a392 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/interface.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/interface.go @@ -209,7 +209,7 @@ func (s *Status) IsUnschedulable() bool { return code == Unschedulable || code == UnschedulableAndUnresolvable } -// AsError returns nil if the status is a success or a wait; otherwise returns an "error" object +// AsError returns nil if the status is a success, a wait or a skip; otherwise returns an "error" object // with a concatenated message on reasons of the Status. func (s *Status) AsError() error { if s.IsSuccess() || s.IsWait() || s.IsSkip() { @@ -641,11 +641,11 @@ func (p *PreFilterResult) Merge(in *PreFilterResult) *PreFilterResult { r := PreFilterResult{} if p.AllNodes() { - r.NodeNames = sets.NewString(in.NodeNames.UnsortedList()...) + r.NodeNames = in.NodeNames.Clone() return &r } if in.AllNodes() { - r.NodeNames = sets.NewString(p.NodeNames.UnsortedList()...) + r.NodeNames = p.NodeNames.Clone() return &r } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/feature/feature.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/feature/feature.go index 32be4e2dce82..55bd29915184 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/feature/feature.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/feature/feature.go @@ -24,4 +24,5 @@ type Features struct { EnableVolumeCapacityPriority bool EnableMinDomainsInPodTopologySpread bool EnableNodeInclusionPolicyInPodTopologySpread bool + EnableMatchLabelKeysInPodTopologySpread bool } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/helper/normalize_score.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/helper/normalize_score.go index 2c7c951c8512..3d35ca304931 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/helper/normalize_score.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/helper/normalize_score.go @@ -21,8 +21,9 @@ import ( ) // DefaultNormalizeScore generates a Normalize Score function that can normalize the -// scores to [0, maxPriority]. If reverse is set to true, it reverses the scores by -// subtracting it from maxPriority. +// scores from [0, max(scores)] to [0, maxPriority]. If reverse is set to true, it +// reverses the scores by subtracting it from maxPriority. +// Note: The input scores are always assumed to be non-negative integers. func DefaultNormalizeScore(maxPriority int64, reverse bool, scores framework.NodeScoreList) *framework.Status { var maxCount int64 for i := range scores { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/helper/shape_score.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/helper/shape_score.go index dc34b71290c0..f12488b14c84 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/helper/shape_score.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/helper/shape_score.go @@ -32,8 +32,10 @@ type FunctionShapePoint struct { // Shape[i].Score represents function values at meeting points. // // function f(p) is defined as: -// shape[0].Score for p < shape[0].Utilization -// shape[n-1].Score for p > shape[n-1].Utilization +// +// shape[0].Score for p < shape[0].Utilization +// shape[n-1].Score for p > shape[n-1].Utilization +// // and linear between points (p < shape[i].Utilization) func BuildBrokenLinearFunction(shape FunctionShape) func(int64) int64 { return func(p int64) int64 { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/interpodaffinity/filtering.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/interpodaffinity/filtering.go index 778a70f2c7bc..11e05e9753ec 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/interpodaffinity/filtering.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/interpodaffinity/filtering.go @@ -319,7 +319,7 @@ func satisfyExistingPodsAntiAffinity(state *preFilterState, nodeInfo *framework. return true } -// Checks if the node satisfies the incoming pod's anti-affinity rules. +// Checks if the node satisfies the incoming pod's anti-affinity rules. func satisfyPodAntiAffinity(state *preFilterState, nodeInfo *framework.NodeInfo) bool { if len(state.antiAffinityCounts) > 0 { for _, term := range state.podInfo.RequiredAntiAffinityTerms { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/interpodaffinity/scoring.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/interpodaffinity/scoring.go index f333bb6e3ca8..238691bd46f1 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/interpodaffinity/scoring.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/interpodaffinity/scoring.go @@ -262,7 +262,7 @@ func (pl *InterPodAffinity) NormalizeScore(ctx context.Context, cycleState *fram } var minCount int64 = math.MaxInt64 - var maxCount int64 = -math.MaxInt64 + var maxCount int64 = math.MinInt64 for i := range scores { score := scores[i].Score if score > maxCount { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/balanced_allocation.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/balanced_allocation.go index 4f91937ba542..baad87699ac6 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/balanced_allocation.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/balanced_allocation.go @@ -37,7 +37,7 @@ type BalancedAllocation struct { resourceAllocationScorer } -var _ = framework.ScorePlugin(&BalancedAllocation{}) +var _ framework.ScorePlugin = &BalancedAllocation{} // BalancedAllocationName is the name of the plugin used in the plugin registry and configurations. const BalancedAllocationName = names.NodeResourcesBalancedAllocation diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/fit.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/fit.go index e4b2a5044dd5..7fea684e42d2 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/fit.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/fit.go @@ -135,25 +135,26 @@ func NewFit(plArgs runtime.Object, h framework.Handle, fts feature.Features) (fr // the max in each dimension iteratively. In contrast, we sum the resource vectors for // regular containers since they run simultaneously. // -// The resources defined for Overhead should be added to the calculated Resource request sum +// # The resources defined for Overhead should be added to the calculated Resource request sum // // Example: // // Pod: -// InitContainers -// IC1: -// CPU: 2 -// Memory: 1G -// IC2: -// CPU: 2 -// Memory: 3G -// Containers -// C1: -// CPU: 2 -// Memory: 1G -// C2: -// CPU: 1 -// Memory: 1G +// +// InitContainers +// IC1: +// CPU: 2 +// Memory: 1G +// IC2: +// CPU: 2 +// Memory: 3G +// Containers +// C1: +// CPU: 2 +// Memory: 1G +// C2: +// CPU: 1 +// Memory: 1G // // Result: CPU: 3, Memory: 3G func computePodResourceRequest(pod *v1.Pod) *preFilterState { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/most_allocated.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/most_allocated.go index f32925ed24be..94c55cbe3255 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/most_allocated.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources/most_allocated.go @@ -25,7 +25,7 @@ import ( // based on the maximum of the average of the fraction of requested to capacity. // // Details: -// (cpu(MaxNodeScore * sum(requested) / capacity) + memory(MaxNodeScore * sum(requested) / capacity)) / weightSum +// (cpu(MaxNodeScore * requested * cpuWeight / capacity) + memory(MaxNodeScore * requested * memoryWeight / capacity) + ...) / weightSum func mostResourceScorer(resToWeightMap resourceToWeightMap) func(requested, allocable resourceToValueMap) int64 { return func(requested, allocable resourceToValueMap) int64 { var nodeScore, weightSum int64 diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/nodeunschedulable/node_unschedulable.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/nodeunschedulable/node_unschedulable.go index c6537fb2dc1f..f9c147560dcb 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/nodeunschedulable/node_unschedulable.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/nodeunschedulable/node_unschedulable.go @@ -59,7 +59,8 @@ func (pl *NodeUnschedulable) Name() string { // Filter invoked at the filter extension point. func (pl *NodeUnschedulable) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status { - if nodeInfo == nil || nodeInfo.Node() == nil { + node := nodeInfo.Node() + if node == nil { return framework.NewStatus(framework.UnschedulableAndUnresolvable, ErrReasonUnknownCondition) } // If pod tolerate unschedulable taint, it's also tolerate `node.Spec.Unschedulable`. @@ -68,7 +69,7 @@ func (pl *NodeUnschedulable) Filter(ctx context.Context, _ *framework.CycleState Effect: v1.TaintEffectNoSchedule, }) // TODO (k82cn): deprecates `node.Spec.Unschedulable` in 1.13. - if nodeInfo.Node().Spec.Unschedulable && !podToleratesUnschedulable { + if node.Spec.Unschedulable && !podToleratesUnschedulable { return framework.NewStatus(framework.UnschedulableAndUnresolvable, ErrReasonUnschedulable) } return nil diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/common.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/common.go index 29c61a4c7709..c7f4d19287a7 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/common.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/common.go @@ -63,7 +63,7 @@ func (tsc *topologySpreadConstraint) matchNodeInclusionPolicies(pod *v1.Pod, nod // .DefaultConstraints and the selectors from the services, replication // controllers, replica sets and stateful sets that match the pod. func (pl *PodTopologySpread) buildDefaultConstraints(p *v1.Pod, action v1.UnsatisfiableConstraintAction) ([]topologySpreadConstraint, error) { - constraints, err := filterTopologySpreadConstraints(pl.defaultConstraints, action, pl.enableMinDomainsInPodTopologySpread, pl.enableNodeInclusionPolicyInPodTopologySpread) + constraints, err := pl.filterTopologySpreadConstraints(pl.defaultConstraints, p.Labels, action) if err != nil || len(constraints) == 0 { return nil, err } @@ -87,7 +87,7 @@ func nodeLabelsMatchSpreadConstraints(nodeLabels map[string]string, constraints return true } -func filterTopologySpreadConstraints(constraints []v1.TopologySpreadConstraint, action v1.UnsatisfiableConstraintAction, enableMinDomainsInPodTopologySpread, enableNodeInclusionPolicyInPodTopologySpread bool) ([]topologySpreadConstraint, error) { +func (pl *PodTopologySpread) filterTopologySpreadConstraints(constraints []v1.TopologySpreadConstraint, podLabels map[string]string, action v1.UnsatisfiableConstraintAction) ([]topologySpreadConstraint, error) { var result []topologySpreadConstraint for _, c := range constraints { if c.WhenUnsatisfiable == action { @@ -95,6 +95,19 @@ func filterTopologySpreadConstraints(constraints []v1.TopologySpreadConstraint, if err != nil { return nil, err } + + if pl.enableMatchLabelKeysInPodTopologySpread && len(c.MatchLabelKeys) > 0 { + matchLabels := make(labels.Set) + for _, labelKey := range c.MatchLabelKeys { + if value, ok := podLabels[labelKey]; ok { + matchLabels[labelKey] = value + } + } + if len(matchLabels) > 0 { + selector = mergeLabelSetWithSelector(matchLabels, selector) + } + } + tsc := topologySpreadConstraint{ MaxSkew: c.MaxSkew, TopologyKey: c.TopologyKey, @@ -103,10 +116,10 @@ func filterTopologySpreadConstraints(constraints []v1.TopologySpreadConstraint, NodeAffinityPolicy: v1.NodeInclusionPolicyHonor, // If NodeAffinityPolicy is nil, we treat NodeAffinityPolicy as "Honor". NodeTaintsPolicy: v1.NodeInclusionPolicyIgnore, // If NodeTaintsPolicy is nil, we treat NodeTaintsPolicy as "Ignore". } - if enableMinDomainsInPodTopologySpread && c.MinDomains != nil { + if pl.enableMinDomainsInPodTopologySpread && c.MinDomains != nil { tsc.MinDomains = *c.MinDomains } - if enableNodeInclusionPolicyInPodTopologySpread { + if pl.enableNodeInclusionPolicyInPodTopologySpread { if c.NodeAffinityPolicy != nil { tsc.NodeAffinityPolicy = *c.NodeAffinityPolicy } @@ -120,6 +133,17 @@ func filterTopologySpreadConstraints(constraints []v1.TopologySpreadConstraint, return result, nil } +func mergeLabelSetWithSelector(matchLabels labels.Set, s labels.Selector) labels.Selector { + mergedSelector := labels.SelectorFromSet(matchLabels) + if requirements, ok := s.Requirements(); ok { + for _, r := range requirements { + mergedSelector = mergedSelector.Add(r) + } + } + + return mergedSelector +} + func countPodsMatchSelector(podInfos []*framework.PodInfo, selector labels.Selector, ns string) int { count := 0 for _, p := range podInfos { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/filtering.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/filtering.go index 888750d03a0e..800f2b4d7558 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/filtering.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/filtering.go @@ -147,28 +147,6 @@ func (p *criticalPaths) update(tpVal string, num int) { } } -func (s *preFilterState) updateWithPod(updatedPod, preemptorPod *v1.Pod, node *v1.Node, delta int) { - if s == nil || updatedPod.Namespace != preemptorPod.Namespace || node == nil { - return - } - if !nodeLabelsMatchSpreadConstraints(node.Labels, s.Constraints) { - return - } - - podLabelSet := labels.Set(updatedPod.Labels) - for _, constraint := range s.Constraints { - if !constraint.Selector.Matches(podLabelSet) { - continue - } - - k, v := constraint.TopologyKey, node.Labels[constraint.TopologyKey] - pair := topologyPair{key: k, value: v} - s.TpPairToMatchNum[pair] += delta - - s.TpKeyToCriticalPaths[k].update(v, s.TpPairToMatchNum[pair]) - } -} - // PreFilter invoked at the prefilter extension point. func (pl *PodTopologySpread) PreFilter(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod) (*framework.PreFilterResult, *framework.Status) { s, err := pl.calPreFilterState(ctx, pod) @@ -191,7 +169,7 @@ func (pl *PodTopologySpread) AddPod(ctx context.Context, cycleState *framework.C return framework.AsStatus(err) } - s.updateWithPod(podInfoToAdd.Pod, podToSchedule, nodeInfo.Node(), 1) + pl.updateWithPod(s, podInfoToAdd.Pod, podToSchedule, nodeInfo.Node(), 1) return nil } @@ -202,10 +180,45 @@ func (pl *PodTopologySpread) RemovePod(ctx context.Context, cycleState *framewor return framework.AsStatus(err) } - s.updateWithPod(podInfoToRemove.Pod, podToSchedule, nodeInfo.Node(), -1) + pl.updateWithPod(s, podInfoToRemove.Pod, podToSchedule, nodeInfo.Node(), -1) return nil } +func (pl *PodTopologySpread) updateWithPod(s *preFilterState, updatedPod, preemptorPod *v1.Pod, node *v1.Node, delta int) { + if s == nil || updatedPod.Namespace != preemptorPod.Namespace || node == nil { + return + } + if !nodeLabelsMatchSpreadConstraints(node.Labels, s.Constraints) { + return + } + + requiredSchedulingTerm := nodeaffinity.GetRequiredNodeAffinity(preemptorPod) + if !pl.enableNodeInclusionPolicyInPodTopologySpread { + // spreading is applied to nodes that pass those filters. + // Ignore parsing errors for backwards compatibility. + if match, _ := requiredSchedulingTerm.Match(node); !match { + return + } + } + + podLabelSet := labels.Set(updatedPod.Labels) + for _, constraint := range s.Constraints { + if !constraint.Selector.Matches(podLabelSet) { + continue + } + if pl.enableNodeInclusionPolicyInPodTopologySpread && + !constraint.matchNodeInclusionPolicies(updatedPod, node, requiredSchedulingTerm) { + continue + } + + k, v := constraint.TopologyKey, node.Labels[constraint.TopologyKey] + pair := topologyPair{key: k, value: v} + s.TpPairToMatchNum[pair] += delta + + s.TpKeyToCriticalPaths[k].update(v, s.TpPairToMatchNum[pair]) + } +} + // getPreFilterState fetches a pre-computed preFilterState. func getPreFilterState(cycleState *framework.CycleState) (*preFilterState, error) { c, err := cycleState.Read(preFilterStateKey) @@ -231,11 +244,10 @@ func (pl *PodTopologySpread) calPreFilterState(ctx context.Context, pod *v1.Pod) if len(pod.Spec.TopologySpreadConstraints) > 0 { // We have feature gating in APIServer to strip the spec // so don't need to re-check feature gate, just check length of Constraints. - constraints, err = filterTopologySpreadConstraints( + constraints, err = pl.filterTopologySpreadConstraints( pod.Spec.TopologySpreadConstraints, + pod.Labels, v1.DoNotSchedule, - pl.enableMinDomainsInPodTopologySpread, - pl.enableNodeInclusionPolicyInPodTopologySpread, ) if err != nil { return nil, fmt.Errorf("obtaining pod's hard topology spread constraints: %w", err) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/plugin.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/plugin.go index 4ca762ca4c82..ed2333e76df2 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/plugin.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/plugin.go @@ -64,6 +64,7 @@ type PodTopologySpread struct { statefulSets appslisters.StatefulSetLister enableMinDomainsInPodTopologySpread bool enableNodeInclusionPolicyInPodTopologySpread bool + enableMatchLabelKeysInPodTopologySpread bool } var _ framework.PreFilterPlugin = &PodTopologySpread{} @@ -98,6 +99,7 @@ func New(plArgs runtime.Object, h framework.Handle, fts feature.Features) (frame defaultConstraints: args.DefaultConstraints, enableMinDomainsInPodTopologySpread: fts.EnableMinDomainsInPodTopologySpread, enableNodeInclusionPolicyInPodTopologySpread: fts.EnableNodeInclusionPolicyInPodTopologySpread, + enableMatchLabelKeysInPodTopologySpread: fts.EnableMatchLabelKeysInPodTopologySpread, } if args.DefaultingType == config.SystemDefaulting { pl.defaultConstraints = systemDefaultConstraints diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/scoring.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/scoring.go index 1cb7355e2a7d..2bf96ccf2777 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/scoring.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread/scoring.go @@ -59,11 +59,10 @@ func (s *preScoreState) Clone() framework.StateData { func (pl *PodTopologySpread) initPreScoreState(s *preScoreState, pod *v1.Pod, filteredNodes []*v1.Node, requireAllTopologies bool) error { var err error if len(pod.Spec.TopologySpreadConstraints) > 0 { - s.Constraints, err = filterTopologySpreadConstraints( + s.Constraints, err = pl.filterTopologySpreadConstraints( pod.Spec.TopologySpreadConstraints, + pod.Labels, v1.ScheduleAnyway, - pl.enableMinDomainsInPodTopologySpread, - pl.enableNodeInclusionPolicyInPodTopologySpread, ) if err != nil { return fmt.Errorf("obtaining pod's soft topology spread constraints: %w", err) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/registry.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/registry.go index 3093e681c93d..0f29e6ce96a4 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/registry.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/registry.go @@ -49,6 +49,7 @@ func NewInTreeRegistry() runtime.Registry { EnableVolumeCapacityPriority: feature.DefaultFeatureGate.Enabled(features.VolumeCapacityPriority), EnableMinDomainsInPodTopologySpread: feature.DefaultFeatureGate.Enabled(features.MinDomainsInPodTopologySpread), EnableNodeInclusionPolicyInPodTopologySpread: feature.DefaultFeatureGate.Enabled(features.NodeInclusionPolicyInPodTopologySpread), + EnableMatchLabelKeysInPodTopologySpread: feature.DefaultFeatureGate.Enabled(features.MatchLabelKeysInPodTopologySpread), } return runtime.Registry{ diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go index 9420c06c6ea0..8b9412874c6a 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go @@ -62,7 +62,8 @@ func (pl *TaintToleration) EventsToRegister() []framework.ClusterEvent { // Filter invoked at the filter extension point. func (pl *TaintToleration) Filter(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status { - if nodeInfo == nil || nodeInfo.Node() == nil { + node := nodeInfo.Node() + if node == nil { return framework.AsStatus(fmt.Errorf("invalid nodeInfo")) } @@ -71,7 +72,7 @@ func (pl *TaintToleration) Filter(ctx context.Context, state *framework.CycleSta return t.Effect == v1.TaintEffectNoSchedule || t.Effect == v1.TaintEffectNoExecute } - taint, isUntolerated := v1helper.FindMatchingUntoleratedTaint(nodeInfo.Node().Spec.Taints, pod.Spec.Tolerations, filterPredicate) + taint, isUntolerated := v1helper.FindMatchingUntoleratedTaint(node.Spec.Taints, pod.Spec.Tolerations, filterPredicate) if !isUntolerated { return nil } @@ -118,7 +119,7 @@ func (pl *TaintToleration) PreScore(ctx context.Context, cycleState *framework.C func getPreScoreState(cycleState *framework.CycleState) (*preScoreState, error) { c, err := cycleState.Read(preScoreStateKey) if err != nil { - return nil, fmt.Errorf("failed to read %q from cycleState: %v", preScoreStateKey, err) + return nil, fmt.Errorf("failed to read %q from cycleState: %w", preScoreStateKey, err) } s, ok := c.(*preScoreState) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/assume_cache.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/assume_cache.go index 1ee97a3eb24b..d553a02e190c 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/assume_cache.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/assume_cache.go @@ -77,9 +77,9 @@ func (e *errObjectName) Error() string { } // assumeCache stores two pointers to represent a single object: -// * The pointer to the informer object. -// * The pointer to the latest object, which could be the same as -// the informer object, or an in-memory object. +// - The pointer to the informer object. +// - The pointer to the latest object, which could be the same as +// the informer object, or an in-memory object. // // An informer update always overrides the latest object pointer. // diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/binder.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/binder.go index f715699e52dc..1c116431b929 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/binder.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/binder.go @@ -123,26 +123,26 @@ type InTreeToCSITranslator interface { // also considered along with the pod's other scheduling requirements. // // This integrates into the existing scheduler workflow as follows: -// 1. The scheduler takes a Pod off the scheduler queue and processes it serially: -// a. Invokes all pre-filter plugins for the pod. GetPodVolumes() is invoked -// here, pod volume information will be saved in current scheduling cycle state for later use. -// b. Invokes all filter plugins, parallelized across nodes. FindPodVolumes() is invoked here. -// c. Invokes all score plugins. Future/TBD -// d. Selects the best node for the Pod. -// e. Invokes all reserve plugins. AssumePodVolumes() is invoked here. -// i. If PVC binding is required, cache in-memory only: -// * For manual binding: update PV objects for prebinding to the corresponding PVCs. -// * For dynamic provisioning: update PVC object with a selected node from c) -// * For the pod, which PVCs and PVs need API updates. -// ii. Afterwards, the main scheduler caches the Pod->Node binding in the scheduler's pod cache, -// This is handled in the scheduler and not here. -// f. Asynchronously bind volumes and pod in a separate goroutine -// i. BindPodVolumes() is called first in PreBind phase. It makes all the necessary API updates and waits for -// PV controller to fully bind and provision the PVCs. If binding fails, the Pod is sent -// back through the scheduler. -// ii. After BindPodVolumes() is complete, then the scheduler does the final Pod->Node binding. -// 2. Once all the assume operations are done in e), the scheduler processes the next Pod in the scheduler queue -// while the actual binding operation occurs in the background. +// 1. The scheduler takes a Pod off the scheduler queue and processes it serially: +// a. Invokes all pre-filter plugins for the pod. GetPodVolumes() is invoked +// here, pod volume information will be saved in current scheduling cycle state for later use. +// b. Invokes all filter plugins, parallelized across nodes. FindPodVolumes() is invoked here. +// c. Invokes all score plugins. Future/TBD +// d. Selects the best node for the Pod. +// e. Invokes all reserve plugins. AssumePodVolumes() is invoked here. +// i. If PVC binding is required, cache in-memory only: +// * For manual binding: update PV objects for prebinding to the corresponding PVCs. +// * For dynamic provisioning: update PVC object with a selected node from c) +// * For the pod, which PVCs and PVs need API updates. +// ii. Afterwards, the main scheduler caches the Pod->Node binding in the scheduler's pod cache, +// This is handled in the scheduler and not here. +// f. Asynchronously bind volumes and pod in a separate goroutine +// i. BindPodVolumes() is called first in PreBind phase. It makes all the necessary API updates and waits for +// PV controller to fully bind and provision the PVCs. If binding fails, the Pod is sent +// back through the scheduler. +// ii. After BindPodVolumes() is complete, then the scheduler does the final Pod->Node binding. +// 2. Once all the assume operations are done in e), the scheduler processes the next Pod in the scheduler queue +// while the actual binding operation occurs in the background. type SchedulerVolumeBinder interface { // GetPodVolumes returns a pod's PVCs separated into bound, unbound with delayed binding (including provisioning) // and unbound with immediate binding (including prebound) @@ -185,7 +185,7 @@ type SchedulerVolumeBinder interface { // 3. Wait for PVCs to be completely bound by the PV controller // // This function can be called in parallel. - BindPodVolumes(assumedPod *v1.Pod, podVolumes *PodVolumes) error + BindPodVolumes(ctx context.Context, assumedPod *v1.Pod, podVolumes *PodVolumes) error } type volumeBinder struct { @@ -432,7 +432,7 @@ func (b *volumeBinder) RevertAssumedPodVolumes(podVolumes *PodVolumes) { // BindPodVolumes gets the cached bindings and PVCs to provision in pod's volumes information, // makes the API update for those PVs/PVCs, and waits for the PVCs to be completely bound // by the PV controller. -func (b *volumeBinder) BindPodVolumes(assumedPod *v1.Pod, podVolumes *PodVolumes) (err error) { +func (b *volumeBinder) BindPodVolumes(ctx context.Context, assumedPod *v1.Pod, podVolumes *PodVolumes) (err error) { klog.V(4).InfoS("BindPodVolumes", "pod", klog.KObj(assumedPod), "node", klog.KRef("", assumedPod.Spec.NodeName)) defer func() { @@ -445,7 +445,7 @@ func (b *volumeBinder) BindPodVolumes(assumedPod *v1.Pod, podVolumes *PodVolumes claimsToProvision := podVolumes.DynamicProvisions // Start API operations - err = b.bindAPIUpdate(assumedPod, bindings, claimsToProvision) + err = b.bindAPIUpdate(ctx, assumedPod, bindings, claimsToProvision) if err != nil { return err } @@ -469,7 +469,7 @@ func getPVCName(pvc *v1.PersistentVolumeClaim) string { } // bindAPIUpdate makes the API update for those PVs/PVCs. -func (b *volumeBinder) bindAPIUpdate(pod *v1.Pod, bindings []*BindingInfo, claimsToProvision []*v1.PersistentVolumeClaim) error { +func (b *volumeBinder) bindAPIUpdate(ctx context.Context, pod *v1.Pod, bindings []*BindingInfo, claimsToProvision []*v1.PersistentVolumeClaim) error { podName := getPodName(pod) if bindings == nil { return fmt.Errorf("failed to get cached bindings for pod %q", podName) @@ -503,7 +503,7 @@ func (b *volumeBinder) bindAPIUpdate(pod *v1.Pod, bindings []*BindingInfo, claim klog.V(5).InfoS("bindAPIUpdate: binding PV to PVC", "pod", klog.KObj(pod), "PV", klog.KObj(binding.pv), "PVC", klog.KObj(binding.pvc)) // TODO: does it hurt if we make an api call and nothing needs to be updated? klog.V(2).InfoS("Claim bound to volume", "PVC", klog.KObj(binding.pvc), "PV", klog.KObj(binding.pv)) - newPV, err := b.kubeClient.CoreV1().PersistentVolumes().Update(context.TODO(), binding.pv, metav1.UpdateOptions{}) + newPV, err := b.kubeClient.CoreV1().PersistentVolumes().Update(ctx, binding.pv, metav1.UpdateOptions{}) if err != nil { klog.V(4).InfoS("Updating PersistentVolume: binding to claim failed", "PV", klog.KObj(binding.pv), "PVC", klog.KObj(binding.pvc), "err", err) return err @@ -518,7 +518,7 @@ func (b *volumeBinder) bindAPIUpdate(pod *v1.Pod, bindings []*BindingInfo, claim // PV controller is expected to signal back by removing related annotations if actual provisioning fails for i, claim = range claimsToProvision { klog.V(5).InfoS("Updating claims objects to trigger volume provisioning", "pod", klog.KObj(pod), "PVC", klog.KObj(claim)) - newClaim, err := b.kubeClient.CoreV1().PersistentVolumeClaims(claim.Namespace).Update(context.TODO(), claim, metav1.UpdateOptions{}) + newClaim, err := b.kubeClient.CoreV1().PersistentVolumeClaims(claim.Namespace).Update(ctx, claim, metav1.UpdateOptions{}) if err != nil { return err } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/fake_binder.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/fake_binder.go index 4a07eff9a2fd..ef28891f2886 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/fake_binder.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/fake_binder.go @@ -16,7 +16,11 @@ limitations under the License. package volumebinding -import v1 "k8s.io/api/core/v1" +import ( + "context" + + v1 "k8s.io/api/core/v1" +) // FakeVolumeBinderConfig holds configurations for fake volume binder. type FakeVolumeBinderConfig struct { @@ -62,7 +66,7 @@ func (b *FakeVolumeBinder) AssumePodVolumes(assumedPod *v1.Pod, nodeName string, func (b *FakeVolumeBinder) RevertAssumedPodVolumes(_ *PodVolumes) {} // BindPodVolumes implements SchedulerVolumeBinder.BindPodVolumes. -func (b *FakeVolumeBinder) BindPodVolumes(assumedPod *v1.Pod, podVolumes *PodVolumes) error { +func (b *FakeVolumeBinder) BindPodVolumes(ctx context.Context, assumedPod *v1.Pod, podVolumes *PodVolumes) error { b.BindCalled = true return b.config.BindErr } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/volume_binding.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/volume_binding.go index 48ee01dea4eb..9cbe204e75a8 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/volume_binding.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/plugins/volumebinding/volume_binding.go @@ -333,7 +333,7 @@ func (pl *VolumeBinding) PreBind(ctx context.Context, cs *framework.CycleState, return framework.AsStatus(fmt.Errorf("no pod volumes found for node %q", nodeName)) } klog.V(5).InfoS("Trying to bind volumes for pod", "pod", klog.KObj(pod)) - err = pl.Binder.BindPodVolumes(pod, podVolumes) + err = pl.Binder.BindPodVolumes(ctx, pod, podVolumes) if err != nil { klog.V(1).InfoS("Failed to bind volumes for pod", "pod", klog.KObj(pod), "err", err) return framework.AsStatus(err) @@ -355,7 +355,6 @@ func (pl *VolumeBinding) Unreserve(ctx context.Context, cs *framework.CycleState return } pl.Binder.RevertAssumedPodVolumes(podVolumes) - return } // New initializes a new plugin and returns it. diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/preemption/preemption.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/preemption/preemption.go index af5e46d1ae2b..5f2c0933f365 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/preemption/preemption.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/preemption/preemption.go @@ -28,11 +28,14 @@ import ( policy "k8s.io/api/policy/v1" "k8s.io/apimachinery/pkg/labels" utilerrors "k8s.io/apimachinery/pkg/util/errors" + "k8s.io/apiserver/pkg/util/feature" corelisters "k8s.io/client-go/listers/core/v1" policylisters "k8s.io/client-go/listers/policy/v1" corev1helpers "k8s.io/component-helpers/scheduling/corev1" "k8s.io/klog/v2" extenderv1 "k8s.io/kube-scheduler/extender/v1" + apipod "k8s.io/kubernetes/pkg/api/v1/pod" + "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/scheduler/framework" "k8s.io/kubernetes/pkg/scheduler/metrics" "k8s.io/kubernetes/pkg/scheduler/util" @@ -125,20 +128,24 @@ type Evaluator struct { // Preempt returns a PostFilterResult carrying suggested nominatedNodeName, along with a Status. // The semantics of returned varies on different scenarios: -// - . This denotes it's a transient/rare error that may be self-healed in future cycles. -// - . This status is mostly as expected like the preemptor is waiting for the -// victims to be fully terminated. -// - In both cases above, a nil PostFilterResult is returned to keep the pod's nominatedNodeName unchanged. // -// - . It indicates the pod cannot be scheduled even with preemption. -// In this case, a non-nil PostFilterResult is returned and result.NominatingMode instructs how to deal with -// the nominatedNodeName. -// - . It's the regular happy path -// and the non-empty nominatedNodeName will be applied to the preemptor pod. +// - . This denotes it's a transient/rare error that may be self-healed in future cycles. +// +// - . This status is mostly as expected like the preemptor is waiting for the +// victims to be fully terminated. +// +// - In both cases above, a nil PostFilterResult is returned to keep the pod's nominatedNodeName unchanged. +// +// - . It indicates the pod cannot be scheduled even with preemption. +// In this case, a non-nil PostFilterResult is returned and result.NominatingMode instructs how to deal with +// the nominatedNodeName. +// +// - . It's the regular happy path +// and the non-empty nominatedNodeName will be applied to the preemptor pod. func (ev *Evaluator) Preempt(ctx context.Context, pod *v1.Pod, m framework.NodeToStatusMap) (*framework.PostFilterResult, *framework.Status) { // 0) Fetch the latest version of . // It's safe to directly fetch pod here. Because the informer cache has already been - // initialized when creating the Scheduler obj, i.e., factory.go#MakeDefaultErrorFunc(). + // initialized when creating the Scheduler obj. // However, tests may need to manually initialize the shared pod informer. podNamespace, podName := pod.Namespace, pod.Name pod, err := ev.PodLister.Pods(pod.Namespace).Get(pod.Name) @@ -336,9 +343,26 @@ func (ev *Evaluator) prepareCandidate(ctx context.Context, c Candidate, pod *v1. // Otherwise we should delete the victim. if waitingPod := fh.GetWaitingPod(victim.UID); waitingPod != nil { waitingPod.Reject(pluginName, "preempted") - } else if err := util.DeletePod(ctx, cs, victim); err != nil { - klog.ErrorS(err, "Preempting pod", "pod", klog.KObj(victim), "preemptor", klog.KObj(pod)) - return framework.AsStatus(err) + } else { + if feature.DefaultFeatureGate.Enabled(features.PodDisruptionConditions) { + condition := &v1.PodCondition{ + Type: v1.AlphaNoCompatGuaranteeDisruptionTarget, + Status: v1.ConditionTrue, + Reason: "PreemptionByKubeScheduler", + Message: "Kube-scheduler: preempting", + } + newStatus := pod.Status.DeepCopy() + if apipod.UpdatePodCondition(newStatus, condition) { + if err := util.PatchPodStatus(ctx, cs, victim, newStatus); err != nil { + klog.ErrorS(err, "Preparing pod preemption", "pod", klog.KObj(victim), "preemptor", klog.KObj(pod)) + return framework.AsStatus(err) + } + } + } + if err := util.DeletePod(ctx, cs, victim); err != nil { + klog.ErrorS(err, "Preempting pod", "pod", klog.KObj(victim), "preemptor", klog.KObj(pod)) + return framework.AsStatus(err) + } } fh.EventRecorder().Eventf(victim, pod, v1.EventTypeNormal, "Preempted", "Preempting", "Preempted by %v/%v on node %v", pod.Namespace, pod.Name, c.Name()) @@ -549,6 +573,7 @@ func (ev *Evaluator) DryRunPreemption(ctx context.Context, pod *v1.Pod, potentia nonViolatingCandidates := newCandidateList(numCandidates) violatingCandidates := newCandidateList(numCandidates) parallelCtx, cancel := context.WithCancel(ctx) + defer cancel() nodeStatuses := make(framework.NodeToStatusMap) var statusesLock sync.Mutex var errs []error diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/types.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/types.go index 93970327d5aa..247c124a7a55 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/types.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/framework/types.go @@ -29,9 +29,7 @@ import ( "k8s.io/apimachinery/pkg/labels" utilerrors "k8s.io/apimachinery/pkg/util/errors" "k8s.io/apimachinery/pkg/util/sets" - utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/klog/v2" - "k8s.io/kubernetes/pkg/features" schedutil "k8s.io/kubernetes/pkg/scheduler/util" ) @@ -444,10 +442,7 @@ func (r *Resource) Add(rl v1.ResourceList) { case v1.ResourcePods: r.AllowedPodNumber += int(rQuant.Value()) case v1.ResourceEphemeralStorage: - if utilfeature.DefaultFeatureGate.Enabled(features.LocalStorageCapacityIsolation) { - // if the local storage capacity isolation feature gate is disabled, pods request 0 disk. - r.EphemeralStorage += rQuant.Value() - } + r.EphemeralStorage += rQuant.Value() default: if schedutil.IsScalarResourceName(rName) { r.AddScalar(rName, rQuant.Value()) @@ -500,9 +495,7 @@ func (r *Resource) SetMaxResource(rl v1.ResourceList) { case v1.ResourceCPU: r.MilliCPU = max(r.MilliCPU, rQuantity.MilliValue()) case v1.ResourceEphemeralStorage: - if utilfeature.DefaultFeatureGate.Enabled(features.LocalStorageCapacityIsolation) { - r.EphemeralStorage = max(r.EphemeralStorage, rQuantity.Value()) - } + r.EphemeralStorage = max(r.EphemeralStorage, rQuantity.Value()) default: if schedutil.IsScalarResourceName(rName) { r.SetScalar(rName, max(r.ScalarResources[rName], rQuantity.Value())) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/internal/cache/cache.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/internal/cache/cache.go index 1cd69a9704db..036ab08cfbca 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/internal/cache/cache.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/internal/cache/cache.go @@ -77,6 +77,7 @@ type cacheImpl struct { type podState struct { pod *v1.Pod // Used by assumedPod to determinate expiration. + // If deadline is nil, assumedPod will never expire. deadline *time.Time // Used to block cache from expiring assumedPod if binding still runs bindingFinished bool @@ -401,9 +402,13 @@ func (cache *cacheImpl) finishBinding(pod *v1.Pod, now time.Time) error { klog.V(5).InfoS("Finished binding for pod, can be expired", "pod", klog.KObj(pod)) currState, ok := cache.podStates[key] if ok && cache.assumedPods.Has(key) { - dl := now.Add(cache.ttl) + if cache.ttl == time.Duration(0) { + currState.deadline = nil + } else { + dl := now.Add(cache.ttl) + currState.deadline = &dl + } currState.bindingFinished = true - currState.deadline = &dl } return nil } @@ -750,7 +755,7 @@ func (cache *cacheImpl) cleanupAssumedPods(now time.Time) { "pod", klog.KObj(ps.pod)) continue } - if now.After(*ps.deadline) { + if cache.ttl != 0 && now.After(*ps.deadline) { klog.InfoS("Pod expired", "pod", klog.KObj(ps.pod)) if err := cache.removePod(ps.pod); err != nil { klog.ErrorS(err, "ExpirePod failed", "pod", klog.KObj(ps.pod)) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/internal/cache/interface.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/internal/cache/interface.go index 4cd6d8f88692..f6298bd346b3 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/internal/cache/interface.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/internal/cache/interface.go @@ -31,31 +31,31 @@ import ( // // State Machine of a pod's events in scheduler's cache: // +// +-------------------------------------------+ +----+ +// | Add | | | +// | | | | Update +// + Assume Add v v | // -// +-------------------------------------------+ +----+ -// | Add | | | -// | | | | Update -// + Assume Add v v | -//Initial +--------> Assumed +------------+---> Added <--+ -// ^ + + | + -// | | | | | -// | | | Add | | Remove -// | | | | | -// | | | + | -// +----------------+ +-----------> Expired +----> Deleted -// Forget Expire +// Initial +--------> Assumed +------------+---> Added <--+ // +// ^ + + | + +// | | | | | +// | | | Add | | Remove +// | | | | | +// | | | + | +// +----------------+ +-----------> Expired +----> Deleted +// Forget Expire // // Note that an assumed pod can expire, because if we haven't received Add event notifying us // for a while, there might be some problems and we shouldn't keep the pod in cache anymore. // // Note that "Initial", "Expired", and "Deleted" pods do not actually exist in cache. // Based on existing use cases, we are making the following assumptions: -// - No pod would be assumed twice -// - A pod could be added without going through scheduler. In this case, we will see Add but not Assume event. -// - If a pod wasn't added, it wouldn't be removed or updated. -// - Both "Expired" and "Deleted" are valid end states. In case of some problems, e.g. network issue, -// a pod might have changed its state (e.g. added and deleted) without delivering notification to the cache. +// - No pod would be assumed twice +// - A pod could be added without going through scheduler. In this case, we will see Add but not Assume event. +// - If a pod wasn't added, it wouldn't be removed or updated. +// - Both "Expired" and "Deleted" are valid end states. In case of some problems, e.g. network issue, +// a pod might have changed its state (e.g. added and deleted) without delivering notification to the cache. type Cache interface { // NodeCount returns the number of nodes in the cache. // DO NOT use outside of tests. diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/internal/queue/scheduling_queue.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/internal/queue/scheduling_queue.go index a5a4b30ecadd..8de1a09c03b0 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/internal/queue/scheduling_queue.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/internal/queue/scheduling_queue.go @@ -127,11 +127,11 @@ func NominatedNodeName(pod *v1.Pod) string { // The head of PriorityQueue is the highest priority pending pod. This structure // has two sub queues and a additional data structure, namely: activeQ, // backoffQ and unschedulablePods. -// - activeQ holds pods that are being considered for scheduling. -// - backoffQ holds pods that moved from unschedulablePods and will move to -// activeQ when their backoff periods complete. -// - unschedulablePods holds pods that were already attempted for scheduling and -// are currently determined to be unschedulable. +// - activeQ holds pods that are being considered for scheduling. +// - backoffQ holds pods that moved from unschedulablePods and will move to +// activeQ when their backoff periods complete. +// - unschedulablePods holds pods that were already attempted for scheduling and +// are currently determined to be unschedulable. type PriorityQueue struct { // PodNominator abstracts the operations to maintain nominated Pods. framework.PodNominator @@ -415,7 +415,7 @@ func (p *PriorityQueue) AddUnschedulableIfNotPresent(pInfo *framework.QueuedPodI } if p.moveRequestCycle >= podSchedulingCycle { if err := p.podBackoffQ.Add(pInfo); err != nil { - return fmt.Errorf("error adding pod %v to the backoff queue: %v", pod.Name, err) + return fmt.Errorf("error adding pod %v to the backoff queue: %v", klog.KObj(pod), err) } metrics.SchedulerQueueIncomingPods.WithLabelValues("backoff", ScheduleAttemptFailure).Inc() } else { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/schedule_one.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/schedule_one.go index dbb739778f6c..9d339048c021 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/schedule_one.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/schedule_one.go @@ -26,6 +26,7 @@ import ( "time" v1 "k8s.io/api/core/v1" + apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/apimachinery/pkg/util/sets" @@ -129,7 +130,7 @@ func (sched *Scheduler) scheduleOne(ctx context.Context) { klog.ErrorS(err, "Error selecting node for pod", "pod", klog.KObj(pod)) metrics.PodScheduleError(fwk.ProfileName(), metrics.SinceInSeconds(start)) } - sched.handleSchedulingFailure(ctx, fwk, podInfo, err, v1.PodReasonUnschedulable, nominatingInfo) + sched.FailureHandler(ctx, fwk, podInfo, err, v1.PodReasonUnschedulable, nominatingInfo) return } metrics.SchedulingAlgorithmLatency.Observe(metrics.SinceInSeconds(start)) @@ -146,7 +147,7 @@ func (sched *Scheduler) scheduleOne(ctx context.Context) { // This relies on the fact that Error will check if the pod has been bound // to a node and if so will not add it back to the unscheduled pods queue // (otherwise this would cause an infinite loop). - sched.handleSchedulingFailure(ctx, fwk, assumedPodInfo, err, SchedulerError, clearNominatedNode) + sched.FailureHandler(ctx, fwk, assumedPodInfo, err, SchedulerError, clearNominatedNode) return } @@ -158,7 +159,7 @@ func (sched *Scheduler) scheduleOne(ctx context.Context) { if forgetErr := sched.Cache.ForgetPod(assumedPod); forgetErr != nil { klog.ErrorS(forgetErr, "Scheduler cache ForgetPod failed") } - sched.handleSchedulingFailure(ctx, fwk, assumedPodInfo, sts.AsError(), SchedulerError, clearNominatedNode) + sched.FailureHandler(ctx, fwk, assumedPodInfo, sts.AsError(), SchedulerError, clearNominatedNode) return } @@ -178,7 +179,7 @@ func (sched *Scheduler) scheduleOne(ctx context.Context) { if forgetErr := sched.Cache.ForgetPod(assumedPod); forgetErr != nil { klog.ErrorS(forgetErr, "Scheduler cache ForgetPod failed") } - sched.handleSchedulingFailure(ctx, fwk, assumedPodInfo, runPermitStatus.AsError(), reason, clearNominatedNode) + sched.FailureHandler(ctx, fwk, assumedPodInfo, runPermitStatus.AsError(), reason, clearNominatedNode) return } @@ -221,7 +222,7 @@ func (sched *Scheduler) scheduleOne(ctx context.Context) { return assumedPod.UID != pod.UID }) } - sched.handleSchedulingFailure(ctx, fwk, assumedPodInfo, waitOnPermitStatus.AsError(), reason, clearNominatedNode) + sched.FailureHandler(ctx, fwk, assumedPodInfo, waitOnPermitStatus.AsError(), reason, clearNominatedNode) return } @@ -239,7 +240,7 @@ func (sched *Scheduler) scheduleOne(ctx context.Context) { // TODO(#103853): de-duplicate the logic. sched.SchedulingQueue.MoveAllToActiveOrBackoffQueue(internalqueue.AssignedPodDelete, nil) } - sched.handleSchedulingFailure(ctx, fwk, assumedPodInfo, preBindStatus.AsError(), SchedulerError, clearNominatedNode) + sched.FailureHandler(ctx, fwk, assumedPodInfo, preBindStatus.AsError(), SchedulerError, clearNominatedNode) return } @@ -256,7 +257,7 @@ func (sched *Scheduler) scheduleOne(ctx context.Context) { // TODO(#103853): de-duplicate the logic. sched.SchedulingQueue.MoveAllToActiveOrBackoffQueue(internalqueue.AssignedPodDelete, nil) } - sched.handleSchedulingFailure(ctx, fwk, assumedPodInfo, fmt.Errorf("binding rejected: %w", err), SchedulerError, clearNominatedNode) + sched.FailureHandler(ctx, fwk, assumedPodInfo, fmt.Errorf("binding rejected: %w", err), SchedulerError, clearNominatedNode) return } // Calculating nodeResourceString can be heavy. Avoid it if klog verbosity is below 2. @@ -367,12 +368,12 @@ func (sched *Scheduler) findNodesThatFitPod(ctx context.Context, fwk framework.F UnschedulablePlugins: sets.NewString(), } - // Run "prefilter" plugins. - preRes, s := fwk.RunPreFilterPlugins(ctx, state, pod) allNodes, err := sched.nodeInfoSnapshot.NodeInfos().List() if err != nil { return nil, diagnosis, err } + // Run "prefilter" plugins. + preRes, s := fwk.RunPreFilterPlugins(ctx, state, pod) if !s.IsSuccess() { if !s.IsUnschedulable() { return nil, diagnosis, s.AsError() @@ -414,6 +415,10 @@ func (sched *Scheduler) findNodesThatFitPod(ctx context.Context, fwk framework.F } } feasibleNodes, err := sched.findNodesThatPassFilters(ctx, fwk, state, pod, diagnosis, nodes) + // always try to update the sched.nextStartNodeIndex regardless of whether an error has occurred + // this is helpful to make sure that all the nodes have a chance to be searched + processedNodes := len(feasibleNodes) + len(diagnosis.NodeToStatusMap) + sched.nextStartNodeIndex = (sched.nextStartNodeIndex + processedNodes) % len(nodes) if err != nil { return nil, diagnosis, err } @@ -453,18 +458,17 @@ func (sched *Scheduler) findNodesThatPassFilters( pod *v1.Pod, diagnosis framework.Diagnosis, nodes []*framework.NodeInfo) ([]*v1.Node, error) { - numNodesToFind := sched.numFeasibleNodesToFind(int32(len(nodes))) + numAllNodes := len(nodes) + numNodesToFind := sched.numFeasibleNodesToFind(int32(numAllNodes)) // Create feasible list with enough space to avoid growing it // and allow assigning. feasibleNodes := make([]*v1.Node, numNodesToFind) if !fwk.HasFilterPlugins() { - length := len(nodes) for i := range feasibleNodes { - feasibleNodes[i] = nodes[(sched.nextStartNodeIndex+i)%length].Node() + feasibleNodes[i] = nodes[(sched.nextStartNodeIndex+i)%numAllNodes].Node() } - sched.nextStartNodeIndex = (sched.nextStartNodeIndex + len(feasibleNodes)) % length return feasibleNodes, nil } @@ -475,7 +479,7 @@ func (sched *Scheduler) findNodesThatPassFilters( checkNode := func(i int) { // We check the nodes starting from where we left off in the previous scheduling cycle, // this is to make sure all nodes have the same chance of being examined across pods. - nodeInfo := nodes[(sched.nextStartNodeIndex+i)%len(nodes)] + nodeInfo := nodes[(sched.nextStartNodeIndex+i)%numAllNodes] status := fwk.RunFilterPluginsWithNominatedPods(ctx, state, pod, nodeInfo) if status.Code() == framework.Error { errCh.SendErrorWithCancel(status.AsError(), cancel) @@ -508,14 +512,11 @@ func (sched *Scheduler) findNodesThatPassFilters( // Stops searching for more nodes once the configured number of feasible nodes // are found. - fwk.Parallelizer().Until(ctx, len(nodes), checkNode) - processedNodes := int(feasibleNodesLen) + len(diagnosis.NodeToStatusMap) - sched.nextStartNodeIndex = (sched.nextStartNodeIndex + processedNodes) % len(nodes) - + fwk.Parallelizer().Until(ctx, numAllNodes, checkNode) feasibleNodes = feasibleNodes[:feasibleNodesLen] if err := errCh.ReceiveError(); err != nil { statusCode = framework.Error - return nil, err + return feasibleNodes, err } return feasibleNodes, nil } @@ -810,7 +811,53 @@ func getAttemptsLabel(p *framework.QueuedPodInfo) string { // handleSchedulingFailure records an event for the pod that indicates the // pod has failed to schedule. Also, update the pod condition and nominated node name if set. func (sched *Scheduler) handleSchedulingFailure(ctx context.Context, fwk framework.Framework, podInfo *framework.QueuedPodInfo, err error, reason string, nominatingInfo *framework.NominatingInfo) { - sched.Error(podInfo, err) + pod := podInfo.Pod + var errMsg string + if err != nil { + errMsg = err.Error() + } + if err == ErrNoNodesAvailable { + klog.V(2).InfoS("Unable to schedule pod; no nodes are registered to the cluster; waiting", "pod", klog.KObj(pod)) + } else if fitError, ok := err.(*framework.FitError); ok { + // Inject UnschedulablePlugins to PodInfo, which will be used later for moving Pods between queues efficiently. + podInfo.UnschedulablePlugins = fitError.Diagnosis.UnschedulablePlugins + klog.V(2).InfoS("Unable to schedule pod; no fit; waiting", "pod", klog.KObj(pod), "err", errMsg) + } else if apierrors.IsNotFound(err) { + klog.V(2).InfoS("Unable to schedule pod, possibly due to node not found; waiting", "pod", klog.KObj(pod), "err", errMsg) + if errStatus, ok := err.(apierrors.APIStatus); ok && errStatus.Status().Details.Kind == "node" { + nodeName := errStatus.Status().Details.Name + // when node is not found, We do not remove the node right away. Trying again to get + // the node and if the node is still not found, then remove it from the scheduler cache. + _, err := fwk.ClientSet().CoreV1().Nodes().Get(context.TODO(), nodeName, metav1.GetOptions{}) + if err != nil && apierrors.IsNotFound(err) { + node := v1.Node{ObjectMeta: metav1.ObjectMeta{Name: nodeName}} + if err := sched.Cache.RemoveNode(&node); err != nil { + klog.V(4).InfoS("Node is not found; failed to remove it from the cache", "node", node.Name) + } + } + } + } else { + klog.ErrorS(err, "Error scheduling pod; retrying", "pod", klog.KObj(pod)) + } + + // Check if the Pod exists in informer cache. + podLister := fwk.SharedInformerFactory().Core().V1().Pods().Lister() + cachedPod, e := podLister.Pods(pod.Namespace).Get(pod.Name) + if e != nil { + klog.InfoS("Pod doesn't exist in informer cache", "pod", klog.KObj(pod), "err", e) + } else { + // In the case of extender, the pod may have been bound successfully, but timed out returning its response to the scheduler. + // It could result in the live version to carry .spec.nodeName, and that's inconsistent with the internal-queued version. + if len(cachedPod.Spec.NodeName) != 0 { + klog.InfoS("Pod has been assigned to node. Abort adding it back to queue.", "pod", klog.KObj(pod), "node", cachedPod.Spec.NodeName) + } else { + // As is from SharedInformer, we need to do a DeepCopy() here. + podInfo.PodInfo = framework.NewPodInfo(cachedPod.DeepCopy()) + if err := sched.SchedulingQueue.AddUnschedulableIfNotPresent(podInfo, sched.SchedulingQueue.SchedulingCycle()); err != nil { + klog.ErrorS(err, "Error occurred") + } + } + } // Update the scheduling queue with the nominated pod information. Without // this, there would be a race condition between the next scheduling cycle @@ -820,14 +867,18 @@ func (sched *Scheduler) handleSchedulingFailure(ctx context.Context, fwk framewo sched.SchedulingQueue.AddNominatedPod(podInfo.PodInfo, nominatingInfo) } - pod := podInfo.Pod - msg := truncateMessage(err.Error()) + if err == nil { + // Only tests can reach here. + return + } + + msg := truncateMessage(errMsg) fwk.EventRecorder().Eventf(pod, nil, v1.EventTypeWarning, "FailedScheduling", "Scheduling", msg) if err := updatePod(ctx, sched.client, pod, &v1.PodCondition{ Type: v1.PodScheduled, Status: v1.ConditionFalse, Reason: reason, - Message: err.Error(), + Message: errMsg, }, nominatingInfo); err != nil { klog.ErrorS(err, "Error updating pod", "pod", klog.KObj(pod)) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/scheduler.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/scheduler.go index c165b34ffc29..060dcc31ba0a 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/scheduler.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/scheduler.go @@ -23,7 +23,6 @@ import ( "time" v1 "k8s.io/api/core/v1" - apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/apimachinery/pkg/util/wait" @@ -31,11 +30,10 @@ import ( "k8s.io/client-go/informers" coreinformers "k8s.io/client-go/informers/core/v1" clientset "k8s.io/client-go/kubernetes" - corelisters "k8s.io/client-go/listers/core/v1" restclient "k8s.io/client-go/rest" "k8s.io/client-go/tools/cache" "k8s.io/klog/v2" - "k8s.io/kube-scheduler/config/v1beta3" + configv1 "k8s.io/kube-scheduler/config/v1" schedulerapi "k8s.io/kubernetes/pkg/scheduler/apis/config" "k8s.io/kubernetes/pkg/scheduler/apis/config/scheme" "k8s.io/kubernetes/pkg/scheduler/framework" @@ -53,7 +51,7 @@ import ( const ( // Duration the scheduler will wait before expiring an assumed pod. // See issue #106361 for more details about this parameter and its value. - durationToExpireAssumedPod = 15 * time.Minute + durationToExpireAssumedPod time.Duration = 0 ) // ErrNoNodesAvailable is used to describe the error that no nodes available to schedule pods. @@ -74,9 +72,8 @@ type Scheduler struct { // stale while they sit in a channel. NextPod func() *framework.QueuedPodInfo - // Error is called if there is an error. It is passed the pod in - // question, and the error - Error func(*framework.QueuedPodInfo, error) + // FailureHandler is called upon a scheduling failure. + FailureHandler FailureHandlerFn // SchedulePod tries to schedule the given pod to one of the nodes in the node list. // Return a struct of ScheduleResult with the name of suggested host on success, @@ -134,7 +131,7 @@ type ScheduleResult struct { // WithComponentConfigVersion sets the component config version to the // KubeSchedulerConfiguration version used. The string should be the full // scheme group/version of the external type we converted from (for example -// "kubescheduler.config.k8s.io/v1beta2") +// "kubescheduler.config.k8s.io/v1") func WithComponentConfigVersion(apiVersion string) Option { return func(o *schedulerOptions) { o.componentConfigVersion = apiVersion @@ -249,7 +246,7 @@ func New(client clientset.Interface, } if options.applyDefaultProfile { - var versionedCfg v1beta3.KubeSchedulerConfiguration + var versionedCfg configv1.KubeSchedulerConfiguration scheme.Scheme.Default(&versionedCfg) cfg := schedulerapi.KubeSchedulerConfiguration{} if err := scheme.Scheme.Convert(&versionedCfg, &cfg, nil); err != nil { @@ -318,7 +315,6 @@ func New(client clientset.Interface, schedulerCache, extenders, internalqueue.MakeNextPodFunc(podQueue), - MakeDefaultErrorFunc(client, podLister, podQueue, schedulerCache), stopEverything, podQueue, profiles, @@ -348,56 +344,6 @@ func (sched *Scheduler) Run(ctx context.Context) { sched.SchedulingQueue.Close() } -// MakeDefaultErrorFunc construct a function to handle pod scheduler error -func MakeDefaultErrorFunc(client clientset.Interface, podLister corelisters.PodLister, podQueue internalqueue.SchedulingQueue, schedulerCache internalcache.Cache) func(*framework.QueuedPodInfo, error) { - return func(podInfo *framework.QueuedPodInfo, err error) { - pod := podInfo.Pod - if err == ErrNoNodesAvailable { - klog.V(2).InfoS("Unable to schedule pod; no nodes are registered to the cluster; waiting", "pod", klog.KObj(pod)) - } else if fitError, ok := err.(*framework.FitError); ok { - // Inject UnschedulablePlugins to PodInfo, which will be used later for moving Pods between queues efficiently. - podInfo.UnschedulablePlugins = fitError.Diagnosis.UnschedulablePlugins - klog.V(2).InfoS("Unable to schedule pod; no fit; waiting", "pod", klog.KObj(pod), "err", err) - } else if apierrors.IsNotFound(err) { - klog.V(2).InfoS("Unable to schedule pod, possibly due to node not found; waiting", "pod", klog.KObj(pod), "err", err) - if errStatus, ok := err.(apierrors.APIStatus); ok && errStatus.Status().Details.Kind == "node" { - nodeName := errStatus.Status().Details.Name - // when node is not found, We do not remove the node right away. Trying again to get - // the node and if the node is still not found, then remove it from the scheduler cache. - _, err := client.CoreV1().Nodes().Get(context.TODO(), nodeName, metav1.GetOptions{}) - if err != nil && apierrors.IsNotFound(err) { - node := v1.Node{ObjectMeta: metav1.ObjectMeta{Name: nodeName}} - if err := schedulerCache.RemoveNode(&node); err != nil { - klog.V(4).InfoS("Node is not found; failed to remove it from the cache", "node", node.Name) - } - } - } - } else { - klog.ErrorS(err, "Error scheduling pod; retrying", "pod", klog.KObj(pod)) - } - - // Check if the Pod exists in informer cache. - cachedPod, err := podLister.Pods(pod.Namespace).Get(pod.Name) - if err != nil { - klog.InfoS("Pod doesn't exist in informer cache", "pod", klog.KObj(pod), "err", err) - return - } - - // In the case of extender, the pod may have been bound successfully, but timed out returning its response to the scheduler. - // It could result in the live version to carry .spec.nodeName, and that's inconsistent with the internal-queued version. - if len(cachedPod.Spec.NodeName) != 0 { - klog.InfoS("Pod has been assigned to node. Abort adding it back to queue.", "pod", klog.KObj(pod), "node", cachedPod.Spec.NodeName) - return - } - - // As is from SharedInformer, we need to do a DeepCopy() here. - podInfo.PodInfo = framework.NewPodInfo(cachedPod.DeepCopy()) - if err := podQueue.AddUnschedulableIfNotPresent(podInfo, podQueue.SchedulingCycle()); err != nil { - klog.ErrorS(err, "Error occurred") - } - } -} - // NewInformerFactory creates a SharedInformerFactory and initializes a scheduler specific // in-place podInformer. func NewInformerFactory(cs clientset.Interface, resyncPeriod time.Duration) informers.SharedInformerFactory { @@ -464,12 +410,13 @@ func buildExtenders(extenders []schedulerapi.Extender, profiles []schedulerapi.K return fExtenders, nil } +type FailureHandlerFn func(ctx context.Context, fwk framework.Framework, podInfo *framework.QueuedPodInfo, err error, reason string, nominatingInfo *framework.NominatingInfo) + // newScheduler creates a Scheduler object. func newScheduler( cache internalcache.Cache, extenders []framework.Extender, nextPod func() *framework.QueuedPodInfo, - Error func(*framework.QueuedPodInfo, error), stopEverything <-chan struct{}, schedulingQueue internalqueue.SchedulingQueue, profiles profile.Map, @@ -480,7 +427,6 @@ func newScheduler( Cache: cache, Extenders: extenders, NextPod: nextPod, - Error: Error, StopEverything: stopEverything, SchedulingQueue: schedulingQueue, Profiles: profiles, @@ -489,6 +435,7 @@ func newScheduler( percentageOfNodesToScore: percentageOfNodesToScore, } sched.SchedulePod = sched.schedulePod + sched.FailureHandler = sched.handleSchedulingFailure return &sched } @@ -505,10 +452,11 @@ func unionedGVKs(m map[framework.ClusterEvent]sets.String) map[framework.GVK]fra } // newPodInformer creates a shared index informer that returns only non-terminal pods. +// The PodInformer allows indexers to be added, but note that only non-conflict indexers are allowed. func newPodInformer(cs clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer { selector := fmt.Sprintf("status.phase!=%v,status.phase!=%v", v1.PodSucceeded, v1.PodFailed) tweakListOptions := func(options *metav1.ListOptions) { options.FieldSelector = selector } - return coreinformers.NewFilteredPodInformer(cs, metav1.NamespaceAll, resyncPeriod, nil, tweakListOptions) + return coreinformers.NewFilteredPodInformer(cs, metav1.NamespaceAll, resyncPeriod, cache.Indexers{}, tweakListOptions) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/util/pod_resources.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/util/pod_resources.go index b5947349cd45..bf665c68cc6b 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/util/pod_resources.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/util/pod_resources.go @@ -18,8 +18,6 @@ package util import ( v1 "k8s.io/api/core/v1" - utilfeature "k8s.io/apiserver/pkg/util/feature" - "k8s.io/kubernetes/pkg/features" ) // For each of these resources, a pod that doesn't request the resource explicitly @@ -65,11 +63,6 @@ func GetRequestForResource(resource v1.ResourceName, requests *v1.ResourceList, } return requests.Memory().Value() case v1.ResourceEphemeralStorage: - // if the local storage capacity isolation feature gate is disabled, pods request 0 disk. - if !utilfeature.DefaultFeatureGate.Enabled(features.LocalStorageCapacityIsolation) { - return 0 - } - quantity, found := (*requests)[v1.ResourceEphemeralStorage] if !found { return 0 diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/util/utils.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/util/utils.go index 929dfb8fa443..c597510fb622 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/util/utils.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/scheduler/util/utils.go @@ -26,8 +26,10 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" utilerrors "k8s.io/apimachinery/pkg/util/errors" + "k8s.io/apimachinery/pkg/util/net" "k8s.io/apimachinery/pkg/util/strategicpatch" "k8s.io/client-go/kubernetes" + "k8s.io/client-go/util/retry" corev1helpers "k8s.io/component-helpers/scheduling/corev1" "k8s.io/klog/v2" extenderv1 "k8s.io/kube-scheduler/extender/v1" @@ -115,8 +117,12 @@ func PatchPodStatus(ctx context.Context, cs kubernetes.Interface, old *v1.Pod, n return nil } - _, err = cs.CoreV1().Pods(old.Namespace).Patch(ctx, old.Name, types.StrategicMergePatchType, patchBytes, metav1.PatchOptions{}, "status") - return err + patchFn := func() error { + _, err := cs.CoreV1().Pods(old.Namespace).Patch(ctx, old.Name, types.StrategicMergePatchType, patchBytes, metav1.PatchOptions{}, "status") + return err + } + + return retry.OnError(retry.DefaultBackoff, net.IsConnectionRefused, patchFn) } // DeletePod deletes the given from API server diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/conntrack/conntrack.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/conntrack/conntrack.go index 52759266ae4e..4dc27d347e40 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/conntrack/conntrack.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/conntrack/conntrack.go @@ -86,7 +86,7 @@ func Exists(execer exec.Interface) bool { // https://github.com/kubernetes/kubernetes/issues/31983 func ClearEntriesForPort(execer exec.Interface, port int, isIPv6 bool, protocol v1.Protocol) error { if port <= 0 { - return fmt.Errorf("Wrong port number. The port number must be greater than zero") + return fmt.Errorf("wrong port number. The port number must be greater than zero") } parameters := parametersWithFamily(isIPv6, "-D", "-p", protoStr(protocol), "--dport", strconv.Itoa(port)) err := Exec(execer, parameters...) @@ -117,7 +117,7 @@ func ClearEntriesForNAT(execer exec.Interface, origin, dest string, protocol v1. // https://github.com/kubernetes/kubernetes/issues/59368 func ClearEntriesForPortNAT(execer exec.Interface, dest string, port int, protocol v1.Protocol) error { if port <= 0 { - return fmt.Errorf("Wrong port number. The port number must be greater than zero") + return fmt.Errorf("wrong port number. The port number must be greater than zero") } parameters := parametersWithFamily(utilnet.IsIPv6String(dest), "-D", "-p", protoStr(protocol), "--dport", strconv.Itoa(port), "--dst-nat", dest) err := Exec(execer, parameters...) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/env/env.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/env/env.go deleted file mode 100644 index 6879c5052b1f..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/env/env.go +++ /dev/null @@ -1,57 +0,0 @@ -/* -Copyright 2015 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package env - -import ( - "os" - "strconv" -) - -// GetEnvAsStringOrFallback returns the env variable for the given key -// and falls back to the given defaultValue if not set -func GetEnvAsStringOrFallback(key, defaultValue string) string { - if v := os.Getenv(key); v != "" { - return v - } - return defaultValue -} - -// GetEnvAsIntOrFallback returns the env variable (parsed as integer) for -// the given key and falls back to the given defaultValue if not set -func GetEnvAsIntOrFallback(key string, defaultValue int) (int, error) { - if v := os.Getenv(key); v != "" { - value, err := strconv.Atoi(v) - if err != nil { - return defaultValue, err - } - return value, nil - } - return defaultValue, nil -} - -// GetEnvAsFloat64OrFallback returns the env variable (parsed as float64) for -// the given key and falls back to the given defaultValue if not set -func GetEnvAsFloat64OrFallback(key string, defaultValue float64) (float64, error) { - if v := os.Getenv(key); v != "" { - value, err := strconv.ParseFloat(v, 64) - if err != nil { - return defaultValue, err - } - return value, nil - } - return defaultValue, nil -} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/flag/flags.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/flag/flags.go index ff8e40db8e83..9d518f7c659e 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/flag/flags.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/flag/flags.go @@ -275,7 +275,7 @@ func (t RegisterWithTaintsVar) Set(s string) error { } var taints []v1.Taint for _, ct := range corev1Taints { - taints = append(taints, v1.Taint{Key: ct.Key, Value: ct.Value, Effect: v1.TaintEffect(ct.Effect)}) + taints = append(taints, v1.Taint{Key: ct.Key, Value: ct.Value, Effect: ct.Effect}) } *t.Value = taints return nil diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/goroutinemap/exponentialbackoff/exponential_backoff.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/goroutinemap/exponentialbackoff/exponential_backoff.go index 336f80a51349..1ae4d5e1f731 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/goroutinemap/exponentialbackoff/exponential_backoff.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/goroutinemap/exponentialbackoff/exponential_backoff.go @@ -28,13 +28,13 @@ const ( // that GoroutineMap will refuse to allow another operation to start with // the same target (if exponentialBackOffOnError is enabled). Each // successive error results in a wait 2x times the previous. - initialDurationBeforeRetry time.Duration = 500 * time.Millisecond + initialDurationBeforeRetry = 500 * time.Millisecond // maxDurationBeforeRetry is the maximum amount of time that // durationBeforeRetry will grow to due to exponential backoff. // Value is slightly offset from 2 minutes to make timeouts due to this // constant recognizable. - maxDurationBeforeRetry time.Duration = 2*time.Minute + 2*time.Second + maxDurationBeforeRetry = 2*time.Minute + 2*time.Second ) // ExponentialBackoff contains the last occurrence of an error and the duration diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/ipset/ipset.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/ipset/ipset.go index 2b145f08f8bc..05fa90be5dbd 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/ipset/ipset.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/ipset/ipset.go @@ -57,15 +57,15 @@ const IPSetCmd = "ipset" // EntryMemberPattern is the regular expression pattern of ipset member list. // The raw output of ipset command `ipset list {set}` is similar to, -//Name: foobar -//Type: hash:ip,port -//Revision: 2 -//Header: family inet hashsize 1024 maxelem 65536 -//Size in memory: 16592 -//References: 0 -//Members: -//192.168.1.2,tcp:8080 -//192.168.1.1,udp:53 +// Name: foobar +// Type: hash:ip,port +// Revision: 2 +// Header: family inet hashsize 1024 maxelem 65536 +// Size in memory: 16592 +// References: 0 +// Members: +// 192.168.1.2,tcp:8080 +// 192.168.1.1,udp:53 var EntryMemberPattern = "(?m)^(.*\n)*Members:\n" // VersionPattern is the regular expression pattern of ipset version string. @@ -121,7 +121,7 @@ func (set *IPSet) Validate() error { return nil } -//setIPSetDefaults sets some IPSet fields if not present to their default values. +// setIPSetDefaults sets some IPSet fields if not present to their default values. func (set *IPSet) setIPSetDefaults() { // Setting default values if not present if set.HashSize == 0 { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/iptables/save_restore.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/iptables/save_restore.go index 7ec11e4f00f1..b788beb91135 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/iptables/save_restore.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/iptables/save_restore.go @@ -21,102 +21,32 @@ import ( "fmt" ) -var ( - commitBytes = []byte("COMMIT") - spaceBytes = []byte(" ") -) - // MakeChainLine return an iptables-save/restore formatted chain line given a Chain func MakeChainLine(chain Chain) string { return fmt.Sprintf(":%s - [0:0]", chain) } -// GetChainLines parses a table's iptables-save data to find chains in the table. -// It returns a map of iptables.Chain to []byte where the []byte is the chain line -// from save (with counters etc.). -// Note that to avoid allocations memory is SHARED with save. -func GetChainLines(table Table, save []byte) map[Chain][]byte { - chainsMap := make(map[Chain][]byte) - tablePrefix := []byte("*" + string(table)) - readIndex := 0 - // find beginning of table - for readIndex < len(save) { - line, n := readLine(readIndex, save) - readIndex = n - if bytes.HasPrefix(line, tablePrefix) { +// GetChainsFromTable parses iptables-save data to find the chains that are defined. It +// assumes that save contains a single table's data, and returns a map with keys for every +// chain defined in that table. +func GetChainsFromTable(save []byte) map[Chain]struct{} { + chainsMap := make(map[Chain]struct{}) + + for { + i := bytes.Index(save, []byte("\n:")) + if i == -1 { break } - } - // parse table lines - for readIndex < len(save) { - line, n := readLine(readIndex, save) - readIndex = n - if len(line) == 0 { - continue - } - if bytes.HasPrefix(line, commitBytes) || line[0] == '*' { + start := i + 2 + save = save[start:] + end := bytes.Index(save, []byte(" ")) + if i == -1 { + // shouldn't happen, but... break - } else if line[0] == '#' { - continue - } else if line[0] == ':' && len(line) > 1 { - // We assume that the contains space - chain lines have 3 fields, - // space delimited. If there is no space, this line will panic. - spaceIndex := bytes.Index(line, spaceBytes) - if spaceIndex == -1 { - panic(fmt.Sprintf("Unexpected chain line in iptables-save output: %v", string(line))) - } - chain := Chain(line[1:spaceIndex]) - chainsMap[chain] = line } + chain := Chain(save[:end]) + chainsMap[chain] = struct{}{} + save = save[end:] } return chainsMap } - -func readLine(readIndex int, byteArray []byte) ([]byte, int) { - currentReadIndex := readIndex - - // consume left spaces - for currentReadIndex < len(byteArray) { - if byteArray[currentReadIndex] == ' ' { - currentReadIndex++ - } else { - break - } - } - - // leftTrimIndex stores the left index of the line after the line is left-trimmed - leftTrimIndex := currentReadIndex - - // rightTrimIndex stores the right index of the line after the line is right-trimmed - // it is set to -1 since the correct value has not yet been determined. - rightTrimIndex := -1 - - for ; currentReadIndex < len(byteArray); currentReadIndex++ { - if byteArray[currentReadIndex] == ' ' { - // set rightTrimIndex - if rightTrimIndex == -1 { - rightTrimIndex = currentReadIndex - } - } else if (byteArray[currentReadIndex] == '\n') || (currentReadIndex == (len(byteArray) - 1)) { - // end of line or byte buffer is reached - if currentReadIndex <= leftTrimIndex { - return nil, currentReadIndex + 1 - } - // set the rightTrimIndex - if rightTrimIndex == -1 { - rightTrimIndex = currentReadIndex - if currentReadIndex == (len(byteArray)-1) && (byteArray[currentReadIndex] != '\n') { - // ensure that the last character is part of the returned string, - // unless the last character is '\n' - rightTrimIndex = currentReadIndex + 1 - } - } - // Avoid unnecessary allocation. - return byteArray[leftTrimIndex:rightTrimIndex], currentReadIndex + 1 - } else { - // unset rightTrimIndex - rightTrimIndex = -1 - } - } - return nil, currentReadIndex -} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/pod/pod.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/pod/pod.go index a40f39b3b53f..d972e93d6eef 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/pod/pod.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/util/pod/pod.go @@ -30,7 +30,7 @@ import ( ) // PatchPodStatus patches pod status. It returns true and avoids an update if the patch contains no changes. -func PatchPodStatus(c clientset.Interface, namespace, name string, uid types.UID, oldPodStatus, newPodStatus v1.PodStatus) (*v1.Pod, []byte, bool, error) { +func PatchPodStatus(ctx context.Context, c clientset.Interface, namespace, name string, uid types.UID, oldPodStatus, newPodStatus v1.PodStatus) (*v1.Pod, []byte, bool, error) { patchBytes, unchanged, err := preparePatchBytesForPodStatus(namespace, name, uid, oldPodStatus, newPodStatus) if err != nil { return nil, nil, false, err @@ -39,7 +39,7 @@ func PatchPodStatus(c clientset.Interface, namespace, name string, uid types.UID return nil, patchBytes, true, nil } - updatedPod, err := c.CoreV1().Pods(namespace).Patch(context.TODO(), name, types.StrategicMergePatchType, patchBytes, metav1.PatchOptions{}, "status") + updatedPod, err := c.CoreV1().Pods(namespace).Patch(ctx, name, types.StrategicMergePatchType, patchBytes, metav1.PatchOptions{}, "status") if err != nil { return nil, nil, false, fmt.Errorf("failed to patch status %q for pod %q/%q: %v", patchBytes, namespace, name, err) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/awsebs/aws_ebs.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/awsebs/aws_ebs.go index 6d4752d17a70..c50e8e03635c 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/awsebs/aws_ebs.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/awsebs/aws_ebs.go @@ -100,6 +100,10 @@ func (plugin *awsElasticBlockStorePlugin) SupportsBulkVolumeVerification() bool return true } +func (plugin *awsElasticBlockStorePlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *awsElasticBlockStorePlugin) GetVolumeLimits() (map[string]int64, error) { volumeLimits := map[string]int64{ util.EBSVolumeLimitKey: util.DefaultMaxEBSVolumes, diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/awsebs/aws_ebs_block.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/awsebs/aws_ebs_block.go index c25808c4a930..2eaab4e46f24 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/awsebs/aws_ebs_block.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/awsebs/aws_ebs_block.go @@ -22,6 +22,7 @@ package awsebs import ( "fmt" "path/filepath" + goruntime "runtime" "strconv" "strings" @@ -66,6 +67,10 @@ func (plugin *awsElasticBlockStorePlugin) getVolumeSpecFromGlobalMapPath(volumeN } fullVolumeID := strings.TrimPrefix(globalMapPath, pluginDir) // /vol-XXXXXX fullVolumeID = strings.TrimLeft(fullVolumeID, "/") // vol-XXXXXX + // Windows paths have \\ instead. + if goruntime.GOOS == "windows" { + fullVolumeID = strings.TrimLeft(fullVolumeID, "\\") // vol-XXXXXX + } vID, err := formatVolumeID(fullVolumeID) if err != nil { return nil, fmt.Errorf("failed to get AWS volume id from map path %q: %v", globalMapPath, err) @@ -151,7 +156,8 @@ var _ volume.BlockVolumeMapper = &awsElasticBlockStoreMapper{} // GetGlobalMapPath returns global map path and error // path: plugins/kubernetes.io/{PluginName}/volumeDevices/volumeID -// plugins/kubernetes.io/aws-ebs/volumeDevices/vol-XXXXXX +// +// plugins/kubernetes.io/aws-ebs/volumeDevices/vol-XXXXXX func (ebs *awsElasticBlockStore) GetGlobalMapPath(spec *volume.Spec) (string, error) { volumeSource, _, err := getVolumeSource(spec) if err != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azure_file/azure_file.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azure_file/azure_file.go index 61953cf3d48b..df331ea9f486 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azure_file/azure_file.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azure_file/azure_file.go @@ -100,6 +100,10 @@ func (plugin *azureFilePlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *azureFilePlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *azureFilePlugin) GetAccessModes() []v1.PersistentVolumeAccessMode { return []v1.PersistentVolumeAccessMode{ v1.ReadWriteOnce, diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_common_windows.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_common_windows.go index 3a1bc4873970..c137b438ad5a 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_common_windows.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_common_windows.go @@ -100,10 +100,10 @@ func findDiskByLun(lun int, iohandler ioHandler, exec utilexec.Interface) (strin return "", nil } -func formatIfNotFormatted(disk string, fstype string, exec utilexec.Interface) { +func formatIfNotFormatted(disk string, fstype string, exec utilexec.Interface) error { if err := mount.ValidateDiskNumber(disk); err != nil { klog.Errorf("azureDisk Mount: formatIfNotFormatted failed, err: %v\n", err) - return + return err } if len(fstype) == 0 { @@ -115,7 +115,8 @@ func formatIfNotFormatted(disk string, fstype string, exec utilexec.Interface) { output, err := exec.Command("powershell", "/c", cmd).CombinedOutput() if err != nil { klog.Errorf("azureDisk Mount: Get-Disk failed, error: %v, output: %q", err, string(output)) - } else { - klog.Infof("azureDisk Mount: Disk successfully formatted, disk: %q, fstype: %q\n", disk, fstype) + return err } + klog.Infof("azureDisk Mount: Disk successfully formatted, disk: %q, fstype: %q\n", disk, fstype) + return nil } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_dd.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_dd.go index e839474483c9..25dd97af8830 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_dd.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_dd.go @@ -134,6 +134,10 @@ func (plugin *azureDataDiskPlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *azureDataDiskPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *azureDataDiskPlugin) GetVolumeLimits() (map[string]int64, error) { volumeLimits := map[string]int64{ util.AzureVolumeLimitKey: defaultAzureVolumeLimit, diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_dd_block.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_dd_block.go index e6d6ce6ac116..713bb289b330 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_dd_block.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_dd_block.go @@ -144,7 +144,8 @@ var _ volume.BlockVolumeMapper = &azureDataDiskMapper{} // GetGlobalMapPath returns global map path and error // path: plugins/kubernetes.io/{PluginName}/volumeDevices/volumeID -// plugins/kubernetes.io/azure-disk/volumeDevices/vol-XXXXXX +// +// plugins/kubernetes.io/azure-disk/volumeDevices/vol-XXXXXX func (disk *dataDisk) GetGlobalMapPath(spec *volume.Spec) (string, error) { volumeSource, _, err := getVolumeSource(spec) if err != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_dd_max_disk_count.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_dd_max_disk_count.go index 534bb89679a4..09730beccb3a 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_dd_max_disk_count.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/azuredd/azure_dd_max_disk_count.go @@ -22,403 +22,716 @@ package azuredd // about how to get all VM size list, // refer to https://github.com/kubernetes/kubernetes/issues/77461#issuecomment-492488756 var maxDataDiskCountMap = map[string]int64{ - "BASIC_A0": 1, - "BASIC_A1": 2, - "BASIC_A2": 4, - "BASIC_A3": 8, - "BASIC_A4": 16, - "STANDARD_A0": 1, - "STANDARD_A10": 32, - "STANDARD_A11": 64, - "STANDARD_A1": 2, - "STANDARD_A1_V2": 2, - "STANDARD_A2": 4, - "STANDARD_A2M_V2": 4, - "STANDARD_A2_V2": 4, - "STANDARD_A3": 8, - "STANDARD_A4": 16, - "STANDARD_A4M_V2": 8, - "STANDARD_A4_V2": 8, - "STANDARD_A5": 4, - "STANDARD_A6": 8, - "STANDARD_A7": 16, - "STANDARD_A8": 32, - "STANDARD_A8M_V2": 16, - "STANDARD_A8_V2": 16, - "STANDARD_A9": 64, - "STANDARD_B12MS": 16, - "STANDARD_B16MS": 32, - "STANDARD_B1LS": 2, - "STANDARD_B1MS": 2, - "STANDARD_B1S": 2, - "STANDARD_B20MS": 32, - "STANDARD_B2MS": 4, - "STANDARD_B2S": 4, - "STANDARD_B4MS": 8, - "STANDARD_B8MS": 16, - "STANDARD_D11": 8, - "STANDARD_D11_V2": 8, - "STANDARD_D11_V2_PROMO": 8, - "STANDARD_D12": 16, - "STANDARD_D12_V2": 16, - "STANDARD_D12_V2_PROMO": 16, - "STANDARD_D13": 32, - "STANDARD_D13_V2": 32, - "STANDARD_D13_V2_PROMO": 32, - "STANDARD_D1": 4, - "STANDARD_D14": 64, - "STANDARD_D14_V2": 64, - "STANDARD_D14_V2_PROMO": 64, - "STANDARD_D15_V2": 64, - "STANDARD_D16AS_V4": 32, - "STANDARD_D16A_V4": 32, - "STANDARD_D16DS_V4": 32, - "STANDARD_D16D_V4": 32, - "STANDARD_D16S_V3": 32, - "STANDARD_D16S_V4": 32, - "STANDARD_D16_V3": 32, - "STANDARD_D16_V4": 32, - "STANDARD_D1_V2": 4, - "STANDARD_D2": 8, - "STANDARD_D2AS_V4": 4, - "STANDARD_D2A_V4": 4, - "STANDARD_D2DS_V4": 4, - "STANDARD_D2D_V4": 4, - "STANDARD_D2S_V3": 4, - "STANDARD_D2S_V4": 4, - "STANDARD_D2_V2": 8, - "STANDARD_D2_V2_PROMO": 8, - "STANDARD_D2_V3": 4, - "STANDARD_D2_V4": 4, - "STANDARD_D3": 16, - "STANDARD_D32AS_V4": 32, - "STANDARD_D32A_V4": 32, - "STANDARD_D32DS_V4": 32, - "STANDARD_D32D_V4": 32, - "STANDARD_D32S_V3": 32, - "STANDARD_D32S_V4": 32, - "STANDARD_D32_V3": 32, - "STANDARD_D32_V4": 32, - "STANDARD_D3_V2": 16, - "STANDARD_D3_V2_PROMO": 16, - "STANDARD_D4": 32, - "STANDARD_D48AS_V4": 32, - "STANDARD_D48A_V4": 32, - "STANDARD_D48DS_V4": 32, - "STANDARD_D48D_V4": 32, - "STANDARD_D48S_V3": 32, - "STANDARD_D48S_V4": 32, - "STANDARD_D48_V3": 32, - "STANDARD_D48_V4": 32, - "STANDARD_D4AS_V4": 8, - "STANDARD_D4A_V4": 8, - "STANDARD_D4DS_V4": 8, - "STANDARD_D4D_V4": 8, - "STANDARD_D4S_V3": 8, - "STANDARD_D4S_V4": 8, - "STANDARD_D4_V2": 32, - "STANDARD_D4_V2_PROMO": 32, - "STANDARD_D4_V3": 8, - "STANDARD_D4_V4": 8, - "STANDARD_D5_V2": 64, - "STANDARD_D5_V2_PROMO": 64, - "STANDARD_D64AS_V4": 32, - "STANDARD_D64A_V4": 32, - "STANDARD_D64DS_V4": 32, - "STANDARD_D64D_V4": 32, - "STANDARD_D64S_V3": 32, - "STANDARD_D64S_V4": 32, - "STANDARD_D64_V3": 32, - "STANDARD_D64_V4": 32, - "STANDARD_D8AS_V4": 16, - "STANDARD_D8A_V4": 16, - "STANDARD_D8DS_V4": 16, - "STANDARD_D8D_V4": 16, - "STANDARD_D8S_V3": 16, - "STANDARD_D8S_V4": 16, - "STANDARD_D8_V3": 16, - "STANDARD_D8_V4": 16, - "STANDARD_D96AS_V4": 32, - "STANDARD_D96A_V4": 32, - "STANDARD_DC1S_V2": 1, - "STANDARD_DC2S": 2, - "STANDARD_DC2S_V2": 2, - "STANDARD_DC4S": 4, - "STANDARD_DC4S_V2": 4, - "STANDARD_DC8S": 8, - "STANDARD_DC8_V2": 8, - "STANDARD_DS11-1_V2": 8, - "STANDARD_DS11": 8, - "STANDARD_DS11_V2": 8, - "STANDARD_DS11_V2_PROMO": 8, - "STANDARD_DS12": 16, - "STANDARD_DS12-1_V2": 16, - "STANDARD_DS12-2_V2": 16, - "STANDARD_DS12_V2": 16, - "STANDARD_DS12_V2_PROMO": 16, - "STANDARD_DS13-2_V2": 32, - "STANDARD_DS13": 32, - "STANDARD_DS13-4_V2": 32, - "STANDARD_DS13_V2": 32, - "STANDARD_DS13_V2_PROMO": 32, - "STANDARD_DS1": 4, - "STANDARD_DS14-4_V2": 64, - "STANDARD_DS14": 64, - "STANDARD_DS14-8_V2": 64, - "STANDARD_DS14_V2": 64, - "STANDARD_DS14_V2_PROMO": 64, - "STANDARD_DS15_V2": 64, - "STANDARD_DS1_V2": 4, - "STANDARD_DS2": 8, - "STANDARD_DS2_V2": 8, - "STANDARD_DS2_V2_PROMO": 8, - "STANDARD_DS3": 16, - "STANDARD_DS3_V2": 16, - "STANDARD_DS3_V2_PROMO": 16, - "STANDARD_DS4": 32, - "STANDARD_DS4_V2": 32, - "STANDARD_DS4_V2_PROMO": 32, - "STANDARD_DS5_V2": 64, - "STANDARD_DS5_V2_PROMO": 64, - "STANDARD_E16-4AS_V4": 32, - "STANDARD_E16-4DS_V4": 32, - "STANDARD_E16-4S_V3": 32, - "STANDARD_E16-4S_V4": 32, - "STANDARD_E16-8AS_V4": 32, - "STANDARD_E16-8DS_V4": 32, - "STANDARD_E16-8S_V3": 32, - "STANDARD_E16-8S_V4": 32, - "STANDARD_E16AS_V4": 32, - "STANDARD_E16A_V4": 32, - "STANDARD_E16DS_V4": 32, - "STANDARD_E16D_V4": 32, - "STANDARD_E16S_V3": 32, - "STANDARD_E16S_V4": 32, - "STANDARD_E16_V3": 32, - "STANDARD_E16_V4": 32, - "STANDARD_E20AS_V4": 32, - "STANDARD_E20A_V4": 32, - "STANDARD_E20DS_V4": 32, - "STANDARD_E20D_V4": 32, - "STANDARD_E20S_V3": 32, - "STANDARD_E20S_V4": 32, - "STANDARD_E20_V3": 32, - "STANDARD_E20_V4": 32, - "STANDARD_E2AS_V4": 4, - "STANDARD_E2A_V4": 4, - "STANDARD_E2DS_V4": 4, - "STANDARD_E2D_V4": 4, - "STANDARD_E2S_V3": 4, - "STANDARD_E2S_V4": 4, - "STANDARD_E2_V3": 4, - "STANDARD_E2_V4": 4, - "STANDARD_E32-16AS_V4": 32, - "STANDARD_E32-16DS_V4": 32, - "STANDARD_E32-16S_V3": 32, - "STANDARD_E32-16S_V4": 32, - "STANDARD_E32-8AS_V4": 32, - "STANDARD_E32-8DS_V4": 32, - "STANDARD_E32-8S_V3": 32, - "STANDARD_E32-8S_V4": 32, - "STANDARD_E32AS_V4": 32, - "STANDARD_E32A_V4": 32, - "STANDARD_E32DS_V4": 32, - "STANDARD_E32D_V4": 32, - "STANDARD_E32S_V3": 32, - "STANDARD_E32S_V4": 32, - "STANDARD_E32_V3": 32, - "STANDARD_E32_V4": 32, - "STANDARD_E4-2AS_V4": 8, - "STANDARD_E4-2DS_V4": 8, - "STANDARD_E4-2S_V3": 8, - "STANDARD_E4-2S_V4": 8, - "STANDARD_E48AS_V4": 32, - "STANDARD_E48A_V4": 32, - "STANDARD_E48DS_V4": 32, - "STANDARD_E48D_V4": 32, - "STANDARD_E48S_V3": 32, - "STANDARD_E48S_V4": 32, - "STANDARD_E48_V3": 32, - "STANDARD_E48_V4": 32, - "STANDARD_E4AS_V4": 8, - "STANDARD_E4A_V4": 8, - "STANDARD_E4DS_V4": 8, - "STANDARD_E4D_V4": 8, - "STANDARD_E4S_V3": 8, - "STANDARD_E4S_V4": 8, - "STANDARD_E4_V3": 8, - "STANDARD_E4_V4": 8, - "STANDARD_E64-16AS_V4": 32, - "STANDARD_E64-16DS_V4": 32, - "STANDARD_E64-16S_V3": 32, - "STANDARD_E64-16S_V4": 32, - "STANDARD_E64-32AS_V4": 32, - "STANDARD_E64-32DS_V4": 32, - "STANDARD_E64-32S_V3": 32, - "STANDARD_E64-32S_V4": 32, - "STANDARD_E64AS_V4": 32, - "STANDARD_E64A_V4": 32, - "STANDARD_E64DS_V4": 32, - "STANDARD_E64D_V4": 32, - "STANDARD_E64IS_V3": 32, - "STANDARD_E64I_V3": 32, - "STANDARD_E64S_V3": 32, - "STANDARD_E64S_V4": 32, - "STANDARD_E64_V3": 32, - "STANDARD_E64_V4": 32, - "STANDARD_E80IDS_V4": 32, - "STANDARD_E80IS_V4": 32, - "STANDARD_E8-2AS_V4": 16, - "STANDARD_E8-2DS_V4": 16, - "STANDARD_E8-2S_V3": 16, - "STANDARD_E8-2S_V4": 16, - "STANDARD_E8-4AS_V4": 16, - "STANDARD_E8-4DS_V4": 16, - "STANDARD_E8-4S_V3": 16, - "STANDARD_E8-4S_V4": 16, - "STANDARD_E8AS_V4": 16, - "STANDARD_E8A_V4": 16, - "STANDARD_E8DS_V4": 16, - "STANDARD_E8D_V4": 16, - "STANDARD_E8S_V3": 16, - "STANDARD_E8S_V4": 16, - "STANDARD_E8_V3": 16, - "STANDARD_E8_V4": 16, - "STANDARD_E96-24AS_V4": 32, - "STANDARD_E96-48AS_V4": 32, - "STANDARD_E96AS_V4": 32, - "STANDARD_E96A_V4": 32, - "STANDARD_F1": 4, - "STANDARD_F16": 64, - "STANDARD_F16S": 64, - "STANDARD_F16S_V2": 32, - "STANDARD_F1S": 4, - "STANDARD_F2": 8, - "STANDARD_F2S": 8, - "STANDARD_F2S_V2": 4, - "STANDARD_F32S_V2": 32, - "STANDARD_F4": 16, - "STANDARD_F48S_V2": 32, - "STANDARD_F4S": 16, - "STANDARD_F4S_V2": 8, - "STANDARD_F64S_V2": 32, - "STANDARD_F72S_V2": 32, - "STANDARD_F8": 32, - "STANDARD_F8S": 32, - "STANDARD_F8S_V2": 16, - "STANDARD_G1": 8, - "STANDARD_G2": 16, - "STANDARD_G3": 32, - "STANDARD_G4": 64, - "STANDARD_G5": 64, - "STANDARD_GS1": 8, - "STANDARD_GS2": 16, - "STANDARD_GS3": 32, - "STANDARD_GS4-4": 64, - "STANDARD_GS4": 64, - "STANDARD_GS4-8": 64, - "STANDARD_GS5-16": 64, - "STANDARD_GS5": 64, - "STANDARD_GS5-8": 64, - "STANDARD_H16": 64, - "STANDARD_H16M": 64, - "STANDARD_H16M_PROMO": 64, - "STANDARD_H16MR": 64, - "STANDARD_H16MR_PROMO": 64, - "STANDARD_H16_PROMO": 64, - "STANDARD_H16R": 64, - "STANDARD_H16R_PROMO": 64, - "STANDARD_H8": 32, - "STANDARD_H8M": 32, - "STANDARD_H8M_PROMO": 32, - "STANDARD_H8_PROMO": 32, - "STANDARD_HB120RS_V2": 8, - "STANDARD_HB60RS": 4, - "STANDARD_HC44RS": 4, - "STANDARD_L16S": 64, - "STANDARD_L16S_V2": 32, - "STANDARD_L32S": 64, - "STANDARD_L32S_V2": 32, - "STANDARD_L48S_V2": 32, - "STANDARD_L4S": 16, - "STANDARD_L64S_V2": 32, - "STANDARD_L80S_V2": 32, - "STANDARD_L8S": 32, - "STANDARD_L8S_V2": 16, - "STANDARD_M128-32MS": 64, - "STANDARD_M128": 64, - "STANDARD_M128-64MS": 64, - "STANDARD_M128M": 64, - "STANDARD_M128MS": 64, - "STANDARD_M128S": 64, - "STANDARD_M16-4MS": 16, - "STANDARD_M16-8MS": 16, - "STANDARD_M16MS": 16, - "STANDARD_M208MS_V2": 64, - "STANDARD_M208S_V2": 64, - "STANDARD_M32-16MS": 32, - "STANDARD_M32-8MS": 32, - "STANDARD_M32LS": 32, - "STANDARD_M32MS": 32, - "STANDARD_M32TS": 32, - "STANDARD_M416-208MS_V2": 64, - "STANDARD_M416-208S_V2": 64, - "STANDARD_M416MS_V2": 64, - "STANDARD_M416S_V2": 64, - "STANDARD_M64-16MS": 64, - "STANDARD_M64-32MS": 64, - "STANDARD_M64": 64, - "STANDARD_M64LS": 64, - "STANDARD_M64M": 64, - "STANDARD_M64MS": 64, - "STANDARD_M64S": 64, - "STANDARD_M8-2MS": 8, - "STANDARD_M8-4MS": 8, - "STANDARD_M8MS": 8, - "STANDARD_NC12": 48, - "STANDARD_NC12_PROMO": 48, - "STANDARD_NC12S_V2": 24, - "STANDARD_NC12S_V3": 24, - "STANDARD_NC16AS_T4_V3": 32, - "STANDARD_NC24": 64, - "STANDARD_NC24_PROMO": 64, - "STANDARD_NC24R": 64, - "STANDARD_NC24R_PROMO": 64, - "STANDARD_NC24RS_V2": 32, - "STANDARD_NC24RS_V3": 32, - "STANDARD_NC24S_V2": 32, - "STANDARD_NC24S_V3": 32, - "STANDARD_NC4AS_T4_V3": 8, - "STANDARD_NC6": 24, - "STANDARD_NC64AS_T4_V3": 32, - "STANDARD_NC6_PROMO": 24, - "STANDARD_NC6S_V2": 12, - "STANDARD_NC6S_V3": 12, - "STANDARD_NC8AS_T4_V3": 16, - "STANDARD_ND12S": 24, - "STANDARD_ND24RS": 32, - "STANDARD_ND24S": 32, - "STANDARD_ND40RS_V2": 8, - "STANDARD_ND40S_V3": 32, - "STANDARD_ND6S": 12, - "STANDARD_NP10S": 8, - "STANDARD_NP20S": 16, - "STANDARD_NP40S": 32, - "STANDARD_NV12": 48, - "STANDARD_NV12_PROMO": 48, - "STANDARD_NV12S_V2": 24, - "STANDARD_NV12S_V3": 12, - "STANDARD_NV16AS_V4": 32, - "STANDARD_NV24": 64, - "STANDARD_NV24_PROMO": 64, - "STANDARD_NV24S_V2": 32, - "STANDARD_NV24S_V3": 24, - "STANDARD_NV32AS_V4": 32, - "STANDARD_NV48S_V3": 32, - "STANDARD_NV4AS_V4": 8, - "STANDARD_NV6": 24, - "STANDARD_NV6_PROMO": 24, - "STANDARD_NV6S_V2": 12, - "STANDARD_NV8AS_V4": 16, - "STANDARD_PB6S": 12, + "BASIC_A0": 1, + "BASIC_A1": 2, + "BASIC_A2": 4, + "BASIC_A3": 8, + "BASIC_A4": 16, + "STANDARD_A0": 1, + "STANDARD_A1": 2, + "STANDARD_A1_V2": 2, + "STANDARD_A2": 4, + "STANDARD_A2M_V2": 4, + "STANDARD_A2_V2": 4, + "STANDARD_A3": 8, + "STANDARD_A4": 16, + "STANDARD_A4M_V2": 8, + "STANDARD_A4_V2": 8, + "STANDARD_A5": 4, + "STANDARD_A6": 8, + "STANDARD_A7": 16, + "STANDARD_A8M_V2": 16, + "STANDARD_A8_V2": 16, + "STANDARD_B12MS": 16, + "STANDARD_B16MS": 32, + "STANDARD_B1LS": 2, + "STANDARD_B1MS": 2, + "STANDARD_B1S": 2, + "STANDARD_B20MS": 32, + "STANDARD_B2MS": 4, + "STANDARD_B2S": 4, + "STANDARD_B4MS": 8, + "STANDARD_B8MS": 16, + "STANDARD_D11": 8, + "STANDARD_D11_V2": 8, + "STANDARD_D11_V2_PROMO": 8, + "STANDARD_D12": 16, + "STANDARD_D12_V2": 16, + "STANDARD_D12_V2_PROMO": 16, + "STANDARD_D13": 32, + "STANDARD_D13_V2": 32, + "STANDARD_D13_V2_PROMO": 32, + "STANDARD_D1": 4, + "STANDARD_D14": 64, + "STANDARD_D14_V2": 64, + "STANDARD_D14_V2_PROMO": 64, + "STANDARD_D15_V2": 64, + "STANDARD_D16ADS_V5": 32, + "STANDARD_D16AS_V4": 32, + "STANDARD_D16AS_V5": 32, + "STANDARD_D16A_V4": 32, + "STANDARD_D16DS_V4": 32, + "STANDARD_D16DS_V5": 32, + "STANDARD_D16D_V4": 32, + "STANDARD_D16D_V5": 32, + "STANDARD_D16PDS_V5": 32, + "STANDARD_D16PLDS_V5": 32, + "STANDARD_D16PLS_V5": 32, + "STANDARD_D16PS_V5": 32, + "STANDARD_D16S_V3": 32, + "STANDARD_D16S_V4": 32, + "STANDARD_D16S_V5": 32, + "STANDARD_D16_V3": 32, + "STANDARD_D16_V4": 32, + "STANDARD_D16_V5": 32, + "STANDARD_D1_V2": 4, + "STANDARD_D2": 8, + "STANDARD_D2ADS_V5": 4, + "STANDARD_D2AS_V4": 4, + "STANDARD_D2AS_V5": 4, + "STANDARD_D2A_V4": 4, + "STANDARD_D2DS_V4": 4, + "STANDARD_D2DS_V5": 4, + "STANDARD_D2D_V4": 4, + "STANDARD_D2D_V5": 4, + "STANDARD_D2PDS_V5": 4, + "STANDARD_D2PLDS_V5": 4, + "STANDARD_D2PLS_V5": 4, + "STANDARD_D2PS_V5": 4, + "STANDARD_D2S_V3": 4, + "STANDARD_D2S_V4": 4, + "STANDARD_D2S_V5": 4, + "STANDARD_D2_V2": 8, + "STANDARD_D2_V2_PROMO": 8, + "STANDARD_D2_V3": 4, + "STANDARD_D2_V4": 4, + "STANDARD_D2_V5": 4, + "STANDARD_D3": 16, + "STANDARD_D32ADS_V5": 32, + "STANDARD_D32AS_V4": 32, + "STANDARD_D32AS_V5": 32, + "STANDARD_D32A_V4": 32, + "STANDARD_D32DS_V4": 32, + "STANDARD_D32DS_V5": 32, + "STANDARD_D32D_V4": 32, + "STANDARD_D32D_V5": 32, + "STANDARD_D32PDS_V5": 32, + "STANDARD_D32PLDS_V5": 32, + "STANDARD_D32PLS_V5": 32, + "STANDARD_D32PS_V5": 32, + "STANDARD_D32S_V3": 32, + "STANDARD_D32S_V4": 32, + "STANDARD_D32S_V5": 32, + "STANDARD_D32_V3": 32, + "STANDARD_D32_V4": 32, + "STANDARD_D32_V5": 32, + "STANDARD_D3_V2": 16, + "STANDARD_D3_V2_PROMO": 16, + "STANDARD_D4": 32, + "STANDARD_D48ADS_V5": 32, + "STANDARD_D48AS_V4": 32, + "STANDARD_D48AS_V5": 32, + "STANDARD_D48A_V4": 32, + "STANDARD_D48DS_V4": 32, + "STANDARD_D48DS_V5": 32, + "STANDARD_D48D_V4": 32, + "STANDARD_D48D_V5": 32, + "STANDARD_D48PDS_V5": 32, + "STANDARD_D48PLDS_V5": 32, + "STANDARD_D48PLS_V5": 32, + "STANDARD_D48PS_V5": 32, + "STANDARD_D48S_V3": 32, + "STANDARD_D48S_V4": 32, + "STANDARD_D48S_V5": 32, + "STANDARD_D48_V3": 32, + "STANDARD_D48_V4": 32, + "STANDARD_D48_V5": 32, + "STANDARD_D4ADS_V5": 8, + "STANDARD_D4AS_V4": 8, + "STANDARD_D4AS_V5": 8, + "STANDARD_D4A_V4": 8, + "STANDARD_D4DS_V4": 8, + "STANDARD_D4DS_V5": 8, + "STANDARD_D4D_V4": 8, + "STANDARD_D4D_V5": 8, + "STANDARD_D4PDS_V5": 8, + "STANDARD_D4PLDS_V5": 8, + "STANDARD_D4PLS_V5": 8, + "STANDARD_D4PS_V5": 8, + "STANDARD_D4S_V3": 8, + "STANDARD_D4S_V4": 8, + "STANDARD_D4S_V5": 8, + "STANDARD_D4_V2": 32, + "STANDARD_D4_V2_PROMO": 32, + "STANDARD_D4_V3": 8, + "STANDARD_D4_V4": 8, + "STANDARD_D4_V5": 8, + "STANDARD_D5_V2": 64, + "STANDARD_D5_V2_PROMO": 64, + "STANDARD_D64ADS_V5": 32, + "STANDARD_D64AS_V4": 32, + "STANDARD_D64AS_V5": 32, + "STANDARD_D64A_V4": 32, + "STANDARD_D64DS_V4": 32, + "STANDARD_D64DS_V5": 32, + "STANDARD_D64D_V4": 32, + "STANDARD_D64D_V5": 32, + "STANDARD_D64PDS_V5": 32, + "STANDARD_D64PLDS_V5": 32, + "STANDARD_D64PLS_V5": 32, + "STANDARD_D64PS_V5": 32, + "STANDARD_D64S_V3": 32, + "STANDARD_D64S_V4": 32, + "STANDARD_D64S_V5": 32, + "STANDARD_D64_V3": 32, + "STANDARD_D64_V4": 32, + "STANDARD_D64_V5": 32, + "STANDARD_D8ADS_V5": 16, + "STANDARD_D8AS_V4": 16, + "STANDARD_D8AS_V5": 16, + "STANDARD_D8A_V4": 16, + "STANDARD_D8DS_V4": 16, + "STANDARD_D8DS_V5": 16, + "STANDARD_D8D_V4": 16, + "STANDARD_D8D_V5": 16, + "STANDARD_D8PDS_V5": 16, + "STANDARD_D8PLDS_V5": 16, + "STANDARD_D8PLS_V5": 16, + "STANDARD_D8PS_V5": 16, + "STANDARD_D8S_V3": 16, + "STANDARD_D8S_V4": 16, + "STANDARD_D8S_V5": 16, + "STANDARD_D8_V3": 16, + "STANDARD_D8_V4": 16, + "STANDARD_D8_V5": 16, + "STANDARD_D96ADS_V5": 32, + "STANDARD_D96AS_V4": 32, + "STANDARD_D96AS_V5": 32, + "STANDARD_D96A_V4": 32, + "STANDARD_D96DS_V5": 32, + "STANDARD_D96D_V5": 32, + "STANDARD_D96S_V5": 32, + "STANDARD_D96_V5": 32, + "STANDARD_DC16ADS_V5": 32, + "STANDARD_DC16AS_V5": 32, + "STANDARD_DC16DS_V3": 32, + "STANDARD_DC16S_V3": 32, + "STANDARD_DC1DS_V3": 4, + "STANDARD_DC1S_V2": 1, + "STANDARD_DC1S_V3": 4, + "STANDARD_DC24DS_V3": 32, + "STANDARD_DC24S_V3": 32, + "STANDARD_DC2ADS_V5": 4, + "STANDARD_DC2AS_V5": 4, + "STANDARD_DC2DS_V3": 8, + "STANDARD_DC2S": 2, + "STANDARD_DC2S_V2": 2, + "STANDARD_DC2S_V3": 8, + "STANDARD_DC32ADS_V5": 32, + "STANDARD_DC32AS_V5": 32, + "STANDARD_DC32DS_V3": 32, + "STANDARD_DC32S_V3": 32, + "STANDARD_DC48ADS_V5": 32, + "STANDARD_DC48AS_V5": 32, + "STANDARD_DC48DS_V3": 32, + "STANDARD_DC48S_V3": 32, + "STANDARD_DC4ADS_V5": 8, + "STANDARD_DC4AS_V5": 8, + "STANDARD_DC4DS_V3": 16, + "STANDARD_DC4S": 4, + "STANDARD_DC4S_V2": 4, + "STANDARD_DC4S_V3": 16, + "STANDARD_DC64ADS_V5": 32, + "STANDARD_DC64AS_V5": 32, + "STANDARD_DC8ADS_V5": 16, + "STANDARD_DC8AS_V5": 16, + "STANDARD_DC8DS_V3": 32, + "STANDARD_DC8S_V3": 32, + "STANDARD_DC8_V2": 8, + "STANDARD_DC96ADS_V5": 32, + "STANDARD_DC96AS_V5": 32, + "STANDARD_DS11-1_V2": 8, + "STANDARD_DS11": 8, + "STANDARD_DS11_V2": 8, + "STANDARD_DS11_V2_PROMO": 8, + "STANDARD_DS12": 16, + "STANDARD_DS12-1_V2": 16, + "STANDARD_DS12-2_V2": 16, + "STANDARD_DS12_V2": 16, + "STANDARD_DS12_V2_PROMO": 16, + "STANDARD_DS13-2_V2": 32, + "STANDARD_DS13": 32, + "STANDARD_DS13-4_V2": 32, + "STANDARD_DS13_V2": 32, + "STANDARD_DS13_V2_PROMO": 32, + "STANDARD_DS1": 4, + "STANDARD_DS14-4_V2": 64, + "STANDARD_DS14": 64, + "STANDARD_DS14-8_V2": 64, + "STANDARD_DS14_V2": 64, + "STANDARD_DS14_V2_PROMO": 64, + "STANDARD_DS15_V2": 64, + "STANDARD_DS1_V2": 4, + "STANDARD_DS2": 8, + "STANDARD_DS2_V2": 8, + "STANDARD_DS2_V2_PROMO": 8, + "STANDARD_DS3": 16, + "STANDARD_DS3_V2": 16, + "STANDARD_DS3_V2_PROMO": 16, + "STANDARD_DS4": 32, + "STANDARD_DS4_V2": 32, + "STANDARD_DS4_V2_PROMO": 32, + "STANDARD_DS5_V2": 64, + "STANDARD_DS5_V2_PROMO": 64, + "STANDARD_E104IDS_V5": 64, + "STANDARD_E104ID_V5": 64, + "STANDARD_E104IS_V5": 64, + "STANDARD_E104I_V5": 64, + "STANDARD_E112IADS_V5": 64, + "STANDARD_E112IAS_V5": 64, + "STANDARD_E16-4ADS_V5": 32, + "STANDARD_E16-4AS_V4": 32, + "STANDARD_E16-4AS_V5": 32, + "STANDARD_E16-4DS_V4": 32, + "STANDARD_E16-4DS_V5": 32, + "STANDARD_E16-4S_V3": 32, + "STANDARD_E16-4S_V4": 32, + "STANDARD_E16-4S_V5": 32, + "STANDARD_E16-8ADS_V5": 32, + "STANDARD_E16-8AS_V4": 32, + "STANDARD_E16-8AS_V5": 32, + "STANDARD_E16-8DS_V4": 32, + "STANDARD_E16-8DS_V5": 32, + "STANDARD_E16-8S_V3": 32, + "STANDARD_E16-8S_V4": 32, + "STANDARD_E16-8S_V5": 32, + "STANDARD_E16ADS_V5": 32, + "STANDARD_E16AS_V4": 32, + "STANDARD_E16AS_V5": 32, + "STANDARD_E16A_V4": 32, + "STANDARD_E16BDS_V5": 32, + "STANDARD_E16BS_V5": 32, + "STANDARD_E16DS_V4": 32, + "STANDARD_E16DS_V5": 32, + "STANDARD_E16D_V4": 32, + "STANDARD_E16D_V5": 32, + "STANDARD_E16PDS_V5": 32, + "STANDARD_E16PS_V5": 32, + "STANDARD_E16S_V3": 32, + "STANDARD_E16S_V4": 32, + "STANDARD_E16S_V5": 32, + "STANDARD_E16_V3": 32, + "STANDARD_E16_V4": 32, + "STANDARD_E16_V5": 32, + "STANDARD_E20ADS_V5": 32, + "STANDARD_E20AS_V4": 32, + "STANDARD_E20AS_V5": 32, + "STANDARD_E20A_V4": 32, + "STANDARD_E20DS_V4": 32, + "STANDARD_E20DS_V5": 32, + "STANDARD_E20D_V4": 32, + "STANDARD_E20D_V5": 32, + "STANDARD_E20PDS_V5": 32, + "STANDARD_E20PS_V5": 32, + "STANDARD_E20S_V3": 32, + "STANDARD_E20S_V4": 32, + "STANDARD_E20S_V5": 32, + "STANDARD_E20_V3": 32, + "STANDARD_E20_V4": 32, + "STANDARD_E20_V5": 32, + "STANDARD_E2ADS_V5": 4, + "STANDARD_E2AS_V4": 4, + "STANDARD_E2AS_V5": 4, + "STANDARD_E2A_V4": 4, + "STANDARD_E2BDS_V5": 4, + "STANDARD_E2BS_V5": 4, + "STANDARD_E2DS_V4": 4, + "STANDARD_E2DS_V5": 4, + "STANDARD_E2D_V4": 4, + "STANDARD_E2D_V5": 4, + "STANDARD_E2PDS_V5": 4, + "STANDARD_E2PS_V5": 4, + "STANDARD_E2S_V3": 4, + "STANDARD_E2S_V4": 4, + "STANDARD_E2S_V5": 4, + "STANDARD_E2_V3": 4, + "STANDARD_E2_V4": 4, + "STANDARD_E2_V5": 4, + "STANDARD_E32-16ADS_V5": 32, + "STANDARD_E32-16AS_V4": 32, + "STANDARD_E32-16AS_V5": 32, + "STANDARD_E32-16DS_V4": 32, + "STANDARD_E32-16DS_V5": 32, + "STANDARD_E32-16S_V3": 32, + "STANDARD_E32-16S_V4": 32, + "STANDARD_E32-16S_V5": 32, + "STANDARD_E32-8ADS_V5": 32, + "STANDARD_E32-8AS_V4": 32, + "STANDARD_E32-8AS_V5": 32, + "STANDARD_E32-8DS_V4": 32, + "STANDARD_E32-8DS_V5": 32, + "STANDARD_E32-8S_V3": 32, + "STANDARD_E32-8S_V4": 32, + "STANDARD_E32-8S_V5": 32, + "STANDARD_E32ADS_V5": 32, + "STANDARD_E32AS_V4": 32, + "STANDARD_E32AS_V5": 32, + "STANDARD_E32A_V4": 32, + "STANDARD_E32BDS_V5": 32, + "STANDARD_E32BS_V5": 32, + "STANDARD_E32DS_V4": 32, + "STANDARD_E32DS_V5": 32, + "STANDARD_E32D_V4": 32, + "STANDARD_E32D_V5": 32, + "STANDARD_E32PDS_V5": 32, + "STANDARD_E32PS_V5": 32, + "STANDARD_E32S_V3": 32, + "STANDARD_E32S_V4": 32, + "STANDARD_E32S_V5": 32, + "STANDARD_E32_V3": 32, + "STANDARD_E32_V4": 32, + "STANDARD_E32_V5": 32, + "STANDARD_E4-2ADS_V5": 8, + "STANDARD_E4-2AS_V4": 8, + "STANDARD_E4-2AS_V5": 8, + "STANDARD_E4-2DS_V4": 8, + "STANDARD_E4-2DS_V5": 8, + "STANDARD_E4-2S_V3": 8, + "STANDARD_E4-2S_V4": 8, + "STANDARD_E4-2S_V5": 8, + "STANDARD_E48ADS_V5": 32, + "STANDARD_E48AS_V4": 32, + "STANDARD_E48AS_V5": 32, + "STANDARD_E48A_V4": 32, + "STANDARD_E48BDS_V5": 32, + "STANDARD_E48BS_V5": 32, + "STANDARD_E48DS_V4": 32, + "STANDARD_E48DS_V5": 32, + "STANDARD_E48D_V4": 32, + "STANDARD_E48D_V5": 32, + "STANDARD_E48S_V3": 32, + "STANDARD_E48S_V4": 32, + "STANDARD_E48S_V5": 32, + "STANDARD_E48_V3": 32, + "STANDARD_E48_V4": 32, + "STANDARD_E48_V5": 32, + "STANDARD_E4ADS_V5": 8, + "STANDARD_E4AS_V4": 8, + "STANDARD_E4AS_V5": 8, + "STANDARD_E4A_V4": 8, + "STANDARD_E4BDS_V5": 8, + "STANDARD_E4BS_V5": 8, + "STANDARD_E4DS_V4": 8, + "STANDARD_E4DS_V5": 8, + "STANDARD_E4D_V4": 8, + "STANDARD_E4D_V5": 8, + "STANDARD_E4PDS_V5": 8, + "STANDARD_E4PS_V5": 8, + "STANDARD_E4S_V3": 8, + "STANDARD_E4S_V4": 8, + "STANDARD_E4S_V5": 8, + "STANDARD_E4_V3": 8, + "STANDARD_E4_V4": 8, + "STANDARD_E4_V5": 8, + "STANDARD_E64-16ADS_V5": 32, + "STANDARD_E64-16AS_V4": 32, + "STANDARD_E64-16AS_V5": 32, + "STANDARD_E64-16DS_V4": 32, + "STANDARD_E64-16DS_V5": 32, + "STANDARD_E64-16S_V3": 32, + "STANDARD_E64-16S_V4": 32, + "STANDARD_E64-16S_V5": 32, + "STANDARD_E64-32ADS_V5": 32, + "STANDARD_E64-32AS_V4": 32, + "STANDARD_E64-32AS_V5": 32, + "STANDARD_E64-32DS_V4": 32, + "STANDARD_E64-32DS_V5": 32, + "STANDARD_E64-32S_V3": 32, + "STANDARD_E64-32S_V4": 32, + "STANDARD_E64-32S_V5": 32, + "STANDARD_E64ADS_V5": 32, + "STANDARD_E64AS_V4": 32, + "STANDARD_E64AS_V5": 32, + "STANDARD_E64A_V4": 32, + "STANDARD_E64BDS_V5": 32, + "STANDARD_E64BS_V5": 32, + "STANDARD_E64DS_V4": 32, + "STANDARD_E64DS_V5": 32, + "STANDARD_E64D_V4": 32, + "STANDARD_E64D_V5": 32, + "STANDARD_E64IS_V3": 32, + "STANDARD_E64I_V3": 32, + "STANDARD_E64S_V3": 32, + "STANDARD_E64S_V4": 32, + "STANDARD_E64S_V5": 32, + "STANDARD_E64_V3": 32, + "STANDARD_E64_V4": 32, + "STANDARD_E64_V5": 32, + "STANDARD_E80IDS_V4": 64, + "STANDARD_E80IS_V4": 64, + "STANDARD_E8-2ADS_V5": 16, + "STANDARD_E8-2AS_V4": 16, + "STANDARD_E8-2AS_V5": 16, + "STANDARD_E8-2DS_V4": 16, + "STANDARD_E8-2DS_V5": 16, + "STANDARD_E8-2S_V3": 16, + "STANDARD_E8-2S_V4": 16, + "STANDARD_E8-2S_V5": 16, + "STANDARD_E8-4ADS_V5": 16, + "STANDARD_E8-4AS_V4": 16, + "STANDARD_E8-4AS_V5": 16, + "STANDARD_E8-4DS_V4": 16, + "STANDARD_E8-4DS_V5": 32, + "STANDARD_E8-4S_V3": 16, + "STANDARD_E8-4S_V4": 16, + "STANDARD_E8-4S_V5": 32, + "STANDARD_E8ADS_V5": 16, + "STANDARD_E8AS_V4": 16, + "STANDARD_E8AS_V5": 16, + "STANDARD_E8A_V4": 16, + "STANDARD_E8BDS_V5": 16, + "STANDARD_E8BS_V5": 16, + "STANDARD_E8DS_V4": 16, + "STANDARD_E8DS_V5": 16, + "STANDARD_E8D_V4": 16, + "STANDARD_E8D_V5": 16, + "STANDARD_E8PDS_V5": 16, + "STANDARD_E8PS_V5": 16, + "STANDARD_E8S_V3": 16, + "STANDARD_E8S_V4": 16, + "STANDARD_E8S_V5": 16, + "STANDARD_E8_V3": 16, + "STANDARD_E8_V4": 16, + "STANDARD_E8_V5": 16, + "STANDARD_E96-24ADS_V5": 32, + "STANDARD_E96-24AS_V4": 32, + "STANDARD_E96-24AS_V5": 32, + "STANDARD_E96-24DS_V5": 32, + "STANDARD_E96-24S_V5": 32, + "STANDARD_E96-48ADS_V5": 32, + "STANDARD_E96-48AS_V4": 32, + "STANDARD_E96-48AS_V5": 32, + "STANDARD_E96-48DS_V5": 32, + "STANDARD_E96-48S_V5": 32, + "STANDARD_E96ADS_V5": 32, + "STANDARD_E96AS_V4": 32, + "STANDARD_E96AS_V5": 32, + "STANDARD_E96A_V4": 32, + "STANDARD_E96DS_V5": 32, + "STANDARD_E96D_V5": 32, + "STANDARD_E96IAS_V4": 32, + "STANDARD_E96S_V5": 32, + "STANDARD_E96_V5": 32, + "STANDARD_EC16ADS_V5": 32, + "STANDARD_EC16AS_V5": 32, + "STANDARD_EC20ADS_V5": 32, + "STANDARD_EC20AS_V5": 32, + "STANDARD_EC2ADS_V5": 4, + "STANDARD_EC2AS_V5": 4, + "STANDARD_EC32ADS_V5": 32, + "STANDARD_EC32AS_V5": 32, + "STANDARD_EC48ADS_V5": 32, + "STANDARD_EC48AS_V5": 32, + "STANDARD_EC4ADS_V5": 8, + "STANDARD_EC4AS_V5": 8, + "STANDARD_EC64ADS_V5": 32, + "STANDARD_EC64AS_V5": 32, + "STANDARD_EC8ADS_V5": 16, + "STANDARD_EC8AS_V5": 16, + "STANDARD_EC96ADS_V5": 32, + "STANDARD_EC96AS_V5": 32, + "STANDARD_EC96IADS_V5": 32, + "STANDARD_EC96IAS_V5": 32, + "STANDARD_F1": 4, + "STANDARD_F16": 64, + "STANDARD_F16S": 64, + "STANDARD_F16S_V2": 32, + "STANDARD_F1S": 4, + "STANDARD_F2": 8, + "STANDARD_F2S": 8, + "STANDARD_F2S_V2": 4, + "STANDARD_F32S_V2": 32, + "STANDARD_F4": 16, + "STANDARD_F48S_V2": 32, + "STANDARD_F4S": 16, + "STANDARD_F4S_V2": 8, + "STANDARD_F64S_V2": 32, + "STANDARD_F72S_V2": 32, + "STANDARD_F8": 32, + "STANDARD_F8S": 32, + "STANDARD_F8S_V2": 16, + "STANDARD_FX12MDS": 24, + "STANDARD_FX24MDS": 32, + "STANDARD_FX36MDS": 32, + "STANDARD_FX48MDS": 32, + "STANDARD_FX4MDS": 8, + "STANDARD_G1": 8, + "STANDARD_G2": 16, + "STANDARD_G3": 32, + "STANDARD_G4": 64, + "STANDARD_G5": 64, + "STANDARD_GS1": 8, + "STANDARD_GS2": 16, + "STANDARD_GS3": 32, + "STANDARD_GS4-4": 64, + "STANDARD_GS4": 64, + "STANDARD_GS4-8": 64, + "STANDARD_GS5-16": 64, + "STANDARD_GS5": 64, + "STANDARD_GS5-8": 64, + "STANDARD_H16": 64, + "STANDARD_H16M": 64, + "STANDARD_H16M_PROMO": 64, + "STANDARD_H16MR": 64, + "STANDARD_H16MR_PROMO": 64, + "STANDARD_H16_PROMO": 64, + "STANDARD_H16R": 64, + "STANDARD_H16R_PROMO": 64, + "STANDARD_H8": 32, + "STANDARD_H8M": 32, + "STANDARD_H8M_PROMO": 32, + "STANDARD_H8_PROMO": 32, + "STANDARD_HB120-16RS_V2": 32, + "STANDARD_HB120-16RS_V3": 32, + "STANDARD_HB120-32RS_V2": 32, + "STANDARD_HB120-32RS_V3": 32, + "STANDARD_HB120-64RS_V2": 32, + "STANDARD_HB120-64RS_V3": 32, + "STANDARD_HB120-96RS_V2": 32, + "STANDARD_HB120-96RS_V3": 32, + "STANDARD_HB120RS_V2": 32, + "STANDARD_HB120RS_V3": 32, + "STANDARD_HB60-15RS": 4, + "STANDARD_HB60-30RS": 4, + "STANDARD_HB60-45RS": 4, + "STANDARD_HB60RS": 4, + "STANDARD_HC44-16RS": 4, + "STANDARD_HC44-32RS": 4, + "STANDARD_HC44RS": 4, + "STANDARD_L16AS_V3": 32, + "STANDARD_L16S": 64, + "STANDARD_L16S_V2": 32, + "STANDARD_L16S_V3": 32, + "STANDARD_L32AS_V3": 32, + "STANDARD_L32S": 64, + "STANDARD_L32S_V2": 32, + "STANDARD_L32S_V3": 32, + "STANDARD_L48AS_V3": 32, + "STANDARD_L48S_V2": 32, + "STANDARD_L48S_V3": 32, + "STANDARD_L4S": 16, + "STANDARD_L64AS_V3": 32, + "STANDARD_L64S_V2": 32, + "STANDARD_L64S_V3": 32, + "STANDARD_L80AS_V3": 32, + "STANDARD_L80S_V2": 32, + "STANDARD_L80S_V3": 32, + "STANDARD_L8AS_V3": 16, + "STANDARD_L8S": 32, + "STANDARD_L8S_V2": 16, + "STANDARD_L8S_V3": 16, + "STANDARD_M128-32MS": 64, + "STANDARD_M128": 64, + "STANDARD_M128-64MS": 64, + "STANDARD_M128DMS_V2": 64, + "STANDARD_M128DS_V2": 64, + "STANDARD_M128M": 64, + "STANDARD_M128MS": 64, + "STANDARD_M128MS_V2": 64, + "STANDARD_M128S": 64, + "STANDARD_M128S_V2": 64, + "STANDARD_M16-4MS": 16, + "STANDARD_M16-8MS": 16, + "STANDARD_M16MS": 16, + "STANDARD_M192IDMS_V2": 64, + "STANDARD_M192IDS_V2": 64, + "STANDARD_M192IMS_V2": 64, + "STANDARD_M192IS_V2": 64, + "STANDARD_M208MS_V2": 64, + "STANDARD_M208S_V2": 64, + "STANDARD_M32-16MS": 32, + "STANDARD_M32-8MS": 32, + "STANDARD_M32DMS_V2": 32, + "STANDARD_M32LS": 32, + "STANDARD_M32MS": 32, + "STANDARD_M32MS_V2": 32, + "STANDARD_M32TS": 32, + "STANDARD_M416-208MS_V2": 64, + "STANDARD_M416-208S_V2": 64, + "STANDARD_M416MS_V2": 64, + "STANDARD_M416S_V2": 64, + "STANDARD_M64-16MS": 64, + "STANDARD_M64-32MS": 64, + "STANDARD_M64": 64, + "STANDARD_M64DMS_V2": 64, + "STANDARD_M64DS_V2": 64, + "STANDARD_M64LS": 64, + "STANDARD_M64M": 64, + "STANDARD_M64MS": 64, + "STANDARD_M64MS_V2": 64, + "STANDARD_M64S": 64, + "STANDARD_M64S_V2": 64, + "STANDARD_M8-2MS": 8, + "STANDARD_M8-4MS": 8, + "STANDARD_M8MS": 8, + "STANDARD_NC12": 48, + "STANDARD_NC12_PROMO": 48, + "STANDARD_NC12S_V2": 24, + "STANDARD_NC12S_V3": 24, + "STANDARD_NC16ADS_A10_V4": 16, + "STANDARD_NC16AS_T4_V3": 32, + "STANDARD_NC24": 64, + "STANDARD_NC24ADS_A100_V4": 8, + "STANDARD_NC24_PROMO": 64, + "STANDARD_NC24R": 64, + "STANDARD_NC24R_PROMO": 64, + "STANDARD_NC24RS_V2": 32, + "STANDARD_NC24RS_V3": 32, + "STANDARD_NC24S_V2": 32, + "STANDARD_NC24S_V3": 32, + "STANDARD_NC32ADS_A10_V4": 32, + "STANDARD_NC48ADS_A100_V4": 16, + "STANDARD_NC4AS_T4_V3": 8, + "STANDARD_NC6": 24, + "STANDARD_NC64AS_T4_V3": 32, + "STANDARD_NC6_PROMO": 24, + "STANDARD_NC6S_V2": 12, + "STANDARD_NC6S_V3": 12, + "STANDARD_NC8ADS_A10_V4": 8, + "STANDARD_NC8AS_T4_V3": 16, + "STANDARD_NC96ADS_A100_V4": 32, + "STANDARD_ND12S": 24, + "STANDARD_ND24RS": 32, + "STANDARD_ND24S": 32, + "STANDARD_ND40RS_V2": 8, + "STANDARD_ND40S_V3": 32, + "STANDARD_ND6S": 12, + "STANDARD_ND96AMSR_A100_V4": 16, + "STANDARD_ND96ASR_V4": 16, + "STANDARD_NP10S": 8, + "STANDARD_NP20S": 16, + "STANDARD_NP40S": 32, + "STANDARD_NV12": 48, + "STANDARD_NV12ADS_A10_V5": 8, + "STANDARD_NV12_PROMO": 48, + "STANDARD_NV12S_V2": 24, + "STANDARD_NV12S_V3": 12, + "STANDARD_NV16AS_V4": 32, + "STANDARD_NV18ADS_A10_V5": 16, + "STANDARD_NV24": 64, + "STANDARD_NV24_PROMO": 64, + "STANDARD_NV24S_V2": 32, + "STANDARD_NV24S_V3": 24, + "STANDARD_NV32AS_V4": 32, + "STANDARD_NV36ADMS_A10_V5": 32, + "STANDARD_NV36ADS_A10_V5": 32, + "STANDARD_NV48S_V3": 32, + "STANDARD_NV4AS_V4": 8, + "STANDARD_NV6": 24, + "STANDARD_NV6ADS_A10_V5": 4, + "STANDARD_NV6_PROMO": 24, + "STANDARD_NV6S_V2": 12, + "STANDARD_NV72ADS_A10_V5": 32, + "STANDARD_NV8AS_V4": 16, + "STANDARD_PB6S": 12, } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/cephfs/cephfs.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/cephfs/cephfs.go index 6aaec9963f7b..2fc27d6248b1 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/cephfs/cephfs.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/cephfs/cephfs.go @@ -85,6 +85,10 @@ func (plugin *cephfsPlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *cephfsPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *cephfsPlugin) GetAccessModes() []v1.PersistentVolumeAccessMode { return []v1.PersistentVolumeAccessMode{ v1.ReadWriteOnce, @@ -340,7 +344,9 @@ func (cephfsVolume *cephfs) execFuseMount(mountpoint string) error { klog.V(4).Info("cephfs mount begin using fuse.") keyringPath := cephfsVolume.GetKeyringPath() - os.MkdirAll(keyringPath, 0750) + if err := os.MkdirAll(keyringPath, 0750); err != nil { + return err + } payload := make(map[string]util.FileProjection, 1) var fileProjection util.FileProjection diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/cinder/cinder.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/cinder/cinder.go index 88f89489aec5..ef422e24c5c7 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/cinder/cinder.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/cinder/cinder.go @@ -123,6 +123,10 @@ func (plugin *cinderPlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *cinderPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + var _ volume.VolumePluginWithAttachLimits = &cinderPlugin{} func (plugin *cinderPlugin) GetVolumeLimits() (map[string]int64, error) { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/cinder/cinder_block.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/cinder/cinder_block.go index edb1891fdf9e..618115770e30 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/cinder/cinder_block.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/cinder/cinder_block.go @@ -155,7 +155,8 @@ var _ volume.BlockVolumeMapper = &cinderVolumeMapper{} // GetGlobalMapPath returns global map path and error // path: plugins/kubernetes.io/{PluginName}/volumeDevices/volumeID -// plugins/kubernetes.io/cinder/volumeDevices/vol-XXXXXX +// +// plugins/kubernetes.io/cinder/volumeDevices/vol-XXXXXX func (cd *cinderVolume) GetGlobalMapPath(spec *volume.Spec) (string, error) { pdName, _, _, err := getVolumeInfo(spec) if err != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/configmap/configmap.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/configmap/configmap.go index e72f5bccb707..8aca9bc23141 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/configmap/configmap.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/configmap/configmap.go @@ -90,6 +90,10 @@ func (plugin *configMapPlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *configMapPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *configMapPlugin) NewMounter(spec *volume.Spec, pod *v1.Pod, opts volume.VolumeOptions) (volume.Mounter, error) { return &configMapVolumeMounter{ configMapVolume: &configMapVolume{ diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_attacher.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_attacher.go index 11de3c558bc8..57fbcb7e9c5a 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_attacher.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_attacher.go @@ -26,9 +26,6 @@ import ( "strings" "time" - utilfeature "k8s.io/apiserver/pkg/util/feature" - "k8s.io/klog/v2" - v1 "k8s.io/api/core/v1" storage "k8s.io/api/storage/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" @@ -36,9 +33,12 @@ import ( "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/apimachinery/pkg/watch" + utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/client-go/kubernetes" + "k8s.io/klog/v2" "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/volume" + "k8s.io/kubernetes/pkg/volume/util" volumetypes "k8s.io/kubernetes/pkg/volume/util/types" "k8s.io/utils/clock" ) @@ -331,8 +331,9 @@ func (c *csiAttacher) MountDevice(spec *volume.Spec, devicePath string, deviceMo klog.V(4).Info(log("created target path successfully [%s]", deviceMountPath)) dataDir := filepath.Dir(deviceMountPath) data := map[string]string{ - volDataKey.volHandle: csiSource.VolumeHandle, - volDataKey.driverName: csiSource.Driver, + volDataKey.volHandle: csiSource.VolumeHandle, + volDataKey.driverName: csiSource.Driver, + volDataKey.seLinuxMountContext: deviceMounterArgs.SELinuxLabel, } err = saveVolumeData(dataDir, volDataFileName, data) @@ -371,6 +372,16 @@ func (c *csiAttacher) MountDevice(spec *volume.Spec, devicePath string, deviceMo mountOptions = spec.PersistentVolume.Spec.MountOptions } + if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { + support, err := c.plugin.SupportsSELinuxContextMount(spec) + if err != nil { + return errors.New(log("failed to query for SELinuxMount support: %s", err)) + } + if support { + mountOptions = util.AddSELinuxMountOption(mountOptions, deviceMounterArgs.SELinuxLabel) + } + } + var nodeStageFSGroupArg *int64 if utilfeature.DefaultFeatureGate.Enabled(features.DelegateFSGroupToCSIDriver) { driverSupportsCSIVolumeMountGroup, err := csi.NodeSupportsVolumeMountGroup(ctx) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_client.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_client.go index fc5a6a42c501..bbbe762def21 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_client.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_client.go @@ -28,6 +28,7 @@ import ( csipbv1 "github.com/container-storage-interface/spec/lib/go/csi" "google.golang.org/grpc" "google.golang.org/grpc/codes" + "google.golang.org/grpc/credentials/insecure" "google.golang.org/grpc/status" api "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" @@ -534,7 +535,7 @@ func newGrpcConn(addr csiAddr, metricsManager *MetricsManager) (*grpc.ClientConn return grpc.Dial( string(addr), - grpc.WithInsecure(), + grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(func(ctx context.Context, target string) (net.Conn, error) { return (&net.Dialer{}).DialContext(ctx, network, target) }), diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_mounter.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_mounter.go index 5621318a2e47..6c67b6ac86b3 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_mounter.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_mounter.go @@ -24,8 +24,6 @@ import ( "os" "path/filepath" - "k8s.io/klog/v2" - authenticationv1 "k8s.io/api/authentication/v1" api "k8s.io/api/core/v1" storage "k8s.io/api/storage/v1" @@ -33,6 +31,7 @@ import ( "k8s.io/apimachinery/pkg/types" utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/client-go/kubernetes" + "k8s.io/klog/v2" "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/volume" "k8s.io/kubernetes/pkg/volume/util" @@ -41,7 +40,7 @@ import ( utilstrings "k8s.io/utils/strings" ) -//TODO (vladimirvivien) move this in a central loc later +// TODO (vladimirvivien) move this in a central loc later var ( volDataKey = struct { specVolID, @@ -49,7 +48,8 @@ var ( driverName, nodeName, attachmentID, - volumeLifecycleMode string + volumeLifecycleMode, + seLinuxMountContext string }{ "specVolID", "volumeHandle", @@ -57,6 +57,7 @@ var ( "nodeName", "attachmentID", "volumeLifecycleMode", + "seLinuxMountContext", } ) @@ -70,7 +71,7 @@ type csiMountMgr struct { volumeID string specVolumeID string readOnly bool - supportsSELinux bool + needSELinuxRelabel bool spec *volume.Spec pod *api.Pod podUID types.UID @@ -133,9 +134,6 @@ func (c *csiMountMgr) SetUpAt(dir string, mounterArgs volume.MounterArgs) error switch { case volSrc != nil: - if !utilfeature.DefaultFeatureGate.Enabled(features.CSIInlineVolume) { - return fmt.Errorf("CSIInlineVolume feature required") - } if c.volumeLifecycleMode != storage.VolumeLifecycleEphemeral { return fmt.Errorf("unexpected volume mode: %s", c.volumeLifecycleMode) } @@ -245,6 +243,18 @@ func (c *csiMountMgr) SetUpAt(dir string, mounterArgs volume.MounterArgs) error } } + var selinuxLabelMount bool + if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { + support, err := c.plugin.SupportsSELinuxContextMount(c.spec) + if err != nil { + return errors.New(log("failed to query for SELinuxMount support: %s", err)) + } + if support { + mountOptions = util.AddSELinuxMountOption(mountOptions, mounterArgs.SELinuxLabel) + selinuxLabelMount = true + } + } + err = csi.NodePublishVolume( ctx, volumeHandle, @@ -270,10 +280,12 @@ func (c *csiMountMgr) SetUpAt(dir string, mounterArgs volume.MounterArgs) error return err } - c.supportsSELinux, err = c.kubeVolHost.GetHostUtil().GetSELinuxSupport(dir) - if err != nil { - // The volume is mounted. Return UncertainProgressError, so kubelet will unmount it when user deletes the pod. - return volumetypes.NewUncertainProgressError(fmt.Sprintf("error checking for SELinux support: %s", err)) + if !selinuxLabelMount { + c.needSELinuxRelabel, err = c.kubeVolHost.GetHostUtil().GetSELinuxSupport(dir) + if err != nil { + // The volume is mounted. Return UncertainProgressError, so kubelet will unmount it when user deletes the pod. + return volumetypes.NewUncertainProgressError(fmt.Sprintf("error checking for SELinux support: %s", err)) + } } if !driverSupportsCSIVolumeMountGroup && c.supportsFSGroup(fsType, mounterArgs.FsGroup, c.fsGroupPolicy) { @@ -350,7 +362,7 @@ func (c *csiMountMgr) GetAttributes() volume.Attributes { return volume.Attributes{ ReadOnly: c.readOnly, Managed: !c.readOnly, - SELinuxRelabel: c.supportsSELinux, + SELinuxRelabel: c.needSELinuxRelabel, } } @@ -415,10 +427,6 @@ func (c *csiMountMgr) supportsFSGroup(fsType string, fsGroup *int64, driverPolic } return true } else if c.spec.Volume != nil && c.spec.Volume.CSI != nil { - if !utilfeature.DefaultFeatureGate.Enabled(features.CSIInlineVolume) { - klog.V(4).Info(log("mounter.SetupAt WARNING: skipping fsGroup, CSIInlineVolume feature required")) - return false - } // Inline CSI volumes are always mounted with RWO AccessMode by SetUpAt return true } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_plugin.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_plugin.go index 592aaaeaaf6d..976292de20ed 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_plugin.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_plugin.go @@ -334,12 +334,8 @@ func (p *csiPlugin) CanSupport(spec *volume.Spec) bool { if spec == nil { return false } - if utilfeature.DefaultFeatureGate.Enabled(features.CSIInlineVolume) { - return (spec.PersistentVolume != nil && spec.PersistentVolume.Spec.CSI != nil) || - (spec.Volume != nil && spec.Volume.CSI != nil) - } - - return spec.PersistentVolume != nil && spec.PersistentVolume.Spec.CSI != nil + return (spec.PersistentVolume != nil && spec.PersistentVolume.Spec.CSI != nil) || + (spec.Volume != nil && spec.Volume.CSI != nil) } func (p *csiPlugin) RequiresRemount(spec *volume.Spec) bool { @@ -351,7 +347,7 @@ func (p *csiPlugin) RequiresRemount(spec *volume.Spec) bool { klog.V(5).Info(log("Failed to mark %q as republish required, err: %v", spec.Name(), err)) return false } - csiDriver, err := p.csiDriverLister.Get(driverName) + csiDriver, err := p.getCSIDriver(driverName) if err != nil { klog.V(5).Info(log("Failed to mark %q as republish required, err: %v", spec.Name(), err)) return false @@ -376,7 +372,7 @@ func (p *csiPlugin) NewMounter( ) switch { - case volSrc != nil && utilfeature.DefaultFeatureGate.Enabled(features.CSIInlineVolume): + case volSrc != nil: volumeHandle = makeVolumeHandle(string(pod.UID), spec.Name()) driverName = volSrc.Driver if volSrc.ReadOnly != nil { @@ -520,13 +516,10 @@ func (p *csiPlugin) ConstructVolumeSpec(volumeName, mountPath string) (*volume.S klog.V(4).Info(log("plugin.ConstructVolumeSpec extracted [%#v]", volData)) var spec *volume.Spec - inlineEnabled := utilfeature.DefaultFeatureGate.Enabled(features.CSIInlineVolume) - - // If inlineEnabled is true and mode is VolumeLifecycleEphemeral, - // use constructVolSourceSpec to construct volume source spec. - // If inlineEnabled is false or mode is VolumeLifecyclePersistent, + // If mode is VolumeLifecycleEphemeral, use constructVolSourceSpec + // to construct volume source spec. If mode is VolumeLifecyclePersistent, // use constructPVSourceSpec to construct volume construct pv source spec. - if inlineEnabled && storage.VolumeLifecycleMode(volData[volDataKey.volumeLifecycleMode]) == storage.VolumeLifecycleEphemeral { + if storage.VolumeLifecycleMode(volData[volDataKey.volumeLifecycleMode]) == storage.VolumeLifecycleEphemeral { spec = p.constructVolSourceSpec(volData[volDataKey.specVolID], volData[volDataKey.driverName]) return spec, nil } @@ -548,7 +541,7 @@ func (p *csiPlugin) constructVolSourceSpec(volSpecName, driverName string) *volu return volume.NewSpecFromVolume(vol) } -//constructPVSourceSpec constructs volume.Spec with CSIPersistentVolumeSource +// constructPVSourceSpec constructs volume.Spec with CSIPersistentVolumeSource func (p *csiPlugin) constructPVSourceSpec(volSpecName, driverName, volumeHandle string) *volume.Spec { fsMode := api.PersistentVolumeFilesystem pv := &api.PersistentVolume{ @@ -581,6 +574,24 @@ func (p *csiPlugin) SupportsBulkVolumeVerification() bool { return false } +func (p *csiPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { + driver, err := GetCSIDriverName(spec) + if err != nil { + return false, err + } + csiDriver, err := p.getCSIDriver(driver) + if err != nil { + return false, err + } + if csiDriver.Spec.SELinuxMount != nil { + return *csiDriver.Spec.SELinuxMount, nil + } + return false, nil + } + return false, nil +} + // volume.AttachableVolumePlugin methods var _ volume.AttachableVolumePlugin = &csiPlugin{} @@ -599,17 +610,14 @@ func (p *csiPlugin) NewDetacher() (volume.Detacher, error) { } func (p *csiPlugin) CanAttach(spec *volume.Spec) (bool, error) { - inlineEnabled := utilfeature.DefaultFeatureGate.Enabled(features.CSIInlineVolume) - if inlineEnabled { - volumeLifecycleMode, err := p.getVolumeLifecycleMode(spec) - if err != nil { - return false, err - } + volumeLifecycleMode, err := p.getVolumeLifecycleMode(spec) + if err != nil { + return false, err + } - if volumeLifecycleMode == storage.VolumeLifecycleEphemeral { - klog.V(5).Info(log("plugin.CanAttach = false, ephemeral mode detected for spec %v", spec.Name())) - return false, nil - } + if volumeLifecycleMode == storage.VolumeLifecycleEphemeral { + klog.V(5).Info(log("plugin.CanAttach = false, ephemeral mode detected for spec %v", spec.Name())) + return false, nil } pvSrc, err := getCSISourceFromSpec(spec) @@ -629,12 +637,6 @@ func (p *csiPlugin) CanAttach(spec *volume.Spec) (bool, error) { // CanDeviceMount returns true if the spec supports device mount func (p *csiPlugin) CanDeviceMount(spec *volume.Spec) (bool, error) { - inlineEnabled := utilfeature.DefaultFeatureGate.Enabled(features.CSIInlineVolume) - if !inlineEnabled { - // No need to check anything, we assume it is a persistent volume. - return true, nil - } - volumeLifecycleMode, err := p.getVolumeLifecycleMode(spec) if err != nil { return false, err @@ -791,17 +793,7 @@ func (p *csiPlugin) ConstructBlockVolumeSpec(podUID types.UID, specVolName, mapP // skipAttach looks up CSIDriver object associated with driver name // to determine if driver requires attachment volume operation func (p *csiPlugin) skipAttach(driver string) (bool, error) { - kletHost, ok := p.host.(volume.KubeletVolumeHost) - if ok { - if err := kletHost.WaitForCacheSync(); err != nil { - return false, err - } - } - - if p.csiDriverLister == nil { - return false, errors.New("CSIDriver lister does not exist") - } - csiDriver, err := p.csiDriverLister.Get(driver) + csiDriver, err := p.getCSIDriver(driver) if err != nil { if apierrors.IsNotFound(err) { // Don't skip attach if CSIDriver does not exist @@ -815,31 +807,31 @@ func (p *csiPlugin) skipAttach(driver string) (bool, error) { return false, nil } -// supportsVolumeMode checks whether the CSI driver supports a volume in the given mode. -// An error indicates that it isn't supported and explains why. -func (p *csiPlugin) supportsVolumeLifecycleMode(driver string, volumeMode storage.VolumeLifecycleMode) error { - if !utilfeature.DefaultFeatureGate.Enabled(features.CSIInlineVolume) { - // Feature disabled, therefore only "persistent" volumes are supported. - if volumeMode != storage.VolumeLifecyclePersistent { - return fmt.Errorf("CSIInlineVolume feature not enabled, %q volumes not supported", volumeMode) +func (p *csiPlugin) getCSIDriver(driver string) (*storage.CSIDriver, error) { + kletHost, ok := p.host.(volume.KubeletVolumeHost) + if ok { + if err := kletHost.WaitForCacheSync(); err != nil { + return nil, err } - return nil } + if p.csiDriverLister == nil { + return nil, errors.New("CSIDriver lister does not exist") + } + csiDriver, err := p.csiDriverLister.Get(driver) + return csiDriver, err +} + +// supportsVolumeMode checks whether the CSI driver supports a volume in the given mode. +// An error indicates that it isn't supported and explains why. +func (p *csiPlugin) supportsVolumeLifecycleMode(driver string, volumeMode storage.VolumeLifecycleMode) error { // Retrieve CSIDriver. It's not an error if that isn't // possible (we don't have the lister if CSIDriverRegistry is // disabled) or the driver isn't found (CSIDriver is // optional), but then only persistent volumes are supported. var csiDriver *storage.CSIDriver if p.csiDriverLister != nil { - kletHost, ok := p.host.(volume.KubeletVolumeHost) - if ok { - if err := kletHost.WaitForCacheSync(); err != nil { - return err - } - } - - c, err := p.csiDriverLister.Get(driver) + c, err := p.getCSIDriver(driver) if err != nil && !apierrors.IsNotFound(err) { // Some internal error. return err @@ -885,7 +877,7 @@ func (p *csiPlugin) getVolumeLifecycleMode(spec *volume.Spec) (storage.VolumeLif return "", err } - if volSrc != nil && utilfeature.DefaultFeatureGate.Enabled(features.CSIInlineVolume) { + if volSrc != nil { return storage.VolumeLifecycleEphemeral, nil } return storage.VolumeLifecyclePersistent, nil @@ -900,14 +892,7 @@ func (p *csiPlugin) getFSGroupPolicy(driver string) (storage.FSGroupPolicy, erro // optional) var csiDriver *storage.CSIDriver if p.csiDriverLister != nil { - kletHost, ok := p.host.(volume.KubeletVolumeHost) - if ok { - if err := kletHost.WaitForCacheSync(); err != nil { - return storage.ReadWriteOnceWithFSTypeFSGroupPolicy, err - } - } - - c, err := p.csiDriverLister.Get(driver) + c, err := p.getCSIDriver(driver) if err != nil && !apierrors.IsNotFound(err) { // Some internal error. return storage.ReadWriteOnceWithFSTypeFSGroupPolicy, err @@ -965,16 +950,7 @@ func (p *csiPlugin) newAttacherDetacher() (*csiAttacher, error) { // podInfoEnabled check CSIDriver enabled pod info flag func (p *csiPlugin) podInfoEnabled(driverName string) (bool, error) { - kletHost, ok := p.host.(volume.KubeletVolumeHost) - if ok { - kletHost.WaitForCacheSync() - } - - if p.csiDriverLister == nil { - return false, fmt.Errorf("CSIDriverLister not found") - } - - csiDriver, err := p.csiDriverLister.Get(driverName) + csiDriver, err := p.getCSIDriver(driverName) if err != nil { if apierrors.IsNotFound(err) { klog.V(4).Infof(log("CSIDriver %q not found, not adding pod information", driverName)) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_util.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_util.go index ad9098b4ef87..ee2bdc193b32 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_util.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/csi/csi_util.go @@ -29,10 +29,8 @@ import ( api "k8s.io/api/core/v1" storage "k8s.io/api/storage/v1" meta "k8s.io/apimachinery/pkg/apis/meta/v1" - utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/client-go/kubernetes" "k8s.io/klog/v2" - "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/volume" utilstrings "k8s.io/utils/strings" ) @@ -151,7 +149,7 @@ func getSourceFromSpec(spec *volume.Spec) (*api.CSIVolumeSource, *api.CSIPersist if spec.Volume != nil && spec.PersistentVolume != nil { return nil, nil, fmt.Errorf("volume.Spec has both volume and persistent volume sources") } - if spec.Volume != nil && spec.Volume.CSI != nil && utilfeature.DefaultFeatureGate.Enabled(features.CSIInlineVolume) { + if spec.Volume != nil && spec.Volume.CSI != nil { return spec.Volume.CSI, nil, nil } if spec.PersistentVolume != nil && @@ -187,7 +185,7 @@ func GetCSIDriverName(spec *volume.Spec) (string, error) { } switch { - case volSrc != nil && utilfeature.DefaultFeatureGate.Enabled(features.CSIInlineVolume): + case volSrc != nil: return volSrc.Driver, nil case pvSrc != nil: return pvSrc.Driver, nil @@ -212,9 +210,7 @@ func getPodInfoAttrs(pod *api.Pod, volumeMode storage.VolumeLifecycleMode) map[s "csi.storage.k8s.io/pod.namespace": pod.Namespace, "csi.storage.k8s.io/pod.uid": string(pod.UID), "csi.storage.k8s.io/serviceAccount.name": pod.Spec.ServiceAccountName, - } - if utilfeature.DefaultFeatureGate.Enabled(features.CSIInlineVolume) { - attrs["csi.storage.k8s.io/ephemeral"] = strconv.FormatBool(volumeMode == storage.VolumeLifecycleEphemeral) + "csi.storage.k8s.io/ephemeral": strconv.FormatBool(volumeMode == storage.VolumeLifecycleEphemeral), } return attrs } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/downwardapi/downwardapi.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/downwardapi/downwardapi.go index 08899bfb3598..714254c5c795 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/downwardapi/downwardapi.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/downwardapi/downwardapi.go @@ -92,6 +92,10 @@ func (plugin *downwardAPIPlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *downwardAPIPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *downwardAPIPlugin) NewMounter(spec *volume.Spec, pod *v1.Pod, opts volume.VolumeOptions) (volume.Mounter, error) { v := &downwardAPIVolume{ volName: spec.Name(), diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/emptydir/empty_dir.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/emptydir/empty_dir.go index 19cd6aea2823..6370902d0eab 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/emptydir/empty_dir.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/emptydir/empty_dir.go @@ -103,6 +103,10 @@ func (plugin *emptyDirPlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *emptyDirPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *emptyDirPlugin) NewMounter(spec *volume.Spec, pod *v1.Pod, opts volume.VolumeOptions) (volume.Mounter, error) { return plugin.newMounterInternal(spec, pod, plugin.host.GetMounter(plugin.GetPluginName()), &realMountDetector{plugin.host.GetMounter(plugin.GetPluginName())}, opts) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/fc/fc.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/fc/fc.go index 622624829ee3..8c8920d6dc23 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/fc/fc.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/fc/fc.go @@ -99,6 +99,10 @@ func (plugin *fcPlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *fcPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *fcPlugin) GetAccessModes() []v1.PersistentVolumeAccessMode { return []v1.PersistentVolumeAccessMode{ v1.ReadWriteOnce, @@ -286,9 +290,11 @@ func (plugin *fcPlugin) ConstructVolumeSpec(volumeName, mountPath string) (*volu // - Searches a file whose name is {pod uuid} under volume plugin directory. // - If a file is found, then retreives volumePluginDependentPath from globalMapPathUUID. // - Once volumePluginDependentPath is obtained, store volume information to VolumeSource +// // examples: -// mapPath: pods/{podUid}/{DefaultKubeletVolumeDevicesDirName}/{escapeQualifiedPluginName}/{volumeName} -// globalMapPathUUID : plugins/kubernetes.io/{PluginName}/{DefaultKubeletVolumeDevicesDirName}/{volumePluginDependentPath}/{pod uuid} +// +// mapPath: pods/{podUid}/{DefaultKubeletVolumeDevicesDirName}/{escapeQualifiedPluginName}/{volumeName} +// globalMapPathUUID : plugins/kubernetes.io/{PluginName}/{DefaultKubeletVolumeDevicesDirName}/{volumePluginDependentPath}/{pod uuid} func (plugin *fcPlugin) ConstructBlockVolumeSpec(podUID types.UID, volumeName, mapPath string) (*volume.Spec, error) { pluginDir := plugin.host.GetVolumeDevicePluginDir(fcPluginName) blkutil := volumepathhandler.NewBlockVolumePathHandler() diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flexvolume/plugin.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flexvolume/plugin.go index a13b3af93263..92e5c8d91db3 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flexvolume/plugin.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flexvolume/plugin.go @@ -287,6 +287,10 @@ func (plugin *flexVolumePlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *flexVolumePlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + // Returns true iff the given command is known to be unsupported. func (plugin *flexVolumePlugin) isUnsupported(command string) bool { plugin.Lock() diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flocker/OWNERS b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flocker/OWNERS deleted file mode 100644 index 4e2f2d2a690f..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flocker/OWNERS +++ /dev/null @@ -1,11 +0,0 @@ -# See the OWNERS docs at https://go.k8s.io/owners - -approvers: - - saad-ali -reviewers: - - saad-ali - - jsafrane - - jingxu97 - - msau42 -emeritus_approvers: - - rootfs diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flocker/flocker.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flocker/flocker.go deleted file mode 100644 index 85442526fa1b..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flocker/flocker.go +++ /dev/null @@ -1,457 +0,0 @@ -/* -Copyright 2015 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package flocker - -import ( - "fmt" - "os" - "path/filepath" - "time" - - flockerapi "github.com/clusterhq/flocker-go" - "k8s.io/klog/v2" - "k8s.io/mount-utils" - utilstrings "k8s.io/utils/strings" - - v1 "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/types" - "k8s.io/kubernetes/pkg/util/env" - "k8s.io/kubernetes/pkg/volume" - "k8s.io/kubernetes/pkg/volume/util" -) - -// ProbeVolumePlugins is the primary entrypoint for volume plugins. -func ProbeVolumePlugins() []volume.VolumePlugin { - return []volume.VolumePlugin{&flockerPlugin{nil}} -} - -type flockerPlugin struct { - host volume.VolumeHost -} - -type flockerVolume struct { - volName string - podUID types.UID - // dataset metadata name deprecated - datasetName string - // dataset uuid - datasetUUID string - //pod *v1.Pod - flockerClient flockerapi.Clientable - manager volumeManager - plugin *flockerPlugin - mounter mount.Interface - volume.MetricsProvider -} - -var _ volume.VolumePlugin = &flockerPlugin{} -var _ volume.PersistentVolumePlugin = &flockerPlugin{} -var _ volume.DeletableVolumePlugin = &flockerPlugin{} -var _ volume.ProvisionableVolumePlugin = &flockerPlugin{} - -const ( - flockerPluginName = "kubernetes.io/flocker" - - defaultHost = "localhost" - defaultPort = 4523 - defaultCACertFile = "/etc/flocker/cluster.crt" - defaultClientKeyFile = "/etc/flocker/apiuser.key" - defaultClientCertFile = "/etc/flocker/apiuser.crt" - defaultMountPath = "/flocker" - - timeoutWaitingForVolume = 2 * time.Minute - tickerWaitingForVolume = 5 * time.Second -) - -func getPath(uid types.UID, volName string, host volume.VolumeHost) string { - return host.GetPodVolumeDir(uid, utilstrings.EscapeQualifiedName(flockerPluginName), volName) -} - -func makeGlobalFlockerPath(datasetUUID string) string { - return filepath.Join(defaultMountPath, datasetUUID) -} - -func (p *flockerPlugin) Init(host volume.VolumeHost) error { - p.host = host - return nil -} - -func (p *flockerPlugin) GetPluginName() string { - return flockerPluginName -} - -func (p *flockerPlugin) GetVolumeName(spec *volume.Spec) (string, error) { - volumeSource, _, err := getVolumeSource(spec) - if err != nil { - return "", err - } - - return volumeSource.DatasetName, nil -} - -func (p *flockerPlugin) CanSupport(spec *volume.Spec) bool { - return (spec.PersistentVolume != nil && spec.PersistentVolume.Spec.Flocker != nil) || - (spec.Volume != nil && spec.Volume.Flocker != nil) -} - -func (p *flockerPlugin) RequiresRemount(spec *volume.Spec) bool { - return false -} - -func (p *flockerPlugin) SupportsMountOption() bool { - return false -} - -func (p *flockerPlugin) SupportsBulkVolumeVerification() bool { - return false -} - -func (p *flockerPlugin) GetAccessModes() []v1.PersistentVolumeAccessMode { - return []v1.PersistentVolumeAccessMode{ - v1.ReadWriteOnce, - } -} - -func (p *flockerPlugin) getFlockerVolumeSource(spec *volume.Spec) (*v1.FlockerVolumeSource, bool) { - // AFAIK this will always be r/w, but perhaps for the future it will be needed - readOnly := false - - if spec.Volume != nil && spec.Volume.Flocker != nil { - return spec.Volume.Flocker, readOnly - } - return spec.PersistentVolume.Spec.Flocker, readOnly -} - -func (p *flockerPlugin) NewMounter(spec *volume.Spec, pod *v1.Pod, _ volume.VolumeOptions) (volume.Mounter, error) { - // Inject real implementations here, test through the internal function. - return p.newMounterInternal(spec, pod.UID, &flockerUtil{}, p.host.GetMounter(p.GetPluginName())) -} - -func (p *flockerPlugin) newMounterInternal(spec *volume.Spec, podUID types.UID, manager volumeManager, mounter mount.Interface) (volume.Mounter, error) { - volumeSource, readOnly, err := getVolumeSource(spec) - if err != nil { - return nil, err - } - - datasetName := volumeSource.DatasetName - datasetUUID := volumeSource.DatasetUUID - - return &flockerVolumeMounter{ - flockerVolume: &flockerVolume{ - podUID: podUID, - volName: spec.Name(), - datasetName: datasetName, - datasetUUID: datasetUUID, - mounter: mounter, - manager: manager, - plugin: p, - MetricsProvider: volume.NewMetricsStatFS(getPath(podUID, spec.Name(), p.host)), - }, - readOnly: readOnly}, nil -} - -func (p *flockerPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) { - // Inject real implementations here, test through the internal function. - return p.newUnmounterInternal(volName, podUID, &flockerUtil{}, p.host.GetMounter(p.GetPluginName())) -} - -func (p *flockerPlugin) newUnmounterInternal(volName string, podUID types.UID, manager volumeManager, mounter mount.Interface) (volume.Unmounter, error) { - return &flockerVolumeUnmounter{&flockerVolume{ - podUID: podUID, - volName: volName, - manager: manager, - mounter: mounter, - plugin: p, - MetricsProvider: volume.NewMetricsStatFS(getPath(podUID, volName, p.host)), - }}, nil -} - -func (p *flockerPlugin) ConstructVolumeSpec(volumeName, mountPath string) (*volume.Spec, error) { - flockerVolume := &v1.Volume{ - Name: volumeName, - VolumeSource: v1.VolumeSource{ - Flocker: &v1.FlockerVolumeSource{ - DatasetName: volumeName, - }, - }, - } - return volume.NewSpecFromVolume(flockerVolume), nil -} - -func (b *flockerVolume) GetDatasetUUID() (datasetUUID string, err error) { - - // return UUID if set - if len(b.datasetUUID) > 0 { - return b.datasetUUID, nil - } - - if b.flockerClient == nil { - return "", fmt.Errorf("flocker client is not initialized") - } - - // lookup in flocker API otherwise - return b.flockerClient.GetDatasetID(b.datasetName) -} - -type flockerVolumeMounter struct { - *flockerVolume - readOnly bool -} - -func (b *flockerVolumeMounter) GetAttributes() volume.Attributes { - return volume.Attributes{ - ReadOnly: b.readOnly, - Managed: false, - SELinuxRelabel: false, - } -} - -func (b *flockerVolumeMounter) GetPath() string { - return getPath(b.podUID, b.volName, b.plugin.host) -} - -// SetUp bind mounts the disk global mount to the volume path. -func (b *flockerVolumeMounter) SetUp(mounterArgs volume.MounterArgs) error { - return b.SetUpAt(b.GetPath(), mounterArgs) -} - -// newFlockerClient uses environment variables and pod attributes to return a -// flocker client capable of talking with the Flocker control service. -func (p *flockerPlugin) newFlockerClient(hostIP string) (*flockerapi.Client, error) { - host := env.GetEnvAsStringOrFallback("FLOCKER_CONTROL_SERVICE_HOST", defaultHost) - port, err := env.GetEnvAsIntOrFallback("FLOCKER_CONTROL_SERVICE_PORT", defaultPort) - - if err != nil { - return nil, err - } - caCertPath := env.GetEnvAsStringOrFallback("FLOCKER_CONTROL_SERVICE_CA_FILE", defaultCACertFile) - keyPath := env.GetEnvAsStringOrFallback("FLOCKER_CONTROL_SERVICE_CLIENT_KEY_FILE", defaultClientKeyFile) - certPath := env.GetEnvAsStringOrFallback("FLOCKER_CONTROL_SERVICE_CLIENT_CERT_FILE", defaultClientCertFile) - - c, err := flockerapi.NewClient(host, port, hostIP, caCertPath, keyPath, certPath) - return c, err -} - -func (b *flockerVolumeMounter) newFlockerClient() (*flockerapi.Client, error) { - - hostIP, err := b.plugin.host.GetHostIP() - if err != nil { - return nil, err - } - - return b.plugin.newFlockerClient(hostIP.String()) -} - -/* -SetUpAt will setup a Flocker volume following this flow of calls to the Flocker -control service: - -1. Get the dataset id for the given volume name/dir -2. It should already be there, if it's not the user needs to manually create it -3. Check the current Primary UUID -4. If it doesn't match with the Primary UUID that we got on 2, then we will - need to update the Primary UUID for this volume. -5. Wait until the Primary UUID was updated or timeout. -*/ -func (b *flockerVolumeMounter) SetUpAt(dir string, mounterArgs volume.MounterArgs) error { - var err error - if b.flockerClient == nil { - b.flockerClient, err = b.newFlockerClient() - if err != nil { - return err - } - } - - datasetUUID, err := b.GetDatasetUUID() - if err != nil { - return fmt.Errorf("the datasetUUID for volume with datasetName='%s' can not be found using flocker: %s", b.datasetName, err) - } - - datasetState, err := b.flockerClient.GetDatasetState(datasetUUID) - if err != nil { - return fmt.Errorf("the datasetState for volume with datasetUUID='%s' could not determinted uusing flocker: %s", datasetUUID, err) - } - - primaryUUID, err := b.flockerClient.GetPrimaryUUID() - if err != nil { - return err - } - - if datasetState.Primary != primaryUUID { - if err := b.updateDatasetPrimary(datasetUUID, primaryUUID); err != nil { - return err - } - _, err := b.flockerClient.GetDatasetState(datasetUUID) - if err != nil { - return fmt.Errorf("the volume with datasetUUID='%s' migrated unsuccessfully", datasetUUID) - } - } - - // TODO: handle failed mounts here. - notMnt, err := b.mounter.IsLikelyNotMountPoint(dir) - klog.V(4).Infof("flockerVolume set up: %s %v %v, datasetUUID %v readOnly %v", dir, !notMnt, err, datasetUUID, b.readOnly) - if err != nil && !os.IsNotExist(err) { - klog.Errorf("cannot validate mount point: %s %v", dir, err) - return err - } - if !notMnt { - return nil - } - - if err := os.MkdirAll(dir, 0750); err != nil { - klog.Errorf("mkdir failed on disk %s (%v)", dir, err) - return err - } - - // Perform a bind mount to the full path to allow duplicate mounts of the same PD. - options := []string{"bind"} - if b.readOnly { - options = append(options, "ro") - } - - globalFlockerPath := makeGlobalFlockerPath(datasetUUID) - klog.V(4).Infof("attempting to mount %s", dir) - - err = b.mounter.MountSensitiveWithoutSystemd(globalFlockerPath, dir, "", options, nil) - if err != nil { - notMnt, mntErr := b.mounter.IsLikelyNotMountPoint(dir) - if mntErr != nil { - klog.Errorf("isLikelyNotMountPoint check failed: %v", mntErr) - return err - } - if !notMnt { - if mntErr = b.mounter.Unmount(dir); mntErr != nil { - klog.Errorf("failed to unmount: %v", mntErr) - return err - } - notMnt, mntErr := b.mounter.IsLikelyNotMountPoint(dir) - if mntErr != nil { - klog.Errorf("isLikelyNotMountPoint check failed: %v", mntErr) - return err - } - if !notMnt { - // This is very odd, we don't expect it. We'll try again next sync loop. - klog.Errorf("%s is still mounted, despite call to unmount(). Will try again next sync loop.", dir) - return err - } - } - os.Remove(dir) - klog.Errorf("mount of disk %s failed: %v", dir, err) - return err - } - - if !b.readOnly { - volume.SetVolumeOwnership(b, mounterArgs.FsGroup, mounterArgs.FSGroupChangePolicy, util.FSGroupCompleteHook(b.plugin, nil)) - } - - klog.V(4).Infof("successfully mounted %s", dir) - return nil -} - -// updateDatasetPrimary will update the primary in Flocker and wait for it to -// be ready. If it never gets to ready state it will timeout and error. -func (b *flockerVolumeMounter) updateDatasetPrimary(datasetUUID string, primaryUUID string) error { - // We need to update the primary and wait for it to be ready - _, err := b.flockerClient.UpdatePrimaryForDataset(primaryUUID, datasetUUID) - if err != nil { - return err - } - - timeoutChan := time.NewTimer(timeoutWaitingForVolume) - defer timeoutChan.Stop() - tickChan := time.NewTicker(tickerWaitingForVolume) - defer tickChan.Stop() - - for { - if s, err := b.flockerClient.GetDatasetState(datasetUUID); err == nil && s.Primary == primaryUUID { - return nil - } - - select { - case <-timeoutChan.C: - return fmt.Errorf( - "Timed out waiting for the datasetUUID: '%s' to be moved to the primary: '%s'\n%v", - datasetUUID, primaryUUID, err, - ) - case <-tickChan.C: - } - } - -} - -func getVolumeSource(spec *volume.Spec) (*v1.FlockerVolumeSource, bool, error) { - if spec.Volume != nil && spec.Volume.Flocker != nil { - return spec.Volume.Flocker, spec.ReadOnly, nil - } else if spec.PersistentVolume != nil && - spec.PersistentVolume.Spec.Flocker != nil { - return spec.PersistentVolume.Spec.Flocker, spec.ReadOnly, nil - } - - return nil, false, fmt.Errorf("Spec does not reference a Flocker volume type") -} - -type flockerVolumeUnmounter struct { - *flockerVolume -} - -var _ volume.Unmounter = &flockerVolumeUnmounter{} - -func (c *flockerVolumeUnmounter) GetPath() string { - return getPath(c.podUID, c.volName, c.plugin.host) -} - -// Unmounts the bind mount, and detaches the disk only if the PD -// resource was the last reference to that disk on the kubelet. -func (c *flockerVolumeUnmounter) TearDown() error { - return c.TearDownAt(c.GetPath()) -} - -// TearDownAt unmounts the bind mount -func (c *flockerVolumeUnmounter) TearDownAt(dir string) error { - return mount.CleanupMountPoint(dir, c.mounter, false) -} - -func (p *flockerPlugin) NewDeleter(spec *volume.Spec) (volume.Deleter, error) { - return p.newDeleterInternal(spec, &flockerUtil{}) -} - -func (p *flockerPlugin) newDeleterInternal(spec *volume.Spec, manager volumeManager) (volume.Deleter, error) { - if spec.PersistentVolume != nil && spec.PersistentVolume.Spec.Flocker == nil { - return nil, fmt.Errorf("spec.PersistentVolumeSource.Flocker is nil") - } - return &flockerVolumeDeleter{ - flockerVolume: &flockerVolume{ - volName: spec.Name(), - datasetName: spec.PersistentVolume.Spec.Flocker.DatasetName, - datasetUUID: spec.PersistentVolume.Spec.Flocker.DatasetUUID, - manager: manager, - }}, nil -} - -func (p *flockerPlugin) NewProvisioner(options volume.VolumeOptions) (volume.Provisioner, error) { - return p.newProvisionerInternal(options, &flockerUtil{}) -} - -func (p *flockerPlugin) newProvisionerInternal(options volume.VolumeOptions, manager volumeManager) (volume.Provisioner, error) { - return &flockerVolumeProvisioner{ - flockerVolume: &flockerVolume{ - manager: manager, - plugin: p, - }, - options: options, - }, nil -} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flocker/flocker_util.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flocker/flocker_util.go deleted file mode 100644 index 75b1a3b56ef1..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flocker/flocker_util.go +++ /dev/null @@ -1,98 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package flocker - -import ( - "fmt" - - "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/util/rand" - - volumehelpers "k8s.io/cloud-provider/volume/helpers" - - flockerapi "github.com/clusterhq/flocker-go" - "k8s.io/klog/v2" -) - -type flockerUtil struct{} - -func (util *flockerUtil) DeleteVolume(d *flockerVolumeDeleter) error { - var err error - - if d.flockerClient == nil { - d.flockerClient, err = d.plugin.newFlockerClient("") - if err != nil { - return err - } - } - - datasetUUID, err := d.GetDatasetUUID() - if err != nil { - return err - } - - return d.flockerClient.DeleteDataset(datasetUUID) -} - -func (util *flockerUtil) CreateVolume(c *flockerVolumeProvisioner) (datasetUUID string, volumeSizeGiB int, labels map[string]string, err error) { - - if c.flockerClient == nil { - c.flockerClient, err = c.plugin.newFlockerClient("") - if err != nil { - return - } - } - - nodes, err := c.flockerClient.ListNodes() - if err != nil { - return - } - if len(nodes) < 1 { - err = fmt.Errorf("no nodes found inside the flocker cluster to provision a dataset") - return - } - - // select random node - node := nodes[rand.Intn(len(nodes))] - klog.V(2).Infof("selected flocker node with UUID '%s' to provision dataset", node.UUID) - - capacity := c.options.PVC.Spec.Resources.Requests[v1.ResourceName(v1.ResourceStorage)] - requestBytes := capacity.Value() - volumeSizeGiB, err = volumehelpers.RoundUpToGiBInt(capacity) - if err != nil { - return - } - - createOptions := &flockerapi.CreateDatasetOptions{ - MaximumSize: requestBytes, - Metadata: map[string]string{ - "type": "k8s-dynamic-prov", - "pvc": c.options.PVC.Name, - }, - Primary: node.UUID, - } - - datasetState, err := c.flockerClient.CreateDataset(createOptions) - if err != nil { - return - } - datasetUUID = datasetState.DatasetID - - klog.V(2).Infof("successfully created Flocker dataset with UUID '%s'", datasetUUID) - - return -} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flocker/flocker_volume.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flocker/flocker_volume.go deleted file mode 100644 index 68a03bd41d3c..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/flocker/flocker_volume.go +++ /dev/null @@ -1,114 +0,0 @@ -/* -Copyright 2015 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package flocker - -import ( - "fmt" - - "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/api/resource" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/kubernetes/pkg/volume" - "k8s.io/kubernetes/pkg/volume/util" -) - -type volumeManager interface { - // Creates a volume - CreateVolume(provisioner *flockerVolumeProvisioner) (datasetUUID string, volumeSizeGB int, labels map[string]string, err error) - // Deletes a volume - DeleteVolume(deleter *flockerVolumeDeleter) error -} - -type flockerVolumeDeleter struct { - *flockerVolume -} - -var _ volume.Deleter = &flockerVolumeDeleter{} - -func (b *flockerVolumeDeleter) GetPath() string { - return getPath(b.podUID, b.volName, b.plugin.host) -} - -func (b *flockerVolumeDeleter) Delete() error { - return b.manager.DeleteVolume(b) -} - -type flockerVolumeProvisioner struct { - *flockerVolume - options volume.VolumeOptions -} - -var _ volume.Provisioner = &flockerVolumeProvisioner{} - -func (c *flockerVolumeProvisioner) Provision(selectedNode *v1.Node, allowedTopologies []v1.TopologySelectorTerm) (*v1.PersistentVolume, error) { - if !util.ContainsAllAccessModes(c.plugin.GetAccessModes(), c.options.PVC.Spec.AccessModes) { - return nil, fmt.Errorf("invalid AccessModes %v: only AccessModes %v are supported", c.options.PVC.Spec.AccessModes, c.plugin.GetAccessModes()) - } - - if len(c.options.Parameters) > 0 { - return nil, fmt.Errorf("provisioning failed: Specified at least one unsupported parameter") - } - - if c.options.PVC.Spec.Selector != nil { - return nil, fmt.Errorf("provisioning failed: Specified unsupported selector") - } - - if util.CheckPersistentVolumeClaimModeBlock(c.options.PVC) { - return nil, fmt.Errorf("%s does not support block volume provisioning", c.plugin.GetPluginName()) - } - - datasetUUID, sizeGB, labels, err := c.manager.CreateVolume(c) - if err != nil { - return nil, err - } - - pv := &v1.PersistentVolume{ - ObjectMeta: metav1.ObjectMeta{ - Name: c.options.PVName, - Labels: map[string]string{}, - Annotations: map[string]string{ - util.VolumeDynamicallyCreatedByKey: "flocker-dynamic-provisioner", - }, - }, - Spec: v1.PersistentVolumeSpec{ - PersistentVolumeReclaimPolicy: c.options.PersistentVolumeReclaimPolicy, - AccessModes: c.options.PVC.Spec.AccessModes, - Capacity: v1.ResourceList{ - v1.ResourceName(v1.ResourceStorage): resource.MustParse(fmt.Sprintf("%dGi", sizeGB)), - }, - PersistentVolumeSource: v1.PersistentVolumeSource{ - Flocker: &v1.FlockerVolumeSource{ - DatasetUUID: datasetUUID, - }, - }, - }, - } - if len(c.options.PVC.Spec.AccessModes) == 0 { - pv.Spec.AccessModes = c.plugin.GetAccessModes() - } - - if len(labels) != 0 { - if pv.Labels == nil { - pv.Labels = make(map[string]string) - } - for k, v := range labels { - pv.Labels[k] = v - } - } - - return pv, nil -} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/gcepd/gce_pd.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/gcepd/gce_pd.go index 302d6be96138..cb33c1e3dd33 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/gcepd/gce_pd.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/gcepd/gce_pd.go @@ -111,6 +111,10 @@ func (plugin *gcePersistentDiskPlugin) SupportsBulkVolumeVerification() bool { return true } +func (plugin *gcePersistentDiskPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *gcePersistentDiskPlugin) GetAccessModes() []v1.PersistentVolumeAccessMode { return []v1.PersistentVolumeAccessMode{ v1.ReadWriteOnce, diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/git_repo/git_repo.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/git_repo/git_repo.go index 5f0e7075eb7e..76dafd7c8397 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/git_repo/git_repo.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/git_repo/git_repo.go @@ -89,6 +89,10 @@ func (plugin *gitRepoPlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *gitRepoPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *gitRepoPlugin) NewMounter(spec *volume.Spec, pod *v1.Pod, opts volume.VolumeOptions) (volume.Mounter, error) { if err := validateVolume(spec.Volume.GitRepo); err != nil { return nil, err diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/glusterfs/glusterfs.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/glusterfs/glusterfs.go index e915db930cfe..10e571a8b5d0 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/glusterfs/glusterfs.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/glusterfs/glusterfs.go @@ -132,6 +132,10 @@ func (plugin *glusterfsPlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *glusterfsPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *glusterfsPlugin) RequiresFSResize() bool { return false } @@ -415,7 +419,7 @@ func (b *glusterfsMounter) setUpAtInternal(dir string) error { } -//getVolumeInfo returns 'path' and 'readonly' field values from the provided glusterfs spec. +// getVolumeInfo returns 'path' and 'readonly' field values from the provided glusterfs spec. func getVolumeInfo(spec *volume.Spec) (string, bool, error) { if spec.Volume != nil && spec.Volume.Glusterfs != nil { return spec.Volume.Glusterfs.Path, spec.Volume.Glusterfs.ReadOnly, nil @@ -559,9 +563,9 @@ func (plugin *glusterfsPlugin) collectGids(className string, gidTable *MinMaxAll } // Return the gid table for a storage class. -// - If this is the first time, fill it with all the gids -// used in PVs of this storage class by traversing the PVs. -// - Adapt the range of the table to the current range of the SC. +// - If this is the first time, fill it with all the gids +// used in PVs of this storage class by traversing the PVs. +// - Adapt the range of the table to the current range of the SC. func (plugin *glusterfsPlugin) getGidTable(className string, min int, max int) (*MinMaxAllocator, error) { plugin.gidTableLock.Lock() gidTable, ok := plugin.gidTable[className] diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/glusterfs/glusterfs_minmax.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/glusterfs/glusterfs_minmax.go index fc1f2887106f..f99bdc71486b 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/glusterfs/glusterfs_minmax.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/glusterfs/glusterfs_minmax.go @@ -44,7 +44,7 @@ var ( ErrInternal = errors.New("internal error") ) -//MinMaxAllocator defines allocator struct. +// MinMaxAllocator defines allocator struct. type MinMaxAllocator struct { lock sync.Mutex min int @@ -79,7 +79,7 @@ func NewMinMaxAllocator(min, max int) (*MinMaxAllocator, error) { }, nil } -//SetRange defines the range/pool with provided min and max values. +// SetRange defines the range/pool with provided min and max values. func (a *MinMaxAllocator) SetRange(min, max int) error { if min > max { return ErrInvalidRange @@ -108,7 +108,7 @@ func (a *MinMaxAllocator) SetRange(min, max int) error { return nil } -//Allocate allocates provided value in the allocator and mark it as used. +// Allocate allocates provided value in the allocator and mark it as used. func (a *MinMaxAllocator) Allocate(i int) (bool, error) { a.lock.Lock() defer a.lock.Unlock() @@ -127,7 +127,7 @@ func (a *MinMaxAllocator) Allocate(i int) (bool, error) { return true, nil } -//AllocateNext allocates next value from the allocator. +// AllocateNext allocates next value from the allocator. func (a *MinMaxAllocator) AllocateNext() (int, bool, error) { a.lock.Lock() defer a.lock.Unlock() @@ -150,7 +150,7 @@ func (a *MinMaxAllocator) AllocateNext() (int, bool, error) { return 0, false, ErrInternal } -//Release free/delete provided value from the allocator. +// Release free/delete provided value from the allocator. func (a *MinMaxAllocator) Release(i int) error { a.lock.Lock() defer a.lock.Unlock() @@ -173,7 +173,7 @@ func (a *MinMaxAllocator) has(i int) bool { return ok } -//Has check whether the provided value is used in the allocator +// Has check whether the provided value is used in the allocator func (a *MinMaxAllocator) Has(i int) bool { a.lock.Lock() defer a.lock.Unlock() @@ -181,7 +181,7 @@ func (a *MinMaxAllocator) Has(i int) bool { return a.has(i) } -//Free returns the number of free values in the allocator. +// Free returns the number of free values in the allocator. func (a *MinMaxAllocator) Free() int { a.lock.Lock() defer a.lock.Unlock() diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/hostpath/host_path.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/hostpath/host_path.go index 8900023c51f6..c6f5b4c779c8 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/hostpath/host_path.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/hostpath/host_path.go @@ -108,6 +108,10 @@ func (plugin *hostPathPlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *hostPathPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *hostPathPlugin) GetAccessModes() []v1.PersistentVolumeAccessMode { return []v1.PersistentVolumeAccessMode{ v1.ReadWriteOnce, diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/iscsi/attacher.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/iscsi/attacher.go index f4871d901af3..8aa184c3a59f 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/iscsi/attacher.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/iscsi/attacher.go @@ -98,7 +98,7 @@ func (attacher *iscsiAttacher) GetDeviceMountPath( return attacher.manager.MakeGlobalPDName(*mounter.iscsiDisk), nil } -func (attacher *iscsiAttacher) MountDevice(spec *volume.Spec, devicePath string, deviceMountPath string, _ volume.DeviceMounterArgs) error { +func (attacher *iscsiAttacher) MountDevice(spec *volume.Spec, devicePath string, deviceMountPath string, mountArgs volume.DeviceMounterArgs) error { mounter := attacher.host.GetMounter(iscsiPluginName) notMnt, err := mounter.IsLikelyNotMountPoint(deviceMountPath) if err != nil { @@ -120,6 +120,9 @@ func (attacher *iscsiAttacher) MountDevice(spec *volume.Spec, devicePath string, if readOnly { options = append(options, "ro") } + if mountArgs.SELinuxLabel != "" { + options = volumeutil.AddSELinuxMountOption(options, mountArgs.SELinuxLabel) + } if notMnt { diskMounter := &mount.SafeFormatAndMount{Interface: mounter, Exec: attacher.host.GetExec(iscsiPluginName)} mountOptions := volumeutil.MountOptionFromSpec(spec, options...) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/iscsi/iscsi.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/iscsi/iscsi.go index 3d6cb58dbeca..7f24a4e32ffd 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/iscsi/iscsi.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/iscsi/iscsi.go @@ -24,7 +24,9 @@ import ( "strconv" "strings" + utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/klog/v2" + "k8s.io/kubernetes/pkg/features" "k8s.io/mount-utils" utilexec "k8s.io/utils/exec" "k8s.io/utils/io" @@ -35,12 +37,11 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/kubernetes/pkg/volume" - "k8s.io/kubernetes/pkg/volume/util" ioutil "k8s.io/kubernetes/pkg/volume/util" "k8s.io/kubernetes/pkg/volume/util/volumepathhandler" ) -// ProbeVolumePlugins is the primary entrypoint for volume plugins. +// ProbeVolumePlugins is the primary entrypoint for volume plugins. func ProbeVolumePlugins() []volume.VolumePlugin { return []volume.VolumePlugin{&iscsiPlugin{}} } @@ -93,6 +94,10 @@ func (plugin *iscsiPlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *iscsiPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return true, nil +} + func (plugin *iscsiPlugin) GetAccessModes() []v1.PersistentVolumeAccessMode { return []v1.PersistentVolumeAccessMode{ v1.ReadWriteOnce, @@ -224,7 +229,7 @@ func (plugin *iscsiPlugin) ConstructVolumeSpec(volumeName, mountPath string) (*v // leave the global mount still mounted, while marking the volume as unused. // The volume can then be mounted on several nodes, resulting in volume // corruption. - paths, err := util.GetReliableMountRefs(mounter, mountPath) + paths, err := ioutil.GetReliableMountRefs(mounter, mountPath) if io.IsInconsistentReadError(err) { klog.Errorf("Failed to read mount refs from /proc/mounts for %s: %s", mountPath, err) klog.Errorf("Kubelet cannot unmount volume at %s, please unmount it and all mounts of the same device manually.", mountPath) @@ -333,13 +338,14 @@ func (iscsi *iscsiDisk) iscsiPodDeviceMapPath() (string, string) { type iscsiDiskMounter struct { *iscsiDisk - readOnly bool - fsType string - volumeMode v1.PersistentVolumeMode - mounter *mount.SafeFormatAndMount - exec utilexec.Interface - deviceUtil ioutil.DeviceUtil - mountOptions []string + readOnly bool + fsType string + volumeMode v1.PersistentVolumeMode + mounter *mount.SafeFormatAndMount + exec utilexec.Interface + deviceUtil ioutil.DeviceUtil + mountOptions []string + mountedWithSELinuxContext bool } var _ volume.Mounter = &iscsiDiskMounter{} @@ -348,7 +354,7 @@ func (b *iscsiDiskMounter) GetAttributes() volume.Attributes { return volume.Attributes{ ReadOnly: b.readOnly, Managed: !b.readOnly, - SELinuxRelabel: true, + SELinuxRelabel: !b.mountedWithSELinuxContext, } } @@ -362,6 +368,12 @@ func (b *iscsiDiskMounter) SetUpAt(dir string, mounterArgs volume.MounterArgs) e if err != nil { klog.Errorf("iscsi: failed to setup") } + + if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { + // The volume must have been mounted in MountDevice with -o context. + // TODO: extract from mount table in GetAttributes() to be sure? + b.mountedWithSELinuxContext = mounterArgs.SELinuxLabel != "" + } return err } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/iscsi/iscsi_util.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/iscsi/iscsi_util.go index e2f62f72061e..b51127aa92f9 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/iscsi/iscsi_util.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/iscsi/iscsi_util.go @@ -406,10 +406,16 @@ func (util *ISCSIUtil) AttachDisk(b iscsiDiskMounter) (string, error) { klog.Errorf("iscsi: could not find transport name in iface %s", b.Iface) return "", fmt.Errorf("could not parse iface file for %s", b.Iface) } + + addr := tp + if strings.HasPrefix(tp, "[") { + // Delete [] from IP address, links in /dev/disk/by-path do not have it. + addr = strings.NewReplacer("[", "", "]", "").Replace(tp) + } if iscsiTransport == "tcp" { - devicePath = strings.Join([]string{"/dev/disk/by-path/ip", tp, "iscsi", b.Iqn, "lun", b.Lun}, "-") + devicePath = strings.Join([]string{"/dev/disk/by-path/ip", addr, "iscsi", b.Iqn, "lun", b.Lun}, "-") } else { - devicePath = strings.Join([]string{"/dev/disk/by-path/pci", "*", "ip", tp, "iscsi", b.Iqn, "lun", b.Lun}, "-") + devicePath = strings.Join([]string{"/dev/disk/by-path/pci", "*", "ip", addr, "iscsi", b.Iqn, "lun", b.Lun}, "-") } if exist := waitForPathToExist(&devicePath, deviceDiscoveryTimeout, iscsiTransport); !exist { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/local/local.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/local/local.go index df9b7f560f9c..ab2af54c2e4e 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/local/local.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/local/local.go @@ -96,6 +96,10 @@ func (plugin *localVolumePlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *localVolumePlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *localVolumePlugin) GetAccessModes() []v1.PersistentVolumeAccessMode { // The current meaning of AccessMode is how many nodes can attach to it, not how many pods can mount it return []v1.PersistentVolumeAccessMode{ diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/nfs/nfs.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/nfs/nfs.go index 4a557e884bd5..f292be4a506d 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/nfs/nfs.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/nfs/nfs.go @@ -105,6 +105,10 @@ func (plugin *nfsPlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *nfsPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *nfsPlugin) GetAccessModes() []v1.PersistentVolumeAccessMode { return []v1.PersistentVolumeAccessMode{ v1.ReadWriteOnce, diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/noop_expandable_plugin.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/noop_expandable_plugin.go index fac27426301d..8e3872e37126 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/noop_expandable_plugin.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/noop_expandable_plugin.go @@ -75,3 +75,7 @@ func (n *noopExpandableVolumePluginInstance) SupportsBulkVolumeVerification() bo func (n *noopExpandableVolumePluginInstance) RequiresFSResize() bool { return true } + +func (n *noopExpandableVolumePluginInstance) SupportsSELinuxContextMount(spec *Spec) (bool, error) { + return false, nil +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/plugins.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/plugins.go index 6de244f3728b..23afc41539bf 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/plugins.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/plugins.go @@ -70,6 +70,7 @@ var ( "kubernetes.io/storageos": "The StorageOS volume provider is deprecated and will be removed in a future release", "kubernetes.io/quobyte": "The Quobyte volume provider is deprecated and will be removed in a future release", "kubernetes.io/flocker": "The Flocker volume provider is deprecated and will be removed in a future release", + "kubernetes.io/glusterfs": "The GlusterFS volume provider is deprecated and will be removed soon after in a subsequent release", } ) @@ -186,6 +187,10 @@ type VolumePlugin interface { // of enabling bulk polling of all nodes. This can speed up verification of // attached volumes by quite a bit, but underlying pluging must support it. SupportsBulkVolumeVerification() bool + + // SupportsSELinuxContextMount returns true if volume plugins supports + // mount -o context=XYZ for a given volume. + SupportsSELinuxContextMount(spec *Spec) (bool, error) } // PersistentVolumePlugin is an extended interface of VolumePlugin and is used @@ -339,6 +344,13 @@ type KubeletVolumeHost interface { WaitForCacheSync() error // Returns hostutil.HostUtils GetHostUtil() hostutil.HostUtils + // GetHostIDsForPod if the pod uses user namespaces, takes the uid and + // gid inside the container and returns the host UID and GID those are + // mapped to on the host. If containerUID/containerGID is nil, then it + // returns the host UID/GID for ID 0 inside the container. + // If the pod is not using user namespaces, as there is no mapping needed, the + // same containerUID and containerGID params are returned. + GetHostIDsForPod(pod *v1.Pod, containerUID, containerGID *int64) (hostUID, hostGID *int64, err error) } // AttachDetachVolumeHost is a AttachDetach Controller specific interface that plugins can use @@ -662,34 +674,33 @@ func (pm *VolumePluginMgr) FindPluginBySpec(spec *Spec) (VolumePlugin, error) { return nil, fmt.Errorf("could not find plugin because volume spec is nil") } - matches := []VolumePlugin{} + var match VolumePlugin + matchedPluginNames := []string{} for _, v := range pm.plugins { if v.CanSupport(spec) { - matches = append(matches, v) + match = v + matchedPluginNames = append(matchedPluginNames, v.GetPluginName()) } } pm.refreshProbedPlugins() for _, plugin := range pm.probedPlugins { if plugin.CanSupport(spec) { - matches = append(matches, plugin) + match = plugin + matchedPluginNames = append(matchedPluginNames, plugin.GetPluginName()) } } - if len(matches) == 0 { + if len(matchedPluginNames) == 0 { return nil, fmt.Errorf("no volume plugin matched") } - if len(matches) > 1 { - matchedPluginNames := []string{} - for _, plugin := range matches { - matchedPluginNames = append(matchedPluginNames, plugin.GetPluginName()) - } + if len(matchedPluginNames) > 1 { return nil, fmt.Errorf("multiple volume plugins matched: %s", strings.Join(matchedPluginNames, ",")) } // Issue warning if the matched provider is deprecated - pm.logDeprecation(matches[0].GetPluginName()) - return matches[0], nil + pm.logDeprecation(match.GetPluginName()) + return match, nil } // FindPluginByName fetches a plugin by name or by legacy name. If no plugin @@ -1044,11 +1055,11 @@ func (pm *VolumePluginMgr) Run(stopCh <-chan struct{}) { // plugin implementations. The following attributes can be overridden per // plugin via configuration: // -// 1. pod.Spec.Volumes[0].VolumeSource must be overridden. Recycler +// 1. pod.Spec.Volumes[0].VolumeSource must be overridden. Recycler // implementations without a valid VolumeSource will fail. -// 2. pod.GenerateName helps distinguish recycler pods by name. Recommended. +// 2. pod.GenerateName helps distinguish recycler pods by name. Recommended. // Default is "pv-recycler-". -// 3. pod.Spec.ActiveDeadlineSeconds gives the recycler pod a maximum timeout +// 3. pod.Spec.ActiveDeadlineSeconds gives the recycler pod a maximum timeout // before failing. Recommended. Default is 60 seconds. // // See HostPath and NFS for working recycler examples diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/portworx/portworx.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/portworx/portworx.go index b5429b9de61a..417929b780dc 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/portworx/portworx.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/portworx/portworx.go @@ -230,6 +230,10 @@ func (plugin *portworxVolumePlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *portworxVolumePlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func getVolumeSource( spec *volume.Spec) (*v1.PortworxVolumeSource, bool, error) { if spec.Volume != nil && spec.Volume.PortworxVolume != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/portworx/portworx_util.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/portworx/portworx_util.go index 58c62e7f1fee..8f014c1940e5 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/portworx/portworx_util.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/portworx/portworx_util.go @@ -282,9 +282,10 @@ func createDriverClient(hostname string, port int32) (*osdclient.Client, error) } // getPortworxDriver returns a Portworx volume driver which can be used for cluster wide operations. -// Operations like create and delete volume don't need to be restricted to local volume host since -// any node in the Portworx cluster can co-ordinate the create/delete request and forward the operations to -// the Portworx node that will own/owns the data. +// +// Operations like create and delete volume don't need to be restricted to local volume host since +// any node in the Portworx cluster can co-ordinate the create/delete request and forward the operations to +// the Portworx node that will own/owns the data. func (util *portworxVolumeUtil) getPortworxDriver(volumeHost volume.VolumeHost) (volumeapi.VolumeDriver, error) { // check if existing saved client is valid if isValid, _ := isClientValid(util.portworxClient); isValid { @@ -319,10 +320,11 @@ func (util *portworxVolumeUtil) getPortworxDriver(volumeHost volume.VolumeHost) } // getLocalPortworxDriver returns driver connected to Portworx API server on volume host. -// This is required to force certain operations (mount, unmount, detach, attach) to -// go to the volume host instead of the k8s service which might route it to any host. This pertains to how -// Portworx mounts and attaches a volume to the running container. The node getting these requests needs to -// see the pod container mounts (specifically /var/lib/kubelet/pods/) +// +// This is required to force certain operations (mount, unmount, detach, attach) to +// go to the volume host instead of the k8s service which might route it to any host. This pertains to how +// Portworx mounts and attaches a volume to the running container. The node getting these requests needs to +// see the pod container mounts (specifically /var/lib/kubelet/pods/) func (util *portworxVolumeUtil) getLocalPortworxDriver(volumeHost volume.VolumeHost) (volumeapi.VolumeDriver, error) { if util.portworxClient != nil { // check if existing saved client is valid diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/projected/projected.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/projected/projected.go index e30cb8022435..ecbe408098e6 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/projected/projected.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/projected/projected.go @@ -105,6 +105,10 @@ func (plugin *projectedPlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *projectedPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *projectedPlugin) NewMounter(spec *volume.Spec, pod *v1.Pod, opts volume.VolumeOptions) (volume.Mounter, error) { return &projectedVolumeMounter{ projectedVolume: &projectedVolume{ diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/quobyte/OWNERS b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/quobyte/OWNERS deleted file mode 100644 index 4e2f2d2a690f..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/quobyte/OWNERS +++ /dev/null @@ -1,11 +0,0 @@ -# See the OWNERS docs at https://go.k8s.io/owners - -approvers: - - saad-ali -reviewers: - - saad-ali - - jsafrane - - jingxu97 - - msau42 -emeritus_approvers: - - rootfs diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/quobyte/quobyte.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/quobyte/quobyte.go deleted file mode 100644 index 90d4f8cc32d1..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/quobyte/quobyte.go +++ /dev/null @@ -1,511 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package quobyte - -import ( - "errors" - "fmt" - "os" - "path/filepath" - gostrings "strings" - - "github.com/google/uuid" - "k8s.io/klog/v2" - "k8s.io/mount-utils" - utilstrings "k8s.io/utils/strings" - - v1 "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/api/resource" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/types" - proxyutil "k8s.io/kubernetes/pkg/proxy/util" - "k8s.io/kubernetes/pkg/volume" - "k8s.io/kubernetes/pkg/volume/util" -) - -// ProbeVolumePlugins is the primary entrypoint for volume plugins. -func ProbeVolumePlugins() []volume.VolumePlugin { - return []volume.VolumePlugin{&quobytePlugin{nil}} -} - -type quobytePlugin struct { - host volume.VolumeHost -} - -// This user is used to authenticate against the -// Quobyte API server and holds all information -type quobyteAPIConfig struct { - quobyteUser string - quobytePassword string `datapolicy:"password"` - quobyteAPIServer string -} - -var _ volume.VolumePlugin = &quobytePlugin{} -var _ volume.PersistentVolumePlugin = &quobytePlugin{} -var _ volume.DeletableVolumePlugin = &quobytePlugin{} -var _ volume.ProvisionableVolumePlugin = &quobytePlugin{} -var _ volume.Provisioner = &quobyteVolumeProvisioner{} -var _ volume.Deleter = &quobyteVolumeDeleter{} - -const ( - quobytePluginName = "kubernetes.io/quobyte" -) - -func (plugin *quobytePlugin) Init(host volume.VolumeHost) error { - if host == nil { - return errors.New("host must not be nil") - } - plugin.host = host - return nil -} - -func (plugin *quobytePlugin) GetPluginName() string { - return quobytePluginName -} - -func (plugin *quobytePlugin) GetVolumeName(spec *volume.Spec) (string, error) { - volumeSource, _, err := getVolumeSource(spec) - if err != nil { - return "", err - } - - return fmt.Sprintf( - "%v:%v", - volumeSource.Registry, - volumeSource.Volume), nil -} - -func (plugin *quobytePlugin) CanSupport(spec *volume.Spec) bool { - if (spec.PersistentVolume != nil && spec.PersistentVolume.Spec.Quobyte == nil) || - (spec.Volume != nil && spec.Volume.Quobyte == nil) { - return false - } - - // If Quobyte is already mounted we don't need to check if the binary is installed - if mounter, err := plugin.newMounterInternal(spec, nil, plugin.host.GetMounter(plugin.GetPluginName())); err == nil { - qm, _ := mounter.(*quobyteMounter) - pluginDir := plugin.host.GetPluginDir(utilstrings.EscapeQualifiedName(quobytePluginName)) - if mounted, err := qm.pluginDirIsMounted(pluginDir); mounted && err == nil { - klog.V(4).Infof("quobyte: can support") - return true - } - } else { - klog.V(4).Infof("quobyte: Error: %v", err) - } - - exec := plugin.host.GetExec(plugin.GetPluginName()) - if out, err := exec.Command("ls", "/sbin/mount.quobyte").CombinedOutput(); err == nil { - klog.V(4).Infof("quobyte: can support: %s", string(out)) - return true - } - - return false -} - -func (plugin *quobytePlugin) RequiresRemount(spec *volume.Spec) bool { - return false -} - -func (plugin *quobytePlugin) SupportsMountOption() bool { - return true -} - -func (plugin *quobytePlugin) SupportsBulkVolumeVerification() bool { - return false -} - -func (plugin *quobytePlugin) GetAccessModes() []v1.PersistentVolumeAccessMode { - return []v1.PersistentVolumeAccessMode{ - v1.ReadWriteOnce, - v1.ReadOnlyMany, - v1.ReadWriteMany, - } -} - -func getVolumeSource(spec *volume.Spec) (*v1.QuobyteVolumeSource, bool, error) { - if spec.Volume != nil && spec.Volume.Quobyte != nil { - return spec.Volume.Quobyte, spec.Volume.Quobyte.ReadOnly, nil - } else if spec.PersistentVolume != nil && - spec.PersistentVolume.Spec.Quobyte != nil { - return spec.PersistentVolume.Spec.Quobyte, spec.ReadOnly, nil - } - - return nil, false, fmt.Errorf("Spec does not reference a Quobyte volume type") -} - -func (plugin *quobytePlugin) ConstructVolumeSpec(volumeName, mountPath string) (*volume.Spec, error) { - quobyteVolume := &v1.Volume{ - Name: volumeName, - VolumeSource: v1.VolumeSource{ - Quobyte: &v1.QuobyteVolumeSource{ - Volume: volumeName, - }, - }, - } - return volume.NewSpecFromVolume(quobyteVolume), nil -} - -func (plugin *quobytePlugin) NewMounter(spec *volume.Spec, pod *v1.Pod, _ volume.VolumeOptions) (volume.Mounter, error) { - return plugin.newMounterInternal(spec, pod, plugin.host.GetMounter(plugin.GetPluginName())) -} - -func (plugin *quobytePlugin) newMounterInternal(spec *volume.Spec, pod *v1.Pod, mounter mount.Interface) (volume.Mounter, error) { - source, readOnly, err := getVolumeSource(spec) - if err != nil { - return nil, err - } - - return &quobyteMounter{ - quobyte: &quobyte{ - volName: spec.Name(), - user: source.User, - group: source.Group, - mounter: mounter, - pod: pod, - volume: source.Volume, - plugin: plugin, - }, - registry: source.Registry, - readOnly: readOnly, - mountOptions: util.MountOptionFromSpec(spec), - }, nil -} - -func (plugin *quobytePlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) { - return plugin.newUnmounterInternal(volName, podUID, plugin.host.GetMounter(plugin.GetPluginName())) -} - -func (plugin *quobytePlugin) newUnmounterInternal(volName string, podUID types.UID, mounter mount.Interface) (volume.Unmounter, error) { - return &quobyteUnmounter{ - &quobyte{ - volName: volName, - mounter: mounter, - pod: &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: podUID}}, - plugin: plugin, - }, - }, nil -} - -// Quobyte volumes represent a bare host directory mount of an quobyte export. -type quobyte struct { - volName string - pod *v1.Pod - user string - group string - volume string - tenant string - config string - mounter mount.Interface - plugin *quobytePlugin - volume.MetricsNil -} - -type quobyteMounter struct { - *quobyte - registry string - readOnly bool - mountOptions []string -} - -var _ volume.Mounter = &quobyteMounter{} - -func (mounter *quobyteMounter) GetAttributes() volume.Attributes { - return volume.Attributes{ - ReadOnly: mounter.readOnly, - Managed: false, - SELinuxRelabel: false, - } -} - -// SetUp attaches the disk and bind mounts to the volume path. -func (mounter *quobyteMounter) SetUp(mounterArgs volume.MounterArgs) error { - pluginDir := mounter.plugin.host.GetPluginDir(utilstrings.EscapeQualifiedName(quobytePluginName)) - return mounter.SetUpAt(pluginDir, mounterArgs) -} - -func (mounter *quobyteMounter) SetUpAt(dir string, mounterArgs volume.MounterArgs) error { - // Check if Quobyte is already mounted on the host in the Plugin Dir - // if so we can use this mountpoint instead of creating a new one - // IsLikelyNotMountPoint wouldn't check the mount type - if mounted, err := mounter.pluginDirIsMounted(dir); err != nil { - return err - } else if mounted { - return nil - } - - os.MkdirAll(dir, 0750) - var options []string - options = append(options, "allow-usermapping-in-volumename") - if mounter.readOnly { - options = append(options, "ro") - } - - //if a trailing slash is missing we add it here - mountOptions := util.JoinMountOptions(mounter.mountOptions, options) - if err := mounter.mounter.MountSensitiveWithoutSystemd(mounter.correctTraillingSlash(mounter.registry), dir, "quobyte", mountOptions, nil); err != nil { - return fmt.Errorf("quobyte: mount failed: %v", err) - } - - klog.V(4).Infof("quobyte: mount set up: %s", dir) - - return nil -} - -// GetPath returns the path to the user specific mount of a Quobyte volume -// Returns a path in the format ../user#group@volume -func (quobyteVolume *quobyte) GetPath() string { - user := quobyteVolume.user - if len(user) == 0 { - user = "root" - } - - group := quobyteVolume.group - if len(group) == 0 { - group = "nfsnobody" - } - - // Quobyte has only one mount in the PluginDir where all Volumes are mounted - // The Quobyte client does a fixed-user mapping - pluginDir := quobyteVolume.plugin.host.GetPluginDir(utilstrings.EscapeQualifiedName(quobytePluginName)) - return filepath.Join(pluginDir, fmt.Sprintf("%s#%s@%s", user, group, quobyteVolume.volume)) -} - -type quobyteUnmounter struct { - *quobyte -} - -var _ volume.Unmounter = &quobyteUnmounter{} - -func (unmounter *quobyteUnmounter) TearDown() error { - return unmounter.TearDownAt(unmounter.GetPath()) -} - -// We don't need to unmount on the host because only one mount exists -func (unmounter *quobyteUnmounter) TearDownAt(dir string) error { - return nil -} - -type quobyteVolumeDeleter struct { - *quobyteMounter - pv *v1.PersistentVolume - dialOptions *proxyutil.FilteredDialOptions -} - -func (plugin *quobytePlugin) NewDeleter(spec *volume.Spec) (volume.Deleter, error) { - if spec.PersistentVolume != nil && spec.PersistentVolume.Spec.Quobyte == nil { - return nil, fmt.Errorf("spec.PersistentVolume.Spec.Quobyte is nil") - } - - return plugin.newDeleterInternal(spec) -} - -func (plugin *quobytePlugin) newDeleterInternal(spec *volume.Spec) (volume.Deleter, error) { - source, readOnly, err := getVolumeSource(spec) - if err != nil { - return nil, err - } - if plugin.host == nil { - return nil, errors.New("host must not be nil") - } - - return &quobyteVolumeDeleter{ - quobyteMounter: &quobyteMounter{ - quobyte: &quobyte{ - volName: spec.Name(), - user: source.User, - group: source.Group, - volume: source.Volume, - plugin: plugin, - tenant: source.Tenant, - }, - registry: source.Registry, - readOnly: readOnly, - }, - pv: spec.PersistentVolume, - dialOptions: plugin.host.GetFilteredDialOptions(), - }, nil -} - -func (plugin *quobytePlugin) NewProvisioner(options volume.VolumeOptions) (volume.Provisioner, error) { - return plugin.newProvisionerInternal(options) -} - -func (plugin *quobytePlugin) newProvisionerInternal(options volume.VolumeOptions) (volume.Provisioner, error) { - if plugin.host == nil { - return nil, errors.New("host must not be nil") - } - return &quobyteVolumeProvisioner{ - quobyteMounter: &quobyteMounter{ - quobyte: &quobyte{ - plugin: plugin, - }, - }, - options: options, - dialOptions: plugin.host.GetFilteredDialOptions(), - }, nil -} - -type quobyteVolumeProvisioner struct { - *quobyteMounter - options volume.VolumeOptions - dialOptions *proxyutil.FilteredDialOptions -} - -func (provisioner *quobyteVolumeProvisioner) Provision(selectedNode *v1.Node, allowedTopologies []v1.TopologySelectorTerm) (*v1.PersistentVolume, error) { - if !util.ContainsAllAccessModes(provisioner.plugin.GetAccessModes(), provisioner.options.PVC.Spec.AccessModes) { - return nil, fmt.Errorf("invalid AccessModes %v: only AccessModes %v are supported", provisioner.options.PVC.Spec.AccessModes, provisioner.plugin.GetAccessModes()) - } - - if util.CheckPersistentVolumeClaimModeBlock(provisioner.options.PVC) { - return nil, fmt.Errorf("%s does not support block volume provisioning", provisioner.plugin.GetPluginName()) - } - - if provisioner.options.PVC.Spec.Selector != nil { - return nil, fmt.Errorf("claim Selector is not supported") - } - provisioner.config = "BASE" - provisioner.tenant = "DEFAULT" - createQuota := false - - cfg, err := parseAPIConfig(provisioner.plugin, provisioner.options.Parameters) - if err != nil { - return nil, err - } - for k, v := range provisioner.options.Parameters { - switch gostrings.ToLower(k) { - case "registry": - provisioner.registry = v - case "user": - provisioner.user = v - case "group": - provisioner.group = v - case "quobytetenant": - provisioner.tenant = v - case "quobyteconfig": - provisioner.config = v - case "createquota": - createQuota = gostrings.ToLower(v) == "true" - case "adminsecretname", - "adminsecretnamespace", - "quobyteapiserver": - continue - default: - return nil, fmt.Errorf("invalid option %q for volume plugin %s", k, provisioner.plugin.GetPluginName()) - } - } - - if !validateRegistry(provisioner.registry) { - return nil, fmt.Errorf("quobyte registry missing or malformed: must be a host:port pair or multiple pairs separated by commas") - } - - // create random image name - provisioner.volume = fmt.Sprintf("kubernetes-dynamic-pvc-%s", uuid.New().String()) - - manager := &quobyteVolumeManager{ - config: cfg, - dialOptions: provisioner.dialOptions, - } - - vol, sizeGB, err := manager.createVolume(provisioner, createQuota) - if err != nil { - // don't log error details from client calls in events - klog.V(4).Infof("CreateVolume failed: %v", err) - return nil, errors.New("CreateVolume failed: see kube-controller-manager.log for details") - } - pv := new(v1.PersistentVolume) - metav1.SetMetaDataAnnotation(&pv.ObjectMeta, util.VolumeDynamicallyCreatedByKey, "quobyte-dynamic-provisioner") - pv.Spec.PersistentVolumeSource.Quobyte = vol - pv.Spec.PersistentVolumeReclaimPolicy = provisioner.options.PersistentVolumeReclaimPolicy - pv.Spec.AccessModes = provisioner.options.PVC.Spec.AccessModes - if len(pv.Spec.AccessModes) == 0 { - pv.Spec.AccessModes = provisioner.plugin.GetAccessModes() - } - pv.Spec.Capacity = v1.ResourceList{ - v1.ResourceName(v1.ResourceStorage): resource.MustParse(fmt.Sprintf("%dGi", sizeGB)), - } - pv.Spec.MountOptions = provisioner.options.MountOptions - pv.Spec.PersistentVolumeSource.Quobyte.Tenant = provisioner.tenant - return pv, nil -} - -func (deleter *quobyteVolumeDeleter) GetPath() string { - return deleter.quobyte.GetPath() -} - -func (deleter *quobyteVolumeDeleter) Delete() error { - class, err := util.GetClassForVolume(deleter.plugin.host.GetKubeClient(), deleter.pv) - if err != nil { - return err - } - - cfg, err := parseAPIConfig(deleter.plugin, class.Parameters) - if err != nil { - return err - } - manager := &quobyteVolumeManager{ - config: cfg, - dialOptions: deleter.dialOptions, - } - err = manager.deleteVolume(deleter) - if err != nil { - // don't log error details from client calls in events - klog.V(4).Infof("DeleteVolume failed: %v", err) - return errors.New("DeleteVolume failed: see kube-controller-manager.log for details") - } - return nil -} - -// Parse API configuration (url, username and password) out of class.Parameters. -func parseAPIConfig(plugin *quobytePlugin, params map[string]string) (*quobyteAPIConfig, error) { - var apiServer, secretName string - secretNamespace := "default" - - for k, v := range params { - switch gostrings.ToLower(k) { - case "adminsecretname": - secretName = v - case "adminsecretnamespace": - secretNamespace = v - case "quobyteapiserver": - apiServer = v - } - } - - if len(apiServer) == 0 { - return nil, fmt.Errorf("quobyte API server missing or malformed: must be a http(s)://host:port pair or multiple pairs separated by commas") - } - - secretMap, err := util.GetSecretForPV(secretNamespace, secretName, quobytePluginName, plugin.host.GetKubeClient()) - if err != nil { - return nil, err - } - - cfg := &quobyteAPIConfig{ - quobyteAPIServer: apiServer, - } - - var ok bool - if cfg.quobyteUser, ok = secretMap["user"]; !ok { - return nil, fmt.Errorf("missing \"user\" in secret %s/%s", secretNamespace, secretName) - } - - if cfg.quobytePassword, ok = secretMap["password"]; !ok { - return nil, fmt.Errorf("missing \"password\" in secret %s/%s", secretNamespace, secretName) - } - - return cfg, nil -} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/quobyte/quobyte_util.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/quobyte/quobyte_util.go deleted file mode 100644 index a5857a8243a0..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/quobyte/quobyte_util.go +++ /dev/null @@ -1,132 +0,0 @@ -/* -Copyright 2016 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package quobyte - -import ( - "net" - "net/http" - "os" - "path/filepath" - "strings" - - v1 "k8s.io/api/core/v1" - volumehelpers "k8s.io/cloud-provider/volume/helpers" - proxyutil "k8s.io/kubernetes/pkg/proxy/util" - - quobyteapi "github.com/quobyte/api" - "k8s.io/klog/v2" -) - -type quobyteVolumeManager struct { - config *quobyteAPIConfig - dialOptions *proxyutil.FilteredDialOptions -} - -func (manager *quobyteVolumeManager) createVolume(provisioner *quobyteVolumeProvisioner, createQuota bool) (quobyte *v1.QuobyteVolumeSource, size int, err error) { - capacity := provisioner.options.PVC.Spec.Resources.Requests[v1.ResourceName(v1.ResourceStorage)] - volumeSize, err := volumehelpers.RoundUpToGiBInt(capacity) - if err != nil { - return nil, 0, err - } - // Quobyte has the concept of Volumes which doesn't have a specific size (they can grow unlimited) - // to simulate a size constraint we set here a Quota for logical space - volumeRequest := &quobyteapi.CreateVolumeRequest{ - Name: provisioner.volume, - RootUserID: provisioner.user, - RootGroupID: provisioner.group, - TenantID: provisioner.tenant, - ConfigurationName: provisioner.config, - } - - quobyteClient := manager.createQuobyteClient() - volumeUUID, err := quobyteClient.CreateVolume(volumeRequest) - if err != nil { - return &v1.QuobyteVolumeSource{}, volumeSize, err - } - - // Set Quota for Volume with specified byte size - if createQuota { - err = quobyteClient.SetVolumeQuota(volumeUUID, uint64(capacity.Value())) - if err != nil { - return &v1.QuobyteVolumeSource{}, volumeSize, err - } - } - - klog.V(4).Infof("Created Quobyte volume %s", provisioner.volume) - return &v1.QuobyteVolumeSource{ - Registry: provisioner.registry, - Volume: provisioner.volume, - User: provisioner.user, - Group: provisioner.group, - }, volumeSize, nil -} - -func (manager *quobyteVolumeManager) deleteVolume(deleter *quobyteVolumeDeleter) error { - return manager.createQuobyteClient().DeleteVolumeByName(deleter.volume, deleter.tenant) -} - -func (manager *quobyteVolumeManager) createQuobyteClient() *quobyteapi.QuobyteClient { - client := quobyteapi.NewQuobyteClient( - manager.config.quobyteAPIServer, - manager.config.quobyteUser, - manager.config.quobytePassword, - ) - // quobyte client library @v0.1.7 uses a zero-value http.Client with a nil - // transport which is equivalent to using http.DefaultTransport. - rt := http.DefaultTransport.(*http.Transport).Clone() - rt.DialContext = proxyutil.NewFilteredDialContext(rt.DialContext, nil, manager.dialOptions) - client.SetTransport(rt) - return client -} - -func (mounter *quobyteMounter) pluginDirIsMounted(pluginDir string) (bool, error) { - mounts, err := mounter.mounter.List() - if err != nil { - return false, err - } - - for _, mountPoint := range mounts { - if strings.HasPrefix(mountPoint.Type, "quobyte") { - continue - } - - if mountPoint.Path == pluginDir { - klog.V(4).Infof("quobyte: found mountpoint %s in /proc/mounts", mountPoint.Path) - return true, nil - } - } - - return false, nil -} - -func (mounter *quobyteMounter) correctTraillingSlash(regStr string) string { - return filepath.Clean(regStr) + string(os.PathSeparator) -} - -func validateRegistry(registry string) bool { - if len(registry) == 0 { - return false - } - - for _, hostPortPair := range strings.Split(registry, ",") { - if _, _, err := net.SplitHostPort(hostPortPair); err != nil { - return false - } - } - - return true -} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/rbd/attacher.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/rbd/attacher.go index 9766a2895c49..c931b14da67b 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/rbd/attacher.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/rbd/attacher.go @@ -199,11 +199,12 @@ var _ volume.DeviceUnmounter = &rbdDetacher{} // mount of the RBD image. This is called once all bind mounts have been // unmounted. // Internally, it does four things: -// - Unmount device from deviceMountPath. -// - Detach device from the node. -// - Remove lock if found. (No need to check volume readonly or not, because -// device is not on the node anymore, it's safe to remove lock.) -// - Remove the deviceMountPath at last. +// - Unmount device from deviceMountPath. +// - Detach device from the node. +// - Remove lock if found. (No need to check volume readonly or not, because +// device is not on the node anymore, it's safe to remove lock.) +// - Remove the deviceMountPath at last. +// // This method is idempotent, callers are responsible for retrying on failure. func (detacher *rbdDetacher) UnmountDevice(deviceMountPath string) error { if pathExists, pathErr := mount.PathExists(deviceMountPath); pathErr != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/rbd/rbd.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/rbd/rbd.go index dcfb08804420..adb4e61376cb 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/rbd/rbd.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/rbd/rbd.go @@ -44,6 +44,7 @@ import ( var ( supportedFeatures = sets.NewString("layering") + pathSeparator = string(os.PathSeparator) ) // ProbeVolumePlugins is the primary entrypoint for volume plugins. @@ -124,6 +125,10 @@ func (plugin *rbdPlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *rbdPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *rbdPlugin) GetAccessModes() []v1.PersistentVolumeAccessMode { return []v1.PersistentVolumeAccessMode{ v1.ReadWriteOnce, @@ -846,6 +851,7 @@ func (b *rbdMounter) SetUpAt(dir string, mounterArgs volume.MounterArgs) error { err := diskSetUp(b.manager, *b, dir, b.mounter, mounterArgs.FsGroup, mounterArgs.FSGroupChangePolicy) if err != nil { klog.Errorf("rbd: failed to setup at %s %v", dir, err) + return err } klog.V(3).Infof("rbd: successfully setup at %s", dir) return err @@ -948,7 +954,7 @@ type rbdDiskUnmapper struct { func getPoolAndImageFromMapPath(mapPath string) (string, string, error) { - pathParts := dstrings.Split(mapPath, "/") + pathParts := dstrings.Split(mapPath, pathSeparator) if len(pathParts) < 2 { return "", "", fmt.Errorf("corrupted mapPath") } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/secret/secret.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/secret/secret.go index 0899f512667c..a8a2d633b5cc 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/secret/secret.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/secret/secret.go @@ -93,6 +93,10 @@ func (plugin *secretPlugin) SupportsBulkVolumeVerification() bool { return false } +func (plugin *secretPlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *secretPlugin) NewMounter(spec *volume.Spec, pod *v1.Pod, opts volume.VolumeOptions) (volume.Mounter, error) { return &secretVolumeMounter{ secretVolume: &secretVolume{ diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/storageos/storageos.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/storageos/storageos.go deleted file mode 100644 index d3d938d3b290..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/storageos/storageos.go +++ /dev/null @@ -1,762 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package storageos - -import ( - "fmt" - "io/ioutil" - "os" - "path/filepath" - "strings" - - "k8s.io/klog/v2" - "k8s.io/mount-utils" - utilexec "k8s.io/utils/exec" - utilstrings "k8s.io/utils/strings" - - v1 "k8s.io/api/core/v1" - "k8s.io/apimachinery/pkg/api/resource" - metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/types" - clientset "k8s.io/client-go/kubernetes" - volumehelpers "k8s.io/cloud-provider/volume/helpers" - "k8s.io/kubernetes/pkg/volume" - "k8s.io/kubernetes/pkg/volume/util" -) - -// ProbeVolumePlugins is the primary entrypoint for volume plugins. -func ProbeVolumePlugins() []volume.VolumePlugin { - return []volume.VolumePlugin{&storageosPlugin{nil}} -} - -type storageosPlugin struct { - host volume.VolumeHost -} - -var _ volume.VolumePlugin = &storageosPlugin{} -var _ volume.PersistentVolumePlugin = &storageosPlugin{} -var _ volume.DeletableVolumePlugin = &storageosPlugin{} -var _ volume.ProvisionableVolumePlugin = &storageosPlugin{} - -const ( - storageosPluginName = "kubernetes.io/storageos" - defaultDeviceDir = "/var/lib/storageos/volumes" - defaultAPIAddress = "tcp://localhost:5705" - defaultAPIUser = "storageos" - defaultAPIPassword = "storageos" - defaultAPIVersion = "1" - defaultFSType = "ext4" - defaultNamespace = "default" -) - -func getPath(uid types.UID, volNamespace string, volName string, pvName string, host volume.VolumeHost) string { - if len(volNamespace) != 0 && len(volName) != 0 && strings.Count(volName, ".") == 0 { - return host.GetPodVolumeDir(uid, utilstrings.EscapeQualifiedName(storageosPluginName), pvName+"."+volNamespace+"."+volName) - } - return host.GetPodVolumeDir(uid, utilstrings.EscapeQualifiedName(storageosPluginName), pvName) -} - -func (plugin *storageosPlugin) Init(host volume.VolumeHost) error { - plugin.host = host - return nil -} - -func (plugin *storageosPlugin) GetPluginName() string { - return storageosPluginName -} - -func (plugin *storageosPlugin) GetVolumeName(spec *volume.Spec) (string, error) { - volumeSource, _, err := getVolumeSource(spec) - if err != nil { - return "", err - } - return fmt.Sprintf("%s/%s", volumeSource.VolumeNamespace, volumeSource.VolumeName), nil -} - -func (plugin *storageosPlugin) CanSupport(spec *volume.Spec) bool { - return (spec.PersistentVolume != nil && spec.PersistentVolume.Spec.StorageOS != nil) || - (spec.Volume != nil && spec.Volume.StorageOS != nil) -} - -func (plugin *storageosPlugin) RequiresRemount(spec *volume.Spec) bool { - return false -} - -func (plugin *storageosPlugin) GetAccessModes() []v1.PersistentVolumeAccessMode { - return []v1.PersistentVolumeAccessMode{ - v1.ReadWriteOnce, - v1.ReadOnlyMany, - } -} - -func (plugin *storageosPlugin) NewMounter(spec *volume.Spec, pod *v1.Pod, _ volume.VolumeOptions) (volume.Mounter, error) { - - apiCfg, err := getAPICfg(spec, pod, plugin.host.GetKubeClient()) - if err != nil { - return nil, err - } - - return plugin.newMounterInternal(spec, pod, apiCfg, &storageosUtil{host: plugin.host}, plugin.host.GetMounter(plugin.GetPluginName()), plugin.host.GetExec(plugin.GetPluginName())) -} - -func (plugin *storageosPlugin) newMounterInternal(spec *volume.Spec, pod *v1.Pod, apiCfg *storageosAPIConfig, manager storageosManager, mounter mount.Interface, exec utilexec.Interface) (volume.Mounter, error) { - - volName, volNamespace, fsType, readOnly, err := getVolumeInfoFromSpec(spec) - if err != nil { - return nil, err - } - - return &storageosMounter{ - storageos: &storageos{ - podUID: pod.UID, - podNamespace: pod.GetNamespace(), - pvName: spec.Name(), - volName: volName, - volNamespace: volNamespace, - fsType: fsType, - readOnly: readOnly, - apiCfg: apiCfg, - manager: manager, - mounter: mounter, - exec: exec, - plugin: plugin, - MetricsProvider: volume.NewMetricsStatFS(getPath(pod.UID, volNamespace, volName, spec.Name(), plugin.host)), - }, - diskMounter: &mount.SafeFormatAndMount{Interface: mounter, Exec: exec}, - mountOptions: util.MountOptionFromSpec(spec), - }, nil -} - -func (plugin *storageosPlugin) NewUnmounter(pvName string, podUID types.UID) (volume.Unmounter, error) { - return plugin.newUnmounterInternal(pvName, podUID, &storageosUtil{host: plugin.host}, plugin.host.GetMounter(plugin.GetPluginName()), plugin.host.GetExec(plugin.GetPluginName())) -} - -func (plugin *storageosPlugin) newUnmounterInternal(pvName string, podUID types.UID, manager storageosManager, mounter mount.Interface, exec utilexec.Interface) (volume.Unmounter, error) { - - // Parse volume namespace & name from mountpoint if mounted - volNamespace, volName, err := getVolumeInfo(pvName, podUID, plugin.host) - if err != nil { - return nil, err - } - - return &storageosUnmounter{ - storageos: &storageos{ - podUID: podUID, - pvName: pvName, - volName: volName, - volNamespace: volNamespace, - manager: manager, - mounter: mounter, - exec: exec, - plugin: plugin, - MetricsProvider: volume.NewMetricsStatFS(getPath(podUID, volNamespace, volName, pvName, plugin.host)), - }, - }, nil -} - -func (plugin *storageosPlugin) NewDeleter(spec *volume.Spec) (volume.Deleter, error) { - if spec.PersistentVolume != nil && spec.PersistentVolume.Spec.StorageOS == nil { - return nil, fmt.Errorf("spec.PersistentVolumeSource.StorageOS is nil") - } - - class, err := util.GetClassForVolume(plugin.host.GetKubeClient(), spec.PersistentVolume) - if err != nil { - return nil, err - } - - var adminSecretName, adminSecretNamespace string - - for k, v := range class.Parameters { - switch strings.ToLower(k) { - case "adminsecretname": - adminSecretName = v - case "adminsecretnamespace": - adminSecretNamespace = v - } - } - - apiCfg, err := parsePVSecret(adminSecretNamespace, adminSecretName, plugin.host.GetKubeClient()) - if err != nil { - return nil, fmt.Errorf("failed to get admin secret from [%q/%q]: %v", adminSecretNamespace, adminSecretName, err) - } - - return plugin.newDeleterInternal(spec, apiCfg, &storageosUtil{host: plugin.host}) -} - -func (plugin *storageosPlugin) newDeleterInternal(spec *volume.Spec, apiCfg *storageosAPIConfig, manager storageosManager) (volume.Deleter, error) { - - return &storageosDeleter{ - storageosMounter: &storageosMounter{ - storageos: &storageos{ - pvName: spec.Name(), - volName: spec.PersistentVolume.Spec.StorageOS.VolumeName, - volNamespace: spec.PersistentVolume.Spec.StorageOS.VolumeNamespace, - apiCfg: apiCfg, - manager: manager, - plugin: plugin, - }, - }, - pvUID: spec.PersistentVolume.UID, - }, nil -} - -func (plugin *storageosPlugin) NewProvisioner(options volume.VolumeOptions) (volume.Provisioner, error) { - return plugin.newProvisionerInternal(options, &storageosUtil{host: plugin.host}) -} - -func (plugin *storageosPlugin) newProvisionerInternal(options volume.VolumeOptions, manager storageosManager) (volume.Provisioner, error) { - return &storageosProvisioner{ - storageosMounter: &storageosMounter{ - storageos: &storageos{ - manager: manager, - plugin: plugin, - }, - }, - options: options, - }, nil -} - -func (plugin *storageosPlugin) ConstructVolumeSpec(volumeName, mountPath string) (*volume.Spec, error) { - volNamespace, volName, err := getVolumeFromRef(volumeName) - if err != nil { - volNamespace = defaultNamespace - volName = volumeName - } - storageosVolume := &v1.Volume{ - Name: volumeName, - VolumeSource: v1.VolumeSource{ - StorageOS: &v1.StorageOSVolumeSource{ - VolumeName: volName, - VolumeNamespace: volNamespace, - }, - }, - } - return volume.NewSpecFromVolume(storageosVolume), nil -} - -func (plugin *storageosPlugin) SupportsMountOption() bool { - return true -} - -func (plugin *storageosPlugin) SupportsBulkVolumeVerification() bool { - return false -} - -func getVolumeSource(spec *volume.Spec) (*v1.StorageOSVolumeSource, bool, error) { - if spec.Volume != nil && spec.Volume.StorageOS != nil { - return spec.Volume.StorageOS, spec.Volume.StorageOS.ReadOnly, nil - } - return nil, false, fmt.Errorf("Spec does not reference a StorageOS volume type") -} - -func getPersistentVolumeSource(spec *volume.Spec) (*v1.StorageOSPersistentVolumeSource, bool, error) { - if spec.PersistentVolume != nil && spec.PersistentVolume.Spec.StorageOS != nil { - return spec.PersistentVolume.Spec.StorageOS, spec.ReadOnly, nil - } - return nil, false, fmt.Errorf("Spec does not reference a StorageOS persistent volume type") -} - -// storageosManager is the abstract interface to StorageOS volume ops. -type storageosManager interface { - // Connects to the StorageOS API using the supplied configuration. - NewAPI(apiCfg *storageosAPIConfig) error - // Creates a StorageOS volume. - CreateVolume(provisioner *storageosProvisioner) (*storageosVolume, error) - // Attaches the disk to the kubelet's host machine. - AttachVolume(mounter *storageosMounter) (string, error) - // Attaches the device to the host at a mount path. - AttachDevice(mounter *storageosMounter, deviceMountPath string) error - // Detaches the disk from the kubelet's host machine. - DetachVolume(unmounter *storageosUnmounter, dir string) error - // Mounts the disk on the Kubelet's host machine. - MountVolume(mounter *storageosMounter, mnt, dir string) error - // Unmounts the disk from the Kubelet's host machine. - UnmountVolume(unounter *storageosUnmounter) error - // Deletes the storageos volume. All data will be lost. - DeleteVolume(deleter *storageosDeleter) error - // Gets the node's device path. - DeviceDir(mounter *storageosMounter) string -} - -// storageos volumes represent a bare host directory mount of an StorageOS export. -type storageos struct { - podUID types.UID - podNamespace string - pvName string - volName string - volNamespace string - readOnly bool - description string - pool string - fsType string - sizeGB int - labels map[string]string - apiCfg *storageosAPIConfig - manager storageosManager - mounter mount.Interface - exec utilexec.Interface - plugin *storageosPlugin - volume.MetricsProvider -} - -type storageosMounter struct { - *storageos - - // The directory containing the StorageOS devices - deviceDir string - - // Interface used to mount the file or block device - diskMounter *mount.SafeFormatAndMount - mountOptions []string -} - -var _ volume.Mounter = &storageosMounter{} - -func (b *storageosMounter) GetAttributes() volume.Attributes { - return volume.Attributes{ - ReadOnly: b.readOnly, - Managed: !b.readOnly, - SELinuxRelabel: true, - } -} - -// SetUp attaches the disk and bind mounts to the volume path. -func (b *storageosMounter) SetUp(mounterArgs volume.MounterArgs) error { - // Need a namespace to find the volume, try pod's namespace if not set. - if b.volNamespace == "" { - klog.V(2).Infof("Setting StorageOS volume namespace to pod namespace: %s", b.podNamespace) - b.volNamespace = b.podNamespace - } - - targetPath := makeGlobalPDName(b.plugin.host, b.pvName, b.volNamespace, b.volName) - - // Attach the device to the host. - if err := b.manager.AttachDevice(b, targetPath); err != nil { - klog.Errorf("Failed to attach device at %s: %s", targetPath, err.Error()) - return err - } - - // Attach the StorageOS volume as a block device - devicePath, err := b.manager.AttachVolume(b) - if err != nil { - klog.Errorf("Failed to attach StorageOS volume %s: %s", b.volName, err.Error()) - return err - } - - // Mount the loop device into the plugin's disk global mount dir. - err = b.manager.MountVolume(b, devicePath, targetPath) - if err != nil { - return err - } - klog.V(4).Infof("Successfully mounted StorageOS volume %s into global mount directory", b.volName) - - // Bind mount the volume into the pod - return b.SetUpAt(b.GetPath(), mounterArgs) -} - -// SetUp bind mounts the disk global mount to the give volume path. -func (b *storageosMounter) SetUpAt(dir string, mounterArgs volume.MounterArgs) error { - notMnt, err := b.mounter.IsLikelyNotMountPoint(dir) - klog.V(4).Infof("StorageOS volume set up: %s %v %v", dir, !notMnt, err) - if err != nil && !os.IsNotExist(err) { - klog.Errorf("Cannot validate mount point: %s %v", dir, err) - return err - } - if !notMnt { - return nil - } - - if err = os.MkdirAll(dir, 0750); err != nil { - klog.Errorf("mkdir failed on disk %s (%v)", dir, err) - return err - } - - // Perform a bind mount to the full path to allow duplicate mounts of the same PD. - options := []string{"bind"} - if b.readOnly { - options = append(options, "ro") - } - mountOptions := util.JoinMountOptions(b.mountOptions, options) - - globalPDPath := makeGlobalPDName(b.plugin.host, b.pvName, b.volNamespace, b.volName) - klog.V(4).Infof("Attempting to bind mount to pod volume at %s", dir) - - err = b.mounter.MountSensitiveWithoutSystemd(globalPDPath, dir, "", mountOptions, nil) - if err != nil { - notMnt, mntErr := b.mounter.IsLikelyNotMountPoint(dir) - if mntErr != nil { - klog.Errorf("IsLikelyNotMountPoint check failed: %v", mntErr) - return err - } - if !notMnt { - if mntErr = b.mounter.Unmount(dir); mntErr != nil { - klog.Errorf("Failed to unmount: %v", mntErr) - return err - } - notMnt, mntErr := b.mounter.IsLikelyNotMountPoint(dir) - if mntErr != nil { - klog.Errorf("IsLikelyNotMountPoint check failed: %v", mntErr) - return err - } - if !notMnt { - klog.Errorf("%s is still mounted, despite call to unmount(). Will try again next sync loop.", dir) - return err - } - } - os.Remove(dir) - klog.Errorf("Mount of disk %s failed: %v", dir, err) - return err - } - - if !b.readOnly { - volume.SetVolumeOwnership(b, mounterArgs.FsGroup, mounterArgs.FSGroupChangePolicy, util.FSGroupCompleteHook(b.plugin, nil)) - } - klog.V(4).Infof("StorageOS volume setup complete on %s", dir) - return nil -} - -func makeGlobalPDName(host volume.VolumeHost, pvName, volNamespace, volName string) string { - return filepath.Join(host.GetPluginDir(utilstrings.EscapeQualifiedName(storageosPluginName)), util.MountsInGlobalPDPath, pvName+"."+volNamespace+"."+volName) -} - -// Given the pod id and PV name, finds the volume's namespace and name from the -// name or volume mount. We mount as volNamespace.pvName, but k8s will specify -// only the pvName to unmount. -// Will return empty volNamespace/pvName if the volume is not mounted. -func getVolumeInfo(pvName string, podUID types.UID, host volume.VolumeHost) (string, string, error) { - if volNamespace, volName, err := getVolumeFromRef(pvName); err == nil { - return volNamespace, volName, nil - } - - volumeDir := filepath.Dir(host.GetPodVolumeDir(podUID, utilstrings.EscapeQualifiedName(storageosPluginName), pvName)) - files, err := ioutil.ReadDir(volumeDir) - if err != nil { - return "", "", fmt.Errorf("could not read mounts from pod volume dir: %s", err) - } - for _, f := range files { - if f.Mode().IsDir() && strings.HasPrefix(f.Name(), pvName+".") { - if volNamespace, volName, err := getVolumeFromRef(f.Name()); err == nil { - return volNamespace, volName, nil - } - } - } - return "", "", fmt.Errorf("could not get info from unmounted pv %q at %q", pvName, volumeDir) -} - -// Splits the volume ref on "." to return the volNamespace and pvName. Neither -// namespaces nor service names allow "." in their names. -func getVolumeFromRef(ref string) (volNamespace string, volName string, err error) { - refParts := strings.Split(ref, ".") - switch len(refParts) { - case 2: - return refParts[0], refParts[1], nil - case 3: - return refParts[1], refParts[2], nil - } - return "", "", fmt.Errorf("ref not in format volNamespace.volName or pvName.volNamespace.volName") -} - -// GetPath returns the path to the user specific mount of a StorageOS volume -func (storageosVolume *storageos) GetPath() string { - return getPath(storageosVolume.podUID, storageosVolume.volNamespace, storageosVolume.volName, storageosVolume.pvName, storageosVolume.plugin.host) -} - -type storageosUnmounter struct { - *storageos -} - -var _ volume.Unmounter = &storageosUnmounter{} - -func (b *storageosUnmounter) GetPath() string { - return getPath(b.podUID, b.volNamespace, b.volName, b.pvName, b.plugin.host) -} - -// Unmounts the bind mount, and detaches the disk only if the PD -// resource was the last reference to that disk on the kubelet. -func (b *storageosUnmounter) TearDown() error { - if len(b.volNamespace) == 0 || len(b.volName) == 0 { - klog.Warningf("volNamespace: %q, volName: %q not set, skipping TearDown", b.volNamespace, b.volName) - return fmt.Errorf("pvName not specified for TearDown, waiting for next sync loop") - } - // Unmount from pod - mountPath := b.GetPath() - - err := b.TearDownAt(mountPath) - if err != nil { - klog.Errorf("Unmount from pod failed: %v", err) - return err - } - - // Find device name from global mount - globalPDPath := makeGlobalPDName(b.plugin.host, b.pvName, b.volNamespace, b.volName) - devicePath, _, err := mount.GetDeviceNameFromMount(b.mounter, globalPDPath) - if err != nil { - klog.Errorf("Detach failed when getting device from global mount: %v", err) - return err - } - - // Unmount from plugin's disk global mount dir. - err = b.TearDownAt(globalPDPath) - if err != nil { - klog.Errorf("Detach failed during unmount: %v", err) - return err - } - - // Detach loop device - err = b.manager.DetachVolume(b, devicePath) - if err != nil { - klog.Errorf("Detach device %s failed for volume %s: %v", devicePath, b.pvName, err) - return err - } - - klog.V(4).Infof("Successfully unmounted StorageOS volume %s and detached devices", b.pvName) - - return nil -} - -// Unmounts the bind mount, and detaches the disk only if the PD -// resource was the last reference to that disk on the kubelet. -func (b *storageosUnmounter) TearDownAt(dir string) error { - if err := mount.CleanupMountPoint(dir, b.mounter, false); err != nil { - klog.V(4).Infof("Unmounted StorageOS volume %s failed with: %v", b.pvName, err) - } - if err := b.manager.UnmountVolume(b); err != nil { - klog.V(4).Infof("Mount reference for volume %s could not be removed from StorageOS: %v", b.pvName, err) - } - return nil -} - -type storageosDeleter struct { - *storageosMounter - pvUID types.UID -} - -var _ volume.Deleter = &storageosDeleter{} - -func (d *storageosDeleter) GetPath() string { - return getPath(d.podUID, d.volNamespace, d.volName, d.pvName, d.plugin.host) -} - -func (d *storageosDeleter) Delete() error { - return d.manager.DeleteVolume(d) -} - -type storageosProvisioner struct { - *storageosMounter - options volume.VolumeOptions -} - -var _ volume.Provisioner = &storageosProvisioner{} - -func (c *storageosProvisioner) Provision(selectedNode *v1.Node, allowedTopologies []v1.TopologySelectorTerm) (*v1.PersistentVolume, error) { - if !util.ContainsAllAccessModes(c.plugin.GetAccessModes(), c.options.PVC.Spec.AccessModes) { - return nil, fmt.Errorf("invalid AccessModes %v: only AccessModes %v are supported", c.options.PVC.Spec.AccessModes, c.plugin.GetAccessModes()) - } - if util.CheckPersistentVolumeClaimModeBlock(c.options.PVC) { - return nil, fmt.Errorf("%s does not support block volume provisioning", c.plugin.GetPluginName()) - } - - var adminSecretName, adminSecretNamespace string - - // Apply ProvisionerParameters (case-insensitive). We leave validation of - // the values to the cloud provider. - for k, v := range c.options.Parameters { - switch strings.ToLower(k) { - case "adminsecretname": - adminSecretName = v - case "adminsecretnamespace": - adminSecretNamespace = v - case "volumenamespace": - c.volNamespace = v - case "description": - c.description = v - case "pool": - c.pool = v - case "fstype": - c.fsType = v - default: - return nil, fmt.Errorf("invalid option %q for volume plugin %s", k, c.plugin.GetPluginName()) - } - } - - // Set from PVC - c.podNamespace = c.options.PVC.Namespace - c.volName = c.options.PVName - if c.volNamespace == "" { - c.volNamespace = c.options.PVC.Namespace - } - c.labels = make(map[string]string) - for k, v := range c.options.PVC.Labels { - c.labels[k] = v - } - capacity := c.options.PVC.Spec.Resources.Requests[v1.ResourceName(v1.ResourceStorage)] - var err error - c.sizeGB, err = volumehelpers.RoundUpToGiBInt(capacity) - if err != nil { - return nil, err - } - - apiCfg, err := parsePVSecret(adminSecretNamespace, adminSecretName, c.plugin.host.GetKubeClient()) - if err != nil { - return nil, err - } - c.apiCfg = apiCfg - - vol, err := c.manager.CreateVolume(c) - if err != nil { - klog.Errorf("failed to create volume: %v", err) - return nil, err - } - if vol.FSType == "" { - vol.FSType = defaultFSType - } - - pv := &v1.PersistentVolume{ - ObjectMeta: metav1.ObjectMeta{ - Name: vol.Name, - Labels: map[string]string{}, - Annotations: map[string]string{ - util.VolumeDynamicallyCreatedByKey: "storageos-dynamic-provisioner", - }, - }, - Spec: v1.PersistentVolumeSpec{ - PersistentVolumeReclaimPolicy: c.options.PersistentVolumeReclaimPolicy, - AccessModes: c.options.PVC.Spec.AccessModes, - Capacity: v1.ResourceList{ - v1.ResourceName(v1.ResourceStorage): resource.MustParse(fmt.Sprintf("%dGi", vol.SizeGB)), - }, - PersistentVolumeSource: v1.PersistentVolumeSource{ - StorageOS: &v1.StorageOSPersistentVolumeSource{ - VolumeName: vol.Name, - VolumeNamespace: vol.Namespace, - FSType: vol.FSType, - ReadOnly: false, - SecretRef: &v1.ObjectReference{ - Name: adminSecretName, - Namespace: adminSecretNamespace, - }, - }, - }, - MountOptions: c.options.MountOptions, - }, - } - if len(c.options.PVC.Spec.AccessModes) == 0 { - pv.Spec.AccessModes = c.plugin.GetAccessModes() - } - if len(vol.Labels) != 0 { - if pv.Labels == nil { - pv.Labels = make(map[string]string) - } - for k, v := range vol.Labels { - pv.Labels[k] = v - } - } - return pv, nil -} - -// Returns StorageOS volume name, namespace, fstype and readonly from spec -func getVolumeInfoFromSpec(spec *volume.Spec) (string, string, string, bool, error) { - if spec.PersistentVolume != nil { - source, readOnly, err := getPersistentVolumeSource(spec) - if err != nil { - return "", "", "", false, err - } - return source.VolumeName, source.VolumeNamespace, source.FSType, readOnly, nil - } - - if spec.Volume != nil { - source, readOnly, err := getVolumeSource(spec) - if err != nil { - return "", "", "", false, err - } - return source.VolumeName, source.VolumeNamespace, source.FSType, readOnly, nil - } - return "", "", "", false, fmt.Errorf("spec not Volume or PersistentVolume") -} - -// Returns API config if secret set, otherwise empty struct so defaults can be -// attempted. -func getAPICfg(spec *volume.Spec, pod *v1.Pod, kubeClient clientset.Interface) (*storageosAPIConfig, error) { - if spec.PersistentVolume != nil { - source, _, err := getPersistentVolumeSource(spec) - if err != nil { - return nil, err - } - if source.SecretRef == nil { - return nil, nil - } - return parsePVSecret(source.SecretRef.Namespace, source.SecretRef.Name, kubeClient) - } - - if spec.Volume != nil { - source, _, err := getVolumeSource(spec) - if err != nil { - return nil, err - } - if source.SecretRef == nil { - return nil, nil - } - return parsePodSecret(pod, source.SecretRef.Name, kubeClient) - } - - return nil, fmt.Errorf("spec not Volume or PersistentVolume") -} - -func parsePodSecret(pod *v1.Pod, secretName string, kubeClient clientset.Interface) (*storageosAPIConfig, error) { - secret, err := util.GetSecretForPod(pod, secretName, kubeClient) - if err != nil { - klog.Errorf("failed to get secret from [%q/%q]", pod.Namespace, secretName) - return nil, fmt.Errorf("failed to get secret from [%q/%q]", pod.Namespace, secretName) - } - return parseAPIConfig(secret) -} - -// Important: Only to be called with data from a PV to avoid secrets being -// loaded from a user-suppler namespace. -func parsePVSecret(namespace, secretName string, kubeClient clientset.Interface) (*storageosAPIConfig, error) { - secret, err := util.GetSecretForPV(namespace, secretName, storageosPluginName, kubeClient) - if err != nil { - klog.Errorf("failed to get secret from [%q/%q]", namespace, secretName) - return nil, fmt.Errorf("failed to get secret from [%q/%q]", namespace, secretName) - } - return parseAPIConfig(secret) -} - -// Parse API configuration from parameters or secret -func parseAPIConfig(params map[string]string) (*storageosAPIConfig, error) { - - if len(params) == 0 { - return nil, fmt.Errorf("empty API config") - } - - c := &storageosAPIConfig{} - - for name, data := range params { - switch strings.ToLower(name) { - case "apiaddress": - c.apiAddr = string(data) - case "apiusername": - c.apiUser = string(data) - case "apipassword": - c.apiPass = string(data) - case "apiversion": - c.apiVersion = string(data) - } - } - - return c, nil -} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/storageos/storageos_util.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/storageos/storageos_util.go deleted file mode 100644 index 3199c9157097..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/storageos/storageos_util.go +++ /dev/null @@ -1,436 +0,0 @@ -/* -Copyright 2017 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package storageos - -import ( - "errors" - "fmt" - "io/ioutil" - "os" - "path/filepath" - "strings" - - storageosapi "github.com/storageos/go-api" - storageostypes "github.com/storageos/go-api/types" - "k8s.io/klog/v2" - proxyutil "k8s.io/kubernetes/pkg/proxy/util" - "k8s.io/kubernetes/pkg/volume" - utilexec "k8s.io/utils/exec" -) - -const ( - losetupPath = "losetup" - - modeBlock deviceType = iota - modeFile - modeUnsupported - - //ErrDeviceNotFound defines "device not found" - ErrDeviceNotFound = "device not found" - //ErrDeviceNotSupported defines "device not supported" - ErrDeviceNotSupported = "device not supported" - //ErrNotAvailable defines "not available" - ErrNotAvailable = "not available" -) - -type deviceType int - -// storageosVolume describes a provisioned volume -type storageosVolume struct { - ID string - Name string - Namespace string - Description string - Pool string - SizeGB int - Labels map[string]string - FSType string -} - -type storageosAPIConfig struct { - apiAddr string - apiUser string - apiPass string - apiVersion string -} - -type apiImplementer interface { - Volume(namespace string, ref string) (*storageostypes.Volume, error) - VolumeCreate(opts storageostypes.VolumeCreateOptions) (*storageostypes.Volume, error) - VolumeMount(opts storageostypes.VolumeMountOptions) error - VolumeUnmount(opts storageostypes.VolumeUnmountOptions) error - VolumeDelete(opt storageostypes.DeleteOptions) error - Node(ref string) (*storageostypes.Node, error) -} - -// storageosUtil is the utility structure to interact with the StorageOS API. -type storageosUtil struct { - api apiImplementer - host volume.VolumeHost -} - -func (u *storageosUtil) NewAPI(apiCfg *storageosAPIConfig) error { - if u.api != nil { - return nil - } - if u.host == nil { - return errors.New("host must not be nil") - } - if apiCfg == nil { - apiCfg = &storageosAPIConfig{ - apiAddr: defaultAPIAddress, - apiUser: defaultAPIUser, - apiPass: defaultAPIPassword, - apiVersion: defaultAPIVersion, - } - klog.V(4).Infof("using default StorageOS API settings: addr %s, version: %s", apiCfg.apiAddr, defaultAPIVersion) - } - - api, err := storageosapi.NewVersionedClient(apiCfg.apiAddr, defaultAPIVersion) - if err != nil { - return err - } - api.SetAuth(apiCfg.apiUser, apiCfg.apiPass) - if err := api.SetDialContext(proxyutil.NewFilteredDialContext(api.GetDialContext(), nil, u.host.GetFilteredDialOptions())); err != nil { - return fmt.Errorf("failed to set DialContext in storageos client: %v", err) - } - u.api = api - return nil -} - -// Creates a new StorageOS volume and makes it available as a device within -// /var/lib/storageos/volumes. -func (u *storageosUtil) CreateVolume(p *storageosProvisioner) (*storageosVolume, error) { - - klog.V(4).Infof("creating StorageOS volume %q with namespace %q", p.volName, p.volNamespace) - - if err := u.NewAPI(p.apiCfg); err != nil { - return nil, err - } - - if p.labels == nil { - p.labels = make(map[string]string) - } - opts := storageostypes.VolumeCreateOptions{ - Name: p.volName, - Size: p.sizeGB, - Description: p.description, - Pool: p.pool, - FSType: p.fsType, - Namespace: p.volNamespace, - Labels: p.labels, - } - - vol, err := u.api.VolumeCreate(opts) - if err != nil { - // don't log error details from client calls in events - klog.V(4).Infof("volume create failed for volume %q (%v)", opts.Name, err) - return nil, errors.New("volume create failed: see kube-controller-manager.log for details") - } - return &storageosVolume{ - ID: vol.ID, - Name: vol.Name, - Namespace: vol.Namespace, - Description: vol.Description, - Pool: vol.Pool, - FSType: vol.FSType, - SizeGB: int(vol.Size), - Labels: vol.Labels, - }, nil -} - -// Attach exposes a volume on the host as a block device. StorageOS uses a -// global namespace, so if the volume exists, it should already be available as -// a device within `/var/lib/storageos/volumes/`. -// -// Depending on the host capabilities, the device may be either a block device -// or a file device. Block devices can be used directly, but file devices must -// be made accessible as a block device before using. -func (u *storageosUtil) AttachVolume(b *storageosMounter) (string, error) { - - klog.V(4).Infof("attaching StorageOS volume %q with namespace %q", b.volName, b.volNamespace) - - if err := u.NewAPI(b.apiCfg); err != nil { - return "", err - } - - // Get the node's device path from the API, falling back to the default if - // not set on the node. - if b.deviceDir == "" { - b.deviceDir = u.DeviceDir(b) - } - - vol, err := u.api.Volume(b.volNamespace, b.volName) - if err != nil { - klog.Warningf("volume retrieve failed for volume %q with namespace %q (%v)", b.volName, b.volNamespace, err) - return "", err - } - - srcPath := filepath.Join(b.deviceDir, vol.ID) - dt, err := pathDeviceType(srcPath) - if err != nil { - klog.Warningf("volume source path %q for volume %q not ready (%v)", srcPath, b.volName, err) - return "", err - } - - switch dt { - case modeBlock: - return srcPath, nil - case modeFile: - return attachFileDevice(srcPath, b.exec) - default: - return "", fmt.Errorf(ErrDeviceNotSupported) - } -} - -// Detach detaches a volume from the host. This is only needed when NBD is not -// enabled and loop devices are used to simulate a block device. -func (u *storageosUtil) DetachVolume(b *storageosUnmounter, devicePath string) error { - - klog.V(4).Infof("detaching StorageOS volume %q with namespace %q", b.volName, b.volNamespace) - - if !isLoopDevice(devicePath) { - return nil - } - if _, err := os.Stat(devicePath); os.IsNotExist(err) { - return nil - } - return removeLoopDevice(devicePath, b.exec) -} - -// AttachDevice attaches the volume device to the host at a given mount path. -func (u *storageosUtil) AttachDevice(b *storageosMounter, deviceMountPath string) error { - - klog.V(4).Infof("attaching StorageOS device for volume %q with namespace %q", b.volName, b.volNamespace) - - if err := u.NewAPI(b.apiCfg); err != nil { - return err - } - - opts := storageostypes.VolumeMountOptions{ - Name: b.volName, - Namespace: b.volNamespace, - FsType: b.fsType, - Mountpoint: deviceMountPath, - Client: b.plugin.host.GetHostName(), - } - if err := u.api.VolumeMount(opts); err != nil { - return err - } - return nil -} - -// Mount mounts the volume on the host. -func (u *storageosUtil) MountVolume(b *storageosMounter, mntDevice, deviceMountPath string) error { - - klog.V(4).Infof("mounting StorageOS volume %q with namespace %q", b.volName, b.volNamespace) - - notMnt, err := b.mounter.IsLikelyNotMountPoint(deviceMountPath) - if err != nil { - if os.IsNotExist(err) { - if err = os.MkdirAll(deviceMountPath, 0750); err != nil { - return err - } - notMnt = true - } else { - return err - } - } - if err = os.MkdirAll(deviceMountPath, 0750); err != nil { - klog.Errorf("mkdir failed on disk %s (%v)", deviceMountPath, err) - return err - } - options := []string{} - if b.readOnly { - options = append(options, "ro") - } - if notMnt { - err = b.diskMounter.FormatAndMount(mntDevice, deviceMountPath, b.fsType, options) - if err != nil { - os.Remove(deviceMountPath) - return err - } - } - return err -} - -// Unmount removes the mount reference from the volume allowing it to be -// re-mounted elsewhere. -func (u *storageosUtil) UnmountVolume(b *storageosUnmounter) error { - - klog.V(4).Infof("clearing StorageOS mount reference for volume %q with namespace %q", b.volName, b.volNamespace) - - if err := u.NewAPI(b.apiCfg); err != nil { - // We can't always get the config we need, so allow the unmount to - // succeed even if we can't remove the mount reference from the API. - klog.Warningf("could not remove mount reference in the StorageOS API as no credentials available to the unmount operation") - return nil - } - - opts := storageostypes.VolumeUnmountOptions{ - Name: b.volName, - Namespace: b.volNamespace, - Client: b.plugin.host.GetHostName(), - } - return u.api.VolumeUnmount(opts) -} - -// Deletes a StorageOS volume. Assumes it has already been unmounted and detached. -func (u *storageosUtil) DeleteVolume(d *storageosDeleter) error { - if err := u.NewAPI(d.apiCfg); err != nil { - return err - } - - // Deletes must be forced as the StorageOS API will not normally delete - // volumes that it thinks are mounted. We can't be sure the unmount was - // registered via the API so we trust k8s to only delete volumes it knows - // are unmounted. - opts := storageostypes.DeleteOptions{ - Name: d.volName, - Namespace: d.volNamespace, - Force: true, - } - if err := u.api.VolumeDelete(opts); err != nil { - // don't log error details from client calls in events - klog.V(4).Infof("volume deleted failed for volume %q in namespace %q: %v", d.volName, d.volNamespace, err) - return errors.New("volume delete failed: see kube-controller-manager.log for details") - } - return nil -} - -// Get the node's device path from the API, falling back to the default if not -// specified. -func (u *storageosUtil) DeviceDir(b *storageosMounter) string { - - ctrl, err := u.api.Node(b.plugin.host.GetHostName()) - if err != nil { - klog.Warningf("node device path lookup failed: %v", err) - return defaultDeviceDir - } - if ctrl == nil || ctrl.DeviceDir == "" { - klog.Warningf("node device path not set, using default: %s", defaultDeviceDir) - return defaultDeviceDir - } - return ctrl.DeviceDir -} - -// pathMode returns the FileMode for a path. -func pathDeviceType(path string) (deviceType, error) { - fi, err := os.Stat(path) - if err != nil { - return modeUnsupported, err - } - switch mode := fi.Mode(); { - case mode&os.ModeDevice != 0: - return modeBlock, nil - case mode.IsRegular(): - return modeFile, nil - default: - return modeUnsupported, nil - } -} - -// attachFileDevice takes a path to a regular file and makes it available as an -// attached block device. -func attachFileDevice(path string, exec utilexec.Interface) (string, error) { - blockDevicePath, err := getLoopDevice(path) - if err != nil && err.Error() != ErrDeviceNotFound { - return "", err - } - - // If no existing loop device for the path, create one - if blockDevicePath == "" { - klog.V(4).Infof("Creating device for path: %s", path) - blockDevicePath, err = makeLoopDevice(path, exec) - if err != nil { - return "", err - } - } - return blockDevicePath, nil -} - -// Returns the full path to the loop device associated with the given path. -func getLoopDevice(path string) (string, error) { - _, err := os.Stat(path) - if os.IsNotExist(err) { - return "", errors.New(ErrNotAvailable) - } - if err != nil { - return "", fmt.Errorf("not attachable: %v", err) - } - - return getLoopDeviceFromSysfs(path) -} - -func makeLoopDevice(path string, exec utilexec.Interface) (string, error) { - args := []string{"-f", "-P", path} - out, err := exec.Command(losetupPath, args...).CombinedOutput() - if err != nil { - klog.V(2).Infof("Failed device create command for path %s: %v %s", path, err, out) - return "", err - } - - return getLoopDeviceFromSysfs(path) -} - -func removeLoopDevice(device string, exec utilexec.Interface) error { - args := []string{"-d", device} - out, err := exec.Command(losetupPath, args...).CombinedOutput() - if err != nil { - if !strings.Contains(string(out), "No such device or address") { - return err - } - } - return nil -} - -func isLoopDevice(device string) bool { - return strings.HasPrefix(device, "/dev/loop") -} - -// getLoopDeviceFromSysfs finds the backing file for a loop -// device from sysfs via "/sys/block/loop*/loop/backing_file". -func getLoopDeviceFromSysfs(path string) (string, error) { - // If the file is a symlink. - realPath, err := filepath.EvalSymlinks(path) - if err != nil { - return "", errors.New(ErrDeviceNotFound) - } - - devices, err := filepath.Glob("/sys/block/loop*") - if err != nil { - return "", errors.New(ErrDeviceNotFound) - } - - for _, device := range devices { - backingFile := fmt.Sprintf("%s/loop/backing_file", device) - - // The contents of this file is the absolute path of "path". - data, err := ioutil.ReadFile(backingFile) - if err != nil { - continue - } - - // Return the first match. - backingFilePath := strings.TrimSpace(string(data)) - if backingFilePath == path || backingFilePath == realPath { - return fmt.Sprintf("/dev/%s", filepath.Base(device)), nil - } - } - - return "", errors.New(ErrDeviceNotFound) -} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/atomic_writer.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/atomic_writer.go index 805647ab7ed8..94428f6ffc8b 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/atomic_writer.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/atomic_writer.go @@ -42,9 +42,9 @@ const ( // // Note: // -// 1. AtomicWriter reserves the set of pathnames starting with `..`. -// 2. AtomicWriter offers no concurrency guarantees and must be synchronized -// by the caller. +// 1. AtomicWriter reserves the set of pathnames starting with `..`. +// 2. AtomicWriter offers no concurrency guarantees and must be synchronized +// by the caller. // // The visible files in this volume are symlinks to files in the writer's data // directory. Actual files are stored in a hidden timestamped directory which @@ -89,36 +89,40 @@ const ( // // The Write algorithm is: // -// 1. The payload is validated; if the payload is invalid, the function returns -// 2.  The current timestamped directory is detected by reading the data directory -// symlink -// 3. The old version of the volume is walked to determine whether any -// portion of the payload was deleted and is still present on disk. -// 4. The data in the current timestamped directory is compared to the projected -// data to determine if an update is required. -// 5.  A new timestamped dir is created -// 6. The payload is written to the new timestamped directory -// 7.  A symlink to the new timestamped directory ..data_tmp is created that will -// become the new data directory -// 8.  The new data directory symlink is renamed to the data directory; rename is atomic -// 9.  Symlinks and directory for new user-visible files are created (if needed). +// 1. The payload is validated; if the payload is invalid, the function returns +// 2.  The current timestamped directory is detected by reading the data directory +// symlink // -// For example, consider the files: -// /podName -// /user/labels -// /k8s/annotations +// 3. The old version of the volume is walked to determine whether any +// portion of the payload was deleted and is still present on disk. // -// The user visible files are symbolic links into the internal data directory: -// /podName -> ..data/podName -// /usr -> ..data/usr -// /k8s -> ..data/k8s +// 4. The data in the current timestamped directory is compared to the projected +// data to determine if an update is required. +// 5.  A new timestamped dir is created +// +// 6. The payload is written to the new timestamped directory +// 7.  A symlink to the new timestamped directory ..data_tmp is created that will +// become the new data directory +// 8.  The new data directory symlink is renamed to the data directory; rename is atomic +// 9.  Symlinks and directory for new user-visible files are created (if needed). +// +// For example, consider the files: +// /podName +// /user/labels +// /k8s/annotations +// +// The user visible files are symbolic links into the internal data directory: +// /podName -> ..data/podName +// /usr -> ..data/usr +// /k8s -> ..data/k8s +// +// The data directory itself is a link to a timestamped directory with +// the real data: +// /..data -> ..2016_02_01_15_04_05.12345678/ +// NOTE(claudiub): We need to create these symlinks AFTER we've finished creating and +// linking everything else. On Windows, if a target does not exist, the created symlink +// will not work properly if the target ends up being a directory. // -// The data directory itself is a link to a timestamped directory with -// the real data: -// /..data -> ..2016_02_01_15_04_05.12345678/ -// NOTE(claudiub): We need to create these symlinks AFTER we've finished creating and -// linking everything else. On Windows, if a target does not exist, the created symlink -// will not work properly if the target ends up being a directory. // 10. Old paths are removed from the user-visible portion of the target directory // 11.  The previous timestamped directory is removed, if it exists func (w *AtomicWriter) Write(payload map[string]FileProjection) error { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/device_util.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/device_util.go index 1d0791ee05c1..4b2fc88546b9 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/device_util.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/device_util.go @@ -16,7 +16,7 @@ limitations under the License. package util -//DeviceUtil is a util for common device methods +// DeviceUtil is a util for common device methods type DeviceUtil interface { FindMultipathDeviceForDevice(disk string) string FindSlaveDevicesOnMultipath(disk string) []string @@ -28,7 +28,7 @@ type deviceHandler struct { getIo IoUtil } -//NewDeviceHandler Create a new IoHandler implementation +// NewDeviceHandler Create a new IoHandler implementation func NewDeviceHandler(io IoUtil) DeviceUtil { return &deviceHandler{getIo: io} } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/device_util_linux.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/device_util_linux.go index ae7078b23ab0..4fc3291dbeef 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/device_util_linux.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/device_util_linux.go @@ -22,6 +22,7 @@ package util import ( "errors" "fmt" + "net" "os" "path/filepath" "strconv" @@ -89,10 +90,11 @@ func (handler *deviceHandler) FindSlaveDevicesOnMultipath(dm string) []string { // GetISCSIPortalHostMapForTarget given a target iqn, find all the scsi hosts logged into // that target. Returns a map of iSCSI portals (string) to SCSI host numbers (integers). -// For example: { -// "192.168.30.7:3260": 2, -// "192.168.30.8:3260": 3, -// } +// +// For example: { +// "192.168.30.7:3260": 2, +// "192.168.30.8:3260": 3, +// } func (handler *deviceHandler) GetISCSIPortalHostMapForTarget(targetIqn string) (map[string]int, error) { portalHostMap := make(map[string]int) io := handler.getIo @@ -199,12 +201,11 @@ func (handler *deviceHandler) GetISCSIPortalHostMapForTarget(targetIqn string) ( // Add entries to the map for both the current and persistent portals // pointing to the SCSI host for those connections - portal := strings.TrimSpace(string(addr)) + ":" + - strings.TrimSpace(string(port)) + // JoinHostPort will add `[]` around IPv6 addresses. + portal := net.JoinHostPort(strings.TrimSpace(string(addr)), strings.TrimSpace(string(port))) portalHostMap[portal] = hostNumber - persistentPortal := strings.TrimSpace(string(persistentAddr)) + ":" + - strings.TrimSpace(string(persistentPort)) + persistentPortal := net.JoinHostPort(strings.TrimSpace(string(persistentAddr)), strings.TrimSpace(string(persistentPort))) portalHostMap[persistentPortal] = hostNumber } } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/hostutil/hostutil_unsupported.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/hostutil/hostutil_unsupported.go index c54a7b23f916..0c25c352426d 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/hostutil/hostutil_unsupported.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/hostutil/hostutil_unsupported.go @@ -93,7 +93,7 @@ func (hu *HostUtil) GetSELinuxSupport(pathname string) (bool, error) { return false, errUnsupported } -//GetMode always returns an error on unsupported platforms +// GetMode always returns an error on unsupported platforms func (hu *HostUtil) GetMode(pathname string) (os.FileMode, error) { return 0, errUnsupported } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/io_util.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/io_util.go index aff453e196cd..8d65a6e48d24 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/io_util.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/io_util.go @@ -32,7 +32,7 @@ type IoUtil interface { type osIOHandler struct{} -//NewIOHandler Create a new IoHandler implementation +// NewIOHandler Create a new IoHandler implementation func NewIOHandler() IoUtil { return &osIOHandler{} } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/metrics.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/metrics.go index e80008f74640..af37abba8080 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/metrics.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/metrics.go @@ -23,10 +23,8 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/component-base/metrics" "k8s.io/component-base/metrics/legacyregistry" - "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/volume" "k8s.io/kubernetes/pkg/volume/util/types" ) @@ -120,7 +118,7 @@ func FSGroupCompleteHook(plugin volume.VolumePlugin, spec *volume.Spec) func(typ // CSI plugin drivers. func GetFullQualifiedPluginNameForVolume(pluginName string, spec *volume.Spec) string { if spec != nil { - if spec.Volume != nil && spec.Volume.CSI != nil && utilfeature.DefaultFeatureGate.Enabled(features.CSIInlineVolume) { + if spec.Volume != nil && spec.Volume.CSI != nil { return fmt.Sprintf("%s:%s", pluginName, spec.Volume.CSI.Driver) } if spec.PersistentVolume != nil && spec.PersistentVolume.Spec.CSI != nil { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/operationexecutor/operation_executor.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/operationexecutor/operation_executor.go index 3cbc4e61a573..d16e287be681 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/operationexecutor/operation_executor.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/operationexecutor/operation_executor.go @@ -166,7 +166,7 @@ func NewOperationExecutor( } } -// MarkVolumeOpts is an struct to pass arguments to MountVolume functions +// MarkVolumeOpts is a struct to pass arguments to MountVolume functions type MarkVolumeOpts struct { PodName volumetypes.UniquePodName PodUID types.UID @@ -177,6 +177,7 @@ type MarkVolumeOpts struct { VolumeGidVolume string VolumeSpec *volume.Spec VolumeMountState VolumeMountState + SELinuxMountContext string } // ActualStateOfWorldMounterUpdater defines a set of operations updating the actual @@ -192,10 +193,10 @@ type ActualStateOfWorldMounterUpdater interface { MarkVolumeMountAsUncertain(markVolumeOpts MarkVolumeOpts) error // Marks the specified volume as having been globally mounted. - MarkDeviceAsMounted(volumeName v1.UniqueVolumeName, devicePath, deviceMountPath string) error + MarkDeviceAsMounted(volumeName v1.UniqueVolumeName, devicePath, deviceMountPath, seLinuxMountContext string) error // MarkDeviceAsUncertain marks device state in global mount path as uncertain - MarkDeviceAsUncertain(volumeName v1.UniqueVolumeName, devicePath, deviceMountPath string) error + MarkDeviceAsUncertain(volumeName v1.UniqueVolumeName, devicePath, deviceMountPath, seLinuxMountContext string) error // Marks the specified volume as having its global mount unmounted. MarkDeviceAsUnmounted(volumeName v1.UniqueVolumeName) error @@ -215,6 +216,23 @@ type ActualStateOfWorldMounterUpdater interface { // MarkForInUseExpansionError marks the volume to have in-use error during expansion. // volume expansion must not be retried for this volume MarkForInUseExpansionError(volumeName v1.UniqueVolumeName) + + // CheckAndMarkVolumeAsUncertainViaReconstruction only adds volume to actual state of the world + // if volume was not already there. This avoid overwriting in any previously stored + // state. It returns error if there was an error adding the volume to ASOW. + // It returns true, if this operation resulted in volume being added to ASOW + // otherwise it returns false. + CheckAndMarkVolumeAsUncertainViaReconstruction(opts MarkVolumeOpts) (bool, error) + + // CheckAndMarkDeviceUncertainViaReconstruction only adds device to actual state of the world + // if device was not already there. This avoids overwriting in any previously stored + // state. We only supply deviceMountPath because devicePath is already determined from + // VerifyControllerAttachedVolume function. + CheckAndMarkDeviceUncertainViaReconstruction(volumeName v1.UniqueVolumeName, deviceMountPath string) bool + + // IsVolumeReconstructed returns true if volume currently added to actual state of the world + // was found during reconstruction. + IsVolumeReconstructed(volumeName v1.UniqueVolumeName, podName volumetypes.UniquePodName) bool } // ActualStateOfWorldAttacherUpdater defines a set of operations updating the @@ -429,6 +447,9 @@ type VolumeToMount struct { // PersistentVolumeSize stores desired size of the volume. // usually this is the size if pv.Spec.Capacity PersistentVolumeSize resource.Quantity + + // SELinux label that should be used to mount. + SELinuxLabel string } // DeviceMountState represents device mount state in a global path. @@ -535,6 +556,8 @@ type AttachedVolume struct { // PluginName is the Unescaped Qualified name of the volume plugin used to // attach and mount this volume. PluginName string + + SELinuxMountContext string } // GenerateMsgDetailed returns detailed msgs for attached volumes @@ -711,6 +734,10 @@ type MountedVolume struct { // DeviceMountPath contains the path on the node where the device should // be mounted after it is attached. DeviceMountPath string + + // SELinuxMountContext is value of mount option 'mount -o context=XYZ'. + // If empty, no such mount option was used. + SELinuxMountContext string } // GenerateMsgDetailed returns detailed msgs for mounted volumes diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/operationexecutor/operation_generator.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/operationexecutor/operation_generator.go index 636aa4176d86..80f22a0108c6 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/operationexecutor/operation_generator.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/operationexecutor/operation_generator.go @@ -645,7 +645,7 @@ func (og *operationGenerator) GenerateMountVolumeFunc( volumeToMount.VolumeSpec, devicePath, deviceMountPath, - volume.DeviceMounterArgs{FsGroup: fsGroup}, + volume.DeviceMounterArgs{FsGroup: fsGroup, SELinuxLabel: volumeToMount.SELinuxLabel}, ) if err != nil { og.checkForFailedMount(volumeToMount, err) @@ -659,7 +659,7 @@ func (og *operationGenerator) GenerateMountVolumeFunc( // Update actual state of world to reflect volume is globally mounted markDeviceMountedErr := actualStateOfWorld.MarkDeviceAsMounted( - volumeToMount.VolumeName, devicePath, deviceMountPath) + volumeToMount.VolumeName, devicePath, deviceMountPath, volumeToMount.SELinuxLabel) if markDeviceMountedErr != nil { // On failure, return error. Caller will log and retry. eventErr, detailedErr := volumeToMount.GenerateError("MountVolume.MarkDeviceAsMounted failed", markDeviceMountedErr) @@ -669,12 +669,38 @@ func (og *operationGenerator) GenerateMountVolumeFunc( resizeOptions.DeviceStagePath = deviceMountPath } + // No mapping is needed for hostUID/hostGID if userns is not used. + // Therefore, just assign the container users to host UID/GID. + hostUID := util.FsUserFrom(volumeToMount.Pod) + hostGID := fsGroup + if utilfeature.DefaultFeatureGate.Enabled(features.UserNamespacesStatelessPodsSupport) { + // Without userns hostUID/GID was the user inside the container too. + containerUID, containerGID := hostUID, hostGID + + kvh, ok := og.GetVolumePluginMgr().Host.(volume.KubeletVolumeHost) + if !ok { + msg := fmt.Errorf("volume host does not implement KubeletVolumeHost interface") + eventErr, detailedErr := volumeToMount.GenerateError("MountVolume type assertion error", msg) + return volumetypes.NewOperationContext(eventErr, detailedErr, migrated) + } + + // This pod _might_ use userns. GetHostIDsForPod() will give us the right + // UID/GID to use for this pod (no matter if the pod uses userns or not). + hostUID, hostGID, err = kvh.GetHostIDsForPod(volumeToMount.Pod, containerUID, containerGID) + if err != nil { + msg := fmt.Sprintf("MountVolume.GetHostIDsForPod failed to find host ID in user namespace (UID: %v GID: %v)", containerUID, containerGID) + eventErr, detailedErr := volumeToMount.GenerateError(msg, err) + return volumetypes.NewOperationContext(eventErr, detailedErr, migrated) + } + } + // Execute mount mountErr := volumeMounter.SetUp(volume.MounterArgs{ - FsUser: util.FsUserFrom(volumeToMount.Pod), - FsGroup: fsGroup, + FsUser: hostUID, + FsGroup: hostGID, DesiredSize: volumeToMount.DesiredSizeLimit, FSGroupChangePolicy: fsGroupChangePolicy, + SELinuxLabel: volumeToMount.SELinuxLabel, }) // Update actual state of world markOpts := MarkVolumeOpts{ @@ -686,6 +712,7 @@ func (og *operationGenerator) GenerateMountVolumeFunc( VolumeGidVolume: volumeToMount.VolumeGidValue, VolumeSpec: volumeToMount.VolumeSpec, VolumeMountState: VolumeMounted, + SELinuxMountContext: volumeToMount.SELinuxLabel, } if mountErr != nil { og.checkForFailedMount(volumeToMount, mountErr) @@ -774,7 +801,7 @@ func (og *operationGenerator) markDeviceErrorState(volumeToMount VolumeToMount, actualStateOfWorld.GetDeviceMountState(volumeToMount.VolumeName) == DeviceNotMounted { // only devices which are not mounted can be marked as uncertain. We do not want to mark a device // which was previously marked as mounted here as uncertain. - markDeviceUncertainError := actualStateOfWorld.MarkDeviceAsUncertain(volumeToMount.VolumeName, devicePath, deviceMountPath) + markDeviceUncertainError := actualStateOfWorld.MarkDeviceAsUncertain(volumeToMount.VolumeName, devicePath, deviceMountPath, volumeToMount.SELinuxLabel) if markDeviceUncertainError != nil { klog.Errorf(volumeToMount.GenerateErrorDetailed("MountDevice.MarkDeviceAsUncertain failed", markDeviceUncertainError).Error()) } @@ -785,11 +812,19 @@ func (og *operationGenerator) markDeviceErrorState(volumeToMount VolumeToMount, func (og *operationGenerator) markVolumeErrorState(volumeToMount VolumeToMount, markOpts MarkVolumeOpts, mountError error, actualStateOfWorld ActualStateOfWorldMounterUpdater) { if volumetypes.IsOperationFinishedError(mountError) && actualStateOfWorld.GetVolumeMountState(volumeToMount.VolumeName, markOpts.PodName) == VolumeMountUncertain { + // if volume was previously reconstructed we are not going to change its state as unmounted even + // if mount operation fails. + if actualStateOfWorld.IsVolumeReconstructed(volumeToMount.VolumeName, volumeToMount.PodName) { + klog.V(3).InfoS("MountVolume.markVolumeErrorState leaving volume uncertain", "volumeName", volumeToMount.VolumeName) + return + } + t := actualStateOfWorld.MarkVolumeAsUnmounted(volumeToMount.PodName, volumeToMount.VolumeName) if t != nil { klog.Errorf(volumeToMount.GenerateErrorDetailed("MountVolume.MarkVolumeAsUnmounted failed", t).Error()) } return + } if volumetypes.IsUncertainProgressError(mountError) && @@ -799,7 +834,6 @@ func (og *operationGenerator) markVolumeErrorState(volumeToMount VolumeToMount, klog.Errorf(volumeToMount.GenerateErrorDetailed("MountVolume.MarkVolumeMountAsUncertain failed", t).Error()) } } - } func (og *operationGenerator) GenerateUnmountVolumeFunc( @@ -935,7 +969,7 @@ func (og *operationGenerator) GenerateUnmountDeviceFunc( unmountDeviceErr := volumeDeviceUnmounter.UnmountDevice(deviceMountPath) if unmountDeviceErr != nil { // Mark the device as uncertain, so MountDevice is called for new pods. UnmountDevice may be already in progress. - markDeviceUncertainErr := actualStateOfWorld.MarkDeviceAsUncertain(deviceToDetach.VolumeName, deviceToDetach.DevicePath, deviceMountPath) + markDeviceUncertainErr := actualStateOfWorld.MarkDeviceAsUncertain(deviceToDetach.VolumeName, deviceToDetach.DevicePath, deviceMountPath, deviceToDetach.SELinuxMountContext) if markDeviceUncertainErr != nil { // There is nothing else we can do. Hope that UnmountDevice will be re-tried shortly. klog.Errorf(deviceToDetach.GenerateErrorDetailed("UnmountDevice.MarkDeviceAsUncertain failed", markDeviceUncertainErr).Error()) @@ -956,7 +990,7 @@ func (og *operationGenerator) GenerateUnmountDeviceFunc( // The device is still in use elsewhere. Caller will log and retry. if deviceOpened { // Mark the device as uncertain, so MountDevice is called for new pods. - markDeviceUncertainErr := actualStateOfWorld.MarkDeviceAsUncertain(deviceToDetach.VolumeName, deviceToDetach.DevicePath, deviceMountPath) + markDeviceUncertainErr := actualStateOfWorld.MarkDeviceAsUncertain(deviceToDetach.VolumeName, deviceToDetach.DevicePath, deviceMountPath, deviceToDetach.SELinuxMountContext) if markDeviceUncertainErr != nil { // There is nothing else we can do. Hope that UnmountDevice will be re-tried shortly. klog.Errorf(deviceToDetach.GenerateErrorDetailed("UnmountDevice.MarkDeviceAsUncertain failed", markDeviceUncertainErr).Error()) @@ -1094,7 +1128,7 @@ func (og *operationGenerator) GenerateMapVolumeFunc( // Update actual state of world to reflect volume is globally mounted markedDevicePath := devicePath markDeviceMappedErr := actualStateOfWorld.MarkDeviceAsMounted( - volumeToMount.VolumeName, markedDevicePath, globalMapPath) + volumeToMount.VolumeName, markedDevicePath, globalMapPath, "") if markDeviceMappedErr != nil { // On failure, return error. Caller will log and retry. eventErr, detailedErr := volumeToMount.GenerateError("MapVolume.MarkDeviceAsMounted failed", markDeviceMappedErr) @@ -1163,7 +1197,7 @@ func (og *operationGenerator) GenerateMapVolumeFunc( // TODO: This can be improved after #82492 is merged and ASW has state. if markedDevicePath != devicePath { markDeviceMappedErr := actualStateOfWorld.MarkDeviceAsMounted( - volumeToMount.VolumeName, devicePath, globalMapPath) + volumeToMount.VolumeName, devicePath, globalMapPath, "") if markDeviceMappedErr != nil { // On failure, return error. Caller will log and retry. eventErr, detailedErr := volumeToMount.GenerateError("MapVolume.MarkDeviceAsMounted failed", markDeviceMappedErr) @@ -1391,7 +1425,7 @@ func (og *operationGenerator) GenerateUnmapDeviceFunc( // cases below. The volume is marked as fully un-mapped at the end of this function, when everything // succeeds. markDeviceUncertainErr := actualStateOfWorld.MarkDeviceAsUncertain( - deviceToDetach.VolumeName, deviceToDetach.DevicePath, globalMapPath) + deviceToDetach.VolumeName, deviceToDetach.DevicePath, globalMapPath, "" /* seLinuxMountContext */) if markDeviceUncertainErr != nil { // On failure, return error. Caller will log and retry. eventErr, detailedErr := deviceToDetach.GenerateError("UnmapDevice.MarkDeviceAsUncertain failed", markDeviceUncertainErr) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/recyclerclient/recycler_client.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/recyclerclient/recycler_client.go index 2afbc9a53ac1..b7197dbdfe4e 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/recyclerclient/recycler_client.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/recyclerclient/recycler_client.go @@ -43,9 +43,9 @@ type RecycleEventRecorder func(eventtype, message string) // function deletes it as it is not able to judge if it is an old recycler // or user has forged a fake recycler to block Kubernetes from recycling.// // -// pod - the pod designed by a volume plugin to recycle the volume. pod.Name -// will be overwritten with unique name based on PV.Name. -// client - kube client for API operations. +// pod - the pod designed by a volume plugin to recycle the volume. pod.Name +// will be overwritten with unique name based on PV.Name. +// client - kube client for API operations. func RecycleVolumeByWatchingPodUntilCompletion(pvName string, pod *v1.Pod, kubeClient clientset.Interface, recorder RecycleEventRecorder) error { return internalRecycleVolumeByWatchingPodUntilCompletion(pvName, pod, newRecyclerClient(kubeClient, recorder)) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/selinux.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/selinux.go new file mode 100644 index 000000000000..22854734f30d --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/selinux.go @@ -0,0 +1,198 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package util + +import ( + "fmt" + + "github.com/opencontainers/selinux/go-selinux" + "github.com/opencontainers/selinux/go-selinux/label" + v1 "k8s.io/api/core/v1" + utilfeature "k8s.io/apiserver/pkg/util/feature" + v1helper "k8s.io/kubernetes/pkg/apis/core/v1/helper" + "k8s.io/kubernetes/pkg/features" + "k8s.io/kubernetes/pkg/volume" +) + +// SELinuxLabelTranslator translates v1.SELinuxOptions of a process to SELinux file label. +type SELinuxLabelTranslator interface { + // SELinuxOptionsToFileLabel returns SELinux file label for given SELinuxOptions + // of a container process. + // When Role, User or Type are empty, they're read from the system defaults. + // It returns "" and no error on platforms that do not have SELinux enabled + // or don't support SELinux at all. + SELinuxOptionsToFileLabel(opts *v1.SELinuxOptions) (string, error) + + // SELinuxEnabled returns true when the OS has enabled SELinux support. + SELinuxEnabled() bool +} + +// Real implementation of the interface. +// On Linux with SELinux enabled it translates. Otherwise it always returns an empty string and no error. +type translator struct{} + +var _ SELinuxLabelTranslator = &translator{} + +// NewSELinuxLabelTranslator returns new SELinuxLabelTranslator for the platform. +func NewSELinuxLabelTranslator() SELinuxLabelTranslator { + return &translator{} +} + +// SELinuxOptionsToFileLabel returns SELinux file label for given SELinuxOptions +// of a container process. +// When Role, User or Type are empty, they're read from the system defaults. +// It returns "" and no error on platforms that do not have SELinux enabled +// or don't support SELinux at all. +func (l *translator) SELinuxOptionsToFileLabel(opts *v1.SELinuxOptions) (string, error) { + if opts == nil { + return "", nil + } + + args := contextOptions(opts) + if len(args) == 0 { + return "", nil + } + + processLabel, fileLabel, err := label.InitLabels(args) + if err != nil { + // In theory, this should be unreachable. InitLabels can fail only when args contain an unknown option, + // and all options returned by contextOptions are known. + return "", err + } + // InitLabels() may allocate a new unique SELinux label in kubelet memory. The label is *not* allocated + // in the container runtime. Clear it to avoid memory problems. + // ReleaseLabel on non-allocated label is NOOP. + selinux.ReleaseLabel(processLabel) + + return fileLabel, nil +} + +// Convert SELinuxOptions to []string accepted by label.InitLabels +func contextOptions(opts *v1.SELinuxOptions) []string { + if opts == nil { + return nil + } + args := make([]string, 0, 3) + if opts.User != "" { + args = append(args, "user:"+opts.User) + } + if opts.Role != "" { + args = append(args, "role:"+opts.Role) + } + if opts.Type != "" { + args = append(args, "type:"+opts.Type) + } + if opts.Level != "" { + args = append(args, "level:"+opts.Level) + } + return args +} + +func (l *translator) SELinuxEnabled() bool { + return selinux.GetEnabled() +} + +// Fake implementation of the interface for unit tests. +type fakeTranslator struct{} + +var _ SELinuxLabelTranslator = &fakeTranslator{} + +// NewFakeSELinuxLabelTranslator returns a fake translator for unit tests. +// It imitates a real translator on platforms that do not have SELinux enabled +// or don't support SELinux at all. +func NewFakeSELinuxLabelTranslator() SELinuxLabelTranslator { + return &fakeTranslator{} +} + +// SELinuxOptionsToFileLabel returns SELinux file label for given options. +func (l *fakeTranslator) SELinuxOptionsToFileLabel(opts *v1.SELinuxOptions) (string, error) { + if opts == nil { + return "", nil + } + // Fill empty values from "system defaults" (taken from Fedora Linux). + user := opts.User + if user == "" { + user = "system_u" + } + + role := opts.Role + if role == "" { + role = "object_r" + } + + // opts is context of the *process* to run in a container. Translate + // process type "container_t" to file label type "container_file_t". + // (The rest of the context is the same for processes and files). + fileType := opts.Type + if fileType == "" || fileType == "container_t" { + fileType = "container_file_t" + } + + level := opts.Level + if level == "" { + // If empty, level is allocated randomly. + level = "s0:c998,c999" + } + + ctx := fmt.Sprintf("%s:%s:%s:%s", user, role, fileType, level) + return ctx, nil +} + +func (l *fakeTranslator) SELinuxEnabled() bool { + return true +} + +// SupportsSELinuxContextMount checks if the given volumeSpec supports with mount -o context +func SupportsSELinuxContextMount(volumeSpec *volume.Spec, volumePluginMgr *volume.VolumePluginMgr) (bool, error) { + plugin, _ := volumePluginMgr.FindPluginBySpec(volumeSpec) + if plugin != nil { + return plugin.SupportsSELinuxContextMount(volumeSpec) + } + + return false, nil +} + +// VolumeSupportsSELinuxMount returns true if given volume access mode can support mount with SELinux mount options. +func VolumeSupportsSELinuxMount(volumeSpec *volume.Spec) bool { + // Right now, SELinux mount is supported only for ReadWriteOncePod volumes. + if !utilfeature.DefaultFeatureGate.Enabled(features.ReadWriteOncePod) { + return false + } + if !utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { + return false + } + if volumeSpec.PersistentVolume == nil { + return false + } + if len(volumeSpec.PersistentVolume.Spec.AccessModes) != 1 { + return false + } + if !v1helper.ContainsAccessMode(volumeSpec.PersistentVolume.Spec.AccessModes, v1.ReadWriteOncePod) { + return false + } + return true +} + +// AddSELinuxMountOption adds -o context="XYZ" mount option to a given list +func AddSELinuxMountOption(options []string, seLinuxContext string) []string { + if !utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { + return options + } + // Use double quotes to support a comma "," in the SELinux context string. + // For example: dirsync,context="system_u:object_r:container_file_t:s0:c15,c25",noatime + return append(options, fmt.Sprintf("context=%q", seLinuxContext)) +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/storageclass.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/storageclass.go new file mode 100644 index 000000000000..5350bc8e963a --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/storageclass.go @@ -0,0 +1,76 @@ +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package util + +import ( + "fmt" + storagev1 "k8s.io/api/storage/v1" + "k8s.io/apimachinery/pkg/api/errors" + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" + "k8s.io/apimachinery/pkg/labels" + storagev1listers "k8s.io/client-go/listers/storage/v1" + "k8s.io/klog/v2" +) + +const ( + // isDefaultStorageClassAnnotation represents a StorageClass annotation that + // marks a class as the default StorageClass + IsDefaultStorageClassAnnotation = "storageclass.kubernetes.io/is-default-class" + + // betaIsDefaultStorageClassAnnotation is the beta version of IsDefaultStorageClassAnnotation. + // TODO: remove Beta when no longer used + BetaIsDefaultStorageClassAnnotation = "storageclass.beta.kubernetes.io/is-default-class" +) + +// GetDefaultClass returns the default StorageClass from the store, or nil. +func GetDefaultClass(lister storagev1listers.StorageClassLister) (*storagev1.StorageClass, error) { + list, err := lister.List(labels.Everything()) + if err != nil { + return nil, err + } + + defaultClasses := []*storagev1.StorageClass{} + for _, class := range list { + if IsDefaultAnnotation(class.ObjectMeta) { + defaultClasses = append(defaultClasses, class) + klog.V(4).Infof("GetDefaultClass added: %s", class.Name) + } + } + + if len(defaultClasses) == 0 { + return nil, nil + } + if len(defaultClasses) > 1 { + klog.V(4).Infof("GetDefaultClass %d defaults found", len(defaultClasses)) + return nil, errors.NewInternalError(fmt.Errorf("%d default StorageClasses were found", len(defaultClasses))) + } + return defaultClasses[0], nil +} + +// IsDefaultAnnotation returns a boolean if the default storage class +// annotation is set +// TODO: remove Beta when no longer needed +func IsDefaultAnnotation(obj metav1.ObjectMeta) bool { + if obj.Annotations[IsDefaultStorageClassAnnotation] == "true" { + return true + } + if obj.Annotations[BetaIsDefaultStorageClassAnnotation] == "true" { + return true + } + + return false +} diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/subpath/subpath_linux.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/subpath/subpath_linux.go index 4a505be3b3c6..583939bdc4a0 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/subpath/subpath_linux.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/subpath/subpath_linux.go @@ -566,18 +566,23 @@ func doSafeOpen(pathname string, base string) (int, error) { // Follow the segments one by one using openat() to make // sure the user cannot change already existing directories into symlinks. for _, seg := range segments { + var deviceStat unix.Stat_t + currentPath = filepath.Join(currentPath, seg) if !mount.PathWithinBase(currentPath, base) { return -1, fmt.Errorf("path %s is outside of allowed base %s", currentPath, base) } + // Trigger auto mount if it's an auto-mounted directory, ignore error if not a directory. + // Notice the trailing slash is mandatory, see "automount" in openat(2) and open_by_handle_at(2). + unix.Fstatat(parentFD, seg+"/", &deviceStat, unix.AT_SYMLINK_NOFOLLOW) + klog.V(5).Infof("Opening path %s", currentPath) childFD, err = syscall.Openat(parentFD, seg, openFDFlags|unix.O_CLOEXEC, 0) if err != nil { return -1, fmt.Errorf("cannot open %s: %s", currentPath, err) } - var deviceStat unix.Stat_t err := unix.Fstat(childFD, &deviceStat) if err != nil { return -1, fmt.Errorf("error running fstat on %s with %v", currentPath, err) diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/util.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/util.go index f772bd5869f6..e7df9538f320 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/util.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/util.go @@ -35,11 +35,13 @@ import ( utypes "k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/apimachinery/pkg/util/wait" + utilfeature "k8s.io/apiserver/pkg/util/feature" clientset "k8s.io/client-go/kubernetes" storagehelpers "k8s.io/component-helpers/storage/volume" "k8s.io/klog/v2" "k8s.io/kubernetes/pkg/api/legacyscheme" podutil "k8s.io/kubernetes/pkg/api/v1/pod" + "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/securitycontext" "k8s.io/kubernetes/pkg/volume" "k8s.io/kubernetes/pkg/volume/util/types" @@ -572,15 +574,29 @@ func IsLocalEphemeralVolume(volume v1.Volume) bool { } // GetPodVolumeNames returns names of volumes that are used in a pod, -// either as filesystem mount or raw block device. -func GetPodVolumeNames(pod *v1.Pod) (mounts sets.String, devices sets.String) { +// either as filesystem mount or raw block device, together with list +// of all SELinux contexts of all containers that use the volumes. +func GetPodVolumeNames(pod *v1.Pod) (mounts sets.String, devices sets.String, seLinuxContainerContexts map[string][]*v1.SELinuxOptions) { mounts = sets.NewString() devices = sets.NewString() + seLinuxContainerContexts = make(map[string][]*v1.SELinuxOptions) podutil.VisitContainers(&pod.Spec, podutil.AllFeatureEnabledContainers(), func(container *v1.Container, containerType podutil.ContainerType) bool { + var seLinuxOptions *v1.SELinuxOptions + if utilfeature.DefaultFeatureGate.Enabled(features.SELinuxMountReadWriteOncePod) { + effectiveContainerSecurity := securitycontext.DetermineEffectiveSecurityContext(pod, container) + if effectiveContainerSecurity != nil { + // No DeepCopy, SELinuxOptions is already a copy of Pod's or container's SELinuxOptions + seLinuxOptions = effectiveContainerSecurity.SELinuxOptions + } + } + if container.VolumeMounts != nil { for _, mount := range container.VolumeMounts { mounts.Insert(mount.Name) + if seLinuxOptions != nil { + seLinuxContainerContexts[mount.Name] = append(seLinuxContainerContexts[mount.Name], seLinuxOptions.DeepCopy()) + } } } if container.VolumeDevices != nil { @@ -631,7 +647,7 @@ func HasMountRefs(mountPath string, mountRefs []string) bool { return false } -//WriteVolumeCache flush disk data given the spcified mount path +// WriteVolumeCache flush disk data given the spcified mount path func WriteVolumeCache(deviceMountPath string, exec utilexec.Interface) error { // If runtime os is windows, execute Write-VolumeCache powershell command on the disk if runtime.GOOS == "windows" { diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/volumepathhandler/volume_path_handler_linux.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/volumepathhandler/volume_path_handler_linux.go index b0031961a3be..aae1b39acb1f 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/volumepathhandler/volume_path_handler_linux.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/util/volumepathhandler/volume_path_handler_linux.go @@ -152,7 +152,8 @@ func getLoopDeviceFromSysfs(path string) (string, error) { // corresponding to map path symlink, and then return global map path with pod uuid. // (See pkg/volume/volume.go for details on a global map path and a pod device map path.) // ex. mapPath symlink: pods/{podUid}}/{DefaultKubeletVolumeDevicesDirName}/{escapeQualifiedPluginName}/{volumeName} -> /dev/sdX -// globalMapPath/{pod uuid} bind mount: plugins/kubernetes.io/{PluginName}/{DefaultKubeletVolumeDevicesDirName}/{volumePluginDependentPath}/{pod uuid} -> /dev/sdX +// +// globalMapPath/{pod uuid} bind mount: plugins/kubernetes.io/{PluginName}/{DefaultKubeletVolumeDevicesDirName}/{volumePluginDependentPath}/{pod uuid} -> /dev/sdX func (v VolumePathHandler) FindGlobalMapPathUUIDFromPod(pluginDir, mapPath string, podUID types.UID) (string, error) { var globalMapPathUUID string // Find symbolic link named pod uuid under plugin dir @@ -211,7 +212,8 @@ func compareBindMountAndSymlinks(global, pod string) (bool, error) { // getDeviceMajorMinor returns major/minor number for the path with below format: // major:minor (in hex) // ex) -// fc:10 +// +// fc:10 func getDeviceMajorMinor(path string) (string, error) { var stat unix.Stat_t diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/volume.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/volume.go index f46f7d4876a3..75c2d9061513 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/volume.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/volume.go @@ -129,6 +129,7 @@ type MounterArgs struct { FsGroup *int64 FSGroupChangePolicy *v1.PodFSGroupChangePolicy DesiredSize *resource.Quantity + SELinuxLabel string } // Mounter interface provides methods to set up/mount the volume. @@ -262,7 +263,8 @@ type Attacher interface { // DeviceMounterArgs provides auxiliary, optional arguments to DeviceMounter. type DeviceMounterArgs struct { - FsGroup *int64 + FsGroup *int64 + SELinuxLabel string } // DeviceMounter can mount a block volume to a global path. diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/vsphere_volume/vsphere_volume.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/vsphere_volume/vsphere_volume.go index 904f36886699..150726903736 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/vsphere_volume/vsphere_volume.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/pkg/volume/vsphere_volume/vsphere_volume.go @@ -104,6 +104,10 @@ func (plugin *vsphereVolumePlugin) SupportsBulkVolumeVerification() bool { return true } +func (plugin *vsphereVolumePlugin) SupportsSELinuxContextMount(spec *volume.Spec) (bool, error) { + return false, nil +} + func (plugin *vsphereVolumePlugin) NewMounter(spec *volume.Spec, pod *v1.Pod, _ volume.VolumeOptions) (volume.Mounter, error) { return plugin.newMounterInternal(spec, pod.UID, &VsphereDiskUtil{}, plugin.host.GetMounter(plugin.GetPluginName())) } diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/test/utils/admission_webhook.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/test/utils/admission_webhook.go index dbec166d2e73..5114e9951acf 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/test/utils/admission_webhook.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/test/utils/admission_webhook.go @@ -86,7 +86,8 @@ func AdmissionWebhookHandler(t *testing.T, admit func(*v1beta1.AdmissionReview) } // LocalhostCert was generated from crypto/tls/generate_cert.go with the following command: -// go run generate_cert.go --rsa-bits 2048 --host 127.0.0.1,::1,example.com --ca --start-date "Jan 1 00:00:00 1970" --duration=1000000h +// +// go run generate_cert.go --rsa-bits 2048 --host 127.0.0.1,::1,example.com --ca --start-date "Jan 1 00:00:00 1970" --duration=1000000h var LocalhostCert = []byte(`-----BEGIN CERTIFICATE----- MIIDGDCCAgCgAwIBAgIQTKCKn99d5HhQVCLln2Q+eTANBgkqhkiG9w0BAQsFADAS MRAwDgYDVQQKEwdBY21lIENvMCAXDTcwMDEwMTAwMDAwMFoYDzIwODQwMTI5MTYw diff --git a/cluster-autoscaler/vendor/k8s.io/kubernetes/test/utils/runners.go b/cluster-autoscaler/vendor/k8s.io/kubernetes/test/utils/runners.go index d3d37944f7cc..45c269014a7f 100644 --- a/cluster-autoscaler/vendor/k8s.io/kubernetes/test/utils/runners.go +++ b/cluster-autoscaler/vendor/k8s.io/kubernetes/test/utils/runners.go @@ -1319,7 +1319,7 @@ func MakePodSpec() v1.PodSpec { return v1.PodSpec{ Containers: []v1.Container{{ Name: "pause", - Image: "registry.k8s.io/pause:3.7", + Image: "registry.k8s.io/pause:3.8", Ports: []v1.ContainerPort{{ContainerPort: 80}}, Resources: v1.ResourceRequirements{ Limits: v1.ResourceList{ @@ -1741,7 +1741,7 @@ type DaemonConfig struct { func (config *DaemonConfig) Run() error { if config.Image == "" { - config.Image = "registry.k8s.io/pause:3.7" + config.Image = "registry.k8s.io/pause:3.8" } nameLabel := map[string]string{ "name": config.Name + "-daemon", diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/aws.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/aws.go index 541f741cfd1d..93ed45472b96 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/aws.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/aws.go @@ -175,7 +175,9 @@ const ServiceAnnotationLoadBalancerSSLNegotiationPolicy = "service.beta.kubernet // ServiceAnnotationLoadBalancerBEProtocol is the annotation used on the service // to specify the protocol spoken by the backend (pod) behind a listener. // If `http` (default) or `https`, an HTTPS listener that terminates the -// connection and parses headers is created. +// +// connection and parses headers is created. +// // If set to `ssl` or `tcp`, a "raw" SSL listener is used. // If set to `http` and `aws-load-balancer-ssl-cert` is not used then // a HTTP listener is used. @@ -238,9 +240,9 @@ const ServiceAnnotationLoadBalancerTargetNodeLabels = "service.beta.kubernetes.i // subnetID or subnetName from different AZs // By default, the controller will auto-discover the subnets. If there are multiple subnets per AZ, auto-discovery // will break the tie in the following order - -// 1. prefer the subnet with the correct role tag. kubernetes.io/role/elb for public and kubernetes.io/role/internal-elb for private access -// 2. prefer the subnet with the cluster tag kubernetes.io/cluster/ -// 3. prefer the subnet that is first in lexicographic order +// 1. prefer the subnet with the correct role tag. kubernetes.io/role/elb for public and kubernetes.io/role/internal-elb for private access +// 2. prefer the subnet with the cluster tag kubernetes.io/cluster/ +// 3. prefer the subnet that is first in lexicographic order const ServiceAnnotationLoadBalancerSubnets = "service.beta.kubernetes.io/aws-load-balancer-subnets" // Event key when a volume is stuck on attaching state when being attached to a volume @@ -1207,7 +1209,7 @@ func init() { creds = credentials.NewChainCredentials( []credentials.Provider{ &credentials.EnvProvider{}, - provider, + assumeRoleProvider(provider), }) } @@ -3751,8 +3753,8 @@ func (c *Cloud) buildELBSecurityGroupList(serviceName types.NamespacedName, load // sortELBSecurityGroupList returns a list of sorted securityGroupIDs based on the original order // from buildELBSecurityGroupList. The logic is: -// * securityGroups specified by ServiceAnnotationLoadBalancerSecurityGroups appears first in order -// * securityGroups specified by ServiceAnnotationLoadBalancerExtraSecurityGroups appears last in order +// - securityGroups specified by ServiceAnnotationLoadBalancerSecurityGroups appears first in order +// - securityGroups specified by ServiceAnnotationLoadBalancerExtraSecurityGroups appears last in order func (c *Cloud) sortELBSecurityGroupList(securityGroupIDs []string, annotations map[string]string) { annotatedSGList := getSGListFromAnnotation(annotations[ServiceAnnotationLoadBalancerSecurityGroups]) annotatedExtraSGList := getSGListFromAnnotation(annotations[ServiceAnnotationLoadBalancerExtraSecurityGroups]) diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/aws_assumerole_provider.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/aws_assumerole_provider.go new file mode 100644 index 000000000000..1f96538eadf5 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/aws_assumerole_provider.go @@ -0,0 +1,62 @@ +/* +Copyright 2014 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package aws + +import ( + "sync" + "time" + + "github.com/aws/aws-sdk-go/aws/credentials" +) + +const ( + invalidateCredsCacheAfter = 1 * time.Second +) + +// assumeRoleProviderWithRateLimiting makes sure we call the underlying provider only +// once after `invalidateCredsCacheAfter` period +type assumeRoleProviderWithRateLimiting struct { + provider credentials.Provider + invalidateCredsCacheAfter time.Duration + sync.RWMutex + lastError error + lastValue credentials.Value + lastRetrieveTime time.Time +} + +func assumeRoleProvider(provider credentials.Provider) credentials.Provider { + return &assumeRoleProviderWithRateLimiting{provider: provider, + invalidateCredsCacheAfter: invalidateCredsCacheAfter} +} + +func (l *assumeRoleProviderWithRateLimiting) Retrieve() (credentials.Value, error) { + l.Lock() + defer l.Unlock() + if time.Since(l.lastRetrieveTime) < l.invalidateCredsCacheAfter { + if l.lastError != nil { + return credentials.Value{}, l.lastError + } + return l.lastValue, nil + } + l.lastValue, l.lastError = l.provider.Retrieve() + l.lastRetrieveTime = time.Now() + return l.lastValue, l.lastError +} + +func (l *assumeRoleProviderWithRateLimiting) IsExpired() bool { + return l.provider.IsExpired() +} diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/aws_loadbalancer.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/aws_loadbalancer.go index f295bca546ff..6cca19b105dc 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/aws_loadbalancer.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/aws_loadbalancer.go @@ -1240,7 +1240,8 @@ func (c *Cloud) ensureLoadBalancer(namespacedName types.NamespacedName, loadBala // syncElbListeners computes a plan to reconcile the desired vs actual state of the listeners on an ELB // NOTE: there exists an O(nlgn) implementation for this function. However, as the default limit of -// listeners per elb is 100, this implementation is reduced from O(m*n) => O(n). +// +// listeners per elb is 100, this implementation is reduced from O(m*n) => O(n). func syncElbListeners(loadBalancerName string, listeners []*elb.Listener, listenerDescriptions []*elb.ListenerDescription) ([]*elb.Listener, []*int64) { foundSet := make(map[int]bool) removals := []*int64{} diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/instances.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/instances.go index 7768deb3bb28..c29703827596 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/instances.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/instances.go @@ -50,9 +50,9 @@ func (i InstanceID) awsString() *string { // KubernetesInstanceID represents the id for an instance in the kubernetes API; // the following form -// * aws://// -// * aws://// -// * +// - aws://// +// - aws://// +// - type KubernetesInstanceID string // MapToAWSInstanceID extracts the InstanceID from the KubernetesInstanceID diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/volumes.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/volumes.go index b106bd63f185..48fde1187fa6 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/volumes.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/aws/volumes.go @@ -43,9 +43,9 @@ func (i EBSVolumeID) awsString() *string { // KubernetesVolumeID represents the id for a volume in the kubernetes API; // a few forms are recognized: -// * aws:/// -// * aws:/// -// * +// - aws:/// +// - aws:/// +// - type KubernetesVolumeID string // DiskInfo returns aws disk information in easy to use manner diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_blobDiskController.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_blobDiskController.go index dd967b932f9e..905f71c6c7b4 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_blobDiskController.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_blobDiskController.go @@ -57,7 +57,7 @@ type storageAccountState struct { defaultContainerCreated bool } -//BlobDiskController : blob disk controller struct +// BlobDiskController : blob disk controller struct type BlobDiskController struct { common *controllerCommon accounts map[string]*storageAccountState @@ -227,7 +227,7 @@ func (c *BlobDiskController) deleteVhdBlob(accountName, accountKey, blobName str return blob.Delete(nil) } -//CreateBlobDisk : create a blob disk in a node +// CreateBlobDisk : create a blob disk in a node func (c *BlobDiskController) CreateBlobDisk(dataDiskName string, storageAccountType storage.SkuName, sizeGB int) (string, error) { klog.V(4).Infof("azureDisk - creating blob data disk named:%s on StorageAccountType:%s", dataDiskName, storageAccountType) @@ -253,7 +253,7 @@ func (c *BlobDiskController) CreateBlobDisk(dataDiskName string, storageAccountT return diskURI, nil } -//DeleteBlobDisk : delete a blob disk from a node +// DeleteBlobDisk : delete a blob disk from a node func (c *BlobDiskController) DeleteBlobDisk(diskURI string) error { storageAccountName, vhdName, err := diskNameAndSANameFromURI(diskURI) if err != nil { @@ -602,7 +602,7 @@ func (c *BlobDiskController) findSANameForDisk(storageAccountType storage.SkuNam return SAName, nil } -//Gets storage account exist, provisionStatus, Error if any +// Gets storage account exist, provisionStatus, Error if any func (c *BlobDiskController) getStorageAccountState(storageAccountName string) (bool, storage.ProvisioningState, error) { ctx, cancel := getContextWithCancel() defer cancel() diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_instances.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_instances.go index f02fc4e2e0f5..4af0f0dd4b4d 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_instances.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_instances.go @@ -369,7 +369,8 @@ func (az *Cloud) InstanceTypeByProviderID(ctx context.Context, providerID string // InstanceType returns the type of the specified instance. // Note that if the instance does not exist or is no longer running, we must return ("", cloudprovider.InstanceNotFound) // (Implementer Note): This is used by kubelet. Kubelet will label the node. Real log from kubelet: -// Adding node label from cloud provider: beta.kubernetes.io/instance-type=[value] +// +// Adding node label from cloud provider: beta.kubernetes.io/instance-type=[value] func (az *Cloud) InstanceType(ctx context.Context, name types.NodeName) (string, error) { // Returns "" for unmanaged nodes because azure cloud provider couldn't fetch information for them. unmanaged, err := az.IsNodeUnmanaged(string(name)) diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_loadbalancer.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_loadbalancer.go index b63194f8e9e0..13246826f69b 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_loadbalancer.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_loadbalancer.go @@ -190,7 +190,9 @@ func (az *Cloud) EnsureLoadBalancer(ctx context.Context, clusterName string, ser lbStatus, err := az.getServiceLoadBalancerStatus(service, lb) if err != nil { klog.Errorf("getServiceLoadBalancerStatus(%s) failed: %v", serviceName, err) - return nil, err + if err != cloudprovider.InstanceNotFound { + return nil, err + } } var serviceIP *string @@ -2142,7 +2144,7 @@ func shouldReleaseExistingOwnedPublicIP(existingPip *network.PublicIPAddress, lb (ipTagRequest.IPTagsRequestedByAnnotation && !areIPTagsEquivalent(currentIPTags, ipTagRequest.IPTags)) } -// ensurePIPTagged ensures the public IP of the service is tagged as configured +// ensurePIPTagged ensures the public IP of the service is tagged as configured func (az *Cloud) ensurePIPTagged(service *v1.Service, pip *network.PublicIPAddress) bool { configTags := parseTags(az.Tags) annotationTags := make(map[string]*string) diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_managedDiskController.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_managedDiskController.go index e7eb3d59e655..9eb6ba2acc80 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_managedDiskController.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_managedDiskController.go @@ -46,7 +46,7 @@ const ( diskEncryptionSetIDFormat = "/subscriptions/{subs-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSet-name}" ) -//ManagedDiskController : managed disk controller struct +// ManagedDiskController : managed disk controller struct type ManagedDiskController struct { common *controllerCommon } @@ -81,7 +81,7 @@ type ManagedDiskOptions struct { MaxShares int32 } -//CreateManagedDisk : create managed disk +// CreateManagedDisk : create managed disk func (c *ManagedDiskController) CreateManagedDisk(options *ManagedDiskOptions) (string, error) { var err error klog.V(4).Infof("azureDisk - creating new managed Name:%s StorageAccountType:%s Size:%v", options.DiskName, options.StorageAccountType, options.SizeGB) @@ -212,7 +212,7 @@ func (c *ManagedDiskController) CreateManagedDisk(options *ManagedDiskOptions) ( return diskID, nil } -//DeleteManagedDisk : delete managed disk +// DeleteManagedDisk : delete managed disk func (c *ManagedDiskController) DeleteManagedDisk(diskURI string) error { diskName := path.Base(diskURI) resourceGroup, err := getResourceGroupFromDiskURI(diskURI) diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_routes.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_routes.go index d15d2659bba7..900160ff4cc1 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_routes.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_routes.go @@ -74,8 +74,9 @@ func (op *delayedRouteOperation) wait() error { // delayedRouteUpdater defines a delayed route updater, which batches all the // route updating operations within "interval" period. // Example usage: -// op, err := updater.addRouteOperation(routeOperationAdd, route) -// err = op.wait() +// +// op, err := updater.addRouteOperation(routeOperationAdd, route) +// err = op.wait() type delayedRouteUpdater struct { az *Cloud interval time.Duration @@ -553,7 +554,7 @@ func findFirstIPByFamily(ips []string, v6 bool) (string, error) { return "", fmt.Errorf("no match found matching the ipfamily requested") } -//strips : . / +// strips : . / func cidrtoRfc1035(cidr string) string { cidr = strings.ReplaceAll(cidr, ":", "") cidr = strings.ReplaceAll(cidr, ".", "") @@ -561,7 +562,7 @@ func cidrtoRfc1035(cidr string) string { return cidr } -// ensureRouteTableTagged ensures the route table is tagged as configured +// ensureRouteTableTagged ensures the route table is tagged as configured func (az *Cloud) ensureRouteTableTagged(rt *network.RouteTable) (map[string]*string, bool) { if az.Tags == "" { return nil, false diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_standard.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_standard.go index 28ddfe0409b6..f0f0c5fad702 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_standard.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_standard.go @@ -271,8 +271,10 @@ func isInternalLoadBalancer(lb *network.LoadBalancer) bool { // SingleStack -v4 (pre v1.16) => BackendPool name == clusterName // SingleStack -v6 => BackendPool name == -IPv6 (all cluster bootstrap uses this name) // DualStack -// => IPv4 BackendPool name == clusterName -// => IPv6 BackendPool name == -IPv6 +// +// => IPv4 BackendPool name == clusterName +// => IPv6 BackendPool name == -IPv6 +// // This means: // clusters moving from IPv4 to dualstack will require no changes // clusters moving from IPv6 to dualstack will require no changes as the IPv4 backend pool will created with @@ -425,7 +427,7 @@ outer: var polyTable = crc32.MakeTable(crc32.Koopman) -//MakeCRC32 : convert string to CRC32 format +// MakeCRC32 : convert string to CRC32 format func MakeCRC32(str string) string { crc := crc32.New(polyTable) crc.Write([]byte(str)) @@ -821,7 +823,9 @@ func (as *availabilitySet) EnsureHostInPool(service *v1.Service, nodeName types. } klog.Errorf("error: az.EnsureHostInPool(%s), az.VMSet.GetPrimaryInterface.Get(%s, %s), err=%v", nodeName, vmName, vmSetName, err) - return "", "", "", nil, err + if err != cloudprovider.InstanceNotFound { + return "", "", "", nil, err + } } if nic.ProvisioningState != nil && *nic.ProvisioningState == nicFailedState { diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_vmss.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_vmss.go index c6b18407467f..cdc43a6ee9bd 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_vmss.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_vmss.go @@ -359,10 +359,10 @@ func (ss *scaleSet) GetInstanceIDByNodeName(name string) (string, error) { // GetNodeNameByProviderID gets the node name by provider ID. // providerID example: -// 1. vmas providerID: azure:///subscriptions/subsid/resourceGroups/rg/providers/Microsoft.Compute/virtualMachines/aks-nodepool1-27053986-0 -// 2. vmss providerID: -// azure:///subscriptions/subsid/resourceGroups/rg/providers/Microsoft.Compute/virtualMachineScaleSets/aks-agentpool-22126781-vmss/virtualMachines/1 -// /subscriptions/subsid/resourceGroups/rg/providers/Microsoft.Compute/virtualMachineScaleSets/aks-agentpool-22126781-vmss/virtualMachines/k8s-agentpool-36841236-vmss_1 +// 1. vmas providerID: azure:///subscriptions/subsid/resourceGroups/rg/providers/Microsoft.Compute/virtualMachines/aks-nodepool1-27053986-0 +// 2. vmss providerID: +// azure:///subscriptions/subsid/resourceGroups/rg/providers/Microsoft.Compute/virtualMachineScaleSets/aks-agentpool-22126781-vmss/virtualMachines/1 +// /subscriptions/subsid/resourceGroups/rg/providers/Microsoft.Compute/virtualMachineScaleSets/aks-agentpool-22126781-vmss/virtualMachines/k8s-agentpool-36841236-vmss_1 func (ss *scaleSet) GetNodeNameByProviderID(providerID string) (types.NodeName, error) { // NodeName is not part of providerID for vmss instances. scaleSetName, err := extractScaleSetNameByProviderID(providerID) diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_wrap.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_wrap.go index 915051529f9f..9ebdec2d0657 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_wrap.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/azure/azure_wrap.go @@ -62,9 +62,9 @@ func checkResourceExistsFromError(err *retry.Error) (bool, *retry.Error) { return false, err } -/// getVirtualMachine calls 'VirtualMachinesClient.Get' with a timed cache -/// The service side has throttling control that delays responses if there are multiple requests onto certain vm -/// resource request in short period. +// / getVirtualMachine calls 'VirtualMachinesClient.Get' with a timed cache +// / The service side has throttling control that delays responses if there are multiple requests onto certain vm +// / resource request in short period. func (az *Cloud) getVirtualMachine(nodeName types.NodeName, crt azcache.AzureCacheReadType) (vm compute.VirtualMachine, err error) { vmName := string(nodeName) cachedVM, err := az.vmCache.Get(vmName, crt) diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/gce/gce_loadbalancer_external.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/gce/gce_loadbalancer_external.go index f82b748e9040..b95ad4166c03 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/gce/gce_loadbalancer_external.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/gce/gce_loadbalancer_external.go @@ -23,6 +23,7 @@ import ( "context" "fmt" "net/http" + "reflect" "strconv" "strings" @@ -902,6 +903,13 @@ func (g *Cloud) firewallNeedsUpdate(name, serviceName, ipAddress string, ports [ if !sourceRanges.Equal(actualSourceRanges) { return true, true, nil } + + destinationRanges := []string{ipAddress} + + if !reflect.DeepEqual(destinationRanges, fw.DestinationRanges) { + return true, true, nil + } + return true, false, nil } diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/gce/gce_loadbalancer_internal.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/gce/gce_loadbalancer_internal.go index ae8ef31ed1f0..179c2567e0e7 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/gce/gce_loadbalancer_internal.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/gce/gce_loadbalancer_internal.go @@ -776,6 +776,7 @@ func firewallRuleEqual(a, b *compute.Firewall) bool { a.Allowed[0].IPProtocol == b.Allowed[0].IPProtocol && equalStringSets(a.Allowed[0].Ports, b.Allowed[0].Ports) && equalStringSets(a.SourceRanges, b.SourceRanges) && + equalStringSets(a.DestinationRanges, b.DestinationRanges) && equalStringSets(a.TargetTags, b.TargetTags) } diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/gce/gce_util.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/gce/gce_util.go index 0a2729dd88cf..035ff25bbebe 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/gce/gce_util.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/gce/gce_util.go @@ -78,6 +78,7 @@ func fakeGCECloud(vals TestClusterValues) (*Cloud, error) { mockGCE.MockRegionBackendServices.UpdateHook = mock.UpdateRegionBackendServiceHook mockGCE.MockHealthChecks.UpdateHook = mock.UpdateHealthCheckHook mockGCE.MockFirewalls.UpdateHook = mock.UpdateFirewallHook + mockGCE.MockFirewalls.PatchHook = mock.UpdateFirewallHook keyGA := meta.GlobalKey("key-ga") mockGCE.MockZones.Objects[*keyGA] = &cloud.MockZonesObj{ @@ -372,7 +373,7 @@ func removeFinalizer(service *v1.Service, kubeClient v1core.CoreV1Interface, key return err } -//hasFinalizer returns if the given service has the specified key in its list of finalizers. +// hasFinalizer returns if the given service has the specified key in its list of finalizers. func hasFinalizer(service *v1.Service, key string) bool { for _, finalizer := range service.ObjectMeta.Finalizers { if finalizer == key { diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/openstack/openstack_loadbalancer.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/openstack/openstack_loadbalancer.go index 8a29760d92d7..c735fbc0929b 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/openstack/openstack_loadbalancer.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/openstack/openstack_loadbalancer.go @@ -522,7 +522,7 @@ func nodeAddressForLB(node *v1.Node) (string, error) { return "", ErrNoAddressFound } -//getStringFromServiceAnnotation searches a given v1.Service for a specific annotationKey and either returns the annotation's value or a specified defaultSetting +// getStringFromServiceAnnotation searches a given v1.Service for a specific annotationKey and either returns the annotation's value or a specified defaultSetting func getStringFromServiceAnnotation(service *v1.Service, annotationKey string, defaultSetting string) string { klog.V(4).Infof("getStringFromServiceAnnotation(%v, %v, %v)", service, annotationKey, defaultSetting) if annotationValue, ok := service.Annotations[annotationKey]; ok { diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/vsphere/nodemanager.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/vsphere/nodemanager.go index 65586e0ea509..d7b826b7d7c6 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/vsphere/nodemanager.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/vsphere/nodemanager.go @@ -437,9 +437,9 @@ func (nodeInfo *NodeInfo) VM() *vclib.VirtualMachine { // vcConnect connects to vCenter with existing credentials // If credentials are invalid: -// 1. It will fetch credentials from credentialManager -// 2. Update the credentials -// 3. Connects again to vCenter with fetched credentials +// 1. It will fetch credentials from credentialManager +// 2. Update the credentials +// 3. Connects again to vCenter with fetched credentials func (nm *NodeManager) vcConnect(ctx context.Context, vsphereInstance *VSphereInstance) error { err := vsphereInstance.conn.Connect(ctx) if err == nil { diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/vsphere/vclib/connection.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/vsphere/vclib/connection.go index 44d8f4a9dcd1..761d85b75ebe 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/vsphere/vclib/connection.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/vsphere/vclib/connection.go @@ -29,9 +29,8 @@ import ( "github.com/vmware/govmomi/sts" "github.com/vmware/govmomi/vim25" "github.com/vmware/govmomi/vim25/soap" - "k8s.io/klog/v2" - "k8s.io/client-go/pkg/version" + "k8s.io/klog/v2" ) // VSphereConnection contains information for connecting to vCenter @@ -218,16 +217,12 @@ func (connection *VSphereConnection) NewClient(ctx context.Context) (*vim25.Clie connection.RoundTripperCount = RoundTripperDefaultCount } client.RoundTripper = vim25.Retry(client.RoundTripper, vim25.TemporaryNetworkError(int(connection.RoundTripperCount))) - vcdeprecated, err := isvCenterDeprecated(client.ServiceContent.About.Version, client.ServiceContent.About.ApiVersion) + vcNotSupported, err := isvCenterNotSupported(client.ServiceContent.About.Version, client.ServiceContent.About.ApiVersion) if err != nil { - klog.Errorf("failed to check if vCenter version:%v and api version: %s is deprecated. Error: %v", client.ServiceContent.About.Version, client.ServiceContent.About.ApiVersion, err) - } - if vcdeprecated { - // After this deprecation, vSphere 6.5 support period is extended to October 15, 2022 as - // https://blogs.vmware.com/vsphere/2021/03/announcing-limited-extension-of-vmware-vsphere-6-5-general-support-period.html - // In addition, the external vSphere cloud provider does not support vSphere 6.5. - // Please keep vSphere 6.5 support til the period. - klog.Warningf("vCenter is deprecated. version: %s, api verson: %s Please consider upgrading vCenter and ESXi servers to 6.7u3 or higher", client.ServiceContent.About.Version, client.ServiceContent.About.ApiVersion) + klog.Errorf("failed to check if vCenter version:%v and api version: %s is supported or not. Error: %v", client.ServiceContent.About.Version, client.ServiceContent.About.ApiVersion, err) + } + if vcNotSupported { + klog.Warningf("vCenter version (version: %q, api verson: %q) is not supported for CSI Migration. Please consider upgrading vCenter and ESXi servers to 7.0u2 or higher for migrating vSphere volumes to CSI.", client.ServiceContent.About.Version, client.ServiceContent.About.ApiVersion) } return client, nil } diff --git a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/vsphere/vclib/utils.go b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/vsphere/vclib/utils.go index 3662248d596f..da468b3c86bb 100644 --- a/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/vsphere/vclib/utils.go +++ b/cluster-autoscaler/vendor/k8s.io/legacy-cloud-providers/vsphere/vclib/utils.go @@ -146,7 +146,7 @@ func GetPathFromVMDiskPath(vmDiskPath string) string { return datastorePathObj.Path } -//GetDatastorePathObjFromVMDiskPath gets the datastorePathObj from VM disk path. +// GetDatastorePathObjFromVMDiskPath gets the datastorePathObj from VM disk path. func GetDatastorePathObjFromVMDiskPath(vmDiskPath string) (*object.DatastorePath, error) { datastorePathObj := new(object.DatastorePath) isSuccess := datastorePathObj.FromString(vmDiskPath) @@ -157,7 +157,7 @@ func GetDatastorePathObjFromVMDiskPath(vmDiskPath string) (*object.DatastorePath return datastorePathObj, nil } -//IsValidUUID checks if the string is a valid UUID. +// IsValidUUID checks if the string is a valid UUID. func IsValidUUID(uuid string) bool { r := regexp.MustCompile("^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$") return r.MatchString(uuid) @@ -201,8 +201,9 @@ func VerifyVolumePathsForVMDevices(vmDevices object.VirtualDeviceList, volPaths } -// isvCenterDeprecated takes vCenter version and vCenter API version as input and return true if vCenter is deprecated -func isvCenterDeprecated(vCenterVersion string, vCenterAPIVersion string) (bool, error) { +// isvCenterNotSupported takes vCenter version and vCenter API version as input and return true if vCenter is no longer +// supported by VMware for in-tree vSphere volume plugin +func isvCenterNotSupported(vCenterVersion string, vCenterAPIVersion string) (bool, error) { var vcversion, vcapiversion, minvcversion vcVersion var err error err = vcversion.parse(vCenterVersion) diff --git a/cluster-autoscaler/vendor/k8s.io/mount-utils/fake_mounter.go b/cluster-autoscaler/vendor/k8s.io/mount-utils/fake_mounter.go index 55ea5e2986b2..5a5701598837 100644 --- a/cluster-autoscaler/vendor/k8s.io/mount-utils/fake_mounter.go +++ b/cluster-autoscaler/vendor/k8s.io/mount-utils/fake_mounter.go @@ -32,8 +32,9 @@ type FakeMounter struct { MountCheckErrors map[string]error // Some tests run things in parallel, make sure the mounter does not produce // any golang's DATA RACE warnings. - mutex sync.Mutex - UnmountFunc UnmountFunc + mutex sync.Mutex + UnmountFunc UnmountFunc + skipMountPointCheck bool } // UnmountFunc is a function callback to be executed during the Unmount() call. @@ -64,6 +65,11 @@ func NewFakeMounter(mps []MountPoint) *FakeMounter { } } +func (f *FakeMounter) WithSkipMountPointCheck() *FakeMounter { + f.skipMountPointCheck = true + return f +} + // ResetLog clears all the log entries in FakeMounter func (f *FakeMounter) ResetLog() { f.mutex.Lock() @@ -212,6 +218,18 @@ func (f *FakeMounter) IsLikelyNotMountPoint(file string) (bool, error) { return true, nil } +func (f *FakeMounter) canSafelySkipMountPointCheck() bool { + return f.skipMountPointCheck +} + +func (f *FakeMounter) IsMountPoint(file string) (bool, error) { + notMnt, err := f.IsLikelyNotMountPoint(file) + if err != nil { + return false, err + } + return !notMnt, nil +} + // GetMountRefs finds all mount references to the path, returns a // list of paths. func (f *FakeMounter) GetMountRefs(pathname string) ([]string, error) { diff --git a/cluster-autoscaler/vendor/k8s.io/mount-utils/go.mod b/cluster-autoscaler/vendor/k8s.io/mount-utils/go.mod deleted file mode 100644 index 9c18b0be4f7f..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/mount-utils/go.mod +++ /dev/null @@ -1,21 +0,0 @@ -// This is a generated file. Do not edit directly. - -module k8s.io/mount-utils - -go 1.18 - -require ( - github.com/stretchr/testify v1.7.0 - k8s.io/klog/v2 v2.70.0 - k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 -) - -require ( - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/go-logr/logr v1.2.3 // indirect - github.com/kr/text v0.2.0 // indirect - github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect -) diff --git a/cluster-autoscaler/vendor/k8s.io/mount-utils/go.sum b/cluster-autoscaler/vendor/k8s.io/mount-utils/go.sum deleted file mode 100644 index e1a87670da43..000000000000 --- a/cluster-autoscaler/vendor/k8s.io/mount-utils/go.sum +++ /dev/null @@ -1,33 +0,0 @@ -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= -github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= -github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE= -k8s.io/klog/v2 v2.70.0 h1:GMmmjoFOrNepPN0ZeGCzvD2Gh5IKRwdFx8W5PBxVTQU= -k8s.io/klog/v2 v2.70.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 h1:HNSDgDCrr/6Ly3WEGKZftiE7IY19Vz2GdbOCyI4qqhc= -k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= diff --git a/cluster-autoscaler/vendor/k8s.io/mount-utils/mount.go b/cluster-autoscaler/vendor/k8s.io/mount-utils/mount.go index a882fcc73991..c42836f06c40 100644 --- a/cluster-autoscaler/vendor/k8s.io/mount-utils/mount.go +++ b/cluster-autoscaler/vendor/k8s.io/mount-utils/mount.go @@ -21,7 +21,6 @@ package mount import ( "fmt" - "os" "path/filepath" "strings" "time" @@ -66,6 +65,18 @@ type Interface interface { // care about such situations, this is a faster alternative to calling List() // and scanning that output. IsLikelyNotMountPoint(file string) (bool, error) + // canSafelySkipMountPointCheck indicates whether this mounter returns errors on + // operations for targets that are not mount points. If this returns true, no such + // errors will be returned. + canSafelySkipMountPointCheck() bool + // IsMountPoint determines if a directory is a mountpoint. + // It should return ErrNotExist when the directory does not exist. + // IsMountPoint is more expensive than IsLikelyNotMountPoint. + // IsMountPoint detects bind mounts in linux. + // IsMountPoint may enumerate all the mountpoints using List() and + // the list of mountpoints may be large, then it uses + // isMountPointMatch to evaluate whether the directory is a mountpoint. + IsMountPoint(file string) (bool, error) // GetMountRefs finds all mount references to pathname, returning a slice of // paths. Pathname can be a mountpoint path or a normal directory // (for bind mount). On Linux, pathname is excluded from the slice. @@ -187,6 +198,24 @@ func getMountRefsByDev(mounter Interface, mountPath string) ([]string, error) { return refs, nil } +// IsNotMountPoint determines if a directory is a mountpoint. +// It should return ErrNotExist when the directory does not exist. +// IsNotMountPoint is more expensive than IsLikelyNotMountPoint +// and depends on IsMountPoint. +// +// If an error occurs, it returns true (assuming it is not a mountpoint) +// when ErrNotExist is returned for callers similar to IsLikelyNotMountPoint. +// +// Deprecated: This function is kept to keep changes backward compatible with +// previous library version. Callers should prefer mounter.IsMountPoint. +func IsNotMountPoint(mounter Interface, file string) (bool, error) { + isMnt, err := mounter.IsMountPoint(file) + if err != nil { + return true, err + } + return !isMnt, nil +} + // GetDeviceNameFromMount given a mnt point, find the device from /proc/mounts // returns the device name, reference count, and error code. func GetDeviceNameFromMount(mounter Interface, mountPath string) (string, int, error) { @@ -220,56 +249,11 @@ func GetDeviceNameFromMount(mounter Interface, mountPath string) (string, int, e return device, refCount, nil } -// IsNotMountPoint determines if a directory is a mountpoint. -// It should return ErrNotExist when the directory does not exist. -// IsNotMountPoint is more expensive than IsLikelyNotMountPoint. -// IsNotMountPoint detects bind mounts in linux. -// IsNotMountPoint enumerates all the mountpoints using List() and -// the list of mountpoints may be large, then it uses -// isMountPointMatch to evaluate whether the directory is a mountpoint. -func IsNotMountPoint(mounter Interface, file string) (bool, error) { - // IsLikelyNotMountPoint provides a quick check - // to determine whether file IS A mountpoint. - notMnt, notMntErr := mounter.IsLikelyNotMountPoint(file) - if notMntErr != nil && os.IsPermission(notMntErr) { - // We were not allowed to do the simple stat() check, e.g. on NFS with - // root_squash. Fall back to /proc/mounts check below. - notMnt = true - notMntErr = nil - } - if notMntErr != nil { - return notMnt, notMntErr - } - // identified as mountpoint, so return this fact. - if notMnt == false { - return notMnt, nil - } - - // Resolve any symlinks in file, kernel would do the same and use the resolved path in /proc/mounts. - resolvedFile, err := filepath.EvalSymlinks(file) - if err != nil { - return true, err - } - - // check all mountpoints since IsLikelyNotMountPoint - // is not reliable for some mountpoint types. - mountPoints, mountPointsErr := mounter.List() - if mountPointsErr != nil { - return notMnt, mountPointsErr - } - for _, mp := range mountPoints { - if isMountPointMatch(mp, resolvedFile) { - notMnt = false - break - } - } - return notMnt, nil -} - // MakeBindOpts detects whether a bind mount is being requested and makes the remount options to // use in case of bind mount, due to the fact that bind mount doesn't respect mount options. // The list equals: -// options - 'bind' + 'remount' (no duplicate) +// +// options - 'bind' + 'remount' (no duplicate) func MakeBindOpts(options []string) (bool, []string, []string) { bind, bindOpts, bindRemountOpts, _ := MakeBindOptsSensitive(options, nil /* sensitiveOptions */) return bind, bindOpts, bindRemountOpts diff --git a/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_helper_common.go b/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_helper_common.go index 196ae30ad1a7..dc4131d78e36 100644 --- a/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_helper_common.go +++ b/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_helper_common.go @@ -31,7 +31,7 @@ import ( func CleanupMountPoint(mountPath string, mounter Interface, extensiveMountPointCheck bool) error { pathExists, pathErr := PathExists(mountPath) if !pathExists && pathErr == nil { - klog.Warningf("Warning: Unmount skipped because path does not exist: %v", mountPath) + klog.Warningf("Warning: mount cleanup skipped because path does not exist: %v", mountPath) return nil } corruptedMnt := IsCorruptedMnt(pathErr) @@ -44,36 +44,41 @@ func CleanupMountPoint(mountPath string, mounter Interface, extensiveMountPointC func CleanupMountWithForce(mountPath string, mounter MounterForceUnmounter, extensiveMountPointCheck bool, umountTimeout time.Duration) error { pathExists, pathErr := PathExists(mountPath) if !pathExists && pathErr == nil { - klog.Warningf("Warning: Unmount skipped because path does not exist: %v", mountPath) + klog.Warningf("Warning: mount cleanup skipped because path does not exist: %v", mountPath) return nil } corruptedMnt := IsCorruptedMnt(pathErr) if pathErr != nil && !corruptedMnt { return fmt.Errorf("Error checking path: %v", pathErr) } - var notMnt bool - var err error - if !corruptedMnt { - notMnt, err = removePathIfNotMountPoint(mountPath, mounter, extensiveMountPointCheck) - // if mountPath was not a mount point - we would have attempted to remove mountPath - // and hence return errors if any. - if err != nil || notMnt { + + if corruptedMnt || mounter.canSafelySkipMountPointCheck() { + klog.V(4).Infof("unmounting %q (corruptedMount: %t, mounterCanSkipMountPointChecks: %t)", + mountPath, corruptedMnt, mounter.canSafelySkipMountPointCheck()) + if err := mounter.UnmountWithForce(mountPath, umountTimeout); err != nil { return err } + return removePath(mountPath) + } + + notMnt, err := removePathIfNotMountPoint(mountPath, mounter, extensiveMountPointCheck) + // if mountPath is not a mount point, it's just been removed or there was an error + if err != nil || notMnt { + return err } - // Unmount the mount path klog.V(4).Infof("%q is a mountpoint, unmounting", mountPath) if err := mounter.UnmountWithForce(mountPath, umountTimeout); err != nil { return err } notMnt, err = removePathIfNotMountPoint(mountPath, mounter, extensiveMountPointCheck) - // mountPath is not a mount point we should return whatever error we saw + // if mountPath is not a mount point, it's either just been removed or there was an error if notMnt { return err } - return fmt.Errorf("Failed to unmount path %v", mountPath) + // mountPath is still a mount point + return fmt.Errorf("failed to cleanup mount point %v", mountPath) } // doCleanupMountPoint unmounts the given path and @@ -82,31 +87,35 @@ func CleanupMountWithForce(mountPath string, mounter MounterForceUnmounter, exte // IsNotMountPoint will be called instead of IsLikelyNotMountPoint. // IsNotMountPoint is more expensive but properly handles bind mounts within the same fs. // if corruptedMnt is true, it means that the mountPath is a corrupted mountpoint, and the mount point check -// will be skipped +// will be skipped. The mount point check will also be skipped if the mounter supports it. func doCleanupMountPoint(mountPath string, mounter Interface, extensiveMountPointCheck bool, corruptedMnt bool) error { - var notMnt bool - var err error - if !corruptedMnt { - notMnt, err = removePathIfNotMountPoint(mountPath, mounter, extensiveMountPointCheck) - // if mountPath was not a mount point - we would have attempted to remove mountPath - // and hence return errors if any. - if err != nil || notMnt { + if corruptedMnt || mounter.canSafelySkipMountPointCheck() { + klog.V(4).Infof("unmounting %q (corruptedMount: %t, mounterCanSkipMountPointChecks: %t)", + mountPath, corruptedMnt, mounter.canSafelySkipMountPointCheck()) + if err := mounter.Unmount(mountPath); err != nil { return err } + return removePath(mountPath) + } + + notMnt, err := removePathIfNotMountPoint(mountPath, mounter, extensiveMountPointCheck) + // if mountPath is not a mount point, it's just been removed or there was an error + if err != nil || notMnt { + return err } - // Unmount the mount path klog.V(4).Infof("%q is a mountpoint, unmounting", mountPath) if err := mounter.Unmount(mountPath); err != nil { return err } notMnt, err = removePathIfNotMountPoint(mountPath, mounter, extensiveMountPointCheck) - // mountPath is not a mount point we should return whatever error we saw + // if mountPath is not a mount point, it's either just been removed or there was an error if notMnt { return err } - return fmt.Errorf("Failed to unmount path %v", mountPath) + // mountPath is still a mount point + return fmt.Errorf("failed to cleanup mount point %v", mountPath) } // removePathIfNotMountPoint verifies if given mountPath is a mount point if not it attempts @@ -135,3 +144,14 @@ func removePathIfNotMountPoint(mountPath string, mounter Interface, extensiveMou } return notMnt, nil } + +// removePath attempts to remove the directory. Returns nil if the directory was removed or does not exist. +func removePath(mountPath string) error { + klog.V(4).Infof("Warning: deleting path %q", mountPath) + err := os.Remove(mountPath) + if os.IsNotExist(err) { + klog.V(4).Infof("%q does not exist", mountPath) + return nil + } + return err +} diff --git a/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_linux.go b/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_linux.go index aaa592161d4c..86323b71234b 100644 --- a/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_linux.go +++ b/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_linux.go @@ -21,7 +21,11 @@ package mount import ( "context" + "errors" "fmt" + "github.com/moby/sys/mountinfo" + "io/fs" + "io/ioutil" "os" "os/exec" "path/filepath" @@ -48,14 +52,18 @@ const ( fsckErrorsUncorrected = 4 // Error thrown by exec cmd.Run() when process spawned by cmd.Start() completes before cmd.Wait() is called (see - k/k issue #103753) errNoChildProcesses = "wait: no child processes" + // Error returned by some `umount` implementations when the specified path is not a mount point + errNotMounted = "not mounted" ) // Mounter provides the default implementation of mount.Interface // for the linux platform. This implementation assumes that the // kubelet is running in the host's root mount namespace. type Mounter struct { - mounterPath string - withSystemd bool + mounterPath string + withSystemd *bool + trySystemd bool + withSafeNotMountedBehavior bool } var _ MounterForceUnmounter = &Mounter{} @@ -65,11 +73,39 @@ var _ MounterForceUnmounter = &Mounter{} // mounterPath allows using an alternative to `/bin/mount` for mounting. func New(mounterPath string) Interface { return &Mounter{ - mounterPath: mounterPath, - withSystemd: detectSystemd(), + mounterPath: mounterPath, + trySystemd: true, + withSafeNotMountedBehavior: detectSafeNotMountedBehavior(), } } +// NewWithoutSystemd returns a Linux specific mount.Interface for the current +// system. It provides options to override the default mounter behavior. +// mounterPath allows using an alternative to `/bin/mount` for mounting. Any +// detection for systemd functionality is disabled with this Mounter. +func NewWithoutSystemd(mounterPath string) Interface { + return &Mounter{ + mounterPath: mounterPath, + trySystemd: false, + withSafeNotMountedBehavior: detectSafeNotMountedBehavior(), + } +} + +// hasSystemd validates that the withSystemd bool is set, if it is not, +// detectSystemd will be called once for this Mounter instance. +func (mounter *Mounter) hasSystemd() bool { + if !mounter.trySystemd { + mounter.withSystemd = &mounter.trySystemd + } + + if mounter.withSystemd == nil { + withSystemd := detectSystemd() + mounter.withSystemd = &withSystemd + } + + return *mounter.withSystemd +} + // Mount mounts source to target as fstype with given options. 'source' and 'fstype' must // be an empty string in case it's not required, e.g. for remount, or for auto filesystem // type, where kernel handles fstype for you. The mount 'options' is a list of options, @@ -90,11 +126,11 @@ func (mounter *Mounter) MountSensitive(source string, target string, fstype stri mounterPath := "" bind, bindOpts, bindRemountOpts, bindRemountOptsSensitive := MakeBindOptsSensitive(options, sensitiveOptions) if bind { - err := mounter.doMount(mounterPath, defaultMountCommand, source, target, fstype, bindOpts, bindRemountOptsSensitive, nil /* mountFlags */, true) + err := mounter.doMount(mounterPath, defaultMountCommand, source, target, fstype, bindOpts, bindRemountOptsSensitive, nil /* mountFlags */, mounter.trySystemd) if err != nil { return err } - return mounter.doMount(mounterPath, defaultMountCommand, source, target, fstype, bindRemountOpts, bindRemountOptsSensitive, nil /* mountFlags */, true) + return mounter.doMount(mounterPath, defaultMountCommand, source, target, fstype, bindRemountOpts, bindRemountOptsSensitive, nil /* mountFlags */, mounter.trySystemd) } // The list of filesystems that require containerized mounter on GCI image cluster fsTypesNeedMounter := map[string]struct{}{ @@ -106,7 +142,7 @@ func (mounter *Mounter) MountSensitive(source string, target string, fstype stri if _, ok := fsTypesNeedMounter[fstype]; ok { mounterPath = mounter.mounterPath } - return mounter.doMount(mounterPath, defaultMountCommand, source, target, fstype, options, sensitiveOptions, nil /* mountFlags */, true) + return mounter.doMount(mounterPath, defaultMountCommand, source, target, fstype, options, sensitiveOptions, nil /* mountFlags */, mounter.trySystemd) } // MountSensitiveWithoutSystemd is the same as MountSensitive() but disable using systemd mount. @@ -149,7 +185,7 @@ func (mounter *Mounter) doMount(mounterPath string, mountCmd string, source stri mountCmd = mounterPath } - if mounter.withSystemd && systemdMountRequired { + if systemdMountRequired && mounter.hasSystemd() { // Try to run mount via systemd-run --scope. This will escape the // service where kubelet runs and any fuse daemons will be started in a // specific scope. kubelet service than can be restarted without killing @@ -223,6 +259,36 @@ func detectSystemd() bool { return true } +// detectSafeNotMountedBehavior returns true if the umount implementation replies "not mounted" +// when the specified path is not mounted. When not sure (permission errors, ...), it returns false. +// When possible, we will trust umount's message and avoid doing our own mount point checks. +// More info: https://github.com/util-linux/util-linux/blob/v2.2/mount/umount.c#L179 +func detectSafeNotMountedBehavior() bool { + return detectSafeNotMountedBehaviorWithExec(utilexec.New()) +} + +// detectSafeNotMountedBehaviorWithExec is for testing with FakeExec. +func detectSafeNotMountedBehaviorWithExec(exec utilexec.Interface) bool { + // create a temp dir and try to umount it + path, err := ioutil.TempDir("", "kubelet-detect-safe-umount") + if err != nil { + klog.V(4).Infof("Cannot create temp dir to detect safe 'not mounted' behavior: %v", err) + return false + } + defer os.RemoveAll(path) + cmd := exec.Command("umount", path) + output, err := cmd.CombinedOutput() + if err != nil { + if strings.Contains(string(output), errNotMounted) { + klog.V(4).Infof("Detected umount with safe 'not mounted' behavior") + return true + } + klog.V(4).Infof("'umount %s' failed with: %v, output: %s", path, err, string(output)) + } + klog.V(4).Infof("Detected umount with unsafe 'not mounted' behavior") + return false +} + // MakeMountArgs makes the arguments to the mount(8) command. // options MUST not contain sensitive material (like passwords). func MakeMountArgs(source, target, fstype string, options []string) (mountArgs []string) { @@ -290,6 +356,7 @@ func AddSystemdScopeSensitive(systemdRunPath, mountName, command string, args [] } // Unmount unmounts the target. +// If the mounter has safe "not mounted" behavior, no error will be returned when the target is not a mount point. func (mounter *Mounter) Unmount(target string) error { klog.V(4).Infof("Unmounting %s", target) command := exec.Command("umount", target) @@ -303,6 +370,10 @@ func (mounter *Mounter) Unmount(target string) error { // Rewrite err with the actual exit error of the process. err = &exec.ExitError{ProcessState: command.ProcessState} } + if mounter.withSafeNotMountedBehavior && strings.Contains(string(output), errNotMounted) { + klog.V(4).Infof("ignoring 'not mounted' error for %s", target) + return nil + } return fmt.Errorf("unmount failed: %v\nUnmounting arguments: %s\nOutput: %s", err, target, string(output)) } return nil @@ -351,6 +422,11 @@ func (mounter *Mounter) IsLikelyNotMountPoint(file string) (bool, error) { return true, nil } +// canSafelySkipMountPointCheck relies on the detected behavior of umount when given a target that is not a mount point. +func (mounter *Mounter) canSafelySkipMountPointCheck() bool { + return mounter.withSafeNotMountedBehavior +} + // GetMountRefs finds all mount references to pathname, returns a // list of paths. Path could be a mountpoint or a normal // directory (for bind mount). @@ -637,6 +713,63 @@ func SearchMountPoints(hostSource, mountInfoPath string) ([]string, error) { return refs, nil } +// IsMountPoint determines if a file is a mountpoint. +// It first detects bind & any other mountpoints using +// MountedFast function. If the MountedFast function returns +// sure as true and err as nil, then a mountpoint is detected +// successfully. When an error is returned by MountedFast, the +// following is true: +// 1. All errors are returned with IsMountPoint as false +// except os.IsPermission. +// 2. When os.IsPermission is returned by MountedFast, List() +// is called to confirm if the given file is a mountpoint are not. +// +// os.ErrNotExist should always be returned if a file does not exist +// as callers have in past relied on this error and not fallback. +// +// When MountedFast returns sure as false and err as nil (eg: in +// case of bindmounts on kernel version 5.10- ); mounter.List() +// endpoint is called to enumerate all the mountpoints and check if +// it is mountpoint match or not. +func (mounter *Mounter) IsMountPoint(file string) (bool, error) { + isMnt, sure, isMntErr := mountinfo.MountedFast(file) + if sure && isMntErr == nil { + return isMnt, nil + } + if isMntErr != nil { + if errors.Is(isMntErr, fs.ErrNotExist) { + return false, fs.ErrNotExist + } + // We were not allowed to do the simple stat() check, e.g. on NFS with + // root_squash. Fall back to /proc/mounts check below when + // fs.ErrPermission is returned. + if !errors.Is(isMntErr, fs.ErrPermission) { + return false, isMntErr + } + } + // Resolve any symlinks in file, kernel would do the same and use the resolved path in /proc/mounts. + resolvedFile, err := filepath.EvalSymlinks(file) + if err != nil { + if errors.Is(isMntErr, fs.ErrNotExist) { + return false, fs.ErrNotExist + } + return false, err + } + + // check all mountpoints since MountedFast is not sure. + // is not reliable for some mountpoint types. + mountPoints, mountPointsErr := mounter.List() + if mountPointsErr != nil { + return false, mountPointsErr + } + for _, mp := range mountPoints { + if isMountPointMatch(mp, resolvedFile) { + return true, nil + } + } + return false, nil +} + // tryUnmount calls plain "umount" and waits for unmountTimeout for it to finish. func tryUnmount(path string, unmountTimeout time.Duration) error { klog.V(4).Infof("Unmounting %s", path) diff --git a/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_unsupported.go b/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_unsupported.go index 93ba9b2e3f9b..026505282ced 100644 --- a/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_unsupported.go +++ b/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_unsupported.go @@ -74,6 +74,17 @@ func (mounter *Mounter) IsLikelyNotMountPoint(file string) (bool, error) { return true, errUnsupported } +// canSafelySkipMountPointCheck always returns false on unsupported platforms +func (mounter *Mounter) canSafelySkipMountPointCheck() bool { + return false +} + +// IsMountPoint determines if a directory is a mountpoint. +// It always returns an error on unsupported platforms. +func (mounter *Mounter) IsMountPoint(file string) (bool, error) { + return false, errUnsupported +} + // GetMountRefs always returns an error on unsupported platforms func (mounter *Mounter) GetMountRefs(pathname string) ([]string, error) { return nil, errUnsupported @@ -86,3 +97,9 @@ func (mounter *SafeFormatAndMount) formatAndMountSensitive(source string, target func (mounter *SafeFormatAndMount) diskLooksUnformatted(disk string) (bool, error) { return true, errUnsupported } + +// IsMountPoint determines if a directory is a mountpoint. +// It always returns an error on unsupported platforms. +func (mounter *SafeFormatAndMount) IsMountPoint(file string) (bool, error) { + return false, errUnsupported +} diff --git a/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_windows.go b/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_windows.go index 3286a69c46b5..3800f75d4ac8 100644 --- a/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_windows.go +++ b/cluster-autoscaler/vendor/k8s.io/mount-utils/mount_windows.go @@ -244,6 +244,20 @@ func (mounter *Mounter) IsLikelyNotMountPoint(file string) (bool, error) { return true, nil } +// canSafelySkipMountPointCheck always returns false on Windows +func (mounter *Mounter) canSafelySkipMountPointCheck() bool { + return false +} + +// IsMountPoint: determines if a directory is a mountpoint. +func (mounter *Mounter) IsMountPoint(file string) (bool, error) { + isNotMnt, err := mounter.IsLikelyNotMountPoint(file) + if err != nil { + return false, err + } + return !isNotMnt, nil +} + // GetMountRefs : empty implementation here since there is no place to query all mount points on Windows func (mounter *Mounter) GetMountRefs(pathname string) ([]string, error) { windowsPath := NormalizeWindowsPath(pathname) diff --git a/cluster-autoscaler/vendor/k8s.io/utils/exec/exec.go b/cluster-autoscaler/vendor/k8s.io/utils/exec/exec.go index 96bec01ca8b6..d9c91e3ca3c6 100644 --- a/cluster-autoscaler/vendor/k8s.io/utils/exec/exec.go +++ b/cluster-autoscaler/vendor/k8s.io/utils/exec/exec.go @@ -19,6 +19,7 @@ package exec import ( "context" "io" + "io/fs" osexec "os/exec" "syscall" "time" @@ -98,17 +99,18 @@ func New() Interface { // Command is part of the Interface interface. func (executor *executor) Command(cmd string, args ...string) Cmd { - return (*cmdWrapper)(osexec.Command(cmd, args...)) + return (*cmdWrapper)(maskErrDotCmd(osexec.Command(cmd, args...))) } // CommandContext is part of the Interface interface. func (executor *executor) CommandContext(ctx context.Context, cmd string, args ...string) Cmd { - return (*cmdWrapper)(osexec.CommandContext(ctx, cmd, args...)) + return (*cmdWrapper)(maskErrDotCmd(osexec.CommandContext(ctx, cmd, args...))) } // LookPath is part of the Interface interface func (executor *executor) LookPath(file string) (string, error) { - return osexec.LookPath(file) + path, err := osexec.LookPath(file) + return path, handleError(maskErrDot(err)) } // Wraps exec.Cmd so we can capture errors. @@ -198,6 +200,8 @@ func handleError(err error) error { switch e := err.(type) { case *osexec.ExitError: return &ExitErrorWrapper{e} + case *fs.PathError: + return ErrExecutableNotFound case *osexec.Error: if e.Err == osexec.ErrNotFound { return ErrExecutableNotFound diff --git a/cluster-autoscaler/vendor/k8s.io/utils/exec/fixup_go118.go b/cluster-autoscaler/vendor/k8s.io/utils/exec/fixup_go118.go new file mode 100644 index 000000000000..acf45f1cd5b4 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/utils/exec/fixup_go118.go @@ -0,0 +1,32 @@ +//go:build !go1.19 +// +build !go1.19 + +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package exec + +import ( + osexec "os/exec" +) + +func maskErrDotCmd(cmd *osexec.Cmd) *osexec.Cmd { + return cmd +} + +func maskErrDot(err error) error { + return err +} diff --git a/cluster-autoscaler/vendor/k8s.io/utils/exec/fixup_go119.go b/cluster-autoscaler/vendor/k8s.io/utils/exec/fixup_go119.go new file mode 100644 index 000000000000..55874c9297e3 --- /dev/null +++ b/cluster-autoscaler/vendor/k8s.io/utils/exec/fixup_go119.go @@ -0,0 +1,40 @@ +//go:build go1.19 +// +build go1.19 + +/* +Copyright 2022 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package exec + +import ( + "errors" + osexec "os/exec" +) + +// maskErrDotCmd reverts the behavior of osexec.Cmd to what it was before go1.19 +// specifically set the Err field to nil (LookPath returns a new error when the file +// is resolved to the current directory. +func maskErrDotCmd(cmd *osexec.Cmd) *osexec.Cmd { + cmd.Err = maskErrDot(cmd.Err) + return cmd +} + +func maskErrDot(err error) error { + if err != nil && errors.Is(err, osexec.ErrDot) { + return nil + } + return err +} diff --git a/cluster-autoscaler/vendor/k8s.io/utils/inotify/inotify_linux.go b/cluster-autoscaler/vendor/k8s.io/utils/inotify/inotify_linux.go index 2963042e4745..fbb50c238870 100644 --- a/cluster-autoscaler/vendor/k8s.io/utils/inotify/inotify_linux.go +++ b/cluster-autoscaler/vendor/k8s.io/utils/inotify/inotify_linux.go @@ -1,3 +1,4 @@ +//go:build linux // +build linux // Copyright 2010 The Go Authors. All rights reserved. diff --git a/cluster-autoscaler/vendor/k8s.io/utils/nsenter/nsenter.go b/cluster-autoscaler/vendor/k8s.io/utils/nsenter/nsenter.go index 545883900f4e..237b636bceb3 100644 --- a/cluster-autoscaler/vendor/k8s.io/utils/nsenter/nsenter.go +++ b/cluster-autoscaler/vendor/k8s.io/utils/nsenter/nsenter.go @@ -1,3 +1,4 @@ +//go:build linux // +build linux /* diff --git a/cluster-autoscaler/vendor/k8s.io/utils/nsenter/nsenter_unsupported.go b/cluster-autoscaler/vendor/k8s.io/utils/nsenter/nsenter_unsupported.go index e38c7e811338..8b56e91d2bf7 100644 --- a/cluster-autoscaler/vendor/k8s.io/utils/nsenter/nsenter_unsupported.go +++ b/cluster-autoscaler/vendor/k8s.io/utils/nsenter/nsenter_unsupported.go @@ -1,3 +1,4 @@ +//go:build !linux // +build !linux /* diff --git a/cluster-autoscaler/vendor/k8s.io/utils/pointer/pointer.go b/cluster-autoscaler/vendor/k8s.io/utils/pointer/pointer.go index f5802d2e81be..e745a81be3ed 100644 --- a/cluster-autoscaler/vendor/k8s.io/utils/pointer/pointer.go +++ b/cluster-autoscaler/vendor/k8s.io/utils/pointer/pointer.go @@ -52,6 +52,8 @@ func Int(i int) *int { return &i } +// IntPtr is a function variable referring to Int. +// Deprecated: Use Int instead. var IntPtr = Int // for back-compat // IntDeref dereferences the int ptr and returns it if not nil, or else @@ -63,6 +65,8 @@ func IntDeref(ptr *int, def int) int { return def } +// IntPtrDerefOr is a function variable referring to IntDeref. +// Deprecated: Use IntDeref instead. var IntPtrDerefOr = IntDeref // for back-compat // Int32 returns a pointer to an int32. @@ -70,6 +74,8 @@ func Int32(i int32) *int32 { return &i } +// Int32Ptr is a function variable referring to Int32. +// Deprecated: Use Int32 instead. var Int32Ptr = Int32 // for back-compat // Int32Deref dereferences the int32 ptr and returns it if not nil, or else @@ -81,6 +87,8 @@ func Int32Deref(ptr *int32, def int32) int32 { return def } +// Int32PtrDerefOr is a function variable referring to Int32Deref. +// Deprecated: Use Int32Deref instead. var Int32PtrDerefOr = Int32Deref // for back-compat // Int32Equal returns true if both arguments are nil or both arguments @@ -100,6 +108,8 @@ func Int64(i int64) *int64 { return &i } +// Int64Ptr is a function variable referring to Int64. +// Deprecated: Use Int64 instead. var Int64Ptr = Int64 // for back-compat // Int64Deref dereferences the int64 ptr and returns it if not nil, or else @@ -111,6 +121,8 @@ func Int64Deref(ptr *int64, def int64) int64 { return def } +// Int64PtrDerefOr is a function variable referring to Int64Deref. +// Deprecated: Use Int64Deref instead. var Int64PtrDerefOr = Int64Deref // for back-compat // Int64Equal returns true if both arguments are nil or both arguments @@ -130,6 +142,8 @@ func Bool(b bool) *bool { return &b } +// BoolPtr is a function variable referring to Bool. +// Deprecated: Use Bool instead. var BoolPtr = Bool // for back-compat // BoolDeref dereferences the bool ptr and returns it if not nil, or else @@ -141,6 +155,8 @@ func BoolDeref(ptr *bool, def bool) bool { return def } +// BoolPtrDerefOr is a function variable referring to BoolDeref. +// Deprecated: Use BoolDeref instead. var BoolPtrDerefOr = BoolDeref // for back-compat // BoolEqual returns true if both arguments are nil or both arguments @@ -160,6 +176,8 @@ func String(s string) *string { return &s } +// StringPtr is a function variable referring to String. +// Deprecated: Use String instead. var StringPtr = String // for back-compat // StringDeref dereferences the string ptr and returns it if not nil, or else @@ -171,6 +189,8 @@ func StringDeref(ptr *string, def string) string { return def } +// StringPtrDerefOr is a function variable referring to StringDeref. +// Deprecated: Use StringDeref instead. var StringPtrDerefOr = StringDeref // for back-compat // StringEqual returns true if both arguments are nil or both arguments @@ -190,6 +210,8 @@ func Float32(i float32) *float32 { return &i } +// Float32Ptr is a function variable referring to Float32. +// Deprecated: Use Float32 instead. var Float32Ptr = Float32 // Float32Deref dereferences the float32 ptr and returns it if not nil, or else @@ -201,6 +223,8 @@ func Float32Deref(ptr *float32, def float32) float32 { return def } +// Float32PtrDerefOr is a function variable referring to Float32Deref. +// Deprecated: Use Float32Deref instead. var Float32PtrDerefOr = Float32Deref // for back-compat // Float32Equal returns true if both arguments are nil or both arguments @@ -220,6 +244,8 @@ func Float64(i float64) *float64 { return &i } +// Float64Ptr is a function variable referring to Float64. +// Deprecated: Use Float64 instead. var Float64Ptr = Float64 // Float64Deref dereferences the float64 ptr and returns it if not nil, or else @@ -231,6 +257,8 @@ func Float64Deref(ptr *float64, def float64) float64 { return def } +// Float64PtrDerefOr is a function variable referring to Float64Deref. +// Deprecated: Use Float64Deref instead. var Float64PtrDerefOr = Float64Deref // for back-compat // Float64Equal returns true if both arguments are nil or both arguments diff --git a/cluster-autoscaler/vendor/modules.txt b/cluster-autoscaler/vendor/modules.txt index 415c3b7eb2d4..a5eaafa00df9 100644 --- a/cluster-autoscaler/vendor/modules.txt +++ b/cluster-autoscaler/vendor/modules.txt @@ -1,5 +1,5 @@ # cloud.google.com/go v0.97.0 -## explicit +## explicit; go 1.11 cloud.google.com/go/compute/metadata # github.com/Azure/azure-sdk-for-go v65.0.0+incompatible ## explicit @@ -18,49 +18,59 @@ github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2021-02-01/storage github.com/Azure/azure-sdk-for-go/storage github.com/Azure/azure-sdk-for-go/version # github.com/Azure/go-autorest v14.2.0+incompatible +## explicit github.com/Azure/go-autorest # github.com/Azure/go-autorest/autorest v0.11.27 -## explicit +## explicit; go 1.15 github.com/Azure/go-autorest/autorest github.com/Azure/go-autorest/autorest/azure # github.com/Azure/go-autorest/autorest/adal v0.9.20 -## explicit +## explicit; go 1.15 github.com/Azure/go-autorest/autorest/adal # github.com/Azure/go-autorest/autorest/azure/auth v0.5.8 -## explicit +## explicit; go 1.12 github.com/Azure/go-autorest/autorest/azure/auth # github.com/Azure/go-autorest/autorest/azure/cli v0.4.2 +## explicit; go 1.12 github.com/Azure/go-autorest/autorest/azure/cli # github.com/Azure/go-autorest/autorest/date v0.3.0 -## explicit +## explicit; go 1.12 github.com/Azure/go-autorest/autorest/date # github.com/Azure/go-autorest/autorest/mocks v0.4.2 +## explicit; go 1.15 github.com/Azure/go-autorest/autorest/mocks # github.com/Azure/go-autorest/autorest/to v0.4.0 -## explicit +## explicit; go 1.12 github.com/Azure/go-autorest/autorest/to # github.com/Azure/go-autorest/autorest/validation v0.3.1 +## explicit; go 1.12 github.com/Azure/go-autorest/autorest/validation # github.com/Azure/go-autorest/logger v0.2.1 +## explicit; go 1.12 github.com/Azure/go-autorest/logger # github.com/Azure/go-autorest/tracing v0.6.0 +## explicit; go 1.12 github.com/Azure/go-autorest/tracing # github.com/Azure/skewer v0.0.14 -## explicit +## explicit; go 1.13 github.com/Azure/skewer # github.com/GoogleCloudPlatform/k8s-cloud-provider v1.18.1-0.20220218231025-f11817397a1b +## explicit; go 1.13 github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/filter github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/meta github.com/GoogleCloudPlatform/k8s-cloud-provider/pkg/cloud/mock # github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab +## explicit github.com/JeffAshton/win_pdh # github.com/Microsoft/go-winio v0.4.17 +## explicit; go 1.12 github.com/Microsoft/go-winio github.com/Microsoft/go-winio/pkg/guid github.com/Microsoft/go-winio/pkg/security github.com/Microsoft/go-winio/vhd # github.com/Microsoft/hcsshim v0.8.22 +## explicit; go 1.13 github.com/Microsoft/hcsshim github.com/Microsoft/hcsshim/computestorage github.com/Microsoft/hcsshim/hcn @@ -86,17 +96,22 @@ github.com/Microsoft/hcsshim/internal/wclayer github.com/Microsoft/hcsshim/internal/winapi github.com/Microsoft/hcsshim/osversion # github.com/NYTimes/gziphandler v1.1.1 +## explicit; go 1.11 github.com/NYTimes/gziphandler # github.com/PuerkitoBio/purell v1.1.1 +## explicit github.com/PuerkitoBio/purell # github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 +## explicit github.com/PuerkitoBio/urlesc # github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e +## explicit github.com/armon/circbuf # github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a +## explicit github.com/asaskevich/govalidator # github.com/aws/aws-sdk-go v1.38.49 -## explicit +## explicit; go 1.11 github.com/aws/aws-sdk-go/aws github.com/aws/aws-sdk-go/aws/awserr github.com/aws/aws-sdk-go/aws/awsutil @@ -137,7 +152,6 @@ github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil github.com/aws/aws-sdk-go/service/autoscaling github.com/aws/aws-sdk-go/service/ec2 github.com/aws/aws-sdk-go/service/ecr -github.com/aws/aws-sdk-go/service/eks github.com/aws/aws-sdk-go/service/elb github.com/aws/aws-sdk-go/service/elbv2 github.com/aws/aws-sdk-go/service/kms @@ -146,104 +160,128 @@ github.com/aws/aws-sdk-go/service/sso/ssoiface github.com/aws/aws-sdk-go/service/sts github.com/aws/aws-sdk-go/service/sts/stsiface # github.com/beorn7/perks v1.0.1 +## explicit; go 1.11 github.com/beorn7/perks/quantile # github.com/blang/semver/v4 v4.0.0 +## explicit; go 1.14 github.com/blang/semver/v4 # github.com/cespare/xxhash/v2 v2.1.2 +## explicit; go 1.11 github.com/cespare/xxhash/v2 # github.com/checkpoint-restore/go-criu/v5 v5.3.0 +## explicit; go 1.13 github.com/checkpoint-restore/go-criu/v5 github.com/checkpoint-restore/go-criu/v5/rpc # github.com/cilium/ebpf v0.7.0 +## explicit; go 1.16 github.com/cilium/ebpf github.com/cilium/ebpf/asm github.com/cilium/ebpf/internal github.com/cilium/ebpf/internal/btf github.com/cilium/ebpf/internal/unix github.com/cilium/ebpf/link -# github.com/clusterhq/flocker-go v0.0.0-20160920122132-2b8b7259d313 -github.com/clusterhq/flocker-go # github.com/container-storage-interface/spec v1.6.0 +## explicit; go 1.16 github.com/container-storage-interface/spec/lib/go/csi # github.com/containerd/cgroups v1.0.1 +## explicit; go 1.13 github.com/containerd/cgroups/stats/v1 # github.com/containerd/console v1.0.3 +## explicit; go 1.13 github.com/containerd/console -# github.com/containerd/containerd v1.4.12 -github.com/containerd/containerd/api/services/containers/v1 -github.com/containerd/containerd/api/services/tasks/v1 -github.com/containerd/containerd/api/services/version/v1 -github.com/containerd/containerd/api/types -github.com/containerd/containerd/api/types/task # github.com/containerd/ttrpc v1.0.2 +## explicit; go 1.13 github.com/containerd/ttrpc # github.com/coreos/go-semver v0.3.0 +## explicit github.com/coreos/go-semver/semver # github.com/coreos/go-systemd/v22 v22.3.2 +## explicit; go 1.12 github.com/coreos/go-systemd/v22/daemon github.com/coreos/go-systemd/v22/dbus github.com/coreos/go-systemd/v22/journal # github.com/cyphar/filepath-securejoin v0.2.3 +## explicit; go 1.13 github.com/cyphar/filepath-securejoin # github.com/davecgh/go-spew v1.1.1 +## explicit github.com/davecgh/go-spew/spew # github.com/digitalocean/godo v1.27.0 => github.com/digitalocean/godo v1.27.0 -## explicit +## explicit; go 1.13 github.com/digitalocean/godo # github.com/dimchansky/utfbom v1.1.1 +## explicit github.com/dimchansky/utfbom # github.com/docker/distribution v2.8.1+incompatible +## explicit github.com/docker/distribution/digestset github.com/docker/distribution/reference # github.com/docker/go-units v0.4.0 +## explicit github.com/docker/go-units # github.com/emicklei/go-restful/v3 v3.8.0 +## explicit; go 1.13 github.com/emicklei/go-restful/v3 github.com/emicklei/go-restful/v3/log # github.com/euank/go-kmsg-parser v2.0.0+incompatible +## explicit github.com/euank/go-kmsg-parser/kmsgparser # github.com/evanphx/json-patch v5.6.0+incompatible +## explicit github.com/evanphx/json-patch # github.com/felixge/httpsnoop v1.0.1 +## explicit; go 1.13 github.com/felixge/httpsnoop # github.com/form3tech-oss/jwt-go v3.2.3+incompatible +## explicit github.com/form3tech-oss/jwt-go # github.com/fsnotify/fsnotify v1.5.4 +## explicit; go 1.16 github.com/fsnotify/fsnotify # github.com/ghodss/yaml v1.0.0 ## explicit github.com/ghodss/yaml # github.com/go-logr/logr v1.2.3 +## explicit; go 1.16 github.com/go-logr/logr # github.com/go-openapi/jsonpointer v0.19.5 +## explicit; go 1.13 github.com/go-openapi/jsonpointer # github.com/go-openapi/jsonreference v0.19.5 +## explicit; go 1.13 github.com/go-openapi/jsonreference # github.com/go-openapi/swag v0.19.14 +## explicit; go 1.11 github.com/go-openapi/swag # github.com/go-ozzo/ozzo-validation v3.5.0+incompatible +## explicit github.com/go-ozzo/ozzo-validation github.com/go-ozzo/ozzo-validation/is # github.com/godbus/dbus/v5 v5.0.6 +## explicit; go 1.12 github.com/godbus/dbus/v5 # github.com/gofrs/uuid v4.0.0+incompatible ## explicit github.com/gofrs/uuid # github.com/gogo/protobuf v1.3.2 +## explicit; go 1.15 github.com/gogo/protobuf/gogoproto github.com/gogo/protobuf/proto github.com/gogo/protobuf/protoc-gen-gogo/descriptor github.com/gogo/protobuf/sortkeys github.com/gogo/protobuf/types # github.com/golang-jwt/jwt/v4 v4.2.0 +## explicit; go 1.15 github.com/golang-jwt/jwt/v4 # github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da +## explicit github.com/golang/groupcache/lru # github.com/golang/mock v1.6.0 -## explicit +## explicit; go 1.11 github.com/golang/mock/gomock github.com/golang/mock/mockgen/model # github.com/golang/protobuf v1.5.2 +## explicit; go 1.9 github.com/golang/protobuf/descriptor github.com/golang/protobuf/jsonpb github.com/golang/protobuf/proto @@ -253,7 +291,8 @@ github.com/golang/protobuf/ptypes/any github.com/golang/protobuf/ptypes/duration github.com/golang/protobuf/ptypes/timestamp github.com/golang/protobuf/ptypes/wrappers -# github.com/google/cadvisor v0.44.1 +# github.com/google/cadvisor v0.45.0 +## explicit; go 1.16 github.com/google/cadvisor/accelerators github.com/google/cadvisor/cache/memory github.com/google/cadvisor/collector @@ -286,6 +325,11 @@ github.com/google/cadvisor/resctrl github.com/google/cadvisor/stats github.com/google/cadvisor/storage github.com/google/cadvisor/summary +github.com/google/cadvisor/third_party/containerd/api/services/containers/v1 +github.com/google/cadvisor/third_party/containerd/api/services/tasks/v1 +github.com/google/cadvisor/third_party/containerd/api/services/version/v1 +github.com/google/cadvisor/third_party/containerd/api/types +github.com/google/cadvisor/third_party/containerd/api/types/task github.com/google/cadvisor/utils github.com/google/cadvisor/utils/cloudinfo github.com/google/cadvisor/utils/cloudinfo/aws @@ -299,13 +343,14 @@ github.com/google/cadvisor/utils/sysinfo github.com/google/cadvisor/version github.com/google/cadvisor/watcher # github.com/google/gnostic v0.5.7-v3refs +## explicit; go 1.12 github.com/google/gnostic/compiler github.com/google/gnostic/extensions github.com/google/gnostic/jsonschema github.com/google/gnostic/openapiv2 github.com/google/gnostic/openapiv3 # github.com/google/go-cmp v0.5.6 -## explicit +## explicit; go 1.8 github.com/google/go-cmp/cmp github.com/google/go-cmp/cmp/cmpopts github.com/google/go-cmp/cmp/internal/diff @@ -316,15 +361,18 @@ github.com/google/go-cmp/cmp/internal/value ## explicit github.com/google/go-querystring/query # github.com/google/gofuzz v1.1.0 +## explicit; go 1.12 github.com/google/gofuzz # github.com/google/uuid v1.1.2 ## explicit github.com/google/uuid # github.com/googleapis/gax-go/v2 v2.1.1 +## explicit; go 1.11 github.com/googleapis/gax-go/v2 github.com/googleapis/gax-go/v2/apierror github.com/googleapis/gax-go/v2/apierror/internal/proto # github.com/gophercloud/gophercloud v0.1.0 +## explicit github.com/gophercloud/gophercloud github.com/gophercloud/gophercloud/openstack github.com/gophercloud/gophercloud/openstack/blockstorage/extensions/volumeactions @@ -357,30 +405,38 @@ github.com/gophercloud/gophercloud/openstack/networking/v2/ports github.com/gophercloud/gophercloud/openstack/utils github.com/gophercloud/gophercloud/pagination # github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 +## explicit github.com/grpc-ecosystem/go-grpc-prometheus # github.com/grpc-ecosystem/grpc-gateway v1.16.0 +## explicit; go 1.14 github.com/grpc-ecosystem/grpc-gateway/internal github.com/grpc-ecosystem/grpc-gateway/runtime github.com/grpc-ecosystem/grpc-gateway/utilities # github.com/heketi/heketi v10.3.0+incompatible +## explicit github.com/heketi/heketi/client/api/go-client github.com/heketi/heketi/pkg/glusterfs/api github.com/heketi/heketi/pkg/utils -# github.com/imdario/mergo v0.3.5 +# github.com/imdario/mergo v0.3.6 +## explicit github.com/imdario/mergo # github.com/inconshreveable/mousetrap v1.0.0 +## explicit github.com/inconshreveable/mousetrap # github.com/jmespath/go-jmespath v0.4.0 -## explicit +## explicit; go 1.14 github.com/jmespath/go-jmespath # github.com/josharian/intern v1.0.0 +## explicit; go 1.5 github.com/josharian/intern # github.com/json-iterator/go v1.1.12 -## explicit +## explicit; go 1.12 github.com/json-iterator/go # github.com/karrick/godirwalk v1.16.1 +## explicit; go 1.13 github.com/karrick/godirwalk # github.com/libopenstorage/openstorage v1.0.0 +## explicit github.com/libopenstorage/openstorage/api github.com/libopenstorage/openstorage/api/client github.com/libopenstorage/openstorage/api/client/volume @@ -389,43 +445,61 @@ github.com/libopenstorage/openstorage/pkg/parser github.com/libopenstorage/openstorage/pkg/units github.com/libopenstorage/openstorage/volume # github.com/lithammer/dedent v1.1.0 +## explicit github.com/lithammer/dedent # github.com/mailru/easyjson v0.7.6 +## explicit; go 1.12 github.com/mailru/easyjson/buffer github.com/mailru/easyjson/jlexer github.com/mailru/easyjson/jwriter # github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 +## explicit; go 1.9 github.com/matttproud/golang_protobuf_extensions/pbutil # github.com/mindprince/gonvml v0.0.0-20190828220739-9ebdce4bb989 +## explicit github.com/mindprince/gonvml # github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible +## explicit github.com/mistifyio/go-zfs # github.com/mitchellh/go-homedir v1.1.0 +## explicit github.com/mitchellh/go-homedir # github.com/mitchellh/mapstructure v1.4.1 +## explicit; go 1.14 github.com/mitchellh/mapstructure # github.com/moby/ipvs v1.0.1 +## explicit; go 1.13 github.com/moby/ipvs # github.com/moby/spdystream v0.2.0 +## explicit; go 1.13 github.com/moby/spdystream github.com/moby/spdystream/spdy # github.com/moby/sys/mountinfo v0.6.0 +## explicit; go 1.16 github.com/moby/sys/mountinfo # github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd +## explicit github.com/modern-go/concurrent # github.com/modern-go/reflect2 v1.0.2 +## explicit; go 1.12 github.com/modern-go/reflect2 # github.com/mohae/deepcopy v0.0.0-20170603005431-491d3605edfb +## explicit github.com/mohae/deepcopy # github.com/mrunalp/fileutils v0.5.0 +## explicit; go 1.13 github.com/mrunalp/fileutils # github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 +## explicit github.com/munnerz/goautoneg # github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f +## explicit github.com/mxk/go-flowrate/flowrate # github.com/opencontainers/go-digest v1.0.0 +## explicit; go 1.13 github.com/opencontainers/go-digest # github.com/opencontainers/runc v1.1.3 +## explicit; go 1.16 github.com/opencontainers/runc/libcontainer github.com/opencontainers/runc/libcontainer/apparmor github.com/opencontainers/runc/libcontainer/capabilities @@ -452,8 +526,10 @@ github.com/opencontainers/runc/libcontainer/userns github.com/opencontainers/runc/libcontainer/utils github.com/opencontainers/runc/types # github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 +## explicit github.com/opencontainers/runtime-spec/specs-go # github.com/opencontainers/selinux v1.10.0 +## explicit; go 1.13 github.com/opencontainers/selinux/go-selinux github.com/opencontainers/selinux/go-selinux/label github.com/opencontainers/selinux/pkg/pwalk @@ -462,61 +538,67 @@ github.com/opencontainers/selinux/pkg/pwalkdir ## explicit github.com/pkg/errors # github.com/pmezard/go-difflib v1.0.0 +## explicit github.com/pmezard/go-difflib/difflib # github.com/prometheus/client_golang v1.12.1 -## explicit +## explicit; go 1.13 github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/internal github.com/prometheus/client_golang/prometheus/promhttp github.com/prometheus/client_golang/prometheus/testutil github.com/prometheus/client_golang/prometheus/testutil/promlint # github.com/prometheus/client_model v0.2.0 +## explicit; go 1.9 github.com/prometheus/client_model/go # github.com/prometheus/common v0.32.1 +## explicit; go 1.13 github.com/prometheus/common/expfmt github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg github.com/prometheus/common/model # github.com/prometheus/procfs v0.7.3 +## explicit; go 1.13 github.com/prometheus/procfs github.com/prometheus/procfs/internal/fs github.com/prometheus/procfs/internal/util -# github.com/quobyte/api v0.1.8 -github.com/quobyte/api # github.com/rubiojr/go-vhd v0.0.0-20200706105327-02e210299021 +## explicit github.com/rubiojr/go-vhd/vhd # github.com/satori/go.uuid v1.2.0 ## explicit github.com/satori/go.uuid # github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646 +## explicit; go 1.14 github.com/seccomp/libseccomp-golang # github.com/sirupsen/logrus v1.8.1 +## explicit; go 1.13 github.com/sirupsen/logrus # github.com/spf13/cobra v1.4.0 +## explicit; go 1.15 github.com/spf13/cobra # github.com/spf13/pflag v1.0.5 -## explicit +## explicit; go 1.12 github.com/spf13/pflag -# github.com/storageos/go-api v2.2.0+incompatible -github.com/storageos/go-api -github.com/storageos/go-api/netutil -github.com/storageos/go-api/serror -github.com/storageos/go-api/types # github.com/stretchr/objx v0.2.0 +## explicit; go 1.12 github.com/stretchr/objx # github.com/stretchr/testify v1.7.2 -## explicit +## explicit; go 1.13 github.com/stretchr/testify/assert github.com/stretchr/testify/mock github.com/stretchr/testify/require github.com/stretchr/testify/suite # github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 +## explicit github.com/syndtr/gocapability/capability # github.com/vishvananda/netlink v1.1.0 +## explicit; go 1.12 github.com/vishvananda/netlink github.com/vishvananda/netlink/nl # github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae +## explicit; go 1.12 github.com/vishvananda/netns # github.com/vmware/govmomi v0.20.3 +## explicit github.com/vmware/govmomi/find github.com/vmware/govmomi/list github.com/vmware/govmomi/lookup @@ -544,6 +626,7 @@ github.com/vmware/govmomi/vim25/soap github.com/vmware/govmomi/vim25/types github.com/vmware/govmomi/vim25/xml # go.etcd.io/etcd/api/v3 v3.5.4 +## explicit; go 1.16 go.etcd.io/etcd/api/v3/authpb go.etcd.io/etcd/api/v3/etcdserverpb go.etcd.io/etcd/api/v3/membershippb @@ -551,6 +634,7 @@ go.etcd.io/etcd/api/v3/mvccpb go.etcd.io/etcd/api/v3/v3rpc/rpctypes go.etcd.io/etcd/api/v3/version # go.etcd.io/etcd/client/pkg/v3 v3.5.4 +## explicit; go 1.16 go.etcd.io/etcd/client/pkg/v3/fileutil go.etcd.io/etcd/client/pkg/v3/logutil go.etcd.io/etcd/client/pkg/v3/systemd @@ -558,11 +642,13 @@ go.etcd.io/etcd/client/pkg/v3/tlsutil go.etcd.io/etcd/client/pkg/v3/transport go.etcd.io/etcd/client/pkg/v3/types # go.etcd.io/etcd/client/v3 v3.5.4 +## explicit; go 1.16 go.etcd.io/etcd/client/v3 go.etcd.io/etcd/client/v3/credentials go.etcd.io/etcd/client/v3/internal/endpoint go.etcd.io/etcd/client/v3/internal/resolver # go.opencensus.io v0.23.0 +## explicit; go 1.13 go.opencensus.io go.opencensus.io/internal go.opencensus.io/internal/tagencoding @@ -580,12 +666,19 @@ go.opencensus.io/trace/internal go.opencensus.io/trace/propagation go.opencensus.io/trace/tracestate # go.opentelemetry.io/contrib v0.20.0 +## explicit; go 1.14 go.opentelemetry.io/contrib +# go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful v0.20.0 +## explicit; go 1.14 +go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful # go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0 +## explicit; go 1.14 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc # go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0 +## explicit; go 1.14 go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp # go.opentelemetry.io/otel v0.20.0 +## explicit; go 1.14 go.opentelemetry.io/otel go.opentelemetry.io/otel/attribute go.opentelemetry.io/otel/baggage @@ -599,24 +692,29 @@ go.opentelemetry.io/otel/propagation go.opentelemetry.io/otel/semconv go.opentelemetry.io/otel/unit # go.opentelemetry.io/otel/exporters/otlp v0.20.0 +## explicit; go 1.14 go.opentelemetry.io/otel/exporters/otlp go.opentelemetry.io/otel/exporters/otlp/internal/otlpconfig go.opentelemetry.io/otel/exporters/otlp/internal/transform go.opentelemetry.io/otel/exporters/otlp/otlpgrpc # go.opentelemetry.io/otel/metric v0.20.0 +## explicit; go 1.14 go.opentelemetry.io/otel/metric go.opentelemetry.io/otel/metric/global go.opentelemetry.io/otel/metric/number go.opentelemetry.io/otel/metric/registry # go.opentelemetry.io/otel/sdk v0.20.0 +## explicit; go 1.14 go.opentelemetry.io/otel/sdk/instrumentation go.opentelemetry.io/otel/sdk/internal go.opentelemetry.io/otel/sdk/resource go.opentelemetry.io/otel/sdk/trace # go.opentelemetry.io/otel/sdk/export/metric v0.20.0 +## explicit; go 1.14 go.opentelemetry.io/otel/sdk/export/metric go.opentelemetry.io/otel/sdk/export/metric/aggregation # go.opentelemetry.io/otel/sdk/metric v0.20.0 +## explicit; go 1.14 go.opentelemetry.io/otel/sdk/metric go.opentelemetry.io/otel/sdk/metric/aggregator go.opentelemetry.io/otel/sdk/metric/aggregator/exact @@ -629,8 +727,10 @@ go.opentelemetry.io/otel/sdk/metric/controller/time go.opentelemetry.io/otel/sdk/metric/processor/basic go.opentelemetry.io/otel/sdk/metric/selector/simple # go.opentelemetry.io/otel/trace v0.20.0 +## explicit; go 1.14 go.opentelemetry.io/otel/trace # go.opentelemetry.io/proto/otlp v0.7.0 +## explicit; go 1.15 go.opentelemetry.io/proto/otlp/collector/metrics/v1 go.opentelemetry.io/proto/otlp/collector/trace/v1 go.opentelemetry.io/proto/otlp/common/v1 @@ -638,10 +738,13 @@ go.opentelemetry.io/proto/otlp/metrics/v1 go.opentelemetry.io/proto/otlp/resource/v1 go.opentelemetry.io/proto/otlp/trace/v1 # go.uber.org/atomic v1.7.0 +## explicit; go 1.13 go.uber.org/atomic # go.uber.org/multierr v1.6.0 +## explicit; go 1.12 go.uber.org/multierr # go.uber.org/zap v1.19.0 +## explicit; go 1.13 go.uber.org/zap go.uber.org/zap/buffer go.uber.org/zap/internal/bufferpool @@ -650,7 +753,7 @@ go.uber.org/zap/internal/exit go.uber.org/zap/zapcore go.uber.org/zap/zapgrpc # golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd -## explicit +## explicit; go 1.17 golang.org/x/crypto/cryptobyte golang.org/x/crypto/cryptobyte/asn1 golang.org/x/crypto/internal/poly1305 @@ -659,8 +762,8 @@ golang.org/x/crypto/nacl/secretbox golang.org/x/crypto/pkcs12 golang.org/x/crypto/pkcs12/internal/rc2 golang.org/x/crypto/salsa20/salsa -# golang.org/x/net v0.0.0-20220225172249-27dd8689420f -## explicit +# golang.org/x/net v0.0.0-20220722155237-a158d28d115b +## explicit; go 1.17 golang.org/x/net/bpf golang.org/x/net/context golang.org/x/net/context/ctxhttp @@ -676,7 +779,7 @@ golang.org/x/net/proxy golang.org/x/net/trace golang.org/x/net/websocket # golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 -## explicit +## explicit; go 1.11 golang.org/x/oauth2 golang.org/x/oauth2/authhandler golang.org/x/oauth2/clientcredentials @@ -685,9 +788,11 @@ golang.org/x/oauth2/google/internal/externalaccount golang.org/x/oauth2/internal golang.org/x/oauth2/jws golang.org/x/oauth2/jwt -# golang.org/x/sync v0.0.0-20210220032951-036812b2e83c +# golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 +## explicit golang.org/x/sync/singleflight -# golang.org/x/sys v0.0.0-20220412211240-33da011f77ad +# golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f +## explicit; go 1.17 golang.org/x/sys/cpu golang.org/x/sys/internal/unsafeheader golang.org/x/sys/plan9 @@ -696,8 +801,10 @@ golang.org/x/sys/windows golang.org/x/sys/windows/registry golang.org/x/sys/windows/svc # golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 +## explicit; go 1.17 golang.org/x/term # golang.org/x/text v0.3.7 +## explicit; go 1.17 golang.org/x/text/encoding golang.org/x/text/encoding/internal golang.org/x/text/encoding/internal/identifier @@ -710,12 +817,14 @@ golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm golang.org/x/text/width # golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 +## explicit golang.org/x/time/rate # golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 +## explicit; go 1.11 golang.org/x/xerrors golang.org/x/xerrors/internal # google.golang.org/api v0.60.0 -## explicit +## explicit; go 1.11 google.golang.org/api/compute/v0.alpha google.golang.org/api/compute/v0.beta google.golang.org/api/compute/v1 @@ -734,6 +843,7 @@ google.golang.org/api/transport/http google.golang.org/api/transport/http/internal/propagation google.golang.org/api/transport/internal/dca # google.golang.org/appengine v1.6.7 +## explicit; go 1.11 google.golang.org/appengine google.golang.org/appengine/internal google.golang.org/appengine/internal/app_identity @@ -744,7 +854,8 @@ google.golang.org/appengine/internal/modules google.golang.org/appengine/internal/remote_api google.golang.org/appengine/internal/urlfetch google.golang.org/appengine/urlfetch -# google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6 +# google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21 +## explicit; go 1.15 google.golang.org/genproto/googleapis/api/annotations google.golang.org/genproto/googleapis/api/httpbody google.golang.org/genproto/googleapis/rpc/code @@ -752,7 +863,7 @@ google.golang.org/genproto/googleapis/rpc/errdetails google.golang.org/genproto/googleapis/rpc/status google.golang.org/genproto/protobuf/field_mask # google.golang.org/grpc v1.47.0 -## explicit +## explicit; go 1.14 google.golang.org/grpc google.golang.org/grpc/attributes google.golang.org/grpc/backoff @@ -804,8 +915,8 @@ google.golang.org/grpc/serviceconfig google.golang.org/grpc/stats google.golang.org/grpc/status google.golang.org/grpc/tap -# google.golang.org/protobuf v1.27.1 -## explicit +# google.golang.org/protobuf v1.28.0 +## explicit; go 1.11 google.golang.org/protobuf/encoding/protojson google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/encoding/protowire @@ -847,18 +958,22 @@ gopkg.in/gcfg.v1/scanner gopkg.in/gcfg.v1/token gopkg.in/gcfg.v1/types # gopkg.in/inf.v0 v0.9.1 +## explicit gopkg.in/inf.v0 # gopkg.in/natefinch/lumberjack.v2 v2.0.0 +## explicit gopkg.in/natefinch/lumberjack.v2 # gopkg.in/warnings.v0 v0.1.1 +## explicit gopkg.in/warnings.v0 # gopkg.in/yaml.v2 v2.4.0 -## explicit +## explicit; go 1.15 gopkg.in/yaml.v2 # gopkg.in/yaml.v3 v3.0.1 -gopkg.in/yaml.v3 -# k8s.io/api v0.25.0-alpha.2 => k8s.io/api v0.25.0-alpha.2 ## explicit +gopkg.in/yaml.v3 +# k8s.io/api v0.25.0 => k8s.io/api v0.25.0 +## explicit; go 1.19 k8s.io/api/admission/v1 k8s.io/api/admission/v1beta1 k8s.io/api/admissionregistration/v1 @@ -891,6 +1006,7 @@ k8s.io/api/flowcontrol/v1alpha1 k8s.io/api/flowcontrol/v1beta1 k8s.io/api/flowcontrol/v1beta2 k8s.io/api/networking/v1 +k8s.io/api/networking/v1alpha1 k8s.io/api/networking/v1beta1 k8s.io/api/node/v1 k8s.io/api/node/v1alpha1 @@ -906,8 +1022,8 @@ k8s.io/api/scheduling/v1beta1 k8s.io/api/storage/v1 k8s.io/api/storage/v1alpha1 k8s.io/api/storage/v1beta1 -# k8s.io/apimachinery v0.25.0-alpha.2 => k8s.io/apimachinery v0.25.0-alpha.2 -## explicit +# k8s.io/apimachinery v0.25.0 => k8s.io/apimachinery v0.26.0-alpha.0 +## explicit; go 1.19 k8s.io/apimachinery/pkg/api/equality k8s.io/apimachinery/pkg/api/errors k8s.io/apimachinery/pkg/api/meta @@ -966,8 +1082,8 @@ k8s.io/apimachinery/pkg/watch k8s.io/apimachinery/third_party/forked/golang/json k8s.io/apimachinery/third_party/forked/golang/netutil k8s.io/apimachinery/third_party/forked/golang/reflect -# k8s.io/apiserver v0.25.0-alpha.2 => k8s.io/apiserver v0.25.0-alpha.2 -## explicit +# k8s.io/apiserver v0.25.0 => k8s.io/apiserver v0.25.0 +## explicit; go 1.19 k8s.io/apiserver/pkg/admission k8s.io/apiserver/pkg/admission/configuration k8s.io/apiserver/pkg/admission/initializer @@ -1064,11 +1180,15 @@ k8s.io/apiserver/pkg/storage/storagebackend/factory k8s.io/apiserver/pkg/storage/value k8s.io/apiserver/pkg/storage/value/encrypt/aes k8s.io/apiserver/pkg/storage/value/encrypt/envelope +k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2 +k8s.io/apiserver/pkg/storage/value/encrypt/envelope/kmsv2/v2alpha1 +k8s.io/apiserver/pkg/storage/value/encrypt/envelope/metrics +k8s.io/apiserver/pkg/storage/value/encrypt/envelope/util k8s.io/apiserver/pkg/storage/value/encrypt/envelope/v1beta1 +k8s.io/apiserver/pkg/storage/value/encrypt/envelope/v2alpha1 k8s.io/apiserver/pkg/storage/value/encrypt/identity k8s.io/apiserver/pkg/storage/value/encrypt/secretbox k8s.io/apiserver/pkg/storageversion -k8s.io/apiserver/pkg/tracing k8s.io/apiserver/pkg/util/apihelpers k8s.io/apiserver/pkg/util/dryrun k8s.io/apiserver/pkg/util/feature @@ -1094,8 +1214,8 @@ k8s.io/apiserver/plugin/pkg/audit/truncate k8s.io/apiserver/plugin/pkg/audit/webhook k8s.io/apiserver/plugin/pkg/authenticator/token/webhook k8s.io/apiserver/plugin/pkg/authorizer/webhook -# k8s.io/client-go v0.25.0-alpha.2 => k8s.io/client-go v0.25.0-alpha.2 -## explicit +# k8s.io/client-go v0.25.0 => k8s.io/client-go v0.25.0 +## explicit; go 1.19 k8s.io/client-go/applyconfigurations/admissionregistration/v1 k8s.io/client-go/applyconfigurations/admissionregistration/v1beta1 k8s.io/client-go/applyconfigurations/apiserverinternal/v1alpha1 @@ -1124,6 +1244,7 @@ k8s.io/client-go/applyconfigurations/flowcontrol/v1beta2 k8s.io/client-go/applyconfigurations/internal k8s.io/client-go/applyconfigurations/meta/v1 k8s.io/client-go/applyconfigurations/networking/v1 +k8s.io/client-go/applyconfigurations/networking/v1alpha1 k8s.io/client-go/applyconfigurations/networking/v1beta1 k8s.io/client-go/applyconfigurations/node/v1 k8s.io/client-go/applyconfigurations/node/v1alpha1 @@ -1187,6 +1308,7 @@ k8s.io/client-go/informers/flowcontrol/v1beta2 k8s.io/client-go/informers/internalinterfaces k8s.io/client-go/informers/networking k8s.io/client-go/informers/networking/v1 +k8s.io/client-go/informers/networking/v1alpha1 k8s.io/client-go/informers/networking/v1beta1 k8s.io/client-go/informers/node k8s.io/client-go/informers/node/v1 @@ -1270,6 +1392,8 @@ k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta2 k8s.io/client-go/kubernetes/typed/flowcontrol/v1beta2/fake k8s.io/client-go/kubernetes/typed/networking/v1 k8s.io/client-go/kubernetes/typed/networking/v1/fake +k8s.io/client-go/kubernetes/typed/networking/v1alpha1 +k8s.io/client-go/kubernetes/typed/networking/v1alpha1/fake k8s.io/client-go/kubernetes/typed/networking/v1beta1 k8s.io/client-go/kubernetes/typed/networking/v1beta1/fake k8s.io/client-go/kubernetes/typed/node/v1 @@ -1326,6 +1450,7 @@ k8s.io/client-go/listers/flowcontrol/v1alpha1 k8s.io/client-go/listers/flowcontrol/v1beta1 k8s.io/client-go/listers/flowcontrol/v1beta2 k8s.io/client-go/listers/networking/v1 +k8s.io/client-go/listers/networking/v1alpha1 k8s.io/client-go/listers/networking/v1beta1 k8s.io/client-go/listers/node/v1 k8s.io/client-go/listers/node/v1alpha1 @@ -1391,8 +1516,8 @@ k8s.io/client-go/util/homedir k8s.io/client-go/util/keyutil k8s.io/client-go/util/retry k8s.io/client-go/util/workqueue -# k8s.io/cloud-provider v0.25.0-alpha.2 => k8s.io/cloud-provider v0.25.0-alpha.2 -## explicit +# k8s.io/cloud-provider v0.25.0 => k8s.io/cloud-provider v0.25.0 +## explicit; go 1.19 k8s.io/cloud-provider k8s.io/cloud-provider/api k8s.io/cloud-provider/credentialconfig @@ -1401,8 +1526,8 @@ k8s.io/cloud-provider/service/helpers k8s.io/cloud-provider/volume k8s.io/cloud-provider/volume/errors k8s.io/cloud-provider/volume/helpers -# k8s.io/component-base v0.25.0-alpha.2 => k8s.io/component-base v0.25.0-alpha.2 -## explicit +# k8s.io/component-base v0.25.0 => k8s.io/component-base v0.25.0 +## explicit; go 1.19 k8s.io/component-base/cli/flag k8s.io/component-base/codec k8s.io/component-base/config @@ -1421,11 +1546,12 @@ k8s.io/component-base/metrics/prometheus/restclient k8s.io/component-base/metrics/prometheus/workqueue k8s.io/component-base/metrics/prometheusextension k8s.io/component-base/metrics/testutil -k8s.io/component-base/traces +k8s.io/component-base/tracing +k8s.io/component-base/tracing/api/v1 k8s.io/component-base/version k8s.io/component-base/version/verflag -# k8s.io/component-helpers v0.25.0-alpha.2 => k8s.io/component-helpers v0.25.0-alpha.2 -## explicit +# k8s.io/component-helpers v0.25.0 => k8s.io/component-helpers v0.25.0 +## explicit; go 1.19 k8s.io/component-helpers/apimachinery/lease k8s.io/component-helpers/node/topology k8s.io/component-helpers/node/util @@ -1434,22 +1560,26 @@ k8s.io/component-helpers/scheduling/corev1 k8s.io/component-helpers/scheduling/corev1/nodeaffinity k8s.io/component-helpers/storage/ephemeral k8s.io/component-helpers/storage/volume -# k8s.io/cri-api v0.0.0 => k8s.io/cri-api v0.25.0-alpha.2 +# k8s.io/cri-api v0.0.0 => k8s.io/cri-api v0.25.1-rc.0 +## explicit; go 1.19 k8s.io/cri-api/pkg/apis k8s.io/cri-api/pkg/apis/runtime/v1 k8s.io/cri-api/pkg/apis/runtime/v1alpha2 k8s.io/cri-api/pkg/errors -# k8s.io/csi-translation-lib v0.25.0-alpha.2 => k8s.io/csi-translation-lib v0.25.0-alpha.2 +# k8s.io/csi-translation-lib v0.25.0 => k8s.io/csi-translation-lib v0.25.0 +## explicit; go 1.19 k8s.io/csi-translation-lib k8s.io/csi-translation-lib/plugins -# k8s.io/klog/v2 v2.70.0 -## explicit +# k8s.io/klog/v2 v2.70.1 +## explicit; go 1.13 k8s.io/klog/v2 k8s.io/klog/v2/internal/buffer k8s.io/klog/v2/internal/clock +k8s.io/klog/v2/internal/dbg k8s.io/klog/v2/internal/serialize k8s.io/klog/v2/internal/severity -# k8s.io/kube-openapi v0.0.0-20220603121420-31174f50af60 +# k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 +## explicit; go 1.18 k8s.io/kube-openapi/pkg/builder k8s.io/kube-openapi/pkg/builder3 k8s.io/kube-openapi/pkg/builder3/util @@ -1465,16 +1595,20 @@ k8s.io/kube-openapi/pkg/spec3 k8s.io/kube-openapi/pkg/util k8s.io/kube-openapi/pkg/util/proto k8s.io/kube-openapi/pkg/validation/spec -# k8s.io/kube-proxy v0.0.0 => k8s.io/kube-proxy v0.25.0-alpha.2 +# k8s.io/kube-proxy v0.0.0 => k8s.io/kube-proxy v0.25.0 +## explicit; go 1.19 k8s.io/kube-proxy/config/v1alpha1 -# k8s.io/kube-scheduler v0.0.0 => k8s.io/kube-scheduler v0.25.0-alpha.2 +# k8s.io/kube-scheduler v0.0.0 => k8s.io/kube-scheduler v0.25.0 +## explicit; go 1.19 +k8s.io/kube-scheduler/config/v1 k8s.io/kube-scheduler/config/v1beta2 k8s.io/kube-scheduler/config/v1beta3 k8s.io/kube-scheduler/extender/v1 -# k8s.io/kubectl v0.0.0 => k8s.io/kubectl v0.25.0-alpha.2 +# k8s.io/kubectl v0.0.0 => k8s.io/kubectl v0.25.0 +## explicit; go 1.19 k8s.io/kubectl/pkg/scale -# k8s.io/kubelet v0.24.1 => k8s.io/kubelet v0.25.0-alpha.2 -## explicit +# k8s.io/kubelet v0.24.1 => k8s.io/kubelet v0.25.0 +## explicit; go 1.19 k8s.io/kubelet/config/v1alpha1 k8s.io/kubelet/config/v1beta1 k8s.io/kubelet/pkg/apis @@ -1487,8 +1621,8 @@ k8s.io/kubelet/pkg/apis/pluginregistration/v1 k8s.io/kubelet/pkg/apis/podresources/v1 k8s.io/kubelet/pkg/apis/podresources/v1alpha1 k8s.io/kubelet/pkg/apis/stats/v1alpha1 -# k8s.io/kubernetes v1.25.0-alpha.2 -## explicit +# k8s.io/kubernetes v1.25.0 +## explicit; go 1.19 k8s.io/kubernetes/cmd/kube-proxy/app k8s.io/kubernetes/cmd/kubelet/app k8s.io/kubernetes/cmd/kubelet/app/options @@ -1564,7 +1698,6 @@ k8s.io/kubernetes/pkg/kubelet/configmap k8s.io/kubernetes/pkg/kubelet/container k8s.io/kubernetes/pkg/kubelet/container/testing k8s.io/kubernetes/pkg/kubelet/cri/remote -k8s.io/kubernetes/pkg/kubelet/cri/remote/util k8s.io/kubernetes/pkg/kubelet/cri/streaming k8s.io/kubernetes/pkg/kubelet/cri/streaming/portforward k8s.io/kubernetes/pkg/kubelet/cri/streaming/remotecommand @@ -1577,6 +1710,7 @@ k8s.io/kubernetes/pkg/kubelet/kubeletconfig/configfiles k8s.io/kubernetes/pkg/kubelet/kubeletconfig/util/codec k8s.io/kubernetes/pkg/kubelet/kuberuntime k8s.io/kubernetes/pkg/kubelet/kuberuntime/logs +k8s.io/kubernetes/pkg/kubelet/kuberuntime/util k8s.io/kubernetes/pkg/kubelet/leaky k8s.io/kubernetes/pkg/kubelet/lifecycle k8s.io/kubernetes/pkg/kubelet/logs @@ -1654,6 +1788,7 @@ k8s.io/kubernetes/pkg/scheduler k8s.io/kubernetes/pkg/scheduler/apis/config k8s.io/kubernetes/pkg/scheduler/apis/config/latest k8s.io/kubernetes/pkg/scheduler/apis/config/scheme +k8s.io/kubernetes/pkg/scheduler/apis/config/v1 k8s.io/kubernetes/pkg/scheduler/apis/config/v1beta2 k8s.io/kubernetes/pkg/scheduler/apis/config/v1beta3 k8s.io/kubernetes/pkg/scheduler/apis/config/validation @@ -1695,7 +1830,6 @@ k8s.io/kubernetes/pkg/securitycontext k8s.io/kubernetes/pkg/util/async k8s.io/kubernetes/pkg/util/config k8s.io/kubernetes/pkg/util/conntrack -k8s.io/kubernetes/pkg/util/env k8s.io/kubernetes/pkg/util/filesystem k8s.io/kubernetes/pkg/util/flag k8s.io/kubernetes/pkg/util/flock @@ -1729,7 +1863,6 @@ k8s.io/kubernetes/pkg/volume/downwardapi k8s.io/kubernetes/pkg/volume/emptydir k8s.io/kubernetes/pkg/volume/fc k8s.io/kubernetes/pkg/volume/flexvolume -k8s.io/kubernetes/pkg/volume/flocker k8s.io/kubernetes/pkg/volume/gcepd k8s.io/kubernetes/pkg/volume/git_repo k8s.io/kubernetes/pkg/volume/glusterfs @@ -1739,10 +1872,8 @@ k8s.io/kubernetes/pkg/volume/local k8s.io/kubernetes/pkg/volume/nfs k8s.io/kubernetes/pkg/volume/portworx k8s.io/kubernetes/pkg/volume/projected -k8s.io/kubernetes/pkg/volume/quobyte k8s.io/kubernetes/pkg/volume/rbd k8s.io/kubernetes/pkg/volume/secret -k8s.io/kubernetes/pkg/volume/storageos k8s.io/kubernetes/pkg/volume/util k8s.io/kubernetes/pkg/volume/util/fs k8s.io/kubernetes/pkg/volume/util/fsquota @@ -1759,8 +1890,8 @@ k8s.io/kubernetes/pkg/volume/vsphere_volume k8s.io/kubernetes/pkg/windows/service k8s.io/kubernetes/test/utils k8s.io/kubernetes/third_party/forked/golang/expansion -# k8s.io/legacy-cloud-providers v0.0.0 => k8s.io/legacy-cloud-providers v0.25.0-alpha.2 -## explicit +# k8s.io/legacy-cloud-providers v0.0.0 => k8s.io/legacy-cloud-providers v0.25.0 +## explicit; go 1.19 k8s.io/legacy-cloud-providers/aws k8s.io/legacy-cloud-providers/azure k8s.io/legacy-cloud-providers/azure/auth @@ -1803,10 +1934,11 @@ k8s.io/legacy-cloud-providers/openstack k8s.io/legacy-cloud-providers/vsphere k8s.io/legacy-cloud-providers/vsphere/vclib k8s.io/legacy-cloud-providers/vsphere/vclib/diskmanagers -# k8s.io/mount-utils v0.25.0-alpha.2 => k8s.io/mount-utils v0.25.0-alpha.2 +# k8s.io/mount-utils v0.25.0 => k8s.io/mount-utils v0.25.1-rc.0 +## explicit; go 1.19 k8s.io/mount-utils -# k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 -## explicit +# k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed +## explicit; go 1.12 k8s.io/utils/buffer k8s.io/utils/clock k8s.io/utils/clock/testing @@ -1826,10 +1958,11 @@ k8s.io/utils/strings k8s.io/utils/strings/slices k8s.io/utils/trace # sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.32 +## explicit; go 1.17 sigs.k8s.io/apiserver-network-proxy/konnectivity-client/pkg/client sigs.k8s.io/apiserver-network-proxy/konnectivity-client/proto/client # sigs.k8s.io/cloud-provider-azure v1.24.2 -## explicit +## explicit; go 1.18 sigs.k8s.io/cloud-provider-azure/pkg/auth sigs.k8s.io/cloud-provider-azure/pkg/azureclients sigs.k8s.io/cloud-provider-azure/pkg/azureclients/armclient @@ -1880,44 +2013,47 @@ sigs.k8s.io/cloud-provider-azure/pkg/provider sigs.k8s.io/cloud-provider-azure/pkg/provider/virtualmachine sigs.k8s.io/cloud-provider-azure/pkg/retry sigs.k8s.io/cloud-provider-azure/pkg/version -# sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 +# sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 +## explicit; go 1.18 sigs.k8s.io/json sigs.k8s.io/json/internal/golang/encoding/json -# sigs.k8s.io/structured-merge-diff/v4 v4.2.1 +# sigs.k8s.io/structured-merge-diff/v4 v4.2.3 +## explicit; go 1.13 sigs.k8s.io/structured-merge-diff/v4/fieldpath sigs.k8s.io/structured-merge-diff/v4/merge sigs.k8s.io/structured-merge-diff/v4/schema sigs.k8s.io/structured-merge-diff/v4/typed sigs.k8s.io/structured-merge-diff/v4/value # sigs.k8s.io/yaml v1.3.0 +## explicit; go 1.12 sigs.k8s.io/yaml # github.com/aws/aws-sdk-go/service/eks => github.com/aws/aws-sdk-go/service/eks v1.38.49 # github.com/digitalocean/godo => github.com/digitalocean/godo v1.27.0 # github.com/rancher/go-rancher => github.com/rancher/go-rancher v0.1.0 -# k8s.io/api => k8s.io/api v0.25.0-alpha.2 -# k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.25.0-alpha.2 -# k8s.io/apimachinery => k8s.io/apimachinery v0.25.0-alpha.2 -# k8s.io/apiserver => k8s.io/apiserver v0.25.0-alpha.2 -# k8s.io/cli-runtime => k8s.io/cli-runtime v0.25.0-alpha.2 -# k8s.io/client-go => k8s.io/client-go v0.25.0-alpha.2 -# k8s.io/cloud-provider => k8s.io/cloud-provider v0.25.0-alpha.2 -# k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.25.0-alpha.2 -# k8s.io/code-generator => k8s.io/code-generator v0.25.0-alpha.2 -# k8s.io/component-base => k8s.io/component-base v0.25.0-alpha.2 -# k8s.io/component-helpers => k8s.io/component-helpers v0.25.0-alpha.2 -# k8s.io/controller-manager => k8s.io/controller-manager v0.25.0-alpha.2 -# k8s.io/cri-api => k8s.io/cri-api v0.25.0-alpha.2 -# k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.25.0-alpha.2 -# k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.25.0-alpha.2 -# k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.25.0-alpha.2 -# k8s.io/kube-proxy => k8s.io/kube-proxy v0.25.0-alpha.2 -# k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.25.0-alpha.2 -# k8s.io/kubectl => k8s.io/kubectl v0.25.0-alpha.2 -# k8s.io/kubelet => k8s.io/kubelet v0.25.0-alpha.2 -# k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.25.0-alpha.2 -# k8s.io/metrics => k8s.io/metrics v0.25.0-alpha.2 -# k8s.io/mount-utils => k8s.io/mount-utils v0.25.0-alpha.2 -# k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.25.0-alpha.2 -# k8s.io/sample-cli-plugin => k8s.io/sample-cli-plugin v0.25.0-alpha.2 -# k8s.io/sample-controller => k8s.io/sample-controller v0.25.0-alpha.2 -# k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.25.0-alpha.2 +# k8s.io/api => k8s.io/api v0.25.0 +# k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.25.0 +# k8s.io/apimachinery => k8s.io/apimachinery v0.26.0-alpha.0 +# k8s.io/apiserver => k8s.io/apiserver v0.25.0 +# k8s.io/cli-runtime => k8s.io/cli-runtime v0.25.0 +# k8s.io/client-go => k8s.io/client-go v0.25.0 +# k8s.io/cloud-provider => k8s.io/cloud-provider v0.25.0 +# k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.25.0 +# k8s.io/code-generator => k8s.io/code-generator v0.25.1-rc.0 +# k8s.io/component-base => k8s.io/component-base v0.25.0 +# k8s.io/component-helpers => k8s.io/component-helpers v0.25.0 +# k8s.io/controller-manager => k8s.io/controller-manager v0.25.0 +# k8s.io/cri-api => k8s.io/cri-api v0.25.1-rc.0 +# k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.25.0 +# k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.25.0 +# k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.25.0 +# k8s.io/kube-proxy => k8s.io/kube-proxy v0.25.0 +# k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.25.0 +# k8s.io/kubectl => k8s.io/kubectl v0.25.0 +# k8s.io/kubelet => k8s.io/kubelet v0.25.0 +# k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.25.0 +# k8s.io/metrics => k8s.io/metrics v0.25.0 +# k8s.io/mount-utils => k8s.io/mount-utils v0.25.1-rc.0 +# k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.25.0 +# k8s.io/sample-cli-plugin => k8s.io/sample-cli-plugin v0.25.0 +# k8s.io/sample-controller => k8s.io/sample-controller v0.25.0 +# k8s.io/pod-security-admission => k8s.io/pod-security-admission v0.25.0 diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/json/go.mod b/cluster-autoscaler/vendor/sigs.k8s.io/json/go.mod deleted file mode 100644 index 6fad584a0c75..000000000000 --- a/cluster-autoscaler/vendor/sigs.k8s.io/json/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module sigs.k8s.io/json - -go 1.17 diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/decode.go b/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/decode.go index 3a8b64547da3..a6c419365bb4 100644 --- a/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/decode.go +++ b/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/decode.go @@ -93,7 +93,7 @@ import ( // Instead, they are replaced by the Unicode replacement // character U+FFFD. // -func Unmarshal(data []byte, v interface{}, opts ...UnmarshalOpt) error { +func Unmarshal(data []byte, v any, opts ...UnmarshalOpt) error { // Check for well-formedness. // Avoids filling out half a data structure // before discovering a JSON syntax error. @@ -167,16 +167,16 @@ func (e *InvalidUnmarshalError) Error() string { return "json: Unmarshal(nil)" } - if e.Type.Kind() != reflect.Ptr { + if e.Type.Kind() != reflect.Pointer { return "json: Unmarshal(non-pointer " + e.Type.String() + ")" } return "json: Unmarshal(nil " + e.Type.String() + ")" } */ -func (d *decodeState) unmarshal(v interface{}) error { +func (d *decodeState) unmarshal(v any) error { rv := reflect.ValueOf(v) - if rv.Kind() != reflect.Ptr || rv.IsNil() { + if rv.Kind() != reflect.Pointer || rv.IsNil() { return &InvalidUnmarshalError{reflect.TypeOf(v)} } @@ -233,7 +233,7 @@ type decodeState struct { disallowUnknownFields bool savedStrictErrors []error - seenStrictErrors map[string]struct{} + seenStrictErrors map[strictError]struct{} strictFieldStack []string caseSensitive bool @@ -425,7 +425,7 @@ type unquotedValue struct{} // quoted string literal or literal null into an interface value. // If it finds anything other than a quoted string literal or null, // valueQuoted returns unquotedValue{}. -func (d *decodeState) valueQuoted() interface{} { +func (d *decodeState) valueQuoted() any { switch d.opcode { default: panic(phasePanicMsg) @@ -467,7 +467,7 @@ func indirect(v reflect.Value, decodingNull bool) (Unmarshaler, encoding.TextUnm // If v is a named type and is addressable, // start with its address, so that if the type has pointer methods, // we find them. - if v.Kind() != reflect.Ptr && v.Type().Name() != "" && v.CanAddr() { + if v.Kind() != reflect.Pointer && v.Type().Name() != "" && v.CanAddr() { haveAddr = true v = v.Addr() } @@ -476,14 +476,14 @@ func indirect(v reflect.Value, decodingNull bool) (Unmarshaler, encoding.TextUnm // usefully addressable. if v.Kind() == reflect.Interface && !v.IsNil() { e := v.Elem() - if e.Kind() == reflect.Ptr && !e.IsNil() && (!decodingNull || e.Elem().Kind() == reflect.Ptr) { + if e.Kind() == reflect.Pointer && !e.IsNil() && (!decodingNull || e.Elem().Kind() == reflect.Pointer) { haveAddr = false v = e continue } } - if v.Kind() != reflect.Ptr { + if v.Kind() != reflect.Pointer { break } @@ -678,7 +678,7 @@ func (d *decodeState) object(v reflect.Value) error { reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: default: - if !reflect.PtrTo(t.Key()).Implements(textUnmarshalerType) { + if !reflect.PointerTo(t.Key()).Implements(textUnmarshalerType) { d.saveError(&UnmarshalTypeError{Value: "object", Type: t, Offset: int64(d.off)}) d.skip() return nil @@ -695,7 +695,7 @@ func (d *decodeState) object(v reflect.Value) error { seenKeys = map[string]struct{}{} } if _, seen := seenKeys[fieldName]; seen { - d.saveStrictError(d.newFieldError("duplicate field", fieldName)) + d.saveStrictError(d.newFieldError(duplicateStrictErrType, fieldName)) } else { seenKeys[fieldName] = struct{}{} } @@ -711,7 +711,7 @@ func (d *decodeState) object(v reflect.Value) error { var seenKeys uint64 checkDuplicateField = func(fieldNameIndex int, fieldName string) { if seenKeys&(1< 0 { - return fmt.Errorf("%s %q", msg, strings.Join(d.strictFieldStack, "")+"."+field) + return &strictError{ + ErrType: errType, + Path: strings.Join(d.strictFieldStack, "") + "." + field, + } } else { - return fmt.Errorf("%s %q", msg, field) + return &strictError{ + ErrType: errType, + Path: field, + } } } // saveStrictError saves a strict decoding error, // for reporting at the end of the unmarshal if no other errors occurred. -func (d *decodeState) saveStrictError(err error) { +func (d *decodeState) saveStrictError(err *strictError) { // prevent excessive numbers of accumulated errors if len(d.savedStrictErrors) >= 100 { return } // dedupe accumulated strict errors if d.seenStrictErrors == nil { - d.seenStrictErrors = map[string]struct{}{} + d.seenStrictErrors = map[strictError]struct{}{} } - msg := err.Error() - if _, seen := d.seenStrictErrors[msg]; seen { + if _, seen := d.seenStrictErrors[*err]; seen { return } // accumulate the error - d.seenStrictErrors[msg] = struct{}{} + d.seenStrictErrors[*err] = struct{}{} d.savedStrictErrors = append(d.savedStrictErrors, err) } @@ -118,6 +122,33 @@ func (d *decodeState) appendStrictFieldStackIndex(i int) { d.strictFieldStack = append(d.strictFieldStack, "[", strconv.Itoa(i), "]") } +type strictErrType string + +const ( + unknownStrictErrType strictErrType = "unknown field" + duplicateStrictErrType strictErrType = "duplicate field" +) + +// strictError is a strict decoding error +// It has an ErrType (either unknown or duplicate) +// and a path to the erroneous field +type strictError struct { + ErrType strictErrType + Path string +} + +func (e *strictError) Error() string { + return string(e.ErrType) + " " + strconv.Quote(e.Path) +} + +func (e *strictError) FieldPath() string { + return e.Path +} + +func (e *strictError) SetFieldPath(path string) { + e.Path = path +} + // UnmarshalStrictError holds errors resulting from use of strict disallow___ decoder directives. // If this is returned from Unmarshal(), it means the decoding was successful in all other respects. type UnmarshalStrictError struct { diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/scanner.go b/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/scanner.go index 9dc1903e2db2..dbaa821becc1 100644 --- a/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/scanner.go +++ b/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/scanner.go @@ -83,7 +83,7 @@ type scanner struct { } var scannerPool = sync.Pool{ - New: func() interface{} { + New: func() any { return &scanner{} }, } diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/stream.go b/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/stream.go index 5f87df1c628d..6775b4cf8aa2 100644 --- a/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/stream.go +++ b/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/stream.go @@ -45,7 +45,7 @@ func (dec *Decoder) DisallowUnknownFields() { dec.d.disallowUnknownFields = true // // See the documentation for Unmarshal for details about // the conversion of JSON into a Go value. -func (dec *Decoder) Decode(v interface{}) error { +func (dec *Decoder) Decode(v any) error { if dec.err != nil { return dec.err } @@ -197,7 +197,7 @@ func NewEncoder(w io.Writer) *Encoder { // // See the documentation for Marshal for details about the // conversion of Go values to JSON. -func (enc *Encoder) Encode(v interface{}) error { +func (enc *Encoder) Encode(v any) error { if enc.err != nil { return enc.err } @@ -290,7 +290,7 @@ var _ Unmarshaler = (*RawMessage)(nil) // string, for JSON string literals // nil, for JSON null // -type Token interface{} +type Token any */ const ( @@ -457,7 +457,7 @@ func (dec *Decoder) Token() (Token, error) { if !dec.tokenValueAllowed() { return dec.tokenError(c) } - var x interface{} + var x any if err := dec.Decode(&x); err != nil { return nil, err } diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/tags.go b/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/tags.go index c38fd5102f63..b490328f4c46 100644 --- a/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/tags.go +++ b/cluster-autoscaler/vendor/sigs.k8s.io/json/internal/golang/encoding/json/tags.go @@ -15,10 +15,8 @@ type tagOptions string // parseTag splits a struct field's json tag into its name and // comma-separated options. func parseTag(tag string) (string, tagOptions) { - if idx := strings.Index(tag, ","); idx != -1 { - return tag[:idx], tagOptions(tag[idx+1:]) - } - return tag, tagOptions("") + tag, opt, _ := strings.Cut(tag, ",") + return tag, tagOptions(opt) } // Contains reports whether a comma-separated list of options @@ -30,15 +28,11 @@ func (o tagOptions) Contains(optionName string) bool { } s := string(o) for s != "" { - var next string - i := strings.Index(s, ",") - if i >= 0 { - s, next = s[:i], s[i+1:] - } - if s == optionName { + var name string + name, s, _ = strings.Cut(s, ",") + if name == optionName { return true } - s = next } return false } diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/json/json.go b/cluster-autoscaler/vendor/sigs.k8s.io/json/json.go index 764e2a84c728..d3a42b4261fd 100644 --- a/cluster-autoscaler/vendor/sigs.k8s.io/json/json.go +++ b/cluster-autoscaler/vendor/sigs.k8s.io/json/json.go @@ -84,6 +84,8 @@ const ( // and a list of the strict failures (if any) are returned. If no `strictOptions` are selected, // all supported strict checks are performed. // +// Strict errors returned will implement the FieldError interface for the specific erroneous fields. +// // Currently supported strict checks are: // - DisallowDuplicateFields: ensure the data contains no duplicate fields // - DisallowUnknownFields: ensure the data contains no unknown fields (when decoding into typed structs) @@ -137,3 +139,12 @@ func SyntaxErrorOffset(err error) (isSyntaxError bool, offset int64) { return false, 0 } } + +// FieldError is an error that provides access to the path of the erroneous field +type FieldError interface { + error + // FieldPath provides the full path of the erroneous field within the json object. + FieldPath() string + // SetFieldPath updates the path of the erroneous field output in the error message. + SetFieldPath(path string) +} diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/merge/update.go b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/merge/update.go index 33a3085bf2c0..1b23dcbd5eff 100644 --- a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/merge/update.go +++ b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/merge/update.go @@ -250,33 +250,54 @@ func (s *Updater) addBackOwnedItems(merged, pruned *typed.TypedValue, managedFie } managedAtVersion[managerSet.APIVersion()] = managedAtVersion[managerSet.APIVersion()].Union(managerSet.Set()) } - for version, managed := range managedAtVersion { - merged, err = s.Converter.Convert(merged, version) + // Add back owned items at pruned version first to avoid conversion failure + // caused by pruned fields which are required for conversion. + prunedVersion := fieldpath.APIVersion(*pruned.TypeRef().NamedType) + if managed, ok := managedAtVersion[prunedVersion]; ok { + merged, pruned, err = s.addBackOwnedItemsForVersion(merged, pruned, prunedVersion, managed) if err != nil { - if s.Converter.IsMissingVersionError(err) { - continue - } - return nil, fmt.Errorf("failed to convert merged object at version %v: %v", version, err) + return nil, err } - pruned, err = s.Converter.Convert(pruned, version) + delete(managedAtVersion, prunedVersion) + } + for version, managed := range managedAtVersion { + merged, pruned, err = s.addBackOwnedItemsForVersion(merged, pruned, version, managed) if err != nil { - if s.Converter.IsMissingVersionError(err) { - continue - } - return nil, fmt.Errorf("failed to convert pruned object at version %v: %v", version, err) + return nil, err } - mergedSet, err := merged.ToFieldSet() - if err != nil { - return nil, fmt.Errorf("failed to create field set from merged object at version %v: %v", version, err) + } + return pruned, nil +} + +// addBackOwnedItemsForVersion adds back any fields, list and map items that were removed by prune with specific managed field path at a version. +// It is an extracted sub-function from addBackOwnedItems for code reuse. +func (s *Updater) addBackOwnedItemsForVersion(merged, pruned *typed.TypedValue, version fieldpath.APIVersion, managed *fieldpath.Set) (*typed.TypedValue, *typed.TypedValue, error) { + var err error + merged, err = s.Converter.Convert(merged, version) + if err != nil { + if s.Converter.IsMissingVersionError(err) { + return merged, pruned, nil } - prunedSet, err := pruned.ToFieldSet() - if err != nil { - return nil, fmt.Errorf("failed to create field set from pruned object at version %v: %v", version, err) + return nil, nil, fmt.Errorf("failed to convert merged object at version %v: %v", version, err) + } + pruned, err = s.Converter.Convert(pruned, version) + if err != nil { + if s.Converter.IsMissingVersionError(err) { + return merged, pruned, nil } - sc, tr := merged.Schema(), merged.TypeRef() - pruned = merged.RemoveItems(mergedSet.EnsureNamedFieldsAreMembers(sc, tr).Difference(prunedSet.EnsureNamedFieldsAreMembers(sc, tr).Union(managed.EnsureNamedFieldsAreMembers(sc, tr)))) + return nil, nil, fmt.Errorf("failed to convert pruned object at version %v: %v", version, err) } - return pruned, nil + mergedSet, err := merged.ToFieldSet() + if err != nil { + return nil, nil, fmt.Errorf("failed to create field set from merged object at version %v: %v", version, err) + } + prunedSet, err := pruned.ToFieldSet() + if err != nil { + return nil, nil, fmt.Errorf("failed to create field set from pruned object at version %v: %v", version, err) + } + sc, tr := merged.Schema(), merged.TypeRef() + pruned = merged.RemoveItems(mergedSet.EnsureNamedFieldsAreMembers(sc, tr).Difference(prunedSet.EnsureNamedFieldsAreMembers(sc, tr).Union(managed.EnsureNamedFieldsAreMembers(sc, tr)))) + return merged, pruned, nil } // addBackDanglingItems makes sure that the fields list and map items removed by prune were diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/schema/elements.go b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/schema/elements.go index 01103b38a90a..7e5dc7582744 100644 --- a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/schema/elements.go +++ b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/schema/elements.go @@ -16,7 +16,9 @@ limitations under the License. package schema -import "sync" +import ( + "sync" +) // Schema is a list of named types. // @@ -27,6 +29,11 @@ type Schema struct { once sync.Once m map[string]TypeDef + + lock sync.Mutex + // Cached results of resolving type references to atoms. Only stores + // type references which require fields of Atom to be overriden. + resolvedTypes map[TypeRef]Atom } // A TypeSpecifier references a particular type in a schema. @@ -48,6 +55,12 @@ type TypeRef struct { // Either the name or one member of Atom should be set. NamedType *string `yaml:"namedType,omitempty"` Inlined Atom `yaml:",inline,omitempty"` + + // If this reference refers to a map-type or list-type, this field overrides + // the `ElementRelationship` of the referred type when resolved. + // If this field is nil, then it has no effect. + // See `Map` and `List` for more information about `ElementRelationship` + ElementRelationship *ElementRelationship `yaml:"elementRelationship,omitempty"` } // Atom represents the smallest possible pieces of the type system. @@ -88,11 +101,11 @@ const ( // Map is a key-value pair. Its default semantics are the same as an // associative list, but: -// * It is serialized differently: +// - It is serialized differently: // map: {"k": {"value": "v"}} // list: [{"key": "k", "value": "v"}] -// * Keys must be string typed. -// * Keys can't have multiple components. +// - Keys must be string typed. +// - Keys can't have multiple components. // // Optionally, maps may be atomic (for example, imagine representing an RGB // color value--it doesn't make sense to have different actors own the R and G @@ -146,6 +159,31 @@ func (m *Map) FindField(name string) (StructField, bool) { return sf, ok } +// CopyInto this instance of Map into the other +// If other is nil this method does nothing. +// If other is already initialized, overwrites it with this instance +// Warning: Not thread safe +func (m *Map) CopyInto(dst *Map) { + if dst == nil { + return + } + + // Map type is considered immutable so sharing references + dst.Fields = m.Fields + dst.ElementType = m.ElementType + dst.Unions = m.Unions + dst.ElementRelationship = m.ElementRelationship + + if m.m != nil { + // If cache is non-nil then the once token had been consumed. + // Must reset token and use it again to ensure same semantics. + dst.once = sync.Once{} + dst.once.Do(func() { + dst.m = m.m + }) + } +} + // UnionFields are mapping between the fields that are part of the union and // their discriminated value. The discriminated value has to be set, and // should not conflict with other discriminated value in the list. @@ -244,18 +282,93 @@ func (s *Schema) FindNamedType(name string) (TypeDef, bool) { return t, ok } +func (s *Schema) resolveNoOverrides(tr TypeRef) (Atom, bool) { + result := Atom{} + + if tr.NamedType != nil { + t, ok := s.FindNamedType(*tr.NamedType) + if !ok { + return Atom{}, false + } + + result = t.Atom + } else { + result = tr.Inlined + } + + return result, true +} + // Resolve is a convenience function which returns the atom referenced, whether // it is inline or named. Returns (Atom{}, false) if the type can't be resolved. // // This allows callers to not care about the difference between a (possibly // inlined) reference and a definition. func (s *Schema) Resolve(tr TypeRef) (Atom, bool) { - if tr.NamedType != nil { - t, ok := s.FindNamedType(*tr.NamedType) - if !ok { + // If this is a plain reference with no overrides, just return the type + if tr.ElementRelationship == nil { + return s.resolveNoOverrides(tr) + } + + s.lock.Lock() + defer s.lock.Unlock() + + if s.resolvedTypes == nil { + s.resolvedTypes = make(map[TypeRef]Atom) + } + + var result Atom + var exists bool + + // Return cached result if available + // If not, calculate result and cache it + if result, exists = s.resolvedTypes[tr]; !exists { + if result, exists = s.resolveNoOverrides(tr); exists { + // Allow field-level electives to override the referred type's modifiers + switch { + case result.Map != nil: + mapCopy := Map{} + result.Map.CopyInto(&mapCopy) + mapCopy.ElementRelationship = *tr.ElementRelationship + result.Map = &mapCopy + case result.List != nil: + listCopy := *result.List + listCopy.ElementRelationship = *tr.ElementRelationship + result.List = &listCopy + case result.Scalar != nil: + return Atom{}, false + default: + return Atom{}, false + } + } else { return Atom{}, false } - return t.Atom, true + + // Save result. If it is nil, that is also recorded as not existing. + s.resolvedTypes[tr] = result + } + + return result, true +} + +// Clones this instance of Schema into the other +// If other is nil this method does nothing. +// If other is already initialized, overwrites it with this instance +// Warning: Not thread safe +func (s *Schema) CopyInto(dst *Schema) { + if dst == nil { + return + } + + // Schema type is considered immutable so sharing references + dst.Types = s.Types + + if s.m != nil { + // If cache is non-nil then the once token had been consumed. + // Must reset token and use it again to ensure same semantics. + dst.once = sync.Once{} + dst.once.Do(func() { + dst.m = s.m + }) } - return tr.Inlined, true } diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/schema/equals.go b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/schema/equals.go index 4c303eecc54d..b668eff8339d 100644 --- a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/schema/equals.go +++ b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/schema/equals.go @@ -52,6 +52,9 @@ func (a *TypeRef) Equals(b *TypeRef) bool { } //return true } + if a.ElementRelationship != b.ElementRelationship { + return false + } return a.Inlined.Equals(&b.Inlined) } diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/schema/schemaschema.go b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/schema/schemaschema.go index bb60e2a5fda9..7d64d1308ceb 100644 --- a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/schema/schemaschema.go +++ b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/schema/schemaschema.go @@ -66,6 +66,9 @@ var SchemaSchemaYAML = `types: - name: untyped type: namedType: untyped + - name: elementRelationship + type: + scalar: string - name: scalar scalar: string - name: map diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/helpers.go b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/helpers.go index 6b2b2cb4a1e7..19c77334f6cc 100644 --- a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/helpers.go +++ b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/helpers.go @@ -105,7 +105,11 @@ type atomHandler interface { func resolveSchema(s *schema.Schema, tr schema.TypeRef, v value.Value, ah atomHandler) ValidationErrors { a, ok := s.Resolve(tr) if !ok { - return errorf("schema error: no type found matching: %v", *tr.NamedType) + typeName := "inlined type" + if tr.NamedType != nil { + typeName = *tr.NamedType + } + return errorf("schema error: no type found matching: %v", typeName) } a = deduceAtom(a, v) diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/merge.go b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/merge.go index 75244ef64679..913644083076 100644 --- a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/merge.go +++ b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/merge.go @@ -80,7 +80,12 @@ func (w *mergingWalker) merge(prefixFn func() string) (errs ValidationErrors) { alhs := deduceAtom(a, w.lhs) arhs := deduceAtom(a, w.rhs) - if alhs.Equals(&arhs) { + + // deduceAtom does not fix the type for nil values + // nil is a wildcard and will accept whatever form the other operand takes + if w.rhs == nil { + errs = append(errs, handleAtom(alhs, w.typeRef, w)...) + } else if w.lhs == nil || alhs.Equals(&arhs) { errs = append(errs, handleAtom(arhs, w.typeRef, w)...) } else { w2 := *w diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/reconcile_schema.go b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/reconcile_schema.go index 2b98b729cacc..6a7697e3b765 100644 --- a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/reconcile_schema.go +++ b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/reconcile_schema.go @@ -110,7 +110,7 @@ func (v *reconcileWithSchemaWalker) finishDescent(v2 *reconcileWithSchemaWalker) } // ReconcileFieldSetWithSchema reconciles the a field set with any changes to the -//// object's schema since the field set was written. Returns the reconciled field set, or nil of +// object's schema since the field set was written. Returns the reconciled field set, or nil of // no changes were made to the field set. // // Supports: diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/typed.go b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/typed.go index e9e6be8befaa..d63a97fe20a2 100644 --- a/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/typed.go +++ b/cluster-autoscaler/vendor/sigs.k8s.io/structured-merge-diff/v4/typed/typed.go @@ -99,12 +99,13 @@ func (tv TypedValue) ToFieldSet() (*fieldpath.Set, error) { // Merge returns the result of merging tv and pso ("partially specified // object") together. Of note: -// * No fields can be removed by this operation. -// * If both tv and pso specify a given leaf field, the result will keep pso's -// value. -// * Container typed elements will have their items ordered: -// * like tv, if pso doesn't change anything in the container -// * like pso, if pso does change something in the container. +// - No fields can be removed by this operation. +// - If both tv and pso specify a given leaf field, the result will keep pso's +// value. +// - Container typed elements will have their items ordered: +// 1. like tv, if pso doesn't change anything in the container +// 2. like pso, if pso does change something in the container. +// // tv and pso must both be of the same type (their Schema and TypeRef must // match), or an error will be returned. Validation errors will be returned if // the objects don't conform to the schema. diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/yaml/go.mod b/cluster-autoscaler/vendor/sigs.k8s.io/yaml/go.mod deleted file mode 100644 index 818bbb51937d..000000000000 --- a/cluster-autoscaler/vendor/sigs.k8s.io/yaml/go.mod +++ /dev/null @@ -1,8 +0,0 @@ -module sigs.k8s.io/yaml - -go 1.12 - -require ( - github.com/davecgh/go-spew v1.1.1 - gopkg.in/yaml.v2 v2.4.0 -) diff --git a/cluster-autoscaler/vendor/sigs.k8s.io/yaml/go.sum b/cluster-autoscaler/vendor/sigs.k8s.io/yaml/go.sum deleted file mode 100644 index b7b8cbb104fa..000000000000 --- a/cluster-autoscaler/vendor/sigs.k8s.io/yaml/go.sum +++ /dev/null @@ -1,6 +0,0 @@ -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= diff --git a/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/zz_generated.deepcopy.go b/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/zz_generated.deepcopy.go index 83691931cac4..9cea0376dd91 100644 --- a/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/zz_generated.deepcopy.go +++ b/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1beta1/zz_generated.deepcopy.go b/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1beta1/zz_generated.deepcopy.go index 74a0f94d1be2..05f55dd59caa 100644 --- a/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1beta1/zz_generated.deepcopy.go +++ b/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1beta1/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1beta2/zz_generated.deepcopy.go b/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1beta2/zz_generated.deepcopy.go index 255d419bd9e1..e6aac14e4b49 100644 --- a/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1beta2/zz_generated.deepcopy.go +++ b/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1beta2/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/vertical-pod-autoscaler/pkg/apis/poc.autoscaling.k8s.io/v1alpha1/zz_generated.deepcopy.go b/vertical-pod-autoscaler/pkg/apis/poc.autoscaling.k8s.io/v1alpha1/zz_generated.deepcopy.go index f7c2b1640d7c..7733359e86db 100644 --- a/vertical-pod-autoscaler/pkg/apis/poc.autoscaling.k8s.io/v1alpha1/zz_generated.deepcopy.go +++ b/vertical-pod-autoscaler/pkg/apis/poc.autoscaling.k8s.io/v1alpha1/zz_generated.deepcopy.go @@ -1,3 +1,4 @@ +//go:build !ignore_autogenerated // +build !ignore_autogenerated /* diff --git a/vertical-pod-autoscaler/pkg/client/clientset/versioned/fake/register.go b/vertical-pod-autoscaler/pkg/client/clientset/versioned/fake/register.go index 6118b0b996ee..7be70343ba99 100644 --- a/vertical-pod-autoscaler/pkg/client/clientset/versioned/fake/register.go +++ b/vertical-pod-autoscaler/pkg/client/clientset/versioned/fake/register.go @@ -43,14 +43,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{ // AddToScheme adds all types of this clientset into the given scheme. This allows composition // of clientsets, like in: // -// import ( -// "k8s.io/client-go/kubernetes" -// clientsetscheme "k8s.io/client-go/kubernetes/scheme" -// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" -// ) +// import ( +// "k8s.io/client-go/kubernetes" +// clientsetscheme "k8s.io/client-go/kubernetes/scheme" +// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" +// ) // -// kclientset, _ := kubernetes.NewForConfig(c) -// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) +// kclientset, _ := kubernetes.NewForConfig(c) +// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) // // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types // correctly. diff --git a/vertical-pod-autoscaler/pkg/client/clientset/versioned/scheme/register.go b/vertical-pod-autoscaler/pkg/client/clientset/versioned/scheme/register.go index b41afb4c9cfc..a312da294a8f 100644 --- a/vertical-pod-autoscaler/pkg/client/clientset/versioned/scheme/register.go +++ b/vertical-pod-autoscaler/pkg/client/clientset/versioned/scheme/register.go @@ -43,14 +43,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{ // AddToScheme adds all types of this clientset into the given scheme. This allows composition // of clientsets, like in: // -// import ( -// "k8s.io/client-go/kubernetes" -// clientsetscheme "k8s.io/client-go/kubernetes/scheme" -// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" -// ) +// import ( +// "k8s.io/client-go/kubernetes" +// clientsetscheme "k8s.io/client-go/kubernetes/scheme" +// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme" +// ) // -// kclientset, _ := kubernetes.NewForConfig(c) -// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) +// kclientset, _ := kubernetes.NewForConfig(c) +// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme) // // After this, RawExtensions in Kubernetes types will serialize kube-aggregator types // correctly. diff --git a/vertical-pod-autoscaler/pkg/recommender/input/controller_fetcher/controller_cache_storage.go b/vertical-pod-autoscaler/pkg/recommender/input/controller_fetcher/controller_cache_storage.go index d04ac1b49e95..06ecb9b5d47c 100644 --- a/vertical-pod-autoscaler/pkg/recommender/input/controller_fetcher/controller_cache_storage.go +++ b/vertical-pod-autoscaler/pkg/recommender/input/controller_fetcher/controller_cache_storage.go @@ -48,8 +48,10 @@ type scaleCacheEntry struct { // - `Insert` the response you got into the cache. // When you create a `controllerCacheStorage` you should start two go routines: // - One for refreshing cache entries, which calls `GetKeysToRefresh` then for -// each key makes query to the API server and calls `Refresh` to update -// content of the cache. +// +// each key makes query to the API server and calls `Refresh` to update +// content of the cache. +// // - Second for removing stale entries which periodically calls `RemoveExpired` // Each entry is refreshed after duration // `validityTime` * (1 + `jitterFactor`) diff --git a/vertical-pod-autoscaler/pkg/recommender/input/spec/spec_client.go b/vertical-pod-autoscaler/pkg/recommender/input/spec/spec_client.go index 34d218995ec6..e7230d64846c 100644 --- a/vertical-pod-autoscaler/pkg/recommender/input/spec/spec_client.go +++ b/vertical-pod-autoscaler/pkg/recommender/input/spec/spec_client.go @@ -45,7 +45,7 @@ type BasicContainerSpec struct { Request model.Resources } -//SpecClient provides information about pods and containers Specification +// SpecClient provides information about pods and containers Specification type SpecClient interface { // Returns BasicPodSpec for each pod in the cluster GetPodSpecs() ([]*BasicPodSpec, error) diff --git a/vertical-pod-autoscaler/pkg/recommender/logic/estimator.go b/vertical-pod-autoscaler/pkg/recommender/logic/estimator.go index 118ccd6ca62b..079de558f663 100644 --- a/vertical-pod-autoscaler/pkg/recommender/logic/estimator.go +++ b/vertical-pod-autoscaler/pkg/recommender/logic/estimator.go @@ -121,7 +121,9 @@ func getConfidence(s *model.AggregateContainerState) float64 { // Returns resources computed by the underlying estimator, scaled based on the // confidence metric, which depends on the amount of available historical data. // Each resource is transformed as follows: -// scaledResource = originalResource * (1 + 1/confidence)^exponent. +// +// scaledResource = originalResource * (1 + 1/confidence)^exponent. +// // This can be used to widen or narrow the gap between the lower and upper bound // estimators depending on how much input data is available to the estimators. func (e *confidenceMultiplier) GetResourceEstimation(s *model.AggregateContainerState) model.Resources { diff --git a/vertical-pod-autoscaler/pkg/recommender/model/aggregate_container_state_test.go b/vertical-pod-autoscaler/pkg/recommender/model/aggregate_container_state_test.go index 0067f807450a..02955d525f3c 100644 --- a/vertical-pod-autoscaler/pkg/recommender/model/aggregate_container_state_test.go +++ b/vertical-pod-autoscaler/pkg/recommender/model/aggregate_container_state_test.go @@ -64,8 +64,10 @@ func addTestMemorySample(cluster *ClusterState, container ContainerID, memoryByt } // Creates two pods, each having two containers: -// testPodID1: { 'app-A', 'app-B' } -// testPodID2: { 'app-A', 'app-C' } +// +// testPodID1: { 'app-A', 'app-B' } +// testPodID2: { 'app-A', 'app-C' } +// // Adds a few usage samples to the containers. // Verifies that AggregateStateByContainerName() properly aggregates // container CPU and memory peak histograms, grouping the two containers diff --git a/vertical-pod-autoscaler/pkg/recommender/model/cluster.go b/vertical-pod-autoscaler/pkg/recommender/model/cluster.go index 126e5fd2c854..45a49d529c75 100644 --- a/vertical-pod-autoscaler/pkg/recommender/model/cluster.go +++ b/vertical-pod-autoscaler/pkg/recommender/model/cluster.go @@ -352,8 +352,10 @@ func (cluster *ClusterState) findOrCreateAggregateContainerState(containerID Con // garbageCollectAggregateCollectionStates removes obsolete AggregateCollectionStates from the ClusterState. // AggregateCollectionState is obsolete in following situations: // 1) It has no samples and there are no more contributive pods - a pod is contributive in any of following situations: -// a) It is in an active state - i.e. not PodSucceeded nor PodFailed. -// b) Its associated controller (e.g. Deployment) still exists. +// +// a) It is in an active state - i.e. not PodSucceeded nor PodFailed. +// b) Its associated controller (e.g. Deployment) still exists. +// // 2) The last sample is too old to give meaningful recommendation (>8 days), // 3) There are no samples and the aggregate state was created >8 days ago. func (cluster *ClusterState) garbageCollectAggregateCollectionStates(now time.Time, controllerFetcher controllerfetcher.ControllerFetcher) { @@ -384,8 +386,10 @@ func (cluster *ClusterState) garbageCollectAggregateCollectionStates(now time.Ti // It performs clean up only if more than `gcInterval` passed since the last time it performed a clean up. // AggregateCollectionState is obsolete in following situations: // 1) It has no samples and there are no more contributive pods - a pod is contributive in any of following situations: -// a) It is in an active state - i.e. not PodSucceeded nor PodFailed. -// b) Its associated controller (e.g. Deployment) still exists. +// +// a) It is in an active state - i.e. not PodSucceeded nor PodFailed. +// b) Its associated controller (e.g. Deployment) still exists. +// // 2) The last sample is too old to give meaningful recommendation (>8 days), // 3) There are no samples and the aggregate state was created >8 days ago. func (cluster *ClusterState) RateLimitedGarbageCollectAggregateCollectionStates(now time.Time, controllerFetcher controllerfetcher.ControllerFetcher) { diff --git a/vertical-pod-autoscaler/pkg/recommender/model/container.go b/vertical-pod-autoscaler/pkg/recommender/model/container.go index 4c8624be1831..b48b60eb4eaa 100644 --- a/vertical-pod-autoscaler/pkg/recommender/model/container.go +++ b/vertical-pod-autoscaler/pkg/recommender/model/container.go @@ -49,7 +49,8 @@ type ContainerUsageSample struct { // Each ContainerState has a pointer to the aggregation that is used for // aggregating its usage samples. // It holds the recent history of CPU and memory utilization. -// Note: samples are added to intervals based on their start timestamps. +// +// Note: samples are added to intervals based on their start timestamps. type ContainerState struct { // Current request. Request Resources diff --git a/vertical-pod-autoscaler/pkg/recommender/util/histogram_options.go b/vertical-pod-autoscaler/pkg/recommender/util/histogram_options.go index 447a4529dee2..938ac7845fdc 100644 --- a/vertical-pod-autoscaler/pkg/recommender/util/histogram_options.go +++ b/vertical-pod-autoscaler/pkg/recommender/util/histogram_options.go @@ -54,8 +54,10 @@ func NewLinearHistogramOptions( // histogram with exponentially growing bucket boundaries. The first bucket // covers the range [0..firstBucketSize). Bucket with index n has size equal to firstBucketSize * ratio^n. // It follows that the bucket with index n >= 1 starts at: -// firstBucketSize * (1 + ratio + ratio^2 + ... + ratio^(n-1)) = -// firstBucketSize * (ratio^n - 1) / (ratio - 1). +// +// firstBucketSize * (1 + ratio + ratio^2 + ... + ratio^(n-1)) = +// firstBucketSize * (ratio^n - 1) / (ratio - 1). +// // The last bucket start is larger or equal to maxValue. // Requires maxValue > 0, firstBucketSize > 0, ratio > 1, epsilon > 0. func NewExponentialHistogramOptions( @@ -113,7 +115,8 @@ func (o *exponentialHistogramOptions) NumBuckets() int { // Returns the index of the bucket for given value. This is the inverse function to // GetBucketStart(), which yields the following formula for the bucket index: -// bucket(value) = floor(log(value/firstBucketSize*(ratio-1)+1) / log(ratio)) +// +// bucket(value) = floor(log(value/firstBucketSize*(ratio-1)+1) / log(ratio)) func (o *exponentialHistogramOptions) FindBucket(value float64) int { if value < o.firstBucketSize { return 0 @@ -126,7 +129,8 @@ func (o *exponentialHistogramOptions) FindBucket(value float64) int { } // Returns the start of the bucket with given index, according to the formula: -// bucketStart(bucket) = firstBucketSize * (ratio^bucket - 1) / (ratio - 1). +// +// bucketStart(bucket) = firstBucketSize * (ratio^bucket - 1) / (ratio - 1). func (o *exponentialHistogramOptions) GetBucketStart(bucket int) float64 { if bucket < 0 || bucket >= o.numBuckets { panic(fmt.Sprintf("index %d out of range [0..%d]", bucket, o.numBuckets-1))